44 lines
1.8 KiB
TypeScript
44 lines
1.8 KiB
TypeScript
// Module ID: 11022
|
|
// Function ID: 85738
|
|
// Dependencies: [5, 6699, 6691, 33, 686, 4099, 11023, 1935, 4338, 7558, 6692, 11016, 2]
|
|
|
|
// Module 11022
|
|
import showActionSheet from "showActionSheet";
|
|
import SafetyHubLinks from "SafetyHubLinks";
|
|
import { AGE_VERIFICATION_GET_STARTED_MODAL_KEY as closure_6 } from "set";
|
|
import { jsx } from "jsxProd";
|
|
|
|
let closure_4;
|
|
let closure_5;
|
|
const require = arg1;
|
|
({ AGE_APPEAL_ACTION_SHEET_NAME: closure_4, AGE_CHECK_POLL_DELAY_MS: closure_5 } = SafetyHubLinks);
|
|
let obj = {
|
|
open(classificationId, onClose) {
|
|
let obj = importDefault(686);
|
|
obj.dispatch({ type: "SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_OPEN" });
|
|
obj = { classificationId, onClose };
|
|
importDefault(4099).openLazy(require(1935) /* maybeLoadBundle */(11023, dependencyMap.paths), closure_4, obj);
|
|
},
|
|
openV2(classificationId, onClose) {
|
|
let closure_0 = classificationId;
|
|
const importDefault = onClose;
|
|
let obj = importDefault(686);
|
|
obj.dispatch({ type: "SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_OPEN" });
|
|
// CreateGeneratorClosureLongIndex (0x67)
|
|
obj = { onClose };
|
|
importDefault(4338).pushLazy(callback(tmp), obj, closure_6);
|
|
},
|
|
close() {
|
|
importDefault(686).dispatch({ type: "SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_CLOSE" });
|
|
},
|
|
success() {
|
|
importDefault(686).dispatch({ type: "SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_SUBMIT_SUCCESS" });
|
|
},
|
|
start_verification_check() {
|
|
importDefault(686).dispatch({ type: "SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_START_POLL" });
|
|
const timerId = setTimeout(() => outer1_0(outer1_2[11]).checkSuspendedUserAgeVerification(), closure_5);
|
|
}
|
|
};
|
|
const result = require("set").fileFinishedImporting("modules/safety_hub/AutomatedUnderageAppealModalActionCreators.native.tsx");
|
|
|
|
export default obj;
|