/* Metro module 14222; source: modules/mfa/native/screens/SmsScreen.tsx; dependencies: [5, 57, 31, 27, 661, 33, 8973, 14215, 1244, 507, 14219, 14214, 7981, 4578, 14217, 2] */ import Module00005 from '../../../../by-id/module-00005.js'; /* Metro dependency 5 */ import Module00057 from '../../../../by-id/module-00057.js'; /* Metro dependency 57 */ import UseWideAuthView from '../../../auth/native/useWideAuthView.tsx'; /* Metro dependency 8973 */ import MfaOptionScreen from './MfaOptionScreen.tsx'; /* Metro dependency 14214 */ import MfaScreenUtils from '../MfaScreenUtils.tsx'; /* Metro dependency 14215 */ import Button2 from '../components/button.tsx'; /* Metro dependency 14217 */ 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 HTTPUtilsModule from '../../../../external/discord_common/js/packages/http-utils/HTTPUtils.tsx'; /* Metro dependency 507 */ import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */ import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */ import * as ButtonNativeModule from '../../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */ import * as TextInputNativeModule from '../../../../design/components/TextInput/native/TextInput.native.tsx'; /* Metro dependency 7981 */ function _fun107551(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14419:6, offset: 0x02300618, size: 226 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/mfa/native/screens/SmsScreen.tsx'); exports.default = SmsScreen; function SmsScreen({mfaChallenge, finish}) { // fn#107552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14419:281, offset: 0x023006fa, size: 972 bytes, params: 2, frame: 35 const value3 = (MfaScreenUtils).useScreenStyles((UseWideAuthView)()); const binding = env0_5; let useState = binding.useState; const value4 = Reflect.apply(useState, binding, [null]); const value5 = Module00057(value4, 2); const property = value5[0]; const env0_2 = value5[1]; useState = binding.useState; const value6 = Module00057(Reflect.apply(useState, binding, [false]), 2); const property2 = value6[0]; const env0_3 = value6[1]; useState = binding.useState; const value7 = Module00057(Reflect.apply(useState, binding, ['']), 2); const property3 = value7[0]; var env0_5 = value7[1]; useState = binding.useState; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const LQdCQE = (require(1244) /* metro dependency 1244: indexNative */).t.LQdCQE; const value8 = Module00057(Reflect.apply(useState, binding, [Reflect.apply(string, intl, [LQdCQE])]), 2); const property4 = value8[0]; const env0_6 = value8[1]; useState = binding.useState; const value9 = Module00057(Reflect.apply(useState, binding, [false]), 2); const property5 = value9[0]; const env0_7 = value9[1]; binding.useEffect(_fun107553, [mfaChallenge.ticket]); const value10 = _fun107556(); const value11 = _fun107560(); const mfaOptionScreenProps = {headerText: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.o4JNrO), subtitle: property4}; const inputContainer = value3.inputContainer; const TextInput = (TextInputNativeModule).TextInput; const object = {'autoFocus': true, 'autoCapitalize': 'characters', 'maxLength': null, 'autoComplete': 'sms-otp', 'textContentType': 'oneTimeCode', 'keyboardType': 'number-pad'}; const SMS_CODE_LENGTH = (require(14219) /* metro dependency 14219: MFA */).SMS_CODE_LENGTH; object.maxLength = SMS_CODE_LENGTH; object.onChange = value10; object.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['/sHnXc']); string = intl.string; const HZPBOd = (require(1244) /* metro dependency 1244: indexNative */).t.HZPBOd; object.accessibilityLabel = Reflect.apply(string, intl, [HZPBOd]); object.placeholder = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.tARzgo); object.errorMessage = property; const textInput = ; const Button = (ButtonNativeModule).Button; string = intl.string; const WbaP3r = (require(1244) /* metro dependency 1244: indexNative */).t.WbaP3r; mfaOptionScreenProps.input = ( {textInput}