@splinetool/runtime 2.0.111 → 2.0.112

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.
Files changed (321) hide show
  1. package/build/{runtime-bloom-LZGMORQW.js → runtime-bloom-WIVSBPB6.js} +1 -1
  2. package/build/runtime-bloom-WIVSBPB6.js.br +0 -0
  3. package/build/runtime-bloom-WIVSBPB6.js.gz +0 -0
  4. package/build/{runtime-brightnessContrast-2QANOTU6.js → runtime-brightnessContrast-UDCUACCJ.js} +1 -1
  5. package/build/runtime-brightnessContrast-UDCUACCJ.js.br +0 -0
  6. package/build/runtime-brightnessContrast-UDCUACCJ.js.gz +0 -0
  7. package/build/{runtime-chromaticAberration-ICZX5EE2.js → runtime-chromaticAberration-5B2PBUAW.js} +1 -1
  8. package/build/runtime-chromaticAberration-5B2PBUAW.js.br +0 -0
  9. package/build/runtime-chromaticAberration-5B2PBUAW.js.gz +0 -0
  10. package/build/{runtime-chunk-IYAKCYLB.js → runtime-chunk-4UKI5M7U.js} +1 -1
  11. package/build/runtime-chunk-4UKI5M7U.js.br +0 -0
  12. package/build/runtime-chunk-4UKI5M7U.js.gz +0 -0
  13. package/build/{runtime-chunk-K3573LAV.js → runtime-chunk-5GFHU5O3.js} +1 -1
  14. package/build/{runtime-chunk-K3573LAV.js.br → runtime-chunk-5GFHU5O3.js.br} +0 -0
  15. package/build/runtime-chunk-5GFHU5O3.js.gz +0 -0
  16. package/build/{runtime-chunk-DW7XV3AZ.js → runtime-chunk-6OJ5WEDW.js} +1 -1
  17. package/build/runtime-chunk-6OJ5WEDW.js.br +0 -0
  18. package/build/runtime-chunk-6OJ5WEDW.js.gz +0 -0
  19. package/build/{runtime-chunk-WI47JNZY.js → runtime-chunk-7KBKIOLH.js} +1 -1
  20. package/build/runtime-chunk-7KBKIOLH.js.br +2 -0
  21. package/build/runtime-chunk-7KBKIOLH.js.gz +0 -0
  22. package/build/runtime-chunk-AFDRNQRW.js +1 -0
  23. package/build/runtime-chunk-AFDRNQRW.js.br +0 -0
  24. package/build/runtime-chunk-AFDRNQRW.js.gz +0 -0
  25. package/build/{runtime-chunk-OVCUHOM3.js → runtime-chunk-B5ZILQMP.js} +1 -1
  26. package/build/runtime-chunk-B5ZILQMP.js.br +0 -0
  27. package/build/runtime-chunk-B5ZILQMP.js.gz +0 -0
  28. package/build/{runtime-chunk-SDONCJER.js → runtime-chunk-BTRYG7QD.js} +1 -1
  29. package/build/runtime-chunk-BTRYG7QD.js.br +0 -0
  30. package/build/runtime-chunk-BTRYG7QD.js.gz +0 -0
  31. package/build/{runtime-chunk-WYBXAFUM.js → runtime-chunk-BTSRVGT5.js} +1 -1
  32. package/build/runtime-chunk-BTSRVGT5.js.br +0 -0
  33. package/build/runtime-chunk-BTSRVGT5.js.gz +0 -0
  34. package/build/{runtime-chunk-LRABVW6N.js → runtime-chunk-DANALROV.js} +1 -1
  35. package/build/runtime-chunk-DANALROV.js.br +0 -0
  36. package/build/runtime-chunk-DANALROV.js.gz +0 -0
  37. package/build/{runtime-chunk-2HUMYYK7.js → runtime-chunk-DFGWKB33.js} +1 -1
  38. package/build/runtime-chunk-DFGWKB33.js.br +0 -0
  39. package/build/runtime-chunk-DFGWKB33.js.gz +0 -0
  40. package/build/{runtime-chunk-TEB7I2O4.js → runtime-chunk-DJXVKXGV.js} +1 -1
  41. package/build/runtime-chunk-DJXVKXGV.js.br +0 -0
  42. package/build/runtime-chunk-DJXVKXGV.js.gz +0 -0
  43. package/build/{runtime-chunk-6NVC3IWW.js → runtime-chunk-DRIPYS35.js} +1 -1
  44. package/build/runtime-chunk-DRIPYS35.js.br +0 -0
  45. package/build/runtime-chunk-DRIPYS35.js.gz +0 -0
  46. package/build/{runtime-chunk-6QLGM27B.js → runtime-chunk-GKADT6CT.js} +1 -1
  47. package/build/runtime-chunk-GKADT6CT.js.br +0 -0
  48. package/build/runtime-chunk-GKADT6CT.js.gz +0 -0
  49. package/build/{runtime-chunk-SBSO4UMN.js → runtime-chunk-HGF6QHYU.js} +1 -1
  50. package/build/runtime-chunk-HGF6QHYU.js.br +0 -0
  51. package/build/runtime-chunk-HGF6QHYU.js.gz +0 -0
  52. package/build/{runtime-chunk-DXZWMR6C.js → runtime-chunk-IM5IJKZ4.js} +1 -1
  53. package/build/runtime-chunk-IM5IJKZ4.js.br +0 -0
  54. package/build/runtime-chunk-IM5IJKZ4.js.gz +0 -0
  55. package/build/{runtime-chunk-DPEYXSWS.js → runtime-chunk-JIIDYXPH.js} +1 -1
  56. package/build/runtime-chunk-JIIDYXPH.js.br +0 -0
  57. package/build/runtime-chunk-JIIDYXPH.js.gz +0 -0
  58. package/build/{runtime-chunk-E5ILRC2A.js → runtime-chunk-LUG274W6.js} +1 -1
  59. package/build/runtime-chunk-LUG274W6.js.br +0 -0
  60. package/build/runtime-chunk-LUG274W6.js.gz +0 -0
  61. package/build/{runtime-chunk-JZ5DCIEI.js → runtime-chunk-MQLFQRPR.js} +1 -1
  62. package/build/runtime-chunk-MQLFQRPR.js.br +0 -0
  63. package/build/runtime-chunk-MQLFQRPR.js.gz +0 -0
  64. package/build/{runtime-chunk-IXA2KDU3.js → runtime-chunk-PCGOMP2U.js} +1 -1
  65. package/build/runtime-chunk-PCGOMP2U.js.br +0 -0
  66. package/build/runtime-chunk-PCGOMP2U.js.gz +0 -0
  67. package/build/{runtime-chunk-M4QW3NEI.js → runtime-chunk-PMV7JEL6.js} +1 -1
  68. package/build/runtime-chunk-PMV7JEL6.js.br +0 -0
  69. package/build/runtime-chunk-PMV7JEL6.js.gz +0 -0
  70. package/build/{runtime-chunk-UXOXNYKE.js → runtime-chunk-RZ6YNELR.js} +1 -1
  71. package/build/runtime-chunk-RZ6YNELR.js.br +0 -0
  72. package/build/runtime-chunk-RZ6YNELR.js.gz +0 -0
  73. package/build/{runtime-chunk-7TRY6CGZ.js → runtime-chunk-TYGJLPCE.js} +1 -1
  74. package/build/{runtime-chunk-7TRY6CGZ.js.br → runtime-chunk-TYGJLPCE.js.br} +0 -0
  75. package/build/{runtime-chunk-7TRY6CGZ.js.gz → runtime-chunk-TYGJLPCE.js.gz} +0 -0
  76. package/build/{runtime-chunk-IAW24WOU.js → runtime-chunk-UKDHCCVH.js} +1 -1
  77. package/build/runtime-chunk-UKDHCCVH.js.br +0 -0
  78. package/build/runtime-chunk-UKDHCCVH.js.gz +0 -0
  79. package/build/{runtime-chunk-KZKQGWQY.js → runtime-chunk-VHR7QJVB.js} +1 -1
  80. package/build/runtime-chunk-VHR7QJVB.js.br +0 -0
  81. package/build/runtime-chunk-VHR7QJVB.js.gz +0 -0
  82. package/build/{runtime-chunk-RMDDSQDR.js → runtime-chunk-XDQCZPY7.js} +1 -1
  83. package/build/runtime-chunk-XDQCZPY7.js.br +0 -0
  84. package/build/runtime-chunk-XDQCZPY7.js.gz +0 -0
  85. package/build/{runtime-chunk-NQZ2R3DT.js → runtime-chunk-XQKSFNI2.js} +1 -1
  86. package/build/runtime-chunk-XQKSFNI2.js.br +0 -0
  87. package/build/runtime-chunk-XQKSFNI2.js.gz +0 -0
  88. package/build/{runtime-chunk-ZKZ2R7M4.js → runtime-chunk-Z4AODCXW.js} +1 -1
  89. package/build/runtime-chunk-Z4AODCXW.js.br +0 -0
  90. package/build/runtime-chunk-Z4AODCXW.js.gz +0 -0
  91. package/build/{runtime-classicRuntime-YQQDI5IV.js → runtime-classicRuntime-BH2YHJ5U.js} +1 -1
  92. package/build/runtime-classicRuntime-BH2YHJ5U.js.br +0 -0
  93. package/build/runtime-classicRuntime-BH2YHJ5U.js.gz +0 -0
  94. package/build/{runtime-cloners-52ECTXY5.js → runtime-cloners-6OLW7F4P.js} +1 -1
  95. package/build/runtime-cloners-6OLW7F4P.js.br +0 -0
  96. package/build/runtime-cloners-6OLW7F4P.js.gz +0 -0
  97. package/build/{runtime-components-P7SFUQJS.js → runtime-components-DEY4KMKU.js} +1 -1
  98. package/build/runtime-components-DEY4KMKU.js.br +0 -0
  99. package/build/runtime-components-DEY4KMKU.js.gz +0 -0
  100. package/build/runtime-conditional-IG7IFLL5.js +1 -0
  101. package/build/runtime-conditional-IG7IFLL5.js.br +0 -0
  102. package/build/runtime-conditional-IG7IFLL5.js.gz +0 -0
  103. package/build/{runtime-createDestroy-QJFWGANQ.js → runtime-createDestroy-WDHYMC54.js} +1 -1
  104. package/build/runtime-createDestroy-WDHYMC54.js.br +0 -0
  105. package/build/runtime-createDestroy-WDHYMC54.js.gz +0 -0
  106. package/build/{runtime-depthOfField-6BD3DY2L.js → runtime-depthOfField-ZT2FSANT.js} +1 -1
  107. package/build/runtime-depthOfField-ZT2FSANT.js.br +0 -0
  108. package/build/runtime-depthOfField-ZT2FSANT.js.gz +0 -0
  109. package/build/{runtime-dragDrop-AHZYXR6E.js → runtime-dragDrop-MOJEHYRP.js} +1 -1
  110. package/build/runtime-dragDrop-MOJEHYRP.js.br +0 -0
  111. package/build/runtime-dragDrop-MOJEHYRP.js.gz +0 -0
  112. package/build/{runtime-gameControls-77DVCJ33.js → runtime-gameControls-4A55YTTK.js} +1 -1
  113. package/build/runtime-gameControls-4A55YTTK.js.br +0 -0
  114. package/build/runtime-gameControls-4A55YTTK.js.gz +0 -0
  115. package/build/{runtime-hair-BNTV7RLD.js → runtime-hair-THKRJEJX.js} +1 -1
  116. package/build/runtime-hair-THKRJEJX.js.br +3 -0
  117. package/build/runtime-hair-THKRJEJX.js.gz +0 -0
  118. package/build/{runtime-hueSaturation-GNQQ7AEP.js → runtime-hueSaturation-H3TADUSD.js} +1 -1
  119. package/build/runtime-hueSaturation-H3TADUSD.js.br +0 -0
  120. package/build/runtime-hueSaturation-H3TADUSD.js.gz +0 -0
  121. package/build/{runtime-mergeStaticGeometries-MMI525OG.js → runtime-mergeStaticGeometries-6T2Q2J5N.js} +1 -1
  122. package/build/runtime-mergeStaticGeometries-6T2Q2J5N.js.br +0 -0
  123. package/build/runtime-mergeStaticGeometries-6T2Q2J5N.js.gz +0 -0
  124. package/build/{runtime-miscActions-S766R3JN.js → runtime-miscActions-NE7CDCQX.js} +1 -1
  125. package/build/runtime-miscActions-NE7CDCQX.js.br +0 -0
  126. package/build/runtime-miscActions-NE7CDCQX.js.gz +0 -0
  127. package/build/{runtime-mouseHover-DDEYDN6N.js → runtime-mouseHover-NLALRKBR.js} +1 -1
  128. package/build/runtime-mouseHover-NLALRKBR.js.br +0 -0
  129. package/build/runtime-mouseHover-NLALRKBR.js.gz +0 -0
  130. package/build/{runtime-noise-WRSD2EO5.js → runtime-noise-67LQE2E2.js} +1 -1
  131. package/build/runtime-noise-67LQE2E2.js.br +0 -0
  132. package/build/runtime-noise-67LQE2E2.js.gz +0 -0
  133. package/build/{runtime-particles-BVILRZ46.js → runtime-particles-PGA4HYTH.js} +1 -1
  134. package/build/runtime-particles-PGA4HYTH.js.br +0 -0
  135. package/build/runtime-particles-PGA4HYTH.js.gz +0 -0
  136. package/build/{runtime-paths-JD62OWJP.js → runtime-paths-U73YXB2A.js} +1 -1
  137. package/build/runtime-paths-U73YXB2A.js.br +0 -0
  138. package/build/runtime-paths-U73YXB2A.js.gz +0 -0
  139. package/build/{runtime-pixelation-GMCR4UT6.js → runtime-pixelation-RQYKONRR.js} +1 -1
  140. package/build/runtime-pixelation-RQYKONRR.js.br +0 -0
  141. package/build/runtime-pixelation-RQYKONRR.js.gz +0 -0
  142. package/build/{runtime-resize-DAOQWWVS.js → runtime-resize-2EXWMHM7.js} +1 -1
  143. package/build/runtime-resize-2EXWMHM7.js.br +0 -0
  144. package/build/runtime-resize-2EXWMHM7.js.gz +0 -0
  145. package/build/{runtime-sceneTransition-VQBPARWT.js → runtime-sceneTransition-3CJVLWPG.js} +1 -1
  146. package/build/runtime-sceneTransition-3CJVLWPG.js.br +0 -0
  147. package/build/runtime-sceneTransition-3CJVLWPG.js.gz +0 -0
  148. package/build/{runtime-scroll-ZJJYJCTP.js → runtime-scroll-UE4ZWA2R.js} +1 -1
  149. package/build/runtime-scroll-UE4ZWA2R.js.br +0 -0
  150. package/build/runtime-scroll-UE4ZWA2R.js.gz +0 -0
  151. package/build/runtime-shapeBlends-AHQ7VBGK.js +1 -0
  152. package/build/runtime-shapeBlends-AHQ7VBGK.js.br +0 -0
  153. package/build/runtime-shapeBlends-AHQ7VBGK.js.gz +0 -0
  154. package/build/{runtime-text-JSWHWVZ3.js → runtime-text-PTBQTCND.js} +1 -1
  155. package/build/runtime-text-PTBQTCND.js.br +0 -0
  156. package/build/runtime-text-PTBQTCND.js.gz +0 -0
  157. package/build/{runtime-textInputs-U4IYQBFM.js → runtime-textInputs-YR7GWKTC.js} +1 -1
  158. package/build/runtime-textInputs-YR7GWKTC.js.br +0 -0
  159. package/build/runtime-textInputs-YR7GWKTC.js.gz +0 -0
  160. package/build/runtime-timeline-TU2ZCRFO.js +1 -0
  161. package/build/runtime-timeline-TU2ZCRFO.js.br +0 -0
  162. package/build/runtime-timeline-TU2ZCRFO.js.gz +0 -0
  163. package/build/{runtime-tracking-Q6GHLMSO.js → runtime-tracking-RT4GES4L.js} +1 -1
  164. package/build/runtime-tracking-RT4GES4L.js.br +0 -0
  165. package/build/runtime-tracking-RT4GES4L.js.gz +0 -0
  166. package/build/{runtime-transitions-T437D4JG.js → runtime-transitions-MXCE6D3T.js} +1 -1
  167. package/build/runtime-transitions-MXCE6D3T.js.br +0 -0
  168. package/build/runtime-transitions-MXCE6D3T.js.gz +0 -0
  169. package/build/{runtime-ui2d-72KNMXGW.js → runtime-ui2d-J2II2VED.js} +1 -1
  170. package/build/runtime-ui2d-J2II2VED.js.br +0 -0
  171. package/build/runtime-ui2d-J2II2VED.js.gz +0 -0
  172. package/build/{runtime-vectorShapes-H63EFDPR.js → runtime-vectorShapes-QWFVO4EJ.js} +1 -1
  173. package/build/runtime-vectorShapes-QWFVO4EJ.js.br +0 -0
  174. package/build/runtime-vectorShapes-QWFVO4EJ.js.gz +0 -0
  175. package/build/{runtime-vignette-Q6IY7DVD.js → runtime-vignette-372NGF24.js} +1 -1
  176. package/build/runtime-vignette-372NGF24.js.br +0 -0
  177. package/build/runtime-vignette-372NGF24.js.gz +0 -0
  178. package/build/{runtime-webgpu-DYSLWO3H.js → runtime-webgpu-TM7J4NBX.js} +1 -1
  179. package/build/runtime-webgpu-TM7J4NBX.js.br +0 -0
  180. package/build/runtime-webgpu-TM7J4NBX.js.gz +0 -0
  181. package/build/runtime.cjs +305 -305
  182. package/build/runtime.js +1 -1
  183. package/build/runtime.js.br +0 -0
  184. package/build/runtime.js.gz +0 -0
  185. package/build/runtime.standalone.js +1 -1
  186. package/build/runtime.standalone.js.br +0 -0
  187. package/build/runtime.standalone.js.gz +0 -0
  188. package/build/runtime.standalone.webgl.js +1 -1
  189. package/build/runtime.standalone.webgl.js.br +0 -0
  190. package/build/runtime.standalone.webgl.js.gz +0 -0
  191. package/build/runtime.standalone.webgpu.js +1 -1
  192. package/build/runtime.standalone.webgpu.js.br +0 -0
  193. package/build/runtime.standalone.webgpu.js.gz +0 -0
  194. package/build/runtime.standalone.webgpu.micro.js +1 -1
  195. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  196. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  197. package/build/runtime.standalone.webgpu.min.js +1 -1
  198. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  199. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  200. package/package.json +1 -1
  201. package/build/runtime-bloom-LZGMORQW.js.br +0 -0
  202. package/build/runtime-bloom-LZGMORQW.js.gz +0 -0
  203. package/build/runtime-brightnessContrast-2QANOTU6.js.br +0 -0
  204. package/build/runtime-brightnessContrast-2QANOTU6.js.gz +0 -0
  205. package/build/runtime-chromaticAberration-ICZX5EE2.js.br +0 -0
  206. package/build/runtime-chromaticAberration-ICZX5EE2.js.gz +0 -0
  207. package/build/runtime-chunk-2HUMYYK7.js.br +0 -0
  208. package/build/runtime-chunk-2HUMYYK7.js.gz +0 -0
  209. package/build/runtime-chunk-6KMSULQO.js +0 -1
  210. package/build/runtime-chunk-6KMSULQO.js.br +0 -0
  211. package/build/runtime-chunk-6KMSULQO.js.gz +0 -0
  212. package/build/runtime-chunk-6NVC3IWW.js.br +0 -0
  213. package/build/runtime-chunk-6NVC3IWW.js.gz +0 -0
  214. package/build/runtime-chunk-6QLGM27B.js.br +0 -0
  215. package/build/runtime-chunk-6QLGM27B.js.gz +0 -0
  216. package/build/runtime-chunk-DPEYXSWS.js.br +0 -0
  217. package/build/runtime-chunk-DPEYXSWS.js.gz +0 -0
  218. package/build/runtime-chunk-DW7XV3AZ.js.br +0 -0
  219. package/build/runtime-chunk-DW7XV3AZ.js.gz +0 -0
  220. package/build/runtime-chunk-DXZWMR6C.js.br +0 -0
  221. package/build/runtime-chunk-DXZWMR6C.js.gz +0 -0
  222. package/build/runtime-chunk-E5ILRC2A.js.br +0 -0
  223. package/build/runtime-chunk-E5ILRC2A.js.gz +0 -0
  224. package/build/runtime-chunk-IAW24WOU.js.br +0 -0
  225. package/build/runtime-chunk-IAW24WOU.js.gz +0 -0
  226. package/build/runtime-chunk-IXA2KDU3.js.br +0 -0
  227. package/build/runtime-chunk-IXA2KDU3.js.gz +0 -0
  228. package/build/runtime-chunk-IYAKCYLB.js.br +0 -0
  229. package/build/runtime-chunk-IYAKCYLB.js.gz +0 -0
  230. package/build/runtime-chunk-JZ5DCIEI.js.br +0 -0
  231. package/build/runtime-chunk-JZ5DCIEI.js.gz +0 -0
  232. package/build/runtime-chunk-K3573LAV.js.gz +0 -0
  233. package/build/runtime-chunk-KZKQGWQY.js.br +0 -0
  234. package/build/runtime-chunk-KZKQGWQY.js.gz +0 -0
  235. package/build/runtime-chunk-LRABVW6N.js.br +0 -0
  236. package/build/runtime-chunk-LRABVW6N.js.gz +0 -0
  237. package/build/runtime-chunk-M4QW3NEI.js.br +0 -0
  238. package/build/runtime-chunk-M4QW3NEI.js.gz +0 -0
  239. package/build/runtime-chunk-NQZ2R3DT.js.br +0 -0
  240. package/build/runtime-chunk-NQZ2R3DT.js.gz +0 -0
  241. package/build/runtime-chunk-OVCUHOM3.js.br +0 -2
  242. package/build/runtime-chunk-OVCUHOM3.js.gz +0 -0
  243. package/build/runtime-chunk-RMDDSQDR.js.br +0 -0
  244. package/build/runtime-chunk-RMDDSQDR.js.gz +0 -0
  245. package/build/runtime-chunk-SBSO4UMN.js.br +0 -0
  246. package/build/runtime-chunk-SBSO4UMN.js.gz +0 -0
  247. package/build/runtime-chunk-SDONCJER.js.br +0 -0
  248. package/build/runtime-chunk-SDONCJER.js.gz +0 -0
  249. package/build/runtime-chunk-TEB7I2O4.js.br +0 -0
  250. package/build/runtime-chunk-TEB7I2O4.js.gz +0 -0
  251. package/build/runtime-chunk-UXOXNYKE.js.br +0 -0
  252. package/build/runtime-chunk-UXOXNYKE.js.gz +0 -0
  253. package/build/runtime-chunk-WI47JNZY.js.br +0 -2
  254. package/build/runtime-chunk-WI47JNZY.js.gz +0 -0
  255. package/build/runtime-chunk-WYBXAFUM.js.br +0 -0
  256. package/build/runtime-chunk-WYBXAFUM.js.gz +0 -0
  257. package/build/runtime-chunk-ZKZ2R7M4.js.br +0 -0
  258. package/build/runtime-chunk-ZKZ2R7M4.js.gz +0 -0
  259. package/build/runtime-classicRuntime-YQQDI5IV.js.br +0 -0
  260. package/build/runtime-classicRuntime-YQQDI5IV.js.gz +0 -0
  261. package/build/runtime-cloners-52ECTXY5.js.br +0 -0
  262. package/build/runtime-cloners-52ECTXY5.js.gz +0 -0
  263. package/build/runtime-components-P7SFUQJS.js.br +0 -0
  264. package/build/runtime-components-P7SFUQJS.js.gz +0 -0
  265. package/build/runtime-conditional-V4O43AFY.js +0 -1
  266. package/build/runtime-conditional-V4O43AFY.js.br +0 -0
  267. package/build/runtime-conditional-V4O43AFY.js.gz +0 -0
  268. package/build/runtime-createDestroy-QJFWGANQ.js.br +0 -0
  269. package/build/runtime-createDestroy-QJFWGANQ.js.gz +0 -0
  270. package/build/runtime-depthOfField-6BD3DY2L.js.br +0 -0
  271. package/build/runtime-depthOfField-6BD3DY2L.js.gz +0 -0
  272. package/build/runtime-dragDrop-AHZYXR6E.js.br +0 -0
  273. package/build/runtime-dragDrop-AHZYXR6E.js.gz +0 -0
  274. package/build/runtime-gameControls-77DVCJ33.js.br +0 -0
  275. package/build/runtime-gameControls-77DVCJ33.js.gz +0 -0
  276. package/build/runtime-hair-BNTV7RLD.js.br +0 -3
  277. package/build/runtime-hair-BNTV7RLD.js.gz +0 -0
  278. package/build/runtime-hueSaturation-GNQQ7AEP.js.br +0 -0
  279. package/build/runtime-hueSaturation-GNQQ7AEP.js.gz +0 -0
  280. package/build/runtime-mergeStaticGeometries-MMI525OG.js.br +0 -0
  281. package/build/runtime-mergeStaticGeometries-MMI525OG.js.gz +0 -0
  282. package/build/runtime-miscActions-S766R3JN.js.br +0 -0
  283. package/build/runtime-miscActions-S766R3JN.js.gz +0 -0
  284. package/build/runtime-mouseHover-DDEYDN6N.js.br +0 -0
  285. package/build/runtime-mouseHover-DDEYDN6N.js.gz +0 -0
  286. package/build/runtime-noise-WRSD2EO5.js.br +0 -0
  287. package/build/runtime-noise-WRSD2EO5.js.gz +0 -0
  288. package/build/runtime-particles-BVILRZ46.js.br +0 -0
  289. package/build/runtime-particles-BVILRZ46.js.gz +0 -0
  290. package/build/runtime-paths-JD62OWJP.js.br +0 -0
  291. package/build/runtime-paths-JD62OWJP.js.gz +0 -0
  292. package/build/runtime-pixelation-GMCR4UT6.js.br +0 -0
  293. package/build/runtime-pixelation-GMCR4UT6.js.gz +0 -0
  294. package/build/runtime-resize-DAOQWWVS.js.br +0 -0
  295. package/build/runtime-resize-DAOQWWVS.js.gz +0 -0
  296. package/build/runtime-sceneTransition-VQBPARWT.js.br +0 -0
  297. package/build/runtime-sceneTransition-VQBPARWT.js.gz +0 -0
  298. package/build/runtime-scroll-ZJJYJCTP.js.br +0 -0
  299. package/build/runtime-scroll-ZJJYJCTP.js.gz +0 -0
  300. package/build/runtime-shapeBlends-TS3OEM4M.js +0 -1
  301. package/build/runtime-shapeBlends-TS3OEM4M.js.br +0 -2
  302. package/build/runtime-shapeBlends-TS3OEM4M.js.gz +0 -0
  303. package/build/runtime-text-JSWHWVZ3.js.br +0 -0
  304. package/build/runtime-text-JSWHWVZ3.js.gz +0 -0
  305. package/build/runtime-textInputs-U4IYQBFM.js.br +0 -0
  306. package/build/runtime-textInputs-U4IYQBFM.js.gz +0 -0
  307. package/build/runtime-timeline-JUOPROK7.js +0 -1
  308. package/build/runtime-timeline-JUOPROK7.js.br +0 -0
  309. package/build/runtime-timeline-JUOPROK7.js.gz +0 -0
  310. package/build/runtime-tracking-Q6GHLMSO.js.br +0 -0
  311. package/build/runtime-tracking-Q6GHLMSO.js.gz +0 -0
  312. package/build/runtime-transitions-T437D4JG.js.br +0 -0
  313. package/build/runtime-transitions-T437D4JG.js.gz +0 -0
  314. package/build/runtime-ui2d-72KNMXGW.js.br +0 -0
  315. package/build/runtime-ui2d-72KNMXGW.js.gz +0 -0
  316. package/build/runtime-vectorShapes-H63EFDPR.js.br +0 -0
  317. package/build/runtime-vectorShapes-H63EFDPR.js.gz +0 -0
  318. package/build/runtime-vignette-Q6IY7DVD.js.br +0 -0
  319. package/build/runtime-vignette-Q6IY7DVD.js.gz +0 -0
  320. package/build/runtime-webgpu-DYSLWO3H.js.br +0 -0
  321. package/build/runtime-webgpu-DYSLWO3H.js.gz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splinetool/runtime",
