@realsee/dnalogel 2.20.1 → 2.20.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/GuideLinePlugin/Controller.d.ts +3 -3
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -16
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -2
- package/dist/index.cjs.js +26 -26
- package/dist/index.js +580 -616
- package/dist/index.umd.js +19 -19
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +31 -79
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +22 -22
- package/docs/classes/PanoMeasurePluginModel.html +21 -21
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +11 -11
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +16 -16
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +13 -13
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/GuideLinePlugin/Controller.d.ts +3 -3
- package/libs/GuideLinePlugin/Controller.js +39 -39
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -108
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -16
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +17 -19
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +28 -30
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import Ra from "animejs";
|
|
|
38
38
|
import { GLTFLoader as Wu } from "@realsee/five/gltf-loader";
|
|
39
39
|
function Nu() {
|
|
40
40
|
console.info(
|
|
41
|
-
"%c %c@realsee/dnalogel %cv2.20.
|
|
41
|
+
"%c %c@realsee/dnalogel %cv2.20.2",
|
|
42
42
|
[
|
|
43
43
|
"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=')",
|
|
44
44
|
"background-repeat: no-repeat",
|
|
@@ -1071,7 +1071,7 @@ const fI = (i, t) => {
|
|
|
1071
1071
|
const m = () => {
|
|
1072
1072
|
if (n)
|
|
1073
1073
|
return;
|
|
1074
|
-
h = S(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new E.Vector3()), l.remove(d), d = G(i.model), l.add(d), n = !0,
|
|
1074
|
+
h = S(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new E.Vector3()), l.remove(d), d = G(i.model), l.add(d), n = !0, T();
|
|
1075
1075
|
function B(U) {
|
|
1076
1076
|
const Y = U.clone();
|
|
1077
1077
|
return Y.uniforms.modelAlpha.value = 1, Y.uniforms.map.value && (Y.uniforms.map.value.needsUpdate = !0), Y;
|
|
@@ -1094,13 +1094,13 @@ const fI = (i, t) => {
|
|
|
1094
1094
|
}, g = () => {
|
|
1095
1095
|
d.traverse((B) => {
|
|
1096
1096
|
B instanceof E.Mesh && [].concat(B.material).forEach((U) => U.dispose());
|
|
1097
|
-
}), l.remove(d), d = new E.Object3D(), l.add(d), n = !1,
|
|
1097
|
+
}), l.remove(d), d = new E.Object3D(), l.add(d), n = !1, T();
|
|
1098
1098
|
}, A = () => {
|
|
1099
1099
|
e && (n || m());
|
|
1100
1100
|
}, b = () => {
|
|
1101
|
-
e || (e = !0, l.add(d), !n && i.model.loaded && m(),
|
|
1101
|
+
e || (e = !0, l.add(d), !n && i.model.loaded && m(), T());
|
|
1102
1102
|
}, y = () => {
|
|
1103
|
-
e && (l.remove(d), o = !0,
|
|
1103
|
+
e && (l.remove(d), o = !0, D(), e = !1);
|
|
1104
1104
|
}, P = (B, G = {}) => {
|
|
1105
1105
|
const U = v();
|
|
1106
1106
|
if (!U)
|
|
@@ -1116,7 +1116,7 @@ const fI = (i, t) => {
|
|
|
1116
1116
|
const { width: Y = U.offsetWidth, height: J = U.offsetHeight } = B;
|
|
1117
1117
|
s.setSize(Y, J), c.aspect = Y / J, c.updateProjectionMatrix();
|
|
1118
1118
|
}
|
|
1119
|
-
|
|
1119
|
+
T();
|
|
1120
1120
|
};
|
|
1121
1121
|
function S(B, G, U) {
|
|
1122
1122
|
const Y = B.bounding, J = Math.pow(
|
|
@@ -1129,21 +1129,21 @@ const fI = (i, t) => {
|
|
|
1129
1129
|
function I(B) {
|
|
1130
1130
|
return i.work.observers[B].standingPosition.clone();
|
|
1131
1131
|
}
|
|
1132
|
-
const
|
|
1132
|
+
const T = () => {
|
|
1133
1133
|
if (!e || !h || !u)
|
|
1134
1134
|
return;
|
|
1135
1135
|
const B = i.getPose();
|
|
1136
1136
|
B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = I(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
|
|
1137
|
-
},
|
|
1137
|
+
}, D = () => {
|
|
1138
1138
|
!e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
|
|
1139
1139
|
}, F = () => {
|
|
1140
1140
|
s && s.dispose(), s = null;
|
|
1141
1141
|
}, q = (B) => {
|
|
1142
|
-
Object.assign(a, B),
|
|
1142
|
+
Object.assign(a, B), T();
|
|
1143
1143
|
}, Q = () => ({
|
|
1144
1144
|
enabled: e
|
|
1145
1145
|
});
|
|
1146
|
-
return Object.assign(window, { camera: c }), i.on("modelLoaded", A), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate",
|
|
1146
|
+
return Object.assign(window, { camera: c }), i.on("modelLoaded", A), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate", T), i.on("dispose", F), i.on("renderFrame", D), i.on("cameraPositionUpdate", T), { appendTo: P, refresh: k, changeConfigs: q, enable: b, disable: y, getCurrentState: Q };
|
|
1147
1147
|
};
|
|
1148
1148
|
function sn(...i) {
|
|
1149
1149
|
const t = [];
|
|
@@ -1315,16 +1315,16 @@ function Dn(...i) {
|
|
|
1315
1315
|
const Vd = 1, uf = `CSS3DObjectPlus@${Vd}`, ff = 216e-5, mf = 3e-3;
|
|
1316
1316
|
class pf extends Or {
|
|
1317
1317
|
constructor(e) {
|
|
1318
|
-
var S, I,
|
|
1319
|
-
const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (I = e.dpr) != null ? I : 1, a = (
|
|
1318
|
+
var S, I, T;
|
|
1319
|
+
const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (I = e.dpr) != null ? I : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(ff, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
|
|
1320
1320
|
let v;
|
|
1321
1321
|
if (l === s)
|
|
1322
1322
|
n.style.width = `${h}px`, n.style.height = `${u}px`, v = n;
|
|
1323
1323
|
else {
|
|
1324
|
-
const
|
|
1325
|
-
|
|
1324
|
+
const D = document.createElement("div");
|
|
1325
|
+
D.style.width = `${h}px`, D.style.height = `${u}px`, D.style.pointerEvents = "none";
|
|
1326
1326
|
const F = s / l;
|
|
1327
|
-
n.style.position = "absolute", n.style.left = "0", n.style.top = "0", n.style.width = `${F * h}px`, n.style.height = `${F * u}px`,
|
|
1327
|
+
n.style.position = "absolute", n.style.left = "0", n.style.top = "0", n.style.width = `${F * h}px`, n.style.height = `${F * u}px`, D.appendChild(n), v = D;
|
|
1328
1328
|
}
|
|
1329
1329
|
super(v);
|
|
1330
1330
|
f(this, "version", Vd);
|
|
@@ -1365,19 +1365,19 @@ class pf extends Or {
|
|
|
1365
1365
|
if (n.style.pointerEvents = a, this.scale.set(l, l, l), this.cornerPoints = o, this.ratio = s, this.container = n, e.mode && (this.mode = e.mode), l === s)
|
|
1366
1366
|
this.width = c, this.height = d, this.domWidthPx = h, this.domHeightPx = u, this.centerPosition = m;
|
|
1367
1367
|
else {
|
|
1368
|
-
const
|
|
1369
|
-
this.width =
|
|
1368
|
+
const D = s / l;
|
|
1369
|
+
this.width = D * c, this.height = D * d, this.domWidthPx = D * h, this.domHeightPx = D * u, this.centerPosition = new $().subVectors(m, o[0]).multiplyScalar(D).add(o[0]);
|
|
1370
1370
|
}
|
|
1371
1371
|
n.classList.add(`${uf}__container`);
|
|
1372
1372
|
const g = new $().subVectors(o[1], o[0]), A = new $().subVectors(o[3], o[0]), b = new $().crossVectors(g, A).normalize();
|
|
1373
1373
|
this.lookAt(b);
|
|
1374
1374
|
const y = this.up.clone().applyQuaternion(this.quaternion), P = A.clone(), k = new $().crossVectors(y, P).normalize();
|
|
1375
1375
|
this.rotateOnWorldAxis(k, y.angleTo(P)), this.position.copy(m), this.addEventListener("added", () => {
|
|
1376
|
-
var
|
|
1377
|
-
this.mode === "front" && ((
|
|
1376
|
+
var D;
|
|
1377
|
+
this.mode === "front" && ((D = this.opacityMesh) == null || D.removeFromParent()), this.addParentVisibleListener();
|
|
1378
1378
|
}), this.addEventListener("removed", () => {
|
|
1379
|
-
var
|
|
1380
|
-
(
|
|
1379
|
+
var D;
|
|
1380
|
+
(D = this.opacityMesh) == null || D.removeFromParent(), this.removeParentVisibleListener();
|
|
1381
1381
|
});
|
|
1382
1382
|
}
|
|
1383
1383
|
setVisible(e, n = { setSelfVisible: !0 }) {
|
|
@@ -2563,7 +2563,7 @@ function Nf(i) {
|
|
|
2563
2563
|
function Re(i, t) {
|
|
2564
2564
|
t = "" + t, i.data !== t && (i.data = t);
|
|
2565
2565
|
}
|
|
2566
|
-
function
|
|
2566
|
+
function z(i, t, e, n) {
|
|
2567
2567
|
e === null ? i.style.removeProperty(t) : i.style.setProperty(t, e, n ? "important" : "");
|
|
2568
2568
|
}
|
|
2569
2569
|
let So;
|
|
@@ -2914,21 +2914,21 @@ function Lt(i, t, e, n, o, s, r, a, l, c, d, h) {
|
|
|
2914
2914
|
g[i[v].key] = v;
|
|
2915
2915
|
const A = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), P = [];
|
|
2916
2916
|
for (v = m; v--; ) {
|
|
2917
|
-
const
|
|
2918
|
-
let F = r.get(
|
|
2919
|
-
F ? n && P.push(() => F.p(
|
|
2917
|
+
const T = h(o, s, v), D = e(T);
|
|
2918
|
+
let F = r.get(D);
|
|
2919
|
+
F ? n && P.push(() => F.p(T, t)) : (F = c(D, T), F.c()), b.set(D, A[v] = F), D in g && y.set(D, Math.abs(v - g[D]));
|
|
2920
2920
|
}
|
|
2921
2921
|
const k = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
2922
|
-
function I(
|
|
2923
|
-
x(
|
|
2922
|
+
function I(T) {
|
|
2923
|
+
x(T, 1), T.m(a, d), r.set(T.key, T), d = T.first, m--;
|
|
2924
2924
|
}
|
|
2925
2925
|
for (; u && m; ) {
|
|
2926
|
-
const
|
|
2927
|
-
|
|
2926
|
+
const T = A[m - 1], D = i[u - 1], F = T.key, q = D.key;
|
|
2927
|
+
T === D ? (d = T.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? I(T) : S.has(q) ? u-- : y.get(F) > y.get(q) ? (S.add(F), I(T)) : (k.add(q), u--) : (l(D, r), u--);
|
|
2928
2928
|
}
|
|
2929
2929
|
for (; u--; ) {
|
|
2930
|
-
const
|
|
2931
|
-
b.has(
|
|
2930
|
+
const T = i[u];
|
|
2931
|
+
b.has(T.key) || l(T, r);
|
|
2932
2932
|
}
|
|
2933
2933
|
for (; m; )
|
|
2934
2934
|
I(A[m - 1]);
|
|
@@ -3044,22 +3044,22 @@ function tm(i) {
|
|
|
3044
3044
|
), o, s, r, a, l;
|
|
3045
3045
|
return {
|
|
3046
3046
|
c() {
|
|
3047
|
-
t = _("div"), e = _("span"), o = Ve(n), s = se(), r = _("div"), w(e, "class", "room-label-item__text svelte-1d7uzh5"),
|
|
3047
|
+
t = _("div"), e = _("span"), o = Ve(n), s = se(), r = _("div"), w(e, "class", "room-label-item__text svelte-1d7uzh5"), z(e, "background-image", "url(" + $f + ")"), K(
|
|
3048
3048
|
e,
|
|
3049
3049
|
"wide",
|
|
3050
3050
|
/*roomLabel*/
|
|
3051
3051
|
i[0].name.length > 3
|
|
3052
|
-
), w(r, "class", "room-label-item__bar svelte-1d7uzh5"), w(t, "class", "room-label-item svelte-1d7uzh5"),
|
|
3052
|
+
), w(r, "class", "room-label-item__bar svelte-1d7uzh5"), w(t, "class", "room-label-item svelte-1d7uzh5"), z(
|
|
3053
3053
|
t,
|
|
3054
3054
|
"z-index",
|
|
3055
3055
|
/*roomLabel*/
|
|
3056
3056
|
i[0].zIndex
|
|
3057
|
-
),
|
|
3057
|
+
), z(
|
|
3058
3058
|
t,
|
|
3059
3059
|
"transform",
|
|
3060
3060
|
/*roomLabel*/
|
|
3061
3061
|
i[0].transform
|
|
3062
|
-
),
|
|
3062
|
+
), z(
|
|
3063
3063
|
t,
|
|
3064
3064
|
"opacity",
|
|
3065
3065
|
/*roomLabel*/
|
|
@@ -3084,19 +3084,19 @@ function tm(i) {
|
|
|
3084
3084
|
/*roomLabel*/
|
|
3085
3085
|
c[0].name.length > 3
|
|
3086
3086
|
), d & /*roomLabel*/
|
|
3087
|
-
1 &&
|
|
3087
|
+
1 && z(
|
|
3088
3088
|
t,
|
|
3089
3089
|
"z-index",
|
|
3090
3090
|
/*roomLabel*/
|
|
3091
3091
|
c[0].zIndex
|
|
3092
3092
|
), d & /*roomLabel*/
|
|
3093
|
-
1 &&
|
|
3093
|
+
1 && z(
|
|
3094
3094
|
t,
|
|
3095
3095
|
"transform",
|
|
3096
3096
|
/*roomLabel*/
|
|
3097
3097
|
c[0].transform
|
|
3098
3098
|
), d & /*roomLabel*/
|
|
3099
|
-
1 &&
|
|
3099
|
+
1 && z(
|
|
3100
3100
|
t,
|
|
3101
3101
|
"opacity",
|
|
3102
3102
|
/*roomLabel*/
|
|
@@ -3547,25 +3547,25 @@ function Em(i, t, e) {
|
|
|
3547
3547
|
return !1;
|
|
3548
3548
|
const P = new xn(), k = o.camera.position.clone(), S = new $(b.position.x, b.position.y, b.position.z), I = S.distanceTo(k);
|
|
3549
3549
|
P.set(k.clone(), S.clone().sub(k).normalize());
|
|
3550
|
-
const [
|
|
3551
|
-
return !(
|
|
3550
|
+
const [T] = o.model.intersectRaycaster(P);
|
|
3551
|
+
return !(T && T.distance + 1 < I);
|
|
3552
3552
|
}
|
|
3553
3553
|
function d(b, y) {
|
|
3554
3554
|
const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), S = Math.ceil((k.x + 1) / 2 * y.x), I = Math.ceil((-k.y + 1) / 2 * y.y);
|
|
3555
3555
|
return `translate(${S}px, ${I}px)`;
|
|
3556
3556
|
}
|
|
3557
3557
|
function h(b) {
|
|
3558
|
-
const { rendererSize: y } = b,
|
|
3559
|
-
function
|
|
3560
|
-
const
|
|
3561
|
-
if (
|
|
3562
|
-
return
|
|
3563
|
-
const { x:
|
|
3564
|
-
return
|
|
3558
|
+
const { rendererSize: y, shownFloor: P } = b, k = /* @__PURE__ */ new Map();
|
|
3559
|
+
function S(T) {
|
|
3560
|
+
const D = k.get(T.id);
|
|
3561
|
+
if (D)
|
|
3562
|
+
return D;
|
|
3563
|
+
const { x: F, y: q, z: Q } = T.position, R = new $(F, q, Q).clone().distanceTo(o.camera.position);
|
|
3564
|
+
return k.set(T.id, R), R;
|
|
3565
3565
|
}
|
|
3566
|
-
return s.map((
|
|
3567
|
-
const
|
|
3568
|
-
return ye(W({},
|
|
3566
|
+
return s.map((T) => {
|
|
3567
|
+
const D = c(T), F = D ? d(T, y) : T.transform, q = S(T), R = s.filter((H) => H.visible && S(H) < q).length * 10;
|
|
3568
|
+
return ye(W({}, T), { visible: D, transform: F, zIndex: R });
|
|
3569
3569
|
});
|
|
3570
3570
|
}
|
|
3571
3571
|
function u() {
|
|
@@ -3809,28 +3809,28 @@ function _m(i) {
|
|
|
3809
3809
|
let t, e;
|
|
3810
3810
|
return {
|
|
3811
3811
|
c() {
|
|
3812
|
-
t = _("div"), e = _("div"), w(e, "class", "floorplan__camera-rotate svelte-17cl35n"),
|
|
3813
|
-
i[0] || ln})`),
|
|
3812
|
+
t = _("div"), e = _("div"), w(e, "class", "floorplan__camera-rotate svelte-17cl35n"), z(e, "background-image", `url(${/*cameraImageUrl*/
|
|
3813
|
+
i[0] || ln})`), z(
|
|
3814
3814
|
e,
|
|
3815
3815
|
"width",
|
|
3816
3816
|
/*domSizeStyle*/
|
|
3817
3817
|
i[4]
|
|
3818
|
-
),
|
|
3818
|
+
), z(
|
|
3819
3819
|
e,
|
|
3820
3820
|
"height",
|
|
3821
3821
|
/*domSizeStyle*/
|
|
3822
3822
|
i[4]
|
|
3823
|
-
),
|
|
3824
|
-
i[4]),
|
|
3825
|
-
i[4]),
|
|
3826
|
-
i[3]}deg)`),
|
|
3823
|
+
), z(e, "left", "-" + /*domSizeStyle*/
|
|
3824
|
+
i[4]), z(e, "top", "-" + /*domSizeStyle*/
|
|
3825
|
+
i[4]), z(e, "transform", `rotate(${/*rotate*/
|
|
3826
|
+
i[3]}deg)`), z(e, "transform-origin", `${/*domSizeStyle*/
|
|
3827
3827
|
i[4]} ${/*domSizeStyle*/
|
|
3828
|
-
i[4]}`), w(t, "class", "floorplan__camera-position svelte-17cl35n"),
|
|
3828
|
+
i[4]}`), w(t, "class", "floorplan__camera-position svelte-17cl35n"), z(
|
|
3829
3829
|
t,
|
|
3830
3830
|
"left",
|
|
3831
3831
|
/*positionLeft*/
|
|
3832
3832
|
i[1]
|
|
3833
|
-
),
|
|
3833
|
+
), z(
|
|
3834
3834
|
t,
|
|
3835
3835
|
"top",
|
|
3836
3836
|
/*positionTop*/
|
|
@@ -3842,24 +3842,24 @@ function _m(i) {
|
|
|
3842
3842
|
},
|
|
3843
3843
|
p(n, [o]) {
|
|
3844
3844
|
o & /*cameraImageUrl*/
|
|
3845
|
-
1 &&
|
|
3845
|
+
1 && z(e, "background-image", `url(${/*cameraImageUrl*/
|
|
3846
3846
|
n[0] || ln})`);
|
|
3847
3847
|
const s = o & /*cameraImageUrl*/
|
|
3848
3848
|
1;
|
|
3849
|
-
s &&
|
|
3849
|
+
s && z(
|
|
3850
3850
|
e,
|
|
3851
3851
|
"width",
|
|
3852
3852
|
/*domSizeStyle*/
|
|
3853
3853
|
n[4]
|
|
3854
|
-
), s &&
|
|
3854
|
+
), s && z(
|
|
3855
3855
|
e,
|
|
3856
3856
|
"height",
|
|
3857
3857
|
/*domSizeStyle*/
|
|
3858
3858
|
n[4]
|
|
3859
|
-
), s &&
|
|
3860
|
-
n[4]), s &&
|
|
3861
|
-
n[4]), s &&
|
|
3862
|
-
n[3]}deg)`), s &&
|
|
3859
|
+
), s && z(e, "left", "-" + /*domSizeStyle*/
|
|
3860
|
+
n[4]), s && z(e, "top", "-" + /*domSizeStyle*/
|
|
3861
|
+
n[4]), s && z(e, "transform", `rotate(${/*rotate*/
|
|
3862
|
+
n[3]}deg)`), s && z(e, "transform-origin", `${/*domSizeStyle*/
|
|
3863
3863
|
n[4]} ${/*domSizeStyle*/
|
|
3864
3864
|
n[4]}`);
|
|
3865
3865
|
},
|
|
@@ -3915,7 +3915,7 @@ function Qm(i) {
|
|
|
3915
3915
|
t = _("div"), e = _("div"), n = se(), o = _("span"), s = Ve(
|
|
3916
3916
|
/*northDesc*/
|
|
3917
3917
|
i[0]
|
|
3918
|
-
), w(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"),
|
|
3918
|
+
), w(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), z(e, "background-image", `url(${Bm})`), w(o, "class", "floorplan-plugin__compass-text svelte-rpkaro"), w(t, "class", "floorplan-plugin__compass svelte-rpkaro"), z(
|
|
3919
3919
|
t,
|
|
3920
3920
|
"transform",
|
|
3921
3921
|
/*compassTransformStyle*/
|
|
@@ -4324,22 +4324,22 @@ function ap(i) {
|
|
|
4324
4324
|
let s = o(i), r = s && s(i);
|
|
4325
4325
|
return {
|
|
4326
4326
|
c() {
|
|
4327
|
-
t = _("div"), r && r.c(), w(t, "class", "floorplan-plugin__room-label-item svelte-12pzct5"),
|
|
4327
|
+
t = _("div"), r && r.c(), w(t, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), z(
|
|
4328
4328
|
t,
|
|
4329
4329
|
"left",
|
|
4330
4330
|
/*left*/
|
|
4331
4331
|
i[9]
|
|
4332
|
-
),
|
|
4332
|
+
), z(
|
|
4333
4333
|
t,
|
|
4334
4334
|
"top",
|
|
4335
4335
|
/*top*/
|
|
4336
4336
|
i[10]
|
|
4337
|
-
),
|
|
4337
|
+
), z(
|
|
4338
4338
|
t,
|
|
4339
4339
|
"font-size",
|
|
4340
4340
|
/*fontSize*/
|
|
4341
4341
|
i[11]
|
|
4342
|
-
),
|
|
4342
|
+
), z(
|
|
4343
4343
|
t,
|
|
4344
4344
|
"opacity",
|
|
4345
4345
|
/*labelVisible*/
|
|
@@ -4365,7 +4365,7 @@ function ap(i) {
|
|
|
4365
4365
|
},
|
|
4366
4366
|
p(a, [l]) {
|
|
4367
4367
|
s === (s = o(a)) && r ? r.p(a, l) : (r && r.d(1), r = s && s(a), r && (r.c(), r.m(t, null))), l & /*labelVisible*/
|
|
4368
|
-
64 &&
|
|
4368
|
+
64 && z(
|
|
4369
4369
|
t,
|
|
4370
4370
|
"opacity",
|
|
4371
4371
|
/*labelVisible*/
|
|
@@ -4405,14 +4405,14 @@ function cp(i, t, e) {
|
|
|
4405
4405
|
};
|
|
4406
4406
|
}
|
|
4407
4407
|
const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", S = P.positionInImage.y * 100 + "%", I = (b < 500 || y < 500 ? 10 : 14) + "px";
|
|
4408
|
-
let
|
|
4408
|
+
let T = 0, D = 0, F = !1;
|
|
4409
4409
|
u.subscribe(function(H) {
|
|
4410
4410
|
e(16, F = !!H && H.id === h.id);
|
|
4411
4411
|
});
|
|
4412
4412
|
const q = (R) => {
|
|
4413
|
-
e(4,
|
|
4413
|
+
e(4, T = R.detail);
|
|
4414
4414
|
}, Q = (R) => {
|
|
4415
|
-
e(5,
|
|
4415
|
+
e(5, D = R.detail);
|
|
4416
4416
|
};
|
|
4417
4417
|
return i.$$set = (R) => {
|
|
4418
4418
|
"pxmm" in R && e(12, l = R.pxmm), "roomAreaEnable" in R && e(0, c = R.roomAreaEnable), "roomNameEnable" in R && e(1, d = R.roomNameEnable), "room" in R && e(2, h = R.room), "hoveredRoom" in R && e(13, u = R.hoveredRoom), "getRoomAreaText" in R && e(14, m = R.getRoomAreaText), "getLabelElement" in R && e(3, v = R.getLabelElement), "adaptiveRoomLabelVisibleEnable" in R && e(15, g = R.adaptiveRoomLabelVisibleEnable);
|
|
@@ -4420,7 +4420,7 @@ function cp(i, t, e) {
|
|
|
4420
4420
|
i.$$.dirty & /*getLabelElement, room*/
|
|
4421
4421
|
12 && e(8, n = v == null ? void 0 : v(h)), i.$$.dirty & /*room, getRoomAreaText*/
|
|
4422
4422
|
16388 && e(7, o = h.size ? m(h.size) : ""), i.$$.dirty & /*clientWidth, clientHeight*/
|
|
4423
|
-
48 && e(18, s = { width:
|
|
4423
|
+
48 && e(18, s = { width: T, height: D }), i.$$.dirty & /*labelElementSize, room*/
|
|
4424
4424
|
262148 && e(17, r = s ? A(h, s) : void 0), i.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoom, pxmm*/
|
|
4425
4425
|
233472 && e(6, a = g ? F ? !0 : !!(r != null && r(l)) : !0);
|
|
4426
4426
|
}, [
|
|
@@ -4428,8 +4428,8 @@ function cp(i, t, e) {
|
|
|
4428
4428
|
d,
|
|
4429
4429
|
h,
|
|
4430
4430
|
v,
|
|
4431
|
-
|
|
4432
|
-
|
|
4431
|
+
T,
|
|
4432
|
+
D,
|
|
4433
4433
|
a,
|
|
4434
4434
|
o,
|
|
4435
4435
|
n,
|
|
@@ -4733,12 +4733,12 @@ function rl(i) {
|
|
|
4733
4733
|
let t;
|
|
4734
4734
|
return {
|
|
4735
4735
|
c() {
|
|
4736
|
-
t = _("div"), w(t, "class", "floorplan-plugin__rule-scale svelte-djlmk4"),
|
|
4736
|
+
t = _("div"), w(t, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), z(
|
|
4737
4737
|
t,
|
|
4738
4738
|
"left",
|
|
4739
4739
|
/*rulerLabel*/
|
|
4740
4740
|
i[14].left * 100 + "%"
|
|
4741
|
-
),
|
|
4741
|
+
), z(
|
|
4742
4742
|
t,
|
|
4743
4743
|
"bottom",
|
|
4744
4744
|
/*rulerLabel*/
|
|
@@ -4771,12 +4771,12 @@ function al(i, t) {
|
|
|
4771
4771
|
"is-row",
|
|
4772
4772
|
/*isRow*/
|
|
4773
4773
|
t[2]
|
|
4774
|
-
), w(e, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"),
|
|
4774
|
+
), w(e, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), z(
|
|
4775
4775
|
e,
|
|
4776
4776
|
"left",
|
|
4777
4777
|
/*textItem*/
|
|
4778
4778
|
t[11].left * 100 + "%"
|
|
4779
|
-
),
|
|
4779
|
+
), z(
|
|
4780
4780
|
e,
|
|
4781
4781
|
"bottom",
|
|
4782
4782
|
/*textItem*/
|
|
@@ -4837,12 +4837,12 @@ function gp(i) {
|
|
|
4837
4837
|
"is-row",
|
|
4838
4838
|
/*isRow*/
|
|
4839
4839
|
i[2]
|
|
4840
|
-
),
|
|
4840
|
+
), z(
|
|
4841
4841
|
t,
|
|
4842
4842
|
"width",
|
|
4843
4843
|
/*isRow*/
|
|
4844
4844
|
i[2] ? "100%" : 1 / 16 + "rem"
|
|
4845
|
-
),
|
|
4845
|
+
), z(t, "height", /*isRow*/
|
|
4846
4846
|
i[2] ? 1 / 16 + "rem" : "100%");
|
|
4847
4847
|
},
|
|
4848
4848
|
m(v, g) {
|
|
@@ -5017,12 +5017,12 @@ function yp(i) {
|
|
|
5017
5017
|
t = _("div");
|
|
5018
5018
|
for (let a = 0; a < e.length; a += 1)
|
|
5019
5019
|
e[a].c();
|
|
5020
|
-
w(t, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"),
|
|
5020
|
+
w(t, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), z(
|
|
5021
5021
|
t,
|
|
5022
5022
|
"width",
|
|
5023
5023
|
/*width*/
|
|
5024
5024
|
i[3]
|
|
5025
|
-
),
|
|
5025
|
+
), z(
|
|
5026
5026
|
t,
|
|
5027
5027
|
"height",
|
|
5028
5028
|
/*height*/
|
|
@@ -5039,13 +5039,13 @@ function yp(i) {
|
|
|
5039
5039
|
l & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
5040
5040
|
19 && (s = /*ruleLabelArray*/
|
|
5041
5041
|
a[4], de(), e = Lt(e, l, r, 1, a, s, n, t, fn, cl, null, ll), he()), l & /*width*/
|
|
5042
|
-
8 &&
|
|
5042
|
+
8 && z(
|
|
5043
5043
|
t,
|
|
5044
5044
|
"width",
|
|
5045
5045
|
/*width*/
|
|
5046
5046
|
a[3]
|
|
5047
5047
|
), l & /*height*/
|
|
5048
|
-
4 &&
|
|
5048
|
+
4 && z(
|
|
5049
5049
|
t,
|
|
5050
5050
|
"height",
|
|
5051
5051
|
/*height*/
|
|
@@ -5592,22 +5592,22 @@ function Wp(i) {
|
|
|
5592
5592
|
};
|
|
5593
5593
|
}
|
|
5594
5594
|
function Np(i, t, e) {
|
|
5595
|
-
let n, o, { room: s } = t, { floorIndex: r } = t, { floorplanData: a } = t, {
|
|
5595
|
+
let n, o, { room: s } = t, { floorIndex: r } = t, { floorplanData: a } = t, { hoveredRoom: l } = t, { highlightData: c } = t;
|
|
5596
5596
|
function d() {
|
|
5597
|
-
|
|
5597
|
+
l.set(s);
|
|
5598
5598
|
}
|
|
5599
5599
|
function h() {
|
|
5600
|
-
|
|
5600
|
+
l.set(void 0);
|
|
5601
5601
|
}
|
|
5602
5602
|
const { bounding: u } = a, m = vs(s.path, {
|
|
5603
5603
|
needZ: !0,
|
|
5604
5604
|
format: (v) => Ch(v, u)
|
|
5605
5605
|
});
|
|
5606
5606
|
return i.$$set = (v) => {
|
|
5607
|
-
"room" in v && e(0, s = v.room), "floorIndex" in v && e(1, r = v.floorIndex), "floorplanData" in v && e(6, a = v.floorplanData), "
|
|
5607
|
+
"room" in v && e(0, s = v.room), "floorIndex" in v && e(1, r = v.floorIndex), "floorplanData" in v && e(6, a = v.floorplanData), "hoveredRoom" in v && e(7, l = v.hoveredRoom), "highlightData" in v && e(8, c = v.highlightData);
|
|
5608
5608
|
}, i.$$.update = () => {
|
|
5609
5609
|
i.$$.dirty & /*highlightData, floorIndex, room*/
|
|
5610
|
-
|
|
5610
|
+
259 && e(9, n = c[`${r}_${s.id}`]), i.$$.dirty & /*highlight*/
|
|
5611
5611
|
512 && e(2, o = n ? `fill: ${n.color}; --opacity: ${n.opacity}; pointer-events: ${n.disabled ? "none" : "auto"}` : null);
|
|
5612
5612
|
}, [
|
|
5613
5613
|
s,
|
|
@@ -5634,8 +5634,8 @@ class Fp extends ce {
|
|
|
5634
5634
|
room: 0,
|
|
5635
5635
|
floorIndex: 1,
|
|
5636
5636
|
floorplanData: 6,
|
|
5637
|
-
|
|
5638
|
-
|
|
5637
|
+
hoveredRoom: 7,
|
|
5638
|
+
highlightData: 8
|
|
5639
5639
|
},
|
|
5640
5640
|
Gp
|
|
5641
5641
|
);
|
|
@@ -5662,7 +5662,7 @@ function pl(i, t) {
|
|
|
5662
5662
|
),
|
|
5663
5663
|
hoveredRoom: (
|
|
5664
5664
|
/*hoveredRoom*/
|
|
5665
|
-
t[
|
|
5665
|
+
t[2]
|
|
5666
5666
|
),
|
|
5667
5667
|
floorIndex: (
|
|
5668
5668
|
/*floorIndex*/
|
|
@@ -5670,7 +5670,7 @@ function pl(i, t) {
|
|
|
5670
5670
|
),
|
|
5671
5671
|
highlightData: (
|
|
5672
5672
|
/*highlightData*/
|
|
5673
|
-
t[
|
|
5673
|
+
t[3]
|
|
5674
5674
|
)
|
|
5675
5675
|
}
|
|
5676
5676
|
];
|
|
@@ -5701,7 +5701,7 @@ function pl(i, t) {
|
|
|
5701
5701
|
),
|
|
5702
5702
|
hoveredRoom: (
|
|
5703
5703
|
/*hoveredRoom*/
|
|
5704
|
-
t[
|
|
5704
|
+
t[2]
|
|
5705
5705
|
),
|
|
5706
5706
|
floorIndex: (
|
|
5707
5707
|
/*floorIndex*/
|
|
@@ -5709,7 +5709,7 @@ function pl(i, t) {
|
|
|
5709
5709
|
),
|
|
5710
5710
|
highlightData: (
|
|
5711
5711
|
/*highlightData*/
|
|
5712
|
-
t[
|
|
5712
|
+
t[3]
|
|
5713
5713
|
)
|
|
5714
5714
|
}
|
|
5715
5715
|
]) : {};
|
|
@@ -5785,10 +5785,10 @@ function Yp(i) {
|
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function Up(i, t, e) {
|
|
5788
|
-
let { floorIndex: n } = t, { floorplanData: o } = t, {
|
|
5788
|
+
let { floorIndex: n } = t, { floorplanData: o } = t, { hoveredRoom: s } = t, { highlightData: r } = t;
|
|
5789
5789
|
const a = o.bounding.max.x - o.bounding.min.x, l = o.bounding.max.y - o.bounding.min.y;
|
|
5790
5790
|
return i.$$set = (c) => {
|
|
5791
|
-
"floorIndex" in c && e(0, n = c.floorIndex), "floorplanData" in c && e(1, o = c.floorplanData), "
|
|
5791
|
+
"floorIndex" in c && e(0, n = c.floorIndex), "floorplanData" in c && e(1, o = c.floorplanData), "hoveredRoom" in c && e(2, s = c.hoveredRoom), "highlightData" in c && e(3, r = c.highlightData);
|
|
5792
5792
|
}, [
|
|
5793
5793
|
n,
|
|
5794
5794
|
o,
|
|
@@ -5809,8 +5809,8 @@ class Ph extends ce {
|
|
|
5809
5809
|
{
|
|
5810
5810
|
floorIndex: 0,
|
|
5811
5811
|
floorplanData: 1,
|
|
5812
|
-
|
|
5813
|
-
|
|
5812
|
+
hoveredRoom: 2,
|
|
5813
|
+
highlightData: 3
|
|
5814
5814
|
},
|
|
5815
5815
|
Xp
|
|
5816
5816
|
);
|
|
@@ -6589,9 +6589,9 @@ function eg(i) {
|
|
|
6589
6589
|
};
|
|
6590
6590
|
}
|
|
6591
6591
|
function tg(i, t, e) {
|
|
6592
|
-
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData:
|
|
6593
|
-
return i.$$set = (
|
|
6594
|
-
"duration" in
|
|
6592
|
+
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: T } = t;
|
|
6593
|
+
return i.$$set = (D) => {
|
|
6594
|
+
"duration" in D && e(0, n = D.duration), "visible" in D && e(1, o = D.visible), "northDesc" in D && e(2, s = D.northDesc), "panoIndex" in D && e(3, r = D.panoIndex), "floorIndex" in D && e(4, a = D.floorIndex), "cameraEnable" in D && e(5, l = D.cameraEnable), "hoverEnable" in D && e(6, c = D.hoverEnable), "highlightEnable" in D && e(7, d = D.highlightEnable), "compassEnable" in D && e(8, h = D.compassEnable), "roomLabelsEnable" in D && e(9, u = D.roomLabelsEnable), "roomAreaEnable" in D && e(10, m = D.roomAreaEnable), "roomNameEnable" in D && e(11, v = D.roomNameEnable), "ruleLabelsEnable" in D && e(12, g = D.ruleLabelsEnable), "floorplanData" in D && e(13, A = D.floorplanData), "lastPanoramaLongitude" in D && e(14, b = D.lastPanoramaLongitude), "cameraImageUrl" in D && e(15, y = D.cameraImageUrl), "getRoomAreaText" in D && e(16, P = D.getRoomAreaText), "getLabelElement" in D && e(17, k = D.getLabelElement), "getRuleDistanceText" in D && e(18, S = D.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in D && e(19, I = D.adaptiveRoomLabelVisibleEnable), "highlightData" in D && e(20, T = D.highlightData);
|
|
6595
6595
|
}, [
|
|
6596
6596
|
n,
|
|
6597
6597
|
o,
|
|
@@ -6613,7 +6613,7 @@ function tg(i, t, e) {
|
|
|
6613
6613
|
k,
|
|
6614
6614
|
S,
|
|
6615
6615
|
I,
|
|
6616
|
-
|
|
6616
|
+
T
|
|
6617
6617
|
];
|
|
6618
6618
|
}
|
|
6619
6619
|
let va = class extends ce {
|
|
@@ -6762,7 +6762,7 @@ let ao = class {
|
|
|
6762
6762
|
/**
|
|
6763
6763
|
* @realsee/dnalogel 版本号
|
|
6764
6764
|
*/
|
|
6765
|
-
f(this, "VERSION", "2.20.
|
|
6765
|
+
f(this, "VERSION", "2.20.2");
|
|
6766
6766
|
f(this, "five");
|
|
6767
6767
|
/**
|
|
6768
6768
|
* 插件事件钩子
|
|
@@ -7795,13 +7795,13 @@ function yg(i) {
|
|
|
7795
7795
|
let t, e, n;
|
|
7796
7796
|
return {
|
|
7797
7797
|
c() {
|
|
7798
|
-
t = _("div"), e = _("div"), n = _("div"), w(n, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"),
|
|
7799
|
-
(i[0] || ln) + ")"),
|
|
7798
|
+
t = _("div"), e = _("div"), n = _("div"), w(n, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), z(n, "background-image", "url(" + /*cameraImageUrl*/
|
|
7799
|
+
(i[0] || ln) + ")"), z(
|
|
7800
7800
|
n,
|
|
7801
7801
|
"transform",
|
|
7802
7802
|
/*rotateTransform*/
|
|
7803
7803
|
i[1]
|
|
7804
|
-
), w(e, "class", "plugin-radar__camera-position svelte-1nqrlxd"),
|
|
7804
|
+
), w(e, "class", "plugin-radar__camera-position svelte-1nqrlxd"), z(
|
|
7805
7805
|
e,
|
|
7806
7806
|
"transform",
|
|
7807
7807
|
/*positionTransform*/
|
|
@@ -7813,16 +7813,16 @@ function yg(i) {
|
|
|
7813
7813
|
},
|
|
7814
7814
|
p(o, [s]) {
|
|
7815
7815
|
s & /*cameraImageUrl*/
|
|
7816
|
-
1 &&
|
|
7816
|
+
1 && z(n, "background-image", "url(" + /*cameraImageUrl*/
|
|
7817
7817
|
(o[0] || ln) + ")"), (s & /*cameraImageUrl*/
|
|
7818
7818
|
1 || s & /*rotateTransform, cameraImageUrl*/
|
|
7819
|
-
3) &&
|
|
7819
|
+
3) && z(
|
|
7820
7820
|
n,
|
|
7821
7821
|
"transform",
|
|
7822
7822
|
/*rotateTransform*/
|
|
7823
7823
|
o[1]
|
|
7824
7824
|
), s & /*positionTransform*/
|
|
7825
|
-
4 &&
|
|
7825
|
+
4 && z(
|
|
7826
7826
|
e,
|
|
7827
7827
|
"transform",
|
|
7828
7828
|
/*positionTransform*/
|
|
@@ -7911,23 +7911,23 @@ function kl(i, t) {
|
|
|
7911
7911
|
key: i,
|
|
7912
7912
|
first: null,
|
|
7913
7913
|
c() {
|
|
7914
|
-
e = _("div"), n = _("div"), r = se(), w(n, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"),
|
|
7915
|
-
t[1].icon.url})`),
|
|
7914
|
+
e = _("div"), n = _("div"), r = se(), w(n, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), z(n, "background-image", `url(${/*extraObject*/
|
|
7915
|
+
t[1].icon.url})`), z(n, "width", o), z(n, "height", s), w(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), z(e, "top", a), z(e, "left", l), this.first = e;
|
|
7916
7916
|
},
|
|
7917
7917
|
m(c, d) {
|
|
7918
7918
|
V(c, e, d), O(e, n), O(e, r);
|
|
7919
7919
|
},
|
|
7920
7920
|
p(c, d) {
|
|
7921
7921
|
t = c, d & /*extraObjects*/
|
|
7922
|
-
1 &&
|
|
7922
|
+
1 && z(n, "background-image", `url(${/*extraObject*/
|
|
7923
7923
|
t[1].icon.url})`);
|
|
7924
7924
|
const h = d & /*extraObjects*/
|
|
7925
7925
|
1;
|
|
7926
|
-
h &&
|
|
7926
|
+
h && z(n, "width", o), h && z(n, "height", s), d & /*extraObjects*/
|
|
7927
7927
|
1 && a !== (a = `${/*extraObject*/
|
|
7928
|
-
t[1].positionInImage.y * 100}%`) &&
|
|
7928
|
+
t[1].positionInImage.y * 100}%`) && z(e, "top", a), d & /*extraObjects*/
|
|
7929
7929
|
1 && l !== (l = `${/*extraObject*/
|
|
7930
|
-
t[1].positionInImage.x * 100}%`) &&
|
|
7930
|
+
t[1].positionInImage.x * 100}%`) && z(e, "left", l);
|
|
7931
7931
|
},
|
|
7932
7932
|
d(c) {
|
|
7933
7933
|
c && j(e);
|
|
@@ -8011,8 +8011,7 @@ function xl(i) {
|
|
|
8011
8011
|
highlightData: (
|
|
8012
8012
|
/*highlightData*/
|
|
8013
8013
|
i[5]
|
|
8014
|
-
)
|
|
8015
|
-
hoveredRoom: void 0
|
|
8014
|
+
)
|
|
8016
8015
|
}
|
|
8017
8016
|
];
|
|
8018
8017
|
let o = {};
|
|
@@ -8026,7 +8025,7 @@ function xl(i) {
|
|
|
8026
8025
|
ee(t, s, r), e = !0;
|
|
8027
8026
|
},
|
|
8028
8027
|
p(s, r) {
|
|
8029
|
-
const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData
|
|
8028
|
+
const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData*/
|
|
8030
8029
|
183 ? st(n, [
|
|
8031
8030
|
{
|
|
8032
8031
|
five: (
|
|
@@ -8052,8 +8051,7 @@ function xl(i) {
|
|
|
8052
8051
|
highlightData: (
|
|
8053
8052
|
/*highlightData*/
|
|
8054
8053
|
s[5]
|
|
8055
|
-
)
|
|
8056
|
-
hoveredRoom: void 0
|
|
8054
|
+
)
|
|
8057
8055
|
}
|
|
8058
8056
|
]) : {};
|
|
8059
8057
|
t.$set(a);
|
|
@@ -8285,7 +8283,7 @@ function Ml(i) {
|
|
|
8285
8283
|
h = Je(h, d[u]);
|
|
8286
8284
|
return o = new Pg({ props: h }), {
|
|
8287
8285
|
c() {
|
|
8288
|
-
t = _("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"),
|
|
8286
|
+
t = _("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", s), z(t, "height", r);
|
|
8289
8287
|
},
|
|
8290
8288
|
m(u, m) {
|
|
8291
8289
|
V(u, t, m), ee(e, t, null), O(t, n), ee(o, t, null), a = !0;
|
|
@@ -8348,9 +8346,9 @@ function Ml(i) {
|
|
|
8348
8346
|
]) : {};
|
|
8349
8347
|
o.$set(g), m & /*contentWidth*/
|
|
8350
8348
|
512 && s !== (s = `${/*contentWidth*/
|
|
8351
|
-
u[9]}px`) &&
|
|
8349
|
+
u[9]}px`) && z(t, "width", s), m & /*contentHeight*/
|
|
8352
8350
|
4096 && r !== (r = `${/*contentHeight*/
|
|
8353
|
-
u[12]}px`) &&
|
|
8351
|
+
u[12]}px`) && z(t, "height", r);
|
|
8354
8352
|
},
|
|
8355
8353
|
i(u) {
|
|
8356
8354
|
a || (x(e.$$.fragment, u), x(o.$$.fragment, u), a = !0);
|
|
@@ -8412,10 +8410,10 @@ function zg(i, t, e) {
|
|
|
8412
8410
|
}, i.$$.update = () => {
|
|
8413
8411
|
if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
8414
8412
|
904) {
|
|
8415
|
-
const S = Math.min(u, m), { max: I, min:
|
|
8416
|
-
return
|
|
8413
|
+
const S = Math.min(u, m), { max: I, min: T } = r.bounding, D = I.x - T.x, F = I.y - T.y, q = function() {
|
|
8414
|
+
return D > F ? [S, S / D * F] : [S / F * D, S];
|
|
8417
8415
|
}();
|
|
8418
|
-
e(9, v = q[0]), e(12, g = q[1]), e(10, d = v /
|
|
8416
|
+
e(9, v = q[0]), e(12, g = q[1]), e(10, d = v / D);
|
|
8419
8417
|
}
|
|
8420
8418
|
}, [
|
|
8421
8419
|
n,
|
|
@@ -8732,12 +8730,12 @@ const VI = (i, t) => {
|
|
|
8732
8730
|
model: {
|
|
8733
8731
|
bounding: {
|
|
8734
8732
|
max: { x: S, z: I },
|
|
8735
|
-
min: { x:
|
|
8733
|
+
min: { x: T, y: D, z: F }
|
|
8736
8734
|
}
|
|
8737
8735
|
}
|
|
8738
8736
|
} = i;
|
|
8739
|
-
o.yBase =
|
|
8740
|
-
const q = { x: (S +
|
|
8737
|
+
o.yBase = D;
|
|
8738
|
+
const q = { x: (S + T) / 2, y: D - 1.6, z: (I + F) / 2 }, Q = 45e-4 * b;
|
|
8741
8739
|
return Vg(P, { position: q, rotation: k, scale: Q }), o.object = P, !0;
|
|
8742
8740
|
}), r = ({ latitude: h }) => {
|
|
8743
8741
|
if (!o.object)
|
|
@@ -8779,13 +8777,13 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
|
|
|
8779
8777
|
const k = Bg(P), S = (Q = y == null ? void 0 : y.rad) != null ? Q : s, I = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
|
|
8780
8778
|
if (e.rad = S, S === void 0)
|
|
8781
8779
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${S}`));
|
|
8782
|
-
const
|
|
8783
|
-
|
|
8784
|
-
const
|
|
8785
|
-
if (!
|
|
8786
|
-
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${
|
|
8780
|
+
const T = yield new Td().loadAsync(I);
|
|
8781
|
+
T.position.copy(k), T.rotation.z = S, T.scale.set(0.8, 0.8, 0.8), kh(T, { transparent: !0, side: E.DoubleSide });
|
|
8782
|
+
const D = (U = (G = (B = (H = T.children) == null ? void 0 : H[0]) == null ? void 0 : B.children) == null ? void 0 : G[3]) == null ? void 0 : U.clone();
|
|
8783
|
+
if (!D)
|
|
8784
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${D}`));
|
|
8787
8785
|
const F = (Y = t.name) != null ? Y : "入户门";
|
|
8788
|
-
return
|
|
8786
|
+
return D.material = new Ji({ transparent: !0, map: Og(F) }), D.renderOrder = 3, T.children[0].add(D), e.object = T, !0;
|
|
8789
8787
|
}), c = () => {
|
|
8790
8788
|
if (e.animation)
|
|
8791
8789
|
return;
|
|
@@ -9100,7 +9098,7 @@ const Ng = `<style type="text/css">
|
|
|
9100
9098
|
if (!y)
|
|
9101
9099
|
return !1;
|
|
9102
9100
|
for (const P in A) {
|
|
9103
|
-
const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x:
|
|
9101
|
+
const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x: T, z: D, observers: F }) => {
|
|
9104
9102
|
const q = F.length > 0 ? g.rooms[g.observers[F[0]]].name : "", Q = b[q] ? b[q].floor : null;
|
|
9105
9103
|
let R = 1 / 0, H = {
|
|
9106
9104
|
index: 0,
|
|
@@ -9116,28 +9114,28 @@ const Ng = `<style type="text/css">
|
|
|
9116
9114
|
x: ie.x,
|
|
9117
9115
|
y: ie.y,
|
|
9118
9116
|
z: ie.z
|
|
9119
|
-
}, we = Fg({ x:
|
|
9117
|
+
}, we = Fg({ x: T, z: D }, Ae);
|
|
9120
9118
|
Q ? we < R && Math.abs(Ae.y - Q) < 0.3 && (R = we, H = Ae) : we < R && (R = we, H = Ae);
|
|
9121
9119
|
});
|
|
9122
|
-
const B = new $(
|
|
9120
|
+
const B = new $(T, H.y, D);
|
|
9123
9121
|
Object.assign(B, { observers: F });
|
|
9124
|
-
const G = b[q] ? b[q].roof : null, U = G ? new $(
|
|
9122
|
+
const G = b[q] ? b[q].roof : null, U = G ? new $(T, G, D) : null;
|
|
9125
9123
|
return U && Object.assign(U, { observers: F }), { origin: B, vertical: U };
|
|
9126
9124
|
});
|
|
9127
9125
|
r[P] = {
|
|
9128
|
-
origins: I.map((
|
|
9126
|
+
origins: I.map((T) => T.origin),
|
|
9129
9127
|
rules: []
|
|
9130
9128
|
};
|
|
9131
|
-
for (const { origin:
|
|
9132
|
-
if (!
|
|
9129
|
+
for (const { origin: T, vertical: D } of I) {
|
|
9130
|
+
if (!D)
|
|
9133
9131
|
continue;
|
|
9134
|
-
const F = n(P,
|
|
9135
|
-
o.append(F), r[P].rules.push({ vertical: !0, rule: [
|
|
9132
|
+
const F = n(P, T.distanceTo(D));
|
|
9133
|
+
o.append(F), r[P].rules.push({ vertical: !0, rule: [T, D], $element: F });
|
|
9136
9134
|
}
|
|
9137
|
-
for (let
|
|
9138
|
-
let
|
|
9139
|
-
|
|
9140
|
-
const { origin: F } = I[
|
|
9135
|
+
for (let T = 0; T < I.length; T++) {
|
|
9136
|
+
let D = T + 1;
|
|
9137
|
+
D >= I.length && (D = 0);
|
|
9138
|
+
const { origin: F } = I[T], { origin: q } = I[D], Q = n(P, F.distanceTo(q));
|
|
9141
9139
|
o.append(Q), r[P].rules.push({ vertical: !1, rule: [F, q], $element: Q });
|
|
9142
9140
|
}
|
|
9143
9141
|
}
|
|
@@ -9192,7 +9190,7 @@ const Ng = `<style type="text/css">
|
|
|
9192
9190
|
Q.style.display = "none";
|
|
9193
9191
|
return;
|
|
9194
9192
|
}
|
|
9195
|
-
const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth,
|
|
9193
|
+
const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth, T = g.clientHeight;
|
|
9196
9194
|
if (y !== nt.Mode.Panorama) {
|
|
9197
9195
|
for (const q in r)
|
|
9198
9196
|
for (const { $element: Q } of r[q].rules)
|
|
@@ -9202,7 +9200,7 @@ const Ng = `<style type="text/css">
|
|
|
9202
9200
|
for (const q in r)
|
|
9203
9201
|
for (const { $element: Q } of r[q].rules)
|
|
9204
9202
|
Q.style.display = q === P ? "block" : "none";
|
|
9205
|
-
const [
|
|
9203
|
+
const [D] = r[P].origins.slice().filter((q) => q.observers.indexOf(A) >= 0).sort((q, Q) => {
|
|
9206
9204
|
const R = q.clone().setY(0).sub(k).normalize().angleTo(S.clone().setY(0)), H = Q.clone().setY(0).sub(k).normalize().angleTo(S.clone().setY(0));
|
|
9207
9205
|
return R - H;
|
|
9208
9206
|
});
|
|
@@ -9210,11 +9208,11 @@ const Ng = `<style type="text/css">
|
|
|
9210
9208
|
const [H, B] = q, G = R.querySelector(".PanoRulerPlugin-rule-line");
|
|
9211
9209
|
if (!G)
|
|
9212
9210
|
return;
|
|
9213
|
-
if (!
|
|
9211
|
+
if (!D) {
|
|
9214
9212
|
R.style.display = "none";
|
|
9215
9213
|
continue;
|
|
9216
9214
|
}
|
|
9217
|
-
if (H !==
|
|
9215
|
+
if (H !== D && B !== D) {
|
|
9218
9216
|
R.style.display = "none";
|
|
9219
9217
|
continue;
|
|
9220
9218
|
}
|
|
@@ -9239,13 +9237,13 @@ const Ng = `<style type="text/css">
|
|
|
9239
9237
|
R.style.display = "none";
|
|
9240
9238
|
continue;
|
|
9241
9239
|
}
|
|
9242
|
-
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 *
|
|
9240
|
+
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * T, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
|
|
9243
9241
|
let be = ue, Se = 50;
|
|
9244
9242
|
const me = c({ x: ~~we, y: ~~ge }, {
|
|
9245
9243
|
x: ~~ve,
|
|
9246
9244
|
y: ~~He
|
|
9247
|
-
}, I,
|
|
9248
|
-
if (me && me.length === 1 && (
|
|
9245
|
+
}, I, T);
|
|
9246
|
+
if (me && me.length === 1 && (D === H ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Se = be / ue * 50) : D === B && (be = Math.sqrt(Math.pow(me[0].x - ve, 2) + Math.pow(me[0].y - He, 2)), Se = 100 - be / ue * 50)), me && me.length === 2) {
|
|
9249
9247
|
const oe = {
|
|
9250
9248
|
x: (me[0].x + me[1].x) / 2,
|
|
9251
9249
|
y: (me[0].y + me[1].y) / 2
|
|
@@ -9374,7 +9372,7 @@ function jl(i) {
|
|
|
9374
9372
|
"style",
|
|
9375
9373
|
/*vars*/
|
|
9376
9374
|
i[3]
|
|
9377
|
-
),
|
|
9375
|
+
), z(t, "width", n);
|
|
9378
9376
|
},
|
|
9379
9377
|
m(o, s) {
|
|
9380
9378
|
V(o, t, s);
|
|
@@ -9393,7 +9391,7 @@ function jl(i) {
|
|
|
9393
9391
|
), (s & /*vars*/
|
|
9394
9392
|
8 || s & /*rulerItemProp, vars*/
|
|
9395
9393
|
9 && n !== (n = `${/*child*/
|
|
9396
|
-
o[6].width}px`)) &&
|
|
9394
|
+
o[6].width}px`)) && z(t, "width", n);
|
|
9397
9395
|
},
|
|
9398
9396
|
d(o) {
|
|
9399
9397
|
o && j(t);
|
|
@@ -9422,7 +9420,7 @@ function Jg(i) {
|
|
|
9422
9420
|
t = _("div"), g.c(), e = se(), n = _("div"), o = _("div"), r = Ve(s), w(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), ot(() => (
|
|
9423
9421
|
/*div0_elementresize_handler*/
|
|
9424
9422
|
i[4].call(o)
|
|
9425
|
-
)), w(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"),
|
|
9423
|
+
)), w(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), z(n, "left", l), w(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), z(t, "width", c), z(t, "left", d), z(t, "top", h), z(t, "transform", u), z(
|
|
9426
9424
|
t,
|
|
9427
9425
|
"display",
|
|
9428
9426
|
/*rulerItemProp*/
|
|
@@ -9442,16 +9440,16 @@ function Jg(i) {
|
|
|
9442
9440
|
1 && s !== (s = /*rulerItemProp*/
|
|
9443
9441
|
A[0].labelElement + "") && Re(r, s), b & /*rulerItemProp*/
|
|
9444
9442
|
1 && l !== (l = `${/*rulerItemProp*/
|
|
9445
|
-
A[0].labelOffset}%`) &&
|
|
9443
|
+
A[0].labelOffset}%`) && z(n, "left", l), b & /*rulerItemProp*/
|
|
9446
9444
|
1 && c !== (c = `${/*rulerItemProp*/
|
|
9447
|
-
A[0].width}px`) &&
|
|
9445
|
+
A[0].width}px`) && z(t, "width", c), b & /*rulerItemProp*/
|
|
9448
9446
|
1 && d !== (d = `${/*rulerItemProp*/
|
|
9449
|
-
A[0].left}px`) &&
|
|
9447
|
+
A[0].left}px`) && z(t, "left", d), b & /*rulerItemProp*/
|
|
9450
9448
|
1 && h !== (h = `${/*rulerItemProp*/
|
|
9451
|
-
A[0].top}px`) &&
|
|
9449
|
+
A[0].top}px`) && z(t, "top", h), b & /*rulerItemProp*/
|
|
9452
9450
|
1 && u !== (u = `rotate(${/*rulerItemProp*/
|
|
9453
|
-
A[0].rotateDeg}deg)`) &&
|
|
9454
|
-
5 &&
|
|
9451
|
+
A[0].rotateDeg}deg)`) && z(t, "transform", u), b & /*rulerItemProp, _visible*/
|
|
9452
|
+
5 && z(
|
|
9455
9453
|
t,
|
|
9456
9454
|
"display",
|
|
9457
9455
|
/*rulerItemProp*/
|
|
@@ -9583,24 +9581,24 @@ function ev(i, t, e) {
|
|
|
9583
9581
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
9584
9582
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
9585
9583
|
], I = [];
|
|
9586
|
-
for (let
|
|
9587
|
-
const
|
|
9588
|
-
|
|
9584
|
+
for (let T = 0; T < S.length; T++) {
|
|
9585
|
+
const D = Dh([P, k], [S[T][0], S[T][1]], !0);
|
|
9586
|
+
D && I.push(D);
|
|
9589
9587
|
}
|
|
9590
9588
|
return I.length === 0 ? !1 : I;
|
|
9591
9589
|
}, d = (P, k) => {
|
|
9592
|
-
const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a,
|
|
9590
|
+
const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a, T = (-S.y + 1) / 2 * l, D = k.clone().project(n.camera), F = (D.x + 1) / 2 * a, q = (-D.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - I, 2) + Math.pow(q - T, 2));
|
|
9593
9591
|
return {
|
|
9594
9592
|
startLeft: I,
|
|
9595
|
-
startTop:
|
|
9593
|
+
startTop: T,
|
|
9596
9594
|
endLeft: F,
|
|
9597
9595
|
endTop: q,
|
|
9598
9596
|
distance: Q
|
|
9599
9597
|
};
|
|
9600
9598
|
}, h = (P, k, S) => {
|
|
9601
|
-
const I = n.camera.position,
|
|
9599
|
+
const I = n.camera.position, T = n.camera.getWorldDirection(new $()), D = P.clone().sub(I).normalize().angleTo(T), F = k.clone().sub(I).normalize().angleTo(T), q = P.distanceTo(k), R = k.clone().sub(k.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(P, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
|
|
9602
9600
|
let ie = !0;
|
|
9603
|
-
S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1),
|
|
9601
|
+
S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1), D > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
|
|
9604
9602
|
let Ae = 50, we = Y;
|
|
9605
9603
|
const ge = c({ x: ~~H, y: ~~B }, { x: ~~G, y: ~~U });
|
|
9606
9604
|
if (ge && ge.length === 1 && (Vt(P, S) ? (we = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - B, 2)), Ae = we / Y * 50) : Vt(k, S) && (we = Math.sqrt(Math.pow(ge[0].x - G, 2) + Math.pow(ge[0].y - U, 2)), Ae = 100 - we / Y * 50)), ge && ge.length === 2) {
|
|
@@ -9625,7 +9623,7 @@ function ev(i, t, e) {
|
|
|
9625
9623
|
return e(0, r = []);
|
|
9626
9624
|
if (n.currentMode !== nt.Mode.Panorama)
|
|
9627
9625
|
return e(0, r = []);
|
|
9628
|
-
const S = n.camera.position, I = n.camera.getWorldDirection(new $()),
|
|
9626
|
+
const S = n.camera.position, I = n.camera.getWorldDirection(new $()), T = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), D = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = T.concat(D).sort((Q, R) => {
|
|
9629
9627
|
const H = Q.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0)), B = R.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0));
|
|
9630
9628
|
return H - B;
|
|
9631
9629
|
}), q = k.lines.map((Q) => {
|
|
@@ -10240,7 +10238,7 @@ function Iv(i) {
|
|
|
10240
10238
|
const P = y.clientWidth, k = y.clientHeight, S = P / 2, I = k / 2;
|
|
10241
10239
|
if (e.points.length < 2)
|
|
10242
10240
|
return;
|
|
10243
|
-
const [
|
|
10241
|
+
const [T, D] = e.points, F = T.position.clone().project(b.camera), q = D.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * S, F.y * I), H = new bt(q.x * S, q.y * I), B = R.distanceTo(H);
|
|
10244
10242
|
if ((() => !(Math.abs(F.z) > 1 || Math.abs(q.z) > 1 || !yr(F) && !yr(q) || !yr(Q) || B === 0))() === !1) {
|
|
10245
10243
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
10246
10244
|
return;
|
|
@@ -10257,10 +10255,10 @@ function Iv(i) {
|
|
|
10257
10255
|
o.removeEventListener("click", c), s.remove();
|
|
10258
10256
|
}
|
|
10259
10257
|
function g() {
|
|
10260
|
-
var
|
|
10258
|
+
var T, D, F;
|
|
10261
10259
|
if (e.points.length < 2)
|
|
10262
10260
|
return "";
|
|
10263
|
-
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (
|
|
10261
|
+
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (T = i.line.text) != null ? T : i.line.model.config.defaultText, S = (F = (D = i.line.model.config) == null ? void 0 : D.getDistanceText) == null ? void 0 : F.call(D, P), I = k != null ? k : S;
|
|
10264
10262
|
return I != null ? I : P.toFixed(2) + "m";
|
|
10265
10263
|
}
|
|
10266
10264
|
function A(b) {
|
|
@@ -11939,7 +11937,7 @@ function Wl(i) {
|
|
|
11939
11937
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
11940
11938
|
/*origin*/
|
|
11941
11939
|
i[3].destroying
|
|
11942
|
-
),
|
|
11940
|
+
), z(t, "top", e), z(t, "left", n), z(
|
|
11943
11941
|
t,
|
|
11944
11942
|
"visibility",
|
|
11945
11943
|
/*origin*/
|
|
@@ -11958,10 +11956,10 @@ function Wl(i) {
|
|
|
11958
11956
|
i[3].destroying
|
|
11959
11957
|
), l & /*origins*/
|
|
11960
11958
|
1 && e !== (e = `${/*origin*/
|
|
11961
|
-
i[3].top}%`) &&
|
|
11959
|
+
i[3].top}%`) && z(t, "top", e), l & /*origins*/
|
|
11962
11960
|
1 && n !== (n = `${/*origin*/
|
|
11963
|
-
i[3].left}%`) &&
|
|
11964
|
-
1 &&
|
|
11961
|
+
i[3].left}%`) && z(t, "left", n), l & /*origins*/
|
|
11962
|
+
1 && z(
|
|
11965
11963
|
t,
|
|
11966
11964
|
"visibility",
|
|
11967
11965
|
/*origin*/
|
|
@@ -12035,20 +12033,20 @@ function a0(i) {
|
|
|
12035
12033
|
let t, e, n, o, s, r, a, l, c, d, h, u, m, v, g;
|
|
12036
12034
|
return {
|
|
12037
12035
|
c() {
|
|
12038
|
-
t = _("div"), e = _("div"), n = se(), o = _("div"), s = _("i"), r = se(), a = _("i"), l = se(), c = _("i"), d = se(), h = _("div"), u = _("div"), w(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"),
|
|
12036
|
+
t = _("div"), e = _("div"), n = se(), o = _("div"), s = _("i"), r = se(), a = _("i"), l = se(), c = _("i"), d = se(), h = _("div"), u = _("div"), w(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), z(e, "transform", "translate(" + /*contentWidth*/
|
|
12039
12037
|
i[7] / 2 * /*contentZoom*/
|
|
12040
12038
|
i[3] * 3 + "px, " + /*contentHeight*/
|
|
12041
12039
|
i[8] / 2 * /*upsideDown*/
|
|
12042
12040
|
(i[1] ? -1 : 1) * /*contentZoom*/
|
|
12043
12041
|
i[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
12044
|
-
i[3] + ")"), w(s, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"),
|
|
12042
|
+
i[3] + ")"), w(s, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), z(
|
|
12045
12043
|
s,
|
|
12046
12044
|
"width",
|
|
12047
12045
|
/*lineWidthZoom*/
|
|
12048
12046
|
i[4] + "rem"
|
|
12049
|
-
), w(a, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), w(c, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), w(o, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), w(u, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), w(h, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"),
|
|
12047
|
+
), w(a, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), w(c, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), w(o, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), w(u, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), w(h, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"), z(h, "transform", "scale(" + /*contentZoom*/
|
|
12050
12048
|
i[3] * 3 + ")"), w(t, "id", m = "PanoSpatialTagPlugin__" + /*id*/
|
|
12051
|
-
i[0]),
|
|
12049
|
+
i[0]), z(t, "height", 20 * /*lineHeightZoom*/
|
|
12052
12050
|
i[5] + "rem"), w(t, "class", "svelte-9m6drd"), K(t, "PanoSpatialTagPlugin__tag-x", !0), K(
|
|
12053
12051
|
t,
|
|
12054
12052
|
"PanoSpatialTagPlugin__tag-upside-down",
|
|
@@ -12078,14 +12076,14 @@ function a0(i) {
|
|
|
12078
12076
|
},
|
|
12079
12077
|
p(A, [b]) {
|
|
12080
12078
|
b & /*contentWidth, contentZoom, contentHeight, upsideDown*/
|
|
12081
|
-
394 &&
|
|
12079
|
+
394 && z(e, "transform", "translate(" + /*contentWidth*/
|
|
12082
12080
|
A[7] / 2 * /*contentZoom*/
|
|
12083
12081
|
A[3] * 3 + "px, " + /*contentHeight*/
|
|
12084
12082
|
A[8] / 2 * /*upsideDown*/
|
|
12085
12083
|
(A[1] ? -1 : 1) * /*contentZoom*/
|
|
12086
12084
|
A[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
12087
12085
|
A[3] + ")"), b & /*lineWidthZoom*/
|
|
12088
|
-
16 &&
|
|
12086
|
+
16 && z(
|
|
12089
12087
|
s,
|
|
12090
12088
|
"width",
|
|
12091
12089
|
/*lineWidthZoom*/
|
|
@@ -12093,11 +12091,11 @@ function a0(i) {
|
|
|
12093
12091
|
), b & /*content*/
|
|
12094
12092
|
4 && (u.innerHTML = /*content*/
|
|
12095
12093
|
A[2]), b & /*contentZoom*/
|
|
12096
|
-
8 &&
|
|
12094
|
+
8 && z(h, "transform", "scale(" + /*contentZoom*/
|
|
12097
12095
|
A[3] * 3 + ")"), b & /*id*/
|
|
12098
12096
|
1 && m !== (m = "PanoSpatialTagPlugin__" + /*id*/
|
|
12099
12097
|
A[0]) && w(t, "id", m), b & /*lineHeightZoom*/
|
|
12100
|
-
32 &&
|
|
12098
|
+
32 && z(t, "height", 20 * /*lineHeightZoom*/
|
|
12101
12099
|
A[5] + "rem"), b & /*upsideDown*/
|
|
12102
12100
|
2 && K(
|
|
12103
12101
|
t,
|
|
@@ -12134,21 +12132,21 @@ function l0(i, t, e) {
|
|
|
12134
12132
|
100
|
|
12135
12133
|
);
|
|
12136
12134
|
const P = (I) => {
|
|
12137
|
-
const
|
|
12138
|
-
let
|
|
12139
|
-
for (;
|
|
12140
|
-
const F =
|
|
12135
|
+
const T = Object.keys(u);
|
|
12136
|
+
let D = I.target;
|
|
12137
|
+
for (; D; ) {
|
|
12138
|
+
const F = D.getAttribute("class");
|
|
12141
12139
|
if (!F) {
|
|
12142
|
-
|
|
12140
|
+
D = D.parentNode;
|
|
12143
12141
|
continue;
|
|
12144
12142
|
}
|
|
12145
12143
|
if (F.includes("PanoSpatialTagPlugin__tag-content")) {
|
|
12146
|
-
|
|
12144
|
+
D = null;
|
|
12147
12145
|
break;
|
|
12148
12146
|
}
|
|
12149
|
-
|
|
12147
|
+
T.forEach((q) => {
|
|
12150
12148
|
F.includes(q) && u[q](n);
|
|
12151
|
-
}),
|
|
12149
|
+
}), D = D.parentNode;
|
|
12152
12150
|
}
|
|
12153
12151
|
};
|
|
12154
12152
|
St(() => {
|
|
@@ -12157,8 +12155,8 @@ function l0(i, t, e) {
|
|
|
12157
12155
|
const k = Bh.subscribe((I) => {
|
|
12158
12156
|
if (I === null)
|
|
12159
12157
|
return;
|
|
12160
|
-
const [
|
|
12161
|
-
n ===
|
|
12158
|
+
const [T, D] = I.split("-PanoSpatialTagPlugin-");
|
|
12159
|
+
n === T && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
|
|
12162
12160
|
() => {
|
|
12163
12161
|
y = void 0;
|
|
12164
12162
|
},
|
|
@@ -12440,10 +12438,10 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12440
12438
|
}, I = () => {
|
|
12441
12439
|
g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
|
|
12442
12440
|
g.timeoutId = void 0;
|
|
12443
|
-
const ue =
|
|
12441
|
+
const ue = T();
|
|
12444
12442
|
ue.length && (g.tags = g.tags.concat(ue), S());
|
|
12445
12443
|
}, o));
|
|
12446
|
-
},
|
|
12444
|
+
}, T = () => {
|
|
12447
12445
|
const { clientWidth: ue, clientHeight: be } = i.getElement(), Se = [], me = i.camera, Ye = new E.Frustum(), at = new E.Matrix4(), ke = me.getWorldDirection(new E.Vector3());
|
|
12448
12446
|
at.multiplyMatrices(
|
|
12449
12447
|
me.projectionMatrix,
|
|
@@ -12542,7 +12540,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12542
12540
|
}
|
|
12543
12541
|
}
|
|
12544
12542
|
return Se;
|
|
12545
|
-
},
|
|
12543
|
+
}, D = (ue) => {
|
|
12546
12544
|
g.points = ue.points.map((be) => {
|
|
12547
12545
|
var Se, me;
|
|
12548
12546
|
return {
|
|
@@ -12587,7 +12585,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12587
12585
|
}), g.origins = [], g.tags = [], i.off("modelLoaded", Y), i.off("renderFrame", S), i.off("panoWillArrive", P), i.off("panoArrived", y), i.off("modeChange", k), i.off("cameraUpdate", b), i.off("dispose", J), window.removeEventListener("resize", U, !1);
|
|
12588
12586
|
};
|
|
12589
12587
|
return window.addEventListener("resize", U, !1), (He = i == null ? void 0 : i.model) != null && He.loaded ? Y() : i.once("modelLoaded", Y), i.on("dispose", J), {
|
|
12590
|
-
load:
|
|
12588
|
+
load: D,
|
|
12591
12589
|
setIntersectObjects: F,
|
|
12592
12590
|
unfoldAll: R,
|
|
12593
12591
|
foldAll: H,
|
|
@@ -12657,17 +12655,17 @@ function A0(i) {
|
|
|
12657
12655
|
), s, r, a, l, c, d;
|
|
12658
12656
|
return {
|
|
12659
12657
|
c() {
|
|
12660
|
-
t = _("div"), e = _("div"), n = _("span"), s = Ve(o), r = se(), a = _("div"), w(n, "class", "item-label-item__text svelte-1wufped"), w(e, "class", "item-label-item__text-wrap svelte-1wufped"),
|
|
12661
|
-
i[0].strokeLength + 26}px`), w(a, "class", "item-label-item__bar svelte-1wufped"),
|
|
12658
|
+
t = _("div"), e = _("div"), n = _("span"), s = Ve(o), r = se(), a = _("div"), w(n, "class", "item-label-item__text svelte-1wufped"), w(e, "class", "item-label-item__text-wrap svelte-1wufped"), z(e, "top", `-${/*itemLabel*/
|
|
12659
|
+
i[0].strokeLength + 26}px`), w(a, "class", "item-label-item__bar svelte-1wufped"), z(a, "height", `${/*itemLabel*/
|
|
12662
12660
|
i[0].strokeLength}px`), w(t, "class", l = _e(it("item-label-item", { visible: (
|
|
12663
12661
|
/*itemLabel*/
|
|
12664
12662
|
i[0].visible
|
|
12665
|
-
) })) + " svelte-1wufped"),
|
|
12663
|
+
) })) + " svelte-1wufped"), z(
|
|
12666
12664
|
t,
|
|
12667
12665
|
"z-index",
|
|
12668
12666
|
/*itemLabel*/
|
|
12669
12667
|
i[0].zIndex
|
|
12670
|
-
),
|
|
12668
|
+
), z(
|
|
12671
12669
|
t,
|
|
12672
12670
|
"transform",
|
|
12673
12671
|
/*itemLabel*/
|
|
@@ -12690,21 +12688,21 @@ function A0(i) {
|
|
|
12690
12688
|
/*itemLabel*/
|
|
12691
12689
|
h[0].name
|
|
12692
12690
|
)) + "") && Re(s, o), u & /*itemLabel*/
|
|
12693
|
-
1 &&
|
|
12691
|
+
1 && z(e, "top", `-${/*itemLabel*/
|
|
12694
12692
|
h[0].strokeLength + 26}px`), u & /*itemLabel*/
|
|
12695
|
-
1 &&
|
|
12693
|
+
1 && z(a, "height", `${/*itemLabel*/
|
|
12696
12694
|
h[0].strokeLength}px`), u & /*itemLabel*/
|
|
12697
12695
|
1 && l !== (l = _e(it("item-label-item", { visible: (
|
|
12698
12696
|
/*itemLabel*/
|
|
12699
12697
|
h[0].visible
|
|
12700
12698
|
) })) + " svelte-1wufped") && w(t, "class", l), u & /*itemLabel*/
|
|
12701
|
-
1 &&
|
|
12699
|
+
1 && z(
|
|
12702
12700
|
t,
|
|
12703
12701
|
"z-index",
|
|
12704
12702
|
/*itemLabel*/
|
|
12705
12703
|
h[0].zIndex
|
|
12706
12704
|
), u & /*itemLabel*/
|
|
12707
|
-
1 &&
|
|
12705
|
+
1 && z(
|
|
12708
12706
|
t,
|
|
12709
12707
|
"transform",
|
|
12710
12708
|
/*itemLabel*/
|
|
@@ -12810,7 +12808,7 @@ function C0(i) {
|
|
|
12810
12808
|
w(t, "class", "item-labels-container svelte-f82itz"), ot(() => (
|
|
12811
12809
|
/*div_elementresize_handler*/
|
|
12812
12810
|
i[9].call(t)
|
|
12813
|
-
)),
|
|
12811
|
+
)), z(
|
|
12814
12812
|
t,
|
|
12815
12813
|
"opacity",
|
|
12816
12814
|
/*itemsVisible*/
|
|
@@ -12831,7 +12829,7 @@ function C0(i) {
|
|
|
12831
12829
|
c & /*renderItemLabels, hooks*/
|
|
12832
12830
|
3 && (r = /*renderItemLabels*/
|
|
12833
12831
|
l[1], de(), e = Lt(e, c, a, 1, l, r, n, t, fn, Zl, null, Jl), he()), c & /*itemsVisible*/
|
|
12834
|
-
16 &&
|
|
12832
|
+
16 && z(
|
|
12835
12833
|
t,
|
|
12836
12834
|
"opacity",
|
|
12837
12835
|
/*itemsVisible*/
|
|
@@ -12909,13 +12907,13 @@ function I0(i, t, e) {
|
|
|
12909
12907
|
oh(() => {
|
|
12910
12908
|
q();
|
|
12911
12909
|
});
|
|
12912
|
-
const
|
|
12913
|
-
e(4, g = !1),
|
|
12910
|
+
const T = () => {
|
|
12911
|
+
e(4, g = !1), D();
|
|
12914
12912
|
};
|
|
12915
12913
|
St(() => {
|
|
12916
|
-
e(1, h = a), d = a, I(), F(), s.on("cameraUpdate",
|
|
12914
|
+
e(1, h = a), d = a, I(), F(), s.on("cameraUpdate", T);
|
|
12917
12915
|
});
|
|
12918
|
-
const
|
|
12916
|
+
const D = Rh(
|
|
12919
12917
|
() => {
|
|
12920
12918
|
e(4, g = !0), I();
|
|
12921
12919
|
},
|
|
@@ -12928,7 +12926,7 @@ function I0(i, t, e) {
|
|
|
12928
12926
|
s.once("renderFrame", I);
|
|
12929
12927
|
};
|
|
12930
12928
|
un(() => {
|
|
12931
|
-
s.off("cameraUpdate",
|
|
12929
|
+
s.off("cameraUpdate", T), window.removeEventListener("resize", Q, !1);
|
|
12932
12930
|
});
|
|
12933
12931
|
function R() {
|
|
12934
12932
|
u = this.clientWidth, m = this.clientHeight, e(2, u), e(3, m);
|
|
@@ -13127,14 +13125,14 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13127
13125
|
for (let R = 1; R < k; R++)
|
|
13128
13126
|
I.push(1, R / k);
|
|
13129
13127
|
I.push(1, 1);
|
|
13130
|
-
const
|
|
13128
|
+
const T = [];
|
|
13131
13129
|
for (let R = 0; R < k; R++)
|
|
13132
|
-
|
|
13133
|
-
P.setAttribute("position", new E.BufferAttribute(new Float32Array(S), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(
|
|
13134
|
-
const
|
|
13130
|
+
T.push(R, R + 1, k * 2 - R, R, k * 2 - R, k * 2 + 1 - R);
|
|
13131
|
+
P.setAttribute("position", new E.BufferAttribute(new Float32Array(S), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(T), 1));
|
|
13132
|
+
const D = new E.MeshBasicMaterial({
|
|
13135
13133
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
13136
13134
|
side: E.DoubleSide
|
|
13137
|
-
}), F = new E.Mesh(P,
|
|
13135
|
+
}), F = new E.Mesh(P, D);
|
|
13138
13136
|
F.renderOrder = 1, F.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
|
|
13139
13137
|
const q = [b[1], b[2], b[3], b[0]], Q = n.create3DDomContainer(q);
|
|
13140
13138
|
if (Q != null && Q.container) {
|
|
@@ -13156,17 +13154,17 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13156
13154
|
I.onreadystatechange = () => {
|
|
13157
13155
|
if (I.readyState === 4)
|
|
13158
13156
|
if (I.status === 200) {
|
|
13159
|
-
const
|
|
13160
|
-
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src =
|
|
13161
|
-
const
|
|
13162
|
-
|
|
13157
|
+
const T = window.URL || window.webkitURL;
|
|
13158
|
+
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(I.response);
|
|
13159
|
+
const D = new E.VideoTexture(P);
|
|
13160
|
+
D.minFilter = E.LinearFilter, D.magFilter = E.LinearFilter, D.format = E.RGBFormat, k(Object.assign(D, { videoSource: b }));
|
|
13163
13161
|
} else
|
|
13164
13162
|
S(new Error("Video download Error: " + I.status));
|
|
13165
|
-
}, I.onerror = (
|
|
13163
|
+
}, I.onerror = (T) => S(T), I.open("GET", b), I.responseType = "blob", I.send();
|
|
13166
13164
|
});
|
|
13167
13165
|
}, u = (b, y) => X(void 0, null, function* () {
|
|
13168
13166
|
const { video_src: P, video_poster_src: k, points: S } = b;
|
|
13169
|
-
e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x:
|
|
13167
|
+
e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x: T, y: D, z: F }) => new E.Vector3(T, D, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
|
|
13170
13168
|
}), m = (b) => {
|
|
13171
13169
|
if (!e.enabled)
|
|
13172
13170
|
return;
|
|
@@ -13180,14 +13178,14 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13180
13178
|
return;
|
|
13181
13179
|
const b = i.camera.position;
|
|
13182
13180
|
if (o.forEach((y, P) => {
|
|
13183
|
-
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S),
|
|
13184
|
-
|
|
13181
|
+
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S), T = i.model.intersectRaycaster(I)[0], D = k.distanceTo(b), F = 0.01;
|
|
13182
|
+
T && T.distance + F < D ? y.hide() : y.show();
|
|
13185
13183
|
}), !r()) {
|
|
13186
13184
|
const y = e.rectPoints.find((P) => {
|
|
13187
13185
|
const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
|
|
13188
13186
|
return P.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
|
|
13189
|
-
const I = S.distanceTo(b),
|
|
13190
|
-
return !(
|
|
13187
|
+
const I = S.distanceTo(b), T = new E.Raycaster(b, S.clone().sub(b).normalize()), D = i.model.intersectRaycaster(T)[0], F = 0.01;
|
|
13188
|
+
return !(D && D.distance + F < I);
|
|
13191
13189
|
}).length >= 2;
|
|
13192
13190
|
});
|
|
13193
13191
|
(!y || y.length === 0) && s(!0);
|
|
@@ -13297,20 +13295,20 @@ function L0(i) {
|
|
|
13297
13295
|
t = _("div"), e = _("div"), m.c(), s = se(), r = _("div"), w(e, "class", o = _e(it("item-label-item__text-wrap", {
|
|
13298
13296
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
13299
13297
|
i[0].render == "function"
|
|
13300
|
-
})) + " svelte-gduhqw"),
|
|
13298
|
+
})) + " svelte-gduhqw"), z(e, "bottom", `${/*itemLabel*/
|
|
13301
13299
|
i[0].strokeLength}px`), w(r, "class", a = _e(it("item-label-item__bar", { anchor: (
|
|
13302
13300
|
/*anchorEnabled*/
|
|
13303
13301
|
i[1]
|
|
13304
|
-
) })) + " svelte-gduhqw"),
|
|
13302
|
+
) })) + " svelte-gduhqw"), z(r, "height", `${/*itemLabel*/
|
|
13305
13303
|
i[0].strokeLength}px`), w(t, "class", l = _e(it("item-label-item", { fold: (
|
|
13306
13304
|
/*itemLabel*/
|
|
13307
13305
|
i[0].isFold
|
|
13308
|
-
) })) + " svelte-gduhqw"),
|
|
13306
|
+
) })) + " svelte-gduhqw"), z(
|
|
13309
13307
|
t,
|
|
13310
13308
|
"z-index",
|
|
13311
13309
|
/*itemLabel*/
|
|
13312
13310
|
i[0].zIndex
|
|
13313
|
-
),
|
|
13311
|
+
), z(
|
|
13314
13312
|
t,
|
|
13315
13313
|
"transform",
|
|
13316
13314
|
/*itemLabel*/
|
|
@@ -13331,25 +13329,25 @@ function L0(i) {
|
|
|
13331
13329
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
13332
13330
|
v[0].render == "function"
|
|
13333
13331
|
})) + " svelte-gduhqw") && w(e, "class", o), g & /*itemLabel*/
|
|
13334
|
-
1 &&
|
|
13332
|
+
1 && z(e, "bottom", `${/*itemLabel*/
|
|
13335
13333
|
v[0].strokeLength}px`), g & /*anchorEnabled*/
|
|
13336
13334
|
2 && a !== (a = _e(it("item-label-item__bar", { anchor: (
|
|
13337
13335
|
/*anchorEnabled*/
|
|
13338
13336
|
v[1]
|
|
13339
13337
|
) })) + " svelte-gduhqw") && w(r, "class", a), g & /*itemLabel*/
|
|
13340
|
-
1 &&
|
|
13338
|
+
1 && z(r, "height", `${/*itemLabel*/
|
|
13341
13339
|
v[0].strokeLength}px`), g & /*itemLabel*/
|
|
13342
13340
|
1 && l !== (l = _e(it("item-label-item", { fold: (
|
|
13343
13341
|
/*itemLabel*/
|
|
13344
13342
|
v[0].isFold
|
|
13345
13343
|
) })) + " svelte-gduhqw") && w(t, "class", l), g & /*itemLabel*/
|
|
13346
|
-
1 &&
|
|
13344
|
+
1 && z(
|
|
13347
13345
|
t,
|
|
13348
13346
|
"z-index",
|
|
13349
13347
|
/*itemLabel*/
|
|
13350
13348
|
v[0].zIndex
|
|
13351
13349
|
), g & /*itemLabel*/
|
|
13352
|
-
1 &&
|
|
13350
|
+
1 && z(
|
|
13353
13351
|
t,
|
|
13354
13352
|
"transform",
|
|
13355
13353
|
/*itemLabel*/
|
|
@@ -13545,7 +13543,7 @@ function B0(i) {
|
|
|
13545
13543
|
w(t, "class", "item-labels-container svelte-f82itz"), ot(() => (
|
|
13546
13544
|
/*div_elementresize_handler*/
|
|
13547
13545
|
i[12].call(t)
|
|
13548
|
-
)),
|
|
13546
|
+
)), z(
|
|
13549
13547
|
t,
|
|
13550
13548
|
"opacity",
|
|
13551
13549
|
/*itemsVisible*/
|
|
@@ -13566,7 +13564,7 @@ function B0(i) {
|
|
|
13566
13564
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
13567
13565
|
71 && (r = /*renderItemLabels*/
|
|
13568
13566
|
l[1], de(), e = Lt(e, c, a, 1, l, r, n, t, fn, oc, null, nc), he()), c[0] & /*itemsVisible*/
|
|
13569
|
-
32 &&
|
|
13567
|
+
32 && z(
|
|
13570
13568
|
t,
|
|
13571
13569
|
"opacity",
|
|
13572
13570
|
/*itemsVisible*/
|
|
@@ -13633,16 +13631,16 @@ function Q0(i, t, e) {
|
|
|
13633
13631
|
}, S = () => {
|
|
13634
13632
|
g = [], e(1, h = k(o, h));
|
|
13635
13633
|
}, I = () => {
|
|
13636
|
-
e(5, A = !1),
|
|
13637
|
-
},
|
|
13634
|
+
e(5, A = !1), T();
|
|
13635
|
+
}, T = Rh(
|
|
13638
13636
|
() => {
|
|
13639
13637
|
e(5, A = !0), S();
|
|
13640
13638
|
},
|
|
13641
13639
|
300
|
|
13642
|
-
),
|
|
13640
|
+
), D = () => {
|
|
13643
13641
|
o.once("renderFrame", S);
|
|
13644
13642
|
}, F = () => {
|
|
13645
|
-
window.addEventListener("resize",
|
|
13643
|
+
window.addEventListener("resize", D, !1);
|
|
13646
13644
|
}, q = () => {
|
|
13647
13645
|
d !== r && (e(1, h = tc(r)), d = r, S());
|
|
13648
13646
|
}, Q = (B, G) => {
|
|
@@ -13687,7 +13685,7 @@ function Q0(i, t, e) {
|
|
|
13687
13685
|
}), St(() => {
|
|
13688
13686
|
e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate", I);
|
|
13689
13687
|
}), un(() => {
|
|
13690
|
-
o.off("cameraUpdate", I), window.removeEventListener("resize",
|
|
13688
|
+
o.off("cameraUpdate", I), window.removeEventListener("resize", D, !1);
|
|
13691
13689
|
});
|
|
13692
13690
|
function H() {
|
|
13693
13691
|
m = this.clientWidth, v = this.clientHeight, e(3, m), e(4, v);
|
|
@@ -14058,17 +14056,17 @@ class eA extends N0 {
|
|
|
14058
14056
|
if (this.five.currentMode !== "Panorama")
|
|
14059
14057
|
return this.hideAllLabels();
|
|
14060
14058
|
const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
|
|
14061
|
-
if (c.forEach((I,
|
|
14059
|
+
if (c.forEach((I, T) => {
|
|
14062
14060
|
if (I.visible) {
|
|
14063
|
-
const
|
|
14064
|
-
I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel:
|
|
14061
|
+
const D = n.position.distanceTo(I.position), F = I.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && D > this.MinVisibledistance && D <= this.MaxVisibledistance;
|
|
14062
|
+
I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel: D, left: H, top: B, index: T }) : I.transform = "translate(-50%, -50%)";
|
|
14065
14063
|
} else
|
|
14066
14064
|
I.inSight = !1;
|
|
14067
14065
|
}), l.length > 1) {
|
|
14068
14066
|
let I = 0;
|
|
14069
|
-
l.sort((
|
|
14070
|
-
for (let
|
|
14071
|
-
const { index:
|
|
14067
|
+
l.sort((T, D) => D.disFromCameraToLabel - T.disFromCameraToLabel);
|
|
14068
|
+
for (let T = 1; T < l.length; T++) {
|
|
14069
|
+
const { index: D, left: F, top: q } = l[T - 1], { index: Q, left: R, top: H } = l[T], B = this.container.children[D], G = this.container.children[Q];
|
|
14072
14070
|
if (!B || !G)
|
|
14073
14071
|
return;
|
|
14074
14072
|
const U = {
|
|
@@ -14082,7 +14080,7 @@ class eA extends N0 {
|
|
|
14082
14080
|
width: (y = (b = (A = G.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
|
|
14083
14081
|
height: (S = (k = (P = G.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
|
|
14084
14082
|
};
|
|
14085
|
-
q0(U, Y) && (I++, c[
|
|
14083
|
+
q0(U, Y) && (I++, c[D].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${I * 100 - 50}%)`);
|
|
14086
14084
|
}
|
|
14087
14085
|
}
|
|
14088
14086
|
this.labelItems = c, this.render();
|
|
@@ -14253,17 +14251,15 @@ function yA(i) {
|
|
|
14253
14251
|
return { geometry: new E.BufferGeometry(), maxU: 0 };
|
|
14254
14252
|
const r = new E.CurvePath();
|
|
14255
14253
|
s.forEach((I) => {
|
|
14256
|
-
const
|
|
14257
|
-
|
|
14254
|
+
const T = wA(I);
|
|
14255
|
+
T && r.add(T);
|
|
14258
14256
|
});
|
|
14259
|
-
const a = Math.ceil(r.getLength() * 100);
|
|
14260
|
-
r.arcLengthDivisions = a;
|
|
14261
|
-
const l = r.getPoints(a), c = l.length, d = pA(l.map((I) => [I.x, I.z])), u = (c - 1) * gA * vA, m = 2 * c, v = m * AA, g = m * bA, A = new Uint32Array(u), b = new Float32Array(v), y = new Float32Array(g);
|
|
14257
|
+
const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = pA(l.map((I) => [I.x, I.z])), u = (c - 1) * gA * vA, m = 2 * c, v = m * AA, g = m * bA, A = new Uint32Array(u), b = new Float32Array(v), y = new Float32Array(g);
|
|
14262
14258
|
let P = 0, k = 0;
|
|
14263
14259
|
for (let I = 0; I < l.length; I++) {
|
|
14264
|
-
const [
|
|
14260
|
+
const [T, D] = d[I][0], F = l[I], { x: q, y: Q, z: R } = F, H = new $(q + T * o, Q + 0.05, R + D * o);
|
|
14265
14261
|
b[I * 6 + 0] = H.x, b[I * 6 + 1] = H.y, b[I * 6 + 2] = H.z;
|
|
14266
|
-
const B = new $(q -
|
|
14262
|
+
const B = new $(q - T * o, Q + 0.05, R - D * o);
|
|
14267
14263
|
b[I * 6 + 3] = B.x, b[I * 6 + 4] = B.y, b[I * 6 + 5] = B.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
|
|
14268
14264
|
const G = P / t / n;
|
|
14269
14265
|
if (k = G, y[I * 4 + 0] = 0, y[I * 4 + 1] = G, y[I * 4 + 2] = 1, y[I * 4 + 3] = G, i.skipPositions) {
|
|
@@ -14274,7 +14270,7 @@ function yA(i) {
|
|
|
14274
14270
|
I !== l.length - 1 && (A[I * 6 + 0] = I * 2 + 0, A[I * 6 + 1] = I * 2 + 2, A[I * 6 + 2] = I * 2 + 1, A[I * 6 + 3] = I * 2 + 2, A[I * 6 + 4] = I * 2 + 3, A[I * 6 + 5] = I * 2 + 1);
|
|
14275
14271
|
}
|
|
14276
14272
|
const S = new E.BufferGeometry();
|
|
14277
|
-
return S.setAttribute("position", new E.BufferAttribute(b, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(A, 1)), { geometry: S, maxU: k
|
|
14273
|
+
return S.setAttribute("position", new E.BufferAttribute(b, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(A, 1)), { geometry: S, maxU: k };
|
|
14278
14274
|
}
|
|
14279
14275
|
function wA(i) {
|
|
14280
14276
|
if (CA(i)) {
|
|
@@ -15888,12 +15884,12 @@ function dc(i) {
|
|
|
15888
15884
|
/*isVertical*/
|
|
15889
15885
|
i[9]
|
|
15890
15886
|
), K(t, "horizontal", !/*isVertical*/
|
|
15891
|
-
i[9]),
|
|
15887
|
+
i[9]), z(
|
|
15892
15888
|
t,
|
|
15893
15889
|
"width",
|
|
15894
15890
|
/*width*/
|
|
15895
15891
|
i[8] + "px"
|
|
15896
|
-
),
|
|
15892
|
+
), z(
|
|
15897
15893
|
t,
|
|
15898
15894
|
"height",
|
|
15899
15895
|
/*height*/
|
|
@@ -15938,13 +15934,13 @@ function dc(i) {
|
|
|
15938
15934
|
), d & /*isVertical*/
|
|
15939
15935
|
512 && K(t, "horizontal", !/*isVertical*/
|
|
15940
15936
|
c[9]), d & /*width*/
|
|
15941
|
-
256 &&
|
|
15937
|
+
256 && z(
|
|
15942
15938
|
t,
|
|
15943
15939
|
"width",
|
|
15944
15940
|
/*width*/
|
|
15945
15941
|
c[8] + "px"
|
|
15946
15942
|
), d & /*height*/
|
|
15947
|
-
128 &&
|
|
15943
|
+
128 && z(
|
|
15948
15944
|
t,
|
|
15949
15945
|
"height",
|
|
15950
15946
|
/*height*/
|
|
@@ -16124,13 +16120,13 @@ function uc(i) {
|
|
|
16124
16120
|
i[9] ? "transform: translateX(-50%); top: 50%" : ""}
|
|
16125
16121
|
${/*center*/
|
|
16126
16122
|
i[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
|
|
16127
|
-
`),
|
|
16123
|
+
`), z(t, "width", wt(
|
|
16128
16124
|
/*width*/
|
|
16129
16125
|
i[3]
|
|
16130
|
-
)),
|
|
16126
|
+
)), z(t, "height", wt(
|
|
16131
16127
|
/*height*/
|
|
16132
16128
|
i[4]
|
|
16133
|
-
)),
|
|
16129
|
+
)), z(
|
|
16134
16130
|
t,
|
|
16135
16131
|
"z-index",
|
|
16136
16132
|
/*zIndex*/
|
|
@@ -16169,15 +16165,15 @@ function uc(i) {
|
|
|
16169
16165
|
const l = a & /*left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16170
16166
|
8160;
|
|
16171
16167
|
(l || a & /*width, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16172
|
-
8168) &&
|
|
16168
|
+
8168) && z(t, "width", wt(
|
|
16173
16169
|
/*width*/
|
|
16174
16170
|
i[3]
|
|
16175
16171
|
)), (l || a & /*height, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16176
|
-
8176) &&
|
|
16172
|
+
8176) && z(t, "height", wt(
|
|
16177
16173
|
/*height*/
|
|
16178
16174
|
i[4]
|
|
16179
16175
|
)), (l || a & /*zIndex, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16180
|
-
16352) &&
|
|
16176
|
+
16352) && z(
|
|
16181
16177
|
t,
|
|
16182
16178
|
"z-index",
|
|
16183
16179
|
/*zIndex*/
|
|
@@ -16429,11 +16425,11 @@ function lb(i, t, e) {
|
|
|
16429
16425
|
const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
|
|
16430
16426
|
let u, m, v = [];
|
|
16431
16427
|
function g(S) {
|
|
16432
|
-
const I = [],
|
|
16433
|
-
return S.slice().replace(
|
|
16428
|
+
const I = [], T = 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"));
|
|
16429
|
+
return S.slice().replace(T, (D) => `${c}${d}${D}${c}`).split(c).forEach((D) => D.startsWith(d) ? I.push({
|
|
16434
16430
|
id: dt(),
|
|
16435
|
-
content:
|
|
16436
|
-
}) : I.push(...
|
|
16431
|
+
content: D.slice(d.length)
|
|
16432
|
+
}) : I.push(...D.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), I;
|
|
16437
16433
|
}
|
|
16438
16434
|
function A() {
|
|
16439
16435
|
if (!m)
|
|
@@ -16450,9 +16446,9 @@ function lb(i, t, e) {
|
|
|
16450
16446
|
}
|
|
16451
16447
|
function y(S) {
|
|
16452
16448
|
const I = function() {
|
|
16453
|
-
const
|
|
16454
|
-
if (
|
|
16455
|
-
return
|
|
16449
|
+
const T = jA((D) => S[D].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
|
|
16450
|
+
if (T > 0)
|
|
16451
|
+
return T;
|
|
16456
16452
|
}();
|
|
16457
16453
|
m = Ra({
|
|
16458
16454
|
targets: S.slice(0, I).filter(di),
|
|
@@ -16530,7 +16526,7 @@ function pc(i) {
|
|
|
16530
16526
|
}), {
|
|
16531
16527
|
c() {
|
|
16532
16528
|
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), w(o, "class", s = "arrow " + /*direction*/
|
|
16533
|
-
i[0] + " svelte-1ogmlqq"),
|
|
16529
|
+
i[0] + " svelte-1ogmlqq"), z(o, "background-image", "url(" + NA + ")"), w(t, "class", "arrow-wrapper svelte-1ogmlqq");
|
|
16534
16530
|
},
|
|
16535
16531
|
m(h, u) {
|
|
16536
16532
|
V(h, t, u), ee(e, t, null), O(t, n), O(t, o), l = !0, c || (d = Pe(
|
|
@@ -16668,7 +16664,7 @@ function gc(i) {
|
|
|
16668
16664
|
}
|
|
16669
16665
|
}), {
|
|
16670
16666
|
c() {
|
|
16671
|
-
t = _("div"), ne(e.$$.fragment), w(t, "class", "text svelte-1fuzm7v"),
|
|
16667
|
+
t = _("div"), ne(e.$$.fragment), w(t, "class", "text svelte-1fuzm7v"), z(
|
|
16672
16668
|
t,
|
|
16673
16669
|
"transform",
|
|
16674
16670
|
/*transform*/
|
|
@@ -16687,7 +16683,7 @@ function gc(i) {
|
|
|
16687
16683
|
o[1]), s & /*foldTextDelay*/
|
|
16688
16684
|
32 && (r.outDelay = /*foldTextDelay*/
|
|
16689
16685
|
o[5]), e.$set(r), s & /*transform*/
|
|
16690
|
-
128 &&
|
|
16686
|
+
128 && z(
|
|
16691
16687
|
t,
|
|
16692
16688
|
"transform",
|
|
16693
16689
|
/*transform*/
|
|
@@ -17175,14 +17171,14 @@ function Eb(i) {
|
|
|
17175
17171
|
}
|
|
17176
17172
|
return e = a(i), n = r[e] = s[e](i), {
|
|
17177
17173
|
c() {
|
|
17178
|
-
t = _("div"), n.c(), w(t, "class", "text svelte-i9wdo4"),
|
|
17174
|
+
t = _("div"), n.c(), w(t, "class", "text svelte-i9wdo4"), z(t, "max-width", typeof /*maxWidth*/
|
|
17179
17175
|
i[1] == "number" ? Ot(
|
|
17180
17176
|
/*maxWidth*/
|
|
17181
17177
|
i[1]
|
|
17182
17178
|
) : (
|
|
17183
17179
|
/*maxWidth*/
|
|
17184
17180
|
i[1]
|
|
17185
|
-
)),
|
|
17181
|
+
)), z(
|
|
17186
17182
|
t,
|
|
17187
17183
|
"-webkit-line-clamp",
|
|
17188
17184
|
/*maxLine*/
|
|
@@ -17197,7 +17193,7 @@ function Eb(i) {
|
|
|
17197
17193
|
e = a(l), e === d ? r[e].p(l, c) : (de(), L(r[d], 1, 1, () => {
|
|
17198
17194
|
r[d] = null;
|
|
17199
17195
|
}), he(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), x(n, 1), n.m(t, null)), c & /*maxWidth*/
|
|
17200
|
-
2 &&
|
|
17196
|
+
2 && z(t, "max-width", typeof /*maxWidth*/
|
|
17201
17197
|
l[1] == "number" ? Ot(
|
|
17202
17198
|
/*maxWidth*/
|
|
17203
17199
|
l[1]
|
|
@@ -17205,7 +17201,7 @@ function Eb(i) {
|
|
|
17205
17201
|
/*maxWidth*/
|
|
17206
17202
|
l[1]
|
|
17207
17203
|
)), c & /*maxLine*/
|
|
17208
|
-
1 &&
|
|
17204
|
+
1 && z(
|
|
17209
17205
|
t,
|
|
17210
17206
|
"-webkit-line-clamp",
|
|
17211
17207
|
/*maxLine*/
|
|
@@ -17287,7 +17283,7 @@ function wc(i) {
|
|
|
17287
17283
|
);
|
|
17288
17284
|
return {
|
|
17289
17285
|
c() {
|
|
17290
|
-
ne(t.$$.fragment), e = se(), n = _("div"), o = _("div"), s = _("div"), r = _("div"), ne(a.$$.fragment), l = se(), d && d.c(), w(r, "class", "title svelte-1oxrkr1"), w(s, "class", "plane svelte-1oxrkr1"), w(o, "class", "plane__wrapper svelte-1oxrkr1"),
|
|
17286
|
+
ne(t.$$.fragment), e = se(), n = _("div"), o = _("div"), s = _("div"), r = _("div"), ne(a.$$.fragment), l = se(), d && d.c(), w(r, "class", "title svelte-1oxrkr1"), w(s, "class", "plane svelte-1oxrkr1"), w(o, "class", "plane__wrapper svelte-1oxrkr1"), z(
|
|
17291
17287
|
o,
|
|
17292
17288
|
"transform",
|
|
17293
17289
|
/*unfolded*/
|
|
@@ -17324,7 +17320,7 @@ function wc(i) {
|
|
|
17324
17320
|
1 && x(d, 1)) : (d = Cc(m), d.c(), x(d, 1), d.m(s, null)) : d && (de(), L(d, 1, 1, () => {
|
|
17325
17321
|
d = null;
|
|
17326
17322
|
}), he()), v & /*unfolded*/
|
|
17327
|
-
2 &&
|
|
17323
|
+
2 && z(
|
|
17328
17324
|
o,
|
|
17329
17325
|
"transform",
|
|
17330
17326
|
/*unfolded*/
|
|
@@ -17919,7 +17915,7 @@ function Kb(i) {
|
|
|
17919
17915
|
let t;
|
|
17920
17916
|
return {
|
|
17921
17917
|
c() {
|
|
17922
|
-
t = _("div"), w(t, "class", "sc-carousel-progress__indicator svelte-i7yfid"),
|
|
17918
|
+
t = _("div"), w(t, "class", "sc-carousel-progress__indicator svelte-i7yfid"), z(
|
|
17923
17919
|
t,
|
|
17924
17920
|
"width",
|
|
17925
17921
|
/*width*/
|
|
@@ -17931,7 +17927,7 @@ function Kb(i) {
|
|
|
17931
17927
|
},
|
|
17932
17928
|
p(e, [n]) {
|
|
17933
17929
|
n & /*width*/
|
|
17934
|
-
1 &&
|
|
17930
|
+
1 && z(
|
|
17935
17931
|
t,
|
|
17936
17932
|
"width",
|
|
17937
17933
|
/*width*/
|
|
@@ -18543,8 +18539,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18543
18539
|
}
|
|
18544
18540
|
};
|
|
18545
18541
|
(function(i, t) {
|
|
18546
|
-
var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", I = "[object DataView]",
|
|
18547
|
-
ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[
|
|
18542
|
+
var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", I = "[object DataView]", T = "[object Float32Array]", D = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
|
|
18543
|
+
ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[T] = ie[D] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[v] = ie[A] = ie[b] = ie[y] = ie[P] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
|
|
18548
18544
|
var Ae = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, we = typeof self == "object" && self && self.Object === Object && self, ge = Ae || we || Function("return this")(), ze = t && !t.nodeType && t, ve = ze && !0 && i && !i.nodeType && i, He = ve && ve.exports === ze;
|
|
18549
18545
|
function ue(p, C) {
|
|
18550
18546
|
return p.set(C[0], C[1]), p;
|
|
@@ -18553,24 +18549,24 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18553
18549
|
return p.add(C), p;
|
|
18554
18550
|
}
|
|
18555
18551
|
function Se(p, C) {
|
|
18556
|
-
for (var
|
|
18552
|
+
for (var M = -1, N = p ? p.length : 0; ++M < N && C(p[M], M, p) !== !1; )
|
|
18557
18553
|
;
|
|
18558
18554
|
return p;
|
|
18559
18555
|
}
|
|
18560
18556
|
function me(p, C) {
|
|
18561
|
-
for (var
|
|
18562
|
-
p[Ce +
|
|
18557
|
+
for (var M = -1, N = C.length, Ce = p.length; ++M < N; )
|
|
18558
|
+
p[Ce + M] = C[M];
|
|
18563
18559
|
return p;
|
|
18564
18560
|
}
|
|
18565
|
-
function Ye(p, C,
|
|
18561
|
+
function Ye(p, C, M, N) {
|
|
18566
18562
|
var Ce = -1, pe = p ? p.length : 0;
|
|
18567
|
-
for (N && pe && (
|
|
18568
|
-
|
|
18569
|
-
return
|
|
18563
|
+
for (N && pe && (M = p[++Ce]); ++Ce < pe; )
|
|
18564
|
+
M = C(M, p[Ce], Ce, p);
|
|
18565
|
+
return M;
|
|
18570
18566
|
}
|
|
18571
18567
|
function at(p, C) {
|
|
18572
|
-
for (var
|
|
18573
|
-
N[
|
|
18568
|
+
for (var M = -1, N = Array(p); ++M < p; )
|
|
18569
|
+
N[M] = C(M);
|
|
18574
18570
|
return N;
|
|
18575
18571
|
}
|
|
18576
18572
|
function ke(p, C) {
|
|
@@ -18581,26 +18577,26 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18581
18577
|
if (p != null && typeof p.toString != "function")
|
|
18582
18578
|
try {
|
|
18583
18579
|
C = !!(p + "");
|
|
18584
|
-
} catch (
|
|
18580
|
+
} catch (M) {
|
|
18585
18581
|
}
|
|
18586
18582
|
return C;
|
|
18587
18583
|
}
|
|
18588
18584
|
function oe(p) {
|
|
18589
|
-
var C = -1,
|
|
18585
|
+
var C = -1, M = Array(p.size);
|
|
18590
18586
|
return p.forEach(function(N, Ce) {
|
|
18591
|
-
|
|
18592
|
-
}),
|
|
18587
|
+
M[++C] = [Ce, N];
|
|
18588
|
+
}), M;
|
|
18593
18589
|
}
|
|
18594
18590
|
function Ee(p, C) {
|
|
18595
|
-
return function(
|
|
18596
|
-
return p(C(
|
|
18591
|
+
return function(M) {
|
|
18592
|
+
return p(C(M));
|
|
18597
18593
|
};
|
|
18598
18594
|
}
|
|
18599
18595
|
function Be(p) {
|
|
18600
|
-
var C = -1,
|
|
18596
|
+
var C = -1, M = Array(p.size);
|
|
18601
18597
|
return p.forEach(function(N) {
|
|
18602
|
-
|
|
18603
|
-
}),
|
|
18598
|
+
M[++C] = N;
|
|
18599
|
+
}), M;
|
|
18604
18600
|
}
|
|
18605
18601
|
var ht = Array.prototype, Ht = Function.prototype, gt = Object.prototype, vt = ge["__core-js_shared__"], je = function() {
|
|
18606
18602
|
var p = /[^.]+$/.exec(vt && vt.keys && vt.keys.IE_PROTO || "");
|
|
@@ -18609,8 +18605,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18609
18605
|
"^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18610
18606
|
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = gt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ee(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), Et = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ii = lt(_n), vn = lt(pn), Ei = lt(Et), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
|
|
18611
18607
|
function Gt(p) {
|
|
18612
|
-
var C = -1,
|
|
18613
|
-
for (this.clear(); ++C <
|
|
18608
|
+
var C = -1, M = p ? p.length : 0;
|
|
18609
|
+
for (this.clear(); ++C < M; ) {
|
|
18614
18610
|
var N = p[C];
|
|
18615
18611
|
this.set(N[0], N[1]);
|
|
18616
18612
|
}
|
|
@@ -18624,8 +18620,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18624
18620
|
function Ss(p) {
|
|
18625
18621
|
var C = this.__data__;
|
|
18626
18622
|
if (gn) {
|
|
18627
|
-
var
|
|
18628
|
-
return
|
|
18623
|
+
var M = C[p];
|
|
18624
|
+
return M === n ? void 0 : M;
|
|
18629
18625
|
}
|
|
18630
18626
|
return Fe.call(C, p) ? C[p] : void 0;
|
|
18631
18627
|
}
|
|
@@ -18634,13 +18630,13 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18634
18630
|
return gn ? C[p] !== void 0 : Fe.call(C, p);
|
|
18635
18631
|
}
|
|
18636
18632
|
function Di(p, C) {
|
|
18637
|
-
var
|
|
18638
|
-
return
|
|
18633
|
+
var M = this.__data__;
|
|
18634
|
+
return M[p] = gn && C === void 0 ? n : C, this;
|
|
18639
18635
|
}
|
|
18640
18636
|
Gt.prototype.clear = Ds, Gt.prototype.delete = Ms, Gt.prototype.get = Ss, Gt.prototype.has = uo, Gt.prototype.set = Di;
|
|
18641
18637
|
function Ue(p) {
|
|
18642
|
-
var C = -1,
|
|
18643
|
-
for (this.clear(); ++C <
|
|
18638
|
+
var C = -1, M = p ? p.length : 0;
|
|
18639
|
+
for (this.clear(); ++C < M; ) {
|
|
18644
18640
|
var N = p[C];
|
|
18645
18641
|
this.set(N[0], N[1]);
|
|
18646
18642
|
}
|
|
@@ -18649,27 +18645,27 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18649
18645
|
this.__data__ = [];
|
|
18650
18646
|
}
|
|
18651
18647
|
function Ts(p) {
|
|
18652
|
-
var C = this.__data__,
|
|
18653
|
-
if (
|
|
18648
|
+
var C = this.__data__, M = Bn(C, p);
|
|
18649
|
+
if (M < 0)
|
|
18654
18650
|
return !1;
|
|
18655
18651
|
var N = C.length - 1;
|
|
18656
|
-
return
|
|
18652
|
+
return M == N ? C.pop() : xs.call(C, M, 1), !0;
|
|
18657
18653
|
}
|
|
18658
18654
|
function zs(p) {
|
|
18659
|
-
var C = this.__data__,
|
|
18660
|
-
return
|
|
18655
|
+
var C = this.__data__, M = Bn(C, p);
|
|
18656
|
+
return M < 0 ? void 0 : C[M][1];
|
|
18661
18657
|
}
|
|
18662
18658
|
function js(p) {
|
|
18663
18659
|
return Bn(this.__data__, p) > -1;
|
|
18664
18660
|
}
|
|
18665
18661
|
function _s(p, C) {
|
|
18666
|
-
var
|
|
18667
|
-
return N < 0 ?
|
|
18662
|
+
var M = this.__data__, N = Bn(M, p);
|
|
18663
|
+
return N < 0 ? M.push([p, C]) : M[N][1] = C, this;
|
|
18668
18664
|
}
|
|
18669
18665
|
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
18670
18666
|
function $e(p) {
|
|
18671
|
-
var C = -1,
|
|
18672
|
-
for (this.clear(); ++C <
|
|
18667
|
+
var C = -1, M = p ? p.length : 0;
|
|
18668
|
+
for (this.clear(); ++C < M; ) {
|
|
18673
18669
|
var N = p[C];
|
|
18674
18670
|
this.set(N[0], N[1]);
|
|
18675
18671
|
}
|
|
@@ -18710,36 +18706,36 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18710
18706
|
return this.__data__.has(p);
|
|
18711
18707
|
}
|
|
18712
18708
|
function Fs(p, C) {
|
|
18713
|
-
var
|
|
18714
|
-
if (
|
|
18715
|
-
var N =
|
|
18709
|
+
var M = this.__data__;
|
|
18710
|
+
if (M instanceof Ue) {
|
|
18711
|
+
var N = M.__data__;
|
|
18716
18712
|
if (!pn || N.length < e - 1)
|
|
18717
18713
|
return N.push([p, C]), this;
|
|
18718
|
-
|
|
18714
|
+
M = this.__data__ = new $e(N);
|
|
18719
18715
|
}
|
|
18720
|
-
return
|
|
18716
|
+
return M.set(p, C), this;
|
|
18721
18717
|
}
|
|
18722
18718
|
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
18723
18719
|
function On(p, C) {
|
|
18724
|
-
var
|
|
18720
|
+
var M = Ti(p) || Qn(p) ? at(p.length, String) : [], N = M.length, Ce = !!N;
|
|
18725
18721
|
for (var pe in p)
|
|
18726
|
-
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" || sr(pe, N))) &&
|
|
18727
|
-
return
|
|
18722
|
+
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" || sr(pe, N))) && M.push(pe);
|
|
18723
|
+
return M;
|
|
18728
18724
|
}
|
|
18729
|
-
function fo(p, C,
|
|
18725
|
+
function fo(p, C, M) {
|
|
18730
18726
|
var N = p[C];
|
|
18731
|
-
(!(Fe.call(p, C) && Ao(N,
|
|
18727
|
+
(!(Fe.call(p, C) && Ao(N, M)) || M === void 0 && !(C in p)) && (p[C] = M);
|
|
18732
18728
|
}
|
|
18733
18729
|
function Bn(p, C) {
|
|
18734
|
-
for (var
|
|
18735
|
-
if (Ao(p[
|
|
18736
|
-
return
|
|
18730
|
+
for (var M = p.length; M--; )
|
|
18731
|
+
if (Ao(p[M][0], C))
|
|
18732
|
+
return M;
|
|
18737
18733
|
return -1;
|
|
18738
18734
|
}
|
|
18739
18735
|
function zt(p, C) {
|
|
18740
18736
|
return p && Li(C, ji(C), p);
|
|
18741
18737
|
}
|
|
18742
|
-
function Mi(p, C,
|
|
18738
|
+
function Mi(p, C, M, N, Ce, pe, xe) {
|
|
18743
18739
|
var De;
|
|
18744
18740
|
if (N && (De = pe ? N(p, Ce, pe, xe) : N(p)), De !== void 0)
|
|
18745
18741
|
return De;
|
|
@@ -18769,17 +18765,17 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18769
18765
|
if (mt)
|
|
18770
18766
|
return mt;
|
|
18771
18767
|
if (xe.set(p, De), !Ge)
|
|
18772
|
-
var Ne =
|
|
18768
|
+
var Ne = M ? nr(p) : ji(p);
|
|
18773
18769
|
return Se(Ne || p, function(tt, qe) {
|
|
18774
|
-
Ne && (qe = tt, tt = p[qe]), fo(De, qe, Mi(tt, C,
|
|
18770
|
+
Ne && (qe = tt, tt = p[qe]), fo(De, qe, Mi(tt, C, M, N, qe, p, xe));
|
|
18775
18771
|
}), De;
|
|
18776
18772
|
}
|
|
18777
18773
|
function Xs(p) {
|
|
18778
18774
|
return _t(p) ? Tn(p) : {};
|
|
18779
18775
|
}
|
|
18780
|
-
function Ys(p, C,
|
|
18776
|
+
function Ys(p, C, M) {
|
|
18781
18777
|
var N = C(p);
|
|
18782
|
-
return Ti(p) ? N : me(N,
|
|
18778
|
+
return Ti(p) ? N : me(N, M(p));
|
|
18783
18779
|
}
|
|
18784
18780
|
function Us(p) {
|
|
18785
18781
|
return It.call(p);
|
|
@@ -18794,56 +18790,56 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18794
18790
|
if (!go(p))
|
|
18795
18791
|
return co(p);
|
|
18796
18792
|
var C = [];
|
|
18797
|
-
for (var
|
|
18798
|
-
Fe.call(p,
|
|
18793
|
+
for (var M in Object(p))
|
|
18794
|
+
Fe.call(p, M) && M != "constructor" && C.push(M);
|
|
18799
18795
|
return C;
|
|
18800
18796
|
}
|
|
18801
18797
|
function Rn(p, C) {
|
|
18802
18798
|
if (C)
|
|
18803
18799
|
return p.slice();
|
|
18804
|
-
var
|
|
18805
|
-
return p.copy(
|
|
18800
|
+
var M = new p.constructor(p.length);
|
|
18801
|
+
return p.copy(M), M;
|
|
18806
18802
|
}
|
|
18807
18803
|
function Si(p) {
|
|
18808
18804
|
var C = new p.constructor(p.byteLength);
|
|
18809
18805
|
return new mn(C).set(new mn(p)), C;
|
|
18810
18806
|
}
|
|
18811
18807
|
function An(p, C) {
|
|
18812
|
-
var
|
|
18813
|
-
return new p.constructor(
|
|
18808
|
+
var M = C ? Si(p.buffer) : p.buffer;
|
|
18809
|
+
return new p.constructor(M, p.byteOffset, p.byteLength);
|
|
18814
18810
|
}
|
|
18815
|
-
function mo(p, C,
|
|
18816
|
-
var N = C ?
|
|
18811
|
+
function mo(p, C, M) {
|
|
18812
|
+
var N = C ? M(oe(p), !0) : oe(p);
|
|
18817
18813
|
return Ye(N, ue, new p.constructor());
|
|
18818
18814
|
}
|
|
18819
18815
|
function po(p) {
|
|
18820
18816
|
var C = new p.constructor(p.source, Y.exec(p));
|
|
18821
18817
|
return C.lastIndex = p.lastIndex, C;
|
|
18822
18818
|
}
|
|
18823
|
-
function Zs(p, C,
|
|
18824
|
-
var N = C ?
|
|
18819
|
+
function Zs(p, C, M) {
|
|
18820
|
+
var N = C ? M(Be(p), !0) : Be(p);
|
|
18825
18821
|
return Ye(N, be, new p.constructor());
|
|
18826
18822
|
}
|
|
18827
18823
|
function Ks(p) {
|
|
18828
18824
|
return ho ? Object(ho.call(p)) : {};
|
|
18829
18825
|
}
|
|
18830
18826
|
function $s(p, C) {
|
|
18831
|
-
var
|
|
18832
|
-
return new p.constructor(
|
|
18827
|
+
var M = C ? Si(p.buffer) : p.buffer;
|
|
18828
|
+
return new p.constructor(M, p.byteOffset, p.length);
|
|
18833
18829
|
}
|
|
18834
18830
|
function er(p, C) {
|
|
18835
|
-
var
|
|
18836
|
-
for (C || (C = Array(N)); ++
|
|
18837
|
-
C[
|
|
18831
|
+
var M = -1, N = p.length;
|
|
18832
|
+
for (C || (C = Array(N)); ++M < N; )
|
|
18833
|
+
C[M] = p[M];
|
|
18838
18834
|
return C;
|
|
18839
18835
|
}
|
|
18840
|
-
function Li(p, C,
|
|
18841
|
-
|
|
18836
|
+
function Li(p, C, M, N) {
|
|
18837
|
+
M || (M = {});
|
|
18842
18838
|
for (var Ce = -1, pe = C.length; ++Ce < pe; ) {
|
|
18843
|
-
var xe = C[Ce], De = N ? N(
|
|
18844
|
-
fo(
|
|
18839
|
+
var xe = C[Ce], De = N ? N(M[xe], p[xe], xe, M, p) : void 0;
|
|
18840
|
+
fo(M, xe, De === void 0 ? p[xe] : De);
|
|
18845
18841
|
}
|
|
18846
|
-
return
|
|
18842
|
+
return M;
|
|
18847
18843
|
}
|
|
18848
18844
|
function tr(p, C) {
|
|
18849
18845
|
return Li(p, Wt(p), C);
|
|
@@ -18852,16 +18848,16 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18852
18848
|
return Ys(p, ji, Wt);
|
|
18853
18849
|
}
|
|
18854
18850
|
function bn(p, C) {
|
|
18855
|
-
var
|
|
18856
|
-
return rr(C) ?
|
|
18851
|
+
var M = p.__data__;
|
|
18852
|
+
return rr(C) ? M[typeof C == "string" ? "string" : "hash"] : M.map;
|
|
18857
18853
|
}
|
|
18858
18854
|
function kt(p, C) {
|
|
18859
|
-
var
|
|
18860
|
-
return qs(
|
|
18855
|
+
var M = ke(p, C);
|
|
18856
|
+
return qs(M) ? M : void 0;
|
|
18861
18857
|
}
|
|
18862
18858
|
var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
|
|
18863
18859
|
(_n && Nt(new _n(new ArrayBuffer(1))) != I || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != g || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
|
|
18864
|
-
var C = It.call(p),
|
|
18860
|
+
var C = It.call(p), M = C == v ? p.constructor : void 0, N = M ? lt(M) : void 0;
|
|
18865
18861
|
if (N)
|
|
18866
18862
|
switch (N) {
|
|
18867
18863
|
case Ii:
|
|
@@ -18878,13 +18874,13 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18878
18874
|
return C;
|
|
18879
18875
|
});
|
|
18880
18876
|
function ir(p) {
|
|
18881
|
-
var C = p.length,
|
|
18882
|
-
return C && typeof p[0] == "string" && Fe.call(p, "index") && (
|
|
18877
|
+
var C = p.length, M = p.constructor(C);
|
|
18878
|
+
return C && typeof p[0] == "string" && Fe.call(p, "index") && (M.index = p.index, M.input = p.input), M;
|
|
18883
18879
|
}
|
|
18884
18880
|
function jt(p) {
|
|
18885
18881
|
return typeof p.constructor == "function" && !go(p) ? Xs(ut(p)) : {};
|
|
18886
18882
|
}
|
|
18887
|
-
function or(p, C,
|
|
18883
|
+
function or(p, C, M, N) {
|
|
18888
18884
|
var Ce = p.constructor;
|
|
18889
18885
|
switch (C) {
|
|
18890
18886
|
case S:
|
|
@@ -18894,8 +18890,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18894
18890
|
return new Ce(+p);
|
|
18895
18891
|
case I:
|
|
18896
18892
|
return An(p, N);
|
|
18897
|
-
case
|
|
18898
|
-
case
|
|
18893
|
+
case T:
|
|
18894
|
+
case D:
|
|
18899
18895
|
case F:
|
|
18900
18896
|
case q:
|
|
18901
18897
|
case Q:
|
|
@@ -18905,14 +18901,14 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18905
18901
|
case G:
|
|
18906
18902
|
return $s(p, N);
|
|
18907
18903
|
case u:
|
|
18908
|
-
return mo(p, N,
|
|
18904
|
+
return mo(p, N, M);
|
|
18909
18905
|
case m:
|
|
18910
18906
|
case y:
|
|
18911
18907
|
return new Ce(p);
|
|
18912
18908
|
case A:
|
|
18913
18909
|
return po(p);
|
|
18914
18910
|
case b:
|
|
18915
|
-
return Zs(p, N,
|
|
18911
|
+
return Zs(p, N, M);
|
|
18916
18912
|
case P:
|
|
18917
18913
|
return Ks(p);
|
|
18918
18914
|
}
|
|
@@ -18928,8 +18924,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18928
18924
|
return !!je && je in p;
|
|
18929
18925
|
}
|
|
18930
18926
|
function go(p) {
|
|
18931
|
-
var C = p && p.constructor,
|
|
18932
|
-
return p ===
|
|
18927
|
+
var C = p && p.constructor, M = typeof C == "function" && C.prototype || gt;
|
|
18928
|
+
return p === M;
|
|
18933
18929
|
}
|
|
18934
18930
|
function lt(p) {
|
|
18935
18931
|
if (p != null) {
|
|
@@ -18996,8 +18992,8 @@ var as = {}, My = {
|
|
|
18996
18992
|
}
|
|
18997
18993
|
};
|
|
18998
18994
|
(function(i, t) {
|
|
18999
|
-
var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", I = "[object Set]",
|
|
19000
|
-
ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[I] = ve[
|
|
18995
|
+
var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", I = "[object Set]", T = "[object String]", D = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
|
|
18996
|
+
ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[I] = ve[T] = ve[q] = !1;
|
|
19001
18997
|
var He = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, ue = typeof self == "object" && self && self.Object === Object && self, be = He || ue || Function("return this")(), Se = t && !t.nodeType && t, me = Se && !0 && i && !i.nodeType && i, Ye = me && me.exports === Se, at = Ye && He.process, ke = function() {
|
|
19002
18998
|
try {
|
|
19003
18999
|
return at && at.binding && at.binding("util");
|
|
@@ -19005,26 +19001,26 @@ var as = {}, My = {
|
|
|
19005
19001
|
}
|
|
19006
19002
|
}(), Ke = ke && ke.isTypedArray;
|
|
19007
19003
|
function oe(p, C) {
|
|
19008
|
-
for (var
|
|
19009
|
-
var xe = p[
|
|
19010
|
-
C(xe,
|
|
19004
|
+
for (var M = -1, N = p == null ? 0 : p.length, Ce = 0, pe = []; ++M < N; ) {
|
|
19005
|
+
var xe = p[M];
|
|
19006
|
+
C(xe, M, p) && (pe[Ce++] = xe);
|
|
19011
19007
|
}
|
|
19012
19008
|
return pe;
|
|
19013
19009
|
}
|
|
19014
19010
|
function Ee(p, C) {
|
|
19015
|
-
for (var
|
|
19016
|
-
p[Ce +
|
|
19011
|
+
for (var M = -1, N = C.length, Ce = p.length; ++M < N; )
|
|
19012
|
+
p[Ce + M] = C[M];
|
|
19017
19013
|
return p;
|
|
19018
19014
|
}
|
|
19019
19015
|
function Be(p, C) {
|
|
19020
|
-
for (var
|
|
19021
|
-
if (C(p[
|
|
19016
|
+
for (var M = -1, N = p == null ? 0 : p.length; ++M < N; )
|
|
19017
|
+
if (C(p[M], M, p))
|
|
19022
19018
|
return !0;
|
|
19023
19019
|
return !1;
|
|
19024
19020
|
}
|
|
19025
19021
|
function ht(p, C) {
|
|
19026
|
-
for (var
|
|
19027
|
-
N[
|
|
19022
|
+
for (var M = -1, N = Array(p); ++M < p; )
|
|
19023
|
+
N[M] = C(M);
|
|
19028
19024
|
return N;
|
|
19029
19025
|
}
|
|
19030
19026
|
function Ht(p) {
|
|
@@ -19039,21 +19035,21 @@ var as = {}, My = {
|
|
|
19039
19035
|
return p == null ? void 0 : p[C];
|
|
19040
19036
|
}
|
|
19041
19037
|
function je(p) {
|
|
19042
|
-
var C = -1,
|
|
19038
|
+
var C = -1, M = Array(p.size);
|
|
19043
19039
|
return p.forEach(function(N, Ce) {
|
|
19044
|
-
|
|
19045
|
-
}),
|
|
19040
|
+
M[++C] = [Ce, N];
|
|
19041
|
+
}), M;
|
|
19046
19042
|
}
|
|
19047
19043
|
function Oe(p, C) {
|
|
19048
|
-
return function(
|
|
19049
|
-
return p(C(
|
|
19044
|
+
return function(M) {
|
|
19045
|
+
return p(C(M));
|
|
19050
19046
|
};
|
|
19051
19047
|
}
|
|
19052
19048
|
function Fe(p) {
|
|
19053
|
-
var C = -1,
|
|
19049
|
+
var C = -1, M = Array(p.size);
|
|
19054
19050
|
return p.forEach(function(N) {
|
|
19055
|
-
|
|
19056
|
-
}),
|
|
19051
|
+
M[++C] = N;
|
|
19052
|
+
}), M;
|
|
19057
19053
|
}
|
|
19058
19054
|
var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
|
|
19059
19055
|
var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
|
|
@@ -19062,8 +19058,8 @@ var as = {}, My = {
|
|
|
19062
19058
|
"^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
19063
19059
|
), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = It.splice, Et = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ii = Wt(be, "DataView"), vn = Wt(be, "Map"), Ei = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ii), Gt = lt(vn), Ds = lt(Ei), Ms = lt(ki), Ss = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
|
|
19064
19060
|
function Ue(p) {
|
|
19065
|
-
var C = -1,
|
|
19066
|
-
for (this.clear(); ++C <
|
|
19061
|
+
var C = -1, M = p == null ? 0 : p.length;
|
|
19062
|
+
for (this.clear(); ++C < M; ) {
|
|
19067
19063
|
var N = p[C];
|
|
19068
19064
|
this.set(N[0], N[1]);
|
|
19069
19065
|
}
|
|
@@ -19078,8 +19074,8 @@ var as = {}, My = {
|
|
|
19078
19074
|
function zs(p) {
|
|
19079
19075
|
var C = this.__data__;
|
|
19080
19076
|
if (Kt) {
|
|
19081
|
-
var
|
|
19082
|
-
return
|
|
19077
|
+
var M = C[p];
|
|
19078
|
+
return M === n ? void 0 : M;
|
|
19083
19079
|
}
|
|
19084
19080
|
return ut.call(C, p) ? C[p] : void 0;
|
|
19085
19081
|
}
|
|
@@ -19088,13 +19084,13 @@ var as = {}, My = {
|
|
|
19088
19084
|
return Kt ? C[p] !== void 0 : ut.call(C, p);
|
|
19089
19085
|
}
|
|
19090
19086
|
function _s(p, C) {
|
|
19091
|
-
var
|
|
19092
|
-
return this.size += this.has(p) ? 0 : 1,
|
|
19087
|
+
var M = this.__data__;
|
|
19088
|
+
return this.size += this.has(p) ? 0 : 1, M[p] = Kt && C === void 0 ? n : C, this;
|
|
19093
19089
|
}
|
|
19094
19090
|
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
19095
19091
|
function $e(p) {
|
|
19096
|
-
var C = -1,
|
|
19097
|
-
for (this.clear(); ++C <
|
|
19092
|
+
var C = -1, M = p == null ? 0 : p.length;
|
|
19093
|
+
for (this.clear(); ++C < M; ) {
|
|
19098
19094
|
var N = p[C];
|
|
19099
19095
|
this.set(N[0], N[1]);
|
|
19100
19096
|
}
|
|
@@ -19103,27 +19099,27 @@ var as = {}, My = {
|
|
|
19103
19099
|
this.__data__ = [], this.size = 0;
|
|
19104
19100
|
}
|
|
19105
19101
|
function Os(p) {
|
|
19106
|
-
var C = this.__data__,
|
|
19107
|
-
if (
|
|
19102
|
+
var C = this.__data__, M = Rn(C, p);
|
|
19103
|
+
if (M < 0)
|
|
19108
19104
|
return !1;
|
|
19109
19105
|
var N = C.length - 1;
|
|
19110
|
-
return
|
|
19106
|
+
return M == N ? C.pop() : pn.call(C, M, 1), --this.size, !0;
|
|
19111
19107
|
}
|
|
19112
19108
|
function Bs(p) {
|
|
19113
|
-
var C = this.__data__,
|
|
19114
|
-
return
|
|
19109
|
+
var C = this.__data__, M = Rn(C, p);
|
|
19110
|
+
return M < 0 ? void 0 : C[M][1];
|
|
19115
19111
|
}
|
|
19116
19112
|
function Rs(p) {
|
|
19117
19113
|
return Rn(this.__data__, p) > -1;
|
|
19118
19114
|
}
|
|
19119
19115
|
function Qs(p, C) {
|
|
19120
|
-
var
|
|
19121
|
-
return N < 0 ? (++this.size,
|
|
19116
|
+
var M = this.__data__, N = Rn(M, p);
|
|
19117
|
+
return N < 0 ? (++this.size, M.push([p, C])) : M[N][1] = C, this;
|
|
19122
19118
|
}
|
|
19123
19119
|
$e.prototype.clear = Vs, $e.prototype.delete = Os, $e.prototype.get = Bs, $e.prototype.has = Rs, $e.prototype.set = Qs;
|
|
19124
19120
|
function ft(p) {
|
|
19125
|
-
var C = -1,
|
|
19126
|
-
for (this.clear(); ++C <
|
|
19121
|
+
var C = -1, M = p == null ? 0 : p.length;
|
|
19122
|
+
for (this.clear(); ++C < M; ) {
|
|
19127
19123
|
var N = p[C];
|
|
19128
19124
|
this.set(N[0], N[1]);
|
|
19129
19125
|
}
|
|
@@ -19146,13 +19142,13 @@ var as = {}, My = {
|
|
|
19146
19142
|
return kt(this, p).has(p);
|
|
19147
19143
|
}
|
|
19148
19144
|
function Fs(p, C) {
|
|
19149
|
-
var
|
|
19150
|
-
return
|
|
19145
|
+
var M = kt(this, p), N = M.size;
|
|
19146
|
+
return M.set(p, C), this.size += M.size == N ? 0 : 1, this;
|
|
19151
19147
|
}
|
|
19152
19148
|
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
19153
19149
|
function On(p) {
|
|
19154
|
-
var C = -1,
|
|
19155
|
-
for (this.__data__ = new ft(); ++C <
|
|
19150
|
+
var C = -1, M = p == null ? 0 : p.length;
|
|
19151
|
+
for (this.__data__ = new ft(); ++C < M; )
|
|
19156
19152
|
this.add(p[C]);
|
|
19157
19153
|
}
|
|
19158
19154
|
function fo(p) {
|
|
@@ -19170,8 +19166,8 @@ var as = {}, My = {
|
|
|
19170
19166
|
this.__data__ = new $e(), this.size = 0;
|
|
19171
19167
|
}
|
|
19172
19168
|
function Xs(p) {
|
|
19173
|
-
var C = this.__data__,
|
|
19174
|
-
return this.size = C.size,
|
|
19169
|
+
var C = this.__data__, M = C.delete(p);
|
|
19170
|
+
return this.size = C.size, M;
|
|
19175
19171
|
}
|
|
19176
19172
|
function Ys(p) {
|
|
19177
19173
|
return this.__data__.get(p);
|
|
@@ -19180,18 +19176,18 @@ var as = {}, My = {
|
|
|
19180
19176
|
return this.__data__.has(p);
|
|
19181
19177
|
}
|
|
19182
19178
|
function qs(p, C) {
|
|
19183
|
-
var
|
|
19184
|
-
if (
|
|
19185
|
-
var N =
|
|
19179
|
+
var M = this.__data__;
|
|
19180
|
+
if (M instanceof $e) {
|
|
19181
|
+
var N = M.__data__;
|
|
19186
19182
|
if (!vn || N.length < e - 1)
|
|
19187
|
-
return N.push([p, C]), this.size = ++
|
|
19188
|
-
|
|
19183
|
+
return N.push([p, C]), this.size = ++M.size, this;
|
|
19184
|
+
M = this.__data__ = new ft(N);
|
|
19189
19185
|
}
|
|
19190
|
-
return
|
|
19186
|
+
return M.set(p, C), this.size = M.size, this;
|
|
19191
19187
|
}
|
|
19192
19188
|
zt.prototype.clear = Mi, zt.prototype.delete = Xs, zt.prototype.get = Ys, zt.prototype.has = Us, zt.prototype.set = qs;
|
|
19193
19189
|
function Js(p, C) {
|
|
19194
|
-
var
|
|
19190
|
+
var M = Qn(p), N = !M && Ao(p), Ce = !M && !N && Hn(p), pe = !M && !N && !Ce && wo(p), xe = M || N || Ce || pe, De = xe ? ht(p.length, String) : [], Ge = De.length;
|
|
19195
19191
|
for (var Le in p)
|
|
19196
19192
|
(C || ut.call(p, Le)) && !(xe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
19197
19193
|
(Le == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -19201,14 +19197,14 @@ var as = {}, My = {
|
|
|
19201
19197
|
return De;
|
|
19202
19198
|
}
|
|
19203
19199
|
function Rn(p, C) {
|
|
19204
|
-
for (var
|
|
19205
|
-
if (vo(p[
|
|
19206
|
-
return
|
|
19200
|
+
for (var M = p.length; M--; )
|
|
19201
|
+
if (vo(p[M][0], C))
|
|
19202
|
+
return M;
|
|
19207
19203
|
return -1;
|
|
19208
19204
|
}
|
|
19209
|
-
function Si(p, C,
|
|
19205
|
+
function Si(p, C, M) {
|
|
19210
19206
|
var N = C(p);
|
|
19211
|
-
return Qn(p) ? N : Ee(N,
|
|
19207
|
+
return Qn(p) ? N : Ee(N, M(p));
|
|
19212
19208
|
}
|
|
19213
19209
|
function An(p) {
|
|
19214
19210
|
return p == null ? p === void 0 ? F : b : Et && Et in Object(p) ? Nt(p) : go(p);
|
|
@@ -19216,10 +19212,10 @@ var as = {}, My = {
|
|
|
19216
19212
|
function mo(p) {
|
|
19217
19213
|
return _t(p) && An(p) == a;
|
|
19218
19214
|
}
|
|
19219
|
-
function po(p, C,
|
|
19220
|
-
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C : Zs(p, C,
|
|
19215
|
+
function po(p, C, M, N, Ce) {
|
|
19216
|
+
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C : Zs(p, C, M, N, po, Ce);
|
|
19221
19217
|
}
|
|
19222
|
-
function Zs(p, C,
|
|
19218
|
+
function Zs(p, C, M, N, Ce, pe) {
|
|
19223
19219
|
var xe = Qn(p), De = Qn(C), Ge = xe ? l : jt(p), Le = De ? l : jt(C);
|
|
19224
19220
|
Ge = Ge == a ? y : Ge, Le = Le == a ? y : Le;
|
|
19225
19221
|
var et = Ge == y, mt = Le == y, Ne = Ge == Le;
|
|
@@ -19229,15 +19225,15 @@ var as = {}, My = {
|
|
|
19229
19225
|
xe = !0, et = !1;
|
|
19230
19226
|
}
|
|
19231
19227
|
if (Ne && !et)
|
|
19232
|
-
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C,
|
|
19233
|
-
if (!(
|
|
19228
|
+
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C, M, N, Ce, pe) : tr(p, C, Ge, M, N, Ce, pe);
|
|
19229
|
+
if (!(M & o)) {
|
|
19234
19230
|
var tt = et && ut.call(p, "__wrapped__"), qe = mt && ut.call(C, "__wrapped__");
|
|
19235
19231
|
if (tt || qe) {
|
|
19236
19232
|
var $t = tt ? p.value() : p, Ft = qe ? C.value() : C;
|
|
19237
|
-
return pe || (pe = new zt()), Ce($t, Ft,
|
|
19233
|
+
return pe || (pe = new zt()), Ce($t, Ft, M, N, pe);
|
|
19238
19234
|
}
|
|
19239
19235
|
}
|
|
19240
|
-
return Ne ? (pe || (pe = new zt()), nr(p, C,
|
|
19236
|
+
return Ne ? (pe || (pe = new zt()), nr(p, C, M, N, Ce, pe)) : !1;
|
|
19241
19237
|
}
|
|
19242
19238
|
function Ks(p) {
|
|
19243
19239
|
if (!yo(p) || rr(p))
|
|
@@ -19252,18 +19248,18 @@ var as = {}, My = {
|
|
|
19252
19248
|
if (!ar(p))
|
|
19253
19249
|
return gn(p);
|
|
19254
19250
|
var C = [];
|
|
19255
|
-
for (var
|
|
19256
|
-
ut.call(p,
|
|
19251
|
+
for (var M in Object(p))
|
|
19252
|
+
ut.call(p, M) && M != "constructor" && C.push(M);
|
|
19257
19253
|
return C;
|
|
19258
19254
|
}
|
|
19259
|
-
function Li(p, C,
|
|
19260
|
-
var xe =
|
|
19255
|
+
function Li(p, C, M, N, Ce, pe) {
|
|
19256
|
+
var xe = M & o, De = p.length, Ge = C.length;
|
|
19261
19257
|
if (De != Ge && !(xe && Ge > De))
|
|
19262
19258
|
return !1;
|
|
19263
19259
|
var Le = pe.get(p);
|
|
19264
19260
|
if (Le && pe.get(C))
|
|
19265
19261
|
return Le == C;
|
|
19266
|
-
var et = -1, mt = !0, Ne =
|
|
19262
|
+
var et = -1, mt = !0, Ne = M & s ? new On() : void 0;
|
|
19267
19263
|
for (pe.set(p, C), pe.set(C, p); ++et < De; ) {
|
|
19268
19264
|
var tt = p[et], qe = C[et];
|
|
19269
19265
|
if (N)
|
|
@@ -19276,21 +19272,21 @@ var as = {}, My = {
|
|
|
19276
19272
|
}
|
|
19277
19273
|
if (Ne) {
|
|
19278
19274
|
if (!Be(C, function(Ft, yn) {
|
|
19279
|
-
if (!gt(Ne, yn) && (tt === Ft || Ce(tt, Ft,
|
|
19275
|
+
if (!gt(Ne, yn) && (tt === Ft || Ce(tt, Ft, M, N, pe)))
|
|
19280
19276
|
return Ne.push(yn);
|
|
19281
19277
|
})) {
|
|
19282
19278
|
mt = !1;
|
|
19283
19279
|
break;
|
|
19284
19280
|
}
|
|
19285
|
-
} else if (!(tt === qe || Ce(tt, qe,
|
|
19281
|
+
} else if (!(tt === qe || Ce(tt, qe, M, N, pe))) {
|
|
19286
19282
|
mt = !1;
|
|
19287
19283
|
break;
|
|
19288
19284
|
}
|
|
19289
19285
|
}
|
|
19290
19286
|
return pe.delete(p), pe.delete(C), mt;
|
|
19291
19287
|
}
|
|
19292
|
-
function tr(p, C,
|
|
19293
|
-
switch (
|
|
19288
|
+
function tr(p, C, M, N, Ce, pe, xe) {
|
|
19289
|
+
switch (M) {
|
|
19294
19290
|
case R:
|
|
19295
19291
|
if (p.byteLength != C.byteLength || p.byteOffset != C.byteOffset)
|
|
19296
19292
|
return !1;
|
|
@@ -19304,7 +19300,7 @@ var as = {}, My = {
|
|
|
19304
19300
|
case u:
|
|
19305
19301
|
return p.name == C.name && p.message == C.message;
|
|
19306
19302
|
case S:
|
|
19307
|
-
case
|
|
19303
|
+
case T:
|
|
19308
19304
|
return p == C + "";
|
|
19309
19305
|
case g:
|
|
19310
19306
|
var De = je;
|
|
@@ -19318,14 +19314,14 @@ var as = {}, My = {
|
|
|
19318
19314
|
N |= s, xe.set(p, C);
|
|
19319
19315
|
var et = Li(De(p), De(C), N, Ce, pe, xe);
|
|
19320
19316
|
return xe.delete(p), et;
|
|
19321
|
-
case
|
|
19317
|
+
case D:
|
|
19322
19318
|
if (Di)
|
|
19323
19319
|
return Di.call(p) == Di.call(C);
|
|
19324
19320
|
}
|
|
19325
19321
|
return !1;
|
|
19326
19322
|
}
|
|
19327
|
-
function nr(p, C,
|
|
19328
|
-
var xe =
|
|
19323
|
+
function nr(p, C, M, N, Ce, pe) {
|
|
19324
|
+
var xe = M & o, De = bn(p), Ge = De.length, Le = bn(C), et = Le.length;
|
|
19329
19325
|
if (Ge != et && !xe)
|
|
19330
19326
|
return !1;
|
|
19331
19327
|
for (var mt = Ge; mt--; ) {
|
|
@@ -19343,7 +19339,7 @@ var as = {}, My = {
|
|
|
19343
19339
|
var Ft = p[Ne], yn = C[Ne];
|
|
19344
19340
|
if (N)
|
|
19345
19341
|
var Va = xe ? N(yn, Ft, Ne, C, p, pe) : N(Ft, yn, Ne, p, C, pe);
|
|
19346
|
-
if (!(Va === void 0 ? Ft === yn || Ce(Ft, yn,
|
|
19342
|
+
if (!(Va === void 0 ? Ft === yn || Ce(Ft, yn, M, N, pe) : Va)) {
|
|
19347
19343
|
qe = !1;
|
|
19348
19344
|
break;
|
|
19349
19345
|
}
|
|
@@ -19359,22 +19355,22 @@ var as = {}, My = {
|
|
|
19359
19355
|
return Si(p, ji, ir);
|
|
19360
19356
|
}
|
|
19361
19357
|
function kt(p, C) {
|
|
19362
|
-
var
|
|
19363
|
-
return sr(C) ?
|
|
19358
|
+
var M = p.__data__;
|
|
19359
|
+
return sr(C) ? M[typeof C == "string" ? "string" : "hash"] : M.map;
|
|
19364
19360
|
}
|
|
19365
19361
|
function Wt(p, C) {
|
|
19366
|
-
var
|
|
19367
|
-
return Ks(
|
|
19362
|
+
var M = vt(p, C);
|
|
19363
|
+
return Ks(M) ? M : void 0;
|
|
19368
19364
|
}
|
|
19369
19365
|
function Nt(p) {
|
|
19370
|
-
var C = ut.call(p, Et),
|
|
19366
|
+
var C = ut.call(p, Et), M = p[Et];
|
|
19371
19367
|
try {
|
|
19372
19368
|
p[Et] = void 0;
|
|
19373
19369
|
var N = !0;
|
|
19374
19370
|
} catch (pe) {
|
|
19375
19371
|
}
|
|
19376
19372
|
var Ce = zn.call(p);
|
|
19377
|
-
return N && (C ? p[Et] =
|
|
19373
|
+
return N && (C ? p[Et] = M : delete p[Et]), Ce;
|
|
19378
19374
|
}
|
|
19379
19375
|
var ir = Vn ? function(p) {
|
|
19380
19376
|
return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
|
|
@@ -19382,7 +19378,7 @@ var as = {}, My = {
|
|
|
19382
19378
|
}));
|
|
19383
19379
|
} : cr, jt = An;
|
|
19384
19380
|
(Ii && jt(new Ii(new ArrayBuffer(1))) != R || vn && jt(new vn()) != g || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != I || xi && jt(new xi()) != q) && (jt = function(p) {
|
|
19385
|
-
var C = An(p),
|
|
19381
|
+
var C = An(p), M = C == y ? p.constructor : void 0, N = M ? lt(M) : "";
|
|
19386
19382
|
if (N)
|
|
19387
19383
|
switch (N) {
|
|
19388
19384
|
case ho:
|
|
@@ -19409,8 +19405,8 @@ var as = {}, My = {
|
|
|
19409
19405
|
return !!Tn && Tn in p;
|
|
19410
19406
|
}
|
|
19411
19407
|
function ar(p) {
|
|
19412
|
-
var C = p && p.constructor,
|
|
19413
|
-
return p ===
|
|
19408
|
+
var C = p && p.constructor, M = typeof C == "function" && C.prototype || Tt;
|
|
19409
|
+
return p === M;
|
|
19414
19410
|
}
|
|
19415
19411
|
function go(p) {
|
|
19416
19412
|
return zn.call(p);
|
|
@@ -20276,13 +20272,13 @@ function Zy(i) {
|
|
|
20276
20272
|
);
|
|
20277
20273
|
return {
|
|
20278
20274
|
c() {
|
|
20279
|
-
t = _("div"), e = _("div"), m && m.c(), n = se(), o = _("div"), s = _("div"), g && g.c(), a = se(), A && A.c(), l = se(), b && b.c(), c = se(), y && y.c(), w(s, "class", "sc-carousel__pages-container svelte-sme1z4"),
|
|
20280
|
-
i[8] + "px)"),
|
|
20275
|
+
t = _("div"), e = _("div"), m && m.c(), n = se(), o = _("div"), s = _("div"), g && g.c(), a = se(), A && A.c(), l = se(), b && b.c(), c = se(), y && y.c(), w(s, "class", "sc-carousel__pages-container svelte-sme1z4"), z(s, "transform", "translateX(" + /*offset*/
|
|
20276
|
+
i[8] + "px)"), z(
|
|
20281
20277
|
s,
|
|
20282
20278
|
"transition-duration",
|
|
20283
20279
|
/*durationMs*/
|
|
20284
20280
|
i[9] + "ms"
|
|
20285
|
-
),
|
|
20281
|
+
), z(
|
|
20286
20282
|
s,
|
|
20287
20283
|
"transition-timing-function",
|
|
20288
20284
|
/*timingFunction*/
|
|
@@ -20368,15 +20364,15 @@ function Zy(i) {
|
|
|
20368
20364
|
),
|
|
20369
20365
|
Bc
|
|
20370
20366
|
), (!d || k[0] & /*offset*/
|
|
20371
|
-
256) &&
|
|
20367
|
+
256) && z(s, "transform", "translateX(" + /*offset*/
|
|
20372
20368
|
P[8] + "px)"), (!d || k[0] & /*durationMs*/
|
|
20373
|
-
512) &&
|
|
20369
|
+
512) && z(
|
|
20374
20370
|
s,
|
|
20375
20371
|
"transition-duration",
|
|
20376
20372
|
/*durationMs*/
|
|
20377
20373
|
P[9] + "ms"
|
|
20378
20374
|
), (!d || k[0] & /*timingFunction*/
|
|
20379
|
-
1) &&
|
|
20375
|
+
1) && z(
|
|
20380
20376
|
s,
|
|
20381
20377
|
"transition-timing-function",
|
|
20382
20378
|
/*timingFunction*/
|
|
@@ -20424,7 +20420,7 @@ function Ky(i, t, e) {
|
|
|
20424
20420
|
loaded: () => e(6, s = Ee)
|
|
20425
20421
|
})(oe);
|
|
20426
20422
|
}), g = ms();
|
|
20427
|
-
let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection:
|
|
20423
|
+
let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: D = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
20428
20424
|
function B(oe, Ee) {
|
|
20429
20425
|
return X(this, null, function* () {
|
|
20430
20426
|
const Be = qi(Ee, "animated", !0);
|
|
@@ -20520,7 +20516,7 @@ function Ky(i, t, e) {
|
|
|
20520
20516
|
}
|
|
20521
20517
|
const Ke = (oe) => we(oe.detail);
|
|
20522
20518
|
return i.$$set = (oe) => {
|
|
20523
|
-
"timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28,
|
|
20519
|
+
"timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, D = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
|
|
20524
20520
|
}, i.$$.update = () => {
|
|
20525
20521
|
i.$$.dirty[0] & /*currentPageIndex*/
|
|
20526
20522
|
32 && g("pageChange", r), i.$$.dirty[0] & /*infinite*/
|
|
@@ -20528,8 +20524,8 @@ function Ky(i, t, e) {
|
|
|
20528
20524
|
33554432 && (h.durationMsInit = k), i.$$.dirty[0] & /*autoplay*/
|
|
20529
20525
|
67108864 && (h.autoplay = S), i.$$.dirty[0] & /*autoplayDuration*/
|
|
20530
20526
|
134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
|
|
20531
|
-
268435456 && (h.autoplayDirection =
|
|
20532
|
-
536870912 && (h.pauseOnFocus =
|
|
20527
|
+
268435456 && (h.autoplayDirection = T), i.$$.dirty[0] & /*pauseOnFocus*/
|
|
20528
|
+
536870912 && (h.pauseOnFocus = D), i.$$.dirty[1] & /*particlesToShow*/
|
|
20533
20529
|
1 && (h.particlesToShowInit = R), i.$$.dirty[1] & /*particlesToScroll*/
|
|
20534
20530
|
2 && (h.particlesToScrollInit = H);
|
|
20535
20531
|
}, [
|
|
@@ -20561,8 +20557,8 @@ function Ky(i, t, e) {
|
|
|
20561
20557
|
k,
|
|
20562
20558
|
S,
|
|
20563
20559
|
I,
|
|
20564
|
-
|
|
20565
|
-
|
|
20560
|
+
T,
|
|
20561
|
+
D,
|
|
20566
20562
|
Q,
|
|
20567
20563
|
R,
|
|
20568
20564
|
H,
|
|
@@ -20663,7 +20659,7 @@ function tw(i) {
|
|
|
20663
20659
|
let l = a(i), c = l(i);
|
|
20664
20660
|
return {
|
|
20665
20661
|
c() {
|
|
20666
|
-
c.c(), t = se(), e = _("div"), n = _("div"), o = _("div"), w(o, "class", "video-icon-img svelte-159ski6"),
|
|
20662
|
+
c.c(), t = se(), e = _("div"), n = _("div"), o = _("div"), w(o, "class", "video-icon-img svelte-159ski6"), z(o, "background-image", "url(" + /*func*/
|
|
20667
20663
|
i[20]() + ")"), K(
|
|
20668
20664
|
o,
|
|
20669
20665
|
"canPlay",
|
|
@@ -20696,7 +20692,7 @@ function tw(i) {
|
|
|
20696
20692
|
},
|
|
20697
20693
|
p(d, h) {
|
|
20698
20694
|
l === (l = a(d)) && c ? c.p(d, h) : (c.d(1), c = l(d), c && (c.c(), c.m(t.parentNode, t))), h & /*playButtonIfNeed*/
|
|
20699
|
-
8 &&
|
|
20695
|
+
8 && z(o, "background-image", "url(" + /*func*/
|
|
20700
20696
|
d[20]() + ")"), h & /*canPlay*/
|
|
20701
20697
|
32 && K(
|
|
20702
20698
|
o,
|
|
@@ -20927,10 +20923,10 @@ function rw(i, t, e) {
|
|
|
20927
20923
|
tag: r,
|
|
20928
20924
|
mediaInstance: n
|
|
20929
20925
|
});
|
|
20930
|
-
},
|
|
20926
|
+
}, T = (Q) => {
|
|
20931
20927
|
n && n.pause();
|
|
20932
20928
|
};
|
|
20933
|
-
function
|
|
20929
|
+
function D(Q) {
|
|
20934
20930
|
Ze[Q ? "unshift" : "push"](() => {
|
|
20935
20931
|
s.videoInstance = Q, e(0, s);
|
|
20936
20932
|
});
|
|
@@ -20969,8 +20965,8 @@ function rw(i, t, e) {
|
|
|
20969
20965
|
k,
|
|
20970
20966
|
S,
|
|
20971
20967
|
I,
|
|
20972
|
-
|
|
20973
|
-
|
|
20968
|
+
T,
|
|
20969
|
+
D,
|
|
20974
20970
|
F,
|
|
20975
20971
|
q
|
|
20976
20972
|
];
|
|
@@ -21361,24 +21357,24 @@ function hw(i) {
|
|
|
21361
21357
|
function uw(i, t, e) {
|
|
21362
21358
|
let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: u = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: v } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: A = {} } = t;
|
|
21363
21359
|
const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = A;
|
|
21364
|
-
let k = [], S = 0, I,
|
|
21365
|
-
const
|
|
21360
|
+
let k = [], S = 0, I, T = null;
|
|
21361
|
+
const D = an("hooks"), F = an("mediaStore");
|
|
21366
21362
|
function q() {
|
|
21367
21363
|
const G = k[S], U = G == null ? void 0 : G.videoInstance;
|
|
21368
21364
|
U && (U.paused ? (U.muted = !1, U.play()) : U.pause());
|
|
21369
21365
|
}
|
|
21370
21366
|
St(() => {
|
|
21371
|
-
|
|
21367
|
+
D.on("click", (G) => {
|
|
21372
21368
|
var U, Y, J;
|
|
21373
21369
|
(J = (Y = (U = a.tag3DContentSvelte) == null ? void 0 : U.css3DInstance) == null ? void 0 : Y.css3DObject) != null && J.opacityMesh && G.tag.id === a.id && q();
|
|
21374
|
-
}),
|
|
21370
|
+
}), T = setInterval(
|
|
21375
21371
|
() => {
|
|
21376
21372
|
r && (I == null || I.goToNext());
|
|
21377
21373
|
},
|
|
21378
21374
|
3e3
|
|
21379
21375
|
);
|
|
21380
21376
|
}), un(() => {
|
|
21381
|
-
clearInterval(
|
|
21377
|
+
clearInterval(T), D.off("click", q);
|
|
21382
21378
|
});
|
|
21383
21379
|
function Q(G, U) {
|
|
21384
21380
|
i.$$.not_equal(k[U], G) && (k[U] = G, e(8, k));
|
|
@@ -21772,7 +21768,7 @@ function td(i) {
|
|
|
21772
21768
|
), n;
|
|
21773
21769
|
return {
|
|
21774
21770
|
c() {
|
|
21775
|
-
t = _("div"), n = Ve(e), w(t, "class", "tag primary-tag svelte-sezqcq"),
|
|
21771
|
+
t = _("div"), n = Ve(e), w(t, "class", "tag primary-tag svelte-sezqcq"), z(t, "min-width", Ta);
|
|
21776
21772
|
},
|
|
21777
21773
|
m(o, s) {
|
|
21778
21774
|
V(o, t, s), O(t, n);
|
|
@@ -21794,7 +21790,7 @@ function nd(i) {
|
|
|
21794
21790
|
), n;
|
|
21795
21791
|
return {
|
|
21796
21792
|
c() {
|
|
21797
|
-
t = _("div"), n = Ve(e), w(t, "class", "tag secondary-tag svelte-sezqcq"),
|
|
21793
|
+
t = _("div"), n = Ve(e), w(t, "class", "tag secondary-tag svelte-sezqcq"), z(t, "min-width", Ta);
|
|
21798
21794
|
},
|
|
21799
21795
|
m(o, s) {
|
|
21800
21796
|
V(o, t, s), O(t, n);
|
|
@@ -21937,15 +21933,15 @@ function Aw(i) {
|
|
|
21937
21933
|
);
|
|
21938
21934
|
return {
|
|
21939
21935
|
c() {
|
|
21940
|
-
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = se(), r = _("div"), b && b.c(), a = se(), l = _("div"), c = _("div"), d = _("div"), u = Ve(h), m = se(), y && y.c(), v = se(), P && P.c(), w(o, "class", "line svelte-sezqcq"),
|
|
21936
|
+
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = se(), r = _("div"), b && b.c(), a = se(), l = _("div"), c = _("div"), d = _("div"), u = Ve(h), m = se(), y && y.c(), v = se(), P && P.c(), w(o, "class", "line svelte-sezqcq"), z(
|
|
21941
21937
|
o,
|
|
21942
21938
|
"transition-delay",
|
|
21943
21939
|
/*unfolded*/
|
|
21944
21940
|
i[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
|
|
21945
|
-
), w(d, "class", "text svelte-sezqcq"), w(c, "class", "title svelte-sezqcq"), w(l, "class", "title-wrapper svelte-sezqcq"), w(r, "class", "content svelte-sezqcq"),
|
|
21941
|
+
), w(d, "class", "text svelte-sezqcq"), w(c, "class", "title svelte-sezqcq"), w(l, "class", "title-wrapper svelte-sezqcq"), w(r, "class", "content svelte-sezqcq"), z(r, "max-width", Ot(
|
|
21946
21942
|
/*maxWidth*/
|
|
21947
21943
|
i[9]
|
|
21948
|
-
)),
|
|
21944
|
+
)), z(
|
|
21949
21945
|
r,
|
|
21950
21946
|
"transition-delay",
|
|
21951
21947
|
/*unfolded*/
|
|
@@ -21963,42 +21959,42 @@ function Aw(i) {
|
|
|
21963
21959
|
i[8]
|
|
21964
21960
|
);
|
|
21965
21961
|
},
|
|
21966
|
-
m(I,
|
|
21967
|
-
V(I, t,
|
|
21962
|
+
m(I, T) {
|
|
21963
|
+
V(I, t, T), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, v), P && P.m(r, null), A = !0;
|
|
21968
21964
|
},
|
|
21969
|
-
p(I, [
|
|
21965
|
+
p(I, [T]) {
|
|
21970
21966
|
var F, q;
|
|
21971
|
-
const
|
|
21972
|
-
|
|
21973
|
-
16 && (
|
|
21974
|
-
I[4]), e.$set(
|
|
21975
|
-
16 &&
|
|
21967
|
+
const D = {};
|
|
21968
|
+
T & /*unfolded*/
|
|
21969
|
+
16 && (D.visible = /*unfolded*/
|
|
21970
|
+
I[4]), e.$set(D), T & /*unfolded*/
|
|
21971
|
+
16 && z(
|
|
21976
21972
|
o,
|
|
21977
21973
|
"transition-delay",
|
|
21978
21974
|
/*unfolded*/
|
|
21979
21975
|
I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
|
|
21980
21976
|
), /*data*/
|
|
21981
|
-
I[3].headerPictureUrl ? b ? b.p(I,
|
|
21977
|
+
I[3].headerPictureUrl ? b ? b.p(I, T) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
|
|
21982
21978
|
8) && h !== (h = /*data*/
|
|
21983
21979
|
I[3].title + "") && Re(u, h), /*primaryTags*/
|
|
21984
21980
|
((F = I[2].length) != null ? F : 0) + /*secondaryTags*/
|
|
21985
|
-
((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I,
|
|
21981
|
+
((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I, T) : (y = ed(I), y.c(), y.m(r, v)) : y && (y.d(1), y = null), /*havePrice*/
|
|
21986
21982
|
I[7] || /*data*/
|
|
21987
|
-
I[3].highlightText ? P ? P.p(I,
|
|
21988
|
-
16 &&
|
|
21983
|
+
I[3].highlightText ? P ? P.p(I, T) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
|
|
21984
|
+
16 && z(
|
|
21989
21985
|
r,
|
|
21990
21986
|
"transition-delay",
|
|
21991
21987
|
/*unfolded*/
|
|
21992
21988
|
I[4] ? Ro + Qo + "ms" : "0ms"
|
|
21993
|
-
), (!A ||
|
|
21989
|
+
), (!A || T & /*theme*/
|
|
21994
21990
|
64 && g !== (g = _e(`marketing ${/*theme*/
|
|
21995
|
-
I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A ||
|
|
21991
|
+
I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A || T & /*theme, unfolded*/
|
|
21996
21992
|
80) && K(
|
|
21997
21993
|
t,
|
|
21998
21994
|
"unfolded",
|
|
21999
21995
|
/*unfolded*/
|
|
22000
21996
|
I[4]
|
|
22001
|
-
), (!A ||
|
|
21997
|
+
), (!A || T & /*theme, folded*/
|
|
22002
21998
|
320) && K(
|
|
22003
21999
|
t,
|
|
22004
22000
|
"folded",
|
|
@@ -22367,12 +22363,12 @@ function kw(i) {
|
|
|
22367
22363
|
"style",
|
|
22368
22364
|
/*style*/
|
|
22369
22365
|
i[2]
|
|
22370
|
-
),
|
|
22366
|
+
), z(
|
|
22371
22367
|
t,
|
|
22372
22368
|
"width",
|
|
22373
22369
|
/*styleWidth*/
|
|
22374
22370
|
i[5]
|
|
22375
|
-
),
|
|
22371
|
+
), z(
|
|
22376
22372
|
t,
|
|
22377
22373
|
"height",
|
|
22378
22374
|
/*styleWidth*/
|
|
@@ -22403,13 +22399,13 @@ function kw(i) {
|
|
|
22403
22399
|
const c = l & /*style*/
|
|
22404
22400
|
4;
|
|
22405
22401
|
(c || l & /*styleWidth, style*/
|
|
22406
|
-
36) &&
|
|
22402
|
+
36) && z(
|
|
22407
22403
|
t,
|
|
22408
22404
|
"width",
|
|
22409
22405
|
/*styleWidth*/
|
|
22410
22406
|
a[5]
|
|
22411
22407
|
), (c || l & /*styleWidth, style*/
|
|
22412
|
-
36) &&
|
|
22408
|
+
36) && z(
|
|
22413
22409
|
t,
|
|
22414
22410
|
"height",
|
|
22415
22411
|
/*styleWidth*/
|
|
@@ -22537,7 +22533,7 @@ function dd(i) {
|
|
|
22537
22533
|
}
|
|
22538
22534
|
}), {
|
|
22539
22535
|
c() {
|
|
22540
|
-
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = _("div"), r = _("div"), g && g.c(), a = se(), l = _("div"), ne(c.$$.fragment), d = se(), ne(h.$$.fragment), w(r, "class", "audio-icon svelte-1s6gk4a"),
|
|
22536
|
+
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = _("div"), r = _("div"), g && g.c(), a = se(), l = _("div"), ne(c.$$.fragment), d = se(), ne(h.$$.fragment), w(r, "class", "audio-icon svelte-1s6gk4a"), z(l, "display", "inline-block"), w(s, "class", "wrapper svelte-1s6gk4a"), w(o, "class", "content svelte-1s6gk4a"), w(t, "class", "audio-tag svelte-1s6gk4a"), K(
|
|
22541
22537
|
t,
|
|
22542
22538
|
"unfolded",
|
|
22543
22539
|
/*unfolded*/
|
|
@@ -22562,7 +22558,7 @@ function dd(i) {
|
|
|
22562
22558
|
], m = !0);
|
|
22563
22559
|
},
|
|
22564
22560
|
p(y, P) {
|
|
22565
|
-
var
|
|
22561
|
+
var T, D;
|
|
22566
22562
|
const k = {};
|
|
22567
22563
|
P & /*unfolded*/
|
|
22568
22564
|
64 && (k.visible = /*unfolded*/
|
|
@@ -22590,7 +22586,7 @@ function dd(i) {
|
|
|
22590
22586
|
48 && (I.outDelay = /*foldTextDelay*/
|
|
22591
22587
|
y[4] + 20 * Math.min(
|
|
22592
22588
|
/*content*/
|
|
22593
|
-
(
|
|
22589
|
+
(D = (T = y[5]) == null ? void 0 : T.length) != null ? D : 10,
|
|
22594
22590
|
15
|
|
22595
22591
|
)), h.$set(I), (!u || P & /*unfolded*/
|
|
22596
22592
|
64) && K(
|
|
@@ -22854,12 +22850,12 @@ function ud(i) {
|
|
|
22854
22850
|
i[11]
|
|
22855
22851
|
), {
|
|
22856
22852
|
c() {
|
|
22857
|
-
t = _("div"), e = _("div"), ne(n.$$.fragment), w(e, "class", "audio-tag svelte-58hfjf"),
|
|
22853
|
+
t = _("div"), e = _("div"), ne(n.$$.fragment), w(e, "class", "audio-tag svelte-58hfjf"), z(
|
|
22858
22854
|
e,
|
|
22859
22855
|
"background-color",
|
|
22860
22856
|
/*theme*/
|
|
22861
22857
|
i[4].bgColor
|
|
22862
|
-
),
|
|
22858
|
+
), z(
|
|
22863
22859
|
e,
|
|
22864
22860
|
"color",
|
|
22865
22861
|
/*theme*/
|
|
@@ -22881,13 +22877,13 @@ function ud(i) {
|
|
|
22881
22877
|
s[0]
|
|
22882
22878
|
) }), r & /*$$scope, title, playing*/
|
|
22883
22879
|
8232 && (a.$$scope = { dirty: r, ctx: s }), n.$set(a), r & /*theme*/
|
|
22884
|
-
16 &&
|
|
22880
|
+
16 && z(
|
|
22885
22881
|
e,
|
|
22886
22882
|
"background-color",
|
|
22887
22883
|
/*theme*/
|
|
22888
22884
|
s[4].bgColor
|
|
22889
22885
|
), r & /*theme*/
|
|
22890
|
-
16 &&
|
|
22886
|
+
16 && z(
|
|
22891
22887
|
e,
|
|
22892
22888
|
"color",
|
|
22893
22889
|
/*theme*/
|
|
@@ -23376,7 +23372,7 @@ function gd(i) {
|
|
|
23376
23372
|
let r = s(i), a = r(i);
|
|
23377
23373
|
return {
|
|
23378
23374
|
c() {
|
|
23379
|
-
t = _("div"), o && o.c(), e = se(), a.c(), w(t, "class", "icon"),
|
|
23375
|
+
t = _("div"), o && o.c(), e = se(), a.c(), w(t, "class", "icon"), z(
|
|
23380
23376
|
t,
|
|
23381
23377
|
"width",
|
|
23382
23378
|
/*width*/
|
|
@@ -23392,7 +23388,7 @@ function gd(i) {
|
|
|
23392
23388
|
1 && x(o, 1) : (o = vd(), o.c(), x(o, 1), o.m(t, e)) : o && (de(), L(o, 1, 1, () => {
|
|
23393
23389
|
o = null;
|
|
23394
23390
|
}), he()), r === (r = s(l)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(t, null))), c & /*width*/
|
|
23395
|
-
2 &&
|
|
23391
|
+
2 && z(
|
|
23396
23392
|
t,
|
|
23397
23393
|
"width",
|
|
23398
23394
|
/*width*/
|
|
@@ -23561,7 +23557,7 @@ function eC(i) {
|
|
|
23561
23557
|
return {
|
|
23562
23558
|
c() {
|
|
23563
23559
|
t = _("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"), Pt(t.src, e = /*iconUrl*/
|
|
23564
|
-
i[7]) || w(t, "src", e),
|
|
23560
|
+
i[7]) || w(t, "src", e), z(t, "width", Ot(Zn({
|
|
23565
23561
|
originWidth: (
|
|
23566
23562
|
/*width*/
|
|
23567
23563
|
i[1]
|
|
@@ -23583,7 +23579,7 @@ function eC(i) {
|
|
|
23583
23579
|
md(n), o & /*iconUrl*/
|
|
23584
23580
|
128 && !Pt(t.src, e = /*iconUrl*/
|
|
23585
23581
|
n[7]) && w(t, "src", e), o & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
23586
|
-
184 &&
|
|
23582
|
+
184 && z(t, "width", Ot(Zn({
|
|
23587
23583
|
originWidth: (
|
|
23588
23584
|
/*width*/
|
|
23589
23585
|
n[1]
|
|
@@ -23616,7 +23612,7 @@ function iC(i) {
|
|
|
23616
23612
|
i[17]}, jump-none)`;
|
|
23617
23613
|
return {
|
|
23618
23614
|
c() {
|
|
23619
|
-
t = _("div"), w(t, "class", "icon-keyframe svelte-316sq3"),
|
|
23615
|
+
t = _("div"), w(t, "class", "icon-keyframe svelte-316sq3"), z(t, "width", Ot(Zn({
|
|
23620
23616
|
originWidth: (
|
|
23621
23617
|
/*width*/
|
|
23622
23618
|
i[1]
|
|
@@ -23633,7 +23629,7 @@ function iC(i) {
|
|
|
23633
23629
|
/*iconWidth*/
|
|
23634
23630
|
i[3]
|
|
23635
23631
|
)
|
|
23636
|
-
}).width)),
|
|
23632
|
+
}).width)), z(t, "height", Ot(Zn({
|
|
23637
23633
|
originWidth: (
|
|
23638
23634
|
/*width*/
|
|
23639
23635
|
i[1]
|
|
@@ -23650,19 +23646,19 @@ function iC(i) {
|
|
|
23650
23646
|
/*iconWidth*/
|
|
23651
23647
|
i[3]
|
|
23652
23648
|
)
|
|
23653
|
-
}).height)),
|
|
23649
|
+
}).height)), z(t, "background-image", e), z(
|
|
23654
23650
|
t,
|
|
23655
23651
|
"animation-duration",
|
|
23656
23652
|
/*duration*/
|
|
23657
23653
|
i[18]
|
|
23658
|
-
),
|
|
23654
|
+
), z(t, "animation-timing-function", n);
|
|
23659
23655
|
},
|
|
23660
23656
|
m(o, s) {
|
|
23661
23657
|
V(o, t, s);
|
|
23662
23658
|
},
|
|
23663
23659
|
p(o, s) {
|
|
23664
23660
|
pd(o), s & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
23665
|
-
252 &&
|
|
23661
|
+
252 && z(t, "width", Ot(Zn({
|
|
23666
23662
|
originWidth: (
|
|
23667
23663
|
/*width*/
|
|
23668
23664
|
o[1]
|
|
@@ -23680,7 +23676,7 @@ function iC(i) {
|
|
|
23680
23676
|
o[3]
|
|
23681
23677
|
)
|
|
23682
23678
|
}).width)), s & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
23683
|
-
252 &&
|
|
23679
|
+
252 && z(t, "height", Ot(Zn({
|
|
23684
23680
|
originWidth: (
|
|
23685
23681
|
/*width*/
|
|
23686
23682
|
o[1]
|
|
@@ -23699,15 +23695,15 @@ function iC(i) {
|
|
|
23699
23695
|
)
|
|
23700
23696
|
}).height)), s & /*iconUrl*/
|
|
23701
23697
|
128 && e !== (e = `url(${/*iconUrl*/
|
|
23702
|
-
o[7]})`) &&
|
|
23703
|
-
228 &&
|
|
23698
|
+
o[7]})`) && z(t, "background-image", e), s & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
23699
|
+
228 && z(
|
|
23704
23700
|
t,
|
|
23705
23701
|
"animation-duration",
|
|
23706
23702
|
/*duration*/
|
|
23707
23703
|
o[18]
|
|
23708
23704
|
), s & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
23709
23705
|
228 && n !== (n = `steps(${/*steps*/
|
|
23710
|
-
o[17]}, jump-none)`) &&
|
|
23706
|
+
o[17]}, jump-none)`) && z(t, "animation-timing-function", n);
|
|
23711
23707
|
},
|
|
23712
23708
|
d(o) {
|
|
23713
23709
|
o && j(t);
|
|
@@ -24101,13 +24097,13 @@ function AC(i) {
|
|
|
24101
24097
|
"unClickable",
|
|
24102
24098
|
/*tag*/
|
|
24103
24099
|
i[1].config.clickable === !1
|
|
24104
|
-
),
|
|
24100
|
+
), z(
|
|
24105
24101
|
t,
|
|
24106
24102
|
"width",
|
|
24107
24103
|
/*tag*/
|
|
24108
24104
|
i[1].stickType === "Plane" || /*tag*/
|
|
24109
24105
|
i[1].contentType === "MediaModel" ? "100%" : 0
|
|
24110
|
-
),
|
|
24106
|
+
), z(
|
|
24111
24107
|
t,
|
|
24112
24108
|
"height",
|
|
24113
24109
|
/*tag*/
|
|
@@ -24164,14 +24160,14 @@ function AC(i) {
|
|
|
24164
24160
|
/*tag*/
|
|
24165
24161
|
v[1].config.clickable === !1
|
|
24166
24162
|
), g & /*tag*/
|
|
24167
|
-
2 &&
|
|
24163
|
+
2 && z(
|
|
24168
24164
|
t,
|
|
24169
24165
|
"width",
|
|
24170
24166
|
/*tag*/
|
|
24171
24167
|
v[1].stickType === "Plane" || /*tag*/
|
|
24172
24168
|
v[1].contentType === "MediaModel" ? "100%" : 0
|
|
24173
24169
|
), g & /*tag*/
|
|
24174
|
-
2 &&
|
|
24170
|
+
2 && z(
|
|
24175
24171
|
t,
|
|
24176
24172
|
"height",
|
|
24177
24173
|
/*tag*/
|
|
@@ -24514,19 +24510,19 @@ function xC(i, t, e) {
|
|
|
24514
24510
|
function y(I) {
|
|
24515
24511
|
I ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
|
|
24516
24512
|
}
|
|
24517
|
-
function P(I,
|
|
24513
|
+
function P(I, T, D) {
|
|
24518
24514
|
var F, q;
|
|
24519
|
-
return !(!
|
|
24515
|
+
return !(!T.visible || !T.enabled || !D.visible || !((F = I.state) != null && F.visible) || ((q = I.temporaryState) == null ? void 0 : q.visible) === !1 || pt(I) && !I.mediaVisible);
|
|
24520
24516
|
}
|
|
24521
24517
|
const k = (I) => h.emit("click", { event: I, target: "TagContent", tag: d }), S = (I) => h.emit("click", { event: I, target: "TagContent", tag: d });
|
|
24522
24518
|
return i.$$set = (I) => {
|
|
24523
24519
|
"withAnimation" in I && e(0, c = I.withAnimation), "tag" in I && e(1, d = I.tag), "hooks" in I && e(2, h = I.hooks), "renderMap" in I && e(3, u = I.renderMap), "state" in I && e(6, m = I.state), "mediaStore" in I && e(7, v = I.mediaStore), "temporaryState" in I && e(8, g = I.temporaryState);
|
|
24524
24520
|
}, i.$$.update = () => {
|
|
24525
|
-
var I,
|
|
24521
|
+
var I, T, D, F, q, Q, R, H, B, G, U;
|
|
24526
24522
|
i.$$.dirty & /*tag*/
|
|
24527
24523
|
2 && e(12, n = (I = d.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
|
|
24528
|
-
2 && e(11, o = (
|
|
24529
|
-
322 && e(13, s = m.visible && g.visible && ((
|
|
24524
|
+
2 && e(11, o = (T = d.state) == null ? void 0 : T.visible), i.$$.dirty & /*state, temporaryState, tag*/
|
|
24525
|
+
322 && e(13, s = m.visible && g.visible && ((D = d.state) == null ? void 0 : D.visible)), i.$$.dirty & /*tag*/
|
|
24530
24526
|
2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
|
|
24531
24527
|
322 && e(5, a = !P(d, m, g)), i.$$.dirty & /*isVisible*/
|
|
24532
24528
|
8192 && y(s), i.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
|
|
@@ -24601,7 +24597,7 @@ function MC(i) {
|
|
|
24601
24597
|
i[7]
|
|
24602
24598
|
), {
|
|
24603
24599
|
c() {
|
|
24604
|
-
t = _("div"), e = _("div"), n = se(), ne(o.$$.fragment), s = se(), r = _("div"), a = se(), l = _("div"), ne(c.$$.fragment), w(e, "class", "tag-point-click-helper svelte-7aiuwz"), w(r, "class", "tag-unfolded-point svelte-7aiuwz"),
|
|
24600
|
+
t = _("div"), e = _("div"), n = se(), ne(o.$$.fragment), s = se(), r = _("div"), a = se(), l = _("div"), ne(c.$$.fragment), w(e, "class", "tag-point-click-helper svelte-7aiuwz"), w(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
|
|
24605
24601
|
r,
|
|
24606
24602
|
"transition-delay",
|
|
24607
24603
|
/*folded*/
|
|
@@ -24609,7 +24605,7 @@ function MC(i) {
|
|
|
24609
24605
|
/*foldDelay*/
|
|
24610
24606
|
i[5]
|
|
24611
24607
|
) : 0) + "ms"
|
|
24612
|
-
), w(l, "class", "tag-folded-point svelte-7aiuwz"),
|
|
24608
|
+
), w(l, "class", "tag-folded-point svelte-7aiuwz"), z(
|
|
24613
24609
|
l,
|
|
24614
24610
|
"transition-delay",
|
|
24615
24611
|
/*folded*/
|
|
@@ -24639,7 +24635,7 @@ function MC(i) {
|
|
|
24639
24635
|
},
|
|
24640
24636
|
p(m, [v]) {
|
|
24641
24637
|
v & /*folded*/
|
|
24642
|
-
8 &&
|
|
24638
|
+
8 && z(
|
|
24643
24639
|
r,
|
|
24644
24640
|
"transition-delay",
|
|
24645
24641
|
/*folded*/
|
|
@@ -24654,7 +24650,7 @@ function MC(i) {
|
|
|
24654
24650
|
m[2]), v & /*width*/
|
|
24655
24651
|
2 && (g.width = /*width*/
|
|
24656
24652
|
m[1]), c.$set(g), v & /*folded*/
|
|
24657
|
-
8 &&
|
|
24653
|
+
8 && z(
|
|
24658
24654
|
l,
|
|
24659
24655
|
"transition-delay",
|
|
24660
24656
|
/*folded*/
|
|
@@ -24713,11 +24709,11 @@ function SC(i, t, e) {
|
|
|
24713
24709
|
1 && e(3, o = !n), i.$$.dirty & /*tag*/
|
|
24714
24710
|
64 && e(2, s = (b = (A = l.style) == null ? void 0 : A.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: FA }), i.$$.dirty & /*tag*/
|
|
24715
24711
|
64 && e(1, r = (() => {
|
|
24716
|
-
var S, I,
|
|
24712
|
+
var S, I, T, D;
|
|
24717
24713
|
const P = (I = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : I.width;
|
|
24718
24714
|
if (typeof P == "number")
|
|
24719
24715
|
return P;
|
|
24720
|
-
const k = (
|
|
24716
|
+
const k = (D = (T = l.style) == null ? void 0 : T.point) == null ? void 0 : D.size;
|
|
24721
24717
|
if (typeof k == "number")
|
|
24722
24718
|
return k;
|
|
24723
24719
|
if (k === "S")
|
|
@@ -24915,12 +24911,12 @@ function OC(i) {
|
|
|
24915
24911
|
/*id*/
|
|
24916
24912
|
i[12]
|
|
24917
24913
|
), w(e, "data-content-type", c = /*tag*/
|
|
24918
|
-
i[1].contentType),
|
|
24914
|
+
i[1].contentType), z(
|
|
24919
24915
|
e,
|
|
24920
24916
|
"left",
|
|
24921
24917
|
/*left*/
|
|
24922
24918
|
i[9]
|
|
24923
|
-
),
|
|
24919
|
+
), z(
|
|
24924
24920
|
e,
|
|
24925
24921
|
"top",
|
|
24926
24922
|
/*top*/
|
|
@@ -24950,7 +24946,7 @@ function OC(i) {
|
|
|
24950
24946
|
"withAnimation",
|
|
24951
24947
|
/*withAnimation*/
|
|
24952
24948
|
i[0]
|
|
24953
|
-
),
|
|
24949
|
+
), z(
|
|
24954
24950
|
t,
|
|
24955
24951
|
"z-index",
|
|
24956
24952
|
/*zIndex*/
|
|
@@ -24989,13 +24985,13 @@ function OC(i) {
|
|
|
24989
24985
|
), (!d || y & /*tag*/
|
|
24990
24986
|
2 && c !== (c = /*tag*/
|
|
24991
24987
|
b[1].contentType)) && w(e, "data-content-type", c), y & /*left*/
|
|
24992
|
-
512 &&
|
|
24988
|
+
512 && z(
|
|
24993
24989
|
e,
|
|
24994
24990
|
"left",
|
|
24995
24991
|
/*left*/
|
|
24996
24992
|
b[9]
|
|
24997
24993
|
), y & /*top*/
|
|
24998
|
-
256 &&
|
|
24994
|
+
256 && z(
|
|
24999
24995
|
e,
|
|
25000
24996
|
"top",
|
|
25001
24997
|
/*top*/
|
|
@@ -25031,7 +25027,7 @@ function OC(i) {
|
|
|
25031
25027
|
/*withAnimation*/
|
|
25032
25028
|
b[0]
|
|
25033
25029
|
), y & /*zIndex*/
|
|
25034
|
-
128 &&
|
|
25030
|
+
128 && z(
|
|
25035
25031
|
t,
|
|
25036
25032
|
"z-index",
|
|
25037
25033
|
/*zIndex*/
|
|
@@ -25055,7 +25051,7 @@ function BC(i, t, e) {
|
|
|
25055
25051
|
return i.$$set = (P) => {
|
|
25056
25052
|
"withAnimation" in P && e(0, u = P.withAnimation), "tag" in P && e(1, m = P.tag), "mediaStore" in P && e(2, v = P.mediaStore), "renderMap" in P && e(3, g = P.renderMap), "state" in P && e(4, A = P.state), "temporaryState" in P && e(5, b = P.temporaryState);
|
|
25057
25053
|
}, i.$$.update = () => {
|
|
25058
|
-
var P, k, S, I,
|
|
25054
|
+
var P, k, S, I, T, D, F, q;
|
|
25059
25055
|
i.$$.dirty & /*tag*/
|
|
25060
25056
|
2 && e(14, n = (() => {
|
|
25061
25057
|
var Q, R;
|
|
@@ -25065,8 +25061,8 @@ function BC(i, t, e) {
|
|
|
25065
25061
|
2 && e(12, s = m.id), i.$$.dirty & /*tag*/
|
|
25066
25062
|
2 && e(11, r = !((P = m.screenPosition) != null && P.leftPercent) || !((k = m.screenPosition) != null && k.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
|
|
25067
25063
|
2 && e(10, a = !((S = m.state) != null && S.visible) || ((I = m.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
|
|
25068
|
-
2 && e(6, l = (
|
|
25069
|
-
2 && e(9, c = ((
|
|
25064
|
+
2 && e(6, l = (T = m.state) == null ? void 0 : T.unfolded), i.$$.dirty & /*tag*/
|
|
25065
|
+
2 && e(9, c = ((D = m.screenPosition) == null ? void 0 : D.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
25070
25066
|
2 && e(8, d = ((F = m.screenPosition) == null ? void 0 : F.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
25071
25067
|
66 && e(7, h = ((q = m.zIndex) != null ? q : 0) + (l ? 1e4 : 0));
|
|
25072
25068
|
}, [
|
|
@@ -25970,7 +25966,7 @@ function Cd(i) {
|
|
|
25970
25966
|
t = _("div"), e = Ve(
|
|
25971
25967
|
/*text*/
|
|
25972
25968
|
i[0]
|
|
25973
|
-
), w(t, "class", "guide-line__tag-text svelte-m8w0ju"),
|
|
25969
|
+
), w(t, "class", "guide-line__tag-text svelte-m8w0ju"), z(t, "border-image-source", `url(${/*text_background_url*/
|
|
25974
25970
|
i[3]})`);
|
|
25975
25971
|
},
|
|
25976
25972
|
m(n, o) {
|
|
@@ -25996,8 +25992,8 @@ function $C(i) {
|
|
|
25996
25992
|
);
|
|
25997
25993
|
return {
|
|
25998
25994
|
c() {
|
|
25999
|
-
t = _("div"), e = _("div"), n = se(), o = _("div"), s = se(), r = _("div"), a = _("div"), l = se(), c && c.c(), w(e, "class", "guide-line__tag-point svelte-m8w0ju"), w(o, "class", "guide-line__tag-line svelte-m8w0ju"), w(a, "class", "guide-line__tag-icon svelte-m8w0ju"),
|
|
26000
|
-
i[1]})`), w(r, "class", "guide-line__tag-content svelte-m8w0ju"), w(t, "class", "guide-line__tag svelte-m8w0ju"),
|
|
25995
|
+
t = _("div"), e = _("div"), n = se(), o = _("div"), s = se(), r = _("div"), a = _("div"), l = se(), c && c.c(), w(e, "class", "guide-line__tag-point svelte-m8w0ju"), w(o, "class", "guide-line__tag-line svelte-m8w0ju"), w(a, "class", "guide-line__tag-icon svelte-m8w0ju"), z(a, "background-image", `url(${/*icon_url*/
|
|
25996
|
+
i[1]})`), w(r, "class", "guide-line__tag-content svelte-m8w0ju"), w(t, "class", "guide-line__tag svelte-m8w0ju"), z(
|
|
26001
25997
|
t,
|
|
26002
25998
|
"opacity",
|
|
26003
25999
|
/*opacity*/
|
|
@@ -26009,10 +26005,10 @@ function $C(i) {
|
|
|
26009
26005
|
},
|
|
26010
26006
|
p(d, [h]) {
|
|
26011
26007
|
h & /*icon_url*/
|
|
26012
|
-
2 &&
|
|
26008
|
+
2 && z(a, "background-image", `url(${/*icon_url*/
|
|
26013
26009
|
d[1]})`), /*text*/
|
|
26014
26010
|
d[0] ? c ? c.p(d, h) : (c = Cd(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h & /*opacity*/
|
|
26015
|
-
4 &&
|
|
26011
|
+
4 && z(
|
|
26016
26012
|
t,
|
|
26017
26013
|
"opacity",
|
|
26018
26014
|
/*opacity*/
|
|
@@ -26143,9 +26139,7 @@ class oa {
|
|
|
26143
26139
|
f(this, "five");
|
|
26144
26140
|
f(this, "mode");
|
|
26145
26141
|
f(this, "path", []);
|
|
26146
|
-
f(this, "
|
|
26147
|
-
f(this, "_curvePoints", null);
|
|
26148
|
-
f(this, "_panoGroup", []);
|
|
26142
|
+
f(this, "_panoGroup", null);
|
|
26149
26143
|
f(this, "skippedPositions", null);
|
|
26150
26144
|
f(this, "textureUrl", "");
|
|
26151
26145
|
f(this, "scale", 1);
|
|
@@ -26168,8 +26162,6 @@ class oa {
|
|
|
26168
26162
|
f(this, "disposed", !1);
|
|
26169
26163
|
f(this, "flowAnime", new cs({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
26170
26164
|
f(this, "flickerAnime", ds(300).yoyo(!0).repeat(5));
|
|
26171
|
-
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
26172
|
-
f(this, "cacheLengths", []);
|
|
26173
26165
|
f(this, "dispose", () => {
|
|
26174
26166
|
var t, e;
|
|
26175
26167
|
this.disposed || (this.disposed = !0, this.parent.hooks.off("show", this.updateVisible), this.parent.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("show", this.updateVisible), this.plugin.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("enable", this.updateVisible), this.plugin.hooks.off("disable", this.updateVisible), this.five.off("modeChange", this.onFiveModeChange), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (t = this.startTagContainer) == null || t.plugin.dispose(), (e = this.endTagContainer) == null || e.plugin.dispose());
|
|
@@ -26235,14 +26227,6 @@ class oa {
|
|
|
26235
26227
|
get visibleFloorIndexes() {
|
|
26236
26228
|
return this._visibleFloorIndexes;
|
|
26237
26229
|
}
|
|
26238
|
-
/** THREE Curve 路径 */
|
|
26239
|
-
get curvePath() {
|
|
26240
|
-
return this._curvePath;
|
|
26241
|
-
}
|
|
26242
|
-
/** THREE Curve 路径上的点 */
|
|
26243
|
-
get curvePoints() {
|
|
26244
|
-
return this._curvePoints;
|
|
26245
|
-
}
|
|
26246
26230
|
/** 自定义展示 */
|
|
26247
26231
|
setCustomVisible(t) {
|
|
26248
26232
|
if (this.disposed)
|
|
@@ -26283,18 +26267,18 @@ class oa {
|
|
|
26283
26267
|
}
|
|
26284
26268
|
/** 通过路径设置线条形状 */
|
|
26285
26269
|
setGeometryByPath(t, e) {
|
|
26286
|
-
var
|
|
26270
|
+
var l, c, d;
|
|
26287
26271
|
if (this.disposed)
|
|
26288
26272
|
return this.logError("disposed");
|
|
26289
|
-
const n = (
|
|
26273
|
+
const n = (l = e == null ? void 0 : e.scale) != null ? l : this.scale, o = (c = e == null ? void 0 : e.width) != null ? c : this.width, s = (d = e == null ? void 0 : e.unit_length) != null ? d : this.unitLength;
|
|
26290
26274
|
this.path = t, this.scale = n, this.width = o, this.unitLength = s;
|
|
26291
|
-
const { geometry: r, maxU: a
|
|
26275
|
+
const { geometry: r, maxU: a } = yA({
|
|
26292
26276
|
path: t,
|
|
26293
26277
|
width: o * n,
|
|
26294
26278
|
unitLength: s * n,
|
|
26295
26279
|
skipPositions: this.skippedPositions
|
|
26296
26280
|
});
|
|
26297
|
-
this.
|
|
26281
|
+
this.mesh.geometry = r, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = a, this.five.needsRender = !0;
|
|
26298
26282
|
}
|
|
26299
26283
|
/** 设置线条材质 */
|
|
26300
26284
|
setMartial(t) {
|
|
@@ -26371,26 +26355,6 @@ class oa {
|
|
|
26371
26355
|
return this.logError("disposed");
|
|
26372
26356
|
this.flickerAnime.play();
|
|
26373
26357
|
}
|
|
26374
|
-
/** 求起点到 panoIndex 曲线长度
|
|
26375
|
-
* @param index panoIndex 在 panoGroup 中的索引
|
|
26376
|
-
*
|
|
26377
|
-
* @description 为什么不使用 panoIndex 作为参数?
|
|
26378
|
-
* - panoIndex 在一个曲线中可能出现多次,无法确定是哪一个。
|
|
26379
|
-
*/
|
|
26380
|
-
getLengthByPanoGroupIndex(t) {
|
|
26381
|
-
return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[t] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[t]);
|
|
26382
|
-
}
|
|
26383
|
-
getPanoGroupLengths() {
|
|
26384
|
-
const t = this.panoGroup.map((c) => this.five.work.observers[c]), e = this.curvePoints.length, n = this.curvePath.getLength(), o = e - 1, s = n / o, r = this.curvePath.getLengths(o), a = [];
|
|
26385
|
-
let l = 0;
|
|
26386
|
-
for (let c = 0; c < e; c++) {
|
|
26387
|
-
const d = this.curvePoints[c], h = t[l];
|
|
26388
|
-
if (!h)
|
|
26389
|
-
break;
|
|
26390
|
-
h.standingPosition.clone().setY(0).distanceTo(d.clone().setY(0)) < s && (a.push(r[c]), l += 1);
|
|
26391
|
-
}
|
|
26392
|
-
return a;
|
|
26393
|
-
}
|
|
26394
26358
|
setTag(t, e) {
|
|
26395
26359
|
const n = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
26396
26360
|
e || n.plugin.clearTags();
|
|
@@ -27130,13 +27094,13 @@ class mP extends Sn {
|
|
|
27130
27094
|
f(this, "cruisePlugin");
|
|
27131
27095
|
/** GuideLineItem 索引 */
|
|
27132
27096
|
f(this, "itemMap", /* @__PURE__ */ new Map());
|
|
27097
|
+
/** 当新增一根线时,整体高度的偏移值 */
|
|
27098
|
+
f(this, "heightOffset", 0);
|
|
27133
27099
|
f(this, "state", {
|
|
27134
27100
|
visible: !1,
|
|
27135
27101
|
enabled: !0
|
|
27136
27102
|
});
|
|
27137
27103
|
f(this, "data");
|
|
27138
|
-
/** 当新增一根线时,整体高度的偏移值 */
|
|
27139
|
-
f(this, "heightOffset", 0);
|
|
27140
27104
|
f(this, "_disposed", !1);
|
|
27141
27105
|
f(this, "disposedErrorLog", () => {
|
|
27142
27106
|
console.error(`${Ed} is disposed`);
|
|
@@ -27148,24 +27112,24 @@ class mP extends Sn {
|
|
|
27148
27112
|
}
|
|
27149
27113
|
load(e, n, o = !0) {
|
|
27150
27114
|
return X(this, null, function* () {
|
|
27151
|
-
var
|
|
27115
|
+
var m, v, g, A, b, y, P;
|
|
27152
27116
|
if (this.disposed)
|
|
27153
27117
|
return;
|
|
27154
27118
|
const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
|
|
27155
27119
|
this.hooks.emit("dataChange", r, s), this.data = r;
|
|
27156
|
-
const a = r.config,
|
|
27120
|
+
const a = r.config, c = {
|
|
27157
27121
|
panorama_style: {
|
|
27158
|
-
visible: !
|
|
27159
|
-
unit_length: (
|
|
27160
|
-
width: (
|
|
27161
|
-
texture: { url: (
|
|
27122
|
+
visible: !!(!r.lines && r.routes),
|
|
27123
|
+
unit_length: (m = a == null ? void 0 : a.unitHeight) != null ? m : 0.4,
|
|
27124
|
+
width: (v = a == null ? void 0 : a.unitWidth) != null ? v : 0.6,
|
|
27125
|
+
texture: { url: (g = a == null ? void 0 : a.arrowTextureUrl) != null ? g : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
|
|
27162
27126
|
}
|
|
27163
|
-
},
|
|
27164
|
-
var
|
|
27165
|
-
return Xe({},
|
|
27166
|
-
})) != null ?
|
|
27167
|
-
yield this.waitFiveLoaded(), this.clear(),
|
|
27168
|
-
this.addGuideLineItem(
|
|
27127
|
+
}, d = (b = (A = r.routes) == null ? void 0 : A.map((k) => {
|
|
27128
|
+
var S;
|
|
27129
|
+
return Xe({}, c, { id: (S = k.id) != null ? S : Date.now(), pano_group: k.panoIndexList });
|
|
27130
|
+
})) != null ? b : [], h = (P = (y = r.lines) == null ? void 0 : y.map((k) => Xe({}, c, k))) != null ? P : [], u = [...d, ...h];
|
|
27131
|
+
yield this.waitFiveLoaded(), this.clear(), u.forEach((k) => {
|
|
27132
|
+
this.addGuideLineItem(k);
|
|
27169
27133
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: o }), this.hooks.emit("dataLoaded", r), console.debug(`${Ed} loaded`, r);
|
|
27170
27134
|
});
|
|
27171
27135
|
}
|
|
@@ -28568,8 +28532,8 @@ class GP extends lo {
|
|
|
28568
28532
|
}
|
|
28569
28533
|
const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), S = new E.Matrix4().scale(k);
|
|
28570
28534
|
n.isCSS3DObjectPlus ? n.applyScaleMatrix4(S) : n.scale.applyMatrix4(S), o.position.copy(a);
|
|
28571
|
-
const I = new $().addVectors(r[0], r[2]).divideScalar(2),
|
|
28572
|
-
n.applyMatrix4(
|
|
28535
|
+
const I = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(I, l), D = new E.Matrix4().setPosition(T);
|
|
28536
|
+
n.applyMatrix4(D), (F = this.helperObject3D.css3DInstance) == null || F.css3DObject.applyMatrix4(D), (q = this.helperObject3D.plane) == null || q.applyMatrix4(D), this.hooks.emit("applyObjectScale", { matrix: S }), this.hooks.emit("applyObjectPosition", { matrix: D }), this.render();
|
|
28573
28537
|
}
|
|
28574
28538
|
dragEnd() {
|
|
28575
28539
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
|