2026-08-06 08:05:19 +00:00
// Module ID: 1506
// Function ID: 1507
2026-07-29 08:29:29 +00:00
// Name: createNavigationContainerRef
// Dependencies: [1485]
2026-08-06 08:05:19 +00:00
// Module 1506 (createNavigationContainerRef)
2026-07-29 08:29:29 +00:00
const require = arg1 ;
let dependencyMap = arg6 ;
let c2 = "The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details." ;
2026-08-06 08:05:19 +00:00
arg5 . NOT _INITIALIZED _ERROR = "The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details." ;
arg5 . createNavigationContainerRef = function createNavigationContainerRef ( ) {
let items = [ ... Object . keys ( closure _0 ( c1 [ 0 ] ) . CommonActions ) , "addListener" , "removeListener" , "resetRoot" , "dispatch" , "isFocused" , "canGoBack" , "getRootState" , "getState" , "getParent" , "getCurrentRoute" , "getCurrentOptions" ] ;
2026-07-29 08:29:29 +00:00
const sum = tmp + 1 ;
const sum1 = sum + 1 ;
const sum2 = sum1 + 1 ;
const sum3 = sum2 + 1 ;
const sum4 = sum3 + 1 ;
const sum5 = sum4 + 1 ;
const sum6 = sum5 + 1 ;
const sum7 = sum6 + 1 ;
const _require = { } ;
2026-08-06 08:05:19 +00:00
const dependencyMap = null ;
function removeListener ( arg0 , arg1 ) {
2026-07-29 08:29:29 +00:00
2026-08-06 08:05:19 +00:00
}
let obj = { } ;
2026-07-29 08:29:29 +00:00
Object . defineProperty ( obj , "current" , {
2026-08-06 08:05:19 +00:00
get : ( ) => c1 ,
2026-07-29 08:29:29 +00:00
set : ( arg0 ) => {
let closure _0 = arg0 ;
2026-08-06 08:05:19 +00:00
let closure _1 = arg0 ;
2026-07-29 08:29:29 +00:00
if ( null != arg0 ) {
const _Object = Object ;
const entries = Object . entries ( closure _0 ) ;
let item = entries . forEach ( ( arg0 ) => {
let arr ;
[ , arr ] = arg0 ;
const item = arr . forEach ( ( arg0 ) => {
outer1 _0 . addListener ( closure _0 , arg0 ) ;
} ) ;
} ) ;
}
}
} ) ;
obj . isReady = function isReady ( ) {
let isReadyResult = null != _null ;
if ( isReadyResult ) {
isReadyResult = _null . isReady ( ) ;
}
return isReadyResult ;
} ;
const merged = Object . assign ( items . reduce ( ( arg0 , arg1 ) => {
let closure _0 = arg1 ;
arg0 [ arg1 ] = ( ) => {
2026-08-06 08:05:19 +00:00
let tmp17 ;
let tmp18 ;
2026-07-29 08:29:29 +00:00
const items = [ ... arguments ] ;
2026-08-06 08:05:19 +00:00
let first ;
2026-07-29 08:29:29 +00:00
let c1 ;
2026-08-06 08:05:19 +00:00
if ( "removeListener" === first ) {
[ tmp17 , tmp18 ] = items ;
if ( typeof outer1 _2 !== "function" ) {
HermesBuiltin . throwTypeError ( ) ;
}
first = tmp18 ;
if ( dependencyMap [ tmp17 ] ) {
tmp20 [ tmp17 ] = tmp20 [ tmp17 ] . filter ( ( arg0 ) => arg0 !== closure _0 ) ;
const arr4 = tmp20 [ tmp17 ] ;
}
if ( outer1 _1 != null ) {
obj . removeListener ( tmp17 , tmp18 ) ;
}
obj = outer1 _1 ;
} else if ( null != outer1 _1 ) {
2026-07-29 08:29:29 +00:00
const items1 = [ ] ;
HermesBuiltin . arraySpread ( items , 0 ) ;
2026-08-06 08:05:19 +00:00
return HermesBuiltin . apply ( items1 , outer1 _1 ) ;
} else if ( "addListener" === tmp ) {
first = items [ 0 ] ;
c1 = tmp6 ;
2026-07-29 08:29:29 +00:00
dependencyMap [ first ] = dependencyMap [ first ] || [ ] ;
dependencyMap [ first ] . push ( items [ 1 ] ) ;
return ( ) => {
2026-08-06 08:05:19 +00:00
if ( typeof outer1 _2 !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
2026-08-06 08:05:19 +00:00
const first = tmp2 ;
if ( first [ first ] ) {
2026-07-29 08:29:29 +00:00
tmp3 [ tmp ] = tmp3 [ tmp ] . filter ( ( arg0 ) => arg0 !== closure _0 ) ;
const arr = tmp3 [ tmp ] ;
}
2026-08-06 08:05:19 +00:00
if ( c1 != null ) {
c1 . removeListener ( tmp , tmp2 ) ;
}
2026-07-29 08:29:29 +00:00
} ;
} else {
const _console = console ;
2026-08-06 08:05:19 +00:00
console . error ( removeListener ) ;
2026-07-29 08:29:29 +00:00
}
} ;
return arg0 ;
} , { } ) ) ;
return obj ;
} ;