/* Metro module 5311; source: unknown; dependencies: [57, 31, 27, 33, 1588, 5295, 5306, 5292, 5291, 1485] */ function _fun47034(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47034, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5489:6, offset: 0x011b6ddf, size: 227 bytes, params: 8, frame: 19 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 StyleSheet = value.StyleSheet; const env0_5 = value.View; value = require(33) /* metro dependency 33 */; const env0_6 = value.jsx; const env0_7 = value.jsxs; const env0_8 = StyleSheet.create({container: {'flex': 1, 'flexDirection': 'column-reverse'}, content: {flex: 1}, absolute: {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0}}); exports.default = Screen_47035; } function Screen_47035({focused, modal, header, headerShown, headerTransparent, headerStatusBarHeight, navigation, route, children, style}) { // fn#47035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5489:327, offset: 0x011b6ec2, size: 651 bytes, params: 2, frame: 33 const env0_0 = (require(1588) /* metro dependency 1588 */).useSafeAreaFrame(); const value2 = (require(1588) /* metro dependency 1588 */).useSafeAreaInsets(); let binding = env0_4; const value3 = binding.useContext(importDefault(5295) /* metro dependency 5295 */); const value4 = binding.useContext(importDefault(5306) /* metro dependency 5306 */); const env0_1 = modal !== undefined && modal; const r6 = headerShown === undefined || headerShown; const env0_2 = headerStatusBarHeight !== undefined ? headerStatusBarHeight : value3 ? 0 : value2.top; const [property, env0_3] = env0_3Binding(env0_4.useState(_fun47036), 2); const defaultImport = importDefault(5291) /* metro dependency 5291 */; const r4 = focused ? 'auto' : 'no-hide-descendants'; binding = env0_8; const items2 = [binding.container, style]; const content = binding.content; const Provider = (importDefault(5295) /* metro dependency 5295 */).Provider; const r10 = value3 || r6 !== false; const Provider2 = (importDefault(5306) /* metro dependency 5306 */).Provider; return ((Component) => {children}{r6 ? ((Provider) => {((Provider) => {header})((require(1485) /* metro dependency 1485 */).NavigationRouteContext.Provider)})((require(1485) /* metro dependency 1485 */).NavigationContext.Provider) : null})(defaultImport); }