/* Metro module 7981; source: design/components/TextInput/native/TextInput.native.tsx; dependencies: [31, 33, 7682, 6985, 477, 2] */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ 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 PlatformUtilsModule from '../../../../utils/PlatformUtils.tsx'; /* Metro dependency 477 */ import * as TextFieldNativeModule from '../../TextField/native/TextField.native.tsx'; /* Metro dependency 6985 */ import * as InputNativeModule from '../../Input/native/Input.native.tsx'; /* Metro dependency 7682 */ function _fun63504(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:6, offset: 0x01b82dec, size: 144 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactModule; value = value.forwardRef(_fun63505); (FileImportTrackerModule).fileFinishedImporting('design/components/TextInput/native/TextInput.native.tsx'); exports.TextInput = value; function _fun63505(a0, a1) { // fn#63505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:136, offset: 0x01b82e7c, size: 339 bytes, params: 3, frame: 26 const label = a0.label; const accessibilityLabel = a0.accessibilityLabel; const errorMessage = a0.errorMessage; const status = a0.status; const value2 = env0_2.useId(); const r14 = a0.fieldLabel ?? (typeof label !== 'string' ? undefined : label); const r15 = status ?? (errorMessage != null ? 'error' : undefined); const value6 = undefined; const Input = (InputNativeModule).Input; const inputProps = {...a0}; inputProps['labelId'] = label != null ? value2 : value6; const TextField = (TextFieldNativeModule).TextField; const textFieldProps = {ref: a1, ...a0}; textFieldProps['status'] = r15; textFieldProps['fieldLabel'] = r14; textFieldProps['accessibilityLabel'] = PlatformUtilsModule.isAndroid() && label != null ? value6 : accessibilityLabel ?? (typeof label !== 'string' ? value6 : label); textFieldProps['accessibilityLabelledBy'] = label != null ? value2 : value6; return ( ); } } global.__d(_fun63504, 7981, [31, 33, 7682, 6985, 477, 2]) /* metro module 7981, dependencies: [31, 33, 7682, 6985, 477, 2] */;