@realsee/dnalogel 3.36.5 → 3.36.7
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 +6 -0
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/dist/base/BasePlugin.d.ts +2 -1
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +635 -624
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/tag.d.ts +4 -1
- package/dist/shared-utils/three/Magnifier.d.ts +1 -1
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/dist/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +13 -13
- 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/ModelMakerPluginInstance.html +14 -14
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +14 -14
- package/docs/classes/Object3DHelperController.html +14 -14
- 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 +13 -13
- 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 +14 -14
- 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.blink.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.reblink.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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
- 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 +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +12 -12
- 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 +5 -5
- 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.BlinkAnimeOptions.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/interfaces/Util.ReBlinkAnimeOptions.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/AreaMakerPlugin/Controller.js +2 -3
- package/libs/AreaMakerPlugin/index.js +2 -3
- package/libs/AreaMakerPlugin/utils/Item.js +14 -15
- package/libs/CSS3DRenderPlugin/Controller.js +2 -3
- package/libs/CSS3DRenderPlugin/index.js +5 -6
- package/libs/CruisePlugin/BaseController.js +4 -5
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +10 -11
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +11 -12
- package/libs/ModelMakerPlugin/index.js +2 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -14
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
- package/libs/ModelTVVideoPlugin/index.js +2 -3
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/libs/Object3DHelperPlugin/index.js +5 -6
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +57 -50
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -6
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/libs/PanoMeasurePlugin/index.js +18 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -21
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +2 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
- package/libs/PanoVideoPlugin/index.js +5 -6
- package/libs/PipelinePlugin/Controller.js +22 -23
- package/libs/PipelinePlugin/index.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
- package/libs/Sculpt/Meshes/Box.js +2 -3
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.js +2 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +2 -3
- package/libs/Sculpt/Meshes/Point.js +2 -3
- package/libs/Sculpt/Meshes/Polyline.js +4 -5
- package/libs/Sculpt/Meshes/Prism.js +10 -11
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Base/index.js +21 -24
- package/libs/Sculpt/Objects/Polyline/Editor.js +10 -11
- package/libs/Sculpt/index.js +13 -14
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -7
- package/libs/base/BasePlugin.d.ts +2 -1
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +126 -125
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -1
- package/libs/shared-utils/tag.js +33 -29
- package/libs/shared-utils/three/Magnifier.d.ts +1 -1
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +2 -3
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelectorHelper.js +6 -6
- package/libs/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +10 -0
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var G = (n, t, e) => new Promise((i, s) => {
|
|
|
36
36
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, r);
|
|
37
37
|
a((e = e.apply(n, t)).next());
|
|
38
38
|
});
|
|
39
|
-
import { Camera as Tm,
|
|
39
|
+
import { Camera as Tm, Five as dt, Subscribe as on } from "@realsee/five";
|
|
40
40
|
import * as w from "three";
|
|
41
41
|
import { Vector3 as oe, LineSegments as Lm, Group as Ln, Raycaster as Jn, MeshBasicMaterial as Hs, CanvasTexture as jm, AnimationMixer as zm, Color as qn, TextureLoader as tf, Vector2 as yt, Object3D as Om, PlaneGeometry as Bm, sRGBEncoding as Rm, LinearFilter as Qa, Mesh as Ts, CurvePath as Vm, LineCurve3 as Hm, TubeGeometry as Nm, ShaderMaterial as nf, SphereGeometry as Gm, DoubleSide as sf, RingGeometry as Fm, Quaternion as fl, Euler as cc, Matrix4 as ks, VideoTexture as Qm, Vector4 as _m, SphereBufferGeometry as Wm } from "three";
|
|
42
42
|
import { CSS3DRenderer as Um, CSS3DObject as _a } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -48,7 +48,7 @@ import Jm from "earcut";
|
|
|
48
48
|
import { GLTFLoader as qm } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Km() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.36.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.36.7",
|
|
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",
|
|
@@ -517,7 +517,7 @@ function cp(n, t, e, i = Ft.Linear.None) {
|
|
|
517
517
|
}
|
|
518
518
|
return requestAnimationFrame(o), s;
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var Pi = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(Pi || {});
|
|
521
521
|
const Ls = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
522
522
|
function bo(n) {
|
|
523
523
|
return n[Ls] || (n[Ls] = {}), n[Ls];
|
|
@@ -599,11 +599,11 @@ let dp = class {
|
|
|
599
599
|
return i;
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
|
-
function
|
|
602
|
+
function wi() {
|
|
603
603
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
604
604
|
}
|
|
605
605
|
function nt() {
|
|
606
|
-
return (
|
|
606
|
+
return (wi() + wi() + "-" + wi() + "-4" + wi().substr(0, 3) + "-" + wi() + "-" + wi() + wi() + wi()).toLowerCase();
|
|
607
607
|
}
|
|
608
608
|
const up = `
|
|
609
609
|
<style type="text/css">
|
|
@@ -772,7 +772,7 @@ let fp = class extends dp {
|
|
|
772
772
|
return;
|
|
773
773
|
const l = this.data[this.uuid].pop();
|
|
774
774
|
l && this.emitStateChange({
|
|
775
|
-
type:
|
|
775
|
+
type: Pi.Undo,
|
|
776
776
|
color: this.color,
|
|
777
777
|
ready: this.ready,
|
|
778
778
|
state: l,
|
|
@@ -807,7 +807,7 @@ let fp = class extends dp {
|
|
|
807
807
|
const i = this.canvas[e].getContext("2d");
|
|
808
808
|
i && i.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height);
|
|
809
809
|
}), this.ready = !1, this.emit("readyChange", !1), this.emitStateChange({
|
|
810
|
-
type:
|
|
810
|
+
type: Pi.Exit,
|
|
811
811
|
color: this.color,
|
|
812
812
|
ready: !1,
|
|
813
813
|
uuid: this.uuid
|
|
@@ -860,7 +860,7 @@ let fp = class extends dp {
|
|
|
860
860
|
};
|
|
861
861
|
this.data[this.uuid].push(g), No(() => {
|
|
862
862
|
this.emitStateChange({
|
|
863
|
-
type:
|
|
863
|
+
type: Pi.Drawline,
|
|
864
864
|
color: this.color,
|
|
865
865
|
ready: this.ready,
|
|
866
866
|
state: g,
|
|
@@ -893,7 +893,7 @@ let fp = class extends dp {
|
|
|
893
893
|
};
|
|
894
894
|
this.data[this.uuid].push(g), No(() => {
|
|
895
895
|
this.emitStateChange({
|
|
896
|
-
type:
|
|
896
|
+
type: Pi.Drawline,
|
|
897
897
|
color: this.color,
|
|
898
898
|
ready: this.ready,
|
|
899
899
|
state: g,
|
|
@@ -903,7 +903,7 @@ let fp = class extends dp {
|
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
905
|
emitStateChange(e, i = !0) {
|
|
906
|
-
if (e.type !==
|
|
906
|
+
if (e.type !== Pi.Drawline) {
|
|
907
907
|
this.emit("stateChange", e, i);
|
|
908
908
|
return;
|
|
909
909
|
}
|
|
@@ -944,13 +944,13 @@ let fp = class extends dp {
|
|
|
944
944
|
}
|
|
945
945
|
if (this.ready)
|
|
946
946
|
switch (s) {
|
|
947
|
-
case
|
|
947
|
+
case Pi.Drawline:
|
|
948
948
|
const { state: r, timestamp: a, end: l } = e;
|
|
949
949
|
if (!a || !r)
|
|
950
950
|
return;
|
|
951
951
|
this.tempLine[a] = [].concat(this.tempLine[a] || [], r.line), l && (Object.assign(r, { line: this.tempLine[a] }), this.handleDrawLine(o, r, {}, () => delete this.tempLine[a]));
|
|
952
952
|
break;
|
|
953
|
-
case
|
|
953
|
+
case Pi.Undo:
|
|
954
954
|
this.handleUndo(o);
|
|
955
955
|
break;
|
|
956
956
|
}
|
|
@@ -1013,7 +1013,7 @@ let fp = class extends dp {
|
|
|
1013
1013
|
this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
|
-
class
|
|
1016
|
+
class V3 {
|
|
1017
1017
|
constructor(t = {}) {
|
|
1018
1018
|
d(this, "controller");
|
|
1019
1019
|
const e = Object.assign({
|
|
@@ -1064,7 +1064,7 @@ class R3 {
|
|
|
1064
1064
|
this.controller.updateCurrentColor(t);
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
|
-
const
|
|
1067
|
+
const H3 = (n, t) => {
|
|
1068
1068
|
var F, H;
|
|
1069
1069
|
let e = (H = (F = t == null ? void 0 : t.initialState) == null ? void 0 : F.enabled) != null ? H : !0, i = !1, s = !0, o = null;
|
|
1070
1070
|
const a = D(D({}, {
|
|
@@ -1163,20 +1163,20 @@ const V3 = (n, t) => {
|
|
|
1163
1163
|
enabled: e
|
|
1164
1164
|
});
|
|
1165
1165
|
return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh: I, changeConfigs: _, enable: b, disable: y, getCurrentState: N };
|
|
1166
|
-
}, gp = ({ x: n, y: t, z: e }) => new oe(n, t, e),
|
|
1166
|
+
}, gp = ({ x: n, y: t, z: e }) => new oe(n, t, e), ui = (n) => new oe().fromArray(n), Be = (n) => {
|
|
1167
1167
|
if (n)
|
|
1168
|
-
return n instanceof oe ? n : Array.isArray(n) ?
|
|
1168
|
+
return n instanceof oe ? n : Array.isArray(n) ? ui(n) : gp(n);
|
|
1169
1169
|
};
|
|
1170
1170
|
function mp(n) {
|
|
1171
1171
|
if (n)
|
|
1172
1172
|
return Array.isArray(n) ? typeof n[0] == "number" ? Be(n) : n.map(Be) : Be(n);
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function mi(n) {
|
|
1175
1175
|
return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
|
|
1176
1176
|
}
|
|
1177
1177
|
function qi(n) {
|
|
1178
1178
|
const t = [];
|
|
1179
|
-
return
|
|
1179
|
+
return mi(n).forEach((i) => {
|
|
1180
1180
|
i.traverse((s) => {
|
|
1181
1181
|
s.isCSS3DObjectPlus && t.push(s);
|
|
1182
1182
|
});
|
|
@@ -1257,7 +1257,7 @@ function yo(n) {
|
|
|
1257
1257
|
function vp(n) {
|
|
1258
1258
|
n[js] && delete n[js];
|
|
1259
1259
|
}
|
|
1260
|
-
class
|
|
1260
|
+
class wt {
|
|
1261
1261
|
/**
|
|
1262
1262
|
* 判断是否注册了事件
|
|
1263
1263
|
* @param name - 事件类型
|
|
@@ -1342,7 +1342,7 @@ class bp extends w.Mesh {
|
|
|
1342
1342
|
return e !== null && e.remove(this), this;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
function
|
|
1345
|
+
function Si(...n) {
|
|
1346
1346
|
const t = new oe();
|
|
1347
1347
|
return n.forEach((e) => t.add(e)), t.divideScalar(n.length), t;
|
|
1348
1348
|
}
|
|
@@ -1350,7 +1350,7 @@ const ml = (n) => n ? n.visible === !1 ? !1 : ml(n.parent) : !0, cf = 1, pc = `C
|
|
|
1350
1350
|
class Cp extends _a {
|
|
1351
1351
|
constructor(e) {
|
|
1352
1352
|
var k, E, j;
|
|
1353
|
-
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : wp, r = (E = e.dpr) != null ? E : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(yp, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Yo(c / o * r), f = Yo(h / o * r), g =
|
|
1353
|
+
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : wp, r = (E = e.dpr) != null ? E : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(yp, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Yo(c / o * r), f = Yo(h / o * r), g = Si(...s);
|
|
1354
1354
|
let A;
|
|
1355
1355
|
if (l === o)
|
|
1356
1356
|
i.style.width = `${u}px`, i.style.height = `${f}px`, A = i;
|
|
@@ -1373,7 +1373,7 @@ class Cp extends _a {
|
|
|
1373
1373
|
d(this, "centerPosition");
|
|
1374
1374
|
d(this, "ratio");
|
|
1375
1375
|
d(this, "mode", "front");
|
|
1376
|
-
d(this, "hooks", new
|
|
1376
|
+
d(this, "hooks", new wt());
|
|
1377
1377
|
d(this, "opacityMesh");
|
|
1378
1378
|
d(this, "selfVisible", !0);
|
|
1379
1379
|
d(this, "setVisible", (e) => {
|
|
@@ -1538,7 +1538,7 @@ function Dp(n) {
|
|
|
1538
1538
|
class Ns {
|
|
1539
1539
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1540
1540
|
constructor(t) {
|
|
1541
|
-
d(this, "hooks", new
|
|
1541
|
+
d(this, "hooks", new wt());
|
|
1542
1542
|
d(this, "state", {
|
|
1543
1543
|
enabled: !0,
|
|
1544
1544
|
visible: !0,
|
|
@@ -1860,7 +1860,7 @@ class pl {
|
|
|
1860
1860
|
d(this, "width");
|
|
1861
1861
|
d(this, "height");
|
|
1862
1862
|
d(this, "containerDom");
|
|
1863
|
-
d(this, "hooks", new
|
|
1863
|
+
d(this, "hooks", new wt());
|
|
1864
1864
|
d(this, "canvas", document.createElement("canvas"));
|
|
1865
1865
|
d(this, "config");
|
|
1866
1866
|
d(this, "state", { enabled: !1 });
|
|
@@ -2205,7 +2205,7 @@ class mf {
|
|
|
2205
2205
|
class pf {
|
|
2206
2206
|
constructor(t, e) {
|
|
2207
2207
|
d(this, "five");
|
|
2208
|
-
d(this, "hooks", new
|
|
2208
|
+
d(this, "hooks", new wt());
|
|
2209
2209
|
d(this, "position");
|
|
2210
2210
|
d(this, "magnifier", null);
|
|
2211
2211
|
d(this, "pointHelper", null);
|
|
@@ -2261,17 +2261,17 @@ class vf extends Lm {
|
|
|
2261
2261
|
super(t, e);
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
|
-
const
|
|
2264
|
+
const gi = /* @__PURE__ */ new Map(), vc = /* @__PURE__ */ new Map();
|
|
2265
2265
|
function _p(n) {
|
|
2266
|
-
|
|
2266
|
+
mi(n).forEach((e) => {
|
|
2267
2267
|
var i, s;
|
|
2268
|
-
|
|
2268
|
+
gi.has(e) || (e instanceof HTMLElement ? gi.set(e, {
|
|
2269
2269
|
opacity: e.style.opacity === "" ? void 0 : e.style.opacity,
|
|
2270
2270
|
visible: {
|
|
2271
2271
|
display: e.style.display,
|
|
2272
2272
|
visibility: e.style.visibility
|
|
2273
2273
|
}
|
|
2274
|
-
}) : e.isObject3D &&
|
|
2274
|
+
}) : e.isObject3D && gi.set(e, {
|
|
2275
2275
|
opacity: (i = e.material) == null ? void 0 : i.opacity,
|
|
2276
2276
|
transparent: (s = e.material) == null ? void 0 : s.transparent,
|
|
2277
2277
|
visible: e.visible
|
|
@@ -2279,16 +2279,16 @@ function _p(n) {
|
|
|
2279
2279
|
});
|
|
2280
2280
|
}
|
|
2281
2281
|
function Wp(n) {
|
|
2282
|
-
|
|
2283
|
-
const i =
|
|
2284
|
-
i && (e instanceof HTMLElement && (e.style.opacity = i.opacity === void 0 ? "" : i.opacity, e.style.display = i.visible.display, e.style.visibility = i.visible.visibility, e.style.display = i.visible.display), e.isObject3D && (e.visible = i.visible, e.material && (e.material.opacity = i.opacity, e.material.transparent = i.transparent)),
|
|
2282
|
+
mi(n).forEach((e) => {
|
|
2283
|
+
const i = gi.get(e);
|
|
2284
|
+
i && (e instanceof HTMLElement && (e.style.opacity = i.opacity === void 0 ? "" : i.opacity, e.style.display = i.visible.display, e.style.visibility = i.visible.visibility, e.style.display = i.visible.display), e.isObject3D && (e.visible = i.visible, e.material && (e.material.opacity = i.opacity, e.material.transparent = i.transparent)), gi.delete(e));
|
|
2285
2285
|
});
|
|
2286
2286
|
}
|
|
2287
2287
|
function Al(n, t) {
|
|
2288
2288
|
return G(this, null, function* () {
|
|
2289
2289
|
var a, l;
|
|
2290
2290
|
const e = (a = t == null ? void 0 : t.traverseTHREEObject) != null ? a : !0;
|
|
2291
|
-
let i =
|
|
2291
|
+
let i = mi(n);
|
|
2292
2292
|
const s = [];
|
|
2293
2293
|
i.forEach((c) => {
|
|
2294
2294
|
c instanceof HTMLElement ? s.push(c) : c.isObject3D && (e ? (s.push(c), c.traverse((h) => {
|
|
@@ -2307,9 +2307,9 @@ function Al(n, t) {
|
|
|
2307
2307
|
c.animatables.forEach((u) => {
|
|
2308
2308
|
var p;
|
|
2309
2309
|
const f = u.target;
|
|
2310
|
-
if (!
|
|
2310
|
+
if (!gi.has(f))
|
|
2311
2311
|
return;
|
|
2312
|
-
const A = Number((p =
|
|
2312
|
+
const A = Number((p = gi.get(f).opacity) != null ? p : 1) * (100 - c.progress) / 100;
|
|
2313
2313
|
f instanceof HTMLElement ? f.style.opacity = String(A) : f.material && (f.material.opacity = A, f.material.transparent = !0);
|
|
2314
2314
|
}), (h = t == null ? void 0 : t.updateRender) == null || h.call(t);
|
|
2315
2315
|
}
|
|
@@ -2325,10 +2325,10 @@ function bf(n, t) {
|
|
|
2325
2325
|
e.animatables.forEach((s) => {
|
|
2326
2326
|
var c, h;
|
|
2327
2327
|
const o = s.target;
|
|
2328
|
-
if (!
|
|
2328
|
+
if (!gi.has(o))
|
|
2329
2329
|
return;
|
|
2330
|
-
const r =
|
|
2331
|
-
o instanceof HTMLElement ? (o.style.opacity = String(l), o.style.visibility = "visible") : o.isObject3D && (
|
|
2330
|
+
const r = gi.get(o), l = ((h = (c = r == null ? void 0 : r.opacity) != null ? c : t == null ? void 0 : t.maxOpacity) != null ? h : 1) * (e.progress / 100);
|
|
2331
|
+
o instanceof HTMLElement ? (o.style.opacity = String(l), o.style.visibility = "visible") : o.isObject3D && (mi(n).includes(o) && (o.visible = !0), o.material && (o.material.opacity = l, o.material.transparent = !0));
|
|
2332
2332
|
}), (i = t == null ? void 0 : t.updateRender) == null || i.call(t);
|
|
2333
2333
|
}
|
|
2334
2334
|
}, t));
|
|
@@ -2445,7 +2445,7 @@ function Kp(n, t) {
|
|
|
2445
2445
|
function bt(n, t, e = { deep: !1 }) {
|
|
2446
2446
|
return e.deep ? bl(n, t) : Jp(n, t);
|
|
2447
2447
|
}
|
|
2448
|
-
const
|
|
2448
|
+
const G3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2449
2449
|
__proto__: null,
|
|
2450
2450
|
BetterTween: Ki,
|
|
2451
2451
|
Interval: Ya,
|
|
@@ -2607,7 +2607,7 @@ function pa(n, t, e = new oe(1, 1, 1), i = !1) {
|
|
|
2607
2607
|
const s = new Pf(n, t);
|
|
2608
2608
|
return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
|
|
2609
2609
|
}
|
|
2610
|
-
const
|
|
2610
|
+
const Q3 = (n) => {
|
|
2611
2611
|
const t = {
|
|
2612
2612
|
intersection: null,
|
|
2613
2613
|
disposers: []
|
|
@@ -2662,7 +2662,7 @@ const F3 = (n) => {
|
|
|
2662
2662
|
};
|
|
2663
2663
|
function J() {
|
|
2664
2664
|
}
|
|
2665
|
-
const
|
|
2665
|
+
const pi = (n) => n;
|
|
2666
2666
|
function ft(n, t) {
|
|
2667
2667
|
for (const e in t)
|
|
2668
2668
|
n[e] = t[e];
|
|
@@ -2680,7 +2680,7 @@ function yc() {
|
|
|
2680
2680
|
function et(n) {
|
|
2681
2681
|
n.forEach(If);
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function si(n) {
|
|
2684
2684
|
return typeof n == "function";
|
|
2685
2685
|
}
|
|
2686
2686
|
function ae(n, t) {
|
|
@@ -2736,7 +2736,7 @@ function _e(n) {
|
|
|
2736
2736
|
return n == null ? "" : n;
|
|
2737
2737
|
}
|
|
2738
2738
|
function Qt(n) {
|
|
2739
|
-
return n &&
|
|
2739
|
+
return n && si(n.destroy) ? n.destroy : J;
|
|
2740
2740
|
}
|
|
2741
2741
|
function wc(n) {
|
|
2742
2742
|
const t = typeof n == "string" && n.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
@@ -2929,28 +2929,28 @@ function lA() {
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}
|
|
2931
2931
|
let Fs;
|
|
2932
|
-
function
|
|
2932
|
+
function fi(n) {
|
|
2933
2933
|
Fs = n;
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Ti() {
|
|
2936
2936
|
if (!Fs)
|
|
2937
2937
|
throw new Error("Function called outside component initialization");
|
|
2938
2938
|
return Fs;
|
|
2939
2939
|
}
|
|
2940
2940
|
function Tf(n) {
|
|
2941
|
-
|
|
2941
|
+
Ti().$$.before_update.push(n);
|
|
2942
2942
|
}
|
|
2943
|
-
function
|
|
2944
|
-
|
|
2943
|
+
function Mt(n) {
|
|
2944
|
+
Ti().$$.on_mount.push(n);
|
|
2945
2945
|
}
|
|
2946
2946
|
function Lf(n) {
|
|
2947
|
-
|
|
2947
|
+
Ti().$$.after_update.push(n);
|
|
2948
2948
|
}
|
|
2949
2949
|
function Bt(n) {
|
|
2950
|
-
|
|
2950
|
+
Ti().$$.on_destroy.push(n);
|
|
2951
2951
|
}
|
|
2952
2952
|
function br() {
|
|
2953
|
-
const n =
|
|
2953
|
+
const n = Ti();
|
|
2954
2954
|
return (t, e, { cancelable: i = !1 } = {}) => {
|
|
2955
2955
|
const s = n.$$.callbacks[t];
|
|
2956
2956
|
if (s) {
|
|
@@ -2963,10 +2963,10 @@ function br() {
|
|
|
2963
2963
|
};
|
|
2964
2964
|
}
|
|
2965
2965
|
function Xa(n, t) {
|
|
2966
|
-
return
|
|
2966
|
+
return Ti().$$.context.set(n, t), t;
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2969
|
-
return
|
|
2968
|
+
function Ei(n) {
|
|
2969
|
+
return Ti().$$.context.get(n);
|
|
2970
2970
|
}
|
|
2971
2971
|
function ns(n, t) {
|
|
2972
2972
|
const e = n.$$.callbacks[t.type];
|
|
@@ -2998,12 +2998,12 @@ function kl() {
|
|
|
2998
2998
|
try {
|
|
2999
2999
|
for (; yn < En.length; ) {
|
|
3000
3000
|
const t = En[yn];
|
|
3001
|
-
yn++,
|
|
3001
|
+
yn++, fi(t), cA(t.$$);
|
|
3002
3002
|
}
|
|
3003
3003
|
} catch (t) {
|
|
3004
3004
|
throw En.length = 0, yn = 0, t;
|
|
3005
3005
|
}
|
|
3006
|
-
for (
|
|
3006
|
+
for (fi(null), En.length = 0, yn = 0; He.length; )
|
|
3007
3007
|
He.pop()();
|
|
3008
3008
|
for (let t = 0; t < zn.length; t += 1) {
|
|
3009
3009
|
const e = zn[t];
|
|
@@ -3013,7 +3013,7 @@ function kl() {
|
|
|
3013
3013
|
} while (En.length);
|
|
3014
3014
|
for (; Za.length; )
|
|
3015
3015
|
Za.pop()();
|
|
3016
|
-
Ja = !1, Aa.clear(),
|
|
3016
|
+
Ja = !1, Aa.clear(), fi(n);
|
|
3017
3017
|
}
|
|
3018
3018
|
function cA(n) {
|
|
3019
3019
|
if (n.fragment !== null) {
|
|
@@ -3062,14 +3062,14 @@ function O(n, t, e, i) {
|
|
|
3062
3062
|
i && i();
|
|
3063
3063
|
}
|
|
3064
3064
|
const Dl = { duration: 0 };
|
|
3065
|
-
function
|
|
3065
|
+
function rn(n, t, e) {
|
|
3066
3066
|
const i = { direction: "in" };
|
|
3067
3067
|
let s = t(n, e, i), o = !1, r, a, l = 0;
|
|
3068
3068
|
function c() {
|
|
3069
3069
|
r && $o(n, r);
|
|
3070
3070
|
}
|
|
3071
3071
|
function h() {
|
|
3072
|
-
const { delay: f = 0, duration: g = 300, easing: A =
|
|
3072
|
+
const { delay: f = 0, duration: g = 300, easing: A = pi, tick: p = J, css: m } = s || Dl;
|
|
3073
3073
|
m && (r = Ko(n, 0, 1, g, f, A, m, l++)), p(0, 1);
|
|
3074
3074
|
const b = wl() + f, y = b + g;
|
|
3075
3075
|
a && a.abort(), o = !0, Xe(() => Ui(n, !0, "start")), a = Pl((P) => {
|
|
@@ -3087,7 +3087,7 @@ function on(n, t, e) {
|
|
|
3087
3087
|
let u = !1;
|
|
3088
3088
|
return {
|
|
3089
3089
|
start() {
|
|
3090
|
-
u || (u = !0, $o(n),
|
|
3090
|
+
u || (u = !0, $o(n), si(s) ? (s = s(i), xl().then(h)) : h());
|
|
3091
3091
|
},
|
|
3092
3092
|
invalidate() {
|
|
3093
3093
|
u = !1;
|
|
@@ -3103,7 +3103,7 @@ function ss(n, t, e) {
|
|
|
3103
3103
|
const a = Kt;
|
|
3104
3104
|
a.r += 1;
|
|
3105
3105
|
function l() {
|
|
3106
|
-
const { delay: c = 0, duration: h = 300, easing: u =
|
|
3106
|
+
const { delay: c = 0, duration: h = 300, easing: u = pi, tick: f = J, css: g } = s || Dl;
|
|
3107
3107
|
g && (r = Ko(n, 1, 0, h, c, u, g));
|
|
3108
3108
|
const A = wl() + c, p = A + h;
|
|
3109
3109
|
Xe(() => Ui(n, !1, "start")), Pl((m) => {
|
|
@@ -3118,7 +3118,7 @@ function ss(n, t, e) {
|
|
|
3118
3118
|
return o;
|
|
3119
3119
|
});
|
|
3120
3120
|
}
|
|
3121
|
-
return
|
|
3121
|
+
return si(s) ? xl().then(() => {
|
|
3122
3122
|
s = s(i), l();
|
|
3123
3123
|
}) : l(), {
|
|
3124
3124
|
end(c) {
|
|
@@ -3126,7 +3126,7 @@ function ss(n, t, e) {
|
|
|
3126
3126
|
}
|
|
3127
3127
|
};
|
|
3128
3128
|
}
|
|
3129
|
-
function
|
|
3129
|
+
function ii(n, t, e, i) {
|
|
3130
3130
|
const s = { direction: "both" };
|
|
3131
3131
|
let o = t(n, e, s), r = i ? 0 : 1, a = null, l = null, c = null;
|
|
3132
3132
|
function h() {
|
|
@@ -3145,7 +3145,7 @@ function ni(n, t, e, i) {
|
|
|
3145
3145
|
};
|
|
3146
3146
|
}
|
|
3147
3147
|
function f(g) {
|
|
3148
|
-
const { delay: A = 0, duration: p = 300, easing: m =
|
|
3148
|
+
const { delay: A = 0, duration: p = 300, easing: m = pi, tick: b = J, css: y } = o || Dl, P = {
|
|
3149
3149
|
start: wl() + A,
|
|
3150
3150
|
b: g
|
|
3151
3151
|
};
|
|
@@ -3163,7 +3163,7 @@ function ni(n, t, e, i) {
|
|
|
3163
3163
|
}
|
|
3164
3164
|
return {
|
|
3165
3165
|
run(g) {
|
|
3166
|
-
|
|
3166
|
+
si(o) ? xl().then(() => {
|
|
3167
3167
|
o = o(s), f(g);
|
|
3168
3168
|
}) : f(g);
|
|
3169
3169
|
},
|
|
@@ -3189,11 +3189,11 @@ function er(n, t) {
|
|
|
3189
3189
|
}) : t.block.d(1), c.c(), x(c, 1), c.m(t.mount(), t.anchor), h = !0), t.block = c, t.blocks && (t.blocks[o] = c), h && kl();
|
|
3190
3190
|
}
|
|
3191
3191
|
if (tA(n)) {
|
|
3192
|
-
const s =
|
|
3192
|
+
const s = Ti();
|
|
3193
3193
|
if (n.then((o) => {
|
|
3194
|
-
|
|
3194
|
+
fi(s), i(t.then, 1, t.value, o), fi(null);
|
|
3195
3195
|
}, (o) => {
|
|
3196
|
-
if (
|
|
3196
|
+
if (fi(s), i(t.catch, 2, t.error, o), fi(null), !t.hasCatch)
|
|
3197
3197
|
throw o;
|
|
3198
3198
|
}), t.current !== t.pending)
|
|
3199
3199
|
return i(t.pending, 0), !0;
|
|
@@ -3211,7 +3211,7 @@ const dA = typeof window != "undefined" ? window : typeof globalThis != "undefin
|
|
|
3211
3211
|
function Sl(n, t) {
|
|
3212
3212
|
n.d(1), t.delete(n.key);
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3214
|
+
function Li(n, t) {
|
|
3215
3215
|
O(n, 1, 1, () => {
|
|
3216
3216
|
t.delete(n.key);
|
|
3217
3217
|
});
|
|
@@ -3243,7 +3243,7 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
|
3243
3243
|
E(m[g - 1]);
|
|
3244
3244
|
return et(P), m;
|
|
3245
3245
|
}
|
|
3246
|
-
function
|
|
3246
|
+
function Ct(n, t) {
|
|
3247
3247
|
const e = {}, i = {}, s = { $$scope: 1 };
|
|
3248
3248
|
let o = n.length;
|
|
3249
3249
|
for (; o--; ) {
|
|
@@ -3275,7 +3275,7 @@ function ne(n) {
|
|
|
3275
3275
|
function te(n, t, e, i) {
|
|
3276
3276
|
const { fragment: s, after_update: o } = n.$$;
|
|
3277
3277
|
s && s.m(t, e), i || Xe(() => {
|
|
3278
|
-
const r = n.$$.on_mount.map(If).filter(
|
|
3278
|
+
const r = n.$$.on_mount.map(If).filter(si);
|
|
3279
3279
|
n.$$.on_destroy ? n.$$.on_destroy.push(...r) : et(r), n.$$.on_mount = [];
|
|
3280
3280
|
}), o.forEach(Xe);
|
|
3281
3281
|
}
|
|
@@ -3288,7 +3288,7 @@ function uA(n, t) {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
function le(n, t, e, i, s, o, r, a = [-1]) {
|
|
3290
3290
|
const l = Fs;
|
|
3291
|
-
|
|
3291
|
+
fi(n);
|
|
3292
3292
|
const c = n.$$ = {
|
|
3293
3293
|
fragment: null,
|
|
3294
3294
|
ctx: [],
|
|
@@ -3323,14 +3323,14 @@ function le(n, t, e, i, s, o, r, a = [-1]) {
|
|
|
3323
3323
|
c.fragment && c.fragment.c();
|
|
3324
3324
|
t.intro && x(n.$$.fragment), te(n, t.target, t.anchor, t.customElement), kl();
|
|
3325
3325
|
}
|
|
3326
|
-
|
|
3326
|
+
fi(l);
|
|
3327
3327
|
}
|
|
3328
3328
|
class ce {
|
|
3329
3329
|
$destroy() {
|
|
3330
3330
|
ie(this, 1), this.$destroy = J;
|
|
3331
3331
|
}
|
|
3332
3332
|
$on(t, e) {
|
|
3333
|
-
if (!
|
|
3333
|
+
if (!si(e))
|
|
3334
3334
|
return J;
|
|
3335
3335
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
3336
3336
|
return i.push(e), () => {
|
|
@@ -3724,7 +3724,7 @@ var LA = (
|
|
|
3724
3724
|
var OA = function() {
|
|
3725
3725
|
return typeof tr.ResizeObserver != "undefined" ? tr.ResizeObserver : Gf;
|
|
3726
3726
|
}();
|
|
3727
|
-
function
|
|
3727
|
+
function ji(n) {
|
|
3728
3728
|
new OA((e, i) => {
|
|
3729
3729
|
var s, o, r, a, l, c;
|
|
3730
3730
|
for (const h of e) {
|
|
@@ -3808,7 +3808,7 @@ function VA(n) {
|
|
|
3808
3808
|
for (let u = 0; u < e.length; u += 1)
|
|
3809
3809
|
e[u] && e[u].m(t, null);
|
|
3810
3810
|
s = !0, o || (r = [
|
|
3811
|
-
Qt(
|
|
3811
|
+
Qt(ji.call(null, t)),
|
|
3812
3812
|
Ae(
|
|
3813
3813
|
t,
|
|
3814
3814
|
"clientWidth",
|
|
@@ -3826,7 +3826,7 @@ function VA(n) {
|
|
|
3826
3826
|
p(c, [h]) {
|
|
3827
3827
|
h & /*roomLabels, five*/
|
|
3828
3828
|
3 && (a = /*roomLabels*/
|
|
3829
|
-
c[0], ue(), e = Ut(e, h, l, 1, c, a, i, t,
|
|
3829
|
+
c[0], ue(), e = Ut(e, h, l, 1, c, a, i, t, Li, Ec, null, Ic), fe());
|
|
3830
3830
|
},
|
|
3831
3831
|
i(c) {
|
|
3832
3832
|
if (!s) {
|
|
@@ -4000,7 +4000,7 @@ class FA {
|
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
4002
|
}
|
|
4003
|
-
const
|
|
4003
|
+
const _3 = (n) => new FA(n), W3 = {
|
|
4004
4004
|
name: "ModelRoomLabelPlugin",
|
|
4005
4005
|
version: 0
|
|
4006
4006
|
};
|
|
@@ -4021,7 +4021,7 @@ function Ff(n) {
|
|
|
4021
4021
|
const t = n - 1;
|
|
4022
4022
|
return t * t * t + 1;
|
|
4023
4023
|
}
|
|
4024
|
-
function gt(n, { delay: t = 0, duration: e = 400, easing: i =
|
|
4024
|
+
function gt(n, { delay: t = 0, duration: e = 400, easing: i = pi } = {}) {
|
|
4025
4025
|
const s = +getComputedStyle(n).opacity;
|
|
4026
4026
|
return {
|
|
4027
4027
|
delay: t,
|
|
@@ -4334,7 +4334,7 @@ function sv(n) {
|
|
|
4334
4334
|
},
|
|
4335
4335
|
m(h, u) {
|
|
4336
4336
|
B(h, t, u), a && a.m(t, null), L(t, e), l && l.m(t, null), B(h, i, u), c && c.m(h, u), B(h, s, u), o || (r = [
|
|
4337
|
-
Qt(
|
|
4337
|
+
Qt(ji.call(null, t)),
|
|
4338
4338
|
Ae(
|
|
4339
4339
|
t,
|
|
4340
4340
|
"clientWidth",
|
|
@@ -4505,7 +4505,7 @@ function ov(n) {
|
|
|
4505
4505
|
},
|
|
4506
4506
|
m(a, l) {
|
|
4507
4507
|
B(a, t, l), r && r.m(t, null), e || (i = [
|
|
4508
|
-
Qt(
|
|
4508
|
+
Qt(ji.call(null, t)),
|
|
4509
4509
|
Ae(
|
|
4510
4510
|
t,
|
|
4511
4511
|
"clientWidth",
|
|
@@ -4558,13 +4558,13 @@ function av(n, t, e) {
|
|
|
4558
4558
|
return () => !1;
|
|
4559
4559
|
const je = ee.path.map(({ x: Qe, y: Ye }) => [Qe, Ye]), me = ee.roomLabel.position, { x: tt, y: at } = me, { width: xe, height: st } = ve, re = xe / 2, Ie = st / 2;
|
|
4560
4560
|
return function(Ye) {
|
|
4561
|
-
const
|
|
4561
|
+
const kt = tt * Ye, ot = at * Ye, Pt = je.map(([Ne, Je]) => [Ne * Ye, Je * Ye]);
|
|
4562
4562
|
return [
|
|
4563
|
-
[
|
|
4564
|
-
[
|
|
4565
|
-
[
|
|
4566
|
-
[
|
|
4567
|
-
].every((Ne) => rv(Ne,
|
|
4563
|
+
[kt + re, ot - Ie],
|
|
4564
|
+
[kt - re, ot - Ie],
|
|
4565
|
+
[kt - re, ot + Ie],
|
|
4566
|
+
[kt + re, ot + Ie]
|
|
4567
|
+
].every((Ne) => rv(Ne, Pt));
|
|
4568
4568
|
};
|
|
4569
4569
|
}
|
|
4570
4570
|
const N = document.body.clientWidth, F = document.body.clientHeight, H = I.roomLabel, Q = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", Z = (N < 500 || F < 500 ? 10 : 14) + "px", X = (N < 500 || F < 500 ? 8 : 12) + "px";
|
|
@@ -4699,7 +4699,7 @@ function Tc(n) {
|
|
|
4699
4699
|
for (let u = 0; u < e.length; u += 1)
|
|
4700
4700
|
e[u] && e[u].m(t, null);
|
|
4701
4701
|
s = !0, o || (r = [
|
|
4702
|
-
Qt(
|
|
4702
|
+
Qt(ji.call(null, t)),
|
|
4703
4703
|
Ae(
|
|
4704
4704
|
t,
|
|
4705
4705
|
"clientWidth",
|
|
@@ -4711,7 +4711,7 @@ function Tc(n) {
|
|
|
4711
4711
|
p(c, h) {
|
|
4712
4712
|
h & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
|
|
4713
4713
|
1791 && (a = /*rooms*/
|
|
4714
|
-
c[10], ue(), e = Ut(e, h, l, 1, c, a, i, t,
|
|
4714
|
+
c[10], ue(), e = Ut(e, h, l, 1, c, a, i, t, Li, Lc, null, Sc), fe());
|
|
4715
4715
|
},
|
|
4716
4716
|
i(c) {
|
|
4717
4717
|
if (!s) {
|
|
@@ -4794,7 +4794,7 @@ function Lc(n, t) {
|
|
|
4794
4794
|
p(a, l) {
|
|
4795
4795
|
t = a;
|
|
4796
4796
|
const c = l & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
|
|
4797
|
-
1791 ?
|
|
4797
|
+
1791 ? Ct(o, [
|
|
4798
4798
|
{
|
|
4799
4799
|
pxmm: (
|
|
4800
4800
|
/*pxmm*/
|
|
@@ -5184,7 +5184,7 @@ function Vc(n, t) {
|
|
|
5184
5184
|
p(a, l) {
|
|
5185
5185
|
t = a;
|
|
5186
5186
|
const c = l & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
5187
|
-
19 ?
|
|
5187
|
+
19 ? Ct(o, [
|
|
5188
5188
|
{
|
|
5189
5189
|
type: (
|
|
5190
5190
|
/*type*/
|
|
@@ -5256,7 +5256,7 @@ function vv(n) {
|
|
|
5256
5256
|
p(a, [l]) {
|
|
5257
5257
|
l & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
5258
5258
|
19 && (o = /*ruleLabelArray*/
|
|
5259
|
-
a[4], ue(), e = Ut(e, l, r, 1, a, o, i, t,
|
|
5259
|
+
a[4], ue(), e = Ut(e, l, r, 1, a, o, i, t, Li, Vc, null, Rc), fe()), l & /*width*/
|
|
5260
5260
|
8 && T(
|
|
5261
5261
|
t,
|
|
5262
5262
|
"width",
|
|
@@ -5907,7 +5907,7 @@ function _c(n, t) {
|
|
|
5907
5907
|
p(a, l) {
|
|
5908
5908
|
t = a;
|
|
5909
5909
|
const c = l & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
|
|
5910
|
-
15 ?
|
|
5910
|
+
15 ? Ct(o, [
|
|
5911
5911
|
{
|
|
5912
5912
|
room: (
|
|
5913
5913
|
/*room*/
|
|
@@ -5981,7 +5981,7 @@ function Wv(n) {
|
|
|
5981
5981
|
l[1].floorDatas[
|
|
5982
5982
|
/*floorIndex*/
|
|
5983
5983
|
l[0]
|
|
5984
|
-
].rooms, ue(), i = Ut(i, c, a, 1, l, r, s, e,
|
|
5984
|
+
].rooms, ue(), i = Ut(i, c, a, 1, l, r, s, e, Li, _c, null, Qc), fe());
|
|
5985
5985
|
},
|
|
5986
5986
|
i(l) {
|
|
5987
5987
|
if (!o) {
|
|
@@ -6129,7 +6129,7 @@ class Jv extends ce {
|
|
|
6129
6129
|
super(), le(this, t, Zv, Xv, ae, { missingFloorConfig: 0 }, Yv);
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
6132
|
-
const
|
|
6132
|
+
const Mi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tvf/O1f7Czv3T2f6cu/+qvP7a4fvo7v77/v/o9//p9//0+v////+Vy//w9//k8/+B1f/v9/+D0/+UyP/u9v+D0v/i8f+F0v/g7/+G0P+KzP+Hz/////+Lx//s8/+Puf/h7P+Mxv/w9f7q8v/q8f2RwP/r8f6JrP/t8v6RvP/l6f7////j6P6VvP/f5/7q8P7a4P/U2f6au/+ZuP+ewf+auP+iu//n6f2Fn//j6P/h4fn9/v/4/P/3/P/o9v/l9P+F1P+B1f/i8v+UyP+J0f+E0f/h7//r8v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jQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";
|
|
6133
6133
|
function Uf(n) {
|
|
6134
6134
|
return n * 180 / Math.PI;
|
|
6135
6135
|
}
|
|
@@ -6141,7 +6141,7 @@ function Kv(n) {
|
|
|
6141
6141
|
return {
|
|
6142
6142
|
c() {
|
|
6143
6143
|
t = S("div"), e = S("div"), C(e, "class", "floorplan__camera-rotate svelte-17cl35n"), T(e, "background-image", `url(${/*cameraImageUrl*/
|
|
6144
|
-
n[0] ||
|
|
6144
|
+
n[0] || Mi})`), T(
|
|
6145
6145
|
e,
|
|
6146
6146
|
"width",
|
|
6147
6147
|
/*domSizeStyle*/
|
|
@@ -6174,7 +6174,7 @@ function Kv(n) {
|
|
|
6174
6174
|
p(i, [s]) {
|
|
6175
6175
|
s & /*cameraImageUrl*/
|
|
6176
6176
|
1 && T(e, "background-image", `url(${/*cameraImageUrl*/
|
|
6177
|
-
i[0] ||
|
|
6177
|
+
i[0] || Mi})`);
|
|
6178
6178
|
const o = s & /*cameraImageUrl*/
|
|
6179
6179
|
1;
|
|
6180
6180
|
o && T(
|
|
@@ -6372,7 +6372,7 @@ function c0(n) {
|
|
|
6372
6372
|
},
|
|
6373
6373
|
p(I, k) {
|
|
6374
6374
|
const E = k & /*floorIndex, floorplanData*/
|
|
6375
|
-
2052 ?
|
|
6375
|
+
2052 ? Ct(u, [
|
|
6376
6376
|
{
|
|
6377
6377
|
floorIndex: (
|
|
6378
6378
|
/*floorIndex*/
|
|
@@ -6391,7 +6391,7 @@ function c0(n) {
|
|
|
6391
6391
|
g = null;
|
|
6392
6392
|
}), fe());
|
|
6393
6393
|
const j = k & /*floorplanData, floorIndex*/
|
|
6394
|
-
2052 ?
|
|
6394
|
+
2052 ? Ct(A, [
|
|
6395
6395
|
{
|
|
6396
6396
|
floorplanData: (
|
|
6397
6397
|
/*floorplanData*/
|
|
@@ -6499,7 +6499,7 @@ function Uc(n) {
|
|
|
6499
6499
|
},
|
|
6500
6500
|
p(o, r) {
|
|
6501
6501
|
const a = r & /*floorIndex, floorplanData, hoveredRoom, highlightData*/
|
|
6502
|
-
16910340 ?
|
|
6502
|
+
16910340 ? Ct(i, [
|
|
6503
6503
|
{
|
|
6504
6504
|
floorIndex: (
|
|
6505
6505
|
/*floorIndex*/
|
|
@@ -6590,7 +6590,7 @@ function Yc(n) {
|
|
|
6590
6590
|
},
|
|
6591
6591
|
p(o, r) {
|
|
6592
6592
|
const a = r & /*floorplanData, roomAreaEnable, roomNameEnable, roomDimensionEnable, floorIndex, getRoomAreaText, getRoomDimensionText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
6593
|
-
16874372 ?
|
|
6593
|
+
16874372 ? Ct(i, [
|
|
6594
6594
|
{
|
|
6595
6595
|
floorplanData: (
|
|
6596
6596
|
/*floorplanData*/
|
|
@@ -6677,7 +6677,7 @@ function Xc(n) {
|
|
|
6677
6677
|
},
|
|
6678
6678
|
p(o, r) {
|
|
6679
6679
|
const a = r & /*floorplanData, floorIndex, getRuleDistanceText*/
|
|
6680
|
-
34820 ?
|
|
6680
|
+
34820 ? Ct(i, [
|
|
6681
6681
|
{
|
|
6682
6682
|
floorplanData: (
|
|
6683
6683
|
/*floorplanData*/
|
|
@@ -6740,7 +6740,7 @@ function Zc(n) {
|
|
|
6740
6740
|
},
|
|
6741
6741
|
p(o, r) {
|
|
6742
6742
|
const a = r & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
|
|
6743
|
-
1574913 ?
|
|
6743
|
+
1574913 ? Ct(i, [
|
|
6744
6744
|
{
|
|
6745
6745
|
panoIndex: (
|
|
6746
6746
|
/*panoIndex*/
|
|
@@ -6973,12 +6973,12 @@ function Kc(n) {
|
|
|
6973
6973
|
for (let l = 0; l < s.length; l += 1)
|
|
6974
6974
|
x(o[l]);
|
|
6975
6975
|
e || Xe(() => {
|
|
6976
|
-
e =
|
|
6976
|
+
e = rn(t, gt, {
|
|
6977
6977
|
duration: (
|
|
6978
6978
|
/*duration*/
|
|
6979
6979
|
n[0]
|
|
6980
6980
|
),
|
|
6981
|
-
easing:
|
|
6981
|
+
easing: pi
|
|
6982
6982
|
}), e.start();
|
|
6983
6983
|
}), i = !0;
|
|
6984
6984
|
}
|
|
@@ -7109,7 +7109,7 @@ function $c(n) {
|
|
|
7109
7109
|
},
|
|
7110
7110
|
p(o, r) {
|
|
7111
7111
|
const a = r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc, floorIndex*/
|
|
7112
|
-
16777212 ?
|
|
7112
|
+
16777212 ? Ct(i, [
|
|
7113
7113
|
r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc*/
|
|
7114
7114
|
16777196 && {
|
|
7115
7115
|
hoverEnable: (
|
|
@@ -7387,7 +7387,7 @@ function C0(n) {
|
|
|
7387
7387
|
floorIndex: n.floor_index
|
|
7388
7388
|
};
|
|
7389
7389
|
}
|
|
7390
|
-
function
|
|
7390
|
+
function ki(n) {
|
|
7391
7391
|
return G(this, null, function* () {
|
|
7392
7392
|
const t = yield v0(n.outlines), e = n.computed_data.bounding, i = n.computed_data.floor_datas.map(y0), s = n.computed_data.entrance ? C0(n.computed_data.entrance) : null;
|
|
7393
7393
|
return {
|
|
@@ -7501,19 +7501,19 @@ class Xf extends Yf {
|
|
|
7501
7501
|
return (i = this.observers) == null ? void 0 : i[e];
|
|
7502
7502
|
}
|
|
7503
7503
|
}
|
|
7504
|
-
let
|
|
7504
|
+
let zi = class {
|
|
7505
7505
|
constructor(t, e) {
|
|
7506
7506
|
/**
|
|
7507
7507
|
* @realsee/dnalogel 版本号
|
|
7508
7508
|
*/
|
|
7509
|
-
d(this, "VERSION", "3.36.
|
|
7509
|
+
d(this, "VERSION", "3.36.7");
|
|
7510
7510
|
d(this, "NAME");
|
|
7511
7511
|
d(this, "five");
|
|
7512
7512
|
d(this, "workUtil");
|
|
7513
7513
|
/**
|
|
7514
7514
|
* @description: 插件事件钩子
|
|
7515
7515
|
*/
|
|
7516
|
-
d(this, "hooks", new
|
|
7516
|
+
d(this, "hooks", new wt());
|
|
7517
7517
|
d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
7518
7518
|
this.five = t, this.workUtil = new Xf(t), e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
|
|
7519
7519
|
}
|
|
@@ -7537,9 +7537,9 @@ let rn = class {
|
|
|
7537
7537
|
}
|
|
7538
7538
|
onWorkCodeChange() {
|
|
7539
7539
|
}
|
|
7540
|
-
},
|
|
7540
|
+
}, Ai = class extends zi {
|
|
7541
7541
|
};
|
|
7542
|
-
var
|
|
7542
|
+
var Tt = /* @__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))(Tt || {});
|
|
7543
7543
|
const Zf = 500, E0 = 80;
|
|
7544
7544
|
function Xi(n, t, e = 4) {
|
|
7545
7545
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
@@ -7606,7 +7606,7 @@ function qf(n, t, e = !0) {
|
|
|
7606
7606
|
)
|
|
7607
7607
|
), [c] = yield $i(n.updateCamera(Gn(t, ["mode"]), l, e));
|
|
7608
7608
|
if (c)
|
|
7609
|
-
throw new Error(
|
|
7609
|
+
throw new Error(Tt.UpdateCameraError);
|
|
7610
7610
|
});
|
|
7611
7611
|
}
|
|
7612
7612
|
function Fn(n, t, e = 300) {
|
|
@@ -7626,7 +7626,7 @@ function S0(n) {
|
|
|
7626
7626
|
const { latitude: t, longitude: e } = n, i = Math.abs(t - Math.PI / 2) < 10 * Math.PI / 180, s = e < 30 * (Math.PI / 180) || e > 330 * (Math.PI / 180);
|
|
7627
7627
|
return i && s;
|
|
7628
7628
|
}
|
|
7629
|
-
let T0 = class extends
|
|
7629
|
+
let T0 = class extends Ai {
|
|
7630
7630
|
constructor(e, i) {
|
|
7631
7631
|
var l, c, h;
|
|
7632
7632
|
super(e);
|
|
@@ -7703,7 +7703,7 @@ let T0 = class extends vi {
|
|
|
7703
7703
|
d(this, "_disable", (e) => {
|
|
7704
7704
|
var s, o, r;
|
|
7705
7705
|
const { userAction: i } = e;
|
|
7706
|
-
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this,
|
|
7706
|
+
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
7707
7707
|
});
|
|
7708
7708
|
d(this, "_enable", (e) => {
|
|
7709
7709
|
const { userAction: i } = e;
|
|
@@ -7714,9 +7714,9 @@ let T0 = class extends vi {
|
|
|
7714
7714
|
if (!this.state.enabled)
|
|
7715
7715
|
return;
|
|
7716
7716
|
if (!((r = this.five.model) != null && r.loaded))
|
|
7717
|
-
throw new Error(
|
|
7717
|
+
throw new Error(Tt.ModelNotLoaded);
|
|
7718
7718
|
if (!this.data)
|
|
7719
|
-
throw new Error(
|
|
7719
|
+
throw new Error(Tt.DataNotLoaded);
|
|
7720
7720
|
if (this.showPromise)
|
|
7721
7721
|
return this.showPromise;
|
|
7722
7722
|
const i = {
|
|
@@ -7735,9 +7735,9 @@ let T0 = class extends vi {
|
|
|
7735
7735
|
if (c)
|
|
7736
7736
|
throw c;
|
|
7737
7737
|
if (a)
|
|
7738
|
-
throw l ? new Error(l) : new Error(
|
|
7738
|
+
throw l ? new Error(l) : new Error(Tt.UnknownError);
|
|
7739
7739
|
if (!this.updateSize())
|
|
7740
|
-
throw new Error(
|
|
7740
|
+
throw new Error(Tt.UpdateSizeError);
|
|
7741
7741
|
this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
|
|
7742
7742
|
});
|
|
7743
7743
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
@@ -7754,7 +7754,7 @@ let T0 = class extends vi {
|
|
|
7754
7754
|
}));
|
|
7755
7755
|
d(this, "_hide", (e) => {
|
|
7756
7756
|
var o;
|
|
7757
|
-
(o = this.showRejection) == null || o.call(this,
|
|
7757
|
+
(o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
|
|
7758
7758
|
const s = D(D({}, {
|
|
7759
7759
|
userAction: !0,
|
|
7760
7760
|
isAutoHide: !1
|
|
@@ -7852,7 +7852,7 @@ let T0 = class extends vi {
|
|
|
7852
7852
|
roomNameEnable: !0,
|
|
7853
7853
|
roomDimensionEnable: !0,
|
|
7854
7854
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
7855
|
-
cameraImageUrl:
|
|
7855
|
+
cameraImageUrl: Mi,
|
|
7856
7856
|
attachedTo: Yi.BOUNDING_CENTER,
|
|
7857
7857
|
getLabelElement: void 0,
|
|
7858
7858
|
missingFloorConfig: D(D({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -7871,7 +7871,7 @@ let T0 = class extends vi {
|
|
|
7871
7871
|
const r = e;
|
|
7872
7872
|
r && Xs(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
7873
7873
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
7874
|
-
this.data = yield
|
|
7874
|
+
this.data = yield ki(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
7875
7875
|
});
|
|
7876
7876
|
}
|
|
7877
7877
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
@@ -7907,7 +7907,7 @@ let T0 = class extends vi {
|
|
|
7907
7907
|
}
|
|
7908
7908
|
formatData(e) {
|
|
7909
7909
|
return G(this, null, function* () {
|
|
7910
|
-
return yield
|
|
7910
|
+
return yield ki(e.data);
|
|
7911
7911
|
});
|
|
7912
7912
|
}
|
|
7913
7913
|
updateState(e, i) {
|
|
@@ -7956,7 +7956,7 @@ let T0 = class extends vi {
|
|
|
7956
7956
|
this.app = new jl({ target: this.container, intro: !0, props: i });
|
|
7957
7957
|
}
|
|
7958
7958
|
};
|
|
7959
|
-
const
|
|
7959
|
+
const K3 = (n, t) => new T0(n, t);
|
|
7960
7960
|
function L0(n) {
|
|
7961
7961
|
const { latitude: t, longitude: e } = n, i = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, s = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
|
|
7962
7962
|
return i || s;
|
|
@@ -7965,7 +7965,7 @@ function j0(n) {
|
|
|
7965
7965
|
const { latitude: t, longitude: e } = n, i = Math.abs(t - Math.PI / 2) < 10 * Math.PI / 180, s = e < 30 * (Math.PI / 180) || e > 330 * (Math.PI / 180);
|
|
7966
7966
|
return i && s;
|
|
7967
7967
|
}
|
|
7968
|
-
let z0 = class extends
|
|
7968
|
+
let z0 = class extends Ai {
|
|
7969
7969
|
constructor(e, i) {
|
|
7970
7970
|
var l, c;
|
|
7971
7971
|
super(e);
|
|
@@ -8042,7 +8042,7 @@ let z0 = class extends vi {
|
|
|
8042
8042
|
d(this, "_disable", (e) => {
|
|
8043
8043
|
var s, o, r;
|
|
8044
8044
|
const { userAction: i } = e;
|
|
8045
|
-
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this,
|
|
8045
|
+
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
8046
8046
|
});
|
|
8047
8047
|
d(this, "_enable", (e) => {
|
|
8048
8048
|
const { userAction: i } = e;
|
|
@@ -8053,9 +8053,9 @@ let z0 = class extends vi {
|
|
|
8053
8053
|
if (!this.state.enabled)
|
|
8054
8054
|
return;
|
|
8055
8055
|
if (!((r = this.five.model) != null && r.loaded))
|
|
8056
|
-
throw new Error(
|
|
8056
|
+
throw new Error(Tt.ModelNotLoaded);
|
|
8057
8057
|
if (!this.data)
|
|
8058
|
-
throw new Error(
|
|
8058
|
+
throw new Error(Tt.DataNotLoaded);
|
|
8059
8059
|
if (this.showPromise)
|
|
8060
8060
|
return this.showPromise;
|
|
8061
8061
|
const i = {
|
|
@@ -8074,9 +8074,9 @@ let z0 = class extends vi {
|
|
|
8074
8074
|
if (c)
|
|
8075
8075
|
throw c;
|
|
8076
8076
|
if (a)
|
|
8077
|
-
throw l ? new Error(l) : new Error(
|
|
8077
|
+
throw l ? new Error(l) : new Error(Tt.UnknownError);
|
|
8078
8078
|
if (!this.updateSize())
|
|
8079
|
-
throw new Error(
|
|
8079
|
+
throw new Error(Tt.UpdateSizeError);
|
|
8080
8080
|
this.updatePosition(), this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
|
|
8081
8081
|
});
|
|
8082
8082
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
@@ -8093,7 +8093,7 @@ let z0 = class extends vi {
|
|
|
8093
8093
|
}));
|
|
8094
8094
|
d(this, "_hide", (e) => {
|
|
8095
8095
|
var o;
|
|
8096
|
-
(o = this.showRejection) == null || o.call(this,
|
|
8096
|
+
(o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
|
|
8097
8097
|
const s = D(D({}, {
|
|
8098
8098
|
userAction: !0,
|
|
8099
8099
|
isAutoHide: !1
|
|
@@ -8185,7 +8185,7 @@ let z0 = class extends vi {
|
|
|
8185
8185
|
roomAreaEnable: !0,
|
|
8186
8186
|
roomNameEnable: !0,
|
|
8187
8187
|
roomDimensionEnable: !0,
|
|
8188
|
-
cameraImageUrl:
|
|
8188
|
+
cameraImageUrl: Mi,
|
|
8189
8189
|
attachedTo: Yi.BOUNDING_CENTER,
|
|
8190
8190
|
getLabelElement: void 0,
|
|
8191
8191
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
@@ -8205,7 +8205,7 @@ let z0 = class extends vi {
|
|
|
8205
8205
|
const r = e;
|
|
8206
8206
|
r && Xs(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
8207
8207
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
8208
|
-
this.data = yield
|
|
8208
|
+
this.data = yield ki(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
8209
8209
|
});
|
|
8210
8210
|
}
|
|
8211
8211
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
@@ -8249,7 +8249,7 @@ let z0 = class extends vi {
|
|
|
8249
8249
|
}
|
|
8250
8250
|
formatData(e) {
|
|
8251
8251
|
return G(this, null, function* () {
|
|
8252
|
-
return yield
|
|
8252
|
+
return yield ki(e.data);
|
|
8253
8253
|
});
|
|
8254
8254
|
}
|
|
8255
8255
|
updateState(e, i) {
|
|
@@ -8298,8 +8298,8 @@ let z0 = class extends vi {
|
|
|
8298
8298
|
this.app = new jl({ target: this.container, intro: !0, props: i });
|
|
8299
8299
|
}
|
|
8300
8300
|
};
|
|
8301
|
-
const
|
|
8302
|
-
let O0 = class extends
|
|
8301
|
+
const ex = (n, t) => new z0(n, t);
|
|
8302
|
+
let O0 = class extends Ai {
|
|
8303
8303
|
constructor(e, i) {
|
|
8304
8304
|
var l, c;
|
|
8305
8305
|
super(e);
|
|
@@ -8414,7 +8414,7 @@ let O0 = class extends vi {
|
|
|
8414
8414
|
roomAreaEnable: !0,
|
|
8415
8415
|
roomNameEnable: !0,
|
|
8416
8416
|
roomDimensionEnable: !0,
|
|
8417
|
-
cameraImageUrl:
|
|
8417
|
+
cameraImageUrl: Mi,
|
|
8418
8418
|
attachedTo: Yi.BOUNDING_CENTER,
|
|
8419
8419
|
getLabelElement: void 0,
|
|
8420
8420
|
missingFloorConfig: D(D({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -8434,7 +8434,7 @@ let O0 = class extends vi {
|
|
|
8434
8434
|
const r = e;
|
|
8435
8435
|
r && Xs(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
8436
8436
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
8437
|
-
this.data = yield
|
|
8437
|
+
this.data = yield ki(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
8438
8438
|
});
|
|
8439
8439
|
}
|
|
8440
8440
|
/** 更新户型图位置 */
|
|
@@ -8496,7 +8496,7 @@ let O0 = class extends vi {
|
|
|
8496
8496
|
}
|
|
8497
8497
|
formatData(e) {
|
|
8498
8498
|
return G(this, null, function* () {
|
|
8499
|
-
return yield
|
|
8499
|
+
return yield ki(e.data);
|
|
8500
8500
|
});
|
|
8501
8501
|
}
|
|
8502
8502
|
_show(e) {
|
|
@@ -8571,7 +8571,7 @@ let O0 = class extends vi {
|
|
|
8571
8571
|
this.app = new jl({ target: this.container, intro: !0, props: i });
|
|
8572
8572
|
}
|
|
8573
8573
|
};
|
|
8574
|
-
const
|
|
8574
|
+
const ix = (n, t) => new O0(n, t);
|
|
8575
8575
|
function Rl(n, t = 200) {
|
|
8576
8576
|
let e;
|
|
8577
8577
|
return function(...i) {
|
|
@@ -8588,7 +8588,7 @@ function R0(n) {
|
|
|
8588
8588
|
return {
|
|
8589
8589
|
c() {
|
|
8590
8590
|
t = S("div"), e = S("div"), i = S("div"), C(i, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), T(i, "background-image", "url(" + /*cameraImageUrl*/
|
|
8591
|
-
(n[0] ||
|
|
8591
|
+
(n[0] || Mi) + ")"), T(
|
|
8592
8592
|
i,
|
|
8593
8593
|
"transform",
|
|
8594
8594
|
/*rotateTransform*/
|
|
@@ -8611,7 +8611,7 @@ function R0(n) {
|
|
|
8611
8611
|
p(s, [o]) {
|
|
8612
8612
|
o & /*cameraImageUrl*/
|
|
8613
8613
|
1 && T(i, "background-image", "url(" + /*cameraImageUrl*/
|
|
8614
|
-
(s[0] ||
|
|
8614
|
+
(s[0] || Mi) + ")"), (o & /*cameraImageUrl*/
|
|
8615
8615
|
1 || o & /*rotateTransform, cameraImageUrl*/
|
|
8616
8616
|
3) && T(
|
|
8617
8617
|
i,
|
|
@@ -8664,7 +8664,7 @@ function H0(n, t, e) {
|
|
|
8664
8664
|
},
|
|
8665
8665
|
1e3 / 60
|
|
8666
8666
|
);
|
|
8667
|
-
return
|
|
8667
|
+
return Mt(() => (a.on("panoWillArrive", p), a.on("panoArrived", m), a.on("cameraDirectionUpdate", b), function() {
|
|
8668
8668
|
a.off("panoWillArrive", p), a.off("panoArrived", m), a.off("cameraDirectionUpdate", b);
|
|
8669
8669
|
})), n.$$set = (I) => {
|
|
8670
8670
|
"five" in I && e(4, a = I.five), "pxmm" in I && e(5, l = I.pxmm), "floorplanData" in I && e(6, c = I.floorplanData), "cameraImageUrl" in I && e(0, h = I.cameraImageUrl);
|
|
@@ -8837,7 +8837,7 @@ function U0(n) {
|
|
|
8837
8837
|
},
|
|
8838
8838
|
p(h, u) {
|
|
8839
8839
|
const f = u & /*floorIndex, floorplanData*/
|
|
8840
|
-
20 ?
|
|
8840
|
+
20 ? Ct(a, [
|
|
8841
8841
|
{
|
|
8842
8842
|
floorIndex: (
|
|
8843
8843
|
/*floorIndex*/
|
|
@@ -8935,7 +8935,7 @@ function sh(n) {
|
|
|
8935
8935
|
},
|
|
8936
8936
|
p(o, r) {
|
|
8937
8937
|
const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData, undefined*/
|
|
8938
|
-
567 ?
|
|
8938
|
+
567 ? Ct(i, [
|
|
8939
8939
|
{
|
|
8940
8940
|
five: (
|
|
8941
8941
|
/*five*/
|
|
@@ -9071,7 +9071,7 @@ function oh(n) {
|
|
|
9071
9071
|
},
|
|
9072
9072
|
m(r, a) {
|
|
9073
9073
|
B(r, t, a), o && o.m(t, null), e = !0, i || (s = [
|
|
9074
|
-
Qt(
|
|
9074
|
+
Qt(ji.call(null, t)),
|
|
9075
9075
|
Ae(
|
|
9076
9076
|
t,
|
|
9077
9077
|
"clientWidth",
|
|
@@ -9180,7 +9180,7 @@ function rh(n) {
|
|
|
9180
9180
|
},
|
|
9181
9181
|
p(f, g) {
|
|
9182
9182
|
const A = g & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData, missingFloorImageUrl*/
|
|
9183
|
-
6381 ?
|
|
9183
|
+
6381 ? Ct(l, [
|
|
9184
9184
|
{
|
|
9185
9185
|
five: (
|
|
9186
9186
|
/*five*/
|
|
@@ -9218,7 +9218,7 @@ function rh(n) {
|
|
|
9218
9218
|
]) : {};
|
|
9219
9219
|
e.$set(A);
|
|
9220
9220
|
const p = g & /*pxmm, five, floorplanData, cameraImageUrl*/
|
|
9221
|
-
2073 ?
|
|
9221
|
+
2073 ? Ct(h, [
|
|
9222
9222
|
{
|
|
9223
9223
|
pxmm: (
|
|
9224
9224
|
/*pxmm*/
|
|
@@ -9291,7 +9291,7 @@ function $0(n, t, e) {
|
|
|
9291
9291
|
function b(E) {
|
|
9292
9292
|
e(12, f = i.work.observers[E].floorIndex);
|
|
9293
9293
|
}
|
|
9294
|
-
|
|
9294
|
+
Mt(() => (i.on("panoArrived", b), () => {
|
|
9295
9295
|
i.off("panoArrived", b);
|
|
9296
9296
|
}));
|
|
9297
9297
|
const y = (E) => {
|
|
@@ -9350,7 +9350,7 @@ class eb extends ce {
|
|
|
9350
9350
|
);
|
|
9351
9351
|
}
|
|
9352
9352
|
}
|
|
9353
|
-
let tb = class extends
|
|
9353
|
+
let tb = class extends Ai {
|
|
9354
9354
|
constructor(e, i) {
|
|
9355
9355
|
super(e);
|
|
9356
9356
|
// =============== public properties =================
|
|
@@ -9384,7 +9384,7 @@ let tb = class extends vi {
|
|
|
9384
9384
|
const s = {
|
|
9385
9385
|
hoverEnable: !0,
|
|
9386
9386
|
highlightEnable: !0,
|
|
9387
|
-
cameraImageUrl:
|
|
9387
|
+
cameraImageUrl: Mi,
|
|
9388
9388
|
missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
|
|
9389
9389
|
}, o = D(D({}, s), i == null ? void 0 : i.configs);
|
|
9390
9390
|
this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
|
|
@@ -9395,7 +9395,7 @@ let tb = class extends vi {
|
|
|
9395
9395
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
9396
9396
|
}
|
|
9397
9397
|
const r = JSON.parse(JSON.stringify(e)), a = o(r) ? r.data : r, l = this.data;
|
|
9398
|
-
this.data = yield
|
|
9398
|
+
this.data = yield ki(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), i && this.updateState(i, s), this.render();
|
|
9399
9399
|
});
|
|
9400
9400
|
}
|
|
9401
9401
|
show() {
|
|
@@ -9450,7 +9450,7 @@ let tb = class extends vi {
|
|
|
9450
9450
|
}
|
|
9451
9451
|
formatData(e) {
|
|
9452
9452
|
return G(this, null, function* () {
|
|
9453
|
-
return yield
|
|
9453
|
+
return yield ki(e.data);
|
|
9454
9454
|
});
|
|
9455
9455
|
}
|
|
9456
9456
|
_enable(e) {
|
|
@@ -9492,7 +9492,7 @@ let tb = class extends vi {
|
|
|
9492
9492
|
this.app ? this.app.$set(e) : this.app = new eb({ target: this.wrapper, props: e });
|
|
9493
9493
|
}
|
|
9494
9494
|
};
|
|
9495
|
-
const
|
|
9495
|
+
const sx = (n, t) => new tb(n, t), ox = [
|
|
9496
9496
|
{ type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
|
|
9497
9497
|
{ type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
|
|
9498
9498
|
{ type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
|
|
@@ -9564,14 +9564,14 @@ const nx = (n, t) => new tb(n, t), sx = [
|
|
|
9564
9564
|
{ type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
|
|
9565
9565
|
{ type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
|
|
9566
9566
|
{ type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
|
|
9567
|
-
],
|
|
9567
|
+
], rx = [
|
|
9568
9568
|
{ type: 0, description: "木质地板" },
|
|
9569
9569
|
{ type: 1, description: "瓷砖地面" },
|
|
9570
9570
|
{ type: 2, description: "户外地面" },
|
|
9571
9571
|
{ type: 3, description: "卫生间地面" },
|
|
9572
9572
|
{ type: 4, description: "阳台地面" },
|
|
9573
9573
|
{ type: 5, description: "车库地面" }
|
|
9574
|
-
],
|
|
9574
|
+
], ax = [
|
|
9575
9575
|
{ roomType: "100900000001", description: "室" },
|
|
9576
9576
|
{ roomType: "100900000002", description: "厅" },
|
|
9577
9577
|
{ roomType: "100900000003", description: "厨" },
|
|
@@ -9610,7 +9610,7 @@ function Kf(n, t) {
|
|
|
9610
9610
|
}
|
|
9611
9611
|
});
|
|
9612
9612
|
}
|
|
9613
|
-
const
|
|
9613
|
+
const lx = (n, t) => {
|
|
9614
9614
|
var p;
|
|
9615
9615
|
const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", i = (p = t.north_rad) != null ? p : void 0, s = {};
|
|
9616
9616
|
let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
|
|
@@ -9666,7 +9666,7 @@ function nb(n, t) {
|
|
|
9666
9666
|
const l = a.getContext("2d");
|
|
9667
9667
|
return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${i}px "微软雅黑"`, l.textAlign = r, l.fillStyle = o, l.fillText(n, e / 2, e * 0.7), new jm(a);
|
|
9668
9668
|
}
|
|
9669
|
-
const sb = ({ x: n, y: t, z: e }) => new oe(n, t, e),
|
|
9669
|
+
const sb = ({ x: n, y: t, z: e }) => new oe(n, t, e), cx = (n, t) => {
|
|
9670
9670
|
var p, m, b;
|
|
9671
9671
|
const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (m = t.position) != null ? m : void 0, o = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => G(void 0, null, function* () {
|
|
9672
9672
|
var _, N, F, H, Q, U, Z, X;
|
|
@@ -9743,7 +9743,7 @@ function rb(n, t, e, i = ob.Linear.None) {
|
|
|
9743
9743
|
function ab(n, t) {
|
|
9744
9744
|
return rb({ progress: 0 }, { progress: 1 }, n, t);
|
|
9745
9745
|
}
|
|
9746
|
-
var lb = /* @__PURE__ */ ((n) => (n.Move = "Move", n.Rotate = "Rotate", n))(lb || {}),
|
|
9746
|
+
var lb = /* @__PURE__ */ ((n) => (n.Move = "Move", n.Rotate = "Rotate", n))(lb || {}), di = /* @__PURE__ */ ((n) => (n.Clockwise = "Clockwise", n.Anticlockwise = "Anticlockwise", n.Loop = "Loop", n))(di || {});
|
|
9747
9747
|
const Fo = Math.PI * 2;
|
|
9748
9748
|
function ah(n) {
|
|
9749
9749
|
return (n % Fo + Fo) % Fo;
|
|
@@ -9757,8 +9757,8 @@ function ya(n, t, e) {
|
|
|
9757
9757
|
const Ka = (n, t, e) => {
|
|
9758
9758
|
const i = Math.PI, s = i * 2;
|
|
9759
9759
|
let o = ah(n), r = ah(t);
|
|
9760
|
-
return e ===
|
|
9761
|
-
},
|
|
9760
|
+
return e === di.Anticlockwise && o < r && (o += s), e === di.Clockwise && r < o && (r += s), e === di.Loop && r - o > i ? Ka(o, r, di.Anticlockwise) : e === di.Loop && o - r > i ? Ka(o, r, di.Clockwise) : { from: o, to: r };
|
|
9761
|
+
}, hx = (n) => {
|
|
9762
9762
|
const t = {}, e = (l, c, ...h) => G(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
|
|
9763
9763
|
return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, f) => {
|
|
9764
9764
|
const g = o.panoIndex !== void 0 ? o.panoIndex : n.panoIndex;
|
|
@@ -9774,7 +9774,7 @@ const Ka = (n, t, e) => {
|
|
|
9774
9774
|
const r = n.state, a = lh(r.latitude), l = lh(o.latitude), { from: c, to: h } = Ka(
|
|
9775
9775
|
r.longitude,
|
|
9776
9776
|
o.longitude,
|
|
9777
|
-
o.rotation ||
|
|
9777
|
+
o.rotation || di.Loop
|
|
9778
9778
|
), u = r.fov, f = o.fov;
|
|
9779
9779
|
return {
|
|
9780
9780
|
from: { latitude: a, longitude: c, fov: u },
|
|
@@ -9806,7 +9806,7 @@ const Ka = (n, t, e) => {
|
|
|
9806
9806
|
}, m = () => {
|
|
9807
9807
|
g(!1);
|
|
9808
9808
|
}, b = o.rotateSpeed ? Math.ceil(Math.abs(f.longitude - u.longitude) / o.rotateSpeed * 1e3) : r, y = ab(b, Ft.Linear.None).onUpdate(A).onComplete(p).onDestroy(m);
|
|
9809
|
-
o.rotation ===
|
|
9809
|
+
o.rotation === di.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (P = !0) => {
|
|
9810
9810
|
y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), g(P);
|
|
9811
9811
|
}, t.timeoutId = setTimeout(() => {
|
|
9812
9812
|
t.interruptCallback && t.interruptCallback(!0);
|
|
@@ -9972,7 +9972,7 @@ const db = `<style type="text/css">
|
|
|
9972
9972
|
a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
|
|
9973
9973
|
}
|
|
9974
9974
|
return e;
|
|
9975
|
-
},
|
|
9975
|
+
}, dx = (n, t) => {
|
|
9976
9976
|
const e = {
|
|
9977
9977
|
enable: !1,
|
|
9978
9978
|
loaded: !1,
|
|
@@ -10551,7 +10551,7 @@ function wb(n, t, e) {
|
|
|
10551
10551
|
});
|
|
10552
10552
|
e(0, r = _);
|
|
10553
10553
|
}, g = () => pr(f), A = Rl(f, 80);
|
|
10554
|
-
return
|
|
10554
|
+
return Mt(() => {
|
|
10555
10555
|
f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", g), i.on("movingToPano", g), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
|
|
10556
10556
|
}), Bt(() => {
|
|
10557
10557
|
i.off("panoArrived", f), i.off("modeChange", f), i.off("cameraDirectionUpdate", g), i.off("movingToPano", g), i.off("mouseWheel", () => A()), i.off("pinchGesture", () => A());
|
|
@@ -10626,7 +10626,7 @@ let Pb = class {
|
|
|
10626
10626
|
this.container && ((t = this.rulerItems) == null || t.$destroy(), this.rulerItems = void 0), this.container.remove();
|
|
10627
10627
|
}
|
|
10628
10628
|
};
|
|
10629
|
-
const
|
|
10629
|
+
const fx = (n, t) => new Pb(n, t), Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZHmMc4c+EchCe5/9llqfAYEQyRlAzy27QCAeSRfdlEq2gECIpIVeSB1aRAAiudVixVKnINAaAiGS1nok9WkFAUJb8Upa6Y3Uo2kEQiRNd08qd0YEQiJnBD+37guBEElf/ZXang6BEMnpsM6dOkcgRNJ5B66x+nrjLmsTX1J6bSJHZ7+o9HklynWaOse1eKcc+XVlvxYFEnlfaThWfb7mcsn5nPRM6WmVU55KfO+J0m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+GBCV1dgycE5EZDufs/31+D9r8vJg8BSCFT2kojN3K4vvBQm3E3Zy0WIRICwVRcwSFPbdu194LKt+kEdtT/SIQLS4Tddbenohy4nDwKnQGAPG4rdZALehA09KpGo8bhou9iUbbs0/jMNTscBdRgJAm0hIF1+wzWSrt52OXkQOCUC0kNsNNuHsatz24iHqI709GxLAjcmktJQEwj5WPA+aCiuWB4YHKOT4yYRkF7zUNkg0lueSI4EgbMiIJ1kZyshL9LUOjNEwkT9sXT2pBP1VyaSQiCse9Coqa27LApBIPE+BEKkLwSk32zRHESDkp0zkSDQBALF9uKdYHunnkthwo7tfXQqQjmYSNQImBACIU2xIuGreB8CIdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
|
|
10630
10630
|
function Eb() {
|
|
10631
10631
|
const n = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
|
|
10632
10632
|
return n.appendChild(t), n.appendChild(e), n.style.position = "relative", n.style.width = "100%", n.style.display = "flex", n.style.flexDirection = "column", n.style.alignItems = "center", n.style.marginTop = `${150 / 16}rem`, n.style.opacity = "0", n.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${Ib})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
|
|
@@ -10664,7 +10664,7 @@ function ig(n) {
|
|
|
10664
10664
|
});
|
|
10665
10665
|
}
|
|
10666
10666
|
const Mo = { userAction: !0 };
|
|
10667
|
-
class kb extends
|
|
10667
|
+
class kb extends Ai {
|
|
10668
10668
|
constructor(e, i) {
|
|
10669
10669
|
super(e, i);
|
|
10670
10670
|
/**
|
|
@@ -10918,7 +10918,7 @@ class kb extends vi {
|
|
|
10918
10918
|
return vr(this.five).create3DDomContainer(e);
|
|
10919
10919
|
}
|
|
10920
10920
|
}
|
|
10921
|
-
const
|
|
10921
|
+
const gx = (n, t) => new kb(n, t), xb = 1, Db = 3, Sb = new qn(16777215), Tb = new qn(6522623), Lb = new qn(16777215), jb = new qn(6522623), zb = 6, Ob = 8, Bb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", ng = new tf().load(Bb), Rb = {
|
|
10922
10922
|
pointTexture: ng,
|
|
10923
10923
|
pointSize: zb,
|
|
10924
10924
|
lineWidth: xb,
|
|
@@ -11049,7 +11049,7 @@ class Fb extends sg {
|
|
|
11049
11049
|
const s = i.clientWidth, o = i.clientHeight, r = s / 2, a = o / 2;
|
|
11050
11050
|
if (this.line.points.length < 2)
|
|
11051
11051
|
return;
|
|
11052
|
-
const [l, c] = this.line.points, h = l.
|
|
11052
|
+
const [l, c] = this.line.points.map((V) => V.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = Si(l, c).clone().project(e.camera), g = new yt(h.x * r, h.y * a), A = new yt(u.x * r, u.y * a), p = g.distanceTo(A);
|
|
11053
11053
|
if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Qo(h) && !Qo(u) || !Qo(f) || p === 0))() === !1) {
|
|
11054
11054
|
this.hide();
|
|
11055
11055
|
return;
|
|
@@ -11068,7 +11068,7 @@ class Fb extends sg {
|
|
|
11068
11068
|
return a != null ? a : s.toFixed(2) + "m";
|
|
11069
11069
|
}
|
|
11070
11070
|
}
|
|
11071
|
-
class
|
|
11071
|
+
class xi {
|
|
11072
11072
|
constructor(t, e, i) {
|
|
11073
11073
|
d(this, "id");
|
|
11074
11074
|
d(this, "selected", !1);
|
|
@@ -11085,7 +11085,7 @@ class Di {
|
|
|
11085
11085
|
var s;
|
|
11086
11086
|
if (this.id = nt(), this.model = i, t.id === e.id)
|
|
11087
11087
|
throw new Error("无效的线段, 一个点无法构成线段");
|
|
11088
|
-
typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new
|
|
11088
|
+
typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new on(), this.points = [t, e], this.mesh = gh(this, "normal"), this.lightMesh = gh(this, "light"), this.distanceItem = new Fb({
|
|
11089
11089
|
line: this,
|
|
11090
11090
|
clickCallback: () => this.hook.emit("selected", this),
|
|
11091
11091
|
userDistanceItem: (s = this.model.config) != null && s.userDistanceItemCreator ? this.model.config.userDistanceItemCreator() : void 0
|
|
@@ -11129,7 +11129,7 @@ class Di {
|
|
|
11129
11129
|
return { id: this.id, points: this.points.map((t) => t.toJson()), text: this.text };
|
|
11130
11130
|
}
|
|
11131
11131
|
clone() {
|
|
11132
|
-
const t = new
|
|
11132
|
+
const t = new xi(this.points[0].clone(), this.points[1].clone(), this.model);
|
|
11133
11133
|
return t.text = this.text, t;
|
|
11134
11134
|
}
|
|
11135
11135
|
}
|
|
@@ -11170,6 +11170,7 @@ let Cr = class {
|
|
|
11170
11170
|
d(this, "hook");
|
|
11171
11171
|
d(this, "magnifier");
|
|
11172
11172
|
d(this, "userDistanceItemCreator");
|
|
11173
|
+
d(this, "workUtil");
|
|
11173
11174
|
d(this, "getMeasureType");
|
|
11174
11175
|
d(this, "updateDistanceUI", () => {
|
|
11175
11176
|
this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((t) => t.distanceItem.update(this.five));
|
|
@@ -11182,7 +11183,7 @@ let Cr = class {
|
|
|
11182
11183
|
});
|
|
11183
11184
|
});
|
|
11184
11185
|
var i, s;
|
|
11185
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.magnifierParams = t.magnifierParams, this.editParams = t.editParams, this.magnifier = t.magnifier, this.container = t.container, this.isMobile = (s = (i = t.openParams) == null ? void 0 : i.isMobile) != null ? s : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new
|
|
11186
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.magnifierParams = t.magnifierParams, this.editParams = t.editParams, this.magnifier = t.magnifier, this.container = t.container, this.isMobile = (s = (i = t.openParams) == null ? void 0 : i.isMobile) != null ? s : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new xi(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new xi(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new qn(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
11186
11187
|
const e = this.five.getElement();
|
|
11187
11188
|
e && (e.addEventListener("touchstart", ko), e.addEventListener("contextmenu", ko));
|
|
11188
11189
|
}
|
|
@@ -11216,7 +11217,7 @@ let Cr = class {
|
|
|
11216
11217
|
d(this, "visibleFiveMode");
|
|
11217
11218
|
d(this, "model");
|
|
11218
11219
|
d(this, "type", "polyline");
|
|
11219
|
-
d(this, "hook", new
|
|
11220
|
+
d(this, "hook", new on());
|
|
11220
11221
|
this.model = t.model;
|
|
11221
11222
|
}
|
|
11222
11223
|
get points() {
|
|
@@ -11296,7 +11297,7 @@ let Cr = class {
|
|
|
11296
11297
|
const [r, a] = o.points, l = e(r), c = e(a);
|
|
11297
11298
|
if (!l || !c)
|
|
11298
11299
|
throw new Error("线上的点不存在");
|
|
11299
|
-
const h = new
|
|
11300
|
+
const h = new xi(l, c, this.model);
|
|
11300
11301
|
return h.id = o.id, h.text = o.text, h;
|
|
11301
11302
|
});
|
|
11302
11303
|
this.lines.push(...i), this.visiblePanoIndexes = t.visiblePanoIndexes, this.visibleFiveMode = t.visibleFiveMode;
|
|
@@ -11424,7 +11425,7 @@ function cg(n, t, e) {
|
|
|
11424
11425
|
}
|
|
11425
11426
|
function Wb(n, t, e, i) {
|
|
11426
11427
|
const s = i != null ? i : cg(n, t, e);
|
|
11427
|
-
return
|
|
11428
|
+
return Si(n, t, e).multiplyScalar(s);
|
|
11428
11429
|
}
|
|
11429
11430
|
function Ub(n) {
|
|
11430
11431
|
var s;
|
|
@@ -11476,7 +11477,7 @@ class $a {
|
|
|
11476
11477
|
d(this, "type", "area");
|
|
11477
11478
|
d(this, "lightMesh");
|
|
11478
11479
|
d(this, "areaItem");
|
|
11479
|
-
d(this, "hook", new
|
|
11480
|
+
d(this, "hook", new on());
|
|
11480
11481
|
d(this, "model");
|
|
11481
11482
|
/** 多边形mesh */
|
|
11482
11483
|
d(this, "polygon");
|
|
@@ -11518,7 +11519,7 @@ class $a {
|
|
|
11518
11519
|
this.points = this.points.concat(t);
|
|
11519
11520
|
const e = this.points.at(-2), i = this.points.at(-1);
|
|
11520
11521
|
if (e && i) {
|
|
11521
|
-
const o = new
|
|
11522
|
+
const o = new xi(new zt(e), new zt(i), this.polyline.model);
|
|
11522
11523
|
this.polyline.addLine(o), this.meshContainer.add(o.mesh), this.five && (o.distanceItem.setCanSelect(!1), o.distanceItem.appendTo(this.domContainer), o.distanceItem.update(this.five));
|
|
11523
11524
|
}
|
|
11524
11525
|
(s = this.meshContainer) != null && s.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new w.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
|
|
@@ -11621,7 +11622,7 @@ function Jb(n, t) {
|
|
|
11621
11622
|
return se(D({}, i), { raycaster: t, isVirtual: !1 });
|
|
11622
11623
|
}
|
|
11623
11624
|
const In = () => !1;
|
|
11624
|
-
class dg extends
|
|
11625
|
+
class dg extends wt {
|
|
11625
11626
|
constructor(e, i) {
|
|
11626
11627
|
var r, a;
|
|
11627
11628
|
super();
|
|
@@ -11884,7 +11885,7 @@ function $b(n, t) {
|
|
|
11884
11885
|
return n.x === t.x && n.y === t.y;
|
|
11885
11886
|
}
|
|
11886
11887
|
const Ah = () => !1;
|
|
11887
|
-
class
|
|
11888
|
+
class Ii extends Cr {
|
|
11888
11889
|
constructor(e) {
|
|
11889
11890
|
var i;
|
|
11890
11891
|
super(e);
|
|
@@ -11972,7 +11973,7 @@ class Ei extends Cr {
|
|
|
11972
11973
|
if (!(s != null && s.position && i.position.equals(s == null ? void 0 : s.position))) {
|
|
11973
11974
|
if (this.lastPoint = i, this.currentMeasureType === "line") {
|
|
11974
11975
|
if (i && s) {
|
|
11975
|
-
const h = new
|
|
11976
|
+
const h = new xi(s, i, this.model);
|
|
11976
11977
|
h.distanceItem.setCanSelect(!1), h.distanceItem.appendTo(this.container), this.polyline.addLine(h), this.group.add(h.mesh), h.distanceItem.update(this.five);
|
|
11977
11978
|
}
|
|
11978
11979
|
const c = (r = (o = this.editParams) == null ? void 0 : o.autoEndConfig) == null ? void 0 : r.line;
|
|
@@ -12402,7 +12403,7 @@ class ug {
|
|
|
12402
12403
|
d(this, "config");
|
|
12403
12404
|
d(this, "polylines", []);
|
|
12404
12405
|
d(this, "areas", []);
|
|
12405
|
-
d(this, "hook", new
|
|
12406
|
+
d(this, "hook", new wt());
|
|
12406
12407
|
this.config = t;
|
|
12407
12408
|
}
|
|
12408
12409
|
addPolyline(t) {
|
|
@@ -12692,7 +12693,7 @@ class Cs extends Cr {
|
|
|
12692
12693
|
d(this, "onGetEndPoint", () => {
|
|
12693
12694
|
const e = this.mobileNowPoint;
|
|
12694
12695
|
if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && e) {
|
|
12695
|
-
const i = new
|
|
12696
|
+
const i = new xi(this.mobileStartPoint, e, this.model);
|
|
12696
12697
|
this.polyline.addLine(i), i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), i.hook.on("selected", this.chooseLine), this.disposers.push(() => i.hook.off("selected", this.chooseLine)), this.group.add(i.mesh), this.model.addPolyline(this.polyline);
|
|
12697
12698
|
}
|
|
12698
12699
|
this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
|
|
@@ -13396,7 +13397,7 @@ function k1(n) {
|
|
|
13396
13397
|
},
|
|
13397
13398
|
m(s, o) {
|
|
13398
13399
|
B(s, t, o), e || (i = Ae(t, "click", function() {
|
|
13399
|
-
|
|
13400
|
+
si(
|
|
13400
13401
|
/*onClick*/
|
|
13401
13402
|
n[0]
|
|
13402
13403
|
) && n[0].apply(this, arguments);
|
|
@@ -13598,7 +13599,7 @@ function T1(n, t, e) {
|
|
|
13598
13599
|
m === "Edit" ? e(5, f = !0) : (a(null), e(5, f = !1));
|
|
13599
13600
|
}
|
|
13600
13601
|
function c() {
|
|
13601
|
-
i.controller instanceof
|
|
13602
|
+
i.controller instanceof Ii && i.controller.complete(), i.save({ mode: "Watch" });
|
|
13602
13603
|
}
|
|
13603
13604
|
function h(m) {
|
|
13604
13605
|
e(3, r = m.length > 0);
|
|
@@ -13606,7 +13607,7 @@ function T1(n, t, e) {
|
|
|
13606
13607
|
function u() {
|
|
13607
13608
|
e(3, r = !1);
|
|
13608
13609
|
}
|
|
13609
|
-
|
|
13610
|
+
Mt(() => {
|
|
13610
13611
|
i.hook.on("modeChange", l), i.hook.on("complete", u), i.hook.on("pointsChange", h);
|
|
13611
13612
|
}), Bt(() => {
|
|
13612
13613
|
i.hook.off("modeChange", l), i.hook.off("complete", u), i.hook.off("pointsChange", h);
|
|
@@ -13882,11 +13883,11 @@ function jh(n) {
|
|
|
13882
13883
|
},
|
|
13883
13884
|
i(o) {
|
|
13884
13885
|
s || (Xe(() => {
|
|
13885
|
-
s && (i || (i =
|
|
13886
|
+
s && (i || (i = ii(t, gt, { duration: 300 }, !0)), i.run(1));
|
|
13886
13887
|
}), s = !0);
|
|
13887
13888
|
},
|
|
13888
13889
|
o(o) {
|
|
13889
|
-
i || (i =
|
|
13890
|
+
i || (i = ii(t, gt, { duration: 300 }, !1)), i.run(0), s = !1;
|
|
13890
13891
|
},
|
|
13891
13892
|
d(o) {
|
|
13892
13893
|
o && z(t), o && i && i.end();
|
|
@@ -13905,7 +13906,7 @@ function V1(n) {
|
|
|
13905
13906
|
},
|
|
13906
13907
|
m(a, l) {
|
|
13907
13908
|
B(a, t, l), r.m(t, null), i = !0, s || (o = Ae(t, "click", function() {
|
|
13908
|
-
|
|
13909
|
+
si(
|
|
13909
13910
|
/*onClick*/
|
|
13910
13911
|
n[1]
|
|
13911
13912
|
) && n[1].apply(this, arguments);
|
|
@@ -14042,11 +14043,11 @@ function Oh(n) {
|
|
|
14042
14043
|
},
|
|
14043
14044
|
i(o) {
|
|
14044
14045
|
s || (x(e.$$.fragment, o), o && Xe(() => {
|
|
14045
|
-
s && (i || (i =
|
|
14046
|
+
s && (i || (i = ii(t, gt, { duration: _n }, !0)), i.run(1));
|
|
14046
14047
|
}), s = !0);
|
|
14047
14048
|
},
|
|
14048
14049
|
o(o) {
|
|
14049
|
-
O(e.$$.fragment, o), o && (i || (i =
|
|
14050
|
+
O(e.$$.fragment, o), o && (i || (i = ii(t, gt, { duration: _n }, !1)), i.run(0)), s = !1;
|
|
14050
14051
|
},
|
|
14051
14052
|
d(o) {
|
|
14052
14053
|
o && z(t), ie(e), o && i && i.end();
|
|
@@ -14088,11 +14089,11 @@ function Bh(n) {
|
|
|
14088
14089
|
},
|
|
14089
14090
|
i(h) {
|
|
14090
14091
|
a || (h && Xe(() => {
|
|
14091
|
-
a && (r || (r =
|
|
14092
|
+
a && (r || (r = ii(t, gt, { duration: _n }, !0)), r.run(1));
|
|
14092
14093
|
}), a = !0);
|
|
14093
14094
|
},
|
|
14094
14095
|
o(h) {
|
|
14095
|
-
h && (r || (r =
|
|
14096
|
+
h && (r || (r = ii(t, gt, { duration: _n }, !1)), r.run(0)), a = !1;
|
|
14096
14097
|
},
|
|
14097
14098
|
d(h) {
|
|
14098
14099
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -14123,11 +14124,11 @@ function Rh(n) {
|
|
|
14123
14124
|
},
|
|
14124
14125
|
i(h) {
|
|
14125
14126
|
a || (h && Xe(() => {
|
|
14126
|
-
a && (r || (r =
|
|
14127
|
+
a && (r || (r = ii(t, gt, { duration: _n }, !0)), r.run(1));
|
|
14127
14128
|
}), a = !0);
|
|
14128
14129
|
},
|
|
14129
14130
|
o(h) {
|
|
14130
|
-
h && (r || (r =
|
|
14131
|
+
h && (r || (r = ii(t, gt, { duration: _n }, !1)), r.run(0)), a = !1;
|
|
14131
14132
|
},
|
|
14132
14133
|
d(h) {
|
|
14133
14134
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -14245,9 +14246,9 @@ function Q1(n, t, e) {
|
|
|
14245
14246
|
const f = () => {
|
|
14246
14247
|
i.getCurrentMode() !== "Edit" ? i.changeMode("Edit") : (p("add"), g());
|
|
14247
14248
|
}, g = () => {
|
|
14248
|
-
i.controller instanceof
|
|
14249
|
+
i.controller instanceof Ii && i.controller.selectPoint();
|
|
14249
14250
|
}, A = () => {
|
|
14250
|
-
i.controller instanceof
|
|
14251
|
+
i.controller instanceof Ii && i.controller.complete();
|
|
14251
14252
|
}, p = (_) => {
|
|
14252
14253
|
e(3, h = _);
|
|
14253
14254
|
}, m = () => {
|
|
@@ -14267,7 +14268,7 @@ function Q1(n, t, e) {
|
|
|
14267
14268
|
}, j = (_) => {
|
|
14268
14269
|
_.isEmpty && p("start");
|
|
14269
14270
|
};
|
|
14270
|
-
|
|
14271
|
+
Mt(() => {
|
|
14271
14272
|
i.hook.on("revoke", j), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", I), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", b), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
|
|
14272
14273
|
}), Bt(() => {
|
|
14273
14274
|
i.hook.off("measureTypeChange", E), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", b), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", I);
|
|
@@ -14452,11 +14453,11 @@ function Vh(n) {
|
|
|
14452
14453
|
},
|
|
14453
14454
|
i(r) {
|
|
14454
14455
|
o || (Xe(() => {
|
|
14455
|
-
o && (s || (s =
|
|
14456
|
+
o && (s || (s = ii(t, gt, {}, !0)), s.run(1));
|
|
14456
14457
|
}), o = !0);
|
|
14457
14458
|
},
|
|
14458
14459
|
o(r) {
|
|
14459
|
-
s || (s =
|
|
14460
|
+
s || (s = ii(t, gt, {}, !1)), s.run(0), o = !1;
|
|
14460
14461
|
},
|
|
14461
14462
|
d(r) {
|
|
14462
14463
|
r && z(t), n[7](null), r && s && s.end();
|
|
@@ -14514,7 +14515,7 @@ function Z1(n, t, e) {
|
|
|
14514
14515
|
}, m = (y) => {
|
|
14515
14516
|
i.currentMeasureType === "area" && (y.length >= 2 ? h("close") : y.length === 0 ? h("start") : u());
|
|
14516
14517
|
};
|
|
14517
|
-
|
|
14518
|
+
Mt(() => {
|
|
14518
14519
|
g(i.getCurrentMode()), i.hook.on("modeChange", g), i.hook.on("complete", A), i.hook.on("pointsChange", m), i.hook.on("measureTypeChange", p);
|
|
14519
14520
|
}), Bt(() => {
|
|
14520
14521
|
i.hook.off("modeChange", g), i.hook.off("complete", A), i.hook.off("pointsChange", m), i.hook.off("measureTypeChange", p), u();
|
|
@@ -14626,17 +14627,20 @@ class ey {
|
|
|
14626
14627
|
function tn(n) {
|
|
14627
14628
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
14628
14629
|
}
|
|
14629
|
-
class ty {
|
|
14630
|
-
constructor(
|
|
14630
|
+
class ty extends zi {
|
|
14631
|
+
constructor(e, i) {
|
|
14632
|
+
var r, a, l, c, h, u, f, g, A;
|
|
14633
|
+
super(e);
|
|
14634
|
+
d(this, "state", { enabled: !0 });
|
|
14631
14635
|
d(this, "hasOpen", !1);
|
|
14632
|
-
|
|
14636
|
+
/** @deprecated use hooks instead */
|
|
14637
|
+
d(this, "hook");
|
|
14633
14638
|
d(this, "magnifier");
|
|
14634
14639
|
d(this, "controller", null);
|
|
14635
14640
|
/** 允许的测量类型 */
|
|
14636
14641
|
d(this, "allowMeasureType");
|
|
14637
14642
|
/** 当前的测量类型 */
|
|
14638
14643
|
d(this, "currentMeasureType");
|
|
14639
|
-
d(this, "five");
|
|
14640
14644
|
d(this, "model");
|
|
14641
14645
|
d(this, "group");
|
|
14642
14646
|
d(this, "config");
|
|
@@ -14651,115 +14655,114 @@ class ty {
|
|
|
14651
14655
|
* @description 还原点位展示和默认鼠标 UI
|
|
14652
14656
|
*/
|
|
14653
14657
|
d(this, "disable", () => {
|
|
14654
|
-
var
|
|
14655
|
-
this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (
|
|
14658
|
+
var e, i, s, o;
|
|
14659
|
+
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (i = this.useUIController) == null || i.hide(), (s = this.useGuideController) == null || s.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
14656
14660
|
});
|
|
14657
|
-
d(this, "getCurrentMode", () => this.controller instanceof
|
|
14661
|
+
d(this, "getCurrentMode", () => this.controller instanceof Ii ? "Edit" : this.controller instanceof wh ? "Watch" : this.controller instanceof Cs ? "Mixed" : this.controller instanceof vh ? "View" : null);
|
|
14658
14662
|
/** 变更场景
|
|
14659
14663
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
14660
14664
|
*/
|
|
14661
|
-
d(this, "changeMode", (
|
|
14662
|
-
var
|
|
14663
|
-
if (!this.hasOpen || this.getCurrentMode() ===
|
|
14665
|
+
d(this, "changeMode", (e) => {
|
|
14666
|
+
var o;
|
|
14667
|
+
if (!this.hasOpen || this.getCurrentMode() === e)
|
|
14664
14668
|
return;
|
|
14665
|
-
(
|
|
14666
|
-
const
|
|
14669
|
+
(o = this.controller) == null || o.dispose();
|
|
14670
|
+
const i = {
|
|
14667
14671
|
View: vh,
|
|
14668
14672
|
Watch: wh,
|
|
14669
|
-
Edit:
|
|
14673
|
+
Edit: Ii,
|
|
14670
14674
|
Mixed: Cs
|
|
14671
14675
|
};
|
|
14672
|
-
if (!e
|
|
14676
|
+
if (!i[e])
|
|
14673
14677
|
throw new Error("不存在的 Mode");
|
|
14674
|
-
const
|
|
14675
|
-
this.controller = new e
|
|
14678
|
+
const s = this.createControllerParams();
|
|
14679
|
+
this.controller = new i[e](s), this.hook.emit("modeChange", e);
|
|
14676
14680
|
});
|
|
14677
14681
|
/**
|
|
14678
14682
|
* @description: 切换测量的类型
|
|
14679
14683
|
*/
|
|
14680
|
-
d(this, "changeMeasureType", (
|
|
14681
|
-
this.currentMeasureType =
|
|
14684
|
+
d(this, "changeMeasureType", (e) => {
|
|
14685
|
+
this.currentMeasureType = e, this.hook.emit("measureTypeChange", e);
|
|
14682
14686
|
});
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
const i = (f = (u = e.editParams) == null ? void 0 : u.pointSelectorMode) != null ? f : hg ? "fixed" : "cursor", s = (g = this.params.openParams) != null ? g : {};
|
|
14687
|
+
this.five = e, this.hook = this.hooks, this.params = i, this.config = Gn(i, ["openParams", "magnifierParams"]), this.model = new ug(this.config), this.isMobile = (a = (r = i == null ? void 0 : i.openParams) == null ? void 0 : r.isMobile) != null ? a : !1, this.magnifier = new pl(e, (l = i.magnifierParams) != null ? l : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((h = (c = i.editParams) == null ? void 0 : c.allowMeasureType) != null ? h : ["line"])), this.currentMeasureType = (u = this.allowMeasureType[0]) != null ? u : "line", this.group = new Ln(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
14688
|
+
const s = (g = (f = i.editParams) == null ? void 0 : f.pointSelectorMode) != null ? g : hg ? "fixed" : "cursor", o = (A = this.params.openParams) != null ? A : {};
|
|
14686
14689
|
if (this.params.useUIController !== !1) {
|
|
14687
|
-
const
|
|
14690
|
+
const p = D({
|
|
14688
14691
|
container: this.container,
|
|
14689
|
-
openParams:
|
|
14690
|
-
i18n:
|
|
14691
|
-
pointSelectorMode:
|
|
14692
|
+
openParams: o,
|
|
14693
|
+
i18n: i.i18n,
|
|
14694
|
+
pointSelectorMode: s,
|
|
14692
14695
|
useNewUI: this.allowMeasureType.length > 1
|
|
14693
14696
|
}, tn(this.params.useUIController));
|
|
14694
|
-
this.useUIController = new W1(this,
|
|
14697
|
+
this.useUIController = new W1(this, p);
|
|
14695
14698
|
}
|
|
14696
14699
|
if (this.params.useGuideController !== !1) {
|
|
14697
|
-
const
|
|
14700
|
+
const p = D({
|
|
14698
14701
|
container: this.container,
|
|
14699
|
-
pointSelectorMode:
|
|
14700
|
-
i18n:
|
|
14702
|
+
pointSelectorMode: s,
|
|
14703
|
+
i18n: i.i18n
|
|
14701
14704
|
}, tn(this.params.useGuideController));
|
|
14702
|
-
this.useGuideController = new $1(this,
|
|
14705
|
+
this.useGuideController = new $1(this, p);
|
|
14703
14706
|
}
|
|
14704
14707
|
}
|
|
14705
|
-
appendTo(
|
|
14706
|
-
|
|
14708
|
+
appendTo(e) {
|
|
14709
|
+
e.append(this.container);
|
|
14707
14710
|
}
|
|
14708
14711
|
clear() {
|
|
14709
14712
|
this.model.clear();
|
|
14710
14713
|
}
|
|
14711
14714
|
dispose() {
|
|
14712
|
-
var
|
|
14713
|
-
this.disable(), this.clear(), (
|
|
14715
|
+
var e, i;
|
|
14716
|
+
this.disable(), this.clear(), (e = this.useUIController) == null || e.dispose(), (i = this.magnifier) == null || i.dispose(), this.five.needsRender = !0;
|
|
14714
14717
|
}
|
|
14715
14718
|
/** 加载数据
|
|
14716
14719
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
14717
14720
|
* @description 如果当前正在编辑中,会自动退出并保存编辑
|
|
14718
14721
|
*/
|
|
14719
|
-
load(
|
|
14720
|
-
this.model.parse(
|
|
14722
|
+
load(e) {
|
|
14723
|
+
this.model.parse(e), this.save();
|
|
14721
14724
|
}
|
|
14722
14725
|
/** 插件功能入口
|
|
14723
14726
|
* @description 会隐藏鼠标的默认聚焦环
|
|
14724
14727
|
* @description 会隐藏当前 VR 内的点位展示
|
|
14725
14728
|
*/
|
|
14726
|
-
enable(
|
|
14727
|
-
var
|
|
14728
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1",
|
|
14729
|
+
enable(e) {
|
|
14730
|
+
var i, s;
|
|
14731
|
+
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", e != null && e.mode ? this.changeMode(e.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (i = this.useUIController) == null || i.show(), (s = this.useGuideController) == null || s.show(), this.shortcutKeyController = new ey(this, this.five), this.hook.emit("enable", !0));
|
|
14729
14732
|
}
|
|
14730
14733
|
/** 进入编辑模式 */
|
|
14731
|
-
edit(
|
|
14732
|
-
|
|
14733
|
-
const
|
|
14734
|
-
this.changeMode(
|
|
14734
|
+
edit(e) {
|
|
14735
|
+
e && this.changeMeasureType(e);
|
|
14736
|
+
const i = this.isMobile ? "Mixed" : "Edit";
|
|
14737
|
+
this.changeMode(i);
|
|
14735
14738
|
}
|
|
14736
14739
|
/** 撤销编辑 */
|
|
14737
14740
|
revoke() {
|
|
14738
|
-
this.controller instanceof
|
|
14741
|
+
this.controller instanceof Ii && this.controller.revoke();
|
|
14739
14742
|
}
|
|
14740
|
-
removePolyline(
|
|
14741
|
-
this.model.removePolyline(
|
|
14743
|
+
removePolyline(e) {
|
|
14744
|
+
this.model.removePolyline(e);
|
|
14742
14745
|
}
|
|
14743
|
-
removeArea(
|
|
14744
|
-
this.model.removeArea(
|
|
14746
|
+
removeArea(e) {
|
|
14747
|
+
this.model.removeArea(e);
|
|
14745
14748
|
}
|
|
14746
|
-
removePolylineByID(
|
|
14747
|
-
const
|
|
14748
|
-
|
|
14749
|
+
removePolylineByID(e) {
|
|
14750
|
+
const i = this.model.getPolylineByID(e);
|
|
14751
|
+
i && this.model.removePolyline(i);
|
|
14749
14752
|
}
|
|
14750
|
-
getPolylineByID(
|
|
14751
|
-
return this.model.getPolylineByID(
|
|
14753
|
+
getPolylineByID(e) {
|
|
14754
|
+
return this.model.getPolylineByID(e);
|
|
14752
14755
|
}
|
|
14753
14756
|
getEditedPolyline() {
|
|
14754
14757
|
}
|
|
14755
14758
|
/**
|
|
14756
14759
|
* 高亮当前线段
|
|
14757
14760
|
*/
|
|
14758
|
-
highlightLine(
|
|
14761
|
+
highlightLine(e) {
|
|
14759
14762
|
if (this.getCurrentMode() !== "Watch")
|
|
14760
14763
|
return !1;
|
|
14761
|
-
const
|
|
14762
|
-
return
|
|
14764
|
+
const i = this.model.getLineByID(e);
|
|
14765
|
+
return i ? (this.controller.highlightLine(i), !0) : !1;
|
|
14763
14766
|
}
|
|
14764
14767
|
clearHighlightLines() {
|
|
14765
14768
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -14767,14 +14770,14 @@ class ty {
|
|
|
14767
14770
|
/** 保存编辑
|
|
14768
14771
|
* @description 以下情况可能报错
|
|
14769
14772
|
*/
|
|
14770
|
-
save(
|
|
14771
|
-
var
|
|
14772
|
-
if (!(this.controller instanceof
|
|
14773
|
+
save(e) {
|
|
14774
|
+
var o;
|
|
14775
|
+
if (!(this.controller instanceof Ii) && !(this.controller instanceof Cs))
|
|
14773
14776
|
return this;
|
|
14774
|
-
const
|
|
14775
|
-
return this.controller instanceof
|
|
14776
|
-
|
|
14777
|
-
}), this.changeMode(
|
|
14777
|
+
const i = (o = e == null ? void 0 : e.mode) != null ? o : "View", s = this.controller.model.areas;
|
|
14778
|
+
return this.controller instanceof Ii ? this.controller.complete() : s.forEach((r) => {
|
|
14779
|
+
r.showArea(), this.model.addArea(r);
|
|
14780
|
+
}), this.changeMode(i), this;
|
|
14778
14781
|
}
|
|
14779
14782
|
/** Mixed 模式才有用,添加起点 */
|
|
14780
14783
|
addStartPoint() {
|
|
@@ -14793,24 +14796,24 @@ class ty {
|
|
|
14793
14796
|
* @description 改变插件的模式(pc端模式或移动端模式)
|
|
14794
14797
|
* @param isMobile true为移动端模式,false为pc端
|
|
14795
14798
|
*/
|
|
14796
|
-
changeIsMobile(
|
|
14799
|
+
changeIsMobile(e) {
|
|
14797
14800
|
}
|
|
14798
|
-
changeConfigs(
|
|
14799
|
-
var
|
|
14800
|
-
Object.assign(this.config,
|
|
14801
|
+
changeConfigs(e) {
|
|
14802
|
+
var i, s;
|
|
14803
|
+
Object.assign(this.config, e), (i = this.controller) == null || i.updateDistanceUI(), (s = this.controller) == null || s.updateAreaUI();
|
|
14801
14804
|
}
|
|
14802
14805
|
/** 设置线段的文本 */
|
|
14803
|
-
setCustomText(
|
|
14804
|
-
var
|
|
14805
|
-
const
|
|
14806
|
-
if (!
|
|
14806
|
+
setCustomText(e, i) {
|
|
14807
|
+
var o;
|
|
14808
|
+
const s = this.model.getLineByID(e);
|
|
14809
|
+
if (!s)
|
|
14807
14810
|
throw new Error("不存在的线段");
|
|
14808
|
-
|
|
14811
|
+
s.setText(i), (o = this.controller) == null || o.updateDistanceUI();
|
|
14809
14812
|
}
|
|
14810
14813
|
createControllerParams() {
|
|
14811
|
-
var
|
|
14812
|
-
const
|
|
14813
|
-
return
|
|
14814
|
+
var s, o;
|
|
14815
|
+
const e = (s = this.params.openParams) != null ? s : {}, i = (o = this.params.editParams) != null ? o : {};
|
|
14816
|
+
return e.isMobile = this.isMobile, {
|
|
14814
14817
|
five: this.five,
|
|
14815
14818
|
hook: this.hook,
|
|
14816
14819
|
group: this.group,
|
|
@@ -14818,16 +14821,17 @@ class ty {
|
|
|
14818
14821
|
config: this.config,
|
|
14819
14822
|
magnifier: this.magnifier,
|
|
14820
14823
|
container: this.container,
|
|
14821
|
-
|
|
14822
|
-
|
|
14824
|
+
workUtil: this.workUtil,
|
|
14825
|
+
openParams: e,
|
|
14826
|
+
editParams: i,
|
|
14823
14827
|
magnifierParams: this.params.magnifierParams,
|
|
14824
14828
|
getMeasureType: () => this.currentMeasureType,
|
|
14825
|
-
mouseGroup: fg(D({},
|
|
14829
|
+
mouseGroup: fg(D({}, e.crossHairParameter)),
|
|
14826
14830
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
14827
14831
|
};
|
|
14828
14832
|
}
|
|
14829
14833
|
}
|
|
14830
|
-
const
|
|
14834
|
+
const vx = function(t, e) {
|
|
14831
14835
|
return new ty(t, e);
|
|
14832
14836
|
}, wg = Ll(null);
|
|
14833
14837
|
function iy(n) {
|
|
@@ -15069,7 +15073,7 @@ function ly(n, t, e) {
|
|
|
15069
15073
|
}), V = V.parentNode;
|
|
15070
15074
|
}
|
|
15071
15075
|
};
|
|
15072
|
-
|
|
15076
|
+
Mt(() => {
|
|
15073
15077
|
g.emit("initTag", { id: i });
|
|
15074
15078
|
});
|
|
15075
15079
|
const I = wg.subscribe((E) => {
|
|
@@ -15153,7 +15157,7 @@ const hy = {
|
|
|
15153
15157
|
">": ">",
|
|
15154
15158
|
'"': """,
|
|
15155
15159
|
"'": "'"
|
|
15156
|
-
},
|
|
15160
|
+
}, Et = {
|
|
15157
15161
|
EVAL: "eval",
|
|
15158
15162
|
ESCAPED: "escaped",
|
|
15159
15163
|
RAW: "raw",
|
|
@@ -15223,56 +15227,56 @@ class gy {
|
|
|
15223
15227
|
`).length - 1, t) {
|
|
15224
15228
|
case i + e:
|
|
15225
15229
|
case i + e + "_":
|
|
15226
|
-
this.mode =
|
|
15230
|
+
this.mode = Et.EVAL;
|
|
15227
15231
|
break;
|
|
15228
15232
|
case i + e + "=":
|
|
15229
|
-
this.mode =
|
|
15233
|
+
this.mode = Et.ESCAPED;
|
|
15230
15234
|
break;
|
|
15231
15235
|
case i + e + "-":
|
|
15232
|
-
this.mode =
|
|
15236
|
+
this.mode = Et.RAW;
|
|
15233
15237
|
break;
|
|
15234
15238
|
case i + e + "#":
|
|
15235
|
-
this.mode =
|
|
15239
|
+
this.mode = Et.COMMENT;
|
|
15236
15240
|
break;
|
|
15237
15241
|
case i + e + e:
|
|
15238
|
-
this.mode =
|
|
15242
|
+
this.mode = Et.LITERAL, this.source += ' ; __append("' + t.replace(i + e + e, i + e) + `")
|
|
15239
15243
|
`;
|
|
15240
15244
|
break;
|
|
15241
15245
|
case e + e + s:
|
|
15242
|
-
this.mode =
|
|
15246
|
+
this.mode = Et.LITERAL, this.source += ' ; __append("' + t.replace(e + e + s, e + s) + `")
|
|
15243
15247
|
`;
|
|
15244
15248
|
break;
|
|
15245
15249
|
case e + s:
|
|
15246
15250
|
case "-" + e + s:
|
|
15247
15251
|
case "_" + e + s:
|
|
15248
|
-
this.mode ==
|
|
15252
|
+
this.mode == Et.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
|
|
15249
15253
|
break;
|
|
15250
15254
|
default:
|
|
15251
15255
|
if (this.mode) {
|
|
15252
15256
|
switch (this.mode) {
|
|
15253
|
-
case
|
|
15254
|
-
case
|
|
15255
|
-
case
|
|
15257
|
+
case Et.EVAL:
|
|
15258
|
+
case Et.ESCAPED:
|
|
15259
|
+
case Et.RAW:
|
|
15256
15260
|
t.lastIndexOf("//") > t.lastIndexOf(`
|
|
15257
15261
|
`) && (t += `
|
|
15258
15262
|
`);
|
|
15259
15263
|
}
|
|
15260
15264
|
switch (this.mode) {
|
|
15261
|
-
case
|
|
15265
|
+
case Et.EVAL:
|
|
15262
15266
|
this.source += " ; " + t + `
|
|
15263
15267
|
`;
|
|
15264
15268
|
break;
|
|
15265
|
-
case
|
|
15269
|
+
case Et.ESCAPED:
|
|
15266
15270
|
this.source += " ; __append(escapeFn(" + Wh(t) + `))
|
|
15267
15271
|
`;
|
|
15268
15272
|
break;
|
|
15269
|
-
case
|
|
15273
|
+
case Et.RAW:
|
|
15270
15274
|
this.source += " ; __append(" + Wh(t) + `)
|
|
15271
15275
|
`;
|
|
15272
15276
|
break;
|
|
15273
|
-
case
|
|
15277
|
+
case Et.COMMENT:
|
|
15274
15278
|
break;
|
|
15275
|
-
case
|
|
15279
|
+
case Et.LITERAL:
|
|
15276
15280
|
this._addOutput(t);
|
|
15277
15281
|
break;
|
|
15278
15282
|
}
|
|
@@ -15281,12 +15285,12 @@ class gy {
|
|
|
15281
15285
|
}
|
|
15282
15286
|
}
|
|
15283
15287
|
}
|
|
15284
|
-
const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
15288
|
+
const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", yx = (n, t) => {
|
|
15285
15289
|
var de, he, Pe, Ce, be, Fe, ye, Ze;
|
|
15286
15290
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
15287
15291
|
const s = (de = t == null ? void 0 : t.wait) != null ? de : 200, o = (he = t == null ? void 0 : t.maxNumberOnScreen) != null ? he : 3, r = (Pe = t == null ? void 0 : t.minRad) != null ? Pe : Math.PI / 4, a = (Ce = t == null ? void 0 : t.nearTolerance) != null ? Ce : 100, l = (be = t == null ? void 0 : t.upsideHeight) != null ? be : 1.6, c = (Fe = t == null ? void 0 : t.minDistance) != null ? Fe : 1.2, h = (ye = t == null ? void 0 : t.maxDistance) != null ? ye : 3.5, u = vr(n), f = document.createElement("div");
|
|
15288
15292
|
f.classList.add("PanoSpatialTagPlugin"), Object.assign(f.style, hy);
|
|
15289
|
-
const g = new
|
|
15293
|
+
const g = new on();
|
|
15290
15294
|
let A = new Image();
|
|
15291
15295
|
A.src = my;
|
|
15292
15296
|
const p = {
|
|
@@ -15367,8 +15371,8 @@ const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15367
15371
|
const Ye = me.position.clone().setY(i).distanceTo(Qe.position);
|
|
15368
15372
|
if (Ye < c || Ye > h || !tt.containsPoint(Qe.position))
|
|
15369
15373
|
return Ie;
|
|
15370
|
-
const
|
|
15371
|
-
if (
|
|
15374
|
+
const kt = Qe.position.clone().sub(me.position).setY(0);
|
|
15375
|
+
if (kt.angleTo(Qe.normal) > Math.PI / 2 - r && kt.angleTo(Qe.normal) < Math.PI / 2 + r)
|
|
15372
15376
|
return Ie;
|
|
15373
15377
|
const ot = Qe.position.clone().project(me);
|
|
15374
15378
|
if (!p.tags.every((Ne) => {
|
|
@@ -15378,7 +15382,7 @@ const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15378
15382
|
return Math.sqrt(Math.pow((ot.x - Je.x) / 2 * ee, 2) + Math.pow((ot.y - Je.y) / 2 * ve, 2)) > a;
|
|
15379
15383
|
}))
|
|
15380
15384
|
return Ie;
|
|
15381
|
-
const
|
|
15385
|
+
const Pt = {
|
|
15382
15386
|
id: Qe.id,
|
|
15383
15387
|
position: Qe.position,
|
|
15384
15388
|
normal: Qe.normal,
|
|
@@ -15389,27 +15393,27 @@ const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15389
15393
|
let Ve;
|
|
15390
15394
|
for (let Ne = 0, Je = Ie.length; Ne < Je; Ne++) {
|
|
15391
15395
|
const Rt = Ie[Ne];
|
|
15392
|
-
if (
|
|
15396
|
+
if (Pt.weight > Rt.weight) {
|
|
15393
15397
|
Ve = Ne;
|
|
15394
15398
|
break;
|
|
15395
15399
|
}
|
|
15396
|
-
if (
|
|
15400
|
+
if (Pt.distance < Rt.distance) {
|
|
15397
15401
|
Ve = Ne;
|
|
15398
15402
|
break;
|
|
15399
15403
|
}
|
|
15400
15404
|
}
|
|
15401
|
-
return Ve !== void 0 ? Ie.splice(Ve, 0,
|
|
15405
|
+
return Ve !== void 0 ? Ie.splice(Ve, 0, Pt) : Ie.push(Pt), Ie;
|
|
15402
15406
|
}, []);
|
|
15403
15407
|
for (let Ie = 0, Qe = re.length; Ie < Qe && !(st + je.length >= o); Ie++) {
|
|
15404
15408
|
const Ye = re[Ie];
|
|
15405
15409
|
if (je.find((Ve) => Ye.id === Ve.id))
|
|
15406
15410
|
continue;
|
|
15407
|
-
const
|
|
15411
|
+
const kt = Ye.position.clone().project(me);
|
|
15408
15412
|
if (!p.tags.concat(je).every((Ve) => {
|
|
15409
15413
|
if (Ve.position.clone().sub(me.position).setY(0).angleTo(xe.setY(0)) > Math.PI / 2)
|
|
15410
15414
|
return !0;
|
|
15411
15415
|
const Ne = Ve.position.clone().project(me);
|
|
15412
|
-
return Math.sqrt(Math.pow((
|
|
15416
|
+
return Math.sqrt(Math.pow((kt.x - Ne.x) / 2 * ee, 2) + Math.pow((kt.y - Ne.y) / 2 * ve, 2)) > a;
|
|
15413
15417
|
}))
|
|
15414
15418
|
continue;
|
|
15415
15419
|
const ot = new w.Raycaster(
|
|
@@ -15417,14 +15421,14 @@ const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15417
15421
|
Ye.position.clone().sub(me.position.clone().setY(i)).normalize(),
|
|
15418
15422
|
0,
|
|
15419
15423
|
Ye.distance + Uh
|
|
15420
|
-
), [
|
|
15421
|
-
if (
|
|
15422
|
-
const { position: Ve, normal: Ne, id: Je, replacement: Rt } = Ye, rs = new w.Plane().setFromNormalAndCoplanarPoint(Ne, Ve), Xt = Ve.clone().sub(me.position).cross(new w.Vector3(0, 1, 0)).setLength(wa),
|
|
15424
|
+
), [Pt] = p.intersectObjects ? ot.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(ot) : ot.intersectObjects(n.model.children, !0);
|
|
15425
|
+
if (Pt && Ye.distance - Pt.distance < Uh) {
|
|
15426
|
+
const { position: Ve, normal: Ne, id: Je, replacement: Rt } = Ye, rs = new w.Plane().setFromNormalAndCoplanarPoint(Ne, Ve), Xt = Ve.clone().sub(me.position).cross(new w.Vector3(0, 1, 0)).setLength(wa), vi = [
|
|
15423
15427
|
Ve.clone(),
|
|
15424
15428
|
Ve.clone().add(Xt),
|
|
15425
15429
|
Ve.clone().add(new w.Vector3(0, wa, 0)).add(Xt),
|
|
15426
15430
|
Ve.clone().add(new w.Vector3(0, wa, 0))
|
|
15427
|
-
].map((cn) => rs.projectPoint(cn, new w.Vector3())), { container: Bi, dispose:
|
|
15431
|
+
].map((cn) => rs.projectPoint(cn, new w.Vector3())), { container: Bi, dispose: xt } = u.create3DDomContainer(vi) || {}, ln = new cy({
|
|
15428
15432
|
target: Bi,
|
|
15429
15433
|
props: {
|
|
15430
15434
|
id: Je,
|
|
@@ -15436,7 +15440,7 @@ const wa = 1e-3, Uh = 0.01, my = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15436
15440
|
folded: p.folded,
|
|
15437
15441
|
events: p.events,
|
|
15438
15442
|
hooks: g,
|
|
15439
|
-
dispose:
|
|
15443
|
+
dispose: xt
|
|
15440
15444
|
}
|
|
15441
15445
|
});
|
|
15442
15446
|
je.push({
|
|
@@ -15736,7 +15740,7 @@ function Cy(n) {
|
|
|
15736
15740
|
p(l, [c]) {
|
|
15737
15741
|
c & /*renderItemLabels, hooks*/
|
|
15738
15742
|
3 && (r = /*renderItemLabels*/
|
|
15739
|
-
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t,
|
|
15743
|
+
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t, Li, Xh, null, Yh), fe()), c & /*itemsVisible*/
|
|
15740
15744
|
16 && T(
|
|
15741
15745
|
t,
|
|
15742
15746
|
"opacity",
|
|
@@ -15818,7 +15822,7 @@ function Iy(n, t, e) {
|
|
|
15818
15822
|
const j = () => {
|
|
15819
15823
|
e(4, p = !1), V();
|
|
15820
15824
|
};
|
|
15821
|
-
|
|
15825
|
+
Mt(() => {
|
|
15822
15826
|
e(1, u = a), h = a, E(), W(), o.on("cameraUpdate", j);
|
|
15823
15827
|
});
|
|
15824
15828
|
const V = Cg(
|
|
@@ -15878,7 +15882,7 @@ function My(n) {
|
|
|
15878
15882
|
modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
|
|
15879
15883
|
}, t));
|
|
15880
15884
|
}
|
|
15881
|
-
const
|
|
15885
|
+
const Px = (n, t) => {
|
|
15882
15886
|
var f, g;
|
|
15883
15887
|
const e = {
|
|
15884
15888
|
container: document.createElement("div"),
|
|
@@ -15888,7 +15892,7 @@ const Cx = (n, t) => {
|
|
|
15888
15892
|
itemLabels: [],
|
|
15889
15893
|
wrapper: null,
|
|
15890
15894
|
app: void 0,
|
|
15891
|
-
hooks: new
|
|
15895
|
+
hooks: new on(),
|
|
15892
15896
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
15893
15897
|
displayStrategyType: (g = t == null ? void 0 : t.displayStrategyType) != null ? g : kn.SMALL
|
|
15894
15898
|
};
|
|
@@ -15948,7 +15952,7 @@ const Cx = (n, t) => {
|
|
|
15948
15952
|
dispose: a,
|
|
15949
15953
|
hooks: e.hooks
|
|
15950
15954
|
};
|
|
15951
|
-
},
|
|
15955
|
+
}, Ix = {
|
|
15952
15956
|
name: "ModelItemLabelPlugin",
|
|
15953
15957
|
version: 0
|
|
15954
15958
|
};
|
|
@@ -15969,7 +15973,7 @@ function ky(n) {
|
|
|
15969
15973
|
t.push(i);
|
|
15970
15974
|
}), t;
|
|
15971
15975
|
}
|
|
15972
|
-
const xy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAA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v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", Ix = (n, { videoElement: t }) => {
|
|
15976
|
+
const xy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz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1ZOZmE24dqGU5gOfCyZkyGWQT+IykW8zmSz0IpiLNN8t5iTmdTkgGTrInI7JcfULaH10Qnh/4IMVjAxNk6jxwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", Dy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAA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DvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", Ex = (n, { videoElement: t }) => {
|
|
15973
15977
|
const e = {
|
|
15974
15978
|
videoMeshes: [],
|
|
15975
15979
|
videoTextureEnabled: !1,
|
|
@@ -16318,7 +16322,7 @@ class Oy extends ce {
|
|
|
16318
16322
|
);
|
|
16319
16323
|
}
|
|
16320
16324
|
}
|
|
16321
|
-
const { Raycaster: By, Vector3:
|
|
16325
|
+
const { Raycaster: By, Vector3: Mx } = w, qh = (n, t, e, i) => {
|
|
16322
16326
|
const s = t.clone().sub(e).normalize(), o = new By();
|
|
16323
16327
|
o.set(e, s);
|
|
16324
16328
|
const [r] = n.model.intersectRaycaster(o);
|
|
@@ -16471,7 +16475,7 @@ function Ny(n) {
|
|
|
16471
16475
|
p(l, c) {
|
|
16472
16476
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
16473
16477
|
71 && (r = /*renderItemLabels*/
|
|
16474
|
-
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t,
|
|
16478
|
+
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t, Li, td, null, $h), fe()), c[0] & /*itemsVisible*/
|
|
16475
16479
|
32 && T(
|
|
16476
16480
|
t,
|
|
16477
16481
|
"opacity",
|
|
@@ -16590,7 +16594,7 @@ function Fy(n, t, e) {
|
|
|
16590
16594
|
};
|
|
16591
16595
|
Tf(() => {
|
|
16592
16596
|
_();
|
|
16593
|
-
}),
|
|
16597
|
+
}), Mt(() => {
|
|
16594
16598
|
e(1, u = Kh(r)), h = r, k(), W(), s.on("cameraUpdate", E);
|
|
16595
16599
|
}), Bt(() => {
|
|
16596
16600
|
s.off("cameraUpdate", E), window.removeEventListener("resize", V, !1);
|
|
@@ -16643,7 +16647,7 @@ function _y(n) {
|
|
|
16643
16647
|
observerIndex: void 0
|
|
16644
16648
|
}));
|
|
16645
16649
|
}
|
|
16646
|
-
const Wy = void 0,
|
|
16650
|
+
const Wy = void 0, kx = (n, t) => {
|
|
16647
16651
|
var f, g, A, p;
|
|
16648
16652
|
const e = {
|
|
16649
16653
|
container: document.createElement("div"),
|
|
@@ -16653,7 +16657,7 @@ const Wy = void 0, Mx = (n, t) => {
|
|
|
16653
16657
|
itemLabels: [],
|
|
16654
16658
|
wrapper: null,
|
|
16655
16659
|
app: void 0,
|
|
16656
|
-
hooks: new
|
|
16660
|
+
hooks: new on(),
|
|
16657
16661
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
16658
16662
|
onlyVisibleInPanorama: (g = t == null ? void 0 : t.onlyVisibleInPanorama) != null ? g : !0,
|
|
16659
16663
|
displayStrategyType: (A = t == null ? void 0 : t.displayStrategyType) != null ? A : xn.SMALL,
|
|
@@ -16714,11 +16718,11 @@ const Wy = void 0, Mx = (n, t) => {
|
|
|
16714
16718
|
dispose: a,
|
|
16715
16719
|
hooks: e.hooks
|
|
16716
16720
|
};
|
|
16717
|
-
},
|
|
16721
|
+
}, xx = {
|
|
16718
16722
|
name: "ItemLabelPlugin",
|
|
16719
16723
|
version: 0
|
|
16720
16724
|
};
|
|
16721
|
-
class Uy extends
|
|
16725
|
+
class Uy extends zi {
|
|
16722
16726
|
constructor(e) {
|
|
16723
16727
|
super(e);
|
|
16724
16728
|
d(this, "state");
|
|
@@ -17090,7 +17094,7 @@ class iw extends Uy {
|
|
|
17090
17094
|
this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
|
|
17091
17095
|
}
|
|
17092
17096
|
}
|
|
17093
|
-
const
|
|
17097
|
+
const Dx = (n) => new iw(n);
|
|
17094
17098
|
function nw(n, t) {
|
|
17095
17099
|
console.warn(`⛔ ==> [${n}]: ${t}`);
|
|
17096
17100
|
}
|
|
@@ -17128,23 +17132,23 @@ Er.normal = function(t, e) {
|
|
|
17128
17132
|
Er.direction = function(t, e, i) {
|
|
17129
17133
|
return mw(t, e, i), Ig(t, t), t;
|
|
17130
17134
|
};
|
|
17131
|
-
var
|
|
17135
|
+
var ci = Er, Qi = [0, 0], To = [0, 0], nd = [0, 0], Ps = [0, 0], Aw = function(n, t) {
|
|
17132
17136
|
var e = null, i = [];
|
|
17133
17137
|
t && (n = n.slice(), n.push(n[0]));
|
|
17134
17138
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
17135
17139
|
var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
|
|
17136
|
-
if (
|
|
17137
|
-
|
|
17140
|
+
if (ci.direction(Qi, a, r), e || (e = [0, 0], ci.normal(e, Qi)), o === 1 && Ca(i, e, 1), !l)
|
|
17141
|
+
ci.normal(e, Qi), Ca(i, e, 1);
|
|
17138
17142
|
else {
|
|
17139
|
-
|
|
17140
|
-
var c =
|
|
17143
|
+
ci.direction(To, l, a);
|
|
17144
|
+
var c = ci.computeMiter(nd, Ps, Qi, To, 1);
|
|
17141
17145
|
Ca(i, Ps, c);
|
|
17142
17146
|
}
|
|
17143
17147
|
}
|
|
17144
17148
|
if (n.length > 2 && t) {
|
|
17145
17149
|
var h = n[s - 2], u = n[0], f = n[1];
|
|
17146
|
-
|
|
17147
|
-
var g =
|
|
17150
|
+
ci.direction(Qi, u, h), ci.direction(To, f, u), ci.normal(e, Qi);
|
|
17151
|
+
var g = ci.computeMiter(nd, Ps, Qi, To, 1);
|
|
17148
17152
|
i[0][0] = Ps.slice(), i[s - 1][0] = Ps.slice(), i[0][1] = g, i[s - 1][1] = g, i.pop();
|
|
17149
17153
|
}
|
|
17150
17154
|
return i;
|
|
@@ -17206,11 +17210,11 @@ function Ew(n, t) {
|
|
|
17206
17210
|
if (e.position.length === 4)
|
|
17207
17211
|
e.position.forEach((r, a) => {
|
|
17208
17212
|
const l = o[a], c = new w.Mesh(i, l);
|
|
17209
|
-
c.position.copy(
|
|
17213
|
+
c.position.copy(ui(r)), s.push(c);
|
|
17210
17214
|
});
|
|
17211
17215
|
else {
|
|
17212
17216
|
const r = o[0], a = new w.Mesh(i, r);
|
|
17213
|
-
a.position.copy(
|
|
17217
|
+
a.position.copy(ui(e.position)), s.push(a);
|
|
17214
17218
|
}
|
|
17215
17219
|
s.forEach((r) => {
|
|
17216
17220
|
r.material.depthTest = !1, n.scene.add(r);
|
|
@@ -17257,7 +17261,7 @@ function Eg(n) {
|
|
|
17257
17261
|
}
|
|
17258
17262
|
function zs(n) {
|
|
17259
17263
|
const t = Eg(n);
|
|
17260
|
-
return
|
|
17264
|
+
return Si(...Array.isArray(t) ? t : [t]);
|
|
17261
17265
|
}
|
|
17262
17266
|
function Is(n, t) {
|
|
17263
17267
|
if (n === void 0)
|
|
@@ -17500,7 +17504,7 @@ const Fw = {
|
|
|
17500
17504
|
}
|
|
17501
17505
|
}
|
|
17502
17506
|
};
|
|
17503
|
-
class Qw extends
|
|
17507
|
+
class Qw extends zi {
|
|
17504
17508
|
constructor(e) {
|
|
17505
17509
|
super(e);
|
|
17506
17510
|
d(this, "tagCacheByPanoIndex", {});
|
|
@@ -17551,7 +17555,7 @@ class Ia extends w.Mesh {
|
|
|
17551
17555
|
constructor(e, i, s) {
|
|
17552
17556
|
if (e.length !== 4)
|
|
17553
17557
|
throw new Error("QuadrangleMesh: Invalid number of points, it's not a quadrangle");
|
|
17554
|
-
const [o, r, a, l] = e, c =
|
|
17558
|
+
const [o, r, a, l] = e, c = Si(...e), h = [o.clone().sub(c), r.clone().sub(c), a.clone().sub(c), l.clone().sub(c)], u = new Dg(h, s);
|
|
17555
17559
|
super(u, i);
|
|
17556
17560
|
d(this, "name", "QuadrangleMesh");
|
|
17557
17561
|
this.position.copy(c);
|
|
@@ -17721,7 +17725,7 @@ class od extends Sg {
|
|
|
17721
17725
|
(p = s == null ? void 0 : s.objectFit) != null ? p : "contain",
|
|
17722
17726
|
r,
|
|
17723
17727
|
l.image.width / l.image.height
|
|
17724
|
-
), f =
|
|
17728
|
+
), f = Si(...u), g = u.map((m) => m.clone().sub(f)), A = new Dg(g);
|
|
17725
17729
|
this.position.copy(f), this.geometry = A, this.material = h;
|
|
17726
17730
|
}).catch((l) => {
|
|
17727
17731
|
console.error(`Imageplane error ${l == null ? void 0 : l.message}`);
|
|
@@ -17756,7 +17760,7 @@ class Tg extends Sg {
|
|
|
17756
17760
|
d(this, "buttonMesh");
|
|
17757
17761
|
d(this, "videoTextureMap");
|
|
17758
17762
|
d(this, "ImageTextureMap");
|
|
17759
|
-
this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? Gl : a === "withoutText" ? nl : typeof a == "string" ? a : nl)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(
|
|
17763
|
+
this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? Gl : a === "withoutText" ? nl : typeof a == "string" ? a : nl)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(Si(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
17760
17764
|
l ? this.addButtonMesh() : this.play(!0);
|
|
17761
17765
|
}), this.addEventListener("removed", () => {
|
|
17762
17766
|
this.remove(...this.children);
|
|
@@ -18595,7 +18599,7 @@ class qw extends Zw {
|
|
|
18595
18599
|
return Math.round((1e4 - (e != null ? e : 0)) * 100);
|
|
18596
18600
|
}
|
|
18597
18601
|
setVisible(t) {
|
|
18598
|
-
(t ?
|
|
18602
|
+
(t ? mi(t) : this.tags).forEach((i) => {
|
|
18599
18603
|
const s = this.getVisible(i);
|
|
18600
18604
|
i.state && (i.state.visible = s);
|
|
18601
18605
|
});
|
|
@@ -18626,7 +18630,7 @@ class qw extends Zw {
|
|
|
18626
18630
|
const i = tn(tn((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;
|
|
18627
18631
|
if (o === void 0)
|
|
18628
18632
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
|
|
18629
|
-
const r =
|
|
18633
|
+
const r = mi(
|
|
18630
18634
|
(() => {
|
|
18631
18635
|
var p;
|
|
18632
18636
|
const A = (p = i.checkPoints) != null ? p : "center";
|
|
@@ -18816,7 +18820,7 @@ function hd(n) {
|
|
|
18816
18820
|
},
|
|
18817
18821
|
i(r) {
|
|
18818
18822
|
o || (r && Xe(() => {
|
|
18819
|
-
o && (s && s.end(1), i =
|
|
18823
|
+
o && (s && s.end(1), i = rn(t, nr, {
|
|
18820
18824
|
duration: (
|
|
18821
18825
|
/*duration*/
|
|
18822
18826
|
n[2]
|
|
@@ -18825,7 +18829,7 @@ function hd(n) {
|
|
|
18825
18829
|
/*inDelay*/
|
|
18826
18830
|
n[0]
|
|
18827
18831
|
),
|
|
18828
|
-
easing:
|
|
18832
|
+
easing: pi
|
|
18829
18833
|
}), i.start());
|
|
18830
18834
|
}), o = !0);
|
|
18831
18835
|
},
|
|
@@ -18839,7 +18843,7 @@ function hd(n) {
|
|
|
18839
18843
|
/*outDelay*/
|
|
18840
18844
|
n[1]
|
|
18841
18845
|
),
|
|
18842
|
-
easing:
|
|
18846
|
+
easing: pi
|
|
18843
18847
|
})), o = !1;
|
|
18844
18848
|
},
|
|
18845
18849
|
d(r) {
|
|
@@ -19014,7 +19018,7 @@ function dd(n) {
|
|
|
19014
19018
|
},
|
|
19015
19019
|
i(r) {
|
|
19016
19020
|
o || (r && Xe(() => {
|
|
19017
|
-
o && (s && s.end(1), i =
|
|
19021
|
+
o && (s && s.end(1), i = rn(t, gt, { duration: (
|
|
19018
19022
|
/*inDelay*/
|
|
19019
19023
|
n[0]
|
|
19020
19024
|
) }), i.start());
|
|
@@ -19398,7 +19402,7 @@ function gd(n) {
|
|
|
19398
19402
|
},
|
|
19399
19403
|
i(u) {
|
|
19400
19404
|
l || (x(e.$$.fragment, u), u && Xe(() => {
|
|
19401
|
-
l && (a && a.end(1), r =
|
|
19405
|
+
l && (a && a.end(1), r = rn(s, gt, {
|
|
19402
19406
|
duration: (
|
|
19403
19407
|
/*duration*/
|
|
19404
19408
|
n[2]
|
|
@@ -19739,7 +19743,7 @@ function Ad(n) {
|
|
|
19739
19743
|
},
|
|
19740
19744
|
m(f, g) {
|
|
19741
19745
|
te(t, f, g), B(f, e, g), te(i, f, g), B(f, s, g), B(f, o, g), te(r, o, null), a = !0, l || (c = [
|
|
19742
|
-
Qt(
|
|
19746
|
+
Qt(ji.call(null, o)),
|
|
19743
19747
|
Ae(
|
|
19744
19748
|
o,
|
|
19745
19749
|
"clientWidth",
|
|
@@ -20444,7 +20448,7 @@ function Cd(n) {
|
|
|
20444
20448
|
},
|
|
20445
20449
|
i(o) {
|
|
20446
20450
|
s || (o && Xe(() => {
|
|
20447
|
-
s && (i && i.end(1), e =
|
|
20451
|
+
s && (i && i.end(1), e = rn(t, nr, {
|
|
20448
20452
|
duration: (
|
|
20449
20453
|
/*duration*/
|
|
20450
20454
|
n[1]
|
|
@@ -20674,7 +20678,7 @@ function YC(n) {
|
|
|
20674
20678
|
7 && (o = Array(
|
|
20675
20679
|
/*pagesCount*/
|
|
20676
20680
|
a[0]
|
|
20677
|
-
), ue(), e = Ut(e, l, r, 1, a, o, i, t,
|
|
20681
|
+
), ue(), e = Ut(e, l, r, 1, a, o, i, t, Li, Id, null, Pd), fe());
|
|
20678
20682
|
},
|
|
20679
20683
|
i(a) {
|
|
20680
20684
|
if (!s) {
|
|
@@ -20711,7 +20715,7 @@ class ZC extends ce {
|
|
|
20711
20715
|
super(), le(this, t, XC, YC, ae, { pagesCount: 0, currentPageIndex: 1 }, UC);
|
|
20712
20716
|
}
|
|
20713
20717
|
}
|
|
20714
|
-
const Un = "prev",
|
|
20718
|
+
const Un = "prev", Di = "next";
|
|
20715
20719
|
function JC(n) {
|
|
20716
20720
|
ge(n, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
|
|
20717
20721
|
}
|
|
@@ -20723,7 +20727,7 @@ function qC(n) {
|
|
|
20723
20727
|
e,
|
|
20724
20728
|
"sc-carousel-arrow__arrow-next",
|
|
20725
20729
|
/*direction*/
|
|
20726
|
-
n[0] ===
|
|
20730
|
+
n[0] === Di
|
|
20727
20731
|
), K(
|
|
20728
20732
|
e,
|
|
20729
20733
|
"sc-carousel-arrow__arrow-prev",
|
|
@@ -20750,7 +20754,7 @@ function qC(n) {
|
|
|
20750
20754
|
e,
|
|
20751
20755
|
"sc-carousel-arrow__arrow-next",
|
|
20752
20756
|
/*direction*/
|
|
20753
|
-
o[0] ===
|
|
20757
|
+
o[0] === Di
|
|
20754
20758
|
), r & /*direction, PREV*/
|
|
20755
20759
|
1 && K(
|
|
20756
20760
|
e,
|
|
@@ -20773,7 +20777,7 @@ function qC(n) {
|
|
|
20773
20777
|
};
|
|
20774
20778
|
}
|
|
20775
20779
|
function KC(n, t, e) {
|
|
20776
|
-
let { direction: i =
|
|
20780
|
+
let { direction: i = Di } = t, { disabled: s = !1 } = t;
|
|
20777
20781
|
function o(r) {
|
|
20778
20782
|
ns.call(this, n, r);
|
|
20779
20783
|
}
|
|
@@ -20890,7 +20894,7 @@ function dP(n, { thresholdProvider: t }) {
|
|
|
20890
20894
|
if (!a)
|
|
20891
20895
|
return;
|
|
20892
20896
|
const g = Ea(f), A = g.x - i, p = g.y - s;
|
|
20893
|
-
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: A, dy: p }), A !== 0 && Math.sign(A) !== Math.sign(o) && (o = 0), o += A, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? Un :
|
|
20897
|
+
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: A, dy: p }), A !== 0 && Math.sign(A) !== Math.sign(o) && (o = 0), o += A, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? Un : Di }), Md(window, u), kd(window, h));
|
|
20894
20898
|
}
|
|
20895
20899
|
function u(f) {
|
|
20896
20900
|
if (Md(window, u), kd(window, h), a = !1, !l()) {
|
|
@@ -21476,13 +21480,13 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21476
21480
|
R[++M] = Y;
|
|
21477
21481
|
}), R;
|
|
21478
21482
|
}
|
|
21479
|
-
var Ye = Array.prototype,
|
|
21480
|
-
var v = /[^.]+$/.exec(
|
|
21483
|
+
var Ye = Array.prototype, kt = Function.prototype, ot = Object.prototype, Pt = be["__core-js_shared__"], Ve = function() {
|
|
21484
|
+
var v = /[^.]+$/.exec(Pt && Pt.keys && Pt.keys.IE_PROTO || "");
|
|
21481
21485
|
return v ? "Symbol(src)_1." + v : "";
|
|
21482
|
-
}(), Ne =
|
|
21486
|
+
}(), Ne = kt.toString, Je = ot.hasOwnProperty, Rt = ot.toString, rs = RegExp(
|
|
21483
21487
|
"^" + Ne.call(Je).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21484
|
-
), Xt = Ze ? be.Buffer : void 0,
|
|
21485
|
-
function
|
|
21488
|
+
), Xt = Ze ? be.Buffer : void 0, vi = be.Symbol, Bi = be.Uint8Array, xt = Ie(Object.getPrototypeOf, Object), ln = Object.create, cn = ot.propertyIsEnumerable, Dr = Ye.splice, as = Object.getOwnPropertySymbols, hn = Xt ? Xt.isBuffer : void 0, to = Ie(Object.keys, Object), dn = Ht(be, "DataView"), Ri = Ht(be, "Map"), Vt = Ht(be, "Promise"), un = Ht(be, "Set"), ls = Ht(be, "WeakMap"), Vi = Ht(Object, "create"), cs = It(dn), Hi = It(Ri), hs = It(Vt), ds = It(un), us = It(ls), bi = vi ? vi.prototype : void 0, io = bi ? bi.valueOf : void 0;
|
|
21489
|
+
function oi(v) {
|
|
21486
21490
|
var M = -1, R = v ? v.length : 0;
|
|
21487
21491
|
for (this.clear(); ++M < R; ) {
|
|
21488
21492
|
var Y = v[M];
|
|
@@ -21511,7 +21515,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21511
21515
|
var R = this.__data__;
|
|
21512
21516
|
return R[v] = Vi && M === void 0 ? i : M, this;
|
|
21513
21517
|
}
|
|
21514
|
-
|
|
21518
|
+
oi.prototype.clear = Sr, oi.prototype.delete = Tr, oi.prototype.get = Lr, oi.prototype.has = no, oi.prototype.set = fs;
|
|
21515
21519
|
function lt(v) {
|
|
21516
21520
|
var M = -1, R = v ? v.length : 0;
|
|
21517
21521
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21550,9 +21554,9 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21550
21554
|
}
|
|
21551
21555
|
function Vr() {
|
|
21552
21556
|
this.__data__ = {
|
|
21553
|
-
hash: new
|
|
21557
|
+
hash: new oi(),
|
|
21554
21558
|
map: new (Ri || lt)(),
|
|
21555
|
-
string: new
|
|
21559
|
+
string: new oi()
|
|
21556
21560
|
};
|
|
21557
21561
|
}
|
|
21558
21562
|
function Hr(v) {
|
|
@@ -21568,7 +21572,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21568
21572
|
return Gi(this, v).set(v, M), this;
|
|
21569
21573
|
}
|
|
21570
21574
|
mt.prototype.clear = Vr, mt.prototype.delete = Hr, mt.prototype.get = Nr, mt.prototype.has = Gr, mt.prototype.set = Fr;
|
|
21571
|
-
function
|
|
21575
|
+
function Dt(v) {
|
|
21572
21576
|
this.__data__ = new lt(v);
|
|
21573
21577
|
}
|
|
21574
21578
|
function Qr() {
|
|
@@ -21593,7 +21597,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21593
21597
|
}
|
|
21594
21598
|
return R.set(v, M), this;
|
|
21595
21599
|
}
|
|
21596
|
-
|
|
21600
|
+
Dt.prototype.clear = Qr, Dt.prototype.delete = _r, Dt.prototype.get = Wr, Dt.prototype.has = Ur, Dt.prototype.set = Yr;
|
|
21597
21601
|
function fn(v, M) {
|
|
21598
21602
|
var R = As(v) || pn(v) ? at(v.length, String) : [], Y = R.length, Ee = !!Y;
|
|
21599
21603
|
for (var pe in v)
|
|
@@ -21624,7 +21628,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21624
21628
|
if (Te = oa(v), !M)
|
|
21625
21629
|
return ia(v, Te);
|
|
21626
21630
|
} else {
|
|
21627
|
-
var ze =
|
|
21631
|
+
var ze = ai(v), pt = ze == h || ze == u;
|
|
21628
21632
|
if (ho(v))
|
|
21629
21633
|
return mn(v, M);
|
|
21630
21634
|
if (ze == A || ze == o || pt && !pe) {
|
|
@@ -21638,10 +21642,10 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21638
21642
|
Te = ra(v, ze, gs, M);
|
|
21639
21643
|
}
|
|
21640
21644
|
}
|
|
21641
|
-
Se || (Se = new
|
|
21642
|
-
var
|
|
21643
|
-
if (
|
|
21644
|
-
return
|
|
21645
|
+
Se || (Se = new Dt());
|
|
21646
|
+
var St = Se.get(v);
|
|
21647
|
+
if (St)
|
|
21648
|
+
return St;
|
|
21645
21649
|
if (Se.set(v, Te), !qe)
|
|
21646
21650
|
var it = R ? sa(v) : bs(v);
|
|
21647
21651
|
return je(it || v, function(At, ct) {
|
|
@@ -21662,7 +21666,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21662
21666
|
if (!qt(v) || ca(v))
|
|
21663
21667
|
return !1;
|
|
21664
21668
|
var M = vs(v) || st(v) ? rs : $;
|
|
21665
|
-
return M.test(
|
|
21669
|
+
return M.test(It(v));
|
|
21666
21670
|
}
|
|
21667
21671
|
function Kr(v) {
|
|
21668
21672
|
if (!ao(v))
|
|
@@ -21720,10 +21724,10 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21720
21724
|
return R;
|
|
21721
21725
|
}
|
|
21722
21726
|
function na(v, M) {
|
|
21723
|
-
return ps(v,
|
|
21727
|
+
return ps(v, ri(v), M);
|
|
21724
21728
|
}
|
|
21725
21729
|
function sa(v) {
|
|
21726
|
-
return Zr(v, bs,
|
|
21730
|
+
return Zr(v, bs, ri);
|
|
21727
21731
|
}
|
|
21728
21732
|
function Gi(v, M) {
|
|
21729
21733
|
var R = v.__data__;
|
|
@@ -21733,9 +21737,9 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21733
21737
|
var R = xe(v, M);
|
|
21734
21738
|
return qr(R) ? R : void 0;
|
|
21735
21739
|
}
|
|
21736
|
-
var
|
|
21737
|
-
(dn &&
|
|
21738
|
-
var M = Rt.call(v), R = M == A ? v.constructor : void 0, Y = R ?
|
|
21740
|
+
var ri = as ? Ie(as, Object) : da, ai = Jr;
|
|
21741
|
+
(dn && ai(new dn(new ArrayBuffer(1))) != E || Ri && ai(new Ri()) != f || Vt && ai(Vt.resolve()) != p || un && ai(new un()) != b || ls && ai(new ls()) != I) && (ai = function(v) {
|
|
21742
|
+
var M = Rt.call(v), R = M == A ? v.constructor : void 0, Y = R ? It(R) : void 0;
|
|
21739
21743
|
if (Y)
|
|
21740
21744
|
switch (Y) {
|
|
21741
21745
|
case cs:
|
|
@@ -21756,7 +21760,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21756
21760
|
return M && typeof v[0] == "string" && Je.call(v, "index") && (R.index = v.index, R.input = v.input), R;
|
|
21757
21761
|
}
|
|
21758
21762
|
function Jt(v) {
|
|
21759
|
-
return typeof v.constructor == "function" && !ao(v) ? Xr(
|
|
21763
|
+
return typeof v.constructor == "function" && !ao(v) ? Xr(xt(v)) : {};
|
|
21760
21764
|
}
|
|
21761
21765
|
function ra(v, M, R, Y) {
|
|
21762
21766
|
var Ee = v.constructor;
|
|
@@ -21805,7 +21809,7 @@ var Oo = xI, ar = {}, DI = {
|
|
|
21805
21809
|
var M = v && v.constructor, R = typeof M == "function" && M.prototype || ot;
|
|
21806
21810
|
return v === R;
|
|
21807
21811
|
}
|
|
21808
|
-
function
|
|
21812
|
+
function It(v) {
|
|
21809
21813
|
if (v != null) {
|
|
21810
21814
|
try {
|
|
21811
21815
|
return Ne.call(v);
|
|
@@ -21901,7 +21905,7 @@ var lr = {}, TI = {
|
|
|
21901
21905
|
Y[R] = M(R);
|
|
21902
21906
|
return Y;
|
|
21903
21907
|
}
|
|
21904
|
-
function
|
|
21908
|
+
function kt(v) {
|
|
21905
21909
|
return function(M) {
|
|
21906
21910
|
return v(M);
|
|
21907
21911
|
};
|
|
@@ -21909,7 +21913,7 @@ var lr = {}, TI = {
|
|
|
21909
21913
|
function ot(v, M) {
|
|
21910
21914
|
return v.has(M);
|
|
21911
21915
|
}
|
|
21912
|
-
function
|
|
21916
|
+
function Pt(v, M) {
|
|
21913
21917
|
return v == null ? void 0 : v[M];
|
|
21914
21918
|
}
|
|
21915
21919
|
function Ve(v) {
|
|
@@ -21929,12 +21933,12 @@ var lr = {}, TI = {
|
|
|
21929
21933
|
R[++M] = Y;
|
|
21930
21934
|
}), R;
|
|
21931
21935
|
}
|
|
21932
|
-
var Rt = Array.prototype, rs = Function.prototype, Xt = Object.prototype,
|
|
21933
|
-
var v = /[^.]+$/.exec(
|
|
21936
|
+
var Rt = Array.prototype, rs = Function.prototype, Xt = Object.prototype, vi = ve["__core-js_shared__"], Bi = rs.toString, xt = Xt.hasOwnProperty, ln = function() {
|
|
21937
|
+
var v = /[^.]+$/.exec(vi && vi.keys && vi.keys.IE_PROTO || "");
|
|
21934
21938
|
return v ? "Symbol(src)_1." + v : "";
|
|
21935
21939
|
}(), cn = Xt.toString, Dr = RegExp(
|
|
21936
|
-
"^" + Bi.call(
|
|
21937
|
-
), as = tt ? ve.Buffer : void 0, hn = ve.Symbol, to = ve.Uint8Array, dn = Xt.propertyIsEnumerable, Ri = Rt.splice, Vt = hn ? hn.toStringTag : void 0, un = Object.getOwnPropertySymbols, ls = as ? as.isBuffer : void 0, Vi = Ne(Object.keys, Object), cs =
|
|
21940
|
+
"^" + Bi.call(xt).replace(Ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21941
|
+
), as = tt ? ve.Buffer : void 0, hn = ve.Symbol, to = ve.Uint8Array, dn = Xt.propertyIsEnumerable, Ri = Rt.splice, Vt = hn ? hn.toStringTag : void 0, un = Object.getOwnPropertySymbols, ls = as ? as.isBuffer : void 0, Vi = Ne(Object.keys, Object), cs = ri(ve, "DataView"), Hi = ri(ve, "Map"), hs = ri(ve, "Promise"), ds = ri(ve, "Set"), us = ri(ve, "WeakMap"), bi = ri(Object, "create"), io = It(cs), oi = It(Hi), Sr = It(hs), Tr = It(ds), Lr = It(us), no = hn ? hn.prototype : void 0, fs = no ? no.valueOf : void 0;
|
|
21938
21942
|
function lt(v) {
|
|
21939
21943
|
var M = -1, R = v == null ? 0 : v.length;
|
|
21940
21944
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21943,7 +21947,7 @@ var lr = {}, TI = {
|
|
|
21943
21947
|
}
|
|
21944
21948
|
}
|
|
21945
21949
|
function jr() {
|
|
21946
|
-
this.__data__ =
|
|
21950
|
+
this.__data__ = bi ? bi(null) : {}, this.size = 0;
|
|
21947
21951
|
}
|
|
21948
21952
|
function zr(v) {
|
|
21949
21953
|
var M = this.has(v) && delete this.__data__[v];
|
|
@@ -21951,19 +21955,19 @@ var lr = {}, TI = {
|
|
|
21951
21955
|
}
|
|
21952
21956
|
function Or(v) {
|
|
21953
21957
|
var M = this.__data__;
|
|
21954
|
-
if (
|
|
21958
|
+
if (bi) {
|
|
21955
21959
|
var R = M[v];
|
|
21956
21960
|
return R === i ? void 0 : R;
|
|
21957
21961
|
}
|
|
21958
|
-
return
|
|
21962
|
+
return xt.call(M, v) ? M[v] : void 0;
|
|
21959
21963
|
}
|
|
21960
21964
|
function Br(v) {
|
|
21961
21965
|
var M = this.__data__;
|
|
21962
|
-
return
|
|
21966
|
+
return bi ? M[v] !== void 0 : xt.call(M, v);
|
|
21963
21967
|
}
|
|
21964
21968
|
function Rr(v, M) {
|
|
21965
21969
|
var R = this.__data__;
|
|
21966
|
-
return this.size += this.has(v) ? 0 : 1, R[v] =
|
|
21970
|
+
return this.size += this.has(v) ? 0 : 1, R[v] = bi && M === void 0 ? i : M, this;
|
|
21967
21971
|
}
|
|
21968
21972
|
lt.prototype.clear = jr, lt.prototype.delete = zr, lt.prototype.get = Or, lt.prototype.has = Br, lt.prototype.set = Rr;
|
|
21969
21973
|
function mt(v) {
|
|
@@ -21995,7 +21999,7 @@ var lr = {}, TI = {
|
|
|
21995
21999
|
return Y < 0 ? (++this.size, R.push([v, M])) : R[Y][1] = M, this;
|
|
21996
22000
|
}
|
|
21997
22001
|
mt.prototype.clear = Vr, mt.prototype.delete = Hr, mt.prototype.get = Nr, mt.prototype.has = Gr, mt.prototype.set = Fr;
|
|
21998
|
-
function
|
|
22002
|
+
function Dt(v) {
|
|
21999
22003
|
var M = -1, R = v == null ? 0 : v.length;
|
|
22000
22004
|
for (this.clear(); ++M < R; ) {
|
|
22001
22005
|
var Y = v[M];
|
|
@@ -22023,10 +22027,10 @@ var lr = {}, TI = {
|
|
|
22023
22027
|
var R = Ht(this, v), Y = R.size;
|
|
22024
22028
|
return R.set(v, M), this.size += R.size == Y ? 0 : 1, this;
|
|
22025
22029
|
}
|
|
22026
|
-
|
|
22030
|
+
Dt.prototype.clear = Qr, Dt.prototype.delete = _r, Dt.prototype.get = Wr, Dt.prototype.has = Ur, Dt.prototype.set = Yr;
|
|
22027
22031
|
function fn(v) {
|
|
22028
22032
|
var M = -1, R = v == null ? 0 : v.length;
|
|
22029
|
-
for (this.__data__ = new
|
|
22033
|
+
for (this.__data__ = new Dt(); ++M < R; )
|
|
22030
22034
|
this.add(v[M]);
|
|
22031
22035
|
}
|
|
22032
22036
|
function so(v) {
|
|
@@ -22059,7 +22063,7 @@ var lr = {}, TI = {
|
|
|
22059
22063
|
var Y = R.__data__;
|
|
22060
22064
|
if (!Hi || Y.length < e - 1)
|
|
22061
22065
|
return Y.push([v, M]), this.size = ++R.size, this;
|
|
22062
|
-
R = this.__data__ = new
|
|
22066
|
+
R = this.__data__ = new Dt(Y);
|
|
22063
22067
|
}
|
|
22064
22068
|
return R.set(v, M), this.size = R.size, this;
|
|
22065
22069
|
}
|
|
@@ -22067,7 +22071,7 @@ var lr = {}, TI = {
|
|
|
22067
22071
|
function Kr(v, M) {
|
|
22068
22072
|
var R = pn(v), Y = !R && co(v), Ee = !R && !Y && An(v), pe = !R && !Y && !Ee && fo(v), Se = R || Y || Ee || pe, Te = Se ? Ye(v.length, String) : [], qe = Te.length;
|
|
22069
22073
|
for (var ze in v)
|
|
22070
|
-
(M ||
|
|
22074
|
+
(M || xt.call(v, ze)) && !(Se && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
22071
22075
|
(ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
22072
22076
|
Ee && (ze == "offset" || ze == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
22073
22077
|
pe && (ze == "buffer" || ze == "byteLength" || ze == "byteOffset") || // Skip index properties.
|
|
@@ -22085,7 +22089,7 @@ var lr = {}, TI = {
|
|
|
22085
22089
|
return pn(v) ? Y : Ie(Y, R(v));
|
|
22086
22090
|
}
|
|
22087
22091
|
function Ni(v) {
|
|
22088
|
-
return v == null ? v === void 0 ? W : b : Vt && Vt in Object(v) ?
|
|
22092
|
+
return v == null ? v === void 0 ? W : b : Vt && Vt in Object(v) ? ai(v) : ao(v);
|
|
22089
22093
|
}
|
|
22090
22094
|
function oo(v) {
|
|
22091
22095
|
return qt(v) && Ni(v) == a;
|
|
@@ -22096,7 +22100,7 @@ var lr = {}, TI = {
|
|
|
22096
22100
|
function $r(v, M, R, Y, Ee, pe) {
|
|
22097
22101
|
var Se = pn(v), Te = pn(M), qe = Se ? l : Jt(v), ze = Te ? l : Jt(M);
|
|
22098
22102
|
qe = qe == a ? y : qe, ze = ze == a ? y : ze;
|
|
22099
|
-
var pt = qe == y,
|
|
22103
|
+
var pt = qe == y, St = ze == y, it = qe == ze;
|
|
22100
22104
|
if (it && An(v)) {
|
|
22101
22105
|
if (!An(M))
|
|
22102
22106
|
return !1;
|
|
@@ -22105,10 +22109,10 @@ var lr = {}, TI = {
|
|
|
22105
22109
|
if (it && !pt)
|
|
22106
22110
|
return pe || (pe = new Zt()), Se || fo(v) ? ps(v, M, R, Y, Ee, pe) : na(v, M, qe, R, Y, Ee, pe);
|
|
22107
22111
|
if (!(R & s)) {
|
|
22108
|
-
var At = pt &&
|
|
22112
|
+
var At = pt && xt.call(v, "__wrapped__"), ct = St && xt.call(M, "__wrapped__");
|
|
22109
22113
|
if (At || ct) {
|
|
22110
|
-
var
|
|
22111
|
-
return pe || (pe = new Zt()), Ee(
|
|
22114
|
+
var yi = At ? v.value() : v, li = ct ? M.value() : M;
|
|
22115
|
+
return pe || (pe = new Zt()), Ee(yi, li, R, Y, pe);
|
|
22112
22116
|
}
|
|
22113
22117
|
}
|
|
22114
22118
|
return it ? (pe || (pe = new Zt()), sa(v, M, R, Y, Ee, pe)) : !1;
|
|
@@ -22117,7 +22121,7 @@ var lr = {}, TI = {
|
|
|
22117
22121
|
if (!uo(v) || la(v))
|
|
22118
22122
|
return !1;
|
|
22119
22123
|
var M = ho(v) ? Dr : be;
|
|
22120
|
-
return M.test(
|
|
22124
|
+
return M.test(It(v));
|
|
22121
22125
|
}
|
|
22122
22126
|
function ta(v) {
|
|
22123
22127
|
return qt(v) && vs(v.length) && !!ye[Ni(v)];
|
|
@@ -22127,7 +22131,7 @@ var lr = {}, TI = {
|
|
|
22127
22131
|
return Vi(v);
|
|
22128
22132
|
var M = [];
|
|
22129
22133
|
for (var R in Object(v))
|
|
22130
|
-
|
|
22134
|
+
xt.call(v, R) && R != "constructor" && M.push(R);
|
|
22131
22135
|
return M;
|
|
22132
22136
|
}
|
|
22133
22137
|
function ps(v, M, R, Y, Ee, pe) {
|
|
@@ -22137,31 +22141,31 @@ var lr = {}, TI = {
|
|
|
22137
22141
|
var ze = pe.get(v);
|
|
22138
22142
|
if (ze && pe.get(M))
|
|
22139
22143
|
return ze == M;
|
|
22140
|
-
var pt = -1,
|
|
22144
|
+
var pt = -1, St = !0, it = R & o ? new fn() : void 0;
|
|
22141
22145
|
for (pe.set(v, M), pe.set(M, v); ++pt < Te; ) {
|
|
22142
22146
|
var At = v[pt], ct = M[pt];
|
|
22143
22147
|
if (Y)
|
|
22144
|
-
var
|
|
22145
|
-
if (
|
|
22146
|
-
if (
|
|
22148
|
+
var yi = Se ? Y(ct, At, pt, M, v, pe) : Y(At, ct, pt, v, M, pe);
|
|
22149
|
+
if (yi !== void 0) {
|
|
22150
|
+
if (yi)
|
|
22147
22151
|
continue;
|
|
22148
|
-
|
|
22152
|
+
St = !1;
|
|
22149
22153
|
break;
|
|
22150
22154
|
}
|
|
22151
22155
|
if (it) {
|
|
22152
|
-
if (!Qe(M, function(
|
|
22153
|
-
if (!ot(it, Fi) && (At ===
|
|
22156
|
+
if (!Qe(M, function(li, Fi) {
|
|
22157
|
+
if (!ot(it, Fi) && (At === li || Ee(At, li, R, Y, pe)))
|
|
22154
22158
|
return it.push(Fi);
|
|
22155
22159
|
})) {
|
|
22156
|
-
|
|
22160
|
+
St = !1;
|
|
22157
22161
|
break;
|
|
22158
22162
|
}
|
|
22159
22163
|
} else if (!(At === ct || Ee(At, ct, R, Y, pe))) {
|
|
22160
|
-
|
|
22164
|
+
St = !1;
|
|
22161
22165
|
break;
|
|
22162
22166
|
}
|
|
22163
22167
|
}
|
|
22164
|
-
return pe.delete(v), pe.delete(M),
|
|
22168
|
+
return pe.delete(v), pe.delete(M), St;
|
|
22165
22169
|
}
|
|
22166
22170
|
function na(v, M, R, Y, Ee, pe, Se) {
|
|
22167
22171
|
switch (R) {
|
|
@@ -22202,9 +22206,9 @@ var lr = {}, TI = {
|
|
|
22202
22206
|
var Se = R & s, Te = Gi(v), qe = Te.length, ze = Gi(M), pt = ze.length;
|
|
22203
22207
|
if (qe != pt && !Se)
|
|
22204
22208
|
return !1;
|
|
22205
|
-
for (var
|
|
22206
|
-
var it = Te[
|
|
22207
|
-
if (!(Se ? it in M :
|
|
22209
|
+
for (var St = qe; St--; ) {
|
|
22210
|
+
var it = Te[St];
|
|
22211
|
+
if (!(Se ? it in M : xt.call(M, it)))
|
|
22208
22212
|
return !1;
|
|
22209
22213
|
}
|
|
22210
22214
|
var At = pe.get(v);
|
|
@@ -22212,18 +22216,18 @@ var lr = {}, TI = {
|
|
|
22212
22216
|
return At == M;
|
|
22213
22217
|
var ct = !0;
|
|
22214
22218
|
pe.set(v, M), pe.set(M, v);
|
|
22215
|
-
for (var
|
|
22216
|
-
it = Te[
|
|
22217
|
-
var
|
|
22219
|
+
for (var yi = Se; ++St < qe; ) {
|
|
22220
|
+
it = Te[St];
|
|
22221
|
+
var li = v[it], Fi = M[it];
|
|
22218
22222
|
if (Y)
|
|
22219
|
-
var rc = Se ? Y(Fi,
|
|
22220
|
-
if (!(rc === void 0 ?
|
|
22223
|
+
var rc = Se ? Y(Fi, li, it, M, v, pe) : Y(li, Fi, it, v, M, pe);
|
|
22224
|
+
if (!(rc === void 0 ? li === Fi || Ee(li, Fi, R, Y, pe) : rc)) {
|
|
22221
22225
|
ct = !1;
|
|
22222
22226
|
break;
|
|
22223
22227
|
}
|
|
22224
|
-
|
|
22228
|
+
yi || (yi = it == "constructor");
|
|
22225
22229
|
}
|
|
22226
|
-
if (ct && !
|
|
22230
|
+
if (ct && !yi) {
|
|
22227
22231
|
var go = v.constructor, mo = M.constructor;
|
|
22228
22232
|
go != mo && "constructor" in v && "constructor" in M && !(typeof go == "function" && go instanceof go && typeof mo == "function" && mo instanceof mo) && (ct = !1);
|
|
22229
22233
|
}
|
|
@@ -22236,12 +22240,12 @@ var lr = {}, TI = {
|
|
|
22236
22240
|
var R = v.__data__;
|
|
22237
22241
|
return aa(M) ? R[typeof M == "string" ? "string" : "hash"] : R.map;
|
|
22238
22242
|
}
|
|
22239
|
-
function
|
|
22240
|
-
var R =
|
|
22243
|
+
function ri(v, M) {
|
|
22244
|
+
var R = Pt(v, M);
|
|
22241
22245
|
return ea(R) ? R : void 0;
|
|
22242
22246
|
}
|
|
22243
|
-
function
|
|
22244
|
-
var M =
|
|
22247
|
+
function ai(v) {
|
|
22248
|
+
var M = xt.call(v, Vt), R = v[Vt];
|
|
22245
22249
|
try {
|
|
22246
22250
|
v[Vt] = void 0;
|
|
22247
22251
|
var Y = !0;
|
|
@@ -22256,12 +22260,12 @@ var lr = {}, TI = {
|
|
|
22256
22260
|
}));
|
|
22257
22261
|
} : da, Jt = Ni;
|
|
22258
22262
|
(cs && Jt(new cs(new ArrayBuffer(1))) != F || Hi && Jt(new Hi()) != p || hs && Jt(hs.resolve()) != P || ds && Jt(new ds()) != E || us && Jt(new us()) != _) && (Jt = function(v) {
|
|
22259
|
-
var M = Ni(v), R = M == y ? v.constructor : void 0, Y = R ?
|
|
22263
|
+
var M = Ni(v), R = M == y ? v.constructor : void 0, Y = R ? It(R) : "";
|
|
22260
22264
|
if (Y)
|
|
22261
22265
|
switch (Y) {
|
|
22262
22266
|
case io:
|
|
22263
22267
|
return F;
|
|
22264
|
-
case
|
|
22268
|
+
case oi:
|
|
22265
22269
|
return p;
|
|
22266
22270
|
case Sr:
|
|
22267
22271
|
return P;
|
|
@@ -22289,7 +22293,7 @@ var lr = {}, TI = {
|
|
|
22289
22293
|
function ao(v) {
|
|
22290
22294
|
return cn.call(v);
|
|
22291
22295
|
}
|
|
22292
|
-
function
|
|
22296
|
+
function It(v) {
|
|
22293
22297
|
if (v != null) {
|
|
22294
22298
|
try {
|
|
22295
22299
|
return Bi.call(v);
|
|
@@ -22308,7 +22312,7 @@ var lr = {}, TI = {
|
|
|
22308
22312
|
var co = oo(function() {
|
|
22309
22313
|
return arguments;
|
|
22310
22314
|
}()) ? oo : function(v) {
|
|
22311
|
-
return qt(v) &&
|
|
22315
|
+
return qt(v) && xt.call(v, "callee") && !dn.call(v, "callee");
|
|
22312
22316
|
}, pn = Array.isArray;
|
|
22313
22317
|
function As(v) {
|
|
22314
22318
|
return v != null && vs(v.length) && !ho(v);
|
|
@@ -22333,7 +22337,7 @@ var lr = {}, TI = {
|
|
|
22333
22337
|
function qt(v) {
|
|
22334
22338
|
return v != null && typeof v == "object";
|
|
22335
22339
|
}
|
|
22336
|
-
var fo = st ?
|
|
22340
|
+
var fo = st ? kt(st) : ta;
|
|
22337
22341
|
function bs(v) {
|
|
22338
22342
|
return As(v) ? Kr(v) : ia(v);
|
|
22339
22343
|
}
|
|
@@ -22645,13 +22649,13 @@ function _I(n) {
|
|
|
22645
22649
|
},
|
|
22646
22650
|
_applyAutoplayIfNeeded(l) {
|
|
22647
22651
|
return G(this, arguments, function* ({ data: r, methods: a }) {
|
|
22648
|
-
if (!r.infinite && (r.autoplayDirection ===
|
|
22652
|
+
if (!r.infinite && (r.autoplayDirection === Di && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === Un && r.currentParticleIndex === 0)) {
|
|
22649
22653
|
t.reset();
|
|
22650
22654
|
return;
|
|
22651
22655
|
}
|
|
22652
22656
|
if (r.autoplay) {
|
|
22653
22657
|
const c = () => rl({
|
|
22654
|
-
[
|
|
22658
|
+
[Di]: () => G(this, null, function* () {
|
|
22655
22659
|
return a.showNextPage();
|
|
22656
22660
|
}),
|
|
22657
22661
|
[Un]: () => G(this, null, function* () {
|
|
@@ -23255,7 +23259,7 @@ function $I(n) {
|
|
|
23255
23259
|
"transition-timing-function",
|
|
23256
23260
|
/*timingFunction*/
|
|
23257
23261
|
P[0]
|
|
23258
|
-
), r &&
|
|
23262
|
+
), r && si(r.update) && I[0] & /*pageWindowWidth*/
|
|
23259
23263
|
2048 && r.update.call(null, {
|
|
23260
23264
|
thresholdProvider: (
|
|
23261
23265
|
/*swipeable_function*/
|
|
@@ -23298,7 +23302,7 @@ function eE(n, t, e) {
|
|
|
23298
23302
|
loaded: () => e(6, o = Ie)
|
|
23299
23303
|
})(re);
|
|
23300
23304
|
}), p = br();
|
|
23301
|
-
let { timingFunction: m = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j =
|
|
23305
|
+
let { timingFunction: m = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j = Di } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: F = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
23302
23306
|
function Q(re, Ie) {
|
|
23303
23307
|
return G(this, null, function* () {
|
|
23304
23308
|
const Qe = Bs(Ie, "animated", !0);
|
|
@@ -23338,7 +23342,7 @@ function eE(n, t, e) {
|
|
|
23338
23342
|
clonesToPrepend: Ie
|
|
23339
23343
|
});
|
|
23340
23344
|
}
|
|
23341
|
-
|
|
23345
|
+
Mt(() => {
|
|
23342
23346
|
G(this, null, function* () {
|
|
23343
23347
|
yield Cc(), de && $ && (u.particlesCountWithoutClones = de.children.length, yield Cc(), u.infinite && Pe(), u.particlesCount = de.children.length, g.showPage(P, { animated: !1 }), he.observe($));
|
|
23344
23348
|
});
|
|
@@ -23356,7 +23360,7 @@ function eE(n, t, e) {
|
|
|
23356
23360
|
function Fe(re) {
|
|
23357
23361
|
return G(this, null, function* () {
|
|
23358
23362
|
N && (yield rl({
|
|
23359
|
-
[
|
|
23363
|
+
[Di]: g.showNextPage,
|
|
23360
23364
|
[Un]: g.showPrevPage
|
|
23361
23365
|
})(re.detail.direction));
|
|
23362
23366
|
});
|
|
@@ -23792,10 +23796,10 @@ function lE(n, t, e) {
|
|
|
23792
23796
|
function m() {
|
|
23793
23797
|
e(9, p = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
|
|
23794
23798
|
}
|
|
23795
|
-
const b =
|
|
23799
|
+
const b = Ei("mediaStore"), y = Ei("hooks"), P = () => {
|
|
23796
23800
|
p || i && (e(10, i.muted = !0, i), i.play(), i.pause(), e(10, i.muted = !1, i), e(9, p = !0));
|
|
23797
23801
|
};
|
|
23798
|
-
y.on("loadVideoFirstFrame", P),
|
|
23802
|
+
y.on("loadVideoFirstFrame", P), Mt(() => {
|
|
23799
23803
|
b.subscribe(({ currentMediaElement: F }) => {
|
|
23800
23804
|
F !== i && (i == null || i.pause());
|
|
23801
23805
|
});
|
|
@@ -23955,7 +23959,7 @@ function Wd(n) {
|
|
|
23955
23959
|
},
|
|
23956
23960
|
i(u) {
|
|
23957
23961
|
a || (x(s), u && Xe(() => {
|
|
23958
|
-
a && (r && r.end(1), o =
|
|
23962
|
+
a && (r && r.end(1), o = rn(
|
|
23959
23963
|
t,
|
|
23960
23964
|
Mc,
|
|
23961
23965
|
/*animation*/
|
|
@@ -23969,7 +23973,7 @@ function Wd(n) {
|
|
|
23969
23973
|
/*inDelay*/
|
|
23970
23974
|
n[2]
|
|
23971
23975
|
),
|
|
23972
|
-
easing:
|
|
23976
|
+
easing: pi
|
|
23973
23977
|
} : void 0
|
|
23974
23978
|
), o.start());
|
|
23975
23979
|
}), a = !0);
|
|
@@ -23989,7 +23993,7 @@ function Wd(n) {
|
|
|
23989
23993
|
/*outDelay*/
|
|
23990
23994
|
n[3]
|
|
23991
23995
|
),
|
|
23992
|
-
easing:
|
|
23996
|
+
easing: pi
|
|
23993
23997
|
} : void 0
|
|
23994
23998
|
)), a = !1;
|
|
23995
23999
|
},
|
|
@@ -24034,7 +24038,7 @@ function hE(n) {
|
|
|
24034
24038
|
},
|
|
24035
24039
|
p(a, l) {
|
|
24036
24040
|
const c = l[0] & /*mediaData, autoplayVideo, mediaItemConfig, tag*/
|
|
24037
|
-
16515 ?
|
|
24041
|
+
16515 ? Ct(s, [
|
|
24038
24042
|
l[0] & /*mediaData*/
|
|
24039
24043
|
2 && { media: (
|
|
24040
24044
|
/*mediaData*/
|
|
@@ -24150,7 +24154,7 @@ function Ud(n) {
|
|
|
24150
24154
|
p(a, l) {
|
|
24151
24155
|
n = a;
|
|
24152
24156
|
const c = l[0] & /*mediaItemConfig, mediaDataList, tag*/
|
|
24153
|
-
1153 ?
|
|
24157
|
+
1153 ? Ct(s, [
|
|
24154
24158
|
l[0] & /*mediaItemConfig*/
|
|
24155
24159
|
128 && Bf(
|
|
24156
24160
|
/*mediaItemConfig*/
|
|
@@ -24274,12 +24278,12 @@ function gE(n, t, e) {
|
|
|
24274
24278
|
let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: f = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: m = {} } = t;
|
|
24275
24279
|
const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = m;
|
|
24276
24280
|
let I = [], k = 0, E, j = null;
|
|
24277
|
-
const V =
|
|
24281
|
+
const V = Ei("hooks"), W = Ei("mediaStore");
|
|
24278
24282
|
function _() {
|
|
24279
24283
|
const U = I[k], Z = U == null ? void 0 : U.videoInstance;
|
|
24280
24284
|
Z && (Z.paused ? (Z.muted = !1, Z.play()) : Z.pause());
|
|
24281
24285
|
}
|
|
24282
|
-
|
|
24286
|
+
Mt(() => {
|
|
24283
24287
|
V.on("click", (U) => {
|
|
24284
24288
|
var Z, X, $;
|
|
24285
24289
|
($ = (X = (Z = a.tag3DContentSvelte) == null ? void 0 : Z.css3DInstance) == null ? void 0 : X.css3DObject) != null && $.opacityMesh && U.tag.id === a.id && _();
|
|
@@ -24637,7 +24641,7 @@ function $d(n) {
|
|
|
24637
24641
|
for (let f = 0; f < c.length; f += 1)
|
|
24638
24642
|
c[f] && c[f].m(e, null);
|
|
24639
24643
|
s || (o = [
|
|
24640
|
-
Qt(
|
|
24644
|
+
Qt(ji.call(null, e)),
|
|
24641
24645
|
Ae(
|
|
24642
24646
|
e,
|
|
24643
24647
|
"clientHeight",
|
|
@@ -25140,7 +25144,7 @@ function EE(n) {
|
|
|
25140
25144
|
}
|
|
25141
25145
|
function ME(n, t, e) {
|
|
25142
25146
|
let { $$slots: i = {}, $$scope: s } = t, { url: o } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
25143
|
-
const c = br(), h =
|
|
25147
|
+
const c = br(), h = Ei("hooks"), u = Ei("mediaStore");
|
|
25144
25148
|
let f, g = !0;
|
|
25145
25149
|
function A() {
|
|
25146
25150
|
e(
|
|
@@ -25466,7 +25470,7 @@ function cu(n) {
|
|
|
25466
25470
|
/*clickContent*/
|
|
25467
25471
|
n[7]
|
|
25468
25472
|
),
|
|
25469
|
-
Qt(
|
|
25473
|
+
Qt(ji.call(null, l)),
|
|
25470
25474
|
Ae(
|
|
25471
25475
|
l,
|
|
25472
25476
|
"clientWidth",
|
|
@@ -25589,7 +25593,7 @@ function hu(n) {
|
|
|
25589
25593
|
},
|
|
25590
25594
|
i(l) {
|
|
25591
25595
|
a || (x(e.$$.fragment, l), x(s.$$.fragment, l), l && Xe(() => {
|
|
25592
|
-
a && (r && r.end(1), o =
|
|
25596
|
+
a && (r && r.end(1), o = rn(t, gt, {
|
|
25593
25597
|
duration: 1e3,
|
|
25594
25598
|
delay: 0,
|
|
25595
25599
|
easing: Nn
|
|
@@ -26686,7 +26690,7 @@ function l2(n, t, e) {
|
|
|
26686
26690
|
function y() {
|
|
26687
26691
|
h || p("iconLoaded");
|
|
26688
26692
|
}
|
|
26689
|
-
return
|
|
26693
|
+
return Mt(() => {
|
|
26690
26694
|
y();
|
|
26691
26695
|
}), n.$$set = (P) => {
|
|
26692
26696
|
"width" in P && e(1, f = P.width), "icon" in P && e(12, g = P.icon), "shadow" in P && e(0, A = P.shadow);
|
|
@@ -27020,7 +27024,7 @@ function b2(n) {
|
|
|
27020
27024
|
function y2(n, t, e) {
|
|
27021
27025
|
var h, u;
|
|
27022
27026
|
let i, { tag: s } = t, { rendererMap: o = /* @__PURE__ */ new Map() } = t, r, a = (u = s.element) != null ? u : (h = o.get(s.contentType)) == null ? void 0 : h.renderer, l;
|
|
27023
|
-
|
|
27027
|
+
Mt(() => {
|
|
27024
27028
|
r && (a instanceof Element ? (r.appendChild(a), l = () => {
|
|
27025
27029
|
a instanceof Element && a.remove();
|
|
27026
27030
|
}) : typeof a == "function" && (l = a(r, s)));
|
|
@@ -27822,7 +27826,7 @@ function R2(n) {
|
|
|
27822
27826
|
}
|
|
27823
27827
|
function V2(n, t, e) {
|
|
27824
27828
|
let i, s, o, r;
|
|
27825
|
-
const a =
|
|
27829
|
+
const a = Ei("hooks");
|
|
27826
27830
|
let { tag: l } = t, c, h = !1;
|
|
27827
27831
|
const u = () => {
|
|
27828
27832
|
c !== void 0 && clearTimeout(c), h = !0, c = setTimeout(
|
|
@@ -28234,7 +28238,7 @@ function W2(n) {
|
|
|
28234
28238
|
}
|
|
28235
28239
|
function U2(n, t, e) {
|
|
28236
28240
|
let i, s, o, r, a, l, c, h, u, f, { withAnimation: g = !1 } = t, { tag: A } = t, { mediaStore: p } = t, { rendererMap: m = /* @__PURE__ */ new Map() } = t, { contentTypeMap: b = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: P } = t;
|
|
28237
|
-
const I =
|
|
28241
|
+
const I = Ei("hooks");
|
|
28238
28242
|
function k(E) {
|
|
28239
28243
|
He[E ? "unshift" : "push"](() => {
|
|
28240
28244
|
A.dom = E, e(0, A);
|
|
@@ -28351,7 +28355,7 @@ function Cu(n) {
|
|
|
28351
28355
|
var c;
|
|
28352
28356
|
l & /*state, temporaryState, withAnimation, tags, mediaStore, rendererMap, contentTypeMap*/
|
|
28353
28357
|
127 && (o = /*tags*/
|
|
28354
|
-
a[1], ue(), e = Ut(e, l, r, 1, a, o, i, t,
|
|
28358
|
+
a[1], ue(), e = Ut(e, l, r, 1, a, o, i, t, Li, Pu, null, wu), fe()), (!s || l & /*state, temporaryState*/
|
|
28355
28359
|
96) && K(t, "hide", !/*state*/
|
|
28356
28360
|
a[5].visible || !/*temporaryState*/
|
|
28357
28361
|
a[6].visible), (!s || l & /*withAnimation*/
|
|
@@ -28655,8 +28659,8 @@ class iM extends qw {
|
|
|
28655
28659
|
const r = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
|
|
28656
28660
|
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), $t(e)) {
|
|
28657
28661
|
if (this.getRenderType(e) === "Mesh" && !e.mediaPlane) {
|
|
28658
|
-
const l = e.data.mediaPosition.map(
|
|
28659
|
-
e.mediaPlane = new od(e.data.mediaData[0].url, e.data.mediaPosition.map(
|
|
28662
|
+
const l = e.data.mediaPosition.map(ui);
|
|
28663
|
+
e.mediaPlane = new od(e.data.mediaData[0].url, e.data.mediaPosition.map(ui), {
|
|
28660
28664
|
objectFit: e.data.objectFit
|
|
28661
28665
|
});
|
|
28662
28666
|
const c = new oe().addVectors(l[0], l[2]).divideScalar(2);
|
|
@@ -28744,7 +28748,7 @@ class iM extends qw {
|
|
|
28744
28748
|
return;
|
|
28745
28749
|
const r = this.getCurrentVisibleState(i), a = (() => !!(i.mediaPlane && !r))(), l = (() => !!(!i.mediaPlane && r))(), c = (() => !!(i.mediaPlane && i.mediaPlane.src !== o))();
|
|
28746
28750
|
if ((a || c) && i.mediaPlane && (this.imagePlaneGroup.remove(i.mediaPlane), i.mediaPlane.dispose(), i.mediaPlane.removeFromParent(), i.mediaPlane = void 0), l || c) {
|
|
28747
|
-
const u = i.position.map(
|
|
28751
|
+
const u = i.position.map(ui), f = new Tg(o, u, {
|
|
28748
28752
|
videoCoverSrc: s.videoCoverUrl,
|
|
28749
28753
|
playButton: i.data.playIcon,
|
|
28750
28754
|
paused: !((h = i.data.autoplayConfig) != null && h.autoplayVideo),
|
|
@@ -28772,7 +28776,7 @@ class iM extends qw {
|
|
|
28772
28776
|
const { url: s } = i.data.mediaData[0];
|
|
28773
28777
|
if (!s)
|
|
28774
28778
|
return;
|
|
28775
|
-
const o = i.position.map(
|
|
28779
|
+
const o = i.position.map(ui), r = this.getCurrentVisibleState(i), a = (() => !!(i.mediaPlane && !r))(), l = (() => !!(!i.mediaPlane && r))(), c = (() => !!(i.mediaPlane && i.mediaPlane.src !== s))();
|
|
28776
28780
|
(a || c) && i.mediaPlane && (this.imagePlaneGroup.remove(i.mediaPlane), i.mediaPlane.dispose(), i.mediaPlane.removeFromParent(), i.mediaPlane = void 0), (l || c) && (i.mediaPlane = new od(s, o, { objectFit: i.data.objectFit }), this.getTagConfig(i).clickable !== !1 && this.domEvents.addAutoBindEventListener(
|
|
28777
28781
|
i.mediaPlane,
|
|
28778
28782
|
"click",
|
|
@@ -28819,7 +28823,7 @@ class iM extends qw {
|
|
|
28819
28823
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
28820
28824
|
return;
|
|
28821
28825
|
i.updateWorldMatrix(!1, !1);
|
|
28822
|
-
const a = i.matrixWorld, l = new oe().fromArray(r[0]), c = new oe().fromArray(r[2]), h =
|
|
28826
|
+
const a = i.matrixWorld, l = new oe().fromArray(r[0]), c = new oe().fromArray(r[2]), h = Si(l, c).add(new oe(0, 0, 5e-4)), u = new ks().setPosition(h), f = new ks().makeScale(s, s, s), g = new ks().multiply(a).multiply(u).multiply(f);
|
|
28823
28827
|
g.decompose(o.position, o.quaternion, o.scale);
|
|
28824
28828
|
const A = o.opacityMesh;
|
|
28825
28829
|
A && g.decompose(A.position, A.quaternion, A.scale);
|
|
@@ -28911,7 +28915,7 @@ function Kg(n) {
|
|
|
28911
28915
|
}, n);
|
|
28912
28916
|
});
|
|
28913
28917
|
}
|
|
28914
|
-
const $g = "Dnalogel-PanoTagPlugin",
|
|
28918
|
+
const $g = "Dnalogel-PanoTagPlugin", Ox = (n) => `${$g}--${n}`;
|
|
28915
28919
|
class al extends iM {
|
|
28916
28920
|
constructor(e, i) {
|
|
28917
28921
|
super(e);
|
|
@@ -29068,7 +29072,7 @@ class al extends iM {
|
|
|
29068
29072
|
visible: void 0,
|
|
29069
29073
|
unfolded: !this.can("fold", r)
|
|
29070
29074
|
}, h.initialState),
|
|
29071
|
-
hooks: new
|
|
29075
|
+
hooks: new on(),
|
|
29072
29076
|
originPosition: r.position,
|
|
29073
29077
|
position: (() => {
|
|
29074
29078
|
const m = this.getTransformedPostion(r.position);
|
|
@@ -29222,7 +29226,7 @@ class al extends iM {
|
|
|
29222
29226
|
*/
|
|
29223
29227
|
changeTagNormalById(e, i) {
|
|
29224
29228
|
const s = this.getTagById(e);
|
|
29225
|
-
s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal =
|
|
29229
|
+
s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal = ui(i));
|
|
29226
29230
|
}
|
|
29227
29231
|
/**
|
|
29228
29232
|
* @description 改变data
|
|
@@ -29255,7 +29259,7 @@ class al extends iM {
|
|
|
29255
29259
|
changeTagById(e, i, s = !0) {
|
|
29256
29260
|
const o = this.getTagById(e);
|
|
29257
29261
|
let r = !1;
|
|
29258
|
-
i && (this.tagsLengthWillUpdate = !0, i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal =
|
|
29262
|
+
i && (this.tagsLengthWillUpdate = !0, i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = ui(i.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
|
|
29259
29263
|
}
|
|
29260
29264
|
/**
|
|
29261
29265
|
* @description 销毁tag
|
|
@@ -29361,7 +29365,7 @@ class al extends iM {
|
|
|
29361
29365
|
((s = e.config) == null ? void 0 : s.renderType) !== "Mesh" && ((a = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : a.mode) !== i && ((l = e.config) != null && l.tag3DConfig ? e.config.tag3DConfig.mode = i : e.config ? e.config.tag3DConfig = { mode: i } : e.config = { tag3DConfig: { mode: i } }, (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
|
|
29362
29366
|
}
|
|
29363
29367
|
}
|
|
29364
|
-
const
|
|
29368
|
+
const Bx = (n, t) => new al(n, t);
|
|
29365
29369
|
function sM(n) {
|
|
29366
29370
|
ge(n, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
29367
29371
|
}
|
|
@@ -30003,7 +30007,7 @@ class ll {
|
|
|
30003
30007
|
function xa(n) {
|
|
30004
30008
|
return n.contentType === "Custom";
|
|
30005
30009
|
}
|
|
30006
|
-
const
|
|
30010
|
+
const Rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30007
30011
|
__proto__: null,
|
|
30008
30012
|
GuideLineModeItem: ll
|
|
30009
30013
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30027,7 +30031,7 @@ class dM extends Yf {
|
|
|
30027
30031
|
}
|
|
30028
30032
|
}
|
|
30029
30033
|
const em = "CruisePlugin", Da = `${em}`;
|
|
30030
|
-
class tm extends
|
|
30034
|
+
class tm extends zi {
|
|
30031
30035
|
constructor(e, i) {
|
|
30032
30036
|
super(e, i);
|
|
30033
30037
|
d(this, "state", {
|
|
@@ -30753,7 +30757,7 @@ class om {
|
|
|
30753
30757
|
d(this, "isGuideLine", !0);
|
|
30754
30758
|
d(this, "panoramaItem");
|
|
30755
30759
|
d(this, "modelItem");
|
|
30756
|
-
d(this, "hooks", new
|
|
30760
|
+
d(this, "hooks", new wt());
|
|
30757
30761
|
d(this, "_visible", !0);
|
|
30758
30762
|
d(this, "plugin");
|
|
30759
30763
|
d(this, "five");
|
|
@@ -30841,11 +30845,11 @@ function pM(n, t) {
|
|
|
30841
30845
|
});
|
|
30842
30846
|
});
|
|
30843
30847
|
}
|
|
30844
|
-
const
|
|
30848
|
+
const Hx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30845
30849
|
__proto__: null,
|
|
30846
30850
|
GuideLineItem: om
|
|
30847
30851
|
}, Symbol.toStringTag, { value: "Module" })), cl = "GuideLinePlugin", xu = `${cl}`;
|
|
30848
|
-
let AM = class extends
|
|
30852
|
+
let AM = class extends Ai {
|
|
30849
30853
|
constructor(e, i) {
|
|
30850
30854
|
super(e, i);
|
|
30851
30855
|
d(this, "name", cl);
|
|
@@ -30984,9 +30988,9 @@ let AM = class extends vi {
|
|
|
30984
30988
|
return typeof e == "object" && e !== null && e.data ? e.data : e;
|
|
30985
30989
|
}
|
|
30986
30990
|
};
|
|
30987
|
-
const rm = (n, t) => new AM(n, t), vM = rm,
|
|
30991
|
+
const rm = (n, t) => new AM(n, t), vM = rm, Gx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30988
30992
|
__proto__: null
|
|
30989
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
30993
|
+
}, Symbol.toStringTag, { value: "Module" })), Fx = (n, t) => new Kl(n, t), Qx = (n, t) => new nm(n, t);
|
|
30990
30994
|
function am(n, t, e) {
|
|
30991
30995
|
if (e) {
|
|
30992
30996
|
const s = new w.Vector3().subVectors(n.position, e).applyQuaternion(n.quaternion.clone().inverse()).applyQuaternion(t).add(e);
|
|
@@ -31397,7 +31401,7 @@ function OM() {
|
|
|
31397
31401
|
border: "1px solid rgba(255,255,255,0.4)"
|
|
31398
31402
|
});
|
|
31399
31403
|
n.appendChild(t), t.appendChild(e);
|
|
31400
|
-
const i = "-4px", s = { direction: "nesw", element:
|
|
31404
|
+
const i = "-4px", s = { direction: "nesw", element: Ci({ cursor: "nesw-resize", left: i, bottom: i }) }, o = { direction: "ns", element: Ci({ cursor: "ns-resize", bottom: i }) }, r = { direction: "nwse", element: Ci({ cursor: "nwse-resize", right: i, bottom: i }) }, a = { direction: "ew", element: Ci({ cursor: "ew-resize", right: i }) }, l = { direction: "nesw", element: Ci({ cursor: "nesw-resize", right: i, top: i }) }, c = { direction: "ns", element: Ci({ cursor: "ns-resize", top: i }) }, h = { direction: "nwse", element: Ci({ cursor: "nwse-resize", left: i, top: i }) }, u = { direction: "ew", element: Ci({ cursor: "ew-resize", left: i }) };
|
|
31401
31405
|
return new Array(o, a, c, u, s, r, l, h).forEach((g) => t.appendChild(g.element)), { container: n, squares: [
|
|
31402
31406
|
s,
|
|
31403
31407
|
o,
|
|
@@ -31409,7 +31413,7 @@ function OM() {
|
|
|
31409
31413
|
u
|
|
31410
31414
|
] };
|
|
31411
31415
|
}
|
|
31412
|
-
function
|
|
31416
|
+
function Ci(n) {
|
|
31413
31417
|
const t = Ji(D({
|
|
31414
31418
|
background: "#FFFFFF",
|
|
31415
31419
|
width: "9px",
|
|
@@ -31841,7 +31845,7 @@ class Ks {
|
|
|
31841
31845
|
});
|
|
31842
31846
|
d(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = Js(this.originObject3D), this.boundingBox));
|
|
31843
31847
|
var h, u, f;
|
|
31844
|
-
this.hooks = (h = t.sharedHooks) != null ? h : new
|
|
31848
|
+
this.hooks = (h = t.sharedHooks) != null ? h : new wt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new wt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new Le(t.camera, t.container), this.onRender = (f = t.onRender) != null ? f : () => {
|
|
31845
31849
|
}, this.config = e != null ? e : {}, this.initialHelperPosition(), this.initialHelperQuaternion(), this.onWantsUpdateCameraDistance(), this.enable();
|
|
31846
31850
|
const i = this.onSetOriginObjectScale.bind(this), s = this.onSetOriginObjectRotate.bind(this), o = this.onSetOriginObjectPosition.bind(this), r = this.onApplyOriginObjectScale.bind(this), a = this.onApplyOriginObjectRotate.bind(this), l = this.onApplyOriginObjectPosition.bind(this), c = this.initialHelperPosition.bind(this);
|
|
31847
31851
|
this.internalHooks.on("setObjectPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", c), this.internalHooks.on("setObjectScale", i), this.internalHooks.on("setObjectRotate", s), this.internalHooks.on("setObjectPosition", o), this.internalHooks.on("applyObjectPosition", l), this.internalHooks.on("applyObjectRotate", a), this.internalHooks.on("applyObjectScale", r), this.disposers.push(() => {
|
|
@@ -31948,7 +31952,7 @@ class Ks {
|
|
|
31948
31952
|
}
|
|
31949
31953
|
}
|
|
31950
31954
|
hoverListener(t, e = 16777215, i = 1) {
|
|
31951
|
-
const s =
|
|
31955
|
+
const s = mi(t).filter(Me), o = [];
|
|
31952
31956
|
for (const r of s)
|
|
31953
31957
|
if (r.material || r instanceof w.Group) {
|
|
31954
31958
|
const a = r instanceof w.Group ? r.children.filter((f) => f instanceof w.Mesh) : [r];
|
|
@@ -32214,7 +32218,7 @@ class _M {
|
|
|
32214
32218
|
enabled: !0,
|
|
32215
32219
|
disposed: !1
|
|
32216
32220
|
});
|
|
32217
|
-
d(this, "hooks", new
|
|
32221
|
+
d(this, "hooks", new wt());
|
|
32218
32222
|
d(this, "eventListener", {});
|
|
32219
32223
|
t && this.addControllers(t), this.setState(this.state);
|
|
32220
32224
|
}
|
|
@@ -32667,7 +32671,7 @@ const hl = "Object3DHelperPlugin", tc = hl, KM = () => {
|
|
|
32667
32671
|
}, ek = () => {
|
|
32668
32672
|
console.error(`${tc} is disabled`);
|
|
32669
32673
|
};
|
|
32670
|
-
class lm extends
|
|
32674
|
+
class lm extends zi {
|
|
32671
32675
|
constructor(e) {
|
|
32672
32676
|
super(e);
|
|
32673
32677
|
d(this, "name", hl);
|
|
@@ -32749,7 +32753,7 @@ class lm extends rn {
|
|
|
32749
32753
|
scaleHelper: !0,
|
|
32750
32754
|
boundingBoxHelper: !1,
|
|
32751
32755
|
positionFrom: "objectPosition"
|
|
32752
|
-
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: g, positionFrom: A } = c, p = new
|
|
32756
|
+
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: g, positionFrom: A } = c, p = new wt(), m = new wt(), b = (P) => {
|
|
32753
32757
|
if (P)
|
|
32754
32758
|
return typeof P == "boolean" ? P : P.enable;
|
|
32755
32759
|
};
|
|
@@ -32838,7 +32842,7 @@ class lm extends rn {
|
|
|
32838
32842
|
return e;
|
|
32839
32843
|
}
|
|
32840
32844
|
}
|
|
32841
|
-
const
|
|
32845
|
+
const Wx = (n) => new lm(n), tk = (
|
|
32842
32846
|
/* glsl */
|
|
32843
32847
|
`
|
|
32844
32848
|
varying vec2 vUv;
|
|
@@ -33149,7 +33153,7 @@ class Su {
|
|
|
33149
33153
|
return i >= o && i <= h && s >= c && s <= u;
|
|
33150
33154
|
}
|
|
33151
33155
|
}
|
|
33152
|
-
class sk extends
|
|
33156
|
+
class sk extends zi {
|
|
33153
33157
|
constructor(e) {
|
|
33154
33158
|
super(e);
|
|
33155
33159
|
d(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -33291,9 +33295,9 @@ class sk extends rn {
|
|
|
33291
33295
|
console.warn("⛔ ==> [PanoVideoPluginController]:", e);
|
|
33292
33296
|
}
|
|
33293
33297
|
}
|
|
33294
|
-
const
|
|
33298
|
+
const Ux = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33295
33299
|
__proto__: null
|
|
33296
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
33300
|
+
}, Symbol.toStringTag, { value: "Module" })), Yx = (n) => new sk(n);
|
|
33297
33301
|
function cm(n) {
|
|
33298
33302
|
const t = /* @__PURE__ */ new Map();
|
|
33299
33303
|
return n.forEach((e) => e.pipes.forEach((i) => t.set(i.id, i))), Array.from(t.values());
|
|
@@ -33611,7 +33615,7 @@ class bk extends Sn {
|
|
|
33611
33615
|
}
|
|
33612
33616
|
}
|
|
33613
33617
|
const Tu = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
33614
|
-
let yk = class extends
|
|
33618
|
+
let yk = class extends Ai {
|
|
33615
33619
|
constructor(e) {
|
|
33616
33620
|
super(e);
|
|
33617
33621
|
// ==================== public properties ====================
|
|
@@ -33890,7 +33894,7 @@ let yk = class extends vi {
|
|
|
33890
33894
|
return e ? ok({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(Me) : this.pipeObjects;
|
|
33891
33895
|
}
|
|
33892
33896
|
};
|
|
33893
|
-
const
|
|
33897
|
+
const Zx = (n) => new yk(n), wk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMx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ax/Edn2uKDEd9BM8tbzxe98IraJJM7CBP98JjHFmR+3vqxOXzmmWceaKU337CxGhqCTUVolIGMabAnhGgUb71iahI7fFf7FIFCb3j/18voiuemdd/Mu/+uE1sQWfeX3MBuyzx5B39P/fRcr4dcAT9p5bxl4zhIgNqgnlRkILKuf1654tIUCk2oLJYbQpr0ZqRrGt30C1tk4FnyQYccray31B3s9UQviG104IUGmZ8mH5v+3qF2w51nn332TzHCsI7KJzEVm6akEVuPhLWGhUeM0CAjvkHmxCM+uCYPD2R0f2Ilt7lB4tMGZ3i7qPqfe+65P6j3X1y5du3aZ3rSefrGjRsvkNxpI80AeTGC0NgGoakvuFYrtvDjD11okBF6m3yjdfze9eM7sbPQIC8sg8detlPdP7XCy8ASOh6IC534Qf126Au6Aq7S+0P9jOJ/f/jhh7dfeeWVN1C4c+cOv5zoxsQgKD7O/OgIT3OLgrrkLAMR9EuQYsXLlWO5ePNMJ25s7Fhv8EIraduDDOJI7kfh6FT98M6Ka/GrLbE0/131X79+/YVXX331+tNPP32b3nt1tGhXP/rooz/ruf9N/YzWQ/2e2c8Cfg7Wz8RC9WkeE8pj/rQltMRH/jXdsdreAEp04mg8u22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==";
|
|
33894
33898
|
function Ck(n) {
|
|
33895
33899
|
ge(n, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1s88cj8{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1s88cj8{font-size:0.625rem}");
|
|
33896
33900
|
}
|
|
@@ -33910,7 +33914,7 @@ function Lu(n) {
|
|
|
33910
33914
|
},
|
|
33911
33915
|
m(a, l) {
|
|
33912
33916
|
B(a, t, l), L(t, e), B(a, i, l), B(a, s, l), o || (r = Ae(t, "click", function() {
|
|
33913
|
-
|
|
33917
|
+
si(
|
|
33914
33918
|
/*onClick*/
|
|
33915
33919
|
n[4]
|
|
33916
33920
|
) && n[4].apply(this, arguments);
|
|
@@ -34003,7 +34007,7 @@ function Pk(n) {
|
|
|
34003
34007
|
function Ik(n, t, e) {
|
|
34004
34008
|
let i, { content: s } = t, { visible: o = !0 } = t, { opacity: r = 1 } = t, { zIndex: a = 0 } = t, { transform: l = void 0 } = t, { onClick: c = () => {
|
|
34005
34009
|
} } = t, { rendererIfNeed: h = void 0 } = t, { rendererData: u = void 0 } = t, f, g;
|
|
34006
|
-
|
|
34010
|
+
Mt(() => {
|
|
34007
34011
|
f && typeof h == "function" && (g = h(f, u));
|
|
34008
34012
|
}), Bt(() => {
|
|
34009
34013
|
g == null || g();
|
|
@@ -34110,7 +34114,7 @@ class Mk {
|
|
|
34110
34114
|
/** 标注标签的显示层级 */
|
|
34111
34115
|
d(this, "tagZIndex", 0);
|
|
34112
34116
|
/** 标注实例的事件处理器 */
|
|
34113
|
-
d(this, "hooks", new
|
|
34117
|
+
d(this, "hooks", new wt());
|
|
34114
34118
|
/** 自定义 Dom */
|
|
34115
34119
|
d(this, "itemRenderer");
|
|
34116
34120
|
/** 数据 */
|
|
@@ -34319,7 +34323,7 @@ function Ha(n, t) {
|
|
|
34319
34323
|
const e = new w.Matrix4(), i = new w.Matrix4().makeRotationX(Math.PI / 2), s = new w.Matrix4().makeTranslation(0, 0, -t), o = new w.Matrix4().makeScale(1, 1, -1);
|
|
34320
34324
|
e.multiply(i), e.multiply(s), e.multiply(o), n.applyMatrix4(e);
|
|
34321
34325
|
}
|
|
34322
|
-
let xk = class extends
|
|
34326
|
+
let xk = class extends Ai {
|
|
34323
34327
|
/** AreaMakerPlugin
|
|
34324
34328
|
* @param `five` `<Five>` Five 实例
|
|
34325
34329
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -34593,8 +34597,8 @@ let xk = class extends vi {
|
|
|
34593
34597
|
});
|
|
34594
34598
|
}
|
|
34595
34599
|
};
|
|
34596
|
-
const
|
|
34597
|
-
class Dk extends
|
|
34600
|
+
const qx = (n, t) => new xk(n, t);
|
|
34601
|
+
class Dk extends zi {
|
|
34598
34602
|
constructor(e, i) {
|
|
34599
34603
|
super(e);
|
|
34600
34604
|
// ==================== public properties ====================
|
|
@@ -34820,7 +34824,7 @@ class Dk extends rn {
|
|
|
34820
34824
|
this.hooks.emit("hide", e), this.updateMeshVisible(), this.five.needsRender = !0;
|
|
34821
34825
|
}
|
|
34822
34826
|
}
|
|
34823
|
-
const
|
|
34827
|
+
const Kx = (n, t) => new Dk(n, t), Sk = {
|
|
34824
34828
|
auto: "",
|
|
34825
34829
|
pen: "",
|
|
34826
34830
|
"pen-forbidden": "",
|
|
@@ -34969,7 +34973,7 @@ const Ws = {
|
|
|
34969
34973
|
"[": 219,
|
|
34970
34974
|
"]": 221,
|
|
34971
34975
|
"\\": 220
|
|
34972
|
-
},
|
|
34976
|
+
}, ni = {
|
|
34973
34977
|
// shiftKey
|
|
34974
34978
|
"⇧": 16,
|
|
34975
34979
|
shift: 16,
|
|
@@ -35003,7 +35007,7 @@ const Ws = {
|
|
|
35003
35007
|
for (let n = 1; n < 20; n++)
|
|
35004
35008
|
Ws["f".concat(n)] = 111 + n;
|
|
35005
35009
|
let Ge = [], Rs = null, mm = "all";
|
|
35006
|
-
const
|
|
35010
|
+
const hi = /* @__PURE__ */ new Map(), $s = (n) => Ws[n.toLowerCase()] || ni[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), zk = (n) => Object.keys(Ws).find((t) => Ws[t] === n), Ok = (n) => Object.keys(ni).find((t) => ni[t] === n);
|
|
35007
35011
|
function pm(n) {
|
|
35008
35012
|
mm = n || "all";
|
|
35009
35013
|
}
|
|
@@ -35065,8 +35069,8 @@ function Fk(n) {
|
|
|
35065
35069
|
const e = Ge.indexOf(t);
|
|
35066
35070
|
if (e >= 0 && Ge.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && Ge.splice(0, Ge.length), (t === 93 || t === 224) && (t = 91), t in ht) {
|
|
35067
35071
|
ht[t] = !1;
|
|
35068
|
-
for (const i in
|
|
35069
|
-
|
|
35072
|
+
for (const i in ni)
|
|
35073
|
+
ni[i] === t && (ut[i] = !1);
|
|
35070
35074
|
}
|
|
35071
35075
|
}
|
|
35072
35076
|
function Am(n) {
|
|
@@ -35104,7 +35108,7 @@ const Vo = (n) => {
|
|
|
35104
35108
|
if (!We[h])
|
|
35105
35109
|
return;
|
|
35106
35110
|
e || (e = Us());
|
|
35107
|
-
const u = l > 1 ? fm(
|
|
35111
|
+
const u = l > 1 ? fm(ni, a) : [], f = [];
|
|
35108
35112
|
We[h] = We[h].filter((g) => {
|
|
35109
35113
|
const p = (i ? g.method === i : !0) && g.scope === e && jk(g.mods, u);
|
|
35110
35114
|
return p && f.push(g.element), !p;
|
|
@@ -35132,8 +35136,8 @@ function Ou(n, t) {
|
|
|
35132
35136
|
n[a] && Ge.indexOf(l) === -1 ? Ge.push(l) : !n[a] && Ge.indexOf(l) > -1 ? Ge.splice(Ge.indexOf(l), 1) : a === "metaKey" && n[a] && Ge.length === 3 && (n.ctrlKey || n.shiftKey || n.altKey || (Ge = Ge.slice(Ge.indexOf(l))));
|
|
35133
35137
|
}), i in ht) {
|
|
35134
35138
|
ht[i] = !0;
|
|
35135
|
-
for (const a in
|
|
35136
|
-
|
|
35139
|
+
for (const a in ni)
|
|
35140
|
+
ni[a] === i && (ut[a] = !0);
|
|
35137
35141
|
if (!e)
|
|
35138
35142
|
return;
|
|
35139
35143
|
}
|
|
@@ -35162,7 +35166,7 @@ function ut(n, t, e) {
|
|
|
35162
35166
|
const i = gm(n);
|
|
35163
35167
|
let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
|
|
35164
35168
|
for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && Am(n, o); a < i.length; a++)
|
|
35165
|
-
n = i[a].split(h), s = [], n.length > 1 && (s = fm(
|
|
35169
|
+
n = i[a].split(h), s = [], n.length > 1 && (s = fm(ni, n)), n = n[n.length - 1], n = n === "*" ? "*" : $s(n), n in We || (We[n] = []), We[n].push({
|
|
35166
35170
|
keyup: l,
|
|
35167
35171
|
keydown: c,
|
|
35168
35172
|
scope: o,
|
|
@@ -35174,7 +35178,7 @@ function ut(n, t, e) {
|
|
|
35174
35178
|
element: r
|
|
35175
35179
|
});
|
|
35176
35180
|
if (typeof r != "undefined" && window) {
|
|
35177
|
-
if (!
|
|
35181
|
+
if (!hi.has(r)) {
|
|
35178
35182
|
const g = function() {
|
|
35179
35183
|
let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
|
|
35180
35184
|
return Ou(p, r);
|
|
@@ -35182,7 +35186,7 @@ function ut(n, t, e) {
|
|
|
35182
35186
|
let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
|
|
35183
35187
|
Ou(p, r), Fk(p);
|
|
35184
35188
|
};
|
|
35185
|
-
|
|
35189
|
+
hi.set(r, {
|
|
35186
35190
|
keydownListener: g,
|
|
35187
35191
|
keyupListenr: A,
|
|
35188
35192
|
capture: u
|
|
@@ -35219,17 +35223,17 @@ function ic(n) {
|
|
|
35219
35223
|
keydownListener: i,
|
|
35220
35224
|
keyupListenr: s,
|
|
35221
35225
|
capture: o
|
|
35222
|
-
} =
|
|
35223
|
-
i && s && (Ms(n, "keyup", s, o), Ms(n, "keydown", i, o),
|
|
35226
|
+
} = hi.get(n) || {};
|
|
35227
|
+
i && s && (Ms(n, "keyup", s, o), Ms(n, "keydown", i, o), hi.delete(n));
|
|
35224
35228
|
}
|
|
35225
|
-
if ((t.length <= 0 ||
|
|
35229
|
+
if ((t.length <= 0 || hi.size <= 0) && (Object.keys(hi).forEach((s) => {
|
|
35226
35230
|
const {
|
|
35227
35231
|
keydownListener: o,
|
|
35228
35232
|
keyupListenr: r,
|
|
35229
35233
|
capture: a
|
|
35230
|
-
} =
|
|
35231
|
-
o && r && (Ms(s, "keyup", r, a), Ms(s, "keydown", o, a),
|
|
35232
|
-
}),
|
|
35234
|
+
} = hi.get(s) || {};
|
|
35235
|
+
o && r && (Ms(s, "keyup", r, a), Ms(s, "keydown", o, a), hi.delete(s));
|
|
35236
|
+
}), hi.clear(), Object.keys(We).forEach((s) => delete We[s]), Rs)) {
|
|
35233
35237
|
const {
|
|
35234
35238
|
listener: s,
|
|
35235
35239
|
capture: o
|
|
@@ -35249,7 +35253,7 @@ const Fa = {
|
|
|
35249
35253
|
trigger: Qk,
|
|
35250
35254
|
unbind: Am,
|
|
35251
35255
|
keyMap: Ws,
|
|
35252
|
-
modifier:
|
|
35256
|
+
modifier: ni,
|
|
35253
35257
|
modifierMap: ul
|
|
35254
35258
|
};
|
|
35255
35259
|
for (const n in Fa)
|
|
@@ -35519,6 +35523,12 @@ class cr extends vm {
|
|
|
35519
35523
|
d(this, "name", "PolylineWithDotsMesh");
|
|
35520
35524
|
}
|
|
35521
35525
|
}
|
|
35526
|
+
function Zk(n, t) {
|
|
35527
|
+
const e = mi(t);
|
|
35528
|
+
n.updateMatrixWorld();
|
|
35529
|
+
const i = e.map((s) => n.localToWorld(s.clone()));
|
|
35530
|
+
return Array.isArray(t) ? i : i[0];
|
|
35531
|
+
}
|
|
35522
35532
|
const Nu = /* @__PURE__ */ new Map();
|
|
35523
35533
|
class Oi extends Lt {
|
|
35524
35534
|
constructor(e, i) {
|
|
@@ -35583,10 +35593,7 @@ class Oi extends Lt {
|
|
|
35583
35593
|
unhighlight() {
|
|
35584
35594
|
}
|
|
35585
35595
|
applyObjectMatrixWorld(e) {
|
|
35586
|
-
|
|
35587
|
-
this.updateMatrixWorld();
|
|
35588
|
-
const s = i.map((o) => this.localToWorld(o.clone()));
|
|
35589
|
-
return Array.isArray(e) ? s : s[0];
|
|
35596
|
+
return Zk(this, e);
|
|
35590
35597
|
}
|
|
35591
35598
|
applyObjectQuaternion(e) {
|
|
35592
35599
|
const i = this.quaternion.clone();
|
|
@@ -35655,7 +35662,7 @@ class bm extends nc {
|
|
|
35655
35662
|
super.disable(), this.removeChildren();
|
|
35656
35663
|
}
|
|
35657
35664
|
}
|
|
35658
|
-
class
|
|
35665
|
+
class Jk extends bm {
|
|
35659
35666
|
constructor(e) {
|
|
35660
35667
|
super(e);
|
|
35661
35668
|
d(this, "onDrag", (e) => {
|
|
@@ -35677,7 +35684,7 @@ class Gu extends Oi {
|
|
|
35677
35684
|
super(e, i);
|
|
35678
35685
|
d(this, "type", "Polyline");
|
|
35679
35686
|
d(this, "polyLineMesh");
|
|
35680
|
-
e && (this.polyLineMesh = new cr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new
|
|
35687
|
+
e && (this.polyLineMesh = new cr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new Jk(this), ut("esc", () => {
|
|
35681
35688
|
this.stopCreating();
|
|
35682
35689
|
});
|
|
35683
35690
|
}
|
|
@@ -35703,11 +35710,11 @@ class Gu extends Oi {
|
|
|
35703
35710
|
return G(this, null, function* () {
|
|
35704
35711
|
this.removeChildren();
|
|
35705
35712
|
const i = new cr(e);
|
|
35706
|
-
this.polyLineMesh = i, this.add(this.polyLineMesh), yield
|
|
35713
|
+
this.polyLineMesh = i, this.add(this.polyLineMesh), yield qk(i, this.pointSelector), this.editor.enable();
|
|
35707
35714
|
});
|
|
35708
35715
|
}
|
|
35709
35716
|
}
|
|
35710
|
-
function
|
|
35717
|
+
function qk(n, t) {
|
|
35711
35718
|
const e = n.parent;
|
|
35712
35719
|
if (!e)
|
|
35713
35720
|
return;
|
|
@@ -35730,7 +35737,7 @@ function Jk(n, t) {
|
|
|
35730
35737
|
});
|
|
35731
35738
|
});
|
|
35732
35739
|
}
|
|
35733
|
-
class
|
|
35740
|
+
class Kk extends nc {
|
|
35734
35741
|
constructor(e) {
|
|
35735
35742
|
super(e);
|
|
35736
35743
|
d(this, "onDrag", (e) => {
|
|
@@ -35751,7 +35758,7 @@ class Fu extends Oi {
|
|
|
35751
35758
|
super(e, i);
|
|
35752
35759
|
d(this, "type", "Point");
|
|
35753
35760
|
d(this, "pointMesh");
|
|
35754
|
-
this.editor = new
|
|
35761
|
+
this.editor = new Kk(this), e && (this.pointMesh = new Ys(D(D({}, e.style), e)), this.add(this.pointMesh)), ut("esc", () => {
|
|
35755
35762
|
this.stopCreating();
|
|
35756
35763
|
});
|
|
35757
35764
|
}
|
|
@@ -35785,11 +35792,11 @@ class Fu extends Oi {
|
|
|
35785
35792
|
*/
|
|
35786
35793
|
create(e) {
|
|
35787
35794
|
return G(this, null, function* () {
|
|
35788
|
-
this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Ys(e)), yield
|
|
35795
|
+
this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Ys(e)), yield $k(this.pointMesh, this.pointSelector), this.editor.enable();
|
|
35789
35796
|
});
|
|
35790
35797
|
}
|
|
35791
35798
|
}
|
|
35792
|
-
function
|
|
35799
|
+
function $k(n, t) {
|
|
35793
35800
|
return new Promise((e, i) => {
|
|
35794
35801
|
t.enable();
|
|
35795
35802
|
const s = (o) => {
|
|
@@ -35923,7 +35930,7 @@ class Qu extends dr {
|
|
|
35923
35930
|
d(this, "name", "AreaMesh");
|
|
35924
35931
|
}
|
|
35925
35932
|
}
|
|
35926
|
-
class
|
|
35933
|
+
class e3 extends bm {
|
|
35927
35934
|
constructor(e) {
|
|
35928
35935
|
super(e);
|
|
35929
35936
|
d(this, "onDrag", (e) => {
|
|
@@ -35942,7 +35949,7 @@ class _u extends Oi {
|
|
|
35942
35949
|
super(e, i);
|
|
35943
35950
|
d(this, "type", "Polygon");
|
|
35944
35951
|
d(this, "areaMesh");
|
|
35945
|
-
this.editor = new
|
|
35952
|
+
this.editor = new e3(this), e && (this.areaMesh = new Qu(D(D({}, e.style), e)), this.add(this.areaMesh)), ut("esc", () => {
|
|
35946
35953
|
this.stopCreating();
|
|
35947
35954
|
});
|
|
35948
35955
|
}
|
|
@@ -36085,7 +36092,7 @@ class ur extends Lt {
|
|
|
36085
36092
|
});
|
|
36086
36093
|
}
|
|
36087
36094
|
}
|
|
36088
|
-
class
|
|
36095
|
+
class t3 extends eo {
|
|
36089
36096
|
constructor(t) {
|
|
36090
36097
|
super(t, () => {
|
|
36091
36098
|
const e = () => {
|
|
@@ -36129,7 +36136,7 @@ class Wu extends Oi {
|
|
|
36129
36136
|
super(e, i);
|
|
36130
36137
|
d(this, "type", "Prism");
|
|
36131
36138
|
d(this, "prismMesh");
|
|
36132
|
-
this.editor = new
|
|
36139
|
+
this.editor = new t3(this), e && (this.prismMesh = new ur(D(D({}, e.style), e)), this.add(this.prismMesh)), ut("esc", () => {
|
|
36133
36140
|
this.stopCreating();
|
|
36134
36141
|
});
|
|
36135
36142
|
}
|
|
@@ -36154,11 +36161,11 @@ class Wu extends Oi {
|
|
|
36154
36161
|
}
|
|
36155
36162
|
create(e) {
|
|
36156
36163
|
return G(this, null, function* () {
|
|
36157
|
-
this.prismMesh = new ur(e), this.add(this.prismMesh), yield
|
|
36164
|
+
this.prismMesh = new ur(e), this.add(this.prismMesh), yield i3(this.prismMesh, this.pointSelector), this.editor.enable();
|
|
36158
36165
|
});
|
|
36159
36166
|
}
|
|
36160
36167
|
}
|
|
36161
|
-
function
|
|
36168
|
+
function i3(n, t) {
|
|
36162
36169
|
return G(this, null, function* () {
|
|
36163
36170
|
const e = n.parent;
|
|
36164
36171
|
yield ym(n.bottomPolygon, t);
|
|
@@ -36186,12 +36193,12 @@ function t3(n, t) {
|
|
|
36186
36193
|
});
|
|
36187
36194
|
});
|
|
36188
36195
|
}
|
|
36189
|
-
class
|
|
36196
|
+
class n3 extends eo {
|
|
36190
36197
|
constructor(t) {
|
|
36191
36198
|
super(t, () => ({ yAxis: t.rectangleMesh.up }));
|
|
36192
36199
|
}
|
|
36193
36200
|
}
|
|
36194
|
-
class
|
|
36201
|
+
class s3 extends w.BufferGeometry {
|
|
36195
36202
|
constructor(e) {
|
|
36196
36203
|
super();
|
|
36197
36204
|
d(this, "name", "RectangleGeometry");
|
|
@@ -36203,7 +36210,7 @@ class n3 extends w.BufferGeometry {
|
|
|
36203
36210
|
this.points = e.slice(0, 4), this.setAttribute("position", new w.BufferAttribute(new Float32Array(this.points.flatMap((i) => i.toArray())), 3)), this.setIndex(new w.BufferAttribute(new Uint16Array([0, 1, 2, 0, 1, 3]), 1));
|
|
36204
36211
|
}
|
|
36205
36212
|
}
|
|
36206
|
-
function
|
|
36213
|
+
function o3(n, t) {
|
|
36207
36214
|
const i = new w.Plane().setFromCoplanarPoints(n[0], n[1], n[2]).projectPoint(t, new w.Vector3());
|
|
36208
36215
|
return new w.Vector3().subVectors(t, i).normalize();
|
|
36209
36216
|
}
|
|
@@ -36235,7 +36242,7 @@ class wm extends hr {
|
|
|
36235
36242
|
const [s, o, r] = i, a = new w.Vector3().addVectors(s, o).sub(r);
|
|
36236
36243
|
i.push(a);
|
|
36237
36244
|
}
|
|
36238
|
-
this.up.copy(
|
|
36245
|
+
this.up.copy(o3(i, $e.modules.five.camera.position)), this.points = i, this.geometry = new s3(i), this.planeHelperNeedUpdate = !0;
|
|
36239
36246
|
}
|
|
36240
36247
|
}
|
|
36241
36248
|
class Vs extends wm {
|
|
@@ -36273,7 +36280,7 @@ class Uu extends Oi {
|
|
|
36273
36280
|
super(e, i);
|
|
36274
36281
|
d(this, "type", "Rectangle");
|
|
36275
36282
|
d(this, "rectangleMesh");
|
|
36276
|
-
this.config.canEdit && (this.editor = new
|
|
36283
|
+
this.config.canEdit && (this.editor = new n3(this)), e && (this.rectangleMesh = new Vs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), ut("esc", () => {
|
|
36277
36284
|
this.stopCreating();
|
|
36278
36285
|
});
|
|
36279
36286
|
}
|
|
@@ -36334,7 +36341,7 @@ function Cm(n, t) {
|
|
|
36334
36341
|
t.on("select", h), t.on("intersectionUpdate", u), t.on("disable", g);
|
|
36335
36342
|
});
|
|
36336
36343
|
}
|
|
36337
|
-
class
|
|
36344
|
+
class r3 extends eo {
|
|
36338
36345
|
constructor(t) {
|
|
36339
36346
|
super(t, () => ({ yAxis: t.circleMesh.normal }));
|
|
36340
36347
|
}
|
|
@@ -36342,7 +36349,7 @@ class o3 extends eo {
|
|
|
36342
36349
|
function Pm(n) {
|
|
36343
36350
|
return Math.max(32, Math.min(128, Math.floor(n * 40)));
|
|
36344
36351
|
}
|
|
36345
|
-
class
|
|
36352
|
+
class a3 extends sc {
|
|
36346
36353
|
constructor(e) {
|
|
36347
36354
|
super(e);
|
|
36348
36355
|
d(this, "_normal");
|
|
@@ -36373,7 +36380,7 @@ class r3 extends sc {
|
|
|
36373
36380
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
36374
36381
|
}
|
|
36375
36382
|
}
|
|
36376
|
-
class fr extends
|
|
36383
|
+
class fr extends a3 {
|
|
36377
36384
|
constructor(e) {
|
|
36378
36385
|
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = vn(a, ["normal", "radius", "center"]);
|
|
36379
36386
|
super(r);
|
|
@@ -36400,7 +36407,7 @@ class Yu extends Oi {
|
|
|
36400
36407
|
super(e, i);
|
|
36401
36408
|
d(this, "type", "Circle");
|
|
36402
36409
|
d(this, "circleMesh");
|
|
36403
|
-
this.editor = new
|
|
36410
|
+
this.editor = new r3(this), e && (this.circleMesh = new fr(D(D({}, e.style), e)), this.add(this.circleMesh)), ut("esc", () => {
|
|
36404
36411
|
this.stopCreating();
|
|
36405
36412
|
});
|
|
36406
36413
|
}
|
|
@@ -36529,7 +36536,7 @@ class Xu extends Lt {
|
|
|
36529
36536
|
this.edgeMesh.position.copy(new w.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
|
|
36530
36537
|
}
|
|
36531
36538
|
}
|
|
36532
|
-
class
|
|
36539
|
+
class l3 extends eo {
|
|
36533
36540
|
constructor(t) {
|
|
36534
36541
|
super(t, () => {
|
|
36535
36542
|
const e = () => {
|
|
@@ -36570,7 +36577,7 @@ class Zu extends Oi {
|
|
|
36570
36577
|
super(e, i);
|
|
36571
36578
|
d(this, "type", "Cylinder");
|
|
36572
36579
|
d(this, "cylinderMesh");
|
|
36573
|
-
this.editor = new
|
|
36580
|
+
this.editor = new l3(this), e && (this.cylinderMesh = new Xu(D(D({}, e.style), e)), this.add(this.cylinderMesh));
|
|
36574
36581
|
}
|
|
36575
36582
|
get data() {
|
|
36576
36583
|
return se(D({}, this.baseData), {
|
|
@@ -36592,11 +36599,11 @@ class Zu extends Oi {
|
|
|
36592
36599
|
}
|
|
36593
36600
|
create(e) {
|
|
36594
36601
|
return G(this, null, function* () {
|
|
36595
|
-
this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield
|
|
36602
|
+
this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield c3(this.cylinderMesh, this.pointSelector), this.editor.enable();
|
|
36596
36603
|
});
|
|
36597
36604
|
}
|
|
36598
36605
|
}
|
|
36599
|
-
function
|
|
36606
|
+
function c3(n, t) {
|
|
36600
36607
|
return G(this, null, function* () {
|
|
36601
36608
|
const e = n.parent;
|
|
36602
36609
|
yield Im(n.bottomCircle, t);
|
|
@@ -36624,7 +36631,7 @@ function l3(n, t) {
|
|
|
36624
36631
|
});
|
|
36625
36632
|
});
|
|
36626
36633
|
}
|
|
36627
|
-
class
|
|
36634
|
+
class h3 extends eo {
|
|
36628
36635
|
constructor(t) {
|
|
36629
36636
|
super(t, () => {
|
|
36630
36637
|
const e = () => {
|
|
@@ -36739,7 +36746,7 @@ class qu extends Oi {
|
|
|
36739
36746
|
super(e, i);
|
|
36740
36747
|
d(this, "type", "Box");
|
|
36741
36748
|
d(this, "boxMesh");
|
|
36742
|
-
this.editor = new
|
|
36749
|
+
this.editor = new h3(this), e && (this.boxMesh = new Ju(D(D({}, e.style), e)), this.add(this.boxMesh)), ut("esc", () => {
|
|
36743
36750
|
this.stopCreating();
|
|
36744
36751
|
});
|
|
36745
36752
|
}
|
|
@@ -36764,11 +36771,11 @@ class qu extends Oi {
|
|
|
36764
36771
|
}
|
|
36765
36772
|
create(e) {
|
|
36766
36773
|
return G(this, null, function* () {
|
|
36767
|
-
this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield
|
|
36774
|
+
this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield d3(this.boxMesh, this.pointSelector), this.editor.enable();
|
|
36768
36775
|
});
|
|
36769
36776
|
}
|
|
36770
36777
|
}
|
|
36771
|
-
function
|
|
36778
|
+
function d3(n, t) {
|
|
36772
36779
|
return G(this, null, function* () {
|
|
36773
36780
|
return yield Cm(n.bottomPlane, t), new Promise((e, i) => {
|
|
36774
36781
|
const s = n.parent;
|
|
@@ -36798,11 +36805,11 @@ function h3(n, t) {
|
|
|
36798
36805
|
});
|
|
36799
36806
|
});
|
|
36800
36807
|
}
|
|
36801
|
-
function
|
|
36808
|
+
function u3(n, t) {
|
|
36802
36809
|
for (let e = n.length - 1; e >= 0; e--)
|
|
36803
36810
|
t(n[e]);
|
|
36804
36811
|
}
|
|
36805
|
-
const Tn = class extends
|
|
36812
|
+
const Tn = class extends wt {
|
|
36806
36813
|
constructor(e, i) {
|
|
36807
36814
|
super();
|
|
36808
36815
|
d(this, "group");
|
|
@@ -36944,7 +36951,7 @@ const Tn = class extends ii {
|
|
|
36944
36951
|
* @description: 清空数据
|
|
36945
36952
|
*/
|
|
36946
36953
|
clear() {
|
|
36947
|
-
|
|
36954
|
+
u3(this.items, (e) => e.delete()), this.five.needsRender = !0;
|
|
36948
36955
|
}
|
|
36949
36956
|
createItem(e, ...i) {
|
|
36950
36957
|
return G(this, null, function* () {
|
|
@@ -36957,43 +36964,44 @@ const Tn = class extends ii {
|
|
|
36957
36964
|
};
|
|
36958
36965
|
let $e = Tn;
|
|
36959
36966
|
d($e, "modules", dm);
|
|
36960
|
-
const
|
|
36961
|
-
function
|
|
36967
|
+
const $x = (n) => new $e(n);
|
|
36968
|
+
function f3(n, ...t) {
|
|
36962
36969
|
t.forEach((e) => {
|
|
36963
36970
|
n.children.includes(e) || e && n.add(e);
|
|
36964
36971
|
});
|
|
36965
36972
|
}
|
|
36966
|
-
function
|
|
36973
|
+
function g3(n, t) {
|
|
36967
36974
|
const { x: e, y: i, z: s } = t.clone().project(n);
|
|
36968
36975
|
return s > 1 ? void 0 : { leftPercent: (e + 1) / 2 * 100, topPercent: (-i + 1) / 2 * 100 };
|
|
36969
36976
|
}
|
|
36970
36977
|
const Ku = "LightTagContainer_shgjakdhwakjdhsja";
|
|
36971
|
-
class
|
|
36978
|
+
class m3 {
|
|
36972
36979
|
constructor(t, e, i) {
|
|
36973
36980
|
d(this, "container");
|
|
36974
36981
|
d(this, "visible", !1);
|
|
36975
36982
|
d(this, "enabled", !1);
|
|
36976
36983
|
d(this, "wrapper");
|
|
36977
36984
|
d(this, "five");
|
|
36978
|
-
d(this, "
|
|
36985
|
+
d(this, "originPosition");
|
|
36986
|
+
d(this, "transformedPosition");
|
|
36979
36987
|
d(this, "disposer");
|
|
36980
36988
|
d(this, "config");
|
|
36981
36989
|
d(this, "onCameraUpdate", () => {
|
|
36982
36990
|
if (this.visible === !1)
|
|
36983
36991
|
return;
|
|
36984
|
-
const t =
|
|
36992
|
+
const t = g3(this.five.camera, this.transformedPosition);
|
|
36985
36993
|
t ? (this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
|
|
36986
36994
|
});
|
|
36987
36995
|
d(this, "onFiveEveryReady", () => {
|
|
36988
36996
|
var t;
|
|
36989
36997
|
if (this.visible && this.five.state.mode !== "Panorama") {
|
|
36990
36998
|
const e = new w.Raycaster();
|
|
36991
|
-
e.set(this.five.camera.position, this.
|
|
36999
|
+
e.set(this.five.camera.position, this.transformedPosition.clone().sub(this.five.camera.position));
|
|
36992
37000
|
const i = (t = this.five.model.intersectRaycaster(e)) == null ? void 0 : t[0];
|
|
36993
|
-
(i == null ? void 0 : i.distance) > this.
|
|
37001
|
+
(i == null ? void 0 : i.distance) > this.transformedPosition.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
|
|
36994
37002
|
}
|
|
36995
37003
|
});
|
|
36996
|
-
this.five = t, this.
|
|
37004
|
+
this.five = t, this.originPosition = Be(e).clone(), this.transformedPosition = this.originPosition.clone(), this.container = (() => {
|
|
36997
37005
|
const s = document.createElement("div");
|
|
36998
37006
|
return s.style.width = "0", s.style.height = "0", s.style.position = "absolute", s;
|
|
36999
37007
|
})(), this.config = i, this.enable(), this.show();
|
|
@@ -37026,18 +37034,21 @@ class g3 {
|
|
|
37026
37034
|
var t;
|
|
37027
37035
|
this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (t = this.disposer) == null || t.call(this));
|
|
37028
37036
|
}
|
|
37037
|
+
setTransformMatrix(t) {
|
|
37038
|
+
this.transformedPosition = this.originPosition.clone().applyMatrix4(t), this.onCameraUpdate();
|
|
37039
|
+
}
|
|
37029
37040
|
}
|
|
37030
|
-
function
|
|
37031
|
-
return new
|
|
37041
|
+
function p3(n, t, e) {
|
|
37042
|
+
return new m3(n, t, e);
|
|
37032
37043
|
}
|
|
37033
37044
|
let Ho;
|
|
37034
37045
|
const Em = (n) => ((!Ho || n !== Ho.five) && (Ho = {
|
|
37035
37046
|
instance: new Ql(n, { noEmitWhenHide: !0 }),
|
|
37036
37047
|
five: n
|
|
37037
37048
|
}), Ho.instance);
|
|
37038
|
-
class Mm extends
|
|
37049
|
+
class Mm extends wt {
|
|
37039
37050
|
constructor(e) {
|
|
37040
|
-
var s, o
|
|
37051
|
+
var s, o;
|
|
37041
37052
|
super();
|
|
37042
37053
|
d(this, "type");
|
|
37043
37054
|
d(this, "tag");
|
|
@@ -37047,8 +37058,8 @@ class Mm extends ii {
|
|
|
37047
37058
|
d(this, "group");
|
|
37048
37059
|
d(this, "fiveDomEvents");
|
|
37049
37060
|
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = Em(this.five);
|
|
37050
|
-
const i = (
|
|
37051
|
-
this.tag =
|
|
37061
|
+
const i = (o = (s = e.position) != null ? s : this.model.center) != null ? o : Js(this.model).getCenter(new w.Vector3());
|
|
37062
|
+
this.tag = p3(this.five, i, { wrapper: e.tagWrapper });
|
|
37052
37063
|
}
|
|
37053
37064
|
get container() {
|
|
37054
37065
|
return this.tag.container;
|
|
@@ -37066,7 +37077,7 @@ class Mm extends ii {
|
|
|
37066
37077
|
this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
|
|
37067
37078
|
}
|
|
37068
37079
|
enable() {
|
|
37069
|
-
|
|
37080
|
+
f3(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
|
|
37070
37081
|
const e = this.onClick.bind(this);
|
|
37071
37082
|
this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
|
|
37072
37083
|
}
|
|
@@ -37098,12 +37109,12 @@ class km extends Mm {
|
|
|
37098
37109
|
return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
|
|
37099
37110
|
}
|
|
37100
37111
|
}
|
|
37101
|
-
class
|
|
37112
|
+
class A3 extends km {
|
|
37102
37113
|
constructor(...t) {
|
|
37103
37114
|
super(...t);
|
|
37104
37115
|
}
|
|
37105
37116
|
}
|
|
37106
|
-
function
|
|
37117
|
+
function v3(n) {
|
|
37107
37118
|
ge(n, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
37108
37119
|
}
|
|
37109
37120
|
function $u(n) {
|
|
@@ -37131,7 +37142,7 @@ function $u(n) {
|
|
|
37131
37142
|
}
|
|
37132
37143
|
};
|
|
37133
37144
|
}
|
|
37134
|
-
function
|
|
37145
|
+
function b3(n) {
|
|
37135
37146
|
let t, e = (
|
|
37136
37147
|
/*text*/
|
|
37137
37148
|
n[0] && $u(n)
|
|
@@ -37154,43 +37165,43 @@ function v3(n) {
|
|
|
37154
37165
|
}
|
|
37155
37166
|
};
|
|
37156
37167
|
}
|
|
37157
|
-
function
|
|
37168
|
+
function y3(n, t, e) {
|
|
37158
37169
|
let { text: i } = t;
|
|
37159
37170
|
return n.$$set = (s) => {
|
|
37160
37171
|
"text" in s && e(0, i = s.text);
|
|
37161
37172
|
}, [i];
|
|
37162
37173
|
}
|
|
37163
|
-
class
|
|
37174
|
+
class w3 extends ce {
|
|
37164
37175
|
constructor(t) {
|
|
37165
|
-
super(), le(this, t,
|
|
37176
|
+
super(), le(this, t, y3, b3, ae, { text: 0 }, v3);
|
|
37166
37177
|
}
|
|
37167
37178
|
}
|
|
37168
37179
|
const ef = (n, t) => {
|
|
37169
37180
|
var i;
|
|
37170
|
-
const e = new
|
|
37181
|
+
const e = new w3({
|
|
37171
37182
|
target: n,
|
|
37172
37183
|
props: { text: (i = t.rawData) == null ? void 0 : i.name }
|
|
37173
37184
|
});
|
|
37174
37185
|
return () => e.$destroy();
|
|
37175
|
-
},
|
|
37186
|
+
}, C3 = (n, t) => {
|
|
37176
37187
|
var i;
|
|
37177
37188
|
const e = new hm({
|
|
37178
37189
|
target: n,
|
|
37179
37190
|
props: { content: (i = t.rawData) == null ? void 0 : i.name }
|
|
37180
37191
|
});
|
|
37181
37192
|
return () => e.$destroy();
|
|
37182
|
-
},
|
|
37193
|
+
}, P3 = {
|
|
37183
37194
|
box: ef,
|
|
37184
37195
|
triangles: ef,
|
|
37185
|
-
prism:
|
|
37196
|
+
prism: C3
|
|
37186
37197
|
};
|
|
37187
|
-
class
|
|
37198
|
+
class I3 extends Mm {
|
|
37188
37199
|
constructor(...t) {
|
|
37189
37200
|
const e = t[0], i = Js(e.model), s = new w.Vector3().lerpVectors(_i(i, 0), _i(i, 5), 0.5);
|
|
37190
37201
|
super(se(D({}, e), { position: s })), this.enable();
|
|
37191
37202
|
}
|
|
37192
37203
|
}
|
|
37193
|
-
class
|
|
37204
|
+
class E3 extends Ai {
|
|
37194
37205
|
constructor(e, i) {
|
|
37195
37206
|
super(e);
|
|
37196
37207
|
d(this, "state");
|
|
@@ -37211,7 +37222,7 @@ class I3 extends vi {
|
|
|
37211
37222
|
d(this, "updateTagRenderer", () => {
|
|
37212
37223
|
this.items.forEach((e) => {
|
|
37213
37224
|
var s;
|
|
37214
|
-
const i = (s = this.tagRendererMap[e.type]) != null ? s :
|
|
37225
|
+
const i = (s = this.tagRendererMap[e.type]) != null ? s : P3[e.type];
|
|
37215
37226
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
|
|
37216
37227
|
});
|
|
37217
37228
|
});
|
|
@@ -37256,7 +37267,7 @@ class I3 extends vi {
|
|
|
37256
37267
|
lineColor: s.object_data.color,
|
|
37257
37268
|
occlusionVisibility: !1
|
|
37258
37269
|
});
|
|
37259
|
-
const h = new
|
|
37270
|
+
const h = new I3({
|
|
37260
37271
|
five: this.five,
|
|
37261
37272
|
tagWrapper: this.tagWrapper,
|
|
37262
37273
|
model: r,
|
|
@@ -37271,7 +37282,7 @@ class I3 extends vi {
|
|
|
37271
37282
|
points: [_i(k, 2), _i(k, 3), _i(k, 7), _i(k, 6)],
|
|
37272
37283
|
heightPoint: _i(k, 0)
|
|
37273
37284
|
}), r.position.copy(b), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37274
|
-
const E = new
|
|
37285
|
+
const E = new A3({
|
|
37275
37286
|
five: this.five,
|
|
37276
37287
|
tagWrapper: this.tagWrapper,
|
|
37277
37288
|
model: r,
|
|
@@ -37312,7 +37323,7 @@ class I3 extends vi {
|
|
|
37312
37323
|
this.hooks.emit("dispose"), this.handleDisable();
|
|
37313
37324
|
}
|
|
37314
37325
|
onWorkCodeChange() {
|
|
37315
|
-
this.group.matrix.copy(this.workUtil.transform.clone()), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale);
|
|
37326
|
+
this.group.matrix.copy(this.workUtil.transform.clone()), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld();
|
|
37316
37327
|
}
|
|
37317
37328
|
handleShow() {
|
|
37318
37329
|
this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
|
|
@@ -37321,76 +37332,76 @@ class I3 extends vi {
|
|
|
37321
37332
|
this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
|
|
37322
37333
|
}
|
|
37323
37334
|
}
|
|
37324
|
-
const
|
|
37335
|
+
const eD = (...n) => new E3(...n);
|
|
37325
37336
|
$m();
|
|
37326
37337
|
Km();
|
|
37327
37338
|
export {
|
|
37328
|
-
|
|
37339
|
+
qx as AreaMakerPlugin,
|
|
37329
37340
|
Ns as CSS3DRender,
|
|
37330
37341
|
Cf as CSS3DRenderPlugin,
|
|
37331
37342
|
lb as CameraMovementEffect,
|
|
37332
|
-
|
|
37343
|
+
hx as CameraMovementPlugin,
|
|
37333
37344
|
Nw as ContentType,
|
|
37334
|
-
|
|
37345
|
+
Fx as CruisePlugin,
|
|
37335
37346
|
Kl as CruisePluginController,
|
|
37336
|
-
|
|
37337
|
-
|
|
37347
|
+
Gx as CruisePluginTypes,
|
|
37348
|
+
Kx as CurrentPanoImagePlugin,
|
|
37338
37349
|
Ds as DIRECTION,
|
|
37339
37350
|
kn as DISPLAY_STRATEGY_TYPE,
|
|
37340
37351
|
Gw as DimensionType,
|
|
37341
37352
|
Yi as FLOOR_PLAN_ATTACHED_TO,
|
|
37342
|
-
|
|
37343
|
-
|
|
37344
|
-
|
|
37353
|
+
rx as FLOOR_TYPE_MAP,
|
|
37354
|
+
Hx as GuideLineItem,
|
|
37355
|
+
Rx as GuideLineModeItem,
|
|
37345
37356
|
rm as GuideLinePlugin,
|
|
37346
37357
|
xn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
37347
|
-
|
|
37358
|
+
kx as ItemLabelPlugin,
|
|
37348
37359
|
pl as Magnifier,
|
|
37349
|
-
|
|
37350
|
-
|
|
37351
|
-
|
|
37352
|
-
|
|
37353
|
-
|
|
37354
|
-
|
|
37355
|
-
|
|
37356
|
-
|
|
37357
|
-
|
|
37360
|
+
ex as MapviewFloorplanPlugin,
|
|
37361
|
+
lx as ModelChassisCompassPlugin,
|
|
37362
|
+
cx as ModelEntryDoorGuidePlugin,
|
|
37363
|
+
K3 as ModelFloorplanPlugin,
|
|
37364
|
+
Px as ModelItemLabelPlugin,
|
|
37365
|
+
eD as ModelMakerPlugin,
|
|
37366
|
+
_3 as ModelRoomLabelPlugin,
|
|
37367
|
+
Ex as ModelTVVideoPlugin,
|
|
37368
|
+
H3 as ModelViewPlugin,
|
|
37358
37369
|
nm as MoveController,
|
|
37359
|
-
|
|
37370
|
+
Qx as MovePlugin,
|
|
37360
37371
|
lm as Object3DHelperController,
|
|
37361
|
-
|
|
37372
|
+
Wx as Object3DHelperPlugin,
|
|
37362
37373
|
tc as PLUGIN,
|
|
37363
|
-
|
|
37364
|
-
|
|
37365
|
-
|
|
37366
|
-
|
|
37367
|
-
|
|
37368
|
-
|
|
37369
|
-
|
|
37370
|
-
|
|
37374
|
+
V3 as PaintBrush,
|
|
37375
|
+
Pi as PaintBrushTypeEnum,
|
|
37376
|
+
gx as PanoCompassPlugin,
|
|
37377
|
+
Q3 as PanoCursorRaycasterPlugin,
|
|
37378
|
+
Dx as PanoDoorLabelPlugin,
|
|
37379
|
+
sx as PanoFloorplanRadarPlugin,
|
|
37380
|
+
vx as PanoMeasurePlugin,
|
|
37381
|
+
xi as PanoMeasurePluginLine,
|
|
37371
37382
|
ug as PanoMeasurePluginModel,
|
|
37372
37383
|
zt as PanoMeasurePluginPoint,
|
|
37373
37384
|
Qn as PanoMeasurePluginPolyline,
|
|
37374
|
-
|
|
37375
|
-
|
|
37376
|
-
|
|
37377
|
-
|
|
37385
|
+
dx as PanoRulerPlugin,
|
|
37386
|
+
fx as PanoRulerProPlugin,
|
|
37387
|
+
yx as PanoSpatialTagPlugin,
|
|
37388
|
+
Bx as PanoTagPlugin,
|
|
37378
37389
|
al as PanoTagPluginController,
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37390
|
+
Yx as PanoVideoPlugin,
|
|
37391
|
+
Ux as PanoVideoPluginType,
|
|
37392
|
+
Zx as PipelinePlugin,
|
|
37382
37393
|
Hw as PointType,
|
|
37383
|
-
|
|
37384
|
-
|
|
37385
|
-
|
|
37394
|
+
ox as ROOM_FETILE_TYPE_MAP,
|
|
37395
|
+
ax as ROOM_TYPE_MAP,
|
|
37396
|
+
di as Rotation,
|
|
37386
37397
|
$e as Sculpt,
|
|
37387
|
-
|
|
37388
|
-
|
|
37389
|
-
|
|
37398
|
+
$x as SculptPlugin,
|
|
37399
|
+
ix as TopviewFloorplanPlugin,
|
|
37400
|
+
G3 as Util,
|
|
37390
37401
|
Kl as WalkController,
|
|
37391
37402
|
Vw as defaultGlobalConfig,
|
|
37392
|
-
|
|
37393
|
-
|
|
37394
|
-
|
|
37395
|
-
|
|
37403
|
+
xx as itemLabelPluginServerParams,
|
|
37404
|
+
Ix as modelItemLabelPluginServerParams,
|
|
37405
|
+
W3 as modelRoomLabelPluginServerParams,
|
|
37406
|
+
Ox as pluginFlag
|
|
37396
37407
|
};
|