@realsee/dnalogel 2.20.0 → 2.20.1
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 +16 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -1
- package/dist/index.cjs.js +26 -26
- package/dist/index.js +604 -568
- 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 +79 -31
- 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 +2 -2
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +108 -76
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +16 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -1
- 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 +30 -28
- 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.1",
|
|
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, z();
|
|
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, z();
|
|
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(), z());
|
|
1102
1102
|
}, y = () => {
|
|
1103
|
-
e && (l.remove(d), o = !0,
|
|
1103
|
+
e && (l.remove(d), o = !0, M(), 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
|
+
z();
|
|
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 z = () => {
|
|
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
|
+
}, M = () => {
|
|
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), z();
|
|
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", z), i.on("dispose", F), i.on("renderFrame", M), i.on("cameraPositionUpdate", z), { 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, z;
|
|
1319
|
+
const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (I = e.dpr) != null ? I : 1, a = (z = e.pointerEvents) != null ? z : "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 M = document.createElement("div");
|
|
1325
|
+
M.style.width = `${h}px`, M.style.height = `${u}px`, M.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`, M.appendChild(n), v = M;
|
|
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 M = s / l;
|
|
1369
|
+
this.width = M * c, this.height = M * d, this.domWidthPx = M * h, this.domHeightPx = M * u, this.centerPosition = new $().subVectors(m, o[0]).multiplyScalar(M).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 M;
|
|
1377
|
+
this.mode === "front" && ((M = this.opacityMesh) == null || M.removeFromParent()), this.addParentVisibleListener();
|
|
1378
1378
|
}), this.addEventListener("removed", () => {
|
|
1379
|
-
var
|
|
1380
|
-
(
|
|
1379
|
+
var M;
|
|
1380
|
+
(M = this.opacityMesh) == null || M.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 T(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 z = h(o, s, v), M = e(z);
|
|
2918
|
+
let F = r.get(M);
|
|
2919
|
+
F ? n && P.push(() => F.p(z, t)) : (F = c(M, z), F.c()), b.set(M, A[v] = F), M in g && y.set(M, Math.abs(v - g[M]));
|
|
2920
2920
|
}
|
|
2921
2921
|
const k = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
2922
|
-
function I(
|
|
2923
|
-
x(
|
|
2922
|
+
function I(z) {
|
|
2923
|
+
x(z, 1), z.m(a, d), r.set(z.key, z), d = z.first, m--;
|
|
2924
2924
|
}
|
|
2925
2925
|
for (; u && m; ) {
|
|
2926
|
-
const
|
|
2927
|
-
|
|
2926
|
+
const z = A[m - 1], M = i[u - 1], F = z.key, q = M.key;
|
|
2927
|
+
z === M ? (d = z.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? I(z) : S.has(q) ? u-- : y.get(F) > y.get(q) ? (S.add(F), I(z)) : (k.add(q), u--) : (l(M, r), u--);
|
|
2928
2928
|
}
|
|
2929
2929
|
for (; u--; ) {
|
|
2930
|
-
const
|
|
2931
|
-
b.has(
|
|
2930
|
+
const z = i[u];
|
|
2931
|
+
b.has(z.key) || l(z, 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"), T(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"), T(
|
|
3053
3053
|
t,
|
|
3054
3054
|
"z-index",
|
|
3055
3055
|
/*roomLabel*/
|
|
3056
3056
|
i[0].zIndex
|
|
3057
|
-
),
|
|
3057
|
+
), T(
|
|
3058
3058
|
t,
|
|
3059
3059
|
"transform",
|
|
3060
3060
|
/*roomLabel*/
|
|
3061
3061
|
i[0].transform
|
|
3062
|
-
),
|
|
3062
|
+
), T(
|
|
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 && T(
|
|
3088
3088
|
t,
|
|
3089
3089
|
"z-index",
|
|
3090
3090
|
/*roomLabel*/
|
|
3091
3091
|
c[0].zIndex
|
|
3092
3092
|
), d & /*roomLabel*/
|
|
3093
|
-
1 &&
|
|
3093
|
+
1 && T(
|
|
3094
3094
|
t,
|
|
3095
3095
|
"transform",
|
|
3096
3096
|
/*roomLabel*/
|
|
3097
3097
|
c[0].transform
|
|
3098
3098
|
), d & /*roomLabel*/
|
|
3099
|
-
1 &&
|
|
3099
|
+
1 && T(
|
|
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 [z] = o.model.intersectRaycaster(P);
|
|
3551
|
+
return !(z && z.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
|
|
3559
|
-
function
|
|
3560
|
-
const
|
|
3561
|
-
if (
|
|
3562
|
-
return
|
|
3563
|
-
const { x:
|
|
3564
|
-
return
|
|
3558
|
+
const { rendererSize: y } = b, P = /* @__PURE__ */ new Map();
|
|
3559
|
+
function k(I) {
|
|
3560
|
+
const z = P.get(I.id);
|
|
3561
|
+
if (z)
|
|
3562
|
+
return z;
|
|
3563
|
+
const { x: M, y: F, z: q } = I.position, Q = new $(M, F, q).clone().distanceTo(o.camera.position);
|
|
3564
|
+
return P.set(I.id, Q), Q;
|
|
3565
3565
|
}
|
|
3566
|
-
return s.map((
|
|
3567
|
-
const
|
|
3568
|
-
return ye(W({},
|
|
3566
|
+
return s.map((I) => {
|
|
3567
|
+
const z = c(I), M = z ? d(I, y) : I.transform, F = k(I), Q = s.filter((R) => R.visible && k(R) < F).length * 10;
|
|
3568
|
+
return ye(W({}, I), { visible: z, transform: M, zIndex: Q });
|
|
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"), T(e, "background-image", `url(${/*cameraImageUrl*/
|
|
3813
|
+
i[0] || ln})`), T(
|
|
3814
3814
|
e,
|
|
3815
3815
|
"width",
|
|
3816
3816
|
/*domSizeStyle*/
|
|
3817
3817
|
i[4]
|
|
3818
|
-
),
|
|
3818
|
+
), T(
|
|
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
|
+
), T(e, "left", "-" + /*domSizeStyle*/
|
|
3824
|
+
i[4]), T(e, "top", "-" + /*domSizeStyle*/
|
|
3825
|
+
i[4]), T(e, "transform", `rotate(${/*rotate*/
|
|
3826
|
+
i[3]}deg)`), T(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"), T(
|
|
3829
3829
|
t,
|
|
3830
3830
|
"left",
|
|
3831
3831
|
/*positionLeft*/
|
|
3832
3832
|
i[1]
|
|
3833
|
-
),
|
|
3833
|
+
), T(
|
|
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 && T(e, "background-image", `url(${/*cameraImageUrl*/
|
|
3846
3846
|
n[0] || ln})`);
|
|
3847
3847
|
const s = o & /*cameraImageUrl*/
|
|
3848
3848
|
1;
|
|
3849
|
-
s &&
|
|
3849
|
+
s && T(
|
|
3850
3850
|
e,
|
|
3851
3851
|
"width",
|
|
3852
3852
|
/*domSizeStyle*/
|
|
3853
3853
|
n[4]
|
|
3854
|
-
), s &&
|
|
3854
|
+
), s && T(
|
|
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 && T(e, "left", "-" + /*domSizeStyle*/
|
|
3860
|
+
n[4]), s && T(e, "top", "-" + /*domSizeStyle*/
|
|
3861
|
+
n[4]), s && T(e, "transform", `rotate(${/*rotate*/
|
|
3862
|
+
n[3]}deg)`), s && T(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"), T(e, "background-image", `url(${Bm})`), w(o, "class", "floorplan-plugin__compass-text svelte-rpkaro"), w(t, "class", "floorplan-plugin__compass svelte-rpkaro"), T(
|
|
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"), T(
|
|
4328
4328
|
t,
|
|
4329
4329
|
"left",
|
|
4330
4330
|
/*left*/
|
|
4331
4331
|
i[9]
|
|
4332
|
-
),
|
|
4332
|
+
), T(
|
|
4333
4333
|
t,
|
|
4334
4334
|
"top",
|
|
4335
4335
|
/*top*/
|
|
4336
4336
|
i[10]
|
|
4337
|
-
),
|
|
4337
|
+
), T(
|
|
4338
4338
|
t,
|
|
4339
4339
|
"font-size",
|
|
4340
4340
|
/*fontSize*/
|
|
4341
4341
|
i[11]
|
|
4342
|
-
),
|
|
4342
|
+
), T(
|
|
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 && T(
|
|
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 z = 0, M = 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, z = R.detail);
|
|
4414
4414
|
}, Q = (R) => {
|
|
4415
|
-
e(5,
|
|
4415
|
+
e(5, M = 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: z, height: M }), 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
|
+
z,
|
|
4432
|
+
M,
|
|
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"), T(
|
|
4737
4737
|
t,
|
|
4738
4738
|
"left",
|
|
4739
4739
|
/*rulerLabel*/
|
|
4740
4740
|
i[14].left * 100 + "%"
|
|
4741
|
-
),
|
|
4741
|
+
), T(
|
|
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"), T(
|
|
4775
4775
|
e,
|
|
4776
4776
|
"left",
|
|
4777
4777
|
/*textItem*/
|
|
4778
4778
|
t[11].left * 100 + "%"
|
|
4779
|
-
),
|
|
4779
|
+
), T(
|
|
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
|
+
), T(
|
|
4841
4841
|
t,
|
|
4842
4842
|
"width",
|
|
4843
4843
|
/*isRow*/
|
|
4844
4844
|
i[2] ? "100%" : 1 / 16 + "rem"
|
|
4845
|
-
),
|
|
4845
|
+
), T(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"), T(
|
|
5021
5021
|
t,
|
|
5022
5022
|
"width",
|
|
5023
5023
|
/*width*/
|
|
5024
5024
|
i[3]
|
|
5025
|
-
),
|
|
5025
|
+
), T(
|
|
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 && T(
|
|
5043
5043
|
t,
|
|
5044
5044
|
"width",
|
|
5045
5045
|
/*width*/
|
|
5046
5046
|
a[3]
|
|
5047
5047
|
), l & /*height*/
|
|
5048
|
-
4 &&
|
|
5048
|
+
4 && T(
|
|
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, { highlightData: l } = t, { hoveredRoom: c } = t;
|
|
5596
5596
|
function d() {
|
|
5597
|
-
|
|
5597
|
+
c == null || c.set(s);
|
|
5598
5598
|
}
|
|
5599
5599
|
function h() {
|
|
5600
|
-
|
|
5600
|
+
c == null || c.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), "highlightData" in v && e(7, l = v.highlightData), "hoveredRoom" in v && e(8, c = v.hoveredRoom);
|
|
5608
5608
|
}, i.$$.update = () => {
|
|
5609
5609
|
i.$$.dirty & /*highlightData, floorIndex, room*/
|
|
5610
|
-
|
|
5610
|
+
131 && e(9, n = l[`${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
|
+
highlightData: 7,
|
|
5638
|
+
hoveredRoom: 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[3]
|
|
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[2]
|
|
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[3]
|
|
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[2]
|
|
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, { highlightData: s } = t, { hoveredRoom: 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), "highlightData" in c && e(2, s = c.highlightData), "hoveredRoom" in c && e(3, r = c.hoveredRoom);
|
|
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
|
+
highlightData: 2,
|
|
5813
|
+
hoveredRoom: 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: z } = t;
|
|
6593
|
+
return i.$$set = (M) => {
|
|
6594
|
+
"duration" in M && e(0, n = M.duration), "visible" in M && e(1, o = M.visible), "northDesc" in M && e(2, s = M.northDesc), "panoIndex" in M && e(3, r = M.panoIndex), "floorIndex" in M && e(4, a = M.floorIndex), "cameraEnable" in M && e(5, l = M.cameraEnable), "hoverEnable" in M && e(6, c = M.hoverEnable), "highlightEnable" in M && e(7, d = M.highlightEnable), "compassEnable" in M && e(8, h = M.compassEnable), "roomLabelsEnable" in M && e(9, u = M.roomLabelsEnable), "roomAreaEnable" in M && e(10, m = M.roomAreaEnable), "roomNameEnable" in M && e(11, v = M.roomNameEnable), "ruleLabelsEnable" in M && e(12, g = M.ruleLabelsEnable), "floorplanData" in M && e(13, A = M.floorplanData), "lastPanoramaLongitude" in M && e(14, b = M.lastPanoramaLongitude), "cameraImageUrl" in M && e(15, y = M.cameraImageUrl), "getRoomAreaText" in M && e(16, P = M.getRoomAreaText), "getLabelElement" in M && e(17, k = M.getLabelElement), "getRuleDistanceText" in M && e(18, S = M.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in M && e(19, I = M.adaptiveRoomLabelVisibleEnable), "highlightData" in M && e(20, z = M.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
|
+
z
|
|
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.1");
|
|
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"), T(n, "background-image", "url(" + /*cameraImageUrl*/
|
|
7799
|
+
(i[0] || ln) + ")"), T(
|
|
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"), T(
|
|
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 && T(n, "background-image", "url(" + /*cameraImageUrl*/
|
|
7817
7817
|
(o[0] || ln) + ")"), (s & /*cameraImageUrl*/
|
|
7818
7818
|
1 || s & /*rotateTransform, cameraImageUrl*/
|
|
7819
|
-
3) &&
|
|
7819
|
+
3) && T(
|
|
7820
7820
|
n,
|
|
7821
7821
|
"transform",
|
|
7822
7822
|
/*rotateTransform*/
|
|
7823
7823
|
o[1]
|
|
7824
7824
|
), s & /*positionTransform*/
|
|
7825
|
-
4 &&
|
|
7825
|
+
4 && T(
|
|
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"), T(n, "background-image", `url(${/*extraObject*/
|
|
7915
|
+
t[1].icon.url})`), T(n, "width", o), T(n, "height", s), w(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), T(e, "top", a), T(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 && T(n, "background-image", `url(${/*extraObject*/
|
|
7923
7923
|
t[1].icon.url})`);
|
|
7924
7924
|
const h = d & /*extraObjects*/
|
|
7925
7925
|
1;
|
|
7926
|
-
h &&
|
|
7926
|
+
h && T(n, "width", o), h && T(n, "height", s), d & /*extraObjects*/
|
|
7927
7927
|
1 && a !== (a = `${/*extraObject*/
|
|
7928
|
-
t[1].positionInImage.y * 100}%`) &&
|
|
7928
|
+
t[1].positionInImage.y * 100}%`) && T(e, "top", a), d & /*extraObjects*/
|
|
7929
7929
|
1 && l !== (l = `${/*extraObject*/
|
|
7930
|
-
t[1].positionInImage.x * 100}%`) &&
|
|
7930
|
+
t[1].positionInImage.x * 100}%`) && T(e, "left", l);
|
|
7931
7931
|
},
|
|
7932
7932
|
d(c) {
|
|
7933
7933
|
c && j(e);
|
|
@@ -8011,7 +8011,8 @@ function xl(i) {
|
|
|
8011
8011
|
highlightData: (
|
|
8012
8012
|
/*highlightData*/
|
|
8013
8013
|
i[5]
|
|
8014
|
-
)
|
|
8014
|
+
),
|
|
8015
|
+
hoveredRoom: void 0
|
|
8015
8016
|
}
|
|
8016
8017
|
];
|
|
8017
8018
|
let o = {};
|
|
@@ -8025,7 +8026,7 @@ function xl(i) {
|
|
|
8025
8026
|
ee(t, s, r), e = !0;
|
|
8026
8027
|
},
|
|
8027
8028
|
p(s, r) {
|
|
8028
|
-
const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData*/
|
|
8029
|
+
const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData, undefined*/
|
|
8029
8030
|
183 ? st(n, [
|
|
8030
8031
|
{
|
|
8031
8032
|
five: (
|
|
@@ -8051,7 +8052,8 @@ function xl(i) {
|
|
|
8051
8052
|
highlightData: (
|
|
8052
8053
|
/*highlightData*/
|
|
8053
8054
|
s[5]
|
|
8054
|
-
)
|
|
8055
|
+
),
|
|
8056
|
+
hoveredRoom: void 0
|
|
8055
8057
|
}
|
|
8056
8058
|
]) : {};
|
|
8057
8059
|
t.$set(a);
|
|
@@ -8283,7 +8285,7 @@ function Ml(i) {
|
|
|
8283
8285
|
h = Je(h, d[u]);
|
|
8284
8286
|
return o = new Pg({ props: h }), {
|
|
8285
8287
|
c() {
|
|
8286
|
-
t = _("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"),
|
|
8288
|
+
t = _("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), T(t, "width", s), T(t, "height", r);
|
|
8287
8289
|
},
|
|
8288
8290
|
m(u, m) {
|
|
8289
8291
|
V(u, t, m), ee(e, t, null), O(t, n), ee(o, t, null), a = !0;
|
|
@@ -8346,9 +8348,9 @@ function Ml(i) {
|
|
|
8346
8348
|
]) : {};
|
|
8347
8349
|
o.$set(g), m & /*contentWidth*/
|
|
8348
8350
|
512 && s !== (s = `${/*contentWidth*/
|
|
8349
|
-
u[9]}px`) &&
|
|
8351
|
+
u[9]}px`) && T(t, "width", s), m & /*contentHeight*/
|
|
8350
8352
|
4096 && r !== (r = `${/*contentHeight*/
|
|
8351
|
-
u[12]}px`) &&
|
|
8353
|
+
u[12]}px`) && T(t, "height", r);
|
|
8352
8354
|
},
|
|
8353
8355
|
i(u) {
|
|
8354
8356
|
a || (x(e.$$.fragment, u), x(o.$$.fragment, u), a = !0);
|
|
@@ -8410,10 +8412,10 @@ function zg(i, t, e) {
|
|
|
8410
8412
|
}, i.$$.update = () => {
|
|
8411
8413
|
if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
8412
8414
|
904) {
|
|
8413
|
-
const S = Math.min(u, m), { max: I, min:
|
|
8414
|
-
return
|
|
8415
|
+
const S = Math.min(u, m), { max: I, min: z } = r.bounding, M = I.x - z.x, F = I.y - z.y, q = function() {
|
|
8416
|
+
return M > F ? [S, S / M * F] : [S / F * M, S];
|
|
8415
8417
|
}();
|
|
8416
|
-
e(9, v = q[0]), e(12, g = q[1]), e(10, d = v /
|
|
8418
|
+
e(9, v = q[0]), e(12, g = q[1]), e(10, d = v / M);
|
|
8417
8419
|
}
|
|
8418
8420
|
}, [
|
|
8419
8421
|
n,
|
|
@@ -8730,12 +8732,12 @@ const VI = (i, t) => {
|
|
|
8730
8732
|
model: {
|
|
8731
8733
|
bounding: {
|
|
8732
8734
|
max: { x: S, z: I },
|
|
8733
|
-
min: { x:
|
|
8735
|
+
min: { x: z, y: M, z: F }
|
|
8734
8736
|
}
|
|
8735
8737
|
}
|
|
8736
8738
|
} = i;
|
|
8737
|
-
o.yBase =
|
|
8738
|
-
const q = { x: (S +
|
|
8739
|
+
o.yBase = M;
|
|
8740
|
+
const q = { x: (S + z) / 2, y: M - 1.6, z: (I + F) / 2 }, Q = 45e-4 * b;
|
|
8739
8741
|
return Vg(P, { position: q, rotation: k, scale: Q }), o.object = P, !0;
|
|
8740
8742
|
}), r = ({ latitude: h }) => {
|
|
8741
8743
|
if (!o.object)
|
|
@@ -8777,13 +8779,13 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
|
|
|
8777
8779
|
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;
|
|
8778
8780
|
if (e.rad = S, S === void 0)
|
|
8779
8781
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${S}`));
|
|
8780
|
-
const
|
|
8781
|
-
|
|
8782
|
-
const
|
|
8783
|
-
if (!
|
|
8784
|
-
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${
|
|
8782
|
+
const z = yield new Td().loadAsync(I);
|
|
8783
|
+
z.position.copy(k), z.rotation.z = S, z.scale.set(0.8, 0.8, 0.8), kh(z, { transparent: !0, side: E.DoubleSide });
|
|
8784
|
+
const M = (U = (G = (B = (H = z.children) == null ? void 0 : H[0]) == null ? void 0 : B.children) == null ? void 0 : G[3]) == null ? void 0 : U.clone();
|
|
8785
|
+
if (!M)
|
|
8786
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${M}`));
|
|
8785
8787
|
const F = (Y = t.name) != null ? Y : "入户门";
|
|
8786
|
-
return
|
|
8788
|
+
return M.material = new Ji({ transparent: !0, map: Og(F) }), M.renderOrder = 3, z.children[0].add(M), e.object = z, !0;
|
|
8787
8789
|
}), c = () => {
|
|
8788
8790
|
if (e.animation)
|
|
8789
8791
|
return;
|
|
@@ -9098,7 +9100,7 @@ const Ng = `<style type="text/css">
|
|
|
9098
9100
|
if (!y)
|
|
9099
9101
|
return !1;
|
|
9100
9102
|
for (const P in A) {
|
|
9101
|
-
const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x:
|
|
9103
|
+
const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x: z, z: M, observers: F }) => {
|
|
9102
9104
|
const q = F.length > 0 ? g.rooms[g.observers[F[0]]].name : "", Q = b[q] ? b[q].floor : null;
|
|
9103
9105
|
let R = 1 / 0, H = {
|
|
9104
9106
|
index: 0,
|
|
@@ -9114,28 +9116,28 @@ const Ng = `<style type="text/css">
|
|
|
9114
9116
|
x: ie.x,
|
|
9115
9117
|
y: ie.y,
|
|
9116
9118
|
z: ie.z
|
|
9117
|
-
}, we = Fg({ x:
|
|
9119
|
+
}, we = Fg({ x: z, z: M }, Ae);
|
|
9118
9120
|
Q ? we < R && Math.abs(Ae.y - Q) < 0.3 && (R = we, H = Ae) : we < R && (R = we, H = Ae);
|
|
9119
9121
|
});
|
|
9120
|
-
const B = new $(
|
|
9122
|
+
const B = new $(z, H.y, M);
|
|
9121
9123
|
Object.assign(B, { observers: F });
|
|
9122
|
-
const G = b[q] ? b[q].roof : null, U = G ? new $(
|
|
9124
|
+
const G = b[q] ? b[q].roof : null, U = G ? new $(z, G, M) : null;
|
|
9123
9125
|
return U && Object.assign(U, { observers: F }), { origin: B, vertical: U };
|
|
9124
9126
|
});
|
|
9125
9127
|
r[P] = {
|
|
9126
|
-
origins: I.map((
|
|
9128
|
+
origins: I.map((z) => z.origin),
|
|
9127
9129
|
rules: []
|
|
9128
9130
|
};
|
|
9129
|
-
for (const { origin:
|
|
9130
|
-
if (!
|
|
9131
|
+
for (const { origin: z, vertical: M } of I) {
|
|
9132
|
+
if (!M)
|
|
9131
9133
|
continue;
|
|
9132
|
-
const F = n(P,
|
|
9133
|
-
o.append(F), r[P].rules.push({ vertical: !0, rule: [
|
|
9134
|
+
const F = n(P, z.distanceTo(M));
|
|
9135
|
+
o.append(F), r[P].rules.push({ vertical: !0, rule: [z, M], $element: F });
|
|
9134
9136
|
}
|
|
9135
|
-
for (let
|
|
9136
|
-
let
|
|
9137
|
-
|
|
9138
|
-
const { origin: F } = I[
|
|
9137
|
+
for (let z = 0; z < I.length; z++) {
|
|
9138
|
+
let M = z + 1;
|
|
9139
|
+
M >= I.length && (M = 0);
|
|
9140
|
+
const { origin: F } = I[z], { origin: q } = I[M], Q = n(P, F.distanceTo(q));
|
|
9139
9141
|
o.append(Q), r[P].rules.push({ vertical: !1, rule: [F, q], $element: Q });
|
|
9140
9142
|
}
|
|
9141
9143
|
}
|
|
@@ -9190,7 +9192,7 @@ const Ng = `<style type="text/css">
|
|
|
9190
9192
|
Q.style.display = "none";
|
|
9191
9193
|
return;
|
|
9192
9194
|
}
|
|
9193
|
-
const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth,
|
|
9195
|
+
const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth, z = g.clientHeight;
|
|
9194
9196
|
if (y !== nt.Mode.Panorama) {
|
|
9195
9197
|
for (const q in r)
|
|
9196
9198
|
for (const { $element: Q } of r[q].rules)
|
|
@@ -9200,7 +9202,7 @@ const Ng = `<style type="text/css">
|
|
|
9200
9202
|
for (const q in r)
|
|
9201
9203
|
for (const { $element: Q } of r[q].rules)
|
|
9202
9204
|
Q.style.display = q === P ? "block" : "none";
|
|
9203
|
-
const [
|
|
9205
|
+
const [M] = r[P].origins.slice().filter((q) => q.observers.indexOf(A) >= 0).sort((q, Q) => {
|
|
9204
9206
|
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));
|
|
9205
9207
|
return R - H;
|
|
9206
9208
|
});
|
|
@@ -9208,11 +9210,11 @@ const Ng = `<style type="text/css">
|
|
|
9208
9210
|
const [H, B] = q, G = R.querySelector(".PanoRulerPlugin-rule-line");
|
|
9209
9211
|
if (!G)
|
|
9210
9212
|
return;
|
|
9211
|
-
if (!
|
|
9213
|
+
if (!M) {
|
|
9212
9214
|
R.style.display = "none";
|
|
9213
9215
|
continue;
|
|
9214
9216
|
}
|
|
9215
|
-
if (H !==
|
|
9217
|
+
if (H !== M && B !== M) {
|
|
9216
9218
|
R.style.display = "none";
|
|
9217
9219
|
continue;
|
|
9218
9220
|
}
|
|
@@ -9237,13 +9239,13 @@ const Ng = `<style type="text/css">
|
|
|
9237
9239
|
R.style.display = "none";
|
|
9238
9240
|
continue;
|
|
9239
9241
|
}
|
|
9240
|
-
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 *
|
|
9242
|
+
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * z, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * z, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
|
|
9241
9243
|
let be = ue, Se = 50;
|
|
9242
9244
|
const me = c({ x: ~~we, y: ~~ge }, {
|
|
9243
9245
|
x: ~~ve,
|
|
9244
9246
|
y: ~~He
|
|
9245
|
-
}, I,
|
|
9246
|
-
if (me && me.length === 1 && (
|
|
9247
|
+
}, I, z);
|
|
9248
|
+
if (me && me.length === 1 && (M === H ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Se = be / ue * 50) : M === 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) {
|
|
9247
9249
|
const oe = {
|
|
9248
9250
|
x: (me[0].x + me[1].x) / 2,
|
|
9249
9251
|
y: (me[0].y + me[1].y) / 2
|
|
@@ -9372,7 +9374,7 @@ function jl(i) {
|
|
|
9372
9374
|
"style",
|
|
9373
9375
|
/*vars*/
|
|
9374
9376
|
i[3]
|
|
9375
|
-
),
|
|
9377
|
+
), T(t, "width", n);
|
|
9376
9378
|
},
|
|
9377
9379
|
m(o, s) {
|
|
9378
9380
|
V(o, t, s);
|
|
@@ -9391,7 +9393,7 @@ function jl(i) {
|
|
|
9391
9393
|
), (s & /*vars*/
|
|
9392
9394
|
8 || s & /*rulerItemProp, vars*/
|
|
9393
9395
|
9 && n !== (n = `${/*child*/
|
|
9394
|
-
o[6].width}px`)) &&
|
|
9396
|
+
o[6].width}px`)) && T(t, "width", n);
|
|
9395
9397
|
},
|
|
9396
9398
|
d(o) {
|
|
9397
9399
|
o && j(t);
|
|
@@ -9420,7 +9422,7 @@ function Jg(i) {
|
|
|
9420
9422
|
t = _("div"), g.c(), e = se(), n = _("div"), o = _("div"), r = Ve(s), w(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), ot(() => (
|
|
9421
9423
|
/*div0_elementresize_handler*/
|
|
9422
9424
|
i[4].call(o)
|
|
9423
|
-
)), w(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"),
|
|
9425
|
+
)), w(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), T(n, "left", l), w(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), T(t, "width", c), T(t, "left", d), T(t, "top", h), T(t, "transform", u), T(
|
|
9424
9426
|
t,
|
|
9425
9427
|
"display",
|
|
9426
9428
|
/*rulerItemProp*/
|
|
@@ -9440,16 +9442,16 @@ function Jg(i) {
|
|
|
9440
9442
|
1 && s !== (s = /*rulerItemProp*/
|
|
9441
9443
|
A[0].labelElement + "") && Re(r, s), b & /*rulerItemProp*/
|
|
9442
9444
|
1 && l !== (l = `${/*rulerItemProp*/
|
|
9443
|
-
A[0].labelOffset}%`) &&
|
|
9445
|
+
A[0].labelOffset}%`) && T(n, "left", l), b & /*rulerItemProp*/
|
|
9444
9446
|
1 && c !== (c = `${/*rulerItemProp*/
|
|
9445
|
-
A[0].width}px`) &&
|
|
9447
|
+
A[0].width}px`) && T(t, "width", c), b & /*rulerItemProp*/
|
|
9446
9448
|
1 && d !== (d = `${/*rulerItemProp*/
|
|
9447
|
-
A[0].left}px`) &&
|
|
9449
|
+
A[0].left}px`) && T(t, "left", d), b & /*rulerItemProp*/
|
|
9448
9450
|
1 && h !== (h = `${/*rulerItemProp*/
|
|
9449
|
-
A[0].top}px`) &&
|
|
9451
|
+
A[0].top}px`) && T(t, "top", h), b & /*rulerItemProp*/
|
|
9450
9452
|
1 && u !== (u = `rotate(${/*rulerItemProp*/
|
|
9451
|
-
A[0].rotateDeg}deg)`) &&
|
|
9452
|
-
5 &&
|
|
9453
|
+
A[0].rotateDeg}deg)`) && T(t, "transform", u), b & /*rulerItemProp, _visible*/
|
|
9454
|
+
5 && T(
|
|
9453
9455
|
t,
|
|
9454
9456
|
"display",
|
|
9455
9457
|
/*rulerItemProp*/
|
|
@@ -9581,24 +9583,24 @@ function ev(i, t, e) {
|
|
|
9581
9583
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
9582
9584
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
9583
9585
|
], I = [];
|
|
9584
|
-
for (let
|
|
9585
|
-
const
|
|
9586
|
-
|
|
9586
|
+
for (let z = 0; z < S.length; z++) {
|
|
9587
|
+
const M = Dh([P, k], [S[z][0], S[z][1]], !0);
|
|
9588
|
+
M && I.push(M);
|
|
9587
9589
|
}
|
|
9588
9590
|
return I.length === 0 ? !1 : I;
|
|
9589
9591
|
}, d = (P, k) => {
|
|
9590
|
-
const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a,
|
|
9592
|
+
const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a, z = (-S.y + 1) / 2 * l, M = k.clone().project(n.camera), F = (M.x + 1) / 2 * a, q = (-M.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - I, 2) + Math.pow(q - z, 2));
|
|
9591
9593
|
return {
|
|
9592
9594
|
startLeft: I,
|
|
9593
|
-
startTop:
|
|
9595
|
+
startTop: z,
|
|
9594
9596
|
endLeft: F,
|
|
9595
9597
|
endTop: q,
|
|
9596
9598
|
distance: Q
|
|
9597
9599
|
};
|
|
9598
9600
|
}, h = (P, k, S) => {
|
|
9599
|
-
const I = n.camera.position,
|
|
9601
|
+
const I = n.camera.position, z = n.camera.getWorldDirection(new $()), M = P.clone().sub(I).normalize().angleTo(z), F = k.clone().sub(I).normalize().angleTo(z), 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;
|
|
9600
9602
|
let ie = !0;
|
|
9601
|
-
S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1),
|
|
9603
|
+
S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1), M > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
|
|
9602
9604
|
let Ae = 50, we = Y;
|
|
9603
9605
|
const ge = c({ x: ~~H, y: ~~B }, { x: ~~G, y: ~~U });
|
|
9604
9606
|
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) {
|
|
@@ -9623,7 +9625,7 @@ function ev(i, t, e) {
|
|
|
9623
9625
|
return e(0, r = []);
|
|
9624
9626
|
if (n.currentMode !== nt.Mode.Panorama)
|
|
9625
9627
|
return e(0, r = []);
|
|
9626
|
-
const S = n.camera.position, I = n.camera.getWorldDirection(new $()),
|
|
9628
|
+
const S = n.camera.position, I = n.camera.getWorldDirection(new $()), z = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), M = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = z.concat(M).sort((Q, R) => {
|
|
9627
9629
|
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));
|
|
9628
9630
|
return H - B;
|
|
9629
9631
|
}), q = k.lines.map((Q) => {
|
|
@@ -10238,7 +10240,7 @@ function Iv(i) {
|
|
|
10238
10240
|
const P = y.clientWidth, k = y.clientHeight, S = P / 2, I = k / 2;
|
|
10239
10241
|
if (e.points.length < 2)
|
|
10240
10242
|
return;
|
|
10241
|
-
const [
|
|
10243
|
+
const [z, M] = e.points, F = z.position.clone().project(b.camera), q = M.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);
|
|
10242
10244
|
if ((() => !(Math.abs(F.z) > 1 || Math.abs(q.z) > 1 || !yr(F) && !yr(q) || !yr(Q) || B === 0))() === !1) {
|
|
10243
10245
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
10244
10246
|
return;
|
|
@@ -10255,10 +10257,10 @@ function Iv(i) {
|
|
|
10255
10257
|
o.removeEventListener("click", c), s.remove();
|
|
10256
10258
|
}
|
|
10257
10259
|
function g() {
|
|
10258
|
-
var
|
|
10260
|
+
var z, M, F;
|
|
10259
10261
|
if (e.points.length < 2)
|
|
10260
10262
|
return "";
|
|
10261
|
-
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (
|
|
10263
|
+
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (z = i.line.text) != null ? z : i.line.model.config.defaultText, S = (F = (M = i.line.model.config) == null ? void 0 : M.getDistanceText) == null ? void 0 : F.call(M, P), I = k != null ? k : S;
|
|
10262
10264
|
return I != null ? I : P.toFixed(2) + "m";
|
|
10263
10265
|
}
|
|
10264
10266
|
function A(b) {
|
|
@@ -11937,7 +11939,7 @@ function Wl(i) {
|
|
|
11937
11939
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
11938
11940
|
/*origin*/
|
|
11939
11941
|
i[3].destroying
|
|
11940
|
-
),
|
|
11942
|
+
), T(t, "top", e), T(t, "left", n), T(
|
|
11941
11943
|
t,
|
|
11942
11944
|
"visibility",
|
|
11943
11945
|
/*origin*/
|
|
@@ -11956,10 +11958,10 @@ function Wl(i) {
|
|
|
11956
11958
|
i[3].destroying
|
|
11957
11959
|
), l & /*origins*/
|
|
11958
11960
|
1 && e !== (e = `${/*origin*/
|
|
11959
|
-
i[3].top}%`) &&
|
|
11961
|
+
i[3].top}%`) && T(t, "top", e), l & /*origins*/
|
|
11960
11962
|
1 && n !== (n = `${/*origin*/
|
|
11961
|
-
i[3].left}%`) &&
|
|
11962
|
-
1 &&
|
|
11963
|
+
i[3].left}%`) && T(t, "left", n), l & /*origins*/
|
|
11964
|
+
1 && T(
|
|
11963
11965
|
t,
|
|
11964
11966
|
"visibility",
|
|
11965
11967
|
/*origin*/
|
|
@@ -12033,20 +12035,20 @@ function a0(i) {
|
|
|
12033
12035
|
let t, e, n, o, s, r, a, l, c, d, h, u, m, v, g;
|
|
12034
12036
|
return {
|
|
12035
12037
|
c() {
|
|
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"),
|
|
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"), T(e, "transform", "translate(" + /*contentWidth*/
|
|
12037
12039
|
i[7] / 2 * /*contentZoom*/
|
|
12038
12040
|
i[3] * 3 + "px, " + /*contentHeight*/
|
|
12039
12041
|
i[8] / 2 * /*upsideDown*/
|
|
12040
12042
|
(i[1] ? -1 : 1) * /*contentZoom*/
|
|
12041
12043
|
i[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
12042
|
-
i[3] + ")"), w(s, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"),
|
|
12044
|
+
i[3] + ")"), w(s, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), T(
|
|
12043
12045
|
s,
|
|
12044
12046
|
"width",
|
|
12045
12047
|
/*lineWidthZoom*/
|
|
12046
12048
|
i[4] + "rem"
|
|
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"),
|
|
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"), T(h, "transform", "scale(" + /*contentZoom*/
|
|
12048
12050
|
i[3] * 3 + ")"), w(t, "id", m = "PanoSpatialTagPlugin__" + /*id*/
|
|
12049
|
-
i[0]),
|
|
12051
|
+
i[0]), T(t, "height", 20 * /*lineHeightZoom*/
|
|
12050
12052
|
i[5] + "rem"), w(t, "class", "svelte-9m6drd"), K(t, "PanoSpatialTagPlugin__tag-x", !0), K(
|
|
12051
12053
|
t,
|
|
12052
12054
|
"PanoSpatialTagPlugin__tag-upside-down",
|
|
@@ -12076,14 +12078,14 @@ function a0(i) {
|
|
|
12076
12078
|
},
|
|
12077
12079
|
p(A, [b]) {
|
|
12078
12080
|
b & /*contentWidth, contentZoom, contentHeight, upsideDown*/
|
|
12079
|
-
394 &&
|
|
12081
|
+
394 && T(e, "transform", "translate(" + /*contentWidth*/
|
|
12080
12082
|
A[7] / 2 * /*contentZoom*/
|
|
12081
12083
|
A[3] * 3 + "px, " + /*contentHeight*/
|
|
12082
12084
|
A[8] / 2 * /*upsideDown*/
|
|
12083
12085
|
(A[1] ? -1 : 1) * /*contentZoom*/
|
|
12084
12086
|
A[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
12085
12087
|
A[3] + ")"), b & /*lineWidthZoom*/
|
|
12086
|
-
16 &&
|
|
12088
|
+
16 && T(
|
|
12087
12089
|
s,
|
|
12088
12090
|
"width",
|
|
12089
12091
|
/*lineWidthZoom*/
|
|
@@ -12091,11 +12093,11 @@ function a0(i) {
|
|
|
12091
12093
|
), b & /*content*/
|
|
12092
12094
|
4 && (u.innerHTML = /*content*/
|
|
12093
12095
|
A[2]), b & /*contentZoom*/
|
|
12094
|
-
8 &&
|
|
12096
|
+
8 && T(h, "transform", "scale(" + /*contentZoom*/
|
|
12095
12097
|
A[3] * 3 + ")"), b & /*id*/
|
|
12096
12098
|
1 && m !== (m = "PanoSpatialTagPlugin__" + /*id*/
|
|
12097
12099
|
A[0]) && w(t, "id", m), b & /*lineHeightZoom*/
|
|
12098
|
-
32 &&
|
|
12100
|
+
32 && T(t, "height", 20 * /*lineHeightZoom*/
|
|
12099
12101
|
A[5] + "rem"), b & /*upsideDown*/
|
|
12100
12102
|
2 && K(
|
|
12101
12103
|
t,
|
|
@@ -12132,21 +12134,21 @@ function l0(i, t, e) {
|
|
|
12132
12134
|
100
|
|
12133
12135
|
);
|
|
12134
12136
|
const P = (I) => {
|
|
12135
|
-
const
|
|
12136
|
-
let
|
|
12137
|
-
for (;
|
|
12138
|
-
const F =
|
|
12137
|
+
const z = Object.keys(u);
|
|
12138
|
+
let M = I.target;
|
|
12139
|
+
for (; M; ) {
|
|
12140
|
+
const F = M.getAttribute("class");
|
|
12139
12141
|
if (!F) {
|
|
12140
|
-
|
|
12142
|
+
M = M.parentNode;
|
|
12141
12143
|
continue;
|
|
12142
12144
|
}
|
|
12143
12145
|
if (F.includes("PanoSpatialTagPlugin__tag-content")) {
|
|
12144
|
-
|
|
12146
|
+
M = null;
|
|
12145
12147
|
break;
|
|
12146
12148
|
}
|
|
12147
|
-
|
|
12149
|
+
z.forEach((q) => {
|
|
12148
12150
|
F.includes(q) && u[q](n);
|
|
12149
|
-
}),
|
|
12151
|
+
}), M = M.parentNode;
|
|
12150
12152
|
}
|
|
12151
12153
|
};
|
|
12152
12154
|
St(() => {
|
|
@@ -12155,8 +12157,8 @@ function l0(i, t, e) {
|
|
|
12155
12157
|
const k = Bh.subscribe((I) => {
|
|
12156
12158
|
if (I === null)
|
|
12157
12159
|
return;
|
|
12158
|
-
const [
|
|
12159
|
-
n ===
|
|
12160
|
+
const [z, M] = I.split("-PanoSpatialTagPlugin-");
|
|
12161
|
+
n === z && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
|
|
12160
12162
|
() => {
|
|
12161
12163
|
y = void 0;
|
|
12162
12164
|
},
|
|
@@ -12438,10 +12440,10 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12438
12440
|
}, I = () => {
|
|
12439
12441
|
g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
|
|
12440
12442
|
g.timeoutId = void 0;
|
|
12441
|
-
const ue =
|
|
12443
|
+
const ue = z();
|
|
12442
12444
|
ue.length && (g.tags = g.tags.concat(ue), S());
|
|
12443
12445
|
}, o));
|
|
12444
|
-
},
|
|
12446
|
+
}, z = () => {
|
|
12445
12447
|
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());
|
|
12446
12448
|
at.multiplyMatrices(
|
|
12447
12449
|
me.projectionMatrix,
|
|
@@ -12540,7 +12542,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12540
12542
|
}
|
|
12541
12543
|
}
|
|
12542
12544
|
return Se;
|
|
12543
|
-
},
|
|
12545
|
+
}, M = (ue) => {
|
|
12544
12546
|
g.points = ue.points.map((be) => {
|
|
12545
12547
|
var Se, me;
|
|
12546
12548
|
return {
|
|
@@ -12585,7 +12587,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12585
12587
|
}), 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);
|
|
12586
12588
|
};
|
|
12587
12589
|
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), {
|
|
12588
|
-
load:
|
|
12590
|
+
load: M,
|
|
12589
12591
|
setIntersectObjects: F,
|
|
12590
12592
|
unfoldAll: R,
|
|
12591
12593
|
foldAll: H,
|
|
@@ -12655,17 +12657,17 @@ function A0(i) {
|
|
|
12655
12657
|
), s, r, a, l, c, d;
|
|
12656
12658
|
return {
|
|
12657
12659
|
c() {
|
|
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"),
|
|
12659
|
-
i[0].strokeLength + 26}px`), w(a, "class", "item-label-item__bar svelte-1wufped"),
|
|
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"), T(e, "top", `-${/*itemLabel*/
|
|
12661
|
+
i[0].strokeLength + 26}px`), w(a, "class", "item-label-item__bar svelte-1wufped"), T(a, "height", `${/*itemLabel*/
|
|
12660
12662
|
i[0].strokeLength}px`), w(t, "class", l = _e(it("item-label-item", { visible: (
|
|
12661
12663
|
/*itemLabel*/
|
|
12662
12664
|
i[0].visible
|
|
12663
|
-
) })) + " svelte-1wufped"),
|
|
12665
|
+
) })) + " svelte-1wufped"), T(
|
|
12664
12666
|
t,
|
|
12665
12667
|
"z-index",
|
|
12666
12668
|
/*itemLabel*/
|
|
12667
12669
|
i[0].zIndex
|
|
12668
|
-
),
|
|
12670
|
+
), T(
|
|
12669
12671
|
t,
|
|
12670
12672
|
"transform",
|
|
12671
12673
|
/*itemLabel*/
|
|
@@ -12688,21 +12690,21 @@ function A0(i) {
|
|
|
12688
12690
|
/*itemLabel*/
|
|
12689
12691
|
h[0].name
|
|
12690
12692
|
)) + "") && Re(s, o), u & /*itemLabel*/
|
|
12691
|
-
1 &&
|
|
12693
|
+
1 && T(e, "top", `-${/*itemLabel*/
|
|
12692
12694
|
h[0].strokeLength + 26}px`), u & /*itemLabel*/
|
|
12693
|
-
1 &&
|
|
12695
|
+
1 && T(a, "height", `${/*itemLabel*/
|
|
12694
12696
|
h[0].strokeLength}px`), u & /*itemLabel*/
|
|
12695
12697
|
1 && l !== (l = _e(it("item-label-item", { visible: (
|
|
12696
12698
|
/*itemLabel*/
|
|
12697
12699
|
h[0].visible
|
|
12698
12700
|
) })) + " svelte-1wufped") && w(t, "class", l), u & /*itemLabel*/
|
|
12699
|
-
1 &&
|
|
12701
|
+
1 && T(
|
|
12700
12702
|
t,
|
|
12701
12703
|
"z-index",
|
|
12702
12704
|
/*itemLabel*/
|
|
12703
12705
|
h[0].zIndex
|
|
12704
12706
|
), u & /*itemLabel*/
|
|
12705
|
-
1 &&
|
|
12707
|
+
1 && T(
|
|
12706
12708
|
t,
|
|
12707
12709
|
"transform",
|
|
12708
12710
|
/*itemLabel*/
|
|
@@ -12808,7 +12810,7 @@ function C0(i) {
|
|
|
12808
12810
|
w(t, "class", "item-labels-container svelte-f82itz"), ot(() => (
|
|
12809
12811
|
/*div_elementresize_handler*/
|
|
12810
12812
|
i[9].call(t)
|
|
12811
|
-
)),
|
|
12813
|
+
)), T(
|
|
12812
12814
|
t,
|
|
12813
12815
|
"opacity",
|
|
12814
12816
|
/*itemsVisible*/
|
|
@@ -12829,7 +12831,7 @@ function C0(i) {
|
|
|
12829
12831
|
c & /*renderItemLabels, hooks*/
|
|
12830
12832
|
3 && (r = /*renderItemLabels*/
|
|
12831
12833
|
l[1], de(), e = Lt(e, c, a, 1, l, r, n, t, fn, Zl, null, Jl), he()), c & /*itemsVisible*/
|
|
12832
|
-
16 &&
|
|
12834
|
+
16 && T(
|
|
12833
12835
|
t,
|
|
12834
12836
|
"opacity",
|
|
12835
12837
|
/*itemsVisible*/
|
|
@@ -12907,13 +12909,13 @@ function I0(i, t, e) {
|
|
|
12907
12909
|
oh(() => {
|
|
12908
12910
|
q();
|
|
12909
12911
|
});
|
|
12910
|
-
const
|
|
12911
|
-
e(4, g = !1),
|
|
12912
|
+
const z = () => {
|
|
12913
|
+
e(4, g = !1), M();
|
|
12912
12914
|
};
|
|
12913
12915
|
St(() => {
|
|
12914
|
-
e(1, h = a), d = a, I(), F(), s.on("cameraUpdate",
|
|
12916
|
+
e(1, h = a), d = a, I(), F(), s.on("cameraUpdate", z);
|
|
12915
12917
|
});
|
|
12916
|
-
const
|
|
12918
|
+
const M = Rh(
|
|
12917
12919
|
() => {
|
|
12918
12920
|
e(4, g = !0), I();
|
|
12919
12921
|
},
|
|
@@ -12926,7 +12928,7 @@ function I0(i, t, e) {
|
|
|
12926
12928
|
s.once("renderFrame", I);
|
|
12927
12929
|
};
|
|
12928
12930
|
un(() => {
|
|
12929
|
-
s.off("cameraUpdate",
|
|
12931
|
+
s.off("cameraUpdate", z), window.removeEventListener("resize", Q, !1);
|
|
12930
12932
|
});
|
|
12931
12933
|
function R() {
|
|
12932
12934
|
u = this.clientWidth, m = this.clientHeight, e(2, u), e(3, m);
|
|
@@ -13125,14 +13127,14 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13125
13127
|
for (let R = 1; R < k; R++)
|
|
13126
13128
|
I.push(1, R / k);
|
|
13127
13129
|
I.push(1, 1);
|
|
13128
|
-
const
|
|
13130
|
+
const z = [];
|
|
13129
13131
|
for (let R = 0; R < k; R++)
|
|
13130
|
-
|
|
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(
|
|
13132
|
-
const
|
|
13132
|
+
z.push(R, R + 1, k * 2 - R, R, k * 2 - R, k * 2 + 1 - R);
|
|
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(z), 1));
|
|
13134
|
+
const M = new E.MeshBasicMaterial({
|
|
13133
13135
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
13134
13136
|
side: E.DoubleSide
|
|
13135
|
-
}), F = new E.Mesh(P,
|
|
13137
|
+
}), F = new E.Mesh(P, M);
|
|
13136
13138
|
F.renderOrder = 1, F.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
|
|
13137
13139
|
const q = [b[1], b[2], b[3], b[0]], Q = n.create3DDomContainer(q);
|
|
13138
13140
|
if (Q != null && Q.container) {
|
|
@@ -13154,17 +13156,17 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13154
13156
|
I.onreadystatechange = () => {
|
|
13155
13157
|
if (I.readyState === 4)
|
|
13156
13158
|
if (I.status === 200) {
|
|
13157
|
-
const
|
|
13158
|
-
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src =
|
|
13159
|
-
const
|
|
13160
|
-
|
|
13159
|
+
const z = window.URL || window.webkitURL;
|
|
13160
|
+
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = z.createObjectURL(I.response);
|
|
13161
|
+
const M = new E.VideoTexture(P);
|
|
13162
|
+
M.minFilter = E.LinearFilter, M.magFilter = E.LinearFilter, M.format = E.RGBFormat, k(Object.assign(M, { videoSource: b }));
|
|
13161
13163
|
} else
|
|
13162
13164
|
S(new Error("Video download Error: " + I.status));
|
|
13163
|
-
}, I.onerror = (
|
|
13165
|
+
}, I.onerror = (z) => S(z), I.open("GET", b), I.responseType = "blob", I.send();
|
|
13164
13166
|
});
|
|
13165
13167
|
}, u = (b, y) => X(void 0, null, function* () {
|
|
13166
13168
|
const { video_src: P, video_poster_src: k, points: S } = b;
|
|
13167
|
-
e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x:
|
|
13169
|
+
e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x: z, y: M, z: F }) => new E.Vector3(z, M, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
|
|
13168
13170
|
}), m = (b) => {
|
|
13169
13171
|
if (!e.enabled)
|
|
13170
13172
|
return;
|
|
@@ -13178,14 +13180,14 @@ const KI = (i, { videoElement: t }) => {
|
|
|
13178
13180
|
return;
|
|
13179
13181
|
const b = i.camera.position;
|
|
13180
13182
|
if (o.forEach((y, P) => {
|
|
13181
|
-
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S),
|
|
13182
|
-
|
|
13183
|
+
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S), z = i.model.intersectRaycaster(I)[0], M = k.distanceTo(b), F = 0.01;
|
|
13184
|
+
z && z.distance + F < M ? y.hide() : y.show();
|
|
13183
13185
|
}), !r()) {
|
|
13184
13186
|
const y = e.rectPoints.find((P) => {
|
|
13185
13187
|
const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
|
|
13186
13188
|
return P.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
|
|
13187
|
-
const I = S.distanceTo(b),
|
|
13188
|
-
return !(
|
|
13189
|
+
const I = S.distanceTo(b), z = new E.Raycaster(b, S.clone().sub(b).normalize()), M = i.model.intersectRaycaster(z)[0], F = 0.01;
|
|
13190
|
+
return !(M && M.distance + F < I);
|
|
13189
13191
|
}).length >= 2;
|
|
13190
13192
|
});
|
|
13191
13193
|
(!y || y.length === 0) && s(!0);
|
|
@@ -13295,20 +13297,20 @@ function L0(i) {
|
|
|
13295
13297
|
t = _("div"), e = _("div"), m.c(), s = se(), r = _("div"), w(e, "class", o = _e(it("item-label-item__text-wrap", {
|
|
13296
13298
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
13297
13299
|
i[0].render == "function"
|
|
13298
|
-
})) + " svelte-gduhqw"),
|
|
13300
|
+
})) + " svelte-gduhqw"), T(e, "bottom", `${/*itemLabel*/
|
|
13299
13301
|
i[0].strokeLength}px`), w(r, "class", a = _e(it("item-label-item__bar", { anchor: (
|
|
13300
13302
|
/*anchorEnabled*/
|
|
13301
13303
|
i[1]
|
|
13302
|
-
) })) + " svelte-gduhqw"),
|
|
13304
|
+
) })) + " svelte-gduhqw"), T(r, "height", `${/*itemLabel*/
|
|
13303
13305
|
i[0].strokeLength}px`), w(t, "class", l = _e(it("item-label-item", { fold: (
|
|
13304
13306
|
/*itemLabel*/
|
|
13305
13307
|
i[0].isFold
|
|
13306
|
-
) })) + " svelte-gduhqw"),
|
|
13308
|
+
) })) + " svelte-gduhqw"), T(
|
|
13307
13309
|
t,
|
|
13308
13310
|
"z-index",
|
|
13309
13311
|
/*itemLabel*/
|
|
13310
13312
|
i[0].zIndex
|
|
13311
|
-
),
|
|
13313
|
+
), T(
|
|
13312
13314
|
t,
|
|
13313
13315
|
"transform",
|
|
13314
13316
|
/*itemLabel*/
|
|
@@ -13329,25 +13331,25 @@ function L0(i) {
|
|
|
13329
13331
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
13330
13332
|
v[0].render == "function"
|
|
13331
13333
|
})) + " svelte-gduhqw") && w(e, "class", o), g & /*itemLabel*/
|
|
13332
|
-
1 &&
|
|
13334
|
+
1 && T(e, "bottom", `${/*itemLabel*/
|
|
13333
13335
|
v[0].strokeLength}px`), g & /*anchorEnabled*/
|
|
13334
13336
|
2 && a !== (a = _e(it("item-label-item__bar", { anchor: (
|
|
13335
13337
|
/*anchorEnabled*/
|
|
13336
13338
|
v[1]
|
|
13337
13339
|
) })) + " svelte-gduhqw") && w(r, "class", a), g & /*itemLabel*/
|
|
13338
|
-
1 &&
|
|
13340
|
+
1 && T(r, "height", `${/*itemLabel*/
|
|
13339
13341
|
v[0].strokeLength}px`), g & /*itemLabel*/
|
|
13340
13342
|
1 && l !== (l = _e(it("item-label-item", { fold: (
|
|
13341
13343
|
/*itemLabel*/
|
|
13342
13344
|
v[0].isFold
|
|
13343
13345
|
) })) + " svelte-gduhqw") && w(t, "class", l), g & /*itemLabel*/
|
|
13344
|
-
1 &&
|
|
13346
|
+
1 && T(
|
|
13345
13347
|
t,
|
|
13346
13348
|
"z-index",
|
|
13347
13349
|
/*itemLabel*/
|
|
13348
13350
|
v[0].zIndex
|
|
13349
13351
|
), g & /*itemLabel*/
|
|
13350
|
-
1 &&
|
|
13352
|
+
1 && T(
|
|
13351
13353
|
t,
|
|
13352
13354
|
"transform",
|
|
13353
13355
|
/*itemLabel*/
|
|
@@ -13543,7 +13545,7 @@ function B0(i) {
|
|
|
13543
13545
|
w(t, "class", "item-labels-container svelte-f82itz"), ot(() => (
|
|
13544
13546
|
/*div_elementresize_handler*/
|
|
13545
13547
|
i[12].call(t)
|
|
13546
|
-
)),
|
|
13548
|
+
)), T(
|
|
13547
13549
|
t,
|
|
13548
13550
|
"opacity",
|
|
13549
13551
|
/*itemsVisible*/
|
|
@@ -13564,7 +13566,7 @@ function B0(i) {
|
|
|
13564
13566
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
13565
13567
|
71 && (r = /*renderItemLabels*/
|
|
13566
13568
|
l[1], de(), e = Lt(e, c, a, 1, l, r, n, t, fn, oc, null, nc), he()), c[0] & /*itemsVisible*/
|
|
13567
|
-
32 &&
|
|
13569
|
+
32 && T(
|
|
13568
13570
|
t,
|
|
13569
13571
|
"opacity",
|
|
13570
13572
|
/*itemsVisible*/
|
|
@@ -13631,16 +13633,16 @@ function Q0(i, t, e) {
|
|
|
13631
13633
|
}, S = () => {
|
|
13632
13634
|
g = [], e(1, h = k(o, h));
|
|
13633
13635
|
}, I = () => {
|
|
13634
|
-
e(5, A = !1),
|
|
13635
|
-
},
|
|
13636
|
+
e(5, A = !1), z();
|
|
13637
|
+
}, z = Rh(
|
|
13636
13638
|
() => {
|
|
13637
13639
|
e(5, A = !0), S();
|
|
13638
13640
|
},
|
|
13639
13641
|
300
|
|
13640
|
-
),
|
|
13642
|
+
), M = () => {
|
|
13641
13643
|
o.once("renderFrame", S);
|
|
13642
13644
|
}, F = () => {
|
|
13643
|
-
window.addEventListener("resize",
|
|
13645
|
+
window.addEventListener("resize", M, !1);
|
|
13644
13646
|
}, q = () => {
|
|
13645
13647
|
d !== r && (e(1, h = tc(r)), d = r, S());
|
|
13646
13648
|
}, Q = (B, G) => {
|
|
@@ -13685,7 +13687,7 @@ function Q0(i, t, e) {
|
|
|
13685
13687
|
}), St(() => {
|
|
13686
13688
|
e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate", I);
|
|
13687
13689
|
}), un(() => {
|
|
13688
|
-
o.off("cameraUpdate", I), window.removeEventListener("resize",
|
|
13690
|
+
o.off("cameraUpdate", I), window.removeEventListener("resize", M, !1);
|
|
13689
13691
|
});
|
|
13690
13692
|
function H() {
|
|
13691
13693
|
m = this.clientWidth, v = this.clientHeight, e(3, m), e(4, v);
|
|
@@ -14056,17 +14058,17 @@ class eA extends N0 {
|
|
|
14056
14058
|
if (this.five.currentMode !== "Panorama")
|
|
14057
14059
|
return this.hideAllLabels();
|
|
14058
14060
|
const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
|
|
14059
|
-
if (c.forEach((I,
|
|
14061
|
+
if (c.forEach((I, z) => {
|
|
14060
14062
|
if (I.visible) {
|
|
14061
|
-
const
|
|
14062
|
-
I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel:
|
|
14063
|
+
const M = 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 && M > this.MinVisibledistance && M <= this.MaxVisibledistance;
|
|
14064
|
+
I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel: M, left: H, top: B, index: z }) : I.transform = "translate(-50%, -50%)";
|
|
14063
14065
|
} else
|
|
14064
14066
|
I.inSight = !1;
|
|
14065
14067
|
}), l.length > 1) {
|
|
14066
14068
|
let I = 0;
|
|
14067
|
-
l.sort((
|
|
14068
|
-
for (let
|
|
14069
|
-
const { index:
|
|
14069
|
+
l.sort((z, M) => M.disFromCameraToLabel - z.disFromCameraToLabel);
|
|
14070
|
+
for (let z = 1; z < l.length; z++) {
|
|
14071
|
+
const { index: M, left: F, top: q } = l[z - 1], { index: Q, left: R, top: H } = l[z], B = this.container.children[M], G = this.container.children[Q];
|
|
14070
14072
|
if (!B || !G)
|
|
14071
14073
|
return;
|
|
14072
14074
|
const U = {
|
|
@@ -14080,7 +14082,7 @@ class eA extends N0 {
|
|
|
14080
14082
|
width: (y = (b = (A = G.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
|
|
14081
14083
|
height: (S = (k = (P = G.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
|
|
14082
14084
|
};
|
|
14083
|
-
q0(U, Y) && (I++, c[
|
|
14085
|
+
q0(U, Y) && (I++, c[M].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${I * 100 - 50}%)`);
|
|
14084
14086
|
}
|
|
14085
14087
|
}
|
|
14086
14088
|
this.labelItems = c, this.render();
|
|
@@ -14251,15 +14253,17 @@ function yA(i) {
|
|
|
14251
14253
|
return { geometry: new E.BufferGeometry(), maxU: 0 };
|
|
14252
14254
|
const r = new E.CurvePath();
|
|
14253
14255
|
s.forEach((I) => {
|
|
14254
|
-
const
|
|
14255
|
-
|
|
14256
|
+
const z = wA(I);
|
|
14257
|
+
z && r.add(z);
|
|
14256
14258
|
});
|
|
14257
|
-
const a = Math.ceil(r.getLength() * 100)
|
|
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);
|
|
14258
14262
|
let P = 0, k = 0;
|
|
14259
14263
|
for (let I = 0; I < l.length; I++) {
|
|
14260
|
-
const [
|
|
14264
|
+
const [z, M] = d[I][0], F = l[I], { x: q, y: Q, z: R } = F, H = new $(q + z * o, Q + 0.05, R + M * o);
|
|
14261
14265
|
b[I * 6 + 0] = H.x, b[I * 6 + 1] = H.y, b[I * 6 + 2] = H.z;
|
|
14262
|
-
const B = new $(q -
|
|
14266
|
+
const B = new $(q - z * o, Q + 0.05, R - M * o);
|
|
14263
14267
|
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;
|
|
14264
14268
|
const G = P / t / n;
|
|
14265
14269
|
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) {
|
|
@@ -14270,7 +14274,7 @@ function yA(i) {
|
|
|
14270
14274
|
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);
|
|
14271
14275
|
}
|
|
14272
14276
|
const S = new E.BufferGeometry();
|
|
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 };
|
|
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, curvePath: r, curvePoints: l };
|
|
14274
14278
|
}
|
|
14275
14279
|
function wA(i) {
|
|
14276
14280
|
if (CA(i)) {
|
|
@@ -15884,12 +15888,12 @@ function dc(i) {
|
|
|
15884
15888
|
/*isVertical*/
|
|
15885
15889
|
i[9]
|
|
15886
15890
|
), K(t, "horizontal", !/*isVertical*/
|
|
15887
|
-
i[9]),
|
|
15891
|
+
i[9]), T(
|
|
15888
15892
|
t,
|
|
15889
15893
|
"width",
|
|
15890
15894
|
/*width*/
|
|
15891
15895
|
i[8] + "px"
|
|
15892
|
-
),
|
|
15896
|
+
), T(
|
|
15893
15897
|
t,
|
|
15894
15898
|
"height",
|
|
15895
15899
|
/*height*/
|
|
@@ -15934,13 +15938,13 @@ function dc(i) {
|
|
|
15934
15938
|
), d & /*isVertical*/
|
|
15935
15939
|
512 && K(t, "horizontal", !/*isVertical*/
|
|
15936
15940
|
c[9]), d & /*width*/
|
|
15937
|
-
256 &&
|
|
15941
|
+
256 && T(
|
|
15938
15942
|
t,
|
|
15939
15943
|
"width",
|
|
15940
15944
|
/*width*/
|
|
15941
15945
|
c[8] + "px"
|
|
15942
15946
|
), d & /*height*/
|
|
15943
|
-
128 &&
|
|
15947
|
+
128 && T(
|
|
15944
15948
|
t,
|
|
15945
15949
|
"height",
|
|
15946
15950
|
/*height*/
|
|
@@ -16120,13 +16124,13 @@ function uc(i) {
|
|
|
16120
16124
|
i[9] ? "transform: translateX(-50%); top: 50%" : ""}
|
|
16121
16125
|
${/*center*/
|
|
16122
16126
|
i[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
|
|
16123
|
-
`),
|
|
16127
|
+
`), T(t, "width", wt(
|
|
16124
16128
|
/*width*/
|
|
16125
16129
|
i[3]
|
|
16126
|
-
)),
|
|
16130
|
+
)), T(t, "height", wt(
|
|
16127
16131
|
/*height*/
|
|
16128
16132
|
i[4]
|
|
16129
|
-
)),
|
|
16133
|
+
)), T(
|
|
16130
16134
|
t,
|
|
16131
16135
|
"z-index",
|
|
16132
16136
|
/*zIndex*/
|
|
@@ -16165,15 +16169,15 @@ function uc(i) {
|
|
|
16165
16169
|
const l = a & /*left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16166
16170
|
8160;
|
|
16167
16171
|
(l || a & /*width, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16168
|
-
8168) &&
|
|
16172
|
+
8168) && T(t, "width", wt(
|
|
16169
16173
|
/*width*/
|
|
16170
16174
|
i[3]
|
|
16171
16175
|
)), (l || a & /*height, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16172
|
-
8176) &&
|
|
16176
|
+
8176) && T(t, "height", wt(
|
|
16173
16177
|
/*height*/
|
|
16174
16178
|
i[4]
|
|
16175
16179
|
)), (l || a & /*zIndex, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
16176
|
-
16352) &&
|
|
16180
|
+
16352) && T(
|
|
16177
16181
|
t,
|
|
16178
16182
|
"z-index",
|
|
16179
16183
|
/*zIndex*/
|
|
@@ -16425,11 +16429,11 @@ function lb(i, t, e) {
|
|
|
16425
16429
|
const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
|
|
16426
16430
|
let u, m, v = [];
|
|
16427
16431
|
function g(S) {
|
|
16428
|
-
const I = [],
|
|
16429
|
-
return S.slice().replace(
|
|
16432
|
+
const I = [], z = 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"));
|
|
16433
|
+
return S.slice().replace(z, (M) => `${c}${d}${M}${c}`).split(c).forEach((M) => M.startsWith(d) ? I.push({
|
|
16430
16434
|
id: dt(),
|
|
16431
|
-
content:
|
|
16432
|
-
}) : I.push(...
|
|
16435
|
+
content: M.slice(d.length)
|
|
16436
|
+
}) : I.push(...M.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), I;
|
|
16433
16437
|
}
|
|
16434
16438
|
function A() {
|
|
16435
16439
|
if (!m)
|
|
@@ -16446,9 +16450,9 @@ function lb(i, t, e) {
|
|
|
16446
16450
|
}
|
|
16447
16451
|
function y(S) {
|
|
16448
16452
|
const I = function() {
|
|
16449
|
-
const
|
|
16450
|
-
if (
|
|
16451
|
-
return
|
|
16453
|
+
const z = jA((M) => S[M].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
|
|
16454
|
+
if (z > 0)
|
|
16455
|
+
return z;
|
|
16452
16456
|
}();
|
|
16453
16457
|
m = Ra({
|
|
16454
16458
|
targets: S.slice(0, I).filter(di),
|
|
@@ -16526,7 +16530,7 @@ function pc(i) {
|
|
|
16526
16530
|
}), {
|
|
16527
16531
|
c() {
|
|
16528
16532
|
t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), w(o, "class", s = "arrow " + /*direction*/
|
|
16529
|
-
i[0] + " svelte-1ogmlqq"),
|
|
16533
|
+
i[0] + " svelte-1ogmlqq"), T(o, "background-image", "url(" + NA + ")"), w(t, "class", "arrow-wrapper svelte-1ogmlqq");
|
|
16530
16534
|
},
|
|
16531
16535
|
m(h, u) {
|
|
16532
16536
|
V(h, t, u), ee(e, t, null), O(t, n), O(t, o), l = !0, c || (d = Pe(
|
|
@@ -16664,7 +16668,7 @@ function gc(i) {
|
|
|
16664
16668
|
}
|
|
16665
16669
|
}), {
|
|
16666
16670
|
c() {
|
|
16667
|
-
t = _("div"), ne(e.$$.fragment), w(t, "class", "text svelte-1fuzm7v"),
|
|
16671
|
+
t = _("div"), ne(e.$$.fragment), w(t, "class", "text svelte-1fuzm7v"), T(
|
|
16668
16672
|
t,
|
|
16669
16673
|
"transform",
|
|
16670
16674
|
/*transform*/
|
|
@@ -16683,7 +16687,7 @@ function gc(i) {
|
|
|
16683
16687
|
o[1]), s & /*foldTextDelay*/
|
|
16684
16688
|
32 && (r.outDelay = /*foldTextDelay*/
|
|
16685
16689
|
o[5]), e.$set(r), s & /*transform*/
|
|
16686
|
-
128 &&
|
|
16690
|
+
128 && T(
|
|
16687
16691
|
t,
|
|
16688
16692
|
"transform",
|
|
16689
16693
|
/*transform*/
|
|
@@ -17171,14 +17175,14 @@ function Eb(i) {
|
|
|
17171
17175
|
}
|
|
17172
17176
|
return e = a(i), n = r[e] = s[e](i), {
|
|
17173
17177
|
c() {
|
|
17174
|
-
t = _("div"), n.c(), w(t, "class", "text svelte-i9wdo4"),
|
|
17178
|
+
t = _("div"), n.c(), w(t, "class", "text svelte-i9wdo4"), T(t, "max-width", typeof /*maxWidth*/
|
|
17175
17179
|
i[1] == "number" ? Ot(
|
|
17176
17180
|
/*maxWidth*/
|
|
17177
17181
|
i[1]
|
|
17178
17182
|
) : (
|
|
17179
17183
|
/*maxWidth*/
|
|
17180
17184
|
i[1]
|
|
17181
|
-
)),
|
|
17185
|
+
)), T(
|
|
17182
17186
|
t,
|
|
17183
17187
|
"-webkit-line-clamp",
|
|
17184
17188
|
/*maxLine*/
|
|
@@ -17193,7 +17197,7 @@ function Eb(i) {
|
|
|
17193
17197
|
e = a(l), e === d ? r[e].p(l, c) : (de(), L(r[d], 1, 1, () => {
|
|
17194
17198
|
r[d] = null;
|
|
17195
17199
|
}), 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*/
|
|
17196
|
-
2 &&
|
|
17200
|
+
2 && T(t, "max-width", typeof /*maxWidth*/
|
|
17197
17201
|
l[1] == "number" ? Ot(
|
|
17198
17202
|
/*maxWidth*/
|
|
17199
17203
|
l[1]
|
|
@@ -17201,7 +17205,7 @@ function Eb(i) {
|
|
|
17201
17205
|
/*maxWidth*/
|
|
17202
17206
|
l[1]
|
|
17203
17207
|
)), c & /*maxLine*/
|
|
17204
|
-
1 &&
|
|
17208
|
+
1 && T(
|
|
17205
17209
|
t,
|
|
17206
17210
|
"-webkit-line-clamp",
|
|
17207
17211
|
/*maxLine*/
|
|
@@ -17283,7 +17287,7 @@ function wc(i) {
|
|
|
17283
17287
|
);
|
|
17284
17288
|
return {
|
|
17285
17289
|
c() {
|
|
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"),
|
|
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"), T(
|
|
17287
17291
|
o,
|
|
17288
17292
|
"transform",
|
|
17289
17293
|
/*unfolded*/
|
|
@@ -17320,7 +17324,7 @@ function wc(i) {
|
|
|
17320
17324
|
1 && x(d, 1)) : (d = Cc(m), d.c(), x(d, 1), d.m(s, null)) : d && (de(), L(d, 1, 1, () => {
|
|
17321
17325
|
d = null;
|
|
17322
17326
|
}), he()), v & /*unfolded*/
|
|
17323
|
-
2 &&
|
|
17327
|
+
2 && T(
|
|
17324
17328
|
o,
|
|
17325
17329
|
"transform",
|
|
17326
17330
|
/*unfolded*/
|
|
@@ -17915,7 +17919,7 @@ function Kb(i) {
|
|
|
17915
17919
|
let t;
|
|
17916
17920
|
return {
|
|
17917
17921
|
c() {
|
|
17918
|
-
t = _("div"), w(t, "class", "sc-carousel-progress__indicator svelte-i7yfid"),
|
|
17922
|
+
t = _("div"), w(t, "class", "sc-carousel-progress__indicator svelte-i7yfid"), T(
|
|
17919
17923
|
t,
|
|
17920
17924
|
"width",
|
|
17921
17925
|
/*width*/
|
|
@@ -17927,7 +17931,7 @@ function Kb(i) {
|
|
|
17927
17931
|
},
|
|
17928
17932
|
p(e, [n]) {
|
|
17929
17933
|
n & /*width*/
|
|
17930
|
-
1 &&
|
|
17934
|
+
1 && T(
|
|
17931
17935
|
t,
|
|
17932
17936
|
"width",
|
|
17933
17937
|
/*width*/
|
|
@@ -18539,8 +18543,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18539
18543
|
}
|
|
18540
18544
|
};
|
|
18541
18545
|
(function(i, t) {
|
|
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]",
|
|
18543
|
-
ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[
|
|
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]", z = "[object Float32Array]", M = "[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 = {};
|
|
18547
|
+
ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[z] = ie[M] = 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;
|
|
18544
18548
|
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;
|
|
18545
18549
|
function ue(p, C) {
|
|
18546
18550
|
return p.set(C[0], C[1]), p;
|
|
@@ -18549,24 +18553,24 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18549
18553
|
return p.add(C), p;
|
|
18550
18554
|
}
|
|
18551
18555
|
function Se(p, C) {
|
|
18552
|
-
for (var
|
|
18556
|
+
for (var D = -1, N = p ? p.length : 0; ++D < N && C(p[D], D, p) !== !1; )
|
|
18553
18557
|
;
|
|
18554
18558
|
return p;
|
|
18555
18559
|
}
|
|
18556
18560
|
function me(p, C) {
|
|
18557
|
-
for (var
|
|
18558
|
-
p[Ce +
|
|
18561
|
+
for (var D = -1, N = C.length, Ce = p.length; ++D < N; )
|
|
18562
|
+
p[Ce + D] = C[D];
|
|
18559
18563
|
return p;
|
|
18560
18564
|
}
|
|
18561
|
-
function Ye(p, C,
|
|
18565
|
+
function Ye(p, C, D, N) {
|
|
18562
18566
|
var Ce = -1, pe = p ? p.length : 0;
|
|
18563
|
-
for (N && pe && (
|
|
18564
|
-
|
|
18565
|
-
return
|
|
18567
|
+
for (N && pe && (D = p[++Ce]); ++Ce < pe; )
|
|
18568
|
+
D = C(D, p[Ce], Ce, p);
|
|
18569
|
+
return D;
|
|
18566
18570
|
}
|
|
18567
18571
|
function at(p, C) {
|
|
18568
|
-
for (var
|
|
18569
|
-
N[
|
|
18572
|
+
for (var D = -1, N = Array(p); ++D < p; )
|
|
18573
|
+
N[D] = C(D);
|
|
18570
18574
|
return N;
|
|
18571
18575
|
}
|
|
18572
18576
|
function ke(p, C) {
|
|
@@ -18577,26 +18581,26 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18577
18581
|
if (p != null && typeof p.toString != "function")
|
|
18578
18582
|
try {
|
|
18579
18583
|
C = !!(p + "");
|
|
18580
|
-
} catch (
|
|
18584
|
+
} catch (D) {
|
|
18581
18585
|
}
|
|
18582
18586
|
return C;
|
|
18583
18587
|
}
|
|
18584
18588
|
function oe(p) {
|
|
18585
|
-
var C = -1,
|
|
18589
|
+
var C = -1, D = Array(p.size);
|
|
18586
18590
|
return p.forEach(function(N, Ce) {
|
|
18587
|
-
|
|
18588
|
-
}),
|
|
18591
|
+
D[++C] = [Ce, N];
|
|
18592
|
+
}), D;
|
|
18589
18593
|
}
|
|
18590
18594
|
function Ee(p, C) {
|
|
18591
|
-
return function(
|
|
18592
|
-
return p(C(
|
|
18595
|
+
return function(D) {
|
|
18596
|
+
return p(C(D));
|
|
18593
18597
|
};
|
|
18594
18598
|
}
|
|
18595
18599
|
function Be(p) {
|
|
18596
|
-
var C = -1,
|
|
18600
|
+
var C = -1, D = Array(p.size);
|
|
18597
18601
|
return p.forEach(function(N) {
|
|
18598
|
-
|
|
18599
|
-
}),
|
|
18602
|
+
D[++C] = N;
|
|
18603
|
+
}), D;
|
|
18600
18604
|
}
|
|
18601
18605
|
var ht = Array.prototype, Ht = Function.prototype, gt = Object.prototype, vt = ge["__core-js_shared__"], je = function() {
|
|
18602
18606
|
var p = /[^.]+$/.exec(vt && vt.keys && vt.keys.IE_PROTO || "");
|
|
@@ -18605,8 +18609,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18605
18609
|
"^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18606
18610
|
), 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;
|
|
18607
18611
|
function Gt(p) {
|
|
18608
|
-
var C = -1,
|
|
18609
|
-
for (this.clear(); ++C <
|
|
18612
|
+
var C = -1, D = p ? p.length : 0;
|
|
18613
|
+
for (this.clear(); ++C < D; ) {
|
|
18610
18614
|
var N = p[C];
|
|
18611
18615
|
this.set(N[0], N[1]);
|
|
18612
18616
|
}
|
|
@@ -18620,8 +18624,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18620
18624
|
function Ss(p) {
|
|
18621
18625
|
var C = this.__data__;
|
|
18622
18626
|
if (gn) {
|
|
18623
|
-
var
|
|
18624
|
-
return
|
|
18627
|
+
var D = C[p];
|
|
18628
|
+
return D === n ? void 0 : D;
|
|
18625
18629
|
}
|
|
18626
18630
|
return Fe.call(C, p) ? C[p] : void 0;
|
|
18627
18631
|
}
|
|
@@ -18630,13 +18634,13 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18630
18634
|
return gn ? C[p] !== void 0 : Fe.call(C, p);
|
|
18631
18635
|
}
|
|
18632
18636
|
function Di(p, C) {
|
|
18633
|
-
var
|
|
18634
|
-
return
|
|
18637
|
+
var D = this.__data__;
|
|
18638
|
+
return D[p] = gn && C === void 0 ? n : C, this;
|
|
18635
18639
|
}
|
|
18636
18640
|
Gt.prototype.clear = Ds, Gt.prototype.delete = Ms, Gt.prototype.get = Ss, Gt.prototype.has = uo, Gt.prototype.set = Di;
|
|
18637
18641
|
function Ue(p) {
|
|
18638
|
-
var C = -1,
|
|
18639
|
-
for (this.clear(); ++C <
|
|
18642
|
+
var C = -1, D = p ? p.length : 0;
|
|
18643
|
+
for (this.clear(); ++C < D; ) {
|
|
18640
18644
|
var N = p[C];
|
|
18641
18645
|
this.set(N[0], N[1]);
|
|
18642
18646
|
}
|
|
@@ -18645,27 +18649,27 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18645
18649
|
this.__data__ = [];
|
|
18646
18650
|
}
|
|
18647
18651
|
function Ts(p) {
|
|
18648
|
-
var C = this.__data__,
|
|
18649
|
-
if (
|
|
18652
|
+
var C = this.__data__, D = Bn(C, p);
|
|
18653
|
+
if (D < 0)
|
|
18650
18654
|
return !1;
|
|
18651
18655
|
var N = C.length - 1;
|
|
18652
|
-
return
|
|
18656
|
+
return D == N ? C.pop() : xs.call(C, D, 1), !0;
|
|
18653
18657
|
}
|
|
18654
18658
|
function zs(p) {
|
|
18655
|
-
var C = this.__data__,
|
|
18656
|
-
return
|
|
18659
|
+
var C = this.__data__, D = Bn(C, p);
|
|
18660
|
+
return D < 0 ? void 0 : C[D][1];
|
|
18657
18661
|
}
|
|
18658
18662
|
function js(p) {
|
|
18659
18663
|
return Bn(this.__data__, p) > -1;
|
|
18660
18664
|
}
|
|
18661
18665
|
function _s(p, C) {
|
|
18662
|
-
var
|
|
18663
|
-
return N < 0 ?
|
|
18666
|
+
var D = this.__data__, N = Bn(D, p);
|
|
18667
|
+
return N < 0 ? D.push([p, C]) : D[N][1] = C, this;
|
|
18664
18668
|
}
|
|
18665
18669
|
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
18666
18670
|
function $e(p) {
|
|
18667
|
-
var C = -1,
|
|
18668
|
-
for (this.clear(); ++C <
|
|
18671
|
+
var C = -1, D = p ? p.length : 0;
|
|
18672
|
+
for (this.clear(); ++C < D; ) {
|
|
18669
18673
|
var N = p[C];
|
|
18670
18674
|
this.set(N[0], N[1]);
|
|
18671
18675
|
}
|
|
@@ -18706,36 +18710,36 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18706
18710
|
return this.__data__.has(p);
|
|
18707
18711
|
}
|
|
18708
18712
|
function Fs(p, C) {
|
|
18709
|
-
var
|
|
18710
|
-
if (
|
|
18711
|
-
var N =
|
|
18713
|
+
var D = this.__data__;
|
|
18714
|
+
if (D instanceof Ue) {
|
|
18715
|
+
var N = D.__data__;
|
|
18712
18716
|
if (!pn || N.length < e - 1)
|
|
18713
18717
|
return N.push([p, C]), this;
|
|
18714
|
-
|
|
18718
|
+
D = this.__data__ = new $e(N);
|
|
18715
18719
|
}
|
|
18716
|
-
return
|
|
18720
|
+
return D.set(p, C), this;
|
|
18717
18721
|
}
|
|
18718
18722
|
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
18719
18723
|
function On(p, C) {
|
|
18720
|
-
var
|
|
18724
|
+
var D = Ti(p) || Qn(p) ? at(p.length, String) : [], N = D.length, Ce = !!N;
|
|
18721
18725
|
for (var pe in p)
|
|
18722
|
-
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" || sr(pe, N))) &&
|
|
18723
|
-
return
|
|
18726
|
+
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" || sr(pe, N))) && D.push(pe);
|
|
18727
|
+
return D;
|
|
18724
18728
|
}
|
|
18725
|
-
function fo(p, C,
|
|
18729
|
+
function fo(p, C, D) {
|
|
18726
18730
|
var N = p[C];
|
|
18727
|
-
(!(Fe.call(p, C) && Ao(N,
|
|
18731
|
+
(!(Fe.call(p, C) && Ao(N, D)) || D === void 0 && !(C in p)) && (p[C] = D);
|
|
18728
18732
|
}
|
|
18729
18733
|
function Bn(p, C) {
|
|
18730
|
-
for (var
|
|
18731
|
-
if (Ao(p[
|
|
18732
|
-
return
|
|
18734
|
+
for (var D = p.length; D--; )
|
|
18735
|
+
if (Ao(p[D][0], C))
|
|
18736
|
+
return D;
|
|
18733
18737
|
return -1;
|
|
18734
18738
|
}
|
|
18735
18739
|
function zt(p, C) {
|
|
18736
18740
|
return p && Li(C, ji(C), p);
|
|
18737
18741
|
}
|
|
18738
|
-
function Mi(p, C,
|
|
18742
|
+
function Mi(p, C, D, N, Ce, pe, xe) {
|
|
18739
18743
|
var De;
|
|
18740
18744
|
if (N && (De = pe ? N(p, Ce, pe, xe) : N(p)), De !== void 0)
|
|
18741
18745
|
return De;
|
|
@@ -18765,17 +18769,17 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18765
18769
|
if (mt)
|
|
18766
18770
|
return mt;
|
|
18767
18771
|
if (xe.set(p, De), !Ge)
|
|
18768
|
-
var Ne =
|
|
18772
|
+
var Ne = D ? nr(p) : ji(p);
|
|
18769
18773
|
return Se(Ne || p, function(tt, qe) {
|
|
18770
|
-
Ne && (qe = tt, tt = p[qe]), fo(De, qe, Mi(tt, C,
|
|
18774
|
+
Ne && (qe = tt, tt = p[qe]), fo(De, qe, Mi(tt, C, D, N, qe, p, xe));
|
|
18771
18775
|
}), De;
|
|
18772
18776
|
}
|
|
18773
18777
|
function Xs(p) {
|
|
18774
18778
|
return _t(p) ? Tn(p) : {};
|
|
18775
18779
|
}
|
|
18776
|
-
function Ys(p, C,
|
|
18780
|
+
function Ys(p, C, D) {
|
|
18777
18781
|
var N = C(p);
|
|
18778
|
-
return Ti(p) ? N : me(N,
|
|
18782
|
+
return Ti(p) ? N : me(N, D(p));
|
|
18779
18783
|
}
|
|
18780
18784
|
function Us(p) {
|
|
18781
18785
|
return It.call(p);
|
|
@@ -18790,56 +18794,56 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18790
18794
|
if (!go(p))
|
|
18791
18795
|
return co(p);
|
|
18792
18796
|
var C = [];
|
|
18793
|
-
for (var
|
|
18794
|
-
Fe.call(p,
|
|
18797
|
+
for (var D in Object(p))
|
|
18798
|
+
Fe.call(p, D) && D != "constructor" && C.push(D);
|
|
18795
18799
|
return C;
|
|
18796
18800
|
}
|
|
18797
18801
|
function Rn(p, C) {
|
|
18798
18802
|
if (C)
|
|
18799
18803
|
return p.slice();
|
|
18800
|
-
var
|
|
18801
|
-
return p.copy(
|
|
18804
|
+
var D = new p.constructor(p.length);
|
|
18805
|
+
return p.copy(D), D;
|
|
18802
18806
|
}
|
|
18803
18807
|
function Si(p) {
|
|
18804
18808
|
var C = new p.constructor(p.byteLength);
|
|
18805
18809
|
return new mn(C).set(new mn(p)), C;
|
|
18806
18810
|
}
|
|
18807
18811
|
function An(p, C) {
|
|
18808
|
-
var
|
|
18809
|
-
return new p.constructor(
|
|
18812
|
+
var D = C ? Si(p.buffer) : p.buffer;
|
|
18813
|
+
return new p.constructor(D, p.byteOffset, p.byteLength);
|
|
18810
18814
|
}
|
|
18811
|
-
function mo(p, C,
|
|
18812
|
-
var N = C ?
|
|
18815
|
+
function mo(p, C, D) {
|
|
18816
|
+
var N = C ? D(oe(p), !0) : oe(p);
|
|
18813
18817
|
return Ye(N, ue, new p.constructor());
|
|
18814
18818
|
}
|
|
18815
18819
|
function po(p) {
|
|
18816
18820
|
var C = new p.constructor(p.source, Y.exec(p));
|
|
18817
18821
|
return C.lastIndex = p.lastIndex, C;
|
|
18818
18822
|
}
|
|
18819
|
-
function Zs(p, C,
|
|
18820
|
-
var N = C ?
|
|
18823
|
+
function Zs(p, C, D) {
|
|
18824
|
+
var N = C ? D(Be(p), !0) : Be(p);
|
|
18821
18825
|
return Ye(N, be, new p.constructor());
|
|
18822
18826
|
}
|
|
18823
18827
|
function Ks(p) {
|
|
18824
18828
|
return ho ? Object(ho.call(p)) : {};
|
|
18825
18829
|
}
|
|
18826
18830
|
function $s(p, C) {
|
|
18827
|
-
var
|
|
18828
|
-
return new p.constructor(
|
|
18831
|
+
var D = C ? Si(p.buffer) : p.buffer;
|
|
18832
|
+
return new p.constructor(D, p.byteOffset, p.length);
|
|
18829
18833
|
}
|
|
18830
18834
|
function er(p, C) {
|
|
18831
|
-
var
|
|
18832
|
-
for (C || (C = Array(N)); ++
|
|
18833
|
-
C[
|
|
18835
|
+
var D = -1, N = p.length;
|
|
18836
|
+
for (C || (C = Array(N)); ++D < N; )
|
|
18837
|
+
C[D] = p[D];
|
|
18834
18838
|
return C;
|
|
18835
18839
|
}
|
|
18836
|
-
function Li(p, C,
|
|
18837
|
-
|
|
18840
|
+
function Li(p, C, D, N) {
|
|
18841
|
+
D || (D = {});
|
|
18838
18842
|
for (var Ce = -1, pe = C.length; ++Ce < pe; ) {
|
|
18839
|
-
var xe = C[Ce], De = N ? N(
|
|
18840
|
-
fo(
|
|
18843
|
+
var xe = C[Ce], De = N ? N(D[xe], p[xe], xe, D, p) : void 0;
|
|
18844
|
+
fo(D, xe, De === void 0 ? p[xe] : De);
|
|
18841
18845
|
}
|
|
18842
|
-
return
|
|
18846
|
+
return D;
|
|
18843
18847
|
}
|
|
18844
18848
|
function tr(p, C) {
|
|
18845
18849
|
return Li(p, Wt(p), C);
|
|
@@ -18848,16 +18852,16 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18848
18852
|
return Ys(p, ji, Wt);
|
|
18849
18853
|
}
|
|
18850
18854
|
function bn(p, C) {
|
|
18851
|
-
var
|
|
18852
|
-
return rr(C) ?
|
|
18855
|
+
var D = p.__data__;
|
|
18856
|
+
return rr(C) ? D[typeof C == "string" ? "string" : "hash"] : D.map;
|
|
18853
18857
|
}
|
|
18854
18858
|
function kt(p, C) {
|
|
18855
|
-
var
|
|
18856
|
-
return qs(
|
|
18859
|
+
var D = ke(p, C);
|
|
18860
|
+
return qs(D) ? D : void 0;
|
|
18857
18861
|
}
|
|
18858
18862
|
var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
|
|
18859
18863
|
(_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) {
|
|
18860
|
-
var C = It.call(p),
|
|
18864
|
+
var C = It.call(p), D = C == v ? p.constructor : void 0, N = D ? lt(D) : void 0;
|
|
18861
18865
|
if (N)
|
|
18862
18866
|
switch (N) {
|
|
18863
18867
|
case Ii:
|
|
@@ -18874,13 +18878,13 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18874
18878
|
return C;
|
|
18875
18879
|
});
|
|
18876
18880
|
function ir(p) {
|
|
18877
|
-
var C = p.length,
|
|
18878
|
-
return C && typeof p[0] == "string" && Fe.call(p, "index") && (
|
|
18881
|
+
var C = p.length, D = p.constructor(C);
|
|
18882
|
+
return C && typeof p[0] == "string" && Fe.call(p, "index") && (D.index = p.index, D.input = p.input), D;
|
|
18879
18883
|
}
|
|
18880
18884
|
function jt(p) {
|
|
18881
18885
|
return typeof p.constructor == "function" && !go(p) ? Xs(ut(p)) : {};
|
|
18882
18886
|
}
|
|
18883
|
-
function or(p, C,
|
|
18887
|
+
function or(p, C, D, N) {
|
|
18884
18888
|
var Ce = p.constructor;
|
|
18885
18889
|
switch (C) {
|
|
18886
18890
|
case S:
|
|
@@ -18890,8 +18894,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18890
18894
|
return new Ce(+p);
|
|
18891
18895
|
case I:
|
|
18892
18896
|
return An(p, N);
|
|
18893
|
-
case
|
|
18894
|
-
case
|
|
18897
|
+
case z:
|
|
18898
|
+
case M:
|
|
18895
18899
|
case F:
|
|
18896
18900
|
case q:
|
|
18897
18901
|
case Q:
|
|
@@ -18901,14 +18905,14 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18901
18905
|
case G:
|
|
18902
18906
|
return $s(p, N);
|
|
18903
18907
|
case u:
|
|
18904
|
-
return mo(p, N,
|
|
18908
|
+
return mo(p, N, D);
|
|
18905
18909
|
case m:
|
|
18906
18910
|
case y:
|
|
18907
18911
|
return new Ce(p);
|
|
18908
18912
|
case A:
|
|
18909
18913
|
return po(p);
|
|
18910
18914
|
case b:
|
|
18911
|
-
return Zs(p, N,
|
|
18915
|
+
return Zs(p, N, D);
|
|
18912
18916
|
case P:
|
|
18913
18917
|
return Ks(p);
|
|
18914
18918
|
}
|
|
@@ -18924,8 +18928,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18924
18928
|
return !!je && je in p;
|
|
18925
18929
|
}
|
|
18926
18930
|
function go(p) {
|
|
18927
|
-
var C = p && p.constructor,
|
|
18928
|
-
return p ===
|
|
18931
|
+
var C = p && p.constructor, D = typeof C == "function" && C.prototype || gt;
|
|
18932
|
+
return p === D;
|
|
18929
18933
|
}
|
|
18930
18934
|
function lt(p) {
|
|
18931
18935
|
if (p != null) {
|
|
@@ -18992,8 +18996,8 @@ var as = {}, My = {
|
|
|
18992
18996
|
}
|
|
18993
18997
|
};
|
|
18994
18998
|
(function(i, t) {
|
|
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]",
|
|
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[
|
|
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]", z = "[object String]", M = "[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 = {};
|
|
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[z] = ve[q] = !1;
|
|
18997
19001
|
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() {
|
|
18998
19002
|
try {
|
|
18999
19003
|
return at && at.binding && at.binding("util");
|
|
@@ -19001,26 +19005,26 @@ var as = {}, My = {
|
|
|
19001
19005
|
}
|
|
19002
19006
|
}(), Ke = ke && ke.isTypedArray;
|
|
19003
19007
|
function oe(p, C) {
|
|
19004
|
-
for (var
|
|
19005
|
-
var xe = p[
|
|
19006
|
-
C(xe,
|
|
19008
|
+
for (var D = -1, N = p == null ? 0 : p.length, Ce = 0, pe = []; ++D < N; ) {
|
|
19009
|
+
var xe = p[D];
|
|
19010
|
+
C(xe, D, p) && (pe[Ce++] = xe);
|
|
19007
19011
|
}
|
|
19008
19012
|
return pe;
|
|
19009
19013
|
}
|
|
19010
19014
|
function Ee(p, C) {
|
|
19011
|
-
for (var
|
|
19012
|
-
p[Ce +
|
|
19015
|
+
for (var D = -1, N = C.length, Ce = p.length; ++D < N; )
|
|
19016
|
+
p[Ce + D] = C[D];
|
|
19013
19017
|
return p;
|
|
19014
19018
|
}
|
|
19015
19019
|
function Be(p, C) {
|
|
19016
|
-
for (var
|
|
19017
|
-
if (C(p[
|
|
19020
|
+
for (var D = -1, N = p == null ? 0 : p.length; ++D < N; )
|
|
19021
|
+
if (C(p[D], D, p))
|
|
19018
19022
|
return !0;
|
|
19019
19023
|
return !1;
|
|
19020
19024
|
}
|
|
19021
19025
|
function ht(p, C) {
|
|
19022
|
-
for (var
|
|
19023
|
-
N[
|
|
19026
|
+
for (var D = -1, N = Array(p); ++D < p; )
|
|
19027
|
+
N[D] = C(D);
|
|
19024
19028
|
return N;
|
|
19025
19029
|
}
|
|
19026
19030
|
function Ht(p) {
|
|
@@ -19035,21 +19039,21 @@ var as = {}, My = {
|
|
|
19035
19039
|
return p == null ? void 0 : p[C];
|
|
19036
19040
|
}
|
|
19037
19041
|
function je(p) {
|
|
19038
|
-
var C = -1,
|
|
19042
|
+
var C = -1, D = Array(p.size);
|
|
19039
19043
|
return p.forEach(function(N, Ce) {
|
|
19040
|
-
|
|
19041
|
-
}),
|
|
19044
|
+
D[++C] = [Ce, N];
|
|
19045
|
+
}), D;
|
|
19042
19046
|
}
|
|
19043
19047
|
function Oe(p, C) {
|
|
19044
|
-
return function(
|
|
19045
|
-
return p(C(
|
|
19048
|
+
return function(D) {
|
|
19049
|
+
return p(C(D));
|
|
19046
19050
|
};
|
|
19047
19051
|
}
|
|
19048
19052
|
function Fe(p) {
|
|
19049
|
-
var C = -1,
|
|
19053
|
+
var C = -1, D = Array(p.size);
|
|
19050
19054
|
return p.forEach(function(N) {
|
|
19051
|
-
|
|
19052
|
-
}),
|
|
19055
|
+
D[++C] = N;
|
|
19056
|
+
}), D;
|
|
19053
19057
|
}
|
|
19054
19058
|
var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
|
|
19055
19059
|
var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
|
|
@@ -19058,8 +19062,8 @@ var as = {}, My = {
|
|
|
19058
19062
|
"^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
19059
19063
|
), 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;
|
|
19060
19064
|
function Ue(p) {
|
|
19061
|
-
var C = -1,
|
|
19062
|
-
for (this.clear(); ++C <
|
|
19065
|
+
var C = -1, D = p == null ? 0 : p.length;
|
|
19066
|
+
for (this.clear(); ++C < D; ) {
|
|
19063
19067
|
var N = p[C];
|
|
19064
19068
|
this.set(N[0], N[1]);
|
|
19065
19069
|
}
|
|
@@ -19074,8 +19078,8 @@ var as = {}, My = {
|
|
|
19074
19078
|
function zs(p) {
|
|
19075
19079
|
var C = this.__data__;
|
|
19076
19080
|
if (Kt) {
|
|
19077
|
-
var
|
|
19078
|
-
return
|
|
19081
|
+
var D = C[p];
|
|
19082
|
+
return D === n ? void 0 : D;
|
|
19079
19083
|
}
|
|
19080
19084
|
return ut.call(C, p) ? C[p] : void 0;
|
|
19081
19085
|
}
|
|
@@ -19084,13 +19088,13 @@ var as = {}, My = {
|
|
|
19084
19088
|
return Kt ? C[p] !== void 0 : ut.call(C, p);
|
|
19085
19089
|
}
|
|
19086
19090
|
function _s(p, C) {
|
|
19087
|
-
var
|
|
19088
|
-
return this.size += this.has(p) ? 0 : 1,
|
|
19091
|
+
var D = this.__data__;
|
|
19092
|
+
return this.size += this.has(p) ? 0 : 1, D[p] = Kt && C === void 0 ? n : C, this;
|
|
19089
19093
|
}
|
|
19090
19094
|
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
19091
19095
|
function $e(p) {
|
|
19092
|
-
var C = -1,
|
|
19093
|
-
for (this.clear(); ++C <
|
|
19096
|
+
var C = -1, D = p == null ? 0 : p.length;
|
|
19097
|
+
for (this.clear(); ++C < D; ) {
|
|
19094
19098
|
var N = p[C];
|
|
19095
19099
|
this.set(N[0], N[1]);
|
|
19096
19100
|
}
|
|
@@ -19099,27 +19103,27 @@ var as = {}, My = {
|
|
|
19099
19103
|
this.__data__ = [], this.size = 0;
|
|
19100
19104
|
}
|
|
19101
19105
|
function Os(p) {
|
|
19102
|
-
var C = this.__data__,
|
|
19103
|
-
if (
|
|
19106
|
+
var C = this.__data__, D = Rn(C, p);
|
|
19107
|
+
if (D < 0)
|
|
19104
19108
|
return !1;
|
|
19105
19109
|
var N = C.length - 1;
|
|
19106
|
-
return
|
|
19110
|
+
return D == N ? C.pop() : pn.call(C, D, 1), --this.size, !0;
|
|
19107
19111
|
}
|
|
19108
19112
|
function Bs(p) {
|
|
19109
|
-
var C = this.__data__,
|
|
19110
|
-
return
|
|
19113
|
+
var C = this.__data__, D = Rn(C, p);
|
|
19114
|
+
return D < 0 ? void 0 : C[D][1];
|
|
19111
19115
|
}
|
|
19112
19116
|
function Rs(p) {
|
|
19113
19117
|
return Rn(this.__data__, p) > -1;
|
|
19114
19118
|
}
|
|
19115
19119
|
function Qs(p, C) {
|
|
19116
|
-
var
|
|
19117
|
-
return N < 0 ? (++this.size,
|
|
19120
|
+
var D = this.__data__, N = Rn(D, p);
|
|
19121
|
+
return N < 0 ? (++this.size, D.push([p, C])) : D[N][1] = C, this;
|
|
19118
19122
|
}
|
|
19119
19123
|
$e.prototype.clear = Vs, $e.prototype.delete = Os, $e.prototype.get = Bs, $e.prototype.has = Rs, $e.prototype.set = Qs;
|
|
19120
19124
|
function ft(p) {
|
|
19121
|
-
var C = -1,
|
|
19122
|
-
for (this.clear(); ++C <
|
|
19125
|
+
var C = -1, D = p == null ? 0 : p.length;
|
|
19126
|
+
for (this.clear(); ++C < D; ) {
|
|
19123
19127
|
var N = p[C];
|
|
19124
19128
|
this.set(N[0], N[1]);
|
|
19125
19129
|
}
|
|
@@ -19142,13 +19146,13 @@ var as = {}, My = {
|
|
|
19142
19146
|
return kt(this, p).has(p);
|
|
19143
19147
|
}
|
|
19144
19148
|
function Fs(p, C) {
|
|
19145
|
-
var
|
|
19146
|
-
return
|
|
19149
|
+
var D = kt(this, p), N = D.size;
|
|
19150
|
+
return D.set(p, C), this.size += D.size == N ? 0 : 1, this;
|
|
19147
19151
|
}
|
|
19148
19152
|
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
19149
19153
|
function On(p) {
|
|
19150
|
-
var C = -1,
|
|
19151
|
-
for (this.__data__ = new ft(); ++C <
|
|
19154
|
+
var C = -1, D = p == null ? 0 : p.length;
|
|
19155
|
+
for (this.__data__ = new ft(); ++C < D; )
|
|
19152
19156
|
this.add(p[C]);
|
|
19153
19157
|
}
|
|
19154
19158
|
function fo(p) {
|
|
@@ -19166,8 +19170,8 @@ var as = {}, My = {
|
|
|
19166
19170
|
this.__data__ = new $e(), this.size = 0;
|
|
19167
19171
|
}
|
|
19168
19172
|
function Xs(p) {
|
|
19169
|
-
var C = this.__data__,
|
|
19170
|
-
return this.size = C.size,
|
|
19173
|
+
var C = this.__data__, D = C.delete(p);
|
|
19174
|
+
return this.size = C.size, D;
|
|
19171
19175
|
}
|
|
19172
19176
|
function Ys(p) {
|
|
19173
19177
|
return this.__data__.get(p);
|
|
@@ -19176,18 +19180,18 @@ var as = {}, My = {
|
|
|
19176
19180
|
return this.__data__.has(p);
|
|
19177
19181
|
}
|
|
19178
19182
|
function qs(p, C) {
|
|
19179
|
-
var
|
|
19180
|
-
if (
|
|
19181
|
-
var N =
|
|
19183
|
+
var D = this.__data__;
|
|
19184
|
+
if (D instanceof $e) {
|
|
19185
|
+
var N = D.__data__;
|
|
19182
19186
|
if (!vn || N.length < e - 1)
|
|
19183
|
-
return N.push([p, C]), this.size = ++
|
|
19184
|
-
|
|
19187
|
+
return N.push([p, C]), this.size = ++D.size, this;
|
|
19188
|
+
D = this.__data__ = new ft(N);
|
|
19185
19189
|
}
|
|
19186
|
-
return
|
|
19190
|
+
return D.set(p, C), this.size = D.size, this;
|
|
19187
19191
|
}
|
|
19188
19192
|
zt.prototype.clear = Mi, zt.prototype.delete = Xs, zt.prototype.get = Ys, zt.prototype.has = Us, zt.prototype.set = qs;
|
|
19189
19193
|
function Js(p, C) {
|
|
19190
|
-
var
|
|
19194
|
+
var D = Qn(p), N = !D && Ao(p), Ce = !D && !N && Hn(p), pe = !D && !N && !Ce && wo(p), xe = D || N || Ce || pe, De = xe ? ht(p.length, String) : [], Ge = De.length;
|
|
19191
19195
|
for (var Le in p)
|
|
19192
19196
|
(C || ut.call(p, Le)) && !(xe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
19193
19197
|
(Le == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -19197,14 +19201,14 @@ var as = {}, My = {
|
|
|
19197
19201
|
return De;
|
|
19198
19202
|
}
|
|
19199
19203
|
function Rn(p, C) {
|
|
19200
|
-
for (var
|
|
19201
|
-
if (vo(p[
|
|
19202
|
-
return
|
|
19204
|
+
for (var D = p.length; D--; )
|
|
19205
|
+
if (vo(p[D][0], C))
|
|
19206
|
+
return D;
|
|
19203
19207
|
return -1;
|
|
19204
19208
|
}
|
|
19205
|
-
function Si(p, C,
|
|
19209
|
+
function Si(p, C, D) {
|
|
19206
19210
|
var N = C(p);
|
|
19207
|
-
return Qn(p) ? N : Ee(N,
|
|
19211
|
+
return Qn(p) ? N : Ee(N, D(p));
|
|
19208
19212
|
}
|
|
19209
19213
|
function An(p) {
|
|
19210
19214
|
return p == null ? p === void 0 ? F : b : Et && Et in Object(p) ? Nt(p) : go(p);
|
|
@@ -19212,10 +19216,10 @@ var as = {}, My = {
|
|
|
19212
19216
|
function mo(p) {
|
|
19213
19217
|
return _t(p) && An(p) == a;
|
|
19214
19218
|
}
|
|
19215
|
-
function po(p, C,
|
|
19216
|
-
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C : Zs(p, C,
|
|
19219
|
+
function po(p, C, D, N, Ce) {
|
|
19220
|
+
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C : Zs(p, C, D, N, po, Ce);
|
|
19217
19221
|
}
|
|
19218
|
-
function Zs(p, C,
|
|
19222
|
+
function Zs(p, C, D, N, Ce, pe) {
|
|
19219
19223
|
var xe = Qn(p), De = Qn(C), Ge = xe ? l : jt(p), Le = De ? l : jt(C);
|
|
19220
19224
|
Ge = Ge == a ? y : Ge, Le = Le == a ? y : Le;
|
|
19221
19225
|
var et = Ge == y, mt = Le == y, Ne = Ge == Le;
|
|
@@ -19225,15 +19229,15 @@ var as = {}, My = {
|
|
|
19225
19229
|
xe = !0, et = !1;
|
|
19226
19230
|
}
|
|
19227
19231
|
if (Ne && !et)
|
|
19228
|
-
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C,
|
|
19229
|
-
if (!(
|
|
19232
|
+
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C, D, N, Ce, pe) : tr(p, C, Ge, D, N, Ce, pe);
|
|
19233
|
+
if (!(D & o)) {
|
|
19230
19234
|
var tt = et && ut.call(p, "__wrapped__"), qe = mt && ut.call(C, "__wrapped__");
|
|
19231
19235
|
if (tt || qe) {
|
|
19232
19236
|
var $t = tt ? p.value() : p, Ft = qe ? C.value() : C;
|
|
19233
|
-
return pe || (pe = new zt()), Ce($t, Ft,
|
|
19237
|
+
return pe || (pe = new zt()), Ce($t, Ft, D, N, pe);
|
|
19234
19238
|
}
|
|
19235
19239
|
}
|
|
19236
|
-
return Ne ? (pe || (pe = new zt()), nr(p, C,
|
|
19240
|
+
return Ne ? (pe || (pe = new zt()), nr(p, C, D, N, Ce, pe)) : !1;
|
|
19237
19241
|
}
|
|
19238
19242
|
function Ks(p) {
|
|
19239
19243
|
if (!yo(p) || rr(p))
|
|
@@ -19248,18 +19252,18 @@ var as = {}, My = {
|
|
|
19248
19252
|
if (!ar(p))
|
|
19249
19253
|
return gn(p);
|
|
19250
19254
|
var C = [];
|
|
19251
|
-
for (var
|
|
19252
|
-
ut.call(p,
|
|
19255
|
+
for (var D in Object(p))
|
|
19256
|
+
ut.call(p, D) && D != "constructor" && C.push(D);
|
|
19253
19257
|
return C;
|
|
19254
19258
|
}
|
|
19255
|
-
function Li(p, C,
|
|
19256
|
-
var xe =
|
|
19259
|
+
function Li(p, C, D, N, Ce, pe) {
|
|
19260
|
+
var xe = D & o, De = p.length, Ge = C.length;
|
|
19257
19261
|
if (De != Ge && !(xe && Ge > De))
|
|
19258
19262
|
return !1;
|
|
19259
19263
|
var Le = pe.get(p);
|
|
19260
19264
|
if (Le && pe.get(C))
|
|
19261
19265
|
return Le == C;
|
|
19262
|
-
var et = -1, mt = !0, Ne =
|
|
19266
|
+
var et = -1, mt = !0, Ne = D & s ? new On() : void 0;
|
|
19263
19267
|
for (pe.set(p, C), pe.set(C, p); ++et < De; ) {
|
|
19264
19268
|
var tt = p[et], qe = C[et];
|
|
19265
19269
|
if (N)
|
|
@@ -19272,21 +19276,21 @@ var as = {}, My = {
|
|
|
19272
19276
|
}
|
|
19273
19277
|
if (Ne) {
|
|
19274
19278
|
if (!Be(C, function(Ft, yn) {
|
|
19275
|
-
if (!gt(Ne, yn) && (tt === Ft || Ce(tt, Ft,
|
|
19279
|
+
if (!gt(Ne, yn) && (tt === Ft || Ce(tt, Ft, D, N, pe)))
|
|
19276
19280
|
return Ne.push(yn);
|
|
19277
19281
|
})) {
|
|
19278
19282
|
mt = !1;
|
|
19279
19283
|
break;
|
|
19280
19284
|
}
|
|
19281
|
-
} else if (!(tt === qe || Ce(tt, qe,
|
|
19285
|
+
} else if (!(tt === qe || Ce(tt, qe, D, N, pe))) {
|
|
19282
19286
|
mt = !1;
|
|
19283
19287
|
break;
|
|
19284
19288
|
}
|
|
19285
19289
|
}
|
|
19286
19290
|
return pe.delete(p), pe.delete(C), mt;
|
|
19287
19291
|
}
|
|
19288
|
-
function tr(p, C,
|
|
19289
|
-
switch (
|
|
19292
|
+
function tr(p, C, D, N, Ce, pe, xe) {
|
|
19293
|
+
switch (D) {
|
|
19290
19294
|
case R:
|
|
19291
19295
|
if (p.byteLength != C.byteLength || p.byteOffset != C.byteOffset)
|
|
19292
19296
|
return !1;
|
|
@@ -19300,7 +19304,7 @@ var as = {}, My = {
|
|
|
19300
19304
|
case u:
|
|
19301
19305
|
return p.name == C.name && p.message == C.message;
|
|
19302
19306
|
case S:
|
|
19303
|
-
case
|
|
19307
|
+
case z:
|
|
19304
19308
|
return p == C + "";
|
|
19305
19309
|
case g:
|
|
19306
19310
|
var De = je;
|
|
@@ -19314,14 +19318,14 @@ var as = {}, My = {
|
|
|
19314
19318
|
N |= s, xe.set(p, C);
|
|
19315
19319
|
var et = Li(De(p), De(C), N, Ce, pe, xe);
|
|
19316
19320
|
return xe.delete(p), et;
|
|
19317
|
-
case
|
|
19321
|
+
case M:
|
|
19318
19322
|
if (Di)
|
|
19319
19323
|
return Di.call(p) == Di.call(C);
|
|
19320
19324
|
}
|
|
19321
19325
|
return !1;
|
|
19322
19326
|
}
|
|
19323
|
-
function nr(p, C,
|
|
19324
|
-
var xe =
|
|
19327
|
+
function nr(p, C, D, N, Ce, pe) {
|
|
19328
|
+
var xe = D & o, De = bn(p), Ge = De.length, Le = bn(C), et = Le.length;
|
|
19325
19329
|
if (Ge != et && !xe)
|
|
19326
19330
|
return !1;
|
|
19327
19331
|
for (var mt = Ge; mt--; ) {
|
|
@@ -19339,7 +19343,7 @@ var as = {}, My = {
|
|
|
19339
19343
|
var Ft = p[Ne], yn = C[Ne];
|
|
19340
19344
|
if (N)
|
|
19341
19345
|
var Va = xe ? N(yn, Ft, Ne, C, p, pe) : N(Ft, yn, Ne, p, C, pe);
|
|
19342
|
-
if (!(Va === void 0 ? Ft === yn || Ce(Ft, yn,
|
|
19346
|
+
if (!(Va === void 0 ? Ft === yn || Ce(Ft, yn, D, N, pe) : Va)) {
|
|
19343
19347
|
qe = !1;
|
|
19344
19348
|
break;
|
|
19345
19349
|
}
|
|
@@ -19355,22 +19359,22 @@ var as = {}, My = {
|
|
|
19355
19359
|
return Si(p, ji, ir);
|
|
19356
19360
|
}
|
|
19357
19361
|
function kt(p, C) {
|
|
19358
|
-
var
|
|
19359
|
-
return sr(C) ?
|
|
19362
|
+
var D = p.__data__;
|
|
19363
|
+
return sr(C) ? D[typeof C == "string" ? "string" : "hash"] : D.map;
|
|
19360
19364
|
}
|
|
19361
19365
|
function Wt(p, C) {
|
|
19362
|
-
var
|
|
19363
|
-
return Ks(
|
|
19366
|
+
var D = vt(p, C);
|
|
19367
|
+
return Ks(D) ? D : void 0;
|
|
19364
19368
|
}
|
|
19365
19369
|
function Nt(p) {
|
|
19366
|
-
var C = ut.call(p, Et),
|
|
19370
|
+
var C = ut.call(p, Et), D = p[Et];
|
|
19367
19371
|
try {
|
|
19368
19372
|
p[Et] = void 0;
|
|
19369
19373
|
var N = !0;
|
|
19370
19374
|
} catch (pe) {
|
|
19371
19375
|
}
|
|
19372
19376
|
var Ce = zn.call(p);
|
|
19373
|
-
return N && (C ? p[Et] =
|
|
19377
|
+
return N && (C ? p[Et] = D : delete p[Et]), Ce;
|
|
19374
19378
|
}
|
|
19375
19379
|
var ir = Vn ? function(p) {
|
|
19376
19380
|
return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
|
|
@@ -19378,7 +19382,7 @@ var as = {}, My = {
|
|
|
19378
19382
|
}));
|
|
19379
19383
|
} : cr, jt = An;
|
|
19380
19384
|
(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) {
|
|
19381
|
-
var C = An(p),
|
|
19385
|
+
var C = An(p), D = C == y ? p.constructor : void 0, N = D ? lt(D) : "";
|
|
19382
19386
|
if (N)
|
|
19383
19387
|
switch (N) {
|
|
19384
19388
|
case ho:
|
|
@@ -19405,8 +19409,8 @@ var as = {}, My = {
|
|
|
19405
19409
|
return !!Tn && Tn in p;
|
|
19406
19410
|
}
|
|
19407
19411
|
function ar(p) {
|
|
19408
|
-
var C = p && p.constructor,
|
|
19409
|
-
return p ===
|
|
19412
|
+
var C = p && p.constructor, D = typeof C == "function" && C.prototype || Tt;
|
|
19413
|
+
return p === D;
|
|
19410
19414
|
}
|
|
19411
19415
|
function go(p) {
|
|
19412
19416
|
return zn.call(p);
|
|
@@ -20272,13 +20276,13 @@ function Zy(i) {
|
|
|
20272
20276
|
);
|
|
20273
20277
|
return {
|
|
20274
20278
|
c() {
|
|
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"),
|
|
20276
|
-
i[8] + "px)"),
|
|
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"), T(s, "transform", "translateX(" + /*offset*/
|
|
20280
|
+
i[8] + "px)"), T(
|
|
20277
20281
|
s,
|
|
20278
20282
|
"transition-duration",
|
|
20279
20283
|
/*durationMs*/
|
|
20280
20284
|
i[9] + "ms"
|
|
20281
|
-
),
|
|
20285
|
+
), T(
|
|
20282
20286
|
s,
|
|
20283
20287
|
"transition-timing-function",
|
|
20284
20288
|
/*timingFunction*/
|
|
@@ -20364,15 +20368,15 @@ function Zy(i) {
|
|
|
20364
20368
|
),
|
|
20365
20369
|
Bc
|
|
20366
20370
|
), (!d || k[0] & /*offset*/
|
|
20367
|
-
256) &&
|
|
20371
|
+
256) && T(s, "transform", "translateX(" + /*offset*/
|
|
20368
20372
|
P[8] + "px)"), (!d || k[0] & /*durationMs*/
|
|
20369
|
-
512) &&
|
|
20373
|
+
512) && T(
|
|
20370
20374
|
s,
|
|
20371
20375
|
"transition-duration",
|
|
20372
20376
|
/*durationMs*/
|
|
20373
20377
|
P[9] + "ms"
|
|
20374
20378
|
), (!d || k[0] & /*timingFunction*/
|
|
20375
|
-
1) &&
|
|
20379
|
+
1) && T(
|
|
20376
20380
|
s,
|
|
20377
20381
|
"transition-timing-function",
|
|
20378
20382
|
/*timingFunction*/
|
|
@@ -20420,7 +20424,7 @@ function Ky(i, t, e) {
|
|
|
20420
20424
|
loaded: () => e(6, s = Ee)
|
|
20421
20425
|
})(oe);
|
|
20422
20426
|
}), g = ms();
|
|
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:
|
|
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: z = dn } = t, { pauseOnFocus: M = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
20424
20428
|
function B(oe, Ee) {
|
|
20425
20429
|
return X(this, null, function* () {
|
|
20426
20430
|
const Be = qi(Ee, "animated", !0);
|
|
@@ -20516,7 +20520,7 @@ function Ky(i, t, e) {
|
|
|
20516
20520
|
}
|
|
20517
20521
|
const Ke = (oe) => we(oe.detail);
|
|
20518
20522
|
return i.$$set = (oe) => {
|
|
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,
|
|
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, z = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, M = 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);
|
|
20520
20524
|
}, i.$$.update = () => {
|
|
20521
20525
|
i.$$.dirty[0] & /*currentPageIndex*/
|
|
20522
20526
|
32 && g("pageChange", r), i.$$.dirty[0] & /*infinite*/
|
|
@@ -20524,8 +20528,8 @@ function Ky(i, t, e) {
|
|
|
20524
20528
|
33554432 && (h.durationMsInit = k), i.$$.dirty[0] & /*autoplay*/
|
|
20525
20529
|
67108864 && (h.autoplay = S), i.$$.dirty[0] & /*autoplayDuration*/
|
|
20526
20530
|
134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
|
|
20527
|
-
268435456 && (h.autoplayDirection =
|
|
20528
|
-
536870912 && (h.pauseOnFocus =
|
|
20531
|
+
268435456 && (h.autoplayDirection = z), i.$$.dirty[0] & /*pauseOnFocus*/
|
|
20532
|
+
536870912 && (h.pauseOnFocus = M), i.$$.dirty[1] & /*particlesToShow*/
|
|
20529
20533
|
1 && (h.particlesToShowInit = R), i.$$.dirty[1] & /*particlesToScroll*/
|
|
20530
20534
|
2 && (h.particlesToScrollInit = H);
|
|
20531
20535
|
}, [
|
|
@@ -20557,8 +20561,8 @@ function Ky(i, t, e) {
|
|
|
20557
20561
|
k,
|
|
20558
20562
|
S,
|
|
20559
20563
|
I,
|
|
20560
|
-
|
|
20561
|
-
|
|
20564
|
+
z,
|
|
20565
|
+
M,
|
|
20562
20566
|
Q,
|
|
20563
20567
|
R,
|
|
20564
20568
|
H,
|
|
@@ -20659,7 +20663,7 @@ function tw(i) {
|
|
|
20659
20663
|
let l = a(i), c = l(i);
|
|
20660
20664
|
return {
|
|
20661
20665
|
c() {
|
|
20662
|
-
c.c(), t = se(), e = _("div"), n = _("div"), o = _("div"), w(o, "class", "video-icon-img svelte-159ski6"),
|
|
20666
|
+
c.c(), t = se(), e = _("div"), n = _("div"), o = _("div"), w(o, "class", "video-icon-img svelte-159ski6"), T(o, "background-image", "url(" + /*func*/
|
|
20663
20667
|
i[20]() + ")"), K(
|
|
20664
20668
|
o,
|
|
20665
20669
|
"canPlay",
|
|
@@ -20692,7 +20696,7 @@ function tw(i) {
|
|
|
20692
20696
|
},
|
|
20693
20697
|
p(d, h) {
|
|
20694
20698
|
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*/
|
|
20695
|
-
8 &&
|
|
20699
|
+
8 && T(o, "background-image", "url(" + /*func*/
|
|
20696
20700
|
d[20]() + ")"), h & /*canPlay*/
|
|
20697
20701
|
32 && K(
|
|
20698
20702
|
o,
|
|
@@ -20923,10 +20927,10 @@ function rw(i, t, e) {
|
|
|
20923
20927
|
tag: r,
|
|
20924
20928
|
mediaInstance: n
|
|
20925
20929
|
});
|
|
20926
|
-
},
|
|
20930
|
+
}, z = (Q) => {
|
|
20927
20931
|
n && n.pause();
|
|
20928
20932
|
};
|
|
20929
|
-
function
|
|
20933
|
+
function M(Q) {
|
|
20930
20934
|
Ze[Q ? "unshift" : "push"](() => {
|
|
20931
20935
|
s.videoInstance = Q, e(0, s);
|
|
20932
20936
|
});
|
|
@@ -20965,8 +20969,8 @@ function rw(i, t, e) {
|
|
|
20965
20969
|
k,
|
|
20966
20970
|
S,
|
|
20967
20971
|
I,
|
|
20968
|
-
|
|
20969
|
-
|
|
20972
|
+
z,
|
|
20973
|
+
M,
|
|
20970
20974
|
F,
|
|
20971
20975
|
q
|
|
20972
20976
|
];
|
|
@@ -21357,24 +21361,24 @@ function hw(i) {
|
|
|
21357
21361
|
function uw(i, t, e) {
|
|
21358
21362
|
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;
|
|
21359
21363
|
const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = A;
|
|
21360
|
-
let k = [], S = 0, I,
|
|
21361
|
-
const
|
|
21364
|
+
let k = [], S = 0, I, z = null;
|
|
21365
|
+
const M = an("hooks"), F = an("mediaStore");
|
|
21362
21366
|
function q() {
|
|
21363
21367
|
const G = k[S], U = G == null ? void 0 : G.videoInstance;
|
|
21364
21368
|
U && (U.paused ? (U.muted = !1, U.play()) : U.pause());
|
|
21365
21369
|
}
|
|
21366
21370
|
St(() => {
|
|
21367
|
-
|
|
21371
|
+
M.on("click", (G) => {
|
|
21368
21372
|
var U, Y, J;
|
|
21369
21373
|
(J = (Y = (U = a.tag3DContentSvelte) == null ? void 0 : U.css3DInstance) == null ? void 0 : Y.css3DObject) != null && J.opacityMesh && G.tag.id === a.id && q();
|
|
21370
|
-
}),
|
|
21374
|
+
}), z = setInterval(
|
|
21371
21375
|
() => {
|
|
21372
21376
|
r && (I == null || I.goToNext());
|
|
21373
21377
|
},
|
|
21374
21378
|
3e3
|
|
21375
21379
|
);
|
|
21376
21380
|
}), un(() => {
|
|
21377
|
-
clearInterval(
|
|
21381
|
+
clearInterval(z), M.off("click", q);
|
|
21378
21382
|
});
|
|
21379
21383
|
function Q(G, U) {
|
|
21380
21384
|
i.$$.not_equal(k[U], G) && (k[U] = G, e(8, k));
|
|
@@ -21768,7 +21772,7 @@ function td(i) {
|
|
|
21768
21772
|
), n;
|
|
21769
21773
|
return {
|
|
21770
21774
|
c() {
|
|
21771
|
-
t = _("div"), n = Ve(e), w(t, "class", "tag primary-tag svelte-sezqcq"),
|
|
21775
|
+
t = _("div"), n = Ve(e), w(t, "class", "tag primary-tag svelte-sezqcq"), T(t, "min-width", Ta);
|
|
21772
21776
|
},
|
|
21773
21777
|
m(o, s) {
|
|
21774
21778
|
V(o, t, s), O(t, n);
|
|
@@ -21790,7 +21794,7 @@ function nd(i) {
|
|
|
21790
21794
|
), n;
|
|
21791
21795
|
return {
|
|
21792
21796
|
c() {
|
|
21793
|
-
t = _("div"), n = Ve(e), w(t, "class", "tag secondary-tag svelte-sezqcq"),
|
|
21797
|
+
t = _("div"), n = Ve(e), w(t, "class", "tag secondary-tag svelte-sezqcq"), T(t, "min-width", Ta);
|
|
21794
21798
|
},
|
|
21795
21799
|
m(o, s) {
|
|
21796
21800
|
V(o, t, s), O(t, n);
|
|
@@ -21933,15 +21937,15 @@ function Aw(i) {
|
|
|
21933
21937
|
);
|
|
21934
21938
|
return {
|
|
21935
21939
|
c() {
|
|
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"),
|
|
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"), T(
|
|
21937
21941
|
o,
|
|
21938
21942
|
"transition-delay",
|
|
21939
21943
|
/*unfolded*/
|
|
21940
21944
|
i[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
|
|
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"),
|
|
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"), T(r, "max-width", Ot(
|
|
21942
21946
|
/*maxWidth*/
|
|
21943
21947
|
i[9]
|
|
21944
|
-
)),
|
|
21948
|
+
)), T(
|
|
21945
21949
|
r,
|
|
21946
21950
|
"transition-delay",
|
|
21947
21951
|
/*unfolded*/
|
|
@@ -21959,42 +21963,42 @@ function Aw(i) {
|
|
|
21959
21963
|
i[8]
|
|
21960
21964
|
);
|
|
21961
21965
|
},
|
|
21962
|
-
m(I,
|
|
21963
|
-
V(I, t,
|
|
21966
|
+
m(I, z) {
|
|
21967
|
+
V(I, t, z), 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;
|
|
21964
21968
|
},
|
|
21965
|
-
p(I, [
|
|
21969
|
+
p(I, [z]) {
|
|
21966
21970
|
var F, q;
|
|
21967
|
-
const
|
|
21968
|
-
|
|
21969
|
-
16 && (
|
|
21970
|
-
I[4]), e.$set(
|
|
21971
|
-
16 &&
|
|
21971
|
+
const M = {};
|
|
21972
|
+
z & /*unfolded*/
|
|
21973
|
+
16 && (M.visible = /*unfolded*/
|
|
21974
|
+
I[4]), e.$set(M), z & /*unfolded*/
|
|
21975
|
+
16 && T(
|
|
21972
21976
|
o,
|
|
21973
21977
|
"transition-delay",
|
|
21974
21978
|
/*unfolded*/
|
|
21975
21979
|
I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
|
|
21976
21980
|
), /*data*/
|
|
21977
|
-
I[3].headerPictureUrl ? b ? b.p(I,
|
|
21981
|
+
I[3].headerPictureUrl ? b ? b.p(I, z) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || z & /*data*/
|
|
21978
21982
|
8) && h !== (h = /*data*/
|
|
21979
21983
|
I[3].title + "") && Re(u, h), /*primaryTags*/
|
|
21980
21984
|
((F = I[2].length) != null ? F : 0) + /*secondaryTags*/
|
|
21981
|
-
((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I,
|
|
21985
|
+
((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I, z) : (y = ed(I), y.c(), y.m(r, v)) : y && (y.d(1), y = null), /*havePrice*/
|
|
21982
21986
|
I[7] || /*data*/
|
|
21983
|
-
I[3].highlightText ? P ? P.p(I,
|
|
21984
|
-
16 &&
|
|
21987
|
+
I[3].highlightText ? P ? P.p(I, z) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), z & /*unfolded*/
|
|
21988
|
+
16 && T(
|
|
21985
21989
|
r,
|
|
21986
21990
|
"transition-delay",
|
|
21987
21991
|
/*unfolded*/
|
|
21988
21992
|
I[4] ? Ro + Qo + "ms" : "0ms"
|
|
21989
|
-
), (!A ||
|
|
21993
|
+
), (!A || z & /*theme*/
|
|
21990
21994
|
64 && g !== (g = _e(`marketing ${/*theme*/
|
|
21991
|
-
I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A ||
|
|
21995
|
+
I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A || z & /*theme, unfolded*/
|
|
21992
21996
|
80) && K(
|
|
21993
21997
|
t,
|
|
21994
21998
|
"unfolded",
|
|
21995
21999
|
/*unfolded*/
|
|
21996
22000
|
I[4]
|
|
21997
|
-
), (!A ||
|
|
22001
|
+
), (!A || z & /*theme, folded*/
|
|
21998
22002
|
320) && K(
|
|
21999
22003
|
t,
|
|
22000
22004
|
"folded",
|
|
@@ -22363,12 +22367,12 @@ function kw(i) {
|
|
|
22363
22367
|
"style",
|
|
22364
22368
|
/*style*/
|
|
22365
22369
|
i[2]
|
|
22366
|
-
),
|
|
22370
|
+
), T(
|
|
22367
22371
|
t,
|
|
22368
22372
|
"width",
|
|
22369
22373
|
/*styleWidth*/
|
|
22370
22374
|
i[5]
|
|
22371
|
-
),
|
|
22375
|
+
), T(
|
|
22372
22376
|
t,
|
|
22373
22377
|
"height",
|
|
22374
22378
|
/*styleWidth*/
|
|
@@ -22399,13 +22403,13 @@ function kw(i) {
|
|
|
22399
22403
|
const c = l & /*style*/
|
|
22400
22404
|
4;
|
|
22401
22405
|
(c || l & /*styleWidth, style*/
|
|
22402
|
-
36) &&
|
|
22406
|
+
36) && T(
|
|
22403
22407
|
t,
|
|
22404
22408
|
"width",
|
|
22405
22409
|
/*styleWidth*/
|
|
22406
22410
|
a[5]
|
|
22407
22411
|
), (c || l & /*styleWidth, style*/
|
|
22408
|
-
36) &&
|
|
22412
|
+
36) && T(
|
|
22409
22413
|
t,
|
|
22410
22414
|
"height",
|
|
22411
22415
|
/*styleWidth*/
|
|
@@ -22533,7 +22537,7 @@ function dd(i) {
|
|
|
22533
22537
|
}
|
|
22534
22538
|
}), {
|
|
22535
22539
|
c() {
|
|
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"),
|
|
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"), T(l, "display", "inline-block"), w(s, "class", "wrapper svelte-1s6gk4a"), w(o, "class", "content svelte-1s6gk4a"), w(t, "class", "audio-tag svelte-1s6gk4a"), K(
|
|
22537
22541
|
t,
|
|
22538
22542
|
"unfolded",
|
|
22539
22543
|
/*unfolded*/
|
|
@@ -22558,7 +22562,7 @@ function dd(i) {
|
|
|
22558
22562
|
], m = !0);
|
|
22559
22563
|
},
|
|
22560
22564
|
p(y, P) {
|
|
22561
|
-
var
|
|
22565
|
+
var z, M;
|
|
22562
22566
|
const k = {};
|
|
22563
22567
|
P & /*unfolded*/
|
|
22564
22568
|
64 && (k.visible = /*unfolded*/
|
|
@@ -22586,7 +22590,7 @@ function dd(i) {
|
|
|
22586
22590
|
48 && (I.outDelay = /*foldTextDelay*/
|
|
22587
22591
|
y[4] + 20 * Math.min(
|
|
22588
22592
|
/*content*/
|
|
22589
|
-
(
|
|
22593
|
+
(M = (z = y[5]) == null ? void 0 : z.length) != null ? M : 10,
|
|
22590
22594
|
15
|
|
22591
22595
|
)), h.$set(I), (!u || P & /*unfolded*/
|
|
22592
22596
|
64) && K(
|
|
@@ -22850,12 +22854,12 @@ function ud(i) {
|
|
|
22850
22854
|
i[11]
|
|
22851
22855
|
), {
|
|
22852
22856
|
c() {
|
|
22853
|
-
t = _("div"), e = _("div"), ne(n.$$.fragment), w(e, "class", "audio-tag svelte-58hfjf"),
|
|
22857
|
+
t = _("div"), e = _("div"), ne(n.$$.fragment), w(e, "class", "audio-tag svelte-58hfjf"), T(
|
|
22854
22858
|
e,
|
|
22855
22859
|
"background-color",
|
|
22856
22860
|
/*theme*/
|
|
22857
22861
|
i[4].bgColor
|
|
22858
|
-
),
|
|
22862
|
+
), T(
|
|
22859
22863
|
e,
|
|
22860
22864
|
"color",
|
|
22861
22865
|
/*theme*/
|
|
@@ -22877,13 +22881,13 @@ function ud(i) {
|
|
|
22877
22881
|
s[0]
|
|
22878
22882
|
) }), r & /*$$scope, title, playing*/
|
|
22879
22883
|
8232 && (a.$$scope = { dirty: r, ctx: s }), n.$set(a), r & /*theme*/
|
|
22880
|
-
16 &&
|
|
22884
|
+
16 && T(
|
|
22881
22885
|
e,
|
|
22882
22886
|
"background-color",
|
|
22883
22887
|
/*theme*/
|
|
22884
22888
|
s[4].bgColor
|
|
22885
22889
|
), r & /*theme*/
|
|
22886
|
-
16 &&
|
|
22890
|
+
16 && T(
|
|
22887
22891
|
e,
|
|
22888
22892
|
"color",
|
|
22889
22893
|
/*theme*/
|
|
@@ -23372,7 +23376,7 @@ function gd(i) {
|
|
|
23372
23376
|
let r = s(i), a = r(i);
|
|
23373
23377
|
return {
|
|
23374
23378
|
c() {
|
|
23375
|
-
t = _("div"), o && o.c(), e = se(), a.c(), w(t, "class", "icon"),
|
|
23379
|
+
t = _("div"), o && o.c(), e = se(), a.c(), w(t, "class", "icon"), T(
|
|
23376
23380
|
t,
|
|
23377
23381
|
"width",
|
|
23378
23382
|
/*width*/
|
|
@@ -23388,7 +23392,7 @@ function gd(i) {
|
|
|
23388
23392
|
1 && x(o, 1) : (o = vd(), o.c(), x(o, 1), o.m(t, e)) : o && (de(), L(o, 1, 1, () => {
|
|
23389
23393
|
o = null;
|
|
23390
23394
|
}), 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*/
|
|
23391
|
-
2 &&
|
|
23395
|
+
2 && T(
|
|
23392
23396
|
t,
|
|
23393
23397
|
"width",
|
|
23394
23398
|
/*width*/
|
|
@@ -23557,7 +23561,7 @@ function eC(i) {
|
|
|
23557
23561
|
return {
|
|
23558
23562
|
c() {
|
|
23559
23563
|
t = _("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"), Pt(t.src, e = /*iconUrl*/
|
|
23560
|
-
i[7]) || w(t, "src", e),
|
|
23564
|
+
i[7]) || w(t, "src", e), T(t, "width", Ot(Zn({
|
|
23561
23565
|
originWidth: (
|
|
23562
23566
|
/*width*/
|
|
23563
23567
|
i[1]
|
|
@@ -23579,7 +23583,7 @@ function eC(i) {
|
|
|
23579
23583
|
md(n), o & /*iconUrl*/
|
|
23580
23584
|
128 && !Pt(t.src, e = /*iconUrl*/
|
|
23581
23585
|
n[7]) && w(t, "src", e), o & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
23582
|
-
184 &&
|
|
23586
|
+
184 && T(t, "width", Ot(Zn({
|
|
23583
23587
|
originWidth: (
|
|
23584
23588
|
/*width*/
|
|
23585
23589
|
n[1]
|
|
@@ -23612,7 +23616,7 @@ function iC(i) {
|
|
|
23612
23616
|
i[17]}, jump-none)`;
|
|
23613
23617
|
return {
|
|
23614
23618
|
c() {
|
|
23615
|
-
t = _("div"), w(t, "class", "icon-keyframe svelte-316sq3"),
|
|
23619
|
+
t = _("div"), w(t, "class", "icon-keyframe svelte-316sq3"), T(t, "width", Ot(Zn({
|
|
23616
23620
|
originWidth: (
|
|
23617
23621
|
/*width*/
|
|
23618
23622
|
i[1]
|
|
@@ -23629,7 +23633,7 @@ function iC(i) {
|
|
|
23629
23633
|
/*iconWidth*/
|
|
23630
23634
|
i[3]
|
|
23631
23635
|
)
|
|
23632
|
-
}).width)),
|
|
23636
|
+
}).width)), T(t, "height", Ot(Zn({
|
|
23633
23637
|
originWidth: (
|
|
23634
23638
|
/*width*/
|
|
23635
23639
|
i[1]
|
|
@@ -23646,19 +23650,19 @@ function iC(i) {
|
|
|
23646
23650
|
/*iconWidth*/
|
|
23647
23651
|
i[3]
|
|
23648
23652
|
)
|
|
23649
|
-
}).height)),
|
|
23653
|
+
}).height)), T(t, "background-image", e), T(
|
|
23650
23654
|
t,
|
|
23651
23655
|
"animation-duration",
|
|
23652
23656
|
/*duration*/
|
|
23653
23657
|
i[18]
|
|
23654
|
-
),
|
|
23658
|
+
), T(t, "animation-timing-function", n);
|
|
23655
23659
|
},
|
|
23656
23660
|
m(o, s) {
|
|
23657
23661
|
V(o, t, s);
|
|
23658
23662
|
},
|
|
23659
23663
|
p(o, s) {
|
|
23660
23664
|
pd(o), s & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
23661
|
-
252 &&
|
|
23665
|
+
252 && T(t, "width", Ot(Zn({
|
|
23662
23666
|
originWidth: (
|
|
23663
23667
|
/*width*/
|
|
23664
23668
|
o[1]
|
|
@@ -23676,7 +23680,7 @@ function iC(i) {
|
|
|
23676
23680
|
o[3]
|
|
23677
23681
|
)
|
|
23678
23682
|
}).width)), s & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
23679
|
-
252 &&
|
|
23683
|
+
252 && T(t, "height", Ot(Zn({
|
|
23680
23684
|
originWidth: (
|
|
23681
23685
|
/*width*/
|
|
23682
23686
|
o[1]
|
|
@@ -23695,15 +23699,15 @@ function iC(i) {
|
|
|
23695
23699
|
)
|
|
23696
23700
|
}).height)), s & /*iconUrl*/
|
|
23697
23701
|
128 && e !== (e = `url(${/*iconUrl*/
|
|
23698
|
-
o[7]})`) &&
|
|
23699
|
-
228 &&
|
|
23702
|
+
o[7]})`) && T(t, "background-image", e), s & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
23703
|
+
228 && T(
|
|
23700
23704
|
t,
|
|
23701
23705
|
"animation-duration",
|
|
23702
23706
|
/*duration*/
|
|
23703
23707
|
o[18]
|
|
23704
23708
|
), s & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
23705
23709
|
228 && n !== (n = `steps(${/*steps*/
|
|
23706
|
-
o[17]}, jump-none)`) &&
|
|
23710
|
+
o[17]}, jump-none)`) && T(t, "animation-timing-function", n);
|
|
23707
23711
|
},
|
|
23708
23712
|
d(o) {
|
|
23709
23713
|
o && j(t);
|
|
@@ -24097,13 +24101,13 @@ function AC(i) {
|
|
|
24097
24101
|
"unClickable",
|
|
24098
24102
|
/*tag*/
|
|
24099
24103
|
i[1].config.clickable === !1
|
|
24100
|
-
),
|
|
24104
|
+
), T(
|
|
24101
24105
|
t,
|
|
24102
24106
|
"width",
|
|
24103
24107
|
/*tag*/
|
|
24104
24108
|
i[1].stickType === "Plane" || /*tag*/
|
|
24105
24109
|
i[1].contentType === "MediaModel" ? "100%" : 0
|
|
24106
|
-
),
|
|
24110
|
+
), T(
|
|
24107
24111
|
t,
|
|
24108
24112
|
"height",
|
|
24109
24113
|
/*tag*/
|
|
@@ -24160,14 +24164,14 @@ function AC(i) {
|
|
|
24160
24164
|
/*tag*/
|
|
24161
24165
|
v[1].config.clickable === !1
|
|
24162
24166
|
), g & /*tag*/
|
|
24163
|
-
2 &&
|
|
24167
|
+
2 && T(
|
|
24164
24168
|
t,
|
|
24165
24169
|
"width",
|
|
24166
24170
|
/*tag*/
|
|
24167
24171
|
v[1].stickType === "Plane" || /*tag*/
|
|
24168
24172
|
v[1].contentType === "MediaModel" ? "100%" : 0
|
|
24169
24173
|
), g & /*tag*/
|
|
24170
|
-
2 &&
|
|
24174
|
+
2 && T(
|
|
24171
24175
|
t,
|
|
24172
24176
|
"height",
|
|
24173
24177
|
/*tag*/
|
|
@@ -24510,19 +24514,19 @@ function xC(i, t, e) {
|
|
|
24510
24514
|
function y(I) {
|
|
24511
24515
|
I ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
|
|
24512
24516
|
}
|
|
24513
|
-
function P(I,
|
|
24517
|
+
function P(I, z, M) {
|
|
24514
24518
|
var F, q;
|
|
24515
|
-
return !(!
|
|
24519
|
+
return !(!z.visible || !z.enabled || !M.visible || !((F = I.state) != null && F.visible) || ((q = I.temporaryState) == null ? void 0 : q.visible) === !1 || pt(I) && !I.mediaVisible);
|
|
24516
24520
|
}
|
|
24517
24521
|
const k = (I) => h.emit("click", { event: I, target: "TagContent", tag: d }), S = (I) => h.emit("click", { event: I, target: "TagContent", tag: d });
|
|
24518
24522
|
return i.$$set = (I) => {
|
|
24519
24523
|
"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);
|
|
24520
24524
|
}, i.$$.update = () => {
|
|
24521
|
-
var I,
|
|
24525
|
+
var I, z, M, F, q, Q, R, H, B, G, U;
|
|
24522
24526
|
i.$$.dirty & /*tag*/
|
|
24523
24527
|
2 && e(12, n = (I = d.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
|
|
24524
|
-
2 && e(11, o = (
|
|
24525
|
-
322 && e(13, s = m.visible && g.visible && ((
|
|
24528
|
+
2 && e(11, o = (z = d.state) == null ? void 0 : z.visible), i.$$.dirty & /*state, temporaryState, tag*/
|
|
24529
|
+
322 && e(13, s = m.visible && g.visible && ((M = d.state) == null ? void 0 : M.visible)), i.$$.dirty & /*tag*/
|
|
24526
24530
|
2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
|
|
24527
24531
|
322 && e(5, a = !P(d, m, g)), i.$$.dirty & /*isVisible*/
|
|
24528
24532
|
8192 && y(s), i.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
|
|
@@ -24597,7 +24601,7 @@ function MC(i) {
|
|
|
24597
24601
|
i[7]
|
|
24598
24602
|
), {
|
|
24599
24603
|
c() {
|
|
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"),
|
|
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"), T(
|
|
24601
24605
|
r,
|
|
24602
24606
|
"transition-delay",
|
|
24603
24607
|
/*folded*/
|
|
@@ -24605,7 +24609,7 @@ function MC(i) {
|
|
|
24605
24609
|
/*foldDelay*/
|
|
24606
24610
|
i[5]
|
|
24607
24611
|
) : 0) + "ms"
|
|
24608
|
-
), w(l, "class", "tag-folded-point svelte-7aiuwz"),
|
|
24612
|
+
), w(l, "class", "tag-folded-point svelte-7aiuwz"), T(
|
|
24609
24613
|
l,
|
|
24610
24614
|
"transition-delay",
|
|
24611
24615
|
/*folded*/
|
|
@@ -24635,7 +24639,7 @@ function MC(i) {
|
|
|
24635
24639
|
},
|
|
24636
24640
|
p(m, [v]) {
|
|
24637
24641
|
v & /*folded*/
|
|
24638
|
-
8 &&
|
|
24642
|
+
8 && T(
|
|
24639
24643
|
r,
|
|
24640
24644
|
"transition-delay",
|
|
24641
24645
|
/*folded*/
|
|
@@ -24650,7 +24654,7 @@ function MC(i) {
|
|
|
24650
24654
|
m[2]), v & /*width*/
|
|
24651
24655
|
2 && (g.width = /*width*/
|
|
24652
24656
|
m[1]), c.$set(g), v & /*folded*/
|
|
24653
|
-
8 &&
|
|
24657
|
+
8 && T(
|
|
24654
24658
|
l,
|
|
24655
24659
|
"transition-delay",
|
|
24656
24660
|
/*folded*/
|
|
@@ -24709,11 +24713,11 @@ function SC(i, t, e) {
|
|
|
24709
24713
|
1 && e(3, o = !n), i.$$.dirty & /*tag*/
|
|
24710
24714
|
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*/
|
|
24711
24715
|
64 && e(1, r = (() => {
|
|
24712
|
-
var S, I,
|
|
24716
|
+
var S, I, z, M;
|
|
24713
24717
|
const P = (I = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : I.width;
|
|
24714
24718
|
if (typeof P == "number")
|
|
24715
24719
|
return P;
|
|
24716
|
-
const k = (
|
|
24720
|
+
const k = (M = (z = l.style) == null ? void 0 : z.point) == null ? void 0 : M.size;
|
|
24717
24721
|
if (typeof k == "number")
|
|
24718
24722
|
return k;
|
|
24719
24723
|
if (k === "S")
|
|
@@ -24911,12 +24915,12 @@ function OC(i) {
|
|
|
24911
24915
|
/*id*/
|
|
24912
24916
|
i[12]
|
|
24913
24917
|
), w(e, "data-content-type", c = /*tag*/
|
|
24914
|
-
i[1].contentType),
|
|
24918
|
+
i[1].contentType), T(
|
|
24915
24919
|
e,
|
|
24916
24920
|
"left",
|
|
24917
24921
|
/*left*/
|
|
24918
24922
|
i[9]
|
|
24919
|
-
),
|
|
24923
|
+
), T(
|
|
24920
24924
|
e,
|
|
24921
24925
|
"top",
|
|
24922
24926
|
/*top*/
|
|
@@ -24946,7 +24950,7 @@ function OC(i) {
|
|
|
24946
24950
|
"withAnimation",
|
|
24947
24951
|
/*withAnimation*/
|
|
24948
24952
|
i[0]
|
|
24949
|
-
),
|
|
24953
|
+
), T(
|
|
24950
24954
|
t,
|
|
24951
24955
|
"z-index",
|
|
24952
24956
|
/*zIndex*/
|
|
@@ -24985,13 +24989,13 @@ function OC(i) {
|
|
|
24985
24989
|
), (!d || y & /*tag*/
|
|
24986
24990
|
2 && c !== (c = /*tag*/
|
|
24987
24991
|
b[1].contentType)) && w(e, "data-content-type", c), y & /*left*/
|
|
24988
|
-
512 &&
|
|
24992
|
+
512 && T(
|
|
24989
24993
|
e,
|
|
24990
24994
|
"left",
|
|
24991
24995
|
/*left*/
|
|
24992
24996
|
b[9]
|
|
24993
24997
|
), y & /*top*/
|
|
24994
|
-
256 &&
|
|
24998
|
+
256 && T(
|
|
24995
24999
|
e,
|
|
24996
25000
|
"top",
|
|
24997
25001
|
/*top*/
|
|
@@ -25027,7 +25031,7 @@ function OC(i) {
|
|
|
25027
25031
|
/*withAnimation*/
|
|
25028
25032
|
b[0]
|
|
25029
25033
|
), y & /*zIndex*/
|
|
25030
|
-
128 &&
|
|
25034
|
+
128 && T(
|
|
25031
25035
|
t,
|
|
25032
25036
|
"z-index",
|
|
25033
25037
|
/*zIndex*/
|
|
@@ -25051,7 +25055,7 @@ function BC(i, t, e) {
|
|
|
25051
25055
|
return i.$$set = (P) => {
|
|
25052
25056
|
"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);
|
|
25053
25057
|
}, i.$$.update = () => {
|
|
25054
|
-
var P, k, S, I,
|
|
25058
|
+
var P, k, S, I, z, M, F, q;
|
|
25055
25059
|
i.$$.dirty & /*tag*/
|
|
25056
25060
|
2 && e(14, n = (() => {
|
|
25057
25061
|
var Q, R;
|
|
@@ -25061,8 +25065,8 @@ function BC(i, t, e) {
|
|
|
25061
25065
|
2 && e(12, s = m.id), i.$$.dirty & /*tag*/
|
|
25062
25066
|
2 && e(11, r = !((P = m.screenPosition) != null && P.leftPercent) || !((k = m.screenPosition) != null && k.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
|
|
25063
25067
|
2 && e(10, a = !((S = m.state) != null && S.visible) || ((I = m.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
|
|
25064
|
-
2 && e(6, l = (
|
|
25065
|
-
2 && e(9, c = ((
|
|
25068
|
+
2 && e(6, l = (z = m.state) == null ? void 0 : z.unfolded), i.$$.dirty & /*tag*/
|
|
25069
|
+
2 && e(9, c = ((M = m.screenPosition) == null ? void 0 : M.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
25066
25070
|
2 && e(8, d = ((F = m.screenPosition) == null ? void 0 : F.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
25067
25071
|
66 && e(7, h = ((q = m.zIndex) != null ? q : 0) + (l ? 1e4 : 0));
|
|
25068
25072
|
}, [
|
|
@@ -25966,7 +25970,7 @@ function Cd(i) {
|
|
|
25966
25970
|
t = _("div"), e = Ve(
|
|
25967
25971
|
/*text*/
|
|
25968
25972
|
i[0]
|
|
25969
|
-
), w(t, "class", "guide-line__tag-text svelte-m8w0ju"),
|
|
25973
|
+
), w(t, "class", "guide-line__tag-text svelte-m8w0ju"), T(t, "border-image-source", `url(${/*text_background_url*/
|
|
25970
25974
|
i[3]})`);
|
|
25971
25975
|
},
|
|
25972
25976
|
m(n, o) {
|
|
@@ -25992,8 +25996,8 @@ function $C(i) {
|
|
|
25992
25996
|
);
|
|
25993
25997
|
return {
|
|
25994
25998
|
c() {
|
|
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"),
|
|
25996
|
-
i[1]})`), w(r, "class", "guide-line__tag-content svelte-m8w0ju"), w(t, "class", "guide-line__tag svelte-m8w0ju"),
|
|
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"), T(a, "background-image", `url(${/*icon_url*/
|
|
26000
|
+
i[1]})`), w(r, "class", "guide-line__tag-content svelte-m8w0ju"), w(t, "class", "guide-line__tag svelte-m8w0ju"), T(
|
|
25997
26001
|
t,
|
|
25998
26002
|
"opacity",
|
|
25999
26003
|
/*opacity*/
|
|
@@ -26005,10 +26009,10 @@ function $C(i) {
|
|
|
26005
26009
|
},
|
|
26006
26010
|
p(d, [h]) {
|
|
26007
26011
|
h & /*icon_url*/
|
|
26008
|
-
2 &&
|
|
26012
|
+
2 && T(a, "background-image", `url(${/*icon_url*/
|
|
26009
26013
|
d[1]})`), /*text*/
|
|
26010
26014
|
d[0] ? c ? c.p(d, h) : (c = Cd(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h & /*opacity*/
|
|
26011
|
-
4 &&
|
|
26015
|
+
4 && T(
|
|
26012
26016
|
t,
|
|
26013
26017
|
"opacity",
|
|
26014
26018
|
/*opacity*/
|
|
@@ -26139,7 +26143,9 @@ class oa {
|
|
|
26139
26143
|
f(this, "five");
|
|
26140
26144
|
f(this, "mode");
|
|
26141
26145
|
f(this, "path", []);
|
|
26142
|
-
f(this, "
|
|
26146
|
+
f(this, "_curvePath", null);
|
|
26147
|
+
f(this, "_curvePoints", null);
|
|
26148
|
+
f(this, "_panoGroup", []);
|
|
26143
26149
|
f(this, "skippedPositions", null);
|
|
26144
26150
|
f(this, "textureUrl", "");
|
|
26145
26151
|
f(this, "scale", 1);
|
|
@@ -26162,6 +26168,8 @@ class oa {
|
|
|
26162
26168
|
f(this, "disposed", !1);
|
|
26163
26169
|
f(this, "flowAnime", new cs({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
26164
26170
|
f(this, "flickerAnime", ds(300).yoyo(!0).repeat(5));
|
|
26171
|
+
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
26172
|
+
f(this, "cacheLengths", []);
|
|
26165
26173
|
f(this, "dispose", () => {
|
|
26166
26174
|
var t, e;
|
|
26167
26175
|
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());
|
|
@@ -26227,6 +26235,14 @@ class oa {
|
|
|
26227
26235
|
get visibleFloorIndexes() {
|
|
26228
26236
|
return this._visibleFloorIndexes;
|
|
26229
26237
|
}
|
|
26238
|
+
/** THREE Curve 路径 */
|
|
26239
|
+
get curvePath() {
|
|
26240
|
+
return this._curvePath;
|
|
26241
|
+
}
|
|
26242
|
+
/** THREE Curve 路径上的点 */
|
|
26243
|
+
get curvePoints() {
|
|
26244
|
+
return this._curvePoints;
|
|
26245
|
+
}
|
|
26230
26246
|
/** 自定义展示 */
|
|
26231
26247
|
setCustomVisible(t) {
|
|
26232
26248
|
if (this.disposed)
|
|
@@ -26267,18 +26283,18 @@ class oa {
|
|
|
26267
26283
|
}
|
|
26268
26284
|
/** 通过路径设置线条形状 */
|
|
26269
26285
|
setGeometryByPath(t, e) {
|
|
26270
|
-
var
|
|
26286
|
+
var d, h, u;
|
|
26271
26287
|
if (this.disposed)
|
|
26272
26288
|
return this.logError("disposed");
|
|
26273
|
-
const n = (
|
|
26289
|
+
const n = (d = e == null ? void 0 : e.scale) != null ? d : this.scale, o = (h = e == null ? void 0 : e.width) != null ? h : this.width, s = (u = e == null ? void 0 : e.unit_length) != null ? u : this.unitLength;
|
|
26274
26290
|
this.path = t, this.scale = n, this.width = o, this.unitLength = s;
|
|
26275
|
-
const { geometry: r, maxU: a } = yA({
|
|
26291
|
+
const { geometry: r, maxU: a, curvePath: l, curvePoints: c } = yA({
|
|
26276
26292
|
path: t,
|
|
26277
26293
|
width: o * n,
|
|
26278
26294
|
unitLength: s * n,
|
|
26279
26295
|
skipPositions: this.skippedPositions
|
|
26280
26296
|
});
|
|
26281
|
-
this.mesh.geometry = r, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = a, this.five.needsRender = !0;
|
|
26297
|
+
this._curvePath = l, this._curvePoints = c, this.mesh.geometry = r, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = a, this.five.needsRender = !0;
|
|
26282
26298
|
}
|
|
26283
26299
|
/** 设置线条材质 */
|
|
26284
26300
|
setMartial(t) {
|
|
@@ -26355,6 +26371,26 @@ class oa {
|
|
|
26355
26371
|
return this.logError("disposed");
|
|
26356
26372
|
this.flickerAnime.play();
|
|
26357
26373
|
}
|
|
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
|
+
}
|
|
26358
26394
|
setTag(t, e) {
|
|
26359
26395
|
const n = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
26360
26396
|
e || n.plugin.clearTags();
|
|
@@ -27094,13 +27130,13 @@ class mP extends Sn {
|
|
|
27094
27130
|
f(this, "cruisePlugin");
|
|
27095
27131
|
/** GuideLineItem 索引 */
|
|
27096
27132
|
f(this, "itemMap", /* @__PURE__ */ new Map());
|
|
27097
|
-
/** 当新增一根线时,整体高度的偏移值 */
|
|
27098
|
-
f(this, "heightOffset", 0);
|
|
27099
27133
|
f(this, "state", {
|
|
27100
27134
|
visible: !1,
|
|
27101
27135
|
enabled: !0
|
|
27102
27136
|
});
|
|
27103
27137
|
f(this, "data");
|
|
27138
|
+
/** 当新增一根线时,整体高度的偏移值 */
|
|
27139
|
+
f(this, "heightOffset", 0);
|
|
27104
27140
|
f(this, "_disposed", !1);
|
|
27105
27141
|
f(this, "disposedErrorLog", () => {
|
|
27106
27142
|
console.error(`${Ed} is disposed`);
|
|
@@ -28532,8 +28568,8 @@ class GP extends lo {
|
|
|
28532
28568
|
}
|
|
28533
28569
|
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);
|
|
28534
28570
|
n.isCSS3DObjectPlus ? n.applyScaleMatrix4(S) : n.scale.applyMatrix4(S), o.position.copy(a);
|
|
28535
|
-
const I = new $().addVectors(r[0], r[2]).divideScalar(2),
|
|
28536
|
-
n.applyMatrix4(
|
|
28571
|
+
const I = new $().addVectors(r[0], r[2]).divideScalar(2), z = new $().subVectors(I, l), M = new E.Matrix4().setPosition(z);
|
|
28572
|
+
n.applyMatrix4(M), (F = this.helperObject3D.css3DInstance) == null || F.css3DObject.applyMatrix4(M), (q = this.helperObject3D.plane) == null || q.applyMatrix4(M), this.hooks.emit("applyObjectScale", { matrix: S }), this.hooks.emit("applyObjectPosition", { matrix: M }), this.render();
|
|
28537
28573
|
}
|
|
28538
28574
|
dragEnd() {
|
|
28539
28575
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
|