decord/source/actions/native/EmailVerificationModalActionCreators.tsx

35 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 7687
// Function ID: 7688
// Dependencies: [676, 698, 4723, 7688, 2009, 709, 2]
2026-07-20 16:05:17 +00:00
2026-09-01 10:26:29 +00:00
// Module 7687
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-31 15:47:37 +00:00
import asyncRequireImpl from "asyncRequireImpl" /* 2009 */;
2026-09-01 10:26:29 +00:00
import _modDef4723 from "module_4723" /* 4723 */;
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-09-01 10:26:29 +00:00
_modDef4723.pushLazy(asyncRequireImpl(7688, 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
});
}
};