/* Metro module 4546; source: unknown; dependencies: [57, 29, 31, 27, 33, 4547, 4523, 4548, 4549, 4551] */ import ObjectWithoutProperties from './module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */ import React from './module-00031-React.js'; /* Metro dependency 31 */ import Module00057 from './module-00057.js'; /* Metro dependency 57 */ import __INTERNAL_VIEW_CONFIG from './module-04548-__INTERNAL_VIEW_CONFIG.js'; /* Metro dependency 4548 */ import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */ import * as Module04547Module from './module-04547.js'; /* Metro dependency 4547 */ function _fun38713(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4724:6, offset: 0x010c7eae, size: 247 bytes, params: 8, frame: 19 const env0_0 = require; const env0_3 = ['onNativeFocusChange', 'experimentalControlNavigationStateInJS', 'bottomAccessory', 'nativeContainerStyle']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactNativeModule; value.Platform; const StyleSheet = value.StyleSheet; const env0_8 = value.findNodeHandle; value = require(33) /* metro dependency 33 */; value.jsx; const env0_9 = value.jsxs; const env0_10 = StyleSheet.create({fillParent: {'flex': 1, 'width': '100%', 'height': '100%'}}); exports.default = TabsHost; function TabsHost(a0) { // fn#38714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4724:347, offset: 0x010c7fa5, size: 383 bytes, params: 2, frame: 24 const value2 = undefined; (Module04547Module).bottomTabsDebugLog('TabsHost render'); const onNativeFocusChange = a0.onNativeFocusChange; const experimentalControlNavigationStateInJS = a0.experimentalControlNavigationStateInJS; const r11 = value2 !== experimentalControlNavigationStateInJS ? experimentalControlNavigationStateInJS : (importDefault(4523) /* metro dependency 4523 */).experiment.controlledBottomTabs; let bottomAccessory = a0.bottomAccessory; const nativeContainerStyle = a0.nativeContainerStyle; let binding = ObjectWithoutProperties; const value3 = binding(a0, env0_3); binding = React; const value4 = binding.useRef(null); const env0_2 = binding.useRef(-1); binding.useEffect(_fun38715, []); const value5 = binding.useCallback(_fun38716, [onNativeFocusChange]); const value7 = Module00057(useState('regular'), 2); value7[0]; value7[1]; const defaultImport = __INTERNAL_VIEW_CONFIG; const Object = global.Object; const assign = Object.assign; bottomAccessory = bottomAccessory && false; return ((Component) => )(defaultImport); function _fun38715() { // fn#38715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4724:639, offset: 0x010c8124, size: 89 bytes, params: 1, frame: 13 var binding; var value2; if (env0_1.current != null) { binding = env0_2; value2 = environment.__proto__; binding.current = findNodeHandle(env0_1.current) ?? -1; } else { env0_2.current = -1; } } function _fun38716(a0) { // fn#38716, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4724:750, offset: 0x010c817d, size: 143 bytes, params: 2, frame: 21 let value = environment.__proto__; value = require(4547) /* metro dependency 4547 */; const bottomTabsDebugLog = value.bottomTabsDebugLog; const r10 = env0_2.current ?? -1; const JSON = global.JSON; Reflect.apply(bottomTabsDebugLog, value, ['TabsHost [' + r10 + '] onNativeFocusChange: ' + JSON.stringify(a0.nativeEvent)]); if (onNativeFocusChange != null) { onNativeFocusChange(a0); } } } } global.__d(_fun38713, 4546, [57, 29, 31, 27, 33, 4547, 4523, 4548, 4549, 4551]) /* metro module 4546, dependencies: [57, 29, 31, 27, 33, 4547, 4523, 4548, 4549, 4551] */;