/* Metro module 5263; source: modules/age_assurance/AgeVerificationActionCreators.native.tsx; dependencies: [5, 5262, 33, 1581, 4497, 5264, 5080, 5265, 1962, 4813, 3835, 5469, 5470, 3853, 2] */ function _fun46809(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46809, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:6, offset: 0x011af544, size: 206 bytes, params: 8, frame: 19 var object2; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(5) /* metro dependency 5 */; const ageVerificationConstantsModule = require(5262) /* metro dependency 5262: AgeVerificationConstants */; const env0_4 = ageVerificationConstantsModule.AGE_VERIFICATION_MODAL_KEY; const env0_5 = ageVerificationConstantsModule.AGE_VERIFICATION_GET_STARTED_MODAL_KEY; const env0_6 = ageVerificationConstantsModule.AGE_VERIFICATION_QUEST_UNSUPPORTED_ALERT_KEY; const env0_7 = (require(33) /* metro dependency 33 */).jsx; object2 = {showAgeVerification: showAgeVerification, showAgeVerificationGetStartedModal: showAgeVerificationGetStartedModal, openUrl: openUrl}; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/age_assurance/AgeVerificationActionCreators.native.tsx'); exports.default = object2; } function showAgeVerification(a0) { // fn#46810, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:276, offset: 0x011af612, size: 245 bytes, params: 2, frame: 19 var defaultImport; const onClose = a0.onClose; const r5 = onClose !== undefined ? onClose : function() { }; a0.shouldShowExpressiveModal; const webviewUrl = a0.webviewUrl; const object2 = {'onClose': 0, 'shouldShowExpressiveModal': 0, 'webviewUrl': 0}; silentSetPrototypeOf(object2, null, undefined); const env0_2 = copyDataProperties({}, a0, object2, undefined); const metaQuestUtilsAndroidModule = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */; if (metaQuestUtilsAndroidModule.isMetaQuest()) { (require(4497) /* metro dependency 4497: useAlertStoreNative */).openAlert(AGE_VERIFICATION_QUEST_UNSUPPORTED_ALERT_KEY, ((Component) => )(importDefault(5264) /* metro dependency 5264: AgeVerificationQuestUnsupportedAlertModal */), r5); } else if (webviewUrl != null) { defaultImport = importDefault(5080) /* metro dependency 5080: ModalActionCreators */; defaultImport.pushLazy(env0_3(_fun46813), {}, AGE_VERIFICATION_MODAL_KEY); } } function showAgeVerificationGetStartedModal({entryPoint, onClose}) { // fn#46815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:579, offset: 0x011af7a3, size: 282 bytes, params: 2, frame: 21 var defaultImport; var moduleValue5; var env0_1; var env0_2; if ((require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */).isMetaQuest()) { moduleValue5 = require(4497) /* metro dependency 4497: useAlertStoreNative */; moduleValue5.openAlert(AGE_VERIFICATION_QUEST_UNSUPPORTED_ALERT_KEY, ((Component) => )(importDefault(5264) /* metro dependency 5264: AgeVerificationQuestUnsupportedAlertModal */), onClose); } else { env0_1 = (require(4813) /* metro dependency 4813: AgeVerificationUtils */).isAgeVerified() && (require(3835) /* metro dependency 3835: RegionalFeatureConfigUtils */).hasAgeGatedFeatures(); env0_2 = (require(5469) /* metro dependency 5469: AgeVerificationExpressiveModalEverywhereExperiment */).isAgeVerificationExpressiveModalEverywhereEnabled(entryPoint); defaultImport = importDefault(5080) /* metro dependency 5080: ModalActionCreators */; defaultImport.pushLazy(env0_3(_fun46817), {}, AGE_VERIFICATION_GET_STARTED_MODAL_KEY); } } function openUrl(a0) { // fn#46819, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:958, offset: 0x011af957, size: 41 bytes, params: 2, frame: 12 (importDefault(3853) /* metro dependency 3853: Linking */).openURL(a0); } function* _fun46813() { // fn#46813, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:433, offset: 0x011af710, size: 89 bytes, params: 1, frame: 15 var environment; if (false) { return undefined; } value = environment.__proto__.__proto__; const binding = env2_0; const binding2 = env2_2; yield binding(binding2[8])(binding2[7], binding2.paths); value = undefined; if (false) { return value; } const env0_0 = value.default; return _fun46814; } function* _fun46817() { // fn#46817, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:821, offset: 0x011af8c6, size: 89 bytes, params: 1, frame: 15 var environment; if (false) { return undefined; } value = environment.__proto__.__proto__; const binding = env2_0; const binding2 = env2_2; yield binding(binding2[8])(binding2[12], binding2.paths); value = undefined; if (false) { return value; } const env0_0 = value.default; return _fun46818; } function _fun46814() { // fn#46814, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:495, offset: 0x011af769, size: 58 bytes, params: 1, frame: 14 const binding = env3_7; const binding2 = env0_0; const object2 = {}; object2.webviewUrl = importDefault; object2.onClose = require; copyDataProperties(object2, dependencyMap, require); return binding(binding2, object2); } function _fun46818() { // fn#46818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5441:884, offset: 0x011af91f, size: 56 bytes, params: 1, frame: 14 return env3_7(env0_0, {entryPoint: require, isRetry: importDefault, useEmbeddedMethods: dependencyMap}); }