2026-07-20 16:05:17 +00:00
// Module ID: 245
// Function ID: 3301
// Name: renderApplication
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 246, 33, 44, 204, 249, 250, 256, 117, 157]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 245 (renderApplication)
2026-07-23 10:11:24 +00:00
import result from "result" ;
import module _246 from "module_246" ;
import { jsx } from "jsxProd" ;
2026-07-20 16:05:17 +00:00
export default function renderApplication ( arg0 , arg1 , rootTag , WrapperComponent , rootViewStyle , fabric , arg6 , internal _excludeLogBox ) {
let obj = arg6 ;
2026-07-23 10:11:24 +00:00
importDefault ( 44 ) ( rootTag , "Expect to have a valid rootTag, instead got " , rootTag ) ;
2026-07-20 16:05:17 +00:00
if ( null == arg6 ) {
2026-07-23 10:11:24 +00:00
obj = importDefault ( 204 ) ;
2026-07-20 16:05:17 +00:00
}
obj = { } ;
obj . value = obj ;
obj = { rootTag , fabric , WrapperComponent , rootViewStyle } ;
let frozen = arg1 ;
if ( null == arg1 ) {
const _Object = Object ;
frozen = Object . freeze ( { } ) ;
}
obj . initialProps = frozen ;
obj . internal _excludeLogBox = internal _excludeLogBox ;
obj . children = jsx ( arg0 , Object . assign ( { } , arg1 , { rootTag } ) ) ;
2026-07-23 10:11:24 +00:00
obj . children = jsx ( importDefault ( 250 ) , { rootTag , fabric , WrapperComponent , rootViewStyle } ) ;
const tmp4Result = jsx ( importDefault ( 249 ) . Provider , { rootTag , fabric , WrapperComponent , rootViewStyle } ) ;
2026-07-20 16:05:17 +00:00
let tmp11Result = tmp4Result ;
if ( arg10 ) {
tmp11Result = tmp4Result ;
if ( null != arg9 ) {
const obj2 = { } ;
let str = "hidden" ;
2026-07-23 10:11:24 +00:00
if ( arg9 === importDefault ( 256 ) . VISIBLE ) {
2026-07-20 16:05:17 +00:00
str = "visible" ;
}
obj2 . mode = str ;
obj2 . children = tmp4Result ;
2026-07-23 10:11:24 +00:00
tmp11Result = < unstable _Activity . unstable _Activity / > ;
2026-07-20 16:05:17 +00:00
const tmp11 = jsx ;
}
}
const BooleanResult = Boolean ( fabric ) ;
obj . startTimespan ( "renderApplication_React_render" ) ;
let str2 = "0" ;
let str3 = "0" ;
if ( BooleanResult ) {
str3 = "1" ;
}
obj . setExtra ( "usedReactConcurrentRoot" , str3 ) ;
if ( fabric ) {
str2 = "1" ;
}
obj . setExtra ( "usedReactFabric" , str2 ) ;
const obj1 = { rootTag } ;
2026-07-23 10:11:24 +00:00
const tmp5 = importDefault ( 250 ) ;
obj . setExtra ( "usedReactProfiler" , importAll ( 117 ) . isProfilingRenderer ( ) ) ;
const obj6 = importAll ( 117 ) ;
2026-07-20 16:05:17 +00:00
const obj3 = { element : tmp11Result , rootTag , useFabric : Boolean ( fabric ) , useConcurrentRoot : BooleanResult } ;
2026-07-23 10:11:24 +00:00
importAll ( 117 ) . renderElement ( obj3 ) ;
2026-07-20 16:05:17 +00:00
if ( ! fabric ) {
2026-07-23 10:11:24 +00:00
importDefault ( 157 ) ( "[OSS][OldArchDeprecatedWarning]" , "The app is running using the Legacy Architecture. The Legacy Architecture is deprecated and will be removed in a future version of React Native. Please consider migrating to the New Architecture. For more information, please see https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here" ) ;
2026-07-20 16:05:17 +00:00
}
obj . stopTimespan ( "renderApplication_React_render" ) ;
} ;