/* 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] */ 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}); const env0_3 = importDefault(5) /* metro dependency 5 */; const env0_4 = importDefault(57) /* metro dependency 57 */; const env0_5 = importAll(31) /* metro dependency 31 */; const env0_6 = (require(27) /* metro dependency 27 */).View; const env0_7 = (require(661) /* metro dependency 661: Constants */).Endpoints; const value = require(33) /* metro dependency 33 */; const env0_8 = value.jsx; const env0_9 = value.jsxs; (require(2) /* metro dependency 2 */).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 = (importDefault(14215) /* metro dependency 14215: MfaScreenUtils */).useScreenStyles((importDefault(8973) /* metro dependency 8973: useWideAuthView */)()); const binding = env0_5; let useState = binding.useState; const value4 = Reflect.apply(useState, binding, [null]); const binding2 = env0_4; const value5 = binding2(value4, 2); const property = value5[0]; const env0_2 = value5[1]; useState = binding.useState; const value6 = binding2(Reflect.apply(useState, binding, [false]), 2); const property2 = value6[0]; const env0_3 = value6[1]; useState = binding.useState; const value7 = binding2(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 = binding2(Reflect.apply(useState, binding, [Reflect.apply(string, intl, [LQdCQE])]), 2); const property4 = value8[0]; const env0_6 = value8[1]; useState = binding.useState; const value9 = binding2(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 MfaOptionScreen = importDefault(14214) /* metro dependency 14214: MfaOptionScreen */; const mfaOptionScreenProps = {headerText: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.o4JNrO), subtitle: property4}; const inputContainer = value3.inputContainer; const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).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 = (require(4578) /* metro dependency 4578: ButtonNative */).Button; string = intl.string; const WbaP3r = (require(1244) /* metro dependency 1244: indexNative */).t.WbaP3r; mfaOptionScreenProps.input = {textInput}