Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
34 lines
1.2 KiB
TypeScript
34 lines
1.2 KiB
TypeScript
// Module ID: 6129
|
|
// Function ID: 6130
|
|
// Name: EmailVerificationModalActionCreators
|
|
// Dependencies: [1074, 1241, 5069, 6130, 1981, 573, 2]
|
|
|
|
// Module 6129 (EmailVerificationModalActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import Constants from "Constants" /* 1074 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1981 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5069 */;
|
|
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(6130, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
|
|
},
|
|
close() {
|
|
DispatcherDefault.wait(() => {
|
|
ModalActionCreatorsDefault.popWithKey(EMAIL_VERIFICATION_MODAL_KEY);
|
|
});
|
|
}
|
|
};
|