@realsee/dnalogel 2.20.0-dev.9 → 2.20.0
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/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -1
- package/dist/index.cjs.js +23 -23
- package/dist/index.js +764 -757
- package/dist/index.umd.js +5 -5
- package/dist/shared-utils/three/PointDomHelper.d.ts +2 -2
- package/dist/shared-utils/three/PointHelper.d.ts +2 -1
- package/dist/typings/typings.d.ts +9 -0
- 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 +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +11 -11
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +16 -16
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +13 -13
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +56 -56
- package/libs/PanoTagPlugin/Components/TagItem.js +99 -99
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +83 -77
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +45 -44
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.d.ts +2 -2
- package/libs/shared-utils/three/PointHelper.d.ts +2 -1
- package/libs/typings/typings.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var Pu = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var Pu = Object.defineProperty, Iu = Object.defineProperties;
|
|
2
|
+
var Eu = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Oa = Object.getOwnPropertySymbols;
|
|
4
4
|
var ku = Object.prototype.hasOwnProperty, xu = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var hr = (i, t, e) => t in i ? Pu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, W = (i, t) => {
|
|
@@ -9,7 +9,7 @@ var hr = (i, t, e) => t in i ? Pu(i, t, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var e of Oa(t))
|
|
10
10
|
xu.call(t, e) && hr(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
|
-
}, ye = (i, t) =>
|
|
12
|
+
}, ye = (i, t) => Iu(i, Eu(t));
|
|
13
13
|
var f = (i, t, e) => (hr(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
var X = (i, t, e) => new Promise((n, o) => {
|
|
15
15
|
var s = (l) => {
|
|
@@ -28,7 +28,7 @@ var X = (i, t, e) => new Promise((n, o) => {
|
|
|
28
28
|
a((e = e.apply(i, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import { Camera as Du, Subscribe as yt, Five as nt } from "@realsee/five";
|
|
31
|
-
import * as
|
|
31
|
+
import * as E from "three";
|
|
32
32
|
import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Su, Color as oo, TextureLoader as Dd, Vector2 as bt, PlaneGeometry as Lu, sRGBEncoding as Tu, LinearFilter as Vr, Mesh as Fi, CurvePath as zu, LineCurve3 as ju, TubeGeometry as _u, ShaderMaterial as Md, SphereGeometry as Vu, DoubleSide as Sd, RingGeometry as Ou, Quaternion as aa, Euler as Ba, Matrix4 as Qi, Object3D as Bu, VideoTexture as Ru, Vector4 as Qu, SphereBufferGeometry as Hu } from "three";
|
|
33
33
|
import { CSS3DRenderer as Gu, CSS3DObject as Or } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
34
|
import so from "hammerjs";
|
|
@@ -38,7 +38,7 @@ import Ra from "animejs";
|
|
|
38
38
|
import { GLTFLoader as Wu } from "@realsee/five/gltf-loader";
|
|
39
39
|
function Nu() {
|
|
40
40
|
console.info(
|
|
41
|
-
"%c %c@realsee/dnalogel %cv2.20.0
|
|
41
|
+
"%c %c@realsee/dnalogel %cv2.20.0",
|
|
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",
|
|
@@ -66,7 +66,7 @@ const Qa = () => Promise.resolve(), Ha = {
|
|
|
66
66
|
function Xu(i = Qa) {
|
|
67
67
|
Ha.__queue = Ha.__queue.then(i).catch(Qa);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
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
|
}
|
|
@@ -74,7 +74,7 @@ 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
|
}
|
|
77
|
-
function
|
|
77
|
+
function Eo(i) {
|
|
78
78
|
if (i.length < 2)
|
|
79
79
|
return {};
|
|
80
80
|
const t = i.slice(-2), e = t[0], n = {
|
|
@@ -818,14 +818,14 @@ let rf = class extends of {
|
|
|
818
818
|
e.onmousedown = (h) => {
|
|
819
819
|
h.preventDefault(), c = Date.now();
|
|
820
820
|
const u = h.clientX, m = h.clientY;
|
|
821
|
-
r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a =
|
|
821
|
+
r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
|
|
822
822
|
}, e.onmousemove = (h) => {
|
|
823
823
|
if (h.preventDefault(), !s)
|
|
824
824
|
return;
|
|
825
825
|
const u = Number(h.clientX), m = Number(h.clientY);
|
|
826
|
-
if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(
|
|
826
|
+
if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
|
|
827
827
|
return;
|
|
828
|
-
const { control: v, end: g } =
|
|
828
|
+
const { control: v, end: g } = Eo(r);
|
|
829
829
|
!v || !g || (d(s, v, g), s = g);
|
|
830
830
|
}, e.onmouseup = (h) => {
|
|
831
831
|
if (h.preventDefault(), s = null, r.length < 3)
|
|
@@ -851,14 +851,14 @@ let rf = class extends of {
|
|
|
851
851
|
}, e.ontouchstart = (h) => {
|
|
852
852
|
h.preventDefault(), c = Date.now();
|
|
853
853
|
const u = h.touches[0].clientX, m = h.touches[0].clientY;
|
|
854
|
-
r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a =
|
|
854
|
+
r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
|
|
855
855
|
}, e.ontouchmove = (h) => {
|
|
856
856
|
if (h.preventDefault(), !s)
|
|
857
857
|
return;
|
|
858
858
|
const u = Number(h.touches[0].clientX), m = Number(h.touches[0].clientY);
|
|
859
|
-
if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(
|
|
859
|
+
if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
|
|
860
860
|
return;
|
|
861
|
-
const { control: v, end: g } =
|
|
861
|
+
const { control: v, end: g } = Eo(r);
|
|
862
862
|
!v || !g || (d(s, v, g), s = g);
|
|
863
863
|
}, e.ontouchend = e.ontouchcancel = (h) => {
|
|
864
864
|
if (h.preventDefault(), s = null, r.length < 3)
|
|
@@ -956,7 +956,7 @@ let rf = class extends of {
|
|
|
956
956
|
if (!v.find((P) => P === b)) {
|
|
957
957
|
if (v.push(b), m.push(ur(l[b], g.clientWidth, g.clientHeight)), m.length < 3)
|
|
958
958
|
return;
|
|
959
|
-
const { control: P, end: k } =
|
|
959
|
+
const { control: P, end: k } = Eo(m);
|
|
960
960
|
if (!P || !k)
|
|
961
961
|
return;
|
|
962
962
|
a.quadraticCurveTo(P.x, P.y, k.x, k.y), a.stroke();
|
|
@@ -968,7 +968,7 @@ let rf = class extends of {
|
|
|
968
968
|
for (let v = 0; v < l.length; v++) {
|
|
969
969
|
if (m.push(ur(l[v], this.clientWidth, this.clientHeight)), m.length < 3)
|
|
970
970
|
continue;
|
|
971
|
-
const { control: g, end: A } =
|
|
971
|
+
const { control: g, end: A } = Eo(m);
|
|
972
972
|
!g || !A || a.quadraticCurveTo(g.x, g.y, A.x, A.y);
|
|
973
973
|
}
|
|
974
974
|
a.stroke(), m = [], s && s(), r();
|
|
@@ -994,7 +994,7 @@ let rf = class extends of {
|
|
|
994
994
|
this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
|
|
995
995
|
}
|
|
996
996
|
};
|
|
997
|
-
class
|
|
997
|
+
class uI {
|
|
998
998
|
constructor(t = {}) {
|
|
999
999
|
f(this, "controller");
|
|
1000
1000
|
const e = Object.assign({
|
|
@@ -1045,7 +1045,7 @@ class uE {
|
|
|
1045
1045
|
this.controller.updateCurrentColor(t);
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
|
-
const
|
|
1048
|
+
const fI = (i, t) => {
|
|
1049
1049
|
var R, H;
|
|
1050
1050
|
let e = (H = (R = t == null ? void 0 : t.initialState) == null ? void 0 : R.enabled) != null ? H : !0, n = !1, o = !0, s = null;
|
|
1051
1051
|
const a = W(W({}, {
|
|
@@ -1053,48 +1053,48 @@ const fE = (i, t) => {
|
|
|
1053
1053
|
lockedPanoIndex: null,
|
|
1054
1054
|
lockedLatitude: null,
|
|
1055
1055
|
lockedLongitude: null
|
|
1056
|
-
}), t == null ? void 0 : t.config), l = new
|
|
1057
|
-
let d = new
|
|
1056
|
+
}), t == null ? void 0 : t.config), l = new E.Scene(), c = new Du(60);
|
|
1057
|
+
let d = new E.Object3D(), h, u;
|
|
1058
1058
|
{
|
|
1059
|
-
const B = new
|
|
1060
|
-
B.position.copy(new
|
|
1059
|
+
const B = new E.DirectionalLight(16777215, 0.5);
|
|
1060
|
+
B.position.copy(new E.Vector3(1, 1, 1)), l.add(B);
|
|
1061
1061
|
}
|
|
1062
1062
|
{
|
|
1063
|
-
const B = new
|
|
1063
|
+
const B = new E.DirectionalLight(16777215, 0.3);
|
|
1064
1064
|
l.add(B);
|
|
1065
1065
|
}
|
|
1066
1066
|
{
|
|
1067
|
-
const B = new
|
|
1067
|
+
const B = new E.AmbientLight(16777215, 0.3);
|
|
1068
1068
|
l.add(B);
|
|
1069
1069
|
}
|
|
1070
1070
|
l.add(d);
|
|
1071
1071
|
const m = () => {
|
|
1072
1072
|
if (n)
|
|
1073
1073
|
return;
|
|
1074
|
-
h = S(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new
|
|
1074
|
+
h = S(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new E.Vector3()), l.remove(d), d = G(i.model), l.add(d), n = !0, T();
|
|
1075
1075
|
function B(U) {
|
|
1076
1076
|
const Y = U.clone();
|
|
1077
1077
|
return Y.uniforms.modelAlpha.value = 1, Y.uniforms.map.value && (Y.uniforms.map.value.needsUpdate = !0), Y;
|
|
1078
1078
|
}
|
|
1079
1079
|
function G(U) {
|
|
1080
|
-
if (U instanceof
|
|
1080
|
+
if (U instanceof E.Mesh) {
|
|
1081
1081
|
const Y = U.geometry, J = Array.isArray(U.material) ? U.material.map(B) : B(U.material);
|
|
1082
|
-
return new
|
|
1083
|
-
} else if (U instanceof
|
|
1084
|
-
const Y = new
|
|
1082
|
+
return new E.Mesh(Y, J);
|
|
1083
|
+
} else if (U instanceof E.Group) {
|
|
1084
|
+
const Y = new E.Group();
|
|
1085
1085
|
return U.children.forEach((J) => Y.add(G(J))), Y;
|
|
1086
1086
|
} else {
|
|
1087
|
-
const Y = new
|
|
1087
|
+
const Y = new E.Object3D();
|
|
1088
1088
|
return U.children.forEach((J) => Y.add(G(J))), Y;
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
1091
1091
|
}, v = () => {
|
|
1092
1092
|
if (i.renderer)
|
|
1093
|
-
return s || (s = new
|
|
1093
|
+
return s || (s = new E.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = E.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
|
|
1094
1094
|
}, g = () => {
|
|
1095
1095
|
d.traverse((B) => {
|
|
1096
|
-
B instanceof
|
|
1097
|
-
}), l.remove(d), d = new
|
|
1096
|
+
B instanceof E.Mesh && [].concat(B.material).forEach((U) => U.dispose());
|
|
1097
|
+
}), l.remove(d), d = new E.Object3D(), l.add(d), n = !1, T();
|
|
1098
1098
|
}, A = () => {
|
|
1099
1099
|
e && (n || m());
|
|
1100
1100
|
}, b = () => {
|
|
@@ -1126,14 +1126,14 @@ const fE = (i, t) => {
|
|
|
1126
1126
|
let re = J / 2 / Math.tan(Math.PI * G / 360);
|
|
1127
1127
|
return U < 1 && (re = re / U), isNaN(re) ? J : re;
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function I(B) {
|
|
1130
1130
|
return i.work.observers[B].standingPosition.clone();
|
|
1131
1131
|
}
|
|
1132
1132
|
const T = () => {
|
|
1133
1133
|
if (!e || !h || !u)
|
|
1134
1134
|
return;
|
|
1135
1135
|
const B = i.getPose();
|
|
1136
|
-
B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset =
|
|
1136
|
+
B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = I(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
|
|
1137
1137
|
}, D = () => {
|
|
1138
1138
|
!e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
|
|
1139
1139
|
}, F = () => {
|
|
@@ -1295,9 +1295,9 @@ class ci {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
const df = ({ x: i, y: t, z: e }) => new $(i, t, e), Mt = (i) => new $().fromArray(i), Zi = (i) => i instanceof $ ? i : Array.isArray(i) ? Mt(i) : df(i);
|
|
1298
|
-
class hf extends
|
|
1298
|
+
class hf extends E.Mesh {
|
|
1299
1299
|
constructor(e, n) {
|
|
1300
|
-
const o = new
|
|
1300
|
+
const o = new E.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: E.DoubleSide }), s = new E.PlaneGeometry(e, n);
|
|
1301
1301
|
super(s, o);
|
|
1302
1302
|
f(this, "name", "opacity-mesh");
|
|
1303
1303
|
}
|
|
@@ -1315,8 +1315,8 @@ function Dn(...i) {
|
|
|
1315
1315
|
const Vd = 1, uf = `CSS3DObjectPlus@${Vd}`, ff = 216e-5, mf = 3e-3;
|
|
1316
1316
|
class pf extends Or {
|
|
1317
1317
|
constructor(e) {
|
|
1318
|
-
var S,
|
|
1319
|
-
const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (
|
|
1318
|
+
var S, I, T;
|
|
1319
|
+
const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (I = e.dpr) != null ? I : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(ff, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
|
|
1320
1320
|
let v;
|
|
1321
1321
|
if (l === s)
|
|
1322
1322
|
n.style.width = `${h}px`, n.style.height = `${u}px`, v = n;
|
|
@@ -1417,7 +1417,7 @@ class pf extends Or {
|
|
|
1417
1417
|
this.scale.applyMatrix4(e), (n = this.opacityMesh) == null || n.scale.applyMatrix4(e);
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
|
-
class gf extends
|
|
1420
|
+
class gf extends E.Scene {
|
|
1421
1421
|
constructor() {
|
|
1422
1422
|
super();
|
|
1423
1423
|
}
|
|
@@ -1427,7 +1427,7 @@ class gf extends I.Scene {
|
|
|
1427
1427
|
}), this;
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
|
-
class vf extends
|
|
1430
|
+
class vf extends E.Scene {
|
|
1431
1431
|
constructor(e) {
|
|
1432
1432
|
super();
|
|
1433
1433
|
f(this, "scene");
|
|
@@ -1447,7 +1447,7 @@ class vf extends I.Scene {
|
|
|
1447
1447
|
}), super.remove(...e), this;
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
-
class Od extends
|
|
1450
|
+
class Od extends E.Group {
|
|
1451
1451
|
constructor(e) {
|
|
1452
1452
|
super();
|
|
1453
1453
|
f(this, "isCSS3DGroup", !0);
|
|
@@ -1842,7 +1842,7 @@ function Do(i, t, e) {
|
|
|
1842
1842
|
const n = i[t], o = i[e];
|
|
1843
1843
|
!n || !o || (i[t] = o, i[e] = n);
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function If(i, t, e) {
|
|
1846
1846
|
const n = e / 2;
|
|
1847
1847
|
for (let o = 1; o <= n; o++) {
|
|
1848
1848
|
const s = e - (o - 1);
|
|
@@ -1864,7 +1864,7 @@ let Hd = class {
|
|
|
1864
1864
|
f(this, "config");
|
|
1865
1865
|
f(this, "offset", { x: 0, y: 0 });
|
|
1866
1866
|
f(this, "context");
|
|
1867
|
-
f(this, "renderCenter", new
|
|
1867
|
+
f(this, "renderCenter", new E.Vector3());
|
|
1868
1868
|
f(this, "hammer");
|
|
1869
1869
|
f(this, "state", { enabled: !1 });
|
|
1870
1870
|
f(this, "onPan", (t) => {
|
|
@@ -1924,8 +1924,8 @@ let Hd = class {
|
|
|
1924
1924
|
render() {
|
|
1925
1925
|
if (!this.five.renderer || !this.containerDom)
|
|
1926
1926
|
return;
|
|
1927
|
-
const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new
|
|
1928
|
-
|
|
1927
|
+
const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new E.Vector2()), a = 1, l = n / t, c = o / t, d = a * t, h = (s.x + 1) / 2 * r.x, u = (s.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, u - l / 2, l, c, d), v = Math.floor(n * a), g = Math.floor(o * a);
|
|
1928
|
+
If(m, v, g);
|
|
1929
1929
|
const A = new ImageData(v, g);
|
|
1930
1930
|
A.data.set(m), e.putImageData(A, 0, 0);
|
|
1931
1931
|
}
|
|
@@ -1936,23 +1936,23 @@ let Hd = class {
|
|
|
1936
1936
|
t.setAttribute("width", (this.width * e).toString()), t.setAttribute("height", (this.height * e).toString()), t.style.border = "2px solid rgba(255,255,255,0.20)", t.style.width = this.width + "px", t.style.height = this.height + "px", t.style.top = this.config.initialPosition.top, t.style.left = this.config.initialPosition.left, t.style.transform = "translate(0,0,100px)", this.config.dragEnabled && (this.canvas.style.cursor = "pointer");
|
|
1937
1937
|
}
|
|
1938
1938
|
};
|
|
1939
|
-
function
|
|
1939
|
+
function Ef(i, t) {
|
|
1940
1940
|
const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
|
|
1941
|
-
return new
|
|
1941
|
+
return new E.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
|
|
1942
1942
|
}
|
|
1943
1943
|
function Gd(i, t) {
|
|
1944
1944
|
const { offsetWidth: e, offsetHeight: n } = t;
|
|
1945
|
-
return new
|
|
1945
|
+
return new E.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
|
|
1946
1946
|
}
|
|
1947
1947
|
function kf(i, t) {
|
|
1948
1948
|
const e = i.getElement();
|
|
1949
1949
|
if (!e)
|
|
1950
1950
|
return;
|
|
1951
|
-
const n = Gd(t, e), o = new
|
|
1951
|
+
const n = Gd(t, e), o = new E.Raycaster();
|
|
1952
1952
|
return o.setFromCamera(n, i.camera), o;
|
|
1953
1953
|
}
|
|
1954
1954
|
function xf(i, t) {
|
|
1955
|
-
const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new
|
|
1955
|
+
const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new E.Vector2().fromArray([o, s]), a = new E.Raycaster();
|
|
1956
1956
|
return a.setFromCamera(r, i.camera), i.model.intersectRaycaster(a)[0];
|
|
1957
1957
|
}
|
|
1958
1958
|
const Df = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAA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AQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQn8NQn8fyHnyuSABiy2AAAAAElFTkSuQmCC", Mf = `
|
|
@@ -1972,36 +1972,36 @@ void main() {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
`;
|
|
1974
1974
|
function Lf() {
|
|
1975
|
-
const i = new
|
|
1976
|
-
e.encoding =
|
|
1977
|
-
const n = new
|
|
1975
|
+
const i = new E.PlaneGeometry(0.4, 0.4), t = Df, e = new E.TextureLoader().load(t);
|
|
1976
|
+
e.encoding = E.sRGBEncoding, e.minFilter = E.LinearFilter;
|
|
1977
|
+
const n = new E.MeshBasicMaterial({
|
|
1978
1978
|
map: e,
|
|
1979
1979
|
transparent: !0,
|
|
1980
1980
|
depthTest: !1
|
|
1981
1981
|
});
|
|
1982
|
-
return new
|
|
1982
|
+
return new E.Mesh(i, n);
|
|
1983
1983
|
}
|
|
1984
1984
|
function Tf() {
|
|
1985
|
-
const i = new
|
|
1986
|
-
i.add(new
|
|
1987
|
-
const t = new
|
|
1985
|
+
const i = new E.CurvePath();
|
|
1986
|
+
i.add(new E.LineCurve3(new E.Vector3(0, 0, 0), new E.Vector3(0, 0, 0.1)));
|
|
1987
|
+
const t = new E.TubeGeometry(i, 8, 3e-3), e = new E.ShaderMaterial({
|
|
1988
1988
|
vertexShader: Mf,
|
|
1989
1989
|
fragmentShader: Sf,
|
|
1990
1990
|
depthTest: !1,
|
|
1991
1991
|
transparent: !0
|
|
1992
1992
|
});
|
|
1993
|
-
return new
|
|
1993
|
+
return new E.Mesh(t, e);
|
|
1994
1994
|
}
|
|
1995
1995
|
function zf() {
|
|
1996
|
-
const i = new
|
|
1996
|
+
const i = new E.SphereGeometry(0.01, 20, 20), t = new E.MeshBasicMaterial({
|
|
1997
1997
|
color: 10349931,
|
|
1998
1998
|
depthTest: !1,
|
|
1999
1999
|
transparent: !0,
|
|
2000
|
-
side:
|
|
2001
|
-
}), e = new
|
|
2000
|
+
side: E.DoubleSide
|
|
2001
|
+
}), e = new E.Mesh(i, t);
|
|
2002
2002
|
return e.position.set(0, 0, 0.1), e;
|
|
2003
2003
|
}
|
|
2004
|
-
class Wd extends
|
|
2004
|
+
class Wd extends E.Object3D {
|
|
2005
2005
|
constructor() {
|
|
2006
2006
|
super();
|
|
2007
2007
|
f(this, "planeMesh");
|
|
@@ -2012,7 +2012,7 @@ class Wd extends I.Object3D {
|
|
|
2012
2012
|
updateWithIntersect(e) {
|
|
2013
2013
|
if (!e.face)
|
|
2014
2014
|
return;
|
|
2015
|
-
const n = new
|
|
2015
|
+
const n = new E.Vector3().addVectors(e.point, e.face.normal);
|
|
2016
2016
|
this.position.copy(e.point), this.lookAt(n);
|
|
2017
2017
|
}
|
|
2018
2018
|
dispose() {
|
|
@@ -2098,7 +2098,7 @@ class Fd {
|
|
|
2098
2098
|
[-n, -n, 0],
|
|
2099
2099
|
[n, -n, 0],
|
|
2100
2100
|
[n, n, 0]
|
|
2101
|
-
].map((r) => new
|
|
2101
|
+
].map((r) => new E.Vector3().fromArray(r))
|
|
2102
2102
|
);
|
|
2103
2103
|
if (s) {
|
|
2104
2104
|
const { container: r, dispose: a, css3DObject: l } = s;
|
|
@@ -2116,7 +2116,7 @@ class Fd {
|
|
|
2116
2116
|
updateWithIntersect(t) {
|
|
2117
2117
|
if (!t.face || !this.css3DObject)
|
|
2118
2118
|
return;
|
|
2119
|
-
const e = new
|
|
2119
|
+
const e = new E.Vector3().addVectors(t.point, t.face.normal);
|
|
2120
2120
|
this.css3DObject.position.copy(t.point), this.css3DObject.lookAt(e), this.five.needsRender = !0;
|
|
2121
2121
|
}
|
|
2122
2122
|
/** 缩放动画 */
|
|
@@ -2139,7 +2139,7 @@ class Vf {
|
|
|
2139
2139
|
f(this, "pointDomHelper", null);
|
|
2140
2140
|
f(this, "contentDom", document.createElement("div"));
|
|
2141
2141
|
f(this, "state", { enabled: !1 });
|
|
2142
|
-
f(this, "group", new
|
|
2142
|
+
f(this, "group", new E.Group());
|
|
2143
2143
|
this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) === void 0 ? new Hd(t, { dragEnabled: !0 }) : null, this.pointHelper = (e == null ? void 0 : e.pointHelper) === void 0 ? new Wd() : null, this.pointDomHelper = (e == null ? void 0 : e.pointDomHelper) === void 0 ? new Fd(t) : null, this.group.name = "five-point-selector", this.five.scene.add(this.group), this.contentDom.classList.add("five-point-selector-content"), this.contentDom.style.position = "absolute", this.contentDom.style.top = "0", this.contentDom.style.left = "0", this.contentDom.style.width = "100%", this.contentDom.style.height = "100%", this.contentDom.style.pointerEvents = "none";
|
|
2144
2144
|
}
|
|
2145
2145
|
enable() {
|
|
@@ -2223,7 +2223,7 @@ function Rf() {
|
|
|
2223
2223
|
});
|
|
2224
2224
|
});
|
|
2225
2225
|
}
|
|
2226
|
-
const
|
|
2226
|
+
const pI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2227
2227
|
__proto__: null,
|
|
2228
2228
|
BetterTween: cs,
|
|
2229
2229
|
FivePointSelector: Vf,
|
|
@@ -2232,7 +2232,7 @@ const pE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2232
2232
|
PointDomHelper: Fd,
|
|
2233
2233
|
PointHelper: Wd,
|
|
2234
2234
|
Rectangle: Pf,
|
|
2235
|
-
getCoordsFromClient:
|
|
2235
|
+
getCoordsFromClient: Ef,
|
|
2236
2236
|
getCoordsFromElement: Gd,
|
|
2237
2237
|
getFrameTime: Rf,
|
|
2238
2238
|
getIntersectFromRelativePosition: xf,
|
|
@@ -2344,7 +2344,7 @@ function pr(i, t, e = new $(1, 1, 1), n = !1) {
|
|
|
2344
2344
|
const o = new Ld(i, t);
|
|
2345
2345
|
return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
|
|
2346
2346
|
}
|
|
2347
|
-
const
|
|
2347
|
+
const vI = (i) => {
|
|
2348
2348
|
const t = {
|
|
2349
2349
|
intersection: null,
|
|
2350
2350
|
disposers: []
|
|
@@ -2543,7 +2543,7 @@ function Ve(i) {
|
|
|
2543
2543
|
function se() {
|
|
2544
2544
|
return Ve(" ");
|
|
2545
2545
|
}
|
|
2546
|
-
function
|
|
2546
|
+
function Ie() {
|
|
2547
2547
|
return Ve("");
|
|
2548
2548
|
}
|
|
2549
2549
|
function Pe(i, t, e, n) {
|
|
@@ -2919,19 +2919,19 @@ function Lt(i, t, e, n, o, s, r, a, l, c, d, h) {
|
|
|
2919
2919
|
F ? n && P.push(() => F.p(T, t)) : (F = c(D, T), F.c()), b.set(D, A[v] = F), D in g && y.set(D, Math.abs(v - g[D]));
|
|
2920
2920
|
}
|
|
2921
2921
|
const k = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
2922
|
-
function
|
|
2922
|
+
function I(T) {
|
|
2923
2923
|
x(T, 1), T.m(a, d), r.set(T.key, T), d = T.first, m--;
|
|
2924
2924
|
}
|
|
2925
2925
|
for (; u && m; ) {
|
|
2926
2926
|
const T = A[m - 1], D = i[u - 1], F = T.key, q = D.key;
|
|
2927
|
-
T === D ? (d = T.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ?
|
|
2927
|
+
T === D ? (d = T.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? I(T) : S.has(q) ? u-- : y.get(F) > y.get(q) ? (S.add(F), I(T)) : (k.add(q), u--) : (l(D, r), u--);
|
|
2928
2928
|
}
|
|
2929
2929
|
for (; u--; ) {
|
|
2930
2930
|
const T = i[u];
|
|
2931
2931
|
b.has(T.key) || l(T, r);
|
|
2932
2932
|
}
|
|
2933
2933
|
for (; m; )
|
|
2934
|
-
|
|
2934
|
+
I(A[m - 1]);
|
|
2935
2935
|
return rt(P), A;
|
|
2936
2936
|
}
|
|
2937
2937
|
function st(i, t) {
|
|
@@ -3449,7 +3449,7 @@ function Za(i, t) {
|
|
|
3449
3449
|
key: i,
|
|
3450
3450
|
first: null,
|
|
3451
3451
|
c() {
|
|
3452
|
-
e =
|
|
3452
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
3453
3453
|
},
|
|
3454
3454
|
m(s, r) {
|
|
3455
3455
|
V(s, e, r), ee(n, s, r), o = !0;
|
|
@@ -3474,7 +3474,7 @@ function Za(i, t) {
|
|
|
3474
3474
|
}
|
|
3475
3475
|
};
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3477
|
+
function Im(i) {
|
|
3478
3478
|
let t, e = [], n = new Cm(), o, s, r, a = (
|
|
3479
3479
|
/*roomLabels*/
|
|
3480
3480
|
i[0]
|
|
@@ -3539,20 +3539,20 @@ function Em(i) {
|
|
|
3539
3539
|
}
|
|
3540
3540
|
};
|
|
3541
3541
|
}
|
|
3542
|
-
function
|
|
3542
|
+
function Em(i, t, e) {
|
|
3543
3543
|
var A;
|
|
3544
3544
|
let n, { five: o } = t, { roomLabels: s } = t, r, a, l = (A = o.model.shownFloor) != null ? A : null;
|
|
3545
3545
|
function c(b) {
|
|
3546
3546
|
if (!(l === null || b.floorIndex === l))
|
|
3547
3547
|
return !1;
|
|
3548
|
-
const P = new xn(), k = o.camera.position.clone(), S = new $(b.position.x, b.position.y, b.position.z),
|
|
3548
|
+
const P = new xn(), k = o.camera.position.clone(), S = new $(b.position.x, b.position.y, b.position.z), I = S.distanceTo(k);
|
|
3549
3549
|
P.set(k.clone(), S.clone().sub(k).normalize());
|
|
3550
3550
|
const [T] = o.model.intersectRaycaster(P);
|
|
3551
|
-
return !(T && T.distance + 1 <
|
|
3551
|
+
return !(T && T.distance + 1 < I);
|
|
3552
3552
|
}
|
|
3553
3553
|
function d(b, y) {
|
|
3554
|
-
const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), S = Math.ceil((k.x + 1) / 2 * y.x),
|
|
3555
|
-
return `translate(${S}px, ${
|
|
3554
|
+
const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), S = Math.ceil((k.x + 1) / 2 * y.x), I = Math.ceil((-k.y + 1) / 2 * y.y);
|
|
3555
|
+
return `translate(${S}px, ${I}px)`;
|
|
3556
3556
|
}
|
|
3557
3557
|
function h(b) {
|
|
3558
3558
|
const { rendererSize: y, shownFloor: P } = b, k = /* @__PURE__ */ new Map();
|
|
@@ -3603,7 +3603,7 @@ function Im(i, t, e) {
|
|
|
3603
3603
|
}
|
|
3604
3604
|
class km extends ce {
|
|
3605
3605
|
constructor(t) {
|
|
3606
|
-
super(), le(this, t,
|
|
3606
|
+
super(), le(this, t, Em, Im, ae, { five: 1, roomLabels: 0 }, Pm);
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
3609
|
function xm(i) {
|
|
@@ -3691,7 +3691,7 @@ class Dm {
|
|
|
3691
3691
|
}
|
|
3692
3692
|
}
|
|
3693
3693
|
}
|
|
3694
|
-
const
|
|
3694
|
+
const AI = (i) => new Dm(i), bI = {
|
|
3695
3695
|
name: "ModelRoomLabelPlugin",
|
|
3696
3696
|
version: 0
|
|
3697
3697
|
};
|
|
@@ -3765,7 +3765,7 @@ function bh(i) {
|
|
|
3765
3765
|
const t = i - 1;
|
|
3766
3766
|
return t * t * t + 1;
|
|
3767
3767
|
}
|
|
3768
|
-
function
|
|
3768
|
+
function En(i, { delay: t = 0, duration: e = 400, easing: n = rn } = {}) {
|
|
3769
3769
|
const o = +getComputedStyle(i).opacity;
|
|
3770
3770
|
return {
|
|
3771
3771
|
delay: t,
|
|
@@ -3945,7 +3945,7 @@ function Hm(i) {
|
|
|
3945
3945
|
);
|
|
3946
3946
|
return {
|
|
3947
3947
|
c() {
|
|
3948
|
-
e && e.c(), t =
|
|
3948
|
+
e && e.c(), t = Ie();
|
|
3949
3949
|
},
|
|
3950
3950
|
m(n, o) {
|
|
3951
3951
|
e && e.m(n, o), V(n, t, o);
|
|
@@ -4220,7 +4220,7 @@ function sp(i) {
|
|
|
4220
4220
|
), n;
|
|
4221
4221
|
return {
|
|
4222
4222
|
c() {
|
|
4223
|
-
t = new Yo(!1), n =
|
|
4223
|
+
t = new Yo(!1), n = Ie(), t.a = n;
|
|
4224
4224
|
},
|
|
4225
4225
|
m(o, s) {
|
|
4226
4226
|
t.m(e, o, s), V(o, n, s);
|
|
@@ -4245,7 +4245,7 @@ function rp(i) {
|
|
|
4245
4245
|
);
|
|
4246
4246
|
return {
|
|
4247
4247
|
c() {
|
|
4248
|
-
n && n.c(), t = se(), o && o.c(), e =
|
|
4248
|
+
n && n.c(), t = se(), o && o.c(), e = Ie();
|
|
4249
4249
|
},
|
|
4250
4250
|
m(s, r) {
|
|
4251
4251
|
n && n.m(s, r), V(s, t, r), o && o.m(s, r), V(s, e, r);
|
|
@@ -4404,7 +4404,7 @@ function cp(i, t, e) {
|
|
|
4404
4404
|
].every((be) => lp(be, He));
|
|
4405
4405
|
};
|
|
4406
4406
|
}
|
|
4407
|
-
const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", S = P.positionInImage.y * 100 + "%",
|
|
4407
|
+
const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", S = P.positionInImage.y * 100 + "%", I = (b < 500 || y < 500 ? 10 : 14) + "px";
|
|
4408
4408
|
let T = 0, D = 0, F = !1;
|
|
4409
4409
|
u.subscribe(function(H) {
|
|
4410
4410
|
e(16, F = !!H && H.id === h.id);
|
|
@@ -4435,7 +4435,7 @@ function cp(i, t, e) {
|
|
|
4435
4435
|
n,
|
|
4436
4436
|
k,
|
|
4437
4437
|
S,
|
|
4438
|
-
|
|
4438
|
+
I,
|
|
4439
4439
|
l,
|
|
4440
4440
|
u,
|
|
4441
4441
|
m,
|
|
@@ -4580,7 +4580,7 @@ function il(i, t) {
|
|
|
4580
4580
|
key: i,
|
|
4581
4581
|
first: null,
|
|
4582
4582
|
c() {
|
|
4583
|
-
e =
|
|
4583
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
4584
4584
|
},
|
|
4585
4585
|
m(a, l) {
|
|
4586
4586
|
V(a, e, l), ee(n, a, l), o = !0;
|
|
@@ -4644,7 +4644,7 @@ function up(i) {
|
|
|
4644
4644
|
);
|
|
4645
4645
|
return {
|
|
4646
4646
|
c() {
|
|
4647
|
-
n && n.c(), t =
|
|
4647
|
+
n && n.c(), t = Ie();
|
|
4648
4648
|
},
|
|
4649
4649
|
m(o, s) {
|
|
4650
4650
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -4958,7 +4958,7 @@ function cl(i, t) {
|
|
|
4958
4958
|
key: i,
|
|
4959
4959
|
first: null,
|
|
4960
4960
|
c() {
|
|
4961
|
-
e =
|
|
4961
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
4962
4962
|
},
|
|
4963
4963
|
m(a, l) {
|
|
4964
4964
|
V(a, e, l), ee(n, a, l), o = !0;
|
|
@@ -5137,14 +5137,14 @@ function Pp(i, t) {
|
|
|
5137
5137
|
const e = i.x * 1e3 + t.bounding.origin.x, n = -i.z * 1e3 + t.bounding.origin.y;
|
|
5138
5138
|
return { x: e, y: n };
|
|
5139
5139
|
}
|
|
5140
|
-
function
|
|
5140
|
+
function Ip(i, t) {
|
|
5141
5141
|
const e = t.bounding, n = e.max.x - e.min.x, o = e.max.y - e.min.y;
|
|
5142
5142
|
return {
|
|
5143
5143
|
x: (i.x - e.min.x) / n,
|
|
5144
5144
|
y: (e.max.y - i.y) / o
|
|
5145
5145
|
};
|
|
5146
5146
|
}
|
|
5147
|
-
function
|
|
5147
|
+
function Ep(i, t) {
|
|
5148
5148
|
return Math.max(
|
|
5149
5149
|
...t.work.observers.map((n) => i.z >= n.standingPosition.z ? n.floorIndex : 0)
|
|
5150
5150
|
);
|
|
@@ -5681,7 +5681,7 @@ function pl(i, t) {
|
|
|
5681
5681
|
key: i,
|
|
5682
5682
|
first: null,
|
|
5683
5683
|
c() {
|
|
5684
|
-
e =
|
|
5684
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
5685
5685
|
},
|
|
5686
5686
|
m(a, l) {
|
|
5687
5687
|
V(a, e, l), ee(n, a, l), o = !0;
|
|
@@ -6271,7 +6271,7 @@ function yl(i) {
|
|
|
6271
6271
|
for (let u = 0; u < r.length; u += 1)
|
|
6272
6272
|
x(a[u]);
|
|
6273
6273
|
x(c), x(d), o || ot(() => {
|
|
6274
|
-
o = Mn(t,
|
|
6274
|
+
o = Mn(t, En, {
|
|
6275
6275
|
duration: (
|
|
6276
6276
|
/*duration*/
|
|
6277
6277
|
i[0]
|
|
@@ -6565,7 +6565,7 @@ function eg(i) {
|
|
|
6565
6565
|
);
|
|
6566
6566
|
return {
|
|
6567
6567
|
c() {
|
|
6568
|
-
n && n.c(), t =
|
|
6568
|
+
n && n.c(), t = Ie();
|
|
6569
6569
|
},
|
|
6570
6570
|
m(o, s) {
|
|
6571
6571
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -6589,9 +6589,9 @@ function eg(i) {
|
|
|
6589
6589
|
};
|
|
6590
6590
|
}
|
|
6591
6591
|
function tg(i, t, e) {
|
|
6592
|
-
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable:
|
|
6592
|
+
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: T } = t;
|
|
6593
6593
|
return i.$$set = (D) => {
|
|
6594
|
-
"duration" in D && e(0, n = D.duration), "visible" in D && e(1, o = D.visible), "northDesc" in D && e(2, s = D.northDesc), "panoIndex" in D && e(3, r = D.panoIndex), "floorIndex" in D && e(4, a = D.floorIndex), "cameraEnable" in D && e(5, l = D.cameraEnable), "hoverEnable" in D && e(6, c = D.hoverEnable), "highlightEnable" in D && e(7, d = D.highlightEnable), "compassEnable" in D && e(8, h = D.compassEnable), "roomLabelsEnable" in D && e(9, u = D.roomLabelsEnable), "roomAreaEnable" in D && e(10, m = D.roomAreaEnable), "roomNameEnable" in D && e(11, v = D.roomNameEnable), "ruleLabelsEnable" in D && e(12, g = D.ruleLabelsEnable), "floorplanData" in D && e(13, A = D.floorplanData), "lastPanoramaLongitude" in D && e(14, b = D.lastPanoramaLongitude), "cameraImageUrl" in D && e(15, y = D.cameraImageUrl), "getRoomAreaText" in D && e(16, P = D.getRoomAreaText), "getLabelElement" in D && e(17, k = D.getLabelElement), "getRuleDistanceText" in D && e(18, S = D.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in D && e(19,
|
|
6594
|
+
"duration" in D && e(0, n = D.duration), "visible" in D && e(1, o = D.visible), "northDesc" in D && e(2, s = D.northDesc), "panoIndex" in D && e(3, r = D.panoIndex), "floorIndex" in D && e(4, a = D.floorIndex), "cameraEnable" in D && e(5, l = D.cameraEnable), "hoverEnable" in D && e(6, c = D.hoverEnable), "highlightEnable" in D && e(7, d = D.highlightEnable), "compassEnable" in D && e(8, h = D.compassEnable), "roomLabelsEnable" in D && e(9, u = D.roomLabelsEnable), "roomAreaEnable" in D && e(10, m = D.roomAreaEnable), "roomNameEnable" in D && e(11, v = D.roomNameEnable), "ruleLabelsEnable" in D && e(12, g = D.ruleLabelsEnable), "floorplanData" in D && e(13, A = D.floorplanData), "lastPanoramaLongitude" in D && e(14, b = D.lastPanoramaLongitude), "cameraImageUrl" in D && e(15, y = D.cameraImageUrl), "getRoomAreaText" in D && e(16, P = D.getRoomAreaText), "getLabelElement" in D && e(17, k = D.getLabelElement), "getRuleDistanceText" in D && e(18, S = D.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in D && e(19, I = D.adaptiveRoomLabelVisibleEnable), "highlightData" in D && e(20, T = D.highlightData);
|
|
6595
6595
|
}, [
|
|
6596
6596
|
n,
|
|
6597
6597
|
o,
|
|
@@ -6612,7 +6612,7 @@ function tg(i, t, e) {
|
|
|
6612
6612
|
P,
|
|
6613
6613
|
k,
|
|
6614
6614
|
S,
|
|
6615
|
-
|
|
6615
|
+
I,
|
|
6616
6616
|
T
|
|
6617
6617
|
];
|
|
6618
6618
|
}
|
|
@@ -6730,7 +6730,7 @@ function lg(i, t, e) {
|
|
|
6730
6730
|
url: ng,
|
|
6731
6731
|
width: 45,
|
|
6732
6732
|
height: 48
|
|
6733
|
-
}, a =
|
|
6733
|
+
}, a = Ep(s, t), l = Pp(s, e), c = Ip(l, e);
|
|
6734
6734
|
return { floorIndex: a, icon: r, id: o.id, position: l, positionInImage: c };
|
|
6735
6735
|
});
|
|
6736
6736
|
}
|
|
@@ -6743,18 +6743,18 @@ function As(i, t) {
|
|
|
6743
6743
|
t.indexOf(n) === -1 && (e[n] = i[n]);
|
|
6744
6744
|
});
|
|
6745
6745
|
}
|
|
6746
|
-
function
|
|
6746
|
+
function Il(i, t) {
|
|
6747
6747
|
const e = Math.max(...i.work.observers.map((n) => n.floorIndex));
|
|
6748
6748
|
return t > e ? i.model.bounding.max.y : Math.max(
|
|
6749
6749
|
...i.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
|
|
6750
6750
|
);
|
|
6751
6751
|
}
|
|
6752
6752
|
function Aa(i, t, e = Pn.BOUNDING_CENTER) {
|
|
6753
|
-
const n =
|
|
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
6756
|
function ba(i, t, e, n) {
|
|
6757
|
-
const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new
|
|
6757
|
+
const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new E.Vector3(0, o, 0), r = new E.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.20.0
|
|
6765
|
+
f(this, "VERSION", "2.20.0");
|
|
6766
6766
|
f(this, "five");
|
|
6767
6767
|
/**
|
|
6768
6768
|
* 插件事件钩子
|
|
@@ -6783,7 +6783,7 @@ let ao = class {
|
|
|
6783
6783
|
}, Sn = class extends ao {
|
|
6784
6784
|
};
|
|
6785
6785
|
var At = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(At || {});
|
|
6786
|
-
const
|
|
6786
|
+
const Ih = 500, dg = 80;
|
|
6787
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
|
}
|
|
@@ -6820,7 +6820,7 @@ function wa(i, t) {
|
|
|
6820
6820
|
const { latitude: e, longitude: n, fov: o } = t, { latitude: s, longitude: r } = i.getCurrentState(), a = i.camera.fov;
|
|
6821
6821
|
return !(!Xr(e, s, 2) || !Xr(n, r, 2) || o !== a);
|
|
6822
6822
|
}
|
|
6823
|
-
function
|
|
6823
|
+
function Eh(i, t, e = !0) {
|
|
6824
6824
|
return X(this, null, function* () {
|
|
6825
6825
|
if (wa(i, t) === !0)
|
|
6826
6826
|
return;
|
|
@@ -6964,13 +6964,13 @@ let mg = class extends Sn {
|
|
|
6964
6964
|
this.showRejection = (u) => {
|
|
6965
6965
|
a = !0, l = u;
|
|
6966
6966
|
};
|
|
6967
|
-
const [c] = yield oi(
|
|
6967
|
+
const [c] = yield oi(Eh(this.five, this.showState, o.userAction));
|
|
6968
6968
|
if (c)
|
|
6969
6969
|
throw c;
|
|
6970
6970
|
if (a)
|
|
6971
6971
|
throw l ? new Error(l) : new Error(At.UnknownError);
|
|
6972
6972
|
this.updateSize(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
6973
|
-
const d = o.modelOpacity, h = o.immediately ? 0 :
|
|
6973
|
+
const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
|
|
6974
6974
|
ri(this.five, d, h), this.render(h);
|
|
6975
6975
|
});
|
|
6976
6976
|
return this.showPromise = s().then(() => {
|
|
@@ -7182,7 +7182,7 @@ let mg = class extends Sn {
|
|
|
7182
7182
|
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7183
7183
|
}
|
|
7184
7184
|
};
|
|
7185
|
-
const
|
|
7185
|
+
const kI = (i, t) => new mg(i, t);
|
|
7186
7186
|
function pg(i) {
|
|
7187
7187
|
const { latitude: t, longitude: e } = i, n = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, o = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
|
|
7188
7188
|
return n || o;
|
|
@@ -7293,13 +7293,13 @@ let vg = class extends Sn {
|
|
|
7293
7293
|
this.showRejection = (u) => {
|
|
7294
7294
|
a = !0, l = u;
|
|
7295
7295
|
};
|
|
7296
|
-
const [c] = yield oi(
|
|
7296
|
+
const [c] = yield oi(Eh(this.five, this.showState, o.userAction));
|
|
7297
7297
|
if (c)
|
|
7298
7298
|
throw c;
|
|
7299
7299
|
if (a)
|
|
7300
7300
|
throw l ? new Error(l) : new Error(At.UnknownError);
|
|
7301
7301
|
this.updateSize(), this.updatePosition(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
7302
|
-
const d = o.modelOpacity, h = o.immediately ? 0 :
|
|
7302
|
+
const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
|
|
7303
7303
|
ri(this.five, d, h), this.render(h);
|
|
7304
7304
|
});
|
|
7305
7305
|
return this.showPromise = s().then(() => {
|
|
@@ -7459,7 +7459,7 @@ let vg = class extends Sn {
|
|
|
7459
7459
|
/** 更新户型图位置 */
|
|
7460
7460
|
updatePosition() {
|
|
7461
7461
|
var a;
|
|
7462
|
-
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new
|
|
7462
|
+
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.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;
|
|
@@ -7515,7 +7515,7 @@ let vg = class extends Sn {
|
|
|
7515
7515
|
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7516
7516
|
}
|
|
7517
7517
|
};
|
|
7518
|
-
const
|
|
7518
|
+
const DI = (i, t) => new vg(i, t);
|
|
7519
7519
|
let Ag = class extends Sn {
|
|
7520
7520
|
constructor(e, n) {
|
|
7521
7521
|
super(e);
|
|
@@ -7649,7 +7649,7 @@ let Ag = class extends Sn {
|
|
|
7649
7649
|
/** 更新户型图位置 */
|
|
7650
7650
|
updatePosition() {
|
|
7651
7651
|
var a;
|
|
7652
|
-
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new
|
|
7652
|
+
const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.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;
|
|
@@ -7779,7 +7779,7 @@ let Ag = class extends Sn {
|
|
|
7779
7779
|
this.app = new va({ target: this.container, intro: !0, props: n });
|
|
7780
7780
|
}
|
|
7781
7781
|
};
|
|
7782
|
-
const
|
|
7782
|
+
const SI = (i, t) => new Ag(i, t);
|
|
7783
7783
|
function Ca(i, t = 200) {
|
|
7784
7784
|
let e;
|
|
7785
7785
|
return function(...n) {
|
|
@@ -7894,10 +7894,10 @@ class Pg extends ce {
|
|
|
7894
7894
|
);
|
|
7895
7895
|
}
|
|
7896
7896
|
}
|
|
7897
|
-
function
|
|
7897
|
+
function Ig(i) {
|
|
7898
7898
|
fe(i, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
|
|
7899
7899
|
}
|
|
7900
|
-
function
|
|
7900
|
+
function El(i, t, e) {
|
|
7901
7901
|
const n = i.slice();
|
|
7902
7902
|
return n[1] = t[e], n;
|
|
7903
7903
|
}
|
|
@@ -7934,7 +7934,7 @@ function kl(i, t) {
|
|
|
7934
7934
|
}
|
|
7935
7935
|
};
|
|
7936
7936
|
}
|
|
7937
|
-
function
|
|
7937
|
+
function Eg(i) {
|
|
7938
7938
|
let t, e = [], n = /* @__PURE__ */ new Map(), o = (
|
|
7939
7939
|
/*extraObjects*/
|
|
7940
7940
|
i[0]
|
|
@@ -7944,7 +7944,7 @@ function Ig(i) {
|
|
|
7944
7944
|
r[1].id
|
|
7945
7945
|
);
|
|
7946
7946
|
for (let r = 0; r < o.length; r += 1) {
|
|
7947
|
-
let a =
|
|
7947
|
+
let a = El(i, o, r), l = s(a);
|
|
7948
7948
|
n.set(l, e[r] = kl(l, a));
|
|
7949
7949
|
}
|
|
7950
7950
|
return {
|
|
@@ -7962,7 +7962,7 @@ function Ig(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, ma, kl, null,
|
|
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,
|
|
@@ -7981,7 +7981,7 @@ function kg(i, t, e) {
|
|
|
7981
7981
|
}
|
|
7982
7982
|
class xg extends ce {
|
|
7983
7983
|
constructor(t) {
|
|
7984
|
-
super(), le(this, t, kg,
|
|
7984
|
+
super(), le(this, t, kg, Eg, ae, { extraObjects: 0 }, Ig);
|
|
7985
7985
|
}
|
|
7986
7986
|
}
|
|
7987
7987
|
function xl(i) {
|
|
@@ -8098,7 +8098,7 @@ function Dg(i) {
|
|
|
8098
8098
|
);
|
|
8099
8099
|
return {
|
|
8100
8100
|
c() {
|
|
8101
|
-
ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s =
|
|
8101
|
+
ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s = Ie();
|
|
8102
8102
|
},
|
|
8103
8103
|
m(d, h) {
|
|
8104
8104
|
ee(t, d, h), V(d, e, h), ee(n, d, h), V(d, o, h), c && c.m(d, h), V(d, s, h), r = !0;
|
|
@@ -8368,7 +8368,7 @@ function Tg(i) {
|
|
|
8368
8368
|
);
|
|
8369
8369
|
return {
|
|
8370
8370
|
c() {
|
|
8371
|
-
n && n.c(), t =
|
|
8371
|
+
n && n.c(), t = Ie();
|
|
8372
8372
|
},
|
|
8373
8373
|
m(o, s) {
|
|
8374
8374
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -8410,7 +8410,7 @@ function zg(i, t, e) {
|
|
|
8410
8410
|
}, i.$$.update = () => {
|
|
8411
8411
|
if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
8412
8412
|
904) {
|
|
8413
|
-
const S = Math.min(u, m), { max:
|
|
8413
|
+
const S = Math.min(u, m), { max: I, min: T } = r.bounding, D = I.x - T.x, F = I.y - T.y, q = function() {
|
|
8414
8414
|
return D > F ? [S, S / D * F] : [S / F * D, S];
|
|
8415
8415
|
}();
|
|
8416
8416
|
e(9, v = q[0]), e(12, g = q[1]), e(10, d = v / D);
|
|
@@ -8595,7 +8595,7 @@ let _g = class extends Sn {
|
|
|
8595
8595
|
this.app ? this.app.$set(e) : this.app = new jg({ target: this.wrapper, props: e });
|
|
8596
8596
|
}
|
|
8597
8597
|
};
|
|
8598
|
-
const
|
|
8598
|
+
const TI = (i, t) => new _g(i, t), zI = [
|
|
8599
8599
|
{ type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
|
|
8600
8600
|
{ type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
|
|
8601
8601
|
{ type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
|
|
@@ -8667,14 +8667,14 @@ const TE = (i, t) => new _g(i, t), zE = [
|
|
|
8667
8667
|
{ type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
|
|
8668
8668
|
{ type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
|
|
8669
8669
|
{ type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
|
|
8670
|
-
],
|
|
8670
|
+
], jI = [
|
|
8671
8671
|
{ type: 0, description: "木质地板" },
|
|
8672
8672
|
{ type: 1, description: "瓷砖地面" },
|
|
8673
8673
|
{ type: 2, description: "户外地面" },
|
|
8674
8674
|
{ type: 3, description: "卫生间地面" },
|
|
8675
8675
|
{ type: 4, description: "阳台地面" },
|
|
8676
8676
|
{ type: 5, description: "车库地面" }
|
|
8677
|
-
],
|
|
8677
|
+
], _I = [
|
|
8678
8678
|
{ roomType: "100900000001", description: "室" },
|
|
8679
8679
|
{ roomType: "100900000002", description: "厅" },
|
|
8680
8680
|
{ roomType: "100900000003", description: "厨" },
|
|
@@ -8691,7 +8691,7 @@ const TE = (i, t) => new _g(i, t), zE = [
|
|
|
8691
8691
|
{ roomType: "100900000015", description: "商铺" },
|
|
8692
8692
|
{ roomType: "100900000016", description: "写字楼" }
|
|
8693
8693
|
], Ar = (i, t, e) => {
|
|
8694
|
-
const n = new
|
|
8694
|
+
const n = new E.Matrix4(), o = new E.Euler(i, t, e, "YXZ");
|
|
8695
8695
|
return n.makeRotationFromEuler(o), n;
|
|
8696
8696
|
}, Vg = (i, {
|
|
8697
8697
|
scale: t,
|
|
@@ -8713,7 +8713,7 @@ function kh(i, t) {
|
|
|
8713
8713
|
}
|
|
8714
8714
|
});
|
|
8715
8715
|
}
|
|
8716
|
-
const
|
|
8716
|
+
const VI = (i, t) => {
|
|
8717
8717
|
var d;
|
|
8718
8718
|
const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", n = (d = t.north_rad) != null ? d : void 0, o = {}, s = (h) => X(void 0, null, function* () {
|
|
8719
8719
|
var R;
|
|
@@ -8723,19 +8723,19 @@ const VE = (i, t) => {
|
|
|
8723
8723
|
const v = i.model.bounding, g = v.max.x - v.min.x, A = v.max.z - v.min.z, b = Math.max(g, A), P = yield new Td().loadAsync(u);
|
|
8724
8724
|
kh(P, {
|
|
8725
8725
|
transparent: !0,
|
|
8726
|
-
side:
|
|
8727
|
-
blending:
|
|
8726
|
+
side: E.DoubleSide,
|
|
8727
|
+
blending: E.AdditiveBlending
|
|
8728
8728
|
});
|
|
8729
8729
|
const k = [0, m - Math.PI / 2, 0], {
|
|
8730
8730
|
model: {
|
|
8731
8731
|
bounding: {
|
|
8732
|
-
max: { x: S, z:
|
|
8732
|
+
max: { x: S, z: I },
|
|
8733
8733
|
min: { x: T, y: D, z: F }
|
|
8734
8734
|
}
|
|
8735
8735
|
}
|
|
8736
8736
|
} = i;
|
|
8737
8737
|
o.yBase = D;
|
|
8738
|
-
const q = { x: (S + T) / 2, y: D - 1.6, z: (
|
|
8738
|
+
const q = { x: (S + T) / 2, y: D - 1.6, z: (I + F) / 2 }, Q = 45e-4 * b;
|
|
8739
8739
|
return Vg(P, { position: q, rotation: k, scale: Q }), o.object = P, !0;
|
|
8740
8740
|
}), r = ({ latitude: h }) => {
|
|
8741
8741
|
if (!o.object)
|
|
@@ -8767,18 +8767,18 @@ function Og(i, t) {
|
|
|
8767
8767
|
const l = a.getContext("2d");
|
|
8768
8768
|
return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "微软雅黑"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new Mu(a);
|
|
8769
8769
|
}
|
|
8770
|
-
const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e),
|
|
8770
|
+
const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
|
|
8771
8771
|
var g, A, b;
|
|
8772
8772
|
const e = {}, n = (g = t.animationEnabled) != null ? g : !0, o = (A = t.position) != null ? A : void 0, s = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => X(void 0, null, function* () {
|
|
8773
8773
|
var q, Q, R, H, B, G, U, Y;
|
|
8774
8774
|
const P = (q = y == null ? void 0 : y.position) != null ? q : o;
|
|
8775
8775
|
if (!P)
|
|
8776
8776
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
8777
|
-
const k = Bg(P), S = (Q = y == null ? void 0 : y.rad) != null ? Q : s,
|
|
8777
|
+
const k = Bg(P), S = (Q = y == null ? void 0 : y.rad) != null ? Q : s, I = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
|
|
8778
8778
|
if (e.rad = S, S === void 0)
|
|
8779
8779
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${S}`));
|
|
8780
|
-
const T = yield new Td().loadAsync(
|
|
8781
|
-
T.position.copy(k), T.rotation.z = S, T.scale.set(0.8, 0.8, 0.8), kh(T, { transparent: !0, side:
|
|
8780
|
+
const T = yield new Td().loadAsync(I);
|
|
8781
|
+
T.position.copy(k), T.rotation.z = S, T.scale.set(0.8, 0.8, 0.8), kh(T, { transparent: !0, side: E.DoubleSide });
|
|
8782
8782
|
const D = (U = (G = (B = (H = T.children) == null ? void 0 : H[0]) == null ? void 0 : B.children) == null ? void 0 : G[3]) == null ? void 0 : U.clone();
|
|
8783
8783
|
if (!D)
|
|
8784
8784
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${D}`));
|
|
@@ -8794,7 +8794,7 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OE = (i, t) => {
|
|
|
8794
8794
|
const k = P.clipAction(e.object.animations[0]);
|
|
8795
8795
|
k.timeScale = y;
|
|
8796
8796
|
let S;
|
|
8797
|
-
const
|
|
8797
|
+
const I = () => {
|
|
8798
8798
|
let q = 0, Q = 0;
|
|
8799
8799
|
const R = 1e3 / 30, H = (B) => {
|
|
8800
8800
|
q = requestAnimationFrame(H);
|
|
@@ -8805,7 +8805,7 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OE = (i, t) => {
|
|
|
8805
8805
|
cancelAnimationFrame(q);
|
|
8806
8806
|
};
|
|
8807
8807
|
}, F = { play: () => {
|
|
8808
|
-
S || (k.play(), S =
|
|
8808
|
+
S || (k.play(), S = I(), requestAnimationFrame(() => {
|
|
8809
8809
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
8810
8810
|
}));
|
|
8811
8811
|
}, stop: () => {
|
|
@@ -8859,7 +8859,7 @@ const Yr = (i, t, e) => {
|
|
|
8859
8859
|
const n = Math.PI, o = n * 2;
|
|
8860
8860
|
let s = Sl(i), r = Sl(t);
|
|
8861
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
|
+
}, BI = (i) => {
|
|
8863
8863
|
const t = {}, e = (l, c, ...d) => X(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) => {
|
|
8865
8865
|
const m = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
|
|
@@ -9067,7 +9067,7 @@ const Ng = `<style type="text/css">
|
|
|
9067
9067
|
a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
|
|
9068
9068
|
}
|
|
9069
9069
|
return e;
|
|
9070
|
-
},
|
|
9070
|
+
}, RI = (i, t) => {
|
|
9071
9071
|
const e = {
|
|
9072
9072
|
enable: !1,
|
|
9073
9073
|
loaded: !1,
|
|
@@ -9098,7 +9098,7 @@ const Ng = `<style type="text/css">
|
|
|
9098
9098
|
if (!y)
|
|
9099
9099
|
return !1;
|
|
9100
9100
|
for (const P in A) {
|
|
9101
|
-
const k = A[P], { standingPosition: S } = y.observers[0],
|
|
9101
|
+
const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x: T, z: D, observers: F }) => {
|
|
9102
9102
|
const q = F.length > 0 ? g.rooms[g.observers[F[0]]].name : "", Q = b[q] ? b[q].floor : null;
|
|
9103
9103
|
let R = 1 / 0, H = {
|
|
9104
9104
|
index: 0,
|
|
@@ -9123,19 +9123,19 @@ const Ng = `<style type="text/css">
|
|
|
9123
9123
|
return U && Object.assign(U, { observers: F }), { origin: B, vertical: U };
|
|
9124
9124
|
});
|
|
9125
9125
|
r[P] = {
|
|
9126
|
-
origins:
|
|
9126
|
+
origins: I.map((T) => T.origin),
|
|
9127
9127
|
rules: []
|
|
9128
9128
|
};
|
|
9129
|
-
for (const { origin: T, vertical: D } of
|
|
9129
|
+
for (const { origin: T, vertical: D } of I) {
|
|
9130
9130
|
if (!D)
|
|
9131
9131
|
continue;
|
|
9132
9132
|
const F = n(P, T.distanceTo(D));
|
|
9133
9133
|
o.append(F), r[P].rules.push({ vertical: !0, rule: [T, D], $element: F });
|
|
9134
9134
|
}
|
|
9135
|
-
for (let T = 0; T <
|
|
9135
|
+
for (let T = 0; T < I.length; T++) {
|
|
9136
9136
|
let D = T + 1;
|
|
9137
|
-
D >=
|
|
9138
|
-
const { origin: F } =
|
|
9137
|
+
D >= I.length && (D = 0);
|
|
9138
|
+
const { origin: F } = I[T], { origin: q } = I[D], Q = n(P, F.distanceTo(q));
|
|
9139
9139
|
o.append(Q), r[P].rules.push({ vertical: !1, rule: [F, q], $element: Q });
|
|
9140
9140
|
}
|
|
9141
9141
|
}
|
|
@@ -9169,8 +9169,8 @@ const Ng = `<style type="text/css">
|
|
|
9169
9169
|
]
|
|
9170
9170
|
], k = [];
|
|
9171
9171
|
for (let S = 0; S < P.length; S++) {
|
|
9172
|
-
const
|
|
9173
|
-
|
|
9172
|
+
const I = Dh([g, A], [P[S][0], P[S][1]], !0);
|
|
9173
|
+
I && k.push(I);
|
|
9174
9174
|
}
|
|
9175
9175
|
return k.length === 0 ? !1 : k;
|
|
9176
9176
|
}, d = () => {
|
|
@@ -9190,7 +9190,7 @@ const Ng = `<style type="text/css">
|
|
|
9190
9190
|
Q.style.display = "none";
|
|
9191
9191
|
return;
|
|
9192
9192
|
}
|
|
9193
|
-
const k = b.position, S = b.getWorldDirection(new $()),
|
|
9193
|
+
const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth, T = g.clientHeight;
|
|
9194
9194
|
if (y !== nt.Mode.Panorama) {
|
|
9195
9195
|
for (const q in r)
|
|
9196
9196
|
for (const { $element: Q } of r[q].rules)
|
|
@@ -9237,12 +9237,12 @@ const Ng = `<style type="text/css">
|
|
|
9237
9237
|
R.style.display = "none";
|
|
9238
9238
|
continue;
|
|
9239
9239
|
}
|
|
9240
|
-
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 *
|
|
9240
|
+
const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * T, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
|
|
9241
9241
|
let be = ue, Se = 50;
|
|
9242
9242
|
const me = c({ x: ~~we, y: ~~ge }, {
|
|
9243
9243
|
x: ~~ve,
|
|
9244
9244
|
y: ~~He
|
|
9245
|
-
},
|
|
9245
|
+
}, I, T);
|
|
9246
9246
|
if (me && me.length === 1 && (D === H ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Se = be / ue * 50) : D === B && (be = Math.sqrt(Math.pow(me[0].x - ve, 2) + Math.pow(me[0].y - He, 2)), Se = 100 - be / ue * 50)), me && me.length === 2) {
|
|
9247
9247
|
const oe = {
|
|
9248
9248
|
x: (me[0].x + me[1].x) / 2,
|
|
@@ -9264,8 +9264,8 @@ const Ng = `<style type="text/css">
|
|
|
9264
9264
|
const A = g.distanceText;
|
|
9265
9265
|
e.options.distanceText = A, Object.values(r).forEach((b) => {
|
|
9266
9266
|
b.rules.forEach((y) => {
|
|
9267
|
-
const [P, k] = y.rule, S = P.distanceTo(k),
|
|
9268
|
-
|
|
9267
|
+
const [P, k] = y.rule, S = P.distanceTo(k), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
|
|
9268
|
+
I && (I.innerText = A(S));
|
|
9269
9269
|
});
|
|
9270
9270
|
});
|
|
9271
9271
|
}
|
|
@@ -9580,23 +9580,23 @@ function ev(i, t, e) {
|
|
|
9580
9580
|
[{ x: 0, y: 0 }, { x: 0, y: l }],
|
|
9581
9581
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
9582
9582
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
9583
|
-
],
|
|
9583
|
+
], I = [];
|
|
9584
9584
|
for (let T = 0; T < S.length; T++) {
|
|
9585
9585
|
const D = Dh([P, k], [S[T][0], S[T][1]], !0);
|
|
9586
|
-
D &&
|
|
9586
|
+
D && I.push(D);
|
|
9587
9587
|
}
|
|
9588
|
-
return
|
|
9588
|
+
return I.length === 0 ? !1 : I;
|
|
9589
9589
|
}, d = (P, k) => {
|
|
9590
|
-
const S = P.clone().project(n.camera),
|
|
9590
|
+
const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a, T = (-S.y + 1) / 2 * l, D = k.clone().project(n.camera), F = (D.x + 1) / 2 * a, q = (-D.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - I, 2) + Math.pow(q - T, 2));
|
|
9591
9591
|
return {
|
|
9592
|
-
startLeft:
|
|
9592
|
+
startLeft: I,
|
|
9593
9593
|
startTop: T,
|
|
9594
9594
|
endLeft: F,
|
|
9595
9595
|
endTop: q,
|
|
9596
9596
|
distance: Q
|
|
9597
9597
|
};
|
|
9598
9598
|
}, h = (P, k, S) => {
|
|
9599
|
-
const
|
|
9599
|
+
const I = n.camera.position, T = n.camera.getWorldDirection(new $()), D = P.clone().sub(I).normalize().angleTo(T), F = k.clone().sub(I).normalize().angleTo(T), q = P.distanceTo(k), R = k.clone().sub(k.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(P, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
|
|
9600
9600
|
let ie = !0;
|
|
9601
9601
|
S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1), D > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
|
|
9602
9602
|
let Ae = 50, we = Y;
|
|
@@ -9623,8 +9623,8 @@ function ev(i, t, e) {
|
|
|
9623
9623
|
return e(0, r = []);
|
|
9624
9624
|
if (n.currentMode !== nt.Mode.Panorama)
|
|
9625
9625
|
return e(0, r = []);
|
|
9626
|
-
const S = n.camera.position,
|
|
9627
|
-
const H = Q.clone().setY(0).sub(S).normalize().angleTo(
|
|
9626
|
+
const S = n.camera.position, I = n.camera.getWorldDirection(new $()), T = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), D = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = T.concat(D).sort((Q, R) => {
|
|
9627
|
+
const H = Q.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0)), B = R.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0));
|
|
9628
9628
|
return H - B;
|
|
9629
9629
|
}), q = k.lines.map((Q) => {
|
|
9630
9630
|
var we, ge;
|
|
@@ -9720,7 +9720,7 @@ let nv = class {
|
|
|
9720
9720
|
this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
|
|
9721
9721
|
}
|
|
9722
9722
|
};
|
|
9723
|
-
const
|
|
9723
|
+
const HI = (i, t) => new nv(i, t), iv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZHmMc4c+EchCe5/9llqfAYEQyRlAzy27QCAeSRfdlEq2gECIpIVeSB1aRAAiudVixVKnINAaAiGS1nok9WkFAUJb8Upa6Y3Uo2kEQiRNd08qd0YEQiJnBD+37guBEElf/ZXang6BEMnpsM6dOkcgRNJ5B66x+nrjLmsTX1J6bSJHZ7+o9HklynWaOse1eKcc+XVlvxYFEnlfaThWfb7mcsn5nPRM6WmVU55KfO+J0mdKj8f5rVu3skNMoET6RSBE0m/fdVNzGWII4StKXy65y18t58aEAVGcUjDkGHsLhIOYfCC1xUT4QDJjgnmkc58qkT8saSiLeCCkSBBoBoEQSTNd0V9FZADRH8iAGfvXS06Zc5CFCePQt0y3EFaq61CX1ayjC56U8br24sKd+kAuJhkI55OSPi75pyIcvKNIEFgcgRDJ4hD3ewMZLDwDXqfOq9RNFCYOCAMPYx851BDjIXiWzky9Tpyvw0kOL/nc+Jh7DyGqko+P+cznVLwMf31Uypz7jZLJ0GEy8jqURnl8zPjyObDEsxknztsDUnFvMfF8e+4X6j88F4hlTDT3de6BiAYsI0HgxgiESG4MYd8XkLEhr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IdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
|
|
9724
9724
|
function ov() {
|
|
9725
9725
|
const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
|
|
9726
9726
|
return i.appendChild(t), i.appendChild(e), i.style.position = "relative", i.style.width = "100%", i.style.display = "flex", i.style.flexDirection = "column", i.style.alignItems = "center", i.style.marginTop = `${150 / 16}rem`, i.style.opacity = "0", i.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${iv})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
|
|
@@ -9741,12 +9741,12 @@ function ov() {
|
|
|
9741
9741
|
}
|
|
9742
9742
|
};
|
|
9743
9743
|
}
|
|
9744
|
-
const sv = new
|
|
9744
|
+
const sv = new E.TextureLoader();
|
|
9745
9745
|
function to(i) {
|
|
9746
9746
|
return X(this, null, function* () {
|
|
9747
9747
|
return new Promise((t, e) => {
|
|
9748
9748
|
sv.load(i, t, void 0, e);
|
|
9749
|
-
}).then((t) => (t.encoding =
|
|
9749
|
+
}).then((t) => (t.encoding = E.sRGBEncoding, t));
|
|
9750
9750
|
});
|
|
9751
9751
|
}
|
|
9752
9752
|
const zo = { userAction: !0 };
|
|
@@ -9768,7 +9768,7 @@ class rv extends Sn {
|
|
|
9768
9768
|
}
|
|
9769
9769
|
});
|
|
9770
9770
|
f(this, "data");
|
|
9771
|
-
f(this, "group", new
|
|
9771
|
+
f(this, "group", new E.Group());
|
|
9772
9772
|
f(this, "roomInfoInstance");
|
|
9773
9773
|
f(this, "roomInfoWrapperInstance");
|
|
9774
9774
|
f(this, "compassMeshTween");
|
|
@@ -9831,12 +9831,12 @@ class rv extends Sn {
|
|
|
9831
9831
|
var u;
|
|
9832
9832
|
(u = this.compassMesh) == null || u.material.setValues({ opacity: h }), this.five.needsRender = !0;
|
|
9833
9833
|
}).play())), this.entryDoorMesh) {
|
|
9834
|
-
const u = new
|
|
9834
|
+
const u = new E.Vector3(
|
|
9835
9835
|
this.data.entrance.position.x,
|
|
9836
9836
|
this.data.entrance.position.y,
|
|
9837
9837
|
this.data.entrance.position.z
|
|
9838
9838
|
).clone().setY(n.y).sub(n).normalize(), m = n.clone().add(u.clone().multiplyScalar(0.7)).setY(n.y + 0.01);
|
|
9839
|
-
this.entryDoorMesh.rotation.z = new
|
|
9839
|
+
this.entryDoorMesh.rotation.z = new E.Vector3(0, 0, -1).angleTo(u), this.entryDoorMesh.position.copy(m), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 0 });
|
|
9840
9840
|
}
|
|
9841
9841
|
this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(n.clone().setY(n.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
|
|
9842
9842
|
});
|
|
@@ -9950,37 +9950,37 @@ class rv extends Sn {
|
|
|
9950
9950
|
}
|
|
9951
9951
|
loadCompassMesh() {
|
|
9952
9952
|
return X(this, null, function* () {
|
|
9953
|
-
const e = this.state.config.compassImageUrl, n = yield to(e), o = new
|
|
9953
|
+
const e = this.state.config.compassImageUrl, n = yield to(e), o = new E.CircleGeometry(0.7, 32), s = new E.MeshBasicMaterial({
|
|
9954
9954
|
map: n,
|
|
9955
9955
|
transparent: !0,
|
|
9956
9956
|
opacity: 0,
|
|
9957
9957
|
depthTest: !1
|
|
9958
|
-
}), r = new
|
|
9958
|
+
}), r = new E.Mesh(o, s);
|
|
9959
9959
|
return r.name = "pano-compass-mesh", r;
|
|
9960
9960
|
});
|
|
9961
9961
|
}
|
|
9962
9962
|
loadEntryDoorMesh() {
|
|
9963
9963
|
return X(this, null, function* () {
|
|
9964
|
-
const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new
|
|
9964
|
+
const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new E.PlaneGeometry(0.2, 0.16), s = new E.MeshBasicMaterial({
|
|
9965
9965
|
map: n,
|
|
9966
9966
|
transparent: !0,
|
|
9967
9967
|
opacity: 0.8,
|
|
9968
9968
|
depthTest: !1
|
|
9969
|
-
}), r = new
|
|
9969
|
+
}), r = new E.Mesh(o, s);
|
|
9970
9970
|
return r.name = "pano-compass-entry-door", r;
|
|
9971
9971
|
});
|
|
9972
9972
|
}
|
|
9973
9973
|
loadRoomInfo() {
|
|
9974
9974
|
const e = [
|
|
9975
|
-
new
|
|
9976
|
-
new
|
|
9977
|
-
new
|
|
9978
|
-
new
|
|
9975
|
+
new E.Vector3(-0.7, 0, -0.7),
|
|
9976
|
+
new E.Vector3(0.7, 0, -0.7),
|
|
9977
|
+
new E.Vector3(0.7, 0, 0.7),
|
|
9978
|
+
new E.Vector3(-0.7, 0, 0.7)
|
|
9979
9979
|
];
|
|
9980
9980
|
return us(this.five).create3DDomContainer(e);
|
|
9981
9981
|
}
|
|
9982
9982
|
}
|
|
9983
|
-
const
|
|
9983
|
+
const GI = (i, t) => new rv(i, t);
|
|
9984
9984
|
function jo(i, t, e) {
|
|
9985
9985
|
const n = i[t], o = i[e];
|
|
9986
9986
|
n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
|
|
@@ -10007,7 +10007,7 @@ class lv {
|
|
|
10007
10007
|
f(this, "config");
|
|
10008
10008
|
f(this, "offset", { x: 0, y: 0 });
|
|
10009
10009
|
f(this, "context");
|
|
10010
|
-
f(this, "renderCenter", new
|
|
10010
|
+
f(this, "renderCenter", new E.Vector3());
|
|
10011
10011
|
f(this, "hammer");
|
|
10012
10012
|
f(this, "state", { enabled: !1 });
|
|
10013
10013
|
f(this, "offsetRange");
|
|
@@ -10090,7 +10090,7 @@ class lv {
|
|
|
10090
10090
|
if (!this.containerDom)
|
|
10091
10091
|
return;
|
|
10092
10092
|
const { width: t, height: e } = this, [n, o, s] = (() => {
|
|
10093
|
-
if (this.renderCenter instanceof
|
|
10093
|
+
if (this.renderCenter instanceof E.Vector3) {
|
|
10094
10094
|
const r = this.renderCenter.clone().project(this.five.camera);
|
|
10095
10095
|
return [
|
|
10096
10096
|
(r.x + 1) / 2 * this.containerDom.clientWidth,
|
|
@@ -10105,8 +10105,8 @@ class lv {
|
|
|
10105
10105
|
render() {
|
|
10106
10106
|
if (!this.five.renderer || !this.containerDom)
|
|
10107
10107
|
return;
|
|
10108
|
-
const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new
|
|
10109
|
-
if (this.renderCenter instanceof
|
|
10108
|
+
const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new E.Vector2()), [r, a] = (() => {
|
|
10109
|
+
if (this.renderCenter instanceof E.Vector3) {
|
|
10110
10110
|
const A = this.renderCenter.clone().project(this.five.camera);
|
|
10111
10111
|
return [(A.x + 1) / 2 * s.x, (A.y + 1) / 2 * s.y];
|
|
10112
10112
|
} else
|
|
@@ -10199,7 +10199,7 @@ function Pv(i) {
|
|
|
10199
10199
|
const t = document.createElement("div");
|
|
10200
10200
|
return t.id = "distance_" + i.id, t.classList.add("five-plugin-measure__distance"), t.style.opacity = "0", t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transform = "translate3d(0, 0, 0)", t.style.transformOrigin = "left top", t;
|
|
10201
10201
|
}
|
|
10202
|
-
function
|
|
10202
|
+
function Iv(i) {
|
|
10203
10203
|
let t = !0;
|
|
10204
10204
|
const { line: e } = i, n = e.id, o = Cv(), s = Pv(e), r = i.userDistanceItem, a = new $(0, 0, 0), l = {
|
|
10205
10205
|
lineID: n,
|
|
@@ -10235,10 +10235,10 @@ function Ev(i) {
|
|
|
10235
10235
|
const y = b.getElement();
|
|
10236
10236
|
if (!y)
|
|
10237
10237
|
return;
|
|
10238
|
-
const P = y.clientWidth, k = y.clientHeight, S = P / 2,
|
|
10238
|
+
const P = y.clientWidth, k = y.clientHeight, S = P / 2, I = k / 2;
|
|
10239
10239
|
if (e.points.length < 2)
|
|
10240
10240
|
return;
|
|
10241
|
-
const [T, D] = e.points, F = T.position.clone().project(b.camera), q = D.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * S, F.y *
|
|
10241
|
+
const [T, D] = e.points, F = T.position.clone().project(b.camera), q = D.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * S, F.y * I), H = new bt(q.x * S, q.y * I), B = R.distanceTo(H);
|
|
10242
10242
|
if ((() => !(Math.abs(F.z) > 1 || Math.abs(q.z) > 1 || !yr(F) && !yr(q) || !yr(Q) || B === 0))() === !1) {
|
|
10243
10243
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
10244
10244
|
return;
|
|
@@ -10258,8 +10258,8 @@ function Ev(i) {
|
|
|
10258
10258
|
var T, D, F;
|
|
10259
10259
|
if (e.points.length < 2)
|
|
10260
10260
|
return "";
|
|
10261
|
-
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (T = i.line.text) != null ? T : i.line.model.config.defaultText, S = (F = (D = i.line.model.config) == null ? void 0 : D.getDistanceText) == null ? void 0 : F.call(D, P),
|
|
10262
|
-
return
|
|
10261
|
+
const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (T = i.line.text) != null ? T : i.line.model.config.defaultText, S = (F = (D = i.line.model.config) == null ? void 0 : D.getDistanceText) == null ? void 0 : F.call(D, P), I = k != null ? k : S;
|
|
10262
|
+
return I != null ? I : P.toFixed(2) + "m";
|
|
10263
10263
|
}
|
|
10264
10264
|
function A(b) {
|
|
10265
10265
|
t = b;
|
|
@@ -10282,7 +10282,7 @@ class bi {
|
|
|
10282
10282
|
var o;
|
|
10283
10283
|
if (this.id = dt(), this.model = n, t.id === e.id)
|
|
10284
10284
|
throw new Error("无效的线段, 一个点无法构成线段");
|
|
10285
|
-
typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem =
|
|
10285
|
+
typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem = Iv({
|
|
10286
10286
|
line: this,
|
|
10287
10287
|
clickCallback: () => this.hook.emit("selected", this),
|
|
10288
10288
|
userDistanceItem: (o = this.model.config) != null && o.userDistanceItemCreator ? this.model.config.userDistanceItemCreator() : void 0
|
|
@@ -10315,7 +10315,7 @@ class bi {
|
|
|
10315
10315
|
return t.text = this.text, t;
|
|
10316
10316
|
}
|
|
10317
10317
|
}
|
|
10318
|
-
function
|
|
10318
|
+
function Ev(i, t) {
|
|
10319
10319
|
for (let e = 0, n = t.length; e < n; e++)
|
|
10320
10320
|
if (i === t[e])
|
|
10321
10321
|
return t.splice(e, 1)[0];
|
|
@@ -10335,7 +10335,7 @@ class Bt {
|
|
|
10335
10335
|
this.lines.push(t);
|
|
10336
10336
|
}
|
|
10337
10337
|
removeLine(t) {
|
|
10338
|
-
|
|
10338
|
+
Ev(t, this.lines);
|
|
10339
10339
|
}
|
|
10340
10340
|
clone() {
|
|
10341
10341
|
return new Bt(this.position);
|
|
@@ -10938,7 +10938,7 @@ class Ql extends bs {
|
|
|
10938
10938
|
}
|
|
10939
10939
|
function Lv() {
|
|
10940
10940
|
}
|
|
10941
|
-
const { Vector2: Tv } =
|
|
10941
|
+
const { Vector2: Tv } = E;
|
|
10942
10942
|
function zv(i, t) {
|
|
10943
10943
|
const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
|
|
10944
10944
|
return Object.assign(new Tv(), {
|
|
@@ -11907,7 +11907,7 @@ class t0 {
|
|
|
11907
11907
|
};
|
|
11908
11908
|
}
|
|
11909
11909
|
}
|
|
11910
|
-
const
|
|
11910
|
+
const FI = function(t, e) {
|
|
11911
11911
|
return new t0(t, e);
|
|
11912
11912
|
}, Bh = ga(null);
|
|
11913
11913
|
function n0(i) {
|
|
@@ -11982,7 +11982,7 @@ function i0(i) {
|
|
|
11982
11982
|
c() {
|
|
11983
11983
|
for (let o = 0; o < n.length; o += 1)
|
|
11984
11984
|
n[o].c();
|
|
11985
|
-
t =
|
|
11985
|
+
t = Ie();
|
|
11986
11986
|
},
|
|
11987
11987
|
m(o, s) {
|
|
11988
11988
|
for (let r = 0; r < n.length; r += 1)
|
|
@@ -12131,9 +12131,9 @@ function l0(i, t, e) {
|
|
|
12131
12131
|
},
|
|
12132
12132
|
100
|
|
12133
12133
|
);
|
|
12134
|
-
const P = (
|
|
12134
|
+
const P = (I) => {
|
|
12135
12135
|
const T = Object.keys(u);
|
|
12136
|
-
let D =
|
|
12136
|
+
let D = I.target;
|
|
12137
12137
|
for (; D; ) {
|
|
12138
12138
|
const F = D.getAttribute("class");
|
|
12139
12139
|
if (!F) {
|
|
@@ -12152,10 +12152,10 @@ function l0(i, t, e) {
|
|
|
12152
12152
|
St(() => {
|
|
12153
12153
|
m.emit("initTag", { id: n });
|
|
12154
12154
|
});
|
|
12155
|
-
const k = Bh.subscribe((
|
|
12156
|
-
if (
|
|
12155
|
+
const k = Bh.subscribe((I) => {
|
|
12156
|
+
if (I === null)
|
|
12157
12157
|
return;
|
|
12158
|
-
const [T, D] =
|
|
12158
|
+
const [T, D] = I.split("-PanoSpatialTagPlugin-");
|
|
12159
12159
|
n === T && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
|
|
12160
12160
|
() => {
|
|
12161
12161
|
y = void 0;
|
|
@@ -12168,13 +12168,13 @@ function l0(i, t, e) {
|
|
|
12168
12168
|
}), un(() => {
|
|
12169
12169
|
m.emit("destroyTag", { id: n }), k(), h();
|
|
12170
12170
|
});
|
|
12171
|
-
function S(
|
|
12172
|
-
Ze[
|
|
12173
|
-
A =
|
|
12171
|
+
function S(I) {
|
|
12172
|
+
Ze[I ? "unshift" : "push"](() => {
|
|
12173
|
+
A = I, e(9, A);
|
|
12174
12174
|
});
|
|
12175
12175
|
}
|
|
12176
|
-
return i.$$set = (
|
|
12177
|
-
"id" in
|
|
12176
|
+
return i.$$set = (I) => {
|
|
12177
|
+
"id" in I && e(0, n = I.id), "upsideDown" in I && e(1, o = I.upsideDown), "content" in I && e(2, s = I.content), "contentZoom" in I && e(3, r = I.contentZoom), "lineWidthZoom" in I && e(4, a = I.lineWidthZoom), "lineHeightZoom" in I && e(5, l = I.lineHeightZoom), "destroying" in I && e(6, c = I.destroying), "folded" in I && e(12, d = I.folded), "dispose" in I && e(13, h = I.dispose), "events" in I && e(14, u = I.events), "hooks" in I && e(15, m = I.hooks);
|
|
12178
12178
|
}, [
|
|
12179
12179
|
n,
|
|
12180
12180
|
o,
|
|
@@ -12361,7 +12361,7 @@ class m0 {
|
|
|
12361
12361
|
}
|
|
12362
12362
|
}
|
|
12363
12363
|
}
|
|
12364
|
-
const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
12364
|
+
const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", YI = (i, t) => {
|
|
12365
12365
|
var re, ie, Ae, we, ge, ze, ve, He;
|
|
12366
12366
|
let e = t == null ? void 0 : t.container, n = 1.4;
|
|
12367
12367
|
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");
|
|
@@ -12383,15 +12383,15 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12383
12383
|
target: u,
|
|
12384
12384
|
props: { origins: g.origins }
|
|
12385
12385
|
}), b = (ue, be) => {
|
|
12386
|
-
S(), be &&
|
|
12386
|
+
S(), be && I();
|
|
12387
12387
|
}, y = () => {
|
|
12388
|
-
g.forbidden && (g.forbidden = !1,
|
|
12388
|
+
g.forbidden && (g.forbidden = !1, I());
|
|
12389
12389
|
}, P = (ue, be) => {
|
|
12390
12390
|
if (g.tags.length === 0)
|
|
12391
12391
|
return;
|
|
12392
12392
|
const Se = be.longitude - i.state.longitude, me = i.camera.clone();
|
|
12393
|
-
me.position.copy(be.offset), me.rotateOnWorldAxis(new
|
|
12394
|
-
const Ye = new
|
|
12393
|
+
me.position.copy(be.offset), me.rotateOnWorldAxis(new E.Vector3(0, 1, 0), Se), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
|
|
12394
|
+
const Ye = new E.Frustum(), at = new E.Matrix4();
|
|
12395
12395
|
at.multiplyMatrices(
|
|
12396
12396
|
me.projectionMatrix,
|
|
12397
12397
|
me.matrixWorldInverse
|
|
@@ -12424,7 +12424,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12424
12424
|
}, S = () => {
|
|
12425
12425
|
if (g.forbidden || !g.enabled)
|
|
12426
12426
|
return;
|
|
12427
|
-
const ue = i.camera, be = ue.getWorldDirection(new
|
|
12427
|
+
const ue = i.camera, be = ue.getWorldDirection(new E.Vector3());
|
|
12428
12428
|
g.origins = g.tags.map((Se) => {
|
|
12429
12429
|
const me = Se.position.clone().project(ue), Ye = Se.position.clone().sub(ue.position).setY(0).angleTo(be.setY(0)) < Math.PI / 2;
|
|
12430
12430
|
return {
|
|
@@ -12435,29 +12435,29 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12435
12435
|
destroying: Se.destroying
|
|
12436
12436
|
};
|
|
12437
12437
|
}), A.$set({ origins: g.origins });
|
|
12438
|
-
},
|
|
12438
|
+
}, I = () => {
|
|
12439
12439
|
g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
|
|
12440
12440
|
g.timeoutId = void 0;
|
|
12441
12441
|
const ue = T();
|
|
12442
12442
|
ue.length && (g.tags = g.tags.concat(ue), S());
|
|
12443
12443
|
}, o));
|
|
12444
12444
|
}, T = () => {
|
|
12445
|
-
const { clientWidth: ue, clientHeight: be } = i.getElement(), Se = [], me = i.camera, Ye = new
|
|
12445
|
+
const { clientWidth: ue, clientHeight: be } = i.getElement(), Se = [], me = i.camera, Ye = new E.Frustum(), at = new E.Matrix4(), ke = me.getWorldDirection(new E.Vector3());
|
|
12446
12446
|
at.multiplyMatrices(
|
|
12447
12447
|
me.projectionMatrix,
|
|
12448
12448
|
me.matrixWorldInverse
|
|
12449
12449
|
), Ye.setFromProjectionMatrix(at);
|
|
12450
12450
|
const Ke = g.tags.filter(
|
|
12451
|
-
(
|
|
12452
|
-
).length, oe = g.points.reduce((
|
|
12451
|
+
(Ee) => Ye.containsPoint(Ee.position) && !Ee.destroying
|
|
12452
|
+
).length, oe = g.points.reduce((Ee, Be) => {
|
|
12453
12453
|
if (g.tags.find((Oe) => Be.id === Oe.id && !Oe.destroying))
|
|
12454
|
-
return
|
|
12454
|
+
return Ee;
|
|
12455
12455
|
const ht = me.position.clone().setY(n).distanceTo(Be.position);
|
|
12456
12456
|
if (ht < c || ht > d || !Ye.containsPoint(Be.position))
|
|
12457
|
-
return
|
|
12457
|
+
return Ee;
|
|
12458
12458
|
const Ht = Be.position.clone().sub(me.position).setY(0);
|
|
12459
12459
|
if (Ht.angleTo(Be.normal) > Math.PI / 2 - r && Ht.angleTo(Be.normal) < Math.PI / 2 + r)
|
|
12460
|
-
return
|
|
12460
|
+
return Ee;
|
|
12461
12461
|
const gt = Be.position.clone().project(me);
|
|
12462
12462
|
if (!g.tags.every((Oe) => {
|
|
12463
12463
|
if (Oe.position.clone().sub(me.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
|
|
@@ -12467,7 +12467,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12467
12467
|
Math.pow((gt.x - Fe.x) / 2 * ue, 2) + Math.pow((gt.y - Fe.y) / 2 * be, 2)
|
|
12468
12468
|
) > a;
|
|
12469
12469
|
}))
|
|
12470
|
-
return
|
|
12470
|
+
return Ee;
|
|
12471
12471
|
const vt = {
|
|
12472
12472
|
id: Be.id,
|
|
12473
12473
|
position: Be.position,
|
|
@@ -12477,21 +12477,21 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12477
12477
|
distance: ht
|
|
12478
12478
|
};
|
|
12479
12479
|
let je;
|
|
12480
|
-
for (let Oe = 0, Fe =
|
|
12481
|
-
const
|
|
12482
|
-
if (vt.weight >
|
|
12480
|
+
for (let Oe = 0, Fe = Ee.length; Oe < Fe; Oe++) {
|
|
12481
|
+
const It = Ee[Oe];
|
|
12482
|
+
if (vt.weight > It.weight) {
|
|
12483
12483
|
je = Oe;
|
|
12484
12484
|
break;
|
|
12485
12485
|
}
|
|
12486
|
-
if (vt.distance <
|
|
12486
|
+
if (vt.distance < It.distance) {
|
|
12487
12487
|
je = Oe;
|
|
12488
12488
|
break;
|
|
12489
12489
|
}
|
|
12490
12490
|
}
|
|
12491
|
-
return je !== void 0 ?
|
|
12491
|
+
return je !== void 0 ? Ee.splice(je, 0, vt) : Ee.push(vt), Ee;
|
|
12492
12492
|
}, []);
|
|
12493
|
-
for (let
|
|
12494
|
-
const ht = oe[
|
|
12493
|
+
for (let Ee = 0, Be = oe.length; Ee < Be && !(Ke + Se.length >= s); Ee++) {
|
|
12494
|
+
const ht = oe[Ee];
|
|
12495
12495
|
if (Se.find((je) => ht.id === je.id))
|
|
12496
12496
|
continue;
|
|
12497
12497
|
const Ht = ht.position.clone().project(me);
|
|
@@ -12504,23 +12504,23 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12504
12504
|
) > a;
|
|
12505
12505
|
}))
|
|
12506
12506
|
continue;
|
|
12507
|
-
const gt = new
|
|
12507
|
+
const gt = new E.Raycaster(
|
|
12508
12508
|
me.position.clone().setY(n),
|
|
12509
12509
|
ht.position.clone().sub(me.position.clone().setY(n)).normalize(),
|
|
12510
12510
|
0,
|
|
12511
12511
|
ht.distance + ql
|
|
12512
12512
|
), [vt] = g.intersectObjects ? gt.intersectObjects(g.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(gt) : gt.intersectObjects(i.model.children, !0);
|
|
12513
12513
|
if (vt && ht.distance - vt.distance < ql) {
|
|
12514
|
-
const { position: je, normal: Oe, id: Fe, replacement:
|
|
12514
|
+
const { position: je, normal: Oe, id: Fe, replacement: It } = ht, wi = new E.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(Cr), Zt = [
|
|
12515
12515
|
je.clone(),
|
|
12516
12516
|
je.clone().add(Tt),
|
|
12517
|
-
je.clone().add(new
|
|
12518
|
-
je.clone().add(new
|
|
12519
|
-
].map((zn) => wi.projectPoint(zn, new
|
|
12517
|
+
je.clone().add(new E.Vector3(0, Cr, 0)).add(Tt),
|
|
12518
|
+
je.clone().add(new E.Vector3(0, Cr, 0))
|
|
12519
|
+
].map((zn) => wi.projectPoint(zn, new E.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new c0({
|
|
12520
12520
|
target: mn,
|
|
12521
12521
|
props: {
|
|
12522
12522
|
id: Fe,
|
|
12523
|
-
content: g.render(g.template,
|
|
12523
|
+
content: g.render(g.template, It),
|
|
12524
12524
|
lineWidthZoom: 0.38 * (0.01 + me.position.distanceTo(je) / d),
|
|
12525
12525
|
lineHeightZoom: 0.4 + (me.position.distanceTo(je) - c) / d * 0.6,
|
|
12526
12526
|
contentZoom: 0.1 + me.position.distanceTo(je) / d,
|
|
@@ -12545,16 +12545,16 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12545
12545
|
var Se, me;
|
|
12546
12546
|
return {
|
|
12547
12547
|
id: be.id,
|
|
12548
|
-
position: new
|
|
12549
|
-
normal: new
|
|
12548
|
+
position: new E.Vector3().fromArray(be.position),
|
|
12549
|
+
normal: new E.Vector3().fromArray(be.normal),
|
|
12550
12550
|
replacement: (Se = be.replacement) != null ? Se : {},
|
|
12551
12551
|
weight: (me = be.weight) != null ? me : -1
|
|
12552
12552
|
};
|
|
12553
12553
|
}), ue.render && (g.render = ue.render), ue.template && (g.template = ue.template), ue.events && (g.events = ue.events), ue.enabled === !1 && (g.enabled = ue.enabled), ue.folded === !0 && (g.folded = ue.folded);
|
|
12554
12554
|
}, F = (ue) => {
|
|
12555
|
-
g.intersectObjects = ue,
|
|
12555
|
+
g.intersectObjects = ue, I();
|
|
12556
12556
|
}, q = () => {
|
|
12557
|
-
g.enabled = !0,
|
|
12557
|
+
g.enabled = !0, I();
|
|
12558
12558
|
}, Q = () => {
|
|
12559
12559
|
g.enabled = !1, A.$set({ origins: [] }), g.tags.forEach((ue) => {
|
|
12560
12560
|
ue.app.$destroy(), ue = null;
|
|
@@ -12578,7 +12578,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12578
12578
|
}, U = () => {
|
|
12579
12579
|
i.once("renderFrame", S);
|
|
12580
12580
|
}, Y = () => {
|
|
12581
|
-
e || (e = i.getElement().parentElement), e && e.appendChild(u), g.forbidden = !1, n = i.model.bounding.getCenter(new
|
|
12581
|
+
e || (e = i.getElement().parentElement), e && e.appendChild(u), g.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, I(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
|
|
12582
12582
|
}, J = () => {
|
|
12583
12583
|
v = null, h.disposeAll(), A.$destroy(), g.tags.forEach((ue) => {
|
|
12584
12584
|
ue.app.$destroy(), ue = null;
|
|
@@ -12762,7 +12762,7 @@ function Zl(i, t) {
|
|
|
12762
12762
|
key: i,
|
|
12763
12763
|
first: null,
|
|
12764
12764
|
c() {
|
|
12765
|
-
e =
|
|
12765
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
12766
12766
|
},
|
|
12767
12767
|
m(s, r) {
|
|
12768
12768
|
V(s, e, r), ee(n, s, r), o = !0;
|
|
@@ -12857,8 +12857,8 @@ function C0(i) {
|
|
|
12857
12857
|
};
|
|
12858
12858
|
}
|
|
12859
12859
|
let Kl = 26, P0 = 11;
|
|
12860
|
-
function
|
|
12861
|
-
const { Raycaster: n, Vector3: o } =
|
|
12860
|
+
function I0(i, t, e) {
|
|
12861
|
+
const { Raycaster: n, Vector3: o } = E;
|
|
12862
12862
|
let { five: s } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, d = null, h = null, u, m, v = [], g = !0;
|
|
12863
12863
|
const A = (H, B) => {
|
|
12864
12864
|
const G = new n(), U = H.camera.position.clone(), Y = new o().fromArray(B.modelPosition), J = Y.distanceTo(U);
|
|
@@ -12901,7 +12901,7 @@ function E0(i, t, e) {
|
|
|
12901
12901
|
const J = U.findIndex((re) => re.itemLabelItem.id === Y.id);
|
|
12902
12902
|
return J !== void 0 ? ye(W({}, Y), { zIndex: J * 10 }) : Y;
|
|
12903
12903
|
});
|
|
12904
|
-
},
|
|
12904
|
+
}, I = () => {
|
|
12905
12905
|
v = [], e(1, h = S(s, h));
|
|
12906
12906
|
};
|
|
12907
12907
|
oh(() => {
|
|
@@ -12911,19 +12911,19 @@ function E0(i, t, e) {
|
|
|
12911
12911
|
e(4, g = !1), D();
|
|
12912
12912
|
};
|
|
12913
12913
|
St(() => {
|
|
12914
|
-
e(1, h = a), d = a,
|
|
12914
|
+
e(1, h = a), d = a, I(), F(), s.on("cameraUpdate", T);
|
|
12915
12915
|
});
|
|
12916
12916
|
const D = Rh(
|
|
12917
12917
|
() => {
|
|
12918
|
-
e(4, g = !0),
|
|
12918
|
+
e(4, g = !0), I();
|
|
12919
12919
|
},
|
|
12920
12920
|
300
|
|
12921
12921
|
), F = () => {
|
|
12922
12922
|
window.addEventListener("resize", Q, !1);
|
|
12923
12923
|
}, q = () => {
|
|
12924
|
-
d !== a && (e(1, h = a), d = a,
|
|
12924
|
+
d !== a && (e(1, h = a), d = a, I());
|
|
12925
12925
|
}, Q = () => {
|
|
12926
|
-
s.once("renderFrame",
|
|
12926
|
+
s.once("renderFrame", I);
|
|
12927
12927
|
};
|
|
12928
12928
|
un(() => {
|
|
12929
12929
|
s.off("cameraUpdate", T), window.removeEventListener("resize", Q, !1);
|
|
@@ -12946,12 +12946,12 @@ function E0(i, t, e) {
|
|
|
12946
12946
|
R
|
|
12947
12947
|
];
|
|
12948
12948
|
}
|
|
12949
|
-
let
|
|
12949
|
+
let E0 = class extends ce {
|
|
12950
12950
|
constructor(t) {
|
|
12951
12951
|
super(), le(
|
|
12952
12952
|
this,
|
|
12953
12953
|
t,
|
|
12954
|
-
|
|
12954
|
+
I0,
|
|
12955
12955
|
C0,
|
|
12956
12956
|
ae,
|
|
12957
12957
|
{
|
|
@@ -12970,7 +12970,7 @@ function k0(i) {
|
|
|
12970
12970
|
modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
|
|
12971
12971
|
}, t));
|
|
12972
12972
|
}
|
|
12973
|
-
const
|
|
12973
|
+
const JI = (i, t) => {
|
|
12974
12974
|
var u, m;
|
|
12975
12975
|
const e = {
|
|
12976
12976
|
container: document.createElement("div"),
|
|
@@ -13006,7 +13006,7 @@ const JE = (i, t) => {
|
|
|
13006
13006
|
e.app ? e.app.$set({
|
|
13007
13007
|
five: i,
|
|
13008
13008
|
itemLabels: e.itemLabels
|
|
13009
|
-
}) : e.app = new
|
|
13009
|
+
}) : e.app = new E0({
|
|
13010
13010
|
target: e.container,
|
|
13011
13011
|
props: {
|
|
13012
13012
|
five: i,
|
|
@@ -13040,7 +13040,7 @@ const JE = (i, t) => {
|
|
|
13040
13040
|
dispose: a,
|
|
13041
13041
|
hooks: e.hooks
|
|
13042
13042
|
};
|
|
13043
|
-
},
|
|
13043
|
+
}, ZI = {
|
|
13044
13044
|
name: "ModelItemLabelPlugin",
|
|
13045
13045
|
version: 0
|
|
13046
13046
|
};
|
|
@@ -13061,7 +13061,7 @@ function x0(i) {
|
|
|
13061
13061
|
t.push(n);
|
|
13062
13062
|
}), t;
|
|
13063
13063
|
}
|
|
13064
|
-
const
|
|
13064
|
+
const KI = (i, { videoElement: t }) => {
|
|
13065
13065
|
const e = {
|
|
13066
13066
|
videoMeshes: [],
|
|
13067
13067
|
videoTextureEnabled: !1,
|
|
@@ -13101,7 +13101,7 @@ const KE = (i, { videoElement: t }) => {
|
|
|
13101
13101
|
b.geometry.dispose(), b.material.dispose(), i.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
|
|
13102
13102
|
}), e.videoMeshes = [], i.needsRender = !0);
|
|
13103
13103
|
}, c = () => e.rectPoints.map((b, y) => {
|
|
13104
|
-
const P = new
|
|
13104
|
+
const P = new E.BufferGeometry(), k = 128, S = [];
|
|
13105
13105
|
S.push(...b[0].toArray());
|
|
13106
13106
|
for (let R = 1; R < k; R++)
|
|
13107
13107
|
S.push(
|
|
@@ -13117,22 +13117,22 @@ const KE = (i, { videoElement: t }) => {
|
|
|
13117
13117
|
b[2].z + (b[3].z - b[2].z) * R / k
|
|
13118
13118
|
);
|
|
13119
13119
|
S.push(...b[3].toArray());
|
|
13120
|
-
const
|
|
13121
|
-
|
|
13120
|
+
const I = [];
|
|
13121
|
+
I.push(0, 1);
|
|
13122
13122
|
for (let R = 1; R < k; R++)
|
|
13123
|
-
|
|
13124
|
-
|
|
13123
|
+
I.push(0, 1 - R / k);
|
|
13124
|
+
I.push(0, 0), I.push(1, 0);
|
|
13125
13125
|
for (let R = 1; R < k; R++)
|
|
13126
|
-
|
|
13127
|
-
|
|
13126
|
+
I.push(1, R / k);
|
|
13127
|
+
I.push(1, 1);
|
|
13128
13128
|
const T = [];
|
|
13129
13129
|
for (let R = 0; R < k; R++)
|
|
13130
13130
|
T.push(R, R + 1, k * 2 - R, R, k * 2 - R, k * 2 + 1 - R);
|
|
13131
|
-
P.setAttribute("position", new
|
|
13132
|
-
const D = new
|
|
13131
|
+
P.setAttribute("position", new E.BufferAttribute(new Float32Array(S), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(T), 1));
|
|
13132
|
+
const D = new E.MeshBasicMaterial({
|
|
13133
13133
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
13134
|
-
side:
|
|
13135
|
-
}), F = new
|
|
13134
|
+
side: E.DoubleSide
|
|
13135
|
+
}), F = new E.Mesh(P, D);
|
|
13136
13136
|
F.renderOrder = 1, F.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
|
|
13137
13137
|
const q = [b[1], b[2], b[3], b[0]], Q = n.create3DDomContainer(q);
|
|
13138
13138
|
if (Q != null && Q.container) {
|
|
@@ -13145,26 +13145,26 @@ const KE = (i, { videoElement: t }) => {
|
|
|
13145
13145
|
}
|
|
13146
13146
|
return F;
|
|
13147
13147
|
}), d = (b) => {
|
|
13148
|
-
const y = new
|
|
13149
|
-
return y.minFilter =
|
|
13148
|
+
const y = new E.TextureLoader().load(b);
|
|
13149
|
+
return y.minFilter = E.LinearFilter, y.magFilter = E.LinearFilter, y.format = E.RGBFormat, y;
|
|
13150
13150
|
}, h = (b, y) => {
|
|
13151
13151
|
let P = y;
|
|
13152
13152
|
return new Promise((k, S) => {
|
|
13153
|
-
const
|
|
13154
|
-
|
|
13155
|
-
if (
|
|
13156
|
-
if (
|
|
13153
|
+
const I = new XMLHttpRequest();
|
|
13154
|
+
I.onreadystatechange = () => {
|
|
13155
|
+
if (I.readyState === 4)
|
|
13156
|
+
if (I.status === 200) {
|
|
13157
13157
|
const T = window.URL || window.webkitURL;
|
|
13158
|
-
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(
|
|
13159
|
-
const D = new
|
|
13160
|
-
D.minFilter =
|
|
13158
|
+
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(I.response);
|
|
13159
|
+
const D = new E.VideoTexture(P);
|
|
13160
|
+
D.minFilter = E.LinearFilter, D.magFilter = E.LinearFilter, D.format = E.RGBFormat, k(Object.assign(D, { videoSource: b }));
|
|
13161
13161
|
} else
|
|
13162
|
-
S(new Error("Video download Error: " +
|
|
13163
|
-
},
|
|
13162
|
+
S(new Error("Video download Error: " + I.status));
|
|
13163
|
+
}, I.onerror = (T) => S(T), I.open("GET", b), I.responseType = "blob", I.send();
|
|
13164
13164
|
});
|
|
13165
13165
|
}, u = (b, y) => X(void 0, null, function* () {
|
|
13166
13166
|
const { video_src: P, video_poster_src: k, points: S } = b;
|
|
13167
|
-
e.videoSource = P, e.rectPoints = x0(S).map((
|
|
13167
|
+
e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x: T, y: D, z: F }) => new E.Vector3(T, D, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
|
|
13168
13168
|
}), m = (b) => {
|
|
13169
13169
|
if (!e.enabled)
|
|
13170
13170
|
return;
|
|
@@ -13178,14 +13178,14 @@ const KE = (i, { videoElement: t }) => {
|
|
|
13178
13178
|
return;
|
|
13179
13179
|
const b = i.camera.position;
|
|
13180
13180
|
if (o.forEach((y, P) => {
|
|
13181
|
-
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(),
|
|
13181
|
+
const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S), T = i.model.intersectRaycaster(I)[0], D = k.distanceTo(b), F = 0.01;
|
|
13182
13182
|
T && T.distance + F < D ? y.hide() : y.show();
|
|
13183
13183
|
}), !r()) {
|
|
13184
13184
|
const y = e.rectPoints.find((P) => {
|
|
13185
13185
|
const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
|
|
13186
13186
|
return P.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
|
|
13187
|
-
const
|
|
13188
|
-
return !(D && D.distance + F <
|
|
13187
|
+
const I = S.distanceTo(b), T = new E.Raycaster(b, S.clone().sub(b).normalize()), D = i.model.intersectRaycaster(T)[0], F = 0.01;
|
|
13188
|
+
return !(D && D.distance + F < I);
|
|
13189
13189
|
}).length >= 2;
|
|
13190
13190
|
});
|
|
13191
13191
|
(!y || y.length === 0) && s(!0);
|
|
@@ -13410,7 +13410,7 @@ class z0 extends ce {
|
|
|
13410
13410
|
);
|
|
13411
13411
|
}
|
|
13412
13412
|
}
|
|
13413
|
-
const { Raycaster: j0, Vector3: $
|
|
13413
|
+
const { Raycaster: j0, Vector3: $I } = E, ec = (i, t, e, n) => {
|
|
13414
13414
|
const o = t.clone().sub(e).normalize(), s = new j0();
|
|
13415
13415
|
s.set(e, o);
|
|
13416
13416
|
const [r] = i.model.intersectRaycaster(s);
|
|
@@ -13499,7 +13499,7 @@ function oc(i, t) {
|
|
|
13499
13499
|
key: i,
|
|
13500
13500
|
first: null,
|
|
13501
13501
|
c() {
|
|
13502
|
-
e =
|
|
13502
|
+
e = Ie(), s && s.c(), n = Ie(), this.first = e;
|
|
13503
13503
|
},
|
|
13504
13504
|
m(r, a) {
|
|
13505
13505
|
V(r, e, a), s && s.m(r, a), V(r, n, a), o = !0;
|
|
@@ -13593,7 +13593,7 @@ function B0(i) {
|
|
|
13593
13593
|
}
|
|
13594
13594
|
let R0 = 11;
|
|
13595
13595
|
function Q0(i, t, e) {
|
|
13596
|
-
const { Vector3: n } =
|
|
13596
|
+
const { Vector3: n } = E;
|
|
13597
13597
|
let { five: o } = t, { modelOcclusionEnable: s } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, u = (o == null ? void 0 : o.currentMode) === nt.Mode.Panorama, m, v, g = [], A = !0;
|
|
13598
13598
|
const b = (B, G) => {
|
|
13599
13599
|
const U = B.camera.position.clone(), Y = new n(G.modelPosition[0], G.modelPosition[1], G.modelPosition[2]), J = Y.distanceTo(U);
|
|
@@ -13630,7 +13630,7 @@ function Q0(i, t, e) {
|
|
|
13630
13630
|
});
|
|
13631
13631
|
}, S = () => {
|
|
13632
13632
|
g = [], e(1, h = k(o, h));
|
|
13633
|
-
},
|
|
13633
|
+
}, I = () => {
|
|
13634
13634
|
e(5, A = !1), T();
|
|
13635
13635
|
}, T = Rh(
|
|
13636
13636
|
() => {
|
|
@@ -13683,9 +13683,9 @@ function Q0(i, t, e) {
|
|
|
13683
13683
|
oh(() => {
|
|
13684
13684
|
q();
|
|
13685
13685
|
}), St(() => {
|
|
13686
|
-
e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate",
|
|
13686
|
+
e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate", I);
|
|
13687
13687
|
}), un(() => {
|
|
13688
|
-
o.off("cameraUpdate",
|
|
13688
|
+
o.off("cameraUpdate", I), window.removeEventListener("resize", D, !1);
|
|
13689
13689
|
});
|
|
13690
13690
|
function H() {
|
|
13691
13691
|
m = this.clientWidth, v = this.clientHeight, e(3, m), e(4, v);
|
|
@@ -13735,7 +13735,7 @@ function G0(i) {
|
|
|
13735
13735
|
observerIndex: void 0
|
|
13736
13736
|
}));
|
|
13737
13737
|
}
|
|
13738
|
-
const W0 = void 0,
|
|
13738
|
+
const W0 = void 0, eE = (i, t) => {
|
|
13739
13739
|
var u, m, v, g;
|
|
13740
13740
|
const e = {
|
|
13741
13741
|
container: document.createElement("div"),
|
|
@@ -13806,7 +13806,7 @@ const W0 = void 0, eI = (i, t) => {
|
|
|
13806
13806
|
dispose: a,
|
|
13807
13807
|
hooks: e.hooks
|
|
13808
13808
|
};
|
|
13809
|
-
},
|
|
13809
|
+
}, tE = {
|
|
13810
13810
|
name: "ItemLabelPlugin",
|
|
13811
13811
|
version: 0
|
|
13812
13812
|
};
|
|
@@ -14056,14 +14056,14 @@ class eA extends N0 {
|
|
|
14056
14056
|
if (this.five.currentMode !== "Panorama")
|
|
14057
14057
|
return this.hideAllLabels();
|
|
14058
14058
|
const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
|
|
14059
|
-
if (c.forEach((
|
|
14060
|
-
if (
|
|
14061
|
-
const D = n.position.distanceTo(
|
|
14062
|
-
|
|
14059
|
+
if (c.forEach((I, T) => {
|
|
14060
|
+
if (I.visible) {
|
|
14061
|
+
const D = n.position.distanceTo(I.position), F = I.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && D > this.MinVisibledistance && D <= this.MaxVisibledistance;
|
|
14062
|
+
I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel: D, left: H, top: B, index: T }) : I.transform = "translate(-50%, -50%)";
|
|
14063
14063
|
} else
|
|
14064
|
-
|
|
14064
|
+
I.inSight = !1;
|
|
14065
14065
|
}), l.length > 1) {
|
|
14066
|
-
let
|
|
14066
|
+
let I = 0;
|
|
14067
14067
|
l.sort((T, D) => D.disFromCameraToLabel - T.disFromCameraToLabel);
|
|
14068
14068
|
for (let T = 1; T < l.length; T++) {
|
|
14069
14069
|
const { index: D, left: F, top: q } = l[T - 1], { index: Q, left: R, top: H } = l[T], B = this.container.children[D], G = this.container.children[Q];
|
|
@@ -14080,7 +14080,7 @@ class eA extends N0 {
|
|
|
14080
14080
|
width: (y = (b = (A = G.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
|
|
14081
14081
|
height: (S = (k = (P = G.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
|
|
14082
14082
|
};
|
|
14083
|
-
q0(U, Y) && (
|
|
14083
|
+
q0(U, Y) && (I++, c[D].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${I * 100 - 50}%)`);
|
|
14084
14084
|
}
|
|
14085
14085
|
}
|
|
14086
14086
|
this.labelItems = c, this.render();
|
|
@@ -14182,7 +14182,7 @@ class eA extends N0 {
|
|
|
14182
14182
|
this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
|
|
14183
14183
|
}
|
|
14184
14184
|
}
|
|
14185
|
-
const
|
|
14185
|
+
const nE = (i) => new eA(i);
|
|
14186
14186
|
function tA(i, t) {
|
|
14187
14187
|
console.warn(`⛔ ==> [${i}]: ${t}`);
|
|
14188
14188
|
}
|
|
@@ -14248,34 +14248,34 @@ const gA = 2, vA = 3, AA = 3, bA = 2;
|
|
|
14248
14248
|
function yA(i) {
|
|
14249
14249
|
const t = i.width, n = i.unitLength / t, o = t / 2, s = i.path;
|
|
14250
14250
|
if (s.length === 0)
|
|
14251
|
-
return { geometry: new
|
|
14252
|
-
const r = new
|
|
14253
|
-
s.forEach((
|
|
14254
|
-
const T = wA(
|
|
14251
|
+
return { geometry: new E.BufferGeometry(), maxU: 0 };
|
|
14252
|
+
const r = new E.CurvePath();
|
|
14253
|
+
s.forEach((I) => {
|
|
14254
|
+
const T = wA(I);
|
|
14255
14255
|
T && r.add(T);
|
|
14256
14256
|
});
|
|
14257
|
-
const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = pA(l.map((
|
|
14257
|
+
const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = pA(l.map((I) => [I.x, I.z])), u = (c - 1) * gA * vA, m = 2 * c, v = m * AA, g = m * bA, A = new Uint32Array(u), b = new Float32Array(v), y = new Float32Array(g);
|
|
14258
14258
|
let P = 0, k = 0;
|
|
14259
|
-
for (let
|
|
14260
|
-
const [T, D] = d[
|
|
14261
|
-
b[
|
|
14259
|
+
for (let I = 0; I < l.length; I++) {
|
|
14260
|
+
const [T, D] = d[I][0], F = l[I], { x: q, y: Q, z: R } = F, H = new $(q + T * o, Q + 0.05, R + D * o);
|
|
14261
|
+
b[I * 6 + 0] = H.x, b[I * 6 + 1] = H.y, b[I * 6 + 2] = H.z;
|
|
14262
14262
|
const B = new $(q - T * o, Q + 0.05, R - D * o);
|
|
14263
|
-
b[
|
|
14263
|
+
b[I * 6 + 3] = B.x, b[I * 6 + 4] = B.y, b[I * 6 + 5] = B.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
|
|
14264
14264
|
const G = P / t / n;
|
|
14265
|
-
if (k = G, y[
|
|
14266
|
-
const U = new
|
|
14265
|
+
if (k = G, y[I * 4 + 0] = 0, y[I * 4 + 1] = G, y[I * 4 + 2] = 1, y[I * 4 + 3] = G, i.skipPositions) {
|
|
14266
|
+
const U = new E.Vector3().lerpVectors(H, B, 0.5);
|
|
14267
14267
|
if (i.skipPositions.some((J) => J.distanceTo(U) < 0.26))
|
|
14268
14268
|
continue;
|
|
14269
14269
|
}
|
|
14270
|
-
|
|
14270
|
+
I !== l.length - 1 && (A[I * 6 + 0] = I * 2 + 0, A[I * 6 + 1] = I * 2 + 2, A[I * 6 + 2] = I * 2 + 1, A[I * 6 + 3] = I * 2 + 2, A[I * 6 + 4] = I * 2 + 3, A[I * 6 + 5] = I * 2 + 1);
|
|
14271
14271
|
}
|
|
14272
|
-
const S = new
|
|
14273
|
-
return S.setAttribute("position", new
|
|
14272
|
+
const S = new E.BufferGeometry();
|
|
14273
|
+
return S.setAttribute("position", new E.BufferAttribute(b, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(A, 1)), { geometry: S, maxU: k };
|
|
14274
14274
|
}
|
|
14275
14275
|
function wA(i) {
|
|
14276
14276
|
if (CA(i)) {
|
|
14277
|
-
const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new
|
|
14278
|
-
return new
|
|
14277
|
+
const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new E.Vector3().fromArray(o));
|
|
14278
|
+
return new E.CatmullRomCurve3(e, ...t);
|
|
14279
14279
|
}
|
|
14280
14280
|
}
|
|
14281
14281
|
function CA(i) {
|
|
@@ -14340,25 +14340,25 @@ Xe.noMutate = function(...t) {
|
|
|
14340
14340
|
Xe.withOptions = function(t, e, n) {
|
|
14341
14341
|
return ws(t, e, n);
|
|
14342
14342
|
};
|
|
14343
|
-
function
|
|
14343
|
+
function IA(i, t) {
|
|
14344
14344
|
t.forEach((e) => {
|
|
14345
|
-
const n = new
|
|
14346
|
-
new
|
|
14345
|
+
const n = new E.SphereGeometry(0.02, 16, 16), o = [], s = [
|
|
14346
|
+
new E.MeshBasicMaterial({ color: 16776960 }),
|
|
14347
14347
|
// 黄
|
|
14348
|
-
new
|
|
14348
|
+
new E.MeshBasicMaterial({ color: 16711935 }),
|
|
14349
14349
|
// 粉
|
|
14350
|
-
new
|
|
14350
|
+
new E.MeshBasicMaterial({ color: 16711680 }),
|
|
14351
14351
|
// 红
|
|
14352
|
-
new
|
|
14352
|
+
new E.MeshBasicMaterial({ color: 65535 })
|
|
14353
14353
|
// 蓝
|
|
14354
14354
|
];
|
|
14355
14355
|
if (e.position.length === 4)
|
|
14356
14356
|
e.position.forEach((r, a) => {
|
|
14357
|
-
const l = s[a], c = new
|
|
14357
|
+
const l = s[a], c = new E.Mesh(n, l);
|
|
14358
14358
|
c.position.copy(Mt(r)), o.push(c);
|
|
14359
14359
|
});
|
|
14360
14360
|
else {
|
|
14361
|
-
const r = s[0], a = new
|
|
14361
|
+
const r = s[0], a = new E.Mesh(n, r);
|
|
14362
14362
|
a.position.copy(Mt(e.position)), o.push(a);
|
|
14363
14363
|
}
|
|
14364
14364
|
o.forEach((r) => {
|
|
@@ -14367,13 +14367,13 @@ function EA(i, t) {
|
|
|
14367
14367
|
});
|
|
14368
14368
|
}
|
|
14369
14369
|
const Qe = (i) => i;
|
|
14370
|
-
function
|
|
14370
|
+
function Ir(i) {
|
|
14371
14371
|
if (!i || i.length < 3)
|
|
14372
14372
|
return;
|
|
14373
14373
|
const t = i.map(Zi), e = t[1].clone().sub(t[0]), n = t[2].clone().sub(t[1]);
|
|
14374
14374
|
return e.cross(n);
|
|
14375
14375
|
}
|
|
14376
|
-
function
|
|
14376
|
+
function EA(i) {
|
|
14377
14377
|
return i.stickType === "Plane";
|
|
14378
14378
|
}
|
|
14379
14379
|
function kA(i) {
|
|
@@ -14422,7 +14422,7 @@ function LA(i) {
|
|
|
14422
14422
|
});
|
|
14423
14423
|
}
|
|
14424
14424
|
function TA(i, t, e) {
|
|
14425
|
-
const o = new
|
|
14425
|
+
const o = new E.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new E.Vector3(0, 1, 0)).setLength(0.01), r = new E.Vector3(0, 0.01, 0);
|
|
14426
14426
|
return [
|
|
14427
14427
|
t.clone().sub(s).sub(r),
|
|
14428
14428
|
// 左下
|
|
@@ -14432,7 +14432,7 @@ function TA(i, t, e) {
|
|
|
14432
14432
|
// 右上
|
|
14433
14433
|
t.clone().sub(s).add(r)
|
|
14434
14434
|
// 左上
|
|
14435
|
-
].map((l) => o.projectPoint(l, new
|
|
14435
|
+
].map((l) => o.projectPoint(l, new E.Vector3()));
|
|
14436
14436
|
}
|
|
14437
14437
|
const ac = (i, t = 1e3 / 60) => {
|
|
14438
14438
|
let e = null;
|
|
@@ -14493,7 +14493,7 @@ function _A(i) {
|
|
|
14493
14493
|
return i;
|
|
14494
14494
|
}
|
|
14495
14495
|
const ai = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq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URE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(Ia || {});
|
|
14497
14497
|
function VA(i, t) {
|
|
14498
14498
|
const e = (t == null ? void 0 : t.namespace) || "default", n = Ui[e] || (Ui[e] = []);
|
|
14499
14499
|
let o = n.find((s) => !s.realSrc || s.realSrc === ai);
|
|
@@ -14661,7 +14661,7 @@ function GA(i) {
|
|
|
14661
14661
|
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);
|
|
14662
14662
|
return s === a && r === l && c === d;
|
|
14663
14663
|
}
|
|
14664
|
-
class
|
|
14664
|
+
class Er extends E.Mesh {
|
|
14665
14665
|
/**
|
|
14666
14666
|
* @description 生成一个四边形的Mesh
|
|
14667
14667
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -14679,7 +14679,7 @@ class Ir extends I.Mesh {
|
|
|
14679
14679
|
return e !== null && e.remove(this), this;
|
|
14680
14680
|
}
|
|
14681
14681
|
}
|
|
14682
|
-
class Xh extends
|
|
14682
|
+
class Xh extends E.BufferGeometry {
|
|
14683
14683
|
/**
|
|
14684
14684
|
* @description 生成一个四边形的BufferGeometry,原点取 points[0],即左下角
|
|
14685
14685
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -14694,7 +14694,7 @@ class Xh extends I.BufferGeometry {
|
|
|
14694
14694
|
console.error("Invalid number of points, it's not a quadrangle");
|
|
14695
14695
|
return;
|
|
14696
14696
|
}
|
|
14697
|
-
const [s, r, a, l] = e, [c, d, h, u] = [new
|
|
14697
|
+
const [s, r, a, l] = e, [c, d, h, u] = [new E.Vector2(0, 0), new E.Vector2(1, 0), new E.Vector2(1, 1), new E.Vector2(0, 1)], m = [], v = [];
|
|
14698
14698
|
m.push(...s.toArray()), v.push(...c.toArray());
|
|
14699
14699
|
for (let A = 1; A < o; A++)
|
|
14700
14700
|
m.push(
|
|
@@ -14713,15 +14713,15 @@ class Xh extends I.BufferGeometry {
|
|
|
14713
14713
|
const g = [];
|
|
14714
14714
|
for (let A = 0; A < o; A++)
|
|
14715
14715
|
g.push(A, A + 1, o * 2 - A, A, o * 2 - A, o * 2 + 1 - A);
|
|
14716
|
-
this.setAttribute("position", new
|
|
14716
|
+
this.setAttribute("position", new E.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new E.BufferAttribute(new Float32Array(v), 2)), this.setIndex(new E.BufferAttribute(new Uint32Array(g), 1));
|
|
14717
14717
|
}
|
|
14718
14718
|
}
|
|
14719
14719
|
function WA(i, t) {
|
|
14720
14720
|
let e = !Fo;
|
|
14721
14721
|
const n = t != null ? t : document.createElement("video");
|
|
14722
14722
|
n.preload = "metadata", n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.autoplay = !0;
|
|
14723
|
-
const o = new
|
|
14724
|
-
o.minFilter =
|
|
14723
|
+
const o = new E.VideoTexture(n);
|
|
14724
|
+
o.minFilter = E.LinearFilter, o.magFilter = E.LinearFilter, o.encoding = E.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
|
|
14725
14725
|
const s = () => {
|
|
14726
14726
|
o.metadataLoaded || (o.dispatchEvent({ type: "videoLoaded" }), o.metadataLoaded = !0);
|
|
14727
14727
|
};
|
|
@@ -14750,25 +14750,25 @@ function Wi(i, t, e) {
|
|
|
14750
14750
|
if (i === "contain") {
|
|
14751
14751
|
const [n, o, s, r] = t, a = n.distanceTo(o), l = s.distanceTo(r), c = n.distanceTo(r), d = o.distanceTo(s), h = a, u = c, m = h / u;
|
|
14752
14752
|
if (m > e) {
|
|
14753
|
-
const g = u * e, A = new
|
|
14753
|
+
const g = u * e, A = new E.Vector3().subVectors(o, n).multiplyScalar((a - g) / 2 / a), b = new E.Vector3().subVectors(s, r).multiplyScalar((l - g) / 2 / l);
|
|
14754
14754
|
return [n.clone().add(A), o.clone().sub(A), s.clone().sub(b), r.clone().add(b)];
|
|
14755
14755
|
} else if (m < e) {
|
|
14756
|
-
const g = h / e, A = new
|
|
14756
|
+
const g = h / e, A = new E.Vector3().subVectors(r, n).multiplyScalar((c - g) / 2 / c), b = new E.Vector3().subVectors(s, o).multiplyScalar((d - g) / 2 / d);
|
|
14757
14757
|
return [n.clone().add(A), o.clone().add(b), s.clone().sub(b), r.clone().sub(A)];
|
|
14758
14758
|
} else
|
|
14759
14759
|
return t;
|
|
14760
14760
|
} else
|
|
14761
14761
|
return console.warn(`objectFit: ${i} is not supported yet`), t;
|
|
14762
14762
|
}
|
|
14763
|
-
class XA extends
|
|
14763
|
+
class XA extends E.ShaderMaterial {
|
|
14764
14764
|
constructor(e) {
|
|
14765
14765
|
super();
|
|
14766
14766
|
f(this, "transparent", !1);
|
|
14767
|
-
f(this, "blending",
|
|
14768
|
-
f(this, "blendSrc",
|
|
14769
|
-
f(this, "blendDst",
|
|
14770
|
-
f(this, "blendSrcAlpha",
|
|
14771
|
-
f(this, "blendDstAlpha",
|
|
14767
|
+
f(this, "blending", E.CustomBlending);
|
|
14768
|
+
f(this, "blendSrc", E.SrcAlphaFactor);
|
|
14769
|
+
f(this, "blendDst", E.OneMinusSrcAlphaFactor);
|
|
14770
|
+
f(this, "blendSrcAlpha", E.OneFactor);
|
|
14771
|
+
f(this, "blendDstAlpha", E.OneMinusSrcAlphaFactor);
|
|
14772
14772
|
f(
|
|
14773
14773
|
this,
|
|
14774
14774
|
"vertexShader",
|
|
@@ -14799,7 +14799,7 @@ class XA extends I.ShaderMaterial {
|
|
|
14799
14799
|
};
|
|
14800
14800
|
}
|
|
14801
14801
|
}
|
|
14802
|
-
let Uh = class extends
|
|
14802
|
+
let Uh = class extends E.Mesh {
|
|
14803
14803
|
constructor() {
|
|
14804
14804
|
super(...arguments);
|
|
14805
14805
|
f(this, "name", "MediaPlane");
|
|
@@ -14816,7 +14816,7 @@ class cc extends Uh {
|
|
|
14816
14816
|
f(this, "name", "PanoTagPluginImagePlane");
|
|
14817
14817
|
this.src = e, to(e).then((s) => {
|
|
14818
14818
|
var u;
|
|
14819
|
-
const r = new URL(e, location.href).pathname.endsWith(".png"), a = new
|
|
14819
|
+
const r = new URL(e, location.href).pathname.endsWith(".png"), a = new E.MeshBasicMaterial({ map: s, transparent: r }), l = Wi((u = o == null ? void 0 : o.objectFit) != null ? u : "contain", n, s.image.width / s.image.height), c = Dn(...l), d = l.map((m) => m.clone().sub(c)), h = new Xh(d);
|
|
14820
14820
|
this.position.copy(c), this.geometry = h, this.material = a;
|
|
14821
14821
|
}).catch((s) => {
|
|
14822
14822
|
console.error(`Imageplane error ${s}`);
|
|
@@ -14916,7 +14916,7 @@ class ta extends Uh {
|
|
|
14916
14916
|
const n = yield this.getImageTexture(this.videoCoverSrc);
|
|
14917
14917
|
if (!n)
|
|
14918
14918
|
return;
|
|
14919
|
-
const o = new
|
|
14919
|
+
const o = new E.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Er(s, o);
|
|
14920
14920
|
return r.position.copy(new $(0, 0, 0)), r.name = "videoCoverMesh", r;
|
|
14921
14921
|
}))();
|
|
14922
14922
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -14931,12 +14931,12 @@ class ta extends Uh {
|
|
|
14931
14931
|
return this.videoMesh;
|
|
14932
14932
|
if (!this.src)
|
|
14933
14933
|
return;
|
|
14934
|
-
const o = this.getVideoTexture(this.src), s = new
|
|
14934
|
+
const o = this.getVideoTexture(this.src), s = new E.MeshBasicMaterial({ transparent: !1, map: o }), r = yield new Promise((l) => {
|
|
14935
14935
|
o.metadataLoaded ? l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
|
|
14936
14936
|
"videoLoaded",
|
|
14937
14937
|
() => l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
|
|
14938
14938
|
);
|
|
14939
|
-
}), a = new
|
|
14939
|
+
}), a = new Er(r, s);
|
|
14940
14940
|
return a.name = "videoMesh", a.position.copy(new $(0, 0, 0)), a;
|
|
14941
14941
|
}))();
|
|
14942
14942
|
if (!e)
|
|
@@ -14960,9 +14960,9 @@ class ta extends Uh {
|
|
|
14960
14960
|
var u, m, v, g;
|
|
14961
14961
|
if (this.buttonMesh)
|
|
14962
14962
|
return this.buttonMesh;
|
|
14963
|
-
const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (g = (v = this.coverMesh) == null ? void 0 : v.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 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
|
|
14963
|
+
const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (g = (v = this.coverMesh) == null ? void 0 : v.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 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));
|
|
14964
14964
|
d.position.copy(new $(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.addAutoBindEventListener(d, "click", () => this.play());
|
|
14965
|
-
const h = new
|
|
14965
|
+
const h = new E.Vector3().crossVectors(new E.Vector3().subVectors(c[0], c[1]), new E.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
|
|
14966
14966
|
return d.position.add(h), d;
|
|
14967
14967
|
}))();
|
|
14968
14968
|
return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
|
|
@@ -14986,7 +14986,7 @@ class ta extends Uh {
|
|
|
14986
14986
|
}
|
|
14987
14987
|
}
|
|
14988
14988
|
function Me(i, t) {
|
|
14989
|
-
this._camera = i || null, this._domElement = t || document, this._raycaster = new
|
|
14989
|
+
this._camera = i || null, this._domElement = t || document, this._raycaster = new E.Raycaster(), this._selected = null, this._boundObjs = {};
|
|
14990
14990
|
var e = this;
|
|
14991
14991
|
this._$onClick = function() {
|
|
14992
14992
|
e._onClick.apply(e, arguments);
|
|
@@ -15086,7 +15086,7 @@ Me.prototype._bound = function(i, t) {
|
|
|
15086
15086
|
Me.prototype._onMove = function(i, t, e, n) {
|
|
15087
15087
|
var o = this._boundObjs[i];
|
|
15088
15088
|
if (!(o === void 0 || o.length === 0)) {
|
|
15089
|
-
var s = new
|
|
15089
|
+
var s = new E.Vector2();
|
|
15090
15090
|
s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
|
|
15091
15091
|
var r = this._raycaster.intersectObjects(o), a = this._selected;
|
|
15092
15092
|
if (r.length > 0) {
|
|
@@ -15100,7 +15100,7 @@ Me.prototype._onMove = function(i, t, e, n) {
|
|
|
15100
15100
|
Me.prototype._onEvent = function(i, t, e, n) {
|
|
15101
15101
|
var o = this._boundObjs[i];
|
|
15102
15102
|
if (!(o === void 0 || o.length === 0)) {
|
|
15103
|
-
var s = new
|
|
15103
|
+
var s = new E.Vector2();
|
|
15104
15104
|
s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
|
|
15105
15105
|
var r = this._raycaster.intersectObjects(o, !0);
|
|
15106
15106
|
if (r.length !== 0) {
|
|
@@ -15349,7 +15349,7 @@ class UA extends QA {
|
|
|
15349
15349
|
updateTagConfig(e) {
|
|
15350
15350
|
e != null && e.force && this.clearCache(), this.tags.forEach((n) => {
|
|
15351
15351
|
const o = this.getTagConfig(n);
|
|
15352
|
-
n.config = o, n.data = Xe({},
|
|
15352
|
+
n.config = o, n.data = Xe({}, o.initialData, n.data);
|
|
15353
15353
|
});
|
|
15354
15354
|
}
|
|
15355
15355
|
can(e, n) {
|
|
@@ -15403,13 +15403,13 @@ class UA extends QA {
|
|
|
15403
15403
|
const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
|
|
15404
15404
|
if (l === void 0)
|
|
15405
15405
|
throw new Error(`getAngleRange(): observerPosition is ${l}`);
|
|
15406
|
-
const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) :
|
|
15406
|
+
const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Ir(e.position))();
|
|
15407
15407
|
if (!c)
|
|
15408
15408
|
return;
|
|
15409
15409
|
const d = ss(e.position);
|
|
15410
15410
|
if (!d)
|
|
15411
15411
|
return;
|
|
15412
|
-
const h = new
|
|
15412
|
+
const h = new E.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
|
|
15413
15413
|
return s.angle = u, s.angle;
|
|
15414
15414
|
}
|
|
15415
15415
|
}
|
|
@@ -15436,7 +15436,7 @@ class UA extends QA {
|
|
|
15436
15436
|
}
|
|
15437
15437
|
}
|
|
15438
15438
|
getPositions(e) {
|
|
15439
|
-
if (
|
|
15439
|
+
if (EA(e))
|
|
15440
15440
|
return e.position;
|
|
15441
15441
|
if (pt(e))
|
|
15442
15442
|
return e.data.mediaPosition;
|
|
@@ -15494,9 +15494,9 @@ class UA extends QA {
|
|
|
15494
15494
|
if (e.normal)
|
|
15495
15495
|
return Mt(e.normal);
|
|
15496
15496
|
if (e.stickType === "Plane")
|
|
15497
|
-
return
|
|
15497
|
+
return Ir(e.position);
|
|
15498
15498
|
if (e.stickType === "Model")
|
|
15499
|
-
return
|
|
15499
|
+
return Ir(this.getPositions(e));
|
|
15500
15500
|
}
|
|
15501
15501
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
15502
15502
|
get filterPointTag() {
|
|
@@ -15553,7 +15553,7 @@ function qA(i, t) {
|
|
|
15553
15553
|
class JA extends UA {
|
|
15554
15554
|
constructor(e) {
|
|
15555
15555
|
super(e);
|
|
15556
|
-
f(this, "raycaster", new
|
|
15556
|
+
f(this, "raycaster", new E.Raycaster());
|
|
15557
15557
|
}
|
|
15558
15558
|
/**
|
|
15559
15559
|
* @description: 获取是否可见
|
|
@@ -15730,6 +15730,12 @@ class JA extends UA {
|
|
|
15730
15730
|
return s === void 0 || r === void 0 ? 0 : r - s;
|
|
15731
15731
|
});
|
|
15732
15732
|
}
|
|
15733
|
+
setTagZIndex(e) {
|
|
15734
|
+
return e.forEach((n) => {
|
|
15735
|
+
const o = this.getDistance(n);
|
|
15736
|
+
n.zIndex = Math.round((o != null ? o : 0) * 100);
|
|
15737
|
+
});
|
|
15738
|
+
}
|
|
15733
15739
|
/**
|
|
15734
15740
|
* @description: 一个点的标签
|
|
15735
15741
|
*/
|
|
@@ -16020,7 +16026,7 @@ function KA(i) {
|
|
|
16020
16026
|
);
|
|
16021
16027
|
return {
|
|
16022
16028
|
c() {
|
|
16023
|
-
e && e.c(), t =
|
|
16029
|
+
e && e.c(), t = Ie();
|
|
16024
16030
|
},
|
|
16025
16031
|
m(n, o) {
|
|
16026
16032
|
e && e.m(n, o), V(n, t, o);
|
|
@@ -16062,7 +16068,7 @@ function $A(i, t, e) {
|
|
|
16062
16068
|
u
|
|
16063
16069
|
];
|
|
16064
16070
|
}
|
|
16065
|
-
class
|
|
16071
|
+
class Ea extends ce {
|
|
16066
16072
|
constructor(t) {
|
|
16067
16073
|
super(), le(
|
|
16068
16074
|
this,
|
|
@@ -16176,14 +16182,14 @@ function uc(i) {
|
|
|
16176
16182
|
},
|
|
16177
16183
|
i(r) {
|
|
16178
16184
|
s || (r && ot(() => {
|
|
16179
|
-
s && (o && o.end(1), n = Mn(t,
|
|
16185
|
+
s && (o && o.end(1), n = Mn(t, En, { duration: (
|
|
16180
16186
|
/*inDelay*/
|
|
16181
16187
|
i[0]
|
|
16182
16188
|
) }), n.start());
|
|
16183
16189
|
}), s = !0);
|
|
16184
16190
|
},
|
|
16185
16191
|
o(r) {
|
|
16186
|
-
n && n.invalidate(), r && (o = vi(t,
|
|
16192
|
+
n && n.invalidate(), r && (o = vi(t, En, { duration: (
|
|
16187
16193
|
/*outDelay*/
|
|
16188
16194
|
i[1]
|
|
16189
16195
|
) })), s = !1;
|
|
@@ -16200,7 +16206,7 @@ function tb(i) {
|
|
|
16200
16206
|
);
|
|
16201
16207
|
return {
|
|
16202
16208
|
c() {
|
|
16203
|
-
e && e.c(), t =
|
|
16209
|
+
e && e.c(), t = Ie();
|
|
16204
16210
|
},
|
|
16205
16211
|
m(n, o) {
|
|
16206
16212
|
e && e.m(n, o), V(n, t, o);
|
|
@@ -16363,7 +16369,7 @@ function mc(i, t) {
|
|
|
16363
16369
|
key: i,
|
|
16364
16370
|
first: null,
|
|
16365
16371
|
c() {
|
|
16366
|
-
e =
|
|
16372
|
+
e = Ie(), r.c(), n = Ie(), this.first = e;
|
|
16367
16373
|
},
|
|
16368
16374
|
m(a, l) {
|
|
16369
16375
|
V(a, e, l), r.m(a, l), V(a, n, l);
|
|
@@ -16393,7 +16399,7 @@ function ab(i) {
|
|
|
16393
16399
|
c() {
|
|
16394
16400
|
for (let r = 0; r < t.length; r += 1)
|
|
16395
16401
|
t[r].c();
|
|
16396
|
-
n =
|
|
16402
|
+
n = Ie();
|
|
16397
16403
|
},
|
|
16398
16404
|
m(r, a) {
|
|
16399
16405
|
for (let l = 0; l < t.length; l += 1)
|
|
@@ -16419,11 +16425,11 @@ function lb(i, t, e) {
|
|
|
16419
16425
|
const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
|
|
16420
16426
|
let u, m, v = [];
|
|
16421
16427
|
function g(S) {
|
|
16422
|
-
const
|
|
16423
|
-
return S.slice().replace(T, (D) => `${c}${d}${D}${c}`).split(c).forEach((D) => D.startsWith(d) ?
|
|
16428
|
+
const I = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
16429
|
+
return S.slice().replace(T, (D) => `${c}${d}${D}${c}`).split(c).forEach((D) => D.startsWith(d) ? I.push({
|
|
16424
16430
|
id: dt(),
|
|
16425
16431
|
content: D.slice(d.length)
|
|
16426
|
-
}) :
|
|
16432
|
+
}) : I.push(...D.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), I;
|
|
16427
16433
|
}
|
|
16428
16434
|
function A() {
|
|
16429
16435
|
if (!m)
|
|
@@ -16439,13 +16445,13 @@ function lb(i, t, e) {
|
|
|
16439
16445
|
clearTimeout(u), u = setTimeout(A, S ? o : s);
|
|
16440
16446
|
}
|
|
16441
16447
|
function y(S) {
|
|
16442
|
-
const
|
|
16448
|
+
const I = function() {
|
|
16443
16449
|
const T = jA((D) => S[D].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
|
|
16444
16450
|
if (T > 0)
|
|
16445
16451
|
return T;
|
|
16446
16452
|
}();
|
|
16447
16453
|
m = Ra({
|
|
16448
|
-
targets: S.slice(0,
|
|
16454
|
+
targets: S.slice(0, I).filter(di),
|
|
16449
16455
|
autoplay: !1,
|
|
16450
16456
|
duration: 400,
|
|
16451
16457
|
scale: [0.7, 1],
|
|
@@ -16457,14 +16463,14 @@ function lb(i, t, e) {
|
|
|
16457
16463
|
easing: "easeInOutCubic"
|
|
16458
16464
|
}), a && m.seek(m.duration);
|
|
16459
16465
|
}
|
|
16460
|
-
function P(S,
|
|
16466
|
+
function P(S, I) {
|
|
16461
16467
|
Ze[S ? "unshift" : "push"](() => {
|
|
16462
|
-
v[
|
|
16468
|
+
v[I] = S, e(1, v);
|
|
16463
16469
|
});
|
|
16464
16470
|
}
|
|
16465
|
-
function k(S,
|
|
16471
|
+
function k(S, I) {
|
|
16466
16472
|
Ze[S ? "unshift" : "push"](() => {
|
|
16467
|
-
v[
|
|
16473
|
+
v[I] = S, e(1, v);
|
|
16468
16474
|
});
|
|
16469
16475
|
}
|
|
16470
16476
|
return i.$$set = (S) => {
|
|
@@ -16537,7 +16543,7 @@ function pc(i) {
|
|
|
16537
16543
|
},
|
|
16538
16544
|
i(h) {
|
|
16539
16545
|
l || (x(e.$$.fragment, h), h && ot(() => {
|
|
16540
|
-
l && (a && a.end(1), r = Mn(o,
|
|
16546
|
+
l && (a && a.end(1), r = Mn(o, En, {
|
|
16541
16547
|
duration: (
|
|
16542
16548
|
/*duration*/
|
|
16543
16549
|
i[2]
|
|
@@ -16551,7 +16557,7 @@ function pc(i) {
|
|
|
16551
16557
|
}), l = !0);
|
|
16552
16558
|
},
|
|
16553
16559
|
o(h) {
|
|
16554
|
-
L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o,
|
|
16560
|
+
L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o, En, {
|
|
16555
16561
|
duration: (
|
|
16556
16562
|
/*duration*/
|
|
16557
16563
|
i[2]
|
|
@@ -16575,7 +16581,7 @@ function db(i) {
|
|
|
16575
16581
|
);
|
|
16576
16582
|
return {
|
|
16577
16583
|
c() {
|
|
16578
|
-
n && n.c(), t =
|
|
16584
|
+
n && n.c(), t = Ie();
|
|
16579
16585
|
},
|
|
16580
16586
|
m(o, s) {
|
|
16581
16587
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -16747,7 +16753,7 @@ function pb(i) {
|
|
|
16747
16753
|
);
|
|
16748
16754
|
return {
|
|
16749
16755
|
c() {
|
|
16750
|
-
o && o.c(), t = se(), s && s.c(), e =
|
|
16756
|
+
o && o.c(), t = se(), s && s.c(), e = Ie();
|
|
16751
16757
|
},
|
|
16752
16758
|
m(r, a) {
|
|
16753
16759
|
o && o.m(r, a), V(r, t, a), s && s.m(r, a), V(r, e, a), n = !0;
|
|
@@ -16837,7 +16843,7 @@ function Ac(i) {
|
|
|
16837
16843
|
blurRadius: 120,
|
|
16838
16844
|
spreadRadius: 60
|
|
16839
16845
|
}
|
|
16840
|
-
}), n = new
|
|
16846
|
+
}), n = new Ea({
|
|
16841
16847
|
props: {
|
|
16842
16848
|
unfolded: (
|
|
16843
16849
|
/*unfolded*/
|
|
@@ -16940,7 +16946,7 @@ function Ab(i) {
|
|
|
16940
16946
|
);
|
|
16941
16947
|
return {
|
|
16942
16948
|
c() {
|
|
16943
|
-
n && n.c(), t =
|
|
16949
|
+
n && n.c(), t = Ie();
|
|
16944
16950
|
},
|
|
16945
16951
|
m(o, s) {
|
|
16946
16952
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -17070,7 +17076,7 @@ function Pb(i) {
|
|
|
17070
17076
|
);
|
|
17071
17077
|
return {
|
|
17072
17078
|
c() {
|
|
17073
|
-
n && n.c(), t = se(), o && o.c(), e =
|
|
17079
|
+
n && n.c(), t = se(), o && o.c(), e = Ie();
|
|
17074
17080
|
},
|
|
17075
17081
|
m(a, l) {
|
|
17076
17082
|
n && n.m(a, l), V(a, t, l), o && o.m(a, l), V(a, e, l);
|
|
@@ -17088,7 +17094,7 @@ function Pb(i) {
|
|
|
17088
17094
|
}
|
|
17089
17095
|
};
|
|
17090
17096
|
}
|
|
17091
|
-
function
|
|
17097
|
+
function Ib(i) {
|
|
17092
17098
|
let t;
|
|
17093
17099
|
return {
|
|
17094
17100
|
c() {
|
|
@@ -17151,9 +17157,9 @@ function yc(i) {
|
|
|
17151
17157
|
}
|
|
17152
17158
|
};
|
|
17153
17159
|
}
|
|
17154
|
-
function
|
|
17160
|
+
function Eb(i) {
|
|
17155
17161
|
let t, e, n, o;
|
|
17156
|
-
const s = [
|
|
17162
|
+
const s = [Ib, Pb, Cb], r = [];
|
|
17157
17163
|
function a(l, c) {
|
|
17158
17164
|
return (
|
|
17159
17165
|
/*text*/
|
|
@@ -17228,7 +17234,7 @@ class ka extends ce {
|
|
|
17228
17234
|
this,
|
|
17229
17235
|
t,
|
|
17230
17236
|
kb,
|
|
17231
|
-
|
|
17237
|
+
Eb,
|
|
17232
17238
|
ae,
|
|
17233
17239
|
{
|
|
17234
17240
|
maxLine: 0,
|
|
@@ -17246,7 +17252,7 @@ function xb(i) {
|
|
|
17246
17252
|
function wc(i) {
|
|
17247
17253
|
var h, u;
|
|
17248
17254
|
let t, e, n, o, s, r, a, l, c;
|
|
17249
|
-
t = new
|
|
17255
|
+
t = new Ea({
|
|
17250
17256
|
props: {
|
|
17251
17257
|
unfolded: (
|
|
17252
17258
|
/*unfolded*/
|
|
@@ -17393,7 +17399,7 @@ function Db(i) {
|
|
|
17393
17399
|
);
|
|
17394
17400
|
return {
|
|
17395
17401
|
c() {
|
|
17396
|
-
n && n.c(), t =
|
|
17402
|
+
n && n.c(), t = Ie();
|
|
17397
17403
|
},
|
|
17398
17404
|
m(o, s) {
|
|
17399
17405
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -17505,7 +17511,7 @@ function zb(i) {
|
|
|
17505
17511
|
}
|
|
17506
17512
|
return ~(t = a(i)) && (e = r[t] = s[t](i)), {
|
|
17507
17513
|
c() {
|
|
17508
|
-
e && e.c(), n =
|
|
17514
|
+
e && e.c(), n = Ie();
|
|
17509
17515
|
},
|
|
17510
17516
|
m(l, c) {
|
|
17511
17517
|
~t && r[t].m(l, c), V(l, n, c), o = !0;
|
|
@@ -17708,11 +17714,11 @@ class Wb extends ce {
|
|
|
17708
17714
|
function Nb(i) {
|
|
17709
17715
|
fe(i, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
|
|
17710
17716
|
}
|
|
17711
|
-
function
|
|
17717
|
+
function Ic(i, t, e) {
|
|
17712
17718
|
const n = i.slice();
|
|
17713
17719
|
return n[5] = t[e], n[7] = e, n;
|
|
17714
17720
|
}
|
|
17715
|
-
function
|
|
17721
|
+
function Ec(i, t) {
|
|
17716
17722
|
let e, n, o, s;
|
|
17717
17723
|
function r() {
|
|
17718
17724
|
return (
|
|
@@ -17769,8 +17775,8 @@ function Fb(i) {
|
|
|
17769
17775
|
a[7]
|
|
17770
17776
|
);
|
|
17771
17777
|
for (let a = 0; a < s.length; a += 1) {
|
|
17772
|
-
let l =
|
|
17773
|
-
n.set(c, e[a] =
|
|
17778
|
+
let l = Ic(i, s, a), c = r(l);
|
|
17779
|
+
n.set(c, e[a] = Ec(c, l));
|
|
17774
17780
|
}
|
|
17775
17781
|
return {
|
|
17776
17782
|
c() {
|
|
@@ -17790,7 +17796,7 @@ function Fb(i) {
|
|
|
17790
17796
|
7 && (s = Array(
|
|
17791
17797
|
/*pagesCount*/
|
|
17792
17798
|
a[0]
|
|
17793
|
-
), de(), e = Lt(e, l, r, 1, a, s, n, t, fn,
|
|
17799
|
+
), de(), e = Lt(e, l, r, 1, a, s, n, t, fn, Ec, null, Ic), he());
|
|
17794
17800
|
},
|
|
17795
17801
|
i(a) {
|
|
17796
17802
|
if (!o) {
|
|
@@ -18166,7 +18172,7 @@ function P1({
|
|
|
18166
18172
|
particlesToShow: n
|
|
18167
18173
|
});
|
|
18168
18174
|
}
|
|
18169
|
-
function
|
|
18175
|
+
function I1({
|
|
18170
18176
|
pageIndex: i,
|
|
18171
18177
|
clonesCountHead: t,
|
|
18172
18178
|
clonesCountTail: e,
|
|
@@ -18179,7 +18185,7 @@ function E1({
|
|
|
18179
18185
|
o - 1
|
|
18180
18186
|
);
|
|
18181
18187
|
}
|
|
18182
|
-
function
|
|
18188
|
+
function E1({
|
|
18183
18189
|
pageIndex: i,
|
|
18184
18190
|
particlesToScroll: t,
|
|
18185
18191
|
particlesCount: e,
|
|
@@ -18200,13 +18206,13 @@ function Dr({
|
|
|
18200
18206
|
particlesCount: s,
|
|
18201
18207
|
particlesToShow: r
|
|
18202
18208
|
}) {
|
|
18203
|
-
return i ?
|
|
18209
|
+
return i ? I1({
|
|
18204
18210
|
pageIndex: t,
|
|
18205
18211
|
clonesCountHead: e,
|
|
18206
18212
|
clonesCountTail: n,
|
|
18207
18213
|
particlesToScroll: o,
|
|
18208
18214
|
particlesCount: s
|
|
18209
|
-
}) :
|
|
18215
|
+
}) : E1({
|
|
18210
18216
|
pageIndex: t,
|
|
18211
18217
|
particlesToScroll: o,
|
|
18212
18218
|
particlesCount: s,
|
|
@@ -18461,7 +18467,7 @@ function Ay(i) {
|
|
|
18461
18467
|
return !!Lc && Lc in i;
|
|
18462
18468
|
}
|
|
18463
18469
|
var by = Sa(function(i) {
|
|
18464
|
-
i =
|
|
18470
|
+
i = Ey(i);
|
|
18465
18471
|
var t = [];
|
|
18466
18472
|
return O1.test(i) && t.push(""), i.replace(B1, function(e, n, o, s) {
|
|
18467
18473
|
t.push(o ? s.replace(Q1, "$1") : n || e);
|
|
@@ -18511,13 +18517,13 @@ function au(i) {
|
|
|
18511
18517
|
var t = typeof i;
|
|
18512
18518
|
return !!i && (t == "object" || t == "function");
|
|
18513
18519
|
}
|
|
18514
|
-
function
|
|
18520
|
+
function Iy(i) {
|
|
18515
18521
|
return !!i && typeof i == "object";
|
|
18516
18522
|
}
|
|
18517
18523
|
function La(i) {
|
|
18518
|
-
return typeof i == "symbol" ||
|
|
18524
|
+
return typeof i == "symbol" || Iy(i) && ou.call(i) == j1;
|
|
18519
18525
|
}
|
|
18520
|
-
function
|
|
18526
|
+
function Ey(i) {
|
|
18521
18527
|
return i == null ? "" : my(i);
|
|
18522
18528
|
}
|
|
18523
18529
|
function ky(i, t, e) {
|
|
@@ -18533,8 +18539,8 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18533
18539
|
}
|
|
18534
18540
|
};
|
|
18535
18541
|
(function(i, t) {
|
|
18536
|
-
var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]",
|
|
18537
|
-
ie[s] = ie[r] = ie[S] = ie[
|
|
18542
|
+
var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", I = "[object DataView]", T = "[object Float32Array]", D = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
|
|
18543
|
+
ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[T] = ie[D] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[v] = ie[A] = ie[b] = ie[y] = ie[P] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
|
|
18538
18544
|
var Ae = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, we = typeof self == "object" && self && self.Object === Object && self, ge = Ae || we || Function("return this")(), ze = t && !t.nodeType && t, ve = ze && !0 && i && !i.nodeType && i, He = ve && ve.exports === ze;
|
|
18539
18545
|
function ue(p, C) {
|
|
18540
18546
|
return p.set(C[0], C[1]), p;
|
|
@@ -18581,7 +18587,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18581
18587
|
M[++C] = [Ce, N];
|
|
18582
18588
|
}), M;
|
|
18583
18589
|
}
|
|
18584
|
-
function
|
|
18590
|
+
function Ee(p, C) {
|
|
18585
18591
|
return function(M) {
|
|
18586
18592
|
return p(C(M));
|
|
18587
18593
|
};
|
|
@@ -18595,9 +18601,9 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18595
18601
|
var ht = Array.prototype, Ht = Function.prototype, gt = Object.prototype, vt = ge["__core-js_shared__"], je = function() {
|
|
18596
18602
|
var p = /[^.]+$/.exec(vt && vt.keys && vt.keys.IE_PROTO || "");
|
|
18597
18603
|
return p ? "Symbol(src)_1." + p : "";
|
|
18598
|
-
}(), Oe = Ht.toString, Fe = gt.hasOwnProperty,
|
|
18604
|
+
}(), Oe = Ht.toString, Fe = gt.hasOwnProperty, It = gt.toString, wi = RegExp(
|
|
18599
18605
|
"^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18600
|
-
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut =
|
|
18606
|
+
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = gt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ee(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), Et = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ii = lt(_n), vn = lt(pn), Ei = lt(Et), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
|
|
18601
18607
|
function Gt(p) {
|
|
18602
18608
|
var C = -1, M = p ? p.length : 0;
|
|
18603
18609
|
for (this.clear(); ++C < M; ) {
|
|
@@ -18772,7 +18778,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18772
18778
|
return Ti(p) ? N : me(N, M(p));
|
|
18773
18779
|
}
|
|
18774
18780
|
function Us(p) {
|
|
18775
|
-
return
|
|
18781
|
+
return It.call(p);
|
|
18776
18782
|
}
|
|
18777
18783
|
function qs(p) {
|
|
18778
18784
|
if (!_t(p) || ar(p))
|
|
@@ -18849,16 +18855,16 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18849
18855
|
var M = ke(p, C);
|
|
18850
18856
|
return qs(M) ? M : void 0;
|
|
18851
18857
|
}
|
|
18852
|
-
var Wt = Ci ?
|
|
18853
|
-
(_n && Nt(new _n(new ArrayBuffer(1))) !=
|
|
18854
|
-
var C =
|
|
18858
|
+
var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
|
|
18859
|
+
(_n && Nt(new _n(new ArrayBuffer(1))) != I || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != g || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
|
|
18860
|
+
var C = It.call(p), M = C == v ? p.constructor : void 0, N = M ? lt(M) : void 0;
|
|
18855
18861
|
if (N)
|
|
18856
18862
|
switch (N) {
|
|
18857
|
-
case
|
|
18858
|
-
return
|
|
18863
|
+
case Ii:
|
|
18864
|
+
return I;
|
|
18859
18865
|
case vn:
|
|
18860
18866
|
return u;
|
|
18861
|
-
case
|
|
18867
|
+
case Ei:
|
|
18862
18868
|
return g;
|
|
18863
18869
|
case ki:
|
|
18864
18870
|
return b;
|
|
@@ -18882,7 +18888,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18882
18888
|
case a:
|
|
18883
18889
|
case l:
|
|
18884
18890
|
return new Ce(+p);
|
|
18885
|
-
case
|
|
18891
|
+
case I:
|
|
18886
18892
|
return An(p, N);
|
|
18887
18893
|
case T:
|
|
18888
18894
|
case D:
|
|
@@ -18941,7 +18947,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18941
18947
|
return p === C || p !== p && C !== C;
|
|
18942
18948
|
}
|
|
18943
18949
|
function Qn(p) {
|
|
18944
|
-
return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") ||
|
|
18950
|
+
return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || It.call(p) == s);
|
|
18945
18951
|
}
|
|
18946
18952
|
var Ti = Array.isArray;
|
|
18947
18953
|
function Hn(p) {
|
|
@@ -18952,7 +18958,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18952
18958
|
}
|
|
18953
18959
|
var bo = jn || dr;
|
|
18954
18960
|
function zi(p) {
|
|
18955
|
-
var C = _t(p) ?
|
|
18961
|
+
var C = _t(p) ? It.call(p) : "";
|
|
18956
18962
|
return C == d || C == h;
|
|
18957
18963
|
}
|
|
18958
18964
|
function yo(p) {
|
|
@@ -18986,8 +18992,8 @@ var as = {}, My = {
|
|
|
18986
18992
|
}
|
|
18987
18993
|
};
|
|
18988
18994
|
(function(i, t) {
|
|
18989
|
-
var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]",
|
|
18990
|
-
ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[
|
|
18995
|
+
var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", I = "[object Set]", T = "[object String]", D = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
|
|
18996
|
+
ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[I] = ve[T] = ve[q] = !1;
|
|
18991
18997
|
var He = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, ue = typeof self == "object" && self && self.Object === Object && self, be = He || ue || Function("return this")(), Se = t && !t.nodeType && t, me = Se && !0 && i && !i.nodeType && i, Ye = me && me.exports === Se, at = Ye && He.process, ke = function() {
|
|
18992
18998
|
try {
|
|
18993
18999
|
return at && at.binding && at.binding("util");
|
|
@@ -19001,7 +19007,7 @@ var as = {}, My = {
|
|
|
19001
19007
|
}
|
|
19002
19008
|
return pe;
|
|
19003
19009
|
}
|
|
19004
|
-
function
|
|
19010
|
+
function Ee(p, C) {
|
|
19005
19011
|
for (var M = -1, N = C.length, Ce = p.length; ++M < N; )
|
|
19006
19012
|
p[Ce + M] = C[M];
|
|
19007
19013
|
return p;
|
|
@@ -19045,12 +19051,12 @@ var as = {}, My = {
|
|
|
19045
19051
|
M[++C] = N;
|
|
19046
19052
|
}), M;
|
|
19047
19053
|
}
|
|
19048
|
-
var
|
|
19054
|
+
var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
|
|
19049
19055
|
var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
|
|
19050
19056
|
return p ? "Symbol(src)_1." + p : "";
|
|
19051
19057
|
}(), zn = Tt.toString, xs = RegExp(
|
|
19052
19058
|
"^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
19053
|
-
), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn =
|
|
19059
|
+
), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = It.splice, Et = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ii = Wt(be, "DataView"), vn = Wt(be, "Map"), Ei = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ii), Gt = lt(vn), Ds = lt(Ei), Ms = lt(ki), Ss = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
|
|
19054
19060
|
function Ue(p) {
|
|
19055
19061
|
var C = -1, M = p == null ? 0 : p.length;
|
|
19056
19062
|
for (this.clear(); ++C < M; ) {
|
|
@@ -19198,10 +19204,10 @@ var as = {}, My = {
|
|
|
19198
19204
|
}
|
|
19199
19205
|
function Si(p, C, M) {
|
|
19200
19206
|
var N = C(p);
|
|
19201
|
-
return Qn(p) ? N :
|
|
19207
|
+
return Qn(p) ? N : Ee(N, M(p));
|
|
19202
19208
|
}
|
|
19203
19209
|
function An(p) {
|
|
19204
|
-
return p == null ? p === void 0 ? F : b :
|
|
19210
|
+
return p == null ? p === void 0 ? F : b : Et && Et in Object(p) ? Nt(p) : go(p);
|
|
19205
19211
|
}
|
|
19206
19212
|
function mo(p) {
|
|
19207
19213
|
return _t(p) && An(p) == a;
|
|
@@ -19298,7 +19304,7 @@ var as = {}, My = {
|
|
|
19298
19304
|
return p == C + "";
|
|
19299
19305
|
case g:
|
|
19300
19306
|
var De = je;
|
|
19301
|
-
case
|
|
19307
|
+
case I:
|
|
19302
19308
|
var Ge = N & o;
|
|
19303
19309
|
if (De || (De = Fe), p.size != C.size && !Ge)
|
|
19304
19310
|
return !1;
|
|
@@ -19357,21 +19363,21 @@ var as = {}, My = {
|
|
|
19357
19363
|
return Ks(M) ? M : void 0;
|
|
19358
19364
|
}
|
|
19359
19365
|
function Nt(p) {
|
|
19360
|
-
var C = ut.call(p,
|
|
19366
|
+
var C = ut.call(p, Et), M = p[Et];
|
|
19361
19367
|
try {
|
|
19362
|
-
p[
|
|
19368
|
+
p[Et] = void 0;
|
|
19363
19369
|
var N = !0;
|
|
19364
19370
|
} catch (pe) {
|
|
19365
19371
|
}
|
|
19366
19372
|
var Ce = zn.call(p);
|
|
19367
|
-
return N && (C ? p[
|
|
19373
|
+
return N && (C ? p[Et] = M : delete p[Et]), Ce;
|
|
19368
19374
|
}
|
|
19369
19375
|
var ir = Vn ? function(p) {
|
|
19370
19376
|
return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
|
|
19371
19377
|
return _n.call(p, C);
|
|
19372
19378
|
}));
|
|
19373
19379
|
} : cr, jt = An;
|
|
19374
|
-
(
|
|
19380
|
+
(Ii && jt(new Ii(new ArrayBuffer(1))) != R || vn && jt(new vn()) != g || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != I || xi && jt(new xi()) != q) && (jt = function(p) {
|
|
19375
19381
|
var C = An(p), M = C == y ? p.constructor : void 0, N = M ? lt(M) : "";
|
|
19376
19382
|
if (N)
|
|
19377
19383
|
switch (N) {
|
|
@@ -19382,7 +19388,7 @@ var as = {}, My = {
|
|
|
19382
19388
|
case Ds:
|
|
19383
19389
|
return P;
|
|
19384
19390
|
case Ms:
|
|
19385
|
-
return
|
|
19391
|
+
return I;
|
|
19386
19392
|
case Ss:
|
|
19387
19393
|
return q;
|
|
19388
19394
|
}
|
|
@@ -20404,20 +20410,20 @@ function Zy(i) {
|
|
|
20404
20410
|
}
|
|
20405
20411
|
function Ky(i, t, e) {
|
|
20406
20412
|
let { $$slots: n = {}, $$scope: o } = t, s = [], r, a, l = 0, c = 0, d = 1;
|
|
20407
|
-
const [{ data: h, progressManager: u }, m, v] = Gy((oe,
|
|
20413
|
+
const [{ data: h, progressManager: u }, m, v] = Gy((oe, Ee) => {
|
|
20408
20414
|
na({
|
|
20409
|
-
currentPageIndex: () => e(5, r =
|
|
20410
|
-
progressValue: () => e(7, a =
|
|
20411
|
-
offset: () => e(8, l =
|
|
20412
|
-
durationMs: () => e(9, c =
|
|
20413
|
-
pagesCount: () => e(10, d =
|
|
20414
|
-
loaded: () => e(6, s =
|
|
20415
|
+
currentPageIndex: () => e(5, r = Ee),
|
|
20416
|
+
progressValue: () => e(7, a = Ee),
|
|
20417
|
+
offset: () => e(8, l = Ee),
|
|
20418
|
+
durationMs: () => e(9, c = Ee),
|
|
20419
|
+
pagesCount: () => e(10, d = Ee),
|
|
20420
|
+
loaded: () => e(6, s = Ee)
|
|
20415
20421
|
})(oe);
|
|
20416
20422
|
}), g = ms();
|
|
20417
|
-
let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration:
|
|
20418
|
-
function B(oe,
|
|
20423
|
+
let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: D = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
20424
|
+
function B(oe, Ee) {
|
|
20419
20425
|
return X(this, null, function* () {
|
|
20420
|
-
const Be = qi(
|
|
20426
|
+
const Be = qi(Ee, "animated", !0);
|
|
20421
20427
|
if (typeof oe != "number")
|
|
20422
20428
|
throw new Error("pageIndex should be a number");
|
|
20423
20429
|
yield m.showPage(oe, { animated: Be });
|
|
@@ -20425,14 +20431,14 @@ function Ky(i, t, e) {
|
|
|
20425
20431
|
}
|
|
20426
20432
|
function G(oe) {
|
|
20427
20433
|
return X(this, null, function* () {
|
|
20428
|
-
const
|
|
20429
|
-
yield m.showPrevPage({ animated:
|
|
20434
|
+
const Ee = qi(oe, "animated", !0);
|
|
20435
|
+
yield m.showPrevPage({ animated: Ee });
|
|
20430
20436
|
});
|
|
20431
20437
|
}
|
|
20432
20438
|
function U(oe) {
|
|
20433
20439
|
return X(this, null, function* () {
|
|
20434
|
-
const
|
|
20435
|
-
yield m.showNextPage({ animated:
|
|
20440
|
+
const Ee = qi(oe, "animated", !0);
|
|
20441
|
+
yield m.showNextPage({ animated: Ee });
|
|
20436
20442
|
});
|
|
20437
20443
|
}
|
|
20438
20444
|
let Y = 0, J, re;
|
|
@@ -20443,7 +20449,7 @@ function Ky(i, t, e) {
|
|
|
20443
20449
|
}), m.offsetPage({ animated: !1 });
|
|
20444
20450
|
});
|
|
20445
20451
|
function Ae() {
|
|
20446
|
-
const { clonesToAppend: oe, clonesToPrepend:
|
|
20452
|
+
const { clonesToAppend: oe, clonesToPrepend: Ee } = D1({
|
|
20447
20453
|
clonesCountHead: h.clonesCountHead,
|
|
20448
20454
|
clonesCountTail: h.clonesCountTail,
|
|
20449
20455
|
particlesContainerChildren: re.children
|
|
@@ -20451,7 +20457,7 @@ function Ky(i, t, e) {
|
|
|
20451
20457
|
M1({
|
|
20452
20458
|
particlesContainer: re,
|
|
20453
20459
|
clonesToAppend: oe,
|
|
20454
|
-
clonesToPrepend:
|
|
20460
|
+
clonesToPrepend: Ee
|
|
20455
20461
|
});
|
|
20456
20462
|
}
|
|
20457
20463
|
St(() => {
|
|
@@ -20510,14 +20516,14 @@ function Ky(i, t, e) {
|
|
|
20510
20516
|
}
|
|
20511
20517
|
const Ke = (oe) => we(oe.detail);
|
|
20512
20518
|
return i.$$set = (oe) => {
|
|
20513
|
-
"timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27,
|
|
20519
|
+
"timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, D = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
|
|
20514
20520
|
}, i.$$.update = () => {
|
|
20515
20521
|
i.$$.dirty[0] & /*currentPageIndex*/
|
|
20516
20522
|
32 && g("pageChange", r), i.$$.dirty[0] & /*infinite*/
|
|
20517
20523
|
4 && (h.infinite = y), i.$$.dirty[0] & /*duration*/
|
|
20518
20524
|
33554432 && (h.durationMsInit = k), i.$$.dirty[0] & /*autoplay*/
|
|
20519
20525
|
67108864 && (h.autoplay = S), i.$$.dirty[0] & /*autoplayDuration*/
|
|
20520
|
-
134217728 && (h.autoplayDuration =
|
|
20526
|
+
134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
|
|
20521
20527
|
268435456 && (h.autoplayDirection = T), i.$$.dirty[0] & /*pauseOnFocus*/
|
|
20522
20528
|
536870912 && (h.pauseOnFocus = D), i.$$.dirty[1] & /*particlesToShow*/
|
|
20523
20529
|
1 && (h.particlesToShowInit = R), i.$$.dirty[1] & /*particlesToScroll*/
|
|
@@ -20550,7 +20556,7 @@ function Ky(i, t, e) {
|
|
|
20550
20556
|
P,
|
|
20551
20557
|
k,
|
|
20552
20558
|
S,
|
|
20553
|
-
|
|
20559
|
+
I,
|
|
20554
20560
|
T,
|
|
20555
20561
|
D,
|
|
20556
20562
|
Q,
|
|
@@ -20860,7 +20866,7 @@ function sw(i) {
|
|
|
20860
20866
|
);
|
|
20861
20867
|
return {
|
|
20862
20868
|
c() {
|
|
20863
|
-
e && e.c(), t =
|
|
20869
|
+
e && e.c(), t = Ie();
|
|
20864
20870
|
},
|
|
20865
20871
|
m(n, o) {
|
|
20866
20872
|
e && e.m(n, o), V(n, t, o);
|
|
@@ -20910,7 +20916,7 @@ function rw(i, t, e) {
|
|
|
20910
20916
|
tag: r,
|
|
20911
20917
|
mediaInstance: n
|
|
20912
20918
|
});
|
|
20913
|
-
},
|
|
20919
|
+
}, I = (Q) => {
|
|
20914
20920
|
e(10, m = !0), e(0, s.paused = !0, s), b.emit("playStateChange", {
|
|
20915
20921
|
event: Q,
|
|
20916
20922
|
state: "paused",
|
|
@@ -20958,7 +20964,7 @@ function rw(i, t, e) {
|
|
|
20958
20964
|
P,
|
|
20959
20965
|
k,
|
|
20960
20966
|
S,
|
|
20961
|
-
|
|
20967
|
+
I,
|
|
20962
20968
|
T,
|
|
20963
20969
|
D,
|
|
20964
20970
|
F,
|
|
@@ -21278,7 +21284,7 @@ function dw(i) {
|
|
|
21278
21284
|
c() {
|
|
21279
21285
|
for (let r = 0; r < o.length; r += 1)
|
|
21280
21286
|
o[r].c();
|
|
21281
|
-
t =
|
|
21287
|
+
t = Ie();
|
|
21282
21288
|
},
|
|
21283
21289
|
m(r, a) {
|
|
21284
21290
|
for (let l = 0; l < o.length; l += 1)
|
|
@@ -21325,7 +21331,7 @@ function hw(i) {
|
|
|
21325
21331
|
);
|
|
21326
21332
|
return {
|
|
21327
21333
|
c() {
|
|
21328
|
-
n && n.c(), t =
|
|
21334
|
+
n && n.c(), t = Ie();
|
|
21329
21335
|
},
|
|
21330
21336
|
m(o, s) {
|
|
21331
21337
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -21351,7 +21357,7 @@ function hw(i) {
|
|
|
21351
21357
|
function uw(i, t, e) {
|
|
21352
21358
|
let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: u = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: v } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: A = {} } = t;
|
|
21353
21359
|
const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = A;
|
|
21354
|
-
let k = [], S = 0,
|
|
21360
|
+
let k = [], S = 0, I, T = null;
|
|
21355
21361
|
const D = an("hooks"), F = an("mediaStore");
|
|
21356
21362
|
function q() {
|
|
21357
21363
|
const G = k[S], U = G == null ? void 0 : G.videoInstance;
|
|
@@ -21363,7 +21369,7 @@ function uw(i, t, e) {
|
|
|
21363
21369
|
(J = (Y = (U = a.tag3DContentSvelte) == null ? void 0 : U.css3DInstance) == null ? void 0 : Y.css3DObject) != null && J.opacityMesh && G.tag.id === a.id && q();
|
|
21364
21370
|
}), T = setInterval(
|
|
21365
21371
|
() => {
|
|
21366
|
-
r && (
|
|
21372
|
+
r && (I == null || I.goToNext());
|
|
21367
21373
|
},
|
|
21368
21374
|
3e3
|
|
21369
21375
|
);
|
|
@@ -21375,7 +21381,7 @@ function uw(i, t, e) {
|
|
|
21375
21381
|
}
|
|
21376
21382
|
function R(G) {
|
|
21377
21383
|
Ze[G ? "unshift" : "push"](() => {
|
|
21378
|
-
|
|
21384
|
+
I = G, e(12, I);
|
|
21379
21385
|
});
|
|
21380
21386
|
}
|
|
21381
21387
|
const H = (G) => {
|
|
@@ -21405,7 +21411,7 @@ function uw(i, t, e) {
|
|
|
21405
21411
|
n,
|
|
21406
21412
|
s,
|
|
21407
21413
|
S,
|
|
21408
|
-
|
|
21414
|
+
I,
|
|
21409
21415
|
o,
|
|
21410
21416
|
F,
|
|
21411
21417
|
g,
|
|
@@ -21476,7 +21482,7 @@ function Uc(i) {
|
|
|
21476
21482
|
);
|
|
21477
21483
|
return {
|
|
21478
21484
|
c() {
|
|
21479
|
-
ne(t.$$.fragment), e = se(), n = _("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a =
|
|
21485
|
+
ne(t.$$.fragment), e = se(), n = _("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a = Ie(), w(n, "class", "line svelte-1f7m1lj");
|
|
21480
21486
|
},
|
|
21481
21487
|
m(h, u) {
|
|
21482
21488
|
ee(t, h, u), V(h, e, u), V(h, n, u), ee(o, n, null), V(h, s, u), c && c.m(h, u), V(h, r, u), d && d.m(h, u), V(h, a, u), l = !0;
|
|
@@ -21611,7 +21617,7 @@ function mw(i) {
|
|
|
21611
21617
|
);
|
|
21612
21618
|
return {
|
|
21613
21619
|
c() {
|
|
21614
|
-
n && n.c(), t =
|
|
21620
|
+
n && n.c(), t = Ie();
|
|
21615
21621
|
},
|
|
21616
21622
|
m(o, s) {
|
|
21617
21623
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -21953,57 +21959,57 @@ function Aw(i) {
|
|
|
21953
21959
|
i[8]
|
|
21954
21960
|
);
|
|
21955
21961
|
},
|
|
21956
|
-
m(
|
|
21957
|
-
V(
|
|
21962
|
+
m(I, T) {
|
|
21963
|
+
V(I, t, T), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, v), P && P.m(r, null), A = !0;
|
|
21958
21964
|
},
|
|
21959
|
-
p(
|
|
21965
|
+
p(I, [T]) {
|
|
21960
21966
|
var F, q;
|
|
21961
21967
|
const D = {};
|
|
21962
21968
|
T & /*unfolded*/
|
|
21963
21969
|
16 && (D.visible = /*unfolded*/
|
|
21964
|
-
|
|
21970
|
+
I[4]), e.$set(D), T & /*unfolded*/
|
|
21965
21971
|
16 && z(
|
|
21966
21972
|
o,
|
|
21967
21973
|
"transition-delay",
|
|
21968
21974
|
/*unfolded*/
|
|
21969
|
-
|
|
21975
|
+
I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
|
|
21970
21976
|
), /*data*/
|
|
21971
|
-
|
|
21977
|
+
I[3].headerPictureUrl ? b ? b.p(I, T) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
|
|
21972
21978
|
8) && h !== (h = /*data*/
|
|
21973
|
-
|
|
21974
|
-
((F =
|
|
21975
|
-
((q =
|
|
21976
|
-
|
|
21977
|
-
|
|
21979
|
+
I[3].title + "") && Re(u, h), /*primaryTags*/
|
|
21980
|
+
((F = I[2].length) != null ? F : 0) + /*secondaryTags*/
|
|
21981
|
+
((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I, T) : (y = ed(I), y.c(), y.m(r, v)) : y && (y.d(1), y = null), /*havePrice*/
|
|
21982
|
+
I[7] || /*data*/
|
|
21983
|
+
I[3].highlightText ? P ? P.p(I, T) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
|
|
21978
21984
|
16 && z(
|
|
21979
21985
|
r,
|
|
21980
21986
|
"transition-delay",
|
|
21981
21987
|
/*unfolded*/
|
|
21982
|
-
|
|
21988
|
+
I[4] ? Ro + Qo + "ms" : "0ms"
|
|
21983
21989
|
), (!A || T & /*theme*/
|
|
21984
21990
|
64 && g !== (g = _e(`marketing ${/*theme*/
|
|
21985
|
-
|
|
21991
|
+
I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A || T & /*theme, unfolded*/
|
|
21986
21992
|
80) && K(
|
|
21987
21993
|
t,
|
|
21988
21994
|
"unfolded",
|
|
21989
21995
|
/*unfolded*/
|
|
21990
|
-
|
|
21996
|
+
I[4]
|
|
21991
21997
|
), (!A || T & /*theme, folded*/
|
|
21992
21998
|
320) && K(
|
|
21993
21999
|
t,
|
|
21994
22000
|
"folded",
|
|
21995
22001
|
/*folded*/
|
|
21996
|
-
|
|
22002
|
+
I[8]
|
|
21997
22003
|
);
|
|
21998
22004
|
},
|
|
21999
|
-
i(
|
|
22000
|
-
A || (x(e.$$.fragment,
|
|
22005
|
+
i(I) {
|
|
22006
|
+
A || (x(e.$$.fragment, I), A = !0);
|
|
22001
22007
|
},
|
|
22002
|
-
o(
|
|
22003
|
-
L(e.$$.fragment,
|
|
22008
|
+
o(I) {
|
|
22009
|
+
L(e.$$.fragment, I), A = !1;
|
|
22004
22010
|
},
|
|
22005
|
-
d(
|
|
22006
|
-
|
|
22011
|
+
d(I) {
|
|
22012
|
+
I && j(t), te(e), b && b.d(), y && y.d(), P && P.d();
|
|
22007
22013
|
}
|
|
22008
22014
|
};
|
|
22009
22015
|
}
|
|
@@ -22076,7 +22082,7 @@ class ww extends Audio {
|
|
|
22076
22082
|
var n, o, s;
|
|
22077
22083
|
if (this.tryplaying)
|
|
22078
22084
|
return;
|
|
22079
|
-
this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace:
|
|
22085
|
+
this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace: Ia.PlayAudio })), (o = this.eventListenerDisposer) == null || o.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (s = this.currentTime) != null ? s : 0;
|
|
22080
22086
|
const e = this.audioInstance.currentTime !== this.currentTime;
|
|
22081
22087
|
this.audioInstance.play().then(() => {
|
|
22082
22088
|
var r;
|
|
@@ -22214,7 +22220,7 @@ function Pw(i) {
|
|
|
22214
22220
|
}
|
|
22215
22221
|
};
|
|
22216
22222
|
}
|
|
22217
|
-
function
|
|
22223
|
+
function Iw(i, t, e) {
|
|
22218
22224
|
let { $$slots: n = {}, $$scope: o } = t, { url: s } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
22219
22225
|
const c = ms(), d = an("hooks"), h = an("mediaStore");
|
|
22220
22226
|
let u, m = !0;
|
|
@@ -22298,7 +22304,7 @@ let du = class extends ce {
|
|
|
22298
22304
|
super(), le(
|
|
22299
22305
|
this,
|
|
22300
22306
|
t,
|
|
22301
|
-
|
|
22307
|
+
Iw,
|
|
22302
22308
|
Pw,
|
|
22303
22309
|
ae,
|
|
22304
22310
|
{
|
|
@@ -22311,7 +22317,7 @@ let du = class extends ce {
|
|
|
22311
22317
|
);
|
|
22312
22318
|
}
|
|
22313
22319
|
};
|
|
22314
|
-
function
|
|
22320
|
+
function Ew(i) {
|
|
22315
22321
|
fe(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
|
|
22316
22322
|
}
|
|
22317
22323
|
function cd(i) {
|
|
@@ -22460,7 +22466,7 @@ class hu extends ce {
|
|
|
22460
22466
|
style: 2,
|
|
22461
22467
|
width: 6
|
|
22462
22468
|
},
|
|
22463
|
-
|
|
22469
|
+
Ew
|
|
22464
22470
|
);
|
|
22465
22471
|
}
|
|
22466
22472
|
}
|
|
@@ -22505,7 +22511,7 @@ function dd(i) {
|
|
|
22505
22511
|
i[5]
|
|
22506
22512
|
)
|
|
22507
22513
|
}
|
|
22508
|
-
}), h = new
|
|
22514
|
+
}), h = new Ea({
|
|
22509
22515
|
props: {
|
|
22510
22516
|
unfolded: (
|
|
22511
22517
|
/*unfolded*/
|
|
@@ -22571,18 +22577,18 @@ function dd(i) {
|
|
|
22571
22577
|
y[1]), P & /*content*/
|
|
22572
22578
|
32 && (S.content = /*content*/
|
|
22573
22579
|
y[5]), c.$set(S);
|
|
22574
|
-
const
|
|
22580
|
+
const I = {};
|
|
22575
22581
|
P & /*unfolded*/
|
|
22576
|
-
64 && (
|
|
22582
|
+
64 && (I.unfolded = /*unfolded*/
|
|
22577
22583
|
y[6]), P & /*contentWidth*/
|
|
22578
|
-
8 && (
|
|
22584
|
+
8 && (I.length = /*contentWidth*/
|
|
22579
22585
|
y[3]), P & /*foldTextDelay, content*/
|
|
22580
|
-
48 && (
|
|
22586
|
+
48 && (I.outDelay = /*foldTextDelay*/
|
|
22581
22587
|
y[4] + 20 * Math.min(
|
|
22582
22588
|
/*content*/
|
|
22583
22589
|
(D = (T = y[5]) == null ? void 0 : T.length) != null ? D : 10,
|
|
22584
22590
|
15
|
|
22585
|
-
)), h.$set(
|
|
22591
|
+
)), h.$set(I), (!u || P & /*unfolded*/
|
|
22586
22592
|
64) && K(
|
|
22587
22593
|
t,
|
|
22588
22594
|
"unfolded",
|
|
@@ -22665,7 +22671,7 @@ function hd(i) {
|
|
|
22665
22671
|
},
|
|
22666
22672
|
i(l) {
|
|
22667
22673
|
a || (x(e.$$.fragment, l), x(o.$$.fragment, l), l && ot(() => {
|
|
22668
|
-
a && (r && r.end(1), s = Mn(t,
|
|
22674
|
+
a && (r && r.end(1), s = Mn(t, En, {
|
|
22669
22675
|
duration: 1e3,
|
|
22670
22676
|
delay: 0,
|
|
22671
22677
|
easing: si
|
|
@@ -22674,7 +22680,7 @@ function hd(i) {
|
|
|
22674
22680
|
},
|
|
22675
22681
|
o(l) {
|
|
22676
22682
|
var c, d;
|
|
22677
|
-
L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t,
|
|
22683
|
+
L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t, En, {
|
|
22678
22684
|
duration: 1e3,
|
|
22679
22685
|
delay: 20 * Math.min(
|
|
22680
22686
|
/*content*/
|
|
@@ -22725,7 +22731,7 @@ function Sw(i) {
|
|
|
22725
22731
|
);
|
|
22726
22732
|
return {
|
|
22727
22733
|
c() {
|
|
22728
|
-
n && n.c(), t =
|
|
22734
|
+
n && n.c(), t = Ie();
|
|
22729
22735
|
},
|
|
22730
22736
|
m(o, s) {
|
|
22731
22737
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -22965,7 +22971,7 @@ function Vw(i) {
|
|
|
22965
22971
|
);
|
|
22966
22972
|
return {
|
|
22967
22973
|
c() {
|
|
22968
|
-
n && n.c(), t =
|
|
22974
|
+
n && n.c(), t = Ie();
|
|
22969
22975
|
},
|
|
22970
22976
|
m(o, s) {
|
|
22971
22977
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -23122,7 +23128,7 @@ function Hw(i) {
|
|
|
23122
23128
|
}
|
|
23123
23129
|
return ~(t = a(i)) && (e = r[t] = s[t](i)), {
|
|
23124
23130
|
c() {
|
|
23125
|
-
e && e.c(), n =
|
|
23131
|
+
e && e.c(), n = Ie();
|
|
23126
23132
|
},
|
|
23127
23133
|
m(l, c) {
|
|
23128
23134
|
~t && r[t].m(l, c), V(l, n, c), o = !0;
|
|
@@ -23260,7 +23266,7 @@ function Fw(i) {
|
|
|
23260
23266
|
);
|
|
23261
23267
|
return {
|
|
23262
23268
|
c() {
|
|
23263
|
-
n && n.c(), t =
|
|
23269
|
+
n && n.c(), t = Ie();
|
|
23264
23270
|
},
|
|
23265
23271
|
m(o, s) {
|
|
23266
23272
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -23452,7 +23458,7 @@ function Zw(i) {
|
|
|
23452
23458
|
n
|
|
23453
23459
|
), {
|
|
23454
23460
|
c() {
|
|
23455
|
-
t =
|
|
23461
|
+
t = Ie(), n.block.c();
|
|
23456
23462
|
},
|
|
23457
23463
|
m(o, s) {
|
|
23458
23464
|
V(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
|
|
@@ -23510,7 +23516,7 @@ function Kw(i) {
|
|
|
23510
23516
|
n
|
|
23511
23517
|
), {
|
|
23512
23518
|
c() {
|
|
23513
|
-
t =
|
|
23519
|
+
t = Ie(), n.block.c();
|
|
23514
23520
|
},
|
|
23515
23521
|
m(o, s) {
|
|
23516
23522
|
V(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
|
|
@@ -23714,7 +23720,7 @@ function sC(i) {
|
|
|
23714
23720
|
);
|
|
23715
23721
|
return {
|
|
23716
23722
|
c() {
|
|
23717
|
-
n && n.c(), t =
|
|
23723
|
+
n && n.c(), t = Ie();
|
|
23718
23724
|
},
|
|
23719
23725
|
m(o, s) {
|
|
23720
23726
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -23921,7 +23927,7 @@ function uC(i) {
|
|
|
23921
23927
|
let t, e;
|
|
23922
23928
|
return {
|
|
23923
23929
|
c() {
|
|
23924
|
-
t = new Yo(!1), e =
|
|
23930
|
+
t = new Yo(!1), e = Ie(), t.a = e;
|
|
23925
23931
|
},
|
|
23926
23932
|
m(n, o) {
|
|
23927
23933
|
t.m(
|
|
@@ -24024,8 +24030,8 @@ function vC(i) {
|
|
|
24024
24030
|
function AC(i) {
|
|
24025
24031
|
let t, e, n, o, s, r, a, l, c, d;
|
|
24026
24032
|
const h = [
|
|
24027
|
-
IC,
|
|
24028
24033
|
EC,
|
|
24034
|
+
IC,
|
|
24029
24035
|
PC,
|
|
24030
24036
|
CC,
|
|
24031
24037
|
wC,
|
|
@@ -24392,7 +24398,7 @@ function PC(i) {
|
|
|
24392
24398
|
}
|
|
24393
24399
|
};
|
|
24394
24400
|
}
|
|
24395
|
-
function
|
|
24401
|
+
function IC(i) {
|
|
24396
24402
|
let t, e;
|
|
24397
24403
|
return t = new gw({
|
|
24398
24404
|
props: { tag: Qe(
|
|
@@ -24425,7 +24431,7 @@ function EC(i) {
|
|
|
24425
24431
|
}
|
|
24426
24432
|
};
|
|
24427
24433
|
}
|
|
24428
|
-
function
|
|
24434
|
+
function EC(i) {
|
|
24429
24435
|
let t, e;
|
|
24430
24436
|
return t = new _b({
|
|
24431
24437
|
props: { tag: Qe(
|
|
@@ -24475,7 +24481,7 @@ function kC(i) {
|
|
|
24475
24481
|
}
|
|
24476
24482
|
return e = l(i, -1), n = a[e] = r[e](i), {
|
|
24477
24483
|
c() {
|
|
24478
|
-
n.c(), o =
|
|
24484
|
+
n.c(), o = Ie();
|
|
24479
24485
|
},
|
|
24480
24486
|
m(c, d) {
|
|
24481
24487
|
a[e].m(c, d), V(c, o, d), s = !0;
|
|
@@ -24501,20 +24507,20 @@ function xC(i, t, e) {
|
|
|
24501
24507
|
let n, o, s, r, a, l, { withAnimation: c = !1 } = t, { tag: d } = t, { hooks: h } = t, { renderMap: u = /* @__PURE__ */ new Map() } = t, { state: m } = t, { mediaStore: v } = t, { temporaryState: g } = t;
|
|
24502
24508
|
Gr("hooks", h), Gr("mediaStore", v);
|
|
24503
24509
|
let A, b;
|
|
24504
|
-
function y(
|
|
24505
|
-
|
|
24510
|
+
function y(I) {
|
|
24511
|
+
I ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
|
|
24506
24512
|
}
|
|
24507
|
-
function P(
|
|
24513
|
+
function P(I, T, D) {
|
|
24508
24514
|
var F, q;
|
|
24509
|
-
return !(!T.visible || !T.enabled || !D.visible || !((F =
|
|
24515
|
+
return !(!T.visible || !T.enabled || !D.visible || !((F = I.state) != null && F.visible) || ((q = I.temporaryState) == null ? void 0 : q.visible) === !1 || pt(I) && !I.mediaVisible);
|
|
24510
24516
|
}
|
|
24511
|
-
const k = (
|
|
24512
|
-
return i.$$set = (
|
|
24513
|
-
"withAnimation" in
|
|
24517
|
+
const k = (I) => h.emit("click", { event: I, target: "TagContent", tag: d }), S = (I) => h.emit("click", { event: I, target: "TagContent", tag: d });
|
|
24518
|
+
return i.$$set = (I) => {
|
|
24519
|
+
"withAnimation" in I && e(0, c = I.withAnimation), "tag" in I && e(1, d = I.tag), "hooks" in I && e(2, h = I.hooks), "renderMap" in I && e(3, u = I.renderMap), "state" in I && e(6, m = I.state), "mediaStore" in I && e(7, v = I.mediaStore), "temporaryState" in I && e(8, g = I.temporaryState);
|
|
24514
24520
|
}, i.$$.update = () => {
|
|
24515
|
-
var
|
|
24521
|
+
var I, T, D, F, q, Q, R, H, B, G, U;
|
|
24516
24522
|
i.$$.dirty & /*tag*/
|
|
24517
|
-
2 && e(12, n = (
|
|
24523
|
+
2 && e(12, n = (I = d.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
|
|
24518
24524
|
2 && e(11, o = (T = d.state) == null ? void 0 : T.visible), i.$$.dirty & /*state, temporaryState, tag*/
|
|
24519
24525
|
322 && e(13, s = m.visible && g.visible && ((D = d.state) == null ? void 0 : D.visible)), i.$$.dirty & /*tag*/
|
|
24520
24526
|
2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
|
|
@@ -24563,7 +24569,7 @@ let mu = class extends ce {
|
|
|
24563
24569
|
}
|
|
24564
24570
|
};
|
|
24565
24571
|
function DC(i) {
|
|
24566
|
-
fe(i, "svelte-
|
|
24572
|
+
fe(i, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
24567
24573
|
}
|
|
24568
24574
|
function MC(i) {
|
|
24569
24575
|
let t, e, n, o, s, r, a, l, c, d, h, u;
|
|
@@ -24591,7 +24597,7 @@ function MC(i) {
|
|
|
24591
24597
|
i[7]
|
|
24592
24598
|
), {
|
|
24593
24599
|
c() {
|
|
24594
|
-
t = _("div"), e = _("div"), n = se(), ne(o.$$.fragment), s = se(), r = _("div"), a = se(), l = _("div"), ne(c.$$.fragment), w(e, "class", "tag-point-click-helper svelte-
|
|
24600
|
+
t = _("div"), e = _("div"), n = se(), ne(o.$$.fragment), s = se(), r = _("div"), a = se(), l = _("div"), ne(c.$$.fragment), w(e, "class", "tag-point-click-helper svelte-7aiuwz"), w(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
|
|
24595
24601
|
r,
|
|
24596
24602
|
"transition-delay",
|
|
24597
24603
|
/*folded*/
|
|
@@ -24599,7 +24605,7 @@ function MC(i) {
|
|
|
24599
24605
|
/*foldDelay*/
|
|
24600
24606
|
i[5]
|
|
24601
24607
|
) : 0) + "ms"
|
|
24602
|
-
), w(l, "class", "tag-folded-point svelte-
|
|
24608
|
+
), w(l, "class", "tag-folded-point svelte-7aiuwz"), z(
|
|
24603
24609
|
l,
|
|
24604
24610
|
"transition-delay",
|
|
24605
24611
|
/*folded*/
|
|
@@ -24607,7 +24613,7 @@ function MC(i) {
|
|
|
24607
24613
|
/*foldDelay*/
|
|
24608
24614
|
i[5]
|
|
24609
24615
|
) : 0) + "ms"
|
|
24610
|
-
), w(t, "class", "tag-point-wrapper svelte-
|
|
24616
|
+
), w(t, "class", "tag-point-wrapper svelte-7aiuwz"), K(
|
|
24611
24617
|
t,
|
|
24612
24618
|
"unfolded",
|
|
24613
24619
|
/*unfolded*/
|
|
@@ -24703,8 +24709,8 @@ function SC(i, t, e) {
|
|
|
24703
24709
|
1 && e(3, o = !n), i.$$.dirty & /*tag*/
|
|
24704
24710
|
64 && e(2, s = (b = (A = l.style) == null ? void 0 : A.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: FA }), i.$$.dirty & /*tag*/
|
|
24705
24711
|
64 && e(1, r = (() => {
|
|
24706
|
-
var S,
|
|
24707
|
-
const P = (
|
|
24712
|
+
var S, I, T, D;
|
|
24713
|
+
const P = (I = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : I.width;
|
|
24708
24714
|
if (typeof P == "number")
|
|
24709
24715
|
return P;
|
|
24710
24716
|
const k = (D = (T = l.style) == null ? void 0 : T.point) == null ? void 0 : D.size;
|
|
@@ -24742,7 +24748,7 @@ function zC(i) {
|
|
|
24742
24748
|
let t;
|
|
24743
24749
|
return {
|
|
24744
24750
|
c() {
|
|
24745
|
-
t = _("div"), w(t, "data-info", "tag
|
|
24751
|
+
t = _("div"), w(t, "data-info", "tag point is disable");
|
|
24746
24752
|
},
|
|
24747
24753
|
m(e, n) {
|
|
24748
24754
|
V(e, t, n);
|
|
@@ -24756,6 +24762,52 @@ function zC(i) {
|
|
|
24756
24762
|
};
|
|
24757
24763
|
}
|
|
24758
24764
|
function jC(i) {
|
|
24765
|
+
let t, e;
|
|
24766
|
+
return t = new LC({ props: { tag: (
|
|
24767
|
+
/*tag*/
|
|
24768
|
+
i[1]
|
|
24769
|
+
) } }), {
|
|
24770
|
+
c() {
|
|
24771
|
+
ne(t.$$.fragment);
|
|
24772
|
+
},
|
|
24773
|
+
m(n, o) {
|
|
24774
|
+
ee(t, n, o), e = !0;
|
|
24775
|
+
},
|
|
24776
|
+
p(n, o) {
|
|
24777
|
+
const s = {};
|
|
24778
|
+
o & /*tag*/
|
|
24779
|
+
2 && (s.tag = /*tag*/
|
|
24780
|
+
n[1]), t.$set(s);
|
|
24781
|
+
},
|
|
24782
|
+
i(n) {
|
|
24783
|
+
e || (x(t.$$.fragment, n), e = !0);
|
|
24784
|
+
},
|
|
24785
|
+
o(n) {
|
|
24786
|
+
L(t.$$.fragment, n), e = !1;
|
|
24787
|
+
},
|
|
24788
|
+
d(n) {
|
|
24789
|
+
te(t, n);
|
|
24790
|
+
}
|
|
24791
|
+
};
|
|
24792
|
+
}
|
|
24793
|
+
function _C(i) {
|
|
24794
|
+
let t;
|
|
24795
|
+
return {
|
|
24796
|
+
c() {
|
|
24797
|
+
t = _("div"), w(t, "data-info", "tag content is disable");
|
|
24798
|
+
},
|
|
24799
|
+
m(e, n) {
|
|
24800
|
+
V(e, t, n);
|
|
24801
|
+
},
|
|
24802
|
+
p: Z,
|
|
24803
|
+
i: Z,
|
|
24804
|
+
o: Z,
|
|
24805
|
+
d(e) {
|
|
24806
|
+
e && j(t);
|
|
24807
|
+
}
|
|
24808
|
+
};
|
|
24809
|
+
}
|
|
24810
|
+
function VC(i) {
|
|
24759
24811
|
let t, e;
|
|
24760
24812
|
return t = new mu({
|
|
24761
24813
|
props: {
|
|
@@ -24824,67 +24876,21 @@ function jC(i) {
|
|
|
24824
24876
|
}
|
|
24825
24877
|
};
|
|
24826
24878
|
}
|
|
24827
|
-
function _C(i) {
|
|
24828
|
-
let t;
|
|
24829
|
-
return {
|
|
24830
|
-
c() {
|
|
24831
|
-
t = _("div"), w(t, "data-info", "tag point is disable");
|
|
24832
|
-
},
|
|
24833
|
-
m(e, n) {
|
|
24834
|
-
V(e, t, n);
|
|
24835
|
-
},
|
|
24836
|
-
p: Z,
|
|
24837
|
-
i: Z,
|
|
24838
|
-
o: Z,
|
|
24839
|
-
d(e) {
|
|
24840
|
-
e && j(t);
|
|
24841
|
-
}
|
|
24842
|
-
};
|
|
24843
|
-
}
|
|
24844
|
-
function VC(i) {
|
|
24845
|
-
let t, e;
|
|
24846
|
-
return t = new LC({ props: { tag: (
|
|
24847
|
-
/*tag*/
|
|
24848
|
-
i[1]
|
|
24849
|
-
) } }), {
|
|
24850
|
-
c() {
|
|
24851
|
-
ne(t.$$.fragment);
|
|
24852
|
-
},
|
|
24853
|
-
m(n, o) {
|
|
24854
|
-
ee(t, n, o), e = !0;
|
|
24855
|
-
},
|
|
24856
|
-
p(n, o) {
|
|
24857
|
-
const s = {};
|
|
24858
|
-
o & /*tag*/
|
|
24859
|
-
2 && (s.tag = /*tag*/
|
|
24860
|
-
n[1]), t.$set(s);
|
|
24861
|
-
},
|
|
24862
|
-
i(n) {
|
|
24863
|
-
e || (x(t.$$.fragment, n), e = !0);
|
|
24864
|
-
},
|
|
24865
|
-
o(n) {
|
|
24866
|
-
L(t.$$.fragment, n), e = !1;
|
|
24867
|
-
},
|
|
24868
|
-
d(n) {
|
|
24869
|
-
te(t, n);
|
|
24870
|
-
}
|
|
24871
|
-
};
|
|
24872
|
-
}
|
|
24873
24879
|
function OC(i) {
|
|
24874
24880
|
let t, e, n, o, s, r, a, l, c, d;
|
|
24875
24881
|
const h = [jC, zC], u = [];
|
|
24876
24882
|
function m(b, y) {
|
|
24877
24883
|
return (
|
|
24878
|
-
/*
|
|
24879
|
-
b[
|
|
24884
|
+
/*havePoint*/
|
|
24885
|
+
b[14] ? 0 : 1
|
|
24880
24886
|
);
|
|
24881
24887
|
}
|
|
24882
24888
|
n = m(i), o = u[n] = h[n](i);
|
|
24883
24889
|
const v = [VC, _C], g = [];
|
|
24884
24890
|
function A(b, y) {
|
|
24885
24891
|
return (
|
|
24886
|
-
/*
|
|
24887
|
-
b[
|
|
24892
|
+
/*haveContent*/
|
|
24893
|
+
b[13] ? 0 : 1
|
|
24888
24894
|
);
|
|
24889
24895
|
}
|
|
24890
24896
|
return r = A(i), a = g[r] = v[r](i), {
|
|
@@ -24898,7 +24904,7 @@ function OC(i) {
|
|
|
24898
24904
|
e,
|
|
24899
24905
|
"data-tag-unfolded",
|
|
24900
24906
|
/*unfolded*/
|
|
24901
|
-
i[
|
|
24907
|
+
i[6]
|
|
24902
24908
|
), w(
|
|
24903
24909
|
e,
|
|
24904
24910
|
"data-tag-id",
|
|
@@ -24909,17 +24915,12 @@ function OC(i) {
|
|
|
24909
24915
|
e,
|
|
24910
24916
|
"left",
|
|
24911
24917
|
/*left*/
|
|
24912
|
-
i[
|
|
24918
|
+
i[9]
|
|
24913
24919
|
), z(
|
|
24914
24920
|
e,
|
|
24915
24921
|
"top",
|
|
24916
24922
|
/*top*/
|
|
24917
|
-
i[
|
|
24918
|
-
), z(
|
|
24919
|
-
e,
|
|
24920
|
-
"z-index",
|
|
24921
|
-
/*zIndex*/
|
|
24922
|
-
i[6]
|
|
24923
|
+
i[8]
|
|
24923
24924
|
), w(t, "class", "tag svelte-pzwdws"), w(
|
|
24924
24925
|
t,
|
|
24925
24926
|
"data-tag-id",
|
|
@@ -24945,6 +24946,11 @@ function OC(i) {
|
|
|
24945
24946
|
"withAnimation",
|
|
24946
24947
|
/*withAnimation*/
|
|
24947
24948
|
i[0]
|
|
24949
|
+
), z(
|
|
24950
|
+
t,
|
|
24951
|
+
"z-index",
|
|
24952
|
+
/*zIndex*/
|
|
24953
|
+
i[7]
|
|
24948
24954
|
);
|
|
24949
24955
|
},
|
|
24950
24956
|
m(b, y) {
|
|
@@ -24965,11 +24971,11 @@ function OC(i) {
|
|
|
24965
24971
|
b[1].className ? `${/*tag*/
|
|
24966
24972
|
b[1].className}__wrapper` : void 0
|
|
24967
24973
|
)) + " svelte-pzwdws")) && w(e, "class", l), (!d || y & /*unfolded*/
|
|
24968
|
-
|
|
24974
|
+
64) && w(
|
|
24969
24975
|
e,
|
|
24970
24976
|
"data-tag-unfolded",
|
|
24971
24977
|
/*unfolded*/
|
|
24972
|
-
b[
|
|
24978
|
+
b[6]
|
|
24973
24979
|
), (!d || y & /*id*/
|
|
24974
24980
|
4096) && w(
|
|
24975
24981
|
e,
|
|
@@ -24979,23 +24985,17 @@ function OC(i) {
|
|
|
24979
24985
|
), (!d || y & /*tag*/
|
|
24980
24986
|
2 && c !== (c = /*tag*/
|
|
24981
24987
|
b[1].contentType)) && w(e, "data-content-type", c), y & /*left*/
|
|
24982
|
-
|
|
24988
|
+
512 && z(
|
|
24983
24989
|
e,
|
|
24984
24990
|
"left",
|
|
24985
24991
|
/*left*/
|
|
24986
|
-
b[
|
|
24992
|
+
b[9]
|
|
24987
24993
|
), y & /*top*/
|
|
24988
|
-
|
|
24994
|
+
256 && z(
|
|
24989
24995
|
e,
|
|
24990
24996
|
"top",
|
|
24991
24997
|
/*top*/
|
|
24992
|
-
b[
|
|
24993
|
-
), y & /*zIndex*/
|
|
24994
|
-
64 && z(
|
|
24995
|
-
e,
|
|
24996
|
-
"z-index",
|
|
24997
|
-
/*zIndex*/
|
|
24998
|
-
b[6]
|
|
24998
|
+
b[8]
|
|
24999
24999
|
), (!d || y & /*id*/
|
|
25000
25000
|
4096) && w(
|
|
25001
25001
|
t,
|
|
@@ -25026,6 +25026,12 @@ function OC(i) {
|
|
|
25026
25026
|
"withAnimation",
|
|
25027
25027
|
/*withAnimation*/
|
|
25028
25028
|
b[0]
|
|
25029
|
+
), y & /*zIndex*/
|
|
25030
|
+
128 && z(
|
|
25031
|
+
t,
|
|
25032
|
+
"z-index",
|
|
25033
|
+
/*zIndex*/
|
|
25034
|
+
b[7]
|
|
25029
25035
|
);
|
|
25030
25036
|
},
|
|
25031
25037
|
i(b) {
|
|
@@ -25045,7 +25051,7 @@ function BC(i, t, e) {
|
|
|
25045
25051
|
return i.$$set = (P) => {
|
|
25046
25052
|
"withAnimation" in P && e(0, u = P.withAnimation), "tag" in P && e(1, m = P.tag), "mediaStore" in P && e(2, v = P.mediaStore), "renderMap" in P && e(3, g = P.renderMap), "state" in P && e(4, A = P.state), "temporaryState" in P && e(5, b = P.temporaryState);
|
|
25047
25053
|
}, i.$$.update = () => {
|
|
25048
|
-
var P, k, S,
|
|
25054
|
+
var P, k, S, I, T, D, F, q;
|
|
25049
25055
|
i.$$.dirty & /*tag*/
|
|
25050
25056
|
2 && e(14, n = (() => {
|
|
25051
25057
|
var Q, R;
|
|
@@ -25054,11 +25060,11 @@ function BC(i, t, e) {
|
|
|
25054
25060
|
2 && e(13, o = (() => m.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
|
|
25055
25061
|
2 && e(12, s = m.id), i.$$.dirty & /*tag*/
|
|
25056
25062
|
2 && e(11, r = !((P = m.screenPosition) != null && P.leftPercent) || !((k = m.screenPosition) != null && k.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
|
|
25057
|
-
2 && e(10, a = !((S = m.state) != null && S.visible) || ((
|
|
25058
|
-
2 && e(
|
|
25059
|
-
2 && e(
|
|
25060
|
-
2 && e(
|
|
25061
|
-
|
|
25063
|
+
2 && e(10, a = !((S = m.state) != null && S.visible) || ((I = m.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
|
|
25064
|
+
2 && e(6, l = (T = m.state) == null ? void 0 : T.unfolded), i.$$.dirty & /*tag*/
|
|
25065
|
+
2 && e(9, c = ((D = m.screenPosition) == null ? void 0 : D.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
25066
|
+
2 && e(8, d = ((F = m.screenPosition) == null ? void 0 : F.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
25067
|
+
66 && e(7, h = ((q = m.zIndex) != null ? q : 0) + (l ? 1e4 : 0));
|
|
25062
25068
|
}, [
|
|
25063
25069
|
u,
|
|
25064
25070
|
m,
|
|
@@ -25066,10 +25072,10 @@ function BC(i, t, e) {
|
|
|
25066
25072
|
g,
|
|
25067
25073
|
A,
|
|
25068
25074
|
b,
|
|
25075
|
+
l,
|
|
25069
25076
|
h,
|
|
25070
25077
|
d,
|
|
25071
25078
|
c,
|
|
25072
|
-
l,
|
|
25073
25079
|
a,
|
|
25074
25080
|
r,
|
|
25075
25081
|
s,
|
|
@@ -25204,7 +25210,7 @@ function wd(i, t) {
|
|
|
25204
25210
|
key: i,
|
|
25205
25211
|
first: null,
|
|
25206
25212
|
c() {
|
|
25207
|
-
e =
|
|
25213
|
+
e = Ie(), ne(n.$$.fragment), this.first = e;
|
|
25208
25214
|
},
|
|
25209
25215
|
m(s, r) {
|
|
25210
25216
|
V(s, e, r), ee(n, s, r), o = !0;
|
|
@@ -25244,7 +25250,7 @@ function HC(i) {
|
|
|
25244
25250
|
);
|
|
25245
25251
|
return {
|
|
25246
25252
|
c() {
|
|
25247
|
-
n && n.c(), t =
|
|
25253
|
+
n && n.c(), t = Ie();
|
|
25248
25254
|
},
|
|
25249
25255
|
m(o, s) {
|
|
25250
25256
|
n && n.m(o, s), V(o, t, s), e = !0;
|
|
@@ -25534,8 +25540,8 @@ class UC extends JA {
|
|
|
25534
25540
|
*/
|
|
25535
25541
|
updateRenderPointTag() {
|
|
25536
25542
|
var n;
|
|
25537
|
-
const e = this.
|
|
25538
|
-
if (this.setPointTagPosition(), this.TagContainerSvelte)
|
|
25543
|
+
const e = this.filterPointTag;
|
|
25544
|
+
if (this.setTagZIndex(e), this.setPointTagPosition(), this.TagContainerSvelte)
|
|
25539
25545
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
25540
25546
|
else {
|
|
25541
25547
|
const o = (n = this.five.getElement()) == null ? void 0 : n.parentElement;
|
|
@@ -25588,7 +25594,7 @@ class UC extends JA {
|
|
|
25588
25594
|
}
|
|
25589
25595
|
}
|
|
25590
25596
|
}
|
|
25591
|
-
const pu = "Dnalogel-PanoTagPlugin",
|
|
25597
|
+
const pu = "Dnalogel-PanoTagPlugin", aE = (i) => `${pu}--${i}`;
|
|
25592
25598
|
class ia extends UC {
|
|
25593
25599
|
constructor(e, n) {
|
|
25594
25600
|
super(e);
|
|
@@ -25616,7 +25622,7 @@ class ia extends UC {
|
|
|
25616
25622
|
typeof n == "object" && ((o = n.visibleFiveMode) != null && o.includes("Floorplan") || (s = n.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
|
|
25617
25623
|
}), this.updateRenderAllTags();
|
|
25618
25624
|
});
|
|
25619
|
-
this.params = Xe({}, { debug: !1, config: this.config }, W({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace:
|
|
25625
|
+
this.params = Xe({}, { debug: !1, config: this.config }, W({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ia.PlayAudio });
|
|
25620
25626
|
try {
|
|
25621
25627
|
const o = window;
|
|
25622
25628
|
Array.isArray(o.__PANOTAGPLUGIN_DEBUG_LIST__) || (o.__PANOTAGPLUGIN_DEBUG_LIST__ = []), o.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), o.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -25636,7 +25642,7 @@ class ia extends UC {
|
|
|
25636
25642
|
const o = yield this.addTag(e.tagList, n);
|
|
25637
25643
|
if (this.debug)
|
|
25638
25644
|
try {
|
|
25639
|
-
|
|
25645
|
+
IA(this.five, this.tags);
|
|
25640
25646
|
} catch (a) {
|
|
25641
25647
|
console.error(a);
|
|
25642
25648
|
}
|
|
@@ -25649,12 +25655,12 @@ class ia extends UC {
|
|
|
25649
25655
|
addTag(e, n) {
|
|
25650
25656
|
return X(this, null, function* () {
|
|
25651
25657
|
const s = (Array.isArray(e) ? e : [e]).map((r) => {
|
|
25652
|
-
var
|
|
25653
|
-
const a = this.getTagConfig(r);
|
|
25658
|
+
var d, h;
|
|
25659
|
+
const a = this.getTagConfig(r), l = JSON.parse(JSON.stringify(r.data));
|
|
25654
25660
|
return ye(W({}, r), {
|
|
25655
|
-
enabled: (
|
|
25656
|
-
id: (
|
|
25657
|
-
data: Xe(
|
|
25661
|
+
enabled: (d = r.enabled) != null ? d : !0,
|
|
25662
|
+
id: (h = r.id) != null ? h : dt(),
|
|
25663
|
+
data: Xe(r.data, a.initialData, l),
|
|
25658
25664
|
state: W({
|
|
25659
25665
|
visible: void 0,
|
|
25660
25666
|
unfolded: !this.can("fold", r)
|
|
@@ -25666,7 +25672,8 @@ class ia extends UC {
|
|
|
25666
25672
|
fold: () => this.changeUnfoldedById(r.id, !1),
|
|
25667
25673
|
enable: () => this.changeEnabledById(r.id, !0),
|
|
25668
25674
|
disable: () => this.changeEnabledById(r.id, !1),
|
|
25669
|
-
destroy: () => this.destroyTagById(r.id)
|
|
25675
|
+
destroy: () => this.destroyTagById(r.id),
|
|
25676
|
+
changeData: (u) => this.changeDataById(r.id, u)
|
|
25670
25677
|
});
|
|
25671
25678
|
}).filter((r) => r.position);
|
|
25672
25679
|
return s.forEach(_A), this.tags.push(...s), LA(this.five).then(() => X(this, null, function* () {
|
|
@@ -25767,7 +25774,7 @@ class ia extends UC {
|
|
|
25767
25774
|
changeDataById(e, n, o = !0) {
|
|
25768
25775
|
const s = this.getTagById(e);
|
|
25769
25776
|
let r = !1;
|
|
25770
|
-
s && (s.data && (r = !0), o ? s.data = Xe(
|
|
25777
|
+
s && (s.data && (r = !0), o ? s.data = Xe(s.data, n) : s.data = W(W({}, s.data), n), this.clearUnusedPanelTag(), this.updateRenderAllTags(), r && s.hooks.emit("dataChanged", s.data));
|
|
25771
25778
|
}
|
|
25772
25779
|
/**
|
|
25773
25780
|
* @description: 改变tag的stickType
|
|
@@ -25919,7 +25926,7 @@ class ia extends UC {
|
|
|
25919
25926
|
return (a = (r = s.config) == null ? void 0 : r.modelConfig) == null ? void 0 : a.autoLookAtEnabled;
|
|
25920
25927
|
}).forEach((s) => {
|
|
25921
25928
|
var u;
|
|
25922
|
-
const r = new
|
|
25929
|
+
const r = new E.Mesh(new E.BoxGeometry(), new E.MeshBasicMaterial()), a = (u = s.model) == null ? void 0 : u.object;
|
|
25923
25930
|
if (!a)
|
|
25924
25931
|
return;
|
|
25925
25932
|
r.position.copy(a.position), r.quaternion.copy(a.quaternion);
|
|
@@ -25948,7 +25955,7 @@ class ia extends UC {
|
|
|
25948
25955
|
}
|
|
25949
25956
|
}
|
|
25950
25957
|
var qC = /* @__PURE__ */ ((i) => (i.PointTag = "PointTag", i.PlaneTag = "PlaneTag", i))(qC || {}), JC = /* @__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))(JC || {}), ZC = /* @__PURE__ */ ((i) => (i.Two = "2D", i.Three = "3D", i))(ZC || {});
|
|
25951
|
-
const
|
|
25958
|
+
const lE = (i, t) => new ia(i, t);
|
|
25952
25959
|
function KC(i) {
|
|
25953
25960
|
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}");
|
|
25954
25961
|
}
|
|
@@ -26192,18 +26199,18 @@ class oa {
|
|
|
26192
26199
|
f(this, "logError", (t) => Qh("GuideLineModeItem: ", t));
|
|
26193
26200
|
var s, r;
|
|
26194
26201
|
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) };
|
|
26195
|
-
const n = new
|
|
26202
|
+
const n = new E.BufferGeometry(), o = new E.ShaderMaterial({
|
|
26196
26203
|
vertexShader: iP,
|
|
26197
26204
|
fragmentShader: oP,
|
|
26198
26205
|
transparent: !0,
|
|
26199
26206
|
uniforms: {
|
|
26200
26207
|
map: { value: null },
|
|
26201
26208
|
useMapColor: { value: 0 },
|
|
26202
|
-
mapColor: { value: new
|
|
26209
|
+
mapColor: { value: new E.Color() },
|
|
26203
26210
|
mapOpacity: { value: 1 },
|
|
26204
|
-
backgroundColor: { value: new
|
|
26211
|
+
backgroundColor: { value: new E.Color() },
|
|
26205
26212
|
backgroundOpacity: { value: 0 },
|
|
26206
|
-
borderColor: { value: new
|
|
26213
|
+
borderColor: { value: new E.Color() },
|
|
26207
26214
|
borderOpacity: { value: 0 },
|
|
26208
26215
|
opacity: { value: 1 },
|
|
26209
26216
|
flicker: { value: 1 },
|
|
@@ -26211,7 +26218,7 @@ class oa {
|
|
|
26211
26218
|
vOffset: { value: 0 }
|
|
26212
26219
|
}
|
|
26213
26220
|
});
|
|
26214
|
-
this.mesh = new
|
|
26221
|
+
this.mesh = new E.Mesh(n, o), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (s = this.five.model) == null ? void 0 : s.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
|
|
26215
26222
|
}
|
|
26216
26223
|
get panoGroup() {
|
|
26217
26224
|
return this._panoGroup;
|
|
@@ -26284,13 +26291,13 @@ class oa {
|
|
|
26284
26291
|
setColor(t) {
|
|
26285
26292
|
if (this.disposed)
|
|
26286
26293
|
return this.logError("disposed");
|
|
26287
|
-
t && (this.mesh.material.uniforms.mapColor.value = new
|
|
26294
|
+
t && (this.mesh.material.uniforms.mapColor.value = new E.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
26288
26295
|
}
|
|
26289
26296
|
/** 设置边框 */
|
|
26290
26297
|
setBorderColor(t) {
|
|
26291
26298
|
if (this.disposed)
|
|
26292
26299
|
return this.logError("disposed");
|
|
26293
|
-
this.mesh.material.uniforms.borderColor.value = new
|
|
26300
|
+
this.mesh.material.uniforms.borderColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
26294
26301
|
}
|
|
26295
26302
|
/** 设置边框透明度 */
|
|
26296
26303
|
setBorderOpacity(t) {
|
|
@@ -26302,7 +26309,7 @@ class oa {
|
|
|
26302
26309
|
setBackgroundColor(t) {
|
|
26303
26310
|
if (this.disposed)
|
|
26304
26311
|
return this.logError("disposed");
|
|
26305
|
-
this.mesh.material.uniforms.backgroundColor.value = new
|
|
26312
|
+
this.mesh.material.uniforms.backgroundColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
26306
26313
|
}
|
|
26307
26314
|
/** 设置背景透明度 */
|
|
26308
26315
|
setBackgroundOpacity(t) {
|
|
@@ -26327,7 +26334,7 @@ class oa {
|
|
|
26327
26334
|
if (this.disposed)
|
|
26328
26335
|
return this.logError("disposed");
|
|
26329
26336
|
this.textureUrl = t, to(t).then((e) => {
|
|
26330
|
-
this.disposed || this.textureUrl === t && (e.wrapT =
|
|
26337
|
+
this.disposed || this.textureUrl === t && (e.wrapT = E.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
26331
26338
|
});
|
|
26332
26339
|
}
|
|
26333
26340
|
setVisibleFloorIndexes(t) {
|
|
@@ -26382,13 +26389,13 @@ class oa {
|
|
|
26382
26389
|
function Sr(i) {
|
|
26383
26390
|
return i.contentType === "Custom";
|
|
26384
26391
|
}
|
|
26385
|
-
const
|
|
26392
|
+
const cE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26386
26393
|
__proto__: null,
|
|
26387
26394
|
GuideLineModeItem: oa
|
|
26388
26395
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
26389
26396
|
function Pd(i) {
|
|
26390
26397
|
const t = Math.abs(Math.cos(i.latitude));
|
|
26391
|
-
return new
|
|
26398
|
+
return new E.Vector3(
|
|
26392
26399
|
/* x */
|
|
26393
26400
|
-Math.sin(i.longitude) * t,
|
|
26394
26401
|
/* y */
|
|
@@ -26430,14 +26437,14 @@ function dP(i) {
|
|
|
26430
26437
|
}, i);
|
|
26431
26438
|
});
|
|
26432
26439
|
}
|
|
26433
|
-
const gu = "v1.0.6", vu = "CruisePlugin",
|
|
26434
|
-
console.error(`${
|
|
26440
|
+
const gu = "v1.0.6", vu = "CruisePlugin", Is = `${vu}@${gu}`, Id = () => {
|
|
26441
|
+
console.error(`${Is} is disposed`);
|
|
26435
26442
|
}, hP = () => {
|
|
26436
|
-
console.warn(`${
|
|
26443
|
+
console.warn(`${Is} is disabled`);
|
|
26437
26444
|
}, uP = () => {
|
|
26438
|
-
console.error(`${
|
|
26445
|
+
console.error(`${Is} is disabled`);
|
|
26439
26446
|
}, Lr = /* @__PURE__ */ new Map();
|
|
26440
|
-
class
|
|
26447
|
+
class Es extends Sn {
|
|
26441
26448
|
constructor(e, n) {
|
|
26442
26449
|
super(e, n);
|
|
26443
26450
|
f(this, "state", {
|
|
@@ -26479,7 +26486,7 @@ class Is extends Sn {
|
|
|
26479
26486
|
return X(this, null, function* () {
|
|
26480
26487
|
var d, h, u, m, v, g;
|
|
26481
26488
|
if (this.state.disposed)
|
|
26482
|
-
return
|
|
26489
|
+
return Id();
|
|
26483
26490
|
this.privateState.fiveOriginGetProgress || (h = (d = this.five.controller) == null ? void 0 : d.cameraMotion) != null && h.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (m = (u = this.five.controller) == null ? void 0 : u.cameraMotion) == null ? void 0 : m.getProgress), this.clear();
|
|
26484
26491
|
const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
|
|
26485
26492
|
this.data = r, this.hooks.emit("dataChange", r, s);
|
|
@@ -26500,7 +26507,7 @@ class Is extends Sn {
|
|
|
26500
26507
|
const k = a.length;
|
|
26501
26508
|
a[k] = [A];
|
|
26502
26509
|
}
|
|
26503
|
-
}), !this.GuideLine && ((v = this.config) == null ? void 0 : v.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = pP(this.five, this.config)), (g = this.GuideLine) == null || g.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.debug(`${
|
|
26510
|
+
}), !this.GuideLine && ((v = this.config) == null ? void 0 : v.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = pP(this.five, this.config)), (g = this.GuideLine) == null || g.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.debug(`${Is} loaded`, r), this.hooks.emit("dataLoaded", r);
|
|
26504
26511
|
});
|
|
26505
26512
|
}
|
|
26506
26513
|
/**
|
|
@@ -26570,7 +26577,7 @@ class Is extends Sn {
|
|
|
26570
26577
|
setState(e, n) {
|
|
26571
26578
|
var s;
|
|
26572
26579
|
if (this.state.disposed)
|
|
26573
|
-
return
|
|
26580
|
+
return Id();
|
|
26574
26581
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
26575
26582
|
return uP();
|
|
26576
26583
|
const o = W({}, this.state);
|
|
@@ -26607,7 +26614,7 @@ class Is extends Sn {
|
|
|
26607
26614
|
const m = (A = n[c]) == null ? void 0 : A.position, v = (b = n[u]) == null ? void 0 : b.position;
|
|
26608
26615
|
if (!v || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((P = n[u]) == null ? void 0 : P.floorIndex))
|
|
26609
26616
|
return;
|
|
26610
|
-
const g = new
|
|
26617
|
+
const g = new E.Vector3().subVectors(v, m);
|
|
26611
26618
|
return lP(g.normalize());
|
|
26612
26619
|
})();
|
|
26613
26620
|
o.moveType === void 0 || o.moveType === "justMove" ? s.push({
|
|
@@ -26982,10 +26989,10 @@ class Is extends Sn {
|
|
|
26982
26989
|
this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
|
|
26983
26990
|
}
|
|
26984
26991
|
}
|
|
26985
|
-
f(
|
|
26986
|
-
const
|
|
26992
|
+
f(Es, "PluginVersion", gu);
|
|
26993
|
+
const dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26987
26994
|
__proto__: null
|
|
26988
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
26995
|
+
}, Symbol.toStringTag, { value: "Module" })), hE = (i) => new Es(i);
|
|
26989
26996
|
class Au {
|
|
26990
26997
|
constructor(t) {
|
|
26991
26998
|
f(this, "id");
|
|
@@ -27046,7 +27053,7 @@ function fP(i, t) {
|
|
|
27046
27053
|
return;
|
|
27047
27054
|
const e = i.getCurrentState();
|
|
27048
27055
|
e.mode !== "Panorama" && (yield ya(i, ["Panorama", { longitude: e.longitude, latitude: 0, panoIndex: t.panoIndexList[0] }]));
|
|
27049
|
-
const n = new
|
|
27056
|
+
const n = new Es(i, { useGuideLine: !1 });
|
|
27050
27057
|
yield n.load(t), yield new Promise((o, s) => {
|
|
27051
27058
|
const r = i.getCurrentState();
|
|
27052
27059
|
let a = t.panoIndexList.slice();
|
|
@@ -27075,10 +27082,10 @@ function fP(i, t) {
|
|
|
27075
27082
|
});
|
|
27076
27083
|
});
|
|
27077
27084
|
}
|
|
27078
|
-
const
|
|
27085
|
+
const uE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27079
27086
|
__proto__: null,
|
|
27080
27087
|
GuideLineItem: Au
|
|
27081
|
-
}, Symbol.toStringTag, { value: "Module" })), bu = "v1.1.0", sa = "GuideLinePlugin",
|
|
27088
|
+
}, Symbol.toStringTag, { value: "Module" })), bu = "v1.1.0", sa = "GuideLinePlugin", Ed = `${sa}@${bu}`;
|
|
27082
27089
|
class mP extends Sn {
|
|
27083
27090
|
constructor(e, n) {
|
|
27084
27091
|
super(e, n);
|
|
@@ -27096,9 +27103,9 @@ class mP extends Sn {
|
|
|
27096
27103
|
f(this, "data");
|
|
27097
27104
|
f(this, "_disposed", !1);
|
|
27098
27105
|
f(this, "disposedErrorLog", () => {
|
|
27099
|
-
console.error(`${
|
|
27106
|
+
console.error(`${Ed} is disposed`);
|
|
27100
27107
|
});
|
|
27101
|
-
this.cruisePlugin = new
|
|
27108
|
+
this.cruisePlugin = new Es(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
|
|
27102
27109
|
}
|
|
27103
27110
|
get disposed() {
|
|
27104
27111
|
return this._disposed;
|
|
@@ -27123,7 +27130,7 @@ class mP extends Sn {
|
|
|
27123
27130
|
})) != null ? A : [], d = (y = (b = r.lines) == null ? void 0 : b.map((P) => Xe({}, l, P))) != null ? y : [], h = [...c, ...d];
|
|
27124
27131
|
yield this.waitFiveLoaded(), this.clear(), h.forEach((P) => {
|
|
27125
27132
|
this.addGuideLineItem(P);
|
|
27126
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: o }), this.hooks.emit("dataLoaded", r), console.debug(`${
|
|
27133
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: o }), this.hooks.emit("dataLoaded", r), console.debug(`${Ed} loaded`, r);
|
|
27127
27134
|
});
|
|
27128
27135
|
}
|
|
27129
27136
|
formatData(e) {
|
|
@@ -27184,7 +27191,7 @@ class mP extends Sn {
|
|
|
27184
27191
|
return Array.isArray(r) && r.every((a) => typeof a == "number");
|
|
27185
27192
|
}
|
|
27186
27193
|
function o(r, a) {
|
|
27187
|
-
return new
|
|
27194
|
+
return new E.Vector3().fromArray(r).distanceTo(new E.Vector3().fromArray(a)) < 0.01;
|
|
27188
27195
|
}
|
|
27189
27196
|
function s(r) {
|
|
27190
27197
|
var l;
|
|
@@ -27236,7 +27243,7 @@ class mP extends Sn {
|
|
|
27236
27243
|
const pP = (i, t) => new mP(i, t);
|
|
27237
27244
|
function yu(i, t, e) {
|
|
27238
27245
|
if (e) {
|
|
27239
|
-
const o = new
|
|
27246
|
+
const o = new E.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
|
|
27240
27247
|
i.position.copy(o);
|
|
27241
27248
|
}
|
|
27242
27249
|
i.quaternion.copy(t);
|
|
@@ -27325,14 +27332,14 @@ class wu extends ks {
|
|
|
27325
27332
|
}
|
|
27326
27333
|
class yP extends wu {
|
|
27327
27334
|
}
|
|
27328
|
-
class wP extends
|
|
27335
|
+
class wP extends E.Group {
|
|
27329
27336
|
constructor(e) {
|
|
27330
27337
|
super();
|
|
27331
27338
|
f(this, "direction");
|
|
27332
27339
|
this.direction = e || "x";
|
|
27333
27340
|
}
|
|
27334
27341
|
}
|
|
27335
|
-
class kd extends
|
|
27342
|
+
class kd extends E.Mesh {
|
|
27336
27343
|
constructor(e, n, o) {
|
|
27337
27344
|
super(e, n);
|
|
27338
27345
|
f(this, "direction");
|
|
@@ -27341,7 +27348,7 @@ class kd extends I.Mesh {
|
|
|
27341
27348
|
}
|
|
27342
27349
|
function CP(i, t) {
|
|
27343
27350
|
const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
|
|
27344
|
-
return Object.assign(new
|
|
27351
|
+
return Object.assign(new E.Vector2(), {
|
|
27345
27352
|
x: (i.x - s) / e * 2 - 1,
|
|
27346
27353
|
y: -(i.y - o) / n * 2 + 1
|
|
27347
27354
|
});
|
|
@@ -27352,7 +27359,7 @@ function za(i, t, e) {
|
|
|
27352
27359
|
const n = CP(t, e);
|
|
27353
27360
|
if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
|
|
27354
27361
|
return;
|
|
27355
|
-
const o = new
|
|
27362
|
+
const o = new E.Raycaster();
|
|
27356
27363
|
return o.setFromCamera(n, i), o;
|
|
27357
27364
|
}
|
|
27358
27365
|
function PP(i, t) {
|
|
@@ -27367,15 +27374,15 @@ class Tr extends wP {
|
|
|
27367
27374
|
f(this, "lineHeight", 0.4);
|
|
27368
27375
|
f(this, "arrowHeight", 0.1);
|
|
27369
27376
|
this.name = "ArrowGroup";
|
|
27370
|
-
const n = new
|
|
27377
|
+
const n = new E.Color((d = e.color) != null ? d : 16214315), o = new E.MeshBasicMaterial({
|
|
27371
27378
|
color: n,
|
|
27372
27379
|
depthTest: !1,
|
|
27373
27380
|
opacity: 1,
|
|
27374
27381
|
transparent: !0,
|
|
27375
|
-
side:
|
|
27376
|
-
}), s = new
|
|
27382
|
+
side: E.DoubleSide
|
|
27383
|
+
}), s = new E.ConeGeometry(0.04, 0.1, 32), r = new kd(s, o.clone(), e.direction);
|
|
27377
27384
|
r.name = `arrow-${e.direction}`, this.arrow = r;
|
|
27378
|
-
const a = 4e-3, l = new
|
|
27385
|
+
const a = 4e-3, l = new E.CylinderGeometry(a, a, 0.4, 32), c = new kd(l, o.clone(), e.direction);
|
|
27379
27386
|
c.name = `line-${e.direction}`, this.line = c, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
|
|
27380
27387
|
}
|
|
27381
27388
|
formatArrow() {
|
|
@@ -27392,16 +27399,16 @@ const zr = {
|
|
|
27392
27399
|
};
|
|
27393
27400
|
class ni {
|
|
27394
27401
|
static get X() {
|
|
27395
|
-
return new
|
|
27402
|
+
return new E.Color(zr.X).convertSRGBToLinear().clone();
|
|
27396
27403
|
}
|
|
27397
27404
|
static get Y() {
|
|
27398
|
-
return new
|
|
27405
|
+
return new E.Color(zr.Y).convertSRGBToLinear().clone();
|
|
27399
27406
|
}
|
|
27400
27407
|
static get Z() {
|
|
27401
|
-
return new
|
|
27408
|
+
return new E.Color(zr.Z).convertSRGBToLinear().clone();
|
|
27402
27409
|
}
|
|
27403
27410
|
}
|
|
27404
|
-
class
|
|
27411
|
+
class IP extends vP {
|
|
27405
27412
|
constructor(e) {
|
|
27406
27413
|
super(e);
|
|
27407
27414
|
f(this, "xArrow", new Tr({ direction: "x", color: ni.X }));
|
|
@@ -27419,10 +27426,10 @@ class EP extends vP {
|
|
|
27419
27426
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
27420
27427
|
}
|
|
27421
27428
|
}
|
|
27422
|
-
function
|
|
27423
|
-
return
|
|
27429
|
+
function In(i, t) {
|
|
27430
|
+
return EP(document.createElement(t != null ? t : "div"), i);
|
|
27424
27431
|
}
|
|
27425
|
-
function
|
|
27432
|
+
function EP(i, t) {
|
|
27426
27433
|
if (!t)
|
|
27427
27434
|
return i;
|
|
27428
27435
|
for (const e in t)
|
|
@@ -27430,7 +27437,7 @@ function IP(i, t) {
|
|
|
27430
27437
|
return i;
|
|
27431
27438
|
}
|
|
27432
27439
|
function kP(i) {
|
|
27433
|
-
const t =
|
|
27440
|
+
const t = In(W({
|
|
27434
27441
|
position: "absolute",
|
|
27435
27442
|
display: "block",
|
|
27436
27443
|
borderRadius: "4px",
|
|
@@ -27440,7 +27447,7 @@ function kP(i) {
|
|
|
27440
27447
|
paddingRight: "4px",
|
|
27441
27448
|
pointerEvents: "none",
|
|
27442
27449
|
userSelect: "none",
|
|
27443
|
-
zIndex: "
|
|
27450
|
+
zIndex: "99999",
|
|
27444
27451
|
backgroundColor: "rgba(0,0,0,0.7)",
|
|
27445
27452
|
fontSize: "12px",
|
|
27446
27453
|
color: "#fff",
|
|
@@ -27482,7 +27489,7 @@ class xP extends bP {
|
|
|
27482
27489
|
this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
|
|
27483
27490
|
}
|
|
27484
27491
|
}
|
|
27485
|
-
class jr extends
|
|
27492
|
+
class jr extends E.Group {
|
|
27486
27493
|
constructor(e) {
|
|
27487
27494
|
super();
|
|
27488
27495
|
f(this, "direction");
|
|
@@ -27504,41 +27511,41 @@ class jr extends I.Group {
|
|
|
27504
27511
|
this.remove(this.ring, this.angleSector, this.circle);
|
|
27505
27512
|
}
|
|
27506
27513
|
}
|
|
27507
|
-
class DP extends
|
|
27514
|
+
class DP extends E.Mesh {
|
|
27508
27515
|
constructor(e) {
|
|
27509
27516
|
var n;
|
|
27510
27517
|
super();
|
|
27511
27518
|
f(this, "direction");
|
|
27512
27519
|
f(this, "gapAngle", 0.02);
|
|
27513
|
-
f(this, "geometry", new
|
|
27514
|
-
this.material = new
|
|
27520
|
+
f(this, "geometry", new E.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
|
|
27521
|
+
this.material = new E.MeshBasicMaterial({
|
|
27515
27522
|
opacity: 0.6,
|
|
27516
27523
|
color: (n = e.color) != null ? n : 16777215,
|
|
27517
27524
|
transparent: !0,
|
|
27518
|
-
side:
|
|
27525
|
+
side: E.DoubleSide,
|
|
27519
27526
|
depthTest: !1
|
|
27520
27527
|
}), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
|
|
27521
27528
|
}
|
|
27522
27529
|
}
|
|
27523
|
-
class MP extends
|
|
27530
|
+
class MP extends E.Group {
|
|
27524
27531
|
constructor(e) {
|
|
27525
27532
|
super();
|
|
27526
27533
|
f(this, "direction");
|
|
27527
27534
|
this.direction = e.direction;
|
|
27528
27535
|
const n = 0.015, o = new Array(8).fill(null).map((s, r) => {
|
|
27529
|
-
const a = new
|
|
27536
|
+
const a = new E.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new E.MeshBasicMaterial({
|
|
27530
27537
|
opacity: 1,
|
|
27531
27538
|
color: 16777215,
|
|
27532
27539
|
depthTest: !1,
|
|
27533
27540
|
transparent: !0,
|
|
27534
|
-
side:
|
|
27535
|
-
}), c = new
|
|
27541
|
+
side: E.DoubleSide
|
|
27542
|
+
}), c = new E.Mesh(a, l);
|
|
27536
27543
|
return c.name = `AxesDashedRing-${this.direction}-${r}`, c;
|
|
27537
27544
|
});
|
|
27538
27545
|
this.add(...o);
|
|
27539
27546
|
}
|
|
27540
27547
|
}
|
|
27541
|
-
class SP extends
|
|
27548
|
+
class SP extends E.Mesh {
|
|
27542
27549
|
constructor(e) {
|
|
27543
27550
|
var o;
|
|
27544
27551
|
super();
|
|
@@ -27547,34 +27554,34 @@ class SP extends I.Mesh {
|
|
|
27547
27554
|
f(this, "angleDirection");
|
|
27548
27555
|
switch (e.direction) {
|
|
27549
27556
|
case "x":
|
|
27550
|
-
this.baseAxes = new
|
|
27557
|
+
this.baseAxes = new E.Vector3(0, 0, 1);
|
|
27551
27558
|
break;
|
|
27552
27559
|
case "y":
|
|
27553
|
-
this.baseAxes = new
|
|
27560
|
+
this.baseAxes = new E.Vector3(1, 0, 0);
|
|
27554
27561
|
break;
|
|
27555
27562
|
case "z":
|
|
27556
|
-
this.baseAxes = new
|
|
27563
|
+
this.baseAxes = new E.Vector3(1, 0, 0);
|
|
27557
27564
|
break;
|
|
27558
27565
|
}
|
|
27559
27566
|
const n = 0.3 + 5e-4;
|
|
27560
|
-
this.geometry = new
|
|
27567
|
+
this.geometry = new E.CircleGeometry(n, 48, 0, 1e-4), this.material = new E.MeshBasicMaterial({
|
|
27561
27568
|
opacity: 0.4,
|
|
27562
27569
|
color: (o = e.color) != null ? o : 16777215,
|
|
27563
27570
|
depthTest: !1,
|
|
27564
27571
|
transparent: !0,
|
|
27565
|
-
side:
|
|
27572
|
+
side: E.DoubleSide
|
|
27566
27573
|
}), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
|
|
27567
27574
|
}
|
|
27568
27575
|
}
|
|
27569
27576
|
function LP() {
|
|
27570
|
-
const i =
|
|
27577
|
+
const i = In({
|
|
27571
27578
|
width: "100%",
|
|
27572
27579
|
height: "100%",
|
|
27573
27580
|
left: "0",
|
|
27574
27581
|
top: "0",
|
|
27575
27582
|
position: "absolute",
|
|
27576
27583
|
pointerEvents: "none"
|
|
27577
|
-
}), t =
|
|
27584
|
+
}), t = In({
|
|
27578
27585
|
boxSizing: "border-box",
|
|
27579
27586
|
width: "100%",
|
|
27580
27587
|
height: "100%",
|
|
@@ -27584,7 +27591,7 @@ function LP() {
|
|
|
27584
27591
|
display: "flex",
|
|
27585
27592
|
alignItems: "center",
|
|
27586
27593
|
justifyContent: "center"
|
|
27587
|
-
}), e =
|
|
27594
|
+
}), e = In({
|
|
27588
27595
|
boxSizing: "border-box",
|
|
27589
27596
|
width: "100%",
|
|
27590
27597
|
height: "100%",
|
|
@@ -27607,13 +27614,13 @@ function LP() {
|
|
|
27607
27614
|
] };
|
|
27608
27615
|
}
|
|
27609
27616
|
function tn(i) {
|
|
27610
|
-
const t =
|
|
27617
|
+
const t = In(W({
|
|
27611
27618
|
background: "#FFFFFF",
|
|
27612
27619
|
width: "9px",
|
|
27613
27620
|
height: "9px",
|
|
27614
27621
|
position: "absolute",
|
|
27615
27622
|
pointerEvents: "none"
|
|
27616
|
-
}, i)), e =
|
|
27623
|
+
}, i)), e = In({
|
|
27617
27624
|
width: "15px",
|
|
27618
27625
|
height: "15px",
|
|
27619
27626
|
position: "absolute",
|
|
@@ -27621,7 +27628,7 @@ function tn(i) {
|
|
|
27621
27628
|
top: "50%",
|
|
27622
27629
|
transform: "translate(-50%, -50%)",
|
|
27623
27630
|
pointerEvents: "none"
|
|
27624
|
-
}), n =
|
|
27631
|
+
}), n = In({
|
|
27625
27632
|
width: "15px",
|
|
27626
27633
|
height: "15px",
|
|
27627
27634
|
cursor: i == null ? void 0 : i.cursor,
|
|
@@ -27672,15 +27679,15 @@ class TP extends yP {
|
|
|
27672
27679
|
var s;
|
|
27673
27680
|
const o = (s = this.css3DInstance) == null ? void 0 : s.css3DObject;
|
|
27674
27681
|
if (o) {
|
|
27675
|
-
const r = new
|
|
27682
|
+
const r = new E.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
|
|
27676
27683
|
o.position.copy(r), o.applyQuaternion(e);
|
|
27677
27684
|
}
|
|
27678
27685
|
if (this.plane) {
|
|
27679
|
-
const r = new
|
|
27686
|
+
const r = new E.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
|
|
27680
27687
|
this.plane.position.copy(r), this.plane.applyQuaternion(e);
|
|
27681
27688
|
}
|
|
27682
27689
|
this.cornerPositions.forEach((r) => {
|
|
27683
|
-
const a = new
|
|
27690
|
+
const a = new E.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
|
|
27684
27691
|
r.copy(a);
|
|
27685
27692
|
});
|
|
27686
27693
|
}
|
|
@@ -27740,7 +27747,7 @@ class TP extends yP {
|
|
|
27740
27747
|
}
|
|
27741
27748
|
}
|
|
27742
27749
|
function Cu(i) {
|
|
27743
|
-
const t = new
|
|
27750
|
+
const t = new E.Box3(), e = new E.Vector3();
|
|
27744
27751
|
if (i.traverse((n) => {
|
|
27745
27752
|
var s;
|
|
27746
27753
|
if (n.name === "shadow")
|
|
@@ -27766,7 +27773,7 @@ class zP extends AP {
|
|
|
27766
27773
|
f(this, "outline");
|
|
27767
27774
|
f(this, "originObject");
|
|
27768
27775
|
f(this, "positionAttribute");
|
|
27769
|
-
this.originObject = e, this.positionAttribute = new
|
|
27776
|
+
this.originObject = e, this.positionAttribute = new E.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
|
|
27770
27777
|
}
|
|
27771
27778
|
raycasterIntersectObject(e, n) {
|
|
27772
27779
|
return e.intersectObject(this, !1, n);
|
|
@@ -27782,16 +27789,16 @@ class zP extends AP {
|
|
|
27782
27789
|
this.positionAttribute.setXYZ(0, o.x, o.y, o.z), this.positionAttribute.setXYZ(1, n.x, o.y, o.z), this.positionAttribute.setXYZ(2, n.x, n.y, o.z), this.positionAttribute.setXYZ(3, o.x, n.y, o.z), this.positionAttribute.setXYZ(4, o.x, o.y, n.z), this.positionAttribute.setXYZ(5, n.x, o.y, n.z), this.positionAttribute.setXYZ(6, n.x, n.y, n.z), this.positionAttribute.setXYZ(7, o.x, n.y, n.z), this.positionAttribute.needsUpdate = !0;
|
|
27783
27790
|
}
|
|
27784
27791
|
createOutline() {
|
|
27785
|
-
const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new
|
|
27786
|
-
n.setIndex(new
|
|
27787
|
-
const o = new
|
|
27792
|
+
const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new E.BufferGeometry();
|
|
27793
|
+
n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
|
|
27794
|
+
const o = new E.LineBasicMaterial({
|
|
27788
27795
|
color: 64767,
|
|
27789
27796
|
linewidth: 1,
|
|
27790
27797
|
opacity: 1,
|
|
27791
27798
|
depthTest: !1,
|
|
27792
27799
|
transparent: !0,
|
|
27793
27800
|
toneMapped: !1
|
|
27794
|
-
}), s = new
|
|
27801
|
+
}), s = new E.LineSegments(n, o);
|
|
27795
27802
|
return s.matrixAutoUpdate = !1, s;
|
|
27796
27803
|
}
|
|
27797
27804
|
createBox() {
|
|
@@ -27832,15 +27839,15 @@ class zP extends AP {
|
|
|
27832
27839
|
6,
|
|
27833
27840
|
7,
|
|
27834
27841
|
3
|
|
27835
|
-
]), n = new
|
|
27836
|
-
n.setIndex(new
|
|
27837
|
-
const o = new
|
|
27842
|
+
]), n = new E.BufferGeometry();
|
|
27843
|
+
n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
|
|
27844
|
+
const o = new E.MeshBasicMaterial({
|
|
27838
27845
|
color: 64767,
|
|
27839
27846
|
opacity: 0.1,
|
|
27840
27847
|
depthTest: !1,
|
|
27841
27848
|
transparent: !0
|
|
27842
27849
|
});
|
|
27843
|
-
return new
|
|
27850
|
+
return new E.Mesh(n, o);
|
|
27844
27851
|
}
|
|
27845
27852
|
}
|
|
27846
27853
|
class lo {
|
|
@@ -27960,15 +27967,15 @@ class lo {
|
|
|
27960
27967
|
}
|
|
27961
27968
|
updateOffsetByScale(t) {
|
|
27962
27969
|
if (this.boundingBox && this.offset) {
|
|
27963
|
-
const e = this.originObject3D.position, n = new
|
|
27970
|
+
const e = this.originObject3D.position, n = new E.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new E.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
|
|
27964
27971
|
this.helperObject3D.position.copy(s), this.helperObject3D.initialPosition();
|
|
27965
27972
|
}
|
|
27966
27973
|
}
|
|
27967
27974
|
hoverListener(t, e = 16777215, n = 1) {
|
|
27968
27975
|
const o = (Array.isArray(t) ? t : [t]).filter(di), s = [];
|
|
27969
27976
|
for (const r of o)
|
|
27970
|
-
if (r instanceof
|
|
27971
|
-
const a = r instanceof
|
|
27977
|
+
if (r instanceof E.Mesh || r instanceof E.Group) {
|
|
27978
|
+
const a = r instanceof E.Group ? r.children.filter((u) => u instanceof E.Mesh) : [r];
|
|
27972
27979
|
a.forEach((u) => {
|
|
27973
27980
|
u.__originalColor__ = u.material.color.clone(), u.__originalOpacity__ = u.material.opacity;
|
|
27974
27981
|
});
|
|
@@ -28008,7 +28015,7 @@ class lo {
|
|
|
28008
28015
|
return s.object;
|
|
28009
28016
|
}
|
|
28010
28017
|
calculateOffset(t, e) {
|
|
28011
|
-
const n = this.originObject3D, o = new
|
|
28018
|
+
const n = this.originObject3D, o = new E.Vector3(0, 0, 0);
|
|
28012
28019
|
if (!t)
|
|
28013
28020
|
return o;
|
|
28014
28021
|
const s = () => e || (this.boundingBox ? this.boundingBox : (this.boundingBox = Cu(n), this.boundingBox));
|
|
@@ -28101,7 +28108,7 @@ class jP extends lo {
|
|
|
28101
28108
|
const o = (n == null ? void 0 : n.object).direction;
|
|
28102
28109
|
if (!o)
|
|
28103
28110
|
return this.dragEnd();
|
|
28104
|
-
const s = new
|
|
28111
|
+
const s = new E.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new E.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new E.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
|
|
28105
28112
|
switch (o) {
|
|
28106
28113
|
case "x":
|
|
28107
28114
|
return s;
|
|
@@ -28118,7 +28125,7 @@ class jP extends lo {
|
|
|
28118
28125
|
case "z":
|
|
28119
28126
|
return s;
|
|
28120
28127
|
}
|
|
28121
|
-
})(), d = n.point.clone(), h = new
|
|
28128
|
+
})(), d = n.point.clone(), h = new E.Plane();
|
|
28122
28129
|
h.setFromNormalAndCoplanarPoint(c, d), this.startInfo = { startVectorProject: d.clone().projectOnVector(l), directionVector: l, plane: h }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
28123
28130
|
}
|
|
28124
28131
|
dragging(e) {
|
|
@@ -28130,10 +28137,10 @@ class jP extends lo {
|
|
|
28130
28137
|
move(e) {
|
|
28131
28138
|
if (!this.startInfo)
|
|
28132
28139
|
return this.dragEnd();
|
|
28133
|
-
const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new
|
|
28140
|
+
const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new E.Vector3());
|
|
28134
28141
|
if (!a)
|
|
28135
28142
|
return;
|
|
28136
|
-
const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new
|
|
28143
|
+
const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new E.Matrix4();
|
|
28137
28144
|
d.setPosition(c);
|
|
28138
28145
|
const h = r.position.clone().applyMatrix4(d);
|
|
28139
28146
|
this.hooks.emit("wantToMove", h) || (r.applyMatrix4(d), s.copy(l), this.hooks.emit("applyObjectPosition", { matrix: d }), this.hooks.emit("move", h));
|
|
@@ -28306,7 +28313,7 @@ class HP extends lo {
|
|
|
28306
28313
|
this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
|
|
28307
28314
|
}
|
|
28308
28315
|
setRotateAngle(e) {
|
|
28309
|
-
const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new
|
|
28316
|
+
const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new E.Euler(_r(n), _r(o), _r(s)), a = new E.Quaternion().setFromEuler(r);
|
|
28310
28317
|
if (this.hooks.emit("wantToRotate", a))
|
|
28311
28318
|
return;
|
|
28312
28319
|
const { originObject3D: c, rotateCenter: d } = this;
|
|
@@ -28338,12 +28345,12 @@ class HP extends lo {
|
|
|
28338
28345
|
a.y += 0.2, this.setTipsPosition(a);
|
|
28339
28346
|
const l = (() => {
|
|
28340
28347
|
if (o === "x")
|
|
28341
|
-
return new
|
|
28348
|
+
return new E.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
|
|
28342
28349
|
if (o === "y")
|
|
28343
|
-
return new
|
|
28350
|
+
return new E.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
|
|
28344
28351
|
if (o === "z")
|
|
28345
|
-
return new
|
|
28346
|
-
})(), c = new
|
|
28352
|
+
return new E.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
|
|
28353
|
+
})(), c = new E.Plane().setFromNormalAndCoplanarPoint(l, s), h = c.projectPoint(s.clone(), new E.Vector3()).clone().sub(this.rotateCenter), u = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
|
|
28347
28354
|
this.setAngleHelperStart(o, u), this.setAngleHelperLength(o, 0), this.startInfo = { direction: o, startVector: h, plane: c, angleHelper: r, angle: 0, objectQuaternion: this.originObject3D.quaternion.clone() }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
28348
28355
|
}
|
|
28349
28356
|
dragging(e) {
|
|
@@ -28355,24 +28362,24 @@ class HP extends lo {
|
|
|
28355
28362
|
rotate(e) {
|
|
28356
28363
|
if (!this.startInfo)
|
|
28357
28364
|
return this.dragEnd();
|
|
28358
|
-
const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new
|
|
28365
|
+
const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new E.Vector3());
|
|
28359
28366
|
if (!c)
|
|
28360
28367
|
return;
|
|
28361
|
-
const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new
|
|
28368
|
+
const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new E.Vector3()).clone().sub(d);
|
|
28362
28369
|
if (n.angleTo(u) === 0)
|
|
28363
28370
|
return;
|
|
28364
|
-
const m = new
|
|
28371
|
+
const m = new E.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), v = l.quaternion.clone().premultiply(m);
|
|
28365
28372
|
if (this.hooks.emit("wantToRotate", v))
|
|
28366
28373
|
return;
|
|
28367
|
-
const b = new
|
|
28368
|
-
new
|
|
28374
|
+
const b = new E.Euler().setFromQuaternion(
|
|
28375
|
+
new E.Quaternion().setFromUnitVectors(
|
|
28369
28376
|
n.clone().normalize().applyQuaternion(a.clone().inverse()),
|
|
28370
28377
|
u.clone().normalize().applyQuaternion(a.clone().inverse())
|
|
28371
28378
|
),
|
|
28372
28379
|
`${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
|
|
28373
28380
|
)[r] * s.angleDirection;
|
|
28374
28381
|
if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(yh(this.startInfo.angle)), d) {
|
|
28375
|
-
const y = new
|
|
28382
|
+
const y = new E.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
|
|
28376
28383
|
l.position.copy(y);
|
|
28377
28384
|
}
|
|
28378
28385
|
l.applyQuaternion(m), this.hooks.emit("applyObjectRotate", { quaternion: m, origin: d }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = u;
|
|
@@ -28397,17 +28404,17 @@ class HP extends lo {
|
|
|
28397
28404
|
console.warn("angleHelper is undefined");
|
|
28398
28405
|
return;
|
|
28399
28406
|
}
|
|
28400
|
-
if (o instanceof
|
|
28407
|
+
if (o instanceof E.Mesh && o.geometry instanceof E.CircleGeometry) {
|
|
28401
28408
|
const { radius: s, segments: r, thetaLength: a } = o.geometry.parameters;
|
|
28402
|
-
o.geometry = new
|
|
28409
|
+
o.geometry = new E.CircleGeometry(s, r, n, a);
|
|
28403
28410
|
} else
|
|
28404
28411
|
console.warn("only support THREE.CircleGeometry");
|
|
28405
28412
|
}
|
|
28406
28413
|
setAngleHelperLength(e, n) {
|
|
28407
28414
|
const s = n >= 0 ? Math.max(n, 1e-3) : Math.min(n, -1e-3), r = this.getAngleHelper(e);
|
|
28408
|
-
if (r instanceof
|
|
28415
|
+
if (r instanceof E.Mesh && r.geometry instanceof E.CircleGeometry) {
|
|
28409
28416
|
const { radius: a, thetaStart: l } = r.geometry.parameters, c = Math.ceil(Math.abs(s) * (40 / (2 * Math.PI)));
|
|
28410
|
-
r.geometry = new
|
|
28417
|
+
r.geometry = new E.CircleGeometry(a, c, l, s);
|
|
28411
28418
|
} else
|
|
28412
28419
|
console.warn("only support THREE.CircleGeometry");
|
|
28413
28420
|
}
|
|
@@ -28452,7 +28459,7 @@ class GP extends lo {
|
|
|
28452
28459
|
this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
|
|
28453
28460
|
}
|
|
28454
28461
|
getDragPlane() {
|
|
28455
|
-
const e = new
|
|
28462
|
+
const e = new E.Plane(), n = this.helperObject3D.cornerPositions;
|
|
28456
28463
|
if (n.length !== 0)
|
|
28457
28464
|
return n.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new $()), n[0]) : e.setFromCoplanarPoints(n[0], n[1], n[2]), e;
|
|
28458
28465
|
}
|
|
@@ -28523,9 +28530,9 @@ class GP extends lo {
|
|
|
28523
28530
|
case "nwse":
|
|
28524
28531
|
A(), b();
|
|
28525
28532
|
}
|
|
28526
|
-
const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), S = new
|
|
28533
|
+
const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), S = new E.Matrix4().scale(k);
|
|
28527
28534
|
n.isCSS3DObjectPlus ? n.applyScaleMatrix4(S) : n.scale.applyMatrix4(S), o.position.copy(a);
|
|
28528
|
-
const
|
|
28535
|
+
const I = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(I, l), D = new E.Matrix4().setPosition(T);
|
|
28529
28536
|
n.applyMatrix4(D), (F = this.helperObject3D.css3DInstance) == null || F.css3DObject.applyMatrix4(D), (q = this.helperObject3D.plane) == null || q.applyMatrix4(D), this.hooks.emit("applyObjectScale", { matrix: S }), this.hooks.emit("applyObjectPosition", { matrix: D }), this.render();
|
|
28530
28537
|
}
|
|
28531
28538
|
dragEnd() {
|
|
@@ -28567,7 +28574,7 @@ class XP extends lo {
|
|
|
28567
28574
|
var l, c, d;
|
|
28568
28575
|
let n = 1, o = 1, s = 1;
|
|
28569
28576
|
typeof e == "number" ? (n = e, o = e, s = e) : typeof e == "object" && (n = (l = e.x) != null ? l : 1, o = (c = e.y) != null ? c : 1, s = (d = e.z) != null ? d : 1);
|
|
28570
|
-
const r = new
|
|
28577
|
+
const r = new E.Vector3(n, o, s);
|
|
28571
28578
|
this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
|
|
28572
28579
|
}
|
|
28573
28580
|
}
|
|
@@ -28654,7 +28661,7 @@ class JP extends ao {
|
|
|
28654
28661
|
}
|
|
28655
28662
|
const o = new QP(), s = [], r = (m = this.five.getElement()) == null ? void 0 : m.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: d = !0, boundingBoxHelper: h = !1 } = n, u = new yt();
|
|
28656
28663
|
if (l) {
|
|
28657
|
-
const v = new
|
|
28664
|
+
const v = new IP(e), g = this.getConfig(n.moveHelper), A = new Ri(this.five, jP, e, v, g, u);
|
|
28658
28665
|
o.addControllers({ moveController: A.helperController }), s.push(() => A.dispose());
|
|
28659
28666
|
}
|
|
28660
28667
|
if (c) {
|
|
@@ -28722,7 +28729,7 @@ class JP extends ao {
|
|
|
28722
28729
|
return e;
|
|
28723
28730
|
}
|
|
28724
28731
|
}
|
|
28725
|
-
const
|
|
28732
|
+
const fE = (i) => new JP(i), ZP = `
|
|
28726
28733
|
varying vec2 vUv;
|
|
28727
28734
|
void main() {
|
|
28728
28735
|
vUv = uv;
|
|
@@ -28992,7 +28999,7 @@ class xd {
|
|
|
28992
28999
|
return n >= s && n <= d && o >= c && o <= h;
|
|
28993
29000
|
}
|
|
28994
29001
|
}
|
|
28995
|
-
class
|
|
29002
|
+
class eI extends ao {
|
|
28996
29003
|
constructor(e) {
|
|
28997
29004
|
super(e);
|
|
28998
29005
|
f(this, "enabled", !0);
|
|
@@ -29108,68 +29115,68 @@ class eE extends ao {
|
|
|
29108
29115
|
console.warn("⛔ ==> [PanoVideoPluginController]:", e);
|
|
29109
29116
|
}
|
|
29110
29117
|
}
|
|
29111
|
-
const
|
|
29118
|
+
const mE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
29112
29119
|
__proto__: null
|
|
29113
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
29120
|
+
}, Symbol.toStringTag, { value: "Module" })), pE = (i) => new eI(i);
|
|
29114
29121
|
Fu();
|
|
29115
29122
|
Nu();
|
|
29116
29123
|
export {
|
|
29117
29124
|
Ki as CSS3DRender,
|
|
29118
29125
|
Yd as CSS3DRenderPlugin,
|
|
29119
29126
|
Gg as CameraMovementEffect,
|
|
29120
|
-
|
|
29127
|
+
BI as CameraMovementPlugin,
|
|
29121
29128
|
JC as ContentType,
|
|
29122
|
-
|
|
29123
|
-
|
|
29124
|
-
|
|
29129
|
+
hE as CruisePlugin,
|
|
29130
|
+
Es as CruisePluginController,
|
|
29131
|
+
dE as CruisePluginTypes,
|
|
29125
29132
|
Gi as DIRECTION,
|
|
29126
29133
|
qn as DISPLAY_STRATEGY_TYPE,
|
|
29127
29134
|
ZC as DimensionType,
|
|
29128
29135
|
Pn as FLOOR_PLAN_ATTACHED_TO,
|
|
29129
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29136
|
+
jI as FLOOR_TYPE_MAP,
|
|
29137
|
+
uE as GuideLineItem,
|
|
29138
|
+
cE as GuideLineModeItem,
|
|
29132
29139
|
pP as GuideLinePlugin,
|
|
29133
29140
|
Jn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
29134
|
-
|
|
29141
|
+
eE as ItemLabelPlugin,
|
|
29135
29142
|
lv as Magnifier,
|
|
29136
|
-
|
|
29137
|
-
|
|
29138
|
-
|
|
29139
|
-
|
|
29140
|
-
|
|
29141
|
-
|
|
29142
|
-
|
|
29143
|
-
|
|
29143
|
+
DI as MapviewFloorplanPlugin,
|
|
29144
|
+
VI as ModelChassisCompassPlugin,
|
|
29145
|
+
OI as ModelEntryDoorGuidePlugin,
|
|
29146
|
+
kI as ModelFloorplanPlugin,
|
|
29147
|
+
JI as ModelItemLabelPlugin,
|
|
29148
|
+
AI as ModelRoomLabelPlugin,
|
|
29149
|
+
KI as ModelTVVideoPlugin,
|
|
29150
|
+
fI as ModelViewPlugin,
|
|
29144
29151
|
JP as Object3DHelperController,
|
|
29145
|
-
|
|
29152
|
+
fE as Object3DHelperPlugin,
|
|
29146
29153
|
_a as PLUGIN,
|
|
29147
|
-
|
|
29154
|
+
uI as PaintBrush,
|
|
29148
29155
|
nn as PaintBrushTypeEnum,
|
|
29149
|
-
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29156
|
+
GI as PanoCompassPlugin,
|
|
29157
|
+
vI as PanoCursorRaycasterPlugin,
|
|
29158
|
+
nE as PanoDoorLabelPlugin,
|
|
29159
|
+
TI as PanoFloorplanRadarPlugin,
|
|
29160
|
+
FI as PanoMeasurePlugin,
|
|
29154
29161
|
bi as PanoMeasurePluginLine,
|
|
29155
29162
|
Pa as PanoMeasurePluginModel,
|
|
29156
29163
|
Bt as PanoMeasurePluginPoint,
|
|
29157
29164
|
is as PanoMeasurePluginPolyline,
|
|
29158
|
-
|
|
29159
|
-
|
|
29160
|
-
|
|
29161
|
-
|
|
29165
|
+
RI as PanoRulerPlugin,
|
|
29166
|
+
HI as PanoRulerProPlugin,
|
|
29167
|
+
YI as PanoSpatialTagPlugin,
|
|
29168
|
+
lE as PanoTagPlugin,
|
|
29162
29169
|
ia as PanoTagPluginController,
|
|
29163
|
-
|
|
29164
|
-
|
|
29170
|
+
pE as PanoVideoPlugin,
|
|
29171
|
+
mE as PanoVideoPluginType,
|
|
29165
29172
|
qC as PointType,
|
|
29166
|
-
|
|
29167
|
-
|
|
29173
|
+
zI as ROOM_FETILE_TYPE_MAP,
|
|
29174
|
+
_I as ROOM_TYPE_MAP,
|
|
29168
29175
|
Yt as Rotation,
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
29174
|
-
|
|
29176
|
+
SI as TopviewFloorplanPlugin,
|
|
29177
|
+
pI as Util,
|
|
29178
|
+
tE as itemLabelPluginServerParams,
|
|
29179
|
+
ZI as modelItemLabelPluginServerParams,
|
|
29180
|
+
bI as modelRoomLabelPluginServerParams,
|
|
29181
|
+
aE as pluginFlag
|
|
29175
29182
|
};
|