decord/beta/source/actions/native/EmailVerificationModalActionCreators.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

34 lines
1.2 KiB
TypeScript

// Module ID: 5868
// Function ID: 5869
// Name: EmailVerificationModalActionCreators
// Dependencies: [1078, 1245, 4993, 5869, 1984, 577, 2]
// Module 5868 (EmailVerificationModalActionCreators)
import DispatcherDefault from "Dispatcher" /* 577 */;
import Constants from "Constants" /* 1078 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1245 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1984 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4993 */;
import size from "module_2" /* 2 */;
const AnalyticEvents = Constants.AnalyticEvents;
const EMAIL_VERIFICATION_MODAL_KEY = "EMAIL_VERIFICATION_MODAL_KEY";
const result = size.fileFinishedImporting("actions/native/EmailVerificationModalActionCreators.tsx");
export default {
open() {
let flag = arg0;
if (arg0 === undefined) {
flag = false;
}
if (flag) {
AnalyticsUtilsDefault.track(AnalyticEvents.USER_ACCOUNT_EMAIL_CHANGE_ATTEMPTED);
}
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5869, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
},
close() {
DispatcherDefault.wait(() => {
ModalActionCreatorsDefault.popWithKey(EMAIL_VERIFICATION_MODAL_KEY);
});
}
};