@splinetool/runtime 2.0.79 → 2.0.80

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 (329) hide show
  1. package/build/hana-ui.js +99 -38
  2. package/build/hana-ui.js.br +0 -0
  3. package/build/hana-ui.js.gz +0 -0
  4. package/build/hana-ui.wasm +0 -0
  5. package/build/hana-ui.wasm.br +0 -0
  6. package/build/hana-ui.wasm.gz +0 -0
  7. package/build/{runtime-bloom-5IYCXQ4O.js → runtime-bloom-XQIHBXEA.js} +1 -1
  8. package/build/runtime-bloom-XQIHBXEA.js.br +0 -0
  9. package/build/runtime-bloom-XQIHBXEA.js.gz +0 -0
  10. package/build/{runtime-brightnessContrast-IJFVIZBY.js → runtime-brightnessContrast-GLW3FZLX.js} +1 -1
  11. package/build/runtime-brightnessContrast-GLW3FZLX.js.br +0 -0
  12. package/build/runtime-brightnessContrast-GLW3FZLX.js.gz +0 -0
  13. package/build/{runtime-chromaticAberration-MGN6AICT.js → runtime-chromaticAberration-RNXFNQKW.js} +1 -1
  14. package/build/runtime-chromaticAberration-RNXFNQKW.js.br +0 -0
  15. package/build/runtime-chromaticAberration-RNXFNQKW.js.gz +0 -0
  16. package/build/{runtime-chunk-RKR3NX6C.js → runtime-chunk-3RTQ3NQF.js} +1 -1
  17. package/build/runtime-chunk-3RTQ3NQF.js.br +0 -0
  18. package/build/runtime-chunk-3RTQ3NQF.js.gz +0 -0
  19. package/build/{runtime-chunk-EHAPBIFR.js → runtime-chunk-56JTNBS6.js} +1 -1
  20. package/build/runtime-chunk-56JTNBS6.js.br +0 -0
  21. package/build/runtime-chunk-56JTNBS6.js.gz +0 -0
  22. package/build/{runtime-chunk-FUQ6JGJE.js → runtime-chunk-76PGVUWU.js} +1 -1
  23. package/build/runtime-chunk-76PGVUWU.js.br +0 -0
  24. package/build/runtime-chunk-76PGVUWU.js.gz +0 -0
  25. package/build/{runtime-chunk-MZ2U2WPT.js → runtime-chunk-7SAYUYC6.js} +1 -1
  26. package/build/runtime-chunk-7SAYUYC6.js.br +0 -0
  27. package/build/runtime-chunk-7SAYUYC6.js.gz +0 -0
  28. package/build/{runtime-chunk-3LM66IMY.js → runtime-chunk-7VOZWX3T.js} +1 -1
  29. package/build/runtime-chunk-7VOZWX3T.js.br +0 -0
  30. package/build/runtime-chunk-7VOZWX3T.js.gz +0 -0
  31. package/build/{runtime-chunk-XUYTWEZC.js → runtime-chunk-AWYF6JV4.js} +1 -1
  32. package/build/runtime-chunk-AWYF6JV4.js.br +0 -0
  33. package/build/runtime-chunk-AWYF6JV4.js.gz +0 -0
  34. package/build/{runtime-chunk-MTCK524S.js → runtime-chunk-BQXZLNXD.js} +1 -1
  35. package/build/runtime-chunk-BQXZLNXD.js.br +0 -0
  36. package/build/runtime-chunk-BQXZLNXD.js.gz +0 -0
  37. package/build/{runtime-chunk-C626IZLL.js → runtime-chunk-D2ROPPGK.js} +1 -1
  38. package/build/runtime-chunk-D2ROPPGK.js.br +0 -0
  39. package/build/runtime-chunk-D2ROPPGK.js.gz +0 -0
  40. package/build/{runtime-chunk-5P4WMNXE.js → runtime-chunk-D6C7T2XZ.js} +1 -1
  41. package/build/runtime-chunk-D6C7T2XZ.js.br +0 -0
  42. package/build/runtime-chunk-D6C7T2XZ.js.gz +0 -0
  43. package/build/{runtime-chunk-YRKGCSOQ.js → runtime-chunk-DEKH5GHU.js} +1 -1
  44. package/build/runtime-chunk-DEKH5GHU.js.br +0 -0
  45. package/build/runtime-chunk-DEKH5GHU.js.gz +0 -0
  46. package/build/{runtime-chunk-M7EYMK5K.js → runtime-chunk-FWVDE3U4.js} +1 -1
  47. package/build/runtime-chunk-FWVDE3U4.js.br +0 -0
  48. package/build/runtime-chunk-FWVDE3U4.js.gz +0 -0
  49. package/build/{runtime-chunk-GNZHEFVL.js → runtime-chunk-GPIQPHYX.js} +1 -1
  50. package/build/runtime-chunk-GPIQPHYX.js.br +0 -0
  51. package/build/runtime-chunk-GPIQPHYX.js.gz +0 -0
  52. package/build/{runtime-chunk-7F72GL4O.js → runtime-chunk-IY5OPGA7.js} +1 -1
  53. package/build/runtime-chunk-IY5OPGA7.js.br +0 -0
  54. package/build/runtime-chunk-IY5OPGA7.js.gz +0 -0
  55. package/build/{runtime-chunk-V2RDBP2D.js → runtime-chunk-JH5NZDG3.js} +1 -1
  56. package/build/runtime-chunk-JH5NZDG3.js.br +0 -0
  57. package/build/runtime-chunk-JH5NZDG3.js.gz +0 -0
  58. package/build/{runtime-chunk-LOT4BYAZ.js → runtime-chunk-JWJNZVTL.js} +1 -1
  59. package/build/runtime-chunk-JWJNZVTL.js.br +0 -0
  60. package/build/runtime-chunk-JWJNZVTL.js.gz +0 -0
  61. package/build/{runtime-chunk-JQQTKODZ.js → runtime-chunk-LTRKODBB.js} +1 -1
  62. package/build/runtime-chunk-LTRKODBB.js.br +0 -0
  63. package/build/runtime-chunk-LTRKODBB.js.gz +0 -0
  64. package/build/{runtime-chunk-TM7FOWJG.js → runtime-chunk-NR4GKNK5.js} +1 -1
  65. package/build/runtime-chunk-NR4GKNK5.js.br +0 -0
  66. package/build/runtime-chunk-NR4GKNK5.js.gz +0 -0
  67. package/build/{runtime-chunk-6PWMILIP.js → runtime-chunk-NRAHH3A7.js} +1 -1
  68. package/build/runtime-chunk-NRAHH3A7.js.br +0 -0
  69. package/build/runtime-chunk-NRAHH3A7.js.gz +0 -0
  70. package/build/{runtime-chunk-DMIZ2XI5.js → runtime-chunk-QFZBIE6U.js} +1 -1
  71. package/build/runtime-chunk-QFZBIE6U.js.br +0 -0
  72. package/build/runtime-chunk-QFZBIE6U.js.gz +0 -0
  73. package/build/{runtime-chunk-IEWDI2NY.js → runtime-chunk-RUP6ECVP.js} +1 -1
  74. package/build/runtime-chunk-RUP6ECVP.js.br +0 -0
  75. package/build/runtime-chunk-RUP6ECVP.js.gz +0 -0
  76. package/build/{runtime-chunk-IA3PGV7G.js → runtime-chunk-RYI5B333.js} +1 -1
  77. package/build/runtime-chunk-RYI5B333.js.br +0 -0
  78. package/build/runtime-chunk-RYI5B333.js.gz +0 -0
  79. package/build/{runtime-chunk-TSBNCSEP.js → runtime-chunk-VNLIGRNN.js} +1 -1
  80. package/build/runtime-chunk-VNLIGRNN.js.br +1 -0
  81. package/build/runtime-chunk-VNLIGRNN.js.gz +0 -0
  82. package/build/{runtime-chunk-AYKGNKHM.js → runtime-chunk-W2CDS2AT.js} +1 -1
  83. package/build/runtime-chunk-W2CDS2AT.js.br +0 -0
  84. package/build/runtime-chunk-W2CDS2AT.js.gz +0 -0
  85. package/build/{runtime-chunk-UZHQGJLS.js → runtime-chunk-WCE73TGZ.js} +1 -1
  86. package/build/runtime-chunk-WCE73TGZ.js.br +0 -0
  87. package/build/runtime-chunk-WCE73TGZ.js.gz +0 -0
  88. package/build/{runtime-chunk-6H6Y7NG2.js → runtime-chunk-XH6O3JRD.js} +1 -1
  89. package/build/runtime-chunk-XH6O3JRD.js.br +0 -0
  90. package/build/runtime-chunk-XH6O3JRD.js.gz +0 -0
  91. package/build/{runtime-chunk-2YI5XLPF.js → runtime-chunk-XRCTSQTC.js} +1 -1
  92. package/build/runtime-chunk-XRCTSQTC.js.br +0 -0
  93. package/build/runtime-chunk-XRCTSQTC.js.gz +0 -0
  94. package/build/{runtime-chunk-SDQ4OBTA.js → runtime-chunk-XVVJCQFV.js} +1 -1
  95. package/build/runtime-chunk-XVVJCQFV.js.br +0 -0
  96. package/build/runtime-chunk-XVVJCQFV.js.gz +0 -0
  97. package/build/runtime-chunk-Z4KFXH5Q.js +1 -0
  98. package/build/runtime-chunk-Z4KFXH5Q.js.br +0 -0
  99. package/build/runtime-chunk-Z4KFXH5Q.js.gz +0 -0
  100. package/build/{runtime-classicRuntime-L524TJFU.js → runtime-classicRuntime-4ESCSKF2.js} +1 -1
  101. package/build/runtime-classicRuntime-4ESCSKF2.js.br +0 -0
  102. package/build/runtime-classicRuntime-4ESCSKF2.js.gz +0 -0
  103. package/build/{runtime-cloners-LSTRJQJM.js → runtime-cloners-YXOIXYBG.js} +1 -1
  104. package/build/runtime-cloners-YXOIXYBG.js.br +0 -0
  105. package/build/runtime-cloners-YXOIXYBG.js.gz +0 -0
  106. package/build/{runtime-components-3OTN63C4.js → runtime-components-OPDLMYRF.js} +1 -1
  107. package/build/runtime-components-OPDLMYRF.js.br +0 -0
  108. package/build/runtime-components-OPDLMYRF.js.gz +0 -0
  109. package/build/{runtime-createDestroy-IPLBB3LI.js → runtime-createDestroy-7XSWDSS6.js} +1 -1
  110. package/build/runtime-createDestroy-7XSWDSS6.js.br +0 -0
  111. package/build/runtime-createDestroy-7XSWDSS6.js.gz +0 -0
  112. package/build/{runtime-depthOfField-J3AHE3YX.js → runtime-depthOfField-TPFYMPN2.js} +1 -1
  113. package/build/runtime-depthOfField-TPFYMPN2.js.br +0 -0
  114. package/build/runtime-depthOfField-TPFYMPN2.js.gz +0 -0
  115. package/build/{runtime-dragDrop-54344QM2.js → runtime-dragDrop-URLHZTZ4.js} +1 -1
  116. package/build/runtime-dragDrop-URLHZTZ4.js.br +0 -0
  117. package/build/runtime-dragDrop-URLHZTZ4.js.gz +0 -0
  118. package/build/{runtime-gameControls-CN7Z5LNL.js → runtime-gameControls-B4VGZ5EQ.js} +1 -1
  119. package/build/runtime-gameControls-B4VGZ5EQ.js.br +0 -0
  120. package/build/runtime-gameControls-B4VGZ5EQ.js.gz +0 -0
  121. package/build/{runtime-hair-W5FICYAE.js → runtime-hair-SYNQAQS2.js} +1 -1
  122. package/build/runtime-hair-SYNQAQS2.js.br +3 -0
  123. package/build/runtime-hair-SYNQAQS2.js.gz +0 -0
  124. package/build/{runtime-hueSaturation-EEOPK5CN.js → runtime-hueSaturation-4JPCK7GQ.js} +1 -1
  125. package/build/runtime-hueSaturation-4JPCK7GQ.js.br +0 -0
  126. package/build/runtime-hueSaturation-4JPCK7GQ.js.gz +0 -0
  127. package/build/{runtime-mergeStaticGeometries-5KRCPC3P.js → runtime-mergeStaticGeometries-YSCJNFTR.js} +1 -1
  128. package/build/runtime-mergeStaticGeometries-YSCJNFTR.js.br +0 -0
  129. package/build/runtime-mergeStaticGeometries-YSCJNFTR.js.gz +0 -0
  130. package/build/{runtime-miscActions-OSDYYXBZ.js → runtime-miscActions-DBFOK4HH.js} +1 -1
  131. package/build/runtime-miscActions-DBFOK4HH.js.br +0 -0
  132. package/build/runtime-miscActions-DBFOK4HH.js.gz +0 -0
  133. package/build/{runtime-mouseHover-AA2BUUIH.js → runtime-mouseHover-XU2U7XZ3.js} +1 -1
  134. package/build/runtime-mouseHover-XU2U7XZ3.js.br +0 -0
  135. package/build/runtime-mouseHover-XU2U7XZ3.js.gz +0 -0
  136. package/build/{runtime-noise-DH3XOYDK.js → runtime-noise-NSTKM3P2.js} +1 -1
  137. package/build/runtime-noise-NSTKM3P2.js.br +0 -0
  138. package/build/runtime-noise-NSTKM3P2.js.gz +0 -0
  139. package/build/{runtime-particles-F6B757OY.js → runtime-particles-6WWRH2C3.js} +1 -1
  140. package/build/runtime-particles-6WWRH2C3.js.br +0 -0
  141. package/build/runtime-particles-6WWRH2C3.js.gz +0 -0
  142. package/build/{runtime-paths-NWCTAFIB.js → runtime-paths-FS2IMJLN.js} +1 -1
  143. package/build/runtime-paths-FS2IMJLN.js.br +0 -0
  144. package/build/runtime-paths-FS2IMJLN.js.gz +0 -0
  145. package/build/{runtime-pixelation-L5UWU3QM.js → runtime-pixelation-LSMSWG6O.js} +1 -1
  146. package/build/runtime-pixelation-LSMSWG6O.js.br +0 -0
  147. package/build/runtime-pixelation-LSMSWG6O.js.gz +0 -0
  148. package/build/runtime-resize-ESF2IEA3.js +1 -0
  149. package/build/runtime-resize-ESF2IEA3.js.br +0 -0
  150. package/build/runtime-resize-ESF2IEA3.js.gz +0 -0
  151. package/build/{runtime-sceneTransition-W5FIYM6C.js → runtime-sceneTransition-K4UND54A.js} +1 -1
  152. package/build/runtime-sceneTransition-K4UND54A.js.br +0 -0
  153. package/build/runtime-sceneTransition-K4UND54A.js.gz +0 -0
  154. package/build/{runtime-scroll-2OLNC4JO.js → runtime-scroll-5SWCQ4W3.js} +1 -1
  155. package/build/runtime-scroll-5SWCQ4W3.js.br +0 -0
  156. package/build/runtime-scroll-5SWCQ4W3.js.gz +0 -0
  157. package/build/runtime-shapeBlends-UPH4E35W.js +1 -0
  158. package/build/runtime-shapeBlends-UPH4E35W.js.br +0 -0
  159. package/build/runtime-shapeBlends-UPH4E35W.js.gz +0 -0
  160. package/build/{runtime-text-NCYRLZ2A.js → runtime-text-LGPDV26F.js} +1 -1
  161. package/build/runtime-text-LGPDV26F.js.br +0 -0
  162. package/build/runtime-text-LGPDV26F.js.gz +0 -0
  163. package/build/{runtime-textInputs-HVQPFHKD.js → runtime-textInputs-ISTBHFHQ.js} +1 -1
  164. package/build/runtime-textInputs-ISTBHFHQ.js.br +0 -0
  165. package/build/runtime-textInputs-ISTBHFHQ.js.gz +0 -0
  166. package/build/{runtime-timeline-FY534MIA.js → runtime-timeline-5UJQN4K2.js} +1 -1
  167. package/build/runtime-timeline-5UJQN4K2.js.br +0 -0
  168. package/build/runtime-timeline-5UJQN4K2.js.gz +0 -0
  169. package/build/{runtime-tracking-IDFIWF44.js → runtime-tracking-APTPBBCZ.js} +1 -1
  170. package/build/runtime-tracking-APTPBBCZ.js.br +0 -0
  171. package/build/runtime-tracking-APTPBBCZ.js.gz +0 -0
  172. package/build/{runtime-transitions-Q4LWTDSG.js → runtime-transitions-5SX43YN7.js} +1 -1
  173. package/build/runtime-transitions-5SX43YN7.js.br +0 -0
  174. package/build/runtime-transitions-5SX43YN7.js.gz +0 -0
  175. package/build/{runtime-ui2d-NXHY6F3C.js → runtime-ui2d-5JMO5BMI.js} +1 -1
  176. package/build/runtime-ui2d-5JMO5BMI.js.br +0 -0
  177. package/build/runtime-ui2d-5JMO5BMI.js.gz +0 -0
  178. package/build/{runtime-vectorShapes-GSI7C3A5.js → runtime-vectorShapes-LFDA54HR.js} +1 -1
  179. package/build/runtime-vectorShapes-LFDA54HR.js.br +0 -0
  180. package/build/runtime-vectorShapes-LFDA54HR.js.gz +0 -0
  181. package/build/{runtime-vignette-I436MIFN.js → runtime-vignette-5P7ZP2FL.js} +1 -1
  182. package/build/runtime-vignette-5P7ZP2FL.js.br +0 -0
  183. package/build/runtime-vignette-5P7ZP2FL.js.gz +0 -0
  184. package/build/{runtime-webgpu-ODXZL4HT.js → runtime-webgpu-HLS2BAQE.js} +1 -1
  185. package/build/runtime-webgpu-HLS2BAQE.js.br +0 -0
  186. package/build/runtime-webgpu-HLS2BAQE.js.gz +0 -0
  187. package/build/runtime.cjs +79 -79
  188. package/build/runtime.js +1 -1
  189. package/build/runtime.js.br +0 -0
  190. package/build/runtime.js.gz +0 -0
  191. package/build/runtime.standalone.js +1 -1
  192. package/build/runtime.standalone.js.br +0 -0
  193. package/build/runtime.standalone.js.gz +0 -0
  194. package/build/runtime.standalone.webgl.js +1 -1
  195. package/build/runtime.standalone.webgl.js.br +0 -0
  196. package/build/runtime.standalone.webgl.js.gz +0 -0
  197. package/build/runtime.standalone.webgpu.js +1 -1
  198. package/build/runtime.standalone.webgpu.js.br +0 -0
  199. package/build/runtime.standalone.webgpu.js.gz +0 -0
  200. package/build/runtime.standalone.webgpu.micro.js +1 -1
  201. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  202. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  203. package/build/runtime.standalone.webgpu.min.js +1 -1
  204. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  205. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  206. package/package.json +1 -1
  207. package/build/runtime-bloom-5IYCXQ4O.js.br +0 -0
  208. package/build/runtime-bloom-5IYCXQ4O.js.gz +0 -0
  209. package/build/runtime-brightnessContrast-IJFVIZBY.js.br +0 -0
  210. package/build/runtime-brightnessContrast-IJFVIZBY.js.gz +0 -0
  211. package/build/runtime-chromaticAberration-MGN6AICT.js.br +0 -0
  212. package/build/runtime-chromaticAberration-MGN6AICT.js.gz +0 -0
  213. package/build/runtime-chunk-2YI5XLPF.js.br +0 -0
  214. package/build/runtime-chunk-2YI5XLPF.js.gz +0 -0
  215. package/build/runtime-chunk-3LM66IMY.js.br +0 -0
  216. package/build/runtime-chunk-3LM66IMY.js.gz +0 -0
  217. package/build/runtime-chunk-5P4WMNXE.js.br +0 -0
  218. package/build/runtime-chunk-5P4WMNXE.js.gz +0 -0
  219. package/build/runtime-chunk-6H6Y7NG2.js.br +0 -0
  220. package/build/runtime-chunk-6H6Y7NG2.js.gz +0 -0
  221. package/build/runtime-chunk-6PWMILIP.js.br +0 -0
  222. package/build/runtime-chunk-6PWMILIP.js.gz +0 -0
  223. package/build/runtime-chunk-7F72GL4O.js.br +0 -0
  224. package/build/runtime-chunk-7F72GL4O.js.gz +0 -0
  225. package/build/runtime-chunk-AYKGNKHM.js.br +0 -0
  226. package/build/runtime-chunk-AYKGNKHM.js.gz +0 -0
  227. package/build/runtime-chunk-C626IZLL.js.br +0 -0
  228. package/build/runtime-chunk-C626IZLL.js.gz +0 -0
  229. package/build/runtime-chunk-DMIZ2XI5.js.br +0 -0
  230. package/build/runtime-chunk-DMIZ2XI5.js.gz +0 -0
  231. package/build/runtime-chunk-EHAPBIFR.js.br +0 -0
  232. package/build/runtime-chunk-EHAPBIFR.js.gz +0 -0
  233. package/build/runtime-chunk-FUQ6JGJE.js.br +0 -0
  234. package/build/runtime-chunk-FUQ6JGJE.js.gz +0 -0
  235. package/build/runtime-chunk-GNZHEFVL.js.br +0 -0
  236. package/build/runtime-chunk-GNZHEFVL.js.gz +0 -0
  237. package/build/runtime-chunk-IA3PGV7G.js.br +0 -0
  238. package/build/runtime-chunk-IA3PGV7G.js.gz +0 -0
  239. package/build/runtime-chunk-IEWDI2NY.js.br +0 -0
  240. package/build/runtime-chunk-IEWDI2NY.js.gz +0 -0
  241. package/build/runtime-chunk-JQQTKODZ.js.br +0 -2
  242. package/build/runtime-chunk-JQQTKODZ.js.gz +0 -0
  243. package/build/runtime-chunk-LOT4BYAZ.js.br +0 -0
  244. package/build/runtime-chunk-LOT4BYAZ.js.gz +0 -0
  245. package/build/runtime-chunk-M7EYMK5K.js.br +0 -0
  246. package/build/runtime-chunk-M7EYMK5K.js.gz +0 -0
  247. package/build/runtime-chunk-MTCK524S.js.br +0 -0
  248. package/build/runtime-chunk-MTCK524S.js.gz +0 -0
  249. package/build/runtime-chunk-MZ2U2WPT.js.br +0 -0
  250. package/build/runtime-chunk-MZ2U2WPT.js.gz +0 -0
  251. package/build/runtime-chunk-RKR3NX6C.js.br +0 -0
  252. package/build/runtime-chunk-RKR3NX6C.js.gz +0 -0
  253. package/build/runtime-chunk-RLVLCFPN.js +0 -1
  254. package/build/runtime-chunk-RLVLCFPN.js.br +0 -0
  255. package/build/runtime-chunk-RLVLCFPN.js.gz +0 -0
  256. package/build/runtime-chunk-SDQ4OBTA.js.br +0 -0
  257. package/build/runtime-chunk-SDQ4OBTA.js.gz +0 -0
  258. package/build/runtime-chunk-TM7FOWJG.js.br +0 -0
  259. package/build/runtime-chunk-TM7FOWJG.js.gz +0 -0
  260. package/build/runtime-chunk-TSBNCSEP.js.br +0 -0
  261. package/build/runtime-chunk-TSBNCSEP.js.gz +0 -0
  262. package/build/runtime-chunk-UZHQGJLS.js.br +0 -0
  263. package/build/runtime-chunk-UZHQGJLS.js.gz +0 -0
  264. package/build/runtime-chunk-V2RDBP2D.js.br +0 -0
  265. package/build/runtime-chunk-V2RDBP2D.js.gz +0 -0
  266. package/build/runtime-chunk-XUYTWEZC.js.br +0 -0
  267. package/build/runtime-chunk-XUYTWEZC.js.gz +0 -0
  268. package/build/runtime-chunk-YRKGCSOQ.js.br +0 -0
  269. package/build/runtime-chunk-YRKGCSOQ.js.gz +0 -0
  270. package/build/runtime-classicRuntime-L524TJFU.js.br +0 -0
  271. package/build/runtime-classicRuntime-L524TJFU.js.gz +0 -0
  272. package/build/runtime-cloners-LSTRJQJM.js.br +0 -0
  273. package/build/runtime-cloners-LSTRJQJM.js.gz +0 -0
  274. package/build/runtime-components-3OTN63C4.js.br +0 -0
  275. package/build/runtime-components-3OTN63C4.js.gz +0 -0
  276. package/build/runtime-createDestroy-IPLBB3LI.js.br +0 -0
  277. package/build/runtime-createDestroy-IPLBB3LI.js.gz +0 -0
  278. package/build/runtime-depthOfField-J3AHE3YX.js.br +0 -0
  279. package/build/runtime-depthOfField-J3AHE3YX.js.gz +0 -0
  280. package/build/runtime-dragDrop-54344QM2.js.br +0 -0
  281. package/build/runtime-dragDrop-54344QM2.js.gz +0 -0
  282. package/build/runtime-gameControls-CN7Z5LNL.js.br +0 -0
  283. package/build/runtime-gameControls-CN7Z5LNL.js.gz +0 -0
  284. package/build/runtime-hair-W5FICYAE.js.br +0 -2
  285. package/build/runtime-hair-W5FICYAE.js.gz +0 -0
  286. package/build/runtime-hueSaturation-EEOPK5CN.js.br +0 -0
  287. package/build/runtime-hueSaturation-EEOPK5CN.js.gz +0 -0
  288. package/build/runtime-mergeStaticGeometries-5KRCPC3P.js.br +0 -0
  289. package/build/runtime-mergeStaticGeometries-5KRCPC3P.js.gz +0 -0
  290. package/build/runtime-miscActions-OSDYYXBZ.js.br +0 -0
  291. package/build/runtime-miscActions-OSDYYXBZ.js.gz +0 -0
  292. package/build/runtime-mouseHover-AA2BUUIH.js.br +0 -0
  293. package/build/runtime-mouseHover-AA2BUUIH.js.gz +0 -0
  294. package/build/runtime-noise-DH3XOYDK.js.br +0 -0
  295. package/build/runtime-noise-DH3XOYDK.js.gz +0 -0
  296. package/build/runtime-particles-F6B757OY.js.br +0 -0
  297. package/build/runtime-particles-F6B757OY.js.gz +0 -0
  298. package/build/runtime-paths-NWCTAFIB.js.br +0 -0
  299. package/build/runtime-paths-NWCTAFIB.js.gz +0 -0
  300. package/build/runtime-pixelation-L5UWU3QM.js.br +0 -0
  301. package/build/runtime-pixelation-L5UWU3QM.js.gz +0 -0
  302. package/build/runtime-resize-KOG2WL2G.js +0 -1
  303. package/build/runtime-resize-KOG2WL2G.js.br +0 -0
  304. package/build/runtime-resize-KOG2WL2G.js.gz +0 -0
  305. package/build/runtime-sceneTransition-W5FIYM6C.js.br +0 -0
  306. package/build/runtime-sceneTransition-W5FIYM6C.js.gz +0 -0
  307. package/build/runtime-scroll-2OLNC4JO.js.br +0 -0
  308. package/build/runtime-scroll-2OLNC4JO.js.gz +0 -0
  309. package/build/runtime-shapeBlends-IQFUUCLL.js +0 -1
  310. package/build/runtime-shapeBlends-IQFUUCLL.js.br +0 -0
  311. package/build/runtime-shapeBlends-IQFUUCLL.js.gz +0 -0
  312. package/build/runtime-text-NCYRLZ2A.js.br +0 -0
  313. package/build/runtime-text-NCYRLZ2A.js.gz +0 -0
  314. package/build/runtime-textInputs-HVQPFHKD.js.br +0 -0
  315. package/build/runtime-textInputs-HVQPFHKD.js.gz +0 -0
  316. package/build/runtime-timeline-FY534MIA.js.br +0 -0
  317. package/build/runtime-timeline-FY534MIA.js.gz +0 -0
  318. package/build/runtime-tracking-IDFIWF44.js.br +0 -0
  319. package/build/runtime-tracking-IDFIWF44.js.gz +0 -0
  320. package/build/runtime-transitions-Q4LWTDSG.js.br +0 -0
  321. package/build/runtime-transitions-Q4LWTDSG.js.gz +0 -0
  322. package/build/runtime-ui2d-NXHY6F3C.js.br +0 -0
  323. package/build/runtime-ui2d-NXHY6F3C.js.gz +0 -0
  324. package/build/runtime-vectorShapes-GSI7C3A5.js.br +0 -0
  325. package/build/runtime-vectorShapes-GSI7C3A5.js.gz +0 -0
  326. package/build/runtime-vignette-I436MIFN.js.br +0 -0
  327. package/build/runtime-vignette-I436MIFN.js.gz +0 -0
  328. package/build/runtime-webgpu-ODXZL4HT.js.br +0 -0
  329. package/build/runtime-webgpu-ODXZL4HT.js.gz +0 -0
