decord/beta/source/actions/native/EmailVerificationModalActionCreators.tsx

40 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-10-02 13:37:24 +00:00
// Module ID: 5930
// Function ID: 5931
// Name: EmailVerificationModalActionCreators
2026-10-02 13:37:24 +00:00
// Dependencies: [1086, 1253, 5040, 5931, 1987, 585, 2]
2026-10-02 13:37:24 +00:00
// Module 5930 (EmailVerificationModalActionCreators)
import DispatcherDefault from "Dispatcher" /* 585 */;
import Constants from "Constants" /* 1086 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1253 */;
import asyncRequire from "asyncRequire" /* 1987 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5040 */;
import size from "module_2" /* 2 */;
const AnalyticEvents = Constants.AnalyticEvents;
const EMAIL_VERIFICATION_MODAL_KEY = "EMAIL_VERIFICATION_MODAL_KEY";
2026-10-01 14:13:23 +00:00
let obj = {
open() {
let flag = arg0;
if (arg0 === undefined) {
flag = false;
}
if (flag) {
2026-10-01 14:13:23 +00:00
const obj = AnalyticsUtilsDefault;
obj.track(AnalyticEvents.USER_ACCOUNT_EMAIL_CHANGE_ATTEMPTED);
}
2026-10-01 14:13:23 +00:00
const obj2 = ModalActionCreatorsDefault;
2026-10-02 13:37:24 +00:00
obj2.pushLazy(asyncRequire(5931, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
},
close() {
2026-10-01 14:13:23 +00:00
let obj = DispatcherDefault;
obj.wait(() => {
const obj = ModalActionCreatorsDefault;
obj.popWithKey(EMAIL_VERIFICATION_MODAL_KEY);
});
}
};
2026-10-01 14:13:23 +00:00
const result = size.fileFinishedImporting("actions/native/EmailVerificationModalActionCreators.tsx");
export default obj;