@realsee/dnalogel 3.63.4-alpha.0 → 3.63.4-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MeasurePlugin/Controller.d.ts +1 -0
- package/dist/index.cjs.js +19 -19
- package/dist/index.js +228 -219
- package/dist/index.umd.js +18 -18
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +1 -0
- package/libs/MeasurePlugin/Controller.js +77 -68
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ import { LineGeometry as IA, LineMaterial as EA, THREE_Line2 as MA, Line as xA }
|
|
|
43
43
|
import { GLTFLoader as kA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function DA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.63.4-alpha.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.63.4-alpha.2",
|
|
47
47
|
[
|
|
48
48
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -597,7 +597,7 @@ let NA = class {
|
|
|
597
597
|
function Sn() {
|
|
598
598
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Dt() {
|
|
601
601
|
return (Sn() + Sn() + "-" + Sn() + "-4" + Sn().substr(0, 3) + "-" + Sn() + "-" + Sn() + Sn() + Sn()).toLowerCase();
|
|
602
602
|
}
|
|
603
603
|
const GA = `
|
|
@@ -708,7 +708,7 @@ let WA = class extends NA {
|
|
|
708
708
|
d(this, "clientWidth");
|
|
709
709
|
d(this, "clientHeight");
|
|
710
710
|
d(this, "ready", !1);
|
|
711
|
-
d(this, "uuid",
|
|
711
|
+
d(this, "uuid", Dt());
|
|
712
712
|
d(this, "tween");
|
|
713
713
|
d(this, "tweening", !1);
|
|
714
714
|
d(this, "container");
|
|
@@ -1069,7 +1069,7 @@ function ea(n) {
|
|
|
1069
1069
|
function UA(n) {
|
|
1070
1070
|
n[lr] && delete n[lr];
|
|
1071
1071
|
}
|
|
1072
|
-
class
|
|
1072
|
+
class yt {
|
|
1073
1073
|
/**
|
|
1074
1074
|
* 判断是否注册了事件
|
|
1075
1075
|
* @param name - 事件类型
|
|
@@ -1225,7 +1225,7 @@ function ki(n) {
|
|
|
1225
1225
|
var e;
|
|
1226
1226
|
return ((e = n.models) == null ? void 0 : e.filter((i) => i.name === n.state.workCode)[0]) || n.model;
|
|
1227
1227
|
}
|
|
1228
|
-
class _m extends
|
|
1228
|
+
class _m extends yt {
|
|
1229
1229
|
constructor(e) {
|
|
1230
1230
|
super();
|
|
1231
1231
|
d(this, "five");
|
|
@@ -1727,8 +1727,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1727
1727
|
var Ne = j ? O[be][j] : O[be];
|
|
1728
1728
|
I(ce, Ne) < 0 && te.push(O[be]), ce[be] = Ne, be++;
|
|
1729
1729
|
}
|
|
1730
|
-
return Q && (j ? te = te.sort(function(At,
|
|
1731
|
-
return At[j] >
|
|
1730
|
+
return Q && (j ? te = te.sort(function(At, xt) {
|
|
1731
|
+
return At[j] > xt[j];
|
|
1732
1732
|
}) : te = te.sort()), te;
|
|
1733
1733
|
}
|
|
1734
1734
|
function M(O, j) {
|
|
@@ -1786,13 +1786,13 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1786
1786
|
var Q = O.session, te = j.pointers, ce = te.length;
|
|
1787
1787
|
Q.firstInput || (Q.firstInput = si(j)), ce > 1 && !Q.firstMultiple ? Q.firstMultiple = si(j) : ce === 1 && (Q.firstMultiple = !1);
|
|
1788
1788
|
var be = Q.firstInput, Ne = Q.firstMultiple, pt = Ne ? Ne.center : be.center, At = j.center = bi(te);
|
|
1789
|
-
j.timeStamp = h(), j.deltaTime = j.timeStamp - be.timeStamp, j.angle = ji(pt, At), j.distance = yi(pt, At),
|
|
1790
|
-
var
|
|
1791
|
-
j.overallVelocityX =
|
|
1789
|
+
j.timeStamp = h(), j.deltaTime = j.timeStamp - be.timeStamp, j.angle = ji(pt, At), j.distance = yi(pt, At), It(Q, j), j.offsetDirection = Ot(j.deltaX, j.deltaY);
|
|
1790
|
+
var xt = zi(j.deltaTime, j.deltaX, j.deltaY);
|
|
1791
|
+
j.overallVelocityX = xt.x, j.overallVelocityY = xt.y, j.overallVelocity = c(xt.x) > c(xt.y) ? xt.x : xt.y, j.scale = Ne ? Kn(Ne.pointers, te) : 1, j.rotation = Ne ? Ro(Ne.pointers, te) : 0, j.maxPointers = Q.prevInput ? j.pointers.length > Q.prevInput.maxPointers ? j.pointers.length : Q.prevInput.maxPointers : j.pointers.length, qn(Q, j);
|
|
1792
1792
|
var Yt = O.element;
|
|
1793
1793
|
H(j.srcEvent.target, Yt) && (Yt = j.srcEvent.target), j.target = Yt;
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function It(O, j) {
|
|
1796
1796
|
var Q = j.center, te = O.offsetDelta || {}, ce = O.prevDelta || {}, be = O.prevInput || {};
|
|
1797
1797
|
(j.eventType === ie || be.eventType === ke) && (ce = O.prevDelta = {
|
|
1798
1798
|
x: be.deltaX || 0,
|
|
@@ -1805,8 +1805,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1805
1805
|
function qn(O, j) {
|
|
1806
1806
|
var Q = O.lastInterval || j, te = j.timeStamp - Q.timeStamp, ce, be, Ne, pt;
|
|
1807
1807
|
if (j.eventType != pe && (te > Be || Q.velocity === s)) {
|
|
1808
|
-
var At = j.deltaX - Q.deltaX,
|
|
1809
|
-
be = Yt.x, Ne = Yt.y, ce = c(Yt.x) > c(Yt.y) ? Yt.x : Yt.y, pt = Ot(At,
|
|
1808
|
+
var At = j.deltaX - Q.deltaX, xt = j.deltaY - Q.deltaY, Yt = zi(te, At, xt);
|
|
1809
|
+
be = Yt.x, Ne = Yt.y, ce = c(Yt.x) > c(Yt.y) ? Yt.x : Yt.y, pt = Ot(At, xt), O.lastInterval = j;
|
|
1810
1810
|
} else
|
|
1811
1811
|
ce = Q.velocity, be = Q.velocityX, Ne = Q.velocityY, pt = Q.direction;
|
|
1812
1812
|
j.velocity = ce, j.velocityX = be, j.velocityY = Ne, j.direction = pt;
|
|
@@ -1971,8 +1971,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1971
1971
|
if (j & (ie | we) && Q.length === 1)
|
|
1972
1972
|
return te[Q[0].identifier] = !0, [Q, Q];
|
|
1973
1973
|
var ce, be, Ne = w(O.changedTouches), pt = [], At = this.target;
|
|
1974
|
-
if (be = Q.filter(function(
|
|
1975
|
-
return H(
|
|
1974
|
+
if (be = Q.filter(function(xt) {
|
|
1975
|
+
return H(xt.target, At);
|
|
1976
1976
|
}), j === ie)
|
|
1977
1977
|
for (ce = 0; ce < be.length; )
|
|
1978
1978
|
te[be[ce].identifier] = !0, ce++;
|
|
@@ -2002,7 +2002,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2002
2002
|
var ce = te.pointerType == ne, be = te.pointerType == Se;
|
|
2003
2003
|
if (!(be && te.sourceCapabilities && te.sourceCapabilities.firesTouchEvents)) {
|
|
2004
2004
|
if (ce)
|
|
2005
|
-
|
|
2005
|
+
Et.call(this, Q, te);
|
|
2006
2006
|
else if (be && Fo.call(this, te))
|
|
2007
2007
|
return;
|
|
2008
2008
|
this.callback(j, Q, te);
|
|
@@ -2015,7 +2015,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2015
2015
|
this.touch.destroy(), this.mouse.destroy();
|
|
2016
2016
|
}
|
|
2017
2017
|
});
|
|
2018
|
-
function
|
|
2018
|
+
function Et(O, j) {
|
|
2019
2019
|
O & ie ? (this.primaryTouch = j.changedPointers[0].identifier, Ls.call(this, j)) : O & (ke | pe) && Ls.call(this, j);
|
|
2020
2020
|
}
|
|
2021
2021
|
function Ls(O) {
|
|
@@ -2038,11 +2038,11 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2038
2038
|
}
|
|
2039
2039
|
return !1;
|
|
2040
2040
|
}
|
|
2041
|
-
var Os = M(r.style, "touchAction"), zs = Os !== s, js = "compute",
|
|
2042
|
-
function
|
|
2041
|
+
var Os = M(r.style, "touchAction"), zs = Os !== s, js = "compute", Mt = "auto", is = "manipulation", Ci = "none", en = "pan-x", tn = "pan-y", Cn = No();
|
|
2042
|
+
function St(O, j) {
|
|
2043
2043
|
this.manager = O, this.set(j);
|
|
2044
2044
|
}
|
|
2045
|
-
|
|
2045
|
+
St.prototype = {
|
|
2046
2046
|
/**
|
|
2047
2047
|
* set the touchAction value on the element or enable the polyfill
|
|
2048
2048
|
* @param {String} value
|
|
@@ -2078,8 +2078,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2078
2078
|
}
|
|
2079
2079
|
var te = this.actions, ce = X(te, Ci) && !Cn[Ci], be = X(te, tn) && !Cn[tn], Ne = X(te, en) && !Cn[en];
|
|
2080
2080
|
if (ce) {
|
|
2081
|
-
var pt = O.pointers.length === 1, At = O.distance < 2,
|
|
2082
|
-
if (pt && At &&
|
|
2081
|
+
var pt = O.pointers.length === 1, At = O.distance < 2, xt = O.deltaTime < 250;
|
|
2082
|
+
if (pt && At && xt)
|
|
2083
2083
|
return;
|
|
2084
2084
|
}
|
|
2085
2085
|
if (!(Ne && be) && (ce || be && Q & xe || Ne && Q & _e))
|
|
@@ -2097,7 +2097,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2097
2097
|
if (X(O, Ci))
|
|
2098
2098
|
return Ci;
|
|
2099
2099
|
var j = X(O, en), Q = X(O, tn);
|
|
2100
|
-
return j && Q ? Ci : j || Q ? j ? en : tn : X(O, is) ? is :
|
|
2100
|
+
return j && Q ? Ci : j || Q ? j ? en : tn : X(O, is) ? is : Mt;
|
|
2101
2101
|
}
|
|
2102
2102
|
function No() {
|
|
2103
2103
|
if (!zs)
|
|
@@ -2375,7 +2375,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2375
2375
|
// a minimal movement is ok, but keep it low
|
|
2376
2376
|
},
|
|
2377
2377
|
getTouchAction: function() {
|
|
2378
|
-
return [
|
|
2378
|
+
return [Mt];
|
|
2379
2379
|
},
|
|
2380
2380
|
process: function(O) {
|
|
2381
2381
|
var j = this.options, Q = O.pointers.length === j.pointers, te = O.distance < j.threshold, ce = O.deltaTime > j.time;
|
|
@@ -2597,7 +2597,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2597
2597
|
};
|
|
2598
2598
|
var Go = 1, Vs = 2;
|
|
2599
2599
|
function ns(O, j) {
|
|
2600
|
-
this.options = g({}, ri.defaults, j || {}), this.options.inputTarget = this.options.inputTarget || O, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = O, this.input = We(this), this.touchAction = new
|
|
2600
|
+
this.options = g({}, ri.defaults, j || {}), this.options.inputTarget = this.options.inputTarget || O, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = O, this.input = We(this), this.touchAction = new St(this, this.options.touchAction), xn(this, !0), p(this.options.recognizers, function(Q) {
|
|
2601
2601
|
var te = this.add(new Q[0](Q[1]));
|
|
2602
2602
|
Q[2] && te.recognizeWith(Q[2]), Q[3] && te.requireFailure(Q[3]);
|
|
2603
2603
|
}, this);
|
|
@@ -2764,7 +2764,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2764
2764
|
DIRECTION_ALL: Ze,
|
|
2765
2765
|
Manager: ns,
|
|
2766
2766
|
Input: Je,
|
|
2767
|
-
TouchAction:
|
|
2767
|
+
TouchAction: St,
|
|
2768
2768
|
TouchInput: wn,
|
|
2769
2769
|
MouseInput: ui,
|
|
2770
2770
|
PointerEventInput: qi,
|
|
@@ -2799,7 +2799,7 @@ class eh {
|
|
|
2799
2799
|
d(this, "width");
|
|
2800
2800
|
d(this, "height");
|
|
2801
2801
|
d(this, "containerDom");
|
|
2802
|
-
d(this, "hooks", new
|
|
2802
|
+
d(this, "hooks", new yt());
|
|
2803
2803
|
d(this, "canvas", document.createElement("canvas"));
|
|
2804
2804
|
d(this, "config");
|
|
2805
2805
|
d(this, "state", { enabled: !1 });
|
|
@@ -3999,7 +3999,7 @@ class Cb extends y.Object3D {
|
|
|
3999
3999
|
class Wm {
|
|
4000
4000
|
constructor(t, e) {
|
|
4001
4001
|
d(this, "five");
|
|
4002
|
-
d(this, "hooks", new
|
|
4002
|
+
d(this, "hooks", new yt());
|
|
4003
4003
|
d(this, "position");
|
|
4004
4004
|
d(this, "magnifier", null);
|
|
4005
4005
|
d(this, "pointHelper", null);
|
|
@@ -4083,7 +4083,7 @@ function _n(n) {
|
|
|
4083
4083
|
}
|
|
4084
4084
|
}
|
|
4085
4085
|
const Tu = new y.Vector3(), Ns = () => !1;
|
|
4086
|
-
class il extends
|
|
4086
|
+
class il extends yt {
|
|
4087
4087
|
constructor(e, i) {
|
|
4088
4088
|
var r, a, l, c;
|
|
4089
4089
|
super();
|
|
@@ -4501,7 +4501,7 @@ let Zm = class extends dn {
|
|
|
4501
4501
|
d(this, "centerPosition");
|
|
4502
4502
|
d(this, "ratio");
|
|
4503
4503
|
d(this, "mode", "front");
|
|
4504
|
-
d(this, "hooks", new
|
|
4504
|
+
d(this, "hooks", new yt());
|
|
4505
4505
|
d(this, "opacityMesh");
|
|
4506
4506
|
d(this, "selfVisible", !0);
|
|
4507
4507
|
d(this, "setVisible", (e) => {
|
|
@@ -6255,7 +6255,7 @@ class xy {
|
|
|
6255
6255
|
}
|
|
6256
6256
|
const k5 = (n, t) => {
|
|
6257
6257
|
var I, w;
|
|
6258
|
-
const e = new
|
|
6258
|
+
const e = new yt();
|
|
6259
6259
|
let i = (w = (I = t == null ? void 0 : t.initialState) == null ? void 0 : I.enabled) != null ? w : !0, s = !1, o = !0, r = null;
|
|
6260
6260
|
const l = R(R({}, {
|
|
6261
6261
|
lookAtCurrentCamera: !1,
|
|
@@ -6428,7 +6428,7 @@ class Ty extends Pg {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
const Ly = 3, bc = "CSS3DRenderer", sr = `${bc}@${Ly}`, Gs = () => {
|
|
6430
6430
|
console.error(`${sr} is disposed`);
|
|
6431
|
-
},
|
|
6431
|
+
}, Ct = {
|
|
6432
6432
|
css3DObjects: [],
|
|
6433
6433
|
frontModeStore: {
|
|
6434
6434
|
css3DRenderer: new Ta()
|
|
@@ -6438,18 +6438,18 @@ const Ly = 3, bc = "CSS3DRenderer", sr = `${bc}@${Ly}`, Gs = () => {
|
|
|
6438
6438
|
}
|
|
6439
6439
|
};
|
|
6440
6440
|
function _u(n) {
|
|
6441
|
-
return
|
|
6441
|
+
return Ct.css3DObjects.find((t) => t.id === n);
|
|
6442
6442
|
}
|
|
6443
6443
|
function Oy(n) {
|
|
6444
|
-
|
|
6444
|
+
Ct.frontModeStore.css3DRenderer.setWrapper(n);
|
|
6445
6445
|
}
|
|
6446
6446
|
function zy(n) {
|
|
6447
|
-
|
|
6447
|
+
Ct.behindModeStore.css3DRenderer.setWrapper(n);
|
|
6448
6448
|
}
|
|
6449
6449
|
class yr {
|
|
6450
6450
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
6451
6451
|
constructor(t) {
|
|
6452
|
-
d(this, "hooks", new
|
|
6452
|
+
d(this, "hooks", new yt());
|
|
6453
6453
|
d(this, "state", {
|
|
6454
6454
|
enabled: !0,
|
|
6455
6455
|
visible: !0,
|
|
@@ -6513,7 +6513,7 @@ class yr {
|
|
|
6513
6513
|
const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: u, wrapperStyle: f } = s;
|
|
6514
6514
|
let p = !1;
|
|
6515
6515
|
const v = this.createObject(o, { ratio: r, dpr: a, container: h, mode: l, pointerEvents: u, wrapperStyle: f });
|
|
6516
|
-
|
|
6516
|
+
Ct.css3DObjects.push(v), s.scene && this.setScene(s.scene);
|
|
6517
6517
|
const g = () => {
|
|
6518
6518
|
if (p)
|
|
6519
6519
|
return;
|
|
@@ -6521,7 +6521,7 @@ class yr {
|
|
|
6521
6521
|
S && S.add(v);
|
|
6522
6522
|
}, m = () => {
|
|
6523
6523
|
p || (g(), this.render(t), this.hooks.emit("render"));
|
|
6524
|
-
}, b = (S) => this.setVisibleById(v.id, S), C = (S) => this.setEnabledById(v.id, S), x = () => (p = !0, v.removeFromParent(), !0), E = l === "front" ?
|
|
6524
|
+
}, b = (S) => this.setVisibleById(v.id, S), C = (S) => this.setEnabledById(v.id, S), x = () => (p = !0, v.removeFromParent(), !0), E = l === "front" ? Ct.frontModeStore.css3DRenderer : Ct.behindModeStore.css3DRenderer;
|
|
6525
6525
|
return c && m(), {
|
|
6526
6526
|
id: v.uuid,
|
|
6527
6527
|
container: h,
|
|
@@ -6558,16 +6558,16 @@ class yr {
|
|
|
6558
6558
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
6559
6559
|
}
|
|
6560
6560
|
static get frontModeCSS3DRenderer() {
|
|
6561
|
-
return
|
|
6561
|
+
return Ct.frontModeStore.css3DRenderer;
|
|
6562
6562
|
}
|
|
6563
6563
|
static get behindModeCSS3DRenderer() {
|
|
6564
|
-
return
|
|
6564
|
+
return Ct.behindModeStore.css3DRenderer;
|
|
6565
6565
|
}
|
|
6566
6566
|
get frontModeCSS3DRenderer() {
|
|
6567
|
-
return
|
|
6567
|
+
return Ct.frontModeStore.css3DRenderer;
|
|
6568
6568
|
}
|
|
6569
6569
|
get behindModeCSS3DRenderer() {
|
|
6570
|
-
return
|
|
6570
|
+
return Ct.behindModeStore.css3DRenderer;
|
|
6571
6571
|
}
|
|
6572
6572
|
setScene(t) {
|
|
6573
6573
|
this._scene = t;
|
|
@@ -6610,30 +6610,30 @@ class yr {
|
|
|
6610
6610
|
}
|
|
6611
6611
|
getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
6612
6612
|
var i;
|
|
6613
|
-
const e = (i =
|
|
6613
|
+
const e = (i = Ct.frontModeStore) == null ? void 0 : i.css3DScene;
|
|
6614
6614
|
if (e)
|
|
6615
6615
|
return e;
|
|
6616
6616
|
if (t) {
|
|
6617
6617
|
const s = new ky();
|
|
6618
|
-
|
|
6618
|
+
Ct.frontModeStore.css3DScene = s;
|
|
6619
6619
|
}
|
|
6620
|
-
return
|
|
6620
|
+
return Ct.frontModeStore.css3DScene;
|
|
6621
6621
|
}
|
|
6622
6622
|
getBehindCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
6623
6623
|
var i, s;
|
|
6624
|
-
const e = (i =
|
|
6624
|
+
const e = (i = Ct.behindModeStore) == null ? void 0 : i.css3DScene;
|
|
6625
6625
|
if (e)
|
|
6626
6626
|
return e;
|
|
6627
6627
|
if (t) {
|
|
6628
|
-
const o = (s =
|
|
6628
|
+
const o = (s = Ct.behindModeStore.scene) != null ? s : this.scene;
|
|
6629
6629
|
if (!o) {
|
|
6630
6630
|
console.error(`${sr}: scene is required when mode is behind`);
|
|
6631
6631
|
return;
|
|
6632
6632
|
}
|
|
6633
6633
|
const r = new Dy(o);
|
|
6634
|
-
|
|
6634
|
+
Ct.behindModeStore.css3DScene = r, Ct.behindModeStore.scene = o;
|
|
6635
6635
|
}
|
|
6636
|
-
return
|
|
6636
|
+
return Ct.behindModeStore.css3DScene;
|
|
6637
6637
|
}
|
|
6638
6638
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: t = !0 } = {}) {
|
|
6639
6639
|
const e = this.getFrontCSS3DScene({ createSceneIfNotExists: t });
|
|
@@ -6654,13 +6654,13 @@ class yr {
|
|
|
6654
6654
|
const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
6655
6655
|
if (!s)
|
|
6656
6656
|
return console.error(`${sr}: css3DScene is required when mode is front`);
|
|
6657
|
-
|
|
6657
|
+
Ct.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
6658
6658
|
}
|
|
6659
6659
|
if (((i = (e = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : e.CSS3DObjectLength) != null ? i : 0) > 0) {
|
|
6660
6660
|
const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
6661
6661
|
if (!s)
|
|
6662
6662
|
return console.error(`${sr}: css3DScene is required when mode is behind`);
|
|
6663
|
-
|
|
6663
|
+
Ct.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
6664
6664
|
}
|
|
6665
6665
|
}
|
|
6666
6666
|
handleShow() {
|
|
@@ -6890,7 +6890,7 @@ function Mg(n) {
|
|
|
6890
6890
|
function Hu() {
|
|
6891
6891
|
return /* @__PURE__ */ Object.create(null);
|
|
6892
6892
|
}
|
|
6893
|
-
function
|
|
6893
|
+
function Pt(n) {
|
|
6894
6894
|
n.forEach(Mg);
|
|
6895
6895
|
}
|
|
6896
6896
|
function Ji(n) {
|
|
@@ -7230,7 +7230,7 @@ function Eh() {
|
|
|
7230
7230
|
}
|
|
7231
7231
|
function Qy(n) {
|
|
7232
7232
|
if (n.fragment !== null) {
|
|
7233
|
-
n.update(),
|
|
7233
|
+
n.update(), Pt(n.before_update);
|
|
7234
7234
|
const t = n.dirty;
|
|
7235
7235
|
n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, t), n.after_update.forEach(gt);
|
|
7236
7236
|
}
|
|
@@ -7259,7 +7259,7 @@ function Ie() {
|
|
|
7259
7259
|
};
|
|
7260
7260
|
}
|
|
7261
7261
|
function Ee() {
|
|
7262
|
-
Wi.r ||
|
|
7262
|
+
Wi.r || Pt(Wi.c), Wi = Wi.p;
|
|
7263
7263
|
}
|
|
7264
7264
|
function F(n, t) {
|
|
7265
7265
|
n && n.i && (wa.delete(n), n.i(t));
|
|
@@ -7322,7 +7322,7 @@ function zo(n, t, e) {
|
|
|
7322
7322
|
gt(() => ds(n, !1, "start")), wh((m) => {
|
|
7323
7323
|
if (o) {
|
|
7324
7324
|
if (m >= g)
|
|
7325
|
-
return f(0, 1), ds(n, !1, "end"), --a.r ||
|
|
7325
|
+
return f(0, 1), ds(n, !1, "end"), --a.r || Pt(a.c), !1;
|
|
7326
7326
|
if (m >= v) {
|
|
7327
7327
|
const b = u((m - v) / h);
|
|
7328
7328
|
f(1 - b, b);
|
|
@@ -7365,7 +7365,7 @@ function Xi(n, t, e, i) {
|
|
|
7365
7365
|
p || (x.group = Wi, Wi.r += 1), a || l ? l = x : (C && (h(), c = Ra(n, r, p, g, v, m, C)), p && b(0, 1), a = u(x, g), gt(() => ds(n, p, "start")), wh((E) => {
|
|
7366
7366
|
if (l && E > l.start && (a = u(l, g), l = null, ds(n, a.b, "start"), C && (h(), c = Ra(n, r, a.b, a.duration, 0, m, o.css))), a) {
|
|
7367
7367
|
if (E >= a.end)
|
|
7368
|
-
b(r = a.b, 1 - r), ds(n, a.b, "end"), l || (a.b ? h() : --a.group.r ||
|
|
7368
|
+
b(r = a.b, 1 - r), ds(n, a.b, "end"), l || (a.b ? h() : --a.group.r || Pt(a.group.c)), a = null;
|
|
7369
7369
|
else if (E >= a.start) {
|
|
7370
7370
|
const S = E - a.start;
|
|
7371
7371
|
r = a.a + a.d * m(S / a.duration), b(r, 1 - r);
|
|
@@ -7454,7 +7454,7 @@ function Ti(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
|
7454
7454
|
}
|
|
7455
7455
|
for (; p; )
|
|
7456
7456
|
D(m[p - 1]);
|
|
7457
|
-
return
|
|
7457
|
+
return Pt(x), m;
|
|
7458
7458
|
}
|
|
7459
7459
|
function Gt(n, t) {
|
|
7460
7460
|
const e = {}, i = {}, s = { $$scope: 1 };
|
|
@@ -7489,12 +7489,12 @@ function me(n, t, e, i) {
|
|
|
7489
7489
|
const { fragment: s, after_update: o } = n.$$;
|
|
7490
7490
|
s && s.m(t, e), i || gt(() => {
|
|
7491
7491
|
const r = n.$$.on_mount.map(Mg).filter(Ji);
|
|
7492
|
-
n.$$.on_destroy ? n.$$.on_destroy.push(...r) :
|
|
7492
|
+
n.$$.on_destroy ? n.$$.on_destroy.push(...r) : Pt(r), n.$$.on_mount = [];
|
|
7493
7493
|
}), o.forEach(gt);
|
|
7494
7494
|
}
|
|
7495
7495
|
function ge(n, t) {
|
|
7496
7496
|
const e = n.$$;
|
|
7497
|
-
e.fragment !== null && (Uy(e.after_update),
|
|
7497
|
+
e.fragment !== null && (Uy(e.after_update), Pt(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
|
|
7498
7498
|
}
|
|
7499
7499
|
function Xy(n, t) {
|
|
7500
7500
|
n.$$.dirty[0] === -1 && (Xs.push(n), jg(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
@@ -7528,7 +7528,7 @@ function Ce(n, t, e, i, s, o, r, a = [-1]) {
|
|
|
7528
7528
|
if (c.ctx = e ? e(n, t.props || {}, (u, f, ...p) => {
|
|
7529
7529
|
const v = p.length ? p[0] : f;
|
|
7530
7530
|
return c.ctx && s(c.ctx[u], c.ctx[u] = v) && (!c.skip_bound && c.bound[u] && c.bound[u](v), h && Xy(n, u)), f;
|
|
7531
|
-
}) : [], c.update(), h = !0,
|
|
7531
|
+
}) : [], c.update(), h = !0, Pt(c.before_update), c.fragment = i ? i(c.ctx) : !1, t.target) {
|
|
7532
7532
|
if (t.hydrate) {
|
|
7533
7533
|
const u = Fy(t.target);
|
|
7534
7534
|
c.fragment && c.fragment.l(u), u.forEach(U);
|
|
@@ -8057,7 +8057,7 @@ function y1(n) {
|
|
|
8057
8057
|
c && U(t);
|
|
8058
8058
|
for (let h = 0; h < e.length; h += 1)
|
|
8059
8059
|
e[h].d();
|
|
8060
|
-
o = !1,
|
|
8060
|
+
o = !1, Pt(r);
|
|
8061
8061
|
}
|
|
8062
8062
|
};
|
|
8063
8063
|
}
|
|
@@ -8575,7 +8575,7 @@ function F1(n) {
|
|
|
8575
8575
|
h[2] ? c ? c.p(h, u) : (c = Ju(h), c.c(), c.m(s.parentNode, s)) : c && (c.d(1), c = null);
|
|
8576
8576
|
},
|
|
8577
8577
|
d(h) {
|
|
8578
|
-
h && U(t), a && a.d(), l && l.d(), h && U(i), c && c.d(h), h && U(s), o = !1,
|
|
8578
|
+
h && U(t), a && a.d(), l && l.d(), h && U(i), c && c.d(h), h && U(s), o = !1, Pt(r);
|
|
8579
8579
|
}
|
|
8580
8580
|
};
|
|
8581
8581
|
}
|
|
@@ -8751,7 +8751,7 @@ function H1(n) {
|
|
|
8751
8751
|
i: re,
|
|
8752
8752
|
o: re,
|
|
8753
8753
|
d(a) {
|
|
8754
|
-
a && U(t), r && r.d(), e = !1,
|
|
8754
|
+
a && U(t), r && r.d(), e = !1, Pt(i);
|
|
8755
8755
|
}
|
|
8756
8756
|
};
|
|
8757
8757
|
}
|
|
@@ -8942,7 +8942,7 @@ function Ku(n) {
|
|
|
8942
8942
|
c && U(t);
|
|
8943
8943
|
for (let h = 0; h < e.length; h += 1)
|
|
8944
8944
|
e[h].d();
|
|
8945
|
-
o = !1,
|
|
8945
|
+
o = !1, Pt(r);
|
|
8946
8946
|
}
|
|
8947
8947
|
};
|
|
8948
8948
|
}
|
|
@@ -10018,7 +10018,7 @@ function Pw(n) {
|
|
|
10018
10018
|
i: re,
|
|
10019
10019
|
o: re,
|
|
10020
10020
|
d(o) {
|
|
10021
|
-
o && U(t), i = !1,
|
|
10021
|
+
o && U(t), i = !1, Pt(s);
|
|
10022
10022
|
}
|
|
10023
10023
|
};
|
|
10024
10024
|
}
|
|
@@ -11659,7 +11659,7 @@ let Xn = class {
|
|
|
11659
11659
|
/**
|
|
11660
11660
|
* @realsee/dnalogel 版本号
|
|
11661
11661
|
*/
|
|
11662
|
-
d(this, "VERSION", "3.63.4-alpha.
|
|
11662
|
+
d(this, "VERSION", "3.63.4-alpha.2");
|
|
11663
11663
|
d(this, "NAME");
|
|
11664
11664
|
d(this, "five");
|
|
11665
11665
|
d(this, "workUtil");
|
|
@@ -11667,7 +11667,7 @@ let Xn = class {
|
|
|
11667
11667
|
/**
|
|
11668
11668
|
* @description: 插件事件钩子
|
|
11669
11669
|
*/
|
|
11670
|
-
d(this, "hooks", new
|
|
11670
|
+
d(this, "hooks", new yt());
|
|
11671
11671
|
d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
11672
11672
|
this.five = t, this.fiveUtil = new el(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
|
|
11673
11673
|
}
|
|
@@ -13262,7 +13262,7 @@ function Md(n) {
|
|
|
13262
13262
|
Z(o), e = !1;
|
|
13263
13263
|
},
|
|
13264
13264
|
d(r) {
|
|
13265
|
-
r && U(t), o && o.d(), i = !1,
|
|
13265
|
+
r && U(t), o && o.d(), i = !1, Pt(s);
|
|
13266
13266
|
}
|
|
13267
13267
|
};
|
|
13268
13268
|
}
|
|
@@ -17238,7 +17238,7 @@ let yo = class lv {
|
|
|
17238
17238
|
d(this, "polyline");
|
|
17239
17239
|
d(this, "visible");
|
|
17240
17240
|
var s;
|
|
17241
|
-
if (this.id =
|
|
17241
|
+
if (this.id = Dt(), this.model = i, t.id === e.id)
|
|
17242
17242
|
throw new Error("无效的线段, 一个点无法构成线段");
|
|
17243
17243
|
typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new Mo(), this.points = [t, e], this.mesh = Ud(this, "normal"), this.lightMesh = Ud(this, "light"), this.distanceItem = new MP({
|
|
17244
17244
|
line: this,
|
|
@@ -17292,7 +17292,7 @@ let yo = class lv {
|
|
|
17292
17292
|
d(this, "id");
|
|
17293
17293
|
d(this, "position");
|
|
17294
17294
|
d(this, "type", "point");
|
|
17295
|
-
if (this.id =
|
|
17295
|
+
if (this.id = Dt(), this.position = new ue(), Array.isArray(t))
|
|
17296
17296
|
this.position.fromArray(t);
|
|
17297
17297
|
else if (typeof t == "object" && t.isVector3)
|
|
17298
17298
|
this.position.copy(t);
|
|
@@ -17369,7 +17369,7 @@ let fl = class {
|
|
|
17369
17369
|
}
|
|
17370
17370
|
}, wo = class {
|
|
17371
17371
|
constructor(t) {
|
|
17372
|
-
d(this, "id",
|
|
17372
|
+
d(this, "id", Dt());
|
|
17373
17373
|
d(this, "lines", []);
|
|
17374
17374
|
d(this, "visiblePanoIndexes");
|
|
17375
17375
|
d(this, "visibleFiveMode");
|
|
@@ -17928,7 +17928,7 @@ class JP extends av {
|
|
|
17928
17928
|
}
|
|
17929
17929
|
class Lc {
|
|
17930
17930
|
constructor(t, e) {
|
|
17931
|
-
d(this, "id",
|
|
17931
|
+
d(this, "id", Dt());
|
|
17932
17932
|
d(this, "selected", !1);
|
|
17933
17933
|
d(this, "text");
|
|
17934
17934
|
d(this, "type", "area");
|
|
@@ -18654,7 +18654,7 @@ class Av {
|
|
|
18654
18654
|
d(this, "config");
|
|
18655
18655
|
d(this, "polylines", []);
|
|
18656
18656
|
d(this, "areas", []);
|
|
18657
|
-
d(this, "hook", new
|
|
18657
|
+
d(this, "hook", new yt());
|
|
18658
18658
|
this.config = t;
|
|
18659
18659
|
}
|
|
18660
18660
|
addPolyline(t) {
|
|
@@ -19747,7 +19747,7 @@ function cf(n) {
|
|
|
19747
19747
|
g[2]("结束") + "") && Qe(f, u);
|
|
19748
19748
|
},
|
|
19749
19749
|
d(g) {
|
|
19750
|
-
g && U(t), p = !1,
|
|
19750
|
+
g && U(t), p = !1, Pt(v);
|
|
19751
19751
|
}
|
|
19752
19752
|
};
|
|
19753
19753
|
}
|
|
@@ -21629,7 +21629,7 @@ function fE(n) {
|
|
|
21629
21629
|
if (e >= 0 && rt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && rt.splice(0, rt.length), (t === 93 || t === 224) && (t = 91), t in jt) {
|
|
21630
21630
|
jt[t] = !1;
|
|
21631
21631
|
for (const i in Zi)
|
|
21632
|
-
Zi[i] === t && (
|
|
21632
|
+
Zi[i] === t && (bt[i] = !1);
|
|
21633
21633
|
}
|
|
21634
21634
|
}
|
|
21635
21635
|
function Tv(n) {
|
|
@@ -21688,7 +21688,7 @@ function wf(n, t, e, i) {
|
|
|
21688
21688
|
function Cf(n, t) {
|
|
21689
21689
|
const e = dt["*"];
|
|
21690
21690
|
let i = n.keyCode || n.which || n.charCode;
|
|
21691
|
-
if (!
|
|
21691
|
+
if (!bt.filter.call(this, n))
|
|
21692
21692
|
return;
|
|
21693
21693
|
if ((i === 93 || i === 224) && (i = 91), rt.indexOf(i) === -1 && i !== 229 && rt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
|
|
21694
21694
|
const l = jc[a];
|
|
@@ -21696,7 +21696,7 @@ function Cf(n, t) {
|
|
|
21696
21696
|
}), i in jt) {
|
|
21697
21697
|
jt[i] = !0;
|
|
21698
21698
|
for (const a in Zi)
|
|
21699
|
-
Zi[a] === i && (
|
|
21699
|
+
Zi[a] === i && (bt[a] = !0);
|
|
21700
21700
|
if (!e)
|
|
21701
21701
|
return;
|
|
21702
21702
|
}
|
|
@@ -21720,7 +21720,7 @@ function Cf(n, t) {
|
|
|
21720
21720
|
u.sort().join("") === rt.sort().join("") && wf(n, l, s, t);
|
|
21721
21721
|
}
|
|
21722
21722
|
}
|
|
21723
|
-
function
|
|
21723
|
+
function bt(n, t, e) {
|
|
21724
21724
|
rt = [];
|
|
21725
21725
|
const i = kv(n);
|
|
21726
21726
|
let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
|
|
@@ -21816,10 +21816,10 @@ const Ql = {
|
|
|
21816
21816
|
modifierMap: jc
|
|
21817
21817
|
};
|
|
21818
21818
|
for (const n in Ql)
|
|
21819
|
-
Object.prototype.hasOwnProperty.call(Ql, n) && (
|
|
21819
|
+
Object.prototype.hasOwnProperty.call(Ql, n) && (bt[n] = Ql[n]);
|
|
21820
21820
|
if (typeof window != "undefined") {
|
|
21821
21821
|
const n = window.hotkeys;
|
|
21822
|
-
|
|
21822
|
+
bt.noConflict = (t) => (t && window.hotkeys === bt && (window.hotkeys = n), bt), window.hotkeys = bt;
|
|
21823
21823
|
}
|
|
21824
21824
|
const mE = {
|
|
21825
21825
|
auto: "",
|
|
@@ -21873,7 +21873,7 @@ const Ma = {
|
|
|
21873
21873
|
opacity: 0.2,
|
|
21874
21874
|
lengthUnit: "m"
|
|
21875
21875
|
};
|
|
21876
|
-
class gE extends
|
|
21876
|
+
class gE extends yt {
|
|
21877
21877
|
constructor(e) {
|
|
21878
21878
|
super();
|
|
21879
21879
|
d(this, "name", "MeasurePlugin");
|
|
@@ -21883,6 +21883,7 @@ class gE extends bt {
|
|
|
21883
21883
|
d(this, "_pointSelector");
|
|
21884
21884
|
d(this, "_fiveDomEvents");
|
|
21885
21885
|
d(this, "_cursor");
|
|
21886
|
+
d(this, "unbindHotKey");
|
|
21886
21887
|
/**
|
|
21887
21888
|
* @description 开始测量
|
|
21888
21889
|
*/
|
|
@@ -21890,37 +21891,39 @@ class gE extends bt {
|
|
|
21890
21891
|
this.removeEventListener();
|
|
21891
21892
|
const e = new nE();
|
|
21892
21893
|
this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
|
|
21893
|
-
const i = new Is(), s = new gs(he(R({}, Ma), { dashed: !0 })), o = new jo(Ov), r = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 })), a = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 }))
|
|
21894
|
+
const i = new Is(), s = new gs(he(R({}, Ma), { dashed: !0 })), o = new jo(Ov), r = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 })), a = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 })), l = () => {
|
|
21895
|
+
i.removeFromParent(), s.removeFromParent(), o.removeFromParent(), r.removeFromParent(), a.removeFromParent();
|
|
21896
|
+
};
|
|
21894
21897
|
this.group.add(e);
|
|
21895
|
-
const
|
|
21896
|
-
if (!
|
|
21897
|
-
|
|
21898
|
+
const c = (f) => {
|
|
21899
|
+
if (!f) {
|
|
21900
|
+
l();
|
|
21898
21901
|
return;
|
|
21899
21902
|
}
|
|
21900
|
-
if (e.points.length === 0 && (
|
|
21901
|
-
if (i.removeFromParent(),
|
|
21903
|
+
if (e.points.length === 0 && (this.group.addIfNotExists(i), i.position.copy(f.point)), e.points.length >= 1)
|
|
21904
|
+
if (i.removeFromParent(), this.group.addIfNotExists(s), s.setPoints([e.points.at(-1), f.point]), f.isAdsorbed)
|
|
21902
21905
|
r.removeFromParent(), a.removeFromParent();
|
|
21903
21906
|
else {
|
|
21904
|
-
const
|
|
21905
|
-
if (Math.abs(
|
|
21906
|
-
const
|
|
21907
|
-
r.setPoints([
|
|
21907
|
+
const p = e.points.at(-1);
|
|
21908
|
+
if (Math.abs(f.point.y - p.y) > 0.2) {
|
|
21909
|
+
const g = new y.Vector3(f.point.x, p.y, f.point.z);
|
|
21910
|
+
r.setPoints([p, g]), a.setPoints([g, f.point]);
|
|
21908
21911
|
} else {
|
|
21909
|
-
let
|
|
21910
|
-
Math.abs(
|
|
21912
|
+
let g = new y.Vector3();
|
|
21913
|
+
Math.abs(f.point.x - p.x) < Math.abs(f.point.z - p.z) ? g = new y.Vector3(f.point.x, p.y, p.z) : g = new y.Vector3(p.x, p.y, f.point.z), r.setPoints([p, g]), a.setPoints([g, f.point]);
|
|
21911
21914
|
}
|
|
21912
21915
|
this.group.addIfNotExists(r, a);
|
|
21913
21916
|
}
|
|
21914
21917
|
if (e.points.length >= 2) {
|
|
21915
|
-
const
|
|
21916
|
-
Mv(
|
|
21918
|
+
const p = [...e.points, f.point];
|
|
21919
|
+
Mv(p) ? (o.setPoints(p), this.group.addIfNotExists(o)) : o.removeFromParent();
|
|
21917
21920
|
}
|
|
21918
|
-
},
|
|
21919
|
-
e.setPoints([...e.points,
|
|
21920
|
-
},
|
|
21921
|
-
this.pointSelector.off("intersectionUpdate",
|
|
21921
|
+
}, h = (f) => {
|
|
21922
|
+
l(), e.setPoints([...e.points, f.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
|
|
21923
|
+
}, u = () => {
|
|
21924
|
+
this.pointSelector.off("intersectionUpdate", c), this.pointSelector.off("select", h), this.pointSelector.off("disable", u), l(), e.points.length < 2 && e.removeFromParent(), this.currentMeasureMesh = null, this.addEventListener(), this.emit("measureEnd");
|
|
21922
21925
|
};
|
|
21923
|
-
this.pointSelector.on("intersectionUpdate",
|
|
21926
|
+
this.pointSelector.on("intersectionUpdate", c), this.pointSelector.on("select", h), this.pointSelector.on("disable", u), this.pointSelector.enable();
|
|
21924
21927
|
});
|
|
21925
21928
|
/**
|
|
21926
21929
|
* @description 结束测量
|
|
@@ -21949,7 +21952,7 @@ class gE extends bt {
|
|
|
21949
21952
|
this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.forEach((e) => e.removeFromParent());
|
|
21950
21953
|
});
|
|
21951
21954
|
d(this, "dispose", () => {
|
|
21952
|
-
|
|
21955
|
+
this.unbindHotKey(), this.pointSelector.disable(), this.clear();
|
|
21953
21956
|
});
|
|
21954
21957
|
d(this, "addEventListener", () => {
|
|
21955
21958
|
this.group.children.forEach((e) => {
|
|
@@ -21964,16 +21967,20 @@ class gE extends bt {
|
|
|
21964
21967
|
if (!s)
|
|
21965
21968
|
return;
|
|
21966
21969
|
let o, r;
|
|
21967
|
-
e instanceof TouchEvent ? (o = e.changedTouches[0].clientX, r = e.changedTouches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, r = e.clientY),
|
|
21970
|
+
if (e instanceof TouchEvent ? (o = e.changedTouches[0].clientX, r = e.changedTouches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, r = e.clientY), o === void 0 || r === void 0)
|
|
21971
|
+
return;
|
|
21972
|
+
this.group.children.forEach((l) => l.unselect()), s.select();
|
|
21973
|
+
const a = () => {
|
|
21974
|
+
s.removeFromParent(), this.cursor.removeDeleteButton(), this.five.needsRender = !0, bt.unbind("delete, backspace");
|
|
21975
|
+
};
|
|
21976
|
+
bt("delete, backspace", a), this.cursor.showDeleteButton({
|
|
21968
21977
|
clientX: o,
|
|
21969
21978
|
clientY: r,
|
|
21970
21979
|
container: this.five.getElement().parentElement,
|
|
21971
|
-
onClick:
|
|
21972
|
-
s.removeFromParent(), this.five.needsRender = !0;
|
|
21973
|
-
}
|
|
21980
|
+
onClick: a
|
|
21974
21981
|
}), this.five.once("cameraUpdate", () => {
|
|
21975
21982
|
s.unselect(), this.cursor.removeDeleteButton();
|
|
21976
|
-
})
|
|
21983
|
+
});
|
|
21977
21984
|
});
|
|
21978
21985
|
d(this, "onHover", ({ target: e }) => {
|
|
21979
21986
|
if (this.currentMeasureMesh)
|
|
@@ -22011,7 +22018,9 @@ class gE extends bt {
|
|
|
22011
22018
|
} else
|
|
22012
22019
|
this.pointSelector.adherePlane = [];
|
|
22013
22020
|
});
|
|
22014
|
-
this.five = e, this.group = new ni(), this.five.scene.add(this.group),
|
|
22021
|
+
this.five = e, this.group = new ni(), this.five.scene.add(this.group), bt("ctrl+z, command+z", this.undo), bt("esc", this.cancel), bt("enter", this.endMeasure), this.unbindHotKey = () => {
|
|
22022
|
+
bt.unbind("ctrl+z, command+z"), bt.unbind("esc"), bt.unbind("enter");
|
|
22023
|
+
};
|
|
22015
22024
|
}
|
|
22016
22025
|
get pointSelector() {
|
|
22017
22026
|
return this._pointSelector ? this._pointSelector : (this._pointSelector = new il(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
@@ -22582,12 +22591,12 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
22582
22591
|
};
|
|
22583
22592
|
let We;
|
|
22584
22593
|
for (let ze = 0, ot = xe.length; ze < ot; ze++) {
|
|
22585
|
-
const
|
|
22586
|
-
if (Je.weight >
|
|
22594
|
+
const It = xe[ze];
|
|
22595
|
+
if (Je.weight > It.weight) {
|
|
22587
22596
|
We = ze;
|
|
22588
22597
|
break;
|
|
22589
22598
|
}
|
|
22590
|
-
if (Je.distance <
|
|
22599
|
+
if (Je.distance < It.distance) {
|
|
22591
22600
|
We = ze;
|
|
22592
22601
|
break;
|
|
22593
22602
|
}
|
|
@@ -22613,7 +22622,7 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
22613
22622
|
Ze.distance + Sf
|
|
22614
22623
|
), [Je] = g.intersectObjects ? nt.intersectObjects(g.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(nt) : nt.intersectObjects(n.model.children, !0);
|
|
22615
22624
|
if (Je && Ze.distance - Je.distance < Sf) {
|
|
22616
|
-
const { position: We, normal: ze, id: ot, replacement:
|
|
22625
|
+
const { position: We, normal: ze, id: ot, replacement: It } = Ze, qn = new y.Plane().setFromNormalAndCoplanarPoint(ze, We), si = We.clone().sub(pe.position).cross(new y.Vector3(0, 1, 0)).setLength(Ul), bi = [
|
|
22617
22626
|
We.clone(),
|
|
22618
22627
|
We.clone().add(si),
|
|
22619
22628
|
We.clone().add(new y.Vector3(0, Ul, 0)).add(si),
|
|
@@ -22622,7 +22631,7 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
22622
22631
|
target: zi,
|
|
22623
22632
|
props: {
|
|
22624
22633
|
id: ot,
|
|
22625
|
-
content: g.render(g.template,
|
|
22634
|
+
content: g.render(g.template, It),
|
|
22626
22635
|
lineWidthZoom: 0.38 * (0.01 + pe.position.distanceTo(We) / h),
|
|
22627
22636
|
lineHeightZoom: 0.4 + (pe.position.distanceTo(We) - c) / h * 0.6,
|
|
22628
22637
|
contentZoom: 0.1 + pe.position.distanceTo(We) / h,
|
|
@@ -24416,14 +24425,14 @@ function B2(n) {
|
|
|
24416
24425
|
let Ze, ct, nt, Je, We;
|
|
24417
24426
|
ne < ae ? (Ze = m[ie * 6 + 1], ct = m[xe * 6 + 1], nt = m[_e * 6 + 1], Je = m[pe * 6 + 1], We = (ct + nt) / 2) : (Ze = m[ie * 6 + 4], ct = m[xe * 6 + 4], nt = m[_e * 6 + 4], Je = m[pe * 6 + 4], We = (ct + nt) / 2);
|
|
24418
24427
|
for (let ze = ie; ze < xe; ze++) {
|
|
24419
|
-
const ot = xe - ie,
|
|
24420
|
-
ne < ae ? m[ze * 6 + 1] = Ze + (We - Ze) *
|
|
24428
|
+
const ot = xe - ie, It = (ze - ie) / ot;
|
|
24429
|
+
ne < ae ? m[ze * 6 + 1] = Ze + (We - Ze) * It : m[ze * 6 + 4] = Ze + (We - Ze) * It;
|
|
24421
24430
|
}
|
|
24422
24431
|
for (let ze = xe; ze < _e; ze++)
|
|
24423
24432
|
ne < ae ? m[ze * 6 + 1] = We : m[ze * 6 + 4] = We;
|
|
24424
24433
|
for (let ze = _e; ze < pe; ze++) {
|
|
24425
|
-
const ot = pe - _e,
|
|
24426
|
-
ne < ae ? m[ze * 6 + 1] = We + (Je - We) *
|
|
24434
|
+
const ot = pe - _e, It = (ze - _e + 1) / ot;
|
|
24435
|
+
ne < ae ? m[ze * 6 + 1] = We + (Je - We) * It : m[ze * 6 + 4] = We + (Je - We) * It;
|
|
24427
24436
|
}
|
|
24428
24437
|
w.push({
|
|
24429
24438
|
start: xe,
|
|
@@ -25498,7 +25507,7 @@ class Xh {
|
|
|
25498
25507
|
const s = JSON.parse(JSON.stringify(e.data)), o = (l = e.initialConfig) != null ? l : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
25499
25508
|
e.initialConfig = o;
|
|
25500
25509
|
const r = Zl(e, t.config), a = this.getConfig(e);
|
|
25501
|
-
e.config = a, this.id = (c = e.id) != null ? c :
|
|
25510
|
+
e.config = a, this.id = (c = e.id) != null ? c : Dt(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = a.initialData) != null && u.important ? st(e.data, s, a.initialData) : st(e.data, a.initialData, s), this.state = R({
|
|
25502
25511
|
visible: void 0,
|
|
25503
25512
|
unfolded: !this.can("fold")
|
|
25504
25513
|
}, a.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
@@ -25510,7 +25519,7 @@ class Xh {
|
|
|
25510
25519
|
})(), this.matrix = e.matrix ? (() => {
|
|
25511
25520
|
const f = new y.Matrix4().fromArray(e.matrix);
|
|
25512
25521
|
return f.premultiply(t.workUtil.transform), f.elements;
|
|
25513
|
-
})() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new kr(), this.hooks = new
|
|
25522
|
+
})() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new kr(), this.hooks = new yt(), Object.keys(e).forEach((f) => {
|
|
25514
25523
|
this[f] === void 0 && e[f] !== void 0 && (this[f] = e[f]);
|
|
25515
25524
|
});
|
|
25516
25525
|
}
|
|
@@ -26408,7 +26417,7 @@ function AM(n) {
|
|
|
26408
26417
|
}
|
|
26409
26418
|
function bM(n, t, e) {
|
|
26410
26419
|
let i, s, o, r, { inDelay: a = 0 } = t, { outDelay: l = 0 } = t, { duration: c = 1e3 } = t, { unfolded: h } = t, { length: u } = t, { direction: f = "horizontal" } = t, { useLinearColor: p = !1 } = t, { color: v = "white" } = t;
|
|
26411
|
-
const g =
|
|
26420
|
+
const g = Dt();
|
|
26412
26421
|
return n.$$set = (m) => {
|
|
26413
26422
|
"inDelay" in m && e(0, a = m.inDelay), "outDelay" in m && e(1, l = m.outDelay), "duration" in m && e(2, c = m.duration), "unfolded" in m && e(3, h = m.unfolded), "length" in m && e(11, u = m.length), "direction" in m && e(12, f = m.direction), "useLinearColor" in m && e(4, p = m.useLinearColor), "color" in m && e(5, v = m.color);
|
|
26414
26423
|
}, n.$$.update = () => {
|
|
@@ -26816,10 +26825,10 @@ function DM(n, t, e) {
|
|
|
26816
26825
|
function m(D) {
|
|
26817
26826
|
const V = [], H = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
26818
26827
|
return D.slice().replace(H, (X) => `${c}${h}${X}${c}`).split(c).forEach((X) => X.startsWith(h) ? V.push({
|
|
26819
|
-
id:
|
|
26828
|
+
id: Dt(),
|
|
26820
26829
|
content: X.slice(h.length)
|
|
26821
26830
|
}) : V.push(...X.split("").map((A) => A === " " ? u : A === `
|
|
26822
|
-
` ? f : A).map((A) => ({ id:
|
|
26831
|
+
` ? f : A).map((A) => ({ id: Dt(), content: A })))), V;
|
|
26823
26832
|
}
|
|
26824
26833
|
function b() {
|
|
26825
26834
|
if (!v)
|
|
@@ -27326,7 +27335,7 @@ function ip(n) {
|
|
|
27326
27335
|
Z(t.$$.fragment, f), Z(i.$$.fragment, f), Z(r.$$.fragment, f), a = !1;
|
|
27327
27336
|
},
|
|
27328
27337
|
d(f) {
|
|
27329
|
-
ge(t, f), f && U(e), ge(i, f), f && U(s), f && U(o), ge(r), l = !1,
|
|
27338
|
+
ge(t, f), f && U(e), ge(i, f), f && U(s), f && U(o), ge(r), l = !1, Pt(c);
|
|
27330
27339
|
}
|
|
27331
27340
|
};
|
|
27332
27341
|
}
|
|
@@ -28048,7 +28057,7 @@ function sx(n) {
|
|
|
28048
28057
|
}
|
|
28049
28058
|
function ox(n, t, e) {
|
|
28050
28059
|
let { inDelay: i = 0 } = t, { duration: s = 1e3 } = t, { outDelay: o = 0 } = t, { unfolded: r } = t;
|
|
28051
|
-
const a =
|
|
28060
|
+
const a = Dt();
|
|
28052
28061
|
return n.$$set = (l) => {
|
|
28053
28062
|
"inDelay" in l && e(0, i = l.inDelay), "duration" in l && e(1, s = l.duration), "outDelay" in l && e(2, o = l.outDelay), "unfolded" in l && e(3, r = l.unfolded);
|
|
28054
28063
|
}, [i, s, o, r, a];
|
|
@@ -29015,7 +29024,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29015
29024
|
var Ze = Array.prototype, ct = Function.prototype, nt = Object.prototype, Je = ae["__core-js_shared__"], We = function() {
|
|
29016
29025
|
var P = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
|
|
29017
29026
|
return P ? "Symbol(src)_1." + P : "";
|
|
29018
|
-
}(), ze = ct.toString, ot = nt.hasOwnProperty,
|
|
29027
|
+
}(), ze = ct.toString, ot = nt.hasOwnProperty, It = nt.toString, qn = RegExp(
|
|
29019
29028
|
"^" + ze.call(ot).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
29020
29029
|
), si = Be ? ae.Buffer : void 0, bi = ae.Symbol, zi = ae.Uint8Array, Ot = xe(Object.getPrototypeOf, Object), yi = Object.create, ji = nt.propertyIsEnumerable, Ro = Ze.splice, Kn = Object.getOwnPropertySymbols, gn = si ? si.isBuffer : void 0, Ss = xe(Object.keys, Object), vn = j(ae, "DataView"), ui = j(ae, "Map"), oi = j(ae, "Promise"), An = j(ae, "Set"), bn = j(ae, "WeakMap"), Bi = j(Object, "create"), qi = Xt(vn), Ki = Xt(ui), $n = Xt(oi), es = Xt(An), yn = Xt(bn), Ri = bi ? bi.prototype : void 0, Ts = Ri ? Ri.valueOf : void 0;
|
|
29021
29030
|
function wi(P) {
|
|
@@ -29048,7 +29057,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29048
29057
|
return q[P] = Bi && z === void 0 ? i : z, this;
|
|
29049
29058
|
}
|
|
29050
29059
|
wi.prototype.clear = wn, wi.prototype.delete = Vo, wi.prototype.get = _o, wi.prototype.has = ts, wi.prototype.set = $i;
|
|
29051
|
-
function
|
|
29060
|
+
function Et(P) {
|
|
29052
29061
|
var z = -1, q = P ? P.length : 0;
|
|
29053
29062
|
for (this.clear(); ++z < q; ) {
|
|
29054
29063
|
var se = P[z];
|
|
@@ -29076,8 +29085,8 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29076
29085
|
var q = this.__data__, se = di(q, P);
|
|
29077
29086
|
return se < 0 ? q.push([P, z]) : q[se][1] = z, this;
|
|
29078
29087
|
}
|
|
29079
|
-
|
|
29080
|
-
function
|
|
29088
|
+
Et.prototype.clear = Ls, Et.prototype.delete = Fo, Et.prototype.get = Os, Et.prototype.has = zs, Et.prototype.set = js;
|
|
29089
|
+
function Mt(P) {
|
|
29081
29090
|
var z = -1, q = P ? P.length : 0;
|
|
29082
29091
|
for (this.clear(); ++z < q; ) {
|
|
29083
29092
|
var se = P[z];
|
|
@@ -29087,7 +29096,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29087
29096
|
function is() {
|
|
29088
29097
|
this.__data__ = {
|
|
29089
29098
|
hash: new wi(),
|
|
29090
|
-
map: new (ui ||
|
|
29099
|
+
map: new (ui || Et)(),
|
|
29091
29100
|
string: new wi()
|
|
29092
29101
|
};
|
|
29093
29102
|
}
|
|
@@ -29103,12 +29112,12 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29103
29112
|
function Cn(P, z) {
|
|
29104
29113
|
return O(this, P).set(P, z), this;
|
|
29105
29114
|
}
|
|
29106
|
-
|
|
29107
|
-
function
|
|
29108
|
-
this.__data__ = new
|
|
29115
|
+
Mt.prototype.clear = is, Mt.prototype.delete = Ci, Mt.prototype.get = en, Mt.prototype.has = tn, Mt.prototype.set = Cn;
|
|
29116
|
+
function St(P) {
|
|
29117
|
+
this.__data__ = new Et(P);
|
|
29109
29118
|
}
|
|
29110
29119
|
function Ho() {
|
|
29111
|
-
this.__data__ = new
|
|
29120
|
+
this.__data__ = new Et();
|
|
29112
29121
|
}
|
|
29113
29122
|
function No(P) {
|
|
29114
29123
|
return this.__data__.delete(P);
|
|
@@ -29121,15 +29130,15 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29121
29130
|
}
|
|
29122
29131
|
function Vi(P, z) {
|
|
29123
29132
|
var q = this.__data__;
|
|
29124
|
-
if (q instanceof
|
|
29133
|
+
if (q instanceof Et) {
|
|
29125
29134
|
var se = q.__data__;
|
|
29126
29135
|
if (!ui || se.length < e - 1)
|
|
29127
29136
|
return se.push([P, z]), this;
|
|
29128
|
-
q = this.__data__ = new
|
|
29137
|
+
q = this.__data__ = new Mt(se);
|
|
29129
29138
|
}
|
|
29130
29139
|
return q.set(P, z), this;
|
|
29131
29140
|
}
|
|
29132
|
-
|
|
29141
|
+
St.prototype.clear = Ho, St.prototype.delete = No, St.prototype.get = Pn, St.prototype.has = Rt, St.prototype.set = Vi;
|
|
29133
29142
|
function Wt(P, z) {
|
|
29134
29143
|
var q = Uo(P) || _s(P) ? je(P.length, String) : [], se = q.length, Fe = !!se;
|
|
29135
29144
|
for (var Te in P)
|
|
@@ -29155,8 +29164,8 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29155
29164
|
return qe;
|
|
29156
29165
|
if (!Fi(P))
|
|
29157
29166
|
return P;
|
|
29158
|
-
var
|
|
29159
|
-
if (
|
|
29167
|
+
var wt = Uo(P);
|
|
29168
|
+
if (wt) {
|
|
29160
29169
|
if (qe = ce(P), !z)
|
|
29161
29170
|
return ns(P, qe);
|
|
29162
29171
|
} else {
|
|
@@ -29174,14 +29183,14 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29174
29183
|
qe = Ne(P, $e, Qt, z);
|
|
29175
29184
|
}
|
|
29176
29185
|
}
|
|
29177
|
-
Ye || (Ye = new
|
|
29186
|
+
Ye || (Ye = new St());
|
|
29178
29187
|
var Kt = Ye.get(P);
|
|
29179
29188
|
if (Kt)
|
|
29180
29189
|
return Kt;
|
|
29181
|
-
if (Ye.set(P, qe), !
|
|
29182
|
-
var
|
|
29183
|
-
return ke(
|
|
29184
|
-
|
|
29190
|
+
if (Ye.set(P, qe), !wt)
|
|
29191
|
+
var kt = q ? Qo(P) : Xo(P);
|
|
29192
|
+
return ke(kt || P, function(_t, zt) {
|
|
29193
|
+
kt && (zt = _t, _t = P[zt]), qt(qe, zt, Qt(_t, z, q, se, zt, P, Ye));
|
|
29185
29194
|
}), qe;
|
|
29186
29195
|
}
|
|
29187
29196
|
function Bs(P) {
|
|
@@ -29192,10 +29201,10 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29192
29201
|
return Uo(P) ? se : pe(se, q(P));
|
|
29193
29202
|
}
|
|
29194
29203
|
function In(P) {
|
|
29195
|
-
return
|
|
29204
|
+
return It.call(P);
|
|
29196
29205
|
}
|
|
29197
29206
|
function Ut(P) {
|
|
29198
|
-
if (!Fi(P) ||
|
|
29207
|
+
if (!Fi(P) || xt(P))
|
|
29199
29208
|
return !1;
|
|
29200
29209
|
var z = Yo(P) || Ue(P) ? qn : J;
|
|
29201
29210
|
return z.test(Xt(P));
|
|
@@ -29271,7 +29280,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29271
29280
|
}
|
|
29272
29281
|
var Q = Kn ? xe(Kn, Object) : Il, te = In;
|
|
29273
29282
|
(vn && te(new vn(new ArrayBuffer(1))) != D || ui && te(new ui()) != f || oi && te(oi.resolve()) != g || An && te(new An()) != b || bn && te(new bn()) != E) && (te = function(P) {
|
|
29274
|
-
var z =
|
|
29283
|
+
var z = It.call(P), q = z == v ? P.constructor : void 0, se = q ? Xt(q) : void 0;
|
|
29275
29284
|
if (se)
|
|
29276
29285
|
switch (se) {
|
|
29277
29286
|
case qi:
|
|
@@ -29334,7 +29343,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29334
29343
|
var z = typeof P;
|
|
29335
29344
|
return z == "string" || z == "number" || z == "symbol" || z == "boolean" ? P !== "__proto__" : P === null;
|
|
29336
29345
|
}
|
|
29337
|
-
function
|
|
29346
|
+
function xt(P) {
|
|
29338
29347
|
return !!We && We in P;
|
|
29339
29348
|
}
|
|
29340
29349
|
function Yt(P) {
|
|
@@ -29361,7 +29370,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29361
29370
|
return P === z || P !== P && z !== z;
|
|
29362
29371
|
}
|
|
29363
29372
|
function _s(P) {
|
|
29364
|
-
return Pl(P) && ot.call(P, "callee") && (!ji.call(P, "callee") ||
|
|
29373
|
+
return Pl(P) && ot.call(P, "callee") && (!ji.call(P, "callee") || It.call(P) == o);
|
|
29365
29374
|
}
|
|
29366
29375
|
var Uo = Array.isArray;
|
|
29367
29376
|
function Fs(P) {
|
|
@@ -29372,7 +29381,7 @@ var pa = Y3, Ja = {}, X3 = {
|
|
|
29372
29381
|
}
|
|
29373
29382
|
var Nr = gn || El;
|
|
29374
29383
|
function Yo(P) {
|
|
29375
|
-
var z = Fi(P) ?
|
|
29384
|
+
var z = Fi(P) ? It.call(P) : "";
|
|
29376
29385
|
return z == h || z == u;
|
|
29377
29386
|
}
|
|
29378
29387
|
function Gr(P) {
|
|
@@ -29465,13 +29474,13 @@ var qa = {}, J3 = {
|
|
|
29465
29474
|
q[++z] = se;
|
|
29466
29475
|
}), q;
|
|
29467
29476
|
}
|
|
29468
|
-
var
|
|
29477
|
+
var It = Array.prototype, qn = Function.prototype, si = Object.prototype, bi = we["__core-js_shared__"], zi = qn.toString, Ot = si.hasOwnProperty, yi = function() {
|
|
29469
29478
|
var P = /[^.]+$/.exec(bi && bi.keys && bi.keys.IE_PROTO || "");
|
|
29470
29479
|
return P ? "Symbol(src)_1." + P : "";
|
|
29471
29480
|
}(), ji = si.toString, Ro = RegExp(
|
|
29472
29481
|
"^" + zi.call(Ot).replace(ne, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
29473
|
-
), Kn = Xe ? we.Buffer : void 0, gn = we.Symbol, Ss = we.Uint8Array, vn = si.propertyIsEnumerable, ui =
|
|
29474
|
-
function
|
|
29482
|
+
), Kn = Xe ? we.Buffer : void 0, gn = we.Symbol, Ss = we.Uint8Array, vn = si.propertyIsEnumerable, ui = It.splice, oi = gn ? gn.toStringTag : void 0, An = Object.getOwnPropertySymbols, bn = Kn ? Kn.isBuffer : void 0, Bi = ze(Object.keys, Object), qi = Q(we, "DataView"), Ki = Q(we, "Map"), $n = Q(we, "Promise"), es = Q(we, "Set"), yn = Q(we, "WeakMap"), Ri = Q(Object, "create"), Ts = Xt(qi), wi = Xt(Ki), wn = Xt($n), Vo = Xt(es), _o = Xt(yn), ts = gn ? gn.prototype : void 0, $i = ts ? ts.valueOf : void 0;
|
|
29483
|
+
function Et(P) {
|
|
29475
29484
|
var z = -1, q = P == null ? 0 : P.length;
|
|
29476
29485
|
for (this.clear(); ++z < q; ) {
|
|
29477
29486
|
var se = P[z];
|
|
@@ -29501,8 +29510,8 @@ var qa = {}, J3 = {
|
|
|
29501
29510
|
var q = this.__data__;
|
|
29502
29511
|
return this.size += this.has(P) ? 0 : 1, q[P] = Ri && z === void 0 ? i : z, this;
|
|
29503
29512
|
}
|
|
29504
|
-
|
|
29505
|
-
function
|
|
29513
|
+
Et.prototype.clear = Ls, Et.prototype.delete = Fo, Et.prototype.get = Os, Et.prototype.has = zs, Et.prototype.set = js;
|
|
29514
|
+
function Mt(P) {
|
|
29506
29515
|
var z = -1, q = P == null ? 0 : P.length;
|
|
29507
29516
|
for (this.clear(); ++z < q; ) {
|
|
29508
29517
|
var se = P[z];
|
|
@@ -29530,8 +29539,8 @@ var qa = {}, J3 = {
|
|
|
29530
29539
|
var q = this.__data__, se = _i(q, P);
|
|
29531
29540
|
return se < 0 ? (++this.size, q.push([P, z])) : q[se][1] = z, this;
|
|
29532
29541
|
}
|
|
29533
|
-
|
|
29534
|
-
function
|
|
29542
|
+
Mt.prototype.clear = is, Mt.prototype.delete = Ci, Mt.prototype.get = en, Mt.prototype.has = tn, Mt.prototype.set = Cn;
|
|
29543
|
+
function St(P) {
|
|
29535
29544
|
var z = -1, q = P == null ? 0 : P.length;
|
|
29536
29545
|
for (this.clear(); ++z < q; ) {
|
|
29537
29546
|
var se = P[z];
|
|
@@ -29540,9 +29549,9 @@ var qa = {}, J3 = {
|
|
|
29540
29549
|
}
|
|
29541
29550
|
function Ho() {
|
|
29542
29551
|
this.size = 0, this.__data__ = {
|
|
29543
|
-
hash: new
|
|
29544
|
-
map: new (Ki ||
|
|
29545
|
-
string: new
|
|
29552
|
+
hash: new Et(),
|
|
29553
|
+
map: new (Ki || Mt)(),
|
|
29554
|
+
string: new Et()
|
|
29546
29555
|
};
|
|
29547
29556
|
}
|
|
29548
29557
|
function No(P) {
|
|
@@ -29559,10 +29568,10 @@ var qa = {}, J3 = {
|
|
|
29559
29568
|
var q = j(this, P), se = q.size;
|
|
29560
29569
|
return q.set(P, z), this.size += q.size == se ? 0 : 1, this;
|
|
29561
29570
|
}
|
|
29562
|
-
|
|
29571
|
+
St.prototype.clear = Ho, St.prototype.delete = No, St.prototype.get = Pn, St.prototype.has = Rt, St.prototype.set = Vi;
|
|
29563
29572
|
function Wt(P) {
|
|
29564
29573
|
var z = -1, q = P == null ? 0 : P.length;
|
|
29565
|
-
for (this.__data__ = new
|
|
29574
|
+
for (this.__data__ = new St(); ++z < q; )
|
|
29566
29575
|
this.add(P[z]);
|
|
29567
29576
|
}
|
|
29568
29577
|
function qt(P) {
|
|
@@ -29573,11 +29582,11 @@ var qa = {}, J3 = {
|
|
|
29573
29582
|
}
|
|
29574
29583
|
Wt.prototype.add = Wt.prototype.push = qt, Wt.prototype.has = di;
|
|
29575
29584
|
function vt(P) {
|
|
29576
|
-
var z = this.__data__ = new
|
|
29585
|
+
var z = this.__data__ = new Mt(P);
|
|
29577
29586
|
this.size = z.size;
|
|
29578
29587
|
}
|
|
29579
29588
|
function Qt() {
|
|
29580
|
-
this.__data__ = new
|
|
29589
|
+
this.__data__ = new Mt(), this.size = 0;
|
|
29581
29590
|
}
|
|
29582
29591
|
function Bs(P) {
|
|
29583
29592
|
var z = this.__data__, q = z.delete(P);
|
|
@@ -29591,23 +29600,23 @@ var qa = {}, J3 = {
|
|
|
29591
29600
|
}
|
|
29592
29601
|
function Ut(P, z) {
|
|
29593
29602
|
var q = this.__data__;
|
|
29594
|
-
if (q instanceof
|
|
29603
|
+
if (q instanceof Mt) {
|
|
29595
29604
|
var se = q.__data__;
|
|
29596
29605
|
if (!Ki || se.length < e - 1)
|
|
29597
29606
|
return se.push([P, z]), this.size = ++q.size, this;
|
|
29598
|
-
q = this.__data__ = new
|
|
29607
|
+
q = this.__data__ = new St(se);
|
|
29599
29608
|
}
|
|
29600
29609
|
return q.set(P, z), this.size = q.size, this;
|
|
29601
29610
|
}
|
|
29602
29611
|
vt.prototype.clear = Qt, vt.prototype.delete = Bs, vt.prototype.get = Rs, vt.prototype.has = In, vt.prototype.set = Ut;
|
|
29603
29612
|
function En(P, z) {
|
|
29604
|
-
var q = _s(P), se = !q && Hr(P), Fe = !q && !se && Fs(P), Te = !q && !se && !Fe && Wr(P), Ye = q || se || Fe || Te, qe = Ye ? Ze(P.length, String) : [],
|
|
29613
|
+
var q = _s(P), se = !q && Hr(P), Fe = !q && !se && Fs(P), Te = !q && !se && !Fe && Wr(P), Ye = q || se || Fe || Te, qe = Ye ? Ze(P.length, String) : [], wt = qe.length;
|
|
29605
29614
|
for (var $e in P)
|
|
29606
29615
|
(z || Ot.call(P, $e)) && !(Ye && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
29607
29616
|
($e == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
29608
29617
|
Fe && ($e == "offset" || $e == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
29609
29618
|
Te && ($e == "buffer" || $e == "byteLength" || $e == "byteOffset") || // Skip index properties.
|
|
29610
|
-
Ne($e,
|
|
29619
|
+
Ne($e, wt))) && qe.push($e);
|
|
29611
29620
|
return qe;
|
|
29612
29621
|
}
|
|
29613
29622
|
function _i(P, z) {
|
|
@@ -29630,16 +29639,16 @@ var qa = {}, J3 = {
|
|
|
29630
29639
|
return P === z ? !0 : P == null || z == null || !Fi(P) && !Fi(z) ? P !== P && z !== z : ri(P, z, q, se, sn, Fe);
|
|
29631
29640
|
}
|
|
29632
29641
|
function ri(P, z, q, se, Fe, Te) {
|
|
29633
|
-
var Ye = _s(P), qe = _s(z),
|
|
29634
|
-
|
|
29635
|
-
var Vt =
|
|
29636
|
-
if (
|
|
29642
|
+
var Ye = _s(P), qe = _s(z), wt = Ye ? l : be(P), $e = qe ? l : be(z);
|
|
29643
|
+
wt = wt == a ? C : wt, $e = $e == a ? C : $e;
|
|
29644
|
+
var Vt = wt == C, Kt = $e == C, kt = wt == $e;
|
|
29645
|
+
if (kt && Fs(P)) {
|
|
29637
29646
|
if (!Fs(z))
|
|
29638
29647
|
return !1;
|
|
29639
29648
|
Ye = !0, Vt = !1;
|
|
29640
29649
|
}
|
|
29641
|
-
if (
|
|
29642
|
-
return Te || (Te = new vt()), Ye || Wr(P) ? xn(P, z, q, se, Fe, Te) : Wo(P, z,
|
|
29650
|
+
if (kt && !Vt)
|
|
29651
|
+
return Te || (Te = new vt()), Ye || Wr(P) ? xn(P, z, q, se, Fe, Te) : Wo(P, z, wt, q, se, Fe, Te);
|
|
29643
29652
|
if (!(q & s)) {
|
|
29644
29653
|
var _t = Vt && Ot.call(P, "__wrapped__"), zt = Kt && Ot.call(z, "__wrapped__");
|
|
29645
29654
|
if (_t || zt) {
|
|
@@ -29647,7 +29656,7 @@ var qa = {}, J3 = {
|
|
|
29647
29656
|
return Te || (Te = new vt()), Fe(kn, on, q, se, Te);
|
|
29648
29657
|
}
|
|
29649
29658
|
}
|
|
29650
|
-
return
|
|
29659
|
+
return kt ? (Te || (Te = new vt()), Qo(P, z, q, se, Fe, Te)) : !1;
|
|
29651
29660
|
}
|
|
29652
29661
|
function Go(P) {
|
|
29653
29662
|
if (!Gr(P) || At(P))
|
|
@@ -29659,7 +29668,7 @@ var qa = {}, J3 = {
|
|
|
29659
29668
|
return Fi(P) && Yo(P.length) && !!Ae[Pi(P)];
|
|
29660
29669
|
}
|
|
29661
29670
|
function ns(P) {
|
|
29662
|
-
if (!
|
|
29671
|
+
if (!xt(P))
|
|
29663
29672
|
return Bi(P);
|
|
29664
29673
|
var z = [];
|
|
29665
29674
|
for (var q in Object(P))
|
|
@@ -29667,13 +29676,13 @@ var qa = {}, J3 = {
|
|
|
29667
29676
|
return z;
|
|
29668
29677
|
}
|
|
29669
29678
|
function xn(P, z, q, se, Fe, Te) {
|
|
29670
|
-
var Ye = q & s, qe = P.length,
|
|
29671
|
-
if (qe !=
|
|
29679
|
+
var Ye = q & s, qe = P.length, wt = z.length;
|
|
29680
|
+
if (qe != wt && !(Ye && wt > qe))
|
|
29672
29681
|
return !1;
|
|
29673
29682
|
var $e = Te.get(P);
|
|
29674
29683
|
if ($e && Te.get(z))
|
|
29675
29684
|
return $e == z;
|
|
29676
|
-
var Vt = -1, Kt = !0,
|
|
29685
|
+
var Vt = -1, Kt = !0, kt = q & o ? new Wt() : void 0;
|
|
29677
29686
|
for (Te.set(P, z), Te.set(z, P); ++Vt < qe; ) {
|
|
29678
29687
|
var _t = P[Vt], zt = z[Vt];
|
|
29679
29688
|
if (se)
|
|
@@ -29684,10 +29693,10 @@ var qa = {}, J3 = {
|
|
|
29684
29693
|
Kt = !1;
|
|
29685
29694
|
break;
|
|
29686
29695
|
}
|
|
29687
|
-
if (
|
|
29696
|
+
if (kt) {
|
|
29688
29697
|
if (!_e(z, function(on, ss) {
|
|
29689
|
-
if (!nt(
|
|
29690
|
-
return
|
|
29698
|
+
if (!nt(kt, ss) && (_t === on || Fe(_t, on, q, se, Te)))
|
|
29699
|
+
return kt.push(ss);
|
|
29691
29700
|
})) {
|
|
29692
29701
|
Kt = !1;
|
|
29693
29702
|
break;
|
|
@@ -29719,8 +29728,8 @@ var qa = {}, J3 = {
|
|
|
29719
29728
|
case g:
|
|
29720
29729
|
var qe = We;
|
|
29721
29730
|
case D:
|
|
29722
|
-
var
|
|
29723
|
-
if (qe || (qe = ot), P.size != z.size && !
|
|
29731
|
+
var wt = se & s;
|
|
29732
|
+
if (qe || (qe = ot), P.size != z.size && !wt)
|
|
29724
29733
|
return !1;
|
|
29725
29734
|
var $e = Ye.get(P);
|
|
29726
29735
|
if ($e)
|
|
@@ -29735,12 +29744,12 @@ var qa = {}, J3 = {
|
|
|
29735
29744
|
return !1;
|
|
29736
29745
|
}
|
|
29737
29746
|
function Qo(P, z, q, se, Fe, Te) {
|
|
29738
|
-
var Ye = q & s, qe = O(P),
|
|
29739
|
-
if (
|
|
29747
|
+
var Ye = q & s, qe = O(P), wt = qe.length, $e = O(z), Vt = $e.length;
|
|
29748
|
+
if (wt != Vt && !Ye)
|
|
29740
29749
|
return !1;
|
|
29741
|
-
for (var Kt =
|
|
29742
|
-
var
|
|
29743
|
-
if (!(Ye ?
|
|
29750
|
+
for (var Kt = wt; Kt--; ) {
|
|
29751
|
+
var kt = qe[Kt];
|
|
29752
|
+
if (!(Ye ? kt in z : Ot.call(z, kt)))
|
|
29744
29753
|
return !1;
|
|
29745
29754
|
}
|
|
29746
29755
|
var _t = Te.get(P);
|
|
@@ -29748,16 +29757,16 @@ var qa = {}, J3 = {
|
|
|
29748
29757
|
return _t == z;
|
|
29749
29758
|
var zt = !0;
|
|
29750
29759
|
Te.set(P, z), Te.set(z, P);
|
|
29751
|
-
for (var kn = Ye; ++Kt <
|
|
29752
|
-
|
|
29753
|
-
var on = P[
|
|
29760
|
+
for (var kn = Ye; ++Kt < wt; ) {
|
|
29761
|
+
kt = qe[Kt];
|
|
29762
|
+
var on = P[kt], ss = z[kt];
|
|
29754
29763
|
if (se)
|
|
29755
|
-
var pu = Ye ? se(ss, on,
|
|
29764
|
+
var pu = Ye ? se(ss, on, kt, z, P, Te) : se(on, ss, kt, P, z, Te);
|
|
29756
29765
|
if (!(pu === void 0 ? on === ss || Fe(on, ss, q, se, Te) : pu)) {
|
|
29757
29766
|
zt = !1;
|
|
29758
29767
|
break;
|
|
29759
29768
|
}
|
|
29760
|
-
kn || (kn =
|
|
29769
|
+
kn || (kn = kt == "constructor");
|
|
29761
29770
|
}
|
|
29762
29771
|
if (zt && !kn) {
|
|
29763
29772
|
var Qr = P.constructor, Ur = z.constructor;
|
|
@@ -29818,7 +29827,7 @@ var qa = {}, J3 = {
|
|
|
29818
29827
|
function At(P) {
|
|
29819
29828
|
return !!yi && yi in P;
|
|
29820
29829
|
}
|
|
29821
|
-
function
|
|
29830
|
+
function xt(P) {
|
|
29822
29831
|
var z = P && P.constructor, q = typeof z == "function" && z.prototype || si;
|
|
29823
29832
|
return P === q;
|
|
29824
29833
|
}
|
|
@@ -30818,7 +30827,7 @@ function Ak(n) {
|
|
|
30818
30827
|
Z(p), Z(g, x), Z(m), Z(b), Z(C), h = !1;
|
|
30819
30828
|
},
|
|
30820
30829
|
d(x) {
|
|
30821
|
-
x && U(t), p && p.d(), g && g.d(x), n[39](null), m && m.d(), n[40](null), b && b.d(), C && C.d(), u = !1,
|
|
30830
|
+
x && U(t), p && p.d(), g && g.d(x), n[39](null), m && m.d(), n[40](null), b && b.d(), C && C.d(), u = !1, Pt(f);
|
|
30822
30831
|
}
|
|
30823
30832
|
};
|
|
30824
30833
|
}
|
|
@@ -31262,7 +31271,7 @@ function Ik(n) {
|
|
|
31262
31271
|
);
|
|
31263
31272
|
},
|
|
31264
31273
|
d(a) {
|
|
31265
|
-
a && U(t), n[20](null), o = !1,
|
|
31274
|
+
a && U(t), n[20](null), o = !1, Pt(r);
|
|
31266
31275
|
}
|
|
31267
31276
|
};
|
|
31268
31277
|
}
|
|
@@ -32225,7 +32234,7 @@ function Vp(n) {
|
|
|
32225
32234
|
}
|
|
32226
32235
|
},
|
|
32227
32236
|
d(h) {
|
|
32228
|
-
h && U(t), Si(a, h), Si(c, h), s = !1,
|
|
32237
|
+
h && U(t), Si(a, h), Si(c, h), s = !1, Pt(o);
|
|
32229
32238
|
}
|
|
32230
32239
|
};
|
|
32231
32240
|
}
|
|
@@ -33071,7 +33080,7 @@ function Xp(n) {
|
|
|
33071
33080
|
Z(e.$$.fragment, C), Z(g), Z(c.$$.fragment, C), Z(u.$$.fragment, C), f = !1;
|
|
33072
33081
|
},
|
|
33073
33082
|
d(C) {
|
|
33074
|
-
C && U(t), ge(e), g && g.d(), ge(c), ge(u), p = !1,
|
|
33083
|
+
C && U(t), ge(e), g && g.d(), ge(c), ge(u), p = !1, Pt(v);
|
|
33075
33084
|
}
|
|
33076
33085
|
};
|
|
33077
33086
|
}
|
|
@@ -37598,7 +37607,7 @@ let m0 = class extends p0 {
|
|
|
37598
37607
|
}
|
|
37599
37608
|
load(e, i) {
|
|
37600
37609
|
var a, l, c, h, u, f, p, v, g;
|
|
37601
|
-
this.handlePause(), this.clear(), this.data = R({ id:
|
|
37610
|
+
this.handlePause(), this.clear(), this.data = R({ id: Dt() }, e);
|
|
37602
37611
|
const s = (() => {
|
|
37603
37612
|
if (this.data.path instanceof y.Curve)
|
|
37604
37613
|
return this.data.path.curves[0];
|
|
@@ -37623,7 +37632,7 @@ let m0 = class extends p0 {
|
|
|
37623
37632
|
!this.GuideLine && (((p = this.config) == null ? void 0 : p.useGuideLine) !== !1 && e.useGuildLine || (v = this.config) != null && v.useGuideLine && e.useGuildLine !== !1) && (this.GuideLine = OS(this.five, this.config)), (g = this.GuideLine) == null || g.load({
|
|
37624
37633
|
lines: [
|
|
37625
37634
|
{
|
|
37626
|
-
id:
|
|
37635
|
+
id: Dt(),
|
|
37627
37636
|
path: [{ type: "CatmullRomCurve3", points: m }],
|
|
37628
37637
|
model_style: { visible: !0 }
|
|
37629
37638
|
}
|
|
@@ -37789,11 +37798,11 @@ class su extends p0 {
|
|
|
37789
37798
|
})();
|
|
37790
37799
|
if (i.keyframes)
|
|
37791
37800
|
return {
|
|
37792
|
-
keyframesId:
|
|
37801
|
+
keyframesId: Dt(),
|
|
37793
37802
|
keyframes: i.keyframes.map((s, o) => {
|
|
37794
37803
|
var l;
|
|
37795
37804
|
const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
|
|
37796
|
-
return he(R({ id: (l = s.uuid) != null ? l :
|
|
37805
|
+
return he(R({ id: (l = s.uuid) != null ? l : Dt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
|
|
37797
37806
|
})
|
|
37798
37807
|
};
|
|
37799
37808
|
if (i.panoIndexList) {
|
|
@@ -37817,8 +37826,8 @@ class su extends p0 {
|
|
|
37817
37826
|
data: R({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
|
|
37818
37827
|
}) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), h && s.push({ moveIndex: c, stay: i.stay, data: R({ effect: "Rotate", panoIndex: l }, h) }));
|
|
37819
37828
|
}), {
|
|
37820
|
-
keyframesId:
|
|
37821
|
-
keyframes: s.map((l, c) => R({ id:
|
|
37829
|
+
keyframesId: Dt(),
|
|
37830
|
+
keyframes: s.map((l, c) => R({ id: Dt(), index: c }, l)),
|
|
37822
37831
|
guildPluginOptions: i.guildPluginOptions,
|
|
37823
37832
|
useGuildLine: i.useGuildLine
|
|
37824
37833
|
};
|
|
@@ -37838,7 +37847,7 @@ class su extends p0 {
|
|
|
37838
37847
|
const { data: i, state: s, privateState: o, hooks: r } = this;
|
|
37839
37848
|
if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
|
|
37840
37849
|
return;
|
|
37841
|
-
const a =
|
|
37850
|
+
const a = Dt();
|
|
37842
37851
|
o.playId = a, o.playing = !0, o.broke = !1;
|
|
37843
37852
|
const l = i.keyframes, c = this.getPauseData();
|
|
37844
37853
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (p = e == null ? void 0 : e.userAction) != null ? p : !0 });
|
|
@@ -38103,7 +38112,7 @@ class v0 {
|
|
|
38103
38112
|
d(this, "isGuideLine", !0);
|
|
38104
38113
|
d(this, "panoramaItem");
|
|
38105
38114
|
d(this, "modelItem");
|
|
38106
|
-
d(this, "hooks", new
|
|
38115
|
+
d(this, "hooks", new yt());
|
|
38107
38116
|
d(this, "_visible", !0);
|
|
38108
38117
|
d(this, "plugin");
|
|
38109
38118
|
d(this, "five");
|
|
@@ -38238,7 +38247,7 @@ let LS = class extends mn {
|
|
|
38238
38247
|
}
|
|
38239
38248
|
}, h = (C = (b = r.routes) == null ? void 0 : b.map((S) => {
|
|
38240
38249
|
var D;
|
|
38241
|
-
return st({}, c, { id: (D = S.id) != null ? D :
|
|
38250
|
+
return st({}, c, { id: (D = S.id) != null ? D : Dt(), pano_group: S.panoIndexList });
|
|
38242
38251
|
})) != null ? C : [], u = (E = (x = r.lines) == null ? void 0 : x.map((S) => st({}, c, S))) != null ? E : [], f = [...h, ...u];
|
|
38243
38252
|
yield li(this.five), this.clear(), f.forEach((S) => {
|
|
38244
38253
|
this.addGuideLineItem(S);
|
|
@@ -38982,7 +38991,7 @@ const va = /* @__PURE__ */ new Map();
|
|
|
38982
38991
|
function eT(n) {
|
|
38983
38992
|
if (va.has(n))
|
|
38984
38993
|
return va.get(n).hooks;
|
|
38985
|
-
const t = new
|
|
38994
|
+
const t = new yt();
|
|
38986
38995
|
let e = null, i;
|
|
38987
38996
|
const s = () => {
|
|
38988
38997
|
e = requestAnimationFrame(s);
|
|
@@ -39027,7 +39036,7 @@ class Vr {
|
|
|
39027
39036
|
});
|
|
39028
39037
|
d(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = xs(this.originObject3D), this.boundingBox));
|
|
39029
39038
|
var h, u, f;
|
|
39030
|
-
this.hooks = (h = t.sharedHooks) != null ? h : new
|
|
39039
|
+
this.hooks = (h = t.sharedHooks) != null ? h : new yt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new yt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = t.domEvents, this.onRender = (f = t.onRender) != null ? f : () => {
|
|
39031
39040
|
}, this.config = e != null ? e : {}, this.initialHelperPosition(), this.initialHelperQuaternion(), this.updateHelperScale(), this.cameraHooks = eT(this.camera), this.enable();
|
|
39032
39041
|
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);
|
|
39033
39042
|
this.cameraHooks.on("cameraUpdate", this.updateHelperScale), 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.hooks.on("moveEnd", this.updateHelperScale), this.internalHooks.on("setObjectPosition", this.updateHelperScale), this.internalHooks.on("initialHelperPosition", this.updateHelperScale), this.disposers.push(() => {
|
|
@@ -39377,7 +39386,7 @@ class aT {
|
|
|
39377
39386
|
enabled: !0,
|
|
39378
39387
|
disposed: !1
|
|
39379
39388
|
});
|
|
39380
|
-
d(this, "hooks", new
|
|
39389
|
+
d(this, "hooks", new yt());
|
|
39381
39390
|
d(this, "eventListener", {});
|
|
39382
39391
|
t && this.addControllers(t), this.setState(this.state);
|
|
39383
39392
|
}
|
|
@@ -40120,7 +40129,7 @@ class b0 extends Xn {
|
|
|
40120
40129
|
scaleHelper: !0,
|
|
40121
40130
|
boundingBoxHelper: !1,
|
|
40122
40131
|
positionFrom: "objectPosition"
|
|
40123
|
-
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: p } = c, v = s.hooks, g = new
|
|
40132
|
+
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: p } = c, v = s.hooks, g = new yt(), m = new Ke(this.five.camera, this.five.getElement()), b = (x) => {
|
|
40124
40133
|
if (x)
|
|
40125
40134
|
return typeof x == "boolean" ? x : x.enable;
|
|
40126
40135
|
};
|
|
@@ -41525,7 +41534,7 @@ class GT {
|
|
|
41525
41534
|
/** 标注标签的显示层级 */
|
|
41526
41535
|
d(this, "tagZIndex", 0);
|
|
41527
41536
|
/** 标注实例的事件处理器 */
|
|
41528
|
-
d(this, "hooks", new
|
|
41537
|
+
d(this, "hooks", new yt());
|
|
41529
41538
|
/** 自定义 Dom */
|
|
41530
41539
|
d(this, "itemRenderer");
|
|
41531
41540
|
/** 数据 */
|
|
@@ -42402,9 +42411,9 @@ class Oi extends ni {
|
|
|
42402
42411
|
});
|
|
42403
42412
|
e != null && e.id && (this.uuid = e.id), this.config = R({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
|
|
42404
42413
|
Nh(this);
|
|
42405
|
-
}),
|
|
42414
|
+
}), bt("esc", () => {
|
|
42406
42415
|
this.stopCreating();
|
|
42407
|
-
}), this.config.defaultAction && (
|
|
42416
|
+
}), this.config.defaultAction && (bt("backspace, delete", () => {
|
|
42408
42417
|
this.selected && this.delete();
|
|
42409
42418
|
}), this.on("click", () => {
|
|
42410
42419
|
var s;
|
|
@@ -42412,7 +42421,7 @@ class Oi extends ni {
|
|
|
42412
42421
|
var r;
|
|
42413
42422
|
o instanceof Oi && o !== this && ((r = o._editor) == null || r.disable());
|
|
42414
42423
|
}));
|
|
42415
|
-
}),
|
|
42424
|
+
}), bt("esc", () => {
|
|
42416
42425
|
this.selected && this.unselect();
|
|
42417
42426
|
}));
|
|
42418
42427
|
}
|
|
@@ -42508,7 +42517,7 @@ class Oi extends ni {
|
|
|
42508
42517
|
class Cl extends ni {
|
|
42509
42518
|
constructor(e) {
|
|
42510
42519
|
super();
|
|
42511
|
-
d(this, "hooks", new
|
|
42520
|
+
d(this, "hooks", new yt());
|
|
42512
42521
|
d(this, "originObject");
|
|
42513
42522
|
this.originObject = e;
|
|
42514
42523
|
}
|
|
@@ -44123,7 +44132,7 @@ function V0(n, t, e) {
|
|
|
44123
44132
|
redo: C
|
|
44124
44133
|
};
|
|
44125
44134
|
}
|
|
44126
|
-
const io = class extends
|
|
44135
|
+
const io = class extends yt {
|
|
44127
44136
|
constructor(e, i) {
|
|
44128
44137
|
super();
|
|
44129
44138
|
d(this, "group");
|
|
@@ -44144,7 +44153,7 @@ const io = class extends bt {
|
|
|
44144
44153
|
var e;
|
|
44145
44154
|
console.log("redo"), (e = this.creatingItem) == null || e.redo(), this.five.needsRender = !0;
|
|
44146
44155
|
});
|
|
44147
|
-
this.five = e, this.theme = i, this.group = new ni(), this.group.name = "Sculpt", e.scene.add(this.group), io.modules.init(e),
|
|
44156
|
+
this.five = e, this.theme = i, this.group = new ni(), this.group.name = "Sculpt", e.scene.add(this.group), io.modules.init(e), bt("ctrl+z, command+z", this.undo), bt("ctrl+shift+z, command+shift+z", this.redo), io.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s, origDomEvent: o }) => {
|
|
44148
44157
|
var a;
|
|
44149
44158
|
const r = P0((a = s == null ? void 0 : s[0]) == null ? void 0 : a.object, (l) => l.isSculptObject);
|
|
44150
44159
|
return r && !r.editing ? this.emit("click", o, r) : !1;
|
|
@@ -44322,7 +44331,7 @@ const _0 = (n) => ((!Aa || n !== Aa.five) && (Aa = {
|
|
|
44322
44331
|
instance: new uo(n, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
|
|
44323
44332
|
five: n
|
|
44324
44333
|
}), Aa.instance);
|
|
44325
|
-
class F0 extends
|
|
44334
|
+
class F0 extends yt {
|
|
44326
44335
|
constructor(e) {
|
|
44327
44336
|
var s, o;
|
|
44328
44337
|
super();
|
|
@@ -44766,7 +44775,7 @@ const NL = (...n) => new g5(...n), v5 = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44766
44775
|
sculpt: v5,
|
|
44767
44776
|
tag: Fm,
|
|
44768
44777
|
tweenProgress: br,
|
|
44769
|
-
uuid:
|
|
44778
|
+
uuid: Dt,
|
|
44770
44779
|
waitFiveModelLoaded: li,
|
|
44771
44780
|
worldBounding: nl,
|
|
44772
44781
|
worldBoundingBox: _b,
|