@@ -1 +1 @@
1
- import{j as e}from"./runtime-chunk-DMIZ2XI5.js";import{Ed as t,Fc as r,Oc as i,We as n,cd as a,jd as o}from"./runtime-chunk-BVVSZMXD.js";var s;(s||(s={})).is=e=>"objectHelper"in e;var l=(r,i)=>class extends(e(r)){constructor(){super(...arguments),this.objectHelper=new i(this),this.gizmos={}}get geometryHelper(){return i.geometryHelper}raycast(e,t){this.objectHelper.raycast(e,t)}showGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!0)}}updateEntityBoxSize(e,r){this.objectHelper.visible&&this.geometryHelper instanceof t?(e.setScalar(0),r.set(this.geometryHelper.parameters.width,this.geometryHelper.parameters.height,this.geometryHelper.parameters.height).multiplyScalar(.5)):super.updateEntityBoxSize(e,r)}hideGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!1)}}},c=e=>{var r;return(r=class extends e{}).geometryHelper=new t(30,30,30),r},p=new o,u=new a,m=new i,f=(e,t,i,n,a=!1,o=e)=>{let s=t,l=o.matrixWorld;if(null===s.boundingSphere&&s.computeBoundingSphere(),u.copy(s.boundingSphere),u.applyMatrix4(l),!1===i.ray.intersectsSphere(u)||(m.copy(l).invert(),p.copy(i.ray).applyMatrix4(m),null!==s.boundingBox&&!1===p.intersectsBox(s.boundingBox)))return;let c,f,h,d,g,y,x=s.index,b=s.attributes.position,w=s.drawRange;if(!1===a){for(g=Math.max(0,w.start),y=Math.min(x.count,w.start+w.count);g<y;g+=3)if(f=x.getX(g),h=x.getX(g+1),d=x.getX(g+2),c=B(e,i,p,b,f,h,d),c)return c.faceIndex=Math.floor(g/3),void n.push(c)}else{let t=s.attributes.position,a=new r,l=new r,c=new r,u=new r,m=2,f=1/((o.scale.x+o.scale.y+o.scale.z)/3),h=f*f;for(let r=Math.max(0,w.start),s=Math.min(t.count,w.start+w.count)-1;r<s;r+=m){if(a.fromBufferAttribute(t,r),l.fromBufferAttribute(t,r+1),p.distanceSqToSegment(a,l,u,c)>h)continue;u.applyMatrix4(o.matrixWorld);let s=i.ray.origin.distanceTo(u);s<i.near||s>i.far||n.push({distance:s,point:c.clone().applyMatrix4(o.matrixWorld),object:e})}}function B(e,t,i,n,a,o,s){let l=new r,c=new r,p=new r,u=new r,m=new r;if(l.fromBufferAttribute(n,a),c.fromBufferAttribute(n,o),p.fromBufferAttribute(n,s),null===i.intersectTriangle(l,c,p,!1,u))return null;m.copy(u),m.applyMatrix4(e.matrixWorld);let f=t.ray.origin.distanceTo(m);return f<t.near||f>t.far?null:{faceIndex:1,distance:f,point:m.clone(),object:e}}};export{c as a,f as b,s as c,l as d};
1
+ import{j as e}from"./runtime-chunk-QFZBIE6U.js";import{Ed as t,Fc as r,Oc as i,We as n,cd as a,jd as o}from"./runtime-chunk-BVVSZMXD.js";var s;(s||(s={})).is=e=>"objectHelper"in e;var l=(r,i)=>class extends(e(r)){constructor(){super(...arguments),this.objectHelper=new i(this),this.gizmos={}}get geometryHelper(){return i.geometryHelper}raycast(e,t){this.objectHelper.raycast(e,t)}showGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!0)}}updateEntityBoxSize(e,r){this.objectHelper.visible&&this.geometryHelper instanceof t?(e.setScalar(0),r.set(this.geometryHelper.parameters.width,this.geometryHelper.parameters.height,this.geometryHelper.parameters.height).multiplyScalar(.5)):super.updateEntityBoxSize(e,r)}hideGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!1)}}},c=e=>{var r;return(r=class extends e{}).geometryHelper=new t(30,30,30),r},p=new o,u=new a,m=new i,f=(e,t,i,n,a=!1,o=e)=>{let s=t,l=o.matrixWorld;if(null===s.boundingSphere&&s.computeBoundingSphere(),u.copy(s.boundingSphere),u.applyMatrix4(l),!1===i.ray.intersectsSphere(u)||(m.copy(l).invert(),p.copy(i.ray).applyMatrix4(m),null!==s.boundingBox&&!1===p.intersectsBox(s.boundingBox)))return;let c,f,h,d,g,y,x=s.index,b=s.attributes.position,w=s.drawRange;if(!1===a){for(g=Math.max(0,w.start),y=Math.min(x.count,w.start+w.count);g<y;g+=3)if(f=x.getX(g),h=x.getX(g+1),d=x.getX(g+2),c=B(e,i,p,b,f,h,d),c)return c.faceIndex=Math.floor(g/3),void n.push(c)}else{let t=s.attributes.position,a=new r,l=new r,c=new r,u=new r,m=2,f=1/((o.scale.x+o.scale.y+o.scale.z)/3),h=f*f;for(let r=Math.max(0,w.start),s=Math.min(t.count,w.start+w.count)-1;r<s;r+=m){if(a.fromBufferAttribute(t,r),l.fromBufferAttribute(t,r+1),p.distanceSqToSegment(a,l,u,c)>h)continue;u.applyMatrix4(o.matrixWorld);let s=i.ray.origin.distanceTo(u);s<i.near||s>i.far||n.push({distance:s,point:c.clone().applyMatrix4(o.matrixWorld),object:e})}}function B(e,t,i,n,a,o,s){let l=new r,c=new r,p=new r,u=new r,m=new r;if(l.fromBufferAttribute(n,a),c.fromBufferAttribute(n,o),p.fromBufferAttribute(n,s),null===i.intersectTriangle(l,c,p,!1,u))return null;m.copy(u),m.applyMatrix4(e.matrixWorld);let f=t.ray.origin.distanceTo(m);return f<t.near||f>t.far?null:{faceIndex:1,distance:f,point:m.clone(),object:e}}};export{c as a,f as b,s as c,l as d};
@@ -1 +1 @@
1
- import{a as e,b as i}from"./runtime-chunk-UZHQGJLS.js";import{J as t,K as s,ja as o}from"./runtime-chunk-XUYTWEZC.js";import{v as r}from"./runtime-chunk-DMIZ2XI5.js";import{Fc as h,Oc as a,Xc as d,cd as n}from"./runtime-chunk-BVVSZMXD.js";var l=new d,u=new h;function m(e){let i=!1;return e.scene.objects.traverse((e,t)=>{"Mesh"===t.type&&"SubdivGeometry"===t.geometry.type&&(i=!0)}),i}var y=class extends o{constructor(e,i,t){super(e,i,t),this.data=i,this.hiddenMatrixOld=new a,this.smoothShading=!0,this.skipReactionUpdate=!1}chooseGeoemtryCache(e){return this.dataPatched.flatShading?e.geometryCache:e.geometryCache2}get subdivPointerNew(){return void 0!==this.localGeometry?this.subdivPointer:this.geometry.ensureSubdivPointer()}get originalGeometryNew(){return void 0!==this.localGeometry?this.originalGeometry:this.geometry.originalGeometry}get phongAngle(){return this.data.geometry.phongAngle??45}updateEntityBoxSize(e,i){let t=this.geometry.userData.parameters;e.copy(this.originalGeometryNew.boundingSphere.center),i.set(t.width,t.height,t.depth??0).multiplyScalar(.5)}createGeometryByControls(s){if(!0===this.skipReactionUpdate)return;let o=this.localGeometry?.uuid,{originalGeometry:r,subdividedGeometry:h,subdivPointer:a}=t.build(s,this.subdivPointer,this.smoothShading,this.hasNonUniformScale?this.shearScale:void 0);this.subdivPointer=a,void 0!==r&&(this.originalGeometry?.dispose(),this.originalGeometry=r),void 0!==h&&(this.subdividedGeometry?.dispose(),this.subdividedGeometry=h??void 0),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),this.calcBoundingBox(),o&&(this.localGeometry.uuid=o)}updateState(e,i){if(super.updateState(e,i),void 0!==e.flatShading){let t=this.material;this.material=Array.isArray(t)?t.map(e=>e.getFlavor(!1,e.side,e.wireframe)):t.getFlavor(!1,t.side,t.wireframe),this.smoothShading=!e.flatShading,this.createGeometryDelayed(i)}}updateMesh(e=!1,i=!1,s=!1){i&&this.subdividedGeometry||t.buildLevel(this.subdivPointer,!0,this.smoothShading?this.phongAngle:-1,this.originalGeometry,e&&this.hasNonUniformScale?this.shearScaleInv:void 0,s),this.subdividedGeometry&&t.buildLevel(this.subdivPointer,!1,this.smoothShading?this.phongAngle:-1,this.subdividedGeometry,e&&this.hasNonUniformScale?this.shearScaleInv:void 0)}updateTopology(){let s=this.localGeometry?.uuid;this.originalGeometry.dispose(),this.originalGeometry=t.buildLevel(this.subdivPointer,!0,this.smoothShading?this.phongAngle:-1),this.subdividedGeometry&&(this.subdividedGeometry.dispose(),this.subdividedGeometry=t.buildLevel(this.subdivPointer,!1,this.smoothShading?this.phongAngle:-1)),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),this.calcBoundingBox(),s&&(this.localGeometry.uuid=s)}raycast(e,i){let t=this.localGeometry;this.localGeometry=this.originalGeometryNew,r.prototype.raycast.call(this,e,i),this.localGeometry=t}activateShearCompensation(){!this.hasNonUniformScale||(this.matrix.copy(this.matrixWorldRigid),this.hiddenMatrixOld.copy(this.hiddenMatrix),this.hiddenMatrix.copy(this.parent.matrixWorld).invert())}deactivateShearCompensation(){!this.hasNonUniformScale||(this.updateMatrix(),this.hasNonUniformScale=void 0,this.hiddenMatrix.copy(this.hiddenMatrixOld))}calcBoundingBox(){let e=this.originalGeometry;null===e.boundingSphere&&(e.boundingSphere=new n,this.subdividedGeometry&&(this.subdividedGeometry.boundingSphere=e.boundingSphere));let i=e.attributes.position,t=e.boundingSphere.center;l.setFromBufferAttribute(i),l.getCenter(t),e.boundingSphere.radius=t.distanceTo(l.max),isNaN(e.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this),l.getSize(u),this.hasNonUniformScale&&u.divide(this.scale);let s={width:u.x,height:u.y,depth:u.z};return this.geometry.userData.parameters=s,s}updateBoundingSphere(e){let i=this.originalGeometry;l.min.set(e[0],e[2],e[4]),l.max.set(e[1],e[3],e[5]),this.hasNonUniformScale&&(l.min.applyMatrix4(this.shearScaleInv),l.max.applyMatrix4(this.shearScaleInv)),null===i.boundingSphere&&(i.boundingSphere=new n);let t=i.boundingSphere.center;l.getCenter(t),i.boundingSphere.radius=t.distanceTo(l.max)}freeSubdivPointer(){this.subdivPointer&&(t.freeSubdivPointer(this.subdivPointer),this.subdivPointer=0),this.localGeometry=void 0,this.originalGeometry?.dispose(),this.subdividedGeometry?.dispose()}dispose(){super.dispose(),this.freeSubdivPointer()}updateSubdivisionLevel(s){if(!0===this.skipReactionUpdate)return;let o=this.localGeometry,r=o?.uuid,h=o?.userData.parameters,a=s.subdivisions>0?t.buildRefined(this.subdivPointer,s.subdivisions,this.smoothShading?s.phongAngle??35:-1):null;this.subdividedGeometry?.dispose(),this.subdividedGeometry=a??void 0,this.subdividedGeometry&&this.originalGeometry.boundingSphere&&(this.subdividedGeometry.boundingSphere=this.originalGeometry.boundingSphere),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),void 0!==h&&(this.localGeometry.userData.parameters=h),r&&(this.localGeometry.uuid=r)}updateByPatchedOpGeometry(e,i,t){super.updateByPatchedOpGeometry(e,i,t),this.localGeometry&&(0===e.type&&0===e.path.length&&s(e.props)&&this.subdivPointer?this.updateSubdivisionLevel(i):this.createGeometryByControls(i))}};export{m as a,y as b};
1
+ import{a as e,b as i}from"./runtime-chunk-WCE73TGZ.js";import{J as t,K as s,ja as o}from"./runtime-chunk-AWYF6JV4.js";import{v as r}from"./runtime-chunk-QFZBIE6U.js";import{Fc as h,Oc as a,Xc as d,cd as n}from"./runtime-chunk-BVVSZMXD.js";var l=new d,u=new h;function m(e){let i=!1;return e.scene.objects.traverse((e,t)=>{"Mesh"===t.type&&"SubdivGeometry"===t.geometry.type&&(i=!0)}),i}var y=class extends o{constructor(e,i,t){super(e,i,t),this.data=i,this.hiddenMatrixOld=new a,this.smoothShading=!0,this.skipReactionUpdate=!1}chooseGeoemtryCache(e){return this.dataPatched.flatShading?e.geometryCache:e.geometryCache2}get subdivPointerNew(){return void 0!==this.localGeometry?this.subdivPointer:this.geometry.ensureSubdivPointer()}get originalGeometryNew(){return void 0!==this.localGeometry?this.originalGeometry:this.geometry.originalGeometry}get phongAngle(){return this.data.geometry.phongAngle??45}updateEntityBoxSize(e,i){let t=this.geometry.userData.parameters;e.copy(this.originalGeometryNew.boundingSphere.center),i.set(t.width,t.height,t.depth??0).multiplyScalar(.5)}createGeometryByControls(s){if(!0===this.skipReactionUpdate)return;let o=this.localGeometry?.uuid,{originalGeometry:r,subdividedGeometry:h,subdivPointer:a}=t.build(s,this.subdivPointer,this.smoothShading,this.hasNonUniformScale?this.shearScale:void 0);this.subdivPointer=a,void 0!==r&&(this.originalGeometry?.dispose(),this.originalGeometry=r),void 0!==h&&(this.subdividedGeometry?.dispose(),this.subdividedGeometry=h??void 0),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),this.calcBoundingBox(),o&&(this.localGeometry.uuid=o)}updateState(e,i){if(super.updateState(e,i),void 0!==e.flatShading){let t=this.material;this.material=Array.isArray(t)?t.map(e=>e.getFlavor(!1,e.side,e.wireframe)):t.getFlavor(!1,t.side,t.wireframe),this.smoothShading=!e.flatShading,this.createGeometryDelayed(i)}}updateMesh(e=!1,i=!1,s=!1){i&&this.subdividedGeometry||t.buildLevel(this.subdivPointer,!0,this.smoothShading?this.phongAngle:-1,this.originalGeometry,e&&this.hasNonUniformScale?this.shearScaleInv:void 0,s),this.subdividedGeometry&&t.buildLevel(this.subdivPointer,!1,this.smoothShading?this.phongAngle:-1,this.subdividedGeometry,e&&this.hasNonUniformScale?this.shearScaleInv:void 0)}updateTopology(){let s=this.localGeometry?.uuid;this.originalGeometry.dispose(),this.originalGeometry=t.buildLevel(this.subdivPointer,!0,this.smoothShading?this.phongAngle:-1),this.subdividedGeometry&&(this.subdividedGeometry.dispose(),this.subdividedGeometry=t.buildLevel(this.subdivPointer,!1,this.smoothShading?this.phongAngle:-1)),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),this.calcBoundingBox(),s&&(this.localGeometry.uuid=s)}raycast(e,i){let t=this.localGeometry;this.localGeometry=this.originalGeometryNew,r.prototype.raycast.call(this,e,i),this.localGeometry=t}activateShearCompensation(){!this.hasNonUniformScale||(this.matrix.copy(this.matrixWorldRigid),this.hiddenMatrixOld.copy(this.hiddenMatrix),this.hiddenMatrix.copy(this.parent.matrixWorld).invert())}deactivateShearCompensation(){!this.hasNonUniformScale||(this.updateMatrix(),this.hasNonUniformScale=void 0,this.hiddenMatrix.copy(this.hiddenMatrixOld))}calcBoundingBox(){let e=this.originalGeometry;null===e.boundingSphere&&(e.boundingSphere=new n,this.subdividedGeometry&&(this.subdividedGeometry.boundingSphere=e.boundingSphere));let i=e.attributes.position,t=e.boundingSphere.center;l.setFromBufferAttribute(i),l.getCenter(t),e.boundingSphere.radius=t.distanceTo(l.max),isNaN(e.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this),l.getSize(u),this.hasNonUniformScale&&u.divide(this.scale);let s={width:u.x,height:u.y,depth:u.z};return this.geometry.userData.parameters=s,s}updateBoundingSphere(e){let i=this.originalGeometry;l.min.set(e[0],e[2],e[4]),l.max.set(e[1],e[3],e[5]),this.hasNonUniformScale&&(l.min.applyMatrix4(this.shearScaleInv),l.max.applyMatrix4(this.shearScaleInv)),null===i.boundingSphere&&(i.boundingSphere=new n);let t=i.boundingSphere.center;l.getCenter(t),i.boundingSphere.radius=t.distanceTo(l.max)}freeSubdivPointer(){this.subdivPointer&&(t.freeSubdivPointer(this.subdivPointer),this.subdivPointer=0),this.localGeometry=void 0,this.originalGeometry?.dispose(),this.subdividedGeometry?.dispose()}dispose(){super.dispose(),this.freeSubdivPointer()}updateSubdivisionLevel(s){if(!0===this.skipReactionUpdate)return;let o=this.localGeometry,r=o?.uuid,h=o?.userData.parameters,a=s.subdivisions>0?t.buildRefined(this.subdivPointer,s.subdivisions,this.smoothShading?s.phongAngle??35:-1):null;this.subdividedGeometry?.dispose(),this.subdividedGeometry=a??void 0,this.subdividedGeometry&&this.originalGeometry.boundingSphere&&(this.subdividedGeometry.boundingSphere=this.originalGeometry.boundingSphere),this.localGeometry=this.subdividedGeometry??this.originalGeometry,e(this),i(this),void 0!==h&&(this.localGeometry.userData.parameters=h),r&&(this.localGeometry.uuid=r)}updateByPatchedOpGeometry(e,i,t){super.updateByPatchedOpGeometry(e,i,t),this.localGeometry&&(0===e.type&&0===e.path.length&&s(e.props)&&this.subdivPointer?this.updateSubdivisionLevel(i):this.createGeometryByControls(i))}};export{m as a,y as b};
@@ -0,0 +1 @@
1
+ import{e,g as t,j as r}from"./runtime-chunk-56JTNBS6.js";import{a,b as n}from"./runtime-chunk-HD7WF3XN.js";import{c as i,e as s,f as o}from"./runtime-chunk-FWVDE3U4.js";import{a as l}from"./runtime-chunk-D2ROPPGK.js";import{b as u}from"./runtime-chunk-XVVJCQFV.js";import{Z as d,ba as c,ca as p,i as h,ia as f,ja as g}from"./runtime-chunk-AWYF6JV4.js";import{v as m}from"./runtime-chunk-QFZBIE6U.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-JBTA64YE.js";import{Cc as G,Dc as F,Ec as I,Fc as z,Oc as T,Pc as q,Tc as W}from"./runtime-chunk-BVVSZMXD.js";var L=Math.fround,U=[.01,100],J=[.01,1e4],Q=[.01,1e3],H=[.01,1e3];function X(e,[t,r]){return Math.min(Math.max(e,t),r)}function Z(e,t,r,a,n){e=X(e,U),t=X(t,J),r=X(r,Q),a=X(a,H);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 Y=L(.001),K=L(1e-7),$=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*$),e,r);return i=>0===(i=L(i))||1===i?i:re((t=>{let a=0,i=1;for(;10!==i&&n[i]<=t;)a=L(a+$),i+=1;i-=1;let s=L(L(t-n[i])/L(n[i+1]-n[i])),o=L(a+L(s*$)),l=ae(o,e,r);return l>=Y?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)>K&&o<10);return s}(t,a,L(a+$),e,r)})(i),t,a)}var se=L(1.70158);function oe(e,t,r){switch(e.easing){case 0:default:return r;case 1:return ie(.25,.1,.25,1)(r);case 2:return ie(.42,0,1,1)(r);case 3:return ie(0,0,.58,1)(r);case 4:return ie(.42,0,.58,1)(r);case 7:return ie(.25,1,.5,1)(r);case 8:return Math.floor(r);case 5:{let{control1:t,control2:a}=e;return t&&a?ie(t[0],t[1],a[0],a[1])(r):r}case 6:{let{mass:a,stiffness:n,damping:i,velocity:s}=e;return void 0===a||void 0===n||void 0===i||void 0===s?r:L(Z(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=Z(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 I;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 F),u=o instanceof F?o:(new F).fromArray(o),d=i?ve(new F,i,n):u.clone(),c=ve(new F,s,n);return d.equals(c)?void 0:{update:r=>{u.lerpVectors(d,c,r),l&&(t[e]=u.toArray())},start:()=>{u.copy(d),l&&(t[e]=u.toArray())},end:()=>{u.copy(c),l&&(t[e]=u.toArray())}}}function 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 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=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 F)return function(e,t,r,a){if(!e.hasValue(a)||!(a in r))return;let n=e.getValue(a),i=t?(new F).fromArray(t[a]):n.clone(),s=(new F).fromArray(r[a]);return i.equals(s)?void 0:{update:e=>{n.lerpVectors(i,s,e)},start:()=>{n.copy(i)},end:()=>{n.copy(s)}}}(e,t,r,a);if(i instanceof z)return function(e,t,r,a,n){if(!e.hasValue(a)||!(a in r))return;let i=e.getValue(a),s=t?t[a]:void 0,o=r[a],l=s?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 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 W).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 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 q;var ke=new z,Ee=new q;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 h=[];return a.data.visible&&h.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 I).setFromEuler(Ee.setFromVector3(o)),r=(new I).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 T).fromArray(n):s.clone(),l=new z,u=new I,d=new z;o.decompose(l,u,d);let c=(new T).fromArray(i),p=new z,h=new I,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)?h.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&&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;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&&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:[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 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(...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&&h.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&&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=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))),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 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 Fe={type:"completeState",isfromEntity:!1};function Ie(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"],Te=new Set;function qe(e){if(e.length<2)return Te;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=()=>Te){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=Ie(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=Ie(this.object,e);if(!t)throw new Error("Missing property");this.from=t}if(void 0===t)throw new Error("Missing property");let r=Ie(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?Fe: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,Fe as j,Ie as k,Te as l,qe as m,We as n};