/* Metro module 8966; source: modules/verification/native/components/ConfirmEmailCode.tsx; dependencies: [5, 57, 31, 27, 1878, 8955, 33, 4501, 697, 566, 4132, 4573, 1244, 8967, 8971, 3857, 4578, 2] */ function _fun69898(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9151:6, offset: 0x01ce724b, size: 467 bytes, params: 8, frame: 22 var object3; 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 */; let value = require(27) /* metro dependency 27 */; const env0_6 = value.View; const env0_7 = value.ScrollView; const userStore = importDefault(1878) /* metro dependency 1878: UserStore */; value = require(8955) /* metro dependency 8955: ChangeEmailStore */; const env0_9 = value.useChangeEmailError; const env0_10 = value.ChangeEmailFields; value = require(33) /* metro dependency 33 */; const env0_11 = value.jsx; const env0_12 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; object3 = {}; const object4 = {}; const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object4.backgroundColor = BACKGROUND_BASE_LOW; const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12; object4.paddingVertical = PX_12; const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object4.paddingHorizontal = PX_16; object3.background = object4; object3.title = {textAlign: 'center'}; object3.prompt = {'marginTop': 8, 'lineHeight': 18, 'textAlign': 'center'}; let PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object3.input = {marginTop: PX_24}; PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object3.contentContainer = {gap: PX_24}; const env0_13 = Reflect.apply(createStyles, value, [object3]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/verification/native/components/ConfirmEmailCode.tsx'); exports.default = ConfirmEmailCode; } function ConfirmEmailCode({onFormSubmit, onSuccess, onResend, headerText, confirmButtonText}) { // fn#69899, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9151:686, offset: 0x01ce741e, size: 853 bytes, params: 2, frame: 37 var r0; const Text = (require(4573) /* metro dependency 4573: Text */).Text; var items2; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; var string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; var FreeFormInputGroup; var LinkButton; var value; const styles = useStyles(); const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() { return UserStore.getCurrentUser(); }); const binding = env0_5; let useState = binding.useState; const value2 = Reflect.apply(useState, binding, ['']); const binding2 = env0_4; const value3 = binding2(value2, 2); const property = value3[0]; const env0_3 = property; const property2 = value3[1]; const EMAIL_TOKEN = ChangeEmailFields.EMAIL_TOKEN; const value4 = binding2(useChangeEmailError(EMAIL_TOKEN), 2); const property3 = value4[0]; const property4 = value4[1]; useState = binding.useState; const value5 = binding2(Reflect.apply(useState, binding, [false]), 2); const property5 = value5[0]; var env0_5 = value5[1]; const value7 = binding.useCallback(env0_3(_fun69902), [property, property4, onFormSubmit, onSuccess]); if (currentUser == null) { r0 = null; } else { var scrollViewBindingProps = {'style': null, 'keyboardShouldPersistTaps': 'handled', 'alwaysBounceVertical': false, style: styles.background, contentContainerStyle: styles.contentContainer}; items2 = [{headerText}]; string = intl.string; items2[1] = {Reflect.apply(string, intl, [t.SZJowy])}; FreeFormInputGroup = importDefault(8967) /* metro dependency 8967: FreeFormInputGroup */; items2[2] = ; LinkButton = (require(8971) /* metro dependency 8971: Login */).LinkButton; string = intl.string; items2[3] = ; value = {items2}; value = {value}{((Button) =>