@realsee/dnalogel 3.78.0-alpha.3 → 3.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -10
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
- package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
- package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
- package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
- package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
- package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/dist/Sculpt/Meshes/Line.d.ts +4 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/dist/index.cjs.js +101 -88
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14196 -12441
- package/dist/index.umd.js +83 -70
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
- package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
- package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
- package/libs/DigitalPerformancePlugin/mock.js +272 -274
- package/libs/GuideLinePlugin/Controller.js +7 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.js +11 -10
- package/libs/MeasurePlugin/index.js +5 -4
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +30 -29
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/libs/PanoTagPlugin/utils/index.js +31 -30
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
- package/libs/PanoVideoPlugin/Controller.js +9 -8
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.d.ts +4 -0
- package/libs/Sculpt/Meshes/Line.js +85 -76
- package/libs/Sculpt/Meshes/Point.js +28 -28
- package/libs/Sculpt/Meshes/Polygon.js +43 -43
- package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/libs/Sculpt/Objects/Base/Editor.js +72 -63
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.d.ts +1 -0
- package/libs/index.js +162 -150
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/package.json +3 -3
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
|
@@ -113,6 +113,7 @@ import "../../../shared-utils/three/IObject3D.js";
|
|
|
113
113
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
114
114
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
115
115
|
import "../../../shared-utils/util.js";
|
|
116
|
+
import "../../../shared-utils/five/getFiveFromParentChain.js";
|
|
116
117
|
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
117
118
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
118
119
|
import "../../../shared-utils/three/core/Line2.js";
|
|
@@ -806,7 +807,7 @@ function EA(i, A, t) {
|
|
|
806
807
|
T
|
|
807
808
|
];
|
|
808
809
|
}
|
|
809
|
-
class
|
|
810
|
+
class Ki extends tA {
|
|
810
811
|
constructor(A) {
|
|
811
812
|
super(), iA(
|
|
812
813
|
this,
|
|
@@ -828,5 +829,5 @@ class Zi extends tA {
|
|
|
828
829
|
}
|
|
829
830
|
}
|
|
830
831
|
export {
|
|
831
|
-
|
|
832
|
+
Ki as default
|
|
832
833
|
};
|
|
@@ -107,6 +107,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
107
107
|
import "../../shared-utils/three/IObject3D.js";
|
|
108
108
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
109
109
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
110
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
110
111
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
111
112
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
112
113
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -416,7 +417,7 @@ function x(m, t, o) {
|
|
|
416
417
|
O
|
|
417
418
|
];
|
|
418
419
|
}
|
|
419
|
-
class
|
|
420
|
+
class Nr extends P {
|
|
420
421
|
constructor(t) {
|
|
421
422
|
super(), Z(
|
|
422
423
|
this,
|
|
@@ -439,5 +440,5 @@ class Er extends P {
|
|
|
439
440
|
}
|
|
440
441
|
}
|
|
441
442
|
export {
|
|
442
|
-
|
|
443
|
+
Nr as default
|
|
443
444
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as ke, init as Te, safe_not_equal as Ce, append_styles as he, space as pe, empty as Pe, insert as R, transition_in as _, transition_out as h, check_outros as V, detach as Z, getContext as ye, onMount as Ee, element as X, attr as c, toggle_class as H, set_style as F, append as Me, group_outros as j, create_component as Y, mount_component as $, destroy_component as x, binding_callbacks as W, noop as I, bind as De, add_flush_callback as Se } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import we from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
4
|
+
import { noTypecheck as re } from "../utils/noTypecheck.js";
|
|
5
|
+
import He from "./Common/TagPoint.js";
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
|
-
import { isModelLike as
|
|
7
|
+
import { isModelLike as Ie } from "../../shared-utils/five/mode.js";
|
|
8
8
|
import "../../vendor/hammerjs/hammer.js";
|
|
9
9
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
10
10
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
@@ -17,7 +17,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
17
17
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
18
18
|
import "../../vendor/earcut/src/earcut.js";
|
|
19
19
|
import "../../shared-utils/five/FivePuppet.js";
|
|
20
|
-
import
|
|
20
|
+
import Ue from "./Common/TagPopover/index.js";
|
|
21
21
|
import "./Tag/TextTag/index.js";
|
|
22
22
|
import "./Tag/TextTag/TextTag.js";
|
|
23
23
|
import "./Common/Line/Straight.js";
|
|
@@ -109,6 +109,7 @@ import "../../shared-utils/three/IObject3D.js";
|
|
|
109
109
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
110
110
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
111
111
|
import "../../shared-utils/util.js";
|
|
112
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
112
113
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
113
114
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
114
115
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -188,41 +189,41 @@ import "./Common/AudioPlayer.js";
|
|
|
188
189
|
import "./Common/TagPopover/TagPopoverToolBar.js";
|
|
189
190
|
import "./Common/TagPopover/ArrowRightIcon.js";
|
|
190
191
|
import "./Common/TagPopover/ShareIcon.js";
|
|
191
|
-
function
|
|
192
|
-
|
|
192
|
+
function Le(o) {
|
|
193
|
+
he(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
+
function ne(o) {
|
|
195
196
|
let e, i, a, m, r, n, u, l, g, d;
|
|
196
|
-
const U = [
|
|
197
|
+
const U = [Ae, ze], b = [];
|
|
197
198
|
function L(f, s) {
|
|
198
199
|
return (
|
|
199
200
|
/*havePoint*/
|
|
200
201
|
f[10] ? 0 : 1
|
|
201
202
|
);
|
|
202
203
|
}
|
|
203
|
-
i = L(o), a =
|
|
204
|
-
const t = [
|
|
205
|
-
function
|
|
204
|
+
i = L(o), a = b[i] = U[i](o);
|
|
205
|
+
const t = [Ze, Re], v = [];
|
|
206
|
+
function D(f, s) {
|
|
206
207
|
return (
|
|
207
208
|
/*haveContent*/
|
|
208
209
|
f[25] ? 0 : 1
|
|
209
210
|
);
|
|
210
211
|
}
|
|
211
|
-
return r =
|
|
212
|
+
return r = D(o), n = v[r] = t[r](o), {
|
|
212
213
|
c() {
|
|
213
|
-
e = X("div"), a.c(), m =
|
|
214
|
+
e = X("div"), a.c(), m = pe(), n.c(), c(e, "class", "tag svelte-2g2g8a"), c(
|
|
214
215
|
e,
|
|
215
216
|
"data-tag-id",
|
|
216
217
|
/*id*/
|
|
217
218
|
o[23]
|
|
218
|
-
),
|
|
219
|
+
), c(
|
|
219
220
|
e,
|
|
220
221
|
"data-tag-unfolded",
|
|
221
222
|
/*unfolded*/
|
|
222
223
|
o[8]
|
|
223
|
-
),
|
|
224
|
-
o[0].contentType),
|
|
225
|
-
o[0].isPopoverConfigEnabled()),
|
|
224
|
+
), c(e, "data-content-type", u = /*tag*/
|
|
225
|
+
o[0].contentType), c(e, "data-popover-enabled", l = /*tag*/
|
|
226
|
+
o[0].isPopoverConfigEnabled()), c(e, "id", g = `tag-${/*id*/
|
|
226
227
|
o[23]}`), H(
|
|
227
228
|
e,
|
|
228
229
|
"unClickable",
|
|
@@ -238,46 +239,46 @@ function re(o) {
|
|
|
238
239
|
"enableZIndex",
|
|
239
240
|
/*zIndex*/
|
|
240
241
|
o[18]
|
|
241
|
-
),
|
|
242
|
+
), F(
|
|
242
243
|
e,
|
|
243
244
|
"z-index",
|
|
244
245
|
/*zIndex*/
|
|
245
246
|
o[18]
|
|
246
|
-
),
|
|
247
|
+
), F(e, "transform", `translate3d(${/*left*/
|
|
247
248
|
o[20]}, ${/*top*/
|
|
248
249
|
o[19]}, 0) scale(${/*screenPosition*/
|
|
249
250
|
o[9].scale})`);
|
|
250
251
|
},
|
|
251
252
|
m(f, s) {
|
|
252
|
-
R(f, e, s),
|
|
253
|
+
R(f, e, s), b[i].m(e, null), Me(e, m), v[r].m(e, null), o[36](e), d = !0;
|
|
253
254
|
},
|
|
254
255
|
p(f, s) {
|
|
255
|
-
let
|
|
256
|
-
i = L(f), i ===
|
|
256
|
+
let S = i;
|
|
257
|
+
i = L(f), i === S ? b[i].p(f, s) : (j(), h(b[S], 1, 1, () => {
|
|
258
|
+
b[S] = null;
|
|
259
|
+
}), V(), a = b[i], a ? a.p(f, s) : (a = b[i] = U[i](f), a.c()), _(a, 1), a.m(e, m));
|
|
260
|
+
let w = r;
|
|
261
|
+
r = D(f), r === w ? v[r].p(f, s) : (j(), h(v[w], 1, 1, () => {
|
|
257
262
|
v[w] = null;
|
|
258
|
-
}),
|
|
259
|
-
|
|
260
|
-
r = S(f), r === D ? k[r].p(f, s) : (V(), T(k[D], 1, 1, () => {
|
|
261
|
-
k[D] = null;
|
|
262
|
-
}), F(), n = k[r], n ? n.p(f, s) : (n = k[r] = t[r](f), n.c()), b(n, 1), n.m(e, null)), (!d || s[0] & /*id*/
|
|
263
|
-
8388608) && _(
|
|
263
|
+
}), V(), n = v[r], n ? n.p(f, s) : (n = v[r] = t[r](f), n.c()), _(n, 1), n.m(e, null)), (!d || s[0] & /*id*/
|
|
264
|
+
8388608) && c(
|
|
264
265
|
e,
|
|
265
266
|
"data-tag-id",
|
|
266
267
|
/*id*/
|
|
267
268
|
f[23]
|
|
268
269
|
), (!d || s[0] & /*unfolded*/
|
|
269
|
-
256) &&
|
|
270
|
+
256) && c(
|
|
270
271
|
e,
|
|
271
272
|
"data-tag-unfolded",
|
|
272
273
|
/*unfolded*/
|
|
273
274
|
f[8]
|
|
274
275
|
), (!d || s[0] & /*tag*/
|
|
275
276
|
1 && u !== (u = /*tag*/
|
|
276
|
-
f[0].contentType)) &&
|
|
277
|
+
f[0].contentType)) && c(e, "data-content-type", u), (!d || s[0] & /*tag*/
|
|
277
278
|
1 && l !== (l = /*tag*/
|
|
278
|
-
f[0].isPopoverConfigEnabled())) &&
|
|
279
|
+
f[0].isPopoverConfigEnabled())) && c(e, "data-popover-enabled", l), (!d || s[0] & /*id*/
|
|
279
280
|
8388608 && g !== (g = `tag-${/*id*/
|
|
280
|
-
f[23]}`)) &&
|
|
281
|
+
f[23]}`)) && c(e, "id", g), (!d || s[0] & /*tag*/
|
|
281
282
|
1) && H(
|
|
282
283
|
e,
|
|
283
284
|
"unClickable",
|
|
@@ -296,33 +297,33 @@ function re(o) {
|
|
|
296
297
|
/*zIndex*/
|
|
297
298
|
f[18]
|
|
298
299
|
), s[0] & /*zIndex*/
|
|
299
|
-
262144 &&
|
|
300
|
+
262144 && F(
|
|
300
301
|
e,
|
|
301
302
|
"z-index",
|
|
302
303
|
/*zIndex*/
|
|
303
304
|
f[18]
|
|
304
305
|
), s[0] & /*left, top, screenPosition*/
|
|
305
|
-
1573376 &&
|
|
306
|
+
1573376 && F(e, "transform", `translate3d(${/*left*/
|
|
306
307
|
f[20]}, ${/*top*/
|
|
307
308
|
f[19]}, 0) scale(${/*screenPosition*/
|
|
308
309
|
f[9].scale})`);
|
|
309
310
|
},
|
|
310
311
|
i(f) {
|
|
311
|
-
d || (
|
|
312
|
+
d || (_(a), _(n), d = !0);
|
|
312
313
|
},
|
|
313
314
|
o(f) {
|
|
314
|
-
|
|
315
|
+
h(a), h(n), d = !1;
|
|
315
316
|
},
|
|
316
317
|
d(f) {
|
|
317
|
-
f && Z(e),
|
|
318
|
+
f && Z(e), b[i].d(), v[r].d(), o[36](null);
|
|
318
319
|
}
|
|
319
320
|
};
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function ze(o) {
|
|
322
323
|
let e;
|
|
323
324
|
return {
|
|
324
325
|
c() {
|
|
325
|
-
e = X("div"),
|
|
326
|
+
e = X("div"), c(e, "data-info", "tag point is disable");
|
|
326
327
|
},
|
|
327
328
|
m(i, a) {
|
|
328
329
|
R(i, e, a);
|
|
@@ -335,7 +336,7 @@ function Le(o) {
|
|
|
335
336
|
}
|
|
336
337
|
};
|
|
337
338
|
}
|
|
338
|
-
function
|
|
339
|
+
function Ae(o) {
|
|
339
340
|
let e, i, a;
|
|
340
341
|
function m(n) {
|
|
341
342
|
o[34](n);
|
|
@@ -361,7 +362,7 @@ function ze(o) {
|
|
|
361
362
|
return (
|
|
362
363
|
/*tagPointClickHelper*/
|
|
363
364
|
o[12] !== void 0 && (r.tagPointClickHelper = /*tagPointClickHelper*/
|
|
364
|
-
o[12]), e = new
|
|
365
|
+
o[12]), e = new He({ props: r }), W.push(() => De(e, "tagPointClickHelper", m)), o[35](e), e.$on(
|
|
365
366
|
"audioInstanceReady",
|
|
366
367
|
/*audioEventHandlers*/
|
|
367
368
|
o[27].audioInstanceReady
|
|
@@ -397,10 +398,10 @@ function ze(o) {
|
|
|
397
398
|
n[12], Se(() => i = !1)), e.$set(l);
|
|
398
399
|
},
|
|
399
400
|
i(n) {
|
|
400
|
-
a || (
|
|
401
|
+
a || (_(e.$$.fragment, n), a = !0);
|
|
401
402
|
},
|
|
402
403
|
o(n) {
|
|
403
|
-
|
|
404
|
+
h(e.$$.fragment, n), a = !1;
|
|
404
405
|
},
|
|
405
406
|
d(n) {
|
|
406
407
|
o[35](null), x(e, n);
|
|
@@ -408,11 +409,11 @@ function ze(o) {
|
|
|
408
409
|
}
|
|
409
410
|
);
|
|
410
411
|
}
|
|
411
|
-
function
|
|
412
|
+
function Re(o) {
|
|
412
413
|
let e;
|
|
413
414
|
return {
|
|
414
415
|
c() {
|
|
415
|
-
e = X("div"),
|
|
416
|
+
e = X("div"), c(e, "data-info", "tag content is disable");
|
|
416
417
|
},
|
|
417
418
|
m(i, a) {
|
|
418
419
|
R(i, e, a);
|
|
@@ -425,7 +426,7 @@ function Ae(o) {
|
|
|
425
426
|
}
|
|
426
427
|
};
|
|
427
428
|
}
|
|
428
|
-
function
|
|
429
|
+
function Ze(o) {
|
|
429
430
|
let e, i;
|
|
430
431
|
return e = new we({
|
|
431
432
|
props: {
|
|
@@ -433,7 +434,7 @@ function Re(o) {
|
|
|
433
434
|
/*mediaStore*/
|
|
434
435
|
o[1]
|
|
435
436
|
),
|
|
436
|
-
tag:
|
|
437
|
+
tag: re(
|
|
437
438
|
/*tag*/
|
|
438
439
|
o[0]
|
|
439
440
|
),
|
|
@@ -470,7 +471,7 @@ function Re(o) {
|
|
|
470
471
|
m[0] & /*mediaStore*/
|
|
471
472
|
2 && (r.mediaStore = /*mediaStore*/
|
|
472
473
|
a[1]), m[0] & /*tag*/
|
|
473
|
-
1 && (r.tag =
|
|
474
|
+
1 && (r.tag = re(
|
|
474
475
|
/*tag*/
|
|
475
476
|
a[0]
|
|
476
477
|
)), m[0] & /*state*/
|
|
@@ -484,20 +485,20 @@ function Re(o) {
|
|
|
484
485
|
a[3]), e.$set(r);
|
|
485
486
|
},
|
|
486
487
|
i(a) {
|
|
487
|
-
i || (
|
|
488
|
+
i || (_(e.$$.fragment, a), i = !0);
|
|
488
489
|
},
|
|
489
490
|
o(a) {
|
|
490
|
-
|
|
491
|
+
h(e.$$.fragment, a), i = !1;
|
|
491
492
|
},
|
|
492
493
|
d(a) {
|
|
493
494
|
x(e, a);
|
|
494
495
|
}
|
|
495
496
|
};
|
|
496
497
|
}
|
|
497
|
-
function
|
|
498
|
+
function ae(o) {
|
|
498
499
|
var a;
|
|
499
500
|
let e, i;
|
|
500
|
-
return e = new
|
|
501
|
+
return e = new Ue({
|
|
501
502
|
props: {
|
|
502
503
|
tag: (
|
|
503
504
|
/*tag*/
|
|
@@ -590,17 +591,17 @@ function ne(o) {
|
|
|
590
591
|
m[17]), e.$set(n);
|
|
591
592
|
},
|
|
592
593
|
i(m) {
|
|
593
|
-
i || (
|
|
594
|
+
i || (_(e.$$.fragment, m), i = !0);
|
|
594
595
|
},
|
|
595
596
|
o(m) {
|
|
596
|
-
|
|
597
|
+
h(e.$$.fragment, m), i = !1;
|
|
597
598
|
},
|
|
598
599
|
d(m) {
|
|
599
600
|
x(e, m);
|
|
600
601
|
}
|
|
601
602
|
};
|
|
602
603
|
}
|
|
603
|
-
function
|
|
604
|
+
function Ne(o) {
|
|
604
605
|
var u;
|
|
605
606
|
let e, i = (
|
|
606
607
|
/*tag*/
|
|
@@ -612,11 +613,11 @@ function Ze(o) {
|
|
|
612
613
|
/*screenPosition*/
|
|
613
614
|
o[9] && (!/*disable*/
|
|
614
615
|
o[22] || /*isHovering*/
|
|
615
|
-
o[11]) &&
|
|
616
|
-
), n = i &&
|
|
616
|
+
o[11]) && ne(o)
|
|
617
|
+
), n = i && ae(o);
|
|
617
618
|
return {
|
|
618
619
|
c() {
|
|
619
|
-
r && r.c(), e =
|
|
620
|
+
r && r.c(), e = pe(), n && n.c(), a = Pe();
|
|
620
621
|
},
|
|
621
622
|
m(l, g) {
|
|
622
623
|
r && r.m(l, g), R(l, e, g), n && n.m(l, g), R(l, a, g), m = !0;
|
|
@@ -627,34 +628,34 @@ function Ze(o) {
|
|
|
627
628
|
l[9] && (!/*disable*/
|
|
628
629
|
l[22] || /*isHovering*/
|
|
629
630
|
l[11]) ? r ? (r.p(l, g), g[0] & /*screenPosition, disable, isHovering*/
|
|
630
|
-
4196864 &&
|
|
631
|
+
4196864 && _(r, 1)) : (r = ne(l), r.c(), _(r, 1), r.m(e.parentNode, e)) : r && (j(), h(r, 1, 1, () => {
|
|
631
632
|
r = null;
|
|
632
|
-
}),
|
|
633
|
+
}), V()), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
633
634
|
16779265 && (i = /*tag*/
|
|
634
635
|
l[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
|
|
635
636
|
l[24] && /*isHovering*/
|
|
636
637
|
(l[11] || /*tag*/
|
|
637
638
|
((d = l[0].config.popoverConfig) == null ? void 0 : d.debug))), i ? n ? (n.p(l, g), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
638
|
-
16779265 &&
|
|
639
|
+
16779265 && _(n, 1)) : (n = ae(l), n.c(), _(n, 1), n.m(a.parentNode, a)) : n && (j(), h(n, 1, 1, () => {
|
|
639
640
|
n = null;
|
|
640
|
-
}),
|
|
641
|
+
}), V());
|
|
641
642
|
},
|
|
642
643
|
i(l) {
|
|
643
|
-
m || (
|
|
644
|
+
m || (_(r), _(n), m = !0);
|
|
644
645
|
},
|
|
645
646
|
o(l) {
|
|
646
|
-
|
|
647
|
+
h(r), h(n), m = !1;
|
|
647
648
|
},
|
|
648
649
|
d(l) {
|
|
649
650
|
r && r.d(l), l && Z(e), n && n.d(l), l && Z(a);
|
|
650
651
|
}
|
|
651
652
|
};
|
|
652
653
|
}
|
|
653
|
-
function
|
|
654
|
-
let a, m, r, n, u, l, g, d, U,
|
|
655
|
-
const
|
|
656
|
-
let
|
|
657
|
-
const
|
|
654
|
+
function Oe(o, e, i) {
|
|
655
|
+
let a, m, r, n, u, l, g, d, U, b, L, { tag: t } = e, { mediaStore: v } = e, { rendererMap: D = /* @__PURE__ */ new Map() } = e, { contentTypeMap: f = /* @__PURE__ */ new Map() } = e, { state: s } = e, { temporaryState: S } = e, { wrapperElement: w = null } = e, { popoverContainer: ee = null } = e;
|
|
656
|
+
const me = ye("hooks");
|
|
657
|
+
let y = !1, M, E, B = null, G = !1, J = !1, K = null, Q = null, N = !1, te = 0, oe = 0;
|
|
658
|
+
const le = {
|
|
658
659
|
audioInstanceReady: (p) => {
|
|
659
660
|
i(14, Q = p.detail), i(15, N = !Q.paused);
|
|
660
661
|
},
|
|
@@ -673,110 +674,117 @@ function Ne(o, e, i) {
|
|
|
673
674
|
};
|
|
674
675
|
let O = !1;
|
|
675
676
|
const q = (p) => {
|
|
676
|
-
if (
|
|
677
|
-
O = !0, i(11,
|
|
677
|
+
if (E && clearTimeout(E), p === !0 && !O) {
|
|
678
|
+
O = !0, i(11, y = !0);
|
|
678
679
|
return;
|
|
679
680
|
}
|
|
680
|
-
|
|
681
|
+
E = setTimeout(
|
|
681
682
|
() => {
|
|
682
|
-
var
|
|
683
|
-
!G && !J && !((
|
|
683
|
+
var k;
|
|
684
|
+
!G && !J && !((k = t.config.popoverConfig) != null && k.debug) && (O = !1, i(11, y = !1));
|
|
684
685
|
},
|
|
685
686
|
300
|
|
686
687
|
);
|
|
687
|
-
}, le = () => {
|
|
688
|
-
G = !0, P && clearTimeout(P);
|
|
689
688
|
}, fe = () => {
|
|
689
|
+
G = !0, E && clearTimeout(E);
|
|
690
|
+
}, ue = () => {
|
|
690
691
|
G = !1, q(!1);
|
|
691
|
-
},
|
|
692
|
-
var
|
|
693
|
-
if (p.pointerType
|
|
694
|
-
|
|
692
|
+
}, se = (p) => {
|
|
693
|
+
var P, T, C, z, A, ie;
|
|
694
|
+
if (p.pointerType !== "mouse")
|
|
695
|
+
return;
|
|
696
|
+
J = !0;
|
|
697
|
+
const k = (T = (P = t.currentConfig) == null ? void 0 : P.popoverConfig) == null ? void 0 : T.trigger;
|
|
698
|
+
if (t.isPopoverConfigEnabled() && t.isHoverEnabled() && k === "hover") {
|
|
699
|
+
if (E && clearTimeout(E), M !== void 0)
|
|
695
700
|
return;
|
|
696
|
-
((
|
|
701
|
+
((z = (C = t.currentConfig) == null ? void 0 : C.popoverConfig) == null ? void 0 : z.triggerDelay) > 0 ? M = setTimeout(
|
|
697
702
|
() => {
|
|
698
|
-
q(!0), t.hooks.emit("hover", { event: p, tag: t }),
|
|
703
|
+
q(!0), t.hooks.emit("hover", { event: p, tag: t }), M = void 0;
|
|
699
704
|
},
|
|
700
|
-
(
|
|
705
|
+
(ie = (A = t.currentConfig) == null ? void 0 : A.popoverConfig) == null ? void 0 : ie.triggerDelay
|
|
701
706
|
) : (q(!0), t.hooks.emit("hover", { event: p, tag: t }));
|
|
702
707
|
}
|
|
703
|
-
}, se = (p) => {
|
|
704
|
-
var c, C;
|
|
705
|
-
p.pointerType === "mouse" && (J = !1, t.isHoverEnabled() && t.isPopoverConfigEnabled() && ((C = (c = t.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : C.trigger) === "hover" && (y !== void 0 && (clearTimeout(y), y = void 0), q(!1)));
|
|
706
708
|
}, de = (p) => {
|
|
707
|
-
var
|
|
708
|
-
|
|
709
|
-
|
|
709
|
+
var P, T;
|
|
710
|
+
if (p.pointerType !== "mouse")
|
|
711
|
+
return;
|
|
712
|
+
J = !1;
|
|
713
|
+
const k = (T = (P = t.currentConfig) == null ? void 0 : P.popoverConfig) == null ? void 0 : T.trigger;
|
|
714
|
+
t.isHoverEnabled() && t.isPopoverConfigEnabled() && k === "hover" && (M !== void 0 && (clearTimeout(M), M = void 0), q(!1));
|
|
715
|
+
}, ge = (p) => {
|
|
716
|
+
var T, C;
|
|
717
|
+
const k = t.contentType === "Audio" && t.data.appearance === "plane", P = (C = (T = t.currentConfig) == null ? void 0 : T.popoverConfig) == null ? void 0 : C.trigger;
|
|
718
|
+
t.isPopoverConfigEnabled() && t.isHoverEnabled() && P === "click" && (k ? y || (i(11, y = !0), t.hooks.emit("hover", { event: p, tag: t })) : (i(11, y = !y), y && t.hooks.emit("hover", { event: p, tag: t })));
|
|
710
719
|
};
|
|
711
|
-
function
|
|
712
|
-
O = !1, i(11,
|
|
720
|
+
function ce() {
|
|
721
|
+
O = !1, i(11, y = !1);
|
|
713
722
|
}
|
|
714
|
-
|
|
715
|
-
|
|
723
|
+
Ee(() => () => {
|
|
724
|
+
M && clearTimeout(M), E && clearTimeout(E);
|
|
716
725
|
});
|
|
717
|
-
function ce(p) {
|
|
718
|
-
j = p, i(12, j);
|
|
719
|
-
}
|
|
720
726
|
function _e(p) {
|
|
727
|
+
B = p, i(12, B);
|
|
728
|
+
}
|
|
729
|
+
function be(p) {
|
|
721
730
|
W[p ? "unshift" : "push"](() => {
|
|
722
731
|
K = p, i(13, K);
|
|
723
732
|
});
|
|
724
733
|
}
|
|
725
|
-
function
|
|
734
|
+
function ve(p) {
|
|
726
735
|
W[p ? "unshift" : "push"](() => {
|
|
727
736
|
t.dom = p, i(0, t);
|
|
728
737
|
});
|
|
729
738
|
}
|
|
730
739
|
return o.$$set = (p) => {
|
|
731
|
-
"tag" in p && i(0, t = p.tag), "mediaStore" in p && i(1,
|
|
740
|
+
"tag" in p && i(0, t = p.tag), "mediaStore" in p && i(1, v = p.mediaStore), "rendererMap" in p && i(2, D = p.rendererMap), "contentTypeMap" in p && i(3, f = p.contentTypeMap), "state" in p && i(4, s = p.state), "temporaryState" in p && i(5, S = p.temporaryState), "wrapperElement" in p && i(6, w = p.wrapperElement), "popoverContainer" in p && i(7, ee = p.popoverContainer);
|
|
732
741
|
}, o.$$.update = () => {
|
|
733
|
-
var p,
|
|
742
|
+
var p, k, P, T;
|
|
734
743
|
o.$$.dirty[0] & /*tag, rendererMap*/
|
|
735
744
|
5 && i(10, a = (() => {
|
|
736
|
-
var
|
|
737
|
-
return ((z = (
|
|
745
|
+
var C, z, A;
|
|
746
|
+
return ((z = (C = t.style) == null ? void 0 : C.point) == null ? void 0 : z.enabled) === !1 || ((A = D.get(t.contentType)) == null ? void 0 : A.usePoint) === !1 || t.contentType === "Sticker" || t.contentType === "Link" || t.contentType === "VRLink" || t.contentType === "PanoLink" ? !1 : t.contentType === "Panorama" ? !0 : t.contentType === "Audio" && t.data.appearance === "plane" ? t.isPopoverConfigEnabled() : !(t.stickType && t.stickType !== "2DPoint" && t.stickType !== "3DPoint");
|
|
738
747
|
})()), o.$$.dirty[0] & /*tag, havePoint*/
|
|
739
|
-
1025 && i(25, m = (() => !(t.isPopoverConfigEnabled() && t.contentType === "Panorama" || t.isPopoverConfigEnabled() && t.contentType === "ImageText" || t.isPopoverConfigEnabled() && t.contentType === "Text" || t.isPopoverConfigEnabled() && t.contentType === "Audio" || t.stickType
|
|
748
|
+
1025 && i(25, m = (() => !(t.isPopoverConfigEnabled() && t.contentType === "Panorama" || t.isPopoverConfigEnabled() && t.contentType === "ImageText" || t.isPopoverConfigEnabled() && t.contentType === "Text" || t.isPopoverConfigEnabled() && t.contentType === "Audio" || t.stickType && t.stickType !== "2DPoint" && t.stickType !== "3DPoint" || t.entryFromModel && Ie(t.five.state.mode) && a))()), o.$$.dirty[0] & /*tag*/
|
|
740
749
|
1 && i(24, r = (() => {
|
|
741
|
-
var
|
|
742
|
-
return t.contentType === "Marketing" ? !!(t.data.title || t.data.name || t.data.description || t.data.tooltip || (
|
|
750
|
+
var C;
|
|
751
|
+
return t.contentType === "Marketing" ? !!(t.data.title || t.data.name || t.data.description || t.data.tooltip || (C = t.data.price) != null && C.value || t.data.brandTags && t.data.brandTags.length > 0 || t.data.tags && t.data.tags.length > 0 || t.data.imageUrl || t.data.mediaUrl || t.data.mediaData && t.data.mediaData.length > 0) : !!(t.data.title || t.data.name || t.data.text || t.data.description || t.data.tooltip || t.data.imageUrl || t.data.mediaUrl || t.data.audioUrl || t.data.mediaData && t.data.mediaData.length > 0);
|
|
743
752
|
})()), o.$$.dirty[0] & /*tag*/
|
|
744
753
|
1 && i(23, n = t.id), o.$$.dirty[0] & /*tag*/
|
|
745
754
|
1 && i(9, u = t.screenPosition), o.$$.dirty[0] & /*tag*/
|
|
746
755
|
1 && i(22, l = t.enabled === !1 || !t.state), o.$$.dirty[0] & /*tag, screenPosition*/
|
|
747
|
-
513 && i(21, g = !((p = t.state) != null && p.visible) || ((
|
|
748
|
-
1 && i(8, d = ((
|
|
756
|
+
513 && i(21, g = !((p = t.state) != null && p.visible) || ((k = t.temporaryState) == null ? void 0 : k.visible) === !1 || !u), o.$$.dirty[0] & /*tag*/
|
|
757
|
+
1 && i(8, d = ((P = t.state) == null ? void 0 : P.unfolded) && !t.isPopoverConfigEnabled()), o.$$.dirty[0] & /*screenPosition*/
|
|
749
758
|
512 && i(20, U = (u == null ? void 0 : u.leftPx) + "px"), o.$$.dirty[0] & /*screenPosition*/
|
|
750
|
-
512 && i(19,
|
|
751
|
-
257 && i(18, L = d ? ((
|
|
759
|
+
512 && i(19, b = (u == null ? void 0 : u.topPx) + "px"), o.$$.dirty[0] & /*unfolded, tag*/
|
|
760
|
+
257 && i(18, L = d ? ((T = t.zIndex) != null ? T : 0) + (d ? 1e6 : 0) : void 0);
|
|
752
761
|
}, [
|
|
753
762
|
t,
|
|
754
|
-
|
|
755
|
-
|
|
763
|
+
v,
|
|
764
|
+
D,
|
|
756
765
|
f,
|
|
757
766
|
s,
|
|
767
|
+
S,
|
|
758
768
|
w,
|
|
759
|
-
D,
|
|
760
769
|
ee,
|
|
761
770
|
d,
|
|
762
771
|
u,
|
|
763
772
|
a,
|
|
764
|
-
|
|
765
|
-
|
|
773
|
+
y,
|
|
774
|
+
B,
|
|
766
775
|
K,
|
|
767
776
|
Q,
|
|
768
777
|
N,
|
|
769
778
|
te,
|
|
770
779
|
oe,
|
|
771
780
|
L,
|
|
772
|
-
|
|
781
|
+
b,
|
|
773
782
|
U,
|
|
774
783
|
g,
|
|
775
784
|
l,
|
|
776
785
|
n,
|
|
777
786
|
r,
|
|
778
787
|
m,
|
|
779
|
-
pe,
|
|
780
788
|
me,
|
|
781
789
|
le,
|
|
782
790
|
fe,
|
|
@@ -786,16 +794,17 @@ function Ne(o, e, i) {
|
|
|
786
794
|
ge,
|
|
787
795
|
ce,
|
|
788
796
|
_e,
|
|
789
|
-
be
|
|
797
|
+
be,
|
|
798
|
+
ve
|
|
790
799
|
];
|
|
791
800
|
}
|
|
792
|
-
class
|
|
801
|
+
class _r extends ke {
|
|
793
802
|
constructor(e) {
|
|
794
|
-
super(),
|
|
803
|
+
super(), Te(
|
|
795
804
|
this,
|
|
796
805
|
e,
|
|
806
|
+
Oe,
|
|
797
807
|
Ne,
|
|
798
|
-
Ze,
|
|
799
808
|
Ce,
|
|
800
809
|
{
|
|
801
810
|
tag: 0,
|
|
@@ -807,11 +816,11 @@ class gr extends ve {
|
|
|
807
816
|
wrapperElement: 6,
|
|
808
817
|
popoverContainer: 7
|
|
809
818
|
},
|
|
810
|
-
|
|
819
|
+
Le,
|
|
811
820
|
[-1, -1]
|
|
812
821
|
);
|
|
813
822
|
}
|
|
814
823
|
}
|
|
815
824
|
export {
|
|
816
|
-
|
|
825
|
+
_r as default
|
|
817
826
|
};
|