@splinetool/runtime 2.0.55 → 2.0.57
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/bevel.js +314 -0
- package/build/bevel.js.br +0 -0
- package/build/bevel.js.gz +0 -0
- package/build/bevel.wasm +0 -0
- package/build/bevel.wasm.br +0 -0
- package/build/bevel.wasm.gz +0 -0
- package/build/hana-ui.js +33 -33
- package/build/hana-ui.js.br +0 -0
- package/build/hana-ui.js.gz +0 -0
- package/build/hana-ui.wasm +0 -0
- package/build/hana-ui.wasm.br +0 -0
- package/build/hana-ui.wasm.gz +0 -0
- package/build/{runtime-aiAssistant-QYI2OEAT.js → runtime-aiAssistant-CXQ5KRFS.js} +1 -1
- package/build/runtime-aiAssistant-CXQ5KRFS.js.br +0 -0
- package/build/runtime-aiAssistant-CXQ5KRFS.js.gz +0 -0
- package/build/{runtime-apiServices-NYOQMQZG.js → runtime-apiServices-FBQPIC7E.js} +1 -1
- package/build/runtime-apiServices-FBQPIC7E.js.br +0 -0
- package/build/runtime-apiServices-FBQPIC7E.js.gz +0 -0
- package/build/{runtime-audio-43VUDXSF.js → runtime-audio-7LXSIVLU.js} +1 -1
- package/build/runtime-audio-7LXSIVLU.js.br +0 -0
- package/build/runtime-audio-7LXSIVLU.js.gz +0 -0
- package/build/{runtime-chunk-NWHMFWZP.js → runtime-chunk-2NXWM6BD.js} +1 -1
- package/build/runtime-chunk-2NXWM6BD.js.br +0 -0
- package/build/runtime-chunk-2NXWM6BD.js.gz +0 -0
- package/build/{runtime-chunk-32TB3WEI.js → runtime-chunk-4EV5RMLQ.js} +1 -1
- package/build/runtime-chunk-4EV5RMLQ.js.br +0 -0
- package/build/runtime-chunk-4EV5RMLQ.js.gz +0 -0
- package/build/{runtime-chunk-IQ2SSVQ2.js → runtime-chunk-AFOG3EOO.js} +1 -1
- package/build/runtime-chunk-AFOG3EOO.js.br +0 -0
- package/build/runtime-chunk-AFOG3EOO.js.gz +0 -0
- package/build/{runtime-chunk-3S3C3OR3.js → runtime-chunk-AN2P4EN2.js} +1 -1
- package/build/runtime-chunk-AN2P4EN2.js.br +0 -0
- package/build/runtime-chunk-AN2P4EN2.js.gz +0 -0
- package/build/{runtime-chunk-JMQM3OK2.js → runtime-chunk-AOZCO4VY.js} +1 -1
- package/build/runtime-chunk-AOZCO4VY.js.br +0 -0
- package/build/runtime-chunk-AOZCO4VY.js.gz +0 -0
- package/build/{runtime-chunk-EKQV4UAL.js → runtime-chunk-B3QJDINU.js} +1 -1
- package/build/runtime-chunk-B3QJDINU.js.br +0 -0
- package/build/runtime-chunk-B3QJDINU.js.gz +0 -0
- package/build/{runtime-chunk-LSTSCWNH.js → runtime-chunk-BSEG6CWM.js} +1 -1
- package/build/runtime-chunk-BSEG6CWM.js.br +0 -0
- package/build/runtime-chunk-BSEG6CWM.js.gz +0 -0
- package/build/{runtime-chunk-GKWZMHHQ.js → runtime-chunk-EG55REW7.js} +1 -1
- package/build/runtime-chunk-EG55REW7.js.br +0 -0
- package/build/runtime-chunk-EG55REW7.js.gz +0 -0
- package/build/{runtime-chunk-SEHIWJXU.js → runtime-chunk-H3LGDNH2.js} +1 -1
- package/build/runtime-chunk-H3LGDNH2.js.br +0 -0
- package/build/runtime-chunk-H3LGDNH2.js.gz +0 -0
- package/build/runtime-chunk-H6NICSNO.js +1 -0
- package/build/runtime-chunk-H6NICSNO.js.br +0 -0
- package/build/runtime-chunk-H6NICSNO.js.gz +0 -0
- package/build/runtime-chunk-JXO7S6TH.js +1 -0
- package/build/runtime-chunk-JXO7S6TH.js.br +0 -0
- package/build/runtime-chunk-JXO7S6TH.js.gz +0 -0
- package/build/{runtime-chunk-6IUNMMMZ.js → runtime-chunk-KPQ22F5X.js} +1 -1
- package/build/runtime-chunk-KPQ22F5X.js.br +0 -0
- package/build/runtime-chunk-KPQ22F5X.js.gz +0 -0
- package/build/{runtime-chunk-EGVK6X4Y.js → runtime-chunk-LHMA4VIW.js} +1 -1
- package/build/runtime-chunk-LHMA4VIW.js.br +0 -0
- package/build/runtime-chunk-LHMA4VIW.js.gz +0 -0
- package/build/{runtime-chunk-5BIVRW5J.js → runtime-chunk-LM22QQY6.js} +1 -1
- package/build/{runtime-chunk-5BIVRW5J.js.br → runtime-chunk-LM22QQY6.js.br} +0 -0
- package/build/{runtime-chunk-5BIVRW5J.js.gz → runtime-chunk-LM22QQY6.js.gz} +0 -0
- package/build/{runtime-chunk-WMC34BBW.js → runtime-chunk-M3YLEACQ.js} +1 -1
- package/build/runtime-chunk-M3YLEACQ.js.br +0 -0
- package/build/runtime-chunk-M3YLEACQ.js.gz +0 -0
- package/build/{runtime-chunk-N3HGRYKV.js → runtime-chunk-NAUVESCV.js} +1 -1
- package/build/runtime-chunk-NAUVESCV.js.br +0 -0
- package/build/runtime-chunk-NAUVESCV.js.gz +0 -0
- package/build/{runtime-chunk-4LCOTWXH.js → runtime-chunk-Q7QYJUJN.js} +1 -1
- package/build/runtime-chunk-Q7QYJUJN.js.br +0 -0
- package/build/runtime-chunk-Q7QYJUJN.js.gz +0 -0
- package/build/{runtime-chunk-ZVHVXPOQ.js → runtime-chunk-RG2CIIUE.js} +1 -1
- package/build/runtime-chunk-RG2CIIUE.js.br +0 -0
- package/build/runtime-chunk-RG2CIIUE.js.gz +0 -0
- package/build/{runtime-chunk-UOWLNWXK.js → runtime-chunk-RLETXMN4.js} +1 -1
- package/build/runtime-chunk-RLETXMN4.js.br +0 -0
- package/build/runtime-chunk-RLETXMN4.js.gz +0 -0
- package/build/{runtime-chunk-K5K3WBU4.js → runtime-chunk-RW4RXPZP.js} +1 -1
- package/build/runtime-chunk-RW4RXPZP.js.br +0 -0
- package/build/runtime-chunk-RW4RXPZP.js.gz +0 -0
- package/build/{runtime-chunk-YDLPCWOV.js → runtime-chunk-SKEKGUY2.js} +1 -1
- package/build/runtime-chunk-SKEKGUY2.js.br +0 -0
- package/build/runtime-chunk-SKEKGUY2.js.gz +0 -0
- package/build/{runtime-chunk-QZSMEKZK.js → runtime-chunk-TICMTK6A.js} +1 -1
- package/build/runtime-chunk-TICMTK6A.js.br +0 -0
- package/build/runtime-chunk-TICMTK6A.js.gz +0 -0
- package/build/runtime-chunk-UM2WZDTE.js +1 -0
- package/build/runtime-chunk-UM2WZDTE.js.br +0 -0
- package/build/runtime-chunk-UM2WZDTE.js.gz +0 -0
- package/build/{runtime-chunk-7WCRQRVJ.js → runtime-chunk-WN7LYJQL.js} +1 -1
- package/build/runtime-chunk-WN7LYJQL.js.br +0 -0
- package/build/runtime-chunk-WN7LYJQL.js.gz +0 -0
- package/build/{runtime-chunk-BDYGMQDY.js → runtime-chunk-YO4ORKMI.js} +1 -1
- package/build/runtime-chunk-YO4ORKMI.js.br +2 -0
- package/build/runtime-chunk-YO4ORKMI.js.gz +0 -0
- package/build/{runtime-chunk-XOQHXVVZ.js → runtime-chunk-Z34P77VA.js} +1 -1
- package/build/runtime-chunk-Z34P77VA.js.br +0 -0
- package/build/runtime-chunk-Z34P77VA.js.gz +0 -0
- package/build/runtime-classicRuntime-BCBRZA5I.js +1 -0
- package/build/runtime-classicRuntime-BCBRZA5I.js.br +0 -0
- package/build/runtime-classicRuntime-BCBRZA5I.js.gz +0 -0
- package/build/runtime-cloners-KXUZRBVK.js +1 -0
- package/build/runtime-cloners-KXUZRBVK.js.br +0 -0
- package/build/runtime-cloners-KXUZRBVK.js.gz +0 -0
- package/build/{runtime-components-SP4557S4.js → runtime-components-TK5ZDPOW.js} +1 -1
- package/build/runtime-components-TK5ZDPOW.js.br +0 -0
- package/build/runtime-components-TK5ZDPOW.js.gz +0 -0
- package/build/{runtime-conditional-P3ULJSG2.js → runtime-conditional-2NJAHUCV.js} +1 -1
- package/build/runtime-conditional-2NJAHUCV.js.br +0 -0
- package/build/runtime-conditional-2NJAHUCV.js.gz +0 -0
- package/build/{runtime-createDestroy-RXVMOEMY.js → runtime-createDestroy-RIK2EVWW.js} +1 -1
- package/build/runtime-createDestroy-RIK2EVWW.js.br +0 -0
- package/build/runtime-createDestroy-RIK2EVWW.js.gz +0 -0
- package/build/{runtime-dragDrop-UVMNHHBK.js → runtime-dragDrop-2WAB3OJG.js} +1 -1
- package/build/runtime-dragDrop-2WAB3OJG.js.br +0 -0
- package/build/runtime-dragDrop-2WAB3OJG.js.gz +0 -0
- package/build/{runtime-gameControls-4UDJ56H7.js → runtime-gameControls-LKJXJWLV.js} +1 -1
- package/build/runtime-gameControls-LKJXJWLV.js.br +0 -0
- package/build/runtime-gameControls-LKJXJWLV.js.gz +0 -0
- package/build/runtime-hair-JE6BT5XS.js +1 -0
- package/build/runtime-hair-JE6BT5XS.js.br +1 -0
- package/build/runtime-hair-JE6BT5XS.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-WWRCDCSG.js → runtime-mergeStaticGeometries-ZZ2NVTAF.js} +1 -1
- package/build/runtime-mergeStaticGeometries-ZZ2NVTAF.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-ZZ2NVTAF.js.gz +0 -0
- package/build/{runtime-miscActions-2GQLURB6.js → runtime-miscActions-X6WCJQS6.js} +1 -1
- package/build/runtime-miscActions-X6WCJQS6.js.br +0 -0
- package/build/runtime-miscActions-X6WCJQS6.js.gz +0 -0
- package/build/{runtime-mouseHover-IQB5BXWV.js → runtime-mouseHover-AHV7O72A.js} +1 -1
- package/build/runtime-mouseHover-AHV7O72A.js.br +0 -0
- package/build/runtime-mouseHover-AHV7O72A.js.gz +0 -0
- package/build/{runtime-particles-PBWDRHMN.js → runtime-particles-IU74DFIR.js} +1 -1
- package/build/runtime-particles-IU74DFIR.js.br +0 -0
- package/build/runtime-particles-IU74DFIR.js.gz +0 -0
- package/build/runtime-paths-TJ3NTELX.js +1 -0
- package/build/runtime-paths-TJ3NTELX.js.br +0 -0
- package/build/runtime-paths-TJ3NTELX.js.gz +0 -0
- package/build/{runtime-resize-3F3ZSTR5.js → runtime-resize-ZO5VPIUJ.js} +1 -1
- package/build/runtime-resize-ZO5VPIUJ.js.br +0 -0
- package/build/runtime-resize-ZO5VPIUJ.js.gz +0 -0
- package/build/{runtime-sceneTransition-ZWT2B6HK.js → runtime-sceneTransition-5BOIXMYH.js} +1 -1
- package/build/runtime-sceneTransition-5BOIXMYH.js.br +0 -0
- package/build/runtime-sceneTransition-5BOIXMYH.js.gz +0 -0
- package/build/{runtime-scroll-XPPG3K3B.js → runtime-scroll-4GFGYBMX.js} +1 -1
- package/build/runtime-scroll-4GFGYBMX.js.br +0 -0
- package/build/runtime-scroll-4GFGYBMX.js.gz +0 -0
- package/build/runtime-shapeBlends-UNMTEEFX.js +1 -0
- package/build/runtime-shapeBlends-UNMTEEFX.js.br +3 -0
- package/build/runtime-shapeBlends-UNMTEEFX.js.gz +0 -0
- package/build/{runtime-text-LFJHKA7L.js → runtime-text-ZN4A7F2B.js} +1 -1
- package/build/runtime-text-ZN4A7F2B.js.br +0 -0
- package/build/runtime-text-ZN4A7F2B.js.gz +0 -0
- package/build/{runtime-textInputs-JNBPRFUX.js → runtime-textInputs-FBXBOXZH.js} +1 -1
- package/build/runtime-textInputs-FBXBOXZH.js.br +0 -0
- package/build/runtime-textInputs-FBXBOXZH.js.gz +0 -0
- package/build/runtime-timeline-673KGMVE.js +1 -0
- package/build/runtime-timeline-673KGMVE.js.br +0 -0
- package/build/runtime-timeline-673KGMVE.js.gz +0 -0
- package/build/{runtime-tracking-GE3OUJ2G.js → runtime-tracking-JL3BT5LY.js} +1 -1
- package/build/runtime-tracking-JL3BT5LY.js.br +0 -0
- package/build/runtime-tracking-JL3BT5LY.js.gz +0 -0
- package/build/runtime-transitions-M2EOAAH2.js +1 -0
- package/build/runtime-transitions-M2EOAAH2.js.br +0 -0
- package/build/runtime-transitions-M2EOAAH2.js.gz +0 -0
- package/build/{runtime-ui2d-FJ4CNEFM.js → runtime-ui2d-4CMFBZI7.js} +1 -1
- package/build/runtime-ui2d-4CMFBZI7.js.br +0 -0
- package/build/runtime-ui2d-4CMFBZI7.js.gz +0 -0
- package/build/{runtime-variables-IRTA2G43.js → runtime-variables-ZSNAR2ME.js} +1 -1
- package/build/runtime-variables-ZSNAR2ME.js.br +0 -0
- package/build/runtime-variables-ZSNAR2ME.js.gz +0 -0
- package/build/{runtime-vectorShapes-F34JMFR5.js → runtime-vectorShapes-BIA3SW6I.js} +1 -1
- package/build/runtime-vectorShapes-BIA3SW6I.js.br +0 -0
- package/build/runtime-vectorShapes-BIA3SW6I.js.gz +0 -0
- package/build/{runtime-video-3ET4F26V.js → runtime-video-BFI3XXUJ.js} +1 -1
- package/build/runtime-video-BFI3XXUJ.js.br +0 -0
- package/build/runtime-video-BFI3XXUJ.js.gz +0 -0
- package/build/runtime-webgpu-EUBP2RQZ.js +1 -0
- package/build/runtime-webgpu-EUBP2RQZ.js.br +0 -0
- package/build/runtime-webgpu-EUBP2RQZ.js.gz +0 -0
- package/build/runtime.cjs +463 -454
- 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-QYI2OEAT.js.br +0 -0
- package/build/runtime-aiAssistant-QYI2OEAT.js.gz +0 -0
- package/build/runtime-apiServices-NYOQMQZG.js.br +0 -0
- package/build/runtime-apiServices-NYOQMQZG.js.gz +0 -0
- package/build/runtime-audio-43VUDXSF.js.br +0 -0
- package/build/runtime-audio-43VUDXSF.js.gz +0 -0
- package/build/runtime-chunk-32TB3WEI.js.br +0 -0
- package/build/runtime-chunk-32TB3WEI.js.gz +0 -0
- package/build/runtime-chunk-3S3C3OR3.js.br +0 -0
- package/build/runtime-chunk-3S3C3OR3.js.gz +0 -0
- package/build/runtime-chunk-4LCOTWXH.js.br +0 -0
- package/build/runtime-chunk-4LCOTWXH.js.gz +0 -0
- package/build/runtime-chunk-6IUNMMMZ.js.br +0 -0
- package/build/runtime-chunk-6IUNMMMZ.js.gz +0 -0
- package/build/runtime-chunk-7WCRQRVJ.js.br +0 -0
- package/build/runtime-chunk-7WCRQRVJ.js.gz +0 -0
- package/build/runtime-chunk-BDYGMQDY.js.br +0 -1
- package/build/runtime-chunk-BDYGMQDY.js.gz +0 -0
- package/build/runtime-chunk-EGVK6X4Y.js.br +0 -0
- package/build/runtime-chunk-EGVK6X4Y.js.gz +0 -0
- package/build/runtime-chunk-EKQV4UAL.js.br +0 -0
- package/build/runtime-chunk-EKQV4UAL.js.gz +0 -0
- package/build/runtime-chunk-GKWZMHHQ.js.br +0 -0
- package/build/runtime-chunk-GKWZMHHQ.js.gz +0 -0
- package/build/runtime-chunk-IQ2SSVQ2.js.br +0 -0
- package/build/runtime-chunk-IQ2SSVQ2.js.gz +0 -0
- package/build/runtime-chunk-JMQM3OK2.js.br +0 -0
- package/build/runtime-chunk-JMQM3OK2.js.gz +0 -0
- package/build/runtime-chunk-JQ6QWUYF.js +0 -1
- package/build/runtime-chunk-JQ6QWUYF.js.br +0 -0
- package/build/runtime-chunk-JQ6QWUYF.js.gz +0 -0
- package/build/runtime-chunk-K5K3WBU4.js.br +0 -0
- package/build/runtime-chunk-K5K3WBU4.js.gz +0 -0
- package/build/runtime-chunk-LSTSCWNH.js.br +0 -0
- package/build/runtime-chunk-LSTSCWNH.js.gz +0 -0
- package/build/runtime-chunk-N3HGRYKV.js.br +0 -0
- package/build/runtime-chunk-N3HGRYKV.js.gz +0 -0
- package/build/runtime-chunk-NLZXZNT5.js +0 -1
- package/build/runtime-chunk-NLZXZNT5.js.br +0 -0
- package/build/runtime-chunk-NLZXZNT5.js.gz +0 -0
- package/build/runtime-chunk-NWHMFWZP.js.br +0 -0
- package/build/runtime-chunk-NWHMFWZP.js.gz +0 -0
- package/build/runtime-chunk-QZSMEKZK.js.br +0 -0
- package/build/runtime-chunk-QZSMEKZK.js.gz +0 -0
- package/build/runtime-chunk-SEHIWJXU.js.br +0 -0
- package/build/runtime-chunk-SEHIWJXU.js.gz +0 -0
- package/build/runtime-chunk-TNKUPXKL.js +0 -1
- package/build/runtime-chunk-TNKUPXKL.js.br +0 -0
- package/build/runtime-chunk-TNKUPXKL.js.gz +0 -0
- package/build/runtime-chunk-UOWLNWXK.js.br +0 -0
- package/build/runtime-chunk-UOWLNWXK.js.gz +0 -0
- package/build/runtime-chunk-WMC34BBW.js.br +0 -0
- package/build/runtime-chunk-WMC34BBW.js.gz +0 -0
- package/build/runtime-chunk-XOQHXVVZ.js.br +0 -0
- package/build/runtime-chunk-XOQHXVVZ.js.gz +0 -0
- package/build/runtime-chunk-YDLPCWOV.js.br +0 -0
- package/build/runtime-chunk-YDLPCWOV.js.gz +0 -0
- package/build/runtime-chunk-ZVHVXPOQ.js.br +0 -0
- package/build/runtime-chunk-ZVHVXPOQ.js.gz +0 -0
- package/build/runtime-classicRuntime-7CF5S54Q.js +0 -1
- package/build/runtime-classicRuntime-7CF5S54Q.js.br +0 -0
- package/build/runtime-classicRuntime-7CF5S54Q.js.gz +0 -0
- package/build/runtime-cloners-IA5NPLKP.js +0 -1
- package/build/runtime-cloners-IA5NPLKP.js.br +0 -1
- package/build/runtime-cloners-IA5NPLKP.js.gz +0 -0
- package/build/runtime-components-SP4557S4.js.br +0 -0
- package/build/runtime-components-SP4557S4.js.gz +0 -0
- package/build/runtime-conditional-P3ULJSG2.js.br +0 -0
- package/build/runtime-conditional-P3ULJSG2.js.gz +0 -0
- package/build/runtime-createDestroy-RXVMOEMY.js.br +0 -0
- package/build/runtime-createDestroy-RXVMOEMY.js.gz +0 -0
- package/build/runtime-dragDrop-UVMNHHBK.js.br +0 -0
- package/build/runtime-dragDrop-UVMNHHBK.js.gz +0 -0
- package/build/runtime-gameControls-4UDJ56H7.js.br +0 -0
- package/build/runtime-gameControls-4UDJ56H7.js.gz +0 -0
- package/build/runtime-hair-PXEZ3VET.js +0 -1
- package/build/runtime-hair-PXEZ3VET.js.br +0 -2
- package/build/runtime-hair-PXEZ3VET.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-WWRCDCSG.js.br +0 -5
- package/build/runtime-mergeStaticGeometries-WWRCDCSG.js.gz +0 -0
- package/build/runtime-miscActions-2GQLURB6.js.br +0 -0
- package/build/runtime-miscActions-2GQLURB6.js.gz +0 -0
- package/build/runtime-mouseHover-IQB5BXWV.js.br +0 -0
- package/build/runtime-mouseHover-IQB5BXWV.js.gz +0 -0
- package/build/runtime-particles-PBWDRHMN.js.br +0 -0
- package/build/runtime-particles-PBWDRHMN.js.gz +0 -0
- package/build/runtime-paths-4Y7RNNOC.js +0 -1
- package/build/runtime-paths-4Y7RNNOC.js.br +0 -0
- package/build/runtime-paths-4Y7RNNOC.js.gz +0 -0
- package/build/runtime-resize-3F3ZSTR5.js.br +0 -0
- package/build/runtime-resize-3F3ZSTR5.js.gz +0 -0
- package/build/runtime-sceneTransition-ZWT2B6HK.js.br +0 -0
- package/build/runtime-sceneTransition-ZWT2B6HK.js.gz +0 -0
- package/build/runtime-scroll-XPPG3K3B.js.br +0 -0
- package/build/runtime-scroll-XPPG3K3B.js.gz +0 -0
- package/build/runtime-shapeBlends-XV42E6V3.js +0 -1
- package/build/runtime-shapeBlends-XV42E6V3.js.br +0 -0
- package/build/runtime-shapeBlends-XV42E6V3.js.gz +0 -0
- package/build/runtime-text-LFJHKA7L.js.br +0 -0
- package/build/runtime-text-LFJHKA7L.js.gz +0 -0
- package/build/runtime-textInputs-JNBPRFUX.js.br +0 -0
- package/build/runtime-textInputs-JNBPRFUX.js.gz +0 -0
- package/build/runtime-timeline-5YUCVT7L.js +0 -1
- package/build/runtime-timeline-5YUCVT7L.js.br +0 -0
- package/build/runtime-timeline-5YUCVT7L.js.gz +0 -0
- package/build/runtime-tracking-GE3OUJ2G.js.br +0 -0
- package/build/runtime-tracking-GE3OUJ2G.js.gz +0 -0
- package/build/runtime-transitions-DRCW6GJC.js +0 -1
- package/build/runtime-transitions-DRCW6GJC.js.br +0 -0
- package/build/runtime-transitions-DRCW6GJC.js.gz +0 -0
- package/build/runtime-ui2d-FJ4CNEFM.js.br +0 -0
- package/build/runtime-ui2d-FJ4CNEFM.js.gz +0 -0
- package/build/runtime-variables-IRTA2G43.js.br +0 -0
- package/build/runtime-variables-IRTA2G43.js.gz +0 -0
- package/build/runtime-vectorShapes-F34JMFR5.js.br +0 -0
- package/build/runtime-vectorShapes-F34JMFR5.js.gz +0 -0
- package/build/runtime-video-3ET4F26V.js.br +0 -0
- package/build/runtime-video-3ET4F26V.js.gz +0 -0
- package/build/runtime-webgpu-DDM7K6ES.js +0 -1
- package/build/runtime-webgpu-DDM7K6ES.js.br +0 -0
- package/build/runtime-webgpu-DDM7K6ES.js.gz +0 -0
- /package/build/{runtime-chunk-C5BW2BYH.js → runtime-chunk-EFBUAWKV.js} +0 -0
- /package/build/{runtime-chunk-C5BW2BYH.js.br → runtime-chunk-EFBUAWKV.js.br} +0 -0
- /package/build/{runtime-chunk-C5BW2BYH.js.gz → runtime-chunk-EFBUAWKV.js.gz} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./runtime-chunk-32TB3WEI.js";import"./runtime-chunk-GKWZMHHQ.js";import"./runtime-chunk-K5K3WBU4.js";import"./runtime-chunk-XOQHXVVZ.js";import"./runtime-chunk-JQ6QWUYF.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as m}from"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-C5BW2BYH.js";import{a as n}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-K3UQCG3P.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";m.Cloner=r,n("cloners");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
W`�ø�۴����nh��M��~��sZ��(��e$%r�e��y���A-�0sM���C_�x��!����"���_L�N��5'�^�ʭ�.�!�T���b[pY�H�b�b����&F�̺�ŵ{������oi�+���ѣ�I �~�VrJ��(L�����C��H�k)�o4����_>
|
|
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-UOWLNWXK.js";import"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-C5BW2BYH.js";import{a as i,d as m}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-K3UQCG3P.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";m("Hair",(i,m,n)=>new r(i,m,n)),i("hair");
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
=
|
|
2
|
-
�2�����f����ɧ�-M���""ڲ�ظX"Ro���R�y�}�+��ɚ(g˙����N������:�:{��a"��n�J�x����bېҦtЛ?����p���.1 �b��`�x��
|
|
3
|
-
��Q��B�7�^�=��O����A?��Po4�.��Ng7|��Er-�;X�7�:�߳]t亼�e�zݖ���Ȗ��:8c�.��P�.�w����~�-��g�.�<7����F����u0����Κk}7�e~� �'��Q��:�'
|
|
4
|
-
b�3D��L�����#�g:�1�m��K5+]��Ν_-����m��ٟW�ƴs��b9ʽl��&��$�� ���*Ԍ��E]�z�I��3�dc�x���:��Kb{�?�7�+����E��8�u�QkaB�U��x%t�;-��e�A�,��p݊�
|
|
5
|
-
A��֘�S%���2=s`��Y�uH3ZY��g��������]���l�/�����es��.o�����%��P�J;��g�C�}�Ed�g6��x=�䃎P�kZ�%g �s��>^x�no�J%4����s�J@98w��)�XZ�WZ��Gg(�y:��S�6�u&x�&��w!���BX,CD@�L��ϒox�����!�o��X��Q��q�)���8����ގ������L�����%��x��Z���CX��~��N�W\W�)$�ajv���ŧ��UMy�O�`��I�
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,B as t,fa as s,r as i,s as n,t as a,u as r,v as o,w as l,x as h,y as u,z as p}from"./runtime-chunk-JQ6QWUYF.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{g as c,u as d}from"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-C5BW2BYH.js";import{a as m,f as g,h as y}from"./runtime-chunk-TZCHGFVF.js";import{ia as f,ja as v,ka as w}from"./runtime-chunk-K3UQCG3P.js";import{Cc as x,Dc as S,Fc as b,Gc as _,Oc as C,Zc as P,dd as M}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var A=class extends s{constructor(e,t,s){super(e,t,s),this.isPathObject=!0,this._shapeId=null,this._lastShapeParams=null,this._lastShape=null,this._context=s}updateState(e,t){super.updateState(e,t),this.updateShape(),this.refreshAttachedCloners(t)}updateShape(){let s,i={...this.data.geometry.extrusion.shape};for(let e in i)"string"==typeof i[e]&&(i[e]=this._context.shared.getVariable(i[e],[this.uuid,"geometry","extrusion","shape",e]));if("Custom"===i.type){let e=i.shapeId;if(e!==this._shapeId&&this.detachShape(),e){this._shapeId=e;let t=this._context.scene.find(e);t?.data&&(t.attachedPaths.add(this),s=t.geometry.userData?.shape),s||this._context.scene.addPendingCommand(()=>this.updateShape())}}else if(null!==this._lastShape&&this._sameShapeParams(i))s=this._lastShape;else{let n;switch(i.type){case"Rectangle":n=e;break;case"Ellipse":n=u;break;case"Polygon":n=p;break;case"Star":n=t;break;default:throw new Error(`Unknown shape type: ${i.type}`)}s=n.create({parameters:i}).userData.shape,this._lastShapeParams=i,this._lastShape=s??null}let n=this.geometry;s&&n.inputs&&(n.inputs.shapeData=s,n.build())}_sameShapeParams(e){let t=this._lastShapeParams;if(null===t)return!1;for(let s in e)if(!Object.is(e[s],t[s]))return!1;for(let s in t)if(!(s in e))return!1;return!0}detachShape(){null!==this._shapeId&&this._context.scene.find(this._shapeId)?.attachedPaths.delete(this)}supportsInPlaceGeometryUpdate(){return!1}createGeometryDelayed(e){this.geometryCreateDeleyed=e.shared,this.updateShape(),this.refreshAttachedPaths(e)}updateTransformState(e,t){return super.updateTransformState(e,t)}updateGeometryInteractions(e,t){super.updateGeometryInteractions(e,t),this.updateShape()}updateEntityBoxSize(e,t){let s=this.geometry.getAttribute("position");void 0!==s&&s.count>0?d(s,this.geometry.drawRange.start,this.geometry.drawRange.count<1/0?this.geometry.drawRange.count:s.count,e,t):super.updateEntityBoxSize(e,t)}},D=new C,I=new C,k=new C,O=new b,R=new b,T=new b,z=new b,E=new b,B=new b,j=new b,U=new WeakMap,F=new WeakMap,G=new WeakMap;function V(e){e.setIndex(null),e.setAttribute("position",new P(new Float32Array(0),3)),e.setAttribute("normal",new P(new Float32Array(0),3)),e.setAttribute("uv",new P(new Float32Array(0),2)),e.setDrawRange(0,0)}var N=class extends M{constructor(e){super(),this.type="PathExtrusionGeometry",this.inputs=e,this.build()}_isGeometryClosed(){return this.inputs.path.isClosed&&1===this.inputs.parameters.extrusion.depth}_isOpenEnded(){let e=this.inputs.parameters.extrusion;return!(this.inputs.path.isClosed&&1===e.depth&&function(e){let t=2*Math.PI;return(e%t+t)%t===(0%t+t)%t}(e.twist)&&e.startScale===e.endScale)}build(){let{points:e,matrices:t}=this._getSampledPath();if(e.length<2)return void V(this);let{depth:s,offset:i}=this.inputs.parameters.extrusion;s=Math.max(0,Math.min(s,1)),i=Math.max(0,Math.min(i,1));let n=this.inputs.path.isClosed?e.length:e.length-1,a=Math.floor(i*n),r=this.inputs.path.isClosed?Math.ceil((s+i)*n):Math.ceil(Math.min(1,s+i)*n),o=Math.min(Math.max(2,r-a+1),n+2),l=[],u=[];for(let s=0;s<o;s++){let i=this.inputs.path.isClosed?(s+a)%e.length:Math.min(s+a,e.length-1);l.push(e[i].clone()),u.push(t[i].clone())}let p=(e,t,s)=>{l[e]=l[e].clone().lerp(l[t],s),u[e]=function(e,t,s){let i=[new b,new b,new b],n=[new b,new b,new b];return e.extractBasis(i[0],i[1],i[2]),t.extractBasis(n[0],n[1],n[2]),i.forEach((e,t)=>{let i=n[t],a=x.lerp(e.length(),i.length(),s);e.lerp(i,s).setLength(a)}),(new C).makeBasis(i[0],i[1],i[2])}(u[e],u[t],s)},c=0,d=i*n%1;(!this.inputs.path.isClosed||s<=1)&&(d||0===i)&&(c=d,p(0,1,c));let m=0,g=(i+s)*n%1;if((this.inputs.path.isClosed&&s<=1||!this.inputs.path.isClosed&&i+s<1)&&g&&(m=g,p(l.length-1,l.length-2,1-m)),0===s){let e=l.length-1;l[e].copy(l[0]),u[e].copy(u[0])}this._applyPathModifiers(u,c,m);let{bevel:y,bevelSides:f}=this.inputs.parameters.extrusion,v=y>0?this.inputs.parameters.extrusion.capType:"flat",w=5;"Custom"===this.inputs.parameters.extrusion.shape.type&&(w="low"===this.inputs.parameters.extrusion.shape.shapeQuality?5:12);let S,{regions:_,infos:M,vertices:A}=this._getShapePoints(w),k=0;if("round"===v){let e=this.inputs.shapeData,t=G.get(e);void 0!==t&&t.bevel===y&&t.curveSegments===w&&t.bevelSides===f?S=t.geometry:(S=new h(e,2*y,y,w,f,void 0,!0),G.set(e,{bevel:y,curveSegments:w,bevelSides:f,geometry:S})),k=S.getAttribute("position").count}let O=0,R=0;M.sort((e,t)=>e.start-t.start),M.forEach(e=>{e.verticesStart=O,e.verticesCount=e.continuous.reduce((e,t,s)=>e+(0!==s&&t?1:2),0),R+=e.verticesCount,O=R});let T,z=R*o,E=0;this._isOpenEnded()&&"flat"===v&&(T=this._getSurfaceTesselation(_),E=T.vertexCount);let B=z+2*E+2*k,j=z+2*E,U={positions:new Float32Array(3*B),normals:new Float32Array(3*B),uvs:new Float32Array(2*B)},F=S?S.getIndex().array:null,N=0;M.forEach(e=>{N+=e.count});let H=N*(o-1)*6+(T?2*T.elementCount*3:0)+(F?2*F.length:0),W=new Uint32Array(H),q=0;if(M.forEach(e=>{q=this._extrudeRegion(e,A,u,l,U,W,q,this._isGeometryClosed()&&!this._isOpenEnded())}),T&&(q=this._closeEnd(T,z,W,q,U,u[0],l[0],!1),q=this._closeEnd(T,z+E,W,q,U,u[u.length-1],l[l.length-1],!0)),S){U.positions.set(S.getAttribute("position").array,3*j),U.normals.set(S.getAttribute("normal").array,3*j),U.uvs.set(S.getAttribute("uv").array,2*j);for(let e=j;e<j+k;e++)U.uvs[2*e+1]=1e-4;let e=q;for(let e=0;e<F.length;e++)W[q++]=F[e]+j;j+=k,U.positions.set(S.getAttribute("position").array,3*j),U.normals.set(S.getAttribute("normal").array,3*j),U.uvs.set(S.getAttribute("uv").array,2*j);let t=q;for(let e=0;e<F.length;e++)W[q++]=F[e]+j;this.setAttribute("position",new P(U.positions,3)),this.setAttribute("normal",new P(U.normals,3)),this.setAttribute("uv",new P(U.uvs,2)),this._setIndexFromUint32(W);let s=D;s.copy(u[u.length-1]).setPosition(l[l.length-1]),this.applyMatrix4OnRange(s,j,B),s.copy(u[0]).setPosition(l[0]).multiply(I.makeScale(1,1,-1)),this.applyMatrix4OnRange(s,j-k,j),this.reverseIndicesOnRange(e,t)}else this.setAttribute("position",new P(U.positions,3)),this.setAttribute("normal",new P(U.normals,3)),this.setAttribute("uv",new P(U.uvs,2)),this._setIndexFromUint32(W)}_setIndexFromUint32(e){let t=!1;for(let s=e.length-1;s>=0;--s)if(e[s]>=65535){t=!0;break}this.setIndex(new P(t?e:new Uint16Array(e),1))}_getSampledPath(){let e=this.inputs.path,t=c(e),s=U.get(t);if(void 0===s||s.subdivisions!==e.subdivisions||s.subdivisionMode!==e.subdivisionMode){let i=this._extractPathPoints(t),n=i.length<2?[]:this._computeBasisMatrices(i);s={subdivisions:e.subdivisions,subdivisionMode:e.subdivisionMode,points:i,matrices:n},U.set(t,s)}return s}_extractPathPoints(e){let t=this.inputs.path.subdivisions,s="uniform"===this.inputs.path.subdivisionMode?e.getSpacedPoints(4*t):e.getPoints(t);if(s.length<2)return[];let i=[s[0]];return s.forEach(e=>{i[i.length-1].distanceToSquared(e)>.001&&i.push(e)}),this.inputs.path.isClosed&&i[i.length-1].distanceTo(i[0])<.001&&i.pop(),i}_computeBasisMatrices(e){let t=[],s=e.length,i=this.inputs.path.isClosed,n=new b,a=new b,r=new b,o=new b,l=new b(0,1,0);for(let h=0;h<s;h++){let u,p,c=e[h];u=0===h?i?e[s-1]:O.copy(c).multiplyScalar(2).sub(e[1]):e[h-1],p=h===s-1?i?e[0]:O.copy(c).multiplyScalar(2).sub(e[h-1]):e[h+1],R.subVectors(c,u).normalize(),T.subVectors(p,c).normalize();let d=z.addVectors(R,T);d.lengthSq()<1e-10&&(d.copy(T),d.dot(r)<0&&d.negate()),d.normalize(),r.copy(d),0===h&&(d.equals(l)||E.copy(d).negate().equals(l))&&l.set(0,0,1);let m=B.crossVectors(l,d).normalize(),g=j.crossVectors(d,m).normalize();l.copy(g),o.copy(m),0===h&&(n.copy(g),a.copy(d));let y=(new C).makeBasis(m,g,d);t.push(y)}let h=i?a:r,u=i?n:new b(0,1,0),p=h.clone().cross(o).normalize(),c=Math.acos(u.dot(p));if(isNaN(c))return t;let d=u.clone().cross(p);h.dot(d)>0&&(c*=-1);for(let e=1;e<t.length;e++)t[e].multiply(k.makeRotationZ(c*e/t.length));return t}_applyPathModifiers(e,t,s){let i=e.length,{angle:n,twist:a,startScale:r,endScale:o}=this.inputs.parameters.extrusion,l=new C,h=new C;return e.forEach((e,u)=>{let p=0===u?0:u===i-1?1:(u-t)/(i-(0===s?0:1)-(t+(1-s)));l.makeRotationZ(x.lerp(n,n+a,p)*x.DEG2RAD);let c=x.lerp(r,o,p);h.makeScale(c,c,c),e.multiply(l).multiply(h)}),e}_getShapePoints(e,t=i.ODD){let s=this.inputs.shapeData,n=F.get(s);return(void 0===n||n.curveSegments!==e||n.windingRule!==t)&&(n={curveSegments:e,windingRule:t,shapePoints:this._computeShapePoints(e,t)},F.set(s,n)),n.shapePoints}_getSurfaceTesselation(e){let t,s=F.get(this.inputs.shapeData);if(void 0!==s?.surfaceTesselation)return s.surfaceTesselation;try{t=a({windingRule:i.ODD,elementType:n.POLYGONS,polySize:3,vertexSize:2,strict:!0,contours:e})}catch{t=l}return void 0!==s&&(s.surfaceTesselation=t),t}_computeShapePoints(e=12,t=i.ODD){let s,l,h=this.inputs.shapeData,u=h.extractShapePointsToFlatArray([],e),p=h.shapeHoles.map(t=>{let s=t.extractShapePointsToFlatArray([],e),i=[];for(let e=s.length-1;e>=1;e-=2){let t=s[e-1],n=s[e-0];i.push(t,n)}return i});try{s=a({windingRule:t,elementType:n.BOUNDARY_CONTOURS,vertexSize:2,strict:!0,contours:[u]})}catch{s=r}try{l=a({windingRule:i.ODD,elementType:n.BOUNDARY_CONTOURS,vertexSize:2,strict:!0,contours:[...p]})}catch{l=o}if(!s)throw new Error("error generating geometry");let c=s.elementCount;if(l){s.elementCount+=l.elementCount;for(let e=0;e<l.elements.length;e++){let t=l.elements[e],i=e%2==0?s.vertexCount:0;s.elements.push(t+i)}for(let e=0;e<l.vertexIndices.length;e++){let t=l.vertexIndices[e],i=s.vertexCount;s.vertexIndices.push(t+i)}for(let e=0;e<l.vertices.length;e++){let t=l.vertices[e];s.vertices.push(t)}}let d=1/0,m=-1/0,g=1/0,y=-1/0;for(let e=0,t=s.vertexCount;e<t;e++){let t=2*e,i=s.vertices[t+0],n=s.vertices[t+1];i<d&&(d=i),i>m&&(m=i),n<g&&(g=n),n>y&&(y=n)}let f=[];for(let e=s.elementCount-1;e>=0;e--){let t=e>=c,i=2*e,n=s.elements[i+0],a=s.elements[i+1],r=n+a,o={start:n,count:a,normals:[],isHole:t,continuous:[],verticesStart:0,verticesCount:0};f.push(o);let l=n,u=r-1,p=n+1,d=h.roundedCurves.length;do{let e=l-n,i=s.vertices[2*u+0],c=s.vertices[2*u+1],m=s.vertices[2*l+0],g=s.vertices[2*l+1],y=s.vertices[2*p+0],f=s.vertices[2*p+1],v=m-i,w=g-c,x=Math.sqrt(v*v+w*w);v/=x,w/=x;let S=m-y,b=g-f,_=Math.sqrt(S*S+b*b);S/=_,b/=_,o.normals[2*e+0]=-b,o.normals[2*e+1]=S;let C=s.vertexIndices[l];if(Array.isArray(C))o.continuous[e]=!1;else{let[t,s]=h.getCurveIndexFromVertexId(C-1,!0);if(s>0&&s<1)o.continuous[e]=!0;else{let i=1===s?t+1:t-1;i=(i+d)%d;let n=1===s?0:1,a=h.roundedCurves[t].getTangent(s),r=h.roundedCurves[i].getTangent(n);o.continuous[e]=a.dot(r)>.95}}t&&(o.normals[2*e+0]*=-1,o.normals[2*e+1]*=-1),[u,l,p]=[l,p,p+1],p>=r&&(p-=a)}while(p!==n+1)}return{regions:[u,...p],infos:f,vertices:s.vertices}}_insertVertex(e,t,s,i,n){let a=2*t,r=3*t;e.positions[r+0]=s.x,e.positions[r+1]=s.y,e.positions[r+2]=s.z,e.normals[r+0]=i.x,e.normals[r+1]=i.y,e.normals[r+2]=i.z,e.uvs[a+0]=n.x,e.uvs[a+1]=n.y}_extrudeRegion(e,t,s,i,n,a,r,o){let l=e.wallTemplate;if(void 0===l){l=[];for(let s=0;s<e.count;s++){let i,n,a=2*(e.start+s),r=t[a+0],o=t[a+1];if(e.continuous[s])i=e.normals[2*s+0],n=e.normals[2*s+1];else{let l=0===s?2*(e.start+e.count-1):a-2,h=r-t[l+0];i=-(o-t[l+1]),n=h,e.isHole||(i=-i,n=-n)}let h=0===s?1:s/e.count;if(l.push(r,o,i,n,h,0),!e.continuous[s]||0===s)if(0===s)l.push(r,o,e.normals[0],e.normals[1],0,1);else{let u=s===e.count-1?2*e.start:a+2,p=t[u+0]-r;i=-(t[u+1]-o),n=p,e.isHole||(i=-i,n=-n),l.push(r,o,i,n,h,1)}}e.wallTemplate=l}let h=s.length,u=l.length,p=n.positions,c=n.normals,d=n.uvs;for(let t=0;t<h;t++){let n=s[t].elements,a=n[0],r=n[1],o=n[2],m=n[4],g=n[5],y=n[6],f=n[12],v=n[13],w=n[14],x=i[t],S=t/(h-1),b=0,_=0,C=0,P=e.verticesStart*h+e.verticesCount*t;for(let e=0;e<u;e+=6){if(0===l[e+5]){let t=l[e+0],s=l[e+1];b=a*t+m*s+f+x.x,_=r*t+g*s+v+x.y,C=o*t+y*s+w+x.z}let t=l[e+2],s=l[e+3],i=a*t+m*s+f,n=r*t+g*s+v,h=o*t+y*s+w,u=1/(Math.sqrt(i*i+n*n+h*h)||1);i*=u,n*=u,h*=u;let M=2*P,A=3*P;p[A+0]=b,p[A+1]=_,p[A+2]=C,c[A+0]=i,c[A+1]=n,c[A+2]=h,d[M+0]=l[e+4],d[M+1]=S,P++}}let m=e.wallQuadPattern;if(void 0===m){m=[];let t=0;for(let s=0;s<e.count;s++)(!e.continuous[s]||0===s)&&t++,m.push(t,s===e.count-1?0:t+1),t++;e.wallQuadPattern=m}let g=h-1,y=m.length,f=e.isHole;for(let t=0;t<g;t++){let s=e.verticesStart*h+e.verticesCount*t,i=s+e.verticesCount;for(let e=0;e<y;e+=2){let t=s+m[e],n=s+m[e+1],o=i+m[e+1],l=i+m[e];f?(a[r++]=t,a[r++]=o,a[r++]=n,a[r++]=t,a[r++]=l,a[r++]=o):(a[r++]=t,a[r++]=n,a[r++]=o,a[r++]=t,a[r++]=o,a[r++]=l)}}return r}_closeEnd(e,t,s,i,n,a,r,o){let l=e.vertexCount,h=new b(0,0,o?-1:1).applyMatrix4(a),u=new b,p=new S;for(let s=0;s<l;s++){let i=2*s;u.set(e.vertices[i+0],e.vertices[i+1],0).applyMatrix4(a).add(r),this._insertVertex(n,t+s,u,h,p)}let c=e.elements;for(let n=0;n<e.elementCount;n++){let e=3*n;s[i++]=c[e+0]+t,s[i++]=c[e+(o?1:2)]+t,s[i++]=c[e+(o?2:1)]+t}return i}applyMatrix4OnRange(e,t,s){let i,n,a,r,o=e.elements,l=(new _).getNormalMatrix(e).elements,h=this.attributes.position,u=this.attributes.normal;if(!h||!u)return;let p=h.array,c=u.array,d=h.itemSize;for(let e=t*d,h=s*d;e<h;e+=d)i=p[e+0],n=p[e+1],a=p[e+2],r=1/(o[3]*i+o[7]*n+o[11]*a+o[15]),p[e+0]=(o[0]*i+o[4]*n+o[8]*a+o[12])*r,p[e+1]=(o[1]*i+o[5]*n+o[9]*a+o[13])*r,p[e+2]=(o[2]*i+o[6]*n+o[10]*a+o[14])*r,i=c[e+0],n=c[e+1],a=c[e+2],c[e+0]=l[0]*i+l[3]*n+l[6]*a,c[e+1]=l[1]*i+l[4]*n+l[7]*a,c[e+2]=l[2]*i+l[5]*n+l[8]*a;h.needsUpdate=!0,u.needsUpdate=!0}reverseIndicesOnRange(e,t){let s=this.index;if(s){for(let i=e;i<t;i+=3){let e=s.getX(i),t=s.getX(i+1),n=s.getX(i+2);s.setXYZ(i,n,t,e)}s.needsUpdate=!0}}};g("PathGeometry",(e,t,s)=>new A(e,t,s)),y("PathGeometry",class{static create(e){return this.build(this.normalizeInputs(e))}static normalizeInputs(e,t){let s=Object.assign({},t?.parameters??{width:100,height:100,depth:1,subdivisions:12,roundness:0,extrudeBevelSize:0,extrudeBevelSegments:3},e.parameters),i=Math.abs(s.width),n=Math.abs(s.height??s.width),a=Math.abs(s.depth??0),r=t?.shapeData??u.create({parameters:{...v,width:"number"==typeof v.width?v.width:100,height:"number"==typeof v.height?v.height:100}}).userData.shape;return{path:e.path??f.defaultData(),parameters:Object.assign(s,{width:i,height:n,depth:a,extrusion:{...w,...s.extrusion}}),shapeData:r}}static build(e){if(e.path.points.length>=2){let t=new N(e);return Object.assign(t,{userData:{...e,type:"PathGeometry"}})}{let t=new M;return V(t),Object.assign(t,{userData:{...e,type:"PathGeometry"}})}}}),m("3d-paths");
|
|
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-4LCOTWXH.js";import"./runtime-chunk-32TB3WEI.js";import"./runtime-chunk-GKWZMHHQ.js";import"./runtime-chunk-BDYGMQDY.js";import"./runtime-chunk-K5K3WBU4.js";import"./runtime-chunk-XOQHXVVZ.js";import"./runtime-chunk-SEHIWJXU.js";import"./runtime-chunk-LSTSCWNH.js";import"./runtime-chunk-JQ6QWUYF.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-C5BW2BYH.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-K3UQCG3P.js";import"./runtime-chunk-BVVSZMXD.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
|
|
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-TNKUPXKL.js";import"./runtime-chunk-QZSMEKZK.js";import"./runtime-chunk-NTUTXO7Q.js";import"./runtime-chunk-HD7WF3XN.js";import{a as o}from"./runtime-chunk-YDLPCWOV.js";import{a as l}from"./runtime-chunk-GGSUJEGZ.js";import{a as h,b as c}from"./runtime-chunk-NWHMFWZP.js";import"./runtime-chunk-EGVK6X4Y.js";import"./runtime-chunk-FTVQTRM7.js";import{a as d}from"./runtime-chunk-3S3C3OR3.js";import"./runtime-chunk-K5K3WBU4.js";import"./runtime-chunk-XOQHXVVZ.js";import"./runtime-chunk-LSTSCWNH.js";import{Z as u,da as p,fa as f}from"./runtime-chunk-JQ6QWUYF.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as m,e as y}from"./runtime-chunk-M6FFVLT6.js";import{v as g}from"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import{d as v}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-C5BW2BYH.js";import{a as k}from"./runtime-chunk-TZCHGFVF.js";import{A as x,B as D,D as T,E as j,Ea as E,Ja as b,Ka as C,La as O,la as w,p as I,ua as A,z as M}from"./runtime-chunk-K3UQCG3P.js";import{Bc as F,Cc as S}from"./runtime-chunk-BVVSZMXD.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}}},L=Math.fround;function P(e){return[...e].sort((e,t)=>e.time-t.time)}function V(e){return{easing:e.type,control1:b(e.cubicControls?.control1,[0,0]),control2:b(e.cubicControls?.control2,[1,1]),...e.springParameters}}function K(e,t){let i=[];for(let a of e??[]){let e=t(a.data);void 0!==e&&i.push({time:a.data.time,ease:V(a.data.easing),value:e})}return{keyframes:P(i)}}function U(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=L(l-o),c={...t[s].ease,control2:t[r].ease.control2};return{index0:s,index1:r,t:e(c,h,L(L(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 W(e){e.read=void 0}function z(e,t,i){return e+(t-e)*i}function G(e,t,i){!e||(e[t]={...e[t],...i})}function R(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=U(e.track,r);if(!t)return;let i=z(t.from,t.to,t.t);return s[e.on][e.axis]=i,G(p,e.on,{[e.axis]:i}),void y()}case"rotation":{let t=U(e.track,r);if(!t)return;let i=z(t.from,t.to,t.t);return s.rotation[e.axis]=i*S.DEG2RAD,G(p,"rotation",{[e.axis]:i}),void y()}case"shapeSize":{let t=U(e.track,r);if(!(t&&s instanceof f))return;let i=z(t.from,t.to,t.t);return s.userData.value={...s.userData.value,[e.axis]:i},G(p,"shapeSize",{[e.axis]:i}),m.size=!0,m.bounds=!0,m.boolean=!0,void(m.render=!0)}case"opacity":{let t=U(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=U(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=Z(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 G(p,"material",{[i.uuid]:a}),void(m.render=!0)}case"light":{let t=U(e.track,r);if(!t||!(s instanceof h||s instanceof o||s instanceof c))return;let i=Z(t.from,t.to,t.t,u);return s[e.field]=i,G(p,"light",{[e.field]:i}),void(m.render=!0)}case"camera":{let t=U(e.track,r);if(!(t&&s instanceof d))return;let i=z(t.from,t.to,t.t);return s[e.field]=i,void G(p,"camera",{[e.field]:i})}case"cloner":{let t=U(e.track,r);if(!t)return;let n=s.cloner?.parameters,o=i(n,t.from,t.to,t.t);return a(n,o),G(p,"cloner",o),m.cloner=!0,m.boolean=!0,void(m.render=!0)}case"pathExtrusion":{let i=U(e.track,r);if(!i||!v(s))return;let a=t(w,i.from,i.to,i.t),n=s.geometry.userData.parameters;return n.extrusion={...n.extrusion,...a},G(p,"pathExtrusion",a),s.updateGeometryInteractions({extrusion:{...n.extrusion}},l.shared),m.bounds=!0,m.boolean=!0,void(m.render=!0)}case"pathSnapping":{let i=U(e.track,r);if(!i)return;let a=s,n=t(A,i.from,i.to,i.t);return a.userData.pathSnapping={...a.userData.pathSnapping,...n},G(p,"pathSnapping",n),a.updatePathSnapping(a.userData.pathSnapping),void(m.render=!0)}}}function Z(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?D:3===a?x: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=Z(e[s],t[s],i,a);void 0!==r&&(n[s]=r)}return n}}var X=new Map,H=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 C.groupKeyframes(t.keyframes).forEach(t=>{let a=t.path?.[0],n=t.path[1],s=()=>K(t.keyframes,e=>e.value);switch(a){case"position":case"rotation":case"scale":return void(n&&O.includes(n)&&i.push({on:a,axis:n,track:s()}));case"shape size":return void(n&&O.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:K(t.keyframes,e=>e.value)}));case"path snapping":return void(e.data.pathSnapping&&i.push({on:"pathSnapping",track:K(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:K(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:K(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:K(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)R(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)W(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&&(H.has(n.uuid)?H.get(n.uuid).push(this):H.set(n.uuid,[this])),X.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&&I(this.eventType)&&"Once"===this.data.runMode&&this.hasPlayedOnce&&this.paused&&this.elapsed>0&&!this._finished;if(void 0!==this.eventType&&I(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=X.get(e);return t?[t]:[...X.values()].filter(t=>t.data.timeline===e)}pauseAllTimelinesFromObject(e){let t=H.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=[...H.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-TNKUPXKL.js";import"./runtime-chunk-QZSMEKZK.js";import"./runtime-chunk-NTUTXO7Q.js";import{a as r,b as a,d as o}from"./runtime-chunk-NLZXZNT5.js";import"./runtime-chunk-HD7WF3XN.js";import{a as h}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-EGVK6X4Y.js";import"./runtime-chunk-FTVQTRM7.js";import{a as c}from"./runtime-chunk-3S3C3OR3.js";import"./runtime-chunk-K5K3WBU4.js";import"./runtime-chunk-XOQHXVVZ.js";import"./runtime-chunk-LSTSCWNH.js";import"./runtime-chunk-JQ6QWUYF.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as d,e as m}from"./runtime-chunk-M6FFVLT6.js";import"./runtime-chunk-5BIVRW5J.js";import"./runtime-chunk-RTLL6WIB.js";import{e as l}from"./runtime-chunk-2PT2WH66.js";import{a as u}from"./runtime-chunk-C5BW2BYH.js";import{a as p}from"./runtime-chunk-TZCHGFVF.js";import{p as g}from"./runtime-chunk-K3UQCG3P.js";import{Bc as A,Cc as f}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";function j(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 y={state:null,duration:0,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,easing:0},b=class extends A{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 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()}get runMode(){return void 0!==this.runModeOverride?this.runModeOverride:g(this.eventType)?this.data.runMode:"Repeat"}get currentState(){return"Toggle"===this.runMode?this.initialCurrentState:this.object.currentState}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,y,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 o({...t(j(this.data)),runMode:this.runMode},e.map(t=>t.runner),{claim:()=>this.claimObject(),assignCurrentState:()=>this.rebindTweens(),isOwner:()=>this.object.previousAction===this})}claimObject(){return this.object.previousAction!==this&&(!0===this.object.previousAction?.animating&&this.object.previousAction.pause(),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 c&&this.object.wasMovedByUser&&(this.object.wasMovedByUser=!1)}syncInert(){this.inert=s(this.tweens.flatMap(t=>t.endpointData));for(let t of this.tweens)t.refresh()}update(t){this.runner?.update(t),!0!==this.runner?.isPlaying&&h.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(h.time),this.runner.isPlaying&&h.add(this))}pause(){this.runner?.stop(),h.remove(this)}stop(){this.pause();let t=void 0===this.data.tweens[0].data.state?this.initialCurrentState:this.data.tweens[0].data.state;l(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(h.time,t),this.runner.isPlaying&&h.add(this))}playFromCurrent(){this.playDirected(!0)}reverseFromCurrent(){this.playDirected(!1)}dispose(){this.pause()}},w=new Map,T=new WeakSet;function C(t,i){if(void 0===i)return;let e=t.scene.find(i);return e&&Array.isArray(e.identity)?e.identity[0]:i}var F=class extends A{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=w.get(a);h||(h=new Set,w.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||!T.has(t)||(T.delete(t),this.threeAnimAction=t,t.paused=!1,t.play(),this.animationControls.requestRender(),0))}play(t=!1){if(!1===m(this.shared,this.condition))return!1;window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{if(this.resume()||(this.threeAnimAction=this.animationControls.play(this.data),!this.threeAnimAction))return;T.delete(this.threeAnimAction),this.threeAnimAction.reset(),this.threeAnimAction.time=this.leftFrameTime,this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime;let i=this.data.object;Object.entries(this.animationControls.clipIdToAction).forEach(([e,s])=>{let n=e.split("/")[1];this.threeAnimAction!==s&&n===i&&(t?s.fadeOut(.2):s.stop())}),t&&this.threeAnimAction?.fadeIn(.2)},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=f.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=w.get(this.data.object);i&&(i.delete(this),0===i.size&&w.delete(this.data.object))}},I=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?[w.get(this.objectId)]:[...w.values()]).forEach(t=>{t?.forEach(t=>{this.targetsClip(t.data.clipId,t.data.object)&&t.cancelPending()})});let t=!1;Object.entries(this.animationControls.clipIdToAction).forEach(([i,e])=>{let[s,n]=i.split("/");if(this.targetsClip(s,n))if("pause"===this.data.interaction){if(!e.isRunning())return;e.paused=!0,T.add(e)}else{if(!e.enabled||!e.isRunning()&&!e.paused)return;e.paused=!0,T.delete(e),e.time=e._clip.start??0,e._loopCount=-1,t=!0}}),t&&(this.animationControls.needsUpdate=!0,this.animationControls.requestRender())}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){this.disposeDelay()}},v=class{constructor(t,i,e,s,n){u.isPause(t)?this.interaction=new I(t,i,e):this.interaction=new F(t,i,e,s,n)}get data(){return this.interaction.data}get playing(){return this.interaction instanceof F&&this.interaction.playing}play(t=!1){if(this.interaction instanceof F)return this.interaction.play(t);this.interaction.dispatch()}pause(){this.interaction instanceof F&&this.interaction.pause()}stop(){this.interaction instanceof F&&this.interaction.stop()}seek(t){this.interaction instanceof F&&this.interaction.seek(t)}toggle(t,i=!1){if(this.interaction instanceof F)return this.interaction.toggle(t,i);this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof F?this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof F&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};a(n),d("Transition",({eventType:t,data:i,page:e,shared:s,actionCondition:n,runModeOverride:r})=>new b(t,i,e,s,n,r)),d("Animation",({data:t,page:i,eventManager:e,shared:s,actionCondition:n})=>new v(t,i,e.animationControls,s,n)),p("transitions");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|