@realsee/dnalogel 3.79.0-alpha.0 → 3.79.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 +832 -832
- package/dist/GuideLinePlugin/Controller.d.ts +34 -2
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
- package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -6
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +3 -2
- package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoTagPlugin/utils/doUtil.d.ts +1 -0
- package/dist/index.cjs.js +102 -97
- package/dist/index.js +16607 -14562
- package/dist/index.umd.js +95 -90
- package/libs/CruisePlugin/Move.js +27 -14
- package/libs/CruisePlugin/Work.js +74 -61
- package/libs/CruisePlugin/index.js +31 -18
- package/libs/GuideLinePlugin/Components/Tag.js +151 -163
- package/libs/GuideLinePlugin/Controller.d.ts +34 -2
- package/libs/GuideLinePlugin/Controller.js +85 -38
- package/libs/GuideLinePlugin/GuideLineItem.js +27 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -69
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +27 -14
- package/libs/GuideLinePlugin/index.js +31 -18
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +77 -87
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +135 -189
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +432 -460
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +198 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +258 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +358 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +126 -38
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +259 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +216 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +219 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +134 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +393 -292
- package/libs/PanoTagPlugin/Components/TagContainer.js +135 -125
- package/libs/PanoTagPlugin/Components/TagItem.js +321 -318
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +74 -61
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +108 -95
- package/libs/PanoTagPlugin/controller/index.js +54 -41
- package/libs/PanoTagPlugin/index.js +36 -23
- package/libs/PanoTagPlugin/tag.config.js +1 -31
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -6
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +3 -2
- package/libs/base/BasePlugin.js +5 -5
- package/libs/index.js +182 -169
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +225 -235
- package/package.json +2 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
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
|
+
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,15 +17,63 @@ 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
|
|
21
|
-
import "./Tag/
|
|
22
|
-
import "
|
|
23
|
-
import "
|
|
24
|
-
import "./Common/Shadow.js";
|
|
20
|
+
import Ue from "./Common/TagPopover/index.js";
|
|
21
|
+
import "./Tag/TextTag/index.js";
|
|
22
|
+
import "./Tag/TextTag/TextTag.js";
|
|
23
|
+
import "./Common/Line/Straight.js";
|
|
25
24
|
import "../../vendor/svelte/transition/index.js";
|
|
26
25
|
import "../../vendor/svelte/easing/index.js";
|
|
26
|
+
import "../../shared-utils/uuid.js";
|
|
27
|
+
import "./Common/Shadow.js";
|
|
28
|
+
import "./Common/Text/FlyMText.js";
|
|
29
|
+
import "./Common/Text/FlyText.js";
|
|
30
|
+
import "../../vendor/animejs/lib/anime.es.js";
|
|
31
|
+
import "../../shared-utils/isNil.js";
|
|
32
|
+
import "../utils/search.js";
|
|
33
|
+
import "../utils/constants.js";
|
|
34
|
+
import "./Common/Arrow.js";
|
|
35
|
+
import "../Assets/Icon.js";
|
|
36
|
+
import "../utils/doUtil.js";
|
|
27
37
|
import "../../shared-utils/svelte/resizeObserver.js";
|
|
28
38
|
import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
39
|
+
import "./Tag/TextTag/TextPlaneTag.js";
|
|
40
|
+
import "./Common/Text/MText.js";
|
|
41
|
+
import "../utils/px2rem.js";
|
|
42
|
+
import "./Tag/ImageTextTag.js";
|
|
43
|
+
import "./Common/Line/Polyline.js";
|
|
44
|
+
import "./Common/Media.js";
|
|
45
|
+
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
46
|
+
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
47
|
+
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
48
|
+
import "../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
49
|
+
import "../../vendor/svelte-carousel/src/direction.js";
|
|
50
|
+
import "../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
51
|
+
import "../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
52
|
+
import "../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
53
|
+
import "../../vendor/svelte-carousel/src/utils/event.js";
|
|
54
|
+
import "../../vendor/svelte-carousel/src/units.js";
|
|
55
|
+
import "../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
56
|
+
import "../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
57
|
+
import "../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
58
|
+
import "../../vendor/svelte-carousel/src/utils/math.js";
|
|
59
|
+
import "../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
60
|
+
import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
61
|
+
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
62
|
+
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
63
|
+
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
64
|
+
import "../../vendor/easy-reactive/src/simply-reactive.js";
|
|
65
|
+
import "../../vendor/lodash.get/index.js";
|
|
66
|
+
import "../../_commonjsHelpers.js";
|
|
67
|
+
import "../../vendor/lodash.clonedeep/index.js";
|
|
68
|
+
import "../../vendor/easy-reactive/src/utils/subscription.js";
|
|
69
|
+
import "../../vendor/easy-reactive/src/utils/object.js";
|
|
70
|
+
import "../../vendor/lodash.isequal/index.js";
|
|
71
|
+
import "../../vendor/easy-reactive/src/utils/watcher.js";
|
|
72
|
+
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
73
|
+
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
74
|
+
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
75
|
+
import "./Common/MediaItem.js";
|
|
76
|
+
import "./Tag/MarketingTag.js";
|
|
29
77
|
import "./Tag/Assets/marketingIcon.js";
|
|
30
78
|
import "../../shared-utils/positionToVector3.js";
|
|
31
79
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -74,53 +122,19 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
74
122
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
75
123
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
76
124
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
77
|
-
import "../../vendor/animejs/lib/anime.es.js";
|
|
78
125
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
126
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
80
127
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
81
128
|
import "@realsee/five";
|
|
82
129
|
import "./Tag/AudioTag/index.js";
|
|
83
|
-
import "./Tag/AudioTag/
|
|
84
|
-
import "./Common/Icon/audioIcon.js";
|
|
85
|
-
import "./Common/Text/MText.js";
|
|
130
|
+
import "./Tag/AudioTag/AudioTag.js";
|
|
86
131
|
import "./Common/Audio.js";
|
|
87
132
|
import "../utils/audio/SharedAudio.js";
|
|
88
133
|
import "../../shared-utils/audio.js";
|
|
89
134
|
import "../utils/audio/AudioDiagnostics.js";
|
|
135
|
+
import "./Common/Icon/audioIcon.js";
|
|
136
|
+
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
90
137
|
import "./Tag/MediaPlane.js";
|
|
91
|
-
import "./Common/Media.js";
|
|
92
|
-
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
93
|
-
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
94
|
-
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
95
|
-
import "../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
96
|
-
import "../../vendor/svelte-carousel/src/direction.js";
|
|
97
|
-
import "../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
98
|
-
import "../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
99
|
-
import "../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
100
|
-
import "../../vendor/svelte-carousel/src/utils/event.js";
|
|
101
|
-
import "../../vendor/svelte-carousel/src/units.js";
|
|
102
|
-
import "../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
103
|
-
import "../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
104
|
-
import "../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
105
|
-
import "../../vendor/svelte-carousel/src/utils/math.js";
|
|
106
|
-
import "../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
107
|
-
import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
108
|
-
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
109
|
-
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
110
|
-
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
111
|
-
import "../../vendor/easy-reactive/src/simply-reactive.js";
|
|
112
|
-
import "../../vendor/lodash.get/index.js";
|
|
113
|
-
import "../../_commonjsHelpers.js";
|
|
114
|
-
import "../../vendor/lodash.clonedeep/index.js";
|
|
115
|
-
import "../../vendor/easy-reactive/src/utils/subscription.js";
|
|
116
|
-
import "../../vendor/easy-reactive/src/utils/object.js";
|
|
117
|
-
import "../../vendor/lodash.isequal/index.js";
|
|
118
|
-
import "../../vendor/easy-reactive/src/utils/watcher.js";
|
|
119
|
-
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
120
|
-
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
121
|
-
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
122
|
-
import "./Common/MediaItem.js";
|
|
123
|
-
import "../Assets/Icon.js";
|
|
124
138
|
import "./Tag/LinkTag.js";
|
|
125
139
|
import "./Common/Icon/Icon.js";
|
|
126
140
|
import "../utils/getImageInfo.js";
|
|
@@ -156,7 +170,6 @@ import "../../shared-utils/url/defaultUrls.js";
|
|
|
156
170
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
157
171
|
import "../../shared-utils/formatRad.js";
|
|
158
172
|
import "../../shared-utils/five/lookPoint.js";
|
|
159
|
-
import "../../shared-utils/uuid.js";
|
|
160
173
|
import "../utils/tagPosition.js";
|
|
161
174
|
import "../utils/checkRange.js";
|
|
162
175
|
import "../../shared-utils/url/getUrl.js";
|
|
@@ -176,157 +189,157 @@ import "./Common/AudioPlayer.js";
|
|
|
176
189
|
import "./Common/TagPopover/TagPopoverToolBar.js";
|
|
177
190
|
import "./Common/TagPopover/ArrowRightIcon.js";
|
|
178
191
|
import "./Common/TagPopover/ShareIcon.js";
|
|
179
|
-
function
|
|
180
|
-
|
|
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}");
|
|
181
194
|
}
|
|
182
|
-
function
|
|
183
|
-
let
|
|
184
|
-
const
|
|
185
|
-
function
|
|
195
|
+
function ne(o) {
|
|
196
|
+
let e, i, a, m, r, n, u, l, g, d;
|
|
197
|
+
const U = [Ae, ze], b = [];
|
|
198
|
+
function L(f, s) {
|
|
186
199
|
return (
|
|
187
200
|
/*havePoint*/
|
|
188
201
|
f[10] ? 0 : 1
|
|
189
202
|
);
|
|
190
203
|
}
|
|
191
|
-
i =
|
|
192
|
-
const
|
|
193
|
-
function
|
|
204
|
+
i = L(o), a = b[i] = U[i](o);
|
|
205
|
+
const t = [Ze, Re], v = [];
|
|
206
|
+
function D(f, s) {
|
|
194
207
|
return (
|
|
195
208
|
/*haveContent*/
|
|
196
209
|
f[25] ? 0 : 1
|
|
197
210
|
);
|
|
198
211
|
}
|
|
199
|
-
return r =
|
|
212
|
+
return r = D(o), n = v[r] = t[r](o), {
|
|
200
213
|
c() {
|
|
201
|
-
|
|
202
|
-
|
|
214
|
+
e = X("div"), a.c(), m = pe(), n.c(), c(e, "class", "tag svelte-2g2g8a"), c(
|
|
215
|
+
e,
|
|
203
216
|
"data-tag-id",
|
|
204
217
|
/*id*/
|
|
205
218
|
o[23]
|
|
206
|
-
),
|
|
207
|
-
|
|
219
|
+
), c(
|
|
220
|
+
e,
|
|
208
221
|
"data-tag-unfolded",
|
|
209
222
|
/*unfolded*/
|
|
210
223
|
o[8]
|
|
211
|
-
),
|
|
212
|
-
o[0].contentType),
|
|
213
|
-
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*/
|
|
214
227
|
o[23]}`), H(
|
|
215
|
-
|
|
228
|
+
e,
|
|
216
229
|
"unClickable",
|
|
217
230
|
/*tag*/
|
|
218
231
|
o[0].config.clickable === !1
|
|
219
232
|
), H(
|
|
220
|
-
|
|
233
|
+
e,
|
|
221
234
|
"hide",
|
|
222
235
|
/*hide*/
|
|
223
236
|
o[21]
|
|
224
237
|
), H(
|
|
225
|
-
|
|
238
|
+
e,
|
|
226
239
|
"enableZIndex",
|
|
227
240
|
/*zIndex*/
|
|
228
241
|
o[18]
|
|
229
|
-
),
|
|
230
|
-
|
|
242
|
+
), F(
|
|
243
|
+
e,
|
|
231
244
|
"z-index",
|
|
232
245
|
/*zIndex*/
|
|
233
246
|
o[18]
|
|
234
|
-
),
|
|
247
|
+
), F(e, "transform", `translate3d(${/*left*/
|
|
235
248
|
o[20]}, ${/*top*/
|
|
236
249
|
o[19]}, 0) scale(${/*screenPosition*/
|
|
237
250
|
o[9].scale})`);
|
|
238
251
|
},
|
|
239
252
|
m(f, s) {
|
|
240
|
-
|
|
253
|
+
R(f, e, s), b[i].m(e, null), Me(e, m), v[r].m(e, null), o[36](e), d = !0;
|
|
241
254
|
},
|
|
242
255
|
p(f, s) {
|
|
243
256
|
let S = i;
|
|
244
|
-
i =
|
|
245
|
-
|
|
246
|
-
}),
|
|
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));
|
|
247
260
|
let w = r;
|
|
248
|
-
r =
|
|
249
|
-
|
|
250
|
-
}),
|
|
251
|
-
8388608) &&
|
|
252
|
-
|
|
261
|
+
r = D(f), r === w ? v[r].p(f, s) : (j(), h(v[w], 1, 1, () => {
|
|
262
|
+
v[w] = null;
|
|
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(
|
|
265
|
+
e,
|
|
253
266
|
"data-tag-id",
|
|
254
267
|
/*id*/
|
|
255
268
|
f[23]
|
|
256
269
|
), (!d || s[0] & /*unfolded*/
|
|
257
|
-
256) &&
|
|
258
|
-
|
|
270
|
+
256) && c(
|
|
271
|
+
e,
|
|
259
272
|
"data-tag-unfolded",
|
|
260
273
|
/*unfolded*/
|
|
261
274
|
f[8]
|
|
262
275
|
), (!d || s[0] & /*tag*/
|
|
263
276
|
1 && u !== (u = /*tag*/
|
|
264
|
-
f[0].contentType)) &&
|
|
265
|
-
1 &&
|
|
266
|
-
f[0].isPopoverConfigEnabled())) &&
|
|
277
|
+
f[0].contentType)) && c(e, "data-content-type", u), (!d || s[0] & /*tag*/
|
|
278
|
+
1 && l !== (l = /*tag*/
|
|
279
|
+
f[0].isPopoverConfigEnabled())) && c(e, "data-popover-enabled", l), (!d || s[0] & /*id*/
|
|
267
280
|
8388608 && g !== (g = `tag-${/*id*/
|
|
268
|
-
f[23]}`)) &&
|
|
281
|
+
f[23]}`)) && c(e, "id", g), (!d || s[0] & /*tag*/
|
|
269
282
|
1) && H(
|
|
270
|
-
|
|
283
|
+
e,
|
|
271
284
|
"unClickable",
|
|
272
285
|
/*tag*/
|
|
273
286
|
f[0].config.clickable === !1
|
|
274
287
|
), (!d || s[0] & /*hide*/
|
|
275
288
|
2097152) && H(
|
|
276
|
-
|
|
289
|
+
e,
|
|
277
290
|
"hide",
|
|
278
291
|
/*hide*/
|
|
279
292
|
f[21]
|
|
280
293
|
), (!d || s[0] & /*zIndex*/
|
|
281
294
|
262144) && H(
|
|
282
|
-
|
|
295
|
+
e,
|
|
283
296
|
"enableZIndex",
|
|
284
297
|
/*zIndex*/
|
|
285
298
|
f[18]
|
|
286
299
|
), s[0] & /*zIndex*/
|
|
287
|
-
262144 &&
|
|
288
|
-
|
|
300
|
+
262144 && F(
|
|
301
|
+
e,
|
|
289
302
|
"z-index",
|
|
290
303
|
/*zIndex*/
|
|
291
304
|
f[18]
|
|
292
305
|
), s[0] & /*left, top, screenPosition*/
|
|
293
|
-
1573376 &&
|
|
306
|
+
1573376 && F(e, "transform", `translate3d(${/*left*/
|
|
294
307
|
f[20]}, ${/*top*/
|
|
295
308
|
f[19]}, 0) scale(${/*screenPosition*/
|
|
296
309
|
f[9].scale})`);
|
|
297
310
|
},
|
|
298
311
|
i(f) {
|
|
299
|
-
d || (
|
|
312
|
+
d || (_(a), _(n), d = !0);
|
|
300
313
|
},
|
|
301
314
|
o(f) {
|
|
302
|
-
|
|
315
|
+
h(a), h(n), d = !1;
|
|
303
316
|
},
|
|
304
317
|
d(f) {
|
|
305
|
-
f &&
|
|
318
|
+
f && Z(e), b[i].d(), v[r].d(), o[36](null);
|
|
306
319
|
}
|
|
307
320
|
};
|
|
308
321
|
}
|
|
309
|
-
function
|
|
310
|
-
let
|
|
322
|
+
function ze(o) {
|
|
323
|
+
let e;
|
|
311
324
|
return {
|
|
312
325
|
c() {
|
|
313
|
-
|
|
326
|
+
e = X("div"), c(e, "data-info", "tag point is disable");
|
|
314
327
|
},
|
|
315
328
|
m(i, a) {
|
|
316
|
-
|
|
329
|
+
R(i, e, a);
|
|
317
330
|
},
|
|
318
|
-
p:
|
|
319
|
-
i:
|
|
320
|
-
o:
|
|
331
|
+
p: I,
|
|
332
|
+
i: I,
|
|
333
|
+
o: I,
|
|
321
334
|
d(i) {
|
|
322
|
-
i &&
|
|
335
|
+
i && Z(e);
|
|
323
336
|
}
|
|
324
337
|
};
|
|
325
338
|
}
|
|
326
|
-
function
|
|
327
|
-
let
|
|
328
|
-
function
|
|
329
|
-
o[
|
|
339
|
+
function Ae(o) {
|
|
340
|
+
let e, i, a;
|
|
341
|
+
function m(n) {
|
|
342
|
+
o[34](n);
|
|
330
343
|
}
|
|
331
344
|
let r = {
|
|
332
345
|
tag: (
|
|
@@ -335,93 +348,93 @@ function Oe(o) {
|
|
|
335
348
|
),
|
|
336
349
|
handleMouseEnter: (
|
|
337
350
|
/*handleMouseEnter*/
|
|
338
|
-
o[
|
|
351
|
+
o[30]
|
|
339
352
|
),
|
|
340
353
|
handleMouseLeave: (
|
|
341
354
|
/*handleMouseLeave*/
|
|
342
|
-
o[
|
|
355
|
+
o[31]
|
|
343
356
|
),
|
|
344
357
|
handleTagPointClick: (
|
|
345
358
|
/*handleTagPointClick*/
|
|
346
|
-
o[
|
|
359
|
+
o[32]
|
|
347
360
|
)
|
|
348
361
|
};
|
|
349
362
|
return (
|
|
350
363
|
/*tagPointClickHelper*/
|
|
351
364
|
o[12] !== void 0 && (r.tagPointClickHelper = /*tagPointClickHelper*/
|
|
352
|
-
o[12]),
|
|
365
|
+
o[12]), e = new He({ props: r }), W.push(() => De(e, "tagPointClickHelper", m)), o[35](e), e.$on(
|
|
353
366
|
"audioInstanceReady",
|
|
354
367
|
/*audioEventHandlers*/
|
|
355
|
-
o[
|
|
356
|
-
),
|
|
368
|
+
o[27].audioInstanceReady
|
|
369
|
+
), e.$on(
|
|
357
370
|
"audioPlay",
|
|
358
371
|
/*audioEventHandlers*/
|
|
359
|
-
o[
|
|
360
|
-
),
|
|
372
|
+
o[27].audioPlay
|
|
373
|
+
), e.$on(
|
|
361
374
|
"audioPause",
|
|
362
375
|
/*audioEventHandlers*/
|
|
363
|
-
o[
|
|
364
|
-
),
|
|
376
|
+
o[27].audioPause
|
|
377
|
+
), e.$on(
|
|
365
378
|
"audioTimeUpdate",
|
|
366
379
|
/*audioEventHandlers*/
|
|
367
|
-
o[
|
|
368
|
-
),
|
|
380
|
+
o[27].audioTimeUpdate
|
|
381
|
+
), e.$on(
|
|
369
382
|
"audioDuration",
|
|
370
383
|
/*audioEventHandlers*/
|
|
371
|
-
o[
|
|
384
|
+
o[27].audioDuration
|
|
372
385
|
), {
|
|
373
386
|
c() {
|
|
374
|
-
|
|
387
|
+
Y(e.$$.fragment);
|
|
375
388
|
},
|
|
376
389
|
m(n, u) {
|
|
377
|
-
|
|
390
|
+
$(e, n, u), a = !0;
|
|
378
391
|
},
|
|
379
392
|
p(n, u) {
|
|
380
|
-
const
|
|
393
|
+
const l = {};
|
|
381
394
|
u[0] & /*tag*/
|
|
382
|
-
1 && (
|
|
395
|
+
1 && (l.tag = /*tag*/
|
|
383
396
|
n[0]), !i && u[0] & /*tagPointClickHelper*/
|
|
384
|
-
4096 && (i = !0,
|
|
385
|
-
n[12],
|
|
397
|
+
4096 && (i = !0, l.tagPointClickHelper = /*tagPointClickHelper*/
|
|
398
|
+
n[12], Se(() => i = !1)), e.$set(l);
|
|
386
399
|
},
|
|
387
400
|
i(n) {
|
|
388
|
-
a || (
|
|
401
|
+
a || (_(e.$$.fragment, n), a = !0);
|
|
389
402
|
},
|
|
390
403
|
o(n) {
|
|
391
|
-
|
|
404
|
+
h(e.$$.fragment, n), a = !1;
|
|
392
405
|
},
|
|
393
406
|
d(n) {
|
|
394
|
-
o[
|
|
407
|
+
o[35](null), x(e, n);
|
|
395
408
|
}
|
|
396
409
|
}
|
|
397
410
|
);
|
|
398
411
|
}
|
|
399
|
-
function
|
|
400
|
-
let
|
|
412
|
+
function Re(o) {
|
|
413
|
+
let e;
|
|
401
414
|
return {
|
|
402
415
|
c() {
|
|
403
|
-
|
|
416
|
+
e = X("div"), c(e, "data-info", "tag content is disable");
|
|
404
417
|
},
|
|
405
418
|
m(i, a) {
|
|
406
|
-
|
|
419
|
+
R(i, e, a);
|
|
407
420
|
},
|
|
408
|
-
p:
|
|
409
|
-
i:
|
|
410
|
-
o:
|
|
421
|
+
p: I,
|
|
422
|
+
i: I,
|
|
423
|
+
o: I,
|
|
411
424
|
d(i) {
|
|
412
|
-
i &&
|
|
425
|
+
i && Z(e);
|
|
413
426
|
}
|
|
414
427
|
};
|
|
415
428
|
}
|
|
416
|
-
function
|
|
417
|
-
let
|
|
418
|
-
return
|
|
429
|
+
function Ze(o) {
|
|
430
|
+
let e, i;
|
|
431
|
+
return e = new we({
|
|
419
432
|
props: {
|
|
420
433
|
mediaStore: (
|
|
421
434
|
/*mediaStore*/
|
|
422
435
|
o[1]
|
|
423
436
|
),
|
|
424
|
-
tag:
|
|
437
|
+
tag: re(
|
|
425
438
|
/*tag*/
|
|
426
439
|
o[0]
|
|
427
440
|
),
|
|
@@ -448,44 +461,44 @@ function qe(o) {
|
|
|
448
461
|
}
|
|
449
462
|
}), {
|
|
450
463
|
c() {
|
|
451
|
-
|
|
464
|
+
Y(e.$$.fragment);
|
|
452
465
|
},
|
|
453
|
-
m(a,
|
|
454
|
-
|
|
466
|
+
m(a, m) {
|
|
467
|
+
$(e, a, m), i = !0;
|
|
455
468
|
},
|
|
456
|
-
p(a,
|
|
469
|
+
p(a, m) {
|
|
457
470
|
const r = {};
|
|
458
|
-
|
|
471
|
+
m[0] & /*mediaStore*/
|
|
459
472
|
2 && (r.mediaStore = /*mediaStore*/
|
|
460
|
-
a[1]),
|
|
461
|
-
1 && (r.tag =
|
|
473
|
+
a[1]), m[0] & /*tag*/
|
|
474
|
+
1 && (r.tag = re(
|
|
462
475
|
/*tag*/
|
|
463
476
|
a[0]
|
|
464
|
-
)),
|
|
477
|
+
)), m[0] & /*state*/
|
|
465
478
|
16 && (r.state = /*state*/
|
|
466
|
-
a[4]),
|
|
479
|
+
a[4]), m[0] & /*temporaryState*/
|
|
467
480
|
32 && (r.temporaryState = /*temporaryState*/
|
|
468
|
-
a[5]),
|
|
481
|
+
a[5]), m[0] & /*rendererMap*/
|
|
469
482
|
4 && (r.rendererMap = /*rendererMap*/
|
|
470
|
-
a[2]),
|
|
483
|
+
a[2]), m[0] & /*contentTypeMap*/
|
|
471
484
|
8 && (r.contentTypeMap = /*contentTypeMap*/
|
|
472
|
-
a[3]),
|
|
485
|
+
a[3]), e.$set(r);
|
|
473
486
|
},
|
|
474
487
|
i(a) {
|
|
475
|
-
i || (
|
|
488
|
+
i || (_(e.$$.fragment, a), i = !0);
|
|
476
489
|
},
|
|
477
490
|
o(a) {
|
|
478
|
-
|
|
491
|
+
h(e.$$.fragment, a), i = !1;
|
|
479
492
|
},
|
|
480
493
|
d(a) {
|
|
481
|
-
|
|
494
|
+
x(e, a);
|
|
482
495
|
}
|
|
483
496
|
};
|
|
484
497
|
}
|
|
485
|
-
function
|
|
498
|
+
function ae(o) {
|
|
486
499
|
var a;
|
|
487
|
-
let
|
|
488
|
-
return
|
|
500
|
+
let e, i;
|
|
501
|
+
return e = new Ue({
|
|
489
502
|
props: {
|
|
490
503
|
tag: (
|
|
491
504
|
/*tag*/
|
|
@@ -514,7 +527,7 @@ function fe(o) {
|
|
|
514
527
|
visible: !0,
|
|
515
528
|
closePopover: (
|
|
516
529
|
/*closePopover*/
|
|
517
|
-
o[
|
|
530
|
+
o[33]
|
|
518
531
|
),
|
|
519
532
|
audioInstance: (
|
|
520
533
|
/*audioInstance*/
|
|
@@ -533,276 +546,266 @@ function fe(o) {
|
|
|
533
546
|
o[17]
|
|
534
547
|
)
|
|
535
548
|
}
|
|
536
|
-
}),
|
|
549
|
+
}), e.$on(
|
|
537
550
|
"mouseenter",
|
|
538
551
|
/*handlePopoverMouseEnter*/
|
|
539
|
-
o[
|
|
540
|
-
),
|
|
552
|
+
o[28]
|
|
553
|
+
), e.$on(
|
|
541
554
|
"mouseleave",
|
|
542
555
|
/*handlePopoverMouseLeave*/
|
|
543
|
-
o[
|
|
544
|
-
),
|
|
556
|
+
o[29]
|
|
557
|
+
), e.$on(
|
|
545
558
|
"close",
|
|
546
559
|
/*closePopover*/
|
|
547
|
-
o[
|
|
560
|
+
o[33]
|
|
548
561
|
), {
|
|
549
562
|
c() {
|
|
550
|
-
|
|
563
|
+
Y(e.$$.fragment);
|
|
551
564
|
},
|
|
552
|
-
m(
|
|
553
|
-
|
|
565
|
+
m(m, r) {
|
|
566
|
+
$(e, m, r), i = !0;
|
|
554
567
|
},
|
|
555
|
-
p(
|
|
568
|
+
p(m, r) {
|
|
556
569
|
var u;
|
|
557
570
|
const n = {};
|
|
558
571
|
r[0] & /*tag*/
|
|
559
572
|
1 && (n.tag = /*tag*/
|
|
560
|
-
|
|
573
|
+
m[0]), r[0] & /*tag*/
|
|
561
574
|
1 && (n.config = /*tag*/
|
|
562
|
-
|
|
575
|
+
m[0].config.popoverConfig), r[0] & /*tag*/
|
|
563
576
|
1 && (n.theme = /*tag*/
|
|
564
|
-
(u =
|
|
577
|
+
(u = m[0].config.popoverConfig) == null ? void 0 : u.theme), r[0] & /*wrapperElement*/
|
|
565
578
|
64 && (n.wrapperElement = /*wrapperElement*/
|
|
566
|
-
|
|
579
|
+
m[6]), r[0] & /*tagPointClickHelper*/
|
|
567
580
|
4096 && (n.triggerElement = /*tagPointClickHelper*/
|
|
568
|
-
|
|
581
|
+
m[12]), r[0] & /*popoverContainer*/
|
|
569
582
|
128 && (n.popoverContainer = /*popoverContainer*/
|
|
570
|
-
|
|
583
|
+
m[7]), r[0] & /*audioInstance*/
|
|
571
584
|
16384 && (n.audioInstance = /*audioInstance*/
|
|
572
|
-
|
|
585
|
+
m[14]), r[0] & /*audioPlaying*/
|
|
573
586
|
32768 && (n.audioPlaying = /*audioPlaying*/
|
|
574
|
-
|
|
587
|
+
m[15]), r[0] & /*audioCurrentTime*/
|
|
575
588
|
65536 && (n.audioCurrentTime = /*audioCurrentTime*/
|
|
576
|
-
|
|
589
|
+
m[16]), r[0] & /*audioDuration*/
|
|
577
590
|
131072 && (n.audioDuration = /*audioDuration*/
|
|
578
|
-
|
|
591
|
+
m[17]), e.$set(n);
|
|
579
592
|
},
|
|
580
|
-
i(
|
|
581
|
-
i || (
|
|
593
|
+
i(m) {
|
|
594
|
+
i || (_(e.$$.fragment, m), i = !0);
|
|
582
595
|
},
|
|
583
|
-
o(
|
|
584
|
-
|
|
596
|
+
o(m) {
|
|
597
|
+
h(e.$$.fragment, m), i = !1;
|
|
585
598
|
},
|
|
586
|
-
d(
|
|
587
|
-
|
|
599
|
+
d(m) {
|
|
600
|
+
x(e, m);
|
|
588
601
|
}
|
|
589
602
|
};
|
|
590
603
|
}
|
|
591
|
-
function
|
|
604
|
+
function Ne(o) {
|
|
592
605
|
var u;
|
|
593
|
-
let
|
|
606
|
+
let e, i = (
|
|
594
607
|
/*tag*/
|
|
595
608
|
o[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
|
|
596
609
|
o[24] && /*isHovering*/
|
|
597
610
|
(o[11] || /*tag*/
|
|
598
611
|
((u = o[0].config.popoverConfig) == null ? void 0 : u.debug))
|
|
599
|
-
), a,
|
|
612
|
+
), a, m, r = (
|
|
600
613
|
/*screenPosition*/
|
|
601
614
|
o[9] && (!/*disable*/
|
|
602
615
|
o[22] || /*isHovering*/
|
|
603
|
-
o[11]) &&
|
|
604
|
-
), n = i &&
|
|
616
|
+
o[11]) && ne(o)
|
|
617
|
+
), n = i && ae(o);
|
|
605
618
|
return {
|
|
606
619
|
c() {
|
|
607
|
-
r && r.c(),
|
|
620
|
+
r && r.c(), e = pe(), n && n.c(), a = Pe();
|
|
608
621
|
},
|
|
609
|
-
m(
|
|
610
|
-
r && r.m(
|
|
622
|
+
m(l, g) {
|
|
623
|
+
r && r.m(l, g), R(l, e, g), n && n.m(l, g), R(l, a, g), m = !0;
|
|
611
624
|
},
|
|
612
|
-
p(
|
|
625
|
+
p(l, g) {
|
|
613
626
|
var d;
|
|
614
627
|
/*screenPosition*/
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
4196864 &&
|
|
628
|
+
l[9] && (!/*disable*/
|
|
629
|
+
l[22] || /*isHovering*/
|
|
630
|
+
l[11]) ? r ? (r.p(l, g), g[0] & /*screenPosition, disable, isHovering*/
|
|
631
|
+
4196864 && _(r, 1)) : (r = ne(l), r.c(), _(r, 1), r.m(e.parentNode, e)) : r && (j(), h(r, 1, 1, () => {
|
|
619
632
|
r = null;
|
|
620
|
-
}),
|
|
633
|
+
}), V()), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
621
634
|
16779265 && (i = /*tag*/
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
(
|
|
625
|
-
((d =
|
|
626
|
-
16779265 &&
|
|
635
|
+
l[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
|
|
636
|
+
l[24] && /*isHovering*/
|
|
637
|
+
(l[11] || /*tag*/
|
|
638
|
+
((d = l[0].config.popoverConfig) == null ? void 0 : d.debug))), i ? n ? (n.p(l, g), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
639
|
+
16779265 && _(n, 1)) : (n = ae(l), n.c(), _(n, 1), n.m(a.parentNode, a)) : n && (j(), h(n, 1, 1, () => {
|
|
627
640
|
n = null;
|
|
628
|
-
}),
|
|
641
|
+
}), V());
|
|
629
642
|
},
|
|
630
|
-
i(
|
|
631
|
-
|
|
643
|
+
i(l) {
|
|
644
|
+
m || (_(r), _(n), m = !0);
|
|
632
645
|
},
|
|
633
|
-
o(
|
|
634
|
-
|
|
646
|
+
o(l) {
|
|
647
|
+
h(r), h(n), m = !1;
|
|
635
648
|
},
|
|
636
|
-
d(
|
|
637
|
-
r && r.d(
|
|
649
|
+
d(l) {
|
|
650
|
+
r && r.d(l), l && Z(e), n && n.d(l), l && Z(a);
|
|
638
651
|
}
|
|
639
652
|
};
|
|
640
653
|
}
|
|
641
|
-
function
|
|
642
|
-
let a,
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
const de = {
|
|
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 = {
|
|
647
659
|
audioInstanceReady: (p) => {
|
|
648
|
-
i(14,
|
|
660
|
+
i(14, Q = p.detail), i(15, N = !Q.paused);
|
|
649
661
|
},
|
|
650
662
|
audioPlay: () => {
|
|
651
|
-
i(15,
|
|
663
|
+
i(15, N = !0);
|
|
652
664
|
},
|
|
653
665
|
audioPause: () => {
|
|
654
|
-
i(15,
|
|
666
|
+
i(15, N = !1);
|
|
655
667
|
},
|
|
656
668
|
audioTimeUpdate: (p) => {
|
|
657
|
-
i(16,
|
|
669
|
+
i(16, te = p.detail);
|
|
658
670
|
},
|
|
659
671
|
audioDuration: (p) => {
|
|
660
|
-
i(17,
|
|
672
|
+
i(17, oe = p.detail);
|
|
661
673
|
}
|
|
662
674
|
};
|
|
663
|
-
let
|
|
664
|
-
const
|
|
665
|
-
if (
|
|
666
|
-
|
|
675
|
+
let O = !1;
|
|
676
|
+
const q = (p) => {
|
|
677
|
+
if (E && clearTimeout(E), p === !0 && !O) {
|
|
678
|
+
O = !0, i(11, y = !0);
|
|
667
679
|
return;
|
|
668
680
|
}
|
|
669
|
-
|
|
681
|
+
E = setTimeout(
|
|
670
682
|
() => {
|
|
671
|
-
var
|
|
672
|
-
!
|
|
683
|
+
var k;
|
|
684
|
+
!G && !J && !((k = t.config.popoverConfig) != null && k.debug) && (O = !1, i(11, y = !1));
|
|
673
685
|
},
|
|
674
686
|
300
|
|
675
687
|
);
|
|
676
|
-
},
|
|
677
|
-
|
|
678
|
-
},
|
|
679
|
-
|
|
680
|
-
},
|
|
681
|
-
var
|
|
688
|
+
}, fe = () => {
|
|
689
|
+
G = !0, E && clearTimeout(E);
|
|
690
|
+
}, ue = () => {
|
|
691
|
+
G = !1, q(!1);
|
|
692
|
+
}, se = (p) => {
|
|
693
|
+
var P, T, C, z, A, ie;
|
|
682
694
|
if (p.pointerType !== "mouse")
|
|
683
695
|
return;
|
|
684
|
-
|
|
685
|
-
const
|
|
686
|
-
if (
|
|
687
|
-
if (
|
|
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)
|
|
688
700
|
return;
|
|
689
|
-
((
|
|
701
|
+
((z = (C = t.currentConfig) == null ? void 0 : C.popoverConfig) == null ? void 0 : z.triggerDelay) > 0 ? M = setTimeout(
|
|
690
702
|
() => {
|
|
691
|
-
|
|
703
|
+
q(!0), t.hooks.emit("hover", { event: p, tag: t }), M = void 0;
|
|
692
704
|
},
|
|
693
|
-
(
|
|
694
|
-
) : (
|
|
705
|
+
(ie = (A = t.currentConfig) == null ? void 0 : A.popoverConfig) == null ? void 0 : ie.triggerDelay
|
|
706
|
+
) : (q(!0), t.hooks.emit("hover", { event: p, tag: t }));
|
|
695
707
|
}
|
|
696
|
-
},
|
|
697
|
-
var
|
|
708
|
+
}, de = (p) => {
|
|
709
|
+
var P, T;
|
|
698
710
|
if (p.pointerType !== "mouse")
|
|
699
711
|
return;
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
},
|
|
704
|
-
var
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
c && E ? (i(35, E = !1), I = !1, i(11, c = !1), R.set(null)) : (i(35, E = !0), R.set(e.id), c || (i(11, c = !0), I = !0, e.hooks.emit("hover", { event: p, tag: e })));
|
|
708
|
-
return;
|
|
709
|
-
}
|
|
710
|
-
e.isPopoverConfigEnabled() && e.isHoverEnabled() && k === "click" && (T ? c || (i(11, c = !0), e.hooks.emit("hover", { event: p, tag: e })) : (i(11, c = !c), c && e.hooks.emit("hover", { event: p, tag: e })));
|
|
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 })));
|
|
711
719
|
};
|
|
712
|
-
function
|
|
713
|
-
|
|
720
|
+
function ce() {
|
|
721
|
+
O = !1, i(11, y = !1);
|
|
714
722
|
}
|
|
715
|
-
|
|
716
|
-
M && clearTimeout(M),
|
|
723
|
+
Ee(() => () => {
|
|
724
|
+
M && clearTimeout(M), E && clearTimeout(E);
|
|
717
725
|
});
|
|
718
|
-
function
|
|
719
|
-
|
|
726
|
+
function _e(p) {
|
|
727
|
+
B = p, i(12, B);
|
|
720
728
|
}
|
|
721
|
-
function
|
|
722
|
-
|
|
723
|
-
|
|
729
|
+
function be(p) {
|
|
730
|
+
W[p ? "unshift" : "push"](() => {
|
|
731
|
+
K = p, i(13, K);
|
|
724
732
|
});
|
|
725
733
|
}
|
|
726
|
-
function
|
|
727
|
-
|
|
728
|
-
|
|
734
|
+
function ve(p) {
|
|
735
|
+
W[p ? "unshift" : "push"](() => {
|
|
736
|
+
t.dom = p, i(0, t);
|
|
729
737
|
});
|
|
730
738
|
}
|
|
731
739
|
return o.$$set = (p) => {
|
|
732
|
-
"tag" in p && i(0,
|
|
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);
|
|
733
741
|
}, o.$$.update = () => {
|
|
734
|
-
var p,
|
|
742
|
+
var p, k, P, T;
|
|
735
743
|
o.$$.dirty[0] & /*tag, rendererMap*/
|
|
736
744
|
5 && i(10, a = (() => {
|
|
737
|
-
var
|
|
738
|
-
return ((
|
|
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");
|
|
739
747
|
})()), o.$$.dirty[0] & /*tag, havePoint*/
|
|
740
|
-
1025 && i(25,
|
|
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*/
|
|
741
749
|
1 && i(24, r = (() => {
|
|
742
|
-
var
|
|
743
|
-
return
|
|
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);
|
|
744
752
|
})()), o.$$.dirty[0] & /*tag*/
|
|
745
|
-
1 && i(23, n =
|
|
746
|
-
1 && i(9, u =
|
|
747
|
-
1 && i(22,
|
|
748
|
-
513 && i(21, g = !((p =
|
|
749
|
-
1 && i(8, d = ((
|
|
750
|
-
512 && i(20,
|
|
751
|
-
512 && i(19,
|
|
752
|
-
257 && i(18,
|
|
753
|
-
1 | o.$$.dirty[1] & /*$pinnedTagId, isPinned*/
|
|
754
|
-
48 && D !== null && D !== e.id && E && (i(35, E = !1), I = !1, i(11, c = !1));
|
|
753
|
+
1 && i(23, n = t.id), o.$$.dirty[0] & /*tag*/
|
|
754
|
+
1 && i(9, u = t.screenPosition), o.$$.dirty[0] & /*tag*/
|
|
755
|
+
1 && i(22, l = t.enabled === !1 || !t.state), o.$$.dirty[0] & /*tag, screenPosition*/
|
|
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*/
|
|
758
|
+
512 && i(20, U = (u == null ? void 0 : u.leftPx) + "px"), o.$$.dirty[0] & /*screenPosition*/
|
|
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);
|
|
755
761
|
}, [
|
|
756
|
-
|
|
757
|
-
|
|
762
|
+
t,
|
|
763
|
+
v,
|
|
764
|
+
D,
|
|
758
765
|
f,
|
|
759
766
|
s,
|
|
760
767
|
S,
|
|
761
768
|
w,
|
|
762
|
-
|
|
763
|
-
ie,
|
|
769
|
+
ee,
|
|
764
770
|
d,
|
|
765
771
|
u,
|
|
766
772
|
a,
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
z,
|
|
775
|
-
v,
|
|
773
|
+
y,
|
|
774
|
+
B,
|
|
775
|
+
K,
|
|
776
|
+
Q,
|
|
777
|
+
N,
|
|
778
|
+
te,
|
|
779
|
+
oe,
|
|
776
780
|
L,
|
|
781
|
+
b,
|
|
782
|
+
U,
|
|
777
783
|
g,
|
|
778
|
-
|
|
784
|
+
l,
|
|
779
785
|
n,
|
|
780
786
|
r,
|
|
781
|
-
|
|
787
|
+
m,
|
|
788
|
+
me,
|
|
789
|
+
le,
|
|
790
|
+
fe,
|
|
791
|
+
ue,
|
|
782
792
|
se,
|
|
783
|
-
R,
|
|
784
793
|
de,
|
|
785
794
|
ge,
|
|
786
795
|
ce,
|
|
787
796
|
_e,
|
|
788
797
|
be,
|
|
789
|
-
|
|
790
|
-
ve,
|
|
791
|
-
E,
|
|
792
|
-
D,
|
|
793
|
-
ke,
|
|
794
|
-
Ce,
|
|
795
|
-
he
|
|
798
|
+
ve
|
|
796
799
|
];
|
|
797
800
|
}
|
|
798
|
-
class
|
|
799
|
-
constructor(
|
|
800
|
-
super(),
|
|
801
|
+
class _r extends ke {
|
|
802
|
+
constructor(e) {
|
|
803
|
+
super(), Te(
|
|
801
804
|
this,
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
805
|
+
e,
|
|
806
|
+
Oe,
|
|
807
|
+
Ne,
|
|
808
|
+
Ce,
|
|
806
809
|
{
|
|
807
810
|
tag: 0,
|
|
808
811
|
mediaStore: 1,
|
|
@@ -813,11 +816,11 @@ class pr extends Pe {
|
|
|
813
816
|
wrapperElement: 6,
|
|
814
817
|
popoverContainer: 7
|
|
815
818
|
},
|
|
816
|
-
|
|
819
|
+
Le,
|
|
817
820
|
[-1, -1]
|
|
818
821
|
);
|
|
819
822
|
}
|
|
820
823
|
}
|
|
821
824
|
export {
|
|
822
|
-
|
|
825
|
+
_r as default
|
|
823
826
|
};
|