/* Metro module 4546; source: unknown; dependencies: [57, 29, 31, 27, 33, 4547, 4523, 4548, 4549, 4551] */ 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}); const env0_4 = importDefault(57) /* metro dependency 57 */; const env0_5 = importDefault(29) /* metro dependency 29 */; const env0_6 = importDefault(31) /* metro dependency 31 */; const env0_7 = (require(31) /* metro dependency 31 */).useState; let value = require(27) /* metro dependency 27 */; 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; (require(4547) /* metro dependency 4547 */).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 = env0_5; const value3 = binding(a0, env0_3); binding = env0_6; const value4 = binding.useRef(null); const env0_2 = binding.useRef(-1); binding.useEffect(_fun38715, []); const value5 = binding.useCallback(_fun38716, [onNativeFocusChange]); const value7 = env0_4(useState('regular'), 2); value7[0]; value7[1]; const defaultImport = importDefault(4548) /* metro dependency 4548 */; 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); } }