2026-07-20 16:05:17 +00:00
// Module ID: 47
// Function ID: 1322
// Name: raiseSoftError
2026-07-23 10:11:24 +00:00
// Dependencies: [48, 49, 51, 50]
2026-07-20 16:05:17 +00:00
// Module 47 (raiseSoftError)
2026-07-23 10:11:24 +00:00
let closure _7 ;
let closure _8 ;
const require = arg1 ;
let module = arg2 ;
const dependencyMap = arg6 ;
2026-07-20 16:05:17 +00:00
function raiseSoftError ( clearJSResponder , arg1 ) {
let str = "" ;
const combined = "[ReactNative Architecture][JS] '" + clearJSResponder + "' is not available in the new React Native architecture." ;
if ( arg1 ) {
const _HermesInternal = HermesInternal ;
str = " " + arg1 ;
}
console . error ( combined + str ) ;
}
RN$LegacyInterop _UIManager _getConstants = RN$LegacyInterop _UIManager _getConstants . RN$LegacyInterop _UIManager _getConstants ;
2026-07-23 10:11:24 +00:00
let c3 = false ;
2026-07-20 16:05:17 +00:00
let closure _4 = { } ;
const fn = ( ) => {
2026-07-23 10:11:24 +00:00
if ( ! c3 ) {
let closure _4 = module ( 48 ) ( RN$LegacyInterop _UIManager _getConstants ) ( ) ;
c3 = true ;
2026-07-20 16:05:17 +00:00
}
return closure _4 ;
} ;
( { RN$LegacyInterop _UIManager _getConstantsForViewManager : closure _7 , RN$LegacyInterop _UIManager _getDefaultEventTypes : closure _8 } = RN$LegacyInterop _UIManager _getConstants ) ;
2026-07-23 10:11:24 +00:00
let closure _9 = ( ( ) => {
let c0 = false ;
let c1 = null ;
2026-07-20 16:05:17 +00:00
return ( ) => {
2026-07-23 10:11:24 +00:00
if ( ! c0 ) {
let closure _1 = _null ( outer1 _2 [ 0 ] ) ( outer1 _8 ) ( ) ;
c0 = true ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
return closure _1 ;
2026-07-20 16:05:17 +00:00
} ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
let obj = {
measure ( arg0 , arg1 ) {
raiseSoftError ( "measure" ) ;
} ,
measureInWindow ( arg0 , arg1 ) {
raiseSoftError ( "measureInWindow" ) ;
} ,
measureLayout ( arg0 , arg1 , arg2 , arg3 ) {
raiseSoftError ( "measureLayout" ) ;
} ,
measureLayoutRelativeToParent ( arg0 , arg1 , arg2 ) {
raiseSoftError ( "measureLayoutRelativeToParent" ) ;
} ,
dispatchViewManagerCommand ( arg0 , arg1 , arg2 ) {
raiseSoftError ( "dispatchViewManagerCommand" ) ;
}
} ;
obj = {
createView ( arg0 , arg1 , arg2 , arg3 ) {
raiseSoftError ( "createView" ) ;
} ,
updateView ( _nativeTag , uiViewClassName , combined ) {
raiseSoftError ( "updateView" ) ;
} ,
setChildren ( _nativeTag , items ) {
raiseSoftError ( "setChildren" ) ;
} ,
manageChildren ( _nativeTag , items , items1 , items2 , items3 , arg5 ) {
raiseSoftError ( "manageChildren" ) ;
} ,
setJSResponder ( _nativeTag , arg1 ) {
raiseSoftError ( "setJSResponder" ) ;
} ,
clearJSResponder ( ) {
raiseSoftError ( "clearJSResponder" ) ;
}
} ;
obj = {
getConstantsForViewManager ( arg0 ) {
if ( callback ) {
let obj = callback ( arg0 ) ;
} else {
raiseSoftError ( "getConstantsForViewManager" ) ;
obj = { } ;
}
return obj ;
} ,
getDefaultEventTypes ( ) {
if ( closure _8 ) {
let items = callback2 ( ) ;
} else {
raiseSoftError ( "getDefaultEventTypes" ) ;
items = [ ] ;
}
return items ;
} ,
setLayoutAnimationEnabledExperimental ( arg0 ) {
} ,
sendAccessibilityEvent ( arg0 , arg1 ) {
let str = "focus" ;
if ( arg1 !== 8 ) {
str = "windowStateChange" ;
if ( arg1 !== 32 ) {
str = "click" ;
if ( arg1 !== 1 ) {
str = "viewHoverEnter" ;
if ( arg1 !== 128 ) {
const _console = console ;
const _HermesInternal = HermesInternal ;
console . error ( "sendAccessibilityEvent() dropping event: Called with unsupported eventType: " + arg1 ) ;
}
}
}
}
2026-07-23 10:11:24 +00:00
const tmp3 = module ( 48 ) ;
const tmp3Result = tmp3 ( require ( 49 ) /* getFabricUIManager */ . getFabricUIManager ( ) ) ;
2026-07-20 16:05:17 +00:00
const result = tmp3Result . findShadowNodeByTag _DEPRECATED ( arg0 ) ;
if ( result ) {
const result1 = tmp3Result . sendAccessibilityEvent ( result , str ) ;
} else {
const _console2 = console ;
const _HermesInternal2 = HermesInternal ;
console . error ( "sendAccessibilityEvent() dropping event: Cannot find view with tag #" + arg0 ) ;
}
}
} ;
const merged = Object . assign ( { } , obj , { } , obj , obj , {
getViewManagerConfig ( arg0 ) {
if ( RN$LegacyInterop _UIManager _getConstants ) {
const tmp9 = fn ( ) ;
let getConstantsForViewManager = ! tmp9 [ arg0 ] ;
if ( getConstantsForViewManager ) {
getConstantsForViewManager = merged . getConstantsForViewManager ;
}
if ( getConstantsForViewManager ) {
tmp9 [ arg0 ] = merged . getConstantsForViewManager ( arg0 ) ;
}
return tmp9 [ arg0 ] ;
} else {
const _HermesInternal = HermesInternal ;
const _HermesInternal2 = HermesInternal ;
const combined = "getViewManagerConfig('" + arg0 + "')" ;
raiseSoftError ( combined , "If '" + arg0 + "' has a ViewManager and you want to retrieve its native ViewConfig, please turn on the native ViewConfig interop layer. If you want to see if this component is registered with React Native, please call hasViewManagerConfig('" + arg0 + "') instead." ) ;
return null ;
}
} ,
2026-07-23 10:11:24 +00:00
hasViewManagerConfig ( unstable _hasComponent ) {
return require ( 51 ) /* map */ . unstable _hasComponent ( unstable _hasComponent ) ;
2026-07-20 16:05:17 +00:00
} ,
getConstants ( ) {
if ( RN$LegacyInterop _UIManager _getConstants ) {
let tmp3 = fn ( ) ;
} else {
raiseSoftError ( "getConstants" ) ;
tmp3 = null ;
}
return tmp3 ;
} ,
findSubviewIn ( arg0 , arg1 , arg2 ) {
2026-07-23 10:11:24 +00:00
const _require = arg2 ;
const tmp = module ( 48 ) ;
const tmpResult = tmp ( _require ( 49 ) . getFabricUIManager ( ) ) ;
module = tmpResult ;
2026-07-20 16:05:17 +00:00
const result = tmpResult . findShadowNodeByTag _DEPRECATED ( arg0 ) ;
if ( result ) {
tmpResult . findNodeAtPoint ( result , arg1 [ 0 ] , arg1 [ 1 ] , ( stateNode ) => {
if ( null != stateNode ) {
const node = stateNode . stateNode . node ;
if ( node ) {
2026-07-23 10:11:24 +00:00
const nativeTag = stateNode . stateNode . canonical . nativeTag ;
2026-07-20 16:05:17 +00:00
tmpResult . measure ( node , ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) => {
nativeTag ( nativeTag , arg4 , arg5 , arg2 , arg3 ) ;
} ) ;
} else {
const _console2 = console ;
console . error ( "findSubviewIn(): Cannot find node at point" ) ;
}
} else {
const _console = console ;
console . error ( "findSubviewIn(): Cannot find node at point" ) ;
}
} ) ;
} else {
2026-07-23 10:11:24 +00:00
let _console = console ;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal ;
console . error ( "findSubviewIn() noop: Cannot find view with reactTag " + arg0 ) ;
}
} ,
viewIsDescendantOf ( arg0 , arg1 , arg2 ) {
2026-07-23 10:11:24 +00:00
const tmp = module ( 48 ) ;
const tmpResult = tmp ( require ( 49 ) /* getFabricUIManager */ . getFabricUIManager ( ) ) ;
2026-07-20 16:05:17 +00:00
const result = tmpResult . findShadowNodeByTag _DEPRECATED ( arg0 ) ;
if ( result ) {
const result1 = tmpResult . findShadowNodeByTag _DEPRECATED ( arg1 ) ;
if ( result1 ) {
const items = [ 16 & tmpResult . compareDocumentPosition ( result1 , result ) ] ;
arg2 ( items ) ;
} else {
const _console2 = console ;
const _HermesInternal2 = HermesInternal ;
console . error ( "viewIsDescendantOf() noop: Cannot find view with ancestorReactTag " + arg1 ) ;
}
} else {
const _console = console ;
const _HermesInternal = HermesInternal ;
console . error ( "viewIsDescendantOf() noop: Cannot find view with reactTag " + arg0 ) ;
}
} ,
configureNextLayoutAnimation ( duration , fn2 , fn ) {
2026-07-23 10:11:24 +00:00
const tmp = module ( 48 ) ;
const obj = require ( 49 ) /* getFabricUIManager */ ;
const result = tmp ( require ( 49 ) /* getFabricUIManager */ . getFabricUIManager ( ) ) . configureNextLayoutAnimation ( duration , fn2 , fn ) ;
2026-07-20 16:05:17 +00:00
}
} ) ;
if ( RN$LegacyInterop _UIManager _getConstants ) {
const _Object = Object ;
const keys = Object . keys ( fn ( ) ) ;
const item = keys . forEach ( ( arg0 ) => {
merged [ arg0 ] = fn ( ) [ arg0 ] ;
} ) ;
if ( merged . getConstants ( ) . ViewManagerNames ) {
const ViewManagerNames = merged . getConstants ( ) . ViewManagerNames ;
const item1 = ViewManagerNames . forEach ( ( arg0 ) => {
2026-07-23 10:11:24 +00:00
let closure _0 = arg0 ;
module ( 50 ) ( merged , arg0 , {
2026-07-20 16:05:17 +00:00
get ( ) {
2026-07-23 10:11:24 +00:00
return outer1 _1 ( outer1 _2 [ 0 ] ) ( outer1 _10 . getConstantsForViewManager ) ( closure _0 ) ;
2026-07-20 16:05:17 +00:00
}
} ) ;
} ) ;
}
}
arg5 . default = merged ;