@splinetool/runtime 2.0.53 → 2.0.54
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-Q7WOWTCF.js → runtime-aiAssistant-QYI2OEAT.js} +1 -1
- package/build/runtime-aiAssistant-QYI2OEAT.js.br +0 -0
- package/build/runtime-aiAssistant-QYI2OEAT.js.gz +0 -0
- package/build/{runtime-apiServices-TWKYVKXK.js → runtime-apiServices-NYOQMQZG.js} +1 -1
- package/build/runtime-apiServices-NYOQMQZG.js.br +0 -0
- package/build/runtime-apiServices-NYOQMQZG.js.gz +0 -0
- package/build/{runtime-audio-EAVYJJ6Y.js → runtime-audio-43VUDXSF.js} +1 -1
- package/build/runtime-audio-43VUDXSF.js.br +0 -0
- package/build/runtime-audio-43VUDXSF.js.gz +0 -0
- package/build/{runtime-chunk-ZMIXFGXT.js → runtime-chunk-333ZOV2S.js} +1 -1
- package/build/runtime-chunk-333ZOV2S.js.br +0 -0
- package/build/runtime-chunk-333ZOV2S.js.gz +0 -0
- package/build/{runtime-chunk-5QJOECK2.js → runtime-chunk-4GLZNPR6.js} +1 -1
- package/build/runtime-chunk-4GLZNPR6.js.br +0 -0
- package/build/runtime-chunk-4GLZNPR6.js.gz +0 -0
- package/build/{runtime-chunk-4FY554U4.js → runtime-chunk-5QDCFNS4.js} +1 -1
- package/build/runtime-chunk-5QDCFNS4.js.br +0 -0
- package/build/runtime-chunk-5QDCFNS4.js.gz +0 -0
- package/build/{runtime-chunk-CE3IVQOC.js → runtime-chunk-5Y2MXXX6.js} +1 -1
- package/build/runtime-chunk-5Y2MXXX6.js.br +0 -0
- package/build/runtime-chunk-5Y2MXXX6.js.gz +0 -0
- package/build/runtime-chunk-77S3KKYT.js +1 -0
- package/build/runtime-chunk-77S3KKYT.js.br +0 -0
- package/build/runtime-chunk-77S3KKYT.js.gz +0 -0
- package/build/{runtime-chunk-RCBIOM5C.js → runtime-chunk-7AN6SYSU.js} +1 -1
- package/build/runtime-chunk-7AN6SYSU.js.br +0 -0
- package/build/runtime-chunk-7AN6SYSU.js.gz +0 -0
- package/build/{runtime-chunk-DQ7IJ33I.js → runtime-chunk-AE3KJLVD.js} +1 -1
- package/build/runtime-chunk-AE3KJLVD.js.br +0 -0
- package/build/runtime-chunk-AE3KJLVD.js.gz +0 -0
- package/build/{runtime-chunk-FIGFAP4C.js → runtime-chunk-B2LLDBVR.js} +1 -1
- package/build/runtime-chunk-B2LLDBVR.js.br +0 -0
- package/build/runtime-chunk-B2LLDBVR.js.gz +0 -0
- package/build/runtime-chunk-C5BW2BYH.js +1 -0
- package/build/runtime-chunk-C5BW2BYH.js.br +0 -0
- package/build/runtime-chunk-C5BW2BYH.js.gz +0 -0
- package/build/{runtime-chunk-CIOJTARL.js → runtime-chunk-CDUGB775.js} +1 -1
- package/build/runtime-chunk-CDUGB775.js.br +0 -0
- package/build/runtime-chunk-CDUGB775.js.gz +0 -0
- package/build/{runtime-chunk-4VJSN65D.js → runtime-chunk-CNYYWTRG.js} +1 -1
- package/build/runtime-chunk-CNYYWTRG.js.br +0 -0
- package/build/runtime-chunk-CNYYWTRG.js.gz +0 -0
- package/build/{runtime-chunk-42DQ6LLX.js → runtime-chunk-D4RTVX56.js} +1 -1
- package/build/runtime-chunk-D4RTVX56.js.br +0 -0
- package/build/runtime-chunk-D4RTVX56.js.gz +0 -0
- package/build/{runtime-chunk-GWROKMFV.js → runtime-chunk-G4XAQUT2.js} +1 -1
- package/build/runtime-chunk-G4XAQUT2.js.br +0 -0
- package/build/runtime-chunk-G4XAQUT2.js.gz +0 -0
- package/build/{runtime-chunk-NMRQ6IV4.js → runtime-chunk-K3UQCG3P.js} +1 -1
- package/build/runtime-chunk-K3UQCG3P.js.br +0 -0
- package/build/{runtime-chunk-NMRQ6IV4.js.gz → runtime-chunk-K3UQCG3P.js.gz} +0 -0
- package/build/{runtime-chunk-HUAJFVWQ.js → runtime-chunk-KD4RAVC6.js} +1 -1
- package/build/runtime-chunk-KD4RAVC6.js.br +0 -0
- package/build/runtime-chunk-KD4RAVC6.js.gz +0 -0
- package/build/{runtime-chunk-TGOKOORP.js → runtime-chunk-KG3JC3MU.js} +1 -1
- package/build/runtime-chunk-KG3JC3MU.js.br +0 -0
- package/build/runtime-chunk-KG3JC3MU.js.gz +0 -0
- package/build/{runtime-chunk-V2M6LVQI.js → runtime-chunk-LDVHB5FO.js} +1 -1
- package/build/runtime-chunk-LDVHB5FO.js.br +0 -0
- package/build/runtime-chunk-LDVHB5FO.js.gz +0 -0
- package/build/{runtime-chunk-UOHC2OET.js → runtime-chunk-M6FFVLT6.js} +1 -1
- package/build/runtime-chunk-M6FFVLT6.js.br +0 -0
- package/build/runtime-chunk-M6FFVLT6.js.gz +0 -0
- package/build/{runtime-chunk-6Z7YLZCH.js → runtime-chunk-M7VGJ5HW.js} +1 -1
- package/build/runtime-chunk-M7VGJ5HW.js.br +0 -0
- package/build/runtime-chunk-M7VGJ5HW.js.gz +0 -0
- package/build/{runtime-chunk-LCYPLCAI.js → runtime-chunk-ODVIMOLE.js} +1 -1
- package/build/runtime-chunk-ODVIMOLE.js.br +0 -0
- package/build/runtime-chunk-ODVIMOLE.js.gz +0 -0
- package/build/{runtime-chunk-QK72454A.js → runtime-chunk-QG5XINCE.js} +1 -1
- package/build/runtime-chunk-QG5XINCE.js.br +0 -0
- package/build/runtime-chunk-QG5XINCE.js.gz +0 -0
- package/build/{runtime-chunk-LWW3TFPR.js → runtime-chunk-R2PNQV2A.js} +1 -1
- package/build/runtime-chunk-R2PNQV2A.js.br +0 -0
- package/build/runtime-chunk-R2PNQV2A.js.gz +0 -0
- package/build/{runtime-chunk-DWJBFUZW.js → runtime-chunk-UUHLQQOF.js} +1 -1
- package/build/runtime-chunk-UUHLQQOF.js.br +0 -0
- package/build/runtime-chunk-UUHLQQOF.js.gz +0 -0
- package/build/{runtime-chunk-WW7RRGKX.js → runtime-chunk-V6DRGTD6.js} +1 -1
- package/build/runtime-chunk-V6DRGTD6.js.br +0 -0
- package/build/runtime-chunk-V6DRGTD6.js.gz +0 -0
- package/build/{runtime-chunk-2UL7M2VW.js → runtime-chunk-VNSXYJJ4.js} +1 -1
- package/build/runtime-chunk-VNSXYJJ4.js.br +0 -0
- package/build/runtime-chunk-VNSXYJJ4.js.gz +0 -0
- package/build/runtime-chunk-YMKCEDKL.js +1 -0
- package/build/runtime-chunk-YMKCEDKL.js.br +0 -0
- package/build/runtime-chunk-YMKCEDKL.js.gz +0 -0
- package/build/{runtime-chunk-ZXOJK5A6.js → runtime-chunk-YMO675HZ.js} +1 -1
- package/build/runtime-chunk-YMO675HZ.js.br +0 -0
- package/build/runtime-chunk-YMO675HZ.js.gz +0 -0
- package/build/{runtime-chunk-FYXIWPEB.js → runtime-chunk-YR2R64PI.js} +1 -1
- package/build/runtime-chunk-YR2R64PI.js.br +0 -0
- package/build/runtime-chunk-YR2R64PI.js.gz +0 -0
- package/build/{runtime-classicRuntime-PSJWHR3W.js → runtime-classicRuntime-NLCUPLCP.js} +1 -1
- package/build/runtime-classicRuntime-NLCUPLCP.js.br +0 -0
- package/build/runtime-classicRuntime-NLCUPLCP.js.gz +0 -0
- package/build/runtime-cloners-GW6RJNUX.js +1 -0
- package/build/runtime-cloners-GW6RJNUX.js.br +0 -0
- package/build/runtime-cloners-GW6RJNUX.js.gz +0 -0
- package/build/runtime-components-WP55QEHC.js +1 -0
- package/build/runtime-components-WP55QEHC.js.br +0 -0
- package/build/runtime-components-WP55QEHC.js.gz +0 -0
- package/build/{runtime-conditional-XSJDNYMV.js → runtime-conditional-P3ULJSG2.js} +1 -1
- package/build/runtime-conditional-P3ULJSG2.js.br +0 -0
- package/build/runtime-conditional-P3ULJSG2.js.gz +0 -0
- package/build/{runtime-createDestroy-3DJAEURL.js → runtime-createDestroy-6CB23YPW.js} +1 -1
- package/build/runtime-createDestroy-6CB23YPW.js.br +0 -0
- package/build/runtime-createDestroy-6CB23YPW.js.gz +0 -0
- package/build/{runtime-dragDrop-LIYELD7N.js → runtime-dragDrop-KAWO74LN.js} +1 -1
- package/build/runtime-dragDrop-KAWO74LN.js.br +0 -0
- package/build/runtime-dragDrop-KAWO74LN.js.gz +0 -0
- package/build/{runtime-gameControls-BG6EZYET.js → runtime-gameControls-64ESDOTZ.js} +1 -1
- package/build/runtime-gameControls-64ESDOTZ.js.br +0 -0
- package/build/runtime-gameControls-64ESDOTZ.js.gz +0 -0
- package/build/runtime-hair-NNKBNXJP.js +1 -0
- package/build/runtime-hair-NNKBNXJP.js.br +1 -0
- package/build/runtime-hair-NNKBNXJP.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-2UUVFTQ3.js → runtime-mergeStaticGeometries-3NTHH4WO.js} +1 -1
- package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.gz +0 -0
- package/build/{runtime-miscActions-OMOZBKVC.js → runtime-miscActions-YGY23LSE.js} +1 -1
- package/build/runtime-miscActions-YGY23LSE.js.br +0 -0
- package/build/runtime-miscActions-YGY23LSE.js.gz +0 -0
- package/build/{runtime-mouseHover-M5IWNDH7.js → runtime-mouseHover-VJCC3EWI.js} +1 -1
- package/build/runtime-mouseHover-VJCC3EWI.js.br +0 -0
- package/build/runtime-mouseHover-VJCC3EWI.js.gz +0 -0
- package/build/{runtime-particles-VNNGHRWB.js → runtime-particles-KXSCQ3XN.js} +1 -1
- package/build/runtime-particles-KXSCQ3XN.js.br +0 -0
- package/build/runtime-particles-KXSCQ3XN.js.gz +0 -0
- package/build/{runtime-paths-JMJGABOE.js → runtime-paths-MDXY75OZ.js} +1 -1
- package/build/runtime-paths-MDXY75OZ.js.br +0 -0
- package/build/runtime-paths-MDXY75OZ.js.gz +0 -0
- package/build/{runtime-resize-WI2WKGEB.js → runtime-resize-UQFQWVFH.js} +1 -1
- package/build/runtime-resize-UQFQWVFH.js.br +0 -0
- package/build/runtime-resize-UQFQWVFH.js.gz +0 -0
- package/build/{runtime-sceneTransition-ANVRIIG2.js → runtime-sceneTransition-L63GLGEP.js} +1 -1
- package/build/runtime-sceneTransition-L63GLGEP.js.br +0 -0
- package/build/runtime-sceneTransition-L63GLGEP.js.gz +0 -0
- package/build/{runtime-scroll-IDJKADT2.js → runtime-scroll-GAYM7P56.js} +1 -1
- package/build/runtime-scroll-GAYM7P56.js.br +0 -0
- package/build/runtime-scroll-GAYM7P56.js.gz +0 -0
- package/build/runtime-shapeBlends-GNZI2DZM.js +1 -0
- package/build/runtime-shapeBlends-GNZI2DZM.js.br +0 -0
- package/build/runtime-shapeBlends-GNZI2DZM.js.gz +0 -0
- package/build/{runtime-text-53BT3JCR.js → runtime-text-3FDUPNEN.js} +1 -1
- package/build/runtime-text-3FDUPNEN.js.br +0 -0
- package/build/runtime-text-3FDUPNEN.js.gz +0 -0
- package/build/{runtime-textInputs-XZPFNNAY.js → runtime-textInputs-ZGBP7XND.js} +1 -1
- package/build/runtime-textInputs-ZGBP7XND.js.br +0 -0
- package/build/runtime-textInputs-ZGBP7XND.js.gz +0 -0
- package/build/{runtime-timeline-WLUR7ICL.js → runtime-timeline-IA6DYERZ.js} +1 -1
- package/build/runtime-timeline-IA6DYERZ.js.br +0 -0
- package/build/runtime-timeline-IA6DYERZ.js.gz +0 -0
- package/build/{runtime-tracking-KUQBXRKT.js → runtime-tracking-SSZZY5QU.js} +1 -1
- package/build/runtime-tracking-SSZZY5QU.js.br +0 -0
- package/build/runtime-tracking-SSZZY5QU.js.gz +0 -0
- package/build/runtime-transitions-6BSS3AI5.js +1 -0
- package/build/runtime-transitions-6BSS3AI5.js.br +0 -0
- package/build/runtime-transitions-6BSS3AI5.js.gz +0 -0
- package/build/{runtime-ui2d-L2MIZ4G2.js → runtime-ui2d-DCWMMEO5.js} +1 -1
- package/build/runtime-ui2d-DCWMMEO5.js.br +0 -0
- package/build/runtime-ui2d-DCWMMEO5.js.gz +0 -0
- package/build/{runtime-updater-QYT2D73O.js → runtime-updater-6QPW4RJT.js} +1 -1
- package/build/runtime-updater-6QPW4RJT.js.br +1 -0
- package/build/runtime-updater-6QPW4RJT.js.gz +0 -0
- package/build/{runtime-variables-PI7YVOVR.js → runtime-variables-IRTA2G43.js} +1 -1
- package/build/runtime-variables-IRTA2G43.js.br +0 -0
- package/build/runtime-variables-IRTA2G43.js.gz +0 -0
- package/build/{runtime-vectorShapes-Y4HQJY6W.js → runtime-vectorShapes-REXTFJ55.js} +1 -1
- package/build/runtime-vectorShapes-REXTFJ55.js.br +0 -0
- package/build/runtime-vectorShapes-REXTFJ55.js.gz +0 -0
- package/build/{runtime-video-5C4ZCNVD.js → runtime-video-3ET4F26V.js} +1 -1
- package/build/runtime-video-3ET4F26V.js.br +0 -0
- package/build/runtime-video-3ET4F26V.js.gz +0 -0
- package/build/runtime-webgpu-IGBYLILS.js +1 -0
- package/build/runtime-webgpu-IGBYLILS.js.br +0 -0
- package/build/runtime-webgpu-IGBYLILS.js.gz +0 -0
- package/build/runtime.cjs +355 -355
- 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-Q7WOWTCF.js.br +0 -0
- package/build/runtime-aiAssistant-Q7WOWTCF.js.gz +0 -0
- package/build/runtime-apiServices-TWKYVKXK.js.br +0 -0
- package/build/runtime-apiServices-TWKYVKXK.js.gz +0 -0
- package/build/runtime-audio-EAVYJJ6Y.js.br +0 -0
- package/build/runtime-audio-EAVYJJ6Y.js.gz +0 -0
- package/build/runtime-chunk-2UL7M2VW.js.br +0 -0
- package/build/runtime-chunk-2UL7M2VW.js.gz +0 -0
- package/build/runtime-chunk-42DQ6LLX.js.br +0 -0
- package/build/runtime-chunk-42DQ6LLX.js.gz +0 -0
- package/build/runtime-chunk-4FY554U4.js.br +0 -0
- package/build/runtime-chunk-4FY554U4.js.gz +0 -0
- package/build/runtime-chunk-4VJSN65D.js.br +0 -0
- package/build/runtime-chunk-4VJSN65D.js.gz +0 -0
- package/build/runtime-chunk-5QJOECK2.js.br +0 -0
- package/build/runtime-chunk-5QJOECK2.js.gz +0 -0
- package/build/runtime-chunk-6Z7YLZCH.js.br +0 -0
- package/build/runtime-chunk-6Z7YLZCH.js.gz +0 -0
- package/build/runtime-chunk-BPWKE4TV.js +0 -1
- package/build/runtime-chunk-BPWKE4TV.js.br +0 -0
- package/build/runtime-chunk-BPWKE4TV.js.gz +0 -0
- package/build/runtime-chunk-CE3IVQOC.js.br +0 -0
- package/build/runtime-chunk-CE3IVQOC.js.gz +0 -0
- package/build/runtime-chunk-CIOJTARL.js.br +0 -0
- package/build/runtime-chunk-CIOJTARL.js.gz +0 -0
- package/build/runtime-chunk-DAXNYZOU.js +0 -1
- package/build/runtime-chunk-DAXNYZOU.js.br +0 -0
- package/build/runtime-chunk-DAXNYZOU.js.gz +0 -0
- package/build/runtime-chunk-DQ7IJ33I.js.br +0 -0
- package/build/runtime-chunk-DQ7IJ33I.js.gz +0 -0
- package/build/runtime-chunk-DWJBFUZW.js.br +0 -0
- package/build/runtime-chunk-DWJBFUZW.js.gz +0 -0
- package/build/runtime-chunk-FIGFAP4C.js.br +0 -0
- package/build/runtime-chunk-FIGFAP4C.js.gz +0 -0
- package/build/runtime-chunk-FYXIWPEB.js.br +0 -0
- package/build/runtime-chunk-FYXIWPEB.js.gz +0 -0
- package/build/runtime-chunk-GWROKMFV.js.br +0 -0
- package/build/runtime-chunk-GWROKMFV.js.gz +0 -0
- package/build/runtime-chunk-HUAJFVWQ.js.br +0 -0
- package/build/runtime-chunk-HUAJFVWQ.js.gz +0 -0
- package/build/runtime-chunk-LCYPLCAI.js.br +0 -0
- package/build/runtime-chunk-LCYPLCAI.js.gz +0 -0
- package/build/runtime-chunk-LWW3TFPR.js.br +0 -0
- package/build/runtime-chunk-LWW3TFPR.js.gz +0 -0
- package/build/runtime-chunk-NMRQ6IV4.js.br +0 -0
- package/build/runtime-chunk-QK72454A.js.br +0 -0
- package/build/runtime-chunk-QK72454A.js.gz +0 -0
- package/build/runtime-chunk-RCBIOM5C.js.br +0 -0
- package/build/runtime-chunk-RCBIOM5C.js.gz +0 -0
- package/build/runtime-chunk-TGOKOORP.js.br +0 -0
- package/build/runtime-chunk-TGOKOORP.js.gz +0 -0
- package/build/runtime-chunk-UOHC2OET.js.br +0 -0
- package/build/runtime-chunk-UOHC2OET.js.gz +0 -0
- package/build/runtime-chunk-V2M6LVQI.js.br +0 -0
- package/build/runtime-chunk-V2M6LVQI.js.gz +0 -0
- package/build/runtime-chunk-WW7RRGKX.js.br +0 -0
- package/build/runtime-chunk-WW7RRGKX.js.gz +0 -0
- package/build/runtime-chunk-YGGUUEFT.js +0 -1
- package/build/runtime-chunk-YGGUUEFT.js.br +0 -0
- package/build/runtime-chunk-YGGUUEFT.js.gz +0 -0
- package/build/runtime-chunk-ZMIXFGXT.js.br +0 -3
- package/build/runtime-chunk-ZMIXFGXT.js.gz +0 -0
- package/build/runtime-chunk-ZXOJK5A6.js.br +0 -0
- package/build/runtime-chunk-ZXOJK5A6.js.gz +0 -0
- package/build/runtime-classicRuntime-PSJWHR3W.js.br +0 -0
- package/build/runtime-classicRuntime-PSJWHR3W.js.gz +0 -0
- package/build/runtime-cloners-4ZDRWXX2.js +0 -1
- package/build/runtime-cloners-4ZDRWXX2.js.br +0 -0
- package/build/runtime-cloners-4ZDRWXX2.js.gz +0 -0
- package/build/runtime-components-LS75QLT7.js +0 -1
- package/build/runtime-components-LS75QLT7.js.br +0 -0
- package/build/runtime-components-LS75QLT7.js.gz +0 -0
- package/build/runtime-conditional-XSJDNYMV.js.br +0 -0
- package/build/runtime-conditional-XSJDNYMV.js.gz +0 -0
- package/build/runtime-createDestroy-3DJAEURL.js.br +0 -0
- package/build/runtime-createDestroy-3DJAEURL.js.gz +0 -0
- package/build/runtime-dragDrop-LIYELD7N.js.br +0 -0
- package/build/runtime-dragDrop-LIYELD7N.js.gz +0 -0
- package/build/runtime-gameControls-BG6EZYET.js.br +0 -0
- package/build/runtime-gameControls-BG6EZYET.js.gz +0 -0
- package/build/runtime-hair-2I5NL5AB.js +0 -1
- package/build/runtime-hair-2I5NL5AB.js.br +0 -2
- package/build/runtime-hair-2I5NL5AB.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-2UUVFTQ3.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-2UUVFTQ3.js.gz +0 -0
- package/build/runtime-miscActions-OMOZBKVC.js.br +0 -0
- package/build/runtime-miscActions-OMOZBKVC.js.gz +0 -0
- package/build/runtime-mouseHover-M5IWNDH7.js.br +0 -0
- package/build/runtime-mouseHover-M5IWNDH7.js.gz +0 -0
- package/build/runtime-particles-VNNGHRWB.js.br +0 -0
- package/build/runtime-particles-VNNGHRWB.js.gz +0 -0
- package/build/runtime-paths-JMJGABOE.js.br +0 -0
- package/build/runtime-paths-JMJGABOE.js.gz +0 -0
- package/build/runtime-resize-WI2WKGEB.js.br +0 -0
- package/build/runtime-resize-WI2WKGEB.js.gz +0 -0
- package/build/runtime-sceneTransition-ANVRIIG2.js.br +0 -0
- package/build/runtime-sceneTransition-ANVRIIG2.js.gz +0 -0
- package/build/runtime-scroll-IDJKADT2.js.br +0 -0
- package/build/runtime-scroll-IDJKADT2.js.gz +0 -0
- package/build/runtime-shapeBlends-RNRFZRZT.js +0 -1
- package/build/runtime-shapeBlends-RNRFZRZT.js.br +0 -2
- package/build/runtime-shapeBlends-RNRFZRZT.js.gz +0 -0
- package/build/runtime-text-53BT3JCR.js.br +0 -0
- package/build/runtime-text-53BT3JCR.js.gz +0 -0
- package/build/runtime-textInputs-XZPFNNAY.js.br +0 -0
- package/build/runtime-textInputs-XZPFNNAY.js.gz +0 -0
- package/build/runtime-timeline-WLUR7ICL.js.br +0 -0
- package/build/runtime-timeline-WLUR7ICL.js.gz +0 -0
- package/build/runtime-tracking-KUQBXRKT.js.br +0 -0
- package/build/runtime-tracking-KUQBXRKT.js.gz +0 -0
- package/build/runtime-transitions-YTBVQWF3.js +0 -1
- package/build/runtime-transitions-YTBVQWF3.js.br +0 -0
- package/build/runtime-transitions-YTBVQWF3.js.gz +0 -0
- package/build/runtime-ui2d-L2MIZ4G2.js.br +0 -0
- package/build/runtime-ui2d-L2MIZ4G2.js.gz +0 -0
- package/build/runtime-updater-QYT2D73O.js.br +0 -2
- package/build/runtime-updater-QYT2D73O.js.gz +0 -0
- package/build/runtime-variables-PI7YVOVR.js.br +0 -0
- package/build/runtime-variables-PI7YVOVR.js.gz +0 -0
- package/build/runtime-vectorShapes-Y4HQJY6W.js.br +0 -0
- package/build/runtime-vectorShapes-Y4HQJY6W.js.gz +0 -0
- package/build/runtime-video-5C4ZCNVD.js.br +0 -0
- package/build/runtime-video-5C4ZCNVD.js.gz +0 -0
- package/build/runtime-webgpu-6PJLXU7X.js +0 -1
- package/build/runtime-webgpu-6PJLXU7X.js.br +0 -0
- package/build/runtime-webgpu-6PJLXU7X.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.54",
|
|
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
|
|
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{D as e,d as a,e as t,f as r,w as n,y as o}from"./runtime-chunk-NMRQ6IV4.js";var i,d,l,u,s,f,c,p,h,g,A,b,m,y,w,D,v,k,B,S,j,x;(i||(i={})).emptyImage={data:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=",name:"empty"},(d||(d={})).is=function(e){return!0},(u=l||(l={})).defaultData={position:[0,0],scale:[1,1],rotation:0,shear:[0,0]},u.merge=function(e,a){return{position:a?.position??e.position,rotation:a?.rotation??e.rotation,scale:a?.scale??e.scale,shear:a?.shear??e.shear}},u.diff=function(e,t){return a({position:o.isEqual(e.position,t.position)?void 0:t.position,rotation:e.rotation===t.rotation?void 0:t.rotation,scale:o.isEqual(e.scale,t.scale)?void 0:t.scale,shear:e.shear&&t.shear&&o.isEqual(e.shear,t.shear)?void 0:t.shear})},(s||(s={})).defaultData={horizontalConstraint:0,verticalConstraint:0},(f||(f={})).defaultData={direction:"row",wrap:"unwrap",align:"top-left",gap:10,rowGap:10,autoGap:!1,autoRowGap:!1,leftPadding:8,rightPadding:8,topPadding:8,bottomPadding:8},(c||(c={})).defaultData={opacity:1,fill:{color:e.fromHexAndA(n,1),enabled:!0},stroke:{color:e.from0to1([0,0,0,1]),thickness:1,enabled:!1,mode:"inside"},layerBlur:{radius:2,enabled:!1},backgroundBlur:{radius:2,enabled:!1},dropShadow:{offset:[10,10],blurRadius:10,color:e.from0to1([0,0,0,1]),enabled:!1,spread:0},innerShadow:{offset:[10,10],blurRadius:10,color:e.from0to1([0,0,0,1]),enabled:!1,spread:0}},(h=p||(p={})).newEmpty=function(e,a){return{name:a}},h.patch=function(e,a){if(void 0===a)return e;let t={...e};return Object.assign(t,l.merge(t,a)),t=function(e,a){if(void 0===a)return e;let t={...e},r=["width","height","cornerRadius"];for(let e of r)e in t&&e in a&&void 0!==a[e]&&Object.assign(t,{[e]:a[e]});return t}(t,a),t=function(e,a){if(void 0===a)return e;let t={...e};return"fill"in t&&"fill"in a&&void 0!==a.fill&&Object.assign(t,{fill:{...t.fill,...a.fill}}),"stroke"in t&&"stroke"in a&&void 0!==a.stroke&&Object.assign(t,{stroke:{...t.stroke,...a.stroke}}),"layerBlur"in t&&"layerBlur"in a&&void 0!==a.layerBlur&&Object.assign(t,{layerBlur:{...t.layerBlur,...a.layerBlur}}),"backgroundBlur"in t&&"backgroundBlur"in a&&void 0!==a.backgroundBlur&&Object.assign(t,{backgroundBlur:{...t.backgroundBlur,...a.backgroundBlur}}),"dropShadow"in t&&"dropShadow"in a&&void 0!==a.dropShadow&&Object.assign(t,{dropShadow:{...t.dropShadow,...a.dropShadow}}),"innerShadow"in t&&"innerShadow"in a&&void 0!==a.innerShadow&&Object.assign(t,{innerShadow:{...t.innerShadow,...a.innerShadow}}),t}(t,a),t},h.toOps=function(e,a){let t,r=[];for(let[e,n]of Object.entries(a))"name"!==e&&(void 0===t&&(t={path:[],props:{},type:0},r.push(t)),t.props[e]=n);return r},(g||(g={})).defaultData={...l.defaultData,...s.defaultData,states:new r,events:new r,visible:!0,raycastLock:!1},(A||(A={})).defaultData={...g.defaultData,...c.defaultData},(b||(b={})).defaultData={cornerRadius:[0,0,0,0]},(m||(m={})).defaultData={...A.defaultData,type:"ellipse2d",width:100,height:100,name:"Ellipse"},(y||(y={})).defaultData={...A.defaultData,...b.defaultData,type:"rectangle2d",width:100,height:100,name:"Rectangle"},(w||(w={})).defaultData={...A.defaultData,type:"text2d",width:100,height:100,fontSize:12,lineHeight:1.2,letterSpacing:0,text:{textValue:"Hello world"},horizontalAlign:1,verticalAlign:1,textTransform:1,font:"Roboto_regular",name:"Text"},(D||(D={})).defaultData={...A.defaultData,type:"path2d",path:"",name:"Path"},(v||(v={})).is=function(e){return"ellipse2d"===e.type||"rectangle2d"===e.type||"text2d"===e.type||"vector2d"===e.type||"path2d"===e.type},(k||(k={})).defaultData={...g.defaultData,name:"Group",type:"group2d"},(B||(B={})).defaultData=()=>({...g.defaultData,...b.defaultData,...c.defaultData,name:"Frame",type:"frame2d",clipped:!0,width:200,height:200,fill:{color:e.fromHexAndA(4737101,1),enabled:!0},stroke:{color:e.fromHexAndA(0,1),thickness:1,enabled:!1,mode:"inside"},backgroundBlur:{radius:2,enabled:!1},layerBlur:{radius:2,enabled:!1}}),(e=>{e.defaultData=function(e){switch(e){case"rectangle2d":case"vector2d":return{...y.defaultData};case"ellipse2d":return{...m.defaultData};case"text2d":return{...w.defaultData};case"path2d":return{...D.defaultData};case"frame2d":return{...B.defaultData()};case"group2d":return{...k.defaultData}}},e.getPivot=function(e){return"width"in e&&"height"in e?["number"==typeof e.width?.5*e.width:0,"number"==typeof e.height?.5*e.height:0]:[0,0]},e.isResizeable=function(e){return"rectangle2d"===e.type||"ellipse2d"===e.type||"text2d"===e.type||"frame2d"===e.type},e.isAutoLayoutable=function(e){return"frame2d"===e.type&&void 0!==e.autoLayout},e.hasCorners=function(e){return"rectangle2d"===e.type||"frame2d"===e.type}})(S||(S={})),(x=j||(j={})).defaultData={name:"UI",type:"scene2d",objects:new t},x.emptyData=function(){return{type:"scene2d",objects:new t}};export{i as a,p as b,y as c,k as d,S as e,j as f};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,b as t}from"./runtime-chunk-GWROKMFV.js";import{b as a,e as i,g as r}from"./runtime-chunk-DQ7IJ33I.js";import{a as s}from"./runtime-chunk-TU4KDRKR.js";import{a as n}from"./runtime-chunk-4FY554U4.js";import{a as l,b as o}from"./runtime-chunk-HUAJFVWQ.js";import{U as h,d as u,e as c,ea as d,i as p}from"./runtime-chunk-LCYPLCAI.js";import{b as y,h as m,j as g,v as f}from"./runtime-chunk-5QJOECK2.js";import{c as b}from"./runtime-chunk-2PT2WH66.js";import{c as v,l as C}from"./runtime-chunk-TZCHGFVF.js";import{oa as k,ra as S,v as A,xa as w}from"./runtime-chunk-NMRQ6IV4.js";import{Ne as F,Oc as L,Tc as O,Uc as j,Vc as H,cd as M,jd as U,ld as B,ve as T}from"./runtime-chunk-BVVSZMXD.js";function D(e){return e instanceof d&&e.needsAO&&!b(e)&&!0!==e.isDecalObject}function z(e){let t=e.cloner;if(t&&Array.isArray(t.children))for(let a of t.children)a?.layers&&(a.layers.mask=e.layers.mask)}function I(e){return e.getLayersOfType("reflection").filter(e=>e.data.visible).length}function x(e){return e.getLayersOfType("reflection").some(e=>e.data.visible&&1===e.data.mirror)}function P(e){let t=1/0,a=-1/0;for(let i of e.getLayersOfType("reflection")){let e=i.data;if(!e.visible||1===e.mirror)continue;let r="number"==typeof e.blur?e.blur:null;t=Math.min(t,r??0),a=Math.max(a,r??10)}return t===1/0?null:{min:t,max:a}}function E(e){for(let t of e.getLayersOfType("reflection")){let e=t.data;if(!e.visible)continue;let{blur:a,thickness:i,steps:r,stepSize:s}=e;return"number"!=typeof a||"number"!=typeof i||"number"!=typeof r||"number"!=typeof s?"variable":{blur:a,thickness:i,steps:r,stepSize:s,tracingMode:1===e.tracingMode?1:0}}return null}function V(e,t){let a={outline:!1,cavity:!1},i=512&e.layers.mask,r=t.getLayersOfType("transmission"),s=t.getLayersOfType("outline"),n=I(t),h=t.getLayersOfType("cavity");return(s.length>0||h.length>0)&&(e.layers.set(8),r.length>0&&e.layers.enable(3),n>0&&e.layers.enable(4),a.outline=s.length>0,a.cavity=h.length>0,o(e),l(e)),0===r.length&&0===s.length&&0===h.length&&0===n&&e.layers.set(0),i&&e.layers.set(9),!i&&D(e)&&e.layers.enable(5),z(e),a}function W(e,t){if(!t.layers)return!1;let a=512&e.layers.mask,i=!1,r=t.getLayersOfType("transmission").filter(e=>e.data.visible),s=t.getLayersOfType("outline").filter(e=>e.data.visible),n=I(t),l=t.getLayersOfType("cavity").filter(e=>e.data.visible);return r.length>0&&(e.layers.set(3),(s.length>0||l.length>0)&&e.layers.enable(8),n>0&&e.layers.enable(4),i=!0),0===r.length&&0===s.length&&0===l.length&&0===n&&e.layers.set(0),a&&e.layers.set(9),!a&&D(e)&&e.layers.enable(5),z(e),i}function Q(e,t){var a;if(!t.layers)return!1;let i=512&e.layers.mask,r=!1,s=I(t),n=t.getLayersOfType("transmission").filter(e=>e.data.visible),l=t.getLayersOfType("outline").filter(e=>e.data.visible),o=t.getLayersOfType("cavity").filter(e=>e.data.visible);return s>0&&((a=e.userData).__splinePlanarMirror??(a.__splinePlanarMirror=0),e.layers.set(4),n.length>0&&e.layers.enable(3),(l.length>0||o.length>0)&&e.layers.enable(8),r=!0),0===s&&0===n.length&&0===l.length&&0===o.length&&e.layers.set(0),i&&e.layers.set(9),!i&&D(e)&&e.layers.enable(5),z(e),r}function _(e){let t={outline:!1,cavity:!1},a=e=>{t.outline=t.outline||e.outline,t.cavity=t.cavity||e.cavity};return e.traverseEntity(e=>{if(e instanceof d)if(Array.isArray(e.material))for(let t=0;t<e.material.length;t++)a(V(e,e.material[t]));else a(V(e,e.material))}),t}function G(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof d)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)W(e,e.material[a])&&(t=!0);else W(e,e.material)&&(t=!0)}),t}function R(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof d)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)Q(e,e.material[a])&&(t=!0);else Q(e,e.material)&&(t=!0)}),t}var K=new F,J=new L,N=new U,Y=new M;function Z(e,t,a,i=!1){let r=e.cloner;if(r){let s=null;if(e.raycast===B.prototype.raycast||e.raycast===f.prototype.raycast){let t=e.geometry;t&&(null===t.boundingSphere&&t.computeBoundingSphere(),s=t.boundingSphere)}for(let n of r.children){if(null!==s&&(Y.copy(s).applyMatrix4(n.matrixWorld),!t.ray.intersectsSphere(Y)))continue;let r=J.copy(n.matrixWorld).invert(),l=N.copy(t.ray).applyMatrix4(r),o=e.matrixWorld;l.applyMatrix4(o);let h=K;h.set(l.origin,l.direction),h.near=t.near,h.far=t.far,h.layers.mask=t.layers.mask;let u=h.intersectObject(e,!1);u.length>0&&a.push({...u[0],object:i?n:e})}}}var X=class extends(g(H)){constructor(e,t,a){if(super(),this.data=t,this.bgColor=new p(1,1,1,1),this.fog=null,this.backupFog=new j(16777215,.1,2e3),this.fogUseBGColor=!1,this.fogMode="linear",this.fogDensity=k.getDensity({}),this.fogHeightFalloff=k.getHeightFalloff({}),this.fogHeightBase=k.getHeightBase({}),this.isActive=!1,this.skyState=null,this.skyStateVersion=0,this.gradingState=null,this.skyHdriHolder=null,this.aoColor=new O,this.penumbraSizeArrayCache=null,this.super_Entity(e,t),this.personalCamera=new n(A,{...w.defaultData,...t.camera,name:"Personal Camera"}),this.personalCamera.objectHelper.visible=!1,this.add(this.personalCamera),this.activeCamera=this.personalCamera,this.ambientLight=new T(13882323,8553090,.75*Math.PI),this.ambientLight.name="Default Ambient Light",this.ambientLight.layers.enable(3),this.ambientLight.removeFromParent(),this.add(this.ambientLight),t.uiScene){let i=C();null===i?v("ui-2d","a page's 2D scene"):this.uiScene=new i.Scene2D((Array.isArray(e)?e[0]:e)+"-ui",t.uiScene,{dpr:window.devicePixelRatio,shared:a.shared})}else t.uiFrame&&this.createUICanvas(t.uiFrame,a)}get scene(){return this.parent}get postprocessing(){return this.data.postprocessing}get frameId(){return this.data.uiFrame}get frame(){return this.uiCanvas?.frame}createUICanvas(e,t){let a=C();null!==a?(this.uiCanvas=new a.UICanvas(this.uuid+"-uiscreen",window.innerWidth,window.innerHeight,t),this.uiCanvas.isScreenSpace=!0,this.uiCanvas.promise.then(()=>{this.uiCanvas?.applyFrame(e),this.uiCanvas?.applySize()})):v("ui-2d","a page's UI canvas")}updateVisible(){}setBackgroundColor(e){this.bgColor=e,!0===this.fogUseBGColor&&(this.backupFog.color=e)}entityChildrenCount(){return this.uiScene?this.uiScene.children.length:super.entityChildrenCount()}updateAmbientLight(e,t){void 0!==e.color&&(this.ambientLight.color=s(e.color,t)),void 0!==e.intensity&&(this.ambientLight.intensity=e.intensity*Math.PI),void 0!==e.enabled&&(e.enabled?this.add(this.ambientLight):this.remove(this.ambientLight))}onDeactive(){this.isActive=!1}onActive(e){this.isActive=!0,e.fog=this.fog,this.traverseEntity(e=>{e instanceof a&&e.recomputeBoolean()}),this.updateShadow(this.data.shadow)}forceMaterialsUpdate(){this.traverseEntity(e=>{if(e instanceof d)if(Array.isArray(e.material))for(let t of e.material)t.needsUpdate=!0;else e.material.needsUpdate=!0,e.material.dispose()})}updateShadow(e){if(void 0===e.softShadowQuality&&void 0===e.type||!this.isActive)return;let t=this.data.shadow,a=S.isSoft(t);h(a,t?.softShadowQuality)&&this.forceMaterialsUpdate()}updateFog(e,t){e.enabled?this.fog=this.backupFog:this.fog=null,this.isActive&&(this.scene.fog=this.fog),this.fogUseBGColor=e.useBackgroundColor,e.useBackgroundColor?this.backupFog.color.set(this.bgColor):this.backupFog.color=s(e.color,t),this.backupFog.near=e.near,this.backupFog.far=e.far,this.fogMode=k.getMode(e),this.fogDensity=k.getDensity(e),this.fogHeightFalloff=k.getHeightFalloff(e),this.fogHeightBase=k.getHeightBase(e)}updateSky(e,t){this.skyState=e??null,this.skyStateVersion++;let a=e?.hdri?.image;this.skyHdriHolder=null!=a?t.image(a):null}updateAo(e,t){void 0!==e.aoColor&&(this.aoColor=s(e.aoColor,t))}updateByOp(e,t,a,i){let r=this.data.uiFrame;super.updateByOp(e,t,a,i);let s=t;y(e.path,["fog"])?this.updateFog(s.fog,a.shared):y(e.path,["sky"])?this.updateSky(s.sky,a.shared):y(e.path,["grading"])?this.gradingState=s.grading??null:y(e.path,["ao"])?this.updateAo(s.ao,a.shared):y(e.path,["ambient"])?this.updateAmbientLight(s.ambient,a.shared):y(e.path,["shadow"])?this.updateShadow(s.shadow):0===e.type&&0===e.path.length&&(void 0!==e.props.uiFrame||r!==s.uiFrame)&&this.updateUIFrame(e.props.uiFrame,a)}updateUIFrame(e,t){e?(this.uiCanvas||this.createUICanvas(e,t),this.uiCanvas.enabled=!0,this.uiCanvas.applyFrame(e)):this.uiCanvas&&(this.uiCanvas.enabled=!1)}updateState(e,t){this.updateState_Entity(e,t),void 0!==e.backgroundColor&&this.setBackgroundColor(s(e.backgroundColor,t.shared)),void 0!==e.fog&&this.updateFog(e.fog,t.shared),void 0!==e.sky&&this.updateSky(e.sky,t.shared),void 0!==e.grading&&(this.gradingState=e.grading),void 0!==e.ambient&&this.updateAmbientLight(e.ambient,t.shared),void 0!==e.ao&&this.updateAo(e.ao,t.shared),void 0!==e.shadow&&this.updateShadow(e.shadow)}createFrame(e,t){}raycast(e,t){super.raycast(e,t)}switchActiveCamera(e){e&&e.isDescendantOf(this)&&(this.activeCamera!==this.personalCamera&&(this.activeCamera.objectHelper.visible=!0),this.activeCamera=e,e.objectHelper.visible=!1)}get playCamera(){return this.scene?.find(this.data.publish.playCamera)??this.personalCamera}switchToPlayCamera(){this.switchActiveCamera(this.playCamera)}get penumbraSizeArray(){return null===this.penumbraSizeArrayCache&&this.updatePenumbraSizeArray(),this.penumbraSizeArrayCache}updatePenumbraSizeArray(){this.penumbraSizeArrayCache=new Array(u).fill(.5);let a=0,i=0;this.traverseEntity(r=>{if(!r.visible)return!0;r instanceof e&&r.visible&&a<c&&(this.penumbraSizeArrayCache[a]=r.data.penumbraSize??.5,a+=1),r instanceof t&&r.visible&&a<u-c&&(this.penumbraSizeArrayCache[c+i]=r.data.penumbraSize??.5,i+=1)})}raycastWithClones(e){let t=[],a=s=>{for(let n of s.children){let s=n.cloner;m.is(n)&&(n.visible||s?.object.data.visible)&&((i(n)||r(n)&&this.scene.enableHelpers&&n.objectHelper.visible)&&(e.intersectObject(n,!1,t),Z(n,e,t,!0)),a(n))}};return a(this),t}updateEntity2DByOp(e,t,a,i){this.uiCanvas?.updateEntity2DByOp(e,t,a,i)}};export{x as a,P as b,E as c,_ as d,G as e,R as f,Z as g,X as h};
|
|
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
|
-
import{e,g as t,j as r}from"./runtime-chunk-V2M6LVQI.js";import{a,b as n}from"./runtime-chunk-HD7WF3XN.js";import{c as i,e as s,f as o}from"./runtime-chunk-DQ7IJ33I.js";import{a as l}from"./runtime-chunk-4FY554U4.js";import{b as u}from"./runtime-chunk-RCBIOM5C.js";import{V as d,Z as c,_ as p,ea as h,fa as f,i as g}from"./runtime-chunk-LCYPLCAI.js";import{v as m}from"./runtime-chunk-5QJOECK2.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,F as V,G as A,L as M,M as D,N as R,O as k,P as x,Q as E,ba as O,ka as C,na as B,y as I,z as P}from"./runtime-chunk-NMRQ6IV4.js";import{Cc as N,Dc as G,Ec as F,Fc as z,Oc as q,Pc as T,Tc as L}from"./runtime-chunk-BVVSZMXD.js";var W=Math.fround,Q=[.01,100],U=[.01,1e4],H=[.01,1e3],J=[.01,1e3];function X(e,[t,r]){return Math.min(Math.max(e,t),r)}function Y(e,t,r,a,n){e=X(e,Q),t=X(t,U),r=X(r,H),a=X(a,J);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=W(.001),K=W(1e-7),$=W(.1);function _(e,t){return W(W(1-W(3*t))+W(3*e))}function ee(e,t){return W(W(3*t)-W(6*e))}function te(e){return W(3*e)}function re(e,t,r){return W(W(W(W(W(_(t,r)*e)+ee(t,r))*e)+te(t))*e)}function ae(e,t,r){let a=W(W(W(3*_(t,r))*e)*e),n=W(W(2*ee(t,r))*e);return W(W(a+n)+te(t))}var ne=e=>e;function ie(e,t,r,a){if(e=W(e),t=W(t),r=W(r),a=W(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(W(t*$),e,r);return i=>0===(i=W(i))||1===i?i:re((t=>{let a=0,i=1;for(;10!==i&&n[i]<=t;)a=W(a+$),i+=1;i-=1;let s=W(W(t-n[i])/W(n[i+1]-n[i])),o=W(a+W(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=W(re(t,r,a)-e);t=W(t-W(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=W(t+W(W(r-t)/2)),i=W(re(s,a,n)-e),i>0?r=s:t=s,o+=1}while(Math.abs(i)>K&&o<10);return s}(t,a,W(a+$),e,r)})(i),t,a)}var se=W(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:W(Y(a,n,i,s,t)(r))}}}W(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=Y(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 W(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}=N,pe=new z,he=new z,fe=new F;function ge(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=N.lerp(l,u,r);t[e]=i?Math.trunc(a):a},start:()=>{t[e]=l},end:()=>{t[e]=u}}:void 0}function me(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=N.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 be(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}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=i?be(new z,i,n):o.clone(),u=be(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 ve(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}function we(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 G),u=o instanceof G?o:(new G).fromArray(o),d=i?ve(new G,i,n):u.clone(),c=ve(new G,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 Se(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 g(o.r,o.g,o.b,o.a),u=i?"string"==typeof i?n.getColor(i).clone():new g(i.r,i.g,i.b,i.a):l.clone(),d="string"==typeof s?n.getColor(s).clone():new g(s.r,s.g,s.b,s.a);return u.equals(d)?void 0:{update:r=>{l.lerpColors(u,d,r);let a=N.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 je(e,t,r,a,n){return"number"==typeof t[e]?ge(e,t,r??{},a,n):Array.isArray(t[e])?me(e,t,r??{},a,n):void 0}function Ve(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 Ae(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]=N.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)=>N.lerp(e[r],s[r],a))}}return n}function Me(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]];j.isEqual(t,r)||n.push({update:a=>{i[e].fromArray(j.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]=N.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,N.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 G)return function(e,t,r,a){if(!e.hasValue(a)||!(a in r))return;let n=e.getValue(a),i=t?(new G).fromArray(t[a]):n.clone(),s=(new G).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?be(new z,s,n):i.clone(),u=be(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 g)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 L).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():new g(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 L)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 L).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():(new L).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)*N.RAD2DEG,l=i(r[a]?.rotation);if(s&&Math.abs(o-l)>1e-9)return{update:e=>{s.value=N.lerp(o,l,e)*N.DEG2RAD},start:()=>{s.value=o*N.DEG2RAD},end:()=>{s.value=l*N.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],p=[...d.repeat],h=[...d.offset],f=[...c.repeat],g=[...c.offset],m=d.rotation??0,b=c.rotation??0;return I.isEqual(p,f)&&I.isEqual(h,g)&&m===b?void 0:{update:e=>{u.repeat=I.lerp(p,f,e),u.offset=I.lerp(h,g,e),u.rotation=N.lerp(m,b,e),u.updateMatrix()},start:()=>{u.repeat=[...p],u.offset=[...h],u.rotation=m,u.updateMatrix()},end:()=>{u.repeat=[...f],u.offset=[...g],u.rotation=b,u.updateMatrix()}}}(e,t,r,a,n)}}}function De(e,t,r,a){let n=[],i=d(r,a)||!!t.layers&&d(t,a);n.push(function(e,t){return{update:()=>{e.setTransparent(t)}}}(e,i)),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=p[i.type]??[],l=i.getNames().filter(e=>!o.includes(e)&&!O.some(t=>e.includes(t)));for(let t of l)try{let r=Me(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 Re(e,t,r,a,n,i){let s=Me(t,r,a,e,i);!s||(Array.isArray(s)?s.forEach(e=>e.update(n)):s.update(n))}new T;var ke=new z,xe=new T;var Ee=[["radial",D],["linear",R],["grid",k],["toObject",x],["randomnessObject",E]];function Oe(e,t,r,a){if(!e)return{};let n=Ae(["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=Ae(s,t[i],r[i],a);Object.keys(o).length&&(n[i]=o)}return n}function Ce(e,t){if(e){void 0!==t.count&&(e.count=t.count);for(let[r]of Ee){let a=t[r];a&&Ve(e[r],a)}}}function Be(a,n,d,c,p){let g=[];return a.data.visible&&g.push(...function(e,t,r,a,n){let i,l,u,d,c,p,h,f,g=[];if(S(e)?(i=we("position",e,t,r,n),i&&g.push(i),u=ge("rotation",e,t,r,n),u&&g.push(u),d=we("shear",e,t,r,n),d&&g.push(d)):(f={slide:t.pathSnapping?.slide??e.updatedPathSnapping?.slide??e.dataPatched.pathSnapping?.slide??0,offset:t.pathSnapping?.offset??e.updatedPathSnapping?.offset??e.dataPatched.pathSnapping?.offset??0},p=ge("slide",f,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),p&&g.push(p),h=ge("offset",f,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),h&&g.push(h),!p&&!h&&(i=ye("position",e,t,r,n),i&&g.push(i),l=ye("scale",e,t,r,n),l&&g.push(l),u=function(e,t,r,a,n){let i=t?.rotation?t.rotation.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*N.DEG2RAD):void 0,s=r.rotation?.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*N.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=ke.subVectors(l,o);if(a&&u.toArray().every(e=>Math.abs(e)<2*Math.PI)){let t=(new F).setFromEuler(xe.setFromVector3(o)),r=(new F).setFromEuler(xe.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=>{ke.lerpVectors(o,l,t),e.rotation.setFromVector3(ke)},start:()=>{e.rotation.setFromVector3(o)},end:()=>{e.rotation.setFromVector3(l)}}}(e,t,r,a,n),u&&g.push(u),c=function(e,t,r,a){let n=r[e]?r[e]:void 0,i=a[e];if(!i)return;let s=t[e],o=n?(new q).fromArray(n):s.clone(),l=new z,u=new F,d=new z;o.decompose(l,u,d);let c=(new q).fromArray(i),p=new z,h=new F,f=new z;return c.decompose(p,h,f),o.equals(c)?void 0:{update:e=>{fe.slerpQuaternions(u,h,e),pe.lerpVectors(l,p,e),he.lerpVectors(d,f,e),s.compose(pe,fe,he)},start:()=>{s.compose(l,u,d)},end:()=>{s.compose(p,h,f)}}}("hiddenMatrix",e,t,r),c&&g.push(c))),i||l||u||c||p||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),s(e)&&o(e.parent)&&e.invalidateDownstreamBooleanData(!0),e.updatePathSnapping(Object.assign({},t.pathSnapping,f))};g.push({update:r,start:r,end:r})}return g}(a,n,d,p,c.shared)),S(a)?g.push(...function(a,n,i,s,o){let l,u,d,c,p,h,f,g,m,b,y,v,w,S,j,V=[];if("width"in a&&(l=ge("width",a,n,i,o),l&&V.push(l)),"height"in a&&(u=ge("height",a,n,i,o),u&&V.push(u)),a instanceof e||a instanceof r){let t={...n.fill},r={...i.fill};void 0!==t.enabled&&t.enabled!==r.enabled&&(V.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=Se("color",a.fill,t,r,o),d&&V.push(d)}if(a instanceof e){let t={...n.stroke},r={...i.stroke};(t.enabled||r.enabled)&&(V.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=Se("color",a.stroke,t,r,o),c&&V.push(c),p=ge("thickness",a.stroke,t,r,o),p&&V.push(p)}if(a instanceof e){let t={...n.dropShadow},r={...i.dropShadow};(t.enabled||r.enabled)&&(V.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}})),h=Se("color",a.dropShadow,t,r,o),h&&V.push(h),f=ge("blurRadius",a.dropShadow,t,r,o),f&&V.push(f),m=ge("spread",a.dropShadow,t,r,o),m&&V.push(m),g=we("offset",a.dropShadow,t,r,o),g&&V.push(g)}if(a instanceof e){let t={...n.innerShadow},r={...i.innerShadow};(t.enabled||r.enabled)&&(V.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=Se("color",a.innerShadow,t,r,o),b&&V.push(b),y=ge("blurRadius",a.innerShadow,t,r,o),y&&V.push(y),w=ge("spread",a.innerShadow,t,r,o),w&&V.push(w),v=we("offset",a.innerShadow,t,r,o),v&&V.push(v)}if(a instanceof e||a instanceof r){let t={...n.backgroundBlur},r={...i.backgroundBlur};(t.enabled||r.enabled)&&(V.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=ge("radius",a.backgroundBlur,t,r,o),S&&V.push(S)}if(a instanceof e){let t={...n.layerBlur},r={...i.layerBlur};(t.enabled||r.enabled)&&(V.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=ge("radius",a.layerBlur,t,r,o),j&&V.push(j)}if(a instanceof r||a instanceof t){let e=me("cornerRadius",a,n,i,o);e&&V.push(e)}return V}(a,n,d,0,c.shared)):(a.data.visible&&g.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;M.forEach(e=>{let t;t="count"===e?ge("count",i.parameters,s,o,a.shared,!0):je(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 D.forEach(e=>{let t=je(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 R.forEach(e=>{let t=je(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 k.forEach(e=>{let t;t="count"===e?me(e,o,n??{},i,a,!0):je(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 x.forEach(e=>{let t;t="count"===e?ge(e,o,n??{},i,a,!0):je(e,o,n??{},i,a),t&&s.push(t)}),s}(i,s,o,a.shared);c?.length&&n.push(...c);let p=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 E.forEach(e=>{let t=je(e,o,n??{},i,a);t&&s.push(t)}),s}(i,s,o,a.shared);return p?.length&&n.push(...p),n.length&&n.push({update:()=>{i.update(a)}}),n}(a,n,d,c)),a instanceof m?(a instanceof f&&a.data.visible&&g.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(P.isEqual(n,i))return;let s=[];return s.push({update:t=>{e.updateGeometryInteractions({scaleBaked:[N.lerp(n[0],i[0],t),N.lerp(n[1],i[1],t),N.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,B),r?{width:r[0],height:r[1],depth:r[2]}:{},y(s,B)),B.forEach(e=>{let r=je(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 C.forEach(e=>{let t=je(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 h&&a.materialOverride)&&g.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(...De(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(...De(e.material,i,s,a))}return n}(a,n,d,c.shared))):i.is(a)?a.data.visible&&g.push(...function(e,t,r,a){let n=[];if(void 0!==r.intensity){let i=ge("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 L).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.getColor(s).clone():(new L).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 l&&g.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=N.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=ge("targetOffset",e,t,r,a);i&&n.push(i)}return n}(a,n,d,c.shared))),g.length?{update:e=>{g.forEach(t=>t.update(e))},start:e=>{g.forEach(t=>t.start?.(e))},end:e=>{g.forEach(t=>t.end?.(e))}}:void 0}var Ie={type:"beginState"};function Pe(e){if(5===e.easing){let{control1:t,control2:r}=e;return{easing:5,control1:t??A.defaultData.control1,control2:r??A.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 Ne(e){return{delay:e.delay,delayDirection:e.delayDirection??"start-end",direction:e.direction??"normal",repeat:e.repeat}}var Ge={type:"completeState",isfromEntity:!1};function Fe(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 ze=["position","rotation","scale","shear","hiddenMatrix"],qe=new Set;function Te(e){if(e.length<2)return qe;let t=new Set,[r,...a]=e;for(let e of ze){let n=r[e];void 0!==n&&a.every(t=>b(t[e],n))&&t.add(e)}return t}var Le=class{constructor(e,t,r,a,n,i,s,o={},l=()=>qe){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=Be(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:Pe(u),...Ne(u)},this.onChange,this.buildCallback),this.rebind()}rebind(){let{fromRef:e,toRef:t}=this;if(void 0===e){let e=Fe(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=Fe(this.object,e);if(!t)throw new Error("Missing property");this.from=t}if(void 0===t)throw new Error("Missing property");let r=Fe(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 l&&e.dispatchEvent(t?Ge:Ie)}),t?this.hooks.onComplete?.(r):this.hooks.onBegin?.(r))}};export{oe as a,ue as b,Ae as c,Oe as d,Ce as e,Re as f,Ie as g,Pe as h,Ne as i,Ge as j,Fe as k,qe as l,Te as m,Le as n};
|
|
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-QK72454A.js";import"./runtime-chunk-CE3IVQOC.js";import"./runtime-chunk-RCBIOM5C.js";import"./runtime-chunk-HUAJFVWQ.js";import"./runtime-chunk-LCYPLCAI.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as m}from"./runtime-chunk-5QJOECK2.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-BPWKE4TV.js";import{a as n}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-NMRQ6IV4.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";m.Cloner=r,n("cloners");
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-LWW3TFPR.js";import{a as t}from"./runtime-chunk-CIOJTARL.js";import{d as n}from"./runtime-chunk-2UL7M2VW.js";import{fa as i}from"./runtime-chunk-LCYPLCAI.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as s,h as o}from"./runtime-chunk-5QJOECK2.js";import{d as r,e as a}from"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-BPWKE4TV.js";import{a as p,d}from"./runtime-chunk-TZCHGFVF.js";import{Aa as l,Ha as c,I as h,h as u,i as m,ua as f,za as y}from"./runtime-chunk-NMRQ6IV4.js";import{Oc as v,Sc as g,od as I}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var j=class extends(n(g,t)){constructor(e,t,n){super(),this.isComponentObject=!0,"Instance"===t.type&&"string"==typeof e&&(t=this.transformAssignData(t,n)),this.super_Entity(e,t),this.objectHelper.update()}get isComponentRoot(){return"Component"===this.data.type&&"string"==typeof this.identity}get isInstanceRoot(){return"Instance"===this.data.type&&"string"==typeof this.identity}transformAssignData(e,t){let n=c.getComponentData({scene:t.scene.data,shared:t.shared.data},e.component);if(n){let t,i;for(let s of l.rootOverrideProps)void 0===e[s]?(void 0===t&&(t={...e}),t[s]=n.data[s]):(void 0===i&&(i={}),i[s]=e[s],void 0===t&&(t={...e}),t[s]=m.apply(n.data[s],e[s]));return this.overrideData=i,t}return{...f.defaultData,...e,...a(f.defaultData,l.rootOverrideProps)}}updateByOp(e,t,n,i){let s;if(this.isInstanceRoot&&!i)if(t=this.transformAssignData(t,n),0===e.type&&0===e.path.length&&this.component)for(let t of l.rootOverrideProps)t in e.props&&void 0===e.props[t]&&(void 0===s&&(s={...e,props:{...e.props}}),s.props[t]=this.component.data[t]);else if(0===e.type&&e.path.length>0&&l.rootOverrideProps.includes(e.path[0])){let n=e.path[0];void 0===s&&(s={...e,path:[],props:{[n]:t[n]}})}super.updateByOp(s??e,t,n,i)}updateState(e,t){this.updateState_Entity(e,t)}expandInstanceChildren(t){let n=this.data;if(void 0===this.component){let s=t.scene.find(n.component)??null,r=!1;if(s!==this.oldComponent){if(this.oldComponent){let n=0;for(let i of this.children){if(!o.is(i))break;t.scene.disposeAndUnregisterEntityRecursivelyIfNotReregistered(i),e(i),n+=1}this.children.splice(0,n)}r=!0}if(s){let e={};b(t,[this.uuid],n.overrides,this,s,s,0,r,e);for(let n of this.children)if(o.is(n)){let s=n.data;"Empty"===s.type&&s.animations&&n.traverseEntity(n=>{let s=n.dataPatched;if(n instanceof i&&s.bones&&s.boneInverses){let i=n.dataPatched;if(i.bones&&i.boneInverses){let s=i.bones.map(n=>t.scene.find(e[n])),o=i.boneInverses.map(e=>(new v).fromArray(e)),r=new I(s,o);n.bind(r,n.bindMatrix)}}else n.matrixAutoUpdate=!0})}}this.oldComponent=this.component}}};function k(e,t,n,i){return e.component===t&&r(e.identity,i)?e.overrideData===n?2:1:0}function b(e,t,n,i,r,a,p,d,l){if(p>50)return!1;if(i.component!==r){if(i.component){let e=i.component.instances.indexOf(i);e>=0&&i.component.instances.splice(e,1)}r.instances.find(e=>e===i)||r.instances.push(i),i.component=r}r instanceof j&&r.isInstanceRoot&&r.expandInstanceChildren(e);let c=0;for(let f of r.children)if(o.is(f)){let r=[...t,..."string"==typeof f.identity?[f.identity]:f.identity],v=y.resolve(n,r,1);null!=v&&!(v instanceof u)&&(Object.setPrototypeOf(v,u.prototype),console.error("wrong prototype"));let g,I=null;if(!d){let t=i.children[c];if(I=o.is(t)?t:null,null!==I){let e=k(I,f,v,r);g=e>=1?I.stateSelection:void 0,2!==e&&(I=null)}if(null===I&&(I=e.scene.findInstance(r)??null,null!==I)){let t=k(I,f,v,r);if(g=t>=1?I.stateSelection:void 0,2!==t)I=null;else{let t=I.parent.children.indexOf(I);I.parent.children.splice(t,1),i.children.splice(c,0,I),I.parent===i?t<=c&&console.error("not possible"):(I.parent=i,I.matrixWorldNeedsUpdate=!0,I.resetBBoxNeedsUpdate(),I.updateVisible(),e.pendingDeletes.delete(I))}}}if(null===I){let t=v?m.apply(f.data,v):f.data;h.is(t.type)&&(t={...t,type:"Empty"}),I=s.createEntity(r,t,e),I.overrideData=v,i.add(I),i.children.splice(i.children.length-1,1),i.children.splice(c,0,I),I.updateState(I.data,e),g&&I.changeSelectedState(g,e),e.scene.registerInstanceAndSetUuid(I)}I.isBone&&(l[I.identity[I.identity.length-1]]=I.uuid),c+=1,b(e,t,n,I,f,a,p+1,d,l)}if(!d){let t=c;for(;;){let t=i.children[c];if(!o.is(t))break;e.pendingDeletes.add(t),c+=1}i.children.splice(t,c-t)}return!0}var C=(e,t,n)=>new j(e,t,n);d("Component",C),d("Instance",C),p("components");
|
|
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-WW7RRGKX.js";import"./runtime-chunk-5QJOECK2.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-BPWKE4TV.js";import{a as i,d as m}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-NMRQ6IV4.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
|
|
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-6Z7YLZCH.js";import"./runtime-chunk-QK72454A.js";import"./runtime-chunk-CE3IVQOC.js";import"./runtime-chunk-ZMIXFGXT.js";import"./runtime-chunk-RCBIOM5C.js";import"./runtime-chunk-HUAJFVWQ.js";import"./runtime-chunk-CIOJTARL.js";import"./runtime-chunk-2UL7M2VW.js";import"./runtime-chunk-LCYPLCAI.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-5QJOECK2.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-BPWKE4TV.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-NMRQ6IV4.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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as t,k as i,l as e,m as s,n as r}from"./runtime-chunk-YGGUUEFT.js";import"./runtime-chunk-V2M6LVQI.js";import"./runtime-chunk-NTUTXO7Q.js";import{a as n,b as a,d as h}from"./runtime-chunk-NLZXZNT5.js";import"./runtime-chunk-HD7WF3XN.js";import{a as o}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-DQ7IJ33I.js";import"./runtime-chunk-FTVQTRM7.js";import{a as c}from"./runtime-chunk-4FY554U4.js";import"./runtime-chunk-RCBIOM5C.js";import"./runtime-chunk-HUAJFVWQ.js";import"./runtime-chunk-2UL7M2VW.js";import"./runtime-chunk-LCYPLCAI.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as m,e as d}from"./runtime-chunk-UOHC2OET.js";import"./runtime-chunk-5QJOECK2.js";import"./runtime-chunk-RTLL6WIB.js";import{e as u}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-BPWKE4TV.js";import{a as l}from"./runtime-chunk-TZCHGFVF.js";import{p}from"./runtime-chunk-NMRQ6IV4.js";import{Bc as A,Cc as g}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 f={state:null,duration:0,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,easing:0},y=class extends A{constructor(t,i,s,r,n,a){if(super(),this.eventType=t,this.data=i,this.page=s,this.shared=r,this.condition=n,this.runModeOverride=a,this.tweens=[],this.hasPlayedOnce=!1,this.inert=e,!i.object)throw new Error("Missing property");let h=this.page.scene.find(i.object)??this.page.uiCanvas?.find(i.object)??this.page.scene.find2DInUIObjects(i.object);if(!h)throw new Error("Missing property");if(!h.states)throw new Error("Missing property");if(this.object=h,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:p(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 r(this.object,t,t,f,this.shared,this.data.allowSlerp??!1,this.page,{},()=>this.inert));for(let t=1;t<i.length;t++){let s=i[t-1],n=i[t];e.push(new r(this.object,void 0===s.data.state?this.currentState:s.data.state,void 0===n.data.state?this.currentState:n.data.state,n.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(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&&o.remove(this)}play(){if(!1===d(this.shared,this.condition)||"Once"===this.runMode&&this.hasPlayedOnce)return!1;this.hasPlayedOnce=!0,this.start()}start(){!this.runner||(this.runner.play(o.time),this.runner.isPlaying&&o.add(this))}pause(){this.runner?.stop(),o.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===d(this.shared,this.condition))return!1;this.runner?.seek(t)}playDirected(t){if(!1===d(this.shared,this.condition))return!1;!this.runner||(this.runner.playDirected(o.time,t),this.runner.isPlaying&&o.add(this))}playFromCurrent(){this.playDirected(!0)}reverseFromCurrent(){this.playDirected(!1)}dispose(){this.pause()}},T=class extends A{constructor(t,i,e,s,r){super(),this.data=t,this.page=i,this.animationControls=e,this.shared=s,this.condition=r,this.startOnceDelay=0,this.toggleIsForward=!1;let a=t.object,h=i.scene.find(t.object);h&&Array.isArray(h.identity)&&(a=h.identity[0]),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=n(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}get playing(){return this.threeAnimAction?.isRunning()??!1}play(t=!1){if(!1===d(this.shared,this.condition))return!1;window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{if(this.threeAnimAction=this.animationControls.play(this.data),!this.threeAnimAction)return;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 r=e.split("/")[1];this.threeAnimAction!==s&&r===i&&(t?s.fadeOut(.2):s.stop())}),t&&this.threeAnimAction?.fadeIn(.2)},this.startOnceDelay)}pause(){this.threeAnimAction&&(this.threeAnimAction.paused=!0),window.clearTimeout(this.timeoutId),delete this.timeoutId}stop(){this.threeAnimAction?.fadeOut(.2)}seek(t){this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction&&(this.threeAnimAction.paused=!0,this.threeAnimAction.time=g.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===d(this.shared,this.condition))return!1;this.toggleIsForward=t??!this.toggleIsForward,this.threeAnimAction&&(this.threeAnimAction._loopCount=0),this.playing?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 r=e.split("/")[1];this.threeAnimAction!==s&&r===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()}};a(r),m("Transition",({eventType:t,data:i,page:e,shared:s,actionCondition:r,runModeOverride:n})=>new y(t,i,e,s,r,n)),m("Animation",({data:t,page:i,eventManager:e,shared:s,actionCondition:r})=>new T(t,i,e.animationControls,s,r)),l("transitions");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|