2026-07-20 16:05:17 +00:00
// Module ID: 348
// Function ID: 5178
// Name: set
2026-07-23 10:11:24 +00:00
// Dependencies: [349, 352, 79, 48, 44, 101, 209]
2026-07-20 16:05:17 +00:00
// Module 348 (set)
2026-07-23 10:11:24 +00:00
if ( null != require ( "shouldUseTurboAnimatedModule" ) ) {
let importDefaultResult = require ( "shouldUseTurboAnimatedModule" ) ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
importDefaultResult = require ( "shouldUseTurboAnimatedModule" ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let c5 = 1 ;
let c6 = 1 ;
2026-07-20 16:05:17 +00:00
const set = new Set ( ) ;
2026-07-23 10:11:24 +00:00
let c8 = false ;
2026-07-20 16:05:17 +00:00
let closure _9 = [ ] ;
let closure _10 = [ ] ;
let prop ;
if ( null != importDefaultResult ) {
prop = importDefaultResult . queueAndExecuteBatchedOperations ;
}
let result = null != prop ;
if ( result ) {
2026-07-23 10:11:24 +00:00
result = require ( "javaScriptFlagGetter" ) . animatedShouldUseSingleOp ( ) ;
const importAllResult = require ( "javaScriptFlagGetter" ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let c12 = null ;
2026-07-20 16:05:17 +00:00
let closure _13 = { } ;
let closure _14 = { } ;
2026-07-23 10:11:24 +00:00
let c15 = null ;
let c16 = null ;
let result1 = require ( "javaScriptFlagGetter" ) . animatedShouldSignalBatch ( ) ;
2026-07-20 16:05:17 +00:00
if ( ! result1 ) {
2026-07-23 10:11:24 +00:00
result1 = require ( "javaScriptFlagGetter" ) . cxxNativeAnimatedEnabled ( ) ;
const importAllResult2 = require ( "javaScriptFlagGetter" ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let closure _18 = ( function createNativeOperations ( ) {
let items = [ "createAnimatedNode" , "updateAnimatedNodeConfig" , "getValue" , "startListeningToAnimatedNodeValue" , "stopListeningToAnimatedNodeValue" , "connectAnimatedNodes" , "disconnectAnimatedNodes" , "startAnimatingNode" , "stopAnimation" , "setAnimatedNodeValue" , "setAnimatedNodeOffset" , "flattenAnimatedNodeOffset" , "extractAnimatedNodeOffset" , "connectAnimatedNodeToView" , "disconnectAnimatedNodeFromView" , "restoreDefaultValues" , "dropAnimatedNode" , "addAnimatedEventToView" , "removeAnimatedEventFromView" , "addListener" , "removeListener" ] ;
let obj = { } ;
if ( closure _11 ) {
2026-07-20 16:05:17 +00:00
let num2 = 0 ;
2026-07-23 10:11:24 +00:00
let c2 = 0 ;
2026-07-20 16:05:17 +00:00
if ( 0 < items . length ) {
do {
2026-07-23 10:11:24 +00:00
let tmp2 = ( function _loop ( ) {
let items = c2 + 1 ;
obj [ items [ c2 ] ] = ( ) => {
2026-07-20 16:05:17 +00:00
const length = arguments . length ;
const array = new Array ( length ) ;
for ( let num = 0 ; num < length ; num = num + 1 ) {
array [ num ] = arguments [ num ] ;
}
2026-07-23 10:11:24 +00:00
const push = outer2 _10 . push ;
2026-07-20 16:05:17 +00:00
const items = [ closure _0 ] ;
2026-07-23 10:11:24 +00:00
push . apply ( outer2 _10 , items . concat ( array ) ) ;
if ( outer2 _17 ) {
2026-07-20 16:05:17 +00:00
const _clearImmediate = clearImmediate ;
2026-07-23 10:11:24 +00:00
clearImmediate ( outer2 _12 ) ;
2026-07-20 16:05:17 +00:00
const _setImmediate = setImmediate ;
2026-07-23 10:11:24 +00:00
outer2 _12 = setImmediate ( outer2 _19 . flushQueue ) ;
2026-07-20 16:05:17 +00:00
}
} ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
num2 = num2 + 1 ;
2026-07-23 10:11:24 +00:00
c2 = num2 ;
2026-07-20 16:05:17 +00:00
} while ( num2 < length2 ) ;
}
} else {
let num = 0 ;
2026-07-23 10:11:24 +00:00
let c3 = 0 ;
2026-07-20 16:05:17 +00:00
if ( 0 < items . length ) {
do {
2026-07-23 10:11:24 +00:00
let tmp = ( function _loop2 ( ) {
2026-07-20 16:05:17 +00:00
const items = tmp ;
2026-07-23 10:11:24 +00:00
obj [ items [ c3 ] ] = ( ) => {
2026-07-20 16:05:17 +00:00
const length = arguments . length ;
const array = new Array ( length ) ;
for ( let num = 0 ; num < length ; num = num + 1 ) {
array [ num ] = arguments [ num ] ;
}
2026-07-23 10:11:24 +00:00
const obj = items ( table [ 3 ] ) ( outer2 _4 ) [ array ] ;
if ( ! outer2 _8 ) {
if ( 0 === outer2 _9 . length ) {
if ( outer2 _17 ) {
outer2 _9 . push ( ( ) => obj . apply ( undefined , array ) ) ;
2026-07-20 16:05:17 +00:00
const _clearImmediate = clearImmediate ;
2026-07-23 10:11:24 +00:00
clearImmediate ( outer2 _12 ) ;
2026-07-20 16:05:17 +00:00
const _setImmediate = setImmediate ;
2026-07-23 10:11:24 +00:00
outer2 _12 = setImmediate ( outer2 _19 . flushQueue ) ;
2026-07-20 16:05:17 +00:00
} else {
obj . apply ( undefined , array ) ;
}
}
}
2026-07-23 10:11:24 +00:00
outer2 _9 . push ( ( ) => obj . apply ( undefined , array ) ) ;
2026-07-20 16:05:17 +00:00
} ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
num = num + 1 ;
2026-07-23 10:11:24 +00:00
c3 = num ;
2026-07-20 16:05:17 +00:00
} while ( num < length ) ;
}
}
return obj ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
let obj = {
2026-07-23 10:11:24 +00:00
getValue : result ? ( ( arg0 , arg1 ) => {
2026-07-20 16:05:17 +00:00
if ( arg1 ) {
closure _13 [ arg0 ] = arg1 ;
}
const value = store . getValue ( arg0 ) ;
2026-07-23 10:11:24 +00:00
} ) : ( ( arg0 , arg1 ) => {
2026-07-20 16:05:17 +00:00
const value = store . getValue ( arg0 , arg1 ) ;
2026-07-23 10:11:24 +00:00
} ) ,
2026-07-20 16:05:17 +00:00
setWaitingForIdentifier ( combined ) {
if ( ! result1 ) {
set . add ( combined ) ;
2026-07-23 10:11:24 +00:00
let c8 = true ;
const obj = importAll ( 79 ) ;
2026-07-20 16:05:17 +00:00
if ( tmp6 ) {
const _clearImmediate = clearImmediate ;
2026-07-23 10:11:24 +00:00
clearImmediate ( c12 ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
tmp6 = importAll ( 79 ) . animatedShouldDebounceQueueFlush ( ) && c12 ;
2026-07-20 16:05:17 +00:00
}
} ,
unsetWaitingForIdentifier ( combined ) {
if ( ! result1 ) {
set . delete ( combined ) ;
if ( 0 === set . size ) {
2026-07-23 10:11:24 +00:00
let c8 = false ;
2026-07-20 16:05:17 +00:00
obj . disableQueue ( ) ;
}
}
} ,
disableQueue ( ) {
2026-07-23 10:11:24 +00:00
importDefault ( 44 ) ( closure _4 , "Native animated module is not available" ) ;
const obj = importAll ( 79 ) ;
2026-07-20 16:05:17 +00:00
if ( obj . animatedShouldDebounceQueueFlush ( ) ) {
const _clearImmediate = clearImmediate ;
clearImmediate ( immediate ) ;
const _setImmediate = setImmediate ;
2026-07-23 10:11:24 +00:00
immediate = setImmediate ( obj . flushQueue ) ;
2026-07-20 16:05:17 +00:00
} else {
obj . flushQueue ( ) ;
}
} ,
2026-07-23 10:11:24 +00:00
flushQueue : result ? ( ( ) => {
importDefault ( 44 ) ( importDefaultResult , "Native animated module is not available" ) ;
let c12 = null ;
2026-07-20 16:05:17 +00:00
if ( 0 !== length . length ) {
2026-07-23 10:11:24 +00:00
( function ensureGlobalEventEmitterListeners ( ) {
const outer1 _15 = outer1 _0 ( outer1 _2 [ 5 ] ) . addListener ( "onNativeAnimatedModuleGetValue" , ( value ) => {
if ( outer2 _13 [ value . tag ] ) {
tmp3 ( value . value ) ;
delete tmp [ tmp2 ] ;
2026-07-20 16:05:17 +00:00
}
} ) ;
2026-07-23 10:11:24 +00:00
const obj = outer1 _0 ( outer1 _2 [ 5 ] ) ;
const outer1 _16 = outer1 _0 ( outer1 _2 [ 5 ] ) . addListener ( "onNativeAnimatedModuleAnimationFinished" , ( arg0 ) => {
let tmp3 = arg0 ;
2026-07-20 16:05:17 +00:00
if ( ! Array . isArray ( arg0 ) ) {
const items = [ arg0 ] ;
2026-07-23 10:11:24 +00:00
tmp3 = items ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
for ( const item10013 of tmp3 ) {
2026-07-20 16:05:17 +00:00
let animationId = item10013 . animationId ;
2026-07-23 10:11:24 +00:00
let tmp5 = animationId ;
let tmp6 = outer2 _14 ;
let tmp7 = outer2 _14 [ animationId ] ;
if ( tmp7 ) {
let tmp9 = tmp7 ;
let tmp10 = item10013 ;
let tmp8Result = tmp8 ( tmp4 ) ;
let tmp12 = outer2 _14 ;
let tmp13 = animationId ;
delete tmp2 [ tmp ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
continue ;
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 tmp4 = null == importDefaultResult ;
if ( ! tmp4 ) {
tmp4 = null == importDefaultResult . queueAndExecuteBatchedOperations ;
}
if ( ! tmp4 ) {
const result = importDefaultResult . queueAndExecuteBatchedOperations ( length ) ;
}
length . length = 0 ;
}
2026-07-23 10:11:24 +00:00
} ) : ( ( ) => {
importDefault ( 44 ) ( importDefaultResult , "Native animated module is not available" ) ;
let c12 = null ;
if ( 0 !== lib . length ) {
2026-07-20 16:05:17 +00:00
let tmp3 = null == importDefaultResult ;
if ( ! tmp3 ) {
tmp3 = null == importDefaultResult . startOperationBatch ;
}
if ( ! tmp3 ) {
importDefaultResult . startOperationBatch ( ) ;
}
for ( let num = 0 ; num < length ; num = num + 1 ) {
2026-07-23 10:11:24 +00:00
let tmp7 = lib ;
let tmp8 = lib [ num ] ( ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
lib . length = 0 ;
2026-07-20 16:05:17 +00:00
let tmp11 = null == importDefaultResult ;
if ( ! tmp11 ) {
tmp11 = null == importDefaultResult . finishOperationBatch ;
}
if ( ! tmp11 ) {
importDefaultResult . finishOperationBatch ( ) ;
}
2026-07-23 10:11:24 +00:00
length = lib . length ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
} ) ,
2026-07-20 16:05:17 +00:00
createAnimatedNode ( newNodeTag , _ _getNativeConfigResult ) {
const animatedNode = store . createAnimatedNode ( newNodeTag , _ _getNativeConfigResult ) ;
} ,
updateAnimatedNodeConfig ( arg0 , self ) {
if ( null != store . updateAnimatedNodeConfig ) {
const result = store . updateAnimatedNodeConfig ( arg0 , self ) ;
}
} ,
startListeningToAnimatedNodeValue ( _ _getNativeTagResult ) {
const result = store . startListeningToAnimatedNodeValue ( _ _getNativeTagResult ) ;
} ,
2026-07-23 10:11:24 +00:00
stopListeningToAnimatedNodeValue ( closure _1 ) {
const result = store . stopListeningToAnimatedNodeValue ( closure _1 ) ;
2026-07-20 16:05:17 +00:00
} ,
connectAnimatedNodes ( arg0 , arg1 ) {
store . connectAnimatedNodes ( arg0 , arg1 ) ;
} ,
disconnectAnimatedNodes ( arg0 , arg1 ) {
const result = store . disconnectAnimatedNodes ( arg0 , arg1 ) ;
} ,
2026-07-23 10:11:24 +00:00
startAnimatingNode : result ? ( ( arg0 , arg1 , arg2 , arg3 ) => {
2026-07-20 16:05:17 +00:00
if ( arg3 ) {
closure _14 [ arg0 ] = arg3 ;
}
store . startAnimatingNode ( arg0 , arg1 , arg2 ) ;
2026-07-23 10:11:24 +00:00
} ) : ( ( arg0 , arg1 , arg2 , arg3 ) => {
2026-07-20 16:05:17 +00:00
store . startAnimatingNode ( arg0 , arg1 , arg2 , arg3 ) ;
2026-07-23 10:11:24 +00:00
} ) ,
2026-07-20 16:05:17 +00:00
stopAnimation ( arg0 ) {
store . stopAnimation ( arg0 ) ;
} ,
setAnimatedNodeValue ( self , _startingValue ) {
store . setAnimatedNodeValue ( self , _startingValue ) ;
} ,
setAnimatedNodeOffset ( self , _offset ) {
const result = store . setAnimatedNodeOffset ( self , _offset ) ;
} ,
flattenAnimatedNodeOffset ( self ) {
const result = store . flattenAnimatedNodeOffset ( self ) ;
} ,
extractAnimatedNodeOffset ( self ) {
const result = store . extractAnimatedNodeOffset ( self ) ;
} ,
connectAnimatedNodeToView ( self , findNodeHandleResult ) {
const result = store . connectAnimatedNodeToView ( self , findNodeHandleResult ) ;
} ,
disconnectAnimatedNodeFromView ( self , connectedViewTag ) {
const result = store . disconnectAnimatedNodeFromView ( self , connectedViewTag ) ;
} ,
restoreDefaultValues ( self ) {
if ( null != store . restoreDefaultValues ) {
store . restoreDefaultValues ( self ) ;
}
} ,
dropAnimatedNode ( _ _nativeTag ) {
store . dropAnimatedNode ( _ _nativeTag ) ;
} ,
2026-07-23 10:11:24 +00:00
addAnimatedEventToView ( closure _4 , closure _0 , arg2 ) {
const result = store . addAnimatedEventToView ( closure _4 , closure _0 , arg2 ) ;
2026-07-20 16:05:17 +00:00
} ,
2026-07-23 10:11:24 +00:00
removeAnimatedEventFromView ( outer1 _4 , outer1 _0 , animatedValueTag ) {
const result = store . removeAnimatedEventFromView ( outer1 _4 , outer1 _0 , animatedValueTag ) ;
2026-07-20 16:05:17 +00:00
}
} ;
2026-07-23 10:11:24 +00:00
let c20 = false ;
2026-07-20 16:05:17 +00:00
obj = {
API : obj ,
generateNewNodeTag ( ) {
let closure _5 = tmp + 1 ;
return + closure _5 ;
} ,
generateNewAnimationId ( ) {
let closure _6 = tmp + 1 ;
return + closure _6 ;
} ,
assertNativeAnimatedModule ( ) {
2026-07-23 10:11:24 +00:00
importDefault ( 44 ) ( closure _4 , "Native animated module is not available" ) ;
2026-07-20 16:05:17 +00:00
} ,
shouldUseNativeDriver ( useNativeDriver ) {
if ( null == useNativeDriver . useNativeDriver ) {
const _console = console ;
console . warn ( "Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`" ) ;
}
if ( true === useNativeDriver . useNativeDriver ) {
2026-07-23 10:11:24 +00:00
if ( ! closure _4 ) {
2026-07-20 16:05:17 +00:00
let flag = false ;
2026-07-23 10:11:24 +00:00
if ( ! c20 ) {
2026-07-20 16:05:17 +00:00
const _console2 = console ;
console . warn ( "Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md" ) ;
2026-07-23 10:11:24 +00:00
c20 = true ;
2026-07-20 16:05:17 +00:00
flag = false ;
}
}
return flag ;
}
flag = useNativeDriver . useNativeDriver || false ;
} ,
shouldSignalBatch : result1 ,
transformDataType ( str ) {
if ( "string" !== typeof str ) {
return str ;
} else if ( str . endsWith ( "deg" ) ) {
const _parseFloat2 = parseFloat ;
const _Math = Math ;
let result = ( parseFloat ( str ) || 0 ) * Math . PI / 180 ;
const tmp5 = parseFloat ( str ) || 0 ;
} else {
result = str ;
if ( str . endsWith ( "rad" ) ) {
const _parseFloat = parseFloat ;
result = parseFloat ( str ) || 0 ;
const tmp3 = parseFloat ( str ) || 0 ;
}
}
}
} ;
Object . defineProperty ( obj , "nativeEventEmitter" , {
get : ( ) => {
2026-07-23 10:11:24 +00:00
if ( ! closure _3 ) {
let tmp3 = importDefault ( 209 ) ;
2026-07-20 16:05:17 +00:00
const prototype = tmp3 . prototype ;
tmp3 = new tmp3 ( null ) ;
2026-07-23 10:11:24 +00:00
closure _3 = tmp3 ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
return closure _3 ;
2026-07-20 16:05:17 +00:00
} ,
set : undefined
} ) ;
export default obj ;