@splinetool/runtime 2.0.72 → 2.0.73

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 (267) hide show
  1. package/build/{runtime-chunk-JQLD4OPY.js → runtime-chunk-2N5TJKJO.js} +1 -1
  2. package/build/runtime-chunk-2N5TJKJO.js.br +0 -0
  3. package/build/runtime-chunk-2N5TJKJO.js.gz +0 -0
  4. package/build/{runtime-chunk-NFU26B3N.js → runtime-chunk-4OEOYE2D.js} +1 -1
  5. package/build/runtime-chunk-4OEOYE2D.js.br +0 -0
  6. package/build/runtime-chunk-4OEOYE2D.js.gz +0 -0
  7. package/build/{runtime-chunk-LMQM5XOS.js → runtime-chunk-527RBW75.js} +1 -1
  8. package/build/runtime-chunk-527RBW75.js.br +0 -0
  9. package/build/runtime-chunk-527RBW75.js.gz +0 -0
  10. package/build/{runtime-chunk-OSMLEERI.js → runtime-chunk-AP2M7YLZ.js} +1 -1
  11. package/build/runtime-chunk-AP2M7YLZ.js.br +0 -0
  12. package/build/runtime-chunk-AP2M7YLZ.js.gz +0 -0
  13. package/build/{runtime-chunk-4JASYPCF.js → runtime-chunk-BS3R7MID.js} +1 -1
  14. package/build/runtime-chunk-BS3R7MID.js.br +0 -0
  15. package/build/runtime-chunk-BS3R7MID.js.gz +0 -0
  16. package/build/{runtime-chunk-BIWN33UT.js → runtime-chunk-DP3AR4VQ.js} +1 -1
  17. package/build/runtime-chunk-DP3AR4VQ.js.br +0 -0
  18. package/build/runtime-chunk-DP3AR4VQ.js.gz +0 -0
  19. package/build/{runtime-chunk-JJPB3HUE.js → runtime-chunk-DTPEEHY6.js} +1 -1
  20. package/build/runtime-chunk-DTPEEHY6.js.br +0 -0
  21. package/build/runtime-chunk-DTPEEHY6.js.gz +0 -0
  22. package/build/{runtime-chunk-XBYRIPUG.js → runtime-chunk-FFB3S6FE.js} +1 -1
  23. package/build/runtime-chunk-FFB3S6FE.js.br +0 -0
  24. package/build/runtime-chunk-FFB3S6FE.js.gz +0 -0
  25. package/build/{runtime-chunk-UFEKX2KH.js → runtime-chunk-GZVBTZFU.js} +1 -1
  26. package/build/runtime-chunk-GZVBTZFU.js.br +0 -0
  27. package/build/runtime-chunk-GZVBTZFU.js.gz +0 -0
  28. package/build/{runtime-chunk-5DZZWLIJ.js → runtime-chunk-HHF7X4UQ.js} +1 -1
  29. package/build/runtime-chunk-HHF7X4UQ.js.br +0 -0
  30. package/build/runtime-chunk-HHF7X4UQ.js.gz +0 -0
  31. package/build/{runtime-chunk-MD3MRPBS.js → runtime-chunk-IJ3C3QXB.js} +1 -1
  32. package/build/runtime-chunk-IJ3C3QXB.js.br +0 -0
  33. package/build/runtime-chunk-IJ3C3QXB.js.gz +0 -0
  34. package/build/{runtime-chunk-YAYGHTVH.js → runtime-chunk-ILTVEYH2.js} +1 -1
  35. package/build/runtime-chunk-ILTVEYH2.js.br +0 -0
  36. package/build/runtime-chunk-ILTVEYH2.js.gz +0 -0
  37. package/build/{runtime-chunk-XVPD2RMH.js → runtime-chunk-J75KVK5X.js} +1 -1
  38. package/build/runtime-chunk-J75KVK5X.js.br +0 -0
  39. package/build/runtime-chunk-J75KVK5X.js.gz +0 -0
  40. package/build/{runtime-chunk-4UM6F5Y5.js → runtime-chunk-L3VQ7NCZ.js} +1 -1
  41. package/build/runtime-chunk-L3VQ7NCZ.js.br +0 -0
  42. package/build/runtime-chunk-L3VQ7NCZ.js.gz +0 -0
  43. package/build/{runtime-chunk-WGQDLFC4.js → runtime-chunk-LMFUBJAV.js} +1 -1
  44. package/build/runtime-chunk-LMFUBJAV.js.br +0 -0
  45. package/build/{runtime-chunk-WGQDLFC4.js.gz → runtime-chunk-LMFUBJAV.js.gz} +0 -0
  46. package/build/{runtime-chunk-7W7YLDAL.js → runtime-chunk-LXDQYQMR.js} +1 -1
  47. package/build/runtime-chunk-LXDQYQMR.js.br +0 -0
  48. package/build/runtime-chunk-LXDQYQMR.js.gz +0 -0
  49. package/build/{runtime-chunk-XINIFQH4.js → runtime-chunk-NCSYGW6A.js} +1 -1
  50. package/build/runtime-chunk-NCSYGW6A.js.br +0 -0
  51. package/build/runtime-chunk-NCSYGW6A.js.gz +0 -0
  52. package/build/{runtime-chunk-RZOE5BNC.js → runtime-chunk-O3J4ZZY3.js} +1 -1
  53. package/build/runtime-chunk-O3J4ZZY3.js.br +0 -0
  54. package/build/runtime-chunk-O3J4ZZY3.js.gz +0 -0
  55. package/build/{runtime-chunk-2W3XFRTZ.js → runtime-chunk-PT3SK5Y2.js} +1 -1
  56. package/build/runtime-chunk-PT3SK5Y2.js.br +0 -0
  57. package/build/runtime-chunk-PT3SK5Y2.js.gz +0 -0
  58. package/build/{runtime-chunk-FZQTKGRC.js → runtime-chunk-SWZSRJHU.js} +1 -1
  59. package/build/runtime-chunk-SWZSRJHU.js.br +0 -0
  60. package/build/runtime-chunk-SWZSRJHU.js.gz +0 -0
  61. package/build/{runtime-chunk-GWWLLXI6.js → runtime-chunk-WL4YQ32V.js} +1 -1
  62. package/build/runtime-chunk-WL4YQ32V.js.br +0 -0
  63. package/build/runtime-chunk-WL4YQ32V.js.gz +0 -0
  64. package/build/{runtime-chunk-DVJDUERJ.js → runtime-chunk-XUGJ5MFS.js} +1 -1
  65. package/build/runtime-chunk-XUGJ5MFS.js.br +0 -0
  66. package/build/runtime-chunk-XUGJ5MFS.js.gz +0 -0
  67. package/build/{runtime-chunk-4DBC4IGT.js → runtime-chunk-YNE4BP2L.js} +1 -1
  68. package/build/runtime-chunk-YNE4BP2L.js.br +0 -0
  69. package/build/runtime-chunk-YNE4BP2L.js.gz +0 -0
  70. package/build/{runtime-chunk-DWEWYXEP.js → runtime-chunk-ZKW256FL.js} +1 -1
  71. package/build/runtime-chunk-ZKW256FL.js.br +0 -0
  72. package/build/runtime-chunk-ZKW256FL.js.gz +0 -0
  73. package/build/{runtime-chunk-DA27AWYB.js → runtime-chunk-ZV2M5WNF.js} +1 -1
  74. package/build/runtime-chunk-ZV2M5WNF.js.br +0 -0
  75. package/build/runtime-chunk-ZV2M5WNF.js.gz +0 -0
  76. package/build/{runtime-classicRuntime-X56XM7O7.js → runtime-classicRuntime-CS65I6D2.js} +1 -1
  77. package/build/runtime-classicRuntime-CS65I6D2.js.br +0 -0
  78. package/build/runtime-classicRuntime-CS65I6D2.js.gz +0 -0
  79. package/build/{runtime-cloners-ZZQ3JSPS.js → runtime-cloners-V4KK264U.js} +1 -1
  80. package/build/runtime-cloners-V4KK264U.js.br +2 -0
  81. package/build/runtime-cloners-V4KK264U.js.gz +0 -0
  82. package/build/{runtime-components-SKDLGSYY.js → runtime-components-2DYOSYDL.js} +1 -1
  83. package/build/runtime-components-2DYOSYDL.js.br +0 -0
  84. package/build/runtime-components-2DYOSYDL.js.gz +0 -0
  85. package/build/{runtime-createDestroy-3WWJS6DW.js → runtime-createDestroy-KJK2XB3X.js} +1 -1
  86. package/build/runtime-createDestroy-KJK2XB3X.js.br +0 -0
  87. package/build/runtime-createDestroy-KJK2XB3X.js.gz +0 -0
  88. package/build/{runtime-dragDrop-5EB5RFKO.js → runtime-dragDrop-WH5FDBJ3.js} +1 -1
  89. package/build/runtime-dragDrop-WH5FDBJ3.js.br +0 -0
  90. package/build/runtime-dragDrop-WH5FDBJ3.js.gz +0 -0
  91. package/build/{runtime-gameControls-Q2KBFYRA.js → runtime-gameControls-76WCJT26.js} +1 -1
  92. package/build/runtime-gameControls-76WCJT26.js.br +0 -0
  93. package/build/runtime-gameControls-76WCJT26.js.gz +0 -0
  94. package/build/{runtime-hair-LIZCJ4W7.js → runtime-hair-WHYXUACR.js} +1 -1
  95. package/build/runtime-hair-WHYXUACR.js.br +1 -0
  96. package/build/runtime-hair-WHYXUACR.js.gz +0 -0
  97. package/build/{runtime-mergeStaticGeometries-PVN5C5JP.js → runtime-mergeStaticGeometries-DKTBG5AH.js} +1 -1
  98. package/build/runtime-mergeStaticGeometries-DKTBG5AH.js.br +0 -0
  99. package/build/runtime-mergeStaticGeometries-DKTBG5AH.js.gz +0 -0
  100. package/build/{runtime-miscActions-RIFB4OIF.js → runtime-miscActions-6NS2A4RS.js} +1 -1
  101. package/build/runtime-miscActions-6NS2A4RS.js.br +0 -0
  102. package/build/runtime-miscActions-6NS2A4RS.js.gz +0 -0
  103. package/build/{runtime-mouseHover-AEXWCYG7.js → runtime-mouseHover-RFPLSTS3.js} +1 -1
  104. package/build/runtime-mouseHover-RFPLSTS3.js.br +0 -0
  105. package/build/runtime-mouseHover-RFPLSTS3.js.gz +0 -0
  106. package/build/{runtime-particles-PE4BAL4K.js → runtime-particles-FGF5KKRJ.js} +1 -1
  107. package/build/runtime-particles-FGF5KKRJ.js.br +0 -0
  108. package/build/runtime-particles-FGF5KKRJ.js.gz +0 -0
  109. package/build/{runtime-paths-27ZBN6BN.js → runtime-paths-W343YIKQ.js} +1 -1
  110. package/build/runtime-paths-W343YIKQ.js.br +0 -0
  111. package/build/runtime-paths-W343YIKQ.js.gz +0 -0
  112. package/build/{runtime-resize-PWV3NCBC.js → runtime-resize-OJEZIH7W.js} +1 -1
  113. package/build/runtime-resize-OJEZIH7W.js.br +0 -0
  114. package/build/runtime-resize-OJEZIH7W.js.gz +0 -0
  115. package/build/{runtime-sceneTransition-LQV3JOPO.js → runtime-sceneTransition-WXFFDTBR.js} +1 -1
  116. package/build/runtime-sceneTransition-WXFFDTBR.js.br +0 -0
  117. package/build/runtime-sceneTransition-WXFFDTBR.js.gz +0 -0
  118. package/build/runtime-scroll-EA6CSX7L.js +1 -0
  119. package/build/runtime-scroll-EA6CSX7L.js.br +0 -0
  120. package/build/runtime-scroll-EA6CSX7L.js.gz +0 -0
  121. package/build/runtime-shapeBlends-M7JCUQNJ.js +1 -0
  122. package/build/runtime-shapeBlends-M7JCUQNJ.js.br +2 -0
  123. package/build/runtime-shapeBlends-M7JCUQNJ.js.gz +0 -0
  124. package/build/{runtime-text-XOBN3DS6.js → runtime-text-NLFX5XHB.js} +1 -1
  125. package/build/runtime-text-NLFX5XHB.js.br +0 -0
  126. package/build/runtime-text-NLFX5XHB.js.gz +0 -0
  127. package/build/{runtime-textInputs-XRKHUYMZ.js → runtime-textInputs-32D5TCHC.js} +1 -1
  128. package/build/runtime-textInputs-32D5TCHC.js.br +0 -0
  129. package/build/runtime-textInputs-32D5TCHC.js.gz +0 -0
  130. package/build/{runtime-timeline-2IHPBLTC.js → runtime-timeline-QW7JLTYJ.js} +1 -1
  131. package/build/runtime-timeline-QW7JLTYJ.js.br +0 -0
  132. package/build/runtime-timeline-QW7JLTYJ.js.gz +0 -0
  133. package/build/runtime-tracking-P5JGKAF7.js +1 -0
  134. package/build/runtime-tracking-P5JGKAF7.js.br +0 -0
  135. package/build/runtime-tracking-P5JGKAF7.js.gz +0 -0
  136. package/build/{runtime-transitions-WGO7L27D.js → runtime-transitions-AL2EBXM5.js} +1 -1
  137. package/build/runtime-transitions-AL2EBXM5.js.br +0 -0
  138. package/build/runtime-transitions-AL2EBXM5.js.gz +0 -0
  139. package/build/{runtime-ui2d-LDZEXCNH.js → runtime-ui2d-PCCN6O73.js} +1 -1
  140. package/build/runtime-ui2d-PCCN6O73.js.br +0 -0
  141. package/build/runtime-ui2d-PCCN6O73.js.gz +0 -0
  142. package/build/{runtime-vectorShapes-34X3QRAA.js → runtime-vectorShapes-3AYAAJ2M.js} +1 -1
  143. package/build/runtime-vectorShapes-3AYAAJ2M.js.br +0 -0
  144. package/build/runtime-vectorShapes-3AYAAJ2M.js.gz +0 -0
  145. package/build/{runtime-webgpu-FDTJA5HO.js → runtime-webgpu-WSJKXRKM.js} +1 -1
  146. package/build/runtime-webgpu-WSJKXRKM.js.br +0 -0
  147. package/build/runtime-webgpu-WSJKXRKM.js.gz +0 -0
  148. package/build/runtime.cjs +321 -321
  149. package/build/runtime.js +1 -1
  150. package/build/runtime.js.br +0 -0
  151. package/build/runtime.js.gz +0 -0
  152. package/build/runtime.standalone.js +1 -1
  153. package/build/runtime.standalone.js.br +0 -0
  154. package/build/runtime.standalone.js.gz +0 -0
  155. package/build/runtime.standalone.webgl.js +1 -1
  156. package/build/runtime.standalone.webgl.js.br +0 -0
  157. package/build/runtime.standalone.webgl.js.gz +0 -0
  158. package/build/runtime.standalone.webgpu.js +1 -1
  159. package/build/runtime.standalone.webgpu.js.br +0 -0
  160. package/build/runtime.standalone.webgpu.js.gz +0 -0
  161. package/build/runtime.standalone.webgpu.micro.js +1 -1
  162. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  163. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  164. package/build/runtime.standalone.webgpu.min.js +1 -1
  165. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  166. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  167. package/package.json +1 -1
  168. package/build/runtime-chunk-2W3XFRTZ.js.br +0 -0
  169. package/build/runtime-chunk-2W3XFRTZ.js.gz +0 -0
  170. package/build/runtime-chunk-4DBC4IGT.js.br +0 -0
  171. package/build/runtime-chunk-4DBC4IGT.js.gz +0 -0
  172. package/build/runtime-chunk-4JASYPCF.js.br +0 -0
  173. package/build/runtime-chunk-4JASYPCF.js.gz +0 -0
  174. package/build/runtime-chunk-4UM6F5Y5.js.br +0 -0
  175. package/build/runtime-chunk-4UM6F5Y5.js.gz +0 -0
  176. package/build/runtime-chunk-5DZZWLIJ.js.br +0 -0
  177. package/build/runtime-chunk-5DZZWLIJ.js.gz +0 -0
  178. package/build/runtime-chunk-7W7YLDAL.js.br +0 -0
  179. package/build/runtime-chunk-7W7YLDAL.js.gz +0 -0
  180. package/build/runtime-chunk-BIWN33UT.js.br +0 -0
  181. package/build/runtime-chunk-BIWN33UT.js.gz +0 -0
  182. package/build/runtime-chunk-DA27AWYB.js.br +0 -0
  183. package/build/runtime-chunk-DA27AWYB.js.gz +0 -0
  184. package/build/runtime-chunk-DVJDUERJ.js.br +0 -0
  185. package/build/runtime-chunk-DVJDUERJ.js.gz +0 -0
  186. package/build/runtime-chunk-DWEWYXEP.js.br +0 -0
  187. package/build/runtime-chunk-DWEWYXEP.js.gz +0 -0
  188. package/build/runtime-chunk-FZQTKGRC.js.br +0 -0
  189. package/build/runtime-chunk-FZQTKGRC.js.gz +0 -0
  190. package/build/runtime-chunk-GWWLLXI6.js.br +0 -0
  191. package/build/runtime-chunk-GWWLLXI6.js.gz +0 -0
  192. package/build/runtime-chunk-JJPB3HUE.js.br +0 -0
  193. package/build/runtime-chunk-JJPB3HUE.js.gz +0 -0
  194. package/build/runtime-chunk-JQLD4OPY.js.br +0 -0
  195. package/build/runtime-chunk-JQLD4OPY.js.gz +0 -0
  196. package/build/runtime-chunk-LMQM5XOS.js.br +0 -0
  197. package/build/runtime-chunk-LMQM5XOS.js.gz +0 -0
  198. package/build/runtime-chunk-MD3MRPBS.js.br +0 -0
  199. package/build/runtime-chunk-MD3MRPBS.js.gz +0 -0
  200. package/build/runtime-chunk-NFU26B3N.js.br +0 -0
  201. package/build/runtime-chunk-NFU26B3N.js.gz +0 -0
  202. package/build/runtime-chunk-OSMLEERI.js.br +0 -0
  203. package/build/runtime-chunk-OSMLEERI.js.gz +0 -0
  204. package/build/runtime-chunk-RZOE5BNC.js.br +0 -0
  205. package/build/runtime-chunk-RZOE5BNC.js.gz +0 -0
  206. package/build/runtime-chunk-UFEKX2KH.js.br +0 -0
  207. package/build/runtime-chunk-UFEKX2KH.js.gz +0 -0
  208. package/build/runtime-chunk-WGQDLFC4.js.br +0 -0
  209. package/build/runtime-chunk-XBYRIPUG.js.br +0 -0
  210. package/build/runtime-chunk-XBYRIPUG.js.gz +0 -0
  211. package/build/runtime-chunk-XINIFQH4.js.br +0 -0
  212. package/build/runtime-chunk-XINIFQH4.js.gz +0 -0
  213. package/build/runtime-chunk-XVPD2RMH.js.br +0 -0
  214. package/build/runtime-chunk-XVPD2RMH.js.gz +0 -0
  215. package/build/runtime-chunk-YAYGHTVH.js.br +0 -0
  216. package/build/runtime-chunk-YAYGHTVH.js.gz +0 -0
  217. package/build/runtime-classicRuntime-X56XM7O7.js.br +0 -0
  218. package/build/runtime-classicRuntime-X56XM7O7.js.gz +0 -0
  219. package/build/runtime-cloners-ZZQ3JSPS.js.br +0 -0
  220. package/build/runtime-cloners-ZZQ3JSPS.js.gz +0 -0
  221. package/build/runtime-components-SKDLGSYY.js.br +0 -0
  222. package/build/runtime-components-SKDLGSYY.js.gz +0 -0
  223. package/build/runtime-createDestroy-3WWJS6DW.js.br +0 -0
  224. package/build/runtime-createDestroy-3WWJS6DW.js.gz +0 -0
  225. package/build/runtime-dragDrop-5EB5RFKO.js.br +0 -0
  226. package/build/runtime-dragDrop-5EB5RFKO.js.gz +0 -0
  227. package/build/runtime-gameControls-Q2KBFYRA.js.br +0 -0
  228. package/build/runtime-gameControls-Q2KBFYRA.js.gz +0 -0
  229. package/build/runtime-hair-LIZCJ4W7.js.br +0 -1
  230. package/build/runtime-hair-LIZCJ4W7.js.gz +0 -0
  231. package/build/runtime-mergeStaticGeometries-PVN5C5JP.js.br +0 -0
  232. package/build/runtime-mergeStaticGeometries-PVN5C5JP.js.gz +0 -0
  233. package/build/runtime-miscActions-RIFB4OIF.js.br +0 -0
  234. package/build/runtime-miscActions-RIFB4OIF.js.gz +0 -0
  235. package/build/runtime-mouseHover-AEXWCYG7.js.br +0 -0
  236. package/build/runtime-mouseHover-AEXWCYG7.js.gz +0 -0
  237. package/build/runtime-particles-PE4BAL4K.js.br +0 -0
  238. package/build/runtime-particles-PE4BAL4K.js.gz +0 -0
  239. package/build/runtime-paths-27ZBN6BN.js.br +0 -0
  240. package/build/runtime-paths-27ZBN6BN.js.gz +0 -0
  241. package/build/runtime-resize-PWV3NCBC.js.br +0 -0
  242. package/build/runtime-resize-PWV3NCBC.js.gz +0 -0
  243. package/build/runtime-sceneTransition-LQV3JOPO.js.br +0 -0
  244. package/build/runtime-sceneTransition-LQV3JOPO.js.gz +0 -0
  245. package/build/runtime-scroll-MQHFYSJI.js +0 -1
  246. package/build/runtime-scroll-MQHFYSJI.js.br +0 -0
  247. package/build/runtime-scroll-MQHFYSJI.js.gz +0 -0
  248. package/build/runtime-shapeBlends-WGVT6R2N.js +0 -1
  249. package/build/runtime-shapeBlends-WGVT6R2N.js.br +0 -0
  250. package/build/runtime-shapeBlends-WGVT6R2N.js.gz +0 -0
  251. package/build/runtime-text-XOBN3DS6.js.br +0 -0
  252. package/build/runtime-text-XOBN3DS6.js.gz +0 -0
  253. package/build/runtime-textInputs-XRKHUYMZ.js.br +0 -0
  254. package/build/runtime-textInputs-XRKHUYMZ.js.gz +0 -0
  255. package/build/runtime-timeline-2IHPBLTC.js.br +0 -0
  256. package/build/runtime-timeline-2IHPBLTC.js.gz +0 -0
  257. package/build/runtime-tracking-SAJC57UA.js +0 -1
  258. package/build/runtime-tracking-SAJC57UA.js.br +0 -0
  259. package/build/runtime-tracking-SAJC57UA.js.gz +0 -0
  260. package/build/runtime-transitions-WGO7L27D.js.br +0 -0
  261. package/build/runtime-transitions-WGO7L27D.js.gz +0 -0
  262. package/build/runtime-ui2d-LDZEXCNH.js.br +0 -0
  263. package/build/runtime-ui2d-LDZEXCNH.js.gz +0 -0
  264. package/build/runtime-vectorShapes-34X3QRAA.js.br +0 -0
  265. package/build/runtime-vectorShapes-34X3QRAA.js.gz +0 -0
  266. package/build/runtime-webgpu-FDTJA5HO.js.br +0 -0
  267. package/build/runtime-webgpu-FDTJA5HO.js.gz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splinetool/runtime",
