@realsee/five-webgpu 1.0.0-alpha.12 → 1.0.0-alpha.14
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/_virtual/_rolldown/runtime.js +3 -3
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/index.AdaptiveLuminancePass.html +1 -1
- package/docs/classes/index.BoundingMesh.html +1 -1
- package/docs/classes/index.Camera.html +1 -1
- package/docs/classes/index.EyeDomeLightingPass.html +1 -1
- package/docs/classes/index.Five.html +41 -32
- package/docs/classes/index.FivePass.html +1 -1
- package/docs/classes/index.FiveRenderer.html +7 -2
- package/docs/classes/index.FlowingFireworks3DPass.html +1 -1
- package/docs/classes/index.FlowingLight2DPass.html +1 -1
- package/docs/classes/index.FlowingLight3DPass.html +1 -1
- package/docs/classes/index.GaussianBlurPass.html +1 -1
- package/docs/classes/index.InternalWebGPURenderer.html +4 -5
- package/docs/classes/index.Model.html +1 -1
- package/docs/classes/index.ModelScene.html +1 -1
- package/docs/classes/index.NetworkSubscribe.html +1 -1
- package/docs/classes/index.PBMCustomNode.html +1 -1
- package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +9 -9
- package/docs/classes/index.PBMGaussianSplattingObject.html +49 -11
- package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +71 -16
- package/docs/classes/index.PBMGroup.html +1 -1
- package/docs/classes/index.PBMMesh.html +1 -1
- package/docs/classes/index.PBMMeshBasicMaterial.html +1 -1
- package/docs/classes/index.PBMMeshBasicNodeMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPhongMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPhongNodeMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPhysicalMaterial.html +1 -1
- package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +1 -1
- package/docs/classes/index.PBMPanoFilter.html +1 -1
- package/docs/classes/index.PBMPointCloud.html +1 -1
- package/docs/classes/index.PBMPointCloudMaterial.html +1 -1
- package/docs/classes/index.PBMSkinnedMesh.html +1 -1
- package/docs/classes/index.PBMUpdateable.html +1 -1
- package/docs/classes/index.PanoCircleMesh.html +1 -1
- package/docs/classes/index.PanoCircleMeshCustom.html +1 -1
- package/docs/classes/index.PanoCircleMeshSolid.html +1 -1
- package/docs/classes/index.Parameter.html +24 -22
- package/docs/classes/index.Scene.html +1 -1
- package/docs/classes/index.Subscribe.html +1 -1
- package/docs/classes/index.Tile3D.html +22 -22
- package/docs/classes/index.TileNode.html +2 -2
- package/docs/classes/index.TrajectoryNode.html +1 -1
- package/docs/classes/index.Work.html +15 -22
- package/docs/classes/index.WorkResolvedObserver.html +22 -22
- package/docs/functions/index.createWorks.html +1 -1
- package/docs/functions/index.parseWork.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/index.AddableObject.html +1 -1
- package/docs/interfaces/index.AjaxOptions.html +1 -1
- package/docs/interfaces/index.BaseEvent.html +1 -1
- package/docs/interfaces/index.Clock.html +1 -1
- package/docs/interfaces/index.DeviceProfile.html +2 -2
- package/docs/interfaces/index.EventCallback.html +3 -3
- package/docs/interfaces/index.GestureEvent.html +1 -1
- package/docs/interfaces/index.IPBMMaterial.html +1 -1
- package/docs/interfaces/index.ImageOptions.html +1 -1
- package/docs/interfaces/index.IntersectEvent.html +1 -1
- package/docs/interfaces/index.IntersectMesh.html +1 -1
- package/docs/interfaces/index.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/index.Intersection.html +1 -1
- package/docs/interfaces/index.LooseWorkWithExtrinsics.html +8 -8
- package/docs/interfaces/index.ModeChangeEvent.html +1 -1
- package/docs/interfaces/index.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ModelEvent.html +1 -1
- package/docs/interfaces/index.ModelSceneEvent.html +1 -1
- package/docs/interfaces/index.ModelTileEvent.html +1 -1
- package/docs/interfaces/index.MovePanoOptions.html +1 -1
- package/docs/interfaces/index.NetworkAbortError.html +1 -1
- package/docs/interfaces/index.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/index.NetworkOptions.html +1 -1
- package/docs/interfaces/index.NetworkProxyError.html +1 -1
- package/docs/interfaces/index.NetworkResourceEvent.html +1 -1
- package/docs/interfaces/index.NetworkResponseError.html +1 -1
- package/docs/interfaces/index.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/index.ObjectEvent.html +1 -1
- package/docs/interfaces/index.PBMGaussianSplattingNodeMaterialOptions.html +3 -3
- package/docs/interfaces/index.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/index.PanoEvent.html +1 -1
- package/docs/interfaces/index.PanoPrepareEvent.html +1 -1
- package/docs/interfaces/index.PanoTextureEvent.html +1 -1
- package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ParameterMaterialValue.html +8 -6
- package/docs/interfaces/index.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/index.ParameterValue.html +21 -19
- package/docs/interfaces/index.Pose.html +1 -1
- package/docs/interfaces/index.RenderEvent.html +1 -1
- package/docs/interfaces/index.ResolvedParameterValue.html +22 -20
- package/docs/interfaces/index.SplatData.html +10 -6
- package/docs/interfaces/index.State.html +1 -1
- package/docs/interfaces/index.StateEvent.html +1 -1
- package/docs/interfaces/index.TextureOptions.html +1 -1
- package/docs/interfaces/index.Tile3DOptions.html +2 -2
- package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.VRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ViewLayer.html +22 -22
- package/docs/interfaces/index.WorkCubeHdrGainmapImage.html +2 -2
- package/docs/interfaces/index.WorkCubeImage.html +2 -2
- package/docs/interfaces/index.WorkImage.html +5 -5
- package/docs/interfaces/index.WorkInitial.html +8 -8
- package/docs/interfaces/index.WorkInitialJson.html +2 -2
- package/docs/interfaces/index.WorkJson.html +2 -4
- package/docs/interfaces/index.WorkModel.html +8 -8
- package/docs/interfaces/index.WorkModelJson.html +2 -2
- package/docs/interfaces/index.WorkModelLayer.html +6 -6
- package/docs/interfaces/index.WorkModelLayerJson.html +2 -2
- package/docs/interfaces/index.WorkObserver.html +23 -23
- package/docs/interfaces/index.WorkObserverJson.html +2 -2
- package/docs/interfaces/index.WorkPanoramaJson.html +2 -2
- package/docs/interfaces/index.WorkPanoramasJson.html +2 -2
- package/docs/interfaces/index.WorkTile.html +5 -5
- package/docs/interfaces/index.WorkVideo.html +4 -4
- package/docs/interfaces/index.WorksEvent.html +1 -1
- package/docs/interfaces/index.XRControllerEvent.html +1 -1
- package/docs/interfaces/index.XRGestureEvent.html +2 -2
- package/docs/interfaces/index.XRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.XRSessionEvent.html +1 -1
- package/docs/modules/index.html +1 -1
- package/docs/types/index.LegacyEventType.html +3 -3
- package/docs/types/index.OutputTextureDataType.html +1 -1
- package/docs/types/index.ParseOptions.html +8 -8
- package/docs/types/index.PointCloudTransparencyMode.html +2 -0
- package/docs/types/index.Works.html +1 -1
- package/docs/variables/index.loadAt3d.html +2 -0
- package/docs/variables/index.loadDome.html +2 -0
- package/docs/variables/index.loadDomez.html +2 -0
- package/docs/variables/index.loadGltf.html +2 -0
- package/docs/variables/index.loadPbm.html +2 -0
- package/docs/variables/index.loadPly.html +2 -0
- package/five/application/five.d.ts +13 -0
- package/five/chunks/at3d.js +338 -0
- package/five/chunks/at3d.mjs +338 -0
- package/five/chunks/dome.js +338 -0
- package/five/chunks/dome.mjs +338 -0
- package/five/chunks/domez.js +338 -0
- package/five/chunks/domez.mjs +338 -0
- package/five/chunks/fbx.js +338 -0
- package/five/chunks/fbx.mjs +338 -0
- package/five/chunks/fflate.js +338 -0
- package/five/chunks/fflate.mjs +338 -0
- package/five/chunks/glTF-helpers.js +804 -0
- package/five/chunks/glTF-helpers.mjs +804 -0
- package/five/chunks/gltf.js +338 -0
- package/five/chunks/gltf.mjs +338 -0
- package/five/chunks/imageBitmap.js +338 -0
- package/five/chunks/imageBitmap.mjs +338 -0
- package/five/chunks/imageSupport.js +338 -0
- package/five/chunks/imageSupport.mjs +338 -0
- package/five/chunks/lzma.js +383 -0
- package/five/chunks/lzma.mjs +383 -0
- package/five/chunks/memoryUsage.js +339 -0
- package/five/chunks/memoryUsage.mjs +339 -0
- package/five/chunks/minimal.js +338 -0
- package/five/chunks/minimal.mjs +338 -0
- package/five/chunks/pbm.js +338 -0
- package/five/chunks/pbm.mjs +338 -0
- package/five/chunks/pbmGaussianSplattingObject.js +338 -0
- package/five/chunks/pbmGaussianSplattingObject.mjs +338 -0
- package/five/chunks/pbmMeshMaterial.js +338 -0
- package/five/chunks/pbmMeshMaterial.mjs +338 -0
- package/five/chunks/pick.js +338 -0
- package/five/chunks/pick.mjs +338 -0
- package/five/chunks/ply.js +339 -0
- package/five/chunks/ply.mjs +339 -0
- package/five/chunks/spz.js +364 -0
- package/five/chunks/spz.mjs +364 -0
- package/five/controllers/xrPanorama.d.ts +13 -0
- package/five/core/internalWebGPURenderer.d.ts +0 -3
- package/five/core/panoVideo.d.ts +2 -0
- package/five/core/webglBlendEquationFix.d.ts +41 -0
- package/five/gaussian-splatting/arena/splatArena.d.ts +227 -0
- package/five/gaussian-splatting/cullConstants.d.ts +68 -0
- package/five/gaussian-splatting/hybridConstants.d.ts +60 -0
- package/five/gaussian-splatting/instancePacking.d.ts +46 -0
- package/five/gaussian-splatting/mirrors/layoutMirror.d.ts +44 -0
- package/five/gaussian-splatting/mirrors/mirrorBuffer.d.ts +72 -0
- package/five/gaussian-splatting/mirrors/mirrorSet.d.ts +17 -0
- package/five/gaussian-splatting/mirrors/objectParamsMirror.d.ts +35 -0
- package/five/gaussian-splatting/mirrors/transformMirror.d.ts +26 -0
- package/five/gaussian-splatting/pipelines/gpuSortPipeline.d.ts +5 -31
- package/five/gaussian-splatting/pipelines/pipelineMode.d.ts +1 -2
- package/five/gaussian-splatting/sh-core/codec.d.ts +13 -0
- package/five/gaussian-splatting/sh-core/constants.d.ts +29 -0
- package/five/gaussian-splatting/sh-core/index.d.ts +4 -0
- package/five/gaussian-splatting/sh-core/rebakePolicy.d.ts +20 -0
- package/five/gaussian-splatting/sh-core/texelRange.d.ts +18 -0
- package/five/gaussian-splatting/shAssembler.d.ts +14 -0
- package/five/gaussian-splatting/shBakeScheduler.d.ts +26 -0
- package/five/gaussian-splatting/shBaker.d.ts +44 -0
- package/five/gaussian-splatting/shTileResource.d.ts +22 -0
- package/five/gaussian-splatting/splatAssembler.d.ts +1 -1
- package/five/gaussian-splatting/transformStore.d.ts +2 -2
- package/five/gaussian-splatting/worker/decodeWorker.d.ts +72 -0
- package/five/index.d.ts +0 -1
- package/five/index.js +138 -640
- package/five/index.mjs +229 -29261
- package/five/model/index.d.ts +18 -6
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +1 -1
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz_2.d.ts +1 -1
- package/five/model/loaders/ply.d.ts +22 -6
- package/five/model/loaders/spz.d.ts +9 -49
- package/five/model/loaders/spz.worker.d.ts +37 -0
- package/five/model/materials/pbmGaussianSplattingNodeMaterial.d.ts +6 -12
- package/five/model/objects/pbmGaussianSplattingObject.d.ts +91 -6
- package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +357 -15
- package/five/model/parameter.d.ts +4 -0
- package/five/renderer/compute-renderers/binned/binned-core.d.ts +45 -2
- package/five/renderer/compute-renderers/binned/binned-pipelines.d.ts +82 -1
- package/five/renderer/compute-renderers/color-space.d.ts +13 -0
- package/five/renderer/compute-renderers/composite-pipelines.d.ts +36 -0
- package/five/renderer/compute-renderers/frame-plan.d.ts +166 -0
- package/five/renderer/compute-renderers/gsplat-hybrid-renderer.d.ts +386 -0
- package/five/renderer/compute-renderers/pointcloud-compute-renderer.d.ts +101 -16
- package/five/renderer/compute-renderers/shaders/composite-blend.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/gsplatHybridIndirect.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/gsplatProjector.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/gsplatQuad.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/lib/write-additive.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/lib/write-blend.d.ts +2 -0
- package/five/renderer/compute-renderers/shaders/lib/write-opaque.d.ts +2 -0
- package/five/renderer/compute-renderers/tile-uniform-writer.d.ts +70 -0
- package/five/renderer/compute-renderers/transparency-buffers.d.ts +59 -0
- package/five/renderer/compute-renderers/transparency-math.d.ts +70 -0
- package/five/renderer/compute-renderers/transparency-settings.d.ts +24 -0
- package/five/renderer/compute-renderers/uniform-layout.d.ts +11 -2
- package/five/renderer/five-renderer.d.ts +28 -3
- package/five/renderer/index.d.ts +1 -1
- package/five/renderer/postprocessing/passes/pass.js +3 -3
- package/five/renderer/postprocessing/passes/pass.mjs +3 -3
- package/five/renderer/tools/full-screen-quad.js +3 -3
- package/five/renderer/tools/full-screen-quad.mjs +3 -3
- package/five/texture/videoTextureBridge.d.ts +152 -0
- package/five/thirdparty/sha256.d.ts +149 -0
- package/five/utils/calculateThreeMouse.js +3 -3
- package/five/utils/calculateThreeMouse.mjs +3 -3
- package/five/utils/distance.js +3 -3
- package/five/utils/distance.mjs +3 -3
- package/five/utils/isNil.js +3 -3
- package/five/utils/isNil.mjs +3 -3
- package/five/utils/memoryUsage.d.ts +1 -1
- package/five/utils/uuid.js +3 -3
- package/five/utils/uuid.mjs +3 -3
- package/five/work/work.d.ts +0 -7
- package/five/work/workJsonType.d.ts +0 -2
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +3 -50
- package/line/index.js +3 -3
- package/line/index.mjs +3 -88
- package/package.json +1 -1
- package/plugins/BackgroundPlugin/Controller.js +4 -4
- package/plugins/BackgroundPlugin/Controller.mjs +4 -4
- package/plugins/BackgroundPlugin/index.js +3 -3
- package/plugins/BackgroundPlugin/index.mjs +3 -3
- package/plugins/BasePlugin/index.js +3 -3
- package/plugins/BasePlugin/index.mjs +3 -3
- package/plugins/CSS2DPlugin/Controller.js +3 -3
- package/plugins/CSS2DPlugin/Controller.mjs +3 -3
- package/plugins/CSS2DPlugin/index.js +3 -3
- package/plugins/CSS2DPlugin/index.mjs +3 -3
- package/plugins/CSS2DPlugin/style.css_raw.js +4 -4
- package/plugins/CSS2DPlugin/style.css_raw.mjs +4 -4
- package/plugins/CSS3DPlugin/Controller.js +3 -3
- package/plugins/CSS3DPlugin/Controller.mjs +3 -3
- package/plugins/CSS3DPlugin/index.js +3 -3
- package/plugins/CSS3DPlugin/index.mjs +3 -3
- package/plugins/CSS3DPlugin/style.css_raw.js +4 -4
- package/plugins/CSS3DPlugin/style.css_raw.mjs +4 -4
- package/plugins/FloorplanPlugin/Controller.js +3 -3
- package/plugins/FloorplanPlugin/Controller.mjs +3 -3
- package/plugins/FloorplanPlugin/index.js +3 -3
- package/plugins/FloorplanPlugin/index.mjs +3 -3
- package/plugins/FloorplanPlugin/render/assets.js +3 -3
- package/plugins/FloorplanPlugin/render/assets.mjs +3 -3
- package/plugins/FloorplanPlugin/render/index.js +3 -3
- package/plugins/FloorplanPlugin/render/index.mjs +3 -3
- package/plugins/FloorplanPlugin/render/isPointInPolygon.js +3 -3
- package/plugins/FloorplanPlugin/render/isPointInPolygon.mjs +3 -3
- package/plugins/FloorplanPlugin/render/renderFloor.js +3 -3
- package/plugins/FloorplanPlugin/render/renderFloor.mjs +3 -3
- package/plugins/FloorplanPlugin/render/roomLabelVisibility.js +3 -3
- package/plugins/FloorplanPlugin/render/roomLabelVisibility.mjs +3 -3
- package/plugins/FloorplanPlugin/render/style.css_raw.js +4 -4
- package/plugins/FloorplanPlugin/render/style.css_raw.mjs +4 -4
- package/plugins/FloorplanPlugin/utils/changeMode.js +3 -3
- package/plugins/FloorplanPlugin/utils/changeMode.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.js +3 -3
- package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/correctFiveState.js +3 -3
- package/plugins/FloorplanPlugin/utils/correctFiveState.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/equal.js +3 -3
- package/plugins/FloorplanPlugin/utils/equal.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/filter.js +3 -3
- package/plugins/FloorplanPlugin/utils/filter.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/fiveModelLoad.js +3 -3
- package/plugins/FloorplanPlugin/utils/fiveModelLoad.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/formatData.js +3 -3
- package/plugins/FloorplanPlugin/utils/formatData.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/formatFloorplanJson.js +3 -3
- package/plugins/FloorplanPlugin/utils/formatFloorplanJson.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/formatPosition.js +3 -3
- package/plugins/FloorplanPlugin/utils/formatPosition.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/getDistanceFromModel.js +3 -3
- package/plugins/FloorplanPlugin/utils/getDistanceFromModel.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/getPxmm.js +3 -3
- package/plugins/FloorplanPlugin/utils/getPxmm.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/isTruelyObject.js +3 -3
- package/plugins/FloorplanPlugin/utils/isTruelyObject.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/nearlyEqual.js +3 -3
- package/plugins/FloorplanPlugin/utils/nearlyEqual.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/polylabel.js +3 -3
- package/plugins/FloorplanPlugin/utils/polylabel.mjs +3 -3
- package/plugins/FloorplanPlugin/utils/to.js +3 -3
- package/plugins/FloorplanPlugin/utils/to.mjs +3 -3
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.d.ts +6 -0
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.js +3 -3
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.mjs +3 -3
- package/plugins/GaussianSplattingEntranceAnimationPlugin/index.js +3 -3
- package/plugins/GaussianSplattingEntranceAnimationPlugin/index.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Controller.js +3 -3
- package/plugins/Object3DHelperPlugin/Controller.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.js +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.js +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.js +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.js +3 -3
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.mjs +3 -3
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.js +3 -3
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.js +3 -3
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.js +3 -3
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.js +3 -3
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.mjs +3 -3
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.js +3 -3
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.mjs +3 -3
- package/plugins/Object3DHelperPlugin/constant.js +3 -3
- package/plugins/Object3DHelperPlugin/constant.mjs +3 -3
- package/plugins/Object3DHelperPlugin/index.js +3 -3
- package/plugins/Object3DHelperPlugin/index.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/direction.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/direction.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/solidGuide.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/solidGuide.mjs +3 -3
- package/plugins/Object3DHelperPlugin/utils/tipsDom.js +3 -3
- package/plugins/Object3DHelperPlugin/utils/tipsDom.mjs +3 -3
- package/plugins/PanoAnimePlugin/Controller.js +3 -3
- package/plugins/PanoAnimePlugin/Controller.mjs +3 -3
- package/plugins/PanoAnimePlugin/index.js +3 -3
- package/plugins/PanoAnimePlugin/index.mjs +3 -3
- package/plugins/WordPassPlugin/Controller.js +3 -3
- package/plugins/WordPassPlugin/Controller.mjs +3 -3
- package/plugins/WordPassPlugin/hersheyFont.js +3 -3
- package/plugins/WordPassPlugin/hersheyFont.mjs +3 -3
- package/plugins/WordPassPlugin/index.js +3 -3
- package/plugins/WordPassPlugin/index.mjs +3 -3
- package/plugins/WordPassPlugin/textToStrokeOrderStrokes.js +4 -4
- package/plugins/WordPassPlugin/textToStrokeOrderStrokes.mjs +4 -4
- package/plugins/WordPassPlugin/word-pass.js +3 -3
- package/plugins/WordPassPlugin/word-pass.mjs +3 -3
- package/plugins/index.js +3 -3
- package/plugins/index.mjs +3 -3
- package/plugins/thirdParty/CSS2DRenderer.js +3 -3
- package/plugins/thirdParty/CSS2DRenderer.mjs +3 -3
- package/plugins/thirdParty/CSS3DRenderer.js +3 -3
- package/plugins/thirdParty/CSS3DRenderer.mjs +3 -3
- package/plugins/thirdParty/doctorstrange-model.js +75 -75
- package/plugins/thirdParty/doctorstrange-model.mjs +75 -75
- package/plugins/thirdParty/domevents.js +3 -3
- package/plugins/thirdParty/domevents.mjs +3 -3
- package/plugins/utils/absoluteUrl.js +3 -3
- package/plugins/utils/absoluteUrl.mjs +3 -3
- package/plugins/utils/calculatePath.js +3 -3
- package/plugins/utils/calculatePath.mjs +3 -3
- package/plugins/utils/clamp.js +3 -3
- package/plugins/utils/clamp.mjs +3 -3
- package/plugins/utils/uuid.js +3 -3
- package/plugins/utils/uuid.mjs +3 -3
- package/react/hooks/useFiveModelReadyState.d.ts +1 -1
- package/react/index.js +3 -3
- package/react/index.mjs +3 -644
- package/sticker/index.d.ts +7 -0
- package/sticker/index.js +46 -3
- package/sticker/index.mjs +43 -103
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +3 -3
- package/umd/five-react.js +2 -2
- package/umd/five-sticker.js +46 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five.js +216 -179
- package/vfx/index.js +3 -3
- package/vfx/index.mjs +3 -486
- package/work-downloader/index.js +3 -3
- package/work-downloader/index.mjs +3 -315
- package/docs/functions/index.loadAt3d.html +0 -1
- package/docs/functions/index.loadDome.html +0 -1
- package/docs/functions/index.loadDomez.html +0 -1
- package/docs/functions/index.loadGltf.html +0 -1
- package/docs/functions/index.loadPbm.html +0 -1
- package/docs/functions/index.loadPly.html +0 -1
- package/five/certificates/hardware.d.ts +0 -1
- package/five/gaussian-splatting/shStore.d.ts +0 -22
- package/five/thirdparty/jsrsasign.d.ts +0 -753
- package/five/work/keychain.d.ts +0 -5
- package/five/work/verify.d.ts +0 -7
- package/five/work/workVerify.d.ts +0 -2
- /package/five/{work/_ALLOW_HOST.d.ts → renderer/compute-renderers/shaders/composite-additive.d.ts} +0 -0
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* @realsee/five-webgpu
|
|
4
|
+
* Generated: 2026/11/3
|
|
5
|
+
* Version: 1.0.0-alpha.14
|
|
6
|
+
* License:
|
|
7
|
+
* Realsee SDK License Agreement
|
|
8
|
+
|
|
9
|
+
* Last updated: 2026-09-22
|
|
10
|
+
|
|
11
|
+
* THIS LICENSE AGREEMENT BETWEEN YOU AND BEIKE REALSEE TECHNOLOGY (HK) LIMITED
|
|
12
|
+
* (“Realsee”) FORMS A LEGALLY BINDING CONTRACT BETWEEN YOU AND REALSEE IN RELATION
|
|
13
|
+
* TO YOUR USE OF THE SDK. This License Agreement accompanies the Realsee Software
|
|
14
|
+
* Development Kit(s) for the software and related explanatory materials (the
|
|
15
|
+
* "SDK") and includes any upgrades, modified versions, updates, additions, and
|
|
16
|
+
* copies of the SDK licensed to You by Realsee.
|
|
17
|
+
|
|
18
|
+
* BY DOWNLOADING, INSTALLING, OR OTHERWISE ACCESSING OR USING THE SDK, YOU AGREE
|
|
19
|
+
* THAT YOU HAVE READ, UNDERSTOOD, AND AGREE TO BE BOUND BY THIS AGREEMENT. YOU ARE
|
|
20
|
+
* AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO
|
|
21
|
+
* THE TERMS AND CONDITIONS STATED BELOW.
|
|
22
|
+
|
|
23
|
+
* This Agreement applies to Your use of the SDK in the country in which You
|
|
24
|
+
* legally install it (“Territory”) and is subject to the laws of such Territory
|
|
25
|
+
* and further subject to Section 12 below. Different terms, conditions, and
|
|
26
|
+
* limitations may apply to the use of the SDK in any additional countries.
|
|
27
|
+
|
|
28
|
+
* 1. DEFINITIONS.
|
|
29
|
+
|
|
30
|
+
* “Agreement” means this Realsee SDK License Agreement.
|
|
31
|
+
|
|
32
|
+
* “Developer”, “You” and “Your” means the person(s) or entity acquiring or using
|
|
33
|
+
* the SDK or otherwise exercising rights under the terms of this Agreement.
|
|
34
|
+
|
|
35
|
+
* “Documentation” means the technical or other specifications or documentation
|
|
36
|
+
* that Realsee may provide to You for use in connection with the SDK.
|
|
37
|
+
|
|
38
|
+
* “Integrated Product” means any software, website, or on-line service developed
|
|
39
|
+
* by You based on or using the SDK (collectively, the “Integrated Product”).
|
|
40
|
+
|
|
41
|
+
* “Intellectual Property” means any patents, patent rights, trademarks, service
|
|
42
|
+
* marks, registered and unregistered designs, applications for any of the
|
|
43
|
+
* foregoing, copyright, and any other similar protected rights in any country and
|
|
44
|
+
* to the extent recognised by any relevant jurisdiction as intellectual property,
|
|
45
|
+
* trade secrets, know-how and confidential information. Realsee reserves all
|
|
46
|
+
* rights not expressly granted to You.
|
|
47
|
+
|
|
48
|
+
* “Realsee” means [Beike Realsee Technology (HK) Limited, a company incorporated
|
|
49
|
+
* and validly existing under the laws of Hong Kong].
|
|
50
|
+
|
|
51
|
+
* “SDK” means the Realsee-proprietary Software Development Kits (SDK) provided
|
|
52
|
+
* hereunder, includes all development tools (including any compiler and debugger),
|
|
53
|
+
* application programming interfaces (“APIs”), libraries, binary utilities, header
|
|
54
|
+
* files, Documentation, content, data, code samples, and other materials provided
|
|
55
|
+
* to You in connection with this Agreement, whether delivered through a download,
|
|
56
|
+
* or any other media or form, and is licensed, not sold, to You by Realsee for use
|
|
57
|
+
* only under the terms of this Agreement. The terms of this Agreement will govern
|
|
58
|
+
* any updates provided by Realsee that replace and/or supplement the original SDK
|
|
59
|
+
* delivered to You, unless such update is accompanied by a separate license, in
|
|
60
|
+
* which case the terms of such license will govern.
|
|
61
|
+
|
|
62
|
+
* “Term” means the period commencing on the date You first download, install,
|
|
63
|
+
* access, or use the SDK, and continuing until this Agreement is terminated in
|
|
64
|
+
* accordance with Section 6.
|
|
65
|
+
|
|
66
|
+
* 2. LICENSED USES AND RESTRICTIONS.
|
|
67
|
+
|
|
68
|
+
* 2.1 Subject to the restrictions contained in this Section 2, Realsee grants to
|
|
69
|
+
* You during the Term, a limited, non-exclusive, revocable, non-sublicensable,
|
|
70
|
+
* non-transferable license to install, use, and integrate the SDK within the
|
|
71
|
+
* Territory only for the purpose of developing, testing, operating and supporting
|
|
72
|
+
* Integrated Products.
|
|
73
|
+
|
|
74
|
+
* 2.2 Restrictions. You acknowledge and agree that, You shall not, and shall
|
|
75
|
+
* ensure that Your affiliates, employees, agents, representatives, officers, and
|
|
76
|
+
* subcontractors do not (directly or indirectly):
|
|
77
|
+
|
|
78
|
+
* 2.2.1 decompile, reverse engineer, disassemble or attempt to derive the source
|
|
79
|
+
* code of, those components of the SDK provided in object code form, or any part
|
|
80
|
+
* thereof;
|
|
81
|
+
|
|
82
|
+
* 2.2.2 remove, alter, or obscure any copyright notice or other proprietary rights
|
|
83
|
+
* notice on any part of the SDK;
|
|
84
|
+
|
|
85
|
+
* 2.2.3 sell, assign, pledge, rent, lease, lend, upload to or host on any website
|
|
86
|
+
* or server for use by any third party except You, redistribute, or sublicense the
|
|
87
|
+
* SDK (or any part thereof), or operate the SDK (or any part thereof) in the
|
|
88
|
+
* capacity of a service bureau or other hosted services provider, in whole or in
|
|
89
|
+
* part, nor may You enable others to do so;
|
|
90
|
+
|
|
91
|
+
* 2.2.4 alter, modify, customize or improve the SDK, or any part thereof;
|
|
92
|
+
|
|
93
|
+
* 2.2.5 use the SDK (or any part thereof) for any illegal purpose, in any manner
|
|
94
|
+
* that is inconsistent with the terms of this Agreement, or to engage in any
|
|
95
|
+
* illegal activity;
|
|
96
|
+
|
|
97
|
+
* 2.2.6 use the SDK (or any part thereof) in any manner that may damage the
|
|
98
|
+
* operation of Realsee’s products or services; or
|
|
99
|
+
|
|
100
|
+
* 2.2.7 use the SDK or any non-public information provided by Realsee for the
|
|
101
|
+
* primary purpose of developing products or services that substantially replicate
|
|
102
|
+
* the core functionality of Realsee proprietary SDK offerings;
|
|
103
|
+
|
|
104
|
+
* 2.2.8 distribute, re-sell, or make available the SDK (or any part thereof) as a
|
|
105
|
+
* standalone product, library, or development toolkit to any third party.
|
|
106
|
+
|
|
107
|
+
* 2.3 Realsee has the right to impose reasonable conditions such as a reasonable
|
|
108
|
+
* fee for use of the SDK in Integrated Product in the future.
|
|
109
|
+
|
|
110
|
+
* 2.4 You may make a limited number of copies of the SDK to be used by Your
|
|
111
|
+
* employees or consultants as provided herein, and not for general business
|
|
112
|
+
* purposes, and such employees or consultants shall be subject to the obligations
|
|
113
|
+
* and restrictions in this Agreement.
|
|
114
|
+
|
|
115
|
+
* 2.5 All licenses not expressly granted in this Agreement are reserved and no
|
|
116
|
+
* other licenses, immunity, or rights, express or implied, are granted by Realsee,
|
|
117
|
+
* by implication, estoppel, or otherwise.
|
|
118
|
+
|
|
119
|
+
* 3. CONFIDENTIALITY.
|
|
120
|
+
|
|
121
|
+
* The SDK and all source code, Documentation, specifications, engineering details,
|
|
122
|
+
* and related information pertaining to the SDK, whether in oral, written,
|
|
123
|
+
* graphic, or electronic form, are and shall remain the confidential and
|
|
124
|
+
* proprietary information of Realsee or its licensors (collectively, the
|
|
125
|
+
* “Confidential Information”). You shall (i) disclose Confidential Information to
|
|
126
|
+
* only those directors and employees (collectively, “Affiliates”) whose duties
|
|
127
|
+
* justify their need to know such information and who have been clearly informed
|
|
128
|
+
* of their obligation to maintain the confidential, proprietary, and/or trade
|
|
129
|
+
* secret status of such Confidential Information; and (ii) use Confidential
|
|
130
|
+
* Information solely in accordance with the license granted hereunder. In any
|
|
131
|
+
* event, You and Your Affiliates shall treat Confidential Information as strictly
|
|
132
|
+
* confidential and shall use the same care to prevent disclosure of such
|
|
133
|
+
* information as You use with respect to Your own similar confidential and/or
|
|
134
|
+
* proprietary information, which shall not be less than the care a reasonable
|
|
135
|
+
* person would use under similar circumstances. All Confidential Information, and
|
|
136
|
+
* any copies thereof, shall be returned promptly to Realsee upon request. You
|
|
137
|
+
* shall ensure that Your Affiliates comply with the provisions of this Section 3,
|
|
138
|
+
* and You shall be liable for any breach of this Section 3 resulting from the act
|
|
139
|
+
* or omission of any of Your Affiliates. You shall not disclose Confidential
|
|
140
|
+
* Information to any third party, including, without limitation, any of Your
|
|
141
|
+
* subcontractors.
|
|
142
|
+
|
|
143
|
+
* 4. PROPRIETARY RIGHTS.
|
|
144
|
+
|
|
145
|
+
* 4.1 As between You and Realsee, Realsee and/or its licensors retain ownership of
|
|
146
|
+
* all right, title, and interest in, to, and under the SDK, including, without
|
|
147
|
+
* limitation, all patents, copyrights, trade secrets, trademarks and other
|
|
148
|
+
* intellectual property and other proprietary rights therein, and reserve all
|
|
149
|
+
* rights not expressly granted to You.
|
|
150
|
+
|
|
151
|
+
* 4.2 The items contained in the SDK are the intellectual property of Realsee and
|
|
152
|
+
* its licensors and are protected by PRC copyright and patent law, international
|
|
153
|
+
* treaty provisions and applicable laws of the country in which it is being used.
|
|
154
|
+
* You agree to protect all copyright and other ownership interests of Realsee
|
|
155
|
+
* and/or its licensors in all items in the SDK supplied under this License
|
|
156
|
+
* Agreement. You agree that all copies of the items in the SDK, reproduced for any
|
|
157
|
+
* reason by You, contain the same copyright notices, and other proprietary notices
|
|
158
|
+
* as appropriate, as appear on or in the original items delivered by Realsee in
|
|
159
|
+
* the SDK. Realsee and/or its licensors retain title and ownership of the items in
|
|
160
|
+
* the SDK, the media on which it is loaded, and all subsequent copies, regardless
|
|
161
|
+
* of the form or media in or on which the original and other copies may exist.
|
|
162
|
+
* Except as stated above, this Agreement does not grant You any rights to patents,
|
|
163
|
+
* copyrights, trade secrets, trademarks or any other rights in respect to the
|
|
164
|
+
* items in the SDK.
|
|
165
|
+
|
|
166
|
+
* 5. DATA PRIVACY AND PROTECTION
|
|
167
|
+
|
|
168
|
+
* 5.1 In connection with Your use of the SDK and any Integrated Product, You shall
|
|
169
|
+
* comply with all applicable privacy, data protection, cybersecurity, and
|
|
170
|
+
* cross-border data transfer laws and regulations. To the extent Your use of the
|
|
171
|
+
* SDK involves the collection, processing, transmission, disclosure, or storage of
|
|
172
|
+
* personal data or personal information, You shall be solely responsible for: (i)
|
|
173
|
+
* ensuring that You have a valid legal basis for such processing; (ii) providing
|
|
174
|
+
* all required notices and obtaining all necessary consents or authorisations; and
|
|
175
|
+
* (iii) implementing reasonable and appropriate technical and organisational
|
|
176
|
+
* measures to protect such data against unauthorised access, use, disclosure,
|
|
177
|
+
* alteration, or destruction.
|
|
178
|
+
|
|
179
|
+
* 5.2 You shall promptly notify Realsee of any material security incident relating
|
|
180
|
+
* to the SDK or Integrated Product that may materially affect Realsee, the SDK, or
|
|
181
|
+
* any personal data processed in connection with the SDK.
|
|
182
|
+
|
|
183
|
+
* 5.3 Developer shall be solely responsible for Developer’s compliance with
|
|
184
|
+
* applicable privacy, data protection, and cybersecurity laws in connection with
|
|
185
|
+
* the Integrated Product.
|
|
186
|
+
|
|
187
|
+
* 6. TERM AND TERMINATION.
|
|
188
|
+
|
|
189
|
+
* 6.1 This Agreement is effective until terminated. Realsee has the right to
|
|
190
|
+
* terminate this Agreement immediately, without judicial intervention, if You fail
|
|
191
|
+
* to comply with any term herein. Upon any such termination You must remove all
|
|
192
|
+
* full and partial copies of the items in the SDK from Your computer and
|
|
193
|
+
* discontinue the use of the items in the SDK.
|
|
194
|
+
|
|
195
|
+
* 6.2 Realsee may at any time, terminate the Agreement with You if: (A) You have
|
|
196
|
+
* breached any provision of the Agreement; or (B) Realsee is required to do so by
|
|
197
|
+
* law; or (C) Realsee decides to no longer provide the SDK or certain parts of the
|
|
198
|
+
* SDK to users in the country in which You are resident or from which You use the
|
|
199
|
+
* service, or the provision of the SDK or certain SDK services to You by Realsee
|
|
200
|
+
* is, in Realsee's sole discretion, no longer legally or commercially viable.
|
|
201
|
+
|
|
202
|
+
* 6.3 When the Agreement comes to an end, all of the legal rights, obligations and
|
|
203
|
+
* liabilities that You and Realsee have benefited from, been subject to (or which
|
|
204
|
+
* have accrued over time whilst the Agreement has been in force) or which are
|
|
205
|
+
* expressed to continue indefinitely, shall be unaffected by this cessation, and
|
|
206
|
+
* the provisions of Sections 3, 4, 5, 7, 8, 9, 10, and 11 shall continue to apply
|
|
207
|
+
* to such rights, obligations and liabilities indefinitely.
|
|
208
|
+
|
|
209
|
+
* 7. DISCLAIMER OF WARRANTY.
|
|
210
|
+
|
|
211
|
+
* YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT, TO THE EXTENT PERMITTED BY APPLICABLE
|
|
212
|
+
* LAW, USE OF THE SDK (OR ANY PART THEREOF) IS AT YOUR SOLE RISK AND THAT THE
|
|
213
|
+
* ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY, AND EFFORT IS
|
|
214
|
+
* WITH YOU. REALSEE LICENSES THE SDK TO YOU ONLY ON AN "AS-IS" BASIS. REALSEE
|
|
215
|
+
* MAKES NO REPRESENTATION WITH RESPECT TO THE ADEQUACY OF ANY ITEMS IN THE SDK,
|
|
216
|
+
* WHETHER OR NOT USED BY YOU IN THE DEVELOPMENT OF INTEGRATED PRODUCT, FOR ANY
|
|
217
|
+
* PARTICULAR PURPOSE OR WITH RESPECT TO THEIR ADEQUACY TO PRODUCE ANY PARTICULAR
|
|
218
|
+
* RESULT. REALSEE AND ITS LICENSORS SHALL NOT BE LIABLE FOR LOSS OR DAMAGE ARISING
|
|
219
|
+
* OUT OF THIS AGREEMENT OR FROM THE DISTRIBUTION OR USE OF INTEGRATED PRODUCT
|
|
220
|
+
* CONTAINING PORTIONS OF THE SDK. REALSEE AND ITS LICENSORS DISCLAIM ALL
|
|
221
|
+
* WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED
|
|
222
|
+
* CONDITIONS OR WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
223
|
+
* OR NONINFRINGEMENT OF ANY THIRD PARTY RIGHT IN RESPECT OF THE ITEMS IN THE SDK
|
|
224
|
+
* OR ANY SERVICES RELATED TO THE SDK.
|
|
225
|
+
|
|
226
|
+
* REALSEE IS UNDER NO OBLIGATION TO PROVIDE ANY SUPPORT UNDER THIS LICENSE
|
|
227
|
+
* AGREEMENT, INCLUDING UPGRADES OR FUTURE VERSIONS OF THE SDK OR ANY PORTIONS
|
|
228
|
+
* THEREOF, TO YOU, END USER OR TO ANY OTHER PARTY.
|
|
229
|
+
|
|
230
|
+
* 8. LIMITATION OF LIABILITY.
|
|
231
|
+
|
|
232
|
+
* TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL REALSEE OR ITS
|
|
233
|
+
* LICENSORS BE LIABLE FOR ANY DIRECT, INCIDENTAL, SPECIAL, INDIRECT, OR
|
|
234
|
+
* CONSEQUENTIAL DAMAGES, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE,
|
|
235
|
+
* LOSS OF BUSINESS, REVENUE, OR PROFITS, LOSS OF OPPORTUNITY (WHETHER DIRECT OR
|
|
236
|
+
* INDIRECT), CORRUPTION OR LOSS OF DATA, LOSS OF REPUTATION OR SAVINGS, DOWNTIME,
|
|
237
|
+
* OR DAMAGE TO, LOSS OF OR REPLACEMENT OF DATA OR TRANSACTIONS, COST OF
|
|
238
|
+
* PROCUREMENT OF SUBSTITUTE SERVICES, BUSINESS INTERRUPTION, OR ANY OTHER
|
|
239
|
+
* COMMERCIAL DAMAGES OR LOSSES, ARISING OUT OF OR RELATED TO YOUR USE OR INABILITY
|
|
240
|
+
* TO USE THE SDK (OR ANY PART THEREOF), ANY INTEGRATED PRODUCT, OR ANY THIRD PARTY
|
|
241
|
+
* SOFTWARE, APPLICATIONS, OR SERVICES IN CONJUNCTION WITH THE SDK (OR ANY PART
|
|
242
|
+
* THEREOF), HOWEVER CAUSED, REGARDLESS OF THE THEORY OF LIABILITY (CONTRACT, TORT,
|
|
243
|
+
* OR OTHERWISE) AND EVEN IF REALSEE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
244
|
+
* DAMAGES. IN NO EVENT WILL REALSEE’S TOTAL LIABILITY TO YOU FOR ALL DAMAGES
|
|
245
|
+
* EXCEED ONE HUNDRED DOLLARS ($100.00). THE FOREGOING LIMITATIONS WILL APPLY EVEN
|
|
246
|
+
* IF THE ABOVE STATED REMEDY FAILS OF ITS ESSENTIAL PURPOSE. THE LIMITATIONS
|
|
247
|
+
* CONTAINED IN SECTION 7 AND THIS SECTION 8 ARE A FUNDAMENTAL PART OF THE BASIS OF
|
|
248
|
+
* REALSEE’S BARGAIN HEREUNDER, AND REALSEE WOULD NOT ENTER INTO THIS AGREEMENT OR
|
|
249
|
+
* PROVIDE YOU WITH ACCESS TO THE SDK ABSENT SUCH LIMITATIONS.
|
|
250
|
+
|
|
251
|
+
* 9. INDEMNIFICATION.
|
|
252
|
+
|
|
253
|
+
* To the extent permitted by applicable law, You agree to indemnify, defend and
|
|
254
|
+
* hold harmless Realsee, its affiliates and each of their directors, officers,
|
|
255
|
+
* employees, independent contractors, and agents (each a “Realsee Indemnified
|
|
256
|
+
* Party”) from any and all claims, losses, liabilities, damages, expenses, and
|
|
257
|
+
* costs (including without limitation attorneys’ fees and court costs) incurred by
|
|
258
|
+
* a Realsee Indemnified Party as a result of: (i) Your non-compliance with any
|
|
259
|
+
* terms of this Agreement; (ii) Your use of the SDK (or any part thereof); or
|
|
260
|
+
* (iii) Your use of any Integrated Product, including any claim that Integrated
|
|
261
|
+
* Product infringes the copyright, trademark, trade secret or other intellectual
|
|
262
|
+
* property right of a third party.
|
|
263
|
+
|
|
264
|
+
* 10. ACKNOWLEDGEMENTS.
|
|
265
|
+
|
|
266
|
+
* Portions of the SDK may utilize or include third party software and other
|
|
267
|
+
* copyrighted material. Acknowledgments, licensing terms, and disclaimers for such
|
|
268
|
+
* material are contained in Documentation for the SDK or may otherwise accompany
|
|
269
|
+
* such material, and Your use of such materials governed by their respective
|
|
270
|
+
* terms. In the event of conflict between the terms of this Agreement and an
|
|
271
|
+
* applicable open source or third party agreement, the open source or third party
|
|
272
|
+
* agreement will control solely with respect to the open source software or third
|
|
273
|
+
* party software. Moreover, You shall not subject any items (including not limited
|
|
274
|
+
* to source code, object code, and any software) included in the SDK to any open
|
|
275
|
+
* source license.
|
|
276
|
+
|
|
277
|
+
* 11. NON-BLOCKING OF REALSEE DEVELOPMENT.
|
|
278
|
+
|
|
279
|
+
* You acknowledge that Realsee is currently developing or may develop technologies
|
|
280
|
+
* and products in the future that have or may have design and/or functionality
|
|
281
|
+
* similar to Integrated Product that You may develop based on Your license herein.
|
|
282
|
+
* Nothing in this Agreement shall impair, limit or curtail Realsee's right to
|
|
283
|
+
* continue with its development, maintenance and/or distribution of Realsee's
|
|
284
|
+
* technology or products.
|
|
285
|
+
|
|
286
|
+
* 12. GENERAL.
|
|
287
|
+
|
|
288
|
+
* 12.1 Export Control. You may not use or otherwise export or re-export the SDK
|
|
289
|
+
* (or any part thereof) except as authorized by United States law and the laws of
|
|
290
|
+
* the jurisdiction(s) in which the SDK (or any part thereof) was obtained. In
|
|
291
|
+
* particular, but without limitation, the SDK may not be exported or re-exported
|
|
292
|
+
* (i) into any U.S. embargoed countries or (ii) to anyone on the U.S. Treasury
|
|
293
|
+
* Department's list of Specially Designated Nationals or the U.S. Department of
|
|
294
|
+
* Commerce Denied Person's List or Entity List. By using the SDK (or any part
|
|
295
|
+
* thereof), You represent and warrant that You are not located in any such country
|
|
296
|
+
* or on any such list.
|
|
297
|
+
|
|
298
|
+
* 12.2 Governing Law and Dispute Resolution.
|
|
299
|
+
|
|
300
|
+
* This Agreement shall be governed by the laws of the Hong Kong Special
|
|
301
|
+
* Administrative Region of the People's Republic of China, without regard to its
|
|
302
|
+
* conflict of laws principles. Any dispute arising out of or in connection with
|
|
303
|
+
* this Agreement, including its existence, validity, interpretation, performance,
|
|
304
|
+
* breach, or termination, shall first be submitted to thirty (30) days of good
|
|
305
|
+
* faith consultation, and if unresolved, to final and binding arbitration
|
|
306
|
+
* administered by the HKIAC in Hong Kong in English under the HKIAC Administered
|
|
307
|
+
* Arbitration Rules in force at the time of submission, with one (1) arbitrator
|
|
308
|
+
* unless the amount in dispute exceeds USD 1,000,000, in which case three (3)
|
|
309
|
+
* arbitrators shall be appointed. Either party may seek interim or injunctive
|
|
310
|
+
* relief from any court of competent jurisdiction notwithstanding the foregoing.
|
|
311
|
+
|
|
312
|
+
* 12.3 Severability. If any provision of this Agreement is held by a court of
|
|
313
|
+
* competent jurisdiction to be unenforceable for any reason, the remaining
|
|
314
|
+
* provisions hereof will be unaffected and remain in full force and effect.
|
|
315
|
+
|
|
316
|
+
* 12.4 Modifications. Realsee reserves the right, from time to time, with or
|
|
317
|
+
* without notice to You, to make revisions to this Agreement in our sole and
|
|
318
|
+
* absolute discretion. The most current version of this Agreement will supersede
|
|
319
|
+
* all previous versions and shall be made available on the website where the SDK
|
|
320
|
+
* is made available, or by such other means as Realsee may determine in its
|
|
321
|
+
* discretion. Any modified versions of this Agreement hereto shall take effect
|
|
322
|
+
* from the time that it is made available. You shall be responsible for regularly
|
|
323
|
+
* checking for notice of any such modifications. You agree that Your continued use
|
|
324
|
+
* of the SDK constitutes Your agreement to the modified Agreement.
|
|
325
|
+
|
|
326
|
+
* 12.5 Relationship of the Parties. This Agreement will not be construed as
|
|
327
|
+
* creating an agency, partnership, joint venture, fiduciary duty, or any other
|
|
328
|
+
* form of legal association between You and Realsee, and You will not represent to
|
|
329
|
+
* the contrary, whether expressly, by implication, appearance, or otherwise.
|
|
330
|
+
|
|
331
|
+
* 12.6 Entire Agreement; Governing Language. This Agreement constitutes the entire
|
|
332
|
+
* agreement between You and Realsee with respect to the use of the SDK licensed
|
|
333
|
+
* hereunder and supersedes all prior understandings regarding such subject matter.
|
|
334
|
+
* No amendment to or modification of this Agreement will be binding unless in
|
|
335
|
+
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
336
|
+
* Agreement and all related documents shall be drafted in English.
|
|
337
|
+
|
|
338
|
+
*/function createLZMA(){var LZMA={};return LZMA.OutWindow=function(){this._windowSize=0},LZMA.OutWindow.prototype.create=function(windowSize){(!this._buffer||this._windowSize!==windowSize)&&(this._buffer=[]),this._windowSize=windowSize,this._pos=0,this._streamPos=0},LZMA.OutWindow.prototype.flush=function(){var size=this._pos-this._streamPos;if(size!==0){for(;size--;)this._stream.writeByte(this._buffer[this._streamPos++]);this._pos>=this._windowSize&&(this._pos=0),this._streamPos=this._pos}},LZMA.OutWindow.prototype.releaseStream=function(){this.flush(),this._stream=null},LZMA.OutWindow.prototype.setStream=function(stream){this.releaseStream(),this._stream=stream},LZMA.OutWindow.prototype.init=function(solid){solid||(this._streamPos=0,this._pos=0)},LZMA.OutWindow.prototype.copyBlock=function(distance,len){var pos=this._pos-distance-1;for(pos<0&&(pos+=this._windowSize);len--;)pos>=this._windowSize&&(pos=0),this._buffer[this._pos++]=this._buffer[pos++],this._pos>=this._windowSize&&this.flush()},LZMA.OutWindow.prototype.putByte=function(b){this._buffer[this._pos++]=b,this._pos>=this._windowSize&&this.flush()},LZMA.OutWindow.prototype.getByte=function(distance){var pos=this._pos-distance-1;return pos<0&&(pos+=this._windowSize),this._buffer[pos]},LZMA.RangeDecoder=function(){},LZMA.RangeDecoder.prototype.setStream=function(stream){this._stream=stream},LZMA.RangeDecoder.prototype.releaseStream=function(){this._stream=null},LZMA.RangeDecoder.prototype.init=function(){var i=5;for(this._code=0,this._range=-1;i--;)this._code=this._code<<8|this._stream.readByte()},LZMA.RangeDecoder.prototype.decodeDirectBits=function(numTotalBits){for(var result=0,i=numTotalBits,t;i--;)this._range>>>=1,t=this._code-this._range>>>31,this._code-=this._range&t-1,result=result<<1|1-t,this._range&4278190080||(this._code=this._code<<8|this._stream.readByte(),this._range<<=8);return result},LZMA.RangeDecoder.prototype.decodeBit=function(probs,index){var prob=probs[index],newBound=(this._range>>>11)*prob;return(this._code^2147483648)<(newBound^2147483648)?(this._range=newBound,probs[index]+=2048-prob>>>5,this._range&4278190080||(this._code=this._code<<8|this._stream.readByte(),this._range<<=8),0):(this._range-=newBound,this._code-=newBound,probs[index]-=prob>>>5,this._range&4278190080||(this._code=this._code<<8|this._stream.readByte(),this._range<<=8),1)},LZMA.initBitModels=function(probs,len){for(;len--;)probs[len]=1024},LZMA.BitTreeDecoder=function(numBitLevels){this._models=[],this._numBitLevels=numBitLevels},LZMA.BitTreeDecoder.prototype.init=function(){LZMA.initBitModels(this._models,1<<this._numBitLevels)},LZMA.BitTreeDecoder.prototype.decode=function(rangeDecoder){for(var m=1,i=this._numBitLevels;i--;)m=m<<1|rangeDecoder.decodeBit(this._models,m);return m-(1<<this._numBitLevels)},LZMA.BitTreeDecoder.prototype.reverseDecode=function(rangeDecoder){for(var m=1,symbol=0,i=0,bit;i<this._numBitLevels;++i)bit=rangeDecoder.decodeBit(this._models,m),m=m<<1|bit,symbol|=bit<<i;return symbol},LZMA.reverseDecode2=function(models,startIndex,rangeDecoder,numBitLevels){for(var m=1,symbol=0,i=0,bit;i<numBitLevels;++i)bit=rangeDecoder.decodeBit(models,startIndex+m),m=m<<1|bit,symbol|=bit<<i;return symbol},LZMA.LenDecoder=function(){this._choice=[],this._lowCoder=[],this._midCoder=[],this._highCoder=new LZMA.BitTreeDecoder(8),this._numPosStates=0},LZMA.LenDecoder.prototype.create=function(numPosStates){for(;this._numPosStates<numPosStates;++this._numPosStates)this._lowCoder[this._numPosStates]=new LZMA.BitTreeDecoder(3),this._midCoder[this._numPosStates]=new LZMA.BitTreeDecoder(3)},LZMA.LenDecoder.prototype.init=function(){var i=this._numPosStates;for(LZMA.initBitModels(this._choice,2);i--;)this._lowCoder[i].init(),this._midCoder[i].init();this._highCoder.init()},LZMA.LenDecoder.prototype.decode=function(rangeDecoder,posState){return rangeDecoder.decodeBit(this._choice,0)===0?this._lowCoder[posState].decode(rangeDecoder):rangeDecoder.decodeBit(this._choice,1)===0?8+this._midCoder[posState].decode(rangeDecoder):16+this._highCoder.decode(rangeDecoder)},LZMA.Decoder2=function(){this._decoders=[]},LZMA.Decoder2.prototype.init=function(){LZMA.initBitModels(this._decoders,768)},LZMA.Decoder2.prototype.decodeNormal=function(rangeDecoder){var symbol=1;do symbol=symbol<<1|rangeDecoder.decodeBit(this._decoders,symbol);while(symbol<256);return symbol&255},LZMA.Decoder2.prototype.decodeWithMatchByte=function(rangeDecoder,matchByte){var symbol=1,matchBit,bit;do if(matchBit=matchByte>>7&1,matchByte<<=1,bit=rangeDecoder.decodeBit(this._decoders,(1+matchBit<<8)+symbol),symbol=symbol<<1|bit,matchBit!==bit){for(;symbol<256;)symbol=symbol<<1|rangeDecoder.decodeBit(this._decoders,symbol);break}while(symbol<256);return symbol&255},LZMA.LiteralDecoder=function(){},LZMA.LiteralDecoder.prototype.create=function(numPosBits,numPrevBits){var i;if(!(this._coders&&this._numPrevBits===numPrevBits&&this._numPosBits===numPosBits))for(this._numPosBits=numPosBits,this._posMask=(1<<numPosBits)-1,this._numPrevBits=numPrevBits,this._coders=[],i=1<<this._numPrevBits+this._numPosBits;i--;)this._coders[i]=new LZMA.Decoder2},LZMA.LiteralDecoder.prototype.init=function(){for(var i=1<<this._numPrevBits+this._numPosBits;i--;)this._coders[i].init()},LZMA.LiteralDecoder.prototype.getDecoder=function(pos,prevByte){return this._coders[((pos&this._posMask)<<this._numPrevBits)+((prevByte&255)>>>8-this._numPrevBits)]},LZMA.Decoder=function(){this._outWindow=new LZMA.OutWindow,this._rangeDecoder=new LZMA.RangeDecoder,this._isMatchDecoders=[],this._isRepDecoders=[],this._isRepG0Decoders=[],this._isRepG1Decoders=[],this._isRepG2Decoders=[],this._isRep0LongDecoders=[],this._posSlotDecoder=[],this._posDecoders=[],this._posAlignDecoder=new LZMA.BitTreeDecoder(4),this._lenDecoder=new LZMA.LenDecoder,this._repLenDecoder=new LZMA.LenDecoder,this._literalDecoder=new LZMA.LiteralDecoder,this._dictionarySize=-1,this._dictionarySizeCheck=-1,this._posSlotDecoder[0]=new LZMA.BitTreeDecoder(6),this._posSlotDecoder[1]=new LZMA.BitTreeDecoder(6),this._posSlotDecoder[2]=new LZMA.BitTreeDecoder(6),this._posSlotDecoder[3]=new LZMA.BitTreeDecoder(6)},LZMA.Decoder.prototype.setDictionarySize=function(dictionarySize){return dictionarySize<0?!1:(this._dictionarySize!==dictionarySize&&(this._dictionarySize=dictionarySize,this._dictionarySizeCheck=Math.max(this._dictionarySize,1),this._outWindow.create(Math.max(this._dictionarySizeCheck,4096))),!0)},LZMA.Decoder.prototype.setLcLpPb=function(lc,lp,pb){var numPosStates=1<<pb;return lc>8||lp>4||pb>4?!1:(this._literalDecoder.create(lp,lc),this._lenDecoder.create(numPosStates),this._repLenDecoder.create(numPosStates),this._posStateMask=numPosStates-1,!0)},LZMA.Decoder.prototype.init=function(){var i=4;for(this._outWindow.init(!1),LZMA.initBitModels(this._isMatchDecoders,192),LZMA.initBitModels(this._isRep0LongDecoders,192),LZMA.initBitModels(this._isRepDecoders,12),LZMA.initBitModels(this._isRepG0Decoders,12),LZMA.initBitModels(this._isRepG1Decoders,12),LZMA.initBitModels(this._isRepG2Decoders,12),LZMA.initBitModels(this._posDecoders,114),this._literalDecoder.init();i--;)this._posSlotDecoder[i].init();this._lenDecoder.init(),this._repLenDecoder.init(),this._posAlignDecoder.init(),this._rangeDecoder.init()},LZMA.Decoder.prototype.decode=function(inStream,outStream,outSize){var state=0,rep0=0,rep1=0,rep2=0,rep3=0,nowPos64=0,prevByte=0,posState,decoder2,len,distance,posSlot,numDirectBits;for(this._rangeDecoder.setStream(inStream),this._outWindow.setStream(outStream),this.init();outSize<0||nowPos64<outSize;)if(posState=nowPos64&this._posStateMask,this._rangeDecoder.decodeBit(this._isMatchDecoders,(state<<4)+posState)===0)decoder2=this._literalDecoder.getDecoder(nowPos64++,prevByte),prevByte=state>=7?decoder2.decodeWithMatchByte(this._rangeDecoder,this._outWindow.getByte(rep0)):decoder2.decodeNormal(this._rangeDecoder),this._outWindow.putByte(prevByte),state=state<4?0:state-(state<10?3:6);else{if(this._rangeDecoder.decodeBit(this._isRepDecoders,state)===1)len=0,this._rangeDecoder.decodeBit(this._isRepG0Decoders,state)===0?this._rangeDecoder.decodeBit(this._isRep0LongDecoders,(state<<4)+posState)===0&&(state=state<7?9:11,len=1):(this._rangeDecoder.decodeBit(this._isRepG1Decoders,state)===0?distance=rep1:(this._rangeDecoder.decodeBit(this._isRepG2Decoders,state)===0?distance=rep2:(distance=rep3,rep3=rep2),rep2=rep1),rep1=rep0,rep0=distance),len===0&&(len=2+this._repLenDecoder.decode(this._rangeDecoder,posState),state=state<7?8:11);else if(rep3=rep2,rep2=rep1,rep1=rep0,len=2+this._lenDecoder.decode(this._rangeDecoder,posState),state=state<7?7:10,posSlot=this._posSlotDecoder[len<=5?len-2:3].decode(this._rangeDecoder),posSlot>=4){if(numDirectBits=(posSlot>>1)-1,rep0=(2|posSlot&1)<<numDirectBits,posSlot<14)rep0+=LZMA.reverseDecode2(this._posDecoders,rep0-posSlot-1,this._rangeDecoder,numDirectBits);else if(rep0+=this._rangeDecoder.decodeDirectBits(numDirectBits-4)<<4,rep0+=this._posAlignDecoder.reverseDecode(this._rangeDecoder),rep0<0){if(rep0===-1)break;return!1}}else rep0=posSlot;if(rep0>=nowPos64||rep0>=this._dictionarySizeCheck)return!1;this._outWindow.copyBlock(rep0,len),nowPos64+=len,prevByte=this._outWindow.getByte(0)}return this._outWindow.flush(),this._outWindow.releaseStream(),this._rangeDecoder.releaseStream(),!0},LZMA.Decoder.prototype.setDecoderProperties=function(properties){var value,lc,lp,pb,dictionarySize;return properties.size<5||(value=properties.readByte(),lc=value%9,value=~~(value/9),lp=value%5,pb=~~(value/5),!this.setLcLpPb(lc,lp,pb))?!1:(dictionarySize=properties.readByte(),dictionarySize|=properties.readByte()<<8,dictionarySize|=properties.readByte()<<16,dictionarySize+=properties.readByte()*16777216,this.setDictionarySize(dictionarySize))},LZMA.decompress=function(properties,inStream,outStream,outSize){var decoder=new LZMA.Decoder;if(!decoder.setDecoderProperties(properties))throw`Incorrect stream properties`;if(!decoder.decode(inStream,outStream,outSize))throw`Error in data stream`;return!0},LZMA.decompressFile=function(inStream,outStream){var decoder=new LZMA.Decoder,outSize;if(!decoder.setDecoderProperties(inStream))throw`Incorrect stream properties`;if(outSize=inStream.readByte(),outSize|=inStream.readByte()<<8,outSize|=inStream.readByte()<<16,outSize+=inStream.readByte()*16777216,inStream.readByte(),inStream.readByte(),inStream.readByte(),inStream.readByte(),!decoder.decode(inStream,outStream,outSize))throw`Error in data stream`;return!0},LZMA}var LZMA=createLZMA();function createWASM(){function base64ToArrayBuffer(base64){let lookup=new Uint8Array(256);for(let i=0;i<64;i++)lookup[`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.charCodeAt(i)]=i;let bufferLength=base64.length*.75,len=base64.length,i,p=0,encoded1,encoded2,encoded3,encoded4;base64[base64.length-1]===`=`&&(bufferLength--,base64[base64.length-2]===`=`&&bufferLength--);let arraybuffer=new ArrayBuffer(bufferLength),bytes=new Uint8Array(arraybuffer);for(i=0;i<len;i+=4)encoded1=lookup[base64.charCodeAt(i)],encoded2=lookup[base64.charCodeAt(i+1)],encoded3=lookup[base64.charCodeAt(i+2)],encoded4=lookup[base64.charCodeAt(i+3)],bytes[p++]=encoded1<<2|encoded2>>4,bytes[p++]=(encoded2&15)<<4|encoded3>>2,bytes[p++]=(encoded3&3)<<6|encoded4&63;return arraybuffer}return base64ToArrayBuffer(`AGFzbQEAAAABSg1gAABgAX8Bf2ACf38Bf2AEf39/fwBgA39/fwBgAX8AYAJ/fwBgA39/fwF/YAR/f39/AX9gAn9/AGABfwF/YAABf2AEf39/fwF/AhsCA2VudgVhYm9ydAADA2VudgZtZW1vcnkCAAEDJiUBAQkKAgoKCwsLCwsAAgoBAgQKAQYFCAoFBQQEBwgCBwwCAQAABAQBcAABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwc9BgZtZW1vcnkCAAV0YWJsZQEABXJlc2V0AA0KbmV3VThBcnJheQAQCnVucGFja1NpemUAFAZkZWNvZGUAIwgBJAkHAQBBAAsBJQqAViVoAQN/IABBgICAgARLBEAACyMBIgEgAEEBIABBAUsbakEHakF4cSICPwAiA0EQdEsEQCADIAIgAWtB//8DakGAgHxxQRB2IgAgAyAAShtAAEEASARAIABAAEEASARAAAsLCyACJAEgAQsbAQF/QQFBICAAQQdqZ2t0EAEiASAANgIAIAELkQMBAX8gAUUEQA8LIABBADoAACAAIAFqQQFrQQA6AAAgAUECTQRADwsgAEEBakEAOgAAIABBAmpBADoAACAAIAFqIgJBAmtBADoAACACQQNrQQA6AAAgAUEGTQRADwsgAEEDakEAOgAAIAAgAWpBBGtBADoAACABQQhNBEAPC0EAIABrQQNxIgIgAGoiAEEANgIAIAEgAmtBfHEiASAAakEEa0EANgIAIAFBCE0EQA8LIABBBGpBADYCACAAQQhqQQA2AgAgACABaiICQQxrQQA2AgAgAkEIa0EANgIAIAFBGE0EQA8LIABBDGpBADYCACAAQRBqQQA2AgAgAEEUakEANgIAIABBGGpBADYCACAAIAFqIgJBHGtBADYCACACQRhrQQA2AgAgAkEUa0EANgIAIAJBEGtBADYCACAAQQRxQRhqIgIgAGohACABIAJrIQEDQCABQSBPBEAgAEIANwMAIABBCGpCADcDACAAQRBqQgA3AwAgAEEYakIANwMAIAFBIGshASAAQSBqIQAMAQsLC1EBA38gAEH+////AEsEQEEAQSBBLUEnEAAACyAAQQJ0IgMQAiECQQgQASIBQQA2AgAgAUEANgIEIAEgAjYCACABIAA2AgQgAkEIaiADEAMgAQtmAQF/IAFB/P///wFLBEBBAEHAAEEXQSIQAAALIAFBAXQiARACIgJBCGogARADIABFBEBBDBABIQALIABBADYCACAAQQA2AgQgAEEANgIIIAAgAjYCACAAQQA2AgQgACABNgIIIAALCgBBDBABIAAQBQsuAQF/QQgQASIBQQA2AgAgAUEANgIEIAEgADYCBCABQQEgASgCBHQQBjYCACABC6EBAQR/QRAQASIBQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgxBEBAEIQIDQCAAQRBIBEBBAxAHIQMgAigCACAAQQJ0aiADNgIIIABBAWohAAwBCwsgASACNgIEQRAQBCECQQAhAANAIABBEEgEQEEDEAchAyACKAIAIABBAnRqIAM2AgggAEEBaiEADAELCyABIAI2AgggAUEIEAc2AgwgAQs0AQF/QRQQASIAQQA2AgAgAEEAOgAEIABBADYCCCAAQQA2AgwgAEEANgIQIABBDTYCCCAAC0IBAX9BGRABIgBBADYCACAAQQA2AgQgAEEANgIIIABBADYCDCAAQQA2AhAgAEEANgIUIABBADoAGCAAQQA2AhAgAAu1AgEEf0HQABABIgBBADoAACAAQQA2AgQgAEEANgIIIABBADYCDCAAQQA2AhAgAEEAOgAUIABBADYCGCAAQQA2AhwgAEEANgIgIABBADYCJCAAQQA2AiggAEEANgIsIABBADYCMCAAQQA2AjQgAEEANgI4IABBADYCPCAAQQA2AkAgAEEANgJEIABBADYCSCAAQQA2AkxBBBAEIQIDQCABQQRIBEBBBhAHIQMgAigCACABQQJ0aiADNgIIIAFBAWohAQwBCwsgACACNgIkIABBBBAHNgIoIABB8wAQBjYCLCAAQcABEAY2AjAgAEEMEAY2AjQgAEEMEAY2AjggAEEMEAY2AjwgAEEMEAY2AkAgAEHAARAGNgJEIAAQCDYCSCAAEAg2AkwgABAJNgIEIAAQCjYCCCAACx8BAX9BCBABIgBBADYCACAAQQA2AgQgABALNgIAIAALCgAjACQBEAwkAwthAQF/IAFB+P///wNLBEBBAEHAAEEXQSIQAAALIAEQAiICQQhqIAEQ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oAgAiAygCAEECdkkEfyACQQJ0IANqKAIIBQALKAIAQQEkBBAYGiACQQFqIQIMAQsLIAEoAigoAgBBASQEEBgaIAEoAixBASQEEBgaIAAoAjBBASQEEBgaIAAoAjRBASQEEBgaIAAoAjhBASQEEBgaIAAoAjxBASQEEBgaIAAoAkBBASQEEBgaIAAoAkRBASQEEBgaIAAoAkgQGSAAKAJMEBkLyAwBA38DQCABQQNxIAIgAhsEQCAAIgRBAWohACABIgNBAWohASAEIAMtAAA6AAAgAkEBayECDAELCyAAQQNxRQRAA0AgAkEQTwRAIAAgASgCADYCACAAQQRqIAFBBGooAgA2AgAgAEEIaiABQQhqKAIANgIAIABBDGogAUEMaigCADYCACABQRBqIQEgAEEQaiEAIAJBEGshAgwBCwsgAkEIcQRAIAAgASgCADYCACAAQQRqIAFBBGooAgA2AgAgAUEIaiEBIABBCGohAAsgAkEEcQRAIAAgASgCADYCACABQQRqIQEgAEEEaiEACyACQQJxBEAgACABLwEAOwEAIAFBAmohASAAQQJqIQALIAJBAXEEQCAAIAEtAAA6AAALDwsgAkEgTwRAAkACQAJAIABBA3EiA0EBRwRAIANBAkYNASADQQNGDQIMAwsgASgCACEFIAAgASIDLQAAOgAAIABBAWoiASABIANBAWoiAS0AADoAAEEBaiIEQQFqIQAgAUEBaiIDQQFqIQEgBCADLQAAOgAAIAJBA2shAgNAIAJBEU8EQCAAIAFBAWooAgAiA0EIdCAFQRh2cjYCACAAQQRqIAFBBWooAgAiBUEIdCADQRh2cjYCACAAQQhqIAFBCWooAgAiA0EIdCAFQRh2cjYCACAAQQxqIAFBDWooAgAiBUEIdCADQRh2cjYCACABQRBqIQEgAEEQaiEAIAJBEGshAgwBCwsMAgsgASgCACEFIAAgAS0AADoAACAAQQFqIgRBAWohACABQQFqIgNBAWohASAEIAMtAAA6AAAgAkECayECA0AgAkESTwRAIAAgAUECaigCACIDQRB0IAVBEHZyNgIAIABBBGogAUEGaigCACIFQRB0IANBEHZyNgIAIABBCGogAUEKaigCACI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cUEJcCIHOgAIIAIoAgQgAigCAGogA0H/AXFBCW4iAzoACCADQQVwIQUgAigCBCACKAIAQQJqaiADQQVuIgM6AAggAigCBCACKAIAQQNqaiAFOgAIIAQgBzYCDCAEIAM2AhAgBCAFOgAUIARBADYCHEEAIQIDQAJAIAJBBE8NACAEIAQoAhwgBigCBCAGKAIAIAJBAWpqai0ACCACQQN0dHI2AhwgAkEBaiECDAELCyAEIAQoAhw2AhggBCgCGEGAIEkEQCAEQYAgNgIYC0EAIQJBACEFQQAhAwNAAkAgA0EITg0AIAYgA0EFahARQf8BcSIEQf8BRwRAQQEhBQsgBCADQQN0dCACciECIANBAWohAwwBCwsgACgCACAFRToAACAAKAIAKAIEIAE2AgAgACgCABAWAkAgACgCACAFIAIQICIBQQFGDQAgAUEDRwRAIAFBAkYEQCAFBEAgACgCACgCCCgCECACRw0DCwUMAgsLIAAoAgAoAgQtAAQaQQFBACAAKAIAKAIIKAIQIAAoAgAoAggoAgQQIQ8LQQBBAUEAQQAQIQsIACMDIAAQIgsWAEG4ASQAIwAkAUGAgIAIJAIQDCQDCwMAAQsLtwEEAEEICxcKAAAAdQBzAGUAIABzAHQAcgBpAGMAdABBIAsdDQAAAH4AbABpAGIALwBhAHIAcgBhAHkALgB0AHMAQcAACzkbAAAAfgBsAGkAYgAvAGkAbgB0AGUAcgBuAGEAbAAvAHQAeQBwAGUAZABhAHIAcgBhAHkALgB0AHMAQYABCzMYAAAAcwByAGMALwBsAHoAbQBhAC8AbAB6AG0AYQAtAGQAZQBjAG8AZABlAHIALgB0AHM=`)}function decodeLZMA(LZMA,data,callback){try{let inStream={data,offset:0,readByte(){return this.data[this.offset++]}},partLength=inStream.data.length,outStream={data:[],offset:0,writeByte(value){let partIndex=Math.floor(this.offset/partLength);this.data[partIndex]||(this.data[partIndex]=new Uint8Array(partLength)),this.data[partIndex][this.offset%partLength]=value,this.offset++}};LZMA.decompressFile(inStream,outStream);let result=new Uint8Array(outStream.offset);for(let i=0;i<outStream.offset;i++)result[i]=outStream.data[Math.floor(i/partLength)][i%partLength];callback(null,result)}catch(error){callback(error)}}function decodeLZMAWithWASM(LZMA_WASM,data,callback){try{let memory=new WebAssembly.Memory({initial:16}),module=new WebAssembly.Module(LZMA_WASM),lzma=new WebAssembly.Instance(module,{env:{memory,abort(){callback(Error(`webAssembly abort`))}}}).exports,inputDataPtr=lzma.newU8Array(data.length);new Uint8Array(memory.buffer,inputDataPtr+24,data.length).set(data);let resultPtr=lzma.decode(inputDataPtr),result=new Uint32Array(memory.buffer,resultPtr,4),success=result[0],unpackSize=result[2],dataPtr=result[3];success?callback(null,new Uint8Array(memory.buffer,dataPtr+24,unpackSize).slice(0,unpackSize)):callback(Error(`lzma deocder error`))}catch(error){callback(error)}}var lzmaWorkerSource=`
|
|
339
|
+
var decodeLZMA = (function() {
|
|
340
|
+
var LZMA = (${createLZMA.toString()})();
|
|
341
|
+
return function(data, callback) {
|
|
342
|
+
return (${decodeLZMA.toString()})(LZMA, data, callback);
|
|
343
|
+
}
|
|
344
|
+
})();
|
|
345
|
+
|
|
346
|
+
var decodeLZMAWithWASM = (function() {
|
|
347
|
+
var LZMA_WASM = (${createWASM.toString()})();
|
|
348
|
+
return function(data, callback) {
|
|
349
|
+
return (${decodeLZMAWithWASM.toString()})(LZMA_WASM, data, callback);
|
|
350
|
+
}
|
|
351
|
+
})();
|
|
352
|
+
|
|
353
|
+
self.onmessage = function(event) {
|
|
354
|
+
var packet = event.data;
|
|
355
|
+
if (!packet.id) {
|
|
356
|
+
postMessage({ id: packet.id, error: "No incoming id." });
|
|
357
|
+
return;
|
|
358
|
+
}
|
|
359
|
+
if (!packet.data) {
|
|
360
|
+
postMessage({ id: packet.id, error: "No input data." });
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
if (packet.type == "decompress") {
|
|
364
|
+
if (packet.data.constructor !== Uint8Array) {
|
|
365
|
+
postMessage({ id: packet.id, error: "Input data is not Uint8Array." });
|
|
366
|
+
}
|
|
367
|
+
const callback = function(error, result) {
|
|
368
|
+
if (error) {
|
|
369
|
+
postMessage({ id: packet.id, error: error.toString() });
|
|
370
|
+
} else {
|
|
371
|
+
postMessage({ id: packet.id, result: result, error: null }, [ result.buffer ]);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
if (typeof WebAssembly !== "undefined" && WebAssembly.instantiate) {
|
|
375
|
+
decodeLZMAWithWASM(packet.data, callback);
|
|
376
|
+
} else {
|
|
377
|
+
decodeLZMA(packet.data, callback);
|
|
378
|
+
}
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
381
|
+
postMessage({ id: packet.id, error: "type never matched." });
|
|
382
|
+
};
|
|
383
|
+
`,support=typeof Worker<`u`&&typeof Blob<`u`,lzmaWorkerURL=``;if(support)try{let blob=new Blob([lzmaWorkerSource],{type:`text/javascript`});lzmaWorkerURL=URL.createObjectURL(blob)}catch(error){}var LZMAWorker=class{constructor(){if(!support)throw Error(`LZMAWorker cannot work in this broswer.`);this.callCounter=0,this.requests={};let worker=this.worker=new Worker(lzmaWorkerURL);worker.onmessage=event=>{let{id,result,error}=event.data,key=this.getKey(id);this.requests[key]&&(error?this.requests[key](Error(error)):this.requests[key](null,result),delete this.requests[key])},worker.onerror=error=>console.error(error)}getKey(id){return`key_`+String(id)}decompress(data,onCompleteCallback){let id=++this.callCounter;this.requests[this.getKey(id)]=onCompleteCallback,this.worker.postMessage({type:`decompress`,id,data},[data.buffer])}terminate(){this.worker.terminate()}};LZMAWorker.support=support;function readUint32(bytes){return Array.prototype.reduce.call(bytes,(prev,curr,index)=>prev|curr<<index*8,0)}function binaryArrays(lzmaSub){let binaryArrays=[],lzma_num=lzmaSub.length;for(let i=0;i<lzma_num;i++){let inStream={data:lzmaSub[i],offset:0,readByte(){return this.data[this.offset++]}},partLength=inStream.data.length,outStream={data:[],offset:0,writeByte(value){let partIndex=Math.floor(this.offset/partLength);this.data[partIndex]||(this.data[partIndex]=new Uint8Array(partLength)),this.data[partIndex][this.offset%partLength]=value,this.offset++}};LZMA.decompressFile(inStream,outStream);var data=new Uint8Array(outStream.offset);for(let i=0;i<outStream.offset;i++)data[i]=outStream.data[Math.floor(i/partLength)][i%partLength];binaryArrays.push(data)}return binaryArrays}function binaryArraysWithWorker(lzmaSub){let tasks=[],lzma_num=lzmaSub.length;for(let i=0;i<lzma_num;i++)tasks.push(new Promise((resolve,reject)=>{let lzma=new LZMAWorker;lzma.decompress(lzmaSub[i],(error,result)=>{if(lzma.terminate(),error)return reject(error);resolve(result)})}));return Promise.all(tasks)}function lzma(binary){let binaryArray=new Uint8Array(binary),lzmaNum=readUint32(binaryArray.slice(0,4));if(lzmaNum>10)return Promise.reject(Error(`LZMA got too many sub chunks.`));let lzmaSub=[],lzmaLength=[],cursur=4+lzmaNum*4;for(let i=0;i<lzmaNum;i++)lzmaLength[i]=readUint32(binaryArray.slice(4+i*4,8+i*4)),i===lzmaNum-1?lzmaSub[i]=binaryArray.subarray(cursur,cursur+lzmaLength[i]):lzmaSub[i]=binaryArray.slice(cursur,cursur+lzmaLength[i]),cursur+=lzmaLength[i];return LZMAWorker.support?binaryArraysWithWorker(lzmaSub):Promise.resolve(binaryArrays(lzmaSub))}export{lzma as t};
|