@splinetool/runtime 2.0.99 → 2.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{runtime-aiAssistant-NNF3F5QO.js → runtime-aiAssistant-JYKXMMRS.js} +1 -1
- package/build/runtime-aiAssistant-JYKXMMRS.js.br +0 -0
- package/build/runtime-aiAssistant-JYKXMMRS.js.gz +0 -0
- package/build/runtime-apiServices-II44FZUJ.js +1 -0
- package/build/runtime-apiServices-II44FZUJ.js.br +0 -0
- package/build/runtime-apiServices-II44FZUJ.js.gz +0 -0
- package/build/{runtime-audio-IMCJS7SZ.js → runtime-audio-PFLKMACM.js} +1 -1
- package/build/runtime-audio-PFLKMACM.js.br +0 -0
- package/build/runtime-audio-PFLKMACM.js.gz +0 -0
- package/build/{runtime-bloom-7B3ZAMXY.js → runtime-bloom-BOI6KO5B.js} +1 -1
- package/build/runtime-bloom-BOI6KO5B.js.br +0 -0
- package/build/runtime-bloom-BOI6KO5B.js.gz +0 -0
- package/build/{runtime-brightnessContrast-HQGNA5X2.js → runtime-brightnessContrast-6ZMNRJAO.js} +1 -1
- package/build/runtime-brightnessContrast-6ZMNRJAO.js.br +0 -0
- package/build/runtime-brightnessContrast-6ZMNRJAO.js.gz +0 -0
- package/build/{runtime-chromaticAberration-7QQBIOCV.js → runtime-chromaticAberration-72CZWXTD.js} +1 -1
- package/build/runtime-chromaticAberration-72CZWXTD.js.br +0 -0
- package/build/runtime-chromaticAberration-72CZWXTD.js.gz +0 -0
- package/build/{runtime-chunk-M7S2GXRN.js → runtime-chunk-357LYO3J.js} +1 -1
- package/build/runtime-chunk-357LYO3J.js.br +0 -0
- package/build/runtime-chunk-357LYO3J.js.gz +0 -0
- package/build/{runtime-chunk-PMJ2AYHR.js → runtime-chunk-3F3Y2G5B.js} +1 -1
- package/build/runtime-chunk-3F3Y2G5B.js.br +0 -0
- package/build/runtime-chunk-3F3Y2G5B.js.gz +0 -0
- package/build/{runtime-chunk-FKNVV4NA.js → runtime-chunk-52FUITQN.js} +1 -1
- package/build/runtime-chunk-52FUITQN.js.br +0 -0
- package/build/runtime-chunk-52FUITQN.js.gz +0 -0
- package/build/{runtime-chunk-E6D7DGFO.js → runtime-chunk-5CXAJPAF.js} +1 -1
- package/build/runtime-chunk-5CXAJPAF.js.br +0 -0
- package/build/runtime-chunk-5CXAJPAF.js.gz +0 -0
- package/build/{runtime-chunk-KADJVVUY.js → runtime-chunk-5VCUVBXQ.js} +1 -1
- package/build/runtime-chunk-5VCUVBXQ.js.br +1 -0
- package/build/runtime-chunk-5VCUVBXQ.js.gz +0 -0
- package/build/{runtime-chunk-MABNKREI.js → runtime-chunk-6GYTYA7C.js} +1 -1
- package/build/runtime-chunk-6GYTYA7C.js.br +0 -0
- package/build/runtime-chunk-6GYTYA7C.js.gz +0 -0
- package/build/{runtime-chunk-PY32P2MB.js → runtime-chunk-7MEZ2KDU.js} +1 -1
- package/build/runtime-chunk-7MEZ2KDU.js.br +0 -0
- package/build/runtime-chunk-7MEZ2KDU.js.gz +0 -0
- package/build/runtime-chunk-AORANPJP.js +1 -0
- package/build/runtime-chunk-AORANPJP.js.br +0 -0
- package/build/runtime-chunk-AORANPJP.js.gz +0 -0
- package/build/{runtime-chunk-4GO5OFNC.js → runtime-chunk-AWUFMMKH.js} +1 -1
- package/build/runtime-chunk-AWUFMMKH.js.br +0 -0
- package/build/runtime-chunk-AWUFMMKH.js.gz +0 -0
- package/build/{runtime-chunk-RQFBMEVZ.js → runtime-chunk-B3ARQO3Z.js} +1 -1
- package/build/{runtime-chunk-RQFBMEVZ.js.br → runtime-chunk-B3ARQO3Z.js.br} +0 -0
- package/build/runtime-chunk-B3ARQO3Z.js.gz +0 -0
- package/build/runtime-chunk-BEWSX4P6.js +1 -0
- package/build/runtime-chunk-BEWSX4P6.js.br +0 -0
- package/build/runtime-chunk-BEWSX4P6.js.gz +0 -0
- package/build/{runtime-chunk-WKNVDX3N.js → runtime-chunk-D7JBGVG7.js} +1 -1
- package/build/runtime-chunk-D7JBGVG7.js.br +0 -0
- package/build/runtime-chunk-D7JBGVG7.js.gz +0 -0
- package/build/{runtime-chunk-TVEOQL6G.js → runtime-chunk-EYCGSFF7.js} +1 -1
- package/build/runtime-chunk-EYCGSFF7.js.br +0 -0
- package/build/runtime-chunk-EYCGSFF7.js.gz +0 -0
- package/build/runtime-chunk-GPEQDP4A.js +1 -0
- package/build/runtime-chunk-GPEQDP4A.js.br +0 -0
- package/build/runtime-chunk-GPEQDP4A.js.gz +0 -0
- package/build/runtime-chunk-HKN5JQH2.js +1 -0
- package/build/runtime-chunk-HKN5JQH2.js.br +0 -0
- package/build/runtime-chunk-HKN5JQH2.js.gz +0 -0
- package/build/{runtime-chunk-KPYQWJET.js → runtime-chunk-HUSJ7KZG.js} +1 -1
- package/build/runtime-chunk-HUSJ7KZG.js.br +0 -0
- package/build/runtime-chunk-HUSJ7KZG.js.gz +0 -0
- package/build/{runtime-chunk-O4OBJK5I.js → runtime-chunk-IADZBF4C.js} +1 -1
- package/build/runtime-chunk-IADZBF4C.js.br +0 -0
- package/build/runtime-chunk-IADZBF4C.js.gz +0 -0
- package/build/{runtime-chunk-E6R2EOZN.js → runtime-chunk-IIR3Y2PX.js} +1 -1
- package/build/runtime-chunk-IIR3Y2PX.js.br +0 -0
- package/build/runtime-chunk-IIR3Y2PX.js.gz +0 -0
- package/build/{runtime-chunk-4XXEJLMG.js → runtime-chunk-JBRM62V6.js} +1 -1
- package/build/runtime-chunk-JBRM62V6.js.br +0 -0
- package/build/runtime-chunk-JBRM62V6.js.gz +0 -0
- package/build/{runtime-chunk-T3SAGIHK.js → runtime-chunk-MIPG36RU.js} +1 -1
- package/build/runtime-chunk-MIPG36RU.js.br +0 -0
- package/build/runtime-chunk-MIPG36RU.js.gz +0 -0
- package/build/{runtime-chunk-H3ODKGZ7.js → runtime-chunk-NY4SLVL4.js} +1 -1
- package/build/runtime-chunk-NY4SLVL4.js.br +0 -0
- package/build/runtime-chunk-NY4SLVL4.js.gz +0 -0
- package/build/{runtime-chunk-ZJAEOKE6.js → runtime-chunk-OBB4M3GU.js} +1 -1
- package/build/runtime-chunk-OBB4M3GU.js.br +0 -0
- package/build/runtime-chunk-OBB4M3GU.js.gz +0 -0
- package/build/{runtime-chunk-LCR6LO6Q.js → runtime-chunk-OSFWHAMN.js} +1 -1
- package/build/runtime-chunk-OSFWHAMN.js.br +0 -0
- package/build/runtime-chunk-OSFWHAMN.js.gz +0 -0
- package/build/{runtime-chunk-P7Y5SVAD.js → runtime-chunk-PYMHVL3C.js} +1 -1
- package/build/runtime-chunk-PYMHVL3C.js.br +0 -0
- package/build/runtime-chunk-PYMHVL3C.js.gz +0 -0
- package/build/{runtime-chunk-HGOGHH4M.js → runtime-chunk-Q7BYLYP7.js} +1 -1
- package/build/runtime-chunk-Q7BYLYP7.js.br +0 -0
- package/build/runtime-chunk-Q7BYLYP7.js.gz +0 -0
- package/build/{runtime-chunk-N53OSDKC.js → runtime-chunk-SXHQLHLW.js} +1 -1
- package/build/{runtime-chunk-N53OSDKC.js.br → runtime-chunk-SXHQLHLW.js.br} +0 -0
- package/build/runtime-chunk-SXHQLHLW.js.gz +0 -0
- package/build/{runtime-chunk-7CNMX337.js → runtime-chunk-VA6WKZXP.js} +1 -1
- package/build/runtime-chunk-VA6WKZXP.js.br +0 -0
- package/build/runtime-chunk-VA6WKZXP.js.gz +0 -0
- package/build/{runtime-chunk-CXA5NFNP.js → runtime-chunk-WK3XJ2YB.js} +1 -1
- package/build/runtime-chunk-WK3XJ2YB.js.br +0 -0
- package/build/runtime-chunk-WK3XJ2YB.js.gz +0 -0
- package/build/{runtime-chunk-SEVXOA7Q.js → runtime-chunk-YDR7MZGF.js} +1 -1
- package/build/runtime-chunk-YDR7MZGF.js.br +0 -0
- package/build/runtime-chunk-YDR7MZGF.js.gz +0 -0
- package/build/runtime-chunk-YH7N5LRF.js +1 -0
- package/build/runtime-chunk-YH7N5LRF.js.br +0 -0
- package/build/runtime-chunk-YH7N5LRF.js.gz +0 -0
- package/build/{runtime-chunk-LM62BADA.js → runtime-chunk-YPL52E4O.js} +1 -1
- package/build/runtime-chunk-YPL52E4O.js.br +0 -0
- package/build/runtime-chunk-YPL52E4O.js.gz +0 -0
- package/build/{runtime-classicRuntime-QRJGHJF3.js → runtime-classicRuntime-IYA2AK5E.js} +1 -1
- package/build/runtime-classicRuntime-IYA2AK5E.js.br +0 -0
- package/build/runtime-classicRuntime-IYA2AK5E.js.gz +0 -0
- package/build/runtime-cloners-IP4B45UK.js +1 -0
- package/build/runtime-cloners-IP4B45UK.js.br +3 -0
- package/build/runtime-cloners-IP4B45UK.js.gz +0 -0
- package/build/{runtime-components-U6Y3CFLI.js → runtime-components-BF3GMZ52.js} +1 -1
- package/build/runtime-components-BF3GMZ52.js.br +0 -0
- package/build/runtime-components-BF3GMZ52.js.gz +0 -0
- package/build/{runtime-conditional-DE4PFQQI.js → runtime-conditional-V4O43AFY.js} +1 -1
- package/build/runtime-conditional-V4O43AFY.js.br +0 -0
- package/build/runtime-conditional-V4O43AFY.js.gz +0 -0
- package/build/{runtime-createDestroy-VKBMFQYZ.js → runtime-createDestroy-BIQXIAYO.js} +1 -1
- package/build/runtime-createDestroy-BIQXIAYO.js.br +0 -0
- package/build/runtime-createDestroy-BIQXIAYO.js.gz +0 -0
- package/build/{runtime-depthOfField-VFVDL447.js → runtime-depthOfField-PSOUFSGP.js} +1 -1
- package/build/runtime-depthOfField-PSOUFSGP.js.br +0 -0
- package/build/runtime-depthOfField-PSOUFSGP.js.gz +0 -0
- package/build/{runtime-dragDrop-6BEBTD3K.js → runtime-dragDrop-WYJRT22Q.js} +1 -1
- package/build/runtime-dragDrop-WYJRT22Q.js.br +0 -0
- package/build/runtime-dragDrop-WYJRT22Q.js.gz +0 -0
- package/build/{runtime-gameControls-3KGKNHOQ.js → runtime-gameControls-YYSSAWFT.js} +1 -1
- package/build/runtime-gameControls-YYSSAWFT.js.br +0 -0
- package/build/runtime-gameControls-YYSSAWFT.js.gz +0 -0
- package/build/runtime-hair-KEXD7S64.js +1 -0
- package/build/runtime-hair-KEXD7S64.js.br +1 -0
- package/build/runtime-hair-KEXD7S64.js.gz +0 -0
- package/build/{runtime-hueSaturation-TAUU2VZR.js → runtime-hueSaturation-G2JT6P4G.js} +1 -1
- package/build/runtime-hueSaturation-G2JT6P4G.js.br +0 -0
- package/build/runtime-hueSaturation-G2JT6P4G.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-LQZU4BQS.js → runtime-mergeStaticGeometries-RDDTTVN2.js} +1 -1
- package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.gz +0 -0
- package/build/{runtime-miscActions-MUUPFMVZ.js → runtime-miscActions-SQEVCHD6.js} +1 -1
- package/build/runtime-miscActions-SQEVCHD6.js.br +0 -0
- package/build/runtime-miscActions-SQEVCHD6.js.gz +0 -0
- package/build/{runtime-mouseHover-DZDHUY63.js → runtime-mouseHover-PVE2QUFI.js} +1 -1
- package/build/runtime-mouseHover-PVE2QUFI.js.br +0 -0
- package/build/runtime-mouseHover-PVE2QUFI.js.gz +0 -0
- package/build/{runtime-noise-WG33B6W6.js → runtime-noise-UZ5EXJW7.js} +1 -1
- package/build/runtime-noise-UZ5EXJW7.js.br +0 -0
- package/build/runtime-noise-UZ5EXJW7.js.gz +0 -0
- package/build/{runtime-particles-FNMJLGAY.js → runtime-particles-QMKT2E2M.js} +1 -1
- package/build/runtime-particles-QMKT2E2M.js.br +0 -0
- package/build/runtime-particles-QMKT2E2M.js.gz +0 -0
- package/build/{runtime-paths-A723JIAY.js → runtime-paths-G2QXI7II.js} +1 -1
- package/build/runtime-paths-G2QXI7II.js.br +0 -0
- package/build/runtime-paths-G2QXI7II.js.gz +0 -0
- package/build/{runtime-pixelation-N47BVMJD.js → runtime-pixelation-REH3LYGQ.js} +1 -1
- package/build/runtime-pixelation-REH3LYGQ.js.br +0 -0
- package/build/runtime-pixelation-REH3LYGQ.js.gz +0 -0
- package/build/{runtime-resize-DOVSOJ5D.js → runtime-resize-U6VSAW63.js} +1 -1
- package/build/runtime-resize-U6VSAW63.js.br +0 -0
- package/build/runtime-resize-U6VSAW63.js.gz +0 -0
- package/build/{runtime-sceneTransition-37LCXK5A.js → runtime-sceneTransition-IFTVI4XL.js} +1 -1
- package/build/runtime-sceneTransition-IFTVI4XL.js.br +0 -0
- package/build/runtime-sceneTransition-IFTVI4XL.js.gz +0 -0
- package/build/{runtime-scroll-7IA4BXTP.js → runtime-scroll-4TIXCG7C.js} +1 -1
- package/build/runtime-scroll-4TIXCG7C.js.br +0 -0
- package/build/runtime-scroll-4TIXCG7C.js.gz +0 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js +1 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js.br +0 -0
- package/build/runtime-shapeBlends-4HPDCYMY.js.gz +0 -0
- package/build/{runtime-text-53KI7WMP.js → runtime-text-3GGOC64X.js} +1 -1
- package/build/runtime-text-3GGOC64X.js.br +0 -0
- package/build/runtime-text-3GGOC64X.js.gz +0 -0
- package/build/{runtime-textInputs-TEM3A5UW.js → runtime-textInputs-LKHFZZIA.js} +1 -1
- package/build/runtime-textInputs-LKHFZZIA.js.br +0 -0
- package/build/runtime-textInputs-LKHFZZIA.js.gz +0 -0
- package/build/runtime-timeline-SICDYTVP.js +1 -0
- package/build/runtime-timeline-SICDYTVP.js.br +0 -0
- package/build/runtime-timeline-SICDYTVP.js.gz +0 -0
- package/build/{runtime-tracking-CQOVCOUL.js → runtime-tracking-AZFZEWAF.js} +1 -1
- package/build/runtime-tracking-AZFZEWAF.js.br +0 -0
- package/build/runtime-tracking-AZFZEWAF.js.gz +0 -0
- package/build/runtime-transitions-S6E7WME3.js +1 -0
- package/build/runtime-transitions-S6E7WME3.js.br +0 -0
- package/build/runtime-transitions-S6E7WME3.js.gz +0 -0
- package/build/{runtime-ui2d-IX6WRAJK.js → runtime-ui2d-IU6BMLCA.js} +1 -1
- package/build/runtime-ui2d-IU6BMLCA.js.br +0 -0
- package/build/runtime-ui2d-IU6BMLCA.js.gz +0 -0
- package/build/runtime-updater-QAQQJKLZ.js +1 -0
- package/build/runtime-updater-QAQQJKLZ.js.br +2 -0
- package/build/runtime-updater-QAQQJKLZ.js.gz +0 -0
- package/build/{runtime-variables-AFZY4GV6.js → runtime-variables-I5YZMLEW.js} +1 -1
- package/build/runtime-variables-I5YZMLEW.js.br +0 -0
- package/build/runtime-variables-I5YZMLEW.js.gz +0 -0
- package/build/{runtime-vectorShapes-EZ6HN5EX.js → runtime-vectorShapes-ZGLU5TLJ.js} +1 -1
- package/build/runtime-vectorShapes-ZGLU5TLJ.js.br +0 -0
- package/build/runtime-vectorShapes-ZGLU5TLJ.js.gz +0 -0
- package/build/{runtime-video-DDOVIOHX.js → runtime-video-VSGOH3JE.js} +1 -1
- package/build/runtime-video-VSGOH3JE.js.br +0 -0
- package/build/runtime-video-VSGOH3JE.js.gz +0 -0
- package/build/{runtime-vignette-T6EP3UE3.js → runtime-vignette-HK6KS66E.js} +1 -1
- package/build/runtime-vignette-HK6KS66E.js.br +0 -0
- package/build/runtime-vignette-HK6KS66E.js.gz +0 -0
- package/build/{runtime-webgpu-F4WYQNH7.js → runtime-webgpu-YDFMWVCK.js} +1 -1
- package/build/runtime-webgpu-YDFMWVCK.js.br +0 -0
- package/build/{runtime-webgpu-F4WYQNH7.js.gz → runtime-webgpu-YDFMWVCK.js.gz} +0 -0
- package/build/runtime.cjs +392 -392
- package/build/runtime.js +1 -1
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -1
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -1
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -1
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -1
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -1
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/package.json +1 -1
- package/build/runtime-aiAssistant-NNF3F5QO.js.br +0 -0
- package/build/runtime-aiAssistant-NNF3F5QO.js.gz +0 -0
- package/build/runtime-apiServices-GGJ4D4DP.js +0 -1
- package/build/runtime-apiServices-GGJ4D4DP.js.br +0 -0
- package/build/runtime-apiServices-GGJ4D4DP.js.gz +0 -0
- package/build/runtime-audio-IMCJS7SZ.js.br +0 -0
- package/build/runtime-audio-IMCJS7SZ.js.gz +0 -0
- package/build/runtime-bloom-7B3ZAMXY.js.br +0 -0
- package/build/runtime-bloom-7B3ZAMXY.js.gz +0 -0
- package/build/runtime-brightnessContrast-HQGNA5X2.js.br +0 -0
- package/build/runtime-brightnessContrast-HQGNA5X2.js.gz +0 -0
- package/build/runtime-chromaticAberration-7QQBIOCV.js.br +0 -0
- package/build/runtime-chromaticAberration-7QQBIOCV.js.gz +0 -0
- package/build/runtime-chunk-2BYRMVRD.js +0 -1
- package/build/runtime-chunk-2BYRMVRD.js.br +0 -0
- package/build/runtime-chunk-2BYRMVRD.js.gz +0 -0
- package/build/runtime-chunk-2XCYQQPK.js +0 -1
- package/build/runtime-chunk-2XCYQQPK.js.br +0 -0
- package/build/runtime-chunk-2XCYQQPK.js.gz +0 -0
- package/build/runtime-chunk-4GO5OFNC.js.br +0 -0
- package/build/runtime-chunk-4GO5OFNC.js.gz +0 -0
- package/build/runtime-chunk-4XXEJLMG.js.br +0 -0
- package/build/runtime-chunk-4XXEJLMG.js.gz +0 -0
- package/build/runtime-chunk-7CNMX337.js.br +0 -0
- package/build/runtime-chunk-7CNMX337.js.gz +0 -0
- package/build/runtime-chunk-CXA5NFNP.js.br +0 -0
- package/build/runtime-chunk-CXA5NFNP.js.gz +0 -0
- package/build/runtime-chunk-E6D7DGFO.js.br +0 -0
- package/build/runtime-chunk-E6D7DGFO.js.gz +0 -0
- package/build/runtime-chunk-E6R2EOZN.js.br +0 -0
- package/build/runtime-chunk-E6R2EOZN.js.gz +0 -0
- package/build/runtime-chunk-FKNVV4NA.js.br +0 -0
- package/build/runtime-chunk-FKNVV4NA.js.gz +0 -0
- package/build/runtime-chunk-FL4LYSMP.js +0 -1
- package/build/runtime-chunk-FL4LYSMP.js.br +0 -0
- package/build/runtime-chunk-FL4LYSMP.js.gz +0 -0
- package/build/runtime-chunk-H3ODKGZ7.js.br +0 -0
- package/build/runtime-chunk-H3ODKGZ7.js.gz +0 -0
- package/build/runtime-chunk-HGOGHH4M.js.br +0 -0
- package/build/runtime-chunk-HGOGHH4M.js.gz +0 -0
- package/build/runtime-chunk-IYKDXWML.js +0 -1
- package/build/runtime-chunk-IYKDXWML.js.br +0 -0
- package/build/runtime-chunk-IYKDXWML.js.gz +0 -0
- package/build/runtime-chunk-KADJVVUY.js.br +0 -4
- package/build/runtime-chunk-KADJVVUY.js.gz +0 -0
- package/build/runtime-chunk-KPYQWJET.js.br +0 -0
- package/build/runtime-chunk-KPYQWJET.js.gz +0 -0
- package/build/runtime-chunk-LCR6LO6Q.js.br +0 -0
- package/build/runtime-chunk-LCR6LO6Q.js.gz +0 -0
- package/build/runtime-chunk-LM62BADA.js.br +0 -0
- package/build/runtime-chunk-LM62BADA.js.gz +0 -0
- package/build/runtime-chunk-M7S2GXRN.js.br +0 -0
- package/build/runtime-chunk-M7S2GXRN.js.gz +0 -0
- package/build/runtime-chunk-MABNKREI.js.br +0 -0
- package/build/runtime-chunk-MABNKREI.js.gz +0 -0
- package/build/runtime-chunk-N53OSDKC.js.gz +0 -0
- package/build/runtime-chunk-O4OBJK5I.js.br +0 -0
- package/build/runtime-chunk-O4OBJK5I.js.gz +0 -0
- package/build/runtime-chunk-P7Y5SVAD.js.br +0 -0
- package/build/runtime-chunk-P7Y5SVAD.js.gz +0 -0
- package/build/runtime-chunk-PMJ2AYHR.js.br +0 -0
- package/build/runtime-chunk-PMJ2AYHR.js.gz +0 -0
- package/build/runtime-chunk-PY32P2MB.js.br +0 -0
- package/build/runtime-chunk-PY32P2MB.js.gz +0 -0
- package/build/runtime-chunk-RQFBMEVZ.js.gz +0 -0
- package/build/runtime-chunk-SEVXOA7Q.js.br +0 -0
- package/build/runtime-chunk-SEVXOA7Q.js.gz +0 -0
- package/build/runtime-chunk-T3SAGIHK.js.br +0 -0
- package/build/runtime-chunk-T3SAGIHK.js.gz +0 -0
- package/build/runtime-chunk-TVEOQL6G.js.br +0 -0
- package/build/runtime-chunk-TVEOQL6G.js.gz +0 -0
- package/build/runtime-chunk-VCM7LVUJ.js +0 -1
- package/build/runtime-chunk-VCM7LVUJ.js.br +0 -0
- package/build/runtime-chunk-VCM7LVUJ.js.gz +0 -0
- package/build/runtime-chunk-WKNVDX3N.js.br +0 -0
- package/build/runtime-chunk-WKNVDX3N.js.gz +0 -0
- package/build/runtime-chunk-ZJAEOKE6.js.br +0 -0
- package/build/runtime-chunk-ZJAEOKE6.js.gz +0 -0
- package/build/runtime-classicRuntime-QRJGHJF3.js.br +0 -0
- package/build/runtime-classicRuntime-QRJGHJF3.js.gz +0 -0
- package/build/runtime-cloners-3SCF7B47.js +0 -1
- package/build/runtime-cloners-3SCF7B47.js.br +0 -0
- package/build/runtime-cloners-3SCF7B47.js.gz +0 -0
- package/build/runtime-components-U6Y3CFLI.js.br +0 -0
- package/build/runtime-components-U6Y3CFLI.js.gz +0 -0
- package/build/runtime-conditional-DE4PFQQI.js.br +0 -0
- package/build/runtime-conditional-DE4PFQQI.js.gz +0 -0
- package/build/runtime-createDestroy-VKBMFQYZ.js.br +0 -0
- package/build/runtime-createDestroy-VKBMFQYZ.js.gz +0 -0
- package/build/runtime-depthOfField-VFVDL447.js.br +0 -0
- package/build/runtime-depthOfField-VFVDL447.js.gz +0 -0
- package/build/runtime-dragDrop-6BEBTD3K.js.br +0 -0
- package/build/runtime-dragDrop-6BEBTD3K.js.gz +0 -0
- package/build/runtime-gameControls-3KGKNHOQ.js.br +0 -0
- package/build/runtime-gameControls-3KGKNHOQ.js.gz +0 -0
- package/build/runtime-hair-CM56MBE5.js +0 -1
- package/build/runtime-hair-CM56MBE5.js.br +0 -3
- package/build/runtime-hair-CM56MBE5.js.gz +0 -0
- package/build/runtime-hueSaturation-TAUU2VZR.js.br +0 -0
- package/build/runtime-hueSaturation-TAUU2VZR.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-LQZU4BQS.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-LQZU4BQS.js.gz +0 -0
- package/build/runtime-miscActions-MUUPFMVZ.js.br +0 -0
- package/build/runtime-miscActions-MUUPFMVZ.js.gz +0 -0
- package/build/runtime-mouseHover-DZDHUY63.js.br +0 -0
- package/build/runtime-mouseHover-DZDHUY63.js.gz +0 -0
- package/build/runtime-noise-WG33B6W6.js.br +0 -0
- package/build/runtime-noise-WG33B6W6.js.gz +0 -0
- package/build/runtime-particles-FNMJLGAY.js.br +0 -0
- package/build/runtime-particles-FNMJLGAY.js.gz +0 -0
- package/build/runtime-paths-A723JIAY.js.br +0 -0
- package/build/runtime-paths-A723JIAY.js.gz +0 -0
- package/build/runtime-pixelation-N47BVMJD.js.br +0 -0
- package/build/runtime-pixelation-N47BVMJD.js.gz +0 -0
- package/build/runtime-resize-DOVSOJ5D.js.br +0 -0
- package/build/runtime-resize-DOVSOJ5D.js.gz +0 -0
- package/build/runtime-sceneTransition-37LCXK5A.js.br +0 -0
- package/build/runtime-sceneTransition-37LCXK5A.js.gz +0 -0
- package/build/runtime-scroll-7IA4BXTP.js.br +0 -0
- package/build/runtime-scroll-7IA4BXTP.js.gz +0 -0
- package/build/runtime-shapeBlends-TYMCN2YY.js +0 -1
- package/build/runtime-shapeBlends-TYMCN2YY.js.br +0 -0
- package/build/runtime-shapeBlends-TYMCN2YY.js.gz +0 -0
- package/build/runtime-text-53KI7WMP.js.br +0 -0
- package/build/runtime-text-53KI7WMP.js.gz +0 -0
- package/build/runtime-textInputs-TEM3A5UW.js.br +0 -0
- package/build/runtime-textInputs-TEM3A5UW.js.gz +0 -0
- package/build/runtime-timeline-NBD73ZGM.js +0 -1
- package/build/runtime-timeline-NBD73ZGM.js.br +0 -0
- package/build/runtime-timeline-NBD73ZGM.js.gz +0 -0
- package/build/runtime-tracking-CQOVCOUL.js.br +0 -0
- package/build/runtime-tracking-CQOVCOUL.js.gz +0 -0
- package/build/runtime-transitions-PKD4ONL7.js +0 -1
- package/build/runtime-transitions-PKD4ONL7.js.br +0 -0
- package/build/runtime-transitions-PKD4ONL7.js.gz +0 -0
- package/build/runtime-ui2d-IX6WRAJK.js.br +0 -0
- package/build/runtime-ui2d-IX6WRAJK.js.gz +0 -0
- package/build/runtime-updater-42LKGUWN.js +0 -1
- package/build/runtime-updater-42LKGUWN.js.br +0 -1
- package/build/runtime-updater-42LKGUWN.js.gz +0 -0
- package/build/runtime-variables-AFZY4GV6.js.br +0 -0
- package/build/runtime-variables-AFZY4GV6.js.gz +0 -0
- package/build/runtime-vectorShapes-EZ6HN5EX.js.br +0 -0
- package/build/runtime-vectorShapes-EZ6HN5EX.js.gz +0 -0
- package/build/runtime-video-DDOVIOHX.js.br +0 -0
- package/build/runtime-video-DDOVIOHX.js.gz +0 -0
- package/build/runtime-vignette-T6EP3UE3.js.br +0 -0
- package/build/runtime-vignette-T6EP3UE3.js.gz +0 -0
- package/build/runtime-webgpu-F4WYQNH7.js.br +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./runtime-chunk-
|
|
1
|
+
import{j as e}from"./runtime-chunk-OBB4M3GU.js";import{Gd as t,Hc as r,Qc as i,Ye as n,ed as a,ld as o}from"./runtime-chunk-KPOUV3HD.js";var s;(s||(s={})).is=e=>"objectHelper"in e;var l=(r,i)=>class extends(e(r)){constructor(){super(...arguments),this.objectHelper=new i(this),this.gizmos={}}get geometryHelper(){return i.geometryHelper}raycast(e,t){this.objectHelper.raycast(e,t)}showGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!0)}}updateEntityBoxSize(e,r){this.objectHelper.visible&&this.geometryHelper instanceof t?(e.setScalar(0),r.set(this.geometryHelper.parameters.width,this.geometryHelper.parameters.height,this.geometryHelper.parameters.height).multiplyScalar(.5)):super.updateEntityBoxSize(e,r)}hideGizmos(){for(let e in this.gizmos){let t=this.gizmos[e];t instanceof n&&(t.visible=!1)}}},c=e=>{var r;return(r=class extends e{}).geometryHelper=new t(30,30,30),r},p=new o,u=new a,m=new i,f=(e,t,i,n,a=!1,o=e)=>{let s=t,l=o.matrixWorld;if(null===s.boundingSphere&&s.computeBoundingSphere(),u.copy(s.boundingSphere),u.applyMatrix4(l),!1===i.ray.intersectsSphere(u)||(m.copy(l).invert(),p.copy(i.ray).applyMatrix4(m),null!==s.boundingBox&&!1===p.intersectsBox(s.boundingBox)))return;let c,f,h,d,g,y,x=s.index,b=s.attributes.position,w=s.drawRange;if(!1===a){for(g=Math.max(0,w.start),y=Math.min(x.count,w.start+w.count);g<y;g+=3)if(f=x.getX(g),h=x.getX(g+1),d=x.getX(g+2),c=B(e,i,p,b,f,h,d),c)return c.faceIndex=Math.floor(g/3),void n.push(c)}else{let t=s.attributes.position,a=new r,l=new r,c=new r,u=new r,m=2,f=1/((o.scale.x+o.scale.y+o.scale.z)/3),h=f*f;for(let r=Math.max(0,w.start),s=Math.min(t.count,w.start+w.count)-1;r<s;r+=m){if(a.fromBufferAttribute(t,r),l.fromBufferAttribute(t,r+1),p.distanceSqToSegment(a,l,u,c)>h)continue;u.applyMatrix4(o.matrixWorld);let s=i.ray.origin.distanceTo(u);s<i.near||s>i.far||n.push({distance:s,point:c.clone().applyMatrix4(o.matrixWorld),object:e})}}function B(e,t,i,n,a,o,s){let l=new r,c=new r,p=new r,u=new r,m=new r;if(l.fromBufferAttribute(n,a),c.fromBufferAttribute(n,o),p.fromBufferAttribute(n,s),null===i.intersectTriangle(l,c,p,!1,u))return null;m.copy(u),m.applyMatrix4(e.matrixWorld);let f=t.ray.origin.distanceTo(m);return f<t.near||f>t.far?null:{faceIndex:1,distance:f,point:m.clone(),object:e}}};export{c as a,f as b,s as c,l as d};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t;function e(e){t=e}function r(e){return function(t,{basePath:e,moduleUrl:r,cdnBuild:l}){if(void 0!==e)return{url:`${e}/${t}`};let n=`${l}/${t}`;if(void 0===r||r.startsWith("file:"))return{url:n};let i=r.slice(0,r.lastIndexOf("/")+1)+t;return i===n?{url:i}:{url:i,fallback:n}}(e,{basePath:t,moduleUrl:"string"==typeof import.meta.url?import.meta.url:void 0,cdnBuild:"https://cdn.spline.design/@splinetool/runtime@2.0.101/build"})}async function l(t){let{url:e,fallback:l}=r(t);try{let t=await fetch(e,{mode:"cors"});if(void 0===l||t.ok&&!t.headers.get("content-type")?.startsWith("text/html"))return t;t.body?.cancel()}catch(t){if(void 0===l)throw t}return fetch(l,{mode:"cors"})}function n(t,e){let{url:l,fallback:n}=r(e);void 0!==n&&t.addEventListener("error",()=>{t.src=n},{once:!0}),t.src=l}export{e as a,l as b,n as c};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./runtime-chunk-PY32P2MB.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-SEVXOA7Q.js";import{ia as a}from"./runtime-chunk-IYKDXWML.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-ZJAEOKE6.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 b,Hc as T,Qc as j,Tc as w,Vc as P,dd as M,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 T,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 P(15711266),n=new P(15711266),h=new P(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 M(i,3)),t.setAttribute("color",new M(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 z=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 I(e){return 1-Math.pow(1-e,3)}var B=new T,E=new T,H=new b,k=new T,R=new T,q=new T,L=class extends(o(S,z)){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 T(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new T){return this.getWorldDirection(E),this.getWorldPosition(B),E.multiplyScalar(this.targetOffset),e.copy(B).add(E),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(H),k.set(0,0,1).applyQuaternion(H),R.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&R.negate(),R.applyQuaternion(H),q.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=q.angleTo(R),this.angleOffsetFromUp*=q.cross(R).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 T),r=e.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new T;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:I(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=I(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 K=new j,Q=new j,Z=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),Z.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(N.copy(e.matrix).multiply(e.pivotMatrix),X.multiplyMatrices(Z,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){K.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,K)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,K),t.booleanMatrixInvOld.copy(K).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,K):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,K),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Q.multiplyMatrices(K,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(K).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 M([],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-7MEZ2KDU.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-YDR7MZGF.js";import{ia as a}from"./runtime-chunk-AORANPJP.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-OBB4M3GU.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-NY4SLVL4.js";import{Ce as C,Gc as b,Hc as T,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 T,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 z=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 B(e){return 1-Math.pow(1-e,3)}var I=new T,R=new T,H=new b,k=new T,E=new T,L=new T,q=class extends(o(S,z)){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 T(e,t,r)),super.lookAt(e),this.getWorldPosition(I),this.targetOffset=I.distanceTo(e)}getTarget(e=new T){return this.getWorldDirection(R),this.getWorldPosition(I),R.multiplyScalar(this.targetOffset),e.copy(I).add(R),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(I),I.distanceTo(e)}updateUp(){this.getWorldQuaternion(H),k.set(0,0,1).applyQuaternion(H),E.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&E.negate(),E.applyQuaternion(H),L.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=L.angleTo(E),this.angleOffsetFromUp*=L.cross(E).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 T),r=e.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new T;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:B(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=B(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 N=new j,Z=new j,Q=new j,K=new j,Y=new j;function J(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function X(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),Q.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),Y.multiplyMatrices(Q,K),(!n||!Y.equals(i))&&a(Y));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){N.copy(t.matrix).multiply(t.pivotMatrix);try{let e=X(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,N)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,N),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,N):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,N),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Z.multiplyMatrices(N,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(N).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,J as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
|
|
Binary file
|
|
Binary file
|