/* Metro module 6251; source: modules/age_assurance/native/AgeVerificationRetryScreen.tsx; dependencies: [5, 31, 27, 661, 5267, 33, 4501, 697, 4813, 5074, 5472, 1244, 5263, 477, 5473, 4573, 6231, 6238, 1948, 2] */ import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */ import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */ import AgeVerificationActionCreatorsNative from '../AgeVerificationActionCreators.native.tsx'; /* Metro dependency 5263 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */ import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */ import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */ import * as AgeVerificationUtilsModule from '../AgeVerificationUtils.tsx'; /* Metro dependency 4813 */ import * as AgeVerificationAnalyticsUtilsModule from '../AgeVerificationAnalyticsUtils.tsx'; /* Metro dependency 5074 */ import * as SafetyHubConstantsModule from '../../safety_hub/SafetyHubConstants.tsx'; /* Metro dependency 5267 */ import * as HideManualAgeVerificationExperimentModule from '../HideManualAgeVerificationExperiment.tsx'; /* Metro dependency 5472 */ import * as NativeModule from '../../../design/assets/native.tsx'; /* Metro dependency 5473 */ import * as TableRowGroupNativeModule from '../../../design/components/TableRow/native/TableRowGroup.native.tsx'; /* Metro dependency 6231 */ import * as TableRowNativeModule from '../../../design/components/TableRow/native/TableRow.native.tsx'; /* Metro dependency 6238 */ function _fun49354(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:6, offset: 0x011f7175, size: 446 bytes, params: 8, frame: 23 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactNativeModule; const env0_5 = value.ActivityIndicator; const env0_6 = value.ScrollView; const env0_7 = value.View; value = require(33) /* metro dependency 33 */; const env0_10 = value.jsx; const env0_11 = value.jsxs; const env0_12 = value.Fragment; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; object = {loadingIndicator: {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0, 'bottom': 0, 'zIndex': 1}}; let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object.container = {paddingHorizontal: PX_16, flex: 1}; const object3 = {}; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object3.paddingVertical = PX_16; object3.alignItems = 'center'; let PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object3.gap = PX_8; object.headerContainer = object3; object.centerText = {textAlign: 'center'}; PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object.helpLink = {marginTop: PX_8}; const env0_13 = Reflect.apply(createStyles, value, [object]); (FileImportTrackerModule).fileFinishedImporting('modules/age_assurance/native/AgeVerificationRetryScreen.tsx'); exports.default = GetStartedScreen_49355; function GetStartedScreen_49355({onClose, modalSessionId}) { // fn#49355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:698, offset: 0x011f7333, size: 871 bytes, params: 2, frame: 33 var r5; var moduleValue3; const styles = useStyles(); const useInitiateAgeVerification = AgeVerificationUtilsModule.useInitiateAgeVerification; const object = {onComplete: onClose}; const AgeVerificationModalEntryPoint = (AgeVerificationAnalyticsUtilsModule).AgeVerificationModalEntryPoint; const RETRY_MODAL = AgeVerificationModalEntryPoint.RETRY_MODAL; object.entryPoint = RETRY_MODAL; const {loading, initiateAgeVerification} = Reflect.apply(useInitiateAgeVerification, AgeVerificationUtilsModule, [object]); const value4 = (HideManualAgeVerificationExperimentModule).useIsManualAgeVerificationHidden('age_verification_retry_modal'); const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const JSdbBe = (require(1244) /* metro dependency 1244: indexNative */).t.JSdbBe; const value5 = Reflect.apply(string, intl, [JSdbBe]); string = intl.string; const JNK1ue = (require(1244) /* metro dependency 1244: indexNative */).t.JNK1ue; const value6 = Reflect.apply(string, intl, [JNK1ue]); const value8 = ReactModule.useMemo(_fun49356, [initiateAgeVerification, modalSessionId, value4, intl.string((require(1244) /* metro dependency 1244: indexNative */).t.mFvt9M)]); const jsxRuntimeEnv0_12Binding = jsxRuntimeEnv0_12; if (loading) { var activityIndicatorBindingProps = {style: styles.loadingIndicator, size: 'small'}; moduleValue3 = require(477) /* metro dependency 477: PlatformUtils */; activityIndicatorBindingProps.color = moduleValue3.isAndroid() ? (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE : undefined; r5 = ; } else { r5 = loading; } const ShieldSpotIllustration = (NativeModule).ShieldSpotIllustration; const items2 = [ , ]; const Text = (TextModule).Text; items2[1] = ( {value5} ); items2[2] = ( {value6} ); const items3 = [ {items2} , ]; const TableRowGroup = (TableRowGroupNativeModule).TableRowGroup; items3[1] = ( {value8.map(_fun49361)} ); items3[2] = ( {intl.format((require(1244) /* metro dependency 1244: indexNative */).t['L+FgkZ'], {handleOnHelpUrlHook: handleOnHelpUrlHook_49362})} ); return ( <> {r5} {items3} ); function _fun49356() { // fn#49356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:1134, offset: 0x011f769a, size: 257 bytes, params: 1, frame: 19 var push; let object = {}; object.title = Module00005; const intl = (IndexNativeModule).intl; const string = intl.string; const t = (IndexNativeModule).t; object.description = Reflect.apply(string, intl, [t.ecdUKD]); const env0_0 = env1_3(_fun49358); object.onPress = onPress_49359; const items2 = [object]; if (!env0_2) { push = items2.push; object = {}; object.title = intl.string(t['LZO+Hd']); object.description = intl.string(t['ty+iWP']); object.onPress = onPress_49360; Reflect.apply(push, items2, [object]); } return items2; function* _fun49358() { // fn#49358, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:1223, offset: 0x011f77a4, size: 121 bytes, params: 1, frame: 20 if (true) { value = environment.__proto__.__proto__.__proto__; var binding = env3_0; var binding2 = env3_2; value = binding(binding2[9]); var trackAgeVerificationModalClicked = value.trackAgeVerificationModalClicked; var AgeVerificationModalVersion = binding(binding2[9]).AgeVerificationModalVersion; var RETRY = AgeVerificationModalVersion.RETRY; var AgeVerificationModalCta = binding(binding2[9]).AgeVerificationModalCta; var GET_STARTED = AgeVerificationModalCta.GET_STARTED; Reflect.apply(trackAgeVerificationModalClicked, value, [require, RETRY, GET_STARTED]); yield importDefault(); } } function onPress_49359() { // fn#49359, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:1378, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13 return env0_0.apply(this, arguments); } function onPress_49360() { // fn#49360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:1554, offset: 0x011f781d, size: 126 bytes, params: 1, frame: 18 let value = environment.__proto__.__proto__; const defaultImport = AgeVerificationActionCreatorsNative; const openUrl = defaultImport.openUrl; const APPEALS_LINK = SafetyHubLinks.APPEALS_LINK; Reflect.apply(openUrl, defaultImport, [APPEALS_LINK]); value = require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */; const trackAgeVerificationModalClicked = value.trackAgeVerificationModalClicked; const modalSessionIdBinding = modalSessionId; const AgeVerificationModalVersion = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalVersion; const RETRY = AgeVerificationModalVersion.RETRY; const AgeVerificationModalCta = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalCta; const MANUAL_REVIEW_REQUEST = AgeVerificationModalCta.MANUAL_REVIEW_REQUEST; Reflect.apply(trackAgeVerificationModalClicked, value, [modalSessionIdBinding, RETRY, MANUAL_REVIEW_REQUEST]); } } function _fun49361({title, description, onPress}, a1) { // fn#49361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:2260, offset: 0x011f789b, size: 87 bytes, params: 3, frame: 18 const TableRow = (TableRowNativeModule).TableRow; return ( ); } function GetStartedScreen_49355HandleOnHelpUrlHook() { // fn#49362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6429:2531, owner: GetStartedScreen_49355.handleOnHelpUrlHook, offset: 0x011f78f2, size: 149 bytes, params: 1, frame: 18 let value = environment.__proto__; const defaultImport = AgeVerificationActionCreatorsNative; const openUrl = defaultImport.openUrl; const defaultImport2 = HelpdeskUtils; const getArticleURL = defaultImport2.getArticleURL; const TIGGER_PAWTECT_LEARN_MORE = HelpdeskArticles.TIGGER_PAWTECT_LEARN_MORE; Reflect.apply(openUrl, defaultImport, [Reflect.apply(getArticleURL, defaultImport2, [TIGGER_PAWTECT_LEARN_MORE])]); value = require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */; const trackAgeVerificationModalClicked = value.trackAgeVerificationModalClicked; const modalSessionIdBinding = modalSessionId; const AgeVerificationModalVersion = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalVersion; const RETRY = AgeVerificationModalVersion.RETRY; const AgeVerificationModalCta = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalCta; const LEARN_MORE = AgeVerificationModalCta.LEARN_MORE; Reflect.apply(trackAgeVerificationModalClicked, value, [modalSessionIdBinding, RETRY, LEARN_MORE]); } } } global.__d(_fun49354, 6251, [5, 31, 27, 661, 5267, 33, 4501, 697, 4813, 5074, 5472, 1244, 5263, 477, 5473, 4573, 6231, 6238, 1948, 2]) /* metro module 6251, dependencies: [5, 31, 27, 661, 5267, 33, 4501, 697, 4813, 5074, 5472, 1244, 5263, 477, 5473, 4573, 6231, 6238, 1948, 2] */;