@volter/game-editor 0.5.132 → 0.5.134
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/BUNDLED_NOTICES +22 -22
- package/catalog/entries/blender.json +2 -2
- package/catalog/entries/music.json +2 -2
- package/dist/.vite/manifest.json +2206 -2206
- package/dist/assets/{AssetBudgetPanel-CYes0IEg.js → AssetBudgetPanel-DBREVH7K.js} +3 -3
- package/dist/assets/{AudioViewer-BO_jk5aG.js → AudioViewer-BfG1UANw.js} +1 -1
- package/dist/assets/{CanvasBoardDocument-Do6Tvy46.js → CanvasBoardDocument-BUO8VIFd.js} +1 -1
- package/dist/assets/{CanvasSceneViewport-BE_VvxxZ.js → CanvasSceneViewport-Cyi5VmpW.js} +1 -1
- package/dist/assets/{ColorInput-BGReDSPg.js → ColorInput-urXoYDcd.js} +1 -1
- package/dist/assets/{ColorPicker-CexGcDei.js → ColorPicker-fsO53K3F.js} +1 -1
- package/dist/assets/{EntityModelDocument-s1qggj5n.js → EntityModelDocument-CDCx-hf_.js} +1 -1
- package/dist/assets/{EnvironmentAssetDocument-BS0oJypZ.js → EnvironmentAssetDocument-BBYZhvSA.js} +1 -1
- package/dist/assets/{GameplaySessionTimeline-Bp4bmhwB.js → GameplaySessionTimeline-3YMetB-b.js} +1 -1
- package/dist/assets/{ImageViewer-DfZXdgaj.js → ImageViewer-DvXVm5yL.js} +1 -1
- package/dist/assets/InspectorObjectPreview-CZvolDbt.js +1 -0
- package/dist/assets/{JsonAssetDocument-DfRCa3pU.js → JsonAssetDocument-C9Mkxozv.js} +1 -1
- package/dist/assets/{LiveModuleDocument-B1z_Xd3V.js → LiveModuleDocument-CblUPJ_-.js} +1 -1
- package/dist/assets/{LutAssetDocument-BrndEqtp.js → LutAssetDocument-BiQlc5zQ.js} +1 -1
- package/dist/assets/{ModelAssetDocument-eRTQFv4d.js → ModelAssetDocument-BjdNPMXz.js} +1 -1
- package/dist/assets/{NonThreeAuthoringBootstrap-bD0jqhw2.js → NonThreeAuthoringBootstrap-B3TVSWs6.js} +1 -1
- package/dist/assets/{Object3DDocumentToolbar-BKzrVucz.js → Object3DDocumentToolbar-BzWMEadR.js} +1 -1
- package/dist/assets/Object3DDocumentViewport-CLewwxph.js +2 -0
- package/dist/assets/{Object3DPreview-BTXLkLUA.js → Object3DPreview-DKrmYZ2j.js} +1 -1
- package/dist/assets/{OnlineAssetDetail-B1oJAYqh.js → OnlineAssetDetail-DL4Uk-QM.js} +1 -1
- package/dist/assets/{PlayBar-bBGwzWU2.js → PlayBar-CRGQfcnV.js} +1 -1
- package/dist/assets/{QuarksAssetDocument-CAGaGs_u.js → QuarksAssetDocument-BZR-t9h6.js} +1 -1
- package/dist/assets/{ReactCanvasControls-Bo56uyZL.js → ReactCanvasControls-_hNcHTPM.js} +1 -1
- package/dist/assets/{RootSelectionOverlay-DhiFKp3P.js → RootSelectionOverlay-DbaLtdxe.js} +1 -1
- package/dist/assets/{ShaderAssetDocument-BdkND-_p.js → ShaderAssetDocument-D5ttIEe-.js} +1 -1
- package/dist/assets/{ShadowEditor-BzqvU5sU.js → ShadowEditor-DrodXLYb.js} +1 -1
- package/dist/assets/{SourceAssetViewer-DSzC_ulp.js → SourceAssetViewer-B0gaMP54.js} +1 -1
- package/dist/assets/{StageHost-GlSSCH7U.js → StageHost-CbSf3_pc.js} +2 -2
- package/dist/assets/{StoryPreviewMount-DFSxkZPA.js → StoryPreviewMount-Dd_vJhm8.js} +1 -1
- package/dist/assets/{ThreeBoardDocument-DiraB0-B.js → ThreeBoardDocument-y_Z0EIcX.js} +2 -2
- package/dist/assets/{ThreeIsolationSceneContent-HmCqiQe1.js → ThreeIsolationSceneContent--4LRLfuN.js} +1 -1
- package/dist/assets/{ToolObject3DPreview-BVter7Q5.js → ToolObject3DPreview-DESJToBG.js} +1 -1
- package/dist/assets/{Toolbar-DEUsPVtM.js → Toolbar-CdoTE42L.js} +1 -1
- package/dist/assets/{TransientHint-DIo3RQCu.js → TransientHint-KoS0JmOy.js} +1 -1
- package/dist/assets/{VideoViewer-CgnPQItf.js → VideoViewer-ClPX-MnP.js} +1 -1
- package/dist/assets/{ViewportShadingMenu-B3fHtFwv.js → ViewportShadingMenu-IEeWeBgg.js} +1 -1
- package/dist/assets/{active-ingest-De1C3GJy.js → active-ingest-D5MyeUO-.js} +2 -2
- package/dist/assets/{animation-clock-gv4lO0k0.js → animation-clock-QSEFZjOZ.js} +1 -1
- package/dist/assets/{animation-mixers.service-DO7PaXtg.js → animation-mixers.service-CIQ1NwlZ.js} +1 -1
- package/dist/assets/{animation-timeline.utility-Z6ZESpXA.js → animation-timeline.utility-DclbOIQU.js} +1 -1
- package/dist/assets/{asset-budget-asset.menu-D8sM--w8.js → asset-budget-asset.menu-B_RUb8LB.js} +1 -1
- package/dist/assets/{asset-budget.action-D_F90rjL.js → asset-budget.action-BVZkCIk9.js} +1 -1
- package/dist/assets/{asset-budget.document-rNPlXjgk.js → asset-budget.document-BxZVPKFn.js} +1 -1
- package/dist/assets/{asset-budget.menu-CJbLv5ru.js → asset-budget.menu-BNvhZjmV.js} +1 -1
- package/dist/assets/{asset-editor-persistence-MC-kjXrU.js → asset-editor-persistence-X5GOGEx5.js} +1 -1
- package/dist/assets/{asset-loaders-DlAQGaTP.js → asset-loaders-F8EI8K4Y.js} +1 -1
- package/dist/assets/{asset-preview-BgpppW0K.js → asset-preview-Cl6-TRBJ.js} +1 -1
- package/dist/assets/{audio-unlock.service-DW4L13F4.js → audio-unlock.service-CKCbQfPn.js} +1 -1
- package/dist/assets/{audio.utility-DApwFrzp.js → audio.utility-DGMFI8Wt.js} +1 -1
- package/dist/assets/autoplay.service-BEcShHAE.js +1 -0
- package/dist/assets/{babylon-authoring-adapter-CtKDtAlC.js → babylon-authoring-adapter-2siMeodm.js} +1 -1
- package/dist/assets/{binding-resolver-AJBTQdOB.js → binding-resolver-Clp4dXl1.js} +2 -2
- package/dist/assets/{blender-node-editor.document-Eki8BNrs.js → blender-node-editor.document-CQIYeO4U.js} +1 -1
- package/dist/assets/{blender-properties-tab-CLqP7Xiq.js → blender-properties-tab-DqqNZUGP.js} +1 -1
- package/dist/assets/{blender-runtime-host-C-ODv7jm.js → blender-runtime-host-Dwdi6rRu.js} +1 -1
- package/dist/assets/{blender-runtime-skin-DFyXt3vm.js → blender-runtime-skin-Bd4w1lC7.js} +38 -38
- package/dist/assets/{blender-runtime.document-BFQtCc9w.js → blender-runtime.document-DzBO4ST4.js} +1 -1
- package/dist/assets/{blender-screenshot.menu-b-oPOmD2.js → blender-screenshot.menu-CkxyIS0r.js} +1 -1
- package/dist/assets/blender-timeline.document-B1tyOGDy.js +1 -0
- package/dist/assets/{blender-uv-editor.document-BokuKH_u.js → blender-uv-editor.document-9ZvlBYHd.js} +1 -1
- package/dist/assets/{blender-version.status-DFdtM7wW.js → blender-version.status-D4M0ZmWc.js} +1 -1
- package/dist/assets/{blender.command-C5ihpwWq.js → blender.command-iGuVGF9p.js} +1 -1
- package/dist/assets/{board-guides-m20r2cVK.js → board-guides-CxSLXJuc.js} +1 -1
- package/dist/assets/{bridge.command-8mTJCY3X.js → bridge.command-B7LDeF0u.js} +3 -3
- package/dist/assets/{browserAll-u8qYn74-.js → browserAll-dZH4FGVs.js} +1 -1
- package/dist/assets/{build-player.document-GxOaxjaP.js → build-player.document-Dnu4oIqU.js} +1 -1
- package/dist/assets/{build-profiles.document-C_H_jJWM.js → build-profiles.document-CVrNm6v9.js} +1 -1
- package/dist/assets/{build-progress.status-B_KJsTAk.js → build-progress.status-P0RSr9My.js} +1 -1
- package/dist/assets/{build-session-MXmNrR4d.js → build-session-BQkdRehF.js} +1 -1
- package/dist/assets/{build.action-Cgmy3CV8.js → build.action-D-KSIYX6.js} +1 -1
- package/dist/assets/{build.command-DQ513o1i.js → build.command-DyKprFPn.js} +1 -1
- package/dist/assets/{build.header-DjZC6-Rq.js → build.header-cJKcpxbO.js} +1 -1
- package/dist/assets/{build.menu-Dzi2vwJm.js → build.menu-C0GriW-y.js} +1 -1
- package/dist/assets/{build.service-BrDqnjDv.js → build.service-czCQ8i_m.js} +1 -1
- package/dist/assets/{camera-BP8DJEuu.js → camera-B-6JYcrc.js} +1 -1
- package/dist/assets/{camera-runtime.inspector-DNkcmcra.js → camera-runtime.inspector-CUxYlsOe.js} +1 -1
- package/dist/assets/{canvas-design-mount-DjgEhthW.js → canvas-design-mount-B9fNsxCy.js} +3 -3
- package/dist/assets/{canvas-entry-runtime-DomDtmkf.js → canvas-entry-runtime-DMxmlXgn.js} +2 -2
- package/dist/assets/{canvas-preview-frames-DPB4jM38.js → canvas-preview-frames-CeSkpTOo.js} +1 -1
- package/dist/assets/{canvas-story-capture.service-CH0V5qBt.js → canvas-story-capture.service-B0v6Hgsb.js} +2 -2
- package/dist/assets/{capability-coverage-DWmGGq0E.js → capability-coverage-BnIBnsu6.js} +1 -1
- package/dist/assets/{collaboration-presence-B2ST9_HY.js → collaboration-presence-DMUWVR-Y.js} +1 -1
- package/dist/assets/{collider-CYh-GGAI.js → collider-B3R33xSA.js} +1 -1
- package/dist/assets/{component-board.service-CwkSCtj6.js → component-board.service-BOu_0moJ.js} +2 -2
- package/dist/assets/{component-board.service-ueks5d-6.js → component-board.service-BqyyULpE.js} +2 -2
- package/dist/assets/{component-board.service-XnP1glvg.js → component-board.service-N2L18UE3.js} +2 -2
- package/dist/assets/{component-contracts.service-DwaJvihV.js → component-contracts.service-SAYJL3m5.js} +1 -1
- package/dist/assets/{component-instance-root-CJXaEHPU.js → component-instance-root-Csn_jFKu.js} +1 -1
- package/dist/assets/{component-verbs.command-CZDDJuEn.js → component-verbs.command-DO3ErJvX.js} +1 -1
- package/dist/assets/{component-verbs.service-COVPMNuj.js → component-verbs.service-N2PkecVi.js} +1 -1
- package/dist/assets/{config-B8FaCuZD.js → config-BfMPkgbX.js} +2 -2
- package/dist/assets/{configurations-Cio2q_6v.js → configurations-CFU-Dhza.js} +1 -1
- package/dist/assets/{connection.status-E9LMLVGe.js → connection.status-CADD42l1.js} +1 -1
- package/dist/assets/{constraints.inspector-BmhmgeqN.js → constraints.inspector-DsPRZ_7o.js} +1 -1
- package/dist/assets/{content-bounds-BT_CFO5V.js → content-bounds-eP0tmLbj.js} +1 -1
- package/dist/assets/{contract-system-adapters-Do_W5his.js → contract-system-adapters-B6e3eEm4.js} +1 -1
- package/dist/assets/{coverage.service-BuVhBOBF.js → coverage.service-CJzGwfqz.js} +1 -1
- package/dist/assets/{create-runtime-BkCETnZY.js → create-runtime-BK5setuG.js} +1 -1
- package/dist/assets/{curve-AXU7haE_.js → curve-CTOtUBlv.js} +1 -1
- package/dist/assets/{data-asset-BDbFbHIy.js → data-asset-Cet7XPkK.js} +1 -1
- package/dist/assets/{data-ref-kf4APQd6.js → data-ref-DR-Qzemy.js} +1 -1
- package/dist/assets/{debug-bridge-CZPupYRz.js → debug-bridge-Cf3LI-DK.js} +1 -1
- package/dist/assets/{debug-registry-CKw7CeUV.js → debug-registry-BOPmuIUp.js} +1 -1
- package/dist/assets/{deferred-ingest-play-BRA_gEtr.js → deferred-ingest-play-Cf5GxuCA.js} +2 -2
- package/dist/assets/{design-time-canvas-mount-DINx6VmU.js → design-time-canvas-mount-DrZEhuLt.js} +2 -2
- package/dist/assets/{design-time-layers-B-bN4gwF.js → design-time-layers-bDxNuQrn.js} +1 -1
- package/dist/assets/{design-time-mount.service-B4hbzTgs.js → design-time-mount.service-CpKFUnyD.js} +2 -2
- package/dist/assets/{design-time-mount.service-DU6xc5bA.js → design-time-mount.service-je1c-KMA.js} +2 -2
- package/dist/assets/{design-time-react-mount-gmy2EFvn.js → design-time-react-mount-BA5iKaF-.js} +1 -1
- package/dist/assets/{document-preview-three-CJGMIghI.js → document-preview-three-gkEVqHtw.js} +1 -1
- package/dist/assets/{dom-authoring-adapter-CPdBJ2BL.js → dom-authoring-adapter-Bj2xilqO.js} +1 -1
- package/dist/assets/{draco3d-CRVpxGh6.js → draco3d-DvlGNNIt.js} +1 -1
- package/dist/assets/{edit-mode-audio.service-CH6EzqbQ.js → edit-mode-audio.service-CmfXIYXD.js} +1 -1
- package/dist/assets/{edit-mode-authoring-CBZhukjS.js → edit-mode-authoring-CL-UHzaJ.js} +1 -1
- package/dist/assets/{edit-mode-networking.service-vdRvu3xe.js → edit-mode-networking.service-Bc8In_lI.js} +1 -1
- package/dist/assets/{editor-api-DQ5ut650.js → editor-api-BYvld5jR.js} +1 -1
- package/dist/assets/{editor-layers-Rqx9b0j-.js → editor-layers-CH7HhT0X.js} +1 -1
- package/dist/assets/{editor-shell-store-D5YQF3t7.js → editor-shell-store-amyZ1RI8.js} +1 -1
- package/dist/assets/{entity-object-C73fFbZD.js → entity-object-3G5QPQLw.js} +1 -1
- package/dist/assets/{extend-Cz-Z8F-t.js → extend-DjlabNLr.js} +1 -1
- package/dist/assets/{fork-menu-DCl-svx1.js → fork-menu-B8yfLOUH.js} +1 -1
- package/dist/assets/{frame-debugger-store-Cfld9MWU.js → frame-debugger-store-BV3FLhEY.js} +1 -1
- package/dist/assets/{game-contract-seams-CibSTTBV.js → game-contract-seams-BDgW-mIt.js} +1 -1
- package/dist/assets/{game-css-scope-transform-BNwfzDMU.js → game-css-scope-transform-DhJl2A8e.js} +1 -1
- package/dist/assets/{game-document.service-CvKj8K_3.js → game-document.service-DAUO1T0i.js} +1 -1
- package/dist/assets/{game-eval.command-DI4j7fd-.js → game-eval.command-Cio3Dkxy.js} +1 -1
- package/dist/assets/{game-module-access-Cl-D-P7I.js → game-module-access-PdJNp8US.js} +1 -1
- package/dist/assets/{game-network-BvDLoUzV.js → game-network-BURPV4Ya.js} +3 -3
- package/dist/assets/{gameplay-export-DAT2x5RQ.js → gameplay-export-D5hkueX8.js} +1 -1
- package/dist/assets/{gameplay-replay-cgU3mdmQ.js → gameplay-replay-Cv7zCCW5.js} +1 -1
- package/dist/assets/{gameplay.command-Q4DLRqho.js → gameplay.command-B1TFqBle.js} +1 -1
- package/dist/assets/{generation-jobs-wxgCnKyf.js → generation-jobs-BU0DwlfA.js} +1 -1
- package/dist/assets/{generation.service-_axQFwVL.js → generation.service-BS-sYsoC.js} +1 -1
- package/dist/assets/{generations-DrC_jZAp.js → generations-CtI5Nfto.js} +1 -1
- package/dist/assets/{generations.status-W0fqd27H.js → generations.status-Bckm5TSn.js} +1 -1
- package/dist/assets/{hierarchy-marks-cLXIF47A.js → hierarchy-marks-R3bbWFw8.js} +1 -1
- package/dist/assets/{hosted-asset-materialization-DXUTouMN.js → hosted-asset-materialization-B0P9Dz4H.js} +1 -1
- package/dist/assets/{index-yicXODZy.js → index-BU18Vn_5.js} +2 -2
- package/dist/assets/{index-DZwzkDHN.js → index-BiGppEbl.js} +1 -1
- package/dist/assets/{index-B-3voSn5.js → index-CItI0GWb.js} +1 -1
- package/dist/assets/{index-DuuG5Vks.js → index-CQI0xONY.js} +1 -1
- package/dist/assets/{index-9sQHLCIf.js → index-CtcNtXoD.js} +1 -1
- package/dist/assets/{index-a0B9WdoQ.js → index-D5LetU3U.js} +1 -1
- package/dist/assets/{index-BlR8t-k_.js → index-DZsMLhE7.js} +1 -1
- package/dist/assets/{index-Dc45_dU0.js → index-DgwfPo6P.js} +1 -1
- package/dist/assets/{index-Bg3AEnyx.js → index-cFAgtv_D.js} +7 -7
- package/dist/assets/{inference-diagnostics-Dc6FeZ2p.js → inference-diagnostics-BU6iwPab.js} +1 -1
- package/dist/assets/{ingest-boot-viewport-pl7yDfgl.js → ingest-boot-viewport-0qgtwykF.js} +1 -1
- package/dist/assets/{ingest-siblings-CheNQoM8.js → ingest-siblings-DpZO2cN7.js} +1 -1
- package/dist/assets/{ingest-source-persistence-DIEj1x0V.js → ingest-source-persistence-DM1yk0WC.js} +1 -1
- package/dist/assets/{ingest.service-DwYX9OtQ.js → ingest.service-Q6KfT5gU.js} +1 -1
- package/dist/assets/{inspect-Xi6dNrJt.js → inspect-DTtq2ZaM.js} +1 -1
- package/dist/assets/instances.command--SU6F-l0.js +1 -0
- package/dist/assets/{json-history-resource-BNpWd_Y5.js → json-history-resource-Bzmw9S9j.js} +1 -1
- package/dist/assets/{layered-pick-CXJgTZ4-.js → layered-pick-DpPgGsmw.js} +1 -1
- package/dist/assets/{light-CBa0tJl3.js → light-CqdOel9A.js} +1 -1
- package/dist/assets/{live-project-verbs-Bgqy-syg.js → live-project-verbs-Dk8dl25b.js} +1 -1
- package/dist/assets/{machine.document-Bszi_-Zz.js → machine.document-CkmCGbrt.js} +1 -1
- package/dist/assets/{machines.finder-DTpgz1d9.js → machines.finder-CmTp1FpN.js} +1 -1
- package/dist/assets/{material-DtEASi8u.js → material-BeA_YaoR.js} +1 -1
- package/dist/assets/{material-factory-CSw3VfgO.js → material-factory-D8NblM4k.js} +1 -1
- package/dist/assets/{mesh-DSxqXX07.js → mesh-DcSKml6N.js} +1 -1
- package/dist/assets/{model-asset-sections.service-DtlRu_Sn.js → model-asset-sections.service-CslipfqH.js} +1 -1
- package/dist/assets/{model-inspection-Cmuasl89.js → model-inspection-BOADEfEi.js} +1 -1
- package/dist/assets/{model-thumbnail-BP2zk33X.js → model-thumbnail-CtcWoVlh.js} +1 -1
- package/dist/assets/{models.finder-Iv0OrNg9.js → models.finder-CLSmgLM0.js} +1 -1
- package/dist/assets/{module-mode-BjL1xa5d.js → module-mode-CWaM_UjF.js} +2 -2
- package/dist/assets/{mount-canvas-ingest-root-c-UQySHD.js → mount-canvas-ingest-root-h6iaPwvu.js} +2 -2
- package/dist/assets/{mount-dom-ingest-root-BIwiFQLD.js → mount-dom-ingest-root-Dv9w9jVQ.js} +2 -2
- package/dist/assets/{mount-ingest-root-DLo2qI4K.js → mount-ingest-root-BmowXjnM.js} +2 -2
- package/dist/assets/{mount-manifest-BfHZpIcc.js → mount-manifest-DT-5TZIO.js} +1 -1
- package/dist/assets/{mount-three-ingest-root-SrjAquAI.js → mount-three-ingest-root-yUA3l6cH.js} +1 -1
- package/dist/assets/{mounted-authoring-C1pAEBgT.js → mounted-authoring-8UW6roGY.js} +1 -1
- package/dist/assets/{mounted-story-viewport-source-CCBdpou-.js → mounted-story-viewport-source-TLKhxhBG.js} +1 -1
- package/dist/assets/{native-debug-module-B2QeYAr2.js → native-debug-module-DCkYCR9b.js} +1 -1
- package/dist/assets/{navigation-B5vgJHXW.js → navigation-Bwy6QgMh.js} +1 -1
- package/dist/assets/{navmesh.menu-39zXRWDE.js → navmesh.menu-D4slOhpR.js} +1 -1
- package/dist/assets/{navmesh.service-BJ78wAVA.js → navmesh.service-Bg26JytG.js} +1 -1
- package/dist/assets/network-observer.service-CeaBZoKU.js +1 -0
- package/dist/assets/{network.utility-ckqL_XZ2.js → network.utility-BDVzqEpk.js} +1 -1
- package/dist/assets/{object3d-document-session-registry-DApvRX_f.js → object3d-document-session-registry-CYplHMV_.js} +2 -2
- package/dist/assets/{oid-transform-5pjTypXJ.js → oid-transform-DuoR1Fev.js} +1 -1
- package/dist/assets/{particles-J_lZuIf_.js → particles-Bmg7sImx.js} +1 -1
- package/dist/assets/{pixi-authoring-adapter-DuVLOvgq.js → pixi-authoring-adapter-DYnS9D_i.js} +1 -1
- package/dist/assets/{pixi-live-write-target-DETS552o.js → pixi-live-write-target-D98dSXxp.js} +1 -1
- package/dist/assets/{play.command-Sd2buonL.js → play.command-DuMFJnmM.js} +2 -2
- package/dist/assets/{presentation-B3iqNAZ7.js → presentation-CtIeUSei.js} +1 -1
- package/dist/assets/{product-BbPe8FAn.js → product-DFXPvo0c.js} +1 -1
- package/dist/assets/{profiler.action-DELlxeRB.js → profiler.action-CRth9CZ2.js} +1 -1
- package/dist/assets/{profiler.menu-frKlY1Qe.js → profiler.menu-BTUS2V4D.js} +1 -1
- package/dist/assets/{profiler.utility-DV3o5CXC.js → profiler.utility-CXKvIhYY.js} +1 -1
- package/dist/assets/{project-authoring-session-xezkIvOt.js → project-authoring-session-olZausJQ.js} +2 -2
- package/dist/assets/{properties-bone-constraints.inspector-C_G2c9VM.js → properties-bone-constraints.inspector-B8eVEgQs.js} +1 -1
- package/dist/assets/{properties-bone.inspector-DYFDjAuo.js → properties-bone.inspector-DDci-SQy.js} +1 -1
- package/dist/assets/{properties-collection.inspector-Dxr9wpFF.js → properties-collection.inspector-BOZGlg1E.js} +1 -1
- package/dist/assets/{properties-constraints.inspector-DaUfUqwE.js → properties-constraints.inspector-BMDToNlw.js} +1 -1
- package/dist/assets/{properties-data.inspector-CRGFOh9i.js → properties-data.inspector-hod6HyLu.js} +1 -1
- package/dist/assets/{properties-material.inspector-C-iO9MP6.js → properties-material.inspector-D2FogLXQ.js} +1 -1
- package/dist/assets/{properties-modifiers.inspector-bN39Wx4j.js → properties-modifiers.inspector-DF4mAZtE.js} +1 -1
- package/dist/assets/{properties-object.inspector-C2b-sP3b.js → properties-object.inspector-Dipbo-p8.js} +1 -1
- package/dist/assets/{properties-output.inspector-BHJw3uNE.js → properties-output.inspector-PPp8EjRZ.js} +1 -1
- package/dist/assets/{properties-particles.inspector-DFd0Lb3j.js → properties-particles.inspector-DmlfqDdO.js} +1 -1
- package/dist/assets/{properties-physics.inspector-DfTBsjc9.js → properties-physics.inspector-BcINowSD.js} +1 -1
- package/dist/assets/{properties-render.inspector-CMFUfqtg.js → properties-render.inspector-8-mITVWA.js} +1 -1
- package/dist/assets/{properties-scene.inspector-C23LzqIe.js → properties-scene.inspector-BpvZcTZw.js} +1 -1
- package/dist/assets/{properties-texture.inspector-DSaICAQ9.js → properties-texture.inspector-BnwyIBIi.js} +1 -1
- package/dist/assets/{properties-view-layer.inspector-Bc8wIs-O.js → properties-view-layer.inspector-Dp7dKGWs.js} +1 -1
- package/dist/assets/{properties-world.inspector-Bud399V8.js → properties-world.inspector-SCxCGP-9.js} +1 -1
- package/dist/assets/{r3f-design-session-Dd9FDWS5.js → r3f-design-session-Byem_WS6.js} +2 -2
- package/dist/assets/{r3f-physics-binding-Ccv5byoU.js → r3f-physics-binding-BVU-oj2D.js} +1 -1
- package/dist/assets/{r3f-source-authoring-adapter-DuRyw91E.js → r3f-source-authoring-adapter-CSei_iBY.js} +1 -1
- package/dist/assets/{react-canvas-navigation-D2pwbCQJ.js → react-canvas-navigation-gztX6CTu.js} +1 -1
- package/dist/assets/{react-inspector.service-Bz1C4n9i.js → react-inspector.service-Cq8JEPik.js} +1 -1
- package/dist/assets/{react-story-board-CIDGN7cf.js → react-story-board-qBLyzrh-.js} +1 -1
- package/dist/assets/{react-three-rapier.esm-Cwq9RYsV.js → react-three-rapier.esm-BeiV2Wq-.js} +1 -1
- package/dist/assets/{react-world-authoring-adapter-pqd1lPx9.js → react-world-authoring-adapter-CUpkBtmp.js} +1 -1
- package/dist/assets/{realm-services-JmzH4rcP.js → realm-services-COQmdHaL.js} +1 -1
- package/dist/assets/{reflection-probe-capture.inspector-DaBZu_cH.js → reflection-probe-capture.inspector-CwNLXSyV.js} +1 -1
- package/dist/assets/{registry-BaMQDa-A.js → registry-C1p1_Rv2.js} +1 -1
- package/dist/assets/{relative-import-specifier-Duuu4gXr.js → relative-import-specifier-Cf0_BtCw.js} +1 -1
- package/dist/assets/{render-env-B5f-Bwwj.js → render-env-Bmdv9fSE.js} +1 -1
- package/dist/assets/{render-features-DwgMzBsk.js → render-features-W58SVbbT.js} +1 -1
- package/dist/assets/{render-settings-DnmD9VcB.js → render-settings-Vu9CpzBi.js} +1 -1
- package/dist/assets/{resolve-three-DaSv-3sP.js → resolve-three-HpVkP48k.js} +3 -3
- package/dist/assets/{root-seam-contract-DnEOLx--.js → root-seam-contract-BYKvnnTt.js} +1 -1
- package/dist/assets/{run-selection-DMb2aqC6.js → run-selection-CaOq6qDl.js} +1 -1
- package/dist/assets/{scene-capture-0V__UQfv.js → scene-capture-CuukhQRd.js} +1 -1
- package/dist/assets/{scene-document.service-CyE0PY1i.js → scene-document.service-D-7s2eUO.js} +2 -2
- package/dist/assets/{scene-framing-CDeK7bJW.js → scene-framing-DJll-un4.js} +1 -1
- package/dist/assets/{seeded-random-B_3qcArj.js → seeded-random-3pTBWsgC.js} +1 -1
- package/dist/assets/{setup-renderer--3oKgA1Q.js → setup-renderer-Cw8qdO25.js} +1 -1
- package/dist/assets/{source-object3d-authoring-adapter-bWA0uEKg.js → source-object3d-authoring-adapter-CiV9hr_l.js} +1 -1
- package/dist/assets/{source-persistence-backend-B2JWxYHZ.js → source-persistence-backend-BaUP8hOX.js} +1 -1
- package/dist/assets/{stage-keyboard-BbKSjl5q.js → stage-keyboard-CMvoZA6K.js} +1 -1
- package/dist/assets/{stage-overlay-set-D2KLN__e.js → stage-overlay-set-B493KEWu.js} +1 -1
- package/dist/assets/{stage-presence-markers-Dt5pQJfu.js → stage-presence-markers-Ddnu3AE3.js} +1 -1
- package/dist/assets/{stage-transform-tools-Cu8Chxtl.js → stage-transform-tools-DHGdBZ3k.js} +1 -1
- package/dist/assets/{standard-viewport-dressing-C3pgAxCf.js → standard-viewport-dressing-GnJWRGe2.js} +1 -1
- package/dist/assets/{state-watch.action-CXw1fCCG.js → state-watch.action-BpOfeBco.js} +1 -1
- package/dist/assets/{state-watch.menu-CmU6wSSp.js → state-watch.menu-04MPIYPm.js} +1 -1
- package/dist/assets/{state-watch.utility-BhbhF7z4.js → state-watch.utility-Cw3o3jfb.js} +1 -1
- package/dist/assets/{story-capture-DU6Y_dTu.js → story-capture-B3A3XH7n.js} +1 -1
- package/dist/assets/{story-documents-BndI08gH.js → story-documents-DQWzzviR.js} +1 -1
- package/dist/assets/{story-documents.service-C6A0mP3I.js → story-documents.service-BDnAswhX.js} +1 -1
- package/dist/assets/{story-documents.service-CVGxejoQ.js → story-documents.service-Dwri-cm5.js} +1 -1
- package/dist/assets/{story-media-presence-DrkuAnbx.js → story-media-presence-D6g__A85.js} +1 -1
- package/dist/assets/{story-pixi-preview-Be2B5WxF.js → story-pixi-preview-Baqdw7IG.js} +1 -1
- package/dist/assets/{story-presentation-D8Cz3yPF.js → story-presentation-CYi1FGiu.js} +1 -1
- package/dist/assets/{story-three-preview-ClNgLffM.js → story-three-preview-yfz_G-RI.js} +2 -2
- package/dist/assets/{studio-environment-Ciy6Xndv.js → studio-environment-CH7uwg4C.js} +1 -1
- package/dist/assets/{surface-state-CuV0QrwV.js → surface-state-CRaGXBZr.js} +1 -1
- package/dist/assets/{syntactic-prop-specs-EVmFV4zp.js → syntactic-prop-specs-BlvAiMxq.js} +1 -1
- package/dist/assets/{team-playtest.service-DjhPfVwM.js → team-playtest.service-D3zqXyw5.js} +1 -1
- package/dist/assets/{three-BPA0U1fq.js → three-DCkpVjka.js} +1 -1
- package/dist/assets/{three-authoring-adapter-xZrPluWJ.js → three-authoring-adapter-D-XUqED2.js} +1 -1
- package/dist/assets/three-authoring.service-CoWSgwfm.js +2 -0
- package/dist/assets/{three-ingest-runtime-DvCgdwtm.js → three-ingest-runtime-CRvw31w9.js} +1 -1
- package/dist/assets/{three-integration-gF6oAoPm.js → three-integration-C2QGqcqQ.js} +2 -2
- package/dist/assets/three-integration.service-BYDiMYEc.js +1 -0
- package/dist/assets/{three-projection-core-CpFP5QXx.js → three-projection-core-B_fHSGZn.js} +1 -1
- package/dist/assets/{three-state-BAgCuEwH.js → three-state-BA8dTl-G.js} +1 -1
- package/dist/assets/{three-story-capture.service-C1JBsYHU.js → three-story-capture.service-DwYgUcAh.js} +2 -2
- package/dist/assets/{three-story-model-DYydLycU.js → three-story-model-BN336fnz.js} +1 -1
- package/dist/assets/{three-viewport-presentation-CORJhQGc.js → three-viewport-presentation-Ys4BApui.js} +1 -1
- package/dist/assets/{transform-mode-request-HmWoFuNh.js → transform-mode-request-CbLV1mru.js} +1 -1
- package/dist/assets/{transport-strip-BpIjWpk4.js → transport-strip-BhBJrkWq.js} +1 -1
- package/dist/assets/transport.header-D_wid8TK.js +1 -0
- package/dist/assets/{tuples-DhJ9Ig0X.js → tuples-DNF52fLz.js} +1 -1
- package/dist/assets/{ui-board-document-DqdHY68P.js → ui-board-document-B5MCtj21.js} +2 -2
- package/dist/assets/{user-data-CGIelFYa.js → user-data-ZZO3OVi6.js} +1 -1
- package/dist/assets/{utility-view-state-BBI0-q8Y.js → utility-view-state-ChjloR5W.js} +1 -1
- package/dist/assets/{viewport-door-DZ3cC_Uo.js → viewport-door-BSOgAqjP.js} +1 -1
- package/dist/assets/{viewport-root-presentation-DFOvnL-9.js → viewport-root-presentation--xgH-spf.js} +1 -1
- package/dist/assets/{viewport-surface-status-Bd4eiqk2.js → viewport-surface-status-BW-G364J.js} +1 -1
- package/dist/assets/{webworkerAll-PXmnmqgc.js → webworkerAll-D8rD5X1b.js} +1 -1
- package/dist/assets/{workspace-arrangement-DpMktiaR.js → workspace-arrangement-BARx98O2.js} +1 -1
- package/dist/assets/{world-documents-CMH5LRtf.js → world-documents-D7cabN31.js} +1 -1
- package/dist/assets/{world-root-stage-binding-Cotsl1GE.js → world-root-stage-binding-BxsYda3b.js} +1 -1
- package/dist/assets/{xstate-animation-binding-alcvtuRy.js → xstate-animation-binding-CiReI46R.js} +1 -1
- package/dist/assets/{xstate-animation-meta-DmGpbxCk.js → xstate-animation-meta-CFb6s7O4.js} +1 -1
- package/dist-node/cli.js +16 -16
- package/package.json +16 -16
- package/dist/assets/InspectorObjectPreview-D-w1K_6C.js +0 -1
- package/dist/assets/Object3DDocumentViewport-S5cSTUVY.js +0 -2
- package/dist/assets/autoplay.service-Cpn0HTbq.js +0 -1
- package/dist/assets/blender-timeline.document-TjErifcH.js +0 -1
- package/dist/assets/instances.command-BulsZgip.js +0 -1
- package/dist/assets/network-observer.service-D28WOR_U.js +0 -1
- package/dist/assets/three-authoring.service-CGzi7is0.js +0 -2
- package/dist/assets/three-integration.service-CFEShqeQ.js +0 -1
- package/dist/assets/transport.header-CRn0vQt_.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as Ie}from"./extends-CF3RwP-h.js";import{r as A,a as Vn}from"./index-nmcBqr7Y.js";import{a as Jy}from"./client-DNXj_opT.js";import{U as Id,S as No,W as Zx}from"./three.module-BLhyNg0e.js";import{u as ue,a as He,I as Jx,q as _d,G as vi,s as ir,J as e4,K as Hu,e as xi,o as Wn,v as Xr,F as t4,l as ev,k as S0,L as i4}from"./events-156d8d12.esm-DmeaOP4r.js";import{fo as W,aI as bi,fd as Be,d9 as ci,d5 as Bi,az as ql,da as wr,cm as we,dp as rt,cl as Ln,ez as Vu,fp as Ei,_ as qe,aV as Pn,cj as Ze,co as ze,bu as tv,au as Ir,dw as Ti,b0 as si,ed as Ns,cE as Xt,N as Ji,M as Ai,aM as nn,ex as xn,em as hi,B as Ar,fe as Ko,K as cr,bl as n4,f1 as Hr,cW as yi,e6 as Wu,cp as ta,bX as ul,aq as Qn,a$ as $i,bV as It,db as an,cZ as Rr,ey as iv,e$ as Xl,cg as Th,bh as jo,I as Kt,aP as wh,bg as s4,fx as Fi,c1 as ni,cN as C0,Z as r4,aY as o4,b5 as nv,am as a4,ca as ia,cb as l4,aZ as ks,eX as _r,Y as Yn,eW as cn,cv as bh,cs as T0,aT as sv,F as Zm,dk as Eu,dd as Jm,eC as c4,aE as u4,ev as rv,et as h4,j as f4,f7 as d4,l as m4,fq as g4,dq as p4,cV as A4,eq as ur,a3 as Yu,aa as ov,ff as Gi,c5 as w0,dI as eg,e8 as Ms,e2 as zo,bi as fi,e0 as y4,d$ as v4,dZ as E4,dY as x4,dS as I4,dP as _4,dN as S4,dM as C4,dE as T4,av,aw as Qo,H as w4,er as b4,eo as R4,d8 as Rh,bs as b0,bt as Sd,bA as Go,fA as D4,bW as Fs,dn as L4,ag as P4,V as lv,x as M4,y as B4,cr as k4,cq as cv,dv as uv,br as xu,fb as pn,du as Ku,aO as F4,c_ as hv,cR as O4,ao as fv,dx as Iu,fj as Wr,fw as ju,a9 as dv,an as U4,el as br,T as mv,ad as R0,fs as N4,ej as gv,aC as pv,aA as Av,fm as D0,R as yv,b4 as _u,E as z4,e5 as Fl,by as ou,P as Cd,es as vv,e3 as Ev,e9 as Q4,n as G4,ch as $4,cw as xv,cx as Iv,cP as H4,dg as V4,f6 as Su,c7 as Td,cc as W4,c3 as tg,eG as Y4,cu as K4,S as j4,d as q4,ee as Dh,i as X4,bI as Lh,cU as Z4,aS as J4,aW as eI}from"./three.core-3arARmh6.js";import{v as Ol,d as _v,C as tI,u as BM}from"./Gltf-CRUmmFxv.js";import{G as VF}from"./Gltf-CRUmmFxv.js";import{m as iI,t as nI}from"./BufferGeometryUtils-FJZNEiJN.js";import{OrthographicCamera as sI}from"./OrthographicCamera-Bv8_A2mi.js";import{PerspectiveCamera as YF}from"./PerspectiveCamera-D3r6Hnc8.js";import{E as na,M as rI}from"./OrbitControls-C6LQ4Pxi.js";import{O as jF}from"./OrbitControls-C6LQ4Pxi.js";import{_ as Sv}from"./index-
|
|
1
|
+
import{_ as Ie}from"./extends-CF3RwP-h.js";import{r as A,a as Vn}from"./index-nmcBqr7Y.js";import{a as Jy}from"./client-DNXj_opT.js";import{U as Id,S as No,W as Zx}from"./three.module-BLhyNg0e.js";import{u as ue,a as He,I as Jx,q as _d,G as vi,s as ir,J as e4,K as Hu,e as xi,o as Wn,v as Xr,F as t4,l as ev,k as S0,L as i4}from"./events-156d8d12.esm-DmeaOP4r.js";import{fo as W,aI as bi,fd as Be,d9 as ci,d5 as Bi,az as ql,da as wr,cm as we,dp as rt,cl as Ln,ez as Vu,fp as Ei,_ as qe,aV as Pn,cj as Ze,co as ze,bu as tv,au as Ir,dw as Ti,b0 as si,ed as Ns,cE as Xt,N as Ji,M as Ai,aM as nn,ex as xn,em as hi,B as Ar,fe as Ko,K as cr,bl as n4,f1 as Hr,cW as yi,e6 as Wu,cp as ta,bX as ul,aq as Qn,a$ as $i,bV as It,db as an,cZ as Rr,ey as iv,e$ as Xl,cg as Th,bh as jo,I as Kt,aP as wh,bg as s4,fx as Fi,c1 as ni,cN as C0,Z as r4,aY as o4,b5 as nv,am as a4,ca as ia,cb as l4,aZ as ks,eX as _r,Y as Yn,eW as cn,cv as bh,cs as T0,aT as sv,F as Zm,dk as Eu,dd as Jm,eC as c4,aE as u4,ev as rv,et as h4,j as f4,f7 as d4,l as m4,fq as g4,dq as p4,cV as A4,eq as ur,a3 as Yu,aa as ov,ff as Gi,c5 as w0,dI as eg,e8 as Ms,e2 as zo,bi as fi,e0 as y4,d$ as v4,dZ as E4,dY as x4,dS as I4,dP as _4,dN as S4,dM as C4,dE as T4,av,aw as Qo,H as w4,er as b4,eo as R4,d8 as Rh,bs as b0,bt as Sd,bA as Go,fA as D4,bW as Fs,dn as L4,ag as P4,V as lv,x as M4,y as B4,cr as k4,cq as cv,dv as uv,br as xu,fb as pn,du as Ku,aO as F4,c_ as hv,cR as O4,ao as fv,dx as Iu,fj as Wr,fw as ju,a9 as dv,an as U4,el as br,T as mv,ad as R0,fs as N4,ej as gv,aC as pv,aA as Av,fm as D0,R as yv,b4 as _u,E as z4,e5 as Fl,by as ou,P as Cd,es as vv,e3 as Ev,e9 as Q4,n as G4,ch as $4,cw as xv,cx as Iv,cP as H4,dg as V4,f6 as Su,c7 as Td,cc as W4,c3 as tg,eG as Y4,cu as K4,S as j4,d as q4,ee as Dh,i as X4,bI as Lh,cU as Z4,aS as J4,aW as eI}from"./three.core-3arARmh6.js";import{v as Ol,d as _v,C as tI,u as BM}from"./Gltf-CRUmmFxv.js";import{G as VF}from"./Gltf-CRUmmFxv.js";import{m as iI,t as nI}from"./BufferGeometryUtils-FJZNEiJN.js";import{OrthographicCamera as sI}from"./OrthographicCamera-Bv8_A2mi.js";import{PerspectiveCamera as YF}from"./PerspectiveCamera-D3r6Hnc8.js";import{E as na,M as rI}from"./OrbitControls-C6LQ4Pxi.js";import{O as jF}from"./OrbitControls-C6LQ4Pxi.js";import{_ as Sv}from"./index-cFAgtv_D.js";import{g as oI}from"./_commonjsHelpers-D6-XlEtG.js";import{u as ds}from"./Fbo-Biv6Lrhl.js";import{F as XF}from"./Fbo-Biv6Lrhl.js";import{RoundedBox as JF,RoundedBoxGeometry as eO}from"./RoundedBox-DrJK5JOI.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-DzuOGwVB.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";const Ul=new W,L0=new W,aI=new W,ig=new Be;function lI(r,e,t){const i=Ul.setFromMatrixPosition(r.matrixWorld);i.project(e);const n=t.width/2,s=t.height/2;return[i.x*n+n,-(i.y*s)+s]}function cI(r,e){const t=Ul.setFromMatrixPosition(r.matrixWorld),i=L0.setFromMatrixPosition(e.matrixWorld),n=t.sub(i),s=e.getWorldDirection(aI);return n.angleTo(s)>Math.PI/2}function uI(r,e,t,i){const n=Ul.setFromMatrixPosition(r.matrixWorld),s=n.clone();s.project(e),ig.set(s.x,s.y),t.setFromCamera(ig,e);const o=t.intersectObjects(i,!0);if(o.length){const a=o[0].distance;return n.distanceTo(t.ray.origin)<a}return!0}function hI(r,e){if(e instanceof Bi)return e.zoom;if(e instanceof ci){const t=Ul.setFromMatrixPosition(r.matrixWorld),i=L0.setFromMatrixPosition(e.matrixWorld),n=e.fov*Math.PI/180,s=t.distanceTo(i);return 1/(2*Math.tan(n/2)*s)}else return 1}function fI(r,e,t){if(e instanceof ci||e instanceof Bi){const i=Ul.setFromMatrixPosition(r.matrixWorld),n=L0.setFromMatrixPosition(e.matrixWorld),s=i.distanceTo(n),o=(t[1]-t[0])/(e.far-e.near),a=t[1]-o*e.far;return Math.round(o*s+a)}}const wd=r=>Math.abs(r)<1e-10?0:r;function Cv(r,e,t=""){let i="matrix3d(";for(let n=0;n!==16;n++)i+=wd(e[n]*r.elements[n])+(n!==15?",":")");return t+i}const dI=(r=>e=>Cv(e,r))([1,-1,1,1,1,-1,1,1,1,-1,1,1,1,-1,1,1]),mI=(r=>(e,t)=>Cv(e,r(t),"translate(-50%,-50%)"))(r=>[1/r,1/r,1/r,1,-1/r,-1/r,-1/r,-1,1/r,1/r,1/r,1,1,1,1,1]);function gI(r){return r&&typeof r=="object"&&"current"in r}const qu=A.forwardRef(({children:r,eps:e=.001,style:t,className:i,prepend:n,center:s,fullscreen:o,portal:a,distanceFactor:l,sprite:c=!1,transform:u=!1,occlude:h,onOcclude:f,castShadow:d,receiveShadow:g,material:m,geometry:p,zIndexRange:E=[16777271,0],calculatePosition:v=lI,as:y="div",wrapperClass:x,pointerEvents:I="auto",..._},S)=>{const{gl:C,camera:w,scene:T,size:D,raycaster:b,events:R,viewport:P}=ue(),[O]=A.useState(()=>document.createElement(y)),Q=A.useRef(null),V=A.useRef(null),K=A.useRef(0),k=A.useRef([0,0]),G=A.useRef(null),M=A.useRef(null),H=a?.current||R.connected||C.domElement.parentNode,Y=A.useRef(null),N=A.useRef(!1),z=A.useMemo(()=>h&&h!=="blending"||Array.isArray(h)&&h.length&&gI(h[0]),[h]);A.useLayoutEffect(()=>{const ee=C.domElement;h&&h==="blending"?(ee.style.zIndex=`${Math.floor(E[0]/2)}`,ee.style.position="absolute",ee.style.pointerEvents="none"):(ee.style.zIndex=null,ee.style.position=null,ee.style.pointerEvents=null)},[h]),A.useLayoutEffect(()=>{if(V.current){const ee=Q.current=Jy.createRoot(O);if(T.updateMatrixWorld(),u)O.style.cssText="position:absolute;top:0;left:0;pointer-events:none;overflow:hidden;";else{const Z=v(V.current,w,D);O.style.cssText=`position:absolute;top:0;left:0;transform:translate3d(${Z[0]}px,${Z[1]}px,0);transform-origin:0 0;`}return H&&(n?H.prepend(O):H.appendChild(O)),()=>{H&&H.removeChild(O),ee.unmount()}}},[H,u]),A.useLayoutEffect(()=>{x&&(O.className=x)},[x]);const B=A.useMemo(()=>u?{position:"absolute",top:0,left:0,width:D.width,height:D.height,transformStyle:"preserve-3d",pointerEvents:"none"}:{position:"absolute",transform:s?"translate3d(-50%,-50%,0)":"none",...o&&{top:-D.height/2,left:-D.width/2,width:D.width,height:D.height},...t},[t,s,o,D,u]),F=A.useMemo(()=>({position:"absolute",pointerEvents:I}),[I]);A.useLayoutEffect(()=>{if(N.current=!1,u){var ee;(ee=Q.current)==null||ee.render(A.createElement("div",{ref:G,style:B},A.createElement("div",{ref:M,style:F},A.createElement("div",{ref:S,className:i,style:t,children:r}))))}else{var Z;(Z=Q.current)==null||Z.render(A.createElement("div",{ref:S,style:B,className:i,children:r}))}});const U=A.useRef(!0);He(ee=>{if(V.current){w.updateMatrixWorld(),V.current.updateWorldMatrix(!0,!1);const Z=u?k.current:v(V.current,w,D);if(u||Math.abs(K.current-w.zoom)>e||Math.abs(k.current[0]-Z[0])>e||Math.abs(k.current[1]-Z[1])>e){const ne=cI(V.current,w);let ce=!1;z&&(Array.isArray(h)?ce=h.map(le=>le.current):h!=="blending"&&(ce=[T]));const me=U.current;if(ce){const le=uI(V.current,w,b,ce);U.current=le&&!ne}else U.current=!ne;me!==U.current&&(f?f(!U.current):O.style.display=U.current?"block":"none");const re=Math.floor(E[0]/2),te=h?z?[E[0],re]:[re-1,0]:E;if(O.style.zIndex=`${fI(V.current,w,te)}`,u){const[le,se]=[D.width/2,D.height/2],X=w.projectionMatrix.elements[5]*se,{isOrthographicCamera:j,top:oe,left:pe,bottom:_e,right:Ce}=w,ye=dI(w.matrixWorldInverse),Ne=j?`scale(${X})translate(${wd(-(Ce+pe)/2)}px,${wd((oe+_e)/2)}px)`:`translateZ(${X}px)`;let Te=V.current.matrixWorld;c&&(Te=w.matrixWorldInverse.clone().transpose().copyPosition(Te).scale(V.current.scale),Te.elements[3]=Te.elements[7]=Te.elements[11]=0,Te.elements[15]=1),O.style.width=D.width+"px",O.style.height=D.height+"px",O.style.perspective=j?"":`${X}px`,G.current&&M.current&&(G.current.style.transform=`${Ne}${ye}translate(${le}px,${se}px)`,M.current.style.transform=mI(Te,1/((l||10)/400)))}else{const le=l===void 0?1:hI(V.current,w)*l;O.style.transform=`translate3d(${Z[0]}px,${Z[1]}px,0) scale(${le})`}k.current=Z,K.current=w.zoom}}if(!z&&Y.current&&!N.current)if(u){if(G.current){const Z=G.current.children[0];if(Z!=null&&Z.clientWidth&&Z!=null&&Z.clientHeight){const{isOrthographicCamera:ne}=w;if(ne||p)_.scale&&(Array.isArray(_.scale)?_.scale instanceof W?Y.current.scale.copy(_.scale.clone().divideScalar(1)):Y.current.scale.set(1/_.scale[0],1/_.scale[1],1/_.scale[2]):Y.current.scale.setScalar(1/_.scale));else{const ce=(l||10)/400,me=Z.clientWidth*ce,re=Z.clientHeight*ce;Y.current.scale.set(me,re,1)}N.current=!0}}}else{const Z=O.children[0];if(Z!=null&&Z.clientWidth&&Z!=null&&Z.clientHeight){const ne=1/P.factor,ce=Z.clientWidth*ne,me=Z.clientHeight*ne;Y.current.scale.set(ce,me,1),N.current=!0}Y.current.lookAt(ee.camera.position)}});const J=A.useMemo(()=>({vertexShader:u?void 0:`
|
|
2
2
|
/*
|
|
3
3
|
This shader is from the THREE's SpriteMaterial.
|
|
4
4
|
We need to turn the backing plane into a Sprite
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bA as nt,aN as st,al as ot,e4 as E,dV as U,a6 as at,e6 as rt,e5 as it}from"./index-Bg3AEnyx.js";import{hp as wt,hq as Rt,hr as Nt,aS as _t,dX as Ct,hs as Ft,ht as Ot,hu as kt,hv as Lt,hw as jt,hx as Bt,hy as Gt,eJ as Pt,hz as Ht,e_ as $t,hA as zt,hB as Wt,hC as Vt,hD as Kt,hE as Jt,dz as Ut,hF as qt,bQ as Yt,a7 as Qt,eq as Xt,bP as Zt,h1 as te,hG as ee,hH as ne,bv as se,hI as oe,hJ as ae,hK as re,eY as ie,fe as ce,hL as ue,ff as le,hM as de,d9 as pe,hN as fe,aM as he,df as me,hO as xe,hP as Ee,hQ as ge,dg as Se,f1 as Te,fz as be,bB as De,bC as Me,fN as ye,hR as Ae,hS as Ie,aT as ve,hT as we,hU as Re,aU as Ne,bH as _e,hV as Ce,db as Fe,de as Oe,eB as ke,hW as Le,hX as je,aL as Be,e$ as Ge,hY as Pe,hZ as He,gK as $e,h_ as ze,bw as We,h$ as Ve,i0 as Ke,es as Je,i1 as Ue,i2 as qe,i3 as Ye,i4 as Qe,i5 as Xe,eo as Ze,ep as tn,i6 as en,i7 as nn,i8 as sn,i9 as on,ev as an,ia as rn,ib as cn,ic as un,id as ln,ie as dn,a8 as pn,ig as fn,ih as hn,ii as mn,ij as xn,ik as En,il as gn,ew as Sn,im as Tn,io as bn,et as Dn,ip as Mn,iq as yn,ir as An,dA as In,is as vn,it as wn,iu as Rn,iv as Nn,iw as _n,ix as Cn,iy as Fn,eW as On,iz as kn,iA as Ln,iB as jn,iC as Bn,iD as Gn,iE as Pn,ex as Hn,iF as $n,iG as zn,iH as Wn,f0 as Vn,iI as Kn,iJ as Jn,iK as Un,iL as qn,dq as Yn,er as Qn,iM as Xn,iN as Zn,iO as ts,eu as es,iP as ns,aZ as ss,dW as os,iQ as as,iR as rs,iS as is,dp as cs}from"./index-Bg3AEnyx.js";import{C as ls}from"./ColorInput-BGReDSPg.js";import{a as p}from"./jsx-runtime-DPjLkJKQ.js";import{r as b}from"./index-nmcBqr7Y.js";import{A as ps,k as fs,B as hs,a as ms,D as xs,l as Es,F as gs,h as Ss,G as Ts,m as bs,Q as Ds,S as Ms,f as ys,n as As,T as Is,d as vs,c as ws,g as Rs,i as Ns,j as _s,b as Cs,p as Fs,e as Os,u as ks,o as Ls}from"./ShadowEditor-BzqvU5sU.js";import{a as Bs,C as Gs,h as Ps,p as Hs,t as $s}from"./ColorPicker-CexGcDei.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";function Dt({preview:t,children:e,...r}){const[o,a]=b.useState(!1),l=b.useRef(null),c=b.useId(),s=()=>a(!1),d=i=>{l.current=i,a(!0)};let m=e;if(b.isValidElement(e)){const i=[e.props["aria-describedby"],o?c:null].filter(Boolean).join(" ");m=b.cloneElement(e,i?{"aria-describedby":i}:{})}return p.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:i=>d(i.currentTarget),onMouseLeave:s,onFocusCapture:i=>d(i.currentTarget),onBlurCapture:i=>{i.currentTarget.contains(i.relatedTarget)||s()},onKeyDown:i=>{i.key!=="Escape"||!o||(i.preventDefault(),i.stopPropagation(),s())},children:[m,o&&l.current&&p.jsx(nt,{...r,anchorRef:l,id:c,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:t})]})}function Mt({value:t,onCommit:e,style:r,disabled:o=!1}){const a=t===void 0?"":JSON.stringify(t),[l,c]=b.useState(a),[s,d]=b.useState(!1),m=b.useRef(!1);b.useEffect(()=>{c(a),d(!1)},[a]);const i=()=>{if(m.current){m.current=!1;return}if(l===a){d(!1);return}let h;try{h=JSON.parse(l)}catch{d(!0);return}d(!1),e(h)};return p.jsxs("div",{children:[p.jsx(st,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:o,value:l,onChange:h=>{c(h.target.value),s&&d(!1)},onBlur:i,onKeyDown:h=>{h.key==="Enter"?i():h.key==="Escape"&&(m.current=!0,c(a),d(!1),h.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&p.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ot.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function v(t,e){return e+1<t.length?t[e+1].start:1}function ct(t){const e=t.map(o=>({time:o.start,value:o.function.p0})),r=t[t.length-1];return r&&e.push({time:1,value:r.function.p3}),e}function G(t){return t.map(e=>({start:e.start,function:{...e.function}}))}const B=.01;function C(t,e,r,o){const a=G(t),l=a.length;if(e<0||e>l)return a;if(e<l){const c=a[e],s=o-c.function.p0;if(c.function.p0=o,c.function.p1+=s,e>0){const d=a[e-1],m=o-d.function.p3;d.function.p3=o,d.function.p2+=m;const i=d.start+B,h=v(a,e)-B;c.start=Math.min(h,Math.max(i,r))}}else{const c=a[l-1],s=o-c.function.p3;c.function.p3=o,c.function.p2+=s}return a}function q(t,e,r,o){const a=G(t);return r==="out"&&e<a.length?a[e].function.p1=o:r==="in"&&e>0&&e<=a.length&&(a[e-1].function.p2=o),a}function M(t,e,r){return t+(e-t)*r}function yt(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e>=o&&e<=a){const l=a>o?(e-o)/(a-o):0,{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l);return M(A,I,l)}}return 0}function ut(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e<=o+B||e>=a-B||e<o||e>a)continue;const l=(e-o)/(a-o),{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l),D=M(A,I,l),S=G(t);return S.splice(r,1,{start:o,function:{p0:c,p1:i,p2:A,p3:D}},{start:e,function:{p0:D,p1:I,p2:g,p3:m}}),S}return t}function Y(t,e){if(e<=0||e>=t.length)return t;const r=t[e-1],o=t[e],a=o.start-r.start,l=v(t,e)-o.start,c=a+l;if(c<=0)return t;const s=r.function,d=o.function,m={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(a>0?c/a:1),p2:d.p3+(d.p2-d.p3)*(l>0?c/l:1),p3:d.p3}},i=G(t);return i.splice(e-1,2,m),i}function lt(t){let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of t)for(const a of[o.function.p0,o.function.p1,o.function.p2,o.function.p3])a<e&&(e=a),a>r&&(r=a);return!Number.isFinite(e)||!Number.isFinite(r)?{min:0,max:1}:{min:e,max:r}}const F=34,Q=6,V=6,dt=14,j=260;function pt(t){return Math.abs(t)>=100?t.toFixed(0):Math.abs(t)>=1?String(Math.round(t*100)/100):String(Math.round(t*1e3)/1e3)}function At({value:t,onChange:e,onChangeEnd:r,disabled:o,height:a=90,color:l,testId:c="curve-editor"}){const[s,d]=b.useState(0),m=b.useRef(null),i=b.useRef(null),h=b.useMemo(()=>ct(t),[t]),g=b.useMemo(()=>{const{min:n,max:u}=lt(t);if(u-n<1e-6)return{min:n-1,max:u+1};const f=(u-n)*.1;return{min:n-f,max:u+f}},[t]),A=j-F-Q,I=a-V-dt,D=n=>F+n*A,S=n=>V+(1-(n-g.min)/(g.max-g.min))*I,X=n=>Math.max(0,Math.min(1,(n-F)/A)),Z=n=>g.min+(1-(n-V)/I)*(g.max-g.min),P=n=>{const u=m.current?.getBoundingClientRect();if(!u)return{t:0,v:0};const f=(n.clientX-u.left)/u.width*j,T=(n.clientY-u.top)/u.height*a;return{t:X(f),v:Z(T)}},tt=b.useMemo(()=>{if(t.length===0)return"";let n=`M ${D(t[0].start)} ${S(t[0].function.p0)}`;for(let u=0;u<t.length;u++){const f=t[u],T=v(t,u),y=T-f.start;n+=` C ${D(f.start+y/3)} ${S(f.function.p1)}, ${D(f.start+2*y/3)} ${S(f.function.p2)}, ${D(T)} ${S(f.function.p3)}`}return n},[t,g,a]),w=n=>rt({onChange:e,onChangeEnd:r},n),H=n=>it({onChange:e},n),$=(n,u)=>{if(o)return;n.preventDefault(),n.stopPropagation(),i.current=t;const f=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=L,H(L)},T=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=null,w(L),window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",T)};window.addEventListener("pointermove",f),window.addEventListener("pointerup",T)},K=l??E.accent,J=t.length,x=h[s],z=s>0&&s<J,O=s<J?t[s]:void 0,k=s>0?t[s-1]:void 0,R=O?{x:D(O.start+(v(t,s)-O.start)/3),y:S(O.function.p1)}:null,N=k?{x:D(k.start+(v(t,s-1)-k.start)*2/3),y:S(k.function.p2)}:null,et=[g.min,(g.min+g.max)/2,g.max];return p.jsxs("div",{"data-testid":c,children:[p.jsxs("svg",{ref:m,"data-testid":`${c}-plot`,viewBox:`0 0 ${j} ${a}`,style:{width:"100%",height:a,display:"block",background:E.inputBg,border:`1px solid ${E.border}`,borderRadius:E.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:n=>{(n.key==="Delete"||n.key==="Backspace")&&z&&!o&&(n.preventDefault(),w(Y(t,s)),d(Math.max(0,s-1)))},onDoubleClick:n=>{if(o)return;const{t:u}=P(n),f=ut(t,u);f!==t&&(w(f),d(f.findIndex(T=>Math.abs(T.start-u)<1e-6)))},children:[et.map(n=>p.jsxs("g",{children:[p.jsx("line",{x1:F,x2:j-Q,y1:S(n),y2:S(n),stroke:E.border,strokeWidth:.5}),p.jsx("text",{x:F-3,y:S(n)+2.5,fontSize:7,fill:E.textMuted,textAnchor:"end",children:pt(n)})]},n)),[0,.5,1].map(n=>p.jsx("text",{x:D(n),y:a-3,fontSize:7,fill:E.textMuted,textAnchor:"middle",children:n},n)),p.jsx("path",{d:tt,fill:"none",stroke:K,strokeWidth:1.5}),x&&R&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:R.x,y2:R.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-out`,cx:R.x,cy:R.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"out",T))})]}),x&&N&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:N.x,y2:N.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-in`,cx:N.x,cy:N.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"in",T))})]}),h.map((n,u)=>p.jsx("circle",{"data-testid":`${c}-key-${u}`,cx:D(n.time),cy:S(n.value),r:4,fill:u===s?E.accent:E.surface,stroke:u===s?E.onAccent:K,strokeWidth:1.25,style:{cursor:o?"not-allowed":"move"},onPointerDown:f=>{d(u),$(f,(T,y,_)=>C(T,u,y,_))}},u))]}),p.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[p.jsxs("span",{style:{fontSize:9,color:E.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",h.length]}),p.jsx(U,{label:"t",value:x?Math.round(x.time*1e3)/1e3:null,step:.05,testId:`${c}-key-time`,onChange:n=>{x&&H(C(t,s,n,x.value))},onChangeEnd:n=>{x&&w(C(t,s,n,x.value))}}),p.jsx(U,{label:"v",value:x?Math.round(x.value*1e3)/1e3:null,step:.05,testId:`${c}-key-value`,onChange:n=>{x&&H(C(t,s,x.time,n))},onChangeEnd:n=>{x&&w(C(t,s,x.time,n))}}),p.jsx(at,{type:"button",variant:"ghost",size:"compact","data-testid":`${c}-delete-key`,disabled:!z||o===!0,"aria-label":"Delete curve key",title:z?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{w(Y(t,s)),d(Math.max(0,s-1))},children:"×"})]})]})}export{wt as Actions,ps as AlignmentGrid,fs as AnchorPresets,nt as AnchoredMenu,Rt as AssetSlotPicker,hs as BorderEditor,ms as BorderRadiusEditor,at as Button,Nt as CLASSIC_MATERIAL,_t as Checkbox,ls as ColorInput,Bs as ColorPicker,Gs as ColorSwatch,Ct as ColorSwatchInput,At as CurveEditor,Ft as DEFAULT_ICON_SET_ID,xs as DEFAULT_SHADOW,Es as DEFAULT_TEXT_SHADOW,Ot as Dialog,kt as DialogBody,Lt as DialogField,jt as DialogFieldLabel,Bt as DialogFooter,Gt as DialogHeader,Pt as DisclosureIcon,Ht as Divider,$t as DraftTextInput,zt as DropIndicator,Wt as EDITOR_CATEGORY_NAMES,Vt as EDITOR_MATERIALS,Kt as EDITOR_MATERIAL_IDS,Jt as EDITOR_REGION_NAMES,Ut as EDITOR_THEME_CLASS,qt as EditorBadge,Yt as EditorBanner,Qt as EditorIcon,Xt as EditorListButton,Zt as EditorPopover,te as EditorSurface,ee as EditorTab,ne as EditorTabList,se as EditorToolbar,oe as EditorTree,ae as EditorTreeRow,re as FONT,ie as FONT_MONO,ce as FieldGroup,ue as FieldLabel,le as FieldRow,de as FileInput,gs as FilterEditor,pe as FloatingToolbar,Ss as FontPicker,fe as GLASS_MATERIAL,Ts as GradientEditor,bs as GradientStopsTrack,Dt as HoverPreview,he as IconButton,me as Inline,xe as InteractiveEditScopeContext,Ee as JoinedField,ge as JoinedFieldSuffix,Mt as JsonInput,Se as Keycap,Te as LABEL_COL_WIDTH,be as Menu,De as MenuItem,Me as MenuSeparator,ye as MenuSubmenu,Ae as MenuTrigger,U as NumberInput,Ie as Panel,Ds as QuarksGradientEditor,ve as RangeInput,we as ResizeHandle,Re as STAGE_WORD_MODES,Ms as ScrubbableInput,Ne as SectionHeader,_e as Select,ys as ShadowEditor,As as ShadowListEditor,Ce as Spacer,Fe as SplitButtonGroup,Oe as Stack,ke as StateSurface,E as THEME,Le as TONE_ERROR,je as TONE_WARNING,Be as Text,Ge as TextArea,st as TextInput,Is as TextShadowEditor,Pe as ThemeRootPortal,He as ToggleButton,$e as ToolbarDivider,ze as ToolbarGroup,We as Tooltip,Ve as TreeDisclosureIcon,Ke as Vec3Input,Je as accent,Ue as accentMuted,qe as activeIconGlyph,Ye as activeIconSetSnapshot,Qe as applyEditorTheme,Xe as areaEmbossValue,Ze as bg,tn as border,en as chromeSize,nn as clampRectToViewport,sn as composeEditorAppearance,vs as composeFilter,ws as composeGradient,Rs as composeShadows,on as controlSize,ct as curveKeys,lt as curveValueRange,an as danger,rn as dangerFaint,cn as dangerMuted,Y as deleteKey,un as dynamic,ln as dynamicBg,dn as editorIconSets,pn as editorIcons,fn as editorMaterials,hn as editorThemeVariables,mn as editorThemes,xn as fieldLabelStyle,it as fireChange,rt as fireEnd,En as focusFirstMenuItem,gn as focusRing,Sn as fontMono,Tn as fontSans,bn as fontSize,Dn as fontSizeVar,Mn as fontWeight,yn as glassDarkEditorTheme,An as glassDarkLiteEditorTheme,In as graphiteDarkEditorTheme,vn as graphiteNeutralEditorTheme,wn as groupLabelStyle,Ps as hexToRgb,Rn as iconSize,Nn as isEditorIconSetId,_n as isEditorMaterialId,Cn as isEditorThemeId,Ns as isUniformBorder,_s as isUniformRadius,Fn as lineHeight,On as lineHeightVar,kn as liquidGlassEditorTheme,Ln as liquidGlassLiteEditorTheme,jn as midnightHighContrastEditorTheme,Bn as motion,Gn as motionVar,C as moveKey,q as moveTangent,Hs as parseAlpha,Cs as parseFilterFunctions,Fs as parseGradient,Pn as parseNumericValue,Os as parseShadows,Hn as radius,$n as regionRowAltValue,zn as registerContributedIconSet,Wn as registerContributedMaterial,Vn as rowStyle,yt as sampleCurve,Kn as scrim,v as segmentEnd,Jn as selection,Un as setActiveIconSet,qn as shadow,Yn as space,Qn as spaceVar,ut as splitAt,Xn as strokeWidth,Zn as subscribeEditorMaterials,ts as subscribeIconSets,es as success,ns as successMuted,ss as text,ot as themeVars,$s as toHex,ks as uniformBorder,Ls as uniformRadius,os as useInteractiveEditScope,as as usesGlassMaterial,rs as warn,is as warnMuted,cs as zIndex};
|
|
1
|
+
import{bA as nt,aN as st,al as ot,e4 as E,dV as U,a6 as at,e6 as rt,e5 as it}from"./index-cFAgtv_D.js";import{hp as wt,hq as Rt,hr as Nt,aS as _t,dX as Ct,hs as Ft,ht as Ot,hu as kt,hv as Lt,hw as jt,hx as Bt,hy as Gt,eJ as Pt,hz as Ht,e_ as $t,hA as zt,hB as Wt,hC as Vt,hD as Kt,hE as Jt,dz as Ut,hF as qt,bQ as Yt,a7 as Qt,eq as Xt,bP as Zt,h1 as te,hG as ee,hH as ne,bv as se,hI as oe,hJ as ae,hK as re,eY as ie,fe as ce,hL as ue,ff as le,hM as de,d9 as pe,hN as fe,aM as he,df as me,hO as xe,hP as Ee,hQ as ge,dg as Se,f1 as Te,fz as be,bB as De,bC as Me,fN as ye,hR as Ae,hS as Ie,aT as ve,hT as we,hU as Re,aU as Ne,bH as _e,hV as Ce,db as Fe,de as Oe,eB as ke,hW as Le,hX as je,aL as Be,e$ as Ge,hY as Pe,hZ as He,gK as $e,h_ as ze,bw as We,h$ as Ve,i0 as Ke,es as Je,i1 as Ue,i2 as qe,i3 as Ye,i4 as Qe,i5 as Xe,eo as Ze,ep as tn,i6 as en,i7 as nn,i8 as sn,i9 as on,ev as an,ia as rn,ib as cn,ic as un,id as ln,ie as dn,a8 as pn,ig as fn,ih as hn,ii as mn,ij as xn,ik as En,il as gn,ew as Sn,im as Tn,io as bn,et as Dn,ip as Mn,iq as yn,ir as An,dA as In,is as vn,it as wn,iu as Rn,iv as Nn,iw as _n,ix as Cn,iy as Fn,eW as On,iz as kn,iA as Ln,iB as jn,iC as Bn,iD as Gn,iE as Pn,ex as Hn,iF as $n,iG as zn,iH as Wn,f0 as Vn,iI as Kn,iJ as Jn,iK as Un,iL as qn,dq as Yn,er as Qn,iM as Xn,iN as Zn,iO as ts,eu as es,iP as ns,aZ as ss,dW as os,iQ as as,iR as rs,iS as is,dp as cs}from"./index-cFAgtv_D.js";import{C as ls}from"./ColorInput-urXoYDcd.js";import{a as p}from"./jsx-runtime-DPjLkJKQ.js";import{r as b}from"./index-nmcBqr7Y.js";import{A as ps,k as fs,B as hs,a as ms,D as xs,l as Es,F as gs,h as Ss,G as Ts,m as bs,Q as Ds,S as Ms,f as ys,n as As,T as Is,d as vs,c as ws,g as Rs,i as Ns,j as _s,b as Cs,p as Fs,e as Os,u as ks,o as Ls}from"./ShadowEditor-DrodXLYb.js";import{a as Bs,C as Gs,h as Ps,p as Hs,t as $s}from"./ColorPicker-fsO53K3F.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";function Dt({preview:t,children:e,...r}){const[o,a]=b.useState(!1),l=b.useRef(null),c=b.useId(),s=()=>a(!1),d=i=>{l.current=i,a(!0)};let m=e;if(b.isValidElement(e)){const i=[e.props["aria-describedby"],o?c:null].filter(Boolean).join(" ");m=b.cloneElement(e,i?{"aria-describedby":i}:{})}return p.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:i=>d(i.currentTarget),onMouseLeave:s,onFocusCapture:i=>d(i.currentTarget),onBlurCapture:i=>{i.currentTarget.contains(i.relatedTarget)||s()},onKeyDown:i=>{i.key!=="Escape"||!o||(i.preventDefault(),i.stopPropagation(),s())},children:[m,o&&l.current&&p.jsx(nt,{...r,anchorRef:l,id:c,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:t})]})}function Mt({value:t,onCommit:e,style:r,disabled:o=!1}){const a=t===void 0?"":JSON.stringify(t),[l,c]=b.useState(a),[s,d]=b.useState(!1),m=b.useRef(!1);b.useEffect(()=>{c(a),d(!1)},[a]);const i=()=>{if(m.current){m.current=!1;return}if(l===a){d(!1);return}let h;try{h=JSON.parse(l)}catch{d(!0);return}d(!1),e(h)};return p.jsxs("div",{children:[p.jsx(st,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:o,value:l,onChange:h=>{c(h.target.value),s&&d(!1)},onBlur:i,onKeyDown:h=>{h.key==="Enter"?i():h.key==="Escape"&&(m.current=!0,c(a),d(!1),h.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&p.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ot.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function v(t,e){return e+1<t.length?t[e+1].start:1}function ct(t){const e=t.map(o=>({time:o.start,value:o.function.p0})),r=t[t.length-1];return r&&e.push({time:1,value:r.function.p3}),e}function G(t){return t.map(e=>({start:e.start,function:{...e.function}}))}const B=.01;function C(t,e,r,o){const a=G(t),l=a.length;if(e<0||e>l)return a;if(e<l){const c=a[e],s=o-c.function.p0;if(c.function.p0=o,c.function.p1+=s,e>0){const d=a[e-1],m=o-d.function.p3;d.function.p3=o,d.function.p2+=m;const i=d.start+B,h=v(a,e)-B;c.start=Math.min(h,Math.max(i,r))}}else{const c=a[l-1],s=o-c.function.p3;c.function.p3=o,c.function.p2+=s}return a}function q(t,e,r,o){const a=G(t);return r==="out"&&e<a.length?a[e].function.p1=o:r==="in"&&e>0&&e<=a.length&&(a[e-1].function.p2=o),a}function M(t,e,r){return t+(e-t)*r}function yt(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e>=o&&e<=a){const l=a>o?(e-o)/(a-o):0,{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l);return M(A,I,l)}}return 0}function ut(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e<=o+B||e>=a-B||e<o||e>a)continue;const l=(e-o)/(a-o),{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l),D=M(A,I,l),S=G(t);return S.splice(r,1,{start:o,function:{p0:c,p1:i,p2:A,p3:D}},{start:e,function:{p0:D,p1:I,p2:g,p3:m}}),S}return t}function Y(t,e){if(e<=0||e>=t.length)return t;const r=t[e-1],o=t[e],a=o.start-r.start,l=v(t,e)-o.start,c=a+l;if(c<=0)return t;const s=r.function,d=o.function,m={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(a>0?c/a:1),p2:d.p3+(d.p2-d.p3)*(l>0?c/l:1),p3:d.p3}},i=G(t);return i.splice(e-1,2,m),i}function lt(t){let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of t)for(const a of[o.function.p0,o.function.p1,o.function.p2,o.function.p3])a<e&&(e=a),a>r&&(r=a);return!Number.isFinite(e)||!Number.isFinite(r)?{min:0,max:1}:{min:e,max:r}}const F=34,Q=6,V=6,dt=14,j=260;function pt(t){return Math.abs(t)>=100?t.toFixed(0):Math.abs(t)>=1?String(Math.round(t*100)/100):String(Math.round(t*1e3)/1e3)}function At({value:t,onChange:e,onChangeEnd:r,disabled:o,height:a=90,color:l,testId:c="curve-editor"}){const[s,d]=b.useState(0),m=b.useRef(null),i=b.useRef(null),h=b.useMemo(()=>ct(t),[t]),g=b.useMemo(()=>{const{min:n,max:u}=lt(t);if(u-n<1e-6)return{min:n-1,max:u+1};const f=(u-n)*.1;return{min:n-f,max:u+f}},[t]),A=j-F-Q,I=a-V-dt,D=n=>F+n*A,S=n=>V+(1-(n-g.min)/(g.max-g.min))*I,X=n=>Math.max(0,Math.min(1,(n-F)/A)),Z=n=>g.min+(1-(n-V)/I)*(g.max-g.min),P=n=>{const u=m.current?.getBoundingClientRect();if(!u)return{t:0,v:0};const f=(n.clientX-u.left)/u.width*j,T=(n.clientY-u.top)/u.height*a;return{t:X(f),v:Z(T)}},tt=b.useMemo(()=>{if(t.length===0)return"";let n=`M ${D(t[0].start)} ${S(t[0].function.p0)}`;for(let u=0;u<t.length;u++){const f=t[u],T=v(t,u),y=T-f.start;n+=` C ${D(f.start+y/3)} ${S(f.function.p1)}, ${D(f.start+2*y/3)} ${S(f.function.p2)}, ${D(T)} ${S(f.function.p3)}`}return n},[t,g,a]),w=n=>rt({onChange:e,onChangeEnd:r},n),H=n=>it({onChange:e},n),$=(n,u)=>{if(o)return;n.preventDefault(),n.stopPropagation(),i.current=t;const f=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=L,H(L)},T=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=null,w(L),window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",T)};window.addEventListener("pointermove",f),window.addEventListener("pointerup",T)},K=l??E.accent,J=t.length,x=h[s],z=s>0&&s<J,O=s<J?t[s]:void 0,k=s>0?t[s-1]:void 0,R=O?{x:D(O.start+(v(t,s)-O.start)/3),y:S(O.function.p1)}:null,N=k?{x:D(k.start+(v(t,s-1)-k.start)*2/3),y:S(k.function.p2)}:null,et=[g.min,(g.min+g.max)/2,g.max];return p.jsxs("div",{"data-testid":c,children:[p.jsxs("svg",{ref:m,"data-testid":`${c}-plot`,viewBox:`0 0 ${j} ${a}`,style:{width:"100%",height:a,display:"block",background:E.inputBg,border:`1px solid ${E.border}`,borderRadius:E.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:n=>{(n.key==="Delete"||n.key==="Backspace")&&z&&!o&&(n.preventDefault(),w(Y(t,s)),d(Math.max(0,s-1)))},onDoubleClick:n=>{if(o)return;const{t:u}=P(n),f=ut(t,u);f!==t&&(w(f),d(f.findIndex(T=>Math.abs(T.start-u)<1e-6)))},children:[et.map(n=>p.jsxs("g",{children:[p.jsx("line",{x1:F,x2:j-Q,y1:S(n),y2:S(n),stroke:E.border,strokeWidth:.5}),p.jsx("text",{x:F-3,y:S(n)+2.5,fontSize:7,fill:E.textMuted,textAnchor:"end",children:pt(n)})]},n)),[0,.5,1].map(n=>p.jsx("text",{x:D(n),y:a-3,fontSize:7,fill:E.textMuted,textAnchor:"middle",children:n},n)),p.jsx("path",{d:tt,fill:"none",stroke:K,strokeWidth:1.5}),x&&R&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:R.x,y2:R.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-out`,cx:R.x,cy:R.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"out",T))})]}),x&&N&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:N.x,y2:N.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-in`,cx:N.x,cy:N.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"in",T))})]}),h.map((n,u)=>p.jsx("circle",{"data-testid":`${c}-key-${u}`,cx:D(n.time),cy:S(n.value),r:4,fill:u===s?E.accent:E.surface,stroke:u===s?E.onAccent:K,strokeWidth:1.25,style:{cursor:o?"not-allowed":"move"},onPointerDown:f=>{d(u),$(f,(T,y,_)=>C(T,u,y,_))}},u))]}),p.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[p.jsxs("span",{style:{fontSize:9,color:E.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",h.length]}),p.jsx(U,{label:"t",value:x?Math.round(x.time*1e3)/1e3:null,step:.05,testId:`${c}-key-time`,onChange:n=>{x&&H(C(t,s,n,x.value))},onChangeEnd:n=>{x&&w(C(t,s,n,x.value))}}),p.jsx(U,{label:"v",value:x?Math.round(x.value*1e3)/1e3:null,step:.05,testId:`${c}-key-value`,onChange:n=>{x&&H(C(t,s,x.time,n))},onChangeEnd:n=>{x&&w(C(t,s,x.time,n))}}),p.jsx(at,{type:"button",variant:"ghost",size:"compact","data-testid":`${c}-delete-key`,disabled:!z||o===!0,"aria-label":"Delete curve key",title:z?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{w(Y(t,s)),d(Math.max(0,s-1))},children:"×"})]})]})}export{wt as Actions,ps as AlignmentGrid,fs as AnchorPresets,nt as AnchoredMenu,Rt as AssetSlotPicker,hs as BorderEditor,ms as BorderRadiusEditor,at as Button,Nt as CLASSIC_MATERIAL,_t as Checkbox,ls as ColorInput,Bs as ColorPicker,Gs as ColorSwatch,Ct as ColorSwatchInput,At as CurveEditor,Ft as DEFAULT_ICON_SET_ID,xs as DEFAULT_SHADOW,Es as DEFAULT_TEXT_SHADOW,Ot as Dialog,kt as DialogBody,Lt as DialogField,jt as DialogFieldLabel,Bt as DialogFooter,Gt as DialogHeader,Pt as DisclosureIcon,Ht as Divider,$t as DraftTextInput,zt as DropIndicator,Wt as EDITOR_CATEGORY_NAMES,Vt as EDITOR_MATERIALS,Kt as EDITOR_MATERIAL_IDS,Jt as EDITOR_REGION_NAMES,Ut as EDITOR_THEME_CLASS,qt as EditorBadge,Yt as EditorBanner,Qt as EditorIcon,Xt as EditorListButton,Zt as EditorPopover,te as EditorSurface,ee as EditorTab,ne as EditorTabList,se as EditorToolbar,oe as EditorTree,ae as EditorTreeRow,re as FONT,ie as FONT_MONO,ce as FieldGroup,ue as FieldLabel,le as FieldRow,de as FileInput,gs as FilterEditor,pe as FloatingToolbar,Ss as FontPicker,fe as GLASS_MATERIAL,Ts as GradientEditor,bs as GradientStopsTrack,Dt as HoverPreview,he as IconButton,me as Inline,xe as InteractiveEditScopeContext,Ee as JoinedField,ge as JoinedFieldSuffix,Mt as JsonInput,Se as Keycap,Te as LABEL_COL_WIDTH,be as Menu,De as MenuItem,Me as MenuSeparator,ye as MenuSubmenu,Ae as MenuTrigger,U as NumberInput,Ie as Panel,Ds as QuarksGradientEditor,ve as RangeInput,we as ResizeHandle,Re as STAGE_WORD_MODES,Ms as ScrubbableInput,Ne as SectionHeader,_e as Select,ys as ShadowEditor,As as ShadowListEditor,Ce as Spacer,Fe as SplitButtonGroup,Oe as Stack,ke as StateSurface,E as THEME,Le as TONE_ERROR,je as TONE_WARNING,Be as Text,Ge as TextArea,st as TextInput,Is as TextShadowEditor,Pe as ThemeRootPortal,He as ToggleButton,$e as ToolbarDivider,ze as ToolbarGroup,We as Tooltip,Ve as TreeDisclosureIcon,Ke as Vec3Input,Je as accent,Ue as accentMuted,qe as activeIconGlyph,Ye as activeIconSetSnapshot,Qe as applyEditorTheme,Xe as areaEmbossValue,Ze as bg,tn as border,en as chromeSize,nn as clampRectToViewport,sn as composeEditorAppearance,vs as composeFilter,ws as composeGradient,Rs as composeShadows,on as controlSize,ct as curveKeys,lt as curveValueRange,an as danger,rn as dangerFaint,cn as dangerMuted,Y as deleteKey,un as dynamic,ln as dynamicBg,dn as editorIconSets,pn as editorIcons,fn as editorMaterials,hn as editorThemeVariables,mn as editorThemes,xn as fieldLabelStyle,it as fireChange,rt as fireEnd,En as focusFirstMenuItem,gn as focusRing,Sn as fontMono,Tn as fontSans,bn as fontSize,Dn as fontSizeVar,Mn as fontWeight,yn as glassDarkEditorTheme,An as glassDarkLiteEditorTheme,In as graphiteDarkEditorTheme,vn as graphiteNeutralEditorTheme,wn as groupLabelStyle,Ps as hexToRgb,Rn as iconSize,Nn as isEditorIconSetId,_n as isEditorMaterialId,Cn as isEditorThemeId,Ns as isUniformBorder,_s as isUniformRadius,Fn as lineHeight,On as lineHeightVar,kn as liquidGlassEditorTheme,Ln as liquidGlassLiteEditorTheme,jn as midnightHighContrastEditorTheme,Bn as motion,Gn as motionVar,C as moveKey,q as moveTangent,Hs as parseAlpha,Cs as parseFilterFunctions,Fs as parseGradient,Pn as parseNumericValue,Os as parseShadows,Hn as radius,$n as regionRowAltValue,zn as registerContributedIconSet,Wn as registerContributedMaterial,Vn as rowStyle,yt as sampleCurve,Kn as scrim,v as segmentEnd,Jn as selection,Un as setActiveIconSet,qn as shadow,Yn as space,Qn as spaceVar,ut as splitAt,Xn as strokeWidth,Zn as subscribeEditorMaterials,ts as subscribeIconSets,es as success,ns as successMuted,ss as text,ot as themeVars,$s as toHex,ks as uniformBorder,Ls as uniformRadius,os as useInteractiveEditScope,as as usesGlassMaterial,rs as warn,is as warnMuted,cs as zIndex};
|