@splinetool/runtime 2.0.94 → 2.0.96

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 (376) hide show
  1. package/README.md +1 -1
  2. package/build/{runtime-aiAssistant-MKZQ23BA.js → runtime-aiAssistant-NNF3F5QO.js} +1 -1
  3. package/build/runtime-aiAssistant-NNF3F5QO.js.br +0 -0
  4. package/build/runtime-aiAssistant-NNF3F5QO.js.gz +0 -0
  5. package/build/{runtime-apiServices-YYNQCMLP.js → runtime-apiServices-GGJ4D4DP.js} +1 -1
  6. package/build/runtime-apiServices-GGJ4D4DP.js.br +0 -0
  7. package/build/runtime-apiServices-GGJ4D4DP.js.gz +0 -0
  8. package/build/{runtime-audio-GPQ4HYPM.js → runtime-audio-IMCJS7SZ.js} +1 -1
  9. package/build/runtime-audio-IMCJS7SZ.js.br +0 -0
  10. package/build/runtime-audio-IMCJS7SZ.js.gz +0 -0
  11. package/build/{runtime-bloom-UMJG5YKZ.js → runtime-bloom-KUVUF3MS.js} +1 -1
  12. package/build/runtime-bloom-KUVUF3MS.js.br +0 -0
  13. package/build/runtime-bloom-KUVUF3MS.js.gz +0 -0
  14. package/build/{runtime-brightnessContrast-LRDMKXC2.js → runtime-brightnessContrast-RZIPSXZD.js} +1 -1
  15. package/build/runtime-brightnessContrast-RZIPSXZD.js.br +0 -0
  16. package/build/runtime-brightnessContrast-RZIPSXZD.js.gz +0 -0
  17. package/build/{runtime-chromaticAberration-X46NQTBB.js → runtime-chromaticAberration-VWSDDXVP.js} +1 -1
  18. package/build/runtime-chromaticAberration-VWSDDXVP.js.br +0 -0
  19. package/build/runtime-chromaticAberration-VWSDDXVP.js.gz +0 -0
  20. package/build/{runtime-chunk-QJMMF3L2.js → runtime-chunk-3UHEFC7E.js} +1 -1
  21. package/build/runtime-chunk-3UHEFC7E.js.br +0 -0
  22. package/build/runtime-chunk-3UHEFC7E.js.gz +0 -0
  23. package/build/{runtime-chunk-JJVEXKEO.js → runtime-chunk-4K4MHZCN.js} +1 -1
  24. package/build/runtime-chunk-4K4MHZCN.js.br +1 -0
  25. package/build/runtime-chunk-4K4MHZCN.js.gz +0 -0
  26. package/build/{runtime-chunk-32XVU5DS.js → runtime-chunk-5ZJKH7AZ.js} +1 -1
  27. package/build/runtime-chunk-5ZJKH7AZ.js.br +0 -0
  28. package/build/runtime-chunk-5ZJKH7AZ.js.gz +0 -0
  29. package/build/{runtime-chunk-GSKBI4RN.js → runtime-chunk-6DVO6Z2C.js} +1 -1
  30. package/build/runtime-chunk-6DVO6Z2C.js.br +0 -0
  31. package/build/runtime-chunk-6DVO6Z2C.js.gz +0 -0
  32. package/build/{runtime-chunk-JABQRWT5.js → runtime-chunk-7CIS3RJQ.js} +1 -1
  33. package/build/runtime-chunk-7CIS3RJQ.js.br +0 -0
  34. package/build/runtime-chunk-7CIS3RJQ.js.gz +0 -0
  35. package/build/{runtime-chunk-ZJIYRGBK.js → runtime-chunk-7CYLYBQ5.js} +1 -1
  36. package/build/runtime-chunk-7CYLYBQ5.js.br +0 -0
  37. package/build/runtime-chunk-7CYLYBQ5.js.gz +0 -0
  38. package/build/{runtime-chunk-ZFM73G2B.js → runtime-chunk-ATO2EGQZ.js} +1 -1
  39. package/build/runtime-chunk-ATO2EGQZ.js.br +0 -0
  40. package/build/runtime-chunk-ATO2EGQZ.js.gz +0 -0
  41. package/build/{runtime-chunk-HGPSGN65.js → runtime-chunk-CEICEMMU.js} +1 -1
  42. package/build/runtime-chunk-CEICEMMU.js.br +3 -0
  43. package/build/runtime-chunk-CEICEMMU.js.gz +0 -0
  44. package/build/{runtime-chunk-IBVB6UVI.js → runtime-chunk-CZ5BOMDR.js} +1 -1
  45. package/build/{runtime-chunk-IBVB6UVI.js.br → runtime-chunk-CZ5BOMDR.js.br} +0 -0
  46. package/build/runtime-chunk-CZ5BOMDR.js.gz +0 -0
  47. package/build/{runtime-chunk-JTXN6DIH.js → runtime-chunk-EIR6AEKJ.js} +1 -1
  48. package/build/runtime-chunk-EIR6AEKJ.js.br +0 -0
  49. package/build/runtime-chunk-EIR6AEKJ.js.gz +0 -0
  50. package/build/{runtime-chunk-4Y4AXXPU.js → runtime-chunk-EWDNCAKN.js} +1 -1
  51. package/build/runtime-chunk-EWDNCAKN.js.br +0 -0
  52. package/build/runtime-chunk-EWDNCAKN.js.gz +0 -0
  53. package/build/runtime-chunk-FKNVV4NA.js +1 -0
  54. package/build/runtime-chunk-FKNVV4NA.js.br +0 -0
  55. package/build/runtime-chunk-FKNVV4NA.js.gz +0 -0
  56. package/build/{runtime-chunk-AU3CL3GR.js → runtime-chunk-FOSFTPCW.js} +1 -1
  57. package/build/runtime-chunk-FOSFTPCW.js.br +0 -0
  58. package/build/runtime-chunk-FOSFTPCW.js.gz +0 -0
  59. package/build/{runtime-chunk-KQTC7OLV.js → runtime-chunk-FY7AWKJV.js} +1 -1
  60. package/build/runtime-chunk-FY7AWKJV.js.br +0 -0
  61. package/build/runtime-chunk-FY7AWKJV.js.gz +0 -0
  62. package/build/{runtime-chunk-REXAQKUN.js → runtime-chunk-H3EUOEVG.js} +1 -1
  63. package/build/runtime-chunk-H3EUOEVG.js.br +0 -0
  64. package/build/runtime-chunk-H3EUOEVG.js.gz +0 -0
  65. package/build/runtime-chunk-H3ODKGZ7.js +1 -0
  66. package/build/runtime-chunk-H3ODKGZ7.js.br +0 -0
  67. package/build/runtime-chunk-H3ODKGZ7.js.gz +0 -0
  68. package/build/{runtime-chunk-E4UNJ4TR.js → runtime-chunk-HLKBJOJR.js} +1 -1
  69. package/build/runtime-chunk-HLKBJOJR.js.br +0 -0
  70. package/build/runtime-chunk-HLKBJOJR.js.gz +0 -0
  71. package/build/runtime-chunk-INE6H4OE.js +1 -0
  72. package/build/runtime-chunk-INE6H4OE.js.br +0 -0
  73. package/build/runtime-chunk-INE6H4OE.js.gz +0 -0
  74. package/build/{runtime-chunk-WYIK4MJQ.js → runtime-chunk-IXSYZOUH.js} +1 -1
  75. package/build/runtime-chunk-IXSYZOUH.js.br +0 -0
  76. package/build/runtime-chunk-IXSYZOUH.js.gz +0 -0
  77. package/build/{runtime-chunk-HOOQDTK7.js → runtime-chunk-LX7GMLDZ.js} +1 -1
  78. package/build/runtime-chunk-LX7GMLDZ.js.br +0 -0
  79. package/build/runtime-chunk-LX7GMLDZ.js.gz +0 -0
  80. package/build/{runtime-chunk-EEVK6AD6.js → runtime-chunk-MYD4GPIH.js} +1 -1
  81. package/build/runtime-chunk-MYD4GPIH.js.br +0 -0
  82. package/build/runtime-chunk-MYD4GPIH.js.gz +0 -0
  83. package/build/runtime-chunk-O4OBJK5I.js +1 -0
  84. package/build/runtime-chunk-O4OBJK5I.js.br +0 -0
  85. package/build/runtime-chunk-O4OBJK5I.js.gz +0 -0
  86. package/build/{runtime-chunk-RWYT7G6G.js → runtime-chunk-P5TM33Y6.js} +1 -1
  87. package/build/runtime-chunk-P5TM33Y6.js.br +0 -0
  88. package/build/runtime-chunk-P5TM33Y6.js.gz +0 -0
  89. package/build/{runtime-chunk-33EF3BLM.js → runtime-chunk-P7Y5SVAD.js} +1 -1
  90. package/build/runtime-chunk-P7Y5SVAD.js.br +0 -0
  91. package/build/runtime-chunk-P7Y5SVAD.js.gz +0 -0
  92. package/build/{runtime-chunk-PF6YNLMZ.js → runtime-chunk-PSEXY7SH.js} +1 -1
  93. package/build/runtime-chunk-PSEXY7SH.js.br +0 -0
  94. package/build/runtime-chunk-PSEXY7SH.js.gz +0 -0
  95. package/build/{runtime-chunk-KJQWLDYH.js → runtime-chunk-RBTWRPRA.js} +1 -1
  96. package/build/runtime-chunk-RBTWRPRA.js.br +0 -0
  97. package/build/runtime-chunk-RBTWRPRA.js.gz +0 -0
  98. package/build/{runtime-chunk-GD4SGFHZ.js → runtime-chunk-SKPGCNMT.js} +1 -1
  99. package/build/runtime-chunk-SKPGCNMT.js.br +0 -0
  100. package/build/runtime-chunk-SKPGCNMT.js.gz +0 -0
  101. package/build/{runtime-chunk-DCC352GL.js → runtime-chunk-TWPMCRN2.js} +1 -1
  102. package/build/runtime-chunk-TWPMCRN2.js.br +0 -0
  103. package/build/runtime-chunk-TWPMCRN2.js.gz +0 -0
  104. package/build/{runtime-chunk-PWMK5MVJ.js → runtime-chunk-VGSGDMZ7.js} +1 -1
  105. package/build/{runtime-chunk-PWMK5MVJ.js.br → runtime-chunk-VGSGDMZ7.js.br} +0 -0
  106. package/build/runtime-chunk-VGSGDMZ7.js.gz +0 -0
  107. package/build/{runtime-chunk-D3OIGZUW.js → runtime-chunk-X3Z7FXJJ.js} +1 -1
  108. package/build/runtime-chunk-X3Z7FXJJ.js.br +0 -0
  109. package/build/runtime-chunk-X3Z7FXJJ.js.gz +0 -0
  110. package/build/{runtime-chunk-AEPWABER.js → runtime-chunk-YKB4J25U.js} +1 -1
  111. package/build/runtime-chunk-YKB4J25U.js.br +0 -0
  112. package/build/runtime-chunk-YKB4J25U.js.gz +0 -0
  113. package/build/{runtime-classicRuntime-WIJ56CKR.js → runtime-classicRuntime-RLY6VXCY.js} +1 -1
  114. package/build/runtime-classicRuntime-RLY6VXCY.js.br +0 -0
  115. package/build/runtime-classicRuntime-RLY6VXCY.js.gz +0 -0
  116. package/build/runtime-cloners-OUOZ32NU.js +1 -0
  117. package/build/runtime-cloners-OUOZ32NU.js.br +0 -0
  118. package/build/runtime-cloners-OUOZ32NU.js.gz +0 -0
  119. package/build/{runtime-components-3T3QMQUH.js → runtime-components-A753C44O.js} +1 -1
  120. package/build/runtime-components-A753C44O.js.br +0 -0
  121. package/build/runtime-components-A753C44O.js.gz +0 -0
  122. package/build/{runtime-conditional-CCGDVDMD.js → runtime-conditional-DE4PFQQI.js} +1 -1
  123. package/build/runtime-conditional-DE4PFQQI.js.br +0 -0
  124. package/build/runtime-conditional-DE4PFQQI.js.gz +0 -0
  125. package/build/{runtime-createDestroy-W6FF4RAP.js → runtime-createDestroy-TBN2HEPC.js} +1 -1
  126. package/build/runtime-createDestroy-TBN2HEPC.js.br +0 -0
  127. package/build/runtime-createDestroy-TBN2HEPC.js.gz +0 -0
  128. package/build/{runtime-depthOfField-DSE6YVZ4.js → runtime-depthOfField-KIFXOXXV.js} +1 -1
  129. package/build/runtime-depthOfField-KIFXOXXV.js.br +0 -0
  130. package/build/runtime-depthOfField-KIFXOXXV.js.gz +0 -0
  131. package/build/{runtime-dragDrop-2TMWDGUQ.js → runtime-dragDrop-F5DRXQJG.js} +1 -1
  132. package/build/runtime-dragDrop-F5DRXQJG.js.br +0 -0
  133. package/build/runtime-dragDrop-F5DRXQJG.js.gz +0 -0
  134. package/build/{runtime-gameControls-VAUAOGUW.js → runtime-gameControls-LN7QTWOJ.js} +1 -1
  135. package/build/runtime-gameControls-LN7QTWOJ.js.br +0 -0
  136. package/build/runtime-gameControls-LN7QTWOJ.js.gz +0 -0
  137. package/build/runtime-hair-62GDZFKO.js +1 -0
  138. package/build/runtime-hair-62GDZFKO.js.br +4 -0
  139. package/build/runtime-hair-62GDZFKO.js.gz +0 -0
  140. package/build/{runtime-hueSaturation-TZ5VQY72.js → runtime-hueSaturation-7KRUX22J.js} +1 -1
  141. package/build/runtime-hueSaturation-7KRUX22J.js.br +0 -0
  142. package/build/runtime-hueSaturation-7KRUX22J.js.gz +0 -0
  143. package/build/{runtime-mergeStaticGeometries-K2YJKZ3C.js → runtime-mergeStaticGeometries-Y2KHHJ3J.js} +1 -1
  144. package/build/runtime-mergeStaticGeometries-Y2KHHJ3J.js.br +0 -0
  145. package/build/runtime-mergeStaticGeometries-Y2KHHJ3J.js.gz +0 -0
  146. package/build/{runtime-miscActions-6CUG2JSF.js → runtime-miscActions-XAGVFXC6.js} +1 -1
  147. package/build/runtime-miscActions-XAGVFXC6.js.br +0 -0
  148. package/build/runtime-miscActions-XAGVFXC6.js.gz +0 -0
  149. package/build/{runtime-mouseHover-CYCSNNZM.js → runtime-mouseHover-YQZLDCNA.js} +1 -1
  150. package/build/runtime-mouseHover-YQZLDCNA.js.br +0 -0
  151. package/build/runtime-mouseHover-YQZLDCNA.js.gz +0 -0
  152. package/build/{runtime-noise-FLMWYKTL.js → runtime-noise-PHKL2HZA.js} +1 -1
  153. package/build/runtime-noise-PHKL2HZA.js.br +0 -0
  154. package/build/runtime-noise-PHKL2HZA.js.gz +0 -0
  155. package/build/{runtime-particles-PDPG5E74.js → runtime-particles-SVDWTK6P.js} +1 -1
  156. package/build/runtime-particles-SVDWTK6P.js.br +0 -0
  157. package/build/runtime-particles-SVDWTK6P.js.gz +0 -0
  158. package/build/{runtime-paths-E4GHUGNN.js → runtime-paths-V3MZPDGM.js} +1 -1
  159. package/build/runtime-paths-V3MZPDGM.js.br +0 -0
  160. package/build/runtime-paths-V3MZPDGM.js.gz +0 -0
  161. package/build/{runtime-pixelation-AOFGI5XX.js → runtime-pixelation-E3T2655N.js} +1 -1
  162. package/build/runtime-pixelation-E3T2655N.js.br +0 -0
  163. package/build/runtime-pixelation-E3T2655N.js.gz +0 -0
  164. package/build/{runtime-resize-DAWD3MKG.js → runtime-resize-A44LZEWS.js} +1 -1
  165. package/build/runtime-resize-A44LZEWS.js.br +0 -0
  166. package/build/runtime-resize-A44LZEWS.js.gz +0 -0
  167. package/build/{runtime-sceneTransition-SFGBWSP3.js → runtime-sceneTransition-FKJQSTTM.js} +1 -1
  168. package/build/runtime-sceneTransition-FKJQSTTM.js.br +0 -0
  169. package/build/runtime-sceneTransition-FKJQSTTM.js.gz +0 -0
  170. package/build/{runtime-scroll-HKLPDE7E.js → runtime-scroll-HETPT43A.js} +1 -1
  171. package/build/runtime-scroll-HETPT43A.js.br +0 -0
  172. package/build/runtime-scroll-HETPT43A.js.gz +0 -0
  173. package/build/runtime-shapeBlends-NYIF2I5D.js +1 -0
  174. package/build/runtime-shapeBlends-NYIF2I5D.js.br +2 -0
  175. package/build/runtime-shapeBlends-NYIF2I5D.js.gz +0 -0
  176. package/build/{runtime-text-NQU4F3KI.js → runtime-text-PYFNPMFC.js} +1 -1
  177. package/build/runtime-text-PYFNPMFC.js.br +0 -0
  178. package/build/runtime-text-PYFNPMFC.js.gz +0 -0
  179. package/build/{runtime-textInputs-5WG7OPGO.js → runtime-textInputs-RZ6K5HUH.js} +1 -1
  180. package/build/runtime-textInputs-RZ6K5HUH.js.br +0 -0
  181. package/build/runtime-textInputs-RZ6K5HUH.js.gz +0 -0
  182. package/build/{runtime-timeline-EAC5OJEK.js → runtime-timeline-WCZ7STYE.js} +1 -1
  183. package/build/runtime-timeline-WCZ7STYE.js.br +0 -0
  184. package/build/runtime-timeline-WCZ7STYE.js.gz +0 -0
  185. package/build/{runtime-tracking-6CN7PQFK.js → runtime-tracking-2HA2B7J7.js} +1 -1
  186. package/build/runtime-tracking-2HA2B7J7.js.br +0 -0
  187. package/build/runtime-tracking-2HA2B7J7.js.gz +0 -0
  188. package/build/{runtime-transitions-N47Y4AXH.js → runtime-transitions-S5EKXVZM.js} +1 -1
  189. package/build/runtime-transitions-S5EKXVZM.js.br +0 -0
  190. package/build/runtime-transitions-S5EKXVZM.js.gz +0 -0
  191. package/build/{runtime-ui2d-T3OZFBOE.js → runtime-ui2d-4HZUC2SJ.js} +1 -1
  192. package/build/runtime-ui2d-4HZUC2SJ.js.br +0 -0
  193. package/build/runtime-ui2d-4HZUC2SJ.js.gz +0 -0
  194. package/build/{runtime-updater-6YEO4WI3.js → runtime-updater-42LKGUWN.js} +1 -1
  195. package/build/runtime-updater-42LKGUWN.js.br +1 -0
  196. package/build/runtime-updater-42LKGUWN.js.gz +0 -0
  197. package/build/{runtime-variables-ICLL7DZV.js → runtime-variables-AFZY4GV6.js} +1 -1
  198. package/build/runtime-variables-AFZY4GV6.js.br +0 -0
  199. package/build/runtime-variables-AFZY4GV6.js.gz +0 -0
  200. package/build/{runtime-vectorShapes-4MX2X2MH.js → runtime-vectorShapes-BSMXQN4R.js} +1 -1
  201. package/build/runtime-vectorShapes-BSMXQN4R.js.br +0 -0
  202. package/build/runtime-vectorShapes-BSMXQN4R.js.gz +0 -0
  203. package/build/{runtime-video-KFIFPA6P.js → runtime-video-DDOVIOHX.js} +1 -1
  204. package/build/runtime-video-DDOVIOHX.js.br +0 -0
  205. package/build/runtime-video-DDOVIOHX.js.gz +0 -0
  206. package/build/{runtime-vignette-S4Z7IMQ5.js → runtime-vignette-DCUNX3SW.js} +1 -1
  207. package/build/runtime-vignette-DCUNX3SW.js.br +0 -0
  208. package/build/runtime-vignette-DCUNX3SW.js.gz +0 -0
  209. package/build/{runtime-webgpu-JZZF7PVG.js → runtime-webgpu-ROHAID67.js} +1 -1
  210. package/build/runtime-webgpu-ROHAID67.js.br +0 -0
  211. package/build/runtime-webgpu-ROHAID67.js.gz +0 -0
  212. package/build/runtime.cjs +338 -338
  213. package/build/runtime.js +1 -1
  214. package/build/runtime.js.br +0 -0
  215. package/build/runtime.js.gz +0 -0
  216. package/build/runtime.standalone.js +1 -1
  217. package/build/runtime.standalone.js.br +0 -0
  218. package/build/runtime.standalone.js.gz +0 -0
  219. package/build/runtime.standalone.webgl.js +1 -1
  220. package/build/runtime.standalone.webgl.js.br +0 -0
  221. package/build/runtime.standalone.webgl.js.gz +0 -0
  222. package/build/runtime.standalone.webgpu.js +1 -1
  223. package/build/runtime.standalone.webgpu.js.br +0 -0
  224. package/build/runtime.standalone.webgpu.js.gz +0 -0
  225. package/build/runtime.standalone.webgpu.micro.js +1 -1
  226. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  227. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  228. package/build/runtime.standalone.webgpu.min.js +1 -1
  229. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  230. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  231. package/package.json +1 -1
  232. package/build/runtime-aiAssistant-MKZQ23BA.js.br +0 -0
  233. package/build/runtime-aiAssistant-MKZQ23BA.js.gz +0 -0
  234. package/build/runtime-apiServices-YYNQCMLP.js.br +0 -0
  235. package/build/runtime-apiServices-YYNQCMLP.js.gz +0 -0
  236. package/build/runtime-audio-GPQ4HYPM.js.br +0 -0
  237. package/build/runtime-audio-GPQ4HYPM.js.gz +0 -0
  238. package/build/runtime-bloom-UMJG5YKZ.js.br +0 -0
  239. package/build/runtime-bloom-UMJG5YKZ.js.gz +0 -0
  240. package/build/runtime-brightnessContrast-LRDMKXC2.js.br +0 -0
  241. package/build/runtime-brightnessContrast-LRDMKXC2.js.gz +0 -0
  242. package/build/runtime-chromaticAberration-X46NQTBB.js.br +0 -0
  243. package/build/runtime-chromaticAberration-X46NQTBB.js.gz +0 -0
  244. package/build/runtime-chunk-32XVU5DS.js.br +0 -0
  245. package/build/runtime-chunk-32XVU5DS.js.gz +0 -0
  246. package/build/runtime-chunk-33EF3BLM.js.br +0 -0
  247. package/build/runtime-chunk-33EF3BLM.js.gz +0 -0
  248. package/build/runtime-chunk-4Y4AXXPU.js.br +0 -0
  249. package/build/runtime-chunk-4Y4AXXPU.js.gz +0 -0
  250. package/build/runtime-chunk-AEPWABER.js.br +0 -0
  251. package/build/runtime-chunk-AEPWABER.js.gz +0 -0
  252. package/build/runtime-chunk-AU3CL3GR.js.br +0 -0
  253. package/build/runtime-chunk-AU3CL3GR.js.gz +0 -0
  254. package/build/runtime-chunk-BFGZJ4LR.js +0 -1
  255. package/build/runtime-chunk-BFGZJ4LR.js.br +0 -0
  256. package/build/runtime-chunk-BFGZJ4LR.js.gz +0 -0
  257. package/build/runtime-chunk-D3OIGZUW.js.br +0 -0
  258. package/build/runtime-chunk-D3OIGZUW.js.gz +0 -0
  259. package/build/runtime-chunk-DCC352GL.js.br +0 -0
  260. package/build/runtime-chunk-DCC352GL.js.gz +0 -0
  261. package/build/runtime-chunk-E4UNJ4TR.js.br +0 -0
  262. package/build/runtime-chunk-E4UNJ4TR.js.gz +0 -0
  263. package/build/runtime-chunk-EEVK6AD6.js.br +0 -0
  264. package/build/runtime-chunk-EEVK6AD6.js.gz +0 -0
  265. package/build/runtime-chunk-F6XTFQMZ.js +0 -1
  266. package/build/runtime-chunk-F6XTFQMZ.js.br +0 -0
  267. package/build/runtime-chunk-F6XTFQMZ.js.gz +0 -0
  268. package/build/runtime-chunk-FZVL5H67.js +0 -1
  269. package/build/runtime-chunk-FZVL5H67.js.br +0 -0
  270. package/build/runtime-chunk-FZVL5H67.js.gz +0 -0
  271. package/build/runtime-chunk-GD4SGFHZ.js.br +0 -0
  272. package/build/runtime-chunk-GD4SGFHZ.js.gz +0 -0
  273. package/build/runtime-chunk-GSKBI4RN.js.br +0 -0
  274. package/build/runtime-chunk-GSKBI4RN.js.gz +0 -0
  275. package/build/runtime-chunk-HGPSGN65.js.br +0 -2
  276. package/build/runtime-chunk-HGPSGN65.js.gz +0 -0
  277. package/build/runtime-chunk-HOOQDTK7.js.br +0 -0
  278. package/build/runtime-chunk-HOOQDTK7.js.gz +0 -0
  279. package/build/runtime-chunk-IBVB6UVI.js.gz +0 -0
  280. package/build/runtime-chunk-JABQRWT5.js.br +0 -0
  281. package/build/runtime-chunk-JABQRWT5.js.gz +0 -0
  282. package/build/runtime-chunk-JJVEXKEO.js.br +0 -0
  283. package/build/runtime-chunk-JJVEXKEO.js.gz +0 -0
  284. package/build/runtime-chunk-JTXN6DIH.js.br +0 -0
  285. package/build/runtime-chunk-JTXN6DIH.js.gz +0 -0
  286. package/build/runtime-chunk-KJQWLDYH.js.br +0 -0
  287. package/build/runtime-chunk-KJQWLDYH.js.gz +0 -0
  288. package/build/runtime-chunk-KQTC7OLV.js.br +0 -0
  289. package/build/runtime-chunk-KQTC7OLV.js.gz +0 -0
  290. package/build/runtime-chunk-PF6YNLMZ.js.br +0 -0
  291. package/build/runtime-chunk-PF6YNLMZ.js.gz +0 -0
  292. package/build/runtime-chunk-PWMK5MVJ.js.gz +0 -0
  293. package/build/runtime-chunk-QJMMF3L2.js.br +0 -0
  294. package/build/runtime-chunk-QJMMF3L2.js.gz +0 -0
  295. package/build/runtime-chunk-REXAQKUN.js.br +0 -0
  296. package/build/runtime-chunk-REXAQKUN.js.gz +0 -0
  297. package/build/runtime-chunk-RWYT7G6G.js.br +0 -0
  298. package/build/runtime-chunk-RWYT7G6G.js.gz +0 -0
  299. package/build/runtime-chunk-WYIK4MJQ.js.br +0 -0
  300. package/build/runtime-chunk-WYIK4MJQ.js.gz +0 -0
  301. package/build/runtime-chunk-ZA3HZGIR.js +0 -1
  302. package/build/runtime-chunk-ZA3HZGIR.js.br +0 -0
  303. package/build/runtime-chunk-ZA3HZGIR.js.gz +0 -0
  304. package/build/runtime-chunk-ZFM73G2B.js.br +0 -0
  305. package/build/runtime-chunk-ZFM73G2B.js.gz +0 -0
  306. package/build/runtime-chunk-ZJIYRGBK.js.br +0 -0
  307. package/build/runtime-chunk-ZJIYRGBK.js.gz +0 -0
  308. package/build/runtime-classicRuntime-WIJ56CKR.js.br +0 -0
  309. package/build/runtime-classicRuntime-WIJ56CKR.js.gz +0 -0
  310. package/build/runtime-cloners-2S7SALQM.js +0 -1
  311. package/build/runtime-cloners-2S7SALQM.js.br +0 -1
  312. package/build/runtime-cloners-2S7SALQM.js.gz +0 -0
  313. package/build/runtime-components-3T3QMQUH.js.br +0 -0
  314. package/build/runtime-components-3T3QMQUH.js.gz +0 -0
  315. package/build/runtime-conditional-CCGDVDMD.js.br +0 -0
  316. package/build/runtime-conditional-CCGDVDMD.js.gz +0 -0
  317. package/build/runtime-createDestroy-W6FF4RAP.js.br +0 -0
  318. package/build/runtime-createDestroy-W6FF4RAP.js.gz +0 -0
  319. package/build/runtime-depthOfField-DSE6YVZ4.js.br +0 -0
  320. package/build/runtime-depthOfField-DSE6YVZ4.js.gz +0 -0
  321. package/build/runtime-dragDrop-2TMWDGUQ.js.br +0 -0
  322. package/build/runtime-dragDrop-2TMWDGUQ.js.gz +0 -0
  323. package/build/runtime-gameControls-VAUAOGUW.js.br +0 -0
  324. package/build/runtime-gameControls-VAUAOGUW.js.gz +0 -0
  325. package/build/runtime-hair-NLGIEVG3.js +0 -1
  326. package/build/runtime-hair-NLGIEVG3.js.br +0 -1
  327. package/build/runtime-hair-NLGIEVG3.js.gz +0 -0
  328. package/build/runtime-hueSaturation-TZ5VQY72.js.br +0 -0
  329. package/build/runtime-hueSaturation-TZ5VQY72.js.gz +0 -0
  330. package/build/runtime-mergeStaticGeometries-K2YJKZ3C.js.br +0 -0
  331. package/build/runtime-mergeStaticGeometries-K2YJKZ3C.js.gz +0 -0
  332. package/build/runtime-miscActions-6CUG2JSF.js.br +0 -0
  333. package/build/runtime-miscActions-6CUG2JSF.js.gz +0 -0
  334. package/build/runtime-mouseHover-CYCSNNZM.js.br +0 -0
  335. package/build/runtime-mouseHover-CYCSNNZM.js.gz +0 -0
  336. package/build/runtime-noise-FLMWYKTL.js.br +0 -0
  337. package/build/runtime-noise-FLMWYKTL.js.gz +0 -0
  338. package/build/runtime-particles-PDPG5E74.js.br +0 -0
  339. package/build/runtime-particles-PDPG5E74.js.gz +0 -0
  340. package/build/runtime-paths-E4GHUGNN.js.br +0 -0
  341. package/build/runtime-paths-E4GHUGNN.js.gz +0 -0
  342. package/build/runtime-pixelation-AOFGI5XX.js.br +0 -0
  343. package/build/runtime-pixelation-AOFGI5XX.js.gz +0 -0
  344. package/build/runtime-resize-DAWD3MKG.js.br +0 -0
  345. package/build/runtime-resize-DAWD3MKG.js.gz +0 -0
  346. package/build/runtime-sceneTransition-SFGBWSP3.js.br +0 -0
  347. package/build/runtime-sceneTransition-SFGBWSP3.js.gz +0 -0
  348. package/build/runtime-scroll-HKLPDE7E.js.br +0 -0
  349. package/build/runtime-scroll-HKLPDE7E.js.gz +0 -0
  350. package/build/runtime-shapeBlends-COFJFXT6.js +0 -1
  351. package/build/runtime-shapeBlends-COFJFXT6.js.br +0 -2
  352. package/build/runtime-shapeBlends-COFJFXT6.js.gz +0 -0
  353. package/build/runtime-text-NQU4F3KI.js.br +0 -0
  354. package/build/runtime-text-NQU4F3KI.js.gz +0 -0
  355. package/build/runtime-textInputs-5WG7OPGO.js.br +0 -0
  356. package/build/runtime-textInputs-5WG7OPGO.js.gz +0 -0
  357. package/build/runtime-timeline-EAC5OJEK.js.br +0 -0
  358. package/build/runtime-timeline-EAC5OJEK.js.gz +0 -0
  359. package/build/runtime-tracking-6CN7PQFK.js.br +0 -0
  360. package/build/runtime-tracking-6CN7PQFK.js.gz +0 -0
  361. package/build/runtime-transitions-N47Y4AXH.js.br +0 -0
  362. package/build/runtime-transitions-N47Y4AXH.js.gz +0 -0
  363. package/build/runtime-ui2d-T3OZFBOE.js.br +0 -0
  364. package/build/runtime-ui2d-T3OZFBOE.js.gz +0 -0
  365. package/build/runtime-updater-6YEO4WI3.js.br +0 -2
  366. package/build/runtime-updater-6YEO4WI3.js.gz +0 -0
  367. package/build/runtime-variables-ICLL7DZV.js.br +0 -0
  368. package/build/runtime-variables-ICLL7DZV.js.gz +0 -0
  369. package/build/runtime-vectorShapes-4MX2X2MH.js.br +0 -0
  370. package/build/runtime-vectorShapes-4MX2X2MH.js.gz +0 -0
  371. package/build/runtime-video-KFIFPA6P.js.br +0 -0
  372. package/build/runtime-video-KFIFPA6P.js.gz +0 -0
  373. package/build/runtime-vignette-S4Z7IMQ5.js.br +0 -0
  374. package/build/runtime-vignette-S4Z7IMQ5.js.gz +0 -0
  375. package/build/runtime-webgpu-JZZF7PVG.js.br +0 -0
  376. package/build/runtime-webgpu-JZZF7PVG.js.gz +0 -0
