@qispace/vue3-player 0.4.17 → 0.4.18
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ue = (t, l, n) => (
|
|
4
|
-
import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as
|
|
5
|
-
import
|
|
6
|
-
import * as
|
|
7
|
-
import { Vector3 as
|
|
8
|
-
const
|
|
1
|
+
var Cn = Object.defineProperty;
|
|
2
|
+
var Sn = (t, l, n) => l in t ? Cn(t, l, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[l] = n;
|
|
3
|
+
var Ue = (t, l, n) => (Sn(t, typeof l != "symbol" ? l + "" : l, n), n);
|
|
4
|
+
import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as T, withCtx as v, createElementBlock as L, normalizeStyle as ae, renderSlot as K, ref as _, unref as m, watch as j, onMounted as Re, onBeforeUnmount as ot, createElementVNode as e, toRefs as Ce, nextTick as $e, inject as Ie, createVNode as y, mergeProps as Ee, toDisplayString as P, createTextVNode as le, Fragment as xe, renderList as Me, normalizeClass as me, pushScopeId as vt, popScopeId as mt, Transition as Ve, createCommentVNode as V, withDirectives as tt, vModelText as An, createStaticVNode as Yt, onBeforeUpdate as xn, withModifiers as In, provide as nt, vShow as rt, reactive as Ln, watchEffect as Ft, normalizeProps as En, guardReactiveProps as Mn } from "vue";
|
|
5
|
+
import ut from "axios";
|
|
6
|
+
import * as Fn from "@qispace/player-core";
|
|
7
|
+
import { Vector3 as Ke, Object3D as Vn, MathUtils as Dn } from "three";
|
|
8
|
+
const Bn = /* @__PURE__ */ J({
|
|
9
9
|
__name: "VFloatingCard",
|
|
10
10
|
props: {
|
|
11
11
|
pos: {},
|
|
@@ -19,14 +19,14 @@ const Dn = /* @__PURE__ */ J({
|
|
|
19
19
|
});
|
|
20
20
|
return (o, s) => {
|
|
21
21
|
const r = E("v-dialog"), p = E("v-fade-transition");
|
|
22
|
-
return u(),
|
|
22
|
+
return u(), T(p, {
|
|
23
23
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
24
24
|
}, {
|
|
25
25
|
default: v(() => [
|
|
26
26
|
o.isHoverable ? (u(), L("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "floating-card",
|
|
29
|
-
style:
|
|
29
|
+
style: ae({
|
|
30
30
|
left: `${o.pos.x}px`,
|
|
31
31
|
top: `${o.pos.y}px`,
|
|
32
32
|
pointerEvents: "none",
|
|
@@ -34,7 +34,7 @@ const Dn = /* @__PURE__ */ J({
|
|
|
34
34
|
})
|
|
35
35
|
}, [
|
|
36
36
|
K(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
37
|
-
], 4)) : (u(),
|
|
37
|
+
], 4)) : (u(), T(r, {
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
40
40
|
width: "auto",
|
|
@@ -50,12 +50,12 @@ const Dn = /* @__PURE__ */ J({
|
|
|
50
50
|
}, 8, ["origin"]);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), ne = (t, l) => {
|
|
54
54
|
const n = t.__vccOpts || t;
|
|
55
55
|
for (const [a, i] of l)
|
|
56
56
|
n[a] = i;
|
|
57
57
|
return n;
|
|
58
|
-
},
|
|
58
|
+
}, Tn = /* @__PURE__ */ ne(Bn, [["__scopeId", "data-v-7d5e6067"]]), On = /* @__PURE__ */ J({
|
|
59
59
|
__name: "VHoverProbe",
|
|
60
60
|
setup(t, { expose: l }) {
|
|
61
61
|
const n = _(), a = D(() => window.getComputedStyle(n.value).display === "none");
|
|
@@ -67,7 +67,7 @@ const Dn = /* @__PURE__ */ J({
|
|
|
67
67
|
class: "hover-check"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), $n = /* @__PURE__ */ ne(On, [["__scopeId", "data-v-eb9b348d"]]), Rn = "data:image/png;base64,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", Ht = /* @__PURE__ */ J({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
@@ -79,13 +79,13 @@ const Dn = /* @__PURE__ */ J({
|
|
|
79
79
|
}));
|
|
80
80
|
return (a, i) => {
|
|
81
81
|
const o = E("v-img");
|
|
82
|
-
return u(),
|
|
83
|
-
src: m(
|
|
84
|
-
style:
|
|
82
|
+
return u(), T(o, {
|
|
83
|
+
src: m(Rn),
|
|
84
|
+
style: ae(n.value)
|
|
85
85
|
}, null, 8, ["src", "style"]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), Yn = /* @__PURE__ */ J({
|
|
89
89
|
__name: "VZoomBox",
|
|
90
90
|
props: {
|
|
91
91
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -99,38 +99,38 @@ const Dn = /* @__PURE__ */ J({
|
|
|
99
99
|
setup(t, { expose: l, emit: n }) {
|
|
100
100
|
const a = t, i = n;
|
|
101
101
|
l({
|
|
102
|
-
adjustZoom:
|
|
102
|
+
adjustZoom: se
|
|
103
103
|
});
|
|
104
104
|
const o = _(100), s = _(0), r = _(0), p = _(!1), h = _(!1), g = _(void 0), w = _(!1), k = _(), F = D(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = D(() => o.value / 100), d = D(() => a.maxScale * 100);
|
|
105
|
-
|
|
105
|
+
j(
|
|
106
106
|
[C, s, r],
|
|
107
107
|
() => {
|
|
108
108
|
H();
|
|
109
109
|
},
|
|
110
110
|
{ immediate: !0 }
|
|
111
|
-
),
|
|
111
|
+
), j(
|
|
112
112
|
() => a.desktop,
|
|
113
113
|
() => {
|
|
114
114
|
a.desktop ? f() : I();
|
|
115
115
|
}
|
|
116
|
-
),
|
|
116
|
+
), j(
|
|
117
117
|
() => a.mobile,
|
|
118
118
|
() => {
|
|
119
119
|
a.mobile ? S() : A();
|
|
120
120
|
}
|
|
121
121
|
), Re(() => {
|
|
122
122
|
a.desktop && f(), a.mobile && S();
|
|
123
|
-
}),
|
|
123
|
+
}), ot(() => {
|
|
124
124
|
a.desktop && I(), a.mobile && A();
|
|
125
125
|
});
|
|
126
126
|
function f() {
|
|
127
127
|
k.value.addEventListener("wheel", R, {
|
|
128
128
|
capture: !0
|
|
129
|
-
}), k.value.addEventListener("mousedown",
|
|
129
|
+
}), k.value.addEventListener("mousedown", X, {
|
|
130
130
|
capture: !0
|
|
131
131
|
}), k.value.addEventListener("mousemove", $, {
|
|
132
132
|
capture: !0
|
|
133
|
-
}), window.addEventListener("mouseup",
|
|
133
|
+
}), window.addEventListener("mouseup", te, {
|
|
134
134
|
capture: !0
|
|
135
135
|
}), window.addEventListener("click", de, {
|
|
136
136
|
capture: !0
|
|
@@ -141,20 +141,20 @@ const Dn = /* @__PURE__ */ J({
|
|
|
141
141
|
capture: !0
|
|
142
142
|
}), k.value.addEventListener("touchmove", Se, {
|
|
143
143
|
capture: !0
|
|
144
|
-
}), window.addEventListener("touchend",
|
|
144
|
+
}), window.addEventListener("touchend", ye, {
|
|
145
145
|
capture: !0
|
|
146
|
-
}), window.addEventListener("touchcancel",
|
|
146
|
+
}), window.addEventListener("touchcancel", ye, {
|
|
147
147
|
capture: !0
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
function I() {
|
|
151
151
|
k.value.removeEventListener("wheel", R, {
|
|
152
152
|
capture: !0
|
|
153
|
-
}), k.value.removeEventListener("mousedown",
|
|
153
|
+
}), k.value.removeEventListener("mousedown", X, {
|
|
154
154
|
capture: !0
|
|
155
155
|
}), k.value.removeEventListener("mousemove", $, {
|
|
156
156
|
capture: !0
|
|
157
|
-
}), window.removeEventListener("mouseup",
|
|
157
|
+
}), window.removeEventListener("mouseup", te, {
|
|
158
158
|
capture: !0
|
|
159
159
|
}), window.removeEventListener("click", de, {
|
|
160
160
|
capture: !0
|
|
@@ -165,29 +165,29 @@ const Dn = /* @__PURE__ */ J({
|
|
|
165
165
|
capture: !0
|
|
166
166
|
}), k.value.removeEventListener("touchmove", Se, {
|
|
167
167
|
capture: !0
|
|
168
|
-
}), window.removeEventListener("touchend",
|
|
168
|
+
}), window.removeEventListener("touchend", ye, {
|
|
169
169
|
capture: !0
|
|
170
|
-
}), window.removeEventListener("touchcancel",
|
|
170
|
+
}), window.removeEventListener("touchcancel", ye, {
|
|
171
171
|
capture: !0
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
function R(M) {
|
|
175
|
-
const { x:
|
|
176
|
-
|
|
175
|
+
const { x: q, y: Q } = O(M);
|
|
176
|
+
se(-M.deltaY / 10, q, Q), M.preventDefault();
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function X(M) {
|
|
179
179
|
p.value = !0, w.value = !1, g.value = M;
|
|
180
180
|
}
|
|
181
181
|
function $(M) {
|
|
182
182
|
if (p.value) {
|
|
183
|
-
const { x:
|
|
184
|
-
x:
|
|
185
|
-
y:
|
|
183
|
+
const { x: q, y: Q } = O(M), { x: U, y: oe } = O(g.value), Z = {
|
|
184
|
+
x: q - U,
|
|
185
|
+
y: Q - oe
|
|
186
186
|
};
|
|
187
|
-
|
|
187
|
+
re(Z.x), N(Z.y), w.value = !0, g.value = M;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function te(M) {
|
|
191
191
|
p.value && w.value && a.consumeMouseUpWhenMoved && (M.preventDefault(), M.stopImmediatePropagation());
|
|
192
192
|
}
|
|
193
193
|
function de(M) {
|
|
@@ -198,52 +198,52 @@ const Dn = /* @__PURE__ */ J({
|
|
|
198
198
|
}
|
|
199
199
|
function Se(M) {
|
|
200
200
|
if (p.value) {
|
|
201
|
-
const { x:
|
|
201
|
+
const { x: q, y: Q } = O(M.touches[0]), { x: U, y: oe } = O(
|
|
202
202
|
g.value.touches[0]
|
|
203
|
-
),
|
|
204
|
-
x:
|
|
205
|
-
y:
|
|
203
|
+
), Z = {
|
|
204
|
+
x: q - U,
|
|
205
|
+
y: Q - oe
|
|
206
206
|
};
|
|
207
|
-
|
|
207
|
+
re(Z.x), N(Z.y);
|
|
208
208
|
} else if (h.value && M.touches.length === 2) {
|
|
209
|
-
const { x:
|
|
209
|
+
const { x: q, y: Q } = O(M.touches[0]), { x: U, y: oe } = O(
|
|
210
210
|
g.value.touches[0]
|
|
211
|
-
), { x:
|
|
211
|
+
), { x: Z, y: ie } = O(M.touches[1]), { x: W, y: pe } = O(
|
|
212
212
|
g.value.touches[1]
|
|
213
|
-
), he = Math.hypot(U -
|
|
214
|
-
|
|
213
|
+
), he = Math.hypot(U - W, oe - pe), ve = Math.hypot(q - Z, Q - ie), be = (Z + q) / 2, we = (ie + Q) / 2;
|
|
214
|
+
se(ve - he, be, we);
|
|
215
215
|
}
|
|
216
216
|
g.value = M;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function ye() {
|
|
219
219
|
p.value = !1, h.value = !1;
|
|
220
220
|
}
|
|
221
221
|
function O(M) {
|
|
222
|
-
const { left:
|
|
222
|
+
const { left: q, top: Q } = k.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
|
-
x: M.clientX -
|
|
225
|
-
y: M.clientY -
|
|
224
|
+
x: M.clientX - q,
|
|
225
|
+
y: M.clientY - Q
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const
|
|
228
|
+
function re(M) {
|
|
229
|
+
const q = k.value.clientWidth, Q = q * C.value;
|
|
230
230
|
s.value = Math.max(
|
|
231
231
|
Math.min(0, s.value + M),
|
|
232
|
-
-(
|
|
232
|
+
-(Q - q)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const
|
|
235
|
+
function N(M) {
|
|
236
|
+
const q = k.value.clientHeight, Q = q * C.value;
|
|
237
237
|
r.value = Math.max(
|
|
238
238
|
Math.min(0, r.value + M),
|
|
239
|
-
-(
|
|
239
|
+
-(Q - q)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
const U =
|
|
242
|
+
function se(M, q, Q) {
|
|
243
|
+
const U = q !== void 0 ? q : k.value.clientWidth / 2, oe = Q !== void 0 ? Q : k.value.clientHeight / 2, Z = k.value.clientWidth, ie = k.value.clientHeight, W = Z * C.value, pe = ie * C.value;
|
|
244
244
|
o.value = Math.min(Math.max(100, o.value + M), d.value);
|
|
245
|
-
const he =
|
|
246
|
-
s.value -= U /
|
|
245
|
+
const he = Z * C.value, ve = ie * C.value, be = he - W, we = ve - pe;
|
|
246
|
+
s.value -= U / Z * be, r.value -= oe / ie * we, re(0), N(0);
|
|
247
247
|
}
|
|
248
248
|
function H() {
|
|
249
249
|
i("update", {
|
|
@@ -253,71 +253,71 @@ const Dn = /* @__PURE__ */ J({
|
|
|
253
253
|
current: Math.min(Math.max(100, o.value), d.value),
|
|
254
254
|
min: 100,
|
|
255
255
|
max: d.value,
|
|
256
|
-
resolve: (M,
|
|
257
|
-
const
|
|
256
|
+
resolve: (M, q) => {
|
|
257
|
+
const Q = k.value.clientWidth, U = k.value.clientHeight, oe = s.value / -C.value, Z = r.value / -C.value, ie = oe + Q / C.value, W = Z + U / C.value, pe = M / Q * (ie - oe) + oe, he = q / U * (W - Z) + Z;
|
|
258
258
|
return { x: pe, y: he };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (M,
|
|
262
|
+
return (M, q) => (u(), L("div", {
|
|
263
263
|
ref_key: "box",
|
|
264
264
|
ref: k,
|
|
265
265
|
class: "zoom-box-container",
|
|
266
|
-
style:
|
|
266
|
+
style: ae({ position: a.position })
|
|
267
267
|
}, [
|
|
268
268
|
e("div", {
|
|
269
|
-
style:
|
|
269
|
+
style: ae({ "transform-origin": "top left", transform: F.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
272
|
K(M.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), Hn = /* @__PURE__ */ ne(Yn, [["__scopeId", "data-v-3e334a46"]]);
|
|
277
277
|
var qe = {};
|
|
278
278
|
Object.defineProperty(qe, "__esModule", {
|
|
279
279
|
value: !0
|
|
280
280
|
});
|
|
281
|
-
var
|
|
281
|
+
var Un = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
282
282
|
return typeof t;
|
|
283
283
|
} : function(t) {
|
|
284
284
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
285
|
-
},
|
|
286
|
-
qe.isWebWorker =
|
|
287
|
-
qe.isNode =
|
|
288
|
-
qe.isJsDom =
|
|
289
|
-
qe.isDeno =
|
|
290
|
-
function
|
|
285
|
+
}, zn = typeof window < "u" && typeof window.document < "u", jn = typeof process < "u" && process.versions != null && process.versions.node != null, Wn = (typeof self > "u" ? "undefined" : Un(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Pn = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), Nn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", Qn = qe.isBrowser = zn;
|
|
286
|
+
qe.isWebWorker = Wn;
|
|
287
|
+
qe.isNode = jn;
|
|
288
|
+
qe.isJsDom = Pn;
|
|
289
|
+
qe.isDeno = Nn;
|
|
290
|
+
function _e(t, l) {
|
|
291
291
|
return typeof t == "string" ? `${t}${l}` : t(l);
|
|
292
292
|
}
|
|
293
|
-
const
|
|
293
|
+
const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
|
|
294
294
|
class: "player-control",
|
|
295
295
|
id: "controls-top-left"
|
|
296
|
-
},
|
|
296
|
+
}, Xn = {
|
|
297
297
|
class: "player-control",
|
|
298
298
|
id: "controls-top-center"
|
|
299
299
|
}, Gn = {
|
|
300
300
|
class: "player-control",
|
|
301
301
|
id: "controls-top-right"
|
|
302
|
-
},
|
|
302
|
+
}, Kn = {
|
|
303
303
|
class: "player-control",
|
|
304
304
|
id: "controls-center-left"
|
|
305
|
-
},
|
|
305
|
+
}, eo = {
|
|
306
306
|
class: "player-control",
|
|
307
307
|
id: "controls-center-center"
|
|
308
|
-
},
|
|
308
|
+
}, to = {
|
|
309
309
|
class: "player-control",
|
|
310
310
|
id: "controls-center-right"
|
|
311
|
-
},
|
|
311
|
+
}, no = {
|
|
312
312
|
class: "player-control",
|
|
313
313
|
id: "controls-bottom-left"
|
|
314
|
-
},
|
|
314
|
+
}, oo = {
|
|
315
315
|
class: "player-control",
|
|
316
316
|
id: "controls-bottom-center"
|
|
317
|
-
},
|
|
317
|
+
}, ao = {
|
|
318
318
|
class: "player-control",
|
|
319
319
|
id: "controls-bottom-right"
|
|
320
|
-
},
|
|
320
|
+
}, lo = { id: "main-canvas" }, so = /* @__PURE__ */ J({
|
|
321
321
|
__name: "VPlayer",
|
|
322
322
|
props: {
|
|
323
323
|
cdnFileResolver: {},
|
|
@@ -329,7 +329,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
329
329
|
},
|
|
330
330
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "sunsimCallback", "playerApiCallback", "newSizeCallback", "frontendMarkersUpdate"],
|
|
331
331
|
setup(t, { expose: l, emit: n }) {
|
|
332
|
-
const a =
|
|
332
|
+
const a = Fn.PlayerV2;
|
|
333
333
|
l({
|
|
334
334
|
updateFrontendMarkers: (A) => {
|
|
335
335
|
k.value && f.value ? k.value.updateFrontendMarkers(A) : console.warn(
|
|
@@ -345,24 +345,24 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
345
345
|
showStaticImage: h,
|
|
346
346
|
mouseSensitivity: g
|
|
347
347
|
} = Ce(i), w = n, k = _(), F = _(p.value), C = _(0), d = _(0), f = _(!1);
|
|
348
|
-
|
|
348
|
+
j(p, () => {
|
|
349
349
|
F.value = p.value;
|
|
350
|
-
}),
|
|
350
|
+
}), j([s, r], async () => {
|
|
351
351
|
k.value && await k.value.loadInterior(
|
|
352
|
-
(A) =>
|
|
352
|
+
(A) => _e(
|
|
353
353
|
o.value,
|
|
354
354
|
`/${s.value}/${r.value}${A}`
|
|
355
355
|
),
|
|
356
356
|
F.value,
|
|
357
357
|
!1
|
|
358
358
|
);
|
|
359
|
-
}),
|
|
359
|
+
}), j(
|
|
360
360
|
F,
|
|
361
361
|
() => {
|
|
362
362
|
k.value && k.value.goToCamera(F.value, !0), w("newCameraCallback", F.value);
|
|
363
363
|
},
|
|
364
364
|
{ immediate: !0 }
|
|
365
|
-
),
|
|
365
|
+
), j(
|
|
366
366
|
[o],
|
|
367
367
|
async () => {
|
|
368
368
|
await I(), $e(async () => {
|
|
@@ -370,7 +370,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
370
370
|
});
|
|
371
371
|
},
|
|
372
372
|
{ immediate: !0, deep: !0 }
|
|
373
|
-
),
|
|
373
|
+
), j(k, () => {
|
|
374
374
|
if (k.value) {
|
|
375
375
|
w("playerApiCallback", k.value);
|
|
376
376
|
const A = k.value.getCurrentCamera();
|
|
@@ -379,7 +379,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
379
379
|
});
|
|
380
380
|
async function S() {
|
|
381
381
|
I();
|
|
382
|
-
const
|
|
382
|
+
const te = {
|
|
383
383
|
initialized: () => {
|
|
384
384
|
k.value = a.Main.getPlayerAPI();
|
|
385
385
|
const Y = k.value.getCurrentCamera();
|
|
@@ -399,15 +399,15 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
399
399
|
w("frontendMarkersUpdate", Y);
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
if (!
|
|
402
|
+
if (!Qn)
|
|
403
403
|
return;
|
|
404
404
|
const de = await new a.Main(
|
|
405
|
-
(Y) =>
|
|
405
|
+
(Y) => _e(
|
|
406
406
|
o.value,
|
|
407
407
|
`/${s.value}/${r.value}${Y}`
|
|
408
408
|
),
|
|
409
409
|
"qpc",
|
|
410
|
-
|
|
410
|
+
te,
|
|
411
411
|
void 0,
|
|
412
412
|
F.value
|
|
413
413
|
);
|
|
@@ -419,52 +419,52 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
419
419
|
async function I() {
|
|
420
420
|
k.value && (await k.value.destroy(), k.value = void 0);
|
|
421
421
|
}
|
|
422
|
-
return
|
|
422
|
+
return ot(() => {
|
|
423
423
|
I();
|
|
424
|
-
}), (A, R) => (u(), L("div",
|
|
425
|
-
e("div",
|
|
424
|
+
}), (A, R) => (u(), L("div", Zn, [
|
|
425
|
+
e("div", qn, [
|
|
426
426
|
K(A.$slots, "slideshow-image", {}, void 0, !0),
|
|
427
|
-
e("div",
|
|
427
|
+
e("div", Jn, [
|
|
428
428
|
K(A.$slots, "top-left", {}, void 0, !0)
|
|
429
429
|
]),
|
|
430
|
-
e("div",
|
|
430
|
+
e("div", Xn, [
|
|
431
431
|
K(A.$slots, "top-center", {}, void 0, !0)
|
|
432
432
|
]),
|
|
433
433
|
e("div", Gn, [
|
|
434
434
|
K(A.$slots, "top-right", {}, void 0, !0)
|
|
435
435
|
]),
|
|
436
|
-
e("div",
|
|
436
|
+
e("div", Kn, [
|
|
437
437
|
K(A.$slots, "center-left", {}, void 0, !0)
|
|
438
438
|
]),
|
|
439
|
-
e("div",
|
|
439
|
+
e("div", eo, [
|
|
440
440
|
K(A.$slots, "center-center", {}, void 0, !0)
|
|
441
441
|
]),
|
|
442
|
-
e("div",
|
|
442
|
+
e("div", to, [
|
|
443
443
|
K(A.$slots, "center-right", {}, void 0, !0)
|
|
444
444
|
]),
|
|
445
|
-
e("div",
|
|
445
|
+
e("div", no, [
|
|
446
446
|
K(A.$slots, "bottom-left", {}, void 0, !0)
|
|
447
447
|
]),
|
|
448
|
-
e("div",
|
|
448
|
+
e("div", oo, [
|
|
449
449
|
K(A.$slots, "bottom-center", {}, void 0, !0)
|
|
450
450
|
]),
|
|
451
|
-
e("div",
|
|
451
|
+
e("div", ao, [
|
|
452
452
|
K(A.$slots, "bottom-right", {}, void 0, !0)
|
|
453
453
|
]),
|
|
454
|
-
e("div",
|
|
454
|
+
e("div", lo, [
|
|
455
455
|
e("canvas", {
|
|
456
456
|
id: "qpc",
|
|
457
|
-
style:
|
|
457
|
+
style: ae(m(h) ? "visibility:hidden" : "visibility:visible")
|
|
458
458
|
}, null, 4)
|
|
459
459
|
])
|
|
460
460
|
])
|
|
461
461
|
]));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), io = /* @__PURE__ */ ne(so, [["__scopeId", "data-v-9d31b948"]]), De = Symbol(), ro = {
|
|
464
464
|
style: { width: "24px", height: "24px" },
|
|
465
465
|
viewBox: "0 0 18 16",
|
|
466
466
|
xmlns: "http://www.w3.org/2000/svg"
|
|
467
|
-
},
|
|
467
|
+
}, uo = ["stroke"], co = ["stroke"], vo = { class: "floor-level-label" }, mo = /* @__PURE__ */ J({
|
|
468
468
|
__name: "VFloorLevel",
|
|
469
469
|
props: {
|
|
470
470
|
level: { default: 0 },
|
|
@@ -482,7 +482,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
482
482
|
}
|
|
483
483
|
return (g, w) => {
|
|
484
484
|
const k = E("v-btn"), F = E("v-tooltip");
|
|
485
|
-
return u(),
|
|
485
|
+
return u(), T(F, {
|
|
486
486
|
right: "",
|
|
487
487
|
attach: ""
|
|
488
488
|
}, {
|
|
@@ -494,34 +494,34 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
494
494
|
icon: ""
|
|
495
495
|
}, C, { onClick: h }), {
|
|
496
496
|
default: v(() => [
|
|
497
|
-
(u(), L("svg",
|
|
497
|
+
(u(), L("svg", ro, [
|
|
498
498
|
e("path", {
|
|
499
499
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
500
500
|
fill: "white",
|
|
501
501
|
stroke: p.value ? "black" : "#999999",
|
|
502
502
|
"stroke-width": "1.5",
|
|
503
503
|
"stroke-linejoin": "round"
|
|
504
|
-
}, null, 8,
|
|
504
|
+
}, null, 8, uo),
|
|
505
505
|
e("path", {
|
|
506
506
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
507
507
|
fill: "white",
|
|
508
508
|
stroke: r.value ? "black" : "#999999",
|
|
509
509
|
"stroke-width": "1.5",
|
|
510
510
|
"stroke-linejoin": "round"
|
|
511
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, co)
|
|
512
512
|
]))
|
|
513
513
|
]),
|
|
514
514
|
_: 2
|
|
515
515
|
}, 1040)
|
|
516
516
|
]),
|
|
517
517
|
default: v(() => [
|
|
518
|
-
e("span",
|
|
518
|
+
e("span", vo, P(m(i).getLabel(s.value)) + " " + P(m(i).getLabel("floor")), 1)
|
|
519
519
|
]),
|
|
520
520
|
_: 1
|
|
521
521
|
});
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
}),
|
|
524
|
+
}), po = /* @__PURE__ */ ne(mo, [["__scopeId", "data-v-4c45966e"]]), fo = { class: "d-none d-md-inline" }, ho = { class: "interior-selector-list" }, go = ["onClick"], yo = { class: "d-flex align-center justify-left pa-0 ma-0" }, _o = { class: "pa-0 ma-0" }, bo = { class: "text-caption ma-2 no-wrap" }, wo = /* @__PURE__ */ J({
|
|
525
525
|
__name: "VInteriorSelector",
|
|
526
526
|
props: {
|
|
527
527
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -546,26 +546,26 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
546
546
|
default: v(() => [
|
|
547
547
|
y(r, null, {
|
|
548
548
|
default: v(() => [
|
|
549
|
-
|
|
549
|
+
le("mdi-palette-outline")
|
|
550
550
|
]),
|
|
551
551
|
_: 1
|
|
552
552
|
}),
|
|
553
|
-
e("span",
|
|
553
|
+
e("span", fo, P(m(i).getLabel("interior")), 1)
|
|
554
554
|
]),
|
|
555
555
|
_: 2
|
|
556
556
|
}, 1040)
|
|
557
557
|
]),
|
|
558
558
|
default: v(() => [
|
|
559
|
-
e("div",
|
|
560
|
-
(u(!0), L(
|
|
559
|
+
e("div", ho, [
|
|
560
|
+
(u(!0), L(xe, null, Me(n.availableArchetypes, (w, k) => (u(), L("div", {
|
|
561
561
|
key: `at-menuitem-${k}`,
|
|
562
562
|
onClick: (F) => a("selectInterior", w.archetypeID),
|
|
563
563
|
class: me(["interior-selector-list-item", {
|
|
564
564
|
active: k === o.selectedIndex
|
|
565
565
|
}])
|
|
566
566
|
}, [
|
|
567
|
-
e("div",
|
|
568
|
-
e("div",
|
|
567
|
+
e("div", yo, [
|
|
568
|
+
e("div", _o, [
|
|
569
569
|
y(h, {
|
|
570
570
|
width: "100",
|
|
571
571
|
"max-width": "100",
|
|
@@ -574,9 +574,9 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
574
574
|
class: "pa-0 ma-0"
|
|
575
575
|
}, null, 8, ["src"])
|
|
576
576
|
]),
|
|
577
|
-
e("div",
|
|
577
|
+
e("div", bo, P(m(i).get(w.title)), 1)
|
|
578
578
|
])
|
|
579
|
-
], 10,
|
|
579
|
+
], 10, go))), 128))
|
|
580
580
|
])
|
|
581
581
|
]),
|
|
582
582
|
_: 1
|
|
@@ -584,14 +584,14 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
584
584
|
]);
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
}),
|
|
587
|
+
}), ko = /* @__PURE__ */ ne(wo, [["__scopeId", "data-v-eece0130"]]), Co = "data:image/png;base64,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", So = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMdSURBVHgB7dxBTttQEMbxsU32idouujM7FhjlBqQnaG5AbkBvUPUEpTegN8gR6AlAgQU70lWlQkUUscR+fVZrRKlL7CTQN6P/T0IJwYkUDfNhvzdEBAAAAAAAAAAAAAAAAAAAAAD+i+t+v3+5vT0Qg2IxqHBuP47jXTHIZMHEuYETeScGmSvYZb9fFiv1d7sWY9FcwWLn9u7ux/FbMcZeJPo4vLsrMhJjTBXsXhxWzMWiqYLdj8NKlCR7YoipgjnnhjUPDv11WVeMMFOwqywb+Zu6wnQlz81ck5kp2GNnhLmha7JIDCgjLy+K60cOmSVxvNk7OZmJciY6LM/z4YJDukVRmDj5sBGJcbywGLUnJAqpj0Qfh6mPw4smx/pY7GmPRfUd5uNw0PRYC7GoPxIbxGHFQiyqjsQ2cVjRHouqO8xHXOvVeP+cfVFMeySOpCV3bzVfI7WRuEwcVlxRvHl1dnYkCqntsFWiTfO8h+ZIXPqMT/PGpsqC1WxUtpVq3dhUWbC6jcrWr6F03kNnJK7hTE9rLKor2BrisKJy3kNdwdYRh3evpTAW9UXiGi98y1jUNu+hqmBXWTZcUxxWure3t31RRFXBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", Ao = /* @__PURE__ */ J({
|
|
588
588
|
__name: "VCompass",
|
|
589
589
|
props: {
|
|
590
590
|
rotation: {}
|
|
591
591
|
},
|
|
592
592
|
setup(t) {
|
|
593
|
-
const l = t, n = _(
|
|
594
|
-
backgroundImage: `url(${
|
|
593
|
+
const l = t, n = _(So), a = _({
|
|
594
|
+
backgroundImage: `url(${Co})`,
|
|
595
595
|
backgroundSize: "contain"
|
|
596
596
|
}), i = D(() => ({
|
|
597
597
|
transform: `rotate(${-l.rotation + 180}deg)`
|
|
@@ -599,18 +599,18 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
599
599
|
return (o, s) => {
|
|
600
600
|
const r = E("v-img");
|
|
601
601
|
return u(), L("div", {
|
|
602
|
-
style:
|
|
602
|
+
style: ae(a.value),
|
|
603
603
|
class: "compass-wrapper"
|
|
604
604
|
}, [
|
|
605
605
|
y(r, {
|
|
606
606
|
class: "compass-needle",
|
|
607
607
|
src: n.value,
|
|
608
|
-
style:
|
|
608
|
+
style: ae(i.value)
|
|
609
609
|
}, null, 8, ["src", "style"])
|
|
610
610
|
], 4);
|
|
611
611
|
};
|
|
612
612
|
}
|
|
613
|
-
}),
|
|
613
|
+
}), xo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", Io = { class: "d-flex flex-column align-center justify-center clock-face" }, Lo = { class: "clock-icon" }, Eo = { class: "clock-value grey--text text--darken-3" }, Mo = /* @__PURE__ */ J({
|
|
614
614
|
__name: "VTimeOfDay",
|
|
615
615
|
props: {
|
|
616
616
|
hours: { default: 0 },
|
|
@@ -623,31 +623,31 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
623
623
|
}
|
|
624
624
|
return (i, o) => {
|
|
625
625
|
const s = E("v-img");
|
|
626
|
-
return u(), L("div",
|
|
627
|
-
e("div",
|
|
626
|
+
return u(), L("div", Io, [
|
|
627
|
+
e("div", Lo, [
|
|
628
628
|
y(s, {
|
|
629
|
-
src: m(
|
|
629
|
+
src: m(xo),
|
|
630
630
|
"aspect-ratio": "1"
|
|
631
631
|
}, null, 8, ["src"])
|
|
632
632
|
]),
|
|
633
|
-
e("div",
|
|
633
|
+
e("div", Eo, P(n.value), 1)
|
|
634
634
|
]);
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
}),
|
|
637
|
+
}), Fo = /* @__PURE__ */ ne(Mo, [["__scopeId", "data-v-874b2271"]]), wt = (t) => (vt("data-v-86d91cc1"), t = t(), mt(), t), Vo = {
|
|
638
638
|
key: 0,
|
|
639
639
|
width: "24",
|
|
640
640
|
height: "24",
|
|
641
641
|
viewBox: "0 0 24 24",
|
|
642
642
|
xmlns: "http://www.w3.org/2000/svg"
|
|
643
|
-
},
|
|
643
|
+
}, Do = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", {
|
|
644
644
|
d: "M5.38544 13C3.30939 13.9424 2 15.3211 2 16.8571C2 19.6975 6.47715 22 12 22C17.5228 22 22 19.6975 22 16.8571C22 15.3211 20.6906 13.9424 18.6146 13",
|
|
645
645
|
class: "fill-grey"
|
|
646
|
-
}, null, -1)),
|
|
647
|
-
Vo,
|
|
646
|
+
}, null, -1)), Bo = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M8 9C8 7.89543 8.89543 7 10 7H14C15.1046 7 16 7.89543 16 9V12.875C16 13.4273 15.5523 13.875 15 13.875H14V17C14 17.5523 13.5523 18 13 18H11C10.4477 18 10 17.5523 10 17V13.875H9C8.44772 13.875 8 13.4273 8 12.875V9Z" }, null, -1)), To = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M15 4C15 5.65685 13.6569 7 12 7C10.3431 7 9 5.65685 9 4C9 2.34315 10.3431 1 12 1C13.6569 1 15 2.34315 15 4Z" }, null, -1)), Oo = [
|
|
648
647
|
Do,
|
|
649
|
-
Bo
|
|
650
|
-
|
|
648
|
+
Bo,
|
|
649
|
+
To
|
|
650
|
+
], $o = /* @__PURE__ */ J({
|
|
651
651
|
__name: "VViewModeToggle",
|
|
652
652
|
props: {
|
|
653
653
|
showStaticImage: { type: Boolean }
|
|
@@ -660,7 +660,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
660
660
|
});
|
|
661
661
|
return (s, r) => {
|
|
662
662
|
const p = E("v-icon"), h = E("v-btn"), g = E("v-tooltip");
|
|
663
|
-
return u(),
|
|
663
|
+
return u(), T(g, { location: "top" }, {
|
|
664
664
|
activator: v(({ props: w }) => [
|
|
665
665
|
y(h, Ee({
|
|
666
666
|
density: "comfortable",
|
|
@@ -669,9 +669,9 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
669
669
|
onClick: r[0] || (r[0] = (k) => a("toggle"))
|
|
670
670
|
}, w), {
|
|
671
671
|
default: v(() => [
|
|
672
|
-
o.value === "virtualTour" ? (u(), L("svg",
|
|
672
|
+
o.value === "virtualTour" ? (u(), L("svg", Vo, Oo)) : (u(), T(p, { key: 1 }, {
|
|
673
673
|
default: v(() => [
|
|
674
|
-
|
|
674
|
+
le("mdi-image-multiple")
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
677
|
}))
|
|
@@ -680,16 +680,16 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
680
680
|
}, 1040)
|
|
681
681
|
]),
|
|
682
682
|
default: v(() => [
|
|
683
|
-
e("span", null,
|
|
683
|
+
e("span", null, P(m(i).getLabel(o.value)), 1)
|
|
684
684
|
]),
|
|
685
685
|
_: 1
|
|
686
686
|
});
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
}),
|
|
689
|
+
}), Ro = /* @__PURE__ */ ne($o, [["__scopeId", "data-v-86d91cc1"]]), ze = (t) => (vt("data-v-627f8ee6"), t = t(), mt(), t), Yo = {
|
|
690
690
|
key: 0,
|
|
691
691
|
class: "desktop-content"
|
|
692
|
-
},
|
|
692
|
+
}, Ho = { class: "d-flex align-center justify-center" }, Uo = { class: "box col d-flex flex-column align-bottom justify-center" }, zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
693
693
|
/* @__PURE__ */ e("svg", {
|
|
694
694
|
width: "50",
|
|
695
695
|
height: "32.5",
|
|
@@ -736,7 +736,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
736
736
|
"stroke-width": "1.5"
|
|
737
737
|
})
|
|
738
738
|
])
|
|
739
|
-
], -1)),
|
|
739
|
+
], -1)), jo = { class: "text-div text-center text mt-2" }, Wo = { class: "box col d-flex flex-column align-bottom justify-center" }, Po = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
740
740
|
/* @__PURE__ */ e("svg", {
|
|
741
741
|
width: "50",
|
|
742
742
|
height: "32.5",
|
|
@@ -866,7 +866,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
866
866
|
"stroke-linecap": "round"
|
|
867
867
|
})
|
|
868
868
|
])
|
|
869
|
-
], -1)),
|
|
869
|
+
], -1)), No = { class: "text-div text-center text mt-2" }, Qo = { class: "box col d-flex flex-column align-bottom justify-center" }, Zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
870
870
|
/* @__PURE__ */ e("svg", {
|
|
871
871
|
width: "50",
|
|
872
872
|
height: "32.5",
|
|
@@ -937,7 +937,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
937
937
|
"stroke-linejoin": "round"
|
|
938
938
|
})
|
|
939
939
|
])
|
|
940
|
-
], -1)),
|
|
940
|
+
], -1)), qo = { class: "text-div text-center text mt-2" }, Jo = { class: "box col d-flex flex-column align-bottom justify-center" }, Xo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
941
941
|
/* @__PURE__ */ e("svg", {
|
|
942
942
|
width: "50",
|
|
943
943
|
height: "32.5",
|
|
@@ -1005,10 +1005,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1005
1005
|
fill: "#FF3E3E"
|
|
1006
1006
|
})
|
|
1007
1007
|
])
|
|
1008
|
-
], -1)), Go = { class: "text-div text-center text mt-2" },
|
|
1008
|
+
], -1)), Go = { class: "text-div text-center text mt-2" }, Ko = {
|
|
1009
1009
|
key: 1,
|
|
1010
1010
|
class: "d-flex tablet-mobile-content"
|
|
1011
|
-
},
|
|
1011
|
+
}, ea = { class: "box col my-1" }, ta = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1012
1012
|
/* @__PURE__ */ e("svg", {
|
|
1013
1013
|
width: "50.5",
|
|
1014
1014
|
height: "32.5",
|
|
@@ -1042,7 +1042,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1042
1042
|
"stroke-linejoin": "round"
|
|
1043
1043
|
})
|
|
1044
1044
|
])
|
|
1045
|
-
], -1)),
|
|
1045
|
+
], -1)), na = { class: "text text-col text-center" }, oa = { class: "box col my-1" }, aa = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1046
1046
|
/* @__PURE__ */ e("svg", {
|
|
1047
1047
|
width: "49.5",
|
|
1048
1048
|
height: "32.5",
|
|
@@ -1176,7 +1176,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1176
1176
|
"stroke-linejoin": "round"
|
|
1177
1177
|
})
|
|
1178
1178
|
])
|
|
1179
|
-
], -1)),
|
|
1179
|
+
], -1)), la = { class: "text text-col text-center" }, sa = { class: "box col my-1" }, ia = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1180
1180
|
/* @__PURE__ */ e("svg", {
|
|
1181
1181
|
width: "49.5",
|
|
1182
1182
|
height: "32.5",
|
|
@@ -1210,7 +1210,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1210
1210
|
"stroke-linejoin": "round"
|
|
1211
1211
|
})
|
|
1212
1212
|
])
|
|
1213
|
-
], -1)),
|
|
1213
|
+
], -1)), ra = { class: "text text-col text-center" }, ua = { class: "text-h6 text-capitalize" }, ca = { class: "mt-2" }, da = { class: "d-flex justify-center align-center checkbox-container" }, va = { class: "text-caption" }, ma = /* @__PURE__ */ J({
|
|
1214
1214
|
__name: "VTutorial",
|
|
1215
1215
|
emits: ["closeTutorial"],
|
|
1216
1216
|
setup(t, { emit: l }) {
|
|
@@ -1228,7 +1228,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
return (p, h) => {
|
|
1230
1230
|
const g = E("v-icon"), w = E("v-card-title"), k = E("v-btn"), F = E("v-divider"), C = E("v-card-text"), d = E("v-card-actions"), f = E("v-card"), S = E("v-expand-transition"), I = E("v-checkbox");
|
|
1231
|
-
return u(),
|
|
1231
|
+
return u(), T(Ve, { name: "fade-transition" }, {
|
|
1232
1232
|
default: v(() => [
|
|
1233
1233
|
y(f, {
|
|
1234
1234
|
class: "mx-auto",
|
|
@@ -1239,17 +1239,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1239
1239
|
default: v(() => [
|
|
1240
1240
|
y(g, { size: "x-small" }, {
|
|
1241
1241
|
default: v(() => [
|
|
1242
|
-
|
|
1242
|
+
le("mdi-alert-outline")
|
|
1243
1243
|
]),
|
|
1244
1244
|
_: 1
|
|
1245
1245
|
}),
|
|
1246
|
-
|
|
1246
|
+
le(" " + P(m(a).getLabel("disclaimer")), 1)
|
|
1247
1247
|
]),
|
|
1248
1248
|
_: 1
|
|
1249
1249
|
}),
|
|
1250
1250
|
y(C, { class: "pb-0" }, {
|
|
1251
1251
|
default: v(() => [
|
|
1252
|
-
e("p", null,
|
|
1252
|
+
e("p", null, P(m(a).getLabel("disclaimerTextShort")), 1),
|
|
1253
1253
|
y(k, {
|
|
1254
1254
|
variant: "tonal",
|
|
1255
1255
|
size: "small",
|
|
@@ -1257,10 +1257,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1257
1257
|
class: "text-capitalize mt-2"
|
|
1258
1258
|
}, {
|
|
1259
1259
|
default: v(() => [
|
|
1260
|
-
|
|
1260
|
+
le(P(m(a).getLabel("learnMore")) + " ", 1),
|
|
1261
1261
|
y(g, null, {
|
|
1262
1262
|
default: v(() => [
|
|
1263
|
-
|
|
1263
|
+
le("mdi-chevron-right")
|
|
1264
1264
|
]),
|
|
1265
1265
|
_: 1
|
|
1266
1266
|
})
|
|
@@ -1268,38 +1268,38 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1268
1268
|
_: 1
|
|
1269
1269
|
}),
|
|
1270
1270
|
y(F, { class: "my-3" }),
|
|
1271
|
-
s.value ? V("", !0) : (u(), L("div",
|
|
1272
|
-
e("div",
|
|
1273
|
-
e("div",
|
|
1274
|
-
|
|
1275
|
-
e("div",
|
|
1271
|
+
s.value ? V("", !0) : (u(), L("div", Yo, [
|
|
1272
|
+
e("div", Ho, [
|
|
1273
|
+
e("div", Uo, [
|
|
1274
|
+
zo,
|
|
1275
|
+
e("div", jo, P(m(a).getLabel("clickAndDragToLookAround")), 1)
|
|
1276
1276
|
]),
|
|
1277
|
-
e("div",
|
|
1278
|
-
|
|
1279
|
-
e("div",
|
|
1277
|
+
e("div", Wo, [
|
|
1278
|
+
Po,
|
|
1279
|
+
e("div", No, P(m(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
1280
1280
|
]),
|
|
1281
|
-
e("div",
|
|
1282
|
-
|
|
1283
|
-
e("div",
|
|
1281
|
+
e("div", Qo, [
|
|
1282
|
+
Zo,
|
|
1283
|
+
e("div", qo, P(m(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1284
1284
|
]),
|
|
1285
|
-
e("div",
|
|
1286
|
-
|
|
1287
|
-
e("div", Go,
|
|
1285
|
+
e("div", Jo, [
|
|
1286
|
+
Xo,
|
|
1287
|
+
e("div", Go, P(m(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
1288
1288
|
])
|
|
1289
1289
|
])
|
|
1290
1290
|
])),
|
|
1291
|
-
s.value ? (u(), L("div",
|
|
1292
|
-
e("div",
|
|
1293
|
-
|
|
1294
|
-
e("div",
|
|
1291
|
+
s.value ? (u(), L("div", Ko, [
|
|
1292
|
+
e("div", ea, [
|
|
1293
|
+
ta,
|
|
1294
|
+
e("div", na, P(m(a).getLabel("tapAndDragToLookAround")), 1)
|
|
1295
1295
|
]),
|
|
1296
|
-
e("div",
|
|
1297
|
-
|
|
1298
|
-
e("div",
|
|
1296
|
+
e("div", oa, [
|
|
1297
|
+
aa,
|
|
1298
|
+
e("div", la, P(m(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
1299
1299
|
]),
|
|
1300
|
-
e("div",
|
|
1301
|
-
|
|
1302
|
-
e("div",
|
|
1300
|
+
e("div", sa, [
|
|
1301
|
+
ia,
|
|
1302
|
+
e("div", ra, P(m(a).getLabel("useTwoFingersToZoom")), 1)
|
|
1303
1303
|
])
|
|
1304
1304
|
])) : V("", !0),
|
|
1305
1305
|
y(F, { class: "my-1" })
|
|
@@ -1308,7 +1308,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1308
1308
|
}),
|
|
1309
1309
|
y(S, null, {
|
|
1310
1310
|
default: v(() => [
|
|
1311
|
-
o.value ? (u(),
|
|
1311
|
+
o.value ? (u(), T(f, {
|
|
1312
1312
|
key: 0,
|
|
1313
1313
|
class: "position-absolute w-100 bg-white",
|
|
1314
1314
|
height: "100%",
|
|
@@ -1317,16 +1317,16 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1317
1317
|
default: v(() => [
|
|
1318
1318
|
y(C, { class: "pb-0" }, {
|
|
1319
1319
|
default: v(() => [
|
|
1320
|
-
e("p",
|
|
1320
|
+
e("p", ua, [
|
|
1321
1321
|
y(g, null, {
|
|
1322
1322
|
default: v(() => [
|
|
1323
|
-
|
|
1323
|
+
le("mdi-alert-outline")
|
|
1324
1324
|
]),
|
|
1325
1325
|
_: 1
|
|
1326
1326
|
}),
|
|
1327
|
-
|
|
1327
|
+
le(" " + P(m(a).getLabel("disclaimer")), 1)
|
|
1328
1328
|
]),
|
|
1329
|
-
e("p",
|
|
1329
|
+
e("p", ca, P(m(a).getLabel("disclaimerText")), 1)
|
|
1330
1330
|
]),
|
|
1331
1331
|
_: 1
|
|
1332
1332
|
}),
|
|
@@ -1341,11 +1341,11 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1341
1341
|
default: v(() => [
|
|
1342
1342
|
y(g, null, {
|
|
1343
1343
|
default: v(() => [
|
|
1344
|
-
|
|
1344
|
+
le("mdi-chevron-left")
|
|
1345
1345
|
]),
|
|
1346
1346
|
_: 1
|
|
1347
1347
|
}),
|
|
1348
|
-
|
|
1348
|
+
le(" " + P(m(a).getLabel("back")), 1)
|
|
1349
1349
|
]),
|
|
1350
1350
|
_: 1
|
|
1351
1351
|
})
|
|
@@ -1358,7 +1358,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1358
1358
|
]),
|
|
1359
1359
|
_: 1
|
|
1360
1360
|
}),
|
|
1361
|
-
e("div",
|
|
1361
|
+
e("div", da, [
|
|
1362
1362
|
y(I, {
|
|
1363
1363
|
density: "compact",
|
|
1364
1364
|
modelValue: i.value,
|
|
@@ -1366,7 +1366,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1366
1366
|
"hide-details": ""
|
|
1367
1367
|
}, {
|
|
1368
1368
|
label: v(() => [
|
|
1369
|
-
e("span",
|
|
1369
|
+
e("span", va, P(m(a).getLabel("dontShowAgain")), 1)
|
|
1370
1370
|
]),
|
|
1371
1371
|
_: 1
|
|
1372
1372
|
}, 8, ["modelValue"])
|
|
@@ -1379,7 +1379,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1379
1379
|
block: ""
|
|
1380
1380
|
}, {
|
|
1381
1381
|
default: v(() => [
|
|
1382
|
-
|
|
1382
|
+
le(P(m(a).getLabel("iUnderstand")), 1)
|
|
1383
1383
|
]),
|
|
1384
1384
|
_: 1
|
|
1385
1385
|
})
|
|
@@ -1394,17 +1394,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1394
1394
|
});
|
|
1395
1395
|
};
|
|
1396
1396
|
}
|
|
1397
|
-
}),
|
|
1397
|
+
}), pa = /* @__PURE__ */ ne(ma, [["__scopeId", "data-v-627f8ee6"]]), fa = (t) => (vt("data-v-bd4f66c3"), t = t(), mt(), t), ha = { class: "player-settings-ui" }, ga = { id: "settings-ui-form" }, ya = { class: "form-inputs" }, _a = { class: "setting-label" }, ba = { class: "setting-label" }, wa = ["max", "min", "step"], ka = { class: "setting-label" }, Ca = { class: "flex-grow-1 flex-shrink-0" }, Sa = ["onUpdate:modelValue"], Aa = {
|
|
1398
1398
|
key: 3,
|
|
1399
1399
|
"d-block": "",
|
|
1400
1400
|
class: "mt-3"
|
|
1401
|
-
},
|
|
1401
|
+
}, xa = { class: "d-flex justify-space-between" }, Ia = { class: "setting-label" }, La = {
|
|
1402
1402
|
class: "mt-5 d-block",
|
|
1403
1403
|
style: { width: "300px" }
|
|
1404
|
-
},
|
|
1404
|
+
}, Ea = /* @__PURE__ */ fa(() => /* @__PURE__ */ e("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Ma = {
|
|
1405
1405
|
class: "d-block",
|
|
1406
1406
|
style: { width: "300px" }
|
|
1407
|
-
},
|
|
1407
|
+
}, Fa = { class: "form-buttons" }, Va = /* @__PURE__ */ J({
|
|
1408
1408
|
__name: "VPlayerSettingsUi",
|
|
1409
1409
|
props: {
|
|
1410
1410
|
initialSettings: {}
|
|
@@ -1414,7 +1414,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1414
1414
|
const n = t, a = l, i = _(
|
|
1415
1415
|
F(n.initialSettings)
|
|
1416
1416
|
);
|
|
1417
|
-
|
|
1417
|
+
j(
|
|
1418
1418
|
i,
|
|
1419
1419
|
() => {
|
|
1420
1420
|
s();
|
|
@@ -1552,31 +1552,31 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}
|
|
1554
1554
|
return (C, d) => {
|
|
1555
|
-
const f = E("v-text-field"), S = E("v-slider"), I = E("v-checkbox"), A = E("v-btn"), R = E("v-select"),
|
|
1556
|
-
return u(), L("div",
|
|
1557
|
-
e("form",
|
|
1558
|
-
e("div",
|
|
1559
|
-
(u(!0), L(
|
|
1555
|
+
const f = E("v-text-field"), S = E("v-slider"), I = E("v-checkbox"), A = E("v-btn"), R = E("v-select"), X = E("v-icon");
|
|
1556
|
+
return u(), L("div", ha, [
|
|
1557
|
+
e("form", ga, [
|
|
1558
|
+
e("div", ya, [
|
|
1559
|
+
(u(!0), L(xe, null, Me(i.value, ($, te, de) => (u(), L("div", {
|
|
1560
1560
|
key: de,
|
|
1561
1561
|
"d-block": ""
|
|
1562
1562
|
}, [
|
|
1563
|
-
$.type === "slider" ? (u(),
|
|
1563
|
+
$.type === "slider" ? (u(), T(S, {
|
|
1564
1564
|
key: 0,
|
|
1565
|
-
modelValue: i.value[
|
|
1566
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1565
|
+
modelValue: i.value[te].value,
|
|
1566
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1567
1567
|
onChange: s,
|
|
1568
1568
|
max: $.max,
|
|
1569
1569
|
min: $.min,
|
|
1570
1570
|
step: $.step
|
|
1571
1571
|
}, {
|
|
1572
1572
|
prepend: v(() => [
|
|
1573
|
-
e("div",
|
|
1573
|
+
e("div", _a, P($.label), 1)
|
|
1574
1574
|
]),
|
|
1575
1575
|
append: v(() => [
|
|
1576
1576
|
e("div", null, [
|
|
1577
1577
|
y(f, {
|
|
1578
|
-
modelValue: i.value[
|
|
1579
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1578
|
+
modelValue: i.value[te].value,
|
|
1579
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1580
1580
|
"hide-details": "",
|
|
1581
1581
|
dense: "",
|
|
1582
1582
|
outlined: "",
|
|
@@ -1591,17 +1591,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1591
1591
|
]),
|
|
1592
1592
|
_: 2
|
|
1593
1593
|
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : V("", !0),
|
|
1594
|
-
$.type === "boolean" ? (u(),
|
|
1594
|
+
$.type === "boolean" ? (u(), T(I, {
|
|
1595
1595
|
key: 1,
|
|
1596
|
-
modelValue: i.value[
|
|
1597
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1596
|
+
modelValue: i.value[te].value,
|
|
1597
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1598
1598
|
onChange: s
|
|
1599
1599
|
}, {
|
|
1600
1600
|
prepend: v(() => [
|
|
1601
|
-
e("div",
|
|
1601
|
+
e("div", ba, P($.label), 1)
|
|
1602
1602
|
]),
|
|
1603
1603
|
append: v(() => [
|
|
1604
|
-
e("div", null,
|
|
1604
|
+
e("div", null, P($.value), 1)
|
|
1605
1605
|
]),
|
|
1606
1606
|
_: 2
|
|
1607
1607
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
|
|
@@ -1612,20 +1612,20 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1612
1612
|
min: $.min,
|
|
1613
1613
|
step: $.step
|
|
1614
1614
|
}, [
|
|
1615
|
-
e("div",
|
|
1616
|
-
e("div",
|
|
1617
|
-
|
|
1618
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1615
|
+
e("div", ka, P($.label), 1),
|
|
1616
|
+
e("div", Ca, [
|
|
1617
|
+
tt(e("input", {
|
|
1618
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1619
1619
|
type: "color",
|
|
1620
1620
|
onChange: s
|
|
1621
|
-
}, null, 40,
|
|
1622
|
-
[
|
|
1621
|
+
}, null, 40, Sa), [
|
|
1622
|
+
[An, i.value[te].value]
|
|
1623
1623
|
])
|
|
1624
1624
|
]),
|
|
1625
1625
|
e("div", null, [
|
|
1626
1626
|
y(f, {
|
|
1627
|
-
modelValue: i.value[
|
|
1628
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1627
|
+
modelValue: i.value[te].value,
|
|
1628
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1629
1629
|
"hide-details": "",
|
|
1630
1630
|
dense: "",
|
|
1631
1631
|
outlined: "",
|
|
@@ -1635,29 +1635,29 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1635
1635
|
onChange: s
|
|
1636
1636
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1637
1637
|
])
|
|
1638
|
-
], 8,
|
|
1639
|
-
$.type === "lut" ? (u(), L("div",
|
|
1640
|
-
e("div",
|
|
1641
|
-
e("div",
|
|
1638
|
+
], 8, wa)) : V("", !0),
|
|
1639
|
+
$.type === "lut" ? (u(), L("div", Aa, [
|
|
1640
|
+
e("div", xa, [
|
|
1641
|
+
e("div", Ia, P($.label), 1),
|
|
1642
1642
|
e("div", null, [
|
|
1643
1643
|
y(A, {
|
|
1644
1644
|
class: "ml-2",
|
|
1645
1645
|
"x-small": "",
|
|
1646
|
-
onClick: (Y) => i.value[
|
|
1646
|
+
onClick: (Y) => i.value[te].value = null
|
|
1647
1647
|
}, {
|
|
1648
1648
|
default: v(() => [
|
|
1649
|
-
|
|
1649
|
+
le(" Clear Lut ")
|
|
1650
1650
|
]),
|
|
1651
1651
|
_: 2
|
|
1652
1652
|
}, 1032, ["onClick"])
|
|
1653
1653
|
])
|
|
1654
1654
|
]),
|
|
1655
1655
|
e("div", null, [
|
|
1656
|
-
e("div",
|
|
1656
|
+
e("div", La, [
|
|
1657
1657
|
e("div", null, [
|
|
1658
1658
|
y(R, {
|
|
1659
|
-
modelValue: i.value[
|
|
1660
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1659
|
+
modelValue: i.value[te].value,
|
|
1660
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1661
1661
|
items: $.items,
|
|
1662
1662
|
"item-title": "title",
|
|
1663
1663
|
"item-value": "value",
|
|
@@ -1668,12 +1668,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1668
1668
|
])
|
|
1669
1669
|
]),
|
|
1670
1670
|
e("div", null, [
|
|
1671
|
-
|
|
1672
|
-
e("div",
|
|
1671
|
+
Ea,
|
|
1672
|
+
e("div", Ma, [
|
|
1673
1673
|
e("div", null, [
|
|
1674
1674
|
y(f, {
|
|
1675
|
-
modelValue: i.value[
|
|
1676
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1675
|
+
modelValue: i.value[te].value,
|
|
1676
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1677
1677
|
"hide-details": "",
|
|
1678
1678
|
dense: "",
|
|
1679
1679
|
type: "url",
|
|
@@ -1686,12 +1686,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1686
1686
|
])) : V("", !0)
|
|
1687
1687
|
]))), 128))
|
|
1688
1688
|
]),
|
|
1689
|
-
e("div",
|
|
1689
|
+
e("div", Fa, [
|
|
1690
1690
|
y(A, {
|
|
1691
1691
|
onClick: d[0] || (d[0] = ($) => h())
|
|
1692
1692
|
}, {
|
|
1693
1693
|
default: v(() => [
|
|
1694
|
-
|
|
1694
|
+
le("Reset")
|
|
1695
1695
|
]),
|
|
1696
1696
|
_: 1
|
|
1697
1697
|
}),
|
|
@@ -1700,10 +1700,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1700
1700
|
onClick: d[1] || (d[1] = ($) => r())
|
|
1701
1701
|
}, {
|
|
1702
1702
|
default: v(() => [
|
|
1703
|
-
|
|
1704
|
-
y(
|
|
1703
|
+
le(" Download Json "),
|
|
1704
|
+
y(X, { color: "black darken-1" }, {
|
|
1705
1705
|
default: v(() => [
|
|
1706
|
-
|
|
1706
|
+
le("mdi-download")
|
|
1707
1707
|
]),
|
|
1708
1708
|
_: 1
|
|
1709
1709
|
})
|
|
@@ -1715,10 +1715,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1715
1715
|
onClick: d[2] || (d[2] = ($) => p())
|
|
1716
1716
|
}, {
|
|
1717
1717
|
default: v(() => [
|
|
1718
|
-
|
|
1719
|
-
y(
|
|
1718
|
+
le(" Save Settings "),
|
|
1719
|
+
y(X, { color: "black darken-1" }, {
|
|
1720
1720
|
default: v(() => [
|
|
1721
|
-
|
|
1721
|
+
le("mdi-save")
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
})
|
|
@@ -1730,10 +1730,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1730
1730
|
]);
|
|
1731
1731
|
};
|
|
1732
1732
|
}
|
|
1733
|
-
}),
|
|
1733
|
+
}), Da = /* @__PURE__ */ ne(Va, [["__scopeId", "data-v-bd4f66c3"]]), Ba = { class: "top-left" }, Ta = { class: "top-right" }, Oa = { class: "header-slot anchor elevation-5" }, $a = {
|
|
1734
1734
|
id: "moveableBody",
|
|
1735
1735
|
class: "body-slot moveable-body d-flex justify-center align-center position-relative"
|
|
1736
|
-
},
|
|
1736
|
+
}, Ra = { class: "moveable-footer elevation-5" }, Ya = /* @__PURE__ */ J({
|
|
1737
1737
|
__name: "VMoveable",
|
|
1738
1738
|
props: {
|
|
1739
1739
|
size: {}
|
|
@@ -1776,44 +1776,44 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1776
1776
|
id: "moveableDiv",
|
|
1777
1777
|
class: me([s.size, "sizer rounded"])
|
|
1778
1778
|
}, [
|
|
1779
|
-
e("div",
|
|
1779
|
+
e("div", Ba, [
|
|
1780
1780
|
K(s.$slots, "top-left", {}, void 0, !0)
|
|
1781
1781
|
]),
|
|
1782
|
-
e("div",
|
|
1782
|
+
e("div", Ta, [
|
|
1783
1783
|
K(s.$slots, "top-right", {}, void 0, !0)
|
|
1784
1784
|
]),
|
|
1785
|
-
e("div",
|
|
1785
|
+
e("div", Oa, [
|
|
1786
1786
|
K(s.$slots, "header", {}, void 0, !0)
|
|
1787
1787
|
]),
|
|
1788
|
-
e("div",
|
|
1788
|
+
e("div", $a, [
|
|
1789
1789
|
K(s.$slots, "body", {}, void 0, !0)
|
|
1790
1790
|
]),
|
|
1791
|
-
e("div",
|
|
1791
|
+
e("div", Ra, [
|
|
1792
1792
|
K(s.$slots, "footer", {}, void 0, !0)
|
|
1793
1793
|
])
|
|
1794
1794
|
], 2));
|
|
1795
1795
|
}
|
|
1796
|
-
}),
|
|
1796
|
+
}), Ha = /* @__PURE__ */ ne(Ya, [["__scopeId", "data-v-a4cb28cf"]]), Ua = {
|
|
1797
1797
|
class: "rotation-marker-svg",
|
|
1798
1798
|
viewBox: "0 0 40 40",
|
|
1799
1799
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1800
|
-
},
|
|
1801
|
-
|
|
1802
|
-
],
|
|
1800
|
+
}, za = /* @__PURE__ */ Yt('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), ja = ["transform"], Wa = /* @__PURE__ */ Yt('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), Pa = [
|
|
1801
|
+
Wa
|
|
1802
|
+
], Na = /* @__PURE__ */ J({
|
|
1803
1803
|
__name: "VRotationMarker",
|
|
1804
1804
|
props: {
|
|
1805
1805
|
rotation: {}
|
|
1806
1806
|
},
|
|
1807
1807
|
setup(t) {
|
|
1808
|
-
return (l, n) => (u(), L("svg",
|
|
1809
|
-
|
|
1808
|
+
return (l, n) => (u(), L("svg", Ua, [
|
|
1809
|
+
za,
|
|
1810
1810
|
e("g", {
|
|
1811
1811
|
"transform-origin": "20 20",
|
|
1812
1812
|
transform: `rotate(${45 + l.rotation})`
|
|
1813
|
-
},
|
|
1813
|
+
}, Pa, 8, ja)
|
|
1814
1814
|
]));
|
|
1815
1815
|
}
|
|
1816
|
-
}),
|
|
1816
|
+
}), Qa = { class: "minimap-wrapper" }, Za = { class: "minimap-container" }, qa = ["id"], Ja = /* @__PURE__ */ J({
|
|
1817
1817
|
__name: "VMiniMapMap",
|
|
1818
1818
|
props: {
|
|
1819
1819
|
backgroundImage: {},
|
|
@@ -1828,88 +1828,88 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1828
1828
|
},
|
|
1829
1829
|
emits: ["goToCamera"],
|
|
1830
1830
|
setup(t, { emit: l }) {
|
|
1831
|
-
const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new
|
|
1832
|
-
const
|
|
1833
|
-
let
|
|
1834
|
-
return
|
|
1835
|
-
}), d = D(() => n.allCameras), f = D(() => n.allCameras.find((
|
|
1831
|
+
const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new Ke()), h = _(new Vn()), g = _({}), w = _(1), k = _(), F = i.value / i.value, C = D(() => {
|
|
1832
|
+
const N = n.containerWidth / n.containerHeight;
|
|
1833
|
+
let se;
|
|
1834
|
+
return N > F ? se = n.containerHeight / o.value : se = n.containerWidth / i.value, se;
|
|
1835
|
+
}), d = D(() => n.allCameras), f = D(() => n.allCameras.find((N) => N.id === n.currentCamera)), S = D(() => n.rotation), I = D(() => new Ke(
|
|
1836
1836
|
n.storey.position.x,
|
|
1837
1837
|
n.storey.position.y,
|
|
1838
1838
|
n.storey.position.z
|
|
1839
|
-
)), A = D(() => parseFloat(f.value.floor_vertical_position)), R = D(() => d.value.map((
|
|
1840
|
-
const
|
|
1841
|
-
Number(
|
|
1839
|
+
)), A = D(() => parseFloat(f.value.floor_vertical_position)), R = D(() => d.value.map((N) => {
|
|
1840
|
+
const se = N.uposition.split(","), H = new Ke(
|
|
1841
|
+
Number(se[0]) - I.value.x,
|
|
1842
1842
|
0,
|
|
1843
|
-
Number(
|
|
1843
|
+
Number(se[2]) - I.value.z
|
|
1844
1844
|
);
|
|
1845
1845
|
return {
|
|
1846
|
-
...
|
|
1846
|
+
...N,
|
|
1847
1847
|
...Se(p.value, H)
|
|
1848
1848
|
};
|
|
1849
|
-
})),
|
|
1849
|
+
})), X = D(() => ({
|
|
1850
1850
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1851
1851
|
backgroundSize: "contain"
|
|
1852
1852
|
})), $ = D(() => ({
|
|
1853
1853
|
transform: `scale(${n.fit ? 1 : C.value * 0.75}) rotate(${n.transformAngle}deg)`
|
|
1854
1854
|
}));
|
|
1855
1855
|
Re(() => {
|
|
1856
|
-
|
|
1857
|
-
const
|
|
1858
|
-
|
|
1859
|
-
}),
|
|
1860
|
-
|
|
1861
|
-
}),
|
|
1856
|
+
ye(), de(), O();
|
|
1857
|
+
const N = document.getElementById("moveableDiv");
|
|
1858
|
+
N && (k.value = new ResizeObserver(O).observe(N));
|
|
1859
|
+
}), xn(() => {
|
|
1860
|
+
ye(), de();
|
|
1861
|
+
}), ot(() => {
|
|
1862
1862
|
k.value && k.value.unobserve(document.getElementById("moveableDiv"));
|
|
1863
1863
|
});
|
|
1864
|
-
function
|
|
1865
|
-
return
|
|
1864
|
+
function te(N) {
|
|
1865
|
+
return Dn.degToRad(N);
|
|
1866
1866
|
}
|
|
1867
1867
|
function de() {
|
|
1868
1868
|
h.value.rotation.x = 180, h.value.rotation.y = n.storey.rotation.y * -1, g.value = {
|
|
1869
1869
|
transform: `rotateZ(${h.value.rotation.y}deg) rotateX(${h.value.rotation.x}deg)`
|
|
1870
1870
|
};
|
|
1871
1871
|
}
|
|
1872
|
-
function Y(
|
|
1872
|
+
function Y(N) {
|
|
1873
1873
|
return {
|
|
1874
|
-
top: `${Math.abs(
|
|
1875
|
-
left: `${Math.abs(
|
|
1874
|
+
top: `${Math.abs(N.top)}%`,
|
|
1875
|
+
left: `${Math.abs(N.left)}%`
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
function Se(
|
|
1879
|
-
var H = new
|
|
1880
|
-
const M = H.subVectors(
|
|
1878
|
+
function Se(N, se) {
|
|
1879
|
+
var H = new Ke();
|
|
1880
|
+
const M = H.subVectors(N, se);
|
|
1881
1881
|
return {
|
|
1882
1882
|
relativePosition: M,
|
|
1883
1883
|
left: M.x / s.value * 100,
|
|
1884
1884
|
top: M.z / r.value * 100
|
|
1885
1885
|
};
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1888
|
-
const
|
|
1889
|
-
r.value = 2 * (
|
|
1890
|
-
const
|
|
1887
|
+
function ye() {
|
|
1888
|
+
const N = n.storey.position.y - A.value;
|
|
1889
|
+
r.value = 2 * (N * Math.tan(te(n.storey.fovY / 2))), s.value = 512 / 384 * r.value;
|
|
1890
|
+
const se = r.value / 2, H = s.value / 2, M = new Ke(H * -1, 0, se * -1);
|
|
1891
1891
|
p.value = M;
|
|
1892
1892
|
}
|
|
1893
1893
|
function O() {
|
|
1894
|
-
const
|
|
1895
|
-
if (!
|
|
1894
|
+
const N = document.getElementById("moveableDiv");
|
|
1895
|
+
if (!N)
|
|
1896
1896
|
return;
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1897
|
+
const se = N.offsetHeight / 384 * 0.8, H = N.offsetWidth / 512 * 0.8;
|
|
1898
|
+
N.offsetHeight > N.offsetWidth ? w.value = H * 0.5 : w.value = se * 0.9;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1901
|
-
const H =
|
|
1902
|
-
let U = null,
|
|
1903
|
-
if (
|
|
1904
|
-
const
|
|
1905
|
-
(M - pe) ** 2 + (
|
|
1900
|
+
function re(N) {
|
|
1901
|
+
const H = N.currentTarget.getBoundingClientRect(), M = N.clientX - H.left, q = N.clientY - H.top, Q = document.querySelectorAll(".single-camera-marker");
|
|
1902
|
+
let U = null, oe = 1 / 0;
|
|
1903
|
+
if (Q.forEach((Z) => {
|
|
1904
|
+
const ie = Z, W = ie.getBoundingClientRect(), pe = W.left + W.width / 2 - H.left, he = W.top + W.height / 2 - H.top, ve = Math.sqrt(
|
|
1905
|
+
(M - pe) ** 2 + (q - he) ** 2
|
|
1906
1906
|
);
|
|
1907
|
-
ve <
|
|
1907
|
+
ve < oe && (oe = ve, U = ie);
|
|
1908
1908
|
}), U) {
|
|
1909
|
-
const
|
|
1909
|
+
const Z = U.getBoundingClientRect(), ie = Z.left + Z.width / 2, W = Z.top + Z.height / 2;
|
|
1910
1910
|
for (let he = 0; he < 3; he++) {
|
|
1911
1911
|
const ve = document.createElement("div");
|
|
1912
|
-
ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${
|
|
1912
|
+
ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${ie}px`, ve.style.top = `${W}px`, ve.style.pointerEvents = "none", ve.style.animationDelay = `${he * 0.5}s`, document.body.appendChild(ve), setTimeout(() => {
|
|
1913
1913
|
ve.remove();
|
|
1914
1914
|
}, 500 + he * 500);
|
|
1915
1915
|
}
|
|
@@ -1917,45 +1917,45 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1917
1917
|
pe && a("goToCamera", pe);
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
|
-
return (
|
|
1921
|
-
e("div",
|
|
1920
|
+
return (N, se) => (u(), L("div", Qa, [
|
|
1921
|
+
e("div", Za, [
|
|
1922
1922
|
e("div", {
|
|
1923
1923
|
class: "web-minimap",
|
|
1924
|
-
style:
|
|
1925
|
-
onClick:
|
|
1924
|
+
style: ae($.value),
|
|
1925
|
+
onClick: re
|
|
1926
1926
|
}, [
|
|
1927
1927
|
e("div", {
|
|
1928
1928
|
class: "minimap-background-image",
|
|
1929
|
-
style:
|
|
1929
|
+
style: ae(X.value)
|
|
1930
1930
|
}, null, 4),
|
|
1931
1931
|
e("div", {
|
|
1932
1932
|
class: "center-pivot",
|
|
1933
|
-
style:
|
|
1933
|
+
style: ae(g.value)
|
|
1934
1934
|
}, [
|
|
1935
|
-
(u(!0), L(
|
|
1935
|
+
(u(!0), L(xe, null, Me(R.value, (H) => (u(), L("div", {
|
|
1936
1936
|
key: H.id
|
|
1937
1937
|
}, [
|
|
1938
1938
|
f.value.floorLevel === H.floorLevel ? (u(), L("div", {
|
|
1939
1939
|
key: 0,
|
|
1940
1940
|
class: "single-camera-marker",
|
|
1941
1941
|
id: `single-camera-marker-${H.id}`,
|
|
1942
|
-
style:
|
|
1943
|
-
}, null, 12,
|
|
1944
|
-
K(
|
|
1942
|
+
style: ae(Y(H))
|
|
1943
|
+
}, null, 12, qa)) : V("", !0),
|
|
1944
|
+
K(N.$slots, "default", {
|
|
1945
1945
|
id: H.id,
|
|
1946
1946
|
camera: H,
|
|
1947
1947
|
active: f.value.id === H.id,
|
|
1948
|
-
style:
|
|
1948
|
+
style: ae({
|
|
1949
1949
|
...Y(H),
|
|
1950
1950
|
position: "absolute",
|
|
1951
1951
|
zIndex: "3"
|
|
1952
1952
|
})
|
|
1953
1953
|
}, () => [
|
|
1954
|
-
f.value.id === H.id && n.rotation !== null ? (u(),
|
|
1954
|
+
f.value.id === H.id && n.rotation !== null ? (u(), T(Na, {
|
|
1955
1955
|
key: 0,
|
|
1956
1956
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1957
1957
|
rotation: S.value,
|
|
1958
|
-
style:
|
|
1958
|
+
style: ae({ ...Y(H) })
|
|
1959
1959
|
}, null, 8, ["rotation", "style"])) : V("", !0)
|
|
1960
1960
|
], !0)
|
|
1961
1961
|
]))), 128))
|
|
@@ -1964,7 +1964,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1964
1964
|
])
|
|
1965
1965
|
]));
|
|
1966
1966
|
}
|
|
1967
|
-
}), Ut = /* @__PURE__ */
|
|
1967
|
+
}), Ut = /* @__PURE__ */ ne(Ja, [["__scopeId", "data-v-03e6f060"]]), Xa = /* @__PURE__ */ J({
|
|
1968
1968
|
__name: "VMiniMapCompass",
|
|
1969
1969
|
props: {
|
|
1970
1970
|
scale: {},
|
|
@@ -1975,7 +1975,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1975
1975
|
const l = t, n = D(() => l.rotation + l.transformAngle - 90);
|
|
1976
1976
|
return (a, i) => (u(), L("div", {
|
|
1977
1977
|
class: "minimap-compass elevation-5",
|
|
1978
|
-
style:
|
|
1978
|
+
style: ae({ scale: a.scale })
|
|
1979
1979
|
}, [
|
|
1980
1980
|
y(Ht, {
|
|
1981
1981
|
class: "north-indicator",
|
|
@@ -1983,10 +1983,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1983
1983
|
}, null, 8, ["longitude"])
|
|
1984
1984
|
], 4));
|
|
1985
1985
|
}
|
|
1986
|
-
}), zt = /* @__PURE__ */
|
|
1986
|
+
}), zt = /* @__PURE__ */ ne(Xa, [["__scopeId", "data-v-d047dca8"]]), Ga = { class: "ss-wrapper" }, Ka = { class: "slider" }, el = { class: "minimap-sun-slider" }, tl = { class: "d-flex flex-column align-center justify-center" }, nl = {
|
|
1987
1987
|
key: 0,
|
|
1988
1988
|
class: "time-label"
|
|
1989
|
-
},
|
|
1989
|
+
}, ol = /* @__PURE__ */ J({
|
|
1990
1990
|
__name: "VSunSimulationSlider",
|
|
1991
1991
|
props: {
|
|
1992
1992
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2009,10 +2009,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2009
2009
|
), a("setBackgroundImage", r.value), s.value = !1;
|
|
2010
2010
|
const S = await F(n.minimapJson.storeys);
|
|
2011
2011
|
p.value = S, o.value = !1, a("setBackgroundImage", k(n.level, i.value));
|
|
2012
|
-
}),
|
|
2012
|
+
}), j(i, () => {
|
|
2013
2013
|
const S = k(n.level, i.value);
|
|
2014
2014
|
a("setBackgroundImage", S);
|
|
2015
|
-
}),
|
|
2015
|
+
}), j(
|
|
2016
2016
|
() => n.level,
|
|
2017
2017
|
() => {
|
|
2018
2018
|
a("setBackgroundImage", k(n.level, i.value));
|
|
@@ -2026,10 +2026,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2026
2026
|
let I = /* @__PURE__ */ new Map();
|
|
2027
2027
|
for (let A = 0; A < S.length; A++) {
|
|
2028
2028
|
const R = S[A].sunsimFiles;
|
|
2029
|
-
for (let
|
|
2030
|
-
const $ = R[
|
|
2029
|
+
for (let X = 0; X < R.length; X++) {
|
|
2030
|
+
const $ = R[X];
|
|
2031
2031
|
try {
|
|
2032
|
-
const
|
|
2032
|
+
const te = $, de = $.split("."), Y = await C(te);
|
|
2033
2033
|
I.set(de[0], Y);
|
|
2034
2034
|
} catch {
|
|
2035
2035
|
continue;
|
|
@@ -2040,7 +2040,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
async function C(S) {
|
|
2042
2042
|
const A = await (await fetch(
|
|
2043
|
-
|
|
2043
|
+
_e(
|
|
2044
2044
|
n.cdnFileResolver,
|
|
2045
2045
|
`/${n.apartmentJson.type}/${n.apartmentJson.id}/minimap/${S}`
|
|
2046
2046
|
)
|
|
@@ -2054,24 +2054,24 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2054
2054
|
return new Promise((I, A) => {
|
|
2055
2055
|
const R = new FileReader();
|
|
2056
2056
|
R.onload = () => {
|
|
2057
|
-
const
|
|
2058
|
-
I(
|
|
2057
|
+
const X = R.result.split(",")[1];
|
|
2058
|
+
I(X);
|
|
2059
2059
|
}, R.onerror = A, R.readAsDataURL(S);
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
return (S, I) => {
|
|
2063
|
-
const A = E("v-progress-linear"), R = E("v-icon"),
|
|
2063
|
+
const A = E("v-progress-linear"), R = E("v-icon"), X = E("v-slider");
|
|
2064
2064
|
return u(), L("div", Ga, [
|
|
2065
|
-
e("div",
|
|
2066
|
-
e("div",
|
|
2067
|
-
o.value ? (u(),
|
|
2065
|
+
e("div", Ka, [
|
|
2066
|
+
e("div", el, [
|
|
2067
|
+
o.value ? (u(), T(A, {
|
|
2068
2068
|
key: 0,
|
|
2069
2069
|
indeterminate: "",
|
|
2070
2070
|
rounded: "",
|
|
2071
2071
|
height: "6",
|
|
2072
2072
|
color: "grey lighten-1",
|
|
2073
2073
|
class: "mr-2"
|
|
2074
|
-
})) : (u(),
|
|
2074
|
+
})) : (u(), T(X, {
|
|
2075
2075
|
key: 1,
|
|
2076
2076
|
modelValue: i.value,
|
|
2077
2077
|
"onUpdate:modelValue": I[0] || (I[0] = ($) => i.value = $),
|
|
@@ -2085,30 +2085,30 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2085
2085
|
"thumb-label": "always"
|
|
2086
2086
|
}, {
|
|
2087
2087
|
prepend: v(() => [
|
|
2088
|
-
e("div",
|
|
2088
|
+
e("div", tl, [
|
|
2089
2089
|
y(R, { color: "#ffab02" }, {
|
|
2090
2090
|
default: v(() => [
|
|
2091
|
-
|
|
2091
|
+
le("mdi-white-balance-sunny")
|
|
2092
2092
|
]),
|
|
2093
2093
|
_: 1
|
|
2094
2094
|
}),
|
|
2095
|
-
e("span", null,
|
|
2095
|
+
e("span", null, P(w.value), 1)
|
|
2096
2096
|
])
|
|
2097
2097
|
]),
|
|
2098
2098
|
"thumb-label": v(() => [
|
|
2099
|
-
|
|
2099
|
+
le(P(g.value), 1)
|
|
2100
2100
|
]),
|
|
2101
2101
|
_: 1
|
|
2102
2102
|
}, 8, ["modelValue"]))
|
|
2103
2103
|
]),
|
|
2104
|
-
o.value ? V("", !0) : (u(), L("div",
|
|
2104
|
+
o.value ? V("", !0) : (u(), L("div", nl))
|
|
2105
2105
|
])
|
|
2106
2106
|
]);
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
}), jt = /* @__PURE__ */
|
|
2109
|
+
}), jt = /* @__PURE__ */ ne(ol, [["__scopeId", "data-v-52f122f2"]]), al = (t) => (vt("data-v-8c96c13c"), t = t(), mt(), t), ll = { class: "left" }, sl = { class: "right" }, il = /* @__PURE__ */ al(() => /* @__PURE__ */ e("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
2110
2110
|
/* @__PURE__ */ e("div", { class: "center" }, " ")
|
|
2111
|
-
], -1)),
|
|
2111
|
+
], -1)), rl = { class: "map-container" }, ul = /* @__PURE__ */ J({
|
|
2112
2112
|
__name: "VMiniMap",
|
|
2113
2113
|
props: {
|
|
2114
2114
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2121,12 +2121,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2121
2121
|
emits: ["close", "goToCamera"],
|
|
2122
2122
|
setup(t, { emit: l }) {
|
|
2123
2123
|
const n = _(null), a = t, i = l, o = _(), s = _(0), r = D(() => a.minimapJson.storeys[a.level]), p = _(0);
|
|
2124
|
-
|
|
2124
|
+
j(
|
|
2125
2125
|
() => a.apartmentJson,
|
|
2126
2126
|
() => {
|
|
2127
2127
|
p.value = p.value + 1;
|
|
2128
2128
|
}
|
|
2129
|
-
),
|
|
2129
|
+
), j(
|
|
2130
2130
|
r,
|
|
2131
2131
|
() => {
|
|
2132
2132
|
o.value = r.value.defaultSunsimFile ? `/${a.apartmentJson.type}/${a.apartmentJson.id}/minimap/sunsim0_13.jpg` : `/${a.apartmentJson.type}/${a.apartmentJson.id}/minimap/${r.value.defaultSunsimFile}`;
|
|
@@ -2157,13 +2157,13 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
return (S, I) => {
|
|
2159
2159
|
const A = E("v-btn");
|
|
2160
|
-
return u(),
|
|
2160
|
+
return u(), T(Ha, {
|
|
2161
2161
|
ref_key: "minimapMoveable",
|
|
2162
2162
|
ref: n,
|
|
2163
2163
|
size: F.value
|
|
2164
2164
|
}, {
|
|
2165
2165
|
"top-left": v(() => [
|
|
2166
|
-
e("div",
|
|
2166
|
+
e("div", ll, [
|
|
2167
2167
|
y(A, {
|
|
2168
2168
|
icon: "mdi-window-close",
|
|
2169
2169
|
size: "x-small",
|
|
@@ -2172,12 +2172,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2172
2172
|
])
|
|
2173
2173
|
]),
|
|
2174
2174
|
"top-right": v(() => [
|
|
2175
|
-
e("div",
|
|
2175
|
+
e("div", sl, [
|
|
2176
2176
|
y(A, {
|
|
2177
2177
|
class: "rotate-icon",
|
|
2178
2178
|
size: "x-small",
|
|
2179
2179
|
icon: "mdi mdi-rotate-right",
|
|
2180
|
-
onClick:
|
|
2180
|
+
onClick: In(C, ["stop"]),
|
|
2181
2181
|
title: "Rotate"
|
|
2182
2182
|
}),
|
|
2183
2183
|
y(A, {
|
|
@@ -2190,7 +2190,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2190
2190
|
])
|
|
2191
2191
|
]),
|
|
2192
2192
|
header: v(() => [
|
|
2193
|
-
|
|
2193
|
+
il
|
|
2194
2194
|
]),
|
|
2195
2195
|
body: v(() => [
|
|
2196
2196
|
y(zt, {
|
|
@@ -2198,7 +2198,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2198
2198
|
rotation: r.value.rotation.y,
|
|
2199
2199
|
"transform-angle": s.value
|
|
2200
2200
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
2201
|
-
e("div",
|
|
2201
|
+
e("div", rl, [
|
|
2202
2202
|
y(Ut, {
|
|
2203
2203
|
"transform-angle": s.value,
|
|
2204
2204
|
"all-cameras": S.apartmentJson.cameras,
|
|
@@ -2213,7 +2213,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2213
2213
|
])
|
|
2214
2214
|
]),
|
|
2215
2215
|
footer: v(() => [
|
|
2216
|
-
(u(),
|
|
2216
|
+
(u(), T(jt, {
|
|
2217
2217
|
key: p.value,
|
|
2218
2218
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
2219
2219
|
"minimap-json": a.minimapJson,
|
|
@@ -2226,12 +2226,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2226
2226
|
}, 8, ["size"]);
|
|
2227
2227
|
};
|
|
2228
2228
|
}
|
|
2229
|
-
}), Vt = /* @__PURE__ */
|
|
2230
|
-
function
|
|
2229
|
+
}), Vt = /* @__PURE__ */ ne(ul, [["__scopeId", "data-v-8c96c13c"]]);
|
|
2230
|
+
function ct(t) {
|
|
2231
2231
|
const l = t * 60, n = Math.floor(l / 60), a = l % 60;
|
|
2232
2232
|
return `${n.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
2233
2233
|
}
|
|
2234
|
-
const
|
|
2234
|
+
const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl = { class: "small" }, ml = { class: "small" }, pl = /* @__PURE__ */ J({
|
|
2235
2235
|
__name: "VSunsimSlider",
|
|
2236
2236
|
props: {
|
|
2237
2237
|
currentDay: {},
|
|
@@ -2241,9 +2241,9 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2241
2241
|
emits: ["onTimeChange", "toggleSunStudy"],
|
|
2242
2242
|
setup(t, { emit: l }) {
|
|
2243
2243
|
const n = t, { currentDay: a, currentTime: i, disabled: o } = Ce(n), s = l, r = _(i.value.timeInHours);
|
|
2244
|
-
return
|
|
2244
|
+
return j(i, () => {
|
|
2245
2245
|
r.value = i.value.timeInHours;
|
|
2246
|
-
}),
|
|
2246
|
+
}), j(
|
|
2247
2247
|
r,
|
|
2248
2248
|
() => {
|
|
2249
2249
|
s(
|
|
@@ -2256,8 +2256,8 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2256
2256
|
{ immediate: !0 }
|
|
2257
2257
|
), (p, h) => {
|
|
2258
2258
|
const g = E("v-icon"), w = E("v-slider"), k = E("v-field"), F = E("v-btn");
|
|
2259
|
-
return u(), L("div",
|
|
2260
|
-
e("div",
|
|
2259
|
+
return u(), L("div", cl, [
|
|
2260
|
+
e("div", dl, [
|
|
2261
2261
|
y(k, {
|
|
2262
2262
|
class: "ss-slider-field",
|
|
2263
2263
|
style: {},
|
|
@@ -2266,7 +2266,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2266
2266
|
flat: ""
|
|
2267
2267
|
}, {
|
|
2268
2268
|
default: v(() => [
|
|
2269
|
-
m(a).timeSamples.length > 1 ? (u(),
|
|
2269
|
+
m(a).timeSamples.length > 1 ? (u(), T(w, {
|
|
2270
2270
|
key: 0,
|
|
2271
2271
|
class: "pa-2 pr-2",
|
|
2272
2272
|
modelValue: r.value,
|
|
@@ -2287,25 +2287,25 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2287
2287
|
color: "warning"
|
|
2288
2288
|
}, {
|
|
2289
2289
|
default: v(() => [
|
|
2290
|
-
|
|
2290
|
+
le(" mdi-white-balance-sunny ")
|
|
2291
2291
|
]),
|
|
2292
2292
|
_: 1
|
|
2293
2293
|
}),
|
|
2294
|
-
e("span",
|
|
2294
|
+
e("span", vl, P(m(ct)(r.value)), 1)
|
|
2295
2295
|
]),
|
|
2296
2296
|
_: 1
|
|
2297
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(
|
|
2297
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
|
|
2298
2298
|
y(g, {
|
|
2299
2299
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2300
2300
|
class: "mr-2 icon",
|
|
2301
2301
|
color: "warning"
|
|
2302
2302
|
}, {
|
|
2303
2303
|
default: v(() => [
|
|
2304
|
-
|
|
2304
|
+
le(" mdi-white-balance-sunny ")
|
|
2305
2305
|
]),
|
|
2306
2306
|
_: 1
|
|
2307
2307
|
}),
|
|
2308
|
-
e("span",
|
|
2308
|
+
e("span", ml, P(m(ct)(r.value)), 1)
|
|
2309
2309
|
], 64))
|
|
2310
2310
|
]),
|
|
2311
2311
|
_: 1
|
|
@@ -2322,7 +2322,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2322
2322
|
]);
|
|
2323
2323
|
};
|
|
2324
2324
|
}
|
|
2325
|
-
}), Dt = /* @__PURE__ */
|
|
2325
|
+
}), Dt = /* @__PURE__ */ ne(pl, [["__scopeId", "data-v-c06c753d"]]), fl = /* @__PURE__ */ J({
|
|
2326
2326
|
__name: "VSunStudyToggle",
|
|
2327
2327
|
props: {
|
|
2328
2328
|
displaySunsim: { type: Boolean },
|
|
@@ -2333,7 +2333,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2333
2333
|
const n = l, a = Ie(De);
|
|
2334
2334
|
return (i, o) => {
|
|
2335
2335
|
const s = E("v-btn");
|
|
2336
|
-
return !i.displaySunsim && i.showUI ? (u(),
|
|
2336
|
+
return !i.displaySunsim && i.showUI ? (u(), T(s, {
|
|
2337
2337
|
key: 0,
|
|
2338
2338
|
size: "small",
|
|
2339
2339
|
varient: "tonal",
|
|
@@ -2342,13 +2342,13 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2342
2342
|
onClick: o[0] || (o[0] = (r) => n("toggleSunStudy"))
|
|
2343
2343
|
}, {
|
|
2344
2344
|
default: v(() => [
|
|
2345
|
-
|
|
2345
|
+
le(P(m(a).getLabel("openSunStudy")), 1)
|
|
2346
2346
|
]),
|
|
2347
2347
|
_: 1
|
|
2348
2348
|
})) : V("", !0);
|
|
2349
2349
|
};
|
|
2350
2350
|
}
|
|
2351
|
-
}),
|
|
2351
|
+
}), hl = /* @__PURE__ */ J({
|
|
2352
2352
|
__name: "VAutoplay",
|
|
2353
2353
|
props: {
|
|
2354
2354
|
autoplayStatus: { type: Boolean }
|
|
@@ -2360,7 +2360,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2360
2360
|
));
|
|
2361
2361
|
return (i, o) => {
|
|
2362
2362
|
const s = E("v-icon"), r = E("v-btn");
|
|
2363
|
-
return u(),
|
|
2363
|
+
return u(), T(r, {
|
|
2364
2364
|
size: "x-small",
|
|
2365
2365
|
class: me(["autoplay-btn", { mobile: a.value, "mt-1": a.value, "mx-1": a.value }]),
|
|
2366
2366
|
onClick: o[0] || (o[0] = (p) => n("toggleAutoPlay"))
|
|
@@ -2376,10 +2376,10 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2376
2376
|
}, 8, ["class"]);
|
|
2377
2377
|
};
|
|
2378
2378
|
}
|
|
2379
|
-
}), Bt = /* @__PURE__ */
|
|
2379
|
+
}), Bt = /* @__PURE__ */ ne(hl, [["__scopeId", "data-v-7fd2b4f3"]]), gl = {
|
|
2380
2380
|
key: 0,
|
|
2381
2381
|
class: "sun-icon-wrapper"
|
|
2382
|
-
},
|
|
2382
|
+
}, yl = 37, _l = 39, bl = /* @__PURE__ */ J({
|
|
2383
2383
|
__name: "VWaypointCarousel",
|
|
2384
2384
|
props: {
|
|
2385
2385
|
thumbnails: {},
|
|
@@ -2400,15 +2400,15 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2400
2400
|
));
|
|
2401
2401
|
Re(() => {
|
|
2402
2402
|
window.addEventListener("keydown", r);
|
|
2403
|
-
}),
|
|
2403
|
+
}), ot(() => {
|
|
2404
2404
|
window.removeEventListener("keydown", r);
|
|
2405
2405
|
});
|
|
2406
2406
|
function r(h) {
|
|
2407
2407
|
switch (h.keyCode) {
|
|
2408
|
-
case h.keyCode ===
|
|
2408
|
+
case h.keyCode === yl:
|
|
2409
2409
|
a("previous");
|
|
2410
2410
|
break;
|
|
2411
|
-
case h.keyCode ===
|
|
2411
|
+
case h.keyCode === _l:
|
|
2412
2412
|
a("next");
|
|
2413
2413
|
break;
|
|
2414
2414
|
default:
|
|
@@ -2439,7 +2439,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2439
2439
|
mandatory: ""
|
|
2440
2440
|
}, {
|
|
2441
2441
|
prev: v(() => [
|
|
2442
|
-
s.value ? V("", !0) : (u(),
|
|
2442
|
+
s.value ? V("", !0) : (u(), T(w, {
|
|
2443
2443
|
key: 0,
|
|
2444
2444
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2445
2445
|
icon: "mdi-chevron-left",
|
|
@@ -2449,7 +2449,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2449
2449
|
}, null, 8, ["class"]))
|
|
2450
2450
|
]),
|
|
2451
2451
|
next: v(() => [
|
|
2452
|
-
s.value ? V("", !0) : (u(),
|
|
2452
|
+
s.value ? V("", !0) : (u(), T(w, {
|
|
2453
2453
|
key: 0,
|
|
2454
2454
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2455
2455
|
icon: "mdi-chevron-right",
|
|
@@ -2459,7 +2459,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2459
2459
|
}, null, 8, ["class"]))
|
|
2460
2460
|
]),
|
|
2461
2461
|
default: v(() => [
|
|
2462
|
-
(u(!0), L(
|
|
2462
|
+
(u(!0), L(xe, null, Me(h.thumbnails, (S) => (u(), T(d, {
|
|
2463
2463
|
key: S.id
|
|
2464
2464
|
}, {
|
|
2465
2465
|
default: v(({ toggle: I, selectedClass: A }) => [
|
|
@@ -2480,7 +2480,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2480
2480
|
"aspect-ratio": 1,
|
|
2481
2481
|
src: S.thumbnailUrl
|
|
2482
2482
|
}, null, 8, ["src"]),
|
|
2483
|
-
n.cameraHasSunStudy(S.id) ? (u(), L("div",
|
|
2483
|
+
n.cameraHasSunStudy(S.id) ? (u(), L("div", gl, [
|
|
2484
2484
|
y(F, {
|
|
2485
2485
|
class: "sun-icon",
|
|
2486
2486
|
icon: "mdi-white-balance-sunny"
|
|
@@ -2499,10 +2499,10 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2499
2499
|
], 2);
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
|
-
}),
|
|
2502
|
+
}), dt = /* @__PURE__ */ ne(bl, [["__scopeId", "data-v-9cc758dc"]]), wl = {
|
|
2503
2503
|
id: "share-btns-wrapper",
|
|
2504
2504
|
class: "text-center"
|
|
2505
|
-
},
|
|
2505
|
+
}, kl = /* @__PURE__ */ J({
|
|
2506
2506
|
__name: "VSocialShare",
|
|
2507
2507
|
setup(t) {
|
|
2508
2508
|
const l = Ie(De), n = _(!1), a = _(location.href);
|
|
@@ -2547,7 +2547,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2547
2547
|
}, I), null, 16)
|
|
2548
2548
|
]),
|
|
2549
2549
|
default: v(() => [
|
|
2550
|
-
e("span", null,
|
|
2550
|
+
e("span", null, P(m(l).getLabel("share")), 1)
|
|
2551
2551
|
]),
|
|
2552
2552
|
_: 1
|
|
2553
2553
|
}),
|
|
@@ -2569,7 +2569,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2569
2569
|
}),
|
|
2570
2570
|
y(k, null, {
|
|
2571
2571
|
default: v(() => [
|
|
2572
|
-
|
|
2572
|
+
le(P(m(l).getLabel("share")), 1)
|
|
2573
2573
|
]),
|
|
2574
2574
|
_: 1
|
|
2575
2575
|
}),
|
|
@@ -2579,7 +2579,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2579
2579
|
}),
|
|
2580
2580
|
y(d, { class: "mt-5" }, {
|
|
2581
2581
|
default: v(() => [
|
|
2582
|
-
e("p",
|
|
2582
|
+
e("p", wl, [
|
|
2583
2583
|
y(w, { location: "top" }, {
|
|
2584
2584
|
activator: v(({ props: I }) => [
|
|
2585
2585
|
y(g, Ee({
|
|
@@ -2590,7 +2590,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2590
2590
|
}, I, { onClick: i }), null, 16)
|
|
2591
2591
|
]),
|
|
2592
2592
|
default: v(() => [
|
|
2593
|
-
e("span", null,
|
|
2593
|
+
e("span", null, P(m(l).getLabel("shareToFacebook")), 1)
|
|
2594
2594
|
]),
|
|
2595
2595
|
_: 1
|
|
2596
2596
|
}),
|
|
@@ -2604,7 +2604,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2604
2604
|
}, I, { onClick: s }), null, 16)
|
|
2605
2605
|
]),
|
|
2606
2606
|
default: v(() => [
|
|
2607
|
-
e("span", null,
|
|
2607
|
+
e("span", null, P(m(l).getLabel("shareToLinkedin")), 1)
|
|
2608
2608
|
]),
|
|
2609
2609
|
_: 1
|
|
2610
2610
|
}),
|
|
@@ -2618,7 +2618,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2618
2618
|
}, I, { onClick: o }), null, 16)
|
|
2619
2619
|
]),
|
|
2620
2620
|
default: v(() => [
|
|
2621
|
-
e("span", null,
|
|
2621
|
+
e("span", null, P(m(l).getLabel("shareToTwitter")), 1)
|
|
2622
2622
|
]),
|
|
2623
2623
|
_: 1
|
|
2624
2624
|
}),
|
|
@@ -2634,7 +2634,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2634
2634
|
}, I), null, 16, ["href"])
|
|
2635
2635
|
]),
|
|
2636
2636
|
default: v(() => [
|
|
2637
|
-
e("span", null,
|
|
2637
|
+
e("span", null, P(m(l).getLabel("shareViaEmail")), 1)
|
|
2638
2638
|
]),
|
|
2639
2639
|
_: 1
|
|
2640
2640
|
}),
|
|
@@ -2649,7 +2649,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2649
2649
|
}, I), null, 16)
|
|
2650
2650
|
]),
|
|
2651
2651
|
default: v(() => [
|
|
2652
|
-
e("span", null,
|
|
2652
|
+
e("span", null, P(m(l).getLabel("copyLink")), 1)
|
|
2653
2653
|
]),
|
|
2654
2654
|
_: 1
|
|
2655
2655
|
}),
|
|
@@ -2667,7 +2667,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2667
2667
|
]);
|
|
2668
2668
|
};
|
|
2669
2669
|
}
|
|
2670
|
-
}), Wt = /* @__PURE__ */
|
|
2670
|
+
}), Wt = /* @__PURE__ */ ne(kl, [["__scopeId", "data-v-bb7d0a99"]]), Cl = { class: "static-image-wrapper" }, Sl = /* @__PURE__ */ J({
|
|
2671
2671
|
__name: "VSingleImage",
|
|
2672
2672
|
props: {
|
|
2673
2673
|
image: {},
|
|
@@ -2675,14 +2675,14 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2675
2675
|
},
|
|
2676
2676
|
setup(t) {
|
|
2677
2677
|
const l = t, n = D(() => ({ "background-image": `url("${encodeURI(l.image)}")` }));
|
|
2678
|
-
return (a, i) => (u(), L("div",
|
|
2678
|
+
return (a, i) => (u(), L("div", Cl, [
|
|
2679
2679
|
e("div", {
|
|
2680
2680
|
class: me(["img-div", [a.aspectRatio]]),
|
|
2681
|
-
style:
|
|
2681
|
+
style: ae(n.value)
|
|
2682
2682
|
}, null, 6)
|
|
2683
2683
|
]));
|
|
2684
2684
|
}
|
|
2685
|
-
}),
|
|
2685
|
+
}), Al = /* @__PURE__ */ ne(Sl, [["__scopeId", "data-v-31489804"]]), xl = {
|
|
2686
2686
|
id: "btn-fullscreen",
|
|
2687
2687
|
class: "btn-placeholder mr-2"
|
|
2688
2688
|
}, Pt = /* @__PURE__ */ J({
|
|
@@ -2695,7 +2695,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2695
2695
|
const n = l;
|
|
2696
2696
|
return (a, i) => {
|
|
2697
2697
|
const o = E("v-btn");
|
|
2698
|
-
return u(), L("div",
|
|
2698
|
+
return u(), L("div", xl, [
|
|
2699
2699
|
y(o, {
|
|
2700
2700
|
density: "comfortable",
|
|
2701
2701
|
elevation: "3",
|
|
@@ -2761,23 +2761,23 @@ class Nt {
|
|
|
2761
2761
|
this._state.isActive = l;
|
|
2762
2762
|
}
|
|
2763
2763
|
}
|
|
2764
|
-
function
|
|
2764
|
+
function et(t) {
|
|
2765
2765
|
return ("0" + t).slice(-2);
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function Il() {
|
|
2768
2768
|
const t = /* @__PURE__ */ new Date();
|
|
2769
2769
|
return [
|
|
2770
2770
|
t.getFullYear().toString(),
|
|
2771
|
-
|
|
2772
|
-
|
|
2771
|
+
et(t.getMonth() + 1),
|
|
2772
|
+
et(t.getDate()),
|
|
2773
2773
|
" ",
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2774
|
+
et(t.getHours()),
|
|
2775
|
+
et(t.getMinutes()),
|
|
2776
|
+
et(t.getSeconds())
|
|
2777
2777
|
].join("");
|
|
2778
2778
|
}
|
|
2779
|
-
function
|
|
2780
|
-
return "Visuado-Snapshot-" +
|
|
2779
|
+
function Ll() {
|
|
2780
|
+
return "Visuado-Snapshot-" + Il();
|
|
2781
2781
|
}
|
|
2782
2782
|
class Tt {
|
|
2783
2783
|
// private cameraParams: any
|
|
@@ -2786,22 +2786,22 @@ class Tt {
|
|
|
2786
2786
|
this.data = l;
|
|
2787
2787
|
}
|
|
2788
2788
|
download(l = null) {
|
|
2789
|
-
l = l ||
|
|
2789
|
+
l = l || Ll();
|
|
2790
2790
|
const n = document.createElement("a");
|
|
2791
2791
|
typeof n.download == "string" ? (document.body.appendChild(n), n.download = l, n.href = this.data, n.click(), document.body.removeChild(n)) : location.replace(this.data);
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
|
-
const
|
|
2794
|
+
const El = {
|
|
2795
2795
|
id: "btn-magic",
|
|
2796
2796
|
class: "btn-placeholder mr-2"
|
|
2797
|
-
},
|
|
2797
|
+
}, Ml = /* @__PURE__ */ J({
|
|
2798
2798
|
__name: "VVisuadoCreateButton",
|
|
2799
2799
|
emits: ["onSnapshot"],
|
|
2800
2800
|
setup(t, { emit: l }) {
|
|
2801
2801
|
const n = l;
|
|
2802
2802
|
return (a, i) => {
|
|
2803
2803
|
const o = E("v-btn");
|
|
2804
|
-
return u(), L("div",
|
|
2804
|
+
return u(), L("div", El, [
|
|
2805
2805
|
y(o, {
|
|
2806
2806
|
density: "comfortable",
|
|
2807
2807
|
elevation: "3",
|
|
@@ -2811,31 +2811,31 @@ const Ll = {
|
|
|
2811
2811
|
]);
|
|
2812
2812
|
};
|
|
2813
2813
|
}
|
|
2814
|
-
}),
|
|
2814
|
+
}), Fl = {
|
|
2815
2815
|
key: 0,
|
|
2816
2816
|
class: "player-error"
|
|
2817
|
-
},
|
|
2817
|
+
}, Vl = { class: "player-and-components-wrapper" }, Dl = {
|
|
2818
2818
|
key: 3,
|
|
2819
2819
|
class: "settings-panel"
|
|
2820
|
-
},
|
|
2820
|
+
}, Bl = {
|
|
2821
2821
|
key: 0,
|
|
2822
2822
|
class: "compass-wrapper"
|
|
2823
|
-
},
|
|
2823
|
+
}, Tl = {
|
|
2824
2824
|
key: 1,
|
|
2825
2825
|
class: "btn-placeholder mr-2"
|
|
2826
|
-
},
|
|
2826
|
+
}, Ol = { class: "btn-placeholder mr-2" }, $l = {
|
|
2827
2827
|
key: 2,
|
|
2828
2828
|
class: "btn-placeholder mr-2"
|
|
2829
|
-
},
|
|
2829
|
+
}, Rl = {
|
|
2830
2830
|
key: 3,
|
|
2831
2831
|
class: "btn-placeholder mr-2"
|
|
2832
|
-
},
|
|
2832
|
+
}, Yl = { class: "d-flex flex-column align-end" }, Hl = {
|
|
2833
2833
|
key: 0,
|
|
2834
2834
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
2835
|
-
},
|
|
2835
|
+
}, Ul = {
|
|
2836
2836
|
key: 2,
|
|
2837
2837
|
class: "render-version"
|
|
2838
|
-
},
|
|
2838
|
+
}, zl = /* @__PURE__ */ J({
|
|
2839
2839
|
__name: "VVirtualTour",
|
|
2840
2840
|
props: {
|
|
2841
2841
|
cdnFileResolver: {},
|
|
@@ -2898,35 +2898,39 @@ const Ll = {
|
|
|
2898
2898
|
showFloorLevel: I,
|
|
2899
2899
|
defaultWaypointIndex: A,
|
|
2900
2900
|
defaultViewMode: R,
|
|
2901
|
-
mouseSensitivity:
|
|
2901
|
+
mouseSensitivity: X,
|
|
2902
2902
|
// isInIframe,
|
|
2903
2903
|
adminMode: $,
|
|
2904
|
-
playerSettings:
|
|
2904
|
+
playerSettings: te,
|
|
2905
2905
|
hasMarkersJson: de,
|
|
2906
2906
|
dynamicMarkers: Y,
|
|
2907
2907
|
version: Se,
|
|
2908
|
-
showVersion:
|
|
2909
|
-
} = Ce(a), O = n,
|
|
2908
|
+
showVersion: ye
|
|
2909
|
+
} = Ce(a), O = n, re = _(!1), N = _(!1), se = _(!1), H = _(), M = _(), q = _(), Q = _(), U = _(), oe = _(0), Z = _(), ie = _(), W = _(), pe = _(0), he = _(0), ve = _(0), be = _(!1), we = _(!1), Be = _(), ke = _(!1), ce = _(!1), Te = _({
|
|
2910
|
+
startTime: 0,
|
|
2911
|
+
startX: 0,
|
|
2912
|
+
startY: 0
|
|
2913
|
+
}), Fe = _(
|
|
2910
2914
|
new Nt(document, "player-wrapper")
|
|
2911
2915
|
);
|
|
2912
2916
|
l({
|
|
2913
2917
|
updateSelectedInterior: At,
|
|
2914
2918
|
takeSnapshot: Lt,
|
|
2915
2919
|
setCurrentCamera: je,
|
|
2916
|
-
getCurrentRotation:
|
|
2917
|
-
setCurrentRotation:
|
|
2918
|
-
getCurrentFov:
|
|
2919
|
-
setCurrentFov:
|
|
2920
|
-
loadDynamicMarkers:
|
|
2921
|
-
screenToWorld:
|
|
2922
|
-
setFrontendMarkers:
|
|
2923
|
-
clearCurrentMarkerLayer:
|
|
2920
|
+
getCurrentRotation: Kt,
|
|
2921
|
+
setCurrentRotation: en,
|
|
2922
|
+
getCurrentFov: tn,
|
|
2923
|
+
setCurrentFov: nn,
|
|
2924
|
+
loadDynamicMarkers: pn,
|
|
2925
|
+
screenToWorld: fn,
|
|
2926
|
+
setFrontendMarkers: dn,
|
|
2927
|
+
clearCurrentMarkerLayer: mn,
|
|
2924
2928
|
apartmentJson: M
|
|
2925
2929
|
});
|
|
2926
|
-
const
|
|
2930
|
+
const pt = _(), Je = D(() => {
|
|
2927
2931
|
if (M.value) {
|
|
2928
2932
|
const c = M.value.cameras.map(
|
|
2929
|
-
(
|
|
2933
|
+
(z) => z.floorLevel
|
|
2930
2934
|
);
|
|
2931
2935
|
let x = [...new Set(c)];
|
|
2932
2936
|
return x = x.sort(), x;
|
|
@@ -2938,53 +2942,53 @@ const Ll = {
|
|
|
2938
2942
|
const x = M.value.cameras.map(
|
|
2939
2943
|
(Pe) => Pe.floorLevel
|
|
2940
2944
|
);
|
|
2941
|
-
let
|
|
2942
|
-
|
|
2943
|
-
const fe =
|
|
2945
|
+
let z = [...new Set(x)];
|
|
2946
|
+
z = z.sort();
|
|
2947
|
+
const fe = z.findIndex(
|
|
2944
2948
|
(Pe) => Pe === he.value
|
|
2945
2949
|
);
|
|
2946
2950
|
fe !== -1 && (c = fe);
|
|
2947
2951
|
}
|
|
2948
2952
|
return c;
|
|
2949
|
-
}),
|
|
2950
|
-
(c) => c.archetypeID ===
|
|
2951
|
-
)),
|
|
2953
|
+
}), Xe = D(() => at.value.findIndex(
|
|
2954
|
+
(c) => c.archetypeID === Z.value
|
|
2955
|
+
)), ge = D(() => q.value ? q.value.cameras.map((c) => ({
|
|
2952
2956
|
...c,
|
|
2953
|
-
thumbnailUrl:
|
|
2954
|
-
`/${
|
|
2957
|
+
thumbnailUrl: st(
|
|
2958
|
+
`/${Z.value}/${o.value}/thumbs/200/${c.id}.jpg`
|
|
2955
2959
|
),
|
|
2956
|
-
imageUrl:
|
|
2957
|
-
`/${
|
|
2960
|
+
imageUrl: st(
|
|
2961
|
+
`/${Z.value}/${o.value}/images/1600/${c.id}.jpg`
|
|
2958
2962
|
)
|
|
2959
|
-
})) : []),
|
|
2963
|
+
})) : []), ft = D(() => !ge.value || !ge.value[oe.value] ? "" : ge.value[oe.value].imageUrl), at = D(() => {
|
|
2960
2964
|
let c = [];
|
|
2961
2965
|
return H.value && (c = H.value.archetypes), r.value.length ? c.filter(
|
|
2962
2966
|
(x) => r.value.includes(x.archetypeID)
|
|
2963
2967
|
) : c;
|
|
2964
|
-
}),
|
|
2965
|
-
var
|
|
2966
|
-
const x = (
|
|
2968
|
+
}), b = D(() => q.value ? at.value.map((c) => {
|
|
2969
|
+
var z;
|
|
2970
|
+
const x = (z = ge.value[oe.value]) == null ? void 0 : z.id;
|
|
2967
2971
|
return {
|
|
2968
2972
|
...c,
|
|
2969
|
-
url:
|
|
2973
|
+
url: st(
|
|
2970
2974
|
`/${c.archetypeID}/${o.value}/thumbs/200/${x}.jpg`
|
|
2971
2975
|
)
|
|
2972
2976
|
};
|
|
2973
|
-
}) : []),
|
|
2974
|
-
if (
|
|
2975
|
-
return
|
|
2976
|
-
}),
|
|
2977
|
+
}) : []), B = D(() => {
|
|
2978
|
+
if (Q.value && Q.value.storeys && Ye.value in Q.value.storeys)
|
|
2979
|
+
return Q.value.storeys[Ye.value];
|
|
2980
|
+
}), ee = D(() => M.value && M.value.timeInHours), ue = D(() => {
|
|
2977
2981
|
if (M.value && M.value.timeInHours && w.value)
|
|
2978
|
-
return
|
|
2982
|
+
return wn(M.value.timeInHours);
|
|
2979
2983
|
});
|
|
2980
|
-
|
|
2984
|
+
nt(
|
|
2981
2985
|
De,
|
|
2982
2986
|
h.value ? new Ze(h.value) : new Ze()
|
|
2983
2987
|
);
|
|
2984
|
-
const
|
|
2988
|
+
const G = D(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2985
2989
|
window.navigator.userAgent
|
|
2986
|
-
)),
|
|
2987
|
-
const c =
|
|
2990
|
+
)), Ae = D(() => G.value ? "platform-mobile" : "platform-desktop"), Ge = D(() => {
|
|
2991
|
+
const c = _e(
|
|
2988
2992
|
i.value,
|
|
2989
2993
|
"/config.json"
|
|
2990
2994
|
);
|
|
@@ -2992,28 +2996,28 @@ const Ll = {
|
|
|
2992
2996
|
`${c}-dont-show-tutorial`
|
|
2993
2997
|
);
|
|
2994
2998
|
});
|
|
2995
|
-
|
|
2996
|
-
s.value && (
|
|
2997
|
-
}),
|
|
2999
|
+
j(s, () => {
|
|
3000
|
+
s.value && (Z.value = s.value);
|
|
3001
|
+
}), j(
|
|
2998
3002
|
[i, o],
|
|
2999
3003
|
async () => {
|
|
3000
3004
|
try {
|
|
3001
|
-
|
|
3005
|
+
ie.value = void 0, await Zt(), Jt(), await qt(), Fe.value.setup(), Xt();
|
|
3002
3006
|
} catch (c) {
|
|
3003
|
-
|
|
3007
|
+
se.value = !0, O("onError", c);
|
|
3004
3008
|
}
|
|
3005
3009
|
},
|
|
3006
3010
|
{ immediate: !0 }
|
|
3007
|
-
),
|
|
3011
|
+
), j(
|
|
3008
3012
|
R,
|
|
3009
3013
|
() => {
|
|
3010
|
-
R.value === "virtualTour" && (
|
|
3014
|
+
R.value === "virtualTour" && (be.value = !1), R.value === "slideShow" && (be.value = !0, ce.value = !0);
|
|
3011
3015
|
},
|
|
3012
3016
|
{ immediate: !0 }
|
|
3013
|
-
),
|
|
3017
|
+
), j(ke, () => {
|
|
3014
3018
|
if (ke.value) {
|
|
3015
3019
|
ce.value = !1;
|
|
3016
|
-
const c = We(
|
|
3020
|
+
const c = We(W.value);
|
|
3017
3021
|
Be.value = c[0].timeSamples.find(
|
|
3018
3022
|
(x) => x.timeInHours === c[0].defaultHour
|
|
3019
3023
|
);
|
|
@@ -3021,54 +3025,54 @@ const Ll = {
|
|
|
3021
3025
|
ce.value = !0, U.value.unloadSunSim();
|
|
3022
3026
|
}), Re(async () => {
|
|
3023
3027
|
try {
|
|
3024
|
-
|
|
3025
|
-
|
|
3028
|
+
Ge.value ? (re.value = !1, ce.value = !0) : setTimeout(() => {
|
|
3029
|
+
re.value = !0;
|
|
3026
3030
|
}, 1e3);
|
|
3027
3031
|
} catch (c) {
|
|
3028
|
-
|
|
3032
|
+
se.value = !0, O("onError", c);
|
|
3029
3033
|
}
|
|
3030
|
-
}),
|
|
3034
|
+
}), ot(() => {
|
|
3031
3035
|
document.removeEventListener("wheel", ht);
|
|
3032
3036
|
});
|
|
3033
|
-
function
|
|
3034
|
-
ce.value = !0,
|
|
3037
|
+
function Le(c = !1) {
|
|
3038
|
+
ce.value = !0, re.value = !1, c && Qt();
|
|
3035
3039
|
}
|
|
3036
|
-
function
|
|
3037
|
-
const c =
|
|
3040
|
+
function Qt() {
|
|
3041
|
+
const c = _e(
|
|
3038
3042
|
i.value,
|
|
3039
3043
|
"/config.json"
|
|
3040
3044
|
);
|
|
3041
3045
|
localStorage.setItem(`${c}-dont-show-tutorial`, "true");
|
|
3042
3046
|
}
|
|
3043
|
-
async function
|
|
3047
|
+
async function Zt() {
|
|
3044
3048
|
H.value = await Gt();
|
|
3045
3049
|
}
|
|
3046
|
-
async function
|
|
3050
|
+
async function qt() {
|
|
3047
3051
|
var c;
|
|
3048
3052
|
if (M.value = await kt(
|
|
3049
|
-
|
|
3053
|
+
Z.value,
|
|
3050
3054
|
o.value
|
|
3051
|
-
), M.value && (
|
|
3052
|
-
|
|
3055
|
+
), M.value && (ie.value = (c = M.value.cameras[0]) == null ? void 0 : c.id), q.value = await Ct(
|
|
3056
|
+
Z.value,
|
|
3053
3057
|
o.value
|
|
3054
|
-
),
|
|
3058
|
+
), q.value) {
|
|
3055
3059
|
const x = A.value !== null ? A.value : 0;
|
|
3056
|
-
|
|
3060
|
+
oe.value = x, ie.value = q.value.cameras[x].id, W.value = q.value.cameras[x].id;
|
|
3057
3061
|
}
|
|
3058
|
-
S.value && (
|
|
3059
|
-
|
|
3062
|
+
S.value && (Q.value = await St(
|
|
3063
|
+
Z.value,
|
|
3060
3064
|
o.value
|
|
3061
3065
|
));
|
|
3062
3066
|
}
|
|
3063
|
-
function
|
|
3067
|
+
function Jt() {
|
|
3064
3068
|
let c = s.value;
|
|
3065
|
-
c || (c = H.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(c) ? c = r.value[0] : console.warn("illegal interior id", c, r), c || (c = H.value.archetypes[0].archetypeID),
|
|
3069
|
+
c || (c = H.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(c) ? c = r.value[0] : console.warn("illegal interior id", c, r), c || (c = H.value.archetypes[0].archetypeID), Z.value = c;
|
|
3066
3070
|
}
|
|
3067
|
-
function
|
|
3071
|
+
function Xt() {
|
|
3068
3072
|
const c = document.getElementById("main-canvas");
|
|
3069
3073
|
c.addEventListener("touchmove", x, { passive: !1 });
|
|
3070
|
-
function x(
|
|
3071
|
-
|
|
3074
|
+
function x(z) {
|
|
3075
|
+
z.preventDefault(), window.scrollBy(0, 0);
|
|
3072
3076
|
}
|
|
3073
3077
|
c.addEventListener(
|
|
3074
3078
|
"mouseenter",
|
|
@@ -3084,6 +3088,20 @@ const Ll = {
|
|
|
3084
3088
|
document.removeEventListener("wheel", ht);
|
|
3085
3089
|
},
|
|
3086
3090
|
{ passive: !1 }
|
|
3091
|
+
), c.addEventListener(
|
|
3092
|
+
"mousedown",
|
|
3093
|
+
(z) => {
|
|
3094
|
+
Te.value.startTime = (/* @__PURE__ */ new Date()).getTime(), Te.value.startX = z.clientX, Te.value.startY = z.clientY;
|
|
3095
|
+
},
|
|
3096
|
+
{ passive: !1 }
|
|
3097
|
+
), c.addEventListener(
|
|
3098
|
+
"mouseup",
|
|
3099
|
+
(z) => {
|
|
3100
|
+
(/* @__PURE__ */ new Date()).getTime() - Te.value.startTime < 200 && Math.sqrt(Math.pow(z.clientX, 2) + Math.pow(z.clientY, 2)) - Math.sqrt(
|
|
3101
|
+
Math.pow(Te.value.startX, 2) + Math.pow(Te.value.startY, 2)
|
|
3102
|
+
) < 5 && (ke.value = !1);
|
|
3103
|
+
},
|
|
3104
|
+
{ passive: !1 }
|
|
3087
3105
|
);
|
|
3088
3106
|
}
|
|
3089
3107
|
function ht(c) {
|
|
@@ -3091,11 +3109,11 @@ const Ll = {
|
|
|
3091
3109
|
}
|
|
3092
3110
|
async function Gt() {
|
|
3093
3111
|
try {
|
|
3094
|
-
return await
|
|
3112
|
+
return await it("/config.json");
|
|
3095
3113
|
} catch (c) {
|
|
3096
3114
|
console.error(
|
|
3097
3115
|
"Error loading config.json - ",
|
|
3098
|
-
|
|
3116
|
+
_e(i.value, "/config.json"),
|
|
3099
3117
|
c
|
|
3100
3118
|
);
|
|
3101
3119
|
return;
|
|
@@ -3103,21 +3121,21 @@ const Ll = {
|
|
|
3103
3121
|
}
|
|
3104
3122
|
async function kt(c, x) {
|
|
3105
3123
|
try {
|
|
3106
|
-
return await
|
|
3124
|
+
return await it(
|
|
3107
3125
|
`/${c}/${x}/apartment.json`
|
|
3108
3126
|
);
|
|
3109
|
-
} catch (
|
|
3127
|
+
} catch (z) {
|
|
3110
3128
|
console.error(
|
|
3111
3129
|
"Error loading apartment.json - ",
|
|
3112
3130
|
`/${c}/${x}/apartment.json`,
|
|
3113
|
-
|
|
3131
|
+
z
|
|
3114
3132
|
);
|
|
3115
3133
|
return;
|
|
3116
3134
|
}
|
|
3117
3135
|
}
|
|
3118
3136
|
async function Ct(c, x) {
|
|
3119
3137
|
try {
|
|
3120
|
-
return await
|
|
3138
|
+
return await it(
|
|
3121
3139
|
`/${c}/${x}/thumbs.json`
|
|
3122
3140
|
);
|
|
3123
3141
|
} catch {
|
|
@@ -3130,7 +3148,7 @@ const Ll = {
|
|
|
3130
3148
|
}
|
|
3131
3149
|
async function St(c, x) {
|
|
3132
3150
|
try {
|
|
3133
|
-
return await
|
|
3151
|
+
return await it(
|
|
3134
3152
|
`/${c}/${x}/minimap/minimap.json`
|
|
3135
3153
|
);
|
|
3136
3154
|
} catch {
|
|
@@ -3141,139 +3159,139 @@ const Ll = {
|
|
|
3141
3159
|
return;
|
|
3142
3160
|
}
|
|
3143
3161
|
}
|
|
3144
|
-
function
|
|
3162
|
+
function Kt() {
|
|
3145
3163
|
return U.value.getCameraRotation();
|
|
3146
3164
|
}
|
|
3147
|
-
function
|
|
3165
|
+
function en(c) {
|
|
3148
3166
|
return U.value.setCameraRotation(c);
|
|
3149
3167
|
}
|
|
3150
|
-
function
|
|
3168
|
+
function tn() {
|
|
3151
3169
|
return U.value.getCameraFov();
|
|
3152
3170
|
}
|
|
3153
|
-
function
|
|
3171
|
+
function nn(c) {
|
|
3154
3172
|
return U.value.setCameraFov(c);
|
|
3155
3173
|
}
|
|
3156
|
-
function
|
|
3157
|
-
let c =
|
|
3158
|
-
c >=
|
|
3174
|
+
function lt() {
|
|
3175
|
+
let c = oe.value + 1;
|
|
3176
|
+
c >= ge.value.length && (c = 0), oe.value = c, je(ge.value[oe.value].id);
|
|
3159
3177
|
}
|
|
3160
3178
|
function gt() {
|
|
3161
|
-
let c =
|
|
3162
|
-
c < 0 && (c =
|
|
3179
|
+
let c = oe.value - 1;
|
|
3180
|
+
c < 0 && (c = ge.value.length - 1), oe.value = c, je(ge.value[oe.value].id);
|
|
3163
3181
|
}
|
|
3164
3182
|
function yt(c, x = !0) {
|
|
3165
|
-
let
|
|
3166
|
-
|
|
3183
|
+
let z = ge.value.findIndex((fe) => fe.id === c);
|
|
3184
|
+
z != -1 && (oe.value = z, x && je(c));
|
|
3167
3185
|
}
|
|
3168
3186
|
function je(c) {
|
|
3169
|
-
ke.value = !1,
|
|
3187
|
+
ke.value = !1, ie.value = c;
|
|
3170
3188
|
}
|
|
3171
3189
|
function At(c) {
|
|
3172
|
-
|
|
3190
|
+
Z.value = c, on(), O("onInteriorUpdate", c), O("onCameraUpdate", W.value, M.value);
|
|
3173
3191
|
}
|
|
3174
|
-
async function
|
|
3192
|
+
async function on() {
|
|
3175
3193
|
M.value = await kt(
|
|
3176
|
-
|
|
3194
|
+
Z.value,
|
|
3177
3195
|
o.value
|
|
3178
|
-
),
|
|
3179
|
-
|
|
3196
|
+
), q.value = await Ct(
|
|
3197
|
+
Z.value,
|
|
3180
3198
|
o.value
|
|
3181
|
-
), S.value && (
|
|
3182
|
-
|
|
3199
|
+
), S.value && (Q.value = await St(
|
|
3200
|
+
Z.value,
|
|
3183
3201
|
o.value
|
|
3184
3202
|
));
|
|
3185
3203
|
}
|
|
3186
|
-
function
|
|
3187
|
-
|
|
3204
|
+
function an(c) {
|
|
3205
|
+
W.value = c, W.value && (yt(W.value, !1), O("onCameraUpdate", W.value, M.value));
|
|
3188
3206
|
}
|
|
3189
3207
|
const He = D(() => (c) => {
|
|
3190
3208
|
const x = We(c);
|
|
3191
3209
|
return !x || !x[0] || !x[0].timeSamples ? !1 : x[0].timeSamples.length > 1;
|
|
3192
3210
|
}), We = (c) => {
|
|
3193
|
-
const x = M.value.cameras.find((
|
|
3211
|
+
const x = M.value.cameras.find((z) => z.id === c);
|
|
3194
3212
|
return x == null ? void 0 : x.sunsimDayOfYear;
|
|
3195
3213
|
};
|
|
3196
|
-
function
|
|
3214
|
+
function ln(c) {
|
|
3197
3215
|
O("onSunsimUpdate", c);
|
|
3198
3216
|
}
|
|
3199
3217
|
function xt(c) {
|
|
3200
3218
|
U.value.loadSunSim(c.timeInHours);
|
|
3201
3219
|
}
|
|
3202
|
-
function
|
|
3220
|
+
function sn(c) {
|
|
3203
3221
|
pe.value = c;
|
|
3204
3222
|
}
|
|
3205
3223
|
function It(c) {
|
|
3206
3224
|
he.value = c;
|
|
3207
3225
|
}
|
|
3208
|
-
function
|
|
3226
|
+
function rn(c) {
|
|
3209
3227
|
ve.value = c;
|
|
3210
3228
|
}
|
|
3211
|
-
function
|
|
3229
|
+
function un(c, x) {
|
|
3212
3230
|
}
|
|
3213
|
-
function
|
|
3231
|
+
function cn(c) {
|
|
3214
3232
|
O("onFrontendMarkersUpdate", c);
|
|
3215
3233
|
}
|
|
3216
|
-
function
|
|
3234
|
+
function dn(c) {
|
|
3217
3235
|
if (!U.value) {
|
|
3218
3236
|
console.warn("Player API is not initialized, cannot set frontend markers.");
|
|
3219
3237
|
return;
|
|
3220
3238
|
}
|
|
3221
3239
|
U.value.updateFrontendMarkers(c);
|
|
3222
3240
|
}
|
|
3223
|
-
function
|
|
3224
|
-
U.value = c, U.value && (
|
|
3241
|
+
function vn(c) {
|
|
3242
|
+
U.value = c, U.value && (te.value && U.value.updateSettings(te.value), de.value ? U.value.loadMarkersJson() : Y.value && U.value.loadDynamicMarkers(Y.value), O("onInitialized", U.value));
|
|
3225
3243
|
}
|
|
3226
|
-
function
|
|
3244
|
+
function mn() {
|
|
3227
3245
|
U.value.clearCurrentMarkerLayer();
|
|
3228
3246
|
}
|
|
3229
|
-
function
|
|
3247
|
+
function pn(c) {
|
|
3230
3248
|
U.value.loadDynamicMarkers(c);
|
|
3231
3249
|
}
|
|
3232
|
-
function
|
|
3250
|
+
function fn(c) {
|
|
3233
3251
|
return U.value.screenToWorld(c);
|
|
3234
3252
|
}
|
|
3235
|
-
function
|
|
3253
|
+
function hn() {
|
|
3236
3254
|
Fe.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
3237
3255
|
}
|
|
3238
|
-
function
|
|
3239
|
-
|
|
3256
|
+
function gn() {
|
|
3257
|
+
be.value = !be.value;
|
|
3240
3258
|
}
|
|
3241
3259
|
async function Lt() {
|
|
3242
|
-
const c = 180 / Math.PI, x = await U.value.takePhoto(),
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3260
|
+
const c = 180 / Math.PI, x = await U.value.takePhoto(), z = U.value.getRotationEuler(), fe = U.value.getCurrentCamera(), Pe = new Tt(x, fe), kn = [
|
|
3261
|
+
z.x * -c,
|
|
3262
|
+
z.y * -c,
|
|
3263
|
+
z.z * c
|
|
3246
3264
|
];
|
|
3247
|
-
return O("onSnapshot", Pe,
|
|
3265
|
+
return O("onSnapshot", Pe, kn), Pe;
|
|
3248
3266
|
}
|
|
3249
|
-
async function
|
|
3267
|
+
async function yn() {
|
|
3250
3268
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
3251
|
-
const c = await U.value.takePhoto(), x = U.value.getCurrentCamera(),
|
|
3252
|
-
O("onVisuadoCreateButtonClicked",
|
|
3269
|
+
const c = await U.value.takePhoto(), x = U.value.getCurrentCamera(), z = new Tt(c, x);
|
|
3270
|
+
O("onVisuadoCreateButtonClicked", z);
|
|
3253
3271
|
}
|
|
3254
|
-
function
|
|
3255
|
-
let x =
|
|
3272
|
+
function st(c) {
|
|
3273
|
+
let x = _e(i.value, c);
|
|
3256
3274
|
return x && $.value && !x.startsWith("blob:") && (x = x + `?v=${Date.now()}`), x;
|
|
3257
3275
|
}
|
|
3258
|
-
async function
|
|
3259
|
-
const x =
|
|
3276
|
+
async function it(c) {
|
|
3277
|
+
const x = st(c);
|
|
3260
3278
|
try {
|
|
3261
|
-
return (await
|
|
3262
|
-
} catch (
|
|
3263
|
-
throw new Error(
|
|
3279
|
+
return (await ut.get(x)).data;
|
|
3280
|
+
} catch (z) {
|
|
3281
|
+
throw new Error(z);
|
|
3264
3282
|
}
|
|
3265
3283
|
}
|
|
3266
|
-
function
|
|
3284
|
+
function _n(c) {
|
|
3267
3285
|
U.value.updateSettings(c);
|
|
3268
3286
|
}
|
|
3269
|
-
function
|
|
3287
|
+
function bn(c) {
|
|
3270
3288
|
O("saveSettings", c);
|
|
3271
3289
|
}
|
|
3272
|
-
function
|
|
3290
|
+
function wn(c) {
|
|
3273
3291
|
if (c === void 0)
|
|
3274
3292
|
return null;
|
|
3275
|
-
const x = Math.floor(c),
|
|
3276
|
-
return { hours: x, minutes:
|
|
3293
|
+
const x = Math.floor(c), z = Math.floor((x - c) * 60);
|
|
3294
|
+
return { hours: x, minutes: z };
|
|
3277
3295
|
}
|
|
3278
3296
|
const Oe = _(!1), Et = _(null), _t = _(1);
|
|
3279
3297
|
function Mt() {
|
|
@@ -3282,115 +3300,115 @@ const Ll = {
|
|
|
3282
3300
|
return;
|
|
3283
3301
|
}
|
|
3284
3302
|
Oe.value = !0, U.value.toggleAutoRotate(), Et.value = setInterval(() => {
|
|
3285
|
-
_t.value = 1 * _t.value, U.value.setAutoRotateSpeed(_t.value),
|
|
3303
|
+
_t.value = 1 * _t.value, U.value.setAutoRotateSpeed(_t.value), lt();
|
|
3286
3304
|
}, 5e3);
|
|
3287
3305
|
}
|
|
3288
3306
|
return (c, x) => {
|
|
3289
|
-
const
|
|
3307
|
+
const z = E("v-btn");
|
|
3290
3308
|
return u(), L("div", {
|
|
3291
|
-
class: me(["virtual-tour-wrapper", [
|
|
3309
|
+
class: me(["virtual-tour-wrapper", [Ae.value]])
|
|
3292
3310
|
}, [
|
|
3293
|
-
|
|
3294
|
-
e("div",
|
|
3295
|
-
!Fe.value.isActive &&
|
|
3311
|
+
se.value ? (u(), L("div", Fl, "Error loading the player!!")) : V("", !0),
|
|
3312
|
+
e("div", Vl, [
|
|
3313
|
+
!Fe.value.isActive && Q.value && W.value && B.value && Z.value && we.value ? (u(), T(Vt, {
|
|
3296
3314
|
key: 0,
|
|
3297
3315
|
"cdn-file-resolver": m(i),
|
|
3298
3316
|
"apartment-json": M.value,
|
|
3299
3317
|
level: Ye.value,
|
|
3300
|
-
"minimap-json":
|
|
3318
|
+
"minimap-json": Q.value,
|
|
3301
3319
|
rotation: pe.value,
|
|
3302
|
-
"current-camera":
|
|
3320
|
+
"current-camera": W.value,
|
|
3303
3321
|
onGoToCamera: je,
|
|
3304
|
-
onClose: x[0] || (x[0] = (fe) =>
|
|
3322
|
+
onClose: x[0] || (x[0] = (fe) => we.value = !1)
|
|
3305
3323
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : V("", !0),
|
|
3306
|
-
|
|
3324
|
+
Z.value && ie.value ? (u(), L("div", {
|
|
3307
3325
|
key: 1,
|
|
3308
|
-
class: me(["v-player", [
|
|
3326
|
+
class: me(["v-player", [Ae.value]])
|
|
3309
3327
|
}, [
|
|
3310
|
-
y(
|
|
3328
|
+
y(io, {
|
|
3311
3329
|
ref_key: "vPlayerInstance",
|
|
3312
|
-
ref:
|
|
3330
|
+
ref: pt,
|
|
3313
3331
|
"cdn-file-resolver": m(i),
|
|
3314
|
-
style:
|
|
3315
|
-
"show-static-image":
|
|
3316
|
-
"current-camera-id":
|
|
3317
|
-
"mouse-sensitivity": m(
|
|
3318
|
-
"interior-id":
|
|
3332
|
+
style: ae({ zIndex: be.value ? 1 : 2 }),
|
|
3333
|
+
"show-static-image": be.value,
|
|
3334
|
+
"current-camera-id": ie.value,
|
|
3335
|
+
"mouse-sensitivity": m(X),
|
|
3336
|
+
"interior-id": Z.value,
|
|
3319
3337
|
"apartment-id": m(o),
|
|
3320
|
-
onNewCameraCallback:
|
|
3321
|
-
onNewRotationCallback:
|
|
3338
|
+
onNewCameraCallback: an,
|
|
3339
|
+
onNewRotationCallback: sn,
|
|
3322
3340
|
onNewFloorCallback: It,
|
|
3323
|
-
onNewFovCallback:
|
|
3324
|
-
onNewSizeCallback:
|
|
3325
|
-
onSunsimCallback:
|
|
3326
|
-
onPlayerApiCallback:
|
|
3327
|
-
onFrontendMarkersUpdate:
|
|
3341
|
+
onNewFovCallback: rn,
|
|
3342
|
+
onNewSizeCallback: un,
|
|
3343
|
+
onSunsimCallback: ln,
|
|
3344
|
+
onPlayerApiCallback: vn,
|
|
3345
|
+
onFrontendMarkersUpdate: cn
|
|
3328
3346
|
}, {
|
|
3329
3347
|
"slideshow-image": v(() => [
|
|
3330
|
-
|
|
3348
|
+
be.value ? (u(), T(Al, {
|
|
3331
3349
|
key: 0,
|
|
3332
|
-
image:
|
|
3350
|
+
image: ft.value
|
|
3333
3351
|
}, null, 8, ["image"])) : V("", !0)
|
|
3334
3352
|
]),
|
|
3335
3353
|
"top-left": v(() => [
|
|
3336
|
-
m($) ? (u(),
|
|
3354
|
+
m($) ? (u(), T(z, {
|
|
3337
3355
|
key: 0,
|
|
3338
3356
|
density: "comfortable",
|
|
3339
3357
|
icon: "mdi-cog-outline",
|
|
3340
3358
|
elevation: "3",
|
|
3341
3359
|
class: "mr-2",
|
|
3342
|
-
onClick: x[1] || (x[1] = (fe) =>
|
|
3360
|
+
onClick: x[1] || (x[1] = (fe) => N.value = !N.value)
|
|
3343
3361
|
})) : V("", !0),
|
|
3344
|
-
|
|
3362
|
+
tt(y(z, {
|
|
3345
3363
|
density: "comfortable",
|
|
3346
3364
|
icon: "mdi-alert-outline",
|
|
3347
3365
|
elevation: "3",
|
|
3348
3366
|
class: "mr-2",
|
|
3349
|
-
onClick: x[2] || (x[2] = (fe) =>
|
|
3367
|
+
onClick: x[2] || (x[2] = (fe) => re.value = !re.value)
|
|
3350
3368
|
}, null, 512), [
|
|
3351
|
-
[
|
|
3369
|
+
[rt, ce.value]
|
|
3352
3370
|
]),
|
|
3353
|
-
|
|
3371
|
+
Q.value && ie.value && B.value ? tt((u(), T(z, {
|
|
3354
3372
|
key: 1,
|
|
3355
3373
|
density: "comfortable",
|
|
3356
3374
|
elevation: "3",
|
|
3357
3375
|
icon: "mdi-floor-plan",
|
|
3358
3376
|
class: "mr-2",
|
|
3359
|
-
onClick: x[3] || (x[3] = (fe) =>
|
|
3377
|
+
onClick: x[3] || (x[3] = (fe) => we.value = !we.value)
|
|
3360
3378
|
}, null, 512)), [
|
|
3361
|
-
[
|
|
3379
|
+
[rt, ce.value]
|
|
3362
3380
|
]) : V("", !0),
|
|
3363
|
-
ce.value && m(I) &&
|
|
3381
|
+
ce.value && m(I) && Je.value.length > 1 ? (u(), T(po, {
|
|
3364
3382
|
key: 2,
|
|
3365
3383
|
level: he.value,
|
|
3366
|
-
"floor-levels":
|
|
3384
|
+
"floor-levels": Je.value,
|
|
3367
3385
|
onLevel: It
|
|
3368
3386
|
}, null, 8, ["level", "floor-levels"])) : V("", !0),
|
|
3369
|
-
m($) &&
|
|
3370
|
-
y(
|
|
3371
|
-
"initial-settings": m(
|
|
3372
|
-
onUpdateSettings:
|
|
3373
|
-
onSaveSettings:
|
|
3387
|
+
m($) && N.value ? (u(), L("div", Dl, [
|
|
3388
|
+
y(Da, {
|
|
3389
|
+
"initial-settings": m(te),
|
|
3390
|
+
onUpdateSettings: _n,
|
|
3391
|
+
onSaveSettings: bn
|
|
3374
3392
|
}, null, 8, ["initial-settings"])
|
|
3375
3393
|
])) : V("", !0)
|
|
3376
3394
|
]),
|
|
3377
3395
|
"top-center": v(() => []),
|
|
3378
3396
|
"top-right": v(() => [
|
|
3379
|
-
M.value && m(k) ?
|
|
3380
|
-
y(
|
|
3397
|
+
M.value && m(k) ? tt((u(), L("div", Bl, [
|
|
3398
|
+
y(Ao, { rotation: pe.value }, null, 8, ["rotation"])
|
|
3381
3399
|
], 512)), [
|
|
3382
|
-
[
|
|
3400
|
+
[rt, ce.value]
|
|
3383
3401
|
]) : V("", !0),
|
|
3384
3402
|
e("div", {
|
|
3385
|
-
onClick: x[4] || (x[4] = (fe) =>
|
|
3403
|
+
onClick: x[4] || (x[4] = (fe) => we.value = !we.value)
|
|
3386
3404
|
}, [
|
|
3387
|
-
ce.value && M.value &&
|
|
3405
|
+
ce.value && M.value && ee.value && m(w) ? (u(), T(Fo, {
|
|
3388
3406
|
key: 0,
|
|
3389
|
-
hours:
|
|
3390
|
-
minutes:
|
|
3407
|
+
hours: ue.value.hours,
|
|
3408
|
+
minutes: ue.value.minutes,
|
|
3391
3409
|
class: "time-of-day",
|
|
3392
|
-
style:
|
|
3393
|
-
cursor:
|
|
3410
|
+
style: ae({
|
|
3411
|
+
cursor: Q.value && W.value && B.value ? "pointer" : "default"
|
|
3394
3412
|
})
|
|
3395
3413
|
}, null, 8, ["hours", "minutes", "style"])) : V("", !0)
|
|
3396
3414
|
])
|
|
@@ -3398,7 +3416,7 @@ const Ll = {
|
|
|
3398
3416
|
"center-left": v(() => [
|
|
3399
3417
|
y(Ve, { name: "slide-x-transition" }, {
|
|
3400
3418
|
default: v(() => [
|
|
3401
|
-
|
|
3419
|
+
be.value ? (u(), T(z, {
|
|
3402
3420
|
key: 0,
|
|
3403
3421
|
density: "comfortable",
|
|
3404
3422
|
elevation: "3",
|
|
@@ -3410,63 +3428,63 @@ const Ll = {
|
|
|
3410
3428
|
})
|
|
3411
3429
|
]),
|
|
3412
3430
|
"center-center": v(() => [
|
|
3413
|
-
|
|
3431
|
+
re.value ? (u(), T(pa, {
|
|
3414
3432
|
key: 0,
|
|
3415
|
-
onCloseTutorial: x[5] || (x[5] = (fe) =>
|
|
3433
|
+
onCloseTutorial: x[5] || (x[5] = (fe) => Le(fe))
|
|
3416
3434
|
})) : V("", !0),
|
|
3417
|
-
Fe.value.isActive &&
|
|
3435
|
+
Fe.value.isActive && Q.value && W.value && B.value && we.value ? (u(), T(Vt, {
|
|
3418
3436
|
key: 1,
|
|
3419
3437
|
"cdn-file-resolver": m(i),
|
|
3420
3438
|
"apartment-json": M.value,
|
|
3421
|
-
"minimap-json":
|
|
3439
|
+
"minimap-json": Q.value,
|
|
3422
3440
|
rotation: pe.value,
|
|
3423
|
-
"current-camera":
|
|
3441
|
+
"current-camera": W.value,
|
|
3424
3442
|
level: Ye.value,
|
|
3425
|
-
onClose: x[6] || (x[6] = (fe) =>
|
|
3443
|
+
onClose: x[6] || (x[6] = (fe) => we.value = !1),
|
|
3426
3444
|
onGoToCamera: je
|
|
3427
3445
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : V("", !0)
|
|
3428
3446
|
]),
|
|
3429
3447
|
"center-right": v(() => [
|
|
3430
3448
|
y(Ve, { name: "slide-x-reverse-transition" }, {
|
|
3431
3449
|
default: v(() => [
|
|
3432
|
-
|
|
3450
|
+
be.value ? (u(), T(z, {
|
|
3433
3451
|
key: 0,
|
|
3434
3452
|
density: "comfortable",
|
|
3435
3453
|
elevation: "3",
|
|
3436
3454
|
icon: "mdi-chevron-right",
|
|
3437
|
-
onClick:
|
|
3455
|
+
onClick: lt
|
|
3438
3456
|
})) : V("", !0)
|
|
3439
3457
|
]),
|
|
3440
3458
|
_: 1
|
|
3441
3459
|
})
|
|
3442
3460
|
]),
|
|
3443
3461
|
"bottom-left": v(() => [
|
|
3444
|
-
m(F) ? (u(),
|
|
3462
|
+
m(F) ? (u(), T(Pt, {
|
|
3445
3463
|
key: 0,
|
|
3446
3464
|
"is-full-screen": Fe.value.isActive,
|
|
3447
3465
|
class: "btn-fullscreen",
|
|
3448
|
-
onToggleFullscreen:
|
|
3466
|
+
onToggleFullscreen: hn
|
|
3449
3467
|
}, null, 8, ["is-full-screen"])) : V("", !0),
|
|
3450
|
-
m(C) ? (u(), L("div",
|
|
3451
|
-
y(
|
|
3468
|
+
m(C) ? (u(), L("div", Tl, [
|
|
3469
|
+
y(z, {
|
|
3452
3470
|
density: "comfortable",
|
|
3453
3471
|
elevation: "3",
|
|
3454
3472
|
icon: "mdi-camera",
|
|
3455
3473
|
onClick: Lt
|
|
3456
3474
|
})
|
|
3457
3475
|
])) : V("", !0),
|
|
3458
|
-
e("div",
|
|
3459
|
-
m(p) && ce.value ? (u(),
|
|
3476
|
+
e("div", Ol, [
|
|
3477
|
+
m(p) && ce.value ? (u(), T(Ro, {
|
|
3460
3478
|
key: 0,
|
|
3461
|
-
"show-static-image":
|
|
3462
|
-
onToggle:
|
|
3479
|
+
"show-static-image": be.value,
|
|
3480
|
+
onToggle: gn
|
|
3463
3481
|
}, null, 8, ["show-static-image"])) : V("", !0)
|
|
3464
3482
|
]),
|
|
3465
|
-
ce.value && m(d) && !Fe.value.isActive ? (u(), L("div",
|
|
3483
|
+
ce.value && m(d) && !Fe.value.isActive ? (u(), L("div", $l, [
|
|
3466
3484
|
y(Wt)
|
|
3467
3485
|
])) : V("", !0),
|
|
3468
|
-
ce.value && c.showVisuadoCreateButton ? (u(), L("div",
|
|
3469
|
-
y(
|
|
3486
|
+
ce.value && c.showVisuadoCreateButton ? (u(), L("div", Rl, [
|
|
3487
|
+
y(Ml, { onOnSnapshot: yn })
|
|
3470
3488
|
])) : V("", !0)
|
|
3471
3489
|
]),
|
|
3472
3490
|
"bottom-center": v(() => [
|
|
@@ -3475,10 +3493,10 @@ const Ll = {
|
|
|
3475
3493
|
e("div", null, [
|
|
3476
3494
|
e("div", {
|
|
3477
3495
|
class: me(["d-flex justify-center", {
|
|
3478
|
-
"mb-2": !
|
|
3496
|
+
"mb-2": !G.value
|
|
3479
3497
|
}])
|
|
3480
3498
|
}, [
|
|
3481
|
-
!Oe.value && He.value(
|
|
3499
|
+
!Oe.value && He.value(W.value) ? (u(), T(fl, {
|
|
3482
3500
|
key: 0,
|
|
3483
3501
|
class: "ml-2",
|
|
3484
3502
|
displaySunsim: ke.value,
|
|
@@ -3486,26 +3504,26 @@ const Ll = {
|
|
|
3486
3504
|
onToggleSunStudy: x[7] || (x[7] = (fe) => ke.value = !ke.value)
|
|
3487
3505
|
}, null, 8, ["displaySunsim", "showUI"])) : V("", !0)
|
|
3488
3506
|
], 2),
|
|
3489
|
-
!
|
|
3507
|
+
!G.value && !Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3490
3508
|
key: 0,
|
|
3491
3509
|
class: "sunsim-slider-desktop",
|
|
3492
|
-
"current-day": He.value(
|
|
3510
|
+
"current-day": He.value(W.value) ? We(W.value)[0] : void 0,
|
|
3493
3511
|
"current-time": Be.value,
|
|
3494
3512
|
onOnTimeChange: xt,
|
|
3495
3513
|
onToggleSunStudy: x[8] || (x[8] = (fe) => ke.value = !ke.value)
|
|
3496
3514
|
}, null, 8, ["current-day", "current-time"])) : V("", !0),
|
|
3497
|
-
!
|
|
3515
|
+
!G.value && ce.value && m(g) ? (u(), T(dt, {
|
|
3498
3516
|
key: 1,
|
|
3499
3517
|
class: me([Fe.value.isActive ? "full-screen" : ""]),
|
|
3500
|
-
thumbnails:
|
|
3501
|
-
active:
|
|
3518
|
+
thumbnails: ge.value,
|
|
3519
|
+
active: oe.value,
|
|
3502
3520
|
cameraHasSunStudy: He.value,
|
|
3503
|
-
onNext:
|
|
3521
|
+
onNext: lt,
|
|
3504
3522
|
onPrevious: gt,
|
|
3505
3523
|
onGoto: yt
|
|
3506
3524
|
}, {
|
|
3507
3525
|
before: v(() => [
|
|
3508
|
-
c.enableAutoplay && ce.value && !
|
|
3526
|
+
c.enableAutoplay && ce.value && !G.value ? (u(), T(Bt, {
|
|
3509
3527
|
key: 0,
|
|
3510
3528
|
autoplayStatus: Oe.value,
|
|
3511
3529
|
onToggleAutoPlay: x[9] || (x[9] = (fe) => Mt())
|
|
@@ -3519,12 +3537,12 @@ const Ll = {
|
|
|
3519
3537
|
})
|
|
3520
3538
|
]),
|
|
3521
3539
|
"bottom-right": v(() => [
|
|
3522
|
-
e("div",
|
|
3523
|
-
ce.value && m(f) &&
|
|
3540
|
+
e("div", Yl, [
|
|
3541
|
+
ce.value && m(f) && b.value ? (u(), T(ko, {
|
|
3524
3542
|
key: 0,
|
|
3525
3543
|
"cdn-file-resolver": m(i),
|
|
3526
|
-
"available-archetypes":
|
|
3527
|
-
"selected-index":
|
|
3544
|
+
"available-archetypes": b.value,
|
|
3545
|
+
"selected-index": Xe.value,
|
|
3528
3546
|
onSelectInterior: At
|
|
3529
3547
|
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : V("", !0)
|
|
3530
3548
|
])
|
|
@@ -3533,18 +3551,18 @@ const Ll = {
|
|
|
3533
3551
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3534
3552
|
y(Ve, null, {
|
|
3535
3553
|
default: v(() => [
|
|
3536
|
-
m(g) &&
|
|
3554
|
+
m(g) && q.value && G.value && ce.value ? (u(), T(dt, {
|
|
3537
3555
|
key: 0,
|
|
3538
3556
|
class: "waypoint-carousel below-player",
|
|
3539
|
-
thumbnails:
|
|
3540
|
-
active:
|
|
3557
|
+
thumbnails: ge.value,
|
|
3558
|
+
active: oe.value,
|
|
3541
3559
|
cameraHasSunStudy: He.value,
|
|
3542
|
-
onNext:
|
|
3560
|
+
onNext: lt,
|
|
3543
3561
|
onPrevious: gt,
|
|
3544
3562
|
onGoto: yt
|
|
3545
3563
|
}, {
|
|
3546
3564
|
before: v(() => [
|
|
3547
|
-
c.enableAutoplay && ce.value ? (u(),
|
|
3565
|
+
c.enableAutoplay && ce.value ? (u(), T(Bt, {
|
|
3548
3566
|
key: 0,
|
|
3549
3567
|
autoplayStatus: Oe.value,
|
|
3550
3568
|
onToggleAutoPlay: x[10] || (x[10] = (fe) => Mt())
|
|
@@ -3555,93 +3573,93 @@ const Ll = {
|
|
|
3555
3573
|
]),
|
|
3556
3574
|
_: 1
|
|
3557
3575
|
}),
|
|
3558
|
-
|
|
3559
|
-
!Oe.value &&
|
|
3576
|
+
G.value ? (u(), L("div", Hl, [
|
|
3577
|
+
!Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3560
3578
|
key: 0,
|
|
3561
3579
|
class: "mt-1",
|
|
3562
|
-
"current-day": He.value(
|
|
3580
|
+
"current-day": He.value(W.value) ? We(W.value)[0] : void 0,
|
|
3563
3581
|
"current-time": Be.value,
|
|
3564
3582
|
onOnTimeChange: xt,
|
|
3565
3583
|
onToggleSunStudy: x[11] || (x[11] = (fe) => ke.value = !ke.value)
|
|
3566
3584
|
}, null, 8, ["current-day", "current-time"])) : V("", !0)
|
|
3567
3585
|
])) : V("", !0)
|
|
3568
3586
|
], 2)) : V("", !0),
|
|
3569
|
-
m(Se) && m(
|
|
3587
|
+
m(Se) && m(ye) ? (u(), L("div", Ul, " version: " + P(m(Se)), 1)) : V("", !0)
|
|
3570
3588
|
])
|
|
3571
3589
|
], 2);
|
|
3572
3590
|
};
|
|
3573
3591
|
}
|
|
3574
|
-
}),
|
|
3592
|
+
}), jl = /* @__PURE__ */ ne(zl, [["__scopeId", "data-v-3cc488e5"]]), Wl = { id: "player-wrapper" }, Pl = { id: "player-sizer" }, Nl = {
|
|
3575
3593
|
class: "player-control",
|
|
3576
3594
|
id: "controls-top-left"
|
|
3577
|
-
},
|
|
3595
|
+
}, Ql = {
|
|
3578
3596
|
class: "player-control",
|
|
3579
3597
|
id: "controls-top-center"
|
|
3580
|
-
},
|
|
3598
|
+
}, Zl = {
|
|
3581
3599
|
class: "player-control",
|
|
3582
3600
|
id: "controls-top-right"
|
|
3583
|
-
},
|
|
3601
|
+
}, ql = {
|
|
3584
3602
|
class: "player-control",
|
|
3585
3603
|
id: "controls-center-left"
|
|
3586
|
-
},
|
|
3604
|
+
}, Jl = {
|
|
3587
3605
|
class: "player-control",
|
|
3588
3606
|
id: "controls-center-center"
|
|
3589
|
-
},
|
|
3607
|
+
}, Xl = {
|
|
3590
3608
|
class: "player-control",
|
|
3591
3609
|
id: "controls-center-right"
|
|
3592
3610
|
}, Gl = {
|
|
3593
3611
|
class: "player-control",
|
|
3594
3612
|
id: "controls-bottom-left"
|
|
3595
|
-
},
|
|
3613
|
+
}, Kl = {
|
|
3596
3614
|
class: "player-control",
|
|
3597
3615
|
id: "controls-bottom-center"
|
|
3598
|
-
},
|
|
3616
|
+
}, es = {
|
|
3599
3617
|
class: "player-control",
|
|
3600
3618
|
id: "controls-bottom-right"
|
|
3601
|
-
},
|
|
3619
|
+
}, ts = /* @__PURE__ */ J({
|
|
3602
3620
|
__name: "VManualSlideShowPlayer",
|
|
3603
3621
|
props: {
|
|
3604
3622
|
isFullScreen: { type: Boolean }
|
|
3605
3623
|
},
|
|
3606
3624
|
emits: ["newSizeCallback"],
|
|
3607
3625
|
setup(t, { emit: l }) {
|
|
3608
|
-
return (n, a) => (u(), L("div",
|
|
3609
|
-
e("div",
|
|
3626
|
+
return (n, a) => (u(), L("div", Wl, [
|
|
3627
|
+
e("div", Pl, [
|
|
3610
3628
|
K(n.$slots, "slideshow-image", {}, void 0, !0),
|
|
3611
|
-
e("div",
|
|
3629
|
+
e("div", Nl, [
|
|
3612
3630
|
K(n.$slots, "top-left", {}, void 0, !0)
|
|
3613
3631
|
]),
|
|
3614
|
-
e("div",
|
|
3632
|
+
e("div", Ql, [
|
|
3615
3633
|
K(n.$slots, "top-center", {}, void 0, !0)
|
|
3616
3634
|
]),
|
|
3617
|
-
e("div",
|
|
3635
|
+
e("div", Zl, [
|
|
3618
3636
|
K(n.$slots, "top-right", {}, void 0, !0)
|
|
3619
3637
|
]),
|
|
3620
|
-
e("div",
|
|
3638
|
+
e("div", ql, [
|
|
3621
3639
|
K(n.$slots, "center-left", {}, void 0, !0)
|
|
3622
3640
|
]),
|
|
3623
|
-
e("div",
|
|
3641
|
+
e("div", Jl, [
|
|
3624
3642
|
K(n.$slots, "center-center", {}, void 0, !0)
|
|
3625
3643
|
]),
|
|
3626
|
-
e("div",
|
|
3644
|
+
e("div", Xl, [
|
|
3627
3645
|
K(n.$slots, "center-right", {}, void 0, !0)
|
|
3628
3646
|
]),
|
|
3629
3647
|
e("div", Gl, [
|
|
3630
3648
|
K(n.$slots, "bottom-left", {}, void 0, !0)
|
|
3631
3649
|
]),
|
|
3632
|
-
e("div",
|
|
3650
|
+
e("div", Kl, [
|
|
3633
3651
|
K(n.$slots, "bottom-center", {}, void 0, !0)
|
|
3634
3652
|
]),
|
|
3635
|
-
e("div",
|
|
3653
|
+
e("div", es, [
|
|
3636
3654
|
K(n.$slots, "bottom-right", {}, void 0, !0)
|
|
3637
3655
|
])
|
|
3638
3656
|
])
|
|
3639
3657
|
]));
|
|
3640
3658
|
}
|
|
3641
|
-
}),
|
|
3659
|
+
}), ns = /* @__PURE__ */ ne(ts, [["__scopeId", "data-v-5fdd1e05"]]), os = { class: "virtual-tour-wrapper" }, as = { class: "player-and-components-wrapper" }, ls = { class: "mss-image" }, ss = {
|
|
3642
3660
|
key: 1,
|
|
3643
3661
|
class: "btn-placeholder"
|
|
3644
|
-
},
|
|
3662
|
+
}, is = /* @__PURE__ */ J({
|
|
3645
3663
|
__name: "VManualSlideShow",
|
|
3646
3664
|
props: {
|
|
3647
3665
|
images: {},
|
|
@@ -3653,7 +3671,7 @@ const Ll = {
|
|
|
3653
3671
|
},
|
|
3654
3672
|
setup(t) {
|
|
3655
3673
|
const l = t;
|
|
3656
|
-
|
|
3674
|
+
nt(
|
|
3657
3675
|
De,
|
|
3658
3676
|
l.i18nConfig ? new Ze(l.i18nConfig) : new Ze()
|
|
3659
3677
|
);
|
|
@@ -3687,14 +3705,14 @@ const Ll = {
|
|
|
3687
3705
|
}
|
|
3688
3706
|
return (g, w) => {
|
|
3689
3707
|
const k = E("v-img"), F = E("v-btn");
|
|
3690
|
-
return u(), L("div",
|
|
3691
|
-
e("div",
|
|
3708
|
+
return u(), L("div", os, [
|
|
3709
|
+
e("div", as, [
|
|
3692
3710
|
e("div", null, [
|
|
3693
|
-
y(
|
|
3711
|
+
y(ns, {
|
|
3694
3712
|
"is-full-screen": a.value.isActive
|
|
3695
3713
|
}, {
|
|
3696
3714
|
"slideshow-image": v(() => [
|
|
3697
|
-
e("div",
|
|
3715
|
+
e("div", ls, [
|
|
3698
3716
|
y(k, {
|
|
3699
3717
|
src: o.value.thumbnailUrl
|
|
3700
3718
|
}, null, 8, ["src"])
|
|
@@ -3706,7 +3724,7 @@ const Ll = {
|
|
|
3706
3724
|
"center-left": v(() => [
|
|
3707
3725
|
y(Ve, { name: "slide-x-transition" }, {
|
|
3708
3726
|
default: v(() => [
|
|
3709
|
-
i.value.length > 1 ? (u(),
|
|
3727
|
+
i.value.length > 1 ? (u(), T(F, {
|
|
3710
3728
|
key: 0,
|
|
3711
3729
|
density: "comfortable",
|
|
3712
3730
|
elevation: "3",
|
|
@@ -3721,7 +3739,7 @@ const Ll = {
|
|
|
3721
3739
|
"center-right": v(() => [
|
|
3722
3740
|
y(Ve, { name: "slide-x-reverse-transition" }, {
|
|
3723
3741
|
default: v(() => [
|
|
3724
|
-
i.value.length > 1 ? (u(),
|
|
3742
|
+
i.value.length > 1 ? (u(), T(F, {
|
|
3725
3743
|
key: 0,
|
|
3726
3744
|
density: "comfortable",
|
|
3727
3745
|
elevation: "3",
|
|
@@ -3733,19 +3751,19 @@ const Ll = {
|
|
|
3733
3751
|
})
|
|
3734
3752
|
]),
|
|
3735
3753
|
"bottom-left": v(() => [
|
|
3736
|
-
g.showFullScreen ? (u(),
|
|
3754
|
+
g.showFullScreen ? (u(), T(Pt, {
|
|
3737
3755
|
key: 0,
|
|
3738
3756
|
"is-full-screen": a.value.isActive,
|
|
3739
3757
|
class: "btn-fullscreen",
|
|
3740
3758
|
onToggleFullscreen: s
|
|
3741
3759
|
}, null, 8, ["is-full-screen"])) : V("", !0),
|
|
3742
|
-
g.showShare ? (u(), L("div",
|
|
3760
|
+
g.showShare ? (u(), L("div", ss, [
|
|
3743
3761
|
y(Wt)
|
|
3744
3762
|
])) : V("", !0)
|
|
3745
3763
|
]),
|
|
3746
3764
|
"bottom-center": v(() => [
|
|
3747
3765
|
e("div", null, [
|
|
3748
|
-
a.value.isActive && i.value.length > 1 ? (u(),
|
|
3766
|
+
a.value.isActive && i.value.length > 1 ? (u(), T(dt, {
|
|
3749
3767
|
key: 0,
|
|
3750
3768
|
class: me([a.value.isActive ? "full-screen" : ""]),
|
|
3751
3769
|
thumbnails: i.value,
|
|
@@ -3759,7 +3777,7 @@ const Ll = {
|
|
|
3759
3777
|
"bottom-right": v(() => []),
|
|
3760
3778
|
_: 1
|
|
3761
3779
|
}, 8, ["is-full-screen"]),
|
|
3762
|
-
i.value.length > 1 ? (u(),
|
|
3780
|
+
i.value.length > 1 ? (u(), T(dt, {
|
|
3763
3781
|
key: 0,
|
|
3764
3782
|
thumbnails: i.value,
|
|
3765
3783
|
active: n.value,
|
|
@@ -3772,7 +3790,7 @@ const Ll = {
|
|
|
3772
3790
|
]);
|
|
3773
3791
|
};
|
|
3774
3792
|
}
|
|
3775
|
-
}),
|
|
3793
|
+
}), rs = /* @__PURE__ */ ne(is, [["__scopeId", "data-v-373ac320"]]), us = /* @__PURE__ */ J({
|
|
3776
3794
|
__name: "VMiniMap",
|
|
3777
3795
|
props: {
|
|
3778
3796
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3789,16 +3807,16 @@ const Ll = {
|
|
|
3789
3807
|
transformOrigin: "top left",
|
|
3790
3808
|
transform: `scale(${g.value})`
|
|
3791
3809
|
}));
|
|
3792
|
-
|
|
3810
|
+
j(h, () => {
|
|
3793
3811
|
h.value && new ResizeObserver(([S]) => {
|
|
3794
3812
|
const I = S.target.parentElement, A = I.parentElement;
|
|
3795
3813
|
g.value = A.clientWidth / 512, I.style.height = `${S.contentRect.height * g.value}px`;
|
|
3796
3814
|
}).observe(h.value);
|
|
3797
|
-
}),
|
|
3815
|
+
}), j(w, () => {
|
|
3798
3816
|
i("cameraSet", w.value);
|
|
3799
3817
|
});
|
|
3800
3818
|
const F = D(() => {
|
|
3801
|
-
const S =
|
|
3819
|
+
const S = _e(a.cdnFileResolver.value, "").replace(
|
|
3802
3820
|
`/${o.value.type}/${o.value.id}`,
|
|
3803
3821
|
""
|
|
3804
3822
|
);
|
|
@@ -3807,20 +3825,20 @@ const Ll = {
|
|
|
3807
3825
|
var f;
|
|
3808
3826
|
return (f = s.value) == null ? void 0 : f.storeys[a.level.value || 0];
|
|
3809
3827
|
});
|
|
3810
|
-
|
|
3828
|
+
j(
|
|
3811
3829
|
a.cdnFileResolver,
|
|
3812
3830
|
async () => {
|
|
3813
3831
|
o.value = await (await fetch(
|
|
3814
|
-
|
|
3832
|
+
_e(a.cdnFileResolver.value, "/apartment.json")
|
|
3815
3833
|
)).json(), i("apartmentJsonLoaded", o.value), s.value = await (await fetch(
|
|
3816
|
-
|
|
3834
|
+
_e(a.cdnFileResolver.value, "/minimap/minimap.json")
|
|
3817
3835
|
)).json(), i("minimapJsonLoaded", s.value);
|
|
3818
3836
|
},
|
|
3819
3837
|
{ immediate: !0 }
|
|
3820
|
-
),
|
|
3838
|
+
), j(
|
|
3821
3839
|
[C, a.cdnFileResolver],
|
|
3822
3840
|
() => {
|
|
3823
|
-
a.cdnFileResolver.value && C.value && (r.value = C.value.defaultSunsimFile ?
|
|
3841
|
+
a.cdnFileResolver.value && C.value && (r.value = C.value.defaultSunsimFile ? _e(a.cdnFileResolver.value, "/minimap/sunsim0_13.jpg") : _e(
|
|
3824
3842
|
a.cdnFileResolver.value,
|
|
3825
3843
|
`/minimap/${C.value.defaultSunsimFile}`
|
|
3826
3844
|
));
|
|
@@ -3832,17 +3850,17 @@ const Ll = {
|
|
|
3832
3850
|
}
|
|
3833
3851
|
return (f, S) => {
|
|
3834
3852
|
const I = E("v-skeleton-loader");
|
|
3835
|
-
return u(),
|
|
3853
|
+
return u(), T(I, {
|
|
3836
3854
|
loading: !o.value || !s.value
|
|
3837
3855
|
}, {
|
|
3838
3856
|
default: v(() => [
|
|
3839
3857
|
e("div", null, [
|
|
3840
3858
|
e("div", {
|
|
3841
|
-
style:
|
|
3859
|
+
style: ae({ ...k.value, position: "relative" }),
|
|
3842
3860
|
ref_key: "fitContainer",
|
|
3843
3861
|
ref: h
|
|
3844
3862
|
}, [
|
|
3845
|
-
f.hideCompass !== !0 ? (u(),
|
|
3863
|
+
f.hideCompass !== !0 ? (u(), T(zt, {
|
|
3846
3864
|
key: 0,
|
|
3847
3865
|
scale: f.compassScale || 1,
|
|
3848
3866
|
rotation: C.value.rotation.y,
|
|
@@ -3859,17 +3877,17 @@ const Ll = {
|
|
|
3859
3877
|
containerHeight: 384,
|
|
3860
3878
|
fit: ""
|
|
3861
3879
|
}, {
|
|
3862
|
-
default: v(({ id: A, camera: R, active:
|
|
3880
|
+
default: v(({ id: A, camera: R, active: X, style: $ }) => [
|
|
3863
3881
|
K(f.$slots, "default", {
|
|
3864
3882
|
id: A,
|
|
3865
3883
|
camera: R,
|
|
3866
|
-
active:
|
|
3867
|
-
style:
|
|
3884
|
+
active: X,
|
|
3885
|
+
style: ae($)
|
|
3868
3886
|
}, void 0, !0)
|
|
3869
3887
|
]),
|
|
3870
3888
|
_: 3
|
|
3871
3889
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
3872
|
-
f.hideSlider !== !0 ? (u(),
|
|
3890
|
+
f.hideSlider !== !0 ? (u(), T(jt, {
|
|
3873
3891
|
key: 1,
|
|
3874
3892
|
"cdn-file-resolver": F.value,
|
|
3875
3893
|
"minimap-json": s.value,
|
|
@@ -3884,7 +3902,7 @@ const Ll = {
|
|
|
3884
3902
|
}, 8, ["loading"]);
|
|
3885
3903
|
};
|
|
3886
3904
|
}
|
|
3887
|
-
}),
|
|
3905
|
+
}), ni = /* @__PURE__ */ ne(us, [["__scopeId", "data-v-8077dfb5"]]), cs = ["src"], ds = /* @__PURE__ */ J({
|
|
3888
3906
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
3889
3907
|
props: {
|
|
3890
3908
|
timeSampleData: {},
|
|
@@ -3893,24 +3911,24 @@ const Ll = {
|
|
|
3893
3911
|
},
|
|
3894
3912
|
setup(t) {
|
|
3895
3913
|
const l = t, { timeSampleData: n, cdnFileResolver: a, currentTime: i } = Ce(l), o = _(), s = Ie("registerImage"), r = Ie("completeImage");
|
|
3896
|
-
|
|
3914
|
+
j(o, () => {
|
|
3897
3915
|
o.value && (s(o.value), o.value.onload = () => {
|
|
3898
3916
|
r(o.value);
|
|
3899
3917
|
}, o.value.onerror = () => {
|
|
3900
3918
|
r(o.value);
|
|
3901
3919
|
});
|
|
3902
3920
|
});
|
|
3903
|
-
const p = D(() =>
|
|
3921
|
+
const p = D(() => _e(a.value, n.value.filename));
|
|
3904
3922
|
return (h, g) => (u(), L("img", {
|
|
3905
3923
|
ref_key: "image",
|
|
3906
3924
|
ref: o,
|
|
3907
|
-
style:
|
|
3925
|
+
style: ae({
|
|
3908
3926
|
visibility: m(i) && m(n) === m(i) ? "visible" : "hidden"
|
|
3909
3927
|
}),
|
|
3910
3928
|
src: p.value
|
|
3911
|
-
}, null, 12,
|
|
3929
|
+
}, null, 12, cs));
|
|
3912
3930
|
}
|
|
3913
|
-
}),
|
|
3931
|
+
}), vs = /* @__PURE__ */ ne(ds, [["__scopeId", "data-v-c4a08195"]]), ms = /* @__PURE__ */ J({
|
|
3914
3932
|
__name: "VStructureChooserCameraDay",
|
|
3915
3933
|
props: {
|
|
3916
3934
|
dayData: {},
|
|
@@ -3920,14 +3938,14 @@ const Ll = {
|
|
|
3920
3938
|
},
|
|
3921
3939
|
setup(t) {
|
|
3922
3940
|
const l = t, { dayData: n, cdnFileResolver: a, currentTime: i } = Ce(l);
|
|
3923
|
-
return (o, s) => (u(!0), L(
|
|
3941
|
+
return (o, s) => (u(!0), L(xe, null, Me(m(n).timeSamples, (r, p) => (u(), T(vs, {
|
|
3924
3942
|
key: p,
|
|
3925
3943
|
"time-sample-data": r,
|
|
3926
3944
|
"cdn-file-resolver": m(a),
|
|
3927
3945
|
"current-time": m(i)
|
|
3928
3946
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
3929
3947
|
}
|
|
3930
|
-
}),
|
|
3948
|
+
}), ps = ["src"], fs = /* @__PURE__ */ J({
|
|
3931
3949
|
__name: "VStructureChooserCamera",
|
|
3932
3950
|
props: {
|
|
3933
3951
|
cameraData: {},
|
|
@@ -3938,15 +3956,15 @@ const Ll = {
|
|
|
3938
3956
|
},
|
|
3939
3957
|
setup(t) {
|
|
3940
3958
|
const l = t, { cameraData: n, cdnFileResolver: a, currentCamera: i, currentTime: o } = Ce(l), s = _(), r = Ie("registerImage"), p = Ie("completeImage");
|
|
3941
|
-
|
|
3959
|
+
j(s, () => {
|
|
3942
3960
|
s.value && (r(s.value), s.value.onload = () => {
|
|
3943
3961
|
p(s.value);
|
|
3944
3962
|
}, s.value.onerror = () => {
|
|
3945
3963
|
p(s.value);
|
|
3946
3964
|
});
|
|
3947
3965
|
});
|
|
3948
|
-
const h = D(() =>
|
|
3949
|
-
return (g, w) => m(n).sunsimDayOfYear ? (u(!0), L(
|
|
3966
|
+
const h = D(() => _e(a.value, n.value.defaultFilename));
|
|
3967
|
+
return (g, w) => m(n).sunsimDayOfYear ? (u(!0), L(xe, { key: 0 }, Me(m(n).sunsimDayOfYear, (k, F) => (u(), T(ms, {
|
|
3950
3968
|
key: F,
|
|
3951
3969
|
"day-data": k,
|
|
3952
3970
|
"cdn-file-resolver": m(a),
|
|
@@ -3956,11 +3974,11 @@ const Ll = {
|
|
|
3956
3974
|
key: 1,
|
|
3957
3975
|
ref_key: "image",
|
|
3958
3976
|
ref: s,
|
|
3959
|
-
style:
|
|
3977
|
+
style: ae({ visibility: m(i) === m(n) ? "visible" : "hidden" }),
|
|
3960
3978
|
src: h.value
|
|
3961
|
-
}, null, 12,
|
|
3979
|
+
}, null, 12, ps));
|
|
3962
3980
|
}
|
|
3963
|
-
}),
|
|
3981
|
+
}), hs = /* @__PURE__ */ ne(fs, [["__scopeId", "data-v-da694d37"]]), gs = ["src"], ys = /* @__PURE__ */ J({
|
|
3964
3982
|
__name: "VStructureChooserTransition",
|
|
3965
3983
|
props: {
|
|
3966
3984
|
transitionData: {},
|
|
@@ -3969,24 +3987,24 @@ const Ll = {
|
|
|
3969
3987
|
},
|
|
3970
3988
|
setup(t) {
|
|
3971
3989
|
const l = t, { transitionData: n, cdnFileResolver: a, currentTransition: i } = Ce(l), o = _(), s = Ie("registerImage"), r = Ie("completeImage");
|
|
3972
|
-
|
|
3990
|
+
j(o, () => {
|
|
3973
3991
|
o.value && (s(o.value), o.value.onload = () => {
|
|
3974
3992
|
r(o.value);
|
|
3975
3993
|
}, o.value.onerror = () => {
|
|
3976
3994
|
r(o.value);
|
|
3977
3995
|
});
|
|
3978
3996
|
});
|
|
3979
|
-
const p = D(() =>
|
|
3997
|
+
const p = D(() => _e(a.value, n.value.filename));
|
|
3980
3998
|
return (h, g) => (u(), L("img", {
|
|
3981
3999
|
ref_key: "image",
|
|
3982
4000
|
ref: o,
|
|
3983
|
-
style:
|
|
4001
|
+
style: ae({
|
|
3984
4002
|
visibility: m(n) === m(i) ? "visible" : "hidden"
|
|
3985
4003
|
}),
|
|
3986
4004
|
src: p.value
|
|
3987
|
-
}, null, 12,
|
|
4005
|
+
}, null, 12, gs));
|
|
3988
4006
|
}
|
|
3989
|
-
}),
|
|
4007
|
+
}), _s = /* @__PURE__ */ ne(ys, [["__scopeId", "data-v-d592c198"]]);
|
|
3990
4008
|
function Ot(t) {
|
|
3991
4009
|
const l = /* @__PURE__ */ new Date(0);
|
|
3992
4010
|
return l.setUTCDate(t), l.toLocaleString("en-no", {
|
|
@@ -3994,11 +4012,11 @@ function Ot(t) {
|
|
|
3994
4012
|
day: "numeric"
|
|
3995
4013
|
});
|
|
3996
4014
|
}
|
|
3997
|
-
const
|
|
4015
|
+
const bs = {
|
|
3998
4016
|
key: 0,
|
|
3999
4017
|
class: "d-inline-block",
|
|
4000
4018
|
style: { "vertical-align": "top" }
|
|
4001
|
-
},
|
|
4019
|
+
}, ws = /* @__PURE__ */ J({
|
|
4002
4020
|
__name: "VStructureChooserUiDayButton",
|
|
4003
4021
|
props: {
|
|
4004
4022
|
isMobileSized: { type: Boolean },
|
|
@@ -4009,9 +4027,9 @@ const _s = {
|
|
|
4009
4027
|
emits: ["onDayChange"],
|
|
4010
4028
|
setup(t, { emit: l }) {
|
|
4011
4029
|
const n = t, { isMobileSized: a, currentCamera: i, currentDay: o, disabled: s } = Ce(n), r = l, p = _(o.value.dayOfYear);
|
|
4012
|
-
return
|
|
4030
|
+
return j(o, () => {
|
|
4013
4031
|
p.value = o.value.dayOfYear;
|
|
4014
|
-
}),
|
|
4032
|
+
}), j(p, () => {
|
|
4015
4033
|
r(
|
|
4016
4034
|
"onDayChange",
|
|
4017
4035
|
i.value.sunsimDayOfYear.find(
|
|
@@ -4020,7 +4038,7 @@ const _s = {
|
|
|
4020
4038
|
);
|
|
4021
4039
|
}), (h, g) => {
|
|
4022
4040
|
const w = E("v-btn"), k = E("v-field"), F = E("v-list-item-title"), C = E("v-list-item"), d = E("v-list"), f = E("v-menu");
|
|
4023
|
-
return m(i).sunsimDayOfYear && m(i).sunsimDayOfYear.length > 0 ? (u(), L("div",
|
|
4041
|
+
return m(i).sunsimDayOfYear && m(i).sunsimDayOfYear.length > 0 ? (u(), L("div", bs, [
|
|
4024
4042
|
y(f, null, {
|
|
4025
4043
|
activator: v(({ props: S }) => [
|
|
4026
4044
|
y(k, {
|
|
@@ -4040,7 +4058,7 @@ const _s = {
|
|
|
4040
4058
|
size: m(a) ? "small" : void 0
|
|
4041
4059
|
}, S), {
|
|
4042
4060
|
default: v(() => [
|
|
4043
|
-
|
|
4061
|
+
le(P(m(Ot)(p.value)), 1)
|
|
4044
4062
|
]),
|
|
4045
4063
|
_: 2
|
|
4046
4064
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -4051,7 +4069,7 @@ const _s = {
|
|
|
4051
4069
|
default: v(() => [
|
|
4052
4070
|
y(d, null, {
|
|
4053
4071
|
default: v(() => [
|
|
4054
|
-
(u(!0), L(
|
|
4072
|
+
(u(!0), L(xe, null, Me(m(i).sunsimDayOfYear, (S, I) => (u(), T(C, {
|
|
4055
4073
|
key: I,
|
|
4056
4074
|
value: I,
|
|
4057
4075
|
onClick: (A) => p.value = S.dayOfYear
|
|
@@ -4059,7 +4077,7 @@ const _s = {
|
|
|
4059
4077
|
default: v(() => [
|
|
4060
4078
|
y(F, null, {
|
|
4061
4079
|
default: v(() => [
|
|
4062
|
-
|
|
4080
|
+
le(P(m(Ot)(S.dayOfYear)), 1)
|
|
4063
4081
|
]),
|
|
4064
4082
|
_: 2
|
|
4065
4083
|
}, 1024)
|
|
@@ -4075,13 +4093,13 @@ const _s = {
|
|
|
4075
4093
|
])) : V("", !0);
|
|
4076
4094
|
};
|
|
4077
4095
|
}
|
|
4078
|
-
}),
|
|
4096
|
+
}), ks = /* @__PURE__ */ ne(ws, [["__scopeId", "data-v-743f5faf"]]), Cs = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, Ss = ["onClick"], As = {
|
|
4079
4097
|
key: 0,
|
|
4080
4098
|
class: "camera-name text-caption text-capitalize"
|
|
4081
|
-
},
|
|
4099
|
+
}, xs = {
|
|
4082
4100
|
key: 1,
|
|
4083
4101
|
class: "icon-wrapper"
|
|
4084
|
-
},
|
|
4102
|
+
}, Is = /* @__PURE__ */ J({
|
|
4085
4103
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
4086
4104
|
props: {
|
|
4087
4105
|
isMobileSized: { type: Boolean },
|
|
@@ -4099,13 +4117,13 @@ const _s = {
|
|
|
4099
4117
|
cdnFileResolver: s,
|
|
4100
4118
|
disabled: r
|
|
4101
4119
|
} = Ce(n), p = _(o.value), h = l;
|
|
4102
|
-
|
|
4120
|
+
j(
|
|
4103
4121
|
o,
|
|
4104
4122
|
() => {
|
|
4105
4123
|
p.value = o.value;
|
|
4106
4124
|
},
|
|
4107
4125
|
{ immediate: !0 }
|
|
4108
|
-
),
|
|
4126
|
+
), j(p, () => {
|
|
4109
4127
|
h(
|
|
4110
4128
|
"onCameraChange",
|
|
4111
4129
|
i.value.find((w) => w === p.value)
|
|
@@ -4127,42 +4145,42 @@ const _s = {
|
|
|
4127
4145
|
enabled: !m(r)
|
|
4128
4146
|
})
|
|
4129
4147
|
}, [
|
|
4130
|
-
e("div",
|
|
4131
|
-
(u(!0), L(
|
|
4148
|
+
e("div", Cs, [
|
|
4149
|
+
(u(!0), L(xe, null, Me(m(i), (C, d) => (u(), L("div", {
|
|
4132
4150
|
key: d,
|
|
4133
4151
|
class: me(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
4134
4152
|
"active-camera": C === p.value
|
|
4135
4153
|
}]),
|
|
4136
4154
|
onClick: (f) => g(C)
|
|
4137
4155
|
}, [
|
|
4138
|
-
C.cameraName ? (u(), L("div",
|
|
4156
|
+
C.cameraName ? (u(), L("div", As, P(C.cameraName), 1)) : V("", !0),
|
|
4139
4157
|
e("div", {
|
|
4140
4158
|
class: "camera-thumbnail-image",
|
|
4141
|
-
style:
|
|
4142
|
-
backgroundImage: `url(${m(
|
|
4159
|
+
style: ae({
|
|
4160
|
+
backgroundImage: `url(${m(_e)(
|
|
4143
4161
|
m(s),
|
|
4144
4162
|
C.defaultFilename
|
|
4145
4163
|
)})`
|
|
4146
4164
|
})
|
|
4147
4165
|
}, null, 4),
|
|
4148
|
-
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div",
|
|
4166
|
+
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div", xs, [
|
|
4149
4167
|
y(F, {
|
|
4150
4168
|
size: "x-small",
|
|
4151
4169
|
color: "warning",
|
|
4152
4170
|
style: { opacity: "0.6" }
|
|
4153
4171
|
}, {
|
|
4154
4172
|
default: v(() => [
|
|
4155
|
-
|
|
4173
|
+
le(" mdi-white-balance-sunny ")
|
|
4156
4174
|
]),
|
|
4157
4175
|
_: 1
|
|
4158
4176
|
})
|
|
4159
4177
|
])) : V("", !0)
|
|
4160
|
-
], 10,
|
|
4178
|
+
], 10, Ss))), 128))
|
|
4161
4179
|
])
|
|
4162
4180
|
], 2);
|
|
4163
4181
|
};
|
|
4164
4182
|
}
|
|
4165
|
-
}),
|
|
4183
|
+
}), Ls = /* @__PURE__ */ ne(Is, [["__scopeId", "data-v-d14ee377"]]), Es = { class: "small" }, Ms = { class: "small" }, Fs = /* @__PURE__ */ J({
|
|
4166
4184
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
4167
4185
|
props: {
|
|
4168
4186
|
isMobileSized: { type: Boolean },
|
|
@@ -4173,9 +4191,9 @@ const _s = {
|
|
|
4173
4191
|
emits: ["onTimeChange"],
|
|
4174
4192
|
setup(t, { emit: l }) {
|
|
4175
4193
|
const n = t, { isMobileSized: a, currentDay: i, currentTime: o, disabled: s } = Ce(n), r = l, p = _(o.value.timeInHours);
|
|
4176
|
-
return
|
|
4194
|
+
return j(o, () => {
|
|
4177
4195
|
p.value = o.value.timeInHours;
|
|
4178
|
-
}),
|
|
4196
|
+
}), j(p, () => {
|
|
4179
4197
|
r(
|
|
4180
4198
|
"onTimeChange",
|
|
4181
4199
|
i.value.timeSamples.find(
|
|
@@ -4186,13 +4204,13 @@ const _s = {
|
|
|
4186
4204
|
const w = E("v-icon"), k = E("v-slider"), F = E("v-field");
|
|
4187
4205
|
return u(), L("div", {
|
|
4188
4206
|
class: me({ "d-inline-block": !0, mobile: m(a) }),
|
|
4189
|
-
style:
|
|
4207
|
+
style: ae({
|
|
4190
4208
|
flex: m(a) && m(i).timeSamples.length > 1 ? 1 : void 0,
|
|
4191
4209
|
verticalAlign: "top"
|
|
4192
4210
|
})
|
|
4193
4211
|
}, [
|
|
4194
4212
|
y(F, {
|
|
4195
|
-
style:
|
|
4213
|
+
style: ae(
|
|
4196
4214
|
m(i).timeSamples.length > 1 ? {
|
|
4197
4215
|
width: m(a) ? "100%" : "300px",
|
|
4198
4216
|
height: m(a) ? "28px" : "36px"
|
|
@@ -4209,7 +4227,7 @@ const _s = {
|
|
|
4209
4227
|
flat: ""
|
|
4210
4228
|
}, {
|
|
4211
4229
|
default: v(() => [
|
|
4212
|
-
m(i).timeSamples.length > 1 ? (u(),
|
|
4230
|
+
m(i).timeSamples.length > 1 ? (u(), T(k, {
|
|
4213
4231
|
key: 0,
|
|
4214
4232
|
class: "pa-2 pr-2",
|
|
4215
4233
|
modelValue: p.value,
|
|
@@ -4230,25 +4248,25 @@ const _s = {
|
|
|
4230
4248
|
color: "warning"
|
|
4231
4249
|
}, {
|
|
4232
4250
|
default: v(() => [
|
|
4233
|
-
|
|
4251
|
+
le(" mdi-white-balance-sunny ")
|
|
4234
4252
|
]),
|
|
4235
4253
|
_: 1
|
|
4236
4254
|
}),
|
|
4237
|
-
e("span",
|
|
4255
|
+
e("span", Es, P(m(ct)(p.value)), 1)
|
|
4238
4256
|
]),
|
|
4239
4257
|
_: 1
|
|
4240
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(
|
|
4258
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
|
|
4241
4259
|
y(w, {
|
|
4242
4260
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
4243
4261
|
class: "mr-2 icon",
|
|
4244
4262
|
color: "warning"
|
|
4245
4263
|
}, {
|
|
4246
4264
|
default: v(() => [
|
|
4247
|
-
|
|
4265
|
+
le(" mdi-white-balance-sunny ")
|
|
4248
4266
|
]),
|
|
4249
4267
|
_: 1
|
|
4250
4268
|
}),
|
|
4251
|
-
e("span",
|
|
4269
|
+
e("span", Ms, P(m(ct)(p.value)), 1)
|
|
4252
4270
|
], 64))
|
|
4253
4271
|
]),
|
|
4254
4272
|
_: 1
|
|
@@ -4256,10 +4274,10 @@ const _s = {
|
|
|
4256
4274
|
], 6);
|
|
4257
4275
|
};
|
|
4258
4276
|
}
|
|
4259
|
-
}),
|
|
4277
|
+
}), Vs = /* @__PURE__ */ ne(Fs, [["__scopeId", "data-v-4d44890b"]]), Ds = {
|
|
4260
4278
|
class: "d-inline-block",
|
|
4261
4279
|
style: { "vertical-align": "top" }
|
|
4262
|
-
},
|
|
4280
|
+
}, Bs = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ts = /* @__PURE__ */ J({
|
|
4263
4281
|
__name: "VStructureChooserUiZoomButtons",
|
|
4264
4282
|
props: {
|
|
4265
4283
|
isMobileSized: { type: Boolean },
|
|
@@ -4272,7 +4290,7 @@ const _s = {
|
|
|
4272
4290
|
const n = t, { isMobileSized: a, canZoomIn: i, canZoomOut: o, disabled: s } = Ce(n), r = l;
|
|
4273
4291
|
return (p, h) => {
|
|
4274
4292
|
const g = E("v-btn");
|
|
4275
|
-
return u(), L("div",
|
|
4293
|
+
return u(), L("div", Ds, [
|
|
4276
4294
|
y(g, {
|
|
4277
4295
|
disabled: m(s) || !m(i),
|
|
4278
4296
|
size: m(a) ? "x-small" : "small",
|
|
@@ -4281,7 +4299,7 @@ const _s = {
|
|
|
4281
4299
|
onClick: h[0] || (h[0] = (w) => r("onZoomIn")),
|
|
4282
4300
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
4283
4301
|
}, null, 8, ["disabled", "size"]),
|
|
4284
|
-
|
|
4302
|
+
Bs,
|
|
4285
4303
|
y(g, {
|
|
4286
4304
|
disabled: m(s) || !m(o),
|
|
4287
4305
|
size: m(a) ? "x-small" : "small",
|
|
@@ -4309,15 +4327,15 @@ class Qe {
|
|
|
4309
4327
|
}
|
|
4310
4328
|
async loadText(l) {
|
|
4311
4329
|
try {
|
|
4312
|
-
return (await
|
|
4330
|
+
return (await ut.get(l)).data;
|
|
4313
4331
|
} catch (n) {
|
|
4314
|
-
throw
|
|
4332
|
+
throw ut.isAxiosError(n) && n.response ? new Error(
|
|
4315
4333
|
`Failed to load resource from ${l}: ${n.response.status} ${n.response.statusText}`
|
|
4316
4334
|
) : n;
|
|
4317
4335
|
}
|
|
4318
4336
|
}
|
|
4319
4337
|
async loadJson(l) {
|
|
4320
|
-
return (await
|
|
4338
|
+
return (await ut.get(l)).data;
|
|
4321
4339
|
}
|
|
4322
4340
|
async loadImage(l) {
|
|
4323
4341
|
return new Promise((n, a) => {
|
|
@@ -4337,7 +4355,7 @@ class Qe {
|
|
|
4337
4355
|
}
|
|
4338
4356
|
}
|
|
4339
4357
|
}
|
|
4340
|
-
const
|
|
4358
|
+
const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
|
|
4341
4359
|
__name: "VStructureChooserOverlay",
|
|
4342
4360
|
props: {
|
|
4343
4361
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4348,22 +4366,22 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4348
4366
|
},
|
|
4349
4367
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
|
|
4350
4368
|
setup(t, { emit: l }) {
|
|
4351
|
-
const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), w =
|
|
4369
|
+
const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), w = Ln({}), k = D(() => _e(
|
|
4352
4370
|
a.value,
|
|
4353
4371
|
o.value.overlayFilename
|
|
4354
4372
|
));
|
|
4355
4373
|
Ft(() => {
|
|
4356
4374
|
for (const d in w) {
|
|
4357
|
-
const { element: f, state: S } = w[d], { r: I, g: A, b: R, a:
|
|
4375
|
+
const { element: f, state: S } = w[d], { r: I, g: A, b: R, a: X, s: $ } = i.value(d, S) || {
|
|
4358
4376
|
r: 0,
|
|
4359
4377
|
g: 0,
|
|
4360
4378
|
b: 0,
|
|
4361
4379
|
a: 0,
|
|
4362
4380
|
s: 0
|
|
4363
4381
|
};
|
|
4364
|
-
f.style.fill = `rgba(${I}, ${A}, ${R}, ${
|
|
4382
|
+
f.style.fill = `rgba(${I}, ${A}, ${R}, ${X / 255})`, f.style.stroke = `rgb(${I}, ${A}, ${R})`, f.style.strokeWidth = $.toString(), f.style.cursor = "pointer";
|
|
4365
4383
|
}
|
|
4366
|
-
}),
|
|
4384
|
+
}), j(s, () => {
|
|
4367
4385
|
for (const d in w)
|
|
4368
4386
|
w[d].state === "selected" && d !== s.value ? w[d].state = "idle" : w[d].state !== "selected" && d === s.value && (w[d].state = "selected");
|
|
4369
4387
|
}), Ft(async () => {
|
|
@@ -4374,7 +4392,7 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4374
4392
|
} finally {
|
|
4375
4393
|
p.value = !0;
|
|
4376
4394
|
}
|
|
4377
|
-
}),
|
|
4395
|
+
}), j(
|
|
4378
4396
|
() => g.value,
|
|
4379
4397
|
() => {
|
|
4380
4398
|
g.value && new ResizeObserver(F).observe(g.value);
|
|
@@ -4401,7 +4419,7 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4401
4419
|
}
|
|
4402
4420
|
});
|
|
4403
4421
|
}
|
|
4404
|
-
|
|
4422
|
+
j(
|
|
4405
4423
|
() => n.activeStructureIds,
|
|
4406
4424
|
() => {
|
|
4407
4425
|
C();
|
|
@@ -4422,17 +4440,17 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4422
4440
|
A.parentNode.replaceChild(R, A), R.style.strokeWidth = "0", R.style.stroke = "rgba(255,255,255,0)", R.style.fill = "rgba(255,255,255,0)", R.querySelectorAll("path").forEach(($) => {
|
|
4423
4441
|
$.style.stroke = "inherit", $.style.fill = "inherit";
|
|
4424
4442
|
});
|
|
4425
|
-
const
|
|
4426
|
-
w[
|
|
4443
|
+
const X = R.getAttribute(I);
|
|
4444
|
+
w[X] = {
|
|
4427
4445
|
element: R,
|
|
4428
|
-
state: s.value ===
|
|
4446
|
+
state: s.value === X ? "selected" : "idle",
|
|
4429
4447
|
boundingBox: R.getBoundingClientRect().toJSON()
|
|
4430
|
-
}, n.activeStructureIds && !n.activeStructureIds.includes(
|
|
4431
|
-
w[
|
|
4448
|
+
}, n.activeStructureIds && !n.activeStructureIds.includes(X) && (R.style.display = "none"), R.addEventListener("mouseover", () => {
|
|
4449
|
+
w[X].state === "idle" && (w[X].state = "hover"), r("onHoverOver", X);
|
|
4432
4450
|
}), R.addEventListener("mouseout", () => {
|
|
4433
|
-
w[
|
|
4451
|
+
w[X].state === "hover" && (w[X].state = "idle"), r("onHoverOut", X);
|
|
4434
4452
|
}), R.addEventListener("click", () => {
|
|
4435
|
-
r("onClick",
|
|
4453
|
+
r("onClick", X);
|
|
4436
4454
|
});
|
|
4437
4455
|
}), r(
|
|
4438
4456
|
"onBoundingBoxesUpdate",
|
|
@@ -4444,23 +4462,23 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4444
4462
|
}
|
|
4445
4463
|
});
|
|
4446
4464
|
}
|
|
4447
|
-
return (d, f) => (u(),
|
|
4465
|
+
return (d, f) => (u(), T(Ve, null, {
|
|
4448
4466
|
default: v(() => [
|
|
4449
4467
|
e("div", {
|
|
4450
4468
|
ref_key: "svgContainer",
|
|
4451
4469
|
ref: g,
|
|
4452
|
-
style:
|
|
4470
|
+
style: ae([{
|
|
4453
4471
|
visibility: p.value ? "visible" : "hidden"
|
|
4454
4472
|
}, { "z-index": "5" }]),
|
|
4455
4473
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
4456
4474
|
innerHTML: h.value[k.value]
|
|
4457
|
-
}, null, 12,
|
|
4475
|
+
}, null, 12, Os)
|
|
4458
4476
|
]),
|
|
4459
4477
|
_: 1
|
|
4460
4478
|
}));
|
|
4461
4479
|
}
|
|
4462
|
-
}),
|
|
4463
|
-
function
|
|
4480
|
+
}), Rs = /* @__PURE__ */ ne($s, [["__scopeId", "data-v-4638ecbd"]]);
|
|
4481
|
+
function Ys(t) {
|
|
4464
4482
|
if (!t)
|
|
4465
4483
|
return !1;
|
|
4466
4484
|
const l = [
|
|
@@ -4478,13 +4496,13 @@ function Rs(t) {
|
|
|
4478
4496
|
return !1;
|
|
4479
4497
|
return !0;
|
|
4480
4498
|
}
|
|
4481
|
-
function
|
|
4499
|
+
function Hs(t) {
|
|
4482
4500
|
return !("filename" in t) && "defaultFilename" in t;
|
|
4483
4501
|
}
|
|
4484
4502
|
function bt(t) {
|
|
4485
4503
|
return "filename" in t;
|
|
4486
4504
|
}
|
|
4487
|
-
function
|
|
4505
|
+
function Us(t) {
|
|
4488
4506
|
if (!t)
|
|
4489
4507
|
return !1;
|
|
4490
4508
|
const l = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -4493,7 +4511,7 @@ function Hs(t) {
|
|
|
4493
4511
|
return !1;
|
|
4494
4512
|
return !0;
|
|
4495
4513
|
}
|
|
4496
|
-
function
|
|
4514
|
+
function zs(t) {
|
|
4497
4515
|
if (!t)
|
|
4498
4516
|
return !1;
|
|
4499
4517
|
const l = [
|
|
@@ -4511,16 +4529,16 @@ function Us(t) {
|
|
|
4511
4529
|
return !1;
|
|
4512
4530
|
return !0;
|
|
4513
4531
|
}
|
|
4514
|
-
function
|
|
4532
|
+
function js(t) {
|
|
4515
4533
|
return !("filename" in t);
|
|
4516
4534
|
}
|
|
4517
4535
|
function Ne(t) {
|
|
4518
4536
|
return t.startsWith("/") ? t : `/${t}`;
|
|
4519
4537
|
}
|
|
4520
|
-
function
|
|
4538
|
+
function Ws(t) {
|
|
4521
4539
|
return t ? "version" in t : !1;
|
|
4522
4540
|
}
|
|
4523
|
-
function
|
|
4541
|
+
function Ps(t) {
|
|
4524
4542
|
if (!t)
|
|
4525
4543
|
return !1;
|
|
4526
4544
|
const l = [
|
|
@@ -4536,11 +4554,11 @@ function Ws(t) {
|
|
|
4536
4554
|
return !1;
|
|
4537
4555
|
return !0;
|
|
4538
4556
|
}
|
|
4539
|
-
function
|
|
4557
|
+
function Ns(t) {
|
|
4540
4558
|
var l, n, a, i;
|
|
4541
|
-
if (
|
|
4559
|
+
if (Ys(t))
|
|
4542
4560
|
return t;
|
|
4543
|
-
if (
|
|
4561
|
+
if (Us(t)) {
|
|
4544
4562
|
if (!t.buildings)
|
|
4545
4563
|
throw new Error(
|
|
4546
4564
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -4596,7 +4614,7 @@ function Ps(t) {
|
|
|
4596
4614
|
}
|
|
4597
4615
|
)
|
|
4598
4616
|
};
|
|
4599
|
-
} else if (
|
|
4617
|
+
} else if (Ps(t)) {
|
|
4600
4618
|
if (!t.days && !t.timeSamples)
|
|
4601
4619
|
throw new Error(
|
|
4602
4620
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -4641,7 +4659,7 @@ function Ps(t) {
|
|
|
4641
4659
|
]
|
|
4642
4660
|
};
|
|
4643
4661
|
} else {
|
|
4644
|
-
if (
|
|
4662
|
+
if (zs(t))
|
|
4645
4663
|
return {
|
|
4646
4664
|
version: "5.0",
|
|
4647
4665
|
latitude: t.latitude,
|
|
@@ -4666,7 +4684,7 @@ function Ps(t) {
|
|
|
4666
4684
|
cameras: t.cameras.map(
|
|
4667
4685
|
(o) => {
|
|
4668
4686
|
var s;
|
|
4669
|
-
if (
|
|
4687
|
+
if (js(o)) {
|
|
4670
4688
|
if (o.sunsimDayOfYear) {
|
|
4671
4689
|
if (o.sunsimDayOfYear.length === 0)
|
|
4672
4690
|
throw new Error(
|
|
@@ -4703,7 +4721,7 @@ function Ps(t) {
|
|
|
4703
4721
|
}
|
|
4704
4722
|
)
|
|
4705
4723
|
};
|
|
4706
|
-
if (
|
|
4724
|
+
if (Ws(t)) {
|
|
4707
4725
|
if (!t.sceneData)
|
|
4708
4726
|
throw new Error(
|
|
4709
4727
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -4775,14 +4793,14 @@ function $t({ x: t, y: l, z: n }) {
|
|
|
4775
4793
|
w: 0
|
|
4776
4794
|
};
|
|
4777
4795
|
}
|
|
4778
|
-
const
|
|
4796
|
+
const Qs = {
|
|
4779
4797
|
key: 0,
|
|
4780
4798
|
class: "position-absolute w-100 h-100 bg-grey-lighten-2 justify-center align-center d-flex",
|
|
4781
4799
|
style: { "z-index": "10" }
|
|
4782
|
-
},
|
|
4800
|
+
}, Zs = ["innerHTML"], qs = { style: { "z-index": "7" } }, Js = {
|
|
4783
4801
|
key: 4,
|
|
4784
4802
|
class: "render-version"
|
|
4785
|
-
},
|
|
4803
|
+
}, Xs = /* @__PURE__ */ J({
|
|
4786
4804
|
__name: "VStructureChooser",
|
|
4787
4805
|
props: {
|
|
4788
4806
|
structureChooserData: {},
|
|
@@ -4813,26 +4831,26 @@ const Ns = {
|
|
|
4813
4831
|
defaultDay: w,
|
|
4814
4832
|
defaultTime: k,
|
|
4815
4833
|
mobileBreakpoint: F
|
|
4816
|
-
} = Ce(a), C = n, d = _(), f = _(), S = _(), I = _(null), A = _(4), R = _(),
|
|
4834
|
+
} = Ce(a), C = n, d = _(), f = _(), S = _(), I = _(null), A = _(4), R = _(), X = _(!1), $ = _(!1), te = _(), de = D(() => te.value.isHoverEnabled), Y = _({ x: 0, y: 0, width: 0, height: 0 }), Se = _(), ye = _(), O = _(), re = _(!1), N = _(1), se = _(0), H = _([]), M = _(), q = _({
|
|
4817
4835
|
current: 100,
|
|
4818
4836
|
min: 100,
|
|
4819
4837
|
max: 1e3
|
|
4820
|
-
}),
|
|
4821
|
-
|
|
4838
|
+
}), Q = _(!1), U = _();
|
|
4839
|
+
nt(
|
|
4822
4840
|
De,
|
|
4823
4841
|
r.value ? new Ze(r.value) : new Ze()
|
|
4824
|
-
),
|
|
4842
|
+
), nt("registerImage", (b) => {
|
|
4825
4843
|
$e(() => {
|
|
4826
|
-
H.value.find((
|
|
4844
|
+
H.value.find((B) => B.image === b) || (b.decode(), H.value = [...H.value, { image: b, loaded: !1 }]);
|
|
4827
4845
|
});
|
|
4828
|
-
}),
|
|
4846
|
+
}), nt("completeImage", (b) => {
|
|
4829
4847
|
$e(() => {
|
|
4830
|
-
const
|
|
4831
|
-
|
|
4848
|
+
const B = H.value.findIndex((ee) => ee.image === b);
|
|
4849
|
+
B >= 0 && (H.value[B].loaded = !0, H.value = [...H.value]);
|
|
4832
4850
|
});
|
|
4833
4851
|
}), l({
|
|
4834
4852
|
getState: () => ({
|
|
4835
|
-
currentCameraIndex: d.value ?
|
|
4853
|
+
currentCameraIndex: d.value ? W.value.findIndex((b) => b === d.value) : null,
|
|
4836
4854
|
currentDayIndex: f.value ? d.value.sunsimDayOfYear.findIndex(
|
|
4837
4855
|
(b) => b === f.value
|
|
4838
4856
|
) : null,
|
|
@@ -4844,85 +4862,85 @@ const Ns = {
|
|
|
4844
4862
|
}),
|
|
4845
4863
|
setState: ({
|
|
4846
4864
|
currentCameraIndex: b,
|
|
4847
|
-
currentDayIndex:
|
|
4848
|
-
currentTimeIndex:
|
|
4849
|
-
currentTransitionIndex:
|
|
4850
|
-
currentScene:
|
|
4865
|
+
currentDayIndex: B,
|
|
4866
|
+
currentTimeIndex: ee,
|
|
4867
|
+
currentTransitionIndex: ue,
|
|
4868
|
+
currentScene: G
|
|
4851
4869
|
}) => {
|
|
4852
|
-
typeof b == "number" && (d.value =
|
|
4870
|
+
typeof b == "number" && (d.value = W.value[b]), typeof B == "number" && (f.value = d.value.sunsimDayOfYear[B]), typeof ee == "number" && (S.value = f.value.timeSamples[ee]), typeof ue == "number" && (I.value = pe.value[ue]), typeof G == "number" && (A.value = G);
|
|
4853
4871
|
},
|
|
4854
|
-
resolveCoordinates: (b,
|
|
4872
|
+
resolveCoordinates: (b, B) => U.value ? U.value(b, B) : { x: 0, y: 0 }
|
|
4855
4873
|
}), Re(() => {
|
|
4856
|
-
|
|
4857
|
-
}),
|
|
4858
|
-
|
|
4859
|
-
const
|
|
4860
|
-
|
|
4861
|
-
}).observe(
|
|
4862
|
-
}),
|
|
4863
|
-
if (
|
|
4864
|
-
const b = H.value.find((
|
|
4865
|
-
b && (
|
|
4874
|
+
X.value = !0, Q.value = !1;
|
|
4875
|
+
}), j(ye, () => {
|
|
4876
|
+
ye.value && new ResizeObserver(([]) => {
|
|
4877
|
+
const B = H.value.find((ee) => ee.loaded);
|
|
4878
|
+
B && (se.value = B.image.width / N.value);
|
|
4879
|
+
}).observe(ye.value);
|
|
4880
|
+
}), j(H, () => {
|
|
4881
|
+
if (se.value === 0) {
|
|
4882
|
+
const b = H.value.find((B) => B.loaded);
|
|
4883
|
+
b && (N.value = b.image.naturalWidth / b.image.naturalHeight, se.value = b.image.width / N.value);
|
|
4866
4884
|
}
|
|
4867
4885
|
});
|
|
4868
|
-
const
|
|
4886
|
+
const oe = D(() => H.value.every((b) => b.loaded)), Z = D(() => Math.round(
|
|
4869
4887
|
H.value.filter((b) => b.loaded).length / H.value.length * 100
|
|
4870
4888
|
));
|
|
4871
|
-
|
|
4889
|
+
j(
|
|
4872
4890
|
i,
|
|
4873
4891
|
(b) => {
|
|
4874
4892
|
try {
|
|
4875
|
-
|
|
4876
|
-
} catch (
|
|
4877
|
-
|
|
4893
|
+
Q.value = !1, O.value = Ns(b);
|
|
4894
|
+
} catch (B) {
|
|
4895
|
+
Q.value = !0, C("onError", B);
|
|
4878
4896
|
}
|
|
4879
4897
|
},
|
|
4880
4898
|
{
|
|
4881
4899
|
immediate: !0
|
|
4882
4900
|
}
|
|
4883
|
-
),
|
|
4901
|
+
), j(X, (b) => {
|
|
4884
4902
|
b && C("onInitialize");
|
|
4885
4903
|
});
|
|
4886
|
-
const
|
|
4887
|
-
|
|
4904
|
+
const ie = _();
|
|
4905
|
+
j(
|
|
4888
4906
|
() => a.activeStructureIds,
|
|
4889
4907
|
() => {
|
|
4890
|
-
|
|
4908
|
+
ie.value = a.activeStructureIds;
|
|
4891
4909
|
},
|
|
4892
4910
|
{
|
|
4893
4911
|
immediate: !0,
|
|
4894
4912
|
deep: !0
|
|
4895
4913
|
}
|
|
4896
|
-
),
|
|
4897
|
-
() =>
|
|
4914
|
+
), j(
|
|
4915
|
+
() => ye.value,
|
|
4898
4916
|
() => {
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
}).observe(
|
|
4917
|
+
ye.value && new ResizeObserver(([B]) => {
|
|
4918
|
+
re.value = B.contentRect.width < F.value;
|
|
4919
|
+
}).observe(ye.value);
|
|
4902
4920
|
}
|
|
4903
4921
|
);
|
|
4904
|
-
const
|
|
4905
|
-
() => O.value ? O.value.cameras.filter(
|
|
4922
|
+
const W = D(
|
|
4923
|
+
() => O.value ? O.value.cameras.filter(Hs) : []
|
|
4906
4924
|
), pe = D(
|
|
4907
4925
|
() => O.value ? O.value.cameras.filter(bt) : []
|
|
4908
4926
|
);
|
|
4909
|
-
|
|
4927
|
+
j(
|
|
4910
4928
|
[O, o],
|
|
4911
4929
|
() => {
|
|
4912
4930
|
O.value && o.value && (H.value = []);
|
|
4913
4931
|
},
|
|
4914
4932
|
{ immediate: !0 }
|
|
4915
|
-
),
|
|
4933
|
+
), j(
|
|
4916
4934
|
[O, o, g],
|
|
4917
4935
|
async () => {
|
|
4918
|
-
o.value &&
|
|
4936
|
+
o.value && W.value.length > 0 && (g.value ? d.value = W.value.find(
|
|
4919
4937
|
(b) => b.cameraName === g.value
|
|
4920
|
-
) ||
|
|
4938
|
+
) || W.value[0] : d.value = W.value[0], A.value = O.value.cameras.findIndex(
|
|
4921
4939
|
(b) => b === d.value
|
|
4922
4940
|
), A.value = Math.max(0, A.value));
|
|
4923
4941
|
},
|
|
4924
4942
|
{ immediate: !0 }
|
|
4925
|
-
),
|
|
4943
|
+
), j(
|
|
4926
4944
|
[O, o, w],
|
|
4927
4945
|
() => {
|
|
4928
4946
|
O.value && o.value && d.value && d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && (w.value ? f.value = d.value.sunsimDayOfYear.find(
|
|
@@ -4930,7 +4948,7 @@ const Ns = {
|
|
|
4930
4948
|
) || d.value.sunsimDayOfYear[0] : f.value = d.value.sunsimDayOfYear[0]);
|
|
4931
4949
|
},
|
|
4932
4950
|
{ immediate: !0 }
|
|
4933
|
-
),
|
|
4951
|
+
), j(
|
|
4934
4952
|
[O, o, k],
|
|
4935
4953
|
() => {
|
|
4936
4954
|
O.value && o.value && f.value && f.value.timeSamples && f.value.timeSamples.length > 0 && (k.value ? S.value = f.value.timeSamples.find(
|
|
@@ -4942,37 +4960,37 @@ const Ns = {
|
|
|
4942
4960
|
{ immediate: !0 }
|
|
4943
4961
|
);
|
|
4944
4962
|
function he(b) {
|
|
4945
|
-
d.value !== b &&
|
|
4946
|
-
O.value.cameras.findIndex((
|
|
4963
|
+
d.value !== b && Xe(
|
|
4964
|
+
O.value.cameras.findIndex((B) => B === b)
|
|
4947
4965
|
);
|
|
4948
4966
|
}
|
|
4949
4967
|
function ve(b) {
|
|
4950
4968
|
A.value = b, bt(O.value.cameras[A.value]) ? I.value = O.value.cameras[A.value] : ($e(() => {
|
|
4951
|
-
|
|
4969
|
+
be(
|
|
4952
4970
|
O.value.cameras[A.value]
|
|
4953
4971
|
);
|
|
4954
4972
|
}), I.value = null);
|
|
4955
4973
|
}
|
|
4956
|
-
function
|
|
4957
|
-
const
|
|
4974
|
+
function be(b) {
|
|
4975
|
+
const B = f.value;
|
|
4958
4976
|
d.value = b, A.value = O.value.cameras.findIndex(
|
|
4959
|
-
(
|
|
4977
|
+
(ee) => ee === d.value
|
|
4960
4978
|
), $e(() => {
|
|
4961
|
-
d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 &&
|
|
4979
|
+
d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && we(
|
|
4962
4980
|
d.value.sunsimDayOfYear.find(
|
|
4963
|
-
(
|
|
4981
|
+
(ee) => ee.dayOfYear === B.dayOfYear
|
|
4964
4982
|
) || d.value.sunsimDayOfYear[0]
|
|
4965
4983
|
);
|
|
4966
4984
|
});
|
|
4967
4985
|
}
|
|
4968
|
-
function
|
|
4969
|
-
const
|
|
4986
|
+
function we(b) {
|
|
4987
|
+
const B = S.value;
|
|
4970
4988
|
f.value = b, $e(() => {
|
|
4971
4989
|
Be(
|
|
4972
4990
|
f.value.timeSamples.find(
|
|
4973
|
-
(
|
|
4991
|
+
(ee) => ee.timeInHours === B.timeInHours
|
|
4974
4992
|
) || f.value.timeSamples.find(
|
|
4975
|
-
(
|
|
4993
|
+
(ee) => ee.timeInHours === f.value.defaultHour
|
|
4976
4994
|
) || f.value.timeSamples[0]
|
|
4977
4995
|
);
|
|
4978
4996
|
});
|
|
@@ -4982,108 +5000,108 @@ const Ns = {
|
|
|
4982
5000
|
}
|
|
4983
5001
|
function ke(b) {
|
|
4984
5002
|
C("onClick", b, () => {
|
|
4985
|
-
const
|
|
4986
|
-
(
|
|
5003
|
+
const B = O.value.stillCameraData.find(
|
|
5004
|
+
(ee) => ee.id === b
|
|
4987
5005
|
);
|
|
4988
|
-
|
|
5006
|
+
B && Xe(B.bestIndex);
|
|
4989
5007
|
});
|
|
4990
5008
|
}
|
|
4991
|
-
|
|
4992
|
-
var
|
|
5009
|
+
j(h, (b) => {
|
|
5010
|
+
var B;
|
|
4993
5011
|
if (b && O.value) {
|
|
4994
|
-
const
|
|
4995
|
-
(
|
|
5012
|
+
const ee = O.value.stillCameraData.find(
|
|
5013
|
+
(ue) => ue.id === b
|
|
4996
5014
|
);
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
)) &&
|
|
5015
|
+
ee && ((B = O.value.stillCameraIndices) != null && B.includes(
|
|
5016
|
+
ee.bestIndex
|
|
5017
|
+
)) && Xe(ee.bestIndex);
|
|
5000
5018
|
}
|
|
5001
5019
|
});
|
|
5002
5020
|
function ce(b) {
|
|
5003
5021
|
C("onHoverOver", b), R.value = b;
|
|
5004
5022
|
}
|
|
5005
|
-
function
|
|
5023
|
+
function Te(b) {
|
|
5006
5024
|
C("onHoverOut", b), R.value = void 0;
|
|
5007
5025
|
}
|
|
5008
|
-
function
|
|
5009
|
-
const { layerX:
|
|
5010
|
-
let
|
|
5011
|
-
for (;
|
|
5012
|
-
if (
|
|
5013
|
-
|
|
5026
|
+
function Fe(b) {
|
|
5027
|
+
const { layerX: B, layerY: ee } = b;
|
|
5028
|
+
let ue = b.target, G = !1;
|
|
5029
|
+
for (; ue; )
|
|
5030
|
+
if (ue === Se.value) {
|
|
5031
|
+
G = !0;
|
|
5014
5032
|
break;
|
|
5015
5033
|
} else
|
|
5016
|
-
|
|
5017
|
-
if (
|
|
5018
|
-
const
|
|
5034
|
+
ue = ue.parentElement;
|
|
5035
|
+
if (G) {
|
|
5036
|
+
const Ae = b.currentTarget;
|
|
5019
5037
|
Y.value = {
|
|
5020
|
-
x:
|
|
5021
|
-
y:
|
|
5022
|
-
width:
|
|
5023
|
-
height:
|
|
5038
|
+
x: B,
|
|
5039
|
+
y: ee,
|
|
5040
|
+
width: Ae.clientWidth,
|
|
5041
|
+
height: Ae.clientHeight
|
|
5024
5042
|
};
|
|
5025
5043
|
} else
|
|
5026
5044
|
Y.value = void 0;
|
|
5027
5045
|
C("onMouseMove", b, Y.value);
|
|
5028
5046
|
}
|
|
5029
|
-
function
|
|
5047
|
+
function pt({
|
|
5030
5048
|
min: b,
|
|
5031
|
-
max:
|
|
5032
|
-
current:
|
|
5033
|
-
resolve:
|
|
5049
|
+
max: B,
|
|
5050
|
+
current: ee,
|
|
5051
|
+
resolve: ue
|
|
5034
5052
|
}) {
|
|
5035
|
-
U.value =
|
|
5053
|
+
U.value = ue, q.value = { min: b, max: B, current: ee };
|
|
5036
5054
|
}
|
|
5037
|
-
function
|
|
5055
|
+
function Je(b) {
|
|
5038
5056
|
M.value.adjustZoom(b ? 10 : -10);
|
|
5039
5057
|
}
|
|
5040
|
-
function
|
|
5058
|
+
function Ye(b) {
|
|
5041
5059
|
return O.value.stillCameraIndices.findIndex(
|
|
5042
|
-
(
|
|
5060
|
+
(B) => B === b
|
|
5043
5061
|
);
|
|
5044
5062
|
}
|
|
5045
|
-
async function
|
|
5046
|
-
const
|
|
5063
|
+
async function Xe(b) {
|
|
5064
|
+
const B = A.value;
|
|
5047
5065
|
if (O.value.loopable) {
|
|
5048
|
-
const
|
|
5049
|
-
let
|
|
5050
|
-
for (; Le++, Le >=
|
|
5051
|
-
|
|
5052
|
-
for (Le =
|
|
5053
|
-
|
|
5054
|
-
|
|
5066
|
+
const ee = O.value.stillCameraIndices.length, ue = Ye(B), G = Ye(b);
|
|
5067
|
+
let Ae = 0, Ge = 0, Le = ue;
|
|
5068
|
+
for (; Le++, Le >= ee && (Le = 0), Le !== G; )
|
|
5069
|
+
Ae++;
|
|
5070
|
+
for (Le = ue; Le--, Le < 0 && (Le += ee), Le !== G; )
|
|
5071
|
+
Ge++;
|
|
5072
|
+
Ae === Ge ? ge(B, b) : Ae < Ge ? ue < G ? ge(B, b) : ge(B, b + O.value.cameras.length) : ue >= G ? ge(B, b) : ge(B + O.value.cameras.length, b);
|
|
5055
5073
|
} else
|
|
5056
|
-
|
|
5074
|
+
ge(B, b);
|
|
5057
5075
|
}
|
|
5058
|
-
function
|
|
5059
|
-
return new Promise((
|
|
5076
|
+
function ge(b, B) {
|
|
5077
|
+
return new Promise((ee) => {
|
|
5060
5078
|
$.value = !0;
|
|
5061
|
-
let
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
), ve(A.value)) :
|
|
5066
|
-
|
|
5067
|
-
), ve(A.value)) : (clearInterval(
|
|
5079
|
+
let ue, G = b;
|
|
5080
|
+
ue = setInterval(() => {
|
|
5081
|
+
G < B ? (G++, A.value = Math.abs(
|
|
5082
|
+
G % O.value.cameras.length
|
|
5083
|
+
), ve(A.value)) : G > B ? (G--, A.value = Math.abs(
|
|
5084
|
+
G % O.value.cameras.length
|
|
5085
|
+
), ve(A.value)) : (clearInterval(ue), $.value = !1, ee());
|
|
5068
5086
|
}, 12);
|
|
5069
5087
|
});
|
|
5070
5088
|
}
|
|
5071
|
-
function
|
|
5072
|
-
|
|
5089
|
+
function ft(b) {
|
|
5090
|
+
Q.value = !0, C("onError", b);
|
|
5073
5091
|
}
|
|
5074
|
-
const
|
|
5075
|
-
return (b,
|
|
5076
|
-
const
|
|
5077
|
-
return u(), L(
|
|
5078
|
-
y(
|
|
5092
|
+
const at = (b) => b * (180 / Math.PI);
|
|
5093
|
+
return (b, B) => {
|
|
5094
|
+
const ee = E("v-progress-circular"), ue = E("v-skeleton-loader");
|
|
5095
|
+
return u(), L(xe, null, [
|
|
5096
|
+
y(ue, {
|
|
5079
5097
|
type: "image",
|
|
5080
5098
|
class: "w-100 h-100 position-relative",
|
|
5081
|
-
loading: !
|
|
5099
|
+
loading: !X.value || !O.value
|
|
5082
5100
|
}, {
|
|
5083
5101
|
default: v(() => [
|
|
5084
|
-
|
|
5085
|
-
y(
|
|
5086
|
-
"model-value":
|
|
5102
|
+
oe.value ? V("", !0) : (u(), L("div", Qs, [
|
|
5103
|
+
y(ee, {
|
|
5104
|
+
"model-value": Z.value,
|
|
5087
5105
|
size: 128,
|
|
5088
5106
|
width: 12
|
|
5089
5107
|
}, null, 8, ["model-value"])
|
|
@@ -5092,77 +5110,77 @@ const Ns = {
|
|
|
5092
5110
|
default: v(() => [
|
|
5093
5111
|
e("div", {
|
|
5094
5112
|
ref_key: "container",
|
|
5095
|
-
ref:
|
|
5096
|
-
class: me({ mobile:
|
|
5113
|
+
ref: ye,
|
|
5114
|
+
class: me({ mobile: re.value }),
|
|
5097
5115
|
style: { "min-height": "160px" },
|
|
5098
|
-
onMousemove:
|
|
5116
|
+
onMousemove: Fe
|
|
5099
5117
|
}, [
|
|
5100
5118
|
b.showUi ? (u(), L("div", {
|
|
5101
5119
|
key: 0,
|
|
5102
5120
|
class: "persistent actions-bar top-right pa-2",
|
|
5103
|
-
style:
|
|
5121
|
+
style: ae({
|
|
5104
5122
|
zIndex: 7,
|
|
5105
|
-
top:
|
|
5123
|
+
top: re.value && W.value.length > 1 ? "60px" : 0
|
|
5106
5124
|
})
|
|
5107
5125
|
}, [
|
|
5108
|
-
d.value.cameraRotation ? (u(),
|
|
5126
|
+
d.value.cameraRotation ? (u(), T(Ht, {
|
|
5109
5127
|
key: 0,
|
|
5110
5128
|
class: "mb-2",
|
|
5111
|
-
style:
|
|
5129
|
+
style: ae({
|
|
5112
5130
|
zIndex: 7,
|
|
5113
|
-
width:
|
|
5114
|
-
height:
|
|
5131
|
+
width: re.value ? 32 : 40,
|
|
5132
|
+
height: re.value ? 32 : 40
|
|
5115
5133
|
}),
|
|
5116
|
-
longitude:
|
|
5134
|
+
longitude: at(d.value.cameraRotation.y) + 270
|
|
5117
5135
|
}, null, 8, ["style", "longitude"])) : V("", !0),
|
|
5118
|
-
y(
|
|
5119
|
-
"is-mobile-sized":
|
|
5120
|
-
"can-zoom-out":
|
|
5121
|
-
"can-zoom-in":
|
|
5136
|
+
y(Ts, {
|
|
5137
|
+
"is-mobile-sized": re.value,
|
|
5138
|
+
"can-zoom-out": q.value.min < q.value.current,
|
|
5139
|
+
"can-zoom-in": q.value.max > q.value.current,
|
|
5122
5140
|
disabled: $.value,
|
|
5123
|
-
onOnZoomIn:
|
|
5124
|
-
onOnZoomOut:
|
|
5141
|
+
onOnZoomIn: B[0] || (B[0] = (G) => Je(!0)),
|
|
5142
|
+
onOnZoomOut: B[1] || (B[1] = (G) => Je(!1))
|
|
5125
5143
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5126
5144
|
], 4)) : V("", !0),
|
|
5127
|
-
b.showUi &&
|
|
5145
|
+
b.showUi && W.value.length > 1 ? (u(), L("div", {
|
|
5128
5146
|
key: 1,
|
|
5129
5147
|
class: me([{
|
|
5130
5148
|
"actions-bar bottom-center pb-2": !0,
|
|
5131
|
-
"px-0":
|
|
5149
|
+
"px-0": re.value
|
|
5132
5150
|
}, "still-cameras-wrapper"]),
|
|
5133
5151
|
style: { "z-index": "7" }
|
|
5134
5152
|
}, [
|
|
5135
|
-
y(
|
|
5136
|
-
"is-mobile-sized":
|
|
5137
|
-
"still-cameras":
|
|
5153
|
+
y(Ls, {
|
|
5154
|
+
"is-mobile-sized": re.value,
|
|
5155
|
+
"still-cameras": W.value,
|
|
5138
5156
|
"current-camera": d.value,
|
|
5139
5157
|
disabled: $.value,
|
|
5140
5158
|
"cdn-file-resolver": m(o),
|
|
5141
5159
|
onOnCameraChange: he
|
|
5142
5160
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
5143
5161
|
], 2)) : V("", !0),
|
|
5144
|
-
y(
|
|
5162
|
+
y(Hn, {
|
|
5145
5163
|
ref_key: "zoomBox",
|
|
5146
5164
|
ref: M,
|
|
5147
5165
|
position: "relative",
|
|
5148
|
-
onUpdate:
|
|
5166
|
+
onUpdate: pt
|
|
5149
5167
|
}, {
|
|
5150
5168
|
default: v(() => [
|
|
5151
5169
|
e("div", {
|
|
5152
5170
|
class: "w-100 position-relative",
|
|
5153
|
-
style:
|
|
5171
|
+
style: ae({ height: `${se.value}px` })
|
|
5154
5172
|
}, [
|
|
5155
|
-
(u(!0), L(
|
|
5156
|
-
key: `camera${
|
|
5157
|
-
"camera-data":
|
|
5173
|
+
(u(!0), L(xe, null, Me(W.value, (G, Ae) => (u(), T(hs, {
|
|
5174
|
+
key: `camera${Ae}`,
|
|
5175
|
+
"camera-data": G,
|
|
5158
5176
|
"cdn-file-resolver": m(o),
|
|
5159
5177
|
"current-camera": d.value,
|
|
5160
5178
|
"current-day": f.value,
|
|
5161
5179
|
"current-time": S.value
|
|
5162
5180
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5163
|
-
(u(!0), L(
|
|
5164
|
-
key: `transition${
|
|
5165
|
-
"transition-data":
|
|
5181
|
+
(u(!0), L(xe, null, Me(pe.value, (G, Ae) => (u(), T(_s, {
|
|
5182
|
+
key: `transition${Ae}`,
|
|
5183
|
+
"transition-data": G,
|
|
5166
5184
|
"cdn-file-resolver": m(o),
|
|
5167
5185
|
"current-transition": I.value
|
|
5168
5186
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
@@ -5171,22 +5189,22 @@ const Ns = {
|
|
|
5171
5189
|
class: "w-100 h-100 position-absolute top-left",
|
|
5172
5190
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5173
5191
|
innerHTML: m(p)
|
|
5174
|
-
}, null, 8,
|
|
5175
|
-
d.value.overlayFilename && !
|
|
5192
|
+
}, null, 8, Zs)) : V("", !0),
|
|
5193
|
+
d.value.overlayFilename && !Q.value ? tt((u(), T(Rs, {
|
|
5176
5194
|
key: 1,
|
|
5177
5195
|
"cdn-file-resolver": m(o),
|
|
5178
5196
|
"color-callback": m(s),
|
|
5179
5197
|
"current-camera": d.value,
|
|
5180
5198
|
"selected-id": m(h),
|
|
5181
|
-
activeStructureIds:
|
|
5199
|
+
activeStructureIds: ie.value,
|
|
5182
5200
|
onOnClick: ke,
|
|
5183
5201
|
onOnHoverOver: ce,
|
|
5184
|
-
onOnHoverOut:
|
|
5185
|
-
onUpdateSvgContainer:
|
|
5186
|
-
onOnError:
|
|
5187
|
-
onOnBoundingBoxesUpdate:
|
|
5202
|
+
onOnHoverOut: Te,
|
|
5203
|
+
onUpdateSvgContainer: B[2] || (B[2] = (G) => Se.value = G),
|
|
5204
|
+
onOnError: ft,
|
|
5205
|
+
onOnBoundingBoxesUpdate: B[3] || (B[3] = (G) => C("onBoundingBoxesUpdate", G))
|
|
5188
5206
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5189
|
-
[
|
|
5207
|
+
[rt, I.value === null]
|
|
5190
5208
|
]) : V("", !0),
|
|
5191
5209
|
K(b.$slots, "default", {}, void 0, !0)
|
|
5192
5210
|
], 4)
|
|
@@ -5197,39 +5215,39 @@ const Ns = {
|
|
|
5197
5215
|
key: 2,
|
|
5198
5216
|
class: me({
|
|
5199
5217
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
5200
|
-
"px-0":
|
|
5218
|
+
"px-0": re.value
|
|
5201
5219
|
}),
|
|
5202
5220
|
style: { "z-index": "7" }
|
|
5203
5221
|
}, [
|
|
5204
|
-
y(
|
|
5222
|
+
y(ks, {
|
|
5205
5223
|
class: "pr-2",
|
|
5206
|
-
"is-mobile-sized":
|
|
5224
|
+
"is-mobile-sized": re.value,
|
|
5207
5225
|
"current-camera": d.value,
|
|
5208
5226
|
"current-day": f.value,
|
|
5209
5227
|
disabled: $.value,
|
|
5210
|
-
onOnDayChange:
|
|
5228
|
+
onOnDayChange: we
|
|
5211
5229
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5212
|
-
y(
|
|
5213
|
-
"is-mobile-sized":
|
|
5230
|
+
y(Vs, {
|
|
5231
|
+
"is-mobile-sized": re.value,
|
|
5214
5232
|
"current-day": f.value,
|
|
5215
5233
|
"current-time": S.value,
|
|
5216
5234
|
disabled: $.value,
|
|
5217
5235
|
onOnTimeChange: Be
|
|
5218
5236
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5219
5237
|
], 2)) : V("", !0),
|
|
5220
|
-
b.$slots.popup && Y.value && R.value ? (u(),
|
|
5238
|
+
b.$slots.popup && Y.value && R.value ? (u(), T(Tn, {
|
|
5221
5239
|
key: 3,
|
|
5222
5240
|
"is-hoverable": de.value,
|
|
5223
5241
|
pos: Y.value
|
|
5224
5242
|
}, {
|
|
5225
5243
|
default: v(() => [
|
|
5226
|
-
e("div",
|
|
5227
|
-
K(b.$slots, "popup",
|
|
5244
|
+
e("div", qs, [
|
|
5245
|
+
K(b.$slots, "popup", En(Mn({ hoverId: R.value, hoverable: de.value })), void 0, !0)
|
|
5228
5246
|
])
|
|
5229
5247
|
]),
|
|
5230
5248
|
_: 3
|
|
5231
5249
|
}, 8, ["is-hoverable", "pos"])) : V("", !0),
|
|
5232
|
-
b.version && b.showVersion ? (u(), L("div",
|
|
5250
|
+
b.version && b.showVersion ? (u(), L("div", Js, " version: " + P(b.version), 1)) : V("", !0)
|
|
5233
5251
|
], 34)
|
|
5234
5252
|
]),
|
|
5235
5253
|
_: 3
|
|
@@ -5237,28 +5255,28 @@ const Ns = {
|
|
|
5237
5255
|
]),
|
|
5238
5256
|
_: 3
|
|
5239
5257
|
}, 8, ["loading"]),
|
|
5240
|
-
y(
|
|
5258
|
+
y($n, {
|
|
5241
5259
|
ref_key: "hoverProbe",
|
|
5242
|
-
ref:
|
|
5260
|
+
ref: te
|
|
5243
5261
|
}, null, 512)
|
|
5244
5262
|
], 64);
|
|
5245
5263
|
};
|
|
5246
5264
|
}
|
|
5247
|
-
}), Rt = /* @__PURE__ */
|
|
5265
|
+
}), Rt = /* @__PURE__ */ ne(Xs, [["__scopeId", "data-v-57d83a24"]]), oi = {
|
|
5248
5266
|
install: function(l) {
|
|
5249
|
-
l.component("VStructureChooser", Rt), l.component("VVirtualTour",
|
|
5267
|
+
l.component("VStructureChooser", Rt), l.component("VVirtualTour", jl), l.component("VManualSlideShow", rs), l.component("VStructureChooser", Rt);
|
|
5250
5268
|
}
|
|
5251
5269
|
};
|
|
5252
5270
|
export {
|
|
5253
5271
|
Qe as ResourceLoader,
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5272
|
+
Tn as VFloatingCard,
|
|
5273
|
+
$n as VHoverProbe,
|
|
5274
|
+
rs as VManualSlideShow,
|
|
5275
|
+
ni as VMiniMap,
|
|
5258
5276
|
Ht as VNorthDirection,
|
|
5259
5277
|
Rt as VStructureChooser,
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5278
|
+
jl as VVirtualTour,
|
|
5279
|
+
Hn as VZoomBox,
|
|
5280
|
+
Ns as convertStructureChooserDataLegacyToV5,
|
|
5281
|
+
oi as default
|
|
5264
5282
|
};
|