@volter/game-editor 0.5.65
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 +11228 -0
- package/LICENSE +686 -0
- package/LICENSE-BLENDER +1409 -0
- package/LICENSE-MCP +21 -0
- package/NOTICE +21 -0
- package/catalog/entries/audio.json +14 -0
- package/catalog/entries/bake.json +36 -0
- package/catalog/entries/blender.json +17 -0
- package/catalog/entries/react-root.json +24 -0
- package/catalog/entries/reflections.json +29 -0
- package/catalog/entries/static-batch.json +25 -0
- package/catalog/project-source/LICENSE +37 -0
- package/catalog/project-source/src/contributions/bake.kind.ts +40 -0
- package/catalog/project-source/src/contributions/builder-document.tsx +65 -0
- package/catalog/project-source/src/contributions/builder-state.ts +27 -0
- package/catalog/project-source/src/contributions/builder-ui.tsx +61 -0
- package/catalog/project-source/src/contributions/module-source.ts +502 -0
- package/catalog/project-source/src/contributions/pages.finder.ts +61 -0
- package/catalog/project-source/src/lib/audio/sfx.ts +255 -0
- package/catalog/project-source/src/lib/bake/asset-seed.ts +128 -0
- package/catalog/project-source/src/lib/bake/bake-schema.ts +65 -0
- package/catalog/project-source/src/lib/bake/clip-layering.ts +203 -0
- package/catalog/project-source/src/lib/bake/gltf-bake.ts +657 -0
- package/catalog/project-source/src/lib/bake/mesh-slice.ts +157 -0
- package/catalog/project-source/src/lib/bake/node-image.ts +463 -0
- package/catalog/project-source/src/lib/bake/object3d-bake.ts +121 -0
- package/catalog/project-source/src/lib/bake/object3d-lifecycle.ts +15 -0
- package/catalog/project-source/src/lib/bake/object3d-source.ts +8 -0
- package/catalog/project-source/src/lib/bake/params.ts +75 -0
- package/catalog/project-source/src/lib/bake/rest-relative-animation.ts +217 -0
- package/catalog/project-source/src/lib/bake/use-model.ts +95 -0
- package/catalog/project-source/src/lib/react-root/index.ts +20 -0
- package/catalog/project-source/src/lib/react-root/react-root-adapter.tsx +57 -0
- package/catalog/project-source/src/lib/reflections/ReflectionProbe.tsx +201 -0
- package/catalog/project-source/src/lib/reflections/index.ts +19 -0
- package/catalog/project-source/src/lib/reflections/probe-controller.ts +75 -0
- package/catalog/project-source/src/lib/reflections/reflection-probe-registry.ts +402 -0
- package/catalog/project-source/src/lib/reflections/volume-reflection-material.ts +416 -0
- package/catalog/project-source/src/lib/static-batch/Frozen.tsx +91 -0
- package/catalog/project-source/src/lib/static-batch/freeze.ts +579 -0
- package/catalog/project-source/src/lib/static-batch/index.ts +44 -0
- package/catalog/project-source/src/lib/static-batch/mutation-watch.ts +149 -0
- package/catalog/project-source/src/lib/static-batch/shadow-cache.ts +171 -0
- package/catalog/project-source/src/tools/bake-module.tool.ts +139 -0
- package/catalog/project-source/src/tools/bake-preview.tool.ts +475 -0
- package/dist/.vite/manifest.json +8304 -0
- package/dist/assets/AssetBudgetPanel-J9--TZPU.js +23 -0
- package/dist/assets/AudioViewer-CR7333fe.js +1 -0
- package/dist/assets/BVHLoader-6bQIXhMX.js +1 -0
- package/dist/assets/BufferGeometryUtils-Nz37EVXf.js +1 -0
- package/dist/assets/CCDIKSolver-CD7vLpsK.js +1 -0
- package/dist/assets/CSS3DRenderer-CL7ABLVK.js +1 -0
- package/dist/assets/CanvasSceneViewport-Bpi6gVTC.js +1 -0
- package/dist/assets/ColladaLoader-aVOPIsCh.js +3 -0
- package/dist/assets/ColorInput-DQBNrW-K.js +1 -0
- package/dist/assets/ConvexGeometry-CAzXlPVG.js +1 -0
- package/dist/assets/ConvexHull-BINCESFp.js +1 -0
- package/dist/assets/CopyShader-BzTUYzf6.js +24 -0
- package/dist/assets/DecalGeometry-160KRdfg.js +1 -0
- package/dist/assets/EXRLoader-Cdans_oJ.js +1 -0
- package/dist/assets/EffectComposer-DQxfsXBZ.js +1 -0
- package/dist/assets/EntityModelDocument-Ccvw66N9.js +1 -0
- package/dist/assets/EnvironmentAssetDocument-Dg-Qq6O6.js +1 -0
- package/dist/assets/FBXLoader-B4MoUtAn.js +1 -0
- package/dist/assets/Fbo-Dz-Soul3.js +1 -0
- package/dist/assets/FontLoader-CvGoVI5a.js +2 -0
- package/dist/assets/GLTFExporter-HgrCle4L.js +1 -0
- package/dist/assets/GameplaySessionTimeline-B52W3FVZ.js +1 -0
- package/dist/assets/Gltf-UHVWKz65.js +2 -0
- package/dist/assets/HDRLoader-THU88oVD.js +5 -0
- package/dist/assets/ImageViewer-Tn7s_MnW.js +1 -0
- package/dist/assets/InspectorCanvasPreview-CEr_Kxna.js +1 -0
- package/dist/assets/InspectorObjectPreview-CVejvLRg.js +1 -0
- package/dist/assets/JsonAssetDocument-C7VGcLhu.js +3 -0
- package/dist/assets/LineSegments2-CsOpKSiM.js +370 -0
- package/dist/assets/MTLLoader-_Xzd4_0p.js +2 -0
- package/dist/assets/MarchingCubes-Bsp4wrzd.js +1 -0
- package/dist/assets/MeshBVH-BiDHDcu-.js +1 -0
- package/dist/assets/ModelAssetDocument-F5GACirk.js +1 -0
- package/dist/assets/NonThreeAuthoringBootstrap-C3woOMxX.js +1 -0
- package/dist/assets/OBJLoader-BhIC6Hwo.js +5 -0
- package/dist/assets/Object3DDocumentViewport-DB7T0NTl.js +2 -0
- package/dist/assets/Object3DPreview-DL8oi7Xs.js +2 -0
- package/dist/assets/OnlineAssetDetail-C6z9RvYK.js +2 -0
- package/dist/assets/OrbitControls-CM3bPray.js +1 -0
- package/dist/assets/OrbitControls-DLpayAaK.js +1 -0
- package/dist/assets/OrthographicCamera-bQozawrh.js +1 -0
- package/dist/assets/PLYLoader-DYQqs5Ik.js +2 -0
- package/dist/assets/PerspectiveCamera-CQ2lh01o.js +1 -0
- package/dist/assets/PlayBar-BR-Vg3Jb.js +2 -0
- package/dist/assets/RGBELoader-BgBcQv8j.js +1 -0
- package/dist/assets/RectAreaLightUniformsLib-CMMoWfll.js +1 -0
- package/dist/assets/RenderPass-DPrn-Uky.js +1 -0
- package/dist/assets/ResolutionPicker-C67vs1F3.js +1 -0
- package/dist/assets/RootSelectionOverlay-BZPlxmXU.js +1 -0
- package/dist/assets/RoundedBox-BDGBg6QZ.js +1 -0
- package/dist/assets/RoundedBoxGeometry-CyUuYPfW.js +1 -0
- package/dist/assets/STLLoader-Dyv3lsxY.js +1 -0
- package/dist/assets/SelectionBox-D_75KrNW.js +1 -0
- package/dist/assets/ShaderPass-QYRpPuFJ.js +1 -0
- package/dist/assets/ShadowEditor-DkImwu1Y.js +1 -0
- package/dist/assets/SimplifyModifier-C8ayvRzd.js +1 -0
- package/dist/assets/SkeletonUtils-Cps8GOC6.js +1 -0
- package/dist/assets/Sky-CQKCgYDs.js +154 -0
- package/dist/assets/SourceAssetViewer-2SWQoUut.js +12 -0
- package/dist/assets/StageHost-BN-IoTef.js +2 -0
- package/dist/assets/StoryPreviewMount-DjyxRCXu.js +1 -0
- package/dist/assets/TDSLoader-D_T8XJ81.js +1 -0
- package/dist/assets/TextGeometry-DOWAEUV0.js +1 -0
- package/dist/assets/ThreeBoardDocument-CVncZyIq.js +2 -0
- package/dist/assets/ThreeIsolationSceneContent-C8C8whSF.js +1 -0
- package/dist/assets/ToolObject3DPreview-BRoDWe4Q.js +1 -0
- package/dist/assets/TrackballControls-DfznuQTh.js +1 -0
- package/dist/assets/TransientHint-BB1fwrvK.js +1 -0
- package/dist/assets/UnrealBloomPass-CR-cS_K5.js +83 -0
- package/dist/assets/VideoViewer-C6kocgIU.js +1 -0
- package/dist/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/dist/assets/active-ingest-CT6jSGhr.js +3 -0
- package/dist/assets/adapter-surface-Y37Nzcyw.js +1 -0
- package/dist/assets/after-paint-CB4bz1-e.js +1 -0
- package/dist/assets/agx-base-srgb-BjWZJgrZ.lut +0 -0
- package/dist/assets/agx-look-medium-high-contrast-D5F_ob1L.lut +0 -0
- package/dist/assets/agx-look-punchy-dxsnycNs.lut +0 -0
- package/dist/assets/animation-clock-CnjZqfJp.js +1 -0
- package/dist/assets/asset-budget-asset.menu-Di3KiQCd.js +1 -0
- package/dist/assets/asset-budget.action-DCzzcuTh.js +1 -0
- package/dist/assets/asset-budget.document-BWU8wnVW.js +1 -0
- package/dist/assets/asset-budget.menu-BGZpT_31.js +1 -0
- package/dist/assets/asset-editor-persistence-BBaONOJt.js +1 -0
- package/dist/assets/asset-loaders-BOy5Ss8k.js +2 -0
- package/dist/assets/asset-parse-error-BHMwBRU3.js +3 -0
- package/dist/assets/assets-BuSoGjBX.js +1 -0
- package/dist/assets/audio-meter-CyiToeUW.js +1 -0
- package/dist/assets/audio-unlock.service-CfUgUQVy.js +1 -0
- package/dist/assets/audio.utility-C6K6jem8.js +1 -0
- package/dist/assets/authoring-CgcOFhGS.js +1 -0
- package/dist/assets/autoplay.service-BZBGNSvt.js +1 -0
- package/dist/assets/axe-LkjAB6Lv.js +30 -0
- package/dist/assets/babylon-authoring-adapter-CL02gWDn.js +1 -0
- package/dist/assets/binding-Bmxqznjk.js +1 -0
- package/dist/assets/binding-identity-DcTpbvyg.js +1 -0
- package/dist/assets/binding-resolver-Dsh-6Vor.js +2 -0
- package/dist/assets/blender-emscripten-engine-9ZIRYNhe.js +2 -0
- package/dist/assets/blender-node-editor.document-iIDkB9sI.js +1 -0
- package/dist/assets/blender-properties-tab-C5CyPydi.js +3 -0
- package/dist/assets/blender-runtime-host-BpBwGv7r.js +4 -0
- package/dist/assets/blender-runtime-skin-DyQ9B6CR.js +7140 -0
- package/dist/assets/blender-runtime.document-lIYhhPtv.js +8 -0
- package/dist/assets/blender-timeline.document-77fx96N7.js +1 -0
- package/dist/assets/blender-uv-editor.document-fsT7B4gV.js +1 -0
- package/dist/assets/blender-version.status-o6dBm3n6.js +1 -0
- package/dist/assets/blender-wali-engine-wTOcrOMC.js +2 -0
- package/dist/assets/blender.command-BtJeWk-A.js +1 -0
- package/dist/assets/blender.keymap-GAQgeklK.js +1 -0
- package/dist/assets/blender.status-ujwGU6dU.js +1 -0
- package/dist/assets/blender.style-Dcem5f_T.js +1 -0
- package/dist/assets/board-guides-DziKSTss.js +1 -0
- package/dist/assets/body-marks-h_xDxiDE.js +1 -0
- package/dist/assets/bridge.command-o5gDNEwa.js +3 -0
- package/dist/assets/browserAll-DeWblVez.js +1 -0
- package/dist/assets/build-profiles.document-kW8iw8Xj.js +2 -0
- package/dist/assets/build-progress.status-BNRLytg2.js +1 -0
- package/dist/assets/build-session-C_sg3CEn.js +9 -0
- package/dist/assets/build.action-lYjTLb7K.js +1 -0
- package/dist/assets/build.command-DIGgUPU_.js +1 -0
- package/dist/assets/build.header-CKajx5U3.js +1 -0
- package/dist/assets/build.menu-BdU0QXny.js +1 -0
- package/dist/assets/build.service-CbBAyeu3.js +1 -0
- package/dist/assets/bus-mixer-CGfWDP3C.js +1 -0
- package/dist/assets/camera-KEsKvOL7.js +1 -0
- package/dist/assets/camera-runtime.inspector-B7unX4g1.js +1 -0
- package/dist/assets/canvas-entry-runtime-SfBxaR9M.js +2 -0
- package/dist/assets/capability-coverage-Czas4C18.js +7 -0
- package/dist/assets/chrome-trace-YZHMz60-.js +1 -0
- package/dist/assets/client-DNXj_opT.js +25 -0
- package/dist/assets/clip-planes-CnAI6DZn.js +1 -0
- package/dist/assets/collaboration-presence-DLoZ7EA3.js +1 -0
- package/dist/assets/collider-Bw0mXlsW.js +1 -0
- package/dist/assets/collider-dimensions-9xoFADXN.js +1 -0
- package/dist/assets/collision-system-DpNUJRJ3.js +1 -0
- package/dist/assets/command-results-CUQD49AB.js +1 -0
- package/dist/assets/component-board-registry-DrIa2csL.js +1 -0
- package/dist/assets/component-board.service-DCwcUssB.js +2 -0
- package/dist/assets/component-board.service-DidCyM4O.js +2 -0
- package/dist/assets/component-verbs.command-7xzfjGMZ.js +1 -0
- package/dist/assets/component-verbs.service-Bv9jId3q.js +1 -0
- package/dist/assets/config-CEZk921y.js +6 -0
- package/dist/assets/configurations-DTBMdaTL.js +1 -0
- package/dist/assets/connection.status-BifnQdOs.js +1 -0
- package/dist/assets/console-bridge-CHcb-xk5.js +1 -0
- package/dist/assets/constraint-De8f1Uiq.js +1 -0
- package/dist/assets/constraints.inspector-B9U9Yj-u.js +1 -0
- package/dist/assets/countdown-timer-CUm74dom.js +1 -0
- package/dist/assets/coverage.service-VTX5Mcsx.js +3 -0
- package/dist/assets/crash-null-boundary-v3a0uEgw.js +1 -0
- package/dist/assets/create-runtime-CVCc1BDx.js +1 -0
- package/dist/assets/curve-7Q79VgU4.js +1 -0
- package/dist/assets/data-asset-4hjS642k.js +5 -0
- package/dist/assets/data-check-core-CQEjuFyt.js +1 -0
- package/dist/assets/data-ref-CQI28C0D.js +1 -0
- package/dist/assets/debug-bridge-CCohG-d-.js +1 -0
- package/dist/assets/debug-registry-Dgvitx8M.js +1 -0
- package/dist/assets/defaults-DKiBJCPN.js +1 -0
- package/dist/assets/deferred-commands-CEMmvL47.js +1 -0
- package/dist/assets/deferred-ingest-play-DCJi_Pgu.js +2 -0
- package/dist/assets/design-time-layers-wYgOTgni.js +1 -0
- package/dist/assets/design-time-mount-registry-DUpXCg1U.js +1 -0
- package/dist/assets/design-time-mount.service-BzY21e1F.js +2 -0
- package/dist/assets/design-time-react-mount-DM9WLrF2.js +1 -0
- package/dist/assets/dev-build-gDYrq68M.js +1 -0
- package/dist/assets/directional-shadow-fit-BVkOKAv2.js +1 -0
- package/dist/assets/document-preview-three-Kbg2GCLm.js +1 -0
- package/dist/assets/dom-authoring-adapter-CY8C7f4T.js +1 -0
- package/dist/assets/draco3d-BBUTcNkz.js +1 -0
- package/dist/assets/draco_decoder-DsQ12WqX.wasm +0 -0
- package/dist/assets/draco_encoder-2Tcju8Ns.wasm +0 -0
- package/dist/assets/edit-mode-audio.service-Bzetwd5B.js +1 -0
- package/dist/assets/edit-mode-authoring-B47TfLqu.js +1 -0
- package/dist/assets/edit-mode-networking.service-YCX6RRb_.js +1 -0
- package/dist/assets/editor-api-BoJIcyZG.js +1 -0
- package/dist/assets/editor-port-C_FeBdeV.js +1 -0
- package/dist/assets/editor-presentation-activity-C7SNSmTd.js +1 -0
- package/dist/assets/entry-adjudication-Cq8Yeb74.js +1 -0
- package/dist/assets/environment-capture-7himRh2L.js +1 -0
- package/dist/assets/esbuild-BHljloGq.wasm +0 -0
- package/dist/assets/events-156d8d12.esm-ErOhDXXB.js +36 -0
- package/dist/assets/extend-B-eOccUm.js +36 -0
- package/dist/assets/extends-CF3RwP-h.js +1 -0
- package/dist/assets/eyedropper-session-bjPXnfeX.js +1 -0
- package/dist/assets/fflate.module-DPuTF8aG.js +6 -0
- package/dist/assets/filmic-srgb-Ct35FIH6.lut +0 -0
- package/dist/assets/first-party-audio-system-DxnGJOER.js +1 -0
- package/dist/assets/first-party-navigation-system-CL5Bquub.js +1 -0
- package/dist/assets/fork-menu-BoVyw2Wu.js +1 -0
- package/dist/assets/frame-debugger-store-D1Mf_5up.js +1 -0
- package/dist/assets/frame-delta-D2nsw_Ht.js +1 -0
- package/dist/assets/frame-pacing-D5acoOzO.js +1 -0
- package/dist/assets/frame-selector-cache-cCeUbcjG.js +1 -0
- package/dist/assets/game-DHOZVb-7.js +1 -0
- package/dist/assets/game-contract-seams-a5YXejOu.js +1 -0
- package/dist/assets/game-css-scope-transform-Eng4wS8E.js +33 -0
- package/dist/assets/game-document.service-DbRfx2V0.js +1 -0
- package/dist/assets/game-eval.command-D-7Dxbj_.js +2 -0
- package/dist/assets/game-input-seams-CIQdetRw.js +1 -0
- package/dist/assets/game-loop-CZvXlY00.js +1 -0
- package/dist/assets/game-module-access-B2mFxv-i.js +1 -0
- package/dist/assets/game.layout-CBASrvQu.js +1 -0
- package/dist/assets/gameplay-export-BoKXm51x.js +1 -0
- package/dist/assets/gameplay-replay-e5umMlXv.js +1 -0
- package/dist/assets/gameplay-rng-trap-CTNhm-UW.js +3 -0
- package/dist/assets/gameplay.command-DxcVYX6F.js +1 -0
- package/dist/assets/generation-DhwCUHPf.css +1 -0
- package/dist/assets/generation-jobs-BQrXbGp_.js +1 -0
- package/dist/assets/generation.service-CDIgObuw.js +1 -0
- package/dist/assets/generations-DzUogZsM.js +1 -0
- package/dist/assets/generations.status-CgOUBCum.js +1 -0
- package/dist/assets/hierarchy-marks-BLPfSIym.js +1 -0
- package/dist/assets/host-pointer-DbGSCjE9.js +1 -0
- package/dist/assets/hosted-asset-materialization-CiIvWkGU.js +2 -0
- package/dist/assets/ibl-override-material-BlmCxFKq.js +6 -0
- package/dist/assets/index-96FBF1Oj.js +1 -0
- package/dist/assets/index-BAWkB0dv.js +1 -0
- package/dist/assets/index-BDnS2b6S.js +1 -0
- package/dist/assets/index-BHp07vN0.js +2 -0
- package/dist/assets/index-BMxv2MNV.js +1 -0
- package/dist/assets/index-BP6wv2A0.js +5 -0
- package/dist/assets/index-BcCBqgM_.js +952 -0
- package/dist/assets/index-Bge9JUr6.js +1 -0
- package/dist/assets/index-BjTCPEQ7.js +134 -0
- package/dist/assets/index-BncK9THk.js +1 -0
- package/dist/assets/index-CJbYy-CF.js +3 -0
- package/dist/assets/index-CVCb_ImQ.js +1 -0
- package/dist/assets/index-CZd9o7Lu.js +1 -0
- package/dist/assets/index-CanA16PU.js +2 -0
- package/dist/assets/index-CinJrH5C.js +9 -0
- package/dist/assets/index-CtzuWnCS.js +1 -0
- package/dist/assets/index-D2fNXpHa.css +1 -0
- package/dist/assets/index-DUpHH6JR.js +3120 -0
- package/dist/assets/index-DUqP1RMl.js +1 -0
- package/dist/assets/index-D_NuPfjr.js +9 -0
- package/dist/assets/index-Da9JhEvW.js +25 -0
- package/dist/assets/index-DgapqSPi.js +7 -0
- package/dist/assets/index-FUuS4qwW.js +562 -0
- package/dist/assets/index-GIL7oGEO.js +4894 -0
- package/dist/assets/index-IEjydI9d.js +1 -0
- package/dist/assets/index-OrYXPk3Z.js +487 -0
- package/dist/assets/index-V1R-e5Bd.js +1 -0
- package/dist/assets/index-bQE2NA0D.js +1 -0
- package/dist/assets/index-gHZae-lw.js +13 -0
- package/dist/assets/index-mjWQmGhM.js +1 -0
- package/dist/assets/index-nmcBqr7Y.js +1 -0
- package/dist/assets/inference-diagnostics-Dhmtfbq_.js +1 -0
- package/dist/assets/ingest-BbYMC2vQ.js +1 -0
- package/dist/assets/ingest-boot-viewport-D5rI_Kk_.js +1 -0
- package/dist/assets/ingest-siblings-Bop2kqVl.js +1 -0
- package/dist/assets/ingest-source-persistence-C_6Hiyra.js +1 -0
- package/dist/assets/ingest.service-BTDnQfM1.js +1 -0
- package/dist/assets/input-manager-DH_hGW6d.js +1 -0
- package/dist/assets/input-router-BNQvtIqw.js +1 -0
- package/dist/assets/inspect-BZfi3mmo.js +1 -0
- package/dist/assets/inspection-CObLhnrs.js +1 -0
- package/dist/assets/instance-fork-actions-D3sRzS3K.js +1 -0
- package/dist/assets/instances.command-D6UkZNO8.js +1 -0
- package/dist/assets/instruments-CKR02Y8I.js +1 -0
- package/dist/assets/json-history-resource-BbxllWfV.js +1 -0
- package/dist/assets/jsx-runtime-DPjLkJKQ.js +9 -0
- package/dist/assets/light-D-_wsKTq.js +1 -0
- package/dist/assets/light-camera-factory-CWbbe9gI.js +1 -0
- package/dist/assets/lil-gui.module.min-BF55BEwA.js +10 -0
- package/dist/assets/live-behaviors-Bxq49Maz.js +1 -0
- package/dist/assets/live-gesture-lock-DJbrjOqf.js +1 -0
- package/dist/assets/loader-CaF_I7Yt.js +1 -0
- package/dist/assets/logger-Dqis-7W1.js +1 -0
- package/dist/assets/loop-gate-report-N52EWFGD.js +1 -0
- package/dist/assets/matcap-texture-CVfalpWT.js +1 -0
- package/dist/assets/material-CpAdjDxn.js +1 -0
- package/dist/assets/material-factory-Bz6h__6g.js +1 -0
- package/dist/assets/mesh-B3WPtNKO.js +1 -0
- package/dist/assets/mesh-shadow-CZnXrw_l.js +1 -0
- package/dist/assets/mikktspace.module-DO88SLib.js +1 -0
- package/dist/assets/model-asset-sections-CFvvihfx.css +1 -0
- package/dist/assets/model-asset-sections.service-CHhFS3ZX.js +1 -0
- package/dist/assets/model.layout-BJUEQYUI.js +1 -0
- package/dist/assets/models.finder-G2jQgIRu.js +1 -0
- package/dist/assets/module-mode-DVBLT9d-.js +2 -0
- package/dist/assets/mount-canvas-ingest-root-DDuAWf_C.js +2 -0
- package/dist/assets/mount-dom-ingest-root-D_EiBgpn.js +2 -0
- package/dist/assets/mount-game-6t9cKNo4.js +1 -0
- package/dist/assets/mount-ingest-root-glv2SSWf.js +2 -0
- package/dist/assets/mount-manifest-CGVxhmAw.js +1 -0
- package/dist/assets/mount-readiness-Ds0HvvLH.js +4 -0
- package/dist/assets/mount-three-ingest-root-hrUt9VVU.js +1 -0
- package/dist/assets/mounted-authoring-Dmg5xmhP.js +1 -0
- package/dist/assets/mounted-story-viewport-source-DjP6RA9U.js +1 -0
- package/dist/assets/native-debug-module-CWicoSGD.js +1 -0
- package/dist/assets/native-entry-surface-BE8LJNdu.js +1 -0
- package/dist/assets/navigation-CIiCx-SM.js +1 -0
- package/dist/assets/navmesh-workflow-store-Cmnm57TB.js +1 -0
- package/dist/assets/navmesh.menu-CAKiH8PW.js +1 -0
- package/dist/assets/navmesh.service-jgDWlgj1.js +1 -0
- package/dist/assets/network.utility-CEu5nHf7.js +1 -0
- package/dist/assets/object-marks-DwvIEBOK.js +1 -0
- package/dist/assets/object3d-authoring-subject-CH5sI2oP.js +1 -0
- package/dist/assets/output-DK8waum9.js +195 -0
- package/dist/assets/particles-Y626p22p.js +1 -0
- package/dist/assets/particles-factory-DnLOHXT8.js +1 -0
- package/dist/assets/pasteboard-materialize-BqSS4QzV.js +20 -0
- package/dist/assets/pasteboard.action-DU3UHtJG.js +2 -0
- package/dist/assets/performance-profiler-D_Jey87L.js +1 -0
- package/dist/assets/physics-registry-B2Jkp8e6.js +1 -0
- package/dist/assets/physics-registry-CUB9cT9p.js +1 -0
- package/dist/assets/pixi-authoring-adapter-CjibysC3.js +1 -0
- package/dist/assets/pixi-live-write-target-DuWydlWb.js +1 -0
- package/dist/assets/pixi-primitive-DlWbUPN9.js +1 -0
- package/dist/assets/pixi-react-root-factory-DYsznYRQ.js +1 -0
- package/dist/assets/pixi-story-model-DNkfnWUV.js +1 -0
- package/dist/assets/pixi-transform-channels-VjdohT11.js +1 -0
- package/dist/assets/play-mode-BFU2PCkG.js +22 -0
- package/dist/assets/play.command-BpqqLqkq.js +2 -0
- package/dist/assets/playtest-BXIL1JEF.js +1 -0
- package/dist/assets/pose-guard-6Osb2cFu.js +1 -0
- package/dist/assets/presentation-BPP5pXeQ.js +1 -0
- package/dist/assets/product-DFhyARJj.js +1 -0
- package/dist/assets/profiler.action-CaXJDp3t.js +1 -0
- package/dist/assets/profiler.menu-BIMF6Bi4.js +1 -0
- package/dist/assets/profiler.utility-BExw9wBO.js +1 -0
- package/dist/assets/project-authoring-session-Bnt6icLr.js +2 -0
- package/dist/assets/project-provenance-BoP3nrle.js +1 -0
- package/dist/assets/prompt-labels-DSMdM2_B.js +1 -0
- package/dist/assets/properties-bone-constraints.inspector-ByT6p7S-.js +1 -0
- package/dist/assets/properties-bone.inspector-z4qJwKO5.js +1 -0
- package/dist/assets/properties-collection.inspector-D0_3ijWU.js +1 -0
- package/dist/assets/properties-constraints.inspector-CESzjuls.js +1 -0
- package/dist/assets/properties-data.inspector-hG8Wgyzb.js +1 -0
- package/dist/assets/properties-material.inspector-CzY0JCQ6.js +1 -0
- package/dist/assets/properties-modifiers.inspector-3dDhwf7g.js +1 -0
- package/dist/assets/properties-object.inspector-CiarfxkT.js +1 -0
- package/dist/assets/properties-output.inspector-DKJxmKSD.js +1 -0
- package/dist/assets/properties-particles.inspector-CCEdYWGm.js +1 -0
- package/dist/assets/properties-physics.inspector-B2c0KUyA.js +1 -0
- package/dist/assets/properties-render.inspector-Bcm0HLRW.js +1 -0
- package/dist/assets/properties-scene.inspector-PIM_eTb_.js +1 -0
- package/dist/assets/properties-texture.inspector-CgFlnyr8.js +1 -0
- package/dist/assets/properties-view-layer.inspector-DGjF_Aqo.js +1 -0
- package/dist/assets/properties-world.inspector-CrMvaRvB.js +1 -0
- package/dist/assets/r3f-design-session-D-4yyDO9.js +2 -0
- package/dist/assets/r3f-physics-binding-BBo8oma9.js +1 -0
- package/dist/assets/r3f-root-factory-z9llD1OU.js +1 -0
- package/dist/assets/r3f-source-authoring-adapter-w6Bc60K-.js +13 -0
- package/dist/assets/rapier-physics-adapter-CaZqWLu0.js +1 -0
- package/dist/assets/rapier-physics-bridge-CMoeVo3Y.js +1 -0
- package/dist/assets/react-18-By2b4xR9.js +1 -0
- package/dist/assets/react-inspector.service-B_neRnSK.js +1 -0
- package/dist/assets/react-root-CEz5NTck.js +1 -0
- package/dist/assets/react-story-board-BDDwiE2H.js +1 -0
- package/dist/assets/react-three-fiber.esm-CycrbDlA.js +1 -0
- package/dist/assets/react-three-rapier.esm-CEfKpvxT.js +1 -0
- package/dist/assets/react-world-authoring-adapter-DmrwM3py.js +1 -0
- package/dist/assets/realm-services-CobQsq_X.js +1 -0
- package/dist/assets/rebind-controller-Dtq19Vb3.js +1 -0
- package/dist/assets/recast-navigation.wasm-compat-Dsoa_MD-.js +1 -0
- package/dist/assets/reflection-probe-Don-M3Fj.js +1 -0
- package/dist/assets/reflection-probe-capture.inspector-CmFUoJCx.js +1 -0
- package/dist/assets/register-render-vitals-BiZk29b2.js +1 -0
- package/dist/assets/registry-02YZjMNp.js +1 -0
- package/dist/assets/relative-path-guard-GiM7Lsz8.js +1 -0
- package/dist/assets/render-audio-control-vMRlePWb.js +1 -0
- package/dist/assets/render-batch-system-0vq7p0VC.js +1 -0
- package/dist/assets/render-census-BrQX_CXv.js +1 -0
- package/dist/assets/render-control-Df3yTiyr.js +1 -0
- package/dist/assets/render-env-D2IV2x5k.js +1 -0
- package/dist/assets/render-features-CPQ_e568.js +1 -0
- package/dist/assets/render-seed-DF4JHy7P.js +1 -0
- package/dist/assets/render-settings-Bw4W9SYF.js +1 -0
- package/dist/assets/render-vitals-BZ5HtvMi.js +1 -0
- package/dist/assets/renderer-config-BqG4O8i9.js +1 -0
- package/dist/assets/resolve-three-SZE_WWUM.js +702 -0
- package/dist/assets/root-seam-contract-Z0VWX3Bk.js +1 -0
- package/dist/assets/rrweb-Cd2ifIRP.js +142 -0
- package/dist/assets/run-ticks-settled-C4ksViyA.js +1 -0
- package/dist/assets/runtime-inspection-l2iFQSsg.js +1 -0
- package/dist/assets/scene-capture-BQKzU0NT.js +1 -0
- package/dist/assets/scene-capture-CGYF-Viw.js +1 -0
- package/dist/assets/scene-document.service-qkDjUrlP.js +2 -0
- package/dist/assets/scene-framing-Cat0GtyJ.js +1 -0
- package/dist/assets/scene-index-B6BZOHMk.js +1 -0
- package/dist/assets/scene-query-C7_N-TpI.js +1 -0
- package/dist/assets/schema-kl9-2B_J.js +1 -0
- package/dist/assets/sculpt.layout-zJF55yCR.js +1 -0
- package/dist/assets/seeded-random-i3mtgBKZ.js +1 -0
- package/dist/assets/session-CZ5JPg-z.js +4877 -0
- package/dist/assets/setup-audio-S8GQF91f.js +1 -0
- package/dist/assets/setup-particles-GCXlnkj_.js +1 -0
- package/dist/assets/setup-physics-BeZ7-LKD.js +1 -0
- package/dist/assets/setup-renderer-DVXaSGin.js +1587 -0
- package/dist/assets/shading.layout-DULYZV6M.js +1 -0
- package/dist/assets/sim-clock-CLflx7kg.js +1 -0
- package/dist/assets/sky-precompute-worker-ChN7J87v.js +1 -0
- package/dist/assets/soft-particle-depth-DGvfQDi1.js +1 -0
- package/dist/assets/source-object3d-authoring-adapter-B-L6Ha6f.js +1 -0
- package/dist/assets/source-persistence-backend-C-aR-B_Y.js +1 -0
- package/dist/assets/spark-renderer-lifecycle-ynWESJcv.js +1 -0
- package/dist/assets/spark.module-4pXQoz5d.js +12120 -0
- package/dist/assets/stage-invalidation-DBg3C3Ta.js +1 -0
- package/dist/assets/stage-keyboard-n-5kKH-m.js +1 -0
- package/dist/assets/stage-overlay-set-B9zp2sLB.js +1 -0
- package/dist/assets/stage-presence-markers-DiGI6A45.js +1 -0
- package/dist/assets/standard-viewport-dressing-CzjAe_0A.js +7 -0
- package/dist/assets/state-bridge-DLP1jLRW.js +1 -0
- package/dist/assets/state-watch.action-BOvQR2qt.js +1 -0
- package/dist/assets/state-watch.menu-CNLvDeeY.js +1 -0
- package/dist/assets/state-watch.utility-Bg1tTTQU.js +1 -0
- package/dist/assets/static-batch-advisor-B13QEH7d.js +1 -0
- package/dist/assets/stats.module-BL02l9NC.js +1 -0
- package/dist/assets/story-arg-descriptors-Ek86ExX7.js +1 -0
- package/dist/assets/story-capture-_gC8dXV-.js +1 -0
- package/dist/assets/story-documents--TDLaPeL.js +3 -0
- package/dist/assets/story-documents.service-BiS_YbNQ.js +1 -0
- package/dist/assets/story-documents.service-CxOPYJ2j.js +1 -0
- package/dist/assets/story-media-presence-BHzk2IV5.js +1 -0
- package/dist/assets/story-mount-turn-DFRTj5hi.js +1 -0
- package/dist/assets/story-pixi-preview-BUrOJZXS.js +1 -0
- package/dist/assets/story-presentation-j2AVN-mK.js +1 -0
- package/dist/assets/story-three-preview-BHEDZzcl.js +2 -0
- package/dist/assets/structural-ids-Dc-7rEwi.js +1 -0
- package/dist/assets/structural-signature-0w-i_ats.js +1 -0
- package/dist/assets/surface-content-Dg9Kkazf.js +1 -0
- package/dist/assets/surface-state-DaxyruCj.js +3 -0
- package/dist/assets/system-adapters-rIC8FSGP.js +1 -0
- package/dist/assets/system-runner-DkOjxEBt.js +1 -0
- package/dist/assets/system-slot-E2mEdiih.js +1 -0
- package/dist/assets/team-playtest.service-DqOinFVA.js +1 -0
- package/dist/assets/texture.layout-DASpHVht.js +1 -0
- package/dist/assets/three-CDSueJyJ.js +1 -0
- package/dist/assets/three-authoring-adapter-CmSQ3Vui.js +1 -0
- package/dist/assets/three-authoring.service-iuHLwtf1.js +2 -0
- package/dist/assets/three-ingest-runtime-QzDYk6tU.js +1 -0
- package/dist/assets/three-projection-core-BmKMZ-nf.js +1 -0
- package/dist/assets/three-viewport-presentation-QBQpSdMh.js +1 -0
- package/dist/assets/three.module-D396a9Mn.js +3840 -0
- package/dist/assets/three.quarks.esm-B1C61jGo.js +1039 -0
- package/dist/assets/tools-B_NJsk05.js +1 -0
- package/dist/assets/transform-writer-BhBBTx33.js +1 -0
- package/dist/assets/transport.header-B-6HQlU2.js +1 -0
- package/dist/assets/trigger-volume-BNK2XzPL.js +1 -0
- package/dist/assets/tuples-CIQ4Bn1U.js +1 -0
- package/dist/assets/tween.module-DciWpAG6.js +1 -0
- package/dist/assets/ui-board-document-Bwtt--xp.js +2 -0
- package/dist/assets/unexported-game-trap-Dm1JYKHy.js +2 -0
- package/dist/assets/unmanaged-root-detector-B8CpbkSN.js +2 -0
- package/dist/assets/upstream-pin-BdgRH6ID.js +1 -0
- package/dist/assets/use-data-Dzq-MytE.js +1 -0
- package/dist/assets/use-live-actor-state-DErbWQWF.js +1 -0
- package/dist/assets/use-selection-DbR73-xd.js +1 -0
- package/dist/assets/user-data-BB2Of6Ht.js +1 -0
- package/dist/assets/utility-view-state-BHypxA33.js +1 -0
- package/dist/assets/uv-editing.layout-BEKHxmHw.js +1 -0
- package/dist/assets/vgai-shared-fontawesome-CU65D4Ij.js +1 -0
- package/dist/assets/vgai-shared-jsx-dev-runtime-DFDKL7fx.js +1 -0
- package/dist/assets/vgai-shared-jsx-runtime-DIqBpTut.js +1 -0
- package/dist/assets/vgai-shared-react-BT7rMc2H.js +1 -0
- package/dist/assets/vgai-shared-react-dom-DFajMqMT.js +1 -0
- package/dist/assets/vgai-shared-react-dom-client-S0ozfl6_.js +1 -0
- package/dist/assets/vgai-shared-three-Bc5PvpLM.js +1 -0
- package/dist/assets/viewport-pick-context-DkawXbEi.js +1 -0
- package/dist/assets/viewport-root-presentation-CWsE56K6.js +1 -0
- package/dist/assets/viewport-shading-BuA88e_A.js +1 -0
- package/dist/assets/viewport-shading-boundary-B_-_gABg.js +82 -0
- package/dist/assets/viewport-surface-status-B3om4Kcf.js +1 -0
- package/dist/assets/vision_bundle-DX0dWqEa.js +15 -0
- package/dist/assets/voxel-surface-DtcsSWRL.js +1 -0
- package/dist/assets/wav-encode-D31zWF6O.js +1 -0
- package/dist/assets/webgl-frame-capture-FlF9zQmW.js +1 -0
- package/dist/assets/webgl-gpu-timer-D3YX7RaD.js +1 -0
- package/dist/assets/webworkerAll-CM2o_dnz.js +1 -0
- package/dist/assets/worker-UrMcrc5_.js +2 -0
- package/dist/assets/world-documents-147tiFZe.js +1 -0
- package/dist/assets/world-root-stage-binding-vwTrtBz6.js +1 -0
- package/dist/assets/world-state-BWG-IcOd.js +1 -0
- package/dist/assets/writer-B-KovzkA.js +5 -0
- package/dist/assets/xstate-animation-binding-Brd0NST6.js +1 -0
- package/dist/assets/xstate-animation-meta-Q3u9zh_m.js +1 -0
- package/dist/assets/xstate-behavior.action-B8UluFBK.js +1 -0
- package/dist/assets/xstate-behavior.document-CKAsE45I.js +1 -0
- package/dist/assets/xstate-behavior.inspector-vJJyuifc.js +1 -0
- package/dist/assets/xstate-behavior.menu-BXbPICIh.js +1 -0
- package/dist/assets/xstate-inspection-BsZv8LS9.js +1 -0
- package/dist/vgai-shared-react.json +10 -0
- package/dist/vgai-shared-three.json +3 -0
- package/dist-node/cli.js +9320 -0
- package/dist-node/create.js +3239 -0
- package/package.json +91 -0
- package/presets.mjs +2 -0
- package/src/contributions.d.ts +4 -0
- package/src/index.ts +38 -0
- package/starter/cube.blend +0 -0
- package/starter/cube.py +81 -0
- package/template/.agents/references/project-manual.md +341 -0
- package/template/.agents/skills/editor/SKILL.md +53 -0
- package/template/.agents/skills/editor/agents/openai.yaml +4 -0
- package/template/.agents/skills/editor/references/editor-control.md +363 -0
- package/template/.agents/skills/vgai-3d-models/SKILL.md +64 -0
- package/template/.agents/skills/vgai-ingest-existing-game/SKILL.md +112 -0
- package/template/.agents/skills/vgai-threejs-authoring/SKILL.md +347 -0
- package/template/.agents/skills/vgai-threejs-authoring/agents/openai.yaml +4 -0
- package/template/.agents/skills/vgai-threejs-authoring/references/helper-catalog.md +65 -0
- package/template/.claude/skills/editor/SKILL.md +53 -0
- package/template/.claude/skills/editor/agents/openai.yaml +4 -0
- package/template/.claude/skills/editor/references/editor-control.md +363 -0
- package/template/.claude/skills/vgai-3d-models/SKILL.md +64 -0
- package/template/.claude/skills/vgai-ingest-existing-game/SKILL.md +112 -0
- package/template/.claude/skills/vgai-threejs-authoring/SKILL.md +347 -0
- package/template/.claude/skills/vgai-threejs-authoring/agents/openai.yaml +4 -0
- package/template/.claude/skills/vgai-threejs-authoring/references/helper-catalog.md +65 -0
- package/template/.github/copilot-instructions.md +6 -0
- package/template/.github/skills/editor/SKILL.md +53 -0
- package/template/.github/skills/editor/agents/openai.yaml +4 -0
- package/template/.github/skills/editor/references/editor-control.md +363 -0
- package/template/.github/skills/vgai-3d-models/SKILL.md +64 -0
- package/template/.github/skills/vgai-ingest-existing-game/SKILL.md +112 -0
- package/template/.github/skills/vgai-threejs-authoring/SKILL.md +347 -0
- package/template/.github/skills/vgai-threejs-authoring/agents/openai.yaml +4 -0
- package/template/.github/skills/vgai-threejs-authoring/references/helper-catalog.md +65 -0
- package/template/.mcp.json +12 -0
- package/template/.vgai/assets.json +1 -0
- package/template/.vgai/provenance.json +4 -0
- package/template/.volter/tracker/validation/.preset.base.mts +178 -0
- package/template/.volter/tracker/validation/preset.mts +186 -0
- package/template/.volter/tracker/visualizer/.extension.base.tsx +14 -0
- package/template/.volter/tracker/visualizer/extension.tsx +14 -0
- package/template/.volter/tracker-config.json +17 -0
- package/template/AGENTS.md +176 -0
- package/template/CLAUDE.md +1 -0
- package/template/DEVLOG.md +20 -0
- package/template/IDIOMS.md +118 -0
- package/template/LICENSE +30 -0
- package/template/README.md +83 -0
- package/template/ROADMAP.md +20 -0
- package/template/asset-manifest.json +3 -0
- package/template/check-idioms.ts +1533 -0
- package/template/index.html +18 -0
- package/template/manifest-entry-modules-plugin.ts +53 -0
- package/template/package.json +62 -0
- package/template/public/jsm/libs/basis/basis_transcoder.js +19 -0
- package/template/public/jsm/libs/basis/basis_transcoder.wasm +0 -0
- package/template/public/jsm/libs/draco/gltf/draco_decoder.js +33 -0
- package/template/public/jsm/libs/draco/gltf/draco_decoder.wasm +0 -0
- package/template/public/jsm/libs/draco/gltf/draco_encoder.js +33 -0
- package/template/public/jsm/libs/draco/gltf/draco_wasm_wrapper.js +116 -0
- package/template/public/shaders/daylight-sky.frag.glsl +15 -0
- package/template/public/shaders/daylight-sky.vert.glsl +7 -0
- package/template/scripts/patch-drei-stats-gl.mjs +35 -0
- package/template/server/colyseus-setup.ts +111 -0
- package/template/server/loopback.ts +76 -0
- package/template/server/main.ts +78 -0
- package/template/server/rooms/arena-room.ts +488 -0
- package/template/server/rooms/game-room.ts +274 -0
- package/template/server/rooms.ts +15 -0
- package/template/server/tsconfig.json +19 -0
- package/template/src/bot/QaTester.tsx +35 -0
- package/template/src/bot/behaviors.ts +203 -0
- package/template/src/bot/bot-station.ts +192 -0
- package/template/src/bot/tester-run.ts +238 -0
- package/template/src/bot/tester-station.ts +193 -0
- package/template/src/components/environment/DaylightSky.tsx +54 -0
- package/template/src/components/environment/Ground.tsx +129 -0
- package/template/src/components/environment/SceneAtmosphere.tsx +14 -0
- package/template/src/components/environment/SoftGroundShadow.tsx +62 -0
- package/template/src/components/environment/SunShadowFit.tsx +141 -0
- package/template/src/contributions/README.md +98 -0
- package/template/src/contributions/analytics.analytics.tsx +26 -0
- package/template/src/contributions/data.document.tsx +35 -0
- package/template/src/contributions/pages.finder.ts +61 -0
- package/template/src/contributions/tester.inspector.tsx +64 -0
- package/template/src/contributions/use-game-modules.ts +80 -0
- package/template/src/data/README.md +17 -0
- package/template/src/input.ts +97 -0
- package/template/src/lib/audio/capability.json +4 -0
- package/template/src/lib/audio/sfx.ts +255 -0
- package/template/src/lib/react-root/capability.json +4 -0
- package/template/src/lib/react-root/index.ts +20 -0
- package/template/src/lib/react-root/react-root-adapter.tsx +57 -0
- package/template/src/lib/reflections/ReflectionProbe.tsx +201 -0
- package/template/src/lib/reflections/capability.json +4 -0
- package/template/src/lib/reflections/index.ts +19 -0
- package/template/src/lib/reflections/probe-controller.ts +75 -0
- package/template/src/lib/reflections/reflection-probe-registry.ts +402 -0
- package/template/src/lib/reflections/volume-reflection-material.ts +416 -0
- package/template/src/lib/static-batch/Frozen.tsx +91 -0
- package/template/src/lib/static-batch/capability.json +4 -0
- package/template/src/lib/static-batch/freeze.ts +579 -0
- package/template/src/lib/static-batch/index.ts +44 -0
- package/template/src/lib/static-batch/mutation-watch.ts +149 -0
- package/template/src/lib/static-batch/shadow-cache.ts +171 -0
- package/template/src/main.ts +63 -0
- package/template/src/manifest-entry-modules.d.ts +3 -0
- package/template/src/prefabs/HeroBox.stories.tsx +23 -0
- package/template/src/prefabs/HeroBox.tsx +35 -0
- package/template/src/scenes/MainScene.tsx +77 -0
- package/template/src/world.tsx +87 -0
- package/template/tsconfig.json +35 -0
- package/template/tsconfig.node.json +32 -0
- package/template/tsconfig.tools.json +22 -0
- package/template/validate-asset-content.ts +27 -0
- package/template/validate-assets.ts +60 -0
- package/template/validate-manifest.ts +55 -0
- package/template/vgai.adapter.ts +76 -0
- package/template/vgai.project.json +24 -0
- package/template/vite.config.ts +247 -0
- package/template-dotfiles/gitignore +63 -0
- package/workbench/src/media/game-cover.css +83 -0
- package/workbench/src/product.contribution.ts +188 -0
- package/workbench/src/vgaiGameSkew.ts +276 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as Ir,g as Dn}from"./_commonjsHelpers-D6-XlEtG.js";import{jS as Tr}from"./index-GIL7oGEO.js";function Mn(ut,Tt){for(var a=0;a<Tt.length;a++){const st=Tt[a];if(typeof st!="string"&&!Array.isArray(st)){for(const l in st)if(l!=="default"&&!(l in ut)){const f=Object.getOwnPropertyDescriptor(st,l);f&&Object.defineProperty(ut,l,f.get?f:{enumerable:!0,get:()=>st[l]})}}}return Object.freeze(Object.defineProperty(ut,Symbol.toStringTag,{value:"Module"}))}var Ar={exports:{}},Pn=Ar.exports,Tn;function Sn(){return Tn||(Tn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(Pn),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(r){return n.locateFile?n.locateFile(r,Z):Z+r}function b(){var r=mt.buffer;n.HEAP8=ot=new Int8Array(r),n.HEAP16=ht=new Int16Array(r),n.HEAP32=lt=new Int32Array(r),n.HEAPU8=bt=new Uint8Array(r),n.HEAPU16=new Uint16Array(r),n.HEAPU32=rt=new Uint32Array(r),n.HEAPF32=yt=new Float32Array(r),n.HEAPF64=new Float64Array(r)}function c(r){throw n.onAbort&&n.onAbort(r),r="Aborted("+r+")",dt(r),vt=!0,r=new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info."),q(r),r}function S(r){try{if(r==Q&&J)return new Uint8Array(J);if(jt)return jt(r);throw"both async and sync fetching of the wasm failed"}catch(o){c(o)}}function s(){if(!J&&(E||t)){if(typeof fetch=="function"&&!Q.startsWith("file://"))return fetch(Q,{credentials:"same-origin"}).then(function(r){if(!r.ok)throw"failed to load wasm binary file at '"+Q+"'";return r.arrayBuffer()}).catch(function(){return S(Q)});if(ct)return new Promise(function(r,o){ct(Q,function(i){r(new Uint8Array(i))},o)})}return Promise.resolve().then(function(){return S(Q)})}function m(r){for(;0<r.length;)r.shift()(n)}function A(r){this.excPtr=r,this.ptr=r-24,this.set_type=function(o){rt[this.ptr+4>>2]=o},this.get_type=function(){return rt[this.ptr+4>>2]},this.set_destructor=function(o){rt[this.ptr+8>>2]=o},this.get_destructor=function(){return rt[this.ptr+8>>2]},this.set_refcount=function(o){lt[this.ptr>>2]=o},this.set_caught=function(o){ot[this.ptr+12>>0]=o?1:0},this.get_caught=function(){return ot[this.ptr+12>>0]!=0},this.set_rethrown=function(o){ot[this.ptr+13>>0]=o?1:0},this.get_rethrown=function(){return ot[this.ptr+13>>0]!=0},this.init=function(o,i){this.set_adjusted_ptr(0),this.set_type(o),this.set_destructor(i),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){lt[this.ptr>>2]+=1},this.release_ref=function(){var o=lt[this.ptr>>2];return lt[this.ptr>>2]=o-1,o===1},this.set_adjusted_ptr=function(o){rt[this.ptr+16>>2]=o},this.get_adjusted_ptr=function(){return rt[this.ptr+16>>2]},this.get_exception_ptr=function(){if(yr(this.get_type()))return rt[this.excPtr>>2];var o=this.get_adjusted_ptr();return o!==0?o:this.excPtr}}function M(){function r(){if(!Et&&(Et=!0,n.calledRun=!0,!vt)){if(_t=!0,m(Dt),X(n),n.onRuntimeInitialized&&n.onRuntimeInitialized(),n.postRun)for(typeof n.postRun=="function"&&(n.postRun=[n.postRun]);n.postRun.length;)Gt.unshift(n.postRun.shift());m(Gt)}}if(!(0<nt)){if(n.preRun)for(typeof n.preRun=="function"&&(n.preRun=[n.preRun]);n.preRun.length;)At.unshift(n.preRun.shift());m(At),0<nt||(n.setStatus?(n.setStatus("Running..."),setTimeout(function(){setTimeout(function(){n.setStatus("")},1),r()},1)):r())}}function v(){}function x(r){return(r||v).__cache__}function j(r,o){var i=x(o),u=i[r];return u||(u=Object.create((o||v).prototype),u.ptr=r,i[r]=u)}function O(r){if(typeof r=="string"){for(var o=0,i=0;i<r.length;++i){var u=r.charCodeAt(i);127>=u?o++:2047>=u?o+=2:55296<=u&&57343>=u?(o+=4,++i):o+=3}if(o=Array(o+1),i=0,u=o.length,0<u){u=i+u-1;for(var d=0;d<r.length;++d){var I=r.charCodeAt(d);if(55296<=I&&57343>=I){var dr=r.charCodeAt(++d);I=65536+((I&1023)<<10)|dr&1023}if(127>=I){if(i>=u)break;o[i++]=I}else{if(2047>=I){if(i+1>=u)break;o[i++]=192|I>>6}else{if(65535>=I){if(i+2>=u)break;o[i++]=224|I>>12}else{if(i+3>=u)break;o[i++]=240|I>>18,o[i++]=128|I>>12&63}o[i++]=128|I>>6&63}o[i++]=128|I&63}}o[i]=0}return r=T.alloc(o,ot),T.copy(o,ot,r),r}return r}function W(r){if(typeof r=="object"){var o=T.alloc(r,ot);return T.copy(r,ot,o),o}return r}function k(r){if(typeof r=="object"){var o=T.alloc(r,ht);return T.copy(r,ht,o),o}return r}function it(r){if(typeof r=="object"){var o=T.alloc(r,lt);return T.copy(r,lt,o),o}return r}function et(r){if(typeof r=="object"){var o=T.alloc(r,yt);return T.copy(r,yt,o),o}return r}function Y(){throw"cannot construct a VoidPtr, no constructor in IDL"}function H(){this.ptr=Rt(),x(H)[this.ptr]=this}function F(){this.ptr=at(),x(F)[this.ptr]=this}function P(){this.ptr=Bt(),x(P)[this.ptr]=this}function U(){this.ptr=Vt(),x(U)[this.ptr]=this}function V(){this.ptr=Xt(),x(V)[this.ptr]=this}function B(){this.ptr=Kt(),x(B)[this.ptr]=this}function w(){this.ptr=ee(),x(w)[this.ptr]=this}function G(){this.ptr=pe(),x(G)[this.ptr]=this}function g(){this.ptr=Ae(),x(g)[this.ptr]=this}function R(){this.ptr=Ue(),x(R)[this.ptr]=this}function N(r){r&&typeof r=="object"&&(r=r.ptr),this.ptr=Ye(r),x(N)[this.ptr]=this}f=f===void 0?{}:f;var n=typeof f<"u"?f:{},X,q;n.ready=new Promise(function(r,o){X=r,q=o});var $=!1,K=!1;n.onRuntimeInitialized=function(){$=!0,K&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.onModuleParsed=function(){K=!0,$&&typeof n.onModuleLoaded=="function"&&n.onModuleLoaded(n)},n.isVersionSupported=function(r){return typeof r!="string"?!1:(r=r.split("."),2>r.length||3<r.length?!1:r[0]==1&&0<=r[1]&&5>=r[1]?!0:!(r[0]!=0||10<r[1]))};var z=Object.assign({},n),E=typeof window=="object",t=typeof importScripts=="function",Pt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",Z="";if(Pt){var St=Tr,gt=Tr;Z=t?gt.dirname(Z)+"/":__dirname+"/";var Ot=function(r,o){return r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFileSync(r,o?void 0:"utf8")},jt=function(r){return r=Ot(r,!0),r.buffer||(r=new Uint8Array(r)),r},ct=function(r,o,i){r=r.startsWith("file://")?new URL(r):gt.normalize(r),St.readFile(r,function(u,d){u?i(u):o(d.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),n.inspect=function(){return"[Emscripten Module object]"}}else(E||t)&&(t?Z=self.location.href:typeof document<"u"&&document.currentScript&&(Z=document.currentScript.src),l&&(Z=l),Z=Z.indexOf("blob:")!==0?Z.substr(0,Z.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Ot=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.send(null),o.responseText},t&&(jt=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.responseType="arraybuffer",o.send(null),new Uint8Array(o.response)}),ct=function(r,o,i){var u=new XMLHttpRequest;u.open("GET",r,!0),u.responseType="arraybuffer",u.onload=function(){u.status==200||u.status==0&&u.response?o(u.response):i()},u.onerror=i,u.send(null)});n.print||console.log.bind(console);var dt=n.printErr||console.warn.bind(console);Object.assign(n,z),z=null;var J;n.wasmBinary&&(J=n.wasmBinary),typeof WebAssembly!="object"&&c("no native wasm support detected");var mt,vt=!1,ot,bt,ht,lt,rt,yt,At=[],Dt=[],Gt=[],_t=!1,nt=0,pt=null,Q="draco_encoder.wasm";Q.startsWith("data:application/octet-stream;base64,")||(Q=y(Q));var fr={b:function(r,o,i){throw new A(r).init(o,i),r},a:function(){c("")},d:function(r,o,i){bt.copyWithin(r,o,o+i)},c:function(r){var o=bt.length;if(r>>>=0,2147483648<r)return!1;for(var i=1;4>=i;i*=2){var u=o*(1+.2/i);u=Math.min(u,r+100663296);var d=Math;u=Math.max(r,u),d=d.min.call(d,2147483648,u+(65536-u%65536)%65536);t:{u=mt.buffer;try{mt.grow(d-u.byteLength+65535>>>16),b();var I=1;break t}catch{}I=void 0}if(I)return!0}return!1}};(function(){function r(d,I){n.asm=d.exports,mt=n.asm.e,b(),Dt.unshift(n.asm.f),nt--,n.monitorRunDependencies&&n.monitorRunDependencies(nt),nt==0&&pt&&(d=pt,pt=null,d())}function o(d){r(d.instance)}function i(d){return s().then(function(I){return WebAssembly.instantiate(I,u)}).then(function(I){return I}).then(d,function(I){dt("failed to asynchronously prepare wasm: "+I),c(I)})}var u={a:fr};if(nt++,n.monitorRunDependencies&&n.monitorRunDependencies(nt),n.instantiateWasm)try{return n.instantiateWasm(u,r)}catch(d){dt("Module.instantiateWasm callback failed with error: "+d),q(d)}return(function(){return J||typeof WebAssembly.instantiateStreaming!="function"||Q.startsWith("data:application/octet-stream;base64,")||Q.startsWith("file://")||Pt||typeof fetch!="function"?i(o):fetch(Q,{credentials:"same-origin"}).then(function(d){return WebAssembly.instantiateStreaming(d,u).then(o,function(I){return dt("wasm streaming compile failed: "+I),dt("falling back to ArrayBuffer instantiation"),i(o)})})})().catch(q),{}})();var Mt=n._emscripten_bind_VoidPtr___destroy___0=function(){return(Mt=n._emscripten_bind_VoidPtr___destroy___0=n.asm.h).apply(null,arguments)},Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Rt=n._emscripten_bind_GeometryAttribute_GeometryAttribute_0=n.asm.i).apply(null,arguments)},Nt=n._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Nt=n._emscripten_bind_GeometryAttribute___destroy___0=n.asm.j).apply(null,arguments)},at=n._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(at=n._emscripten_bind_PointAttribute_PointAttribute_0=n.asm.k).apply(null,arguments)},ft=n._emscripten_bind_PointAttribute_size_0=function(){return(ft=n._emscripten_bind_PointAttribute_size_0=n.asm.l).apply(null,arguments)},tt=n._emscripten_bind_PointAttribute_attribute_type_0=function(){return(tt=n._emscripten_bind_PointAttribute_attribute_type_0=n.asm.m).apply(null,arguments)},mr=n._emscripten_bind_PointAttribute_data_type_0=function(){return(mr=n._emscripten_bind_PointAttribute_data_type_0=n.asm.n).apply(null,arguments)},br=n._emscripten_bind_PointAttribute_num_components_0=function(){return(br=n._emscripten_bind_PointAttribute_num_components_0=n.asm.o).apply(null,arguments)},Ft=n._emscripten_bind_PointAttribute_normalized_0=function(){return(Ft=n._emscripten_bind_PointAttribute_normalized_0=n.asm.p).apply(null,arguments)},Ut=n._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ut=n._emscripten_bind_PointAttribute_byte_stride_0=n.asm.q).apply(null,arguments)},Ct=n._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Ct=n._emscripten_bind_PointAttribute_byte_offset_0=n.asm.r).apply(null,arguments)},Lt=n._emscripten_bind_PointAttribute_unique_id_0=function(){return(Lt=n._emscripten_bind_PointAttribute_unique_id_0=n.asm.s).apply(null,arguments)},wt=n._emscripten_bind_PointAttribute___destroy___0=function(){return(wt=n._emscripten_bind_PointAttribute___destroy___0=n.asm.t).apply(null,arguments)},Bt=n._emscripten_bind_PointCloud_PointCloud_0=function(){return(Bt=n._emscripten_bind_PointCloud_PointCloud_0=n.asm.u).apply(null,arguments)},zt=n._emscripten_bind_PointCloud_num_attributes_0=function(){return(zt=n._emscripten_bind_PointCloud_num_attributes_0=n.asm.v).apply(null,arguments)},xt=n._emscripten_bind_PointCloud_num_points_0=function(){return(xt=n._emscripten_bind_PointCloud_num_points_0=n.asm.w).apply(null,arguments)},Wt=n._emscripten_bind_PointCloud___destroy___0=function(){return(Wt=n._emscripten_bind_PointCloud___destroy___0=n.asm.x).apply(null,arguments)},Vt=n._emscripten_bind_Mesh_Mesh_0=function(){return(Vt=n._emscripten_bind_Mesh_Mesh_0=n.asm.y).apply(null,arguments)},Qt=n._emscripten_bind_Mesh_num_faces_0=function(){return(Qt=n._emscripten_bind_Mesh_num_faces_0=n.asm.z).apply(null,arguments)},Ht=n._emscripten_bind_Mesh_num_attributes_0=function(){return(Ht=n._emscripten_bind_Mesh_num_attributes_0=n.asm.A).apply(null,arguments)},Yt=n._emscripten_bind_Mesh_num_points_0=function(){return(Yt=n._emscripten_bind_Mesh_num_points_0=n.asm.B).apply(null,arguments)},kt=n._emscripten_bind_Mesh_set_num_points_1=function(){return(kt=n._emscripten_bind_Mesh_set_num_points_1=n.asm.C).apply(null,arguments)},qt=n._emscripten_bind_Mesh___destroy___0=function(){return(qt=n._emscripten_bind_Mesh___destroy___0=n.asm.D).apply(null,arguments)},Xt=n._emscripten_bind_Metadata_Metadata_0=function(){return(Xt=n._emscripten_bind_Metadata_Metadata_0=n.asm.E).apply(null,arguments)},$t=n._emscripten_bind_Metadata___destroy___0=function(){return($t=n._emscripten_bind_Metadata___destroy___0=n.asm.F).apply(null,arguments)},Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Kt=n._emscripten_bind_DracoInt8Array_DracoInt8Array_0=n.asm.G).apply(null,arguments)},Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Jt=n._emscripten_bind_DracoInt8Array_GetValue_1=n.asm.H).apply(null,arguments)},Zt=n._emscripten_bind_DracoInt8Array_size_0=function(){return(Zt=n._emscripten_bind_DracoInt8Array_size_0=n.asm.I).apply(null,arguments)},te=n._emscripten_bind_DracoInt8Array___destroy___0=function(){return(te=n._emscripten_bind_DracoInt8Array___destroy___0=n.asm.J).apply(null,arguments)},ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(ee=n._emscripten_bind_MetadataBuilder_MetadataBuilder_0=n.asm.K).apply(null,arguments)},re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(re=n._emscripten_bind_MetadataBuilder_AddStringEntry_3=n.asm.L).apply(null,arguments)},ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(ne=n._emscripten_bind_MetadataBuilder_AddIntEntry_3=n.asm.M).apply(null,arguments)},oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(oe=n._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=n.asm.N).apply(null,arguments)},_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(_e=n._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=n.asm.O).apply(null,arguments)},ie=n._emscripten_bind_MetadataBuilder___destroy___0=function(){return(ie=n._emscripten_bind_MetadataBuilder___destroy___0=n.asm.P).apply(null,arguments)},pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(pe=n._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=n.asm.Q).apply(null,arguments)},ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(ae=n._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=n.asm.R).apply(null,arguments)},ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ue=n._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=n.asm.S).apply(null,arguments)},se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(se=n._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=n.asm.T).apply(null,arguments)},ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(ce=n._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=n.asm.U).apply(null,arguments)},le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(le=n._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=n.asm.V).apply(null,arguments)},ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(ye=n._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=n.asm.W).apply(null,arguments)},de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(de=n._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=n.asm.X).apply(null,arguments)},fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(fe=n._emscripten_bind_PointCloudBuilder_AddMetadata_2=n.asm.Y).apply(null,arguments)},me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(me=n._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=n.asm.Z).apply(null,arguments)},be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=function(){return(be=n._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=n.asm._).apply(null,arguments)},he=n._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(he=n._emscripten_bind_PointCloudBuilder___destroy___0=n.asm.$).apply(null,arguments)},Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ae=n._emscripten_bind_MeshBuilder_MeshBuilder_0=n.asm.aa).apply(null,arguments)},Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Ee=n._emscripten_bind_MeshBuilder_AddFacesToMesh_3=n.asm.ba).apply(null,arguments)},Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ie=n._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=n.asm.ca).apply(null,arguments)},Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Te=n._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=n.asm.da).apply(null,arguments)},ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(ge=n._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=n.asm.ea).apply(null,arguments)},je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(je=n._emscripten_bind_MeshBuilder_AddFloatAttribute_5=n.asm.fa).apply(null,arguments)},ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(ve=n._emscripten_bind_MeshBuilder_AddInt8Attribute_5=n.asm.ga).apply(null,arguments)},De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(De=n._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=n.asm.ha).apply(null,arguments)},Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Me=n._emscripten_bind_MeshBuilder_AddInt16Attribute_5=n.asm.ia).apply(null,arguments)},Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pe=n._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=n.asm.ja).apply(null,arguments)},Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Se=n._emscripten_bind_MeshBuilder_AddInt32Attribute_5=n.asm.ka).apply(null,arguments)},Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Oe=n._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=n.asm.la).apply(null,arguments)},Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ge=n._emscripten_bind_MeshBuilder_AddMetadata_2=n.asm.ma).apply(null,arguments)},Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Re=n._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=n.asm.na).apply(null,arguments)},Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=function(){return(Ne=n._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=n.asm.oa).apply(null,arguments)},Fe=n._emscripten_bind_MeshBuilder___destroy___0=function(){return(Fe=n._emscripten_bind_MeshBuilder___destroy___0=n.asm.pa).apply(null,arguments)},Ue=n._emscripten_bind_Encoder_Encoder_0=function(){return(Ue=n._emscripten_bind_Encoder_Encoder_0=n.asm.qa).apply(null,arguments)},Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Ce=n._emscripten_bind_Encoder_SetEncodingMethod_1=n.asm.ra).apply(null,arguments)},Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Le=n._emscripten_bind_Encoder_SetAttributeQuantization_2=n.asm.sa).apply(null,arguments)},we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(we=n._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=n.asm.ta).apply(null,arguments)},Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Be=n._emscripten_bind_Encoder_SetSpeedOptions_2=n.asm.ua).apply(null,arguments)},ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(ze=n._emscripten_bind_Encoder_SetTrackEncodedProperties_1=n.asm.va).apply(null,arguments)},xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(xe=n._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=n.asm.wa).apply(null,arguments)},We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(We=n._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=n.asm.xa).apply(null,arguments)},Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Ve=n._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=n.asm.ya).apply(null,arguments)},Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Qe=n._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=n.asm.za).apply(null,arguments)},He=n._emscripten_bind_Encoder___destroy___0=function(){return(He=n._emscripten_bind_Encoder___destroy___0=n.asm.Aa).apply(null,arguments)},Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Ye=n._emscripten_bind_ExpertEncoder_ExpertEncoder_1=n.asm.Ba).apply(null,arguments)},ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ke=n._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=n.asm.Ca).apply(null,arguments)},qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(qe=n._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=n.asm.Da).apply(null,arguments)},Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(Xe=n._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=n.asm.Ea).apply(null,arguments)},$e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return($e=n._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=n.asm.Fa).apply(null,arguments)},Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(Ke=n._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=n.asm.Ga).apply(null,arguments)},Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(Je=n._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=n.asm.Ha).apply(null,arguments)},Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(Ze=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=n.asm.Ia).apply(null,arguments)},tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(tr=n._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=n.asm.Ja).apply(null,arguments)},er=n._emscripten_bind_ExpertEncoder___destroy___0=function(){return(er=n._emscripten_bind_ExpertEncoder___destroy___0=n.asm.Ka).apply(null,arguments)},rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(rr=n._emscripten_enum_draco_GeometryAttribute_Type_INVALID=n.asm.La).apply(null,arguments)},nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(nr=n._emscripten_enum_draco_GeometryAttribute_Type_POSITION=n.asm.Ma).apply(null,arguments)},or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(or=n._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=n.asm.Na).apply(null,arguments)},_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(_r=n._emscripten_enum_draco_GeometryAttribute_Type_COLOR=n.asm.Oa).apply(null,arguments)},ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(ir=n._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=n.asm.Pa).apply(null,arguments)},pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(pr=n._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=n.asm.Qa).apply(null,arguments)},ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ar=n._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=n.asm.Ra).apply(null,arguments)},ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(ur=n._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=n.asm.Sa).apply(null,arguments)},sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(sr=n._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=n.asm.Ta).apply(null,arguments)},cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(cr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=n.asm.Ua).apply(null,arguments)},lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(lr=n._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=n.asm.Va).apply(null,arguments)};n._malloc=function(){return(n._malloc=n.asm.Wa).apply(null,arguments)},n._free=function(){return(n._free=n.asm.Xa).apply(null,arguments)};var yr=function(){return(yr=n.asm.Ya).apply(null,arguments)};n.___start_em_js=19116,n.___stop_em_js=19214;var Et;if(pt=function r(){Et||M(),Et||(pt=r)},n.preInit)for(typeof n.preInit=="function"&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.pop()();M(),v.prototype=Object.create(v.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},n.WrapperObject=v,n.getCache=x,n.wrapPointer=j,n.castObject=function(r,o){return j(r.ptr,o)},n.NULL=j(0),n.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete x(r.__class__)[r.ptr]},n.compare=function(r,o){return r.ptr===o.ptr},n.getPointer=function(r){return r.ptr},n.getClass=function(r){return r.__class__};var T={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(T.needed){for(var r=0;r<T.temps.length;r++)n._free(T.temps[r]);T.temps.length=0,n._free(T.buffer),T.buffer=0,T.size+=T.needed,T.needed=0}T.buffer||(T.size+=128,T.buffer=n._malloc(T.size),T.buffer||c(void 0)),T.pos=0},alloc:function(r,o){return T.buffer||c(void 0),r=r.length*o.BYTES_PER_ELEMENT,r=r+7&-8,T.pos+r>=T.size?(0<r||c(void 0),T.needed+=r,o=n._malloc(r),T.temps.push(o)):(o=T.buffer+T.pos,T.pos+=r),o},copy:function(r,o,i){switch(i>>>=0,o.BYTES_PER_ELEMENT){case 2:i>>>=1;break;case 4:i>>>=2;break;case 8:i>>>=3}for(var u=0;u<r.length;u++)o[i+u]=r[u]}};return Y.prototype=Object.create(v.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},n.VoidPtr=Y,Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Mt(this.ptr)},H.prototype=Object.create(v.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},n.GeometryAttribute=H,H.prototype.__destroy__=H.prototype.__destroy__=function(){Nt(this.ptr)},F.prototype=Object.create(v.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},n.PointAttribute=F,F.prototype.size=F.prototype.size=function(){return ft(this.ptr)},F.prototype.attribute_type=F.prototype.attribute_type=function(){return tt(this.ptr)},F.prototype.data_type=F.prototype.data_type=function(){return mr(this.ptr)},F.prototype.num_components=F.prototype.num_components=function(){return br(this.ptr)},F.prototype.normalized=F.prototype.normalized=function(){return!!Ft(this.ptr)},F.prototype.byte_stride=F.prototype.byte_stride=function(){return Ut(this.ptr)},F.prototype.byte_offset=F.prototype.byte_offset=function(){return Ct(this.ptr)},F.prototype.unique_id=F.prototype.unique_id=function(){return Lt(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){wt(this.ptr)},P.prototype=Object.create(v.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},n.PointCloud=P,P.prototype.num_attributes=P.prototype.num_attributes=function(){return zt(this.ptr)},P.prototype.num_points=P.prototype.num_points=function(){return xt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Wt(this.ptr)},U.prototype=Object.create(v.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},n.Mesh=U,U.prototype.num_faces=U.prototype.num_faces=function(){return Qt(this.ptr)},U.prototype.num_attributes=U.prototype.num_attributes=function(){return Ht(this.ptr)},U.prototype.num_points=U.prototype.num_points=function(){return Yt(this.ptr)},U.prototype.set_num_points=U.prototype.set_num_points=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),kt(o,r)},U.prototype.__destroy__=U.prototype.__destroy__=function(){qt(this.ptr)},V.prototype=Object.create(v.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},n.Metadata=V,V.prototype.__destroy__=V.prototype.__destroy__=function(){$t(this.ptr)},B.prototype=Object.create(v.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},n.DracoInt8Array=B,B.prototype.GetValue=B.prototype.GetValue=function(r){var o=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),Jt(o,r)},B.prototype.size=B.prototype.size=function(){return Zt(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){te(this.ptr)},w.prototype=Object.create(v.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},n.MetadataBuilder=w,w.prototype.AddStringEntry=w.prototype.AddStringEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i=i&&typeof i=="object"?i.ptr:O(i),!!re(u,r,o,i)},w.prototype.AddIntEntry=w.prototype.AddIntEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!ne(u,r,o,i)},w.prototype.AddIntEntryArray=w.prototype.AddIntEntryArray=function(r,o,i,u){var d=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),typeof i=="object"&&(i=it(i)),u&&typeof u=="object"&&(u=u.ptr),!!oe(d,r,o,i,u)},w.prototype.AddDoubleEntry=w.prototype.AddDoubleEntry=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o=o&&typeof o=="object"?o.ptr:O(o),i&&typeof i=="object"&&(i=i.ptr),!!_e(u,r,o,i)},w.prototype.__destroy__=w.prototype.__destroy__=function(){ie(this.ptr)},G.prototype=Object.create(v.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},n.PointCloudBuilder=G,G.prototype.AddFloatAttribute=G.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),ae(I,r,o,i,u,d)},G.prototype.AddInt8Attribute=G.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ue(I,r,o,i,u,d)},G.prototype.AddUInt8Attribute=G.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),se(I,r,o,i,u,d)},G.prototype.AddInt16Attribute=G.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),ce(I,r,o,i,u,d)},G.prototype.AddUInt16Attribute=G.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),le(I,r,o,i,u,d)},G.prototype.AddInt32Attribute=G.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),ye(I,r,o,i,u,d)},G.prototype.AddUInt32Attribute=G.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),de(I,r,o,i,u,d)},G.prototype.AddMetadata=G.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!fe(i,r,o)},G.prototype.SetMetadataForAttribute=G.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!me(u,r,o,i)},G.prototype.SetNormalizedFlagForAttribute=G.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!be(u,r,o,i)},G.prototype.__destroy__=G.prototype.__destroy__=function(){he(this.ptr)},g.prototype=Object.create(v.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},n.MeshBuilder=g,g.prototype.AddFacesToMesh=g.prototype.AddFacesToMesh=function(r,o,i){var u=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),typeof i=="object"&&(i=it(i)),!!Ee(u,r,o,i)},g.prototype.AddFloatAttributeToMesh=g.prototype.AddFloatAttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),Ie(I,r,o,i,u,d)},g.prototype.AddInt32AttributeToMesh=g.prototype.AddInt32AttributeToMesh=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Te(I,r,o,i,u,d)},g.prototype.AddMetadataToMesh=g.prototype.AddMetadataToMesh=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!ge(i,r,o)},g.prototype.AddFloatAttribute=g.prototype.AddFloatAttribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=et(d)),je(I,r,o,i,u,d)},g.prototype.AddInt8Attribute=g.prototype.AddInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),ve(I,r,o,i,u,d)},g.prototype.AddUInt8Attribute=g.prototype.AddUInt8Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=W(d)),De(I,r,o,i,u,d)},g.prototype.AddInt16Attribute=g.prototype.AddInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Me(I,r,o,i,u,d)},g.prototype.AddUInt16Attribute=g.prototype.AddUInt16Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=k(d)),Pe(I,r,o,i,u,d)},g.prototype.AddInt32Attribute=g.prototype.AddInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Se(I,r,o,i,u,d)},g.prototype.AddUInt32Attribute=g.prototype.AddUInt32Attribute=function(r,o,i,u,d){var I=this.ptr;return T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),u&&typeof u=="object"&&(u=u.ptr),typeof d=="object"&&(d=it(d)),Oe(I,r,o,i,u,d)},g.prototype.AddMetadata=g.prototype.AddMetadata=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),!!Ge(i,r,o)},g.prototype.SetMetadataForAttribute=g.prototype.SetMetadataForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Re(u,r,o,i)},g.prototype.SetNormalizedFlagForAttribute=g.prototype.SetNormalizedFlagForAttribute=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),!!Ne(u,r,o,i)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Fe(this.ptr)},R.prototype=Object.create(v.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},n.Encoder=R,R.prototype.SetEncodingMethod=R.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ce(o,r)},R.prototype.SetAttributeQuantization=R.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Le(i,r,o)},R.prototype.SetAttributeExplicitQuantization=R.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),we(I,r,o,i,u,d)},R.prototype.SetSpeedOptions=R.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Be(i,r,o)},R.prototype.SetTrackEncodedProperties=R.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ze(o,r)},R.prototype.EncodeMeshToDracoBuffer=R.prototype.EncodeMeshToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),xe(i,r,o)},R.prototype.EncodePointCloudToDracoBuffer=R.prototype.EncodePointCloudToDracoBuffer=function(r,o,i){var u=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),We(u,r,o,i)},R.prototype.GetNumberOfEncodedPoints=R.prototype.GetNumberOfEncodedPoints=function(){return Ve(this.ptr)},R.prototype.GetNumberOfEncodedFaces=R.prototype.GetNumberOfEncodedFaces=function(){return Qe(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){He(this.ptr)},N.prototype=Object.create(v.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.ExpertEncoder=N,N.prototype.SetEncodingMethod=N.prototype.SetEncodingMethod=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),ke(o,r)},N.prototype.SetAttributeQuantization=N.prototype.SetAttributeQuantization=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),qe(i,r,o)},N.prototype.SetAttributeExplicitQuantization=N.prototype.SetAttributeExplicitQuantization=function(r,o,i,u,d){var I=this.ptr;T.prepare(),r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),i&&typeof i=="object"&&(i=i.ptr),typeof u=="object"&&(u=et(u)),d&&typeof d=="object"&&(d=d.ptr),Xe(I,r,o,i,u,d)},N.prototype.SetSpeedOptions=N.prototype.SetSpeedOptions=function(r,o){var i=this.ptr;r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),$e(i,r,o)},N.prototype.SetTrackEncodedProperties=N.prototype.SetTrackEncodedProperties=function(r){var o=this.ptr;r&&typeof r=="object"&&(r=r.ptr),Ke(o,r)},N.prototype.EncodeToDracoBuffer=N.prototype.EncodeToDracoBuffer=function(r,o){var i=this.ptr;return r&&typeof r=="object"&&(r=r.ptr),o&&typeof o=="object"&&(o=o.ptr),Je(i,r,o)},N.prototype.GetNumberOfEncodedPoints=N.prototype.GetNumberOfEncodedPoints=function(){return Ze(this.ptr)},N.prototype.GetNumberOfEncodedFaces=N.prototype.GetNumberOfEncodedFaces=function(){return tr(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){er(this.ptr)},(function(){function r(){n.INVALID=rr(),n.POSITION=nr(),n.NORMAL=or(),n.COLOR=_r(),n.TEX_COORD=ir(),n.GENERIC=pr(),n.INVALID_GEOMETRY_TYPE=ar(),n.POINT_CLOUD=ur(),n.TRIANGULAR_MESH=sr(),n.MESH_SEQUENTIAL_ENCODING=cr(),n.MESH_EDGEBREAKER_ENCODING=lr()}_t?r():Dt.unshift(r)})(),typeof n.onModuleParsed=="function"&&n.onModuleParsed(),f.ready}})();ut.exports=st})(Ar)),Ar.exports}var Er={exports:{}},On=Er.exports,gn;function Gn(){return gn||(gn=1,(function(ut,Tt){var a=a||{};a.scope={},a.arrayIteratorImpl=function(l){var f=0;return function(){return f<l.length?{done:!1,value:l[f++]}:{done:!0}}},a.arrayIterator=function(l){return{next:a.arrayIteratorImpl(l)}},a.makeIterator=function(l){var f=typeof Symbol<"u"&&Symbol.iterator&&l[Symbol.iterator];return f?f.call(l):a.arrayIterator(l)},a.ASSUME_ES5=!1,a.ASSUME_NO_NATIVE_MAP=!1,a.ASSUME_NO_NATIVE_SET=!1,a.SIMPLE_FROUND_POLYFILL=!1,a.ISOLATE_POLYFILLS=!1,a.FORCE_POLYFILL_PROMISE=!1,a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,a.getGlobal=function(l){l=[typeof globalThis=="object"&&globalThis,l,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ir=="object"&&Ir];for(var f=0;f<l.length;++f){var y=l[f];if(y&&y.Math==Math)return y}throw Error("Cannot find global object")},a.global=a.getGlobal(On),a.defineProperty=a.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(l,f,y){return l==Array.prototype||l==Object.prototype||(l[f]=y.value),l},a.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",a.TRUST_ES6_POLYFILLS=!a.ISOLATE_POLYFILLS||a.IS_SYMBOL_NATIVE,a.polyfills={},a.propertyToPolyfillSymbol={},a.POLYFILL_PREFIX="$jscp$",a.polyfill=function(l,f,y,b){f&&(a.ISOLATE_POLYFILLS?a.polyfillIsolated(l,f,y,b):a.polyfillUnisolated(l,f,y,b))},a.polyfillUnisolated=function(l,f,y,b){for(y=a.global,l=l.split("."),b=0;b<l.length-1;b++){var c=l[b];if(!(c in y))return;y=y[c]}l=l[l.length-1],b=y[l],f=f(b),f!=b&&f!=null&&a.defineProperty(y,l,{configurable:!0,writable:!0,value:f})},a.polyfillIsolated=function(l,f,y,b){var c=l.split(".");l=c.length===1,b=c[0],b=!l&&b in a.polyfills?a.polyfills:a.global;for(var S=0;S<c.length-1;S++){var s=c[S];if(!(s in b))return;b=b[s]}c=c[c.length-1],y=a.IS_SYMBOL_NATIVE&&y==="es6"?b[c]:null,f=f(y),f!=null&&(l?a.defineProperty(a.polyfills,c,{configurable:!0,writable:!0,value:f}):f!==y&&(a.propertyToPolyfillSymbol[c]===void 0&&(y=1e9*Math.random()>>>0,a.propertyToPolyfillSymbol[c]=a.IS_SYMBOL_NATIVE?a.global.Symbol(c):a.POLYFILL_PREFIX+y+"$"+c),a.defineProperty(b,a.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:f})))},a.polyfill("Promise",function(l){function f(){this.batch_=null}function y(s){return s instanceof c?s:new c(function(m,A){m(s)})}if(l&&(!(a.FORCE_POLYFILL_PROMISE||a.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof a.global.PromiseRejectionEvent>"u")||!a.global.Promise||a.global.Promise.toString().indexOf("[native code]")===-1))return l;f.prototype.asyncExecute=function(s){if(this.batch_==null){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(s)};var b=a.global.setTimeout;f.prototype.asyncExecuteFunction=function(s){b(s,0)},f.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var s=this.batch_;this.batch_=[];for(var m=0;m<s.length;++m){var A=s[m];s[m]=null;try{A()}catch(M){this.asyncThrow_(M)}}}this.batch_=null},f.prototype.asyncThrow_=function(s){this.asyncExecuteFunction(function(){throw s})};var c=function(s){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{s(m.resolve,m.reject)}catch(A){m.reject(A)}};c.prototype.createResolveAndReject_=function(){function s(M){return function(v){A||(A=!0,M.call(m,v))}}var m=this,A=!1;return{resolve:s(this.resolveTo_),reject:s(this.reject_)}},c.prototype.resolveTo_=function(s){if(s===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof c)this.settleSameAsPromise_(s);else{t:switch(typeof s){case"object":var m=s!=null;break t;case"function":m=!0;break t;default:m=!1}m?this.resolveToNonPromiseObj_(s):this.fulfill_(s)}},c.prototype.resolveToNonPromiseObj_=function(s){var m=void 0;try{m=s.then}catch(A){this.reject_(A);return}typeof m=="function"?this.settleSameAsThenable_(m,s):this.fulfill_(s)},c.prototype.reject_=function(s){this.settle_(2,s)},c.prototype.fulfill_=function(s){this.settle_(1,s)},c.prototype.settle_=function(s,m){if(this.state_!=0)throw Error("Cannot settle("+s+", "+m+"): Promise already settled in state"+this.state_);this.state_=s,this.result_=m,this.state_===2&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},c.prototype.scheduleUnhandledRejectionCheck_=function(){var s=this;b(function(){if(s.notifyUnhandledRejection_()){var m=a.global.console;typeof m<"u"&&m.error(s.result_)}},1)},c.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var s=a.global.CustomEvent,m=a.global.Event,A=a.global.dispatchEvent;return typeof A>"u"?!0:(typeof s=="function"?s=new s("unhandledrejection",{cancelable:!0}):typeof m=="function"?s=new m("unhandledrejection",{cancelable:!0}):(s=a.global.document.createEvent("CustomEvent"),s.initCustomEvent("unhandledrejection",!1,!0,s)),s.promise=this,s.reason=this.result_,A(s))},c.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var s=0;s<this.onSettledCallbacks_.length;++s)S.asyncExecute(this.onSettledCallbacks_[s]);this.onSettledCallbacks_=null}};var S=new f;return c.prototype.settleSameAsPromise_=function(s){var m=this.createResolveAndReject_();s.callWhenSettled_(m.resolve,m.reject)},c.prototype.settleSameAsThenable_=function(s,m){var A=this.createResolveAndReject_();try{s.call(m,A.resolve,A.reject)}catch(M){A.reject(M)}},c.prototype.then=function(s,m){function A(j,O){return typeof j=="function"?function(W){try{M(j(W))}catch(k){v(k)}}:O}var M,v,x=new c(function(j,O){M=j,v=O});return this.callWhenSettled_(A(s,M),A(m,v)),x},c.prototype.catch=function(s){return this.then(void 0,s)},c.prototype.callWhenSettled_=function(s,m){function A(){switch(M.state_){case 1:s(M.result_);break;case 2:m(M.result_);break;default:throw Error("Unexpected state: "+M.state_)}}var M=this;this.onSettledCallbacks_==null?S.asyncExecute(A):this.onSettledCallbacks_.push(A),this.isRejectionHandled_=!0},c.resolve=y,c.reject=function(s){return new c(function(m,A){A(s)})},c.race=function(s){return new c(function(m,A){for(var M=a.makeIterator(s),v=M.next();!v.done;v=M.next())y(v.value).callWhenSettled_(m,A)})},c.all=function(s){var m=a.makeIterator(s),A=m.next();return A.done?y([]):new c(function(M,v){function x(W){return function(k){j[W]=k,O--,O==0&&M(j)}}var j=[],O=0;do j.push(void 0),O++,y(A.value).callWhenSettled_(x(j.length-1),v),A=m.next();while(!A.done)})},c},"es6","es3"),a.owns=function(l,f){return Object.prototype.hasOwnProperty.call(l,f)},a.assign=a.TRUST_ES6_POLYFILLS&&typeof Object.assign=="function"?Object.assign:function(l,f){for(var y=1;y<arguments.length;y++){var b=arguments[y];if(b)for(var c in b)a.owns(b,c)&&(l[c]=b[c])}return l},a.polyfill("Object.assign",function(l){return l||a.assign},"es6","es3"),a.checkStringArgs=function(l,f,y){if(l==null)throw new TypeError("The 'this' value for String.prototype."+y+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+y+" must not be a regular expression");return l+""},a.polyfill("String.prototype.startsWith",function(l){return l||function(f,y){var b=a.checkStringArgs(this,f,"startsWith");f+="";var c=b.length,S=f.length;y=Math.max(0,Math.min(y|0,b.length));for(var s=0;s<S&&y<c;)if(b[y++]!=f[s++])return!1;return s>=S}},"es6","es3"),a.polyfill("Array.prototype.copyWithin",function(l){function f(y){return y=Number(y),y===1/0||y===-1/0?y:y|0}return l||function(y,b,c){var S=this.length;if(y=f(y),b=f(b),c=c===void 0?S:f(c),y=0>y?Math.max(S+y,0):Math.min(y,S),b=0>b?Math.max(S+b,0):Math.min(b,S),c=0>c?Math.max(S+c,0):Math.min(c,S),y<b)for(;b<c;)b in this?this[y++]=this[b++]:(delete this[y++],b++);else for(c=Math.min(c,S+b-y),y+=c-b;c>b;)--c in this?this[--y]=this[c]:delete this[--y];return this}},"es6","es3"),a.typedArrayCopyWithin=function(l){return l||Array.prototype.copyWithin},a.polyfill("Int8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint8ClampedArray.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint16Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Int32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Uint32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float32Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5"),a.polyfill("Float64Array.prototype.copyWithin",a.typedArrayCopyWithin,"es6","es5");var st=(function(){var l=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(l=l||__filename),function(f){function y(e){return t.locateFile?t.locateFile(e,J):J+e}function b(e,_,p){var h=_+p;for(p=_;e[p]&&!(p>=h);)++p;if(16<p-_&&e.buffer&&Gt)return Gt.decode(e.subarray(_,p));for(h="";_<p;){var D=e[_++];if(D&128){var L=e[_++]&63;if((D&224)==192)h+=String.fromCharCode((D&31)<<6|L);else{var It=e[_++]&63;D=(D&240)==224?(D&15)<<12|L<<6|It:(D&7)<<18|L<<12|It<<6|e[_++]&63,65536>D?h+=String.fromCharCode(D):(D-=65536,h+=String.fromCharCode(55296|D>>10,56320|D&1023))}}else h+=String.fromCharCode(D)}return h}function c(e,_){return e?b(nt,e,_):""}function S(){var e=At.buffer;t.HEAP8=_t=new Int8Array(e),t.HEAP16=new Int16Array(e),t.HEAP32=pt=new Int32Array(e),t.HEAPU8=nt=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=Q=new Uint32Array(e),t.HEAPF32=new Float32Array(e),t.HEAPF64=new Float64Array(e)}function s(e){throw t.onAbort&&t.onAbort(e),e="Aborted("+e+")",rt(e),Dt=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),Z(e),e}function m(e){try{if(e==tt&&yt)return new Uint8Array(yt);if(bt)return bt(e);throw"both async and sync fetching of the wasm failed"}catch(_){s(_)}}function A(){if(!yt&&(jt||ct)){if(typeof fetch=="function"&&!tt.startsWith("file://"))return fetch(tt,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+tt+"'";return e.arrayBuffer()}).catch(function(){return m(tt)});if(ht)return new Promise(function(e,_){ht(tt,function(p){e(new Uint8Array(p))},_)})}return Promise.resolve().then(function(){return m(tt)})}function M(e){for(;0<e.length;)e.shift()(t)}function v(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(_){Q[this.ptr+4>>2]=_},this.get_type=function(){return Q[this.ptr+4>>2]},this.set_destructor=function(_){Q[this.ptr+8>>2]=_},this.get_destructor=function(){return Q[this.ptr+8>>2]},this.set_refcount=function(_){pt[this.ptr>>2]=_},this.set_caught=function(_){_t[this.ptr+12>>0]=_?1:0},this.get_caught=function(){return _t[this.ptr+12>>0]!=0},this.set_rethrown=function(_){_t[this.ptr+13>>0]=_?1:0},this.get_rethrown=function(){return _t[this.ptr+13>>0]!=0},this.init=function(_,p){this.set_adjusted_ptr(0),this.set_type(_),this.set_destructor(p),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){pt[this.ptr>>2]+=1},this.release_ref=function(){var _=pt[this.ptr>>2];return pt[this.ptr>>2]=_-1,_===1},this.set_adjusted_ptr=function(_){Q[this.ptr+16>>2]=_},this.get_adjusted_ptr=function(){return Q[this.ptr+16>>2]},this.get_exception_ptr=function(){if(En(this.get_type()))return Q[this.excPtr>>2];var _=this.get_adjusted_ptr();return _!==0?_:this.excPtr}}function x(){function e(){if(!hr&&(hr=!0,t.calledRun=!0,!Dt)){if(Nt=!0,M(Mt),Pt(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for(typeof t.postRun=="function"&&(t.postRun=[t.postRun]);t.postRun.length;)Rt.unshift(t.postRun.shift());M(Rt)}}if(!(0<at)){if(t.preRun)for(typeof t.preRun=="function"&&(t.preRun=[t.preRun]);t.preRun.length;)fr.unshift(t.preRun.shift());M(fr),0<at||(t.setStatus?(t.setStatus("Running..."),setTimeout(function(){setTimeout(function(){t.setStatus("")},1),e()},1)):e())}}function j(){}function O(e){return(e||j).__cache__}function W(e,_){var p=O(_),h=p[e];return h||(h=Object.create((_||j).prototype),h.ptr=e,p[e]=h)}function k(e){if(typeof e=="string"){for(var _=0,p=0;p<e.length;++p){var h=e.charCodeAt(p);127>=h?_++:2047>=h?_+=2:55296<=h&&57343>=h?(_+=4,++p):_+=3}if(_=Array(_+1),p=0,h=_.length,0<h){h=p+h-1;for(var D=0;D<e.length;++D){var L=e.charCodeAt(D);if(55296<=L&&57343>=L){var It=e.charCodeAt(++D);L=65536+((L&1023)<<10)|It&1023}if(127>=L){if(p>=h)break;_[p++]=L}else{if(2047>=L){if(p+1>=h)break;_[p++]=192|L>>6}else{if(65535>=L){if(p+2>=h)break;_[p++]=224|L>>12}else{if(p+3>=h)break;_[p++]=240|L>>18,_[p++]=128|L>>12&63}_[p++]=128|L>>6&63}_[p++]=128|L&63}}_[p]=0}return e=C.alloc(_,_t),C.copy(_,_t,e),e}return e}function it(e){if(typeof e=="object"){var _=C.alloc(e,_t);return C.copy(e,_t,_),_}return e}function et(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Y(){this.ptr=Ut(),O(Y)[this.ptr]=this}function H(){this.ptr=wt(),O(H)[this.ptr]=this}function F(){this.ptr=xt(),O(F)[this.ptr]=this}function P(){this.ptr=Vt(),O(P)[this.ptr]=this}function U(){this.ptr=te(),O(U)[this.ptr]=this}function V(){this.ptr=ie(),O(V)[this.ptr]=this}function B(){this.ptr=se(),O(B)[this.ptr]=this}function w(){this.ptr=de(),O(w)[this.ptr]=this}function G(){this.ptr=Ae(),O(G)[this.ptr]=this}function g(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=ve(),O(R)[this.ptr]=this}function N(){this.ptr=Se(),O(N)[this.ptr]=this}function n(){this.ptr=Ne(),O(n)[this.ptr]=this}function X(){this.ptr=Le(),O(X)[this.ptr]=this}function q(){this.ptr=xe(),O(q)[this.ptr]=this}function $(){this.ptr=He(),O($)[this.ptr]=this}function K(){this.ptr=Xe(),O(K)[this.ptr]=this}function z(){this.ptr=Ze(),O(z)[this.ptr]=this}function E(){this.ptr=ar(),O(E)[this.ptr]=this}f=f===void 0?{}:f;var t=typeof f<"u"?f:{},Pt,Z;t.ready=new Promise(function(e,_){Pt=e,Z=_});var St=!1,gt=!1;t.onRuntimeInitialized=function(){St=!0,gt&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.onModuleParsed=function(){gt=!0,St&&typeof t.onModuleLoaded=="function"&&t.onModuleLoaded(t)},t.isVersionSupported=function(e){return typeof e!="string"?!1:(e=e.split("."),2>e.length||3<e.length?!1:e[0]==1&&0<=e[1]&&5>=e[1]?!0:!(e[0]!=0||10<e[1]))};var Ot=Object.assign({},t),jt=typeof window=="object",ct=typeof importScripts=="function",dt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",J="";if(dt){var mt=Tr,vt=Tr;J=ct?vt.dirname(J)+"/":__dirname+"/";var ot=function(e,_){return e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFileSync(e,_?void 0:"utf8")},bt=function(e){return e=ot(e,!0),e.buffer||(e=new Uint8Array(e)),e},ht=function(e,_,p){e=e.startsWith("file://")?new URL(e):vt.normalize(e),mt.readFile(e,function(h,D){h?p(h):_(D.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),t.inspect=function(){return"[Emscripten Module object]"}}else(jt||ct)&&(ct?J=self.location.href:typeof document<"u"&&document.currentScript&&(J=document.currentScript.src),l&&(J=l),J=J.indexOf("blob:")!==0?J.substr(0,J.replace(/[?#].*/,"").lastIndexOf("/")+1):"",ot=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.send(null),_.responseText},ct&&(bt=function(e){var _=new XMLHttpRequest;return _.open("GET",e,!1),_.responseType="arraybuffer",_.send(null),new Uint8Array(_.response)}),ht=function(e,_,p){var h=new XMLHttpRequest;h.open("GET",e,!0),h.responseType="arraybuffer",h.onload=function(){h.status==200||h.status==0&&h.response?_(h.response):p()},h.onerror=p,h.send(null)});var lt=t.print||console.log.bind(console),rt=t.printErr||console.warn.bind(console);Object.assign(t,Ot),Ot=null;var yt;t.wasmBinary&&(yt=t.wasmBinary),typeof WebAssembly!="object"&&s("no native wasm support detected");var At,Dt=!1,Gt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,_t,nt,pt,Q,fr=[],Mt=[],Rt=[],Nt=!1,at=0,ft=null,tt="draco_decoder.wasm";tt.startsWith("data:application/octet-stream;base64,")||(tt=y(tt));var mr=[null,[],[]],br={b:function(e,_,p){throw new v(e).init(_,p),e},a:function(){s("")},g:function(e,_,p){nt.copyWithin(e,_,_+p)},e:function(e){var _=nt.length;if(e>>>=0,2147483648<e)return!1;for(var p=1;4>=p;p*=2){var h=_*(1+.2/p);h=Math.min(h,e+100663296);var D=Math;h=Math.max(e,h),D=D.min.call(D,2147483648,h+(65536-h%65536)%65536);t:{h=At.buffer;try{At.grow(D-h.byteLength+65535>>>16),S();var L=1;break t}catch{}L=void 0}if(L)return!0}return!1},f:function(e){return 52},d:function(e,_,p,h,D){return 70},c:function(e,_,p,h){for(var D=0,L=0;L<p;L++){var It=Q[_>>2],In=Q[_+4>>2];_+=8;for(var gr=0;gr<In;gr++){var jr=nt[It+gr],vr=mr[e];jr===0||jr===10?((e===1?lt:rt)(b(vr,0)),vr.length=0):vr.push(jr)}D+=In}return Q[h>>2]=D,0}};(function(){function e(D,L){t.asm=D.exports,At=t.asm.h,S(),Mt.unshift(t.asm.i),at--,t.monitorRunDependencies&&t.monitorRunDependencies(at),at==0&&ft&&(D=ft,ft=null,D())}function _(D){e(D.instance)}function p(D){return A().then(function(L){return WebAssembly.instantiate(L,h)}).then(function(L){return L}).then(D,function(L){rt("failed to asynchronously prepare wasm: "+L),s(L)})}var h={a:br};if(at++,t.monitorRunDependencies&&t.monitorRunDependencies(at),t.instantiateWasm)try{return t.instantiateWasm(h,e)}catch(D){rt("Module.instantiateWasm callback failed with error: "+D),Z(D)}return(function(){return yt||typeof WebAssembly.instantiateStreaming!="function"||tt.startsWith("data:application/octet-stream;base64,")||tt.startsWith("file://")||dt||typeof fetch!="function"?p(_):fetch(tt,{credentials:"same-origin"}).then(function(D){return WebAssembly.instantiateStreaming(D,h).then(_,function(L){return rt("wasm streaming compile failed: "+L),rt("falling back to ArrayBuffer instantiation"),p(_)})})})().catch(Z),{}})();var Ft=t._emscripten_bind_VoidPtr___destroy___0=function(){return(Ft=t._emscripten_bind_VoidPtr___destroy___0=t.asm.k).apply(null,arguments)},Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ut=t._emscripten_bind_DecoderBuffer_DecoderBuffer_0=t.asm.l).apply(null,arguments)},Ct=t._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ct=t._emscripten_bind_DecoderBuffer_Init_2=t.asm.m).apply(null,arguments)},Lt=t._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Lt=t._emscripten_bind_DecoderBuffer___destroy___0=t.asm.n).apply(null,arguments)},wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(wt=t._emscripten_bind_AttributeTransformData_AttributeTransformData_0=t.asm.o).apply(null,arguments)},Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Bt=t._emscripten_bind_AttributeTransformData_transform_type_0=t.asm.p).apply(null,arguments)},zt=t._emscripten_bind_AttributeTransformData___destroy___0=function(){return(zt=t._emscripten_bind_AttributeTransformData___destroy___0=t.asm.q).apply(null,arguments)},xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(xt=t._emscripten_bind_GeometryAttribute_GeometryAttribute_0=t.asm.r).apply(null,arguments)},Wt=t._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Wt=t._emscripten_bind_GeometryAttribute___destroy___0=t.asm.s).apply(null,arguments)},Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Vt=t._emscripten_bind_PointAttribute_PointAttribute_0=t.asm.t).apply(null,arguments)},Qt=t._emscripten_bind_PointAttribute_size_0=function(){return(Qt=t._emscripten_bind_PointAttribute_size_0=t.asm.u).apply(null,arguments)},Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ht=t._emscripten_bind_PointAttribute_GetAttributeTransformData_0=t.asm.v).apply(null,arguments)},Yt=t._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Yt=t._emscripten_bind_PointAttribute_attribute_type_0=t.asm.w).apply(null,arguments)},kt=t._emscripten_bind_PointAttribute_data_type_0=function(){return(kt=t._emscripten_bind_PointAttribute_data_type_0=t.asm.x).apply(null,arguments)},qt=t._emscripten_bind_PointAttribute_num_components_0=function(){return(qt=t._emscripten_bind_PointAttribute_num_components_0=t.asm.y).apply(null,arguments)},Xt=t._emscripten_bind_PointAttribute_normalized_0=function(){return(Xt=t._emscripten_bind_PointAttribute_normalized_0=t.asm.z).apply(null,arguments)},$t=t._emscripten_bind_PointAttribute_byte_stride_0=function(){return($t=t._emscripten_bind_PointAttribute_byte_stride_0=t.asm.A).apply(null,arguments)},Kt=t._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Kt=t._emscripten_bind_PointAttribute_byte_offset_0=t.asm.B).apply(null,arguments)},Jt=t._emscripten_bind_PointAttribute_unique_id_0=function(){return(Jt=t._emscripten_bind_PointAttribute_unique_id_0=t.asm.C).apply(null,arguments)},Zt=t._emscripten_bind_PointAttribute___destroy___0=function(){return(Zt=t._emscripten_bind_PointAttribute___destroy___0=t.asm.D).apply(null,arguments)},te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(te=t._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=t.asm.E).apply(null,arguments)},ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(ee=t._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=t.asm.F).apply(null,arguments)},re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(re=t._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=t.asm.G).apply(null,arguments)},ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ne=t._emscripten_bind_AttributeQuantizationTransform_min_value_1=t.asm.H).apply(null,arguments)},oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(oe=t._emscripten_bind_AttributeQuantizationTransform_range_0=t.asm.I).apply(null,arguments)},_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(_e=t._emscripten_bind_AttributeQuantizationTransform___destroy___0=t.asm.J).apply(null,arguments)},ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(ie=t._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=t.asm.K).apply(null,arguments)},pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(pe=t._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=t.asm.L).apply(null,arguments)},ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(ae=t._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=t.asm.M).apply(null,arguments)},ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(ue=t._emscripten_bind_AttributeOctahedronTransform___destroy___0=t.asm.N).apply(null,arguments)},se=t._emscripten_bind_PointCloud_PointCloud_0=function(){return(se=t._emscripten_bind_PointCloud_PointCloud_0=t.asm.O).apply(null,arguments)},ce=t._emscripten_bind_PointCloud_num_attributes_0=function(){return(ce=t._emscripten_bind_PointCloud_num_attributes_0=t.asm.P).apply(null,arguments)},le=t._emscripten_bind_PointCloud_num_points_0=function(){return(le=t._emscripten_bind_PointCloud_num_points_0=t.asm.Q).apply(null,arguments)},ye=t._emscripten_bind_PointCloud___destroy___0=function(){return(ye=t._emscripten_bind_PointCloud___destroy___0=t.asm.R).apply(null,arguments)},de=t._emscripten_bind_Mesh_Mesh_0=function(){return(de=t._emscripten_bind_Mesh_Mesh_0=t.asm.S).apply(null,arguments)},fe=t._emscripten_bind_Mesh_num_faces_0=function(){return(fe=t._emscripten_bind_Mesh_num_faces_0=t.asm.T).apply(null,arguments)},me=t._emscripten_bind_Mesh_num_attributes_0=function(){return(me=t._emscripten_bind_Mesh_num_attributes_0=t.asm.U).apply(null,arguments)},be=t._emscripten_bind_Mesh_num_points_0=function(){return(be=t._emscripten_bind_Mesh_num_points_0=t.asm.V).apply(null,arguments)},he=t._emscripten_bind_Mesh___destroy___0=function(){return(he=t._emscripten_bind_Mesh___destroy___0=t.asm.W).apply(null,arguments)},Ae=t._emscripten_bind_Metadata_Metadata_0=function(){return(Ae=t._emscripten_bind_Metadata_Metadata_0=t.asm.X).apply(null,arguments)},Ee=t._emscripten_bind_Metadata___destroy___0=function(){return(Ee=t._emscripten_bind_Metadata___destroy___0=t.asm.Y).apply(null,arguments)},Ie=t._emscripten_bind_Status_code_0=function(){return(Ie=t._emscripten_bind_Status_code_0=t.asm.Z).apply(null,arguments)},Te=t._emscripten_bind_Status_ok_0=function(){return(Te=t._emscripten_bind_Status_ok_0=t.asm._).apply(null,arguments)},ge=t._emscripten_bind_Status_error_msg_0=function(){return(ge=t._emscripten_bind_Status_error_msg_0=t.asm.$).apply(null,arguments)},je=t._emscripten_bind_Status___destroy___0=function(){return(je=t._emscripten_bind_Status___destroy___0=t.asm.aa).apply(null,arguments)},ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ve=t._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=t.asm.ba).apply(null,arguments)},De=t._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(De=t._emscripten_bind_DracoFloat32Array_GetValue_1=t.asm.ca).apply(null,arguments)},Me=t._emscripten_bind_DracoFloat32Array_size_0=function(){return(Me=t._emscripten_bind_DracoFloat32Array_size_0=t.asm.da).apply(null,arguments)},Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pe=t._emscripten_bind_DracoFloat32Array___destroy___0=t.asm.ea).apply(null,arguments)},Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Se=t._emscripten_bind_DracoInt8Array_DracoInt8Array_0=t.asm.fa).apply(null,arguments)},Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Oe=t._emscripten_bind_DracoInt8Array_GetValue_1=t.asm.ga).apply(null,arguments)},Ge=t._emscripten_bind_DracoInt8Array_size_0=function(){return(Ge=t._emscripten_bind_DracoInt8Array_size_0=t.asm.ha).apply(null,arguments)},Re=t._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Re=t._emscripten_bind_DracoInt8Array___destroy___0=t.asm.ia).apply(null,arguments)},Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ne=t._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=t.asm.ja).apply(null,arguments)},Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Fe=t._emscripten_bind_DracoUInt8Array_GetValue_1=t.asm.ka).apply(null,arguments)},Ue=t._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ue=t._emscripten_bind_DracoUInt8Array_size_0=t.asm.la).apply(null,arguments)},Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ce=t._emscripten_bind_DracoUInt8Array___destroy___0=t.asm.ma).apply(null,arguments)},Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Le=t._emscripten_bind_DracoInt16Array_DracoInt16Array_0=t.asm.na).apply(null,arguments)},we=t._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(we=t._emscripten_bind_DracoInt16Array_GetValue_1=t.asm.oa).apply(null,arguments)},Be=t._emscripten_bind_DracoInt16Array_size_0=function(){return(Be=t._emscripten_bind_DracoInt16Array_size_0=t.asm.pa).apply(null,arguments)},ze=t._emscripten_bind_DracoInt16Array___destroy___0=function(){return(ze=t._emscripten_bind_DracoInt16Array___destroy___0=t.asm.qa).apply(null,arguments)},xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(xe=t._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=t.asm.ra).apply(null,arguments)},We=t._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(We=t._emscripten_bind_DracoUInt16Array_GetValue_1=t.asm.sa).apply(null,arguments)},Ve=t._emscripten_bind_DracoUInt16Array_size_0=function(){return(Ve=t._emscripten_bind_DracoUInt16Array_size_0=t.asm.ta).apply(null,arguments)},Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Qe=t._emscripten_bind_DracoUInt16Array___destroy___0=t.asm.ua).apply(null,arguments)},He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(He=t._emscripten_bind_DracoInt32Array_DracoInt32Array_0=t.asm.va).apply(null,arguments)},Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Ye=t._emscripten_bind_DracoInt32Array_GetValue_1=t.asm.wa).apply(null,arguments)},ke=t._emscripten_bind_DracoInt32Array_size_0=function(){return(ke=t._emscripten_bind_DracoInt32Array_size_0=t.asm.xa).apply(null,arguments)},qe=t._emscripten_bind_DracoInt32Array___destroy___0=function(){return(qe=t._emscripten_bind_DracoInt32Array___destroy___0=t.asm.ya).apply(null,arguments)},Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Xe=t._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=t.asm.za).apply(null,arguments)},$e=t._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return($e=t._emscripten_bind_DracoUInt32Array_GetValue_1=t.asm.Aa).apply(null,arguments)},Ke=t._emscripten_bind_DracoUInt32Array_size_0=function(){return(Ke=t._emscripten_bind_DracoUInt32Array_size_0=t.asm.Ba).apply(null,arguments)},Je=t._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Je=t._emscripten_bind_DracoUInt32Array___destroy___0=t.asm.Ca).apply(null,arguments)},Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ze=t._emscripten_bind_MetadataQuerier_MetadataQuerier_0=t.asm.Da).apply(null,arguments)},tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(tr=t._emscripten_bind_MetadataQuerier_HasEntry_2=t.asm.Ea).apply(null,arguments)},er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(er=t._emscripten_bind_MetadataQuerier_GetIntEntry_2=t.asm.Fa).apply(null,arguments)},rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(rr=t._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=t.asm.Ga).apply(null,arguments)},nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(nr=t._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=t.asm.Ha).apply(null,arguments)},or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(or=t._emscripten_bind_MetadataQuerier_GetStringEntry_2=t.asm.Ia).apply(null,arguments)},_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(_r=t._emscripten_bind_MetadataQuerier_NumEntries_1=t.asm.Ja).apply(null,arguments)},ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(ir=t._emscripten_bind_MetadataQuerier_GetEntryName_2=t.asm.Ka).apply(null,arguments)},pr=t._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pr=t._emscripten_bind_MetadataQuerier___destroy___0=t.asm.La).apply(null,arguments)},ar=t._emscripten_bind_Decoder_Decoder_0=function(){return(ar=t._emscripten_bind_Decoder_Decoder_0=t.asm.Ma).apply(null,arguments)},ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ur=t._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=t.asm.Na).apply(null,arguments)},sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(sr=t._emscripten_bind_Decoder_DecodeArrayToMesh_3=t.asm.Oa).apply(null,arguments)},cr=t._emscripten_bind_Decoder_GetAttributeId_2=function(){return(cr=t._emscripten_bind_Decoder_GetAttributeId_2=t.asm.Pa).apply(null,arguments)},lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(lr=t._emscripten_bind_Decoder_GetAttributeIdByName_2=t.asm.Qa).apply(null,arguments)},yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(yr=t._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=t.asm.Ra).apply(null,arguments)},Et=t._emscripten_bind_Decoder_GetAttribute_2=function(){return(Et=t._emscripten_bind_Decoder_GetAttribute_2=t.asm.Sa).apply(null,arguments)},T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(T=t._emscripten_bind_Decoder_GetAttributeByUniqueId_2=t.asm.Ta).apply(null,arguments)},r=t._emscripten_bind_Decoder_GetMetadata_1=function(){return(r=t._emscripten_bind_Decoder_GetMetadata_1=t.asm.Ua).apply(null,arguments)},o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(o=t._emscripten_bind_Decoder_GetAttributeMetadata_2=t.asm.Va).apply(null,arguments)},i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(i=t._emscripten_bind_Decoder_GetFaceFromMesh_3=t.asm.Wa).apply(null,arguments)},u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(u=t._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=t.asm.Xa).apply(null,arguments)},d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(d=t._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=t.asm.Ya).apply(null,arguments)},I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(I=t._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=t.asm.Za).apply(null,arguments)},dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(dr=t._emscripten_bind_Decoder_GetAttributeFloat_3=t.asm._a).apply(null,arguments)},Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Mr=t._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=t.asm.$a).apply(null,arguments)},Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Pr=t._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=t.asm.ab).apply(null,arguments)},Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Sr=t._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=t.asm.bb).apply(null,arguments)},Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Or=t._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=t.asm.cb).apply(null,arguments)},Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Gr=t._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=t.asm.db).apply(null,arguments)},Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Rr=t._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=t.asm.eb).apply(null,arguments)},Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nr=t._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=t.asm.fb).apply(null,arguments)},Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Fr=t._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=t.asm.gb).apply(null,arguments)},Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ur=t._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=t.asm.hb).apply(null,arguments)},Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Cr=t._emscripten_bind_Decoder_SkipAttributeTransform_1=t.asm.ib).apply(null,arguments)},Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Lr=t._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=t.asm.jb).apply(null,arguments)},wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(wr=t._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=t.asm.kb).apply(null,arguments)},Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Br=t._emscripten_bind_Decoder_DecodeBufferToMesh_2=t.asm.lb).apply(null,arguments)},zr=t._emscripten_bind_Decoder___destroy___0=function(){return(zr=t._emscripten_bind_Decoder___destroy___0=t.asm.mb).apply(null,arguments)},xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(xr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=t.asm.nb).apply(null,arguments)},Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=t.asm.ob).apply(null,arguments)},Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Vr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=t.asm.pb).apply(null,arguments)},Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Qr=t._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=t.asm.qb).apply(null,arguments)},Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Hr=t._emscripten_enum_draco_GeometryAttribute_Type_INVALID=t.asm.rb).apply(null,arguments)},Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Yr=t._emscripten_enum_draco_GeometryAttribute_Type_POSITION=t.asm.sb).apply(null,arguments)},kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(kr=t._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=t.asm.tb).apply(null,arguments)},qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qr=t._emscripten_enum_draco_GeometryAttribute_Type_COLOR=t.asm.ub).apply(null,arguments)},Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Xr=t._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=t.asm.vb).apply(null,arguments)},$r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return($r=t._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=t.asm.wb).apply(null,arguments)},Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Kr=t._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=t.asm.xb).apply(null,arguments)},Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Jr=t._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=t.asm.yb).apply(null,arguments)},Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Zr=t._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=t.asm.zb).apply(null,arguments)},tn=t._emscripten_enum_draco_DataType_DT_INVALID=function(){return(tn=t._emscripten_enum_draco_DataType_DT_INVALID=t.asm.Ab).apply(null,arguments)},en=t._emscripten_enum_draco_DataType_DT_INT8=function(){return(en=t._emscripten_enum_draco_DataType_DT_INT8=t.asm.Bb).apply(null,arguments)},rn=t._emscripten_enum_draco_DataType_DT_UINT8=function(){return(rn=t._emscripten_enum_draco_DataType_DT_UINT8=t.asm.Cb).apply(null,arguments)},nn=t._emscripten_enum_draco_DataType_DT_INT16=function(){return(nn=t._emscripten_enum_draco_DataType_DT_INT16=t.asm.Db).apply(null,arguments)},on=t._emscripten_enum_draco_DataType_DT_UINT16=function(){return(on=t._emscripten_enum_draco_DataType_DT_UINT16=t.asm.Eb).apply(null,arguments)},_n=t._emscripten_enum_draco_DataType_DT_INT32=function(){return(_n=t._emscripten_enum_draco_DataType_DT_INT32=t.asm.Fb).apply(null,arguments)},pn=t._emscripten_enum_draco_DataType_DT_UINT32=function(){return(pn=t._emscripten_enum_draco_DataType_DT_UINT32=t.asm.Gb).apply(null,arguments)},an=t._emscripten_enum_draco_DataType_DT_INT64=function(){return(an=t._emscripten_enum_draco_DataType_DT_INT64=t.asm.Hb).apply(null,arguments)},un=t._emscripten_enum_draco_DataType_DT_UINT64=function(){return(un=t._emscripten_enum_draco_DataType_DT_UINT64=t.asm.Ib).apply(null,arguments)},sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(sn=t._emscripten_enum_draco_DataType_DT_FLOAT32=t.asm.Jb).apply(null,arguments)},cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(cn=t._emscripten_enum_draco_DataType_DT_FLOAT64=t.asm.Kb).apply(null,arguments)},ln=t._emscripten_enum_draco_DataType_DT_BOOL=function(){return(ln=t._emscripten_enum_draco_DataType_DT_BOOL=t.asm.Lb).apply(null,arguments)},yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(yn=t._emscripten_enum_draco_DataType_DT_TYPES_COUNT=t.asm.Mb).apply(null,arguments)},dn=t._emscripten_enum_draco_StatusCode_OK=function(){return(dn=t._emscripten_enum_draco_StatusCode_OK=t.asm.Nb).apply(null,arguments)},fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(fn=t._emscripten_enum_draco_StatusCode_DRACO_ERROR=t.asm.Ob).apply(null,arguments)},mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(mn=t._emscripten_enum_draco_StatusCode_IO_ERROR=t.asm.Pb).apply(null,arguments)},bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(bn=t._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=t.asm.Qb).apply(null,arguments)},hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(hn=t._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=t.asm.Rb).apply(null,arguments)},An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(An=t._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=t.asm.Sb).apply(null,arguments)};t._malloc=function(){return(t._malloc=t.asm.Tb).apply(null,arguments)},t._free=function(){return(t._free=t.asm.Ub).apply(null,arguments)};var En=function(){return(En=t.asm.Vb).apply(null,arguments)};t.___start_em_js=15856,t.___stop_em_js=15954;var hr;if(ft=function e(){hr||x(),hr||(ft=e)},t.preInit)for(typeof t.preInit=="function"&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();x(),j.prototype=Object.create(j.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},t.WrapperObject=j,t.getCache=O,t.wrapPointer=W,t.castObject=function(e,_){return W(e.ptr,_)},t.NULL=W(0),t.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete O(e.__class__)[e.ptr]},t.compare=function(e,_){return e.ptr===_.ptr},t.getPointer=function(e){return e.ptr},t.getClass=function(e){return e.__class__};var C={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(C.needed){for(var e=0;e<C.temps.length;e++)t._free(C.temps[e]);C.temps.length=0,t._free(C.buffer),C.buffer=0,C.size+=C.needed,C.needed=0}C.buffer||(C.size+=128,C.buffer=t._malloc(C.size),C.buffer||s(void 0)),C.pos=0},alloc:function(e,_){return C.buffer||s(void 0),e=e.length*_.BYTES_PER_ELEMENT,e=e+7&-8,C.pos+e>=C.size?(0<e||s(void 0),C.needed+=e,_=t._malloc(e),C.temps.push(_)):(_=C.buffer+C.pos,C.pos+=e),_},copy:function(e,_,p){switch(p>>>=0,_.BYTES_PER_ELEMENT){case 2:p>>>=1;break;case 4:p>>>=2;break;case 8:p>>>=3}for(var h=0;h<e.length;h++)_[p+h]=e[h]}};return et.prototype=Object.create(j.prototype),et.prototype.constructor=et,et.prototype.__class__=et,et.__cache__={},t.VoidPtr=et,et.prototype.__destroy__=et.prototype.__destroy__=function(){Ft(this.ptr)},Y.prototype=Object.create(j.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},t.DecoderBuffer=Y,Y.prototype.Init=Y.prototype.Init=function(e,_){var p=this.ptr;C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),Ct(p,e,_)},Y.prototype.__destroy__=Y.prototype.__destroy__=function(){Lt(this.ptr)},H.prototype=Object.create(j.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},t.AttributeTransformData=H,H.prototype.transform_type=H.prototype.transform_type=function(){return Bt(this.ptr)},H.prototype.__destroy__=H.prototype.__destroy__=function(){zt(this.ptr)},F.prototype=Object.create(j.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},t.GeometryAttribute=F,F.prototype.__destroy__=F.prototype.__destroy__=function(){Wt(this.ptr)},P.prototype=Object.create(j.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},t.PointAttribute=P,P.prototype.size=P.prototype.size=function(){return Qt(this.ptr)},P.prototype.GetAttributeTransformData=P.prototype.GetAttributeTransformData=function(){return W(Ht(this.ptr),H)},P.prototype.attribute_type=P.prototype.attribute_type=function(){return Yt(this.ptr)},P.prototype.data_type=P.prototype.data_type=function(){return kt(this.ptr)},P.prototype.num_components=P.prototype.num_components=function(){return qt(this.ptr)},P.prototype.normalized=P.prototype.normalized=function(){return!!Xt(this.ptr)},P.prototype.byte_stride=P.prototype.byte_stride=function(){return $t(this.ptr)},P.prototype.byte_offset=P.prototype.byte_offset=function(){return Kt(this.ptr)},P.prototype.unique_id=P.prototype.unique_id=function(){return Jt(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Zt(this.ptr)},U.prototype=Object.create(j.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},t.AttributeQuantizationTransform=U,U.prototype.InitFromAttribute=U.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!ee(_,e)},U.prototype.quantization_bits=U.prototype.quantization_bits=function(){return re(this.ptr)},U.prototype.min_value=U.prototype.min_value=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),ne(_,e)},U.prototype.range=U.prototype.range=function(){return oe(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){_e(this.ptr)},V.prototype=Object.create(j.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},t.AttributeOctahedronTransform=V,V.prototype.InitFromAttribute=V.prototype.InitFromAttribute=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),!!pe(_,e)},V.prototype.quantization_bits=V.prototype.quantization_bits=function(){return ae(this.ptr)},V.prototype.__destroy__=V.prototype.__destroy__=function(){ue(this.ptr)},B.prototype=Object.create(j.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},t.PointCloud=B,B.prototype.num_attributes=B.prototype.num_attributes=function(){return ce(this.ptr)},B.prototype.num_points=B.prototype.num_points=function(){return le(this.ptr)},B.prototype.__destroy__=B.prototype.__destroy__=function(){ye(this.ptr)},w.prototype=Object.create(j.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},t.Mesh=w,w.prototype.num_faces=w.prototype.num_faces=function(){return fe(this.ptr)},w.prototype.num_attributes=w.prototype.num_attributes=function(){return me(this.ptr)},w.prototype.num_points=w.prototype.num_points=function(){return be(this.ptr)},w.prototype.__destroy__=w.prototype.__destroy__=function(){he(this.ptr)},G.prototype=Object.create(j.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},t.Metadata=G,G.prototype.__destroy__=G.prototype.__destroy__=function(){Ee(this.ptr)},g.prototype=Object.create(j.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},t.Status=g,g.prototype.code=g.prototype.code=function(){return Ie(this.ptr)},g.prototype.ok=g.prototype.ok=function(){return!!Te(this.ptr)},g.prototype.error_msg=g.prototype.error_msg=function(){return c(ge(this.ptr))},g.prototype.__destroy__=g.prototype.__destroy__=function(){je(this.ptr)},R.prototype=Object.create(j.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},t.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),De(_,e)},R.prototype.size=R.prototype.size=function(){return Me(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Pe(this.ptr)},N.prototype=Object.create(j.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},t.DracoInt8Array=N,N.prototype.GetValue=N.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Oe(_,e)},N.prototype.size=N.prototype.size=function(){return Ge(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Re(this.ptr)},n.prototype=Object.create(j.prototype),n.prototype.constructor=n,n.prototype.__class__=n,n.__cache__={},t.DracoUInt8Array=n,n.prototype.GetValue=n.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Fe(_,e)},n.prototype.size=n.prototype.size=function(){return Ue(this.ptr)},n.prototype.__destroy__=n.prototype.__destroy__=function(){Ce(this.ptr)},X.prototype=Object.create(j.prototype),X.prototype.constructor=X,X.prototype.__class__=X,X.__cache__={},t.DracoInt16Array=X,X.prototype.GetValue=X.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),we(_,e)},X.prototype.size=X.prototype.size=function(){return Be(this.ptr)},X.prototype.__destroy__=X.prototype.__destroy__=function(){ze(this.ptr)},q.prototype=Object.create(j.prototype),q.prototype.constructor=q,q.prototype.__class__=q,q.__cache__={},t.DracoUInt16Array=q,q.prototype.GetValue=q.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),We(_,e)},q.prototype.size=q.prototype.size=function(){return Ve(this.ptr)},q.prototype.__destroy__=q.prototype.__destroy__=function(){Qe(this.ptr)},$.prototype=Object.create(j.prototype),$.prototype.constructor=$,$.prototype.__class__=$,$.__cache__={},t.DracoInt32Array=$,$.prototype.GetValue=$.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Ye(_,e)},$.prototype.size=$.prototype.size=function(){return ke(this.ptr)},$.prototype.__destroy__=$.prototype.__destroy__=function(){qe(this.ptr)},K.prototype=Object.create(j.prototype),K.prototype.constructor=K,K.prototype.__class__=K,K.__cache__={},t.DracoUInt32Array=K,K.prototype.GetValue=K.prototype.GetValue=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),$e(_,e)},K.prototype.size=K.prototype.size=function(){return Ke(this.ptr)},K.prototype.__destroy__=K.prototype.__destroy__=function(){Je(this.ptr)},z.prototype=Object.create(j.prototype),z.prototype.constructor=z,z.prototype.__class__=z,z.__cache__={},t.MetadataQuerier=z,z.prototype.HasEntry=z.prototype.HasEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),!!tr(p,e,_)},z.prototype.GetIntEntry=z.prototype.GetIntEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),er(p,e,_)},z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(e,_,p){var h=this.ptr;C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p&&typeof p=="object"&&(p=p.ptr),rr(h,e,_,p)},z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),nr(p,e,_)},z.prototype.GetStringEntry=z.prototype.GetStringEntry=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),c(or(p,e,_))},z.prototype.NumEntries=z.prototype.NumEntries=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_r(_,e)},z.prototype.GetEntryName=z.prototype.GetEntryName=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),c(ir(p,e,_))},z.prototype.__destroy__=z.prototype.__destroy__=function(){pr(this.ptr)},E.prototype=Object.create(j.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},t.Decoder=E,E.prototype.DecodeArrayToPointCloud=E.prototype.DecodeArrayToPointCloud=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(ur(h,e,_,p),g)},E.prototype.DecodeArrayToMesh=E.prototype.DecodeArrayToMesh=function(e,_,p){var h=this.ptr;return C.prepare(),typeof e=="object"&&(e=it(e)),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),W(sr(h,e,_,p),g)},E.prototype.GetAttributeId=E.prototype.GetAttributeId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),cr(p,e,_)},E.prototype.GetAttributeIdByName=E.prototype.GetAttributeIdByName=function(e,_){var p=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),lr(p,e,_)},E.prototype.GetAttributeIdByMetadataEntry=E.prototype.GetAttributeIdByMetadataEntry=function(e,_,p){var h=this.ptr;return C.prepare(),e&&typeof e=="object"&&(e=e.ptr),_=_&&typeof _=="object"?_.ptr:k(_),p=p&&typeof p=="object"?p.ptr:k(p),yr(h,e,_,p)},E.prototype.GetAttribute=E.prototype.GetAttribute=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Et(p,e,_),P)},E.prototype.GetAttributeByUniqueId=E.prototype.GetAttributeByUniqueId=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(T(p,e,_),P)},E.prototype.GetMetadata=E.prototype.GetMetadata=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),W(r(_,e),G)},E.prototype.GetAttributeMetadata=E.prototype.GetAttributeMetadata=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(o(p,e,_),G)},E.prototype.GetFaceFromMesh=E.prototype.GetFaceFromMesh=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!i(h,e,_,p)},E.prototype.GetTriangleStripsFromMesh=E.prototype.GetTriangleStripsFromMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),u(p,e,_)},E.prototype.GetTrianglesUInt16Array=E.prototype.GetTrianglesUInt16Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!d(h,e,_,p)},E.prototype.GetTrianglesUInt32Array=E.prototype.GetTrianglesUInt32Array=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!I(h,e,_,p)},E.prototype.GetAttributeFloat=E.prototype.GetAttributeFloat=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!dr(h,e,_,p)},E.prototype.GetAttributeFloatForAllPoints=E.prototype.GetAttributeFloatForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Mr(h,e,_,p)},E.prototype.GetAttributeIntForAllPoints=E.prototype.GetAttributeIntForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Pr(h,e,_,p)},E.prototype.GetAttributeInt8ForAllPoints=E.prototype.GetAttributeInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Sr(h,e,_,p)},E.prototype.GetAttributeUInt8ForAllPoints=E.prototype.GetAttributeUInt8ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Or(h,e,_,p)},E.prototype.GetAttributeInt16ForAllPoints=E.prototype.GetAttributeInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Gr(h,e,_,p)},E.prototype.GetAttributeUInt16ForAllPoints=E.prototype.GetAttributeUInt16ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Rr(h,e,_,p)},E.prototype.GetAttributeInt32ForAllPoints=E.prototype.GetAttributeInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Nr(h,e,_,p)},E.prototype.GetAttributeUInt32ForAllPoints=E.prototype.GetAttributeUInt32ForAllPoints=function(e,_,p){var h=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),!!Fr(h,e,_,p)},E.prototype.GetAttributeDataArrayForAllPoints=E.prototype.GetAttributeDataArrayForAllPoints=function(e,_,p,h,D){var L=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),p&&typeof p=="object"&&(p=p.ptr),h&&typeof h=="object"&&(h=h.ptr),D&&typeof D=="object"&&(D=D.ptr),!!Ur(L,e,_,p,h,D)},E.prototype.SkipAttributeTransform=E.prototype.SkipAttributeTransform=function(e){var _=this.ptr;e&&typeof e=="object"&&(e=e.ptr),Cr(_,e)},E.prototype.GetEncodedGeometryType_Deprecated=E.prototype.GetEncodedGeometryType_Deprecated=function(e){var _=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),Lr(_,e)},E.prototype.DecodeBufferToPointCloud=E.prototype.DecodeBufferToPointCloud=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(wr(p,e,_),g)},E.prototype.DecodeBufferToMesh=E.prototype.DecodeBufferToMesh=function(e,_){var p=this.ptr;return e&&typeof e=="object"&&(e=e.ptr),_&&typeof _=="object"&&(_=_.ptr),W(Br(p,e,_),g)},E.prototype.__destroy__=E.prototype.__destroy__=function(){zr(this.ptr)},(function(){function e(){t.ATTRIBUTE_INVALID_TRANSFORM=xr(),t.ATTRIBUTE_NO_TRANSFORM=Wr(),t.ATTRIBUTE_QUANTIZATION_TRANSFORM=Vr(),t.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Qr(),t.INVALID=Hr(),t.POSITION=Yr(),t.NORMAL=kr(),t.COLOR=qr(),t.TEX_COORD=Xr(),t.GENERIC=$r(),t.INVALID_GEOMETRY_TYPE=Kr(),t.POINT_CLOUD=Jr(),t.TRIANGULAR_MESH=Zr(),t.DT_INVALID=tn(),t.DT_INT8=en(),t.DT_UINT8=rn(),t.DT_INT16=nn(),t.DT_UINT16=on(),t.DT_INT32=_n(),t.DT_UINT32=pn(),t.DT_INT64=an(),t.DT_UINT64=un(),t.DT_FLOAT32=sn(),t.DT_FLOAT64=cn(),t.DT_BOOL=ln(),t.DT_TYPES_COUNT=yn(),t.OK=dn(),t.DRACO_ERROR=fn(),t.IO_ERROR=mn(),t.INVALID_PARAMETER=bn(),t.UNSUPPORTED_VERSION=hn(),t.UNKNOWN_VERSION=An()}Nt?e():Mt.unshift(e)})(),typeof t.onModuleParsed=="function"&&t.onModuleParsed(),t.Decoder.prototype.GetEncodedGeometryType=function(e){if(e.__class__&&e.__class__===t.DecoderBuffer)return t.Decoder.prototype.GetEncodedGeometryType_Deprecated(e);if(8>e.byteLength)return t.INVALID_GEOMETRY_TYPE;switch(e[7]){case 0:return t.POINT_CLOUD;case 1:return t.TRIANGULAR_MESH;default:return t.INVALID_GEOMETRY_TYPE}},f.ready}})();ut.exports=st})(Er)),Er.exports}var Dr,jn;function Rn(){if(jn)return Dr;jn=1;var ut=Sn(),Tt=Gn();return Dr={createEncoderModule:ut,createDecoderModule:Tt},Dr}var vn=Rn();const Nn=Dn(vn),Cn=Mn({__proto__:null,default:Nn},[vn]);export{Cn as d};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dX as i}from"./index-GIL7oGEO.js";import{createAudioSystemAdapter as m,releaseAudioMeters as n}from"./first-party-audio-system-DxnGJOER.js";import{setupAudio as p}from"./setup-audio-S8GQF91f.js";import{aK as s}from"./three.module-D396a9Mn.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./bus-mixer-CGfWDP3C.js";import"./pose-guard-6Osb2cFu.js";function d(o=new s){const t=p(o),r=m(t);let e=!1;return i(r),()=>{e||(e=!0,n(r),i(null),t.listener.gain.disconnect(),t.mixer.disconnect(),o.remove(t.listener))}}const C="workspace.service";function K(){return d()}export{C as point,K as start};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ft as M,V as h,aj as S,fu as z,fv as k,eh as I,fw as P,bX as A,b8 as H,fx as y,fy as C,fz as F,fA as N,aF as _,fB as B,fC as W,fD as $}from"./index-GIL7oGEO.js";const x={transform:!1,inspectorFields:!1,persist:!1};class D{capabilities=x;provenance={source:"boundary",label:"read-only",detail:"Declared world without a live editing surface in this viewport — disclosed, not simulated; rows are read-only."};world;reason;store;pickable;constructor(e,t,i,n){this.store=e,this.world=t,this.reason=i??null,n&&(this.pickable={pick:n})}get label(){return this.world.entryOrScenePath?.split("/").pop()??this.world.id}get node(){return{id:this.world.id,label:this.label,secondaryLabel:this.reason?"Unavailable":"Read-only",role:"boundary",kind:this.world.kind,parentId:null,childIds:[]}}hierarchy={roots:()=>[this.node],node:e=>e===this.world.id?this.node:null};selection={get:()=>[...this.store.selectedEntityIds],set:e=>this.store.selectMultiple(e)};inspector={properties:e=>{if(e!==this.world.id)return[];const t=[{path:"kind",label:"Kind",type:"string",readonly:!0}];return this.world.adapter!==void 0&&t.push({path:"adapter",label:"Adapter",type:"string",readonly:!0}),this.world.entryOrScenePath!==void 0&&t.push({path:"path",label:"Entry / Scene",type:"string",readonly:!0}),t.push({path:"zOrder",label:"Z Order",type:"number",readonly:!0},{path:"pausable",label:"Pausable",type:"boolean",readonly:!0}),this.reason&&t.push({path:"reason",label:"Reason",type:"string",readonly:!0}),t},get:(e,t)=>{if(e===this.world.id)switch(t){case"kind":return this.world.kind;case"adapter":return this.world.adapter;case"path":return this.world.entryOrScenePath;case"zOrder":return this.world.zOrder;case"pausable":return this.world.pausable;case"reason":return this.reason??void 0;default:return}},set:(e,t,i)=>{}}}const u=new WeakMap,T=new Set;function j(){for(const r of T)r()}function V(r){const e=(u.get(r)?.generation??0)+1;return u.set(r,{generation:e,settled:!1}),j(),()=>{const t=u.get(r);!t||t.generation!==e||t.settled||(u.set(r,{generation:e,settled:!0}),j())}}const G="(invalid manifest)";let w=!1,g=!1,b=!1,l=null;function f(){if(g||b||!w||!l)return;g=!0;const r=l;queueMicrotask(()=>{if(g=!1,l!==r){f();return}w=!1,b=!0,Promise.resolve().then(r).catch(e=>{h.error(`Edit-mode rebuild failed: ${e instanceof Error?e.message:String(e)}`,"authoring")}).finally(()=>{b=!1,f()})})}function Y(r){return l=r,f(),()=>{l===r&&(l=null)}}function ee(){w=!0,f()}const q=new Set(["three","canvas","dom"]);function d(r){return typeof r=="string"?r:void 0}function J(r){const e=r.world;if(!e||typeof e!="object")return;const t=d(e.entry);if(t)return{entry:t,export:d(e.export)}}function L(r){if(r!=null){if(typeof r=="string")return r;if(typeof r=="object"){const e=r;if(typeof e.module=="string")return`module:${e.module}`;const t=e.ingest;if(t&&typeof t=="object")return"ingest"}}}function K(r){if(!r||typeof r!="object")return null;const e=r.roots;return e===void 0||!Array.isArray(e)?null:{roots:e.map((i,n)=>{const s=i&&typeof i=="object"?i:{},a=s.zOrder,o=s.pausable;return{id:d(s.id)??`(world ${n})`,surface:(typeof s.adapter=="string"?d(s.adapter):void 0)??d(s.adapter&&typeof s.adapter=="object"?s.adapter.surface:void 0)??"(missing adapter surface)",adapter:L(s.adapter),scene:d(s.scene),entry:d(s.entry),zOrder:typeof a=="number"?a:void 0,pausable:typeof o=="boolean"?o:void 0,dev:s.dev===!0,world:J(s)}})}}function U(r){return q.has(r.surface)?!r.scene&&!r.entry?`World "${r.id}" declares neither \`scene\` nor \`entry\` — nothing to mount.`:null:`Unknown world surface "${r.surface}" — expected one of: three, canvas, react.`}function c(r,e){const t=r.roots;if(Array.isArray(t))return t.find(i=>!!i&&typeof i=="object"&&i.id===e)}function O(r,e){return c(r,e)}class Z{raw;synthesizedValue;store;fileHistory;unsubscribeHistory;constructor(e,t,i){this.raw=e,this.synthesizedValue=t,this.store=i;const n=i.projectHistory;this.fileHistory=n?H(n,y(),"project-manifest"):null,this.unsubscribeHistory=this.fileHistory?this.fileHistory.subscribeAll(s=>{s==="vgai.project.json"&&y().readBytes(s).then(a=>JSON.parse(new TextDecoder().decode(a))).then(a=>{for(const o of Object.keys(this.raw))delete this.raw[o];Object.assign(this.raw,a),this.store.notifyIngestEdit()}).catch(()=>{})}):null}getGameName(){const e=this.raw.name;return typeof e=="string"?e:""}get synthesized(){return this.synthesizedValue}setGameName(e){this.raw.name=e,this.persist("Rename Game")}getRootContentSource(e){const t=c(this.raw,e);if(!t)return;const i=t.scene;if(typeof i=="string")return`Scene · ${i}`;const n=t.entry;return typeof n=="string"?`Entry · ${n}`:"Adapter-owned runtime content"}getRootZOrder(e){const t=c(this.raw,e)?.zOrder;return typeof t=="number"?t:0}setRootZOrder(e,t){const i=O(this.raw,e);i&&(i.zOrder=t,this.persist("Change World Order"))}getRootPausable(e){const t=c(this.raw,e)?.pausable;return typeof t=="boolean"?t:!0}setRootPausable(e,t){const i=O(this.raw,e);i&&(i.pausable=t,this.persist("Change World Pausing"))}async materialize(){const e=await this.write("Create Game Manifest");return e&&(this.synthesizedValue=!1),e}dispose(){this.unsubscribeHistory?.()}persist(e){this.synthesized||this.write(e)}async write(e){const t=JSON.stringify(this.raw,null,2);try{if(this.fileHistory)return await this.fileHistory.write("vgai.project.json",t,{label:e,kind:"manifest",contentType:"application/json"}),this.store.notifyIngestEdit(),!0;const i=async()=>{const n=await fetch("/__editor/manifest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:"vgai.project.json",content:t,...C()})});F(n,"Write vgai.project.json failed"),n.ok||await N(n,{label:"Write vgai.project.json",attempted:{"vgai.project.json":t},reapply:i})};return await i(),this.store.notifyIngestEdit(),!0}catch(i){return this.fileHistory&&y().readBytes("vgai.project.json").then(n=>JSON.parse(new TextDecoder().decode(n))).then(n=>{for(const s of Object.keys(this.raw))delete this.raw[s];Object.assign(this.raw,n),this.store.notifyIngestEdit()}).catch(()=>{}),h.error(`Failed to write vgai.project.json: ${i}`,"project"),!1}}}let v=null;function X(r,e,t){const i=S(e).map(o=>{const p=o.zOrder??0,m=z(o.surface);if(m)return{worldId:o.id,kind:o.surface,adapter:m(r,o.id),zOrder:p};const R=U(o),E={id:o.id,kind:o.surface,adapter:o.adapter,entryOrScenePath:o.scene??o.entry,zOrder:p,pausable:o.pausable??!0};return{worldId:o.id,kind:o.surface,adapter:new D(r,E,R??void 0),zOrder:p}}),n=t&&i.length>=1?new Z(t.raw,t.synthesized,r):void 0;v=n??null;const s=k(_()?.config),a=new I(i,n,s);if(i.length>=1){if(B()&&!W())return h.warn("Edit-mode authoring not installed: a foreign session (ingest/play) owns the authoring override.","authoring"),a;P(a),A(a),r.notifyIngestEdit()}return a}function te(r){r&&$()===r&&A(null),v?.dispose(),v=null}async function re(r){const e=V(r);let t,i;try{const n=await M(),s=n!==null&&K(n);if(s)t=s,i={raw:n,synthesized:!1};else throw new Error("manifest has no `roots` array (zero roots is fine; a missing field is not)")}catch(n){const s=n instanceof Error?n.message:String(n);h.error(`Failed to load vgai.project.json: ${s}`,"project"),t={roots:[{id:"manifest",surface:G,adapter:s}]}}try{return X(r,t,i)}finally{e()}}export{D as B,G as I,Y as b,te as e,re as i,K as p,ee as q};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dY as r,aF as i,dZ as s}from"./index-GIL7oGEO.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./three.module-D396a9Mn.js";function c(){const t=(i()?.config.configurations??[]).find(o=>o.kind==="process"&&typeof o.port=="number");return t?{endpoint:`ws://${globalThis.location?.hostname||"localhost"}:${t.port}`}:null}const p=[],a={entities:0,msgsInPerSec:0,msgsOutPerSec:0};function l(t){return{peers:()=>p,networkId:()=>null,authority:()=>"local",editable:()=>!0,getConnectionState:()=>"disconnected",getRoomInfo:()=>null,getReplicationStats:()=>a,subscribe:()=>()=>{},getServerConfig:()=>t}}function n(){const t=c();return t?(r(l(t)),()=>r(null)):()=>{}}const w="workspace.service";function N(){let t=n();const e=s(()=>{t(),t=n()});return()=>{e(),t()}}export{w as point,N as start};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Z as e,a2 as r,ca as i,cb as a,cc as p,cd as m}from"./index-GIL7oGEO.js";import{ce as It,cf as $t,cg as Ot,ch as Ut,ci as Bt,cj as Ht,ck as qt,ba as Jt,cl as Mt,cm as Vt,cn as Zt,co as zt,cp as Kt,b6 as Nt,cq as Qt,cr as Xt,cs as Yt,ct as _t,cu as te,cv as ee,cw as re,cx as oe,cy as se,cz as ie,cA as ae,cB as pe,cC as me,cD as ce,cE as ne,cF as de,cG as le,cH as ge,cI as Ee,cJ as ue,cK as ye,cL as Se,cM as Pe,cN as be,cO as je,cP as ve,cQ as fe,cR as he,cS as ke,cT as Ae,cU as we,cV as Ce,cW as Re,cX as xe,cY as Fe,cZ as Le,c_ as We,b7 as Te,c$ as Ge,d0 as De,d1 as Ie,d2 as $e,d3 as Oe,d4 as Ue,d5 as Be,d6 as He}from"./index-GIL7oGEO.js";import{l as Je,m as Me,o as Ve}from"./play-mode-BFU2PCkG.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./three.module-D396a9Mn.js";import"./native-debug-module-CWicoSGD.js";import"./native-entry-surface-BE8LJNdu.js";import"./debug-registry-Dgvitx8M.js";import"./playtest-BXIL1JEF.js";import"./game-contract-seams-a5YXejOu.js";import"./instruments-CKR02Y8I.js";import"./frame-pacing-D5acoOzO.js";import"./edit-mode-authoring-B47TfLqu.js";import"./json-history-resource-BbxllWfV.js";import"./binding-resolver-Dsh-6Vor.js";import"./adapter-surface-Y37Nzcyw.js";import"./entry-adjudication-Cq8Yeb74.js";import"./r3f-root-factory-z9llD1OU.js";import"./register-render-vitals-BiZk29b2.js";import"./render-census-BrQX_CXv.js";import"./structural-signature-0w-i_ats.js";import"./render-vitals-BZ5HtvMi.js";import"./static-batch-advisor-B13QEH7d.js";import"./webgl-frame-capture-FlF9zQmW.js";import"./world-state-BWG-IcOd.js";import"./frame-selector-cache-cCeUbcjG.js";import"./dev-build-gDYrq68M.js";import"./game-input-seams-CIQdetRw.js";import"./seeded-random-i3mtgBKZ.js";import"./render-seed-DF4JHy7P.js";import"./frame-delta-D2nsw_Ht.js";import"./events-156d8d12.esm-ErOhDXXB.js";import"./index-bQE2NA0D.js";import"./realm-services-CobQsq_X.js";import"./canvas-entry-runtime-SfBxaR9M.js";import"./three-ingest-runtime-QzDYk6tU.js";import"./EffectComposer-DQxfsXBZ.js";import"./CopyShader-BzTUYzf6.js";import"./ShaderPass-QYRpPuFJ.js";import"./CSS3DRenderer-CL7ABLVK.js";import"./relative-path-guard-GiM7Lsz8.js";import"./capability-coverage-Czas4C18.js";import"./react-root-CEz5NTck.js";import"./editor-presentation-activity-C7SNSmTd.js";import"./active-ingest-CT6jSGhr.js";import"./ingest-source-persistence-C_6Hiyra.js";import"./pixi-story-model-DNkfnWUV.js";import"./surface-content-Dg9Kkazf.js";import"./viewport-root-presentation-CWsE56K6.js";import"./mounted-authoring-Dmg5xmhP.js";import"./three-CDSueJyJ.js";import"./viewport-pick-context-DkawXbEi.js";import"./logger-Dqis-7W1.js";import"./run-ticks-settled-C4ksViyA.js";import"./three-authoring-adapter-CmSQ3Vui.js";import"./source-persistence-backend-C-aR-B_Y.js";import"./three-projection-core-BmKMZ-nf.js";import"./body-marks-h_xDxiDE.js";import"./user-data-BB2Of6Ht.js";import"./object-marks-DwvIEBOK.js";import"./structural-ids-Dc-7rEwi.js";import"./object3d-authoring-subject-CH5sI2oP.js";import"./rapier-physics-adapter-CaZqWLu0.js";import"./r3f-physics-binding-BBo8oma9.js";import"./deferred-ingest-play-DCJi_Pgu.js";import"./rrweb-Cd2ifIRP.js";import"./react-world-authoring-adapter-DmrwM3py.js";import"./board-guides-DziKSTss.js";import"./writer-B-KovzkA.js";import"./story-arg-descriptors-Ek86ExX7.js";import"./inspect-BZfi3mmo.js";import"./inference-diagnostics-Dhmtfbq_.js";async function Lt(){try{const t=await fetch(`${e}/examples`);return(await r(t,`GET ${e}/examples failed`)).examples}catch{return[]}}function Wt(t){return t.startsWith("/")?t:`${e}/learn-thumbnail?file=${encodeURIComponent(t)}`}async function Tt(){const t=await fetch(`${e}/templates`);return(await r(t,`GET ${e}/templates failed`)).templates}export{It as AssetDeliveryError,m as abortGameplayRecordingSink,$t as adaptProjectFolder,Ot as appendGameplayRecordingAsset,a as appendGameplayRecordingChunk,Ut as appendGameplayRecordingDomEvents,Bt as archiveEditorWorktree,Ht as assetDeliveryIssueMessage,i as beginGameplayRecordingSink,qt as browseFolder,Jt as captureProjectAssetHistory,Mt as connectEvents,Vt as connectTabPresence,Zt as createEditorWorktree,zt as createProject,Kt as delegateEditorTask,Nt as downloadOnlineAsset,Je as endLogSession,Qt as exportIsolatedEditorWorktree,p as finishGameplayRecordingSink,Me as flushLogEntries,Xt as getAssetLibraryCategories,Yt as getCurrentServerProject,_t as getDownloadUrl,te as getDownloadedAssetPath,ee as getEditorCompatibility,re as getEditorRepositoryPresence,oe as getEditorSessionWorktreeIdentity,se as getLauncherSettings,ie as getOnlineAssetFiles,ae as getOnlineAssetPreview,pe as getServerValidationLog,me as inspectProjectFolder,ce as isolatedEditorWorktreeLogs,Wt as learnThumbnailUrl,ne as listAssets,de as listEditorWorktrees,Lt as listExamples,le as listProjectComponents,ge as listProjectSourceFiles,Ee as listRecentProjects,Tt as listTemplates,ue as loadDownloadedAssets,ye as loadEditorState,Se as onAssetDownloaded,Pe as openEditorWorktree,be as openProjectOnServer,je as pollEditorLeaseIdentity,ve as probeCurrentServerProject,fe as probeProjectFile,he as projectFileExists,ke as readProjectTextFile,Ae as removeRecentProject,we as reportCommandListener,Ce as reportCommandReceived,Re as reportCommandResult,xe as reportEditorState,Fe as reportPlayBootPhase,Le as reportTabRoute,We as requireEditorCompatibility,Te as restoreProjectAssetHistory,Ge as revealInFinder,De as saveEditorState,Ie as saveFile,$e as saveThumbnail,Oe as searchOnlineAssets,Ve as startLogSession,Ue as stopEditorWorktreeSession,Be as stopIsolatedEditorWorktree,He as updateLauncherSettings};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const i=20173;function c(n){return n>=2e4&&n<30100?n+1e4:n+100}function r(n){return n.startsWith("[")?n:n.includes(":")?`[${n}]`:n}function s(n,u){const t=(u??"").trim();return`http://${t===""||t==="0.0.0.0"||t==="::"||t==="[::]"?"127.0.0.1":r(t)}:${n}`}export{i as DEFAULT_EDITOR_PORT,c as editorHmrPort,s as editorOrigin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={hostActive:!0,listeners:new Set};function o(){return t.hostActive&&(typeof document>"u"||!document.hidden)}function n(){for(const e of t.listeners)e()}const i=typeof document<"u"&&document.referrer?new URL(document.referrer).origin:null;function r(e){window.parent===window||e.source!==window.parent||!i||e.origin!==i||e.data?.type!=="vgai:embed-activity"||typeof e.data.active!="boolean"||t.hostActive!==e.data.active&&(t.hostActive=e.data.active,n())}function d(e){return t.listeners.add(e),()=>{t.listeners.delete(e)}}typeof window<"u"&&(window.addEventListener("message",r),document.addEventListener("visibilitychange",n),window.parent!==window&&i&&window.parent.postMessage({type:"vgai:request-embed-activity"},i));export{o as i,d as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{resolveR3FEntryAdapter as u}from"./r3f-root-factory-z9llD1OU.js";import{Q as c,dx as p,dy as s}from"./index-GIL7oGEO.js";let o=null;async function d(){const[e,t]=await Promise.all([import(p),import(s)]);if(typeof e.resolveR3FEntryAdapter!="function")throw new Error("The packaged runtime's synthetic R3F entry module did not export `resolveR3FEntryAdapter` — see R3F_ENTRY_DOORWAY in vite-plugin-module-doorways.ts.");if(typeof t.projectThree!="object"||t.projectThree===null)throw new Error("The packaged runtime's synthetic R3F module did not export `projectThree` — see R3F_DOORWAY in vite-plugin-module-doorways.ts.");return{resolve:e.resolveR3FEntryAdapter,projectThree:t.projectThree}}function l(e,t){return{id:e.id,mount(r){return e.mount({...r,three:t})}}}async function a(e,t){if(!await c())return u(e,t);o||(o=d());const r=await o,n=r.resolve(e,t);return n?l(n,r.projectThree):null}function f(e){if(e===null||typeof e!="object")return!1;const t=e;return typeof t.id=="string"&&t.id.length>0&&typeof t.mount=="function"}async function m(e,t,r){const n=r?.namedExport;if(n!==void 0){const i=e[n];if(typeof i!="function")throw new Error(`three root "${t}": ${r?.entryPath??"the entry module"} has no exported component "${n}" (manifest \`world.export\`) — it exports ${Object.keys(e).join(", ")||"(nothing)"}.`);return a({default:i},t)}return f(e.adapter)?e.adapter:a(e,t)}export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function s(t,i,o){const r=[];t.traverse(n=>{(n.layers.mask&i)===0&&(r.push({object:n,visible:n.visible}),n.visible=!1)});try{o()}finally{for(const n of r)n.object.visible=n.visible}}function a(t,i,o){if(i){o();return}const r=[];t.traverse(n=>{const e=n;!e.isLight||e.shadow===void 0||(r.push({shadow:e.shadow,intensity:e.shadow.intensity}),e.shadow.intensity=0)});try{o()}finally{for(const n of r)n.shadow.intensity=n.intensity}}function u(t,i,o){if(i){o();return}const r=t.background,n=t.environment;t.background=null,t.environment=null;try{o()}finally{t.background=r,t.environment=n}}function d(t){const i=t;return typeof i.compile=="function"&&i.coordinateSystem!==void 0}export{d as canCaptureEnvironment,s as withCaptureMask,u as withCaptureSceneEnvironment,a as withCaptureShadows};
|
|
Binary file
|