2026-07-20 16:05:17 +00:00
// Module ID: 1622
2026-07-24 07:16:23 +00:00
// Function ID: 18038
2026-07-20 16:05:17 +00:00
// Name: isValidLayoutAnimationProp
2026-07-23 10:11:24 +00:00
// Dependencies: [65, 1585, 1607, 1593, 1623, 1624, 1625, 1589]
2026-07-20 16:05:17 +00:00
// Exports: initialUpdaterRun
// Module 1622 (isValidLayoutAnimationProp)
2026-07-23 10:11:24 +00:00
import _toConsumableArray from "_toConsumableArray" ;
import isJest from "isJest" ;
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1 ;
let c3 = false ;
isJest = isJest . shouldBeUseWeb ( ) ;
let closure _5 = { originX : true , originY : true , width : true , height : true , borderRadius : true , globalOriginX : true , globalOriginY : true , opacity : true , transform : true , backgroundColor : true } ;
2026-07-20 16:05:17 +00:00
let closure _6 = { code : "function isValidLayoutAnimationProp_Pnpm_utilTs1(prop){const{LAYOUT_ANIMATION_SUPPORTED_PROPS}=this.__closure;return prop in LAYOUT_ANIMATION_SUPPORTED_PROPS;}" } ;
let closure _7 = { code : "function assertEasingIsWorklet_Pnpm_utilTs2(easing){const{SHOULD_BE_USE_WEB,isWorkletFunction}=this.__closure;if(_WORKLET){return;}if(SHOULD_BE_USE_WEB){return;}if(easing!==null&&easing!==void 0&&easing.factory){return;}if(!isWorkletFunction(easing)){throw new ReanimatedError('The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated.');}}" } ;
let closure _8 = { code : "function recognizePrefixSuffix_Pnpm_utilTs3(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw new ReanimatedError(\"Couldn't parse animation value.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}" } ;
2026-07-23 10:11:24 +00:00
const tmp3 = ( ( ) => {
export function isValidLayoutAnimationProp ( arg0 ) {
return arg0 in outer1 _5 ;
2026-07-20 16:05:17 +00:00
}
isValidLayoutAnimationProp . _ _closure = { LAYOUT _ANIMATION _SUPPORTED _PROPS : closure _5 } ;
isValidLayoutAnimationProp . _ _workletHash = 13235833688548 ;
isValidLayoutAnimationProp . _ _initData = closure _6 ;
return isValidLayoutAnimationProp ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
let tmp5 = ( ( ) => {
export function recognizePrefixSuffix ( current ) {
2026-07-20 16:05:17 +00:00
if ( "string" === typeof current ) {
const match = current . match ( /([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/ ) ;
if ( match ) {
let str2 = "" ;
if ( null != match [ 3 ] ) {
str2 = tmp8 ;
}
let obj = { prefix : match [ 1 ] , suffix : match [ 4 ] } ;
const _parseFloat = parseFloat ;
obj . strippedValue = parseFloat ( match [ 2 ] + str2 ) ;
return obj ;
} else {
2026-07-23 10:11:24 +00:00
const ReanimatedError = outer1 _0 ( outer1 _1 [ 3 ] ) . ReanimatedError ;
2026-07-20 16:05:17 +00:00
const prototype = ReanimatedError . prototype ;
const reanimatedError = new ReanimatedError ( "Couldn't parse animation value." ) ;
throw reanimatedError ;
}
} else {
obj = { strippedValue : current } ;
return obj ;
}
}
recognizePrefixSuffix . _ _closure = { } ;
recognizePrefixSuffix . _ _workletHash = 11076682371077 ;
recognizePrefixSuffix . _ _initData = closure _8 ;
return recognizePrefixSuffix ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
let closure _9 = tmp5 ;
const uiValue = require ( "isReducedMotionEnabledInSystem" ) . ReducedMotionManager . uiValue ;
2026-07-20 16:05:17 +00:00
let closure _11 = { code : "function getReduceMotionFromConfig_Pnpm_utilTs4(config){const{ReduceMotion,isReduceMotionOnUI}=this.__closure;return!config||config===ReduceMotion.System?isReduceMotionOnUI.value:config===ReduceMotion.Always;}" } ;
2026-07-23 10:11:24 +00:00
const tmp6 = ( ( ) => {
export function getReduceMotionFromConfig ( reduceMotion ) {
2026-07-20 16:05:17 +00:00
if ( reduceMotion ) {
2026-07-23 10:11:24 +00:00
if ( reduceMotion !== outer1 _0 ( outer1 _1 [ 2 ] ) . ReduceMotion . System ) {
let value = reduceMotion === outer1 _0 ( outer1 _1 [ 2 ] ) . ReduceMotion . Always ;
2026-07-20 16:05:17 +00:00
}
return value ;
}
2026-07-23 10:11:24 +00:00
value = outer1 _10 . value ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
getReduceMotionFromConfig . _ _closure = { ReduceMotion : require ( 1607 ) /* isWorkletFunction */ . ReduceMotion , isReduceMotionOnUI : uiValue } ;
2026-07-20 16:05:17 +00:00
getReduceMotionFromConfig . _ _workletHash = 7977910521960 ;
getReduceMotionFromConfig . _ _initData = closure _11 ;
return getReduceMotionFromConfig ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
let closure _12 = tmp6 ;
2026-07-20 16:05:17 +00:00
let closure _13 = { code : "function getReduceMotionForAnimation_Pnpm_utilTs5(config){const{getReduceMotionFromConfig}=this.__closure;if(!config){return undefined;}return getReduceMotionFromConfig(config);}" } ;
let closure _14 = { code : "function applyProgressToMatrix_Pnpm_utilTs6(progress,a,b){const{addMatrices,scaleMatrix,subtractMatrices}=this.__closure;return addMatrices(a,scaleMatrix(subtractMatrices(b,a),progress));}" } ;
2026-07-23 10:11:24 +00:00
let tmp4 = ( ( ) => {
export function assertEasingIsWorklet ( factory ) {
2026-07-20 16:05:17 +00:00
if ( ! globalThis . _WORKLET ) {
2026-07-23 10:11:24 +00:00
if ( ! outer1 _4 ) {
2026-07-20 16:05:17 +00:00
if ( null == factory ) {
if ( ! obj . isWorkletFunction ( factory ) ) {
2026-07-23 10:11:24 +00:00
const ReanimatedError = outer1 _0 ( outer1 _1 [ 3 ] ) . ReanimatedError ;
2026-07-20 16:05:17 +00:00
const prototype = ReanimatedError . prototype ;
const reanimatedError = new ReanimatedError ( "The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated." ) ;
throw reanimatedError ;
}
2026-07-23 10:11:24 +00:00
obj = outer1 _0 ( outer1 _1 [ 2 ] ) ;
2026-07-20 16:05:17 +00:00
}
}
}
}
2026-07-23 10:11:24 +00:00
assertEasingIsWorklet . _ _closure = { SHOULD _BE _USE _WEB : isJest , isWorkletFunction : require ( 1607 ) /* isWorkletFunction */ . isWorkletFunction } ;
2026-07-20 16:05:17 +00:00
assertEasingIsWorklet . _ _workletHash = 8431488219943 ;
assertEasingIsWorklet . _ _initData = closure _7 ;
return assertEasingIsWorklet ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
let closure _15 = ( ( ) => {
2026-07-20 16:05:17 +00:00
function applyProgressToMatrix ( arg0 , arg1 , arg2 ) {
2026-07-23 10:11:24 +00:00
const obj = outer1 _0 ( outer1 _1 [ 5 ] ) ;
const obj2 = outer1 _0 ( outer1 _1 [ 5 ] ) ;
return obj . addMatrices ( arg1 , obj2 . scaleMatrix ( outer1 _0 ( outer1 _1 [ 5 ] ) . subtractMatrices ( arg2 , arg1 ) , arg0 ) ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
applyProgressToMatrix . _ _closure = { addMatrices : require ( 1624 ) /* isAffineMatrixFlat */ . addMatrices , scaleMatrix : require ( 1624 ) /* isAffineMatrixFlat */ . scaleMatrix , subtractMatrices : require ( 1624 ) /* isAffineMatrixFlat */ . subtractMatrices } ;
2026-07-20 16:05:17 +00:00
applyProgressToMatrix . _ _workletHash = 4822273347900 ;
applyProgressToMatrix . _ _initData = closure _14 ;
return applyProgressToMatrix ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
let closure _16 = { code : "function applyProgressToNumber_Pnpm_utilTs7(progress,a,b){return a+progress*(b-a);}" } ;
2026-07-23 10:11:24 +00:00
let closure _17 = ( ( ) => {
2026-07-20 16:05:17 +00:00
function applyProgressToNumber ( arg0 , arg1 , arg2 ) {
return arg1 + arg0 * ( arg2 - arg1 ) ;
}
applyProgressToNumber . _ _closure = { } ;
applyProgressToNumber . _ _workletHash = 954128472665 ;
applyProgressToNumber . _ _initData = closure _16 ;
return applyProgressToNumber ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
let closure _18 = { code : " function decorateAnimation _Pnpm _utilTs8 ( animation ) { const { getReduceMotionFromConfig , recognizePrefixSuffix , isColor , toLinearSpace , convertToRGBA , clampRGBA , rgbaArrayToRGBAColor , toGammaSpace , decomposeMatrixIntoMatricesAndAngles , applyProgressToMatrix , applyProgressToNumber , getRotationMatrix , multiplyMatrices , flatten , isAffineMatrixFlat } = this . _ _closure ; const baseOnStart = animation . onStart ; const baseOnFrame = animation . onFrame ; if ( animation . isHigherOrder ) { animation . onStart = function ( animation , value , timestamp , previousAnimation ) { if ( animation . reduceMotion === undefined ) { animation . reduceMotion = getReduceMotionFromConfig ( ) ; } return baseOnStart ( animation , value , timestamp , previousAnimation ) ; } ; return ; } const animationCopy = Object . assign ( { } , animation ) ; delete animationCopy . callback ; const prefNumberSuffOnStart = function ( animation , value , timestamp , previousAnimation ) { var _animation$ _ _prefix , _animation$ _ _suffix ; const { prefix : prefix , suffix : suffix , strippedValue : strippedValue } = recognizePrefixSuffix ( value ) ; animation . _ _prefix = prefix ; animation . _ _suffix = suffix ; animation . strippedCurrent = strippedValue ; const { strippedValue : strippedToValue } = recognizePrefixSuffix ( animation . toValue ) ; animation . current = strippedValue ; animation . startValue = strippedValue ; animation . toValue = strippedToValue ; if ( previousAnimation && previousAnimation !== animation ) { const { prefix : paPrefix , suffix : paSuffix , strippedValue : paStrippedValue } = recognizePrefixSuffix ( previousAnimation . current ) ; previousAnimation . current = paStrippedValue ; previousAnimation . _ _prefix = paPrefix ; previousAnimation . _ _suffix = paSuffix ; } baseOnStart ( animation , strippedValue , timestamp , previousAnimation ) ; animation . current = ( ( _animation$ _ _prefix = animation . _ _prefix ) !== null && _animation$ _ _prefix !== void 0 ? _animation$ _ _prefix : '' ) + animation . current + ( ( _animation$ _ _suffix = animation . _ _suffix ) !== null && _animation$ _ _suffix !== void 0 ? _animation$ _ _suffix : '' ) ; if ( previousAnimation && previousAnimation !== animation ) { var _previousAnimation$ _ _ , _previousAnimation$ _ _2 ; previousAnimation . current = ( ( _previousAnimation$ _ _ = previousAnimation . _ _prefix ) !== null && _previousAnimation$ _ _ !== void 0 ? _previousAnimation$ _ _ : '' ) + previousAnimation . current + ( ( _previousAnimation$ _ _2 = previousAnimation . _ _suffix ) !== null && _previousAnimation$ _ _2 !== void 0 ? _previousAnimation$ _ _2 : '' ) ; } } ; const prefNumberSuffOnFrame = function ( animation , timestamp ) { var _animation$ _ _prefix2 , _animation$ _ _suffix2 ; animation . current = animation . strippedCurrent ; const res = baseOnFrame ( animation , timestamp ) ; animation . strippedCurrent = animation . current ; animation . current = ( ( _animation$ _ _prefix2 = animation . _ _prefix ) !== null && _animation$ _ _prefix2 !== void 0 ? _animation$ _ _prefix2 : '' ) + animation . current + ( ( _animation$ _ _suffix2 = animation . _ _suffix ) !== null && _animation$ _ _suffix2 !== void 0 ? _animation$ _ _suffix2 : '' ) ; return res ; } ; const tab = [ 'R' , 'G' , 'B' , 'A' ] ; const colorOnStart = function ( animation , value , timestamp , previousAnimation ) { let RGBAValue ; let RGBACurrent ; let RGBAToValue ; const res = [ ] ; if ( isColor ( value ) ) { RGBACurrent = toLinearSpace ( convertToRGBA ( animation . current ) ) ; RGBAValue = toLinearSpace ( convertToRGBA ( value ) ) ; if ( animation . toValue ) { RGBAToValue = toLinearSpace ( convertToRGBA ( animation . toValue ) ) ; } } tab . forEach ( function ( i , index ) { animation [ i ] = Object . assign ( { } , animationCopy ) ; animation [ i ] . current = RGBACurrent [ index ] ; animation [ i ] . toValue = RGBAToValue ? RGBAToValue [ index ] : undefined ; animation [ i ] . onStart ( animation [ i ] , RGBAValue [ index ] , timestamp , previousAnimation ? previousAnimation [ i ] : undefined ) ; res . push ( animation [ i ] . current ) ; } ) ; animation . unroundedCurrent = res ; clampRGBA ( res ) ; animation . current = rgbaArrayToRGBAColor ( toGammaSpace ( res ) ) ; } ; const colorOnFrame = function ( animation , timestamp ) { const res = [ ] ; let finished = true ; animation . current = animation . nonscaledCurrent ; tab . forEach ( function ( i ) { const result = animation [ i ] . onFrame ( animation [ i ] , timestamp ) ; finished = finished && result ; res . push ( animation [ i ] . current ) ; } ) ; clampRGBA ( res ) ; animation . nonscaledCurrent = res ; animation . current = rgbaArrayToRGBAColor ( toGammaSpace ( res ) ) ; return finished ; } ; const transformationMatrixOnStart = function ( animation , value , timestamp , previousAnimation ) { const toValue = animation . toValue ; animation . startMatrices = decompos
2026-07-23 10:11:24 +00:00
let closure _19 = ( ( ) => {
2026-07-20 16:05:17 +00:00
function decorateAnimation ( isHigherOrder ) {
2026-07-23 10:11:24 +00:00
let closure _0 ;
let closure _1 ;
2026-07-20 16:05:17 +00:00
( { onStart : closure _0 , onFrame : closure _1 } = isHigherOrder ) ;
if ( isHigherOrder . isHigherOrder ) {
isHigherOrder . onStart = ( reduceMotion ) => {
if ( undefined === reduceMotion . reduceMotion ) {
2026-07-23 10:11:24 +00:00
reduceMotion . reduceMotion = outer2 _12 ( ) ;
2026-07-20 16:05:17 +00:00
}
return callback ( reduceMotion , arg1 , arg2 , arg3 ) ;
} ;
} else {
2026-07-23 10:11:24 +00:00
let _Object = Object ;
let _toConsumableArray = Object . assign ( { } , isHigherOrder ) ;
delete tmp . callback ;
2026-07-20 16:05:17 +00:00
function prefNumberSuffOnFrame ( strippedCurrent ) {
let _ _prefix ;
strippedCurrent . current = strippedCurrent . strippedCurrent ;
( { current : strippedCurrent . strippedCurrent , _ _prefix } = strippedCurrent ) ;
let str = "" ;
let str2 = "" ;
if ( null != _ _prefix ) {
str2 = _ _prefix ;
}
const _ _suffix = strippedCurrent . _ _suffix ;
const sum = str2 + strippedCurrent . current ;
if ( null != _ _suffix ) {
str = _ _suffix ;
}
strippedCurrent . current = sum + str ;
return callback2 ( strippedCurrent , arg1 ) ;
}
2026-07-23 10:11:24 +00:00
let closure _4 = [ "R" , "G" , "B" , "A" ] ;
2026-07-20 16:05:17 +00:00
function colorOnFrame ( nonscaledCurrent ) {
2026-07-23 10:11:24 +00:00
let closure _0 = nonscaledCurrent ;
let closure _1 = arg1 ;
2026-07-20 16:05:17 +00:00
const items = [ ] ;
2026-07-23 10:11:24 +00:00
let c3 = true ;
2026-07-20 16:05:17 +00:00
nonscaledCurrent . current = nonscaledCurrent . nonscaledCurrent ;
const item = closure _4 . forEach ( ( arg0 ) => {
2026-07-23 10:11:24 +00:00
let onFrameResult = c3 ;
if ( c3 ) {
onFrameResult = obj . onFrame ( nonscaledCurrent [ arg0 ] , closure _1 ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
c3 = onFrameResult ;
items . push ( nonscaledCurrent [ arg0 ] . current ) ;
2026-07-20 16:05:17 +00:00
} ) ;
2026-07-23 10:11:24 +00:00
outer2 _0 ( outer2 _1 [ 6 ] ) . clampRGBA ( items ) ;
2026-07-20 16:05:17 +00:00
nonscaledCurrent . nonscaledCurrent = items ;
2026-07-23 10:11:24 +00:00
const obj = outer2 _0 ( outer2 _1 [ 6 ] ) ;
const obj2 = outer2 _0 ( outer2 _1 [ 6 ] ) ;
nonscaledCurrent . current = obj2 . rgbaArrayToRGBAColor ( outer2 _0 ( outer2 _1 [ 6 ] ) . toGammaSpace ( items ) ) ;
return c3 ;
2026-07-20 16:05:17 +00:00
}
function transformationMatrixOnFrame ( arg0 , arg1 ) {
let tmp3 ;
let tmp4 ;
let tmp5 ;
let tmp7 ;
let tmp8 ;
let tmp9 ;
2026-07-23 10:11:24 +00:00
let closure _0 = arg0 ;
2026-07-20 16:05:17 +00:00
const first = arg0 [ 0 ] ;
let closure _1 = arg0 [ 0 ] . current / 100 ;
const items = [ ] ;
2026-07-23 10:11:24 +00:00
const items1 = [ "translationMatrix" , "scaleMatrix" , "skewMatrix" ] ;
const item = items1 . forEach ( ( arg0 , arg1 ) => items . push ( outer3 _15 ( closure _1 , closure _0 . startMatrices [ arg0 ] , closure _0 . stopMatrices [ arg0 ] ) ) ) ;
2026-07-20 16:05:17 +00:00
const items2 = [ ] ;
2026-07-23 10:11:24 +00:00
const items3 = [ "x" , "y" , "z" ] ;
2026-07-20 16:05:17 +00:00
[ tmp3 , tmp4 , tmp5 ] = items ;
const item1 = items3 . forEach ( ( arg0 , arg1 ) => {
2026-07-23 10:11:24 +00:00
const tmp = outer3 _17 ( closure _1 , closure _0 . startMatrices [ "r" + arg0 ] , closure _0 . stopMatrices [ "r" + arg0 ] ) ;
items2 . push ( outer3 _0 ( outer3 _1 [ 5 ] ) . getRotationMatrix ( tmp , arg0 ) ) ;
2026-07-20 16:05:17 +00:00
} ) ;
[ tmp7 , tmp8 , tmp9 ] = items2 ;
const onFrameResult = first . onFrame ( arg0 [ 0 ] , arg1 ) ;
2026-07-23 10:11:24 +00:00
const obj2 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
const obj3 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
const multiplyMatricesResult = obj2 . multiplyMatrices ( tmp7 , outer2 _0 ( outer2 _1 [ 5 ] ) . multiplyMatrices ( tmp8 , tmp9 ) ) ;
const obj4 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
const obj5 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
const obj6 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
arg0 . current = obj4 . flatten ( obj5 . multiplyMatrices ( obj6 . multiplyMatrices ( tmp4 , outer2 _0 ( outer2 _1 [ 5 ] ) . multiplyMatrices ( tmp5 , multiplyMatricesResult ) ) , tmp3 ) ) ;
2026-07-20 16:05:17 +00:00
return onFrameResult ;
}
function arrayOnFrame ( current ) {
2026-07-23 10:11:24 +00:00
let closure _0 = current ;
let closure _1 = arg1 ;
let c2 = true ;
2026-07-20 16:05:17 +00:00
current = current . current ;
const item = current . forEach ( ( arg0 , arg1 ) => {
2026-07-23 10:11:24 +00:00
let onFrameResult = c2 ;
if ( c2 ) {
onFrameResult = obj . onFrame ( ref [ arg1 ] , closure _1 ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
c2 = onFrameResult ;
ref . current [ arg1 ] = ref [ arg1 ] . current ;
2026-07-20 16:05:17 +00:00
} ) ;
2026-07-23 10:11:24 +00:00
return c2 ;
2026-07-20 16:05:17 +00:00
}
function objectOnFrame ( current ) {
const obj = { } ;
let flag = true ;
let flag2 = true ;
const keys = Object . keys ( ) ;
if ( keys !== undefined ) {
flag2 = flag ;
while ( keys [ tmp ] !== undefined ) {
let tmp5 = tmp3 ;
let obj2 = current [ tmp3 ] ;
let onFrameResult = flag ;
if ( flag ) {
onFrameResult = obj2 . onFrame ( current [ tmp3 ] , arg1 ) ;
}
obj [ tmp3 ] = current [ tmp3 ] . current ;
flag = onFrameResult ;
2026-07-23 10:11:24 +00:00
continue ;
2026-07-20 16:05:17 +00:00
}
}
current . current = obj ;
return flag2 ;
}
isHigherOrder . onStart = ( reduceMotion , current , arg2 , current2 ) => {
let strippedValue ;
if ( undefined === reduceMotion . reduceMotion ) {
2026-07-23 10:11:24 +00:00
reduceMotion . reduceMotion = outer2 _12 ( ) ;
2026-07-20 16:05:17 +00:00
}
if ( reduceMotion . reduceMotion ) {
if ( undefined !== reduceMotion . toValue ) {
reduceMotion . current = reduceMotion . toValue ;
} else {
callback ( reduceMotion , current , arg2 , current2 ) ;
}
reduceMotion . startTime = 0 ;
reduceMotion . onFrame = ( ) => true ;
} else {
if ( obj . isColor ( current ) ) {
2026-07-23 10:11:24 +00:00
( function colorOnStart ( current , current , arg2 , current2 ) {
let closure _0 = current ;
let closure _1 = arg2 ;
let _toConsumableArray = current2 ;
2026-07-20 16:05:17 +00:00
const items = [ ] ;
if ( obj . isColor ( current ) ) {
2026-07-23 10:11:24 +00:00
const obj2 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
let closure _4 = obj2 . toLinearSpace ( outer3 _0 ( outer3 _1 [ 6 ] ) . convertToRGBA ( current . current ) ) ;
const obj3 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
const obj4 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
let closure _3 = obj4 . toLinearSpace ( outer3 _0 ( outer3 _1 [ 6 ] ) . convertToRGBA ( current ) ) ;
2026-07-20 16:05:17 +00:00
if ( current . toValue ) {
2026-07-23 10:11:24 +00:00
const obj6 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
let closure _5 = obj6 . toLinearSpace ( outer3 _0 ( outer3 _1 [ 6 ] ) . convertToRGBA ( current . toValue ) ) ;
const obj7 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const obj5 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const item = outer1 _4 . forEach ( ( arg0 , arg1 ) => {
dependencyMap [ arg0 ] = Object . assign ( { } , outer2 _2 ) ;
dependencyMap [ arg0 ] . current = table3 [ arg1 ] ;
2026-07-20 16:05:17 +00:00
let tmp ;
2026-07-23 10:11:24 +00:00
if ( table4 ) {
tmp = table4 [ arg1 ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
dependencyMap [ arg0 ] . toValue = tmp ;
2026-07-20 16:05:17 +00:00
let tmp4 ;
2026-07-23 10:11:24 +00:00
if ( table ) {
tmp4 = table [ arg0 ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
dependencyMap [ arg0 ] . onStart ( dependencyMap [ arg0 ] , table2 [ arg1 ] , closure _1 , tmp4 ) ;
items . push ( dependencyMap [ arg0 ] . current ) ;
2026-07-20 16:05:17 +00:00
} ) ;
current . unroundedCurrent = items ;
2026-07-23 10:11:24 +00:00
obj = outer3 _0 ( outer3 _1 [ 6 ] ) ;
outer3 _0 ( outer3 _1 [ 6 ] ) . clampRGBA ( items ) ;
const obj8 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
const obj9 = outer3 _0 ( outer3 _1 [ 6 ] ) ;
current . current = obj9 . rgbaArrayToRGBAColor ( outer3 _0 ( outer3 _1 [ 6 ] ) . toGammaSpace ( items ) ) ;
} ) ( reduceMotion , current , arg2 , current2 ) ;
2026-07-20 16:05:17 +00:00
reduceMotion . onFrame = colorOnFrame ;
} else {
if ( obj2 . isAffineMatrixFlat ( current ) ) {
2026-07-23 10:11:24 +00:00
reduceMotion . startMatrices = outer2 _0 ( outer2 _1 [ 5 ] ) . decomposeMatrixIntoMatricesAndAngles ( current ) ;
let obj3 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
reduceMotion . stopMatrices = outer2 _0 ( outer2 _1 [ 5 ] ) . decomposeMatrixIntoMatricesAndAngles ( reduceMotion . toValue ) ;
2026-07-20 16:05:17 +00:00
const _Object = Object ;
2026-07-23 10:11:24 +00:00
reduceMotion [ 0 ] = Object . assign ( { } , _toConsumableArray ) ;
2026-07-20 16:05:17 +00:00
reduceMotion [ 0 ] . current = 0 ;
reduceMotion [ 0 ] . toValue = 100 ;
const first = reduceMotion [ 0 ] ;
const first1 = reduceMotion [ 0 ] ;
let first2 ;
if ( current2 ) {
first2 = current2 [ 0 ] ;
}
first . onStart ( first1 , 0 , arg2 , first2 ) ;
reduceMotion . current = current ;
reduceMotion . onFrame = transformationMatrixOnFrame ;
2026-07-23 10:11:24 +00:00
let obj4 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
2026-07-20 16:05:17 +00:00
} else {
const _Array = Array ;
if ( Array . isArray ( current ) ) {
2026-07-23 10:11:24 +00:00
( function arrayOnStart ( reduceMotion , arr , arg2 , current2 ) {
let closure _0 = reduceMotion ;
let closure _1 = arg2 ;
let _toConsumableArray = current2 ;
2026-07-20 16:05:17 +00:00
const item = arr . forEach ( ( current ) => {
2026-07-23 10:11:24 +00:00
toValue [ arg1 ] = Object . assign ( { } , outer2 _2 ) ;
toValue [ arg1 ] . current = current ;
toValue [ arg1 ] . toValue = toValue . toValue [ arg1 ] ;
2026-07-20 16:05:17 +00:00
let tmp2 ;
2026-07-23 10:11:24 +00:00
if ( table ) {
tmp2 = table [ arg1 ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
toValue [ arg1 ] . onStart ( toValue [ arg1 ] , current , closure _1 , tmp2 ) ;
2026-07-20 16:05:17 +00:00
} ) ;
2026-07-23 10:11:24 +00:00
reduceMotion . current = outer3 _2 ( arr ) ;
} ) ( reduceMotion , current , arg2 , current2 ) ;
2026-07-20 16:05:17 +00:00
reduceMotion . onFrame = arrayOnFrame ;
} else if ( "string" === typeof current ) {
2026-07-23 10:11:24 +00:00
( { strippedValue , prefix : reduceMotion . _ _prefix , suffix : reduceMotion . _ _suffix } = outer2 _9 ( current ) ) ;
2026-07-20 16:05:17 +00:00
reduceMotion . strippedCurrent = strippedValue ;
reduceMotion . current = strippedValue ;
reduceMotion . startValue = strippedValue ;
2026-07-23 10:11:24 +00:00
reduceMotion . toValue = outer2 _9 ( reduceMotion . toValue ) . strippedValue ;
2026-07-20 16:05:17 +00:00
if ( current2 ) {
if ( current2 !== reduceMotion ) {
2026-07-23 10:11:24 +00:00
( { strippedValue : current2 . current , prefix : current2 . _ _prefix , suffix : current2 . _ _suffix } = outer2 _9 ( current2 . current ) ) ;
const tmp28 = outer2 _9 ( current2 . current ) ;
2026-07-20 16:05:17 +00:00
}
}
callback ( reduceMotion , strippedValue , arg2 , current2 ) ;
const _ _prefix = reduceMotion . _ _prefix ;
let str2 = "" ;
let str3 = "" ;
if ( null != _ _prefix ) {
str3 = _ _prefix ;
}
const _ _suffix = reduceMotion . _ _suffix ;
let tmp37 = str2 ;
const sum = str3 + reduceMotion . current ;
if ( null != _ _suffix ) {
tmp37 = _ _suffix ;
}
reduceMotion . current = sum + tmp37 ;
let tmp38 = current2 ;
if ( current2 ) {
tmp38 = current2 !== reduceMotion ;
}
if ( tmp38 ) {
const _ _prefix2 = current2 . _ _prefix ;
let tmp39 = str2 ;
if ( null != _ _prefix2 ) {
tmp39 = _ _prefix2 ;
}
const _ _suffix2 = current2 . _ _suffix ;
const sum1 = tmp39 + current2 . current ;
if ( null != _ _suffix2 ) {
str2 = _ _suffix2 ;
}
current2 . current = sum1 + str2 ;
}
reduceMotion . onFrame = prefNumberSuffOnFrame ;
2026-07-23 10:11:24 +00:00
const tmp26 = outer2 _9 ( current ) ;
2026-07-20 16:05:17 +00:00
} else {
if ( "object" === tmp7 ) {
if ( null !== current ) {
for ( const key10040 in arg1 ) {
let tmp72 = key10040 ;
let _Object2 = Object ;
2026-07-23 10:11:24 +00:00
let tmp73 = _toConsumableArray ;
arg0 [ key10040 ] = Object . assign ( { } , _toConsumableArray ) ;
2026-07-20 16:05:17 +00:00
arg0 [ key10040 ] . onStart = arg0 . onStart ;
arg0 [ key10040 ] . current = arg1 [ key10040 ] ;
arg0 [ key10040 ] . toValue = arg0 . toValue [ key10040 ] ;
let obj6 = arg0 [ key10040 ] ;
let tmp74 = arg0 [ key10040 ] ;
let tmp75 = arg1 [ key10040 ] ;
let tmp17 ;
if ( arg3 ) {
tmp17 = arg3 [ key10040 ] ;
}
let tmp18 = obj6 ;
let tmp19 = tmp74 ;
let tmp20 = tmp75 ;
let tmp21 = arg2 ;
let tmp22 = tmp17 ;
let onStartResult1 = obj6 . onStart ( tmp74 , tmp75 , arg2 , tmp17 ) ;
2026-07-23 10:11:24 +00:00
continue ;
2026-07-20 16:05:17 +00:00
}
reduceMotion . current = current ;
reduceMotion . onFrame = objectOnFrame ;
}
}
callback ( reduceMotion , current , arg2 , current2 ) ;
}
}
2026-07-23 10:11:24 +00:00
obj2 = outer2 _0 ( outer2 _1 [ 5 ] ) ;
2026-07-20 16:05:17 +00:00
}
return tmp15 ;
}
} ;
}
}
2026-07-23 10:11:24 +00:00
decorateAnimation . _ _closure = { getReduceMotionFromConfig : closure _12 , recognizePrefixSuffix : closure _9 , isColor : require ( 1625 ) /* call */ . isColor , toLinearSpace : require ( 1625 ) /* call */ . toLinearSpace , convertToRGBA : require ( 1625 ) /* call */ . convertToRGBA , clampRGBA : require ( 1625 ) /* call */ . clampRGBA , rgbaArrayToRGBAColor : require ( 1625 ) /* call */ . rgbaArrayToRGBAColor , toGammaSpace : require ( 1625 ) /* call */ . toGammaSpace , decomposeMatrixIntoMatricesAndAngles : require ( 1624 ) /* isAffineMatrixFlat */ . decomposeMatrixIntoMatricesAndAngles , applyProgressToMatrix : closure _15 , applyProgressToNumber : closure _17 , getRotationMatrix : require ( 1624 ) /* isAffineMatrixFlat */ . getRotationMatrix , multiplyMatrices : require ( 1624 ) /* isAffineMatrixFlat */ . multiplyMatrices , flatten : require ( 1624 ) /* isAffineMatrixFlat */ . flatten , isAffineMatrixFlat : require ( 1624 ) /* isAffineMatrixFlat */ . isAffineMatrixFlat } ;
2026-07-20 16:05:17 +00:00
decorateAnimation . _ _workletHash = 6240615473022 ;
decorateAnimation . _ _initData = closure _18 ;
return decorateAnimation ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
let closure _20 = { code : "function defineAnimation_Pnpm_utilTs9(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,SHOULD_BE_USE_WEB}=this.__closure;if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||SHOULD_BE_USE_WEB){return create();}create.__isAnimationDefinition=true;return create;}" } ;
let closure _21 = { code : "function pnpm_utilTs10(){const{factory,decorateAnimation}=this.__closure;const animation=factory();decorateAnimation(animation);return animation;}" } ;
let closure _22 = { code : "function cancelAnimationNative_Pnpm_utilTs11(sharedValue){const{runOnUI}=this.__closure;if(_WORKLET){sharedValue.value=sharedValue.value;}else{runOnUI(function(){'worklet';sharedValue.value=sharedValue.value;})();}}" } ;
let closure _23 = { code : "function pnpm_utilTs12(){const{sharedValue}=this.__closure;sharedValue.value=sharedValue.value;}" } ;
2026-07-23 10:11:24 +00:00
const tmp7 = ( ( ) => {
export function getReduceMotionForAnimation ( reduceMotion ) {
2026-07-20 16:05:17 +00:00
if ( reduceMotion ) {
2026-07-23 10:11:24 +00:00
return outer1 _12 ( reduceMotion ) ;
2026-07-20 16:05:17 +00:00
}
}
2026-07-23 10:11:24 +00:00
getReduceMotionForAnimation . _ _closure = { getReduceMotionFromConfig : closure _12 } ;
2026-07-20 16:05:17 +00:00
getReduceMotionForAnimation . _ _workletHash = 10866808344662 ;
getReduceMotionForAnimation . _ _initData = closure _13 ;
return getReduceMotionForAnimation ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
let cancelAnimationWeb = ( ( ) => {
2026-07-20 16:05:17 +00:00
function cancelAnimationNative ( value ) {
2026-07-23 10:11:24 +00:00
let closure _0 = value ;
2026-07-20 16:05:17 +00:00
if ( globalThis . _WORKLET ) {
value . value = value . value ;
} else {
2026-07-23 10:11:24 +00:00
let obj = outer1 _0 ( outer1 _1 [ 7 ] ) ;
2026-07-20 16:05:17 +00:00
/* worklet (recovered source) */ function pnpm _utilTs12 ( ) { const { sharedValue } = this . _ _closure ; sharedValue . value = sharedValue . value ; }
obj = { sharedValue : value } ;
pnpm _utilTs12 . _ _closure = obj ;
pnpm _utilTs12 . _ _workletHash = 14261344384038 ;
2026-07-23 10:11:24 +00:00
pnpm _utilTs12 . _ _initData = outer1 _23 ;
2026-07-20 16:05:17 +00:00
obj . runOnUI ( pnpm _utilTs12 ) ( ) ;
}
}
2026-07-23 10:11:24 +00:00
cancelAnimationNative . _ _closure = { runOnUI : require ( 1589 ) /* runWorkletOnJS */ . runOnUI } ;
2026-07-20 16:05:17 +00:00
cancelAnimationNative . _ _workletHash = 796831326214 ;
cancelAnimationNative . _ _initData = closure _22 ;
return cancelAnimationNative ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
if ( isJest ) {
2026-07-20 16:05:17 +00:00
cancelAnimationWeb = function cancelAnimationWeb ( value ) {
value . value = value . value ;
} ;
}
export const initialUpdaterRun = function initialUpdaterRun ( updater ) {
2026-07-23 10:11:24 +00:00
let c3 = true ;
c3 = false ;
2026-07-20 16:05:17 +00:00
return updater ( ) ;
} ;
2026-07-23 10:11:24 +00:00
export const defineAnimation = ( ( ) => {
2026-07-20 16:05:17 +00:00
function defineAnimation ( toValue , pnpm _clampTs2 ) {
2026-07-23 10:11:24 +00:00
let closure _0 = pnpm _clampTs2 ;
if ( outer1 _3 ) {
2026-07-20 16:05:17 +00:00
return toValue ;
} else {
/* worklet (recovered source) */ function pnpm _utilTs10 ( ) { const { factory , decorateAnimation } = this . _ _closure ; const animation = factory ( ) ; decorateAnimation ( animation ) ; return animation ; }
2026-07-23 10:11:24 +00:00
const obj = { factory : pnpm _clampTs2 , decorateAnimation : outer1 _19 } ;
2026-07-20 16:05:17 +00:00
pnpm _utilTs10 . _ _closure = obj ;
pnpm _utilTs10 . _ _workletHash = 9825023081203 ;
2026-07-23 10:11:24 +00:00
pnpm _utilTs10 . _ _initData = outer1 _21 ;
2026-07-20 16:05:17 +00:00
if ( ! globalThis . _WORKLET ) {
2026-07-23 10:11:24 +00:00
if ( ! outer1 _4 ) {
2026-07-20 16:05:17 +00:00
pnpm _utilTs10 . _ _isAnimationDefinition = true ;
let pnpm _utilTs10Result = pnpm _utilTs10 ;
}
return pnpm _utilTs10Result ;
}
pnpm _utilTs10Result = pnpm _utilTs10 ( ) ;
}
}
2026-07-23 10:11:24 +00:00
defineAnimation . _ _closure = { IN _STYLE _UPDATER : c3 , decorateAnimation : closure _19 , SHOULD _BE _USE _WEB : isJest } ;
2026-07-20 16:05:17 +00:00
defineAnimation . _ _workletHash = 8998026617746 ;
defineAnimation . _ _initData = closure _20 ;
return defineAnimation ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
export const cancelAnimation = cancelAnimationWeb ;