@realsee/dnalogel 3.81.26-alpha.1 → 3.81.26-alpha.2
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/dist/PanoPatchPlugin/Controller.d.ts +5 -7
- package/dist/PanoPatchPlugin/index.d.ts +1 -1
- package/dist/PanoPatchPlugin/typings.d.ts +0 -14
- package/dist/index.cjs.js +39 -39
- package/dist/index.js +617 -640
- package/dist/index.umd.js +42 -42
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AnimationScriptAdapterSafetyError.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/DigitalHuman.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.html +2 -2
- package/docs/classes/FireControl.html +2 -2
- package/docs/classes/FireScenePlayer.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/MeasureV2.EdgeSnapCache.html +2 -2
- package/docs/classes/MeasureV2.MeasureControllerV2.html +2 -2
- package/docs/classes/MeasureV2.MeasureMagnifier.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasureControllerV2.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoPatchPluginController.html +8 -8
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/DigitalPerformancePlugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -2
- package/docs/functions/FloorplanGuidePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/MeasureV2.MeasurePluginV2.html +1 -1
- package/docs/functions/MeasureV2.collectNearbyEdges.html +2 -2
- package/docs/functions/MeasureV2.drawMeasureOverlay.html +2 -2
- package/docs/functions/MeasureV2.getWorldNormal.html +2 -2
- package/docs/functions/MeasureV2.validatePolygon.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoMeasurePluginV2.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.cleanup.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.generatePolygonGeometry.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.replaceStaticPrefix.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.sculpt.transformUnit.html +2 -2
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/classifyMovementTrack.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/getAreaBox3.html +2 -2
- package/docs/functions/getAreaVertices.html +2 -2
- package/docs/functions/getEffectivePointActionDuration.html +1 -1
- package/docs/functions/getEntryArea.html +2 -2
- package/docs/functions/getMovementActionDuration.html +1 -1
- package/docs/functions/hasMovementV2Signal.html +1 -1
- package/docs/functions/isConverterSafeMovementMatrix.html +1 -1
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/functions/transformAnimationDetailToDigitalScript.html +2 -2
- package/docs/functions/transformScriptData.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AnimationScriptAdapterOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/BoxPosition.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ChapterLocation.html +2 -2
- package/docs/interfaces/ChapterTimeInfo.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalCameraState.html +2 -2
- package/docs/interfaces/DigitalChapter.html +2 -2
- package/docs/interfaces/DigitalDataPlayer.html +2 -2
- package/docs/interfaces/DigitalDataState.html +2 -2
- package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
- package/docs/interfaces/DigitalEffectState.html +2 -2
- package/docs/interfaces/DigitalItemKeyframe.html +2 -2
- package/docs/interfaces/DigitalItemState.html +2 -2
- package/docs/interfaces/DigitalModelKeyframe.html +2 -2
- package/docs/interfaces/DigitalModelPlayer.html +2 -2
- package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
- package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
- package/docs/interfaces/DigitalModelState.html +2 -2
- package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
- package/docs/interfaces/DigitalScript.html +2 -2
- package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
- package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
- package/docs/interfaces/DigitalSubTitleState.html +2 -2
- package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
- package/docs/interfaces/FireArea.html +2 -2
- package/docs/interfaces/FireModel.html +2 -2
- package/docs/interfaces/FireSceneConfig.html +2 -2
- package/docs/interfaces/FireSequencePlayerOptions.html +2 -2
- package/docs/interfaces/FireSequenceStep.html +2 -2
- package/docs/interfaces/FireVector3.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerStyledFloorplan.html +2 -2
- package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
- package/docs/interfaces/GlobalProgress.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/LegacyScriptTransformer.html +2 -2
- package/docs/interfaces/MeasureV2.EdgeSnapOptions.html +2 -2
- package/docs/interfaces/MeasureV2.MagnifierViewport.html +2 -2
- package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +2 -2
- package/docs/interfaces/MeasureV2.ResolvedEdgeSnapOptions.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginV2Data.html +2 -2
- package/docs/interfaces/PanoMeasurePluginV2ServerData.html +2 -2
- package/docs/interfaces/PanoPatch.html +2 -2
- package/docs/interfaces/PanoPatchCandidate.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PlaybackController.html +2 -2
- package/docs/interfaces/PlaybackManager.html +2 -2
- package/docs/interfaces/PlaybackSession.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/ProgressBarEvents.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/StyledFloorplan.html +2 -2
- package/docs/interfaces/StyledFloorplanImage.html +2 -2
- package/docs/interfaces/StyledFloorplanRoomLabel.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/TraceManager.html +2 -2
- package/docs/interfaces/TracePoint.html +2 -2
- package/docs/interfaces/Util.AdaptiveReadWindowOptions.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/DigitalPerformanceV2.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/MeasureV2.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -5
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/BoxTag.html +2 -2
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/CanonicalMovementTrackPlan.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FireModelType.html +2 -2
- package/docs/types/FireSequenceKind.html +2 -2
- package/docs/types/FireSpreadBounds.html +2 -2
- package/docs/types/FloorplanAffineTransform.html +1 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerAffineTransform.html +1 -1
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/KeyframeType.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MaskPosition.html +2 -2
- package/docs/types/MaskTag.html +2 -2
- package/docs/types/MeasureInteractionState.html +2 -2
- package/docs/types/MeasureV2.MeasureControllerV2Interface.html +1 -1
- package/docs/types/MeasureV2.MeasureEndReason.html +1 -1
- package/docs/types/MeasureV2.MeasurePluginConfig.html +2 -2
- package/docs/types/MeasureV2.MeasurePluginEventMap.html +1 -1
- package/docs/types/MeasureV2.MeasurePluginV2Config.html +2 -2
- package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaOperations.html +1 -1
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/MovementConfig.html +1 -1
- package/docs/types/MovementPosition.html +1 -1
- package/docs/types/MovementTrackClassification.html +1 -1
- package/docs/types/MovementTrackConflictReason.html +1 -1
- package/docs/types/MovementTrackProjection.html +1 -1
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasurePluginV2Config.html +1 -1
- package/docs/types/PanoMeasurePluginV2Instance.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointAction.html +1 -1
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/PolygonPosition.html +2 -2
- package/docs/types/PolygonTag.html +2 -2
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/ProgressListener.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StateType.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/TrackPoint.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -1
- package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -2
- package/docs/variables/FIRE_SPREAD_SPEED.html +2 -2
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/MODEL_SCALE_RANGE.html +2 -2
- package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -1
- package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -1
- package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -1
- package/docs/variables/MeasureV2.DEFAULT_EDGE_SNAP_OPTIONS.html +1 -1
- package/docs/variables/MeasureV2.OVERLAY_STYLE.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/PanoPatchPlugin/Controller.d.ts +5 -7
- package/libs/PanoPatchPlugin/Controller.js +78 -101
- package/libs/PanoPatchPlugin/index.d.ts +1 -1
- package/libs/PanoPatchPlugin/typings.d.ts +0 -14
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/docs/interfaces/PanoPatchLoadFailure.html +0 -5
- package/docs/interfaces/PanoPatchLoadResult.html +0 -2
- package/docs/interfaces/PanoPatchPanoLoadResult.html +0 -4
package/dist/index.js
CHANGED
|
@@ -38,12 +38,12 @@ var K = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as Sw, Camera as kw, loadAt3d as Tw, Five as Zt, Subscribe as bo, loadGltf as T1, AnimationFrameLoop as Dw } from "@realsee/five";
|
|
40
40
|
import * as y from "three";
|
|
41
|
-
import { Vector3 as pe, Vector2 as Jt, Object3D as Yr, Matrix4 as ot, LineSegments as Lw, ShaderMaterial as Mc, Group as Fn, Raycaster as
|
|
41
|
+
import { Vector3 as pe, Vector2 as Jt, Object3D as Yr, Matrix4 as ot, LineSegments as Lw, ShaderMaterial as Mc, Group as Fn, Raycaster as mr, MeshBasicMaterial as da, Vector4 as Us, Curve as D1, Loader as Uf, LoaderUtils as nh, FileLoader as zw, TextureLoader as nd, RepeatWrapping as Qf, ClampToEdgeWrapping as Xf, Texture as Yf, MeshPhongMaterial as sh, MeshLambertMaterial as Ow, Color as Ht, sRGBEncoding as qo, EquirectangularReflectionMapping as Rw, Bone as Zf, PropertyBinding as sl, OrthographicCamera as _w, PerspectiveCamera as jw, PointLight as qf, MathUtils as an, SpotLight as Fw, DirectionalLight as Bw, SkinnedMesh as Vw, Mesh as Zr, LineBasicMaterial as Nw, Line as Hw, Skeleton as Gw, AmbientLight as Ww, BufferGeometry as Jo, Float32BufferAttribute as Tr, Uint16BufferAttribute as Uw, Matrix3 as Qw, BufferAttribute as nu, AnimationClip as Xw, Quaternion as Qs, Euler as On, VectorKeyframeTrack as Yw, QuaternionKeyframeTrack as Zw, NumberKeyframeTrack as qw, CanvasTexture as Jw, AnimationMixer as Kw, PlaneGeometry as $w, LinearFilter as su, CurvePath as e2, LineCurve3 as t2, TubeGeometry as i2, SphereGeometry as n2, DoubleSide as L1, RingGeometry as s2, VideoTexture as r2, SphereBufferGeometry as o2, Box3 as a2 } from "three";
|
|
42
42
|
import { LineGeometry as l2, LineMaterial as c2, THREE_Line2 as h2, Line as z1 } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as u2 } from "@realsee/five/gltf-loader";
|
|
44
44
|
function d2() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.81.26-alpha.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.81.26-alpha.2",
|
|
47
47
|
[
|
|
48
48
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -275,18 +275,18 @@ var Zi = Object.freeze({
|
|
|
275
275
|
return !0;
|
|
276
276
|
}, n;
|
|
277
277
|
}()
|
|
278
|
-
),
|
|
278
|
+
), Xs = {
|
|
279
279
|
Linear: function(n, t) {
|
|
280
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), r =
|
|
280
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), r = Xs.Utils.Linear;
|
|
281
281
|
return t < 0 ? r(n[0], n[1], i) : t > 1 ? r(n[e], n[e - 1], e - i) : r(n[s], n[s + 1 > e ? e : s + 1], i - s);
|
|
282
282
|
},
|
|
283
283
|
Bezier: function(n, t) {
|
|
284
|
-
for (var e = 0, i = n.length - 1, s = Math.pow, r =
|
|
284
|
+
for (var e = 0, i = n.length - 1, s = Math.pow, r = Xs.Utils.Bernstein, o = 0; o <= i; o++)
|
|
285
285
|
e += s(1 - t, i - o) * s(t, o) * n[o] * r(i, o);
|
|
286
286
|
return e;
|
|
287
287
|
},
|
|
288
288
|
CatmullRom: function(n, t) {
|
|
289
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), r =
|
|
289
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), r = Xs.Utils.CatmullRom;
|
|
290
290
|
return n[0] === n[e] ? (t < 0 && (s = Math.floor(i = e * (1 + t))), r(n[(s - 1 + e) % e], n[s], n[(s + 1) % e], n[(s + 2) % e], i - s)) : t < 0 ? n[0] - (r(n[0], n[0], n[1], n[1], -i) - n[0]) : t > 1 ? n[e] - (r(n[e], n[e], n[e - 1], n[e - 1], i - e) - n[e]) : r(n[s ? s - 1 : 0], n[s], n[e < s + 1 ? e : s + 1], n[e < s + 2 ? e : s + 2], i - s);
|
|
291
291
|
},
|
|
292
292
|
Utils: {
|
|
@@ -294,7 +294,7 @@ var Zi = Object.freeze({
|
|
|
294
294
|
return (t - n) * e + n;
|
|
295
295
|
},
|
|
296
296
|
Bernstein: function(n, t) {
|
|
297
|
-
var e =
|
|
297
|
+
var e = Xs.Utils.Factorial;
|
|
298
298
|
return e(n) / e(t) / e(n - t);
|
|
299
299
|
},
|
|
300
300
|
Factorial: function() {
|
|
@@ -326,7 +326,7 @@ var Zi = Object.freeze({
|
|
|
326
326
|
/** @class */
|
|
327
327
|
function() {
|
|
328
328
|
function n(t, e) {
|
|
329
|
-
e === void 0 && (e = ru), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Zi.Linear.None, this._interpolationFunction =
|
|
329
|
+
e === void 0 && (e = ru), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Zi.Linear.None, this._interpolationFunction = Xs.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = sd.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
330
330
|
}
|
|
331
331
|
return n.prototype.getId = function() {
|
|
332
332
|
return this._id;
|
|
@@ -425,7 +425,7 @@ var Zi = Object.freeze({
|
|
|
425
425
|
}, n.prototype.easing = function(t) {
|
|
426
426
|
return t === void 0 && (t = Zi.Linear.None), this._easingFunction = t, this;
|
|
427
427
|
}, n.prototype.interpolation = function(t) {
|
|
428
|
-
return t === void 0 && (t =
|
|
428
|
+
return t === void 0 && (t = Xs.Linear), this._interpolationFunction = t, this;
|
|
429
429
|
}, n.prototype.chain = function() {
|
|
430
430
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
431
431
|
t[e] = arguments[e];
|
|
@@ -493,7 +493,7 @@ var Zi = Object.freeze({
|
|
|
493
493
|
), v2 = "23.1.3", y2 = sd.nextId, fn = ru, b2 = fn.getAll.bind(fn), A2 = fn.removeAll.bind(fn), w2 = fn.add.bind(fn), _1 = fn.remove.bind(fn), P2 = fn.update.bind(fn), ep = {
|
|
494
494
|
Easing: Zi,
|
|
495
495
|
Group: R1,
|
|
496
|
-
Interpolation:
|
|
496
|
+
Interpolation: Xs,
|
|
497
497
|
now: Nr,
|
|
498
498
|
Sequence: sd,
|
|
499
499
|
nextId: y2,
|
|
@@ -1008,7 +1008,7 @@ let x2 = class extends E2 {
|
|
|
1008
1008
|
this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
|
|
1009
1009
|
}
|
|
1010
1010
|
};
|
|
1011
|
-
class
|
|
1011
|
+
class L_ {
|
|
1012
1012
|
constructor(t = {}) {
|
|
1013
1013
|
f(this, "controller");
|
|
1014
1014
|
const e = Object.assign({
|
|
@@ -1894,9 +1894,9 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1894
1894
|
mousedown: oe,
|
|
1895
1895
|
mousemove: ce,
|
|
1896
1896
|
mouseup: we
|
|
1897
|
-
},
|
|
1897
|
+
}, br = "mousedown", Zn = "mousemove mouseup";
|
|
1898
1898
|
function Ri() {
|
|
1899
|
-
this.evEl =
|
|
1899
|
+
this.evEl = br, this.evWin = Zn, this.pressed = !1, qe.apply(this, arguments);
|
|
1900
1900
|
}
|
|
1901
1901
|
w(Ri, qe, {
|
|
1902
1902
|
/**
|
|
@@ -1972,7 +1972,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1972
1972
|
var ee = x(H.touches), le = x(H.changedTouches);
|
|
1973
1973
|
return U & (we | ie) && (ee = E(ee.concat(le), "identifier", !0)), [ee, le];
|
|
1974
1974
|
}
|
|
1975
|
-
var
|
|
1975
|
+
var Ar = {
|
|
1976
1976
|
touchstart: oe,
|
|
1977
1977
|
touchmove: ce,
|
|
1978
1978
|
touchend: we,
|
|
@@ -1983,7 +1983,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1983
1983
|
}
|
|
1984
1984
|
w($n, qe, {
|
|
1985
1985
|
handler: function(U) {
|
|
1986
|
-
var ee =
|
|
1986
|
+
var ee = Ar[U.type], le = So.call(this, U, ee);
|
|
1987
1987
|
le && this.callback(this.manager, ee, {
|
|
1988
1988
|
pointers: le[0],
|
|
1989
1989
|
changedPointers: le[1],
|
|
@@ -2042,9 +2042,9 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2042
2042
|
}
|
|
2043
2043
|
});
|
|
2044
2044
|
function Ft(H, U) {
|
|
2045
|
-
H & oe ? (this.primaryTouch = U.changedPointers[0].identifier,
|
|
2045
|
+
H & oe ? (this.primaryTouch = U.changedPointers[0].identifier, wr.call(this, U)) : H & (we | ie) && wr.call(this, U);
|
|
2046
2046
|
}
|
|
2047
|
-
function
|
|
2047
|
+
function wr(H) {
|
|
2048
2048
|
var U = H.changedPointers[0];
|
|
2049
2049
|
if (U.identifier === this.primaryTouch) {
|
|
2050
2050
|
var ee = { x: U.clientX, y: U.clientY };
|
|
@@ -2064,7 +2064,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2064
2064
|
}
|
|
2065
2065
|
return !1;
|
|
2066
2066
|
}
|
|
2067
|
-
var
|
|
2067
|
+
var Pr = S(o.style, "touchAction"), Cr = Pr !== s, Mr = "compute", Bt = "auto", _s = "manipulation", Ui = "none", Cn = "pan-x", Mn = "pan-y", es = Lo();
|
|
2068
2068
|
function Gt(H, U) {
|
|
2069
2069
|
this.manager = H, this.set(U);
|
|
2070
2070
|
}
|
|
@@ -2074,7 +2074,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2074
2074
|
* @param {String} value
|
|
2075
2075
|
*/
|
|
2076
2076
|
set: function(H) {
|
|
2077
|
-
H ==
|
|
2077
|
+
H == Mr && (H = this.compute()), Cr && this.manager.element.style && es[H] && (this.manager.element.style[Pr] = H), this.actions = H.toLowerCase().trim();
|
|
2078
2078
|
},
|
|
2079
2079
|
/**
|
|
2080
2080
|
* just re-set the touchAction value
|
|
@@ -2126,7 +2126,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2126
2126
|
return U && ee ? Ui : U || ee ? U ? Cn : Mn : j(H, _s) ? _s : Bt;
|
|
2127
2127
|
}
|
|
2128
2128
|
function Lo() {
|
|
2129
|
-
if (!
|
|
2129
|
+
if (!Cr)
|
|
2130
2130
|
return !1;
|
|
2131
2131
|
var H = {}, U = t.CSS && t.CSS.supports;
|
|
2132
2132
|
return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(ee) {
|
|
@@ -2218,7 +2218,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2218
2218
|
function le(Me) {
|
|
2219
2219
|
U.manager.emit(Me, H);
|
|
2220
2220
|
}
|
|
2221
|
-
ee < ri && le(U.options.event +
|
|
2221
|
+
ee < ri && le(U.options.event + Er(ee)), le(U.options.event), H.additionalEvent && le(H.additionalEvent), ee >= ri && le(U.options.event + Er(ee));
|
|
2222
2222
|
},
|
|
2223
2223
|
/**
|
|
2224
2224
|
* Check that all the require failure recognizers has failed,
|
|
@@ -2280,10 +2280,10 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2280
2280
|
reset: function() {
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
|
-
function
|
|
2283
|
+
function Er(H) {
|
|
2284
2284
|
return H & _i ? "cancel" : H & ri ? "end" : H & sn ? "move" : H & ti ? "start" : "";
|
|
2285
2285
|
}
|
|
2286
|
-
function
|
|
2286
|
+
function Ir(H) {
|
|
2287
2287
|
return H == ge ? "down" : H == De ? "up" : H == Re ? "left" : H == be ? "right" : "";
|
|
2288
2288
|
}
|
|
2289
2289
|
function is(H, U) {
|
|
@@ -2353,7 +2353,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2353
2353
|
},
|
|
2354
2354
|
emit: function(H) {
|
|
2355
2355
|
this.pX = H.deltaX, this.pY = H.deltaY;
|
|
2356
|
-
var U =
|
|
2356
|
+
var U = Ir(H.direction);
|
|
2357
2357
|
U && (H.additionalEvent = this.options.event + U), this._super.emit.call(this, H);
|
|
2358
2358
|
}
|
|
2359
2359
|
});
|
|
@@ -2465,7 +2465,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2465
2465
|
return U & (de | Oe) ? ee = H.overallVelocity : U & de ? ee = H.overallVelocityX : U & Oe && (ee = H.overallVelocityY), this._super.attrTest.call(this, H) && U & H.offsetDirection && H.distance > this.options.threshold && H.maxPointers == this.options.pointers && c(ee) > this.options.velocity && H.eventType & we;
|
|
2466
2466
|
},
|
|
2467
2467
|
emit: function(H) {
|
|
2468
|
-
var U =
|
|
2468
|
+
var U = Ir(H.offsetDirection);
|
|
2469
2469
|
U && this.manager.emit(this.options.event + U, H), this.manager.emit(this.options.event, H);
|
|
2470
2470
|
}
|
|
2471
2471
|
});
|
|
@@ -2539,7 +2539,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2539
2539
|
* @type {String}
|
|
2540
2540
|
* @default compute
|
|
2541
2541
|
*/
|
|
2542
|
-
touchAction:
|
|
2542
|
+
touchAction: Mr,
|
|
2543
2543
|
/**
|
|
2544
2544
|
* @type {Boolean}
|
|
2545
2545
|
* @default true
|
|
@@ -2621,7 +2621,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2621
2621
|
tapHighlightColor: "rgba(0,0,0,0)"
|
|
2622
2622
|
}
|
|
2623
2623
|
};
|
|
2624
|
-
var zo = 1,
|
|
2624
|
+
var zo = 1, xr = 2;
|
|
2625
2625
|
function js(H, U) {
|
|
2626
2626
|
this.options = g({}, Si.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || H, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = H, this.input = Ke(this), this.touchAction = new Gt(this, this.options.touchAction), rs(this, !0), p(this.options.recognizers, function(ee) {
|
|
2627
2627
|
var le = this.add(new ee[0](ee[1]));
|
|
@@ -2644,7 +2644,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2644
2644
|
* @param {Boolean} [force]
|
|
2645
2645
|
*/
|
|
2646
2646
|
stop: function(H) {
|
|
2647
|
-
this.session.stopped = H ?
|
|
2647
|
+
this.session.stopped = H ? xr : zo;
|
|
2648
2648
|
},
|
|
2649
2649
|
/**
|
|
2650
2650
|
* run the recognizers!
|
|
@@ -2659,7 +2659,7 @@ var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2659
2659
|
var ee, le = this.recognizers, Me = U.curRecognizer;
|
|
2660
2660
|
(!Me || Me && Me.state & mi) && (Me = U.curRecognizer = null);
|
|
2661
2661
|
for (var _e = 0; _e < le.length; )
|
|
2662
|
-
ee = le[_e], U.stopped !==
|
|
2662
|
+
ee = le[_e], U.stopped !== xr && // 1
|
|
2663
2663
|
(!Me || ee == Me || // 2
|
|
2664
2664
|
ee.canRecognizeWith(Me)) ? ee.recognize(H) : ee.reset(), !Me && ee.state & (ti | sn | ri) && (Me = U.curRecognizer = ee), _e++;
|
|
2665
2665
|
}
|
|
@@ -3407,44 +3407,44 @@ function lh(n) {
|
|
|
3407
3407
|
if (!(i !== "transparent" && i !== "rgba(0, 0, 0, 0)" && i !== "" || s !== "none" && s !== ""))
|
|
3408
3408
|
return n;
|
|
3409
3409
|
}
|
|
3410
|
-
let Vo = [null, null, () => null],
|
|
3410
|
+
let Vo = [null, null, () => null], Js = /* @__PURE__ */ new Map(), Ks = /* @__PURE__ */ new Map();
|
|
3411
3411
|
function H2(n, t) {
|
|
3412
3412
|
if (!n)
|
|
3413
3413
|
return !1;
|
|
3414
3414
|
const e = t || n.uuid;
|
|
3415
|
-
return
|
|
3415
|
+
return Js.has(e) ? !1 : (Js.set(e, n), !0);
|
|
3416
3416
|
}
|
|
3417
3417
|
function G2(n) {
|
|
3418
3418
|
if (!n)
|
|
3419
3419
|
return !1;
|
|
3420
3420
|
if (typeof n == "string")
|
|
3421
|
-
return
|
|
3422
|
-
for (const [t, e] of
|
|
3421
|
+
return Js.delete(n);
|
|
3422
|
+
for (const [t, e] of Js.entries())
|
|
3423
3423
|
if (e === n)
|
|
3424
|
-
return
|
|
3424
|
+
return Js.delete(t);
|
|
3425
3425
|
return !1;
|
|
3426
3426
|
}
|
|
3427
3427
|
function W2(n, t) {
|
|
3428
3428
|
if (!n)
|
|
3429
3429
|
return !1;
|
|
3430
3430
|
const e = t || n.uuid;
|
|
3431
|
-
return
|
|
3431
|
+
return Ks.has(e) ? !1 : (Ks.set(e, n), !0);
|
|
3432
3432
|
}
|
|
3433
3433
|
function U2(n) {
|
|
3434
3434
|
if (!n)
|
|
3435
3435
|
return !1;
|
|
3436
3436
|
if (typeof n == "string")
|
|
3437
|
-
return
|
|
3438
|
-
for (const [t, e] of
|
|
3437
|
+
return Ks.delete(n);
|
|
3438
|
+
for (const [t, e] of Ks.entries())
|
|
3439
3439
|
if (e === n)
|
|
3440
|
-
return
|
|
3440
|
+
return Ks.delete(t);
|
|
3441
3441
|
return !1;
|
|
3442
3442
|
}
|
|
3443
3443
|
function Q2() {
|
|
3444
|
-
|
|
3444
|
+
Js.clear();
|
|
3445
3445
|
}
|
|
3446
3446
|
function X2() {
|
|
3447
|
-
|
|
3447
|
+
Ks.clear();
|
|
3448
3448
|
}
|
|
3449
3449
|
function Y2() {
|
|
3450
3450
|
Q2(), X2();
|
|
@@ -3464,9 +3464,9 @@ function _a(n) {
|
|
|
3464
3464
|
const r = (a = n.getElement()) == null ? void 0 : a.parentElement, o = ad(n);
|
|
3465
3465
|
if (!r)
|
|
3466
3466
|
return console.error("initialCSS3DRender: five element is not exist"), () => null;
|
|
3467
|
-
if (t.appendToElement(r), t.renderCss3dObjectEveryFrame(
|
|
3467
|
+
if (t.appendToElement(r), t.renderCss3dObjectEveryFrame(Js, n.camera), !o)
|
|
3468
3468
|
return console.error("initialCSS3DRender: behindWrapper is not exist"), () => null;
|
|
3469
|
-
e.appendToElement(o), e.renderCss3dObjectEveryFrame(
|
|
3469
|
+
e.appendToElement(o), e.renderCss3dObjectEveryFrame(Ks, n.camera);
|
|
3470
3470
|
});
|
|
3471
3471
|
const i = () => {
|
|
3472
3472
|
t.dispose(), e.dispose(), Y2();
|
|
@@ -4521,7 +4521,7 @@ function Vn(n) {
|
|
|
4521
4521
|
return new y.Vector3().lerpVectors(e.start, e.end, d);
|
|
4522
4522
|
}
|
|
4523
4523
|
}
|
|
4524
|
-
const op = new y.Vector3(),
|
|
4524
|
+
const op = new y.Vector3(), Dr = () => !1;
|
|
4525
4525
|
class Fa extends Tt {
|
|
4526
4526
|
constructor(e, i) {
|
|
4527
4527
|
var o, a, l, c, h;
|
|
@@ -4884,14 +4884,14 @@ class Fa extends Tt {
|
|
|
4884
4884
|
const e = this.five.getElement();
|
|
4885
4885
|
if (!e)
|
|
4886
4886
|
throw new Error("five element not found");
|
|
4887
|
-
this.mode === "cursor" ? (this.five.on("wantsMoveToPano",
|
|
4887
|
+
this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Dr), this.five.on("wantsChangeMode", Dr), this.five.on("wantsTapGesture", Dr), e.addEventListener("touchstart", this.onTouchStart, { passive: !0 }), e.addEventListener("touchmove", this.onTouchMove), e.addEventListener("touchend", this.onTouchEnd), e.addEventListener("mousedown", this.onMouseDown), e.addEventListener("mouseup", this.onMouseUp), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("wheel", this.onMouseWheel), e.addEventListener("mouseenter", this.onMouseEnter), e.addEventListener("mouseout", this.onMouseLeave), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), document.addEventListener("keydown", this.onKeyDown), document.addEventListener("keyup", this.onKeyUp), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
4888
4888
|
}
|
|
4889
4889
|
disable() {
|
|
4890
4890
|
if (!this.enabled)
|
|
4891
4891
|
return;
|
|
4892
4892
|
this.enabled = !1, this.adherePoints = null, this.adhereLine = [], this.adherePlane = [], this.plane = void 0, this.pointSelectorHelper.disable(), this.five.getElement().style.cursor = "";
|
|
4893
4893
|
const e = this.five.getElement();
|
|
4894
|
-
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano",
|
|
4894
|
+
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Dr), this.five.off("wantsChangeMode", Dr), this.five.off("wantsTapGesture", Dr), this.five.helperVisible = this.lastFiveHelperVisible, e == null || e.removeEventListener("touchstart", this.onTouchStart), e == null || e.removeEventListener("touchmove", this.onTouchMove), e == null || e.removeEventListener("touchend", this.onTouchEnd), e == null || e.removeEventListener("mousedown", this.onMouseDown), e == null || e.removeEventListener("mouseup", this.onMouseUp), e == null || e.removeEventListener("mousemove", this.updateByMousePosition), e == null || e.removeEventListener("wheel", this.onMouseWheel), e == null || e.removeEventListener("mouseenter", this.onMouseEnter), e == null || e.removeEventListener("mouseout", this.onMouseLeave), this.five.off("panoArrived", this.renderScreenCenter), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), document.removeEventListener("keydown", this.onKeyDown), document.removeEventListener("keyup", this.onKeyUp), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
|
|
4895
4895
|
}
|
|
4896
4896
|
dispose() {
|
|
4897
4897
|
this.disable(), this.pointSelectorHelper.dispose();
|
|
@@ -5235,7 +5235,7 @@ function fs(n, t) {
|
|
|
5235
5235
|
return new y.Vector3(e.x, i.y, i.z);
|
|
5236
5236
|
}
|
|
5237
5237
|
}
|
|
5238
|
-
function
|
|
5238
|
+
function gr(n) {
|
|
5239
5239
|
return ud(n, "box3");
|
|
5240
5240
|
}
|
|
5241
5241
|
function ny(n) {
|
|
@@ -6271,7 +6271,7 @@ class sP {
|
|
|
6271
6271
|
}
|
|
6272
6272
|
};
|
|
6273
6273
|
if (no(t))
|
|
6274
|
-
if (
|
|
6274
|
+
if (!$s(t) && t.children.length === 0 && t.name, $s(t)) {
|
|
6275
6275
|
if (Yl(t))
|
|
6276
6276
|
return {
|
|
6277
6277
|
opacity: (e = t.material.uniforms.opacity) == null ? void 0 : e.value,
|
|
@@ -6297,7 +6297,7 @@ class sP {
|
|
|
6297
6297
|
* @private
|
|
6298
6298
|
*/
|
|
6299
6299
|
restoreSingleState(t, e) {
|
|
6300
|
-
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : no(t) && (typeof e.visible == "boolean" && (t.visible = e.visible),
|
|
6300
|
+
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : no(t) && (typeof e.visible == "boolean" && (t.visible = e.visible), $s(t) && (Yl(t) ? (t.material.uniforms.opacity !== void 0 && (t.material.uniforms.opacity.value = e.opacity !== void 0 ? Number(e.opacity) : 1), e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material)) : Zl(t) && (t.material.opacity = e.opacity !== void 0 ? Number(e.opacity) : 1, e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material))));
|
|
6301
6301
|
}
|
|
6302
6302
|
/**
|
|
6303
6303
|
* 清空所有状态
|
|
@@ -6310,17 +6310,17 @@ const Rn = /* @__PURE__ */ new WeakMap(), Hn = new sP();
|
|
|
6310
6310
|
function no(n) {
|
|
6311
6311
|
return "isObject3D" in n && n.isObject3D === !0;
|
|
6312
6312
|
}
|
|
6313
|
-
function
|
|
6313
|
+
function $s(n) {
|
|
6314
6314
|
return no(n) && "material" in n && n.material !== void 0;
|
|
6315
6315
|
}
|
|
6316
6316
|
function Yl(n) {
|
|
6317
|
-
return
|
|
6317
|
+
return $s(n) && n.material instanceof Mc;
|
|
6318
6318
|
}
|
|
6319
6319
|
function Zl(n) {
|
|
6320
|
-
return
|
|
6320
|
+
return $s(n) && !(n.material instanceof Mc);
|
|
6321
6321
|
}
|
|
6322
6322
|
function rP(n, t) {
|
|
6323
|
-
n instanceof HTMLElement ? n.style.opacity = String(t) : no(n) &&
|
|
6323
|
+
n instanceof HTMLElement ? n.style.opacity = String(t) : no(n) && $s(n) && (Yl(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : Zl(n) && (n.material.opacity = t, n.material.transparent = !0));
|
|
6324
6324
|
}
|
|
6325
6325
|
function ql() {
|
|
6326
6326
|
const n = ut({});
|
|
@@ -6378,7 +6378,7 @@ function aP(n, t) {
|
|
|
6378
6378
|
if (!c)
|
|
6379
6379
|
return;
|
|
6380
6380
|
const h = c.maxOpacity * (r / 100);
|
|
6381
|
-
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : no(l) && (xs(n).includes(l) && (l.visible = !0),
|
|
6381
|
+
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : no(l) && (xs(n).includes(l) && (l.visible = !0), $s(l) && (Yl(l) ? (l.material.uniforms.opacity && (l.material.uniforms.opacity.value = h), l.material.transparent = !0) : Zl(l) && (l.material.opacity = h, l.material.transparent = !0)));
|
|
6382
6382
|
}), (o = t.onProgress) == null || o.call(t, r), (a = t.updateRender) == null || a.call(t);
|
|
6383
6383
|
};
|
|
6384
6384
|
}
|
|
@@ -6556,7 +6556,7 @@ class gP extends Sy {
|
|
|
6556
6556
|
}), super.add(...e), this;
|
|
6557
6557
|
}
|
|
6558
6558
|
}
|
|
6559
|
-
const vP = 3, uu = "CSS3DRenderer", Ko = `${uu}@${vP}`,
|
|
6559
|
+
const vP = 3, uu = "CSS3DRenderer", Ko = `${uu}@${vP}`, Lr = () => {
|
|
6560
6560
|
console.error(`${Ko} is disposed`);
|
|
6561
6561
|
}, Ot = {
|
|
6562
6562
|
css3DObjects: [],
|
|
@@ -6625,7 +6625,7 @@ class va {
|
|
|
6625
6625
|
*/
|
|
6626
6626
|
f(this, "create3DElement", (t, e, i) => {
|
|
6627
6627
|
if (this.state.disposed)
|
|
6628
|
-
return
|
|
6628
|
+
return Lr();
|
|
6629
6629
|
const s = (() => {
|
|
6630
6630
|
const T = {
|
|
6631
6631
|
ratio: 216e-5,
|
|
@@ -6707,7 +6707,7 @@ class va {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
setState(t, e = { userAction: !0 }) {
|
|
6709
6709
|
if (this.state.disposed)
|
|
6710
|
-
return
|
|
6710
|
+
return Lr();
|
|
6711
6711
|
const i = _({}, this.state);
|
|
6712
6712
|
this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
|
|
6713
6713
|
}
|
|
@@ -6717,25 +6717,25 @@ class va {
|
|
|
6717
6717
|
show() {
|
|
6718
6718
|
return K(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
6719
6719
|
if (this.state.disposed)
|
|
6720
|
-
return
|
|
6720
|
+
return Lr();
|
|
6721
6721
|
this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
|
|
6722
6722
|
});
|
|
6723
6723
|
}
|
|
6724
6724
|
hide() {
|
|
6725
6725
|
return K(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
6726
6726
|
if (this.state.disposed)
|
|
6727
|
-
return
|
|
6727
|
+
return Lr();
|
|
6728
6728
|
this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
|
|
6729
6729
|
});
|
|
6730
6730
|
}
|
|
6731
6731
|
enable({ userAction: t } = { userAction: !0 }) {
|
|
6732
6732
|
if (this.state.disposed)
|
|
6733
|
-
return
|
|
6733
|
+
return Lr();
|
|
6734
6734
|
this.setState({ enabled: !0 }, { userAction: t }), this.hooks.emit("enable", { userAction: t });
|
|
6735
6735
|
}
|
|
6736
6736
|
disable({ userAction: t } = { userAction: !0 }) {
|
|
6737
6737
|
if (this.state.disposed)
|
|
6738
|
-
return
|
|
6738
|
+
return Lr();
|
|
6739
6739
|
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
6740
6740
|
}
|
|
6741
6741
|
getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
@@ -6969,7 +6969,7 @@ class wP {
|
|
|
6969
6969
|
/** 缩放动画 */
|
|
6970
6970
|
doAnimation() {
|
|
6971
6971
|
var t;
|
|
6972
|
-
(t = this.animeIns) == null || t.dispose(), new
|
|
6972
|
+
(t = this.animeIns) == null || t.dispose(), new lr({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(Zi.Quadratic.InOut).onUpdate(({ progress: e }) => {
|
|
6973
6973
|
}).play();
|
|
6974
6974
|
}
|
|
6975
6975
|
dispose() {
|
|
@@ -7111,7 +7111,7 @@ function Dy(n, t, e, i, s) {
|
|
|
7111
7111
|
o = mp(r, n[r], n[r + 1], o);
|
|
7112
7112
|
return o && _c(o, o.next) && (Aa(o), o = o.next), o;
|
|
7113
7113
|
}
|
|
7114
|
-
function
|
|
7114
|
+
function ar(n, t) {
|
|
7115
7115
|
if (!n)
|
|
7116
7116
|
return n;
|
|
7117
7117
|
t || (t = n);
|
|
@@ -7135,7 +7135,7 @@ function ya(n, t, e, i, s, r, o) {
|
|
|
7135
7135
|
continue;
|
|
7136
7136
|
}
|
|
7137
7137
|
if (n = c, n === a) {
|
|
7138
|
-
o ? o === 1 ? (n = LP(
|
|
7138
|
+
o ? o === 1 ? (n = LP(ar(n), t, e), ya(n, t, e, i, s, r, 2)) : o === 2 && zP(n, t, e, i, s, r) : ya(ar(n), t, e, i, s, r, 1);
|
|
7139
7139
|
break;
|
|
7140
7140
|
}
|
|
7141
7141
|
}
|
|
@@ -7179,7 +7179,7 @@ function LP(n, t, e) {
|
|
|
7179
7179
|
var s = i.prev, r = i.next.next;
|
|
7180
7180
|
!_c(s, r) && Ly(s, i, i.next, r) && ba(s, r) && ba(r, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(r.i / e | 0), Aa(i), Aa(i.next), i = n = r), i = i.next;
|
|
7181
7181
|
} while (i !== n);
|
|
7182
|
-
return
|
|
7182
|
+
return ar(i);
|
|
7183
7183
|
}
|
|
7184
7184
|
function zP(n, t, e, i, s, r) {
|
|
7185
7185
|
var o = n;
|
|
@@ -7187,7 +7187,7 @@ function zP(n, t, e, i, s, r) {
|
|
|
7187
7187
|
for (var a = o.next.next; a !== o.prev; ) {
|
|
7188
7188
|
if (o.i !== a.i && HP(o, a)) {
|
|
7189
7189
|
var l = zy(o, a);
|
|
7190
|
-
o =
|
|
7190
|
+
o = ar(o, o.next), l = ar(l, l.next), ya(o, t, e, i, s, r, 0), ya(l, t, e, i, s, r, 0);
|
|
7191
7191
|
return;
|
|
7192
7192
|
}
|
|
7193
7193
|
a = a.next;
|
|
@@ -7211,7 +7211,7 @@ function _P(n, t) {
|
|
|
7211
7211
|
if (!e)
|
|
7212
7212
|
return t;
|
|
7213
7213
|
var i = zy(e, n);
|
|
7214
|
-
return
|
|
7214
|
+
return ar(i, i.next), ar(e, e.next);
|
|
7215
7215
|
}
|
|
7216
7216
|
function jP(n, t) {
|
|
7217
7217
|
var e = t, i = n.x, s = n.y, r = -1 / 0, o;
|
|
@@ -7434,7 +7434,7 @@ const dh = Math.PI * 2;
|
|
|
7434
7434
|
function gu(n) {
|
|
7435
7435
|
return (n % dh + dh) % dh;
|
|
7436
7436
|
}
|
|
7437
|
-
function
|
|
7437
|
+
function er(n) {
|
|
7438
7438
|
return {
|
|
7439
7439
|
longitude: gu(-Math.atan2(n.x, -n.z)),
|
|
7440
7440
|
latitude: -Math.asin(n.y / 1)
|
|
@@ -7466,15 +7466,15 @@ function vu(n, t, e) {
|
|
|
7466
7466
|
break;
|
|
7467
7467
|
d += 30;
|
|
7468
7468
|
}
|
|
7469
|
-
let g = (T = (I = p[2]) != null ? I : p[1]) != null ? T : 0, v = m(g), b = v.distanceTo(o), w =
|
|
7469
|
+
let g = (T = (I = p[2]) != null ? I : p[1]) != null ? T : 0, v = m(g), b = v.distanceTo(o), w = er(o.clone().sub(v).normalize());
|
|
7470
7470
|
if (e != null && e.minDistance && b < e.minDistance) {
|
|
7471
7471
|
b = e.minDistance;
|
|
7472
7472
|
const z = v.clone().sub(o).normalize();
|
|
7473
|
-
v = o.clone().add(z.multiplyScalar(b)), w =
|
|
7473
|
+
v = o.clone().add(z.multiplyScalar(b)), w = er(o.clone().sub(v).normalize());
|
|
7474
7474
|
}
|
|
7475
7475
|
if (e != null && e.minLatitude && w.latitude < e.minLatitude) {
|
|
7476
7476
|
const z = b * Math.cos(e.minLatitude), R = b * Math.sin(e.minLatitude), L = v.clone().sub(o);
|
|
7477
|
-
L.y = 0, L.normalize().multiplyScalar(z), v = o.clone().add(L).add(new y.Vector3(0, R, 0)), b = v.distanceTo(o), w =
|
|
7477
|
+
L.y = 0, L.normalize().multiplyScalar(z), v = o.clone().add(L).add(new y.Vector3(0, R, 0)), b = v.distanceTo(o), w = er(o.clone().sub(v).normalize());
|
|
7478
7478
|
}
|
|
7479
7479
|
if (n.state.mode === "Mapview")
|
|
7480
7480
|
return n.updateCamera(
|
|
@@ -7512,7 +7512,7 @@ function Ry(n, t, e) {
|
|
|
7512
7512
|
break;
|
|
7513
7513
|
h += 30;
|
|
7514
7514
|
}
|
|
7515
|
-
const p = d((v = u[1]) != null ? v : 0), m =
|
|
7515
|
+
const p = d((v = u[1]) != null ? v : 0), m = er(t.clone().sub(p).normalize());
|
|
7516
7516
|
if (n.state.mode === "Mapview")
|
|
7517
7517
|
return n.updateCamera(
|
|
7518
7518
|
_({
|
|
@@ -7864,7 +7864,7 @@ function qi(n = jc, t) {
|
|
|
7864
7864
|
return console.warn(`[replaceStaticPrefix] Invalid URL: ${t}`, e), t;
|
|
7865
7865
|
}
|
|
7866
7866
|
}
|
|
7867
|
-
class
|
|
7867
|
+
class lr extends Ec {
|
|
7868
7868
|
constructor() {
|
|
7869
7869
|
super(...arguments);
|
|
7870
7870
|
f(this, "disposeMethods", []);
|
|
@@ -7885,7 +7885,7 @@ class cr extends Ec {
|
|
|
7885
7885
|
}
|
|
7886
7886
|
}
|
|
7887
7887
|
function wa(n, t = Zi.Linear.None) {
|
|
7888
|
-
const e = new
|
|
7888
|
+
const e = new lr({ progress: 0 }).to({ progress: 1 });
|
|
7889
7889
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
7890
7890
|
}
|
|
7891
7891
|
const oo = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), KP = window.cancelAnimationFrame || clearTimeout;
|
|
@@ -8007,7 +8007,7 @@ class aC {
|
|
|
8007
8007
|
}), this.renderer.domElement.style.pointerEvents = "none", this.renderer.setSize(1, 1), window.__FIVEPUPPET_DEBUG__ = this, this.animate();
|
|
8008
8008
|
}
|
|
8009
8009
|
}
|
|
8010
|
-
const
|
|
8010
|
+
const __ = (n, t) => {
|
|
8011
8011
|
var C, x;
|
|
8012
8012
|
const e = new Tt();
|
|
8013
8013
|
let i = (x = (C = t == null ? void 0 : t.initialState) == null ? void 0 : C.enabled) != null ? x : !0, s = !1, r = !0, o = null;
|
|
@@ -8049,7 +8049,7 @@ const j_ = (n, t) => {
|
|
|
8049
8049
|
const $ = Se.scene;
|
|
8050
8050
|
return $.rotateX(-Math.PI / 2), $;
|
|
8051
8051
|
});
|
|
8052
|
-
const O =
|
|
8052
|
+
const O = gr(u), B = new y.Box3();
|
|
8053
8053
|
B.expandByPoint(new y.Vector3(O.min.x, O.min.z, -O.min.y)), B.expandByPoint(new y.Vector3(O.max.x, O.max.z, -O.max.y));
|
|
8054
8054
|
const q = Math.pow(
|
|
8055
8055
|
Math.pow(B.max.x - B.min.x + 1, 2) + Math.pow(B.max.y - B.min.y + 1, 2) + Math.pow(B.max.z - B.min.z + 1, 2),
|
|
@@ -8118,7 +8118,7 @@ function fh(n, t, e = new pe(1, 1, 1), i = !1) {
|
|
|
8118
8118
|
const s = new jy(n, t);
|
|
8119
8119
|
return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
|
|
8120
8120
|
}
|
|
8121
|
-
const
|
|
8121
|
+
const j_ = (n) => {
|
|
8122
8122
|
const t = {
|
|
8123
8123
|
intersection: null,
|
|
8124
8124
|
disposers: []
|
|
@@ -8160,7 +8160,7 @@ const F_ = (n) => {
|
|
|
8160
8160
|
const d = (b = n == null ? void 0 : n.camera) == null ? void 0 : b.position;
|
|
8161
8161
|
if (!d)
|
|
8162
8162
|
return !1;
|
|
8163
|
-
const p = h.distanceTo(d), m = h.sub(d).normalize(), g = new
|
|
8163
|
+
const p = h.distanceTo(d), m = h.sub(d).normalize(), g = new mr(d, m), v = (w = n.model.intersectRaycaster(g)) == null ? void 0 : w[0];
|
|
8164
8164
|
return !(v && v.distance + u < p);
|
|
8165
8165
|
}, o = () => t.intersection, a = () => {
|
|
8166
8166
|
var h, u;
|
|
@@ -8500,21 +8500,21 @@ function Vc(n) {
|
|
|
8500
8500
|
yu.push(n);
|
|
8501
8501
|
}
|
|
8502
8502
|
const ph = /* @__PURE__ */ new Set();
|
|
8503
|
-
let
|
|
8503
|
+
let zr = 0;
|
|
8504
8504
|
function Ln() {
|
|
8505
|
-
if (
|
|
8505
|
+
if (zr !== 0)
|
|
8506
8506
|
return;
|
|
8507
8507
|
const n = Pa;
|
|
8508
8508
|
do {
|
|
8509
8509
|
try {
|
|
8510
|
-
for (;
|
|
8511
|
-
const t = Vr[
|
|
8512
|
-
|
|
8510
|
+
for (; zr < Vr.length; ) {
|
|
8511
|
+
const t = Vr[zr];
|
|
8512
|
+
zr++, _n(t), gC(t.$$);
|
|
8513
8513
|
}
|
|
8514
8514
|
} catch (t) {
|
|
8515
|
-
throw Vr.length = 0,
|
|
8515
|
+
throw Vr.length = 0, zr = 0, t;
|
|
8516
8516
|
}
|
|
8517
|
-
for (_n(null), Vr.length = 0,
|
|
8517
|
+
for (_n(null), Vr.length = 0, zr = 0; Je.length; )
|
|
8518
8518
|
Je.pop()();
|
|
8519
8519
|
for (let t = 0; t < Jr.length; t += 1) {
|
|
8520
8520
|
const e = Jr[t];
|
|
@@ -8543,7 +8543,7 @@ function Nd() {
|
|
|
8543
8543
|
Ho = null;
|
|
8544
8544
|
})), Ho;
|
|
8545
8545
|
}
|
|
8546
|
-
function
|
|
8546
|
+
function tr(n, t, e) {
|
|
8547
8547
|
n.dispatchEvent(Wy(`${t ? "intro" : "outro"}${e}`));
|
|
8548
8548
|
}
|
|
8549
8549
|
const Ol = /* @__PURE__ */ new Set();
|
|
@@ -8583,10 +8583,10 @@ function ks(n, t, e) {
|
|
|
8583
8583
|
const { delay: d = 0, duration: p = 300, easing: m = Un, tick: g = he, css: v } = s || Hd;
|
|
8584
8584
|
v && (o = tc(n, 0, 1, p, d, m, v, l++)), g(0, 1);
|
|
8585
8585
|
const b = Rd() + d, w = b + p;
|
|
8586
|
-
a && a.abort(), r = !0, wt(() =>
|
|
8586
|
+
a && a.abort(), r = !0, wt(() => tr(n, !0, "start")), a = jd((M) => {
|
|
8587
8587
|
if (r) {
|
|
8588
8588
|
if (M >= w)
|
|
8589
|
-
return g(1, 0),
|
|
8589
|
+
return g(1, 0), tr(n, !0, "end"), c(), r = !1;
|
|
8590
8590
|
if (M >= b) {
|
|
8591
8591
|
const I = m((M - b) / p);
|
|
8592
8592
|
g(I, 1 - I);
|
|
@@ -8617,10 +8617,10 @@ function wo(n, t, e) {
|
|
|
8617
8617
|
const { delay: c = 0, duration: h = 300, easing: u = Un, tick: d = he, css: p } = s || Hd;
|
|
8618
8618
|
p && (o = tc(n, 1, 0, h, c, u, p));
|
|
8619
8619
|
const m = Rd() + c, g = m + h;
|
|
8620
|
-
wt(() =>
|
|
8620
|
+
wt(() => tr(n, !1, "start")), jd((v) => {
|
|
8621
8621
|
if (r) {
|
|
8622
8622
|
if (v >= g)
|
|
8623
|
-
return d(0, 1),
|
|
8623
|
+
return d(0, 1), tr(n, !1, "end"), --a.r || ft(a.c), !1;
|
|
8624
8624
|
if (v >= m) {
|
|
8625
8625
|
const b = u((v - m) / h);
|
|
8626
8626
|
d(1 - b, b);
|
|
@@ -8660,10 +8660,10 @@ function Hi(n, t, e, i) {
|
|
|
8660
8660
|
start: Rd() + m,
|
|
8661
8661
|
b: p
|
|
8662
8662
|
};
|
|
8663
|
-
p || (M.group = dn, dn.r += 1), a || l ? l = M : (w && (h(), c = tc(n, o, p, g, m, v, w)), p && b(0, 1), a = u(M, g), wt(() =>
|
|
8664
|
-
if (l && I > l.start && (a = u(l, g), l = null,
|
|
8663
|
+
p || (M.group = dn, dn.r += 1), a || l ? l = M : (w && (h(), c = tc(n, o, p, g, m, v, w)), p && b(0, 1), a = u(M, g), wt(() => tr(n, p, "start")), jd((I) => {
|
|
8664
|
+
if (l && I > l.start && (a = u(l, g), l = null, tr(n, a.b, "start"), w && (h(), c = tc(n, o, a.b, a.duration, 0, v, r.css))), a) {
|
|
8665
8665
|
if (I >= a.end)
|
|
8666
|
-
b(o = a.b, 1 - o),
|
|
8666
|
+
b(o = a.b, 1 - o), tr(n, a.b, "end"), l || (a.b ? h() : --a.group.r || ft(a.group.c)), a = null;
|
|
8667
8667
|
else if (I >= a.start) {
|
|
8668
8668
|
const T = I - a.start;
|
|
8669
8669
|
o = a.a + a.d * v(T / a.duration), b(o, 1 - o);
|
|
@@ -9528,7 +9528,7 @@ function XC(n, t, e) {
|
|
|
9528
9528
|
function u(M) {
|
|
9529
9529
|
if (!(l === null || M.floorIndex === l))
|
|
9530
9530
|
return !1;
|
|
9531
|
-
const T = new
|
|
9531
|
+
const T = new mr(), z = s.camera.position.clone(), R = new pe(M.position.x, M.position.y, M.position.z), L = R.distanceTo(z);
|
|
9532
9532
|
T.set(z.clone(), R.clone().sub(z).normalize());
|
|
9533
9533
|
const [j] = s.model.intersectRaycaster(T);
|
|
9534
9534
|
return !(j && j.distance + 1 < L);
|
|
@@ -9675,12 +9675,12 @@ class qC {
|
|
|
9675
9675
|
}
|
|
9676
9676
|
}
|
|
9677
9677
|
}
|
|
9678
|
-
const
|
|
9678
|
+
const B_ = (n) => new qC(n), V_ = {
|
|
9679
9679
|
name: "ModelRoomLabelPlugin",
|
|
9680
9680
|
version: 0
|
|
9681
9681
|
};
|
|
9682
|
-
var
|
|
9683
|
-
function
|
|
9682
|
+
var ir = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(ir || {});
|
|
9683
|
+
function cr(n) {
|
|
9684
9684
|
return K(this, null, function* () {
|
|
9685
9685
|
try {
|
|
9686
9686
|
return [null, yield n];
|
|
@@ -9729,19 +9729,19 @@ function ac(n, { delay: t = 0, speed: e, duration: i, easing: s = ho } = {}) {
|
|
|
9729
9729
|
`
|
|
9730
9730
|
};
|
|
9731
9731
|
}
|
|
9732
|
-
const
|
|
9732
|
+
const Or = [];
|
|
9733
9733
|
function Ud(n, t = he) {
|
|
9734
9734
|
let e;
|
|
9735
9735
|
const i = /* @__PURE__ */ new Set();
|
|
9736
9736
|
function s(a) {
|
|
9737
9737
|
if (Ee(n, a) && (n = a, e)) {
|
|
9738
|
-
const l = !
|
|
9738
|
+
const l = !Or.length;
|
|
9739
9739
|
for (const c of i)
|
|
9740
|
-
c[1](),
|
|
9740
|
+
c[1](), Or.push(c, n);
|
|
9741
9741
|
if (l) {
|
|
9742
|
-
for (let c = 0; c <
|
|
9743
|
-
|
|
9744
|
-
|
|
9742
|
+
for (let c = 0; c < Or.length; c += 2)
|
|
9743
|
+
Or[c][0](Or[c + 1]);
|
|
9744
|
+
Or.length = 0;
|
|
9745
9745
|
}
|
|
9746
9746
|
}
|
|
9747
9747
|
}
|
|
@@ -11089,16 +11089,16 @@ function TM(n) {
|
|
|
11089
11089
|
}
|
|
11090
11090
|
};
|
|
11091
11091
|
}
|
|
11092
|
-
const
|
|
11092
|
+
const Rr = 1e3, _r = 180;
|
|
11093
11093
|
function DM(n, t, e) {
|
|
11094
11094
|
let { type: i } = t, { data: s } = t, { bounding: r } = t, { getRuleDistanceText: o } = t;
|
|
11095
|
-
const a = i === "top" || i === "bottom", l = r.max.x - r.min.x - (
|
|
11096
|
-
const g = a ? (m - r.min.x -
|
|
11095
|
+
const a = i === "top" || i === "bottom", l = r.max.x - r.min.x - (Rr - _r) * 2, c = r.max.y - r.min.y - (Rr - _r) * 2, h = s.map(([m, g]) => a ? [m.x, g.x] : [m.y, g.y]).flat().sort().filter((m, g, v) => g === 0 ? !0 : m !== v[g - 1]), u = h.map((m) => {
|
|
11096
|
+
const g = a ? (m - r.min.x - Rr + _r) / l : 0, v = a ? 0 : (m - r.min.y - Rr + _r) / c;
|
|
11097
11097
|
return { left: g, bottom: v };
|
|
11098
11098
|
});
|
|
11099
11099
|
u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
11100
11100
|
const d = h[h.length - 1] - h[0], p = h.map((m, g, v) => {
|
|
11101
|
-
const b = g === 0 ? 0 : m - v[g - 1], w = g === 0 ? 0 : (m + v[g - 1]) / 2, M = a ? (w - r.min.x -
|
|
11101
|
+
const b = g === 0 ? 0 : m - v[g - 1], w = g === 0 ? 0 : (m + v[g - 1]) / 2, M = a ? (w - r.min.x - Rr + _r) / l : 0, I = a ? 0 : (w - r.min.y - Rr + _r) / c;
|
|
11102
11102
|
return { left: M, bottom: I, distance: b };
|
|
11103
11103
|
}).filter(({ distance: m }) => m / d > 0.1);
|
|
11104
11104
|
return n.$$set = (m) => {
|
|
@@ -13704,9 +13704,9 @@ function em(n, t) {
|
|
|
13704
13704
|
const e = Math.max(...n.work.observers.map((i) => i.floorIndex));
|
|
13705
13705
|
return t > e ? n.model.bounding.max.y : Math.max(...n.work.observers.filter((i) => i.floorIndex === t).map((i) => i.standingPosition.y));
|
|
13706
13706
|
}
|
|
13707
|
-
function Ma(n, t, e =
|
|
13707
|
+
function Ma(n, t, e = ir.BOUNDING_CENTER) {
|
|
13708
13708
|
const i = em(n, t), s = em(n, t + 1);
|
|
13709
|
-
return e ===
|
|
13709
|
+
return e === ir.BOUNDING_CENTER ? (n.model.bounding.max.y + n.model.bounding.min.y) / 2 : e === ir.CEILING ? s : i;
|
|
13710
13710
|
}
|
|
13711
13711
|
function Zd(n, t, e, i) {
|
|
13712
13712
|
const s = Ma(n, e, i == null ? void 0 : i.attachedTo), r = new y.Vector3(0, s, 0), o = new y.Vector3(1, s, 0), a = r.clone().project(n.camera), l = o.clone().project(n.camera);
|
|
@@ -13717,7 +13717,7 @@ let Ts = class {
|
|
|
13717
13717
|
/**
|
|
13718
13718
|
* @realsee/dnalogel 版本号
|
|
13719
13719
|
*/
|
|
13720
|
-
f(this, "VERSION", "3.81.26-alpha.
|
|
13720
|
+
f(this, "VERSION", "3.81.26-alpha.2");
|
|
13721
13721
|
f(this, "NAME");
|
|
13722
13722
|
f(this, "five");
|
|
13723
13723
|
f(this, "workUtil");
|
|
@@ -13750,14 +13750,14 @@ let Ts = class {
|
|
|
13750
13750
|
};
|
|
13751
13751
|
var bi = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(bi || {});
|
|
13752
13752
|
const ob = 500, qd = 80;
|
|
13753
|
-
function
|
|
13753
|
+
function nr(n, t, e = 4) {
|
|
13754
13754
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
13755
13755
|
}
|
|
13756
13756
|
function ab(n, t, e = 4) {
|
|
13757
13757
|
const i = Math.PI * 2, s = n % i, r = t % i, o = Math.min(s, r), a = Math.max(s, r);
|
|
13758
|
-
return
|
|
13758
|
+
return nr(o, a, e) || nr(o + i, a, e);
|
|
13759
13759
|
}
|
|
13760
|
-
Object.assign(window, { nearlyEqual:
|
|
13760
|
+
Object.assign(window, { nearlyEqual: nr, nearlyEqualRad: ab });
|
|
13761
13761
|
function V5(n) {
|
|
13762
13762
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
13763
13763
|
}
|
|
@@ -13766,7 +13766,7 @@ function tm(n) {
|
|
|
13766
13766
|
}
|
|
13767
13767
|
function Jd(n, t) {
|
|
13768
13768
|
return K(this, null, function* () {
|
|
13769
|
-
const [e] = yield
|
|
13769
|
+
const [e] = yield cr(n.changeMode(...t));
|
|
13770
13770
|
if (e)
|
|
13771
13771
|
throw new Error("change mode canceled");
|
|
13772
13772
|
yield new Promise((o) => {
|
|
@@ -13785,7 +13785,7 @@ function Jd(n, t) {
|
|
|
13785
13785
|
function N5(n, t) {
|
|
13786
13786
|
return Object.keys(n).every((e) => {
|
|
13787
13787
|
const i = t[e], s = n[e];
|
|
13788
|
-
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? ab(i, s, 2) : typeof i == "number" && typeof s == "number" ?
|
|
13788
|
+
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? ab(i, s, 2) : typeof i == "number" && typeof s == "number" ? nr(i, s, 2) : tm(s) && tm(i) ? s.distanceTo(i) < 0.01 : i === s;
|
|
13789
13789
|
});
|
|
13790
13790
|
}
|
|
13791
13791
|
function H5(n, t, e) {
|
|
@@ -13800,7 +13800,7 @@ function G5(n, t) {
|
|
|
13800
13800
|
if (n.currentMode !== t.mode)
|
|
13801
13801
|
return !1;
|
|
13802
13802
|
const { latitude: e, longitude: i, fov: s, offset: r } = t, { latitude: o, longitude: a, offset: l } = n.getCurrentState(), c = n.camera.fov;
|
|
13803
|
-
return !(!
|
|
13803
|
+
return !(!nr(e, o, 2) || !nr(i, a, 2) || r !== void 0 && r.distanceTo(l) > 0.01 || !nr(s, c, 2));
|
|
13804
13804
|
}
|
|
13805
13805
|
function lb(n, t, e = !0) {
|
|
13806
13806
|
return K(this, null, function* () {
|
|
@@ -13810,7 +13810,7 @@ function lb(n, t, e = !0) {
|
|
|
13810
13810
|
if (s.mode !== t.mode) {
|
|
13811
13811
|
const h = n.models.find((p) => p.name === n.state.workCode), u = typeof t.fov == "number" ? t.fov : qd;
|
|
13812
13812
|
h && (t.distance = H5(h, u, n.camera.aspect));
|
|
13813
|
-
const [d] = yield
|
|
13813
|
+
const [d] = yield cr(Jd(n, [t.mode, t, void 0, e]));
|
|
13814
13814
|
if (d)
|
|
13815
13815
|
throw d;
|
|
13816
13816
|
return;
|
|
@@ -13823,7 +13823,7 @@ function lb(n, t, e = !0) {
|
|
|
13823
13823
|
(o > Math.PI ? 2 * Math.PI - o : o) * 500,
|
|
13824
13824
|
typeof t.fov == "number" ? Math.abs(a - t.fov) * 10 : 1 / 0
|
|
13825
13825
|
)
|
|
13826
|
-
), [c] = yield
|
|
13826
|
+
), [c] = yield cr(n.updateCamera(uo(t, ["mode"]), l, e));
|
|
13827
13827
|
if (c)
|
|
13828
13828
|
throw new Error(bi.UpdateCameraError);
|
|
13829
13829
|
});
|
|
@@ -13969,7 +13969,7 @@ let Q5 = class extends bn {
|
|
|
13969
13969
|
this.showRejection = (u) => {
|
|
13970
13970
|
a = !0, l = u;
|
|
13971
13971
|
};
|
|
13972
|
-
const [c] = yield
|
|
13972
|
+
const [c] = yield cr(lb(this.five, this.showState, s.userAction));
|
|
13973
13973
|
if (c)
|
|
13974
13974
|
throw c;
|
|
13975
13975
|
if (a)
|
|
@@ -14092,7 +14092,7 @@ let Q5 = class extends bn {
|
|
|
14092
14092
|
roomDimensionEnable: !0,
|
|
14093
14093
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
14094
14094
|
cameraImageUrl: mn,
|
|
14095
|
-
attachedTo:
|
|
14095
|
+
attachedTo: ir.BOUNDING_CENTER,
|
|
14096
14096
|
getLabelElement: void 0,
|
|
14097
14097
|
missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
14098
14098
|
i18n: (u) => u,
|
|
@@ -14214,7 +14214,7 @@ let Q5 = class extends bn {
|
|
|
14214
14214
|
this.app = new Yd({ target: this.container, intro: !0, props: i });
|
|
14215
14215
|
}
|
|
14216
14216
|
};
|
|
14217
|
-
const
|
|
14217
|
+
const Y_ = (n, t) => new Q5(n, t), im = [
|
|
14218
14218
|
{
|
|
14219
14219
|
type: 0,
|
|
14220
14220
|
description: "车-2",
|
|
@@ -17008,7 +17008,7 @@ let q5 = class extends bn {
|
|
|
17008
17008
|
this.showRejection = (u) => {
|
|
17009
17009
|
a = !0, l = u;
|
|
17010
17010
|
};
|
|
17011
|
-
const [c] = yield
|
|
17011
|
+
const [c] = yield cr(lb(this.five, this.showState, s.userAction));
|
|
17012
17012
|
if (c)
|
|
17013
17013
|
throw c;
|
|
17014
17014
|
if (a)
|
|
@@ -17133,7 +17133,7 @@ let q5 = class extends bn {
|
|
|
17133
17133
|
roomNameOtherTypeEnable: !0,
|
|
17134
17134
|
roomDimensionEnable: !0,
|
|
17135
17135
|
cameraImageUrl: mn,
|
|
17136
|
-
attachedTo:
|
|
17136
|
+
attachedTo: ir.BOUNDING_CENTER,
|
|
17137
17137
|
getLabelElement: void 0,
|
|
17138
17138
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
17139
17139
|
missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -17292,7 +17292,7 @@ let q5 = class extends bn {
|
|
|
17292
17292
|
this.app = new Yd({ target: this.container, intro: !0, props: i });
|
|
17293
17293
|
}
|
|
17294
17294
|
};
|
|
17295
|
-
const
|
|
17295
|
+
const q_ = (n, t) => new q5(n, t);
|
|
17296
17296
|
let J5 = class extends bn {
|
|
17297
17297
|
constructor(e, i) {
|
|
17298
17298
|
var l, c;
|
|
@@ -17410,7 +17410,7 @@ let J5 = class extends bn {
|
|
|
17410
17410
|
roomNameOtherTypeEnable: !0,
|
|
17411
17411
|
roomDimensionEnable: !0,
|
|
17412
17412
|
cameraImageUrl: mn,
|
|
17413
|
-
attachedTo:
|
|
17413
|
+
attachedTo: ir.BOUNDING_CENTER,
|
|
17414
17414
|
getLabelElement: void 0,
|
|
17415
17415
|
missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
17416
17416
|
i18n: (h) => h,
|
|
@@ -17566,7 +17566,7 @@ let J5 = class extends bn {
|
|
|
17566
17566
|
this.app = new Yd({ target: this.container, intro: !0, props: i });
|
|
17567
17567
|
}
|
|
17568
17568
|
};
|
|
17569
|
-
const
|
|
17569
|
+
const K_ = (n, t) => new J5(n, t);
|
|
17570
17570
|
function K5(n) {
|
|
17571
17571
|
ze(n, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
|
|
17572
17572
|
}
|
|
@@ -18683,7 +18683,7 @@ let CE = class extends xe {
|
|
|
18683
18683
|
this.app ? this.app.$set(e) : this.app = new CE({ target: this.wrapper, props: e });
|
|
18684
18684
|
}
|
|
18685
18685
|
};
|
|
18686
|
-
const
|
|
18686
|
+
const sj = (n, t) => new ME(n, t);
|
|
18687
18687
|
function EE(n) {
|
|
18688
18688
|
ze(n, "svelte-ryb078", ".plugin-radar__camera-wrapper.svelte-ryb078{width:100%;height:100%;position:absolute;pointer-events:none;z-index:20}.plugin-radar__camera-position.svelte-ryb078{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear;transform-origin:0 0;z-index:20}.plugin-radar__camera-rotate.svelte-ryb078{position:absolute;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%;z-index:20}.floorplan-guide-plugin__styled-realsee .floorplan-guide-plugin__default-camera.svelte-ryb078::after{content:'';position:absolute;left:var(--camera-offset);top:var(--camera-offset);width:33.333%;height:33.333%;border-radius:50%;background:#3366ff;transform:translate(-50%, -50%)}");
|
|
18689
18689
|
}
|
|
@@ -21067,7 +21067,7 @@ let pI = class extends bn {
|
|
|
21067
21067
|
this.app ? this.app.$set(r) : this.app = new fI({ target: this.wrapper, props: r });
|
|
21068
21068
|
}
|
|
21069
21069
|
};
|
|
21070
|
-
const
|
|
21070
|
+
const oj = (n, t) => new pI(n, t), aj = [
|
|
21071
21071
|
{ type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
|
|
21072
21072
|
{ type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
|
|
21073
21073
|
{ type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
|
|
@@ -21139,14 +21139,14 @@ const aj = (n, t) => new pI(n, t), lj = [
|
|
|
21139
21139
|
{ type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
|
|
21140
21140
|
{ type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
|
|
21141
21141
|
{ type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
|
|
21142
|
-
],
|
|
21142
|
+
], lj = [
|
|
21143
21143
|
{ type: 0, description: "木质地板" },
|
|
21144
21144
|
{ type: 1, description: "瓷砖地面" },
|
|
21145
21145
|
{ type: 2, description: "户外地面" },
|
|
21146
21146
|
{ type: 3, description: "卫生间地面" },
|
|
21147
21147
|
{ type: 4, description: "阳台地面" },
|
|
21148
21148
|
{ type: 5, description: "车库地面" }
|
|
21149
|
-
],
|
|
21149
|
+
], cj = [
|
|
21150
21150
|
{ roomType: "100900000001", description: "室" },
|
|
21151
21151
|
{ roomType: "100900000002", description: "厅" },
|
|
21152
21152
|
{ roomType: "100900000003", description: "厨" },
|
|
@@ -21194,7 +21194,7 @@ function Kd(n, t) {
|
|
|
21194
21194
|
!e.length && t !== ki ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
|
|
21195
21195
|
}
|
|
21196
21196
|
var vt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
|
|
21197
|
-
function
|
|
21197
|
+
function Gs(n) {
|
|
21198
21198
|
var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, r, o, a, l, c, h, u, d, p;
|
|
21199
21199
|
for (u = 0; u < t; ++u)
|
|
21200
21200
|
n[u] > e && (e = n[u]), n[u] < i && (i = n[u]);
|
|
@@ -21272,7 +21272,7 @@ Ds.prototype.k = function() {
|
|
|
21272
21272
|
if (!vt)
|
|
21273
21273
|
for (z = d, d = p.length; z < d; ++z)
|
|
21274
21274
|
p[yh[z]] = 0;
|
|
21275
|
-
for (m =
|
|
21275
|
+
for (m = Gs(p), b = new (vt ? Uint8Array : Array)(h + u), z = 0, T = h + u; z < T; )
|
|
21276
21276
|
switch (w = Ea(this, m), w) {
|
|
21277
21277
|
case 16:
|
|
21278
21278
|
for (I = 3 + Fi(this, 2); I--; )
|
|
@@ -21291,7 +21291,7 @@ Ds.prototype.k = function() {
|
|
|
21291
21291
|
default:
|
|
21292
21292
|
M = b[z++] = w;
|
|
21293
21293
|
}
|
|
21294
|
-
g =
|
|
21294
|
+
g = Gs(vt ? b.subarray(0, h) : b.slice(0, h)), v = Gs(vt ? b.subarray(h) : b.slice(h)), this.j(g, v);
|
|
21295
21295
|
break;
|
|
21296
21296
|
default:
|
|
21297
21297
|
throw Error("unknown BTYPE: " + n);
|
|
@@ -21330,15 +21330,15 @@ var Mm = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], yh
|
|
|
21330
21330
|
12289,
|
|
21331
21331
|
16385,
|
|
21332
21332
|
24577
|
|
21333
|
-
], pb = vt ? new Uint16Array(xm) : xm, Sm = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], hc = vt ? new Uint8Array(Sm) : Sm, Pu = new (vt ? Uint8Array : Array)(288),
|
|
21334
|
-
|
|
21335
|
-
for (km = Pu.length;
|
|
21336
|
-
Pu[
|
|
21337
|
-
var vI =
|
|
21333
|
+
], pb = vt ? new Uint16Array(xm) : xm, Sm = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], hc = vt ? new Uint8Array(Sm) : Sm, Pu = new (vt ? Uint8Array : Array)(288), Hs, km;
|
|
21334
|
+
Hs = 0;
|
|
21335
|
+
for (km = Pu.length; Hs < km; ++Hs)
|
|
21336
|
+
Pu[Hs] = 143 >= Hs ? 8 : 255 >= Hs ? 9 : 279 >= Hs ? 7 : 8;
|
|
21337
|
+
var vI = Gs(Pu), Cu = new (vt ? Uint8Array : Array)(30), Rl, Tm;
|
|
21338
21338
|
Rl = 0;
|
|
21339
21339
|
for (Tm = Cu.length; Rl < Tm; ++Rl)
|
|
21340
21340
|
Cu[Rl] = 5;
|
|
21341
|
-
var yI =
|
|
21341
|
+
var yI = Gs(Cu);
|
|
21342
21342
|
function Fi(n, t) {
|
|
21343
21343
|
for (var e = n.f, i = n.d, s = n.input, r = n.a, o = s.length, a; i < t; ) {
|
|
21344
21344
|
if (r >= o)
|
|
@@ -21517,7 +21517,7 @@ var zm = db.Zlib, mb = {
|
|
|
21517
21517
|
returns point for given u
|
|
21518
21518
|
*/
|
|
21519
21519
|
calcBSplinePoint: function(n, t, e, i) {
|
|
21520
|
-
for (var s = this.findSpan(n, i, t), r = this.calcBasisFunctions(s, i, n, t), o = new
|
|
21520
|
+
for (var s = this.findSpan(n, i, t), r = this.calcBasisFunctions(s, i, n, t), o = new Us(0, 0, 0, 0), a = 0; a <= n; ++a) {
|
|
21521
21521
|
var l = e[s - n + a], c = r[a], h = l.w * c;
|
|
21522
21522
|
o.x += l.x * h, o.y += l.y * h, o.z += l.z * h, o.w += l.w * c;
|
|
21523
21523
|
}
|
|
@@ -21597,7 +21597,7 @@ var zm = db.Zlib, mb = {
|
|
|
21597
21597
|
o[p] = u;
|
|
21598
21598
|
}
|
|
21599
21599
|
for (var p = r + 1; p <= s + 1; ++p)
|
|
21600
|
-
o[p] = new
|
|
21600
|
+
o[p] = new Us(0, 0, 0);
|
|
21601
21601
|
return o;
|
|
21602
21602
|
},
|
|
21603
21603
|
/*
|
|
@@ -21660,30 +21660,30 @@ var zm = db.Zlib, mb = {
|
|
|
21660
21660
|
*/
|
|
21661
21661
|
calcSurfacePoint: function(n, t, e, i, s, r, o, a) {
|
|
21662
21662
|
for (var l = this.findSpan(n, r, e), c = this.findSpan(t, o, i), h = this.calcBasisFunctions(l, r, n, e), u = this.calcBasisFunctions(c, o, t, i), d = [], p = 0; p <= t; ++p) {
|
|
21663
|
-
d[p] = new
|
|
21663
|
+
d[p] = new Us(0, 0, 0, 0);
|
|
21664
21664
|
for (var m = 0; m <= n; ++m) {
|
|
21665
21665
|
var g = s[l - n + m][c - t + p].clone(), v = g.w;
|
|
21666
21666
|
g.x *= v, g.y *= v, g.z *= v, d[p].add(g.multiplyScalar(h[m]));
|
|
21667
21667
|
}
|
|
21668
21668
|
}
|
|
21669
|
-
for (var b = new
|
|
21669
|
+
for (var b = new Us(0, 0, 0, 0), p = 0; p <= t; ++p)
|
|
21670
21670
|
b.add(d[p].multiplyScalar(u[p]));
|
|
21671
21671
|
b.divideScalar(b.w), a.set(b.x, b.y, b.z);
|
|
21672
21672
|
}
|
|
21673
|
-
},
|
|
21673
|
+
}, hr = function(n, t, e, i, s) {
|
|
21674
21674
|
D1.call(this), this.degree = n, this.knots = t, this.controlPoints = [], this.startKnot = i || 0, this.endKnot = s || this.knots.length - 1;
|
|
21675
21675
|
for (var r = 0; r < e.length; ++r) {
|
|
21676
21676
|
var o = e[r];
|
|
21677
|
-
this.controlPoints[r] = new
|
|
21677
|
+
this.controlPoints[r] = new Us(o.x, o.y, o.z, o.w);
|
|
21678
21678
|
}
|
|
21679
21679
|
};
|
|
21680
|
-
|
|
21681
|
-
|
|
21682
|
-
|
|
21680
|
+
hr.prototype = Object.create(D1.prototype);
|
|
21681
|
+
hr.prototype.constructor = hr;
|
|
21682
|
+
hr.prototype.getPoint = function(n, t) {
|
|
21683
21683
|
var e = t || new pe(), i = this.knots[this.startKnot] + n * (this.knots[this.endKnot] - this.knots[this.startKnot]), s = mb.calcBSplinePoint(this.degree, this.knots, this.controlPoints, i);
|
|
21684
21684
|
return s.w != 1 && s.divideScalar(s.w), e.set(s.x, s.y, s.z);
|
|
21685
21685
|
};
|
|
21686
|
-
|
|
21686
|
+
hr.prototype.getTangent = function(n, t) {
|
|
21687
21687
|
var e = t || new pe(), i = this.knots[0] + n * (this.knots[this.knots.length - 1] - this.knots[0]), s = mb.calcNURBSDerivatives(this.degree, this.knots, this.controlPoints, i, 1);
|
|
21688
21688
|
return e.copy(s[1]).normalize(), e;
|
|
21689
21689
|
};
|
|
@@ -22285,14 +22285,14 @@ var gb = function() {
|
|
|
22285
22285
|
genGeometry: function(A, C, x, E) {
|
|
22286
22286
|
var S = new Jo();
|
|
22287
22287
|
A.attrName && (S.name = A.attrName);
|
|
22288
|
-
var k = this.parseGeoNode(A, C), O = this.genBuffers(k), B = new
|
|
22289
|
-
if (B.applyMatrix4(E), S.setAttribute("position", B), O.colors.length > 0 && S.setAttribute("color", new
|
|
22290
|
-
var q = new Qw().getNormalMatrix(E), te = new
|
|
22288
|
+
var k = this.parseGeoNode(A, C), O = this.genBuffers(k), B = new Tr(O.vertex, 3);
|
|
22289
|
+
if (B.applyMatrix4(E), S.setAttribute("position", B), O.colors.length > 0 && S.setAttribute("color", new Tr(O.colors, 3)), C && (S.setAttribute("skinIndex", new Uw(O.weightsIndices, 4)), S.setAttribute("skinWeight", new Tr(O.vertexWeights, 4)), S.FBX_Deformer = C), O.normal.length > 0) {
|
|
22290
|
+
var q = new Qw().getNormalMatrix(E), te = new Tr(O.normal, 3);
|
|
22291
22291
|
te.applyNormalMatrix(q), S.setAttribute("normal", te);
|
|
22292
22292
|
}
|
|
22293
22293
|
if (O.uvs.forEach(function(Se, $) {
|
|
22294
22294
|
var me = "uv" + ($ + 1).toString();
|
|
22295
|
-
$ === 0 && (me = "uv"), S.setAttribute(me, new
|
|
22295
|
+
$ === 0 && (me = "uv"), S.setAttribute(me, new Tr(O.uvs[$], 2));
|
|
22296
22296
|
}), k.material && k.material.mappingType !== "AllSame") {
|
|
22297
22297
|
var Y = O.materialIndex[0], J = 0;
|
|
22298
22298
|
if (O.materialIndex.forEach(function(Se, $) {
|
|
@@ -22415,7 +22415,7 @@ var gb = function() {
|
|
|
22415
22415
|
var se = {
|
|
22416
22416
|
vertexIndices: k,
|
|
22417
22417
|
vertexPositions: te
|
|
22418
|
-
}, re = this.genBuffers(se), Se = new
|
|
22418
|
+
}, re = this.genBuffers(se), Se = new Tr(re.vertex, 3);
|
|
22419
22419
|
Se.name = S || x.attrName, Se.applyMatrix4(E), A.morphAttributes.position.push(Se);
|
|
22420
22420
|
},
|
|
22421
22421
|
// Parse normal from FBXTree.Objects.Geometry.LayerElementNormal if it exists
|
|
@@ -22474,7 +22474,7 @@ var gb = function() {
|
|
|
22474
22474
|
},
|
|
22475
22475
|
// Generate a NurbGeometry from a node in FBXTree.Objects.Geometry
|
|
22476
22476
|
parseNurbsGeometry: function(A) {
|
|
22477
|
-
if (
|
|
22477
|
+
if (hr === void 0)
|
|
22478
22478
|
return console.error(
|
|
22479
22479
|
"THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."
|
|
22480
22480
|
), new Jo();
|
|
@@ -22482,7 +22482,7 @@ var gb = function() {
|
|
|
22482
22482
|
if (isNaN(C))
|
|
22483
22483
|
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", A.Order, A.id), new Jo();
|
|
22484
22484
|
for (var x = C - 1, E = A.KnotVector.a, S = [], k = A.Points.a, O = 0, B = k.length; O < B; O += 4)
|
|
22485
|
-
S.push(new
|
|
22485
|
+
S.push(new Us().fromArray(k, O));
|
|
22486
22486
|
var q, te;
|
|
22487
22487
|
if (A.Form === "Closed")
|
|
22488
22488
|
S.push(S[0]);
|
|
@@ -22491,7 +22491,7 @@ var gb = function() {
|
|
|
22491
22491
|
for (var O = 0; O < x; ++O)
|
|
22492
22492
|
S.push(S[O]);
|
|
22493
22493
|
}
|
|
22494
|
-
var Y = new
|
|
22494
|
+
var Y = new hr(x, E, S, q, te), J = Y.getPoints(S.length * 7), se = new Float32Array(J.length * 3);
|
|
22495
22495
|
J.forEach(function(Se, $) {
|
|
22496
22496
|
Se.toArray(se, $ * 3);
|
|
22497
22497
|
});
|
|
@@ -22634,7 +22634,7 @@ var gb = function() {
|
|
|
22634
22634
|
}), new Xw(A.name, -1, C);
|
|
22635
22635
|
},
|
|
22636
22636
|
generateTracks: function(A) {
|
|
22637
|
-
var C = [], x = new pe(), E = new
|
|
22637
|
+
var C = [], x = new pe(), E = new Qs(), S = new pe();
|
|
22638
22638
|
if (A.transform && A.transform.decompose(x, E, S), x = x.toArray(), E = new On().setFromQuaternion(E, A.eulerOrder).toArray(), S = S.toArray(), A.T !== void 0 && Object.keys(A.T.curves).length > 0) {
|
|
22639
22639
|
var k = this.generateVectorTrack(A.modelName, A.T.curves, x, "position");
|
|
22640
22640
|
k !== void 0 && C.push(k);
|
|
@@ -22667,8 +22667,8 @@ var gb = function() {
|
|
|
22667
22667
|
generateRotationTrack: function(A, C, x, E, S, k) {
|
|
22668
22668
|
C.x !== void 0 && (this.interpolateRotations(C.x), C.x.values = C.x.values.map(an.degToRad)), C.y !== void 0 && (this.interpolateRotations(C.y), C.y.values = C.y.values.map(an.degToRad)), C.z !== void 0 && (this.interpolateRotations(C.z), C.z.values = C.z.values.map(an.degToRad));
|
|
22669
22669
|
var O = this.getTimesForAllAxes(C), B = this.getKeyframeTrackValues(O, C, x);
|
|
22670
|
-
E !== void 0 && (E = E.map(an.degToRad), E.push(k), E = new On().fromArray(E), E = new
|
|
22671
|
-
for (var q = new
|
|
22670
|
+
E !== void 0 && (E = E.map(an.degToRad), E.push(k), E = new On().fromArray(E), E = new Qs().setFromEuler(E)), S !== void 0 && (S = S.map(an.degToRad), S.push(k), S = new On().fromArray(S), S = new Qs().setFromEuler(S).inverse());
|
|
22671
|
+
for (var q = new Qs(), te = new On(), Y = [], J = 0; J < B.length; J += 3)
|
|
22672
22672
|
te.set(B[J], B[J + 1], B[J + 2], k), q.setFromEuler(te), E !== void 0 && q.premultiply(E), S !== void 0 && q.multiply(S), q.toArray(Y, J / 3 * 4);
|
|
22673
22673
|
return new Zw(A + ".quaternion", O, Y);
|
|
22674
22674
|
},
|
|
@@ -23174,7 +23174,7 @@ var gb = function() {
|
|
|
23174
23174
|
}
|
|
23175
23175
|
return i;
|
|
23176
23176
|
}();
|
|
23177
|
-
const
|
|
23177
|
+
const hj = (n, t) => {
|
|
23178
23178
|
var g;
|
|
23179
23179
|
const e = (t == null ? void 0 : t.fbx_url) || kd, i = (g = t == null ? void 0 : t.north_rad) != null ? g : void 0, s = {};
|
|
23180
23180
|
let r = { x: 0, y: 0, z: 0 }, o = [0, 0, 0], a = 1, l = i;
|
|
@@ -23234,7 +23234,7 @@ function bI(n, t) {
|
|
|
23234
23234
|
const l = a.getContext("2d");
|
|
23235
23235
|
return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${i}px "微软雅黑"`, l.textAlign = o, l.fillStyle = r, l.fillText(n, e / 2, e * 0.7), new Jw(a);
|
|
23236
23236
|
}
|
|
23237
|
-
const AI = ({ x: n, y: t, z: e }) => new pe(n, t, e),
|
|
23237
|
+
const AI = ({ x: n, y: t, z: e }) => new pe(n, t, e), uj = (n, t) => {
|
|
23238
23238
|
var g, v, b;
|
|
23239
23239
|
const e = {}, i = (g = t == null ? void 0 : t.animationEnabled) != null ? g : !0, s = (v = t == null ? void 0 : t.position) != null ? v : void 0, r = (b = t == null ? void 0 : t.rad) != null ? b : void 0, o = (t == null ? void 0 : t.fbx_url) || Dd, a = [], l = (w) => K(void 0, null, function* () {
|
|
23240
23240
|
var A, C, x, E, S, k, O, B;
|
|
@@ -23326,7 +23326,7 @@ const Eu = (n, t, e) => {
|
|
|
23326
23326
|
const i = Math.PI, s = i * 2;
|
|
23327
23327
|
let r = Om(n), o = Om(t);
|
|
23328
23328
|
return e === zn.Anticlockwise && r < o && (r += s), e === zn.Clockwise && o < r && (o += s), e === zn.Loop && o - r > i ? Eu(r, o, zn.Anticlockwise) : e === zn.Loop && r - o > i ? Eu(r, o, zn.Clockwise) : { from: r, to: o };
|
|
23329
|
-
},
|
|
23329
|
+
}, dj = (n) => {
|
|
23330
23330
|
const t = {}, e = (l, c, ...h) => K(void 0, [l, c, ...h], function* (r, o, a = { preload: !0 }) {
|
|
23331
23331
|
return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), r.mode && r.mode !== n.currentMode && (yield n.changeMode(r.mode)), a.preload && r.panoIndex !== void 0 && r.panoIndex !== n.panoIndex && (yield n.preloadPano(r.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), r.panoIndex === void 0 && r.fov === void 0 && r.latitude === void 0 && r.longitude === void 0 ? !0 : yield new Promise((u, d) => {
|
|
23332
23332
|
const p = r.panoIndex !== void 0 ? r.panoIndex : n.panoIndex;
|
|
@@ -23519,7 +23519,7 @@ const xI = `<style type="text/css">
|
|
|
23519
23519
|
}
|
|
23520
23520
|
</style>
|
|
23521
23521
|
`, SI = (n, t) => Math.sqrt(Math.pow(n.z - t.z, 2) + Math.pow(n.x - t.x, 2)), kI = (n, t) => {
|
|
23522
|
-
const e = {}, i = new
|
|
23522
|
+
const e = {}, i = new mr(), s = t.work;
|
|
23523
23523
|
if (!s)
|
|
23524
23524
|
return e;
|
|
23525
23525
|
const r = n.observers;
|
|
@@ -23540,7 +23540,7 @@ const xI = `<style type="text/css">
|
|
|
23540
23540
|
a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
|
|
23541
23541
|
}
|
|
23542
23542
|
return e;
|
|
23543
|
-
},
|
|
23543
|
+
}, fj = (n, t) => {
|
|
23544
23544
|
const e = {
|
|
23545
23545
|
enable: !1,
|
|
23546
23546
|
loaded: !1,
|
|
@@ -24198,7 +24198,7 @@ let BI = class {
|
|
|
24198
24198
|
this.container && ((t = this.rulerItems) == null || t.$destroy(), this.rulerItems = void 0), this.container.remove();
|
|
24199
24199
|
}
|
|
24200
24200
|
};
|
|
24201
|
-
const
|
|
24201
|
+
const mj = (n, t) => new BI(n, t), VI = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZHmMc4c+EchCe5/9llqfAYEQyRlAzy27QCAeSRfdlEq2gECIpIVeSB1aRAAiudVixVKnINAaAiGS1nok9WkFAUJb8Upa6Y3Uo2kEQiRNd08qd0YEQi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EgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
|
|
24202
24202
|
function NI() {
|
|
24203
24203
|
const n = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
|
|
24204
24204
|
return n.appendChild(t), n.appendChild(e), n.style.position = "relative", n.style.width = "100%", n.style.display = "flex", n.style.flexDirection = "column", n.style.alignItems = "center", n.style.marginTop = `${150 / 16}rem`, n.style.opacity = "0", n.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${VI})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
|
|
@@ -24490,7 +24490,7 @@ class GI extends bn {
|
|
|
24490
24490
|
return Oc(this.five).create3DDomContainer(e);
|
|
24491
24491
|
}
|
|
24492
24492
|
}
|
|
24493
|
-
const
|
|
24493
|
+
const gj = (n, t) => new GI(n, t), WI = 1, UI = 3, QI = new Ht(16777215), XI = new Ht(6522623), YI = new Ht(16777215), ZI = new Ht(6522623), qI = 6, JI = 8, KI = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", wb = new nd().load(KI), $I = {
|
|
24494
24494
|
pointTexture: wb,
|
|
24495
24495
|
pointSize: qI,
|
|
24496
24496
|
lineWidth: WI,
|
|
@@ -24518,7 +24518,7 @@ function Nm(n, t) {
|
|
|
24518
24518
|
const [e, i] = n.points, s = t === "light" ? ex : $I, r = tx(e.position, i.position, s);
|
|
24519
24519
|
return r.name = "normalLine_" + n.id, r;
|
|
24520
24520
|
}
|
|
24521
|
-
function
|
|
24521
|
+
function ur(n) {
|
|
24522
24522
|
const { x: t, y: e, z: i } = n;
|
|
24523
24523
|
return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(i) > 1);
|
|
24524
24524
|
}
|
|
@@ -24617,7 +24617,7 @@ class sx extends Pb {
|
|
|
24617
24617
|
});
|
|
24618
24618
|
super(e);
|
|
24619
24619
|
f(this, "modelOcclusion", !1);
|
|
24620
|
-
f(this, "raycaster", new
|
|
24620
|
+
f(this, "raycaster", new mr());
|
|
24621
24621
|
f(this, "line");
|
|
24622
24622
|
f(this, "lastFOV");
|
|
24623
24623
|
f(this, "cameraUpdateHandler", null);
|
|
@@ -25437,7 +25437,7 @@ class Bi extends Gc {
|
|
|
25437
25437
|
return;
|
|
25438
25438
|
const o = this.five.camera, a = r.point.clone().project(o), l = this.container.clientWidth, c = this.container.clientHeight, h = new Jt(a.x * l, a.y * c), u = this.model.getAllLines().map((b) => {
|
|
25439
25439
|
const [w, M] = b.points, I = w.position.clone().project(o), T = M.position.clone().project(o);
|
|
25440
|
-
if (!
|
|
25440
|
+
if (!ur(I) && !ur(T))
|
|
25441
25441
|
return null;
|
|
25442
25442
|
const z = new Jt(I.x * l, I.y * c), R = new Jt(T.x * l, T.y * c);
|
|
25443
25443
|
return { id: b.id, points: [z, R] };
|
|
@@ -25592,7 +25592,7 @@ function ux(n, t, e, i) {
|
|
|
25592
25592
|
return null;
|
|
25593
25593
|
const r = { width: s.clientWidth, height: s.clientHeight }, o = t.map((a) => {
|
|
25594
25594
|
const l = a.position.clone().project(n.camera);
|
|
25595
|
-
return
|
|
25595
|
+
return ur(l) ? { distance: hx(l, r).distanceTo(e), point: a } : { distance: 1 / 0, point: a };
|
|
25596
25596
|
}).sort((a, l) => a.distance - l.distance);
|
|
25597
25597
|
return typeof i == "number" && o[0].distance > i ? null : o[0];
|
|
25598
25598
|
}
|
|
@@ -25637,7 +25637,7 @@ class dc extends Gc {
|
|
|
25637
25637
|
f(this, "onPan", (e) => {
|
|
25638
25638
|
if (!this.editPointState || !this.fiveElement)
|
|
25639
25639
|
return;
|
|
25640
|
-
const i = Um(e).ndcPoint, s = new
|
|
25640
|
+
const i = Um(e).ndcPoint, s = new mr();
|
|
25641
25641
|
s.setFromCamera(i, this.five.camera);
|
|
25642
25642
|
const [r] = Li(this.five).intersectRaycaster(s);
|
|
25643
25643
|
r && this.onIntersectionUpdate(this.resolveIntersection(r, i));
|
|
@@ -25677,7 +25677,7 @@ class dc extends Gc {
|
|
|
25677
25677
|
return;
|
|
25678
25678
|
const a = this.five.camera, l = o.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Jt(l.x * c, l.y * h), d = this.model.getAllLines().map((b) => {
|
|
25679
25679
|
const [w, M] = b.points, I = w.position.clone().project(a), T = M.position.clone().project(a);
|
|
25680
|
-
if (!
|
|
25680
|
+
if (!ur(I) && !ur(T))
|
|
25681
25681
|
return null;
|
|
25682
25682
|
const z = new Jt(I.x * c, I.y * h), R = new Jt(T.x * c, T.y * h);
|
|
25683
25683
|
return { id: b.id, points: [z, R] };
|
|
@@ -25914,7 +25914,7 @@ class Sb {
|
|
|
25914
25914
|
f(this, "content");
|
|
25915
25915
|
f(this, "intersectMesh");
|
|
25916
25916
|
f(this, "centerMouseXY");
|
|
25917
|
-
f(this, "raycaster", new
|
|
25917
|
+
f(this, "raycaster", new mr());
|
|
25918
25918
|
f(this, "pieceStyl", {
|
|
25919
25919
|
matrix3d: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
25920
25920
|
scale: 1,
|
|
@@ -26032,7 +26032,7 @@ class ps extends Gc {
|
|
|
26032
26032
|
return;
|
|
26033
26033
|
const r = this.five.camera, o = s.point.clone().project(r), a = this.container.clientWidth, l = this.container.clientHeight, c = new Jt(o.x * a, o.y * l), h = this.model.getAllLines().map((m) => {
|
|
26034
26034
|
const [g, v] = m.points, b = g.position.clone().project(r), w = v.position.clone().project(r);
|
|
26035
|
-
if (!
|
|
26035
|
+
if (!ur(b) && !ur(w))
|
|
26036
26036
|
return null;
|
|
26037
26037
|
const M = new Jt(b.x * a, b.y * l), I = new Jt(w.x * a, w.y * l);
|
|
26038
26038
|
return { id: m.id, points: [M, I] };
|
|
@@ -28002,7 +28002,7 @@ class c4 {
|
|
|
28002
28002
|
return this.measureController.getCurrentMode() === "Watch" ? this.measureController.disable() : this.measureController.save().changeMode("Watch");
|
|
28003
28003
|
}
|
|
28004
28004
|
}
|
|
28005
|
-
function
|
|
28005
|
+
function dr(n) {
|
|
28006
28006
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
28007
28007
|
}
|
|
28008
28008
|
class Rb extends Ts {
|
|
@@ -28074,7 +28074,7 @@ class Rb extends Ts {
|
|
|
28074
28074
|
i18n: i.i18n,
|
|
28075
28075
|
pointSelectorMode: s,
|
|
28076
28076
|
useNewUI: this.allowMeasureType.length > 1
|
|
28077
|
-
},
|
|
28077
|
+
}, dr(this.params.useUIController));
|
|
28078
28078
|
this.useUIController = new e4(this, w);
|
|
28079
28079
|
}
|
|
28080
28080
|
if (this.params.useGuideController !== !1) {
|
|
@@ -28082,7 +28082,7 @@ class Rb extends Ts {
|
|
|
28082
28082
|
container: this.container,
|
|
28083
28083
|
pointSelectorMode: s,
|
|
28084
28084
|
i18n: i.i18n
|
|
28085
|
-
},
|
|
28085
|
+
}, dr(this.params.useGuideController));
|
|
28086
28086
|
this.useGuideController = new l4(this, w);
|
|
28087
28087
|
}
|
|
28088
28088
|
}
|
|
@@ -28231,7 +28231,7 @@ class Rb extends Ts {
|
|
|
28231
28231
|
};
|
|
28232
28232
|
}
|
|
28233
28233
|
}
|
|
28234
|
-
const
|
|
28234
|
+
const Aj = function(t, e) {
|
|
28235
28235
|
return new Rb(t, e);
|
|
28236
28236
|
}, h4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
28237
28237
|
let hg = null;
|
|
@@ -29768,7 +29768,7 @@ class Hb extends Tt {
|
|
|
29768
29768
|
this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, e.lengthEnable !== void 0 && (this.lineStyle.lengthEnable = e.lengthEnable, this.polygonStyle.lengthEnable = e.lengthEnable), e.precision !== void 0 && (this.lineStyle.precision = e.precision), (s = (i = this.group) == null ? void 0 : i.children) == null || s.filter(Bs).forEach((r) => r.changeConfig({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle }));
|
|
29769
29769
|
}
|
|
29770
29770
|
}
|
|
29771
|
-
const
|
|
29771
|
+
const wj = (n, t) => new Hb(n, t), yl = new y.Vector3(), Mh = new y.Vector3(), bl = new y.Vector3(), Al = new y.Vector3(), x4 = 4, S4 = 0.6, k4 = 60;
|
|
29772
29772
|
function fg(n) {
|
|
29773
29773
|
const { rayOrigin: t, rayDirection: e, line: i, clampToLine: s } = n;
|
|
29774
29774
|
yl.subVectors(i.end, i.start);
|
|
@@ -30060,7 +30060,7 @@ const At = {
|
|
|
30060
30060
|
planeSideRadiusScale: 1.2,
|
|
30061
30061
|
/** M2 轴对齐判定:表面法线与最近世界轴的夹角小于该值即视为墙 / 地 / 顶 */
|
|
30062
30062
|
axisSnapAngle: 15
|
|
30063
|
-
},
|
|
30063
|
+
}, Ys = [new y.Vector3(1, 0, 0), new y.Vector3(0, 1, 0), new y.Vector3(0, 0, 1)], _4 = [At.axisXColor, At.axisYColor, At.axisZColor];
|
|
30064
30064
|
function jn(n, t) {
|
|
30065
30065
|
const e = n.clone().project(t.camera), i = (e.x + 1) / 2 * t.renderSize.x, s = (e.y + 1) / 2 * t.renderSize.y;
|
|
30066
30066
|
return {
|
|
@@ -30079,20 +30079,20 @@ function Qc(n) {
|
|
|
30079
30079
|
function j4(n) {
|
|
30080
30080
|
const t = n.clone().normalize();
|
|
30081
30081
|
let e = 0, i = 0;
|
|
30082
|
-
|
|
30082
|
+
Ys.forEach((a, l) => {
|
|
30083
30083
|
const c = Math.abs(t.dot(a));
|
|
30084
30084
|
c > i && (i = c, e = l);
|
|
30085
30085
|
});
|
|
30086
30086
|
const s = Math.cos(y.MathUtils.degToRad(At.axisSnapAngle));
|
|
30087
30087
|
if (i < s)
|
|
30088
30088
|
return { normal: t, alignedAxisIndex: -1 };
|
|
30089
|
-
const r =
|
|
30089
|
+
const r = Ys[e], o = t.dot(r) >= 0 ? 1 : -1;
|
|
30090
30090
|
return { normal: r.clone().multiplyScalar(o), alignedAxisIndex: e };
|
|
30091
30091
|
}
|
|
30092
30092
|
function Ub(n) {
|
|
30093
|
-
const t = j4(n), e = t.normal, i = e.clone().multiplyScalar(e.dot(
|
|
30094
|
-
let s =
|
|
30095
|
-
s.lengthSq() < 1e-8 && (s =
|
|
30093
|
+
const t = j4(n), e = t.normal, i = e.clone().multiplyScalar(e.dot(Ys[1]));
|
|
30094
|
+
let s = Ys[1].clone().sub(i);
|
|
30095
|
+
s.lengthSq() < 1e-8 && (s = Ys[2].clone().sub(e.clone().multiplyScalar(e.dot(Ys[2])))), s.normalize();
|
|
30096
30096
|
const r = new y.Vector3().crossVectors(s, e).normalize();
|
|
30097
30097
|
return { normal: e, xAxis: r, yAxis: s, alignedAxisIndex: t.alignedAxisIndex };
|
|
30098
30098
|
}
|
|
@@ -30104,7 +30104,7 @@ function B4(n, t) {
|
|
|
30104
30104
|
return { x: i.x - e.x, y: i.y - e.y };
|
|
30105
30105
|
}
|
|
30106
30106
|
const Qb = 0.8, mg = 3;
|
|
30107
|
-
function
|
|
30107
|
+
function Zs(n, t, e) {
|
|
30108
30108
|
const { point: i, viewport: s } = n, r = jn(i, s), o = (p) => {
|
|
30109
30109
|
const m = jn(i.clone().addScaledVector(t, p), s);
|
|
30110
30110
|
return Math.hypot(m.x - r.x, m.y - r.y);
|
|
@@ -30133,7 +30133,7 @@ function V4([n, t, e, i]) {
|
|
|
30133
30133
|
}
|
|
30134
30134
|
function N4(n, t) {
|
|
30135
30135
|
var M;
|
|
30136
|
-
const { context: e, viewport: i, point: s } = n, o = Math.min(i.canvasWidth, i.canvasHeight) / 2 * At.planeSideRadiusScale / 2, a = t.xAxis.clone().negate(), l = t.yAxis.clone().negate(), c =
|
|
30136
|
+
const { context: e, viewport: i, point: s } = n, o = Math.min(i.canvasWidth, i.canvasHeight) / 2 * At.planeSideRadiusScale / 2, a = t.xAxis.clone().negate(), l = t.yAxis.clone().negate(), c = Zs(n, t.xAxis, o), h = Zs(n, a, o), u = Zs(n, t.yAxis, o), d = Zs(n, l, o);
|
|
30137
30137
|
if (!(c > 0) || !(h > 0) || !(u > 0) || !(d > 0))
|
|
30138
30138
|
return;
|
|
30139
30139
|
const p = i.camera.matrixWorldInverse, m = (I) => -I.clone().applyMatrix4(p).z, g = m(s), v = g * (1 - Qb), b = (I) => {
|
|
@@ -30159,13 +30159,13 @@ function H4(n, t) {
|
|
|
30159
30159
|
const c = (m) => {
|
|
30160
30160
|
const g = B4(n, m), v = Math.hypot(g.x, g.y);
|
|
30161
30161
|
return !Number.isFinite(v) || v < 1e-3 ? null : { x: g.x / v, y: g.y / v };
|
|
30162
|
-
}, h = (m) =>
|
|
30162
|
+
}, h = (m) => Zs(n, m, o), u = (m, g, v) => {
|
|
30163
30163
|
var b;
|
|
30164
30164
|
[m.x, m.y, g.x, g.y].every((w) => Number.isFinite(w)) && (e.strokeStyle = v, e.globalAlpha = At.axisOpacity, e.lineWidth = At.axisLineWidth * ((b = i.lineScale) != null ? b : 1), e.beginPath(), e.moveTo(m.x, m.y), e.lineTo(g.x, g.y), e.stroke());
|
|
30165
30165
|
}, d = (m, g) => {
|
|
30166
30166
|
if (!c(m))
|
|
30167
30167
|
return;
|
|
30168
|
-
const v = m.clone().negate(), b =
|
|
30168
|
+
const v = m.clone().negate(), b = Zs(n, m, o), w = Zs(n, v, o);
|
|
30169
30169
|
if (!(b > 0) || !(w > 0))
|
|
30170
30170
|
return;
|
|
30171
30171
|
const M = jn(s.clone().addScaledVector(v, w), i), I = jn(s.clone().addScaledVector(m, b), i);
|
|
@@ -30179,7 +30179,7 @@ function H4(n, t) {
|
|
|
30179
30179
|
const w = jn(s.clone().addScaledVector(m, b), i);
|
|
30180
30180
|
u(l, w, g), v && (!Number.isFinite(w.x) || !Number.isFinite(w.y) || (e.fillStyle = g, e.globalAlpha = At.axisOpacity, e.beginPath(), e.arc(w.x, w.y, a, 0, Math.PI * 2), e.fill()));
|
|
30181
30181
|
};
|
|
30182
|
-
e.save(), e.lineCap = "round", t ? (d(t.xAxis, At.axisXColor), d(t.yAxis, At.axisYColor), p(t.normal, At.axisZColor, !0)) :
|
|
30182
|
+
e.save(), e.lineCap = "round", t ? (d(t.xAxis, At.axisXColor), d(t.yAxis, At.axisYColor), p(t.normal, At.axisZColor, !0)) : Ys.forEach((m, g) => d(m, _4[g])), e.restore();
|
|
30183
30183
|
}
|
|
30184
30184
|
function Xb(n, t, e) {
|
|
30185
30185
|
const i = e.point;
|
|
@@ -30647,7 +30647,7 @@ class Jb extends Hb {
|
|
|
30647
30647
|
};
|
|
30648
30648
|
}
|
|
30649
30649
|
}
|
|
30650
|
-
const yg = (n, t) => new Jb(n, t),
|
|
30650
|
+
const yg = (n, t) => new Jb(n, t), Pj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30651
30651
|
__proto__: null,
|
|
30652
30652
|
DEFAULT_EDGE_SNAP_OPTIONS: Bl,
|
|
30653
30653
|
EdgeSnapCache: cf,
|
|
@@ -31117,7 +31117,7 @@ class pS {
|
|
|
31117
31117
|
}
|
|
31118
31118
|
}
|
|
31119
31119
|
}
|
|
31120
|
-
const xh = 1e-3, Ig = 0.01, xg = xd,
|
|
31120
|
+
const xh = 1e-3, Ig = 0.01, xg = xd, Mj = (n, t) => {
|
|
31121
31121
|
var te, Y, J, se, re, Se, $, me;
|
|
31122
31122
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
31123
31123
|
const s = (te = t == null ? void 0 : t.wait) != null ? te : 200, r = (Y = t == null ? void 0 : t.maxNumberOnScreen) != null ? Y : 3, o = (J = t == null ? void 0 : t.minRad) != null ? J : Math.PI / 4, a = (se = t == null ? void 0 : t.nearTolerance) != null ? se : 100, l = (re = t == null ? void 0 : t.upsideHeight) != null ? re : 1.6, c = (Se = t == null ? void 0 : t.minDistance) != null ? Se : 1.2, h = ($ = t == null ? void 0 : t.maxDistance) != null ? $ : 3.5, u = Oc(n), d = document.createElement("div");
|
|
@@ -31715,7 +31715,7 @@ function ES(n) {
|
|
|
31715
31715
|
modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
|
|
31716
31716
|
}, t));
|
|
31717
31717
|
}
|
|
31718
|
-
const
|
|
31718
|
+
const xj = (n, t) => {
|
|
31719
31719
|
var d, p;
|
|
31720
31720
|
const e = {
|
|
31721
31721
|
container: document.createElement("div"),
|
|
@@ -31785,7 +31785,7 @@ const Sj = (n, t) => {
|
|
|
31785
31785
|
dispose: a,
|
|
31786
31786
|
hooks: e.hooks
|
|
31787
31787
|
};
|
|
31788
|
-
},
|
|
31788
|
+
}, Sj = {
|
|
31789
31789
|
name: "ModelItemLabelPlugin",
|
|
31790
31790
|
version: 0
|
|
31791
31791
|
};
|
|
@@ -31806,7 +31806,7 @@ function IS(n) {
|
|
|
31806
31806
|
t.push(i);
|
|
31807
31807
|
}), t;
|
|
31808
31808
|
}
|
|
31809
|
-
const xS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ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/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgx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XwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", Tj = (n, { videoElement: t, mediaManager: e }) => {
|
|
31809
|
+
const xS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII=",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RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+T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{
|
|
31811
31811
|
videoMeshes: [],
|
|
31812
31812
|
videoTextureEnabled: !1,
|
|
@@ -32210,7 +32210,7 @@ class OS extends xe {
|
|
|
32210
32210
|
);
|
|
32211
32211
|
}
|
|
32212
32212
|
}
|
|
32213
|
-
const { Raycaster: RS, Vector3:
|
|
32213
|
+
const { Raycaster: RS, Vector3: Tj } = y, Lg = (n, t, e, i) => {
|
|
32214
32214
|
const s = t.clone().sub(e).normalize(), r = new RS();
|
|
32215
32215
|
r.set(e, s);
|
|
32216
32216
|
const [o] = n.model.intersectRaycaster(r);
|
|
@@ -32535,7 +32535,7 @@ function GS(n) {
|
|
|
32535
32535
|
observerIndex: void 0
|
|
32536
32536
|
}));
|
|
32537
32537
|
}
|
|
32538
|
-
const WS = void 0,
|
|
32538
|
+
const WS = void 0, Dj = (n, t) => {
|
|
32539
32539
|
var d, p, m, g;
|
|
32540
32540
|
const e = {
|
|
32541
32541
|
container: document.createElement("div"),
|
|
@@ -32606,7 +32606,7 @@ const WS = void 0, Lj = (n, t) => {
|
|
|
32606
32606
|
dispose: a,
|
|
32607
32607
|
hooks: e.hooks
|
|
32608
32608
|
};
|
|
32609
|
-
},
|
|
32609
|
+
}, Lj = {
|
|
32610
32610
|
name: "ItemLabelPlugin",
|
|
32611
32611
|
version: 0
|
|
32612
32612
|
};
|
|
@@ -32772,7 +32772,7 @@ class ek extends Ts {
|
|
|
32772
32772
|
const h = l.position.clone(), u = h.distanceTo(r);
|
|
32773
32773
|
if (u < this.MinVisibledistance || u > this.MaxVisibledistance)
|
|
32774
32774
|
return;
|
|
32775
|
-
const d = new
|
|
32775
|
+
const d = new mr(), p = h.clone().sub(r).normalize();
|
|
32776
32776
|
d.set(r, p);
|
|
32777
32777
|
const [m] = this.five.model.intersectRaycaster(d);
|
|
32778
32778
|
m && m.distance + 0.1 < u || a.push(c);
|
|
@@ -32837,7 +32837,7 @@ class ek extends Ts {
|
|
|
32837
32837
|
if (o !== void 0 && r !== void 0) {
|
|
32838
32838
|
const l = {};
|
|
32839
32839
|
if (a > 0) {
|
|
32840
|
-
const h = new pe(0, 0, -1), u = o.clone(), d = new
|
|
32840
|
+
const h = new pe(0, 0, -1), u = o.clone(), d = new Qs();
|
|
32841
32841
|
d.setFromUnitVectors(h, u);
|
|
32842
32842
|
const p = new On();
|
|
32843
32843
|
p.setFromQuaternion(d, "YXZ"), l.longitude = p.y;
|
|
@@ -32934,7 +32934,7 @@ class ek extends Ts {
|
|
|
32934
32934
|
return { enabled: !0, visible: !0 };
|
|
32935
32935
|
}
|
|
32936
32936
|
}
|
|
32937
|
-
const
|
|
32937
|
+
const zj = (n) => new ek(n);
|
|
32938
32938
|
function eA(n, t) {
|
|
32939
32939
|
console.warn(`🚫 ==> [${n}]: ${t}`);
|
|
32940
32940
|
}
|
|
@@ -33169,7 +33169,7 @@ function Mk(n) {
|
|
|
33169
33169
|
function Ek(n) {
|
|
33170
33170
|
return n.stickType === "3DPoint";
|
|
33171
33171
|
}
|
|
33172
|
-
function
|
|
33172
|
+
function sr(n) {
|
|
33173
33173
|
return n.stickType === "Model" && n.contentType === "MediaModel";
|
|
33174
33174
|
}
|
|
33175
33175
|
function Ik(n) {
|
|
@@ -33225,7 +33225,7 @@ function Lu(n) {
|
|
|
33225
33225
|
const s = n.position.map((r) => Fe(r));
|
|
33226
33226
|
return Vl(s, n.matrix);
|
|
33227
33227
|
}
|
|
33228
|
-
if (
|
|
33228
|
+
if (sr(n) && n.matrix) {
|
|
33229
33229
|
const s = n.data.mediaPosition.map((r) => Fe(r));
|
|
33230
33230
|
return Vl(s, n.matrix);
|
|
33231
33231
|
}
|
|
@@ -34267,7 +34267,7 @@ class Zk extends Ts {
|
|
|
34267
34267
|
getPositions(e) {
|
|
34268
34268
|
if (Mk(e))
|
|
34269
34269
|
return e.position;
|
|
34270
|
-
if (
|
|
34270
|
+
if (sr(e))
|
|
34271
34271
|
return e.data.mediaPosition;
|
|
34272
34272
|
if (Ek(e))
|
|
34273
34273
|
return Lk(this.five.camera.position, Fe(e.position), Fe(e.normal));
|
|
@@ -34434,7 +34434,7 @@ class Jk {
|
|
|
34434
34434
|
closeIntersectRaycaster() {
|
|
34435
34435
|
this.plugin.tags.forEach((t) => {
|
|
34436
34436
|
var e;
|
|
34437
|
-
|
|
34437
|
+
dr((e = t == null ? void 0 : t.initialConfig) == null ? void 0 : e.visibleConfig).intersectRaycaster && (t.initialConfig.visibleConfig.intersectRaycaster.enabled = !1);
|
|
34438
34438
|
}), this.plugin.changeGlobalConfig({
|
|
34439
34439
|
visibleConfig: {
|
|
34440
34440
|
intersectRaycaster: {
|
|
@@ -34514,7 +34514,7 @@ function Kk(n, t) {
|
|
|
34514
34514
|
function $k(n, t, e = "observer") {
|
|
34515
34515
|
return e !== "horizontal" ? n : new y.Vector3(n.x, t.y, n.z);
|
|
34516
34516
|
}
|
|
34517
|
-
function
|
|
34517
|
+
function vr() {
|
|
34518
34518
|
let n, t;
|
|
34519
34519
|
return {
|
|
34520
34520
|
promise: new Promise((i, s) => {
|
|
@@ -34573,7 +34573,7 @@ class Eo {
|
|
|
34573
34573
|
*/
|
|
34574
34574
|
f(this, "hoverEnabled");
|
|
34575
34575
|
f(this, "ready", () => {
|
|
34576
|
-
const { promise: t, resolve: e } =
|
|
34576
|
+
const { promise: t, resolve: e } = vr();
|
|
34577
34577
|
if (!this._updating)
|
|
34578
34578
|
e();
|
|
34579
34579
|
else {
|
|
@@ -34696,7 +34696,7 @@ class Eo {
|
|
|
34696
34696
|
mode: "Panorama",
|
|
34697
34697
|
workCode: this.workUtil.workCode,
|
|
34698
34698
|
panoIndex: r
|
|
34699
|
-
},
|
|
34699
|
+
}, er(a))), yield this.five.ready();
|
|
34700
34700
|
} else
|
|
34701
34701
|
i === "Mapview" && (yield Ry(this.five, this.centerPosition, t == null ? void 0 : t.pointConfig));
|
|
34702
34702
|
return this;
|
|
@@ -34934,7 +34934,7 @@ class Eo {
|
|
|
34934
34934
|
if (i[0].type === "Image")
|
|
34935
34935
|
return Hg(i[0].url) === "gif" ? "Dom" : "Mesh";
|
|
34936
34936
|
}
|
|
34937
|
-
} else if (
|
|
34937
|
+
} else if (sr(this))
|
|
34938
34938
|
return i.length === 1 && i[0].type === "Image" ? Hg(i[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
34939
34939
|
}
|
|
34940
34940
|
})();
|
|
@@ -35051,7 +35051,7 @@ class Eo {
|
|
|
35051
35051
|
/** 通过射线检测标签可用性 */
|
|
35052
35052
|
computeVisibleByIntersect(t, e) {
|
|
35053
35053
|
var c, h, u, d, p;
|
|
35054
|
-
const i = _(_({},
|
|
35054
|
+
const i = _(_({}, dr(dr((c = this.getConfig().visibleConfig) != null ? c : {}).intersectRaycaster)), e), s = t != null ? t : this.five.getCurrentState().panoIndex, r = bs(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(s) : this.five.camera.position;
|
|
35055
35055
|
if (r === void 0)
|
|
35056
35056
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
|
|
35057
35057
|
if (i.hideWhenModelNotLoaded && ((h = this.fiveUtil.model) == null ? void 0 : h.loaded) === !1)
|
|
@@ -35071,9 +35071,9 @@ class Eo {
|
|
|
35071
35071
|
const [w] = this.fiveUtil.model.intersectRaycaster(Bn);
|
|
35072
35072
|
b = w == null ? void 0 : w.distance;
|
|
35073
35073
|
const M = (() => {
|
|
35074
|
-
if (!
|
|
35074
|
+
if (!sr(this))
|
|
35075
35075
|
return;
|
|
35076
|
-
const L = this.plugin.tags.filter(
|
|
35076
|
+
const L = this.plugin.tags.filter(sr).map((A) => {
|
|
35077
35077
|
var C;
|
|
35078
35078
|
return (C = A.model) == null ? void 0 : C.object;
|
|
35079
35079
|
}).filter(Ge), [j] = Bn.intersectObjects(L, !0);
|
|
@@ -38064,7 +38064,7 @@ var $T = Array.prototype, e9 = Function.prototype, wA = Object.prototype, Oh = g
|
|
|
38064
38064
|
}(), PA = e9.toString, vf = wA.hasOwnProperty, CA = wA.toString, t9 = RegExp(
|
|
38065
38065
|
"^" + PA.call(vf).replace(QT, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
38066
38066
|
), d0 = gf.Symbol, i9 = $T.splice, n9 = MA(gf, "Map"), Ta = MA(Object, "create"), f0 = d0 ? d0.prototype : void 0, p0 = f0 ? f0.toString : void 0;
|
|
38067
|
-
function
|
|
38067
|
+
function fr(n) {
|
|
38068
38068
|
var t = -1, e = n ? n.length : 0;
|
|
38069
38069
|
for (this.clear(); ++t < e; ) {
|
|
38070
38070
|
var i = n[t];
|
|
@@ -38093,11 +38093,11 @@ function l9(n, t) {
|
|
|
38093
38093
|
var e = this.__data__;
|
|
38094
38094
|
return e[n] = Ta && t === void 0 ? bA : t, this;
|
|
38095
38095
|
}
|
|
38096
|
-
|
|
38097
|
-
|
|
38098
|
-
|
|
38099
|
-
|
|
38100
|
-
|
|
38096
|
+
fr.prototype.clear = s9;
|
|
38097
|
+
fr.prototype.delete = r9;
|
|
38098
|
+
fr.prototype.get = o9;
|
|
38099
|
+
fr.prototype.has = a9;
|
|
38100
|
+
fr.prototype.set = l9;
|
|
38101
38101
|
function Io(n) {
|
|
38102
38102
|
var t = -1, e = n ? n.length : 0;
|
|
38103
38103
|
for (this.clear(); ++t < e; ) {
|
|
@@ -38131,7 +38131,7 @@ Io.prototype.delete = h9;
|
|
|
38131
38131
|
Io.prototype.get = u9;
|
|
38132
38132
|
Io.prototype.has = d9;
|
|
38133
38133
|
Io.prototype.set = f9;
|
|
38134
|
-
function
|
|
38134
|
+
function yr(n) {
|
|
38135
38135
|
var t = -1, e = n ? n.length : 0;
|
|
38136
38136
|
for (this.clear(); ++t < e; ) {
|
|
38137
38137
|
var i = n[t];
|
|
@@ -38140,9 +38140,9 @@ function br(n) {
|
|
|
38140
38140
|
}
|
|
38141
38141
|
function p9() {
|
|
38142
38142
|
this.__data__ = {
|
|
38143
|
-
hash: new
|
|
38143
|
+
hash: new fr(),
|
|
38144
38144
|
map: new (n9 || Io)(),
|
|
38145
|
-
string: new
|
|
38145
|
+
string: new fr()
|
|
38146
38146
|
};
|
|
38147
38147
|
}
|
|
38148
38148
|
function m9(n) {
|
|
@@ -38157,11 +38157,11 @@ function v9(n) {
|
|
|
38157
38157
|
function y9(n, t) {
|
|
38158
38158
|
return Zc(this, n).set(n, t), this;
|
|
38159
38159
|
}
|
|
38160
|
-
|
|
38161
|
-
|
|
38162
|
-
|
|
38163
|
-
|
|
38164
|
-
|
|
38160
|
+
yr.prototype.clear = p9;
|
|
38161
|
+
yr.prototype.delete = m9;
|
|
38162
|
+
yr.prototype.get = g9;
|
|
38163
|
+
yr.prototype.has = v9;
|
|
38164
|
+
yr.prototype.set = y9;
|
|
38165
38165
|
function Yc(n, t) {
|
|
38166
38166
|
for (var e = n.length; e--; )
|
|
38167
38167
|
if (k9(n[e][0], t))
|
|
@@ -38248,9 +38248,9 @@ function yf(n, t) {
|
|
|
38248
38248
|
var o = n.apply(this, i);
|
|
38249
38249
|
return e.cache = r.set(s, o), o;
|
|
38250
38250
|
};
|
|
38251
|
-
return e.cache = new (yf.Cache ||
|
|
38251
|
+
return e.cache = new (yf.Cache || yr)(), e;
|
|
38252
38252
|
}
|
|
38253
|
-
yf.Cache =
|
|
38253
|
+
yf.Cache = yr;
|
|
38254
38254
|
function k9(n, t) {
|
|
38255
38255
|
return n === t || n !== n && t !== t;
|
|
38256
38256
|
}
|
|
@@ -38349,7 +38349,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38349
38349
|
return D ? "Symbol(src)_1." + D : "";
|
|
38350
38350
|
}(), et = Xe.toString, at = nt.hasOwnProperty, Dt = nt.toString, pi = RegExp(
|
|
38351
38351
|
"^" + et.call(at).replace(O, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
38352
|
-
), Lt = me ? re.Buffer : void 0, Kt = re.Symbol, Ii = re.Uint8Array, dt = de(Object.getPrototypeOf, Object), $t = Object.create, ei = nt.propertyIsEnumerable, xo = Ue.splice, Ls = Object.getOwnPropertySymbols, Yn = Lt ? Lt.isBuffer : void 0,
|
|
38352
|
+
), Lt = me ? re.Buffer : void 0, Kt = re.Symbol, Ii = re.Uint8Array, dt = de(Object.getPrototypeOf, Object), $t = Object.create, ei = nt.propertyIsEnumerable, xo = Ue.splice, Ls = Object.getOwnPropertySymbols, Yn = Lt ? Lt.isBuffer : void 0, br = de(Object.keys, Object), Zn = U(re, "DataView"), Ri = U(re, "Map"), xi = U(re, "Promise"), qn = U(re, "Set"), Jn = U(re, "WeakMap"), tn = U(Object, "create"), An = ci(Zn), wn = ci(Ri), zs = ci(xi), Os = ci(qn), Kn = ci(Jn), nn = Kt ? Kt.prototype : void 0, Ar = nn ? nn.valueOf : void 0;
|
|
38353
38353
|
function Wi(D) {
|
|
38354
38354
|
var G = -1, ne = D ? D.length : 0;
|
|
38355
38355
|
for (this.clear(); ++G < ne; ) {
|
|
@@ -38387,7 +38387,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38387
38387
|
this.set(fe[0], fe[1]);
|
|
38388
38388
|
}
|
|
38389
38389
|
}
|
|
38390
|
-
function
|
|
38390
|
+
function wr() {
|
|
38391
38391
|
this.__data__ = [];
|
|
38392
38392
|
}
|
|
38393
38393
|
function To(D) {
|
|
@@ -38397,18 +38397,18 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38397
38397
|
var fe = G.length - 1;
|
|
38398
38398
|
return ne == fe ? G.pop() : xo.call(G, ne, 1), !0;
|
|
38399
38399
|
}
|
|
38400
|
-
function
|
|
38400
|
+
function Pr(D) {
|
|
38401
38401
|
var G = this.__data__, ne = _i(G, D);
|
|
38402
38402
|
return ne < 0 ? void 0 : G[ne][1];
|
|
38403
38403
|
}
|
|
38404
|
-
function
|
|
38404
|
+
function Cr(D) {
|
|
38405
38405
|
return _i(this.__data__, D) > -1;
|
|
38406
38406
|
}
|
|
38407
|
-
function
|
|
38407
|
+
function Mr(D, G) {
|
|
38408
38408
|
var ne = this.__data__, fe = _i(ne, D);
|
|
38409
38409
|
return fe < 0 ? ne.push([D, G]) : ne[fe][1] = G, this;
|
|
38410
38410
|
}
|
|
38411
|
-
Ft.prototype.clear =
|
|
38411
|
+
Ft.prototype.clear = wr, Ft.prototype.delete = To, Ft.prototype.get = Pr, Ft.prototype.has = Cr, Ft.prototype.set = Mr;
|
|
38412
38412
|
function Bt(D) {
|
|
38413
38413
|
var G = -1, ne = D ? D.length : 0;
|
|
38414
38414
|
for (this.clear(); ++G < ne; ) {
|
|
@@ -38463,7 +38463,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38463
38463
|
}
|
|
38464
38464
|
Gt.prototype.clear = Do, Gt.prototype.delete = Lo, Gt.prototype.get = ts, Gt.prototype.has = ti, Gt.prototype.set = sn;
|
|
38465
38465
|
function ri(D, G) {
|
|
38466
|
-
var ne = _o(D) ||
|
|
38466
|
+
var ne = _o(D) || Sr(D) ? Re(D.length, String) : [], fe = ne.length, Qe = !!fe;
|
|
38467
38467
|
for (var Ne in D)
|
|
38468
38468
|
(G || at.call(D, Ne)) && !(Qe && (Ne == "length" || Et(Ne, fe))) && ne.push(Ne);
|
|
38469
38469
|
return ne;
|
|
@@ -38516,10 +38516,10 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38516
38516
|
Nt && (Xt = ni, ni = D[Xt]), mi(it, Xt, oi(ni, G, ne, fe, Xt, D, $e));
|
|
38517
38517
|
}), it;
|
|
38518
38518
|
}
|
|
38519
|
-
function
|
|
38519
|
+
function Er(D) {
|
|
38520
38520
|
return on(D) ? $t(D) : {};
|
|
38521
38521
|
}
|
|
38522
|
-
function
|
|
38522
|
+
function Ir(D, G, ne) {
|
|
38523
38523
|
var fe = G(D);
|
|
38524
38524
|
return _o(D) ? fe : ie(fe, ne(D));
|
|
38525
38525
|
}
|
|
@@ -38534,7 +38534,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38534
38534
|
}
|
|
38535
38535
|
function ns(D) {
|
|
38536
38536
|
if (!li(D))
|
|
38537
|
-
return
|
|
38537
|
+
return br(D);
|
|
38538
38538
|
var G = [];
|
|
38539
38539
|
for (var ne in Object(D))
|
|
38540
38540
|
at.call(D, ne) && ne != "constructor" && G.push(ne);
|
|
@@ -38567,9 +38567,9 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38567
38567
|
return Ce(fe, ce, new D.constructor());
|
|
38568
38568
|
}
|
|
38569
38569
|
function zo(D) {
|
|
38570
|
-
return
|
|
38570
|
+
return Ar ? Object(Ar.call(D)) : {};
|
|
38571
38571
|
}
|
|
38572
|
-
function
|
|
38572
|
+
function xr(D, G) {
|
|
38573
38573
|
var ne = G ? En(D.buffer) : D.buffer;
|
|
38574
38574
|
return new D.constructor(ne, D.byteOffset, D.length);
|
|
38575
38575
|
}
|
|
@@ -38591,7 +38591,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38591
38591
|
return rs(D, ee(D), G);
|
|
38592
38592
|
}
|
|
38593
38593
|
function Ro(D) {
|
|
38594
|
-
return
|
|
38594
|
+
return Ir(D, Fo, ee);
|
|
38595
38595
|
}
|
|
38596
38596
|
function H(D, G) {
|
|
38597
38597
|
var ne = D.__data__;
|
|
@@ -38624,7 +38624,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38624
38624
|
return G && typeof D[0] == "string" && at.call(D, "index") && (ne.index = D.index, ne.input = D.input), ne;
|
|
38625
38625
|
}
|
|
38626
38626
|
function _e(D) {
|
|
38627
|
-
return typeof D.constructor == "function" && !li(D) ?
|
|
38627
|
+
return typeof D.constructor == "function" && !li(D) ? Er(dt(D)) : {};
|
|
38628
38628
|
}
|
|
38629
38629
|
function Ye(D, G, ne, fe) {
|
|
38630
38630
|
var Qe = D.constructor;
|
|
@@ -38645,7 +38645,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38645
38645
|
case E:
|
|
38646
38646
|
case S:
|
|
38647
38647
|
case k:
|
|
38648
|
-
return
|
|
38648
|
+
return xr(D, fe);
|
|
38649
38649
|
case d:
|
|
38650
38650
|
return ss(D, fe, ne);
|
|
38651
38651
|
case p:
|
|
@@ -38692,15 +38692,15 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38692
38692
|
function Ja(D, G) {
|
|
38693
38693
|
return D === G || D !== D && G !== G;
|
|
38694
38694
|
}
|
|
38695
|
-
function
|
|
38695
|
+
function Sr(D) {
|
|
38696
38696
|
return $c(D) && at.call(D, "callee") && (!ei.call(D, "callee") || Dt.call(D) == r);
|
|
38697
38697
|
}
|
|
38698
38698
|
var _o = Array.isArray;
|
|
38699
|
-
function
|
|
38699
|
+
function kr(D) {
|
|
38700
38700
|
return D != null && $a(D.length) && !jo(D);
|
|
38701
38701
|
}
|
|
38702
38702
|
function $c(D) {
|
|
38703
|
-
return el(D) &&
|
|
38703
|
+
return el(D) && kr(D);
|
|
38704
38704
|
}
|
|
38705
38705
|
var Ka = Yn || th;
|
|
38706
38706
|
function jo(D) {
|
|
@@ -38718,7 +38718,7 @@ var Cl = z9, vc = {}, O9 = {
|
|
|
38718
38718
|
return !!D && typeof D == "object";
|
|
38719
38719
|
}
|
|
38720
38720
|
function Fo(D) {
|
|
38721
|
-
return
|
|
38721
|
+
return kr(D) ? ri(D) : ns(D);
|
|
38722
38722
|
}
|
|
38723
38723
|
function eh() {
|
|
38724
38724
|
return [];
|
|
@@ -38802,7 +38802,7 @@ var yc = {}, _9 = {
|
|
|
38802
38802
|
return D ? "Symbol(src)_1." + D : "";
|
|
38803
38803
|
}(), ei = Lt.toString, xo = RegExp(
|
|
38804
38804
|
"^" + Ii.call(dt).replace(se, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
38805
|
-
), Ls = Ce ? ce.Buffer : void 0, Yn = ce.Symbol,
|
|
38805
|
+
), Ls = Ce ? ce.Buffer : void 0, Yn = ce.Symbol, br = ce.Uint8Array, Zn = Lt.propertyIsEnumerable, Ri = Dt.splice, xi = Yn ? Yn.toStringTag : void 0, qn = Object.getOwnPropertySymbols, Jn = Ls ? Ls.isBuffer : void 0, tn = et(Object.keys, Object), An = ee(ce, "DataView"), wn = ee(ce, "Map"), zs = ee(ce, "Promise"), Os = ee(ce, "Set"), Kn = ee(ce, "WeakMap"), nn = ee(Object, "create"), Ar = ci(An), Wi = ci(wn), $n = ci(zs), So = ci(Os), ko = ci(Kn), Rs = Yn ? Yn.prototype : void 0, Pn = Rs ? Rs.valueOf : void 0;
|
|
38806
38806
|
function Ft(D) {
|
|
38807
38807
|
var G = -1, ne = D == null ? 0 : D.length;
|
|
38808
38808
|
for (this.clear(); ++G < ne; ) {
|
|
@@ -38810,14 +38810,14 @@ var yc = {}, _9 = {
|
|
|
38810
38810
|
this.set(fe[0], fe[1]);
|
|
38811
38811
|
}
|
|
38812
38812
|
}
|
|
38813
|
-
function
|
|
38813
|
+
function wr() {
|
|
38814
38814
|
this.__data__ = nn ? nn(null) : {}, this.size = 0;
|
|
38815
38815
|
}
|
|
38816
38816
|
function To(D) {
|
|
38817
38817
|
var G = this.has(D) && delete this.__data__[D];
|
|
38818
38818
|
return this.size -= G ? 1 : 0, G;
|
|
38819
38819
|
}
|
|
38820
|
-
function
|
|
38820
|
+
function Pr(D) {
|
|
38821
38821
|
var G = this.__data__;
|
|
38822
38822
|
if (nn) {
|
|
38823
38823
|
var ne = G[D];
|
|
@@ -38825,15 +38825,15 @@ var yc = {}, _9 = {
|
|
|
38825
38825
|
}
|
|
38826
38826
|
return dt.call(G, D) ? G[D] : void 0;
|
|
38827
38827
|
}
|
|
38828
|
-
function
|
|
38828
|
+
function Cr(D) {
|
|
38829
38829
|
var G = this.__data__;
|
|
38830
38830
|
return nn ? G[D] !== void 0 : dt.call(G, D);
|
|
38831
38831
|
}
|
|
38832
|
-
function
|
|
38832
|
+
function Mr(D, G) {
|
|
38833
38833
|
var ne = this.__data__;
|
|
38834
38834
|
return this.size += this.has(D) ? 0 : 1, ne[D] = nn && G === void 0 ? i : G, this;
|
|
38835
38835
|
}
|
|
38836
|
-
Ft.prototype.clear =
|
|
38836
|
+
Ft.prototype.clear = wr, Ft.prototype.delete = To, Ft.prototype.get = Pr, Ft.prototype.has = Cr, Ft.prototype.set = Mr;
|
|
38837
38837
|
function Bt(D) {
|
|
38838
38838
|
var G = -1, ne = D == null ? 0 : D.length;
|
|
38839
38839
|
for (this.clear(); ++G < ne; ) {
|
|
@@ -38911,11 +38911,11 @@ var yc = {}, _9 = {
|
|
|
38911
38911
|
function oi() {
|
|
38912
38912
|
this.__data__ = new Bt(), this.size = 0;
|
|
38913
38913
|
}
|
|
38914
|
-
function
|
|
38914
|
+
function Er(D) {
|
|
38915
38915
|
var G = this.__data__, ne = G.delete(D);
|
|
38916
38916
|
return this.size = G.size, ne;
|
|
38917
38917
|
}
|
|
38918
|
-
function
|
|
38918
|
+
function Ir(D) {
|
|
38919
38919
|
return this.__data__.get(D);
|
|
38920
38920
|
}
|
|
38921
38921
|
function is(D) {
|
|
@@ -38931,9 +38931,9 @@ var yc = {}, _9 = {
|
|
|
38931
38931
|
}
|
|
38932
38932
|
return ne.set(D, G), this.size = ne.size, this;
|
|
38933
38933
|
}
|
|
38934
|
-
xt.prototype.clear = oi, xt.prototype.delete =
|
|
38934
|
+
xt.prototype.clear = oi, xt.prototype.delete = Er, xt.prototype.get = Ir, xt.prototype.has = is, xt.prototype.set = ai;
|
|
38935
38935
|
function ns(D, G) {
|
|
38936
|
-
var ne =
|
|
38936
|
+
var ne = Sr(D), fe = !ne && Ja(D), Qe = !ne && !fe && kr(D), Ne = !ne && !fe && !Qe && el(D), $e = ne || fe || Qe || Ne, it = $e ? Ue(D.length, String) : [], zt = it.length;
|
|
38937
38937
|
for (var rt in D)
|
|
38938
38938
|
(G || dt.call(D, rt)) && !($e && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
38939
38939
|
(rt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -38950,7 +38950,7 @@ var yc = {}, _9 = {
|
|
|
38950
38950
|
}
|
|
38951
38951
|
function En(D, G, ne) {
|
|
38952
38952
|
var fe = G(D);
|
|
38953
|
-
return
|
|
38953
|
+
return Sr(D) ? fe : de(fe, ne(D));
|
|
38954
38954
|
}
|
|
38955
38955
|
function Qi(D) {
|
|
38956
38956
|
return D == null ? D === void 0 ? j : b : xi && xi in Object(D) ? le(D) : li(D);
|
|
@@ -38962,11 +38962,11 @@ var yc = {}, _9 = {
|
|
|
38962
38962
|
return D === G ? !0 : D == null || G == null || !on(D) && !on(G) ? D !== D && G !== G : Si(D, G, ne, fe, In, Qe);
|
|
38963
38963
|
}
|
|
38964
38964
|
function Si(D, G, ne, fe, Qe, Ne) {
|
|
38965
|
-
var $e =
|
|
38965
|
+
var $e = Sr(D), it = Sr(G), zt = $e ? l : _e(D), rt = it ? l : _e(G);
|
|
38966
38966
|
zt = zt == a ? w : zt, rt = rt == a ? w : rt;
|
|
38967
38967
|
var ii = zt == w, gi = rt == w, Nt = zt == rt;
|
|
38968
|
-
if (Nt &&
|
|
38969
|
-
if (!
|
|
38968
|
+
if (Nt && kr(D)) {
|
|
38969
|
+
if (!kr(G))
|
|
38970
38970
|
return !1;
|
|
38971
38971
|
$e = !0, ii = !1;
|
|
38972
38972
|
}
|
|
@@ -38987,7 +38987,7 @@ var yc = {}, _9 = {
|
|
|
38987
38987
|
var G = Ka(D) ? xo : re;
|
|
38988
38988
|
return G.test(ci(D));
|
|
38989
38989
|
}
|
|
38990
|
-
function
|
|
38990
|
+
function xr(D) {
|
|
38991
38991
|
return on(D) && jo(D.length) && !!$[Qi(D)];
|
|
38992
38992
|
}
|
|
38993
38993
|
function js(D) {
|
|
@@ -39038,7 +39038,7 @@ var yc = {}, _9 = {
|
|
|
39038
39038
|
return !1;
|
|
39039
39039
|
D = D.buffer, G = G.buffer;
|
|
39040
39040
|
case C:
|
|
39041
|
-
return !(D.byteLength != G.byteLength || !Ne(new
|
|
39041
|
+
return !(D.byteLength != G.byteLength || !Ne(new br(D), new br(G)));
|
|
39042
39042
|
case h:
|
|
39043
39043
|
case u:
|
|
39044
39044
|
case v:
|
|
@@ -39127,7 +39127,7 @@ var yc = {}, _9 = {
|
|
|
39127
39127
|
var G = Qi(D), ne = G == w ? D.constructor : void 0, fe = ne ? ci(ne) : "";
|
|
39128
39128
|
if (fe)
|
|
39129
39129
|
switch (fe) {
|
|
39130
|
-
case
|
|
39130
|
+
case Ar:
|
|
39131
39131
|
return x;
|
|
39132
39132
|
case Wi:
|
|
39133
39133
|
return g;
|
|
@@ -39177,11 +39177,11 @@ var yc = {}, _9 = {
|
|
|
39177
39177
|
return arguments;
|
|
39178
39178
|
}()) ? ss : function(D) {
|
|
39179
39179
|
return on(D) && dt.call(D, "callee") && !Zn.call(D, "callee");
|
|
39180
|
-
},
|
|
39180
|
+
}, Sr = Array.isArray;
|
|
39181
39181
|
function _o(D) {
|
|
39182
39182
|
return D != null && jo(D.length) && !Ka(D);
|
|
39183
39183
|
}
|
|
39184
|
-
var
|
|
39184
|
+
var kr = Jn || th;
|
|
39185
39185
|
function $c(D, G) {
|
|
39186
39186
|
return In(D, G);
|
|
39187
39187
|
}
|
|
@@ -39201,7 +39201,7 @@ var yc = {}, _9 = {
|
|
|
39201
39201
|
function on(D) {
|
|
39202
39202
|
return D != null && typeof D == "object";
|
|
39203
39203
|
}
|
|
39204
|
-
var el = De ? Xe(De) :
|
|
39204
|
+
var el = De ? Xe(De) : xr;
|
|
39205
39205
|
function Fo(D) {
|
|
39206
39206
|
return _o(D) ? ns(D) : js(D);
|
|
39207
39207
|
}
|
|
@@ -45718,7 +45718,7 @@ class TA extends Eo {
|
|
|
45718
45718
|
return;
|
|
45719
45719
|
this.model.object = s;
|
|
45720
45720
|
const r = this.plugin.gltfObjectGroup.children.find((l) => l.customID === this.id);
|
|
45721
|
-
if (r && (this.plugin.gltfObjectGroup.remove(r), r.removeEventListener()),
|
|
45721
|
+
if (r && (this.plugin.gltfObjectGroup.remove(r), r.removeEventListener()), sr(this)) {
|
|
45722
45722
|
const l = this.data.mediaPosition.map(Rt);
|
|
45723
45723
|
if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
|
|
45724
45724
|
this.mediaPlane = new Ru(this.data.mediaData[0].url, l, { objectFit: this.data.objectFit });
|
|
@@ -45823,7 +45823,7 @@ class Ga extends Ei {
|
|
|
45823
45823
|
}
|
|
45824
45824
|
initialPosition(e) {
|
|
45825
45825
|
var i, s;
|
|
45826
|
-
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((i =
|
|
45826
|
+
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((i = gr(this.originObject3D)) == null ? void 0 : i.getCenter(new y.Vector3()).applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom === "boundingSphere" ? this.position.copy((s = ny(this.originObject3D)) == null ? void 0 : s.center.clone().applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom instanceof pe ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom(this.originObject3D)), e && this.position.add(e);
|
|
45827
45827
|
}
|
|
45828
45828
|
setScaleByCamera(e) {
|
|
45829
45829
|
}
|
|
@@ -46096,7 +46096,7 @@ class mD extends oD {
|
|
|
46096
46096
|
this.remove(...[this.xArrow, this.yArrow, this.zArrow, this.centerHandle].filter(Boolean)), super.dispose();
|
|
46097
46097
|
}
|
|
46098
46098
|
}
|
|
46099
|
-
function
|
|
46099
|
+
function rr(n, t) {
|
|
46100
46100
|
return gD(document.createElement(t != null ? t : "div"), n);
|
|
46101
46101
|
}
|
|
46102
46102
|
function gD(n, t) {
|
|
@@ -46107,7 +46107,7 @@ function gD(n, t) {
|
|
|
46107
46107
|
return n;
|
|
46108
46108
|
}
|
|
46109
46109
|
function vD(n) {
|
|
46110
|
-
const t =
|
|
46110
|
+
const t = rr(_({
|
|
46111
46111
|
position: "absolute",
|
|
46112
46112
|
display: "block",
|
|
46113
46113
|
borderRadius: "4px",
|
|
@@ -46303,14 +46303,14 @@ class wD extends y.Mesh {
|
|
|
46303
46303
|
}
|
|
46304
46304
|
}
|
|
46305
46305
|
function PD() {
|
|
46306
|
-
const n =
|
|
46306
|
+
const n = rr({
|
|
46307
46307
|
width: "100%",
|
|
46308
46308
|
height: "100%",
|
|
46309
46309
|
left: "0",
|
|
46310
46310
|
top: "0",
|
|
46311
46311
|
position: "absolute",
|
|
46312
46312
|
pointerEvents: "none"
|
|
46313
|
-
}), t =
|
|
46313
|
+
}), t = rr({
|
|
46314
46314
|
boxSizing: "border-box",
|
|
46315
46315
|
width: "100%",
|
|
46316
46316
|
height: "100%",
|
|
@@ -46320,7 +46320,7 @@ function PD() {
|
|
|
46320
46320
|
display: "flex",
|
|
46321
46321
|
alignItems: "center",
|
|
46322
46322
|
justifyContent: "center"
|
|
46323
|
-
}), e =
|
|
46323
|
+
}), e = rr({
|
|
46324
46324
|
boxSizing: "border-box",
|
|
46325
46325
|
width: "100%",
|
|
46326
46326
|
height: "100%",
|
|
@@ -46343,14 +46343,14 @@ function PD() {
|
|
|
46343
46343
|
] };
|
|
46344
46344
|
}
|
|
46345
46345
|
function cs(n) {
|
|
46346
|
-
const t =
|
|
46346
|
+
const t = rr(_({
|
|
46347
46347
|
background: "#FFFF00",
|
|
46348
46348
|
width: "9px",
|
|
46349
46349
|
height: "9px",
|
|
46350
46350
|
position: "absolute",
|
|
46351
46351
|
pointerEvents: "none",
|
|
46352
46352
|
borderRadius: "50%"
|
|
46353
|
-
}, n)), e =
|
|
46353
|
+
}, n)), e = rr({
|
|
46354
46354
|
width: "15px",
|
|
46355
46355
|
height: "15px",
|
|
46356
46356
|
position: "absolute",
|
|
@@ -46358,7 +46358,7 @@ function cs(n) {
|
|
|
46358
46358
|
top: "50%",
|
|
46359
46359
|
transform: "translate(-50%, -50%)",
|
|
46360
46360
|
pointerEvents: "none"
|
|
46361
|
-
}), i =
|
|
46361
|
+
}), i = rr({
|
|
46362
46362
|
width: "15px",
|
|
46363
46363
|
height: "15px",
|
|
46364
46364
|
cursor: n == null ? void 0 : n.cursor,
|
|
@@ -46547,7 +46547,7 @@ class MD extends aD {
|
|
|
46547
46547
|
this.box.raycast(e, i);
|
|
46548
46548
|
}
|
|
46549
46549
|
update() {
|
|
46550
|
-
const e =
|
|
46550
|
+
const e = gr(this.originObject3D);
|
|
46551
46551
|
if (!e)
|
|
46552
46552
|
return;
|
|
46553
46553
|
const { min: i, max: s } = e;
|
|
@@ -46642,7 +46642,7 @@ class Wa {
|
|
|
46642
46642
|
f(this, "updateHelperScale", () => {
|
|
46643
46643
|
"update" in this.helperObject3D && typeof this.helperObject3D.update == "function" && this.helperObject3D.update(this.camera), this.helperObject3D.setScaleByCamera(this.camera);
|
|
46644
46644
|
});
|
|
46645
|
-
f(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox =
|
|
46645
|
+
f(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = gr(this.originObject3D), this.boundingBox));
|
|
46646
46646
|
var h, u, d;
|
|
46647
46647
|
this.hooks = (h = t.sharedHooks) != null ? h : new Tt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new Tt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = t.domEvents, this.onRender = (d = t.onRender) != null ? d : () => {
|
|
46648
46648
|
}, this.config = e != null ? e : {}, this.otherControllers = t.otherControllers, this.initialHelperPosition(), this.initialHelperQuaternion(), this.updateHelperScale(), this.cameraHooks = zA(this.camera), this.enable();
|
|
@@ -47243,7 +47243,7 @@ class LD {
|
|
|
47243
47243
|
e != null && e.warnLog && TD();
|
|
47244
47244
|
}
|
|
47245
47245
|
}
|
|
47246
|
-
function
|
|
47246
|
+
function jr(n) {
|
|
47247
47247
|
return n * Math.PI / 180;
|
|
47248
47248
|
}
|
|
47249
47249
|
let Nh = new y.Quaternion();
|
|
@@ -47269,7 +47269,7 @@ class zD extends Wa {
|
|
|
47269
47269
|
return this.helperObject3D.position.clone();
|
|
47270
47270
|
}
|
|
47271
47271
|
setRotateAngle(e) {
|
|
47272
|
-
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new y.Euler(
|
|
47272
|
+
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new y.Euler(jr(i), jr(s), jr(r)), a = new y.Quaternion().setFromEuler(o);
|
|
47273
47273
|
if (this.hooks.emit("wantToRotate", a))
|
|
47274
47274
|
return;
|
|
47275
47275
|
const { originObject3D: c, rotateCenter: h } = this;
|
|
@@ -47290,7 +47290,7 @@ class zD extends Wa {
|
|
|
47290
47290
|
x: e === "x" ? i : o.x,
|
|
47291
47291
|
y: e === "y" ? i : o.y,
|
|
47292
47292
|
z: e === "z" ? i : o.z
|
|
47293
|
-
}, l = new y.Euler(
|
|
47293
|
+
}, l = new y.Euler(jr(a.x), jr(a.y), jr(a.z));
|
|
47294
47294
|
return new y.Quaternion().setFromEuler(l);
|
|
47295
47295
|
}
|
|
47296
47296
|
onApplyOriginObjectRotate(e) {
|
|
@@ -48514,7 +48514,7 @@ class RA extends Ts {
|
|
|
48514
48514
|
return e;
|
|
48515
48515
|
}
|
|
48516
48516
|
}
|
|
48517
|
-
const
|
|
48517
|
+
const Hj = (n) => new RA(n);
|
|
48518
48518
|
class WD {
|
|
48519
48519
|
constructor() {
|
|
48520
48520
|
f(this, "five");
|
|
@@ -48646,7 +48646,7 @@ class jA extends Ei {
|
|
|
48646
48646
|
this.lines.forEach((e) => e.unhighlight());
|
|
48647
48647
|
}
|
|
48648
48648
|
}
|
|
48649
|
-
class
|
|
48649
|
+
class pr extends jA {
|
|
48650
48650
|
constructor(...e) {
|
|
48651
48651
|
super(ae(_({}, e[0]), { withDots: !1 }));
|
|
48652
48652
|
f(this, "name", "PolylineMesh");
|
|
@@ -49021,9 +49021,9 @@ function YD(n, t, e) {
|
|
|
49021
49021
|
const i = n.parent;
|
|
49022
49022
|
if (!i)
|
|
49023
49023
|
return;
|
|
49024
|
-
const { promise: s, resolve: r, reject: o } =
|
|
49024
|
+
const { promise: s, resolve: r, reject: o } = vr(), a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new pr(n.style);
|
|
49025
49025
|
i.add(l);
|
|
49026
|
-
const c = new
|
|
49026
|
+
const c = new pr(ae(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
49027
49027
|
i.add(c), t.enable();
|
|
49028
49028
|
const h = [];
|
|
49029
49029
|
let u, d, p;
|
|
@@ -49140,7 +49140,7 @@ class Fu extends Co {
|
|
|
49140
49140
|
const r = e != null ? e : {}, { points: i } = r, s = as(r, ["points"]);
|
|
49141
49141
|
super();
|
|
49142
49142
|
f(this, "name", "PolygonWithEdgeMesh");
|
|
49143
|
-
f(this, "line", new
|
|
49143
|
+
f(this, "line", new pr());
|
|
49144
49144
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
49145
49145
|
}
|
|
49146
49146
|
get style() {
|
|
@@ -49423,7 +49423,7 @@ class Vu extends en {
|
|
|
49423
49423
|
}
|
|
49424
49424
|
function kf(n, t, e) {
|
|
49425
49425
|
var O, B, q, te, Y, J, se, re, Se;
|
|
49426
|
-
const { promise: i, resolve: s, reject: r } =
|
|
49426
|
+
const { promise: i, resolve: s, reject: r } = vr(), o = n.parent;
|
|
49427
49427
|
if (!o) {
|
|
49428
49428
|
r(new Error("No container"));
|
|
49429
49429
|
return;
|
|
@@ -49432,9 +49432,9 @@ function kf(n, t, e) {
|
|
|
49432
49432
|
n.userData = (re = n.userData) != null ? re : {}, n.userData.dragSelectPixelDistance = h;
|
|
49433
49433
|
let u = 0;
|
|
49434
49434
|
l && c && c.model && c.model.bounding && typeof ((Se = c.model.bounding.max) == null ? void 0 : Se.y) == "number" && (u = c.model.bounding.max.y + 1);
|
|
49435
|
-
const d = new
|
|
49435
|
+
const d = new pr(n.style);
|
|
49436
49436
|
o == null || o.add(d);
|
|
49437
|
-
const p = new
|
|
49437
|
+
const p = new pr(ae(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
49438
49438
|
o == null || o.add(p);
|
|
49439
49439
|
let m = [];
|
|
49440
49440
|
const g = ($ = w) => {
|
|
@@ -49715,7 +49715,7 @@ class sL extends y.BufferGeometry {
|
|
|
49715
49715
|
return e.length;
|
|
49716
49716
|
}
|
|
49717
49717
|
}
|
|
49718
|
-
class
|
|
49718
|
+
class or extends Ei {
|
|
49719
49719
|
constructor(e) {
|
|
49720
49720
|
super();
|
|
49721
49721
|
f(this, "name", "PrismMesh");
|
|
@@ -50038,7 +50038,7 @@ class fv extends en {
|
|
|
50038
50038
|
f(this, "type", "Prism");
|
|
50039
50039
|
f(this, "prismMesh");
|
|
50040
50040
|
f(this, "_editor");
|
|
50041
|
-
e && (this.prismMesh = new
|
|
50041
|
+
e && (this.prismMesh = new or(_(_({}, e.style), e)), this.add(this.prismMesh));
|
|
50042
50042
|
}
|
|
50043
50043
|
get editor() {
|
|
50044
50044
|
return this._editor || (this._editor = new BA(this.prismMesh)), this._editor;
|
|
@@ -50070,7 +50070,7 @@ class fv extends en {
|
|
|
50070
50070
|
}
|
|
50071
50071
|
create(e) {
|
|
50072
50072
|
return K(this, null, function* () {
|
|
50073
|
-
this.prismMesh = new
|
|
50073
|
+
this.prismMesh = new or(e), this.add(this.prismMesh), yield VA(this.prismMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
|
|
50074
50074
|
});
|
|
50075
50075
|
}
|
|
50076
50076
|
}
|
|
@@ -50236,7 +50236,7 @@ class bc extends Tf {
|
|
|
50236
50236
|
const r = e != null ? e : {}, { points: i } = r, s = as(r, ["points"]);
|
|
50237
50237
|
super();
|
|
50238
50238
|
f(this, "name", "RectangleWithEdgeMesh");
|
|
50239
|
-
f(this, "line", new
|
|
50239
|
+
f(this, "line", new pr());
|
|
50240
50240
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
50241
50241
|
}
|
|
50242
50242
|
get style() {
|
|
@@ -50325,7 +50325,7 @@ function oL(n, t) {
|
|
|
50325
50325
|
}
|
|
50326
50326
|
function aL(n, t, e) {
|
|
50327
50327
|
var M;
|
|
50328
|
-
const { promise: i, reject: s, resolve: r } =
|
|
50328
|
+
const { promise: i, reject: s, resolve: r } = vr(), o = n.parent;
|
|
50329
50329
|
if (!o)
|
|
50330
50330
|
return s(new Error("No container"));
|
|
50331
50331
|
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(ae(_({}, n.style), { dashed: !0 })), c = new As(ae(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(ae(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
@@ -50375,7 +50375,7 @@ function aL(n, t, e) {
|
|
|
50375
50375
|
}
|
|
50376
50376
|
function lL(n, t, e) {
|
|
50377
50377
|
var M;
|
|
50378
|
-
const { promise: i, reject: s, resolve: r } =
|
|
50378
|
+
const { promise: i, reject: s, resolve: r } = vr(), o = n.parent;
|
|
50379
50379
|
if (!o)
|
|
50380
50380
|
return s(new Error("No container"));
|
|
50381
50381
|
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(ae(_({}, n.style), { dashed: !0 })), c = new As(ae(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(ae(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
@@ -50537,7 +50537,7 @@ function Lf(n, t) {
|
|
|
50537
50537
|
i(new Error("No container"));
|
|
50538
50538
|
return;
|
|
50539
50539
|
}
|
|
50540
|
-
const r = new
|
|
50540
|
+
const r = new pr({ dashed: !0 });
|
|
50541
50541
|
s.add(r), t.enable();
|
|
50542
50542
|
let o, a;
|
|
50543
50543
|
const l = (d) => {
|
|
@@ -50830,7 +50830,7 @@ class YA extends Ua {
|
|
|
50830
50830
|
}));
|
|
50831
50831
|
}
|
|
50832
50832
|
}
|
|
50833
|
-
class Uu extends
|
|
50833
|
+
class Uu extends or {
|
|
50834
50834
|
constructor() {
|
|
50835
50835
|
super(...arguments);
|
|
50836
50836
|
f(this, "name", "BoxMesh");
|
|
@@ -51019,7 +51019,7 @@ function qA(n, t, e) {
|
|
|
51019
51019
|
const i = n.parent;
|
|
51020
51020
|
if (!i)
|
|
51021
51021
|
return;
|
|
51022
|
-
const { promise: s, resolve: r, reject: o } =
|
|
51022
|
+
const { promise: s, resolve: r, reject: o } = vr(), a = (R = e == null ? void 0 : e.limit) != null ? R : "none", l = new Pi(n.style);
|
|
51023
51023
|
i.add(l);
|
|
51024
51024
|
const c = new Pi(ae(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
51025
51025
|
i.add(c), t.enable();
|
|
@@ -51277,7 +51277,7 @@ const Xr = class extends Tt {
|
|
|
51277
51277
|
this.creatingItem && (this.creatingItem.stopCreating(), this.creatingItem = null);
|
|
51278
51278
|
const s = new e();
|
|
51279
51279
|
this.creatingItem = s, this.group.add(s);
|
|
51280
|
-
const { promise: r, resolve: o, reject: a } =
|
|
51280
|
+
const { promise: r, resolve: o, reject: a } = vr();
|
|
51281
51281
|
return yield s.create(...i).then((...l) => (this.creatingItem = null, s.select({ only: !0 }), o(s), l)).catch((l) => {
|
|
51282
51282
|
a(l), this.group.remove(s);
|
|
51283
51283
|
}), r;
|
|
@@ -51286,13 +51286,13 @@ const Xr = class extends Tt {
|
|
|
51286
51286
|
};
|
|
51287
51287
|
let lt = Xr;
|
|
51288
51288
|
f(lt, "modules", Dn);
|
|
51289
|
-
const
|
|
51289
|
+
const Gj = (n, t, e) => {
|
|
51290
51290
|
if (t && typeof t == "object" && ("theme" in t || "config" in t)) {
|
|
51291
51291
|
const i = t;
|
|
51292
51292
|
return new lt(n, i.theme, i.config);
|
|
51293
51293
|
}
|
|
51294
51294
|
return new lt(n, t, e);
|
|
51295
|
-
},
|
|
51295
|
+
}, Wj = (n, t) => new lt(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config), hL = (n, t) => {
|
|
51296
51296
|
const e = new y.Box3();
|
|
51297
51297
|
return n.models.find((s) => s.name === n.state.workCode).traverse((s) => {
|
|
51298
51298
|
var o, a;
|
|
@@ -56899,7 +56899,7 @@ class Uz extends xe {
|
|
|
56899
56899
|
);
|
|
56900
56900
|
}
|
|
56901
56901
|
}
|
|
56902
|
-
const KA = "Dnalogel-PanoTagPlugin",
|
|
56902
|
+
const KA = "Dnalogel-PanoTagPlugin", Uj = (n) => `${KA}--${n}`;
|
|
56903
56903
|
class Xu extends qk {
|
|
56904
56904
|
constructor(e, i) {
|
|
56905
56905
|
super(e);
|
|
@@ -56922,7 +56922,7 @@ class Xu extends qk {
|
|
|
56922
56922
|
s.state.visible = !1, s.applyVisible();
|
|
56923
56923
|
}), this.five.ready().then(() => {
|
|
56924
56924
|
this.tagsDo(this.tags, (s) => {
|
|
56925
|
-
s.updateVisible(),
|
|
56925
|
+
s.updateVisible(), sr(s) && e !== "Panorama" && this.changeTagMode(s, "behind");
|
|
56926
56926
|
}), e === "Panorama" ? this.updateMaskTagsForCurrentPano() : this.filterMaskTag.forEach((s) => {
|
|
56927
56927
|
s.state.visible = !1, s.applyVisible();
|
|
56928
56928
|
});
|
|
@@ -57371,13 +57371,13 @@ class Xu extends qk {
|
|
|
57371
57371
|
if (i.state && s !== void 0) {
|
|
57372
57372
|
if (s === !0 && i.screenPosition) {
|
|
57373
57373
|
const r = i.getConfig().unfoldedConfig;
|
|
57374
|
-
|
|
57374
|
+
dr(r).keep !== "unfolded" && (e = !0);
|
|
57375
57375
|
}
|
|
57376
57376
|
i.state.unfolded = s;
|
|
57377
57377
|
}
|
|
57378
57378
|
}), e && this.filterPointTag.forEach((i) => {
|
|
57379
57379
|
const s = i.getConfig().unfoldedConfig;
|
|
57380
|
-
typeof s == "object" && (s.autoUnfold || s.autoUnfold === !1 ||
|
|
57380
|
+
typeof s == "object" && (s.autoUnfold || s.autoUnfold === !1 || dr(s.autoUnfold).enable === !1 || s.keep) || i.state && (i.state.unfolded = !1);
|
|
57381
57381
|
});
|
|
57382
57382
|
}
|
|
57383
57383
|
changeTagMode(e, i) {
|
|
@@ -57481,7 +57481,7 @@ class Xu extends qk {
|
|
|
57481
57481
|
Ti.clearAllCache();
|
|
57482
57482
|
}
|
|
57483
57483
|
}
|
|
57484
|
-
const
|
|
57484
|
+
const Qj = (n, t) => new Xu(n, t);
|
|
57485
57485
|
function Qz(n) {
|
|
57486
57486
|
ze(n, "svelte-f09cfl", ".guide-line__tag.svelte-f09cfl.svelte-f09cfl{position:relative}.text-with-distance.svelte-f09cfl.svelte-f09cfl{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-f09cfl .border.svelte-f09cfl{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-f09cfl.svelte-f09cfl{display:flex;gap:0.1875rem}.distance.svelte-f09cfl.svelte-f09cfl{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-f09cfl.svelte-f09cfl{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-f09cfl.svelte-f09cfl{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-f09cfl.svelte-f09cfl{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-f09cfl.svelte-f09cfl{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-f09cfl.svelte-f09cfl{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex;justify-content:center;align-items:center}.guide-line__tag-icon.svelte-f09cfl.svelte-f09cfl{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-f09cfl.svelte-f09cfl{box-sizing:content-box;width:-moz-max-content;width:max-content;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff;display:flex;align-items:center;justify-content:center}");
|
|
57487
57487
|
}
|
|
@@ -57960,7 +57960,7 @@ class Yu {
|
|
|
57960
57960
|
f(this, "plugin");
|
|
57961
57961
|
f(this, "textureHasLoaded", !1);
|
|
57962
57962
|
f(this, "disposed", !1);
|
|
57963
|
-
f(this, "flowAnime", new
|
|
57963
|
+
f(this, "flowAnime", new lr({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
57964
57964
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
57965
57965
|
f(this, "cacheLengths", []);
|
|
57966
57966
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -58285,7 +58285,7 @@ class Yu {
|
|
|
58285
58285
|
function eO(n) {
|
|
58286
58286
|
return n.contentType === "Custom";
|
|
58287
58287
|
}
|
|
58288
|
-
const
|
|
58288
|
+
const Xj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58289
58289
|
__proto__: null,
|
|
58290
58290
|
GuideLineModeItem: Yu
|
|
58291
58291
|
}, Symbol.toStringTag, { value: "Module" })), $A = "CruisePlugin", Gh = `${$A}`;
|
|
@@ -58472,7 +58472,7 @@ class ew extends Ts {
|
|
|
58472
58472
|
}
|
|
58473
58473
|
function Wh(n, t, e) {
|
|
58474
58474
|
var l, c, h;
|
|
58475
|
-
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), r = n.getTangentAt(t), { longitude: o, latitude: a } =
|
|
58475
|
+
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), r = n.getTangentAt(t), { longitude: o, latitude: a } = er(r);
|
|
58476
58476
|
return { offset: s.clone(), longitude: o, latitude: a, distance: 0 };
|
|
58477
58477
|
}
|
|
58478
58478
|
class tw extends ew {
|
|
@@ -58723,7 +58723,7 @@ class zf extends ew {
|
|
|
58723
58723
|
if (!p || !d || ((g = this.workUtil.getObserver(l)) == null ? void 0 : g.floorIndex) !== ((v = this.workUtil.getObserver(u)) == null ? void 0 : v.floorIndex))
|
|
58724
58724
|
return;
|
|
58725
58725
|
const m = new y.Vector3().subVectors(p, d);
|
|
58726
|
-
return
|
|
58726
|
+
return er(m.normalize());
|
|
58727
58727
|
})();
|
|
58728
58728
|
i.moveType === void 0 || i.moveType === "justMove" ? s.push({
|
|
58729
58729
|
moveIndex: c,
|
|
@@ -59182,11 +59182,11 @@ class nw {
|
|
|
59182
59182
|
walk(t) {
|
|
59183
59183
|
return K(this, null, function* () {
|
|
59184
59184
|
if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
|
|
59185
|
-
const e = _({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield
|
|
59185
|
+
const e = _({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield cr(rO(this.five, e));
|
|
59186
59186
|
if (i)
|
|
59187
59187
|
return this.logError(i.message);
|
|
59188
59188
|
} else {
|
|
59189
|
-
const e = { path: this.panoramaItem.curvePath }, [i] = yield
|
|
59189
|
+
const e = { path: this.panoramaItem.curvePath }, [i] = yield cr(sO(this.five, e));
|
|
59190
59190
|
if (i)
|
|
59191
59191
|
return this.logError(i.message);
|
|
59192
59192
|
}
|
|
@@ -59235,7 +59235,7 @@ function rO(n, t) {
|
|
|
59235
59235
|
});
|
|
59236
59236
|
});
|
|
59237
59237
|
}
|
|
59238
|
-
const
|
|
59238
|
+
const Yj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59239
59239
|
__proto__: null,
|
|
59240
59240
|
GuideLineItem: nw
|
|
59241
59241
|
}, Symbol.toStringTag, { value: "Module" })), Zu = "GuideLinePlugin", Qv = `${Zu}`;
|
|
@@ -59436,9 +59436,9 @@ let oO = class extends bn {
|
|
|
59436
59436
|
return typeof e == "object" && e !== null && e.data ? e.data : e;
|
|
59437
59437
|
}
|
|
59438
59438
|
};
|
|
59439
|
-
const sw = (n, t) => new oO(n, t), aO = sw,
|
|
59439
|
+
const sw = (n, t) => new oO(n, t), aO = sw, qj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59440
59440
|
__proto__: null
|
|
59441
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
59441
|
+
}, Symbol.toStringTag, { value: "Module" })), Jj = (n, t) => new zf(n, t), Kj = (n, t) => new tw(n, t), lO = (
|
|
59442
59442
|
/* glsl */
|
|
59443
59443
|
`
|
|
59444
59444
|
varying vec2 vUv;
|
|
@@ -59545,7 +59545,7 @@ class Xv {
|
|
|
59545
59545
|
if (!t)
|
|
59546
59546
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
59547
59547
|
this.observer = t;
|
|
59548
|
-
const { x: e, y: i, z: s, w: r } = t.quaternion, o = new
|
|
59548
|
+
const { x: e, y: i, z: s, w: r } = t.quaternion, o = new Qs(e, i, s, r), a = t.position;
|
|
59549
59549
|
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new pe(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(o);
|
|
59550
59550
|
});
|
|
59551
59551
|
/** 兼容视频播放 */
|
|
@@ -59660,7 +59660,7 @@ class Xv {
|
|
|
59660
59660
|
uniforms: {
|
|
59661
59661
|
map: { value: s },
|
|
59662
59662
|
size: {
|
|
59663
|
-
value: new
|
|
59663
|
+
value: new Us(this.origin[0], 1 - this.origin[1] - this.origin[3], this.origin[2], this.origin[3])
|
|
59664
59664
|
},
|
|
59665
59665
|
opacity: { value: 0 }
|
|
59666
59666
|
},
|
|
@@ -59944,9 +59944,9 @@ class uO extends Ts {
|
|
|
59944
59944
|
console.warn("⛔ ==> [PanoVideoPluginController]:", e);
|
|
59945
59945
|
}
|
|
59946
59946
|
}
|
|
59947
|
-
const
|
|
59947
|
+
const $j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59948
59948
|
__proto__: null
|
|
59949
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
59949
|
+
}, Symbol.toStringTag, { value: "Module" })), eF = (n, t) => new uO(n, t);
|
|
59950
59950
|
function rw(n) {
|
|
59951
59951
|
const t = /* @__PURE__ */ new Map();
|
|
59952
59952
|
return n.forEach((e) => e.pipes.forEach((i) => t.set(i.id, i))), Array.from(t.values());
|
|
@@ -60155,7 +60155,7 @@ class Ur extends y.Mesh {
|
|
|
60155
60155
|
return this.setOpacity(i);
|
|
60156
60156
|
const s = this.material.uniforms.opacity.value;
|
|
60157
60157
|
return s === i ? !0 : new Promise((o) => {
|
|
60158
|
-
this.opacityAnime = new
|
|
60158
|
+
this.opacityAnime = new lr({ progress: s }).to({ progress: i }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => o(!0)).onDispose(() => {
|
|
60159
60159
|
this.setOpacity(i), o(!1);
|
|
60160
60160
|
}).play();
|
|
60161
60161
|
});
|
|
@@ -60170,7 +60170,7 @@ class Ur extends y.Mesh {
|
|
|
60170
60170
|
return this.setOpacity(i);
|
|
60171
60171
|
const s = this.material.uniforms.opacity.value;
|
|
60172
60172
|
return new Promise((o) => {
|
|
60173
|
-
this.opacityAnime = new
|
|
60173
|
+
this.opacityAnime = new lr({ progress: s }).to({ progress: i }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => o(!0)).onDispose(() => {
|
|
60174
60174
|
this.setOpacity(i), o(!1);
|
|
60175
60175
|
}).play();
|
|
60176
60176
|
});
|
|
@@ -60543,7 +60543,7 @@ let xO = class extends bn {
|
|
|
60543
60543
|
return e ? dO({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(Ge) : this.pipeObjects;
|
|
60544
60544
|
}
|
|
60545
60545
|
};
|
|
60546
|
-
const
|
|
60546
|
+
const iF = (n) => new xO(n), Zv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAABmCAMAAABodypCAAABm1BMVEV+fn50dHRZWVleXl5jY2OFhYVUVFRqampubm5QUFBnZ2d4eHhxcXF7e3uJiYmCgoKMjIxNTU2Pj49JSUkAAACsrKyampqzs7Ojo6Ofn5+Xl5ewsLDb29unp6epqamenp7h4eHOzs63t7fs7Oyzs7Ourq6lpaXp6end3d3ExMTR0dHIyMjV1dXKysrJycm9vb2YmJihoaHk5OTc3Nza2trT09OdnZ3v7+/h4eHq6urn5+fl5eXj4+PR0dHj4+POzs7f39/X19fW1tbU1NTS0tK2tranp6ebm5vMzMzf39/n5+fBwcHZ2dnAwMC6urq5ubnKysrGxsahoaGcnJzCwsK5ubmUlJS4uLiWlpZ4eHjs7Ozt7e3X19esrKypqamkpKSqqqre3t7MzMy8vLyTk5ORkZHc3Nzl5eXf39/GxsbDw8OLi4teXl6RkZHg4ODX19e/v7+UlJTBwcG5ubm8vLzBwcG2tra7u7u2traOjo6JiYmfn59nZ2dcXFyXl5fe3t6+vr66urqysrKwsLC0tLSUlJS5ubm8vLxqampJn94CAAAAiXRSTlNmZmZmZmZmZmZmZmZmZmZmZmZmZgC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FjddaOhP9G8Ti+GtveS6CbVFCE4CcfRXRUOEfyPhjECsM54xiNQjwhem49KOX7grZqmfCJKESjONCU+nBx5NBHwUGjx4qoUiLjv8hvJ4ROfC1Ker+fM4p+XLaPJBjtJ3GDLin/rSL0ahrwXpEIJCKctQIdaRLdgbvDyVwfSdCr0bAVUcbT5iDkegM/iFFXFpL3jTIM/CAd3kugc00RunDhpsXW8bkIPBlW3QBHOS8kEttbxhO8Ga9OFRM6Ev5bvebe4DJnWF2eyzJylxCu5IyXZuHbny/rJZer0F+IlWq1Wi5vbJxlMpm7XwvpdDqVmu/v708mk2NjIyPDwwcrK9fLy7tLszMzOzOzs0u7y/v7KwfDwyMjY2PJJE7Oz6dS6fTCwl0mc7a+vlEuV6uVK0SHw5eVx/LG+jqi720yoV3y/jWCmbwj2Nef2YhOEfr+PnOG6MfKJWL/Auw3zmyeIlukAAAAAElFTkSuQmCC", SO = {
|
|
60547
60547
|
sm: {
|
|
60548
60548
|
name: 10,
|
|
60549
60549
|
area: 8,
|
|
@@ -60985,7 +60985,7 @@ class zO {
|
|
|
60985
60985
|
return;
|
|
60986
60986
|
}
|
|
60987
60987
|
return new Promise((l) => {
|
|
60988
|
-
this.opacityAnime = new
|
|
60988
|
+
this.opacityAnime = new lr({ makerObjectOpacity: i, outlineOpacity: r }).to({
|
|
60989
60989
|
makerObjectOpacity: s,
|
|
60990
60990
|
outlineOpacity: o
|
|
60991
60991
|
}).onUpdate(({ makerObjectOpacity: c, outlineOpacity: h }) => {
|
|
@@ -61433,7 +61433,7 @@ let RO = class extends bn {
|
|
|
61433
61433
|
});
|
|
61434
61434
|
}
|
|
61435
61435
|
};
|
|
61436
|
-
const
|
|
61436
|
+
const sF = (n, t) => new RO(n, t);
|
|
61437
61437
|
class _O extends Ts {
|
|
61438
61438
|
constructor(e, i) {
|
|
61439
61439
|
super(e);
|
|
@@ -61664,7 +61664,7 @@ class _O extends Ts {
|
|
|
61664
61664
|
this.hooks.emit("hide", e), this.updateMeshVisible(), this.five.needsRender = !0;
|
|
61665
61665
|
}
|
|
61666
61666
|
}
|
|
61667
|
-
const
|
|
61667
|
+
const rF = (n, t) => new _O(n, t), jO = "Panorama", $v = 1, FO = 1e5, BO = 4, aw = 3, VO = [0, 1, 1, 1, 1, 0, 0, 0], NO = [0, 3, 2, 0, 2, 1], HO = (n, t) => t.mode === jO && t.panoIndex === n;
|
|
61668
61668
|
function lw(n) {
|
|
61669
61669
|
if (!(Array.isArray(n) && n.length === BO && n.every(
|
|
61670
61670
|
(e) => Array.isArray(e) && e.length === aw && e.every((i) => Number.isFinite(i))
|
|
@@ -61687,14 +61687,11 @@ function UO(n) {
|
|
|
61687
61687
|
const t = new Jo();
|
|
61688
61688
|
return t.setAttribute("position", new nu(WO(n), aw)), t.setAttribute("uv", new nu(Float32Array.from(VO), 2)), t.setIndex(Array.from(NO)), t;
|
|
61689
61689
|
}
|
|
61690
|
-
const
|
|
61690
|
+
const Fr = "candidate";
|
|
61691
61691
|
function QO(n) {
|
|
61692
|
-
return Number.isInteger(n == null ? void 0 : n.panoIndex) && n.panoIndex >= 0 ? n.panoIndex : null;
|
|
61693
|
-
}
|
|
61694
|
-
function XO(n) {
|
|
61695
61692
|
n.encoding = y.sRGBEncoding, n.minFilter = y.LinearFilter, n.magFilter = y.LinearFilter, n.generateMipmaps = !1;
|
|
61696
61693
|
}
|
|
61697
|
-
class
|
|
61694
|
+
class oF {
|
|
61698
61695
|
constructor(t) {
|
|
61699
61696
|
f(this, "entries", []);
|
|
61700
61697
|
f(this, "disposers", []);
|
|
@@ -61706,25 +61703,29 @@ class aF {
|
|
|
61706
61703
|
this.disposers.push(this.five.on("stateChange", e), this.five.on("panoArrived", e), this.five.on("modeChange", e));
|
|
61707
61704
|
}
|
|
61708
61705
|
/**
|
|
61709
|
-
*
|
|
61710
|
-
*
|
|
61706
|
+
* 加载全部已保存贴片,全部成功后一次性替换旧贴片。
|
|
61707
|
+
* 任意一张图片加载失败都会抛错,场景中已有的贴片保持不变。
|
|
61711
61708
|
*/
|
|
61712
|
-
load(t
|
|
61709
|
+
load(t) {
|
|
61713
61710
|
return K(this, null, function* () {
|
|
61714
|
-
const
|
|
61715
|
-
t.forEach(
|
|
61716
|
-
|
|
61717
|
-
|
|
61718
|
-
|
|
61719
|
-
|
|
61720
|
-
|
|
61721
|
-
|
|
61722
|
-
|
|
61723
|
-
|
|
61724
|
-
);
|
|
61725
|
-
|
|
61726
|
-
|
|
61727
|
-
|
|
61711
|
+
const e = ++this.loadVersion;
|
|
61712
|
+
t.forEach(GO);
|
|
61713
|
+
const i = yield Promise.all(
|
|
61714
|
+
t.map((o) => K(this, null, function* () {
|
|
61715
|
+
try {
|
|
61716
|
+
return { texture: yield Gn(o.imageUrl) };
|
|
61717
|
+
} catch (a) {
|
|
61718
|
+
return { error: new Error(`P 图贴片加载失败:${o.imageUrl}`) };
|
|
61719
|
+
}
|
|
61720
|
+
}))
|
|
61721
|
+
), s = i.find((o) => "error" in o), r = i.flatMap((o) => "texture" in o ? [o.texture] : []);
|
|
61722
|
+
if (s)
|
|
61723
|
+
throw r.forEach((o) => o.dispose()), s.error;
|
|
61724
|
+
if (this.disposed || e !== this.loadVersion) {
|
|
61725
|
+
r.forEach((o) => o.dispose());
|
|
61726
|
+
return;
|
|
61727
|
+
}
|
|
61728
|
+
this.replaceSaved(t, r);
|
|
61728
61729
|
});
|
|
61729
61730
|
}
|
|
61730
61731
|
/** 设置或替换候选贴片,候选始终位于已保存贴片上方 */
|
|
@@ -61733,7 +61734,7 @@ class aF {
|
|
|
61733
61734
|
return;
|
|
61734
61735
|
cw(t), this.clearCandidate();
|
|
61735
61736
|
const e = new y.CanvasTexture(t.canvas), i = this.createEntry({
|
|
61736
|
-
key:
|
|
61737
|
+
key: Fr,
|
|
61737
61738
|
panoIndex: t.panoIndex,
|
|
61738
61739
|
worldCorners: t.worldCorners,
|
|
61739
61740
|
texture: e,
|
|
@@ -61746,7 +61747,7 @@ class aF {
|
|
|
61746
61747
|
this.candidateHidden = t, this.refreshVisibility();
|
|
61747
61748
|
}
|
|
61748
61749
|
clearCandidate() {
|
|
61749
|
-
const t = this.entries.find((e) => e.key ===
|
|
61750
|
+
const t = this.entries.find((e) => e.key === Fr);
|
|
61750
61751
|
t && (this.removeEntry(t), this.entries = this.entries.filter((e) => e !== t), this.candidateHidden = !1, this.five.needsRender = !0);
|
|
61751
61752
|
}
|
|
61752
61753
|
/**
|
|
@@ -61754,7 +61755,7 @@ class aF {
|
|
|
61754
61755
|
* 候选保存后调用它,再用 `load` 载入完整列表:新贴片图加载完成前继续显示这张贴片,不会闪回原图。
|
|
61755
61756
|
*/
|
|
61756
61757
|
commitCandidate() {
|
|
61757
|
-
const t = this.entries.find((i) => i.key ===
|
|
61758
|
+
const t = this.entries.find((i) => i.key === Fr);
|
|
61758
61759
|
if (!t)
|
|
61759
61760
|
return;
|
|
61760
61761
|
const e = this.entries.length - 1;
|
|
@@ -61763,53 +61764,29 @@ class aF {
|
|
|
61763
61764
|
dispose() {
|
|
61764
61765
|
this.disposed = !0, this.loadVersion += 1, this.disposers.forEach((t) => t()), this.disposers = [], this.entries.forEach((t) => this.removeEntry(t)), this.entries = [], this.candidateHidden = !1, this.five.needsRender = !0;
|
|
61765
61766
|
}
|
|
61766
|
-
|
|
61767
|
-
|
|
61768
|
-
|
|
61769
|
-
const s = yield Promise.all(
|
|
61770
|
-
e.map((u) => K(this, [u], function* ({ patch: c, index: h }) {
|
|
61771
|
-
try {
|
|
61772
|
-
return GO(c), { patch: c, index: h, texture: yield Gn(c.imageUrl) };
|
|
61773
|
-
} catch (d) {
|
|
61774
|
-
const p = typeof (c == null ? void 0 : c.imageUrl) == "string" ? c.imageUrl : "", m = {
|
|
61775
|
-
panoIndex: t,
|
|
61776
|
-
imageUrl: p,
|
|
61777
|
-
error: d instanceof Error ? d : new Error(`P 图贴片加载失败:${p || "未知地址"}`)
|
|
61778
|
-
};
|
|
61779
|
-
return { patch: c, index: h, failure: m };
|
|
61780
|
-
}
|
|
61781
|
-
}))
|
|
61782
|
-
), r = s.filter((c) => "texture" in c), o = s.flatMap((c) => "failure" in c ? [c.failure] : []), a = r.map((c) => c.texture);
|
|
61783
|
-
return this.disposed || i.loadVersion !== this.loadVersion ? (a.forEach((c) => c.dispose()), { failures: [] }) : (t !== null && this.replaceSavedForPano(t, r), (l = i.onPanoSettled) == null || l.call(i, { panoIndex: t, failures: o }), { failures: o });
|
|
61784
|
-
});
|
|
61785
|
-
}
|
|
61786
|
-
replaceSavedForPano(t, e) {
|
|
61787
|
-
const i = e.map(
|
|
61788
|
-
({ patch: r, index: o, texture: a }) => this.createEntry({
|
|
61767
|
+
replaceSaved(t, e) {
|
|
61768
|
+
const i = t.map(
|
|
61769
|
+
(r, o) => this.createEntry({
|
|
61789
61770
|
key: String(o),
|
|
61790
61771
|
panoIndex: r.panoIndex,
|
|
61791
61772
|
worldCorners: r.worldCorners,
|
|
61792
|
-
texture:
|
|
61773
|
+
texture: e[o],
|
|
61793
61774
|
renderOrder: $v + o
|
|
61794
61775
|
})
|
|
61795
|
-
);
|
|
61796
|
-
this.entries.filter((r) => r.key !==
|
|
61797
|
-
}
|
|
61798
|
-
removeSavedEntriesNotIn(t) {
|
|
61799
|
-
const e = this.entries.filter((i) => i.key !== Ns && !t.has(i.panoIndex));
|
|
61800
|
-
e.length !== 0 && (e.forEach((i) => this.removeEntry(i)), this.entries = this.entries.filter((i) => !e.includes(i)), this.refreshVisibility());
|
|
61776
|
+
), s = this.entries.filter((r) => r.key === Fr);
|
|
61777
|
+
this.entries.filter((r) => r.key !== Fr).forEach((r) => this.removeEntry(r)), this.entries = s.concat(i), i.forEach((r) => this.five.scene.add(r.mesh)), this.refreshVisibility();
|
|
61801
61778
|
}
|
|
61802
61779
|
refreshVisibility() {
|
|
61803
61780
|
if (this.disposed)
|
|
61804
61781
|
return;
|
|
61805
61782
|
const t = this.five.getCurrentState();
|
|
61806
61783
|
this.entries.forEach((e) => {
|
|
61807
|
-
const i = e.key ===
|
|
61784
|
+
const i = e.key === Fr && this.candidateHidden;
|
|
61808
61785
|
e.mesh.visible = !i && HO(e.panoIndex, t);
|
|
61809
61786
|
}), this.five.needsRender = !0;
|
|
61810
61787
|
}
|
|
61811
61788
|
createEntry({ key: t, panoIndex: e, worldCorners: i, texture: s, renderOrder: r }) {
|
|
61812
|
-
|
|
61789
|
+
QO(s);
|
|
61813
61790
|
const o = new y.MeshBasicMaterial({
|
|
61814
61791
|
map: s,
|
|
61815
61792
|
transparent: !0,
|
|
@@ -61827,12 +61804,12 @@ class aF {
|
|
|
61827
61804
|
(i = e.map) == null || i.dispose(), e.dispose();
|
|
61828
61805
|
}
|
|
61829
61806
|
}
|
|
61830
|
-
function
|
|
61807
|
+
function XO(n, ...t) {
|
|
61831
61808
|
t.forEach((e) => {
|
|
61832
61809
|
n.children.includes(e) || e && n.add(e);
|
|
61833
61810
|
});
|
|
61834
61811
|
}
|
|
61835
|
-
function
|
|
61812
|
+
function YO(n = "group", t, e) {
|
|
61836
61813
|
switch (n) {
|
|
61837
61814
|
case "self":
|
|
61838
61815
|
return [e];
|
|
@@ -61859,8 +61836,8 @@ class Of extends Tt {
|
|
|
61859
61836
|
f(this, "fiveDomEvents");
|
|
61860
61837
|
f(this, "disposers", []);
|
|
61861
61838
|
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = e.fiveDomEvents;
|
|
61862
|
-
const i = (r = (s = e.position) != null ? s : this.model.center) != null ? r :
|
|
61863
|
-
this.tag = B1(this.five, i, { wrapper: e.tagWrapper, disableOpacityTransition: this.type === "prism" }), this.tag.extraObjectsForIntersectCheck.push(...
|
|
61839
|
+
const i = (r = (s = e.position) != null ? s : this.model.center) != null ? r : gr(this.model).getCenter(new pe());
|
|
61840
|
+
this.tag = B1(this.five, i, { wrapper: e.tagWrapper, disableOpacityTransition: this.type === "prism" }), this.tag.extraObjectsForIntersectCheck.push(...YO(e.tagOcclusionScope, this.group, this.model));
|
|
61864
61841
|
}
|
|
61865
61842
|
get container() {
|
|
61866
61843
|
return this.tag.container;
|
|
@@ -61878,7 +61855,7 @@ class Of extends Tt {
|
|
|
61878
61855
|
this.visibles[0] = !1, this.updateVisible(), this.emit("hide");
|
|
61879
61856
|
}
|
|
61880
61857
|
enable() {
|
|
61881
|
-
|
|
61858
|
+
XO(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
|
|
61882
61859
|
const e = this.onClick.bind(this);
|
|
61883
61860
|
this.fiveDomEvents.removeEventListener(this.model, "click"), this.fiveDomEvents.addEventListener(this.model, "click", e, { skipPano: !0 }), this.disposers.push(() => {
|
|
61884
61861
|
this.fiveDomEvents.removeEventListener(this.model, "click");
|
|
@@ -61918,7 +61895,7 @@ class e1 extends Of {
|
|
|
61918
61895
|
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
61919
61896
|
}
|
|
61920
61897
|
}
|
|
61921
|
-
function
|
|
61898
|
+
function ZO(n) {
|
|
61922
61899
|
ze(n, "svelte-1q9fx3x", ".model-maker-tag.svelte-1q9fx3x{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
61923
61900
|
}
|
|
61924
61901
|
function t1(n) {
|
|
@@ -61946,7 +61923,7 @@ function t1(n) {
|
|
|
61946
61923
|
}
|
|
61947
61924
|
};
|
|
61948
61925
|
}
|
|
61949
|
-
function
|
|
61926
|
+
function qO(n) {
|
|
61950
61927
|
let t, e = (
|
|
61951
61928
|
/*text*/
|
|
61952
61929
|
n[0] && t1(n)
|
|
@@ -61969,25 +61946,25 @@ function JO(n) {
|
|
|
61969
61946
|
}
|
|
61970
61947
|
};
|
|
61971
61948
|
}
|
|
61972
|
-
function
|
|
61949
|
+
function JO(n, t, e) {
|
|
61973
61950
|
let { text: i } = t;
|
|
61974
61951
|
return n.$$set = (s) => {
|
|
61975
61952
|
"text" in s && e(0, i = s.text);
|
|
61976
61953
|
}, [i];
|
|
61977
61954
|
}
|
|
61978
|
-
class
|
|
61955
|
+
class KO extends xe {
|
|
61979
61956
|
constructor(t) {
|
|
61980
|
-
super(), Ie(this, t,
|
|
61957
|
+
super(), Ie(this, t, JO, qO, Ee, { text: 0 }, ZO);
|
|
61981
61958
|
}
|
|
61982
61959
|
}
|
|
61983
61960
|
const i1 = (n, t) => {
|
|
61984
61961
|
var i;
|
|
61985
|
-
const e = new
|
|
61962
|
+
const e = new KO({
|
|
61986
61963
|
target: n,
|
|
61987
61964
|
props: { text: (i = t.rawData) == null ? void 0 : i.name }
|
|
61988
61965
|
});
|
|
61989
61966
|
return () => e.$destroy();
|
|
61990
|
-
},
|
|
61967
|
+
}, $O = (n, t, e) => {
|
|
61991
61968
|
var a;
|
|
61992
61969
|
let i = Po();
|
|
61993
61970
|
const s = new ow({
|
|
@@ -62000,14 +61977,14 @@ const i1 = (n, t) => {
|
|
|
62000
61977
|
})), () => {
|
|
62001
61978
|
o == null || o(), s.$destroy();
|
|
62002
61979
|
};
|
|
62003
|
-
},
|
|
61980
|
+
}, eR = {
|
|
62004
61981
|
box: i1,
|
|
62005
61982
|
triangles: i1,
|
|
62006
|
-
prism:
|
|
61983
|
+
prism: $O
|
|
62007
61984
|
};
|
|
62008
61985
|
class Yh extends Of {
|
|
62009
61986
|
constructor(...e) {
|
|
62010
|
-
const i = e[0], s =
|
|
61987
|
+
const i = e[0], s = gr(i.model), r = new y.Vector3().lerpVectors(fs(s, 0), fs(s, 5), 0.5);
|
|
62011
61988
|
super(ae(_({}, i), { position: r }));
|
|
62012
61989
|
f(this, "onModelShownFloorChange", (e) => {
|
|
62013
61990
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
@@ -62052,7 +62029,7 @@ class n1 extends Of {
|
|
|
62052
62029
|
this.updatePanoIndex(this.five.state.panoIndex), this.updateMode(this.five.state.mode), super.show();
|
|
62053
62030
|
}
|
|
62054
62031
|
}
|
|
62055
|
-
class
|
|
62032
|
+
class tR extends bn {
|
|
62056
62033
|
constructor(e, i) {
|
|
62057
62034
|
var s, r, o;
|
|
62058
62035
|
super(e);
|
|
@@ -62081,7 +62058,7 @@ class iR extends bn {
|
|
|
62081
62058
|
f(this, "onFiveModeChange", (e) => {
|
|
62082
62059
|
const i = this.occlusionVisibility;
|
|
62083
62060
|
Array.isArray(i) && [...this.getPrismItems(), ...this.getBoxItems()].forEach((r) => {
|
|
62084
|
-
(r.model instanceof
|
|
62061
|
+
(r.model instanceof or || r.model instanceof Fu) && r.model.setStyle({ occlusionVisibility: i.includes(e) });
|
|
62085
62062
|
});
|
|
62086
62063
|
});
|
|
62087
62064
|
f(this, "handleEnable", () => {
|
|
@@ -62112,7 +62089,7 @@ class iR extends bn {
|
|
|
62112
62089
|
f(this, "updateTagRenderer", () => {
|
|
62113
62090
|
this.items.forEach((e) => {
|
|
62114
62091
|
var s;
|
|
62115
|
-
const i = (s = this.tagRendererMap[e.type]) != null ? s :
|
|
62092
|
+
const i = (s = this.tagRendererMap[e.type]) != null ? s : eR[e.type];
|
|
62116
62093
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e, this.five));
|
|
62117
62094
|
});
|
|
62118
62095
|
});
|
|
@@ -62163,7 +62140,7 @@ class iR extends bn {
|
|
|
62163
62140
|
});
|
|
62164
62141
|
}
|
|
62165
62142
|
case "prism": {
|
|
62166
|
-
const o = new
|
|
62143
|
+
const o = new or();
|
|
62167
62144
|
Ge(s.id) && (o.uuid = s.id.toString()), this.zFightingOffset += cn.Z_FIGHTING_OFFSET;
|
|
62168
62145
|
const a = s.object_data.points.map((u) => {
|
|
62169
62146
|
var d;
|
|
@@ -62183,9 +62160,9 @@ class iR extends bn {
|
|
|
62183
62160
|
});
|
|
62184
62161
|
}
|
|
62185
62162
|
case "box": {
|
|
62186
|
-
const o = new
|
|
62163
|
+
const o = new or({ five: this.five });
|
|
62187
62164
|
Ge(s.id) && (o.uuid = s.id.toString());
|
|
62188
|
-
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new pe().fromArray(a), u = new pe().fromArray(l), d = new On().fromArray(c), p = new
|
|
62165
|
+
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new pe().fromArray(a), u = new pe().fromArray(l), d = new On().fromArray(c), p = new Qs().setFromEuler(d), m = p.clone().inverse(), g = new pe().lerpVectors(h, u, 0.5), v = g.clone().negate(), b = h.clone().add(v).applyQuaternion(m), w = u.clone().add(v).applyQuaternion(m), M = new a2(b.clone().max(w), b.clone().min(w));
|
|
62189
62166
|
return o.setPoints({
|
|
62190
62167
|
points: [fs(M, 2), fs(M, 3), fs(M, 7), fs(M, 6)],
|
|
62191
62168
|
heightPoint: fs(M, 1)
|
|
@@ -62566,8 +62543,8 @@ class iR extends bn {
|
|
|
62566
62543
|
});
|
|
62567
62544
|
}
|
|
62568
62545
|
}
|
|
62569
|
-
const
|
|
62570
|
-
class
|
|
62546
|
+
const aF = (...n) => new tR(...n);
|
|
62547
|
+
class iR {
|
|
62571
62548
|
constructor() {
|
|
62572
62549
|
}
|
|
62573
62550
|
getStateByTime(t, e, i) {
|
|
@@ -62652,7 +62629,7 @@ class nR {
|
|
|
62652
62629
|
};
|
|
62653
62630
|
const s = e[i], r = e[i + 1], o = t - s.timeStamp;
|
|
62654
62631
|
if (((l = r.interpolationType) != null ? l : "linear") === "parabola") {
|
|
62655
|
-
const c = r.timeStamp - s.timeStamp, h = Math.min(o / c, 1), d =
|
|
62632
|
+
const c = r.timeStamp - s.timeStamp, h = Math.min(o / c, 1), d = nR(
|
|
62656
62633
|
new y.Vector3().fromArray(s.position),
|
|
62657
62634
|
new y.Vector3().fromArray(r.position)
|
|
62658
62635
|
)(h), p = h, m = new y.Quaternion().copy(
|
|
@@ -62708,7 +62685,7 @@ class nR {
|
|
|
62708
62685
|
return r !== -1 ? r : s;
|
|
62709
62686
|
}
|
|
62710
62687
|
}
|
|
62711
|
-
function
|
|
62688
|
+
function nR(n, t) {
|
|
62712
62689
|
return (i) => {
|
|
62713
62690
|
const s = Math.sqrt(Math.pow(t.x - n.x, 2) + Math.pow(t.z - n.z, 2)), r = i * s, o = new y.Vector2(n.x, n.z).add(
|
|
62714
62691
|
new y.Vector2(t.x, t.z).sub(new y.Vector2(n.x, n.z)).normalize().multiplyScalar(r)
|
|
@@ -62716,7 +62693,7 @@ function sR(n, t) {
|
|
|
62716
62693
|
return new y.Vector3(o.x, a, o.y);
|
|
62717
62694
|
};
|
|
62718
62695
|
}
|
|
62719
|
-
class
|
|
62696
|
+
class sR {
|
|
62720
62697
|
constructor() {
|
|
62721
62698
|
f(this, "tracePoints");
|
|
62722
62699
|
f(this, "curve");
|
|
@@ -62733,7 +62710,7 @@ class rR {
|
|
|
62733
62710
|
}
|
|
62734
62711
|
}
|
|
62735
62712
|
const s1 = 300;
|
|
62736
|
-
class
|
|
62713
|
+
class rR {
|
|
62737
62714
|
constructor(t, e) {
|
|
62738
62715
|
f(this, "model");
|
|
62739
62716
|
f(this, "keyframesManager");
|
|
@@ -62765,12 +62742,12 @@ class oR {
|
|
|
62765
62742
|
// 加法式新增:供外部统一时钟(DigitalPerformanceV2Plugin)驱动时使用的特效贴图缓存。
|
|
62766
62743
|
// 不影响既有 play() 路径(play 使用其内部局部 textures 变量)。
|
|
62767
62744
|
f(this, "externalTextures", /* @__PURE__ */ new Map());
|
|
62768
|
-
this.model = t, this.model.visible = !1, this.model.mixer = null, this.mixer = new y.AnimationMixer(this.model), this.action = null, this.keyframesManager = new
|
|
62745
|
+
this.model = t, this.model.visible = !1, this.model.mixer = null, this.mixer = new y.AnimationMixer(this.model), this.action = null, this.keyframesManager = new iR(), this.keyframes = [], this.items = [], this.effects = [], this.digitalPlayground = e, this.state = {
|
|
62769
62746
|
currentTime: 0,
|
|
62770
62747
|
currentAnimation: null,
|
|
62771
62748
|
currentAnimationRepeat: !1,
|
|
62772
62749
|
playing: !1
|
|
62773
|
-
}, this.animationFrameId = null, this.itemMatrixMap = /* @__PURE__ */ new Map(), this.trace = new
|
|
62750
|
+
}, this.animationFrameId = null, this.itemMatrixMap = /* @__PURE__ */ new Map(), this.trace = new sR(), this.curveLine = new y.Line(), this.curveLine.material = new y.LineBasicMaterial({ color: 14467195, linewidth: 5 }), this.curveLine.visible = !1, this.effectsGroup = new y.Group(), this.effectObjects = /* @__PURE__ */ new Map(), this.container = new y.Group(), this.container.add(this.model), this.container.add(this.curveLine), this.container.add(this.effectsGroup);
|
|
62774
62751
|
}
|
|
62775
62752
|
playAnimation({ animation: t, repeat: e, switchDuration: i }) {
|
|
62776
62753
|
const s = this.action, r = this.mixer.clipAction(t);
|
|
@@ -63065,7 +63042,7 @@ class hw {
|
|
|
63065
63042
|
} else
|
|
63066
63043
|
return new Promise((s, r) => {
|
|
63067
63044
|
t.endsWith(".gltf") || t.endsWith(".glb") ? this.loadGLTF(t).then((o) => {
|
|
63068
|
-
const a = o.scene, l = new
|
|
63045
|
+
const a = o.scene, l = new rR(a, this);
|
|
63069
63046
|
l.setTraceVisible(this.showTrace), this.digitalHumanMap.set(i, l), s(l);
|
|
63070
63047
|
}) : r(new Error("不支持的模型格式"));
|
|
63071
63048
|
});
|
|
@@ -63201,7 +63178,7 @@ function La(n, t = Ac) {
|
|
|
63201
63178
|
const e = typeof n == "string" ? n.trim() : "", i = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : Ac;
|
|
63202
63179
|
return Array.from(e).slice(0, i).join("");
|
|
63203
63180
|
}
|
|
63204
|
-
const
|
|
63181
|
+
const oR = [0, 0.12, 0], Zh = "digital-performance-nameplate", aR = "digital-performance-nameplates", r1 = "digital-performance-nameplate-arrow-style", lR = {
|
|
63205
63182
|
position: "absolute",
|
|
63206
63183
|
"z-index": "1",
|
|
63207
63184
|
display: "block",
|
|
@@ -63216,7 +63193,7 @@ const aR = [0, 0.12, 0], Zh = "digital-performance-nameplate", lR = "digital-per
|
|
|
63216
63193
|
"pointer-events": "none",
|
|
63217
63194
|
transform: "translate3d(0, 0, 0) translate(-50%, calc(-100% - 8px))",
|
|
63218
63195
|
"will-change": "transform"
|
|
63219
|
-
},
|
|
63196
|
+
}, cR = {
|
|
63220
63197
|
position: "absolute",
|
|
63221
63198
|
inset: "0",
|
|
63222
63199
|
"z-index": "5",
|
|
@@ -63249,7 +63226,7 @@ class Rf {
|
|
|
63249
63226
|
this.applyContainerStyle(), this.applyDebugBoundingBoxOption(), this.update();
|
|
63250
63227
|
return;
|
|
63251
63228
|
}
|
|
63252
|
-
this.unmount(), this.parent = t, this.container = document.createElement("div"), this.container.className = (i = this.options.containerClassName) != null ? i :
|
|
63229
|
+
this.unmount(), this.parent = t, this.container = document.createElement("div"), this.container.className = (i = this.options.containerClassName) != null ? i : aR, this.applyContainerStyle(), this.injectArrowStyle(), t.appendChild(this.container), typeof window != "undefined" && window.addEventListener("resize", this.onResize, !1), this.applyDebugBoundingBoxOption(), this.update();
|
|
63253
63230
|
}
|
|
63254
63231
|
/**
|
|
63255
63232
|
* 内置自动挂载:把 overlay 挂到 five canvas 的父容器(与 canvas 同级),调用方无需提供容器。
|
|
@@ -63357,11 +63334,11 @@ class Rf {
|
|
|
63357
63334
|
}
|
|
63358
63335
|
applyContainerStyle() {
|
|
63359
63336
|
var t;
|
|
63360
|
-
this.container && (Object.entries(
|
|
63337
|
+
this.container && (Object.entries(cR).forEach(([e, i]) => this.container.style.setProperty(e, i)), Object.entries((t = this.options.containerStyle) != null ? t : {}).forEach(([e, i]) => this.container.style.setProperty(e, i)));
|
|
63361
63338
|
}
|
|
63362
63339
|
applyElementStyle(t) {
|
|
63363
63340
|
var e;
|
|
63364
|
-
Object.entries(
|
|
63341
|
+
Object.entries(lR).forEach(([i, s]) => t.style.setProperty(i, s)), Object.entries((e = this.options.style) != null ? e : {}).forEach(([i, s]) => t.style.setProperty(i, s));
|
|
63365
63342
|
}
|
|
63366
63343
|
/**
|
|
63367
63344
|
* 注入名牌气泡箭头的伪元素样式。
|
|
@@ -63425,7 +63402,7 @@ class Rf {
|
|
|
63425
63402
|
if (t.updateMatrixWorld(!0), this.box.setFromObject(t), this.box.isEmpty())
|
|
63426
63403
|
return null;
|
|
63427
63404
|
this.box.getCenter(this.anchor), this.anchor.y = this.box.max.y;
|
|
63428
|
-
const e = (h = this.options.offset) != null ? h :
|
|
63405
|
+
const e = (h = this.options.offset) != null ? h : oR;
|
|
63429
63406
|
this.offset.fromArray(e), this.anchor.add(this.offset);
|
|
63430
63407
|
const i = this.anchor.clone().project(this.five.camera);
|
|
63431
63408
|
if (i.z < -1 || i.z > 1)
|
|
@@ -63443,7 +63420,7 @@ class Rf {
|
|
|
63443
63420
|
return l > 0 && c > 0 && (r < -200 || r > l + 200 || o < -100 || o > c + 100) ? null : { x: r, y: o };
|
|
63444
63421
|
}
|
|
63445
63422
|
}
|
|
63446
|
-
const
|
|
63423
|
+
const hR = 2, ms = 1e-3, uw = 1e-9, qh = ms * ms, Il = 1e-6, o1 = 1e-6, xl = 1e-5, uR = 1e-6, dR = 1e-9, fR = 1e-9;
|
|
63447
63424
|
function dw(n) {
|
|
63448
63425
|
return JSON.parse(JSON.stringify(n));
|
|
63449
63426
|
}
|
|
@@ -63453,13 +63430,13 @@ function wc(n) {
|
|
|
63453
63430
|
const t = n;
|
|
63454
63431
|
return Number.isFinite(t.x) && Number.isFinite(t.y) && Number.isFinite(t.z);
|
|
63455
63432
|
}
|
|
63456
|
-
function
|
|
63433
|
+
function pR(n) {
|
|
63457
63434
|
if (!n || typeof n != "object")
|
|
63458
63435
|
return !1;
|
|
63459
63436
|
const t = n;
|
|
63460
63437
|
return typeof t.duration == "number" && Number.isFinite(t.duration) && t.duration > 0 && typeof t.animationUrl == "string" && t.animationUrl.trim().length > 0 && (t.repeat === "loop" || t.repeat === "once") && (t.restartOnEnter === void 0 || typeof t.restartOnEnter == "boolean");
|
|
63461
63438
|
}
|
|
63462
|
-
function
|
|
63439
|
+
function mR(n) {
|
|
63463
63440
|
if (n === void 0)
|
|
63464
63441
|
return [];
|
|
63465
63442
|
if (!Array.isArray(n))
|
|
@@ -63485,7 +63462,7 @@ function Hl(n, t) {
|
|
|
63485
63462
|
const e = t.x - n.x, i = t.y - n.y, s = t.z - n.z;
|
|
63486
63463
|
return Math.sqrt(e * e + i * i + s * s);
|
|
63487
63464
|
}
|
|
63488
|
-
function
|
|
63465
|
+
function gR(n, t, e) {
|
|
63489
63466
|
const i = e.x - t.x, s = e.y - t.y, r = e.z - t.z, o = i * i + s * s + r * r;
|
|
63490
63467
|
if (!Number.isFinite(o))
|
|
63491
63468
|
return;
|
|
@@ -63493,7 +63470,7 @@ function vR(n, t, e) {
|
|
|
63493
63470
|
if (!(!Number.isFinite(h) || !Number.isFinite(b)))
|
|
63494
63471
|
return { t: h, distanceSquared: b };
|
|
63495
63472
|
}
|
|
63496
|
-
function
|
|
63473
|
+
function vR(n) {
|
|
63497
63474
|
const t = [...n].sort((r, o) => r.distance - o.distance || r.segmentIndex - o.segmentIndex), e = [];
|
|
63498
63475
|
let i = [];
|
|
63499
63476
|
const s = () => {
|
|
@@ -63508,7 +63485,7 @@ function yR(n) {
|
|
|
63508
63485
|
i.length > 0 && Math.abs(r.distance - i[0].distance) > uw && s(), i.push(r);
|
|
63509
63486
|
return s(), e;
|
|
63510
63487
|
}
|
|
63511
|
-
function
|
|
63488
|
+
function yR(n, t) {
|
|
63512
63489
|
if (n.length < 2 || t.length < 2 || !n.every(wc) || !t.every(wc))
|
|
63513
63490
|
return { kind: "invalid" };
|
|
63514
63491
|
const e = [], i = [];
|
|
@@ -63526,7 +63503,7 @@ function bR(n, t) {
|
|
|
63526
63503
|
const m = [];
|
|
63527
63504
|
let g = 1 / 0;
|
|
63528
63505
|
for (let w = 0; w < n.length - 1; w++) {
|
|
63529
|
-
const M =
|
|
63506
|
+
const M = gR(p, n[w], n[w + 1]);
|
|
63530
63507
|
if (!M)
|
|
63531
63508
|
return { kind: "invalid" };
|
|
63532
63509
|
g = Math.min(g, M.distanceSquared), m.push({
|
|
@@ -63537,7 +63514,7 @@ function bR(n, t) {
|
|
|
63537
63514
|
}
|
|
63538
63515
|
if (!Number.isFinite(g) || g > qh)
|
|
63539
63516
|
return { kind: "invalid" };
|
|
63540
|
-
const v = Math.max(qh, Math.abs(g) *
|
|
63517
|
+
const v = Math.max(qh, Math.abs(g) * fR), b = vR(
|
|
63541
63518
|
m.filter(
|
|
63542
63519
|
(w) => w.distanceSquared <= qh && w.distanceSquared - g <= v
|
|
63543
63520
|
)
|
|
@@ -63565,7 +63542,7 @@ function bR(n, t) {
|
|
|
63565
63542
|
};
|
|
63566
63543
|
return d(0, Number.NEGATIVE_INFINITY), c === 0 || !h ? { kind: "invalid" } : c > 1 ? { kind: "ambiguous" } : { kind: "resolved", projections: h.map(({ segmentIndex: p, distance: m }) => ({ segmentIndex: p, distance: m })) };
|
|
63567
63544
|
}
|
|
63568
|
-
function
|
|
63545
|
+
function bR(n) {
|
|
63569
63546
|
return n[0] * n[0] + n[1] * n[1] + n[2] * n[2];
|
|
63570
63547
|
}
|
|
63571
63548
|
function Jh(n, t) {
|
|
@@ -63580,7 +63557,7 @@ function _f(n) {
|
|
|
63580
63557
|
[n[8], n[9], n[10]]
|
|
63581
63558
|
], e = [];
|
|
63582
63559
|
for (const a of t) {
|
|
63583
|
-
const l =
|
|
63560
|
+
const l = bR(a);
|
|
63584
63561
|
if (!Number.isFinite(l) || l <= o1 * o1)
|
|
63585
63562
|
return !1;
|
|
63586
63563
|
const c = Math.sqrt(l);
|
|
@@ -63593,16 +63570,16 @@ function _f(n) {
|
|
|
63593
63570
|
const [i, s, r] = e, o = i[0] * (s[1] * r[2] - s[2] * r[1]) - s[0] * (i[1] * r[2] - i[2] * r[1]) + r[0] * (i[1] * s[2] - i[2] * s[1]);
|
|
63594
63571
|
return Number.isFinite(o) && o > 0 && Math.abs(o - 1) <= xl;
|
|
63595
63572
|
}
|
|
63596
|
-
function
|
|
63597
|
-
const e = Math.max(
|
|
63573
|
+
function AR(n, t) {
|
|
63574
|
+
const e = Math.max(uR, dR * Math.max(Math.abs(n), Math.abs(t)));
|
|
63598
63575
|
return Math.abs(n - t) <= e;
|
|
63599
63576
|
}
|
|
63600
|
-
function
|
|
63577
|
+
function wR(n, t) {
|
|
63601
63578
|
var r;
|
|
63602
63579
|
const e = t.slice(0, -1).map((o) => o.outgoingMovement), i = e.reduce((o, a) => o + a.duration, 0), s = e[0];
|
|
63603
|
-
return typeof ((r = n.track) == null ? void 0 : r.duration) == "number" && Number.isFinite(n.track.duration) && n.track.duration > 0 &&
|
|
63580
|
+
return typeof ((r = n.track) == null ? void 0 : r.duration) == "number" && Number.isFinite(n.track.duration) && n.track.duration > 0 && AR(n.track.duration, i) && n.animationUrl === s.animationUrl.trim() && n.repeat === s.repeat;
|
|
63604
63581
|
}
|
|
63605
|
-
function
|
|
63582
|
+
function PR(n) {
|
|
63606
63583
|
const t = n.track, e = t == null ? void 0 : t.path, i = t == null ? void 0 : t.points;
|
|
63607
63584
|
if (!Array.isArray(e) || e.length < 2 || !e.every(wc))
|
|
63608
63585
|
return { kind: "conflict-invalid", reason: "invalid-path" };
|
|
@@ -63612,19 +63589,19 @@ function CR(n) {
|
|
|
63612
63589
|
return { kind: "conflict-invalid", reason: "invalid-matrix" };
|
|
63613
63590
|
const s = [];
|
|
63614
63591
|
for (let l = 0; l < i.length; l++) {
|
|
63615
|
-
const c = i[l], h =
|
|
63592
|
+
const c = i[l], h = mR(c.actions);
|
|
63616
63593
|
if (!h)
|
|
63617
63594
|
return { kind: "conflict-invalid", reason: "invalid-actions" };
|
|
63618
63595
|
if (l < i.length - 1) {
|
|
63619
|
-
if (!
|
|
63596
|
+
if (!pR(c.outgoingMovement))
|
|
63620
63597
|
return { kind: "conflict-invalid", reason: "invalid-movement" };
|
|
63621
63598
|
} else if (c.outgoingMovement !== void 0)
|
|
63622
63599
|
return { kind: "conflict-invalid", reason: "terminal-movement" };
|
|
63623
63600
|
s.push(ae(_({}, dw(c)), { actions: h }));
|
|
63624
63601
|
}
|
|
63625
|
-
if (!
|
|
63602
|
+
if (!wR(n, s))
|
|
63626
63603
|
return { kind: "conflict-invalid", reason: "legacy-summary-mismatch" };
|
|
63627
|
-
const r = e.map((l) => _({}, l)), o =
|
|
63604
|
+
const r = e.map((l) => _({}, l)), o = yR(
|
|
63628
63605
|
r,
|
|
63629
63606
|
s.map((l) => l.point)
|
|
63630
63607
|
);
|
|
@@ -63643,22 +63620,22 @@ function Ju(n) {
|
|
|
63643
63620
|
(o) => o && typeof o == "object" && o.outgoingMovement !== void 0
|
|
63644
63621
|
);
|
|
63645
63622
|
}
|
|
63646
|
-
function
|
|
63623
|
+
function CR(n) {
|
|
63647
63624
|
var e;
|
|
63648
63625
|
const t = n && typeof n == "object" ? n : {};
|
|
63649
|
-
return Ju(t) ? ((e = t.track) == null ? void 0 : e.schemaVersion) !==
|
|
63626
|
+
return Ju(t) ? ((e = t.track) == null ? void 0 : e.schemaVersion) !== hR ? { kind: "conflict-invalid", reason: "unsupported-schema" } : PR(t) : { kind: "pure-legacy" };
|
|
63650
63627
|
}
|
|
63651
|
-
const
|
|
63628
|
+
const MR = 300;
|
|
63652
63629
|
function l1(n) {
|
|
63653
|
-
const t = [n[12], n[13], n[14]], e = n[0], i = n[4], s = n[8], r = n[1], o = n[5], a = n[9], l = n[2], c = n[6], h = n[10], u = Math.sqrt(e * e + r * r + l * l), d = Math.sqrt(i * i + o * o + c * c), p = Math.sqrt(s * s + a * a + h * h), m = [u, d, p], g = [e / u, i / d, s / p, r / u, o / d, a / p, l / u, c / d, h / p], v =
|
|
63630
|
+
const t = [n[12], n[13], n[14]], e = n[0], i = n[4], s = n[8], r = n[1], o = n[5], a = n[9], l = n[2], c = n[6], h = n[10], u = Math.sqrt(e * e + r * r + l * l), d = Math.sqrt(i * i + o * o + c * c), p = Math.sqrt(s * s + a * a + h * h), m = [u, d, p], g = [e / u, i / d, s / p, r / u, o / d, a / p, l / u, c / d, h / p], v = ER(g);
|
|
63654
63631
|
return { position: t, quaternion: v, scale: m };
|
|
63655
63632
|
}
|
|
63656
|
-
function
|
|
63633
|
+
function ER(n) {
|
|
63657
63634
|
const t = n[0] + n[4] + n[8];
|
|
63658
63635
|
let e, i = [0, 0, 0, 0];
|
|
63659
63636
|
return t > 0 ? (e = Math.sqrt(t + 1) * 2, i[3] = 0.25 * e, i[0] = (n[7] - n[5]) / e, i[1] = (n[2] - n[6]) / e, i[2] = (n[3] - n[1]) / e) : n[0] > n[4] && n[0] > n[8] ? (e = Math.sqrt(1 + n[0] - n[4] - n[8]) * 2, i[3] = (n[7] - n[5]) / e, i[0] = 0.25 * e, i[1] = (n[1] + n[3]) / e, i[2] = (n[2] + n[6]) / e) : n[4] > n[8] ? (e = Math.sqrt(1 + n[4] - n[0] - n[8]) * 2, i[3] = (n[2] - n[6]) / e, i[0] = (n[1] + n[3]) / e, i[1] = 0.25 * e, i[2] = (n[5] + n[7]) / e) : (e = Math.sqrt(1 + n[8] - n[0] - n[4]) * 2, i[3] = (n[3] - n[1]) / e, i[0] = (n[2] + n[6]) / e, i[1] = (n[5] + n[7]) / e, i[2] = 0.25 * e), i;
|
|
63660
63637
|
}
|
|
63661
|
-
function
|
|
63638
|
+
function IR({ x: n, y: t, z: e, order: i = "XYZ" }) {
|
|
63662
63639
|
const s = Math.cos(n / 2), r = Math.cos(t / 2), o = Math.cos(e / 2), a = Math.sin(n / 2), l = Math.sin(t / 2), c = Math.sin(e / 2);
|
|
63663
63640
|
let h, u, d, p;
|
|
63664
63641
|
switch (i) {
|
|
@@ -63679,7 +63656,7 @@ function c1(n) {
|
|
|
63679
63656
|
function h1(n, t) {
|
|
63680
63657
|
if (!t)
|
|
63681
63658
|
return n;
|
|
63682
|
-
const e =
|
|
63659
|
+
const e = IR({ x: t[0], y: t[1], z: t[2] }), [i, s, r, o] = e, [a, l, c, h] = n;
|
|
63683
63660
|
return [
|
|
63684
63661
|
o * a + i * h + s * c - r * l,
|
|
63685
63662
|
o * l - i * c + s * h + r * a,
|
|
@@ -63687,11 +63664,11 @@ function h1(n, t) {
|
|
|
63687
63664
|
o * h - i * a - s * l - r * c
|
|
63688
63665
|
];
|
|
63689
63666
|
}
|
|
63690
|
-
function
|
|
63667
|
+
function xR(n, t) {
|
|
63691
63668
|
const e = new y.Vector3(t.x - n.x, t.y - n.y, t.z - n.z).normalize(), i = new y.Vector3(0, 0, 1), s = new y.Quaternion();
|
|
63692
63669
|
return s.setFromUnitVectors(i, e), [s.x, s.y, s.z, s.w];
|
|
63693
63670
|
}
|
|
63694
|
-
function
|
|
63671
|
+
function SR(n, t = 0, e = 300) {
|
|
63695
63672
|
var C, x, E, S;
|
|
63696
63673
|
if (!((C = n.track) != null && C.path) || n.track.path.length === 0) {
|
|
63697
63674
|
const k = l1(n.matrix), O = [
|
|
@@ -63943,7 +63920,7 @@ function kR(n, t = 0, e = 300) {
|
|
|
63943
63920
|
if (Math.abs(O.position[0] - B.position[0]) + Math.abs(O.position[1] - B.position[1]) + Math.abs(O.position[2] - B.position[2]) > 1e-3) {
|
|
63944
63921
|
const te = O.timeStamp + e;
|
|
63945
63922
|
if (c.some(
|
|
63946
|
-
(oe) => te > oe.start -
|
|
63923
|
+
(oe) => te > oe.start - MR && te < oe.end
|
|
63947
63924
|
)) {
|
|
63948
63925
|
console.log(`旋转帧时刻 ${te}ms 落入动作窗口,跳过插入以保护停顿动作`);
|
|
63949
63926
|
continue;
|
|
@@ -63954,7 +63931,7 @@ function kR(n, t = 0, e = 300) {
|
|
|
63954
63931
|
B.position[1] - O.position[1],
|
|
63955
63932
|
B.position[2] - O.position[2]
|
|
63956
63933
|
).normalize(), Se = se.clone().add(re.multiplyScalar(J));
|
|
63957
|
-
let $ =
|
|
63934
|
+
let $ = xR(
|
|
63958
63935
|
{ x: O.position[0], y: O.position[1], z: O.position[2] },
|
|
63959
63936
|
{ x: B.position[0], y: B.position[1], z: B.position[2] }
|
|
63960
63937
|
);
|
|
@@ -64023,14 +64000,14 @@ function kR(n, t = 0, e = 300) {
|
|
|
64023
64000
|
keyframes: l
|
|
64024
64001
|
};
|
|
64025
64002
|
}
|
|
64026
|
-
function
|
|
64003
|
+
function kR(n) {
|
|
64027
64004
|
return JSON.parse(JSON.stringify(n));
|
|
64028
64005
|
}
|
|
64029
64006
|
function pw(n, t, e = 0) {
|
|
64030
64007
|
var a, l;
|
|
64031
64008
|
if (!n || !n.players || !Array.isArray(n.players))
|
|
64032
64009
|
return n;
|
|
64033
|
-
const i =
|
|
64010
|
+
const i = kR(n), s = (a = i.players[0]) != null && a.fiveState ? _({}, i.players[0].fiveState) : void 0;
|
|
64034
64011
|
if (s && s.offset && t) {
|
|
64035
64012
|
const c = new pe(s.offset.x, s.offset.y, s.offset.z), h = _t(c, t == null ? void 0 : t.transform);
|
|
64036
64013
|
s.offset = { x: h.x, y: h.y, z: h.z };
|
|
@@ -64064,7 +64041,7 @@ function pw(n, t, e = 0) {
|
|
|
64064
64041
|
const v = new pe(u.matrix[12], u.matrix[13], u.matrix[14]), b = _t(v, t == null ? void 0 : t.transform);
|
|
64065
64042
|
u.matrix[12] = b.x, u.matrix[13] = b.y, u.matrix[14] = b.z;
|
|
64066
64043
|
}
|
|
64067
|
-
const d =
|
|
64044
|
+
const d = SR(u, e);
|
|
64068
64045
|
((g = c.config) == null ? void 0 : g.type) === "simultaneous" || h > 0 && o++, r[o] || r.push({
|
|
64069
64046
|
id: o,
|
|
64070
64047
|
name: c.chapterName || `Chapter ${o + 1}`,
|
|
@@ -64077,8 +64054,8 @@ function pw(n, t, e = 0) {
|
|
|
64077
64054
|
chapters: r
|
|
64078
64055
|
};
|
|
64079
64056
|
}
|
|
64080
|
-
const Kh = uw,
|
|
64081
|
-
class
|
|
64057
|
+
const Kh = uw, Ws = 1e-3;
|
|
64058
|
+
class qs extends Error {
|
|
64082
64059
|
constructor(t, e) {
|
|
64083
64060
|
super(`动画脚本无法安全转换: ${e}`), this.playerId = t, this.reason = e, this.name = "AnimationScriptAdapterSafetyError";
|
|
64084
64061
|
}
|
|
@@ -64090,7 +64067,7 @@ function $h(n, t) {
|
|
|
64090
64067
|
const e = t.x - n.x, i = t.y - n.y, s = t.z - n.z;
|
|
64091
64068
|
return Math.sqrt(e * e + i * i + s * s);
|
|
64092
64069
|
}
|
|
64093
|
-
function
|
|
64070
|
+
function TR(n, t) {
|
|
64094
64071
|
const e = n.points[t].point, i = n.points[t + 1].point, s = n.projections[t], r = n.projections[t + 1], o = [_({}, e)];
|
|
64095
64072
|
for (let a = s.segmentIndex + 1; a <= r.segmentIndex; a++) {
|
|
64096
64073
|
const l = n.path[a];
|
|
@@ -64099,7 +64076,7 @@ function DR(n, t) {
|
|
|
64099
64076
|
if ($h(o[o.length - 1], i) > Kh && o.push(_({}, i)), !(o.length < 2))
|
|
64100
64077
|
return o;
|
|
64101
64078
|
}
|
|
64102
|
-
function
|
|
64079
|
+
function DR(n, t, e) {
|
|
64103
64080
|
const [i, s, r, o] = t, [a, l, c] = e, h = i + i, u = s + s, d = r + r, p = i * h, m = i * u, g = i * d, v = s * u, b = s * d, w = r * d, M = o * h, I = o * u, T = o * d;
|
|
64104
64081
|
return [
|
|
64105
64082
|
(1 - (v + w)) * a,
|
|
@@ -64139,34 +64116,34 @@ function u1(n, t, e, i) {
|
|
|
64139
64116
|
const a = fw(o);
|
|
64140
64117
|
if (!(a <= 0)) {
|
|
64141
64118
|
if (typeof o.animationUrl == "string" && o.animationUrl.trim() === "none") {
|
|
64142
|
-
const l = n.find((c) => Math.abs(c.timeStamp - s) <=
|
|
64119
|
+
const l = n.find((c) => Math.abs(c.timeStamp - s) <= Ws);
|
|
64143
64120
|
((r = l == null ? void 0 : l.animation) == null ? void 0 : r.url) === i && delete l.animation;
|
|
64144
64121
|
}
|
|
64145
64122
|
s += a * 1e3;
|
|
64146
64123
|
}
|
|
64147
64124
|
}
|
|
64148
64125
|
}
|
|
64149
|
-
function
|
|
64150
|
-
const e = n.filter((s) => Math.abs(s.timeStamp - t) <=
|
|
64126
|
+
function LR(n, t) {
|
|
64127
|
+
const e = n.filter((s) => Math.abs(s.timeStamp - t) <= Ws), i = e[e.length - 1];
|
|
64151
64128
|
if (!(!i || !ua(i.quaternion, 4) || !ua(i.scale, 3)))
|
|
64152
64129
|
return { quaternion: [...i.quaternion], scale: [...i.scale] };
|
|
64153
64130
|
}
|
|
64154
|
-
function
|
|
64131
|
+
function zR(n) {
|
|
64155
64132
|
var t, e, i;
|
|
64156
64133
|
return (i = (e = (t = n == null ? void 0 : n.chapters) == null ? void 0 : t[0]) == null ? void 0 : e.players) == null ? void 0 : i[0];
|
|
64157
64134
|
}
|
|
64158
|
-
function
|
|
64135
|
+
function OR(n) {
|
|
64159
64136
|
return Array.isArray(n == null ? void 0 : n.chapters) ? n.chapters.flatMap((t) => Array.isArray(t == null ? void 0 : t.players) ? t.players : []) : [];
|
|
64160
64137
|
}
|
|
64161
|
-
function
|
|
64138
|
+
function RR(n, t, e, i, s, r) {
|
|
64162
64139
|
var h;
|
|
64163
64140
|
let a = (h = r.totalDelay) != null ? h : 0, l = e.matrix.slice(0, 16), c = [];
|
|
64164
64141
|
for (let u = 0; u < s.points.length - 1; u++) {
|
|
64165
|
-
const d = s.points[u], p = s.points[u + 1], m = d.outgoingMovement, g =
|
|
64142
|
+
const d = s.points[u], p = s.points[u + 1], m = d.outgoingMovement, g = TR(s, u);
|
|
64166
64143
|
if (!g)
|
|
64167
64144
|
return;
|
|
64168
64145
|
if (!_f(l))
|
|
64169
|
-
throw new
|
|
64146
|
+
throw new qs(e.id, "unsafe-canonical-output");
|
|
64170
64147
|
const v = u === s.points.length - 2, b = us(d.actions), w = v ? us(p.actions) : [], M = a1(b), I = a1(w), T = a + M * 1e3, z = T + m.duration * 1e3 + I * 1e3, R = ae(_({}, us(e.track)), {
|
|
64171
64148
|
duration: m.duration,
|
|
64172
64149
|
path: g,
|
|
@@ -64185,19 +64162,19 @@ function _R(n, t, e, i, s, r) {
|
|
|
64185
64162
|
id: t == null ? void 0 : t.id,
|
|
64186
64163
|
name: t == null ? void 0 : t.name,
|
|
64187
64164
|
players: [L]
|
|
64188
|
-
}, A = n.transformScriptData(j, r.work, a), C =
|
|
64165
|
+
}, A = n.transformScriptData(j, r.work, a), C = zR(A);
|
|
64189
64166
|
if (!gw(C))
|
|
64190
|
-
throw new
|
|
64167
|
+
throw new qs(e.id, "unsafe-canonical-output");
|
|
64191
64168
|
const x = us(C.keyframes).filter(
|
|
64192
|
-
(k) => k.timeStamp >= a -
|
|
64169
|
+
(k) => k.timeStamp >= a - Ws && k.timeStamp <= z + Ws
|
|
64193
64170
|
);
|
|
64194
|
-
if (!x.some((k) => Math.abs(k.timeStamp - z) <=
|
|
64171
|
+
if (!x.some((k) => Math.abs(k.timeStamp - z) <= Ws))
|
|
64195
64172
|
return;
|
|
64196
64173
|
if (m.restartOnEnter && m.animationUrl !== "none") {
|
|
64197
64174
|
const k = x.find(
|
|
64198
64175
|
(O) => {
|
|
64199
64176
|
var B;
|
|
64200
|
-
return Math.abs(O.timeStamp - T) <=
|
|
64177
|
+
return Math.abs(O.timeStamp - T) <= Ws && ((B = O.animation) == null ? void 0 : B.url) === m.animationUrl.trim();
|
|
64201
64178
|
}
|
|
64202
64179
|
);
|
|
64203
64180
|
if (!(k != null && k.animation))
|
|
@@ -64209,15 +64186,15 @@ function _R(n, t, e, i, s, r) {
|
|
|
64209
64186
|
const k = T + m.duration * 1e3;
|
|
64210
64187
|
u1(x, w, k, E);
|
|
64211
64188
|
}
|
|
64212
|
-
u > 0 && (c = c.filter((k) => Math.abs(k.timeStamp - a) >
|
|
64213
|
-
const S =
|
|
64189
|
+
u > 0 && (c = c.filter((k) => Math.abs(k.timeStamp - a) > Ws)), c.push(...x), c.sort((k, O) => k.timeStamp - O.timeStamp);
|
|
64190
|
+
const S = LR(x, z);
|
|
64214
64191
|
if (!S)
|
|
64215
64192
|
return;
|
|
64216
|
-
l =
|
|
64193
|
+
l = DR(p.point, S.quaternion, S.scale), a = z;
|
|
64217
64194
|
}
|
|
64218
64195
|
if (c.length !== 0) {
|
|
64219
64196
|
if (!c.every(mw))
|
|
64220
|
-
throw new
|
|
64197
|
+
throw new qs(e.id, "unsafe-canonical-output");
|
|
64221
64198
|
return ae(_({}, i), { keyframes: c });
|
|
64222
64199
|
}
|
|
64223
64200
|
}
|
|
@@ -64225,11 +64202,11 @@ function vw(n, t = {}) {
|
|
|
64225
64202
|
var h, u, d;
|
|
64226
64203
|
const e = (h = t.warn) != null ? h : (p, m) => {
|
|
64227
64204
|
console.warn(p, m);
|
|
64228
|
-
}, i = (u = t.transformer) != null ? u : { transformScriptData: pw }, s = Array.isArray(n == null ? void 0 : n.players) ? n.players : void 0, r = s == null ? void 0 : s.map((p) =>
|
|
64205
|
+
}, i = (u = t.transformer) != null ? u : { transformScriptData: pw }, s = Array.isArray(n == null ? void 0 : n.players) ? n.players : void 0, r = s == null ? void 0 : s.map((p) => CR(p));
|
|
64229
64206
|
s == null || s.forEach((p) => {
|
|
64230
64207
|
if (!Ju(p) || _f(p.matrix))
|
|
64231
64208
|
return;
|
|
64232
|
-
const m = new
|
|
64209
|
+
const m = new qs(p.id, "converter-unsafe-matrix");
|
|
64233
64210
|
throw e("[animation-script-adapter] outgoingMovement v2 matrix 无法由 Legacy converter 安全分解,已停止加载", {
|
|
64234
64211
|
playerId: p.id,
|
|
64235
64212
|
reason: m.reason
|
|
@@ -64238,10 +64215,10 @@ function vw(n, t = {}) {
|
|
|
64238
64215
|
const o = i.transformScriptData(us(n), t.work, (d = t.totalDelay) != null ? d : 0);
|
|
64239
64216
|
if (!s)
|
|
64240
64217
|
return o;
|
|
64241
|
-
const a = s.find(Ju), l = Array.isArray(o == null ? void 0 : o.chapters), c = l ?
|
|
64218
|
+
const a = s.find(Ju), l = Array.isArray(o == null ? void 0 : o.chapters), c = l ? OR(o) : [];
|
|
64242
64219
|
if (!l || c.length !== s.length) {
|
|
64243
64220
|
if (a) {
|
|
64244
|
-
const p = new
|
|
64221
|
+
const p = new qs(a.id, "canonical-player-count-mismatch");
|
|
64245
64222
|
throw e("[animation-script-adapter] canonical player 数量与 v2 详情不一致,已停止加载", {
|
|
64246
64223
|
playerId: a.id,
|
|
64247
64224
|
reason: p.reason,
|
|
@@ -64258,7 +64235,7 @@ function vw(n, t = {}) {
|
|
|
64258
64235
|
const g = r[m];
|
|
64259
64236
|
if (g.kind !== "pure-legacy") {
|
|
64260
64237
|
if (!gw(c[m])) {
|
|
64261
|
-
const v = new
|
|
64238
|
+
const v = new qs(p.id, "unsafe-canonical-output");
|
|
64262
64239
|
throw e("[animation-script-adapter] Legacy converter 生成了非有限 canonical 输出,已停止加载", {
|
|
64263
64240
|
playerId: p.id,
|
|
64264
64241
|
reason: v.reason
|
|
@@ -64272,12 +64249,12 @@ function vw(n, t = {}) {
|
|
|
64272
64249
|
return;
|
|
64273
64250
|
}
|
|
64274
64251
|
try {
|
|
64275
|
-
const v =
|
|
64252
|
+
const v = RR(i, n, p, c[m], g.plan, t);
|
|
64276
64253
|
if (!v)
|
|
64277
64254
|
throw new Error("无法生成完整的分段 keyframes");
|
|
64278
64255
|
Object.assign(c[m], v);
|
|
64279
64256
|
} catch (v) {
|
|
64280
|
-
if (v instanceof
|
|
64257
|
+
if (v instanceof qs)
|
|
64281
64258
|
throw e("[animation-script-adapter] 分段 converter 生成了不安全的 canonical 输出,已停止加载", {
|
|
64282
64259
|
playerId: p.id,
|
|
64283
64260
|
reason: v.reason
|
|
@@ -64290,8 +64267,8 @@ function vw(n, t = {}) {
|
|
|
64290
64267
|
}
|
|
64291
64268
|
}), o;
|
|
64292
64269
|
}
|
|
64293
|
-
const
|
|
64294
|
-
class
|
|
64270
|
+
const _R = "Dnalogel-DigitalPerformancePlugin";
|
|
64271
|
+
class jR {
|
|
64295
64272
|
constructor(t, e = {}) {
|
|
64296
64273
|
f(this, "five");
|
|
64297
64274
|
f(this, "playground");
|
|
@@ -64321,7 +64298,7 @@ class FR {
|
|
|
64321
64298
|
currentScript: null,
|
|
64322
64299
|
continuousPlaying: !1,
|
|
64323
64300
|
playMode: "single"
|
|
64324
|
-
}, this.NAME =
|
|
64301
|
+
}, this.NAME = _R, this.config.debug, this.init();
|
|
64325
64302
|
}
|
|
64326
64303
|
/**
|
|
64327
64304
|
* 加载剧本数据
|
|
@@ -65093,8 +65070,8 @@ class FR {
|
|
|
65093
65070
|
this.playingPlayersListeners.forEach((e) => e(t));
|
|
65094
65071
|
}
|
|
65095
65072
|
}
|
|
65096
|
-
const
|
|
65097
|
-
class
|
|
65073
|
+
const lF = (n, t) => new jR(n, t), FR = 200;
|
|
65074
|
+
class BR {
|
|
65098
65075
|
constructor(t) {
|
|
65099
65076
|
f(this, "five");
|
|
65100
65077
|
f(this, "duration", 0);
|
|
@@ -65110,7 +65087,7 @@ class VR {
|
|
|
65110
65087
|
const t = performance.now();
|
|
65111
65088
|
this.lastFrameTs === null && (this.lastFrameTs = t);
|
|
65112
65089
|
let e = t - this.lastFrameTs;
|
|
65113
|
-
this.lastFrameTs = t, (e >
|
|
65090
|
+
this.lastFrameTs = t, (e > FR || e < 0) && (e = 0), this.time = Math.min(this.time + e, this.duration), this.emitTick(e), this.time >= this.duration && (this.playing = !1, this.unsubscribeFrame(), this.emitEnded());
|
|
65114
65091
|
});
|
|
65115
65092
|
this.five = t;
|
|
65116
65093
|
}
|
|
@@ -65210,7 +65187,7 @@ function Ya(n, t, e) {
|
|
|
65210
65187
|
const i = e - t;
|
|
65211
65188
|
return i <= 0 ? 0 : yw((n - t) / i, 0, 1);
|
|
65212
65189
|
}
|
|
65213
|
-
function
|
|
65190
|
+
function VR(n, t, e) {
|
|
65214
65191
|
const i = Math.atan2(Math.sin(t - n), Math.cos(t - n));
|
|
65215
65192
|
return n + i * e;
|
|
65216
65193
|
}
|
|
@@ -65219,48 +65196,48 @@ function eu(n) {
|
|
|
65219
65196
|
const t = (e = n.target) != null ? e : [0, 0, 0];
|
|
65220
65197
|
return new y.Vector3((i = t[0]) != null ? i : 0, (s = t[1]) != null ? s : 0, (r = t[2]) != null ? r : 0);
|
|
65221
65198
|
}
|
|
65222
|
-
function
|
|
65199
|
+
function NR(n, t) {
|
|
65223
65200
|
const e = Qa(n, t), i = t[e];
|
|
65224
65201
|
if (e === t.length - 1 || i.transition === "instant")
|
|
65225
65202
|
return eu(i);
|
|
65226
65203
|
const s = t[e + 1], r = Xa(Ya(n, i.timeStamp, s.timeStamp), i.transition);
|
|
65227
65204
|
return eu(i).lerp(eu(s), r);
|
|
65228
65205
|
}
|
|
65229
|
-
function
|
|
65206
|
+
function HR(n, t) {
|
|
65230
65207
|
const e = Qa(n, t), i = t[e];
|
|
65231
65208
|
if (e === t.length - 1 || i.transition === "instant")
|
|
65232
65209
|
return i.longitude;
|
|
65233
65210
|
const s = t[e + 1], r = Xa(Ya(n, i.timeStamp, s.timeStamp), i.transition);
|
|
65234
|
-
return
|
|
65211
|
+
return VR(i.longitude, s.longitude, r);
|
|
65235
65212
|
}
|
|
65236
|
-
function
|
|
65213
|
+
function GR(n, t) {
|
|
65237
65214
|
const e = Qa(n, t), i = t[e];
|
|
65238
65215
|
if (e === t.length - 1 || i.transition === "instant")
|
|
65239
65216
|
return i.latitude;
|
|
65240
65217
|
const s = t[e + 1], r = Xa(Ya(n, i.timeStamp, s.timeStamp), i.transition);
|
|
65241
65218
|
return i.latitude + (s.latitude - i.latitude) * r;
|
|
65242
65219
|
}
|
|
65243
|
-
function
|
|
65220
|
+
function WR(n, t) {
|
|
65244
65221
|
const e = Qa(n, t), i = t[e];
|
|
65245
65222
|
if (e === t.length - 1 || i.transition === "instant")
|
|
65246
65223
|
return i.distance;
|
|
65247
65224
|
const s = t[e + 1], r = Xa(Ya(n, i.timeStamp, s.timeStamp), i.transition);
|
|
65248
65225
|
return i.distance + (s.distance - i.distance) * r;
|
|
65249
65226
|
}
|
|
65250
|
-
function
|
|
65227
|
+
function UR(n, t) {
|
|
65251
65228
|
const e = Qa(n, t), i = t[e];
|
|
65252
65229
|
if (e === t.length - 1 || i.transition === "instant")
|
|
65253
65230
|
return i.fov;
|
|
65254
65231
|
const s = t[e + 1], r = Xa(Ya(n, i.timeStamp, s.timeStamp), i.transition);
|
|
65255
65232
|
return i.fov + (s.fov - i.fov) * r;
|
|
65256
65233
|
}
|
|
65257
|
-
function
|
|
65234
|
+
function QR(n, t) {
|
|
65258
65235
|
return {
|
|
65259
|
-
target:
|
|
65260
|
-
longitude:
|
|
65261
|
-
latitude:
|
|
65262
|
-
distance:
|
|
65263
|
-
fov:
|
|
65236
|
+
target: NR(n, t),
|
|
65237
|
+
longitude: HR(n, t),
|
|
65238
|
+
latitude: GR(n, t),
|
|
65239
|
+
distance: WR(n, t),
|
|
65240
|
+
fov: UR(n, t)
|
|
65264
65241
|
};
|
|
65265
65242
|
}
|
|
65266
65243
|
class Ku {
|
|
@@ -65273,7 +65250,7 @@ class Ku {
|
|
|
65273
65250
|
}
|
|
65274
65251
|
/** 按时间采样出统一 CameraState(已插值) */
|
|
65275
65252
|
sample(t) {
|
|
65276
|
-
return
|
|
65253
|
+
return QR(t, this.keyframes);
|
|
65277
65254
|
}
|
|
65278
65255
|
/** 本轨道有效时间范围(首帧~末帧 timeStamp) */
|
|
65279
65256
|
getTimeRange() {
|
|
@@ -65287,11 +65264,11 @@ class Ku {
|
|
|
65287
65264
|
return this.keyframes.length > 0;
|
|
65288
65265
|
}
|
|
65289
65266
|
}
|
|
65290
|
-
const d1 = 1e-6,
|
|
65267
|
+
const d1 = 1e-6, XR = 700;
|
|
65291
65268
|
function f1(n) {
|
|
65292
65269
|
return n > 0 ? n >= 180 ? 180 - d1 : n : d1;
|
|
65293
65270
|
}
|
|
65294
|
-
class
|
|
65271
|
+
class YR {
|
|
65295
65272
|
constructor(t) {
|
|
65296
65273
|
f(this, "five");
|
|
65297
65274
|
this.five = t;
|
|
@@ -65333,7 +65310,7 @@ class ZR {
|
|
|
65333
65310
|
/* immediately */
|
|
65334
65311
|
!1
|
|
65335
65312
|
), new Promise((e) => {
|
|
65336
|
-
setTimeout(e,
|
|
65313
|
+
setTimeout(e, XR);
|
|
65337
65314
|
});
|
|
65338
65315
|
}
|
|
65339
65316
|
/**
|
|
@@ -65352,14 +65329,14 @@ class ZR {
|
|
|
65352
65329
|
};
|
|
65353
65330
|
}
|
|
65354
65331
|
}
|
|
65355
|
-
class
|
|
65332
|
+
class ZR {
|
|
65356
65333
|
constructor(t) {
|
|
65357
65334
|
f(this, "bridge");
|
|
65358
65335
|
f(this, "track", null);
|
|
65359
65336
|
f(this, "clock", null);
|
|
65360
65337
|
f(this, "enabled", !0);
|
|
65361
65338
|
f(this, "unsubTick", null);
|
|
65362
|
-
this.bridge = new
|
|
65339
|
+
this.bridge = new YR(t);
|
|
65363
65340
|
}
|
|
65364
65341
|
/** 绑定/替换轨道(传 null 解绑) */
|
|
65365
65342
|
bindTrack(t) {
|
|
@@ -65450,7 +65427,7 @@ function p1(n) {
|
|
|
65450
65427
|
function m1(n, t, e) {
|
|
65451
65428
|
return n < t ? t : n > e ? e : n;
|
|
65452
65429
|
}
|
|
65453
|
-
class
|
|
65430
|
+
class qR {
|
|
65454
65431
|
constructor(t, e = !1) {
|
|
65455
65432
|
/** 复用 Shared_Core 的加载与实例管理 */
|
|
65456
65433
|
f(this, "loader");
|
|
@@ -65463,7 +65440,7 @@ class JR {
|
|
|
65463
65440
|
f(this, "unsubTick", null);
|
|
65464
65441
|
/** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
|
|
65465
65442
|
f(this, "currentPlayResolve", null);
|
|
65466
|
-
this.loader = new hw(e), this.clock = new
|
|
65443
|
+
this.loader = new hw(e), this.clock = new BR(t), this.director = new ZR(t);
|
|
65467
65444
|
}
|
|
65468
65445
|
getClock() {
|
|
65469
65446
|
return this.clock;
|
|
@@ -65628,12 +65605,12 @@ class JR {
|
|
|
65628
65605
|
this.unsubTick && (this.unsubTick(), this.unsubTick = null);
|
|
65629
65606
|
}
|
|
65630
65607
|
}
|
|
65631
|
-
const
|
|
65608
|
+
const JR = "Dnalogel-DigitalPerformanceV2Plugin", g1 = "five-world";
|
|
65632
65609
|
class bw {
|
|
65633
65610
|
constructor(t, e = {}) {
|
|
65634
65611
|
f(this, "five");
|
|
65635
65612
|
f(this, "config");
|
|
65636
|
-
f(this, "NAME",
|
|
65613
|
+
f(this, "NAME", JR);
|
|
65637
65614
|
f(this, "playground");
|
|
65638
65615
|
f(this, "state", {
|
|
65639
65616
|
enabled: !0,
|
|
@@ -65686,7 +65663,7 @@ class bw {
|
|
|
65686
65663
|
f(this, "chapterFloorModel", null);
|
|
65687
65664
|
/** five 'modeChange' 楼层重放监听的反订阅句柄(chapterFloorMap 启用时挂载,停用/reset/dispose 时清理) */
|
|
65688
65665
|
f(this, "unsubFloorModeChange", null);
|
|
65689
|
-
this.five = t, this.config = _({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1, showNameplate: !0 }, e), this.playground = new
|
|
65666
|
+
this.five = t, this.config = _({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1, showNameplate: !0 }, e), this.playground = new qR(t, this.config.debug), this.nameplate = new Rf(t), this.unsubNameplateRender = this.playground.onRender(() => this.nameplate.update()), this.unsubNameplateCameraUpdate = this.five.on("cameraUpdate", () => this.nameplate.update()), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress()), this.config.showNameplate !== !1 && this.nameplate.enableAutoMount(this.config.nameplateOptions);
|
|
65690
65667
|
}
|
|
65691
65668
|
/** 加载剧本:预加载资源 + 将模型加入 five 场景;autoPlay 时自动播放首章 */
|
|
65692
65669
|
loadScript(t) {
|
|
@@ -66452,7 +66429,7 @@ class bw {
|
|
|
66452
66429
|
});
|
|
66453
66430
|
}
|
|
66454
66431
|
}
|
|
66455
|
-
const v1 = (n, t) => new bw(n, t),
|
|
66432
|
+
const v1 = (n, t) => new bw(n, t), cF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
66456
66433
|
__proto__: null,
|
|
66457
66434
|
DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH: Ac,
|
|
66458
66435
|
DigitalPerformanceNameplate: Rf,
|
|
@@ -66655,10 +66632,10 @@ void main() {
|
|
|
66655
66632
|
|
|
66656
66633
|
gl_Position = projectionMatrix * modelViewMatrix * vec4(vPosition, 1.0);
|
|
66657
66634
|
}
|
|
66658
|
-
`),
|
|
66635
|
+
`), KR = new y.SphereBufferGeometry(1, 300, 300), ww = [];
|
|
66659
66636
|
for (var Sl = 0; Sl < 2; Sl++)
|
|
66660
66637
|
ww.push(new y.Vector2(Math.sin(Sl) / 2 + 1, Sl * 2 - 0.8));
|
|
66661
|
-
var
|
|
66638
|
+
var $R = new y.LatheBufferGeometry(ww, 300);
|
|
66662
66639
|
/** @class */
|
|
66663
66640
|
(function(n) {
|
|
66664
66641
|
Za(t, n);
|
|
@@ -66671,11 +66648,11 @@ var e_ = new y.LatheBufferGeometry(ww, 300);
|
|
|
66671
66648
|
else
|
|
66672
66649
|
switch (e) {
|
|
66673
66650
|
case "ring":
|
|
66674
|
-
s =
|
|
66651
|
+
s = $R;
|
|
66675
66652
|
break;
|
|
66676
66653
|
case "circle":
|
|
66677
66654
|
default:
|
|
66678
|
-
s =
|
|
66655
|
+
s = KR;
|
|
66679
66656
|
break;
|
|
66680
66657
|
}
|
|
66681
66658
|
i.uniforms = {
|
|
@@ -66779,7 +66756,7 @@ var e_ = new y.LatheBufferGeometry(ww, 300);
|
|
|
66779
66756
|
configurable: !0
|
|
66780
66757
|
}), t;
|
|
66781
66758
|
})(y.Group);
|
|
66782
|
-
var
|
|
66759
|
+
var e_ = `
|
|
66783
66760
|
uniform vec3 uLightColor;
|
|
66784
66761
|
uniform vec3 uSpotPosition;
|
|
66785
66762
|
uniform float uAttenuation;
|
|
@@ -66799,7 +66776,7 @@ void main() {
|
|
|
66799
66776
|
intensity = intensity * angleIntensity * vNoise;
|
|
66800
66777
|
gl_FragColor = vec4( uLightColor, intensity );
|
|
66801
66778
|
}
|
|
66802
|
-
`,
|
|
66779
|
+
`, t_ = `
|
|
66803
66780
|
|
|
66804
66781
|
uniform float uTime;
|
|
66805
66782
|
|
|
@@ -66848,8 +66825,8 @@ void main(){
|
|
|
66848
66825
|
o.applyMatrix4(new y.Matrix4().makeTranslation(0, -e / 2, 0)), o.applyMatrix4(new y.Matrix4().makeRotationX(-Math.PI / 2));
|
|
66849
66826
|
var a = new y.Mesh(o, new y.ShaderMaterial({
|
|
66850
66827
|
uniforms: r.uniforms,
|
|
66851
|
-
vertexShader:
|
|
66852
|
-
fragmentShader:
|
|
66828
|
+
vertexShader: t_,
|
|
66829
|
+
fragmentShader: e_,
|
|
66853
66830
|
transparent: !0,
|
|
66854
66831
|
side: y.FrontSide,
|
|
66855
66832
|
depthWrite: !1
|
|
@@ -67035,7 +67012,7 @@ function kl(n, t) {
|
|
|
67035
67012
|
function Gl(n, t, e) {
|
|
67036
67013
|
return n * e + t * e * e / 2;
|
|
67037
67014
|
}
|
|
67038
|
-
function
|
|
67015
|
+
function i_(n, t, e) {
|
|
67039
67016
|
return new y.Vector3(Gl(n.x, t.x, e), Gl(n.y, t.y, e), Gl(n.z, t.z, e));
|
|
67040
67017
|
}
|
|
67041
67018
|
function tu(n, t) {
|
|
@@ -67048,7 +67025,7 @@ function tu(n, t) {
|
|
|
67048
67025
|
var s = (t - n.times[i - 1]) / (n.times[i] - n.times[i - 1]), r = n.values[i - 1], o = n.values[i];
|
|
67049
67026
|
return typeof n.values[0] == "number" ? r + s * (o - r) : r.clone().lerp(o, s);
|
|
67050
67027
|
}
|
|
67051
|
-
var
|
|
67028
|
+
var n_ = (
|
|
67052
67029
|
/** @class */
|
|
67053
67030
|
function() {
|
|
67054
67031
|
function n(t, e, i, s, r, o, a, l, c, h, u, d, p, m) {
|
|
@@ -67057,11 +67034,11 @@ var s_ = (
|
|
|
67057
67034
|
return n.prototype.getAlive = function(t) {
|
|
67058
67035
|
return this.deathAge > t - this.birthTime;
|
|
67059
67036
|
}, n.prototype.getState = function(t) {
|
|
67060
|
-
var e = this.getAlive(t), i = Math.min(this.deathAge, t - this.birthTime), s =
|
|
67037
|
+
var e = this.getAlive(t), i = Math.min(this.deathAge, t - this.birthTime), s = i_(this.velocity, this.acceleration, i).add(this.position), r = Gl(this.angleVelocity, this.angleAcceleration, i) + this.angle, o = (this.sizeTween ? tu(this.sizeTween, i) : 0) + this.size, a = (this.colorTween ? tu(this.colorTween, i) : new y.Vector3()).add(this.color), l = new y.Color().setHSL(a.x, a.y, a.z), c = (this.opacityTween ? tu(this.opacityTween, i) : 0) + this.opacity;
|
|
67061
67038
|
return { alive: e, age: i, position: s, angle: r, size: o, color: l, opacity: c };
|
|
67062
67039
|
}, n;
|
|
67063
67040
|
}()
|
|
67064
|
-
),
|
|
67041
|
+
), s_ = `
|
|
67065
67042
|
attribute vec3 color;
|
|
67066
67043
|
attribute float opacity;
|
|
67067
67044
|
attribute float size;
|
|
@@ -67087,7 +67064,7 @@ void main() {
|
|
|
67087
67064
|
gl_PointSize = size * ( 300.0 / length( mvPosition.xyz ) );
|
|
67088
67065
|
gl_Position = projectionMatrix * mvPosition;
|
|
67089
67066
|
}
|
|
67090
|
-
`,
|
|
67067
|
+
`, r_ = `
|
|
67091
67068
|
varying vec4 vColor;
|
|
67092
67069
|
|
|
67093
67070
|
#if defined(USE_MAP)
|
|
@@ -67125,8 +67102,8 @@ void main() {
|
|
|
67125
67102
|
defines: {
|
|
67126
67103
|
USE_MAP: !!e.texture
|
|
67127
67104
|
},
|
|
67128
|
-
vertexShader:
|
|
67129
|
-
fragmentShader:
|
|
67105
|
+
vertexShader: s_,
|
|
67106
|
+
fragmentShader: r_,
|
|
67130
67107
|
transparent: !0,
|
|
67131
67108
|
blending: (r = e.blending) !== null && r !== void 0 ? r : y.NormalBlending,
|
|
67132
67109
|
depthWrite: !1
|
|
@@ -67178,7 +67155,7 @@ void main() {
|
|
|
67178
67155
|
break;
|
|
67179
67156
|
}
|
|
67180
67157
|
}
|
|
67181
|
-
var u = new
|
|
67158
|
+
var u = new n_(e, this.particleDeathAge, i, l, kl(this.accelerationBase, this.accelerationSpread), Br(this.angleBase, this.angleSpread), Br(this.angleVelocityBase, this.angleVelocitySpread), Br(this.angleAccelerationBase, this.angleAccelerationSpread), kl(this.colorBase, this.colorSpread), this.colorTween, Br(this.sizeBase, this.sizeSpread), this.sizeTween, Br(this.opacityBase, this.opacitySpread), this.opacityTween);
|
|
67182
67159
|
return u;
|
|
67183
67160
|
}, t.prototype.pause = function() {
|
|
67184
67161
|
this.paused !== !0 && (this.paused = !0, this.birthTime = Date.now() / 1e3);
|
|
@@ -67254,7 +67231,7 @@ function Tl(n, t) {
|
|
|
67254
67231
|
var e = new y.Vector3(Math.random() - 0.5, Math.random() - 0.5, Math.random() - 0.5);
|
|
67255
67232
|
return new y.Vector3().addVectors(n, new y.Vector3().multiplyVectors(t, e));
|
|
67256
67233
|
}
|
|
67257
|
-
var
|
|
67234
|
+
var o_ = `
|
|
67258
67235
|
// 粒子初始属性
|
|
67259
67236
|
attribute vec3 initialVelocity;
|
|
67260
67237
|
attribute vec3 acceleration;
|
|
@@ -67331,7 +67308,7 @@ void main() {
|
|
|
67331
67308
|
gl_PointSize = currentSize * (300.0 / length(mvPosition.xyz));
|
|
67332
67309
|
gl_Position = projectionMatrix * mvPosition;
|
|
67333
67310
|
}
|
|
67334
|
-
`,
|
|
67311
|
+
`, a_ = `
|
|
67335
67312
|
varying vec4 vColor;
|
|
67336
67313
|
varying float vAngle;
|
|
67337
67314
|
|
|
@@ -67409,8 +67386,8 @@ void main() {
|
|
|
67409
67386
|
defines: {
|
|
67410
67387
|
USE_MAP: !!e.texture
|
|
67411
67388
|
},
|
|
67412
|
-
vertexShader:
|
|
67413
|
-
fragmentShader:
|
|
67389
|
+
vertexShader: o_,
|
|
67390
|
+
fragmentShader: a_,
|
|
67414
67391
|
transparent: !0,
|
|
67415
67392
|
blending: (te = e.blending) !== null && te !== void 0 ? te : y.NormalBlending,
|
|
67416
67393
|
depthWrite: !1
|
|
@@ -67463,12 +67440,12 @@ const Pw = (n) => {
|
|
|
67463
67440
|
interval: Math.max(200, 1e3 / t),
|
|
67464
67441
|
growthRate: Math.max(0.1, Math.min(0.8, t * 0.3))
|
|
67465
67442
|
};
|
|
67466
|
-
},
|
|
67443
|
+
}, l_ = {
|
|
67467
67444
|
growthInterval: 2e3,
|
|
67468
67445
|
growthRate: 0.3,
|
|
67469
67446
|
maxAdditionalFires: 3,
|
|
67470
67447
|
spreadRange: 2
|
|
67471
|
-
},
|
|
67448
|
+
}, c_ = (n, t, e) => {
|
|
67472
67449
|
const { volume: i, diagonal: s } = Pw(n), { interval: r, growthRate: o } = Cw(e), a = Math.max(12, Math.min(100, Math.round(i * 1.2))), l = Math.max(0.3, Math.min(2, t)), c = Math.max(0.8, Math.min(1.5, t));
|
|
67473
67450
|
return {
|
|
67474
67451
|
growthInterval: r,
|
|
@@ -67537,10 +67514,10 @@ class Mw {
|
|
|
67537
67514
|
}
|
|
67538
67515
|
}
|
|
67539
67516
|
function Dl(n, t, e) {
|
|
67540
|
-
const i =
|
|
67517
|
+
const i = h_(e), s = Math.sin(n * 12.9898 + t * 78.233 + i * 1e-4) * 43758.5453;
|
|
67541
67518
|
return s - Math.floor(s);
|
|
67542
67519
|
}
|
|
67543
|
-
function
|
|
67520
|
+
function h_(n) {
|
|
67544
67521
|
let t = 2166136261;
|
|
67545
67522
|
for (let e = 0; e < n.length; e++)
|
|
67546
67523
|
t ^= n.charCodeAt(e), t = Math.imul(t, 16777619);
|
|
@@ -67550,7 +67527,7 @@ const Pc = (n) => {
|
|
|
67550
67527
|
var t;
|
|
67551
67528
|
(t = n.parent) == null || t.remove(n), n.geometry.dispose(), n.material.dispose();
|
|
67552
67529
|
};
|
|
67553
|
-
class
|
|
67530
|
+
class u_ {
|
|
67554
67531
|
constructor(t, e) {
|
|
67555
67532
|
f(this, "fires", /* @__PURE__ */ new Map());
|
|
67556
67533
|
f(this, "scene");
|
|
@@ -67568,7 +67545,7 @@ class d_ {
|
|
|
67568
67545
|
* 添加火焰
|
|
67569
67546
|
*/
|
|
67570
67547
|
addFire(t, e, i) {
|
|
67571
|
-
const s = _(_({},
|
|
67548
|
+
const s = _(_({}, l_), i), r = (i == null ? void 0 : i.fireSize) || 1, o = {
|
|
67572
67549
|
id: t,
|
|
67573
67550
|
positions: e,
|
|
67574
67551
|
config: s,
|
|
@@ -67764,7 +67741,7 @@ class d_ {
|
|
|
67764
67741
|
});
|
|
67765
67742
|
}
|
|
67766
67743
|
}
|
|
67767
|
-
class
|
|
67744
|
+
class d_ {
|
|
67768
67745
|
constructor(t, e, i) {
|
|
67769
67746
|
f(this, "scene");
|
|
67770
67747
|
f(this, "config");
|
|
@@ -67890,13 +67867,13 @@ class f_ {
|
|
|
67890
67867
|
this.clearAll(), this.unsubscribeTexture();
|
|
67891
67868
|
}
|
|
67892
67869
|
}
|
|
67893
|
-
class
|
|
67870
|
+
class f_ {
|
|
67894
67871
|
constructor(t, e, i) {
|
|
67895
67872
|
f(this, "sources", /* @__PURE__ */ new Map());
|
|
67896
67873
|
/** 正在扩散的烟雾源,key = 主源 id */
|
|
67897
67874
|
f(this, "spreads", /* @__PURE__ */ new Map());
|
|
67898
67875
|
f(this, "normalSmoke");
|
|
67899
|
-
this.normalSmoke = new
|
|
67876
|
+
this.normalSmoke = new d_(t, e, i);
|
|
67900
67877
|
}
|
|
67901
67878
|
/**
|
|
67902
67879
|
* 添加烟雾源
|
|
@@ -68015,7 +67992,7 @@ class p_ {
|
|
|
68015
67992
|
return this.sources.size;
|
|
68016
67993
|
}
|
|
68017
67994
|
}
|
|
68018
|
-
const
|
|
67995
|
+
const p_ = 1e3, m_ = (n, t, e) => {
|
|
68019
67996
|
const { volume: i, diagonal: s } = Pw(n), { interval: r, growthRate: o } = Cw(e), a = Math.max(4, Math.min(24, Math.round(i * 0.35))), l = Math.max(0.5, Math.min(2, t));
|
|
68020
67997
|
return {
|
|
68021
67998
|
bounds: n,
|
|
@@ -68024,11 +68001,11 @@ const m_ = 1e3, g_ = (n, t, e) => {
|
|
|
68024
68001
|
spreadRange: s * 0.7,
|
|
68025
68002
|
maxAdditional: Math.round(a / l),
|
|
68026
68003
|
intensity: t,
|
|
68027
|
-
fadeInMs:
|
|
68004
|
+
fadeInMs: p_,
|
|
68028
68005
|
cell: Math.max(0.5, s / 8)
|
|
68029
68006
|
};
|
|
68030
68007
|
};
|
|
68031
|
-
function
|
|
68008
|
+
function g_() {
|
|
68032
68009
|
const n = /* @__PURE__ */ new Map();
|
|
68033
68010
|
return { load: function(i) {
|
|
68034
68011
|
if (n.has(i))
|
|
@@ -68039,9 +68016,9 @@ function v_() {
|
|
|
68039
68016
|
n.forEach((i) => i.then((s) => s.dispose())), n.clear();
|
|
68040
68017
|
} };
|
|
68041
68018
|
}
|
|
68042
|
-
class
|
|
68019
|
+
class v_ {
|
|
68043
68020
|
constructor() {
|
|
68044
|
-
f(this, "loader",
|
|
68021
|
+
f(this, "loader", g_());
|
|
68045
68022
|
f(this, "url", "");
|
|
68046
68023
|
f(this, "texture", null);
|
|
68047
68024
|
f(this, "listeners", /* @__PURE__ */ new Set());
|
|
@@ -68070,12 +68047,12 @@ class y_ {
|
|
|
68070
68047
|
this.listeners.forEach((t) => t(this.texture));
|
|
68071
68048
|
}
|
|
68072
68049
|
}
|
|
68073
|
-
const
|
|
68050
|
+
const y_ = {
|
|
68074
68051
|
densityMultiplier: 0.2,
|
|
68075
68052
|
heightOffset: 0.2,
|
|
68076
68053
|
spreadMultiplier: 4.5
|
|
68077
68054
|
}, Zo = (n) => y.MathUtils.clamp(n, A1.min, A1.max);
|
|
68078
|
-
class
|
|
68055
|
+
class hF {
|
|
68079
68056
|
constructor(t) {
|
|
68080
68057
|
f(this, "five");
|
|
68081
68058
|
f(this, "fireManager", null);
|
|
@@ -68089,7 +68066,7 @@ class uF {
|
|
|
68089
68066
|
/** 消防员加载代次,用于丢弃加载期间已经失效的结果 */
|
|
68090
68067
|
f(this, "firefighterTokens", /* @__PURE__ */ new Map());
|
|
68091
68068
|
/** 粒子贴图 */
|
|
68092
|
-
f(this, "particleTexture", new
|
|
68069
|
+
f(this, "particleTexture", new v_());
|
|
68093
68070
|
f(this, "unsubscribeTexture");
|
|
68094
68071
|
f(this, "resourceConfig", {
|
|
68095
68072
|
waterGunModelUrl: "",
|
|
@@ -68148,7 +68125,7 @@ class uF {
|
|
|
68148
68125
|
if (!s || !this.fireManager)
|
|
68149
68126
|
return;
|
|
68150
68127
|
const r = (a = i == null ? void 0 : i.spreadSpeed) != null ? a : 1, o = this.toWorldBounds(e);
|
|
68151
|
-
s.spreadBounds = e, s.spreadSpeed = r, this.fireManager.updateFireConfig(t, ae(_({},
|
|
68128
|
+
s.spreadBounds = e, s.spreadSpeed = r, this.fireManager.updateFireConfig(t, ae(_({}, c_(o, s.size, r)), {
|
|
68152
68129
|
fireSize: s.size
|
|
68153
68130
|
})), this.five.needsRender = !0;
|
|
68154
68131
|
}
|
|
@@ -68213,7 +68190,7 @@ class uF {
|
|
|
68213
68190
|
if (!s || !r)
|
|
68214
68191
|
return;
|
|
68215
68192
|
const o = this.toWorldBounds(e), a = r.getSourceIntensity(t);
|
|
68216
|
-
r.spreadSmoke(t,
|
|
68193
|
+
r.spreadSmoke(t, m_(o, a, (l = i == null ? void 0 : i.spreadSpeed) != null ? l : 1));
|
|
68217
68194
|
}
|
|
68218
68195
|
/**
|
|
68219
68196
|
* 移动烟雾。
|
|
@@ -68343,13 +68320,13 @@ class uF {
|
|
|
68343
68320
|
* 创建火焰管理器。
|
|
68344
68321
|
*/
|
|
68345
68322
|
ensureFireManager() {
|
|
68346
|
-
return this.fireManager ? this.fireManager : (this.ensureParticleTexture(), this.fireManager = new
|
|
68323
|
+
return this.fireManager ? this.fireManager : (this.ensureParticleTexture(), this.fireManager = new u_(this.five.scene, this.particleTexture), this.fireManager);
|
|
68347
68324
|
}
|
|
68348
68325
|
/**
|
|
68349
68326
|
* 创建烟雾管理器。
|
|
68350
68327
|
*/
|
|
68351
68328
|
ensureSmokeManager() {
|
|
68352
|
-
return this.smokeManager ? this.smokeManager : (this.ensureParticleTexture(), this.smokeManager = new
|
|
68329
|
+
return this.smokeManager ? this.smokeManager : (this.ensureParticleTexture(), this.smokeManager = new f_(this.five.scene, y_, this.particleTexture), this.smokeManager);
|
|
68353
68330
|
}
|
|
68354
68331
|
ensureParticleTexture() {
|
|
68355
68332
|
if (!this.resourceConfig.particleTextureUrl)
|
|
@@ -68402,7 +68379,7 @@ class uF {
|
|
|
68402
68379
|
return e.name = `${t}_water`, e.rotation.set(0, Math.PI * 1.05, 0), e.position.set(0.05, 1.25, 1.5), e;
|
|
68403
68380
|
}
|
|
68404
68381
|
}
|
|
68405
|
-
const
|
|
68382
|
+
const b_ = [
|
|
68406
68383
|
[-0.5, -0.5, -0.5],
|
|
68407
68384
|
[0.5, -0.5, -0.5],
|
|
68408
68385
|
[0.5, -0.5, 0.5],
|
|
@@ -68412,21 +68389,21 @@ const A_ = [
|
|
|
68412
68389
|
[0.5, 0.5, 0.5],
|
|
68413
68390
|
[-0.5, 0.5, 0.5]
|
|
68414
68391
|
];
|
|
68415
|
-
function
|
|
68392
|
+
function A_(n) {
|
|
68416
68393
|
const t = new y.Matrix4().fromArray(n);
|
|
68417
|
-
return
|
|
68394
|
+
return b_.map((e) => new y.Vector3(...e).applyMatrix4(t));
|
|
68418
68395
|
}
|
|
68419
|
-
function
|
|
68420
|
-
return new y.Box3().setFromPoints(
|
|
68396
|
+
function w_(n) {
|
|
68397
|
+
return new y.Box3().setFromPoints(A_(n));
|
|
68421
68398
|
}
|
|
68422
|
-
function
|
|
68399
|
+
function uF(n) {
|
|
68423
68400
|
var s, r, o, a;
|
|
68424
68401
|
if (!n)
|
|
68425
68402
|
return;
|
|
68426
68403
|
const t = (s = n.ignite_sequences) == null ? void 0 : s[0], e = t && ((r = n.models) == null ? void 0 : r.find((l) => l.id === t.model_id));
|
|
68427
68404
|
return (e == null ? void 0 : e.area_id) && ((o = n.areas) == null ? void 0 : o.find((l) => l.id === e.area_id)) || ((a = n.areas) == null ? void 0 : a[0]);
|
|
68428
68405
|
}
|
|
68429
|
-
class
|
|
68406
|
+
class dF {
|
|
68430
68407
|
constructor(t, e, i) {
|
|
68431
68408
|
f(this, "fireControl");
|
|
68432
68409
|
f(this, "config");
|
|
@@ -68493,7 +68470,7 @@ class fF {
|
|
|
68493
68470
|
const e = this.config.areas.find((s) => s.id === t.area_id);
|
|
68494
68471
|
if (!e)
|
|
68495
68472
|
return;
|
|
68496
|
-
const i =
|
|
68473
|
+
const i = w_(e.matrix);
|
|
68497
68474
|
return [i.min.x, i.min.y, i.min.z, i.max.x, i.max.y, i.max.z];
|
|
68498
68475
|
}
|
|
68499
68476
|
/** 执行一段动画 */
|
|
@@ -68531,7 +68508,7 @@ class fF {
|
|
|
68531
68508
|
return this.fireControl.focusEntity(i.id), i;
|
|
68532
68509
|
}
|
|
68533
68510
|
}
|
|
68534
|
-
const
|
|
68511
|
+
const P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68535
68512
|
__proto__: null,
|
|
68536
68513
|
BaseEditor: Kc,
|
|
68537
68514
|
BoxMesh: Uu,
|
|
@@ -68544,7 +68521,7 @@ const C_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
68544
68521
|
LineMesh: Pi,
|
|
68545
68522
|
PointMesh: vn,
|
|
68546
68523
|
PolygonMesh: Co,
|
|
68547
|
-
PrismMesh:
|
|
68524
|
+
PrismMesh: or,
|
|
68548
68525
|
PrismMeshEditor: BA,
|
|
68549
68526
|
RectangleMesh: Tf,
|
|
68550
68527
|
RectangleMeshEditor: NA,
|
|
@@ -68559,10 +68536,10 @@ const C_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
68559
68536
|
createRectangle: Df,
|
|
68560
68537
|
transformUnit: G1,
|
|
68561
68538
|
transformUnitSquare: W1
|
|
68562
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
68539
|
+
}, Symbol.toStringTag, { value: "Module" })), fF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68563
68540
|
__proto__: null,
|
|
68564
68541
|
ANIME_PRESETS: My,
|
|
68565
|
-
BetterTween:
|
|
68542
|
+
BetterTween: lr,
|
|
68566
68543
|
CURRENT_PANO_IMAGE_DEFAULT_IMAGE: Td,
|
|
68567
68544
|
DEFAULT_ANIME_CONFIG: Pd,
|
|
68568
68545
|
DEFAULT_STATIC_PREFIX: jc,
|
|
@@ -68594,7 +68571,7 @@ const C_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
68594
68571
|
blink: zc,
|
|
68595
68572
|
blinkWithPreset: lP,
|
|
68596
68573
|
bounding: ud,
|
|
68597
|
-
boundingBox:
|
|
68574
|
+
boundingBox: gr,
|
|
68598
68575
|
boundingSphere: ny,
|
|
68599
68576
|
boxVertex: fs,
|
|
68600
68577
|
boxVertexes: I3,
|
|
@@ -68624,7 +68601,7 @@ const C_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
68624
68601
|
reblink: xy,
|
|
68625
68602
|
replaceStaticPrefix: qi,
|
|
68626
68603
|
requestAnimationFrameInterval: Ao,
|
|
68627
|
-
sculpt:
|
|
68604
|
+
sculpt: P_,
|
|
68628
68605
|
tag: B1,
|
|
68629
68606
|
triangleArea: Ba,
|
|
68630
68607
|
triangleCenter: Md,
|
|
@@ -68729,7 +68706,7 @@ class iu extends Bi {
|
|
|
68729
68706
|
}), e.edgeSnapOptions);
|
|
68730
68707
|
}
|
|
68731
68708
|
}
|
|
68732
|
-
class
|
|
68709
|
+
class C_ extends Sb {
|
|
68733
68710
|
constructor(e) {
|
|
68734
68711
|
var i;
|
|
68735
68712
|
super(e);
|
|
@@ -68754,7 +68731,7 @@ class M_ extends Sb {
|
|
|
68754
68731
|
this.selector.dispose(), super.dispose();
|
|
68755
68732
|
}
|
|
68756
68733
|
}
|
|
68757
|
-
class
|
|
68734
|
+
class Ns extends ps {
|
|
68758
68735
|
refreshPoint() {
|
|
68759
68736
|
this.rangePieceController.refresh();
|
|
68760
68737
|
}
|
|
@@ -68765,7 +68742,7 @@ class Hs extends ps {
|
|
|
68765
68742
|
return this.rangePieceController.selector;
|
|
68766
68743
|
}
|
|
68767
68744
|
createRangePieceController(t) {
|
|
68768
|
-
return new
|
|
68745
|
+
return new C_(t);
|
|
68769
68746
|
}
|
|
68770
68747
|
}
|
|
68771
68748
|
class E1 extends dc {
|
|
@@ -68786,7 +68763,7 @@ class E1 extends dc {
|
|
|
68786
68763
|
this.selector.dispose(), super.dispose();
|
|
68787
68764
|
}
|
|
68788
68765
|
}
|
|
68789
|
-
class
|
|
68766
|
+
class M_ extends Rb {
|
|
68790
68767
|
constructor(e, i = {}) {
|
|
68791
68768
|
var o, a, l, c, h, u, d, p, m, g, v, b, w;
|
|
68792
68769
|
const s = (a = (o = i.openParams) == null ? void 0 : o.isMobile) != null ? a : Sc, r = ae(_({}, i), {
|
|
@@ -68809,7 +68786,7 @@ class E_ extends Rb {
|
|
|
68809
68786
|
}
|
|
68810
68787
|
get pointSelector() {
|
|
68811
68788
|
const e = this.controller;
|
|
68812
|
-
return e instanceof iu || e instanceof
|
|
68789
|
+
return e instanceof iu || e instanceof Ns || e instanceof E1 ? e.selector : void 0;
|
|
68813
68790
|
}
|
|
68814
68791
|
get lastEdgeSnapEdgeCount() {
|
|
68815
68792
|
var e, i;
|
|
@@ -68820,10 +68797,10 @@ class E_ extends Rb {
|
|
|
68820
68797
|
}
|
|
68821
68798
|
setEdgeSnapEnabled(e) {
|
|
68822
68799
|
var i, s;
|
|
68823
|
-
this.edgeSnapOptions.enabled = e, (i = this.pointSelector) == null || i.resetSnap(), this.controller instanceof
|
|
68800
|
+
this.edgeSnapOptions.enabled = e, (i = this.pointSelector) == null || i.resetSnap(), this.controller instanceof Ns ? this.controller.refreshPoint() : (s = this.pointSelector) == null || s.refresh(), this.five.needsRender = !0;
|
|
68824
68801
|
}
|
|
68825
68802
|
clear() {
|
|
68826
|
-
const e = this.controller instanceof iu ? Bi : this.controller instanceof
|
|
68803
|
+
const e = this.controller instanceof iu ? Bi : this.controller instanceof Ns ? ps : void 0;
|
|
68827
68804
|
if (e) {
|
|
68828
68805
|
const i = e === Bi ? "Edit" : "Mixed";
|
|
68829
68806
|
this.controller.dispose(), super.clear(), this.controller = this.createModeController(this.createControllerParams(), e), this.hooks.emit("modeChange", i), this.resetUIController();
|
|
@@ -68836,7 +68813,7 @@ class E_ extends Rb {
|
|
|
68836
68813
|
}
|
|
68837
68814
|
save(e) {
|
|
68838
68815
|
var i;
|
|
68839
|
-
if (this.controller instanceof
|
|
68816
|
+
if (this.controller instanceof Ns) {
|
|
68840
68817
|
const s = this.controller.model;
|
|
68841
68818
|
for (const r of (i = this.mixedSavedPolylineIDs.get(this.controller)) != null ? i : [])
|
|
68842
68819
|
s.getPolylineByID(r) || this.removePolylineByID(r);
|
|
@@ -68848,11 +68825,11 @@ class E_ extends Rb {
|
|
|
68848
68825
|
}
|
|
68849
68826
|
removePolylineByID(e) {
|
|
68850
68827
|
var s;
|
|
68851
|
-
const i = (s = this.model.getPolylineByID(e)) != null ? s : this.controller instanceof
|
|
68828
|
+
const i = (s = this.model.getPolylineByID(e)) != null ? s : this.controller instanceof Ns ? this.controller.model.getPolylineByID(e) : void 0;
|
|
68852
68829
|
i && this.removePolyline(i);
|
|
68853
68830
|
}
|
|
68854
68831
|
removePolyline(e) {
|
|
68855
|
-
if (this.controller instanceof
|
|
68832
|
+
if (this.controller instanceof Ns) {
|
|
68856
68833
|
const i = this.controller.model.getPolylineByID(e.id);
|
|
68857
68834
|
i && this.controller.model.removePolyline(i);
|
|
68858
68835
|
}
|
|
@@ -68879,100 +68856,100 @@ class E_ extends Rb {
|
|
|
68879
68856
|
createModeController(e, i) {
|
|
68880
68857
|
this.magnifierReady || (this.magnifier.dispose(), this.magnifier = new id(e.five, this.magnifierOptions), this.magnifierReady = !0, e = ae(_({}, e), { magnifier: this.magnifier }));
|
|
68881
68858
|
const s = ae(_({}, e), { edgeSnapOptions: this.edgeSnapOptions });
|
|
68882
|
-
return i === Bi ? new iu(s) : i === ps ? new
|
|
68859
|
+
return i === Bi ? new iu(s) : i === ps ? new Ns(s) : i === dc ? new E1(s) : super.createModeController(e, i);
|
|
68883
68860
|
}
|
|
68884
68861
|
}
|
|
68885
|
-
const
|
|
68862
|
+
const pF = (n, t = {}) => new M_(n, t);
|
|
68886
68863
|
f2();
|
|
68887
68864
|
d2();
|
|
68888
68865
|
export {
|
|
68889
|
-
|
|
68890
|
-
|
|
68866
|
+
qs as AnimationScriptAdapterSafetyError,
|
|
68867
|
+
sF as AreaMakerPlugin,
|
|
68891
68868
|
va as CSS3DRender,
|
|
68892
68869
|
Oc as CSS3DRenderPlugin,
|
|
68893
68870
|
MI as CameraMovementEffect,
|
|
68894
|
-
|
|
68871
|
+
dj as CameraMovementPlugin,
|
|
68895
68872
|
Nk as ContentType,
|
|
68896
|
-
|
|
68873
|
+
Jj as CruisePlugin,
|
|
68897
68874
|
zf as CruisePluginController,
|
|
68898
|
-
|
|
68899
|
-
|
|
68875
|
+
qj as CruisePluginTypes,
|
|
68876
|
+
rF as CurrentPanoImagePlugin,
|
|
68900
68877
|
Ac as DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH,
|
|
68901
68878
|
ea as DIRECTION,
|
|
68902
68879
|
Gr as DISPLAY_STRATEGY_TYPE,
|
|
68903
|
-
|
|
68880
|
+
rR as DigitalHuman,
|
|
68904
68881
|
Rf as DigitalPerformanceNameplate,
|
|
68905
|
-
|
|
68906
|
-
|
|
68882
|
+
lF as DigitalPerformancePlugin,
|
|
68883
|
+
cF as DigitalPerformanceV2,
|
|
68907
68884
|
hw as DigitalPlayground,
|
|
68908
|
-
|
|
68885
|
+
iR as DigitalStateMachine,
|
|
68909
68886
|
Hk as DimensionType,
|
|
68910
68887
|
y1 as FIRE_ACTION_DURATION_MS,
|
|
68911
68888
|
b1 as FIRE_SPREAD_SPEED,
|
|
68912
|
-
|
|
68913
|
-
|
|
68914
|
-
|
|
68915
|
-
|
|
68916
|
-
|
|
68917
|
-
|
|
68918
|
-
|
|
68889
|
+
ir as FLOOR_PLAN_ATTACHED_TO,
|
|
68890
|
+
lj as FLOOR_TYPE_MAP,
|
|
68891
|
+
hF as FireControl,
|
|
68892
|
+
dF as FireScenePlayer,
|
|
68893
|
+
oj as FloorplanGuidePlugin,
|
|
68894
|
+
Yj as GuideLineItem,
|
|
68895
|
+
Xj as GuideLineModeItem,
|
|
68919
68896
|
sw as GuideLinePlugin,
|
|
68920
68897
|
Wr as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
68921
|
-
|
|
68898
|
+
Dj as ItemLabelPlugin,
|
|
68922
68899
|
A1 as MODEL_SCALE_RANGE,
|
|
68923
68900
|
uw as MOVEMENT_OCCURRENCE_EPSILON,
|
|
68924
68901
|
ms as MOVEMENT_POSITION_EPSILON,
|
|
68925
|
-
|
|
68902
|
+
hR as MOVEMENT_SCHEMA_VERSION,
|
|
68926
68903
|
xc as Magnifier,
|
|
68927
|
-
|
|
68928
|
-
|
|
68929
|
-
|
|
68930
|
-
|
|
68931
|
-
|
|
68932
|
-
|
|
68933
|
-
|
|
68934
|
-
|
|
68935
|
-
|
|
68936
|
-
|
|
68937
|
-
|
|
68904
|
+
q_ as MapviewFloorplanPlugin,
|
|
68905
|
+
wj as MeasurePlugin,
|
|
68906
|
+
Pj as MeasureV2,
|
|
68907
|
+
hj as ModelChassisCompassPlugin,
|
|
68908
|
+
uj as ModelEntryDoorGuidePlugin,
|
|
68909
|
+
Y_ as ModelFloorplanPlugin,
|
|
68910
|
+
xj as ModelItemLabelPlugin,
|
|
68911
|
+
aF as ModelMakerPlugin,
|
|
68912
|
+
B_ as ModelRoomLabelPlugin,
|
|
68913
|
+
kj as ModelTVVideoPlugin,
|
|
68914
|
+
__ as ModelViewPlugin,
|
|
68938
68915
|
tw as MoveController,
|
|
68939
|
-
|
|
68916
|
+
Kj as MovePlugin,
|
|
68940
68917
|
RA as Object3DHelperController,
|
|
68941
|
-
|
|
68918
|
+
Hj as Object3DHelperPlugin,
|
|
68942
68919
|
xf as PLUGIN,
|
|
68943
|
-
|
|
68920
|
+
L_ as PaintBrush,
|
|
68944
68921
|
hs as PaintBrushTypeEnum,
|
|
68945
|
-
|
|
68946
|
-
|
|
68947
|
-
|
|
68948
|
-
|
|
68949
|
-
|
|
68950
|
-
|
|
68922
|
+
gj as PanoCompassPlugin,
|
|
68923
|
+
j_ as PanoCursorRaycasterPlugin,
|
|
68924
|
+
zj as PanoDoorLabelPlugin,
|
|
68925
|
+
sj as PanoFloorplanRadarPlugin,
|
|
68926
|
+
M_ as PanoMeasureControllerV2,
|
|
68927
|
+
Aj as PanoMeasurePlugin,
|
|
68951
68928
|
po as PanoMeasurePluginLine,
|
|
68952
68929
|
Ib as PanoMeasurePluginModel,
|
|
68953
68930
|
Ni as PanoMeasurePluginPoint,
|
|
68954
68931
|
mo as PanoMeasurePluginPolyline,
|
|
68955
|
-
|
|
68956
|
-
|
|
68957
|
-
|
|
68958
|
-
|
|
68959
|
-
|
|
68960
|
-
|
|
68932
|
+
pF as PanoMeasurePluginV2,
|
|
68933
|
+
oF as PanoPatchPluginController,
|
|
68934
|
+
fj as PanoRulerPlugin,
|
|
68935
|
+
mj as PanoRulerProPlugin,
|
|
68936
|
+
Mj as PanoSpatialTagPlugin,
|
|
68937
|
+
Qj as PanoTagPlugin,
|
|
68961
68938
|
Xu as PanoTagPluginController,
|
|
68962
|
-
|
|
68963
|
-
|
|
68964
|
-
|
|
68939
|
+
eF as PanoVideoPlugin,
|
|
68940
|
+
$j as PanoVideoPluginType,
|
|
68941
|
+
iF as PipelinePlugin,
|
|
68965
68942
|
Vk as PointType,
|
|
68966
|
-
|
|
68967
|
-
|
|
68943
|
+
aj as ROOM_FETILE_TYPE_MAP,
|
|
68944
|
+
cj as ROOM_TYPE_MAP,
|
|
68968
68945
|
zn as Rotation,
|
|
68969
68946
|
lt as Sculpt,
|
|
68970
|
-
|
|
68971
|
-
|
|
68972
|
-
|
|
68973
|
-
|
|
68947
|
+
Gj as SculptPlugin,
|
|
68948
|
+
Wj as SculptPluginForFive,
|
|
68949
|
+
K_ as TopviewFloorplanPlugin,
|
|
68950
|
+
fF as Util,
|
|
68974
68951
|
zf as WalkController,
|
|
68975
|
-
|
|
68952
|
+
CR as classifyMovementTrack,
|
|
68976
68953
|
ZA as createBox,
|
|
68977
68954
|
Lf as createCircle,
|
|
68978
68955
|
XA as createCylinder,
|
|
@@ -68983,18 +68960,18 @@ export {
|
|
|
68983
68960
|
VA as createPrism,
|
|
68984
68961
|
Df as createRectangle,
|
|
68985
68962
|
lA as defaultGlobalConfig,
|
|
68986
|
-
|
|
68987
|
-
|
|
68963
|
+
w_ as getAreaBox3,
|
|
68964
|
+
A_ as getAreaVertices,
|
|
68988
68965
|
fw as getEffectivePointActionDuration,
|
|
68989
|
-
|
|
68966
|
+
uF as getEntryArea,
|
|
68990
68967
|
a1 as getMovementActionDuration,
|
|
68991
68968
|
Ju as hasMovementV2Signal,
|
|
68992
68969
|
_f as isConverterSafeMovementMatrix,
|
|
68993
|
-
|
|
68994
|
-
|
|
68995
|
-
|
|
68970
|
+
Lj as itemLabelPluginServerParams,
|
|
68971
|
+
Sj as modelItemLabelPluginServerParams,
|
|
68972
|
+
V_ as modelRoomLabelPluginServerParams,
|
|
68996
68973
|
La as normalizeDigitalPerformanceName,
|
|
68997
|
-
|
|
68974
|
+
Uj as pluginFlag,
|
|
68998
68975
|
vw as transformAnimationDetailToDigitalScript,
|
|
68999
68976
|
pw as transformScriptData,
|
|
69000
68977
|
of as validatePolygon
|