/* Metro module 9026; source: modules/phone/native/CodeField.tsx; dependencies: [57, 31, 27, 33, 4501, 697, 1305, 7981, 1244, 4578, 4573, 5467, 2] */ function _fun70213(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#70213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9211:6, offset: 0x01cf2a09, size: 601 bytes, params: 8, frame: 25 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(57) /* metro dependency 57 */; const env0_4 = importAll(31) /* metro dependency 31 */; let value = require(27) /* metro dependency 27 */; const env0_5 = value.View; const env0_6 = value.ScrollView; value = require(33) /* metro dependency 33 */; const env0_7 = value.jsx; const env0_8 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; const object = {}; object.viewWrapper = {flex: 1}; const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object.background = {backgroundColor: BACKGROUND_BASE_LOW, flex: 1}; object.backgroundFlex = {'flex': 1, 'justifyContent': 'space-between'}; object.container = {padding: 16}; object.title = {textAlign: 'center'}; object.subtitle = {'marginTop': 8, 'lineHeight': 18, 'textAlign': 'center'}; object.inputContainer = {'marginTop': 20, 'width': '100%', 'alignItems': 'center'}; object.codeContainer = {'maxWidth': 336, 'width': '100%', 'flexDirection': 'row', 'justifyContent': 'space-around'}; object.spacer = {width: 4}; const object3 = {'borderWidth': 1, 'borderRadius': 5, 'alignItems': 'center'}; let BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST; object3.backgroundColor = BACKGROUND_BASE_LOWEST; BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST; object3.borderColor = BACKGROUND_BASE_LOWEST; object.inputWrapper = object3; const RED_400 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.RED_400; object.inputWrapperError = {borderColor: RED_400}; object.input = {textAlign: 'center'}; object.singleInputWrapper = {width: '100%'}; object.singleInputButton = {'marginTop': 8, 'justifyContent': 'flex-end'}; const env0_10 = Reflect.apply(createStyles, value, [object]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/phone/native/CodeField.tsx'); exports.default = CodeField; exports.CodeType = {NUMERIC: 'numeric', ALPHANUMERIC: 'alphanumeric'}; exports.CodeBlocks = CodeBlocks; } function SingleCodeInput({loading, error, count, codeType = env0_9.NUMERIC, onCodeEntered, disabled, code, setCode}) { // fn#70214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9211:1066, offset: 0x01cf2c62, size: 500 bytes, params: 2, frame: 29 loading = !(loading === undefined) && loading; count = count === undefined ? 6 : count; const styles = useStyles(); const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const string = intl.string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; const NUMERIC = env0_9.NUMERIC; const textInput = ; const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button; return ( {textInput}