@splinetool/runtime 2.0.58 → 2.0.59
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-chunk-2HC35I2G.js +1 -0
- package/build/runtime-chunk-2HC35I2G.js.br +0 -0
- package/build/runtime-chunk-2HC35I2G.js.gz +0 -0
- package/build/{runtime-chunk-KXKVQHFO.js → runtime-chunk-3HFXKICM.js} +1 -1
- package/build/runtime-chunk-3HFXKICM.js.br +0 -0
- package/build/runtime-chunk-3HFXKICM.js.gz +0 -0
- package/build/{runtime-chunk-PDISMNDI.js → runtime-chunk-4EZ7O4A2.js} +1 -1
- package/build/runtime-chunk-4EZ7O4A2.js.br +0 -0
- package/build/runtime-chunk-4EZ7O4A2.js.gz +0 -0
- package/build/{runtime-chunk-3HRPKWYC.js → runtime-chunk-5VGFSUYB.js} +1 -1
- package/build/runtime-chunk-5VGFSUYB.js.br +0 -0
- package/build/runtime-chunk-5VGFSUYB.js.gz +0 -0
- package/build/{runtime-chunk-5VIPGS7S.js → runtime-chunk-7LHQNWDR.js} +1 -1
- package/build/{runtime-chunk-5VIPGS7S.js.br → runtime-chunk-7LHQNWDR.js.br} +0 -0
- package/build/runtime-chunk-7LHQNWDR.js.gz +0 -0
- package/build/{runtime-chunk-HZ43XLDT.js → runtime-chunk-AIZLRXLL.js} +1 -1
- package/build/runtime-chunk-AIZLRXLL.js.br +0 -0
- package/build/runtime-chunk-AIZLRXLL.js.gz +0 -0
- package/build/{runtime-chunk-GFRP5FH5.js → runtime-chunk-BDB2UM3E.js} +1 -1
- package/build/runtime-chunk-BDB2UM3E.js.br +0 -0
- package/build/runtime-chunk-BDB2UM3E.js.gz +0 -0
- package/build/{runtime-chunk-OS4LV6BO.js → runtime-chunk-DJP4X7T7.js} +1 -1
- package/build/runtime-chunk-DJP4X7T7.js.br +0 -0
- package/build/runtime-chunk-DJP4X7T7.js.gz +0 -0
- package/build/{runtime-chunk-4LWXYJJI.js → runtime-chunk-E37PNLQA.js} +1 -1
- package/build/runtime-chunk-E37PNLQA.js.br +0 -0
- package/build/runtime-chunk-E37PNLQA.js.gz +0 -0
- package/build/{runtime-chunk-X4KN556E.js → runtime-chunk-EBU2DUYR.js} +1 -1
- package/build/runtime-chunk-EBU2DUYR.js.br +0 -0
- package/build/runtime-chunk-EBU2DUYR.js.gz +0 -0
- package/build/{runtime-chunk-PA324UGD.js → runtime-chunk-EPITBSWH.js} +1 -1
- package/build/runtime-chunk-EPITBSWH.js.br +0 -0
- package/build/runtime-chunk-EPITBSWH.js.gz +0 -0
- package/build/{runtime-chunk-BFKK6Z5N.js → runtime-chunk-I6C7UVT4.js} +1 -1
- package/build/runtime-chunk-I6C7UVT4.js.br +0 -0
- package/build/runtime-chunk-I6C7UVT4.js.gz +0 -0
- package/build/{runtime-chunk-X6YE3MR3.js → runtime-chunk-IVOXIBX4.js} +1 -1
- package/build/runtime-chunk-IVOXIBX4.js.br +0 -0
- package/build/runtime-chunk-IVOXIBX4.js.gz +0 -0
- package/build/{runtime-chunk-ZYGHETOO.js → runtime-chunk-P2WZRCIB.js} +1 -1
- package/build/runtime-chunk-P2WZRCIB.js.br +0 -0
- package/build/runtime-chunk-P2WZRCIB.js.gz +0 -0
- package/build/{runtime-chunk-7EMBRCB2.js → runtime-chunk-PYKTMGCQ.js} +1 -1
- package/build/runtime-chunk-PYKTMGCQ.js.br +0 -0
- package/build/runtime-chunk-PYKTMGCQ.js.gz +0 -0
- package/build/{runtime-chunk-Y5R3KJKE.js → runtime-chunk-QSTRAO43.js} +1 -1
- package/build/runtime-chunk-QSTRAO43.js.br +0 -0
- package/build/runtime-chunk-QSTRAO43.js.gz +0 -0
- package/build/{runtime-chunk-VDRE47BC.js → runtime-chunk-SIW5ZXXW.js} +1 -1
- package/build/runtime-chunk-SIW5ZXXW.js.br +0 -0
- package/build/runtime-chunk-SIW5ZXXW.js.gz +0 -0
- package/build/{runtime-chunk-QPKHZ6YN.js → runtime-chunk-TC6GJGWK.js} +1 -1
- package/build/runtime-chunk-TC6GJGWK.js.br +0 -0
- package/build/runtime-chunk-TC6GJGWK.js.gz +0 -0
- package/build/{runtime-chunk-TDWKHTIN.js → runtime-chunk-TO7T7KNX.js} +1 -1
- package/build/runtime-chunk-TO7T7KNX.js.br +0 -0
- package/build/runtime-chunk-TO7T7KNX.js.gz +0 -0
- package/build/{runtime-chunk-O73B5QJT.js → runtime-chunk-VDECEEUG.js} +1 -1
- package/build/runtime-chunk-VDECEEUG.js.br +0 -0
- package/build/runtime-chunk-VDECEEUG.js.gz +0 -0
- package/build/{runtime-chunk-I4FSGWFF.js → runtime-chunk-VUKMNTOJ.js} +1 -1
- package/build/runtime-chunk-VUKMNTOJ.js.br +0 -0
- package/build/runtime-chunk-VUKMNTOJ.js.gz +0 -0
- package/build/{runtime-chunk-YV5RWBNH.js → runtime-chunk-VWW23DE5.js} +1 -1
- package/build/runtime-chunk-VWW23DE5.js.br +0 -0
- package/build/runtime-chunk-VWW23DE5.js.gz +0 -0
- package/build/{runtime-chunk-WHV377XH.js → runtime-chunk-XNWWSHHX.js} +1 -1
- package/build/runtime-chunk-XNWWSHHX.js.br +0 -0
- package/build/runtime-chunk-XNWWSHHX.js.gz +0 -0
- package/build/{runtime-chunk-DK76Z2FM.js → runtime-chunk-XQEURE23.js} +1 -1
- package/build/runtime-chunk-XQEURE23.js.br +0 -0
- package/build/runtime-chunk-XQEURE23.js.gz +0 -0
- package/build/{runtime-chunk-PBVQ3VUW.js → runtime-chunk-XZLVKFF3.js} +1 -1
- package/build/runtime-chunk-XZLVKFF3.js.br +1 -0
- package/build/runtime-chunk-XZLVKFF3.js.gz +0 -0
- package/build/{runtime-classicRuntime-AQCKPN52.js → runtime-classicRuntime-OVWGPV5L.js} +1 -1
- package/build/runtime-classicRuntime-OVWGPV5L.js.br +0 -0
- package/build/runtime-classicRuntime-OVWGPV5L.js.gz +0 -0
- package/build/{runtime-cloners-KHJXRYCK.js → runtime-cloners-GLDMG7SA.js} +1 -1
- package/build/runtime-cloners-GLDMG7SA.js.br +1 -0
- package/build/runtime-cloners-GLDMG7SA.js.gz +0 -0
- package/build/{runtime-components-MUO6LBVN.js → runtime-components-SUBSTZH6.js} +1 -1
- package/build/runtime-components-SUBSTZH6.js.br +0 -0
- package/build/runtime-components-SUBSTZH6.js.gz +0 -0
- package/build/{runtime-createDestroy-GTGYQDWL.js → runtime-createDestroy-T5DB5MO5.js} +1 -1
- package/build/runtime-createDestroy-T5DB5MO5.js.br +0 -0
- package/build/runtime-createDestroy-T5DB5MO5.js.gz +0 -0
- package/build/{runtime-dragDrop-MMHJVOHZ.js → runtime-dragDrop-6GRP57ZZ.js} +1 -1
- package/build/runtime-dragDrop-6GRP57ZZ.js.br +0 -0
- package/build/runtime-dragDrop-6GRP57ZZ.js.gz +0 -0
- package/build/{runtime-gameControls-OQOMZRDF.js → runtime-gameControls-7RZEWGMS.js} +1 -1
- package/build/runtime-gameControls-7RZEWGMS.js.br +0 -0
- package/build/runtime-gameControls-7RZEWGMS.js.gz +0 -0
- package/build/{runtime-hair-4LR5XTGB.js → runtime-hair-IDVGMIQR.js} +1 -1
- package/build/runtime-hair-IDVGMIQR.js.br +0 -0
- package/build/runtime-hair-IDVGMIQR.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-AV7WMLT3.js → runtime-mergeStaticGeometries-TCAO7L7W.js} +1 -1
- package/build/runtime-mergeStaticGeometries-TCAO7L7W.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-TCAO7L7W.js.gz +0 -0
- package/build/{runtime-miscActions-3EA37NQ5.js → runtime-miscActions-D7OUBVXP.js} +1 -1
- package/build/runtime-miscActions-D7OUBVXP.js.br +0 -0
- package/build/runtime-miscActions-D7OUBVXP.js.gz +0 -0
- package/build/{runtime-mouseHover-HCT3WZKC.js → runtime-mouseHover-5RWIPLPT.js} +1 -1
- package/build/runtime-mouseHover-5RWIPLPT.js.br +0 -0
- package/build/runtime-mouseHover-5RWIPLPT.js.gz +0 -0
- package/build/{runtime-particles-6NWEC3SF.js → runtime-particles-T4ZTN4UA.js} +1 -1
- package/build/runtime-particles-T4ZTN4UA.js.br +0 -0
- package/build/runtime-particles-T4ZTN4UA.js.gz +0 -0
- package/build/{runtime-paths-UUUWQPQS.js → runtime-paths-QF6FE2PG.js} +1 -1
- package/build/runtime-paths-QF6FE2PG.js.br +0 -0
- package/build/runtime-paths-QF6FE2PG.js.gz +0 -0
- package/build/{runtime-resize-LB7UOY4X.js → runtime-resize-RQQGNYE6.js} +1 -1
- package/build/runtime-resize-RQQGNYE6.js.br +0 -0
- package/build/runtime-resize-RQQGNYE6.js.gz +0 -0
- package/build/{runtime-sceneTransition-FFKFTM7K.js → runtime-sceneTransition-XCV5BL3O.js} +1 -1
- package/build/runtime-sceneTransition-XCV5BL3O.js.br +0 -0
- package/build/runtime-sceneTransition-XCV5BL3O.js.gz +0 -0
- package/build/{runtime-scroll-NW4S44WQ.js → runtime-scroll-JSZN255S.js} +1 -1
- package/build/runtime-scroll-JSZN255S.js.br +0 -0
- package/build/runtime-scroll-JSZN255S.js.gz +0 -0
- package/build/runtime-shapeBlends-WHOB5WSG.js +1 -0
- package/build/runtime-shapeBlends-WHOB5WSG.js.br +0 -0
- package/build/runtime-shapeBlends-WHOB5WSG.js.gz +0 -0
- package/build/{runtime-text-GPL5LAYC.js → runtime-text-Z6REPBDZ.js} +1 -1
- package/build/runtime-text-Z6REPBDZ.js.br +0 -0
- package/build/runtime-text-Z6REPBDZ.js.gz +0 -0
- package/build/{runtime-textInputs-FTIDEUTF.js → runtime-textInputs-B2P5OPTX.js} +1 -1
- package/build/runtime-textInputs-B2P5OPTX.js.br +0 -0
- package/build/runtime-textInputs-B2P5OPTX.js.gz +0 -0
- package/build/runtime-timeline-7W6JEZK4.js +1 -0
- package/build/runtime-timeline-7W6JEZK4.js.br +0 -0
- package/build/runtime-timeline-7W6JEZK4.js.gz +0 -0
- package/build/{runtime-tracking-YCHKI2BN.js → runtime-tracking-4VLKE7TU.js} +1 -1
- package/build/runtime-tracking-4VLKE7TU.js.br +0 -0
- package/build/runtime-tracking-4VLKE7TU.js.gz +0 -0
- package/build/{runtime-transitions-BXIGJN76.js → runtime-transitions-WZDU2JY3.js} +1 -1
- package/build/runtime-transitions-WZDU2JY3.js.br +0 -0
- package/build/runtime-transitions-WZDU2JY3.js.gz +0 -0
- package/build/{runtime-ui2d-L3WS4V5Y.js → runtime-ui2d-BKCDVHFO.js} +1 -1
- package/build/runtime-ui2d-BKCDVHFO.js.br +0 -0
- package/build/runtime-ui2d-BKCDVHFO.js.gz +0 -0
- package/build/{runtime-vectorShapes-KUDSNZXR.js → runtime-vectorShapes-UFJ5IRPT.js} +1 -1
- package/build/runtime-vectorShapes-UFJ5IRPT.js.br +0 -0
- package/build/runtime-vectorShapes-UFJ5IRPT.js.gz +0 -0
- package/build/{runtime-webgpu-EWCWGNT6.js → runtime-webgpu-ROKCO67O.js} +1 -1
- package/build/runtime-webgpu-ROKCO67O.js.br +0 -0
- package/build/runtime-webgpu-ROKCO67O.js.gz +0 -0
- package/build/runtime.cjs +55 -55
- 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-chunk-3HRPKWYC.js.br +0 -0
- package/build/runtime-chunk-3HRPKWYC.js.gz +0 -0
- package/build/runtime-chunk-4LWXYJJI.js.br +0 -0
- package/build/runtime-chunk-4LWXYJJI.js.gz +0 -0
- package/build/runtime-chunk-5VIPGS7S.js.gz +0 -0
- package/build/runtime-chunk-7EMBRCB2.js.br +0 -0
- package/build/runtime-chunk-7EMBRCB2.js.gz +0 -0
- package/build/runtime-chunk-BFKK6Z5N.js.br +0 -0
- package/build/runtime-chunk-BFKK6Z5N.js.gz +0 -0
- package/build/runtime-chunk-DK76Z2FM.js.br +0 -0
- package/build/runtime-chunk-DK76Z2FM.js.gz +0 -0
- package/build/runtime-chunk-GFRP5FH5.js.br +0 -0
- package/build/runtime-chunk-GFRP5FH5.js.gz +0 -0
- package/build/runtime-chunk-HZ43XLDT.js.br +0 -0
- package/build/runtime-chunk-HZ43XLDT.js.gz +0 -0
- package/build/runtime-chunk-I4FSGWFF.js.br +0 -0
- package/build/runtime-chunk-I4FSGWFF.js.gz +0 -0
- package/build/runtime-chunk-KXKVQHFO.js.br +0 -0
- package/build/runtime-chunk-KXKVQHFO.js.gz +0 -0
- package/build/runtime-chunk-LUFVAH3F.js +0 -1
- package/build/runtime-chunk-LUFVAH3F.js.br +0 -0
- package/build/runtime-chunk-LUFVAH3F.js.gz +0 -0
- package/build/runtime-chunk-O73B5QJT.js.br +0 -0
- package/build/runtime-chunk-O73B5QJT.js.gz +0 -0
- package/build/runtime-chunk-OS4LV6BO.js.br +0 -0
- package/build/runtime-chunk-OS4LV6BO.js.gz +0 -0
- package/build/runtime-chunk-PA324UGD.js.br +0 -0
- package/build/runtime-chunk-PA324UGD.js.gz +0 -0
- package/build/runtime-chunk-PBVQ3VUW.js.br +0 -0
- package/build/runtime-chunk-PBVQ3VUW.js.gz +0 -0
- package/build/runtime-chunk-PDISMNDI.js.br +0 -0
- package/build/runtime-chunk-PDISMNDI.js.gz +0 -0
- package/build/runtime-chunk-QPKHZ6YN.js.br +0 -0
- package/build/runtime-chunk-QPKHZ6YN.js.gz +0 -0
- package/build/runtime-chunk-TDWKHTIN.js.br +0 -0
- package/build/runtime-chunk-TDWKHTIN.js.gz +0 -0
- package/build/runtime-chunk-VDRE47BC.js.br +0 -0
- package/build/runtime-chunk-VDRE47BC.js.gz +0 -0
- package/build/runtime-chunk-WHV377XH.js.br +0 -0
- package/build/runtime-chunk-WHV377XH.js.gz +0 -0
- package/build/runtime-chunk-X4KN556E.js.br +0 -0
- package/build/runtime-chunk-X4KN556E.js.gz +0 -0
- package/build/runtime-chunk-X6YE3MR3.js.br +0 -0
- package/build/runtime-chunk-X6YE3MR3.js.gz +0 -0
- package/build/runtime-chunk-Y5R3KJKE.js.br +0 -0
- package/build/runtime-chunk-Y5R3KJKE.js.gz +0 -0
- package/build/runtime-chunk-YV5RWBNH.js.br +0 -0
- package/build/runtime-chunk-YV5RWBNH.js.gz +0 -0
- package/build/runtime-chunk-ZYGHETOO.js.br +0 -0
- package/build/runtime-chunk-ZYGHETOO.js.gz +0 -0
- package/build/runtime-classicRuntime-AQCKPN52.js.br +0 -0
- package/build/runtime-classicRuntime-AQCKPN52.js.gz +0 -0
- package/build/runtime-cloners-KHJXRYCK.js.br +0 -0
- package/build/runtime-cloners-KHJXRYCK.js.gz +0 -0
- package/build/runtime-components-MUO6LBVN.js.br +0 -0
- package/build/runtime-components-MUO6LBVN.js.gz +0 -0
- package/build/runtime-createDestroy-GTGYQDWL.js.br +0 -0
- package/build/runtime-createDestroy-GTGYQDWL.js.gz +0 -0
- package/build/runtime-dragDrop-MMHJVOHZ.js.br +0 -0
- package/build/runtime-dragDrop-MMHJVOHZ.js.gz +0 -0
- package/build/runtime-gameControls-OQOMZRDF.js.br +0 -0
- package/build/runtime-gameControls-OQOMZRDF.js.gz +0 -0
- package/build/runtime-hair-4LR5XTGB.js.br +0 -3
- package/build/runtime-hair-4LR5XTGB.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-AV7WMLT3.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-AV7WMLT3.js.gz +0 -0
- package/build/runtime-miscActions-3EA37NQ5.js.br +0 -0
- package/build/runtime-miscActions-3EA37NQ5.js.gz +0 -0
- package/build/runtime-mouseHover-HCT3WZKC.js.br +0 -0
- package/build/runtime-mouseHover-HCT3WZKC.js.gz +0 -0
- package/build/runtime-particles-6NWEC3SF.js.br +0 -0
- package/build/runtime-particles-6NWEC3SF.js.gz +0 -0
- package/build/runtime-paths-UUUWQPQS.js.br +0 -0
- package/build/runtime-paths-UUUWQPQS.js.gz +0 -0
- package/build/runtime-resize-LB7UOY4X.js.br +0 -0
- package/build/runtime-resize-LB7UOY4X.js.gz +0 -0
- package/build/runtime-sceneTransition-FFKFTM7K.js.br +0 -0
- package/build/runtime-sceneTransition-FFKFTM7K.js.gz +0 -0
- package/build/runtime-scroll-NW4S44WQ.js.br +0 -0
- package/build/runtime-scroll-NW4S44WQ.js.gz +0 -0
- package/build/runtime-shapeBlends-CAHV35ZN.js +0 -1
- package/build/runtime-shapeBlends-CAHV35ZN.js.br +0 -0
- package/build/runtime-shapeBlends-CAHV35ZN.js.gz +0 -0
- package/build/runtime-text-GPL5LAYC.js.br +0 -0
- package/build/runtime-text-GPL5LAYC.js.gz +0 -0
- package/build/runtime-textInputs-FTIDEUTF.js.br +0 -0
- package/build/runtime-textInputs-FTIDEUTF.js.gz +0 -0
- package/build/runtime-timeline-5OJFL2TW.js +0 -1
- package/build/runtime-timeline-5OJFL2TW.js.br +0 -0
- package/build/runtime-timeline-5OJFL2TW.js.gz +0 -0
- package/build/runtime-tracking-YCHKI2BN.js.br +0 -0
- package/build/runtime-tracking-YCHKI2BN.js.gz +0 -0
- package/build/runtime-transitions-BXIGJN76.js.br +0 -0
- package/build/runtime-transitions-BXIGJN76.js.gz +0 -0
- package/build/runtime-ui2d-L3WS4V5Y.js.br +0 -0
- package/build/runtime-ui2d-L3WS4V5Y.js.gz +0 -0
- package/build/runtime-vectorShapes-KUDSNZXR.js.br +0 -0
- package/build/runtime-vectorShapes-KUDSNZXR.js.gz +0 -0
- package/build/runtime-webgpu-EWCWGNT6.js.br +0 -0
- package/build/runtime-webgpu-EWCWGNT6.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.59",
|
|
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
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e,g as t,j as r}from"./runtime-chunk-KXKVQHFO.js";import{a,b as n}from"./runtime-chunk-HD7WF3XN.js";import{c as i,e as s,f as o}from"./runtime-chunk-PDISMNDI.js";import{a as l}from"./runtime-chunk-X4KN556E.js";import{b as u}from"./runtime-chunk-VDRE47BC.js";import{Y as d,aa as c,ba as p,ha as h,i as f,ia as g}from"./runtime-chunk-QPKHZ6YN.js";import{v as m}from"./runtime-chunk-7EMBRCB2.js";import{d as b,e as y}from"./runtime-chunk-RTLL6WIB.js";import{c as v,d as w,e as S}from"./runtime-chunk-2PT2WH66.js";import{A as j,B as V,G as A,H as D,M,N as R,O as k,P as E,Q as x,R as O,ca as B,la as C,oa as P,z as N}from"./runtime-chunk-K3UQCG3P.js";import{Cc as G,Dc as I,Ec as F,Fc as z,Oc as q,Pc as T,Tc as W}from"./runtime-chunk-BVVSZMXD.js";var L=Math.fround,H=[.01,100],K=[.01,1e4],Q=[.01,1e3],U=[.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,H),t=X(t,K),r=X(r,Q),a=X(a,U);let i=Math.sqrt(t/e),s=r/(2*Math.sqrt(t*e)),o=s<1?i*Math.sqrt(1-s*s):0,l=s<1?(s*i-a)/o:-a+i;return e=>{let t=void 0!==n?n*e:e;return t=s<1?Math.exp(-t*s*i)*(1*Math.cos(o*t)+l*Math.sin(o*t)):(1+l*t)*Math.exp(-t*i),0===e||1===e?e:1-t}}var Z=L(.001),$=L(1e-7),J=L(.1);function _(e,t){return L(L(1-L(3*t))+L(3*e))}function ee(e,t){return L(L(3*t)-L(6*e))}function te(e){return L(3*e)}function re(e,t,r){return L(L(L(L(L(_(t,r)*e)+ee(t,r))*e)+te(t))*e)}function ae(e,t,r){let a=L(L(L(3*_(t,r))*e)*e),n=L(L(2*ee(t,r))*e);return L(L(a+n)+te(t))}var ne=e=>e;function ie(e,t,r,a){if(e=L(e),t=L(t),r=L(r),a=L(a),e<0||e>1||r<0||r>1||e===t&&r===a)return ne;let n=new Float32Array(11);for(let t=0;t<11;t++)n[t]=re(L(t*J),e,r);return i=>0===(i=L(i))||1===i?i:re((t=>{let a=0,i=1;for(;10!==i&&n[i]<=t;)a=L(a+J),i+=1;i-=1;let s=L(L(t-n[i])/L(n[i+1]-n[i])),o=L(a+L(s*J)),l=ae(o,e,r);return l>=Z?function(e,t,r,a){for(let n=0;n<4;n++){let n=ae(t,r,a);if(0===n)return t;let i=L(re(t,r,a)-e);t=L(t-L(i/n))}return t}(t,o,e,r):0===l?o:function(e,t,r,a,n){let i,s=0,o=0;do{s=L(t+L(L(r-t)/2)),i=L(re(s,a,n)-e),i>0?r=s:t=s,o+=1}while(Math.abs(i)>$&&o<10);return s}(t,a,L(a+J),e,r)})(i),t,a)}var se=L(1.70158);function oe(e,t,r){switch(e.easing){case 0:default:return r;case 1:return ie(.25,.1,.25,1)(r);case 2:return ie(.42,0,1,1)(r);case 3:return ie(0,0,.58,1)(r);case 4:return ie(.42,0,.58,1)(r);case 7:return ie(.25,1,.5,1)(r);case 8:return Math.floor(r);case 5:{let{control1:t,control2:a}=e;return t&&a?ie(t[0],t[1],a[0],a[1])(r):r}case 6:{let{mass:a,stiffness:n,damping:i,velocity:s}=e;return void 0===a||void 0===n||void 0===i||void 0===s?r:L(Y(a,n,i,s,t)(r))}}}L(se+1);var le=Math.fround,ue=class{constructor(e,t,r){this.apply=t,this.onStart=r,this.isPlaying=!1,this.isReversed=!1,this.endTime=0,this.startTime=0,this.isFirstLerpAfterStart=!1,this.config=e,this.duration=function(e,t){if(6!==e.easing)return t;let{mass:r,stiffness:a,damping:n,velocity:i}=e;return void 0===r||void 0===a||void 0===n||void 0===i?t:function(e,t,r,a){let n=.16666666666666666,i=0,s=0,o=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 L(i*n)}(r,a,n,i)}(e.ease,le(e.duration/1e3)),this.delay=le(e.delay/1e3),this.currentRepeat=e.repeat}get repeatDirection(){return this.overrideDirection??this.config.direction}get isPingpong(){let e=this.repeatDirection;return"pingpong"===e||"pingpong-rewind"===e}get actualDelayDirection(){return this.isReversed?"start"===this.config.delayDirection?"end":"end"===this.config.delayDirection?"start":this.config.delayDirection:this.config.delayDirection}start(e){this.isPlaying=!0,this.currentRepeat=this.config.repeat,this.isFirstLerpAfterStart=!0,this.startTime=e,this.onStart?.()}endAfterCurrentPass(){this.currentRepeat<0&&(this.currentRepeat=0)}stop(){this.isPlaying=!1}rearm(){this.onStart?.()}seek(e){this.lerp(e)}update(e){if(!this.isPlaying)return;let t=a(e,this.startTime),r=0;if(this.isFirstLerpAfterStart||!this.isPingpong){let e=this.actualDelayDirection;if("start-once"===this.config.delayDirection&&this.isFirstLerpAfterStart||"start"===e||"start-end"===e){if(t<this.delay)return;r=this.delay}}t=le(t-r);let i=0===this.duration?1:Math.min(Math.max(le(t/this.duration),0),1);if(this.lerp(i),!this.isPlaying||1!==i)return;let s=this.actualDelayDirection;if("end"===s||"start-end"===s){if(t<le(this.duration+this.delay))return;this.endTime=n(this.startTime,le(le(r+this.duration)+this.delay))}else this.endTime=n(this.startTime,le(r+this.duration));this.isFirstLerpAfterStart=!1,0!==this.currentRepeat?(this.currentRepeat>0&&(this.currentRepeat-=1),this.isPingpong?this.isReversed=!this.isReversed:this.lerp(0),this.startTime=e,this.onStart?.()):this.stop()}lerp(e){"pingpong-rewind"===this.repeatDirection&&this.isReversed?(e=le(1-e),e=this.ease(e),e=le(1-e)):e=this.ease(e),this.apply(e)}ease(e){return oe(this.config.ease,this.duration,e)}},{degToRad:de,radToDeg:ce}=G,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=G.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=G.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 I),u=o instanceof I?o:(new I).fromArray(o),d=i?ve(new I,i,n):u.clone(),c=ve(new I,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 f(o.r,o.g,o.b,o.a),u=i?"string"==typeof i?n.getColor(i).clone():new f(i.r,i.g,i.b,i.a):l.clone(),d="string"==typeof s?n.getColor(s).clone():new f(s.r,s.g,s.b,s.a);return u.equals(d)?void 0:{update:r=>{l.lerpColors(u,d,r);let a=G.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]=G.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)=>G.lerp(e[r],s[r],a))}}return n}function De(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]];V.isEqual(t,r)||n.push({update:a=>{i[e].fromArray(V.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]=G.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,G.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 I)return function(e,t,r,a){if(!e.hasValue(a)||!(a in r))return;let n=e.getValue(a),i=t?(new I).fromArray(t[a]):n.clone(),s=(new I).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 f)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=t?t[a]:void 0,s=r[a],o=e.getValue(a),l=i?"string"==typeof i?n.color(i).clone():(new W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():new f(s.r,s.g,s.b,s.a);if(l.equals(u))return;let d=o.clone();return{update:t=>{e.getValue(a)!==d&&e.setValue(a,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,r,a,n);if(i instanceof W)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=t?t[a]:void 0,s=r[a],o=e.getValue(a),l=i?"string"==typeof i?n.color(i).clone():(new W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():(new W).setRGB(s.r,s.g,s.b);if(l.equals(u))return;let d=o.clone();return{update:t=>{e.getValue(a)!==d&&e.setValue(a,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,r,a,n);if("isTexture"in i)return function(e,t,r,a="texture",n){if(!e.hasValue(a)||!(a in r))return;let i=e=>Number("string"==typeof e?n?.getVariable(e)??0:e??0),s=e.getNode("rotation"),o=t?i(t[a]?.rotation):(s?.value??0)*G.RAD2DEG,l=i(r[a]?.rotation);if(s&&Math.abs(o-l)>1e-9)return{update:e=>{s.value=G.lerp(o,l,e)*G.DEG2RAD},start:()=>{s.value=o*G.DEG2RAD},end:()=>{s.value=l*G.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 N.isEqual(p,f)&&N.isEqual(h,g)&&m===b?void 0:{update:e=>{u.repeat=N.lerp(p,f,e),u.offset=N.lerp(h,g,e),u.rotation=G.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 Me(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)&&!B.some(t=>e.includes(t)));for(let t of l)try{let r=De(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=De(t,r,a,e,i);!s||(Array.isArray(s)?s.forEach(e=>e.update(n)):s.update(n))}new T;var ke=new z,Ee=new T;var xe=[["radial",R],["linear",k],["grid",E],["toObject",x],["randomnessObject",O]];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 xe){if(!e[i])continue;let o=Ae(s,t[i],r[i],a);Object.keys(o).length&&(n[i]=o)}return n}function Be(e,t){if(e){void 0!==t.count&&(e.count=t.count);for(let[r]of xe){let a=t[r];a&&Ve(e[r],a)}}}function Ce(a,n,d,c,p){let f=[];return a.data.visible&&f.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)*G.DEG2RAD):void 0,s=r.rotation?.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*G.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(Ee.setFromVector3(o)),r=(new F).setFromEuler(Ee.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)?f.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&&f.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 R.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 k.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 E.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 O.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 g&&a.data.visible&&f.push(...function(e,t,r,a){let n=[];if(!("geometry"in r)||v(e))return n;let i=e.geometry.userData.parameters,s="geometry"in t?t.geometry:{},o=r.geometry;if(e instanceof u){let t=function(e,t,r,a){if(void 0===r.scaleBaked)return;let n=(t.scaleBaked??e.appliedGeometrySize??e.data.geometry.scaleBaked).map(e=>"string"==typeof e?Number(a.shared.getVariable(e)??0):e),i=r.scaleBaked.map(e=>"string"==typeof e?Number(a.shared.getVariable(e)??0):e);if(j.isEqual(n,i))return;let s=[];return s.push({update:t=>{e.updateGeometryInteractions({scaleBaked:[G.lerp(n[0],i[0],t),G.lerp(n[1],i[1],t),G.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,P),r?{width:r[0],height:r[1],depth:r[2]}:{},y(s,P)),P.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)&&f.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(...Me(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(...Me(e.material,i,s,a))}return n}(a,n,d,c.shared))):i.is(a)?a.data.visible&&f.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 W).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.getColor(s).clone():(new W).setRGB(s.r,s.g,s.b);if(l.equals(u))return;let d=o.clone();return{update:r=>{d.lerpColors(l,u,r),t[e]?.copy?.(d)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}("color",e,t,r,a);i&&n.push(i)}return n}(a,n,d,c.shared)):a instanceof l&&f.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=G.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))),f.length?{update:e=>{f.forEach(t=>t.update(e))},start:e=>{f.forEach(t=>t.start?.(e))},end:e=>{f.forEach(t=>t.end?.(e))}}:void 0}var Pe={type:"beginState"};function Ne(e){if(5===e.easing){let{control1:t,control2:r}=e;return{easing:5,control1:t??D.defaultData.control1,control2:r??D.defaultData.control2}}if(6===e.easing){let{mass:t,stiffness:r,damping:a,velocity:n}=e;return{easing:6,mass:t??A.defaultData.mass,stiffness:r??A.defaultData.stiffness,damping:a??A.defaultData.damping,velocity:n??A.defaultData.velocity}}return{easing:e.easing}}function Ge(e){return{delay:e.delay,delayDirection:e.delayDirection??"start-end",direction:e.direction??"normal",repeat:e.repeat}}var Ie={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 We=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=Ce(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:Ne(u),...Ge(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?Ie:Pe)}),t?this.hooks.onComplete?.(r):this.hooks.onBegin?.(r))}};export{oe as a,ue as b,Ae as c,Oe as d,Be as e,Re as f,Pe as g,Ne as h,Ge as i,Ie as j,Fe as k,qe as l,Te as m,We as n};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as m}from"./runtime-chunk-I4FSGWFF.js";import"./runtime-chunk-WHV377XH.js";import"./runtime-chunk-5VIPGS7S.js";import"./runtime-chunk-PBVQ3VUW.js";import"./runtime-chunk-VDRE47BC.js";import"./runtime-chunk-4LWXYJJI.js";import"./runtime-chunk-DK76Z2FM.js";import"./runtime-chunk-Y5R3KJKE.js";import"./runtime-chunk-QPKHZ6YN.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-7EMBRCB2.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-EFBUAWKV.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-LUFVAH3F.js";import"./runtime-chunk-KXKVQHFO.js";import"./runtime-chunk-NTUTXO7Q.js";import"./runtime-chunk-HD7WF3XN.js";import{a as o}from"./runtime-chunk-O73B5QJT.js";import{a as l}from"./runtime-chunk-GGSUJEGZ.js";import{a as h,b as c}from"./runtime-chunk-PA324UGD.js";import"./runtime-chunk-PDISMNDI.js";import"./runtime-chunk-FTVQTRM7.js";import{a as d}from"./runtime-chunk-X4KN556E.js";import"./runtime-chunk-VDRE47BC.js";import"./runtime-chunk-4LWXYJJI.js";import"./runtime-chunk-Y5R3KJKE.js";import{aa as u,ga as p,ia as f}from"./runtime-chunk-QPKHZ6YN.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-7EMBRCB2.js";import"./runtime-chunk-RTLL6WIB.js";import{d as v}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-EFBUAWKV.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 A,p as I,ua as w,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 B=Math.fround;function N(e){return"pingpong"===e||"pingpong-rewind"===e}var _=class{constructor(e){this.config=e,this.effectiveCycleDuration=this.cycleDuration(0)}layout(e){let{config:t}=this;if(N(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 B(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=B(t+this.cycleDuration(i));return t}isFinished(e){return e>=this.totalDuration}resolve(e){let t,i,{config:a}=this,n=B(e);if("start-once"===a.delayDirection){let e=B(a.delay+a.duration);if(n<e)t=0,i=n;else{let s=B(n-e);t=1+Math.floor(B(s/a.duration)),i=B(s%a.duration)}}else if(N(a.direction)){let e=this.cycleDuration(0),s=B(e+a.duration),r=Math.floor(B(n/s)),o=B(n%s);o<e?(t=2*r,i=o):(t=2*r+1,i=B(o-e))}else{let e=this.cycleDuration(0);t=Math.floor(B(n/e)),i=B(n%e)}if(-1!==a.repeat&&t>=a.repeat+1)return null;let s,{startDelay:r}=this.layout(t),o=N(a.direction)&&t%2==1,l=r,h=B(l+a.duration);if(i<l)s=o?a.duration:0;else if(i>=h)s=o?0:a.duration;else{let e=B(i-l);s=o?B(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 K(e){return{easing:e.type,control1:b(e.cubicControls?.control1,[0,0]),control2:b(e.cubicControls?.control2,[1,1]),...e.springParameters}}function U(e,t){let i=[];for(let a of e??[]){let e=t(a.data);void 0!==e&&i.push({time:a.data.time,ease:K(a.data.easing),value:e})}return{keyframes:P(i)}}function V(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 z(e){e.read=void 0}function R(e,t,i){return e+(t-e)*i}function G(e,t,i){!e||(e[t]={...e[t],...i})}function X(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=V(e.track,r);if(!t)return;let i=R(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=V(e.track,r);if(!t)return;let i=R(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=V(e.track,r);if(!(t&&s instanceof f))return;let i=R(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=V(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=V(e.track,r);if(!t||0===Object.keys(t.from).length||0===Object.keys(t.to).length)return;let{layer:i}=e,a={};for(let e in i.data){if(!(e in t.from)||!(e in t.to))continue;let r=H(t.from[e],t.to[e],t.t,u);if(void 0===r)continue;a[e]=r;let o=i.getValue(e);void 0!==o&&("alpha"===e&&"number"==typeof o&&o>0&&s instanceof g&&!Array.isArray(s.material)&&(s.material.transparent=!0),n(e,i,t.from,t.to,t.t,l.shared))}return G(p,"material",{[i.uuid]:a}),void(m.render=!0)}case"light":{let t=V(e.track,r);if(!t||!(s instanceof h||s instanceof o||s instanceof c))return;let i=H(t.from,t.to,t.t,u);return s[e.field]=i,G(p,"light",{[e.field]:i}),void(m.render=!0)}case"camera":{let t=V(e.track,r);if(!(t&&s instanceof d))return;let i=R(t.from,t.to,t.t);return s[e.field]=i,void G(p,"camera",{[e.field]:i})}case"cloner":{let t=V(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=V(e.track,r);if(!i||!v(s))return;let a=t(A,i.from,i.to,i.t),n=s.geometry.userData.parameters;return n.extrusion={...n.extrusion,...a},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=V(e.track,r);if(!i)return;let a=s,n=t(w,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 H(e,t,i,a){if("string"==typeof e&&a&&(e=a.color(e)),"string"==typeof t&&a&&(t=a.color(t)),"number"==typeof e)return S.lerp(e,t,i);if(j.is(e))return j.lerp(e,t,i);if(T.is(e))return T.lerp(e,t,i);if(Array.isArray(e))return(e.length>t.length?t:e).map((a,n)=>{if(Array.isArray(a)){let a=e[n].length>t[n].length?t[n].length:e[n].length;return(4===a?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=H(e[s],t[s],i,a);void 0!==r&&(n[s]=r)}return n}}var J=new Map,Q=new Map,W=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=()=>U(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:U(t.keyframes,e=>e.value)}));case"path snapping":return void(e.data.pathSnapping&&i.push({on:"pathSnapping",track:U(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:U(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:U(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:U(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)X(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)z(e.track)}}}(s,{...r},t,{scene:i,shared:a},this.sharedAssets))}),this.schedule=new _((l=this.data,{duration:t,delay:B(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&&(Q.has(n.uuid)?Q.get(n.uuid).push(this):Q.set(n.uuid,[this])),J.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()}},Z=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=J.get(e);return t?[t]:[...J.values()].filter(t=>t.data.timeline===e)}pauseAllTimelinesFromObject(e){let t=Q.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=[...Q.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}},Y=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 W(e,t,i,a,n,s,r);else{if("pause"!==o&&"stop"!==o)throw new Error("Missing property");this.interaction=new Z(t)}}get playing(){return this.interaction instanceof W&&this.interaction.playing}get finished(){return!(this.interaction instanceof W)||this.interaction.finished}get paused(){return!(this.interaction instanceof W)||this.interaction.paused}play(){if(this.interaction instanceof W)return this.interaction.play();this.interaction.dispatch()}stop(){this.interaction instanceof W&&this.interaction.stop()}seek(e){this.interaction instanceof W&&this.interaction.seek(e)}toggle(e){this.interaction instanceof W?this.interaction.toggle(e):this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof W?this.interaction.playFromCurrent():this.interaction.dispatch()}dispatchConditional(){this.interaction instanceof W?y(this.interaction.sharedAssets,this.interaction.actionCondition)&&this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof W&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};m("TimelineAnimation",({id:e,data:t,page:i,shared:a,object:n,eventType:s,actionCondition:r})=>new Y(e,t,i.scene,a,n,s,r)),k("timeline");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|