3
- "version": "2.0.111",
3
+ "version": "2.0.112",
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
@@ -1 +0,0 @@
1
- import{e,g as t,j as r}from"./runtime-chunk-DW7XV3AZ.js";import{a,b as n}from"./runtime-chunk-HD7WF3XN.js";import{a as i,d as s,f as o,g as l}from"./runtime-chunk-IAW24WOU.js";import{b as u}from"./runtime-chunk-6NVC3IWW.js";import{Z as d,ba as p,ca as c,i as h,ia as f,ja as g}from"./runtime-chunk-2HUMYYK7.js";import{v as m}from"./runtime-chunk-7TRY6CGZ.js";import{d as b,e as y}from"./runtime-chunk-RTLL6WIB.js";import{c as v,d as S,e as w}from"./runtime-chunk-2PT2WH66.js";import{A as j,B as V,C as A,G as D,H as E,M as R,N as k,O as M,P as x,Q as O,R as N,Ua as C,Va as P,da as B,ma as G,pa as I,z}from"./runtime-chunk-NY4SLVL4.js";import{Ec as F,Fc as T,Gc as q,Hc as W,Rc as L,Vc as U}from"./runtime-chunk-KPOUV3HD.js";var H=Math.fround,X=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=P(e.ease,H(e.duration/1e3)),this.delay=H(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=H(t-r);let i=0===this.duration?1:Math.min(Math.max(H(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<H(this.duration+this.delay))return;this.endTime=n(this.startTime,H(H(r+this.duration)+this.delay))}else this.endTime=n(this.startTime,H(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=H(1-e),e=this.ease(e),e=H(1-e)):e=this.ease(e),this.apply(e)}ease(e){return C(this.config.ease,this.duration,e)}},{degToRad:Y,radToDeg:Z}=F;function _(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=F.lerp(l,u,r);t[e]=i?Math.trunc(a):a},start:()=>{t[e]=l},end:()=>{t[e]=u}}:void 0}function K(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=F.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 Q(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}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?Q(new W,i,n):o.clone(),u=Q(new W,s,n);return l.equals(u)?void 0:{update:e=>{o.lerpVectors(l,u,e)},start:()=>{o.copy(l)},end:()=>{o.copy(u)}}}function J(e,t,r){return t.forEach((t,a)=>{e.setComponent(a,"string"==typeof t?Number(r.getVariable(t)??0):t)}),e}function ee(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 T),u=o instanceof T?o:(new T).fromArray(o),d=i?J(new T,i,n):u.clone(),p=J(new T,s,n);return d.equals(p)?void 0:{update:r=>{u.lerpVectors(d,p,r),l&&(t[e]=u.toArray())},start:()=>{u.copy(d),l&&(t[e]=u.toArray())},end:()=>{u.copy(p),l&&(t[e]=u.toArray())}}}function te(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 h(o.r,o.g,o.b,o.a),u=i?"string"==typeof i?n.getColor(i).clone():new h(i.r,i.g,i.b,i.a):l.clone(),d="string"==typeof s?n.getColor(s).clone():new h(s.r,s.g,s.b,s.a);return u.equals(d)?void 0:{update:r=>{l.lerpColors(u,d,r);let a=F.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 re(e,t,r,a,n){return"number"==typeof t[e]?_(e,t,r??{},a,n):Array.isArray(t[e])?K(e,t,r??{},a,n):void 0}function ae(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 ne(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]=F.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)=>F.lerp(e[r],s[r],a))}}return n}function ie(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]=F.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,F.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 T)return function(e,t,r,a){if(!e.hasValue(a)||!(a in r))return;let n=e.getValue(a),i=t?(new T).fromArray(t[a]):n.clone(),s=(new T).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 W)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?Q(new W,s,n):i.clone(),u=Q(new W,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 h)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 U).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():new h(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 U)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 U).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.color(s).clone():(new U).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)*F.RAD2DEG,l=i(r[a]?.rotation);if(s&&Math.abs(o-l)>1e-9)return{update:e=>{s.value=F.lerp(o,l,e)*F.DEG2RAD},start:()=>{s.value=o*F.DEG2RAD},end:()=>{s.value=l*F.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,p=r[a],c=[...d.repeat],h=[...d.offset],f=[...p.repeat],g=[...p.offset],m=d.rotation??0,b=p.rotation??0;return z.isEqual(c,f)&&z.isEqual(h,g)&&m===b?void 0:{update:e=>{u.repeat=z.lerp(c,f,e),u.offset=z.lerp(h,g,e),u.rotation=F.lerp(m,b,e),u.updateMatrix()},start:()=>{u.repeat=[...c],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 se(e,t,r,a){let n=[],i=t.layers?d(t,a):e.transparent,s=d(r,a);n.push(function(e,t,r){let a=t||r;return{update:t=>{e.setTransparent(1===t?r:a)}}}(e,i,s)),function(e,t,r){let a=e.ensureRainbowNoiseCompiled;if("function"==typeof a)for(let n of[...e.layers]){if("rainbow"!==n.type)continue;let i=t.layers?.data(n.uuid),s=r.layers.data(n.uuid);(p(i?.noiseStrength)||p(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=c[i.type]??[],l=i.getNames().filter(e=>!o.includes(e)&&!B.some(t=>e.includes(t)));for(let t of l)try{let r=ie(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 oe(e,t,r,a,n,i){let s=ie(t,r,a,e,i);!s||(Array.isArray(s)?s.forEach(e=>e.update(n)):s.update(n))}new W,new L;var le=new W,ue=new L;var de=[["radial",k],["linear",M],["grid",x],["toObject",O],["randomnessObject",N]];function pe(e,t,r,a){if(!e)return{};let n=ne(["count"],t,r,a);void 0!==n.count&&(n.count=Math.trunc(n.count));for(let[i,s]of de){if(!e[i])continue;let o=ne(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 de){let a=t[r];a&&ae(e[r],a)}}}function he(a,n,d,p,c){let h=[];return a.data.visible&&h.push(...function(e,t,r,a,n){let i,s,u,d,p,c,h,f=[];if(w(e)?(i=ee("position",e,t,r,n),i&&f.push(i),u=_("rotation",e,t,r,n),u&&f.push(u),d=ee("shear",e,t,r,n),d&&f.push(d)):(h={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=_("slide",h,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),p&&f.push(p),c=_("offset",h,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,r.pathSnapping??e.dataPatched.pathSnapping,n),c&&f.push(c),!p&&!c&&(i=$("position",e,t,r,n),i&&f.push(i),s=$("scale",e,t,r,n),s&&f.push(s),u=function(e,t,r,a,n){let i=t?.rotation?t.rotation.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*F.DEG2RAD):void 0,s=r.rotation?.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*F.DEG2RAD);if(!s)return;let o=i?(new W).fromArray(i):(new W).setFromEuler(e.rotation),l=(new W).fromArray(s);if(o.equals(l))return;let u=le.subVectors(l,o);if(a&&u.toArray().every(e=>Math.abs(e)<2*Math.PI)){let t=(new q).setFromEuler(ue.setFromVector3(o)),r=(new q).setFromEuler(ue.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=>{le.lerpVectors(o,l,t),e.rotation.setFromVector3(le)},start:()=>{e.rotation.setFromVector3(o)},end:()=>{e.rotation.setFromVector3(l)}}}(e,t,r,a,n),u&&f.push(u),d=function(e,t,r){let a=t.shear,n=r.shear;if(!n)return;let i=e.shearMatrix,s=a??[i.elements[4],i.elements[8],i.elements[1],i.elements[9],i.elements[2],i.elements[6]],o=n;return s.every((e,t)=>e===o[t])?void 0:{update:e=>{s.forEach((t,r)=>{let a=F.lerp(t,o[r],e);i.elements[A.INDEX_MAP[r]]=a})},start:()=>{s.forEach((e,t)=>{i.elements[A.INDEX_MAP[t]]=e})},end:()=>{o.forEach((e,t)=>{i.elements[A.INDEX_MAP[t]]=e})}}}(e,t,r),d&&f.push(d))),i||s||u||d||p||c){let r=w(e)?()=>{e.updateWorldMatrix(!0,!1,!0),e.resetBBoxNeedsUpdate()}:()=>{e.updateMatrix(),e.hasNonUniformScale&&(e.updateMatrixWorld(),e.updateMatrixWorldRigid()),e.parent?.matrixWorldFusedFalse&&(e.matrixWorld.multiplyMatrices(e.parent.matrixWorldFusedFalse,e.matrix),e.matrixWorldNeedsUpdate=!1),o(e)&&l(e.parent)&&e.invalidateDownstreamBooleanData(!0),e.updatePathSnapping(Object.assign({},t.pathSnapping,h))};f.push({update:r,start:r,end:r})}return f}(a,n,d,c,p.shared)),w(a)?h.push(...function(a,n,i,s,o){let l,u,d,p,c,h,f,g,m,b,y,v,S,w,j,V=[];if("width"in a&&(l=_("width",a,n,i,o),l&&V.push(l)),"height"in a&&(u=_("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=te("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}})),p=te("color",a.stroke,t,r,o),p&&V.push(p),c=_("thickness",a.stroke,t,r,o),c&&V.push(c)}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=te("color",a.dropShadow,t,r,o),h&&V.push(h),f=_("blurRadius",a.dropShadow,t,r,o),f&&V.push(f),m=_("spread",a.dropShadow,t,r,o),m&&V.push(m),g=ee("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=te("color",a.innerShadow,t,r,o),b&&V.push(b),y=_("blurRadius",a.innerShadow,t,r,o),y&&V.push(y),S=_("spread",a.innerShadow,t,r,o),S&&V.push(S),v=ee("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})),w=_("radius",a.backgroundBlur,t,r,o),w&&V.push(w)}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=_("radius",a.layerBlur,t,r,o),j&&V.push(j)}if(a instanceof r||a instanceof t){let e=K("cornerRadius",a,n,i,o);e&&V.push(e)}return V}(a,n,d,0,p.shared)):(a.data.visible&&h.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;R.forEach(e=>{let t;t="count"===e?_("count",i.parameters,s,o,a.shared,!0):re(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 k.forEach(e=>{let t=re(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 M.forEach(e=>{let t=re(e,o,n??{},i,a);t&&s.push(t)}),s}(i,s,o,a.shared);u?.length&&n.push(...u);let d=function(e,t,r,a){if("grid"!==e.parameters.type)return;let n=t.grid,i=r.grid;if(!i)return;let s=[],o=e.parameters.grid;return x.forEach(e=>{let t;t="count"===e?K(e,o,n??{},i,a,!0):re(e,o,n??{},i,a),t&&s.push(t)}),s}(i,s,o,a.shared);d?.length&&n.push(...d);let p=function(e,t,r,a){if("toObject"!==e.parameters.type)return;let n=t.toObject,i=r.toObject;if(!i)return;let s=[],o=e.parameters.toObject;return O.forEach(e=>{let t;t="count"===e?_(e,o,n??{},i,a,!0):re(e,o,n??{},i,a),t&&s.push(t)}),s}(i,s,o,a.shared);p?.length&&n.push(...p);let c=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 N.forEach(e=>{let t=re(e,o,n??{},i,a);t&&s.push(t)}),s}(i,s,o,a.shared);return c?.length&&n.push(...c),n.length&&n.push({update:()=>{i.update(a)}}),n}(a,n,d,p)),a instanceof m?(a instanceof g&&a.data.visible&&h.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:[F.lerp(n[0],i[0],t),F.lerp(n[1],i[1],t),F.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,I),r?{width:r[0],height:r[1],depth:r[2]}:{},y(s,I)),I.forEach(e=>{let r=re(e,t,s,o,a.shared);r&&n.push(r)}),S(e)){Object.assign(t,{extrusion:{...i.extrusion}});let e=function(e,t,r,a){if(!r.extrusion)return;let n=e.extrusion,i=t.extrusion??{},s=r.extrusion,o=[];return G.forEach(e=>{let t=re(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,p)),a.data.visible&&!(a instanceof f&&a.materialOverride)&&h.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(...se(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(...se(e.material,i,s,a))}return n}(a,n,d,p.shared))):s.is(a)?a.data.visible&&h.push(...function(e,t,r,a){let n=[];if(void 0!==r.intensity){let i=_("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 U).setRGB(i.r,i.g,i.b):o.clone(),u="string"==typeof s?n.getColor(s).clone():(new U).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,p.shared)):a instanceof i&&h.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=F.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=_("targetOffset",e,t,r,a);i&&n.push(i)}return n}(a,n,d,p.shared))),h.length?{update:e=>{h.forEach(t=>t.update(e))},start:e=>{h.forEach(t=>t.start?.(e))},end:e=>{h.forEach(t=>t.end?.(e))}}:void 0}var fe={type:"beginState"};function ge(e){if(5===e.easing){let{control1:t,control2:r}=e;return{easing:5,control1:t??E.defaultData.control1,control2:r??E.defaultData.control2}}if(6===e.easing){let{mass:t,stiffness:r,damping:a,velocity:n}=e;return{easing:6,mass:t??D.defaultData.mass,stiffness:r??D.defaultData.stiffness,damping:a??D.defaultData.damping,velocity:n??D.defaultData.velocity}}return{easing:e.easing}}function me(e){return{delay:e.delay,delayDirection:e.delayDirection??"start-end",direction:e.direction??"normal",repeat:e.repeat}}var be={type:"completeState",isfromEntity:!1};function ye(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 ve=["position","rotation","scale","shear"],Se=new Set;function we(e){if(e.length<2)return Se;let t=new Set,[r,...a]=e;for(let e of ve){let n=r[e];void 0!==n&&a.every(t=>b(t[e],n))&&t.add(e)}return t}var je=class{constructor(e,t,r,a,n,i,s,o={},l=()=>Se){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=w(this.object)?null:this.object.transitionState.state,this.callback=he(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 X({duration:(u=a).duration,ease:ge(u),...me(u)},this.onChange,this.buildCallback),this.rebind()}rebind(){let{fromRef:e,toRef:t}=this;if(void 0===e){let e=ye(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=ye(this.object,e);if(!t)throw new Error("Missing property");this.from=t}if(void 0===t)throw new Error("Missing property");let r=ye(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||w(this.object))return;let t=1===e,r=e>.5?this.targetStateId:this.startStateId,a=this.object.transitionState;a.settled===t&&a.state===r||(this.object.transitionState={settled:t,state:r},this.object.reversibleToState=this.end.id,this.object.prevState!==this.object.currentState&&(this.object.prevState=this.object.currentState),this.object.currentState=r,this.object.dispatchEvent({type:"transitionState",settled:t,state:r}),this.object.dispatchEvent({type:t?"completeState":"beginState",state:r}),this.object.traverseEntity(e=>{e!==this.object&&e instanceof i&&e.dispatchEvent(t?be:fe)}),t?this.hooks.onComplete?.(r):this.hooks.onBegin?.(r))}};export{X as a,ne as b,pe as c,ce as d,oe as e,fe as f,ge as g,me as h,be as i,ye as j,Se as k,we as l,je as m};
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,2 +0,0 @@
1
- G �9�v��b��\�I,-q��[��ˢ�1��\2��R���v^��%�
2
- aK��� ���$�|d@���J@b�/�A���u��׈"��n3|<�eŚ
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- � Ĥ9���JZ�#r�#I�q�3u�Ծ���0c�:�d��m��Z��|:Mh >2����.���:��ee����^e�u���i�ۇ�'�����
2
- Z
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{a as t,b as i}from"./runtime-chunk-DZNU62CT.js";import{f as s,g as a}from"./runtime-chunk-PYMHVL3C.js";import"./runtime-chunk-52FUITQN.js";import{a as n}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-NY4SLVL4.js";import{Gc as o,Hc as e,Qc as c,Rc as r}from"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";function h(t){return Object.values(t).some(t=>t.length>0)}var d=new e,p=new e,u=(new c,new e,new o,new e,new r,class{constructor(t,i,a,n,o){this.actionsIn=s(t,t.inActions,a,n,o,i),this.actionsOut=s(t,t.outActions,a,n,o,i)}disconnect(){a(this.actionsIn),a(this.actionsOut)}}),f=class extends u{constructor(t,i,s,a,n,o){super(i,s,a,n,o),this.id=t,this.data=i,this.object=s,this.stage="out",this.objects=[],this.onUpdateMatrixWorld=()=>{for(let t of this.objects)if(!t.visible)return;let t=d.setFromMatrixPosition(this.objects[0].matrixWorld),i=p.setFromMatrixPosition(this.objects[1].matrixWorld),s=t.distanceTo(i)<=this.distance?"in":"out";if(this.stage!==s){this.stage=s;let t="in"===s?this.actionsIn:this.actionsOut;t.Audio.forEach(t=>t.dispatchConditional()),t.Particles.forEach(t=>t.dispatchConditional()),t.Video.forEach(t=>t.dispatchConditional()),t.Link.forEach(t=>t.dispatch()),t.Create.forEach(t=>t.dispatch()),t.Destroy.forEach(t=>t.dispatch()),t.Reset.forEach(t=>t.dispatch()),t.Transition.forEach(t=>{!t.shouldReinit()||(t.object.currentTransitionEvent!==this&&(t.object.currentTransitionEvent=this),t.init())}),t.Transition.forEach(t=>t.play()),t.Animation.forEach(t=>t.play()),t.TimelineAnimation.forEach(t=>t.play()),t.SwitchCamera.forEach(t=>t.play()),t.SceneTransition.forEach(t=>t.dispatch()),t.SetVariable.forEach(t=>t.checkConditions()),t.SetVariable.forEach(t=>t.dispatch()),t.DynamicVariablePlay.forEach(t=>t.dispatch()),t.ClearLocalStorage.forEach(t=>t.dispatch()),t.UserAPI.forEach(t=>t.dispatch())}};let{distance:e,fromObject:c,toObject:r}=i.condition;this.distance=e;for(let t of[c,r]){if(!t)throw new Error("Missing property");let i=a.find(t);if(!i)throw new Error("Missing property");this.objects.push(i)}}connect(){window.setTimeout(()=>{this.objects.forEach(t=>{t.addEventListener("updateMatrixWorld",this.onUpdateMatrixWorld),t.addEventListener("updateMatrix",this.onUpdateMatrixWorld)}),this.onUpdateMatrixWorld()},0)}disconnect(){super.disconnect(),this.stage="out",this.objects.forEach(t=>{t.removeEventListener("updateMatrixWorld",this.onUpdateMatrixWorld),t.removeEventListener("updateMatrix",this.onUpdateMatrixWorld)})}},l=class extends u{constructor(t,i,s,a,n,o){super(i,s,a,n,o),this.id=t,this.data=i,this.object=s,this.onTransitionState=({settled:t,state:i})=>{t&&i===(this.toState??null)?h(this.actionsIn)&&this.runInActions():h(this.actionsOut)&&this.runOutActions()};let{condition:e}=i;if(!e.object)throw new Error("Missing property");let c=a.find(e.object)??a.scene.find2D(e.object);if(!c)throw new Error("Missing property");if(this.toObject=c,e.state&&!this.toObject.states?.[e.state])throw new Error("Missing property");this.toState=e.state}connect(){this.toObject.addEventListener("transitionState",this.onTransitionState)}disconnect(){super.disconnect(),this.toObject.removeEventListener("transitionState",this.onTransitionState)}runOutActions(){this.actionsOut.Audio.forEach(t=>t.dispatchConditional()),this.actionsOut.Particles.forEach(t=>t.dispatchConditional()),this.actionsOut.Video.forEach(t=>t.dispatchConditional()),this.actionsOut.Link.forEach(t=>t.dispatch()),this.actionsOut.Create.forEach(t=>t.dispatch()),this.actionsOut.Destroy.forEach(t=>t.dispatch()),this.actionsOut.Reset.forEach(t=>t.dispatch()),this.actionsIn.Transition.forEach(t=>{this.drivesWatchedObject(t)||t.pause()}),this.object.currentTransitionEvent=this,this.actionsOut.Transition.forEach(t=>t.play()),this.actionsOut.Animation.forEach(t=>t.play()),this.actionsOut.TimelineAnimation.forEach(t=>t.play()),this.actionsIn.SwitchCamera.forEach(t=>t.pause()),this.actionsOut.SwitchCamera.forEach(t=>t.play()),this.actionsOut.SceneTransition.forEach(t=>t.dispatch()),this.actionsOut.SetVariable.forEach(t=>t.checkConditions()),this.actionsOut.SetVariable.forEach(t=>t.dispatch()),this.actionsOut.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actionsOut.ClearLocalStorage.forEach(t=>t.dispatch()),this.actionsOut.UserAPI.forEach(t=>t.dispatch())}runInActions(){this.actionsIn.Audio.forEach(t=>t.dispatchConditional()),this.actionsIn.Particles.forEach(t=>t.dispatchConditional()),this.actionsIn.Video.forEach(t=>t.dispatchConditional()),this.actionsIn.Link.forEach(t=>t.dispatch()),this.actionsIn.Create.forEach(t=>t.dispatch()),this.actionsIn.Destroy.forEach(t=>t.dispatch()),this.actionsIn.Reset.forEach(t=>t.dispatch()),this.actionsOut.Transition.forEach(t=>{this.drivesWatchedObject(t)||t.pause()}),this.object.currentTransitionEvent=this,this.actionsIn.Transition.forEach(t=>t.play()),this.actionsIn.Animation.forEach(t=>t.play()),this.actionsIn.TimelineAnimation.forEach(t=>t.play()),this.actionsOut.SwitchCamera.forEach(t=>t.pause()),this.actionsIn.SwitchCamera.forEach(t=>t.play()),this.actionsIn.SceneTransition.forEach(t=>t.dispatch()),this.actionsIn.SetVariable.forEach(t=>t.checkConditions()),this.actionsIn.SetVariable.forEach(t=>t.dispatch()),this.actionsIn.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actionsOut.ClearLocalStorage.forEach(t=>t.dispatch()),this.actionsOut.UserAPI.forEach(t=>t.dispatch())}drivesWatchedObject(t){return t.object===this.toObject}},E=class extends t{constructor(t,i){super(t),this.eventManager=i,this.eventsPerConditions={Comparison:[],Distance:[],State:[]},this.hasVideoAction=!1}connect(){super.connect();let{page:t,sharedAssets:i}=this.eventContext;t.traverseEntity(s=>{if(s.data?.events.length)for(let{id:a,data:n}of s.data.events)if(!n.disabled&&"Conditional"===n.type)try{let o;"Comparison"===n.condition.type||("Distance"===n.condition.type?o=new f(a,n,s,t,i,this.eventManager):"State"===n.condition.type&&(o=new l(a,n,s,t,i,this.eventManager))),o&&(this.eventsPerConditions[n.condition.type].push(o),(o.actionsIn.Video.length||o.actionsOut.Video.length)&&(this.hasVideoAction=!0))}catch(t){}}),Object.values(this.eventsPerConditions).forEach(t=>t.forEach(t=>t.connect()))}disconnect(){super.disconnect(),Object.values(this.eventsPerConditions).forEach(t=>t.forEach(t=>t.disconnect()))}};i("Conditional",({eventContext:t,eventManager:i})=>new E(t,i)),n("conditional");
@@ -1,3 +0,0 @@
1
- ��ø�۴�5���E�*xcX����'Nc��[V��O��i� ����X Q�`�9nncg)>G�U�<�AmR��q�b�>�/yUc�ix&�i/���#�ᵗ"��`2vr!'��l~�V�����W�N��m�, Σ'
2
- ��~��R`
3
- ԥ�T
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-NQZ2R3DT.js";import"./runtime-chunk-SBSO4UMN.js";import"./runtime-chunk-ZKZ2R7M4.js";import"./runtime-chunk-OVCUHOM3.js";import"./runtime-chunk-6NVC3IWW.js";import"./runtime-chunk-IYAKCYLB.js";import"./runtime-chunk-K3573LAV.js";import"./runtime-chunk-E5ILRC2A.js";import"./runtime-chunk-2HUMYYK7.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-7TRY6CGZ.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-52FUITQN.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-NY4SLVL4.js";import"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";r("ShapeBlendGeometry",(n,r,t)=>new m(n,r,t)),n("shape-blends");
@@ -1,2 +0,0 @@
1
- 
2
- ���t{,�k~�ck�6�x�� �q;��*���f%�)�<�XAI�Z"�9��n,=D�"���ۢ_��o�@�eO�_�C+|�(���f�?3��ps�g�Lơ�v��.�_�=bY�8(Xֱ:.�b�ͭ�P�W5KþH*DLk^D��s����c+'!сt�j�%'!/��\�8�������'��ᔑ��)�v.N���.�(�|[n�x� ߈a����>�am�doD
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{b as t,c as e,d as i,e as a,f as s,i as n}from"./runtime-chunk-6KMSULQO.js";import"./runtime-chunk-DW7XV3AZ.js";import"./runtime-chunk-NTUTXO7Q.js";import"./runtime-chunk-HD7WF3XN.js";import{a as r}from"./runtime-chunk-IXA2KDU3.js";import{a as o}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-FTVQTRM7.js";import{a as l,b as h}from"./runtime-chunk-JZ5DCIEI.js";import{a as c}from"./runtime-chunk-IAW24WOU.js";import"./runtime-chunk-6NVC3IWW.js";import"./runtime-chunk-IYAKCYLB.js";import"./runtime-chunk-E5ILRC2A.js";import{Z as d,ba as u,ha as p,ja as f}from"./runtime-chunk-2HUMYYK7.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as m,e as y}from"./runtime-chunk-PYMHVL3C.js";import{v}from"./runtime-chunk-7TRY6CGZ.js";import"./runtime-chunk-RTLL6WIB.js";import{d as g}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-52FUITQN.js";import{a as k}from"./runtime-chunk-TZCHGFVF.js";import{A as D,B as T,D as x,E as j,Fa as b,Ka as E,La as C,Ma as I,Wa as O,Xa as A,ma as w,p as M,va as F,z as S}from"./runtime-chunk-NY4SLVL4.js";import{Dc as N,Ec as _}from"./runtime-chunk-KPOUV3HD.js";import"./runtime-chunk-ML3Z74BL.js";var L=Math.fround;function U(t){return"pingpong"===t||"pingpong-rewind"===t}var z=class{constructor(t){this.config=t,this.effectiveCycleDuration=this.cycleDuration(0)}layout(t){let{config:e}=this;if(U(e.direction)&&t%2==1)return{startDelay:0,endDelay:0};switch(e.delayDirection){case"start-once":return 0===t?{startDelay:e.delay,endDelay:0}:{startDelay:0,endDelay:0};case"start":return{startDelay:e.delay,endDelay:0};case"end":return{startDelay:0,endDelay:e.delay};default:return{startDelay:e.delay,endDelay:e.delay}}}cycleDuration(t){let{config:e}=this,{startDelay:i,endDelay:a}=this.layout(t);return L(e.duration+i+a)}get totalDuration(){let{config:t}=this;if(-1===t.repeat)return 1/0;let e=0;for(let i=0;i<=t.repeat;i++)e=L(e+this.cycleDuration(i));return e}isFinished(t){return t>=this.totalDuration}resolve(t){let e,i,{config:a}=this,s=L(t);if("start-once"===a.delayDirection){let t=L(a.delay+a.duration);if(s<t)e=0,i=s;else{let n=L(s-t);e=1+Math.floor(L(n/a.duration)),i=L(n%a.duration)}}else if(U(a.direction)){let t=this.cycleDuration(0),n=L(t+a.duration),r=Math.floor(L(s/n)),o=L(s%n);o<t?(e=2*r,i=o):(e=2*r+1,i=L(o-t))}else{let t=this.cycleDuration(0);e=Math.floor(L(s/t)),i=L(s%t)}if(-1!==a.repeat&&e>=a.repeat+1)return null;let n,{startDelay:r}=this.layout(e),o=U(a.direction)&&e%2==1,l=r,h=L(l+a.duration);if(i<l)n=o?a.duration:0;else if(i>=h)n=o?0:a.duration;else{let t=L(i-l);n=o?L(a.duration-t):t}return{cycleIndex:e,localTime:n,isReverse:o}}};function B(t){return{easing:t.type,control1:E(t.cubicControls?.control1,[0,0]),control2:E(t.cubicControls?.control2,[1,1]),...t.springParameters}}function P(t,e){let i=[];for(let a of t??[]){let t=e(a.data);void 0!==t&&i.push({time:a.data.time,ease:B(a.data.easing),value:t})}return{keyframes:A(i)}}function R(t,e){if(0===t.keyframes.length)return;let{index0:i,index1:a,t:s}=O(t.keyframes,e),n=t.read;if(n&&n.index0===i&&n.index1===a&&n.t===s)return;let r={index0:i,index1:a,from:t.keyframes[i].value,to:t.keyframes[a].value,t:s};return t.read=r,r}function V(t){t.read=void 0}function W(t,e,i){return t+(e-t)*i}function G(t,e,i){!t||(t[e]={...t[e],...i})}function Y(s,n,o,u,p,m,y){let k=()=>{y.transform=!0,y.bounds=!0,y.boolean=!0,y.render=!0};switch(s.on){case"position":case"scale":{let t=R(s.track,o);if(!t)return;let e=W(t.from,t.to,t.t);return n[s.on][s.axis]=e,G(m,s.on,{[s.axis]:e}),void k()}case"rotation":{let t=R(s.track,o);if(!t)return;let e=W(t.from,t.to,t.t);return n.rotation[s.axis]=e*_.DEG2RAD,G(m,"rotation",{[s.axis]:e}),void k()}case"shapeSize":{let t=R(s.track,o);if(!(t&&n instanceof f))return;let e=W(t.from,t.to,t.t);return n.userData.value={...n.userData.value,[s.axis]:e},G(m,"shapeSize",{[s.axis]:e}),y.size=!0,y.bounds=!0,y.boolean=!0,void(y.render=!0)}case"opacity":{let t=R(s.track,o);if(!t||!(n instanceof v)||Array.isArray(n.material))return;let e=n.material.getLayersOfType("light")[0];if(void 0===e)return;let i=_.lerp(t.from,t.to,t.t),r=n.material,l=t.to>=1&&(1===t.t||t.from>=1);return r.setTransparent(!l||d(r.data,u.shared),u.scene),a("alphaOverride",e,{alphaOverride:i},{alphaOverride:i+1},0,u.shared),m&&(m.opacity=i),void(y.render=!0)}case"material":{let t=R(s.track,o);if(!t||0===Object.keys(t.from).length||0===Object.keys(t.to).length)return;let{layer:e}=s,i={};for(let s in e.data){if(!(s in t.from)||!(s in t.to))continue;let r=K(t.from[s],t.to[s],t.t,p);if(void 0===r)continue;i[s]=r;let o=e.getValue(s);void 0!==o&&("alpha"===s&&"number"==typeof o&&o>0&&n instanceof v&&!Array.isArray(n.material)&&(n.material.transparent=!0),a(s,e,t.from,t.to,t.t,u.shared))}return G(m,"material",{[e.uuid]:i}),void(y.render=!0)}case"light":{let t=R(s.track,o);if(!t||!(n instanceof l||n instanceof r||n instanceof h))return;let e=K(t.from,t.to,t.t,p);return n[s.field]=e,G(m,"light",{[s.field]:e}),void(y.render=!0)}case"camera":{let t=R(s.track,o);if(!(t&&n instanceof c))return;let e=W(t.from,t.to,t.t);return n[s.field]=e,void G(m,"camera",{[s.field]:e})}case"cloner":{let t=R(s.track,o);if(!t)return;let a=n.cloner?.parameters,r=e(a,t.from,t.to,t.t);return i(a,r),G(m,"cloner",r),y.cloner=!0,y.boolean=!0,void(y.render=!0)}case"pathExtrusion":{let e=R(s.track,o);if(!e||!g(n))return;let i=t(w,e.from,e.to,e.t),a=n.geometry.userData.parameters;return a.extrusion={...a.extrusion,...i},G(m,"pathExtrusion",i),n.updateGeometryInteractions({extrusion:{...a.extrusion}},u.shared),y.bounds=!0,y.boolean=!0,void(y.render=!0)}case"pathSnapping":{let e=R(s.track,o);if(!e)return;let i=n,a=t(F,e.from,e.to,e.t);return i.userData.pathSnapping={...i.userData.pathSnapping,...a},G(m,"pathSnapping",a),i.updatePathSnapping(i.userData.pathSnapping),void(y.render=!0)}}}function K(t,e,i,a){if("string"==typeof t&&a&&(t=a.color(t)),"string"==typeof e&&a&&(e=a.color(e)),"number"==typeof t)return _.lerp(t,e,i);if(j.is(t))return j.lerp(t,e,i);if(x.is(t))return x.lerp(t,e,i);if(Array.isArray(t))return(t.length>e.length?e:t).map((a,s)=>{if(Array.isArray(a)){let a=t[s].length>e[s].length?e[s].length:t[s].length;return(4===a?T:3===a?D:S).lerp(t[s],e[s],i)}return _.lerp(t[s],e[s],i)});if("object"==typeof t&&null!==t){let s={};for(let n in t){let r=K(t[n],e[n],i,a);void 0!==r&&(s[n]=r)}return s}}var Z=new Map,H=new Map,X=class extends N{constructor(t,e,i,a,s,n,o){super(),this.id=t,this.data=e,this.scene=i,this.sharedAssets=a,this.object=s,this.eventType=n,this.actionCondition=o,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 t=b.findTimeline(this.scene.data.objects,this.data.timeline),e=t.duration;this.animatedObjectIds=Object.keys(t.objectTimelines),this.animatedObjectIds.forEach(s=>{let n=this.scene.find(s);if(!n)return;let o=t.objectTimelines[s];!o||this.evaluators.push(function(t,e,i,a,s){let n=function(t,e){let i=[];return C.groupKeyframes(e.keyframes).forEach(e=>{let a=e.path?.[0],s=e.path[1],n=()=>P(e.keyframes,t=>t.value);switch(a){case"position":case"rotation":case"scale":return void(s&&I.includes(s)&&i.push({on:a,axis:s,track:n()}));case"shape size":return void(s&&I.includes(s)&&"geometry"in t&&i.push({on:"shapeSize",axis:s,track:n()}));case"path extrusion":return void(g(t)&&i.push({on:"pathExtrusion",track:P(e.keyframes,t=>t.value)}));case"path snapping":return void(t.data.pathSnapping&&i.push({on:"pathSnapping",track:P(e.keyframes,t=>t.value)}));case"material":return void("Mesh"===t.type&&"material"in t&&function(t,e){let i=p(t.material)?t.material:void 0,a=e.layerId;if(!i||!a)return[];let s=e.keyframes.some(t=>u(t.data.value?.noiseStrength)),n=i.ensureRainbowNoiseCompiled,r=t=>{s&&"function"==typeof n&&n.call(i,t)},o=t=>"data"in t?[{on:"material",layer:t,track:P(e.keyframes,t=>t.value)}]:[];r(a);let l=i.getLayerByUuid(a);if(l)return o(l);let h=e.path[1];for(let t of i.getLayersOfType(h))r(t.uuid);return(i.getLayersOfType(h)??[]).flatMap(o)}(t,e).forEach(t=>i.push(t)));case"opacity":return void("Mesh"===t.type&&"material"in t&&i.push({on:"opacity",track:n()}));case"cloner":return void i.push({on:"cloner",track:P(e.keyframes,t=>t.value)});case"camera":return void(t instanceof c&&i.push({on:"camera",field:"zoom",track:n()}));case"light":return void((t instanceof l||t instanceof r||t instanceof h)&&i.push({on:"light",field:e.path[1],track:P(e.keyframes,t=>t.value)}))}}),i}(t,e);return{duration:i,evaluate(e,i){t.resetBBoxNeedsUpdate();let r={transform:!1,size:!1,cloner:!1,bounds:!1,boolean:!1,render:!1};for(let o of n)Y(o,t,e,a,s,i,r);!function(t,e,i){if(e.size&&t instanceof f){let{x:e,y:a,z:s}=t.userData.value;t.updateGeometryInteractions({width:e,height:a,depth:s},i.shared)}e.cloner&&t.cloner?.update(i),e.transform&&t.updateMatrix(),e.bounds&&t.resetBBoxNeedsUpdate(),e.boolean&&t instanceof f&&t.invalidateDownstreamBooleanData(),e.render&&t.dispatchEvent({type:"requestRender"})}(t,r,a)},invalidate(){for(let t of n)V(t.track)}}}(n,{...o},e,{scene:i,shared:a},this.sharedAssets))}),this.schedule=new z((d=this.data,{duration:e,delay:L(d.delay/1e3),delayDirection:d.delayDirection??"start-end",direction:d.direction??"normal",repeat:d.repeat}))}catch(t){throw new Error("Missing property")}var d;s&&(H.has(s.uuid)?H.get(s.uuid).push(this):H.set(s.uuid,[this])),Z.set(t,this)}get playing(){return this._playing}get finished(){return this._finished}get paused(){return!this._playing}update(t){null!==this.lastTime&&(this.elapsed=Math.max(0,this.elapsed+(t-this.lastTime)*this.direction)),this.lastTime=t,this.applyAtElapsed()}applyAtElapsed(){if(-1===this.direction&&0===this.elapsed)return void this.pause();let t=this.schedule.resolve(this.elapsed);if(t){if(t.cycleIndex!==this.lastCycleIndex&&(this.lastCycleIndex=t.cycleIndex,this.pauseOnNextCycleEnd))return this.pauseOnNextCycleEnd=!1,void this.pause();for(let e of this.evaluators)e.evaluate(t.localTime)}else 1===this.direction&&this.schedule.isFinished(this.elapsed)&&this.finish()}finish(){this.pause(),this._finished=!0,this.animatedObjectIds.forEach(t=>{let e=this.scene.find(t);e instanceof c&&e.dispatchEvent(n)})}startTicking(){this._playing=!0,this.lastTime=null;for(let t of this.evaluators)t.invalidate();o.add(this)}play(){let t=void 0!==this.eventType&&M(this.eventType)&&"Once"===this.data.runMode&&this.hasPlayedOnce&&this.paused&&this.elapsed>0&&!this._finished;if(void 0!==this.eventType&&M(this.eventType)&&"Once"===this.data.runMode&&this.hasPlayedOnce&&!t||void 0===this.eventType&&this._finished)return!1;this.hasPlayedOnce=!0,this.animatedObjectIds.forEach(t=>{let e=this.scene.find(t);e instanceof c&&e.dispatchEvent(s)}),!t&&(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,o.remove(this)}stop(){this.pause(),this.elapsed=0,this.lastCycleIndex=0,this.applyAtElapsed(),this._finished=!1}seek(t){let e=this.schedule.totalDuration;this.elapsed=t*(Number.isFinite(e)?e:this.schedule.effectiveCycleDuration);for(let t of this.evaluators)t.invalidate();this.applyAtElapsed()}toggle(t){let e=t??-1===this.direction;this._playing&&this.direction===(e?1:-1)?e&&(this.pauseOnNextCycleEnd=!1):(e?(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()}},Q=class{constructor(t){this.data=t}dispatch(){this.data.playTimeline?this.pauseTimeline(this.data.playTimeline):this.data.object?this.pauseAllTimelinesFromObject(this.data.object):this.pauseAllTimelines()}pauseTimeline(t){let e=this.getTimelineActions(t);!e.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{e.forEach(t=>{t[this.data.interaction]()}),this.disposeDelay()},this.data.delay)):e.forEach(t=>{t[this.data.interaction]()}))}getTimelineActions(t){let e=Z.get(t);return e?[e]:[...Z.values()].filter(e=>e.data.timeline===t)}pauseAllTimelinesFromObject(t){let e=H.get(t);!e?.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{e.forEach(t=>t[this.data.interaction]()),this.disposeDelay()},this.data.delay)):e.forEach(t=>t[this.data.interaction]()))}pauseAllTimelines(){let t=[...H.values()];!t.length||(this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{t.forEach(t=>{t.forEach(t=>{t[this.data.interaction]()})}),this.disposeDelay()},this.data.delay)):t.forEach(t=>{t.forEach(t=>{t[this.data.interaction]()})}))}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){clearTimeout(this.timeoutId),delete this.timeoutId}},J=class{constructor(t,e,i,a,s,n,r){this.data=e;let o="interaction"in e?e.interaction:"play";if("play"===o||void 0===o)this.interaction=new X(t,e,i,a,s,n,r);else{if("pause"!==o&&"stop"!==o)throw new Error("Missing property");this.interaction=new Q(e)}}get playing(){return this.interaction instanceof X&&this.interaction.playing}get finished(){return!(this.interaction instanceof X)||this.interaction.finished}get paused(){return!(this.interaction instanceof X)||this.interaction.paused}play(){if(this.interaction instanceof X)return this.interaction.play();this.interaction.dispatch()}stop(){this.interaction instanceof X&&this.interaction.stop()}seek(t){this.interaction instanceof X&&this.interaction.seek(t)}toggle(t){this.interaction instanceof X?this.interaction.toggle(t):this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof X?this.interaction.playFromCurrent():this.interaction.dispatch()}dispatchConditional(){this.interaction instanceof X?y(this.interaction.sharedAssets,this.interaction.actionCondition)&&this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof X&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};m("TimelineAnimation",({id:t,data:e,page:i,shared:a,object:s,eventType:n,actionCondition:r})=>new J(t,e,i.scene,a,s,n,r)),k("timeline");
Binary file
Binary file
Binary file
Binary file