@splinetool/runtime 2.0.100 → 2.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{runtime-aiAssistant-NNF3F5QO.js → runtime-aiAssistant-JYKXMMRS.js} +1 -1
- package/build/runtime-aiAssistant-JYKXMMRS.js.br +0 -0
- package/build/runtime-aiAssistant-JYKXMMRS.js.gz +0 -0
- package/build/runtime-apiServices-II44FZUJ.js +1 -0
- package/build/runtime-apiServices-II44FZUJ.js.br +0 -0
- package/build/runtime-apiServices-II44FZUJ.js.gz +0 -0
- package/build/{runtime-audio-IMCJS7SZ.js → runtime-audio-PFLKMACM.js} +1 -1
- package/build/runtime-audio-PFLKMACM.js.br +0 -0
- package/build/runtime-audio-PFLKMACM.js.gz +0 -0
- package/build/{runtime-bloom-VCH5SRT5.js → runtime-bloom-BOI6KO5B.js} +1 -1
- package/build/runtime-bloom-BOI6KO5B.js.br +0 -0
- package/build/runtime-bloom-BOI6KO5B.js.gz +0 -0
- package/build/{runtime-brightnessContrast-PZEQNQ5Z.js → runtime-brightnessContrast-6ZMNRJAO.js} +1 -1
- package/build/runtime-brightnessContrast-6ZMNRJAO.js.br +0 -0
- package/build/runtime-brightnessContrast-6ZMNRJAO.js.gz +0 -0
- package/build/{runtime-chromaticAberration-YZD2JW5K.js → runtime-chromaticAberration-72CZWXTD.js} +1 -1
- package/build/runtime-chromaticAberration-72CZWXTD.js.br +0 -0
- package/build/runtime-chromaticAberration-72CZWXTD.js.gz +0 -0
- package/build/{runtime-chunk-CU43M6LS.js → runtime-chunk-357LYO3J.js} +1 -1
- package/build/runtime-chunk-357LYO3J.js.br +0 -0
- package/build/runtime-chunk-357LYO3J.js.gz +0 -0
- package/build/{runtime-chunk-LC7UDVJH.js → runtime-chunk-3F3Y2G5B.js} +1 -1
- package/build/runtime-chunk-3F3Y2G5B.js.br +0 -0
- package/build/runtime-chunk-3F3Y2G5B.js.gz +0 -0
- package/build/{runtime-chunk-FKNVV4NA.js → runtime-chunk-52FUITQN.js} +1 -1
- package/build/runtime-chunk-52FUITQN.js.br +0 -0
- package/build/runtime-chunk-52FUITQN.js.gz +0 -0
- package/build/{runtime-chunk-TJAIGKEZ.js → runtime-chunk-5CXAJPAF.js} +1 -1
- package/build/runtime-chunk-5CXAJPAF.js.br +0 -0
- package/build/runtime-chunk-5CXAJPAF.js.gz +0 -0
- package/build/{runtime-chunk-QECK2FYM.js → runtime-chunk-5VCUVBXQ.js} +1 -1
- package/build/runtime-chunk-5VCUVBXQ.js.br +1 -0
- package/build/runtime-chunk-5VCUVBXQ.js.gz +0 -0
- package/build/{runtime-chunk-WDJMWXET.js → runtime-chunk-6GYTYA7C.js} +1 -1
- package/build/runtime-chunk-6GYTYA7C.js.br +0 -0
- package/build/runtime-chunk-6GYTYA7C.js.gz +0 -0
- package/build/{runtime-chunk-ZIN4ONCD.js → runtime-chunk-7MEZ2KDU.js} +1 -1
- package/build/runtime-chunk-7MEZ2KDU.js.br +0 -0
- package/build/runtime-chunk-7MEZ2KDU.js.gz +0 -0
- package/build/{runtime-chunk-UGWBMORK.js → runtime-chunk-AORANPJP.js} +1 -1
- package/build/runtime-chunk-AORANPJP.js.br +0 -0
- package/build/runtime-chunk-AORANPJP.js.gz +0 -0
- package/build/{runtime-chunk-FV3VSEFO.js → runtime-chunk-AWUFMMKH.js} +1 -1
- package/build/runtime-chunk-AWUFMMKH.js.br +0 -0
- package/build/runtime-chunk-AWUFMMKH.js.gz +0 -0
- package/build/{runtime-chunk-2RB6BCNY.js → runtime-chunk-B3ARQO3Z.js} +1 -1
- package/build/{runtime-chunk-2RB6BCNY.js.br → runtime-chunk-B3ARQO3Z.js.br} +0 -0
- package/build/runtime-chunk-B3ARQO3Z.js.gz +0 -0
- package/build/{runtime-chunk-RP33OQ3Q.js → runtime-chunk-BEWSX4P6.js} +1 -1
- package/build/runtime-chunk-BEWSX4P6.js.br +0 -0
- package/build/runtime-chunk-BEWSX4P6.js.gz +0 -0
- package/build/{runtime-chunk-HRBADWL4.js → runtime-chunk-D7JBGVG7.js} +1 -1
- package/build/runtime-chunk-D7JBGVG7.js.br +0 -0
- package/build/runtime-chunk-D7JBGVG7.js.gz +0 -0
- package/build/{runtime-chunk-JBKSICRA.js → runtime-chunk-EYCGSFF7.js} +1 -1
- package/build/runtime-chunk-EYCGSFF7.js.br +0 -0
- package/build/runtime-chunk-EYCGSFF7.js.gz +0 -0
- package/build/{runtime-chunk-BKPSDPTT.js → runtime-chunk-GPEQDP4A.js} +1 -1
- package/build/runtime-chunk-GPEQDP4A.js.br +0 -0
- package/build/runtime-chunk-GPEQDP4A.js.gz +0 -0
- package/build/runtime-chunk-HKN5JQH2.js +1 -0
- package/build/runtime-chunk-HKN5JQH2.js.br +0 -0
- package/build/runtime-chunk-HKN5JQH2.js.gz +0 -0
- package/build/{runtime-chunk-T2AWRXSG.js → runtime-chunk-HUSJ7KZG.js} +1 -1
- package/build/runtime-chunk-HUSJ7KZG.js.br +0 -0
- package/build/runtime-chunk-HUSJ7KZG.js.gz +0 -0
- package/build/{runtime-chunk-O4OBJK5I.js → runtime-chunk-IADZBF4C.js} +1 -1
- package/build/runtime-chunk-IADZBF4C.js.br +0 -0
- package/build/runtime-chunk-IADZBF4C.js.gz +0 -0
- package/build/{runtime-chunk-BZA65IGR.js → runtime-chunk-IIR3Y2PX.js} +1 -1
- package/build/runtime-chunk-IIR3Y2PX.js.br +0 -0
- package/build/runtime-chunk-IIR3Y2PX.js.gz +0 -0
- package/build/{runtime-chunk-PFXTH6TY.js → runtime-chunk-JBRM62V6.js} +1 -1
- package/build/runtime-chunk-JBRM62V6.js.br +0 -0
- package/build/runtime-chunk-JBRM62V6.js.gz +0 -0
- package/build/{runtime-chunk-6TUFQBZH.js → runtime-chunk-MIPG36RU.js} +1 -1
- package/build/runtime-chunk-MIPG36RU.js.br +0 -0
- package/build/runtime-chunk-MIPG36RU.js.gz +0 -0
- package/build/{runtime-chunk-H3ODKGZ7.js → runtime-chunk-NY4SLVL4.js} +1 -1
- package/build/runtime-chunk-NY4SLVL4.js.br +0 -0
- package/build/runtime-chunk-NY4SLVL4.js.gz +0 -0
- package/build/{runtime-chunk-FDGOBWSB.js → runtime-chunk-OBB4M3GU.js} +1 -1
- package/build/runtime-chunk-OBB4M3GU.js.br +0 -0
- package/build/runtime-chunk-OBB4M3GU.js.gz +0 -0
- package/build/{runtime-chunk-IMGHBST4.js → runtime-chunk-OSFWHAMN.js} +1 -1
- package/build/runtime-chunk-OSFWHAMN.js.br +0 -0
- package/build/runtime-chunk-OSFWHAMN.js.gz +0 -0
- package/build/{runtime-chunk-P7Y5SVAD.js → runtime-chunk-PYMHVL3C.js} +1 -1
- package/build/runtime-chunk-PYMHVL3C.js.br +0 -0
- package/build/runtime-chunk-PYMHVL3C.js.gz +0 -0
- package/build/{runtime-chunk-HMTKLH23.js → runtime-chunk-Q7BYLYP7.js} +1 -1
- package/build/runtime-chunk-Q7BYLYP7.js.br +0 -0
- package/build/runtime-chunk-Q7BYLYP7.js.gz +0 -0
- package/build/{runtime-chunk-ZDRYEV47.js → runtime-chunk-SXHQLHLW.js} +1 -1
- package/build/{runtime-chunk-ZDRYEV47.js.br → runtime-chunk-SXHQLHLW.js.br} +0 -0
- package/build/runtime-chunk-SXHQLHLW.js.gz +0 -0
- package/build/{runtime-chunk-EZH4IYYZ.js → runtime-chunk-VA6WKZXP.js} +1 -1
- package/build/runtime-chunk-VA6WKZXP.js.br +0 -0
- package/build/runtime-chunk-VA6WKZXP.js.gz +0 -0
- package/build/{runtime-chunk-WEFQPU5Y.js → runtime-chunk-WK3XJ2YB.js} +1 -1
- package/build/runtime-chunk-WK3XJ2YB.js.br +0 -0
- package/build/runtime-chunk-WK3XJ2YB.js.gz +0 -0
- package/build/{runtime-chunk-YXRS6NK6.js → runtime-chunk-YDR7MZGF.js} +1 -1
- package/build/runtime-chunk-YDR7MZGF.js.br +0 -0
- package/build/runtime-chunk-YDR7MZGF.js.gz +0 -0
- package/build/{runtime-chunk-UDL7HKDF.js → runtime-chunk-YH7N5LRF.js} +1 -1
- package/build/{runtime-chunk-UDL7HKDF.js.br → runtime-chunk-YH7N5LRF.js.br} +0 -0
- package/build/{runtime-chunk-UDL7HKDF.js.gz → runtime-chunk-YH7N5LRF.js.gz} +0 -0
- package/build/{runtime-chunk-MDTSQB7K.js → runtime-chunk-YPL52E4O.js} +1 -1
- package/build/runtime-chunk-YPL52E4O.js.br +0 -0
- package/build/runtime-chunk-YPL52E4O.js.gz +0 -0
- package/build/{runtime-classicRuntime-DXJ5K67W.js → runtime-classicRuntime-IYA2AK5E.js} +1 -1
- package/build/runtime-classicRuntime-IYA2AK5E.js.br +0 -0
- package/build/runtime-classicRuntime-IYA2AK5E.js.gz +0 -0
- package/build/runtime-cloners-IP4B45UK.js +1 -0
- package/build/runtime-cloners-IP4B45UK.js.br +3 -0
- package/build/runtime-cloners-IP4B45UK.js.gz +0 -0
- package/build/{runtime-components-WCLKNFM6.js → runtime-components-BF3GMZ52.js} +1 -1
- package/build/runtime-components-BF3GMZ52.js.br +0 -0
- package/build/runtime-components-BF3GMZ52.js.gz +0 -0
- package/build/{runtime-conditional-DE4PFQQI.js → runtime-conditional-V4O43AFY.js} +1 -1
- package/build/runtime-conditional-V4O43AFY.js.br +0 -0
- package/build/runtime-conditional-V4O43AFY.js.gz +0 -0
- package/build/{runtime-createDestroy-NO5S2UJ6.js → runtime-createDestroy-BIQXIAYO.js} +1 -1
- package/build/runtime-createDestroy-BIQXIAYO.js.br +0 -0
- package/build/runtime-createDestroy-BIQXIAYO.js.gz +0 -0
- package/build/{runtime-depthOfField-PA6D7OCI.js → runtime-depthOfField-PSOUFSGP.js} +1 -1
- package/build/runtime-depthOfField-PSOUFSGP.js.br +0 -0
- package/build/runtime-depthOfField-PSOUFSGP.js.gz +0 -0
- package/build/{runtime-dragDrop-MVI3BZQL.js → runtime-dragDrop-WYJRT22Q.js} +1 -1
- package/build/runtime-dragDrop-WYJRT22Q.js.br +0 -0
- package/build/runtime-dragDrop-WYJRT22Q.js.gz +0 -0
- package/build/{runtime-gameControls-RISCD3WD.js → runtime-gameControls-YYSSAWFT.js} +1 -1
- package/build/runtime-gameControls-YYSSAWFT.js.br +0 -0
- package/build/runtime-gameControls-YYSSAWFT.js.gz +0 -0
- package/build/runtime-hair-KEXD7S64.js +1 -0
- package/build/runtime-hair-KEXD7S64.js.br +1 -0
- package/build/runtime-hair-KEXD7S64.js.gz +0 -0
- package/build/{runtime-hueSaturation-A7G7LUZE.js → runtime-hueSaturation-G2JT6P4G.js} +1 -1
- package/build/runtime-hueSaturation-G2JT6P4G.js.br +0 -0
- package/build/runtime-hueSaturation-G2JT6P4G.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-BVHH6C56.js → runtime-mergeStaticGeometries-RDDTTVN2.js} +1 -1
- package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.gz +0 -0
- package/build/{runtime-miscActions-F2J4NZWQ.js → runtime-miscActions-SQEVCHD6.js} +1 -1
- package/build/runtime-miscActions-SQEVCHD6.js.br +0 -0
- package/build/runtime-miscActions-SQEVCHD6.js.gz +0 -0
- package/build/{runtime-mouseHover-S2P5MAF4.js → runtime-mouseHover-PVE2QUFI.js} +1 -1
- package/build/runtime-mouseHover-PVE2QUFI.js.br +0 -0
- package/build/runtime-mouseHover-PVE2QUFI.js.gz +0 -0
- package/build/{runtime-noise-FEUBLAJ4.js → runtime-noise-UZ5EXJW7.js} +1 -1
- package/build/runtime-noise-UZ5EXJW7.js.br +0 -0
- package/build/runtime-noise-UZ5EXJW7.js.gz +0 -0
- package/build/{runtime-particles-BVJSBBTP.js → runtime-particles-QMKT2E2M.js} +1 -1
- package/build/runtime-particles-QMKT2E2M.js.br +0 -0
- package/build/runtime-particles-QMKT2E2M.js.gz +0 -0
- package/build/{runtime-paths-FDJQOXAK.js → runtime-paths-G2QXI7II.js} +1 -1
- package/build/runtime-paths-G2QXI7II.js.br +0 -0
- package/build/runtime-paths-G2QXI7II.js.gz +0 -0
- package/build/{runtime-pixelation-WU37JYHQ.js → runtime-pixelation-REH3LYGQ.js} +1 -1
- package/build/runtime-pixelation-REH3LYGQ.js.br +0 -0
- package/build/runtime-pixelation-REH3LYGQ.js.gz +0 -0
- package/build/{runtime-resize-DFMUPXOS.js → runtime-resize-U6VSAW63.js} +1 -1
- package/build/runtime-resize-U6VSAW63.js.br +0 -0
- package/build/runtime-resize-U6VSAW63.js.gz +0 -0
- package/build/{runtime-sceneTransition-XE2ZPNKU.js → runtime-sceneTransition-IFTVI4XL.js} +1 -1
- package/build/runtime-sceneTransition-IFTVI4XL.js.br +0 -0
- package/build/runtime-sceneTransition-IFTVI4XL.js.gz +0 -0
- package/build/{runtime-scroll-K5PKDKHK.js → runtime-scroll-4TIXCG7C.js} +1 -1
- package/build/runtime-scroll-4TIXCG7C.js.br +0 -0
- package/build/runtime-scroll-4TIXCG7C.js.gz +0 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js +1 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js.br +0 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js.gz +0 -0
- package/build/{runtime-text-QU34VTXS.js → runtime-text-3GGOC64X.js} +1 -1
- package/build/runtime-text-3GGOC64X.js.br +0 -0
- package/build/runtime-text-3GGOC64X.js.gz +0 -0
- package/build/{runtime-textInputs-ISU65BOG.js → runtime-textInputs-LKHFZZIA.js} +1 -1
- package/build/runtime-textInputs-LKHFZZIA.js.br +0 -0
- package/build/runtime-textInputs-LKHFZZIA.js.gz +0 -0
- package/build/runtime-timeline-SICDYTVP.js +1 -0
- package/build/runtime-timeline-SICDYTVP.js.br +0 -0
- package/build/runtime-timeline-SICDYTVP.js.gz +0 -0
- package/build/{runtime-tracking-K6DYSX5I.js → runtime-tracking-AZFZEWAF.js} +1 -1
- package/build/runtime-tracking-AZFZEWAF.js.br +0 -0
- package/build/runtime-tracking-AZFZEWAF.js.gz +0 -0
- package/build/runtime-transitions-S6E7WME3.js +1 -0
- package/build/runtime-transitions-S6E7WME3.js.br +0 -0
- package/build/runtime-transitions-S6E7WME3.js.gz +0 -0
- package/build/{runtime-ui2d-7SBYT26Z.js → runtime-ui2d-IU6BMLCA.js} +1 -1
- package/build/runtime-ui2d-IU6BMLCA.js.br +0 -0
- package/build/runtime-ui2d-IU6BMLCA.js.gz +0 -0
- package/build/runtime-updater-QAQQJKLZ.js +1 -0
- package/build/runtime-updater-QAQQJKLZ.js.br +2 -0
- package/build/runtime-updater-QAQQJKLZ.js.gz +0 -0
- package/build/{runtime-variables-AFZY4GV6.js → runtime-variables-I5YZMLEW.js} +1 -1
- package/build/runtime-variables-I5YZMLEW.js.br +0 -0
- package/build/runtime-variables-I5YZMLEW.js.gz +0 -0
- package/build/{runtime-vectorShapes-EB4FJHMS.js → runtime-vectorShapes-ZGLU5TLJ.js} +1 -1
- package/build/runtime-vectorShapes-ZGLU5TLJ.js.br +0 -0
- package/build/runtime-vectorShapes-ZGLU5TLJ.js.gz +0 -0
- package/build/{runtime-video-DDOVIOHX.js → runtime-video-VSGOH3JE.js} +1 -1
- package/build/runtime-video-VSGOH3JE.js.br +0 -0
- package/build/runtime-video-VSGOH3JE.js.gz +0 -0
- package/build/{runtime-vignette-LFUH4AFD.js → runtime-vignette-HK6KS66E.js} +1 -1
- package/build/runtime-vignette-HK6KS66E.js.br +0 -0
- package/build/runtime-vignette-HK6KS66E.js.gz +0 -0
- package/build/{runtime-webgpu-JSSMWFXX.js → runtime-webgpu-YDFMWVCK.js} +1 -1
- package/build/runtime-webgpu-YDFMWVCK.js.br +0 -0
- package/build/runtime-webgpu-YDFMWVCK.js.gz +0 -0
- package/build/runtime.cjs +392 -392
- package/build/runtime.js +1 -1
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -1
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -1
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -1
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -1
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -1
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/package.json +1 -1
- package/build/runtime-aiAssistant-NNF3F5QO.js.br +0 -0
- package/build/runtime-aiAssistant-NNF3F5QO.js.gz +0 -0
- package/build/runtime-apiServices-GGJ4D4DP.js +0 -1
- package/build/runtime-apiServices-GGJ4D4DP.js.br +0 -0
- package/build/runtime-apiServices-GGJ4D4DP.js.gz +0 -0
- package/build/runtime-audio-IMCJS7SZ.js.br +0 -0
- package/build/runtime-audio-IMCJS7SZ.js.gz +0 -0
- package/build/runtime-bloom-VCH5SRT5.js.br +0 -0
- package/build/runtime-bloom-VCH5SRT5.js.gz +0 -0
- package/build/runtime-brightnessContrast-PZEQNQ5Z.js.br +0 -0
- package/build/runtime-brightnessContrast-PZEQNQ5Z.js.gz +0 -0
- package/build/runtime-chromaticAberration-YZD2JW5K.js.br +0 -0
- package/build/runtime-chromaticAberration-YZD2JW5K.js.gz +0 -0
- package/build/runtime-chunk-2RB6BCNY.js.gz +0 -0
- package/build/runtime-chunk-6TUFQBZH.js.br +0 -0
- package/build/runtime-chunk-6TUFQBZH.js.gz +0 -0
- package/build/runtime-chunk-BKPSDPTT.js.br +0 -0
- package/build/runtime-chunk-BKPSDPTT.js.gz +0 -0
- package/build/runtime-chunk-BZA65IGR.js.br +0 -0
- package/build/runtime-chunk-BZA65IGR.js.gz +0 -0
- package/build/runtime-chunk-CU43M6LS.js.br +0 -0
- package/build/runtime-chunk-CU43M6LS.js.gz +0 -0
- package/build/runtime-chunk-EZH4IYYZ.js.br +0 -0
- package/build/runtime-chunk-EZH4IYYZ.js.gz +0 -0
- package/build/runtime-chunk-FDGOBWSB.js.br +0 -0
- package/build/runtime-chunk-FDGOBWSB.js.gz +0 -0
- package/build/runtime-chunk-FKNVV4NA.js.br +0 -0
- package/build/runtime-chunk-FKNVV4NA.js.gz +0 -0
- package/build/runtime-chunk-FV3VSEFO.js.br +0 -0
- package/build/runtime-chunk-FV3VSEFO.js.gz +0 -0
- package/build/runtime-chunk-H3ODKGZ7.js.br +0 -0
- package/build/runtime-chunk-H3ODKGZ7.js.gz +0 -0
- package/build/runtime-chunk-HMTKLH23.js.br +0 -0
- package/build/runtime-chunk-HMTKLH23.js.gz +0 -0
- package/build/runtime-chunk-HRBADWL4.js.br +0 -0
- package/build/runtime-chunk-HRBADWL4.js.gz +0 -0
- package/build/runtime-chunk-IMGHBST4.js.br +0 -0
- package/build/runtime-chunk-IMGHBST4.js.gz +0 -0
- package/build/runtime-chunk-JBKSICRA.js.br +0 -0
- package/build/runtime-chunk-JBKSICRA.js.gz +0 -0
- package/build/runtime-chunk-LC7UDVJH.js.br +0 -0
- package/build/runtime-chunk-LC7UDVJH.js.gz +0 -0
- package/build/runtime-chunk-MDTSQB7K.js.br +0 -0
- package/build/runtime-chunk-MDTSQB7K.js.gz +0 -0
- package/build/runtime-chunk-O4OBJK5I.js.br +0 -0
- package/build/runtime-chunk-O4OBJK5I.js.gz +0 -0
- package/build/runtime-chunk-P7Y5SVAD.js.br +0 -0
- package/build/runtime-chunk-P7Y5SVAD.js.gz +0 -0
- package/build/runtime-chunk-PFXTH6TY.js.br +0 -0
- package/build/runtime-chunk-PFXTH6TY.js.gz +0 -0
- package/build/runtime-chunk-QECK2FYM.js.br +0 -1
- package/build/runtime-chunk-QECK2FYM.js.gz +0 -0
- package/build/runtime-chunk-RP33OQ3Q.js.br +0 -0
- package/build/runtime-chunk-RP33OQ3Q.js.gz +0 -0
- package/build/runtime-chunk-T2AWRXSG.js.br +0 -0
- package/build/runtime-chunk-T2AWRXSG.js.gz +0 -0
- package/build/runtime-chunk-TJAIGKEZ.js.br +0 -0
- package/build/runtime-chunk-TJAIGKEZ.js.gz +0 -0
- package/build/runtime-chunk-TJEWZRPR.js +0 -1
- package/build/runtime-chunk-TJEWZRPR.js.br +0 -0
- package/build/runtime-chunk-TJEWZRPR.js.gz +0 -0
- package/build/runtime-chunk-UGWBMORK.js.br +0 -0
- package/build/runtime-chunk-UGWBMORK.js.gz +0 -0
- package/build/runtime-chunk-WDJMWXET.js.br +0 -0
- package/build/runtime-chunk-WDJMWXET.js.gz +0 -0
- package/build/runtime-chunk-WEFQPU5Y.js.br +0 -0
- package/build/runtime-chunk-WEFQPU5Y.js.gz +0 -0
- package/build/runtime-chunk-YXRS6NK6.js.br +0 -0
- package/build/runtime-chunk-YXRS6NK6.js.gz +0 -0
- package/build/runtime-chunk-ZDRYEV47.js.gz +0 -0
- package/build/runtime-chunk-ZIN4ONCD.js.br +0 -0
- package/build/runtime-chunk-ZIN4ONCD.js.gz +0 -0
- package/build/runtime-classicRuntime-DXJ5K67W.js.br +0 -0
- package/build/runtime-classicRuntime-DXJ5K67W.js.gz +0 -0
- package/build/runtime-cloners-EWGJKYVD.js +0 -1
- package/build/runtime-cloners-EWGJKYVD.js.br +0 -0
- package/build/runtime-cloners-EWGJKYVD.js.gz +0 -0
- package/build/runtime-components-WCLKNFM6.js.br +0 -0
- package/build/runtime-components-WCLKNFM6.js.gz +0 -0
- package/build/runtime-conditional-DE4PFQQI.js.br +0 -0
- package/build/runtime-conditional-DE4PFQQI.js.gz +0 -0
- package/build/runtime-createDestroy-NO5S2UJ6.js.br +0 -0
- package/build/runtime-createDestroy-NO5S2UJ6.js.gz +0 -0
- package/build/runtime-depthOfField-PA6D7OCI.js.br +0 -0
- package/build/runtime-depthOfField-PA6D7OCI.js.gz +0 -0
- package/build/runtime-dragDrop-MVI3BZQL.js.br +0 -0
- package/build/runtime-dragDrop-MVI3BZQL.js.gz +0 -0
- package/build/runtime-gameControls-RISCD3WD.js.br +0 -0
- package/build/runtime-gameControls-RISCD3WD.js.gz +0 -0
- package/build/runtime-hair-5KWEFM6G.js +0 -1
- package/build/runtime-hair-5KWEFM6G.js.br +0 -2
- package/build/runtime-hair-5KWEFM6G.js.gz +0 -0
- package/build/runtime-hueSaturation-A7G7LUZE.js.br +0 -0
- package/build/runtime-hueSaturation-A7G7LUZE.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-BVHH6C56.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-BVHH6C56.js.gz +0 -0
- package/build/runtime-miscActions-F2J4NZWQ.js.br +0 -0
- package/build/runtime-miscActions-F2J4NZWQ.js.gz +0 -0
- package/build/runtime-mouseHover-S2P5MAF4.js.br +0 -0
- package/build/runtime-mouseHover-S2P5MAF4.js.gz +0 -0
- package/build/runtime-noise-FEUBLAJ4.js.br +0 -0
- package/build/runtime-noise-FEUBLAJ4.js.gz +0 -0
- package/build/runtime-particles-BVJSBBTP.js.br +0 -0
- package/build/runtime-particles-BVJSBBTP.js.gz +0 -0
- package/build/runtime-paths-FDJQOXAK.js.br +0 -0
- package/build/runtime-paths-FDJQOXAK.js.gz +0 -0
- package/build/runtime-pixelation-WU37JYHQ.js.br +0 -0
- package/build/runtime-pixelation-WU37JYHQ.js.gz +0 -0
- package/build/runtime-resize-DFMUPXOS.js.br +0 -0
- package/build/runtime-resize-DFMUPXOS.js.gz +0 -0
- package/build/runtime-sceneTransition-XE2ZPNKU.js.br +0 -0
- package/build/runtime-sceneTransition-XE2ZPNKU.js.gz +0 -0
- package/build/runtime-scroll-K5PKDKHK.js.br +0 -0
- package/build/runtime-scroll-K5PKDKHK.js.gz +0 -0
- package/build/runtime-shapeBlends-BTEVWTZV.js +0 -1
- package/build/runtime-shapeBlends-BTEVWTZV.js.br +0 -2
- package/build/runtime-shapeBlends-BTEVWTZV.js.gz +0 -0
- package/build/runtime-text-QU34VTXS.js.br +0 -0
- package/build/runtime-text-QU34VTXS.js.gz +0 -0
- package/build/runtime-textInputs-ISU65BOG.js.br +0 -0
- package/build/runtime-textInputs-ISU65BOG.js.gz +0 -0
- package/build/runtime-timeline-XSZ4AW3V.js +0 -1
- package/build/runtime-timeline-XSZ4AW3V.js.br +0 -0
- package/build/runtime-timeline-XSZ4AW3V.js.gz +0 -0
- package/build/runtime-tracking-K6DYSX5I.js.br +0 -0
- package/build/runtime-tracking-K6DYSX5I.js.gz +0 -0
- package/build/runtime-transitions-TMG2V4GQ.js +0 -1
- package/build/runtime-transitions-TMG2V4GQ.js.br +0 -0
- package/build/runtime-transitions-TMG2V4GQ.js.gz +0 -0
- package/build/runtime-ui2d-7SBYT26Z.js.br +0 -0
- package/build/runtime-ui2d-7SBYT26Z.js.gz +0 -0
- package/build/runtime-updater-42LKGUWN.js +0 -1
- package/build/runtime-updater-42LKGUWN.js.br +0 -1
- package/build/runtime-updater-42LKGUWN.js.gz +0 -0
- package/build/runtime-variables-AFZY4GV6.js.br +0 -0
- package/build/runtime-variables-AFZY4GV6.js.gz +0 -0
- package/build/runtime-vectorShapes-EB4FJHMS.js.br +0 -0
- package/build/runtime-vectorShapes-EB4FJHMS.js.gz +0 -0
- package/build/runtime-video-DDOVIOHX.js.br +0 -0
- package/build/runtime-video-DDOVIOHX.js.gz +0 -0
- package/build/runtime-vignette-LFUH4AFD.js.br +0 -0
- package/build/runtime-vignette-LFUH4AFD.js.gz +0 -0
- package/build/runtime-webgpu-JSSMWFXX.js.br +0 -0
- package/build/runtime-webgpu-JSSMWFXX.js.gz +0 -0
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splinetool/runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.101",
|
|
4
4
|
"description": "Spline is a collaborative design platform for creating production-ready interactive experiences in multiple dimensions. © 2026 Spline, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spline",
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-NTUTXO7Q.js";import{a as t,b as s}from"./runtime-chunk-DZNU62CT.js";import{a as r}from"./runtime-chunk-4YV3EXSU.js";import{b as i,e as n,f as o}from"./runtime-chunk-P7Y5SVAD.js";import{a}from"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-FKNVV4NA.js";import{a as h}from"./runtime-chunk-TZCHGFVF.js";import{Ga as c,Ha as d,n as u}from"./runtime-chunk-H3ODKGZ7.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";var l=class extends t{constructor(e,t){super(e),this.eventManager=t,this.userAPIs={},this.events=[],this.onSuccess=({userAPIId:e})=>{this.events.forEach(t=>{t.data.userAPIId===e&&t.dispatchSuccess()})},this.onError=({userAPIId:e})=>{this.events.forEach(t=>{t.data.userAPIId===e&&t.dispatchError()})},this.userAPIs=e.sharedAssets.getUserAPIs()}connect(){this.eventContext.page.traverseEntity(e=>{e.data?.events.filter(e=>"API"===e.data.type&&!e.data.disabled).forEach(t=>{this.events.push(new p(t.id,t.data,e,this.eventContext.page,this.eventContext.sharedAssets,this.eventManager))})}),Object.entries(this.userAPIs).forEach(([e,t])=>{t.on("success",this.onSuccess),t.on("error",this.onError),t.autostart&&t.callUserAPI(this.eventContext.sharedAssets)})}disconnect(){Object.entries(this.userAPIs).forEach(([e,t])=>{t.off("success",this.onSuccess),t.off("error",this.onError)})}},p=class{constructor(e,t,s,r,i,n){this.id=e,this.data=t,this.object=s,this.successActions=o(t,t.successActions,r,i,n,s),this.errorActions=o(t,t.errorActions,r,i,n,s)}dispatchSuccess(){this.dispatchActions(this.successActions)}dispatchError(){this.dispatchActions(this.errorActions)}dispatchActions(e){e.Audio.forEach(e=>e.dispatchConditional()),e.Particles.forEach(e=>e.dispatchConditional()),e.Video.forEach(e=>e.dispatchConditional()),e.Create.forEach(e=>e.dispatch()),e.Destroy.forEach(e=>e.dispatch()),e.Reset.forEach(e=>e.dispatch()),e.Transition.forEach(e=>{!e.shouldReinit()||(e.object.currentTransitionEvent!==this&&(e.object.currentTransitionEvent=this),e.init())}),e.Transition.forEach(e=>e.play()),e.Animation.forEach(e=>e.play()),e.SwitchCamera.forEach(e=>e.play()),e.SceneTransition.forEach(e=>e.dispatch()),e.SetVariable.forEach(e=>e.checkConditions()),e.SetVariable.forEach(e=>e.dispatch()),e.DynamicVariablePlay.forEach(e=>e.dispatch()),e.ClearLocalStorage.forEach(e=>e.dispatch()),e.UserAPI.forEach(e=>e.dispatch())}},f=class extends t{constructor(e,t){super(e),this.eventManager=t,this.userWebhooks={},this.events=[],this.onMessage=({userWebhookId:e})=>{this.events.forEach(t=>{t.data.userWebhookId===e&&t.dispatch()})},this.userWebhooks=e.sharedAssets.getUserWebhooks()}connect(){this.eventContext.page.traverseEntity(e=>{e.data?.events.filter(e=>"WEBHOOK"===e.data.type&&!e.data.disabled).forEach(t=>{this.events.push(new m(t.id,t.data,e,this.eventContext.page,this.eventContext.sharedAssets,this.eventManager))})}),Object.entries(this.userWebhooks).forEach(([e,t])=>{t.connect(),t.on("message",this.onMessage)})}disconnect(){Object.entries(this.userWebhooks).forEach(([e,t])=>{t.off("message",this.onMessage),t.disconnect()})}},m=class{constructor(e,t,s,r,i,n){this.id=e,this.data=t,this.object=s,this.actions=o(t,t.actions,r,i,n,s)}dispatch(){let e=this.actions;e.Audio.forEach(e=>e.dispatchConditional()),e.Particles.forEach(e=>e.dispatchConditional()),e.Video.forEach(e=>e.dispatchConditional()),e.Create.forEach(e=>e.dispatch()),e.Destroy.forEach(e=>e.dispatch()),e.Reset.forEach(e=>e.dispatch()),e.Transition.forEach(e=>{!e.shouldReinit()||(e.object.currentTransitionEvent!==this&&(e.object.currentTransitionEvent=this),e.init())}),e.Transition.forEach(e=>e.play()),e.Animation.forEach(e=>e.play()),e.SwitchCamera.forEach(e=>e.play()),e.SceneTransition.forEach(e=>e.dispatch()),e.SetVariable.forEach(e=>e.checkConditions()),e.SetVariable.forEach(e=>e.dispatch()),e.DynamicVariablePlay.forEach(e=>e.dispatch()),e.ClearLocalStorage.forEach(e=>e.dispatch()),e.UserAPI.forEach(e=>e.dispatch())}},v=class{constructor(e,t,s,r){this.data=e,this.page=t,this.shared=s,this.condition=r}dispatch(){if(!1===n(this.shared,this.condition))return!1;if(this.data.userAPIId){let e=this.shared.getUserAPI(this.data.userAPIId);e&&"callUserAPI"in e&&e.callUserAPI(this.shared)}}dispose(){}},E=class{constructor(t,s,r){this.id=t,this.userAPI=s,this.result=void 0,this.error="null",this.isPrefetched=!1,this.isLoading=!1,this.isLoaded=!1,this.prefetchPromise=new Promise(e=>e()),this.emitter=e(),this._innerCallUserAPI=async e=>{this.emitter.emit("start",{userAPIId:this.id}),this.isLoading=!0,this.isLoading=!1;try{this.result=await async function(e,t,s=new AbortController){let r,i,n=e.url,o=e.proxy?.enabled??!1;if("OpenAI"===e.integration?.type){let s=b(""===e.integration.prompt?[]:JSON.parse(e.integration.prompt),t),r=""===e.integration.behavior?[]:b(JSON.parse(e.integration.behavior),t);i=`{\n\t\t"model": "${e.integration.model}",\n\t\t"messages": [${e.integration.useBehavior?`\n\t\t{\n\t\t\t"role": "system",\n\t\t\t"content": "${r}"\n\t\t},`:""}\n\t\t{\n\t\t\t"role": "user",\n\t\t\t"content": "${s}"\n\t\t}\n\t\t]\n\t}`}if(o){let s;n=`https://apis.spline.design/file/${e.proxy.fileId}/external-api/request?uuidexternalapi=${e.proxy.proxyId}`,void 0!==i?s=i:"POST"===e.method&&e.body&&(s=b(JSON.parse(e.body),t)),void 0!==s&&(n+=`&data=${encodeURIComponent(s.replace(/(\r\n|\n|\r|\t)/gm,""))}`)}else"OpenAI"===e.integration?.type?r=i:"POST"===e.method&&e.body&&(r=b(JSON.parse(e.body),t));let a=await fetch(n,{method:o?"GET":e.method,headers:o?void 0:g(e),signal:s.signal,body:r});if(!a.ok)throw new Error("status:"+a.status+"_:_"+a.statusText);if("OpenAI"===e.integration?.type){let e=await a.json();return o&&(e=e.response),{content:e.choices[0].message.content}}{let e=await a.json();return o&&(e=e.response),e}}(this.userAPI,e),this.error="null",this.emitter.emit("success",{userAPIId:this.id})}catch(e){let t=e.message?.split("_:_")?.[0]?.replace("status:","")??"null";this.error=t,this.result=null,this.emitter.emit("error",{userAPIId:this.id})}this.isLoading=!1,this.isPrefetched=!0,this.isLoaded=!0},this._debouncedCallUserAPI=this._makeDebouncedCallUserAPI(),this._debouncedPrefetch=a(this.prefetch,1e3,{trailing:!0}),"OpenAI"===s?.integration?.type?this.result={content:""}:"GET"===s.method&&""!==s.url&&(this.prefetchPromise=this.prefetch(r))}_makeDebouncedCallUserAPI(){return void 0!==this.userAPI.debounce&&this.userAPI.debounce>0?a(this._innerCallUserAPI,this.userAPI.debounce,{leading:!0,trailing:!0}):this._innerCallUserAPI}async prefetch(e){await this.callUserAPI(e)}async callUserAPI(e){await this._debouncedCallUserAPI(e)}update(e,t,s=!0){this.userAPI=e,this._debouncedCallUserAPI=this._makeDebouncedCallUserAPI(),""!==this.userAPI.url&&"GET"===this.userAPI.method&&s&&this._debouncedPrefetch(t)}retrieveValue(e){if(this.result)try{return u.zoom(this.result,e)}catch(e){console.error(e)}}retrieveZoomedKeyValues(e){if(this.result){let s=e&&e.length?u.zoom(this.result,e):this.result;if("object"==typeof(t=s)&&null!==t)return Object.entries(s);if(function(e){return Array.isArray(e)}(s))return s.map((e,t)=>[t.toString(),e]);throw function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null===e}(s)?new Error("This path points to a value, use retrieveValue() instead. "+e?.join(".")):new Error("Path error"+e?.join("."))}var t}dispose(){}on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}get autostart(){return this.userAPI.autoStart}};function g(e){let t=new Headers;return e.headers.forEach(e=>{""!==e.data.key&&t.append(e.data.key,e.data.value)}),t}var A=(e,t)=>{if("string"==typeof e){let s=t.getVariable(e);if(s)return A(s,t)}return d.isBoolean(e)?d.getDisplayedValue(e).toLowerCase():d.getDisplayedValue(e)},b=(e,t)=>e.map((e,s)=>{if("text"in e)return e.text;if("type"in e){if("paragraph"===e.type)return(s>0?"\n":"")+b(e.children,t);if("variable"===e.type){let s=t.getVariable(e.variableId);if(void 0!==s)return A(s,t)}}return""}).join(""),I=1e3,P=512*I,y=class{constructor(t,s){this.id=t,this.userWebhook=s,this.result=void 0,this._connected=!1,this.emitter=e(),this.reconnectWaitFor=I,this._onError=e=>{this.eventSource?.removeEventListener("message",this._onMessage),this.eventSource?.removeEventListener("error",this._onError),this.eventSource?.removeEventListener("open",this._onConnected),this._scheduleReconnect()},this._onConnected=e=>{clearTimeout(this.scheduledReconnectHandle),this.reconnectWaitFor=I,this._connected=!0},this._onDisconnected=()=>{clearTimeout(this.scheduledReconnectHandle),this.reconnectWaitFor=I,this._connected=!1},this._onMessage=e=>{let t,s=e.data;try{t=JSON.parse(s)}catch(e){console.error("Error parsing webhook message",e)}if(t){let e=!1;this.userWebhook.parametersSchemas.forEach(({data:s})=>{void 0!==t[s.name]&&function(e,t){let s=typeof e;return!!(("string"===t||"number"===t)&&s===t||"boolean"===t&&("true"===e||"false"===e||!0===e||!1===e)||"image"===t&&"string"===s&&e.startsWith("http"))}(t[s.name],s.type)&&(void 0===this.result&&(this.result={}),this.result[s.name]=t[s.name],e=!0)}),e&&this.emitter.emit("message",{userWebhookId:this.id})}}}connect(){clearTimeout(this.scheduledReconnectHandle),this.userWebhook.url&&(this.eventSource=new EventSource("https://hooks.spline.design/events?hashFile="+this.userWebhook.url),this.eventSource.addEventListener("message",this._onMessage),this.eventSource.addEventListener("error",this._onError),this.eventSource.addEventListener("open",this._onConnected))}disconnect(){this.eventSource?.removeEventListener("message",this._onMessage),this.eventSource?.removeEventListener("error",this._onError),this.eventSource?.removeEventListener("open",this._onConnected),this.eventSource?.close(),this._onDisconnected(),clearTimeout(this.scheduledReconnectHandle)}_scheduleReconnect(){this.reconnectWaitFor*=2,this.reconnectWaitFor>P&&(this.reconnectWaitFor=P),clearTimeout(this.scheduledReconnectHandle),this.scheduledReconnectHandle=setTimeout(()=>{this.scheduledReconnectHandle=void 0,this.connect()},this.reconnectWaitFor)}update(e){this.userWebhook=e}dispose(){this._connected&&this.disconnect()}get connected(){return this._connected}on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}getParametersKeys(){return this.userWebhook.parametersSchemas.map(e=>e.data.name)}getParameterValue(e){if(this.getParametersKeys().includes(e)){if(this.result)return this.result?.[e];for(let t of this.userWebhook.parametersSchemas)if(t.data.name===e)return c.defaultParameterValueByType(t.data.type)}}};s("API",({eventContext:e,eventManager:t})=>new l(e,t)),s("WEBHOOK",({eventContext:e,eventManager:t})=>new f(e,t)),i("UserAPI",({data:e,page:t,shared:s,actionCondition:r})=>new v(e,t,s,r)),r({createUserAPI:(e,t,s)=>new E(e,t,s),createUserWebhook:(e,t)=>new y(e,t)}),h("api-services");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
G ��8F�=���m�G��D��#�'��=$O��2�y!:���6H�,�lYR�������g�ۛ�dC�{�u�/��}츳Z�*��UK� Ef��C����3�P���$����l,P���J�-؍zIB����}��"�L�f�x�-ʊ52����A�;���F��[��������
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e,g as t,j as r}from"./runtime-chunk-BKPSDPTT.js";import{a,b as n}from"./runtime-chunk-HD7WF3XN.js";import{a as i,d as s,f as o,g as l}from"./runtime-chunk-MDTSQB7K.js";import{b as u}from"./runtime-chunk-WDJMWXET.js";import{Z as d,ba as c,ca as h,i as p,ia as f,ja as g}from"./runtime-chunk-UGWBMORK.js";import{v as m}from"./runtime-chunk-FDGOBWSB.js";import{d as b,e as y}from"./runtime-chunk-RTLL6WIB.js";import{c as v,d as w,e as S}from"./runtime-chunk-2PT2WH66.js";import{A as j,B as A,C as D,G as V,H as M,M as E,N as R,O as k,P as x,Q as O,R as B,da as P,ma as G,pa as N,z as C}from"./runtime-chunk-H3ODKGZ7.js";import{Ec as I,Fc as F,Gc as T,Hc as z,Rc as q,Vc as W}from"./runtime-chunk-KPOUV3HD.js";var L=Math.fround,H=[.01,100],K=[.01,1e4],U=[.01,1e3],X=[.01,1e3];function _(e,[t,r]){return Math.min(Math.max(e,t),r)}function Q(e,t,r,a,n){e=_(e,H),t=_(t,K),r=_(r,U),a=_(a,X);let i=Math.sqrt(t/e),s=r/(2*Math.sqrt(t*e)),o=s<1?i*Math.sqrt(1-s*s):0,l=s<1?(s*i-a)/o:-a+i;return e=>{let t=void 0!==n?n*e:e;return t=s<1?Math.exp(-t*s*i)*(1*Math.cos(o*t)+l*Math.sin(o*t)):(1+l*t)*Math.exp(-t*i),0===e||1===e?e:1-t}}var Z=L(.001),J=L(1e-7),$=L(.1);function Y(e,t){return L(L(1-L(3*t))+L(3*e))}function ee(e,t){return L(L(3*t)-L(6*e))}function te(e){return L(3*e)}function re(e,t,r){return L(L(L(L(L(Y(t,r)*e)+ee(t,r))*e)+te(t))*e)}function ae(e,t,r){let a=L(L(L(3*Y(t,r))*e)*e),n=L(L(2*ee(t,r))*e);return L(L(a+n)+te(t))}var ne=e=>e;function ie(e,t,r,a){if(e=L(e),t=L(t),r=L(r),a=L(a),e<0||e>1||r<0||r>1||e===t&&r===a)return ne;let n=new Float32Array(11);for(let t=0;t<11;t++)n[t]=re(L(t*$),e,r);return i=>0===(i=L(i))||1===i?i:re((t=>{let a=0,i=1;for(;10!==i&&n[i]<=t;)a=L(a+$),i+=1;i-=1;let s=L(L(t-n[i])/L(n[i+1]-n[i])),o=L(a+L(s*$)),l=ae(o,e,r);return l>=Z?function(e,t,r,a){for(let n=0;n<4;n++){let n=ae(t,r,a);if(0===n)return t;let i=L(re(t,r,a)-e);t=L(t-L(i/n))}return t}(t,o,e,r):0===l?o:function(e,t,r,a,n){let i,s=0,o=0;do{s=L(t+L(L(r-t)/2)),i=L(re(s,a,n)-e),i>0?r=s:t=s,o+=1}while(Math.abs(i)>J&&o<10);return s}(t,a,L(a+$),e,r)})(i),t,a)}var se=L(1.70158);function oe(e,t,r){switch(e.easing){case 0:default:return r;case 1:return ie(.25,.1,.25,1)(r);case 2:return ie(.42,0,1,1)(r);case 3:return ie(0,0,.58,1)(r);case 4:return ie(.42,0,.58,1)(r);case 7:return ie(.25,1,.5,1)(r);case 8:return Math.floor(r);case 5:{let{control1:t,control2:a}=e;return t&&a?ie(t[0],t[1],a[0],a[1])(r):r}case 6:{let{mass:a,stiffness:n,damping:i,velocity:s}=e;return void 0===a||void 0===n||void 0===i||void 0===s?r:L(Q(a,n,i,s,t)(r))}}}L(se+1);var le=Math.fround,ue=class{constructor(e,t,r){this.apply=t,this.onStart=r,this.isPlaying=!1,this.isReversed=!1,this.endTime=0,this.startTime=0,this.isFirstLerpAfterStart=!1,this.config=e,this.duration=function(e,t){if(6!==e.easing)return t;let{mass:r,stiffness:a,damping:n,velocity:i}=e;return void 0===r||void 0===a||void 0===n||void 0===i?t:function(e,t,r,a){let n=.16666666666666666,i=0,s=0,o=Q(e,t,r,a);for(let e=0;e<1e5;e++)if(i+=n,1===o(i)){if(s+=1,s>=16)break}else s=0;return L(i*n)}(r,a,n,i)}(e.ease,le(e.duration/1e3)),this.delay=le(e.delay/1e3),this.currentRepeat=e.repeat}get repeatDirection(){return this.overrideDirection??this.config.direction}get isPingpong(){let e=this.repeatDirection;return"pingpong"===e||"pingpong-rewind"===e}get actualDelayDirection(){return this.isReversed?"start"===this.config.delayDirection?"end":"end"===this.config.delayDirection?"start":this.config.delayDirection:this.config.delayDirection}start(e){this.isPlaying=!0,this.currentRepeat=this.config.repeat,this.isFirstLerpAfterStart=!0,this.startTime=e,this.onStart?.()}endAfterCurrentPass(){this.currentRepeat<0&&(this.currentRepeat=0)}stop(){this.isPlaying=!1}rearm(){this.onStart?.()}seek(e){this.lerp(e)}update(e){if(!this.isPlaying)return;let t=a(e,this.startTime),r=0;if(this.isFirstLerpAfterStart||!this.isPingpong){let e=this.actualDelayDirection;if("start-once"===this.config.delayDirection&&this.isFirstLerpAfterStart||"start"===e||"start-end"===e){if(t<this.delay)return;r=this.delay}}t=le(t-r);let i=0===this.duration?1:Math.min(Math.max(le(t/this.duration),0),1);if(this.lerp(i),!this.isPlaying||1!==i)return;let s=this.actualDelayDirection;if("end"===s||"start-end"===s){if(t<le(this.duration+this.delay))return;this.endTime=n(this.startTime,le(le(r+this.duration)+this.delay))}else this.endTime=n(this.startTime,le(r+this.duration));this.isFirstLerpAfterStart=!1,0!==this.currentRepeat?(this.currentRepeat>0&&(this.currentRepeat-=1),this.isPingpong?this.isReversed=!this.isReversed:this.lerp(0),this.startTime=e,this.onStart?.()):this.stop()}lerp(e){"pingpong-rewind"===this.repeatDirection&&this.isReversed?(e=le(1-e),e=this.ease(e),e=le(1-e)):e=this.ease(e),this.apply(e)}ease(e){return oe(this.config.ease,this.duration,e)}},{degToRad:de,radToDeg:ce}=I;function he(e,t,r,a,n,i){let s=void 0!==r[e]?r[e]:void 0,o=a[e];if(null==o)return;let l=null!=s?"string"==typeof s?Number(n.getVariable(s)??0):s:t[e],u="string"==typeof o?Number(n.getVariable(o)??0):o;return l!==u?{update:r=>{let a=I.lerp(l,u,r);t[e]=i?Math.trunc(a):a},start:()=>{t[e]=l},end:()=>{t[e]=u}}:void 0}function pe(e,t,r,a,n,i){let s=r[e]?r[e]:void 0,o=a[e];if(!o)return;let l=t[e],u=[...s??l].map(e=>"string"==typeof e?Number(n.getVariable(e)??0):e),d=[...o].map(e=>"string"==typeof e?Number(n.getVariable(e)??0):e);return u.length!==d.length||b(u,d)?void 0:{update:r=>{u.forEach((a,n)=>{let s=I.lerp(a,d[n],r);t[e][n]=i?Math.trunc(s):s})},start:()=>{Object.assign(t[e],u)},end:()=>{Object.assign(t[e],d)}}}function fe(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}function ge(e,t,r,a,n){let i=r[e]?r[e]:void 0,s=a[e];if(!s)return;let o=t[e],l=i?fe(new z,i,n):o.clone(),u=fe(new z,s,n);return l.equals(u)?void 0:{update:e=>{o.lerpVectors(l,u,e)},start:()=>{o.copy(l)},end:()=>{o.copy(u)}}}function me(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}function be(e,t,r,a,n){let i=r[e]?r[e]:void 0,s=a[e];if(!s)return;let o=t[e],l=!(o instanceof F),u=o instanceof F?o:(new F).fromArray(o),d=i?me(new F,i,n):u.clone(),c=me(new F,s,n);return d.equals(c)?void 0:{update:r=>{u.lerpVectors(d,c,r),l&&(t[e]=u.toArray())},start:()=>{u.copy(d),l&&(t[e]=u.toArray())},end:()=>{u.copy(c),l&&(t[e]=u.toArray())}}}function ye(e,t,r,a,n){let i=r[e]?r[e]:void 0,s=a[e];if(!s)return;let o=t[e],l=new p(o.r,o.g,o.b,o.a),u=i?"string"==typeof i?n.getColor(i).clone():new p(i.r,i.g,i.b,i.a):l.clone(),d="string"==typeof s?n.getColor(s).clone():new p(s.r,s.g,s.b,s.a);return u.equals(d)?void 0:{update:r=>{l.lerpColors(u,d,r);let a=I.lerp(u.a,d.a,r);l.a=a,t[e]={r:l.r,g:l.g,b:l.b,a:l.a}},start:()=>{l.copy(u)},end:()=>{l.copy(d)}}}function ve(e,t,r,a,n){return"number"==typeof t[e]?he(e,t,r??{},a,n):Array.isArray(t[e])?pe(e,t,r??{},a,n):void 0}function we(e,t){if(e)for(let[r,a]of Object.entries(t)){let t=e[r];if(Array.isArray(t)&&Array.isArray(a)){let e=Math.min(t.length,a.length);for(let r=0;r<e;r++)t[r]=a[r]}else e[r]=a}}function Se(e,t,r,a){let n={};if(!t||!r)return n;for(let i of e){let e=t[i],s=r[i];if("number"==typeof e&&"number"==typeof s)n[i]=I.lerp(e,s,a);else if(Array.isArray(e)&&Array.isArray(s)){let t=Math.min(e.length,s.length);n[i]=Array.from({length:t},(t,r)=>I.lerp(e[r],s[r],a))}}return n}function je(e,t,r,a,n){let i=e.getValue(a);if(void 0!==i){if("colors"===a)return function(e,t,r,a="colors"){if(!e.hasValue(a)||!(a in r))return;let n=[],i=e.getValue(a),s=t?t[a]:i.map(e=>e.toArray()),o=r[a];for(let e=0;e<i.length;++e){let t=[...s[e]],r=[...o[e]];A.isEqual(t,r)||n.push({update:a=>{i[e].fromArray(A.lerp(t,r,a))},start:()=>{i[e].fromArray(t)},end:()=>{i[e].fromArray(r)}})}return n.length?n:void 0}(e,t,r,a);if(Array.isArray(i))return"steps"===a?function(e,t,r,a="steps"){if(!e.hasValue(a)||!(a in r))return;let n=[],i=e.getValue(a),s=t?t[a]:i,o=r[a];return b(s,o)||n.push({update:t=>{let r=[...i];for(let e=0;e<i.length;++e){let a=s[e],n=o[e];r[e]=I.lerp(a,n,t)}e.setValue(a,r)},start:()=>{e.setValue(a,s)},end:()=>{e.setValue(a,o)}}),n.length?n:void 0}(e,t,r,a):void 0;if("number"==typeof i)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=t?t[a]:e.getValue(a),s=r[a],o="string"==typeof i?Number(n.getVariable(i)??0):i,l="string"==typeof s?Number(n.getVariable(s)??0):s;return{update:t=>{e.setValue(a,I.lerp(o,l,t))},start:()=>{e.setValue(a,o)},end:()=>{e.setValue(a,l)}}}(e,t,r,a,n);if("boolean"!=typeof i){if(i instanceof F)return function(e,t,r,a){if(!e.hasValue(a)||!(a in r))return;let n=e.getValue(a),i=t?(new F).fromArray(t[a]):n.clone(),s=(new F).fromArray(r[a]);return i.equals(s)?void 0:{update:e=>{n.lerpVectors(i,s,e)},start:()=>{n.copy(i)},end:()=>{n.copy(s)}}}(e,t,r,a);if(i instanceof z)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=e.getValue(a),s=t?t[a]:void 0,o=r[a],l=s?fe(new z,s,n):i.clone(),u=fe(new z,o,n);return l.equals(u)?void 0:{update:e=>{i.lerpVectors(l,u,e)},start:()=>{i.copy(l)},end:()=>{i.copy(u)}}}(e,t,r,a,n);if(i instanceof p)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=t?t[a]:void 0,s=r[a],o=e.getValue(a),l=i?"string"==typeof i?n.color(i).clone():(new W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():new p(s.r,s.g,s.b,s.a);if(l.equals(u))return;let d=o.clone();return{update:t=>{e.getValue(a)!==d&&e.setValue(a,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,r,a,n);if(i instanceof W)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=t?t[a]:void 0,s=r[a],o=e.getValue(a),l=i?"string"==typeof i?n.color(i).clone():(new W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():(new W).setRGB(s.r,s.g,s.b);if(l.equals(u))return;let d=o.clone();return{update:t=>{e.getValue(a)!==d&&e.setValue(a,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,r,a,n);if("isTexture"in i)return function(e,t,r,a="texture",n){if(!e.hasValue(a)||!(a in r))return;let i=e=>Number("string"==typeof e?n?.getVariable(e)??0:e??0),s=e.getNode("rotation"),o=t?i(t[a]?.rotation):(s?.value??0)*I.RAD2DEG,l=i(r[a]?.rotation);if(s&&Math.abs(o-l)>1e-9)return{update:e=>{s.value=I.lerp(o,l,e)*I.DEG2RAD},start:()=>{s.value=o*I.DEG2RAD},end:()=>{s.value=l*I.DEG2RAD}};let u=function(e){let t=e.getNode("mat");if("function"==typeof t?.updateMatrix)return t;let r=e.getValue("mat");return"function"==typeof r?.updateMatrix?r:void 0}(e);if(!u)return;let d=t?t[a]:u,c=r[a],h=[...d.repeat],p=[...d.offset],f=[...c.repeat],g=[...c.offset],m=d.rotation??0,b=c.rotation??0;return C.isEqual(h,f)&&C.isEqual(p,g)&&m===b?void 0:{update:e=>{u.repeat=C.lerp(h,f,e),u.offset=C.lerp(p,g,e),u.rotation=I.lerp(m,b,e),u.updateMatrix()},start:()=>{u.repeat=[...h],u.offset=[...p],u.rotation=m,u.updateMatrix()},end:()=>{u.repeat=[...f],u.offset=[...g],u.rotation=b,u.updateMatrix()}}}(e,t,r,a,n)}}}function Ae(e,t,r,a){let n=[],i=t.layers?d(t,a):e.transparent,s=d(r,a);n.push(function(e,t,r){let a=t||r;return{update:t=>{e.setTransparent(1===t?r:a)}}}(e,i,s)),function(e,t,r){let a=e.ensureRainbowNoiseCompiled;if("function"==typeof a)for(let n of[...e.layers]){if("rainbow"!==n.type)continue;let i=t.layers?.data(n.uuid),s=r.layers.data(n.uuid);(c(i?.noiseStrength)||c(s?.noiseStrength))&&a.call(e,n.uuid)}}(e,t,r);for(let i of e.layers){let e=t.layers?.data(i.uuid),s=r.layers.data(i.uuid);if(!s||"light"!==i.type&&(!(i.visible??1)||!(s.visible??1)))continue;let o=h[i.type]??[],l=i.getNames().filter(e=>!o.includes(e)&&!P.some(t=>e.includes(t)));for(let t of l)try{let r=je(i,e,s,t,a);r&&(Array.isArray(r)?n.push(...r):n.push(r))}catch(e){console.error(`lerpMaterial: unexpected material layer for ${t}`,e)}}return n}function De(e,t,r,a,n,i){let s=je(t,r,a,e,i);!s||(Array.isArray(s)?s.forEach(e=>e.update(n)):s.update(n))}new z,new q;var Ve=new z,Me=new q;var Ee=[["radial",R],["linear",k],["grid",x],["toObject",O],["randomnessObject",B]];function Re(e,t,r,a){if(!e)return{};let n=Se(["count"],t,r,a);void 0!==n.count&&(n.count=Math.trunc(n.count));for(let[i,s]of Ee){if(!e[i])continue;let o=Se(s,t[i],r[i],a);Object.keys(o).length&&(n[i]=o)}return n}function ke(e,t){if(e){void 0!==t.count&&(e.count=t.count);for(let[r]of Ee){let a=t[r];a&&we(e[r],a)}}}function xe(a,n,d,c,h){let p=[];return a.data.visible&&p.push(...function(e,t,r,a,n){let i,s,u,d,c,h,p,f=[];if(S(e)?(i=be("position",e,t,r,n),i&&f.push(i),u=he("rotation",e,t,r,n),u&&f.push(u),d=be("shear",e,t,r,n),d&&f.push(d)):(p={slide:t.pathSnapping?.slide??e.updatedPathSnapping?.slide??e.dataPatched.pathSnapping?.slide??0,offset:t.pathSnapping?.offset??e.updatedPathSnapping?.offset??e.dataPatched.pathSnapping?.offset??0},c=he("slide",p,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),c&&f.push(c),h=he("offset",p,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),h&&f.push(h),!c&&!h&&(i=ge("position",e,t,r,n),i&&f.push(i),s=ge("scale",e,t,r,n),s&&f.push(s),u=function(e,t,r,a,n){let i=t?.rotation?t.rotation.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*I.DEG2RAD):void 0,s=r.rotation?.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*I.DEG2RAD);if(!s)return;let o=i?(new z).fromArray(i):(new z).setFromEuler(e.rotation),l=(new z).fromArray(s);if(o.equals(l))return;let u=Ve.subVectors(l,o);if(a&&u.toArray().every(e=>Math.abs(e)<2*Math.PI)){let t=(new T).setFromEuler(Me.setFromVector3(o)),r=(new T).setFromEuler(Me.setFromVector3(l));return{update:a=>{!function(e,t,r,a){if(0===a)return r.copy(e);if(1===a)return r.copy(t);let n=e.w*t.w+e.x*t.x+e.y*t.y+e.z*t.z;if(n>=1)return r.copy(e);let i=1-n*n;if(i<=Number.EPSILON){let n=1-a;return r.w=n*e.w+a*t.w,r.x=n*e.x+a*t.x,r.y=n*e.y+a*t.y,r.z=n*e.z+a*t.z,r.normalize(),r}let s=Math.sqrt(i),o=Math.atan2(s,n),l=Math.sin((1-a)*o)/s,u=Math.sin(a*o)/s;r.w=e.w*l+t.w*u,r.x=e.x*l+t.x*u,r.y=e.y*l+t.y*u,r.z=e.z*l+t.z*u}(t,r,e.quaternion,a)},start:()=>{e.rotation.setFromVector3(o)},end:()=>{e.rotation.setFromVector3(l)}}}return{update:t=>{Ve.lerpVectors(o,l,t),e.rotation.setFromVector3(Ve)},start:()=>{e.rotation.setFromVector3(o)},end:()=>{e.rotation.setFromVector3(l)}}}(e,t,r,a,n),u&&f.push(u),d=function(e,t,r){let a=t.shear,n=r.shear;if(!n)return;let i=e.shearMatrix,s=a??[i.elements[4],i.elements[8],i.elements[1],i.elements[9],i.elements[2],i.elements[6]],o=n;return s.every((e,t)=>e===o[t])?void 0:{update:e=>{s.forEach((t,r)=>{let a=I.lerp(t,o[r],e);i.elements[D.INDEX_MAP[r]]=a})},start:()=>{s.forEach((e,t)=>{i.elements[D.INDEX_MAP[t]]=e})},end:()=>{o.forEach((e,t)=>{i.elements[D.INDEX_MAP[t]]=e})}}}(e,t,r),d&&f.push(d))),i||s||u||d||c||h){let r=S(e)?()=>{e.updateWorldMatrix(!0,!1,!0),e.resetBBoxNeedsUpdate()}:()=>{e.updateMatrix(),e.hasNonUniformScale&&(e.updateMatrixWorld(),e.updateMatrixWorldRigid()),e.parent?.matrixWorldFusedFalse&&(e.matrixWorld.multiplyMatrices(e.parent.matrixWorldFusedFalse,e.matrix),e.matrixWorldNeedsUpdate=!1),o(e)&&l(e.parent)&&e.invalidateDownstreamBooleanData(!0),e.updatePathSnapping(Object.assign({},t.pathSnapping,p))};f.push({update:r,start:r,end:r})}return f}(a,n,d,h,c.shared)),S(a)?p.push(...function(a,n,i,s,o){let l,u,d,c,h,p,f,g,m,b,y,v,w,S,j,A=[];if("width"in a&&(l=he("width",a,n,i,o),l&&A.push(l)),"height"in a&&(u=he("height",a,n,i,o),u&&A.push(u)),a instanceof e||a instanceof r){let t={...n.fill},r={...i.fill};void 0!==t.enabled&&t.enabled!==r.enabled&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.fill.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),r.enabled||Object.assign(r,{enabled:!0,color:{...r.color,a:0}})),d=ye("color",a.fill,t,r,o),d&&A.push(d)}if(a instanceof e){let t={...n.stroke},r={...i.stroke};(t.enabled||r.enabled)&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.stroke.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),r.enabled||Object.assign(r,{enabled:!0,color:{...r.color,a:0}})),c=ye("color",a.stroke,t,r,o),c&&A.push(c),h=he("thickness",a.stroke,t,r,o),h&&A.push(h)}if(a instanceof e){let t={...n.dropShadow},r={...i.dropShadow};(t.enabled||r.enabled)&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.dropShadow.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),r.enabled||Object.assign(r,{enabled:!0,color:{...r.color,a:0}})),p=ye("color",a.dropShadow,t,r,o),p&&A.push(p),f=he("blurRadius",a.dropShadow,t,r,o),f&&A.push(f),m=he("spread",a.dropShadow,t,r,o),m&&A.push(m),g=be("offset",a.dropShadow,t,r,o),g&&A.push(g)}if(a instanceof e){let t={...n.innerShadow},r={...i.innerShadow};(t.enabled||r.enabled)&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.innerShadow.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),r.enabled||Object.assign(r,{enabled:!0,color:{...r.color,a:0}})),b=ye("color",a.innerShadow,t,r,o),b&&A.push(b),y=he("blurRadius",a.innerShadow,t,r,o),y&&A.push(y),w=he("spread",a.innerShadow,t,r,o),w&&A.push(w),v=be("offset",a.innerShadow,t,r,o),v&&A.push(v)}if(a instanceof e||a instanceof r){let t={...n.backgroundBlur},r={...i.backgroundBlur};(t.enabled||r.enabled)&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.backgroundBlur.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,radius:0}),r.enabled||Object.assign(r,{enabled:!0,radius:0})),S=he("radius",a.backgroundBlur,t,r,o),S&&A.push(S)}if(a instanceof e){let t={...n.layerBlur},r={...i.layerBlur};(t.enabled||r.enabled)&&(A.push(function(t){return{update:()=>{t instanceof e&&(t.layerBlur.enabled=!0)}}}(a)),t.enabled||Object.assign(t,{enabled:!0,radius:0}),r.enabled||Object.assign(r,{enabled:!0,radius:0})),j=he("radius",a.layerBlur,t,r,o),j&&A.push(j)}if(a instanceof r||a instanceof t){let e=pe("cornerRadius",a,n,i,o);e&&A.push(e)}return A}(a,n,d,0,c.shared)):(a.data.visible&&p.push(...function(e,t,r,a){let n=[];if(!("cloner"in r)||!e.cloner)return n;let i=e.cloner,s="cloner"in t?t.cloner:{},o=r.cloner;E.forEach(e=>{let t;t="count"===e?he("count",i.parameters,s,o,a.shared,!0):ve(e,i.parameters,s??{},o,a.shared),t&&n.push(t)});let l=function(e,t,r,a){if("radial"!==e.parameters.type)return;let n=t.radial,i=r.radial;if(!i)return;let s=e.parameters.radial,o=[];return R.forEach(e=>{let t=ve(e,s,n??{},i,a);t&&o.push(t)}),o}(i,s,o,a.shared);l?.length&&n.push(...l);let u=function(e,t,r,a){if("linear"!==e.parameters.type)return;let n=t.linear,i=r.linear;if(!i)return;let s=[],o=e.parameters.linear;return k.forEach(e=>{let t=ve(e,o,n??{},i,a);t&&s.push(t)}),s}(i,s,o,a.shared);u?.length&&n.push(...u);let d=function(e,t,r,a){if("grid"!==e.parameters.type)return;let n=t.grid,i=r.grid;if(!i)return;let s=[],o=e.parameters.grid;return x.forEach(e=>{let t;t="count"===e?pe(e,o,n??{},i,a,!0):ve(e,o,n??{},i,a),t&&s.push(t)}),s}(i,s,o,a.shared);d?.length&&n.push(...d);let c=function(e,t,r,a){if("toObject"!==e.parameters.type)return;let n=t.toObject,i=r.toObject;if(!i)return;let s=[],o=e.parameters.toObject;return O.forEach(e=>{let t;t="count"===e?he(e,o,n??{},i,a,!0):ve(e,o,n??{},i,a),t&&s.push(t)}),s}(i,s,o,a.shared);c?.length&&n.push(...c);let h=function(e,t,r,a){if(!e.parameters.randomness)return;let n=t.randomnessObject,i=r.randomnessObject;if(!i)return;let s=[],o=e.parameters.randomnessObject;return B.forEach(e=>{let t=ve(e,o,n??{},i,a);t&&s.push(t)}),s}(i,s,o,a.shared);return h?.length&&n.push(...h),n.length&&n.push({update:()=>{i.update(a)}}),n}(a,n,d,c)),a instanceof m?(a instanceof g&&a.data.visible&&p.push(...function(e,t,r,a){let n=[];if(!("geometry"in r)||v(e))return n;let i=e.geometry.userData.parameters,s="geometry"in t?t.geometry:{},o=r.geometry;if(e instanceof u){let t=function(e,t,r,a){if(void 0===r.scaleBaked)return;let n=(t.scaleBaked??e.appliedGeometrySize??e.data.geometry.scaleBaked).map(e=>"string"==typeof e?Number(a.shared.getVariable(e)??0):e),i=r.scaleBaked.map(e=>"string"==typeof e?Number(a.shared.getVariable(e)??0):e);if(j.isEqual(n,i))return;let s=[];return s.push({update:t=>{e.updateGeometryInteractions({scaleBaked:[I.lerp(n[0],i[0],t),I.lerp(n[1],i[1],t),I.lerp(n[2],i[2],t)]},a.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(a)},start:()=>{e.updateGeometryInteractions({scaleBaked:n},a.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(a)},end:()=>{e.updateGeometryInteractions({scaleBaked:i},a.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(a)}}),s}(e,s,o,a);t&&n.push(...t)}else{let t={},r=e.appliedGeometrySize;if(Object.assign(t,y(i,N),r?{width:r[0],height:r[1],depth:r[2]}:{},y(s,N)),N.forEach(e=>{let r=ve(e,t,s,o,a.shared);r&&n.push(r)}),w(e)){Object.assign(t,{extrusion:{...i.extrusion}});let e=function(e,t,r,a){if(!r.extrusion)return;let n=e.extrusion,i=t.extrusion??{},s=r.extrusion,o=[];return G.forEach(e=>{let t=ve(e,n,i,s,a);t&&o.push(t)}),o}(t,s,o,a.shared);e&&n.push(...e)}n.length&&n.push({update:r=>{e.updateGeometryInteractions(t,a.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(a)},start:r=>{e.updateGeometryInteractions(t,a.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(a)},end:r=>{e.updateGeometryInteractions(t,a.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(a)}})}return n}(a,n,d,c)),a.data.visible&&!(a instanceof f&&a.materialOverride)&&p.push(...function(e,t,r,a){let n=[];if(Array.isArray(e.material)){if(!("materials"in r)||!r.materials)return n;let i="materials"in t&&t.materials?t.materials:[],s=r.materials;e.material.forEach((e,t)=>{if(!s[t])return;let r=i[t]??{},o=s[t];"string"==typeof r||"string"==typeof o||n.push(...Ae(e,r,o,a))})}else{if(!("material"in r)||!r.material)return n;let i="material"in t&&t.material?t.material:{},s=r.material;if("string"==typeof i||"string"==typeof s)return n;n.push(...Ae(e.material,i,s,a))}return n}(a,n,d,c.shared))):s.is(a)?a.data.visible&&p.push(...function(e,t,r,a){let n=[];if(void 0!==r.intensity){let i=he("intensity",e,t,r,a);i&&n.push(i)}if(void 0!==r.color){let i=function(e,t,r,a,n){let i=r[e]?r[e]:void 0,s=a[e];if(!s)return;let o=t[e],l=i?"string"==typeof i?n.getColor(i).clone():(new W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.getColor(s).clone():(new W).setRGB(s.r,s.g,s.b);if(l.equals(u))return;let d=o.clone();return{update:r=>{d.lerpColors(l,u,r),t[e]?.copy?.(d)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}("color",e,t,r,a);i&&n.push(i)}return n}(a,n,d,c.shared)):a instanceof i&&p.push(...function(e,t,r,a){let n=[],i="OrthographicCamera"===e.cameraType?t.orthographic?.zoom:t.perspective?.zoom,s="OrthographicCamera"===e.cameraType?r.orthographic?.zoom:r.perspective?.zoom;if(void 0!==s){let t=i??e.zoom,r=s;t!==r&&n.push({update:a=>{e.zoom=I.lerp(t,r,a),e.updateProjectionMatrix()},start:()=>{e.zoom=t,e.updateProjectionMatrix()},end:()=>{e.zoom=r,e.updateProjectionMatrix()}})}if(void 0!==r.targetOffset){let i=he("targetOffset",e,t,r,a);i&&n.push(i)}return n}(a,n,d,c.shared))),p.length?{update:e=>{p.forEach(t=>t.update(e))},start:e=>{p.forEach(t=>t.start?.(e))},end:e=>{p.forEach(t=>t.end?.(e))}}:void 0}var Oe={type:"beginState"};function Be(e){if(5===e.easing){let{control1:t,control2:r}=e;return{easing:5,control1:t??M.defaultData.control1,control2:r??M.defaultData.control2}}if(6===e.easing){let{mass:t,stiffness:r,damping:a,velocity:n}=e;return{easing:6,mass:t??V.defaultData.mass,stiffness:r??V.defaultData.stiffness,damping:a??V.defaultData.damping,velocity:n??V.defaultData.velocity}}return{easing:e.easing}}function Pe(e){return{delay:e.delay,delayDirection:e.delayDirection??"start-end",direction:e.direction??"normal",repeat:e.repeat}}var Ge={type:"completeState",isfromEntity:!1};function Ne(e,t){let r,a;if("string"==typeof t?(r=t,a=e.states?.[r]):null===t&&(r=null,a=e.data),void 0!==r&&void 0!==a)return{id:r,data:a}}var Ce=["position","rotation","scale","shear"],Ie=new Set;function Fe(e){if(e.length<2)return Ie;let t=new Set,[r,...a]=e;for(let e of Ce){let n=r[e];void 0!==n&&a.every(t=>b(t[e],n))&&t.add(e)}return t}var Te=class{constructor(e,t,r,a,n,i,s,o={},l=()=>Ie){var u;this.object=e,this.fromRef=t,this.toRef=r,this.data=a,this.sharedAssets=n,this.allowSlerp=i,this.page=s,this.hooks=o,this.inert=l,this.builtReversed=!1,this.startStateId=null,this.buildCallback=()=>{this.builtReversed=this.runner.isReversed,this.startStateId=S(this.object)?null:this.object.transitionState.state,this.callback=xe(this.object,{},function(e,t){if(0===t.size)return e;let r={...e};for(let e of t)delete r[e];return r}(this.end.data,this.inert()),{scene:this.page.scene,shared:this.sharedAssets},this.allowSlerp)},this.onChange=e=>{this.builtReversed!==this.runner.isReversed&&this.buildCallback(),this.callback&&(this.callback.update(e),this.object.requestRender()),this.writeState(e)},this.runner=new ue({duration:(u=a).duration,ease:Be(u),...Pe(u)},this.onChange,this.buildCallback),this.rebind()}rebind(){let{fromRef:e,toRef:t}=this;if(void 0===e){let e=Ne(this.object,this.object.currentState===t?this.object.prevState:this.object.currentState);if(!e)throw new Error("Missing property");this.from=e}else{let t=Ne(this.object,e);if(!t)throw new Error("Missing property");this.from=t}if(void 0===t)throw new Error("Missing property");let r=Ne(this.object,t);if(!r)throw new Error("Missing property");this.to=r,this.buildCallback()}refresh(){this.buildCallback()}get endpointData(){return[this.from.data,this.to.data]}get targetStateId(){return this.builtReversed?this.from.id:this.to.id}get start(){return this.builtReversed?this.to:this.from}get end(){return this.builtReversed?this.from:this.to}writeState(e){if(0===e||S(this.object))return;let t=1===e,r=e>.5?this.targetStateId:this.startStateId,a=this.object.transitionState;a.settled===t&&a.state===r||(this.object.transitionState={settled:t,state:r},this.object.reversibleToState=this.end.id,this.object.prevState!==this.object.currentState&&(this.object.prevState=this.object.currentState),this.object.currentState=r,this.object.dispatchEvent({type:"transitionState",settled:t,state:r}),this.object.dispatchEvent({type:t?"completeState":"beginState",state:r}),this.object.traverseEntity(e=>{e!==this.object&&e instanceof i&&e.dispatchEvent(t?Ge:Oe)}),t?this.hooks.onComplete?.(r):this.hooks.onBegin?.(r))}};export{oe as a,ue as b,Se as c,Re as d,ke as e,De as f,Oe as g,Be as h,Pe as i,Ge as j,Ne as k,Ie as l,Fe as m,Te as n};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./runtime-chunk-CU43M6LS.js";import"./runtime-chunk-2RB6BCNY.js";import"./runtime-chunk-WDJMWXET.js";import"./runtime-chunk-ZIN4ONCD.js";import"./runtime-chunk-UGWBMORK.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as m}from"./runtime-chunk-FDGOBWSB.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-FKNVV4NA.js";import{a as n}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-H3ODKGZ7.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";m.Cloner=r,n("cloners");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as r}from"./runtime-chunk-LC7UDVJH.js";import"./runtime-chunk-FDGOBWSB.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-FKNVV4NA.js";import{a as i,d as m}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-H3ODKGZ7.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";m("Hair",(i,m,n)=>new r(i,m,n)),i("hair");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as m}from"./runtime-chunk-IMGHBST4.js";import"./runtime-chunk-CU43M6LS.js";import"./runtime-chunk-2RB6BCNY.js";import"./runtime-chunk-QECK2FYM.js";import"./runtime-chunk-WDJMWXET.js";import"./runtime-chunk-ZIN4ONCD.js";import"./runtime-chunk-ZDRYEV47.js";import"./runtime-chunk-YXRS6NK6.js";import"./runtime-chunk-UGWBMORK.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-FDGOBWSB.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-FKNVV4NA.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-H3ODKGZ7.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";r("ShapeBlendGeometry",(n,r,t)=>new m(n,r,t)),n("shape-blends");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,c as t,d as i,e as a,f as n,g as s,j as r}from"./runtime-chunk-TJEWZRPR.js";import"./runtime-chunk-BKPSDPTT.js";import"./runtime-chunk-NTUTXO7Q.js";import"./runtime-chunk-HD7WF3XN.js";import{a as o}from"./runtime-chunk-PFXTH6TY.js";import{a as l}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-FTVQTRM7.js";import{a as h,b as c}from"./runtime-chunk-6TUFQBZH.js";import{a as d}from"./runtime-chunk-MDTSQB7K.js";import"./runtime-chunk-WDJMWXET.js";import"./runtime-chunk-ZIN4ONCD.js";import"./runtime-chunk-YXRS6NK6.js";import{ba as u,ha as p,ja as f}from"./runtime-chunk-UGWBMORK.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as m,e as y}from"./runtime-chunk-P7Y5SVAD.js";import{v as g}from"./runtime-chunk-FDGOBWSB.js";import"./runtime-chunk-RTLL6WIB.js";import{d as v}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-FKNVV4NA.js";import{a as k}from"./runtime-chunk-TZCHGFVF.js";import{A as D,B as x,D as T,E as j,Fa as E,Ka as b,La as O,Ma as C,ma as A,p as w,va as I,z as M}from"./runtime-chunk-H3ODKGZ7.js";import{Dc as F,Ec as S}from"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";var N=Math.fround;function _(e){return"pingpong"===e||"pingpong-rewind"===e}var B=class{constructor(e){this.config=e,this.effectiveCycleDuration=this.cycleDuration(0)}layout(e){let{config:t}=this;if(_(t.direction)&&e%2==1)return{startDelay:0,endDelay:0};switch(t.delayDirection){case"start-once":return 0===e?{startDelay:t.delay,endDelay:0}:{startDelay:0,endDelay:0};case"start":return{startDelay:t.delay,endDelay:0};case"end":return{startDelay:0,endDelay:t.delay};default:return{startDelay:t.delay,endDelay:t.delay}}}cycleDuration(e){let{config:t}=this,{startDelay:i,endDelay:a}=this.layout(e);return N(t.duration+i+a)}get totalDuration(){let{config:e}=this;if(-1===e.repeat)return 1/0;let t=0;for(let i=0;i<=e.repeat;i++)t=N(t+this.cycleDuration(i));return t}isFinished(e){return e>=this.totalDuration}resolve(e){let t,i,{config:a}=this,n=N(e);if("start-once"===a.delayDirection){let e=N(a.delay+a.duration);if(n<e)t=0,i=n;else{let s=N(n-e);t=1+Math.floor(N(s/a.duration)),i=N(s%a.duration)}}else if(_(a.direction)){let e=this.cycleDuration(0),s=N(e+a.duration),r=Math.floor(N(n/s)),o=N(n%s);o<e?(t=2*r,i=o):(t=2*r+1,i=N(o-e))}else{let e=this.cycleDuration(0);t=Math.floor(N(n/e)),i=N(n%e)}if(-1!==a.repeat&&t>=a.repeat+1)return null;let s,{startDelay:r}=this.layout(t),o=_(a.direction)&&t%2==1,l=r,h=N(l+a.duration);if(i<l)s=o?a.duration:0;else if(i>=h)s=o?0:a.duration;else{let e=N(i-l);s=o?N(a.duration-e):e}return{cycleIndex:t,localTime:s,isReverse:o}}},P=Math.fround;function R(e){return[...e].sort((e,t)=>e.time-t.time)}function z(e){return{easing:e.type,control1:b(e.cubicControls?.control1,[0,0]),control2:b(e.cubicControls?.control2,[1,1]),...e.springParameters}}function G(e,t){let i=[];for(let a of e??[]){let e=t(a.data);void 0!==e&&i.push({time:a.data.time,ease:z(a.data.easing),value:e})}return{keyframes:R(i)}}function K(t,i){if(0===t.keyframes.length)return;let{index0:a,index1:n,t:s}=function(t,i){if(0===t.length)throw new Error("sampleKeyframes requires at least one keyframe");if(i<=t[0].time)return{index0:0,index1:0,t:1};let{found:a,index:n}=function(e,t){let i=e.length,a=0,n=i;for(;a<n;){let s=a+Math.floor(i/2),r=e[s].time;if(r<t)a=s+1;else{if(!(r>t))return{found:!0,index:s};n=s}i=n-a}return{found:!1,index:a}}(t,i);if(a)return{index0:n,index1:n,t:1};if(n>=t.length){let e=t.length-1;return{index0:e,index1:e,t:1}}let s=n-1,r=n,o=t[s].time,l=t[r].time;if(l===o)return{index0:s,index1:r,t:.5};let h=P(l-o),c={...t[s].ease,control2:t[r].ease.control2};return{index0:s,index1:r,t:e(c,h,P(P(i-o)/h))}}(t.keyframes,i),r=t.read;if(r&&r.index0===a&&r.index1===n&&r.t===s)return;let o={index0:a,index1:n,from:t.keyframes[a].value,to:t.keyframes[n].value,t:s};return t.read=o,o}function U(e){e.read=void 0}function L(e,t,i){return e+(t-e)*i}function V(e,t,i){!e||(e[t]={...e[t],...i})}function W(e,s,r,l,u,p,m){let y=()=>{m.transform=!0,m.bounds=!0,m.boolean=!0,m.render=!0};switch(e.on){case"position":case"scale":{let t=K(e.track,r);if(!t)return;let i=L(t.from,t.to,t.t);return s[e.on][e.axis]=i,V(p,e.on,{[e.axis]:i}),void y()}case"rotation":{let t=K(e.track,r);if(!t)return;let i=L(t.from,t.to,t.t);return s.rotation[e.axis]=i*S.DEG2RAD,V(p,"rotation",{[e.axis]:i}),void y()}case"shapeSize":{let t=K(e.track,r);if(!(t&&s instanceof f))return;let i=L(t.from,t.to,t.t);return s.userData.value={...s.userData.value,[e.axis]:i},V(p,"shapeSize",{[e.axis]:i}),m.size=!0,m.bounds=!0,m.boolean=!0,void(m.render=!0)}case"opacity":{let t=K(e.track,r);if(!t||!(s instanceof g)||Array.isArray(s.material))return;let i=s.material.getLayersOfType("light")[0];if(void 0===i)return;let a=S.lerp(t.from,t.to,t.t);return s.material.transparent=!0,n("alphaOverride",i,{alphaOverride:a},{alphaOverride:a+1},0,l.shared),p&&(p.opacity=a),void(m.render=!0)}case"material":{let t=K(e.track,r);if(!t||0===Object.keys(t.from).length||0===Object.keys(t.to).length)return;let{layer:i}=e,a={};for(let e in i.data){if(!(e in t.from)||!(e in t.to))continue;let r=H(t.from[e],t.to[e],t.t,u);if(void 0===r)continue;a[e]=r;let o=i.getValue(e);void 0!==o&&("alpha"===e&&"number"==typeof o&&o>0&&s instanceof g&&!Array.isArray(s.material)&&(s.material.transparent=!0),n(e,i,t.from,t.to,t.t,l.shared))}return V(p,"material",{[i.uuid]:a}),void(m.render=!0)}case"light":{let t=K(e.track,r);if(!t||!(s instanceof h||s instanceof o||s instanceof c))return;let i=H(t.from,t.to,t.t,u);return s[e.field]=i,V(p,"light",{[e.field]:i}),void(m.render=!0)}case"camera":{let t=K(e.track,r);if(!(t&&s instanceof d))return;let i=L(t.from,t.to,t.t);return s[e.field]=i,void V(p,"camera",{[e.field]:i})}case"cloner":{let t=K(e.track,r);if(!t)return;let n=s.cloner?.parameters,o=i(n,t.from,t.to,t.t);return a(n,o),V(p,"cloner",o),m.cloner=!0,m.boolean=!0,void(m.render=!0)}case"pathExtrusion":{let i=K(e.track,r);if(!i||!v(s))return;let a=t(A,i.from,i.to,i.t),n=s.geometry.userData.parameters;return n.extrusion={...n.extrusion,...a},V(p,"pathExtrusion",a),s.updateGeometryInteractions({extrusion:{...n.extrusion}},l.shared),m.bounds=!0,m.boolean=!0,void(m.render=!0)}case"pathSnapping":{let i=K(e.track,r);if(!i)return;let a=s,n=t(I,i.from,i.to,i.t);return a.userData.pathSnapping={...a.userData.pathSnapping,...n},V(p,"pathSnapping",n),a.updatePathSnapping(a.userData.pathSnapping),void(m.render=!0)}}}function H(e,t,i,a){if("string"==typeof e&&a&&(e=a.color(e)),"string"==typeof t&&a&&(t=a.color(t)),"number"==typeof e)return S.lerp(e,t,i);if(j.is(e))return j.lerp(e,t,i);if(T.is(e))return T.lerp(e,t,i);if(Array.isArray(e))return(e.length>t.length?t:e).map((a,n)=>{if(Array.isArray(a)){let a=e[n].length>t[n].length?t[n].length:e[n].length;return(4===a?x:3===a?D:M).lerp(e[n],t[n],i)}return S.lerp(e[n],t[n],i)});if("object"==typeof e&&null!==e){let n={};for(let s in e){let r=H(e[s],t[s],i,a);void 0!==r&&(n[s]=r)}return n}}var Z=new Map,X=new Map,Q=class extends F{constructor(e,t,i,a,n,s,r){super(),this.id=e,this.data=t,this.scene=i,this.sharedAssets=a,this.object=n,this.eventType=s,this.actionCondition=r,this.evaluators=[],this.elapsed=0,this.lastTime=null,this.direction=1,this._playing=!1,this._finished=!1,this.hasPlayedOnce=!1,this.pauseOnNextCycleEnd=!1,this.lastCycleIndex=0;try{let e=E.findTimeline(this.scene.data.objects,this.data.timeline),t=e.duration;this.animatedObjectIds=Object.keys(e.objectTimelines),this.animatedObjectIds.forEach(n=>{let s=this.scene.find(n);if(!s)return;let r=e.objectTimelines[n];!r||this.evaluators.push(function(e,t,i,a,n){let s=function(e,t){let i=[];return O.groupKeyframes(t.keyframes).forEach(t=>{let a=t.path?.[0],n=t.path[1],s=()=>G(t.keyframes,e=>e.value);switch(a){case"position":case"rotation":case"scale":return void(n&&C.includes(n)&&i.push({on:a,axis:n,track:s()}));case"shape size":return void(n&&C.includes(n)&&"geometry"in e&&i.push({on:"shapeSize",axis:n,track:s()}));case"path extrusion":return void(v(e)&&i.push({on:"pathExtrusion",track:G(t.keyframes,e=>e.value)}));case"path snapping":return void(e.data.pathSnapping&&i.push({on:"pathSnapping",track:G(t.keyframes,e=>e.value)}));case"material":return void("Mesh"===e.type&&"material"in e&&function(e,t){let i=p(e.material)?e.material:void 0,a=t.layerId;if(!i||!a)return[];let n=t.keyframes.some(e=>u(e.data.value?.noiseStrength)),s=i.ensureRainbowNoiseCompiled,r=e=>{n&&"function"==typeof s&&s.call(i,e)},o=e=>"data"in e?[{on:"material",layer:e,track:G(t.keyframes,e=>e.value)}]:[];r(a);let l=i.getLayerByUuid(a);if(l)return o(l);let h=t.path[1];for(let e of i.getLayersOfType(h))r(e.uuid);return(i.getLayersOfType(h)??[]).flatMap(o)}(e,t).forEach(e=>i.push(e)));case"opacity":return void("Mesh"===e.type&&"material"in e&&i.push({on:"opacity",track:s()}));case"cloner":return void i.push({on:"cloner",track:G(t.keyframes,e=>e.value)});case"camera":return void(e instanceof d&&i.push({on:"camera",field:"zoom",track:s()}));case"light":return void((e instanceof h||e instanceof o||e instanceof c)&&i.push({on:"light",field:t.path[1],track:G(t.keyframes,e=>e.value)}))}}),i}(e,t);return{duration:i,evaluate(t,i){e.resetBBoxNeedsUpdate();let r={transform:!1,size:!1,cloner:!1,bounds:!1,boolean:!1,render:!1};for(let o of s)W(o,e,t,a,n,i,r);!function(e,t,i){if(t.size&&e instanceof f){let{x:t,y:a,z:n}=e.userData.value;e.updateGeometryInteractions({width:t,height:a,depth:n},i.shared)}t.cloner&&e.cloner?.update(i),t.transform&&e.updateMatrix(),t.bounds&&e.resetBBoxNeedsUpdate(),t.boolean&&e instanceof f&&e.invalidateDownstreamBooleanData(),t.render&&e.dispatchEvent({type:"requestRender"})}(e,r,a)},invalidate(){for(let e of s)U(e.track)}}}(s,{...r},t,{scene:i,shared:a},this.sharedAssets))}),this.schedule=new B((l=this.data,{duration:t,delay:N(l.delay/1e3),delayDirection:l.delayDirection??"start-end",direction:l.direction??"normal",repeat:l.repeat}))}catch(e){throw new Error("Missing property")}var l;n&&(X.has(n.uuid)?X.get(n.uuid).push(this):X.set(n.uuid,[this])),Z.set(e,this)}get playing(){return this._playing}get finished(){return this._finished}get paused(){return!this._playing}update(e){null!==this.lastTime&&(this.elapsed=Math.max(0,this.elapsed+(e-this.lastTime)*this.direction)),this.lastTime=e,this.applyAtElapsed()}applyAtElapsed(){if(-1===this.direction&&0===this.elapsed)return void this.pause();let e=this.schedule.resolve(this.elapsed);if(e){if(e.cycleIndex!==this.lastCycleIndex&&(this.lastCycleIndex=e.cycleIndex,this.pauseOnNextCycleEnd))return this.pauseOnNextCycleEnd=!1,void this.pause();for(let t of this.evaluators)t.evaluate(e.localTime)}else 1===this.direction&&this.schedule.isFinished(this.elapsed)&&this.finish()}finish(){this.pause(),this._finished=!0,this.animatedObjectIds.forEach(e=>{let t=this.scene.find(e);t instanceof d&&t.dispatchEvent(r)})}startTicking(){this._playing=!0,this.lastTime=null;for(let e of this.evaluators)e.invalidate();l.add(this)}play(){let e=void 0!==this.eventType&&w(this.eventType)&&"Once"===this.data.runMode&&this.hasPlayedOnce&&this.paused&&this.elapsed>0&&!this._finished;if(void 0!==this.eventType&&w(this.eventType)&&"Once"===this.data.runMode&&this.hasPlayedOnce&&!e||void 0===this.eventType&&this._finished)return!1;this.hasPlayedOnce=!0,this.animatedObjectIds.forEach(e=>{let t=this.scene.find(e);t instanceof d&&t.dispatchEvent(s)}),!e&&(0===this.elapsed||this._finished)&&(this.elapsed=0,this.lastCycleIndex=0,this._finished=!1),this.direction=1,this.startTicking()}pause(){this._playing=!1,this.lastTime=null,l.remove(this)}stop(){this.pause(),this.elapsed=0,this.lastCycleIndex=0,this.applyAtElapsed(),this._finished=!1}seek(e){let t=this.schedule.totalDuration;this.elapsed=e*(Number.isFinite(t)?t:this.schedule.effectiveCycleDuration);for(let e of this.evaluators)e.invalidate();this.applyAtElapsed()}toggle(e){let t=e??-1===this.direction;this._playing&&this.direction===(t?1:-1)?t&&(this.pauseOnNextCycleEnd=!1):(t?(this._finished&&(this.elapsed=0,this.lastCycleIndex=0,this._finished=!1),this.direction=1,this.pauseOnNextCycleEnd=!1):(this.direction=this.schedule.resolve(this.elapsed)?.isReverse?1:-1,this.pauseOnNextCycleEnd=!0),this.startTicking())}playFromCurrent(){this.toggle(!0)}reverseFromCurrent(){this.toggle(!1)}dispose(){this.pause()}},Y=class{constructor(e){this.data=e}dispatch(){this.data.playTimeline?this.pauseTimeline(this.data.playTimeline):this.data.object?this.pauseAllTimelinesFromObject(this.data.object):this.pauseAllTimelines()}pauseTimeline(e){let t=this.getTimelineActions(e);!t.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{t.forEach(e=>{e[this.data.interaction]()}),this.disposeDelay()},this.data.delay)):t.forEach(e=>{e[this.data.interaction]()}))}getTimelineActions(e){let t=Z.get(e);return t?[t]:[...Z.values()].filter(t=>t.data.timeline===e)}pauseAllTimelinesFromObject(e){let t=X.get(e);!t?.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{t.forEach(e=>e[this.data.interaction]()),this.disposeDelay()},this.data.delay)):t.forEach(e=>e[this.data.interaction]()))}pauseAllTimelines(){let e=[...X.values()];!e.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{e.forEach(e=>{e.forEach(e=>{e[this.data.interaction]()})}),this.disposeDelay()},this.data.delay)):e.forEach(e=>{e.forEach(e=>{e[this.data.interaction]()})}))}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){clearTimeout(this.timeoutId),delete this.timeoutId}},J=class{constructor(e,t,i,a,n,s,r){this.data=t;let o="interaction"in t?t.interaction:"play";if("play"===o||void 0===o)this.interaction=new Q(e,t,i,a,n,s,r);else{if("pause"!==o&&"stop"!==o)throw new Error("Missing property");this.interaction=new Y(t)}}get playing(){return this.interaction instanceof Q&&this.interaction.playing}get finished(){return!(this.interaction instanceof Q)||this.interaction.finished}get paused(){return!(this.interaction instanceof Q)||this.interaction.paused}play(){if(this.interaction instanceof Q)return this.interaction.play();this.interaction.dispatch()}stop(){this.interaction instanceof Q&&this.interaction.stop()}seek(e){this.interaction instanceof Q&&this.interaction.seek(e)}toggle(e){this.interaction instanceof Q?this.interaction.toggle(e):this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof Q?this.interaction.playFromCurrent():this.interaction.dispatch()}dispatchConditional(){this.interaction instanceof Q?y(this.interaction.sharedAssets,this.interaction.actionCondition)&&this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof Q&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};m("TimelineAnimation",({id:e,data:t,page:i,shared:a,object:n,eventType:s,actionCondition:r})=>new J(e,t,i.scene,a,n,s,r)),k("timeline");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as t,k as i,l as e,m as s,n}from"./runtime-chunk-TJEWZRPR.js";import"./runtime-chunk-BKPSDPTT.js";import"./runtime-chunk-NTUTXO7Q.js";import{a as r,b as a,e as o,g as h}from"./runtime-chunk-O4OBJK5I.js";import"./runtime-chunk-HD7WF3XN.js";import{a as c}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-FTVQTRM7.js";import{a as d}from"./runtime-chunk-MDTSQB7K.js";import"./runtime-chunk-WDJMWXET.js";import"./runtime-chunk-ZIN4ONCD.js";import"./runtime-chunk-YXRS6NK6.js";import"./runtime-chunk-UGWBMORK.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as l,e as m}from"./runtime-chunk-P7Y5SVAD.js";import"./runtime-chunk-FDGOBWSB.js";import"./runtime-chunk-RTLL6WIB.js";import{e as u}from"./runtime-chunk-2PT2WH66.js";import{a as p}from"./runtime-chunk-FKNVV4NA.js";import{a as g}from"./runtime-chunk-TZCHGFVF.js";import{p as A}from"./runtime-chunk-H3ODKGZ7.js";import{Dc as f,Ec as j}from"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";function y(t){let i=t.tweens[0]?.data;return{delay:i?.delay??t.delay,delayDirection:i?.delayDirection??"start-once",direction:i?.direction??t.direction,repeat:i?.repeat??t.repeat}}var w={state:null,duration:0,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,easing:0},T=class extends f{constructor(t,i,s,n,r,a){if(super(),this.eventType=t,this.data=i,this.page=s,this.shared=n,this.condition=r,this.runModeOverride=a,this.tweens=[],this.hasPlayedOnce=!1,this.inert=e,!i.object)throw new Error("Missing property");let o=this.page.scene.find(i.object)??this.page.uiCanvas?.find(i.object)??this.page.scene.find2DInUIObjects(i.object);if(!o)throw new Error("Missing property");if(!o.states)throw new Error("Missing property");if(this.object=o,i.tweens.length<2)throw new Error("Missing property");this.init()}get playing(){return!0===this.runner?.isPlaying}get animating(){return!0===this.runner?.isAnimating}get claimTime(){return this.runner?.claimTime}get contested(){let t=this.object.previousAction;return null!==t&&t!==this&&t.animating}init(){this.initialCurrentState=i(this.object,this.object.currentState).id,this.build()}shouldReinit(){return!!m(this.shared,this.condition)||!(this.animating&&!this.loopsForever)}get loopsForever(){return-1===y(this.data).repeat||this.data.tweens.some((t,i)=>i>0&&-1===t.data.repeat)}get runMode(){return void 0!==this.runModeOverride?this.runModeOverride:A(this.eventType)?this.data.runMode:"Repeat"}get currentState(){return"Toggle"===this.runMode?this.initialCurrentState:this.object.currentState}get opensOnCurrent(){return void 0===this.data.tweens[0].data.state&&"Toggle"!==this.runMode}build(){let i=this.data.tweens,e=[];try{let t=i[0].data.state;void 0!==t&&e.push(new n(this.object,t,t,w,this.shared,this.data.allowSlerp??!1,this.page,{},()=>this.inert));for(let t=1;t<i.length;t++){let s=i[t-1],r=i[t];e.push(new n(this.object,void 0===s.data.state?this.currentState:s.data.state,void 0===r.data.state?this.currentState:r.data.state,r.data,this.shared,this.data.allowSlerp??!1,this.page,{},()=>this.inert))}}catch(t){return void(t instanceof Error&&console.error(t.message))}this.tweens=e,this.syncInert(),this.runner=new h({...t(y(this.data)),runMode:this.runMode},e.map(t=>t.runner),{claim:t=>this.claimObject(t),assignCurrentState:()=>this.rebindTweens(),isOwner:()=>this.object.previousAction===this})}claimObject(t){if(this.object.previousAction===this)return!1;let i=this.object.previousAction;if(!0===i?.animating){if(void 0!==t&&void 0!==i.claimTime&&i.claimTime>t)return!1;i.pause()}return this.object.previousAction=this,!0}rebindTweens(){for(let t of this.tweens)try{t.rebind()}catch(t){t instanceof Error&&console.error(t.message)}this.syncInert(),this.object instanceof d&&this.object.wasMovedByUser&&(this.object.wasMovedByUser=!1)}syncInert(){let t=this.tweens.flatMap(t=>t.endpointData);if(this.opensOnCurrent&&t.length>0){let e=i(this.object,this.object.currentState);e&&(t[0]=e.data)}this.inert=this.notMovedByOwner(s(t));for(let t of this.tweens)t.refresh()}notMovedByOwner(t){let i=this.object.previousAction;if(0===t.size||null===i||i===this||!i.animating)return t;let e=i.leavesAlone;return new Set([...t].filter(t=>e.has(t)))}get leavesAlone(){return this.inert}update(t){this.runner?.update(t),!0!==this.runner?.isPlaying&&c.remove(this)}play(){if(!1===m(this.shared,this.condition)||"Once"===this.runMode&&this.hasPlayedOnce)return!1;this.hasPlayedOnce=!0,this.start()}start(){!this.runner||(this.runner.play(c.time),this.runner.isPlaying&&c.add(this))}pause(){this.runner?.stop(),c.remove(this)}stop(){this.pause();let t=void 0===this.data.tweens[0].data.state?this.initialCurrentState:this.data.tweens[0].data.state;u(this.object)?this.object.changeSelectedState(t,{shared:this.shared}):this.object.changeSelectedState(t,{scene:this.page.scene,shared:this.shared}),this.object.currentState=t}seek(t){if(!1===m(this.shared,this.condition))return!1;this.runner?.seek(t)}playDirected(t){if(!1===m(this.shared,this.condition))return!1;!this.runner||(this.runner.playDirected(c.time,t),this.runner.isPlaying&&c.add(this))}playFromCurrent(){this.playDirected(!0)}reverseFromCurrent(){this.playDirected(!1)}dispose(){this.pause()}},b=new Map;function C(t,i){if(void 0===i)return;let e=t.scene.find(i);return e?a(e):i}var v=class extends f{constructor(t,i,e,s,n){super(),this.page=i,this.animationControls=e,this.shared=s,this.condition=n,this.startOnceDelay=0,this.toggleIsForward=!1;let a=C(i,t.object)??t.object;this.data={...t,object:a};let o=this.animationControls.clipIdToAction[t.clipId+"/"+a];if(this.duration=o?.getClip()?.duration??1,this.data.crop2){let t=r(o?.getClip());this.leftFrameTime=this.data.crop2[0]/(t-1)*this.duration,this.rightFrameTime=this.data.crop2[1]/(t-1)*this.duration}else{let t=o?.getClip()?.tracks[0]?.times.length;t&&t>1?(this.leftFrameTime=this.data.crop[0]/t*this.duration,this.rightFrameTime=this.data.crop[1]/t*this.duration):(this.leftFrameTime=0,this.rightFrameTime=this.duration)}this.startOnceDelay=t.delay;let h=b.get(a);h||(h=new Set,b.set(a,h)),h.add(this)}get playing(){return this.threeAnimAction?.isRunning()??!1}cancelPending(){window.clearTimeout(this.timeoutId),delete this.timeoutId}resume(){let t=this.animationControls.clipIdToAction[this.data.clipId+"/"+this.data.object];return!(!t||!this.animationControls.resumeClip(t)||(this.threeAnimAction=t,0))}play(t=!1){if(!1===m(this.shared,this.condition))return!1;window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{this.resume()||(this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction&&this.animationControls.startClip(this.threeAnimAction,this.data.object,{start:this.leftFrameTime,end:this.rightFrameTime,fade:t?.2:0}))},this.startOnceDelay)}pause(){this.threeAnimAction&&(this.threeAnimAction.paused=!0),this.cancelPending()}stop(){this.threeAnimAction?.fadeOut(.2)}seek(t){this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction&&(this.threeAnimAction.paused=!0,this.threeAnimAction.time=j.clamp(this.threeAnimAction.time+1/60*t,this.leftFrameTime,this.rightFrameTime-16e-5),this.animationControls.needsUpdate=!0,this.animationControls.requestRender())}toggle(t,i=!1){if(!1===m(this.shared,this.condition))return!1;this.toggleIsForward=t??!this.toggleIsForward,this.threeAnimAction&&(this.threeAnimAction._loopCount=0),this.playing||this.resume()?this.threeAnimAction&&(this.threeAnimAction.timeScale=this.toggleIsForward?1:-1,this.toggleIsForward?(this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime):(this.threeAnimAction._clip.start=this.rightFrameTime,this.threeAnimAction._clip.duration=this.leftFrameTime)):this.timeoutId=window.setTimeout(()=>{if(this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction){this.toggleIsForward?(this.threeAnimAction.time=this.leftFrameTime,this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime):(this.threeAnimAction.time=this.rightFrameTime,this.threeAnimAction._clip.start=this.rightFrameTime,this.threeAnimAction._clip.duration=this.leftFrameTime),this.threeAnimAction.paused=!1,this.threeAnimAction.timeScale=this.toggleIsForward?1:-1;let t=this.data.clipId.split("/")[1];Object.entries(this.animationControls.clipIdToAction).forEach(([e,s])=>{let n=e.split("/")[1];this.threeAnimAction!==s&&n===t&&s.isRunning()&&(i?s.fadeOut(.2):s.stop())}),i&&this.threeAnimAction?.fadeIn(.2)}},this.startOnceDelay)}playFromCurrent(){this.toggle(!0)}reverseFromCurrent(){this.toggle(!1)}dispose(){let t=this.animationControls.clipIdToAction[this.data.clipId+"/"+this.data.object]?.getClip();t&&(t.duration=this.duration),this.pause();let i=b.get(this.data.object);i&&(i.delete(this),0===i.size&&b.delete(this.data.object))}},F=class{constructor(t,i,e){this.data=t,this.page=i,this.animationControls=e,this.objectId=C(i,t.object)}dispatch(){this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{this.apply(),this.disposeDelay()},this.data.delay)):this.apply()}targetsClip(t,i){return!(void 0!==this.objectId&&i!==this.objectId||this.data.clipId&&t!==this.data.clipId)}apply(){(void 0!==this.objectId?[b.get(this.objectId)]:[...b.values()]).forEach(t=>{t?.forEach(t=>{this.targetsClip(t.data.clipId,t.data.object)&&t.cancelPending()})}),this.animationControls.holdClips(this.data.interaction,(t,i)=>this.targetsClip(t,i))}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){this.disposeDelay()}},I=class{constructor(t,i,e,s,n){p.isPause(t)?this.interaction=new F(t,i,e):this.interaction=new v(t,i,e,s,n)}get data(){return this.interaction.data}get playing(){return this.interaction instanceof v&&this.interaction.playing}play(t=!1){if(this.interaction instanceof v)return this.interaction.play(t);this.interaction.dispatch()}pause(){this.interaction instanceof v&&this.interaction.pause()}stop(){this.interaction instanceof v&&this.interaction.stop()}seek(t){this.interaction instanceof v&&this.interaction.seek(t)}toggle(t,i=!1){if(this.interaction instanceof v)return this.interaction.toggle(t,i);this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof v?this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof v&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};o(n),l("Transition",({eventType:t,data:i,page:e,shared:s,actionCondition:n,runModeOverride:r})=>new T(t,i,e,s,n,r)),l("Animation",({data:t,page:i,eventManager:e,shared:s,actionCondition:n})=>new I(t,i,e.animationControls,s,n)),g("transitions");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ua as a,Va as e,Wa as t,Xa as s,Ya as u,Za as m,_a as c}from"./runtime-chunk-H3ODKGZ7.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";export{u as updateAllMaterials,c as updateDocumentSchema,m as updateLibSchema,e as updateMaterialSchema,t as updateObjectStateRec,s as updateObjectsSchema,a as updateTextValues};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Z`��8F��z����W��e)xar(_ �-Lk��0��zK��^=����a�SQ��n�N,�$�Iq��.�^��C`���!�<��-���h(9�l�`"܍*�Ť*f�I�,śiz������v��h�Aa=�g�{^��B�D7��N����P������
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|