ICT30016-Assignment-3/node_modules/.cache/babel-loader/75851c6f059a409f51b9477a326c9fd0ec8be4f2c07135607dbdb40791e03f4a.json
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

1 line
No EOL
1.9 KiB
JSON

{"ast":null,"code":"import { collectMotionValues } from 'motion-dom';\nimport { useCombineMotionValues } from './use-combine-values.mjs';\nfunction useComputed(compute) {\n /**\n * Open session of collectMotionValues. Any MotionValue that calls get()\n * will be saved into this array.\n */\n collectMotionValues.current = [];\n compute();\n const value = useCombineMotionValues(collectMotionValues.current, compute);\n /**\n * Synchronously close session of collectMotionValues.\n */\n collectMotionValues.current = undefined;\n return value;\n}\nexport { useComputed };","map":{"version":3,"names":["collectMotionValues","useCombineMotionValues","useComputed","compute","current","value","undefined"],"sources":["/Users/davidl/Nextcloud/Uni/Swinburne/ICT30016 - ICT Project/Assignment 3/incident-response-game/node_modules/framer-motion/dist/es/value/use-computed.mjs"],"sourcesContent":["import { collectMotionValues } from 'motion-dom';\nimport { useCombineMotionValues } from './use-combine-values.mjs';\n\nfunction useComputed(compute) {\n /**\n * Open session of collectMotionValues. Any MotionValue that calls get()\n * will be saved into this array.\n */\n collectMotionValues.current = [];\n compute();\n const value = useCombineMotionValues(collectMotionValues.current, compute);\n /**\n * Synchronously close session of collectMotionValues.\n */\n collectMotionValues.current = undefined;\n return value;\n}\n\nexport { useComputed };\n"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,YAAY;AAChD,SAASC,sBAAsB,QAAQ,0BAA0B;AAEjE,SAASC,WAAWA,CAACC,OAAO,EAAE;EAC1B;AACJ;AACA;AACA;EACIH,mBAAmB,CAACI,OAAO,GAAG,EAAE;EAChCD,OAAO,CAAC,CAAC;EACT,MAAME,KAAK,GAAGJ,sBAAsB,CAACD,mBAAmB,CAACI,OAAO,EAAED,OAAO,CAAC;EAC1E;AACJ;AACA;EACIH,mBAAmB,CAACI,OAAO,GAAGE,SAAS;EACvC,OAAOD,KAAK;AAChB;AAEA,SAASH,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}