decord/source/actions/native/EmailVerificationModalActionCreators.tsx

35 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 5621
// Function ID: 5622
// Dependencies: [1074, 1242, 4763, 5622, 1896, 573, 2]
2026-07-20 16:05:17 +00:00
// Module 5621
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import _modDef4763 from "module_4763" /* 4763 */;
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
}
_modDef4763.pushLazy(asyncRequireImpl(5622, 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
});
}
};