/* Metro module 6262; source: modules/age_assurance/native/GoogleWalletVerificationScreen.tsx; dependencies: [5, 57, 31, 27, 33, 1484, 4813, 6254, 4826, 4831, 1244, 2742, 6258, 6259, 4572, 4573, 6261, 4578, 5074, 2] */ import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */ import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */ 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 JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */ import * as UseNavigationNativeModule from '../../../design/components/Navigator/native/useNavigation.native.tsx'; /* Metro dependency 1484 */ import * as StackNativeModule from '../../../design/components/Stack/native/Stack.native.tsx'; /* Metro dependency 4572 */ import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */ import * as AgeVerificationUtilsModule from '../AgeVerificationUtils.tsx'; /* Metro dependency 4813 */ import * as ModalScreenNativeModule from '../../../design/components/Modal/native/ModalScreen.native.tsx'; /* Metro dependency 6258 */ import * as ModalContentNativeModule from '../../../design/components/Modal/native/ModalContent.native.tsx'; /* Metro dependency 6259 */ function _fun49437(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:6, offset: 0x011f9785, size: 221 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const value = JsxRuntimeModule; const env0_7 = value.jsx; const env0_8 = value.jsxs; const env0_9 = {'NOT_AVAILABLE': 'not_available', 'FAILED': 'credential_error'}; (FileImportTrackerModule).fileFinishedImporting('modules/age_assurance/native/GoogleWalletVerificationScreen.tsx'); exports.default = GoogleWalletVerificationScreen; function GoogleWalletVerificationScreen({onClose, modalSessionId}) { // fn#49438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:352, offset: 0x011f9862, size: 806 bytes, params: 2, frame: 30 var modalScreen; const ModalScreen = (ModalScreenNativeModule).ModalScreen; const ModalContent = (ModalContentNativeModule).ModalContent; const Stack = (StackNativeModule).Stack; const Text = (TextModule).Text; var items3; const intl = (IndexNativeModule).intl; var items2; const value2 = (UseNavigationNativeModule).useNavigation(); const binding = env0_5; const [property, env0_2] = Module00057(binding.useState({type: 'loading'}), 2); (AgeVerificationUtilsModule).useWatchAgeVerificationStatusChange(onClose); const value5 = binding.useCallback(_fun49439, [value2]); const value7 = binding.useCallback(value5(_fun49441), [value5]); var env0_5 = binding.useRef(false); binding.useEffect(_fun49442, [value2, value7]); if (property.type === 'loading') { items2 = [ , ]; items2[1] = ( {intl.string((importDefault(2742) /* metro dependency 2742: AgeAssuranceMessages */).MlFuBI)} ); modalScreen = ( {items2} ); } else { items3 = [ {property.message} , ]; items3[1] = ((ButtonGroup) => {((Button) =>