@realsee/dnalogel 3.64.1 → 3.64.3
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/CHANGELOG.md +8 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
- package/dist/index.cjs.js +22 -22
- package/dist/index.js +251 -250
- package/dist/index.umd.js +22 -22
- package/docs/assets/highlight.css +42 -21
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +3 -3
- 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/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/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 +5 -5
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +6 -6
- 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.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/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/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/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/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +3 -3
- 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.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.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.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.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.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.tag.html +1 -1
- 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/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- 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/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +5 -5
- 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/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/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 +4 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +7 -7
- 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/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.EventMap.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/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/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/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.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/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +17 -17
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.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/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
- package/docs/interfaces/Util.EventHandlerConfig.html +5 -5
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.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 +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.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/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 -2
- 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/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.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/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- 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/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- 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 +1 -1
- 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/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/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/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.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/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/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/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.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.animeMap.html +1 -1
- 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/PanoMeasurePlugin/Controller/index.js +37 -37
- package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Base/index.js +60 -45
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var Xo = Math.pow, xl = (n, t, e) => t in n ? H0(n, t, { enumerable: !0, configu
|
|
|
9
9
|
for (var e of Yo(t))
|
|
10
10
|
gu.call(t, e) && xl(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
12
|
+
}, le = (n, t) => N0(n, G0(t));
|
|
13
13
|
var Sn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
@@ -43,7 +43,7 @@ import { LineGeometry as PA, LineMaterial as IA, THREE_Line2 as EA, Line as MA }
|
|
|
43
43
|
import { GLTFLoader as xA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function kA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.64.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.64.3",
|
|
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",
|
|
@@ -1647,7 +1647,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1647
1647
|
` + U + ` AT
|
|
1648
1648
|
`;
|
|
1649
1649
|
return function() {
|
|
1650
|
-
var
|
|
1650
|
+
var ce = new Error("get-stack-trace"), be = ce && ce.stack ? ce.stack.replace(/^[^\(]+?[\n$]/gm, "").replace(/^\s+at\s+/gm, "").replace(/^Object.<anonymous>\s*\(/gm, "{anonymous}()@") : "Unknown Stack Trace", Fe = t.console && (t.console.warn || t.console.log);
|
|
1651
1651
|
return Fe && Fe.call(t.console, te, be), L.apply(this, arguments);
|
|
1652
1652
|
};
|
|
1653
1653
|
}
|
|
@@ -1656,23 +1656,23 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1656
1656
|
if (j === s || j === null)
|
|
1657
1657
|
throw new TypeError("Cannot convert undefined or null to object");
|
|
1658
1658
|
for (var U = Object(j), te = 1; te < arguments.length; te++) {
|
|
1659
|
-
var
|
|
1660
|
-
if (
|
|
1661
|
-
for (var be in
|
|
1662
|
-
|
|
1659
|
+
var ce = arguments[te];
|
|
1660
|
+
if (ce !== s && ce !== null)
|
|
1661
|
+
for (var be in ce)
|
|
1662
|
+
ce.hasOwnProperty(be) && (U[be] = ce[be]);
|
|
1663
1663
|
}
|
|
1664
1664
|
return U;
|
|
1665
1665
|
} : g = Object.assign;
|
|
1666
1666
|
var m = v(function(j, U, te) {
|
|
1667
|
-
for (var
|
|
1668
|
-
(!te || te && j[
|
|
1667
|
+
for (var ce = Object.keys(U), be = 0; be < ce.length; )
|
|
1668
|
+
(!te || te && j[ce[be]] === s) && (j[ce[be]] = U[ce[be]]), be++;
|
|
1669
1669
|
return j;
|
|
1670
1670
|
}, "extend", "Use `assign`."), b = v(function(j, U) {
|
|
1671
1671
|
return m(j, U, !0);
|
|
1672
1672
|
}, "merge", "Use `assign`.");
|
|
1673
1673
|
function C(L, j, U) {
|
|
1674
|
-
var te = j.prototype,
|
|
1675
|
-
|
|
1674
|
+
var te = j.prototype, ce;
|
|
1675
|
+
ce = L.prototype = Object.create(te), ce.constructor = L, ce._super = te, U && g(ce, U);
|
|
1676
1676
|
}
|
|
1677
1677
|
function k(L, j) {
|
|
1678
1678
|
return function() {
|
|
@@ -1723,17 +1723,17 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1723
1723
|
return Array.prototype.slice.call(L, 0);
|
|
1724
1724
|
}
|
|
1725
1725
|
function x(L, j, U) {
|
|
1726
|
-
for (var te = [],
|
|
1726
|
+
for (var te = [], ce = [], be = 0; be < L.length; ) {
|
|
1727
1727
|
var Fe = j ? L[be][j] : L[be];
|
|
1728
|
-
I(
|
|
1728
|
+
I(ce, Fe) < 0 && te.push(L[be]), ce[be] = Fe, be++;
|
|
1729
1729
|
}
|
|
1730
1730
|
return U && (j ? te = te.sort(function(At, Et) {
|
|
1731
1731
|
return At[j] > Et[j];
|
|
1732
1732
|
}) : te = te.sort()), te;
|
|
1733
1733
|
}
|
|
1734
1734
|
function M(L, j) {
|
|
1735
|
-
for (var U, te,
|
|
1736
|
-
if (U = r[be], te = U ? U +
|
|
1735
|
+
for (var U, te, ce = j[0].toUpperCase() + j.slice(1), be = 0; be < r.length; ) {
|
|
1736
|
+
if (U = r[be], te = U ? U + ce : j, te in L)
|
|
1737
1737
|
return te;
|
|
1738
1738
|
be++;
|
|
1739
1739
|
}
|
|
@@ -1779,12 +1779,12 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1779
1779
|
return U ? j = U : K ? j = qi : ne ? j = wn : ee ? j = $i : j = ui, new j(L, it);
|
|
1780
1780
|
}
|
|
1781
1781
|
function it(L, j, U) {
|
|
1782
|
-
var te = U.pointers.length,
|
|
1782
|
+
var te = U.pointers.length, ce = U.changedPointers.length, be = j & se && te - ce === 0, Fe = j & (ke | pe) && te - ce === 0;
|
|
1783
1783
|
U.isFirst = !!be, U.isFinal = !!Fe, be && (L.session = {}), U.eventType = j, ft(L, U), L.emit("hammer.input", U), L.recognize(U), L.session.prevInput = U;
|
|
1784
1784
|
}
|
|
1785
1785
|
function ft(L, j) {
|
|
1786
|
-
var U = L.session, te = j.pointers,
|
|
1787
|
-
U.firstInput || (U.firstInput = si(j)),
|
|
1786
|
+
var U = L.session, te = j.pointers, ce = te.length;
|
|
1787
|
+
U.firstInput || (U.firstInput = si(j)), ce > 1 && !U.firstMultiple ? U.firstMultiple = si(j) : ce === 1 && (U.firstMultiple = !1);
|
|
1788
1788
|
var be = U.firstInput, Fe = U.firstMultiple, pt = Fe ? Fe.center : be.center, At = j.center = bi(te);
|
|
1789
1789
|
j.timeStamp = h(), j.deltaTime = j.timeStamp - be.timeStamp, j.angle = ji(pt, At), j.distance = yi(pt, At), ni(U, j), j.offsetDirection = Tt(j.deltaX, j.deltaY);
|
|
1790
1790
|
var Et = zi(j.deltaTime, j.deltaX, j.deltaY);
|
|
@@ -1793,23 +1793,23 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1793
1793
|
H(j.srcEvent.target, Ut) && (Ut = j.srcEvent.target), j.target = Ut;
|
|
1794
1794
|
}
|
|
1795
1795
|
function ni(L, j) {
|
|
1796
|
-
var U = j.center, te = L.offsetDelta || {},
|
|
1797
|
-
(j.eventType === se || be.eventType === ke) && (
|
|
1796
|
+
var U = j.center, te = L.offsetDelta || {}, ce = L.prevDelta || {}, be = L.prevInput || {};
|
|
1797
|
+
(j.eventType === se || be.eventType === ke) && (ce = L.prevDelta = {
|
|
1798
1798
|
x: be.deltaX || 0,
|
|
1799
1799
|
y: be.deltaY || 0
|
|
1800
1800
|
}, te = L.offsetDelta = {
|
|
1801
1801
|
x: U.x,
|
|
1802
1802
|
y: U.y
|
|
1803
|
-
}), j.deltaX =
|
|
1803
|
+
}), j.deltaX = ce.x + (U.x - te.x), j.deltaY = ce.y + (U.y - te.y);
|
|
1804
1804
|
}
|
|
1805
1805
|
function qn(L, j) {
|
|
1806
|
-
var U = L.lastInterval || j, te = j.timeStamp - U.timeStamp,
|
|
1806
|
+
var U = L.lastInterval || j, te = j.timeStamp - U.timeStamp, ce, be, Fe, pt;
|
|
1807
1807
|
if (j.eventType != pe && (te > Te || U.velocity === s)) {
|
|
1808
1808
|
var At = j.deltaX - U.deltaX, Et = j.deltaY - U.deltaY, Ut = zi(te, At, Et);
|
|
1809
|
-
be = Ut.x, Fe = Ut.y,
|
|
1809
|
+
be = Ut.x, Fe = Ut.y, ce = c(Ut.x) > c(Ut.y) ? Ut.x : Ut.y, pt = Tt(At, Et), L.lastInterval = j;
|
|
1810
1810
|
} else
|
|
1811
|
-
|
|
1812
|
-
j.velocity =
|
|
1811
|
+
ce = U.velocity, be = U.velocityX, Fe = U.velocityY, pt = U.direction;
|
|
1812
|
+
j.velocity = ce, j.velocityX = be, j.velocityY = Fe, j.direction = pt;
|
|
1813
1813
|
}
|
|
1814
1814
|
function si(L) {
|
|
1815
1815
|
for (var j = [], U = 0; U < L.pointers.length; )
|
|
@@ -1832,8 +1832,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1832
1832
|
x: l(L[0].clientX),
|
|
1833
1833
|
y: l(L[0].clientY)
|
|
1834
1834
|
};
|
|
1835
|
-
for (var U = 0, te = 0,
|
|
1836
|
-
U += L[
|
|
1835
|
+
for (var U = 0, te = 0, ce = 0; ce < j; )
|
|
1836
|
+
U += L[ce].clientX, te += L[ce].clientY, ce++;
|
|
1837
1837
|
return {
|
|
1838
1838
|
x: l(U / j),
|
|
1839
1839
|
y: l(te / j)
|
|
@@ -1850,13 +1850,13 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1850
1850
|
}
|
|
1851
1851
|
function yi(L, j, U) {
|
|
1852
1852
|
U || (U = st);
|
|
1853
|
-
var te = j[U[0]] - L[U[0]],
|
|
1854
|
-
return Math.sqrt(te * te +
|
|
1853
|
+
var te = j[U[0]] - L[U[0]], ce = j[U[1]] - L[U[1]];
|
|
1854
|
+
return Math.sqrt(te * te + ce * ce);
|
|
1855
1855
|
}
|
|
1856
1856
|
function ji(L, j, U) {
|
|
1857
1857
|
U || (U = st);
|
|
1858
|
-
var te = j[U[0]] - L[U[0]],
|
|
1859
|
-
return Math.atan2(
|
|
1858
|
+
var te = j[U[0]] - L[U[0]], ce = j[U[1]] - L[U[1]];
|
|
1859
|
+
return Math.atan2(ce, te) * 180 / Math.PI;
|
|
1860
1860
|
}
|
|
1861
1861
|
function Rr(L, j) {
|
|
1862
1862
|
return ji(j[1], j[0], ct) + ji(L[1], L[0], ct);
|
|
@@ -1910,7 +1910,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1910
1910
|
* @param {Object} ev
|
|
1911
1911
|
*/
|
|
1912
1912
|
handler: function(j) {
|
|
1913
|
-
var U = this.store, te = !1,
|
|
1913
|
+
var U = this.store, te = !1, ce = j.type.toLowerCase().replace("ms", ""), be = ri[ce], Fe = An[j.pointerType] || j.pointerType, pt = Fe == re, At = I(U, j.pointerId, "pointerId");
|
|
1914
1914
|
be & se && (j.button === 0 || pt) ? At < 0 && (U.push(j), At = U.length - 1) : be & (ke | pe) && (te = !0), !(At < 0) && (U[At] = j, this.callback(this.manager, be, {
|
|
1915
1915
|
pointers: U,
|
|
1916
1916
|
changedPointers: [j],
|
|
@@ -1970,14 +1970,14 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1970
1970
|
var U = w(L.touches), te = this.targetIds;
|
|
1971
1971
|
if (j & (se | Pe) && U.length === 1)
|
|
1972
1972
|
return te[U[0].identifier] = !0, [U, U];
|
|
1973
|
-
var
|
|
1973
|
+
var ce, be, Fe = w(L.changedTouches), pt = [], At = this.target;
|
|
1974
1974
|
if (be = U.filter(function(Et) {
|
|
1975
1975
|
return H(Et.target, At);
|
|
1976
1976
|
}), j === se)
|
|
1977
|
-
for (
|
|
1978
|
-
te[be[
|
|
1979
|
-
for (
|
|
1980
|
-
te[Fe[
|
|
1977
|
+
for (ce = 0; ce < be.length; )
|
|
1978
|
+
te[be[ce].identifier] = !0, ce++;
|
|
1979
|
+
for (ce = 0; ce < Fe.length; )
|
|
1980
|
+
te[Fe[ce].identifier] && pt.push(Fe[ce]), j & (ke | pe) && delete te[Fe[ce].identifier], ce++;
|
|
1981
1981
|
if (pt.length)
|
|
1982
1982
|
return [
|
|
1983
1983
|
// merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
|
|
@@ -1999,9 +1999,9 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1999
1999
|
* @param {Object} inputData
|
|
2000
2000
|
*/
|
|
2001
2001
|
handler: function(j, U, te) {
|
|
2002
|
-
var
|
|
2002
|
+
var ce = te.pointerType == re, be = te.pointerType == Oe;
|
|
2003
2003
|
if (!(be && te.sourceCapabilities && te.sourceCapabilities.firesTouchEvents)) {
|
|
2004
|
-
if (
|
|
2004
|
+
if (ce)
|
|
2005
2005
|
Pt.call(this, U, te);
|
|
2006
2006
|
else if (be && Fr.call(this, te))
|
|
2007
2007
|
return;
|
|
@@ -2023,16 +2023,16 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2023
2023
|
if (j.identifier === this.primaryTouch) {
|
|
2024
2024
|
var U = { x: j.clientX, y: j.clientY };
|
|
2025
2025
|
this.lastTouches.push(U);
|
|
2026
|
-
var te = this.lastTouches,
|
|
2026
|
+
var te = this.lastTouches, ce = function() {
|
|
2027
2027
|
var be = te.indexOf(U);
|
|
2028
2028
|
be > -1 && te.splice(be, 1);
|
|
2029
2029
|
};
|
|
2030
|
-
setTimeout(
|
|
2030
|
+
setTimeout(ce, _r);
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
function Fr(L) {
|
|
2034
2034
|
for (var j = L.srcEvent.clientX, U = L.srcEvent.clientY, te = 0; te < this.lastTouches.length; te++) {
|
|
2035
|
-
var
|
|
2035
|
+
var ce = this.lastTouches[te], be = Math.abs(j - ce.x), Fe = Math.abs(U - ce.y);
|
|
2036
2036
|
if (be <= ts && Fe <= ts)
|
|
2037
2037
|
return !0;
|
|
2038
2038
|
}
|
|
@@ -2076,13 +2076,13 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2076
2076
|
j.preventDefault();
|
|
2077
2077
|
return;
|
|
2078
2078
|
}
|
|
2079
|
-
var te = this.actions,
|
|
2080
|
-
if (
|
|
2079
|
+
var te = this.actions, ce = N(te, Ci) && !Cn[Ci], be = N(te, tn) && !Cn[tn], Fe = N(te, en) && !Cn[en];
|
|
2080
|
+
if (ce) {
|
|
2081
2081
|
var pt = L.pointers.length === 1, At = L.distance < 2, Et = L.deltaTime < 250;
|
|
2082
2082
|
if (pt && At && Et)
|
|
2083
2083
|
return;
|
|
2084
2084
|
}
|
|
2085
|
-
if (!(Fe && be) && (
|
|
2085
|
+
if (!(Fe && be) && (ce || be && U & xe || Fe && U & De))
|
|
2086
2086
|
return this.preventSrc(j);
|
|
2087
2087
|
},
|
|
2088
2088
|
/**
|
|
@@ -2189,8 +2189,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2189
2189
|
*/
|
|
2190
2190
|
emit: function(L) {
|
|
2191
2191
|
var j = this, U = this.state;
|
|
2192
|
-
function te(
|
|
2193
|
-
j.manager.emit(
|
|
2192
|
+
function te(ce) {
|
|
2193
|
+
j.manager.emit(ce, L);
|
|
2194
2194
|
}
|
|
2195
2195
|
U < Gt && te(j.options.event + Bs(U)), te(j.options.event), L.additionalEvent && te(L.additionalEvent), U >= Gt && te(j.options.event + Bs(U));
|
|
2196
2196
|
},
|
|
@@ -2296,8 +2296,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2296
2296
|
* @returns {*} State
|
|
2297
2297
|
*/
|
|
2298
2298
|
process: function(L) {
|
|
2299
|
-
var j = this.state, U = L.eventType, te = j & (Bt | Vi),
|
|
2300
|
-
return te && (U & pe || !
|
|
2299
|
+
var j = this.state, U = L.eventType, te = j & (Bt | Vi), ce = this.attrTest(L);
|
|
2300
|
+
return te && (U & pe || !ce) ? j | di : te || ce ? U & ke ? j | Gt : j & Bt ? j | Vi : Bt : vt;
|
|
2301
2301
|
}
|
|
2302
2302
|
});
|
|
2303
2303
|
function En() {
|
|
@@ -2319,8 +2319,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2319
2319
|
return L & xe && j.push(tn), L & De && j.push(en), j;
|
|
2320
2320
|
},
|
|
2321
2321
|
directionTest: function(L) {
|
|
2322
|
-
var j = this.options, U = !0, te = L.distance,
|
|
2323
|
-
return
|
|
2322
|
+
var j = this.options, U = !0, te = L.distance, ce = L.direction, be = L.deltaX, Fe = L.deltaY;
|
|
2323
|
+
return ce & j.direction || (j.direction & xe ? (ce = be === 0 ? We : be < 0 ? Ne : Se, U = be != this.pX, te = Math.abs(L.deltaX)) : (ce = Fe === 0 ? We : Fe < 0 ? Qe : ue, U = Fe != this.pY, te = Math.abs(L.deltaY))), L.direction = ce, U && te > j.threshold && ce & j.direction;
|
|
2324
2324
|
},
|
|
2325
2325
|
attrTest: function(L) {
|
|
2326
2326
|
return Wt.prototype.attrTest.call(this, L) && (this.state & Bt || !(this.state & Bt) && this.directionTest(L));
|
|
@@ -2378,8 +2378,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2378
2378
|
return [It];
|
|
2379
2379
|
},
|
|
2380
2380
|
process: function(L) {
|
|
2381
|
-
var j = this.options, U = L.pointers.length === j.pointers, te = L.distance < j.threshold,
|
|
2382
|
-
if (this._input = L, !te || !U || L.eventType & (ke | pe) && !
|
|
2381
|
+
var j = this.options, U = L.pointers.length === j.pointers, te = L.distance < j.threshold, ce = L.deltaTime > j.time;
|
|
2382
|
+
if (this._input = L, !te || !U || L.eventType & (ke | pe) && !ce)
|
|
2383
2383
|
this.reset();
|
|
2384
2384
|
else if (L.eventType & se)
|
|
2385
2385
|
this.reset(), this._timer = u(function() {
|
|
@@ -2468,10 +2468,10 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2468
2468
|
return [is];
|
|
2469
2469
|
},
|
|
2470
2470
|
process: function(L) {
|
|
2471
|
-
var j = this.options, U = L.pointers.length === j.pointers, te = L.distance < j.threshold,
|
|
2471
|
+
var j = this.options, U = L.pointers.length === j.pointers, te = L.distance < j.threshold, ce = L.deltaTime < j.time;
|
|
2472
2472
|
if (this.reset(), L.eventType & se && this.count === 0)
|
|
2473
2473
|
return this.failTimeout();
|
|
2474
|
-
if (te &&
|
|
2474
|
+
if (te && ce && U) {
|
|
2475
2475
|
if (L.eventType != ke)
|
|
2476
2476
|
return this.failTimeout();
|
|
2477
2477
|
var be = this.pTime ? L.timeStamp - this.pTime < j.interval : !0, Fe = !this.pCenter || yi(this.pCenter, L.center) < j.posThreshold;
|
|
@@ -2630,12 +2630,12 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2630
2630
|
var j = this.session;
|
|
2631
2631
|
if (!j.stopped) {
|
|
2632
2632
|
this.touchAction.preventDefaults(L);
|
|
2633
|
-
var U, te = this.recognizers,
|
|
2634
|
-
(!
|
|
2633
|
+
var U, te = this.recognizers, ce = j.curRecognizer;
|
|
2634
|
+
(!ce || ce && ce.state & Jt) && (ce = j.curRecognizer = null);
|
|
2635
2635
|
for (var be = 0; be < te.length; )
|
|
2636
2636
|
U = te[be], j.stopped !== Vs && // 1
|
|
2637
|
-
(!
|
|
2638
|
-
U.canRecognizeWith(
|
|
2637
|
+
(!ce || U == ce || // 2
|
|
2638
|
+
U.canRecognizeWith(ce)) ? U.recognize(L) : U.reset(), !ce && U.state & (Bt | Vi | Gt) && (ce = j.curRecognizer = U), be++;
|
|
2639
2639
|
}
|
|
2640
2640
|
},
|
|
2641
2641
|
/**
|
|
@@ -2733,8 +2733,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2733
2733
|
var U = L.element;
|
|
2734
2734
|
if (U.style) {
|
|
2735
2735
|
var te;
|
|
2736
|
-
p(L.options.cssProps, function(
|
|
2737
|
-
te = M(U.style, be), j ? (L.oldCssProps[te] = U.style[te], U.style[te] =
|
|
2736
|
+
p(L.options.cssProps, function(ce, be) {
|
|
2737
|
+
te = M(U.style, be), j ? (L.oldCssProps[te] = U.style[te], U.style[te] = ce) : U.style[te] = L.oldCssProps[te] || "";
|
|
2738
2738
|
}), j || (L.oldCssProps = {});
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
@@ -3287,9 +3287,9 @@ class ya extends PA {
|
|
|
3287
3287
|
}
|
|
3288
3288
|
}
|
|
3289
3289
|
function ti(n) {
|
|
3290
|
-
return !
|
|
3290
|
+
return !Be(n);
|
|
3291
3291
|
}
|
|
3292
|
-
function
|
|
3292
|
+
function Be(n) {
|
|
3293
3293
|
return n != null;
|
|
3294
3294
|
}
|
|
3295
3295
|
class hb extends IA {
|
|
@@ -3298,7 +3298,7 @@ class hb extends IA {
|
|
|
3298
3298
|
super(e);
|
|
3299
3299
|
d(this, "_three_color");
|
|
3300
3300
|
d(this, "_dashed");
|
|
3301
|
-
|
|
3301
|
+
Be(e == null ? void 0 : e.color) && (this.three_color = (i = e == null ? void 0 : e.color) != null ? i : 16777215), Object.keys(e).forEach((s) => {
|
|
3302
3302
|
["color", "dashed", "dashScale", "dashSize", "gapSize", "resolution"].includes(s) || s in this && (this[s] = e[s]);
|
|
3303
3303
|
}), Object.defineProperties(this, {
|
|
3304
3304
|
dashed: {
|
|
@@ -3641,7 +3641,7 @@ class ub extends Nm {
|
|
|
3641
3641
|
super(e);
|
|
3642
3642
|
d(this, "_three_color");
|
|
3643
3643
|
d(this, "_dashed");
|
|
3644
|
-
|
|
3644
|
+
Be(e == null ? void 0 : e.color) && (this.three_color = (i = e == null ? void 0 : e.color) != null ? i : 16777215), Object.keys(e).forEach((s) => {
|
|
3645
3645
|
["color", "dashed", "dashScale", "dashSize", "gapSize", "resolution"].includes(s) || s in this && (this[s] = e[s]);
|
|
3646
3646
|
}), Object.defineProperties(this, {
|
|
3647
3647
|
dashed: {
|
|
@@ -3693,7 +3693,7 @@ class Si extends ii {
|
|
|
3693
3693
|
opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
|
|
3694
3694
|
depthWrite: !1,
|
|
3695
3695
|
transparent: !0
|
|
3696
|
-
}, s = new hb(
|
|
3696
|
+
}, s = new hb(le(B({}, i), { dashed: !1, depthTest: !0 })), r = new ub(le(B({}, i), { dashed: !0, depthTest: !1 }));
|
|
3697
3697
|
if (this.line1 = new Su(this.geometry, s), this.line2 = new Su(this.geometry, r), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
|
|
3698
3698
|
const h = (c = this.five.renderer) == null ? void 0 : c.getSize(new y.Vector2());
|
|
3699
3699
|
h && this.setResolution(h.width, h.height);
|
|
@@ -3764,7 +3764,7 @@ class Si extends ii {
|
|
|
3764
3764
|
setPoints(e) {
|
|
3765
3765
|
if (this.points.length === 0 && e.length === 0)
|
|
3766
3766
|
return;
|
|
3767
|
-
const i = e.map(_e).filter(
|
|
3767
|
+
const i = e.map(_e).filter(Be);
|
|
3768
3768
|
if (this.points = i, i.length < 2) {
|
|
3769
3769
|
const r = new ya();
|
|
3770
3770
|
this.line1.geometry = r, this.line2.geometry = r, this.updateDomItems();
|
|
@@ -3786,11 +3786,11 @@ class Si extends ii {
|
|
|
3786
3786
|
}
|
|
3787
3787
|
setStyle(e) {
|
|
3788
3788
|
var r, o, a, l;
|
|
3789
|
-
if (this.paramsStyle = B(B({}, this.paramsStyle), e),
|
|
3789
|
+
if (this.paramsStyle = B(B({}, this.paramsStyle), e), Be(e.lineColor)) {
|
|
3790
3790
|
const c = new y.Color(e.lineColor);
|
|
3791
3791
|
this.line1.material.three_color = c, this.line2.material.three_color = c;
|
|
3792
3792
|
}
|
|
3793
|
-
|
|
3793
|
+
Be(e.lineWidth) && (this.line1.material.linewidth = e.lineWidth, this.line2.material.linewidth = e.lineWidth), Be(e.dashed) && (this.line1.material.dashed = e.dashed), Be(e.lineOpacity) && (this.line1.material.opacity = e.lineOpacity, this.line2.material.opacity = e.lineOpacity), this.updateDomItems();
|
|
3794
3794
|
const i = (o = (r = e.occlusionVisibility) != null ? r : this.paramsStyle.occlusionVisibility) != null ? o : !0, s = (l = (a = e.occlusionMode) != null ? a : this.paramsStyle.occlusionMode) != null ? l : "translucence";
|
|
3795
3795
|
i ? this.dashed ? (this.remove(this.line2), this.line1.material.dashed = !0, this.line1.material.depthTest = !1) : s === "depthTest" ? (this.remove(this.line2), this.line1.material.dashed = !1, this.line1.material.depthTest = !1) : s === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.needsRender = !0;
|
|
3796
3796
|
}
|
|
@@ -3808,7 +3808,7 @@ class Si extends ii {
|
|
|
3808
3808
|
}
|
|
3809
3809
|
}
|
|
3810
3810
|
unhighlight() {
|
|
3811
|
-
this.highlighted && (this.highlighted = !1,
|
|
3811
|
+
this.highlighted && (this.highlighted = !1, Be(this.opacityBeforeHighlight) && (this.line1.material.opacity = this.opacityBeforeHighlight, this.line2.material.opacity = this.line1.material.opacity), Be(this.colorBeforeHighlight) && (this.line1.material.three_color = this.colorBeforeHighlight, this.line2.material.three_color = this.colorBeforeHighlight), this.needsRender = !0);
|
|
3812
3812
|
}
|
|
3813
3813
|
updateDomItems() {
|
|
3814
3814
|
const e = () => {
|
|
@@ -3821,7 +3821,7 @@ class Si extends ii {
|
|
|
3821
3821
|
const i = this.points.map((s, r) => {
|
|
3822
3822
|
if (r !== 0)
|
|
3823
3823
|
return [this.points[r - 1], s];
|
|
3824
|
-
}).filter(
|
|
3824
|
+
}).filter(Be).map((s) => Ao(this, s));
|
|
3825
3825
|
i.forEach(([s, r], o) => {
|
|
3826
3826
|
var c;
|
|
3827
3827
|
const a = hi(s, r);
|
|
@@ -3832,7 +3832,7 @@ class Si extends ii {
|
|
|
3832
3832
|
const l = (h) => {
|
|
3833
3833
|
var u;
|
|
3834
3834
|
this.doms[o].__text !== h && (this.doms[o].__text = h, h instanceof HTMLElement ? (this.doms[o].container.innerHTML = "", this.doms[o].container.appendChild(h)) : h ? this.doms[o].container.innerHTML = nh(h, {
|
|
3835
|
-
style: `color: #${
|
|
3835
|
+
style: `color: #${Be((u = this.style) == null ? void 0 : u.lineColor) ? new y.Color(this.style.lineColor).getHexString() : "ffffff"}`
|
|
3836
3836
|
}) : this.doms[o].container.innerHTML = "");
|
|
3837
3837
|
};
|
|
3838
3838
|
if (this.paramsStyle.tip)
|
|
@@ -3916,7 +3916,7 @@ function gb() {
|
|
|
3916
3916
|
lineColor: 3407837,
|
|
3917
3917
|
lineOpacity: 0.7,
|
|
3918
3918
|
occlusionVisibility: !0
|
|
3919
|
-
}, i = new Si(
|
|
3919
|
+
}, i = new Si(le(B({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Si(le(B({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
|
|
3920
3920
|
return t.add(i, s), t;
|
|
3921
3921
|
}
|
|
3922
3922
|
function vb(n) {
|
|
@@ -4059,7 +4059,7 @@ function Wm(n, t = 3) {
|
|
|
4059
4059
|
function Pb(n, t) {
|
|
4060
4060
|
const s = ki(n).intersectRaycaster(t)[0];
|
|
4061
4061
|
if (s)
|
|
4062
|
-
return
|
|
4062
|
+
return le(B({}, s), { raycaster: t, isVirtual: !1 });
|
|
4063
4063
|
}
|
|
4064
4064
|
const Du = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, Ib = new y.Vector3();
|
|
4065
4065
|
function _n(n) {
|
|
@@ -4236,7 +4236,7 @@ class nl extends bt {
|
|
|
4236
4236
|
const i = Cb(this.five, e);
|
|
4237
4237
|
let s = Lo(this.five, i);
|
|
4238
4238
|
if (s) {
|
|
4239
|
-
if (this.plane && this.planeMode === "vertical" && (s =
|
|
4239
|
+
if (this.plane && this.planeMode === "vertical" && (s = le(B({}, s), {
|
|
4240
4240
|
point: this.plane.projectPoint(s.point, new y.Vector3()),
|
|
4241
4241
|
face: new y.Face3(0, 0, 0, this.plane.normal.clone()),
|
|
4242
4242
|
originalPoint: s.point.clone()
|
|
@@ -4387,7 +4387,7 @@ class nl extends bt {
|
|
|
4387
4387
|
autoFixPCPosition: this.mode === "cursor",
|
|
4388
4388
|
initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
|
|
4389
4389
|
};
|
|
4390
|
-
this.pointSelectorHelper = new Gm(this.five,
|
|
4390
|
+
this.pointSelectorHelper = new Gm(this.five, le(B({}, i == null ? void 0 : i.helper), {
|
|
4391
4391
|
magnifierParams: B(B({}, r), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams)
|
|
4392
4392
|
})), this.pointSelectorHelper.hide();
|
|
4393
4393
|
}
|
|
@@ -5794,11 +5794,11 @@ function my(n, t, e) {
|
|
|
5794
5794
|
let T = 0;
|
|
5795
5795
|
const S = v(f), V = (A) => {
|
|
5796
5796
|
const I = A.distanceTo(S), w = new y.Raycaster(A, S.clone().sub(A).normalize()), x = s.model.intersectRaycaster(w, void 0, !0)[0], M = x == null ? void 0 : x.distance;
|
|
5797
|
-
|
|
5797
|
+
Be(M) ? M > I && (T += 1) : T += 1;
|
|
5798
5798
|
}, H = i.clampPoint(S, new y.Vector3());
|
|
5799
5799
|
V(H);
|
|
5800
5800
|
const N = new y.Vector3(o.x, S.y, o.z);
|
|
5801
|
-
if (V(N),
|
|
5801
|
+
if (V(N), Be(p[T]) && f > p[T] || (p[T] = f), T === 2)
|
|
5802
5802
|
break;
|
|
5803
5803
|
f += 30;
|
|
5804
5804
|
}
|
|
@@ -5834,7 +5834,7 @@ function bg(n, t, e) {
|
|
|
5834
5834
|
const C = f(h);
|
|
5835
5835
|
if (((E) => {
|
|
5836
5836
|
const T = E.distanceTo(C), S = new y.Raycaster(E, C.clone().sub(E).normalize()), V = s.model.intersectRaycaster(S, void 0, !0)[0], H = V == null ? void 0 : V.distance;
|
|
5837
|
-
|
|
5837
|
+
Be(H) ? H > T && (b += 1) : b += 1;
|
|
5838
5838
|
})(t), u[b] = h, b === 1)
|
|
5839
5839
|
break;
|
|
5840
5840
|
h += 30;
|
|
@@ -5968,7 +5968,7 @@ class dr {
|
|
|
5968
5968
|
let a = !1, l = [];
|
|
5969
5969
|
const c = [], h = () => {
|
|
5970
5970
|
const b = o.slice(1);
|
|
5971
|
-
return b[0] ? this.notify(
|
|
5971
|
+
return b[0] ? this.notify(le(B({}, t), { object: b[0].object, intersects: b })) : !1;
|
|
5972
5972
|
};
|
|
5973
5973
|
let u = i;
|
|
5974
5974
|
for (c.push(u); u.parent; )
|
|
@@ -6537,7 +6537,7 @@ class yo {
|
|
|
6537
6537
|
s && (e ? s.add(i) : s.remove(i));
|
|
6538
6538
|
});
|
|
6539
6539
|
d(this, "createObject", (t, e) => {
|
|
6540
|
-
const i = new Xm(
|
|
6540
|
+
const i = new Xm(le(B({ cornerPoints: t }, e), { style: e.wrapperStyle }));
|
|
6541
6541
|
return i.element.classList.add(`${yc}__container`), i.element.id = `${yc}__container--${i.uuid}`, i;
|
|
6542
6542
|
});
|
|
6543
6543
|
t && this.setScene(t);
|
|
@@ -6741,7 +6741,7 @@ let zy = class extends yo {
|
|
|
6741
6741
|
return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
6742
6742
|
})(), { autoRender: r } = s;
|
|
6743
6743
|
s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
|
|
6744
|
-
const o = this.create3DElement(this.five.camera, e,
|
|
6744
|
+
const o = this.create3DElement(this.five.camera, e, le(B({}, s), { autoRender: !1 }));
|
|
6745
6745
|
if (!o)
|
|
6746
6746
|
return;
|
|
6747
6747
|
const a = o.dispose;
|
|
@@ -6755,7 +6755,7 @@ let zy = class extends yo {
|
|
|
6755
6755
|
}, c = () => {
|
|
6756
6756
|
o.css3DObject.mode === "front" && l(), o.css3DObject.mode === "behind" && li(this.five).then(() => l());
|
|
6757
6757
|
};
|
|
6758
|
-
return r && c(),
|
|
6758
|
+
return r && c(), le(B({}, o), { render: r ? void 0 : c });
|
|
6759
6759
|
});
|
|
6760
6760
|
this.five = e;
|
|
6761
6761
|
}
|
|
@@ -7007,7 +7007,7 @@ function He(n) {
|
|
|
7007
7007
|
function ae() {
|
|
7008
7008
|
return He(" ");
|
|
7009
7009
|
}
|
|
7010
|
-
function
|
|
7010
|
+
function Re() {
|
|
7011
7011
|
return He("");
|
|
7012
7012
|
}
|
|
7013
7013
|
function je(n, t, e, i) {
|
|
@@ -7959,7 +7959,7 @@ function Uu(n, t) {
|
|
|
7959
7959
|
key: n,
|
|
7960
7960
|
first: null,
|
|
7961
7961
|
c() {
|
|
7962
|
-
e =
|
|
7962
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
7963
7963
|
},
|
|
7964
7964
|
m(r, o) {
|
|
7965
7965
|
X(r, e, o), me(i, r, o), s = !0;
|
|
@@ -8075,7 +8075,7 @@ function y1(n, t, e) {
|
|
|
8075
8075
|
}
|
|
8076
8076
|
return r.map((S) => {
|
|
8077
8077
|
const V = c(S), H = V ? h(S, C) : S.transform, N = E(S), I = r.filter((w) => w.visible && E(w) < N).length * 10;
|
|
8078
|
-
return
|
|
8078
|
+
return le(B({}, S), { visible: V, transform: H, zIndex: I });
|
|
8079
8079
|
});
|
|
8080
8080
|
}
|
|
8081
8081
|
function f() {
|
|
@@ -8498,7 +8498,7 @@ function V1(n) {
|
|
|
8498
8498
|
), i;
|
|
8499
8499
|
return {
|
|
8500
8500
|
c() {
|
|
8501
|
-
t = new ja(!1), i =
|
|
8501
|
+
t = new ja(!1), i = Re(), t.a = i;
|
|
8502
8502
|
},
|
|
8503
8503
|
m(s, r) {
|
|
8504
8504
|
t.m(e, s, r), X(s, i, r);
|
|
@@ -8526,7 +8526,7 @@ function _1(n) {
|
|
|
8526
8526
|
);
|
|
8527
8527
|
return {
|
|
8528
8528
|
c() {
|
|
8529
|
-
t = G("div"), a && a.c(), e = ae(), l && l.c(), i = ae(), c && c.c(), s =
|
|
8529
|
+
t = G("div"), a && a.c(), e = ae(), l && l.c(), i = ae(), c && c.c(), s = Re(), D(t, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), Q(
|
|
8530
8530
|
t,
|
|
8531
8531
|
"opacity",
|
|
8532
8532
|
/*level1_labelVisible*/
|
|
@@ -8987,7 +8987,7 @@ function $u(n, t) {
|
|
|
8987
8987
|
key: n,
|
|
8988
8988
|
first: null,
|
|
8989
8989
|
c() {
|
|
8990
|
-
e =
|
|
8990
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
8991
8991
|
},
|
|
8992
8992
|
m(a, l) {
|
|
8993
8993
|
X(a, e, l), me(i, a, l), s = !0;
|
|
@@ -9059,7 +9059,7 @@ function W1(n) {
|
|
|
9059
9059
|
);
|
|
9060
9060
|
return {
|
|
9061
9061
|
c() {
|
|
9062
|
-
i && i.c(), t =
|
|
9062
|
+
i && i.c(), t = Re();
|
|
9063
9063
|
},
|
|
9064
9064
|
m(s, r) {
|
|
9065
9065
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -9377,7 +9377,7 @@ function rd(n, t) {
|
|
|
9377
9377
|
key: n,
|
|
9378
9378
|
first: null,
|
|
9379
9379
|
c() {
|
|
9380
|
-
e =
|
|
9380
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
9381
9381
|
},
|
|
9382
9382
|
m(a, l) {
|
|
9383
9383
|
X(a, e, l), me(i, a, l), s = !0;
|
|
@@ -9944,7 +9944,7 @@ function bw(n, t, e) {
|
|
|
9944
9944
|
"floorIndex" in l && e(3, s = l.floorIndex), "floorplanData" in l && e(4, r = l.floorplanData);
|
|
9945
9945
|
}, n.$$.update = () => {
|
|
9946
9946
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
9947
|
-
24 && e(0, i = r.floorDatas[s].rooms.map((l) =>
|
|
9947
|
+
24 && e(0, i = r.floorDatas[s].rooms.map((l) => le(B({}, l), {
|
|
9948
9948
|
path: l.path.map((c) => Qg(c, r.bounding))
|
|
9949
9949
|
})));
|
|
9950
9950
|
}, [i, o, a, s, r];
|
|
@@ -10100,7 +10100,7 @@ function ud(n, t) {
|
|
|
10100
10100
|
key: n,
|
|
10101
10101
|
first: null,
|
|
10102
10102
|
c() {
|
|
10103
|
-
e =
|
|
10103
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
10104
10104
|
},
|
|
10105
10105
|
m(a, l) {
|
|
10106
10106
|
X(a, e, l), me(i, a, l), s = !0;
|
|
@@ -10477,7 +10477,7 @@ function _w(n) {
|
|
|
10477
10477
|
);
|
|
10478
10478
|
return {
|
|
10479
10479
|
c() {
|
|
10480
|
-
e && e.c(), t =
|
|
10480
|
+
e && e.c(), t = Re();
|
|
10481
10481
|
},
|
|
10482
10482
|
m(i, s) {
|
|
10483
10483
|
e && e.m(i, s), X(i, t, s);
|
|
@@ -10563,7 +10563,7 @@ function Gw(n) {
|
|
|
10563
10563
|
);
|
|
10564
10564
|
return {
|
|
10565
10565
|
c() {
|
|
10566
|
-
ve(t.$$.fragment), e = ae(), p && p.c(), i = ae(), ve(s.$$.fragment), r = ae(), m && m.c(), o = ae(), b && b.c(), a = ae(), C && C.c(), l = ae(), k && k.c(), c =
|
|
10566
|
+
ve(t.$$.fragment), e = ae(), p && p.c(), i = ae(), ve(s.$$.fragment), r = ae(), m && m.c(), o = ae(), b && b.c(), a = ae(), C && C.c(), l = ae(), k && k.c(), c = Re();
|
|
10567
10567
|
},
|
|
10568
10568
|
m(E, T) {
|
|
10569
10569
|
me(t, E, T), X(E, e, T), p && p.m(E, T), X(E, i, T), me(s, E, T), X(E, r, T), m && m.m(E, T), X(E, o, T), b && b.m(E, T), X(E, a, T), C && C.m(E, T), X(E, l, T), k && k.m(E, T), X(E, c, T), h = !0;
|
|
@@ -11443,7 +11443,7 @@ function Zw(n) {
|
|
|
11443
11443
|
);
|
|
11444
11444
|
return {
|
|
11445
11445
|
c() {
|
|
11446
|
-
i && i.c(), t =
|
|
11446
|
+
i && i.c(), t = Re();
|
|
11447
11447
|
},
|
|
11448
11448
|
m(s, r) {
|
|
11449
11449
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -11647,7 +11647,7 @@ let Xn = class {
|
|
|
11647
11647
|
/**
|
|
11648
11648
|
* @realsee/dnalogel 版本号
|
|
11649
11649
|
*/
|
|
11650
|
-
d(this, "VERSION", "3.64.
|
|
11650
|
+
d(this, "VERSION", "3.64.3");
|
|
11651
11651
|
d(this, "NAME");
|
|
11652
11652
|
d(this, "five");
|
|
11653
11653
|
d(this, "workUtil");
|
|
@@ -12014,7 +12014,7 @@ let uC = class extends mn {
|
|
|
12014
12014
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
12015
12015
|
getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
|
|
12016
12016
|
getRuleDistanceText: (u) => u.toString()
|
|
12017
|
-
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
12017
|
+
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = le(B(B({}, s), r), { missingFloorConfig: o });
|
|
12018
12018
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
|
|
12019
12019
|
}
|
|
12020
12020
|
load(e, i, s = !0) {
|
|
@@ -12066,8 +12066,8 @@ let uC = class extends mn {
|
|
|
12066
12066
|
}
|
|
12067
12067
|
updateState(e, i) {
|
|
12068
12068
|
var a;
|
|
12069
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
12070
|
-
this.state =
|
|
12069
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? le(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
12070
|
+
this.state = le(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
12071
12071
|
}
|
|
12072
12072
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
12073
12073
|
*
|
|
@@ -12096,7 +12096,7 @@ let uC = class extends mn {
|
|
|
12096
12096
|
render(e) {
|
|
12097
12097
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
12098
12098
|
return;
|
|
12099
|
-
const i =
|
|
12099
|
+
const i = le(B({}, this.state.config), {
|
|
12100
12100
|
visible: this.state.visible,
|
|
12101
12101
|
duration: e != null ? e : 0,
|
|
12102
12102
|
panoIndex: this.panoIndex,
|
|
@@ -12351,7 +12351,7 @@ let pC = class extends mn {
|
|
|
12351
12351
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
12352
12352
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
12353
12353
|
getRuleDistanceText: (h) => h.toString()
|
|
12354
|
-
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
12354
|
+
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = le(B(B({}, s), r), { missingFloorConfig: o });
|
|
12355
12355
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), li(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
12356
12356
|
}
|
|
12357
12357
|
load(e, i, s = !0) {
|
|
@@ -12411,8 +12411,8 @@ let pC = class extends mn {
|
|
|
12411
12411
|
}
|
|
12412
12412
|
updateState(e, i) {
|
|
12413
12413
|
var a;
|
|
12414
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
12415
|
-
this.state =
|
|
12414
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? le(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
12415
|
+
this.state = le(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
12416
12416
|
}
|
|
12417
12417
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
12418
12418
|
*
|
|
@@ -12441,7 +12441,7 @@ let pC = class extends mn {
|
|
|
12441
12441
|
render(e) {
|
|
12442
12442
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
12443
12443
|
return;
|
|
12444
|
-
const i =
|
|
12444
|
+
const i = le(B({}, this.state.config), {
|
|
12445
12445
|
visible: this.state.visible,
|
|
12446
12446
|
duration: e != null ? e : 0,
|
|
12447
12447
|
panoIndex: this.panoIndex,
|
|
@@ -12581,7 +12581,7 @@ let mC = class extends mn {
|
|
|
12581
12581
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
12582
12582
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
12583
12583
|
getRuleDistanceText: (h) => h.toString()
|
|
12584
|
-
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
12584
|
+
}, r = i ? Ar(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = le(B(B({}, s), r), { missingFloorConfig: o });
|
|
12585
12585
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
12586
12586
|
}
|
|
12587
12587
|
load(e, i, s = !0) {
|
|
@@ -12684,8 +12684,8 @@ let mC = class extends mn {
|
|
|
12684
12684
|
}
|
|
12685
12685
|
updateState(e, i) {
|
|
12686
12686
|
var a;
|
|
12687
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
12688
|
-
this.state =
|
|
12687
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? le(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
12688
|
+
this.state = le(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
12689
12689
|
}
|
|
12690
12690
|
addEventListener() {
|
|
12691
12691
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -12715,7 +12715,7 @@ let mC = class extends mn {
|
|
|
12715
12715
|
render(e) {
|
|
12716
12716
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
12717
12717
|
return;
|
|
12718
|
-
const i =
|
|
12718
|
+
const i = le(B({}, this.state.config), {
|
|
12719
12719
|
visible: this.state.visible,
|
|
12720
12720
|
duration: e != null ? e : 0,
|
|
12721
12721
|
panoIndex: this.panoIndex,
|
|
@@ -12980,7 +12980,7 @@ function MC(n) {
|
|
|
12980
12980
|
);
|
|
12981
12981
|
return {
|
|
12982
12982
|
c() {
|
|
12983
|
-
ve(t.$$.fragment), e = ae(), ve(i.$$.fragment), s = ae(), c && c.c(), r =
|
|
12983
|
+
ve(t.$$.fragment), e = ae(), ve(i.$$.fragment), s = ae(), c && c.c(), r = Re();
|
|
12984
12984
|
},
|
|
12985
12985
|
m(h, u) {
|
|
12986
12986
|
me(t, h, u), X(h, e, u), me(i, h, u), X(h, s, u), c && c.m(h, u), X(h, r, u), o = !0;
|
|
@@ -13138,7 +13138,7 @@ function kC(n) {
|
|
|
13138
13138
|
}
|
|
13139
13139
|
return t = a(n), e = o[t] = r[t](n), {
|
|
13140
13140
|
c() {
|
|
13141
|
-
e.c(), i =
|
|
13141
|
+
e.c(), i = Re();
|
|
13142
13142
|
},
|
|
13143
13143
|
m(l, c) {
|
|
13144
13144
|
o[t].m(l, c), X(l, i, c), s = !0;
|
|
@@ -13412,7 +13412,7 @@ function LC(n) {
|
|
|
13412
13412
|
);
|
|
13413
13413
|
return {
|
|
13414
13414
|
c() {
|
|
13415
|
-
i && i.c(), t =
|
|
13415
|
+
i && i.c(), t = Re();
|
|
13416
13416
|
},
|
|
13417
13417
|
m(s, r) {
|
|
13418
13418
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -13621,7 +13621,7 @@ let jC = class extends mn {
|
|
|
13621
13621
|
}
|
|
13622
13622
|
updateState(e, i) {
|
|
13623
13623
|
const s = this.state, r = e.config ? B(B({}, s.config), e.config) : s.config;
|
|
13624
|
-
this.state =
|
|
13624
|
+
this.state = le(B(B({}, this.state), e), { config: r }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
13625
13625
|
}
|
|
13626
13626
|
render() {
|
|
13627
13627
|
if (this.disposed || !this.state.enabled)
|
|
@@ -13632,7 +13632,7 @@ let jC = class extends mn {
|
|
|
13632
13632
|
}
|
|
13633
13633
|
if (!this.data || !this.wrapper)
|
|
13634
13634
|
return;
|
|
13635
|
-
const e =
|
|
13635
|
+
const e = le(B({}, this.state.config), {
|
|
13636
13636
|
five: this.five,
|
|
13637
13637
|
floorplanData: this.data,
|
|
13638
13638
|
visible: this.state.visible,
|
|
@@ -17171,7 +17171,7 @@ class ov {
|
|
|
17171
17171
|
class EP extends ov {
|
|
17172
17172
|
constructor(e) {
|
|
17173
17173
|
var i;
|
|
17174
|
-
e.contentStyle =
|
|
17174
|
+
e.contentStyle = le(B({}, e.contentStyle), {
|
|
17175
17175
|
background: "rgba(195,195,195,0.70)",
|
|
17176
17176
|
border: "0.5px solid rgba(255,255,255,0.6)",
|
|
17177
17177
|
borderRadius: "999px"
|
|
@@ -17326,7 +17326,7 @@ let pl = class {
|
|
|
17326
17326
|
});
|
|
17327
17327
|
});
|
|
17328
17328
|
var i, s, r;
|
|
17329
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig =
|
|
17329
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = le(B({}, t.pointSelectorConfig), {
|
|
17330
17330
|
helper: B({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
|
|
17331
17331
|
}), this.container = t.container, this.isMobile = (r = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new yr(new vi([0, 0, 0]), new vi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new yr(new vi([0, 0, 0]), new vi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Kt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
17332
17332
|
const e = this.five.getElement();
|
|
@@ -17886,9 +17886,9 @@ function XP(n) {
|
|
|
17886
17886
|
}
|
|
17887
17887
|
class ZP extends ov {
|
|
17888
17888
|
constructor(e) {
|
|
17889
|
-
e.containerStyle =
|
|
17889
|
+
e.containerStyle = le(B({}, e.containerStyle), {
|
|
17890
17890
|
zIndex: "1"
|
|
17891
|
-
}), e.contentStyle =
|
|
17891
|
+
}), e.contentStyle = le(B({}, e.contentStyle), {
|
|
17892
17892
|
background: "#6386FF",
|
|
17893
17893
|
borderRadius: "2px"
|
|
17894
17894
|
});
|
|
@@ -18223,7 +18223,7 @@ class zn extends pl {
|
|
|
18223
18223
|
}
|
|
18224
18224
|
this.area.points.length >= 3 && this.pointSelector.setAdherePoints((...u) => {
|
|
18225
18225
|
var f;
|
|
18226
|
-
return [this.area.points[0], ...(f = r(...u)) != null ? f : []].filter(
|
|
18226
|
+
return [this.area.points[0], ...(f = r(...u)) != null ? f : []].filter(Be);
|
|
18227
18227
|
});
|
|
18228
18228
|
const h = (c = (l = this.editParams) == null ? void 0 : l.autoEndConfig) == null ? void 0 : c.area;
|
|
18229
18229
|
typeof h == "number" && (this.area.points.length >= h ? this.complete() : this.area.points.length === h - 1 && this.hook.emit("readyComplete")), this.hook.emit("pointsChange", this.area.points);
|
|
@@ -18333,7 +18333,7 @@ class zn extends pl {
|
|
|
18333
18333
|
const s = i.type === "area", r = Array.isArray(i) && ((o = i[0]) == null ? void 0 : o.type) === "line";
|
|
18334
18334
|
s && this.unHighlightArea(i), r && this.unHighlightLines(i);
|
|
18335
18335
|
}
|
|
18336
|
-
}).appendTo(this.container), this.pointSelector = new nl(this.five,
|
|
18336
|
+
}).appendTo(this.container), this.pointSelector = new nl(this.five, le(B({}, this.pointSelectorConfig), {
|
|
18337
18337
|
mode: this.editParams.pointSelectorMode,
|
|
18338
18338
|
helper: B({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
18339
18339
|
})), this.pointSelector.enable(), this.polyline = new wr({ model: this.model }), this.area = new Oc(void 0, {
|
|
@@ -20708,7 +20708,7 @@ function YI(n) {
|
|
|
20708
20708
|
);
|
|
20709
20709
|
return {
|
|
20710
20710
|
c() {
|
|
20711
|
-
i && i.c(), t =
|
|
20711
|
+
i && i.c(), t = Re();
|
|
20712
20712
|
},
|
|
20713
20713
|
m(s, r) {
|
|
20714
20714
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -20924,7 +20924,7 @@ class eE extends Xn {
|
|
|
20924
20924
|
this.five = e, this.hook = this.hooks, this.params = i, this.config = Ar(i, ["openParams", "magnifierParams"]), this.model = new vv(this.config), this.isMobile = (a = (o = i == null ? void 0 : i.openParams) == null ? void 0 : o.isMobile) != null ? a : !1, this.magnifier = new eh(
|
|
20925
20925
|
e,
|
|
20926
20926
|
(u = (h = i.magnifierParams) != null ? h : (c = (l = i.pointSelectorConfig) == null ? void 0 : l.helper) == null ? void 0 : c.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }
|
|
20927
|
-
), this.allowMeasureType = Array.from(new Set((p = (f = i.editParams) == null ? void 0 : f.allowMeasureType) != null ? p : ["line"])), this.currentMeasureType = (v = this.allowMeasureType[0]) != null ? v : "line", this.group = new jn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
|
|
20927
|
+
), this.allowMeasureType = Array.from(new Set((p = (f = i.editParams) == null ? void 0 : f.allowMeasureType) != null ? p : ["line"])), this.currentMeasureType = (v = this.allowMeasureType[0]) != null ? v : "line", this.group = new jn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
|
|
20928
20928
|
const s = (m = (g = i.editParams) == null ? void 0 : g.pointSelectorMode) != null ? m : Qm ? "fixed" : "cursor", r = (b = this.params.openParams) != null ? b : {};
|
|
20929
20929
|
if (this.params.useUIController !== !1) {
|
|
20930
20930
|
const C = B({
|
|
@@ -20964,7 +20964,7 @@ class eE extends Xn {
|
|
|
20964
20964
|
e.list && (i = {
|
|
20965
20965
|
polylines: e.list.map((r) => r.polyline).map((r) => {
|
|
20966
20966
|
var o;
|
|
20967
|
-
return
|
|
20967
|
+
return le(B({}, r), {
|
|
20968
20968
|
visibleFiveMode: (o = r.visibleFiveMode) != null ? o : ["Panorama"]
|
|
20969
20969
|
});
|
|
20970
20970
|
})
|
|
@@ -21117,11 +21117,11 @@ class Is extends ii {
|
|
|
21117
21117
|
size: (f = e == null ? void 0 : e.size) != null ? f : 8,
|
|
21118
21118
|
map: yf || (yf = new y.TextureLoader().load(tE)),
|
|
21119
21119
|
sizeAttenuation: !1
|
|
21120
|
-
}, a = new y.PointsMaterial(
|
|
21120
|
+
}, a = new y.PointsMaterial(le(B({}, o), {
|
|
21121
21121
|
color: (p = e == null ? void 0 : e.color) != null ? p : 16777215,
|
|
21122
21122
|
depthTest: !0,
|
|
21123
21123
|
opacity: 1
|
|
21124
|
-
})), l = new y.PointsMaterial(
|
|
21124
|
+
})), l = new y.PointsMaterial(le(B({}, o), {
|
|
21125
21125
|
size: a.size,
|
|
21126
21126
|
color: a.color,
|
|
21127
21127
|
depthWrite: !1,
|
|
@@ -21156,7 +21156,7 @@ class Is extends ii {
|
|
|
21156
21156
|
return (i = (e = window.globalModules) == null ? void 0 : e.five) != null ? i : window.$five;
|
|
21157
21157
|
}
|
|
21158
21158
|
setStyle(e) {
|
|
21159
|
-
|
|
21159
|
+
Be(e.color) && (this.fontMesh.material.setValues({ color: e.color }), this.backgroundMesh.material.setValues({ color: e.color })), Be(e.size) && (this.fontMesh.material.setValues({ side: e.size }), this.backgroundMesh.material.setValues({ side: e.size })), Be(e.occlusionVisibility) && (e.occlusionVisibility ? e.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
|
|
21160
21160
|
}
|
|
21161
21161
|
highlight() {
|
|
21162
21162
|
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * ih }));
|
|
@@ -21175,7 +21175,7 @@ class Is extends ii {
|
|
|
21175
21175
|
const i = (s) => {
|
|
21176
21176
|
var r;
|
|
21177
21177
|
this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = nh(s, {
|
|
21178
|
-
style: `color: #${
|
|
21178
|
+
style: `color: #${Be((r = this.style) == null ? void 0 : r.color) ? new y.Color(this.style.color).getHexString() : "ffffff"}`
|
|
21179
21179
|
}) : this.dom.container.innerHTML = "");
|
|
21180
21180
|
};
|
|
21181
21181
|
e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
|
|
@@ -21188,7 +21188,7 @@ class gs extends Si {
|
|
|
21188
21188
|
d(this, "pointGroup", new ii());
|
|
21189
21189
|
d(this, "_paramsStyle");
|
|
21190
21190
|
d(this, "setStyle", (e) => {
|
|
21191
|
-
super.setStyle(e), this._paramsStyle = B(B({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(
|
|
21191
|
+
super.setStyle(e), this._paramsStyle = B(B({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(le(B({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
21192
21192
|
});
|
|
21193
21193
|
d(this, "highlight", (e) => {
|
|
21194
21194
|
super.highlight(e), this.pointMeshes.forEach((i) => i.highlight());
|
|
@@ -21198,7 +21198,7 @@ class gs extends Si {
|
|
|
21198
21198
|
});
|
|
21199
21199
|
d(this, "updateEdgePointsVisibility", () => {
|
|
21200
21200
|
var e;
|
|
21201
|
-
|
|
21201
|
+
Be((e = this._paramsStyle) == null ? void 0 : e.pointVisibility) && (this.startPoint && (this.startPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.startPoint : this._paramsStyle.pointVisibility), this.endPoint && (this.endPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.endPoint : this._paramsStyle.pointVisibility));
|
|
21202
21202
|
});
|
|
21203
21203
|
this.add(this.pointGroup), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points);
|
|
21204
21204
|
}
|
|
@@ -21216,10 +21216,10 @@ class gs extends Si {
|
|
|
21216
21216
|
}
|
|
21217
21217
|
setPoints(e) {
|
|
21218
21218
|
super.setPoints(e);
|
|
21219
|
-
const i = e.map(_e).filter(
|
|
21219
|
+
const i = e.map(_e).filter(Be);
|
|
21220
21220
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
|
|
21221
21221
|
var o;
|
|
21222
|
-
const r = new Is(
|
|
21222
|
+
const r = new Is(le(B({}, this.style), { color: (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
|
|
21223
21223
|
r.position.copy(s), this.pointGroup.add(r);
|
|
21224
21224
|
}), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
21225
21225
|
}
|
|
@@ -21282,18 +21282,18 @@ class Al extends ii {
|
|
|
21282
21282
|
return this._geometry;
|
|
21283
21283
|
}
|
|
21284
21284
|
setStyle(e) {
|
|
21285
|
-
this.paramsStyle = B(B({}, this.paramsStyle), e),
|
|
21285
|
+
this.paramsStyle = B(B({}, this.paramsStyle), e), Be(e.color) && (this.meshFont.material.color.set(new y.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Be(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
|
|
21286
21286
|
}
|
|
21287
21287
|
highlight(e) {
|
|
21288
21288
|
this.highlighted || (this.highlighted = !0, e != null && e.color ? (this.colorBeforeHighlight = this.meshFont.material.color.clone(), this.meshFont.material.color.set(new y.Color(e.color).convertSRGBToLinear())) : (this.opacityBeforeHighlight = this.opacity, this.meshFont.material.opacity = this.opacity * ih, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity), this.needsRender = !0);
|
|
21289
21289
|
}
|
|
21290
21290
|
unhighlight() {
|
|
21291
|
-
this.highlighted && (this.highlighted = !1,
|
|
21291
|
+
this.highlighted && (this.highlighted = !1, Be(this.opacityBeforeHighlight) && (this.meshFont.material.opacity = this.opacityBeforeHighlight, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity), Be(this.colorBeforeHighlight) && (this.meshFont.material.color = new y.Color(this.colorBeforeHighlight)), this.needsRender = !0);
|
|
21292
21292
|
}
|
|
21293
21293
|
setOcclusionVisibility(e) {
|
|
21294
21294
|
var r, o, a;
|
|
21295
21295
|
const i = (o = (r = e.occlusionMode) != null ? r : this.paramsStyle.occlusionMode) != null ? o : "translucence", s = (a = e.occlusionVisibility) != null ? a : this.paramsStyle.occlusionVisibility;
|
|
21296
|
-
|
|
21296
|
+
Be(s) && (s ? i === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : i === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
|
|
21297
21297
|
}
|
|
21298
21298
|
}
|
|
21299
21299
|
const Gh = new y.BufferGeometry();
|
|
@@ -21322,7 +21322,7 @@ class jr extends Al {
|
|
|
21322
21322
|
return this.points.length >= 3 ? new y.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new y.Vector3(0, 0, 1);
|
|
21323
21323
|
}
|
|
21324
21324
|
get style() {
|
|
21325
|
-
return
|
|
21325
|
+
return le(B({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
|
|
21326
21326
|
}
|
|
21327
21327
|
get isBlank() {
|
|
21328
21328
|
return !!this.geometry.isBlank;
|
|
@@ -21381,7 +21381,7 @@ class jr extends Al {
|
|
|
21381
21381
|
else {
|
|
21382
21382
|
let o = i.toFixed(2) + "m²";
|
|
21383
21383
|
this._paramsStyle.lengthUnit === "mm" && (o = (i * 1e6).toFixed(0) + "mm²"), this.areaDom.container.innerHTML = nh(o, {
|
|
21384
|
-
style: `color: #${
|
|
21384
|
+
style: `color: #${Be((r = this.style) == null ? void 0 : r.color) ? new y.Color(this.style.color).getHexString() : "000000"}`
|
|
21385
21385
|
});
|
|
21386
21386
|
}
|
|
21387
21387
|
}
|
|
@@ -21868,7 +21868,7 @@ class mE extends bt {
|
|
|
21868
21868
|
d(this, "measure", () => {
|
|
21869
21869
|
const e = new iE();
|
|
21870
21870
|
this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
|
|
21871
|
-
const i = new Is(), s = new gs(
|
|
21871
|
+
const i = new Is(), s = new gs(le(B({}, xa), { dashed: !0 })), r = new jr(Lv), o = new gs(le(B({}, xa), { lineOpacity: 0.5, dashed: !0 })), a = new gs(le(B({}, xa), { lineOpacity: 0.5, dashed: !0 }));
|
|
21872
21872
|
this.group.add(e);
|
|
21873
21873
|
const l = (u) => {
|
|
21874
21874
|
if (!u) {
|
|
@@ -22054,7 +22054,7 @@ function vE(n) {
|
|
|
22054
22054
|
c() {
|
|
22055
22055
|
for (let s = 0; s < i.length; s += 1)
|
|
22056
22056
|
i[s].c();
|
|
22057
|
-
t =
|
|
22057
|
+
t = Re();
|
|
22058
22058
|
},
|
|
22059
22059
|
m(s, r) {
|
|
22060
22060
|
for (let o = 0; o < i.length; o += 1)
|
|
@@ -22822,7 +22822,7 @@ function Lf(n, t) {
|
|
|
22822
22822
|
key: n,
|
|
22823
22823
|
first: null,
|
|
22824
22824
|
c() {
|
|
22825
|
-
e =
|
|
22825
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
22826
22826
|
},
|
|
22827
22827
|
m(r, o) {
|
|
22828
22828
|
X(r, e, o), me(i, r, o), s = !0;
|
|
@@ -22945,10 +22945,10 @@ function VE(n, t, e) {
|
|
|
22945
22945
|
const O = M.map((_) => {
|
|
22946
22946
|
const q = b(x, _), ee = _.name.length * RE, K = E(_.modelPosition[1], c), re = (o ? m(x, _) : !0) && !k([q[0], q[1] + K], ee);
|
|
22947
22947
|
if (!re)
|
|
22948
|
-
return
|
|
22948
|
+
return le(B({}, _), { visible: re });
|
|
22949
22949
|
v.push(q);
|
|
22950
22950
|
const de = C(q);
|
|
22951
|
-
return
|
|
22951
|
+
return le(B({}, _), {
|
|
22952
22952
|
visible: re,
|
|
22953
22953
|
transform: de,
|
|
22954
22954
|
strokeLength: K
|
|
@@ -22959,7 +22959,7 @@ function VE(n, t, e) {
|
|
|
22959
22959
|
})).sort((_, q) => _.distance - q.distance);
|
|
22960
22960
|
return O.map((_) => {
|
|
22961
22961
|
const q = R.findIndex((ee) => ee.itemLabelItem.id === _.id);
|
|
22962
|
-
return q !== void 0 ?
|
|
22962
|
+
return q !== void 0 ? le(B({}, _), { zIndex: q * 10 }) : _;
|
|
22963
22963
|
});
|
|
22964
22964
|
}, S = () => {
|
|
22965
22965
|
v = [], e(1, u = T(r, u));
|
|
@@ -23559,7 +23559,7 @@ function _f(n, t) {
|
|
|
23559
23559
|
key: n,
|
|
23560
23560
|
first: null,
|
|
23561
23561
|
c() {
|
|
23562
|
-
e =
|
|
23562
|
+
e = Re(), r && r.c(), i = Re(), this.first = e;
|
|
23563
23563
|
},
|
|
23564
23564
|
m(o, a) {
|
|
23565
23565
|
X(o, e, a), r && r.m(o, a), X(o, i, a), s = !0;
|
|
@@ -23667,15 +23667,15 @@ function i2(n, t, e) {
|
|
|
23667
23667
|
}, E = (M, O) => {
|
|
23668
23668
|
const R = O.map((q) => {
|
|
23669
23669
|
if (M.state.panoIndex !== q.panoIndex)
|
|
23670
|
-
return
|
|
23670
|
+
return le(B({}, q), { visible: !1 });
|
|
23671
23671
|
const ee = k(M, q);
|
|
23672
23672
|
q.name.length * t2;
|
|
23673
23673
|
const K = qE(q.modelPosition[1], l), ne = M.currentMode === _t.Mode.Panorama ? C(new i(q.position[0], q.position[1], q.position[2])) : !0, re = r ? b(M, q) : !1, de = ne && !re;
|
|
23674
23674
|
if (!de)
|
|
23675
|
-
return
|
|
23675
|
+
return le(B({}, q), { visible: de });
|
|
23676
23676
|
g.push(ee);
|
|
23677
23677
|
const Oe = KE(ee);
|
|
23678
|
-
return
|
|
23678
|
+
return le(B({}, q), {
|
|
23679
23679
|
visible: de,
|
|
23680
23680
|
transform: Oe,
|
|
23681
23681
|
strokeLength: K
|
|
@@ -23686,7 +23686,7 @@ function i2(n, t, e) {
|
|
|
23686
23686
|
})).sort((q, ee) => q.distance - ee.distance);
|
|
23687
23687
|
return R.map((q) => {
|
|
23688
23688
|
const ee = _.findIndex((K) => K.itemLabelItem.id === q.id);
|
|
23689
|
-
return ee !== void 0 ?
|
|
23689
|
+
return ee !== void 0 ? le(B({}, q), { zIndex: ee * 10 }) : q;
|
|
23690
23690
|
});
|
|
23691
23691
|
}, T = () => {
|
|
23692
23692
|
g = [], e(1, u = E(s, u));
|
|
@@ -23728,14 +23728,14 @@ function i2(n, t, e) {
|
|
|
23728
23728
|
longitude: Math.PI + Math.atan2(ee.x, ee.z),
|
|
23729
23729
|
latitude: Math.acos(ee.y / ee.length()) - Math.PI / 2
|
|
23730
23730
|
};
|
|
23731
|
-
s.setState(
|
|
23731
|
+
s.setState(le(B({}, K), {
|
|
23732
23732
|
mode: _t.Mode.Panorama,
|
|
23733
23733
|
panoIndex: M.observerIndex
|
|
23734
23734
|
})), s.once("initAnimationEnded", () => {
|
|
23735
|
-
e(1, u = u.map((ne) =>
|
|
23735
|
+
e(1, u = u.map((ne) => le(B({}, ne), {
|
|
23736
23736
|
isFold: ne.id !== M.id
|
|
23737
23737
|
}))), s.once("cameraUpdate", () => {
|
|
23738
|
-
e(1, u = u.map((ne) =>
|
|
23738
|
+
e(1, u = u.map((ne) => le(B({}, ne), { isFold: !1 })));
|
|
23739
23739
|
});
|
|
23740
23740
|
});
|
|
23741
23741
|
}
|
|
@@ -23790,7 +23790,7 @@ class n2 extends Ce {
|
|
|
23790
23790
|
}
|
|
23791
23791
|
}
|
|
23792
23792
|
function s2(n) {
|
|
23793
|
-
return n.item_labels.map((t) =>
|
|
23793
|
+
return n.item_labels.map((t) => le(B({}, t), {
|
|
23794
23794
|
modelPosition: [t.position[0], t.position[1], t.position[2]],
|
|
23795
23795
|
observerIndex: void 0
|
|
23796
23796
|
}));
|
|
@@ -24129,7 +24129,7 @@ class m2 extends Xn {
|
|
|
24129
24129
|
toward: f2(h.rad)
|
|
24130
24130
|
});
|
|
24131
24131
|
});
|
|
24132
|
-
}), this.labelItems = this.doorLabels.map((o) =>
|
|
24132
|
+
}), this.labelItems = this.doorLabels.map((o) => le(B({}, o), {
|
|
24133
24133
|
left: 0,
|
|
24134
24134
|
top: 0,
|
|
24135
24135
|
visible: !1,
|
|
@@ -25333,7 +25333,7 @@ function Jl(n, t, e) {
|
|
|
25333
25333
|
const E = h[C];
|
|
25334
25334
|
h[C] = nt({}, l, E, ...Object.values(k), a, { _isMerged: !0 });
|
|
25335
25335
|
});
|
|
25336
|
-
const f =
|
|
25336
|
+
const f = le(B({}, c), { configWithFiveMode: h });
|
|
25337
25337
|
return Wf(f), Object.values(h).forEach((C) => Wf(C)), f._isMerged = !0, f;
|
|
25338
25338
|
}
|
|
25339
25339
|
function Uf(n) {
|
|
@@ -25784,7 +25784,7 @@ class Xh {
|
|
|
25784
25784
|
if ((() => {
|
|
25785
25785
|
var o;
|
|
25786
25786
|
const r = i();
|
|
25787
|
-
if (
|
|
25787
|
+
if (Be((o = this.fiveState) == null ? void 0 : o.panoIndex) && t.entryFromModel) {
|
|
25788
25788
|
if (mi(e) && r ? this.entryFromModel = !1 : this.entryFromModel = !0, mi(e))
|
|
25789
25789
|
return !0;
|
|
25790
25790
|
} else
|
|
@@ -25824,7 +25824,7 @@ class Xh {
|
|
|
25824
25824
|
const T = this.plugin.tags.filter(vs).map((V) => {
|
|
25825
25825
|
var H;
|
|
25826
25826
|
return (H = V.model) == null ? void 0 : H.object;
|
|
25827
|
-
}).filter(
|
|
25827
|
+
}).filter(Be), [S] = hn.intersectObjects(T, !0);
|
|
25828
25828
|
return S;
|
|
25829
25829
|
})(), b = s.distanceTo(f), C = (c = e.distanceAccuracy) != null ? c : 0.01;
|
|
25830
25830
|
v = Math.min(v != null ? v : 1 / 0, (h = m == null ? void 0 : m.distance) != null ? h : 1 / 0), v + C >= b ? o++ : a++;
|
|
@@ -25902,7 +25902,7 @@ class Xh {
|
|
|
25902
25902
|
}).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
|
|
25903
25903
|
var l, c;
|
|
25904
25904
|
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
|
|
25905
|
-
}).map((a) =>
|
|
25905
|
+
}).map((a) => le(B({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
|
|
25906
25906
|
const c = l.autoUnfold.distance;
|
|
25907
25907
|
return !(c && da(a, c) === !1);
|
|
25908
25908
|
}).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
|
|
@@ -25942,7 +25942,7 @@ class Xh {
|
|
|
25942
25942
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
25943
25943
|
if (!this.enabled)
|
|
25944
25944
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
25945
|
-
const t =
|
|
25945
|
+
const t = le(B({}, this.computeVisible()), {
|
|
25946
25946
|
tagInstance: this
|
|
25947
25947
|
});
|
|
25948
25948
|
return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
|
|
@@ -26312,7 +26312,7 @@ function vM(n) {
|
|
|
26312
26312
|
);
|
|
26313
26313
|
return {
|
|
26314
26314
|
c() {
|
|
26315
|
-
e && e.c(), t =
|
|
26315
|
+
e && e.c(), t = Re();
|
|
26316
26316
|
},
|
|
26317
26317
|
m(i, s) {
|
|
26318
26318
|
e && e.m(i, s), X(i, t, s);
|
|
@@ -26496,7 +26496,7 @@ function yM(n) {
|
|
|
26496
26496
|
);
|
|
26497
26497
|
return {
|
|
26498
26498
|
c() {
|
|
26499
|
-
e && e.c(), t =
|
|
26499
|
+
e && e.c(), t = Re();
|
|
26500
26500
|
},
|
|
26501
26501
|
m(i, s) {
|
|
26502
26502
|
e && e.m(i, s), X(i, t, s);
|
|
@@ -26680,7 +26680,7 @@ function Kf(n, t) {
|
|
|
26680
26680
|
key: n,
|
|
26681
26681
|
first: null,
|
|
26682
26682
|
c() {
|
|
26683
|
-
e =
|
|
26683
|
+
e = Re(), o.c(), i = Re(), this.first = e;
|
|
26684
26684
|
},
|
|
26685
26685
|
m(a, l) {
|
|
26686
26686
|
X(a, e, l), o.m(a, l), X(a, i, l);
|
|
@@ -26710,7 +26710,7 @@ function xM(n) {
|
|
|
26710
26710
|
c() {
|
|
26711
26711
|
for (let o = 0; o < t.length; o += 1)
|
|
26712
26712
|
t[o].c();
|
|
26713
|
-
i =
|
|
26713
|
+
i = Re();
|
|
26714
26714
|
},
|
|
26715
26715
|
m(o, a) {
|
|
26716
26716
|
for (let l = 0; l < t.length; l += 1)
|
|
@@ -26763,7 +26763,7 @@ function kM(n, t, e) {
|
|
|
26763
26763
|
return H;
|
|
26764
26764
|
}();
|
|
26765
26765
|
v = ot({
|
|
26766
|
-
targets: S.slice(0, V).filter(
|
|
26766
|
+
targets: S.slice(0, V).filter(Be),
|
|
26767
26767
|
autoplay: !1,
|
|
26768
26768
|
duration: 400,
|
|
26769
26769
|
scale: [0.7, 1],
|
|
@@ -26894,7 +26894,7 @@ function DM(n) {
|
|
|
26894
26894
|
);
|
|
26895
26895
|
return {
|
|
26896
26896
|
c() {
|
|
26897
|
-
i && i.c(), t =
|
|
26897
|
+
i && i.c(), t = Re();
|
|
26898
26898
|
},
|
|
26899
26899
|
m(s, r) {
|
|
26900
26900
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -27066,7 +27066,7 @@ function jM(n) {
|
|
|
27066
27066
|
);
|
|
27067
27067
|
return {
|
|
27068
27068
|
c() {
|
|
27069
|
-
s && s.c(), t = ae(), r && r.c(), e =
|
|
27069
|
+
s && s.c(), t = ae(), r && r.c(), e = Re();
|
|
27070
27070
|
},
|
|
27071
27071
|
m(o, a) {
|
|
27072
27072
|
s && s.m(o, a), X(o, t, a), r && r.m(o, a), X(o, e, a), i = !0;
|
|
@@ -27259,7 +27259,7 @@ function VM(n) {
|
|
|
27259
27259
|
);
|
|
27260
27260
|
return {
|
|
27261
27261
|
c() {
|
|
27262
|
-
i && i.c(), t =
|
|
27262
|
+
i && i.c(), t = Re();
|
|
27263
27263
|
},
|
|
27264
27264
|
m(s, r) {
|
|
27265
27265
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -27399,7 +27399,7 @@ function GM(n) {
|
|
|
27399
27399
|
((o = n[3]) == null ? void 0 : o.placeholder) == "string" && sp(n);
|
|
27400
27400
|
return {
|
|
27401
27401
|
c() {
|
|
27402
|
-
i && i.c(), t = ae(), s && s.c(), e =
|
|
27402
|
+
i && i.c(), t = ae(), s && s.c(), e = Re();
|
|
27403
27403
|
},
|
|
27404
27404
|
m(a, l) {
|
|
27405
27405
|
i && i.m(a, l), X(a, t, l), s && s.m(a, l), X(a, e, l);
|
|
@@ -27733,7 +27733,7 @@ function XM(n) {
|
|
|
27733
27733
|
);
|
|
27734
27734
|
return {
|
|
27735
27735
|
c() {
|
|
27736
|
-
i && i.c(), t =
|
|
27736
|
+
i && i.c(), t = Re();
|
|
27737
27737
|
},
|
|
27738
27738
|
m(s, r) {
|
|
27739
27739
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -27847,7 +27847,7 @@ function $M(n) {
|
|
|
27847
27847
|
}
|
|
27848
27848
|
return ~(t = a(n)) && (e = o[t] = r[t](n)), {
|
|
27849
27849
|
c() {
|
|
27850
|
-
e && e.c(), i =
|
|
27850
|
+
e && e.c(), i = Re();
|
|
27851
27851
|
},
|
|
27852
27852
|
m(l, c) {
|
|
27853
27853
|
~t && o[t].m(l, c), X(l, i, c), s = !0;
|
|
@@ -28622,7 +28622,7 @@ function Jx({
|
|
|
28622
28622
|
head: 0,
|
|
28623
28623
|
tail: 0
|
|
28624
28624
|
};
|
|
28625
|
-
return
|
|
28625
|
+
return le(B({}, i), {
|
|
28626
28626
|
total: i.head + i.tail
|
|
28627
28627
|
});
|
|
28628
28628
|
}
|
|
@@ -29079,7 +29079,7 @@ var pa = U3, qa = {}, Y3 = {
|
|
|
29079
29079
|
return P;
|
|
29080
29080
|
var yt = Ur(P);
|
|
29081
29081
|
if (yt) {
|
|
29082
|
-
if (Ye =
|
|
29082
|
+
if (Ye = ce(P), !z)
|
|
29083
29083
|
return ns(P, Ye);
|
|
29084
29084
|
} else {
|
|
29085
29085
|
var Je = te(P), Rt = Je == h || Je == u;
|
|
@@ -29209,7 +29209,7 @@ var pa = U3, qa = {}, Y3 = {
|
|
|
29209
29209
|
}
|
|
29210
29210
|
return z;
|
|
29211
29211
|
});
|
|
29212
|
-
function
|
|
29212
|
+
function ce(P) {
|
|
29213
29213
|
var z = P.length, J = P.constructor(z);
|
|
29214
29214
|
return z && typeof P[0] == "string" && ft.call(P, "index") && (J.index = P.index, J.input = P.input), J;
|
|
29215
29215
|
}
|
|
@@ -29688,7 +29688,7 @@ var Ka = {}, Z3 = {
|
|
|
29688
29688
|
return Le.delete(P), Le.delete(z), Lt;
|
|
29689
29689
|
}
|
|
29690
29690
|
function L(P) {
|
|
29691
|
-
return nn(P, Xr,
|
|
29691
|
+
return nn(P, Xr, ce);
|
|
29692
29692
|
}
|
|
29693
29693
|
function j(P, z) {
|
|
29694
29694
|
var J = P.__data__;
|
|
@@ -29708,7 +29708,7 @@ var Ka = {}, Z3 = {
|
|
|
29708
29708
|
var Ve = ji.call(P);
|
|
29709
29709
|
return ie && (z ? P[ri] = J : delete P[ri]), Ve;
|
|
29710
29710
|
}
|
|
29711
|
-
var
|
|
29711
|
+
var ce = An ? function(P) {
|
|
29712
29712
|
return P == null ? [] : (P = Object(P), ue(An(P), function(z) {
|
|
29713
29713
|
return vn.call(P, z);
|
|
29714
29714
|
}));
|
|
@@ -31229,7 +31229,7 @@ function Ek(n) {
|
|
|
31229
31229
|
);
|
|
31230
31230
|
return {
|
|
31231
31231
|
c() {
|
|
31232
|
-
e && e.c(), t =
|
|
31232
|
+
e && e.c(), t = Re();
|
|
31233
31233
|
},
|
|
31234
31234
|
m(i, s) {
|
|
31235
31235
|
e && e.m(i, s), X(i, t, s);
|
|
@@ -31658,7 +31658,7 @@ function Dk(n) {
|
|
|
31658
31658
|
c() {
|
|
31659
31659
|
for (let o = 0; o < s.length; o += 1)
|
|
31660
31660
|
s[o].c();
|
|
31661
|
-
t =
|
|
31661
|
+
t = Re();
|
|
31662
31662
|
},
|
|
31663
31663
|
m(o, a) {
|
|
31664
31664
|
for (let l = 0; l < s.length; l += 1)
|
|
@@ -31705,7 +31705,7 @@ function Tk(n) {
|
|
|
31705
31705
|
);
|
|
31706
31706
|
return {
|
|
31707
31707
|
c() {
|
|
31708
|
-
i && i.c(), t =
|
|
31708
|
+
i && i.c(), t = Re();
|
|
31709
31709
|
},
|
|
31710
31710
|
m(s, r) {
|
|
31711
31711
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -31871,7 +31871,7 @@ function Lp(n) {
|
|
|
31871
31871
|
);
|
|
31872
31872
|
return {
|
|
31873
31873
|
c() {
|
|
31874
|
-
ve(t.$$.fragment), e = ae(), i = G("div"), ve(s.$$.fragment), r = ae(), c && c.c(), o = ae(), h && h.c(), a =
|
|
31874
|
+
ve(t.$$.fragment), e = ae(), i = G("div"), ve(s.$$.fragment), r = ae(), c && c.c(), o = ae(), h && h.c(), a = Re(), D(i, "class", "line svelte-1f7m1lj");
|
|
31875
31875
|
},
|
|
31876
31876
|
m(u, f) {
|
|
31877
31877
|
me(t, u, f), X(u, e, f), X(u, i, f), me(s, i, null), X(u, r, f), c && c.m(u, f), X(u, o, f), h && h.m(u, f), X(u, a, f), l = !0;
|
|
@@ -32006,7 +32006,7 @@ function zk(n) {
|
|
|
32006
32006
|
);
|
|
32007
32007
|
return {
|
|
32008
32008
|
c() {
|
|
32009
|
-
i && i.c(), t =
|
|
32009
|
+
i && i.c(), t = Re();
|
|
32010
32010
|
},
|
|
32011
32011
|
m(s, r) {
|
|
32012
32012
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -32424,7 +32424,7 @@ function _k(n, t, e) {
|
|
|
32424
32424
|
1 && e(4, i = (m = (g = u.state) == null ? void 0 : g.unfolded) != null ? m : !1), n.$$.dirty & /*unfolded*/
|
|
32425
32425
|
16 && e(8, s = !i), n.$$.dirty & /*tag*/
|
|
32426
32426
|
1 && e(3, r = u.data), n.$$.dirty & /*data*/
|
|
32427
|
-
8 && e(7, o =
|
|
32427
|
+
8 && e(7, o = Be((b = r.price) == null ? void 0 : b.value) && ((C = r.price) == null ? void 0 : C.value) !== ""), n.$$.dirty & /*tag*/
|
|
32428
32428
|
1 && e(6, a = u.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
32429
32429
|
1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
|
|
32430
32430
|
1032 && e(2, c = ((k = r.brandTags) == null ? void 0 : k.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
@@ -33121,7 +33121,7 @@ function Jk(n) {
|
|
|
33121
33121
|
);
|
|
33122
33122
|
return {
|
|
33123
33123
|
c() {
|
|
33124
|
-
i && i.c(), t =
|
|
33124
|
+
i && i.c(), t = Re();
|
|
33125
33125
|
},
|
|
33126
33126
|
m(s, r) {
|
|
33127
33127
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -33362,7 +33362,7 @@ function iS(n) {
|
|
|
33362
33362
|
);
|
|
33363
33363
|
return {
|
|
33364
33364
|
c() {
|
|
33365
|
-
i && i.c(), t =
|
|
33365
|
+
i && i.c(), t = Re();
|
|
33366
33366
|
},
|
|
33367
33367
|
m(s, r) {
|
|
33368
33368
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -33519,7 +33519,7 @@ function aS(n) {
|
|
|
33519
33519
|
}
|
|
33520
33520
|
return ~(t = a(n)) && (e = o[t] = r[t](n)), {
|
|
33521
33521
|
c() {
|
|
33522
|
-
e && e.c(), i =
|
|
33522
|
+
e && e.c(), i = Re();
|
|
33523
33523
|
},
|
|
33524
33524
|
m(l, c) {
|
|
33525
33525
|
~t && o[t].m(l, c), X(l, i, c), s = !0;
|
|
@@ -33657,7 +33657,7 @@ function uS(n) {
|
|
|
33657
33657
|
);
|
|
33658
33658
|
return {
|
|
33659
33659
|
c() {
|
|
33660
|
-
i && i.c(), t =
|
|
33660
|
+
i && i.c(), t = Re();
|
|
33661
33661
|
},
|
|
33662
33662
|
m(s, r) {
|
|
33663
33663
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -33725,7 +33725,7 @@ function pS(n) {
|
|
|
33725
33725
|
const o = l0(t);
|
|
33726
33726
|
return ec.set(t, o), o;
|
|
33727
33727
|
})(), { width: s, height: r } = yield i;
|
|
33728
|
-
return
|
|
33728
|
+
return le(B({}, n), {
|
|
33729
33729
|
width: s / e,
|
|
33730
33730
|
height: r / e
|
|
33731
33731
|
});
|
|
@@ -33737,7 +33737,7 @@ function mS(n) {
|
|
|
33737
33737
|
if (!t)
|
|
33738
33738
|
throw new Error("KeyframeIcon requires steps");
|
|
33739
33739
|
const { width: r, height: o } = yield l0(e), a = r / i, l = o / i, c = a / t, h = l, u = 1 / s * t + "s";
|
|
33740
|
-
return
|
|
33740
|
+
return le(B({}, n), {
|
|
33741
33741
|
width: c,
|
|
33742
33742
|
height: h,
|
|
33743
33743
|
duration: u
|
|
@@ -33853,7 +33853,7 @@ function vS(n) {
|
|
|
33853
33853
|
i
|
|
33854
33854
|
), {
|
|
33855
33855
|
c() {
|
|
33856
|
-
t =
|
|
33856
|
+
t = Re(), i.block.c();
|
|
33857
33857
|
},
|
|
33858
33858
|
m(s, r) {
|
|
33859
33859
|
X(s, t, r), i.block.m(s, i.anchor = r), i.mount = () => t.parentNode, i.anchor = t;
|
|
@@ -33911,7 +33911,7 @@ function AS(n) {
|
|
|
33911
33911
|
i
|
|
33912
33912
|
), {
|
|
33913
33913
|
c() {
|
|
33914
|
-
t =
|
|
33914
|
+
t = Re(), i.block.c();
|
|
33915
33915
|
},
|
|
33916
33916
|
m(s, r) {
|
|
33917
33917
|
X(s, t, r), i.block.m(s, i.anchor = r), i.mount = () => t.parentNode, i.anchor = t;
|
|
@@ -34158,7 +34158,7 @@ function ES(n) {
|
|
|
34158
34158
|
);
|
|
34159
34159
|
return {
|
|
34160
34160
|
c() {
|
|
34161
|
-
i && i.c(), t =
|
|
34161
|
+
i && i.c(), t = Re();
|
|
34162
34162
|
},
|
|
34163
34163
|
m(s, r) {
|
|
34164
34164
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -34183,7 +34183,7 @@ function ES(n) {
|
|
|
34183
34183
|
}
|
|
34184
34184
|
function er(n) {
|
|
34185
34185
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, r = (s != null ? s : t) * i, o = typeof e == "number" ? r * (e / t) : void 0;
|
|
34186
|
-
return
|
|
34186
|
+
return le(B({}, n), { width: r, height: o });
|
|
34187
34187
|
}
|
|
34188
34188
|
function MS(n, t, e) {
|
|
34189
34189
|
let i, s, r, o, a, l, c, h, u, f, p, { width: v = null } = t, { icon: g = null } = t, { shadow: m = !1 } = t;
|
|
@@ -34197,7 +34197,7 @@ function MS(n, t, e) {
|
|
|
34197
34197
|
function k(T) {
|
|
34198
34198
|
return $(this, null, function* () {
|
|
34199
34199
|
if (typeof p == "number")
|
|
34200
|
-
return
|
|
34200
|
+
return le(B({}, T), { width: p });
|
|
34201
34201
|
const S = yield pS(T);
|
|
34202
34202
|
return b("iconLoaded", S), S;
|
|
34203
34203
|
});
|
|
@@ -34448,7 +34448,7 @@ function LS(n) {
|
|
|
34448
34448
|
);
|
|
34449
34449
|
return {
|
|
34450
34450
|
c() {
|
|
34451
|
-
i && i.c(), t =
|
|
34451
|
+
i && i.c(), t = Re();
|
|
34452
34452
|
},
|
|
34453
34453
|
m(s, r) {
|
|
34454
34454
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -34492,7 +34492,7 @@ function BS(n) {
|
|
|
34492
34492
|
let t, e;
|
|
34493
34493
|
return {
|
|
34494
34494
|
c() {
|
|
34495
|
-
t = new ja(!1), e =
|
|
34495
|
+
t = new ja(!1), e = Re(), t.a = e;
|
|
34496
34496
|
},
|
|
34497
34497
|
m(i, s) {
|
|
34498
34498
|
t.m(
|
|
@@ -35118,7 +35118,7 @@ function qS(n) {
|
|
|
35118
35118
|
}
|
|
35119
35119
|
return e = l(n, -1), i = a[e] = o[e](n), {
|
|
35120
35120
|
c() {
|
|
35121
|
-
i.c(), s =
|
|
35121
|
+
i.c(), s = Re();
|
|
35122
35122
|
},
|
|
35123
35123
|
m(c, h) {
|
|
35124
35124
|
a[e].m(c, h), X(c, s, h), r = !0;
|
|
@@ -35261,7 +35261,7 @@ class h0 extends Xh {
|
|
|
35261
35261
|
c.classList.add("tag-media-container");
|
|
35262
35262
|
const h = "black";
|
|
35263
35263
|
c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
|
|
35264
|
-
const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new Qv(
|
|
35264
|
+
const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new Qv(le(B({}, u), { mode: f })), v = this.computeNormal();
|
|
35265
35265
|
p.position.add(v.clone().setLength(Bo.Z_FIGHTING_OFFSET)), s.add(p);
|
|
35266
35266
|
let g;
|
|
35267
35267
|
p.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, p, (b) => {
|
|
@@ -35342,7 +35342,7 @@ class tD extends Xh {
|
|
|
35342
35342
|
(a = (o = this.tag3DContentSvelte) == null ? void 0 : o.dispose) == null || a.call(o);
|
|
35343
35343
|
const c = document.createElement("div");
|
|
35344
35344
|
c.classList.add("tag-media-container");
|
|
35345
|
-
const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new Qv(
|
|
35345
|
+
const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new Qv(le(B({}, h), { mode: u })), p = this.computeNormal();
|
|
35346
35346
|
f.position.add(p.clone().setLength(Bo.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
|
|
35347
35347
|
let v;
|
|
35348
35348
|
f.mode === "behind" && this.config.clickable !== !1 && (v = this.addObjectClickHandler(this, f, (m) => {
|
|
@@ -35862,7 +35862,7 @@ function uD(n) {
|
|
|
35862
35862
|
);
|
|
35863
35863
|
return {
|
|
35864
35864
|
c() {
|
|
35865
|
-
i && i.c(), t =
|
|
35865
|
+
i && i.c(), t = Re();
|
|
35866
35866
|
},
|
|
35867
35867
|
m(s, r) {
|
|
35868
35868
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -36063,7 +36063,7 @@ function cm(n, t) {
|
|
|
36063
36063
|
key: n,
|
|
36064
36064
|
first: null,
|
|
36065
36065
|
c() {
|
|
36066
|
-
e =
|
|
36066
|
+
e = Re(), ve(i.$$.fragment), this.first = e;
|
|
36067
36067
|
},
|
|
36068
36068
|
m(r, o) {
|
|
36069
36069
|
X(r, e, o), me(i, r, o), s = !0;
|
|
@@ -36103,7 +36103,7 @@ function mD(n) {
|
|
|
36103
36103
|
);
|
|
36104
36104
|
return {
|
|
36105
36105
|
c() {
|
|
36106
|
-
i && i.c(), t =
|
|
36106
|
+
i && i.c(), t = Re();
|
|
36107
36107
|
},
|
|
36108
36108
|
m(s, r) {
|
|
36109
36109
|
i && i.m(s, r), X(s, t, r), e = !0;
|
|
@@ -36268,7 +36268,7 @@ class Nc extends nM {
|
|
|
36268
36268
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
36269
36269
|
this.TagContainerSvelte = new vD({
|
|
36270
36270
|
target: this.container,
|
|
36271
|
-
props:
|
|
36271
|
+
props: le(B({}, a), { state: le(B({}, this.state), { enabled: !1 }) })
|
|
36272
36272
|
}), zo(() => {
|
|
36273
36273
|
var l;
|
|
36274
36274
|
(l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
|
|
@@ -37046,7 +37046,7 @@ class Gc {
|
|
|
37046
37046
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
37047
37047
|
const i = CD(t);
|
|
37048
37048
|
if (this._panoGroup = i, (e == null ? void 0 : e.skipPanoGroup) !== void 0) {
|
|
37049
|
-
const r = e.skipPanoGroup ? i.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(
|
|
37049
|
+
const r = e.skipPanoGroup ? i.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(Be) : null;
|
|
37050
37050
|
this.skippedPositions = r;
|
|
37051
37051
|
}
|
|
37052
37052
|
const s = PD(i, this.five.work, e);
|
|
@@ -37223,7 +37223,7 @@ class Gc {
|
|
|
37223
37223
|
s.tag = o, MD(o) && (s.tag.element = (h) => {
|
|
37224
37224
|
var p, v;
|
|
37225
37225
|
(p = s.app) == null || p.$destroy();
|
|
37226
|
-
const u = t === "start" ?
|
|
37226
|
+
const u = t === "start" ? le(B({}, o.data), { name: this.name, distance: Math.round((v = i.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : o.data, f = new wD({ target: h, intro: !0, props: u });
|
|
37227
37227
|
return s.app = f, () => f.$destroy();
|
|
37228
37228
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
37229
37229
|
const a = this.meshStyle.translate;
|
|
@@ -37442,7 +37442,7 @@ let p0 = class extends f0 {
|
|
|
37442
37442
|
this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
|
|
37443
37443
|
});
|
|
37444
37444
|
d(this, "moveToStart", () => {
|
|
37445
|
-
this.five.setState(
|
|
37445
|
+
this.five.setState(le(B({}, ic(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
37446
37446
|
});
|
|
37447
37447
|
d(this, "playFromStart", () => {
|
|
37448
37448
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -37512,7 +37512,7 @@ let p0 = class extends f0 {
|
|
|
37512
37512
|
let r = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
|
|
37513
37513
|
(r < 0 || r >= 1) && (r = 0);
|
|
37514
37514
|
const o = ic(this.curve, r, this.curveOffset);
|
|
37515
|
-
if (this.hooks.emit("progressChange", r), this.five.setState(
|
|
37515
|
+
if (this.hooks.emit("progressChange", r), this.five.setState(le(B({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
37516
37516
|
const c = this.addInterruptListener(() => {
|
|
37517
37517
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
37518
37518
|
});
|
|
@@ -37647,7 +37647,7 @@ class su extends f0 {
|
|
|
37647
37647
|
* @description Play from first keyframe
|
|
37648
37648
|
*/
|
|
37649
37649
|
playFromStart(e) {
|
|
37650
|
-
return this.playFrom(
|
|
37650
|
+
return this.playFrom(le(B({}, e), { index: 0 }));
|
|
37651
37651
|
}
|
|
37652
37652
|
/**
|
|
37653
37653
|
* @description Format data
|
|
@@ -37657,7 +37657,7 @@ class su extends f0 {
|
|
|
37657
37657
|
this.five.work || (yield SD(this.five));
|
|
37658
37658
|
const i = (() => {
|
|
37659
37659
|
const s = e;
|
|
37660
|
-
return typeof s == "object" && s !== null &&
|
|
37660
|
+
return typeof s == "object" && s !== null && Be(s.version) && s.data ? s.data : s;
|
|
37661
37661
|
})();
|
|
37662
37662
|
if (i.keyframes)
|
|
37663
37663
|
return {
|
|
@@ -37665,7 +37665,7 @@ class su extends f0 {
|
|
|
37665
37665
|
keyframes: i.keyframes.map((s, r) => {
|
|
37666
37666
|
var l;
|
|
37667
37667
|
const o = i.keyframes[r + 1], a = (() => !o || o.start === void 0 || s.end === void 0 ? 0 : o.start - s.end)();
|
|
37668
|
-
return
|
|
37668
|
+
return le(B({ id: (l = s.uuid) != null ? l : xt(), moveIndex: r, stay: a, index: r }, s), { guildPluginOptions: i.guildPluginOptions });
|
|
37669
37669
|
})
|
|
37670
37670
|
};
|
|
37671
37671
|
if (i.panoIndexList) {
|
|
@@ -37993,7 +37993,7 @@ class g0 {
|
|
|
37993
37993
|
const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, r = e.path, o = s, a = s, l = s;
|
|
37994
37994
|
if (e.pano_group) {
|
|
37995
37995
|
const h = t === "panorama" && e.panorama_style.skip_group === !0;
|
|
37996
|
-
i.setGeometryByPanoGroup(e.pano_group, B(
|
|
37996
|
+
i.setGeometryByPanoGroup(e.pano_group, B(le(B({}, e), {
|
|
37997
37997
|
skipPanoGroup: h
|
|
37998
37998
|
}), o));
|
|
37999
37999
|
} else
|
|
@@ -38101,7 +38101,7 @@ let LD = class extends mn {
|
|
|
38101
38101
|
var p, v, g, m, b, C, k;
|
|
38102
38102
|
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(e);
|
|
38103
38103
|
this.hooks.emit("dataChange", o, r), this.data = o;
|
|
38104
|
-
const a = o.config, l = !o.lines && o.routes, c =
|
|
38104
|
+
const a = o.config, l = !o.lines && o.routes, c = le(B({}, a), {
|
|
38105
38105
|
panorama_style: {
|
|
38106
38106
|
visible: !!l,
|
|
38107
38107
|
unit_length: (p = a == null ? void 0 : a.unitHeight) != null ? p : 0.4,
|
|
@@ -38271,7 +38271,7 @@ class Ro extends ii {
|
|
|
38271
38271
|
const c = new y.Quaternion().setFromUnitVectors(new y.Vector3(0, 0, 1), l.normalize());
|
|
38272
38272
|
this.applyQuaternion(c);
|
|
38273
38273
|
}
|
|
38274
|
-
if ([o, a, l].filter(
|
|
38274
|
+
if ([o, a, l].filter(Be).length >= 2) {
|
|
38275
38275
|
o || (o = new y.Vector3().crossVectors(a, l).normalize()), a || (a = new y.Vector3().crossVectors(o, l).normalize()), l || (l = new y.Vector3().crossVectors(o, a).normalize()), o.applyQuaternion(this.quaternion), a.applyQuaternion(this.quaternion), l.applyQuaternion(this.quaternion);
|
|
38276
38276
|
const c = new y.Matrix4().makeBasis(o, a, l), h = new y.Quaternion().setFromRotationMatrix(c);
|
|
38277
38277
|
this.quaternion.copy(h);
|
|
@@ -38999,7 +38999,7 @@ class Vo {
|
|
|
38999
38999
|
}
|
|
39000
39000
|
}
|
|
39001
39001
|
hoverListener(t, e = 16777215, i = 1) {
|
|
39002
|
-
const s = pn(t).filter(
|
|
39002
|
+
const s = pn(t).filter(Be), r = [];
|
|
39003
39003
|
for (const o of s)
|
|
39004
39004
|
if (o.material || o instanceof y.Group) {
|
|
39005
39005
|
const a = o instanceof y.Group ? o.children.filter((f) => f instanceof y.Mesh) : [o];
|
|
@@ -40453,7 +40453,7 @@ class w5 extends Xn {
|
|
|
40453
40453
|
r.video_list.forEach((l) => {
|
|
40454
40454
|
this.controllerMap.set(
|
|
40455
40455
|
l.render_id,
|
|
40456
|
-
new vm(this.five,
|
|
40456
|
+
new vm(this.five, le(B({}, l), {
|
|
40457
40457
|
panoIndex: o,
|
|
40458
40458
|
renderID: a,
|
|
40459
40459
|
hooks: this.hooks,
|
|
@@ -40531,7 +40531,7 @@ class w5 extends Xn {
|
|
|
40531
40531
|
const r = s.render_id;
|
|
40532
40532
|
this.controllerMap.set(
|
|
40533
40533
|
s.render_id,
|
|
40534
|
-
new vm(this.five,
|
|
40534
|
+
new vm(this.five, le(B({}, s), {
|
|
40535
40535
|
panoIndex: e,
|
|
40536
40536
|
renderID: r,
|
|
40537
40537
|
hooks: this.hooks,
|
|
@@ -40580,7 +40580,7 @@ function C5(n) {
|
|
|
40580
40580
|
(r) => r.startLibraryID === e && r.endLibraryID === i
|
|
40581
40581
|
);
|
|
40582
40582
|
return s || console.warn(`Cannot find pipeline with startLibraryID ${e} and endLibraryID ${i}`), s;
|
|
40583
|
-
}).filter(
|
|
40583
|
+
}).filter(Be);
|
|
40584
40584
|
return b0(t);
|
|
40585
40585
|
}
|
|
40586
40586
|
function P5(n) {
|
|
@@ -40605,7 +40605,7 @@ function I5(n, t) {
|
|
|
40605
40605
|
return null;
|
|
40606
40606
|
const f = u.data, p = t != null && t.getPipeRadius ? t.getPipeRadius(u) : 1.6 / 100, v = t != null && t.getPipeUrl ? t.getPipeUrl(l) : P5(l);
|
|
40607
40607
|
return { id: u.id, radius: p, water: l, path: f, texture: v };
|
|
40608
|
-
}).filter(
|
|
40608
|
+
}).filter(Be);
|
|
40609
40609
|
return { startLibraryID: o, endLibraryID: a, pipes: c };
|
|
40610
40610
|
});
|
|
40611
40611
|
return { pipes: b0(e), pipelines: e };
|
|
@@ -41163,7 +41163,7 @@ let R5 = class extends mn {
|
|
|
41163
41163
|
}
|
|
41164
41164
|
/** 根据 target 查找管道模型 */
|
|
41165
41165
|
findPipeObjectWithTarget(e) {
|
|
41166
|
-
return e ? C5({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(
|
|
41166
|
+
return e ? C5({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(Be) : this.pipeObjects;
|
|
41167
41167
|
}
|
|
41168
41168
|
};
|
|
41169
41169
|
const RL = (n) => new R5(n), V5 = "data:image/png;base64,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";
|
|
@@ -41835,9 +41835,9 @@ let W5 = class extends mn {
|
|
|
41835
41835
|
return i(e) ? {
|
|
41836
41836
|
list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
|
|
41837
41837
|
const r = new y.Shape(), o = s.object_data.points[0];
|
|
41838
|
-
return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]),
|
|
41838
|
+
return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]), le(B({}, s), {
|
|
41839
41839
|
floor_index: s.object_data.floorIndex,
|
|
41840
|
-
object_data:
|
|
41840
|
+
object_data: le(B({}, s.object_data), {
|
|
41841
41841
|
bottom_y: o[1] + s.object_data.fixedY,
|
|
41842
41842
|
shape: r.toJSON(),
|
|
41843
41843
|
height: s.object_data.height + s.object_data.fixedHeight
|
|
@@ -42217,7 +42217,7 @@ class P0 extends ii {
|
|
|
42217
42217
|
if (o !== 0 && a === void 0)
|
|
42218
42218
|
return;
|
|
42219
42219
|
const l = (c = this.lines[o]) != null ? c : (() => {
|
|
42220
|
-
const h = new gs(
|
|
42220
|
+
const h = new gs(le(B({}, this.style), {
|
|
42221
42221
|
pointVisibility: this.withDots ? { startPoint: o === 0, endPoint: !0 } : !1
|
|
42222
42222
|
}));
|
|
42223
42223
|
return this.lines[o] = h, this.add(h), h;
|
|
@@ -42237,19 +42237,20 @@ class P0 extends ii {
|
|
|
42237
42237
|
}
|
|
42238
42238
|
class Ms extends P0 {
|
|
42239
42239
|
constructor(...e) {
|
|
42240
|
-
super(
|
|
42240
|
+
super(le(B({}, e[0]), { withDots: !1 }));
|
|
42241
42241
|
d(this, "name", "PolylineMesh");
|
|
42242
42242
|
}
|
|
42243
42243
|
}
|
|
42244
42244
|
class Rn extends P0 {
|
|
42245
42245
|
constructor(...e) {
|
|
42246
|
-
super(
|
|
42246
|
+
super(le(B({}, e[0]), { withDots: !0 }));
|
|
42247
42247
|
d(this, "name", "PolylineWithDotsMesh");
|
|
42248
42248
|
}
|
|
42249
42249
|
}
|
|
42250
42250
|
const dc = /* @__PURE__ */ new Map();
|
|
42251
42251
|
class Oi extends ii {
|
|
42252
42252
|
constructor(e, i) {
|
|
42253
|
+
var s, r;
|
|
42253
42254
|
super();
|
|
42254
42255
|
d(this, "name", "Sculpt");
|
|
42255
42256
|
d(this, "isSculptObject", !0);
|
|
@@ -42272,17 +42273,17 @@ class Oi extends ii {
|
|
|
42272
42273
|
const s = i != null ? i : this;
|
|
42273
42274
|
return s.updateMatrixWorld(), cb(s, e);
|
|
42274
42275
|
});
|
|
42275
|
-
e != null && e.id && (this.uuid = e.id), this.config = B({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e
|
|
42276
|
+
e != null && e.id && (this.uuid = e.id), this.config = B({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Be((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = le(B({}, e.style), { occlusionMode: this.config.occlusionMode })), Be((r = this.config) == null ? void 0 : r.occlusionVisibility) && (e.style = le(B({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), this.addEventListener("removed", () => {
|
|
42276
42277
|
Nh(this);
|
|
42277
42278
|
}), zt("esc", () => {
|
|
42278
42279
|
this.stopCreating();
|
|
42279
42280
|
}), this.config.defaultAction && (zt("backspace, delete", () => {
|
|
42280
42281
|
this.selected && this.delete();
|
|
42281
42282
|
}), this.on("click", () => {
|
|
42282
|
-
var
|
|
42283
|
-
this.editing || (this.select({ only: !0 }), this.editor.enable(), (
|
|
42284
|
-
var
|
|
42285
|
-
|
|
42283
|
+
var o;
|
|
42284
|
+
this.editing || (this.select({ only: !0 }), this.editor.enable(), (o = this.parent) == null || o.children.forEach((a) => {
|
|
42285
|
+
var l;
|
|
42286
|
+
a instanceof Oi && a !== this && ((l = a._editor) == null || l.disable());
|
|
42286
42287
|
}));
|
|
42287
42288
|
}), zt("esc", () => {
|
|
42288
42289
|
this.selected && this.unselect();
|
|
@@ -42445,7 +42446,7 @@ class cu extends Pl {
|
|
|
42445
42446
|
return this.children;
|
|
42446
42447
|
}
|
|
42447
42448
|
enable() {
|
|
42448
|
-
super.enable(), this.points.filter(
|
|
42449
|
+
super.enable(), this.points.filter(Be).forEach((e) => {
|
|
42449
42450
|
const i = new Is();
|
|
42450
42451
|
i.visible = !1, i.position.copy(e), i.draggable = !0, lt.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), lt.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), lt.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
42451
42452
|
});
|
|
@@ -42498,7 +42499,7 @@ class wm extends Oi {
|
|
|
42498
42499
|
return this._editor || (this._editor = new J5(this)), this._editor;
|
|
42499
42500
|
}
|
|
42500
42501
|
get data() {
|
|
42501
|
-
return
|
|
42502
|
+
return le(B({}, this.baseData), {
|
|
42502
42503
|
points: ci(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
42503
42504
|
style: {
|
|
42504
42505
|
lineColor: new y.Color(this.polyLineMesh.lineColor).getHex(),
|
|
@@ -42549,7 +42550,7 @@ function q5(n, t, e) {
|
|
|
42549
42550
|
return;
|
|
42550
42551
|
const { promise: s, resolve: r, reject: o } = ks(), a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new Ms(n.style);
|
|
42551
42552
|
i.add(l);
|
|
42552
|
-
const c = new Ms(
|
|
42553
|
+
const c = new Ms(le(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
42553
42554
|
i.add(c), t.enable();
|
|
42554
42555
|
const h = [];
|
|
42555
42556
|
let u, f, p;
|
|
@@ -42610,7 +42611,7 @@ class Cm extends Oi {
|
|
|
42610
42611
|
return this._editor || (this._editor = new K5(this)), this._editor;
|
|
42611
42612
|
}
|
|
42612
42613
|
get data() {
|
|
42613
|
-
return
|
|
42614
|
+
return le(B({}, this.baseData), {
|
|
42614
42615
|
point: ci(this.applyObjectMatrixWorld(this.pointMesh.position)),
|
|
42615
42616
|
style: {
|
|
42616
42617
|
color: this.pointMesh.color.getHex(),
|
|
@@ -42670,7 +42671,7 @@ class E0 extends jr {
|
|
|
42670
42671
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
42671
42672
|
}
|
|
42672
42673
|
get style() {
|
|
42673
|
-
return
|
|
42674
|
+
return le(B({}, super.style), {
|
|
42674
42675
|
lineWidth: this.lineWidth,
|
|
42675
42676
|
lineColor: this.lineColor
|
|
42676
42677
|
});
|
|
@@ -42732,7 +42733,7 @@ class Pm extends Oi {
|
|
|
42732
42733
|
return this._editor || (this._editor = new $5(this)), this._editor;
|
|
42733
42734
|
}
|
|
42734
42735
|
get data() {
|
|
42735
|
-
return this.updateMatrixWorld(),
|
|
42736
|
+
return this.updateMatrixWorld(), le(B({}, this.baseData), {
|
|
42736
42737
|
points: ci(this.applyObjectMatrixWorld(this.areaMesh.points)),
|
|
42737
42738
|
style: {
|
|
42738
42739
|
color: this.areaMesh.color.getHex(),
|
|
@@ -42787,7 +42788,7 @@ function hu(n, t, e) {
|
|
|
42787
42788
|
}
|
|
42788
42789
|
const a = (H = e == null ? void 0 : e.limit) != null ? H : "none", l = new Ms(n.style);
|
|
42789
42790
|
o == null || o.add(l);
|
|
42790
|
-
const c = new Ms(
|
|
42791
|
+
const c = new Ms(le(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
42791
42792
|
o == null || o.add(c), t.enable();
|
|
42792
42793
|
const h = [];
|
|
42793
42794
|
let u, f, p = !1, v;
|
|
@@ -43034,7 +43035,7 @@ class Im extends Oi {
|
|
|
43034
43035
|
return this._editor || (this._editor = new M0(this.prismMesh)), this._editor;
|
|
43035
43036
|
}
|
|
43036
43037
|
get data() {
|
|
43037
|
-
return
|
|
43038
|
+
return le(B({}, this.baseData), {
|
|
43038
43039
|
points: ci(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
|
|
43039
43040
|
heightPoint: ci(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
|
|
43040
43041
|
style: {
|
|
@@ -43182,7 +43183,7 @@ class uu extends jr {
|
|
|
43182
43183
|
return this.meshFont.material.color;
|
|
43183
43184
|
}
|
|
43184
43185
|
setPoints(e) {
|
|
43185
|
-
const i = e.map(_e).filter(
|
|
43186
|
+
const i = e.map(_e).filter(Be);
|
|
43186
43187
|
if (i.length < 3) {
|
|
43187
43188
|
console.error("Invalid position");
|
|
43188
43189
|
return;
|
|
@@ -43240,7 +43241,7 @@ class Em extends Oi {
|
|
|
43240
43241
|
return this._editor || (this._editor = new k0(this.rectangleMesh)), this._editor;
|
|
43241
43242
|
}
|
|
43242
43243
|
get data() {
|
|
43243
|
-
return
|
|
43244
|
+
return le(B({}, this.baseData), {
|
|
43244
43245
|
points: ci(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
|
|
43245
43246
|
style: {
|
|
43246
43247
|
color: this.rectangleMesh.color.getHex(),
|
|
@@ -43291,7 +43292,7 @@ function rT(n, t, e) {
|
|
|
43291
43292
|
const { promise: i, reject: s, resolve: r } = ks(), o = n.parent;
|
|
43292
43293
|
if (!o)
|
|
43293
43294
|
return s(new Error("No container"));
|
|
43294
|
-
const a = (k = e == null ? void 0 : e.limit) != null ? k : "none", l = new Rn(
|
|
43295
|
+
const a = (k = e == null ? void 0 : e.limit) != null ? k : "none", l = new Rn(le(B({}, n.style), { dashed: !0 })), c = new Rn(le(B({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new Rn(le(B({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
43295
43296
|
o.add(l, h, c), t.enable();
|
|
43296
43297
|
const u = [];
|
|
43297
43298
|
let f = new y.Vector3(), p = new y.Vector3();
|
|
@@ -43340,7 +43341,7 @@ function oT(n, t, e) {
|
|
|
43340
43341
|
const { promise: i, reject: s, resolve: r } = ks(), o = n.parent;
|
|
43341
43342
|
if (!o)
|
|
43342
43343
|
return s(new Error("No container"));
|
|
43343
|
-
const a = (k = e == null ? void 0 : e.limit) != null ? k : "none", l = new Rn(
|
|
43344
|
+
const a = (k = e == null ? void 0 : e.limit) != null ? k : "none", l = new Rn(le(B({}, n.style), { dashed: !0 })), c = new Rn(le(B({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new Rn(le(B({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
43344
43345
|
o.add(l, h, c), t.enable(), t.setAdherePoints(sT(t.five, { excludes: [n] }));
|
|
43345
43346
|
const u = [];
|
|
43346
43347
|
let f = new y.Vector3(), p = new y.Vector3();
|
|
@@ -43416,7 +43417,7 @@ class L0 extends Al {
|
|
|
43416
43417
|
}
|
|
43417
43418
|
setPoints(e) {
|
|
43418
43419
|
var i, s, r;
|
|
43419
|
-
if (this._center = (i = _e(e.center)) != null ? i : this._center, this._normal = ((s = _e(e.normal)) != null ? s : this._normal).normalize(), this._radius = (r = e.radius) != null ? r : this._radius,
|
|
43420
|
+
if (this._center = (i = _e(e.center)) != null ? i : this._center, this._normal = ((s = _e(e.normal)) != null ? s : this._normal).normalize(), this._radius = (r = e.radius) != null ? r : this._radius, Be(this._radius) && this._radius !== this.radius) {
|
|
43420
43421
|
const o = T0(this._radius);
|
|
43421
43422
|
this.geometry = new y.CircleGeometry(this._radius, o);
|
|
43422
43423
|
}
|
|
@@ -43457,7 +43458,7 @@ class Mm extends Oi {
|
|
|
43457
43458
|
return this._editor || (this._editor = new D0(this.circleMesh)), this._editor;
|
|
43458
43459
|
}
|
|
43459
43460
|
get data() {
|
|
43460
|
-
return
|
|
43461
|
+
return le(B({}, this.baseData), {
|
|
43461
43462
|
center: ci(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
|
|
43462
43463
|
normal: ci(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
|
|
43463
43464
|
radius: this.circleMesh.radius,
|
|
@@ -43558,7 +43559,7 @@ class Xc extends ii {
|
|
|
43558
43559
|
}
|
|
43559
43560
|
setPoints(e) {
|
|
43560
43561
|
var i, s;
|
|
43561
|
-
if (this._topCenter = (i = _e(e.topCenter)) != null ? i : this.topCenter, this._bottomCenter = (s = _e(e.bottomCenter)) != null ? s : this.bottomCenter, this._radius =
|
|
43562
|
+
if (this._topCenter = (i = _e(e.topCenter)) != null ? i : this.topCenter, this._bottomCenter = (s = _e(e.bottomCenter)) != null ? s : this.bottomCenter, this._radius = Be(e.radius) ? e.radius : this.radius, this._topCenter && this._bottomCenter) {
|
|
43562
43563
|
const r = this._topCenter.clone().sub(this._bottomCenter).normalize();
|
|
43563
43564
|
this.bottomCircle.setPoints({ center: this._bottomCenter, normal: r, radius: this._radius }), this.setTopCenter(this._topCenter);
|
|
43564
43565
|
}
|
|
@@ -43642,7 +43643,7 @@ class xm extends Oi {
|
|
|
43642
43643
|
return this._editor || (this._editor = new O0(this.cylinderMesh)), this._editor;
|
|
43643
43644
|
}
|
|
43644
43645
|
get data() {
|
|
43645
|
-
return
|
|
43646
|
+
return le(B({}, this.baseData), {
|
|
43646
43647
|
bottomCenter: ci(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
|
|
43647
43648
|
topCenter: ci(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
|
|
43648
43649
|
radius: this.cylinderMesh.radius,
|
|
@@ -43822,7 +43823,7 @@ class km extends Oi {
|
|
|
43822
43823
|
return this._editor || (this._editor = new j0(this.boxMesh)), this._editor;
|
|
43823
43824
|
}
|
|
43824
43825
|
get data() {
|
|
43825
|
-
return
|
|
43826
|
+
return le(B({}, this.baseData), {
|
|
43826
43827
|
points: ci(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
|
|
43827
43828
|
heightPoint: ci(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
|
|
43828
43829
|
style: {
|
|
@@ -43904,7 +43905,7 @@ class Sm extends Oi {
|
|
|
43904
43905
|
return this._editor || (this._editor = new Z5(this)), this._editor;
|
|
43905
43906
|
}
|
|
43906
43907
|
get data() {
|
|
43907
|
-
return
|
|
43908
|
+
return le(B({}, this.baseData), {
|
|
43908
43909
|
points: ci(this.applyObjectMatrixWorld(this.lineMesh.points)),
|
|
43909
43910
|
style: {
|
|
43910
43911
|
lineColor: new y.Color(this.lineMesh.color).getHex(),
|
|
@@ -43955,7 +43956,7 @@ function R0(n, t, e) {
|
|
|
43955
43956
|
return;
|
|
43956
43957
|
const { promise: s, resolve: r, reject: o } = ks(), a = (V = e == null ? void 0 : e.limit) != null ? V : "none", l = new Si(n.style);
|
|
43957
43958
|
i.add(l);
|
|
43958
|
-
const c = new Si(
|
|
43959
|
+
const c = new Si(le(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
43959
43960
|
i.add(c), t.enable();
|
|
43960
43961
|
const h = [];
|
|
43961
43962
|
let u, f, p;
|
|
@@ -44030,7 +44031,7 @@ const ir = class extends bt {
|
|
|
44030
44031
|
} catch (i) {
|
|
44031
44032
|
return console.error(i), null;
|
|
44032
44033
|
}
|
|
44033
|
-
}).filter(
|
|
44034
|
+
}).filter(Be)
|
|
44034
44035
|
};
|
|
44035
44036
|
}
|
|
44036
44037
|
get items() {
|
|
@@ -44044,7 +44045,7 @@ const ir = class extends bt {
|
|
|
44044
44045
|
this.clear();
|
|
44045
44046
|
const s = (r = e == null ? void 0 : e.items) == null ? void 0 : r.map((o) => {
|
|
44046
44047
|
var l;
|
|
44047
|
-
const a =
|
|
44048
|
+
const a = le(B({}, o), {
|
|
44048
44049
|
style: B(B({}, (l = this.theme) == null ? void 0 : l[o.type.toLowerCase()]), o.style)
|
|
44049
44050
|
});
|
|
44050
44051
|
return o.type === "Point" ? new Cm(a, i) : o.type === "line" ? new Sm(a, i) : o.type === "Polyline" ? new wm(a, i) : o.type === "Polygon" ? new Pm(a, i) : o.type === "Prism" ? new Im(a, i) : o.type === "Rectangle" ? new Em(a, i) : o.type === "Circle" ? new Mm(a, i) : o.type === "Cylinder" ? new xm(a, i) : o.type === "Box" ? new km(a, i) : null;
|
|
@@ -44302,7 +44303,7 @@ function hT(n) {
|
|
|
44302
44303
|
);
|
|
44303
44304
|
return {
|
|
44304
44305
|
c() {
|
|
44305
|
-
e && e.c(), t =
|
|
44306
|
+
e && e.c(), t = Re();
|
|
44306
44307
|
},
|
|
44307
44308
|
m(i, s) {
|
|
44308
44309
|
e && e.m(i, s), X(i, t, s);
|
|
@@ -44351,7 +44352,7 @@ const Tm = (n, t) => {
|
|
|
44351
44352
|
class Lm extends _0 {
|
|
44352
44353
|
constructor(...e) {
|
|
44353
44354
|
const i = e[0], s = xs(i.model), r = new y.Vector3().lerpVectors(On(s, 0), On(s, 5), 0.5);
|
|
44354
|
-
super(
|
|
44355
|
+
super(le(B({}, i), { position: r }));
|
|
44355
44356
|
d(this, "onModelShownFloorChange", (e) => {
|
|
44356
44357
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
44357
44358
|
});
|
|
@@ -44527,7 +44528,7 @@ class gT extends mn {
|
|
|
44527
44528
|
});
|
|
44528
44529
|
}
|
|
44529
44530
|
setState(e) {
|
|
44530
|
-
|
|
44531
|
+
Be(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), Be(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
44531
44532
|
}
|
|
44532
44533
|
getItemById(e) {
|
|
44533
44534
|
return this.items.find((i) => i.rawData.id === e);
|
|
@@ -44631,7 +44632,7 @@ const NL = (...n) => new gT(...n), vT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44631
44632
|
lookObject: my,
|
|
44632
44633
|
lookPoint: bg,
|
|
44633
44634
|
nextFrame: zo,
|
|
44634
|
-
notNil:
|
|
44635
|
+
notNil: Be,
|
|
44635
44636
|
pointInPolygon: xu,
|
|
44636
44637
|
reblink: Ag,
|
|
44637
44638
|
requestAnimationFrameInterval: kr,
|