3
- "version": "2.0.72",
3
+ "version": "2.0.73",
4
4
  "description": "Spline is a collaborative design platform for creating production-ready interactive experiences in multiple dimensions. © 2026 Spline, Inc.",
5
5
  "keywords": [
6
6
  "spline",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- �@�ø�۴������6�ɗ��m�:���"� (��-L�����Pc},��K0 �Xg�;�0�M8�M�P����u�+����,8�j>�s�&v|�5 �3x;�A���d9�]�P#9�6��
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{a as t}from"./runtime-chunk-GGSUJEGZ.js";import{a as e}from"./runtime-chunk-NBYTQLIB.js";import{h as i}from"./runtime-chunk-7W7YLDAL.js";import"./runtime-chunk-FZQTKGRC.js";import"./runtime-chunk-XVPD2RMH.js";import"./runtime-chunk-TU4KDRKR.js";import{a as s,b as r}from"./runtime-chunk-DZNU62CT.js";import"./runtime-chunk-UFEKX2KH.js";import"./runtime-chunk-LMQM5XOS.js";import"./runtime-chunk-2W3XFRTZ.js";import"./runtime-chunk-BIWN33UT.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{f as n,g as o}from"./runtime-chunk-NSBTKBP4.js";import"./runtime-chunk-WGQDLFC4.js";import"./runtime-chunk-RTLL6WIB.js";import{f as h}from"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-M2T4RO2D.js";import{a}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-JTZ2BWZ5.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var c=class{constructor(t,e,i,s,r,o){this.id=t,this.data=e,this.object=i,this.scrollCounter=0,this.actions=n(e,e.actions,s,r,o,i)}connect(){this.scrollCounter=0}disconnect(){o(this.actions)}dispatch(t){this.actions.Transition.forEach(t=>{t.object.currentTransitionEvent!==this&&(t.object.currentTransitionEvent=this,t.init())});let e=t>0?1:-1;this.scrollCounter+=e,this.scrollCounter=Math.min(Math.max(this.scrollCounter,0),this.data.steps);let i=this.scrollCounter/this.data.steps;this.actions.Transition.forEach(t=>t.seek(i)),this.actions.Animation.forEach(t=>t.seek(e)),this.actions.TimelineAnimation.forEach(t=>t.seek(i)),this.actions.Create.forEach(t=>t.dispatchThrottled()),this.actions.SetVariable.forEach(t=>t.checkConditions()),this.actions.SetVariable.forEach(t=>t.dispatch()),this.actions.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actions.ClearLocalStorage.forEach(t=>t.dispatch()),this.actions.UserAPI.forEach(t=>t.dispatch())}dispatchUserEvent(t){this.actions.Transition.forEach(t=>{t.object.currentTransitionEvent!==this&&(t.object.currentTransitionEvent=this,t.init())}),t?(this.actions.Transition.forEach(t=>t.reverseFromCurrent()),this.actions.Animation.forEach(t=>t.reverseFromCurrent()),this.actions.TimelineAnimation.forEach(t=>t.reverseFromCurrent())):(this.actions.Transition.forEach(t=>{t.playFromCurrent()}),this.actions.Animation.forEach(t=>{t.playFromCurrent()}),this.actions.TimelineAnimation.forEach(t=>{t.playFromCurrent()})),this.actions.Create.forEach(t=>t.dispatchThrottled()),this.actions.SetVariable.forEach(t=>t.checkConditions()),this.actions.SetVariable.forEach(t=>t.dispatch()),this.actions.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actions.ClearLocalStorage.forEach(t=>t.dispatch()),this.actions.UserAPI.forEach(t=>t.dispatch())}},l=class{constructor(t,e,i,s,r,o,h){this.id=t,this.data=e,this.object=i,this.domElement=o,this.eventManager=h,this.scrollStart=0,this.scrollEnd=0,this.deferred=new Set,this.settleDriver={update:()=>this.settleDeferred()},this.actions=n(e,e.actions,s,r,h,i)}getStickyParentElement(){let t=this.domElement;for(;t;){if("sticky"===window.getComputedStyle(t).position)return t;t=t.parentElement}return null}computeScrollBounds(){let t=this.getStickyParentElement(),e=t?.parentElement,i=this.domElement.getBoundingClientRect(),s={top:i.top,bottom:i.bottom,left:i.left,right:i.right,width:i.width,height:i.height};if(e){let r=e.getBoundingClientRect(),n=window.getComputedStyle(t),o=parseFloat(n.marginTop)+parseFloat(n.marginBottom),h=parseFloat(n.top),a=parseFloat(n.bottom),c=r.height-o;if(isNaN(h)){if(!isNaN(a)){let t=document.body.clientHeight??window.innerHeight,e=window.innerWidth-(document.documentElement.clientWidth??window.innerWidth);i.bottom===t-a?(s.top+=r.top-i.height+a+e,s.bottom+=r.top-i.height+a+e):i.bottom<t-a&&(s.top-=c-i.height,s.bottom-=c-i.height)}}else i.top===h?(s.top+=r.top-h,s.bottom+=r.top-h):i.top<0&&(s.top-=c-i.height,s.bottom-=c-i.height)}let r=document.body,n=document.documentElement,o=window.pageYOffset||n.scrollTop||r.scrollTop,h=n.clientTop||r.clientTop||0,a=Math.round(s.top+o-h);if("enter"===this.data.startFrom){let t=window.innerHeight,e=s.height,i=this.data.enterAnchor,r="top"===i?t:"bottom"===i?t-e:t-.5*e;this.scrollStart=a-r}else this.scrollStart=0;this.scrollStart+=this.data.startOffset??0,this.scrollEnd=this.scrollStart+(this.data.endAfter??400),this.box=s}connect(){this.computeScrollBounds(),this.settle()}disconnect(){t.remove(this.settleDriver),this.deferred.clear(),o(this.actions)}handleResize(){this.computeScrollBounds(),this.settle()}settle(){this.computeScroll({x:window.scrollX,y:window.scrollY},{settle:!0})}settleDeferred(){let e=[...this.deferred].filter(t=>!t.contested);e.length&&(e.forEach(t=>this.deferred.delete(t)),this.seekTransitions(e,this.scaleAt(window.scrollY))),0===this.deferred.size&&t.remove(this.settleDriver)}scaleAt(t){let e=this.scrollEnd-this.scrollStart;return Math.min(1,Math.max(0,(t-this.scrollStart)/e))}seekTransitions(t,e){t.forEach(t=>{t.object.currentTransitionEvent!==this&&(t.object.currentTransitionEvent=this,t.init())}),t.forEach(t=>t.seek(e))}get isInvalidBox(){return void 0===this.box||0===this.box.width&&0===this.box.height&&0===this.box.top&&0===this.box.bottom}computeScroll({x:e,y:i},{settle:s=!1}={}){let r=this.actions.Transition;s?(r=r.filter(t=>!t.contested||(this.deferred.add(t),!1)),this.deferred.size&&t.add(this.settleDriver)):(this.deferred.clear(),t.remove(this.settleDriver));let n=this.scaleAt(i);this.seekTransitions(r,n),this.actions.Animation.forEach(t=>t.seek(n)),this.actions.TimelineAnimation.forEach(t=>t.seek(n)),this.actions.Create.forEach(t=>t.dispatchThrottled()),this.actions.SetVariable.forEach(t=>t.checkConditions()),this.actions.SetVariable.forEach(t=>t.dispatch()),this.actions.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actions.ClearLocalStorage.forEach(t=>t.dispatch()),this.actions.UserAPI.forEach(t=>t.dispatch())}dispatch(t){this.isInvalidBox&&this.computeScrollBounds(),this.computeScroll(t)}dispatchUserEvent(t){this.actions.Transition.forEach(t=>{t.object.currentTransitionEvent!==this&&(t.object.currentTransitionEvent=this,t.init())}),t?(this.actions.Transition.forEach(t=>t.reverseFromCurrent()),this.actions.Animation.forEach(t=>t.reverseFromCurrent()),this.actions.TimelineAnimation.forEach(t=>t.reverseFromCurrent())):(this.actions.Transition.forEach(t=>{t.playFromCurrent()}),this.actions.Animation.forEach(t=>{t.playFromCurrent()}),this.actions.TimelineAnimation.forEach(t=>{t.playFromCurrent()})),this.actions.Create.forEach(t=>t.dispatchThrottled()),this.actions.SetVariable.forEach(t=>t.checkConditions()),this.actions.SetVariable.forEach(t=>t.dispatch()),this.actions.DynamicVariablePlay.forEach(t=>t.dispatch()),this.actions.ClearLocalStorage.forEach(t=>t.dispatch()),this.actions.UserAPI.forEach(t=>t.dispatch())}},d=class extends s{constructor(t,i){super(t),this.managers=i,this.wheelEventsPerObject=new Map,this.scrollEventsPerObject=new Map,this.isInview=!0,this.handleResize=()=>{[...this.scrollEventsPerObject.entries()].forEach(([t,e])=>{e.forEach(t=>t.handleResize())})},this.onScroll=t=>{if(!this.isInview)return;let e={y:window.scrollY,x:window.scrollX};[...this.scrollEventsPerObject.entries()].forEach(([t,i])=>{t.dispatchEvent({type:"beginEvent",eventName:"Scroll",scroll:e}),i.forEach(t=>t.dispatch(e))})},this.onWheel=t=>{!this.isInview||t.ctrlKey||[...this.wheelEventsPerObject.entries()].forEach(([e,i])=>{e.dispatchEvent({type:"beginEvent",eventName:"Scroll",deltaY:t.deltaY}),i.forEach(e=>e.dispatch(t.deltaY))})},this.onUserEvent=({eventName:t,target:i,reverse:s})=>{if(!t||!i)return;let r=e(t);r&&"Scroll"===r&&(i.dispatchEvent({type:"beginEvent",eventName:"Scroll"}),this.wheelEventsPerObject.get(i)?.forEach(t=>{t.dispatchUserEvent(s)}))}}connect(){let{page:t,sharedAssets:e,domElement:s,isExport:r}=this.eventContext,n=i=>{if(i.data?.events.length)for(let{id:n,data:o}of i.data.events)if(!o.disabled&&"Scroll"===o.type)if("load"!==o.trigger&&r){let r=new l(n,o,i,t,e,s,this.managers);this.scrollEventsPerObject.has(i)?this.scrollEventsPerObject.get(i)?.push(r):this.scrollEventsPerObject.set(i,[r])}else{let s=new c(n,o,i,t,e,this.managers);this.wheelEventsPerObject.has(i)?this.wheelEventsPerObject.get(i)?.push(s):this.wheelEventsPerObject.set(i,[s])}};t.traverseEntity(t=>{(h(t)||t instanceof i)&&t.frame?.traverse(t=>{n(t)}),n(t)}),this.intersectionObserver=new IntersectionObserver(t=>{let e=t[0];e&&(this.isInview=e.isIntersecting)},{root:null}),this.intersectionObserver.observe(this.eventContext.domElement),[...this.wheelEventsPerObject.entries()].forEach(([t,e])=>{e.forEach(t=>t.connect()),t.addEventListener("userEvent",this.onUserEvent)}),[...this.scrollEventsPerObject.entries()].forEach(([t,e])=>{e.forEach(t=>t.connect()),t.addEventListener("userEvent",this.onUserEvent)}),[...this.wheelEventsPerObject.values()].some(t=>t.length)&&(this.domEventsNeeded.add("wheel"),window.addEventListener("wheel",this.onWheel)),[...this.scrollEventsPerObject.values()].some(t=>t.length)&&(this.domEventsNeeded.add("scroll"),window.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.handleResize))}disconnect(){window.removeEventListener("wheel",this.onWheel),window.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.handleResize),this.intersectionObserver.unobserve(this.eventContext.domElement),this.domEventsNeeded.clear(),[...this.wheelEventsPerObject.entries()].forEach(([t,e])=>{e.forEach(t=>t.disconnect()),t.removeEventListener("userEvent",this.onUserEvent)}),[...this.scrollEventsPerObject.entries()].forEach(([t,e])=>{e.forEach(t=>t.disconnect()),t.removeEventListener("userEvent",this.onUserEvent)})}};r("Scroll",({eventContext:t,eventManager:e})=>new d(t,e)),a("scroll");
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{k as m}from"./runtime-chunk-DVJDUERJ.js";import"./runtime-chunk-4JASYPCF.js";import"./runtime-chunk-JJPB3HUE.js";import"./runtime-chunk-JQLD4OPY.js";import"./runtime-chunk-YAYGHTVH.js";import"./runtime-chunk-LMQM5XOS.js";import"./runtime-chunk-XINIFQH4.js";import"./runtime-chunk-2W3XFRTZ.js";import"./runtime-chunk-BIWN33UT.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-WGQDLFC4.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-M2T4RO2D.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-JTZ2BWZ5.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";r("ShapeBlendGeometry",(n,r,t)=>new m(n,r,t)),n("shape-blends");
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{a as e}from"./runtime-chunk-NBYTQLIB.js";import{f as t}from"./runtime-chunk-XVPD2RMH.js";import{a as n,b as i}from"./runtime-chunk-DZNU62CT.js";import{a as s}from"./runtime-chunk-VAVYZ35B.js";import{e as a}from"./runtime-chunk-FQNSP44B.js";import"./runtime-chunk-UFEKX2KH.js";import"./runtime-chunk-LMQM5XOS.js";import"./runtime-chunk-2W3XFRTZ.js";import"./runtime-chunk-BIWN33UT.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{f as o,g as r}from"./runtime-chunk-NSBTKBP4.js";import{d,v as l}from"./runtime-chunk-WGQDLFC4.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-M2T4RO2D.js";import{a as u}from"./runtime-chunk-TZCHGFVF.js";import{s as h,t as c}from"./runtime-chunk-JTZ2BWZ5.js";import{Ec as p,Fc as m,Oc as v,rd as g}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var f=new m,E=new m,w=new m,y=new m,M=new g,L={type:"requestRender"},F=function(){let e=new m,t=new m;return(n,i,s)=>s>0?(e.subVectors(n,i),e.length()<=s?n:t.copy(i).add(e.normalize().multiplyScalar(s))):i}(),x=function(){let e=new v;return(n,i)=>{n.position.copy(i),null!==n.parent&&(e.copy(n.parent.matrixWorld).invert(),n.position.applyMatrix4(e)),e.copy(n.hiddenMatrix).invert(),n.position.applyMatrix4(e),n.updateMatrix(),n.hasNonUniformScale&&(n.updateMatrixWorld(),n.updateMatrixWorldRigid()),n instanceof l&&t(n.parent)&&n.invalidateDownstreamBooleanData(!0)}}(),D=class{constructor(e,t,n,i,s,a){this.data=e,this.id=t,this.object=n,this.paused=!1,this.currentDampingFactor=1,this.snapComplete=!1,this.isReset=!1,this.worldPosition0=new m,this.timeoutId=null,this.delayFinished=!0,this.wasOutside=!1,this.data={...h.defaultData,...e,...void 0===e.resetOnPointerLeave&&{resetOnPointerLeave:!1}},void 0===e.target||"cursor"===e.target||(this.target=i.find(e.target)),this.data.dampingFactor&&(this.currentDampingFactor=this.data.dampingFactor),this.resetDampingFactor=80/this.data.resetSpeed+1,this.object.getWorldPosition(this.worldPosition0),this.actions=o(e,e.actions,i,s,a,n)}},R=class extends n{constructor(e,t){super(e),this.eventManager=t,this.events=[],this.pairOfEventListeners=[],this.onMouseMove=e=>{if(!(s.length>1)){this.eventContext.updateRaycaster(e);for(let e of this.events)void 0===e.target&&this.updateSingleEvent(e)}},this.onMouseEnter=e=>{for(let e of this.events)void 0===e.target&&(e.isReset=!1,e.currentDampingFactor=e.data.dampingFactor)},this.onMouseLeave=e=>{for(let e of this.events)void 0===e.target&&(e.data.resetOnPointerLeave&&(e.isReset=!0,e.currentDampingFactor=e.resetDampingFactor),this.updateSingleEvent(e))},this.onTargetChange=e=>()=>{this.updateSingleEvent(e)}}connect(){let{page:e}=this.eventContext;if(e.traverseEntity(t=>{let n=t.data?.events.find(e=>"Follow"===e.data.type&&!e.data.disabled);n&&(!e.data.globalPhysics.usePhysics||"dynamic"!==t.dataPatched.physics?.rigidBody)&&this.events.push(new D(n.data,n.id,t,e,this.eventContext.sharedAssets,this.eventManager))}),!this.events.length)return;let{domElement:t,eventElement:n}=this.eventContext;this.domEventsNeeded.clear(),a&&(this.domEventsNeeded.add("pointerdown"),t.addEventListener("pointerdown",this.onMouseMove)),this.domEventsNeeded.add("pointermove"),n.addEventListener("pointermove",this.onMouseMove),this.eventContext.useWindowEvents||(t.addEventListener("pointerenter",this.onMouseEnter),t.addEventListener("pointerleave",this.onMouseLeave));for(let e of this.events)if(void 0!==e.target){let t=e.target,n=this.onTargetChange(e);this.pairOfEventListeners.push([t,n]),t.addEventListener("requestRender",n)}}disconnect(){if(!this.events.length)return;let{domElement:e,eventElement:t}=this.eventContext;this.domEventsNeeded.clear(),a&&e.removeEventListener("pointerdown",this.onMouseMove),t.removeEventListener("pointermove",this.onMouseMove),e.removeEventListener("pointerenter",this.onMouseEnter),e.removeEventListener("pointerleave",this.onMouseLeave);for(let[e,t]of this.pairOfEventListeners)e.removeEventListener("requestRender",t);for(let e of this.events)e.paused=!0,e.isReset=!1,r(e.actions)}onAnimationFrameDamping(){for(let e of this.events)e.paused||this.updateSingleEvent(e,!0)}updateSingleEvent(e,t=!1){this.events.forEach(e=>{e.actions.Create.forEach(e=>{e.dispatchThrottled()})});let{plane:n,limitDistance:i,limitDistanceEnabled:s}=e.data;if(e.object.getWorldPosition(w),e.isReset)y.copy(e.worldPosition0);else if(e.target)e.target.getWorldPosition(y);else{let{getCamera:e,raycaster:t}=this.eventContext;if("custom"===n?(e().getWorldDirection(E),E.negate(),f.copy(E)):"xy"===n?f.set(0,0,1):"xz"===n?f.set(0,1,0):"yz"===n&&f.set(1,0,0),M.setFromNormalAndCoplanarPoint(f,w),!t.ray.intersectPlane(M,y))return}if(!e.isReset)if(y.distanceTo(e.worldPosition0)>i&&s&&e.target){if(e.snapComplete=!1,e.data.snapDelay&&(e.delayFinished=!1,typeof window<"u"&&null!==e.timeoutId&&(window.clearTimeout(e.timeoutId),e.timeoutId=null)),e.wasOutside=!0,!e.data.resetAfterDistanceLimit)return;y.copy(e.worldPosition0),e.currentDampingFactor=e.resetDampingFactor}else if(e.wasOutside&&(e.data.snapDelay&&typeof window<"u"&&(e.timeoutId=window.setTimeout(()=>{e.delayFinished=!0,e.paused=!1,this.updateSingleEvent(e)},1e3*e.data.snapDelay)),e.currentDampingFactor=e.data.dampingFactor,e.wasOutside=!1),!1===e.delayFinished)return;!1===e.data.enabledTranslation[0]&&(y.x=w.x),!1===e.data.enabledTranslation[1]&&(y.y=w.y),!1===e.data.enabledTranslation[2]&&(y.z=w.z);let a=F(w,y,e.wasOutside?0:e.data.maxDelta);if(e.currentDampingFactor>1){let n=f.subVectors(a,w).divideScalar(e.currentDampingFactor);w.add(n),t&&x(e.object,w),e.paused=n.length()<.01}else x(e.object,a),e.paused=!0;e.object?.dispatchEvent({type:"beginEvent",eventName:"Follow"}),e.object.dispatchEvent(L)}},b=new m,P=new m,j=new v,C=new p,S=new p,N=new m,k=new m,O=new m,T=new m,W=new g,z={type:"requestRender"},Q={type:"changeRotation"},B=function(){let e=new v;return function(n,i){null!==n.parent?e.multiplyMatrices(n.parent.matrixWorld,n.hiddenMatrix):e.copy(n.hiddenMatrix),i.premultiply(d(e).invert()),n.rotation.setFromRotationMatrix(i),n.updateMatrix(),n instanceof l&&t(n.parent)&&n.invalidateDownstreamBooleanData(!0)}}(),V=class{constructor(e,t,n,i){this.id=t,this.object=n,this.paused=!1,this.currentDampingFactor=1,this.isReset=!1,this.worldQuaternion0=new p,this.timeoutId=null,this.delayFinished=!0,this.wasOutside=!1,this.data={...c.defaultData,...e,...void 0===e.resetOnPointerLeave&&{resetOnPointerLeave:!1}},void 0===e.target||"cursor"===e.target||(this.target=i.find(e.target)),this.data.dampingFactor&&(this.currentDampingFactor=this.data.dampingFactor),this.object.getWorldQuaternion(this.worldQuaternion0),isNaN(this.worldQuaternion0.x)&&(this.worldQuaternion0.x=0),isNaN(this.worldQuaternion0.y)&&(this.worldQuaternion0.y=0),isNaN(this.worldQuaternion0.z)&&(this.worldQuaternion0.z=0),isNaN(this.worldQuaternion0.w)&&(this.worldQuaternion0.w=1),this.resetDampingFactor=80/this.data.resetSpeed+1}},A=class extends n{constructor(){super(...arguments),this.events=[],this.pairOfEventListeners=[],this.pairOfUserEventListeners=[],this.onMouseMove=e=>{if(!(s.length>1)){this._lastMouseEvent=e,this.eventContext.updateRaycaster(e);for(let e of this.events)void 0===e.target&&this.updateSingleEvent(e)}},this.onMouseEnter=e=>{for(let e of this.events)void 0===e.target&&(e.isReset=!1,e.currentDampingFactor=e.data.dampingFactor)},this.onMouseLeave=e=>{for(let e of this.events)void 0===e.target&&(e.data.resetOnPointerLeave&&(e.isReset=!0,e.currentDampingFactor=e.resetDampingFactor),this.updateSingleEvent(e))},this.onScroll=e=>{if(this._lastMouseEvent){let e=new PointerEvent("pointermove",{clientX:this._lastMouseEvent.clientX,clientY:this._lastMouseEvent.clientY,bubbles:!0,cancelable:!0,view:window});this.eventContext.eventElement.dispatchEvent(e)}},this.onTargetChange=e=>()=>{this.updateSingleEvent(e)},this.createUserEventListener=t=>({eventName:n,target:i})=>{if(!n||!i)return;let s=e(n);s&&"LookAt"===s&&this.updateSingleEvent(t)}}connect(){let{page:e}=this.eventContext;if(e.traverseEntity(t=>{let n=t.data?.events.find(e=>"LookAt"===e.data.type&&!e.data.disabled);n&&(!e.data.globalPhysics.usePhysics||"dynamic"!==t.dataPatched.physics?.rigidBody)&&this.events.push(new V(n.data,n.id,t,e))}),!this.events.length)return;let{domElement:t,eventElement:n}=this.eventContext;this.domEventsNeeded.clear(),a&&(this.domEventsNeeded.add("pointerdown"),t.addEventListener("pointerdown",this.onMouseMove)),this.domEventsNeeded.add("pointermove"),n.addEventListener("pointermove",this.onMouseMove),this.eventContext.useWindowEvents?n.addEventListener("scroll",this.onScroll):(t.addEventListener("pointerenter",this.onMouseEnter),t.addEventListener("pointerleave",this.onMouseLeave));for(let e of this.events){if(void 0!==e.target){let t=this.onTargetChange(e),n=e.target;this.pairOfEventListeners.push([n,t]),n.addEventListener("requestRender",t)}let t=this.createUserEventListener(e),n=e.object;this.pairOfUserEventListeners.push([n,t]),n.addEventListener("userEvent",t)}}disconnect(){if(!this.events.length)return;let{domElement:e,eventElement:t}=this.eventContext;this.domEventsNeeded.clear(),a&&e.removeEventListener("pointerdown",this.onMouseMove),t.removeEventListener("pointermove",this.onMouseMove),e.removeEventListener("pointerenter",this.onMouseEnter),e.removeEventListener("pointerleave",this.onMouseLeave),t.removeEventListener("scroll",this.onScroll);for(let[e,t]of this.pairOfEventListeners)e.removeEventListener("requestRender",t);for(let[e,t]of this.pairOfUserEventListeners)e.removeEventListener("userEvent",t);for(let e of this.events)e.paused=!0,e.isReset=!1}onAnimationFrameDamping(){for(let e of this.events)e.paused||this.updateSingleEvent(e)}updateSingleEvent(e){let{tilt:t,axis:n,distance:i,plane:s,limitDistance:a,enabledRotation:o,limitDistanceEnabled:r}=e.data,{getCamera:l,raycaster:u}=this.eventContext,{object:h,target:c}=e;if(h.getWorldPosition(N),!e.isReset)if(e.target)e.target.getWorldPosition(k);else{if("custom"===s?(l().getWorldDirection(P),P.negate(),W.setFromNormalAndCoplanarPoint(P,N)):("xy"===s?b.set(0,0,1):"xz"===s?b.set(0,1,0):"yz"===s&&b.set(1,0,0),W.setFromNormalAndCoplanarPoint(b,N)),!u.ray.intersectPlane(W,k))return;i>0&&("custom"===s||void 0===s)&&k.addScaledVector(P,i)}if(e.isReset||(c?"target"===t?O.copy(c.up).applyMatrix4(j.extractRotation(c.matrixWorld)).normalize():o.some(e=>!1===e)?("x"===n?(T.set(0,0,1),!1===o[2]&&T.set(0,1,0)):"y"===n?(T.set(1,0,0),!1===o[0]&&T.set(0,0,1)):(T.set(0,1,0),!1===o[1]&&T.set(1,0,0)),O.copy(T).applyQuaternion(e.worldQuaternion0).normalize()):O.set(0,1,0):"custom"===s?O.set(0,1,0):O.copy(b)),e.isReset)S.copy(e.worldQuaternion0);else if(N.distanceTo(k)>a&&r&&c){if(e.data.snapDelay&&(e.delayFinished=!1,typeof window<"u"&&null!==e.timeoutId&&(window.clearTimeout(e.timeoutId),e.timeoutId=null)),e.wasOutside=!0,!e.data.resetAfterDistanceLimit)return;S.copy(e.worldQuaternion0),e.currentDampingFactor=e.resetDampingFactor}else{if(e.wasOutside&&(e.data.snapDelay&&typeof window<"u"&&(e.timeoutId=window.setTimeout(()=>{e.delayFinished=!0,e.paused=!1,this.updateSingleEvent(e)},1e3*e.data.snapDelay)),e.currentDampingFactor=e.data.dampingFactor,e.wasOutside=!1),!1===e.delayFinished)return;(function(e,t,n,i,s,a){let o=j.elements;q.subVectors(t,n),0===q.lengthSq()&&(q.z=1),q.normalize(),U.crossVectors(i,q),0===U.lengthSq()&&(1===Math.abs(i.z)?q.x+=1e-4:q.z+=1e-4,q.normalize(),U.crossVectors(i,q)),U.normalize(),I.crossVectors(q,U),"x"===s?1===a.z?[U,I,q]=[q,U,I]:(U.negate(),[U,q]=[q,U]):"y"===s?1===a.x?[U,I,q]=[I,q,U]:(U.negate(),[I,q]=[q,I]):1===a.x&&(U.negate(),[U,I]=[I,U]),o[0]=U.x,o[4]=I.x,o[8]=q.x,o[1]=U.y,o[5]=I.y,o[9]=q.y,o[2]=U.z,o[6]=I.z,o[10]=q.z})(0,k,N,O,n,T),S.setFromRotationMatrix(j),C.setFromUnitVectors(T.applyQuaternion(S),O),o.some(e=>!1===e)&&"target"!==t&&S.premultiply(C).normalize()}e.currentDampingFactor>1?(h.updateWorldMatrix(!0,!1),C.setFromRotationMatrix(d(h.matrixWorld)),C.slerp(S,1/e.currentDampingFactor),B(h,j.makeRotationFromQuaternion(C)),e.paused=8*(1-C.dot(S))<1e-6):(B(h,j.makeRotationFromQuaternion(S)),e.paused=!0),e.object?.dispatchEvent({type:"beginEvent",eventName:"LookAt"}),h.dispatchEvent(z),h.dispatchEvent(Q)}},I=new m,U=new m,q=new m;i("Follow",({eventContext:e,eventManager:t})=>new R(e,t)),i("LookAt",({eventContext:e})=>new A(e)),u("tracking");
Binary file
Binary file
Binary file
Binary file