// Module ID: 1732 // Function ID: 19398 // Name: checkSharedValueUsage // Dependencies: [] // Exports: useAnimatedStyle // Module 1732 (checkSharedValueUsage) function checkSharedValueUsage(value) { if (Array.isArray(value)) { for (const item10033 of tmp) { let tmp13 = closure_20; let tmp14 = arg1; let tmp15 = closure_20(item10033, arg1); } } else { if ("object" === typeof iter) { if (null !== iter) { if (undefined === iter.value) { const _Object = Object; const keys = Object.keys(iter); for (const item10023 of keys) { let tmp9 = closure_20; let tmp10 = arg0; let tmp11 = closure_20(iter[item10023], item10023); } } } } if (undefined !== arg1) { if ("object" === typeof iter) { if (null !== iter) { if (undefined !== iter.value) { const ReanimatedError = arg1(dependencyMap[7]).ReanimatedError; const _HermesInternal = HermesInternal; const prototype = ReanimatedError.prototype; const reanimatedError = new ReanimatedError("Invalid value passed to `" + arg1 + "`, maybe you forgot to use `.value`?"); throw reanimatedError; } } } } } } function animatedStyleHandleToJSON() { return "{}"; } let closure_5 = importDefault(dependencyMap[0]); ({ useEffect: closure_6, useRef: closure_7 } = arg1(dependencyMap[1])); const Platform = arg1(dependencyMap[2]).Platform; const tmp2 = arg1(dependencyMap[1]); let closure_8 = arg1(dependencyMap[3]).shouldBeUseWeb(); function prepareAnimation(arg0, arr) { let current = arg2; let iter = arg3; const global = arg0; const dependencyMap = arg2; const prepareAnimation = arg3; if (Array.isArray(arr)) { const item = arr.forEach((arg0, arg1) => { let tmp3 = arg2; if (arg2) { tmp3 = arg2[arg1]; } let tmp5 = arg3; if (arg3) { tmp5 = arg3[arg1]; } arg3(arg0, arg0, tmp3, tmp5); }); } if ("object" === typeof arr) { if (arr.onFrame) { const runAnimations = arr; let current2 = arr.current; if (null == iter) { arr.callStart = (arg0) => { arg1.onStart(arg1, current, arg0, arg2); }; arr.callStart(arg0); arr.callStart = null; } else if ("object" !== typeof iter) { current2 = iter; } if (undefined !== iter.value) { iter = iter.value; current2 = iter; } else if (undefined !== iter.onFrame) { current = undefined; if (null != current) { current = current.current; } if (undefined !== current) { current = current.current; current2 = current; } else { let current1; if (null != iter) { current1 = iter.current; } if (undefined !== current1) { current2 = iter.current; } } } } } if ("object" === typeof arr) { const _Object = Object; const keys = Object.keys(arr); const item1 = keys.forEach((arg0) => { let tmp3 = arg2; if (arg2) { tmp3 = arg2[arg0]; } let tmp5 = arg3; if (arg3) { tmp5 = arg3[arg0]; } arg3(arg0, arg1[arg0], tmp3, tmp5); }); } } prepareAnimation.__closure = {}; prepareAnimation.__workletHash = 14540565048240; prepareAnimation.__initData = { code: "function prepareAnimation_Pnpm_useAnimatedStyleTs1(frameTimestamp,animatedProp,lastAnimation,lastValue){const prepareAnimation_Pnpm_useAnimatedStyleTs1=this._recur;if(Array.isArray(animatedProp)){animatedProp.forEach(function(prop,index){prepareAnimation_Pnpm_useAnimatedStyleTs1(frameTimestamp,prop,lastAnimation&&lastAnimation[index],lastValue&&lastValue[index]);});}if(typeof animatedProp==='object'&&animatedProp.onFrame){const animation=animatedProp;let value=animation.current;if(lastValue!==undefined&&lastValue!==null){if(typeof lastValue==='object'){if(lastValue.value!==undefined){value=lastValue.value;}else if(lastValue.onFrame!==undefined){if((lastAnimation===null||lastAnimation===void 0?void 0:lastAnimation.current)!==undefined){value=lastAnimation.current;}else if((lastValue===null||lastValue===void 0?void 0:lastValue.current)!==undefined){value=lastValue.current;}}}else{value=lastValue;}}animation.callStart=function(timestamp){animation.onStart(animation,value,timestamp,lastAnimation);};animation.callStart(frameTimestamp);animation.callStart=null;}else if(typeof animatedProp==='object'){Object.keys(animatedProp).forEach(function(key){return prepareAnimation_Pnpm_useAnimatedStyleTs1(frameTimestamp,animatedProp[key],lastAnimation&&lastAnimation[key],lastValue&&lastValue[key]);});}}" }; function runAnimations(arr, timestamp, arg2, arg3, value) { const global = arr; const dependencyMap = arg2; const prepareAnimation = arg3; const runAnimations = value; let closure_5 = arg5; if (value.value) { const _Array = Array; if (Array.isArray(arr)) { arg3[arg2] = []; let closure_6 = true; closure_5 = "boxShadow" === arg2; const item = arr.forEach((arg0, arg1) => { if (!arg4(arg0, arg1, arg1, arg3[closure_2], arg4, closure_5)) { let closure_6 = false; } }); return closure_6; } else { if ("object" === typeof arr) { if (arr.onFrame) { let flag5 = true; if (!arr.finished) { if (arr.callStart) { arr.callStart(timestamp); arr.callStart = null; } const onFrameResult = arr.onFrame(arr, timestamp); arr.timestamp = timestamp; flag5 = onFrameResult; if (onFrameResult) { arr.finished = true; flag5 = onFrameResult; if (arr.callback) { arr.callback(true); flag5 = onFrameResult; } } } if (arg5) { const _Object2 = Object; let current = Object.assign({}, arr.current); } else { current = arr.current; } arg3[arg2] = current; return flag5; } } if ("object" === typeof arr) { arg3[arg2] = {}; let closure_7 = true; const _Object = Object; const keys = Object.keys(arr); const item1 = keys.forEach((arg0) => { if (!arg4(arg0[arg0], arg1, arg0, arg3[closure_2], arg4, closure_5)) { let closure_7 = false; } }); return closure_7; } else { arg3[arg2] = arr; return true; } } } else { return true; } } runAnimations.__closure = {}; runAnimations.__workletHash = 2714844766543; runAnimations.__initData = { code: "function runAnimations_Pnpm_useAnimatedStyleTs2(animation,timestamp,key,result,animationsActive,forceCopyAnimation){const runAnimations_Pnpm_useAnimatedStyleTs2=this._recur;if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;forceCopyAnimation=key==='boxShadow';animation.forEach(function(entry,index){if(!runAnimations_Pnpm_useAnimatedStyleTs2(entry,timestamp,index,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else if(typeof animation==='object'&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){animation.finished=true;animation.callback&&animation.callback(true);}}if(forceCopyAnimation){result[key]={...animation.current};}else{result[key]=animation.current;}return finished;}else if(typeof animation==='object'){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations_Pnpm_useAnimatedStyleTs2(animation[k],timestamp,k,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}" }; let closure_11 = { code: "function styleUpdater_Pnpm_useAnimatedStyleTs3(viewDescriptors,updater,state,animationsActive,isAnimatedProps=false,forceUpdate){const{SHOULD_BE_USE_WEB,processBoxShadow,isAnimated,prepareAnimation,runAnimations,updateProps,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;const nonAnimatedNewValues={};let hasAnimations=false;let frameTimestamp;let hasNonAnimatedValues=false;if(!SHOULD_BE_USE_WEB&&newValues.boxShadow){processBoxShadow(newValues);}for(const key in newValues){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{hasNonAnimatedValues=true;nonAnimatedNewValues[key]=value;delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){if(Array.isArray(updates[propName])){updates[propName].forEach(function(obj){for(const prop in obj){if(!last[propName]||typeof last[propName]!=='object'){last[propName]={};}last[propName][prop]=obj[prop];}});}else{last[propName]=updates[propName];}delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}if(hasNonAnimatedValues){updateProps(viewDescriptors,nonAnimatedNewValues);}}else{state.isAnimationCancelled=true;state.animations=[];if(!shallowEqual(oldValues,newValues)||forceUpdate){updateProps(viewDescriptors,newValues,isAnimatedProps);}}state.last=newValues;}" }; let closure_12 = () => { function styleUpdater(self, arg1, animations) { let tmp8; if (arguments.length > 5) { const tmp3 = arguments[5]; } animations = animations.animations; if (null == animations) { animations = {}; } let obj = arg1(); if (null == obj) { obj = {}; } const last = animations.last; obj = {}; if (tmp4) { animations(arg3[4]).processBoxShadow(obj); const obj4 = animations(arg3[4]); } let flag = false; let flag2 = false; let flag3 = false; let flag4 = false; const keys = Object.keys(); if (keys !== undefined) { flag3 = flag; flag4 = flag2; while (keys[tmp] !== undefined) { let tmp29 = tmp12; let tmp30 = obj[tmp12]; let tmp31 = animations; let tmp32 = arg3; let obj8 = animations(arg3[5]); if (obj8.isAnimated(tmp30)) { let tmp13 = self; let __frameTimestamp = self.__frameTimestamp; if (!__frameTimestamp) { let tmp14 = self; __frameTimestamp = self._getAnimationTimestamp(); } let tmp15 = callback; let tmp16 = __frameTimestamp; let tmp17 = tmp30; let tmp18 = callback(__frameTimestamp, tmp30, animations[tmp12], last[tmp12]); animations[tmp12] = tmp30; tmp8 = __frameTimestamp; flag = true; // continue } else { obj[tmp12] = tmp30; delete r11[r28]; flag2 = true; // continue } continue; } const tmp9 = tmp8; } if (flag3) { function frame(arg0) { const animations = arg2.animations; const arg2 = animations; const arg3 = arg2.last; if (arg2.isAnimationCancelled) { arg2.isAnimationRunning = false; } else { const obj = {}; const frame = obj; let closure_4 = true; for (const key10011 in animations) { let tmp13 = key10011; let tmpResult = tmp(key10011); } arg2(arg3[6]).updateProps(arg0, obj); if (closure_4) { arg2.isAnimationRunning = false; } else { const _requestAnimationFrame = requestAnimationFrame; const animationFrame = requestAnimationFrame(frame); } const obj2 = arg2(arg3[6]); } } animations.animations = animations; if (!animations.isAnimationRunning) { animations.isAnimationCancelled = false; animations.isAnimationRunning = true; frame(tmp9); } if (flag4) { animations(arg3[6]).updateProps(self, obj); const obj7 = animations(arg3[6]); } } else { animations.isAnimationCancelled = true; animations.animations = []; const obj5 = animations(arg3[5]); if (!tmp21) { animations(arg3[6]).updateProps(self, obj, tmp2); const obj6 = animations(arg3[6]); } const tmp21 = animations(arg3[5]).shallowEqual(last, obj) && !tmp3; } animations.last = obj; } styleUpdater.__closure = { SHOULD_BE_USE_WEB: closure_8, processBoxShadow: arg1(dependencyMap[4]).processBoxShadow, isAnimated: arg1(dependencyMap[5]).isAnimated, prepareAnimation, runAnimations, updateProps: arg1(dependencyMap[6]).updateProps, shallowEqual: arg1(dependencyMap[5]).shallowEqual }; styleUpdater.__workletHash = 3108907120254; styleUpdater.__initData = closure_11; return styleUpdater; }(); let closure_13 = { code: "function jestStyleUpdater_Pnpm_useAnimatedStyleTs4(viewDescriptors,updater,state,animationsActive,animatedValues,adapters,forceUpdate){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;let frameTimestamp;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,animatedValues,adapters);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}}else{state.isAnimationCancelled=true;state.animations=[];}state.last=newValues;if(!shallowEqual(oldValues,newValues)||forceUpdate){updatePropsJestWrapper(viewDescriptors,newValues,animatedValues,adapters);}}" }; let closure_14 = () => { function jestStyleUpdater(closure_5, arg1, animations, arg3, current, closure_4) { animations = animations.animations; if (null == animations) { animations = {}; } let obj = arg1(); if (null == obj) { obj = {}; } const last = animations.last; let closure_9 = false; const keys = Object.keys(animations); const item = keys.forEach((arg0) => { const obj = arg2(arg3[5]); if (!obj.isAnimated(obj[arg0])) { delete r1[r2]; } }); const keys1 = Object.keys(obj); const item1 = keys1.forEach((self) => { const obj = arg2(arg3[5]); if (obj.isAnimated(obj[self])) { let __frameTimestamp = self.__frameTimestamp; if (!__frameTimestamp) { __frameTimestamp = self._getAnimationTimestamp(); } callback(__frameTimestamp, tmp, animations[self], last[self]); animations[self] = tmp; const callback = true; } }); if (closure_9) { animations.animations = animations; if (!animations.isAnimationRunning) { animations.isAnimationCancelled = false; animations.isAnimationRunning = true; function frame(closure_5) { const animations = arg2.animations; const arg2 = animations; const arg3 = arg2.last; if (arg2.isAnimationCancelled) { arg2.isAnimationRunning = false; } else { const obj = {}; const arg4 = obj; let closure_4 = true; const _Object = Object; const keys = Object.keys(animations); const item = keys.forEach((arg0) => { if (callback(animations[arg0], arg0, arg0, obj, last)) { last[arg0] = obj[arg0]; delete r1[r2]; } else { let closure_4 = false; } }); const _Object2 = Object; if (Object.keys(obj).length) { const obj2 = arg2(arg3[6]); const result = obj2.updatePropsJestWrapper(closure_5, obj, arg4, closure_4); } if (closure_4) { arg2.isAnimationRunning = false; } else { const _requestAnimationFrame = requestAnimationFrame; const animationFrame = requestAnimationFrame(frame); } } } frame(closure_5); } } else { animations.isAnimationCancelled = true; animations.animations = []; } animations.last = obj; let shallowEqualResult = animations(arg3[5]).shallowEqual(last, obj); if (shallowEqualResult) { shallowEqualResult = !arg6; } if (!shallowEqualResult) { const obj4 = animations(arg3[6]); const result = obj4.updatePropsJestWrapper(closure_5, obj, current, closure_4); } } jestStyleUpdater.__closure = { isAnimated: arg1(dependencyMap[5]).isAnimated, prepareAnimation, runAnimations, updatePropsJestWrapper: arg1(dependencyMap[6]).updatePropsJestWrapper, shallowEqual: arg1(dependencyMap[5]).shallowEqual }; jestStyleUpdater.__workletHash = 12729247822121; jestStyleUpdater.__initData = closure_13; return jestStyleUpdater; }(); let closure_15 = { code: "function pnpm_useAnimatedStyleTs5(){const{updater,adaptersArray}=this.__closure;const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}" }; let closure_16 = { code: "function pnpm_useAnimatedStyleTs6(forceUpdate){const{jestStyleUpdater,shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray}=this.__closure;jestStyleUpdater(shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray,forceUpdate);}" }; let closure_17 = { code: "function pnpm_useAnimatedStyleTs7(forceUpdate){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps,forceUpdate);}" }; let closure_18 = { code: "function pnpm_useAnimatedStyleTs8(){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps);remoteState.isFirstRun=false;}" }; let closure_19 = { code: "function pnpm_useAnimatedStyleTs9(){const{remoteState}=this.__closure;return remoteState.isFirstRun=true;}" }; export const useAnimatedStyle = function useAnimatedStyle(fn, items, arg2, arg3) { let initial; let viewDescriptors; const global = fn; items = arg2; let closure_2 = arguments.length > 3 && undefined !== arguments[3] && arguments[3]; const tmp = tmp7(null); let prepareAnimation = tmp; let __closure = fn.__closure; if (null == __closure) { __closure = {}; } let values = Object.values(__closure); let runAnimations = values; let length = closure_8; if (closure_8) { length = !values.length; } if (length) { length = null != items; let arr1 = items; } if (length) { length = arr1.length; } if (length) { runAnimations = items; values = items; } if (arg2) { const _Array = Array; let tmp2 = arg2; if (!Array.isArray(arg2)) { items = [arg2]; tmp2 = items; } let items1 = tmp2; } else { items1 = []; } const callback = items1; let workletsHash = null; if (arg2) { let obj1 = items(closure_2[5]); workletsHash = obj1.buildWorkletsHash(items1); } let obj2 = items(closure_2[8]); const sharedValue = obj2.useSharedValue(true); const tmp7 = tmp7({}); if (items) { items.push(fn.__workletHash); let combined = items; } else { const items2 = []; const items3 = [fn.__workletHash]; combined = items2.concat(callback(values), items3); } if (workletsHash) { combined.push(workletsHash); } if (!tmp.current) { let obj3 = items(closure_2[9]); const initialUpdaterRunResult = obj3.initialUpdaterRun(fn); let obj = {}; obj = { value: initialUpdaterRunResult, updater: fn }; obj.initial = obj; obj1 = { last: initialUpdaterRunResult, animations: {} }; obj.remoteState = items(closure_2[10]).makeShareable(obj1); const obj7 = items(closure_2[10]); obj.viewDescriptors = items(closure_2[11]).makeViewDescriptorsSet(); obj2 = { current: undefined }; obj.styleUpdaterContainer = obj2; tmp.current = obj; const obj9 = items(closure_2[11]); } ({ initial, remoteState: closure_8, viewDescriptors } = tmp.current); const shareableViewDescriptors = viewDescriptors.shareableViewDescriptors; prepareAnimation = shareableViewDescriptors; arr1 = combined.push(shareableViewDescriptors); sharedValue(() => { let tmp = arg0; if (callback) { /* worklet (recovered source) */ function pnpm_useAnimatedStyleTs5(){const{updater,adaptersArray}=this.__closure;const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;} let obj = { updater: arg0, adaptersArray: items1 }; pnpm_useAnimatedStyleTs5.__closure = obj; pnpm_useAnimatedStyleTs5.__workletHash = 2827602676287; pnpm_useAnimatedStyleTs5.__initData = closure_15; const arg0 = pnpm_useAnimatedStyleTs5; tmp = pnpm_useAnimatedStyleTs5; } if (obj2.isJest()) { /* worklet (recovered source) */ function pnpm_useAnimatedStyleTs6(forceUpdate){const{jestStyleUpdater,shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray}=this.__closure;jestStyleUpdater(shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray,forceUpdate);} obj = { jestStyleUpdater: closure_14, shareableViewDescriptors, updater: arg0, remoteState: isFirstRun, areAnimationsActive: sharedValue, jestAnimatedValues: tmp7, adaptersArray: items1 }; pnpm_useAnimatedStyleTs6.__closure = obj; pnpm_useAnimatedStyleTs6.__workletHash = 11745429083106; pnpm_useAnimatedStyleTs6.__initData = closure_16; let tmp13 = pnpm_useAnimatedStyleTs6; } else { /* worklet (recovered source) */ function pnpm_useAnimatedStyleTs7(forceUpdate){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps,forceUpdate);} obj = { styleUpdater: closure_12, shareableViewDescriptors, updaterFn: tmp, remoteState: isFirstRun, areAnimationsActive: sharedValue, isAnimatedProps: closure_2 }; pnpm_useAnimatedStyleTs7.__closure = obj; pnpm_useAnimatedStyleTs7.__workletHash = 6831194621571; pnpm_useAnimatedStyleTs7.__initData = closure_17; const _globalThis = globalThis; let isFirstRun = !globalThis._IS_FABRIC; if (isFirstRun) { isFirstRun = isFirstRun.isFirstRun; } tmp13 = pnpm_useAnimatedStyleTs7; if (isFirstRun) { const _requestAnimationFrame = requestAnimationFrame; const animationFrame = requestAnimationFrame(() => { let obj = callback(closure_2[10]); /* worklet (recovered source) */ function pnpm_useAnimatedStyleTs8(){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps);remoteState.isFirstRun=false;} obj = { styleUpdater: closure_12, shareableViewDescriptors: closure_9, updaterFn: pnpm_useAnimatedStyleTs5, remoteState: closure_8, areAnimationsActive: closure_6, isAnimatedProps: closure_2 }; pnpm_useAnimatedStyleTs8.__closure = obj; pnpm_useAnimatedStyleTs8.__workletHash = 11622360674991; pnpm_useAnimatedStyleTs8.__initData = closure_18; obj.runOnUI(pnpm_useAnimatedStyleTs8)(); }); tmp13 = pnpm_useAnimatedStyleTs7; } } if (tmp.current) { tmp.current.styleUpdaterContainer.current = tmp13; } const obj2 = callback(closure_2[3]); const callback = callback(closure_2[10]).startMapper(tmp13, arg1); return () => { let obj = callback(closure_2[10]); obj.stopMapper(callback); if (!globalThis._IS_FABRIC) { /* worklet (recovered source) */ function pnpm_useAnimatedStyleTs9(){const{remoteState}=this.__closure;return remoteState.isFirstRun=true;} obj = { remoteState: closure_8 }; pnpm_useAnimatedStyleTs9.__closure = obj; pnpm_useAnimatedStyleTs9.__workletHash = 6168210089002; pnpm_useAnimatedStyleTs9.__initData = closure_19; callback(closure_2[10]).runOnUI(pnpm_useAnimatedStyleTs9)(); const obj2 = callback(closure_2[10]); } }; }, combined); const items4 = [sharedValue]; sharedValue(() => { sharedValue.value = true; return () => { closure_6.value = false; }; }, items4); checkSharedValueUsage(initial.value); const tmp18 = tmp7(null); if (tmp18.current) { return tmp18.current; } else { const styleUpdaterContainer = tmp.current.styleUpdaterContainer; if (obj11.isJest()) { obj3 = { viewDescriptors, initial, jestAnimatedValues: tmp7, toJSON: animatedStyleHandleToJSON, styleUpdaterContainer }; let obj4 = obj3; } else { obj4 = { viewDescriptors, initial, styleUpdaterContainer }; } tmp18.current = obj4; const obj11 = items(closure_2[3]); } };