@qispace/vue3-player 0.1.25 → 0.1.27
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 At = Object.defineProperty;
|
|
2
2
|
var Lt = (v, t, e) => t in v ? At(v, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[t] = e;
|
|
3
3
|
var te = (v, t, e) => (Lt(v, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { defineComponent as j, ref as u, computed as T, openBlock as m, createElementBlock as S, watch as H, onMounted as ue, onBeforeUnmount as Pe, withDirectives as de, createElementVNode as r, normalizeStyle as le, vShow as pe, createVNode as
|
|
4
|
+
import { defineComponent as j, ref as u, computed as T, openBlock as m, createElementBlock as S, watch as H, onMounted as ue, onBeforeUnmount as Pe, withDirectives as de, createElementVNode as r, normalizeStyle as le, vShow as pe, createVNode as b, Fragment as re, renderList as ve, createCommentVNode as Y, inject as Be, resolveComponent as B, withCtx as A, toDisplayString as N, unref as ne, createTextVNode as X, normalizeClass as xe, createBlock as $, renderSlot as oe, provide as Ke, reactive as lt, watchEffect as ke, resolveDynamicComponent as ft, normalizeProps as et, guardReactiveProps as tt, mergeProps as ye, nextTick as De, Transition as Se, createSlots as xt, pushScopeId as st, popScopeId as it, vModelText as Ft, createStaticVNode as ht, onBeforeUpdate as Dt } from "vue";
|
|
5
5
|
import at from "axios";
|
|
6
6
|
import * as St from "@qispace/player-core";
|
|
7
7
|
import * as Ve from "three";
|
|
@@ -76,20 +76,20 @@ const Et = /* @__PURE__ */ j({
|
|
|
76
76
|
},
|
|
77
77
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
78
78
|
setup(v, { emit: t }) {
|
|
79
|
-
const e = v, a = t, n = u({ x: 0, y: 0, width: 0, height: 0 }), o = u(0), i = u(0), s = u(), p = u(), l = u(), d = u(), c = u(-1),
|
|
79
|
+
const e = v, a = t, n = u({ x: 0, y: 0, width: 0, height: 0 }), o = u(0), i = u(0), s = u(), p = u(), l = u(), d = u(), c = u(-1), w = u(!1), h = u(), f = u(), y = u({}), F = u("auto"), k = u(new ge()), g = u({}), U = u(), _ = u(), V = u(), C = u(), L = u(), G = T(() => V.value.isHoverEnabled), D = T(() => se(
|
|
80
80
|
e.cdnFileResolver,
|
|
81
81
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
82
|
-
)), Z = T(() => D.value in
|
|
82
|
+
)), Z = T(() => D.value in y.value ? y.value[D.value] : null), x = T(() => c.value < 0 ? !1 : e.sceneData.find((Q) => Q.index === c.value) || !1), E = T(() => ({
|
|
83
83
|
width: o.value + "px",
|
|
84
84
|
height: i.value + "px",
|
|
85
85
|
cursor: F.value
|
|
86
|
-
})), M = T(() => `hover-${
|
|
86
|
+
})), M = T(() => `hover-${w.value ? "over" : "out"}-${x.value ? typeof x.value == "object" && "unitId" in x.value ? x.value.unitId : x.value : ""}`);
|
|
87
87
|
H(
|
|
88
88
|
D,
|
|
89
89
|
() => {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
...
|
|
90
|
+
y.value[D.value] || k.value.loadImageData(D.value).then((W) => {
|
|
91
|
+
y.value = {
|
|
92
|
+
...y.value,
|
|
93
93
|
[D.value]: W
|
|
94
94
|
};
|
|
95
95
|
});
|
|
@@ -115,7 +115,7 @@ const Et = /* @__PURE__ */ j({
|
|
|
115
115
|
), H(x, () => {
|
|
116
116
|
Fe(), x.value ? F.value = "pointer" : F.value = "auto";
|
|
117
117
|
}), H(M, () => {
|
|
118
|
-
|
|
118
|
+
w.value ? a("hoverOver", {
|
|
119
119
|
hoverUnit: x.value ? x.value.unitId : !1,
|
|
120
120
|
closeHandler: () => Xe()
|
|
121
121
|
}) : a("hoverOut", {
|
|
@@ -125,15 +125,15 @@ const Et = /* @__PURE__ */ j({
|
|
|
125
125
|
}), H(n, () => {
|
|
126
126
|
a("pos", n.value);
|
|
127
127
|
}), ue(() => {
|
|
128
|
-
|
|
129
|
-
clearTimeout(U.value),
|
|
130
|
-
|
|
128
|
+
_.value = () => {
|
|
129
|
+
clearTimeout(U.value), be(), U.value = setTimeout(() => {
|
|
130
|
+
be();
|
|
131
131
|
}, 50);
|
|
132
|
-
}, window.addEventListener("resize",
|
|
132
|
+
}, window.addEventListener("resize", _.value), be();
|
|
133
133
|
}), Pe(() => {
|
|
134
|
-
window.removeEventListener("resize",
|
|
135
|
-
for (const W in
|
|
136
|
-
URL.revokeObjectURL(
|
|
134
|
+
window.removeEventListener("resize", _.value);
|
|
135
|
+
for (const W in y.value)
|
|
136
|
+
URL.revokeObjectURL(y.value[W]);
|
|
137
137
|
});
|
|
138
138
|
function O() {
|
|
139
139
|
s.value = C.value.getContext("2d", { willReadFrequently: !0 }), p.value = new Image(), p.value.onload = () => {
|
|
@@ -142,7 +142,7 @@ const Et = /* @__PURE__ */ j({
|
|
|
142
142
|
}
|
|
143
143
|
function K(W) {
|
|
144
144
|
const Q = ee(W.offsetX, W.offsetY);
|
|
145
|
-
|
|
145
|
+
w.value = Q >= 0, c.value = Q, n.value = {
|
|
146
146
|
x: W.offsetX,
|
|
147
147
|
y: W.offsetY,
|
|
148
148
|
width: o.value,
|
|
@@ -226,14 +226,14 @@ const Et = /* @__PURE__ */ j({
|
|
|
226
226
|
function _e(W) {
|
|
227
227
|
a("selectUnit", W), W && e.canGoToUnitCallback(W) && a("goToUnit", W);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function we(W = 0) {
|
|
230
230
|
if (!l.value)
|
|
231
231
|
return;
|
|
232
232
|
const Q = l.value.data;
|
|
233
233
|
for (let ae = 3; ae < Q.length; ae += 4)
|
|
234
234
|
Q[ae] = W;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function be() {
|
|
237
237
|
if (!L.value)
|
|
238
238
|
return !1;
|
|
239
239
|
o.value = L.value.offsetWidth, i.value = L.value.offsetHeight;
|
|
@@ -242,10 +242,10 @@ const Et = /* @__PURE__ */ j({
|
|
|
242
242
|
P(), Fe();
|
|
243
243
|
}
|
|
244
244
|
function Fe() {
|
|
245
|
-
|
|
245
|
+
we(), me(), s.value && l.value && s.value.putImageData(l.value, 0, 0);
|
|
246
246
|
}
|
|
247
247
|
function Xe() {
|
|
248
|
-
|
|
248
|
+
w.value = !1;
|
|
249
249
|
}
|
|
250
250
|
const Ue = u(!1);
|
|
251
251
|
function Je(W, Q) {
|
|
@@ -267,7 +267,7 @@ const Et = /* @__PURE__ */ j({
|
|
|
267
267
|
}, null, 4), [
|
|
268
268
|
[pe, !W.viewModel.isRotating]
|
|
269
269
|
]),
|
|
270
|
-
|
|
270
|
+
b(Re, {
|
|
271
271
|
ref_key: "hoverProbe",
|
|
272
272
|
ref: V
|
|
273
273
|
}, null, 512)
|
|
@@ -301,9 +301,9 @@ const Et = /* @__PURE__ */ j({
|
|
|
301
301
|
{ immediate: !0 }
|
|
302
302
|
), H(n, () => {
|
|
303
303
|
a("pos", n.value);
|
|
304
|
-
}), H(o, (
|
|
305
|
-
if (
|
|
306
|
-
const C = h(
|
|
304
|
+
}), H(o, (_, V) => {
|
|
305
|
+
if (_ >= 0) {
|
|
306
|
+
const C = h(_);
|
|
307
307
|
a("hoverOver", {
|
|
308
308
|
hoverUnit: C,
|
|
309
309
|
closeHandler: () => {
|
|
@@ -320,8 +320,8 @@ const Et = /* @__PURE__ */ j({
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
}), ue(() => {
|
|
323
|
-
for (let
|
|
324
|
-
const V = se(e.cdnFileResolver, `/scenedata${
|
|
323
|
+
for (let _ = 1; _ <= 4; _++) {
|
|
324
|
+
const V = se(e.cdnFileResolver, `/scenedata${_}.svg`), C = {
|
|
325
325
|
markup: "",
|
|
326
326
|
viewBox: "",
|
|
327
327
|
svgObjects: []
|
|
@@ -334,39 +334,39 @@ const Et = /* @__PURE__ */ j({
|
|
|
334
334
|
).map((Z) => ({
|
|
335
335
|
index: parseInt(Z.getAttribute("data-index")),
|
|
336
336
|
svg: Z.innerHTML
|
|
337
|
-
})), i.value = { ...i.value, [
|
|
337
|
+
})), i.value = { ...i.value, [_]: C };
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
l.value.addEventListener("mousemove", U(
|
|
340
|
+
l.value.addEventListener("mousemove", U(w, 50));
|
|
341
341
|
});
|
|
342
|
-
function
|
|
342
|
+
function w(_) {
|
|
343
343
|
n.value = {
|
|
344
|
-
x:
|
|
345
|
-
y:
|
|
344
|
+
x: _.offsetX,
|
|
345
|
+
y: _.offsetY,
|
|
346
346
|
width: l.value.offsetWidth,
|
|
347
347
|
height: l.value.offsetHeight
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
function h(
|
|
350
|
+
function h(_) {
|
|
351
351
|
var V;
|
|
352
352
|
return (V = e.sceneData.find(
|
|
353
|
-
(C) => C.index === (typeof
|
|
353
|
+
(C) => C.index === (typeof _ == "string" ? parseInt(_) : _)
|
|
354
354
|
)) == null ? void 0 : V.unitId;
|
|
355
355
|
}
|
|
356
|
-
function f(
|
|
357
|
-
c.value && (o.value =
|
|
356
|
+
function f(_) {
|
|
357
|
+
c.value && (o.value = _);
|
|
358
358
|
}
|
|
359
|
-
function _
|
|
359
|
+
function y(_) {
|
|
360
360
|
c.value && (o.value = -1);
|
|
361
361
|
}
|
|
362
|
-
function F(
|
|
363
|
-
const V = h(
|
|
364
|
-
a("selectUnit", V), c.value && V && e.canGoToUnitCallback(V) ? a("goToUnit", V) : o.value =
|
|
362
|
+
function F(_) {
|
|
363
|
+
const V = h(_);
|
|
364
|
+
a("selectUnit", V), c.value && V && e.canGoToUnitCallback(V) ? a("goToUnit", V) : o.value = _;
|
|
365
365
|
}
|
|
366
|
-
function k(
|
|
367
|
-
const V = h(
|
|
366
|
+
function k(_) {
|
|
367
|
+
const V = h(_);
|
|
368
368
|
let C = "idle";
|
|
369
|
-
o.value < 0 && e.selectedUnitId && V === e.selectedUnitId ? C = "selected" : o.value >= 0 && o.value ===
|
|
369
|
+
o.value < 0 && e.selectedUnitId && V === e.selectedUnitId ? C = "selected" : o.value >= 0 && o.value === _ && (C = "hover");
|
|
370
370
|
const L = e.colorCallback(V, C);
|
|
371
371
|
if (L) {
|
|
372
372
|
const { r: G, g: D, b: Z, a: x, s: E } = L;
|
|
@@ -389,12 +389,12 @@ const Et = /* @__PURE__ */ j({
|
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
391
|
const g = u(!1);
|
|
392
|
-
function U(
|
|
392
|
+
function U(_, V) {
|
|
393
393
|
return g.value = !0, function(...C) {
|
|
394
|
-
g.value && (g.value = !1,
|
|
394
|
+
g.value && (g.value = !1, _.apply(this, C), setTimeout(() => g.value = !0, V));
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
|
-
return (
|
|
397
|
+
return (_, V) => (m(), S("div", {
|
|
398
398
|
id: "container",
|
|
399
399
|
ref_key: "container",
|
|
400
400
|
ref: l
|
|
@@ -414,14 +414,14 @@ const Et = /* @__PURE__ */ j({
|
|
|
414
414
|
innerHTML: L,
|
|
415
415
|
style: le(k(C)),
|
|
416
416
|
onMouseenter: (G) => f(C),
|
|
417
|
-
onMouseleave: (G) =>
|
|
417
|
+
onMouseleave: (G) => y(),
|
|
418
418
|
onClick: (G) => F(C)
|
|
419
419
|
}, null, 44, Bt))), 128))
|
|
420
420
|
], 8, Vt)) : Y("", !0)
|
|
421
421
|
], 4), [
|
|
422
|
-
[pe, !
|
|
422
|
+
[pe, !_.viewModel.isRotating]
|
|
423
423
|
]),
|
|
424
|
-
|
|
424
|
+
b(Re, {
|
|
425
425
|
ref_key: "hoverProbe",
|
|
426
426
|
ref: d
|
|
427
427
|
}, null, 512)
|
|
@@ -454,27 +454,27 @@ const Et = /* @__PURE__ */ j({
|
|
|
454
454
|
return (l, d) => {
|
|
455
455
|
const c = B("v-btn");
|
|
456
456
|
return m(), S("div", null, [
|
|
457
|
-
|
|
457
|
+
b(c, {
|
|
458
458
|
elevation: "1",
|
|
459
459
|
icon: "mdi-rotate-right",
|
|
460
460
|
class: "black darken-1",
|
|
461
|
-
onClick: d[0] || (d[0] = (
|
|
461
|
+
onClick: d[0] || (d[0] = (w) => l.viewModel.rotateClockwise())
|
|
462
462
|
}),
|
|
463
|
-
|
|
463
|
+
b(c, {
|
|
464
464
|
elevation: "1",
|
|
465
465
|
plain: "",
|
|
466
466
|
icon: "mdi-chevron-left",
|
|
467
467
|
class: "mr-sm-4 ml-sm-8 mr-3 ml-3 black darken-1",
|
|
468
468
|
disabled: !o.value,
|
|
469
|
-
onClick: d[1] || (d[1] = (
|
|
469
|
+
onClick: d[1] || (d[1] = (w) => i("prevUnit"))
|
|
470
470
|
}, null, 8, ["disabled"]),
|
|
471
|
-
|
|
471
|
+
b(c, {
|
|
472
472
|
color: "darken-2",
|
|
473
473
|
elevation: "1",
|
|
474
474
|
rounded: "",
|
|
475
475
|
plain: "",
|
|
476
476
|
disabled: !a.value || !l.canGoToUnitCallback(a.value),
|
|
477
|
-
onClick: d[2] || (d[2] = (
|
|
477
|
+
onClick: d[2] || (d[2] = (w) => i("goToUnit", a.value))
|
|
478
478
|
}, {
|
|
479
479
|
default: A(() => [
|
|
480
480
|
a.value && l.canGoToUnitCallback(a.value) ? (m(), S("span", Ut, N(ne(s).getLabel("seeApartment")) + " ", 1)) : Y("", !0),
|
|
@@ -482,20 +482,20 @@ const Et = /* @__PURE__ */ j({
|
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["disabled"]),
|
|
485
|
-
|
|
485
|
+
b(c, {
|
|
486
486
|
elevation: "1",
|
|
487
487
|
plain: "",
|
|
488
488
|
icon: "mdi-chevron-right",
|
|
489
489
|
class: "mr-sm-8 ml-sm-4 mr-3 ml-3 black darken-1",
|
|
490
490
|
disabled: !n.value,
|
|
491
|
-
onClick: d[3] || (d[3] = (
|
|
491
|
+
onClick: d[3] || (d[3] = (w) => i("nextUnit"))
|
|
492
492
|
}, null, 8, ["disabled"]),
|
|
493
|
-
|
|
493
|
+
b(c, {
|
|
494
494
|
elevation: "1",
|
|
495
495
|
plain: "",
|
|
496
496
|
icon: "mdi-rotate-left",
|
|
497
497
|
class: "black darken-1",
|
|
498
|
-
onClick: d[4] || (d[4] = (
|
|
498
|
+
onClick: d[4] || (d[4] = (w) => l.viewModel.rotateCounterClockwise())
|
|
499
499
|
})
|
|
500
500
|
]);
|
|
501
501
|
};
|
|
@@ -616,11 +616,11 @@ const Pt = {
|
|
|
616
616
|
H(
|
|
617
617
|
() => e.viewModel.currentScene,
|
|
618
618
|
(k, g) => {
|
|
619
|
-
const U = F(g, k),
|
|
620
|
-
d(g, U,
|
|
619
|
+
const U = F(g, k), _ = y(g, k);
|
|
620
|
+
d(g, U, _);
|
|
621
621
|
}
|
|
622
622
|
), ue(() => {
|
|
623
|
-
|
|
623
|
+
w();
|
|
624
624
|
});
|
|
625
625
|
function d(k, g, U) {
|
|
626
626
|
e.viewModel.isRotating || (e.viewModel.isRotating = !0, c(
|
|
@@ -635,10 +635,10 @@ const Pt = {
|
|
|
635
635
|
setTimeout(() => {
|
|
636
636
|
s.value[k.frameIndex].show = !1;
|
|
637
637
|
const g = k.nextFrame();
|
|
638
|
-
s.value[g.frameIndex].show = !0, g.atEnd ?
|
|
638
|
+
s.value[g.frameIndex].show = !0, g.atEnd ? w() : window.requestAnimationFrame(() => c(g));
|
|
639
639
|
}, 1e3 / Jt);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function w() {
|
|
642
642
|
const k = i.value.startFrameIndexForScene(
|
|
643
643
|
e.viewModel.currentScene % ze
|
|
644
644
|
);
|
|
@@ -647,18 +647,18 @@ const Pt = {
|
|
|
647
647
|
function h() {
|
|
648
648
|
const k = [];
|
|
649
649
|
for (let g = 0; g < dt; g++) {
|
|
650
|
-
const { sourceSet: U, defaultPath:
|
|
650
|
+
const { sourceSet: U, defaultPath: _ } = f(g);
|
|
651
651
|
k.push({
|
|
652
652
|
index: g,
|
|
653
653
|
sourceSet: U,
|
|
654
|
-
defaultPath:
|
|
654
|
+
defaultPath: _,
|
|
655
655
|
show: !1
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
658
|
return k;
|
|
659
659
|
}
|
|
660
660
|
function f(k) {
|
|
661
|
-
const g = ("0000" + (k + 1)).slice(-4), U = e.build ? `?v=${e.build}` : "",
|
|
661
|
+
const g = ("0000" + (k + 1)).slice(-4), U = e.build ? `?v=${e.build}` : "", _ = [
|
|
662
662
|
`${se(
|
|
663
663
|
e.cdnFileResolver,
|
|
664
664
|
`/480/${g}.jpg${U}`
|
|
@@ -675,40 +675,40 @@ const Pt = {
|
|
|
675
675
|
e.cdnFileResolver,
|
|
676
676
|
`/480/${g}.jpg${U}`
|
|
677
677
|
);
|
|
678
|
-
return { sourceSet:
|
|
678
|
+
return { sourceSet: _, defaultPath: V };
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
const U = ze / 2,
|
|
682
|
-
return
|
|
680
|
+
function y(k, g) {
|
|
681
|
+
const U = ze / 2, _ = Math.abs(k - g);
|
|
682
|
+
return _ > U ? ze - _ : _;
|
|
683
683
|
}
|
|
684
684
|
function F(k, g) {
|
|
685
685
|
if (k === g)
|
|
686
686
|
return 0;
|
|
687
|
-
const
|
|
688
|
-
return
|
|
687
|
+
const _ = Math.abs(k - g) < ze / 2;
|
|
688
|
+
return _ && k < g || !_ && k > g ? 1 : -1;
|
|
689
689
|
}
|
|
690
690
|
return (k, g) => {
|
|
691
691
|
const U = B("v-icon");
|
|
692
692
|
return m(), S("div", null, [
|
|
693
693
|
o.value.isError ? (m(), S("div", Pt, [
|
|
694
|
-
|
|
694
|
+
b(U, { "x-large": "" }, {
|
|
695
695
|
default: A(() => [
|
|
696
696
|
X("mdi-alert-circle-outline")
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
})
|
|
700
700
|
])) : p.value ? (m(), S("div", Qt, [
|
|
701
|
-
(m(!0), S(re, null, ve(s.value, (
|
|
702
|
-
key:
|
|
703
|
-
alt:
|
|
704
|
-
class: xe({ "frame-image": !0, show:
|
|
701
|
+
(m(!0), S(re, null, ve(s.value, (_) => (m(), S("picture", {
|
|
702
|
+
key: _.index,
|
|
703
|
+
alt: _.index,
|
|
704
|
+
class: xe({ "frame-image": !0, show: _.show })
|
|
705
705
|
}, [
|
|
706
706
|
r("source", {
|
|
707
|
-
srcset:
|
|
707
|
+
srcset: _.sourceSet,
|
|
708
708
|
type: "image/jpeg"
|
|
709
709
|
}, null, 8, Zt),
|
|
710
710
|
r("img", {
|
|
711
|
-
src:
|
|
711
|
+
src: _.defaultPath,
|
|
712
712
|
alt: "Building image",
|
|
713
713
|
onLoad: g[2] || (g[2] = (V) => o.value.partLoaded()),
|
|
714
714
|
onError: g[3] || (g[3] = (V) => o.value.errorDetected())
|
|
@@ -722,8 +722,8 @@ const Pt = {
|
|
|
722
722
|
}, null, 8, zt),
|
|
723
723
|
r("img", {
|
|
724
724
|
src: l.value.defaultPath,
|
|
725
|
-
onLoad: g[0] || (g[0] = (
|
|
726
|
-
onError: g[1] || (g[1] = (
|
|
725
|
+
onLoad: g[0] || (g[0] = (_) => p.value = !0),
|
|
726
|
+
onError: g[1] || (g[1] = (_) => o.value.errorDetected())
|
|
727
727
|
}, null, 40, Gt)
|
|
728
728
|
])) : Y("", !0)
|
|
729
729
|
]))
|
|
@@ -787,13 +787,13 @@ const Pt = {
|
|
|
787
787
|
},
|
|
788
788
|
emits: ["update"],
|
|
789
789
|
setup(v, { emit: t }) {
|
|
790
|
-
const e = v, a = t, n = u(100), o = u(0), i = u(0), s = u(!1), p = u(!1), l = u(void 0), d = u(!1), c = u(),
|
|
790
|
+
const e = v, a = t, n = u(100), o = u(0), i = u(0), s = u(!1), p = u(!1), l = u(void 0), d = u(!1), c = u(), w = T(() => `translateX(${o.value}px) translateY(${i.value}px) scale(${h.value})`), h = T(() => n.value / 100), f = T(() => e.maxScale * 100);
|
|
791
791
|
H([h, o, i], () => {
|
|
792
792
|
K();
|
|
793
793
|
}), H(
|
|
794
794
|
() => e.desktop,
|
|
795
795
|
() => {
|
|
796
|
-
e.desktop ?
|
|
796
|
+
e.desktop ? y() : k();
|
|
797
797
|
}
|
|
798
798
|
), H(
|
|
799
799
|
() => e.mobile,
|
|
@@ -801,14 +801,14 @@ const Pt = {
|
|
|
801
801
|
e.mobile ? F() : g();
|
|
802
802
|
}
|
|
803
803
|
), ue(() => {
|
|
804
|
-
e.desktop &&
|
|
804
|
+
e.desktop && y(), e.mobile && F();
|
|
805
805
|
}), Pe(() => {
|
|
806
806
|
e.desktop && k(), e.mobile && g();
|
|
807
807
|
});
|
|
808
|
-
function
|
|
808
|
+
function y() {
|
|
809
809
|
c.value.addEventListener("wheel", U, {
|
|
810
810
|
capture: !0
|
|
811
|
-
}), c.value.addEventListener("mousedown",
|
|
811
|
+
}), c.value.addEventListener("mousedown", _, {
|
|
812
812
|
capture: !0
|
|
813
813
|
}), c.value.addEventListener("mousemove", V, {
|
|
814
814
|
capture: !0
|
|
@@ -832,7 +832,7 @@ const Pt = {
|
|
|
832
832
|
function k() {
|
|
833
833
|
c.value.removeEventListener("wheel", U, {
|
|
834
834
|
capture: !0
|
|
835
|
-
}), c.value.removeEventListener("mousedown",
|
|
835
|
+
}), c.value.removeEventListener("mousedown", _, {
|
|
836
836
|
capture: !0
|
|
837
837
|
}), c.value.removeEventListener("mousemove", V, {
|
|
838
838
|
capture: !0
|
|
@@ -857,7 +857,7 @@ const Pt = {
|
|
|
857
857
|
const { x: P, y: ee } = x(R);
|
|
858
858
|
O(-R.deltaY / 10, P, ee), R.preventDefault();
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function _(R) {
|
|
861
861
|
s.value = !0, d.value = !1, l.value = R;
|
|
862
862
|
}
|
|
863
863
|
function V(R) {
|
|
@@ -886,8 +886,8 @@ const Pt = {
|
|
|
886
886
|
};
|
|
887
887
|
E(ie.x), M(ie.y);
|
|
888
888
|
} else if (p.value && R.touches.length === 2) {
|
|
889
|
-
const { x: P, y: ee } = x(R.touches[0]), { x: me, y: ce } = x(l.value.touches[0]), { x: ie, y: Ie } = x(R.touches[1]), { x: Ae, y: _e } = x(l.value.touches[1]),
|
|
890
|
-
O(
|
|
889
|
+
const { x: P, y: ee } = x(R.touches[0]), { x: me, y: ce } = x(l.value.touches[0]), { x: ie, y: Ie } = x(R.touches[1]), { x: Ae, y: _e } = x(l.value.touches[1]), we = Math.hypot(me - Ae, ce - _e), be = Math.hypot(P - ie, ee - Ie), Ee = (ie + P) / 2, Fe = (Ie + ee) / 2;
|
|
890
|
+
O(be - we, Ee, Fe);
|
|
891
891
|
}
|
|
892
892
|
l.value = R;
|
|
893
893
|
}
|
|
@@ -918,8 +918,8 @@ const Pt = {
|
|
|
918
918
|
function O(R, P, ee) {
|
|
919
919
|
const me = c.value.clientWidth, ce = c.value.clientHeight, ie = me * h.value, Ie = ce * h.value;
|
|
920
920
|
n.value = Math.min(Math.max(100, n.value + R), f.value);
|
|
921
|
-
const Ae = me * h.value, _e = ce * h.value,
|
|
922
|
-
o.value -= P / me *
|
|
921
|
+
const Ae = me * h.value, _e = ce * h.value, we = Ae - ie, be = _e - Ie;
|
|
922
|
+
o.value -= P / me * we, i.value -= ee / ce * be, E(0), M(0);
|
|
923
923
|
}
|
|
924
924
|
function K() {
|
|
925
925
|
a("update", {
|
|
@@ -927,8 +927,8 @@ const Pt = {
|
|
|
927
927
|
x: o.value,
|
|
928
928
|
y: i.value,
|
|
929
929
|
resolve: (R, P) => {
|
|
930
|
-
const ee = c.value.clientWidth, me = c.value.clientHeight, ce = o.value / -h.value, ie = i.value / -h.value, Ie = ce + ee / h.value, Ae = ie + me / h.value, _e = R / ee * (Ie - ce) + ce,
|
|
931
|
-
return { x: _e, y:
|
|
930
|
+
const ee = c.value.clientWidth, me = c.value.clientHeight, ce = o.value / -h.value, ie = i.value / -h.value, Ie = ce + ee / h.value, Ae = ie + me / h.value, _e = R / ee * (Ie - ce) + ce, we = P / me * (Ae - ie) + ie;
|
|
931
|
+
return { x: _e, y: we };
|
|
932
932
|
}
|
|
933
933
|
});
|
|
934
934
|
}
|
|
@@ -939,7 +939,7 @@ const Pt = {
|
|
|
939
939
|
style: le({ position: e.position })
|
|
940
940
|
}, [
|
|
941
941
|
r("div", {
|
|
942
|
-
style: le({ "transform-origin": "top left", transform:
|
|
942
|
+
style: le({ "transform-origin": "top left", transform: w.value }),
|
|
943
943
|
class: "zoom-box"
|
|
944
944
|
}, [
|
|
945
945
|
oe(R.$slots, "default", {}, void 0, !0)
|
|
@@ -1091,7 +1091,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1091
1091
|
Ce,
|
|
1092
1092
|
a.i18nConfig ? new Me(a.i18nConfig) : new Me()
|
|
1093
1093
|
);
|
|
1094
|
-
const o = lt({ isReady: !1, isError: !1 }), i = u(), s = u(), p = u(), l = u(), d = u({ x: 0, y: 0, width: 0, height: 0 }), c = u(),
|
|
1094
|
+
const o = lt({ isReady: !1, isError: !1 }), i = u(), s = u(), p = u(), l = u(), d = u({ x: 0, y: 0, width: 0, height: 0 }), c = u(), w = u(), h = u(), f = T(() => h.value.isHoverEnabled), y = T(() => a.useSvg ? Ot : Tt), F = T(() => a.selectedUnitId), k = T(() => a.nextUnitId), g = T(() => a.prevUnitId);
|
|
1095
1095
|
ke(() => {
|
|
1096
1096
|
if (F.value && l.value) {
|
|
1097
1097
|
const C = i.value[F.value];
|
|
@@ -1133,23 +1133,23 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1133
1133
|
function U(C) {
|
|
1134
1134
|
d.value = C;
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1137
|
-
|
|
1136
|
+
function _(C) {
|
|
1137
|
+
w.value = C.hoverUnit, c.value = C.closeHandler, n("hoverOverUnit", C.hoverUnit);
|
|
1138
1138
|
}
|
|
1139
1139
|
function V(C) {
|
|
1140
|
-
|
|
1140
|
+
w.value = null, c.value = C.closeHandler, n("hoverOutUnit", C.hoverUnit);
|
|
1141
1141
|
}
|
|
1142
1142
|
return (C, L) => {
|
|
1143
1143
|
const G = B("v-progress-linear");
|
|
1144
1144
|
return l.value ? (m(), S("div", sn, [
|
|
1145
1145
|
r("div", rn, [
|
|
1146
1146
|
r("div", un, [
|
|
1147
|
-
|
|
1147
|
+
b(qe, {
|
|
1148
1148
|
desktop: o.isReady && C.interactiveDesktop,
|
|
1149
1149
|
mobile: o.isReady && C.interactiveMobile
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: A(() => [
|
|
1152
|
-
|
|
1152
|
+
b(en, {
|
|
1153
1153
|
"cdn-file-resolver": C.cdnFileResolver,
|
|
1154
1154
|
"view-model": l.value,
|
|
1155
1155
|
"cardinal-frames": p.value,
|
|
@@ -1159,7 +1159,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1159
1159
|
onError: L[2] || (L[2] = (D) => o.isError = !0)
|
|
1160
1160
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1161
1161
|
o.isReady ? (m(), S("div", cn, [
|
|
1162
|
-
(m(), $(ft(
|
|
1162
|
+
(m(), $(ft(y.value), {
|
|
1163
1163
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1164
1164
|
"view-model": l.value,
|
|
1165
1165
|
"selected-unit-id": F.value,
|
|
@@ -1169,7 +1169,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1169
1169
|
"draw-observer": a.drawObserver,
|
|
1170
1170
|
onSelectUnit: L[3] || (L[3] = (D) => n("selectUnit", D)),
|
|
1171
1171
|
onGoToUnit: L[4] || (L[4] = (D) => n("goToUnit", D)),
|
|
1172
|
-
onHoverOver:
|
|
1172
|
+
onHoverOver: _,
|
|
1173
1173
|
onHoverOut: V,
|
|
1174
1174
|
onPos: U
|
|
1175
1175
|
}, {
|
|
@@ -1182,7 +1182,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1182
1182
|
]),
|
|
1183
1183
|
_: 3
|
|
1184
1184
|
}, 8, ["desktop", "mobile"]),
|
|
1185
|
-
|
|
1185
|
+
w.value && C.showCards ? (m(), $(Qe, {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
"is-hoverable": f.value,
|
|
1188
1188
|
pos: d.value,
|
|
@@ -1190,9 +1190,9 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1190
1190
|
}, {
|
|
1191
1191
|
default: A(() => [
|
|
1192
1192
|
oe(C.$slots, "default", {
|
|
1193
|
-
unit:
|
|
1194
|
-
canGoToUnit: C.canGoToUnitCallback(
|
|
1195
|
-
goToUnit: () => C.canGoToUnitCallback(
|
|
1193
|
+
unit: w.value,
|
|
1194
|
+
canGoToUnit: C.canGoToUnitCallback(w.value),
|
|
1195
|
+
goToUnit: () => C.canGoToUnitCallback(w.value) && n("goToUnit", w.value),
|
|
1196
1196
|
pos: d.value,
|
|
1197
1197
|
isHoverable: f.value,
|
|
1198
1198
|
close: c.value
|
|
@@ -1201,7 +1201,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1201
1201
|
_: 3
|
|
1202
1202
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : Y("", !0),
|
|
1203
1203
|
o.isReady ? (m(), S("div", dn, [
|
|
1204
|
-
|
|
1204
|
+
b(Yt, {
|
|
1205
1205
|
"can-go-to-unit-callback": a.canGoToUnitCallback,
|
|
1206
1206
|
"unit-renderer": a.unitRenderer,
|
|
1207
1207
|
"selected-unit-id": F.value,
|
|
@@ -1213,7 +1213,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1213
1213
|
onNextUnit: L[7] || (L[7] = (D) => n("navUnit", k.value))
|
|
1214
1214
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1215
1215
|
])) : o.isError ? Y("", !0) : (m(), S("div", vn, [
|
|
1216
|
-
|
|
1216
|
+
b(G, {
|
|
1217
1217
|
indeterminate: !o.progress,
|
|
1218
1218
|
modelValue: o.progress,
|
|
1219
1219
|
"onUpdate:modelValue": L[8] || (L[8] = (D) => o.progress = D)
|
|
@@ -1221,14 +1221,14 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1221
1221
|
]))
|
|
1222
1222
|
])
|
|
1223
1223
|
]),
|
|
1224
|
-
|
|
1224
|
+
b(Re, {
|
|
1225
1225
|
ref_key: "hoverProbe",
|
|
1226
1226
|
ref: h
|
|
1227
1227
|
}, null, 512)
|
|
1228
1228
|
])) : Y("", !0);
|
|
1229
1229
|
};
|
|
1230
1230
|
}
|
|
1231
|
-
}), fn = /* @__PURE__ */ q(pn, [["__scopeId", "data-v-
|
|
1231
|
+
}), fn = /* @__PURE__ */ q(pn, [["__scopeId", "data-v-528c8f5b"]]), hn = ["src"], gn = /* @__PURE__ */ j({
|
|
1232
1232
|
__name: "VApartmentChooserV5CameraDayTimeSample",
|
|
1233
1233
|
props: {
|
|
1234
1234
|
timeSampleData: {},
|
|
@@ -1260,7 +1260,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1260
1260
|
"current-time": e.currentTime
|
|
1261
1261
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1262
1262
|
}
|
|
1263
|
-
}),
|
|
1263
|
+
}), wn = /* @__PURE__ */ j({
|
|
1264
1264
|
__name: "VApartmentChooserV5Camera",
|
|
1265
1265
|
props: {
|
|
1266
1266
|
cameraData: {},
|
|
@@ -1275,7 +1275,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1275
1275
|
"current-time": t.currentTime
|
|
1276
1276
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1277
1277
|
}
|
|
1278
|
-
}),
|
|
1278
|
+
}), bn = ["src"], kn = /* @__PURE__ */ j({
|
|
1279
1279
|
__name: "VApartmentChooserV5Transition",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
transitionData: {},
|
|
@@ -1289,7 +1289,7 @@ const sn = { key: 0 }, rn = { class: "interactive-viewer" }, un = { class: "fill
|
|
|
1289
1289
|
key: a.value,
|
|
1290
1290
|
src: a.value,
|
|
1291
1291
|
class: "position-absolute top-left w-100 h-100"
|
|
1292
|
-
}, null, 8,
|
|
1292
|
+
}, null, 8, bn)), [
|
|
1293
1293
|
[pe, n.transitionData === n.currentTransition]
|
|
1294
1294
|
]);
|
|
1295
1295
|
}
|
|
@@ -1387,7 +1387,7 @@ const In = /* @__PURE__ */ j({
|
|
|
1387
1387
|
"hide-details": ""
|
|
1388
1388
|
}, {
|
|
1389
1389
|
item: A(({ props: d }) => [
|
|
1390
|
-
|
|
1390
|
+
b(p, ye(d, {
|
|
1391
1391
|
title: o(d.title)
|
|
1392
1392
|
}), null, 16, ["title"])
|
|
1393
1393
|
]),
|
|
@@ -1439,11 +1439,11 @@ const In = /* @__PURE__ */ j({
|
|
|
1439
1439
|
}, 200));
|
|
1440
1440
|
}
|
|
1441
1441
|
return (p, l) => {
|
|
1442
|
-
const d = B("v-icon"), c = B("v-btn"),
|
|
1442
|
+
const d = B("v-icon"), c = B("v-btn"), w = B("v-slider"), h = B("v-field");
|
|
1443
1443
|
return m(), $(h, { variant: "solo" }, {
|
|
1444
1444
|
default: A(() => [
|
|
1445
1445
|
p.dayData.startTime === p.dayData.endTime ? (m(), S("div", Ln, [
|
|
1446
|
-
|
|
1446
|
+
b(d, {
|
|
1447
1447
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1448
1448
|
class: "py-2 ml-2 mr-2 icon"
|
|
1449
1449
|
}, {
|
|
@@ -1453,7 +1453,7 @@ const In = /* @__PURE__ */ j({
|
|
|
1453
1453
|
_: 1
|
|
1454
1454
|
}),
|
|
1455
1455
|
X(" " + N(i(n.value)), 1)
|
|
1456
|
-
])) : (m(), $(
|
|
1456
|
+
])) : (m(), $(w, {
|
|
1457
1457
|
key: 1,
|
|
1458
1458
|
class: "pa-1",
|
|
1459
1459
|
modelValue: n.value,
|
|
@@ -1465,7 +1465,7 @@ const In = /* @__PURE__ */ j({
|
|
|
1465
1465
|
"hide-details": ""
|
|
1466
1466
|
}, {
|
|
1467
1467
|
prepend: A(() => [
|
|
1468
|
-
|
|
1468
|
+
b(c, {
|
|
1469
1469
|
icon: o.value ? "mdi-stop" : "mdi-play",
|
|
1470
1470
|
size: "x-small",
|
|
1471
1471
|
variant: "flat",
|
|
@@ -1477,7 +1477,7 @@ const In = /* @__PURE__ */ j({
|
|
|
1477
1477
|
append: A(() => [
|
|
1478
1478
|
r("span", Fn, N(i(p.dayData.endTime)), 1),
|
|
1479
1479
|
X(" "),
|
|
1480
|
-
|
|
1480
|
+
b(d, {
|
|
1481
1481
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1482
1482
|
class: "ml-2 mr-2 icon"
|
|
1483
1483
|
}, {
|
|
@@ -1507,7 +1507,7 @@ const In = /* @__PURE__ */ j({
|
|
|
1507
1507
|
setup(v, { expose: t, emit: e }) {
|
|
1508
1508
|
const a = v, n = e;
|
|
1509
1509
|
t({
|
|
1510
|
-
rotateShortestRoute:
|
|
1510
|
+
rotateShortestRoute: w
|
|
1511
1511
|
});
|
|
1512
1512
|
const o = u(!1), i = u(a.currentScene), s = u(a.selectedId);
|
|
1513
1513
|
ke(() => {
|
|
@@ -1520,48 +1520,48 @@ const In = /* @__PURE__ */ j({
|
|
|
1520
1520
|
const p = T(() => o.value ? !1 : a.apartmentChooserData.loopable ? !0 : i.value !== a.apartmentChooserData.scenes[0]), l = T(() => o.value ? !1 : a.apartmentChooserData.loopable ? !0 : i.value !== a.apartmentChooserData.scenes[a.apartmentChooserData.scenes.length - 1]);
|
|
1521
1521
|
function d() {
|
|
1522
1522
|
const f = i.value;
|
|
1523
|
-
let
|
|
1524
|
-
|
|
1525
|
-
const F = a.apartmentChooserData.scenes[
|
|
1523
|
+
let y = a.apartmentChooserData.scenes.findIndex((k) => k === f) + 1;
|
|
1524
|
+
y >= a.apartmentChooserData.scenes.length && (y = 0);
|
|
1525
|
+
const F = a.apartmentChooserData.scenes[y];
|
|
1526
1526
|
a.apartmentChooserData.loopable && f > F ? h(f, F + a.apartmentChooserData.scenes.length) : h(f, F);
|
|
1527
1527
|
}
|
|
1528
1528
|
async function c() {
|
|
1529
1529
|
const f = i.value;
|
|
1530
|
-
let
|
|
1531
|
-
|
|
1532
|
-
const F = a.apartmentChooserData.scenes[
|
|
1530
|
+
let y = a.apartmentChooserData.scenes.findIndex((k) => k === f) - 1;
|
|
1531
|
+
y < 0 && (y = a.apartmentChooserData.scenes[a.apartmentChooserData.scenes.length - 1]);
|
|
1532
|
+
const F = a.apartmentChooserData.scenes[y];
|
|
1533
1533
|
a.apartmentChooserData.loopable && f < F ? h(f + a.apartmentChooserData.scenes.length, F) : h(f, F);
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1536
|
-
const
|
|
1535
|
+
function w(f) {
|
|
1536
|
+
const y = i.value;
|
|
1537
1537
|
if (a.apartmentChooserData.loopable)
|
|
1538
|
-
if (f <
|
|
1539
|
-
let F =
|
|
1540
|
-
return Math.abs(F) > Math.abs(k) ? h(
|
|
1538
|
+
if (f < y) {
|
|
1539
|
+
let F = y - f, k = y - (a.apartmentChooserData.cameras.length + f);
|
|
1540
|
+
return Math.abs(F) > Math.abs(k) ? h(y, f) : h(y, a.apartmentChooserData.cameras.length + f);
|
|
1541
1541
|
} else {
|
|
1542
|
-
let F =
|
|
1543
|
-
return Math.abs(F) > Math.abs(k) ? h(
|
|
1542
|
+
let F = y - f, k = a.apartmentChooserData.cameras.length + y - f;
|
|
1543
|
+
return Math.abs(F) > Math.abs(k) ? h(y, f) : h(a.apartmentChooserData.cameras.length + y, f);
|
|
1544
1544
|
}
|
|
1545
1545
|
else
|
|
1546
|
-
return h(
|
|
1546
|
+
return h(y, f);
|
|
1547
1547
|
}
|
|
1548
|
-
function h(f,
|
|
1548
|
+
function h(f, y) {
|
|
1549
1549
|
return new Promise((F) => {
|
|
1550
|
-
o.value = !0, n("onRotateStart", { from: f, to:
|
|
1550
|
+
o.value = !0, n("onRotateStart", { from: f, to: y });
|
|
1551
1551
|
let k, g = f;
|
|
1552
1552
|
k = setInterval(() => {
|
|
1553
|
-
g <
|
|
1553
|
+
g < y ? (g++, i.value = Math.abs(
|
|
1554
1554
|
g % a.apartmentChooserData.cameras.length
|
|
1555
|
-
)) : g >
|
|
1555
|
+
)) : g > y ? (g--, i.value = Math.abs(
|
|
1556
1556
|
g % a.apartmentChooserData.cameras.length
|
|
1557
|
-
)) : (clearInterval(k), n("onRotateFinish", { from: f, to:
|
|
1557
|
+
)) : (clearInterval(k), n("onRotateFinish", { from: f, to: y }), o.value = !1, F());
|
|
1558
1558
|
}, 50);
|
|
1559
1559
|
});
|
|
1560
1560
|
}
|
|
1561
|
-
return (f,
|
|
1561
|
+
return (f, y) => {
|
|
1562
1562
|
const F = B("v-btn"), k = B("v-chip");
|
|
1563
1563
|
return m(), S(re, null, [
|
|
1564
|
-
|
|
1564
|
+
b(F, {
|
|
1565
1565
|
class: "mx-2",
|
|
1566
1566
|
icon: "mdi-restore",
|
|
1567
1567
|
disabled: !p.value,
|
|
@@ -1572,14 +1572,14 @@ const In = /* @__PURE__ */ j({
|
|
|
1572
1572
|
variant: "flat",
|
|
1573
1573
|
color: "white",
|
|
1574
1574
|
size: "x-large",
|
|
1575
|
-
onClick:
|
|
1575
|
+
onClick: y[0] || (y[0] = (g) => n("onDisplayClick", s.value))
|
|
1576
1576
|
}, {
|
|
1577
1577
|
default: A(() => [
|
|
1578
1578
|
X(N(f.renderDisplay(s.value)), 1)
|
|
1579
1579
|
]),
|
|
1580
1580
|
_: 1
|
|
1581
1581
|
})) : Y("", !0),
|
|
1582
|
-
|
|
1582
|
+
b(F, {
|
|
1583
1583
|
class: "mx-2",
|
|
1584
1584
|
icon: "mdi-reload",
|
|
1585
1585
|
disabled: !l.value,
|
|
@@ -1606,14 +1606,14 @@ const In = /* @__PURE__ */ j({
|
|
|
1606
1606
|
}
|
|
1607
1607
|
), ke(() => {
|
|
1608
1608
|
for (const l in s) {
|
|
1609
|
-
const { element: d, state: c } = s[l], { r:
|
|
1609
|
+
const { element: d, state: c } = s[l], { r: w, g: h, b: f, a: y, s: F } = e.colorCallback(l, c) || {
|
|
1610
1610
|
r: 0,
|
|
1611
1611
|
g: 0,
|
|
1612
1612
|
b: 0,
|
|
1613
1613
|
a: 0,
|
|
1614
1614
|
s: 0
|
|
1615
1615
|
};
|
|
1616
|
-
d.style.fill = `rgba(${
|
|
1616
|
+
d.style.fill = `rgba(${w}, ${h}, ${f}, ${y / 255})`, d.style.stroke = `rgb(${w}, ${h}, ${f})`, d.style.strokeWidth = F.toString();
|
|
1617
1617
|
}
|
|
1618
1618
|
}), H(i, () => {
|
|
1619
1619
|
for (const l in s)
|
|
@@ -1650,16 +1650,16 @@ const In = /* @__PURE__ */ j({
|
|
|
1650
1650
|
c.style.strokeWidth = "0", c.style.stroke = "rgba(255,255,255,0)", c.style.fill = "rgba(255,255,255,0)", c.querySelectorAll("path").forEach((h) => {
|
|
1651
1651
|
h.style.stroke = "inherit", h.style.fill = "inherit";
|
|
1652
1652
|
});
|
|
1653
|
-
const
|
|
1654
|
-
s[
|
|
1653
|
+
const w = c.getAttribute("data-apartment-id");
|
|
1654
|
+
s[w] = {
|
|
1655
1655
|
element: c,
|
|
1656
|
-
state: i.value ===
|
|
1656
|
+
state: i.value === w ? "selected" : "idle"
|
|
1657
1657
|
}, c.addEventListener("mouseover", () => {
|
|
1658
|
-
s[
|
|
1658
|
+
s[w].state === "idle" && (s[w].state = "hover"), a("onHoverOver", w);
|
|
1659
1659
|
}), c.addEventListener("mouseout", () => {
|
|
1660
|
-
s[
|
|
1660
|
+
s[w].state === "hover" && (s[w].state = "idle"), a("onHoverOut", w);
|
|
1661
1661
|
}), c.addEventListener("click", () => {
|
|
1662
|
-
a("onClick",
|
|
1662
|
+
a("onClick", w);
|
|
1663
1663
|
});
|
|
1664
1664
|
});
|
|
1665
1665
|
}
|
|
@@ -1900,7 +1900,7 @@ const Yn = {
|
|
|
1900
1900
|
setup(v, { emit: t }) {
|
|
1901
1901
|
const e = v, a = t, n = u(), o = u(), i = u(), s = u(
|
|
1902
1902
|
null
|
|
1903
|
-
), p = u(), l = u(), d = u(!1), c = u(!1),
|
|
1903
|
+
), p = u(), l = u(), d = u(!1), c = u(!1), w = u(), h = u(), f = T(() => h.value.isHoverEnabled), y = u({ x: 0, y: 0, width: 0, height: 0 }), F = u(), k = u(
|
|
1904
1904
|
e.apartmentChooserData
|
|
1905
1905
|
);
|
|
1906
1906
|
ue(() => d.value = !0);
|
|
@@ -1944,8 +1944,8 @@ const Yn = {
|
|
|
1944
1944
|
},
|
|
1945
1945
|
{ immediate: !0 }
|
|
1946
1946
|
);
|
|
1947
|
-
function
|
|
1948
|
-
n.value !== M &&
|
|
1947
|
+
function _(M) {
|
|
1948
|
+
n.value !== M && w.value.rotateShortestRoute(
|
|
1949
1949
|
k.value.cameras.findIndex((O) => O === M)
|
|
1950
1950
|
);
|
|
1951
1951
|
}
|
|
@@ -1988,7 +1988,7 @@ const Yn = {
|
|
|
1988
1988
|
const O = k.value.unitData.find(
|
|
1989
1989
|
(K) => K.unitId === M
|
|
1990
1990
|
);
|
|
1991
|
-
O &&
|
|
1991
|
+
O && w.value.rotateShortestRoute(O.bestScene);
|
|
1992
1992
|
});
|
|
1993
1993
|
}
|
|
1994
1994
|
function Z(M) {
|
|
@@ -2006,36 +2006,36 @@ const Yn = {
|
|
|
2006
2006
|
break;
|
|
2007
2007
|
} else
|
|
2008
2008
|
R = R.parentElement;
|
|
2009
|
-
P ?
|
|
2009
|
+
P ? y.value = {
|
|
2010
2010
|
x: O,
|
|
2011
2011
|
y: K,
|
|
2012
2012
|
width: M.currentTarget.clientWidth,
|
|
2013
2013
|
height: M.currentTarget.clientHeight
|
|
2014
|
-
} :
|
|
2014
|
+
} : y.value = void 0, a("onMouseMove", M, y.value);
|
|
2015
2015
|
}
|
|
2016
2016
|
return (M, O) => {
|
|
2017
2017
|
const K = B("v-skeleton-loader");
|
|
2018
2018
|
return m(), S(re, null, [
|
|
2019
|
-
|
|
2019
|
+
b(K, {
|
|
2020
2020
|
type: "image",
|
|
2021
2021
|
class: "w-100 h-100 position-relative",
|
|
2022
2022
|
loading: !d.value || !k.value
|
|
2023
2023
|
}, {
|
|
2024
2024
|
default: A(() => [
|
|
2025
|
-
|
|
2025
|
+
b(Se, null, {
|
|
2026
2026
|
default: A(() => [
|
|
2027
2027
|
r("div", { onMousemove: E }, [
|
|
2028
2028
|
r("div", Yn, [
|
|
2029
2029
|
r("div", jn, [
|
|
2030
|
-
|
|
2030
|
+
b(In, {
|
|
2031
2031
|
"apartment-chooser-data": k.value,
|
|
2032
2032
|
"current-camera": n.value,
|
|
2033
2033
|
disabled: c.value,
|
|
2034
|
-
onOnCameraChange:
|
|
2034
|
+
onOnCameraChange: _
|
|
2035
2035
|
}, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])
|
|
2036
2036
|
]),
|
|
2037
2037
|
r("div", Pn, [
|
|
2038
|
-
|
|
2038
|
+
b(An, {
|
|
2039
2039
|
"camera-data": n.value,
|
|
2040
2040
|
"current-day": o.value,
|
|
2041
2041
|
disabled: c.value,
|
|
@@ -2043,7 +2043,7 @@ const Yn = {
|
|
|
2043
2043
|
}, null, 8, ["camera-data", "current-day", "disabled"])
|
|
2044
2044
|
]),
|
|
2045
2045
|
r("div", Wn, [
|
|
2046
|
-
|
|
2046
|
+
b(Sn, {
|
|
2047
2047
|
"day-data": o.value,
|
|
2048
2048
|
"current-time": i.value,
|
|
2049
2049
|
disabled: c.value,
|
|
@@ -2052,9 +2052,9 @@ const Yn = {
|
|
|
2052
2052
|
])
|
|
2053
2053
|
]),
|
|
2054
2054
|
r("div", Nn, [
|
|
2055
|
-
|
|
2055
|
+
b(Mn, {
|
|
2056
2056
|
ref_key: "rotator",
|
|
2057
|
-
ref:
|
|
2057
|
+
ref: w,
|
|
2058
2058
|
"apartment-chooser-data": k.value,
|
|
2059
2059
|
"current-scene": p.value,
|
|
2060
2060
|
"selected-id": M.selectedId,
|
|
@@ -2066,13 +2066,13 @@ const Yn = {
|
|
|
2066
2066
|
}, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])
|
|
2067
2067
|
]),
|
|
2068
2068
|
r("div", zn, [
|
|
2069
|
-
|
|
2069
|
+
b(Ze, {
|
|
2070
2070
|
longitude: n.value.cameraRotation.y + 270
|
|
2071
2071
|
}, null, 8, ["longitude"])
|
|
2072
2072
|
]),
|
|
2073
|
-
|
|
2073
|
+
b(qe, { position: "relative" }, {
|
|
2074
2074
|
default: A(() => [
|
|
2075
|
-
(m(!0), S(re, null, ve(g.value, (R) => (m(), $(
|
|
2075
|
+
(m(!0), S(re, null, ve(g.value, (R) => (m(), $(wn, {
|
|
2076
2076
|
key: R.overlayFilename,
|
|
2077
2077
|
"camera-data": R,
|
|
2078
2078
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
@@ -2089,7 +2089,7 @@ const Yn = {
|
|
|
2089
2089
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
2090
2090
|
innerHTML: e.customOverlayContent
|
|
2091
2091
|
}, null, 8, Gn)) : Y("", !0),
|
|
2092
|
-
de(
|
|
2092
|
+
de(b(Vn, {
|
|
2093
2093
|
"cdn-file-resolver": M.cdnFileResolver,
|
|
2094
2094
|
"color-callback": e.colorCallback,
|
|
2095
2095
|
"current-camera": n.value,
|
|
@@ -2104,10 +2104,10 @@ const Yn = {
|
|
|
2104
2104
|
]),
|
|
2105
2105
|
_: 1
|
|
2106
2106
|
}),
|
|
2107
|
-
M.$slots.popup &&
|
|
2107
|
+
M.$slots.popup && y.value && l.value ? (m(), $(Qe, {
|
|
2108
2108
|
key: 0,
|
|
2109
2109
|
"is-hoverable": f.value,
|
|
2110
|
-
pos:
|
|
2110
|
+
pos: y.value
|
|
2111
2111
|
}, {
|
|
2112
2112
|
default: A(() => [
|
|
2113
2113
|
r("div", Qn, [
|
|
@@ -2123,14 +2123,14 @@ const Yn = {
|
|
|
2123
2123
|
]),
|
|
2124
2124
|
_: 3
|
|
2125
2125
|
}, 8, ["loading"]),
|
|
2126
|
-
|
|
2126
|
+
b(Re, {
|
|
2127
2127
|
ref_key: "hoverProbe",
|
|
2128
2128
|
ref: h
|
|
2129
2129
|
}, null, 512)
|
|
2130
2130
|
], 64);
|
|
2131
2131
|
};
|
|
2132
2132
|
}
|
|
2133
|
-
}),
|
|
2133
|
+
}), xs = /* @__PURE__ */ q(qn, [["__scopeId", "data-v-8841908c"]]), Zn = { class: "sunsim-bar-wrapper" }, Xn = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, Jn = {
|
|
2134
2134
|
key: 1,
|
|
2135
2135
|
class: "text-center text-body-1"
|
|
2136
2136
|
}, Kn = { class: "sunsim-wrapper d-flex align-center px-3" }, ea = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, ta = /* @__PURE__ */ j({
|
|
@@ -2172,10 +2172,10 @@ const Yn = {
|
|
|
2172
2172
|
), ke(() => {
|
|
2173
2173
|
o.value = i(e.dateSelector.selectedDate);
|
|
2174
2174
|
}), (d, c) => {
|
|
2175
|
-
const
|
|
2175
|
+
const w = B("v-icon"), h = B("v-select"), f = B("v-progress-linear"), y = B("v-slider");
|
|
2176
2176
|
return m(), S("div", Zn, [
|
|
2177
2177
|
r("div", Xn, [
|
|
2178
|
-
w
|
|
2178
|
+
b(w, {
|
|
2179
2179
|
color: "black",
|
|
2180
2180
|
class: "mr-2",
|
|
2181
2181
|
icon: "mdi-calendar-blank-outline"
|
|
@@ -2193,7 +2193,7 @@ const Yn = {
|
|
|
2193
2193
|
]),
|
|
2194
2194
|
r("div", Kn, [
|
|
2195
2195
|
r("span", ea, N(s.value), 1),
|
|
2196
|
-
w
|
|
2196
|
+
b(w, {
|
|
2197
2197
|
medium: "",
|
|
2198
2198
|
class: "ml-2 mr-2 icon"
|
|
2199
2199
|
}, {
|
|
@@ -2210,7 +2210,7 @@ const Yn = {
|
|
|
2210
2210
|
height: "6",
|
|
2211
2211
|
color: "grey lighten-1",
|
|
2212
2212
|
class: "mr-2"
|
|
2213
|
-
})) : (m(), $(
|
|
2213
|
+
})) : (m(), $(y, {
|
|
2214
2214
|
key: 1,
|
|
2215
2215
|
modelValue: n.value,
|
|
2216
2216
|
"onUpdate:modelValue": c[1] || (c[1] = (F) => n.value = F),
|
|
@@ -2229,7 +2229,7 @@ const Yn = {
|
|
|
2229
2229
|
]);
|
|
2230
2230
|
};
|
|
2231
2231
|
}
|
|
2232
|
-
}),
|
|
2232
|
+
}), wt = /* @__PURE__ */ q(ta, [["__scopeId", "data-v-d5a3d3f8"]]), na = { key: 0 }, aa = ["src"], oa = /* @__PURE__ */ j({
|
|
2233
2233
|
__name: "VBuildingChooserSceneImageStack",
|
|
2234
2234
|
props: {
|
|
2235
2235
|
imageUrls: {},
|
|
@@ -2270,9 +2270,9 @@ const Yn = {
|
|
|
2270
2270
|
onLoad: s
|
|
2271
2271
|
}, null, 544),
|
|
2272
2272
|
n.value === "preloaded" || n.value === "loaded" ? de((m(), S("div", na, [
|
|
2273
|
-
(m(!0), S(re, null, ve(l.imageUrls, (c,
|
|
2274
|
-
key:
|
|
2275
|
-
class: xe({ "image-instance": !0, active:
|
|
2273
|
+
(m(!0), S(re, null, ve(l.imageUrls, (c, w) => (m(), S("img", {
|
|
2274
|
+
key: w,
|
|
2275
|
+
class: xe({ "image-instance": !0, active: w === l.activeIndex }),
|
|
2276
2276
|
src: c,
|
|
2277
2277
|
onLoad: d[0] || (d[0] = (h) => o.value.partLoaded())
|
|
2278
2278
|
}, null, 42, aa))), 128))
|
|
@@ -2281,7 +2281,7 @@ const Yn = {
|
|
|
2281
2281
|
]) : Y("", !0)
|
|
2282
2282
|
]));
|
|
2283
2283
|
}
|
|
2284
|
-
}),
|
|
2284
|
+
}), bt = /* @__PURE__ */ q(oa, [["__scopeId", "data-v-8d357c5f"]]), la = {
|
|
2285
2285
|
key: 0,
|
|
2286
2286
|
style: { height: "50vh" },
|
|
2287
2287
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
@@ -2314,7 +2314,7 @@ const Yn = {
|
|
|
2314
2314
|
height: 0
|
|
2315
2315
|
}), i = u({ x: 0, y: 0, width: 0, height: 0 }), s = u(), p = u(
|
|
2316
2316
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2317
|
-
), l = u(!1), d = u(new ge()), c = u(),
|
|
2317
|
+
), l = u(!1), d = u(new ge()), c = u(), w = u("0 0 0 0"), h = u(), f = u(), y = u(Ye.empty()), F = u(je.empty()), k = u(), g = T(() => k.value.isHoverEnabled);
|
|
2318
2318
|
H(s, (x, E) => {
|
|
2319
2319
|
x ? a("hoverOverBuilding", x) : a("hoverOutBuilding", E);
|
|
2320
2320
|
}), ke(() => {
|
|
@@ -2331,7 +2331,7 @@ const Yn = {
|
|
|
2331
2331
|
e.buildingChooserData
|
|
2332
2332
|
);
|
|
2333
2333
|
if (E) {
|
|
2334
|
-
F.value = new je(E.mapImage),
|
|
2334
|
+
F.value = new je(E.mapImage), y.value = new Ye(E.buildingIds), h.value = new nt(E.backgrounds), f.value = {
|
|
2335
2335
|
buildingOverlays: E.buildingOverlays,
|
|
2336
2336
|
viewLongitude: E.viewLongitude
|
|
2337
2337
|
};
|
|
@@ -2339,7 +2339,7 @@ const Yn = {
|
|
|
2339
2339
|
for (let { id: O, url: K } of E.buildingOverlays)
|
|
2340
2340
|
d.value.loadJson(K.replace(".png", ".svg")).then((R) => {
|
|
2341
2341
|
const ee = new DOMParser().parseFromString(R, "image/svg+xml").getElementsByTagName("svg")[0];
|
|
2342
|
-
|
|
2342
|
+
w.value = ee.getAttribute("viewBox"), M.push({
|
|
2343
2343
|
id: O,
|
|
2344
2344
|
svg: ee.innerHTML
|
|
2345
2345
|
});
|
|
@@ -2351,7 +2351,7 @@ const Yn = {
|
|
|
2351
2351
|
function U({ width: x, height: E }) {
|
|
2352
2352
|
o.value.width = x, o.value.height = E;
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2354
|
+
function _() {
|
|
2355
2355
|
n.value = { preloaded: !1, ready: !1 };
|
|
2356
2356
|
}
|
|
2357
2357
|
function V(x) {
|
|
@@ -2419,7 +2419,7 @@ const Yn = {
|
|
|
2419
2419
|
return (x, E) => {
|
|
2420
2420
|
const M = B("v-icon");
|
|
2421
2421
|
return l.value ? (m(), S("div", la, [
|
|
2422
|
-
|
|
2422
|
+
b(M, { "x-large": "" }, {
|
|
2423
2423
|
default: A(() => [
|
|
2424
2424
|
X("mdi-alert-circle-outline")
|
|
2425
2425
|
]),
|
|
@@ -2430,23 +2430,23 @@ const Yn = {
|
|
|
2430
2430
|
style: le(`height: ${o.value.height}px; position: relative`),
|
|
2431
2431
|
class: "image-container"
|
|
2432
2432
|
}, [
|
|
2433
|
-
|
|
2433
|
+
b(qe, {
|
|
2434
2434
|
desktop: x.interactiveDesktop,
|
|
2435
2435
|
mobile: x.interactiveMobile
|
|
2436
2436
|
}, {
|
|
2437
2437
|
default: A(() => [
|
|
2438
2438
|
r("div", sa, [
|
|
2439
|
-
|
|
2439
|
+
b(bt, {
|
|
2440
2440
|
"image-urls": h.value.imageUrls,
|
|
2441
2441
|
"active-index": p.value,
|
|
2442
2442
|
onResize: U,
|
|
2443
2443
|
onPreloaded: E[0] || (E[0] = (O) => n.value.preloaded = !0),
|
|
2444
2444
|
onReady: E[1] || (E[1] = (O) => n.value.ready = !0),
|
|
2445
|
-
onReset:
|
|
2445
|
+
onReset: _
|
|
2446
2446
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2447
2447
|
c.value ? de((m(), S("div", ia, [
|
|
2448
2448
|
r("div", ra, [
|
|
2449
|
-
(m(), S("svg", { viewBox:
|
|
2449
|
+
(m(), S("svg", { viewBox: w.value }, [
|
|
2450
2450
|
(m(!0), S(re, null, ve(c.value, ({ id: O, svg: K }, R) => (m(), S("g", {
|
|
2451
2451
|
key: R,
|
|
2452
2452
|
innerHTML: K,
|
|
@@ -2479,7 +2479,7 @@ const Yn = {
|
|
|
2479
2479
|
class: "north-indicator",
|
|
2480
2480
|
longitude: f.value.viewLongitude
|
|
2481
2481
|
}, null, 8, ["longitude"])) : Y("", !0),
|
|
2482
|
-
|
|
2482
|
+
b(wt, {
|
|
2483
2483
|
modelValue: p.value,
|
|
2484
2484
|
"onUpdate:modelValue": E[2] || (E[2] = (O) => p.value = O),
|
|
2485
2485
|
"date-selector": h.value,
|
|
@@ -2506,7 +2506,7 @@ const Yn = {
|
|
|
2506
2506
|
]),
|
|
2507
2507
|
_: 3
|
|
2508
2508
|
}, 8, ["is-hoverable", "pos"])) : Y("", !0),
|
|
2509
|
-
|
|
2509
|
+
b(Re, {
|
|
2510
2510
|
ref_key: "hoverProbe",
|
|
2511
2511
|
ref: k
|
|
2512
2512
|
}, null, 512)
|
|
@@ -2542,15 +2542,15 @@ const Yn = {
|
|
|
2542
2542
|
i.value = l.value.getContext("2d", {
|
|
2543
2543
|
willReadFrequently: !0
|
|
2544
2544
|
}), i.value.drawImage(n.value, 0, 0, h, f), s.value = i.value.getImageData(0, 0, h, f);
|
|
2545
|
-
for (let
|
|
2546
|
-
s.value.data[
|
|
2545
|
+
for (let y = 3; y < s.value.data.length; y += 4)
|
|
2546
|
+
s.value.data[y] !== 0 && p.value.push(y);
|
|
2547
2547
|
c(), a.value = !0;
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
function c() {
|
|
2551
|
-
i.value && s.value && (
|
|
2551
|
+
i.value && s.value && (w(), i.value.putImageData(s.value, 0, 0));
|
|
2552
2552
|
}
|
|
2553
|
-
function
|
|
2553
|
+
function w() {
|
|
2554
2554
|
if (e.color)
|
|
2555
2555
|
for (let h = 0; h < p.value.length; h++)
|
|
2556
2556
|
s.value.data[p.value[h] - 3] = e.color.r, s.value.data[p.value[h] - 2] = e.color.g, s.value.data[p.value[h] - 1] = e.color.b, s.value.data[p.value[h]] = e.color.a;
|
|
@@ -2592,20 +2592,20 @@ const Yn = {
|
|
|
2592
2592
|
}), i = u({
|
|
2593
2593
|
width: 0,
|
|
2594
2594
|
height: 0
|
|
2595
|
-
}), s = u({ x: 0, y: 0, width: 0, height: 0 }), p = u(), l = u(Ye.empty()), d = u(je.empty()), c = u(),
|
|
2595
|
+
}), s = u({ x: 0, y: 0, width: 0, height: 0 }), p = u(), l = u(Ye.empty()), d = u(je.empty()), c = u(), w = u(
|
|
2596
2596
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2597
2597
|
), h = u(
|
|
2598
2598
|
(x, E) => ({ x, y: E })
|
|
2599
|
-
), f = u(!1),
|
|
2599
|
+
), f = u(!1), y = u(), F = u(), k = u(), g = T(() => {
|
|
2600
2600
|
var x;
|
|
2601
|
-
return (x =
|
|
2601
|
+
return (x = y.value) == null ? void 0 : x.isHoverEnabled;
|
|
2602
2602
|
});
|
|
2603
2603
|
ke(() => {
|
|
2604
2604
|
if (e.buildingChooserTimeOfDay) {
|
|
2605
2605
|
const [x, E, M] = /^(\d\d):(\d\d)$/.exec(
|
|
2606
2606
|
e.buildingChooserTimeOfDay
|
|
2607
2607
|
), O = parseInt(M);
|
|
2608
|
-
|
|
2608
|
+
w.value = parseInt(E) * 2 + (O < 15 ? 0 : O > 45 ? 2 : 1);
|
|
2609
2609
|
}
|
|
2610
2610
|
}), H(c, (x, E) => {
|
|
2611
2611
|
x ? a("hoverOverBuilding", x) : a("hoverOutBuilding", E);
|
|
@@ -2623,7 +2623,7 @@ const Yn = {
|
|
|
2623
2623
|
function U({ width: x, height: E }) {
|
|
2624
2624
|
i.value.width = x, i.value.height = E, De(C);
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2626
|
+
function _() {
|
|
2627
2627
|
o.value = { preloaded: !1, ready: !1 };
|
|
2628
2628
|
}
|
|
2629
2629
|
function V(x) {
|
|
@@ -2663,7 +2663,7 @@ const Yn = {
|
|
|
2663
2663
|
return (x, E) => {
|
|
2664
2664
|
const M = B("v-icon");
|
|
2665
2665
|
return f.value ? (m(), S("div", ha, [
|
|
2666
|
-
|
|
2666
|
+
b(M, { "x-large": "" }, {
|
|
2667
2667
|
default: A(() => [
|
|
2668
2668
|
X("mdi-alert-circle-outline")
|
|
2669
2669
|
]),
|
|
@@ -2674,20 +2674,20 @@ const Yn = {
|
|
|
2674
2674
|
style: le(`cursor: ${c.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
|
|
2675
2675
|
class: "image-container"
|
|
2676
2676
|
}, [
|
|
2677
|
-
|
|
2677
|
+
b(qe, {
|
|
2678
2678
|
desktop: x.interactiveDesktop,
|
|
2679
2679
|
mobile: x.interactiveMobile,
|
|
2680
2680
|
onUpdate: Z
|
|
2681
2681
|
}, {
|
|
2682
2682
|
default: A(() => [
|
|
2683
2683
|
r("div", ga, [
|
|
2684
|
-
|
|
2684
|
+
b(bt, {
|
|
2685
2685
|
"image-urls": n.value.imageUrls,
|
|
2686
|
-
"active-index":
|
|
2686
|
+
"active-index": w.value,
|
|
2687
2687
|
onResize: U,
|
|
2688
2688
|
onPreloaded: E[0] || (E[0] = (O) => o.value.preloaded = !0),
|
|
2689
2689
|
onReady: E[1] || (E[1] = (O) => o.value.ready = !0),
|
|
2690
|
-
onReset:
|
|
2690
|
+
onReset: _
|
|
2691
2691
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2692
2692
|
de(r("div", null, [
|
|
2693
2693
|
(m(!0), S(re, null, ve(p.value.buildingOverlays, (O) => (m(), $(fa, {
|
|
@@ -2725,9 +2725,9 @@ const Yn = {
|
|
|
2725
2725
|
class: "north-indicator",
|
|
2726
2726
|
longitude: p.value.viewLongitude
|
|
2727
2727
|
}, null, 8, ["longitude"])) : Y("", !0),
|
|
2728
|
-
|
|
2729
|
-
modelValue:
|
|
2730
|
-
"onUpdate:modelValue": E[2] || (E[2] = (O) =>
|
|
2728
|
+
b(wt, {
|
|
2729
|
+
modelValue: w.value,
|
|
2730
|
+
"onUpdate:modelValue": E[2] || (E[2] = (O) => w.value = O),
|
|
2731
2731
|
"date-selector": n.value,
|
|
2732
2732
|
"is-loading": !o.value.ready
|
|
2733
2733
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
@@ -2752,14 +2752,14 @@ const Yn = {
|
|
|
2752
2752
|
]),
|
|
2753
2753
|
_: 3
|
|
2754
2754
|
}, 8, ["is-hoverable", "pos"])) : Y("", !0),
|
|
2755
|
-
|
|
2755
|
+
b(Re, {
|
|
2756
2756
|
ref_key: "hoverProbe",
|
|
2757
|
-
ref:
|
|
2757
|
+
ref: y
|
|
2758
2758
|
}, null, 512)
|
|
2759
2759
|
], 4)) : Y("", !0);
|
|
2760
2760
|
};
|
|
2761
2761
|
}
|
|
2762
|
-
}),
|
|
2762
|
+
}), wa = /* @__PURE__ */ q(_a, [["__scopeId", "data-v-088f521e"]]), ba = /* @__PURE__ */ j({
|
|
2763
2763
|
__name: "VBuildingChooser",
|
|
2764
2764
|
props: {
|
|
2765
2765
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2777,7 +2777,7 @@ const Yn = {
|
|
|
2777
2777
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2778
2778
|
setup(v, { emit: t }) {
|
|
2779
2779
|
const e = v, a = t, n = T(
|
|
2780
|
-
() => e.useSvg ? ma :
|
|
2780
|
+
() => e.useSvg ? ma : wa
|
|
2781
2781
|
);
|
|
2782
2782
|
return (o, i) => (m(), $(ft(n.value), {
|
|
2783
2783
|
"i18n-config": e.i18nConfig,
|
|
@@ -2923,7 +2923,7 @@ const Yn = {
|
|
|
2923
2923
|
"hide-details": ""
|
|
2924
2924
|
}, {
|
|
2925
2925
|
item: A(({ props: d }) => [
|
|
2926
|
-
|
|
2926
|
+
b(p, ye(d, {
|
|
2927
2927
|
title: o(d.title)
|
|
2928
2928
|
}), null, 16, ["title"])
|
|
2929
2929
|
]),
|
|
@@ -2974,11 +2974,11 @@ const Yn = {
|
|
|
2974
2974
|
}, 200));
|
|
2975
2975
|
}
|
|
2976
2976
|
return (p, l) => {
|
|
2977
|
-
const d = B("v-icon"), c = B("v-btn"),
|
|
2977
|
+
const d = B("v-icon"), c = B("v-btn"), w = B("v-slider"), h = B("v-field");
|
|
2978
2978
|
return m(), $(h, { variant: "solo" }, {
|
|
2979
2979
|
default: A(() => [
|
|
2980
2980
|
p.dayData.startTime === p.dayData.endTime ? (m(), S("div", Da, [
|
|
2981
|
-
|
|
2981
|
+
b(d, {
|
|
2982
2982
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
2983
2983
|
class: "py-2 ml-2 mr-2 icon"
|
|
2984
2984
|
}, {
|
|
@@ -2988,7 +2988,7 @@ const Yn = {
|
|
|
2988
2988
|
_: 1
|
|
2989
2989
|
}),
|
|
2990
2990
|
X(" " + N(i(n.value)), 1)
|
|
2991
|
-
])) : (m(), $(
|
|
2991
|
+
])) : (m(), $(w, {
|
|
2992
2992
|
key: 1,
|
|
2993
2993
|
class: "pa-1",
|
|
2994
2994
|
modelValue: n.value,
|
|
@@ -2999,7 +2999,7 @@ const Yn = {
|
|
|
2999
2999
|
"hide-details": ""
|
|
3000
3000
|
}, {
|
|
3001
3001
|
prepend: A(() => [
|
|
3002
|
-
|
|
3002
|
+
b(c, {
|
|
3003
3003
|
icon: o.value ? "mdi-stop" : "mdi-play",
|
|
3004
3004
|
size: "x-small",
|
|
3005
3005
|
variant: "flat",
|
|
@@ -3011,7 +3011,7 @@ const Yn = {
|
|
|
3011
3011
|
append: A(() => [
|
|
3012
3012
|
r("span", Ma, N(i(p.dayData.endTime)), 1),
|
|
3013
3013
|
X(" "),
|
|
3014
|
-
|
|
3014
|
+
b(d, {
|
|
3015
3015
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3016
3016
|
class: "ml-2 mr-2 icon"
|
|
3017
3017
|
}, {
|
|
@@ -3042,14 +3042,14 @@ const Yn = {
|
|
|
3042
3042
|
const e = v, a = t, n = u(), o = u(), i = u(e.selectedId), s = lt({});
|
|
3043
3043
|
ke(() => {
|
|
3044
3044
|
for (const l in s) {
|
|
3045
|
-
const { element: d, state: c } = s[l], { r:
|
|
3045
|
+
const { element: d, state: c } = s[l], { r: w, g: h, b: f, a: y, s: F } = e.colorCallback(l, c) || {
|
|
3046
3046
|
r: 0,
|
|
3047
3047
|
g: 0,
|
|
3048
3048
|
b: 0,
|
|
3049
3049
|
a: 0,
|
|
3050
3050
|
s: 0
|
|
3051
3051
|
};
|
|
3052
|
-
d.style.fill = `rgba(${
|
|
3052
|
+
d.style.fill = `rgba(${w}, ${h}, ${f}, ${y / 255})`, d.style.stroke = `rgb(${w}, ${h}, ${f})`, d.style.strokeWidth = F.toString();
|
|
3053
3053
|
}
|
|
3054
3054
|
}), H(
|
|
3055
3055
|
() => e.selectedId,
|
|
@@ -3089,16 +3089,16 @@ const Yn = {
|
|
|
3089
3089
|
c.style.strokeWidth = "0", c.style.stroke = "rgba(255,255,255,0)", c.style.fill = "rgba(255,255,255,0)", c.querySelectorAll("path").forEach((h) => {
|
|
3090
3090
|
h.style.stroke = "inherit", h.style.fill = "inherit";
|
|
3091
3091
|
});
|
|
3092
|
-
const
|
|
3093
|
-
s[
|
|
3092
|
+
const w = c.getAttribute("data-building-id");
|
|
3093
|
+
s[w] = {
|
|
3094
3094
|
element: c,
|
|
3095
|
-
state: i.value ===
|
|
3095
|
+
state: i.value === w ? "selected" : "idle"
|
|
3096
3096
|
}, c.addEventListener("mouseover", () => {
|
|
3097
|
-
s[
|
|
3097
|
+
s[w].state === "idle" && (s[w].state = "hover"), a("onHoverOver", w);
|
|
3098
3098
|
}), c.addEventListener("mouseout", () => {
|
|
3099
|
-
s[
|
|
3099
|
+
s[w].state === "hover" && (s[w].state = "idle"), a("onHoverOut", w);
|
|
3100
3100
|
}), c.addEventListener("click", () => {
|
|
3101
|
-
a("onClick",
|
|
3101
|
+
a("onClick", w);
|
|
3102
3102
|
});
|
|
3103
3103
|
});
|
|
3104
3104
|
}
|
|
@@ -3148,7 +3148,7 @@ const Yn = {
|
|
|
3148
3148
|
},
|
|
3149
3149
|
emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove"],
|
|
3150
3150
|
setup(v, { emit: t }) {
|
|
3151
|
-
const e = v, a = t, n = u(), o = u(), i = u(), s = u(), p = u(!1), l = u(), d = T(() => l.value.isHoverEnabled), c = u({ x: 0, y: 0, width: 0, height: 0 }),
|
|
3151
|
+
const e = v, a = t, n = u(), o = u(), i = u(), s = u(), p = u(!1), l = u(), d = T(() => l.value.isHoverEnabled), c = u({ x: 0, y: 0, width: 0, height: 0 }), w = u(), h = u(
|
|
3152
3152
|
e.buildingChooserData
|
|
3153
3153
|
);
|
|
3154
3154
|
ue(() => p.value = !0), H(
|
|
@@ -3157,7 +3157,7 @@ const Yn = {
|
|
|
3157
3157
|
e.cdnFileResolver && (h.value || (h.value = await ge.loadJson(
|
|
3158
3158
|
se(e.cdnFileResolver, "/buildingChooser.json")
|
|
3159
3159
|
)), e.defaultCamera ? n.value = h.value.cameras.find(
|
|
3160
|
-
(
|
|
3160
|
+
(_) => _.cameraName === e.defaultCamera
|
|
3161
3161
|
) || h.value.cameras[0] : n.value = h.value.cameras[0]);
|
|
3162
3162
|
},
|
|
3163
3163
|
{ immediate: !0 }
|
|
@@ -3165,7 +3165,7 @@ const Yn = {
|
|
|
3165
3165
|
[h, () => e.cdnFileResolver, () => e.defaultDay],
|
|
3166
3166
|
() => {
|
|
3167
3167
|
h.value && e.cdnFileResolver && (e.defaultDay ? o.value = n.value.sunsimDayOfYear.find(
|
|
3168
|
-
(
|
|
3168
|
+
(_) => _.dayOfYear === e.defaultDay
|
|
3169
3169
|
) || n.value.sunsimDayOfYear[0] : o.value = n.value.sunsimDayOfYear[0]);
|
|
3170
3170
|
},
|
|
3171
3171
|
{ immediate: !0 }
|
|
@@ -3173,26 +3173,26 @@ const Yn = {
|
|
|
3173
3173
|
[h, () => e.cdnFileResolver, () => e.defaultTime],
|
|
3174
3174
|
() => {
|
|
3175
3175
|
h.value && e.cdnFileResolver && (e.defaultTime ? i.value = o.value.timeSamples.find(
|
|
3176
|
-
(
|
|
3176
|
+
(_) => _.timeInHours === e.defaultTime
|
|
3177
3177
|
) || o.value.timeSamples[0] : i.value = o.value.timeSamples.find(
|
|
3178
|
-
(
|
|
3178
|
+
(_) => _.timeInHours === o.value.defaultHour
|
|
3179
3179
|
) || o.value.timeSamples[0]);
|
|
3180
3180
|
},
|
|
3181
3181
|
{ immediate: !0 }
|
|
3182
3182
|
);
|
|
3183
|
-
function f(
|
|
3183
|
+
function f(_) {
|
|
3184
3184
|
const V = o.value;
|
|
3185
|
-
n.value =
|
|
3186
|
-
|
|
3185
|
+
n.value = _, De(() => {
|
|
3186
|
+
y(
|
|
3187
3187
|
n.value.sunsimDayOfYear.find(
|
|
3188
3188
|
(C) => C.dayOfYear === V.dayOfYear
|
|
3189
3189
|
) || n.value.sunsimDayOfYear[0]
|
|
3190
3190
|
);
|
|
3191
3191
|
});
|
|
3192
3192
|
}
|
|
3193
|
-
function _
|
|
3193
|
+
function y(_) {
|
|
3194
3194
|
const V = i.value;
|
|
3195
|
-
o.value =
|
|
3195
|
+
o.value = _, De(() => {
|
|
3196
3196
|
F(
|
|
3197
3197
|
o.value.timeSamples.find(
|
|
3198
3198
|
(C) => C.timeInHours === V.timeInHours
|
|
@@ -3202,20 +3202,20 @@ const Yn = {
|
|
|
3202
3202
|
);
|
|
3203
3203
|
});
|
|
3204
3204
|
}
|
|
3205
|
-
function F(
|
|
3206
|
-
i.value =
|
|
3205
|
+
function F(_) {
|
|
3206
|
+
i.value = _;
|
|
3207
3207
|
}
|
|
3208
|
-
function k(
|
|
3209
|
-
a("onHoverOver",
|
|
3208
|
+
function k(_) {
|
|
3209
|
+
a("onHoverOver", _), s.value = _;
|
|
3210
3210
|
}
|
|
3211
|
-
function g(
|
|
3212
|
-
a("onHoverOut",
|
|
3211
|
+
function g(_) {
|
|
3212
|
+
a("onHoverOut", _), s.value = void 0;
|
|
3213
3213
|
}
|
|
3214
|
-
function U(
|
|
3215
|
-
const { layerX: V, layerY: C } =
|
|
3216
|
-
let L =
|
|
3214
|
+
function U(_) {
|
|
3215
|
+
const { layerX: V, layerY: C } = _;
|
|
3216
|
+
let L = _.target, G = !1;
|
|
3217
3217
|
for (; L; )
|
|
3218
|
-
if (L ===
|
|
3218
|
+
if (L === w.value) {
|
|
3219
3219
|
G = !0;
|
|
3220
3220
|
break;
|
|
3221
3221
|
} else
|
|
@@ -3223,20 +3223,20 @@ const Yn = {
|
|
|
3223
3223
|
G ? c.value = {
|
|
3224
3224
|
x: V,
|
|
3225
3225
|
y: C,
|
|
3226
|
-
width:
|
|
3227
|
-
height:
|
|
3228
|
-
} : c.value = void 0, a("onMouseMove",
|
|
3226
|
+
width: _.currentTarget.clientWidth,
|
|
3227
|
+
height: _.currentTarget.clientHeight
|
|
3228
|
+
} : c.value = void 0, a("onMouseMove", _, c.value);
|
|
3229
3229
|
}
|
|
3230
|
-
return (
|
|
3230
|
+
return (_, V) => {
|
|
3231
3231
|
const C = B("v-skeleton-loader");
|
|
3232
3232
|
return m(), S(re, null, [
|
|
3233
|
-
|
|
3233
|
+
b(C, {
|
|
3234
3234
|
type: "image",
|
|
3235
3235
|
class: "w-100 h-100 position-relative",
|
|
3236
3236
|
loading: !p.value || !h.value
|
|
3237
3237
|
}, {
|
|
3238
3238
|
default: A(() => [
|
|
3239
|
-
|
|
3239
|
+
b(Se, null, {
|
|
3240
3240
|
default: A(() => [
|
|
3241
3241
|
r("div", {
|
|
3242
3242
|
class: "w-100 h-100 position-relative",
|
|
@@ -3244,21 +3244,21 @@ const Yn = {
|
|
|
3244
3244
|
}, [
|
|
3245
3245
|
r("div", Oa, [
|
|
3246
3246
|
r("div", Ua, [
|
|
3247
|
-
|
|
3247
|
+
b(xa, {
|
|
3248
3248
|
"building-chooser-data": h.value,
|
|
3249
3249
|
"current-camera": n.value,
|
|
3250
3250
|
onOnCameraChange: f
|
|
3251
3251
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3252
3252
|
]),
|
|
3253
3253
|
r("div", $a, [
|
|
3254
|
-
|
|
3254
|
+
b(Fa, {
|
|
3255
3255
|
"camera-data": n.value,
|
|
3256
3256
|
"current-day": o.value,
|
|
3257
|
-
onOnDayChange:
|
|
3257
|
+
onOnDayChange: y
|
|
3258
3258
|
}, null, 8, ["camera-data", "current-day"])
|
|
3259
3259
|
]),
|
|
3260
3260
|
r("div", Ha, [
|
|
3261
|
-
|
|
3261
|
+
b(Ta, {
|
|
3262
3262
|
"day-data": o.value,
|
|
3263
3263
|
"current-time": i.value,
|
|
3264
3264
|
onOnTimeChange: F
|
|
@@ -3266,11 +3266,11 @@ const Yn = {
|
|
|
3266
3266
|
])
|
|
3267
3267
|
]),
|
|
3268
3268
|
r("div", Ya, [
|
|
3269
|
-
|
|
3269
|
+
b(Ze, {
|
|
3270
3270
|
longitude: n.value.cameraRotation.y + 270
|
|
3271
3271
|
}, null, 8, ["longitude"])
|
|
3272
3272
|
]),
|
|
3273
|
-
|
|
3273
|
+
b(qe, { position: "relative" }, {
|
|
3274
3274
|
default: A(() => [
|
|
3275
3275
|
(m(!0), S(re, null, ve(h.value.cameras, (L) => (m(), $(La, {
|
|
3276
3276
|
key: L.overlayFilename,
|
|
@@ -3284,27 +3284,27 @@ const Yn = {
|
|
|
3284
3284
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
3285
3285
|
innerHTML: e.customOverlayContent
|
|
3286
3286
|
}, null, 8, ja)) : Y("", !0),
|
|
3287
|
-
|
|
3288
|
-
"cdn-file-resolver":
|
|
3287
|
+
b(Ra, {
|
|
3288
|
+
"cdn-file-resolver": _.cdnFileResolver,
|
|
3289
3289
|
"color-callback": e.colorCallback,
|
|
3290
3290
|
"current-camera": n.value,
|
|
3291
3291
|
"selected-id": e.selectedId,
|
|
3292
3292
|
onOnClick: V[0] || (V[0] = (L) => a("onClick", L)),
|
|
3293
3293
|
onOnHoverOver: k,
|
|
3294
3294
|
onOnHoverOut: g,
|
|
3295
|
-
onUpdateSvgContainer: V[1] || (V[1] = (L) =>
|
|
3295
|
+
onUpdateSvgContainer: V[1] || (V[1] = (L) => w.value = L)
|
|
3296
3296
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])
|
|
3297
3297
|
]),
|
|
3298
3298
|
_: 1
|
|
3299
3299
|
}),
|
|
3300
|
-
|
|
3300
|
+
_.$slots.popup && c.value && s.value ? (m(), $(Qe, {
|
|
3301
3301
|
key: 0,
|
|
3302
3302
|
"is-hoverable": d.value,
|
|
3303
3303
|
pos: c.value
|
|
3304
3304
|
}, {
|
|
3305
3305
|
default: A(() => [
|
|
3306
3306
|
r("div", Pa, [
|
|
3307
|
-
oe(
|
|
3307
|
+
oe(_.$slots, "popup", et(tt({ hoverId: s.value, hoverable: d.value })), void 0, !0)
|
|
3308
3308
|
])
|
|
3309
3309
|
]),
|
|
3310
3310
|
_: 3
|
|
@@ -3316,14 +3316,14 @@ const Yn = {
|
|
|
3316
3316
|
]),
|
|
3317
3317
|
_: 3
|
|
3318
3318
|
}, 8, ["loading"]),
|
|
3319
|
-
|
|
3319
|
+
b(Re, {
|
|
3320
3320
|
ref_key: "hoverProbe",
|
|
3321
3321
|
ref: l
|
|
3322
3322
|
}, null, 512)
|
|
3323
3323
|
], 64);
|
|
3324
3324
|
};
|
|
3325
3325
|
}
|
|
3326
|
-
}),
|
|
3326
|
+
}), Fs = /* @__PURE__ */ q(Wa, [["__scopeId", "data-v-b9c6f06a"]]);
|
|
3327
3327
|
var We = {};
|
|
3328
3328
|
Object.defineProperty(We, "__esModule", {
|
|
3329
3329
|
value: !0
|
|
@@ -3421,7 +3421,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3421
3421
|
const d = o.value.getCurrentCamera();
|
|
3422
3422
|
d && (i.value = d.id);
|
|
3423
3423
|
}), ue(async () => {
|
|
3424
|
-
const
|
|
3424
|
+
const w = {
|
|
3425
3425
|
initialized: () => {
|
|
3426
3426
|
o.value = e.Main.getPlayerAPI();
|
|
3427
3427
|
const f = o.value.getCurrentCamera();
|
|
@@ -3434,8 +3434,8 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3434
3434
|
n("newFovCallback", f), p.value = f;
|
|
3435
3435
|
},
|
|
3436
3436
|
newRotation: (f) => {
|
|
3437
|
-
const
|
|
3438
|
-
n("newRotationCallback",
|
|
3437
|
+
const y = f + 0;
|
|
3438
|
+
n("newRotationCallback", y), s.value = y;
|
|
3439
3439
|
}
|
|
3440
3440
|
};
|
|
3441
3441
|
if (!Xa)
|
|
@@ -3446,7 +3446,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3446
3446
|
`/${a.interiorId}/${a.apartmentId}`
|
|
3447
3447
|
),
|
|
3448
3448
|
"qpc",
|
|
3449
|
-
|
|
3449
|
+
w,
|
|
3450
3450
|
void 0,
|
|
3451
3451
|
a.currentCameraId
|
|
3452
3452
|
);
|
|
@@ -3516,13 +3516,13 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3516
3516
|
d >= o.value.length ? a("level", o.value[0]) : a("level", o.value[d]);
|
|
3517
3517
|
}
|
|
3518
3518
|
return (d, c) => {
|
|
3519
|
-
const
|
|
3519
|
+
const w = B("v-btn"), h = B("v-tooltip");
|
|
3520
3520
|
return m(), $(h, {
|
|
3521
3521
|
right: "",
|
|
3522
3522
|
attach: ""
|
|
3523
3523
|
}, {
|
|
3524
3524
|
activator: A(({ props: f }) => [
|
|
3525
|
-
w
|
|
3525
|
+
b(w, ye({
|
|
3526
3526
|
style: { cursor: "pointer" },
|
|
3527
3527
|
density: "comfortable",
|
|
3528
3528
|
elevation: "1",
|
|
@@ -3556,7 +3556,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3556
3556
|
});
|
|
3557
3557
|
};
|
|
3558
3558
|
}
|
|
3559
|
-
}), yo = /* @__PURE__ */ q(go, [["__scopeId", "data-v-5ce91d8e"]]), _o = /* @__PURE__ */ j({
|
|
3559
|
+
}), yo = /* @__PURE__ */ q(go, [["__scopeId", "data-v-5ce91d8e"]]), _o = { class: "d-none d-md-inline" }, wo = /* @__PURE__ */ j({
|
|
3560
3560
|
__name: "VInteriorSelector",
|
|
3561
3561
|
props: {
|
|
3562
3562
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3567,47 +3567,50 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3567
3567
|
setup(v, { emit: t }) {
|
|
3568
3568
|
const e = v, a = t, n = Be(Ce);
|
|
3569
3569
|
return (o, i) => {
|
|
3570
|
-
const s = B("v-
|
|
3570
|
+
const s = B("v-icon"), p = B("v-btn"), l = B("v-img"), d = B("v-list-item-title"), c = B("v-list-item"), w = B("v-list"), h = B("v-menu");
|
|
3571
3571
|
return m(), S("div", null, [
|
|
3572
|
-
|
|
3572
|
+
b(h, {
|
|
3573
3573
|
transition: "slide-x-reverse-transition",
|
|
3574
3574
|
location: "top end",
|
|
3575
3575
|
origin: "end bottom",
|
|
3576
3576
|
elevation: "0"
|
|
3577
3577
|
}, {
|
|
3578
|
-
activator: A(({ props:
|
|
3579
|
-
|
|
3580
|
-
"prepend-icon": "mdi-palette-outline",
|
|
3581
|
-
rounded: ""
|
|
3582
|
-
}, h), {
|
|
3578
|
+
activator: A(({ props: f }) => [
|
|
3579
|
+
b(p, ye({ rounded: "" }, f), {
|
|
3583
3580
|
default: A(() => [
|
|
3584
|
-
|
|
3581
|
+
b(s, null, {
|
|
3582
|
+
default: A(() => [
|
|
3583
|
+
X("mdi-palette-outline")
|
|
3584
|
+
]),
|
|
3585
|
+
_: 1
|
|
3586
|
+
}),
|
|
3587
|
+
r("span", _o, N(ne(n).getLabel("interior")), 1)
|
|
3585
3588
|
]),
|
|
3586
3589
|
_: 2
|
|
3587
3590
|
}, 1040)
|
|
3588
3591
|
]),
|
|
3589
3592
|
default: A(() => [
|
|
3590
|
-
w
|
|
3593
|
+
b(w, { class: "interior-selector-list" }, {
|
|
3591
3594
|
default: A(() => [
|
|
3592
|
-
(m(!0), S(re, null, ve(e.availableArchetypes, (
|
|
3595
|
+
(m(!0), S(re, null, ve(e.availableArchetypes, (f, y) => (m(), $(c, {
|
|
3593
3596
|
density: "compact",
|
|
3594
|
-
key: `at-menuitem-${
|
|
3595
|
-
onClick: (
|
|
3596
|
-
active:
|
|
3597
|
+
key: `at-menuitem-${y}`,
|
|
3598
|
+
onClick: (F) => a("selectInterior", f.archetypeID),
|
|
3599
|
+
active: y === o.selectedIndex,
|
|
3597
3600
|
class: "interior-selector-list-item"
|
|
3598
3601
|
}, {
|
|
3599
3602
|
prepend: A(() => [
|
|
3600
|
-
|
|
3603
|
+
b(l, {
|
|
3601
3604
|
width: "100",
|
|
3602
3605
|
"max-width": "100",
|
|
3603
3606
|
height: "66",
|
|
3604
|
-
src:
|
|
3607
|
+
src: f.url
|
|
3605
3608
|
}, null, 8, ["src"])
|
|
3606
3609
|
]),
|
|
3607
3610
|
default: A(() => [
|
|
3608
|
-
|
|
3611
|
+
b(d, { class: "text-caption py-2 px-4" }, {
|
|
3609
3612
|
default: A(() => [
|
|
3610
|
-
X(N(ne(n).get(
|
|
3613
|
+
X(N(ne(n).get(f.title)), 1)
|
|
3611
3614
|
]),
|
|
3612
3615
|
_: 2
|
|
3613
3616
|
}, 1024)
|
|
@@ -3623,14 +3626,14 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3623
3626
|
]);
|
|
3624
3627
|
};
|
|
3625
3628
|
}
|
|
3626
|
-
}), bo = /* @__PURE__ */ q(
|
|
3629
|
+
}), bo = /* @__PURE__ */ q(wo, [["__scopeId", "data-v-f52a4315"]]), ko = "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==", Co = "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==", Io = /* @__PURE__ */ j({
|
|
3627
3630
|
__name: "VCompass",
|
|
3628
3631
|
props: {
|
|
3629
3632
|
rotation: {}
|
|
3630
3633
|
},
|
|
3631
3634
|
setup(v) {
|
|
3632
|
-
const t = v, e = u(
|
|
3633
|
-
backgroundImage: `url(${
|
|
3635
|
+
const t = v, e = u(Co), a = u({
|
|
3636
|
+
backgroundImage: `url(${ko})`,
|
|
3634
3637
|
backgroundSize: "contain"
|
|
3635
3638
|
}), n = T(() => ({
|
|
3636
3639
|
transform: `rotate(${-t.rotation + 180}deg)`
|
|
@@ -3638,9 +3641,10 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3638
3641
|
return (o, i) => {
|
|
3639
3642
|
const s = B("v-img");
|
|
3640
3643
|
return m(), S("div", {
|
|
3641
|
-
style: le(a.value)
|
|
3644
|
+
style: le(a.value),
|
|
3645
|
+
class: "compass-wrapper"
|
|
3642
3646
|
}, [
|
|
3643
|
-
|
|
3647
|
+
b(s, {
|
|
3644
3648
|
class: "compass-needle",
|
|
3645
3649
|
src: e.value,
|
|
3646
3650
|
style: le(n.value)
|
|
@@ -3648,7 +3652,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3648
3652
|
], 4);
|
|
3649
3653
|
};
|
|
3650
3654
|
}
|
|
3651
|
-
}),
|
|
3655
|
+
}), Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", Lo = { class: "d-flex flex-column align-center justify-center clock-face" }, xo = { class: "clock-icon" }, Fo = { class: "clock-value grey--text text--darken-3" }, Do = /* @__PURE__ */ j({
|
|
3652
3656
|
__name: "VTimeOfDay",
|
|
3653
3657
|
props: {
|
|
3654
3658
|
hours: { default: 0 },
|
|
@@ -3661,18 +3665,18 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3661
3665
|
}
|
|
3662
3666
|
return (n, o) => {
|
|
3663
3667
|
const i = B("v-img");
|
|
3664
|
-
return m(), S("div",
|
|
3665
|
-
r("div",
|
|
3666
|
-
|
|
3667
|
-
src: ne(
|
|
3668
|
+
return m(), S("div", Lo, [
|
|
3669
|
+
r("div", xo, [
|
|
3670
|
+
b(i, {
|
|
3671
|
+
src: ne(Ao),
|
|
3668
3672
|
"aspect-ratio": "1"
|
|
3669
3673
|
}, null, 8, ["src"])
|
|
3670
3674
|
]),
|
|
3671
|
-
r("div",
|
|
3675
|
+
r("div", Fo, N(e.value), 1)
|
|
3672
3676
|
]);
|
|
3673
3677
|
};
|
|
3674
3678
|
}
|
|
3675
|
-
}),
|
|
3679
|
+
}), So = /* @__PURE__ */ q(Do, [["__scopeId", "data-v-cd73fd81"]]), Mo = /* @__PURE__ */ j({
|
|
3676
3680
|
__name: "VViewModeToggle",
|
|
3677
3681
|
props: {
|
|
3678
3682
|
showStaticImage: { type: Boolean }
|
|
@@ -3699,13 +3703,13 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3699
3703
|
});
|
|
3700
3704
|
};
|
|
3701
3705
|
}
|
|
3702
|
-
}), Oe = (v) => (st("data-v-b9eb5380"), v = v(), it(), v),
|
|
3706
|
+
}), Oe = (v) => (st("data-v-b9eb5380"), v = v(), it(), v), Eo = {
|
|
3703
3707
|
key: 0,
|
|
3704
3708
|
class: "tutorial"
|
|
3705
|
-
},
|
|
3709
|
+
}, To = {
|
|
3706
3710
|
key: 0,
|
|
3707
3711
|
class: "desktop-content"
|
|
3708
|
-
},
|
|
3712
|
+
}, Vo = { class: "d-inline-flex" }, Bo = { class: "box col" }, Ro = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3709
3713
|
/* @__PURE__ */ r("svg", {
|
|
3710
3714
|
width: "100",
|
|
3711
3715
|
height: "65",
|
|
@@ -3752,7 +3756,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3752
3756
|
"stroke-width": "1.5"
|
|
3753
3757
|
})
|
|
3754
3758
|
])
|
|
3755
|
-
], -1)),
|
|
3759
|
+
], -1)), Oo = { class: "text mt-3" }, Uo = { class: "box col" }, $o = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3756
3760
|
/* @__PURE__ */ r("svg", {
|
|
3757
3761
|
width: "100",
|
|
3758
3762
|
height: "65",
|
|
@@ -3882,7 +3886,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3882
3886
|
"stroke-linecap": "round"
|
|
3883
3887
|
})
|
|
3884
3888
|
])
|
|
3885
|
-
], -1)),
|
|
3889
|
+
], -1)), Ho = { class: "text mt-3" }, Yo = { class: "box col" }, jo = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3886
3890
|
/* @__PURE__ */ r("svg", {
|
|
3887
3891
|
width: "100",
|
|
3888
3892
|
height: "65",
|
|
@@ -3953,7 +3957,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
3953
3957
|
"stroke-linejoin": "round"
|
|
3954
3958
|
})
|
|
3955
3959
|
])
|
|
3956
|
-
], -1)),
|
|
3960
|
+
], -1)), Po = { class: "text mt-3" }, Wo = { class: "d-inline-flex space-around" }, No = { class: "box col" }, zo = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3957
3961
|
/* @__PURE__ */ r("svg", {
|
|
3958
3962
|
width: "100",
|
|
3959
3963
|
height: "65",
|
|
@@ -4021,10 +4025,10 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4021
4025
|
fill: "#FF3E3E"
|
|
4022
4026
|
})
|
|
4023
4027
|
])
|
|
4024
|
-
], -1)),
|
|
4028
|
+
], -1)), Go = { class: "text mt-3" }, Qo = {
|
|
4025
4029
|
key: 1,
|
|
4026
4030
|
class: "d-flex flex-column tablet-mobile-content"
|
|
4027
|
-
},
|
|
4031
|
+
}, qo = { class: "box horizontal mt-3" }, Zo = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4028
4032
|
/* @__PURE__ */ r("svg", {
|
|
4029
4033
|
width: "101",
|
|
4030
4034
|
height: "65",
|
|
@@ -4058,7 +4062,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4058
4062
|
"stroke-linejoin": "round"
|
|
4059
4063
|
})
|
|
4060
4064
|
])
|
|
4061
|
-
], -1)),
|
|
4065
|
+
], -1)), Xo = { class: "text ml-2" }, Jo = { class: "box horizontal mt-3" }, Ko = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4062
4066
|
/* @__PURE__ */ r("svg", {
|
|
4063
4067
|
width: "99",
|
|
4064
4068
|
height: "65",
|
|
@@ -4192,7 +4196,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4192
4196
|
"stroke-linejoin": "round"
|
|
4193
4197
|
})
|
|
4194
4198
|
])
|
|
4195
|
-
], -1)),
|
|
4199
|
+
], -1)), el = { class: "text ml-2" }, tl = { class: "box horizontal mt-3" }, nl = /* @__PURE__ */ Oe(() => /* @__PURE__ */ r("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4196
4200
|
/* @__PURE__ */ r("svg", {
|
|
4197
4201
|
width: "99",
|
|
4198
4202
|
height: "65",
|
|
@@ -4226,7 +4230,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4226
4230
|
"stroke-linejoin": "round"
|
|
4227
4231
|
})
|
|
4228
4232
|
])
|
|
4229
|
-
], -1)),
|
|
4233
|
+
], -1)), al = { class: "text ml-2" }, ol = { class: "d-flex justify-space-between mt-3 mx-3 mb-0 tutorial-buttons" }, ll = /* @__PURE__ */ j({
|
|
4230
4234
|
__name: "VTutorial",
|
|
4231
4235
|
props: {
|
|
4232
4236
|
project: {}
|
|
@@ -4241,7 +4245,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4241
4245
|
/iPod/i,
|
|
4242
4246
|
/BlackBerry/i,
|
|
4243
4247
|
/Windows Phone/i
|
|
4244
|
-
].some((
|
|
4248
|
+
].some((w) => navigator.userAgent.match(w))), p = T(() => {
|
|
4245
4249
|
const c = localStorage.getItem(
|
|
4246
4250
|
`${e.project}-dont-show-tutorial`
|
|
4247
4251
|
);
|
|
@@ -4253,58 +4257,58 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4253
4257
|
function d() {
|
|
4254
4258
|
localStorage.setItem(`${e.project}-dont-show-tutorial`, "true");
|
|
4255
4259
|
}
|
|
4256
|
-
return (c,
|
|
4260
|
+
return (c, w) => {
|
|
4257
4261
|
const h = B("v-checkbox"), f = B("v-btn");
|
|
4258
4262
|
return m(), $(Se, { name: "fade-transition" }, {
|
|
4259
4263
|
default: A(() => [
|
|
4260
|
-
o.value && !p.value ? (m(), S("div",
|
|
4261
|
-
s.value ? Y("", !0) : (m(), S("div",
|
|
4262
|
-
r("div",
|
|
4263
|
-
r("div",
|
|
4264
|
-
|
|
4265
|
-
r("div",
|
|
4264
|
+
o.value && !p.value ? (m(), S("div", Eo, [
|
|
4265
|
+
s.value ? Y("", !0) : (m(), S("div", To, [
|
|
4266
|
+
r("div", Vo, [
|
|
4267
|
+
r("div", Bo, [
|
|
4268
|
+
Ro,
|
|
4269
|
+
r("div", Oo, N(ne(n).getLabel("clickAndDragToLookAround")), 1)
|
|
4266
4270
|
]),
|
|
4267
|
-
r("div",
|
|
4268
|
-
|
|
4269
|
-
r("div",
|
|
4271
|
+
r("div", Uo, [
|
|
4272
|
+
$o,
|
|
4273
|
+
r("div", Ho, N(ne(n).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4270
4274
|
]),
|
|
4271
|
-
r("div",
|
|
4272
|
-
|
|
4273
|
-
r("div",
|
|
4275
|
+
r("div", Yo, [
|
|
4276
|
+
jo,
|
|
4277
|
+
r("div", Po, N(ne(n).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4274
4278
|
])
|
|
4275
4279
|
]),
|
|
4276
|
-
r("div",
|
|
4277
|
-
r("div",
|
|
4278
|
-
|
|
4279
|
-
r("div",
|
|
4280
|
+
r("div", Wo, [
|
|
4281
|
+
r("div", No, [
|
|
4282
|
+
zo,
|
|
4283
|
+
r("div", Go, N(ne(n).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4280
4284
|
])
|
|
4281
4285
|
])
|
|
4282
4286
|
])),
|
|
4283
|
-
s.value ? (m(), S("div",
|
|
4284
|
-
r("div",
|
|
4285
|
-
|
|
4286
|
-
r("div",
|
|
4287
|
+
s.value ? (m(), S("div", Qo, [
|
|
4288
|
+
r("div", qo, [
|
|
4289
|
+
Zo,
|
|
4290
|
+
r("div", Xo, N(ne(n).getLabel("tapAndDragToLookAround")), 1)
|
|
4287
4291
|
]),
|
|
4288
|
-
r("div",
|
|
4289
|
-
|
|
4290
|
-
r("div",
|
|
4292
|
+
r("div", Jo, [
|
|
4293
|
+
Ko,
|
|
4294
|
+
r("div", el, N(ne(n).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4291
4295
|
]),
|
|
4292
|
-
r("div",
|
|
4293
|
-
|
|
4294
|
-
r("div",
|
|
4296
|
+
r("div", tl, [
|
|
4297
|
+
nl,
|
|
4298
|
+
r("div", al, N(ne(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4295
4299
|
])
|
|
4296
4300
|
])) : Y("", !0),
|
|
4297
|
-
r("div",
|
|
4298
|
-
|
|
4301
|
+
r("div", ol, [
|
|
4302
|
+
b(h, {
|
|
4299
4303
|
modelValue: i.value,
|
|
4300
|
-
"onUpdate:modelValue":
|
|
4304
|
+
"onUpdate:modelValue": w[0] || (w[0] = (y) => i.value = y),
|
|
4301
4305
|
label: ne(n).getLabel("dontShowAgain")
|
|
4302
4306
|
}, null, 8, ["modelValue", "label"]),
|
|
4303
|
-
|
|
4307
|
+
b(f, {
|
|
4304
4308
|
small: "",
|
|
4305
4309
|
outlined: "",
|
|
4306
4310
|
class: "mt-5",
|
|
4307
|
-
onClick:
|
|
4311
|
+
onClick: w[1] || (w[1] = (y) => l())
|
|
4308
4312
|
}, {
|
|
4309
4313
|
default: A(() => [
|
|
4310
4314
|
X("Ok")
|
|
@@ -4318,17 +4322,17 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4318
4322
|
});
|
|
4319
4323
|
};
|
|
4320
4324
|
}
|
|
4321
|
-
}),
|
|
4325
|
+
}), sl = /* @__PURE__ */ q(ll, [["__scopeId", "data-v-b9eb5380"]]), il = (v) => (st("data-v-bd4f66c3"), v = v(), it(), v), rl = { class: "player-settings-ui" }, ul = { id: "settings-ui-form" }, cl = { class: "form-inputs" }, dl = { class: "setting-label" }, vl = { class: "setting-label" }, ml = ["max", "min", "step"], pl = { class: "setting-label" }, fl = { class: "flex-grow-1 flex-shrink-0" }, hl = ["onUpdate:modelValue"], gl = {
|
|
4322
4326
|
key: 3,
|
|
4323
4327
|
"d-block": "",
|
|
4324
4328
|
class: "mt-3"
|
|
4325
|
-
},
|
|
4329
|
+
}, yl = { class: "d-flex justify-space-between" }, _l = { class: "setting-label" }, wl = {
|
|
4326
4330
|
class: "mt-5 d-block",
|
|
4327
4331
|
style: { width: "300px" }
|
|
4328
|
-
}, bl = /* @__PURE__ */
|
|
4332
|
+
}, bl = /* @__PURE__ */ il(() => /* @__PURE__ */ r("div", { class: "setting-label" }, "Enter Lut URL:", -1)), kl = {
|
|
4329
4333
|
class: "d-block",
|
|
4330
4334
|
style: { width: "300px" }
|
|
4331
|
-
},
|
|
4335
|
+
}, Cl = { class: "form-buttons" }, Il = /* @__PURE__ */ j({
|
|
4332
4336
|
__name: "VPlayerSettingsUi",
|
|
4333
4337
|
props: {
|
|
4334
4338
|
initialSettings: {}
|
|
@@ -4347,8 +4351,8 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4347
4351
|
);
|
|
4348
4352
|
const o = T(() => {
|
|
4349
4353
|
let f = {};
|
|
4350
|
-
for (const [
|
|
4351
|
-
|
|
4354
|
+
for (const [y, F] of Object.entries(n.value))
|
|
4355
|
+
y === "whitePoint" ? f[y] = d(F.value) : f[y] = F.value;
|
|
4352
4356
|
return f;
|
|
4353
4357
|
});
|
|
4354
4358
|
function i() {
|
|
@@ -4359,8 +4363,8 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4359
4363
|
f.href = URL.createObjectURL(
|
|
4360
4364
|
new Blob([JSON.stringify(o.value, null, 2)])
|
|
4361
4365
|
);
|
|
4362
|
-
const
|
|
4363
|
-
f.download =
|
|
4366
|
+
const y = `player-settings-${Date.now()}.json`;
|
|
4367
|
+
f.download = y, f.style.display = "none", document.body.appendChild(f), f.click(), document.body.removeChild(f);
|
|
4364
4368
|
}
|
|
4365
4369
|
function p() {
|
|
4366
4370
|
a("saveSettings", o.value);
|
|
@@ -4369,18 +4373,18 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4369
4373
|
n.value = h(), a("updateSettings", o.value);
|
|
4370
4374
|
}
|
|
4371
4375
|
function d(f) {
|
|
4372
|
-
const
|
|
4373
|
-
return [
|
|
4376
|
+
const y = parseInt(f.substr(1, 2), 16) / 255, F = parseInt(f.substr(3, 2), 16) / 255, k = parseInt(f.substr(5, 2), 16) / 255;
|
|
4377
|
+
return [y, F, k];
|
|
4374
4378
|
}
|
|
4375
4379
|
function c(f) {
|
|
4376
|
-
var
|
|
4377
|
-
return
|
|
4380
|
+
var y = f.toString(16);
|
|
4381
|
+
return y.length == 1 ? "0" + y : y;
|
|
4378
4382
|
}
|
|
4379
|
-
function
|
|
4380
|
-
return "#" + c(parseInt((f * 255).toString())) + c(parseInt((
|
|
4383
|
+
function w([f, y, F]) {
|
|
4384
|
+
return "#" + c(parseInt((f * 255).toString())) + c(parseInt((y * 255).toString())) + c(parseInt((F * 255).toString()));
|
|
4381
4385
|
}
|
|
4382
4386
|
function h(f = {}) {
|
|
4383
|
-
const
|
|
4387
|
+
const y = [
|
|
4384
4388
|
"Cool 5",
|
|
4385
4389
|
"Cool 10",
|
|
4386
4390
|
"Cool 15",
|
|
@@ -4462,12 +4466,12 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4462
4466
|
whitePoint: {
|
|
4463
4467
|
label: "White Point",
|
|
4464
4468
|
type: "color",
|
|
4465
|
-
value:
|
|
4469
|
+
value: w(F.whitePoint)
|
|
4466
4470
|
},
|
|
4467
4471
|
lut: {
|
|
4468
4472
|
label: "Lut",
|
|
4469
4473
|
type: "lut",
|
|
4470
|
-
items:
|
|
4474
|
+
items: y.map((k) => ({
|
|
4471
4475
|
text: k,
|
|
4472
4476
|
value: `https://cdn.visuado.com/luts/${k}.png`
|
|
4473
4477
|
})),
|
|
@@ -4475,11 +4479,11 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4475
4479
|
}
|
|
4476
4480
|
};
|
|
4477
4481
|
}
|
|
4478
|
-
return (f,
|
|
4479
|
-
const F = B("v-text-field"), k = B("v-slider"), g = B("v-checkbox"), U = B("v-btn"),
|
|
4480
|
-
return m(), S("div",
|
|
4481
|
-
r("form",
|
|
4482
|
-
r("div",
|
|
4482
|
+
return (f, y) => {
|
|
4483
|
+
const F = B("v-text-field"), k = B("v-slider"), g = B("v-checkbox"), U = B("v-btn"), _ = B("v-select"), V = B("v-icon");
|
|
4484
|
+
return m(), S("div", rl, [
|
|
4485
|
+
r("form", ul, [
|
|
4486
|
+
r("div", cl, [
|
|
4483
4487
|
(m(!0), S(re, null, ve(n.value, (C, L, G) => (m(), S("div", {
|
|
4484
4488
|
key: G,
|
|
4485
4489
|
"d-block": ""
|
|
@@ -4494,11 +4498,11 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4494
4498
|
step: C.step
|
|
4495
4499
|
}, {
|
|
4496
4500
|
prepend: A(() => [
|
|
4497
|
-
r("div",
|
|
4501
|
+
r("div", dl, N(C.label), 1)
|
|
4498
4502
|
]),
|
|
4499
4503
|
append: A(() => [
|
|
4500
4504
|
r("div", null, [
|
|
4501
|
-
|
|
4505
|
+
b(F, {
|
|
4502
4506
|
modelValue: n.value[L].value,
|
|
4503
4507
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4504
4508
|
"hide-details": "",
|
|
@@ -4522,7 +4526,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4522
4526
|
onChange: i
|
|
4523
4527
|
}, {
|
|
4524
4528
|
prepend: A(() => [
|
|
4525
|
-
r("div",
|
|
4529
|
+
r("div", vl, N(C.label), 1)
|
|
4526
4530
|
]),
|
|
4527
4531
|
append: A(() => [
|
|
4528
4532
|
r("div", null, N(C.value), 1)
|
|
@@ -4536,18 +4540,18 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4536
4540
|
min: C.min,
|
|
4537
4541
|
step: C.step
|
|
4538
4542
|
}, [
|
|
4539
|
-
r("div",
|
|
4540
|
-
r("div",
|
|
4543
|
+
r("div", pl, N(C.label), 1),
|
|
4544
|
+
r("div", fl, [
|
|
4541
4545
|
de(r("input", {
|
|
4542
4546
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4543
4547
|
type: "color",
|
|
4544
4548
|
onChange: i
|
|
4545
|
-
}, null, 40,
|
|
4549
|
+
}, null, 40, hl), [
|
|
4546
4550
|
[Ft, n.value[L].value]
|
|
4547
4551
|
])
|
|
4548
4552
|
]),
|
|
4549
4553
|
r("div", null, [
|
|
4550
|
-
|
|
4554
|
+
b(F, {
|
|
4551
4555
|
modelValue: n.value[L].value,
|
|
4552
4556
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4553
4557
|
"hide-details": "",
|
|
@@ -4559,12 +4563,12 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4559
4563
|
onChange: i
|
|
4560
4564
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4561
4565
|
])
|
|
4562
|
-
], 8,
|
|
4563
|
-
C.type === "lut" ? (m(), S("div",
|
|
4564
|
-
r("div",
|
|
4565
|
-
r("div",
|
|
4566
|
+
], 8, ml)) : Y("", !0),
|
|
4567
|
+
C.type === "lut" ? (m(), S("div", gl, [
|
|
4568
|
+
r("div", yl, [
|
|
4569
|
+
r("div", _l, N(C.label), 1),
|
|
4566
4570
|
r("div", null, [
|
|
4567
|
-
|
|
4571
|
+
b(U, {
|
|
4568
4572
|
class: "ml-2",
|
|
4569
4573
|
"x-small": "",
|
|
4570
4574
|
onClick: (D) => n.value[L].value = null
|
|
@@ -4577,9 +4581,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4577
4581
|
])
|
|
4578
4582
|
]),
|
|
4579
4583
|
r("div", null, [
|
|
4580
|
-
r("div",
|
|
4584
|
+
r("div", wl, [
|
|
4581
4585
|
r("div", null, [
|
|
4582
|
-
|
|
4586
|
+
b(_, {
|
|
4583
4587
|
modelValue: n.value[L].value,
|
|
4584
4588
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4585
4589
|
items: C.items,
|
|
@@ -4593,9 +4597,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4593
4597
|
]),
|
|
4594
4598
|
r("div", null, [
|
|
4595
4599
|
bl,
|
|
4596
|
-
r("div",
|
|
4600
|
+
r("div", kl, [
|
|
4597
4601
|
r("div", null, [
|
|
4598
|
-
|
|
4602
|
+
b(F, {
|
|
4599
4603
|
modelValue: n.value[L].value,
|
|
4600
4604
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4601
4605
|
"hide-details": "",
|
|
@@ -4610,22 +4614,22 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4610
4614
|
])) : Y("", !0)
|
|
4611
4615
|
]))), 128))
|
|
4612
4616
|
]),
|
|
4613
|
-
r("div",
|
|
4614
|
-
|
|
4615
|
-
onClick:
|
|
4617
|
+
r("div", Cl, [
|
|
4618
|
+
b(U, {
|
|
4619
|
+
onClick: y[0] || (y[0] = (C) => l())
|
|
4616
4620
|
}, {
|
|
4617
4621
|
default: A(() => [
|
|
4618
4622
|
X("Reset")
|
|
4619
4623
|
]),
|
|
4620
4624
|
_: 1
|
|
4621
4625
|
}),
|
|
4622
|
-
|
|
4626
|
+
b(U, {
|
|
4623
4627
|
class: "ml-2",
|
|
4624
|
-
onClick:
|
|
4628
|
+
onClick: y[1] || (y[1] = (C) => s())
|
|
4625
4629
|
}, {
|
|
4626
4630
|
default: A(() => [
|
|
4627
4631
|
X(" Download Json "),
|
|
4628
|
-
|
|
4632
|
+
b(V, { color: "black darken-1" }, {
|
|
4629
4633
|
default: A(() => [
|
|
4630
4634
|
X("mdi-download")
|
|
4631
4635
|
]),
|
|
@@ -4634,13 +4638,13 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4634
4638
|
]),
|
|
4635
4639
|
_: 1
|
|
4636
4640
|
}),
|
|
4637
|
-
|
|
4641
|
+
b(U, {
|
|
4638
4642
|
class: "ml-2",
|
|
4639
|
-
onClick:
|
|
4643
|
+
onClick: y[2] || (y[2] = (C) => p())
|
|
4640
4644
|
}, {
|
|
4641
4645
|
default: A(() => [
|
|
4642
4646
|
X(" Save Settings "),
|
|
4643
|
-
|
|
4647
|
+
b(V, { color: "black darken-1" }, {
|
|
4644
4648
|
default: A(() => [
|
|
4645
4649
|
X("mdi-save")
|
|
4646
4650
|
]),
|
|
@@ -4654,10 +4658,10 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4654
4658
|
]);
|
|
4655
4659
|
};
|
|
4656
4660
|
}
|
|
4657
|
-
}),
|
|
4661
|
+
}), Al = /* @__PURE__ */ q(Il, [["__scopeId", "data-v-bd4f66c3"]]), Ll = (v) => (st("data-v-30593022"), v = v(), it(), v), xl = /* @__PURE__ */ Ll(() => /* @__PURE__ */ r("div", { id: "filler-div" }, null, -1)), Fl = {
|
|
4658
4662
|
class: "moveable-body",
|
|
4659
4663
|
id: "moveableDivHeader"
|
|
4660
|
-
},
|
|
4664
|
+
}, Dl = { class: "moveable-footer" }, Sl = /* @__PURE__ */ j({
|
|
4661
4665
|
__name: "VMoveable",
|
|
4662
4666
|
emits: ["close", "transform"],
|
|
4663
4667
|
setup(v, { emit: t }) {
|
|
@@ -4670,16 +4674,16 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4670
4674
|
if (!s)
|
|
4671
4675
|
return;
|
|
4672
4676
|
let p = 0, l = 0, d = 0, c = 0;
|
|
4673
|
-
s.addEventListener("touchstart",
|
|
4674
|
-
function
|
|
4675
|
-
|
|
4676
|
-
let F =
|
|
4677
|
-
|
|
4677
|
+
s.addEventListener("touchstart", w, { passive: !1 }), s.addEventListener("touchend", f, { passive: !1 }), s.addEventListener("mousedown", w, { passive: !1 }), s.addEventListener("mouseup", f, { passive: !1 });
|
|
4678
|
+
function w(y) {
|
|
4679
|
+
y = y || window.event, y.preventDefault();
|
|
4680
|
+
let F = y;
|
|
4681
|
+
y.type === "touchstart" && (F = y.touches[0]), d = F.clientX, c = F.clientY, document.addEventListener("mouseup", f, { passive: !1 }), document.addEventListener("touchend", f, { passive: !1 }), document.addEventListener("mousemove", h, { passive: !1 }), document.addEventListener("touchmove", h, { passive: !1 });
|
|
4678
4682
|
}
|
|
4679
|
-
function h(
|
|
4680
|
-
|
|
4681
|
-
let F =
|
|
4682
|
-
|
|
4683
|
+
function h(y) {
|
|
4684
|
+
y = y || window.event, y.preventDefault();
|
|
4685
|
+
let F = y;
|
|
4686
|
+
y.type === "touchmove" && (F = y.touches[0]), p = d - F.clientX, l = c - F.clientY, d = F.clientX, c = F.clientY, i.style.top = i.offsetTop - l + "px", i.style.left = i.offsetLeft - p + "px";
|
|
4683
4687
|
}
|
|
4684
4688
|
function f() {
|
|
4685
4689
|
document.removeEventListener("mouseup", f, !1), document.removeEventListener("mousemove", h, !1), document.removeEventListener("touchend", f, !1), document.removeEventListener("touchmove", h, !1);
|
|
@@ -4694,57 +4698,57 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4694
4698
|
id: "moveableDiv",
|
|
4695
4699
|
class: xe(["big d-flex justify-space-between flex-column align-center sizer", a.value])
|
|
4696
4700
|
}, [
|
|
4697
|
-
|
|
4701
|
+
b(p, {
|
|
4698
4702
|
class: "close-icon",
|
|
4699
4703
|
icon: "mdi-window-close",
|
|
4700
4704
|
size: "x-small",
|
|
4701
4705
|
onClick: s[0] || (s[0] = (l) => e("close"))
|
|
4702
4706
|
}),
|
|
4703
|
-
|
|
4707
|
+
b(p, {
|
|
4704
4708
|
class: "resize-icon",
|
|
4705
4709
|
icon: "mdi-image-size-select-small",
|
|
4706
4710
|
size: "x-small",
|
|
4707
4711
|
onClick: o,
|
|
4708
4712
|
title: "Resize"
|
|
4709
4713
|
}),
|
|
4710
|
-
|
|
4714
|
+
b(p, {
|
|
4711
4715
|
class: "rotate-icon",
|
|
4712
4716
|
size: "x-small",
|
|
4713
4717
|
icon: "mdi mdi-rotate-right",
|
|
4714
4718
|
onClick: s[1] || (s[1] = (l) => e("transform")),
|
|
4715
4719
|
title: "Rotate"
|
|
4716
4720
|
}),
|
|
4717
|
-
|
|
4718
|
-
r("div",
|
|
4721
|
+
xl,
|
|
4722
|
+
r("div", Fl, [
|
|
4719
4723
|
oe(i.$slots, "body", { class: "slot" }, void 0, !0)
|
|
4720
4724
|
]),
|
|
4721
|
-
r("div",
|
|
4725
|
+
r("div", Dl, [
|
|
4722
4726
|
oe(i.$slots, "footer", {}, void 0, !0)
|
|
4723
4727
|
])
|
|
4724
4728
|
], 2);
|
|
4725
4729
|
};
|
|
4726
4730
|
}
|
|
4727
|
-
}),
|
|
4731
|
+
}), Ml = /* @__PURE__ */ q(Sl, [["__scopeId", "data-v-30593022"]]), El = {
|
|
4728
4732
|
class: "rotation-marker-svg",
|
|
4729
4733
|
viewBox: "0 0 40 40",
|
|
4730
4734
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4731
|
-
},
|
|
4732
|
-
|
|
4733
|
-
],
|
|
4735
|
+
}, Tl = /* @__PURE__ */ ht('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), Vl = ["transform"], Bl = /* @__PURE__ */ ht('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), Rl = [
|
|
4736
|
+
Bl
|
|
4737
|
+
], Ol = /* @__PURE__ */ j({
|
|
4734
4738
|
__name: "VRotationMarker",
|
|
4735
4739
|
props: {
|
|
4736
4740
|
rotation: {}
|
|
4737
4741
|
},
|
|
4738
4742
|
setup(v) {
|
|
4739
|
-
return (t, e) => (m(), S("svg",
|
|
4740
|
-
|
|
4743
|
+
return (t, e) => (m(), S("svg", El, [
|
|
4744
|
+
Tl,
|
|
4741
4745
|
r("g", {
|
|
4742
4746
|
"transform-origin": "20 20",
|
|
4743
4747
|
transform: `rotate(${45 + t.rotation})`
|
|
4744
|
-
},
|
|
4748
|
+
}, Rl, 8, Vl)
|
|
4745
4749
|
]));
|
|
4746
4750
|
}
|
|
4747
|
-
}),
|
|
4751
|
+
}), Ul = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, $l = { class: "minimap-container" }, Hl = /* @__PURE__ */ j({
|
|
4748
4752
|
__name: "VMiniMapMap",
|
|
4749
4753
|
props: {
|
|
4750
4754
|
backgroundImage: {},
|
|
@@ -4755,21 +4759,21 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4755
4759
|
transformAngle: {}
|
|
4756
4760
|
},
|
|
4757
4761
|
setup(v) {
|
|
4758
|
-
const t = v, e = u(512), a = u(384), n = u(new Ve.Vector3()), o = u(new Ve.Object3D()), i = u({}), s = u(1), p = u(), l = T(() => t.allCameras), d = T(() => t.allCameras.find((L) => L.id === t.currentCamera)), c = T(() => t.rotation),
|
|
4762
|
+
const t = v, e = u(512), a = u(384), n = u(new Ve.Vector3()), o = u(new Ve.Object3D()), i = u({}), s = u(1), p = u(), l = T(() => t.allCameras), d = T(() => t.allCameras.find((L) => L.id === t.currentCamera)), c = T(() => t.rotation), w = T(() => new Ve.Vector3(
|
|
4759
4763
|
t.storey.position.x,
|
|
4760
4764
|
t.storey.position.y,
|
|
4761
4765
|
t.storey.position.z
|
|
4762
4766
|
)), h = T(() => parseFloat(d.value.floor_vertical_position)), f = T(() => l.value.map((L) => {
|
|
4763
4767
|
const G = L.uposition.split(","), D = new Ve.Vector3(
|
|
4764
|
-
Number(G[0]) -
|
|
4768
|
+
Number(G[0]) - w.value.x,
|
|
4765
4769
|
0,
|
|
4766
|
-
Number(G[2]) -
|
|
4770
|
+
Number(G[2]) - w.value.z
|
|
4767
4771
|
);
|
|
4768
4772
|
return {
|
|
4769
4773
|
...L,
|
|
4770
|
-
...
|
|
4774
|
+
..._(n.value, D)
|
|
4771
4775
|
};
|
|
4772
|
-
})),
|
|
4776
|
+
})), y = T(() => `background-image: url(${t.backgroundImage});`), F = T(() => {
|
|
4773
4777
|
let L = s.value > 1 ? 1 : s.value;
|
|
4774
4778
|
return L < 0.8 && (L = 0.4), `scale: ${L > 1 ? 1 : L}; transform: rotate(${t.transformAngle}deg);`;
|
|
4775
4779
|
});
|
|
@@ -4796,7 +4800,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4796
4800
|
left: `${Math.abs(L.left)}%`
|
|
4797
4801
|
};
|
|
4798
4802
|
}
|
|
4799
|
-
function
|
|
4803
|
+
function _(L, G) {
|
|
4800
4804
|
var D = new Ve.Vector3();
|
|
4801
4805
|
const Z = D.subVectors(L, G);
|
|
4802
4806
|
return {
|
|
@@ -4818,15 +4822,15 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4818
4822
|
const G = L.offsetHeight / 384 * 0.8, D = L.offsetWidth / 512 * 0.8;
|
|
4819
4823
|
L.offsetHeight > L.offsetWidth ? s.value = D * 0.5 : s.value = G * 0.9;
|
|
4820
4824
|
}
|
|
4821
|
-
return (L, G) => (m(), S("div",
|
|
4822
|
-
r("div",
|
|
4825
|
+
return (L, G) => (m(), S("div", Ul, [
|
|
4826
|
+
r("div", $l, [
|
|
4823
4827
|
r("div", {
|
|
4824
4828
|
class: "web-minimap",
|
|
4825
4829
|
style: le(F.value)
|
|
4826
4830
|
}, [
|
|
4827
4831
|
r("div", {
|
|
4828
4832
|
class: "minimap-background-image",
|
|
4829
|
-
style: le(
|
|
4833
|
+
style: le(y.value)
|
|
4830
4834
|
}, null, 4),
|
|
4831
4835
|
r("div", {
|
|
4832
4836
|
class: "center-pivot",
|
|
@@ -4840,7 +4844,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4840
4844
|
class: "single-camera-marker",
|
|
4841
4845
|
style: le(U(D))
|
|
4842
4846
|
}, null, 4)) : Y("", !0),
|
|
4843
|
-
d.value.id === D.id && t.rotation !== null ? (m(), $(
|
|
4847
|
+
d.value.id === D.id && t.rotation !== null ? (m(), $(Ol, {
|
|
4844
4848
|
key: 1,
|
|
4845
4849
|
class: "rotation-marker-component",
|
|
4846
4850
|
rotation: c.value,
|
|
@@ -4852,7 +4856,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4852
4856
|
])
|
|
4853
4857
|
]));
|
|
4854
4858
|
}
|
|
4855
|
-
}),
|
|
4859
|
+
}), Yl = /* @__PURE__ */ q(Hl, [["__scopeId", "data-v-1a6129d7"]]), jl = /* @__PURE__ */ j({
|
|
4856
4860
|
__name: "VMiniMapCompass",
|
|
4857
4861
|
props: {
|
|
4858
4862
|
scale: {},
|
|
@@ -4865,16 +4869,16 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4865
4869
|
class: "minimap-compass",
|
|
4866
4870
|
style: le({ scale: a.scale })
|
|
4867
4871
|
}, [
|
|
4868
|
-
|
|
4872
|
+
b(Ze, {
|
|
4869
4873
|
class: "north-indicator",
|
|
4870
4874
|
longitude: e.value
|
|
4871
4875
|
}, null, 8, ["longitude"])
|
|
4872
4876
|
], 4));
|
|
4873
4877
|
}
|
|
4874
|
-
}),
|
|
4878
|
+
}), Pl = /* @__PURE__ */ q(jl, [["__scopeId", "data-v-552c1d19"]]), Wl = { class: "ss-wrapper" }, Nl = { class: "slider" }, zl = { class: "minimap-sun-slider" }, Gl = {
|
|
4875
4879
|
key: 0,
|
|
4876
4880
|
class: "time-label"
|
|
4877
|
-
},
|
|
4881
|
+
}, Ql = /* @__PURE__ */ j({
|
|
4878
4882
|
__name: "VSunSimulationSlider",
|
|
4879
4883
|
props: {
|
|
4880
4884
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4896,26 +4900,26 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4896
4900
|
l.value.sunsimFiles[n.value]
|
|
4897
4901
|
), i.value = !1;
|
|
4898
4902
|
const k = await h(e.minimapJson.storeys);
|
|
4899
|
-
p.value = k, o.value = !1, a("setBackgroundImage",
|
|
4903
|
+
p.value = k, o.value = !1, a("setBackgroundImage", w(e.level, n.value));
|
|
4900
4904
|
}), H(n, () => {
|
|
4901
|
-
const k =
|
|
4905
|
+
const k = w(e.level, n.value);
|
|
4902
4906
|
a("setBackgroundImage", k);
|
|
4903
4907
|
}), H(
|
|
4904
4908
|
() => e.level,
|
|
4905
4909
|
() => {
|
|
4906
|
-
a("setBackgroundImage",
|
|
4910
|
+
a("setBackgroundImage", w(e.level, n.value));
|
|
4907
4911
|
},
|
|
4908
4912
|
{ immediate: !0 }
|
|
4909
4913
|
);
|
|
4910
|
-
function
|
|
4914
|
+
function w(k, g) {
|
|
4911
4915
|
return p.value.get(`sunsim${k}_${g}`) ? p.value.get(`sunsim${k}_${g}`) : "";
|
|
4912
4916
|
}
|
|
4913
4917
|
async function h(k) {
|
|
4914
4918
|
let g = /* @__PURE__ */ new Map();
|
|
4915
4919
|
for (let U = 0; U < k.length; U++) {
|
|
4916
|
-
const
|
|
4917
|
-
for (let V = 0; V <
|
|
4918
|
-
const C =
|
|
4920
|
+
const _ = k[U].sunsimFiles;
|
|
4921
|
+
for (let V = 0; V < _.length; V++) {
|
|
4922
|
+
const C = _[V];
|
|
4919
4923
|
try {
|
|
4920
4924
|
const L = C, G = C.split("."), D = await f(L);
|
|
4921
4925
|
g.set(G[0], D);
|
|
@@ -4932,26 +4936,26 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4932
4936
|
e.cdnFileResolver,
|
|
4933
4937
|
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${k}`
|
|
4934
4938
|
)
|
|
4935
|
-
)).blob(),
|
|
4936
|
-
return _
|
|
4939
|
+
)).blob(), _ = await F(U);
|
|
4940
|
+
return y(_);
|
|
4937
4941
|
}
|
|
4938
|
-
function
|
|
4942
|
+
function y(k) {
|
|
4939
4943
|
return "data:image/jpeg;base64," + k;
|
|
4940
4944
|
}
|
|
4941
4945
|
async function F(k) {
|
|
4942
4946
|
return new Promise((g, U) => {
|
|
4943
|
-
const
|
|
4944
|
-
|
|
4945
|
-
const V =
|
|
4947
|
+
const _ = new FileReader();
|
|
4948
|
+
_.onload = () => {
|
|
4949
|
+
const V = _.result.split(",")[1];
|
|
4946
4950
|
g(V);
|
|
4947
|
-
},
|
|
4951
|
+
}, _.onerror = U, _.readAsDataURL(k);
|
|
4948
4952
|
});
|
|
4949
4953
|
}
|
|
4950
4954
|
return (k, g) => {
|
|
4951
|
-
const U = B("v-progress-linear"),
|
|
4952
|
-
return m(), S("div",
|
|
4953
|
-
r("div",
|
|
4954
|
-
r("div",
|
|
4955
|
+
const U = B("v-progress-linear"), _ = B("v-icon"), V = B("v-slider");
|
|
4956
|
+
return m(), S("div", Wl, [
|
|
4957
|
+
r("div", Nl, [
|
|
4958
|
+
r("div", zl, [
|
|
4955
4959
|
o.value ? (m(), $(U, {
|
|
4956
4960
|
key: 0,
|
|
4957
4961
|
indeterminate: "",
|
|
@@ -4972,7 +4976,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4972
4976
|
"hide-details": !0
|
|
4973
4977
|
}, {
|
|
4974
4978
|
prepend: A(() => [
|
|
4975
|
-
|
|
4979
|
+
b(_, { color: "#ffab02" }, {
|
|
4976
4980
|
default: A(() => [
|
|
4977
4981
|
X("mdi-white-balance-sunny")
|
|
4978
4982
|
]),
|
|
@@ -4982,12 +4986,12 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
4982
4986
|
_: 1
|
|
4983
4987
|
}, 8, ["modelValue"]))
|
|
4984
4988
|
]),
|
|
4985
|
-
o.value ? Y("", !0) : (m(), S("div",
|
|
4989
|
+
o.value ? Y("", !0) : (m(), S("div", Gl, N(c.value) + " " + N(d.value), 1))
|
|
4986
4990
|
])
|
|
4987
4991
|
]);
|
|
4988
4992
|
};
|
|
4989
4993
|
}
|
|
4990
|
-
}),
|
|
4994
|
+
}), ql = /* @__PURE__ */ q(Ql, [["__scopeId", "data-v-b2f12eb0"]]), Zl = /* @__PURE__ */ j({
|
|
4991
4995
|
__name: "VMiniMap",
|
|
4992
4996
|
props: {
|
|
4993
4997
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5017,18 +5021,18 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5017
5021
|
function l() {
|
|
5018
5022
|
o.value = o.value + 90;
|
|
5019
5023
|
}
|
|
5020
|
-
return (d, c) => (m(), $(
|
|
5021
|
-
onClose: c[0] || (c[0] = (
|
|
5024
|
+
return (d, c) => (m(), $(Ml, {
|
|
5025
|
+
onClose: c[0] || (c[0] = (w) => a("close")),
|
|
5022
5026
|
onTransform: l
|
|
5023
5027
|
}, {
|
|
5024
5028
|
body: A(() => [
|
|
5025
|
-
|
|
5029
|
+
b(Pl, {
|
|
5026
5030
|
scale: s.value,
|
|
5027
5031
|
rotation: i.value.rotation.y,
|
|
5028
5032
|
"transform-angle": o.value
|
|
5029
5033
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
5030
5034
|
r("div", null, [
|
|
5031
|
-
|
|
5035
|
+
b(Yl, {
|
|
5032
5036
|
"transform-angle": o.value,
|
|
5033
5037
|
"all-cameras": d.apartmentJson.cameras,
|
|
5034
5038
|
"background-image": n.value,
|
|
@@ -5039,7 +5043,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5039
5043
|
])
|
|
5040
5044
|
]),
|
|
5041
5045
|
footer: A(() => [
|
|
5042
|
-
|
|
5046
|
+
b(ql, {
|
|
5043
5047
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
5044
5048
|
"minimap-json": e.minimapJson,
|
|
5045
5049
|
"apartment-json": e.apartmentJson,
|
|
@@ -5050,16 +5054,16 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5050
5054
|
_: 1
|
|
5051
5055
|
}));
|
|
5052
5056
|
}
|
|
5053
|
-
}), mt = /* @__PURE__ */ q(
|
|
5057
|
+
}), mt = /* @__PURE__ */ q(Zl, [["__scopeId", "data-v-898e645b"]]), Xl = {
|
|
5054
5058
|
key: 0,
|
|
5055
5059
|
class: "text-white disclaimer caption"
|
|
5056
|
-
},
|
|
5060
|
+
}, Jl = /* @__PURE__ */ j({
|
|
5057
5061
|
__name: "VDisclaimer",
|
|
5058
5062
|
setup(v) {
|
|
5059
5063
|
const t = Be(Ce), e = u(!0);
|
|
5060
5064
|
return (a, n) => (m(), $(Se, { name: "fade-transition" }, {
|
|
5061
5065
|
default: A(() => [
|
|
5062
|
-
e.value ? (m(), S("div",
|
|
5066
|
+
e.value ? (m(), S("div", Xl, [
|
|
5063
5067
|
X(N(ne(t).getLabel("allIllustrationsAreIndicativeDeviationsMayOccur")) + " ", 1),
|
|
5064
5068
|
r("span", {
|
|
5065
5069
|
onClick: n[0] || (n[0] = (o) => e.value = !1),
|
|
@@ -5070,7 +5074,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5070
5074
|
_: 1
|
|
5071
5075
|
}));
|
|
5072
5076
|
}
|
|
5073
|
-
}),
|
|
5077
|
+
}), Kl = /* @__PURE__ */ q(Jl, [["__scopeId", "data-v-046402dc"]]), es = { class: "waypoint-carousel" }, ts = 37, ns = 39, as = /* @__PURE__ */ j({
|
|
5074
5078
|
__name: "VWaypointCarousel",
|
|
5075
5079
|
props: {
|
|
5076
5080
|
thumbnails: {},
|
|
@@ -5095,10 +5099,10 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5095
5099
|
});
|
|
5096
5100
|
function s(l) {
|
|
5097
5101
|
switch (l.keyCode) {
|
|
5098
|
-
case l.keyCode ===
|
|
5102
|
+
case l.keyCode === ts:
|
|
5099
5103
|
a("previous");
|
|
5100
5104
|
break;
|
|
5101
|
-
case l.keyCode ===
|
|
5105
|
+
case l.keyCode === ns:
|
|
5102
5106
|
a("next");
|
|
5103
5107
|
break;
|
|
5104
5108
|
default:
|
|
@@ -5109,9 +5113,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5109
5113
|
d(), a("goto", l);
|
|
5110
5114
|
}
|
|
5111
5115
|
return (l, d) => {
|
|
5112
|
-
const c = B("v-icon"),
|
|
5113
|
-
return m(), S("div",
|
|
5114
|
-
|
|
5116
|
+
const c = B("v-icon"), w = B("v-btn"), h = B("v-hover"), f = B("v-img"), y = B("v-card"), F = B("v-slide-group-item"), k = B("v-slide-group");
|
|
5117
|
+
return m(), S("div", es, [
|
|
5118
|
+
b(k, {
|
|
5115
5119
|
modelValue: o.value,
|
|
5116
5120
|
"onUpdate:modelValue": d[2] || (d[2] = (g) => o.value = g),
|
|
5117
5121
|
"active-class": "active-apt",
|
|
@@ -5121,15 +5125,15 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5121
5125
|
mandatory: ""
|
|
5122
5126
|
}, {
|
|
5123
5127
|
prev: A(() => [
|
|
5124
|
-
|
|
5128
|
+
b(h, null, {
|
|
5125
5129
|
default: A(({ isHovering: g }) => [
|
|
5126
|
-
w
|
|
5130
|
+
b(w, {
|
|
5127
5131
|
elevation: "0",
|
|
5128
5132
|
class: xe(["carousel-button", { mobile: i.value }]),
|
|
5129
5133
|
onClick: d[0] || (d[0] = (U) => a("previous"))
|
|
5130
5134
|
}, {
|
|
5131
5135
|
default: A(() => [
|
|
5132
|
-
|
|
5136
|
+
b(c, {
|
|
5133
5137
|
color: g ? "#999" : "#d2d2d2",
|
|
5134
5138
|
"x-large": ""
|
|
5135
5139
|
}, {
|
|
@@ -5146,15 +5150,15 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5146
5150
|
})
|
|
5147
5151
|
]),
|
|
5148
5152
|
next: A(() => [
|
|
5149
|
-
|
|
5153
|
+
b(h, null, {
|
|
5150
5154
|
default: A(({ isHovering: g }) => [
|
|
5151
|
-
w
|
|
5155
|
+
b(w, {
|
|
5152
5156
|
elevation: "0",
|
|
5153
5157
|
class: xe(["carousel-button", { mobile: i.value }]),
|
|
5154
5158
|
onClick: d[1] || (d[1] = (U) => a("next"))
|
|
5155
5159
|
}, {
|
|
5156
5160
|
default: A(() => [
|
|
5157
|
-
|
|
5161
|
+
b(c, {
|
|
5158
5162
|
color: g ? "#999" : "#d2d2d2",
|
|
5159
5163
|
"x-large": ""
|
|
5160
5164
|
}, {
|
|
@@ -5174,9 +5178,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5174
5178
|
(m(!0), S(re, null, ve(l.thumbnails, (g) => (m(), $(F, {
|
|
5175
5179
|
key: g.id
|
|
5176
5180
|
}, {
|
|
5177
|
-
default: A(({ toggle: U, selectedClass:
|
|
5178
|
-
|
|
5179
|
-
class: xe(["ma-2",
|
|
5181
|
+
default: A(({ toggle: U, selectedClass: _ }) => [
|
|
5182
|
+
b(y, {
|
|
5183
|
+
class: xe(["ma-2", _]),
|
|
5180
5184
|
align: "center",
|
|
5181
5185
|
justify: "center",
|
|
5182
5186
|
height: i.value ? 50 : 100,
|
|
@@ -5186,7 +5190,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5186
5190
|
onClick: (V) => p(g.id, U)
|
|
5187
5191
|
}, {
|
|
5188
5192
|
default: A(() => [
|
|
5189
|
-
|
|
5193
|
+
b(f, {
|
|
5190
5194
|
"max-height": "100",
|
|
5191
5195
|
"max-width": "160",
|
|
5192
5196
|
cover: "",
|
|
@@ -5204,10 +5208,10 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5204
5208
|
]);
|
|
5205
5209
|
};
|
|
5206
5210
|
}
|
|
5207
|
-
}), pt = /* @__PURE__ */ q(
|
|
5211
|
+
}), pt = /* @__PURE__ */ q(as, [["__scopeId", "data-v-45edaf7a"]]), os = {
|
|
5208
5212
|
id: "share-btns-wrapper",
|
|
5209
5213
|
class: "text-center"
|
|
5210
|
-
},
|
|
5214
|
+
}, ls = /* @__PURE__ */ j({
|
|
5211
5215
|
__name: "VSocialShare",
|
|
5212
5216
|
setup(v) {
|
|
5213
5217
|
const t = Be(Ce), e = u(!1), a = u(location.href);
|
|
@@ -5236,15 +5240,15 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5236
5240
|
navigator.clipboard.writeText(location.href);
|
|
5237
5241
|
}
|
|
5238
5242
|
return (p, l) => {
|
|
5239
|
-
const d = B("v-btn"), c = B("v-tooltip"),
|
|
5243
|
+
const d = B("v-btn"), c = B("v-tooltip"), w = B("v-toolbar-title"), h = B("v-spacer"), f = B("v-toolbar"), y = B("v-card-text"), F = B("v-card"), k = B("v-dialog");
|
|
5240
5244
|
return m(), S("div", null, [
|
|
5241
|
-
|
|
5245
|
+
b(c, {
|
|
5242
5246
|
elevation: "2",
|
|
5243
5247
|
top: "",
|
|
5244
5248
|
attach: ""
|
|
5245
5249
|
}, {
|
|
5246
5250
|
activator: A(({ props: g }) => [
|
|
5247
|
-
|
|
5251
|
+
b(d, ye({
|
|
5248
5252
|
density: "comfortable",
|
|
5249
5253
|
elevation: "1",
|
|
5250
5254
|
icon: "mdi-share-variant",
|
|
@@ -5256,38 +5260,38 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5256
5260
|
]),
|
|
5257
5261
|
_: 1
|
|
5258
5262
|
}),
|
|
5259
|
-
|
|
5263
|
+
b(k, {
|
|
5260
5264
|
id: "share-box",
|
|
5261
5265
|
width: "400",
|
|
5262
5266
|
modelValue: e.value,
|
|
5263
5267
|
"onUpdate:modelValue": l[2] || (l[2] = (g) => e.value = g)
|
|
5264
5268
|
}, {
|
|
5265
5269
|
default: A(() => [
|
|
5266
|
-
|
|
5270
|
+
b(F, null, {
|
|
5267
5271
|
default: A(() => [
|
|
5268
|
-
|
|
5272
|
+
b(f, { elevation: "0" }, {
|
|
5269
5273
|
default: A(() => [
|
|
5270
|
-
|
|
5274
|
+
b(d, {
|
|
5271
5275
|
size: "x-small",
|
|
5272
5276
|
icon: "mdi-close",
|
|
5273
5277
|
onClick: l[1] || (l[1] = (g) => e.value = !1)
|
|
5274
5278
|
}),
|
|
5275
|
-
w
|
|
5279
|
+
b(w, null, {
|
|
5276
5280
|
default: A(() => [
|
|
5277
5281
|
X(N(ne(t).getLabel("share")), 1)
|
|
5278
5282
|
]),
|
|
5279
5283
|
_: 1
|
|
5280
5284
|
}),
|
|
5281
|
-
|
|
5285
|
+
b(h)
|
|
5282
5286
|
]),
|
|
5283
5287
|
_: 1
|
|
5284
5288
|
}),
|
|
5285
|
-
|
|
5289
|
+
b(y, { class: "mt-5" }, {
|
|
5286
5290
|
default: A(() => [
|
|
5287
|
-
r("p",
|
|
5288
|
-
|
|
5291
|
+
r("p", os, [
|
|
5292
|
+
b(c, { location: "top" }, {
|
|
5289
5293
|
activator: A(({ props: g }) => [
|
|
5290
|
-
|
|
5294
|
+
b(d, ye({
|
|
5291
5295
|
depressed: "",
|
|
5292
5296
|
fab: "",
|
|
5293
5297
|
light: "",
|
|
@@ -5299,9 +5303,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5299
5303
|
]),
|
|
5300
5304
|
_: 1
|
|
5301
5305
|
}),
|
|
5302
|
-
|
|
5306
|
+
b(c, { location: "top" }, {
|
|
5303
5307
|
activator: A(({ props: g }) => [
|
|
5304
|
-
|
|
5308
|
+
b(d, ye({
|
|
5305
5309
|
depressed: "",
|
|
5306
5310
|
fab: "",
|
|
5307
5311
|
light: "",
|
|
@@ -5313,9 +5317,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5313
5317
|
]),
|
|
5314
5318
|
_: 1
|
|
5315
5319
|
}),
|
|
5316
|
-
|
|
5320
|
+
b(c, { location: "top" }, {
|
|
5317
5321
|
activator: A(({ props: g }) => [
|
|
5318
|
-
|
|
5322
|
+
b(d, ye({
|
|
5319
5323
|
depressed: "",
|
|
5320
5324
|
fab: "",
|
|
5321
5325
|
light: "",
|
|
@@ -5327,9 +5331,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5327
5331
|
]),
|
|
5328
5332
|
_: 1
|
|
5329
5333
|
}),
|
|
5330
|
-
|
|
5334
|
+
b(c, { location: "top" }, {
|
|
5331
5335
|
activator: A(({ props: g }) => [
|
|
5332
|
-
|
|
5336
|
+
b(d, ye({
|
|
5333
5337
|
depressed: "",
|
|
5334
5338
|
fab: "",
|
|
5335
5339
|
light: "",
|
|
@@ -5343,9 +5347,9 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5343
5347
|
]),
|
|
5344
5348
|
_: 1
|
|
5345
5349
|
}),
|
|
5346
|
-
|
|
5350
|
+
b(c, { location: "top" }, {
|
|
5347
5351
|
activator: A(({ props: g }) => [
|
|
5348
|
-
|
|
5352
|
+
b(d, ye({
|
|
5349
5353
|
depressed: "",
|
|
5350
5354
|
fab: "",
|
|
5351
5355
|
light: "",
|
|
@@ -5358,7 +5362,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5358
5362
|
]),
|
|
5359
5363
|
_: 1
|
|
5360
5364
|
}),
|
|
5361
|
-
|
|
5365
|
+
b(h)
|
|
5362
5366
|
])
|
|
5363
5367
|
]),
|
|
5364
5368
|
_: 1
|
|
@@ -5372,7 +5376,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5372
5376
|
]);
|
|
5373
5377
|
};
|
|
5374
5378
|
}
|
|
5375
|
-
}),
|
|
5379
|
+
}), ss = /* @__PURE__ */ q(ls, [["__scopeId", "data-v-b6e473f1"]]), is = { class: "static-image-wrapper" }, rs = /* @__PURE__ */ j({
|
|
5376
5380
|
__name: "VSingleImage",
|
|
5377
5381
|
props: {
|
|
5378
5382
|
image: {},
|
|
@@ -5380,17 +5384,17 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5380
5384
|
},
|
|
5381
5385
|
setup(v) {
|
|
5382
5386
|
const t = v, e = T(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
|
|
5383
|
-
return (a, n) => (m(), S("div",
|
|
5387
|
+
return (a, n) => (m(), S("div", is, [
|
|
5384
5388
|
r("div", {
|
|
5385
5389
|
class: xe(["img-div", [a.aspectRatio]]),
|
|
5386
5390
|
style: le(e.value)
|
|
5387
5391
|
}, null, 6)
|
|
5388
5392
|
]));
|
|
5389
5393
|
}
|
|
5390
|
-
}),
|
|
5394
|
+
}), us = /* @__PURE__ */ q(rs, [["__scopeId", "data-v-31489804"]]), cs = {
|
|
5391
5395
|
id: "btn-fullscreen",
|
|
5392
5396
|
class: "btn-placeholder mr-2"
|
|
5393
|
-
},
|
|
5397
|
+
}, ds = /* @__PURE__ */ j({
|
|
5394
5398
|
__name: "VFullScreenButton",
|
|
5395
5399
|
props: {
|
|
5396
5400
|
isFullScreen: { type: Boolean }
|
|
@@ -5400,8 +5404,8 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5400
5404
|
const e = t;
|
|
5401
5405
|
return (a, n) => {
|
|
5402
5406
|
const o = B("v-btn");
|
|
5403
|
-
return m(), S("div",
|
|
5404
|
-
|
|
5407
|
+
return m(), S("div", cs, [
|
|
5408
|
+
b(o, {
|
|
5405
5409
|
density: "comfortable",
|
|
5406
5410
|
elevation: "3",
|
|
5407
5411
|
icon: a.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
@@ -5411,7 +5415,7 @@ const Ja = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, eo = {
|
|
|
5411
5415
|
};
|
|
5412
5416
|
}
|
|
5413
5417
|
});
|
|
5414
|
-
class
|
|
5418
|
+
class vs {
|
|
5415
5419
|
constructor(t, e) {
|
|
5416
5420
|
te(this, "_doc");
|
|
5417
5421
|
te(this, "_elemId");
|
|
@@ -5451,25 +5455,25 @@ class ds {
|
|
|
5451
5455
|
this._state.isActive = t;
|
|
5452
5456
|
}
|
|
5453
5457
|
}
|
|
5454
|
-
const
|
|
5458
|
+
const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
5455
5459
|
key: 0,
|
|
5456
5460
|
class: "player-error"
|
|
5457
|
-
},
|
|
5461
|
+
}, fs = { class: "player-and-components-wrapper" }, hs = {
|
|
5458
5462
|
key: 1,
|
|
5459
5463
|
class: "v-player"
|
|
5460
|
-
},
|
|
5464
|
+
}, gs = {
|
|
5461
5465
|
key: 3,
|
|
5462
5466
|
class: "settings-panel"
|
|
5463
|
-
},
|
|
5467
|
+
}, ys = {
|
|
5464
5468
|
key: 0,
|
|
5465
5469
|
class: "compass-wrapper"
|
|
5466
|
-
},
|
|
5470
|
+
}, _s = {
|
|
5467
5471
|
key: 1,
|
|
5468
5472
|
class: "btn-placeholder mr-2"
|
|
5469
|
-
},
|
|
5473
|
+
}, ws = {
|
|
5470
5474
|
key: 2,
|
|
5471
5475
|
class: "btn-placeholder"
|
|
5472
|
-
}, bs = { key: 0 },
|
|
5476
|
+
}, bs = { key: 0 }, ks = /* @__PURE__ */ j({
|
|
5473
5477
|
__name: "VVirtualTour",
|
|
5474
5478
|
props: {
|
|
5475
5479
|
cdnFileResolver: {},
|
|
@@ -5505,10 +5509,10 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5505
5509
|
lut: ""
|
|
5506
5510
|
}) }
|
|
5507
5511
|
},
|
|
5508
|
-
emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate"],
|
|
5512
|
+
emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate", "onError"],
|
|
5509
5513
|
setup(v, { emit: t }) {
|
|
5510
|
-
const e = v, a = t, n = u(!1), o = u(!1), i = u(), s = u(), p = u(), l = u(), d = u(), c = u(0),
|
|
5511
|
-
new
|
|
5514
|
+
const e = v, a = t, n = u(!1), o = u(!1), i = u(), s = u(), p = u(), l = u(), d = u(), c = u(0), w = u(), h = u(), f = u(), y = u(0), F = u(0), k = u(0), g = u(!1), U = u(!1), _ = u(!1), V = u(
|
|
5515
|
+
new vs(document, "player-wrapper")
|
|
5512
5516
|
), C = T(() => {
|
|
5513
5517
|
if (s.value) {
|
|
5514
5518
|
const I = s.value.cameras.map(
|
|
@@ -5533,14 +5537,14 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5533
5537
|
}
|
|
5534
5538
|
return I;
|
|
5535
5539
|
}), G = T(() => x.value.findIndex(
|
|
5536
|
-
(I) => I.archetypeID ===
|
|
5540
|
+
(I) => I.archetypeID === w.value
|
|
5537
5541
|
)), D = T(() => p.value ? p.value.cameras.map((I) => ({
|
|
5538
5542
|
...I,
|
|
5539
5543
|
thumbnailUrl: he(
|
|
5540
|
-
`/${
|
|
5544
|
+
`/${w.value}/${e.apartmentId}/thumbs/200/${I.id}.jpg`
|
|
5541
5545
|
),
|
|
5542
5546
|
imageUrl: he(
|
|
5543
|
-
`/${
|
|
5547
|
+
`/${w.value}/${e.apartmentId}/images/1600/${I.id}.jpg`
|
|
5544
5548
|
)
|
|
5545
5549
|
})) : []), Z = T(() => !D.value || !D.value[c.value] ? "" : D.value[c.value].imageUrl), x = T(() => {
|
|
5546
5550
|
let I = [];
|
|
@@ -5567,14 +5571,14 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5567
5571
|
}), H(
|
|
5568
5572
|
() => e.defaultViewMode,
|
|
5569
5573
|
(I) => {
|
|
5570
|
-
I === "virtualTour" && (g.value = !1), I === "slideShow" && (g.value = !0,
|
|
5574
|
+
I === "virtualTour" && (g.value = !1), I === "slideShow" && (g.value = !0, _.value = !0);
|
|
5571
5575
|
},
|
|
5572
5576
|
{ immediate: !0 }
|
|
5573
5577
|
), ue(async () => {
|
|
5574
5578
|
try {
|
|
5575
5579
|
await R(), ee(), await P(), V.value.setup(), me();
|
|
5576
|
-
} catch {
|
|
5577
|
-
o.value = !0;
|
|
5580
|
+
} catch (I) {
|
|
5581
|
+
o.value = !0, a("onError", I);
|
|
5578
5582
|
}
|
|
5579
5583
|
});
|
|
5580
5584
|
async function R() {
|
|
@@ -5582,23 +5586,23 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5582
5586
|
}
|
|
5583
5587
|
async function P() {
|
|
5584
5588
|
if (s.value = await ie(
|
|
5585
|
-
|
|
5589
|
+
w.value,
|
|
5586
5590
|
e.apartmentId
|
|
5587
5591
|
), s.value && (h.value = s.value.cameras.find(() => !0).id), p.value = await Ie(
|
|
5588
|
-
|
|
5592
|
+
w.value,
|
|
5589
5593
|
e.apartmentId
|
|
5590
5594
|
), p.value) {
|
|
5591
5595
|
let I = e.defaultWaypointIndex !== null ? e.defaultWaypointIndex : 0;
|
|
5592
5596
|
c.value = I, h.value = p.value.cameras[I].id, f.value = p.value.cameras[I].id;
|
|
5593
5597
|
}
|
|
5594
5598
|
e.showMiniMap && (l.value = await Ae(
|
|
5595
|
-
|
|
5599
|
+
w.value,
|
|
5596
5600
|
e.apartmentId
|
|
5597
5601
|
));
|
|
5598
5602
|
}
|
|
5599
5603
|
function ee() {
|
|
5600
5604
|
let I = e.defaultInteriorId;
|
|
5601
|
-
I || (I = i.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(I) && (I = e.validInteriorIds[0]), I || (I = i.value.archetypes[0].archetypeID),
|
|
5605
|
+
I || (I = i.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(I) && (I = e.validInteriorIds[0]), I || (I = i.value.archetypes[0].archetypeID), w.value = I;
|
|
5602
5606
|
}
|
|
5603
5607
|
function me() {
|
|
5604
5608
|
const I = document.getElementById("main-canvas");
|
|
@@ -5681,11 +5685,11 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5681
5685
|
let I = c.value + 1;
|
|
5682
5686
|
I >= D.value.length && (I = 0), c.value = I, Ee(D.value[c.value].id);
|
|
5683
5687
|
}
|
|
5684
|
-
function
|
|
5688
|
+
function we() {
|
|
5685
5689
|
let I = c.value - 1;
|
|
5686
5690
|
I < 0 && (I = D.value.length - 1), c.value = I, Ee(D.value[c.value].id);
|
|
5687
5691
|
}
|
|
5688
|
-
function
|
|
5692
|
+
function be(I, z = !0) {
|
|
5689
5693
|
let J = D.value.findIndex((fe) => fe.id === I);
|
|
5690
5694
|
J != -1 && (c.value = J, z && Ee(I));
|
|
5691
5695
|
}
|
|
@@ -5693,13 +5697,13 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5693
5697
|
h.value = I;
|
|
5694
5698
|
}
|
|
5695
5699
|
function Fe(I) {
|
|
5696
|
-
|
|
5700
|
+
w.value = I, a("onInteriorUpdate", I), a("onCameraUpdate", f.value, s.value);
|
|
5697
5701
|
}
|
|
5698
5702
|
function Xe(I) {
|
|
5699
|
-
|
|
5703
|
+
be(I, !1), f.value = I, a("onCameraUpdate", I, s.value);
|
|
5700
5704
|
}
|
|
5701
5705
|
function Ue(I) {
|
|
5702
|
-
|
|
5706
|
+
y.value = I;
|
|
5703
5707
|
}
|
|
5704
5708
|
function Je(I) {
|
|
5705
5709
|
F.value = I;
|
|
@@ -5752,28 +5756,28 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5752
5756
|
}
|
|
5753
5757
|
return (I, z) => {
|
|
5754
5758
|
const J = B("v-btn");
|
|
5755
|
-
return m(), S("div",
|
|
5756
|
-
o.value ? (m(), S("div",
|
|
5757
|
-
r("div",
|
|
5758
|
-
!V.value.isActive && l.value && f.value && M.value &&
|
|
5759
|
+
return m(), S("div", ms, [
|
|
5760
|
+
o.value ? (m(), S("div", ps, "Error loading the player!!")) : Y("", !0),
|
|
5761
|
+
r("div", fs, [
|
|
5762
|
+
!V.value.isActive && l.value && f.value && M.value && w.value && U.value ? (m(), $(mt, {
|
|
5759
5763
|
key: 0,
|
|
5760
5764
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
5761
5765
|
"apartment-json": s.value,
|
|
5762
5766
|
level: L.value,
|
|
5763
5767
|
"minimap-json": l.value,
|
|
5764
|
-
rotation:
|
|
5768
|
+
rotation: y.value,
|
|
5765
5769
|
"current-camera": f.value,
|
|
5766
5770
|
onClose: z[0] || (z[0] = (fe) => U.value = !1)
|
|
5767
5771
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : Y("", !0),
|
|
5768
|
-
|
|
5769
|
-
|
|
5772
|
+
w.value && h.value ? (m(), S("div", hs, [
|
|
5773
|
+
b(vo, {
|
|
5770
5774
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
5771
5775
|
style: le({ zIndex: g.value ? 1 : 2 }),
|
|
5772
5776
|
"show-static-image": g.value,
|
|
5773
5777
|
"is-full-screen": V.value.isActive,
|
|
5774
5778
|
"current-camera-id": h.value,
|
|
5775
5779
|
"mouse-sensitivity": I.mouseSensitivity,
|
|
5776
|
-
"interior-id":
|
|
5780
|
+
"interior-id": w.value,
|
|
5777
5781
|
"apartment-id": e.apartmentId,
|
|
5778
5782
|
onNewCameraCallback: Xe,
|
|
5779
5783
|
onNewRotationCallback: Ue,
|
|
@@ -5783,7 +5787,7 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5783
5787
|
onPlayerApiCallback: ae
|
|
5784
5788
|
}, {
|
|
5785
5789
|
"slideshow-image": A(() => [
|
|
5786
|
-
g.value ? (m(), $(
|
|
5790
|
+
g.value ? (m(), $(us, {
|
|
5787
5791
|
key: 0,
|
|
5788
5792
|
image: Z.value
|
|
5789
5793
|
}, null, 8, ["image"])) : Y("", !0)
|
|
@@ -5797,7 +5801,7 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5797
5801
|
class: "mr-2",
|
|
5798
5802
|
onClick: z[1] || (z[1] = (fe) => n.value = !n.value)
|
|
5799
5803
|
}, null, 512)), [
|
|
5800
|
-
[pe,
|
|
5804
|
+
[pe, _.value]
|
|
5801
5805
|
]) : Y("", !0),
|
|
5802
5806
|
l.value && h.value && M.value ? de((m(), $(J, {
|
|
5803
5807
|
key: 1,
|
|
@@ -5807,16 +5811,16 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5807
5811
|
class: "mr-2",
|
|
5808
5812
|
onClick: z[2] || (z[2] = (fe) => U.value = !U.value)
|
|
5809
5813
|
}, null, 512)), [
|
|
5810
|
-
[pe,
|
|
5814
|
+
[pe, _.value]
|
|
5811
5815
|
]) : Y("", !0),
|
|
5812
|
-
|
|
5816
|
+
_.value && I.showFloorLevel && C.value.length > 1 ? (m(), $(yo, {
|
|
5813
5817
|
key: 2,
|
|
5814
5818
|
level: F.value,
|
|
5815
5819
|
"floor-levels": C.value,
|
|
5816
5820
|
onLevel: Je
|
|
5817
5821
|
}, null, 8, ["level", "floor-levels"])) : Y("", !0),
|
|
5818
|
-
|
|
5819
|
-
|
|
5822
|
+
_.value && I.adminMode && n.value ? (m(), S("div", gs, [
|
|
5823
|
+
b(Al, {
|
|
5820
5824
|
"initial-settings": I.playerSettings,
|
|
5821
5825
|
onUpdateSettings: ct,
|
|
5822
5826
|
onSaveSettings: kt
|
|
@@ -5824,55 +5828,55 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5824
5828
|
])) : Y("", !0)
|
|
5825
5829
|
]),
|
|
5826
5830
|
"top-center": A(() => [
|
|
5827
|
-
|
|
5831
|
+
_.value ? (m(), $(Kl, {
|
|
5828
5832
|
key: 0,
|
|
5829
5833
|
"return-url": I.websiteUrl
|
|
5830
5834
|
}, null, 8, ["return-url"])) : Y("", !0)
|
|
5831
5835
|
]),
|
|
5832
5836
|
"top-right": A(() => [
|
|
5833
|
-
s.value && I.showCompass ? de((m(), S("div",
|
|
5834
|
-
|
|
5837
|
+
s.value && I.showCompass ? de((m(), S("div", ys, [
|
|
5838
|
+
b(Io, { rotation: y.value }, null, 8, ["rotation"])
|
|
5835
5839
|
], 512)), [
|
|
5836
|
-
[pe,
|
|
5840
|
+
[pe, _.value]
|
|
5837
5841
|
]) : Y("", !0),
|
|
5838
|
-
|
|
5842
|
+
_.value && s.value && O.value && I.showTimeOfDay ? (m(), $(So, {
|
|
5839
5843
|
key: 1,
|
|
5840
5844
|
hours: K.value.hours,
|
|
5841
5845
|
minutes: K.value.minutes
|
|
5842
5846
|
}, null, 8, ["hours", "minutes"])) : Y("", !0)
|
|
5843
5847
|
]),
|
|
5844
5848
|
"center-left": A(() => [
|
|
5845
|
-
|
|
5849
|
+
b(Se, { name: "slide-x-transition" }, {
|
|
5846
5850
|
default: A(() => [
|
|
5847
5851
|
g.value ? (m(), $(J, {
|
|
5848
5852
|
key: 0,
|
|
5849
5853
|
density: "comfortable",
|
|
5850
5854
|
elevation: "3",
|
|
5851
5855
|
icon: "mdi-chevron-left",
|
|
5852
|
-
onClick:
|
|
5856
|
+
onClick: we
|
|
5853
5857
|
})) : Y("", !0)
|
|
5854
5858
|
]),
|
|
5855
5859
|
_: 1
|
|
5856
5860
|
})
|
|
5857
5861
|
]),
|
|
5858
5862
|
"center-center": A(() => [
|
|
5859
|
-
|
|
5863
|
+
b(sl, {
|
|
5860
5864
|
project: ne(se)(e.cdnFileResolver, ""),
|
|
5861
|
-
onCloseTutorial: z[3] || (z[3] = (fe) =>
|
|
5865
|
+
onCloseTutorial: z[3] || (z[3] = (fe) => _.value = !0)
|
|
5862
5866
|
}, null, 8, ["project"]),
|
|
5863
5867
|
V.value.isActive && l.value && f.value && M.value && U.value ? (m(), $(mt, {
|
|
5864
5868
|
key: 0,
|
|
5865
5869
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
5866
5870
|
"apartment-json": s.value,
|
|
5867
5871
|
"minimap-json": l.value,
|
|
5868
|
-
rotation:
|
|
5872
|
+
rotation: y.value,
|
|
5869
5873
|
"current-camera": f.value,
|
|
5870
5874
|
level: L.value,
|
|
5871
5875
|
onClose: z[4] || (z[4] = (fe) => U.value = !1)
|
|
5872
5876
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : Y("", !0)
|
|
5873
5877
|
]),
|
|
5874
5878
|
"center-right": A(() => [
|
|
5875
|
-
|
|
5879
|
+
b(Se, { name: "slide-x-reverse-transition" }, {
|
|
5876
5880
|
default: A(() => [
|
|
5877
5881
|
g.value ? (m(), $(J, {
|
|
5878
5882
|
key: 0,
|
|
@@ -5886,44 +5890,44 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5886
5890
|
})
|
|
5887
5891
|
]),
|
|
5888
5892
|
"bottom-left": A(() => [
|
|
5889
|
-
|
|
5893
|
+
_.value && I.showFullScreen ? (m(), $(ds, {
|
|
5890
5894
|
key: 0,
|
|
5891
5895
|
"is-full-screen": V.value.isActive,
|
|
5892
5896
|
class: "btn-fullscreen",
|
|
5893
5897
|
onToggleFullscreen: Ne
|
|
5894
5898
|
}, null, 8, ["is-full-screen"])) : Y("", !0),
|
|
5895
|
-
|
|
5896
|
-
|
|
5899
|
+
_.value && I.showSnapshot ? (m(), S("div", _s, [
|
|
5900
|
+
b(J, {
|
|
5897
5901
|
density: "comfortable",
|
|
5898
5902
|
elevation: "3",
|
|
5899
5903
|
icon: "mdi-camera",
|
|
5900
5904
|
onClick: Le
|
|
5901
5905
|
})
|
|
5902
5906
|
])) : Y("", !0),
|
|
5903
|
-
|
|
5904
|
-
|
|
5907
|
+
_.value && I.showShare && !V.value.isActive ? (m(), S("div", ws, [
|
|
5908
|
+
b(ss)
|
|
5905
5909
|
])) : Y("", !0)
|
|
5906
5910
|
]),
|
|
5907
5911
|
"bottom-center": A(() => [
|
|
5908
|
-
|
|
5909
|
-
I.displayViewModeSwitch ? (m(), $(
|
|
5912
|
+
_.value && I.showCarousel ? (m(), S("div", bs, [
|
|
5913
|
+
I.displayViewModeSwitch ? (m(), $(Mo, {
|
|
5910
5914
|
key: 0,
|
|
5911
5915
|
"show-static-image": g.value,
|
|
5912
5916
|
onToggle: Te
|
|
5913
5917
|
}, null, 8, ["show-static-image"])) : Y("", !0),
|
|
5914
|
-
|
|
5918
|
+
_.value && V.value.isActive ? (m(), $(pt, {
|
|
5915
5919
|
key: 1,
|
|
5916
5920
|
class: xe([V.value.isActive ? "full-screen" : ""]),
|
|
5917
5921
|
thumbnails: D.value,
|
|
5918
5922
|
active: c.value,
|
|
5919
5923
|
onNext: _e,
|
|
5920
|
-
onPrevious:
|
|
5921
|
-
onGoto:
|
|
5924
|
+
onPrevious: we,
|
|
5925
|
+
onGoto: be
|
|
5922
5926
|
}, null, 8, ["class", "thumbnails", "active"])) : Y("", !0)
|
|
5923
5927
|
])) : Y("", !0)
|
|
5924
5928
|
]),
|
|
5925
5929
|
"bottom-right": A(() => [
|
|
5926
|
-
|
|
5930
|
+
_.value && I.showInteriorOptions && E.value ? (m(), $(bo, {
|
|
5927
5931
|
key: 0,
|
|
5928
5932
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
5929
5933
|
"available-archetypes": E.value,
|
|
@@ -5939,29 +5943,29 @@ const vs = { class: "virtual-tour-wrapper" }, ms = {
|
|
|
5939
5943
|
thumbnails: D.value,
|
|
5940
5944
|
active: c.value,
|
|
5941
5945
|
onNext: _e,
|
|
5942
|
-
onPrevious:
|
|
5943
|
-
onGoto:
|
|
5946
|
+
onPrevious: we,
|
|
5947
|
+
onGoto: be
|
|
5944
5948
|
}, null, 8, ["thumbnails", "active"])) : Y("", !0)
|
|
5945
5949
|
])) : Y("", !0)
|
|
5946
5950
|
])
|
|
5947
5951
|
]);
|
|
5948
5952
|
};
|
|
5949
5953
|
}
|
|
5950
|
-
}),
|
|
5954
|
+
}), Cs = /* @__PURE__ */ q(ks, [["__scopeId", "data-v-1a002566"]]), Ds = {
|
|
5951
5955
|
install: function(t) {
|
|
5952
|
-
t.component("VApartmentChooser", fn), t.component("VBuildingChooser",
|
|
5956
|
+
t.component("VApartmentChooser", fn), t.component("VBuildingChooser", ba), t.component("VVirtualTour", Cs);
|
|
5953
5957
|
}
|
|
5954
5958
|
};
|
|
5955
5959
|
export {
|
|
5956
5960
|
ge as ResourceLoader,
|
|
5957
5961
|
fn as VApartmentChooser,
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5962
|
+
xs as VApartmentChooserV5,
|
|
5963
|
+
ba as VBuildingChooser,
|
|
5964
|
+
Fs as VBuildingChooserV5,
|
|
5961
5965
|
Qe as VFloatingCard,
|
|
5962
5966
|
Re as VHoverProbe,
|
|
5963
5967
|
Ze as VNorthDirection,
|
|
5964
|
-
|
|
5968
|
+
Cs as VVirtualTour,
|
|
5965
5969
|
qe as VZoomBox,
|
|
5966
|
-
|
|
5970
|
+
Ds as default
|
|
5967
5971
|
};
|