@realsee/dnalogel 3.29.2 → 3.29.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 +3 -0
- package/dist/index.cjs.js +24 -24
- package/dist/index.js +210 -207
- package/dist/index.umd.js +21 -21
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/blink.js +39 -36
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import _o from "animejs";
|
|
|
48
48
|
import { GLTFLoader as Um } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Ym() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.29.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.29.3",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -280,18 +280,18 @@ var Gt = Object.freeze({
|
|
|
280
280
|
return !0;
|
|
281
281
|
}, n;
|
|
282
282
|
}()
|
|
283
|
-
),
|
|
283
|
+
), _i = {
|
|
284
284
|
Linear: function(n, t) {
|
|
285
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
285
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = _i.Utils.Linear;
|
|
286
286
|
return t < 0 ? o(n[0], n[1], i) : t > 1 ? o(n[e], n[e - 1], e - i) : o(n[s], n[s + 1 > e ? e : s + 1], i - s);
|
|
287
287
|
},
|
|
288
288
|
Bezier: function(n, t) {
|
|
289
|
-
for (var e = 0, i = n.length - 1, s = Math.pow, o =
|
|
289
|
+
for (var e = 0, i = n.length - 1, s = Math.pow, o = _i.Utils.Bernstein, r = 0; r <= i; r++)
|
|
290
290
|
e += s(1 - t, i - r) * s(t, r) * n[r] * o(i, r);
|
|
291
291
|
return e;
|
|
292
292
|
},
|
|
293
293
|
CatmullRom: function(n, t) {
|
|
294
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
294
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = _i.Utils.CatmullRom;
|
|
295
295
|
return n[0] === n[e] ? (t < 0 && (s = Math.floor(i = e * (1 + t))), o(n[(s - 1 + e) % e], n[s], n[(s + 1) % e], n[(s + 2) % e], i - s)) : t < 0 ? n[0] - (o(n[0], n[0], n[1], n[1], -i) - n[0]) : t > 1 ? n[e] - (o(n[e], n[e], n[e - 1], n[e - 1], i - e) - n[e]) : o(n[s ? s - 1 : 0], n[s], n[e < s + 1 ? e : s + 1], n[e < s + 2 ? e : s + 2], i - s);
|
|
296
296
|
},
|
|
297
297
|
Utils: {
|
|
@@ -299,7 +299,7 @@ var Gt = Object.freeze({
|
|
|
299
299
|
return (t - n) * e + n;
|
|
300
300
|
},
|
|
301
301
|
Bernstein: function(n, t) {
|
|
302
|
-
var e =
|
|
302
|
+
var e = _i.Utils.Factorial;
|
|
303
303
|
return e(n) / e(t) / e(n - t);
|
|
304
304
|
},
|
|
305
305
|
Factorial: function() {
|
|
@@ -331,7 +331,7 @@ var Gt = Object.freeze({
|
|
|
331
331
|
/** @class */
|
|
332
332
|
function() {
|
|
333
333
|
function n(t, e) {
|
|
334
|
-
e === void 0 && (e = _a), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Gt.Linear.None, this._interpolationFunction =
|
|
334
|
+
e === void 0 && (e = _a), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Gt.Linear.None, this._interpolationFunction = _i.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = fl.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
335
335
|
}
|
|
336
336
|
return n.prototype.getId = function() {
|
|
337
337
|
return this._id;
|
|
@@ -430,7 +430,7 @@ var Gt = Object.freeze({
|
|
|
430
430
|
}, n.prototype.easing = function(t) {
|
|
431
431
|
return t === void 0 && (t = Gt.Linear.None), this._easingFunction = t, this;
|
|
432
432
|
}, n.prototype.interpolation = function(t) {
|
|
433
|
-
return t === void 0 && (t =
|
|
433
|
+
return t === void 0 && (t = _i.Linear), this._interpolationFunction = t, this;
|
|
434
434
|
}, n.prototype.chain = function() {
|
|
435
435
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
436
436
|
t[e] = arguments[e];
|
|
@@ -498,7 +498,7 @@ var Gt = Object.freeze({
|
|
|
498
498
|
), Km = "23.1.1", $m = fl.nextId, ti = _a, ep = ti.getAll.bind(ti), tp = ti.removeAll.bind(ti), ip = ti.add.bind(ti), sf = ti.remove.bind(ti), np = ti.update.bind(ti), uc = {
|
|
499
499
|
Easing: Gt,
|
|
500
500
|
Group: nf,
|
|
501
|
-
Interpolation:
|
|
501
|
+
Interpolation: _i,
|
|
502
502
|
now: In,
|
|
503
503
|
Sequence: fl,
|
|
504
504
|
nextId: $m,
|
|
@@ -1174,7 +1174,7 @@ function hp(n) {
|
|
|
1174
1174
|
function Hs(n) {
|
|
1175
1175
|
return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1177
|
+
function Ji(n) {
|
|
1178
1178
|
const t = [];
|
|
1179
1179
|
return Hs(n).forEach((i) => {
|
|
1180
1180
|
i.traverse((s) => {
|
|
@@ -1229,7 +1229,7 @@ class fc extends Qm {
|
|
|
1229
1229
|
if (this.wrapper || console.warn("wrapper is not find, creating a html element and call setWrapper(wrapper)", this, e), this.requestAnimationFrameId)
|
|
1230
1230
|
return;
|
|
1231
1231
|
const s = () => {
|
|
1232
|
-
this.requestAnimationFrameId = requestAnimationFrame(s), e.visible &&
|
|
1232
|
+
this.requestAnimationFrameId = requestAnimationFrame(s), e.visible && Ji(e).length !== 0 && this.render(e, i);
|
|
1233
1233
|
};
|
|
1234
1234
|
s();
|
|
1235
1235
|
}
|
|
@@ -1439,7 +1439,7 @@ class bp extends w.Scene {
|
|
|
1439
1439
|
super();
|
|
1440
1440
|
}
|
|
1441
1441
|
add(...t) {
|
|
1442
|
-
return super.add(...t),
|
|
1442
|
+
return super.add(...t), Ji(t).forEach((e) => {
|
|
1443
1443
|
e.mode = "front";
|
|
1444
1444
|
}), this;
|
|
1445
1445
|
}
|
|
@@ -1453,12 +1453,12 @@ class yp extends w.Scene {
|
|
|
1453
1453
|
this.scene = e;
|
|
1454
1454
|
}
|
|
1455
1455
|
add(...e) {
|
|
1456
|
-
return super.add(...e),
|
|
1456
|
+
return super.add(...e), Ji(e).forEach((i) => {
|
|
1457
1457
|
i.mode = "behind", this.scene.add(i.getOpacityMesh());
|
|
1458
1458
|
}), this;
|
|
1459
1459
|
}
|
|
1460
1460
|
remove(...e) {
|
|
1461
|
-
return
|
|
1461
|
+
return Ji(e).forEach((i) => {
|
|
1462
1462
|
var s;
|
|
1463
1463
|
(s = i.opacityMesh) == null || s.removeFromParent(), i.opacityMesh = null;
|
|
1464
1464
|
}), super.remove(...e), this;
|
|
@@ -1473,7 +1473,7 @@ class rf extends w.Group {
|
|
|
1473
1473
|
this.mode = e;
|
|
1474
1474
|
}
|
|
1475
1475
|
add(...e) {
|
|
1476
|
-
return
|
|
1476
|
+
return Ji(e).forEach((i) => {
|
|
1477
1477
|
i.mode = this.mode;
|
|
1478
1478
|
}), super.add(...e), this.updateLength(), this;
|
|
1479
1479
|
}
|
|
@@ -1486,7 +1486,7 @@ class rf extends w.Group {
|
|
|
1486
1486
|
return super.remove(...e), this.updateLength(), this;
|
|
1487
1487
|
}
|
|
1488
1488
|
updateLength() {
|
|
1489
|
-
this.CSS3DObjectLength =
|
|
1489
|
+
this.CSS3DObjectLength = Ji(this).length;
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
class wp extends rf {
|
|
@@ -1503,12 +1503,12 @@ class Cp extends rf {
|
|
|
1503
1503
|
this.scene = e;
|
|
1504
1504
|
}
|
|
1505
1505
|
add(...e) {
|
|
1506
|
-
return
|
|
1506
|
+
return Ji(e).forEach((i) => {
|
|
1507
1507
|
this.scene.add(i.getOpacityMesh());
|
|
1508
1508
|
}), super.add(...e), this;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
const Pp = 3, Wa = "CSS3DRenderer", Ms = `${Wa}@${Pp}`,
|
|
1511
|
+
const Pp = 3, Wa = "CSS3DRenderer", Ms = `${Wa}@${Pp}`, An = () => {
|
|
1512
1512
|
console.error(`${Ms} is disposed`);
|
|
1513
1513
|
}, Ke = {
|
|
1514
1514
|
css3DObjects: [],
|
|
@@ -1577,7 +1577,7 @@ class Ns {
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
d(this, "create3DElement", (t, e, i) => {
|
|
1579
1579
|
if (this.state.disposed)
|
|
1580
|
-
return
|
|
1580
|
+
return An();
|
|
1581
1581
|
const s = (() => {
|
|
1582
1582
|
const k = {
|
|
1583
1583
|
ratio: 216e-5,
|
|
@@ -1659,7 +1659,7 @@ class Ns {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
setState(t, e = { userAction: !0 }) {
|
|
1661
1661
|
if (this.state.disposed)
|
|
1662
|
-
return
|
|
1662
|
+
return An();
|
|
1663
1663
|
const i = D({}, this.state);
|
|
1664
1664
|
this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
|
|
1665
1665
|
}
|
|
@@ -1669,25 +1669,25 @@ class Ns {
|
|
|
1669
1669
|
show() {
|
|
1670
1670
|
return Q(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
1671
1671
|
if (this.state.disposed)
|
|
1672
|
-
return
|
|
1672
|
+
return An();
|
|
1673
1673
|
this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
|
|
1674
1674
|
});
|
|
1675
1675
|
}
|
|
1676
1676
|
hide() {
|
|
1677
1677
|
return Q(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
1678
1678
|
if (this.state.disposed)
|
|
1679
|
-
return
|
|
1679
|
+
return An();
|
|
1680
1680
|
this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
|
|
1681
1681
|
});
|
|
1682
1682
|
}
|
|
1683
1683
|
enable({ userAction: t } = { userAction: !0 }) {
|
|
1684
1684
|
if (this.state.disposed)
|
|
1685
|
-
return
|
|
1685
|
+
return An();
|
|
1686
1686
|
this.setState({ enabled: !0 }, { userAction: t }), this.hooks.emit("enable", { userAction: t });
|
|
1687
1687
|
}
|
|
1688
1688
|
disable({ userAction: t } = { userAction: !0 }) {
|
|
1689
1689
|
if (this.state.disposed)
|
|
1690
|
-
return
|
|
1690
|
+
return An();
|
|
1691
1691
|
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
1692
1692
|
}
|
|
1693
1693
|
getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
@@ -2197,7 +2197,7 @@ class uf {
|
|
|
2197
2197
|
/** 缩放动画 */
|
|
2198
2198
|
doAnimation() {
|
|
2199
2199
|
var t;
|
|
2200
|
-
(t = this.animeIns) == null || t.dispose(), new
|
|
2200
|
+
(t = this.animeIns) == null || t.dispose(), new qi({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(Gt.Quadratic.InOut).onUpdate(({ progress: e }) => {
|
|
2201
2201
|
}).play();
|
|
2202
2202
|
}
|
|
2203
2203
|
dispose() {
|
|
@@ -2276,7 +2276,7 @@ function pf(n) {
|
|
|
2276
2276
|
function pl(n, t) {
|
|
2277
2277
|
return pf(t) ? t : `${n}${t}`;
|
|
2278
2278
|
}
|
|
2279
|
-
class
|
|
2279
|
+
class qi extends fr {
|
|
2280
2280
|
constructor() {
|
|
2281
2281
|
super(...arguments);
|
|
2282
2282
|
d(this, "disposeMethods", []);
|
|
@@ -2297,7 +2297,7 @@ class Ji extends fr {
|
|
|
2297
2297
|
}
|
|
2298
2298
|
}
|
|
2299
2299
|
function On(n, t = Gt.Linear.None) {
|
|
2300
|
-
const e = new
|
|
2300
|
+
const e = new qi({ progress: 0 }).to({ progress: 1 });
|
|
2301
2301
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
2302
2302
|
}
|
|
2303
2303
|
const Qs = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), Np = window.cancelAnimationFrame || clearTimeout;
|
|
@@ -2377,7 +2377,7 @@ function bt(n, t, e = { deep: !1 }) {
|
|
|
2377
2377
|
}
|
|
2378
2378
|
const R3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2379
2379
|
__proto__: null,
|
|
2380
|
-
BetterTween:
|
|
2380
|
+
BetterTween: qi,
|
|
2381
2381
|
Interval: Ua,
|
|
2382
2382
|
LineSegments: mf,
|
|
2383
2383
|
Magnifier: ml,
|
|
@@ -2898,21 +2898,21 @@ function Pl(n) {
|
|
|
2898
2898
|
Xa.push(n);
|
|
2899
2899
|
}
|
|
2900
2900
|
const pa = /* @__PURE__ */ new Set();
|
|
2901
|
-
let
|
|
2901
|
+
let vn = 0;
|
|
2902
2902
|
function Il() {
|
|
2903
|
-
if (
|
|
2903
|
+
if (vn !== 0)
|
|
2904
2904
|
return;
|
|
2905
2905
|
const n = Gs;
|
|
2906
2906
|
do {
|
|
2907
2907
|
try {
|
|
2908
|
-
for (;
|
|
2909
|
-
const t = Pn[
|
|
2910
|
-
|
|
2908
|
+
for (; vn < Pn.length; ) {
|
|
2909
|
+
const t = Pn[vn];
|
|
2910
|
+
vn++, gi(t), iA(t.$$);
|
|
2911
2911
|
}
|
|
2912
2912
|
} catch (t) {
|
|
2913
|
-
throw Pn.length = 0,
|
|
2913
|
+
throw Pn.length = 0, vn = 0, t;
|
|
2914
2914
|
}
|
|
2915
|
-
for (gi(null), Pn.length = 0,
|
|
2915
|
+
for (gi(null), Pn.length = 0, vn = 0; He.length; )
|
|
2916
2916
|
He.pop()();
|
|
2917
2917
|
for (let t = 0; t < Tn.length; t += 1) {
|
|
2918
2918
|
const e = Tn[t];
|
|
@@ -2941,7 +2941,7 @@ function El() {
|
|
|
2941
2941
|
vs = null;
|
|
2942
2942
|
})), vs;
|
|
2943
2943
|
}
|
|
2944
|
-
function
|
|
2944
|
+
function Wi(n, t, e) {
|
|
2945
2945
|
n.dispatchEvent(Mf(`${t ? "intro" : "outro"}${e}`));
|
|
2946
2946
|
}
|
|
2947
2947
|
const Ho = /* @__PURE__ */ new Set();
|
|
@@ -2971,7 +2971,7 @@ function O(n, t, e, i) {
|
|
|
2971
2971
|
i && i();
|
|
2972
2972
|
}
|
|
2973
2973
|
const Ml = { duration: 0 };
|
|
2974
|
-
function
|
|
2974
|
+
function sn(n, t, e) {
|
|
2975
2975
|
const i = { direction: "in" };
|
|
2976
2976
|
let s = t(n, e, i), o = !1, r, a, l = 0;
|
|
2977
2977
|
function c() {
|
|
@@ -2981,10 +2981,10 @@ function nn(n, t, e) {
|
|
|
2981
2981
|
const { delay: f = 0, duration: g = 300, easing: A = mi, tick: p = J, css: m } = s || Ml;
|
|
2982
2982
|
m && (r = Jo(n, 0, 1, g, f, A, m, l++)), p(0, 1);
|
|
2983
2983
|
const b = vl() + f, y = b + g;
|
|
2984
|
-
a && a.abort(), o = !0, Xe(() =>
|
|
2984
|
+
a && a.abort(), o = !0, Xe(() => Wi(n, !0, "start")), a = yl((P) => {
|
|
2985
2985
|
if (o) {
|
|
2986
2986
|
if (P >= y)
|
|
2987
|
-
return p(1, 0),
|
|
2987
|
+
return p(1, 0), Wi(n, !0, "end"), c(), o = !1;
|
|
2988
2988
|
if (P >= b) {
|
|
2989
2989
|
const I = A((P - b) / g);
|
|
2990
2990
|
p(I, 1 - I);
|
|
@@ -3015,10 +3015,10 @@ function ts(n, t, e) {
|
|
|
3015
3015
|
const { delay: c = 0, duration: h = 300, easing: u = mi, tick: f = J, css: g } = s || Ml;
|
|
3016
3016
|
g && (r = Jo(n, 1, 0, h, c, u, g));
|
|
3017
3017
|
const A = vl() + c, p = A + h;
|
|
3018
|
-
Xe(() =>
|
|
3018
|
+
Xe(() => Wi(n, !1, "start")), yl((m) => {
|
|
3019
3019
|
if (o) {
|
|
3020
3020
|
if (m >= p)
|
|
3021
|
-
return f(0, 1),
|
|
3021
|
+
return f(0, 1), Wi(n, !1, "end"), --a.r || et(a.c), !1;
|
|
3022
3022
|
if (m >= A) {
|
|
3023
3023
|
const b = u((m - A) / h);
|
|
3024
3024
|
f(1 - b, b);
|
|
@@ -3058,10 +3058,10 @@ function ni(n, t, e, i) {
|
|
|
3058
3058
|
start: vl() + A,
|
|
3059
3059
|
b: g
|
|
3060
3060
|
};
|
|
3061
|
-
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Jo(n, r, g, p, A, m, y)), g && b(0, 1), a = u(P, p), Xe(() =>
|
|
3062
|
-
if (l && I > l.start && (a = u(l, p), l = null,
|
|
3061
|
+
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Jo(n, r, g, p, A, m, y)), g && b(0, 1), a = u(P, p), Xe(() => Wi(n, g, "start")), yl((I) => {
|
|
3062
|
+
if (l && I > l.start && (a = u(l, p), l = null, Wi(n, a.b, "start"), y && (h(), c = Jo(n, r, a.b, a.duration, 0, m, o.css))), a) {
|
|
3063
3063
|
if (I >= a.end)
|
|
3064
|
-
b(r = a.b, 1 - r),
|
|
3064
|
+
b(r = a.b, 1 - r), Wi(n, a.b, "end"), l || (a.b ? h() : --a.group.r || et(a.group.c)), a = null;
|
|
3065
3065
|
else if (I >= a.start) {
|
|
3066
3066
|
const k = I - a.start;
|
|
3067
3067
|
r = a.a + a.d * m(k / a.duration), b(r, 1 - r);
|
|
@@ -3913,8 +3913,8 @@ const N3 = (n) => new OA(n), Q3 = {
|
|
|
3913
3913
|
name: "ModelRoomLabelPlugin",
|
|
3914
3914
|
version: 0
|
|
3915
3915
|
};
|
|
3916
|
-
var
|
|
3917
|
-
function
|
|
3916
|
+
var Ui = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(Ui || {});
|
|
3917
|
+
function Ki(n) {
|
|
3918
3918
|
return Q(this, null, function* () {
|
|
3919
3919
|
try {
|
|
3920
3920
|
return [null, yield n];
|
|
@@ -3963,19 +3963,19 @@ function tr(n, { delay: t = 0, speed: e, duration: i, easing: s = Rn } = {}) {
|
|
|
3963
3963
|
`
|
|
3964
3964
|
};
|
|
3965
3965
|
}
|
|
3966
|
-
const
|
|
3966
|
+
const bn = [];
|
|
3967
3967
|
function Dl(n, t = J) {
|
|
3968
3968
|
let e;
|
|
3969
3969
|
const i = /* @__PURE__ */ new Set();
|
|
3970
3970
|
function s(a) {
|
|
3971
3971
|
if (ae(n, a) && (n = a, e)) {
|
|
3972
|
-
const l = !
|
|
3972
|
+
const l = !bn.length;
|
|
3973
3973
|
for (const c of i)
|
|
3974
|
-
c[1](),
|
|
3974
|
+
c[1](), bn.push(c, n);
|
|
3975
3975
|
if (l) {
|
|
3976
|
-
for (let c = 0; c <
|
|
3977
|
-
|
|
3978
|
-
|
|
3976
|
+
for (let c = 0; c < bn.length; c += 2)
|
|
3977
|
+
bn[c][0](bn[c + 1]);
|
|
3978
|
+
bn.length = 0;
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
@@ -5015,16 +5015,16 @@ function av(n) {
|
|
|
5015
5015
|
}
|
|
5016
5016
|
};
|
|
5017
5017
|
}
|
|
5018
|
-
const
|
|
5018
|
+
const yn = 1e3, wn = 180;
|
|
5019
5019
|
function lv(n, t, e) {
|
|
5020
5020
|
let { type: i } = t, { data: s } = t, { bounding: o } = t, { getRuleDistanceText: r } = t;
|
|
5021
|
-
const a = i === "top" || i === "bottom", l = o.max.x - o.min.x - (
|
|
5022
|
-
const p = a ? (A - o.min.x -
|
|
5021
|
+
const a = i === "top" || i === "bottom", l = o.max.x - o.min.x - (yn - wn) * 2, c = o.max.y - o.min.y - (yn - wn) * 2, h = s.map(([A, p]) => a ? [A.x, p.x] : [A.y, p.y]).flat().sort().filter((A, p, m) => p === 0 ? !0 : A !== m[p - 1]), u = h.map((A) => {
|
|
5022
|
+
const p = a ? (A - o.min.x - yn + wn) / l : 0, m = a ? 0 : (A - o.min.y - yn + wn) / c;
|
|
5023
5023
|
return { left: p, bottom: m };
|
|
5024
5024
|
});
|
|
5025
5025
|
u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
5026
5026
|
const f = h[h.length - 1] - h[0], g = h.map((A, p, m) => {
|
|
5027
|
-
const b = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x -
|
|
5027
|
+
const b = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - yn + wn) / l : 0, I = a ? 0 : (y - o.min.y - yn + wn) / c;
|
|
5028
5028
|
return { left: P, bottom: I, distance: b };
|
|
5029
5029
|
}).filter(({ distance: A }) => A / f > 0.1);
|
|
5030
5030
|
return n.$$set = (A) => {
|
|
@@ -6882,7 +6882,7 @@ function Yc(n) {
|
|
|
6882
6882
|
for (let l = 0; l < s.length; l += 1)
|
|
6883
6883
|
x(o[l]);
|
|
6884
6884
|
e || Xe(() => {
|
|
6885
|
-
e =
|
|
6885
|
+
e = sn(t, gt, {
|
|
6886
6886
|
duration: (
|
|
6887
6887
|
/*duration*/
|
|
6888
6888
|
n[0]
|
|
@@ -7331,20 +7331,20 @@ function Zc(n, t) {
|
|
|
7331
7331
|
const e = Math.max(...n.work.observers.map((i) => i.floorIndex));
|
|
7332
7332
|
return t > e ? n.model.bounding.max.y : Math.max(...n.work.observers.filter((i) => i.floorIndex === t).map((i) => i.standingPosition.y));
|
|
7333
7333
|
}
|
|
7334
|
-
function Tl(n, t, e =
|
|
7334
|
+
function Tl(n, t, e = Ui.BOUNDING_CENTER) {
|
|
7335
7335
|
const i = Zc(n, t), s = Zc(n, t + 1);
|
|
7336
|
-
return e ===
|
|
7336
|
+
return e === Ui.BOUNDING_CENTER ? (n.model.bounding.max.y + n.model.bounding.min.y) / 2 : e === Ui.CEILING ? s : i;
|
|
7337
7337
|
}
|
|
7338
7338
|
function Ll(n, t, e, i) {
|
|
7339
7339
|
const s = Tl(n, e, i == null ? void 0 : i.attachedTo), o = new w.Vector3(0, s, 0), r = new w.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
|
|
7340
7340
|
return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
7341
7341
|
}
|
|
7342
|
-
let
|
|
7342
|
+
let on = class {
|
|
7343
7343
|
constructor(t, e) {
|
|
7344
7344
|
/**
|
|
7345
7345
|
* @realsee/dnalogel 版本号
|
|
7346
7346
|
*/
|
|
7347
|
-
d(this, "VERSION", "3.29.
|
|
7347
|
+
d(this, "VERSION", "3.29.3");
|
|
7348
7348
|
d(this, "five");
|
|
7349
7349
|
/**
|
|
7350
7350
|
* @description: 插件事件钩子
|
|
@@ -7365,18 +7365,18 @@ let sn = class {
|
|
|
7365
7365
|
absoluteUrl(t) {
|
|
7366
7366
|
return pl(this.staticPrefix, t);
|
|
7367
7367
|
}
|
|
7368
|
-
}, pi = class extends
|
|
7368
|
+
}, pi = class extends on {
|
|
7369
7369
|
};
|
|
7370
7370
|
var St = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(St || {});
|
|
7371
7371
|
const Ff = 500, v0 = 80;
|
|
7372
|
-
function
|
|
7372
|
+
function Yi(n, t, e = 4) {
|
|
7373
7373
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
7374
7374
|
}
|
|
7375
7375
|
function _f(n, t, e = 4) {
|
|
7376
7376
|
const i = Math.PI * 2, s = n % i, o = t % i, r = Math.min(s, o), a = Math.max(s, o);
|
|
7377
|
-
return
|
|
7377
|
+
return Yi(r, a, e) || Yi(r + i, a, e);
|
|
7378
7378
|
}
|
|
7379
|
-
Object.assign(window, { nearlyEqual:
|
|
7379
|
+
Object.assign(window, { nearlyEqual: Yi, nearlyEqualRad: _f });
|
|
7380
7380
|
function b0(n) {
|
|
7381
7381
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
7382
7382
|
}
|
|
@@ -7385,7 +7385,7 @@ function Jc(n) {
|
|
|
7385
7385
|
}
|
|
7386
7386
|
function jl(n, t) {
|
|
7387
7387
|
return Q(this, null, function* () {
|
|
7388
|
-
const [e] = yield
|
|
7388
|
+
const [e] = yield Ki(n.changeMode(...t));
|
|
7389
7389
|
if (e)
|
|
7390
7390
|
throw new Error("change mode canceled");
|
|
7391
7391
|
yield new Promise((r) => {
|
|
@@ -7404,14 +7404,14 @@ function jl(n, t) {
|
|
|
7404
7404
|
function y0(n, t) {
|
|
7405
7405
|
return Object.keys(n).every((e) => {
|
|
7406
7406
|
const i = t[e], s = n[e];
|
|
7407
|
-
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? _f(i, s, 2) : typeof i == "number" && typeof s == "number" ?
|
|
7407
|
+
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? _f(i, s, 2) : typeof i == "number" && typeof s == "number" ? Yi(i, s, 2) : Jc(s) && Jc(i) ? s.distanceTo(i) < 0.01 : i === s;
|
|
7408
7408
|
});
|
|
7409
7409
|
}
|
|
7410
7410
|
function w0(n, t) {
|
|
7411
7411
|
if (n.currentMode !== t.mode)
|
|
7412
7412
|
return !1;
|
|
7413
7413
|
const { latitude: e, longitude: i, fov: s, offset: o } = t, { latitude: r, longitude: a, offset: l } = n.getCurrentState(), c = n.camera.fov;
|
|
7414
|
-
return !(!
|
|
7414
|
+
return !(!Yi(e, r, 2) || !Yi(i, a, 2) || o !== void 0 && o.distanceTo(l) > 0.01 || !Yi(s, c, 2));
|
|
7415
7415
|
}
|
|
7416
7416
|
function Wf(n, t, e = !0) {
|
|
7417
7417
|
return Q(this, null, function* () {
|
|
@@ -7419,7 +7419,7 @@ function Wf(n, t, e = !0) {
|
|
|
7419
7419
|
return;
|
|
7420
7420
|
const s = n.getCurrentState();
|
|
7421
7421
|
if (s.mode !== t.mode) {
|
|
7422
|
-
const [h] = yield
|
|
7422
|
+
const [h] = yield Ki(jl(n, [t.mode, t, void 0, e]));
|
|
7423
7423
|
if (h)
|
|
7424
7424
|
throw h;
|
|
7425
7425
|
return;
|
|
@@ -7432,7 +7432,7 @@ function Wf(n, t, e = !0) {
|
|
|
7432
7432
|
(r > Math.PI ? 2 * Math.PI - r : r) * 500,
|
|
7433
7433
|
typeof t.fov == "number" ? Math.abs(a - t.fov) * 10 : 1 / 0
|
|
7434
7434
|
)
|
|
7435
|
-
), [c] = yield
|
|
7435
|
+
), [c] = yield Ki(n.updateCamera(Vn(t, ["mode"]), l, e));
|
|
7436
7436
|
if (c)
|
|
7437
7437
|
throw new Error(St.UpdateCameraError);
|
|
7438
7438
|
});
|
|
@@ -7559,7 +7559,7 @@ let I0 = class extends pi {
|
|
|
7559
7559
|
this.showRejection = (u) => {
|
|
7560
7560
|
a = !0, l = u;
|
|
7561
7561
|
};
|
|
7562
|
-
const [c] = yield
|
|
7562
|
+
const [c] = yield Ki(Wf(this.five, this.showState, s.userAction));
|
|
7563
7563
|
if (c)
|
|
7564
7564
|
throw c;
|
|
7565
7565
|
if (a)
|
|
@@ -7681,7 +7681,7 @@ let I0 = class extends pi {
|
|
|
7681
7681
|
roomDimensionEnable: !0,
|
|
7682
7682
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
7683
7683
|
cameraImageUrl: Ei,
|
|
7684
|
-
attachedTo:
|
|
7684
|
+
attachedTo: Ui.BOUNDING_CENTER,
|
|
7685
7685
|
getLabelElement: void 0,
|
|
7686
7686
|
missingFloorConfig: D(D({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
7687
7687
|
i18n: (u) => u,
|
|
@@ -7898,7 +7898,7 @@ let k0 = class extends pi {
|
|
|
7898
7898
|
this.showRejection = (u) => {
|
|
7899
7899
|
a = !0, l = u;
|
|
7900
7900
|
};
|
|
7901
|
-
const [c] = yield
|
|
7901
|
+
const [c] = yield Ki(Wf(this.five, this.showState, s.userAction));
|
|
7902
7902
|
if (c)
|
|
7903
7903
|
throw c;
|
|
7904
7904
|
if (a)
|
|
@@ -8014,7 +8014,7 @@ let k0 = class extends pi {
|
|
|
8014
8014
|
roomNameEnable: !0,
|
|
8015
8015
|
roomDimensionEnable: !0,
|
|
8016
8016
|
cameraImageUrl: Ei,
|
|
8017
|
-
attachedTo:
|
|
8017
|
+
attachedTo: Ui.BOUNDING_CENTER,
|
|
8018
8018
|
getLabelElement: void 0,
|
|
8019
8019
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
8020
8020
|
missingFloorConfig: D(D({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -8243,7 +8243,7 @@ let x0 = class extends pi {
|
|
|
8243
8243
|
roomNameEnable: !0,
|
|
8244
8244
|
roomDimensionEnable: !0,
|
|
8245
8245
|
cameraImageUrl: Ei,
|
|
8246
|
-
attachedTo:
|
|
8246
|
+
attachedTo: Ui.BOUNDING_CENTER,
|
|
8247
8247
|
getLabelElement: void 0,
|
|
8248
8248
|
missingFloorConfig: D(D({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
8249
8249
|
i18n: (h) => h,
|
|
@@ -10476,7 +10476,7 @@ function vb() {
|
|
|
10476
10476
|
};
|
|
10477
10477
|
}
|
|
10478
10478
|
const bb = new w.TextureLoader();
|
|
10479
|
-
function
|
|
10479
|
+
function Xi(n) {
|
|
10480
10480
|
return Q(this, null, function* () {
|
|
10481
10481
|
return new Promise((t, e) => {
|
|
10482
10482
|
bb.load(n, t, void 0, e);
|
|
@@ -10485,7 +10485,7 @@ function Yi(n) {
|
|
|
10485
10485
|
}
|
|
10486
10486
|
function Jf(n) {
|
|
10487
10487
|
return Q(this, null, function* () {
|
|
10488
|
-
return
|
|
10488
|
+
return Xi(n).then((t) => {
|
|
10489
10489
|
const e = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
|
|
10490
10490
|
return { texture: t, transparent: e };
|
|
10491
10491
|
});
|
|
@@ -10701,7 +10701,7 @@ class yb extends pi {
|
|
|
10701
10701
|
}
|
|
10702
10702
|
loadCompassMesh() {
|
|
10703
10703
|
return Q(this, null, function* () {
|
|
10704
|
-
const e = this.state.config.compassImageUrl, i = yield
|
|
10704
|
+
const e = this.state.config.compassImageUrl, i = yield Xi(e), s = new w.CircleGeometry(0.7, 32), o = new w.MeshBasicMaterial({
|
|
10705
10705
|
map: i,
|
|
10706
10706
|
transparent: !0,
|
|
10707
10707
|
opacity: 0,
|
|
@@ -10714,7 +10714,7 @@ class yb extends pi {
|
|
|
10714
10714
|
return Q(this, null, function* () {
|
|
10715
10715
|
if (!this.state.config.logoURL)
|
|
10716
10716
|
return;
|
|
10717
|
-
const e = this.state.config.logoURL, i = yield
|
|
10717
|
+
const e = this.state.config.logoURL, i = yield Xi(e);
|
|
10718
10718
|
i.minFilter = w.NearestFilter, i.magFilter = w.NearestFilter;
|
|
10719
10719
|
const s = new w.PlaneBufferGeometry(0.4, 0.4), o = new w.MeshBasicMaterial({
|
|
10720
10720
|
map: i,
|
|
@@ -10727,7 +10727,7 @@ class yb extends pi {
|
|
|
10727
10727
|
}
|
|
10728
10728
|
loadEntryDoorMesh() {
|
|
10729
10729
|
return Q(this, null, function* () {
|
|
10730
|
-
const e = this.state.config.entryDoorImageUrl, i = yield
|
|
10730
|
+
const e = this.state.config.entryDoorImageUrl, i = yield Xi(e), s = new w.PlaneGeometry(0.2, 0.16), o = new w.MeshBasicMaterial({
|
|
10731
10731
|
map: i,
|
|
10732
10732
|
transparent: !0,
|
|
10733
10733
|
opacity: 0.8,
|
|
@@ -10774,7 +10774,7 @@ function ch(n, t) {
|
|
|
10774
10774
|
const [e, i] = n.points, s = t === "light" ? Tb : Sb, o = Lb(e.position, i.position, s);
|
|
10775
10775
|
return o.name = "normalLine_" + n.id, o;
|
|
10776
10776
|
}
|
|
10777
|
-
function
|
|
10777
|
+
function $i(n) {
|
|
10778
10778
|
const { x: t, y: e, z: i } = n;
|
|
10779
10779
|
return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(i) > 1);
|
|
10780
10780
|
}
|
|
@@ -11446,7 +11446,7 @@ function Fb(n, t) {
|
|
|
11446
11446
|
if (i)
|
|
11447
11447
|
return se(D({}, i), { raycaster: t, isVirtual: !1 });
|
|
11448
11448
|
}
|
|
11449
|
-
const
|
|
11449
|
+
const Cn = () => !1;
|
|
11450
11450
|
class og extends ii {
|
|
11451
11451
|
constructor(e, i) {
|
|
11452
11452
|
var r, a;
|
|
@@ -11602,14 +11602,14 @@ class og extends ii {
|
|
|
11602
11602
|
const e = this.five.getElement();
|
|
11603
11603
|
if (!e)
|
|
11604
11604
|
throw new Error("five element not found");
|
|
11605
|
-
this.hammer || (this.hammer = new ur(e)), this.mode === "cursor" ? (this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano",
|
|
11605
|
+
this.hammer || (this.hammer = new ur(e)), this.mode === "cursor" ? (this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", Cn), this.five.on("wantsChangeMode", Cn), this.five.on("wantsTapGesture", Cn), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("mouseenter", this.onEnter), e.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
11606
11606
|
}
|
|
11607
11607
|
disable() {
|
|
11608
11608
|
if (!this.enabled)
|
|
11609
11609
|
return;
|
|
11610
11610
|
this.enabled = !1, this.pointSelectorHelper.disable();
|
|
11611
11611
|
const e = this.five.getElement();
|
|
11612
|
-
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano",
|
|
11612
|
+
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Cn), this.five.off("wantsChangeMode", Cn), this.five.off("wantsTapGesture", Cn), this.five.helperVisible = this.lastFiveHelperVisible, e == null || e.removeEventListener("mousemove", this.updateByMousePosition), e == null || e.removeEventListener("mouseenter", this.onEnter), e == null || e.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
|
|
11613
11613
|
}
|
|
11614
11614
|
dispose() {
|
|
11615
11615
|
this.disable(), this.pointSelectorHelper.dispose();
|
|
@@ -11874,7 +11874,7 @@ class Pi extends yr {
|
|
|
11874
11874
|
return;
|
|
11875
11875
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((b) => {
|
|
11876
11876
|
const [y, P] = b.points, I = y.position.clone().project(r), k = P.position.clone().project(r);
|
|
11877
|
-
if (
|
|
11877
|
+
if (!$i(I) && !$i(k))
|
|
11878
11878
|
return null;
|
|
11879
11879
|
const E = new yt(I.x * l, I.y * c), j = new yt(k.x * l, k.y * c);
|
|
11880
11880
|
return { id: b.id, points: [E, j] };
|
|
@@ -12028,7 +12028,7 @@ function Xb(n, t, e, i) {
|
|
|
12028
12028
|
return null;
|
|
12029
12029
|
const o = { width: s.clientWidth, height: s.clientHeight }, r = t.map((a) => {
|
|
12030
12030
|
const l = a.position.clone().project(n.camera);
|
|
12031
|
-
return
|
|
12031
|
+
return $i(l) ? { distance: Yb(l, o).distanceTo(e), point: a } : { distance: 1 / 0, point: a };
|
|
12032
12032
|
}).sort((a, l) => a.distance - l.distance);
|
|
12033
12033
|
return typeof i == "number" && r[0].distance > i ? null : r[0];
|
|
12034
12034
|
}
|
|
@@ -12113,7 +12113,7 @@ class ph extends yr {
|
|
|
12113
12113
|
return;
|
|
12114
12114
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((m) => {
|
|
12115
12115
|
const [b, y] = m.points, P = b.position.clone().project(r), I = y.position.clone().project(r);
|
|
12116
|
-
if (
|
|
12116
|
+
if (!$i(P) && !$i(I))
|
|
12117
12117
|
return null;
|
|
12118
12118
|
const k = new yt(P.x * l, P.y * c), E = new yt(I.x * l, I.y * c);
|
|
12119
12119
|
return { id: m.id, points: [k, E] };
|
|
@@ -12467,7 +12467,7 @@ class ys extends yr {
|
|
|
12467
12467
|
return;
|
|
12468
12468
|
const s = this.five.camera, o = i.point.clone().project(s), r = this.container.clientWidth, a = this.container.clientHeight, l = new yt(o.x * r, o.y * a), c = this.model.getAllLines().map((g) => {
|
|
12469
12469
|
const [A, p] = g.points, m = A.position.clone().project(s), b = p.position.clone().project(s);
|
|
12470
|
-
if (
|
|
12470
|
+
if (!$i(m) && !$i(b))
|
|
12471
12471
|
return null;
|
|
12472
12472
|
const y = new yt(m.x * r, m.y * a), P = new yt(b.x * r, b.y * a);
|
|
12473
12473
|
return { id: g.id, points: [y, P] };
|
|
@@ -14435,7 +14435,7 @@ class Y1 {
|
|
|
14435
14435
|
return this.measureController.getCurrentMode() === "Watch" ? this.measureController.disable() : this.measureController.save().changeMode("Watch");
|
|
14436
14436
|
}
|
|
14437
14437
|
}
|
|
14438
|
-
function
|
|
14438
|
+
function en(n) {
|
|
14439
14439
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
14440
14440
|
}
|
|
14441
14441
|
class X1 {
|
|
@@ -14502,7 +14502,7 @@ class X1 {
|
|
|
14502
14502
|
i18n: e.i18n,
|
|
14503
14503
|
pointSelectorMode: i,
|
|
14504
14504
|
useNewUI: this.allowMeasureType.length > 1
|
|
14505
|
-
},
|
|
14505
|
+
}, en(this.params.useUIController));
|
|
14506
14506
|
this.useUIController = new V1(this, A);
|
|
14507
14507
|
}
|
|
14508
14508
|
if (this.params.useGuideController !== !1) {
|
|
@@ -14510,7 +14510,7 @@ class X1 {
|
|
|
14510
14510
|
container: this.container,
|
|
14511
14511
|
pointSelectorMode: i,
|
|
14512
14512
|
i18n: e.i18n
|
|
14513
|
-
},
|
|
14513
|
+
}, en(this.params.useGuideController));
|
|
14514
14514
|
this.useGuideController = new U1(this, A);
|
|
14515
14515
|
}
|
|
14516
14516
|
}
|
|
@@ -15236,7 +15236,7 @@ const ya = 1e-3, Qh = 0.01, ly = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15236
15236
|
Ve.clone().add(Xt),
|
|
15237
15237
|
Ve.clone().add(new w.Vector3(0, ya, 0)).add(Xt),
|
|
15238
15238
|
Ve.clone().add(new w.Vector3(0, ya, 0))
|
|
15239
|
-
].map((
|
|
15239
|
+
].map((ln) => ns.projectPoint(ln, new w.Vector3())), { container: zi, dispose: kt } = u.create3DDomContainer(Ai) || {}, an = new iy({
|
|
15240
15240
|
target: zi,
|
|
15241
15241
|
props: {
|
|
15242
15242
|
id: Je,
|
|
@@ -15255,7 +15255,7 @@ const ya = 1e-3, Qh = 0.01, ly = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15255
15255
|
position: Ve,
|
|
15256
15256
|
normal: Ne,
|
|
15257
15257
|
id: Je,
|
|
15258
|
-
app:
|
|
15258
|
+
app: an
|
|
15259
15259
|
});
|
|
15260
15260
|
}
|
|
15261
15261
|
}
|
|
@@ -16530,7 +16530,7 @@ const Vy = void 0, Px = (n, t) => {
|
|
|
16530
16530
|
name: "ItemLabelPlugin",
|
|
16531
16531
|
version: 0
|
|
16532
16532
|
};
|
|
16533
|
-
class Hy extends
|
|
16533
|
+
class Hy extends on {
|
|
16534
16534
|
constructor(e) {
|
|
16535
16535
|
super(e);
|
|
16536
16536
|
d(this, "state");
|
|
@@ -17304,7 +17304,7 @@ const Bw = {
|
|
|
17304
17304
|
}
|
|
17305
17305
|
}
|
|
17306
17306
|
};
|
|
17307
|
-
class Rw extends
|
|
17307
|
+
class Rw extends on {
|
|
17308
17308
|
constructor(e) {
|
|
17309
17309
|
super(e);
|
|
17310
17310
|
d(this, "tagCacheByPanoIndex", {});
|
|
@@ -18470,7 +18470,7 @@ class Ww extends Fw {
|
|
|
18470
18470
|
/** 通过射线检测标签可用性 */
|
|
18471
18471
|
getTagEnableByIntersect(t, e) {
|
|
18472
18472
|
var c, h, u, f, g;
|
|
18473
|
-
const i =
|
|
18473
|
+
const i = en(en((c = this.getTagConfig(t).visibleConfig) != null ? c : {}).intersectRaycaster), s = e != null ? e : this.five.getCurrentState().panoIndex, o = Nt(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(s) : this.five.camera.position;
|
|
18474
18474
|
if (o === void 0)
|
|
18475
18475
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
|
|
18476
18476
|
const r = Hs(
|
|
@@ -18659,7 +18659,7 @@ function od(n) {
|
|
|
18659
18659
|
},
|
|
18660
18660
|
i(r) {
|
|
18661
18661
|
o || (r && Xe(() => {
|
|
18662
|
-
o && (s && s.end(1), i =
|
|
18662
|
+
o && (s && s.end(1), i = sn(t, tr, {
|
|
18663
18663
|
duration: (
|
|
18664
18664
|
/*duration*/
|
|
18665
18665
|
n[2]
|
|
@@ -18857,7 +18857,7 @@ function rd(n) {
|
|
|
18857
18857
|
},
|
|
18858
18858
|
i(r) {
|
|
18859
18859
|
o || (r && Xe(() => {
|
|
18860
|
-
o && (s && s.end(1), i =
|
|
18860
|
+
o && (s && s.end(1), i = sn(t, gt, { duration: (
|
|
18861
18861
|
/*inDelay*/
|
|
18862
18862
|
n[0]
|
|
18863
18863
|
) }), i.start());
|
|
@@ -19241,7 +19241,7 @@ function cd(n) {
|
|
|
19241
19241
|
},
|
|
19242
19242
|
i(u) {
|
|
19243
19243
|
l || (x(e.$$.fragment, u), u && Xe(() => {
|
|
19244
|
-
l && (a && a.end(1), r =
|
|
19244
|
+
l && (a && a.end(1), r = sn(s, gt, {
|
|
19245
19245
|
duration: (
|
|
19246
19246
|
/*duration*/
|
|
19247
19247
|
n[2]
|
|
@@ -20287,7 +20287,7 @@ function Ad(n) {
|
|
|
20287
20287
|
},
|
|
20288
20288
|
i(o) {
|
|
20289
20289
|
s || (o && Xe(() => {
|
|
20290
|
-
s && (i && i.end(1), e =
|
|
20290
|
+
s && (i && i.end(1), e = sn(t, tr, {
|
|
20291
20291
|
duration: (
|
|
20292
20292
|
/*duration*/
|
|
20293
20293
|
n[1]
|
|
@@ -21039,7 +21039,7 @@ var GP = Array.prototype, FP = Function.prototype, jg = Object.prototype, Ma = W
|
|
|
21039
21039
|
}(), zg = FP.toString, Ul = jg.hasOwnProperty, Og = jg.toString, _P = RegExp(
|
|
21040
21040
|
"^" + zg.call(Ul).replace(OP, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21041
21041
|
), Md = Wl.Symbol, WP = GP.splice, UP = Bg(Wl, "Map"), _s = Bg(Object, "create"), kd = Md ? Md.prototype : void 0, xd = kd ? kd.toString : void 0;
|
|
21042
|
-
function
|
|
21042
|
+
function tn(n) {
|
|
21043
21043
|
var t = -1, e = n ? n.length : 0;
|
|
21044
21044
|
for (this.clear(); ++t < e; ) {
|
|
21045
21045
|
var i = n[t];
|
|
@@ -21068,11 +21068,11 @@ function qP(n, t) {
|
|
|
21068
21068
|
var e = this.__data__;
|
|
21069
21069
|
return e[n] = _s && t === void 0 ? Tg : t, this;
|
|
21070
21070
|
}
|
|
21071
|
-
|
|
21072
|
-
|
|
21073
|
-
|
|
21074
|
-
|
|
21075
|
-
|
|
21071
|
+
tn.prototype.clear = YP;
|
|
21072
|
+
tn.prototype.delete = XP;
|
|
21073
|
+
tn.prototype.get = ZP;
|
|
21074
|
+
tn.prototype.has = JP;
|
|
21075
|
+
tn.prototype.set = qP;
|
|
21076
21076
|
function is(n) {
|
|
21077
21077
|
var t = -1, e = n ? n.length : 0;
|
|
21078
21078
|
for (this.clear(); ++t < e; ) {
|
|
@@ -21106,7 +21106,7 @@ is.prototype.delete = $P;
|
|
|
21106
21106
|
is.prototype.get = eI;
|
|
21107
21107
|
is.prototype.has = tI;
|
|
21108
21108
|
is.prototype.set = iI;
|
|
21109
|
-
function
|
|
21109
|
+
function rn(n) {
|
|
21110
21110
|
var t = -1, e = n ? n.length : 0;
|
|
21111
21111
|
for (this.clear(); ++t < e; ) {
|
|
21112
21112
|
var i = n[t];
|
|
@@ -21115,9 +21115,9 @@ function on(n) {
|
|
|
21115
21115
|
}
|
|
21116
21116
|
function nI() {
|
|
21117
21117
|
this.__data__ = {
|
|
21118
|
-
hash: new
|
|
21118
|
+
hash: new tn(),
|
|
21119
21119
|
map: new (UP || is)(),
|
|
21120
|
-
string: new
|
|
21120
|
+
string: new tn()
|
|
21121
21121
|
};
|
|
21122
21122
|
}
|
|
21123
21123
|
function sI(n) {
|
|
@@ -21132,11 +21132,11 @@ function rI(n) {
|
|
|
21132
21132
|
function aI(n, t) {
|
|
21133
21133
|
return Er(this, n).set(n, t), this;
|
|
21134
21134
|
}
|
|
21135
|
-
|
|
21136
|
-
|
|
21137
|
-
|
|
21138
|
-
|
|
21139
|
-
|
|
21135
|
+
rn.prototype.clear = nI;
|
|
21136
|
+
rn.prototype.delete = sI;
|
|
21137
|
+
rn.prototype.get = oI;
|
|
21138
|
+
rn.prototype.has = rI;
|
|
21139
|
+
rn.prototype.set = aI;
|
|
21140
21140
|
function Ir(n, t) {
|
|
21141
21141
|
for (var e = n.length; e--; )
|
|
21142
21142
|
if (vI(n[e][0], t))
|
|
@@ -21223,9 +21223,9 @@ function Yl(n, t) {
|
|
|
21223
21223
|
var r = n.apply(this, i);
|
|
21224
21224
|
return e.cache = o.set(s, r), r;
|
|
21225
21225
|
};
|
|
21226
|
-
return e.cache = new (Yl.Cache ||
|
|
21226
|
+
return e.cache = new (Yl.Cache || rn)(), e;
|
|
21227
21227
|
}
|
|
21228
|
-
Yl.Cache =
|
|
21228
|
+
Yl.Cache = rn;
|
|
21229
21229
|
function vI(n, t) {
|
|
21230
21230
|
return n === t || n !== n && t !== t;
|
|
21231
21231
|
}
|
|
@@ -21324,7 +21324,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21324
21324
|
return v ? "Symbol(src)_1." + v : "";
|
|
21325
21325
|
}(), Ne = Mt.toString, Je = ot.hasOwnProperty, Rt = ot.toString, ns = RegExp(
|
|
21326
21326
|
"^" + Ne.call(Je).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21327
|
-
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object),
|
|
21327
|
+
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object), an = Object.create, ln = ot.propertyIsEnumerable, kr = Ye.splice, ss = Object.getOwnPropertySymbols, cn = Xt ? Xt.isBuffer : void 0, to = Ie(Object.keys, Object), hn = Ht(be, "DataView"), Oi = Ht(be, "Map"), Vt = Ht(be, "Promise"), dn = Ht(be, "Set"), os = Ht(be, "WeakMap"), Bi = Ht(Object, "create"), rs = Pt(hn), Ri = Pt(Oi), as = Pt(Vt), ls = Pt(dn), cs = Pt(os), vi = Ai ? Ai.prototype : void 0, io = vi ? vi.valueOf : void 0;
|
|
21328
21328
|
function ri(v) {
|
|
21329
21329
|
var M = -1, R = v ? v.length : 0;
|
|
21330
21330
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21366,21 +21366,21 @@ var jo = CI, or = {}, PI = {
|
|
|
21366
21366
|
this.__data__ = [];
|
|
21367
21367
|
}
|
|
21368
21368
|
function Lr(v) {
|
|
21369
|
-
var M = this.__data__, R =
|
|
21369
|
+
var M = this.__data__, R = fn(M, v);
|
|
21370
21370
|
if (R < 0)
|
|
21371
21371
|
return !1;
|
|
21372
21372
|
var Y = M.length - 1;
|
|
21373
21373
|
return R == Y ? M.pop() : kr.call(M, R, 1), !0;
|
|
21374
21374
|
}
|
|
21375
21375
|
function jr(v) {
|
|
21376
|
-
var M = this.__data__, R =
|
|
21376
|
+
var M = this.__data__, R = fn(M, v);
|
|
21377
21377
|
return R < 0 ? void 0 : M[R][1];
|
|
21378
21378
|
}
|
|
21379
21379
|
function zr(v) {
|
|
21380
|
-
return
|
|
21380
|
+
return fn(this.__data__, v) > -1;
|
|
21381
21381
|
}
|
|
21382
21382
|
function Or(v, M) {
|
|
21383
|
-
var R = this.__data__, Y =
|
|
21383
|
+
var R = this.__data__, Y = fn(R, v);
|
|
21384
21384
|
return Y < 0 ? R.push([v, M]) : R[Y][1] = M, this;
|
|
21385
21385
|
}
|
|
21386
21386
|
lt.prototype.clear = Tr, lt.prototype.delete = Lr, lt.prototype.get = jr, lt.prototype.has = zr, lt.prototype.set = Or;
|
|
@@ -21437,8 +21437,8 @@ var jo = CI, or = {}, PI = {
|
|
|
21437
21437
|
return R.set(v, M), this;
|
|
21438
21438
|
}
|
|
21439
21439
|
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get = Fr, xt.prototype.has = _r, xt.prototype.set = Wr;
|
|
21440
|
-
function
|
|
21441
|
-
var R = gs(v) ||
|
|
21440
|
+
function un(v, M) {
|
|
21441
|
+
var R = gs(v) || mn(v) ? at(v.length, String) : [], Y = R.length, Ee = !!Y;
|
|
21442
21442
|
for (var pe in v)
|
|
21443
21443
|
(M || Je.call(v, pe)) && !(Ee && (pe == "length" || oa(pe, Y))) && R.push(pe);
|
|
21444
21444
|
return R;
|
|
@@ -21447,7 +21447,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21447
21447
|
var Y = v[M];
|
|
21448
21448
|
(!(Je.call(v, M) && co(Y, R)) || R === void 0 && !(M in v)) && (v[M] = R);
|
|
21449
21449
|
}
|
|
21450
|
-
function
|
|
21450
|
+
function fn(v, M) {
|
|
21451
21451
|
for (var R = v.length; R--; )
|
|
21452
21452
|
if (co(v[R][0], M))
|
|
21453
21453
|
return R;
|
|
@@ -21469,7 +21469,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21469
21469
|
} else {
|
|
21470
21470
|
var ze = li(v), pt = ze == h || ze == u;
|
|
21471
21471
|
if (ho(v))
|
|
21472
|
-
return
|
|
21472
|
+
return gn(v, M);
|
|
21473
21473
|
if (ze == A || ze == o || pt && !pe) {
|
|
21474
21474
|
if (st(v))
|
|
21475
21475
|
return pe ? v : {};
|
|
@@ -21492,7 +21492,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21492
21492
|
}), Te;
|
|
21493
21493
|
}
|
|
21494
21494
|
function Ur(v) {
|
|
21495
|
-
return qt(v) ?
|
|
21495
|
+
return qt(v) ? an(v) : {};
|
|
21496
21496
|
}
|
|
21497
21497
|
function Yr(v, M, R) {
|
|
21498
21498
|
var Y = M(v);
|
|
@@ -21515,7 +21515,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21515
21515
|
Je.call(v, R) && R != "constructor" && M.push(R);
|
|
21516
21516
|
return M;
|
|
21517
21517
|
}
|
|
21518
|
-
function
|
|
21518
|
+
function gn(v, M) {
|
|
21519
21519
|
if (M)
|
|
21520
21520
|
return v.slice();
|
|
21521
21521
|
var R = new v.constructor(v.length);
|
|
@@ -21577,7 +21577,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21577
21577
|
return Zr(R) ? R : void 0;
|
|
21578
21578
|
}
|
|
21579
21579
|
var ai = ss ? Ie(ss, Object) : ca, li = Xr;
|
|
21580
|
-
(
|
|
21580
|
+
(hn && li(new hn(new ArrayBuffer(1))) != E || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || dn && li(new dn()) != b || os && li(new os()) != I) && (li = function(v) {
|
|
21581
21581
|
var M = Rt.call(v), R = M == A ? v.constructor : void 0, Y = R ? Pt(R) : void 0;
|
|
21582
21582
|
if (Y)
|
|
21583
21583
|
switch (Y) {
|
|
@@ -21667,17 +21667,17 @@ var jo = CI, or = {}, PI = {
|
|
|
21667
21667
|
function co(v, M) {
|
|
21668
21668
|
return v === M || v !== v && M !== M;
|
|
21669
21669
|
}
|
|
21670
|
-
function
|
|
21671
|
-
return la(v) && Je.call(v, "callee") && (!
|
|
21670
|
+
function mn(v) {
|
|
21671
|
+
return la(v) && Je.call(v, "callee") && (!ln.call(v, "callee") || Rt.call(v) == o);
|
|
21672
21672
|
}
|
|
21673
21673
|
var gs = Array.isArray;
|
|
21674
|
-
function
|
|
21674
|
+
function pn(v) {
|
|
21675
21675
|
return v != null && uo(v.length) && !ms(v);
|
|
21676
21676
|
}
|
|
21677
21677
|
function la(v) {
|
|
21678
|
-
return fo(v) &&
|
|
21678
|
+
return fo(v) && pn(v);
|
|
21679
21679
|
}
|
|
21680
|
-
var ho =
|
|
21680
|
+
var ho = cn || ha;
|
|
21681
21681
|
function ms(v) {
|
|
21682
21682
|
var M = qt(v) ? Rt.call(v) : "";
|
|
21683
21683
|
return M == h || M == u;
|
|
@@ -21693,7 +21693,7 @@ var jo = CI, or = {}, PI = {
|
|
|
21693
21693
|
return !!v && typeof v == "object";
|
|
21694
21694
|
}
|
|
21695
21695
|
function ps(v) {
|
|
21696
|
-
return
|
|
21696
|
+
return pn(v) ? un(v) : Jr(v);
|
|
21697
21697
|
}
|
|
21698
21698
|
function ca() {
|
|
21699
21699
|
return [];
|
|
@@ -21772,12 +21772,12 @@ var rr = {}, EI = {
|
|
|
21772
21772
|
R[++M] = Y;
|
|
21773
21773
|
}), R;
|
|
21774
21774
|
}
|
|
21775
|
-
var Rt = Array.prototype, ns = Function.prototype, Xt = Object.prototype, Ai = ve["__core-js_shared__"], zi = ns.toString, kt = Xt.hasOwnProperty,
|
|
21775
|
+
var Rt = Array.prototype, ns = Function.prototype, Xt = Object.prototype, Ai = ve["__core-js_shared__"], zi = ns.toString, kt = Xt.hasOwnProperty, an = function() {
|
|
21776
21776
|
var v = /[^.]+$/.exec(Ai && Ai.keys && Ai.keys.IE_PROTO || "");
|
|
21777
21777
|
return v ? "Symbol(src)_1." + v : "";
|
|
21778
|
-
}(),
|
|
21778
|
+
}(), ln = Xt.toString, kr = RegExp(
|
|
21779
21779
|
"^" + zi.call(kt).replace(Ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21780
|
-
), ss = tt ? ve.Buffer : void 0,
|
|
21780
|
+
), ss = tt ? ve.Buffer : void 0, cn = ve.Symbol, to = ve.Uint8Array, hn = Xt.propertyIsEnumerable, Oi = Rt.splice, Vt = cn ? cn.toStringTag : void 0, dn = Object.getOwnPropertySymbols, os = ss ? ss.isBuffer : void 0, Bi = Ne(Object.keys, Object), rs = ai(ve, "DataView"), Ri = ai(ve, "Map"), as = ai(ve, "Promise"), ls = ai(ve, "Set"), cs = ai(ve, "WeakMap"), vi = ai(Object, "create"), io = Pt(rs), ri = Pt(Ri), xr = Pt(as), Dr = Pt(ls), Sr = Pt(cs), no = cn ? cn.prototype : void 0, hs = no ? no.valueOf : void 0;
|
|
21781
21781
|
function lt(v) {
|
|
21782
21782
|
var M = -1, R = v == null ? 0 : v.length;
|
|
21783
21783
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21820,21 +21820,21 @@ var rr = {}, EI = {
|
|
|
21820
21820
|
this.__data__ = [], this.size = 0;
|
|
21821
21821
|
}
|
|
21822
21822
|
function Rr(v) {
|
|
21823
|
-
var M = this.__data__, R =
|
|
21823
|
+
var M = this.__data__, R = gn(M, v);
|
|
21824
21824
|
if (R < 0)
|
|
21825
21825
|
return !1;
|
|
21826
21826
|
var Y = M.length - 1;
|
|
21827
21827
|
return R == Y ? M.pop() : Oi.call(M, R, 1), --this.size, !0;
|
|
21828
21828
|
}
|
|
21829
21829
|
function Vr(v) {
|
|
21830
|
-
var M = this.__data__, R =
|
|
21830
|
+
var M = this.__data__, R = gn(M, v);
|
|
21831
21831
|
return R < 0 ? void 0 : M[R][1];
|
|
21832
21832
|
}
|
|
21833
21833
|
function Hr(v) {
|
|
21834
|
-
return
|
|
21834
|
+
return gn(this.__data__, v) > -1;
|
|
21835
21835
|
}
|
|
21836
21836
|
function Nr(v, M) {
|
|
21837
|
-
var R = this.__data__, Y =
|
|
21837
|
+
var R = this.__data__, Y = gn(R, v);
|
|
21838
21838
|
return Y < 0 ? (++this.size, R.push([v, M])) : R[Y][1] = M, this;
|
|
21839
21839
|
}
|
|
21840
21840
|
mt.prototype.clear = Br, mt.prototype.delete = Rr, mt.prototype.get = Vr, mt.prototype.has = Hr, mt.prototype.set = Nr;
|
|
@@ -21867,7 +21867,7 @@ var rr = {}, EI = {
|
|
|
21867
21867
|
return R.set(v, M), this.size += R.size == Y ? 0 : 1, this;
|
|
21868
21868
|
}
|
|
21869
21869
|
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get = Fr, xt.prototype.has = _r, xt.prototype.set = Wr;
|
|
21870
|
-
function
|
|
21870
|
+
function un(v) {
|
|
21871
21871
|
var M = -1, R = v == null ? 0 : v.length;
|
|
21872
21872
|
for (this.__data__ = new xt(); ++M < R; )
|
|
21873
21873
|
this.add(v[M]);
|
|
@@ -21875,10 +21875,10 @@ var rr = {}, EI = {
|
|
|
21875
21875
|
function so(v) {
|
|
21876
21876
|
return this.__data__.set(v, i), this;
|
|
21877
21877
|
}
|
|
21878
|
-
function
|
|
21878
|
+
function fn(v) {
|
|
21879
21879
|
return this.__data__.has(v);
|
|
21880
21880
|
}
|
|
21881
|
-
|
|
21881
|
+
un.prototype.add = un.prototype.push = so, un.prototype.has = fn;
|
|
21882
21882
|
function Zt(v) {
|
|
21883
21883
|
var M = this.__data__ = new mt(v);
|
|
21884
21884
|
this.size = M.size;
|
|
@@ -21908,7 +21908,7 @@ var rr = {}, EI = {
|
|
|
21908
21908
|
}
|
|
21909
21909
|
Zt.prototype.clear = ds, Zt.prototype.delete = Ur, Zt.prototype.get = Yr, Zt.prototype.has = Xr, Zt.prototype.set = Zr;
|
|
21910
21910
|
function Jr(v, M) {
|
|
21911
|
-
var R =
|
|
21911
|
+
var R = mn(v), Y = !R && co(v), Ee = !R && !Y && pn(v), pe = !R && !Y && !Ee && fo(v), Se = R || Y || Ee || pe, Te = Se ? Ye(v.length, String) : [], qe = Te.length;
|
|
21912
21912
|
for (var ze in v)
|
|
21913
21913
|
(M || kt.call(v, ze)) && !(Se && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
21914
21914
|
(ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -21917,7 +21917,7 @@ var rr = {}, EI = {
|
|
|
21917
21917
|
sa(ze, qe))) && Te.push(ze);
|
|
21918
21918
|
return Te;
|
|
21919
21919
|
}
|
|
21920
|
-
function
|
|
21920
|
+
function gn(v, M) {
|
|
21921
21921
|
for (var R = v.length; R--; )
|
|
21922
21922
|
if (lo(v[R][0], M))
|
|
21923
21923
|
return R;
|
|
@@ -21925,7 +21925,7 @@ var rr = {}, EI = {
|
|
|
21925
21925
|
}
|
|
21926
21926
|
function us(v, M, R) {
|
|
21927
21927
|
var Y = M(v);
|
|
21928
|
-
return
|
|
21928
|
+
return mn(v) ? Y : Ie(Y, R(v));
|
|
21929
21929
|
}
|
|
21930
21930
|
function Vi(v) {
|
|
21931
21931
|
return v == null ? v === void 0 ? W : b : Vt && Vt in Object(v) ? li(v) : ao(v);
|
|
@@ -21937,11 +21937,11 @@ var rr = {}, EI = {
|
|
|
21937
21937
|
return v === M ? !0 : v == null || M == null || !qt(v) && !qt(M) ? v !== v && M !== M : qr(v, M, R, Y, ro, Ee);
|
|
21938
21938
|
}
|
|
21939
21939
|
function qr(v, M, R, Y, Ee, pe) {
|
|
21940
|
-
var Se =
|
|
21940
|
+
var Se = mn(v), Te = mn(M), qe = Se ? l : Jt(v), ze = Te ? l : Jt(M);
|
|
21941
21941
|
qe = qe == a ? y : qe, ze = ze == a ? y : ze;
|
|
21942
21942
|
var pt = qe == y, Dt = ze == y, it = qe == ze;
|
|
21943
|
-
if (it &&
|
|
21944
|
-
if (!
|
|
21943
|
+
if (it && pn(v)) {
|
|
21944
|
+
if (!pn(M))
|
|
21945
21945
|
return !1;
|
|
21946
21946
|
Se = !0, pt = !1;
|
|
21947
21947
|
}
|
|
@@ -21980,7 +21980,7 @@ var rr = {}, EI = {
|
|
|
21980
21980
|
var ze = pe.get(v);
|
|
21981
21981
|
if (ze && pe.get(M))
|
|
21982
21982
|
return ze == M;
|
|
21983
|
-
var pt = -1, Dt = !0, it = R & o ? new
|
|
21983
|
+
var pt = -1, Dt = !0, it = R & o ? new un() : void 0;
|
|
21984
21984
|
for (pe.set(v, M), pe.set(M, v); ++pt < Te; ) {
|
|
21985
21985
|
var At = v[pt], ct = M[pt];
|
|
21986
21986
|
if (Y)
|
|
@@ -22090,12 +22090,12 @@ var rr = {}, EI = {
|
|
|
22090
22090
|
var Y = !0;
|
|
22091
22091
|
} catch (pe) {
|
|
22092
22092
|
}
|
|
22093
|
-
var Ee =
|
|
22093
|
+
var Ee = ln.call(v);
|
|
22094
22094
|
return Y && (M ? v[Vt] = R : delete v[Vt]), Ee;
|
|
22095
22095
|
}
|
|
22096
|
-
var na =
|
|
22097
|
-
return v == null ? [] : (v = Object(v), re(
|
|
22098
|
-
return
|
|
22096
|
+
var na = dn ? function(v) {
|
|
22097
|
+
return v == null ? [] : (v = Object(v), re(dn(v), function(M) {
|
|
22098
|
+
return hn.call(v, M);
|
|
22099
22099
|
}));
|
|
22100
22100
|
} : ca, Jt = Vi;
|
|
22101
22101
|
(rs && Jt(new rs(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || as && Jt(as.resolve()) != P || ls && Jt(new ls()) != E || cs && Jt(new cs()) != _) && (Jt = function(v) {
|
|
@@ -22123,14 +22123,14 @@ var rr = {}, EI = {
|
|
|
22123
22123
|
return M == "string" || M == "number" || M == "symbol" || M == "boolean" ? v !== "__proto__" : v === null;
|
|
22124
22124
|
}
|
|
22125
22125
|
function ra(v) {
|
|
22126
|
-
return !!
|
|
22126
|
+
return !!an && an in v;
|
|
22127
22127
|
}
|
|
22128
22128
|
function aa(v) {
|
|
22129
22129
|
var M = v && v.constructor, R = typeof M == "function" && M.prototype || Xt;
|
|
22130
22130
|
return v === R;
|
|
22131
22131
|
}
|
|
22132
22132
|
function ao(v) {
|
|
22133
|
-
return
|
|
22133
|
+
return ln.call(v);
|
|
22134
22134
|
}
|
|
22135
22135
|
function Pt(v) {
|
|
22136
22136
|
if (v != null) {
|
|
@@ -22151,12 +22151,12 @@ var rr = {}, EI = {
|
|
|
22151
22151
|
var co = oo(function() {
|
|
22152
22152
|
return arguments;
|
|
22153
22153
|
}()) ? oo : function(v) {
|
|
22154
|
-
return qt(v) && kt.call(v, "callee") && !
|
|
22155
|
-
},
|
|
22154
|
+
return qt(v) && kt.call(v, "callee") && !hn.call(v, "callee");
|
|
22155
|
+
}, mn = Array.isArray;
|
|
22156
22156
|
function gs(v) {
|
|
22157
22157
|
return v != null && ms(v.length) && !ho(v);
|
|
22158
22158
|
}
|
|
22159
|
-
var
|
|
22159
|
+
var pn = os || ha;
|
|
22160
22160
|
function la(v, M) {
|
|
22161
22161
|
return ro(v, M);
|
|
22162
22162
|
}
|
|
@@ -23798,7 +23798,7 @@ function Nd(n) {
|
|
|
23798
23798
|
},
|
|
23799
23799
|
i(u) {
|
|
23800
23800
|
a || (x(s), u && Xe(() => {
|
|
23801
|
-
a && (r && r.end(1), o =
|
|
23801
|
+
a && (r && r.end(1), o = sn(
|
|
23802
23802
|
t,
|
|
23803
23803
|
wc,
|
|
23804
23804
|
/*animation*/
|
|
@@ -25432,7 +25432,7 @@ function ou(n) {
|
|
|
25432
25432
|
},
|
|
25433
25433
|
i(l) {
|
|
25434
25434
|
a || (x(e.$$.fragment, l), x(s.$$.fragment, l), l && Xe(() => {
|
|
25435
|
-
a && (r && r.end(1), o =
|
|
25435
|
+
a && (r && r.end(1), o = sn(t, gt, {
|
|
25436
25436
|
duration: 1e3,
|
|
25437
25437
|
delay: 0,
|
|
25438
25438
|
easing: Rn
|
|
@@ -28725,7 +28725,7 @@ class $2 {
|
|
|
28725
28725
|
closeIntersectRaycaster() {
|
|
28726
28726
|
this.plugin.tags.forEach((t) => {
|
|
28727
28727
|
var e;
|
|
28728
|
-
|
|
28728
|
+
en((e = t == null ? void 0 : t.initialConfig) == null ? void 0 : e.visibleConfig).intersectRaycaster && (t.initialConfig.visibleConfig.intersectRaycaster.enabled = !1);
|
|
28729
28729
|
}), this.plugin.changeGlobalConfig({
|
|
28730
28730
|
visibleConfig: {
|
|
28731
28731
|
intersectRaycaster: {
|
|
@@ -28742,7 +28742,7 @@ function Ug(n) {
|
|
|
28742
28742
|
}, n);
|
|
28743
28743
|
});
|
|
28744
28744
|
}
|
|
28745
|
-
const
|
|
28745
|
+
const Gi = /* @__PURE__ */ new Map(), bu = /* @__PURE__ */ new Map();
|
|
28746
28746
|
function Yg(n, t) {
|
|
28747
28747
|
return Q(this, null, function* () {
|
|
28748
28748
|
var r;
|
|
@@ -28765,24 +28765,27 @@ function Yg(n, t) {
|
|
|
28765
28765
|
update: (a) => {
|
|
28766
28766
|
var l, c;
|
|
28767
28767
|
a.animatables.forEach((h) => {
|
|
28768
|
-
var A
|
|
28769
|
-
const u = h.target
|
|
28770
|
-
|
|
28768
|
+
var A;
|
|
28769
|
+
const u = h.target;
|
|
28770
|
+
if (!Gi.has(u))
|
|
28771
|
+
return;
|
|
28772
|
+
const g = Number((A = Gi.get(u).opacity) != null ? A : 1) * (100 - a.progress) / 100;
|
|
28773
|
+
u instanceof HTMLElement ? u.style.opacity = String(g) : u.material && (u.material.opacity = g, u.material.transparent = !0, u.material.needsUpdate = !0);
|
|
28771
28774
|
}), (l = t == null ? void 0 : t.updateRender) == null || l.call(t), (c = t == null ? void 0 : t.update) == null || c.call(t, a);
|
|
28772
28775
|
}
|
|
28773
28776
|
}));
|
|
28774
28777
|
i.forEach((a) => {
|
|
28775
|
-
|
|
28778
|
+
Gi.has(a) || (a instanceof HTMLElement ? Gi.set(a, {
|
|
28776
28779
|
opacity: a.style.opacity === "" ? void 0 : a.style.opacity
|
|
28777
|
-
}) : a.material &&
|
|
28780
|
+
}) : a.material && Gi.set(a, {
|
|
28778
28781
|
opacity: a.material.opacity,
|
|
28779
28782
|
transparent: a.material.transparent
|
|
28780
28783
|
}));
|
|
28781
28784
|
const l = bu.get(a);
|
|
28782
28785
|
l == null || l.pause(), l == null || l.seek(0), bu.set(a, o);
|
|
28783
28786
|
}), o.play(), yield o.finished, i.forEach((a) => {
|
|
28784
|
-
const l =
|
|
28785
|
-
l && (a instanceof HTMLElement && (a.style.opacity = l.opacity), a.material && (a.material.opacity = l.opacity, a.material.transparent = l.transparent, a.material.needsUpdate = !0),
|
|
28787
|
+
const l = Gi.get(a);
|
|
28788
|
+
l && (a instanceof HTMLElement && (a.style.opacity = l.opacity), a.material && (a.material.opacity = l.opacity, a.material.transparent = l.transparent, a.material.needsUpdate = !0), Gi.delete(a));
|
|
28786
28789
|
});
|
|
28787
28790
|
});
|
|
28788
28791
|
}
|
|
@@ -29223,13 +29226,13 @@ class rl extends J2 {
|
|
|
29223
29226
|
if (i.state && s !== void 0) {
|
|
29224
29227
|
if (s === !0 && i.screenPosition) {
|
|
29225
29228
|
const o = this.getTagConfig(i).unfoldedConfig;
|
|
29226
|
-
|
|
29229
|
+
en(o).keep !== "unfolded" && (e = !0);
|
|
29227
29230
|
}
|
|
29228
29231
|
i.state.unfolded = s;
|
|
29229
29232
|
}
|
|
29230
29233
|
}), e && this.filterPointTag.forEach((i) => {
|
|
29231
29234
|
const s = this.getTagConfig(i).unfoldedConfig;
|
|
29232
|
-
typeof s == "object" && (s.autoUnfold || s.autoUnfold === !1 ||
|
|
29235
|
+
typeof s == "object" && (s.autoUnfold || s.autoUnfold === !1 || en(s.autoUnfold).enable === !1 || s.keep) || i.state && (i.state.unfolded = !1);
|
|
29233
29236
|
});
|
|
29234
29237
|
}
|
|
29235
29238
|
changeTagMode(e, i) {
|
|
@@ -29559,7 +29562,7 @@ class al {
|
|
|
29559
29562
|
d(this, "plugin");
|
|
29560
29563
|
d(this, "textureHasLoaded", !1);
|
|
29561
29564
|
d(this, "disposed", !1);
|
|
29562
|
-
d(this, "flowAnime", new
|
|
29565
|
+
d(this, "flowAnime", new qi({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
29563
29566
|
d(this, "flickerAnime", On(300).yoyo(!0).repeat(5));
|
|
29564
29567
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
29565
29568
|
d(this, "cacheLengths", []);
|
|
@@ -29789,7 +29792,7 @@ class al {
|
|
|
29789
29792
|
setTextureUrl(t) {
|
|
29790
29793
|
if (this.disposed)
|
|
29791
29794
|
return this.logError("disposed");
|
|
29792
|
-
this.textureUrl = t,
|
|
29795
|
+
this.textureUrl = t, Xi(t).then((e) => {
|
|
29793
29796
|
this.disposed || this.textureUrl === t && (e.wrapT = w.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
29794
29797
|
});
|
|
29795
29798
|
}
|
|
@@ -29903,7 +29906,7 @@ class lM extends Eg {
|
|
|
29903
29906
|
}
|
|
29904
29907
|
}
|
|
29905
29908
|
const Zg = "CruisePlugin", xa = `${Zg}`;
|
|
29906
|
-
class Jg extends
|
|
29909
|
+
class Jg extends on {
|
|
29907
29910
|
constructor(e, i) {
|
|
29908
29911
|
super(e, i);
|
|
29909
29912
|
d(this, "state", {
|
|
@@ -30671,11 +30674,11 @@ class em {
|
|
|
30671
30674
|
walk(t) {
|
|
30672
30675
|
return Q(this, null, function* () {
|
|
30673
30676
|
if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
|
|
30674
|
-
const e = D({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield
|
|
30677
|
+
const e = D({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield Ki(fM(this.five, e));
|
|
30675
30678
|
if (i)
|
|
30676
30679
|
return this.logError(i.message);
|
|
30677
30680
|
} else {
|
|
30678
|
-
const e = { path: this.panoramaItem.curvePath }, [i] = yield
|
|
30681
|
+
const e = { path: this.panoramaItem.curvePath }, [i] = yield Ki(uM(this.five, e));
|
|
30679
30682
|
if (i)
|
|
30680
30683
|
return this.logError(i.message);
|
|
30681
30684
|
}
|
|
@@ -30884,7 +30887,7 @@ function im(n, t, e) {
|
|
|
30884
30887
|
}
|
|
30885
30888
|
n.quaternion.copy(t);
|
|
30886
30889
|
}
|
|
30887
|
-
function
|
|
30890
|
+
function Fi(n, t) {
|
|
30888
30891
|
const { max: e, min: i } = n;
|
|
30889
30892
|
switch (t) {
|
|
30890
30893
|
case 0:
|
|
@@ -31104,7 +31107,7 @@ class EM extends AM {
|
|
|
31104
31107
|
this.remove(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean)), super.dispose();
|
|
31105
31108
|
}
|
|
31106
31109
|
}
|
|
31107
|
-
function
|
|
31110
|
+
function Zi(n, t) {
|
|
31108
31111
|
return MM(document.createElement(t != null ? t : "div"), n);
|
|
31109
31112
|
}
|
|
31110
31113
|
function MM(n, t) {
|
|
@@ -31115,7 +31118,7 @@ function MM(n, t) {
|
|
|
31115
31118
|
return n;
|
|
31116
31119
|
}
|
|
31117
31120
|
function kM(n) {
|
|
31118
|
-
const t =
|
|
31121
|
+
const t = Zi(D({
|
|
31119
31122
|
position: "absolute",
|
|
31120
31123
|
display: "block",
|
|
31121
31124
|
borderRadius: "4px",
|
|
@@ -31260,14 +31263,14 @@ class TM extends w.Mesh {
|
|
|
31260
31263
|
}
|
|
31261
31264
|
}
|
|
31262
31265
|
function LM() {
|
|
31263
|
-
const n =
|
|
31266
|
+
const n = Zi({
|
|
31264
31267
|
width: "100%",
|
|
31265
31268
|
height: "100%",
|
|
31266
31269
|
left: "0",
|
|
31267
31270
|
top: "0",
|
|
31268
31271
|
position: "absolute",
|
|
31269
31272
|
pointerEvents: "none"
|
|
31270
|
-
}), t =
|
|
31273
|
+
}), t = Zi({
|
|
31271
31274
|
boxSizing: "border-box",
|
|
31272
31275
|
width: "100%",
|
|
31273
31276
|
height: "100%",
|
|
@@ -31277,7 +31280,7 @@ function LM() {
|
|
|
31277
31280
|
display: "flex",
|
|
31278
31281
|
alignItems: "center",
|
|
31279
31282
|
justifyContent: "center"
|
|
31280
|
-
}), e =
|
|
31283
|
+
}), e = Zi({
|
|
31281
31284
|
boxSizing: "border-box",
|
|
31282
31285
|
width: "100%",
|
|
31283
31286
|
height: "100%",
|
|
@@ -31300,13 +31303,13 @@ function LM() {
|
|
|
31300
31303
|
] };
|
|
31301
31304
|
}
|
|
31302
31305
|
function wi(n) {
|
|
31303
|
-
const t =
|
|
31306
|
+
const t = Zi(D({
|
|
31304
31307
|
background: "#FFFFFF",
|
|
31305
31308
|
width: "9px",
|
|
31306
31309
|
height: "9px",
|
|
31307
31310
|
position: "absolute",
|
|
31308
31311
|
pointerEvents: "none"
|
|
31309
|
-
}, n)), e =
|
|
31312
|
+
}, n)), e = Zi({
|
|
31310
31313
|
width: "15px",
|
|
31311
31314
|
height: "15px",
|
|
31312
31315
|
position: "absolute",
|
|
@@ -31314,7 +31317,7 @@ function wi(n) {
|
|
|
31314
31317
|
top: "50%",
|
|
31315
31318
|
transform: "translate(-50%, -50%)",
|
|
31316
31319
|
pointerEvents: "none"
|
|
31317
|
-
}), i =
|
|
31320
|
+
}), i = Zi({
|
|
31318
31321
|
width: "15px",
|
|
31319
31322
|
height: "15px",
|
|
31320
31323
|
cursor: n == null ? void 0 : n.cursor,
|
|
@@ -32551,7 +32554,7 @@ const cl = "Object3DHelperPlugin", $l = cl, ZM = () => {
|
|
|
32551
32554
|
}, qM = () => {
|
|
32552
32555
|
console.error(`${$l} is disabled`);
|
|
32553
32556
|
};
|
|
32554
|
-
class nm extends
|
|
32557
|
+
class nm extends on {
|
|
32555
32558
|
constructor(e) {
|
|
32556
32559
|
super(e);
|
|
32557
32560
|
d(this, "name", cl);
|
|
@@ -33024,7 +33027,7 @@ class Mu {
|
|
|
33024
33027
|
return i >= o && i <= h && s >= c && s <= u;
|
|
33025
33028
|
}
|
|
33026
33029
|
}
|
|
33027
|
-
class tk extends
|
|
33030
|
+
class tk extends on {
|
|
33028
33031
|
constructor(e) {
|
|
33029
33032
|
super(e);
|
|
33030
33033
|
d(this, "enabled", !0);
|
|
@@ -33375,7 +33378,7 @@ class xn extends w.Mesh {
|
|
|
33375
33378
|
return this.setOpacity(i);
|
|
33376
33379
|
const s = this.material.uniforms.opacity.value;
|
|
33377
33380
|
return s === i ? !0 : new Promise((r) => {
|
|
33378
|
-
this.opacityAnime = new
|
|
33381
|
+
this.opacityAnime = new qi({ progress: s }).to({ progress: i }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => r(!0)).onDispose(() => {
|
|
33379
33382
|
this.setOpacity(i), r(!1);
|
|
33380
33383
|
}).play();
|
|
33381
33384
|
});
|
|
@@ -33390,7 +33393,7 @@ class xn extends w.Mesh {
|
|
|
33390
33393
|
return this.setOpacity(i);
|
|
33391
33394
|
const s = this.material.uniforms.opacity.value;
|
|
33392
33395
|
return new Promise((r) => {
|
|
33393
|
-
this.opacityAnime = new
|
|
33396
|
+
this.opacityAnime = new qi({ progress: s }).to({ progress: i }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => r(!0)).onDispose(() => {
|
|
33394
33397
|
this.setOpacity(i), r(!1);
|
|
33395
33398
|
}).play();
|
|
33396
33399
|
});
|
|
@@ -33742,7 +33745,7 @@ let Ak = class extends pi {
|
|
|
33742
33745
|
const i = this.texturePromiseCache.get(e);
|
|
33743
33746
|
if (i)
|
|
33744
33747
|
return i;
|
|
33745
|
-
const s =
|
|
33748
|
+
const s = Xi(e);
|
|
33746
33749
|
return this.texturePromiseCache.set(e, s), s;
|
|
33747
33750
|
});
|
|
33748
33751
|
}
|
|
@@ -34025,7 +34028,7 @@ class Pk {
|
|
|
34025
34028
|
return;
|
|
34026
34029
|
}
|
|
34027
34030
|
return new Promise((l) => {
|
|
34028
|
-
this.opacityAnime = new
|
|
34031
|
+
this.opacityAnime = new qi({ makerObjectOpacity: i, outlineOpacity: o }).to({
|
|
34029
34032
|
makerObjectOpacity: s,
|
|
34030
34033
|
outlineOpacity: r
|
|
34031
34034
|
}).onUpdate(({ makerObjectOpacity: c, outlineOpacity: h }) => {
|
|
@@ -34467,7 +34470,7 @@ let Ek = class extends pi {
|
|
|
34467
34470
|
}
|
|
34468
34471
|
};
|
|
34469
34472
|
const Yx = (n, t) => new Ek(n, t);
|
|
34470
|
-
class Mk extends
|
|
34473
|
+
class Mk extends on {
|
|
34471
34474
|
constructor(e, i) {
|
|
34472
34475
|
super(e);
|
|
34473
34476
|
// ==================== public properties ====================
|
|
@@ -34662,7 +34665,7 @@ class Mk extends sn {
|
|
|
34662
34665
|
reloadTexture(e) {
|
|
34663
34666
|
return Q(this, null, function* () {
|
|
34664
34667
|
if (this.mesh.material.map = null, e !== "") {
|
|
34665
|
-
const i =
|
|
34668
|
+
const i = Xi(e);
|
|
34666
34669
|
this.textureLoadingPromise = i;
|
|
34667
34670
|
const s = yield i;
|
|
34668
34671
|
s.minFilter = w.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(s), this.textureLoadingPromise = null);
|
|
@@ -35204,7 +35207,7 @@ class Ou extends _m {
|
|
|
35204
35207
|
d(this, "name", "Line3");
|
|
35205
35208
|
}
|
|
35206
35209
|
}
|
|
35207
|
-
class
|
|
35210
|
+
class nn extends Lt {
|
|
35208
35211
|
constructor(e) {
|
|
35209
35212
|
var r, a, l, c;
|
|
35210
35213
|
super();
|
|
@@ -35270,7 +35273,7 @@ class tn extends Lt {
|
|
|
35270
35273
|
this.highlighted && (this.highlighted = !1, this.line.material.opacity = this.opacityBeforeHighlight, this.backLine.material.opacity = 0.2, this.needsRender = !0);
|
|
35271
35274
|
}
|
|
35272
35275
|
}
|
|
35273
|
-
class _k extends
|
|
35276
|
+
class _k extends nn {
|
|
35274
35277
|
constructor(e) {
|
|
35275
35278
|
super();
|
|
35276
35279
|
d(this, "name", "LineWithDotsMesh");
|
|
@@ -35908,7 +35911,7 @@ class hr extends Lt {
|
|
|
35908
35911
|
}
|
|
35909
35912
|
setStyle(e) {
|
|
35910
35913
|
this.bottomPolygon.setStyle(e), this.topPolygon.setStyle(e), this.edgePlanes.children.forEach((i) => {
|
|
35911
|
-
(i instanceof
|
|
35914
|
+
(i instanceof nn || i instanceof lr) && i.setStyle(e);
|
|
35912
35915
|
});
|
|
35913
35916
|
}
|
|
35914
35917
|
setPoints(e) {
|
|
@@ -35941,7 +35944,7 @@ class hr extends Lt {
|
|
|
35941
35944
|
return;
|
|
35942
35945
|
const r = new lr({ color: this.color });
|
|
35943
35946
|
r.setPoints([e[o - 1], e[o], i[o], i[o - 1]]);
|
|
35944
|
-
const a = new
|
|
35947
|
+
const a = new nn({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
35945
35948
|
a.name = "EdgeLine", a.setPoints([e[o - 1], i[o - 1]]), this.edgePlanes.add(r, a);
|
|
35946
35949
|
});
|
|
35947
35950
|
}
|
|
@@ -36023,7 +36026,7 @@ function Kk(n, t) {
|
|
|
36023
36026
|
return Q(this, null, function* () {
|
|
36024
36027
|
const e = n.parent;
|
|
36025
36028
|
yield mm(n.bottomPolygon, t);
|
|
36026
|
-
const i = new
|
|
36029
|
+
const i = new nn();
|
|
36027
36030
|
i.name = "LineHelper", e.add(i);
|
|
36028
36031
|
const s = n.bottomPolygon.points.at(-1), o = Zs(n.bottomPolygon.points).normalize(), r = s.clone().add(o.clone().multiplyScalar(10)), a = s.clone().sub(o.clone().multiplyScalar(10));
|
|
36029
36032
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
@@ -36239,7 +36242,7 @@ class dr extends n3 {
|
|
|
36239
36242
|
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = As(a, ["normal", "radius", "center"]);
|
|
36240
36243
|
super(r);
|
|
36241
36244
|
d(this, "edgeLine");
|
|
36242
|
-
this.edgeLine = new
|
|
36245
|
+
this.edgeLine = new nn(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
36243
36246
|
}
|
|
36244
36247
|
setPoints(...e) {
|
|
36245
36248
|
super.setPoints(...e);
|
|
@@ -36461,7 +36464,7 @@ function o3(n, t) {
|
|
|
36461
36464
|
return Q(this, null, function* () {
|
|
36462
36465
|
const e = n.parent;
|
|
36463
36466
|
yield bm(n.bottomCircle, t);
|
|
36464
|
-
const i = new
|
|
36467
|
+
const i = new nn();
|
|
36465
36468
|
i.name = "LineHelper", e.add(i);
|
|
36466
36469
|
const s = t.position.point, o = n.normal.clone().normalize(), r = s.clone().add(o.clone().multiplyScalar(10)), a = s.clone().sub(o.clone().multiplyScalar(10));
|
|
36467
36470
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
@@ -36637,7 +36640,7 @@ function a3(n, t) {
|
|
|
36637
36640
|
i(new Error("No container"));
|
|
36638
36641
|
return;
|
|
36639
36642
|
}
|
|
36640
|
-
const o = new
|
|
36643
|
+
const o = new nn(), r = Zs(n.bottomPlane.points).normalize(), a = n.bottomPlane.builtPoints.at(-1), l = a.clone().add(r.clone().multiplyScalar(10)), c = a.clone().sub(r.clone().multiplyScalar(10));
|
|
36641
36644
|
o.setPoints([l, c]), s.add(o), t.enable();
|
|
36642
36645
|
const h = (A) => {
|
|
36643
36646
|
f(), e();
|
|
@@ -37051,7 +37054,7 @@ const Ju = (n, t) => {
|
|
|
37051
37054
|
};
|
|
37052
37055
|
class y3 extends wm {
|
|
37053
37056
|
constructor(...t) {
|
|
37054
|
-
const e = t[0], i = Js(e.model), s = new w.Vector3().lerpVectors(
|
|
37057
|
+
const e = t[0], i = Js(e.model), s = new w.Vector3().lerpVectors(Fi(i, 0), Fi(i, 5), 0.5);
|
|
37055
37058
|
super(se(D({}, e), { position: s })), this.enable();
|
|
37056
37059
|
}
|
|
37057
37060
|
}
|
|
@@ -37126,8 +37129,8 @@ class w3 extends pi {
|
|
|
37126
37129
|
} else if (s.type === "box") {
|
|
37127
37130
|
const r = new hr(), { start: a, end: l, rotation: c, opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = p.clone().inverse(), b = new w.Vector3().lerpVectors(f, g, 0.5), y = b.clone().negate(), P = f.clone().add(y).applyQuaternion(m), I = g.clone().add(y).applyQuaternion(m), k = new w.Box3(P.clone().max(I), P.clone().min(I));
|
|
37128
37131
|
r.setPoints({
|
|
37129
|
-
points: [
|
|
37130
|
-
heightPoint:
|
|
37132
|
+
points: [Fi(k, 2), Fi(k, 3), Fi(k, 7), Fi(k, 6)],
|
|
37133
|
+
heightPoint: Fi(k, 0)
|
|
37131
37134
|
}), r.position.copy(b), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37132
37135
|
const E = new f3({ five: this.five, model: r, group: this.group, type: s.type, rawData: s });
|
|
37133
37136
|
this.items.push(E);
|
|
@@ -37186,7 +37189,7 @@ export {
|
|
|
37186
37189
|
ks as DIRECTION,
|
|
37187
37190
|
En as DISPLAY_STRATEGY_TYPE,
|
|
37188
37191
|
Ow as DimensionType,
|
|
37189
|
-
|
|
37192
|
+
Ui as FLOOR_PLAN_ATTACHED_TO,
|
|
37190
37193
|
ix as FLOOR_TYPE_MAP,
|
|
37191
37194
|
Ox as GuideLineItem,
|
|
37192
37195
|
jx as GuideLineModeItem,
|