decord/source/actions/native/EmailVerificationModalActionCreators.tsx

35 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 8608
// Function ID: 8609
// Dependencies: [676, 698, 4611, 8609, 2009, 709, 2]
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
// Module 8608
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import dispatcherDefault from "dispatcher" /* 709 */;
2026-08-25 06:04:03 +00:00
import asyncRequireImpl from "asyncRequireImpl" /* 2009 */;
import _modDef4611 from "module_4611" /* 4611 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const AnalyticEvents = ME.AnalyticEvents;
2026-07-29 08:29:29 +00:00
const EMAIL_VERIFICATION_MODAL_KEY = "EMAIL_VERIFICATION_MODAL_KEY";
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("actions/native/EmailVerificationModalActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
open() {
let flag = arg0;
if (arg0 === undefined) {
flag = false;
}
if (flag) {
2026-08-24 06:08:38 +00:00
expandEventPropertiesDefault.track(AnalyticEvents.USER_ACCOUNT_EMAIL_CHANGE_ATTEMPTED);
const obj = expandEventPropertiesDefault;
2026-07-20 16:05:17 +00:00
}
2026-08-25 06:04:03 +00:00
_modDef4611.pushLazy(asyncRequireImpl(8609, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
2026-07-20 16:05:17 +00:00
},
close() {
2026-08-24 06:08:38 +00:00
dispatcherDefault.wait(() => {
2026-07-29 08:29:29 +00:00
callback(table[2]).popWithKey(closure_4);
2026-07-20 16:05:17 +00:00
});
}
};