@@ -1 +1 @@
1
- import{a as e,b as t}from"./runtime-chunk-HOOQDTK7.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-ZFM73G2B.js";import{ia as a}from"./runtime-chunk-ZA3HZGIR.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-WYIK4MJQ.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,ya as v}from"./runtime-chunk-F6XTFQMZ.js";import{Ce as C,Gc as T,Hc as b,Qc as j,Tc as w,Vc as M,dd as P,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new b,W=new S,V=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new M(15711266),n=new M(15711266),h=new M(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new P(i,3)),t.setAttribute("color",new P(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;W.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;U("n1",t,e,W,-1,-1,r),U("n2",t,e,W,1,-1,r),U("n3",t,e,W,-1,1,r),U("n4",t,e,W,1,1,r);let i=r;U("f1",t,e,W,-1,-1,i),U("f2",t,e,W,1,-1,i),U("f3",t,e,W,-1,1,i),U("f4",t,e,W,1,1,i);let s=i;U("u1",t,e,W,.35,1.1,s),U("u2",t,e,W,-.35,1.1,s),U("u3",t,e,W,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function U(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var I=class extends(r(V)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function z(e){return 1-Math.pow(1-e,3)}var B=new b,H=new b,R=new T,k=new b,q=new b,E=new b,L=class extends(o(S,I)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=L.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=L.projectionTransitionsEnabled;L.projectionTransitionsEnabled=!1;try{return e()}finally{L.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new b(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new b){return this.getWorldDirection(H),this.getWorldPosition(B),H.multiplyScalar(this.targetOffset),e.copy(B).add(H),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(R),k.set(0,0,1).applyQuaternion(R),q.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&q.negate(),q.applyQuaternion(R),E.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=E.angleTo(q),this.angleOffsetFromUp*=E.cross(q).dot(k)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new b),r=e.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new b;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:z(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return L.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=L.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:L.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=L.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=z(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=L;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var Q=new j,Z=new j,K=new j,N=new j,X=new j;function Y(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function J(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var $=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);$.length<s&&($=new Float32Array(s));let o=0,a=e=>{e.toArray($,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),K.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(N.copy(e.matrix).multiply(e.pivotMatrix),X.multiplyMatrices(K,N),(!n||!X.equals(i))&&a(X));try{return 0===o?0:l(r,$.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){Q.copy(t.matrix).multiply(t.pivotMatrix);try{let e=J(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,Q)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,Q),t.booleanMatrixInvOld.copy(Q).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,Q):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,Q),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Z.multiplyMatrices(Q,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(Q).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new P([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,Y as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
1
+ import{a as e,b as t}from"./runtime-chunk-LX7GMLDZ.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-ATO2EGQZ.js";import{ia as a}from"./runtime-chunk-INE6H4OE.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-IXSYZOUH.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,za as v}from"./runtime-chunk-H3ODKGZ7.js";import{Ce as C,Gc as T,Hc as b,Qc as j,Tc as w,Vc as M,dd as P,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new b,W=new S,U=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new M(15711266),n=new M(15711266),h=new M(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new P(i,3)),t.setAttribute("color",new P(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;W.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;V("n1",t,e,W,-1,-1,r),V("n2",t,e,W,1,-1,r),V("n3",t,e,W,-1,1,r),V("n4",t,e,W,1,1,r);let i=r;V("f1",t,e,W,-1,-1,i),V("f2",t,e,W,1,-1,i),V("f3",t,e,W,-1,1,i),V("f4",t,e,W,1,1,i);let s=i;V("u1",t,e,W,.35,1.1,s),V("u2",t,e,W,-.35,1.1,s),V("u3",t,e,W,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function V(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var I=class extends(r(U)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function z(e){return 1-Math.pow(1-e,3)}var B=new b,H=new b,E=new T,k=new b,L=new b,R=new b,q=class extends(o(S,I)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=q.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=q.projectionTransitionsEnabled;q.projectionTransitionsEnabled=!1;try{return e()}finally{q.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new b(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new b){return this.getWorldDirection(H),this.getWorldPosition(B),H.multiplyScalar(this.targetOffset),e.copy(B).add(H),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(E),k.set(0,0,1).applyQuaternion(E),L.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&L.negate(),L.applyQuaternion(E),R.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=R.angleTo(L),this.angleOffsetFromUp*=R.cross(L).dot(k)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new b),r=e.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new b;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:z(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return q.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=q.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:q.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=q.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=z(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=q;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var Z=new j,N=new j,Q=new j,K=new j,X=new j;function Y(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function $(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var J=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);J.length<s&&(J=new Float32Array(s));let o=0,a=e=>{e.toArray(J,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),Q.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),X.multiplyMatrices(Q,K),(!n||!X.equals(i))&&a(X));try{return 0===o?0:l(r,J.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){Z.copy(t.matrix).multiply(t.pivotMatrix);try{let e=$(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,Z)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,Z),t.booleanMatrixInvOld.copy(Z).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,Z):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,Z),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,N.multiplyMatrices(Z,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(Z).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new P([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,Y as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};