@realsee/dnalogel 2.6.7-dev.2 → 2.6.7-dev.4
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/index.cjs.js +15 -15
- package/dist/index.js +254 -259
- package/dist/index.umd.js +9 -9
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoTagPlugin/controller/index.js +104 -105
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- package/libs/index.js +100 -101
- package/package.json +1 -1
- package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import * as li from "@tweenjs/tween.js";
|
|
|
31
31
|
import mn, { Tween as zl, Easing as Bl } from "@tweenjs/tween.js";
|
|
32
32
|
import { Camera as jl, Five as je, Subscribe as Ye } from "@realsee/five";
|
|
33
33
|
import * as k from "three";
|
|
34
|
-
import { Vector3 as Z, Group as pn, Raycaster as Vt, MeshBasicMaterial as gn, CanvasTexture as Vl, AnimationMixer as Ql, Color as wn, TextureLoader as na, Vector2 as We, PlaneGeometry as Rl, sRGBEncoding as Ol, Mesh as Wn, CurvePath as Hl, LineCurve3 as Fl, TubeGeometry as Gl, ShaderMaterial as Wl, SphereGeometry as Nl, DoubleSide as ia, RingGeometry as _l, Quaternion as oa, Euler as Lo, Matrix4 as
|
|
34
|
+
import { Vector3 as Z, Group as pn, Raycaster as Vt, MeshBasicMaterial as gn, CanvasTexture as Vl, AnimationMixer as Ql, Color as wn, TextureLoader as na, Vector2 as We, PlaneGeometry as Rl, sRGBEncoding as Ol, Mesh as Wn, CurvePath as Hl, LineCurve3 as Fl, TubeGeometry as Gl, ShaderMaterial as Wl, SphereGeometry as Nl, DoubleSide as ia, RingGeometry as _l, Quaternion as oa, Euler as Lo, Matrix4 as an, Object3D as Xl } from "three";
|
|
35
35
|
import { CSS3DRenderer as Yl, CSS3DObject as Ri } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
36
|
import { Line as sa } from "@realsee/five/line";
|
|
37
37
|
import { FBXLoader as ra } from "three/examples/jsm/loaders/FBXLoader";
|
|
@@ -535,7 +535,7 @@ class oc extends nc {
|
|
|
535
535
|
this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
class
|
|
538
|
+
class uv {
|
|
539
539
|
constructor(t = {}) {
|
|
540
540
|
m(this, "controller");
|
|
541
541
|
const e = Object.assign({
|
|
@@ -573,7 +573,7 @@ class fv {
|
|
|
573
573
|
this.controller.updateCurrentColor(t);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
const
|
|
576
|
+
const fv = (i, t) => {
|
|
577
577
|
var X, V;
|
|
578
578
|
let e = (V = (X = t == null ? void 0 : t.initialState) == null ? void 0 : X.enabled) != null ? V : !0, n = !1, o = !0, s = null;
|
|
579
579
|
const a = F(F({}, {
|
|
@@ -748,7 +748,7 @@ function Ln(i) {
|
|
|
748
748
|
function ac(i) {
|
|
749
749
|
i[fn] || delete i[fn];
|
|
750
750
|
}
|
|
751
|
-
class
|
|
751
|
+
class Kt {
|
|
752
752
|
hasListener(t) {
|
|
753
753
|
const e = Ln(this);
|
|
754
754
|
return Boolean((e == null ? void 0 : e[t]) && e[t].length > 0);
|
|
@@ -829,7 +829,7 @@ class hc extends Ri {
|
|
|
829
829
|
m(this, "centerPosition");
|
|
830
830
|
m(this, "ratio");
|
|
831
831
|
m(this, "mode", "front");
|
|
832
|
-
m(this, "hooks", new
|
|
832
|
+
m(this, "hooks", new Kt());
|
|
833
833
|
m(this, "opacityMesh");
|
|
834
834
|
m(this, "selfVisible", !0);
|
|
835
835
|
m(this, "parentVisibleListenerDisposer");
|
|
@@ -941,7 +941,7 @@ class ca extends k.Group {
|
|
|
941
941
|
m(this, "isCSS3DGroup", !0);
|
|
942
942
|
m(this, "mode");
|
|
943
943
|
m(this, "CSS3DObjectLength", 0);
|
|
944
|
-
m(this, "hooks", new
|
|
944
|
+
m(this, "hooks", new Kt());
|
|
945
945
|
this.mode = e;
|
|
946
946
|
}
|
|
947
947
|
add(...e) {
|
|
@@ -1000,7 +1000,7 @@ function yc(i) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
class vn {
|
|
1002
1002
|
constructor(t) {
|
|
1003
|
-
m(this, "hooks", new
|
|
1003
|
+
m(this, "hooks", new Kt());
|
|
1004
1004
|
m(this, "state", {
|
|
1005
1005
|
enabled: !0,
|
|
1006
1006
|
visible: !0,
|
|
@@ -1308,7 +1308,7 @@ function Pi(i, t, e = new Z(1, 1, 1), n = !1) {
|
|
|
1308
1308
|
const o = new sa(i, t);
|
|
1309
1309
|
return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
|
|
1310
1310
|
}
|
|
1311
|
-
const
|
|
1311
|
+
const hv = (i) => {
|
|
1312
1312
|
const t = {
|
|
1313
1313
|
intersection: null,
|
|
1314
1314
|
disposers: []
|
|
@@ -1451,20 +1451,20 @@ function Ve(i) {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
const pa = typeof window != "undefined";
|
|
1453
1453
|
let ga = pa ? () => window.performance.now() : () => Date.now(), io = pa ? (i) => requestAnimationFrame(i) : J;
|
|
1454
|
-
const
|
|
1454
|
+
const Ut = /* @__PURE__ */ new Set();
|
|
1455
1455
|
function Aa(i) {
|
|
1456
|
-
|
|
1457
|
-
t.c(i) || (
|
|
1458
|
-
}),
|
|
1456
|
+
Ut.forEach((t) => {
|
|
1457
|
+
t.c(i) || (Ut.delete(t), t.f());
|
|
1458
|
+
}), Ut.size !== 0 && io(Aa);
|
|
1459
1459
|
}
|
|
1460
1460
|
function va(i) {
|
|
1461
1461
|
let t;
|
|
1462
|
-
return
|
|
1462
|
+
return Ut.size === 0 && io(Aa), {
|
|
1463
1463
|
promise: new Promise((e) => {
|
|
1464
|
-
|
|
1464
|
+
Ut.add(t = { c: i, f: e });
|
|
1465
1465
|
}),
|
|
1466
1466
|
abort() {
|
|
1467
|
-
|
|
1467
|
+
Ut.delete(t);
|
|
1468
1468
|
}
|
|
1469
1469
|
};
|
|
1470
1470
|
}
|
|
@@ -1722,11 +1722,11 @@ function Tc(i) {
|
|
|
1722
1722
|
i.dirty = [-1], i.fragment && i.fragment.p(i.ctx, t), i.after_update.forEach(xe);
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
|
-
let
|
|
1725
|
+
let nn;
|
|
1726
1726
|
function Ia() {
|
|
1727
|
-
return
|
|
1728
|
-
|
|
1729
|
-
})),
|
|
1727
|
+
return nn || (nn = Promise.resolve(), nn.then(() => {
|
|
1728
|
+
nn = null;
|
|
1729
|
+
})), nn;
|
|
1730
1730
|
}
|
|
1731
1731
|
function ti(i, t, e) {
|
|
1732
1732
|
i.dispatchEvent(wa(`${t ? "intro" : "outro"}${e}`));
|
|
@@ -1791,7 +1791,7 @@ function Rt(i, t, e) {
|
|
|
1791
1791
|
}
|
|
1792
1792
|
};
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function $t(i, t, e) {
|
|
1795
1795
|
let n = t(i, e), o = !0, s;
|
|
1796
1796
|
const r = bt;
|
|
1797
1797
|
r.r += 1;
|
|
@@ -2231,7 +2231,7 @@ class Yc {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
const
|
|
2234
|
+
const mv = (i) => new Yc(i), pv = {
|
|
2235
2235
|
name: "ModelRoomLabelPlugin",
|
|
2236
2236
|
version: 0
|
|
2237
2237
|
};
|
|
@@ -2298,7 +2298,7 @@ function Kc(i, t) {
|
|
|
2298
2298
|
function Ze(i, t, e = { deep: !1 }) {
|
|
2299
2299
|
return e.deep ? uo(i, t) : Zc(i, t);
|
|
2300
2300
|
}
|
|
2301
|
-
function
|
|
2301
|
+
function Jt(i) {
|
|
2302
2302
|
return i < 0.5 ? 4 * i * i * i : 0.5 * Math.pow(2 * i - 2, 3) + 1;
|
|
2303
2303
|
}
|
|
2304
2304
|
function Da(i) {
|
|
@@ -2325,7 +2325,7 @@ function Fo(i, { delay: t = 0, duration: e = 400, easing: n = Da, x: o = 0, y: s
|
|
|
2325
2325
|
opacity: ${l - d * f}`
|
|
2326
2326
|
};
|
|
2327
2327
|
}
|
|
2328
|
-
function oi(i, { delay: t = 0, speed: e, duration: n, easing: o =
|
|
2328
|
+
function oi(i, { delay: t = 0, speed: e, duration: n, easing: o = Jt } = {}) {
|
|
2329
2329
|
let s = i.getTotalLength();
|
|
2330
2330
|
const r = getComputedStyle(i);
|
|
2331
2331
|
return r.strokeLinecap !== "butt" && (s += parseInt(r.strokeWidth)), n === void 0 ? e === void 0 ? n = 800 : n = s / e : typeof n == "function" && (n = n(s)), {
|
|
@@ -4306,7 +4306,7 @@ function po(i, t, e, n) {
|
|
|
4306
4306
|
class mi {
|
|
4307
4307
|
constructor(t, e) {
|
|
4308
4308
|
m(this, "five");
|
|
4309
|
-
m(this, "hooks", new
|
|
4309
|
+
m(this, "hooks", new Kt());
|
|
4310
4310
|
m(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
4311
4311
|
this.five = t, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
|
|
4312
4312
|
}
|
|
@@ -4370,7 +4370,7 @@ function Ba(i, t, e = !0) {
|
|
|
4370
4370
|
throw new Error(Ge.UpdateCameraError);
|
|
4371
4371
|
});
|
|
4372
4372
|
}
|
|
4373
|
-
function
|
|
4373
|
+
function Zt(i, t, e = 300) {
|
|
4374
4374
|
const n = i.getElement();
|
|
4375
4375
|
!n || (n.style.opacity = t + "", n.style.transition = e === 0 ? "none" : `opacity ${e}ms linear`, e !== 0 && Promise.race([
|
|
4376
4376
|
new Promise((o) => n.addEventListener("transitionend", o, { once: !0 })),
|
|
@@ -4463,7 +4463,7 @@ class zu extends Ht {
|
|
|
4463
4463
|
throw l ? new Error(l) : new Error(Ge.UnknownError);
|
|
4464
4464
|
this.updateSize(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
4465
4465
|
const d = o.modelOpacity, u = o.immediately ? 0 : Ta;
|
|
4466
|
-
|
|
4466
|
+
Zt(this.five, d, u), this.render(u);
|
|
4467
4467
|
});
|
|
4468
4468
|
return this.showPromise = s().then(() => {
|
|
4469
4469
|
this.hooks.emit("showAnimationEnded", {
|
|
@@ -4484,7 +4484,7 @@ class zu extends Ht {
|
|
|
4484
4484
|
userAction: !0,
|
|
4485
4485
|
isAutoHide: !1
|
|
4486
4486
|
}), e);
|
|
4487
|
-
|
|
4487
|
+
Zt(this.five, 1, 0), this.hooks.emit("hide", { auto: o.isAutoHide, userAction: o.userAction }), this.render();
|
|
4488
4488
|
});
|
|
4489
4489
|
m(this, "handleClick", () => {
|
|
4490
4490
|
if (!this.state.visible)
|
|
@@ -4651,7 +4651,7 @@ class zu extends Ht {
|
|
|
4651
4651
|
this.app = new ho({ target: this.container, intro: !0, props: n });
|
|
4652
4652
|
}
|
|
4653
4653
|
}
|
|
4654
|
-
const
|
|
4654
|
+
const gv = (i, t) => new zu(i, t);
|
|
4655
4655
|
function Bu(i) {
|
|
4656
4656
|
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);
|
|
4657
4657
|
return n || o;
|
|
@@ -4735,7 +4735,7 @@ class Vu extends Ht {
|
|
|
4735
4735
|
throw l ? new Error(l) : new Error(Ge.UnknownError);
|
|
4736
4736
|
this.updateSize(), this.updatePosition(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
4737
4737
|
const d = o.modelOpacity, u = o.immediately ? 0 : Ta;
|
|
4738
|
-
|
|
4738
|
+
Zt(this.five, d, u), this.render(u);
|
|
4739
4739
|
});
|
|
4740
4740
|
return this.showPromise = s().then(() => {
|
|
4741
4741
|
this.hooks.emit("showAnimationEnded", {
|
|
@@ -4756,7 +4756,7 @@ class Vu extends Ht {
|
|
|
4756
4756
|
userAction: !0,
|
|
4757
4757
|
isAutoHide: !1
|
|
4758
4758
|
}), e);
|
|
4759
|
-
|
|
4759
|
+
Zt(this.five, 1, 0), this.hooks.emit("hide", { auto: o.isAutoHide, userAction: o.userAction }), this.render();
|
|
4760
4760
|
});
|
|
4761
4761
|
m(this, "handleClick", () => {
|
|
4762
4762
|
if (!this.state.visible)
|
|
@@ -4928,7 +4928,7 @@ class Vu extends Ht {
|
|
|
4928
4928
|
this.app = new ho({ target: this.container, intro: !0, props: n });
|
|
4929
4929
|
}
|
|
4930
4930
|
}
|
|
4931
|
-
const
|
|
4931
|
+
const Av = (i, t) => new Vu(i, t);
|
|
4932
4932
|
class Qu extends Ht {
|
|
4933
4933
|
constructor(e, n) {
|
|
4934
4934
|
super(e);
|
|
@@ -5101,7 +5101,7 @@ class Qu extends Ht {
|
|
|
5101
5101
|
const { userAction: n } = e;
|
|
5102
5102
|
this.hooks.emit("show", { userAction: n, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield za(this.five, ["Topview", void 0, void 0, n])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
|
|
5103
5103
|
const o = 500, s = this.state.config.modelOpacity;
|
|
5104
|
-
|
|
5104
|
+
Zt(this.five, s, o), this.hooks.emit("showAnimationEnded", { userAction: n, auto: !1 }), this.render();
|
|
5105
5105
|
});
|
|
5106
5106
|
}
|
|
5107
5107
|
_hide(e) {
|
|
@@ -5111,7 +5111,7 @@ class Qu extends Ht {
|
|
|
5111
5111
|
const { userAction: n } = e;
|
|
5112
5112
|
this.hooks.emit("hide", { userAction: n, auto: !1 });
|
|
5113
5113
|
const o = 1, s = 0;
|
|
5114
|
-
|
|
5114
|
+
Zt(this.five, o, s), this.render();
|
|
5115
5115
|
});
|
|
5116
5116
|
}
|
|
5117
5117
|
_enable(e) {
|
|
@@ -5159,7 +5159,7 @@ class Qu extends Ht {
|
|
|
5159
5159
|
this.app = new ho({ target: this.container, intro: !0, props: n });
|
|
5160
5160
|
}
|
|
5161
5161
|
}
|
|
5162
|
-
const
|
|
5162
|
+
const vv = (i, t) => new Qu(i, t);
|
|
5163
5163
|
function Ao(i, t = 200) {
|
|
5164
5164
|
let e;
|
|
5165
5165
|
return function(...n) {
|
|
@@ -5740,7 +5740,7 @@ class ef extends Ht {
|
|
|
5740
5740
|
this.app ? this.app.$set(e) : this.app = new $u({ target: this.wrapper, props: e });
|
|
5741
5741
|
}
|
|
5742
5742
|
}
|
|
5743
|
-
const
|
|
5743
|
+
const bv = (i, t) => new ef(i, t), yv = [
|
|
5744
5744
|
{ type: 0, floorType: 1, roomType: "100900000012", name: "\u5176\u4ED6" },
|
|
5745
5745
|
{ type: 1, floorType: 1, roomType: "100900000002", name: "\u5BA2\u5385" },
|
|
5746
5746
|
{ type: 2, floorType: 1, roomType: "100900000002", name: "\u9910\u5385" },
|
|
@@ -5812,14 +5812,14 @@ const yv = (i, t) => new ef(i, t), wv = [
|
|
|
5812
5812
|
{ type: 56, floorType: 2, roomType: "100900000012", name: "\u7A7A\u4E2D\u82B1\u56ED" },
|
|
5813
5813
|
{ type: 57, floorType: 0, roomType: "100900000001", name: "\u6D0B\u5BA4" },
|
|
5814
5814
|
{ type: 58, floorType: 0, roomType: "100900000001", name: "\u548C\u5BA4" }
|
|
5815
|
-
],
|
|
5815
|
+
], wv = [
|
|
5816
5816
|
{ type: 0, description: "\u6728\u8D28\u5730\u677F" },
|
|
5817
5817
|
{ type: 1, description: "\u74F7\u7816\u5730\u9762" },
|
|
5818
5818
|
{ type: 2, description: "\u6237\u5916\u5730\u9762" },
|
|
5819
5819
|
{ type: 3, description: "\u536B\u751F\u95F4\u5730\u9762" },
|
|
5820
5820
|
{ type: 4, description: "\u9633\u53F0\u5730\u9762" },
|
|
5821
5821
|
{ type: 5, description: "\u8F66\u5E93\u5730\u9762" }
|
|
5822
|
-
],
|
|
5822
|
+
], Cv = [
|
|
5823
5823
|
{ roomType: "100900000001", description: "\u5BA4" },
|
|
5824
5824
|
{ roomType: "100900000002", description: "\u5385" },
|
|
5825
5825
|
{ roomType: "100900000003", description: "\u53A8" },
|
|
@@ -5858,7 +5858,7 @@ function ja(i, t) {
|
|
|
5858
5858
|
}
|
|
5859
5859
|
});
|
|
5860
5860
|
}
|
|
5861
|
-
const
|
|
5861
|
+
const Ev = (i, t) => {
|
|
5862
5862
|
var d;
|
|
5863
5863
|
const e = t.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", n = (d = t.north_rad) != null ? d : void 0, o = {}, s = (u) => _(void 0, null, function* () {
|
|
5864
5864
|
var X;
|
|
@@ -5912,7 +5912,7 @@ function nf(i, t) {
|
|
|
5912
5912
|
const l = a.getContext("2d");
|
|
5913
5913
|
return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "\u5FAE\u8F6F\u96C5\u9ED1"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new Vl(a);
|
|
5914
5914
|
}
|
|
5915
|
-
const of = ({ x: i, y: t, z: e }) => new Z(i, t, e),
|
|
5915
|
+
const of = ({ x: i, y: t, z: e }) => new Z(i, t, e), Pv = (i, t) => {
|
|
5916
5916
|
var A, g, v;
|
|
5917
5917
|
const e = {}, n = (A = t.animationEnabled) != null ? A : !0, o = (g = t.position) != null ? g : void 0, s = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (w) => _(void 0, null, function* () {
|
|
5918
5918
|
var G, H, X, V, P, R, O, W;
|
|
@@ -6043,7 +6043,7 @@ function Di(i, t, e) {
|
|
|
6043
6043
|
const Ni = (i, t, e) => {
|
|
6044
6044
|
const n = Math.PI, o = n * 2;
|
|
6045
6045
|
return i = gs(i), t = gs(t), e === nt.Anticlockwise && i < t && (i += o), e === nt.Clockwise && t < i && (t += o), e === nt.Loop && t - i > n ? Ni(i, t, nt.Anticlockwise) : e === nt.Loop && i - t > n ? Ni(i, t, nt.Clockwise) : { from: i, to: t };
|
|
6046
|
-
},
|
|
6046
|
+
}, Iv = (i) => {
|
|
6047
6047
|
const t = {}, e = (l, c, ...d) => _(void 0, [l, c, ...d], function* (s, r, a = { preload: !0 }) {
|
|
6048
6048
|
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((u, f) => {
|
|
6049
6049
|
const h = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
|
|
@@ -6253,7 +6253,7 @@ const ff = `<style type="text/css">
|
|
|
6253
6253
|
a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
|
|
6254
6254
|
}
|
|
6255
6255
|
return e;
|
|
6256
|
-
},
|
|
6256
|
+
}, kv = (i, t) => {
|
|
6257
6257
|
const e = {
|
|
6258
6258
|
enable: !1,
|
|
6259
6259
|
loaded: !1,
|
|
@@ -6423,13 +6423,13 @@ const ff = `<style type="text/css">
|
|
|
6423
6423
|
X.style.display = "none";
|
|
6424
6424
|
continue;
|
|
6425
6425
|
}
|
|
6426
|
-
const de = V.clone().project(v), ue = (de.x + 1) / 2 * E, me = (-de.y + 1) / 2 * L, Ee = P.clone().project(v), Me = (Ee.x + 1) / 2 * E,
|
|
6426
|
+
const de = V.clone().project(v), ue = (de.x + 1) / 2 * E, me = (-de.y + 1) / 2 * L, Ee = P.clone().project(v), Me = (Ee.x + 1) / 2 * E, Oe = (-Ee.y + 1) / 2 * L, ae = Math.sqrt(Math.pow(Me - ue, 2) + Math.pow(Oe - me, 2));
|
|
6427
6427
|
let ve = ae, we = 50;
|
|
6428
6428
|
const ce = c({ x: ~~ue, y: ~~me }, {
|
|
6429
6429
|
x: ~~Me,
|
|
6430
|
-
y: ~~
|
|
6430
|
+
y: ~~Oe
|
|
6431
6431
|
}, E, L);
|
|
6432
|
-
if (ce && ce.length === 1 && (D === V ? (ve = Math.sqrt(Math.pow(ce[0].x - ue, 2) + Math.pow(ce[0].y - me, 2)), we = ve / ae * 50) : D === P && (ve = Math.sqrt(Math.pow(ce[0].x - Me, 2) + Math.pow(ce[0].y -
|
|
6432
|
+
if (ce && ce.length === 1 && (D === V ? (ve = Math.sqrt(Math.pow(ce[0].x - ue, 2) + Math.pow(ce[0].y - me, 2)), we = ve / ae * 50) : D === P && (ve = Math.sqrt(Math.pow(ce[0].x - Me, 2) + Math.pow(ce[0].y - Oe, 2)), we = 100 - ve / ae * 50)), ce && ce.length === 2) {
|
|
6433
6433
|
const mt = {
|
|
6434
6434
|
x: (ce[0].x + ce[1].x) / 2,
|
|
6435
6435
|
y: (ce[0].y + ce[1].y) / 2
|
|
@@ -6438,7 +6438,7 @@ const ff = `<style type="text/css">
|
|
|
6438
6438
|
Math.pow(mt.x - ue, 2) + Math.pow(mt.y - me, 2)
|
|
6439
6439
|
) / ae * 100;
|
|
6440
6440
|
}
|
|
6441
|
-
const Lt = (Math.PI / 2 - Math.atan2(Me - ue, me -
|
|
6441
|
+
const Lt = (Math.PI / 2 - Math.atan2(Me - ue, me - Oe)) / Math.PI * 180, ge = R.querySelector(".PanoRulerPlugin-rule-label"), ht = ge.children[0].clientWidth;
|
|
6442
6442
|
ht >= ae || ht / 2 >= we / 100 * ae || ht / 2 >= (1 - we / 100) * ae ? R.style.display = "none" : (R.style.display = "block", R.style.width = ae + "px", R.style.left = ue + "px", R.style.top = me + "px", R.style.transform = `rotate(${-Lt}deg)`, ge.style.left = `${we}%`);
|
|
6443
6443
|
}
|
|
6444
6444
|
}, u = () => Oa(d), f = () => {
|
|
@@ -6717,7 +6717,7 @@ function Cf(i, t, e) {
|
|
|
6717
6717
|
var ue, me;
|
|
6718
6718
|
const X = H.start, V = H.end, { startLeft: P, startTop: R, distance: O, deg: W, visible: Y, labelOffset: N, ruleLength: U } = u(new Z(X[0], -X[1], -X[2]), new Z(V[0], -V[1], -V[2]), B), de = [];
|
|
6719
6719
|
return H.children && ((ue = H.children) == null ? void 0 : ue.length) > 0 && ((me = H.children) == null || me.forEach((Ee) => {
|
|
6720
|
-
const Me = Ee.start,
|
|
6720
|
+
const Me = Ee.start, Oe = Ee.end, { distance: ae } = d(new Z(Me[0], -Me[1], -Me[2]), new Z(Oe[0], -Oe[1], -Oe[2]));
|
|
6721
6721
|
de.push({ width: ae, state: Ee.state });
|
|
6722
6722
|
})), {
|
|
6723
6723
|
width: O,
|
|
@@ -6807,7 +6807,7 @@ class Pf {
|
|
|
6807
6807
|
this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
|
|
6808
6808
|
}
|
|
6809
6809
|
}
|
|
6810
|
-
const
|
|
6810
|
+
const xv = (i, t) => new Pf(i, t), If = "data:image/png;base64,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";
|
|
6811
6811
|
function kf() {
|
|
6812
6812
|
const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
|
|
6813
6813
|
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(${If})`, 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", {
|
|
@@ -7017,7 +7017,7 @@ class Df extends Ht {
|
|
|
7017
7017
|
return En(this.five).create3DDomContainer(e);
|
|
7018
7018
|
}
|
|
7019
7019
|
}
|
|
7020
|
-
const
|
|
7020
|
+
const Dv = (i, t) => new Df(i, t);
|
|
7021
7021
|
function Vn(i, t, e) {
|
|
7022
7022
|
const n = i[t], o = i[e];
|
|
7023
7023
|
n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
|
|
@@ -7276,7 +7276,7 @@ class bo {
|
|
|
7276
7276
|
const [l, c] = a.points, d = e(l), u = e(c);
|
|
7277
7277
|
if (!d || !u)
|
|
7278
7278
|
throw new Error("\u7EBF\u4E0A\u7684\u70B9\u4E0D\u5B58\u5728");
|
|
7279
|
-
const f = new
|
|
7279
|
+
const f = new en(d, u, this.model);
|
|
7280
7280
|
return f.id = a.id, f.text = a.text, f;
|
|
7281
7281
|
}), s = n();
|
|
7282
7282
|
this.points.push(...s), this.lines.push(...o), this.visiblePanoIndexes = t.visiblePanoIndexes;
|
|
@@ -7412,7 +7412,7 @@ function Xf(i) {
|
|
|
7412
7412
|
}
|
|
7413
7413
|
return l;
|
|
7414
7414
|
}
|
|
7415
|
-
class
|
|
7415
|
+
class en {
|
|
7416
7416
|
constructor(t, e, n) {
|
|
7417
7417
|
m(this, "id");
|
|
7418
7418
|
m(this, "selected", !1);
|
|
@@ -7457,7 +7457,7 @@ class tn {
|
|
|
7457
7457
|
return { id: this.id, points: this.points.map((t) => t.toJson()), text: this.text };
|
|
7458
7458
|
}
|
|
7459
7459
|
clone() {
|
|
7460
|
-
const t = new
|
|
7460
|
+
const t = new en(this.points[0].clone(), this.points[1].clone(), this.model);
|
|
7461
7461
|
return t.text = this.text, t;
|
|
7462
7462
|
}
|
|
7463
7463
|
}
|
|
@@ -7539,7 +7539,7 @@ class Ai {
|
|
|
7539
7539
|
this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((t) => t.distanceItem.update(this.five));
|
|
7540
7540
|
});
|
|
7541
7541
|
var n, o;
|
|
7542
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new
|
|
7542
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new en(new qe([0, 0, 0]), new qe([0, 0, 0]), this.model), this.dashed.distanceItem.setItemSelectable(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
|
|
7543
7543
|
const e = this.five.getElement();
|
|
7544
7544
|
e && (e.addEventListener("touchstart", Qn), e.addEventListener("contextmenu", Qn));
|
|
7545
7545
|
}
|
|
@@ -7628,7 +7628,7 @@ class Rn extends Ai {
|
|
|
7628
7628
|
this.updateMouseGroup(n);
|
|
7629
7629
|
const o = new qe(this.mouseGroup.position), s = this.lastPoint;
|
|
7630
7630
|
if (o && (this.lastPoint = o), o && s) {
|
|
7631
|
-
const r = new
|
|
7631
|
+
const r = new en(s, o, this.model);
|
|
7632
7632
|
r.distanceItem.setItemSelectable(!1), r.distanceItem.appendTo(this.container), this.polyline.addLine(r), this.group.add(r.mesh), r.distanceItem.update(this.five);
|
|
7633
7633
|
}
|
|
7634
7634
|
this.pressPoint = void 0, this.hasAppendMouseGroup = !1, this.magnifier.disable(), this.group.remove(this.mouseGroup), this.updateDashed(), this.five.needsRender = !0, this.hook.emit("anchorChange", o.position);
|
|
@@ -8165,7 +8165,7 @@ class ah {
|
|
|
8165
8165
|
return this.mouseGroup;
|
|
8166
8166
|
}
|
|
8167
8167
|
}
|
|
8168
|
-
class
|
|
8168
|
+
class on extends Ai {
|
|
8169
8169
|
constructor(e) {
|
|
8170
8170
|
super(e);
|
|
8171
8171
|
m(this, "state", "watching");
|
|
@@ -8221,7 +8221,7 @@ class sn extends Ai {
|
|
|
8221
8221
|
m(this, "onGetEndPoint", (e) => {
|
|
8222
8222
|
const n = this.mobileNowPoint;
|
|
8223
8223
|
if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && n) {
|
|
8224
|
-
const o = new
|
|
8224
|
+
const o = new en(this.mobileStartPoint, n, this.model);
|
|
8225
8225
|
o.distanceItem.appendTo(this.container), o.distanceItem.update(this.five), o.hook.on("selected", this.chooseLine), this.disposers.push(() => o.hook.off("selected", this.chooseLine)), this.group.add(o.mesh), this.polyline.addLine(o);
|
|
8226
8226
|
}
|
|
8227
8227
|
this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
|
|
@@ -8799,7 +8799,7 @@ class Ph {
|
|
|
8799
8799
|
m(this, "container", document.createElement("div"));
|
|
8800
8800
|
m(this, "shortcutKeyController");
|
|
8801
8801
|
m(this, "controller", null);
|
|
8802
|
-
m(this, "getCurrentMode", () => this.controller instanceof Rn ? "Edit" : this.controller instanceof xs ? "Watch" : this.controller instanceof
|
|
8802
|
+
m(this, "getCurrentMode", () => this.controller instanceof Rn ? "Edit" : this.controller instanceof xs ? "Watch" : this.controller instanceof on ? "Mixed" : this.controller instanceof Is ? "View" : null);
|
|
8803
8803
|
m(this, "changeMode", (t) => {
|
|
8804
8804
|
var o;
|
|
8805
8805
|
if (!this.hasOpen || this.getCurrentMode() === t)
|
|
@@ -8809,7 +8809,7 @@ class Ph {
|
|
|
8809
8809
|
View: Is,
|
|
8810
8810
|
Watch: xs,
|
|
8811
8811
|
Edit: Rn,
|
|
8812
|
-
Mixed:
|
|
8812
|
+
Mixed: on
|
|
8813
8813
|
};
|
|
8814
8814
|
if (!e[t])
|
|
8815
8815
|
throw new Error("\u4E0D\u5B58\u5728\u7684 Mode");
|
|
@@ -8881,16 +8881,16 @@ class Ph {
|
|
|
8881
8881
|
}
|
|
8882
8882
|
save(t) {
|
|
8883
8883
|
var o;
|
|
8884
|
-
if (!(this.controller instanceof Rn) && !(this.controller instanceof
|
|
8884
|
+
if (!(this.controller instanceof Rn) && !(this.controller instanceof on))
|
|
8885
8885
|
return this;
|
|
8886
8886
|
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", n = this.controller.polyline;
|
|
8887
8887
|
return this.model.addPolyline(n), this.changeMode(e), this;
|
|
8888
8888
|
}
|
|
8889
8889
|
addStartPoint() {
|
|
8890
|
-
this.controller instanceof
|
|
8890
|
+
this.controller instanceof on && this.hook.emit("willChangeState", "watching", "editing");
|
|
8891
8891
|
}
|
|
8892
8892
|
addEndPoint() {
|
|
8893
|
-
this.controller instanceof
|
|
8893
|
+
this.controller instanceof on && this.hook.emit("willChangeState", "editing", "watching");
|
|
8894
8894
|
}
|
|
8895
8895
|
toJson() {
|
|
8896
8896
|
return this.model.toJson();
|
|
@@ -8935,7 +8935,7 @@ class Ph {
|
|
|
8935
8935
|
};
|
|
8936
8936
|
}
|
|
8937
8937
|
}
|
|
8938
|
-
const
|
|
8938
|
+
const Lv = function(t, e) {
|
|
8939
8939
|
return new Ph(t, e);
|
|
8940
8940
|
}, Za = fo(null);
|
|
8941
8941
|
function Ih(i) {
|
|
@@ -9273,8 +9273,8 @@ class Qh {
|
|
|
9273
9273
|
}
|
|
9274
9274
|
}
|
|
9275
9275
|
}
|
|
9276
|
-
const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
9277
|
-
var N, U, de, ue, me, Ee, Me,
|
|
9276
|
+
const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Sv = (i, t) => {
|
|
9277
|
+
var N, U, de, ue, me, Ee, Me, Oe;
|
|
9278
9278
|
let e = t == null ? void 0 : t.container, n = 1.4;
|
|
9279
9279
|
const o = (N = t == null ? void 0 : t.wait) != null ? N : 200, s = (U = t == null ? void 0 : t.maxNumberOnScreen) != null ? U : 3, r = (de = t == null ? void 0 : t.minRad) != null ? de : Math.PI / 4, a = (ue = t == null ? void 0 : t.nearTolerance) != null ? ue : 100, l = (me = t == null ? void 0 : t.upsideHeight) != null ? me : 1.6, c = (Ee = t == null ? void 0 : t.minDistance) != null ? Ee : 1.2, d = (Me = t == null ? void 0 : t.maxDistance) != null ? Me : 3.5, u = En(i), f = document.createElement("div");
|
|
9280
9280
|
f.classList.add("PanoSpatialTagPlugin"), Object.assign(f.style, zh);
|
|
@@ -9361,16 +9361,16 @@ const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9361
9361
|
), tt.setFromProjectionMatrix(Lt);
|
|
9362
9362
|
const ht = A.tags.filter(
|
|
9363
9363
|
(Te) => tt.containsPoint(Te.position) && !Te.destroying
|
|
9364
|
-
).length, mt = A.points.reduce((Te,
|
|
9365
|
-
if (A.tags.find((Be) =>
|
|
9364
|
+
).length, mt = A.points.reduce((Te, He) => {
|
|
9365
|
+
if (A.tags.find((Be) => He.id === Be.id && !Be.destroying))
|
|
9366
9366
|
return Te;
|
|
9367
|
-
const Ue = ce.position.clone().setY(n).distanceTo(
|
|
9368
|
-
if (Ue < c || Ue > d || !tt.containsPoint(
|
|
9367
|
+
const Ue = ce.position.clone().setY(n).distanceTo(He.position);
|
|
9368
|
+
if (Ue < c || Ue > d || !tt.containsPoint(He.position))
|
|
9369
9369
|
return Te;
|
|
9370
|
-
const
|
|
9371
|
-
if (
|
|
9370
|
+
const tn = He.position.clone().sub(ce.position).setY(0);
|
|
9371
|
+
if (tn.angleTo(He.normal) > Math.PI / 2 - r && tn.angleTo(He.normal) < Math.PI / 2 + r)
|
|
9372
9372
|
return Te;
|
|
9373
|
-
const Ft =
|
|
9373
|
+
const Ft = He.position.clone().project(ce);
|
|
9374
9374
|
if (!A.tags.every((Be) => {
|
|
9375
9375
|
if (Be.position.clone().sub(ce.position).setY(0).angleTo(ge.setY(0)) > Math.PI / 2)
|
|
9376
9376
|
return !0;
|
|
@@ -9381,11 +9381,11 @@ const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9381
9381
|
}))
|
|
9382
9382
|
return Te;
|
|
9383
9383
|
const St = {
|
|
9384
|
-
id:
|
|
9385
|
-
position:
|
|
9386
|
-
normal:
|
|
9387
|
-
replacement:
|
|
9388
|
-
weight:
|
|
9384
|
+
id: He.id,
|
|
9385
|
+
position: He.position,
|
|
9386
|
+
normal: He.normal,
|
|
9387
|
+
replacement: He.replacement,
|
|
9388
|
+
weight: He.weight,
|
|
9389
9389
|
distance: Ue
|
|
9390
9390
|
};
|
|
9391
9391
|
let Pe;
|
|
@@ -9402,17 +9402,17 @@ const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9402
9402
|
}
|
|
9403
9403
|
return Pe !== void 0 ? Te.splice(Pe, 0, St) : Te.push(St), Te;
|
|
9404
9404
|
}, []);
|
|
9405
|
-
for (let Te = 0,
|
|
9405
|
+
for (let Te = 0, He = mt.length; Te < He && !(ht + we.length >= s); Te++) {
|
|
9406
9406
|
const Ue = mt[Te];
|
|
9407
9407
|
if (we.find((Pe) => Ue.id === Pe.id))
|
|
9408
9408
|
continue;
|
|
9409
|
-
const
|
|
9409
|
+
const tn = Ue.position.clone().project(ce);
|
|
9410
9410
|
if (!A.tags.concat(we).every((Pe) => {
|
|
9411
9411
|
if (Pe.position.clone().sub(ce.position).setY(0).angleTo(ge.setY(0)) > Math.PI / 2)
|
|
9412
9412
|
return !0;
|
|
9413
9413
|
const Be = Pe.position.clone().project(ce);
|
|
9414
9414
|
return Math.sqrt(
|
|
9415
|
-
Math.pow((
|
|
9415
|
+
Math.pow((tn.x - Be.x) / 2 * ae, 2) + Math.pow((tn.y - Be.y) / 2 * ve, 2)
|
|
9416
9416
|
) > a;
|
|
9417
9417
|
}))
|
|
9418
9418
|
continue;
|
|
@@ -9496,7 +9496,7 @@ const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9496
9496
|
ae.app.$destroy(), ae = null;
|
|
9497
9497
|
}), A.origins = [], A.tags = [], i.off("modelLoaded", W), i.off("renderFrame", I), i.off("panoWillArrive", y), i.off("panoArrived", w), i.off("modeChange", C), i.off("cameraUpdate", v), i.off("dispose", Y), window.removeEventListener("resize", O, !1);
|
|
9498
9498
|
};
|
|
9499
|
-
return window.addEventListener("resize", O, !1), (
|
|
9499
|
+
return window.addEventListener("resize", O, !1), (Oe = i == null ? void 0 : i.model) != null && Oe.loaded ? W() : i.once("modelLoaded", W), i.on("dispose", Y), {
|
|
9500
9500
|
load: D,
|
|
9501
9501
|
setIntersectObjects: B,
|
|
9502
9502
|
unfoldAll: X,
|
|
@@ -9509,7 +9509,7 @@ const Si = 1e-3, Vs = 0.01, Rh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9509
9509
|
dispose: Y
|
|
9510
9510
|
};
|
|
9511
9511
|
};
|
|
9512
|
-
var
|
|
9512
|
+
var Xt = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MIDLLE = "middle", i.LARGE = "large", i.EXTRA_LARGE = "x-large", i))(Xt || {});
|
|
9513
9513
|
function Oh(i) {
|
|
9514
9514
|
le(i, "svelte-1ir3cyd", `.item-label-item.svelte-1ir3cyd{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1ir3cyd{opacity:1;animation:svelte-1ir3cyd-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-1ir3cyd::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1ir3cyd{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1ir3cyd{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1ir3cyd{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1ir3cyd-fadeIn{from{opacity:0
|
|
9515
9515
|
}to{opacity:1
|
|
@@ -9653,13 +9653,13 @@ function Xh(i, t, e) {
|
|
|
9653
9653
|
}, w = (V) => `translate(${V[0]}px, ${V[1]}px)`, y = (V, P) => p.length === 0 ? !1 : !!p.find((O) => V[0] >= O[0] - P && V[0] <= O[0] + P || V[1] >= O[1] - Os && V[1] <= O[1] + Os);
|
|
9654
9654
|
function C(V, P) {
|
|
9655
9655
|
switch (P) {
|
|
9656
|
-
case
|
|
9656
|
+
case Xt.SMALL:
|
|
9657
9657
|
return Math.ceil(-27.78 * V + 85);
|
|
9658
|
-
case
|
|
9658
|
+
case Xt.MIDLLE:
|
|
9659
9659
|
return Math.ceil(-38.9 * V + 130);
|
|
9660
|
-
case
|
|
9660
|
+
case Xt.LARGE:
|
|
9661
9661
|
return Math.ceil(-44.44 * V + 140);
|
|
9662
|
-
case
|
|
9662
|
+
case Xt.EXTRA_LARGE:
|
|
9663
9663
|
return Math.ceil(-92.59 * V + 300);
|
|
9664
9664
|
}
|
|
9665
9665
|
}
|
|
@@ -9752,7 +9752,7 @@ function Uh(i) {
|
|
|
9752
9752
|
modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
|
|
9753
9753
|
}, t));
|
|
9754
9754
|
}
|
|
9755
|
-
const
|
|
9755
|
+
const Mv = (i, t) => {
|
|
9756
9756
|
var f, h;
|
|
9757
9757
|
const e = {
|
|
9758
9758
|
container: document.createElement("div"),
|
|
@@ -9764,7 +9764,7 @@ const Tv = (i, t) => {
|
|
|
9764
9764
|
app: void 0,
|
|
9765
9765
|
hooks: new Ye(),
|
|
9766
9766
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
9767
|
-
displayStrategyType: (h = t == null ? void 0 : t.displayStrategyType) != null ? h :
|
|
9767
|
+
displayStrategyType: (h = t == null ? void 0 : t.displayStrategyType) != null ? h : Xt.SMALL
|
|
9768
9768
|
};
|
|
9769
9769
|
e.container.setAttribute("class", "model-item-label-plugin-container"), e.container.style.cssText = `
|
|
9770
9770
|
position: absolute;
|
|
@@ -9823,7 +9823,7 @@ const Tv = (i, t) => {
|
|
|
9823
9823
|
dispose: a,
|
|
9824
9824
|
hooks: e.hooks
|
|
9825
9825
|
};
|
|
9826
|
-
},
|
|
9826
|
+
}, Tv = {
|
|
9827
9827
|
name: "ModelItemLabelPlugin",
|
|
9828
9828
|
version: 0
|
|
9829
9829
|
};
|
|
@@ -9844,7 +9844,7 @@ function Jh(i) {
|
|
|
9844
9844
|
t.push(n);
|
|
9845
9845
|
}), t;
|
|
9846
9846
|
}
|
|
9847
|
-
const
|
|
9847
|
+
const zv = (i, { videoElement: t }) => {
|
|
9848
9848
|
const e = {
|
|
9849
9849
|
videoMeshes: [],
|
|
9850
9850
|
videoTextureEnabled: !1,
|
|
@@ -10114,22 +10114,22 @@ class tm extends oe {
|
|
|
10114
10114
|
);
|
|
10115
10115
|
}
|
|
10116
10116
|
}
|
|
10117
|
-
const { Raycaster: nm, Vector3:
|
|
10117
|
+
const { Raycaster: nm, Vector3: Bv } = k, Fs = (i, t, e, n) => {
|
|
10118
10118
|
const o = t.clone().sub(e).normalize(), s = new nm();
|
|
10119
10119
|
s.set(e, o);
|
|
10120
10120
|
const [r] = i.model.intersectRaycaster(s);
|
|
10121
10121
|
return r && r.distance + 0.01 < n;
|
|
10122
10122
|
};
|
|
10123
|
-
var
|
|
10123
|
+
var Yt = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MIDLLE = "middle", i.LARGE = "large", i.EXTRA_LARGE = "x-large", i))(Yt || {});
|
|
10124
10124
|
const im = (i, t) => {
|
|
10125
10125
|
switch (t) {
|
|
10126
|
-
case
|
|
10126
|
+
case Yt.SMALL:
|
|
10127
10127
|
return Math.ceil(-27.78 * i + 85);
|
|
10128
|
-
case
|
|
10128
|
+
case Yt.MIDLLE:
|
|
10129
10129
|
return Math.ceil(-38.9 * i + 130);
|
|
10130
|
-
case
|
|
10130
|
+
case Yt.LARGE:
|
|
10131
10131
|
return Math.ceil(-44.44 * i + 140);
|
|
10132
|
-
case
|
|
10132
|
+
case Yt.EXTRA_LARGE:
|
|
10133
10133
|
return Math.ceil(-92.59 * i + 300);
|
|
10134
10134
|
}
|
|
10135
10135
|
}, om = (i) => `translate(${i[0]}px, ${i[1]}px)`;
|
|
@@ -10256,7 +10256,7 @@ function lm(i, t, e) {
|
|
|
10256
10256
|
const W = R.camera.position.clone(), Y = new o(O.modelPosition[0], O.modelPosition[1], O.modelPosition[2]), N = Y.distanceTo(W);
|
|
10257
10257
|
return d !== void 0 && R.state.mode === je.Mode.Panorama && N > d ? !1 : Fs(R, Y.clone().sub(W).normalize(), W, N);
|
|
10258
10258
|
}, y = (R) => {
|
|
10259
|
-
const { camera: O, model: W } = s, { x: Y, y: N, z: U } = R.clone().project(O), de = (Y + 1) / 2, ue = (2 - (N + 1)) / 2, Me = Math.abs(U) < 1 && [de, ue].every((
|
|
10259
|
+
const { camera: O, model: W } = s, { x: Y, y: N, z: U } = R.clone().project(O), de = (Y + 1) / 2, ue = (2 - (N + 1)) / 2, Me = Math.abs(U) < 1 && [de, ue].every((Oe) => Oe < 1 && Oe >= 0);
|
|
10260
10260
|
return Boolean(Me);
|
|
10261
10261
|
}, C = (R, O) => {
|
|
10262
10262
|
const W = new o(O.modelPosition[0], O.modelPosition[1], O.modelPosition[2]), Y = R.project2d(W), N = Y == null ? void 0 : Y.x, U = Y == null ? void 0 : Y.y;
|
|
@@ -10392,7 +10392,7 @@ function dm(i) {
|
|
|
10392
10392
|
observerIndex: void 0
|
|
10393
10393
|
}));
|
|
10394
10394
|
}
|
|
10395
|
-
const um = void 0,
|
|
10395
|
+
const um = void 0, jv = (i, t) => {
|
|
10396
10396
|
var f, h, p, A;
|
|
10397
10397
|
const e = {
|
|
10398
10398
|
container: document.createElement("div"),
|
|
@@ -10405,7 +10405,7 @@ const um = void 0, Vv = (i, t) => {
|
|
|
10405
10405
|
hooks: new Ye(),
|
|
10406
10406
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
10407
10407
|
onlyVisibleInPanorama: (h = t == null ? void 0 : t.onlyVisibleInPanorama) != null ? h : !0,
|
|
10408
|
-
displayStrategyType: (p = t == null ? void 0 : t.displayStrategyType) != null ? p :
|
|
10408
|
+
displayStrategyType: (p = t == null ? void 0 : t.displayStrategyType) != null ? p : Yt.SMALL,
|
|
10409
10409
|
maxVisibleDistance: (A = t == null ? void 0 : t.maxVisibleDistance) != null ? A : um
|
|
10410
10410
|
};
|
|
10411
10411
|
e.container.setAttribute("class", "item-label-plugin-container"), e.container.style.cssText = `
|
|
@@ -10465,7 +10465,7 @@ const um = void 0, Vv = (i, t) => {
|
|
|
10465
10465
|
dispose: a,
|
|
10466
10466
|
hooks: e.hooks
|
|
10467
10467
|
};
|
|
10468
|
-
},
|
|
10468
|
+
}, Vv = {
|
|
10469
10469
|
name: "ItemLabelPlugin",
|
|
10470
10470
|
version: 0
|
|
10471
10471
|
};
|
|
@@ -10785,7 +10785,7 @@ class Cm extends fm {
|
|
|
10785
10785
|
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());
|
|
10786
10786
|
}
|
|
10787
10787
|
}
|
|
10788
|
-
const
|
|
10788
|
+
const Qv = (i) => new Cm(i), Em = 2, Pm = 3, Im = 3, km = 2;
|
|
10789
10789
|
function xm(i, t) {
|
|
10790
10790
|
var r, a, l;
|
|
10791
10791
|
if (i.length < 2)
|
|
@@ -11458,7 +11458,7 @@ class il extends Ht {
|
|
|
11458
11458
|
}
|
|
11459
11459
|
}
|
|
11460
11460
|
m(il, "PluginVersion", tl);
|
|
11461
|
-
const
|
|
11461
|
+
const Rv = (i) => new il(i);
|
|
11462
11462
|
function Om(i) {
|
|
11463
11463
|
le(i, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
|
|
11464
11464
|
}
|
|
@@ -11503,7 +11503,7 @@ function qs(i) {
|
|
|
11503
11503
|
}), s = !0);
|
|
11504
11504
|
},
|
|
11505
11505
|
o(r) {
|
|
11506
|
-
n && n.invalidate(), r && (o =
|
|
11506
|
+
n && n.invalidate(), r && (o = $t(t, oi, {
|
|
11507
11507
|
duration: i[2],
|
|
11508
11508
|
delay: i[1],
|
|
11509
11509
|
easing: Et
|
|
@@ -11613,7 +11613,7 @@ function Ks(i) {
|
|
|
11613
11613
|
}), s = !0);
|
|
11614
11614
|
},
|
|
11615
11615
|
o(r) {
|
|
11616
|
-
n && n.invalidate(), r && (o =
|
|
11616
|
+
n && n.invalidate(), r && (o = $t(t, Bt, { duration: i[1] })), s = !1;
|
|
11617
11617
|
},
|
|
11618
11618
|
d(r) {
|
|
11619
11619
|
r && T(t), r && o && o.end();
|
|
@@ -11733,7 +11733,7 @@ function Jm(i) {
|
|
|
11733
11733
|
function Zm(i) {
|
|
11734
11734
|
return i.stickType === "3DPoint" || i.stickType === "Plane";
|
|
11735
11735
|
}
|
|
11736
|
-
function
|
|
11736
|
+
function Re(i) {
|
|
11737
11737
|
return i.stickType === "Model" && i.contentType === "MediaModel";
|
|
11738
11738
|
}
|
|
11739
11739
|
function Ji(i) {
|
|
@@ -11746,13 +11746,13 @@ function Ji(i) {
|
|
|
11746
11746
|
function $s(i) {
|
|
11747
11747
|
if (Jm(i))
|
|
11748
11748
|
return ot(i == null ? void 0 : i.position);
|
|
11749
|
-
if (
|
|
11750
|
-
const t = new
|
|
11749
|
+
if (Re(i) && i.matrix) {
|
|
11750
|
+
const t = new an().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new Z().fromArray(n).applyMatrix4(t));
|
|
11751
11751
|
return no(e[0], e[2]);
|
|
11752
11752
|
} else
|
|
11753
11753
|
return Ji(i.position);
|
|
11754
11754
|
}
|
|
11755
|
-
function
|
|
11755
|
+
function sn(i, t) {
|
|
11756
11756
|
if (i === void 0)
|
|
11757
11757
|
return;
|
|
11758
11758
|
const { min: e, max: n } = t != null ? t : {};
|
|
@@ -12032,15 +12032,15 @@ function or(i) {
|
|
|
12032
12032
|
a && a.end(1), r = Rt(o, Bt, {
|
|
12033
12033
|
duration: i[2],
|
|
12034
12034
|
delay: i[3],
|
|
12035
|
-
easing:
|
|
12035
|
+
easing: Jt
|
|
12036
12036
|
}), r.start();
|
|
12037
12037
|
}), l = !0);
|
|
12038
12038
|
},
|
|
12039
12039
|
o(u) {
|
|
12040
|
-
S(e.$$.fragment, u), r && r.invalidate(), u && (a =
|
|
12040
|
+
S(e.$$.fragment, u), r && r.invalidate(), u && (a = $t(o, Bt, {
|
|
12041
12041
|
duration: i[2],
|
|
12042
12042
|
delay: i[4],
|
|
12043
|
-
easing:
|
|
12043
|
+
easing: Jt
|
|
12044
12044
|
})), l = !1;
|
|
12045
12045
|
},
|
|
12046
12046
|
d(u) {
|
|
@@ -12754,10 +12754,10 @@ function fr(i) {
|
|
|
12754
12754
|
}), o = !0);
|
|
12755
12755
|
},
|
|
12756
12756
|
o(s) {
|
|
12757
|
-
e && e.invalidate(), s && (n =
|
|
12757
|
+
e && e.invalidate(), s && (n = $t(t, oi, {
|
|
12758
12758
|
duration: i[1],
|
|
12759
12759
|
delay: i[2],
|
|
12760
|
-
easing:
|
|
12760
|
+
easing: Jt
|
|
12761
12761
|
})), o = !1;
|
|
12762
12762
|
},
|
|
12763
12763
|
d(s) {
|
|
@@ -13694,7 +13694,7 @@ function Ir(i) {
|
|
|
13694
13694
|
}), r = !0);
|
|
13695
13695
|
},
|
|
13696
13696
|
o(d) {
|
|
13697
|
-
S(n), o && o.invalidate(), d && (s =
|
|
13697
|
+
S(n), o && o.invalidate(), d && (s = $t(t, Fo, i[6] ? {
|
|
13698
13698
|
y: 4,
|
|
13699
13699
|
duration: i[4],
|
|
13700
13700
|
delay: i[3],
|
|
@@ -14489,7 +14489,7 @@ class Vg {
|
|
|
14489
14489
|
o && o.updateWithIntersect(t), this.five.needsRender = !0;
|
|
14490
14490
|
}
|
|
14491
14491
|
}
|
|
14492
|
-
const
|
|
14492
|
+
const Ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14493
14493
|
__proto__: null,
|
|
14494
14494
|
Interval: $i,
|
|
14495
14495
|
Rectangle: Ig,
|
|
@@ -14732,12 +14732,12 @@ class Hg extends oe {
|
|
|
14732
14732
|
super(), ie(this, t, Og, Rg, ne, { tag: 0 }, Qg);
|
|
14733
14733
|
}
|
|
14734
14734
|
}
|
|
14735
|
-
const
|
|
14735
|
+
const qt = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", hn = {};
|
|
14736
14736
|
var ai = /* @__PURE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(ai || {});
|
|
14737
14737
|
function hl(i, t) {
|
|
14738
14738
|
const e = (t == null ? void 0 : t.namespace) || "default", n = hn[e] || (hn[e] = []);
|
|
14739
|
-
let o = n.find((s) => !s.realSrc || s.realSrc ===
|
|
14740
|
-
return o || (console.warn("\u672A\u627E\u5230\u7F13\u5B58\u97F3\u9891\uFF0C\u5DF2\u65B0\u5EFA", hn), o = new Eo(
|
|
14739
|
+
let o = n.find((s) => !s.realSrc || s.realSrc === qt);
|
|
14740
|
+
return o || (console.warn("\u672A\u627E\u5230\u7F13\u5B58\u97F3\u9891\uFF0C\u5DF2\u65B0\u5EFA", hn), o = new Eo(qt), n.push(o)), i && (o.src = i), o;
|
|
14741
14741
|
}
|
|
14742
14742
|
function Fg(i) {
|
|
14743
14743
|
return _(this, null, function* () {
|
|
@@ -14755,7 +14755,7 @@ function Fr(i, t) {
|
|
|
14755
14755
|
const e = (t == null ? void 0 : t.namespace) || "default", n = hn[e] || (hn[e] = []), o = i - n.length;
|
|
14756
14756
|
if (!(o <= 0))
|
|
14757
14757
|
for (let s = 0; s < o; s++)
|
|
14758
|
-
n.push(new Eo(
|
|
14758
|
+
n.push(new Eo(qt));
|
|
14759
14759
|
}
|
|
14760
14760
|
class Eo extends Audio {
|
|
14761
14761
|
constructor(e) {
|
|
@@ -14773,7 +14773,7 @@ class Eo extends Audio {
|
|
|
14773
14773
|
};
|
|
14774
14774
|
}
|
|
14775
14775
|
get isBlankAudio() {
|
|
14776
|
-
return this.realSrc ===
|
|
14776
|
+
return this.realSrc === qt || !this.realSrc;
|
|
14777
14777
|
}
|
|
14778
14778
|
get src() {
|
|
14779
14779
|
return super.src;
|
|
@@ -14782,11 +14782,11 @@ class Eo extends Audio {
|
|
|
14782
14782
|
super.src = e, this.realSrc = e;
|
|
14783
14783
|
}
|
|
14784
14784
|
clear() {
|
|
14785
|
-
this.src =
|
|
14785
|
+
this.src = qt, this.currentTime = 0;
|
|
14786
14786
|
}
|
|
14787
14787
|
}
|
|
14788
14788
|
function Gg(i) {
|
|
14789
|
-
!i || i.inited || (i.src && (i.inited = !0, i.removeDocumentEventListener()), i.src ===
|
|
14789
|
+
!i || i.inited || (i.src && (i.inited = !0, i.removeDocumentEventListener()), i.src === qt && i.play());
|
|
14790
14790
|
}
|
|
14791
14791
|
class Wg extends Audio {
|
|
14792
14792
|
constructor(e) {
|
|
@@ -15175,16 +15175,16 @@ function Nr(i) {
|
|
|
15175
15175
|
r && r.end(1), s = Rt(t, Bt, {
|
|
15176
15176
|
duration: 1e3,
|
|
15177
15177
|
delay: 0,
|
|
15178
|
-
easing:
|
|
15178
|
+
easing: Jt
|
|
15179
15179
|
}), s.start();
|
|
15180
15180
|
}), a = !0);
|
|
15181
15181
|
},
|
|
15182
15182
|
o(l) {
|
|
15183
15183
|
var c, d;
|
|
15184
|
-
S(e.$$.fragment, l), S(o.$$.fragment, l), s && s.invalidate(), l && (r =
|
|
15184
|
+
S(e.$$.fragment, l), S(o.$$.fragment, l), s && s.invalidate(), l && (r = $t(t, Bt, {
|
|
15185
15185
|
duration: 1e3,
|
|
15186
15186
|
delay: 20 * Math.min((d = (c = i[5]) == null ? void 0 : c.length) != null ? d : 10, 15),
|
|
15187
|
-
easing:
|
|
15187
|
+
easing: Jt
|
|
15188
15188
|
})), a = !1;
|
|
15189
15189
|
},
|
|
15190
15190
|
d(l) {
|
|
@@ -16291,7 +16291,7 @@ function X0(i, t, e) {
|
|
|
16291
16291
|
}
|
|
16292
16292
|
function w(C, I, E) {
|
|
16293
16293
|
var L, D;
|
|
16294
|
-
return !(!I.visible || !I.enabled || !E.visible || !((L = C.state) != null && L.visible) || ((D = C.temporaryState) == null ? void 0 : D.visible) === !1 ||
|
|
16294
|
+
return !(!I.visible || !I.enabled || !E.visible || !((L = C.state) != null && L.visible) || ((D = C.temporaryState) == null ? void 0 : D.visible) === !1 || Re(C) && C.mediaVisible === !1);
|
|
16295
16295
|
}
|
|
16296
16296
|
const y = (C) => u.emit("click", { event: C, target: "TagContent", tag: d });
|
|
16297
16297
|
return i.$$set = (C) => {
|
|
@@ -16778,6 +16778,7 @@ const cA = {
|
|
|
16778
16778
|
},
|
|
16779
16779
|
visibleConfig: {
|
|
16780
16780
|
keep: "visible",
|
|
16781
|
+
visibleFiveMode: ["Panorama", "Floorplan", "Model", "Mapview"],
|
|
16781
16782
|
alwaysShowWhenMovePano: !0
|
|
16782
16783
|
}
|
|
16783
16784
|
}
|
|
@@ -16833,7 +16834,7 @@ class uA extends dA {
|
|
|
16833
16834
|
getVisibleByPanoIndex(e, n) {
|
|
16834
16835
|
var r;
|
|
16835
16836
|
const o = this.getCache({ panoIndex: n, id: e.id }), s = (r = this.five.panoIndex) != null ? r : n;
|
|
16836
|
-
if (
|
|
16837
|
+
if (Re(e))
|
|
16837
16838
|
return !0;
|
|
16838
16839
|
if (o.visible !== void 0)
|
|
16839
16840
|
return o.visible;
|
|
@@ -16859,7 +16860,7 @@ class uA extends dA {
|
|
|
16859
16860
|
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(f = e.fiveState) == null ? void 0 : f.panoIndex}`
|
|
16860
16861
|
};
|
|
16861
16862
|
}
|
|
16862
|
-
if (l.visibleDistance !== void 0 && l.visibleDistance !== "unLimited" &&
|
|
16863
|
+
if (l.visibleDistance !== void 0 && l.visibleDistance !== "unLimited" && sn(c, l.visibleDistance) === !1)
|
|
16863
16864
|
return {
|
|
16864
16865
|
value: !1,
|
|
16865
16866
|
reason: `distance is not in visibleDistance. distance: ${c}, visibleDistance: ${l.visibleDistance}`
|
|
@@ -16876,7 +16877,7 @@ class uA extends dA {
|
|
|
16876
16877
|
}
|
|
16877
16878
|
if (l.angleRange && Zm(e)) {
|
|
16878
16879
|
const h = this.getAngle(e);
|
|
16879
|
-
if (
|
|
16880
|
+
if (sn(h, l.angleRange) === !1)
|
|
16880
16881
|
return { value: !1, reason: `angle is not in angleRange. angle: ${h}, angleRange: ${l.angleRange}` };
|
|
16881
16882
|
}
|
|
16882
16883
|
return {
|
|
@@ -16924,7 +16925,7 @@ class uA extends dA {
|
|
|
16924
16925
|
return !1;
|
|
16925
16926
|
if (r.keep === "unfolded")
|
|
16926
16927
|
return !0;
|
|
16927
|
-
if (r.unfoldDistance &&
|
|
16928
|
+
if (r.unfoldDistance && sn(c, r.unfoldDistance) === !1)
|
|
16928
16929
|
return !1;
|
|
16929
16930
|
})();
|
|
16930
16931
|
s.unfolded = a;
|
|
@@ -16947,7 +16948,7 @@ class uA extends dA {
|
|
|
16947
16948
|
return;
|
|
16948
16949
|
if (r.autoUnfold.strategy === "ScreenPostion") {
|
|
16949
16950
|
const l = this.getTagProject(e);
|
|
16950
|
-
if (l &&
|
|
16951
|
+
if (l && sn(l.x, r.autoUnfold.autoUnfoldProjectX) === !1)
|
|
16951
16952
|
return !1;
|
|
16952
16953
|
}
|
|
16953
16954
|
if (r.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -16962,7 +16963,7 @@ class uA extends dA {
|
|
|
16962
16963
|
return !(typeof h != "object" || h.keep || h.autoUnfold === !1 || ((p = h.autoUnfold) == null ? void 0 : p.enable) === !1 || ((A = h.autoUnfold) == null ? void 0 : A.strategy) !== "MinimumDistance");
|
|
16963
16964
|
}).map((f) => he(F({}, f), { distance: this.getDistance(f.tag) })).filter(({ distance: f, tagConfig: h }) => {
|
|
16964
16965
|
var p, A;
|
|
16965
|
-
return !(f === void 0 || typeof h != "object" || h.autoUnfold === !1 || ((p = h.autoUnfold) == null ? void 0 : p.enable) === !1 || ((A = h.autoUnfold) == null ? void 0 : A.strategy) !== "MinimumDistance" || h.autoUnfold.distance &&
|
|
16966
|
+
return !(f === void 0 || typeof h != "object" || h.autoUnfold === !1 || ((p = h.autoUnfold) == null ? void 0 : p.enable) === !1 || ((A = h.autoUnfold) == null ? void 0 : A.strategy) !== "MinimumDistance" || h.autoUnfold.distance && sn(f, h.autoUnfold.distance) === !1);
|
|
16966
16967
|
}).sort((f, h) => f.distance - h.distance).findIndex((f) => f.id === e.id);
|
|
16967
16968
|
if (d === -1 || d <= ((a = r.autoUnfold.maxNumber) != null ? a : 1) - 1 === !1)
|
|
16968
16969
|
return !1;
|
|
@@ -17083,7 +17084,7 @@ class uA extends dA {
|
|
|
17083
17084
|
}
|
|
17084
17085
|
setModelMedialVisibleByPanoIndex() {
|
|
17085
17086
|
this.tags.forEach((e) => {
|
|
17086
|
-
if (!
|
|
17087
|
+
if (!Re(e))
|
|
17087
17088
|
return;
|
|
17088
17089
|
const n = this.getModelMedialVisibleByPanoIndex(e);
|
|
17089
17090
|
e.mediaVisible = n;
|
|
@@ -17132,9 +17133,9 @@ class uA extends dA {
|
|
|
17132
17133
|
getTagEnableByIntersect(e, n) {
|
|
17133
17134
|
var d, u, f;
|
|
17134
17135
|
const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, s = this.getDistance(e), [r] = this.five.model.intersectRaycaster(n), a = (() => {
|
|
17135
|
-
if (!
|
|
17136
|
+
if (!Re(e))
|
|
17136
17137
|
return;
|
|
17137
|
-
const h = this.tags.filter(
|
|
17138
|
+
const h = this.tags.filter(Re).map((A) => {
|
|
17138
17139
|
var g;
|
|
17139
17140
|
return (g = A.model) == null ? void 0 : g.object;
|
|
17140
17141
|
}).filter(_e);
|
|
@@ -17192,14 +17193,8 @@ function mA(i) {
|
|
|
17192
17193
|
hA.load(i, n, void 0, o);
|
|
17193
17194
|
});
|
|
17194
17195
|
}
|
|
17195
|
-
|
|
17196
|
-
|
|
17197
|
-
return;
|
|
17198
|
-
const t = new Xt().fromArray(i.matrix), { mediaPosition: e } = i.data;
|
|
17199
|
-
return e.map((o) => new Z().fromArray(o).add(new Z(0, 0, 5e-4)).applyMatrix4(t).toArray());
|
|
17200
|
-
}
|
|
17201
|
-
const vl = "2.0.10", eo = `DnalogelPlugin-PanoTagPlugin@${vl}`, gA = !1, Fv = (i) => `${eo}--${i}`;
|
|
17202
|
-
class AA extends uA {
|
|
17196
|
+
const vl = "2.0.10", eo = `DnalogelPlugin-PanoTagPlugin@${vl}`, pA = !1, Hv = (i) => `${eo}--${i}`;
|
|
17197
|
+
class gA extends uA {
|
|
17203
17198
|
constructor(e, n) {
|
|
17204
17199
|
super(e);
|
|
17205
17200
|
m(this, "version", vl);
|
|
@@ -17231,12 +17226,12 @@ class AA extends uA {
|
|
|
17231
17226
|
m(this, "handleFiveInitAnimationEnded", () => {
|
|
17232
17227
|
const e = this.five.getCurrentState().mode;
|
|
17233
17228
|
this.tags.forEach((n) => {
|
|
17234
|
-
n.state.visible = this.getVisible(n),
|
|
17229
|
+
n.state.visible = this.getVisible(n), Re(n) && e === "Panorama" && this.changeTagMode(n, "front");
|
|
17235
17230
|
}), this.updateRenderAllTags(), this.updateRenderAllTags();
|
|
17236
17231
|
});
|
|
17237
17232
|
m(this, "handleFiveModelShownFloorChange", () => {
|
|
17238
17233
|
this.tags.forEach((e) => {
|
|
17239
|
-
!
|
|
17234
|
+
!Re(e) || (e.state.visible = this.checkFloorIndex(e));
|
|
17240
17235
|
}), this.updateRenderAllTags();
|
|
17241
17236
|
});
|
|
17242
17237
|
m(this, "loadModel", (e) => _(this, null, function* () {
|
|
@@ -17249,7 +17244,7 @@ class AA extends uA {
|
|
|
17249
17244
|
const s = yield o;
|
|
17250
17245
|
if (((l = e.model) == null ? void 0 : l.promise) !== o || (e.model.object = s, !this.tags.includes(e)))
|
|
17251
17246
|
return;
|
|
17252
|
-
s.visible = e.state.visible, new
|
|
17247
|
+
s.visible = e.state.visible, new an().fromArray(e.matrix).decompose(s.position, s.quaternion, s.scale), this.checkFloorIndex(e) || (s.visible = !1);
|
|
17253
17248
|
const a = this.gltfObjectGroup.children.find((c) => c.customID === e.id);
|
|
17254
17249
|
return a && this.gltfObjectGroup.remove(a), this.gltfObjectGroup.add(s), this.updateTagCss3DObjectMatrix(e, s), s;
|
|
17255
17250
|
}));
|
|
@@ -17276,12 +17271,12 @@ class AA extends uA {
|
|
|
17276
17271
|
return _(this, null, function* () {
|
|
17277
17272
|
const s = (Array.isArray(e) ? e : [e]).map((r) => {
|
|
17278
17273
|
const a = this.getTagConfig(r), l = he(F({}, r), {
|
|
17279
|
-
state: F({ visible: void 0, unfolded:
|
|
17274
|
+
state: F({ visible: void 0, unfolded: pA }, a.initialState),
|
|
17280
17275
|
hooks: new Ye(),
|
|
17281
17276
|
clickable: a.clickable,
|
|
17282
17277
|
mergedConfig: a
|
|
17283
17278
|
});
|
|
17284
|
-
return
|
|
17279
|
+
return Re(r) && (l.temporaryState = { visible: !1 }), l;
|
|
17285
17280
|
}).filter((r) => r.position);
|
|
17286
17281
|
return s.forEach(fA), this.tags.push(...s), qm(this.five).then(() => {
|
|
17287
17282
|
var r, a, l;
|
|
@@ -17377,9 +17372,9 @@ class AA extends uA {
|
|
|
17377
17372
|
const o = (v = (g = (A = e.mergedConfig) == null ? void 0 : A.tag3DConfig) == null ? void 0 : g.ratio) != null ? v : 216e-5, s = (w = e.tag3DContentSvelte) == null ? void 0 : w.domContainer.css3DObject;
|
|
17378
17373
|
if (!s)
|
|
17379
17374
|
return;
|
|
17380
|
-
const r =
|
|
17375
|
+
const r = Re(e) ? e.data.mediaPosition : e.position;
|
|
17381
17376
|
n.updateWorldMatrix(!1, !1);
|
|
17382
|
-
const a = n.matrixWorld, l = new Z().fromArray(r[0]), c = new Z().fromArray(r[2]), d = new Z().lerpVectors(l, c, 0.5).add(new Z(0, 0, 5e-4)), u = new
|
|
17377
|
+
const a = n.matrixWorld, l = new Z().fromArray(r[0]), c = new Z().fromArray(r[2]), d = new Z().lerpVectors(l, c, 0.5).add(new Z(0, 0, 5e-4)), u = new an().setPosition(d), f = new an().makeScale(o, o, o), h = new an().multiply(a).multiply(u).multiply(f);
|
|
17383
17378
|
h.decompose(s.position, s.quaternion, s.scale);
|
|
17384
17379
|
const p = s.opacityMesh;
|
|
17385
17380
|
!p || h.decompose(p.position, p.quaternion, p.scale);
|
|
@@ -17449,7 +17444,7 @@ class AA extends uA {
|
|
|
17449
17444
|
}
|
|
17450
17445
|
handleFiveModeChange(e) {
|
|
17451
17446
|
this.tags.forEach((n) => {
|
|
17452
|
-
n.state.visible = this.getVisible(n),
|
|
17447
|
+
n.state.visible = this.getVisible(n), Re(n) && e !== "Panorama" && this.changeTagMode(n, "behind");
|
|
17453
17448
|
}), this.updateRenderAllTags(), this.updateRenderAllTags();
|
|
17454
17449
|
}
|
|
17455
17450
|
handleFiveWantsMoveToPano() {
|
|
@@ -17534,46 +17529,46 @@ class AA extends uA {
|
|
|
17534
17529
|
}
|
|
17535
17530
|
updateRenderPlaneTag() {
|
|
17536
17531
|
this.sort([...this.filterPlaneTag(), ...this.filter3DPointTag(), ...this.filterModelTag()]).forEach((n) => {
|
|
17537
|
-
var o;
|
|
17532
|
+
var o, s, r;
|
|
17538
17533
|
if (n.tag3DContentSvelte) {
|
|
17539
|
-
const { svelteApp:
|
|
17540
|
-
if (
|
|
17534
|
+
const { svelteApp: a, domContainer: l, initialNormal: c, currentNormal: d } = n.tag3DContentSvelte;
|
|
17535
|
+
if (a.$set({
|
|
17541
17536
|
tag: n,
|
|
17542
17537
|
hooks: this.hooks,
|
|
17543
17538
|
state: this.state,
|
|
17544
17539
|
temporaryState: this.temporaryState
|
|
17545
|
-
}), !
|
|
17546
|
-
const
|
|
17547
|
-
|
|
17540
|
+
}), !c.equals(d)) {
|
|
17541
|
+
const u = new oa().setFromUnitVectors(c, d);
|
|
17542
|
+
l.css3DObject.setRotationFromQuaternion(u);
|
|
17548
17543
|
}
|
|
17549
17544
|
} else {
|
|
17550
17545
|
if (((o = n.state) == null ? void 0 : o.visible) === !1)
|
|
17551
17546
|
return;
|
|
17552
17547
|
if (this.css3DRenderPlugin || (this.css3DRenderPlugin = En(this.five)), n.stickType === "3DPoint" && !n.normal)
|
|
17553
17548
|
return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
|
|
17554
|
-
const
|
|
17549
|
+
const a = (() => n.stickType === "Plane" ? n.position : Re(n) ? n.data.mediaPosition : Km(
|
|
17555
17550
|
this.five.camera.position,
|
|
17556
17551
|
ot(n.position),
|
|
17557
17552
|
ot(n.normal)
|
|
17558
17553
|
))();
|
|
17559
|
-
if (!
|
|
17554
|
+
if (!a)
|
|
17560
17555
|
return;
|
|
17561
|
-
const
|
|
17556
|
+
const l = function() {
|
|
17562
17557
|
if (n.normal)
|
|
17563
17558
|
return ot(n.normal);
|
|
17564
17559
|
if (n.stickType === "Plane")
|
|
17565
17560
|
return Ui(n.position);
|
|
17566
17561
|
if (n.contentType === "MediaModel")
|
|
17567
|
-
return Ui(
|
|
17562
|
+
return Ui(a);
|
|
17568
17563
|
}();
|
|
17569
|
-
if (!r)
|
|
17570
|
-
return;
|
|
17571
|
-
const a = this.getTagConfig(n).tag3DConfig, l = this.css3DRenderPlugin.create3DDomContainer(s, a);
|
|
17572
17564
|
if (!l)
|
|
17573
17565
|
return;
|
|
17574
|
-
this.
|
|
17566
|
+
const c = this.getTagConfig(n).tag3DConfig, d = this.css3DRenderPlugin.create3DDomContainer(a, c);
|
|
17567
|
+
if (!d)
|
|
17568
|
+
return;
|
|
17569
|
+
this.store.css3DRenderDisposer.set(n.id, d.dispose), n.tag3DContentSvelte = {
|
|
17575
17570
|
svelteApp: new Al({
|
|
17576
|
-
target:
|
|
17571
|
+
target: d.container,
|
|
17577
17572
|
props: {
|
|
17578
17573
|
tag: n,
|
|
17579
17574
|
hooks: this.hooks,
|
|
@@ -17582,16 +17577,16 @@ class AA extends uA {
|
|
|
17582
17577
|
temporaryState: this.temporaryState
|
|
17583
17578
|
}
|
|
17584
17579
|
}),
|
|
17585
|
-
domContainer:
|
|
17586
|
-
initialNormal:
|
|
17587
|
-
currentNormal:
|
|
17588
|
-
};
|
|
17580
|
+
domContainer: d,
|
|
17581
|
+
initialNormal: l,
|
|
17582
|
+
currentNormal: l
|
|
17583
|
+
}, Re(n) && ((s = n.model) == null ? void 0 : s.object) && this.updateTagCss3DObjectMatrix(n, (r = n.model) == null ? void 0 : r.object);
|
|
17589
17584
|
}
|
|
17590
17585
|
}), this.checkPanelTag();
|
|
17591
17586
|
}
|
|
17592
17587
|
updateRenderModelTag() {
|
|
17593
17588
|
const e = (o) => !this.enabledModelTagSet.has(o.customID);
|
|
17594
|
-
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(
|
|
17589
|
+
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(Re).forEach((o) => {
|
|
17595
17590
|
var s;
|
|
17596
17591
|
(s = o.model) == null || s.promise.then((r) => {
|
|
17597
17592
|
r.visible = o.state.visible;
|
|
@@ -17615,7 +17610,7 @@ class AA extends uA {
|
|
|
17615
17610
|
}
|
|
17616
17611
|
addMediaModelTag(e) {
|
|
17617
17612
|
return _(this, null, function* () {
|
|
17618
|
-
const n = e.filter(
|
|
17613
|
+
const n = e.filter(Re).map(this.loadModel);
|
|
17619
17614
|
yield Promise.all(n), this.five.getCurrentState().mode === "Panorama" && this.setModelMedialVisibleByPanoIndex(), this.updateRenderAllTags();
|
|
17620
17615
|
});
|
|
17621
17616
|
}
|
|
@@ -17624,7 +17619,7 @@ class AA extends uA {
|
|
|
17624
17619
|
((r = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.domContainer) == null ? void 0 : s.css3DObject) == null ? void 0 : r.mode) !== n && ((a = e.config) != null && a.tag3DConfig ? e.config.tag3DConfig.mode = n : e.config ? e.config.tag3DConfig = { mode: n } : e.config = { tag3DConfig: { mode: n } }, (l = this.store.css3DRenderDisposer.get(e.id)) == null || l(), e.tag3DContentSvelte = void 0);
|
|
17625
17620
|
}
|
|
17626
17621
|
}
|
|
17627
|
-
const
|
|
17622
|
+
const Fv = (i, t) => new gA(i, t);
|
|
17628
17623
|
function pe(i, t) {
|
|
17629
17624
|
this._camera = i || null, this._domElement = t || document, this._raycaster = new k.Raycaster(), this._selected = null, this._boundObjs = {};
|
|
17630
17625
|
var e = this;
|
|
@@ -17854,7 +17849,7 @@ class Pn {
|
|
|
17854
17849
|
return !1;
|
|
17855
17850
|
});
|
|
17856
17851
|
var c, d;
|
|
17857
|
-
this.hooks = (c = t.sharedHooks) != null ? c : new
|
|
17852
|
+
this.hooks = (c = t.sharedHooks) != null ? c : new Kt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new pe(t.camera, t.container), this.onRender = (d = t.onRender) != null ? d : () => {
|
|
17858
17853
|
}, this.offset = e == null ? void 0 : e.offset, this.initialHelperPosition(), this.initialHelperQuaternion(), this.enable();
|
|
17859
17854
|
const n = (...u) => this.onSetOriginObjectScale(...u), o = (...u) => this.onSetOriginObjectRotate(...u), s = (...u) => this.onSetOriginObjectPosition(...u), r = (...u) => this.onApplyOriginObjectScale(...u), a = (...u) => this.onApplyOriginObjectRotate(...u), l = (...u) => this.onApplyOriginObjectPosition(...u);
|
|
17860
17855
|
this.hooks.on("setObjectScale", n), this.hooks.on("setObjectRotate", o), this.hooks.on("setObjectPosition", s), this.hooks.on("applyObjectPosition", l), this.hooks.on("applyObjectRotate", a), this.hooks.on("applyObjectScale", r), this.disposers.push(() => {
|
|
@@ -17994,7 +17989,7 @@ class Pn {
|
|
|
17994
17989
|
return o;
|
|
17995
17990
|
}
|
|
17996
17991
|
}
|
|
17997
|
-
class
|
|
17992
|
+
class AA extends Pn {
|
|
17998
17993
|
constructor(...e) {
|
|
17999
17994
|
super(...e);
|
|
18000
17995
|
m(this, "name", "ScaleController");
|
|
@@ -18007,7 +18002,7 @@ class vA extends Pn {
|
|
|
18007
18002
|
this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
|
|
18008
18003
|
}
|
|
18009
18004
|
}
|
|
18010
|
-
class
|
|
18005
|
+
class vA extends Xl {
|
|
18011
18006
|
constructor() {
|
|
18012
18007
|
super();
|
|
18013
18008
|
}
|
|
@@ -18016,7 +18011,7 @@ class bA extends Xl {
|
|
|
18016
18011
|
return t !== null && t.remove(this), this;
|
|
18017
18012
|
}
|
|
18018
18013
|
}
|
|
18019
|
-
class bi extends
|
|
18014
|
+
class bi extends vA {
|
|
18020
18015
|
constructor(e, n) {
|
|
18021
18016
|
var o;
|
|
18022
18017
|
super();
|
|
@@ -18073,17 +18068,17 @@ class bi extends bA {
|
|
|
18073
18068
|
this.removeFromParent();
|
|
18074
18069
|
}
|
|
18075
18070
|
}
|
|
18071
|
+
class bA extends bi {
|
|
18072
|
+
}
|
|
18076
18073
|
class yA extends bi {
|
|
18077
18074
|
}
|
|
18078
18075
|
class wA extends bi {
|
|
18079
18076
|
}
|
|
18080
|
-
class CA extends bi {
|
|
18081
|
-
}
|
|
18082
18077
|
class yl extends bi {
|
|
18083
18078
|
}
|
|
18084
|
-
class
|
|
18079
|
+
class CA extends yl {
|
|
18085
18080
|
}
|
|
18086
|
-
class
|
|
18081
|
+
class EA extends k.Group {
|
|
18087
18082
|
constructor(e) {
|
|
18088
18083
|
super();
|
|
18089
18084
|
m(this, "direction");
|
|
@@ -18097,7 +18092,7 @@ class ta extends k.Mesh {
|
|
|
18097
18092
|
this.direction = o || "x";
|
|
18098
18093
|
}
|
|
18099
18094
|
}
|
|
18100
|
-
function
|
|
18095
|
+
function PA(i, t) {
|
|
18101
18096
|
const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
|
|
18102
18097
|
return Object.assign(new k.Vector2(), {
|
|
18103
18098
|
x: (i.x - s) / e * 2 - 1,
|
|
@@ -18107,16 +18102,16 @@ function IA(i, t) {
|
|
|
18107
18102
|
function Po(i, t, e) {
|
|
18108
18103
|
if (!t || !e || !i)
|
|
18109
18104
|
return;
|
|
18110
|
-
const n =
|
|
18105
|
+
const n = PA(t, e);
|
|
18111
18106
|
if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
|
|
18112
18107
|
return;
|
|
18113
18108
|
const o = new k.Raycaster();
|
|
18114
18109
|
return o.setFromCamera(n, i), o;
|
|
18115
18110
|
}
|
|
18116
|
-
function
|
|
18111
|
+
function IA(i, t) {
|
|
18117
18112
|
return !(Math.abs(i.x - t.x) > 1e-5 || Math.abs(i.y - t.y) > 1e-5 || Math.abs(i.z - t.z) > 1e-5);
|
|
18118
18113
|
}
|
|
18119
|
-
class zi extends
|
|
18114
|
+
class zi extends EA {
|
|
18120
18115
|
constructor(e) {
|
|
18121
18116
|
var d;
|
|
18122
18117
|
super(e.direction);
|
|
@@ -18159,7 +18154,7 @@ class it {
|
|
|
18159
18154
|
return new k.Color(Bi.Z).convertSRGBToLinear().clone();
|
|
18160
18155
|
}
|
|
18161
18156
|
}
|
|
18162
|
-
class
|
|
18157
|
+
class kA extends bA {
|
|
18163
18158
|
constructor(e) {
|
|
18164
18159
|
super(e);
|
|
18165
18160
|
m(this, "xArrow", new zi({ direction: "x", color: it.X }));
|
|
@@ -18178,16 +18173,16 @@ class xA extends yA {
|
|
|
18178
18173
|
}
|
|
18179
18174
|
}
|
|
18180
18175
|
function zt(i, t) {
|
|
18181
|
-
return
|
|
18176
|
+
return xA(document.createElement(t != null ? t : "div"), i);
|
|
18182
18177
|
}
|
|
18183
|
-
function
|
|
18178
|
+
function xA(i, t) {
|
|
18184
18179
|
if (!t)
|
|
18185
18180
|
return i;
|
|
18186
18181
|
for (const e in t)
|
|
18187
18182
|
e && t[e] && (i.style[e] = t[e]);
|
|
18188
18183
|
return i;
|
|
18189
18184
|
}
|
|
18190
|
-
function
|
|
18185
|
+
function DA(i) {
|
|
18191
18186
|
const t = zt(F({
|
|
18192
18187
|
position: "absolute",
|
|
18193
18188
|
display: "block",
|
|
@@ -18213,7 +18208,7 @@ function LA(i) {
|
|
|
18213
18208
|
t.style.left = s, t.style.top = r, e();
|
|
18214
18209
|
} };
|
|
18215
18210
|
}
|
|
18216
|
-
class
|
|
18211
|
+
class LA extends wA {
|
|
18217
18212
|
constructor(e, n) {
|
|
18218
18213
|
var o;
|
|
18219
18214
|
super(e);
|
|
@@ -18228,7 +18223,7 @@ class SA extends CA {
|
|
|
18228
18223
|
m(this, "zAngleHelper");
|
|
18229
18224
|
m(this, "angleTips");
|
|
18230
18225
|
m(this, "container");
|
|
18231
|
-
(n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.yzCircle = new ji({ direction: "x", color: it.X }), this.xRingHelper = new Vi({ direction: "x" }), this.xAngleHelper = new Qi({ direction: "x", color: it.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.xzCircle = new ji({ direction: "y", color: it.Y }), this.yRingHelper = new Vi({ direction: "y" }), this.yAngleHelper = new Qi({ direction: "y", color: it.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.xyCircle = new ji({ direction: "z", color: it.Z }), this.zRingHelper = new Vi({ direction: "z" }), this.zAngleHelper = new Qi({ direction: "z", color: it.Z })), n != null && n.container && (this.container = n == null ? void 0 : n.container, this.angleTips =
|
|
18226
|
+
(n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.yzCircle = new ji({ direction: "x", color: it.X }), this.xRingHelper = new Vi({ direction: "x" }), this.xAngleHelper = new Qi({ direction: "x", color: it.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.xzCircle = new ji({ direction: "y", color: it.Y }), this.yRingHelper = new Vi({ direction: "y" }), this.yAngleHelper = new Qi({ direction: "y", color: it.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.xyCircle = new ji({ direction: "z", color: it.Z }), this.zRingHelper = new Vi({ direction: "z" }), this.zAngleHelper = new Qi({ direction: "z", color: it.Z })), n != null && n.container && (this.container = n == null ? void 0 : n.container, this.angleTips = DA({ display: "none" }), (o = this.container) == null || o.appendChild(this.angleTips.element)), this.show();
|
|
18232
18227
|
}
|
|
18233
18228
|
updateAngleHelperQuaternion() {
|
|
18234
18229
|
var e, n, o, s, r, a, l, c, d, u, f, h;
|
|
@@ -18345,7 +18340,7 @@ class Qi extends k.Mesh {
|
|
|
18345
18340
|
}), this.direction = e.direction, this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
|
|
18346
18341
|
}
|
|
18347
18342
|
}
|
|
18348
|
-
function
|
|
18343
|
+
function SA() {
|
|
18349
18344
|
const i = zt({
|
|
18350
18345
|
width: "100%",
|
|
18351
18346
|
height: "100%",
|
|
@@ -18409,7 +18404,7 @@ function gt(i) {
|
|
|
18409
18404
|
});
|
|
18410
18405
|
return n.draggable = !0, e.appendChild(n), t.appendChild(e), t;
|
|
18411
18406
|
}
|
|
18412
|
-
class
|
|
18407
|
+
class MA extends CA {
|
|
18413
18408
|
constructor(e, n, o, s) {
|
|
18414
18409
|
super(e);
|
|
18415
18410
|
m(this, "points", []);
|
|
@@ -18498,7 +18493,7 @@ class TA extends EA {
|
|
|
18498
18493
|
if (!n)
|
|
18499
18494
|
return;
|
|
18500
18495
|
this.css3DInstance = n, n.appendToElement(this.container);
|
|
18501
|
-
const o = n.css3DObject.container, { container: s, squares: r } =
|
|
18496
|
+
const o = n.css3DObject.container, { container: s, squares: r } = SA();
|
|
18502
18497
|
this.points = r.map((l, c) => ({
|
|
18503
18498
|
direction: l.direction,
|
|
18504
18499
|
point: l.element,
|
|
@@ -18524,7 +18519,7 @@ class TA extends EA {
|
|
|
18524
18519
|
];
|
|
18525
18520
|
}
|
|
18526
18521
|
}
|
|
18527
|
-
class
|
|
18522
|
+
class TA extends yA {
|
|
18528
18523
|
constructor(e) {
|
|
18529
18524
|
super(e);
|
|
18530
18525
|
m(this, "box");
|
|
@@ -18608,7 +18603,7 @@ class zA extends wA {
|
|
|
18608
18603
|
return new k.Mesh(n, o);
|
|
18609
18604
|
}
|
|
18610
18605
|
}
|
|
18611
|
-
class
|
|
18606
|
+
class zA extends Pn {
|
|
18612
18607
|
constructor(...e) {
|
|
18613
18608
|
super(...e);
|
|
18614
18609
|
m(this, "name", "MoveController");
|
|
@@ -18708,7 +18703,7 @@ class BA extends Pn {
|
|
|
18708
18703
|
!this.isDragging || (console.log("%c MoveController dragEnd", "color: #e94e4e"), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("moveEnd"));
|
|
18709
18704
|
}
|
|
18710
18705
|
}
|
|
18711
|
-
class
|
|
18706
|
+
class rn {
|
|
18712
18707
|
constructor(t, e, n, o, s, r) {
|
|
18713
18708
|
m(this, "helperController");
|
|
18714
18709
|
m(this, "five");
|
|
@@ -18743,14 +18738,14 @@ class an {
|
|
|
18743
18738
|
this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), (t = this.helperController) == null || t.dispose();
|
|
18744
18739
|
}
|
|
18745
18740
|
}
|
|
18746
|
-
const
|
|
18741
|
+
const BA = "v1.0.1", jA = "Object3DHelper", Io = `${jA}@${BA}`, VA = () => {
|
|
18747
18742
|
console.error(`${Io} is disposed`);
|
|
18748
|
-
},
|
|
18743
|
+
}, QA = () => {
|
|
18749
18744
|
console.warn(`${Io} is disabled`);
|
|
18750
|
-
},
|
|
18745
|
+
}, RA = () => {
|
|
18751
18746
|
console.error(`${Io} is disabled`);
|
|
18752
18747
|
};
|
|
18753
|
-
class
|
|
18748
|
+
class OA {
|
|
18754
18749
|
constructor(t) {
|
|
18755
18750
|
m(this, "controllers", {});
|
|
18756
18751
|
m(this, "state", {
|
|
@@ -18758,7 +18753,7 @@ class HA {
|
|
|
18758
18753
|
enabled: !0,
|
|
18759
18754
|
disposed: !1
|
|
18760
18755
|
});
|
|
18761
|
-
m(this, "hooks", new
|
|
18756
|
+
m(this, "hooks", new Kt());
|
|
18762
18757
|
m(this, "eventListener", {});
|
|
18763
18758
|
t && this.addControllers(t), this.setState(this.state);
|
|
18764
18759
|
}
|
|
@@ -18783,9 +18778,9 @@ class HA {
|
|
|
18783
18778
|
}
|
|
18784
18779
|
setState(t, e) {
|
|
18785
18780
|
if (this.state.disposed)
|
|
18786
|
-
return
|
|
18781
|
+
return VA();
|
|
18787
18782
|
if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
|
|
18788
|
-
return
|
|
18783
|
+
return RA();
|
|
18789
18784
|
const n = F({}, this.state);
|
|
18790
18785
|
this.state = F(F({}, this.state), t), t.disposed !== void 0 && t.disposed !== n.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: n });
|
|
18791
18786
|
}
|
|
@@ -18829,10 +18824,10 @@ class HA {
|
|
|
18829
18824
|
actionIfStateIsEnabled(t, e) {
|
|
18830
18825
|
if (this.state.enabled)
|
|
18831
18826
|
return t();
|
|
18832
|
-
e != null && e.warnLog &&
|
|
18827
|
+
e != null && e.warnLog && QA();
|
|
18833
18828
|
}
|
|
18834
18829
|
}
|
|
18835
|
-
class
|
|
18830
|
+
class HA extends Pn {
|
|
18836
18831
|
constructor(...e) {
|
|
18837
18832
|
super(...e);
|
|
18838
18833
|
m(this, "name", "RotateController");
|
|
@@ -18985,7 +18980,7 @@ class FA extends Pn {
|
|
|
18985
18980
|
n.setLeftTop(l, c);
|
|
18986
18981
|
}
|
|
18987
18982
|
}
|
|
18988
|
-
class
|
|
18983
|
+
class FA extends Pn {
|
|
18989
18984
|
constructor(...e) {
|
|
18990
18985
|
super(...e);
|
|
18991
18986
|
m(this, "startInfo");
|
|
@@ -19034,7 +19029,7 @@ class GA extends Pn {
|
|
|
19034
19029
|
if (r.length < 4)
|
|
19035
19030
|
return this.dragEnd();
|
|
19036
19031
|
const a = e.ray.intersectPlane(s, new Z());
|
|
19037
|
-
if (!a ||
|
|
19032
|
+
if (!a || IA(a, this.camera.position))
|
|
19038
19033
|
return;
|
|
19039
19034
|
const l = new Z().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: d } = o, u = new Z().subVectors(r[1], r[0]), f = new Z().subVectors(r[3], r[0]), h = (H) => {
|
|
19040
19035
|
const X = new Z(0, 0, 0);
|
|
@@ -19086,7 +19081,7 @@ class GA extends Pn {
|
|
|
19086
19081
|
!this.isDragging || (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render(), console.log("%c RectangleScaleController dragEnd", "color: #e94e4e"));
|
|
19087
19082
|
}
|
|
19088
19083
|
}
|
|
19089
|
-
class
|
|
19084
|
+
class GA extends FA {
|
|
19090
19085
|
constructor(...e) {
|
|
19091
19086
|
super(...e);
|
|
19092
19087
|
m(this, "name", "CSS3DScaleController");
|
|
@@ -19101,25 +19096,25 @@ class WA extends GA {
|
|
|
19101
19096
|
});
|
|
19102
19097
|
}
|
|
19103
19098
|
}
|
|
19104
|
-
class
|
|
19099
|
+
class WA extends Pn {
|
|
19105
19100
|
constructor(...e) {
|
|
19106
19101
|
super(...e);
|
|
19107
19102
|
m(this, "name", "BoundingBoxController");
|
|
19108
19103
|
}
|
|
19109
19104
|
}
|
|
19110
|
-
class
|
|
19105
|
+
class NA extends yl {
|
|
19111
19106
|
constructor(t) {
|
|
19112
19107
|
super(t);
|
|
19113
19108
|
}
|
|
19114
19109
|
}
|
|
19115
|
-
const wl = "v1.0.0", to = "Object3DHelperPlugin", ko = `${to}@${wl}`,
|
|
19110
|
+
const wl = "v1.0.0", to = "Object3DHelperPlugin", ko = `${to}@${wl}`, _A = () => {
|
|
19116
19111
|
console.error(`${ko} is disposed`);
|
|
19117
|
-
},
|
|
19112
|
+
}, XA = () => {
|
|
19118
19113
|
console.warn(`${ko} is disabled`);
|
|
19119
|
-
},
|
|
19114
|
+
}, YA = () => {
|
|
19120
19115
|
console.error(`${ko} is disabled`);
|
|
19121
19116
|
};
|
|
19122
|
-
class
|
|
19117
|
+
class UA extends mi {
|
|
19123
19118
|
constructor(e) {
|
|
19124
19119
|
super(e);
|
|
19125
19120
|
m(this, "version", wl);
|
|
@@ -19155,9 +19150,9 @@ class JA extends mi {
|
|
|
19155
19150
|
}
|
|
19156
19151
|
setState(e, n) {
|
|
19157
19152
|
if (this.state.disposed)
|
|
19158
|
-
return
|
|
19153
|
+
return _A();
|
|
19159
19154
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
19160
|
-
return
|
|
19155
|
+
return YA();
|
|
19161
19156
|
const o = F({}, this.state);
|
|
19162
19157
|
this.state = F(F({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: o });
|
|
19163
19158
|
}
|
|
@@ -19172,22 +19167,22 @@ class JA extends mi {
|
|
|
19172
19167
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
19173
19168
|
return;
|
|
19174
19169
|
}
|
|
19175
|
-
const o = new
|
|
19170
|
+
const o = new OA(), s = [], r = (h = this.five.getElement()) == null ? void 0 : h.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: d = !0, boundingBoxHelper: u = !1 } = n, f = new Ye();
|
|
19176
19171
|
if (l) {
|
|
19177
|
-
const p = new
|
|
19172
|
+
const p = new kA(e), A = this.getConfig(n.moveHelper), g = new rn(this.five, zA, e, p, A, f);
|
|
19178
19173
|
o.addControllers({ moveController: g.helperController }), s.push(() => g.dispose());
|
|
19179
19174
|
}
|
|
19180
19175
|
if (c) {
|
|
19181
|
-
const p = this.getConfig(n.rotateHelper), A = new
|
|
19176
|
+
const p = this.getConfig(n.rotateHelper), A = new LA(e, F({ container: r }, p)), g = new rn(this.five, HA, e, A, p, f);
|
|
19182
19177
|
o.addControllers({ rotateController: g.helperController }), s.push(() => g.dispose());
|
|
19183
19178
|
}
|
|
19184
19179
|
if (u) {
|
|
19185
|
-
const p = new
|
|
19180
|
+
const p = new TA(e), A = new rn(this.five, WA, e, p, void 0, f);
|
|
19186
19181
|
o.addControllers({ boundingBoxController: A.helperController });
|
|
19187
19182
|
}
|
|
19188
19183
|
if (d)
|
|
19189
19184
|
if (e.isCSS3DObjectPlus && r) {
|
|
19190
|
-
const p = new
|
|
19185
|
+
const p = new MA(e, r, a, this.five.scene), A = new rn(this.five, GA, e, p, void 0, f);
|
|
19191
19186
|
o.addControllers({ scaleController: A.helperController }), s.push(() => A.dispose()), da(this.five).then(() => {
|
|
19192
19187
|
var g, v;
|
|
19193
19188
|
if (e.isCSS3DObjectPlus) {
|
|
@@ -19199,7 +19194,7 @@ class JA extends mi {
|
|
|
19199
19194
|
}
|
|
19200
19195
|
});
|
|
19201
19196
|
} else {
|
|
19202
|
-
const p = new
|
|
19197
|
+
const p = new NA(e), A = new rn(this.five, AA, e, p, void 0, f);
|
|
19203
19198
|
o.addControllers({ scaleController: A.helperController }), s.push(() => A.dispose());
|
|
19204
19199
|
}
|
|
19205
19200
|
return this.objectHelperMap.set(e, { helper: o, disposers: s }), o.controllers;
|
|
@@ -19235,67 +19230,67 @@ class JA extends mi {
|
|
|
19235
19230
|
actionIfStateIsEnabled(e, n) {
|
|
19236
19231
|
if (this.state.enabled)
|
|
19237
19232
|
return e();
|
|
19238
|
-
n != null && n.warnLog &&
|
|
19233
|
+
n != null && n.warnLog && XA();
|
|
19239
19234
|
}
|
|
19240
19235
|
getConfig(e) {
|
|
19241
19236
|
if (!!e && typeof e != "boolean" && e.enable)
|
|
19242
19237
|
return e;
|
|
19243
19238
|
}
|
|
19244
19239
|
}
|
|
19245
|
-
const
|
|
19240
|
+
const Gv = (i) => new UA(i);
|
|
19246
19241
|
export {
|
|
19247
19242
|
vn as CSS3DRender,
|
|
19248
19243
|
En as CSS3DRenderPlugin,
|
|
19249
19244
|
df as CameraMovementEffect,
|
|
19250
|
-
|
|
19245
|
+
Iv as CameraMovementPlugin,
|
|
19251
19246
|
Xm as ContentType,
|
|
19252
|
-
|
|
19247
|
+
Rv as CruisePlugin,
|
|
19253
19248
|
il as CruisePluginController,
|
|
19254
19249
|
dn as DIRECTION,
|
|
19255
|
-
|
|
19250
|
+
Xt as DISPLAY_STRATEGY_TYPE,
|
|
19256
19251
|
Ym as DimensionType,
|
|
19257
19252
|
Tt as FLOOR_PLAN_ATTACHED_TO,
|
|
19258
|
-
|
|
19253
|
+
wv as FLOOR_TYPE_MAP,
|
|
19259
19254
|
Sm as GuideLinePlugin,
|
|
19260
|
-
|
|
19261
|
-
|
|
19255
|
+
Yt as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
19256
|
+
jv as ItemLabelPlugin,
|
|
19262
19257
|
Sf as Magnifier,
|
|
19263
|
-
|
|
19264
|
-
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
|
|
19258
|
+
Av as MapviewFloorplanPlugin,
|
|
19259
|
+
Ev as ModelChassisCompassPlugin,
|
|
19260
|
+
Pv as ModelEntryDoorGuidePlugin,
|
|
19261
|
+
gv as ModelFloorplanPlugin,
|
|
19262
|
+
Mv as ModelItemLabelPlugin,
|
|
19263
|
+
mv as ModelRoomLabelPlugin,
|
|
19264
|
+
zv as ModelTVVideoPlugin,
|
|
19265
|
+
fv as ModelViewPlugin,
|
|
19266
|
+
UA as Object3DHelperController,
|
|
19267
|
+
Gv as Object3DHelperPlugin,
|
|
19273
19268
|
ko as PLUGIN,
|
|
19274
|
-
|
|
19269
|
+
uv as PaintBrush,
|
|
19275
19270
|
At as PaintBrushTypeEnum,
|
|
19276
|
-
|
|
19277
|
-
|
|
19278
|
-
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19271
|
+
Dv as PanoCompassPlugin,
|
|
19272
|
+
hv as PanoCursorRaycasterPlugin,
|
|
19273
|
+
Qv as PanoDoorLabelPlugin,
|
|
19274
|
+
bv as PanoFloorplanRadarPlugin,
|
|
19275
|
+
Lv as PanoMeasurePlugin,
|
|
19276
|
+
en as PanoMeasurePluginLine,
|
|
19282
19277
|
yo as PanoMeasurePluginModel,
|
|
19283
19278
|
qe as PanoMeasurePluginPoint,
|
|
19284
19279
|
bo as PanoMeasurePluginPolyline,
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19280
|
+
kv as PanoRulerPlugin,
|
|
19281
|
+
xv as PanoRulerProPlugin,
|
|
19282
|
+
Sv as PanoSpatialTagPlugin,
|
|
19283
|
+
Fv as PanoTagPlugin,
|
|
19284
|
+
gA as PanoTagPluginController,
|
|
19290
19285
|
Um as PointType,
|
|
19291
|
-
|
|
19292
|
-
|
|
19286
|
+
yv as ROOM_FETILE_TYPE_MAP,
|
|
19287
|
+
Cv as ROOM_TYPE_MAP,
|
|
19293
19288
|
nt as Rotation,
|
|
19294
|
-
|
|
19295
|
-
|
|
19289
|
+
vv as TopviewFloorplanPlugin,
|
|
19290
|
+
Ov as Util,
|
|
19296
19291
|
wl as VERSION,
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19292
|
+
Vv as itemLabelPluginServerParams,
|
|
19293
|
+
Tv as modelItemLabelPluginServerParams,
|
|
19294
|
+
pv as modelRoomLabelPluginServerParams,
|
|
19295
|
+
Hv as pluginFlag
|
|
19301
19296
|
};
|