@realsee/dnalogel 2.19.0-0 → 2.19.0-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/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -4
- package/dist/index.cjs.js +22 -22
- package/dist/index.js +525 -529
- package/dist/index.umd.js +22 -22
- 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 +30 -30
- 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 +45 -45
- 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/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/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/ModelElement.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/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/PlaneTagElement.html +4 -4
- package/docs/types/Point2DElement.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DElement.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagElement.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/TagIconSize.html +4 -4
- package/docs/types/TagId.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/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -4
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +35 -39
- package/libs/PanoTagPlugin/controller/index.js +16 -16
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,15 +2,15 @@ var Iu = Object.defineProperty, Eu = Object.defineProperties;
|
|
|
2
2
|
var ku = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Oa = Object.getOwnPropertySymbols;
|
|
4
4
|
var xu = Object.prototype.hasOwnProperty, Du = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var hr = (i, t, e) => t in i ? Iu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, G = (i, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
xu.call(t, e) &&
|
|
7
|
+
xu.call(t, e) && hr(i, e, t[e]);
|
|
8
8
|
if (Oa)
|
|
9
9
|
for (var e of Oa(t))
|
|
10
|
-
Du.call(t, e) &&
|
|
10
|
+
Du.call(t, e) && hr(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
12
|
}, ye = (i, t) => Eu(i, ku(t));
|
|
13
|
-
var f = (i, t, e) => (
|
|
13
|
+
var f = (i, t, e) => (hr(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
var F = (i, t, e) => new Promise((n, o) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,8 +29,8 @@ var F = (i, t, e) => new Promise((n, o) => {
|
|
|
29
29
|
});
|
|
30
30
|
import { Camera as Su, Subscribe as yt, Five as nt } from "@realsee/five";
|
|
31
31
|
import * as I from "three";
|
|
32
|
-
import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as At, PlaneGeometry as Tu, sRGBEncoding as zu, LinearFilter as
|
|
33
|
-
import { CSS3DRenderer as Wu, CSS3DObject as
|
|
32
|
+
import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as At, PlaneGeometry as Tu, sRGBEncoding as zu, LinearFilter as Vr, Mesh as Fi, CurvePath as ju, LineCurve3 as _u, TubeGeometry as Vu, ShaderMaterial as Md, SphereGeometry as Ou, DoubleSide as Ld, RingGeometry as Bu, Quaternion as aa, Euler as Ba, Matrix4 as Qi, Object3D as Ru, VideoTexture as Qu, Vector4 as Hu, SphereBufferGeometry as Gu } from "three";
|
|
33
|
+
import { CSS3DRenderer as Wu, CSS3DObject as Or } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
34
|
import so from "hammerjs";
|
|
35
35
|
import { Line as Td } from "@realsee/five/line";
|
|
36
36
|
import { FBXLoader as zd } from "three/examples/jsm/loaders/FBXLoader";
|
|
@@ -38,7 +38,7 @@ import Ra from "animejs";
|
|
|
38
38
|
import { GLTFLoader as Nu } from "@realsee/five/gltf-loader";
|
|
39
39
|
function Fu() {
|
|
40
40
|
console.info(
|
|
41
|
-
"%c %c@realsee/dnalogel %cv2.19.0-
|
|
41
|
+
"%c %c@realsee/dnalogel %cv2.19.0-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",
|
|
@@ -70,7 +70,7 @@ function Io(i, t, e) {
|
|
|
70
70
|
const n = i.x, o = i.y, s = Math.floor(n / t * 1e4) / 1e4, r = Math.floor(o / e * 1e4) / 1e4;
|
|
71
71
|
return { x: s, y: r };
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function ur(i, t, e) {
|
|
74
74
|
const { x: n, y: o } = i, s = n * t, r = o * e;
|
|
75
75
|
return { x: s, y: r };
|
|
76
76
|
}
|
|
@@ -308,7 +308,7 @@ var Dt = Object.freeze({
|
|
|
308
308
|
return (2 * t - 2 * e + s + r) * l + (-3 * t + 3 * e - 2 * s - r) * a + s * o + t;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
},
|
|
311
|
+
}, la = (
|
|
312
312
|
/** @class */
|
|
313
313
|
function() {
|
|
314
314
|
function i() {
|
|
@@ -317,11 +317,11 @@ var Dt = Object.freeze({
|
|
|
317
317
|
return i._nextId++;
|
|
318
318
|
}, i._nextId = 0, i;
|
|
319
319
|
}()
|
|
320
|
-
),
|
|
320
|
+
), Br = new _d(), ls = (
|
|
321
321
|
/** @class */
|
|
322
322
|
function() {
|
|
323
323
|
function i(t, e) {
|
|
324
|
-
e === void 0 && (e =
|
|
324
|
+
e === void 0 && (e = Br), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Dt.Linear.None, this._interpolationFunction = Cn.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = la.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
325
325
|
}
|
|
326
326
|
return i.prototype.getId = function() {
|
|
327
327
|
return this._id;
|
|
@@ -406,7 +406,7 @@ var Dt = Object.freeze({
|
|
|
406
406
|
this._chainedTweens[t].stop();
|
|
407
407
|
return this;
|
|
408
408
|
}, i.prototype.group = function(t) {
|
|
409
|
-
return t === void 0 && (t =
|
|
409
|
+
return t === void 0 && (t = Br), this._group = t, this;
|
|
410
410
|
}, i.prototype.delay = function(t) {
|
|
411
411
|
return t === void 0 && (t = 0), this._delayTime = t, this;
|
|
412
412
|
}, i.prototype.repeat = function(t) {
|
|
@@ -476,14 +476,14 @@ var Dt = Object.freeze({
|
|
|
476
476
|
typeof n == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(n) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
|
|
477
477
|
}, i;
|
|
478
478
|
}()
|
|
479
|
-
), Ju = "20.0.3", Zu =
|
|
479
|
+
), Ju = "20.0.3", Zu = la.nextId, Rt = Br, Ku = Rt.getAll.bind(Rt), $u = Rt.removeAll.bind(Rt), ef = Rt.add.bind(Rt), Vd = Rt.remove.bind(Rt), tf = Rt.update.bind(Rt), Wa = {
|
|
480
480
|
Easing: Dt,
|
|
481
481
|
Group: _d,
|
|
482
482
|
Interpolation: Cn,
|
|
483
483
|
now: Un,
|
|
484
|
-
Sequence:
|
|
484
|
+
Sequence: la,
|
|
485
485
|
nextId: Zu,
|
|
486
|
-
Tween:
|
|
486
|
+
Tween: ls,
|
|
487
487
|
VERSION: Ju,
|
|
488
488
|
getAll: Ku,
|
|
489
489
|
removeAll: $u,
|
|
@@ -492,7 +492,7 @@ var Dt = Object.freeze({
|
|
|
492
492
|
update: tf
|
|
493
493
|
};
|
|
494
494
|
function nf(i, t, e, n = Dt.Linear.None) {
|
|
495
|
-
const o = new
|
|
495
|
+
const o = new ls(i).to(t, e).easing(n).start();
|
|
496
496
|
function s(r) {
|
|
497
497
|
o.update(r) && requestAnimationFrame(s);
|
|
498
498
|
}
|
|
@@ -943,7 +943,7 @@ let af = class extends sf {
|
|
|
943
943
|
const a = this.canvas[e].getContext("2d");
|
|
944
944
|
if (!a)
|
|
945
945
|
return;
|
|
946
|
-
const { line: l = [], color: c = "black", duration: d = 0, uuid: h } = n, u =
|
|
946
|
+
const { line: l = [], color: c = "black", duration: d = 0, uuid: h } = n, u = ur(n.move || {}, this.clientWidth, this.clientHeight);
|
|
947
947
|
let m = [u];
|
|
948
948
|
if (a.strokeStyle = c, a.beginPath(), a.moveTo(u.x, u.y), d && !o) {
|
|
949
949
|
let g = [];
|
|
@@ -954,7 +954,7 @@ let af = class extends sf {
|
|
|
954
954
|
return a.clearRect(0, 0, v.canvas[h].width, v.canvas[h].height), (y = v.tween) == null ? void 0 : y.stop();
|
|
955
955
|
const b = Math.floor(A);
|
|
956
956
|
if (!g.find((P) => P === b)) {
|
|
957
|
-
if (g.push(b), m.push(
|
|
957
|
+
if (g.push(b), m.push(ur(l[b], v.clientWidth, v.clientHeight)), m.length < 3)
|
|
958
958
|
return;
|
|
959
959
|
const { control: P, end: D } = Eo(m);
|
|
960
960
|
if (!P || !D)
|
|
@@ -966,7 +966,7 @@ let af = class extends sf {
|
|
|
966
966
|
});
|
|
967
967
|
} else {
|
|
968
968
|
for (let g = 0; g < l.length; g++) {
|
|
969
|
-
if (m.push(
|
|
969
|
+
if (m.push(ur(l[g], this.clientWidth, this.clientHeight)), m.length < 3)
|
|
970
970
|
continue;
|
|
971
971
|
const { control: v, end: A } = Eo(m);
|
|
972
972
|
!v || !A || a.quadraticCurveTo(v.x, v.y, A.x, A.y);
|
|
@@ -1313,7 +1313,7 @@ function Dn(...i) {
|
|
|
1313
1313
|
}), t.divideScalar(i.length), t;
|
|
1314
1314
|
}
|
|
1315
1315
|
const Od = 1, ff = `CSS3DObjectPlus@${Od}`, mf = 216e-5, pf = 3e-3;
|
|
1316
|
-
class gf extends
|
|
1316
|
+
class gf extends Or {
|
|
1317
1317
|
constructor(e) {
|
|
1318
1318
|
var x, E, T;
|
|
1319
1319
|
const n = e.container, o = e.cornerPoints, s = (x = e.ratio) != null ? x : pf, r = (E = e.dpr) != null ? E : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(mf, 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);
|
|
@@ -1490,7 +1490,7 @@ class yf extends Bd {
|
|
|
1490
1490
|
}), super.add(...e), this;
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
|
-
const wf = 3,
|
|
1493
|
+
const wf = 3, Rr = "CSS3DRenderer", Hi = `${Rr}@${wf}`, Gn = () => {
|
|
1494
1494
|
console.error(`${Hi} is disposed`);
|
|
1495
1495
|
}, We = {
|
|
1496
1496
|
css3DObjects: [],
|
|
@@ -1613,7 +1613,7 @@ class Ki {
|
|
|
1613
1613
|
});
|
|
1614
1614
|
f(this, "createObject", (t, e) => {
|
|
1615
1615
|
const n = new gf(G({ cornerPoints: t }, e));
|
|
1616
|
-
return n.element.classList.add(`${
|
|
1616
|
+
return n.element.classList.add(`${Rr}__container`), n.element.id = `${Rr}__container--${n.uuid}`, n;
|
|
1617
1617
|
});
|
|
1618
1618
|
t && this.setScene(t);
|
|
1619
1619
|
}
|
|
@@ -1745,9 +1745,9 @@ class Ki {
|
|
|
1745
1745
|
handleDisable() {
|
|
1746
1746
|
var t, e, n;
|
|
1747
1747
|
this.store.frontModeGroup.children.forEach((o) => {
|
|
1748
|
-
o instanceof
|
|
1748
|
+
o instanceof Or && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
|
|
1749
1749
|
}), (t = this.store.behindModeGroup) == null || t.children.forEach((o) => {
|
|
1750
|
-
o instanceof
|
|
1750
|
+
o instanceof Or && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
|
|
1751
1751
|
}), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((n = this.getBehindCSS3DScene()) == null || n.remove(this.store.behindModeGroup));
|
|
1752
1752
|
}
|
|
1753
1753
|
handleDispose() {
|
|
@@ -1777,14 +1777,14 @@ xt.style.height = "100%";
|
|
|
1777
1777
|
xt.style.pointerEvents = "none";
|
|
1778
1778
|
function Qd(i) {
|
|
1779
1779
|
var n, o, s, r, a;
|
|
1780
|
-
const t = (a = (o =
|
|
1780
|
+
const t = (a = (o = fr(i.getElement())) != null ? o : fr((n = i.getElement()) == null ? void 0 : n.parentElement)) != null ? a : fr((r = (s = i.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
|
|
1781
1781
|
if (e)
|
|
1782
1782
|
return e.contains(xt) || t.parentElement.insertBefore(xt, t), xt;
|
|
1783
1783
|
console.error(
|
|
1784
1784
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
1785
1785
|
);
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1787
|
+
function fr(i) {
|
|
1788
1788
|
var a;
|
|
1789
1789
|
if (!i)
|
|
1790
1790
|
return;
|
|
@@ -1795,7 +1795,7 @@ function ur(i) {
|
|
|
1795
1795
|
if (!(n !== "transparent" && n !== "rgba(0, 0, 0, 0)" && n !== "" || o !== "none" && o !== ""))
|
|
1796
1796
|
return i;
|
|
1797
1797
|
}
|
|
1798
|
-
class
|
|
1798
|
+
class Qr {
|
|
1799
1799
|
constructor(t = 0, e = 0) {
|
|
1800
1800
|
f(this, "min");
|
|
1801
1801
|
f(this, "max");
|
|
@@ -1821,7 +1821,7 @@ class If {
|
|
|
1821
1821
|
f(this, "xInterval");
|
|
1822
1822
|
f(this, "yInterval");
|
|
1823
1823
|
f(this, "isRectangle", !0);
|
|
1824
|
-
this.min = t, this.max = e, this.xInterval = new
|
|
1824
|
+
this.min = t, this.max = e, this.xInterval = new Qr(this.min.x, this.max.x), this.yInterval = new Qr(this.min.y, this.max.y);
|
|
1825
1825
|
}
|
|
1826
1826
|
/** 是否与矩形是否重叠 */
|
|
1827
1827
|
isOverlapWithRectangle(t) {
|
|
@@ -1832,11 +1832,11 @@ class If {
|
|
|
1832
1832
|
return this.xInterval.contains(t.xInterval) && this.yInterval.contains(t.yInterval);
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
|
-
function
|
|
1835
|
+
function ca(i) {
|
|
1836
1836
|
return i === "Panorama" || i === "DepthPanorama" || i === "VRPanorama" || i === "XRPanorama";
|
|
1837
1837
|
}
|
|
1838
1838
|
function Hd(i) {
|
|
1839
|
-
return !
|
|
1839
|
+
return !ca(i);
|
|
1840
1840
|
}
|
|
1841
1841
|
function Do(i, t, e) {
|
|
1842
1842
|
const n = i[t], o = i[e];
|
|
@@ -2092,7 +2092,7 @@ class Xd {
|
|
|
2092
2092
|
f(this, "disposeCss3DObject");
|
|
2093
2093
|
f(this, "state", { enabled: !1 });
|
|
2094
2094
|
this.five = t;
|
|
2095
|
-
const n = 0.4 / 2, s =
|
|
2095
|
+
const n = 0.4 / 2, s = us(t).create3DDomContainer(
|
|
2096
2096
|
[
|
|
2097
2097
|
[-n, n, 0],
|
|
2098
2098
|
[-n, -n, 0],
|
|
@@ -2122,7 +2122,7 @@ class Xd {
|
|
|
2122
2122
|
/** 缩放动画 */
|
|
2123
2123
|
doAnimation() {
|
|
2124
2124
|
var t;
|
|
2125
|
-
(t = this.animeIns) == null || t.dispose(), new
|
|
2125
|
+
(t = this.animeIns) == null || t.dispose(), new cs({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(Dt.Quadratic.InOut).onUpdate(({ progress: e }) => {
|
|
2126
2126
|
}).play();
|
|
2127
2127
|
}
|
|
2128
2128
|
dispose() {
|
|
@@ -2174,10 +2174,10 @@ function Bf(i) {
|
|
|
2174
2174
|
function di(i) {
|
|
2175
2175
|
return i != null;
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function da(i) {
|
|
2178
2178
|
return i.indexOf("//") === 0 || /^[0-9a-z]+\:\/\//i.test(i);
|
|
2179
2179
|
}
|
|
2180
|
-
class
|
|
2180
|
+
class cs extends ls {
|
|
2181
2181
|
constructor() {
|
|
2182
2182
|
super(...arguments);
|
|
2183
2183
|
f(this, "disposeMethods", []);
|
|
@@ -2197,13 +2197,13 @@ class ls extends as {
|
|
|
2197
2197
|
});
|
|
2198
2198
|
}
|
|
2199
2199
|
}
|
|
2200
|
-
function
|
|
2201
|
-
const e = new
|
|
2200
|
+
function ds(i, t = Dt.Linear.None) {
|
|
2201
|
+
const e = new cs({ progress: 0 }).to({ progress: 1 });
|
|
2202
2202
|
return i !== void 0 && e.duration(i), t !== void 0 && e.easing(t), e;
|
|
2203
2203
|
}
|
|
2204
2204
|
const $i = window.requestAnimationFrame || ((i) => setTimeout(i, 16)), Rf = window.cancelAnimationFrame || clearTimeout;
|
|
2205
|
-
function
|
|
2206
|
-
t <= 0 ? $i(i) : $i(() =>
|
|
2205
|
+
function hs(i, t = 0) {
|
|
2206
|
+
t <= 0 ? $i(i) : $i(() => hs(i, t - 1));
|
|
2207
2207
|
}
|
|
2208
2208
|
function ro(i, t = 60) {
|
|
2209
2209
|
let e = -1, n = 0, o = -1;
|
|
@@ -2225,9 +2225,9 @@ function Qf() {
|
|
|
2225
2225
|
}
|
|
2226
2226
|
const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2227
2227
|
__proto__: null,
|
|
2228
|
-
BetterTween:
|
|
2228
|
+
BetterTween: cs,
|
|
2229
2229
|
FivePointSelector: Of,
|
|
2230
|
-
Interval:
|
|
2230
|
+
Interval: Qr,
|
|
2231
2231
|
Magnifier: Gd,
|
|
2232
2232
|
PointDomHelper: Xd,
|
|
2233
2233
|
PointHelper: Nd,
|
|
@@ -2237,16 +2237,16 @@ const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2237
2237
|
getFrameTime: Qf,
|
|
2238
2238
|
getIntersectFromRelativePosition: Df,
|
|
2239
2239
|
getRaycasterFromFivePointer: xf,
|
|
2240
|
-
isAbsoluteURL:
|
|
2240
|
+
isAbsoluteURL: da,
|
|
2241
2241
|
isModelLike: Hd,
|
|
2242
2242
|
isNil: Bf,
|
|
2243
|
-
isPanoramaLike:
|
|
2244
|
-
nextFrame:
|
|
2243
|
+
isPanoramaLike: ca,
|
|
2244
|
+
nextFrame: hs,
|
|
2245
2245
|
notNil: di,
|
|
2246
2246
|
requestAnimationFrameInterval: ro,
|
|
2247
|
-
tweenProgress:
|
|
2247
|
+
tweenProgress: ds,
|
|
2248
2248
|
uuid: dt
|
|
2249
|
-
}, Symbol.toStringTag, { value: "Module" })), Yd = "v2.0.1",
|
|
2249
|
+
}, Symbol.toStringTag, { value: "Module" })), Yd = "v2.0.1", mr = `CSS3DRenderPlugin@${Yd}`;
|
|
2250
2250
|
let Hf = class extends Ki {
|
|
2251
2251
|
constructor(e) {
|
|
2252
2252
|
super();
|
|
@@ -2294,7 +2294,7 @@ let Hf = class extends Ki {
|
|
|
2294
2294
|
return;
|
|
2295
2295
|
const o = (() => {
|
|
2296
2296
|
var h;
|
|
2297
|
-
(n == null ? void 0 : n.dpr) !== void 0 && console.warn(`${
|
|
2297
|
+
(n == null ? void 0 : n.dpr) !== void 0 && console.warn(`${mr}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
2298
2298
|
const d = {
|
|
2299
2299
|
ratio: 216e-5,
|
|
2300
2300
|
devicePixelRatio: (h = n == null ? void 0 : n.dpr) != null ? h : 1,
|
|
@@ -2304,7 +2304,7 @@ let Hf = class extends Ki {
|
|
|
2304
2304
|
return Object.assign(d, n, (n == null ? void 0 : n.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
2305
2305
|
})(), s = this.five.getElement();
|
|
2306
2306
|
if (!s) {
|
|
2307
|
-
console.error(`${
|
|
2307
|
+
console.error(`${mr}: five.getElement() is ${s}`);
|
|
2308
2308
|
return;
|
|
2309
2309
|
}
|
|
2310
2310
|
const { autoRender: r } = o;
|
|
@@ -2315,7 +2315,7 @@ let Hf = class extends Ki {
|
|
|
2315
2315
|
const l = () => {
|
|
2316
2316
|
const d = a.css3DObject.mode === "front" ? s.parentElement : this.getBehindFiveElement();
|
|
2317
2317
|
if (!d)
|
|
2318
|
-
return console.error(`${
|
|
2318
|
+
return console.error(`${mr}: wrapper is ${d}`);
|
|
2319
2319
|
a.appendToElement(d), a.render();
|
|
2320
2320
|
}, c = () => {
|
|
2321
2321
|
a.css3DObject.mode === "front" && l(), a.css3DObject.mode === "behind" && Rd(this.five).then(() => l());
|
|
@@ -2336,11 +2336,11 @@ let Hf = class extends Ki {
|
|
|
2336
2336
|
return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer = Qd(this.five), this.behindFiveContainer);
|
|
2337
2337
|
}
|
|
2338
2338
|
isAbsoluteURL(e) {
|
|
2339
|
-
return
|
|
2339
|
+
return da(e) ? e : `${this.staticPrefix}${e}`;
|
|
2340
2340
|
}
|
|
2341
2341
|
};
|
|
2342
|
-
const Ud = (i) => new Hf(i),
|
|
2343
|
-
function
|
|
2342
|
+
const Ud = (i) => new Hf(i), us = Ud;
|
|
2343
|
+
function pr(i, t, e = new $(1, 1, 1), n = !1) {
|
|
2344
2344
|
const o = new Td(i, t);
|
|
2345
2345
|
return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
|
|
2346
2346
|
}
|
|
@@ -2361,17 +2361,17 @@ const pI = (i) => {
|
|
|
2361
2361
|
const o = (d, h = 2, u = 0.1) => {
|
|
2362
2362
|
const m = h / 2, v = c(d, u), A = new Kn();
|
|
2363
2363
|
A.add(
|
|
2364
|
-
|
|
2364
|
+
pr(
|
|
2365
2365
|
new $(v.x + m, v.y, v.z),
|
|
2366
2366
|
new $(v.x - m, v.y, v.z),
|
|
2367
2367
|
new $(1, 0, 0)
|
|
2368
2368
|
),
|
|
2369
|
-
|
|
2369
|
+
pr(
|
|
2370
2370
|
new $(v.x, v.y + m, v.z),
|
|
2371
2371
|
new $(v.x, v.y - m, v.z),
|
|
2372
2372
|
new $(0, 1, 0)
|
|
2373
2373
|
),
|
|
2374
|
-
|
|
2374
|
+
pr(
|
|
2375
2375
|
new $(v.x, v.y, v.z + m),
|
|
2376
2376
|
new $(v.x, v.y, v.z - m),
|
|
2377
2377
|
new $(0, 0, 1)
|
|
@@ -2480,16 +2480,16 @@ function Ya(i) {
|
|
|
2480
2480
|
return t ? [parseFloat(t[1]), t[2] || "px"] : [i, "px"];
|
|
2481
2481
|
}
|
|
2482
2482
|
const Zd = typeof window != "undefined";
|
|
2483
|
-
let Kd = Zd ? () => window.performance.now() : () => Date.now(),
|
|
2483
|
+
let Kd = Zd ? () => window.performance.now() : () => Date.now(), ha = Zd ? (i) => requestAnimationFrame(i) : Z;
|
|
2484
2484
|
const $n = /* @__PURE__ */ new Set();
|
|
2485
2485
|
function $d(i) {
|
|
2486
2486
|
$n.forEach((t) => {
|
|
2487
2487
|
t.c(i) || ($n.delete(t), t.f());
|
|
2488
|
-
}), $n.size !== 0 &&
|
|
2488
|
+
}), $n.size !== 0 && ha($d);
|
|
2489
2489
|
}
|
|
2490
2490
|
function eh(i) {
|
|
2491
2491
|
let t;
|
|
2492
|
-
return $n.size === 0 &&
|
|
2492
|
+
return $n.size === 0 && ha($d), {
|
|
2493
2493
|
promise: new Promise((e) => {
|
|
2494
2494
|
$n.add(t = { c: i, f: e });
|
|
2495
2495
|
}),
|
|
@@ -2502,13 +2502,13 @@ function B(i, t) {
|
|
|
2502
2502
|
i.appendChild(t);
|
|
2503
2503
|
}
|
|
2504
2504
|
function fe(i, t, e) {
|
|
2505
|
-
const n =
|
|
2505
|
+
const n = ua(i);
|
|
2506
2506
|
if (!n.getElementById(t)) {
|
|
2507
2507
|
const o = V("style");
|
|
2508
2508
|
o.id = t, o.textContent = e, th(n, o);
|
|
2509
2509
|
}
|
|
2510
2510
|
}
|
|
2511
|
-
function
|
|
2511
|
+
function ua(i) {
|
|
2512
2512
|
if (!i)
|
|
2513
2513
|
return document;
|
|
2514
2514
|
const t = i.getRootNode ? i.getRootNode() : i.ownerDocument;
|
|
@@ -2516,7 +2516,7 @@ function ha(i) {
|
|
|
2516
2516
|
}
|
|
2517
2517
|
function Nf(i) {
|
|
2518
2518
|
const t = V("style");
|
|
2519
|
-
return th(
|
|
2519
|
+
return th(ua(i), t), t.sheet;
|
|
2520
2520
|
}
|
|
2521
2521
|
function th(i, t) {
|
|
2522
2522
|
return B(i.head || i, t), t.sheet;
|
|
@@ -2578,7 +2578,7 @@ function Xf() {
|
|
|
2578
2578
|
}
|
|
2579
2579
|
return Mo;
|
|
2580
2580
|
}
|
|
2581
|
-
function
|
|
2581
|
+
function fs(i, t) {
|
|
2582
2582
|
getComputedStyle(i).position === "static" && (i.style.position = "relative");
|
|
2583
2583
|
const n = V("iframe");
|
|
2584
2584
|
n.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
|
@@ -2645,12 +2645,12 @@ function oh(i, t, e, n, o, s, r, a = 0) {
|
|
|
2645
2645
|
`;
|
|
2646
2646
|
}
|
|
2647
2647
|
const d = c + `100% {${r(e, 1 - e)}}
|
|
2648
|
-
}`, h = `__svelte_${Yf(d)}_${a}`, u =
|
|
2648
|
+
}`, h = `__svelte_${Yf(d)}_${a}`, u = ua(i), { stylesheet: m, rules: g } = Uo.get(u) || Uf(u, i);
|
|
2649
2649
|
g[h] || (g[h] = !0, m.insertRule(`@keyframes ${h} ${d}`, m.cssRules.length));
|
|
2650
2650
|
const v = i.style.animation || "";
|
|
2651
2651
|
return i.style.animation = `${v ? `${v}, ` : ""}${h} ${n}ms linear ${o}ms 1 both`, qo += 1, h;
|
|
2652
2652
|
}
|
|
2653
|
-
function
|
|
2653
|
+
function Hr(i, t) {
|
|
2654
2654
|
const e = (i.style.animation || "").split(", "), n = e.filter(
|
|
2655
2655
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
2656
2656
|
// remove all Svelte animations
|
|
@@ -2658,7 +2658,7 @@ function Qr(i, t) {
|
|
|
2658
2658
|
o && (i.style.animation = n.join(", "), qo -= o, qo || qf());
|
|
2659
2659
|
}
|
|
2660
2660
|
function qf() {
|
|
2661
|
-
|
|
2661
|
+
ha(() => {
|
|
2662
2662
|
qo || (Uo.forEach((i) => {
|
|
2663
2663
|
const { ownerNode: t } = i.stylesheet;
|
|
2664
2664
|
t && _(t);
|
|
@@ -2686,7 +2686,7 @@ function rh(i) {
|
|
|
2686
2686
|
function un(i) {
|
|
2687
2687
|
hn().$$.on_destroy.push(i);
|
|
2688
2688
|
}
|
|
2689
|
-
function
|
|
2689
|
+
function ms() {
|
|
2690
2690
|
const i = hn();
|
|
2691
2691
|
return (t, e, { cancelable: n = !1 } = {}) => {
|
|
2692
2692
|
const o = i.$$.callbacks[t];
|
|
@@ -2699,7 +2699,7 @@ function fs() {
|
|
|
2699
2699
|
return !0;
|
|
2700
2700
|
};
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function Gr(i, t) {
|
|
2703
2703
|
return hn().$$.context.set(i, t), t;
|
|
2704
2704
|
}
|
|
2705
2705
|
function an(i) {
|
|
@@ -2711,10 +2711,10 @@ function gi(i, t) {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
const Yn = [], Ze = [];
|
|
2713
2713
|
let ei = [];
|
|
2714
|
-
const
|
|
2715
|
-
let
|
|
2714
|
+
const Wr = [], ah = /* @__PURE__ */ Promise.resolve();
|
|
2715
|
+
let Nr = !1;
|
|
2716
2716
|
function lh() {
|
|
2717
|
-
|
|
2717
|
+
Nr || (Nr = !0, ah.then(fa));
|
|
2718
2718
|
}
|
|
2719
2719
|
function Ua() {
|
|
2720
2720
|
return lh(), ah;
|
|
@@ -2723,11 +2723,11 @@ function ot(i) {
|
|
|
2723
2723
|
ei.push(i);
|
|
2724
2724
|
}
|
|
2725
2725
|
function ch(i) {
|
|
2726
|
-
|
|
2726
|
+
Wr.push(i);
|
|
2727
2727
|
}
|
|
2728
|
-
const
|
|
2728
|
+
const gr = /* @__PURE__ */ new Set();
|
|
2729
2729
|
let Wn = 0;
|
|
2730
|
-
function
|
|
2730
|
+
function fa() {
|
|
2731
2731
|
if (Wn !== 0)
|
|
2732
2732
|
return;
|
|
2733
2733
|
const i = eo;
|
|
@@ -2744,13 +2744,13 @@ function ua() {
|
|
|
2744
2744
|
Ze.pop()();
|
|
2745
2745
|
for (let t = 0; t < ei.length; t += 1) {
|
|
2746
2746
|
const e = ei[t];
|
|
2747
|
-
|
|
2747
|
+
gr.has(e) || (gr.add(e), e());
|
|
2748
2748
|
}
|
|
2749
2749
|
ei.length = 0;
|
|
2750
2750
|
} while (Yn.length);
|
|
2751
|
-
for (;
|
|
2752
|
-
|
|
2753
|
-
|
|
2751
|
+
for (; Wr.length; )
|
|
2752
|
+
Wr.pop()();
|
|
2753
|
+
Nr = !1, gr.clear(), Ut(i);
|
|
2754
2754
|
}
|
|
2755
2755
|
function Jf(i) {
|
|
2756
2756
|
if (i.fragment !== null) {
|
|
@@ -2803,7 +2803,7 @@ function Sn(i, t, e) {
|
|
|
2803
2803
|
const n = { direction: "in" };
|
|
2804
2804
|
let o = t(i, e, n), s = !1, r, a, l = 0;
|
|
2805
2805
|
function c() {
|
|
2806
|
-
r &&
|
|
2806
|
+
r && Hr(i, r);
|
|
2807
2807
|
}
|
|
2808
2808
|
function d() {
|
|
2809
2809
|
const { delay: u = 0, duration: m = 300, easing: g = rn, tick: v = Z, css: A } = o || hh;
|
|
@@ -2824,7 +2824,7 @@ function Sn(i, t, e) {
|
|
|
2824
2824
|
let h = !1;
|
|
2825
2825
|
return {
|
|
2826
2826
|
start() {
|
|
2827
|
-
h || (h = !0,
|
|
2827
|
+
h || (h = !0, Hr(i), hi(o) ? (o = o(n), dh().then(d)) : d());
|
|
2828
2828
|
},
|
|
2829
2829
|
invalidate() {
|
|
2830
2830
|
h = !1;
|
|
@@ -2859,7 +2859,7 @@ function vi(i, t, e) {
|
|
|
2859
2859
|
o = o(n), l();
|
|
2860
2860
|
}) : l(), {
|
|
2861
2861
|
end(c) {
|
|
2862
|
-
c && o.tick && o.tick(1, 0), s && (r &&
|
|
2862
|
+
c && o.tick && o.tick(1, 0), s && (r && Hr(i, r), s = !1);
|
|
2863
2863
|
}
|
|
2864
2864
|
};
|
|
2865
2865
|
}
|
|
@@ -2877,7 +2877,7 @@ function Zo(i, t) {
|
|
|
2877
2877
|
u !== s && h && (de(), L(h, 1, 1, () => {
|
|
2878
2878
|
t.blocks[u] === h && (t.blocks[u] = null);
|
|
2879
2879
|
}), he());
|
|
2880
|
-
}) : t.block.d(1), c.c(), k(c, 1), c.m(t.mount(), t.anchor), d = !0), t.block = c, t.blocks && (t.blocks[s] = c), d &&
|
|
2880
|
+
}) : t.block.d(1), c.c(), k(c, 1), c.m(t.mount(), t.anchor), d = !0), t.block = c, t.blocks && (t.blocks[s] = c), d && fa();
|
|
2881
2881
|
}
|
|
2882
2882
|
if (Gf(i)) {
|
|
2883
2883
|
const o = hn();
|
|
@@ -2899,7 +2899,7 @@ function uh(i, t, e) {
|
|
|
2899
2899
|
i.current === i.then && (n[i.value] = o), i.current === i.catch && (n[i.error] = o), i.block.p(n, e);
|
|
2900
2900
|
}
|
|
2901
2901
|
const Kf = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
|
|
2902
|
-
function
|
|
2902
|
+
function ma(i, t) {
|
|
2903
2903
|
i.d(1), t.delete(i.key);
|
|
2904
2904
|
}
|
|
2905
2905
|
function fn(i, t) {
|
|
@@ -3012,7 +3012,7 @@ function le(i, t, e, n, o, s, r, a = [-1]) {
|
|
|
3012
3012
|
c.fragment && c.fragment.l(h), h.forEach(_);
|
|
3013
3013
|
} else
|
|
3014
3014
|
c.fragment && c.fragment.c();
|
|
3015
|
-
t.intro && k(i.$$.fragment), ee(i, t.target, t.anchor, t.customElement),
|
|
3015
|
+
t.intro && k(i.$$.fragment), ee(i, t.target, t.anchor, t.customElement), fa();
|
|
3016
3016
|
}
|
|
3017
3017
|
Ut(l);
|
|
3018
3018
|
}
|
|
@@ -3174,7 +3174,7 @@ var ph = function() {
|
|
|
3174
3174
|
}, t;
|
|
3175
3175
|
}()
|
|
3176
3176
|
);
|
|
3177
|
-
}(),
|
|
3177
|
+
}(), Fr = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Ko = function() {
|
|
3178
3178
|
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
3179
3179
|
}(), sm = function() {
|
|
3180
3180
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ko) : function(i) {
|
|
@@ -3225,14 +3225,14 @@ var lm = 20, cm = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
3225
3225
|
return e.broadcastActive();
|
|
3226
3226
|
}), t.length > 0;
|
|
3227
3227
|
}, i.prototype.connect_ = function() {
|
|
3228
|
-
!
|
|
3228
|
+
!Fr || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), dm ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
3229
3229
|
attributes: !0,
|
|
3230
3230
|
childList: !0,
|
|
3231
3231
|
characterData: !0,
|
|
3232
3232
|
subtree: !0
|
|
3233
3233
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
3234
3234
|
}, i.prototype.disconnect_ = function() {
|
|
3235
|
-
!
|
|
3235
|
+
!Fr || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
3236
3236
|
}, i.prototype.onTransitionEnd_ = function(t) {
|
|
3237
3237
|
var e = t.propertyName, n = e === void 0 ? "" : e, o = cm.some(function(s) {
|
|
3238
3238
|
return !!~n.indexOf(s);
|
|
@@ -3256,7 +3256,7 @@ var lm = 20, cm = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
3256
3256
|
}, ii = function(i) {
|
|
3257
3257
|
var t = i && i.ownerDocument && i.ownerDocument.defaultView;
|
|
3258
3258
|
return t || Ko;
|
|
3259
|
-
}, vh =
|
|
3259
|
+
}, vh = ps(0, 0, 0, 0);
|
|
3260
3260
|
function $o(i) {
|
|
3261
3261
|
return parseFloat(i) || 0;
|
|
3262
3262
|
}
|
|
@@ -3277,7 +3277,7 @@ function um(i) {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
function fm(i) {
|
|
3279
3279
|
var t = i.getBBox();
|
|
3280
|
-
return
|
|
3280
|
+
return ps(0, 0, t.width, t.height);
|
|
3281
3281
|
}
|
|
3282
3282
|
function mm(i) {
|
|
3283
3283
|
var t = i.clientWidth, e = i.clientHeight;
|
|
@@ -3288,7 +3288,7 @@ function mm(i) {
|
|
|
3288
3288
|
var c = Math.round(a + s) - t, d = Math.round(l + r) - e;
|
|
3289
3289
|
Math.abs(c) !== 1 && (a -= c), Math.abs(d) !== 1 && (l -= d);
|
|
3290
3290
|
}
|
|
3291
|
-
return
|
|
3291
|
+
return ps(o.left, o.top, a, l);
|
|
3292
3292
|
}
|
|
3293
3293
|
var pm = function() {
|
|
3294
3294
|
return typeof SVGGraphicsElement != "undefined" ? function(i) {
|
|
@@ -3301,7 +3301,7 @@ function gm(i) {
|
|
|
3301
3301
|
return i === ii(i).document.documentElement;
|
|
3302
3302
|
}
|
|
3303
3303
|
function vm(i) {
|
|
3304
|
-
return
|
|
3304
|
+
return Fr ? pm(i) ? fm(i) : mm(i) : vh;
|
|
3305
3305
|
}
|
|
3306
3306
|
function Am(i) {
|
|
3307
3307
|
var t = i.x, e = i.y, n = i.width, o = i.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, r = Object.create(s.prototype);
|
|
@@ -3316,14 +3316,14 @@ function Am(i) {
|
|
|
3316
3316
|
left: t
|
|
3317
3317
|
}), r;
|
|
3318
3318
|
}
|
|
3319
|
-
function
|
|
3319
|
+
function ps(i, t, e, n) {
|
|
3320
3320
|
return { x: i, y: t, width: e, height: n };
|
|
3321
3321
|
}
|
|
3322
3322
|
var bm = (
|
|
3323
3323
|
/** @class */
|
|
3324
3324
|
function() {
|
|
3325
3325
|
function i(t) {
|
|
3326
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
3326
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = ps(0, 0, 0, 0), this.target = t;
|
|
3327
3327
|
}
|
|
3328
3328
|
return i.prototype.isActive = function() {
|
|
3329
3329
|
var t = vm(this.target);
|
|
@@ -3708,7 +3708,7 @@ function oi(i) {
|
|
|
3708
3708
|
function es(i) {
|
|
3709
3709
|
return Object.prototype.toString.call(i) === "[object Object]";
|
|
3710
3710
|
}
|
|
3711
|
-
function
|
|
3711
|
+
function gs(i, t) {
|
|
3712
3712
|
return i === t ? !0 : typeof i != typeof t ? !1 : !!(Number.isNaN(i) && Number.isNaN(t));
|
|
3713
3713
|
}
|
|
3714
3714
|
function Mm(i, t) {
|
|
@@ -3717,7 +3717,7 @@ function Mm(i, t) {
|
|
|
3717
3717
|
return !1;
|
|
3718
3718
|
for (let o = 0, s = e.length; o < s; o++) {
|
|
3719
3719
|
const r = e[o];
|
|
3720
|
-
if (!
|
|
3720
|
+
if (!gs(i[r], t[r]))
|
|
3721
3721
|
return !1;
|
|
3722
3722
|
}
|
|
3723
3723
|
return !0;
|
|
@@ -3726,21 +3726,21 @@ function Lm(i, t) {
|
|
|
3726
3726
|
if (i.length !== t.length)
|
|
3727
3727
|
return !1;
|
|
3728
3728
|
for (let e = 0, n = i.length; e < n; e++)
|
|
3729
|
-
if (!
|
|
3729
|
+
if (!gs(i[e], t[e]))
|
|
3730
3730
|
return !1;
|
|
3731
3731
|
return !0;
|
|
3732
3732
|
}
|
|
3733
3733
|
function Tm(i, t) {
|
|
3734
|
-
return
|
|
3734
|
+
return gs(i, t) ? !0 : es(i) && es(t) ? Mm(i, t) : Array.isArray(i) && Array.isArray(t) ? Lm(i, t) : !1;
|
|
3735
3735
|
}
|
|
3736
|
-
function
|
|
3737
|
-
return
|
|
3736
|
+
function pa(i, t) {
|
|
3737
|
+
return gs(i, t) ? !0 : es(i) && es(t) ? jm(i, t) : Array.isArray(i) && Array.isArray(t) ? zm(i, t) : !1;
|
|
3738
3738
|
}
|
|
3739
3739
|
function zm(i, t) {
|
|
3740
3740
|
if (i.length !== t.length)
|
|
3741
3741
|
return !1;
|
|
3742
3742
|
for (let e = 0, n = i.length; e < n; e++)
|
|
3743
|
-
if (!
|
|
3743
|
+
if (!pa(i[e], t[e]))
|
|
3744
3744
|
return !1;
|
|
3745
3745
|
return !0;
|
|
3746
3746
|
}
|
|
@@ -3750,13 +3750,13 @@ function jm(i, t) {
|
|
|
3750
3750
|
return !1;
|
|
3751
3751
|
for (let o = 0, s = e.length; o < s; o++) {
|
|
3752
3752
|
const r = e[o];
|
|
3753
|
-
if (!
|
|
3753
|
+
if (!pa(i[r], t[r]))
|
|
3754
3754
|
return !1;
|
|
3755
3755
|
}
|
|
3756
3756
|
return !0;
|
|
3757
3757
|
}
|
|
3758
3758
|
function Vt(i, t, e = { deep: !1 }) {
|
|
3759
|
-
return e.deep ?
|
|
3759
|
+
return e.deep ? pa(i, t) : Tm(i, t);
|
|
3760
3760
|
}
|
|
3761
3761
|
function si(i) {
|
|
3762
3762
|
return i < 0.5 ? 4 * i * i * i : 0.5 * Math.pow(2 * i - 2, 3) + 1;
|
|
@@ -3978,7 +3978,7 @@ class Fm extends ce {
|
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
const Nn = [];
|
|
3981
|
-
function
|
|
3981
|
+
function ga(i, t = Z) {
|
|
3982
3982
|
let e;
|
|
3983
3983
|
const n = /* @__PURE__ */ new Set();
|
|
3984
3984
|
function o(a) {
|
|
@@ -4869,7 +4869,7 @@ function vp(i) {
|
|
|
4869
4869
|
}
|
|
4870
4870
|
v & /*rulerTexts, isRow, getRuleDistanceText*/
|
|
4871
4871
|
22 && (u = /*rulerTexts*/
|
|
4872
|
-
g[4], a = Lt(a, v, m, 1, g, u, l, r,
|
|
4872
|
+
g[4], a = Lt(a, v, m, 1, g, u, l, r, ma, al, null, ol)), v & /*type*/
|
|
4873
4873
|
1 && c !== (c = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
|
|
4874
4874
|
g[0] + " svelte-djlmk4") && w(t, "class", c), v & /*type, isRow*/
|
|
4875
4875
|
5 && K(
|
|
@@ -5121,7 +5121,7 @@ class Pp extends ce {
|
|
|
5121
5121
|
);
|
|
5122
5122
|
}
|
|
5123
5123
|
}
|
|
5124
|
-
function
|
|
5124
|
+
function vs(i, t = {}) {
|
|
5125
5125
|
let e = "";
|
|
5126
5126
|
const { needZ: n, needA: o } = t;
|
|
5127
5127
|
return (n ? i.slice().concat(i[0]) : i.slice()).forEach((r, a) => {
|
|
@@ -5185,7 +5185,7 @@ function Dp(i, t, e) {
|
|
|
5185
5185
|
"path" in s && e(1, o = s.path);
|
|
5186
5186
|
}, i.$$.update = () => {
|
|
5187
5187
|
i.$$.dirty & /*path*/
|
|
5188
|
-
2 && e(0, n =
|
|
5188
|
+
2 && e(0, n = vs(o, { needZ: !0 }));
|
|
5189
5189
|
}, [n, o];
|
|
5190
5190
|
}
|
|
5191
5191
|
class Sp extends ce {
|
|
@@ -5248,15 +5248,15 @@ function Mp(i) {
|
|
|
5248
5248
|
}
|
|
5249
5249
|
};
|
|
5250
5250
|
}
|
|
5251
|
-
const
|
|
5251
|
+
const vr = 6;
|
|
5252
5252
|
function Lp(i, t, e) {
|
|
5253
5253
|
let n, { path: o } = t;
|
|
5254
|
-
const s =
|
|
5254
|
+
const s = vr * 2, r = `M0 ${vr} h ${s} M${vr} 0 v ${s}`;
|
|
5255
5255
|
return i.$$set = (a) => {
|
|
5256
5256
|
"path" in a && e(3, o = a.path);
|
|
5257
5257
|
}, i.$$.update = () => {
|
|
5258
5258
|
i.$$.dirty & /*path*/
|
|
5259
|
-
8 && e(0, n =
|
|
5259
|
+
8 && e(0, n = vs(o, { needZ: !0 }));
|
|
5260
5260
|
}, [n, s, r, o];
|
|
5261
5261
|
}
|
|
5262
5262
|
class Tp extends ce {
|
|
@@ -5322,7 +5322,7 @@ function jp(i, t, e) {
|
|
|
5322
5322
|
"path" in s && e(1, o = s.path);
|
|
5323
5323
|
}, i.$$.update = () => {
|
|
5324
5324
|
i.$$.dirty & /*path*/
|
|
5325
|
-
2 && e(0, n =
|
|
5325
|
+
2 && e(0, n = vs(o, { needZ: !0 }));
|
|
5326
5326
|
}, [n, o];
|
|
5327
5327
|
}
|
|
5328
5328
|
class _p extends ce {
|
|
@@ -5599,7 +5599,7 @@ function Fp(i, t, e) {
|
|
|
5599
5599
|
function h() {
|
|
5600
5600
|
l.set(void 0);
|
|
5601
5601
|
}
|
|
5602
|
-
const { bounding: u } = a, m =
|
|
5602
|
+
const { bounding: u } = a, m = vs(s.path, {
|
|
5603
5603
|
needZ: !0,
|
|
5604
5604
|
format: (g) => Ph(g, u)
|
|
5605
5605
|
});
|
|
@@ -6156,7 +6156,7 @@ function Zp(i) {
|
|
|
6156
6156
|
}
|
|
6157
6157
|
function Kp(i, t, e) {
|
|
6158
6158
|
let { isCurrent: n } = t, { floorIndex: o } = t, { highlightEnable: s } = t, { hoverEnable: r } = t, { roomLabelsEnable: a } = t, { roomAreaEnable: l } = t, { roomNameEnable: c } = t, { ruleLabelsEnable: d } = t, { floorplanData: h } = t, { getRoomAreaText: u } = t, { getLabelElement: m } = t, { getRuleDistanceText: g } = t, { adaptiveRoomLabelVisibleEnable: v } = t, { highlightData: A } = t;
|
|
6159
|
-
const b =
|
|
6159
|
+
const b = ga(void 0);
|
|
6160
6160
|
return i.$$set = (y) => {
|
|
6161
6161
|
"isCurrent" in y && e(0, n = y.isCurrent), "floorIndex" in y && e(1, o = y.floorIndex), "highlightEnable" in y && e(2, s = y.highlightEnable), "hoverEnable" in y && e(3, r = y.hoverEnable), "roomLabelsEnable" in y && e(4, a = y.roomLabelsEnable), "roomAreaEnable" in y && e(5, l = y.roomAreaEnable), "roomNameEnable" in y && e(6, c = y.roomNameEnable), "ruleLabelsEnable" in y && e(7, d = y.ruleLabelsEnable), "floorplanData" in y && e(8, h = y.floorplanData), "getRoomAreaText" in y && e(9, u = y.getRoomAreaText), "getLabelElement" in y && e(10, m = y.getLabelElement), "getRuleDistanceText" in y && e(11, g = y.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in y && e(12, v = y.adaptiveRoomLabelVisibleEnable), "highlightData" in y && e(13, A = y.highlightData);
|
|
6162
6162
|
}, [
|
|
@@ -6616,7 +6616,7 @@ function ng(i, t, e) {
|
|
|
6616
6616
|
T
|
|
6617
6617
|
];
|
|
6618
6618
|
}
|
|
6619
|
-
let
|
|
6619
|
+
let va = class extends ce {
|
|
6620
6620
|
constructor(t) {
|
|
6621
6621
|
super(), le(
|
|
6622
6622
|
this,
|
|
@@ -6737,7 +6737,7 @@ function cg(i, t, e) {
|
|
|
6737
6737
|
function dg(i, t) {
|
|
6738
6738
|
return t(i), i;
|
|
6739
6739
|
}
|
|
6740
|
-
function
|
|
6740
|
+
function As(i, t) {
|
|
6741
6741
|
return dg({}, (e) => {
|
|
6742
6742
|
for (const n in i)
|
|
6743
6743
|
t.indexOf(n) === -1 && (e[n] = i[n]);
|
|
@@ -6749,12 +6749,12 @@ function Il(i, t) {
|
|
|
6749
6749
|
...i.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
|
|
6750
6750
|
);
|
|
6751
6751
|
}
|
|
6752
|
-
function
|
|
6752
|
+
function Aa(i, t, e = Pn.BOUNDING_CENTER) {
|
|
6753
6753
|
const n = Il(i, t), o = Il(i, t + 1);
|
|
6754
6754
|
return e === Pn.BOUNDING_CENTER ? (i.model.bounding.max.y + i.model.bounding.min.y) / 2 : e === Pn.CEILING ? o : n;
|
|
6755
6755
|
}
|
|
6756
|
-
function
|
|
6757
|
-
const o =
|
|
6756
|
+
function ba(i, t, e, n) {
|
|
6757
|
+
const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new I.Vector3(0, o, 0), r = new I.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
|
|
6758
6758
|
return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
6759
6759
|
}
|
|
6760
6760
|
let ao = class {
|
|
@@ -6762,7 +6762,7 @@ let ao = class {
|
|
|
6762
6762
|
/**
|
|
6763
6763
|
* @realsee/dnalogel 版本号
|
|
6764
6764
|
*/
|
|
6765
|
-
f(this, "VERSION", "2.19.0-
|
|
6765
|
+
f(this, "VERSION", "2.19.0-1");
|
|
6766
6766
|
f(this, "five");
|
|
6767
6767
|
/**
|
|
6768
6768
|
* 插件事件钩子
|
|
@@ -6778,16 +6778,16 @@ let ao = class {
|
|
|
6778
6778
|
return this.state;
|
|
6779
6779
|
}
|
|
6780
6780
|
isAbsoluteURL(t) {
|
|
6781
|
-
return
|
|
6781
|
+
return da(t) ? t : `${this.staticPrefix}${t}`;
|
|
6782
6782
|
}
|
|
6783
6783
|
}, Mn = class extends ao {
|
|
6784
6784
|
};
|
|
6785
6785
|
var vt = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(vt || {});
|
|
6786
6786
|
const Eh = 500, hg = 80;
|
|
6787
|
-
function
|
|
6787
|
+
function Xr(i, t, e = 4) {
|
|
6788
6788
|
return Math.floor(i * Math.pow(10, e)) === Math.floor(t * Math.pow(10, e));
|
|
6789
6789
|
}
|
|
6790
|
-
function
|
|
6790
|
+
function ya(i, t) {
|
|
6791
6791
|
return F(this, null, function* () {
|
|
6792
6792
|
const [e] = yield oi(i.changeMode(...t));
|
|
6793
6793
|
if (e)
|
|
@@ -6811,22 +6811,22 @@ function ug(i, t) {
|
|
|
6811
6811
|
if (n === void 0)
|
|
6812
6812
|
return !0;
|
|
6813
6813
|
const o = i[e];
|
|
6814
|
-
return typeof n == "number" && typeof o == "number" ?
|
|
6814
|
+
return typeof n == "number" && typeof o == "number" ? Xr(n, o, 2) : n === o;
|
|
6815
6815
|
});
|
|
6816
6816
|
}
|
|
6817
|
-
function
|
|
6817
|
+
function wa(i, t) {
|
|
6818
6818
|
if (i.currentMode !== t.mode)
|
|
6819
6819
|
return !1;
|
|
6820
6820
|
const { latitude: e, longitude: n, fov: o } = t, { latitude: s, longitude: r } = i.getCurrentState(), a = i.camera.fov;
|
|
6821
|
-
return !(!
|
|
6821
|
+
return !(!Xr(e, s, 2) || !Xr(n, r, 2) || o !== a);
|
|
6822
6822
|
}
|
|
6823
6823
|
function kh(i, t, e = !0) {
|
|
6824
6824
|
return F(this, null, function* () {
|
|
6825
|
-
if (
|
|
6825
|
+
if (wa(i, t) === !0)
|
|
6826
6826
|
return;
|
|
6827
6827
|
const o = i.getCurrentState();
|
|
6828
6828
|
if (o.mode !== t.mode) {
|
|
6829
|
-
const [d] = yield oi(
|
|
6829
|
+
const [d] = yield oi(ya(i, [t.mode, t, void 0, e]));
|
|
6830
6830
|
if (d)
|
|
6831
6831
|
throw new Error(vt.ChangeModeError);
|
|
6832
6832
|
return;
|
|
@@ -6923,9 +6923,9 @@ let pg = class extends Mn {
|
|
|
6923
6923
|
}));
|
|
6924
6924
|
/** 更新户型图大小 */
|
|
6925
6925
|
f(this, "updateSize", () => {
|
|
6926
|
-
if (!this.data || !
|
|
6926
|
+
if (!this.data || !wa(this.five, this.showState) || !this.container || !this.wrapper)
|
|
6927
6927
|
return;
|
|
6928
|
-
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a =
|
|
6928
|
+
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = ba(this.five, this.wrapper, this.floorIndex, r), l = Math.ceil(o * a), c = Math.ceil(s * a);
|
|
6929
6929
|
this.size.width === l && this.size.height === c || (this.container.style.width = l + "px", this.container.style.height = c + "px", this.size = { width: l, height: c });
|
|
6930
6930
|
});
|
|
6931
6931
|
f(this, "highlight", (e) => {
|
|
@@ -7083,7 +7083,7 @@ let pg = class extends Mn {
|
|
|
7083
7083
|
getLabelElement: void 0,
|
|
7084
7084
|
getRoomAreaText: (l) => (l / 1e6).toFixed(1) + "㎡",
|
|
7085
7085
|
getRuleDistanceText: (l) => l.toString()
|
|
7086
|
-
}, s = n ?
|
|
7086
|
+
}, s = n ? As(n, ["selector", "scale"]) : {}, r = G(G({}, o), s);
|
|
7087
7087
|
this.state = {
|
|
7088
7088
|
enabled: !0,
|
|
7089
7089
|
visible: !1,
|
|
@@ -7179,7 +7179,7 @@ let pg = class extends Mn {
|
|
|
7179
7179
|
});
|
|
7180
7180
|
if (this.app)
|
|
7181
7181
|
return this.app.$set(n);
|
|
7182
|
-
this.app = new
|
|
7182
|
+
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7183
7183
|
}
|
|
7184
7184
|
};
|
|
7185
7185
|
const II = (i, t) => new pg(i, t);
|
|
@@ -7252,9 +7252,9 @@ let Ag = class extends Mn {
|
|
|
7252
7252
|
}));
|
|
7253
7253
|
/** 更新户型图大小 */
|
|
7254
7254
|
f(this, "updateSize", () => {
|
|
7255
|
-
if (!this.data || !
|
|
7255
|
+
if (!this.data || !wa(this.five, this.showState) || !this.container || !this.wrapper)
|
|
7256
7256
|
return;
|
|
7257
|
-
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a =
|
|
7257
|
+
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = ba(this.five, this.wrapper, this.floorIndex, r), l = Math.ceil(o * a), c = Math.ceil(s * a);
|
|
7258
7258
|
this.size.width === l && this.size.height === c || (this.container.style.width = l + "px", this.container.style.height = c + "px", this.size = { width: l, height: c });
|
|
7259
7259
|
});
|
|
7260
7260
|
f(this, "highlight", (e) => {
|
|
@@ -7408,7 +7408,7 @@ let Ag = class extends Mn {
|
|
|
7408
7408
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
7409
7409
|
getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "㎡",
|
|
7410
7410
|
getRuleDistanceText: (a) => a.toString()
|
|
7411
|
-
}, s = n ?
|
|
7411
|
+
}, s = n ? As(n, ["selector", "scale"]) : {}, r = G(G({}, o), s);
|
|
7412
7412
|
this.state = {
|
|
7413
7413
|
enabled: !0,
|
|
7414
7414
|
visible: !1,
|
|
@@ -7459,7 +7459,7 @@ let Ag = class extends Mn {
|
|
|
7459
7459
|
/** 更新户型图位置 */
|
|
7460
7460
|
updatePosition() {
|
|
7461
7461
|
var a;
|
|
7462
|
-
const e =
|
|
7462
|
+
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
|
|
7463
7463
|
if (!n)
|
|
7464
7464
|
return;
|
|
7465
7465
|
const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
|
|
@@ -7512,7 +7512,7 @@ let Ag = class extends Mn {
|
|
|
7512
7512
|
});
|
|
7513
7513
|
if (this.app)
|
|
7514
7514
|
return this.app.$set(n);
|
|
7515
|
-
this.app = new
|
|
7515
|
+
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7516
7516
|
}
|
|
7517
7517
|
};
|
|
7518
7518
|
const kI = (i, t) => new Ag(i, t);
|
|
@@ -7546,7 +7546,7 @@ let bg = class extends Mn {
|
|
|
7546
7546
|
f(this, "updateSize", () => {
|
|
7547
7547
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
7548
7548
|
return;
|
|
7549
|
-
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a =
|
|
7549
|
+
const { min: e, max: n } = this.data.bounding, o = n.x - e.x, s = n.y - e.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = ba(this.five, this.wrapper, this.floorIndex, r), l = Math.ceil(o * a), c = Math.ceil(s * a);
|
|
7550
7550
|
this.size.width === l && this.size.height === c || (this.container.style.width = l + "px", this.container.style.height = c + "px", this.size = { width: l, height: c });
|
|
7551
7551
|
});
|
|
7552
7552
|
/** 销毁插件 */
|
|
@@ -7628,7 +7628,7 @@ let bg = class extends Mn {
|
|
|
7628
7628
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
7629
7629
|
getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "㎡",
|
|
7630
7630
|
getRuleDistanceText: (a) => a.toString()
|
|
7631
|
-
}, s = n ?
|
|
7631
|
+
}, s = n ? As(n, ["selector", "scale"]) : {}, r = G(G({}, o), s);
|
|
7632
7632
|
this.state = {
|
|
7633
7633
|
enabled: !0,
|
|
7634
7634
|
visible: !1,
|
|
@@ -7649,7 +7649,7 @@ let bg = class extends Mn {
|
|
|
7649
7649
|
/** 更新户型图位置 */
|
|
7650
7650
|
updatePosition() {
|
|
7651
7651
|
var a;
|
|
7652
|
-
const e =
|
|
7652
|
+
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
|
|
7653
7653
|
if (!n)
|
|
7654
7654
|
return;
|
|
7655
7655
|
const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
|
|
@@ -7714,7 +7714,7 @@ let bg = class extends Mn {
|
|
|
7714
7714
|
return;
|
|
7715
7715
|
this.isHiddenByHideFunc = !1;
|
|
7716
7716
|
const { userAction: n } = e;
|
|
7717
|
-
this.hooks.emit("show", { userAction: n, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield
|
|
7717
|
+
this.hooks.emit("show", { userAction: n, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield ya(this.five, ["Topview", void 0, void 0, n])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
|
|
7718
7718
|
const o = 500, s = this.state.config.modelOpacity;
|
|
7719
7719
|
ri(this.five, s, o), this.hooks.emit("showAnimationEnded", { userAction: n, auto: !1 }), this.render();
|
|
7720
7720
|
});
|
|
@@ -7776,11 +7776,11 @@ let bg = class extends Mn {
|
|
|
7776
7776
|
});
|
|
7777
7777
|
if (this.app)
|
|
7778
7778
|
return this.app.$set(n);
|
|
7779
|
-
this.app = new
|
|
7779
|
+
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7780
7780
|
}
|
|
7781
7781
|
};
|
|
7782
7782
|
const DI = (i, t) => new bg(i, t);
|
|
7783
|
-
function
|
|
7783
|
+
function Ca(i, t = 200) {
|
|
7784
7784
|
let e;
|
|
7785
7785
|
return function(...n) {
|
|
7786
7786
|
e || (i(...n), e = setTimeout(function() {
|
|
@@ -7851,7 +7851,7 @@ function Pg(i, t, e) {
|
|
|
7851
7851
|
function u(g) {
|
|
7852
7852
|
e(6, c = g);
|
|
7853
7853
|
}
|
|
7854
|
-
const m =
|
|
7854
|
+
const m = Ca(
|
|
7855
7855
|
(g) => {
|
|
7856
7856
|
e(7, d = g.longitude);
|
|
7857
7857
|
},
|
|
@@ -7962,7 +7962,7 @@ function kg(i) {
|
|
|
7962
7962
|
p(r, [a]) {
|
|
7963
7963
|
a & /*extraObjects*/
|
|
7964
7964
|
1 && (o = /*extraObjects*/
|
|
7965
|
-
r[0], e = Lt(e, a, s, 1, r, o, n, t,
|
|
7965
|
+
r[0], e = Lt(e, a, s, 1, r, o, n, t, ma, kl, null, El));
|
|
7966
7966
|
},
|
|
7967
7967
|
i: Z,
|
|
7968
7968
|
o: Z,
|
|
@@ -8690,7 +8690,7 @@ const MI = (i, t) => new Vg(i, t), LI = [
|
|
|
8690
8690
|
{ roomType: "100900000013", description: "衣" },
|
|
8691
8691
|
{ roomType: "100900000015", description: "商铺" },
|
|
8692
8692
|
{ roomType: "100900000016", description: "写字楼" }
|
|
8693
|
-
],
|
|
8693
|
+
], Ar = (i, t, e) => {
|
|
8694
8694
|
const n = new I.Matrix4(), o = new I.Euler(i, t, e, "YXZ");
|
|
8695
8695
|
return n.makeRotationFromEuler(o), n;
|
|
8696
8696
|
}, Og = (i, {
|
|
@@ -8700,7 +8700,7 @@ const MI = (i, t) => new Vg(i, t), LI = [
|
|
|
8700
8700
|
}) => {
|
|
8701
8701
|
if (t && i.scale.set(t, t, t), e) {
|
|
8702
8702
|
const [o, s, r] = e;
|
|
8703
|
-
o && i.applyMatrix4(
|
|
8703
|
+
o && i.applyMatrix4(Ar(o, 0, 0)), s && i.applyMatrix4(Ar(0, s, 0)), r && i.applyMatrix4(Ar(0, 0, r));
|
|
8704
8704
|
}
|
|
8705
8705
|
return n && i.position.set(n.x, n.y, n.z), i;
|
|
8706
8706
|
};
|
|
@@ -8823,8 +8823,8 @@ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _I = (i, t) => {
|
|
|
8823
8823
|
return { load: l, enable: (y) => (e.enabled || (e.enabled = !0, u(i.currentMode), i.on("modeChange", u), d(y)), !0), disable: () => (e.enabled && (e.enabled = !1, h(), i.off("modeChange", u)), !0) };
|
|
8824
8824
|
}, Qg = Dt;
|
|
8825
8825
|
function Hg(i, t, e, n = Qg.Linear.None) {
|
|
8826
|
-
const o = new
|
|
8827
|
-
|
|
8826
|
+
const o = new ls(i).to(t, e).easing(n);
|
|
8827
|
+
hs(() => o.start(0));
|
|
8828
8828
|
const s = ro((a) => {
|
|
8829
8829
|
o.update(a) === !1 && s();
|
|
8830
8830
|
}), r = [];
|
|
@@ -8852,13 +8852,13 @@ function Ml(i) {
|
|
|
8852
8852
|
function Ll(i) {
|
|
8853
8853
|
return i % No;
|
|
8854
8854
|
}
|
|
8855
|
-
function
|
|
8855
|
+
function br(i, t, e) {
|
|
8856
8856
|
return i + (t - i) * e;
|
|
8857
8857
|
}
|
|
8858
|
-
const
|
|
8858
|
+
const Yr = (i, t, e) => {
|
|
8859
8859
|
const n = Math.PI, o = n * 2;
|
|
8860
8860
|
let s = Ml(i), r = Ml(t);
|
|
8861
|
-
return e === Yt.Anticlockwise && s < r && (s += o), e === Yt.Clockwise && r < s && (r += o), e === Yt.Loop && r - s > n ?
|
|
8861
|
+
return e === Yt.Anticlockwise && s < r && (s += o), e === Yt.Clockwise && r < s && (r += o), e === Yt.Loop && r - s > n ? Yr(s, r, Yt.Anticlockwise) : e === Yt.Loop && s - r > n ? Yr(s, r, Yt.Clockwise) : { from: s, to: r };
|
|
8862
8862
|
}, VI = (i) => {
|
|
8863
8863
|
const t = {}, e = (l, c, ...d) => F(void 0, [l, c, ...d], function* (s, r, a = { preload: !0 }) {
|
|
8864
8864
|
return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== i.currentMode && (yield i.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== i.panoIndex && (yield i.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((h, u) => {
|
|
@@ -8872,7 +8872,7 @@ const Xr = (i, t, e) => {
|
|
|
8872
8872
|
}, s)) : u(new Error("unexpected error"));
|
|
8873
8873
|
});
|
|
8874
8874
|
}), n = (s) => {
|
|
8875
|
-
const r = i.state, a = Ll(r.latitude), l = Ll(s.latitude), { from: c, to: d } =
|
|
8875
|
+
const r = i.state, a = Ll(r.latitude), l = Ll(s.latitude), { from: c, to: d } = Yr(
|
|
8876
8876
|
r.longitude,
|
|
8877
8877
|
s.longitude,
|
|
8878
8878
|
s.rotation || Yt.Loop
|
|
@@ -8901,7 +8901,7 @@ const Xr = (i, t, e) => {
|
|
|
8901
8901
|
return yield new Promise((m) => {
|
|
8902
8902
|
const g = ({ progress: P }) => {
|
|
8903
8903
|
const D = {};
|
|
8904
|
-
D.longitude =
|
|
8904
|
+
D.longitude = br(h.longitude, u.longitude, P), D.latitude = br(h.latitude, u.latitude, P), D.fov = br(h.fov, u.fov, P), i.setState(D, !0);
|
|
8905
8905
|
}, v = () => {
|
|
8906
8906
|
m(!0);
|
|
8907
8907
|
}, A = () => {
|
|
@@ -9429,7 +9429,7 @@ function Zg(i) {
|
|
|
9429
9429
|
);
|
|
9430
9430
|
},
|
|
9431
9431
|
m(A, b) {
|
|
9432
|
-
O(A, t, b), v.m(t, null), B(t, e), B(t, n), B(n, o), B(o, r), a =
|
|
9432
|
+
O(A, t, b), v.m(t, null), B(t, e), B(t, n), B(n, o), B(o, r), a = fs(
|
|
9433
9433
|
o,
|
|
9434
9434
|
/*div0_elementresize_handler*/
|
|
9435
9435
|
i[4].bind(o)
|
|
@@ -9645,7 +9645,7 @@ function tv(i, t, e) {
|
|
|
9645
9645
|
};
|
|
9646
9646
|
});
|
|
9647
9647
|
e(0, r = Y);
|
|
9648
|
-
}, m = () =>
|
|
9648
|
+
}, m = () => hs(u), g = Ca(u, 80);
|
|
9649
9649
|
return Mt(() => {
|
|
9650
9650
|
u(), n.on("panoArrived", u), n.on("modeChange", u), n.on("cameraDirectionUpdate", m), n.on("movingToPano", m), n.on("mouseWheel", () => g()), n.on("pinchGesture", () => g());
|
|
9651
9651
|
}), un(() => {
|
|
@@ -9827,7 +9827,7 @@ class av extends Mn {
|
|
|
9827
9827
|
f(this, "onFivePanoArrived", (e) => {
|
|
9828
9828
|
var o, s, r, a, l, c, d;
|
|
9829
9829
|
const n = (r = (s = (o = this.five.work) == null ? void 0 : o.observers) == null ? void 0 : s[e]) == null ? void 0 : r.standingPosition;
|
|
9830
|
-
if (this.compassMesh && (this.compassMesh.position.copy(n.clone().setY(n.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween =
|
|
9830
|
+
if (this.compassMesh && (this.compassMesh.position.copy(n.clone().setY(n.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween = ds(1e3).onUpdate(({ progress: h }) => {
|
|
9831
9831
|
var u;
|
|
9832
9832
|
(u = this.compassMesh) == null || u.material.setValues({ opacity: h }), this.five.needsRender = !0;
|
|
9833
9833
|
}).play())), this.entryDoorMesh) {
|
|
@@ -9977,7 +9977,7 @@ class av extends Mn {
|
|
|
9977
9977
|
new I.Vector3(0.7, 0, 0.7),
|
|
9978
9978
|
new I.Vector3(-0.7, 0, 0.7)
|
|
9979
9979
|
];
|
|
9980
|
-
return
|
|
9980
|
+
return us(this.five).create3DDomContainer(e);
|
|
9981
9981
|
}
|
|
9982
9982
|
}
|
|
9983
9983
|
const QI = (i, t) => new av(i, t);
|
|
@@ -10184,7 +10184,7 @@ function no(i) {
|
|
|
10184
10184
|
const { x: t, y: e, z: n } = i;
|
|
10185
10185
|
return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(n) > 1);
|
|
10186
10186
|
}
|
|
10187
|
-
function
|
|
10187
|
+
function yr(i) {
|
|
10188
10188
|
const { z: t } = i;
|
|
10189
10189
|
return !(Math.abs(t) > 1);
|
|
10190
10190
|
}
|
|
@@ -10239,7 +10239,7 @@ function Ev(i) {
|
|
|
10239
10239
|
if (e.points.length < 2)
|
|
10240
10240
|
return;
|
|
10241
10241
|
const [T, S] = e.points, N = T.position.clone().project(b.camera), Y = S.position.clone().project(b.camera), H = N.clone().lerp(Y, 0.5), z = new At(N.x * x, N.y * E), Q = new At(Y.x * x, Y.y * E), R = z.distanceTo(Q);
|
|
10242
|
-
if ((() => !(Math.abs(N.z) > 1 || Math.abs(Y.z) > 1 || !
|
|
10242
|
+
if ((() => !(Math.abs(N.z) > 1 || Math.abs(Y.z) > 1 || !yr(N) && !yr(Y) || !yr(H) || R === 0))() === !1) {
|
|
10243
10243
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
10244
10244
|
return;
|
|
10245
10245
|
}
|
|
@@ -10341,7 +10341,7 @@ class Bt {
|
|
|
10341
10341
|
return new Bt(this.position);
|
|
10342
10342
|
}
|
|
10343
10343
|
}
|
|
10344
|
-
let
|
|
10344
|
+
let is = class {
|
|
10345
10345
|
constructor(t) {
|
|
10346
10346
|
f(this, "id", dt());
|
|
10347
10347
|
f(this, "lines", []);
|
|
@@ -10482,7 +10482,7 @@ class Pa {
|
|
|
10482
10482
|
getClosestPoint() {
|
|
10483
10483
|
}
|
|
10484
10484
|
parse(t) {
|
|
10485
|
-
this.clear(), this.polylines.push(...t.polylines.map((e) => new
|
|
10485
|
+
this.clear(), this.polylines.push(...t.polylines.map((e) => new is({ model: this }).fromJson(e))), this.polylines.forEach((e) => this.hook.emit("polylineAdded", e));
|
|
10486
10486
|
}
|
|
10487
10487
|
toJson() {
|
|
10488
10488
|
return {
|
|
@@ -10491,7 +10491,7 @@ class Pa {
|
|
|
10491
10491
|
}
|
|
10492
10492
|
}
|
|
10493
10493
|
const _o = (i) => i.preventDefault();
|
|
10494
|
-
let
|
|
10494
|
+
let bs = class {
|
|
10495
10495
|
constructor(t) {
|
|
10496
10496
|
f(this, "model");
|
|
10497
10497
|
f(this, "five");
|
|
@@ -10535,15 +10535,15 @@ let As = class {
|
|
|
10535
10535
|
t && (t.removeEventListener("touchstart", _o), t.removeEventListener("contextmenu", _o));
|
|
10536
10536
|
}
|
|
10537
10537
|
};
|
|
10538
|
-
function
|
|
10538
|
+
function Ur(i) {
|
|
10539
10539
|
const { x: t, y: e } = i.center, { clientWidth: n, clientHeight: o } = i.target, s = i.target.getBoundingClientRect(), r = new At(t, e).sub(new At(s.left, s.top)), a = new At(r.x / n * 2 - 1, -(r.y / o) * 2 + 1);
|
|
10540
10540
|
return { point: r, ndcPoint: a };
|
|
10541
10541
|
}
|
|
10542
|
-
function
|
|
10543
|
-
const e =
|
|
10542
|
+
function wr(i, t) {
|
|
10543
|
+
const e = Ur(t).ndcPoint, n = new xn();
|
|
10544
10544
|
return n.setFromCamera(e, i.camera), i.model.intersectRaycaster(n);
|
|
10545
10545
|
}
|
|
10546
|
-
class Vo extends
|
|
10546
|
+
class Vo extends bs {
|
|
10547
10547
|
constructor(e) {
|
|
10548
10548
|
var o;
|
|
10549
10549
|
super(e);
|
|
@@ -10558,7 +10558,7 @@ class Vo extends As {
|
|
|
10558
10558
|
f(this, "lastPoint", null);
|
|
10559
10559
|
f(this, "hammer");
|
|
10560
10560
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
10561
|
-
f(this, "onIntersectionUpdate",
|
|
10561
|
+
f(this, "onIntersectionUpdate", Ca((e, n) => {
|
|
10562
10562
|
var s;
|
|
10563
10563
|
this.hasAppendMouseGroup === !1 && (this.group.add(this.mouseGroup), this.magnifier.appendTo(this.container), this.magnifier.enable(), this.hasAppendMouseGroup = !0);
|
|
10564
10564
|
const o = this.updateMouseGroup(e, n).position;
|
|
@@ -10583,7 +10583,7 @@ class Vo extends As {
|
|
|
10583
10583
|
this.hook.emit("editedPolylineChange", this.polyline);
|
|
10584
10584
|
});
|
|
10585
10585
|
f(this, "onPress", (e) => {
|
|
10586
|
-
const [n] =
|
|
10586
|
+
const [n] = wr(this.five, e);
|
|
10587
10587
|
if (!(n != null && n.face))
|
|
10588
10588
|
return;
|
|
10589
10589
|
const o = new Bt(n.point);
|
|
@@ -10596,7 +10596,7 @@ class Vo extends As {
|
|
|
10596
10596
|
f(this, "onPan", (e) => {
|
|
10597
10597
|
if (!this.pressPoint)
|
|
10598
10598
|
return;
|
|
10599
|
-
const [n] =
|
|
10599
|
+
const [n] = wr(this.five, e);
|
|
10600
10600
|
n != null && n.face && this.onIntersectionUpdate(n);
|
|
10601
10601
|
});
|
|
10602
10602
|
f(this, "onPanEnd", (e) => {
|
|
@@ -10609,7 +10609,7 @@ class Vo extends As {
|
|
|
10609
10609
|
*/
|
|
10610
10610
|
f(this, "onTap", (e) => {
|
|
10611
10611
|
this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
|
|
10612
|
-
const [n] =
|
|
10612
|
+
const [n] = wr(this.five, e);
|
|
10613
10613
|
this.updateMouseGroup(n);
|
|
10614
10614
|
const o = new Bt(this.mouseGroup.position), s = this.lastPoint;
|
|
10615
10615
|
if (o && (this.lastPoint = o), o && s) {
|
|
@@ -10631,7 +10631,7 @@ class Vo extends As {
|
|
|
10631
10631
|
f(this, "updateDashed", () => {
|
|
10632
10632
|
this.lastPoint && (this.dashed.points[0].position.copy(this.lastPoint.position), this.dashed.points[1].position.copy(this.mouseGroup.position), this.dashed.mesh.setPoints(this.lastPoint.position, this.mouseGroup.position), this.dashed.distanceItem.update(this.five), this.hook.emit("editedDashedLineChange", this.dashed));
|
|
10633
10633
|
});
|
|
10634
|
-
this.model = new Pa(this.config), this.polyline = new
|
|
10634
|
+
this.model = new Pa(this.config), this.polyline = new is({ model: this.model }), this.model.addPolyline(this.polyline), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsPanGesture", this.onWantsPanGesture), this.five.on("wantsTapGesture", this.onWantsTapGesture), this.five.on("wantsToMoveToPano", this.onWantsToMoveToPano), this.five.on("intersectionOnModelUpdate", this.onIntersectionUpdate), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged);
|
|
10635
10635
|
const n = this.five.getElement();
|
|
10636
10636
|
if (n) {
|
|
10637
10637
|
this.fiveElement = n;
|
|
@@ -10648,7 +10648,7 @@ class Vo extends As {
|
|
|
10648
10648
|
return this.polyline.lines;
|
|
10649
10649
|
}
|
|
10650
10650
|
}
|
|
10651
|
-
class Bl extends
|
|
10651
|
+
class Bl extends bs {
|
|
10652
10652
|
constructor(e) {
|
|
10653
10653
|
super(e);
|
|
10654
10654
|
f(this, "type", "view");
|
|
@@ -10790,7 +10790,7 @@ function Lv(i, t, e, n) {
|
|
|
10790
10790
|
}).sort((a, l) => a.distance - l.distance);
|
|
10791
10791
|
return typeof n == "number" && r[0].distance > n ? null : r[0];
|
|
10792
10792
|
}
|
|
10793
|
-
function
|
|
10793
|
+
function qr(i) {
|
|
10794
10794
|
const t = (s, r, a) => {
|
|
10795
10795
|
const l = s.lines.find((d) => d.points.findIndex(({ id: u }) => u === s.id) !== r);
|
|
10796
10796
|
if (!l)
|
|
@@ -10800,7 +10800,7 @@ function Ur(i) {
|
|
|
10800
10800
|
}, e = t(i.points[0], 1, []), n = t(i.points[0], 0, []);
|
|
10801
10801
|
return e.concat(n);
|
|
10802
10802
|
}
|
|
10803
|
-
class Ql extends
|
|
10803
|
+
class Ql extends bs {
|
|
10804
10804
|
constructor(e) {
|
|
10805
10805
|
super(e);
|
|
10806
10806
|
f(this, "type", "watch");
|
|
@@ -10813,14 +10813,14 @@ class Ql extends As {
|
|
|
10813
10813
|
var a;
|
|
10814
10814
|
if (this.model.getAllLines().length === 0 || !this.fiveElement)
|
|
10815
10815
|
return;
|
|
10816
|
-
const n =
|
|
10816
|
+
const n = Ur(e).point, o = (a = Lv(this.five, this.model.getAllPoints(), n, 20)) == null ? void 0 : a.point;
|
|
10817
10817
|
if (!o) {
|
|
10818
10818
|
this.editPointState = void 0;
|
|
10819
10819
|
return;
|
|
10820
10820
|
}
|
|
10821
10821
|
const s = {
|
|
10822
10822
|
point: o,
|
|
10823
|
-
associatedLines:
|
|
10823
|
+
associatedLines: qr(o.lines[0])
|
|
10824
10824
|
};
|
|
10825
10825
|
this.hook.emit("wantsDragLine", {
|
|
10826
10826
|
point: o.id,
|
|
@@ -10833,7 +10833,7 @@ class Ql extends As {
|
|
|
10833
10833
|
f(this, "onPan", (e) => {
|
|
10834
10834
|
if (!this.editPointState || !this.fiveElement)
|
|
10835
10835
|
return;
|
|
10836
|
-
const n =
|
|
10836
|
+
const n = Ur(e).ndcPoint, o = new xn();
|
|
10837
10837
|
o.setFromCamera(n, this.five.camera);
|
|
10838
10838
|
const [s] = this.five.model.intersectRaycaster(o);
|
|
10839
10839
|
s && this.onIntersectionUpdate(s);
|
|
@@ -10882,7 +10882,7 @@ class Ql extends As {
|
|
|
10882
10882
|
return this.chooseLine(u), !1;
|
|
10883
10883
|
});
|
|
10884
10884
|
f(this, "chooseLine", (e) => {
|
|
10885
|
-
const n =
|
|
10885
|
+
const n = qr(e);
|
|
10886
10886
|
this.highlightLines(n), this.five.needsRender = !0, this.hook.emit(
|
|
10887
10887
|
"selectedChange",
|
|
10888
10888
|
n.map((o) => o)
|
|
@@ -10967,7 +10967,7 @@ function jh(i) {
|
|
|
10967
10967
|
let n = 10349931;
|
|
10968
10968
|
e && i.ballColor >= 0 && (n = i.ballColor);
|
|
10969
10969
|
const o = new Kn(), s = new Tu(0.3, 0.3), r = t ? _v : Vv, a = new Sd().load(r);
|
|
10970
|
-
a.encoding = zu, a.minFilter =
|
|
10970
|
+
a.encoding = zu, a.minFilter = Vr;
|
|
10971
10971
|
const l = new Ji({
|
|
10972
10972
|
map: a,
|
|
10973
10973
|
transparent: !0,
|
|
@@ -11098,7 +11098,7 @@ class Rv {
|
|
|
11098
11098
|
return this.mouseGroup;
|
|
11099
11099
|
}
|
|
11100
11100
|
}
|
|
11101
|
-
class Vi extends
|
|
11101
|
+
class Vi extends bs {
|
|
11102
11102
|
constructor(e) {
|
|
11103
11103
|
super(e);
|
|
11104
11104
|
f(this, "state", "watching");
|
|
@@ -11110,17 +11110,13 @@ class Vi extends As {
|
|
|
11110
11110
|
f(this, "deleteDom");
|
|
11111
11111
|
f(this, "rangePieceController");
|
|
11112
11112
|
f(this, "disposers", []);
|
|
11113
|
-
/** 编辑线条发生改变时通知外部 */
|
|
11114
|
-
f(this, "onLineChanged", () => {
|
|
11115
|
-
this.hook.emit("editedPolylineChange", this.polyline);
|
|
11116
|
-
});
|
|
11117
11113
|
f(this, "onWantsTapGesture", (e) => {
|
|
11118
11114
|
if (this.state === "editing")
|
|
11119
11115
|
return !1;
|
|
11120
11116
|
const [n] = this.five.model.intersectRaycaster(e);
|
|
11121
11117
|
if (!n)
|
|
11122
11118
|
return;
|
|
11123
|
-
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new At(s.x * r, s.y * a), c = this.
|
|
11119
|
+
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new At(s.x * r, s.y * a), c = this.model.getAllLines().map((m) => {
|
|
11124
11120
|
const [g, v] = m.points, A = g.position.clone().project(o), b = v.position.clone().project(o);
|
|
11125
11121
|
if (!no(A) && !no(b))
|
|
11126
11122
|
return null;
|
|
@@ -11135,7 +11131,7 @@ class Vi extends As {
|
|
|
11135
11131
|
}).sort((m, g) => m.distance - g.distance)[0];
|
|
11136
11132
|
if (h.distance > 20)
|
|
11137
11133
|
return;
|
|
11138
|
-
const u = this.
|
|
11134
|
+
const u = this.model.getAllLines().find(({ id: m }) => m === h.id);
|
|
11139
11135
|
if (u)
|
|
11140
11136
|
return this.chooseLine(u), !1;
|
|
11141
11137
|
});
|
|
@@ -11159,8 +11155,8 @@ class Vi extends As {
|
|
|
11159
11155
|
f(this, "onGetEndPoint", (e) => {
|
|
11160
11156
|
const n = this.mobileNowPoint;
|
|
11161
11157
|
if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && n) {
|
|
11162
|
-
const o = new bi(this.mobileStartPoint, n, this.model);
|
|
11163
|
-
o.distanceItem.appendTo(this.container), o.distanceItem.update(this.five), o.hook.on("selected", this.chooseLine), this.disposers.push(() => o.hook.off("selected", this.chooseLine)), this.group.add(o.mesh), this.
|
|
11158
|
+
const o = new bi(this.mobileStartPoint, n, this.model), s = new is({ model: this.model });
|
|
11159
|
+
s.addLine(o), o.distanceItem.appendTo(this.container), o.distanceItem.update(this.five), o.hook.on("selected", this.chooseLine), this.disposers.push(() => o.hook.off("selected", this.chooseLine)), this.group.add(o.mesh), this.model.addPolyline(s);
|
|
11164
11160
|
}
|
|
11165
11161
|
this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
|
|
11166
11162
|
});
|
|
@@ -11175,7 +11171,7 @@ class Vi extends As {
|
|
|
11175
11171
|
this.state = n, this.state === "watching" ? this.five.helperVisible = !0 : this.five.helperVisible = !1;
|
|
11176
11172
|
});
|
|
11177
11173
|
f(this, "chooseLine", (e) => {
|
|
11178
|
-
const n =
|
|
11174
|
+
const n = qr(e);
|
|
11179
11175
|
this.highlightLines(n), this.five.needsRender = !0, this.hook.emit(
|
|
11180
11176
|
"selectedChange",
|
|
11181
11177
|
n.map((o) => o)
|
|
@@ -11183,33 +11179,33 @@ class Vi extends As {
|
|
|
11183
11179
|
});
|
|
11184
11180
|
f(this, "deleteDomClickCallback", () => {
|
|
11185
11181
|
this.highlightedLines.forEach((e) => {
|
|
11186
|
-
this.removeLine(e)
|
|
11182
|
+
this.removeLine(e);
|
|
11183
|
+
const n = this.model.getPolylineByLine(e);
|
|
11184
|
+
this.model.removePolyline(n);
|
|
11187
11185
|
}), this.highlightedLines = [], this.deleteDom.setLines([]).hide();
|
|
11188
11186
|
});
|
|
11189
11187
|
f(this, "cancelDeleteClickCallback", () => {
|
|
11190
11188
|
this.clearHighlightLines();
|
|
11191
11189
|
});
|
|
11192
|
-
this.model = new Pa(this.config), this.polyline = new
|
|
11190
|
+
this.model = new Pa(this.config), this.polyline = new is({ model: this.model }), this.rangePieceController = new Rv(e), this.deleteDom = new Th(this.five, {
|
|
11193
11191
|
i18n: this.config.i18n,
|
|
11194
11192
|
onClick: this.deleteDomClickCallback,
|
|
11195
11193
|
cancelDelete: this.cancelDeleteClickCallback
|
|
11196
|
-
}).appendTo(this.container), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.onWantsTapGesture), this.five.on("wantsToMoveToPano", this.onWantsToMoveToPano), this.
|
|
11194
|
+
}).appendTo(this.container), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.onWantsTapGesture), this.five.on("wantsToMoveToPano", this.onWantsToMoveToPano), this.five.helperVisible = !1, this.hook.emit("editedDashedLineChange", null), this.hook.on("getStartPoint", this.onGetStartPoint), this.hook.on("getEndPoint", this.onGetEndPoint), this.hook.on("nowPointChange", this.onNowPointChange), this.hook.on("willChangeState", this.onWillChangeState), this.five.refresh();
|
|
11197
11195
|
}
|
|
11198
11196
|
dispose() {
|
|
11199
|
-
super.dispose(), this.disposers.forEach((e) => e()), this.five.helperVisible = !0, this.rangePieceController.dispose(), this.group.remove(this.mouseGroup, this.dashed.mesh), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.onWantsTapGesture), this.five.off("wantsToMoveToPano", this.onWantsToMoveToPano), this.
|
|
11197
|
+
super.dispose(), this.disposers.forEach((e) => e()), this.five.helperVisible = !0, this.rangePieceController.dispose(), this.group.remove(this.mouseGroup, this.dashed.mesh), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.onWantsTapGesture), this.five.off("wantsToMoveToPano", this.onWantsToMoveToPano), this.hook.off("getStartPoint", this.onGetStartPoint), this.hook.off("getEndPoint", this.onGetEndPoint), this.hook.off("nowPointChange", this.onNowPointChange), this.hook.off("willChangeState", this.onWillChangeState), this.hook.emit("selectedChange", []), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
|
|
11200
11198
|
}
|
|
11201
11199
|
highlightLine(e) {
|
|
11202
11200
|
e.selected || (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
|
|
11203
11201
|
}
|
|
11204
11202
|
clearHighlightLines() {
|
|
11205
|
-
this.group.children.length !== 0 && (this.deleteDom.setLines([]).hide(), this.
|
|
11203
|
+
this.group.children.length !== 0 && (this.deleteDom.setLines([]).hide(), this.model.getAllLines().forEach((e) => {
|
|
11206
11204
|
e.selected = !1, e.distanceItem.unHighlight(), this.group.remove(e.lightMesh);
|
|
11207
11205
|
}), this.highlightedLines = [], this.five.needsRender = !0);
|
|
11208
11206
|
}
|
|
11209
11207
|
getEditingLines() {
|
|
11210
|
-
return this.
|
|
11211
|
-
}
|
|
11212
|
-
addStartPoint() {
|
|
11208
|
+
return this.model.polylines;
|
|
11213
11209
|
}
|
|
11214
11210
|
highlightLines(e) {
|
|
11215
11211
|
this.clearHighlightLines(), this.highlightedLines = e, this.deleteDom.setLines(e).updatePosition().show(), e.forEach((n) => this.highlightLine(n));
|
|
@@ -11762,7 +11758,7 @@ class n0 {
|
|
|
11762
11758
|
this.controller = new e[t](n), this.hook.emit("modeChange", t);
|
|
11763
11759
|
});
|
|
11764
11760
|
var o, s, r, a;
|
|
11765
|
-
this.five = t, this.params = e, this.config =
|
|
11761
|
+
this.five = t, this.params = e, this.config = As(e, ["openParams", "magnifierParams"]), this.model = new Pa(this.config), this.fiveHelper = new dv(t), this.isMobile = (s = (o = e == null ? void 0 : e.openParams) == null ? void 0 : o.isMobile) != null ? s : !1, this.magnifier = new cv(t, (r = e.magnifierParams) != null ? r : { width: 190, height: 190, scale: 2 }), this.group = new Kn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
11766
11762
|
const n = (a = this.params.openParams) != null ? a : {};
|
|
11767
11763
|
if (this.params.useUIController !== !1) {
|
|
11768
11764
|
const l = G({
|
|
@@ -11910,7 +11906,7 @@ class n0 {
|
|
|
11910
11906
|
}
|
|
11911
11907
|
const WI = function(t, e) {
|
|
11912
11908
|
return new n0(t, e);
|
|
11913
|
-
}, Rh =
|
|
11909
|
+
}, Rh = ga(null);
|
|
11914
11910
|
function i0(i) {
|
|
11915
11911
|
fe(i, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
11916
11912
|
}
|
|
@@ -12362,10 +12358,10 @@ class p0 {
|
|
|
12362
12358
|
}
|
|
12363
12359
|
}
|
|
12364
12360
|
}
|
|
12365
|
-
const
|
|
12361
|
+
const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", FI = (i, t) => {
|
|
12366
12362
|
var re, ie, Ae, we, ge, ze, ve, He;
|
|
12367
12363
|
let e = t == null ? void 0 : t.container, n = 1.4;
|
|
12368
|
-
const o = (re = t == null ? void 0 : t.wait) != null ? re : 200, s = (ie = t == null ? void 0 : t.maxNumberOnScreen) != null ? ie : 3, r = (Ae = t == null ? void 0 : t.minRad) != null ? Ae : Math.PI / 4, a = (we = t == null ? void 0 : t.nearTolerance) != null ? we : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (ze = t == null ? void 0 : t.minDistance) != null ? ze : 1.2, d = (ve = t == null ? void 0 : t.maxDistance) != null ? ve : 3.5, h =
|
|
12364
|
+
const o = (re = t == null ? void 0 : t.wait) != null ? re : 200, s = (ie = t == null ? void 0 : t.maxNumberOnScreen) != null ? ie : 3, r = (Ae = t == null ? void 0 : t.minRad) != null ? Ae : Math.PI / 4, a = (we = t == null ? void 0 : t.nearTolerance) != null ? we : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (ze = t == null ? void 0 : t.minDistance) != null ? ze : 1.2, d = (ve = t == null ? void 0 : t.maxDistance) != null ? ve : 3.5, h = us(i), u = document.createElement("div");
|
|
12369
12365
|
u.classList.add("PanoSpatialTagPlugin"), Object.assign(u.style, h0);
|
|
12370
12366
|
const m = new yt();
|
|
12371
12367
|
let g = new Image();
|
|
@@ -12392,13 +12388,13 @@ const wr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12392
12388
|
return;
|
|
12393
12389
|
const Me = be.longitude - i.state.longitude, me = i.camera.clone();
|
|
12394
12390
|
me.position.copy(be.offset), me.rotateOnWorldAxis(new I.Vector3(0, 1, 0), Me), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
|
|
12395
|
-
const
|
|
12391
|
+
const Ye = new I.Frustum(), at = new I.Matrix4();
|
|
12396
12392
|
at.multiplyMatrices(
|
|
12397
12393
|
me.projectionMatrix,
|
|
12398
12394
|
me.matrixWorldInverse
|
|
12399
|
-
),
|
|
12395
|
+
), Ye.setFromProjectionMatrix(at), v.tags.forEach((ke) => {
|
|
12400
12396
|
const Ke = me.position.clone().setY(n).distanceTo(ke.position);
|
|
12401
|
-
if (Ke < c || Ke > d || !
|
|
12397
|
+
if (Ke < c || Ke > d || !Ye.containsPoint(ke.position))
|
|
12402
12398
|
return ke.destroying = !0;
|
|
12403
12399
|
const oe = ke.position.clone().sub(me.position).setY(0);
|
|
12404
12400
|
if (oe.angleTo(ke.normal) > Math.PI / 2 - r && oe.angleTo(ke.normal) < Math.PI / 2 + r)
|
|
@@ -12427,10 +12423,10 @@ const wr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12427
12423
|
return;
|
|
12428
12424
|
const ue = i.camera, be = ue.getWorldDirection(new I.Vector3());
|
|
12429
12425
|
v.origins = v.tags.map((Me) => {
|
|
12430
|
-
const me = Me.position.clone().project(ue),
|
|
12426
|
+
const me = Me.position.clone().project(ue), Ye = Me.position.clone().sub(ue.position).setY(0).angleTo(be.setY(0)) < Math.PI / 2;
|
|
12431
12427
|
return {
|
|
12432
12428
|
id: Me.id,
|
|
12433
|
-
front:
|
|
12429
|
+
front: Ye,
|
|
12434
12430
|
left: (me.x + 1) / 2 * 100,
|
|
12435
12431
|
top: (-me.y + 1) / 2 * 100,
|
|
12436
12432
|
destroying: Me.destroying
|
|
@@ -12443,18 +12439,18 @@ const wr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12443
12439
|
ue.length && (v.tags = v.tags.concat(ue), x());
|
|
12444
12440
|
}, o));
|
|
12445
12441
|
}, T = () => {
|
|
12446
|
-
const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera,
|
|
12442
|
+
const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera, Ye = new I.Frustum(), at = new I.Matrix4(), ke = me.getWorldDirection(new I.Vector3());
|
|
12447
12443
|
at.multiplyMatrices(
|
|
12448
12444
|
me.projectionMatrix,
|
|
12449
12445
|
me.matrixWorldInverse
|
|
12450
|
-
),
|
|
12446
|
+
), Ye.setFromProjectionMatrix(at);
|
|
12451
12447
|
const Ke = v.tags.filter(
|
|
12452
|
-
(Ee) =>
|
|
12448
|
+
(Ee) => Ye.containsPoint(Ee.position) && !Ee.destroying
|
|
12453
12449
|
).length, oe = v.points.reduce((Ee, Be) => {
|
|
12454
12450
|
if (v.tags.find((Oe) => Be.id === Oe.id && !Oe.destroying))
|
|
12455
12451
|
return Ee;
|
|
12456
12452
|
const ht = me.position.clone().setY(n).distanceTo(Be.position);
|
|
12457
|
-
if (ht < c || ht > d || !
|
|
12453
|
+
if (ht < c || ht > d || !Ye.containsPoint(Be.position))
|
|
12458
12454
|
return Ee;
|
|
12459
12455
|
const Ht = Be.position.clone().sub(me.position).setY(0);
|
|
12460
12456
|
if (Ht.angleTo(Be.normal) > Math.PI / 2 - r && Ht.angleTo(Be.normal) < Math.PI / 2 + r)
|
|
@@ -12512,11 +12508,11 @@ const wr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12512
12508
|
ht.distance + ql
|
|
12513
12509
|
), [gt] = v.intersectObjects ? pt.intersectObjects(v.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(pt) : pt.intersectObjects(i.model.children, !0);
|
|
12514
12510
|
if (gt && ht.distance - gt.distance < ql) {
|
|
12515
|
-
const { position: je, normal: Oe, id: Fe, replacement: It } = ht, wi = new I.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new I.Vector3(0, 1, 0)).setLength(
|
|
12511
|
+
const { position: je, normal: Oe, id: Fe, replacement: It } = ht, wi = new I.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new I.Vector3(0, 1, 0)).setLength(Cr), Zt = [
|
|
12516
12512
|
je.clone(),
|
|
12517
12513
|
je.clone().add(Tt),
|
|
12518
|
-
je.clone().add(new I.Vector3(0,
|
|
12519
|
-
je.clone().add(new I.Vector3(0,
|
|
12514
|
+
je.clone().add(new I.Vector3(0, Cr, 0)).add(Tt),
|
|
12515
|
+
je.clone().add(new I.Vector3(0, Cr, 0))
|
|
12520
12516
|
].map((zn) => wi.projectPoint(zn, new I.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new d0({
|
|
12521
12517
|
target: mn,
|
|
12522
12518
|
props: {
|
|
@@ -12598,12 +12594,12 @@ const wr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12598
12594
|
dispose: J
|
|
12599
12595
|
};
|
|
12600
12596
|
};
|
|
12601
|
-
var qn = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MIDLLE = "middle", i.LARGE = "large", i.EXTRA_LARGE = "x-large", i))(qn || {}), Ct = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {},
|
|
12597
|
+
var qn = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MIDLLE = "middle", i.LARGE = "large", i.EXTRA_LARGE = "x-large", i))(qn || {}), Ct = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Jr = {}, v0 = {
|
|
12602
12598
|
get exports() {
|
|
12603
|
-
return
|
|
12599
|
+
return Jr;
|
|
12604
12600
|
},
|
|
12605
12601
|
set exports(i) {
|
|
12606
|
-
|
|
12602
|
+
Jr = i;
|
|
12607
12603
|
}
|
|
12608
12604
|
};
|
|
12609
12605
|
/*!
|
|
@@ -12641,7 +12637,7 @@ var qn = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MIDLLE = "middle", i.LARG
|
|
|
12641
12637
|
i.exports ? (e.default = e, i.exports = e) : window.classNames = e;
|
|
12642
12638
|
})();
|
|
12643
12639
|
})(v0);
|
|
12644
|
-
const it =
|
|
12640
|
+
const it = Jr;
|
|
12645
12641
|
function A0(i) {
|
|
12646
12642
|
fe(i, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
|
|
12647
12643
|
}
|
|
@@ -12820,7 +12816,7 @@ function P0(i) {
|
|
|
12820
12816
|
O(l, t, c);
|
|
12821
12817
|
for (let d = 0; d < e.length; d += 1)
|
|
12822
12818
|
e[d] && e[d].m(t, null);
|
|
12823
|
-
o =
|
|
12819
|
+
o = fs(
|
|
12824
12820
|
t,
|
|
12825
12821
|
/*div_elementresize_handler*/
|
|
12826
12822
|
i[9].bind(t)
|
|
@@ -13070,7 +13066,7 @@ const JI = (i, { videoElement: t }) => {
|
|
|
13070
13066
|
rectPoints: [],
|
|
13071
13067
|
enabled: !1,
|
|
13072
13068
|
videoElement: t
|
|
13073
|
-
}, n =
|
|
13069
|
+
}, n = us(i), o = /* @__PURE__ */ new Map(), s = (b) => {
|
|
13074
13070
|
e.videoTexture && (e.videoTexture.image.muted = b);
|
|
13075
13071
|
}, r = () => e.videoTexture ? e.videoTexture.image.muted : !0, a = () => {
|
|
13076
13072
|
if (e.enabled || !e.videoTexture)
|
|
@@ -13555,7 +13551,7 @@ function R0(i) {
|
|
|
13555
13551
|
O(l, t, c);
|
|
13556
13552
|
for (let d = 0; d < e.length; d += 1)
|
|
13557
13553
|
e[d] && e[d].m(t, null);
|
|
13558
|
-
o =
|
|
13554
|
+
o = fs(
|
|
13559
13555
|
t,
|
|
13560
13556
|
/*div_elementresize_handler*/
|
|
13561
13557
|
i[12].bind(t)
|
|
@@ -14099,7 +14095,7 @@ class tA extends F0 {
|
|
|
14099
14095
|
if (r !== null && s !== null) {
|
|
14100
14096
|
const l = {};
|
|
14101
14097
|
if (a > 0) {
|
|
14102
|
-
const d = new $(0, 0, -1), h = r.clone(), u = new
|
|
14098
|
+
const d = new $(0, 0, -1), h = r.clone(), u = new aa();
|
|
14103
14099
|
u.setFromUnitVectors(d, h);
|
|
14104
14100
|
const m = new Ba();
|
|
14105
14101
|
m.setFromQuaternion(u, "YXZ"), l.longitude = m.y;
|
|
@@ -14190,7 +14186,7 @@ function nA(i, t) {
|
|
|
14190
14186
|
function Hh(i, t) {
|
|
14191
14187
|
console.warn(`🚫 ==> [${i}]: ${t}`);
|
|
14192
14188
|
}
|
|
14193
|
-
var
|
|
14189
|
+
var ys = {}, iA = oA;
|
|
14194
14190
|
function oA(i, t, e) {
|
|
14195
14191
|
return i[0] = t[0] + e[0], i[1] = t[1] + e[1], i;
|
|
14196
14192
|
}
|
|
@@ -14211,27 +14207,27 @@ var hA = uA;
|
|
|
14211
14207
|
function uA(i, t) {
|
|
14212
14208
|
return i[0] * t[0] + i[1] * t[1];
|
|
14213
14209
|
}
|
|
14214
|
-
var fA = iA,
|
|
14215
|
-
|
|
14216
|
-
return fA(t, n, o), Gh(t, t),
|
|
14210
|
+
var fA = iA, Zr = sA, Gh = aA, mA = cA, pA = hA, sc = [0, 0];
|
|
14211
|
+
ys.computeMiter = function(t, e, n, o, s) {
|
|
14212
|
+
return fA(t, n, o), Gh(t, t), Zr(e, -t[1], t[0]), Zr(sc, -n[1], n[0]), s / pA(e, sc);
|
|
14217
14213
|
};
|
|
14218
|
-
|
|
14219
|
-
return
|
|
14214
|
+
ys.normal = function(t, e) {
|
|
14215
|
+
return Zr(t, -e[1], e[0]), t;
|
|
14220
14216
|
};
|
|
14221
|
-
|
|
14217
|
+
ys.direction = function(t, e, n) {
|
|
14222
14218
|
return mA(t, e, n), Gh(t, t), t;
|
|
14223
14219
|
};
|
|
14224
|
-
var Xt =
|
|
14220
|
+
var Xt = ys, wn = [0, 0], Oo = [0, 0], rc = [0, 0], Oi = [0, 0], gA = function(i, t) {
|
|
14225
14221
|
var e = null, n = [];
|
|
14226
14222
|
t && (i = i.slice(), i.push(i[0]));
|
|
14227
14223
|
for (var o = i.length, s = 1; s < o; s++) {
|
|
14228
14224
|
var r = i[s - 1], a = i[s], l = s < i.length - 1 ? i[s + 1] : null;
|
|
14229
|
-
if (Xt.direction(wn, a, r), e || (e = [0, 0], Xt.normal(e, wn)), s === 1 &&
|
|
14230
|
-
Xt.normal(e, wn),
|
|
14225
|
+
if (Xt.direction(wn, a, r), e || (e = [0, 0], Xt.normal(e, wn)), s === 1 && Pr(n, e, 1), !l)
|
|
14226
|
+
Xt.normal(e, wn), Pr(n, e, 1);
|
|
14231
14227
|
else {
|
|
14232
14228
|
Xt.direction(Oo, l, a);
|
|
14233
14229
|
var c = Xt.computeMiter(rc, Oi, wn, Oo, 1);
|
|
14234
|
-
|
|
14230
|
+
Pr(n, Oi, c);
|
|
14235
14231
|
}
|
|
14236
14232
|
}
|
|
14237
14233
|
if (i.length > 2 && t) {
|
|
@@ -14242,7 +14238,7 @@ var Xt = bs, wn = [0, 0], Oo = [0, 0], rc = [0, 0], Oi = [0, 0], gA = function(i
|
|
|
14242
14238
|
}
|
|
14243
14239
|
return n;
|
|
14244
14240
|
};
|
|
14245
|
-
function
|
|
14241
|
+
function Pr(i, t, e) {
|
|
14246
14242
|
i.push([[t[0], t[1]], e]);
|
|
14247
14243
|
}
|
|
14248
14244
|
const vA = 2, AA = 3, bA = 3, yA = 2;
|
|
@@ -14282,30 +14278,30 @@ function CA(i) {
|
|
|
14282
14278
|
function PA(i) {
|
|
14283
14279
|
return i.type === "CatmullRomCurve3";
|
|
14284
14280
|
}
|
|
14285
|
-
var
|
|
14281
|
+
var Xe = {}, IA = {
|
|
14286
14282
|
get exports() {
|
|
14287
|
-
return
|
|
14283
|
+
return Xe;
|
|
14288
14284
|
},
|
|
14289
14285
|
set exports(i) {
|
|
14290
|
-
|
|
14286
|
+
Xe = i;
|
|
14291
14287
|
}
|
|
14292
14288
|
};
|
|
14293
|
-
function
|
|
14289
|
+
function os(i) {
|
|
14294
14290
|
return i === null ? "null" : typeof i == "undefined" ? "undefined" : typeof i == "object" ? Array.isArray(i) ? "array" : "object" : typeof i;
|
|
14295
14291
|
}
|
|
14296
14292
|
function Wh(i) {
|
|
14297
|
-
return
|
|
14293
|
+
return os(i) === "object" ? $r(i) : os(i) === "array" ? Kr(i) : i;
|
|
14298
14294
|
}
|
|
14299
|
-
function
|
|
14295
|
+
function Kr(i) {
|
|
14300
14296
|
return i.map(Wh);
|
|
14301
14297
|
}
|
|
14302
|
-
function
|
|
14298
|
+
function $r(i) {
|
|
14303
14299
|
const t = {};
|
|
14304
14300
|
for (const e in i)
|
|
14305
14301
|
i.hasOwnProperty(e) && (t[e] = Wh(i[e]));
|
|
14306
14302
|
return t;
|
|
14307
14303
|
}
|
|
14308
|
-
function
|
|
14304
|
+
function ws(i, t = [], e = {}) {
|
|
14309
14305
|
const n = {
|
|
14310
14306
|
arrayBehaviour: e.arrayBehaviour || "replace"
|
|
14311
14307
|
// Can be "merge" or "replace".
|
|
@@ -14313,19 +14309,19 @@ function ys(i, t = [], e = {}) {
|
|
|
14313
14309
|
for (let r = 0; r < o.length; r++) {
|
|
14314
14310
|
const a = o[r], l = Object.keys(a);
|
|
14315
14311
|
for (let c = 0; c < l.length; c++) {
|
|
14316
|
-
const d = l[c], h = a[d], u =
|
|
14312
|
+
const d = l[c], h = a[d], u = os(h), m = os(s[d]);
|
|
14317
14313
|
if (u === "object")
|
|
14318
14314
|
if (m !== "undefined") {
|
|
14319
14315
|
const g = m === "object" ? s[d] : {};
|
|
14320
|
-
s[d] =
|
|
14316
|
+
s[d] = ws({}, [g, $r(h)], n);
|
|
14321
14317
|
} else
|
|
14322
|
-
s[d] =
|
|
14318
|
+
s[d] = $r(h);
|
|
14323
14319
|
else if (u === "array")
|
|
14324
14320
|
if (m === "array") {
|
|
14325
|
-
const g =
|
|
14321
|
+
const g = Kr(h);
|
|
14326
14322
|
s[d] = n.arrayBehaviour === "merge" ? s[d].concat(g) : g;
|
|
14327
14323
|
} else
|
|
14328
|
-
s[d] =
|
|
14324
|
+
s[d] = Kr(h);
|
|
14329
14325
|
else
|
|
14330
14326
|
s[d] = h;
|
|
14331
14327
|
}
|
|
@@ -14333,13 +14329,13 @@ function ys(i, t = [], e = {}) {
|
|
|
14333
14329
|
return s;
|
|
14334
14330
|
}
|
|
14335
14331
|
IA.exports = function(t, ...e) {
|
|
14336
|
-
return
|
|
14332
|
+
return ws(t, e);
|
|
14337
14333
|
};
|
|
14338
|
-
|
|
14339
|
-
return
|
|
14334
|
+
Xe.noMutate = function(...t) {
|
|
14335
|
+
return ws({}, t);
|
|
14340
14336
|
};
|
|
14341
|
-
|
|
14342
|
-
return
|
|
14337
|
+
Xe.withOptions = function(t, e, n) {
|
|
14338
|
+
return ws(t, e, n);
|
|
14343
14339
|
};
|
|
14344
14340
|
function EA(i, t) {
|
|
14345
14341
|
t.forEach((e) => {
|
|
@@ -14368,7 +14364,7 @@ function EA(i, t) {
|
|
|
14368
14364
|
});
|
|
14369
14365
|
}
|
|
14370
14366
|
const Qe = (i) => i;
|
|
14371
|
-
function
|
|
14367
|
+
function Ir(i) {
|
|
14372
14368
|
if (i.length < 3)
|
|
14373
14369
|
return;
|
|
14374
14370
|
const t = i.map(Zi), e = t[1].clone().sub(t[0]), n = t[2].clone().sub(t[1]);
|
|
@@ -14392,7 +14388,7 @@ function SA(i) {
|
|
|
14392
14388
|
function MA(i) {
|
|
14393
14389
|
return i.stickType === "Plane" && i.contentType === "MediaPlane";
|
|
14394
14390
|
}
|
|
14395
|
-
function
|
|
14391
|
+
function ss(i) {
|
|
14396
14392
|
if (i)
|
|
14397
14393
|
if (Array.isArray(i) && i.length === 4) {
|
|
14398
14394
|
const e = i.map(Zi);
|
|
@@ -14405,7 +14401,7 @@ function Nh(i) {
|
|
|
14405
14401
|
const t = new Qi().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new $().fromArray(n).applyMatrix4(t));
|
|
14406
14402
|
return Dn(e[0], e[2]);
|
|
14407
14403
|
} else
|
|
14408
|
-
return
|
|
14404
|
+
return ss(i.position);
|
|
14409
14405
|
}
|
|
14410
14406
|
function Bi(i, t) {
|
|
14411
14407
|
if (i === void 0)
|
|
@@ -14659,7 +14655,7 @@ function GA(i) {
|
|
|
14659
14655
|
const [t, e, n, o] = i, s = t.distanceTo(e), r = e.distanceTo(n), a = n.distanceTo(o), l = o.distanceTo(t), c = t.distanceTo(n), d = e.distanceTo(o);
|
|
14660
14656
|
return s === a && r === l && c === d;
|
|
14661
14657
|
}
|
|
14662
|
-
class
|
|
14658
|
+
class Er extends I.Mesh {
|
|
14663
14659
|
/**
|
|
14664
14660
|
* @description 生成一个四边形的Mesh
|
|
14665
14661
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -14741,7 +14737,7 @@ function WA(i, t) {
|
|
|
14741
14737
|
}
|
|
14742
14738
|
return o;
|
|
14743
14739
|
}
|
|
14744
|
-
const NA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII=", Uh = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAACoCAMAAAD6pITnAAABQVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACvr68AAAAAAAAAAAB5eXkAAAA8PDzr6+sLCwuenp4UFBT////8/PyLi4umpqZycnKxsbHMzMykpKTy8vKoqKhcXFw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Wt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", FA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+nc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HsdP60atWqf3C8RARmzg2m4UXfSM9jeSW8rq6u8vr163+TV8JfyQx3e9LZuHHjoQsXLvSMdKckYt9KL53tu/sBHXeeeJMk0rdJ5P2kQXkvqXXOnDnlEr8pTyUPrVmz5qvOzs7/lQTCkU4y1LtGkjIfmIlMnJ+K/MojfzIrl8B3kpU1osxJSYtTAL8wKf4EYJQFk+JeQMlvE3UcLRmTkkUANm1ZOZmE24dqGU5gOfCyZkyGWQT+IykW8zmSz0IpiLNN8t5iTmdTkgGTrInI7JcfULaH10Qnh/4IMVjAxNk6jxwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", FA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==";
|
|
14745
14741
|
function Wi(i, t, e) {
|
|
14746
14742
|
if (i === "fill")
|
|
14747
14743
|
return t;
|
|
@@ -14821,7 +14817,7 @@ class cc extends qh {
|
|
|
14821
14817
|
});
|
|
14822
14818
|
}
|
|
14823
14819
|
}
|
|
14824
|
-
class
|
|
14820
|
+
class ta extends qh {
|
|
14825
14821
|
// eslint-disable-next-line max-params
|
|
14826
14822
|
constructor(e, n, o) {
|
|
14827
14823
|
const { videoCoverSrc: s, objectFit: r = "contain", playButton: a = "withText", paused: l = !0, videoTextureMap: c, ImageTextureMap: d } = o != null ? o : {};
|
|
@@ -14842,7 +14838,7 @@ class ea extends qh {
|
|
|
14842
14838
|
f(this, "buttonMesh");
|
|
14843
14839
|
f(this, "videoTextureMap");
|
|
14844
14840
|
f(this, "ImageTextureMap");
|
|
14845
|
-
this.cornerPoints = n, this.src = e, this.buttonSrc = (() => a === "withText" ? Uh : a === "withoutText" ?
|
|
14841
|
+
this.cornerPoints = n, this.src = e, this.buttonSrc = (() => a === "withText" ? Uh : a === "withoutText" ? ea : typeof a == "string" ? a : ea)(), this.videoCoverSrc = s, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = d, this.position.copy(Dn(...n)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
14846
14842
|
l ? this.addButtonMesh() : this.play(!0);
|
|
14847
14843
|
}), this.addEventListener("removed", () => {
|
|
14848
14844
|
this.remove(...this.children);
|
|
@@ -14914,7 +14910,7 @@ class ea extends qh {
|
|
|
14914
14910
|
const n = yield this.getImageTexture(this.videoCoverSrc);
|
|
14915
14911
|
if (!n)
|
|
14916
14912
|
return;
|
|
14917
|
-
const o = new I.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new
|
|
14913
|
+
const o = new I.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Er(s, o);
|
|
14918
14914
|
return r.position.copy(new $(0, 0, 0)), r.name = "videoCoverMesh", r;
|
|
14919
14915
|
}))();
|
|
14920
14916
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -14934,7 +14930,7 @@ class ea extends qh {
|
|
|
14934
14930
|
"videoLoaded",
|
|
14935
14931
|
() => l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
|
|
14936
14932
|
);
|
|
14937
|
-
}), a = new
|
|
14933
|
+
}), a = new Er(r, s);
|
|
14938
14934
|
return a.name = "videoMesh", a.position.copy(new $(0, 0, 0)), a;
|
|
14939
14935
|
}))();
|
|
14940
14936
|
if (!e)
|
|
@@ -14958,7 +14954,7 @@ class ea extends qh {
|
|
|
14958
14954
|
var u, m, g, v;
|
|
14959
14955
|
if (this.buttonMesh)
|
|
14960
14956
|
return this.buttonMesh;
|
|
14961
|
-
const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new
|
|
14957
|
+
const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new Er(c, new XA(l));
|
|
14962
14958
|
d.position.copy(new $(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.addAutoBindEventListener(d, "click", () => this.play());
|
|
14963
14959
|
const h = new I.Vector3().crossVectors(new I.Vector3().subVectors(c[0], c[1]), new I.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
|
|
14964
14960
|
return d.position.add(h), d;
|
|
@@ -15262,7 +15258,7 @@ class UA extends QA {
|
|
|
15262
15258
|
super(e);
|
|
15263
15259
|
f(this, "tags", []);
|
|
15264
15260
|
f(this, "config", RA);
|
|
15265
|
-
f(this, "mediaStore",
|
|
15261
|
+
f(this, "mediaStore", ga({
|
|
15266
15262
|
currentMediaElement: null
|
|
15267
15263
|
}));
|
|
15268
15264
|
/** css3DRenderPlugin */
|
|
@@ -15283,7 +15279,7 @@ class UA extends QA {
|
|
|
15283
15279
|
this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: n }) => {
|
|
15284
15280
|
this.tags.forEach((o) => {
|
|
15285
15281
|
var s;
|
|
15286
|
-
if (o.mediaPlane instanceof
|
|
15282
|
+
if (o.mediaPlane instanceof ta && n !== o.mediaPlane.videoInstance) {
|
|
15287
15283
|
if (!((s = o.mediaPlane.videoInstance) != null && s.src) || n === o.mediaPlane.videoInstance)
|
|
15288
15284
|
return;
|
|
15289
15285
|
o.mediaPlane.pause();
|
|
@@ -15338,7 +15334,7 @@ class UA extends QA {
|
|
|
15338
15334
|
}
|
|
15339
15335
|
}
|
|
15340
15336
|
});
|
|
15341
|
-
const o =
|
|
15337
|
+
const o = Xe({}, this.config.globalConfig, ...Object.values(n), e.config);
|
|
15342
15338
|
return typeof o.unfoldedConfig == "object" && (o.unfoldedConfig.disableFold && (o.unfoldedConfig = { keep: "unfolded" }), o.unfoldedConfig.disableUnfold && (o.unfoldedConfig = { keep: "folded" }), o.unfoldedConfig.keep && (o.unfoldedConfig = { keep: o.unfoldedConfig.keep })), typeof o.visibleConfig == "object" && o.visibleConfig.keep && (o.visibleConfig = { keep: o.visibleConfig.keep, visibleFiveMode: (r = o.visibleConfig) == null ? void 0 : r.visibleFiveMode }), o;
|
|
15343
15339
|
}
|
|
15344
15340
|
loadVideoFirstFrame() {
|
|
@@ -15347,7 +15343,7 @@ class UA extends QA {
|
|
|
15347
15343
|
updateTagConfig(e) {
|
|
15348
15344
|
e != null && e.force && this.clearCache(), this.tags.forEach((n) => {
|
|
15349
15345
|
const o = this.getTagConfig(n);
|
|
15350
|
-
n.mergedConfig = o, n.data =
|
|
15346
|
+
n.mergedConfig = o, n.data = Xe({}, n.data, o.initialData);
|
|
15351
15347
|
});
|
|
15352
15348
|
}
|
|
15353
15349
|
// eslint-disable-next-line complexity
|
|
@@ -15402,10 +15398,10 @@ class UA extends QA {
|
|
|
15402
15398
|
const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
|
|
15403
15399
|
if (l === void 0)
|
|
15404
15400
|
throw new Error(`getAngleRange(): observerPosition is ${l}`);
|
|
15405
|
-
const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) :
|
|
15401
|
+
const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Ir(e.position))();
|
|
15406
15402
|
if (!c)
|
|
15407
15403
|
return;
|
|
15408
|
-
const d =
|
|
15404
|
+
const d = ss(e.position);
|
|
15409
15405
|
if (!d)
|
|
15410
15406
|
return;
|
|
15411
15407
|
const h = new I.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
|
|
@@ -15497,9 +15493,9 @@ class UA extends QA {
|
|
|
15497
15493
|
if (e.normal)
|
|
15498
15494
|
return St(e.normal);
|
|
15499
15495
|
if (e.stickType === "Plane")
|
|
15500
|
-
return
|
|
15496
|
+
return Ir(e.position);
|
|
15501
15497
|
if (e.stickType === "Model")
|
|
15502
|
-
return
|
|
15498
|
+
return Ir(this.getPositions(e));
|
|
15503
15499
|
}
|
|
15504
15500
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
15505
15501
|
get filterPointTag() {
|
|
@@ -15791,7 +15787,7 @@ class JA extends UA {
|
|
|
15791
15787
|
getTagProject(e) {
|
|
15792
15788
|
if (!this.getVisible(e))
|
|
15793
15789
|
return;
|
|
15794
|
-
const o =
|
|
15790
|
+
const o = ss(e.position);
|
|
15795
15791
|
if (!o)
|
|
15796
15792
|
return;
|
|
15797
15793
|
const { x: s, y: r, z: a } = o.project(this.five.camera);
|
|
@@ -15825,7 +15821,7 @@ class JA extends UA {
|
|
|
15825
15821
|
const o = (a = this.five.work.observers[n]) == null ? void 0 : a.position;
|
|
15826
15822
|
if (o === void 0)
|
|
15827
15823
|
throw new Error(`getVisible(): observerPosition is ${o}`);
|
|
15828
|
-
const s =
|
|
15824
|
+
const s = ss(e.position);
|
|
15829
15825
|
if (!s)
|
|
15830
15826
|
return;
|
|
15831
15827
|
const r = s.sub(o).normalize();
|
|
@@ -16279,7 +16275,7 @@ class Qt extends ce {
|
|
|
16279
16275
|
function ib() {
|
|
16280
16276
|
return Math.random().toString(36).slice(-6);
|
|
16281
16277
|
}
|
|
16282
|
-
const
|
|
16278
|
+
const kr = ib();
|
|
16283
16279
|
function ob(i) {
|
|
16284
16280
|
fe(i, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
16285
16281
|
}
|
|
@@ -16404,7 +16400,7 @@ function ab(i) {
|
|
|
16404
16400
|
p(r, [a]) {
|
|
16405
16401
|
a & /*spanEleList, contentList, __SpaceFlag__*/
|
|
16406
16402
|
14 && (o = /*contentList*/
|
|
16407
|
-
r[2], t = Lt(t, a, s, 1, r, o, e, n.parentNode,
|
|
16403
|
+
r[2], t = Lt(t, a, s, 1, r, o, e, n.parentNode, ma, mc, n, fc));
|
|
16408
16404
|
},
|
|
16409
16405
|
i: Z,
|
|
16410
16406
|
o: Z,
|
|
@@ -16417,7 +16413,7 @@ function ab(i) {
|
|
|
16417
16413
|
}
|
|
16418
16414
|
function lb(i, t, e) {
|
|
16419
16415
|
let n, { inDelay: o = 0 } = t, { outDelay: s = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
|
|
16420
|
-
const c = `__EMOJI_SPLIT_${
|
|
16416
|
+
const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
|
|
16421
16417
|
let u, m, g = [];
|
|
16422
16418
|
function v(x) {
|
|
16423
16419
|
const E = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
@@ -17813,7 +17809,7 @@ function Fb(i) {
|
|
|
17813
17809
|
};
|
|
17814
17810
|
}
|
|
17815
17811
|
function Xb(i, t, e) {
|
|
17816
|
-
const n =
|
|
17812
|
+
const n = ms();
|
|
17817
17813
|
let { pagesCount: o = 1 } = t, { currentPageIndex: s = 0 } = t;
|
|
17818
17814
|
function r(l) {
|
|
17819
17815
|
n("pageChange", l);
|
|
@@ -17979,7 +17975,7 @@ function xa(i) {
|
|
|
17979
17975
|
};
|
|
17980
17976
|
}
|
|
17981
17977
|
const s1 = 110, r1 = 9, a1 = 111, l1 = 20;
|
|
17982
|
-
function
|
|
17978
|
+
function xr(i) {
|
|
17983
17979
|
if ("TouchEvent" in window && i instanceof TouchEvent) {
|
|
17984
17980
|
const t = i.touches[0];
|
|
17985
17981
|
return {
|
|
@@ -18000,13 +17996,13 @@ function c1(i, { thresholdProvider: t }) {
|
|
|
18000
17996
|
}
|
|
18001
17997
|
function c(u) {
|
|
18002
17998
|
r = Date.now(), s = 0, a = !0;
|
|
18003
|
-
const m =
|
|
17999
|
+
const m = xr(u);
|
|
18004
18000
|
n = m.x, o = m.y, e("swipeStart", { x: n, y: o }), o1(window, d), i1(window, h);
|
|
18005
18001
|
}
|
|
18006
18002
|
function d(u) {
|
|
18007
18003
|
if (!a)
|
|
18008
18004
|
return;
|
|
18009
|
-
const m =
|
|
18005
|
+
const m = xr(u), g = m.x - n, v = m.y - o;
|
|
18010
18006
|
n = m.x, o = m.y, e("swipeMove", { x: n, y: o, dx: g, dy: v }), g !== 0 && Math.sign(g) !== Math.sign(s) && (s = 0), s += g, Math.abs(s) > t() && (e("swipeThresholdReached", { direction: s > 0 ? li : dn }), xc(window, h), Dc(window, d));
|
|
18011
18007
|
}
|
|
18012
18008
|
function h(u) {
|
|
@@ -18014,7 +18010,7 @@ function c1(i, { thresholdProvider: t }) {
|
|
|
18014
18010
|
e("swipeFailed");
|
|
18015
18011
|
return;
|
|
18016
18012
|
}
|
|
18017
|
-
const m =
|
|
18013
|
+
const m = xr(u);
|
|
18018
18014
|
e("swipeEnd", { x: m.x, y: m.y });
|
|
18019
18015
|
}
|
|
18020
18016
|
return t1(i, c), {
|
|
@@ -18192,7 +18188,7 @@ function E1({
|
|
|
18192
18188
|
e - 1
|
|
18193
18189
|
);
|
|
18194
18190
|
}
|
|
18195
|
-
function
|
|
18191
|
+
function Dr({
|
|
18196
18192
|
infinite: i,
|
|
18197
18193
|
pageIndex: t,
|
|
18198
18194
|
clonesCountHead: e,
|
|
@@ -18291,7 +18287,7 @@ const qi = (i, t, e) => {
|
|
|
18291
18287
|
if (e === void 0)
|
|
18292
18288
|
throw new Error(`Required arg "${t}" was not provided`);
|
|
18293
18289
|
return e;
|
|
18294
|
-
},
|
|
18290
|
+
}, na = (i) => (t) => {
|
|
18295
18291
|
i[t] && i[t]();
|
|
18296
18292
|
};
|
|
18297
18293
|
var L1 = "Expected a function", tu = "__lodash_hash_undefined__", nu = 1 / 0, T1 = "[object Function]", z1 = "[object GeneratorFunction]", j1 = "[object Symbol]", _1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, V1 = /^\w*$/, O1 = /^\./, B1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, R1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /\\(\\)?/g, H1 = /^\[object .+?Constructor\]$/, G1 = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, W1 = typeof self == "object" && self && self.Object === Object && self, Da = G1 || W1 || Function("return this")();
|
|
@@ -18307,8 +18303,8 @@ function F1(i) {
|
|
|
18307
18303
|
}
|
|
18308
18304
|
return t;
|
|
18309
18305
|
}
|
|
18310
|
-
var X1 = Array.prototype, Y1 = Function.prototype, iu = Object.prototype,
|
|
18311
|
-
var i = /[^.]+$/.exec(
|
|
18306
|
+
var X1 = Array.prototype, Y1 = Function.prototype, iu = Object.prototype, Sr = Da["__core-js_shared__"], Lc = function() {
|
|
18307
|
+
var i = /[^.]+$/.exec(Sr && Sr.keys && Sr.keys.IE_PROTO || "");
|
|
18312
18308
|
return i ? "Symbol(src)_1." + i : "";
|
|
18313
18309
|
}(), ou = Y1.toString, Sa = iu.hasOwnProperty, su = iu.toString, U1 = RegExp(
|
|
18314
18310
|
"^" + ou.call(Sa).replace(R1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
@@ -18358,21 +18354,21 @@ function ny() {
|
|
|
18358
18354
|
this.__data__ = [];
|
|
18359
18355
|
}
|
|
18360
18356
|
function iy(i) {
|
|
18361
|
-
var t = this.__data__, e =
|
|
18357
|
+
var t = this.__data__, e = Cs(t, i);
|
|
18362
18358
|
if (e < 0)
|
|
18363
18359
|
return !1;
|
|
18364
18360
|
var n = t.length - 1;
|
|
18365
18361
|
return e == n ? t.pop() : q1.call(t, e, 1), !0;
|
|
18366
18362
|
}
|
|
18367
18363
|
function oy(i) {
|
|
18368
|
-
var t = this.__data__, e =
|
|
18364
|
+
var t = this.__data__, e = Cs(t, i);
|
|
18369
18365
|
return e < 0 ? void 0 : t[e][1];
|
|
18370
18366
|
}
|
|
18371
18367
|
function sy(i) {
|
|
18372
|
-
return
|
|
18368
|
+
return Cs(this.__data__, i) > -1;
|
|
18373
18369
|
}
|
|
18374
18370
|
function ry(i, t) {
|
|
18375
|
-
var e = this.__data__, n =
|
|
18371
|
+
var e = this.__data__, n = Cs(e, i);
|
|
18376
18372
|
return n < 0 ? e.push([i, t]) : e[n][1] = t, this;
|
|
18377
18373
|
}
|
|
18378
18374
|
yi.prototype.clear = ny;
|
|
@@ -18395,23 +18391,23 @@ function ay() {
|
|
|
18395
18391
|
};
|
|
18396
18392
|
}
|
|
18397
18393
|
function ly(i) {
|
|
18398
|
-
return
|
|
18394
|
+
return Ps(this, i).delete(i);
|
|
18399
18395
|
}
|
|
18400
18396
|
function cy(i) {
|
|
18401
|
-
return
|
|
18397
|
+
return Ps(this, i).get(i);
|
|
18402
18398
|
}
|
|
18403
18399
|
function dy(i) {
|
|
18404
|
-
return
|
|
18400
|
+
return Ps(this, i).has(i);
|
|
18405
18401
|
}
|
|
18406
18402
|
function hy(i, t) {
|
|
18407
|
-
return
|
|
18403
|
+
return Ps(this, i).set(i, t), this;
|
|
18408
18404
|
}
|
|
18409
18405
|
Ln.prototype.clear = ay;
|
|
18410
18406
|
Ln.prototype.delete = ly;
|
|
18411
18407
|
Ln.prototype.get = cy;
|
|
18412
18408
|
Ln.prototype.has = dy;
|
|
18413
18409
|
Ln.prototype.set = hy;
|
|
18414
|
-
function
|
|
18410
|
+
function Cs(i, t) {
|
|
18415
18411
|
for (var e = i.length; e--; )
|
|
18416
18412
|
if (Cy(i[e][0], t))
|
|
18417
18413
|
return e;
|
|
@@ -18440,7 +18436,7 @@ function my(i) {
|
|
|
18440
18436
|
function py(i) {
|
|
18441
18437
|
return au(i) ? i : by(i);
|
|
18442
18438
|
}
|
|
18443
|
-
function
|
|
18439
|
+
function Ps(i, t) {
|
|
18444
18440
|
var e = i.__data__;
|
|
18445
18441
|
return vy(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
18446
18442
|
}
|
|
@@ -18525,12 +18521,12 @@ function ky(i, t, e) {
|
|
|
18525
18521
|
var n = i == null ? void 0 : uy(i, t);
|
|
18526
18522
|
return n === void 0 ? e : n;
|
|
18527
18523
|
}
|
|
18528
|
-
var Bo = ky,
|
|
18524
|
+
var Bo = ky, rs = {}, xy = {
|
|
18529
18525
|
get exports() {
|
|
18530
|
-
return
|
|
18526
|
+
return rs;
|
|
18531
18527
|
},
|
|
18532
18528
|
set exports(i) {
|
|
18533
|
-
|
|
18529
|
+
rs = i;
|
|
18534
18530
|
}
|
|
18535
18531
|
};
|
|
18536
18532
|
(function(i, t) {
|
|
@@ -18553,7 +18549,7 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18553
18549
|
p[Ce + M] = C[M];
|
|
18554
18550
|
return p;
|
|
18555
18551
|
}
|
|
18556
|
-
function
|
|
18552
|
+
function Ye(p, C, M, W) {
|
|
18557
18553
|
var Ce = -1, pe = p ? p.length : 0;
|
|
18558
18554
|
for (W && pe && (M = p[++Ce]); ++Ce < pe; )
|
|
18559
18555
|
M = C(M, p[Ce], Ce, p);
|
|
@@ -18598,7 +18594,7 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18598
18594
|
return p ? "Symbol(src)_1." + p : "";
|
|
18599
18595
|
}(), Oe = Ht.toString, Fe = pt.hasOwnProperty, It = pt.toString, wi = RegExp(
|
|
18600
18596
|
"^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18601
|
-
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = pt.propertyIsEnumerable,
|
|
18597
|
+
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = pt.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;
|
|
18602
18598
|
function Gt(p) {
|
|
18603
18599
|
var C = -1, M = p ? p.length : 0;
|
|
18604
18600
|
for (this.clear(); ++C < M; ) {
|
|
@@ -18606,13 +18602,13 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18606
18602
|
this.set(W[0], W[1]);
|
|
18607
18603
|
}
|
|
18608
18604
|
}
|
|
18609
|
-
function
|
|
18605
|
+
function Ds() {
|
|
18610
18606
|
this.__data__ = gn ? gn(null) : {};
|
|
18611
18607
|
}
|
|
18612
|
-
function
|
|
18608
|
+
function Ss(p) {
|
|
18613
18609
|
return this.has(p) && delete this.__data__[p];
|
|
18614
18610
|
}
|
|
18615
|
-
function
|
|
18611
|
+
function Ms(p) {
|
|
18616
18612
|
var C = this.__data__;
|
|
18617
18613
|
if (gn) {
|
|
18618
18614
|
var M = C[p];
|
|
@@ -18628,36 +18624,36 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18628
18624
|
var M = this.__data__;
|
|
18629
18625
|
return M[p] = gn && C === void 0 ? n : C, this;
|
|
18630
18626
|
}
|
|
18631
|
-
Gt.prototype.clear =
|
|
18632
|
-
function
|
|
18627
|
+
Gt.prototype.clear = Ds, Gt.prototype.delete = Ss, Gt.prototype.get = Ms, Gt.prototype.has = uo, Gt.prototype.set = Di;
|
|
18628
|
+
function Ue(p) {
|
|
18633
18629
|
var C = -1, M = p ? p.length : 0;
|
|
18634
18630
|
for (this.clear(); ++C < M; ) {
|
|
18635
18631
|
var W = p[C];
|
|
18636
18632
|
this.set(W[0], W[1]);
|
|
18637
18633
|
}
|
|
18638
18634
|
}
|
|
18639
|
-
function
|
|
18635
|
+
function Ls() {
|
|
18640
18636
|
this.__data__ = [];
|
|
18641
18637
|
}
|
|
18642
|
-
function
|
|
18638
|
+
function Ts(p) {
|
|
18643
18639
|
var C = this.__data__, M = Bn(C, p);
|
|
18644
18640
|
if (M < 0)
|
|
18645
18641
|
return !1;
|
|
18646
18642
|
var W = C.length - 1;
|
|
18647
|
-
return M == W ? C.pop() :
|
|
18643
|
+
return M == W ? C.pop() : xs.call(C, M, 1), !0;
|
|
18648
18644
|
}
|
|
18649
|
-
function
|
|
18645
|
+
function zs(p) {
|
|
18650
18646
|
var C = this.__data__, M = Bn(C, p);
|
|
18651
18647
|
return M < 0 ? void 0 : C[M][1];
|
|
18652
18648
|
}
|
|
18653
|
-
function
|
|
18649
|
+
function js(p) {
|
|
18654
18650
|
return Bn(this.__data__, p) > -1;
|
|
18655
18651
|
}
|
|
18656
|
-
function
|
|
18652
|
+
function _s(p, C) {
|
|
18657
18653
|
var M = this.__data__, W = Bn(M, p);
|
|
18658
18654
|
return W < 0 ? M.push([p, C]) : M[W][1] = C, this;
|
|
18659
18655
|
}
|
|
18660
|
-
|
|
18656
|
+
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
18661
18657
|
function $e(p) {
|
|
18662
18658
|
var C = -1, M = p ? p.length : 0;
|
|
18663
18659
|
for (this.clear(); ++C < M; ) {
|
|
@@ -18665,44 +18661,44 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18665
18661
|
this.set(W[0], W[1]);
|
|
18666
18662
|
}
|
|
18667
18663
|
}
|
|
18668
|
-
function
|
|
18664
|
+
function Vs() {
|
|
18669
18665
|
this.__data__ = {
|
|
18670
18666
|
hash: new Gt(),
|
|
18671
|
-
map: new (pn ||
|
|
18667
|
+
map: new (pn || Ue)(),
|
|
18672
18668
|
string: new Gt()
|
|
18673
18669
|
};
|
|
18674
18670
|
}
|
|
18675
|
-
function
|
|
18671
|
+
function Os(p) {
|
|
18676
18672
|
return bn(this, p).delete(p);
|
|
18677
18673
|
}
|
|
18678
|
-
function
|
|
18674
|
+
function Bs(p) {
|
|
18679
18675
|
return bn(this, p).get(p);
|
|
18680
18676
|
}
|
|
18681
|
-
function
|
|
18677
|
+
function Rs(p) {
|
|
18682
18678
|
return bn(this, p).has(p);
|
|
18683
18679
|
}
|
|
18684
|
-
function
|
|
18680
|
+
function Qs(p, C) {
|
|
18685
18681
|
return bn(this, p).set(p, C), this;
|
|
18686
18682
|
}
|
|
18687
|
-
$e.prototype.clear =
|
|
18683
|
+
$e.prototype.clear = Vs, $e.prototype.delete = Os, $e.prototype.get = Bs, $e.prototype.has = Rs, $e.prototype.set = Qs;
|
|
18688
18684
|
function ft(p) {
|
|
18689
|
-
this.__data__ = new
|
|
18685
|
+
this.__data__ = new Ue(p);
|
|
18690
18686
|
}
|
|
18691
|
-
function
|
|
18692
|
-
this.__data__ = new
|
|
18687
|
+
function Hs() {
|
|
18688
|
+
this.__data__ = new Ue();
|
|
18693
18689
|
}
|
|
18694
|
-
function
|
|
18690
|
+
function Gs(p) {
|
|
18695
18691
|
return this.__data__.delete(p);
|
|
18696
18692
|
}
|
|
18697
|
-
function
|
|
18693
|
+
function Ws(p) {
|
|
18698
18694
|
return this.__data__.get(p);
|
|
18699
18695
|
}
|
|
18700
|
-
function
|
|
18696
|
+
function Ns(p) {
|
|
18701
18697
|
return this.__data__.has(p);
|
|
18702
18698
|
}
|
|
18703
|
-
function
|
|
18699
|
+
function Fs(p, C) {
|
|
18704
18700
|
var M = this.__data__;
|
|
18705
|
-
if (M instanceof
|
|
18701
|
+
if (M instanceof Ue) {
|
|
18706
18702
|
var W = M.__data__;
|
|
18707
18703
|
if (!pn || W.length < e - 1)
|
|
18708
18704
|
return W.push([p, C]), this;
|
|
@@ -18710,11 +18706,11 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18710
18706
|
}
|
|
18711
18707
|
return M.set(p, C), this;
|
|
18712
18708
|
}
|
|
18713
|
-
ft.prototype.clear =
|
|
18709
|
+
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
18714
18710
|
function On(p, C) {
|
|
18715
18711
|
var M = Ti(p) || Qn(p) ? at(p.length, String) : [], W = M.length, Ce = !!W;
|
|
18716
18712
|
for (var pe in p)
|
|
18717
|
-
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" ||
|
|
18713
|
+
(C || Fe.call(p, pe)) && !(Ce && (pe == "length" || sr(pe, W))) && M.push(pe);
|
|
18718
18714
|
return M;
|
|
18719
18715
|
}
|
|
18720
18716
|
function fo(p, C, M) {
|
|
@@ -18738,8 +18734,8 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18738
18734
|
return p;
|
|
18739
18735
|
var Ge = Ti(p);
|
|
18740
18736
|
if (Ge) {
|
|
18741
|
-
if (De =
|
|
18742
|
-
return
|
|
18737
|
+
if (De = ir(p), !C)
|
|
18738
|
+
return er(p, De);
|
|
18743
18739
|
} else {
|
|
18744
18740
|
var Le = Nt(p), et = Le == d || Le == h;
|
|
18745
18741
|
if (bo(p))
|
|
@@ -18748,11 +18744,11 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18748
18744
|
if (Ke(p))
|
|
18749
18745
|
return pe ? p : {};
|
|
18750
18746
|
if (De = jt(et ? {} : p), !C)
|
|
18751
|
-
return
|
|
18747
|
+
return tr(p, zt(De, p));
|
|
18752
18748
|
} else {
|
|
18753
18749
|
if (!ie[Le])
|
|
18754
18750
|
return pe ? p : {};
|
|
18755
|
-
De =
|
|
18751
|
+
De = or(p, Le, Si, C);
|
|
18756
18752
|
}
|
|
18757
18753
|
}
|
|
18758
18754
|
xe || (xe = new ft());
|
|
@@ -18760,28 +18756,28 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18760
18756
|
if (mt)
|
|
18761
18757
|
return mt;
|
|
18762
18758
|
if (xe.set(p, De), !Ge)
|
|
18763
|
-
var Ne = M ?
|
|
18764
|
-
return Me(Ne || p, function(tt,
|
|
18765
|
-
Ne && (
|
|
18759
|
+
var Ne = M ? nr(p) : ji(p);
|
|
18760
|
+
return Me(Ne || p, function(tt, qe) {
|
|
18761
|
+
Ne && (qe = tt, tt = p[qe]), fo(De, qe, Si(tt, C, M, W, qe, p, xe));
|
|
18766
18762
|
}), De;
|
|
18767
18763
|
}
|
|
18768
|
-
function
|
|
18764
|
+
function Xs(p) {
|
|
18769
18765
|
return _t(p) ? Tn(p) : {};
|
|
18770
18766
|
}
|
|
18771
|
-
function
|
|
18767
|
+
function Ys(p, C, M) {
|
|
18772
18768
|
var W = C(p);
|
|
18773
18769
|
return Ti(p) ? W : me(W, M(p));
|
|
18774
18770
|
}
|
|
18775
|
-
function
|
|
18771
|
+
function Us(p) {
|
|
18776
18772
|
return It.call(p);
|
|
18777
18773
|
}
|
|
18778
|
-
function
|
|
18779
|
-
if (!_t(p) ||
|
|
18774
|
+
function qs(p) {
|
|
18775
|
+
if (!_t(p) || ar(p))
|
|
18780
18776
|
return !1;
|
|
18781
18777
|
var C = zi(p) || Ke(p) ? wi : J;
|
|
18782
18778
|
return C.test(lt(p));
|
|
18783
18779
|
}
|
|
18784
|
-
function
|
|
18780
|
+
function Js(p) {
|
|
18785
18781
|
if (!go(p))
|
|
18786
18782
|
return co(p);
|
|
18787
18783
|
var C = [];
|
|
@@ -18805,24 +18801,24 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18805
18801
|
}
|
|
18806
18802
|
function mo(p, C, M) {
|
|
18807
18803
|
var W = C ? M(oe(p), !0) : oe(p);
|
|
18808
|
-
return
|
|
18804
|
+
return Ye(W, ue, new p.constructor());
|
|
18809
18805
|
}
|
|
18810
18806
|
function po(p) {
|
|
18811
18807
|
var C = new p.constructor(p.source, X.exec(p));
|
|
18812
18808
|
return C.lastIndex = p.lastIndex, C;
|
|
18813
18809
|
}
|
|
18814
|
-
function
|
|
18810
|
+
function Zs(p, C, M) {
|
|
18815
18811
|
var W = C ? M(Be(p), !0) : Be(p);
|
|
18816
|
-
return
|
|
18812
|
+
return Ye(W, be, new p.constructor());
|
|
18817
18813
|
}
|
|
18818
|
-
function
|
|
18814
|
+
function Ks(p) {
|
|
18819
18815
|
return ho ? Object(ho.call(p)) : {};
|
|
18820
18816
|
}
|
|
18821
|
-
function
|
|
18817
|
+
function $s(p, C) {
|
|
18822
18818
|
var M = C ? Mi(p.buffer) : p.buffer;
|
|
18823
18819
|
return new p.constructor(M, p.byteOffset, p.length);
|
|
18824
18820
|
}
|
|
18825
|
-
function
|
|
18821
|
+
function er(p, C) {
|
|
18826
18822
|
var M = -1, W = p.length;
|
|
18827
18823
|
for (C || (C = Array(W)); ++M < W; )
|
|
18828
18824
|
C[M] = p[M];
|
|
@@ -18836,21 +18832,21 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18836
18832
|
}
|
|
18837
18833
|
return M;
|
|
18838
18834
|
}
|
|
18839
|
-
function
|
|
18835
|
+
function tr(p, C) {
|
|
18840
18836
|
return Li(p, Wt(p), C);
|
|
18841
18837
|
}
|
|
18842
|
-
function
|
|
18843
|
-
return
|
|
18838
|
+
function nr(p) {
|
|
18839
|
+
return Ys(p, ji, Wt);
|
|
18844
18840
|
}
|
|
18845
18841
|
function bn(p, C) {
|
|
18846
18842
|
var M = p.__data__;
|
|
18847
|
-
return
|
|
18843
|
+
return rr(C) ? M[typeof C == "string" ? "string" : "hash"] : M.map;
|
|
18848
18844
|
}
|
|
18849
18845
|
function kt(p, C) {
|
|
18850
18846
|
var M = ke(p, C);
|
|
18851
|
-
return
|
|
18847
|
+
return qs(M) ? M : void 0;
|
|
18852
18848
|
}
|
|
18853
|
-
var Wt = Ci ? Ee(Ci, Object) :
|
|
18849
|
+
var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
|
|
18854
18850
|
(_n && Nt(new _n(new ArrayBuffer(1))) != E || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != v || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != D) && (Nt = function(p) {
|
|
18855
18851
|
var C = It.call(p), M = C == g ? p.constructor : void 0, W = M ? lt(M) : void 0;
|
|
18856
18852
|
if (W)
|
|
@@ -18868,14 +18864,14 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18868
18864
|
}
|
|
18869
18865
|
return C;
|
|
18870
18866
|
});
|
|
18871
|
-
function
|
|
18867
|
+
function ir(p) {
|
|
18872
18868
|
var C = p.length, M = p.constructor(C);
|
|
18873
18869
|
return C && typeof p[0] == "string" && Fe.call(p, "index") && (M.index = p.index, M.input = p.input), M;
|
|
18874
18870
|
}
|
|
18875
18871
|
function jt(p) {
|
|
18876
|
-
return typeof p.constructor == "function" && !go(p) ?
|
|
18872
|
+
return typeof p.constructor == "function" && !go(p) ? Xs(ut(p)) : {};
|
|
18877
18873
|
}
|
|
18878
|
-
function
|
|
18874
|
+
function or(p, C, M, W) {
|
|
18879
18875
|
var Ce = p.constructor;
|
|
18880
18876
|
switch (C) {
|
|
18881
18877
|
case x:
|
|
@@ -18894,7 +18890,7 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18894
18890
|
case Q:
|
|
18895
18891
|
case R:
|
|
18896
18892
|
case q:
|
|
18897
|
-
return
|
|
18893
|
+
return $s(p, W);
|
|
18898
18894
|
case u:
|
|
18899
18895
|
return mo(p, W, M);
|
|
18900
18896
|
case m:
|
|
@@ -18903,19 +18899,19 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18903
18899
|
case A:
|
|
18904
18900
|
return po(p);
|
|
18905
18901
|
case b:
|
|
18906
|
-
return
|
|
18902
|
+
return Zs(p, W, M);
|
|
18907
18903
|
case P:
|
|
18908
|
-
return
|
|
18904
|
+
return Ks(p);
|
|
18909
18905
|
}
|
|
18910
18906
|
}
|
|
18911
|
-
function
|
|
18907
|
+
function sr(p, C) {
|
|
18912
18908
|
return C = C == null ? o : C, !!C && (typeof p == "number" || re.test(p)) && p > -1 && p % 1 == 0 && p < C;
|
|
18913
18909
|
}
|
|
18914
|
-
function
|
|
18910
|
+
function rr(p) {
|
|
18915
18911
|
var C = typeof p;
|
|
18916
18912
|
return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? p !== "__proto__" : p === null;
|
|
18917
18913
|
}
|
|
18918
|
-
function
|
|
18914
|
+
function ar(p) {
|
|
18919
18915
|
return !!je && je in p;
|
|
18920
18916
|
}
|
|
18921
18917
|
function go(p) {
|
|
@@ -18942,16 +18938,16 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18942
18938
|
return p === C || p !== p && C !== C;
|
|
18943
18939
|
}
|
|
18944
18940
|
function Qn(p) {
|
|
18945
|
-
return
|
|
18941
|
+
return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || It.call(p) == s);
|
|
18946
18942
|
}
|
|
18947
18943
|
var Ti = Array.isArray;
|
|
18948
18944
|
function Hn(p) {
|
|
18949
18945
|
return p != null && yo(p.length) && !zi(p);
|
|
18950
18946
|
}
|
|
18951
|
-
function
|
|
18947
|
+
function lr(p) {
|
|
18952
18948
|
return wo(p) && Hn(p);
|
|
18953
18949
|
}
|
|
18954
|
-
var bo = jn ||
|
|
18950
|
+
var bo = jn || dr;
|
|
18955
18951
|
function zi(p) {
|
|
18956
18952
|
var C = _t(p) ? It.call(p) : "";
|
|
18957
18953
|
return C == d || C == h;
|
|
@@ -18967,29 +18963,29 @@ var Bo = ky, ss = {}, xy = {
|
|
|
18967
18963
|
return !!p && typeof p == "object";
|
|
18968
18964
|
}
|
|
18969
18965
|
function ji(p) {
|
|
18970
|
-
return Hn(p) ? On(p) :
|
|
18966
|
+
return Hn(p) ? On(p) : Js(p);
|
|
18971
18967
|
}
|
|
18972
|
-
function
|
|
18968
|
+
function cr() {
|
|
18973
18969
|
return [];
|
|
18974
18970
|
}
|
|
18975
|
-
function
|
|
18971
|
+
function dr() {
|
|
18976
18972
|
return !1;
|
|
18977
18973
|
}
|
|
18978
18974
|
i.exports = vo;
|
|
18979
|
-
})(xy,
|
|
18980
|
-
const Dy =
|
|
18981
|
-
var
|
|
18975
|
+
})(xy, rs);
|
|
18976
|
+
const Dy = rs;
|
|
18977
|
+
var as = {}, Sy = {
|
|
18982
18978
|
get exports() {
|
|
18983
|
-
return
|
|
18979
|
+
return as;
|
|
18984
18980
|
},
|
|
18985
18981
|
set exports(i) {
|
|
18986
|
-
|
|
18982
|
+
as = i;
|
|
18987
18983
|
}
|
|
18988
18984
|
};
|
|
18989
18985
|
(function(i, t) {
|
|
18990
18986
|
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]", g = "[object GeneratorFunction]", v = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", D = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", T = "[object String]", S = "[object Symbol]", N = "[object Undefined]", Y = "[object WeakMap]", H = "[object ArrayBuffer]", z = "[object DataView]", Q = "[object Float32Array]", R = "[object Float64Array]", q = "[object Int8Array]", U = "[object Int16Array]", X = "[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 = {};
|
|
18991
18987
|
ve[Q] = ve[R] = ve[q] = ve[U] = ve[X] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[H] = ve[d] = ve[z] = ve[h] = ve[u] = ve[m] = ve[v] = ve[A] = ve[y] = ve[x] = ve[E] = ve[T] = ve[Y] = !1;
|
|
18992
|
-
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")(), Me = t && !t.nodeType && t, me = Me && !0 && i && !i.nodeType && i,
|
|
18988
|
+
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")(), Me = t && !t.nodeType && t, me = Me && !0 && i && !i.nodeType && i, Ye = me && me.exports === Me, at = Ye && He.process, ke = function() {
|
|
18993
18989
|
try {
|
|
18994
18990
|
return at && at.binding && at.binding("util");
|
|
18995
18991
|
} catch (p) {
|
|
@@ -19049,24 +19045,24 @@ var rs = {}, Sy = {
|
|
|
19049
19045
|
var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
|
|
19050
19046
|
var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
|
|
19051
19047
|
return p ? "Symbol(src)_1." + p : "";
|
|
19052
|
-
}(), zn = Tt.toString,
|
|
19048
|
+
}(), zn = Tt.toString, xs = RegExp(
|
|
19053
19049
|
"^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
19054
|
-
), Ci =
|
|
19055
|
-
function
|
|
19050
|
+
), 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), Ss = lt(ki), Ms = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
|
|
19051
|
+
function Ue(p) {
|
|
19056
19052
|
var C = -1, M = p == null ? 0 : p.length;
|
|
19057
19053
|
for (this.clear(); ++C < M; ) {
|
|
19058
19054
|
var W = p[C];
|
|
19059
19055
|
this.set(W[0], W[1]);
|
|
19060
19056
|
}
|
|
19061
19057
|
}
|
|
19062
|
-
function
|
|
19058
|
+
function Ls() {
|
|
19063
19059
|
this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
|
|
19064
19060
|
}
|
|
19065
|
-
function
|
|
19061
|
+
function Ts(p) {
|
|
19066
19062
|
var C = this.has(p) && delete this.__data__[p];
|
|
19067
19063
|
return this.size -= C ? 1 : 0, C;
|
|
19068
19064
|
}
|
|
19069
|
-
function
|
|
19065
|
+
function zs(p) {
|
|
19070
19066
|
var C = this.__data__;
|
|
19071
19067
|
if (Kt) {
|
|
19072
19068
|
var M = C[p];
|
|
@@ -19074,15 +19070,15 @@ var rs = {}, Sy = {
|
|
|
19074
19070
|
}
|
|
19075
19071
|
return ut.call(C, p) ? C[p] : void 0;
|
|
19076
19072
|
}
|
|
19077
|
-
function
|
|
19073
|
+
function js(p) {
|
|
19078
19074
|
var C = this.__data__;
|
|
19079
19075
|
return Kt ? C[p] !== void 0 : ut.call(C, p);
|
|
19080
19076
|
}
|
|
19081
|
-
function
|
|
19077
|
+
function _s(p, C) {
|
|
19082
19078
|
var M = this.__data__;
|
|
19083
19079
|
return this.size += this.has(p) ? 0 : 1, M[p] = Kt && C === void 0 ? n : C, this;
|
|
19084
19080
|
}
|
|
19085
|
-
|
|
19081
|
+
Ue.prototype.clear = Ls, Ue.prototype.delete = Ts, Ue.prototype.get = zs, Ue.prototype.has = js, Ue.prototype.set = _s;
|
|
19086
19082
|
function $e(p) {
|
|
19087
19083
|
var C = -1, M = p == null ? 0 : p.length;
|
|
19088
19084
|
for (this.clear(); ++C < M; ) {
|
|
@@ -19090,28 +19086,28 @@ var rs = {}, Sy = {
|
|
|
19090
19086
|
this.set(W[0], W[1]);
|
|
19091
19087
|
}
|
|
19092
19088
|
}
|
|
19093
|
-
function
|
|
19089
|
+
function Vs() {
|
|
19094
19090
|
this.__data__ = [], this.size = 0;
|
|
19095
19091
|
}
|
|
19096
|
-
function
|
|
19092
|
+
function Os(p) {
|
|
19097
19093
|
var C = this.__data__, M = Rn(C, p);
|
|
19098
19094
|
if (M < 0)
|
|
19099
19095
|
return !1;
|
|
19100
19096
|
var W = C.length - 1;
|
|
19101
19097
|
return M == W ? C.pop() : pn.call(C, M, 1), --this.size, !0;
|
|
19102
19098
|
}
|
|
19103
|
-
function
|
|
19099
|
+
function Bs(p) {
|
|
19104
19100
|
var C = this.__data__, M = Rn(C, p);
|
|
19105
19101
|
return M < 0 ? void 0 : C[M][1];
|
|
19106
19102
|
}
|
|
19107
|
-
function
|
|
19103
|
+
function Rs(p) {
|
|
19108
19104
|
return Rn(this.__data__, p) > -1;
|
|
19109
19105
|
}
|
|
19110
|
-
function
|
|
19106
|
+
function Qs(p, C) {
|
|
19111
19107
|
var M = this.__data__, W = Rn(M, p);
|
|
19112
19108
|
return W < 0 ? (++this.size, M.push([p, C])) : M[W][1] = C, this;
|
|
19113
19109
|
}
|
|
19114
|
-
$e.prototype.clear =
|
|
19110
|
+
$e.prototype.clear = Vs, $e.prototype.delete = Os, $e.prototype.get = Bs, $e.prototype.has = Rs, $e.prototype.set = Qs;
|
|
19115
19111
|
function ft(p) {
|
|
19116
19112
|
var C = -1, M = p == null ? 0 : p.length;
|
|
19117
19113
|
for (this.clear(); ++C < M; ) {
|
|
@@ -19119,28 +19115,28 @@ var rs = {}, Sy = {
|
|
|
19119
19115
|
this.set(W[0], W[1]);
|
|
19120
19116
|
}
|
|
19121
19117
|
}
|
|
19122
|
-
function
|
|
19118
|
+
function Hs() {
|
|
19123
19119
|
this.size = 0, this.__data__ = {
|
|
19124
|
-
hash: new
|
|
19120
|
+
hash: new Ue(),
|
|
19125
19121
|
map: new (vn || $e)(),
|
|
19126
|
-
string: new
|
|
19122
|
+
string: new Ue()
|
|
19127
19123
|
};
|
|
19128
19124
|
}
|
|
19129
|
-
function
|
|
19125
|
+
function Gs(p) {
|
|
19130
19126
|
var C = kt(this, p).delete(p);
|
|
19131
19127
|
return this.size -= C ? 1 : 0, C;
|
|
19132
19128
|
}
|
|
19133
|
-
function
|
|
19129
|
+
function Ws(p) {
|
|
19134
19130
|
return kt(this, p).get(p);
|
|
19135
19131
|
}
|
|
19136
|
-
function
|
|
19132
|
+
function Ns(p) {
|
|
19137
19133
|
return kt(this, p).has(p);
|
|
19138
19134
|
}
|
|
19139
|
-
function
|
|
19135
|
+
function Fs(p, C) {
|
|
19140
19136
|
var M = kt(this, p), W = M.size;
|
|
19141
19137
|
return M.set(p, C), this.size += M.size == W ? 0 : 1, this;
|
|
19142
19138
|
}
|
|
19143
|
-
ft.prototype.clear =
|
|
19139
|
+
ft.prototype.clear = Hs, ft.prototype.delete = Gs, ft.prototype.get = Ws, ft.prototype.has = Ns, ft.prototype.set = Fs;
|
|
19144
19140
|
function On(p) {
|
|
19145
19141
|
var C = -1, M = p == null ? 0 : p.length;
|
|
19146
19142
|
for (this.__data__ = new ft(); ++C < M; )
|
|
@@ -19160,17 +19156,17 @@ var rs = {}, Sy = {
|
|
|
19160
19156
|
function Si() {
|
|
19161
19157
|
this.__data__ = new $e(), this.size = 0;
|
|
19162
19158
|
}
|
|
19163
|
-
function
|
|
19159
|
+
function Xs(p) {
|
|
19164
19160
|
var C = this.__data__, M = C.delete(p);
|
|
19165
19161
|
return this.size = C.size, M;
|
|
19166
19162
|
}
|
|
19167
|
-
function
|
|
19163
|
+
function Ys(p) {
|
|
19168
19164
|
return this.__data__.get(p);
|
|
19169
19165
|
}
|
|
19170
|
-
function
|
|
19166
|
+
function Us(p) {
|
|
19171
19167
|
return this.__data__.has(p);
|
|
19172
19168
|
}
|
|
19173
|
-
function
|
|
19169
|
+
function qs(p, C) {
|
|
19174
19170
|
var M = this.__data__;
|
|
19175
19171
|
if (M instanceof $e) {
|
|
19176
19172
|
var W = M.__data__;
|
|
@@ -19180,15 +19176,15 @@ var rs = {}, Sy = {
|
|
|
19180
19176
|
}
|
|
19181
19177
|
return M.set(p, C), this.size = M.size, this;
|
|
19182
19178
|
}
|
|
19183
|
-
zt.prototype.clear = Si, zt.prototype.delete =
|
|
19184
|
-
function
|
|
19179
|
+
zt.prototype.clear = Si, zt.prototype.delete = Xs, zt.prototype.get = Ys, zt.prototype.has = Us, zt.prototype.set = qs;
|
|
19180
|
+
function Js(p, C) {
|
|
19185
19181
|
var M = Qn(p), W = !M && Ao(p), Ce = !M && !W && Hn(p), pe = !M && !W && !Ce && wo(p), xe = M || W || Ce || pe, De = xe ? ht(p.length, String) : [], Ge = De.length;
|
|
19186
19182
|
for (var Le in p)
|
|
19187
19183
|
(C || ut.call(p, Le)) && !(xe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
19188
19184
|
(Le == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
19189
19185
|
Ce && (Le == "offset" || Le == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
19190
19186
|
pe && (Le == "buffer" || Le == "byteLength" || Le == "byteOffset") || // Skip index properties.
|
|
19191
|
-
|
|
19187
|
+
or(Le, Ge))) && De.push(Le);
|
|
19192
19188
|
return De;
|
|
19193
19189
|
}
|
|
19194
19190
|
function Rn(p, C) {
|
|
@@ -19208,9 +19204,9 @@ var rs = {}, Sy = {
|
|
|
19208
19204
|
return _t(p) && An(p) == a;
|
|
19209
19205
|
}
|
|
19210
19206
|
function po(p, C, M, W, Ce) {
|
|
19211
|
-
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C :
|
|
19207
|
+
return p === C ? !0 : p == null || C == null || !_t(p) && !_t(C) ? p !== p && C !== C : Zs(p, C, M, W, po, Ce);
|
|
19212
19208
|
}
|
|
19213
|
-
function
|
|
19209
|
+
function Zs(p, C, M, W, Ce, pe) {
|
|
19214
19210
|
var xe = Qn(p), De = Qn(C), Ge = xe ? l : jt(p), Le = De ? l : jt(C);
|
|
19215
19211
|
Ge = Ge == a ? y : Ge, Le = Le == a ? y : Le;
|
|
19216
19212
|
var et = Ge == y, mt = Le == y, Ne = Ge == Le;
|
|
@@ -19220,27 +19216,27 @@ var rs = {}, Sy = {
|
|
|
19220
19216
|
xe = !0, et = !1;
|
|
19221
19217
|
}
|
|
19222
19218
|
if (Ne && !et)
|
|
19223
|
-
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C, M, W, Ce, pe) :
|
|
19219
|
+
return pe || (pe = new zt()), xe || wo(p) ? Li(p, C, M, W, Ce, pe) : tr(p, C, Ge, M, W, Ce, pe);
|
|
19224
19220
|
if (!(M & o)) {
|
|
19225
|
-
var tt = et && ut.call(p, "__wrapped__"),
|
|
19226
|
-
if (tt ||
|
|
19227
|
-
var $t = tt ? p.value() : p, Ft =
|
|
19221
|
+
var tt = et && ut.call(p, "__wrapped__"), qe = mt && ut.call(C, "__wrapped__");
|
|
19222
|
+
if (tt || qe) {
|
|
19223
|
+
var $t = tt ? p.value() : p, Ft = qe ? C.value() : C;
|
|
19228
19224
|
return pe || (pe = new zt()), Ce($t, Ft, M, W, pe);
|
|
19229
19225
|
}
|
|
19230
19226
|
}
|
|
19231
|
-
return Ne ? (pe || (pe = new zt()),
|
|
19227
|
+
return Ne ? (pe || (pe = new zt()), nr(p, C, M, W, Ce, pe)) : !1;
|
|
19232
19228
|
}
|
|
19233
|
-
function
|
|
19234
|
-
if (!yo(p) ||
|
|
19229
|
+
function Ks(p) {
|
|
19230
|
+
if (!yo(p) || rr(p))
|
|
19235
19231
|
return !1;
|
|
19236
|
-
var C = bo(p) ?
|
|
19232
|
+
var C = bo(p) ? xs : ge;
|
|
19237
19233
|
return C.test(lt(p));
|
|
19238
19234
|
}
|
|
19239
|
-
function
|
|
19235
|
+
function $s(p) {
|
|
19240
19236
|
return _t(p) && zi(p.length) && !!ve[An(p)];
|
|
19241
19237
|
}
|
|
19242
|
-
function
|
|
19243
|
-
if (!
|
|
19238
|
+
function er(p) {
|
|
19239
|
+
if (!ar(p))
|
|
19244
19240
|
return gn(p);
|
|
19245
19241
|
var C = [];
|
|
19246
19242
|
for (var M in Object(p))
|
|
@@ -19256,9 +19252,9 @@ var rs = {}, Sy = {
|
|
|
19256
19252
|
return Le == C;
|
|
19257
19253
|
var et = -1, mt = !0, Ne = M & s ? new On() : void 0;
|
|
19258
19254
|
for (pe.set(p, C), pe.set(C, p); ++et < De; ) {
|
|
19259
|
-
var tt = p[et],
|
|
19255
|
+
var tt = p[et], qe = C[et];
|
|
19260
19256
|
if (W)
|
|
19261
|
-
var $t = xe ? W(
|
|
19257
|
+
var $t = xe ? W(qe, tt, et, C, p, pe) : W(tt, qe, et, p, C, pe);
|
|
19262
19258
|
if ($t !== void 0) {
|
|
19263
19259
|
if ($t)
|
|
19264
19260
|
continue;
|
|
@@ -19273,14 +19269,14 @@ var rs = {}, Sy = {
|
|
|
19273
19269
|
mt = !1;
|
|
19274
19270
|
break;
|
|
19275
19271
|
}
|
|
19276
|
-
} else if (!(tt ===
|
|
19272
|
+
} else if (!(tt === qe || Ce(tt, qe, M, W, pe))) {
|
|
19277
19273
|
mt = !1;
|
|
19278
19274
|
break;
|
|
19279
19275
|
}
|
|
19280
19276
|
}
|
|
19281
19277
|
return pe.delete(p), pe.delete(C), mt;
|
|
19282
19278
|
}
|
|
19283
|
-
function
|
|
19279
|
+
function tr(p, C, M, W, Ce, pe, xe) {
|
|
19284
19280
|
switch (M) {
|
|
19285
19281
|
case z:
|
|
19286
19282
|
if (p.byteLength != C.byteLength || p.byteOffset != C.byteOffset)
|
|
@@ -19315,7 +19311,7 @@ var rs = {}, Sy = {
|
|
|
19315
19311
|
}
|
|
19316
19312
|
return !1;
|
|
19317
19313
|
}
|
|
19318
|
-
function
|
|
19314
|
+
function nr(p, C, M, W, Ce, pe) {
|
|
19319
19315
|
var xe = M & o, De = bn(p), Ge = De.length, Le = bn(C), et = Le.length;
|
|
19320
19316
|
if (Ge != et && !xe)
|
|
19321
19317
|
return !1;
|
|
@@ -19327,7 +19323,7 @@ var rs = {}, Sy = {
|
|
|
19327
19323
|
var tt = pe.get(p);
|
|
19328
19324
|
if (tt && pe.get(C))
|
|
19329
19325
|
return tt == C;
|
|
19330
|
-
var
|
|
19326
|
+
var qe = !0;
|
|
19331
19327
|
pe.set(p, C), pe.set(C, p);
|
|
19332
19328
|
for (var $t = xe; ++mt < Ge; ) {
|
|
19333
19329
|
Ne = De[mt];
|
|
@@ -19335,27 +19331,27 @@ var rs = {}, Sy = {
|
|
|
19335
19331
|
if (W)
|
|
19336
19332
|
var Va = xe ? W(yn, Ft, Ne, C, p, pe) : W(Ft, yn, Ne, p, C, pe);
|
|
19337
19333
|
if (!(Va === void 0 ? Ft === yn || Ce(Ft, yn, M, W, pe) : Va)) {
|
|
19338
|
-
|
|
19334
|
+
qe = !1;
|
|
19339
19335
|
break;
|
|
19340
19336
|
}
|
|
19341
19337
|
$t || ($t = Ne == "constructor");
|
|
19342
19338
|
}
|
|
19343
|
-
if (
|
|
19339
|
+
if (qe && !$t) {
|
|
19344
19340
|
var Co = p.constructor, Po = C.constructor;
|
|
19345
|
-
Co != Po && "constructor" in p && "constructor" in C && !(typeof Co == "function" && Co instanceof Co && typeof Po == "function" && Po instanceof Po) && (
|
|
19341
|
+
Co != Po && "constructor" in p && "constructor" in C && !(typeof Co == "function" && Co instanceof Co && typeof Po == "function" && Po instanceof Po) && (qe = !1);
|
|
19346
19342
|
}
|
|
19347
|
-
return pe.delete(p), pe.delete(C),
|
|
19343
|
+
return pe.delete(p), pe.delete(C), qe;
|
|
19348
19344
|
}
|
|
19349
19345
|
function bn(p) {
|
|
19350
|
-
return Mi(p, ji,
|
|
19346
|
+
return Mi(p, ji, ir);
|
|
19351
19347
|
}
|
|
19352
19348
|
function kt(p, C) {
|
|
19353
19349
|
var M = p.__data__;
|
|
19354
|
-
return
|
|
19350
|
+
return sr(C) ? M[typeof C == "string" ? "string" : "hash"] : M.map;
|
|
19355
19351
|
}
|
|
19356
19352
|
function Wt(p, C) {
|
|
19357
19353
|
var M = gt(p, C);
|
|
19358
|
-
return
|
|
19354
|
+
return Ks(M) ? M : void 0;
|
|
19359
19355
|
}
|
|
19360
19356
|
function Nt(p) {
|
|
19361
19357
|
var C = ut.call(p, Et), M = p[Et];
|
|
@@ -19367,11 +19363,11 @@ var rs = {}, Sy = {
|
|
|
19367
19363
|
var Ce = zn.call(p);
|
|
19368
19364
|
return W && (C ? p[Et] = M : delete p[Et]), Ce;
|
|
19369
19365
|
}
|
|
19370
|
-
var
|
|
19366
|
+
var ir = Vn ? function(p) {
|
|
19371
19367
|
return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
|
|
19372
19368
|
return _n.call(p, C);
|
|
19373
19369
|
}));
|
|
19374
|
-
} :
|
|
19370
|
+
} : cr, jt = An;
|
|
19375
19371
|
(Ii && jt(new Ii(new ArrayBuffer(1))) != z || vn && jt(new vn()) != v || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != E || xi && jt(new xi()) != Y) && (jt = function(p) {
|
|
19376
19372
|
var C = An(p), M = C == y ? p.constructor : void 0, W = M ? lt(M) : "";
|
|
19377
19373
|
if (W)
|
|
@@ -19380,26 +19376,26 @@ var rs = {}, Sy = {
|
|
|
19380
19376
|
return z;
|
|
19381
19377
|
case Gt:
|
|
19382
19378
|
return v;
|
|
19383
|
-
case xs:
|
|
19384
|
-
return P;
|
|
19385
19379
|
case Ds:
|
|
19386
|
-
return
|
|
19380
|
+
return P;
|
|
19387
19381
|
case Ss:
|
|
19382
|
+
return E;
|
|
19383
|
+
case Ms:
|
|
19388
19384
|
return Y;
|
|
19389
19385
|
}
|
|
19390
19386
|
return C;
|
|
19391
19387
|
});
|
|
19392
|
-
function
|
|
19388
|
+
function or(p, C) {
|
|
19393
19389
|
return C = C == null ? r : C, !!C && (typeof p == "number" || ze.test(p)) && p > -1 && p % 1 == 0 && p < C;
|
|
19394
19390
|
}
|
|
19395
|
-
function
|
|
19391
|
+
function sr(p) {
|
|
19396
19392
|
var C = typeof p;
|
|
19397
19393
|
return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? p !== "__proto__" : p === null;
|
|
19398
19394
|
}
|
|
19399
|
-
function
|
|
19395
|
+
function rr(p) {
|
|
19400
19396
|
return !!Tn && Tn in p;
|
|
19401
19397
|
}
|
|
19402
|
-
function
|
|
19398
|
+
function ar(p) {
|
|
19403
19399
|
var C = p && p.constructor, M = typeof C == "function" && C.prototype || Tt;
|
|
19404
19400
|
return p === M;
|
|
19405
19401
|
}
|
|
@@ -19430,8 +19426,8 @@ var rs = {}, Sy = {
|
|
|
19430
19426
|
function Ti(p) {
|
|
19431
19427
|
return p != null && zi(p.length) && !bo(p);
|
|
19432
19428
|
}
|
|
19433
|
-
var Hn = Pi ||
|
|
19434
|
-
function
|
|
19429
|
+
var Hn = Pi || dr;
|
|
19430
|
+
function lr(p, C) {
|
|
19435
19431
|
return po(p, C);
|
|
19436
19432
|
}
|
|
19437
19433
|
function bo(p) {
|
|
@@ -19450,19 +19446,19 @@ var rs = {}, Sy = {
|
|
|
19450
19446
|
function _t(p) {
|
|
19451
19447
|
return p != null && typeof p == "object";
|
|
19452
19448
|
}
|
|
19453
|
-
var wo = Ke ? Ht(Ke) :
|
|
19449
|
+
var wo = Ke ? Ht(Ke) : $s;
|
|
19454
19450
|
function ji(p) {
|
|
19455
|
-
return Ti(p) ?
|
|
19451
|
+
return Ti(p) ? Js(p) : er(p);
|
|
19456
19452
|
}
|
|
19457
|
-
function
|
|
19453
|
+
function cr() {
|
|
19458
19454
|
return [];
|
|
19459
19455
|
}
|
|
19460
|
-
function
|
|
19456
|
+
function dr() {
|
|
19461
19457
|
return !1;
|
|
19462
19458
|
}
|
|
19463
|
-
i.exports =
|
|
19464
|
-
})(Sy,
|
|
19465
|
-
const My =
|
|
19459
|
+
i.exports = lr;
|
|
19460
|
+
})(Sy, as);
|
|
19461
|
+
const My = as, Ly = (i, t) => My(i, t), Ty = (i) => Object.keys(i || {}), zy = (i, t) => {
|
|
19466
19462
|
const e = {};
|
|
19467
19463
|
return i.forEach((n) => {
|
|
19468
19464
|
e[n] = t[n];
|
|
@@ -19729,7 +19725,7 @@ function Gy(i) {
|
|
|
19729
19725
|
},
|
|
19730
19726
|
methods: {
|
|
19731
19727
|
_prev({ data: r }) {
|
|
19732
|
-
r.currentParticleIndex =
|
|
19728
|
+
r.currentParticleIndex = Dr({
|
|
19733
19729
|
infinite: r.infinite,
|
|
19734
19730
|
pageIndex: r.currentPageIndex - 1,
|
|
19735
19731
|
clonesCountHead: r.clonesCountHead,
|
|
@@ -19740,7 +19736,7 @@ function Gy(i) {
|
|
|
19740
19736
|
});
|
|
19741
19737
|
},
|
|
19742
19738
|
_next({ data: r }) {
|
|
19743
|
-
r.currentParticleIndex =
|
|
19739
|
+
r.currentParticleIndex = Dr({
|
|
19744
19740
|
infinite: r.infinite,
|
|
19745
19741
|
pageIndex: r.currentPageIndex + 1,
|
|
19746
19742
|
clonesCountHead: r.clonesCountHead,
|
|
@@ -19767,7 +19763,7 @@ function Gy(i) {
|
|
|
19767
19763
|
return;
|
|
19768
19764
|
}
|
|
19769
19765
|
if (r.autoplay) {
|
|
19770
|
-
const c = () =>
|
|
19766
|
+
const c = () => na({
|
|
19771
19767
|
[dn]: () => F(this, null, function* () {
|
|
19772
19768
|
return a.showNextPage();
|
|
19773
19769
|
}),
|
|
@@ -19819,7 +19815,7 @@ function Gy(i) {
|
|
|
19819
19815
|
});
|
|
19820
19816
|
},
|
|
19821
19817
|
_getParticleIndexByPageIndex({ data: r }, a) {
|
|
19822
|
-
return
|
|
19818
|
+
return Dr({
|
|
19823
19819
|
infinite: r.infinite,
|
|
19824
19820
|
pageIndex: a,
|
|
19825
19821
|
clonesCountHead: r.clonesCountHead,
|
|
@@ -20406,7 +20402,7 @@ function Zy(i) {
|
|
|
20406
20402
|
function Ky(i, t, e) {
|
|
20407
20403
|
let { $$slots: n = {}, $$scope: o } = t, s = [], r, a, l = 0, c = 0, d = 1;
|
|
20408
20404
|
const [{ data: h, progressManager: u }, m, g] = Gy((oe, Ee) => {
|
|
20409
|
-
|
|
20405
|
+
na({
|
|
20410
20406
|
currentPageIndex: () => e(5, r = Ee),
|
|
20411
20407
|
progressValue: () => e(7, a = Ee),
|
|
20412
20408
|
offset: () => e(8, l = Ee),
|
|
@@ -20414,7 +20410,7 @@ function Ky(i, t, e) {
|
|
|
20414
20410
|
pagesCount: () => e(10, d = Ee),
|
|
20415
20411
|
loaded: () => e(6, s = Ee)
|
|
20416
20412
|
})(oe);
|
|
20417
|
-
}), v =
|
|
20413
|
+
}), v = ms();
|
|
20418
20414
|
let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: D = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: S = !1 } = t, { autoplayProgressVisible: N = !1 } = t, { dots: Y = !0 } = t, { swiping: H = !0 } = t, { particlesToShow: z = 1 } = t, { particlesToScroll: Q = 1 } = t;
|
|
20419
20415
|
function R(oe, Ee) {
|
|
20420
20416
|
return F(this, null, function* () {
|
|
@@ -20472,7 +20468,7 @@ function Ky(i, t, e) {
|
|
|
20472
20468
|
}
|
|
20473
20469
|
function ze(oe) {
|
|
20474
20470
|
return F(this, null, function* () {
|
|
20475
|
-
H && (yield
|
|
20471
|
+
H && (yield na({
|
|
20476
20472
|
[dn]: m.showNextPage,
|
|
20477
20473
|
[li]: m.showPrevPage
|
|
20478
20474
|
})(oe.detail.direction));
|
|
@@ -20498,7 +20494,7 @@ function Ky(i, t, e) {
|
|
|
20498
20494
|
function me() {
|
|
20499
20495
|
m.showPrevPage();
|
|
20500
20496
|
}
|
|
20501
|
-
const
|
|
20497
|
+
const Ye = () => X / 3;
|
|
20502
20498
|
function at(oe) {
|
|
20503
20499
|
Ze[oe ? "unshift" : "push"](() => {
|
|
20504
20500
|
re = oe, e(13, re);
|
|
@@ -20562,7 +20558,7 @@ function Ky(i, t, e) {
|
|
|
20562
20558
|
U,
|
|
20563
20559
|
o,
|
|
20564
20560
|
n,
|
|
20565
|
-
|
|
20561
|
+
Ye,
|
|
20566
20562
|
at,
|
|
20567
20563
|
ke,
|
|
20568
20564
|
Ke
|
|
@@ -20926,7 +20922,7 @@ function rw(i, t, e) {
|
|
|
20926
20922
|
s.videoInstance = H, e(0, s);
|
|
20927
20923
|
});
|
|
20928
20924
|
}
|
|
20929
|
-
const N = () => l === "withText" ? Uh : l === "withoutText" ?
|
|
20925
|
+
const N = () => l === "withText" ? Uh : l === "withoutText" ? ea : l, Y = (H) => {
|
|
20930
20926
|
d && n && (e(9, n.muted = !1, n), n.play());
|
|
20931
20927
|
};
|
|
20932
20928
|
return i.$$set = (H) => {
|
|
@@ -21717,7 +21713,7 @@ function ed(i) {
|
|
|
21717
21713
|
B(e, n);
|
|
21718
21714
|
for (let h = 0; h < l.length; h += 1)
|
|
21719
21715
|
l[h] && l[h].m(e, null);
|
|
21720
|
-
o =
|
|
21716
|
+
o = fs(
|
|
21721
21717
|
e,
|
|
21722
21718
|
/*div0_elementresize_handler*/
|
|
21723
21719
|
i[11].bind(e)
|
|
@@ -22217,7 +22213,7 @@ function Pw(i) {
|
|
|
22217
22213
|
}
|
|
22218
22214
|
function Iw(i, t, e) {
|
|
22219
22215
|
let { $$slots: n = {}, $$scope: o } = t, { url: s } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
22220
|
-
const c =
|
|
22216
|
+
const c = ms(), d = an("hooks"), h = an("mediaStore");
|
|
22221
22217
|
let u, m = !0;
|
|
22222
22218
|
function g() {
|
|
22223
22219
|
e(
|
|
@@ -23744,7 +23740,7 @@ function Zn(i) {
|
|
|
23744
23740
|
}
|
|
23745
23741
|
function rC(i, t, e) {
|
|
23746
23742
|
let n, o, s, r, a, l, c, d, h, { width: u = null } = t, { icon: m = null } = t, { shadow: g = !1 } = t;
|
|
23747
|
-
const v =
|
|
23743
|
+
const v = ms();
|
|
23748
23744
|
function A(P) {
|
|
23749
23745
|
return F(this, null, function* () {
|
|
23750
23746
|
const D = yield qw(P);
|
|
@@ -24482,7 +24478,7 @@ function EC(i) {
|
|
|
24482
24478
|
}
|
|
24483
24479
|
function kC(i, t, e) {
|
|
24484
24480
|
let n, o, s, r, a, l, { withAnimation: c = !1 } = t, { tag: d } = t, { hooks: h } = t, { state: u } = t, { mediaStore: m } = t, { temporaryState: g } = t;
|
|
24485
|
-
|
|
24481
|
+
Gr("hooks", h), Gr("mediaStore", m);
|
|
24486
24482
|
let v, A;
|
|
24487
24483
|
function b(x) {
|
|
24488
24484
|
x ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
|
|
@@ -25236,7 +25232,7 @@ function QC(i) {
|
|
|
25236
25232
|
}
|
|
25237
25233
|
function HC(i, t, e) {
|
|
25238
25234
|
let { withAnimation: n = !1 } = t, { tags: o = [] } = t, { hooks: s } = t, { mediaStore: r } = t, { state: a } = t, { temporaryState: l } = t;
|
|
25239
|
-
return
|
|
25235
|
+
return Gr("hooks", s), i.$$set = (c) => {
|
|
25240
25236
|
"withAnimation" in c && e(0, n = c.withAnimation), "tags" in c && e(1, o = c.tags), "hooks" in c && e(5, s = c.hooks), "mediaStore" in c && e(2, r = c.mediaStore), "state" in c && e(3, a = c.state), "temporaryState" in c && e(4, l = c.temporaryState);
|
|
25241
25237
|
}, [n, o, r, a, l, s];
|
|
25242
25238
|
}
|
|
@@ -25339,7 +25335,7 @@ class YC extends JA {
|
|
|
25339
25335
|
if (!o)
|
|
25340
25336
|
return;
|
|
25341
25337
|
const { url: s, type: r } = o;
|
|
25342
|
-
if (!s || (n.mediaPlane && (n.mediaPlane.visible = (c = (l = n.state) == null ? void 0 : l.visible) != null ? c : !0, n.mediaPlane.visible || n.mediaPlane instanceof
|
|
25338
|
+
if (!s || (n.mediaPlane && (n.mediaPlane.visible = (c = (l = n.state) == null ? void 0 : l.visible) != null ? c : !0, n.mediaPlane.visible || n.mediaPlane instanceof ta && ((d = n.data.autoplayConfig) != null && d.autoplayVideo || n.mediaPlane.pause())), ((h = n.mediaPlane) == null ? void 0 : h.src) === s))
|
|
25343
25339
|
return;
|
|
25344
25340
|
const a = n.position.map(St);
|
|
25345
25341
|
if (n.mediaPlane && n.mediaPlane.removeFromParent(), r === "Image")
|
|
@@ -25347,7 +25343,7 @@ class YC extends JA {
|
|
|
25347
25343
|
this.hooks.emit("click", { tag: n, target: "TagContent", event: m.origDomEvent });
|
|
25348
25344
|
});
|
|
25349
25345
|
else if (r === "Video") {
|
|
25350
|
-
const m = new
|
|
25346
|
+
const m = new ta(s, a, {
|
|
25351
25347
|
videoCoverSrc: o.videoCoverUrl,
|
|
25352
25348
|
playButton: n.data.playIcon,
|
|
25353
25349
|
paused: !((u = n.data.autoplayConfig) != null && u.autoplayVideo),
|
|
@@ -25373,7 +25369,7 @@ class YC extends JA {
|
|
|
25373
25369
|
if (n.tag3DContentSvelte) {
|
|
25374
25370
|
const { svelteApp: a, css3DInstance: l, initialNormal: c, currentNormal: d } = n.tag3DContentSvelte;
|
|
25375
25371
|
if (a.$set({ tag: n, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !c.equals(d)) {
|
|
25376
|
-
const h = new
|
|
25372
|
+
const h = new aa().setFromUnitVectors(c, d);
|
|
25377
25373
|
l.css3DObject.setRotationFromQuaternion(h);
|
|
25378
25374
|
}
|
|
25379
25375
|
return;
|
|
@@ -25528,7 +25524,7 @@ class YC extends JA {
|
|
|
25528
25524
|
}
|
|
25529
25525
|
}
|
|
25530
25526
|
const gu = "Dnalogel-PanoTagPlugin", sE = (i) => `${gu}--${i}`;
|
|
25531
|
-
class
|
|
25527
|
+
class ia extends YC {
|
|
25532
25528
|
constructor(e, n) {
|
|
25533
25529
|
super(e);
|
|
25534
25530
|
/** state */
|
|
@@ -25539,7 +25535,7 @@ class na extends YC {
|
|
|
25539
25535
|
f(this, "debug");
|
|
25540
25536
|
/** 更改 tag 模型 */
|
|
25541
25537
|
f(this, "changeTagModel", (e, n) => F(this, null, function* () {
|
|
25542
|
-
e.data =
|
|
25538
|
+
e.data = Xe({}, e.data, n), yield this.loadModel(e), this.updateRenderAllTags();
|
|
25543
25539
|
}));
|
|
25544
25540
|
f(this, "handleFiveInitAnimationEnded", () => {
|
|
25545
25541
|
const e = this.five.getCurrentState().mode;
|
|
@@ -25555,7 +25551,7 @@ class na extends YC {
|
|
|
25555
25551
|
typeof n == "object" && ((o = n.visibleFiveMode) != null && o.includes("Floorplan") || (s = n.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
|
|
25556
25552
|
}), this.updateRenderAllTags();
|
|
25557
25553
|
});
|
|
25558
|
-
this.params =
|
|
25554
|
+
this.params = Xe({}, { debug: !1, config: this.config }, G({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ia.PlayAudio });
|
|
25559
25555
|
try {
|
|
25560
25556
|
const o = window;
|
|
25561
25557
|
Array.isArray(o.__PANOTAGPLUGIN_DEBUG_LIST__) || (o.__PANOTAGPLUGIN_DEBUG_LIST__ = []), o.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), o.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -25568,7 +25564,7 @@ class na extends YC {
|
|
|
25568
25564
|
load(e, n) {
|
|
25569
25565
|
return F(this, null, function* () {
|
|
25570
25566
|
var s, r;
|
|
25571
|
-
this.clearTags(), console.info(gu, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
25567
|
+
this.clearTags(), console.info(gu, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = Xe({}, this.config, {
|
|
25572
25568
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
25573
25569
|
contentTypeConfig: (r = e.contentTypeConfig) != null ? r : {}
|
|
25574
25570
|
});
|
|
@@ -25592,7 +25588,7 @@ class na extends YC {
|
|
|
25592
25588
|
const a = this.getTagConfig(r);
|
|
25593
25589
|
return ye(G({}, r), {
|
|
25594
25590
|
id: (c = r.id) != null ? c : dt(),
|
|
25595
|
-
data:
|
|
25591
|
+
data: Xe({}, a.initialData, r.data),
|
|
25596
25592
|
state: G({
|
|
25597
25593
|
visible: void 0,
|
|
25598
25594
|
unfolded: !this.can("fold", r)
|
|
@@ -25616,19 +25612,19 @@ class na extends YC {
|
|
|
25616
25612
|
* @description: 改变配置
|
|
25617
25613
|
*/
|
|
25618
25614
|
changeConfig(e, n = !0) {
|
|
25619
|
-
n ? this.config =
|
|
25615
|
+
n ? this.config = Xe({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
|
|
25620
25616
|
}
|
|
25621
25617
|
/**
|
|
25622
25618
|
* @description: 改变全局配置
|
|
25623
25619
|
*/
|
|
25624
25620
|
changeGlobalConfig(e, n = !0) {
|
|
25625
|
-
n ? this.config.globalConfig =
|
|
25621
|
+
n ? this.config.globalConfig = Xe({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
|
|
25626
25622
|
}
|
|
25627
25623
|
/**
|
|
25628
25624
|
* @description: 改变类型配置
|
|
25629
25625
|
*/
|
|
25630
25626
|
changeContentTypeConfig(e, n, o = !0) {
|
|
25631
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] =
|
|
25627
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] = Xe({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
|
|
25632
25628
|
}
|
|
25633
25629
|
show(e) {
|
|
25634
25630
|
return F(this, null, function* () {
|
|
@@ -25703,7 +25699,7 @@ class na extends YC {
|
|
|
25703
25699
|
*/
|
|
25704
25700
|
changeDataById(e, n, o = !0) {
|
|
25705
25701
|
const s = this.getTagById(e);
|
|
25706
|
-
s && (o ? s.data =
|
|
25702
|
+
s && (o ? s.data = Xe({}, s.data, n) : s.data = G(G({}, s.data), n), this.clearUnusedPanelTag(), this.updateRenderAllTags());
|
|
25707
25703
|
}
|
|
25708
25704
|
/**
|
|
25709
25705
|
* @description: 改变tag的stickType
|
|
@@ -25716,7 +25712,7 @@ class na extends YC {
|
|
|
25716
25712
|
*/
|
|
25717
25713
|
changeTagById(e, n, o = !0) {
|
|
25718
25714
|
const s = this.getTagById(e);
|
|
25719
|
-
n && (o ?
|
|
25715
|
+
n && (o ? Xe(s, n) : Object.assign(s, n), s != null && s.tag3DContentSvelte && (n != null && n.normal) && (s.tag3DContentSvelte.currentNormal = St(n.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag());
|
|
25720
25716
|
}
|
|
25721
25717
|
/**
|
|
25722
25718
|
* @description: 销毁tag
|
|
@@ -25860,7 +25856,7 @@ class na extends YC {
|
|
|
25860
25856
|
r.position.copy(a.position), r.quaternion.copy(a.quaternion);
|
|
25861
25857
|
const l = this.five.camera.position;
|
|
25862
25858
|
r.lookAt(l.clone().setY(r.position.y));
|
|
25863
|
-
const c = a.quaternion.clone(), d = r.quaternion.clone(), h =
|
|
25859
|
+
const c = a.quaternion.clone(), d = r.quaternion.clone(), h = ds();
|
|
25864
25860
|
h.onUpdate(({ progress: m }) => {
|
|
25865
25861
|
a.quaternion.copy(c.clone().slerp(d, m));
|
|
25866
25862
|
}), h.play();
|
|
@@ -25883,7 +25879,7 @@ class na extends YC {
|
|
|
25883
25879
|
}
|
|
25884
25880
|
}
|
|
25885
25881
|
var UC = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.Sticker = "Sticker", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Model = "Model", i.Custom = "Custom", i.Unknown = "Unknown", i))(UC || {}), qC = /* @__PURE__ */ ((i) => (i.Two = "2D", i.Three = "3D", i))(qC || {});
|
|
25886
|
-
const rE = (i, t) => new
|
|
25882
|
+
const rE = (i, t) => new ia(i, t);
|
|
25887
25883
|
function JC(i) {
|
|
25888
25884
|
fe(i, "svelte-m8w0ju", ".guide-line__tag.svelte-m8w0ju{position:relative}.guide-line__tag-point.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-m8w0ju{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-m8w0ju{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-m8w0ju{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
25889
25885
|
}
|
|
@@ -26059,7 +26055,7 @@ const tP = (
|
|
|
26059
26055
|
}
|
|
26060
26056
|
`
|
|
26061
26057
|
);
|
|
26062
|
-
class
|
|
26058
|
+
class oa {
|
|
26063
26059
|
constructor(t, e) {
|
|
26064
26060
|
f(this, "startTagContainer");
|
|
26065
26061
|
f(this, "endTagContainer");
|
|
@@ -26088,8 +26084,8 @@ class ia {
|
|
|
26088
26084
|
f(this, "plugin");
|
|
26089
26085
|
f(this, "textureHasLoaded", !1);
|
|
26090
26086
|
f(this, "disposed", !1);
|
|
26091
|
-
f(this, "flowAnime", new
|
|
26092
|
-
f(this, "flickerAnime",
|
|
26087
|
+
f(this, "flowAnime", new cs({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
26088
|
+
f(this, "flickerAnime", ds(300).yoyo(!0).repeat(5));
|
|
26093
26089
|
f(this, "dispose", () => {
|
|
26094
26090
|
var t, e;
|
|
26095
26091
|
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());
|
|
@@ -26104,7 +26100,7 @@ class ia {
|
|
|
26104
26100
|
});
|
|
26105
26101
|
/** 模型状态变更 */
|
|
26106
26102
|
f(this, "onFiveModeChange", (t) => {
|
|
26107
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
26103
|
+
this.modeVisible = this.mode === "panorama" ? ca(t) : Hd(t), this.updateVisible();
|
|
26108
26104
|
});
|
|
26109
26105
|
f(this, "onFiveModelShownFloorChange", (t) => {
|
|
26110
26106
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -26121,12 +26117,12 @@ class ia {
|
|
|
26121
26117
|
f(this, "onFlickerAnimeUpdate", (t) => {
|
|
26122
26118
|
var o, s;
|
|
26123
26119
|
const { progress: e } = t, n = 1 - e;
|
|
26124
|
-
this.mesh.material.uniforms.flicker.value = n, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag &&
|
|
26120
|
+
this.mesh.material.uniforms.flicker.value = n, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && Mr(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(ye(G({}, this.startTagContainer.tag.data), { opacity: n }))), this.endTagContainer.tag && Mr(this.endTagContainer.tag) && ((s = this.endTagContainer.app) == null || s.$set(ye(G({}, this.endTagContainer.tag.data), { opacity: n })));
|
|
26125
26121
|
});
|
|
26126
26122
|
f(this, "logWarning", (t) => nA("GuideLineModeItem: ", t));
|
|
26127
26123
|
f(this, "logError", (t) => Hh("GuideLineModeItem: ", t));
|
|
26128
26124
|
var s, r;
|
|
26129
|
-
this.five = t, this.mode = e.mode, this.plugin = e.plugin, this.parent = e.parent, this.startTagContainer = { tag: null, plugin: new
|
|
26125
|
+
this.five = t, this.mode = e.mode, this.plugin = e.plugin, this.parent = e.parent, this.startTagContainer = { tag: null, plugin: new ia(this.five) }, this.endTagContainer = { tag: null, plugin: new ia(this.five) };
|
|
26130
26126
|
const n = new I.BufferGeometry(), o = new I.ShaderMaterial({
|
|
26131
26127
|
vertexShader: tP,
|
|
26132
26128
|
fragmentShader: nP,
|
|
@@ -26286,14 +26282,14 @@ class ia {
|
|
|
26286
26282
|
setTag(t, e) {
|
|
26287
26283
|
const n = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
26288
26284
|
e || n.plugin.clearTags();
|
|
26289
|
-
const s =
|
|
26285
|
+
const s = Xe({}, {
|
|
26290
26286
|
contentType: "Custom",
|
|
26291
26287
|
stickType: "2DPoint",
|
|
26292
26288
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
26293
26289
|
style: { point: { enabled: !1 } },
|
|
26294
26290
|
data: {}
|
|
26295
26291
|
}, e);
|
|
26296
|
-
n.tag = s,
|
|
26292
|
+
n.tag = s, Mr(s) && (n.tag.element = (r) => {
|
|
26297
26293
|
var l;
|
|
26298
26294
|
(l = n.app) == null || l.$destroy();
|
|
26299
26295
|
const a = new $C({ target: r, intro: !0, props: s.data });
|
|
@@ -26314,12 +26310,12 @@ class ia {
|
|
|
26314
26310
|
return [G({ type: "CatmullRomCurve3", points: s }, n)];
|
|
26315
26311
|
}
|
|
26316
26312
|
}
|
|
26317
|
-
function
|
|
26313
|
+
function Mr(i) {
|
|
26318
26314
|
return i.contentType === "Custom";
|
|
26319
26315
|
}
|
|
26320
26316
|
const aE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26321
26317
|
__proto__: null,
|
|
26322
|
-
GuideLineModeItem:
|
|
26318
|
+
GuideLineModeItem: oa
|
|
26323
26319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
26324
26320
|
function Id(i) {
|
|
26325
26321
|
const t = Math.abs(Math.cos(i.latitude));
|
|
@@ -26365,14 +26361,14 @@ function lP(i) {
|
|
|
26365
26361
|
}, i);
|
|
26366
26362
|
});
|
|
26367
26363
|
}
|
|
26368
|
-
const vu = "v1.0.6", Au = "CruisePlugin",
|
|
26369
|
-
console.error(`${
|
|
26364
|
+
const vu = "v1.0.6", Au = "CruisePlugin", Is = `${Au}@${vu}`, Ed = () => {
|
|
26365
|
+
console.error(`${Is} is disposed`);
|
|
26370
26366
|
}, cP = () => {
|
|
26371
|
-
console.warn(`${
|
|
26367
|
+
console.warn(`${Is} is disabled`);
|
|
26372
26368
|
}, dP = () => {
|
|
26373
|
-
console.error(`${
|
|
26374
|
-
},
|
|
26375
|
-
class
|
|
26369
|
+
console.error(`${Is} is disabled`);
|
|
26370
|
+
}, Lr = /* @__PURE__ */ new Map();
|
|
26371
|
+
class Es extends Mn {
|
|
26376
26372
|
constructor(e, n) {
|
|
26377
26373
|
super(e, n);
|
|
26378
26374
|
f(this, "state", {
|
|
@@ -26435,7 +26431,7 @@ class Is extends Mn {
|
|
|
26435
26431
|
const D = a.length;
|
|
26436
26432
|
a[D] = [A];
|
|
26437
26433
|
}
|
|
26438
|
-
}), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${
|
|
26434
|
+
}), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Is} loaded`, r), this.hooks.emit("dataLoaded", r);
|
|
26439
26435
|
});
|
|
26440
26436
|
}
|
|
26441
26437
|
/**
|
|
@@ -26849,7 +26845,7 @@ class Is extends Mn {
|
|
|
26849
26845
|
getPauseData() {
|
|
26850
26846
|
var e, n;
|
|
26851
26847
|
if ((e = this.data) != null && e.keyframesId)
|
|
26852
|
-
return
|
|
26848
|
+
return Lr.get((n = this.data) == null ? void 0 : n.keyframesId);
|
|
26853
26849
|
}
|
|
26854
26850
|
/**
|
|
26855
26851
|
* @description Set pause data
|
|
@@ -26857,7 +26853,7 @@ class Is extends Mn {
|
|
|
26857
26853
|
setPauseData() {
|
|
26858
26854
|
var e, n, o, s;
|
|
26859
26855
|
if ((e = this.data) != null && e.keyframesId)
|
|
26860
|
-
return
|
|
26856
|
+
return Lr.set((n = this.data) == null ? void 0 : n.keyframesId, {
|
|
26861
26857
|
keyframeId: (o = this.privateState.currentPlayKeyframe) == null ? void 0 : o.keyframe.id,
|
|
26862
26858
|
fiveState: this.five.getCurrentState(),
|
|
26863
26859
|
duration: (s = this.privateState.currentPlayKeyframe) == null ? void 0 : s.originDuration,
|
|
@@ -26870,7 +26866,7 @@ class Is extends Mn {
|
|
|
26870
26866
|
clearPauseData() {
|
|
26871
26867
|
var e, n;
|
|
26872
26868
|
if ((e = this.data) != null && e.keyframesId)
|
|
26873
|
-
return
|
|
26869
|
+
return Lr.delete((n = this.data) == null ? void 0 : n.keyframesId);
|
|
26874
26870
|
}
|
|
26875
26871
|
/**
|
|
26876
26872
|
* @description: Restore state that before loaded
|
|
@@ -26917,10 +26913,10 @@ class Is extends Mn {
|
|
|
26917
26913
|
this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
|
|
26918
26914
|
}
|
|
26919
26915
|
}
|
|
26920
|
-
f(
|
|
26916
|
+
f(Es, "PluginVersion", vu);
|
|
26921
26917
|
const lE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26922
26918
|
__proto__: null
|
|
26923
|
-
}, Symbol.toStringTag, { value: "Module" })), cE = (i) => new
|
|
26919
|
+
}, Symbol.toStringTag, { value: "Module" })), cE = (i) => new Es(i);
|
|
26924
26920
|
class bu {
|
|
26925
26921
|
constructor(t) {
|
|
26926
26922
|
f(this, "id");
|
|
@@ -26933,7 +26929,7 @@ class bu {
|
|
|
26933
26929
|
f(this, "plugin");
|
|
26934
26930
|
f(this, "five");
|
|
26935
26931
|
f(this, "logError", (t) => Hh("GuideLineItem: ", t));
|
|
26936
|
-
this.id = t.id, this.five = t.five, this.plugin = t.plugin, this.panoramaItem = new
|
|
26932
|
+
this.id = t.id, this.five = t.five, this.plugin = t.plugin, this.panoramaItem = new oa(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new oa(this.five, { mode: "model", plugin: this.plugin, parent: this });
|
|
26937
26933
|
}
|
|
26938
26934
|
get visible() {
|
|
26939
26935
|
return this._visible;
|
|
@@ -26980,8 +26976,8 @@ function hP(i, t) {
|
|
|
26980
26976
|
if (t.panoIndexList.length === 0)
|
|
26981
26977
|
return;
|
|
26982
26978
|
const e = i.getCurrentState();
|
|
26983
|
-
e.mode !== "Panorama" && (yield
|
|
26984
|
-
const n = new
|
|
26979
|
+
e.mode !== "Panorama" && (yield ya(i, ["Panorama", { longitude: e.longitude, latitude: 0, panoIndex: t.panoIndexList[0] }]));
|
|
26980
|
+
const n = new Es(i, { useGuideLine: !1 });
|
|
26985
26981
|
yield n.load(t), yield new Promise((o, s) => {
|
|
26986
26982
|
const r = i.getCurrentState();
|
|
26987
26983
|
let a = t.panoIndexList.slice();
|
|
@@ -27013,12 +27009,12 @@ function hP(i, t) {
|
|
|
27013
27009
|
const dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27014
27010
|
__proto__: null,
|
|
27015
27011
|
GuideLineItem: bu
|
|
27016
|
-
}, Symbol.toStringTag, { value: "Module" })), yu = "v1.1.0",
|
|
27012
|
+
}, Symbol.toStringTag, { value: "Module" })), yu = "v1.1.0", sa = "GuideLinePlugin", kd = `${sa}@${yu}`;
|
|
27017
27013
|
class uP extends Mn {
|
|
27018
27014
|
constructor(e, n) {
|
|
27019
27015
|
super(e, n);
|
|
27020
27016
|
f(this, "version", yu);
|
|
27021
|
-
f(this, "name",
|
|
27017
|
+
f(this, "name", sa);
|
|
27022
27018
|
f(this, "cruisePlugin");
|
|
27023
27019
|
/** GuideLineItem 索引 */
|
|
27024
27020
|
f(this, "itemMap", /* @__PURE__ */ new Map());
|
|
@@ -27033,7 +27029,7 @@ class uP extends Mn {
|
|
|
27033
27029
|
f(this, "disposedErrorLog", () => {
|
|
27034
27030
|
console.error(`${kd} is disposed`);
|
|
27035
27031
|
});
|
|
27036
|
-
this.cruisePlugin = new
|
|
27032
|
+
this.cruisePlugin = new Es(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
|
|
27037
27033
|
}
|
|
27038
27034
|
get disposed() {
|
|
27039
27035
|
return this._disposed;
|
|
@@ -27054,8 +27050,8 @@ class uP extends Mn {
|
|
|
27054
27050
|
}
|
|
27055
27051
|
}, c = (A = (v = r.routes) == null ? void 0 : v.map((P) => {
|
|
27056
27052
|
var D;
|
|
27057
|
-
return
|
|
27058
|
-
})) != null ? A : [], d = (y = (b = r.lines) == null ? void 0 : b.map((P) =>
|
|
27053
|
+
return Xe({}, l, { id: (D = P.id) != null ? D : Date.now(), pano_group: P.panoIndexList });
|
|
27054
|
+
})) != null ? A : [], d = (y = (b = r.lines) == null ? void 0 : b.map((P) => Xe({}, l, P))) != null ? y : [], h = [...c, ...d];
|
|
27059
27055
|
yield this.waitFiveLoaded(), this.clear(), h.forEach((P) => {
|
|
27060
27056
|
this.addGuideLineItem(P);
|
|
27061
27057
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: o }), this.hooks.emit("dataLoaded", r), console.info(`${kd} loaded`, r);
|
|
@@ -27197,7 +27193,7 @@ class mP extends Ru {
|
|
|
27197
27193
|
return t !== null && t.remove(this), this;
|
|
27198
27194
|
}
|
|
27199
27195
|
}
|
|
27200
|
-
class
|
|
27196
|
+
class ks extends mP {
|
|
27201
27197
|
constructor(e, n) {
|
|
27202
27198
|
var o;
|
|
27203
27199
|
super();
|
|
@@ -27250,13 +27246,13 @@ class Es extends mP {
|
|
|
27250
27246
|
this.removeFromParent();
|
|
27251
27247
|
}
|
|
27252
27248
|
}
|
|
27253
|
-
class pP extends
|
|
27249
|
+
class pP extends ks {
|
|
27254
27250
|
}
|
|
27255
|
-
class gP extends
|
|
27251
|
+
class gP extends ks {
|
|
27256
27252
|
}
|
|
27257
|
-
class vP extends
|
|
27253
|
+
class vP extends ks {
|
|
27258
27254
|
}
|
|
27259
|
-
class Cu extends
|
|
27255
|
+
class Cu extends ks {
|
|
27260
27256
|
}
|
|
27261
27257
|
class AP extends Cu {
|
|
27262
27258
|
}
|
|
@@ -27293,7 +27289,7 @@ function za(i, t, e) {
|
|
|
27293
27289
|
function wP(i, t) {
|
|
27294
27290
|
return !(Math.abs(i.x - t.x) > 1e-5 || Math.abs(i.y - t.y) > 1e-5 || Math.abs(i.z - t.z) > 1e-5);
|
|
27295
27291
|
}
|
|
27296
|
-
class
|
|
27292
|
+
class Tr extends bP {
|
|
27297
27293
|
constructor(e) {
|
|
27298
27294
|
var d;
|
|
27299
27295
|
super(e.direction);
|
|
@@ -27320,28 +27316,28 @@ class Lr extends bP {
|
|
|
27320
27316
|
this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
|
|
27321
27317
|
}
|
|
27322
27318
|
}
|
|
27323
|
-
const
|
|
27319
|
+
const zr = {
|
|
27324
27320
|
X: 15618642,
|
|
27325
27321
|
Y: 4765519,
|
|
27326
27322
|
Z: 4227839
|
|
27327
27323
|
};
|
|
27328
27324
|
class ni {
|
|
27329
27325
|
static get X() {
|
|
27330
|
-
return new I.Color(
|
|
27326
|
+
return new I.Color(zr.X).convertSRGBToLinear().clone();
|
|
27331
27327
|
}
|
|
27332
27328
|
static get Y() {
|
|
27333
|
-
return new I.Color(
|
|
27329
|
+
return new I.Color(zr.Y).convertSRGBToLinear().clone();
|
|
27334
27330
|
}
|
|
27335
27331
|
static get Z() {
|
|
27336
|
-
return new I.Color(
|
|
27332
|
+
return new I.Color(zr.Z).convertSRGBToLinear().clone();
|
|
27337
27333
|
}
|
|
27338
27334
|
}
|
|
27339
27335
|
class CP extends pP {
|
|
27340
27336
|
constructor(e) {
|
|
27341
27337
|
super(e);
|
|
27342
|
-
f(this, "xArrow", new
|
|
27343
|
-
f(this, "yArrow", new
|
|
27344
|
-
f(this, "zArrow", new
|
|
27338
|
+
f(this, "xArrow", new Tr({ direction: "x", color: ni.X }));
|
|
27339
|
+
f(this, "yArrow", new Tr({ direction: "y", color: ni.Y }));
|
|
27340
|
+
f(this, "zArrow", new Tr({ direction: "z", color: ni.Z }));
|
|
27345
27341
|
this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
|
|
27346
27342
|
}
|
|
27347
27343
|
show() {
|
|
@@ -27399,7 +27395,7 @@ class EP extends vP {
|
|
|
27399
27395
|
f(this, "children", []);
|
|
27400
27396
|
f(this, "angleTips");
|
|
27401
27397
|
f(this, "container");
|
|
27402
|
-
(n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new
|
|
27398
|
+
(n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new jr({ direction: "x", color: ni.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new jr({ direction: "y", color: ni.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new jr({ direction: "z", color: ni.Z })), n != null && n.container && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = IP({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
|
|
27403
27399
|
}
|
|
27404
27400
|
hide() {
|
|
27405
27401
|
this.children.forEach((e) => e.hide());
|
|
@@ -27417,7 +27413,7 @@ class EP extends vP {
|
|
|
27417
27413
|
this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
|
|
27418
27414
|
}
|
|
27419
27415
|
}
|
|
27420
|
-
class
|
|
27416
|
+
class jr extends I.Group {
|
|
27421
27417
|
constructor(e) {
|
|
27422
27418
|
super();
|
|
27423
27419
|
f(this, "direction");
|
|
@@ -28217,7 +28213,7 @@ class BP {
|
|
|
28217
28213
|
e != null && e.warnLog && VP();
|
|
28218
28214
|
}
|
|
28219
28215
|
}
|
|
28220
|
-
function
|
|
28216
|
+
function _r(i) {
|
|
28221
28217
|
return i * Math.PI / 180;
|
|
28222
28218
|
}
|
|
28223
28219
|
class RP extends lo {
|
|
@@ -28241,7 +28237,7 @@ class RP extends lo {
|
|
|
28241
28237
|
this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
|
|
28242
28238
|
}
|
|
28243
28239
|
setRotateAngle(e) {
|
|
28244
|
-
const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new I.Euler(
|
|
28240
|
+
const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new I.Euler(_r(n), _r(o), _r(s)), a = new I.Quaternion().setFromEuler(r);
|
|
28245
28241
|
if (this.hooks.emit("wantToRotate", a))
|
|
28246
28242
|
return;
|
|
28247
28243
|
const { originObject3D: c, rotateCenter: d } = this;
|
|
@@ -28506,7 +28502,7 @@ class NP extends lo {
|
|
|
28506
28502
|
this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
|
|
28507
28503
|
}
|
|
28508
28504
|
}
|
|
28509
|
-
const
|
|
28505
|
+
const ra = "Object3DHelperPlugin", _a = ra, FP = () => {
|
|
28510
28506
|
console.error(`${_a} is disposed`);
|
|
28511
28507
|
}, XP = () => {
|
|
28512
28508
|
console.warn(`${_a} is disabled`);
|
|
@@ -28516,7 +28512,7 @@ const sa = "Object3DHelperPlugin", _a = sa, FP = () => {
|
|
|
28516
28512
|
class UP extends ao {
|
|
28517
28513
|
constructor(e) {
|
|
28518
28514
|
super(e);
|
|
28519
|
-
f(this, "name",
|
|
28515
|
+
f(this, "name", ra);
|
|
28520
28516
|
f(this, "state", {
|
|
28521
28517
|
visible: !0,
|
|
28522
28518
|
enabled: !0,
|
|
@@ -28525,7 +28521,7 @@ class UP extends ao {
|
|
|
28525
28521
|
f(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
28526
28522
|
f(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
28527
28523
|
f(this, "css3DRender");
|
|
28528
|
-
this.five = e, this.css3DRender = new Ki(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${
|
|
28524
|
+
this.five = e, this.css3DRender = new Ki(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${ra.toUpperCase()}_DEBUG__`]: this });
|
|
28529
28525
|
}
|
|
28530
28526
|
/**
|
|
28531
28527
|
* @description Show guide line
|
|
@@ -28735,7 +28731,7 @@ class Dd {
|
|
|
28735
28731
|
if (!t)
|
|
28736
28732
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
28737
28733
|
this.observer = t;
|
|
28738
|
-
const { x: e, y: n, z: o, w: s } = t.quaternion, r = new
|
|
28734
|
+
const { x: e, y: n, z: o, w: s } = t.quaternion, r = new aa(e, n, o, s), a = t.position;
|
|
28739
28735
|
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new $(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(r);
|
|
28740
28736
|
});
|
|
28741
28737
|
/** 兼容视频播放 */
|
|
@@ -28818,7 +28814,7 @@ class Dd {
|
|
|
28818
28814
|
const n = document.createElement("video");
|
|
28819
28815
|
n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
|
|
28820
28816
|
const o = new Qu(this.video);
|
|
28821
|
-
o.minFilter =
|
|
28817
|
+
o.minFilter = Vr, o.magFilter = Vr;
|
|
28822
28818
|
const s = new Md({
|
|
28823
28819
|
vertexShader: qP,
|
|
28824
28820
|
fragmentShader: JP,
|
|
@@ -29055,7 +29051,7 @@ export {
|
|
|
29055
29051
|
VI as CameraMovementPlugin,
|
|
29056
29052
|
UC as ContentType,
|
|
29057
29053
|
cE as CruisePlugin,
|
|
29058
|
-
|
|
29054
|
+
Es as CruisePluginController,
|
|
29059
29055
|
lE as CruisePluginTypes,
|
|
29060
29056
|
Gi as DIRECTION,
|
|
29061
29057
|
qn as DISPLAY_STRATEGY_TYPE,
|
|
@@ -29089,12 +29085,12 @@ export {
|
|
|
29089
29085
|
bi as PanoMeasurePluginLine,
|
|
29090
29086
|
Pa as PanoMeasurePluginModel,
|
|
29091
29087
|
Bt as PanoMeasurePluginPoint,
|
|
29092
|
-
|
|
29088
|
+
is as PanoMeasurePluginPolyline,
|
|
29093
29089
|
OI as PanoRulerPlugin,
|
|
29094
29090
|
RI as PanoRulerProPlugin,
|
|
29095
29091
|
FI as PanoSpatialTagPlugin,
|
|
29096
29092
|
rE as PanoTagPlugin,
|
|
29097
|
-
|
|
29093
|
+
ia as PanoTagPluginController,
|
|
29098
29094
|
fE as PanoVideoPlugin,
|
|
29099
29095
|
uE as PanoVideoPluginType,
|
|
29100
29096
|
LI as ROOM_FETILE_TYPE_MAP,
|