35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
// Module ID: 6198
|
|
// Function ID: 6199
|
|
// Name: EmailVerificationModalActionCreators
|
|
// Dependencies: [1085, 1265, 5934, 6199, 2000, 2]
|
|
|
|
// Module 6198 (EmailVerificationModalActionCreators)
|
|
import Constants from "Constants" /* 1085 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1265 */;
|
|
import asyncRequire from "asyncRequire" /* 2000 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5934 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
const EMAIL_VERIFICATION_MODAL_KEY = "EMAIL_VERIFICATION_MODAL_KEY";
|
|
let obj = {
|
|
open() {
|
|
let flag = arg0;
|
|
if (arg0 === undefined) {
|
|
flag = false;
|
|
}
|
|
if (flag) {
|
|
const obj = AnalyticsUtilsDefault;
|
|
obj.track(AnalyticEvents.USER_ACCOUNT_EMAIL_CHANGE_ATTEMPTED);
|
|
}
|
|
const obj2 = ModalActionCreatorsDefault;
|
|
obj2.pushLazy(asyncRequire(6199, dependencyMap.paths), { isChangeEmail: flag }, EMAIL_VERIFICATION_MODAL_KEY);
|
|
},
|
|
close() {
|
|
const obj = ModalActionCreatorsDefault;
|
|
obj.popWithKey(EMAIL_VERIFICATION_MODAL_KEY);
|
|
}
|
|
};
|
|
const result = size.fileFinishedImporting("actions/native/EmailVerificationModalActionCreators.tsx");
|
|
|
|
export default obj;
|