@qispace/vue3-player 0.4.1 → 0.4.3
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,7 +1,7 @@
|
|
|
1
1
|
var bn = Object.defineProperty;
|
|
2
2
|
var wn = (t, n, o) => n in t ? bn(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o;
|
|
3
3
|
var Ue = (t, n, o) => (wn(t, typeof n != "symbol" ? n + "" : n, o), o);
|
|
4
|
-
import { defineComponent as W, computed as
|
|
4
|
+
import { defineComponent as W, computed as V, resolveComponent as I, openBlock as u, createBlock as T, withCtx as m, createElementBlock as L, normalizeStyle as ne, renderSlot as K, ref as b, unref as p, watch as H, onMounted as Re, onBeforeUnmount as et, createElementVNode as e, toRefs as _e, nextTick as $e, inject as Se, createVNode as y, mergeProps as Ie, toDisplayString as Y, createTextVNode as ae, Fragment as we, renderList as Ee, normalizeClass as ce, pushScopeId as mt, popScopeId as pt, Transition as Fe, createCommentVNode as F, withDirectives as Ke, vModelText as kn, createStaticVNode as Ht, onBeforeUpdate as Cn, withModifiers as Sn, provide as Xe, vShow as ut, reactive as An, watchEffect as Ft, normalizeProps as xn, guardReactiveProps as Ln } from "vue";
|
|
5
5
|
import ct from "axios";
|
|
6
6
|
import * as In from "@qispace/player-core";
|
|
7
7
|
import { Vector3 as Je, Object3D as En, MathUtils as Mn } from "three";
|
|
@@ -13,7 +13,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["outside"],
|
|
15
15
|
setup(t, { emit: n }) {
|
|
16
|
-
const o = t, l = n, i =
|
|
16
|
+
const o = t, l = n, i = V(() => {
|
|
17
17
|
let a, s, r, h;
|
|
18
18
|
return o.pos.x <= o.pos.width / 2 ? (a = "-100%", r = "-8px") : (a = "0%", r = "8px"), o.pos.y <= o.pos.height / 2 ? (s = "-100%", h = "-8px") : (s = "0%", h = "8px"), `translate(${a}, ${s}) translate(${r}, ${h})`;
|
|
19
19
|
});
|
|
@@ -38,7 +38,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
40
40
|
width: "auto",
|
|
41
|
-
"onClick:outside": s[0] || (s[0] = (
|
|
41
|
+
"onClick:outside": s[0] || (s[0] = (g) => l("outside", g))
|
|
42
42
|
}, {
|
|
43
43
|
default: m(() => [
|
|
44
44
|
K(a.$slots, "default", { isHoverable: a.isHoverable }, void 0, !0)
|
|
@@ -50,15 +50,15 @@ const Fn = /* @__PURE__ */ W({
|
|
|
50
50
|
}, 8, ["origin"]);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), ee = (t, n) => {
|
|
54
54
|
const o = t.__vccOpts || t;
|
|
55
55
|
for (const [l, i] of n)
|
|
56
56
|
o[l] = i;
|
|
57
57
|
return o;
|
|
58
|
-
}, Vn = /* @__PURE__ */
|
|
58
|
+
}, Vn = /* @__PURE__ */ ee(Fn, [["__scopeId", "data-v-7d5e6067"]]), Dn = /* @__PURE__ */ W({
|
|
59
59
|
__name: "VHoverProbe",
|
|
60
60
|
setup(t, { expose: n }) {
|
|
61
|
-
const o = b(), l =
|
|
61
|
+
const o = b(), l = V(() => window.getComputedStyle(o.value).display === "none");
|
|
62
62
|
return n({
|
|
63
63
|
isHoverEnabled: l
|
|
64
64
|
}), (i, a) => (u(), L("div", {
|
|
@@ -67,13 +67,13 @@ const Fn = /* @__PURE__ */ W({
|
|
|
67
67
|
class: "hover-check"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}), Bn = /* @__PURE__ */
|
|
70
|
+
}), Bn = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-eb9b348d"]]), Tn = "data:image/png;base64,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", Yt = /* @__PURE__ */ W({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
74
74
|
},
|
|
75
75
|
setup(t) {
|
|
76
|
-
const n = t, o =
|
|
76
|
+
const n = t, o = V(() => ({
|
|
77
77
|
transform: `rotate(${90 - (n.longitude || 0)}deg)`,
|
|
78
78
|
transition: " transform 0.5s ease-in"
|
|
79
79
|
}));
|
|
@@ -101,25 +101,25 @@ const Fn = /* @__PURE__ */ W({
|
|
|
101
101
|
n({
|
|
102
102
|
adjustZoom: ke
|
|
103
103
|
});
|
|
104
|
-
const a = b(100), s = b(0), r = b(0), h = b(!1),
|
|
105
|
-
|
|
104
|
+
const a = b(100), s = b(0), r = b(0), h = b(!1), g = b(!1), f = b(void 0), _ = b(!1), S = b(), $ = V(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = V(() => a.value / 100), c = V(() => l.maxScale * 100);
|
|
105
|
+
H(
|
|
106
106
|
[C, s, r],
|
|
107
107
|
() => {
|
|
108
108
|
ie();
|
|
109
109
|
},
|
|
110
110
|
{ immediate: !0 }
|
|
111
|
-
),
|
|
111
|
+
), H(
|
|
112
112
|
() => l.desktop,
|
|
113
113
|
() => {
|
|
114
114
|
l.desktop ? d() : x();
|
|
115
115
|
}
|
|
116
|
-
),
|
|
116
|
+
), H(
|
|
117
117
|
() => l.mobile,
|
|
118
118
|
() => {
|
|
119
|
-
l.mobile ?
|
|
119
|
+
l.mobile ? k() : E();
|
|
120
120
|
}
|
|
121
121
|
), Re(() => {
|
|
122
|
-
l.desktop && d(), l.mobile &&
|
|
122
|
+
l.desktop && d(), l.mobile && k();
|
|
123
123
|
}), et(() => {
|
|
124
124
|
l.desktop && x(), l.mobile && E();
|
|
125
125
|
});
|
|
@@ -128,7 +128,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
128
128
|
capture: !0
|
|
129
129
|
}), S.value.addEventListener("mousedown", q, {
|
|
130
130
|
capture: !0
|
|
131
|
-
}), S.value.addEventListener("mousemove",
|
|
131
|
+
}), S.value.addEventListener("mousemove", D, {
|
|
132
132
|
capture: !0
|
|
133
133
|
}), window.addEventListener("mouseup", J, {
|
|
134
134
|
capture: !0
|
|
@@ -136,8 +136,8 @@ const Fn = /* @__PURE__ */ W({
|
|
|
136
136
|
capture: !0
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
S.value.addEventListener("touchstart",
|
|
139
|
+
function k() {
|
|
140
|
+
S.value.addEventListener("touchstart", te, {
|
|
141
141
|
capture: !0
|
|
142
142
|
}), S.value.addEventListener("touchmove", Ae, {
|
|
143
143
|
capture: !0
|
|
@@ -152,7 +152,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
152
152
|
capture: !0
|
|
153
153
|
}), S.value.removeEventListener("mousedown", q, {
|
|
154
154
|
capture: !0
|
|
155
|
-
}), S.value.removeEventListener("mousemove",
|
|
155
|
+
}), S.value.removeEventListener("mousemove", D, {
|
|
156
156
|
capture: !0
|
|
157
157
|
}), window.removeEventListener("mouseup", J, {
|
|
158
158
|
capture: !0
|
|
@@ -161,7 +161,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function E() {
|
|
164
|
-
S.value.removeEventListener("touchstart",
|
|
164
|
+
S.value.removeEventListener("touchstart", te, {
|
|
165
165
|
capture: !0
|
|
166
166
|
}), S.value.removeEventListener("touchmove", Ae, {
|
|
167
167
|
capture: !0
|
|
@@ -172,15 +172,15 @@ const Fn = /* @__PURE__ */ W({
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
function R(B) {
|
|
175
|
-
const { x: Q, y: P } =
|
|
175
|
+
const { x: Q, y: P } = M(B);
|
|
176
176
|
ke(-B.deltaY / 10, Q, P), B.preventDefault();
|
|
177
177
|
}
|
|
178
178
|
function q(B) {
|
|
179
179
|
h.value = !0, _.value = !1, f.value = B;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function D(B) {
|
|
182
182
|
if (h.value) {
|
|
183
|
-
const { x: Q, y: P } =
|
|
183
|
+
const { x: Q, y: P } = M(B), { x: N, y: le } = M(f.value), G = {
|
|
184
184
|
x: Q - N,
|
|
185
185
|
y: P - le
|
|
186
186
|
};
|
|
@@ -193,32 +193,32 @@ const Fn = /* @__PURE__ */ W({
|
|
|
193
193
|
function be(B) {
|
|
194
194
|
h.value && (_.value && l.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), h.value = !1);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
h.value = B.touches.length === 1,
|
|
196
|
+
function te(B) {
|
|
197
|
+
h.value = B.touches.length === 1, g.value = B.touches.length === 2, f.value = B;
|
|
198
198
|
}
|
|
199
199
|
function Ae(B) {
|
|
200
200
|
if (h.value) {
|
|
201
|
-
const { x: Q, y: P } =
|
|
201
|
+
const { x: Q, y: P } = M(B.touches[0]), { x: N, y: le } = M(
|
|
202
202
|
f.value.touches[0]
|
|
203
203
|
), G = {
|
|
204
204
|
x: Q - N,
|
|
205
205
|
y: P - le
|
|
206
206
|
};
|
|
207
207
|
z(G.x), ve(G.y);
|
|
208
|
-
} else if (
|
|
209
|
-
const { x: Q, y: P } =
|
|
208
|
+
} else if (g.value && B.touches.length === 2) {
|
|
209
|
+
const { x: Q, y: P } = M(B.touches[0]), { x: N, y: le } = M(
|
|
210
210
|
f.value.touches[0]
|
|
211
|
-
), { x: G, y: re } =
|
|
211
|
+
), { x: G, y: re } = M(B.touches[1]), { x: Z, y: ge } = M(
|
|
212
212
|
f.value.touches[1]
|
|
213
|
-
), xe = Math.hypot(N - Z, le -
|
|
213
|
+
), xe = Math.hypot(N - Z, le - ge), De = Math.hypot(Q - G, P - re), pe = (G + Q) / 2, fe = (re + P) / 2;
|
|
214
214
|
ke(De - xe, pe, fe);
|
|
215
215
|
}
|
|
216
216
|
f.value = B;
|
|
217
217
|
}
|
|
218
218
|
function U() {
|
|
219
|
-
h.value = !1,
|
|
219
|
+
h.value = !1, g.value = !1;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function M(B) {
|
|
222
222
|
const { left: Q, top: P } = S.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
224
|
x: B.clientX - Q,
|
|
@@ -240,9 +240,9 @@ const Fn = /* @__PURE__ */ W({
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
function ke(B, Q, P) {
|
|
243
|
-
const N = Q !== void 0 ? Q : S.value.clientWidth / 2, le = P !== void 0 ? P : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, Z = G * C.value,
|
|
243
|
+
const N = Q !== void 0 ? Q : S.value.clientWidth / 2, le = P !== void 0 ? P : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, Z = G * C.value, ge = re * C.value;
|
|
244
244
|
a.value = Math.min(Math.max(100, a.value + B), c.value);
|
|
245
|
-
const xe = G * C.value, De = re * C.value, pe = xe - Z, fe = De -
|
|
245
|
+
const xe = G * C.value, De = re * C.value, pe = xe - Z, fe = De - ge;
|
|
246
246
|
s.value -= N / G * pe, r.value -= le / re * fe, z(0), ve(0);
|
|
247
247
|
}
|
|
248
248
|
function ie() {
|
|
@@ -254,8 +254,8 @@ const Fn = /* @__PURE__ */ W({
|
|
|
254
254
|
min: 100,
|
|
255
255
|
max: c.value,
|
|
256
256
|
resolve: (B, Q) => {
|
|
257
|
-
const P = S.value.clientWidth, N = S.value.clientHeight, le = s.value / -C.value, G = r.value / -C.value, re = le + P / C.value, Z = G + N / C.value,
|
|
258
|
-
return { x:
|
|
257
|
+
const P = S.value.clientWidth, N = S.value.clientHeight, le = s.value / -C.value, G = r.value / -C.value, re = le + P / C.value, Z = G + N / C.value, ge = B / P * (re - le) + le, xe = Q / N * (Z - G) + G;
|
|
258
|
+
return { x: ge, y: xe };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
@@ -266,14 +266,14 @@ const Fn = /* @__PURE__ */ W({
|
|
|
266
266
|
style: ne({ position: l.position })
|
|
267
267
|
}, [
|
|
268
268
|
e("div", {
|
|
269
|
-
style: ne({ "transform-origin": "top left", transform:
|
|
269
|
+
style: ne({ "transform-origin": "top left", transform: $.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
272
|
K(B.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
276
|
-
}), $n = /* @__PURE__ */
|
|
276
|
+
}), $n = /* @__PURE__ */ ee(On, [["__scopeId", "data-v-3e334a46"]]);
|
|
277
277
|
var Ze = {};
|
|
278
278
|
Object.defineProperty(Ze, "__esModule", {
|
|
279
279
|
value: !0
|
|
@@ -335,26 +335,26 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
335
335
|
apartmentId: s,
|
|
336
336
|
currentCameraId: r,
|
|
337
337
|
showStaticImage: h,
|
|
338
|
-
mouseSensitivity:
|
|
339
|
-
} = _e(l), f = n, _ = b(), S = b(r.value),
|
|
340
|
-
|
|
338
|
+
mouseSensitivity: g
|
|
339
|
+
} = _e(l), f = n, _ = b(), S = b(r.value), $ = b(0), C = b(0);
|
|
340
|
+
H(r, () => {
|
|
341
341
|
S.value = r.value;
|
|
342
|
-
}),
|
|
342
|
+
}), H([a, s], async () => {
|
|
343
343
|
_.value && await _.value.loadInterior(
|
|
344
|
-
(
|
|
344
|
+
(k) => me(
|
|
345
345
|
i.value,
|
|
346
|
-
`/${a.value}/${s.value}${
|
|
346
|
+
`/${a.value}/${s.value}${k}`
|
|
347
347
|
),
|
|
348
348
|
S.value,
|
|
349
349
|
!1
|
|
350
350
|
);
|
|
351
|
-
}),
|
|
351
|
+
}), H(
|
|
352
352
|
S,
|
|
353
353
|
() => {
|
|
354
354
|
_.value && _.value.goToCamera(S.value, !0), f("newCameraCallback", S.value);
|
|
355
355
|
},
|
|
356
356
|
{ immediate: !0 }
|
|
357
|
-
),
|
|
357
|
+
), H(
|
|
358
358
|
[i],
|
|
359
359
|
async () => {
|
|
360
360
|
await d(), $e(async () => {
|
|
@@ -362,11 +362,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
362
362
|
});
|
|
363
363
|
},
|
|
364
364
|
{ immediate: !0, deep: !0 }
|
|
365
|
-
),
|
|
365
|
+
), H(_, () => {
|
|
366
366
|
if (_.value) {
|
|
367
367
|
f("playerApiCallback", _.value);
|
|
368
|
-
const
|
|
369
|
-
|
|
368
|
+
const k = _.value.getCurrentCamera();
|
|
369
|
+
k && (S.value = k.id, f("sunsimCallback", k.sunsimDayOfYear));
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
async function c() {
|
|
@@ -374,26 +374,26 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
374
374
|
const R = {
|
|
375
375
|
initialized: () => {
|
|
376
376
|
_.value = o.Main.getPlayerAPI();
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const D = _.value.getCurrentCamera();
|
|
378
|
+
D && (S.value = D.id);
|
|
379
379
|
},
|
|
380
|
-
newCamera: (
|
|
381
|
-
f("newFloorCallback",
|
|
380
|
+
newCamera: (D) => {
|
|
381
|
+
f("newFloorCallback", D.floorLevel), f("sunsimCallback", D.sunsimDayOfYear), _.value && _.value.resetMarkerBehaviour(0), S.value = D.id;
|
|
382
382
|
},
|
|
383
|
-
newFOV: (
|
|
384
|
-
f("newFovCallback",
|
|
383
|
+
newFOV: (D) => {
|
|
384
|
+
f("newFovCallback", D), C.value = D;
|
|
385
385
|
},
|
|
386
|
-
newRotation: (
|
|
387
|
-
const J =
|
|
388
|
-
f("newRotationCallback", J),
|
|
386
|
+
newRotation: (D) => {
|
|
387
|
+
const J = D + 0;
|
|
388
|
+
f("newRotationCallback", J), $.value = J;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
if (!Wn)
|
|
392
392
|
return;
|
|
393
393
|
const q = await new o.Main(
|
|
394
|
-
(
|
|
394
|
+
(D) => me(
|
|
395
395
|
i.value,
|
|
396
|
-
`/${a.value}/${s.value}${
|
|
396
|
+
`/${a.value}/${s.value}${D}`
|
|
397
397
|
),
|
|
398
398
|
"qpc",
|
|
399
399
|
R,
|
|
@@ -403,42 +403,42 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
403
403
|
q && (q.handleWindowResize(), window.addEventListener(
|
|
404
404
|
"resize",
|
|
405
405
|
q.handleWindowResize.bind(q)
|
|
406
|
-
), q.animate(), _.value = o.Main.getPlayerAPI(), _.value && _.value.setLookSensitivity(
|
|
406
|
+
), q.animate(), _.value = o.Main.getPlayerAPI(), _.value && _.value.setLookSensitivity(g.value));
|
|
407
407
|
}
|
|
408
408
|
async function d() {
|
|
409
409
|
_.value && (await _.value.destroy(), _.value = void 0);
|
|
410
410
|
}
|
|
411
411
|
return et(() => {
|
|
412
412
|
d();
|
|
413
|
-
}), (
|
|
413
|
+
}), (k, x) => (u(), L("div", Pn, [
|
|
414
414
|
e("div", Qn, [
|
|
415
|
-
K(
|
|
415
|
+
K(k.$slots, "slideshow-image", {}, void 0, !0),
|
|
416
416
|
e("div", Nn, [
|
|
417
|
-
K(
|
|
417
|
+
K(k.$slots, "top-left", {}, void 0, !0)
|
|
418
418
|
]),
|
|
419
419
|
e("div", Zn, [
|
|
420
|
-
K(
|
|
420
|
+
K(k.$slots, "top-center", {}, void 0, !0)
|
|
421
421
|
]),
|
|
422
422
|
e("div", qn, [
|
|
423
|
-
K(
|
|
423
|
+
K(k.$slots, "top-right", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
e("div", Jn, [
|
|
426
|
-
K(
|
|
426
|
+
K(k.$slots, "center-left", {}, void 0, !0)
|
|
427
427
|
]),
|
|
428
428
|
e("div", Gn, [
|
|
429
|
-
K(
|
|
429
|
+
K(k.$slots, "center-center", {}, void 0, !0)
|
|
430
430
|
]),
|
|
431
431
|
e("div", Kn, [
|
|
432
|
-
K(
|
|
432
|
+
K(k.$slots, "center-right", {}, void 0, !0)
|
|
433
433
|
]),
|
|
434
434
|
e("div", Xn, [
|
|
435
|
-
K(
|
|
435
|
+
K(k.$slots, "bottom-left", {}, void 0, !0)
|
|
436
436
|
]),
|
|
437
437
|
e("div", eo, [
|
|
438
|
-
K(
|
|
438
|
+
K(k.$slots, "bottom-center", {}, void 0, !0)
|
|
439
439
|
]),
|
|
440
440
|
e("div", to, [
|
|
441
|
-
K(
|
|
441
|
+
K(k.$slots, "bottom-right", {}, void 0, !0)
|
|
442
442
|
]),
|
|
443
443
|
e("div", no, [
|
|
444
444
|
e("canvas", {
|
|
@@ -449,7 +449,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
449
449
|
])
|
|
450
450
|
]));
|
|
451
451
|
}
|
|
452
|
-
}), ao = /* @__PURE__ */
|
|
452
|
+
}), ao = /* @__PURE__ */ ee(oo, [["__scopeId", "data-v-4e601038"]]), Ve = Symbol(), lo = {
|
|
453
453
|
style: { width: "24px", height: "24px" },
|
|
454
454
|
viewBox: "0 0 18 16",
|
|
455
455
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -461,27 +461,27 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
461
461
|
},
|
|
462
462
|
emits: ["level"],
|
|
463
463
|
setup(t, { emit: n }) {
|
|
464
|
-
const o = t, l = n, i = Se(Ve), a =
|
|
464
|
+
const o = t, l = n, i = Se(Ve), a = V(() => {
|
|
465
465
|
const f = o.floorLevels;
|
|
466
466
|
return f.sort(), f;
|
|
467
|
-
}), s =
|
|
468
|
-
function
|
|
467
|
+
}), s = V(() => a.value.indexOf(o.level) + 1 <= a.value.length / 2 ? "lower" : "upper"), r = V(() => s.value === "lower"), h = V(() => s.value === "upper");
|
|
468
|
+
function g() {
|
|
469
469
|
const f = o.level + 1;
|
|
470
470
|
f >= a.value.length ? l("level", a.value[0]) : l("level", a.value[f]);
|
|
471
471
|
}
|
|
472
472
|
return (f, _) => {
|
|
473
|
-
const S = I("v-btn"),
|
|
474
|
-
return u(), T(
|
|
473
|
+
const S = I("v-btn"), $ = I("v-tooltip");
|
|
474
|
+
return u(), T($, {
|
|
475
475
|
right: "",
|
|
476
476
|
attach: ""
|
|
477
477
|
}, {
|
|
478
478
|
activator: m(({ props: C }) => [
|
|
479
|
-
|
|
479
|
+
y(S, Ie({
|
|
480
480
|
style: { cursor: "pointer" },
|
|
481
481
|
density: "comfortable",
|
|
482
482
|
elevation: "1",
|
|
483
483
|
icon: ""
|
|
484
|
-
}, C, { onClick:
|
|
484
|
+
}, C, { onClick: g }), {
|
|
485
485
|
default: m(() => [
|
|
486
486
|
(u(), L("svg", lo, [
|
|
487
487
|
e("path", {
|
|
@@ -504,13 +504,13 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
504
504
|
}, 1040)
|
|
505
505
|
]),
|
|
506
506
|
default: m(() => [
|
|
507
|
-
e("span", ro,
|
|
507
|
+
e("span", ro, Y(p(i).getLabel(s.value)) + " " + Y(p(i).getLabel("floor")), 1)
|
|
508
508
|
]),
|
|
509
509
|
_: 1
|
|
510
510
|
});
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
}), co = /* @__PURE__ */
|
|
513
|
+
}), co = /* @__PURE__ */ ee(uo, [["__scopeId", "data-v-4c45966e"]]), vo = { class: "d-none d-md-inline" }, mo = { class: "interior-selector-list" }, po = ["onClick"], fo = { class: "d-flex align-center justify-left pa-0 ma-0" }, ho = { class: "pa-0 ma-0" }, go = { class: "text-caption ma-2 no-wrap" }, yo = /* @__PURE__ */ W({
|
|
514
514
|
__name: "VInteriorSelector",
|
|
515
515
|
props: {
|
|
516
516
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -521,9 +521,9 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
521
521
|
setup(t, { emit: n }) {
|
|
522
522
|
const o = t, l = n, i = Se(Ve);
|
|
523
523
|
return (a, s) => {
|
|
524
|
-
const r = I("v-icon"), h = I("v-btn"),
|
|
524
|
+
const r = I("v-icon"), h = I("v-btn"), g = I("v-img"), f = I("v-menu");
|
|
525
525
|
return u(), L("div", null, [
|
|
526
|
-
|
|
526
|
+
y(f, {
|
|
527
527
|
transition: "slide-x-reverse-transition",
|
|
528
528
|
location: "top end",
|
|
529
529
|
origin: "end bottom",
|
|
@@ -531,15 +531,15 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
531
531
|
attach: ""
|
|
532
532
|
}, {
|
|
533
533
|
activator: m(({ props: _ }) => [
|
|
534
|
-
|
|
534
|
+
y(h, Ie({ rounded: "" }, _, { class: "text-capitalize" }), {
|
|
535
535
|
default: m(() => [
|
|
536
|
-
|
|
536
|
+
y(r, null, {
|
|
537
537
|
default: m(() => [
|
|
538
538
|
ae("mdi-palette-outline")
|
|
539
539
|
]),
|
|
540
540
|
_: 1
|
|
541
541
|
}),
|
|
542
|
-
e("span", vo,
|
|
542
|
+
e("span", vo, Y(p(i).getLabel("interior")), 1)
|
|
543
543
|
]),
|
|
544
544
|
_: 2
|
|
545
545
|
}, 1040)
|
|
@@ -548,14 +548,14 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
548
548
|
e("div", mo, [
|
|
549
549
|
(u(!0), L(we, null, Ee(o.availableArchetypes, (_, S) => (u(), L("div", {
|
|
550
550
|
key: `at-menuitem-${S}`,
|
|
551
|
-
onClick: (
|
|
551
|
+
onClick: ($) => l("selectInterior", _.archetypeID),
|
|
552
552
|
class: ce(["interior-selector-list-item", {
|
|
553
553
|
active: S === a.selectedIndex
|
|
554
554
|
}])
|
|
555
555
|
}, [
|
|
556
556
|
e("div", fo, [
|
|
557
557
|
e("div", ho, [
|
|
558
|
-
g
|
|
558
|
+
y(g, {
|
|
559
559
|
width: "100",
|
|
560
560
|
"max-width": "100",
|
|
561
561
|
height: "66",
|
|
@@ -563,7 +563,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
563
563
|
class: "pa-0 ma-0"
|
|
564
564
|
}, null, 8, ["src"])
|
|
565
565
|
]),
|
|
566
|
-
e("div", go,
|
|
566
|
+
e("div", go, Y(p(i).get(_.title)), 1)
|
|
567
567
|
])
|
|
568
568
|
], 10, po))), 128))
|
|
569
569
|
])
|
|
@@ -573,7 +573,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
573
573
|
]);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}), _o = /* @__PURE__ */
|
|
576
|
+
}), _o = /* @__PURE__ */ ee(yo, [["__scopeId", "data-v-eece0130"]]), bo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x5Z58B6EJzZBWDogYUAowSg3kDKOxDVOjiiH55hTTvAOmFPkiXIyHALikAsQc4g4Yl9BigcJbhF2hMQmAcMiEKsdYUFwIJP6d1dNatrdPbV09/TM9E+qTHs8xNP972+p6qqviHKaig5qYiqVisNeRHuftaUhH51h7XfWyjju6OiYoialKQRjwkCIHax9zFqBHztkB0Qr89cLeGVCzlDGyaxgTKQCeeJ8yl/ToESegONMvBJlkEwJxkXqZ22Awt1bWpTJE/BYM7vQ2IG7Y20/axOV7DLJ2v8oAzTMwipeXDrA2n5qvDWpUmbtNGujzOrK1A5UPIsqsjZdiYHXY2OVZx995LbZkZF5v58ZHKz+/g/22Zi4U/HOIfUb7T1KEXaCsKg7rA1TAlb1x88/05+//kop4JB3Dqm7ylQEYye1g7UJdvgDJez+Zr/9liovX1JKOKyNcotzKAUSFwyug71MUkqp+V8PH9KrH3+klHFYu8PPNVESEwx3HLeqYUoZuMa5iQlqAMNJW1sigrEv/AWlaFWCrp4e6li82D1O2TXKOKxN8GsQO7ELxt3CWWpAqg6xFn3zjfc9mFgQrUE4rJ1NwkXGKhj7gkepAS5Q5l9ffUVdn3ziHsMtvrtxgxoIXOQPFCOxCFbx+lYIGvspBl4y63j37h2Zsvj776uu0cQtvnnzhp49e0YxcYBdm7Nx9dmsBeNfBGIVyIK3b9/SQ5bhTU1N0c2bN+nx48dkyntr1tC/h4bIFNwwd+/epStXrsQlHOLZRByiWQkmibWDLMBFuXbtGj169KhqWS9evCAbFnz+OXX39ZEJ4m/Pzc3FKRyukbVothb2E1mI9erVK7rBYgwuCi4OWMxc2aZNm2j79u1ky3+Ya+xk1qbL5s2byXEcWrBggfuzEO7q1auuu7QA1+osWWA8+MsTDOOYBZf34MGD6s+4OGvXrqWlS/VuwLdM8LlffnGPOz/4wLWssN93f/aZm/rr8Pz5c9fyZaFWr15NawxuBImjbPD4/2SAkWA8XTXKBnHi5XKZZmdn3Z+7urpo5cqVbuvs7KSsAtEQYwWLFi2ijRs3Vq3QgO+YaEXSRFsw3iE0MmsE81u3blXjFNwfXE93dzc1A3CNSIiEteF7w31DPEO+ZKKN6fwDLcH4kAuSDIc08bvAVatWuS6wGfFbG84D52MA5pD06jxb0xUMj0Yc0gQnh5MEcIEbNmzQjlVZY2ZmxnXtwltYxLUSE0w5nVXOEnncckgTWSz4+61btza9WADnsG3btmoM81udBgV2bZXzASUL467wDmniFwvpcrPEK1X8cc3C0npVJvuoWpj2swrErFYXC+CccG6ypRmO0iiNOdYVjFnXAGm6QnSIRYLRymIJ/KLh3F/qj2EW+BSKSCJdIh9GwXMthxSBa4CLgKtAgoGY1cpiyeCcMRqCRAR9Spy7Zj8NWeOHUTOQ61kYFHdIA/SzxDATssF2EQvgXNGvBBANw1mawEAiR49CBeOJhtaMICQZr1+/do8ReFshG9QF54xRGwC3aBDPDkQNEEdZ2ABpukI5yUC21K6sW7fOHcUBiGeI6RpEWlmUYFrWBVcoQABud+AaxdioPMKjSKiVBQqmmxniWZHsCtspboWBayC7Rs3naRAr0GDCLEzrsUnuCoPB+KLcP9Oc9hA462qeYJilSxoPJXHniKwwF6sWuEQxwI1rpJmAoF9W8L8ZZGHG1rVs2TLKqQVZo0hAnjx5Qpr0+98IEqxAiuTWpYaIZXCJmiMgA/43agTjJuiQIkuWLHGzIdxBuXWFAyuDB0JCpvmwc6nfLXb5PtBPGiATglC5WPWxmFSENd4l8YPfJVpNV8tJhIL8Q3Xwl3fUpikni/xXDAjLFpZbV3apaiML9inlZJWPxUFuYc1BQRzIWaIT9unr16+7M2B7enpo+fLllJM6VWPqCnrTDzrIp06dco/x6GDLli3U29vrvuakgiMOXMH4+KES9+/fd9v58+fdTiCsbufOnbn1JQzTaAPLFO928B8KFDEzChY2OTnpukasNgl7IJdbX6IUmGAXhGAD5C0dUuLevXtug3givvk5cuRIW4+A4LroAO9Ux0MNMMFOixj2Pmmwfv16t+3evdu1vkuXLrkuUvNReMuCa3L48GGtf7Nv3756grlPoLvkH1SAKJcvX3bjGF791oW4hpi2cOFCyomVGsEiwR0DC4KZQyg/sDY5+cj5h71791ZH6M+cOePe8P39/VVrGhsbCwwpYSgJBqEgmIxILiBSPlofjnx9IA4Ew7UTN/bFixe1BDNe4wyrQ+Lx9OlTykkPJQvDHTE4OOim9hAJdwQEEwlH3h9LDyXBIAAyQjQgp/SiXwYx0QD6Y4cOHbJZSpoTghBsRucfibR+z549rliIb+Pj49XfIzHBPMVcsFpwzVasWGF6XVyNtDvOEEhYVljWCNq94ywSiXrXANcTNze6QXWErOk4l6M+iVgFCwob1QCi/4UYhuyx3a1L9WbFdVK8VmX8R0kwCIXkwo9IT+U0NScxsBWJJxjKDjC3WPdf5FbUOMT6Z3kSTmhJB7hE8QAzpyFgX5heHMhpPRR0gj6tMJKckyxlcSCPdJQoJ6tUy0HIgv1GOVmlJA7yiaTNwfyJpPyNEuVkjZJcBsI/Wl+inKxRU87IL9gF0kAUVkZN3JxoMJSH7pFBCdqaeoo1gvFtBJUHgjEGhhWYWNSHcnQ5wUAoVGBFoRVRiVWRMmZKyW8EPcAcJUWwkE+UNjBYDto2WCwrLvnfCBJsnDSQSxvkVjYfy2XFx/xvzBOMu8USKSKXNsCjFpsdHVoRC+uaCqqfGDanQ7lwMFyiuHMMShu0NEjILKzraNCbYYJhY05l/4Y7Ry5tYFmMvyWQa2/hqYamdSHZOB30i0DBeEctUOEwRAERw7JzLQdqRgpQKl2T0bBfRE1zQ8BTtjLcRZh8A5CAhE0daAdkV2hQe6tMnocLJFQwEytDxii7xnbMGqenp2tcoUHsitwjut5EUi0rA3LZOdR1b6d4hnMV4QBZoYErLFNAKi8TKRi3su9IA7G9BUA8k0uEtzKi1rHo1uAaGJQhLEbV+wWqdeu1N3SDSxRxzF91utWQC1MDxHIxoKABMsMP631IdW699tZJ+MKi4L6/GH8r4RcL52wgFlDazkNJMN7jLpIm8i4JrShakFiGVe2Kqhvm6G6WY7TXpbwvCRISJCbNXnEb2SASDBGzLMRScoUCk+2osOJB+2rLMQ3EsMtdw8B5yE8nDGMWKLPWl9h2VMBmwzfMI799+3bNhmnNlIwE7S6IXfpE39OAZDd8E/Dtk4pkAPw9SqbLC9izbm14sg6LQotxd0HELa0uE7DZtBS78RwgQ/z7beHEIZzphFXcAOfOnXPXqImbQaxr27VrF5mCWIW68yKxABYuUJDupqUC0yREEGRtJsLhIeHIyEjoyhr8v4rFotZaAAyr4VGR/EgfVgWxLCskjDGxviRDbAWLZePtoK13cXFUd5g4efJkdXUNrElU4ZFX3WDxIVb0q4BJRbJFiXr8Max3Q/eor95oRhRKS2bDwB9moqHDZyWaqBssC6dzcUTVGQiFAiUCiAfrw4wluEpVwfC38T1i3rLYWixgJRiQRMMKzi/IAlk4k8wLa68hkOxOIZLYZkQVTHvA37fI/vyUyMsIrR9fWLlEP7aJiClYHSqvsRb1QxBvsK64weBxydcUE7EKBmxSfhtQZcZf/AXA2oaGhhq1XMoodY8idsEA71zD2hxKkbAygcgOIVqK1gbX97Vup1iFRAQDNruqx4XsKnWyREtK5IlVpgQwLl1UD3xhPqhZpIQ5ceIEHTx4kI4fP17zPmKZQDfxMAQusC8psUBiggm4D4dwZUoIFCtBZgl3iD4ZXCJKA+JYkPD67BJ5G2fHGq+CSMwlBsELuCApcShGEKuGh4dDRzrQH5P7ZzGCWAWrOkYpkapggI+OYI+yAYpROIiGUQ00JB9INJAZQiybscQQxIyyY3H0rXRIXTCBtO3wADUwMdGkYUJlCrhK1iYr2WWCtf2ViP2V06JhFhZExaufD3dZoMZbHSxolLzRda2VqUmSKcFkmHjYvAcdcIhYoHQoiZYlkWQyK5gMd0XY4adAnoAO2W/uUyZvBL3EX39rhrjUFIKFwV0oau475E0MCosxM7yVyZullC+vyUmHvwGblCVYM8UGOgAAAABJRU5ErkJggg==", wo = "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==", ko = /* @__PURE__ */ W({
|
|
577
577
|
__name: "VCompass",
|
|
578
578
|
props: {
|
|
579
579
|
rotation: {}
|
|
@@ -582,7 +582,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
582
582
|
const n = t, o = b(wo), l = b({
|
|
583
583
|
backgroundImage: `url(${bo})`,
|
|
584
584
|
backgroundSize: "contain"
|
|
585
|
-
}), i =
|
|
585
|
+
}), i = V(() => ({
|
|
586
586
|
transform: `rotate(${-n.rotation + 180}deg)`
|
|
587
587
|
}));
|
|
588
588
|
return (a, s) => {
|
|
@@ -591,7 +591,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
591
591
|
style: ne(l.value),
|
|
592
592
|
class: "compass-wrapper"
|
|
593
593
|
}, [
|
|
594
|
-
|
|
594
|
+
y(r, {
|
|
595
595
|
class: "compass-needle",
|
|
596
596
|
src: o.value,
|
|
597
597
|
style: ne(i.value)
|
|
@@ -606,7 +606,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
606
606
|
minutes: { default: 0 }
|
|
607
607
|
},
|
|
608
608
|
setup(t) {
|
|
609
|
-
const n = t, o =
|
|
609
|
+
const n = t, o = V(() => [l(n.hours), ":", l(n.minutes)].join(""));
|
|
610
610
|
function l(i) {
|
|
611
611
|
return ("0" + i).slice(-2);
|
|
612
612
|
}
|
|
@@ -614,16 +614,16 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
614
614
|
const s = I("v-img");
|
|
615
615
|
return u(), L("div", So, [
|
|
616
616
|
e("div", Ao, [
|
|
617
|
-
|
|
617
|
+
y(s, {
|
|
618
618
|
src: p(Co),
|
|
619
619
|
"aspect-ratio": "1"
|
|
620
620
|
}, null, 8, ["src"])
|
|
621
621
|
]),
|
|
622
|
-
e("div", xo,
|
|
622
|
+
e("div", xo, Y(o.value), 1)
|
|
623
623
|
]);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
}), Io = /* @__PURE__ */
|
|
626
|
+
}), Io = /* @__PURE__ */ ee(Lo, [["__scopeId", "data-v-874b2271"]]), wt = (t) => (mt("data-v-86d91cc1"), t = t(), pt(), t), Eo = {
|
|
627
627
|
key: 0,
|
|
628
628
|
width: "24",
|
|
629
629
|
height: "24",
|
|
@@ -643,15 +643,15 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
643
643
|
},
|
|
644
644
|
emits: ["toggle"],
|
|
645
645
|
setup(t, { emit: n }) {
|
|
646
|
-
const o = t, l = n, i = Se(Ve), a =
|
|
646
|
+
const o = t, l = n, i = Se(Ve), a = V(() => {
|
|
647
647
|
let s = "virtualTour";
|
|
648
648
|
return o.showStaticImage || (s = "slideShow"), s;
|
|
649
649
|
});
|
|
650
650
|
return (s, r) => {
|
|
651
|
-
const h = I("v-icon"),
|
|
651
|
+
const h = I("v-icon"), g = I("v-btn"), f = I("v-tooltip");
|
|
652
652
|
return u(), T(f, { location: "top" }, {
|
|
653
653
|
activator: m(({ props: _ }) => [
|
|
654
|
-
g
|
|
654
|
+
y(g, Ie({
|
|
655
655
|
density: "comfortable",
|
|
656
656
|
elevation: "1",
|
|
657
657
|
icon: "",
|
|
@@ -669,13 +669,13 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
669
669
|
}, 1040)
|
|
670
670
|
]),
|
|
671
671
|
default: m(() => [
|
|
672
|
-
e("span", null,
|
|
672
|
+
e("span", null, Y(p(i).getLabel(a.value)), 1)
|
|
673
673
|
]),
|
|
674
674
|
_: 1
|
|
675
675
|
});
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
}), To = /* @__PURE__ */
|
|
678
|
+
}), To = /* @__PURE__ */ ee(Bo, [["__scopeId", "data-v-86d91cc1"]]), ze = (t) => (mt("data-v-627f8ee6"), t = t(), pt(), t), Oo = {
|
|
679
679
|
key: 0,
|
|
680
680
|
class: "desktop-content"
|
|
681
681
|
}, $o = { class: "d-flex align-center justify-center" }, Ro = { class: "box col d-flex flex-column align-bottom justify-center" }, Ho = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1203,7 +1203,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1203
1203
|
__name: "VTutorial",
|
|
1204
1204
|
emits: ["closeTutorial"],
|
|
1205
1205
|
setup(t, { emit: n }) {
|
|
1206
|
-
const o = n, l = Se(Ve), i = b(!1), a = b(!1), s =
|
|
1206
|
+
const o = n, l = Se(Ve), i = b(!1), a = b(!1), s = V(() => [
|
|
1207
1207
|
/Android/i,
|
|
1208
1208
|
/webOS/i,
|
|
1209
1209
|
/iPhone/i,
|
|
@@ -1211,43 +1211,43 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1211
1211
|
/iPod/i,
|
|
1212
1212
|
/BlackBerry/i,
|
|
1213
1213
|
/Windows Phone/i
|
|
1214
|
-
].some((
|
|
1214
|
+
].some((g) => navigator.userAgent.match(g)));
|
|
1215
1215
|
function r() {
|
|
1216
1216
|
o("closeTutorial", i.value);
|
|
1217
1217
|
}
|
|
1218
|
-
return (h,
|
|
1219
|
-
const f = I("v-icon"), _ = I("v-card-title"), S = I("v-btn"),
|
|
1218
|
+
return (h, g) => {
|
|
1219
|
+
const f = I("v-icon"), _ = I("v-card-title"), S = I("v-btn"), $ = I("v-divider"), C = I("v-card-text"), c = I("v-card-actions"), d = I("v-card"), k = I("v-expand-transition"), x = I("v-checkbox");
|
|
1220
1220
|
return u(), T(Fe, { name: "fade-transition" }, {
|
|
1221
1221
|
default: m(() => [
|
|
1222
|
-
|
|
1222
|
+
y(d, {
|
|
1223
1223
|
class: "mx-auto",
|
|
1224
1224
|
elevation: "16"
|
|
1225
1225
|
}, {
|
|
1226
1226
|
default: m(() => [
|
|
1227
|
-
|
|
1227
|
+
y(_, { class: "text-capitalize" }, {
|
|
1228
1228
|
default: m(() => [
|
|
1229
|
-
|
|
1229
|
+
y(f, { size: "x-small" }, {
|
|
1230
1230
|
default: m(() => [
|
|
1231
1231
|
ae("mdi-alert-outline")
|
|
1232
1232
|
]),
|
|
1233
1233
|
_: 1
|
|
1234
1234
|
}),
|
|
1235
|
-
ae(" " +
|
|
1235
|
+
ae(" " + Y(p(l).getLabel("disclaimer")), 1)
|
|
1236
1236
|
]),
|
|
1237
1237
|
_: 1
|
|
1238
1238
|
}),
|
|
1239
|
-
|
|
1239
|
+
y(C, { class: "pb-0" }, {
|
|
1240
1240
|
default: m(() => [
|
|
1241
|
-
e("p", null,
|
|
1242
|
-
|
|
1241
|
+
e("p", null, Y(p(l).getLabel("disclaimerTextShort")), 1),
|
|
1242
|
+
y(S, {
|
|
1243
1243
|
variant: "tonal",
|
|
1244
1244
|
size: "small",
|
|
1245
|
-
onClick:
|
|
1245
|
+
onClick: g[0] || (g[0] = (E) => a.value = !0),
|
|
1246
1246
|
class: "text-capitalize mt-2"
|
|
1247
1247
|
}, {
|
|
1248
1248
|
default: m(() => [
|
|
1249
|
-
ae(
|
|
1250
|
-
|
|
1249
|
+
ae(Y(p(l).getLabel("learnMore")) + " ", 1),
|
|
1250
|
+
y(f, null, {
|
|
1251
1251
|
default: m(() => [
|
|
1252
1252
|
ae("mdi-chevron-right")
|
|
1253
1253
|
]),
|
|
@@ -1256,46 +1256,46 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1256
1256
|
]),
|
|
1257
1257
|
_: 1
|
|
1258
1258
|
}),
|
|
1259
|
-
|
|
1260
|
-
s.value ?
|
|
1259
|
+
y($, { class: "my-3" }),
|
|
1260
|
+
s.value ? F("", !0) : (u(), L("div", Oo, [
|
|
1261
1261
|
e("div", $o, [
|
|
1262
1262
|
e("div", Ro, [
|
|
1263
1263
|
Ho,
|
|
1264
|
-
e("div", Yo,
|
|
1264
|
+
e("div", Yo, Y(p(l).getLabel("clickAndDragToLookAround")), 1)
|
|
1265
1265
|
]),
|
|
1266
1266
|
e("div", Uo, [
|
|
1267
1267
|
zo,
|
|
1268
|
-
e("div", jo,
|
|
1268
|
+
e("div", jo, Y(p(l).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
1269
1269
|
]),
|
|
1270
1270
|
e("div", Wo, [
|
|
1271
1271
|
Po,
|
|
1272
|
-
e("div", Qo,
|
|
1272
|
+
e("div", Qo, Y(p(l).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1273
1273
|
]),
|
|
1274
1274
|
e("div", No, [
|
|
1275
1275
|
Zo,
|
|
1276
|
-
e("div", qo,
|
|
1276
|
+
e("div", qo, Y(p(l).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
1277
1277
|
])
|
|
1278
1278
|
])
|
|
1279
1279
|
])),
|
|
1280
1280
|
s.value ? (u(), L("div", Jo, [
|
|
1281
1281
|
e("div", Go, [
|
|
1282
1282
|
Ko,
|
|
1283
|
-
e("div", Xo,
|
|
1283
|
+
e("div", Xo, Y(p(l).getLabel("tapAndDragToLookAround")), 1)
|
|
1284
1284
|
]),
|
|
1285
1285
|
e("div", ea, [
|
|
1286
1286
|
ta,
|
|
1287
|
-
e("div", na,
|
|
1287
|
+
e("div", na, Y(p(l).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
1288
1288
|
]),
|
|
1289
1289
|
e("div", oa, [
|
|
1290
1290
|
aa,
|
|
1291
|
-
e("div", la,
|
|
1291
|
+
e("div", la, Y(p(l).getLabel("useTwoFingersToZoom")), 1)
|
|
1292
1292
|
])
|
|
1293
|
-
])) :
|
|
1294
|
-
|
|
1293
|
+
])) : F("", !0),
|
|
1294
|
+
y($, { class: "my-1" })
|
|
1295
1295
|
]),
|
|
1296
1296
|
_: 1
|
|
1297
1297
|
}),
|
|
1298
|
-
|
|
1298
|
+
y(k, null, {
|
|
1299
1299
|
default: m(() => [
|
|
1300
1300
|
a.value ? (u(), T(d, {
|
|
1301
1301
|
key: 0,
|
|
@@ -1304,37 +1304,37 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1304
1304
|
style: { bottom: "0" }
|
|
1305
1305
|
}, {
|
|
1306
1306
|
default: m(() => [
|
|
1307
|
-
|
|
1307
|
+
y(C, { class: "pb-0" }, {
|
|
1308
1308
|
default: m(() => [
|
|
1309
1309
|
e("p", sa, [
|
|
1310
|
-
|
|
1310
|
+
y(f, null, {
|
|
1311
1311
|
default: m(() => [
|
|
1312
1312
|
ae("mdi-alert-outline")
|
|
1313
1313
|
]),
|
|
1314
1314
|
_: 1
|
|
1315
1315
|
}),
|
|
1316
|
-
ae(" " +
|
|
1316
|
+
ae(" " + Y(p(l).getLabel("disclaimer")), 1)
|
|
1317
1317
|
]),
|
|
1318
|
-
e("p", ia,
|
|
1318
|
+
e("p", ia, Y(p(l).getLabel("disclaimerText")), 1)
|
|
1319
1319
|
]),
|
|
1320
1320
|
_: 1
|
|
1321
1321
|
}),
|
|
1322
|
-
|
|
1322
|
+
y(c, null, {
|
|
1323
1323
|
default: m(() => [
|
|
1324
|
-
|
|
1324
|
+
y(S, {
|
|
1325
1325
|
variant: "tonal",
|
|
1326
1326
|
size: "small",
|
|
1327
|
-
onClick:
|
|
1327
|
+
onClick: g[1] || (g[1] = (E) => a.value = !1),
|
|
1328
1328
|
class: "text-capitalize"
|
|
1329
1329
|
}, {
|
|
1330
1330
|
default: m(() => [
|
|
1331
|
-
|
|
1331
|
+
y(f, null, {
|
|
1332
1332
|
default: m(() => [
|
|
1333
1333
|
ae("mdi-chevron-left")
|
|
1334
1334
|
]),
|
|
1335
1335
|
_: 1
|
|
1336
1336
|
}),
|
|
1337
|
-
ae(" " +
|
|
1337
|
+
ae(" " + Y(p(l).getLabel("back")), 1)
|
|
1338
1338
|
]),
|
|
1339
1339
|
_: 1
|
|
1340
1340
|
})
|
|
@@ -1343,32 +1343,32 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1343
1343
|
})
|
|
1344
1344
|
]),
|
|
1345
1345
|
_: 1
|
|
1346
|
-
})) :
|
|
1346
|
+
})) : F("", !0)
|
|
1347
1347
|
]),
|
|
1348
1348
|
_: 1
|
|
1349
1349
|
}),
|
|
1350
1350
|
e("div", ra, [
|
|
1351
|
-
|
|
1351
|
+
y(x, {
|
|
1352
1352
|
density: "compact",
|
|
1353
1353
|
modelValue: i.value,
|
|
1354
|
-
"onUpdate:modelValue":
|
|
1354
|
+
"onUpdate:modelValue": g[2] || (g[2] = (E) => i.value = E),
|
|
1355
1355
|
"hide-details": ""
|
|
1356
1356
|
}, {
|
|
1357
1357
|
label: m(() => [
|
|
1358
|
-
e("span", ua,
|
|
1358
|
+
e("span", ua, Y(p(l).getLabel("dontShowAgain")), 1)
|
|
1359
1359
|
]),
|
|
1360
1360
|
_: 1
|
|
1361
1361
|
}, 8, ["modelValue"])
|
|
1362
1362
|
]),
|
|
1363
|
-
|
|
1363
|
+
y(c, null, {
|
|
1364
1364
|
default: m(() => [
|
|
1365
|
-
|
|
1365
|
+
y(S, {
|
|
1366
1366
|
variant: "tonal",
|
|
1367
|
-
onClick:
|
|
1367
|
+
onClick: g[3] || (g[3] = (E) => r()),
|
|
1368
1368
|
block: ""
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: m(() => [
|
|
1371
|
-
ae(
|
|
1371
|
+
ae(Y(p(l).getLabel("iUnderstand")), 1)
|
|
1372
1372
|
]),
|
|
1373
1373
|
_: 1
|
|
1374
1374
|
})
|
|
@@ -1383,7 +1383,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1383
1383
|
});
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
1386
|
-
}), da = /* @__PURE__ */
|
|
1386
|
+
}), da = /* @__PURE__ */ ee(ca, [["__scopeId", "data-v-627f8ee6"]]), va = (t) => (mt("data-v-bd4f66c3"), t = t(), pt(), t), ma = { class: "player-settings-ui" }, pa = { id: "settings-ui-form" }, fa = { class: "form-inputs" }, ha = { class: "setting-label" }, ga = { class: "setting-label" }, ya = ["max", "min", "step"], _a = { class: "setting-label" }, ba = { class: "flex-grow-1 flex-shrink-0" }, wa = ["onUpdate:modelValue"], ka = {
|
|
1387
1387
|
key: 3,
|
|
1388
1388
|
"d-block": "",
|
|
1389
1389
|
class: "mt-3"
|
|
@@ -1401,16 +1401,16 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1401
1401
|
emits: ["updateSettings", "saveSettings"],
|
|
1402
1402
|
setup(t, { emit: n }) {
|
|
1403
1403
|
const o = t, l = n, i = b(
|
|
1404
|
-
|
|
1404
|
+
$(o.initialSettings)
|
|
1405
1405
|
);
|
|
1406
|
-
|
|
1406
|
+
H(
|
|
1407
1407
|
i,
|
|
1408
1408
|
() => {
|
|
1409
1409
|
s();
|
|
1410
1410
|
},
|
|
1411
1411
|
{ deep: !0 }
|
|
1412
1412
|
);
|
|
1413
|
-
const a =
|
|
1413
|
+
const a = V(() => {
|
|
1414
1414
|
let C = {};
|
|
1415
1415
|
for (const [c, d] of Object.entries(i.value))
|
|
1416
1416
|
c === "whitePoint" ? C[c] = f(d.value) : C[c] = d.value;
|
|
@@ -1430,12 +1430,12 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1430
1430
|
function h() {
|
|
1431
1431
|
l("saveSettings", a.value);
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1434
|
-
i.value =
|
|
1433
|
+
function g() {
|
|
1434
|
+
i.value = $(), l("updateSettings", a.value);
|
|
1435
1435
|
}
|
|
1436
1436
|
function f(C) {
|
|
1437
|
-
const c = parseInt(C.substr(1, 2), 16) / 255, d = parseInt(C.substr(3, 2), 16) / 255,
|
|
1438
|
-
return [c, d,
|
|
1437
|
+
const c = parseInt(C.substr(1, 2), 16) / 255, d = parseInt(C.substr(3, 2), 16) / 255, k = parseInt(C.substr(5, 2), 16) / 255;
|
|
1438
|
+
return [c, d, k];
|
|
1439
1439
|
}
|
|
1440
1440
|
function _(C) {
|
|
1441
1441
|
var c = C.toString(16);
|
|
@@ -1444,7 +1444,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1444
1444
|
function S([C, c, d]) {
|
|
1445
1445
|
return "#" + _(parseInt((C * 255).toString())) + _(parseInt((c * 255).toString())) + _(parseInt((d * 255).toString()));
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function $(C = {}) {
|
|
1448
1448
|
const c = [
|
|
1449
1449
|
"Cool 5",
|
|
1450
1450
|
"Cool 10",
|
|
@@ -1532,79 +1532,79 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1532
1532
|
lut: {
|
|
1533
1533
|
label: "Lut",
|
|
1534
1534
|
type: "lut",
|
|
1535
|
-
items: c.map((
|
|
1536
|
-
text:
|
|
1537
|
-
value: `https://cdn.visuado.com/luts/${
|
|
1535
|
+
items: c.map((k) => ({
|
|
1536
|
+
text: k,
|
|
1537
|
+
value: `https://cdn.visuado.com/luts/${k}.png`
|
|
1538
1538
|
})),
|
|
1539
1539
|
value: d.lut
|
|
1540
1540
|
}
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
return (C, c) => {
|
|
1544
|
-
const d = I("v-text-field"),
|
|
1544
|
+
const d = I("v-text-field"), k = I("v-slider"), x = I("v-checkbox"), E = I("v-btn"), R = I("v-select"), q = I("v-icon");
|
|
1545
1545
|
return u(), L("div", ma, [
|
|
1546
1546
|
e("form", pa, [
|
|
1547
1547
|
e("div", fa, [
|
|
1548
|
-
(u(!0), L(we, null, Ee(i.value, (
|
|
1548
|
+
(u(!0), L(we, null, Ee(i.value, (D, J, be) => (u(), L("div", {
|
|
1549
1549
|
key: be,
|
|
1550
1550
|
"d-block": ""
|
|
1551
1551
|
}, [
|
|
1552
|
-
|
|
1552
|
+
D.type === "slider" ? (u(), T(k, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
modelValue: i.value[J].value,
|
|
1555
|
-
"onUpdate:modelValue": (
|
|
1555
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1556
1556
|
onChange: s,
|
|
1557
|
-
max:
|
|
1558
|
-
min:
|
|
1559
|
-
step:
|
|
1557
|
+
max: D.max,
|
|
1558
|
+
min: D.min,
|
|
1559
|
+
step: D.step
|
|
1560
1560
|
}, {
|
|
1561
1561
|
prepend: m(() => [
|
|
1562
|
-
e("div", ha,
|
|
1562
|
+
e("div", ha, Y(D.label), 1)
|
|
1563
1563
|
]),
|
|
1564
1564
|
append: m(() => [
|
|
1565
1565
|
e("div", null, [
|
|
1566
|
-
|
|
1566
|
+
y(d, {
|
|
1567
1567
|
modelValue: i.value[J].value,
|
|
1568
|
-
"onUpdate:modelValue": (
|
|
1568
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1569
1569
|
"hide-details": "",
|
|
1570
1570
|
dense: "",
|
|
1571
1571
|
outlined: "",
|
|
1572
1572
|
type: "number",
|
|
1573
|
-
max:
|
|
1574
|
-
min:
|
|
1575
|
-
step:
|
|
1573
|
+
max: D.max,
|
|
1574
|
+
min: D.min,
|
|
1575
|
+
step: D.step,
|
|
1576
1576
|
style: { width: "90px" },
|
|
1577
1577
|
onChange: s
|
|
1578
1578
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])
|
|
1579
1579
|
])
|
|
1580
1580
|
]),
|
|
1581
1581
|
_: 2
|
|
1582
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) :
|
|
1583
|
-
|
|
1582
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : F("", !0),
|
|
1583
|
+
D.type === "boolean" ? (u(), T(x, {
|
|
1584
1584
|
key: 1,
|
|
1585
1585
|
modelValue: i.value[J].value,
|
|
1586
|
-
"onUpdate:modelValue": (
|
|
1586
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1587
1587
|
onChange: s
|
|
1588
1588
|
}, {
|
|
1589
1589
|
prepend: m(() => [
|
|
1590
|
-
e("div", ga,
|
|
1590
|
+
e("div", ga, Y(D.label), 1)
|
|
1591
1591
|
]),
|
|
1592
1592
|
append: m(() => [
|
|
1593
|
-
e("div", null,
|
|
1593
|
+
e("div", null, Y(D.value), 1)
|
|
1594
1594
|
]),
|
|
1595
1595
|
_: 2
|
|
1596
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) :
|
|
1597
|
-
|
|
1596
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : F("", !0),
|
|
1597
|
+
D.type === "color" ? (u(), L("div", {
|
|
1598
1598
|
key: 2,
|
|
1599
1599
|
class: "d-flex",
|
|
1600
|
-
max:
|
|
1601
|
-
min:
|
|
1602
|
-
step:
|
|
1600
|
+
max: D.max,
|
|
1601
|
+
min: D.min,
|
|
1602
|
+
step: D.step
|
|
1603
1603
|
}, [
|
|
1604
|
-
e("div", _a,
|
|
1604
|
+
e("div", _a, Y(D.label), 1),
|
|
1605
1605
|
e("div", ba, [
|
|
1606
1606
|
Ke(e("input", {
|
|
1607
|
-
"onUpdate:modelValue": (
|
|
1607
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1608
1608
|
type: "color",
|
|
1609
1609
|
onChange: s
|
|
1610
1610
|
}, null, 40, wa), [
|
|
@@ -1612,9 +1612,9 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1612
1612
|
])
|
|
1613
1613
|
]),
|
|
1614
1614
|
e("div", null, [
|
|
1615
|
-
|
|
1615
|
+
y(d, {
|
|
1616
1616
|
modelValue: i.value[J].value,
|
|
1617
|
-
"onUpdate:modelValue": (
|
|
1617
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1618
1618
|
"hide-details": "",
|
|
1619
1619
|
dense: "",
|
|
1620
1620
|
outlined: "",
|
|
@@ -1624,15 +1624,15 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1624
1624
|
onChange: s
|
|
1625
1625
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1626
1626
|
])
|
|
1627
|
-
], 8, ya)) :
|
|
1628
|
-
|
|
1627
|
+
], 8, ya)) : F("", !0),
|
|
1628
|
+
D.type === "lut" ? (u(), L("div", ka, [
|
|
1629
1629
|
e("div", Ca, [
|
|
1630
|
-
e("div", Sa,
|
|
1630
|
+
e("div", Sa, Y(D.label), 1),
|
|
1631
1631
|
e("div", null, [
|
|
1632
|
-
|
|
1632
|
+
y(E, {
|
|
1633
1633
|
class: "ml-2",
|
|
1634
1634
|
"x-small": "",
|
|
1635
|
-
onClick: (
|
|
1635
|
+
onClick: (te) => i.value[J].value = null
|
|
1636
1636
|
}, {
|
|
1637
1637
|
default: m(() => [
|
|
1638
1638
|
ae(" Clear Lut ")
|
|
@@ -1644,10 +1644,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1644
1644
|
e("div", null, [
|
|
1645
1645
|
e("div", Aa, [
|
|
1646
1646
|
e("div", null, [
|
|
1647
|
-
|
|
1647
|
+
y(R, {
|
|
1648
1648
|
modelValue: i.value[J].value,
|
|
1649
|
-
"onUpdate:modelValue": (
|
|
1650
|
-
items:
|
|
1649
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1650
|
+
items: D.items,
|
|
1651
1651
|
"item-title": "title",
|
|
1652
1652
|
"item-value": "value",
|
|
1653
1653
|
dense: "",
|
|
@@ -1660,9 +1660,9 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1660
1660
|
xa,
|
|
1661
1661
|
e("div", La, [
|
|
1662
1662
|
e("div", null, [
|
|
1663
|
-
|
|
1663
|
+
y(d, {
|
|
1664
1664
|
modelValue: i.value[J].value,
|
|
1665
|
-
"onUpdate:modelValue": (
|
|
1665
|
+
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1666
1666
|
"hide-details": "",
|
|
1667
1667
|
dense: "",
|
|
1668
1668
|
type: "url",
|
|
@@ -1672,25 +1672,25 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1672
1672
|
])
|
|
1673
1673
|
])
|
|
1674
1674
|
])
|
|
1675
|
-
])) :
|
|
1675
|
+
])) : F("", !0)
|
|
1676
1676
|
]))), 128))
|
|
1677
1677
|
]),
|
|
1678
1678
|
e("div", Ia, [
|
|
1679
|
-
|
|
1680
|
-
onClick: c[0] || (c[0] = (
|
|
1679
|
+
y(E, {
|
|
1680
|
+
onClick: c[0] || (c[0] = (D) => g())
|
|
1681
1681
|
}, {
|
|
1682
1682
|
default: m(() => [
|
|
1683
1683
|
ae("Reset")
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}),
|
|
1687
|
-
|
|
1687
|
+
y(E, {
|
|
1688
1688
|
class: "ml-2",
|
|
1689
|
-
onClick: c[1] || (c[1] = (
|
|
1689
|
+
onClick: c[1] || (c[1] = (D) => r())
|
|
1690
1690
|
}, {
|
|
1691
1691
|
default: m(() => [
|
|
1692
1692
|
ae(" Download Json "),
|
|
1693
|
-
|
|
1693
|
+
y(q, { color: "black darken-1" }, {
|
|
1694
1694
|
default: m(() => [
|
|
1695
1695
|
ae("mdi-download")
|
|
1696
1696
|
]),
|
|
@@ -1699,13 +1699,13 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1699
1699
|
]),
|
|
1700
1700
|
_: 1
|
|
1701
1701
|
}),
|
|
1702
|
-
|
|
1702
|
+
y(E, {
|
|
1703
1703
|
class: "ml-2",
|
|
1704
|
-
onClick: c[2] || (c[2] = (
|
|
1704
|
+
onClick: c[2] || (c[2] = (D) => h())
|
|
1705
1705
|
}, {
|
|
1706
1706
|
default: m(() => [
|
|
1707
1707
|
ae(" Save Settings "),
|
|
1708
|
-
|
|
1708
|
+
y(q, { color: "black darken-1" }, {
|
|
1709
1709
|
default: m(() => [
|
|
1710
1710
|
ae("mdi-save")
|
|
1711
1711
|
]),
|
|
@@ -1719,7 +1719,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1719
1719
|
]);
|
|
1720
1720
|
};
|
|
1721
1721
|
}
|
|
1722
|
-
}), Ma = /* @__PURE__ */
|
|
1722
|
+
}), Ma = /* @__PURE__ */ ee(Ea, [["__scopeId", "data-v-bd4f66c3"]]), Fa = { class: "top-left" }, Va = { class: "top-right" }, Da = { class: "header-slot anchor elevation-5" }, Ba = {
|
|
1723
1723
|
id: "moveableBody",
|
|
1724
1724
|
class: "body-slot moveable-body anchor d-flex justify-center align-center position-relative"
|
|
1725
1725
|
}, Ta = { class: "moveable-footer elevation-5" }, Oa = /* @__PURE__ */ W({
|
|
@@ -1746,19 +1746,19 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1746
1746
|
const d = r[c];
|
|
1747
1747
|
d.addEventListener("touchstart", S, { passive: !1 }), d.addEventListener("touchend", C, { passive: !1 }), d.addEventListener("mousedown", S, { passive: !1 }), d.addEventListener("mouseup", C, { passive: !1 });
|
|
1748
1748
|
}
|
|
1749
|
-
let h = 0,
|
|
1749
|
+
let h = 0, g = 0, f = 0, _ = 0;
|
|
1750
1750
|
function S(c) {
|
|
1751
1751
|
c = c || window.event, c.preventDefault();
|
|
1752
1752
|
let d = c;
|
|
1753
|
-
c.type === "touchstart" && (d = c.touches[0]), f = d.clientX, _ = d.clientY, document.addEventListener("mouseup", C, { passive: !1 }), document.addEventListener("touchend", C, { passive: !1 }), document.addEventListener("mousemove",
|
|
1753
|
+
c.type === "touchstart" && (d = c.touches[0]), f = d.clientX, _ = d.clientY, document.addEventListener("mouseup", C, { passive: !1 }), document.addEventListener("touchend", C, { passive: !1 }), document.addEventListener("mousemove", $, { passive: !1 }), document.addEventListener("touchmove", $, { passive: !1 });
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function $(c) {
|
|
1756
1756
|
c = c || window.event, c.preventDefault();
|
|
1757
1757
|
let d = c;
|
|
1758
|
-
c.type === "touchmove" && (d = c.touches[0]), h = f - d.clientX,
|
|
1758
|
+
c.type === "touchmove" && (d = c.touches[0]), h = f - d.clientX, g = _ - d.clientY, f = d.clientX, _ = d.clientY, s.style.top = s.offsetTop - g + "px", s.style.left = s.offsetLeft - h + "px";
|
|
1759
1759
|
}
|
|
1760
1760
|
function C() {
|
|
1761
|
-
document.removeEventListener("mouseup", C, !1), document.removeEventListener("mousemove",
|
|
1761
|
+
document.removeEventListener("mouseup", C, !1), document.removeEventListener("mousemove", $, !1), document.removeEventListener("touchend", C, !1), document.removeEventListener("touchmove", $, !1);
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
1764
|
return (s, r) => (u(), L("div", {
|
|
@@ -1782,7 +1782,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1782
1782
|
])
|
|
1783
1783
|
], 2));
|
|
1784
1784
|
}
|
|
1785
|
-
}), $a = /* @__PURE__ */
|
|
1785
|
+
}), $a = /* @__PURE__ */ ee(Oa, [["__scopeId", "data-v-1a87ee81"]]), Ra = {
|
|
1786
1786
|
class: "rotation-marker-svg",
|
|
1787
1787
|
viewBox: "0 0 40 40",
|
|
1788
1788
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -1816,43 +1816,43 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1816
1816
|
fit: { type: Boolean }
|
|
1817
1817
|
},
|
|
1818
1818
|
setup(t) {
|
|
1819
|
-
const n = t, o = b(512), l = b(384), i = b(512), a = b(384), s = b(new Je()), r = b(new En()), h = b({}),
|
|
1819
|
+
const n = t, o = b(512), l = b(384), i = b(512), a = b(384), s = b(new Je()), r = b(new En()), h = b({}), g = b(1), f = b(), _ = o.value / o.value, S = V(() => {
|
|
1820
1820
|
const U = n.containerWidth / n.containerHeight;
|
|
1821
|
-
let
|
|
1822
|
-
return U > _ ?
|
|
1823
|
-
}),
|
|
1821
|
+
let M;
|
|
1822
|
+
return U > _ ? M = n.containerHeight / l.value : M = n.containerWidth / o.value, M;
|
|
1823
|
+
}), $ = V(() => n.allCameras), C = V(() => n.allCameras.find((U) => U.id === n.currentCamera)), c = V(() => n.rotation), d = V(() => new Je(
|
|
1824
1824
|
n.storey.position.x,
|
|
1825
1825
|
n.storey.position.y,
|
|
1826
1826
|
n.storey.position.z
|
|
1827
|
-
)),
|
|
1828
|
-
const
|
|
1829
|
-
Number(
|
|
1827
|
+
)), k = V(() => parseFloat(C.value.floor_vertical_position)), x = V(() => $.value.map((U) => {
|
|
1828
|
+
const M = U.uposition.split(","), z = new Je(
|
|
1829
|
+
Number(M[0]) - d.value.x,
|
|
1830
1830
|
0,
|
|
1831
|
-
Number(
|
|
1831
|
+
Number(M[2]) - d.value.z
|
|
1832
1832
|
);
|
|
1833
1833
|
return {
|
|
1834
1834
|
...U,
|
|
1835
1835
|
...be(s.value, z)
|
|
1836
1836
|
};
|
|
1837
|
-
})), E =
|
|
1837
|
+
})), E = V(() => ({
|
|
1838
1838
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1839
1839
|
backgroundSize: "contain"
|
|
1840
|
-
})), R =
|
|
1840
|
+
})), R = V(() => ({
|
|
1841
1841
|
transform: `scale(${n.fit ? 1 : S.value * 0.75}) rotate(${n.transformAngle}deg)`
|
|
1842
1842
|
}));
|
|
1843
1843
|
Re(() => {
|
|
1844
|
-
|
|
1844
|
+
te(), D(), Ae();
|
|
1845
1845
|
const U = document.getElementById("moveableDiv");
|
|
1846
1846
|
U && (f.value = new ResizeObserver(Ae).observe(U));
|
|
1847
1847
|
}), Cn(() => {
|
|
1848
|
-
|
|
1848
|
+
te(), D();
|
|
1849
1849
|
}), et(() => {
|
|
1850
1850
|
f.value && f.value.unobserve(document.getElementById("moveableDiv"));
|
|
1851
1851
|
});
|
|
1852
1852
|
function q(U) {
|
|
1853
1853
|
return Mn.degToRad(U);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function D() {
|
|
1856
1856
|
r.value.rotation.x = 180, r.value.rotation.y = n.storey.rotation.y * -1, h.value = {
|
|
1857
1857
|
transform: `rotateZ(${r.value.rotation.y}deg) rotateX(${r.value.rotation.x}deg)`
|
|
1858
1858
|
};
|
|
@@ -1863,29 +1863,29 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1863
1863
|
left: `${Math.abs(U.left)}%`
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
|
-
function be(U,
|
|
1866
|
+
function be(U, M) {
|
|
1867
1867
|
var z = new Je();
|
|
1868
|
-
const ve = z.subVectors(U,
|
|
1868
|
+
const ve = z.subVectors(U, M);
|
|
1869
1869
|
return {
|
|
1870
1870
|
relativePosition: ve,
|
|
1871
1871
|
left: ve.x / i.value * 100,
|
|
1872
1872
|
top: ve.z / a.value * 100
|
|
1873
1873
|
};
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1876
|
-
const U = n.storey.position.y -
|
|
1875
|
+
function te() {
|
|
1876
|
+
const U = n.storey.position.y - k.value;
|
|
1877
1877
|
a.value = 2 * (U * Math.tan(q(n.storey.fovY / 2))), i.value = 512 / 384 * a.value;
|
|
1878
|
-
const
|
|
1878
|
+
const M = a.value / 2, z = i.value / 2, ve = new Je(z * -1, 0, M * -1);
|
|
1879
1879
|
s.value = ve;
|
|
1880
1880
|
}
|
|
1881
1881
|
function Ae() {
|
|
1882
1882
|
const U = document.getElementById("moveableDiv");
|
|
1883
1883
|
if (!U)
|
|
1884
1884
|
return;
|
|
1885
|
-
const
|
|
1886
|
-
U.offsetHeight > U.offsetWidth ?
|
|
1885
|
+
const M = U.offsetHeight / 384 * 0.8, z = U.offsetWidth / 512 * 0.8;
|
|
1886
|
+
U.offsetHeight > U.offsetWidth ? g.value = z * 0.5 : g.value = M * 0.9;
|
|
1887
1887
|
}
|
|
1888
|
-
return (U,
|
|
1888
|
+
return (U, M) => (u(), L("div", Wa, [
|
|
1889
1889
|
e("div", Pa, [
|
|
1890
1890
|
e("div", {
|
|
1891
1891
|
class: "web-minimap",
|
|
@@ -1906,7 +1906,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
class: "single-camera-marker",
|
|
1908
1908
|
style: ne(J(z))
|
|
1909
|
-
}, null, 4)) :
|
|
1909
|
+
}, null, 4)) : F("", !0),
|
|
1910
1910
|
K(U.$slots, "default", {
|
|
1911
1911
|
id: z.id,
|
|
1912
1912
|
camera: z,
|
|
@@ -1922,7 +1922,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1922
1922
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1923
1923
|
rotation: c.value,
|
|
1924
1924
|
style: ne({ ...J(z) })
|
|
1925
|
-
}, null, 8, ["rotation", "style"])) :
|
|
1925
|
+
}, null, 8, ["rotation", "style"])) : F("", !0)
|
|
1926
1926
|
], !0)
|
|
1927
1927
|
]))), 128))
|
|
1928
1928
|
], 4)
|
|
@@ -1930,7 +1930,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1930
1930
|
])
|
|
1931
1931
|
]));
|
|
1932
1932
|
}
|
|
1933
|
-
}), Ut = /* @__PURE__ */
|
|
1933
|
+
}), Ut = /* @__PURE__ */ ee(Qa, [["__scopeId", "data-v-5cdee9d5"]]), Na = /* @__PURE__ */ W({
|
|
1934
1934
|
__name: "VMiniMapCompass",
|
|
1935
1935
|
props: {
|
|
1936
1936
|
scale: {},
|
|
@@ -1938,18 +1938,18 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1938
1938
|
transformAngle: {}
|
|
1939
1939
|
},
|
|
1940
1940
|
setup(t) {
|
|
1941
|
-
const n = t, o =
|
|
1941
|
+
const n = t, o = V(() => n.rotation + n.transformAngle - 90);
|
|
1942
1942
|
return (l, i) => (u(), L("div", {
|
|
1943
1943
|
class: "minimap-compass elevation-5",
|
|
1944
1944
|
style: ne({ scale: l.scale })
|
|
1945
1945
|
}, [
|
|
1946
|
-
|
|
1946
|
+
y(Yt, {
|
|
1947
1947
|
class: "north-indicator",
|
|
1948
1948
|
longitude: o.value
|
|
1949
1949
|
}, null, 8, ["longitude"])
|
|
1950
1950
|
], 4));
|
|
1951
1951
|
}
|
|
1952
|
-
}), zt = /* @__PURE__ */
|
|
1952
|
+
}), zt = /* @__PURE__ */ ee(Na, [["__scopeId", "data-v-d047dca8"]]), Za = { class: "ss-wrapper" }, qa = { class: "slider" }, Ja = { class: "minimap-sun-slider" }, Ga = { class: "d-flex flex-column align-center justify-center" }, Ka = {
|
|
1953
1953
|
key: 0,
|
|
1954
1954
|
class: "time-label"
|
|
1955
1955
|
}, Xa = /* @__PURE__ */ W({
|
|
@@ -1962,41 +1962,41 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1962
1962
|
},
|
|
1963
1963
|
emits: ["setBackgroundImage"],
|
|
1964
1964
|
setup(t, { emit: n }) {
|
|
1965
|
-
const o = t, l = n, i = b((/* @__PURE__ */ new Date()).getHours()), a = b(!0), s = b(!0), r = b(""), h = b(/* @__PURE__ */ new Map()),
|
|
1966
|
-
if (
|
|
1967
|
-
const
|
|
1968
|
-
return `${
|
|
1965
|
+
const o = t, l = n, i = b((/* @__PURE__ */ new Date()).getHours()), a = b(!0), s = b(!0), r = b(""), h = b(/* @__PURE__ */ new Map()), g = V(() => o.minimapJson.storeys[o.level]), f = V(() => `${Math.floor(i.value).toString().padStart(2, "0")}:00`), _ = V(() => {
|
|
1966
|
+
if (g.value.sunsimFilesTimeStamps[i.value]) {
|
|
1967
|
+
const k = g.value.sunsimFilesTimeStamps[i.value].split(" ");
|
|
1968
|
+
return `${k[0]} ${k[1]}`;
|
|
1969
1969
|
}
|
|
1970
1970
|
return "";
|
|
1971
1971
|
});
|
|
1972
1972
|
Re(async () => {
|
|
1973
1973
|
r.value = await C(
|
|
1974
|
-
|
|
1974
|
+
g.value.sunsimFiles[i.value]
|
|
1975
1975
|
), l("setBackgroundImage", r.value), s.value = !1;
|
|
1976
|
-
const
|
|
1977
|
-
h.value =
|
|
1978
|
-
}),
|
|
1979
|
-
const
|
|
1980
|
-
l("setBackgroundImage",
|
|
1981
|
-
}),
|
|
1976
|
+
const k = await $(o.minimapJson.storeys);
|
|
1977
|
+
h.value = k, a.value = !1, l("setBackgroundImage", S(o.level, i.value));
|
|
1978
|
+
}), H(i, () => {
|
|
1979
|
+
const k = S(o.level, i.value);
|
|
1980
|
+
l("setBackgroundImage", k);
|
|
1981
|
+
}), H(
|
|
1982
1982
|
() => o.level,
|
|
1983
1983
|
() => {
|
|
1984
1984
|
l("setBackgroundImage", S(o.level, i.value));
|
|
1985
1985
|
},
|
|
1986
1986
|
{ immediate: !0 }
|
|
1987
1987
|
);
|
|
1988
|
-
function S(
|
|
1989
|
-
return h.value.get(`sunsim${
|
|
1988
|
+
function S(k, x) {
|
|
1989
|
+
return h.value.get(`sunsim${k}_${x}`) ? h.value.get(`sunsim${k}_${x}`) : "";
|
|
1990
1990
|
}
|
|
1991
|
-
async function
|
|
1991
|
+
async function $(k) {
|
|
1992
1992
|
let x = /* @__PURE__ */ new Map();
|
|
1993
|
-
for (let E = 0; E <
|
|
1994
|
-
const R =
|
|
1993
|
+
for (let E = 0; E < k.length; E++) {
|
|
1994
|
+
const R = k[E].sunsimFiles;
|
|
1995
1995
|
for (let q = 0; q < R.length; q++) {
|
|
1996
|
-
const
|
|
1996
|
+
const D = R[q];
|
|
1997
1997
|
try {
|
|
1998
|
-
const J =
|
|
1999
|
-
x.set(be[0],
|
|
1998
|
+
const J = D, be = D.split("."), te = await C(J);
|
|
1999
|
+
x.set(be[0], te);
|
|
2000
2000
|
} catch {
|
|
2001
2001
|
continue;
|
|
2002
2002
|
}
|
|
@@ -2004,28 +2004,28 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2004
2004
|
}
|
|
2005
2005
|
return x;
|
|
2006
2006
|
}
|
|
2007
|
-
async function C(
|
|
2007
|
+
async function C(k) {
|
|
2008
2008
|
const E = await (await fetch(
|
|
2009
2009
|
me(
|
|
2010
2010
|
o.cdnFileResolver,
|
|
2011
|
-
`/${o.apartmentJson.type}/${o.apartmentJson.id}/minimap/${
|
|
2011
|
+
`/${o.apartmentJson.type}/${o.apartmentJson.id}/minimap/${k}`
|
|
2012
2012
|
)
|
|
2013
2013
|
)).blob(), R = await d(E);
|
|
2014
2014
|
return c(R);
|
|
2015
2015
|
}
|
|
2016
|
-
function c(
|
|
2017
|
-
return "data:image/jpeg;base64," +
|
|
2016
|
+
function c(k) {
|
|
2017
|
+
return "data:image/jpeg;base64," + k;
|
|
2018
2018
|
}
|
|
2019
|
-
async function d(
|
|
2019
|
+
async function d(k) {
|
|
2020
2020
|
return new Promise((x, E) => {
|
|
2021
2021
|
const R = new FileReader();
|
|
2022
2022
|
R.onload = () => {
|
|
2023
2023
|
const q = R.result.split(",")[1];
|
|
2024
2024
|
x(q);
|
|
2025
|
-
}, R.onerror = E, R.readAsDataURL(
|
|
2025
|
+
}, R.onerror = E, R.readAsDataURL(k);
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
|
-
return (
|
|
2028
|
+
return (k, x) => {
|
|
2029
2029
|
const E = I("v-progress-linear"), R = I("v-icon"), q = I("v-slider");
|
|
2030
2030
|
return u(), L("div", Za, [
|
|
2031
2031
|
e("div", qa, [
|
|
@@ -2040,7 +2040,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2040
2040
|
})) : (u(), T(q, {
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
modelValue: i.value,
|
|
2043
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
2043
|
+
"onUpdate:modelValue": x[0] || (x[0] = (D) => i.value = D),
|
|
2044
2044
|
min: 0,
|
|
2045
2045
|
max: 23,
|
|
2046
2046
|
step: 1,
|
|
@@ -2052,27 +2052,27 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2052
2052
|
}, {
|
|
2053
2053
|
prepend: m(() => [
|
|
2054
2054
|
e("div", Ga, [
|
|
2055
|
-
|
|
2055
|
+
y(R, { color: "#ffab02" }, {
|
|
2056
2056
|
default: m(() => [
|
|
2057
2057
|
ae("mdi-white-balance-sunny")
|
|
2058
2058
|
]),
|
|
2059
2059
|
_: 1
|
|
2060
2060
|
}),
|
|
2061
|
-
e("span", null,
|
|
2061
|
+
e("span", null, Y(_.value), 1)
|
|
2062
2062
|
])
|
|
2063
2063
|
]),
|
|
2064
2064
|
"thumb-label": m(() => [
|
|
2065
|
-
ae(
|
|
2065
|
+
ae(Y(f.value), 1)
|
|
2066
2066
|
]),
|
|
2067
2067
|
_: 1
|
|
2068
2068
|
}, 8, ["modelValue"]))
|
|
2069
2069
|
]),
|
|
2070
|
-
a.value ?
|
|
2070
|
+
a.value ? F("", !0) : (u(), L("div", Ka))
|
|
2071
2071
|
])
|
|
2072
2072
|
]);
|
|
2073
2073
|
};
|
|
2074
2074
|
}
|
|
2075
|
-
}), jt = /* @__PURE__ */
|
|
2075
|
+
}), jt = /* @__PURE__ */ ee(Xa, [["__scopeId", "data-v-52f122f2"]]), el = (t) => (mt("data-v-578a7915"), t = t(), pt(), t), tl = { class: "left" }, nl = { class: "right" }, ol = /* @__PURE__ */ el(() => /* @__PURE__ */ e("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
2076
2076
|
/* @__PURE__ */ e("div", { class: "center" }, " ")
|
|
2077
2077
|
], -1)), al = /* @__PURE__ */ W({
|
|
2078
2078
|
__name: "VMiniMap",
|
|
@@ -2086,48 +2086,48 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2086
2086
|
},
|
|
2087
2087
|
emits: ["close"],
|
|
2088
2088
|
setup(t, { emit: n }) {
|
|
2089
|
-
const o = b(null), l = t, i = n, a = b(), s = b(0), r =
|
|
2090
|
-
|
|
2089
|
+
const o = b(null), l = t, i = n, a = b(), s = b(0), r = V(() => l.minimapJson.storeys[l.level]), h = b(0);
|
|
2090
|
+
H(
|
|
2091
2091
|
() => l.apartmentJson,
|
|
2092
2092
|
() => {
|
|
2093
2093
|
h.value = h.value + 1;
|
|
2094
2094
|
}
|
|
2095
|
-
),
|
|
2095
|
+
), H(
|
|
2096
2096
|
r,
|
|
2097
2097
|
() => {
|
|
2098
2098
|
a.value = r.value.defaultSunsimFile ? `/${l.apartmentJson.type}/${l.apartmentJson.id}/minimap/sunsim0_13.jpg` : `/${l.apartmentJson.type}/${l.apartmentJson.id}/minimap/${r.value.defaultSunsimFile}`;
|
|
2099
2099
|
},
|
|
2100
2100
|
{ immediate: !0, once: !0 }
|
|
2101
2101
|
);
|
|
2102
|
-
const
|
|
2102
|
+
const g = V(() => {
|
|
2103
2103
|
let d = 1;
|
|
2104
|
-
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? d = 1 : d = -1),
|
|
2104
|
+
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? d = 1 : d = -1), $.value === "small" && (d = 0.6), d;
|
|
2105
2105
|
});
|
|
2106
2106
|
function f(d) {
|
|
2107
2107
|
a.value = d;
|
|
2108
2108
|
}
|
|
2109
2109
|
const _ = ["big", "bigger", "small"];
|
|
2110
2110
|
function S() {
|
|
2111
|
-
const
|
|
2112
|
-
|
|
2111
|
+
const k = (_.indexOf($.value) + 1) % _.length;
|
|
2112
|
+
$.value = _[k];
|
|
2113
2113
|
}
|
|
2114
|
-
const
|
|
2114
|
+
const $ = b("big");
|
|
2115
2115
|
function C() {
|
|
2116
2116
|
s.value = s.value + 90;
|
|
2117
2117
|
}
|
|
2118
2118
|
const c = () => {
|
|
2119
2119
|
i("close");
|
|
2120
2120
|
};
|
|
2121
|
-
return (d,
|
|
2121
|
+
return (d, k) => {
|
|
2122
2122
|
const x = I("v-btn");
|
|
2123
2123
|
return u(), T($a, {
|
|
2124
2124
|
ref_key: "minimapMoveable",
|
|
2125
2125
|
ref: o,
|
|
2126
|
-
size:
|
|
2126
|
+
size: $.value
|
|
2127
2127
|
}, {
|
|
2128
2128
|
"top-left": m(() => [
|
|
2129
2129
|
e("div", tl, [
|
|
2130
|
-
|
|
2130
|
+
y(x, {
|
|
2131
2131
|
icon: "mdi-window-close",
|
|
2132
2132
|
size: "x-small",
|
|
2133
2133
|
onClick: c
|
|
@@ -2136,14 +2136,14 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2136
2136
|
]),
|
|
2137
2137
|
"top-right": m(() => [
|
|
2138
2138
|
e("div", nl, [
|
|
2139
|
-
|
|
2139
|
+
y(x, {
|
|
2140
2140
|
class: "rotate-icon",
|
|
2141
2141
|
size: "x-small",
|
|
2142
2142
|
icon: "mdi mdi-rotate-right",
|
|
2143
2143
|
onClick: Sn(C, ["stop"]),
|
|
2144
2144
|
title: "Rotate"
|
|
2145
2145
|
}),
|
|
2146
|
-
|
|
2146
|
+
y(x, {
|
|
2147
2147
|
class: "resize-icon ml-1",
|
|
2148
2148
|
icon: "mdi-image-size-select-small",
|
|
2149
2149
|
size: "x-small",
|
|
@@ -2156,13 +2156,13 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2156
2156
|
ol
|
|
2157
2157
|
]),
|
|
2158
2158
|
body: m(() => [
|
|
2159
|
-
|
|
2160
|
-
scale:
|
|
2159
|
+
y(zt, {
|
|
2160
|
+
scale: g.value,
|
|
2161
2161
|
rotation: r.value.rotation.y,
|
|
2162
2162
|
"transform-angle": s.value
|
|
2163
2163
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
2164
2164
|
e("div", null, [
|
|
2165
|
-
|
|
2165
|
+
y(Ut, {
|
|
2166
2166
|
"transform-angle": s.value,
|
|
2167
2167
|
"all-cameras": d.apartmentJson.cameras,
|
|
2168
2168
|
"background-image": a.value,
|
|
@@ -2188,7 +2188,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2188
2188
|
}, 8, ["size"]);
|
|
2189
2189
|
};
|
|
2190
2190
|
}
|
|
2191
|
-
}), Vt = /* @__PURE__ */
|
|
2191
|
+
}), Vt = /* @__PURE__ */ ee(al, [["__scopeId", "data-v-578a7915"]]);
|
|
2192
2192
|
function dt(t) {
|
|
2193
2193
|
const n = t * 60, o = Math.floor(n / 60), l = n % 60;
|
|
2194
2194
|
return `${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}`;
|
|
@@ -2203,9 +2203,9 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2203
2203
|
emits: ["onTimeChange", "toggleSunStudy"],
|
|
2204
2204
|
setup(t, { emit: n }) {
|
|
2205
2205
|
const o = t, { currentDay: l, currentTime: i, disabled: a } = _e(o), s = n, r = b(i.value.timeInHours);
|
|
2206
|
-
return
|
|
2206
|
+
return H(i, () => {
|
|
2207
2207
|
r.value = i.value.timeInHours;
|
|
2208
|
-
}),
|
|
2208
|
+
}), H(
|
|
2209
2209
|
r,
|
|
2210
2210
|
() => {
|
|
2211
2211
|
s(
|
|
@@ -2216,11 +2216,11 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2216
2216
|
);
|
|
2217
2217
|
},
|
|
2218
2218
|
{ immediate: !0 }
|
|
2219
|
-
), (h,
|
|
2220
|
-
const f = I("v-icon"), _ = I("v-slider"), S = I("v-field"),
|
|
2219
|
+
), (h, g) => {
|
|
2220
|
+
const f = I("v-icon"), _ = I("v-slider"), S = I("v-field"), $ = I("v-btn");
|
|
2221
2221
|
return u(), L("div", ll, [
|
|
2222
2222
|
e("div", sl, [
|
|
2223
|
-
|
|
2223
|
+
y(S, {
|
|
2224
2224
|
class: "ss-slider-field",
|
|
2225
2225
|
style: {},
|
|
2226
2226
|
variant: "solo-filled",
|
|
@@ -2232,7 +2232,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2232
2232
|
key: 0,
|
|
2233
2233
|
class: "pa-2 pr-2",
|
|
2234
2234
|
modelValue: r.value,
|
|
2235
|
-
"onUpdate:modelValue":
|
|
2235
|
+
"onUpdate:modelValue": g[0] || (g[0] = (C) => r.value = C),
|
|
2236
2236
|
min: p(l).startTime,
|
|
2237
2237
|
max: p(l).endTime,
|
|
2238
2238
|
step: p(l).interval,
|
|
@@ -2243,7 +2243,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2243
2243
|
"hide-details": ""
|
|
2244
2244
|
}, {
|
|
2245
2245
|
prepend: m(() => [
|
|
2246
|
-
|
|
2246
|
+
y(f, {
|
|
2247
2247
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
2248
2248
|
class: "mr-2 icon",
|
|
2249
2249
|
color: "warning"
|
|
@@ -2253,11 +2253,11 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2253
2253
|
]),
|
|
2254
2254
|
_: 1
|
|
2255
2255
|
}),
|
|
2256
|
-
e("span", il,
|
|
2256
|
+
e("span", il, Y(p(dt)(r.value)), 1)
|
|
2257
2257
|
]),
|
|
2258
2258
|
_: 1
|
|
2259
2259
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(we, { key: 1 }, [
|
|
2260
|
-
|
|
2260
|
+
y(f, {
|
|
2261
2261
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2262
2262
|
class: "mr-2 icon",
|
|
2263
2263
|
color: "warning"
|
|
@@ -2267,24 +2267,24 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2267
2267
|
]),
|
|
2268
2268
|
_: 1
|
|
2269
2269
|
}),
|
|
2270
|
-
e("span", rl,
|
|
2270
|
+
e("span", rl, Y(p(dt)(r.value)), 1)
|
|
2271
2271
|
], 64))
|
|
2272
2272
|
]),
|
|
2273
2273
|
_: 1
|
|
2274
2274
|
})
|
|
2275
2275
|
]),
|
|
2276
2276
|
e("div", null, [
|
|
2277
|
-
|
|
2277
|
+
y($, {
|
|
2278
2278
|
size: "small",
|
|
2279
2279
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
2280
2280
|
icon: "mdi-close",
|
|
2281
|
-
onClick:
|
|
2281
|
+
onClick: g[1] || (g[1] = (C) => s("toggleSunStudy"))
|
|
2282
2282
|
})
|
|
2283
2283
|
])
|
|
2284
2284
|
]);
|
|
2285
2285
|
};
|
|
2286
2286
|
}
|
|
2287
|
-
}), Dt = /* @__PURE__ */
|
|
2287
|
+
}), Dt = /* @__PURE__ */ ee(ul, [["__scopeId", "data-v-c06c753d"]]), cl = /* @__PURE__ */ W({
|
|
2288
2288
|
__name: "VSunStudyToggle",
|
|
2289
2289
|
props: {
|
|
2290
2290
|
displaySunsim: { type: Boolean },
|
|
@@ -2304,10 +2304,10 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2304
2304
|
onClick: a[0] || (a[0] = (r) => o("toggleSunStudy"))
|
|
2305
2305
|
}, {
|
|
2306
2306
|
default: m(() => [
|
|
2307
|
-
ae(
|
|
2307
|
+
ae(Y(p(l).getLabel("openSunStudy")), 1)
|
|
2308
2308
|
]),
|
|
2309
2309
|
_: 1
|
|
2310
|
-
})) :
|
|
2310
|
+
})) : F("", !0);
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
2313
|
}), dl = /* @__PURE__ */ W({
|
|
@@ -2317,7 +2317,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2317
2317
|
},
|
|
2318
2318
|
emits: ["toggleAutoPlay"],
|
|
2319
2319
|
setup(t, { emit: n }) {
|
|
2320
|
-
const o = n, l =
|
|
2320
|
+
const o = n, l = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2321
2321
|
window.navigator.userAgent
|
|
2322
2322
|
));
|
|
2323
2323
|
return (i, a) => {
|
|
@@ -2328,7 +2328,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2328
2328
|
onClick: a[0] || (a[0] = (h) => o("toggleAutoPlay"))
|
|
2329
2329
|
}, {
|
|
2330
2330
|
default: m(() => [
|
|
2331
|
-
|
|
2331
|
+
y(s, {
|
|
2332
2332
|
icon: i.autoplayStatus ? "mdi-pause" : "mdi-play",
|
|
2333
2333
|
size: "x-large",
|
|
2334
2334
|
class: "pa-0 ma-0"
|
|
@@ -2338,7 +2338,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2338
2338
|
}, 8, ["class"]);
|
|
2339
2339
|
};
|
|
2340
2340
|
}
|
|
2341
|
-
}), Bt = /* @__PURE__ */
|
|
2341
|
+
}), Bt = /* @__PURE__ */ ee(dl, [["__scopeId", "data-v-7fd2b4f3"]]), vl = {
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
class: "sun-icon-wrapper"
|
|
2344
2344
|
}, ml = 37, pl = 39, fl = /* @__PURE__ */ W({
|
|
@@ -2350,14 +2350,14 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2350
2350
|
},
|
|
2351
2351
|
emits: ["previous", "next", "goto"],
|
|
2352
2352
|
setup(t, { emit: n }) {
|
|
2353
|
-
const o = t, l = n, i = b(0), a =
|
|
2353
|
+
const o = t, l = n, i = b(0), a = V({
|
|
2354
2354
|
get() {
|
|
2355
2355
|
return o.active;
|
|
2356
2356
|
},
|
|
2357
|
-
set(
|
|
2358
|
-
i.value =
|
|
2357
|
+
set(g) {
|
|
2358
|
+
i.value = g;
|
|
2359
2359
|
}
|
|
2360
|
-
}), s =
|
|
2360
|
+
}), s = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2361
2361
|
window.navigator.userAgent
|
|
2362
2362
|
));
|
|
2363
2363
|
Re(() => {
|
|
@@ -2365,23 +2365,23 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2365
2365
|
}), et(() => {
|
|
2366
2366
|
window.removeEventListener("keydown", r);
|
|
2367
2367
|
});
|
|
2368
|
-
function r(
|
|
2369
|
-
switch (
|
|
2370
|
-
case
|
|
2368
|
+
function r(g) {
|
|
2369
|
+
switch (g.keyCode) {
|
|
2370
|
+
case g.keyCode === ml:
|
|
2371
2371
|
l("previous");
|
|
2372
2372
|
break;
|
|
2373
|
-
case
|
|
2373
|
+
case g.keyCode === pl:
|
|
2374
2374
|
l("next");
|
|
2375
2375
|
break;
|
|
2376
2376
|
default:
|
|
2377
2377
|
return;
|
|
2378
2378
|
}
|
|
2379
2379
|
}
|
|
2380
|
-
function h(
|
|
2381
|
-
f(), l("goto",
|
|
2380
|
+
function h(g, f) {
|
|
2381
|
+
f(), l("goto", g);
|
|
2382
2382
|
}
|
|
2383
|
-
return (
|
|
2384
|
-
const _ = I("v-btn"), S = I("v-img"),
|
|
2383
|
+
return (g, f) => {
|
|
2384
|
+
const _ = I("v-btn"), S = I("v-img"), $ = I("v-icon"), C = I("v-card"), c = I("v-slide-group-item"), d = I("v-slide-group");
|
|
2385
2385
|
return u(), L("div", {
|
|
2386
2386
|
class: ce(["d-flex align-center justify-center", {
|
|
2387
2387
|
mobileWaypointWrapper: s.value,
|
|
@@ -2389,10 +2389,10 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2389
2389
|
" waypoint-carousel": !0
|
|
2390
2390
|
}])
|
|
2391
2391
|
}, [
|
|
2392
|
-
K(
|
|
2393
|
-
|
|
2392
|
+
K(g.$slots, "before", {}, void 0, !0),
|
|
2393
|
+
y(d, {
|
|
2394
2394
|
modelValue: a.value,
|
|
2395
|
-
"onUpdate:modelValue": f[2] || (f[2] = (
|
|
2395
|
+
"onUpdate:modelValue": f[2] || (f[2] = (k) => a.value = k),
|
|
2396
2396
|
class: ce({ mobileWaypoint: s.value }),
|
|
2397
2397
|
"active-class": "active-apt",
|
|
2398
2398
|
"selected-class": "active-apt",
|
|
@@ -2401,31 +2401,31 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2401
2401
|
mandatory: ""
|
|
2402
2402
|
}, {
|
|
2403
2403
|
prev: m(() => [
|
|
2404
|
-
s.value ?
|
|
2404
|
+
s.value ? F("", !0) : (u(), T(_, {
|
|
2405
2405
|
key: 0,
|
|
2406
2406
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2407
2407
|
icon: "mdi-chevron-left",
|
|
2408
2408
|
varient: "tonal",
|
|
2409
2409
|
size: "small",
|
|
2410
|
-
onClick: f[0] || (f[0] = (
|
|
2410
|
+
onClick: f[0] || (f[0] = (k) => l("previous"))
|
|
2411
2411
|
}, null, 8, ["class"]))
|
|
2412
2412
|
]),
|
|
2413
2413
|
next: m(() => [
|
|
2414
|
-
s.value ?
|
|
2414
|
+
s.value ? F("", !0) : (u(), T(_, {
|
|
2415
2415
|
key: 0,
|
|
2416
2416
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2417
2417
|
icon: "mdi-chevron-right",
|
|
2418
2418
|
varient: "tonal",
|
|
2419
2419
|
size: "small",
|
|
2420
|
-
onClick: f[1] || (f[1] = (
|
|
2420
|
+
onClick: f[1] || (f[1] = (k) => l("next"))
|
|
2421
2421
|
}, null, 8, ["class"]))
|
|
2422
2422
|
]),
|
|
2423
2423
|
default: m(() => [
|
|
2424
|
-
(u(!0), L(we, null, Ee(
|
|
2425
|
-
key:
|
|
2424
|
+
(u(!0), L(we, null, Ee(g.thumbnails, (k) => (u(), T(c, {
|
|
2425
|
+
key: k.id
|
|
2426
2426
|
}, {
|
|
2427
2427
|
default: m(({ toggle: x, selectedClass: E }) => [
|
|
2428
|
-
|
|
2428
|
+
y(C, {
|
|
2429
2429
|
class: ce(["position-relative", [
|
|
2430
2430
|
s.value ? "ma-0" : "ma-1",
|
|
2431
2431
|
E,
|
|
@@ -2434,20 +2434,20 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2434
2434
|
align: "center",
|
|
2435
2435
|
justify: "center",
|
|
2436
2436
|
style: { overflow: "hidden" },
|
|
2437
|
-
onClick: (R) => h(
|
|
2437
|
+
onClick: (R) => h(k.id, x)
|
|
2438
2438
|
}, {
|
|
2439
2439
|
default: m(() => [
|
|
2440
|
-
|
|
2440
|
+
y(S, {
|
|
2441
2441
|
cover: "",
|
|
2442
2442
|
"aspect-ratio": 1,
|
|
2443
|
-
src:
|
|
2443
|
+
src: k.thumbnailUrl
|
|
2444
2444
|
}, null, 8, ["src"]),
|
|
2445
|
-
o.cameraHasSunStudy(
|
|
2446
|
-
|
|
2445
|
+
o.cameraHasSunStudy(k.id) ? (u(), L("div", vl, [
|
|
2446
|
+
y($, {
|
|
2447
2447
|
class: "sun-icon",
|
|
2448
2448
|
icon: "mdi-white-balance-sunny"
|
|
2449
2449
|
})
|
|
2450
|
-
])) :
|
|
2450
|
+
])) : F("", !0)
|
|
2451
2451
|
]),
|
|
2452
2452
|
_: 2
|
|
2453
2453
|
}, 1032, ["class", "onClick"])
|
|
@@ -2457,11 +2457,11 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2457
2457
|
]),
|
|
2458
2458
|
_: 1
|
|
2459
2459
|
}, 8, ["modelValue", "class", "show-arrows"]),
|
|
2460
|
-
K(
|
|
2460
|
+
K(g.$slots, "after", {}, void 0, !0)
|
|
2461
2461
|
], 2);
|
|
2462
2462
|
};
|
|
2463
2463
|
}
|
|
2464
|
-
}), vt = /* @__PURE__ */
|
|
2464
|
+
}), vt = /* @__PURE__ */ ee(fl, [["__scopeId", "data-v-9cc758dc"]]), hl = {
|
|
2465
2465
|
id: "share-btns-wrapper",
|
|
2466
2466
|
class: "text-center"
|
|
2467
2467
|
}, gl = /* @__PURE__ */ W({
|
|
@@ -2492,59 +2492,59 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2492
2492
|
function r() {
|
|
2493
2493
|
navigator.clipboard.writeText(location.href);
|
|
2494
2494
|
}
|
|
2495
|
-
return (h,
|
|
2496
|
-
const f = I("v-btn"), _ = I("v-tooltip"), S = I("v-toolbar-title"),
|
|
2495
|
+
return (h, g) => {
|
|
2496
|
+
const f = I("v-btn"), _ = I("v-tooltip"), S = I("v-toolbar-title"), $ = I("v-spacer"), C = I("v-toolbar"), c = I("v-card-text"), d = I("v-card"), k = I("v-dialog");
|
|
2497
2497
|
return u(), L("div", null, [
|
|
2498
|
-
|
|
2498
|
+
y(_, {
|
|
2499
2499
|
elevation: "2",
|
|
2500
2500
|
top: "",
|
|
2501
2501
|
attach: ""
|
|
2502
2502
|
}, {
|
|
2503
2503
|
activator: m(({ props: x }) => [
|
|
2504
|
-
|
|
2504
|
+
y(f, Ie({
|
|
2505
2505
|
density: "comfortable",
|
|
2506
2506
|
elevation: "1",
|
|
2507
2507
|
icon: "mdi-share-variant",
|
|
2508
|
-
onClick:
|
|
2508
|
+
onClick: g[0] || (g[0] = (E) => o.value = !o.value)
|
|
2509
2509
|
}, x), null, 16)
|
|
2510
2510
|
]),
|
|
2511
2511
|
default: m(() => [
|
|
2512
|
-
e("span", null,
|
|
2512
|
+
e("span", null, Y(p(n).getLabel("share")), 1)
|
|
2513
2513
|
]),
|
|
2514
2514
|
_: 1
|
|
2515
2515
|
}),
|
|
2516
|
-
|
|
2516
|
+
y(k, {
|
|
2517
2517
|
id: "share-box",
|
|
2518
2518
|
width: "400",
|
|
2519
2519
|
modelValue: o.value,
|
|
2520
|
-
"onUpdate:modelValue":
|
|
2520
|
+
"onUpdate:modelValue": g[2] || (g[2] = (x) => o.value = x)
|
|
2521
2521
|
}, {
|
|
2522
2522
|
default: m(() => [
|
|
2523
|
-
|
|
2523
|
+
y(d, null, {
|
|
2524
2524
|
default: m(() => [
|
|
2525
|
-
|
|
2525
|
+
y(C, { elevation: "0" }, {
|
|
2526
2526
|
default: m(() => [
|
|
2527
|
-
|
|
2527
|
+
y(f, {
|
|
2528
2528
|
size: "x-small",
|
|
2529
2529
|
icon: "mdi-close",
|
|
2530
|
-
onClick:
|
|
2530
|
+
onClick: g[1] || (g[1] = (x) => o.value = !1)
|
|
2531
2531
|
}),
|
|
2532
|
-
|
|
2532
|
+
y(S, null, {
|
|
2533
2533
|
default: m(() => [
|
|
2534
|
-
ae(
|
|
2534
|
+
ae(Y(p(n).getLabel("share")), 1)
|
|
2535
2535
|
]),
|
|
2536
2536
|
_: 1
|
|
2537
2537
|
}),
|
|
2538
|
-
|
|
2538
|
+
y($)
|
|
2539
2539
|
]),
|
|
2540
2540
|
_: 1
|
|
2541
2541
|
}),
|
|
2542
|
-
|
|
2542
|
+
y(c, { class: "mt-5" }, {
|
|
2543
2543
|
default: m(() => [
|
|
2544
2544
|
e("p", hl, [
|
|
2545
|
-
|
|
2545
|
+
y(_, { location: "top" }, {
|
|
2546
2546
|
activator: m(({ props: x }) => [
|
|
2547
|
-
|
|
2547
|
+
y(f, Ie({
|
|
2548
2548
|
depressed: "",
|
|
2549
2549
|
fab: "",
|
|
2550
2550
|
light: "",
|
|
@@ -2552,13 +2552,13 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2552
2552
|
}, x, { onClick: i }), null, 16)
|
|
2553
2553
|
]),
|
|
2554
2554
|
default: m(() => [
|
|
2555
|
-
e("span", null,
|
|
2555
|
+
e("span", null, Y(p(n).getLabel("shareToFacebook")), 1)
|
|
2556
2556
|
]),
|
|
2557
2557
|
_: 1
|
|
2558
2558
|
}),
|
|
2559
|
-
|
|
2559
|
+
y(_, { location: "top" }, {
|
|
2560
2560
|
activator: m(({ props: x }) => [
|
|
2561
|
-
|
|
2561
|
+
y(f, Ie({
|
|
2562
2562
|
depressed: "",
|
|
2563
2563
|
fab: "",
|
|
2564
2564
|
light: "",
|
|
@@ -2566,13 +2566,13 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2566
2566
|
}, x, { onClick: s }), null, 16)
|
|
2567
2567
|
]),
|
|
2568
2568
|
default: m(() => [
|
|
2569
|
-
e("span", null,
|
|
2569
|
+
e("span", null, Y(p(n).getLabel("shareToLinkedin")), 1)
|
|
2570
2570
|
]),
|
|
2571
2571
|
_: 1
|
|
2572
2572
|
}),
|
|
2573
|
-
|
|
2573
|
+
y(_, { location: "top" }, {
|
|
2574
2574
|
activator: m(({ props: x }) => [
|
|
2575
|
-
|
|
2575
|
+
y(f, Ie({
|
|
2576
2576
|
depressed: "",
|
|
2577
2577
|
fab: "",
|
|
2578
2578
|
light: "",
|
|
@@ -2580,13 +2580,13 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2580
2580
|
}, x, { onClick: a }), null, 16)
|
|
2581
2581
|
]),
|
|
2582
2582
|
default: m(() => [
|
|
2583
|
-
e("span", null,
|
|
2583
|
+
e("span", null, Y(p(n).getLabel("shareToTwitter")), 1)
|
|
2584
2584
|
]),
|
|
2585
2585
|
_: 1
|
|
2586
2586
|
}),
|
|
2587
|
-
|
|
2587
|
+
y(_, { location: "top" }, {
|
|
2588
2588
|
activator: m(({ props: x }) => [
|
|
2589
|
-
|
|
2589
|
+
y(f, Ie({
|
|
2590
2590
|
depressed: "",
|
|
2591
2591
|
fab: "",
|
|
2592
2592
|
light: "",
|
|
@@ -2596,13 +2596,13 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2596
2596
|
}, x), null, 16, ["href"])
|
|
2597
2597
|
]),
|
|
2598
2598
|
default: m(() => [
|
|
2599
|
-
e("span", null,
|
|
2599
|
+
e("span", null, Y(p(n).getLabel("shareViaEmail")), 1)
|
|
2600
2600
|
]),
|
|
2601
2601
|
_: 1
|
|
2602
2602
|
}),
|
|
2603
|
-
|
|
2603
|
+
y(_, { location: "top" }, {
|
|
2604
2604
|
activator: m(({ props: x }) => [
|
|
2605
|
-
|
|
2605
|
+
y(f, Ie({
|
|
2606
2606
|
depressed: "",
|
|
2607
2607
|
fab: "",
|
|
2608
2608
|
light: "",
|
|
@@ -2611,11 +2611,11 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2611
2611
|
}, x), null, 16)
|
|
2612
2612
|
]),
|
|
2613
2613
|
default: m(() => [
|
|
2614
|
-
e("span", null,
|
|
2614
|
+
e("span", null, Y(p(n).getLabel("copyLink")), 1)
|
|
2615
2615
|
]),
|
|
2616
2616
|
_: 1
|
|
2617
2617
|
}),
|
|
2618
|
-
|
|
2618
|
+
y($)
|
|
2619
2619
|
])
|
|
2620
2620
|
]),
|
|
2621
2621
|
_: 1
|
|
@@ -2629,14 +2629,14 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2629
2629
|
]);
|
|
2630
2630
|
};
|
|
2631
2631
|
}
|
|
2632
|
-
}), Wt = /* @__PURE__ */
|
|
2632
|
+
}), Wt = /* @__PURE__ */ ee(gl, [["__scopeId", "data-v-bb7d0a99"]]), yl = { class: "static-image-wrapper" }, _l = /* @__PURE__ */ W({
|
|
2633
2633
|
__name: "VSingleImage",
|
|
2634
2634
|
props: {
|
|
2635
2635
|
image: {},
|
|
2636
2636
|
aspectRatio: { default: "wide" }
|
|
2637
2637
|
},
|
|
2638
2638
|
setup(t) {
|
|
2639
|
-
const n = t, o =
|
|
2639
|
+
const n = t, o = V(() => ({ "background-image": `url("${encodeURI(n.image)}")` }));
|
|
2640
2640
|
return (l, i) => (u(), L("div", yl, [
|
|
2641
2641
|
e("div", {
|
|
2642
2642
|
class: ce(["img-div", [l.aspectRatio]]),
|
|
@@ -2644,7 +2644,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2644
2644
|
}, null, 6)
|
|
2645
2645
|
]));
|
|
2646
2646
|
}
|
|
2647
|
-
}), bl = /* @__PURE__ */
|
|
2647
|
+
}), bl = /* @__PURE__ */ ee(_l, [["__scopeId", "data-v-31489804"]]), wl = {
|
|
2648
2648
|
id: "btn-fullscreen",
|
|
2649
2649
|
class: "btn-placeholder mr-2"
|
|
2650
2650
|
}, Pt = /* @__PURE__ */ W({
|
|
@@ -2658,7 +2658,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2658
2658
|
return (l, i) => {
|
|
2659
2659
|
const a = I("v-btn");
|
|
2660
2660
|
return u(), L("div", wl, [
|
|
2661
|
-
|
|
2661
|
+
y(a, {
|
|
2662
2662
|
density: "comfortable",
|
|
2663
2663
|
elevation: "3",
|
|
2664
2664
|
icon: l.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
@@ -2764,7 +2764,7 @@ const Sl = {
|
|
|
2764
2764
|
return (l, i) => {
|
|
2765
2765
|
const a = I("v-btn");
|
|
2766
2766
|
return u(), L("div", Sl, [
|
|
2767
|
-
|
|
2767
|
+
y(a, {
|
|
2768
2768
|
density: "comfortable",
|
|
2769
2769
|
elevation: "3",
|
|
2770
2770
|
icon: "mdi-creation",
|
|
@@ -2848,27 +2848,27 @@ const Sl = {
|
|
|
2848
2848
|
validInteriorIds: r,
|
|
2849
2849
|
displayViewModeSwitch: h,
|
|
2850
2850
|
// websiteUrl,
|
|
2851
|
-
i18nConfig:
|
|
2851
|
+
i18nConfig: g,
|
|
2852
2852
|
showCarousel: f,
|
|
2853
2853
|
showTimeOfDay: _,
|
|
2854
2854
|
showCompass: S,
|
|
2855
|
-
showFullScreen:
|
|
2855
|
+
showFullScreen: $,
|
|
2856
2856
|
showSnapshot: C,
|
|
2857
2857
|
showShare: c,
|
|
2858
2858
|
showInteriorOptions: d,
|
|
2859
|
-
showMiniMap:
|
|
2859
|
+
showMiniMap: k,
|
|
2860
2860
|
showFloorLevel: x,
|
|
2861
2861
|
defaultWaypointIndex: E,
|
|
2862
2862
|
defaultViewMode: R,
|
|
2863
2863
|
mouseSensitivity: q,
|
|
2864
2864
|
// isInIframe,
|
|
2865
|
-
adminMode:
|
|
2865
|
+
adminMode: D,
|
|
2866
2866
|
playerSettings: J,
|
|
2867
2867
|
hasMarkersJson: be,
|
|
2868
|
-
dynamicMarkers:
|
|
2868
|
+
dynamicMarkers: te,
|
|
2869
2869
|
version: Ae,
|
|
2870
2870
|
showVersion: U
|
|
2871
|
-
} = _e(l),
|
|
2871
|
+
} = _e(l), M = o;
|
|
2872
2872
|
n({
|
|
2873
2873
|
updateSelectedInterior: At,
|
|
2874
2874
|
takeSnapshot: It,
|
|
@@ -2881,9 +2881,9 @@ const Sl = {
|
|
|
2881
2881
|
screenToWorld: vn,
|
|
2882
2882
|
clearCurrentMarkerLayer: cn
|
|
2883
2883
|
});
|
|
2884
|
-
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), P = b(), N = b(), le = b(0), G = b(), re = b(), Z = b(),
|
|
2884
|
+
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), P = b(), N = b(), le = b(0), G = b(), re = b(), Z = b(), ge = b(0), xe = b(0), De = b(0), pe = b(!1), fe = b(!1), Be = b(), ye = b(!1), ue = b(!1), Me = b(
|
|
2885
2885
|
new Qt(document, "player-wrapper")
|
|
2886
|
-
), ft = b(), tt =
|
|
2886
|
+
), ft = b(), tt = V(() => {
|
|
2887
2887
|
if (B.value) {
|
|
2888
2888
|
const v = B.value.cameras.map(
|
|
2889
2889
|
(j) => j.floorLevel
|
|
@@ -2892,7 +2892,7 @@ const Sl = {
|
|
|
2892
2892
|
return A = A.sort(), A;
|
|
2893
2893
|
} else
|
|
2894
2894
|
return [];
|
|
2895
|
-
}), He =
|
|
2895
|
+
}), He = V(() => {
|
|
2896
2896
|
let v = 0;
|
|
2897
2897
|
if (B.value) {
|
|
2898
2898
|
const A = B.value.cameras.map(
|
|
@@ -2906,9 +2906,9 @@ const Sl = {
|
|
|
2906
2906
|
de !== -1 && (v = de);
|
|
2907
2907
|
}
|
|
2908
2908
|
return v;
|
|
2909
|
-
}), nt =
|
|
2909
|
+
}), nt = V(() => ot.value.findIndex(
|
|
2910
2910
|
(v) => v.archetypeID === G.value
|
|
2911
|
-
)),
|
|
2911
|
+
)), he = V(() => Q.value ? Q.value.cameras.map((v) => ({
|
|
2912
2912
|
...v,
|
|
2913
2913
|
thumbnailUrl: it(
|
|
2914
2914
|
`/${G.value}/${a.value}/thumbs/200/${v.id}.jpg`
|
|
@@ -2916,34 +2916,34 @@ const Sl = {
|
|
|
2916
2916
|
imageUrl: it(
|
|
2917
2917
|
`/${G.value}/${a.value}/images/1600/${v.id}.jpg`
|
|
2918
2918
|
)
|
|
2919
|
-
})) : []), Te =
|
|
2919
|
+
})) : []), Te = V(() => !he.value || !he.value[le.value] ? "" : he.value[le.value].imageUrl), ot = V(() => {
|
|
2920
2920
|
let v = [];
|
|
2921
2921
|
return ie.value && (v = ie.value.archetypes), r.value.length ? v.filter(
|
|
2922
2922
|
(A) => r.value.includes(A.archetypeID)
|
|
2923
2923
|
) : v;
|
|
2924
|
-
}), at =
|
|
2924
|
+
}), at = V(() => Q.value ? ot.value.map((v) => {
|
|
2925
2925
|
var j;
|
|
2926
|
-
const A = (j =
|
|
2926
|
+
const A = (j = he.value[le.value]) == null ? void 0 : j.id;
|
|
2927
2927
|
return {
|
|
2928
2928
|
...v,
|
|
2929
2929
|
url: it(
|
|
2930
2930
|
`/${v.archetypeID}/${a.value}/thumbs/200/${A}.jpg`
|
|
2931
2931
|
)
|
|
2932
2932
|
};
|
|
2933
|
-
}) : []),
|
|
2933
|
+
}) : []), w = V(() => {
|
|
2934
2934
|
if (P.value && P.value.storeys && He.value in P.value.storeys)
|
|
2935
2935
|
return P.value.storeys[He.value];
|
|
2936
|
-
}),
|
|
2936
|
+
}), O = V(() => B.value && B.value.timeInHours), X = V(() => {
|
|
2937
2937
|
if (B.value && B.value.timeInHours && _.value)
|
|
2938
2938
|
return yn(B.value.timeInHours);
|
|
2939
2939
|
});
|
|
2940
2940
|
Xe(
|
|
2941
2941
|
Ve,
|
|
2942
|
-
|
|
2942
|
+
g.value ? new Ne(g.value) : new Ne()
|
|
2943
2943
|
);
|
|
2944
|
-
const se =
|
|
2944
|
+
const se = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2945
2945
|
window.navigator.userAgent
|
|
2946
|
-
)), oe =
|
|
2946
|
+
)), oe = V(() => se.value ? "platform-mobile" : "platform-desktop"), Ce = V(() => {
|
|
2947
2947
|
const v = me(
|
|
2948
2948
|
i.value,
|
|
2949
2949
|
"/config.json"
|
|
@@ -2952,26 +2952,26 @@ const Sl = {
|
|
|
2952
2952
|
`${v}-dont-show-tutorial`
|
|
2953
2953
|
);
|
|
2954
2954
|
});
|
|
2955
|
-
|
|
2955
|
+
H(s, () => {
|
|
2956
2956
|
s.value && (G.value = s.value);
|
|
2957
|
-
}),
|
|
2957
|
+
}), H(
|
|
2958
2958
|
[i, a],
|
|
2959
2959
|
async () => {
|
|
2960
2960
|
try {
|
|
2961
2961
|
re.value = void 0, await Nt(), qt(), await Zt(), Me.value.setup(), Jt();
|
|
2962
2962
|
} catch (v) {
|
|
2963
|
-
ke.value = !0,
|
|
2963
|
+
ke.value = !0, M("onError", v);
|
|
2964
2964
|
}
|
|
2965
2965
|
},
|
|
2966
2966
|
{ immediate: !0 }
|
|
2967
|
-
),
|
|
2967
|
+
), H(
|
|
2968
2968
|
R,
|
|
2969
2969
|
() => {
|
|
2970
2970
|
R.value === "virtualTour" && (pe.value = !1), R.value === "slideShow" && (pe.value = !0, ue.value = !0);
|
|
2971
2971
|
},
|
|
2972
2972
|
{ immediate: !0 }
|
|
2973
|
-
),
|
|
2974
|
-
if (
|
|
2973
|
+
), H(ye, () => {
|
|
2974
|
+
if (ye.value) {
|
|
2975
2975
|
ue.value = !1;
|
|
2976
2976
|
const v = je(Z.value);
|
|
2977
2977
|
Be.value = v[0].timeSamples.find(
|
|
@@ -2985,7 +2985,7 @@ const Sl = {
|
|
|
2985
2985
|
z.value = !0;
|
|
2986
2986
|
}, 1e3);
|
|
2987
2987
|
} catch (v) {
|
|
2988
|
-
ke.value = !0,
|
|
2988
|
+
ke.value = !0, M("onError", v);
|
|
2989
2989
|
}
|
|
2990
2990
|
}), et(() => {
|
|
2991
2991
|
document.removeEventListener("wheel", ht);
|
|
@@ -3015,14 +3015,14 @@ const Sl = {
|
|
|
3015
3015
|
const A = E.value !== null ? E.value : 0;
|
|
3016
3016
|
le.value = A, re.value = Q.value.cameras[A].id, Z.value = Q.value.cameras[A].id;
|
|
3017
3017
|
}
|
|
3018
|
-
|
|
3018
|
+
k.value && (P.value = await St(
|
|
3019
3019
|
G.value,
|
|
3020
3020
|
a.value
|
|
3021
3021
|
));
|
|
3022
3022
|
}
|
|
3023
3023
|
function qt() {
|
|
3024
3024
|
let v = s.value;
|
|
3025
|
-
v || (v = ie.value.defaultArchetypeID), r.value.length
|
|
3025
|
+
v || (v = ie.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(v) ? v = r.value[0] : console.warn("illegal interior id", v, r), v || (v = ie.value.archetypes[0].archetypeID), G.value = v;
|
|
3026
3026
|
}
|
|
3027
3027
|
function Jt() {
|
|
3028
3028
|
const v = document.getElementById("main-canvas");
|
|
@@ -3115,21 +3115,21 @@ const Sl = {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
function lt() {
|
|
3117
3117
|
let v = le.value + 1;
|
|
3118
|
-
v >=
|
|
3118
|
+
v >= he.value.length && (v = 0), le.value = v, st(he.value[le.value].id);
|
|
3119
3119
|
}
|
|
3120
3120
|
function gt() {
|
|
3121
3121
|
let v = le.value - 1;
|
|
3122
|
-
v < 0 && (v =
|
|
3122
|
+
v < 0 && (v = he.value.length - 1), le.value = v, st(he.value[le.value].id);
|
|
3123
3123
|
}
|
|
3124
3124
|
function yt(v, A = !0) {
|
|
3125
|
-
let j =
|
|
3125
|
+
let j = he.value.findIndex((de) => de.id === v);
|
|
3126
3126
|
j != -1 && (le.value = j, A && st(v));
|
|
3127
3127
|
}
|
|
3128
3128
|
function st(v) {
|
|
3129
|
-
|
|
3129
|
+
ye.value = !1, re.value = v;
|
|
3130
3130
|
}
|
|
3131
3131
|
function At(v) {
|
|
3132
|
-
G.value = v, nn(),
|
|
3132
|
+
G.value = v, nn(), M("onInteriorUpdate", v), M("onCameraUpdate", Z.value, B.value);
|
|
3133
3133
|
}
|
|
3134
3134
|
async function nn() {
|
|
3135
3135
|
B.value = await kt(
|
|
@@ -3138,15 +3138,15 @@ const Sl = {
|
|
|
3138
3138
|
), Q.value = await Ct(
|
|
3139
3139
|
G.value,
|
|
3140
3140
|
a.value
|
|
3141
|
-
),
|
|
3141
|
+
), k.value && (P.value = await St(
|
|
3142
3142
|
G.value,
|
|
3143
3143
|
a.value
|
|
3144
3144
|
));
|
|
3145
3145
|
}
|
|
3146
3146
|
function on(v) {
|
|
3147
|
-
Z.value = v, Z.value && (yt(Z.value, !1),
|
|
3147
|
+
Z.value = v, Z.value && (yt(Z.value, !1), M("onCameraUpdate", Z.value, B.value));
|
|
3148
3148
|
}
|
|
3149
|
-
const Ye =
|
|
3149
|
+
const Ye = V(() => (v) => {
|
|
3150
3150
|
const A = je(v);
|
|
3151
3151
|
return !A || !A[0] || !A[0].timeSamples ? !1 : A[0].timeSamples.length > 1;
|
|
3152
3152
|
}), je = (v) => {
|
|
@@ -3154,13 +3154,13 @@ const Sl = {
|
|
|
3154
3154
|
return A == null ? void 0 : A.sunsimDayOfYear;
|
|
3155
3155
|
};
|
|
3156
3156
|
function an(v) {
|
|
3157
|
-
|
|
3157
|
+
M("onSunsimUpdate", v);
|
|
3158
3158
|
}
|
|
3159
3159
|
function xt(v) {
|
|
3160
3160
|
N.value.loadSunSim(v.timeInHours);
|
|
3161
3161
|
}
|
|
3162
3162
|
function ln(v) {
|
|
3163
|
-
|
|
3163
|
+
ge.value = v;
|
|
3164
3164
|
}
|
|
3165
3165
|
function Lt(v) {
|
|
3166
3166
|
xe.value = v;
|
|
@@ -3171,7 +3171,7 @@ const Sl = {
|
|
|
3171
3171
|
function rn(v, A) {
|
|
3172
3172
|
}
|
|
3173
3173
|
function un(v) {
|
|
3174
|
-
N.value = v, N.value && (J.value && N.value.updateSettings(J.value), be.value ? N.value.loadMarkersJson() :
|
|
3174
|
+
N.value = v, N.value && (J.value && N.value.updateSettings(J.value), be.value ? N.value.loadMarkersJson() : te.value && N.value.loadDynamicMarkers(te.value));
|
|
3175
3175
|
}
|
|
3176
3176
|
function cn() {
|
|
3177
3177
|
N.value.clearCurrentMarkerLayer();
|
|
@@ -3194,16 +3194,16 @@ const Sl = {
|
|
|
3194
3194
|
j.y * -v,
|
|
3195
3195
|
j.z * v
|
|
3196
3196
|
];
|
|
3197
|
-
return
|
|
3197
|
+
return M("onSnapshot", We, _n), We;
|
|
3198
3198
|
}
|
|
3199
3199
|
async function fn() {
|
|
3200
3200
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
3201
3201
|
const v = await N.value.takePhoto(), A = N.value.getCurrentCamera(), j = new Tt(v, A);
|
|
3202
|
-
|
|
3202
|
+
M("onVisuadoCreateButtonClicked", j);
|
|
3203
3203
|
}
|
|
3204
3204
|
function it(v) {
|
|
3205
3205
|
let A = me(i.value, v);
|
|
3206
|
-
return A &&
|
|
3206
|
+
return A && D.value && !A.startsWith("blob:") && (A = A + `?v=${Date.now()}`), A;
|
|
3207
3207
|
}
|
|
3208
3208
|
async function rt(v) {
|
|
3209
3209
|
const A = it(v);
|
|
@@ -3217,7 +3217,7 @@ const Sl = {
|
|
|
3217
3217
|
N.value.updateSettings(v);
|
|
3218
3218
|
}
|
|
3219
3219
|
function gn(v) {
|
|
3220
|
-
|
|
3220
|
+
M("saveSettings", v);
|
|
3221
3221
|
}
|
|
3222
3222
|
function yn(v) {
|
|
3223
3223
|
if (v === void 0)
|
|
@@ -3240,23 +3240,23 @@ const Sl = {
|
|
|
3240
3240
|
return u(), L("div", {
|
|
3241
3241
|
class: ce(["virtual-tour-wrapper", [oe.value]])
|
|
3242
3242
|
}, [
|
|
3243
|
-
ke.value ? (u(), L("div", xl, "Error loading the player!!")) :
|
|
3243
|
+
ke.value ? (u(), L("div", xl, "Error loading the player!!")) : F("", !0),
|
|
3244
3244
|
e("div", Ll, [
|
|
3245
|
-
!Me.value.isActive && P.value && Z.value &&
|
|
3245
|
+
!Me.value.isActive && P.value && Z.value && w.value && G.value && fe.value ? (u(), T(Vt, {
|
|
3246
3246
|
key: 0,
|
|
3247
3247
|
"cdn-file-resolver": p(i),
|
|
3248
3248
|
"apartment-json": B.value,
|
|
3249
3249
|
level: He.value,
|
|
3250
3250
|
"minimap-json": P.value,
|
|
3251
|
-
rotation:
|
|
3251
|
+
rotation: ge.value,
|
|
3252
3252
|
"current-camera": Z.value,
|
|
3253
3253
|
onClose: A[0] || (A[0] = (de) => fe.value = !1)
|
|
3254
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) :
|
|
3254
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : F("", !0),
|
|
3255
3255
|
G.value && re.value ? (u(), L("div", {
|
|
3256
3256
|
key: 1,
|
|
3257
3257
|
class: ce(["v-player", [oe.value]])
|
|
3258
3258
|
}, [
|
|
3259
|
-
|
|
3259
|
+
y(ao, {
|
|
3260
3260
|
ref_key: "vPlayerInstance",
|
|
3261
3261
|
ref: ft,
|
|
3262
3262
|
"cdn-file-resolver": p(i),
|
|
@@ -3278,18 +3278,18 @@ const Sl = {
|
|
|
3278
3278
|
pe.value ? (u(), T(bl, {
|
|
3279
3279
|
key: 0,
|
|
3280
3280
|
image: Te.value
|
|
3281
|
-
}, null, 8, ["image"])) :
|
|
3281
|
+
}, null, 8, ["image"])) : F("", !0)
|
|
3282
3282
|
]),
|
|
3283
3283
|
"top-left": m(() => [
|
|
3284
|
-
p(
|
|
3284
|
+
p(D) ? (u(), T(j, {
|
|
3285
3285
|
key: 0,
|
|
3286
3286
|
density: "comfortable",
|
|
3287
3287
|
icon: "mdi-cog-outline",
|
|
3288
3288
|
elevation: "3",
|
|
3289
3289
|
class: "mr-2",
|
|
3290
3290
|
onClick: A[1] || (A[1] = (de) => ve.value = !ve.value)
|
|
3291
|
-
})) :
|
|
3292
|
-
Ke(
|
|
3291
|
+
})) : F("", !0),
|
|
3292
|
+
Ke(y(j, {
|
|
3293
3293
|
density: "comfortable",
|
|
3294
3294
|
icon: "mdi-alert-outline",
|
|
3295
3295
|
elevation: "3",
|
|
@@ -3298,7 +3298,7 @@ const Sl = {
|
|
|
3298
3298
|
}, null, 512), [
|
|
3299
3299
|
[ut, ue.value]
|
|
3300
3300
|
]),
|
|
3301
|
-
P.value && re.value &&
|
|
3301
|
+
P.value && re.value && w.value ? Ke((u(), T(j, {
|
|
3302
3302
|
key: 1,
|
|
3303
3303
|
density: "comfortable",
|
|
3304
3304
|
elevation: "3",
|
|
@@ -3307,44 +3307,44 @@ const Sl = {
|
|
|
3307
3307
|
onClick: A[3] || (A[3] = (de) => fe.value = !fe.value)
|
|
3308
3308
|
}, null, 512)), [
|
|
3309
3309
|
[ut, ue.value]
|
|
3310
|
-
]) :
|
|
3310
|
+
]) : F("", !0),
|
|
3311
3311
|
ue.value && p(x) && tt.value.length > 1 ? (u(), T(co, {
|
|
3312
3312
|
key: 2,
|
|
3313
3313
|
level: xe.value,
|
|
3314
3314
|
"floor-levels": tt.value,
|
|
3315
3315
|
onLevel: Lt
|
|
3316
|
-
}, null, 8, ["level", "floor-levels"])) :
|
|
3317
|
-
p(
|
|
3318
|
-
|
|
3316
|
+
}, null, 8, ["level", "floor-levels"])) : F("", !0),
|
|
3317
|
+
p(D) && ve.value ? (u(), L("div", Il, [
|
|
3318
|
+
y(Ma, {
|
|
3319
3319
|
"initial-settings": p(J),
|
|
3320
3320
|
onUpdateSettings: hn,
|
|
3321
3321
|
onSaveSettings: gn
|
|
3322
3322
|
}, null, 8, ["initial-settings"])
|
|
3323
|
-
])) :
|
|
3323
|
+
])) : F("", !0)
|
|
3324
3324
|
]),
|
|
3325
3325
|
"top-center": m(() => []),
|
|
3326
3326
|
"top-right": m(() => [
|
|
3327
3327
|
B.value && p(S) ? Ke((u(), L("div", El, [
|
|
3328
|
-
|
|
3328
|
+
y(ko, { rotation: ge.value }, null, 8, ["rotation"])
|
|
3329
3329
|
], 512)), [
|
|
3330
3330
|
[ut, ue.value]
|
|
3331
|
-
]) :
|
|
3331
|
+
]) : F("", !0),
|
|
3332
3332
|
e("div", {
|
|
3333
3333
|
onClick: A[4] || (A[4] = (de) => fe.value = !fe.value)
|
|
3334
3334
|
}, [
|
|
3335
|
-
ue.value && B.value &&
|
|
3335
|
+
ue.value && B.value && O.value && p(_) ? (u(), T(Io, {
|
|
3336
3336
|
key: 0,
|
|
3337
|
-
hours:
|
|
3338
|
-
minutes:
|
|
3337
|
+
hours: X.value.hours,
|
|
3338
|
+
minutes: X.value.minutes,
|
|
3339
3339
|
class: "time-of-day",
|
|
3340
3340
|
style: ne({
|
|
3341
|
-
cursor: P.value && Z.value &&
|
|
3341
|
+
cursor: P.value && Z.value && w.value ? "pointer" : "default"
|
|
3342
3342
|
})
|
|
3343
|
-
}, null, 8, ["hours", "minutes", "style"])) :
|
|
3343
|
+
}, null, 8, ["hours", "minutes", "style"])) : F("", !0)
|
|
3344
3344
|
])
|
|
3345
3345
|
]),
|
|
3346
3346
|
"center-left": m(() => [
|
|
3347
|
-
|
|
3347
|
+
y(Fe, { name: "slide-x-transition" }, {
|
|
3348
3348
|
default: m(() => [
|
|
3349
3349
|
pe.value ? (u(), T(j, {
|
|
3350
3350
|
key: 0,
|
|
@@ -3352,7 +3352,7 @@ const Sl = {
|
|
|
3352
3352
|
elevation: "3",
|
|
3353
3353
|
icon: "mdi-chevron-left",
|
|
3354
3354
|
onClick: gt
|
|
3355
|
-
})) :
|
|
3355
|
+
})) : F("", !0)
|
|
3356
3356
|
]),
|
|
3357
3357
|
_: 1
|
|
3358
3358
|
})
|
|
@@ -3361,20 +3361,20 @@ const Sl = {
|
|
|
3361
3361
|
z.value ? (u(), T(da, {
|
|
3362
3362
|
key: 0,
|
|
3363
3363
|
onCloseTutorial: A[5] || (A[5] = (de) => qe(de))
|
|
3364
|
-
})) :
|
|
3365
|
-
Me.value.isActive && P.value && Z.value &&
|
|
3364
|
+
})) : F("", !0),
|
|
3365
|
+
Me.value.isActive && P.value && Z.value && w.value && fe.value ? (u(), T(Vt, {
|
|
3366
3366
|
key: 1,
|
|
3367
3367
|
"cdn-file-resolver": p(i),
|
|
3368
3368
|
"apartment-json": B.value,
|
|
3369
3369
|
"minimap-json": P.value,
|
|
3370
|
-
rotation:
|
|
3370
|
+
rotation: ge.value,
|
|
3371
3371
|
"current-camera": Z.value,
|
|
3372
3372
|
level: He.value,
|
|
3373
3373
|
onClose: A[6] || (A[6] = (de) => fe.value = !1)
|
|
3374
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) :
|
|
3374
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : F("", !0)
|
|
3375
3375
|
]),
|
|
3376
3376
|
"center-right": m(() => [
|
|
3377
|
-
|
|
3377
|
+
y(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3378
3378
|
default: m(() => [
|
|
3379
3379
|
pe.value ? (u(), T(j, {
|
|
3380
3380
|
key: 0,
|
|
@@ -3382,42 +3382,42 @@ const Sl = {
|
|
|
3382
3382
|
elevation: "3",
|
|
3383
3383
|
icon: "mdi-chevron-right",
|
|
3384
3384
|
onClick: lt
|
|
3385
|
-
})) :
|
|
3385
|
+
})) : F("", !0)
|
|
3386
3386
|
]),
|
|
3387
3387
|
_: 1
|
|
3388
3388
|
})
|
|
3389
3389
|
]),
|
|
3390
3390
|
"bottom-left": m(() => [
|
|
3391
|
-
p(
|
|
3391
|
+
p($) ? (u(), T(Pt, {
|
|
3392
3392
|
key: 0,
|
|
3393
3393
|
"is-full-screen": Me.value.isActive,
|
|
3394
3394
|
class: "btn-fullscreen",
|
|
3395
3395
|
onToggleFullscreen: mn
|
|
3396
|
-
}, null, 8, ["is-full-screen"])) :
|
|
3396
|
+
}, null, 8, ["is-full-screen"])) : F("", !0),
|
|
3397
3397
|
p(C) ? (u(), L("div", Ml, [
|
|
3398
|
-
|
|
3398
|
+
y(j, {
|
|
3399
3399
|
density: "comfortable",
|
|
3400
3400
|
elevation: "3",
|
|
3401
3401
|
icon: "mdi-camera",
|
|
3402
3402
|
onClick: It
|
|
3403
3403
|
})
|
|
3404
|
-
])) :
|
|
3404
|
+
])) : F("", !0),
|
|
3405
3405
|
e("div", Fl, [
|
|
3406
3406
|
p(h) && ue.value ? (u(), T(To, {
|
|
3407
3407
|
key: 0,
|
|
3408
3408
|
"show-static-image": pe.value,
|
|
3409
3409
|
onToggle: pn
|
|
3410
|
-
}, null, 8, ["show-static-image"])) :
|
|
3410
|
+
}, null, 8, ["show-static-image"])) : F("", !0)
|
|
3411
3411
|
]),
|
|
3412
3412
|
ue.value && p(c) && !Me.value.isActive ? (u(), L("div", Vl, [
|
|
3413
|
-
|
|
3414
|
-
])) :
|
|
3413
|
+
y(Wt)
|
|
3414
|
+
])) : F("", !0),
|
|
3415
3415
|
ue.value && v.showVisuadoCreateButton ? (u(), L("div", Dl, [
|
|
3416
|
-
|
|
3417
|
-
])) :
|
|
3416
|
+
y(Al, { onOnSnapshot: fn })
|
|
3417
|
+
])) : F("", !0)
|
|
3418
3418
|
]),
|
|
3419
3419
|
"bottom-center": m(() => [
|
|
3420
|
-
|
|
3420
|
+
y(Fe, null, {
|
|
3421
3421
|
default: m(() => [
|
|
3422
3422
|
e("div", null, [
|
|
3423
3423
|
e("div", {
|
|
@@ -3428,23 +3428,23 @@ const Sl = {
|
|
|
3428
3428
|
!Oe.value && Ye.value(Z.value) ? (u(), T(cl, {
|
|
3429
3429
|
key: 0,
|
|
3430
3430
|
class: "ml-2",
|
|
3431
|
-
displaySunsim:
|
|
3431
|
+
displaySunsim: ye.value,
|
|
3432
3432
|
showUI: ue.value,
|
|
3433
|
-
onToggleSunStudy: A[7] || (A[7] = (de) =>
|
|
3434
|
-
}, null, 8, ["displaySunsim", "showUI"])) :
|
|
3433
|
+
onToggleSunStudy: A[7] || (A[7] = (de) => ye.value = !ye.value)
|
|
3434
|
+
}, null, 8, ["displaySunsim", "showUI"])) : F("", !0)
|
|
3435
3435
|
], 2),
|
|
3436
|
-
!se.value && !Oe.value && re.value &&
|
|
3436
|
+
!se.value && !Oe.value && re.value && ye.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3437
3437
|
key: 0,
|
|
3438
3438
|
class: "sunsim-slider-desktop",
|
|
3439
3439
|
"current-day": Ye.value(Z.value) ? je(Z.value)[0] : void 0,
|
|
3440
3440
|
"current-time": Be.value,
|
|
3441
3441
|
onOnTimeChange: xt,
|
|
3442
|
-
onToggleSunStudy: A[8] || (A[8] = (de) =>
|
|
3443
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3442
|
+
onToggleSunStudy: A[8] || (A[8] = (de) => ye.value = !ye.value)
|
|
3443
|
+
}, null, 8, ["current-day", "current-time"])) : F("", !0),
|
|
3444
3444
|
!se.value && ue.value && p(f) ? (u(), T(vt, {
|
|
3445
3445
|
key: 1,
|
|
3446
3446
|
class: ce([Me.value.isActive ? "full-screen" : ""]),
|
|
3447
|
-
thumbnails:
|
|
3447
|
+
thumbnails: he.value,
|
|
3448
3448
|
active: le.value,
|
|
3449
3449
|
cameraHasSunStudy: Ye.value,
|
|
3450
3450
|
onNext: lt,
|
|
@@ -3456,10 +3456,10 @@ const Sl = {
|
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
autoplayStatus: Oe.value,
|
|
3458
3458
|
onToggleAutoPlay: A[9] || (A[9] = (de) => Mt())
|
|
3459
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3459
|
+
}, null, 8, ["autoplayStatus"])) : F("", !0)
|
|
3460
3460
|
]),
|
|
3461
3461
|
_: 1
|
|
3462
|
-
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3462
|
+
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) : F("", !0)
|
|
3463
3463
|
])
|
|
3464
3464
|
]),
|
|
3465
3465
|
_: 1
|
|
@@ -3473,17 +3473,17 @@ const Sl = {
|
|
|
3473
3473
|
"available-archetypes": at.value,
|
|
3474
3474
|
"selected-index": nt.value,
|
|
3475
3475
|
onSelectInterior: At
|
|
3476
|
-
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) :
|
|
3476
|
+
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : F("", !0)
|
|
3477
3477
|
])
|
|
3478
3478
|
]),
|
|
3479
3479
|
_: 1
|
|
3480
3480
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3481
|
-
|
|
3481
|
+
y(Fe, null, {
|
|
3482
3482
|
default: m(() => [
|
|
3483
3483
|
p(f) && Q.value && se.value && ue.value ? (u(), T(vt, {
|
|
3484
3484
|
key: 0,
|
|
3485
3485
|
class: "waypoint-carousel below-player",
|
|
3486
|
-
thumbnails:
|
|
3486
|
+
thumbnails: he.value,
|
|
3487
3487
|
active: le.value,
|
|
3488
3488
|
cameraHasSunStudy: Ye.value,
|
|
3489
3489
|
onNext: lt,
|
|
@@ -3495,30 +3495,30 @@ const Sl = {
|
|
|
3495
3495
|
key: 0,
|
|
3496
3496
|
autoplayStatus: Oe.value,
|
|
3497
3497
|
onToggleAutoPlay: A[10] || (A[10] = (de) => Mt())
|
|
3498
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3498
|
+
}, null, 8, ["autoplayStatus"])) : F("", !0)
|
|
3499
3499
|
]),
|
|
3500
3500
|
_: 1
|
|
3501
|
-
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3501
|
+
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) : F("", !0)
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
3504
3504
|
}),
|
|
3505
3505
|
se.value ? (u(), L("div", Tl, [
|
|
3506
|
-
!Oe.value && re.value &&
|
|
3506
|
+
!Oe.value && re.value && ye.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3507
3507
|
key: 0,
|
|
3508
3508
|
class: "mt-1",
|
|
3509
3509
|
"current-day": Ye.value(Z.value) ? je(Z.value)[0] : void 0,
|
|
3510
3510
|
"current-time": Be.value,
|
|
3511
3511
|
onOnTimeChange: xt,
|
|
3512
|
-
onToggleSunStudy: A[11] || (A[11] = (de) =>
|
|
3513
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3514
|
-
])) :
|
|
3515
|
-
], 2)) :
|
|
3516
|
-
p(Ae) && p(U) ? (u(), L("div", Ol, " version: " +
|
|
3512
|
+
onToggleSunStudy: A[11] || (A[11] = (de) => ye.value = !ye.value)
|
|
3513
|
+
}, null, 8, ["current-day", "current-time"])) : F("", !0)
|
|
3514
|
+
])) : F("", !0)
|
|
3515
|
+
], 2)) : F("", !0),
|
|
3516
|
+
p(Ae) && p(U) ? (u(), L("div", Ol, " version: " + Y(p(Ae)), 1)) : F("", !0)
|
|
3517
3517
|
])
|
|
3518
3518
|
], 2);
|
|
3519
3519
|
};
|
|
3520
3520
|
}
|
|
3521
|
-
}), Rl = /* @__PURE__ */
|
|
3521
|
+
}), Rl = /* @__PURE__ */ ee($l, [["__scopeId", "data-v-8375f5bf"]]), Hl = { id: "player-wrapper" }, Yl = { id: "player-sizer" }, Ul = {
|
|
3522
3522
|
class: "player-control",
|
|
3523
3523
|
id: "controls-top-left"
|
|
3524
3524
|
}, zl = {
|
|
@@ -3585,7 +3585,7 @@ const Sl = {
|
|
|
3585
3585
|
])
|
|
3586
3586
|
]));
|
|
3587
3587
|
}
|
|
3588
|
-
}), Gl = /* @__PURE__ */
|
|
3588
|
+
}), Gl = /* @__PURE__ */ ee(Jl, [["__scopeId", "data-v-5fdd1e05"]]), Kl = { class: "virtual-tour-wrapper" }, Xl = { class: "player-and-components-wrapper" }, es = { class: "mss-image" }, ts = {
|
|
3589
3589
|
key: 1,
|
|
3590
3590
|
class: "btn-placeholder"
|
|
3591
3591
|
}, ns = /* @__PURE__ */ W({
|
|
@@ -3606,12 +3606,12 @@ const Sl = {
|
|
|
3606
3606
|
);
|
|
3607
3607
|
const o = b(0), l = b(
|
|
3608
3608
|
new Qt(document, "player-wrapper")
|
|
3609
|
-
), i =
|
|
3609
|
+
), i = V(() => n.images.map(
|
|
3610
3610
|
(f, _) => ({
|
|
3611
3611
|
id: `image-${_}`,
|
|
3612
3612
|
thumbnailUrl: f
|
|
3613
3613
|
})
|
|
3614
|
-
)), a =
|
|
3614
|
+
)), a = V(() => i.value[o.value]);
|
|
3615
3615
|
Re(() => {
|
|
3616
3616
|
l.value.setup();
|
|
3617
3617
|
});
|
|
@@ -3626,23 +3626,23 @@ const Sl = {
|
|
|
3626
3626
|
let f = o.value - 1;
|
|
3627
3627
|
f < 0 && (f = i.value.length - 1), o.value = f;
|
|
3628
3628
|
}
|
|
3629
|
-
function
|
|
3629
|
+
function g(f, _ = !0) {
|
|
3630
3630
|
let S = i.value.findIndex(
|
|
3631
|
-
(
|
|
3631
|
+
($) => $.id === f
|
|
3632
3632
|
);
|
|
3633
3633
|
S != -1 && (o.value = S);
|
|
3634
3634
|
}
|
|
3635
3635
|
return (f, _) => {
|
|
3636
|
-
const S = I("v-img"),
|
|
3636
|
+
const S = I("v-img"), $ = I("v-btn");
|
|
3637
3637
|
return u(), L("div", Kl, [
|
|
3638
3638
|
e("div", Xl, [
|
|
3639
3639
|
e("div", null, [
|
|
3640
|
-
|
|
3640
|
+
y(Gl, {
|
|
3641
3641
|
"is-full-screen": l.value.isActive
|
|
3642
3642
|
}, {
|
|
3643
3643
|
"slideshow-image": m(() => [
|
|
3644
3644
|
e("div", es, [
|
|
3645
|
-
|
|
3645
|
+
y(S, {
|
|
3646
3646
|
src: a.value.thumbnailUrl
|
|
3647
3647
|
}, null, 8, ["src"])
|
|
3648
3648
|
])
|
|
@@ -3651,30 +3651,30 @@ const Sl = {
|
|
|
3651
3651
|
"top-center": m(() => []),
|
|
3652
3652
|
"top-right": m(() => []),
|
|
3653
3653
|
"center-left": m(() => [
|
|
3654
|
-
|
|
3654
|
+
y(Fe, { name: "slide-x-transition" }, {
|
|
3655
3655
|
default: m(() => [
|
|
3656
|
-
i.value.length > 1 ? (u(), T(
|
|
3656
|
+
i.value.length > 1 ? (u(), T($, {
|
|
3657
3657
|
key: 0,
|
|
3658
3658
|
density: "comfortable",
|
|
3659
3659
|
elevation: "3",
|
|
3660
3660
|
icon: "mdi-chevron-left",
|
|
3661
3661
|
onClick: h
|
|
3662
|
-
})) :
|
|
3662
|
+
})) : F("", !0)
|
|
3663
3663
|
]),
|
|
3664
3664
|
_: 1
|
|
3665
3665
|
})
|
|
3666
3666
|
]),
|
|
3667
3667
|
"center-center": m(() => []),
|
|
3668
3668
|
"center-right": m(() => [
|
|
3669
|
-
|
|
3669
|
+
y(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3670
3670
|
default: m(() => [
|
|
3671
|
-
i.value.length > 1 ? (u(), T(
|
|
3671
|
+
i.value.length > 1 ? (u(), T($, {
|
|
3672
3672
|
key: 0,
|
|
3673
3673
|
density: "comfortable",
|
|
3674
3674
|
elevation: "3",
|
|
3675
3675
|
icon: "mdi-chevron-right",
|
|
3676
3676
|
onClick: r
|
|
3677
|
-
})) :
|
|
3677
|
+
})) : F("", !0)
|
|
3678
3678
|
]),
|
|
3679
3679
|
_: 1
|
|
3680
3680
|
})
|
|
@@ -3685,10 +3685,10 @@ const Sl = {
|
|
|
3685
3685
|
"is-full-screen": l.value.isActive,
|
|
3686
3686
|
class: "btn-fullscreen",
|
|
3687
3687
|
onToggleFullscreen: s
|
|
3688
|
-
}, null, 8, ["is-full-screen"])) :
|
|
3688
|
+
}, null, 8, ["is-full-screen"])) : F("", !0),
|
|
3689
3689
|
f.showShare ? (u(), L("div", ts, [
|
|
3690
|
-
|
|
3691
|
-
])) :
|
|
3690
|
+
y(Wt)
|
|
3691
|
+
])) : F("", !0)
|
|
3692
3692
|
]),
|
|
3693
3693
|
"bottom-center": m(() => [
|
|
3694
3694
|
e("div", null, [
|
|
@@ -3699,8 +3699,8 @@ const Sl = {
|
|
|
3699
3699
|
active: o.value,
|
|
3700
3700
|
onNext: r,
|
|
3701
3701
|
onPrevious: h,
|
|
3702
|
-
onGoto:
|
|
3703
|
-
}, null, 8, ["class", "thumbnails", "active"])) :
|
|
3702
|
+
onGoto: g
|
|
3703
|
+
}, null, 8, ["class", "thumbnails", "active"])) : F("", !0)
|
|
3704
3704
|
])
|
|
3705
3705
|
]),
|
|
3706
3706
|
"bottom-right": m(() => []),
|
|
@@ -3712,14 +3712,14 @@ const Sl = {
|
|
|
3712
3712
|
active: o.value,
|
|
3713
3713
|
onNext: r,
|
|
3714
3714
|
onPrevious: h,
|
|
3715
|
-
onGoto:
|
|
3716
|
-
}, null, 8, ["thumbnails", "active"])) :
|
|
3715
|
+
onGoto: g
|
|
3716
|
+
}, null, 8, ["thumbnails", "active"])) : F("", !0)
|
|
3717
3717
|
])
|
|
3718
3718
|
])
|
|
3719
3719
|
]);
|
|
3720
3720
|
};
|
|
3721
3721
|
}
|
|
3722
|
-
}), os = /* @__PURE__ */
|
|
3722
|
+
}), os = /* @__PURE__ */ ee(ns, [["__scopeId", "data-v-373ac320"]]), as = /* @__PURE__ */ W({
|
|
3723
3723
|
__name: "VMiniMap",
|
|
3724
3724
|
props: {
|
|
3725
3725
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3732,29 +3732,29 @@ const Sl = {
|
|
|
3732
3732
|
},
|
|
3733
3733
|
emits: ["apartmentJsonLoaded", "minimapJsonLoaded", "cameraSet"],
|
|
3734
3734
|
setup(t, { emit: n }) {
|
|
3735
|
-
const l = _e(t), i = n, a = b(), s = b(), r = b(), h = b(0),
|
|
3735
|
+
const l = _e(t), i = n, a = b(), s = b(), r = b(), h = b(0), g = b(), f = b(1), _ = V(() => l.currentCamera.value ? l.currentCamera.value : a.value ? a.value.cameras[0].id : null), S = V(() => ({
|
|
3736
3736
|
transformOrigin: "top left",
|
|
3737
3737
|
transform: `scale(${f.value})`
|
|
3738
3738
|
}));
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
const x =
|
|
3742
|
-
f.value = E.clientWidth / 512, x.style.height = `${
|
|
3743
|
-
}).observe(
|
|
3744
|
-
}),
|
|
3739
|
+
H(g, () => {
|
|
3740
|
+
g.value && new ResizeObserver(([k]) => {
|
|
3741
|
+
const x = k.target.parentElement, E = x.parentElement;
|
|
3742
|
+
f.value = E.clientWidth / 512, x.style.height = `${k.contentRect.height * f.value}px`;
|
|
3743
|
+
}).observe(g.value);
|
|
3744
|
+
}), H(_, () => {
|
|
3745
3745
|
i("cameraSet", _.value);
|
|
3746
3746
|
});
|
|
3747
|
-
const
|
|
3748
|
-
const
|
|
3747
|
+
const $ = V(() => {
|
|
3748
|
+
const k = me(l.cdnFileResolver.value, "").replace(
|
|
3749
3749
|
`/${a.value.type}/${a.value.id}`,
|
|
3750
3750
|
""
|
|
3751
3751
|
);
|
|
3752
|
-
return (x) => `${
|
|
3753
|
-
}), C =
|
|
3752
|
+
return (x) => `${k}${x}`;
|
|
3753
|
+
}), C = V(() => {
|
|
3754
3754
|
var d;
|
|
3755
3755
|
return (d = s.value) == null ? void 0 : d.storeys[l.level.value || 0];
|
|
3756
3756
|
});
|
|
3757
|
-
|
|
3757
|
+
H(
|
|
3758
3758
|
l.cdnFileResolver,
|
|
3759
3759
|
async () => {
|
|
3760
3760
|
a.value = await (await fetch(
|
|
@@ -3764,7 +3764,7 @@ const Sl = {
|
|
|
3764
3764
|
)).json(), i("minimapJsonLoaded", s.value);
|
|
3765
3765
|
},
|
|
3766
3766
|
{ immediate: !0 }
|
|
3767
|
-
),
|
|
3767
|
+
), H(
|
|
3768
3768
|
[C, l.cdnFileResolver],
|
|
3769
3769
|
() => {
|
|
3770
3770
|
l.cdnFileResolver.value && C.value && (r.value = C.value.defaultSunsimFile ? me(l.cdnFileResolver.value, "/minimap/sunsim0_13.jpg") : me(
|
|
@@ -3777,7 +3777,7 @@ const Sl = {
|
|
|
3777
3777
|
function c(d) {
|
|
3778
3778
|
r.value = d;
|
|
3779
3779
|
}
|
|
3780
|
-
return (d,
|
|
3780
|
+
return (d, k) => {
|
|
3781
3781
|
const x = I("v-skeleton-loader");
|
|
3782
3782
|
return u(), T(x, {
|
|
3783
3783
|
loading: !a.value || !s.value
|
|
@@ -3787,15 +3787,15 @@ const Sl = {
|
|
|
3787
3787
|
e("div", {
|
|
3788
3788
|
style: ne({ ...S.value, position: "relative" }),
|
|
3789
3789
|
ref_key: "fitContainer",
|
|
3790
|
-
ref:
|
|
3790
|
+
ref: g
|
|
3791
3791
|
}, [
|
|
3792
3792
|
d.hideCompass !== !0 ? (u(), T(zt, {
|
|
3793
3793
|
key: 0,
|
|
3794
3794
|
scale: d.compassScale || 1,
|
|
3795
3795
|
rotation: C.value.rotation.y,
|
|
3796
3796
|
"transform-angle": h.value
|
|
3797
|
-
}, null, 8, ["scale", "rotation", "transform-angle"])) :
|
|
3798
|
-
|
|
3797
|
+
}, null, 8, ["scale", "rotation", "transform-angle"])) : F("", !0),
|
|
3798
|
+
y(Ut, {
|
|
3799
3799
|
"transform-angle": h.value,
|
|
3800
3800
|
"all-cameras": a.value.cameras,
|
|
3801
3801
|
"background-image": r.value,
|
|
@@ -3806,24 +3806,24 @@ const Sl = {
|
|
|
3806
3806
|
containerHeight: 384,
|
|
3807
3807
|
fit: ""
|
|
3808
3808
|
}, {
|
|
3809
|
-
default: m(({ id: E, camera: R, active: q, style:
|
|
3809
|
+
default: m(({ id: E, camera: R, active: q, style: D }) => [
|
|
3810
3810
|
K(d.$slots, "default", {
|
|
3811
3811
|
id: E,
|
|
3812
3812
|
camera: R,
|
|
3813
3813
|
active: q,
|
|
3814
|
-
style: ne(
|
|
3814
|
+
style: ne(D)
|
|
3815
3815
|
}, void 0, !0)
|
|
3816
3816
|
]),
|
|
3817
3817
|
_: 3
|
|
3818
3818
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
3819
3819
|
d.hideSlider !== !0 ? (u(), T(jt, {
|
|
3820
3820
|
key: 1,
|
|
3821
|
-
"cdn-file-resolver":
|
|
3821
|
+
"cdn-file-resolver": $.value,
|
|
3822
3822
|
"minimap-json": s.value,
|
|
3823
3823
|
"apartment-json": a.value,
|
|
3824
3824
|
level: d.level || 0,
|
|
3825
3825
|
onSetBackgroundImage: c
|
|
3826
|
-
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) :
|
|
3826
|
+
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) : F("", !0)
|
|
3827
3827
|
], 4)
|
|
3828
3828
|
])
|
|
3829
3829
|
]),
|
|
@@ -3831,7 +3831,7 @@ const Sl = {
|
|
|
3831
3831
|
}, 8, ["loading"]);
|
|
3832
3832
|
};
|
|
3833
3833
|
}
|
|
3834
|
-
}), Gs = /* @__PURE__ */
|
|
3834
|
+
}), Gs = /* @__PURE__ */ ee(as, [["__scopeId", "data-v-8077dfb5"]]), ls = ["src"], ss = /* @__PURE__ */ W({
|
|
3835
3835
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
3836
3836
|
props: {
|
|
3837
3837
|
timeSampleData: {},
|
|
@@ -3840,15 +3840,15 @@ const Sl = {
|
|
|
3840
3840
|
},
|
|
3841
3841
|
setup(t) {
|
|
3842
3842
|
const n = t, { timeSampleData: o, cdnFileResolver: l, currentTime: i } = _e(n), a = b(), s = Se("registerImage"), r = Se("completeImage");
|
|
3843
|
-
|
|
3843
|
+
H(a, () => {
|
|
3844
3844
|
a.value && (s(a.value), a.value.onload = () => {
|
|
3845
3845
|
r(a.value);
|
|
3846
3846
|
}, a.value.onerror = () => {
|
|
3847
3847
|
r(a.value);
|
|
3848
3848
|
});
|
|
3849
3849
|
});
|
|
3850
|
-
const h =
|
|
3851
|
-
return (
|
|
3850
|
+
const h = V(() => me(l.value, o.value.filename));
|
|
3851
|
+
return (g, f) => (u(), L("img", {
|
|
3852
3852
|
ref_key: "image",
|
|
3853
3853
|
ref: a,
|
|
3854
3854
|
style: ne({
|
|
@@ -3857,7 +3857,7 @@ const Sl = {
|
|
|
3857
3857
|
src: h.value
|
|
3858
3858
|
}, null, 12, ls));
|
|
3859
3859
|
}
|
|
3860
|
-
}), is = /* @__PURE__ */
|
|
3860
|
+
}), is = /* @__PURE__ */ ee(ss, [["__scopeId", "data-v-c4a08195"]]), rs = /* @__PURE__ */ W({
|
|
3861
3861
|
__name: "VStructureChooserCameraDay",
|
|
3862
3862
|
props: {
|
|
3863
3863
|
dayData: {},
|
|
@@ -3885,16 +3885,16 @@ const Sl = {
|
|
|
3885
3885
|
},
|
|
3886
3886
|
setup(t) {
|
|
3887
3887
|
const n = t, { cameraData: o, cdnFileResolver: l, currentCamera: i, currentTime: a } = _e(n), s = b(), r = Se("registerImage"), h = Se("completeImage");
|
|
3888
|
-
|
|
3888
|
+
H(s, () => {
|
|
3889
3889
|
s.value && (r(s.value), s.value.onload = () => {
|
|
3890
3890
|
h(s.value);
|
|
3891
3891
|
}, s.value.onerror = () => {
|
|
3892
3892
|
h(s.value);
|
|
3893
3893
|
});
|
|
3894
3894
|
});
|
|
3895
|
-
const
|
|
3896
|
-
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), L(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S,
|
|
3897
|
-
key:
|
|
3895
|
+
const g = V(() => me(l.value, o.value.defaultFilename));
|
|
3896
|
+
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), L(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S, $) => (u(), T(rs, {
|
|
3897
|
+
key: $,
|
|
3898
3898
|
"day-data": S,
|
|
3899
3899
|
"cdn-file-resolver": p(l),
|
|
3900
3900
|
"current-day": f.currentDay,
|
|
@@ -3904,10 +3904,10 @@ const Sl = {
|
|
|
3904
3904
|
ref_key: "image",
|
|
3905
3905
|
ref: s,
|
|
3906
3906
|
style: ne({ visibility: p(i) === p(o) ? "visible" : "hidden" }),
|
|
3907
|
-
src:
|
|
3907
|
+
src: g.value
|
|
3908
3908
|
}, null, 12, us));
|
|
3909
3909
|
}
|
|
3910
|
-
}), ds = /* @__PURE__ */
|
|
3910
|
+
}), ds = /* @__PURE__ */ ee(cs, [["__scopeId", "data-v-da694d37"]]), vs = ["src"], ms = /* @__PURE__ */ W({
|
|
3911
3911
|
__name: "VStructureChooserTransition",
|
|
3912
3912
|
props: {
|
|
3913
3913
|
transitionData: {},
|
|
@@ -3916,15 +3916,15 @@ const Sl = {
|
|
|
3916
3916
|
},
|
|
3917
3917
|
setup(t) {
|
|
3918
3918
|
const n = t, { transitionData: o, cdnFileResolver: l, currentTransition: i } = _e(n), a = b(), s = Se("registerImage"), r = Se("completeImage");
|
|
3919
|
-
|
|
3919
|
+
H(a, () => {
|
|
3920
3920
|
a.value && (s(a.value), a.value.onload = () => {
|
|
3921
3921
|
r(a.value);
|
|
3922
3922
|
}, a.value.onerror = () => {
|
|
3923
3923
|
r(a.value);
|
|
3924
3924
|
});
|
|
3925
3925
|
});
|
|
3926
|
-
const h =
|
|
3927
|
-
return (
|
|
3926
|
+
const h = V(() => me(l.value, o.value.filename));
|
|
3927
|
+
return (g, f) => (u(), L("img", {
|
|
3928
3928
|
ref_key: "image",
|
|
3929
3929
|
ref: a,
|
|
3930
3930
|
style: ne({
|
|
@@ -3933,7 +3933,7 @@ const Sl = {
|
|
|
3933
3933
|
src: h.value
|
|
3934
3934
|
}, null, 12, vs));
|
|
3935
3935
|
}
|
|
3936
|
-
}), ps = /* @__PURE__ */
|
|
3936
|
+
}), ps = /* @__PURE__ */ ee(ms, [["__scopeId", "data-v-d592c198"]]);
|
|
3937
3937
|
function Ot(t) {
|
|
3938
3938
|
const n = /* @__PURE__ */ new Date(0);
|
|
3939
3939
|
return n.setUTCDate(t), n.toLocaleString("en-no", {
|
|
@@ -3956,27 +3956,27 @@ const fs = {
|
|
|
3956
3956
|
emits: ["onDayChange"],
|
|
3957
3957
|
setup(t, { emit: n }) {
|
|
3958
3958
|
const o = t, { isMobileSized: l, currentCamera: i, currentDay: a, disabled: s } = _e(o), r = n, h = b(a.value.dayOfYear);
|
|
3959
|
-
return
|
|
3959
|
+
return H(a, () => {
|
|
3960
3960
|
h.value = a.value.dayOfYear;
|
|
3961
|
-
}),
|
|
3961
|
+
}), H(h, () => {
|
|
3962
3962
|
r(
|
|
3963
3963
|
"onDayChange",
|
|
3964
3964
|
i.value.sunsimDayOfYear.find(
|
|
3965
|
-
(
|
|
3965
|
+
(g) => g.dayOfYear === h.value
|
|
3966
3966
|
)
|
|
3967
3967
|
);
|
|
3968
|
-
}), (
|
|
3969
|
-
const _ = I("v-btn"), S = I("v-field"),
|
|
3968
|
+
}), (g, f) => {
|
|
3969
|
+
const _ = I("v-btn"), S = I("v-field"), $ = I("v-list-item-title"), C = I("v-list-item"), c = I("v-list"), d = I("v-menu");
|
|
3970
3970
|
return p(i).sunsimDayOfYear && p(i).sunsimDayOfYear.length > 0 ? (u(), L("div", fs, [
|
|
3971
|
-
|
|
3972
|
-
activator: m(({ props:
|
|
3973
|
-
|
|
3971
|
+
y(d, null, {
|
|
3972
|
+
activator: m(({ props: k }) => [
|
|
3973
|
+
y(S, {
|
|
3974
3974
|
variant: "solo-filled",
|
|
3975
3975
|
rounded: "",
|
|
3976
3976
|
flat: ""
|
|
3977
3977
|
}, {
|
|
3978
3978
|
default: m(() => [
|
|
3979
|
-
|
|
3979
|
+
y(_, Ie({
|
|
3980
3980
|
variant: "text",
|
|
3981
3981
|
rounded: "",
|
|
3982
3982
|
flat: "",
|
|
@@ -3985,9 +3985,9 @@ const fs = {
|
|
|
3985
3985
|
"append-icon": p(i).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
|
|
3986
3986
|
disabled: p(s),
|
|
3987
3987
|
size: p(l) ? "small" : void 0
|
|
3988
|
-
},
|
|
3988
|
+
}, k), {
|
|
3989
3989
|
default: m(() => [
|
|
3990
|
-
ae(
|
|
3990
|
+
ae(Y(p(Ot)(h.value)), 1)
|
|
3991
3991
|
]),
|
|
3992
3992
|
_: 2
|
|
3993
3993
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -3996,17 +3996,17 @@ const fs = {
|
|
|
3996
3996
|
}, 1024)
|
|
3997
3997
|
]),
|
|
3998
3998
|
default: m(() => [
|
|
3999
|
-
|
|
3999
|
+
y(c, null, {
|
|
4000
4000
|
default: m(() => [
|
|
4001
|
-
(u(!0), L(we, null, Ee(p(i).sunsimDayOfYear, (
|
|
4001
|
+
(u(!0), L(we, null, Ee(p(i).sunsimDayOfYear, (k, x) => (u(), T(C, {
|
|
4002
4002
|
key: x,
|
|
4003
4003
|
value: x,
|
|
4004
|
-
onClick: (E) => h.value =
|
|
4004
|
+
onClick: (E) => h.value = k.dayOfYear
|
|
4005
4005
|
}, {
|
|
4006
4006
|
default: m(() => [
|
|
4007
|
-
|
|
4007
|
+
y($, null, {
|
|
4008
4008
|
default: m(() => [
|
|
4009
|
-
ae(
|
|
4009
|
+
ae(Y(p(Ot)(k.dayOfYear)), 1)
|
|
4010
4010
|
]),
|
|
4011
4011
|
_: 2
|
|
4012
4012
|
}, 1024)
|
|
@@ -4019,10 +4019,10 @@ const fs = {
|
|
|
4019
4019
|
]),
|
|
4020
4020
|
_: 1
|
|
4021
4021
|
})
|
|
4022
|
-
])) :
|
|
4022
|
+
])) : F("", !0);
|
|
4023
4023
|
};
|
|
4024
4024
|
}
|
|
4025
|
-
}), gs = /* @__PURE__ */
|
|
4025
|
+
}), gs = /* @__PURE__ */ ee(hs, [["__scopeId", "data-v-743f5faf"]]), ys = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, _s = ["onClick"], bs = {
|
|
4026
4026
|
key: 0,
|
|
4027
4027
|
class: "camera-name text-caption text-capitalize"
|
|
4028
4028
|
}, ws = {
|
|
@@ -4045,15 +4045,15 @@ const fs = {
|
|
|
4045
4045
|
currentCamera: a,
|
|
4046
4046
|
cdnFileResolver: s,
|
|
4047
4047
|
disabled: r
|
|
4048
|
-
} = _e(o), h = b(a.value),
|
|
4049
|
-
|
|
4048
|
+
} = _e(o), h = b(a.value), g = n;
|
|
4049
|
+
H(
|
|
4050
4050
|
a,
|
|
4051
4051
|
() => {
|
|
4052
4052
|
h.value = a.value;
|
|
4053
4053
|
},
|
|
4054
4054
|
{ immediate: !0 }
|
|
4055
|
-
),
|
|
4056
|
-
|
|
4055
|
+
), H(h, () => {
|
|
4056
|
+
g(
|
|
4057
4057
|
"onCameraChange",
|
|
4058
4058
|
i.value.find((_) => _ === h.value)
|
|
4059
4059
|
);
|
|
@@ -4062,7 +4062,7 @@ const fs = {
|
|
|
4062
4062
|
r.value || (h.value = _);
|
|
4063
4063
|
}
|
|
4064
4064
|
return (_, S) => {
|
|
4065
|
-
const
|
|
4065
|
+
const $ = I("v-icon");
|
|
4066
4066
|
return u(), L("div", {
|
|
4067
4067
|
class: ce({
|
|
4068
4068
|
"d-flex": !0,
|
|
@@ -4082,7 +4082,7 @@ const fs = {
|
|
|
4082
4082
|
}]),
|
|
4083
4083
|
onClick: (d) => f(C)
|
|
4084
4084
|
}, [
|
|
4085
|
-
C.cameraName ? (u(), L("div", bs,
|
|
4085
|
+
C.cameraName ? (u(), L("div", bs, Y(C.cameraName), 1)) : F("", !0),
|
|
4086
4086
|
e("div", {
|
|
4087
4087
|
class: "camera-thumbnail-image",
|
|
4088
4088
|
style: ne({
|
|
@@ -4093,7 +4093,7 @@ const fs = {
|
|
|
4093
4093
|
})
|
|
4094
4094
|
}, null, 4),
|
|
4095
4095
|
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div", ws, [
|
|
4096
|
-
|
|
4096
|
+
y($, {
|
|
4097
4097
|
size: "x-small",
|
|
4098
4098
|
color: "warning",
|
|
4099
4099
|
style: { opacity: "0.6" }
|
|
@@ -4103,13 +4103,13 @@ const fs = {
|
|
|
4103
4103
|
]),
|
|
4104
4104
|
_: 1
|
|
4105
4105
|
})
|
|
4106
|
-
])) :
|
|
4106
|
+
])) : F("", !0)
|
|
4107
4107
|
], 10, _s))), 128))
|
|
4108
4108
|
])
|
|
4109
4109
|
], 2);
|
|
4110
4110
|
};
|
|
4111
4111
|
}
|
|
4112
|
-
}), Cs = /* @__PURE__ */
|
|
4112
|
+
}), Cs = /* @__PURE__ */ ee(ks, [["__scopeId", "data-v-d14ee377"]]), Ss = { class: "small" }, As = { class: "small" }, xs = /* @__PURE__ */ W({
|
|
4113
4113
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
4114
4114
|
props: {
|
|
4115
4115
|
isMobileSized: { type: Boolean },
|
|
@@ -4120,17 +4120,17 @@ const fs = {
|
|
|
4120
4120
|
emits: ["onTimeChange"],
|
|
4121
4121
|
setup(t, { emit: n }) {
|
|
4122
4122
|
const o = t, { isMobileSized: l, currentDay: i, currentTime: a, disabled: s } = _e(o), r = n, h = b(a.value.timeInHours);
|
|
4123
|
-
return
|
|
4123
|
+
return H(a, () => {
|
|
4124
4124
|
h.value = a.value.timeInHours;
|
|
4125
|
-
}),
|
|
4125
|
+
}), H(h, () => {
|
|
4126
4126
|
r(
|
|
4127
4127
|
"onTimeChange",
|
|
4128
4128
|
i.value.timeSamples.find(
|
|
4129
|
-
(
|
|
4129
|
+
(g) => g.timeInHours === h.value
|
|
4130
4130
|
)
|
|
4131
4131
|
);
|
|
4132
|
-
}), (
|
|
4133
|
-
const _ = I("v-icon"), S = I("v-slider"),
|
|
4132
|
+
}), (g, f) => {
|
|
4133
|
+
const _ = I("v-icon"), S = I("v-slider"), $ = I("v-field");
|
|
4134
4134
|
return u(), L("div", {
|
|
4135
4135
|
class: ce({ "d-inline-block": !0, mobile: p(l) }),
|
|
4136
4136
|
style: ne({
|
|
@@ -4138,7 +4138,7 @@ const fs = {
|
|
|
4138
4138
|
verticalAlign: "top"
|
|
4139
4139
|
})
|
|
4140
4140
|
}, [
|
|
4141
|
-
|
|
4141
|
+
y($, {
|
|
4142
4142
|
style: ne(
|
|
4143
4143
|
p(i).timeSamples.length > 1 ? {
|
|
4144
4144
|
width: p(l) ? "100%" : "300px",
|
|
@@ -4171,7 +4171,7 @@ const fs = {
|
|
|
4171
4171
|
"hide-details": ""
|
|
4172
4172
|
}, {
|
|
4173
4173
|
prepend: m(() => [
|
|
4174
|
-
|
|
4174
|
+
y(_, {
|
|
4175
4175
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
4176
4176
|
class: "mr-2 icon",
|
|
4177
4177
|
color: "warning"
|
|
@@ -4181,11 +4181,11 @@ const fs = {
|
|
|
4181
4181
|
]),
|
|
4182
4182
|
_: 1
|
|
4183
4183
|
}),
|
|
4184
|
-
e("span", Ss,
|
|
4184
|
+
e("span", Ss, Y(p(dt)(h.value)), 1)
|
|
4185
4185
|
]),
|
|
4186
4186
|
_: 1
|
|
4187
4187
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(we, { key: 1 }, [
|
|
4188
|
-
|
|
4188
|
+
y(_, {
|
|
4189
4189
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
4190
4190
|
class: "mr-2 icon",
|
|
4191
4191
|
color: "warning"
|
|
@@ -4195,7 +4195,7 @@ const fs = {
|
|
|
4195
4195
|
]),
|
|
4196
4196
|
_: 1
|
|
4197
4197
|
}),
|
|
4198
|
-
e("span", As,
|
|
4198
|
+
e("span", As, Y(p(dt)(h.value)), 1)
|
|
4199
4199
|
], 64))
|
|
4200
4200
|
]),
|
|
4201
4201
|
_: 1
|
|
@@ -4203,7 +4203,7 @@ const fs = {
|
|
|
4203
4203
|
], 6);
|
|
4204
4204
|
};
|
|
4205
4205
|
}
|
|
4206
|
-
}), Ls = /* @__PURE__ */
|
|
4206
|
+
}), Ls = /* @__PURE__ */ ee(xs, [["__scopeId", "data-v-4d44890b"]]), Is = {
|
|
4207
4207
|
class: "d-inline-block",
|
|
4208
4208
|
style: { "vertical-align": "top" }
|
|
4209
4209
|
}, Es = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ms = /* @__PURE__ */ W({
|
|
@@ -4217,24 +4217,24 @@ const fs = {
|
|
|
4217
4217
|
emits: ["onZoomIn", "onZoomOut"],
|
|
4218
4218
|
setup(t, { emit: n }) {
|
|
4219
4219
|
const o = t, { isMobileSized: l, canZoomIn: i, canZoomOut: a, disabled: s } = _e(o), r = n;
|
|
4220
|
-
return (h,
|
|
4220
|
+
return (h, g) => {
|
|
4221
4221
|
const f = I("v-btn");
|
|
4222
4222
|
return u(), L("div", Is, [
|
|
4223
|
-
|
|
4223
|
+
y(f, {
|
|
4224
4224
|
disabled: p(s) || !p(i),
|
|
4225
4225
|
size: p(l) ? "x-small" : "small",
|
|
4226
4226
|
flat: "",
|
|
4227
4227
|
icon: "mdi-plus",
|
|
4228
|
-
onClick:
|
|
4228
|
+
onClick: g[0] || (g[0] = (_) => r("onZoomIn")),
|
|
4229
4229
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
4230
4230
|
}, null, 8, ["disabled", "size"]),
|
|
4231
4231
|
Es,
|
|
4232
|
-
|
|
4232
|
+
y(f, {
|
|
4233
4233
|
disabled: p(s) || !p(a),
|
|
4234
4234
|
size: p(l) ? "x-small" : "small",
|
|
4235
4235
|
flat: "",
|
|
4236
4236
|
icon: "mdi-minus",
|
|
4237
|
-
onClick:
|
|
4237
|
+
onClick: g[1] || (g[1] = (_) => r("onZoomOut")),
|
|
4238
4238
|
style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
|
|
4239
4239
|
}, null, 8, ["disabled", "size"])
|
|
4240
4240
|
]);
|
|
@@ -4295,48 +4295,48 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4295
4295
|
},
|
|
4296
4296
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError"],
|
|
4297
4297
|
setup(t, { emit: n }) {
|
|
4298
|
-
const o = t, { cdnFileResolver: l, colorCallback: i, currentCamera: a, selectedId: s } = _e(o), r = n, h = b(!0),
|
|
4298
|
+
const o = t, { cdnFileResolver: l, colorCallback: i, currentCamera: a, selectedId: s } = _e(o), r = n, h = b(!0), g = b({}), f = b(), _ = An({}), S = V(() => me(
|
|
4299
4299
|
l.value,
|
|
4300
4300
|
a.value.overlayFilename
|
|
4301
4301
|
));
|
|
4302
4302
|
Ft(() => {
|
|
4303
4303
|
for (const c in _) {
|
|
4304
|
-
const { element: d, state:
|
|
4304
|
+
const { element: d, state: k } = _[c], { r: x, g: E, b: R, a: q, s: D } = i.value(c, k) || {
|
|
4305
4305
|
r: 0,
|
|
4306
4306
|
g: 0,
|
|
4307
4307
|
b: 0,
|
|
4308
4308
|
a: 0,
|
|
4309
4309
|
s: 0
|
|
4310
4310
|
};
|
|
4311
|
-
d.style.fill = `rgba(${x}, ${E}, ${R}, ${q / 255})`, d.style.stroke = `rgb(${x}, ${E}, ${R})`, d.style.strokeWidth =
|
|
4311
|
+
d.style.fill = `rgba(${x}, ${E}, ${R}, ${q / 255})`, d.style.stroke = `rgb(${x}, ${E}, ${R})`, d.style.strokeWidth = D.toString(), d.style.cursor = "pointer";
|
|
4312
4312
|
}
|
|
4313
|
-
}),
|
|
4313
|
+
}), H(s, () => {
|
|
4314
4314
|
for (const c in _)
|
|
4315
4315
|
_[c].state === "selected" && c !== s.value ? _[c].state = "idle" : _[c].state !== "selected" && c === s.value && (_[c].state = "selected");
|
|
4316
4316
|
}), Ft(async () => {
|
|
4317
4317
|
try {
|
|
4318
|
-
h.value = !1,
|
|
4318
|
+
h.value = !1, g.value[S.value] || (g.value[S.value] = await Qe.loadText(S.value)), C();
|
|
4319
4319
|
} catch (c) {
|
|
4320
4320
|
r("onError", c);
|
|
4321
4321
|
} finally {
|
|
4322
4322
|
h.value = !0;
|
|
4323
4323
|
}
|
|
4324
|
-
}),
|
|
4324
|
+
}), H(
|
|
4325
4325
|
() => f.value,
|
|
4326
4326
|
() => {
|
|
4327
|
-
f.value && new ResizeObserver(
|
|
4327
|
+
f.value && new ResizeObserver($).observe(f.value);
|
|
4328
4328
|
}
|
|
4329
4329
|
);
|
|
4330
|
-
function
|
|
4330
|
+
function $() {
|
|
4331
4331
|
$e(() => {
|
|
4332
4332
|
var d;
|
|
4333
4333
|
const c = (d = f.value) == null ? void 0 : d.firstChild;
|
|
4334
4334
|
if (c) {
|
|
4335
4335
|
if (!c.hasAttribute("viewBox")) {
|
|
4336
|
-
const
|
|
4336
|
+
const k = `0 0 ${c.getAttribute(
|
|
4337
4337
|
"width"
|
|
4338
4338
|
)} ${c.getAttribute("height")}`;
|
|
4339
|
-
c.setAttribute("viewBox",
|
|
4339
|
+
c.setAttribute("viewBox", k);
|
|
4340
4340
|
}
|
|
4341
4341
|
c.setAttribute(
|
|
4342
4342
|
"width",
|
|
@@ -4348,7 +4348,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4348
4348
|
}
|
|
4349
4349
|
});
|
|
4350
4350
|
}
|
|
4351
|
-
|
|
4351
|
+
H(
|
|
4352
4352
|
() => o.activeStructureIds,
|
|
4353
4353
|
() => {
|
|
4354
4354
|
C();
|
|
@@ -4360,9 +4360,9 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4360
4360
|
var d;
|
|
4361
4361
|
const c = (d = f.value) == null ? void 0 : d.firstChild;
|
|
4362
4362
|
if (c) {
|
|
4363
|
-
r("updateSvgContainer", c),
|
|
4364
|
-
let
|
|
4365
|
-
|
|
4363
|
+
r("updateSvgContainer", c), $();
|
|
4364
|
+
let k, x = "data-structure-id";
|
|
4365
|
+
k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-apartment-id", k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-building-id", k = c.querySelectorAll(`[${x}]`))), k.forEach((E) => {
|
|
4366
4366
|
E.style.strokeWidth = "0", E.style.stroke = "rgba(255,255,255,0)", E.style.fill = "rgba(255,255,255,0)", E.querySelectorAll("path").forEach((q) => {
|
|
4367
4367
|
q.style.stroke = "inherit", q.style.fill = "inherit";
|
|
4368
4368
|
});
|
|
@@ -4390,13 +4390,13 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4390
4390
|
visibility: h.value ? "visible" : "hidden"
|
|
4391
4391
|
}, { "z-index": "5" }]),
|
|
4392
4392
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
4393
|
-
innerHTML:
|
|
4393
|
+
innerHTML: g.value[S.value]
|
|
4394
4394
|
}, null, 12, Fs)
|
|
4395
4395
|
]),
|
|
4396
4396
|
_: 1
|
|
4397
4397
|
}));
|
|
4398
4398
|
}
|
|
4399
|
-
}), Ds = /* @__PURE__ */
|
|
4399
|
+
}), Ds = /* @__PURE__ */ ee(Vs, [["__scopeId", "data-v-982e604a"]]);
|
|
4400
4400
|
function Bs(t) {
|
|
4401
4401
|
if (!t)
|
|
4402
4402
|
return !1;
|
|
@@ -4519,8 +4519,8 @@ function Us(t) {
|
|
|
4519
4519
|
);
|
|
4520
4520
|
const s = { ...a };
|
|
4521
4521
|
return s.sunsimDayOfYear && s.sunsimDayOfYear.forEach((h) => {
|
|
4522
|
-
h.timeSamples && h.timeSamples.forEach((
|
|
4523
|
-
|
|
4522
|
+
h.timeSamples && h.timeSamples.forEach((g) => {
|
|
4523
|
+
g.filename = Pe(g.filename);
|
|
4524
4524
|
});
|
|
4525
4525
|
}), {
|
|
4526
4526
|
...s,
|
|
@@ -4624,8 +4624,8 @@ function Us(t) {
|
|
|
4624
4624
|
);
|
|
4625
4625
|
const r = { ...a };
|
|
4626
4626
|
return r.sunsimDayOfYear && r.sunsimDayOfYear.forEach((h) => {
|
|
4627
|
-
h.timeSamples && h.timeSamples.forEach((
|
|
4628
|
-
|
|
4627
|
+
h.timeSamples && h.timeSamples.forEach((g) => {
|
|
4628
|
+
g.filename = Pe(g.filename);
|
|
4629
4629
|
});
|
|
4630
4630
|
}), {
|
|
4631
4631
|
...r,
|
|
@@ -4653,8 +4653,8 @@ function Us(t) {
|
|
|
4653
4653
|
filename: `/1280/${(r + 1).toString().padStart(4, "0") + ".jpg"}`
|
|
4654
4654
|
})), s = [4, 1, 2, 3];
|
|
4655
4655
|
for (let r = 0; r < t.scenes.length; r++) {
|
|
4656
|
-
let h = t.scenes[r],
|
|
4657
|
-
|
|
4656
|
+
let h = t.scenes[r], g, f;
|
|
4657
|
+
g = a[h].filename, f = {
|
|
4658
4658
|
cameraName: `Camera ${r + 1}`,
|
|
4659
4659
|
cameraPosition: void 0,
|
|
4660
4660
|
cameraRotation: t.sceneCameras && (l = t.sceneCameras.find((_) => _.scene === r)) != null && l.cameraRotation ? $t(
|
|
@@ -4662,7 +4662,7 @@ function Us(t) {
|
|
|
4662
4662
|
) : void 0,
|
|
4663
4663
|
cameraFov: 0,
|
|
4664
4664
|
overlayFilename: `/scenedata${s[r]}V5Overlay.svg`,
|
|
4665
|
-
defaultFilename:
|
|
4665
|
+
defaultFilename: g,
|
|
4666
4666
|
sunsimDayOfYear: void 0
|
|
4667
4667
|
// sunsimDayOfYear: [
|
|
4668
4668
|
// {
|
|
@@ -4694,7 +4694,7 @@ function Us(t) {
|
|
|
4694
4694
|
})),
|
|
4695
4695
|
stillCameraIndices: t.scenes,
|
|
4696
4696
|
stillCameraData: t.sceneData.map(({ apartmentID: r, bestScene: h }) => ({
|
|
4697
|
-
bestIndex: s.findIndex((
|
|
4697
|
+
bestIndex: s.findIndex((g) => g === h) in t.scenes ? t.scenes[s.findIndex((g) => g === h)] : null,
|
|
4698
4698
|
id: r
|
|
4699
4699
|
})).filter(({ bestIndex: r }) => r !== null),
|
|
4700
4700
|
loopable: !0,
|
|
@@ -4745,12 +4745,12 @@ const zs = {
|
|
|
4745
4745
|
colorCallback: s,
|
|
4746
4746
|
i18nConfig: r,
|
|
4747
4747
|
customOverlayContent: h,
|
|
4748
|
-
selectedId:
|
|
4748
|
+
selectedId: g,
|
|
4749
4749
|
defaultCamera: f,
|
|
4750
4750
|
defaultDay: _,
|
|
4751
4751
|
defaultTime: S,
|
|
4752
|
-
mobileBreakpoint:
|
|
4753
|
-
} = _e(l), C = o, c = b(), d = b(),
|
|
4752
|
+
mobileBreakpoint: $
|
|
4753
|
+
} = _e(l), C = o, c = b(), d = b(), k = b(), x = b(null), E = b(4), R = b(), q = b(!1), D = b(!1), J = b(), be = V(() => J.value.isHoverEnabled), te = b({ x: 0, y: 0, width: 0, height: 0 }), Ae = b(), U = b(), M = b(), z = b(!1), ve = b(1), ke = b(0), ie = b([]), B = b(), Q = b({
|
|
4754
4754
|
current: 100,
|
|
4755
4755
|
min: 100,
|
|
4756
4756
|
max: 1e3
|
|
@@ -4758,70 +4758,70 @@ const zs = {
|
|
|
4758
4758
|
Xe(
|
|
4759
4759
|
Ve,
|
|
4760
4760
|
r.value ? new Ne(r.value) : new Ne()
|
|
4761
|
-
), Xe("registerImage", (
|
|
4761
|
+
), Xe("registerImage", (w) => {
|
|
4762
4762
|
$e(() => {
|
|
4763
|
-
ie.value.find((
|
|
4763
|
+
ie.value.find((O) => O.image === w) || (ie.value = [...ie.value, { image: w, loaded: !1 }]);
|
|
4764
4764
|
});
|
|
4765
|
-
}), Xe("completeImage", (
|
|
4765
|
+
}), Xe("completeImage", (w) => {
|
|
4766
4766
|
$e(() => {
|
|
4767
|
-
const
|
|
4768
|
-
|
|
4767
|
+
const O = ie.value.findIndex((X) => X.image === w);
|
|
4768
|
+
O >= 0 && (ie.value[O].loaded = !0, ie.value = [...ie.value]);
|
|
4769
4769
|
});
|
|
4770
4770
|
}), n({
|
|
4771
4771
|
getState: () => ({
|
|
4772
|
-
currentCameraIndex: c.value ? Z.value.findIndex((
|
|
4772
|
+
currentCameraIndex: c.value ? Z.value.findIndex((w) => w === c.value) : null,
|
|
4773
4773
|
currentDayIndex: d.value ? c.value.sunsimDayOfYear.findIndex(
|
|
4774
|
-
(
|
|
4774
|
+
(w) => w === d.value
|
|
4775
4775
|
) : null,
|
|
4776
|
-
currentTimeIndex:
|
|
4777
|
-
currentTransitionIndex: x.value ?
|
|
4778
|
-
(
|
|
4776
|
+
currentTimeIndex: k.value ? d.value.timeSamples.findIndex((w) => w === k.value) : null,
|
|
4777
|
+
currentTransitionIndex: x.value ? ge.value.findIndex(
|
|
4778
|
+
(w) => w === x.value
|
|
4779
4779
|
) : null,
|
|
4780
4780
|
currentScene: E.value
|
|
4781
4781
|
}),
|
|
4782
4782
|
setState: ({
|
|
4783
|
-
currentCameraIndex:
|
|
4784
|
-
currentDayIndex:
|
|
4785
|
-
currentTimeIndex:
|
|
4783
|
+
currentCameraIndex: w,
|
|
4784
|
+
currentDayIndex: O,
|
|
4785
|
+
currentTimeIndex: X,
|
|
4786
4786
|
currentTransitionIndex: se,
|
|
4787
4787
|
currentScene: oe
|
|
4788
4788
|
}) => {
|
|
4789
|
-
typeof
|
|
4789
|
+
typeof w == "number" && (c.value = Z.value[w]), typeof O == "number" && (d.value = c.value.sunsimDayOfYear[O]), typeof X == "number" && (k.value = d.value.timeSamples[X]), typeof se == "number" && (x.value = ge.value[se]), typeof oe == "number" && (E.value = oe);
|
|
4790
4790
|
},
|
|
4791
|
-
resolveCoordinates: (
|
|
4791
|
+
resolveCoordinates: (w, O) => N.value ? N.value(w, O) : { x: 0, y: 0 }
|
|
4792
4792
|
}), Re(() => {
|
|
4793
4793
|
q.value = !0, P.value = !1;
|
|
4794
|
-
}),
|
|
4794
|
+
}), H(U, () => {
|
|
4795
4795
|
U.value && new ResizeObserver(([]) => {
|
|
4796
|
-
const
|
|
4797
|
-
|
|
4796
|
+
const O = ie.value.find((X) => X.loaded);
|
|
4797
|
+
O && (ke.value = O.image.width / ve.value);
|
|
4798
4798
|
}).observe(U.value);
|
|
4799
|
-
}),
|
|
4799
|
+
}), H(ie, () => {
|
|
4800
4800
|
if (ke.value === 0) {
|
|
4801
|
-
const
|
|
4802
|
-
|
|
4801
|
+
const w = ie.value.find((O) => O.loaded);
|
|
4802
|
+
w && (ve.value = w.image.naturalWidth / w.image.naturalHeight, ke.value = w.image.width / ve.value);
|
|
4803
4803
|
}
|
|
4804
4804
|
});
|
|
4805
|
-
const le =
|
|
4806
|
-
ie.value.filter((
|
|
4805
|
+
const le = V(() => ie.value.every((w) => w.loaded)), G = V(() => Math.round(
|
|
4806
|
+
ie.value.filter((w) => w.loaded).length / ie.value.length * 100
|
|
4807
4807
|
));
|
|
4808
|
-
|
|
4808
|
+
H(
|
|
4809
4809
|
i,
|
|
4810
|
-
(
|
|
4810
|
+
(w) => {
|
|
4811
4811
|
try {
|
|
4812
|
-
P.value = !1,
|
|
4813
|
-
} catch (
|
|
4814
|
-
P.value = !0, C("onError",
|
|
4812
|
+
P.value = !1, M.value = Us(w);
|
|
4813
|
+
} catch (O) {
|
|
4814
|
+
P.value = !0, C("onError", O);
|
|
4815
4815
|
}
|
|
4816
4816
|
},
|
|
4817
4817
|
{
|
|
4818
4818
|
immediate: !0
|
|
4819
4819
|
}
|
|
4820
|
-
),
|
|
4821
|
-
|
|
4820
|
+
), H(q, (w) => {
|
|
4821
|
+
w && C("onInitialize");
|
|
4822
4822
|
});
|
|
4823
4823
|
const re = b();
|
|
4824
|
-
|
|
4824
|
+
H(
|
|
4825
4825
|
() => l.activeStructureIds,
|
|
4826
4826
|
() => {
|
|
4827
4827
|
re.value = l.activeStructureIds;
|
|
@@ -4830,110 +4830,118 @@ const zs = {
|
|
|
4830
4830
|
immediate: !0,
|
|
4831
4831
|
deep: !0
|
|
4832
4832
|
}
|
|
4833
|
-
),
|
|
4833
|
+
), H(
|
|
4834
4834
|
() => U.value,
|
|
4835
4835
|
() => {
|
|
4836
|
-
U.value && new ResizeObserver(([
|
|
4837
|
-
z.value =
|
|
4836
|
+
U.value && new ResizeObserver(([O]) => {
|
|
4837
|
+
z.value = O.contentRect.width < $.value;
|
|
4838
4838
|
}).observe(U.value);
|
|
4839
4839
|
}
|
|
4840
4840
|
);
|
|
4841
|
-
const Z =
|
|
4842
|
-
() =>
|
|
4843
|
-
),
|
|
4844
|
-
() =>
|
|
4841
|
+
const Z = V(
|
|
4842
|
+
() => M.value ? M.value.cameras.filter(Ts) : []
|
|
4843
|
+
), ge = V(
|
|
4844
|
+
() => M.value ? M.value.cameras.filter(bt) : []
|
|
4845
4845
|
);
|
|
4846
|
-
|
|
4847
|
-
[
|
|
4846
|
+
H(
|
|
4847
|
+
[M, a],
|
|
4848
4848
|
() => {
|
|
4849
|
-
|
|
4849
|
+
M.value && a.value && (ie.value = []);
|
|
4850
4850
|
},
|
|
4851
4851
|
{ immediate: !0 }
|
|
4852
|
-
),
|
|
4853
|
-
[
|
|
4852
|
+
), H(
|
|
4853
|
+
[M, a, f],
|
|
4854
4854
|
async () => {
|
|
4855
4855
|
a.value && Z.value.length > 0 && (f.value ? c.value = Z.value.find(
|
|
4856
|
-
(
|
|
4857
|
-
) || Z.value[0] : c.value = Z.value[0], E.value =
|
|
4858
|
-
(
|
|
4856
|
+
(w) => w.cameraName === f.value
|
|
4857
|
+
) || Z.value[0] : c.value = Z.value[0], E.value = M.value.cameras.findIndex(
|
|
4858
|
+
(w) => w === c.value
|
|
4859
4859
|
), E.value = Math.max(0, E.value));
|
|
4860
4860
|
},
|
|
4861
4861
|
{ immediate: !0 }
|
|
4862
|
-
),
|
|
4863
|
-
[
|
|
4862
|
+
), H(
|
|
4863
|
+
[M, a, _],
|
|
4864
4864
|
() => {
|
|
4865
|
-
|
|
4866
|
-
(
|
|
4865
|
+
M.value && a.value && c.value && c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && (_.value ? d.value = c.value.sunsimDayOfYear.find(
|
|
4866
|
+
(w) => w.dayOfYear === _.value
|
|
4867
4867
|
) || c.value.sunsimDayOfYear[0] : d.value = c.value.sunsimDayOfYear[0]);
|
|
4868
4868
|
},
|
|
4869
4869
|
{ immediate: !0 }
|
|
4870
|
-
),
|
|
4871
|
-
[
|
|
4870
|
+
), H(
|
|
4871
|
+
[M, a, S],
|
|
4872
4872
|
() => {
|
|
4873
|
-
|
|
4874
|
-
(
|
|
4875
|
-
) || d.value.timeSamples[0] :
|
|
4876
|
-
(
|
|
4873
|
+
M.value && a.value && d.value && d.value.timeSamples && d.value.timeSamples.length > 0 && (S.value ? k.value = d.value.timeSamples.find(
|
|
4874
|
+
(w) => w.timeInHours === S.value
|
|
4875
|
+
) || d.value.timeSamples[0] : k.value = d.value.timeSamples.find(
|
|
4876
|
+
(w) => w.timeInHours === d.value.defaultHour
|
|
4877
4877
|
) || d.value.timeSamples[0]);
|
|
4878
4878
|
},
|
|
4879
4879
|
{ immediate: !0 }
|
|
4880
4880
|
);
|
|
4881
|
-
function xe(
|
|
4882
|
-
c.value !==
|
|
4883
|
-
|
|
4881
|
+
function xe(w) {
|
|
4882
|
+
c.value !== w && he(
|
|
4883
|
+
M.value.cameras.findIndex((O) => O === w)
|
|
4884
4884
|
);
|
|
4885
4885
|
}
|
|
4886
|
-
function De(
|
|
4887
|
-
E.value =
|
|
4886
|
+
function De(w) {
|
|
4887
|
+
E.value = w, bt(M.value.cameras[E.value]) ? x.value = M.value.cameras[E.value] : ($e(() => {
|
|
4888
4888
|
pe(
|
|
4889
|
-
|
|
4889
|
+
M.value.cameras[E.value]
|
|
4890
4890
|
);
|
|
4891
4891
|
}), x.value = null);
|
|
4892
4892
|
}
|
|
4893
|
-
function pe(
|
|
4894
|
-
const
|
|
4895
|
-
c.value =
|
|
4896
|
-
(
|
|
4893
|
+
function pe(w) {
|
|
4894
|
+
const O = d.value;
|
|
4895
|
+
c.value = w, E.value = M.value.cameras.findIndex(
|
|
4896
|
+
(X) => X === c.value
|
|
4897
4897
|
), $e(() => {
|
|
4898
4898
|
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && fe(
|
|
4899
4899
|
c.value.sunsimDayOfYear.find(
|
|
4900
|
-
(
|
|
4900
|
+
(X) => X.dayOfYear === O.dayOfYear
|
|
4901
4901
|
) || c.value.sunsimDayOfYear[0]
|
|
4902
4902
|
);
|
|
4903
4903
|
});
|
|
4904
4904
|
}
|
|
4905
|
-
function fe(
|
|
4906
|
-
const
|
|
4907
|
-
d.value =
|
|
4905
|
+
function fe(w) {
|
|
4906
|
+
const O = k.value;
|
|
4907
|
+
d.value = w, $e(() => {
|
|
4908
4908
|
Be(
|
|
4909
4909
|
d.value.timeSamples.find(
|
|
4910
|
-
(
|
|
4910
|
+
(X) => X.timeInHours === O.timeInHours
|
|
4911
4911
|
) || d.value.timeSamples.find(
|
|
4912
|
-
(
|
|
4912
|
+
(X) => X.timeInHours === d.value.defaultHour
|
|
4913
4913
|
) || d.value.timeSamples[0]
|
|
4914
4914
|
);
|
|
4915
4915
|
});
|
|
4916
4916
|
}
|
|
4917
|
-
function Be(
|
|
4918
|
-
|
|
4917
|
+
function Be(w) {
|
|
4918
|
+
k.value = w;
|
|
4919
4919
|
}
|
|
4920
|
-
function
|
|
4921
|
-
C("onClick",
|
|
4922
|
-
const
|
|
4923
|
-
(
|
|
4920
|
+
function ye(w) {
|
|
4921
|
+
C("onClick", w, () => {
|
|
4922
|
+
const O = M.value.stillCameraData.find(
|
|
4923
|
+
(X) => X.id === w
|
|
4924
4924
|
);
|
|
4925
|
-
|
|
4925
|
+
O && he(O.bestIndex);
|
|
4926
4926
|
});
|
|
4927
4927
|
}
|
|
4928
|
-
|
|
4929
|
-
|
|
4928
|
+
H(g, (w) => {
|
|
4929
|
+
if (w && M.value) {
|
|
4930
|
+
const O = M.value.stillCameraData.find(
|
|
4931
|
+
(X) => X.id === w
|
|
4932
|
+
);
|
|
4933
|
+
O && he(O.bestIndex);
|
|
4934
|
+
}
|
|
4935
|
+
});
|
|
4936
|
+
function ue(w) {
|
|
4937
|
+
C("onHoverOver", w), R.value = w;
|
|
4930
4938
|
}
|
|
4931
|
-
function Me(
|
|
4932
|
-
C("onHoverOut",
|
|
4939
|
+
function Me(w) {
|
|
4940
|
+
C("onHoverOut", w), R.value = void 0;
|
|
4933
4941
|
}
|
|
4934
|
-
function ft(
|
|
4935
|
-
const { layerX:
|
|
4936
|
-
let se =
|
|
4942
|
+
function ft(w) {
|
|
4943
|
+
const { layerX: O, layerY: X } = w;
|
|
4944
|
+
let se = w.target, oe = !1;
|
|
4937
4945
|
for (; se; )
|
|
4938
4946
|
if (se === Ae.value) {
|
|
4939
4947
|
oe = !0;
|
|
@@ -4941,80 +4949,80 @@ const zs = {
|
|
|
4941
4949
|
} else
|
|
4942
4950
|
se = se.parentElement;
|
|
4943
4951
|
if (oe) {
|
|
4944
|
-
const Ce =
|
|
4945
|
-
|
|
4946
|
-
x:
|
|
4947
|
-
y:
|
|
4952
|
+
const Ce = w.currentTarget;
|
|
4953
|
+
te.value = {
|
|
4954
|
+
x: O,
|
|
4955
|
+
y: X,
|
|
4948
4956
|
width: Ce.clientWidth,
|
|
4949
4957
|
height: Ce.clientHeight
|
|
4950
4958
|
};
|
|
4951
4959
|
} else
|
|
4952
|
-
|
|
4953
|
-
C("onMouseMove",
|
|
4960
|
+
te.value = void 0;
|
|
4961
|
+
C("onMouseMove", w, te.value);
|
|
4954
4962
|
}
|
|
4955
4963
|
function tt({
|
|
4956
|
-
min:
|
|
4957
|
-
max:
|
|
4958
|
-
current:
|
|
4964
|
+
min: w,
|
|
4965
|
+
max: O,
|
|
4966
|
+
current: X,
|
|
4959
4967
|
resolve: se
|
|
4960
4968
|
}) {
|
|
4961
|
-
N.value = se, Q.value = { min:
|
|
4969
|
+
N.value = se, Q.value = { min: w, max: O, current: X };
|
|
4962
4970
|
}
|
|
4963
|
-
function He(
|
|
4964
|
-
B.value.adjustZoom(
|
|
4971
|
+
function He(w) {
|
|
4972
|
+
B.value.adjustZoom(w ? 10 : -10);
|
|
4965
4973
|
}
|
|
4966
|
-
function nt(
|
|
4967
|
-
return
|
|
4968
|
-
(
|
|
4974
|
+
function nt(w) {
|
|
4975
|
+
return M.value.stillCameraIndices.findIndex(
|
|
4976
|
+
(O) => O === w
|
|
4969
4977
|
);
|
|
4970
4978
|
}
|
|
4971
|
-
async function
|
|
4972
|
-
const
|
|
4973
|
-
if (
|
|
4974
|
-
const
|
|
4979
|
+
async function he(w) {
|
|
4980
|
+
const O = E.value;
|
|
4981
|
+
if (M.value.loopable) {
|
|
4982
|
+
const X = M.value.stillCameraIndices.length, se = nt(O), oe = nt(w);
|
|
4975
4983
|
let Ce = 0, qe = 0, Le = se;
|
|
4976
|
-
for (; Le++, Le >=
|
|
4984
|
+
for (; Le++, Le >= X && (Le = 0), Le !== oe; )
|
|
4977
4985
|
Ce++;
|
|
4978
|
-
for (Le = se; Le--, Le < 0 && (Le +=
|
|
4986
|
+
for (Le = se; Le--, Le < 0 && (Le += X), Le !== oe; )
|
|
4979
4987
|
qe++;
|
|
4980
|
-
Ce === qe ? Te(
|
|
4988
|
+
Ce === qe ? Te(O, w) : Ce < qe ? se < oe ? Te(O, w) : Te(O, w + M.value.cameras.length) : se >= oe ? Te(O, w) : Te(O + M.value.cameras.length, w);
|
|
4981
4989
|
} else
|
|
4982
|
-
Te(
|
|
4990
|
+
Te(O, w);
|
|
4983
4991
|
}
|
|
4984
|
-
function Te(
|
|
4985
|
-
return new Promise((
|
|
4986
|
-
|
|
4987
|
-
let se, oe =
|
|
4992
|
+
function Te(w, O) {
|
|
4993
|
+
return new Promise((X) => {
|
|
4994
|
+
D.value = !0;
|
|
4995
|
+
let se, oe = w;
|
|
4988
4996
|
se = setInterval(() => {
|
|
4989
|
-
oe <
|
|
4990
|
-
oe %
|
|
4991
|
-
), De(E.value)) : oe >
|
|
4992
|
-
oe %
|
|
4993
|
-
), De(E.value)) : (clearInterval(se),
|
|
4997
|
+
oe < O ? (oe++, E.value = Math.abs(
|
|
4998
|
+
oe % M.value.cameras.length
|
|
4999
|
+
), De(E.value)) : oe > O ? (oe--, E.value = Math.abs(
|
|
5000
|
+
oe % M.value.cameras.length
|
|
5001
|
+
), De(E.value)) : (clearInterval(se), D.value = !1, X());
|
|
4994
5002
|
}, 12);
|
|
4995
5003
|
});
|
|
4996
5004
|
}
|
|
4997
|
-
function ot(
|
|
4998
|
-
P.value = !0, C("onError",
|
|
5005
|
+
function ot(w) {
|
|
5006
|
+
P.value = !0, C("onError", w);
|
|
4999
5007
|
}
|
|
5000
|
-
const at = (
|
|
5001
|
-
return (
|
|
5002
|
-
const
|
|
5008
|
+
const at = (w) => w * (180 / Math.PI);
|
|
5009
|
+
return (w, O) => {
|
|
5010
|
+
const X = I("v-progress-circular"), se = I("v-skeleton-loader");
|
|
5003
5011
|
return u(), L(we, null, [
|
|
5004
|
-
|
|
5012
|
+
y(se, {
|
|
5005
5013
|
type: "image",
|
|
5006
5014
|
class: "w-100 h-100 position-relative",
|
|
5007
|
-
loading: !q.value || !
|
|
5015
|
+
loading: !q.value || !M.value
|
|
5008
5016
|
}, {
|
|
5009
5017
|
default: m(() => [
|
|
5010
|
-
le.value ?
|
|
5011
|
-
|
|
5018
|
+
le.value ? F("", !0) : (u(), L("div", zs, [
|
|
5019
|
+
y(X, {
|
|
5012
5020
|
"model-value": G.value,
|
|
5013
5021
|
size: 128,
|
|
5014
5022
|
width: 12
|
|
5015
5023
|
}, null, 8, ["model-value"])
|
|
5016
5024
|
])),
|
|
5017
|
-
|
|
5025
|
+
y(Fe, { class: "w-100 h-100" }, {
|
|
5018
5026
|
default: m(() => [
|
|
5019
5027
|
e("div", {
|
|
5020
5028
|
ref_key: "container",
|
|
@@ -5023,7 +5031,7 @@ const zs = {
|
|
|
5023
5031
|
style: { "min-height": "160px" },
|
|
5024
5032
|
onMousemove: ft
|
|
5025
5033
|
}, [
|
|
5026
|
-
|
|
5034
|
+
w.showUi ? (u(), L("div", {
|
|
5027
5035
|
key: 0,
|
|
5028
5036
|
class: "persistent actions-bar top-right pa-2",
|
|
5029
5037
|
style: ne({
|
|
@@ -5040,17 +5048,17 @@ const zs = {
|
|
|
5040
5048
|
height: z.value ? 32 : 40
|
|
5041
5049
|
}),
|
|
5042
5050
|
longitude: at(c.value.cameraRotation.y) + 270
|
|
5043
|
-
}, null, 8, ["style", "longitude"])) :
|
|
5044
|
-
|
|
5051
|
+
}, null, 8, ["style", "longitude"])) : F("", !0),
|
|
5052
|
+
y(Ms, {
|
|
5045
5053
|
"is-mobile-sized": z.value,
|
|
5046
5054
|
"can-zoom-out": Q.value.min < Q.value.current,
|
|
5047
5055
|
"can-zoom-in": Q.value.max > Q.value.current,
|
|
5048
|
-
disabled:
|
|
5049
|
-
onOnZoomIn:
|
|
5050
|
-
onOnZoomOut:
|
|
5056
|
+
disabled: D.value,
|
|
5057
|
+
onOnZoomIn: O[0] || (O[0] = (oe) => He(!0)),
|
|
5058
|
+
onOnZoomOut: O[1] || (O[1] = (oe) => He(!1))
|
|
5051
5059
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5052
|
-
], 4)) :
|
|
5053
|
-
|
|
5060
|
+
], 4)) : F("", !0),
|
|
5061
|
+
w.showUi && Z.value.length > 1 ? (u(), L("div", {
|
|
5054
5062
|
key: 1,
|
|
5055
5063
|
class: ce([{
|
|
5056
5064
|
"actions-bar bottom-center pb-2": !0,
|
|
@@ -5058,16 +5066,16 @@ const zs = {
|
|
|
5058
5066
|
}, "still-cameras-wrapper"]),
|
|
5059
5067
|
style: { "z-index": "7" }
|
|
5060
5068
|
}, [
|
|
5061
|
-
|
|
5069
|
+
y(Cs, {
|
|
5062
5070
|
"is-mobile-sized": z.value,
|
|
5063
5071
|
"still-cameras": Z.value,
|
|
5064
5072
|
"current-camera": c.value,
|
|
5065
|
-
disabled:
|
|
5073
|
+
disabled: D.value,
|
|
5066
5074
|
"cdn-file-resolver": p(a),
|
|
5067
5075
|
onOnCameraChange: xe
|
|
5068
5076
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
5069
|
-
], 2)) :
|
|
5070
|
-
|
|
5077
|
+
], 2)) : F("", !0),
|
|
5078
|
+
y($n, {
|
|
5071
5079
|
ref_key: "zoomBox",
|
|
5072
5080
|
ref: B,
|
|
5073
5081
|
position: "relative",
|
|
@@ -5084,9 +5092,9 @@ const zs = {
|
|
|
5084
5092
|
"cdn-file-resolver": p(a),
|
|
5085
5093
|
"current-camera": c.value,
|
|
5086
5094
|
"current-day": d.value,
|
|
5087
|
-
"current-time":
|
|
5095
|
+
"current-time": k.value
|
|
5088
5096
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5089
|
-
(u(!0), L(we, null, Ee(
|
|
5097
|
+
(u(!0), L(we, null, Ee(ge.value, (oe, Ce) => (u(), T(ps, {
|
|
5090
5098
|
key: `transition${Ce}`,
|
|
5091
5099
|
"transition-data": oe,
|
|
5092
5100
|
"cdn-file-resolver": p(a),
|
|
@@ -5097,28 +5105,28 @@ const zs = {
|
|
|
5097
5105
|
class: "w-100 h-100 position-absolute top-left",
|
|
5098
5106
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5099
5107
|
innerHTML: p(h)
|
|
5100
|
-
}, null, 8, js)) :
|
|
5108
|
+
}, null, 8, js)) : F("", !0),
|
|
5101
5109
|
c.value.overlayFilename && !P.value ? Ke((u(), T(Ds, {
|
|
5102
5110
|
key: 1,
|
|
5103
5111
|
"cdn-file-resolver": p(a),
|
|
5104
5112
|
"color-callback": p(s),
|
|
5105
5113
|
"current-camera": c.value,
|
|
5106
|
-
"selected-id": p(
|
|
5114
|
+
"selected-id": p(g),
|
|
5107
5115
|
activeStructureIds: re.value,
|
|
5108
|
-
onOnClick:
|
|
5116
|
+
onOnClick: ye,
|
|
5109
5117
|
onOnHoverOver: ue,
|
|
5110
5118
|
onOnHoverOut: Me,
|
|
5111
|
-
onUpdateSvgContainer:
|
|
5119
|
+
onUpdateSvgContainer: O[2] || (O[2] = (oe) => Ae.value = oe),
|
|
5112
5120
|
onOnError: ot
|
|
5113
5121
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5114
5122
|
[ut, x.value === null]
|
|
5115
|
-
]) :
|
|
5116
|
-
K(
|
|
5123
|
+
]) : F("", !0),
|
|
5124
|
+
K(w.$slots, "default", {}, void 0, !0)
|
|
5117
5125
|
], 4)
|
|
5118
5126
|
]),
|
|
5119
5127
|
_: 3
|
|
5120
5128
|
}, 512),
|
|
5121
|
-
|
|
5129
|
+
w.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(), L("div", {
|
|
5122
5130
|
key: 2,
|
|
5123
5131
|
class: ce({
|
|
5124
5132
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
@@ -5126,35 +5134,35 @@ const zs = {
|
|
|
5126
5134
|
}),
|
|
5127
5135
|
style: { "z-index": "7" }
|
|
5128
5136
|
}, [
|
|
5129
|
-
|
|
5137
|
+
y(gs, {
|
|
5130
5138
|
class: "pr-2",
|
|
5131
5139
|
"is-mobile-sized": z.value,
|
|
5132
5140
|
"current-camera": c.value,
|
|
5133
5141
|
"current-day": d.value,
|
|
5134
|
-
disabled:
|
|
5142
|
+
disabled: D.value,
|
|
5135
5143
|
onOnDayChange: fe
|
|
5136
5144
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5137
|
-
|
|
5145
|
+
y(Ls, {
|
|
5138
5146
|
"is-mobile-sized": z.value,
|
|
5139
5147
|
"current-day": d.value,
|
|
5140
|
-
"current-time":
|
|
5141
|
-
disabled:
|
|
5148
|
+
"current-time": k.value,
|
|
5149
|
+
disabled: D.value,
|
|
5142
5150
|
onOnTimeChange: Be
|
|
5143
5151
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5144
|
-
], 2)) :
|
|
5145
|
-
|
|
5152
|
+
], 2)) : F("", !0),
|
|
5153
|
+
w.$slots.popup && te.value && R.value ? (u(), T(Vn, {
|
|
5146
5154
|
key: 3,
|
|
5147
5155
|
"is-hoverable": be.value,
|
|
5148
|
-
pos:
|
|
5156
|
+
pos: te.value
|
|
5149
5157
|
}, {
|
|
5150
5158
|
default: m(() => [
|
|
5151
5159
|
e("div", Ws, [
|
|
5152
|
-
K(
|
|
5160
|
+
K(w.$slots, "popup", xn(Ln({ hoverId: R.value, hoverable: be.value })), void 0, !0)
|
|
5153
5161
|
])
|
|
5154
5162
|
]),
|
|
5155
5163
|
_: 3
|
|
5156
|
-
}, 8, ["is-hoverable", "pos"])) :
|
|
5157
|
-
|
|
5164
|
+
}, 8, ["is-hoverable", "pos"])) : F("", !0),
|
|
5165
|
+
w.version && w.showVersion ? (u(), L("div", Ps, " version: " + Y(w.version), 1)) : F("", !0)
|
|
5158
5166
|
], 34)
|
|
5159
5167
|
]),
|
|
5160
5168
|
_: 3
|
|
@@ -5162,14 +5170,14 @@ const zs = {
|
|
|
5162
5170
|
]),
|
|
5163
5171
|
_: 3
|
|
5164
5172
|
}, 8, ["loading"]),
|
|
5165
|
-
|
|
5173
|
+
y(Bn, {
|
|
5166
5174
|
ref_key: "hoverProbe",
|
|
5167
5175
|
ref: J
|
|
5168
5176
|
}, null, 512)
|
|
5169
5177
|
], 64);
|
|
5170
5178
|
};
|
|
5171
5179
|
}
|
|
5172
|
-
}), Rt = /* @__PURE__ */
|
|
5180
|
+
}), Rt = /* @__PURE__ */ ee(Qs, [["__scopeId", "data-v-12ce101d"]]), Ks = {
|
|
5173
5181
|
install: function(n) {
|
|
5174
5182
|
n.component("VStructureChooser", Rt), n.component("VVirtualTour", Rl), n.component("VManualSlideShow", os), n.component("VStructureChooser", Rt);
|
|
5175
5183
|
}
|