@realsee/dnalogel 2.1.0-alpha.28 → 2.1.0-alpha.29
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 +59 -59
- package/dist/index.es.js +7354 -7304
- package/dist/index.js +7354 -7304
- package/dist/index.umd.js +43 -43
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +9 -9
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoTagPluginController.html +23 -23
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +7 -7
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -1
- package/docs/enums/PaintBrushTypeEnum.html +1 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +1 -1
- package/docs/interfaces/PaintBrushState.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/PanoTagPlugin/Components/Common/Audio.js +39 -41
- package/libs/PanoTagPlugin/Components/Common/Media.js +1060 -1031
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +49 -57
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +27 -27
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +22 -22
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +7 -7
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +64 -66
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -99
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +35 -33
- package/libs/PanoTagPlugin/Components/Tag/index.js +60 -63
- package/libs/PanoTagPlugin/Components/TagContainer.js +187 -0
- package/libs/PanoTagPlugin/Components/TagWrapper.js +61 -62
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/index.js +52 -42
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- package/libs/{TagComputer.0920083a.js → TagComputer.92e6d9a9.js} +0 -0
- package/libs/index.js +2 -2
- package/package.json +1 -1
- package/libs/PanoTagPlugin/Components/PointTag.js +0 -162
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as O, i as P, s as Q, a as V, r as X, c as H, f as
|
|
1
|
+
import { S as O, i as P, s as Q, a as V, r as X, c as H, f as v, t as _, d as Y, g as J, e as c, j as I, o as A, b as $, q as T, z as Z, I as F, m as D, p, A as x, K as ee, k as M, h as te } from "../../../index.164f1850.js";
|
|
2
2
|
import ie from "../../../shared-utils/uuid.js";
|
|
3
3
|
import "../Common/Text.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "../../utils/constants.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import ne from "../Common/Shadow.js";
|
|
7
|
+
import se from "../Common/Audio.js";
|
|
8
|
+
import oe from "../Common/Line/Straight.js";
|
|
9
9
|
import le from "../Common/MultiLineText.js";
|
|
10
10
|
import "../../../shared-utils/isNil.js";
|
|
11
11
|
import "../../utils/search.js";
|
|
@@ -19,124 +19,122 @@ function re(e) {
|
|
|
19
19
|
}
|
|
20
20
|
function G(e) {
|
|
21
21
|
var R, W, j, K;
|
|
22
|
-
let
|
|
23
|
-
return
|
|
22
|
+
let s, o, i, n, l, h, a, d, u, f, k, g, m, q, w, U, C;
|
|
23
|
+
return o = new ne({
|
|
24
24
|
props: {
|
|
25
|
-
visible: e[
|
|
26
|
-
left: e[
|
|
25
|
+
visible: e[5],
|
|
26
|
+
left: e[2] / 2 + "px",
|
|
27
27
|
bottom: 12,
|
|
28
28
|
width: 2,
|
|
29
29
|
blurRadius: 120,
|
|
30
30
|
spreadRadius: 60
|
|
31
31
|
}
|
|
32
|
-
}), l = new
|
|
32
|
+
}), l = new oe({
|
|
33
33
|
props: {
|
|
34
|
-
unfolded: e[
|
|
34
|
+
unfolded: e[5],
|
|
35
35
|
duration: 1e3,
|
|
36
|
-
outDelay: e[
|
|
36
|
+
outDelay: e[4] + 20 * Math.min((W = (R = e[3][0]) == null ? void 0 : R.content.length) != null ? W : 10, 15)
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
38
|
+
}), f = new se({
|
|
39
39
|
props: {
|
|
40
|
-
unfolded: e[
|
|
41
|
-
|
|
42
|
-
url: e[1].data.audioUrl,
|
|
40
|
+
unfolded: e[5],
|
|
41
|
+
url: e[0].data.audioUrl,
|
|
43
42
|
duration: 1e3,
|
|
44
|
-
outDelay: 20 * Math.min((K = (j = e[
|
|
45
|
-
hooksInfo: { tag: e[
|
|
43
|
+
outDelay: 20 * Math.min((K = (j = e[3][0]) == null ? void 0 : j.content.length) != null ? K : 10, 15),
|
|
44
|
+
hooksInfo: { tag: e[0] }
|
|
46
45
|
}
|
|
47
|
-
}),
|
|
46
|
+
}), m = new le({
|
|
48
47
|
props: {
|
|
49
|
-
visible: e[
|
|
50
|
-
textUnfolded: e[
|
|
51
|
-
textItems: e[
|
|
48
|
+
visible: e[5],
|
|
49
|
+
textUnfolded: e[1],
|
|
50
|
+
textItems: e[3]
|
|
52
51
|
}
|
|
53
52
|
}), {
|
|
54
53
|
c() {
|
|
55
|
-
|
|
54
|
+
s = c("div"), I(o.$$.fragment), i = A(), n = c("div"), I(l.$$.fragment), h = A(), a = c("div"), d = c("div"), u = c("div"), I(f.$$.fragment), k = A(), g = c("div"), I(m.$$.fragment), $(n, "class", "line svelte-4r8s18"), T(n, "width", e[2] + "px"), $(u, "class", "audio-icon svelte-4r8s18"), T(g, "display", "inline-block"), $(d, "class", "wrapper svelte-4r8s18"), $(a, "class", "content svelte-4r8s18"), Z(() => e[9].call(a)), $(s, "class", "audio-tag svelte-4r8s18"), F(s, "unfolded", e[5]);
|
|
56
55
|
},
|
|
57
56
|
m(t, r) {
|
|
58
|
-
H(t,
|
|
57
|
+
H(t, s, r), D(o, s, null), p(s, i), p(s, n), D(l, n, null), p(s, h), p(s, a), p(a, d), p(d, u), D(f, u, null), p(d, k), p(d, g), D(m, g, null), q = x(a, e[9].bind(a)), w = !0, U || (C = ee(g, "click", e[6]), U = !0);
|
|
59
58
|
},
|
|
60
59
|
p(t, r) {
|
|
61
60
|
var L, N, B, E;
|
|
62
|
-
const
|
|
63
|
-
r &
|
|
64
|
-
const
|
|
65
|
-
r &
|
|
66
|
-
const
|
|
67
|
-
r &
|
|
68
|
-
const
|
|
69
|
-
r &
|
|
61
|
+
const S = {};
|
|
62
|
+
r & 32 && (S.visible = t[5]), r & 4 && (S.left = t[2] / 2 + "px"), o.$set(S);
|
|
63
|
+
const y = {};
|
|
64
|
+
r & 32 && (y.unfolded = t[5]), r & 24 && (y.outDelay = t[4] + 20 * Math.min((N = (L = t[3][0]) == null ? void 0 : L.content.length) != null ? N : 10, 15)), l.$set(y), r & 4 && T(n, "width", t[2] + "px");
|
|
65
|
+
const b = {};
|
|
66
|
+
r & 32 && (b.unfolded = t[5]), r & 1 && (b.url = t[0].data.audioUrl), r & 8 && (b.outDelay = 20 * Math.min((E = (B = t[3][0]) == null ? void 0 : B.content.length) != null ? E : 10, 15)), r & 1 && (b.hooksInfo = { tag: t[0] }), f.$set(b);
|
|
67
|
+
const z = {};
|
|
68
|
+
r & 32 && (z.visible = t[5]), r & 2 && (z.textUnfolded = t[1]), r & 8 && (z.textItems = t[3]), m.$set(z), (!w || r & 32) && F(s, "unfolded", t[5]);
|
|
70
69
|
},
|
|
71
70
|
i(t) {
|
|
72
|
-
|
|
71
|
+
w || (v(o.$$.fragment, t), v(l.$$.fragment, t), v(f.$$.fragment, t), v(m.$$.fragment, t), w = !0);
|
|
73
72
|
},
|
|
74
73
|
o(t) {
|
|
75
|
-
|
|
74
|
+
_(o.$$.fragment, t), _(l.$$.fragment, t), _(f.$$.fragment, t), _(m.$$.fragment, t), w = !1;
|
|
76
75
|
},
|
|
77
76
|
d(t) {
|
|
78
|
-
t && J(
|
|
77
|
+
t && J(s), M(o), M(l), M(f), M(m), q(), U = !1, C();
|
|
79
78
|
}
|
|
80
79
|
};
|
|
81
80
|
}
|
|
82
81
|
function ae(e) {
|
|
83
|
-
let
|
|
82
|
+
let s, o, i = e[0].state && G(e);
|
|
84
83
|
return {
|
|
85
84
|
c() {
|
|
86
|
-
i && i.c(),
|
|
85
|
+
i && i.c(), s = X();
|
|
87
86
|
},
|
|
88
|
-
m(
|
|
89
|
-
i && i.m(
|
|
87
|
+
m(n, l) {
|
|
88
|
+
i && i.m(n, l), H(n, s, l), o = !0;
|
|
90
89
|
},
|
|
91
|
-
p(
|
|
92
|
-
|
|
90
|
+
p(n, [l]) {
|
|
91
|
+
n[0].state ? i ? (i.p(n, l), l & 1 && v(i, 1)) : (i = G(n), i.c(), v(i, 1), i.m(s.parentNode, s)) : i && (te(), _(i, 1, 1, () => {
|
|
93
92
|
i = null;
|
|
94
93
|
}), Y());
|
|
95
94
|
},
|
|
96
|
-
i(
|
|
97
|
-
|
|
95
|
+
i(n) {
|
|
96
|
+
o || (v(i), o = !0);
|
|
98
97
|
},
|
|
99
|
-
o(
|
|
100
|
-
|
|
98
|
+
o(n) {
|
|
99
|
+
_(i), o = !1;
|
|
101
100
|
},
|
|
102
|
-
d(
|
|
103
|
-
i && i.d(
|
|
101
|
+
d(n) {
|
|
102
|
+
i && i.d(n), n && J(s);
|
|
104
103
|
}
|
|
105
104
|
};
|
|
106
105
|
}
|
|
107
|
-
function de(e,
|
|
108
|
-
let i,
|
|
106
|
+
function de(e, s, o) {
|
|
107
|
+
let i, n, l;
|
|
109
108
|
var h;
|
|
110
|
-
let {
|
|
111
|
-
function
|
|
112
|
-
|
|
109
|
+
let { tag: a } = s, d = !1, u, f = [];
|
|
110
|
+
function k() {
|
|
111
|
+
o(1, d = !d);
|
|
113
112
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
113
|
+
function g() {
|
|
114
|
+
u = this.clientWidth, o(2, u);
|
|
116
115
|
}
|
|
117
|
-
return e.$$set = (
|
|
118
|
-
"
|
|
116
|
+
return e.$$set = (m) => {
|
|
117
|
+
"tag" in m && o(0, a = m.tag);
|
|
119
118
|
}, e.$$.update = () => {
|
|
120
|
-
e.$$.dirty &
|
|
119
|
+
e.$$.dirty & 129 && o(5, i = !!(!(o(7, h = a.state) === null || h === void 0) && h.unfolded)), e.$$.dirty & 1 && o(8, n = a.data.text), e.$$.dirty & 256 && o(3, f = [{ id: ie(), content: n }]), e.$$.dirty & 2 && o(4, l = d ? 450 : 0);
|
|
121
120
|
}, [
|
|
122
|
-
f,
|
|
123
121
|
a,
|
|
124
|
-
m,
|
|
125
122
|
d,
|
|
126
|
-
|
|
123
|
+
u,
|
|
124
|
+
f,
|
|
127
125
|
l,
|
|
128
126
|
i,
|
|
129
|
-
|
|
127
|
+
k,
|
|
130
128
|
h,
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
n,
|
|
130
|
+
g
|
|
133
131
|
];
|
|
134
132
|
}
|
|
135
|
-
class
|
|
136
|
-
constructor(
|
|
137
|
-
super(), P(this,
|
|
133
|
+
class Me extends O {
|
|
134
|
+
constructor(s) {
|
|
135
|
+
super(), P(this, s, de, ae, Q, { tag: 0 }, re);
|
|
138
136
|
}
|
|
139
137
|
}
|
|
140
138
|
export {
|
|
141
|
-
|
|
139
|
+
Me as default
|
|
142
140
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as
|
|
1
|
+
import { S as q, i as Y, s as z, a as A, r as R, c as h, f as d, t as c, d as j, g as b, j as v, o as y, e as C, b as N, m as w, h as D, B as E, C as F, k as $ } from "../../../index.164f1850.js";
|
|
2
2
|
import G from "../../../shared-utils/uuid.js";
|
|
3
3
|
import H from "../Common/Text.js";
|
|
4
4
|
import J from "../Common/Line/Polyline.js";
|
|
@@ -13,121 +13,122 @@ import "../../../index.6a0eead1.js";
|
|
|
13
13
|
import "../../utils/noTypecheck.js";
|
|
14
14
|
import "../Common/MediaItem.js";
|
|
15
15
|
import "../../Assets/Icon.js";
|
|
16
|
-
function O(
|
|
17
|
-
A(
|
|
16
|
+
function O(f) {
|
|
17
|
+
A(f, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
|
|
18
18
|
}
|
|
19
|
-
function T(
|
|
20
|
-
const e =
|
|
21
|
-
return e[8] =
|
|
19
|
+
function T(f, i, o) {
|
|
20
|
+
const e = f.slice();
|
|
21
|
+
return e[8] = i[o].id, e[1] = i[o].content, e;
|
|
22
22
|
}
|
|
23
|
-
function B(
|
|
24
|
-
let
|
|
25
|
-
|
|
23
|
+
function B(f) {
|
|
24
|
+
let i, o, e, l, a, r = [], u = /* @__PURE__ */ new Map(), p, m, k;
|
|
25
|
+
i = new L({
|
|
26
26
|
props: {
|
|
27
|
-
visible:
|
|
27
|
+
visible: f[4],
|
|
28
28
|
left: 61,
|
|
29
29
|
bottom: 57,
|
|
30
30
|
width: 2,
|
|
31
31
|
blurRadius: 150,
|
|
32
32
|
spreadRadius: 75
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
34
|
+
}), l = new J({
|
|
35
35
|
props: {
|
|
36
|
-
unfolded:
|
|
36
|
+
unfolded: f[4],
|
|
37
37
|
duration: 1e3,
|
|
38
38
|
outDelay: 400
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
let g =
|
|
41
|
+
let g = f[2];
|
|
42
42
|
const I = (t) => t[8];
|
|
43
43
|
for (let t = 0; t < g.length; t += 1) {
|
|
44
|
-
let n = T(
|
|
45
|
-
|
|
44
|
+
let n = T(f, g, t), _ = I(n);
|
|
45
|
+
u.set(_, r[t] = M(_, n));
|
|
46
46
|
}
|
|
47
|
-
let
|
|
47
|
+
let s = f[3] && P(f);
|
|
48
48
|
return {
|
|
49
49
|
c() {
|
|
50
|
-
|
|
51
|
-
for (let t = 0; t <
|
|
52
|
-
|
|
53
|
-
p =
|
|
50
|
+
v(i.$$.fragment), o = y(), e = C("div"), v(l.$$.fragment), a = y();
|
|
51
|
+
for (let t = 0; t < r.length; t += 1)
|
|
52
|
+
r[t].c();
|
|
53
|
+
p = y(), s && s.c(), m = R(), N(e, "class", "line svelte-1f7m1lj");
|
|
54
54
|
},
|
|
55
55
|
m(t, n) {
|
|
56
|
-
|
|
57
|
-
for (let _ = 0; _ <
|
|
58
|
-
|
|
59
|
-
h(t, p, n),
|
|
56
|
+
w(i, t, n), h(t, o, n), h(t, e, n), w(l, e, null), h(t, a, n);
|
|
57
|
+
for (let _ = 0; _ < r.length; _ += 1)
|
|
58
|
+
r[_].m(t, n);
|
|
59
|
+
h(t, p, n), s && s.m(t, n), h(t, m, n), k = !0;
|
|
60
60
|
},
|
|
61
61
|
p(t, n) {
|
|
62
62
|
const _ = {};
|
|
63
|
-
n & 16 && (_.visible = t[4]),
|
|
63
|
+
n & 16 && (_.visible = t[4]), i.$set(_);
|
|
64
64
|
const S = {};
|
|
65
|
-
n & 16 && (S.unfolded = t[4]),
|
|
66
|
-
|
|
67
|
-
}),
|
|
65
|
+
n & 16 && (S.unfolded = t[4]), l.$set(S), n & 20 && (g = t[2], D(), r = E(r, n, I, 1, t, g, u, p.parentNode, F, M, p, T), j()), t[3] ? s ? (s.p(t, n), n & 8 && d(s, 1)) : (s = P(t), s.c(), d(s, 1), s.m(m.parentNode, m)) : s && (D(), c(s, 1, 1, () => {
|
|
66
|
+
s = null;
|
|
67
|
+
}), j());
|
|
68
68
|
},
|
|
69
69
|
i(t) {
|
|
70
|
-
if (!
|
|
71
|
-
d(
|
|
70
|
+
if (!k) {
|
|
71
|
+
d(i.$$.fragment, t), d(l.$$.fragment, t);
|
|
72
72
|
for (let n = 0; n < g.length; n += 1)
|
|
73
|
-
d(
|
|
74
|
-
d(
|
|
73
|
+
d(r[n]);
|
|
74
|
+
d(s), k = !0;
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
o(t) {
|
|
78
|
-
c(
|
|
79
|
-
for (let n = 0; n <
|
|
80
|
-
c(
|
|
81
|
-
c(
|
|
78
|
+
c(i.$$.fragment, t), c(l.$$.fragment, t);
|
|
79
|
+
for (let n = 0; n < r.length; n += 1)
|
|
80
|
+
c(r[n]);
|
|
81
|
+
c(s), k = !1;
|
|
82
82
|
},
|
|
83
83
|
d(t) {
|
|
84
|
-
|
|
85
|
-
for (let n = 0; n <
|
|
86
|
-
|
|
87
|
-
t &&
|
|
84
|
+
$(i, t), t && b(o), t && b(e), $(l), t && b(a);
|
|
85
|
+
for (let n = 0; n < r.length; n += 1)
|
|
86
|
+
r[n].d(t);
|
|
87
|
+
t && b(p), s && s.d(t), t && b(m);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
function M(
|
|
92
|
-
let
|
|
91
|
+
function M(f, i) {
|
|
92
|
+
let o, e, l;
|
|
93
93
|
return e = new H({
|
|
94
94
|
props: {
|
|
95
|
-
unfolded:
|
|
96
|
-
content:
|
|
95
|
+
unfolded: i[4],
|
|
96
|
+
content: i[1],
|
|
97
97
|
inDelay: 500
|
|
98
98
|
}
|
|
99
99
|
}), {
|
|
100
|
-
key:
|
|
100
|
+
key: f,
|
|
101
101
|
first: null,
|
|
102
102
|
c() {
|
|
103
|
-
|
|
103
|
+
o = C("div"), v(e.$$.fragment), N(o, "class", "text svelte-1f7m1lj"), this.first = o;
|
|
104
104
|
},
|
|
105
|
-
m(a,
|
|
106
|
-
h(a,
|
|
105
|
+
m(a, r) {
|
|
106
|
+
h(a, o, r), w(e, o, null), l = !0;
|
|
107
107
|
},
|
|
108
|
-
p(a,
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
108
|
+
p(a, r) {
|
|
109
|
+
i = a;
|
|
110
|
+
const u = {};
|
|
111
|
+
r & 16 && (u.unfolded = i[4]), r & 4 && (u.content = i[1]), e.$set(u);
|
|
112
112
|
},
|
|
113
113
|
i(a) {
|
|
114
|
-
|
|
114
|
+
l || (d(e.$$.fragment, a), l = !0);
|
|
115
115
|
},
|
|
116
116
|
o(a) {
|
|
117
|
-
c(e.$$.fragment, a),
|
|
117
|
+
c(e.$$.fragment, a), l = !1;
|
|
118
118
|
},
|
|
119
119
|
d(a) {
|
|
120
|
-
a &&
|
|
120
|
+
a && b(o), $(e);
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
function P(
|
|
125
|
-
let
|
|
126
|
-
return
|
|
124
|
+
function P(f) {
|
|
125
|
+
let i, o, e;
|
|
126
|
+
return o = new K({
|
|
127
127
|
props: {
|
|
128
128
|
autoplayConfig: { autoplay: !1 },
|
|
129
|
-
unfolded:
|
|
130
|
-
mediaData:
|
|
129
|
+
unfolded: f[4],
|
|
130
|
+
mediaData: f[3],
|
|
131
|
+
tag: f[0],
|
|
131
132
|
enableCarousel: !1,
|
|
132
133
|
canPlay: !1,
|
|
133
134
|
playButtonIfNeed: "small",
|
|
@@ -136,66 +137,66 @@ function P(r) {
|
|
|
136
137
|
}
|
|
137
138
|
}), {
|
|
138
139
|
c() {
|
|
139
|
-
|
|
140
|
+
i = C("div"), v(o.$$.fragment), N(i, "class", "media-wrapper svelte-1f7m1lj");
|
|
140
141
|
},
|
|
141
|
-
m(
|
|
142
|
-
h(
|
|
142
|
+
m(l, a) {
|
|
143
|
+
h(l, i, a), w(o, i, null), e = !0;
|
|
143
144
|
},
|
|
144
|
-
p(
|
|
145
|
-
const
|
|
146
|
-
a & 16 && (
|
|
145
|
+
p(l, a) {
|
|
146
|
+
const r = {};
|
|
147
|
+
a & 16 && (r.unfolded = l[4]), a & 8 && (r.mediaData = l[3]), a & 1 && (r.tag = l[0]), o.$set(r);
|
|
147
148
|
},
|
|
148
|
-
i(
|
|
149
|
-
e || (d(
|
|
149
|
+
i(l) {
|
|
150
|
+
e || (d(o.$$.fragment, l), e = !0);
|
|
150
151
|
},
|
|
151
|
-
o(
|
|
152
|
-
c(
|
|
152
|
+
o(l) {
|
|
153
|
+
c(o.$$.fragment, l), e = !1;
|
|
153
154
|
},
|
|
154
|
-
d(
|
|
155
|
-
|
|
155
|
+
d(l) {
|
|
156
|
+
l && b(i), $(o);
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
159
|
}
|
|
159
|
-
function Q(
|
|
160
|
-
let
|
|
160
|
+
function Q(f) {
|
|
161
|
+
let i, o, e = f[0].state && B(f);
|
|
161
162
|
return {
|
|
162
163
|
c() {
|
|
163
|
-
e && e.c(),
|
|
164
|
+
e && e.c(), i = R();
|
|
164
165
|
},
|
|
165
|
-
m(
|
|
166
|
-
e && e.m(
|
|
166
|
+
m(l, a) {
|
|
167
|
+
e && e.m(l, a), h(l, i, a), o = !0;
|
|
167
168
|
},
|
|
168
|
-
p(
|
|
169
|
-
|
|
169
|
+
p(l, [a]) {
|
|
170
|
+
l[0].state ? e ? (e.p(l, a), a & 1 && d(e, 1)) : (e = B(l), e.c(), d(e, 1), e.m(i.parentNode, i)) : e && (D(), c(e, 1, 1, () => {
|
|
170
171
|
e = null;
|
|
171
|
-
}),
|
|
172
|
+
}), j());
|
|
172
173
|
},
|
|
173
|
-
i(
|
|
174
|
-
|
|
174
|
+
i(l) {
|
|
175
|
+
o || (d(e), o = !0);
|
|
175
176
|
},
|
|
176
|
-
o(
|
|
177
|
-
c(e),
|
|
177
|
+
o(l) {
|
|
178
|
+
c(e), o = !1;
|
|
178
179
|
},
|
|
179
|
-
d(
|
|
180
|
-
e && e.d(
|
|
180
|
+
d(l) {
|
|
181
|
+
e && e.d(l), l && b(i);
|
|
181
182
|
}
|
|
182
183
|
};
|
|
183
184
|
}
|
|
184
|
-
function U(
|
|
185
|
-
let e,
|
|
186
|
-
var
|
|
187
|
-
let { tag:
|
|
188
|
-
return
|
|
189
|
-
"tag" in g &&
|
|
190
|
-
},
|
|
191
|
-
|
|
192
|
-
}, [
|
|
185
|
+
function U(f, i, o) {
|
|
186
|
+
let e, l, a;
|
|
187
|
+
var r, u, p;
|
|
188
|
+
let { tag: m } = i, k;
|
|
189
|
+
return f.$$set = (g) => {
|
|
190
|
+
"tag" in g && o(0, m = g.tag);
|
|
191
|
+
}, f.$$.update = () => {
|
|
192
|
+
f.$$.dirty & 1 && o(4, e = m.state ? m.state.unfolded : !1), f.$$.dirty & 225 && o(1, l = (o(6, u = o(5, r = m.data.text) === null || r === void 0 ? void 0 : r.length) !== null && u !== void 0 ? u : 0) > 7 ? (o(7, p = m.data.text) === null || p === void 0 ? void 0 : p.substring(0, 6)) + "..." : m.data.text), f.$$.dirty & 1 && o(3, a = m.data.mediaData), f.$$.dirty & 2 && o(2, k = l ? [{ id: G(), content: l }] : []);
|
|
193
|
+
}, [m, l, k, a, e, r, u, p];
|
|
193
194
|
}
|
|
194
|
-
class
|
|
195
|
-
constructor(
|
|
196
|
-
super(),
|
|
195
|
+
class me extends q {
|
|
196
|
+
constructor(i) {
|
|
197
|
+
super(), Y(this, i, U, Q, z, { tag: 0 }, O);
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
200
|
export {
|
|
200
|
-
|
|
201
|
+
me as default
|
|
201
202
|
};
|
|
@@ -6,18 +6,20 @@ import "three";
|
|
|
6
6
|
import "../../utils/noTypecheck.js";
|
|
7
7
|
import "../Common/MediaItem.js";
|
|
8
8
|
import "../../Assets/Icon.js";
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
import "../../../shared-utils/isNil.js";
|
|
10
|
+
function S(a) {
|
|
11
|
+
h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
11
12
|
}
|
|
12
|
-
function c(
|
|
13
|
-
let n,
|
|
14
|
-
return
|
|
13
|
+
function c(a) {
|
|
14
|
+
let n, o, t;
|
|
15
|
+
return o = new P({
|
|
15
16
|
props: {
|
|
16
|
-
unfolded:
|
|
17
|
-
mediaData:
|
|
18
|
-
objectFit:
|
|
19
|
-
enableCarousel:
|
|
20
|
-
autoplayConfig:
|
|
17
|
+
unfolded: a[5],
|
|
18
|
+
mediaData: a[4],
|
|
19
|
+
objectFit: a[2],
|
|
20
|
+
enableCarousel: a[1],
|
|
21
|
+
autoplayConfig: a[3],
|
|
22
|
+
tag: a[0],
|
|
21
23
|
canPlay: !0,
|
|
22
24
|
playButtonIfNeed: "large",
|
|
23
25
|
inDelay: 500,
|
|
@@ -25,34 +27,34 @@ function c(o) {
|
|
|
25
27
|
}
|
|
26
28
|
}), {
|
|
27
29
|
c() {
|
|
28
|
-
n = k("div"), D(
|
|
30
|
+
n = k("div"), D(o.$$.fragment), v(n, "class", "media-wrapper svelte-10cw0el");
|
|
29
31
|
},
|
|
30
32
|
m(e, i) {
|
|
31
|
-
_(e, n, i), F(
|
|
33
|
+
_(e, n, i), F(o, n, null), t = !0;
|
|
32
34
|
},
|
|
33
35
|
p(e, i) {
|
|
34
|
-
const
|
|
35
|
-
i & 32 && (
|
|
36
|
+
const r = {};
|
|
37
|
+
i & 32 && (r.unfolded = e[5]), i & 16 && (r.mediaData = e[4]), i & 4 && (r.objectFit = e[2]), i & 2 && (r.enableCarousel = e[1]), i & 8 && (r.autoplayConfig = e[3]), i & 1 && (r.tag = e[0]), o.$set(r);
|
|
36
38
|
},
|
|
37
39
|
i(e) {
|
|
38
|
-
t || (f(
|
|
40
|
+
t || (f(o.$$.fragment, e), t = !0);
|
|
39
41
|
},
|
|
40
42
|
o(e) {
|
|
41
|
-
d(
|
|
43
|
+
d(o.$$.fragment, e), t = !1;
|
|
42
44
|
},
|
|
43
45
|
d(e) {
|
|
44
|
-
e && g(n), M(
|
|
46
|
+
e && g(n), M(o);
|
|
45
47
|
}
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
|
-
function q(
|
|
49
|
-
let n,
|
|
50
|
+
function q(a) {
|
|
51
|
+
let n, o, t = a[0].state && a[4] && c(a);
|
|
50
52
|
return {
|
|
51
53
|
c() {
|
|
52
54
|
t && t.c(), n = w();
|
|
53
55
|
},
|
|
54
56
|
m(e, i) {
|
|
55
|
-
t && t.m(e, i), _(e, n, i),
|
|
57
|
+
t && t.m(e, i), _(e, n, i), o = !0;
|
|
56
58
|
},
|
|
57
59
|
p(e, [i]) {
|
|
58
60
|
e[0].state && e[4] ? t ? (t.p(e, i), i & 17 && f(t, 1)) : (t = c(e), t.c(), f(t, 1), t.m(n.parentNode, n)) : t && (N(), d(t, 1, 1, () => {
|
|
@@ -60,34 +62,34 @@ function q(o) {
|
|
|
60
62
|
}), j());
|
|
61
63
|
},
|
|
62
64
|
i(e) {
|
|
63
|
-
|
|
65
|
+
o || (f(t), o = !0);
|
|
64
66
|
},
|
|
65
67
|
o(e) {
|
|
66
|
-
d(t),
|
|
68
|
+
d(t), o = !1;
|
|
67
69
|
},
|
|
68
70
|
d(e) {
|
|
69
71
|
t && t.d(e), e && g(n);
|
|
70
72
|
}
|
|
71
73
|
};
|
|
72
74
|
}
|
|
73
|
-
function B(
|
|
74
|
-
let t, e, i,
|
|
75
|
+
function B(a, n, o) {
|
|
76
|
+
let t, e, i, r, p;
|
|
75
77
|
var s, u;
|
|
76
|
-
let { tag:
|
|
77
|
-
return
|
|
78
|
-
"tag" in m &&
|
|
79
|
-
},
|
|
80
|
-
|
|
78
|
+
let { tag: l } = n;
|
|
79
|
+
return a.$$set = (m) => {
|
|
80
|
+
"tag" in m && o(0, l = m.tag);
|
|
81
|
+
}, a.$$.update = () => {
|
|
82
|
+
a.$$.dirty & 1 && o(5, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && o(4, e = l.data.mediaData), a.$$.dirty & 1 && o(1, i = l.data.enableCarousel), a.$$.dirty & 67 && o(3, r = o(6, s = l.data.autoplayConfig) !== null && s !== void 0 ? s : {
|
|
81
83
|
autoplay: i != null ? i : !0,
|
|
82
84
|
autoplayVideo: !0
|
|
83
|
-
}),
|
|
84
|
-
}, [
|
|
85
|
+
}), a.$$.dirty & 129 && o(2, p = o(7, u = l.data.objectFit) !== null && u !== void 0 ? u : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
86
|
+
}, [l, i, p, r, e, t, s, u];
|
|
85
87
|
}
|
|
86
|
-
class
|
|
88
|
+
class L extends b {
|
|
87
89
|
constructor(n) {
|
|
88
90
|
super(), y(this, n, B, q, C, { tag: 0 }, S);
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
export {
|
|
92
|
-
|
|
94
|
+
L as default
|
|
93
95
|
};
|