2026-08-15 05:55:55 +00:00
|
|
|
// Module ID: 1806
|
|
|
|
|
// Function ID: 1807
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useSharedValue
|
2026-08-15 05:55:55 +00:00
|
|
|
// Dependencies: [32, 19, 1698, 1726]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useSharedValue
|
|
|
|
|
|
2026-08-15 05:55:55 +00:00
|
|
|
// Module 1806 (useSharedValue)
|
2026-08-24 06:08:38 +00:00
|
|
|
import closure_2 from "_slicedToArray" /* 32 */;
|
|
|
|
|
import noop from "noop" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
({ useEffect: c3, useState: c4 } = noop);
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useSharedValue = function useSharedValue(UNDETERMINED) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = UNDETERMINED;
|
2026-07-23 10:11:24 +00:00
|
|
|
const first = callback(callback3(() => UNDETERMINED(first[2]).makeMutable(UNDETERMINED)), 1)[0];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [first];
|
|
|
|
|
callback2(() => () => {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_1_0(closure_1_1[3]).cancelAnimation(closure_1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items);
|
|
|
|
|
return first;
|
|
|
|
|
};
|