@qispace/vue3-player 0.1.40 → 0.1.41
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,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ne = (v, t, e) => (
|
|
4
|
-
import { defineComponent as
|
|
1
|
+
var Dt = Object.defineProperty;
|
|
2
|
+
var Mt = (v, t, e) => t in v ? Dt(v, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[t] = e;
|
|
3
|
+
var ne = (v, t, e) => (Mt(v, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { defineComponent as P, ref as c, computed as T, openBlock as m, createElementBlock as S, watch as Y, onMounted as ue, onBeforeUnmount as je, withDirectives as de, createElementVNode as s, normalizeStyle as le, vShow as pe, createVNode as b, Fragment as re, renderList as ve, createCommentVNode as H, inject as Be, resolveComponent as B, withCtx as C, toDisplayString as N, unref as oe, createTextVNode as X, normalizeClass as ye, createBlock as R, renderSlot as ee, provide as Qe, reactive as st, watchEffect as Ie, resolveDynamicComponent as ft, normalizeProps as tt, guardReactiveProps as nt, mergeProps as _e, nextTick as Le, Transition as xe, createSlots as Et, pushScopeId as it, popScopeId as rt, vModelText as Tt, createStaticVNode as gt, onBeforeUpdate as Vt } from "vue";
|
|
5
5
|
import at from "axios";
|
|
6
|
-
import * as
|
|
6
|
+
import * as Bt from "@qispace/player-core";
|
|
7
7
|
import * as Ve from "three";
|
|
8
8
|
class ge {
|
|
9
9
|
static async loadText(t) {
|
|
@@ -42,7 +42,7 @@ class ge {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
const
|
|
45
|
+
const Rt = /* @__PURE__ */ P({
|
|
46
46
|
__name: "VHoverProbe",
|
|
47
47
|
setup(v, { expose: t }) {
|
|
48
48
|
const e = c(), o = T(() => window.getComputedStyle(e.value).display === "none");
|
|
@@ -59,11 +59,11 @@ const Vt = /* @__PURE__ */ j({
|
|
|
59
59
|
for (const [o, n] of t)
|
|
60
60
|
e[o] = n;
|
|
61
61
|
return e;
|
|
62
|
-
}, Re = /* @__PURE__ */ q(
|
|
62
|
+
}, Re = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-eb9b348d"]]);
|
|
63
63
|
function se(v, t) {
|
|
64
64
|
return typeof v == "string" ? `${v}${t}` : v(t);
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const Ot = /* @__PURE__ */ P({
|
|
67
67
|
__name: "VApartmentChooserRaster",
|
|
68
68
|
props: {
|
|
69
69
|
cdnFileResolver: {},
|
|
@@ -76,14 +76,14 @@ const Bt = /* @__PURE__ */ j({
|
|
|
76
76
|
},
|
|
77
77
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
78
78
|
setup(v, { emit: t }) {
|
|
79
|
-
const e = v, o = t, n = c({ x: 0, y: 0, width: 0, height: 0 }), a = c(0), r = c(0), i = c(), p = c(), u = c(), l = c(), d = c(-1),
|
|
79
|
+
const e = v, o = t, n = c({ x: 0, y: 0, width: 0, height: 0 }), a = c(0), r = c(0), i = c(), p = c(), u = c(), l = c(), d = c(-1), w = c(!1), h = c(), f = c(), y = c({}), F = c("auto"), k = c(new ge()), g = c({}), U = c(), _ = c(), V = c(), I = c(), L = c(), G = T(() => V.value.isHoverEnabled), D = T(() => se(
|
|
80
80
|
e.cdnFileResolver,
|
|
81
81
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
82
82
|
)), Z = T(() => D.value in y.value ? y.value[D.value] : null), x = T(() => d.value < 0 ? !1 : e.sceneData.find((Q) => Q.index === d.value) || !1), E = T(() => ({
|
|
83
83
|
width: a.value + "px",
|
|
84
84
|
height: r.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
|
Y(
|
|
88
88
|
D,
|
|
89
89
|
() => {
|
|
@@ -115,7 +115,7 @@ const Bt = /* @__PURE__ */ j({
|
|
|
115
115
|
), Y(x, () => {
|
|
116
116
|
Me(), x.value ? F.value = "pointer" : F.value = "auto";
|
|
117
117
|
}), Y(M, () => {
|
|
118
|
-
|
|
118
|
+
w.value ? o("hoverOver", {
|
|
119
119
|
hoverUnit: x.value ? x.value.unitId : !1,
|
|
120
120
|
closeHandler: () => Je()
|
|
121
121
|
}) : o("hoverOut", {
|
|
@@ -126,11 +126,11 @@ const Bt = /* @__PURE__ */ j({
|
|
|
126
126
|
o("pos", n.value);
|
|
127
127
|
}), ue(() => {
|
|
128
128
|
_.value = () => {
|
|
129
|
-
clearTimeout(U.value),
|
|
130
|
-
|
|
129
|
+
clearTimeout(U.value), Ce(), U.value = setTimeout(() => {
|
|
130
|
+
Ce();
|
|
131
131
|
}, 50);
|
|
132
|
-
}, window.addEventListener("resize", _.value),
|
|
133
|
-
}),
|
|
132
|
+
}, window.addEventListener("resize", _.value), Ce();
|
|
133
|
+
}), je(() => {
|
|
134
134
|
window.removeEventListener("resize", _.value);
|
|
135
135
|
for (const W in y.value)
|
|
136
136
|
URL.revokeObjectURL(y.value[W]);
|
|
@@ -142,7 +142,7 @@ const Bt = /* @__PURE__ */ j({
|
|
|
142
142
|
}
|
|
143
143
|
function K(W) {
|
|
144
144
|
const Q = te(W.offsetX, W.offsetY);
|
|
145
|
-
|
|
145
|
+
w.value = Q >= 0, d.value = Q, n.value = {
|
|
146
146
|
x: W.offsetX,
|
|
147
147
|
y: W.offsetY,
|
|
148
148
|
width: a.value,
|
|
@@ -153,7 +153,7 @@ const Bt = /* @__PURE__ */ j({
|
|
|
153
153
|
const Q = te(W.offsetX, W.offsetY);
|
|
154
154
|
Q < 0 || G && Se(Q);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function j() {
|
|
157
157
|
if (p.value && p.value.width) {
|
|
158
158
|
I.value.width = p.value.width, I.value.height = p.value.height, i.value.drawImage(
|
|
159
159
|
p.value,
|
|
@@ -226,26 +226,26 @@ const Bt = /* @__PURE__ */ j({
|
|
|
226
226
|
function we(W) {
|
|
227
227
|
o("selectUnit", W), W && e.canGoToUnitCallback(W) && o("goToUnit", W);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function ke(W = 0) {
|
|
230
230
|
if (!u.value)
|
|
231
231
|
return;
|
|
232
232
|
const Q = u.value.data;
|
|
233
233
|
for (let ae = 3; ae < Q.length; ae += 4)
|
|
234
234
|
Q[ae] = W;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Ce() {
|
|
237
237
|
if (!L.value)
|
|
238
238
|
return !1;
|
|
239
239
|
a.value = L.value.offsetWidth, r.value = L.value.offsetHeight;
|
|
240
240
|
}
|
|
241
241
|
function Ee() {
|
|
242
|
-
|
|
242
|
+
j(), Me();
|
|
243
243
|
}
|
|
244
244
|
function Me() {
|
|
245
|
-
|
|
245
|
+
ke(), me(), i.value && u.value && i.value.putImageData(u.value, 0, 0);
|
|
246
246
|
}
|
|
247
247
|
function Je() {
|
|
248
|
-
|
|
248
|
+
w.value = !1;
|
|
249
249
|
}
|
|
250
250
|
const $e = c(!1);
|
|
251
251
|
function Ke(W, Q) {
|
|
@@ -267,13 +267,13 @@ const Bt = /* @__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)
|
|
274
274
|
], 512));
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), $t = /* @__PURE__ */ q(Ot, [["__scopeId", "data-v-27d7323f"]]), Ut = ["viewBox"], Ht = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"], Yt = /* @__PURE__ */ P({
|
|
277
277
|
__name: "VApartmentChooserSvg",
|
|
278
278
|
props: {
|
|
279
279
|
cdnFileResolver: {},
|
|
@@ -337,9 +337,9 @@ const Bt = /* @__PURE__ */ j({
|
|
|
337
337
|
})), r.value = { ...r.value, [_]: I };
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
u.value.addEventListener("mousemove", U(
|
|
340
|
+
u.value.addEventListener("mousemove", U(w, 50));
|
|
341
341
|
});
|
|
342
|
-
function
|
|
342
|
+
function w(_) {
|
|
343
343
|
n.value = {
|
|
344
344
|
x: _.offsetX,
|
|
345
345
|
y: _.offsetY,
|
|
@@ -416,21 +416,21 @@ const Bt = /* @__PURE__ */ j({
|
|
|
416
416
|
onMouseenter: (G) => f(I),
|
|
417
417
|
onMouseleave: (G) => y(),
|
|
418
418
|
onClick: (G) => F(I)
|
|
419
|
-
}, null, 44,
|
|
420
|
-
], 8,
|
|
419
|
+
}, null, 44, Ht))), 128))
|
|
420
|
+
], 8, Ut)) : H("", !0)
|
|
421
421
|
], 4), [
|
|
422
422
|
[pe, !_.viewModel.isRotating]
|
|
423
423
|
]),
|
|
424
|
-
|
|
424
|
+
b(Re, {
|
|
425
425
|
ref_key: "hoverProbe",
|
|
426
426
|
ref: l
|
|
427
427
|
}, null, 512)
|
|
428
428
|
], 512));
|
|
429
429
|
}
|
|
430
|
-
}),
|
|
430
|
+
}), Pt = /* @__PURE__ */ q(Yt, [["__scopeId", "data-v-e6c054c7"]]), be = Symbol(), jt = {
|
|
431
431
|
key: 0,
|
|
432
432
|
class: "text-success d-none d-md-flex"
|
|
433
|
-
},
|
|
433
|
+
}, Wt = { class: "text-success" }, Nt = /* @__PURE__ */ P({
|
|
434
434
|
__name: "VApartmentChooserNavigation",
|
|
435
435
|
props: {
|
|
436
436
|
canGoToUnitCallback: { type: Function, default: () => !0 },
|
|
@@ -442,10 +442,10 @@ const Bt = /* @__PURE__ */ j({
|
|
|
442
442
|
},
|
|
443
443
|
emits: ["prevUnit", "nextUnit", "goToUnit"],
|
|
444
444
|
setup(v, { emit: t }) {
|
|
445
|
-
const e = v, o = T(() => e.selectedUnitId), n = T(() => e.nextUnitId), a = T(() => e.prevUnitId), r = t, i = Be(
|
|
445
|
+
const e = v, o = T(() => e.selectedUnitId), n = T(() => e.nextUnitId), a = T(() => e.prevUnitId), r = t, i = Be(be);
|
|
446
446
|
ue(() => {
|
|
447
447
|
window.addEventListener("keydown", p);
|
|
448
|
-
}),
|
|
448
|
+
}), je(() => {
|
|
449
449
|
window.removeEventListener("keydown", p);
|
|
450
450
|
});
|
|
451
451
|
function p(u) {
|
|
@@ -454,53 +454,53 @@ const Bt = /* @__PURE__ */ j({
|
|
|
454
454
|
return (u, l) => {
|
|
455
455
|
const d = B("v-btn");
|
|
456
456
|
return m(), S("div", null, [
|
|
457
|
-
|
|
457
|
+
b(d, {
|
|
458
458
|
elevation: "1",
|
|
459
459
|
icon: "mdi-rotate-right",
|
|
460
460
|
class: "black darken-1",
|
|
461
|
-
onClick: l[0] || (l[0] = (
|
|
461
|
+
onClick: l[0] || (l[0] = (w) => u.viewModel.rotateClockwise())
|
|
462
462
|
}),
|
|
463
|
-
|
|
463
|
+
b(d, {
|
|
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: !a.value,
|
|
469
|
-
onClick: l[1] || (l[1] = (
|
|
469
|
+
onClick: l[1] || (l[1] = (w) => r("prevUnit"))
|
|
470
470
|
}, null, 8, ["disabled"]),
|
|
471
|
-
|
|
471
|
+
b(d, {
|
|
472
472
|
color: "darken-2",
|
|
473
473
|
elevation: "1",
|
|
474
474
|
rounded: "",
|
|
475
475
|
plain: "",
|
|
476
476
|
disabled: !o.value || !u.canGoToUnitCallback(o.value),
|
|
477
|
-
onClick: l[2] || (l[2] = (
|
|
477
|
+
onClick: l[2] || (l[2] = (w) => r("goToUnit", o.value))
|
|
478
478
|
}, {
|
|
479
479
|
default: C(() => [
|
|
480
|
-
o.value && u.canGoToUnitCallback(o.value) ? (m(), S("span",
|
|
481
|
-
s("span",
|
|
480
|
+
o.value && u.canGoToUnitCallback(o.value) ? (m(), S("span", jt, N(oe(i).getLabel("seeApartment")) + " ", 1)) : H("", !0),
|
|
481
|
+
s("span", Wt, N(o.value ? e.unitRenderer(o.value) : "-"), 1)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["disabled"]),
|
|
485
|
-
|
|
485
|
+
b(d, {
|
|
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: l[3] || (l[3] = (
|
|
491
|
+
onClick: l[3] || (l[3] = (w) => r("nextUnit"))
|
|
492
492
|
}, null, 8, ["disabled"]),
|
|
493
|
-
|
|
493
|
+
b(d, {
|
|
494
494
|
elevation: "1",
|
|
495
495
|
plain: "",
|
|
496
496
|
icon: "mdi-rotate-left",
|
|
497
497
|
class: "black darken-1",
|
|
498
|
-
onClick: l[4] || (l[4] = (
|
|
498
|
+
onClick: l[4] || (l[4] = (w) => u.viewModel.rotateCounterClockwise())
|
|
499
499
|
})
|
|
500
500
|
]);
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
|
-
}),
|
|
503
|
+
}), zt = /* @__PURE__ */ q(Nt, [["__scopeId", "data-v-44ed308e"]]);
|
|
504
504
|
class lt {
|
|
505
505
|
constructor(t) {
|
|
506
506
|
ne(this, "_numParts");
|
|
@@ -565,7 +565,7 @@ class ut {
|
|
|
565
565
|
);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
class
|
|
568
|
+
class Gt {
|
|
569
569
|
constructor(t, e) {
|
|
570
570
|
ne(this, "_cardinalFrames");
|
|
571
571
|
ne(this, "_totalFrameCount");
|
|
@@ -585,20 +585,20 @@ class Nt {
|
|
|
585
585
|
return this._cardinalFrames[t];
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const Qt = {
|
|
589
589
|
key: 0,
|
|
590
590
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
591
|
-
},
|
|
591
|
+
}, qt = {
|
|
592
592
|
key: 1,
|
|
593
593
|
class: "frame-container"
|
|
594
|
-
},
|
|
594
|
+
}, Zt = {
|
|
595
595
|
key: 0,
|
|
596
596
|
class: "frame-image"
|
|
597
|
-
},
|
|
597
|
+
}, Xt = ["srcset"], Jt = ["src"], Kt = {
|
|
598
598
|
key: 2,
|
|
599
599
|
id: "image-stack",
|
|
600
600
|
class: "frame-container"
|
|
601
|
-
},
|
|
601
|
+
}, en = ["alt"], tn = ["srcset"], nn = ["src"], mt = 64, ze = 4, on = 120, an = /* @__PURE__ */ P({
|
|
602
602
|
__name: "VApartmentChooserRotator",
|
|
603
603
|
props: {
|
|
604
604
|
viewModel: {},
|
|
@@ -611,7 +611,7 @@ const zt = {
|
|
|
611
611
|
const e = v, o = t, n = h(), a = c(
|
|
612
612
|
new lt(n.length).onLoadFinished(() => o("loaded")).onLoadProgress((k) => o("progress", k)).onLoadError(() => o("error"))
|
|
613
613
|
), r = c(
|
|
614
|
-
new
|
|
614
|
+
new Gt(e.cardinalFrames, mt)
|
|
615
615
|
), i = c(n), p = c(!1), u = T(() => i.value.find((k) => k.show));
|
|
616
616
|
Y(
|
|
617
617
|
() => e.viewModel.currentScene,
|
|
@@ -620,7 +620,7 @@ const zt = {
|
|
|
620
620
|
l(g, U, _);
|
|
621
621
|
}
|
|
622
622
|
), ue(() => {
|
|
623
|
-
|
|
623
|
+
w();
|
|
624
624
|
});
|
|
625
625
|
function l(k, g, U) {
|
|
626
626
|
e.viewModel.isRotating || (e.viewModel.isRotating = !0, d(
|
|
@@ -635,10 +635,10 @@ const zt = {
|
|
|
635
635
|
setTimeout(() => {
|
|
636
636
|
i.value[k.frameIndex].show = !1;
|
|
637
637
|
const g = k.nextFrame();
|
|
638
|
-
i.value[g.frameIndex].show = !0, g.atEnd ?
|
|
639
|
-
}, 1e3 /
|
|
638
|
+
i.value[g.frameIndex].show = !0, g.atEnd ? w() : window.requestAnimationFrame(() => d(g));
|
|
639
|
+
}, 1e3 / on);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function w() {
|
|
642
642
|
const k = r.value.startFrameIndexForScene(
|
|
643
643
|
e.viewModel.currentScene % ze
|
|
644
644
|
);
|
|
@@ -646,7 +646,7 @@ const zt = {
|
|
|
646
646
|
}
|
|
647
647
|
function h() {
|
|
648
648
|
const k = [];
|
|
649
|
-
for (let g = 0; g <
|
|
649
|
+
for (let g = 0; g < mt; g++) {
|
|
650
650
|
const { sourceSet: U, defaultPath: _ } = f(g);
|
|
651
651
|
k.push({
|
|
652
652
|
index: g,
|
|
@@ -690,47 +690,47 @@ const zt = {
|
|
|
690
690
|
return (k, g) => {
|
|
691
691
|
const U = B("v-icon");
|
|
692
692
|
return m(), S("div", null, [
|
|
693
|
-
a.value.isError ? (m(), S("div",
|
|
694
|
-
|
|
693
|
+
a.value.isError ? (m(), S("div", Qt, [
|
|
694
|
+
b(U, { "x-large": "" }, {
|
|
695
695
|
default: C(() => [
|
|
696
696
|
X("mdi-alert-circle-outline")
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
})
|
|
700
|
-
])) : p.value ? (m(), S("div",
|
|
700
|
+
])) : p.value ? (m(), S("div", Kt, [
|
|
701
701
|
(m(!0), S(re, null, ve(i.value, (_) => (m(), S("picture", {
|
|
702
702
|
key: _.index,
|
|
703
703
|
alt: _.index,
|
|
704
|
-
class:
|
|
704
|
+
class: ye({ "frame-image": !0, show: _.show })
|
|
705
705
|
}, [
|
|
706
706
|
s("source", {
|
|
707
707
|
srcset: _.sourceSet,
|
|
708
708
|
type: "image/jpeg"
|
|
709
|
-
}, null, 8,
|
|
709
|
+
}, null, 8, tn),
|
|
710
710
|
s("img", {
|
|
711
711
|
src: _.defaultPath,
|
|
712
712
|
alt: "Building image",
|
|
713
713
|
onLoad: g[2] || (g[2] = (V) => a.value.partLoaded()),
|
|
714
714
|
onError: g[3] || (g[3] = (V) => a.value.errorDetected())
|
|
715
|
-
}, null, 40,
|
|
716
|
-
], 10,
|
|
717
|
-
])) : (m(), S("div",
|
|
718
|
-
u.value ? (m(), S("picture",
|
|
715
|
+
}, null, 40, nn)
|
|
716
|
+
], 10, en))), 128))
|
|
717
|
+
])) : (m(), S("div", qt, [
|
|
718
|
+
u.value ? (m(), S("picture", Zt, [
|
|
719
719
|
s("source", {
|
|
720
720
|
srcset: u.value.sourceSet,
|
|
721
721
|
type: "image/jpeg"
|
|
722
|
-
}, null, 8,
|
|
722
|
+
}, null, 8, Xt),
|
|
723
723
|
s("img", {
|
|
724
724
|
src: u.value.defaultPath,
|
|
725
725
|
onLoad: g[0] || (g[0] = (_) => p.value = !0),
|
|
726
726
|
onError: g[1] || (g[1] = (_) => a.value.errorDetected())
|
|
727
|
-
}, null, 40,
|
|
727
|
+
}, null, 40, Jt)
|
|
728
728
|
])) : H("", !0)
|
|
729
729
|
]))
|
|
730
730
|
]);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
}),
|
|
733
|
+
}), ln = /* @__PURE__ */ q(an, [["__scopeId", "data-v-0c291cb9"]]), sn = /* @__PURE__ */ P({
|
|
734
734
|
__name: "VFloatingCard",
|
|
735
735
|
props: {
|
|
736
736
|
pos: {},
|
|
@@ -775,7 +775,7 @@ const zt = {
|
|
|
775
775
|
}, 8, ["origin"]);
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
|
-
}), qe = /* @__PURE__ */ q(
|
|
778
|
+
}), qe = /* @__PURE__ */ q(sn, [["__scopeId", "data-v-7d5e6067"]]), rn = /* @__PURE__ */ P({
|
|
779
779
|
__name: "VZoomBox",
|
|
780
780
|
props: {
|
|
781
781
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -787,7 +787,7 @@ const zt = {
|
|
|
787
787
|
},
|
|
788
788
|
emits: ["update"],
|
|
789
789
|
setup(v, { emit: t }) {
|
|
790
|
-
const e = v, o = t, n = c(100), a = c(0), r = c(0), i = c(!1), p = c(!1), u = c(void 0), l = c(!1), d = c(),
|
|
790
|
+
const e = v, o = t, n = c(100), a = c(0), r = c(0), i = c(!1), p = c(!1), u = c(void 0), l = c(!1), d = c(), w = T(() => `translateX(${a.value}px) translateY(${r.value}px) scale(${h.value})`), h = T(() => n.value / 100), f = T(() => e.maxScale * 100);
|
|
791
791
|
Y([h, a, r], () => {
|
|
792
792
|
K();
|
|
793
793
|
}), Y(
|
|
@@ -802,7 +802,7 @@ const zt = {
|
|
|
802
802
|
}
|
|
803
803
|
), ue(() => {
|
|
804
804
|
e.desktop && y(), e.mobile && F();
|
|
805
|
-
}),
|
|
805
|
+
}), je(() => {
|
|
806
806
|
e.desktop && k(), e.mobile && g();
|
|
807
807
|
});
|
|
808
808
|
function y() {
|
|
@@ -854,16 +854,16 @@ const zt = {
|
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
856
|
function U(O) {
|
|
857
|
-
const { x:
|
|
858
|
-
$(-O.deltaY / 10,
|
|
857
|
+
const { x: j, y: te } = x(O);
|
|
858
|
+
$(-O.deltaY / 10, j, te), O.preventDefault();
|
|
859
859
|
}
|
|
860
860
|
function _(O) {
|
|
861
861
|
i.value = !0, l.value = !1, u.value = O;
|
|
862
862
|
}
|
|
863
863
|
function V(O) {
|
|
864
864
|
if (i.value) {
|
|
865
|
-
const { x:
|
|
866
|
-
x:
|
|
865
|
+
const { x: j, y: te } = x(O), { x: me, y: ce } = x(u.value), ie = {
|
|
866
|
+
x: j - me,
|
|
867
867
|
y: te - ce
|
|
868
868
|
};
|
|
869
869
|
E(ie.x), M(ie.y), l.value = !0, u.value = O;
|
|
@@ -880,14 +880,14 @@ const zt = {
|
|
|
880
880
|
}
|
|
881
881
|
function D(O) {
|
|
882
882
|
if (i.value) {
|
|
883
|
-
const { x:
|
|
884
|
-
x:
|
|
883
|
+
const { x: j, y: te } = x(O.touches[0]), { x: me, y: ce } = x(u.value.touches[0]), ie = {
|
|
884
|
+
x: j - me,
|
|
885
885
|
y: te - ce
|
|
886
886
|
};
|
|
887
887
|
E(ie.x), M(ie.y);
|
|
888
888
|
} else if (p.value && O.touches.length === 2) {
|
|
889
|
-
const { x:
|
|
890
|
-
$(
|
|
889
|
+
const { x: j, y: te } = x(O.touches[0]), { x: me, y: ce } = x(u.value.touches[0]), { x: ie, y: Ae } = x(O.touches[1]), { x: Se, y: we } = x(u.value.touches[1]), ke = Math.hypot(me - Se, ce - we), Ce = Math.hypot(j - ie, te - Ae), Ee = (ie + j) / 2, Me = (Ae + te) / 2;
|
|
890
|
+
$(Ce - ke, Ee, Me);
|
|
891
891
|
}
|
|
892
892
|
u.value = O;
|
|
893
893
|
}
|
|
@@ -895,65 +895,65 @@ const zt = {
|
|
|
895
895
|
i.value = !1, p.value = !1;
|
|
896
896
|
}
|
|
897
897
|
function x(O) {
|
|
898
|
-
const { left:
|
|
898
|
+
const { left: j, top: te } = d.value.getBoundingClientRect();
|
|
899
899
|
return {
|
|
900
|
-
x: O.clientX -
|
|
900
|
+
x: O.clientX - j,
|
|
901
901
|
y: O.clientY - te
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
function E(O) {
|
|
905
|
-
const
|
|
905
|
+
const j = d.value.clientWidth, te = j * h.value;
|
|
906
906
|
a.value = Math.max(
|
|
907
907
|
Math.min(0, a.value + O),
|
|
908
|
-
-(te -
|
|
908
|
+
-(te - j)
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
911
|
function M(O) {
|
|
912
|
-
const
|
|
912
|
+
const j = d.value.clientHeight, te = j * h.value;
|
|
913
913
|
r.value = Math.max(
|
|
914
914
|
Math.min(0, r.value + O),
|
|
915
|
-
-(te -
|
|
915
|
+
-(te - j)
|
|
916
916
|
);
|
|
917
917
|
}
|
|
918
|
-
function $(O,
|
|
918
|
+
function $(O, j, te) {
|
|
919
919
|
const me = d.value.clientWidth, ce = d.value.clientHeight, ie = me * h.value, Ae = ce * h.value;
|
|
920
920
|
n.value = Math.min(Math.max(100, n.value + O), f.value);
|
|
921
|
-
const Se = me * h.value, we = ce * h.value,
|
|
922
|
-
a.value -=
|
|
921
|
+
const Se = me * h.value, we = ce * h.value, ke = Se - ie, Ce = we - Ae;
|
|
922
|
+
a.value -= j / me * ke, r.value -= te / ce * Ce, E(0), M(0);
|
|
923
923
|
}
|
|
924
924
|
function K() {
|
|
925
925
|
o("update", {
|
|
926
926
|
scale: h.value,
|
|
927
927
|
x: a.value,
|
|
928
928
|
y: r.value,
|
|
929
|
-
resolve: (O,
|
|
930
|
-
const te = d.value.clientWidth, me = d.value.clientHeight, ce = a.value / -h.value, ie = r.value / -h.value, Ae = ce + te / h.value, Se = ie + me / h.value, we = O / te * (Ae - ce) + ce,
|
|
931
|
-
return { x: we, y:
|
|
929
|
+
resolve: (O, j) => {
|
|
930
|
+
const te = d.value.clientWidth, me = d.value.clientHeight, ce = a.value / -h.value, ie = r.value / -h.value, Ae = ce + te / h.value, Se = ie + me / h.value, we = O / te * (Ae - ce) + ce, ke = j / me * (Se - ie) + ie;
|
|
931
|
+
return { x: we, y: ke };
|
|
932
932
|
}
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
|
-
return (O,
|
|
935
|
+
return (O, j) => (m(), S("div", {
|
|
936
936
|
ref_key: "box",
|
|
937
937
|
ref: d,
|
|
938
938
|
class: "zoom-box-container",
|
|
939
939
|
style: le({ position: e.position })
|
|
940
940
|
}, [
|
|
941
941
|
s("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
|
ee(O.$slots, "default", {}, void 0, !0)
|
|
946
946
|
], 4)
|
|
947
947
|
], 4));
|
|
948
948
|
}
|
|
949
|
-
}), Ze = /* @__PURE__ */ q(
|
|
950
|
-
function
|
|
949
|
+
}), Ze = /* @__PURE__ */ q(rn, [["__scopeId", "data-v-e5638bde"]]), ct = 4;
|
|
950
|
+
function yt(v) {
|
|
951
951
|
return v < ct ? v + 1 : 1;
|
|
952
952
|
}
|
|
953
|
-
function
|
|
953
|
+
function un(v) {
|
|
954
954
|
return v > 1 ? v - 1 : ct;
|
|
955
955
|
}
|
|
956
|
-
class
|
|
956
|
+
class cn {
|
|
957
957
|
constructor(t) {
|
|
958
958
|
ne(this, "_state");
|
|
959
959
|
this._state = {
|
|
@@ -978,16 +978,16 @@ class rn {
|
|
|
978
978
|
}
|
|
979
979
|
rotateCounterClockwise() {
|
|
980
980
|
this.unlessRotatingDo(() => {
|
|
981
|
-
this.currentScene =
|
|
981
|
+
this.currentScene = yt(this.currentScene);
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
984
|
rotateClockwise() {
|
|
985
985
|
this.unlessRotatingDo(() => {
|
|
986
|
-
this.currentScene =
|
|
986
|
+
this.currentScene = un(this.currentScene);
|
|
987
987
|
});
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
const
|
|
990
|
+
const dn = {
|
|
991
991
|
// virtual tour default labels
|
|
992
992
|
interior: "Interiør",
|
|
993
993
|
seeASelectionOfTheOptionsInTheProject: "Se et utvalg av tilvalgsmulighetene i prosjektet.",
|
|
@@ -1046,7 +1046,7 @@ class Fe {
|
|
|
1046
1046
|
constructor({ labels: t, language: e } = { labels: null, language: null }) {
|
|
1047
1047
|
ne(this, "_labels");
|
|
1048
1048
|
ne(this, "_language");
|
|
1049
|
-
this._labels = { ...
|
|
1049
|
+
this._labels = { ...dn, ...t || {} }, this._language = e || "en";
|
|
1050
1050
|
}
|
|
1051
1051
|
getLabel(t) {
|
|
1052
1052
|
return t in this._labels ? this.get(this._labels[t]) : t;
|
|
@@ -1062,10 +1062,10 @@ class Fe {
|
|
|
1062
1062
|
return "";
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
const
|
|
1065
|
+
const vn = { key: 0 }, mn = { class: "interactive-viewer" }, pn = { class: "fill-parent" }, hn = { key: 0 }, fn = {
|
|
1066
1066
|
key: 1,
|
|
1067
1067
|
class: "navigation"
|
|
1068
|
-
},
|
|
1068
|
+
}, gn = { key: 2 }, yn = 4, _n = /* @__PURE__ */ P({
|
|
1069
1069
|
__name: "VApartmentChooser",
|
|
1070
1070
|
props: {
|
|
1071
1071
|
i18nConfig: {},
|
|
@@ -1088,17 +1088,17 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1088
1088
|
setup(v, { emit: t }) {
|
|
1089
1089
|
const e = [0, 16, 32, 48], o = v, n = t;
|
|
1090
1090
|
Qe(
|
|
1091
|
-
|
|
1091
|
+
be,
|
|
1092
1092
|
o.i18nConfig ? new Fe(o.i18nConfig) : new Fe()
|
|
1093
1093
|
);
|
|
1094
|
-
const a = st({ isReady: !1, isError: !1 }), r = c(), i = c(), p = c(), u = c(), l = c({ x: 0, y: 0, width: 0, height: 0 }), d = c(),
|
|
1094
|
+
const a = st({ isReady: !1, isError: !1 }), r = c(), i = c(), p = c(), u = c(), l = c({ x: 0, y: 0, width: 0, height: 0 }), d = c(), w = c(), h = c(), f = T(() => h.value.isHoverEnabled), y = T(() => o.useSvg ? Pt : $t), F = T(() => o.selectedUnitId), k = T(() => o.nextUnitId), g = T(() => o.prevUnitId);
|
|
1095
1095
|
Ie(() => {
|
|
1096
1096
|
if (F.value && u.value) {
|
|
1097
1097
|
const I = r.value[F.value];
|
|
1098
1098
|
I && (u.value.currentScene = I);
|
|
1099
1099
|
}
|
|
1100
1100
|
}), ue(async () => {
|
|
1101
|
-
const I = o.apartmentChooserData && o.apartmentChooserData.startScene !== void 0 ? o.apartmentChooserData.startScene :
|
|
1101
|
+
const I = o.apartmentChooserData && o.apartmentChooserData.startScene !== void 0 ? o.apartmentChooserData.startScene : yn;
|
|
1102
1102
|
p.value = o.apartmentChooserData && o.apartmentChooserData.scenes !== void 0 ? o.apartmentChooserData.scenes : e, i.value = o.apartmentChooserData && o.apartmentChooserData.sceneData !== void 0 ? o.apartmentChooserData.sceneData.map((D) => ({
|
|
1103
1103
|
unitId: D.apartmentID,
|
|
1104
1104
|
index: D.index
|
|
@@ -1109,17 +1109,17 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1109
1109
|
const L = (D, Z = "unitId") => {
|
|
1110
1110
|
let x = I, E = [];
|
|
1111
1111
|
for (let M = 0; M < ct; M++)
|
|
1112
|
-
E.push(x), x =
|
|
1112
|
+
E.push(x), x = yt(x);
|
|
1113
1113
|
return D.sort((M, $) => {
|
|
1114
1114
|
const K = E.findIndex(
|
|
1115
|
-
(
|
|
1115
|
+
(j) => j === r.value[M[Z]]
|
|
1116
1116
|
), O = E.findIndex(
|
|
1117
|
-
(
|
|
1117
|
+
(j) => j === r.value[$[Z]]
|
|
1118
1118
|
);
|
|
1119
1119
|
return K < O ? -1 : K > O ? 1 : 0;
|
|
1120
1120
|
}), D;
|
|
1121
1121
|
}, G = (D) => {
|
|
1122
|
-
u.value = new
|
|
1122
|
+
u.value = new cn(D);
|
|
1123
1123
|
};
|
|
1124
1124
|
n("initialized", {
|
|
1125
1125
|
scene: I,
|
|
@@ -1134,22 +1134,22 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1134
1134
|
l.value = I;
|
|
1135
1135
|
}
|
|
1136
1136
|
function _(I) {
|
|
1137
|
-
|
|
1137
|
+
w.value = I.hoverUnit, d.value = I.closeHandler, n("hoverOverUnit", I.hoverUnit);
|
|
1138
1138
|
}
|
|
1139
1139
|
function V(I) {
|
|
1140
|
-
|
|
1140
|
+
w.value = null, d.value = I.closeHandler, n("hoverOutUnit", I.hoverUnit);
|
|
1141
1141
|
}
|
|
1142
1142
|
return (I, L) => {
|
|
1143
1143
|
const G = B("v-progress-linear");
|
|
1144
|
-
return u.value ? (m(), S("div",
|
|
1145
|
-
s("div",
|
|
1146
|
-
s("div",
|
|
1147
|
-
|
|
1144
|
+
return u.value ? (m(), S("div", vn, [
|
|
1145
|
+
s("div", mn, [
|
|
1146
|
+
s("div", pn, [
|
|
1147
|
+
b(Ze, {
|
|
1148
1148
|
desktop: a.isReady && I.interactiveDesktop,
|
|
1149
1149
|
mobile: a.isReady && I.interactiveMobile
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: C(() => [
|
|
1152
|
-
|
|
1152
|
+
b(ln, {
|
|
1153
1153
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
1154
1154
|
"view-model": u.value,
|
|
1155
1155
|
"cardinal-frames": p.value,
|
|
@@ -1158,8 +1158,8 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1158
1158
|
onLoaded: L[1] || (L[1] = (D) => a.isReady = !0),
|
|
1159
1159
|
onError: L[2] || (L[2] = (D) => a.isError = !0)
|
|
1160
1160
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1161
|
-
a.isReady ? (m(), S("div",
|
|
1162
|
-
(m(), R(
|
|
1161
|
+
a.isReady ? (m(), S("div", hn, [
|
|
1162
|
+
(m(), R(ft(y.value), {
|
|
1163
1163
|
"cdn-file-resolver": o.cdnFileResolver,
|
|
1164
1164
|
"view-model": u.value,
|
|
1165
1165
|
"selected-unit-id": F.value,
|
|
@@ -1182,7 +1182,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1182
1182
|
]),
|
|
1183
1183
|
_: 3
|
|
1184
1184
|
}, 8, ["desktop", "mobile"]),
|
|
1185
|
-
|
|
1185
|
+
w.value && I.showCards ? (m(), R(qe, {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
"is-hoverable": f.value,
|
|
1188
1188
|
pos: l.value,
|
|
@@ -1190,9 +1190,9 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1190
1190
|
}, {
|
|
1191
1191
|
default: C(() => [
|
|
1192
1192
|
ee(I.$slots, "default", {
|
|
1193
|
-
unit:
|
|
1194
|
-
canGoToUnit: I.canGoToUnitCallback(
|
|
1195
|
-
goToUnit: () => I.canGoToUnitCallback(
|
|
1193
|
+
unit: w.value,
|
|
1194
|
+
canGoToUnit: I.canGoToUnitCallback(w.value),
|
|
1195
|
+
goToUnit: () => I.canGoToUnitCallback(w.value) && n("goToUnit", w.value),
|
|
1196
1196
|
pos: l.value,
|
|
1197
1197
|
isHoverable: f.value,
|
|
1198
1198
|
close: d.value
|
|
@@ -1200,8 +1200,8 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1200
1200
|
]),
|
|
1201
1201
|
_: 3
|
|
1202
1202
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : H("", !0),
|
|
1203
|
-
a.isReady ? (m(), S("div",
|
|
1204
|
-
|
|
1203
|
+
a.isReady ? (m(), S("div", fn, [
|
|
1204
|
+
b(zt, {
|
|
1205
1205
|
"can-go-to-unit-callback": o.canGoToUnitCallback,
|
|
1206
1206
|
"unit-renderer": o.unitRenderer,
|
|
1207
1207
|
"selected-unit-id": F.value,
|
|
@@ -1212,8 +1212,8 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1212
1212
|
onPrevUnit: L[6] || (L[6] = (D) => n("navUnit", g.value)),
|
|
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
|
-
])) : a.isError ? H("", !0) : (m(), S("div",
|
|
1216
|
-
|
|
1215
|
+
])) : a.isError ? H("", !0) : (m(), S("div", gn, [
|
|
1216
|
+
b(G, {
|
|
1217
1217
|
indeterminate: !a.progress,
|
|
1218
1218
|
modelValue: a.progress,
|
|
1219
1219
|
"onUpdate:modelValue": L[8] || (L[8] = (D) => a.progress = D)
|
|
@@ -1221,14 +1221,14 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { 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
|
])) : H("", !0);
|
|
1229
1229
|
};
|
|
1230
1230
|
}
|
|
1231
|
-
}),
|
|
1231
|
+
}), bn = /* @__PURE__ */ q(_n, [["__scopeId", "data-v-528c8f5b"]]), wn = ["src"], kn = /* @__PURE__ */ P({
|
|
1232
1232
|
__name: "VApartmentChooserV5CameraDayTimeSample",
|
|
1233
1233
|
props: {
|
|
1234
1234
|
timeSampleData: {},
|
|
@@ -1241,11 +1241,11 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1241
1241
|
key: e.value,
|
|
1242
1242
|
src: e.value,
|
|
1243
1243
|
width: "100%"
|
|
1244
|
-
}, null, 8,
|
|
1244
|
+
}, null, 8, wn)), [
|
|
1245
1245
|
[pe, o.timeSampleData === o.currentTime]
|
|
1246
1246
|
]);
|
|
1247
1247
|
}
|
|
1248
|
-
}),
|
|
1248
|
+
}), Cn = /* @__PURE__ */ q(kn, [["__scopeId", "data-v-189d0505"]]), In = /* @__PURE__ */ P({
|
|
1249
1249
|
__name: "VApartmentChooserV5CameraDay",
|
|
1250
1250
|
props: {
|
|
1251
1251
|
dayData: {},
|
|
@@ -1254,13 +1254,13 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1254
1254
|
},
|
|
1255
1255
|
setup(v) {
|
|
1256
1256
|
const t = v;
|
|
1257
|
-
return (e, o) => (m(!0), S(re, null, ve(t.dayData.timeSamples, (n) => (m(), R(
|
|
1257
|
+
return (e, o) => (m(!0), S(re, null, ve(t.dayData.timeSamples, (n) => (m(), R(Cn, {
|
|
1258
1258
|
"time-sample-data": n,
|
|
1259
1259
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
1260
1260
|
"current-time": e.currentTime
|
|
1261
1261
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1262
1262
|
}
|
|
1263
|
-
}),
|
|
1263
|
+
}), An = /* @__PURE__ */ P({
|
|
1264
1264
|
__name: "VApartmentChooserV5Camera",
|
|
1265
1265
|
props: {
|
|
1266
1266
|
cameraData: {},
|
|
@@ -1269,13 +1269,13 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1269
1269
|
},
|
|
1270
1270
|
setup(v) {
|
|
1271
1271
|
const t = v;
|
|
1272
|
-
return (e, o) => (m(!0), S(re, null, ve(t.cameraData.sunsimDayOfYear, (n) => (m(), R(
|
|
1272
|
+
return (e, o) => (m(!0), S(re, null, ve(t.cameraData.sunsimDayOfYear, (n) => (m(), R(In, {
|
|
1273
1273
|
"day-data": n,
|
|
1274
1274
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
1275
1275
|
"current-time": t.currentTime
|
|
1276
1276
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1277
1277
|
}
|
|
1278
|
-
}),
|
|
1278
|
+
}), Ln = ["src"], xn = /* @__PURE__ */ P({
|
|
1279
1279
|
__name: "VApartmentChooserV5Transition",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
transitionData: {},
|
|
@@ -1289,18 +1289,18 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1289
1289
|
key: o.value,
|
|
1290
1290
|
src: o.value,
|
|
1291
1291
|
class: "position-absolute top-left w-100 h-100"
|
|
1292
|
-
}, null, 8,
|
|
1292
|
+
}, null, 8, Ln)), [
|
|
1293
1293
|
[pe, n.transitionData === n.currentTransition]
|
|
1294
1294
|
]);
|
|
1295
1295
|
}
|
|
1296
|
-
}),
|
|
1297
|
-
function
|
|
1296
|
+
}), Fn = /* @__PURE__ */ q(xn, [["__scopeId", "data-v-10ab7bee"]]);
|
|
1297
|
+
function _t(v) {
|
|
1298
1298
|
return !("filename" in v);
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function pt(v) {
|
|
1301
1301
|
return "filename" in v;
|
|
1302
1302
|
}
|
|
1303
|
-
const
|
|
1303
|
+
const Sn = /* @__PURE__ */ P({
|
|
1304
1304
|
__name: "VApartmentChooserV5UiCamera",
|
|
1305
1305
|
props: {
|
|
1306
1306
|
apartmentChooserData: {},
|
|
@@ -1319,7 +1319,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1319
1319
|
}
|
|
1320
1320
|
);
|
|
1321
1321
|
const a = T(
|
|
1322
|
-
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(
|
|
1322
|
+
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(_t) : []
|
|
1323
1323
|
);
|
|
1324
1324
|
return Y(n, () => {
|
|
1325
1325
|
o(
|
|
@@ -1343,7 +1343,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1343
1343
|
}, null, 8, ["modelValue", "items", "disabled"]);
|
|
1344
1344
|
};
|
|
1345
1345
|
}
|
|
1346
|
-
}),
|
|
1346
|
+
}), Dn = /* @__PURE__ */ P({
|
|
1347
1347
|
__name: "VApartmentChooserV5UiDay",
|
|
1348
1348
|
props: {
|
|
1349
1349
|
cameraData: {},
|
|
@@ -1387,7 +1387,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1387
1387
|
"hide-details": ""
|
|
1388
1388
|
}, {
|
|
1389
1389
|
item: C(({ props: l }) => [
|
|
1390
|
-
|
|
1390
|
+
b(p, _e(l, {
|
|
1391
1391
|
title: a(l.title)
|
|
1392
1392
|
}), null, 16, ["title"])
|
|
1393
1393
|
]),
|
|
@@ -1398,10 +1398,10 @@ const xn = /* @__PURE__ */ j({
|
|
|
1398
1398
|
}, 8, ["modelValue", "items", "disabled"]);
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
|
-
}),
|
|
1401
|
+
}), Mn = {
|
|
1402
1402
|
key: 0,
|
|
1403
1403
|
class: "py-2"
|
|
1404
|
-
},
|
|
1404
|
+
}, En = { class: "small" }, Tn = { class: "small" }, Vn = /* @__PURE__ */ P({
|
|
1405
1405
|
__name: "VApartmentChooserV5UiTimeSample",
|
|
1406
1406
|
props: {
|
|
1407
1407
|
dayData: {},
|
|
@@ -1439,11 +1439,11 @@ const xn = /* @__PURE__ */ j({
|
|
|
1439
1439
|
}, 200));
|
|
1440
1440
|
}
|
|
1441
1441
|
return (p, u) => {
|
|
1442
|
-
const l = B("v-icon"), d = B("v-btn"),
|
|
1442
|
+
const l = B("v-icon"), d = B("v-btn"), w = B("v-slider"), h = B("v-field");
|
|
1443
1443
|
return m(), R(h, { variant: "solo" }, {
|
|
1444
1444
|
default: C(() => [
|
|
1445
|
-
p.dayData.startTime === p.dayData.endTime ? (m(), S("div",
|
|
1446
|
-
|
|
1445
|
+
p.dayData.startTime === p.dayData.endTime ? (m(), S("div", Mn, [
|
|
1446
|
+
b(l, {
|
|
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 xn = /* @__PURE__ */ j({
|
|
|
1453
1453
|
_: 1
|
|
1454
1454
|
}),
|
|
1455
1455
|
X(" " + N(r(n.value)), 1)
|
|
1456
|
-
])) : (m(), R(
|
|
1456
|
+
])) : (m(), R(w, {
|
|
1457
1457
|
key: 1,
|
|
1458
1458
|
class: "pa-1",
|
|
1459
1459
|
modelValue: n.value,
|
|
@@ -1465,19 +1465,19 @@ const xn = /* @__PURE__ */ j({
|
|
|
1465
1465
|
"hide-details": ""
|
|
1466
1466
|
}, {
|
|
1467
1467
|
prepend: C(() => [
|
|
1468
|
-
|
|
1468
|
+
b(d, {
|
|
1469
1469
|
icon: a.value ? "mdi-stop" : "mdi-play",
|
|
1470
1470
|
size: "x-small",
|
|
1471
1471
|
variant: "flat",
|
|
1472
1472
|
onClick: i
|
|
1473
1473
|
}, null, 8, ["icon"]),
|
|
1474
1474
|
X(" "),
|
|
1475
|
-
s("span",
|
|
1475
|
+
s("span", En, N(r(p.dayData.startTime)), 1)
|
|
1476
1476
|
]),
|
|
1477
1477
|
append: C(() => [
|
|
1478
|
-
s("span",
|
|
1478
|
+
s("span", Tn, N(r(p.dayData.endTime)), 1),
|
|
1479
1479
|
X(" "),
|
|
1480
|
-
|
|
1480
|
+
b(l, {
|
|
1481
1481
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1482
1482
|
class: "ml-2 mr-2 icon"
|
|
1483
1483
|
}, {
|
|
@@ -1495,7 +1495,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1495
1495
|
});
|
|
1496
1496
|
};
|
|
1497
1497
|
}
|
|
1498
|
-
}),
|
|
1498
|
+
}), Bn = /* @__PURE__ */ q(Vn, [["__scopeId", "data-v-cb62dcc2"]]), Rn = /* @__PURE__ */ P({
|
|
1499
1499
|
__name: "VApartmentChooserV5UiRotator",
|
|
1500
1500
|
props: {
|
|
1501
1501
|
apartmentChooserData: {},
|
|
@@ -1507,7 +1507,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1507
1507
|
setup(v, { expose: t, emit: e }) {
|
|
1508
1508
|
const o = v, n = e;
|
|
1509
1509
|
t({
|
|
1510
|
-
rotateShortestRoute:
|
|
1510
|
+
rotateShortestRoute: w
|
|
1511
1511
|
});
|
|
1512
1512
|
const a = c(!1), r = c(o.currentScene), i = c(o.selectedId);
|
|
1513
1513
|
Ie(() => {
|
|
@@ -1532,7 +1532,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1532
1532
|
const F = o.apartmentChooserData.scenes[y];
|
|
1533
1533
|
o.apartmentChooserData.loopable && f < F ? h(f + o.apartmentChooserData.scenes.length, F) : h(f, F);
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1535
|
+
function w(f) {
|
|
1536
1536
|
const y = r.value;
|
|
1537
1537
|
if (o.apartmentChooserData.loopable)
|
|
1538
1538
|
if (f < y) {
|
|
@@ -1561,7 +1561,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1561
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,
|
|
@@ -1579,7 +1579,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1579
1579
|
]),
|
|
1580
1580
|
_: 1
|
|
1581
1581
|
})) : H("", !0),
|
|
1582
|
-
|
|
1582
|
+
b(F, {
|
|
1583
1583
|
class: "mx-2",
|
|
1584
1584
|
icon: "mdi-reload",
|
|
1585
1585
|
disabled: !u.value,
|
|
@@ -1588,7 +1588,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1588
1588
|
], 64);
|
|
1589
1589
|
};
|
|
1590
1590
|
}
|
|
1591
|
-
}),
|
|
1591
|
+
}), On = ["innerHTML"], $n = /* @__PURE__ */ P({
|
|
1592
1592
|
__name: "VApartmentChooserV5Overlay",
|
|
1593
1593
|
props: {
|
|
1594
1594
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -1606,7 +1606,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1606
1606
|
}
|
|
1607
1607
|
), Ie(() => {
|
|
1608
1608
|
for (const l in i) {
|
|
1609
|
-
const { element: d, state:
|
|
1609
|
+
const { element: d, state: w } = i[l], { r: h, g: f, b: y, a: F, s: k } = e.colorCallback(l, w) || {
|
|
1610
1610
|
r: 0,
|
|
1611
1611
|
g: 0,
|
|
1612
1612
|
b: 0,
|
|
@@ -1653,19 +1653,19 @@ const xn = /* @__PURE__ */ j({
|
|
|
1653
1653
|
const l = a.value.firstChild;
|
|
1654
1654
|
l && (o("updateSvgContainer", l), p(), l.querySelectorAll(
|
|
1655
1655
|
"[data-apartment-id]"
|
|
1656
|
-
).forEach((
|
|
1657
|
-
|
|
1656
|
+
).forEach((w) => {
|
|
1657
|
+
w.style.strokeWidth = "0", w.style.stroke = "rgba(255,255,255,0)", w.style.fill = "rgba(255,255,255,0)", w.querySelectorAll("path").forEach((f) => {
|
|
1658
1658
|
f.style.stroke = "inherit", f.style.fill = "inherit";
|
|
1659
1659
|
});
|
|
1660
|
-
const h =
|
|
1660
|
+
const h = w.getAttribute("data-apartment-id");
|
|
1661
1661
|
i[h] = {
|
|
1662
|
-
element:
|
|
1662
|
+
element: w,
|
|
1663
1663
|
state: r.value === h ? "selected" : "idle"
|
|
1664
|
-
},
|
|
1664
|
+
}, w.addEventListener("mouseover", () => {
|
|
1665
1665
|
i[h].state === "idle" && (i[h].state = "hover"), o("onHoverOver", h);
|
|
1666
|
-
}),
|
|
1666
|
+
}), w.addEventListener("mouseout", () => {
|
|
1667
1667
|
i[h].state === "hover" && (i[h].state = "idle"), o("onHoverOut", h);
|
|
1668
|
-
}),
|
|
1668
|
+
}), w.addEventListener("click", () => {
|
|
1669
1669
|
o("onClick", h);
|
|
1670
1670
|
});
|
|
1671
1671
|
}));
|
|
@@ -1680,12 +1680,12 @@ const xn = /* @__PURE__ */ j({
|
|
|
1680
1680
|
class: "w-100 h-100 position-absolute top-left",
|
|
1681
1681
|
style: { "z-index": "5" },
|
|
1682
1682
|
innerHTML: n.value
|
|
1683
|
-
}, null, 8,
|
|
1683
|
+
}, null, 8, On))
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}));
|
|
1687
1687
|
}
|
|
1688
|
-
}),
|
|
1688
|
+
}), Un = /* @__PURE__ */ q($n, [["__scopeId", "data-v-fdac30c7"]]), Hn = "data:image/png;base64,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", Xe = /* @__PURE__ */ P({
|
|
1689
1689
|
__name: "VNorthDirection",
|
|
1690
1690
|
props: {
|
|
1691
1691
|
longitude: {}
|
|
@@ -1698,7 +1698,7 @@ const xn = /* @__PURE__ */ j({
|
|
|
1698
1698
|
return (o, n) => {
|
|
1699
1699
|
const a = B("v-img");
|
|
1700
1700
|
return m(), R(a, {
|
|
1701
|
-
src: oe(
|
|
1701
|
+
src: oe(Hn),
|
|
1702
1702
|
style: le(e.value)
|
|
1703
1703
|
}, null, 8, ["src", "style"]);
|
|
1704
1704
|
};
|
|
@@ -1723,8 +1723,8 @@ class Ye {
|
|
|
1723
1723
|
return n;
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
|
-
const
|
|
1727
|
-
class
|
|
1726
|
+
const Yn = 180;
|
|
1727
|
+
class bt {
|
|
1728
1728
|
constructor(t) {
|
|
1729
1729
|
ne(this, "_cdnFileResolver");
|
|
1730
1730
|
ne(this, "_resourceLoader");
|
|
@@ -1749,7 +1749,7 @@ class _t {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
getBackgroundImageData(t) {
|
|
1751
1751
|
return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
|
|
1752
|
-
|
|
1752
|
+
Yn,
|
|
1753
1753
|
t.timeSamples
|
|
1754
1754
|
)];
|
|
1755
1755
|
}
|
|
@@ -1791,14 +1791,14 @@ class _t {
|
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
|
-
class
|
|
1794
|
+
class Pe {
|
|
1795
1795
|
constructor(t) {
|
|
1796
1796
|
ne(this, "_mapImage");
|
|
1797
1797
|
ne(this, "_context");
|
|
1798
1798
|
this._mapImage = t, this._context = null;
|
|
1799
1799
|
}
|
|
1800
1800
|
static empty() {
|
|
1801
|
-
return new
|
|
1801
|
+
return new Pe(null);
|
|
1802
1802
|
}
|
|
1803
1803
|
update(t) {
|
|
1804
1804
|
this._mapImage && (this._context = t.getContext("2d", { willReadFrequently: !0 }), this._context.drawImage(this._mapImage, 0, 0, t.width, t.height));
|
|
@@ -1811,7 +1811,7 @@ class je {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
|
-
const
|
|
1814
|
+
const Pn = /* @__PURE__ */ new Date(0);
|
|
1815
1815
|
class ot {
|
|
1816
1816
|
constructor(t) {
|
|
1817
1817
|
ne(this, "_imagesByDay");
|
|
@@ -1819,7 +1819,7 @@ class ot {
|
|
|
1819
1819
|
this._imagesByDay = t, this._state = { selectedIndex: 0 };
|
|
1820
1820
|
}
|
|
1821
1821
|
static empty() {
|
|
1822
|
-
return new ot([{ referenceDate:
|
|
1822
|
+
return new ot([{ referenceDate: Pn, urls: [] }]);
|
|
1823
1823
|
}
|
|
1824
1824
|
selectIndex(t) {
|
|
1825
1825
|
t < this._imagesByDay.length && (this._state.selectedIndex = t);
|
|
@@ -1843,7 +1843,7 @@ class ot {
|
|
|
1843
1843
|
function Ge(v) {
|
|
1844
1844
|
return ("0" + v).slice(-2);
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function jn() {
|
|
1847
1847
|
const v = /* @__PURE__ */ new Date();
|
|
1848
1848
|
return [
|
|
1849
1849
|
v.getFullYear().toString(),
|
|
@@ -1855,40 +1855,40 @@ function Yn() {
|
|
|
1855
1855
|
Ge(v.getSeconds())
|
|
1856
1856
|
].join("");
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1859
|
-
return "Visuado-Snapshot-" +
|
|
1858
|
+
function Wn() {
|
|
1859
|
+
return "Visuado-Snapshot-" + jn();
|
|
1860
1860
|
}
|
|
1861
|
-
class
|
|
1861
|
+
class Nn {
|
|
1862
1862
|
// private cameraParams: any
|
|
1863
1863
|
constructor(t, e) {
|
|
1864
1864
|
ne(this, "data");
|
|
1865
1865
|
this.data = t;
|
|
1866
1866
|
}
|
|
1867
1867
|
download(t = null) {
|
|
1868
|
-
t = t ||
|
|
1868
|
+
t = t || Wn();
|
|
1869
1869
|
const e = document.createElement("a");
|
|
1870
1870
|
typeof e.download == "string" ? (document.body.appendChild(e), e.download = t, e.href = this.data, e.click(), document.body.removeChild(e)) : location.replace(this.data);
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
|
-
const
|
|
1873
|
+
const zn = {
|
|
1874
1874
|
class: "actions-bar position-absolute top-left d-flex w-100 justify-center align-center",
|
|
1875
1875
|
style: { "z-index": "7" }
|
|
1876
|
-
},
|
|
1876
|
+
}, Gn = {
|
|
1877
1877
|
class: "pa-2 pr-0",
|
|
1878
1878
|
style: { flex: "1" }
|
|
1879
|
-
},
|
|
1879
|
+
}, Qn = {
|
|
1880
1880
|
class: "pa-2 pr-0",
|
|
1881
1881
|
style: { flex: "1" }
|
|
1882
|
-
},
|
|
1882
|
+
}, qn = {
|
|
1883
1883
|
class: "pa-2",
|
|
1884
1884
|
style: { flex: "2" }
|
|
1885
|
-
},
|
|
1885
|
+
}, Zn = {
|
|
1886
1886
|
class: "actions-bar position-absolute bottom-right d-flex w-100 justify-center align-center",
|
|
1887
1887
|
style: { "z-index": "7" }
|
|
1888
|
-
},
|
|
1888
|
+
}, Xn = {
|
|
1889
1889
|
class: "position-absolute bottom-right",
|
|
1890
1890
|
style: { "z-index": "7", width: "50px", height: "50px" }
|
|
1891
|
-
},
|
|
1891
|
+
}, Jn = ["innerHTML"], Kn = { style: { "z-index": "7" } }, eo = /* @__PURE__ */ P({
|
|
1892
1892
|
__name: "VApartmentChooserV5",
|
|
1893
1893
|
props: {
|
|
1894
1894
|
apartmentChooserData: {},
|
|
@@ -1906,14 +1906,14 @@ const Wn = {
|
|
|
1906
1906
|
setup(v, { emit: t }) {
|
|
1907
1907
|
const e = v, o = t, n = c(), a = c(), r = c(), i = c(
|
|
1908
1908
|
null
|
|
1909
|
-
), p = c(), u = c(), l = c(!1), d = c(!1),
|
|
1909
|
+
), p = c(), u = c(), l = c(!1), d = c(!1), w = c(), h = c(), f = T(() => h.value.isHoverEnabled), y = c({ x: 0, y: 0, width: 0, height: 0 }), F = c(), k = c(
|
|
1910
1910
|
e.apartmentChooserData
|
|
1911
1911
|
);
|
|
1912
1912
|
ue(() => l.value = !0);
|
|
1913
1913
|
const g = T(
|
|
1914
|
-
() => k.value ? k.value.cameras.filter(
|
|
1914
|
+
() => k.value ? k.value.cameras.filter(_t) : []
|
|
1915
1915
|
), U = T(
|
|
1916
|
-
() => k.value ? k.value.cameras.filter(
|
|
1916
|
+
() => k.value ? k.value.cameras.filter(pt) : []
|
|
1917
1917
|
);
|
|
1918
1918
|
Y(
|
|
1919
1919
|
[
|
|
@@ -1951,12 +1951,12 @@ const Wn = {
|
|
|
1951
1951
|
{ immediate: !0 }
|
|
1952
1952
|
);
|
|
1953
1953
|
function _(M) {
|
|
1954
|
-
n.value !== M &&
|
|
1954
|
+
n.value !== M && w.value.rotateShortestRoute(
|
|
1955
1955
|
k.value.cameras.findIndex(($) => $ === M)
|
|
1956
1956
|
);
|
|
1957
1957
|
}
|
|
1958
1958
|
function V(M) {
|
|
1959
|
-
p.value = M,
|
|
1959
|
+
p.value = M, pt(k.value.cameras[p.value]) ? i.value = k.value.cameras[p.value] : (Le(() => {
|
|
1960
1960
|
I(
|
|
1961
1961
|
k.value.cameras[p.value]
|
|
1962
1962
|
);
|
|
@@ -1994,7 +1994,7 @@ const Wn = {
|
|
|
1994
1994
|
const $ = k.value.unitData.find(
|
|
1995
1995
|
(K) => K.unitId === M
|
|
1996
1996
|
);
|
|
1997
|
-
$ &&
|
|
1997
|
+
$ && w.value.rotateShortestRoute($.bestScene);
|
|
1998
1998
|
});
|
|
1999
1999
|
}
|
|
2000
2000
|
function Z(M) {
|
|
@@ -2005,14 +2005,14 @@ const Wn = {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
function E(M) {
|
|
2007
2007
|
const { layerX: $, layerY: K } = M;
|
|
2008
|
-
let O = M.target,
|
|
2008
|
+
let O = M.target, j = !1;
|
|
2009
2009
|
for (; O; )
|
|
2010
2010
|
if (O === F.value) {
|
|
2011
|
-
|
|
2011
|
+
j = !0;
|
|
2012
2012
|
break;
|
|
2013
2013
|
} else
|
|
2014
2014
|
O = O.parentElement;
|
|
2015
|
-
|
|
2015
|
+
j ? y.value = {
|
|
2016
2016
|
x: $,
|
|
2017
2017
|
y: K,
|
|
2018
2018
|
width: M.currentTarget.clientWidth,
|
|
@@ -2022,34 +2022,34 @@ const Wn = {
|
|
|
2022
2022
|
return (M, $) => {
|
|
2023
2023
|
const K = B("v-skeleton-loader");
|
|
2024
2024
|
return m(), S(re, null, [
|
|
2025
|
-
|
|
2025
|
+
b(K, {
|
|
2026
2026
|
type: "image",
|
|
2027
2027
|
class: "w-100 h-100 position-relative",
|
|
2028
2028
|
loading: !l.value || !k.value
|
|
2029
2029
|
}, {
|
|
2030
2030
|
default: C(() => [
|
|
2031
|
-
|
|
2031
|
+
b(xe, null, {
|
|
2032
2032
|
default: C(() => [
|
|
2033
2033
|
s("div", { onMousemove: E }, [
|
|
2034
|
-
s("div",
|
|
2035
|
-
s("div",
|
|
2036
|
-
|
|
2034
|
+
s("div", zn, [
|
|
2035
|
+
s("div", Gn, [
|
|
2036
|
+
b(Sn, {
|
|
2037
2037
|
"apartment-chooser-data": k.value,
|
|
2038
2038
|
"current-camera": n.value,
|
|
2039
2039
|
disabled: d.value,
|
|
2040
2040
|
onOnCameraChange: _
|
|
2041
2041
|
}, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])
|
|
2042
2042
|
]),
|
|
2043
|
-
s("div",
|
|
2044
|
-
|
|
2043
|
+
s("div", Qn, [
|
|
2044
|
+
b(Dn, {
|
|
2045
2045
|
"camera-data": n.value,
|
|
2046
2046
|
"current-day": a.value,
|
|
2047
2047
|
disabled: d.value,
|
|
2048
2048
|
onOnDayChange: L
|
|
2049
2049
|
}, null, 8, ["camera-data", "current-day", "disabled"])
|
|
2050
2050
|
]),
|
|
2051
|
-
s("div",
|
|
2052
|
-
|
|
2051
|
+
s("div", qn, [
|
|
2052
|
+
b(Bn, {
|
|
2053
2053
|
"day-data": a.value,
|
|
2054
2054
|
"current-time": r.value,
|
|
2055
2055
|
disabled: d.value,
|
|
@@ -2057,10 +2057,10 @@ const Wn = {
|
|
|
2057
2057
|
}, null, 8, ["day-data", "current-time", "disabled"])
|
|
2058
2058
|
])
|
|
2059
2059
|
]),
|
|
2060
|
-
s("div",
|
|
2061
|
-
|
|
2060
|
+
s("div", Zn, [
|
|
2061
|
+
b(Rn, {
|
|
2062
2062
|
ref_key: "rotator",
|
|
2063
|
-
ref:
|
|
2063
|
+
ref: w,
|
|
2064
2064
|
"apartment-chooser-data": k.value,
|
|
2065
2065
|
"current-scene": p.value,
|
|
2066
2066
|
"selected-id": M.selectedId,
|
|
@@ -2071,20 +2071,20 @@ const Wn = {
|
|
|
2071
2071
|
onOnRotateFinish: $[1] || ($[1] = (O) => d.value = !1)
|
|
2072
2072
|
}, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])
|
|
2073
2073
|
]),
|
|
2074
|
-
s("div",
|
|
2075
|
-
|
|
2074
|
+
s("div", Xn, [
|
|
2075
|
+
b(Xe, {
|
|
2076
2076
|
longitude: n.value.cameraRotation.y + 270
|
|
2077
2077
|
}, null, 8, ["longitude"])
|
|
2078
2078
|
]),
|
|
2079
|
-
|
|
2079
|
+
b(Ze, { position: "relative" }, {
|
|
2080
2080
|
default: C(() => [
|
|
2081
|
-
(m(!0), S(re, null, ve(g.value, (O) => (m(), R(
|
|
2081
|
+
(m(!0), S(re, null, ve(g.value, (O) => (m(), R(An, {
|
|
2082
2082
|
key: O.overlayFilename,
|
|
2083
2083
|
"camera-data": O,
|
|
2084
2084
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2085
2085
|
"current-time": r.value
|
|
2086
2086
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
2087
|
-
(m(!0), S(re, null, ve(U.value, (O) => (m(), R(
|
|
2087
|
+
(m(!0), S(re, null, ve(U.value, (O) => (m(), R(Fn, {
|
|
2088
2088
|
"transition-data": O,
|
|
2089
2089
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2090
2090
|
"current-transition": i.value
|
|
@@ -2094,8 +2094,8 @@ const Wn = {
|
|
|
2094
2094
|
class: "w-100 h-100 position-absolute top-left",
|
|
2095
2095
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
2096
2096
|
innerHTML: e.customOverlayContent
|
|
2097
|
-
}, null, 8,
|
|
2098
|
-
de(
|
|
2097
|
+
}, null, 8, Jn)) : H("", !0),
|
|
2098
|
+
de(b(Un, {
|
|
2099
2099
|
"cdn-file-resolver": M.cdnFileResolver,
|
|
2100
2100
|
"color-callback": e.colorCallback,
|
|
2101
2101
|
"current-camera": n.value,
|
|
@@ -2116,7 +2116,7 @@ const Wn = {
|
|
|
2116
2116
|
pos: y.value
|
|
2117
2117
|
}, {
|
|
2118
2118
|
default: C(() => [
|
|
2119
|
-
s("div",
|
|
2119
|
+
s("div", Kn, [
|
|
2120
2120
|
ee(M.$slots, "popup", tt(nt({ hoverId: u.value, hoverable: f.value })), void 0, !0)
|
|
2121
2121
|
])
|
|
2122
2122
|
]),
|
|
@@ -2129,17 +2129,17 @@ const Wn = {
|
|
|
2129
2129
|
]),
|
|
2130
2130
|
_: 3
|
|
2131
2131
|
}, 8, ["loading"]),
|
|
2132
|
-
|
|
2132
|
+
b(Re, {
|
|
2133
2133
|
ref_key: "hoverProbe",
|
|
2134
2134
|
ref: h
|
|
2135
2135
|
}, null, 512)
|
|
2136
2136
|
], 64);
|
|
2137
2137
|
};
|
|
2138
2138
|
}
|
|
2139
|
-
}), zs = /* @__PURE__ */ q(
|
|
2139
|
+
}), zs = /* @__PURE__ */ q(eo, [["__scopeId", "data-v-8841908c"]]), to = { class: "sunsim-bar-wrapper" }, no = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, oo = {
|
|
2140
2140
|
key: 1,
|
|
2141
2141
|
class: "text-center text-body-1"
|
|
2142
|
-
},
|
|
2142
|
+
}, ao = { class: "sunsim-wrapper d-flex align-center px-3" }, lo = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, so = /* @__PURE__ */ P({
|
|
2143
2143
|
__name: "VBuildingChooserSunSimControl",
|
|
2144
2144
|
props: {
|
|
2145
2145
|
modelValue: {},
|
|
@@ -2178,10 +2178,10 @@ const Wn = {
|
|
|
2178
2178
|
), Ie(() => {
|
|
2179
2179
|
a.value = r(e.dateSelector.selectedDate);
|
|
2180
2180
|
}), (l, d) => {
|
|
2181
|
-
const
|
|
2182
|
-
return m(), S("div",
|
|
2183
|
-
s("div",
|
|
2184
|
-
w
|
|
2181
|
+
const w = B("v-icon"), h = B("v-select"), f = B("v-progress-linear"), y = B("v-slider");
|
|
2182
|
+
return m(), S("div", to, [
|
|
2183
|
+
s("div", no, [
|
|
2184
|
+
b(w, {
|
|
2185
2185
|
color: "black",
|
|
2186
2186
|
class: "mr-2",
|
|
2187
2187
|
icon: "mdi-calendar-blank-outline"
|
|
@@ -2195,11 +2195,11 @@ const Wn = {
|
|
|
2195
2195
|
variant: "underlined",
|
|
2196
2196
|
"hide-details": "",
|
|
2197
2197
|
class: "day-selector"
|
|
2198
|
-
}, null, 8, ["modelValue", "items"])) : (m(), S("span",
|
|
2198
|
+
}, null, 8, ["modelValue", "items"])) : (m(), S("span", oo, N(u.value), 1))
|
|
2199
2199
|
]),
|
|
2200
|
-
s("div",
|
|
2201
|
-
s("span",
|
|
2202
|
-
w
|
|
2200
|
+
s("div", ao, [
|
|
2201
|
+
s("span", lo, N(i.value), 1),
|
|
2202
|
+
b(w, {
|
|
2203
2203
|
medium: "",
|
|
2204
2204
|
class: "ml-2 mr-2 icon"
|
|
2205
2205
|
}, {
|
|
@@ -2235,7 +2235,7 @@ const Wn = {
|
|
|
2235
2235
|
]);
|
|
2236
2236
|
};
|
|
2237
2237
|
}
|
|
2238
|
-
}), wt = /* @__PURE__ */ q(
|
|
2238
|
+
}), wt = /* @__PURE__ */ q(so, [["__scopeId", "data-v-d5a3d3f8"]]), io = { key: 0 }, ro = ["src"], uo = /* @__PURE__ */ P({
|
|
2239
2239
|
__name: "VBuildingChooserSceneImageStack",
|
|
2240
2240
|
props: {
|
|
2241
2241
|
imageUrls: {},
|
|
@@ -2275,23 +2275,23 @@ const Wn = {
|
|
|
2275
2275
|
style: { opacity: 1, borderRadius: 50 },
|
|
2276
2276
|
onLoad: i
|
|
2277
2277
|
}, null, 544),
|
|
2278
|
-
n.value === "preloaded" || n.value === "loaded" ? de((m(), S("div",
|
|
2279
|
-
(m(!0), S(re, null, ve(u.imageUrls, (d,
|
|
2280
|
-
key:
|
|
2281
|
-
class:
|
|
2278
|
+
n.value === "preloaded" || n.value === "loaded" ? de((m(), S("div", io, [
|
|
2279
|
+
(m(!0), S(re, null, ve(u.imageUrls, (d, w) => (m(), S("img", {
|
|
2280
|
+
key: w,
|
|
2281
|
+
class: ye({ "image-instance": !0, active: w === u.activeIndex }),
|
|
2282
2282
|
src: d,
|
|
2283
2283
|
onLoad: l[0] || (l[0] = (h) => a.value.partLoaded())
|
|
2284
|
-
}, null, 42,
|
|
2284
|
+
}, null, 42, ro))), 128))
|
|
2285
2285
|
], 512)), [
|
|
2286
2286
|
[pe, n.value === "loaded"]
|
|
2287
2287
|
]) : H("", !0)
|
|
2288
2288
|
]));
|
|
2289
2289
|
}
|
|
2290
|
-
}),
|
|
2290
|
+
}), kt = /* @__PURE__ */ q(uo, [["__scopeId", "data-v-8d357c5f"]]), co = {
|
|
2291
2291
|
key: 0,
|
|
2292
2292
|
style: { height: "50vh" },
|
|
2293
2293
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2294
|
-
},
|
|
2294
|
+
}, vo = { class: "image-instances" }, mo = { key: 0 }, po = { class: "svg-container" }, ho = ["viewBox"], fo = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], go = ["innerHTML"], yo = /* @__PURE__ */ P({
|
|
2295
2295
|
__name: "VBuildingChooserSvg",
|
|
2296
2296
|
props: {
|
|
2297
2297
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2309,7 +2309,7 @@ const Wn = {
|
|
|
2309
2309
|
setup(v, { emit: t }) {
|
|
2310
2310
|
const e = v, o = t;
|
|
2311
2311
|
Qe(
|
|
2312
|
-
|
|
2312
|
+
be,
|
|
2313
2313
|
e.i18nConfig ? new Fe(e.i18nConfig) : new Fe()
|
|
2314
2314
|
);
|
|
2315
2315
|
const n = c({
|
|
@@ -2320,7 +2320,7 @@ const Wn = {
|
|
|
2320
2320
|
height: 0
|
|
2321
2321
|
}), r = c({ x: 0, y: 0, width: 0, height: 0 }), i = c(), p = c(
|
|
2322
2322
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2323
|
-
), u = c(!1), l = c(new ge()), d = c(),
|
|
2323
|
+
), u = c(!1), l = c(new ge()), d = c(), w = c("0 0 0 0"), h = c(), f = c(), y = c(Ye.empty()), F = c(Pe.empty()), k = c(), g = T(() => k.value.isHoverEnabled);
|
|
2324
2324
|
Y(i, (x, E) => {
|
|
2325
2325
|
x ? o("hoverOverBuilding", x) : o("hoverOutBuilding", E);
|
|
2326
2326
|
}), Ie(() => {
|
|
@@ -2331,13 +2331,13 @@ const Wn = {
|
|
|
2331
2331
|
p.value = parseInt(E) * 2 + ($ < 15 ? 0 : $ > 45 ? 2 : 1);
|
|
2332
2332
|
}
|
|
2333
2333
|
}), ue(async () => {
|
|
2334
|
-
const E = await new
|
|
2334
|
+
const E = await new bt(
|
|
2335
2335
|
e.cdnFileResolver
|
|
2336
2336
|
).loadBuildingChooser(
|
|
2337
2337
|
e.buildingChooserData
|
|
2338
2338
|
);
|
|
2339
2339
|
if (E) {
|
|
2340
|
-
F.value = new
|
|
2340
|
+
F.value = new Pe(E.mapImage), y.value = new Ye(E.buildingIds), h.value = new ot(E.backgrounds), f.value = {
|
|
2341
2341
|
buildingOverlays: E.buildingOverlays,
|
|
2342
2342
|
viewLongitude: E.viewLongitude
|
|
2343
2343
|
};
|
|
@@ -2345,7 +2345,7 @@ const Wn = {
|
|
|
2345
2345
|
for (let { id: $, url: K } of E.buildingOverlays)
|
|
2346
2346
|
l.value.loadJson(K.replace(".png", ".svg")).then((O) => {
|
|
2347
2347
|
const te = new DOMParser().parseFromString(O, "image/svg+xml").getElementsByTagName("svg")[0];
|
|
2348
|
-
|
|
2348
|
+
w.value = te.getAttribute("viewBox"), M.push({
|
|
2349
2349
|
id: $,
|
|
2350
2350
|
svg: te.innerHTML
|
|
2351
2351
|
});
|
|
@@ -2373,9 +2373,9 @@ const Wn = {
|
|
|
2373
2373
|
x === i.value ? "hover" : "idle"
|
|
2374
2374
|
);
|
|
2375
2375
|
if (E) {
|
|
2376
|
-
const { r: M, g: $, b: K, a: O, s:
|
|
2376
|
+
const { r: M, g: $, b: K, a: O, s: j } = E;
|
|
2377
2377
|
return {
|
|
2378
|
-
strokeWidth:
|
|
2378
|
+
strokeWidth: j !== void 0 ? j : 2,
|
|
2379
2379
|
stroke: `rgb(${M}, ${$}, ${K})`,
|
|
2380
2380
|
strokeOpacity: 1,
|
|
2381
2381
|
fill: `rgb(${M}, ${$}, ${K})`,
|
|
@@ -2424,8 +2424,8 @@ const Wn = {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
return (x, E) => {
|
|
2426
2426
|
const M = B("v-icon");
|
|
2427
|
-
return u.value ? (m(), S("div",
|
|
2428
|
-
|
|
2427
|
+
return u.value ? (m(), S("div", co, [
|
|
2428
|
+
b(M, { "x-large": "" }, {
|
|
2429
2429
|
default: C(() => [
|
|
2430
2430
|
X("mdi-alert-circle-outline")
|
|
2431
2431
|
]),
|
|
@@ -2436,13 +2436,13 @@ const Wn = {
|
|
|
2436
2436
|
style: le(`height: ${a.value.height}px; position: relative`),
|
|
2437
2437
|
class: "image-container"
|
|
2438
2438
|
}, [
|
|
2439
|
-
|
|
2439
|
+
b(Ze, {
|
|
2440
2440
|
desktop: x.interactiveDesktop,
|
|
2441
2441
|
mobile: x.interactiveMobile
|
|
2442
2442
|
}, {
|
|
2443
2443
|
default: C(() => [
|
|
2444
|
-
s("div",
|
|
2445
|
-
|
|
2444
|
+
s("div", vo, [
|
|
2445
|
+
b(kt, {
|
|
2446
2446
|
"image-urls": h.value.imageUrls,
|
|
2447
2447
|
"active-index": p.value,
|
|
2448
2448
|
onResize: U,
|
|
@@ -2450,21 +2450,21 @@ const Wn = {
|
|
|
2450
2450
|
onReady: E[1] || (E[1] = ($) => n.value.ready = !0),
|
|
2451
2451
|
onReset: _
|
|
2452
2452
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2453
|
-
d.value ? de((m(), S("div",
|
|
2454
|
-
s("div",
|
|
2455
|
-
(m(), S("svg", { viewBox:
|
|
2453
|
+
d.value ? de((m(), S("div", mo, [
|
|
2454
|
+
s("div", po, [
|
|
2455
|
+
(m(), S("svg", { viewBox: w.value }, [
|
|
2456
2456
|
(m(!0), S(re, null, ve(d.value, ({ id: $, svg: K }, O) => (m(), S("g", {
|
|
2457
2457
|
key: O,
|
|
2458
2458
|
innerHTML: K,
|
|
2459
2459
|
"data-building-id": $,
|
|
2460
|
-
class:
|
|
2460
|
+
class: ye(V($)),
|
|
2461
2461
|
style: le(I($)),
|
|
2462
|
-
onMouseover: (
|
|
2463
|
-
onMouseout: (
|
|
2464
|
-
onMousemove: (
|
|
2465
|
-
onClick: (
|
|
2466
|
-
}, null, 46,
|
|
2467
|
-
], 8,
|
|
2462
|
+
onMouseover: (j) => L(j, $),
|
|
2463
|
+
onMouseout: (j) => G(j, $),
|
|
2464
|
+
onMousemove: (j) => D(j),
|
|
2465
|
+
onClick: (j) => Z($)
|
|
2466
|
+
}, null, 46, fo))), 128))
|
|
2467
|
+
], 8, ho))
|
|
2468
2468
|
])
|
|
2469
2469
|
], 512)), [
|
|
2470
2470
|
[pe, n.value.preloaded]
|
|
@@ -2472,7 +2472,7 @@ const Wn = {
|
|
|
2472
2472
|
de(s("div", {
|
|
2473
2473
|
class: "custom-overlay-layer",
|
|
2474
2474
|
innerHTML: x.customOverlayContent
|
|
2475
|
-
}, null, 8,
|
|
2475
|
+
}, null, 8, go), [
|
|
2476
2476
|
[pe, n.value.preloaded]
|
|
2477
2477
|
])
|
|
2478
2478
|
])
|
|
@@ -2485,7 +2485,7 @@ const Wn = {
|
|
|
2485
2485
|
class: "north-indicator",
|
|
2486
2486
|
longitude: f.value.viewLongitude
|
|
2487
2487
|
}, null, 8, ["longitude"])) : H("", !0),
|
|
2488
|
-
|
|
2488
|
+
b(wt, {
|
|
2489
2489
|
modelValue: p.value,
|
|
2490
2490
|
"onUpdate:modelValue": E[2] || (E[2] = ($) => p.value = $),
|
|
2491
2491
|
"date-selector": h.value,
|
|
@@ -2512,14 +2512,14 @@ const Wn = {
|
|
|
2512
2512
|
]),
|
|
2513
2513
|
_: 3
|
|
2514
2514
|
}, 8, ["is-hoverable", "pos"])) : H("", !0),
|
|
2515
|
-
|
|
2515
|
+
b(Re, {
|
|
2516
2516
|
ref_key: "hoverProbe",
|
|
2517
2517
|
ref: k
|
|
2518
2518
|
}, null, 512)
|
|
2519
2519
|
], 4)) : H("", !0);
|
|
2520
2520
|
};
|
|
2521
2521
|
}
|
|
2522
|
-
}),
|
|
2522
|
+
}), _o = /* @__PURE__ */ q(yo, [["__scopeId", "data-v-5e1006a9"]]), bo = /* @__PURE__ */ P({
|
|
2523
2523
|
__name: "VBuildingChooserRasterOverlay",
|
|
2524
2524
|
props: {
|
|
2525
2525
|
imageUrl: {},
|
|
@@ -2554,24 +2554,24 @@ const Wn = {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
function d() {
|
|
2557
|
-
r.value && i.value && (
|
|
2557
|
+
r.value && i.value && (w(), r.value.putImageData(i.value, 0, 0));
|
|
2558
2558
|
}
|
|
2559
|
-
function
|
|
2559
|
+
function w() {
|
|
2560
2560
|
if (e.color)
|
|
2561
2561
|
for (let h = 0; h < p.value.length; h++)
|
|
2562
2562
|
i.value.data[p.value[h] - 3] = e.color.r, i.value.data[p.value[h] - 2] = e.color.g, i.value.data[p.value[h] - 1] = e.color.b, i.value.data[p.value[h]] = e.color.a;
|
|
2563
2563
|
}
|
|
2564
|
-
return (h, f) => (m(), S("canvas",
|
|
2564
|
+
return (h, f) => (m(), S("canvas", _e({
|
|
2565
2565
|
ref_key: "canvas",
|
|
2566
2566
|
ref: u,
|
|
2567
2567
|
class: "overlay"
|
|
2568
2568
|
}, h.dimensions), null, 16));
|
|
2569
2569
|
}
|
|
2570
|
-
}),
|
|
2570
|
+
}), wo = /* @__PURE__ */ q(bo, [["__scopeId", "data-v-9e4cdd0e"]]), ko = {
|
|
2571
2571
|
key: 0,
|
|
2572
2572
|
style: { height: "50vh" },
|
|
2573
2573
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2574
|
-
},
|
|
2574
|
+
}, Co = { class: "image-instances" }, Io = ["innerHTML"], Ao = /* @__PURE__ */ P({
|
|
2575
2575
|
__name: "VBuildingChooserRaster",
|
|
2576
2576
|
props: {
|
|
2577
2577
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2589,7 +2589,7 @@ const Wn = {
|
|
|
2589
2589
|
setup(v, { emit: t }) {
|
|
2590
2590
|
const e = v, o = t;
|
|
2591
2591
|
Qe(
|
|
2592
|
-
|
|
2592
|
+
be,
|
|
2593
2593
|
e.i18nConfig ? new Fe(e.i18nConfig) : new Fe()
|
|
2594
2594
|
);
|
|
2595
2595
|
const n = c(), a = c({
|
|
@@ -2598,7 +2598,7 @@ const Wn = {
|
|
|
2598
2598
|
}), r = c({
|
|
2599
2599
|
width: 0,
|
|
2600
2600
|
height: 0
|
|
2601
|
-
}), i = c({ x: 0, y: 0, width: 0, height: 0 }), p = c(), u = c(Ye.empty()), l = c(
|
|
2601
|
+
}), i = c({ x: 0, y: 0, width: 0, height: 0 }), p = c(), u = c(Ye.empty()), l = c(Pe.empty()), d = c(), w = c(
|
|
2602
2602
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2603
2603
|
), h = c(
|
|
2604
2604
|
(x, E) => ({ x, y: E })
|
|
@@ -2611,17 +2611,17 @@ const Wn = {
|
|
|
2611
2611
|
const [x, E, M] = /^(\d\d):(\d\d)$/.exec(
|
|
2612
2612
|
e.buildingChooserTimeOfDay
|
|
2613
2613
|
), $ = parseInt(M);
|
|
2614
|
-
|
|
2614
|
+
w.value = parseInt(E) * 2 + ($ < 15 ? 0 : $ > 45 ? 2 : 1);
|
|
2615
2615
|
}
|
|
2616
2616
|
}), Y(d, (x, E) => {
|
|
2617
2617
|
x ? o("hoverOverBuilding", x) : o("hoverOutBuilding", E);
|
|
2618
2618
|
}), ue(async () => {
|
|
2619
|
-
const E = await new
|
|
2619
|
+
const E = await new bt(
|
|
2620
2620
|
e.cdnFileResolver
|
|
2621
2621
|
).loadBuildingChooser(
|
|
2622
2622
|
e.buildingChooserData
|
|
2623
2623
|
);
|
|
2624
|
-
E ? (l.value = new
|
|
2624
|
+
E ? (l.value = new Pe(E.mapImage), u.value = new Ye(E.buildingIds), n.value = new ot(E.backgrounds), p.value = {
|
|
2625
2625
|
buildingOverlays: E.buildingOverlays,
|
|
2626
2626
|
viewLongitude: E.viewLongitude
|
|
2627
2627
|
}, I()) : f.value = !0;
|
|
@@ -2668,8 +2668,8 @@ const Wn = {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
return (x, E) => {
|
|
2670
2670
|
const M = B("v-icon");
|
|
2671
|
-
return f.value ? (m(), S("div",
|
|
2672
|
-
|
|
2671
|
+
return f.value ? (m(), S("div", ko, [
|
|
2672
|
+
b(M, { "x-large": "" }, {
|
|
2673
2673
|
default: C(() => [
|
|
2674
2674
|
X("mdi-alert-circle-outline")
|
|
2675
2675
|
]),
|
|
@@ -2680,23 +2680,23 @@ const Wn = {
|
|
|
2680
2680
|
style: le(`cursor: ${d.value ? "pointer" : "auto"};height: ${r.value.height}px; position: relative`),
|
|
2681
2681
|
class: "image-container"
|
|
2682
2682
|
}, [
|
|
2683
|
-
|
|
2683
|
+
b(Ze, {
|
|
2684
2684
|
desktop: x.interactiveDesktop,
|
|
2685
2685
|
mobile: x.interactiveMobile,
|
|
2686
2686
|
onUpdate: Z
|
|
2687
2687
|
}, {
|
|
2688
2688
|
default: C(() => [
|
|
2689
|
-
s("div",
|
|
2690
|
-
|
|
2689
|
+
s("div", Co, [
|
|
2690
|
+
b(kt, {
|
|
2691
2691
|
"image-urls": n.value.imageUrls,
|
|
2692
|
-
"active-index":
|
|
2692
|
+
"active-index": w.value,
|
|
2693
2693
|
onResize: U,
|
|
2694
2694
|
onPreloaded: E[0] || (E[0] = ($) => a.value.preloaded = !0),
|
|
2695
2695
|
onReady: E[1] || (E[1] = ($) => a.value.ready = !0),
|
|
2696
2696
|
onReset: _
|
|
2697
2697
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2698
2698
|
de(s("div", null, [
|
|
2699
|
-
(m(!0), S(re, null, ve(p.value.buildingOverlays, ($) => (m(), R(
|
|
2699
|
+
(m(!0), S(re, null, ve(p.value.buildingOverlays, ($) => (m(), R(wo, {
|
|
2700
2700
|
ref_for: !0,
|
|
2701
2701
|
ref_key: "overlays",
|
|
2702
2702
|
ref: k,
|
|
@@ -2709,7 +2709,7 @@ const Wn = {
|
|
|
2709
2709
|
[pe, a.value.preloaded]
|
|
2710
2710
|
])
|
|
2711
2711
|
]),
|
|
2712
|
-
s("canvas",
|
|
2712
|
+
s("canvas", _e(r.value, {
|
|
2713
2713
|
ref_key: "canvas",
|
|
2714
2714
|
ref: F,
|
|
2715
2715
|
class: { hover: !!d.value },
|
|
@@ -2719,7 +2719,7 @@ const Wn = {
|
|
|
2719
2719
|
de(s("div", {
|
|
2720
2720
|
class: "custom-overlay-layer",
|
|
2721
2721
|
innerHTML: x.customOverlayContent
|
|
2722
|
-
}, null, 8,
|
|
2722
|
+
}, null, 8, Io), [
|
|
2723
2723
|
[pe, a.value.preloaded]
|
|
2724
2724
|
])
|
|
2725
2725
|
]),
|
|
@@ -2731,9 +2731,9 @@ const Wn = {
|
|
|
2731
2731
|
class: "north-indicator",
|
|
2732
2732
|
longitude: p.value.viewLongitude
|
|
2733
2733
|
}, null, 8, ["longitude"])) : H("", !0),
|
|
2734
|
-
|
|
2735
|
-
modelValue:
|
|
2736
|
-
"onUpdate:modelValue": E[2] || (E[2] = ($) =>
|
|
2734
|
+
b(wt, {
|
|
2735
|
+
modelValue: w.value,
|
|
2736
|
+
"onUpdate:modelValue": E[2] || (E[2] = ($) => w.value = $),
|
|
2737
2737
|
"date-selector": n.value,
|
|
2738
2738
|
"is-loading": !a.value.ready
|
|
2739
2739
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
@@ -2758,14 +2758,14 @@ const Wn = {
|
|
|
2758
2758
|
]),
|
|
2759
2759
|
_: 3
|
|
2760
2760
|
}, 8, ["is-hoverable", "pos"])) : H("", !0),
|
|
2761
|
-
|
|
2761
|
+
b(Re, {
|
|
2762
2762
|
ref_key: "hoverProbe",
|
|
2763
2763
|
ref: y
|
|
2764
2764
|
}, null, 512)
|
|
2765
2765
|
], 4)) : H("", !0);
|
|
2766
2766
|
};
|
|
2767
2767
|
}
|
|
2768
|
-
}),
|
|
2768
|
+
}), Lo = /* @__PURE__ */ q(Ao, [["__scopeId", "data-v-088f521e"]]), xo = /* @__PURE__ */ P({
|
|
2769
2769
|
__name: "VBuildingChooser",
|
|
2770
2770
|
props: {
|
|
2771
2771
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2783,9 +2783,9 @@ const Wn = {
|
|
|
2783
2783
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2784
2784
|
setup(v, { emit: t }) {
|
|
2785
2785
|
const e = v, o = t, n = T(
|
|
2786
|
-
() => e.useSvg ?
|
|
2786
|
+
() => e.useSvg ? _o : Lo
|
|
2787
2787
|
);
|
|
2788
|
-
return (a, r) => (m(), R(
|
|
2788
|
+
return (a, r) => (m(), R(ft(n.value), {
|
|
2789
2789
|
"i18n-config": e.i18nConfig,
|
|
2790
2790
|
"show-cards": e.showCards,
|
|
2791
2791
|
"color-callback": e.colorCallback,
|
|
@@ -2799,7 +2799,7 @@ const Wn = {
|
|
|
2799
2799
|
onGoToBuilding: r[0] || (r[0] = (i) => o("goToBuilding", i)),
|
|
2800
2800
|
onHoverOverBuilding: r[1] || (r[1] = (i) => o("hoverOverBuilding", i)),
|
|
2801
2801
|
onHoverOutBuilding: r[2] || (r[2] = (i) => o("hoverOutBuilding", i))
|
|
2802
|
-
},
|
|
2802
|
+
}, Et({ _: 2 }, [
|
|
2803
2803
|
ve(Object.keys(a.$slots), (i) => ({
|
|
2804
2804
|
name: i,
|
|
2805
2805
|
fn: C((p) => [
|
|
@@ -2808,7 +2808,7 @@ const Wn = {
|
|
|
2808
2808
|
}))
|
|
2809
2809
|
]), 1064, ["i18n-config", "show-cards", "color-callback", "cdn-file-resolver", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content", "building-chooser-data"]));
|
|
2810
2810
|
}
|
|
2811
|
-
}),
|
|
2811
|
+
}), Fo = ["src"], So = /* @__PURE__ */ P({
|
|
2812
2812
|
__name: "VBuildingChooserV5CameraDayTimeSample",
|
|
2813
2813
|
props: {
|
|
2814
2814
|
timeSampleData: {},
|
|
@@ -2821,11 +2821,11 @@ const Wn = {
|
|
|
2821
2821
|
key: e.value,
|
|
2822
2822
|
src: e.value,
|
|
2823
2823
|
width: "100%"
|
|
2824
|
-
}, null, 8,
|
|
2824
|
+
}, null, 8, Fo)), [
|
|
2825
2825
|
[pe, o.timeSampleData === o.currentTime]
|
|
2826
2826
|
]);
|
|
2827
2827
|
}
|
|
2828
|
-
}),
|
|
2828
|
+
}), Do = /* @__PURE__ */ q(So, [["__scopeId", "data-v-98118455"]]), Mo = /* @__PURE__ */ P({
|
|
2829
2829
|
__name: "VBuildingChooserV5CameraDay",
|
|
2830
2830
|
props: {
|
|
2831
2831
|
dayData: {},
|
|
@@ -2834,13 +2834,13 @@ const Wn = {
|
|
|
2834
2834
|
},
|
|
2835
2835
|
setup(v) {
|
|
2836
2836
|
const t = v;
|
|
2837
|
-
return (e, o) => (m(!0), S(re, null, ve(t.dayData.timeSamples, (n) => (m(), R(
|
|
2837
|
+
return (e, o) => (m(!0), S(re, null, ve(t.dayData.timeSamples, (n) => (m(), R(Do, {
|
|
2838
2838
|
"time-sample-data": n,
|
|
2839
2839
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
2840
2840
|
"current-time": e.currentTime
|
|
2841
2841
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2842
2842
|
}
|
|
2843
|
-
}),
|
|
2843
|
+
}), Eo = /* @__PURE__ */ P({
|
|
2844
2844
|
__name: "VBuildingChooserV5Camera",
|
|
2845
2845
|
props: {
|
|
2846
2846
|
cameraData: {},
|
|
@@ -2849,13 +2849,13 @@ const Wn = {
|
|
|
2849
2849
|
},
|
|
2850
2850
|
setup(v) {
|
|
2851
2851
|
const t = v;
|
|
2852
|
-
return (e, o) => (m(!0), S(re, null, ve(t.cameraData.sunsimDayOfYear, (n) => (m(), R(
|
|
2852
|
+
return (e, o) => (m(!0), S(re, null, ve(t.cameraData.sunsimDayOfYear, (n) => (m(), R(Mo, {
|
|
2853
2853
|
"day-data": n,
|
|
2854
2854
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
2855
2855
|
"current-time": t.currentTime
|
|
2856
2856
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2857
2857
|
}
|
|
2858
|
-
}),
|
|
2858
|
+
}), To = /* @__PURE__ */ P({
|
|
2859
2859
|
__name: "VBuildingChooserV5UiCamera",
|
|
2860
2860
|
props: {
|
|
2861
2861
|
buildingChooserData: {},
|
|
@@ -2887,7 +2887,7 @@ const Wn = {
|
|
|
2887
2887
|
}, null, 8, ["modelValue", "items"]);
|
|
2888
2888
|
};
|
|
2889
2889
|
}
|
|
2890
|
-
}),
|
|
2890
|
+
}), Vo = /* @__PURE__ */ P({
|
|
2891
2891
|
__name: "VBuildingChooserV5UiDay",
|
|
2892
2892
|
props: {
|
|
2893
2893
|
cameraData: {},
|
|
@@ -2929,7 +2929,7 @@ const Wn = {
|
|
|
2929
2929
|
"hide-details": ""
|
|
2930
2930
|
}, {
|
|
2931
2931
|
item: C(({ props: l }) => [
|
|
2932
|
-
|
|
2932
|
+
b(p, _e(l, {
|
|
2933
2933
|
title: a(l.title)
|
|
2934
2934
|
}), null, 16, ["title"])
|
|
2935
2935
|
]),
|
|
@@ -2940,10 +2940,10 @@ const Wn = {
|
|
|
2940
2940
|
}, 8, ["modelValue", "items"]);
|
|
2941
2941
|
};
|
|
2942
2942
|
}
|
|
2943
|
-
}),
|
|
2943
|
+
}), Bo = {
|
|
2944
2944
|
key: 0,
|
|
2945
2945
|
class: "py-2"
|
|
2946
|
-
},
|
|
2946
|
+
}, Ro = { class: "small" }, Oo = { class: "small" }, $o = /* @__PURE__ */ P({
|
|
2947
2947
|
__name: "VBuildingChooserV5UiTimeSample",
|
|
2948
2948
|
props: {
|
|
2949
2949
|
dayData: {},
|
|
@@ -2980,11 +2980,11 @@ const Wn = {
|
|
|
2980
2980
|
}, 200));
|
|
2981
2981
|
}
|
|
2982
2982
|
return (p, u) => {
|
|
2983
|
-
const l = B("v-icon"), d = B("v-btn"),
|
|
2983
|
+
const l = B("v-icon"), d = B("v-btn"), w = B("v-slider"), h = B("v-field");
|
|
2984
2984
|
return m(), R(h, { variant: "solo" }, {
|
|
2985
2985
|
default: C(() => [
|
|
2986
|
-
p.dayData.startTime === p.dayData.endTime ? (m(), S("div",
|
|
2987
|
-
|
|
2986
|
+
p.dayData.startTime === p.dayData.endTime ? (m(), S("div", Bo, [
|
|
2987
|
+
b(l, {
|
|
2988
2988
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
2989
2989
|
class: "py-2 ml-2 mr-2 icon"
|
|
2990
2990
|
}, {
|
|
@@ -2994,7 +2994,7 @@ const Wn = {
|
|
|
2994
2994
|
_: 1
|
|
2995
2995
|
}),
|
|
2996
2996
|
X(" " + N(r(n.value)), 1)
|
|
2997
|
-
])) : (m(), R(
|
|
2997
|
+
])) : (m(), R(w, {
|
|
2998
2998
|
key: 1,
|
|
2999
2999
|
class: "pa-1",
|
|
3000
3000
|
modelValue: n.value,
|
|
@@ -3005,19 +3005,19 @@ const Wn = {
|
|
|
3005
3005
|
"hide-details": ""
|
|
3006
3006
|
}, {
|
|
3007
3007
|
prepend: C(() => [
|
|
3008
|
-
|
|
3008
|
+
b(d, {
|
|
3009
3009
|
icon: a.value ? "mdi-stop" : "mdi-play",
|
|
3010
3010
|
size: "x-small",
|
|
3011
3011
|
variant: "flat",
|
|
3012
3012
|
onClick: i
|
|
3013
3013
|
}, null, 8, ["icon"]),
|
|
3014
3014
|
X(" "),
|
|
3015
|
-
s("span",
|
|
3015
|
+
s("span", Ro, N(r(p.dayData.startTime)), 1)
|
|
3016
3016
|
]),
|
|
3017
3017
|
append: C(() => [
|
|
3018
|
-
s("span",
|
|
3018
|
+
s("span", Oo, N(r(p.dayData.endTime)), 1),
|
|
3019
3019
|
X(" "),
|
|
3020
|
-
|
|
3020
|
+
b(l, {
|
|
3021
3021
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3022
3022
|
class: "ml-2 mr-2 icon"
|
|
3023
3023
|
}, {
|
|
@@ -3035,7 +3035,7 @@ const Wn = {
|
|
|
3035
3035
|
});
|
|
3036
3036
|
};
|
|
3037
3037
|
}
|
|
3038
|
-
}),
|
|
3038
|
+
}), Uo = /* @__PURE__ */ q($o, [["__scopeId", "data-v-2c27d93d"]]), Ho = ["innerHTML"], Yo = /* @__PURE__ */ P({
|
|
3039
3039
|
__name: "VBuildingChooserV5Overlay",
|
|
3040
3040
|
props: {
|
|
3041
3041
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3048,7 +3048,7 @@ const Wn = {
|
|
|
3048
3048
|
const e = v, o = t, n = c(), a = c(), r = c(e.selectedId), i = st({});
|
|
3049
3049
|
Ie(() => {
|
|
3050
3050
|
for (const l in i) {
|
|
3051
|
-
const { element: d, state:
|
|
3051
|
+
const { element: d, state: w } = i[l], { r: h, g: f, b: y, a: F, s: k } = e.colorCallback(l, w) || {
|
|
3052
3052
|
r: 0,
|
|
3053
3053
|
g: 0,
|
|
3054
3054
|
b: 0,
|
|
@@ -3093,19 +3093,19 @@ const Wn = {
|
|
|
3093
3093
|
function u() {
|
|
3094
3094
|
Le(() => {
|
|
3095
3095
|
const l = a.value.firstChild;
|
|
3096
|
-
l && (o("updateSvgContainer", l), p(), l.querySelectorAll("[data-building-id]").forEach((
|
|
3097
|
-
|
|
3096
|
+
l && (o("updateSvgContainer", l), p(), l.querySelectorAll("[data-building-id]").forEach((w) => {
|
|
3097
|
+
w.style.strokeWidth = "0", w.style.stroke = "rgba(255,255,255,0)", w.style.fill = "rgba(255,255,255,0)", w.querySelectorAll("path").forEach((f) => {
|
|
3098
3098
|
f.style.stroke = "inherit", f.style.fill = "inherit";
|
|
3099
3099
|
});
|
|
3100
|
-
const h =
|
|
3100
|
+
const h = w.getAttribute("data-building-id");
|
|
3101
3101
|
i[h] = {
|
|
3102
|
-
element:
|
|
3102
|
+
element: w,
|
|
3103
3103
|
state: r.value === h ? "selected" : "idle"
|
|
3104
|
-
},
|
|
3104
|
+
}, w.addEventListener("mouseover", () => {
|
|
3105
3105
|
i[h].state === "idle" && (i[h].state = "hover"), o("onHoverOver", h);
|
|
3106
|
-
}),
|
|
3106
|
+
}), w.addEventListener("mouseout", () => {
|
|
3107
3107
|
i[h].state === "hover" && (i[h].state = "idle"), o("onHoverOut", h);
|
|
3108
|
-
}),
|
|
3108
|
+
}), w.addEventListener("click", () => {
|
|
3109
3109
|
o("onClick", h);
|
|
3110
3110
|
});
|
|
3111
3111
|
}));
|
|
@@ -3120,27 +3120,27 @@ const Wn = {
|
|
|
3120
3120
|
class: "w-100 h-100 position-absolute top-left",
|
|
3121
3121
|
style: { "z-index": "4" },
|
|
3122
3122
|
innerHTML: n.value
|
|
3123
|
-
}, null, 8,
|
|
3123
|
+
}, null, 8, Ho))
|
|
3124
3124
|
]),
|
|
3125
3125
|
_: 1
|
|
3126
3126
|
}));
|
|
3127
3127
|
}
|
|
3128
|
-
}),
|
|
3128
|
+
}), Po = /* @__PURE__ */ q(Yo, [["__scopeId", "data-v-8037baa3"]]), jo = {
|
|
3129
3129
|
class: "actions-bar position-absolute top-left d-flex w-100 justify-center align-center",
|
|
3130
3130
|
style: { "z-index": "6" }
|
|
3131
|
-
},
|
|
3131
|
+
}, Wo = {
|
|
3132
3132
|
class: "pa-2 pr-0",
|
|
3133
3133
|
style: { flex: "1" }
|
|
3134
|
-
},
|
|
3134
|
+
}, No = {
|
|
3135
3135
|
class: "pa-2 pr-0",
|
|
3136
3136
|
style: { flex: "1" }
|
|
3137
|
-
},
|
|
3137
|
+
}, zo = {
|
|
3138
3138
|
class: "pa-2",
|
|
3139
3139
|
style: { flex: "2" }
|
|
3140
|
-
},
|
|
3140
|
+
}, Go = {
|
|
3141
3141
|
class: "position-absolute bottom-right",
|
|
3142
3142
|
style: { "z-index": "6", width: "50px", height: "50px" }
|
|
3143
|
-
},
|
|
3143
|
+
}, Qo = ["innerHTML"], qo = { style: { "z-index": "7" } }, Zo = /* @__PURE__ */ P({
|
|
3144
3144
|
__name: "VBuildingChooserV5",
|
|
3145
3145
|
props: {
|
|
3146
3146
|
buildingChooserData: {},
|
|
@@ -3155,7 +3155,7 @@ const Wn = {
|
|
|
3155
3155
|
},
|
|
3156
3156
|
emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove"],
|
|
3157
3157
|
setup(v, { emit: t }) {
|
|
3158
|
-
const e = v, o = t, n = c(), a = c(), r = c(), i = c(), p = c(!1), u = c(), l = T(() => u.value.isHoverEnabled), d = c({ x: 0, y: 0, width: 0, height: 0 }),
|
|
3158
|
+
const e = v, o = t, n = c(), a = c(), r = c(), i = c(), p = c(!1), u = c(), l = T(() => u.value.isHoverEnabled), d = c({ x: 0, y: 0, width: 0, height: 0 }), w = c(), h = c(
|
|
3159
3159
|
e.buildingChooserData
|
|
3160
3160
|
);
|
|
3161
3161
|
ue(() => p.value = !0), Y(
|
|
@@ -3222,7 +3222,7 @@ const Wn = {
|
|
|
3222
3222
|
const { layerX: V, layerY: I } = _;
|
|
3223
3223
|
let L = _.target, G = !1;
|
|
3224
3224
|
for (; L; )
|
|
3225
|
-
if (L ===
|
|
3225
|
+
if (L === w.value) {
|
|
3226
3226
|
G = !0;
|
|
3227
3227
|
break;
|
|
3228
3228
|
} else
|
|
@@ -3237,49 +3237,49 @@ const Wn = {
|
|
|
3237
3237
|
return (_, V) => {
|
|
3238
3238
|
const I = B("v-skeleton-loader");
|
|
3239
3239
|
return m(), S(re, null, [
|
|
3240
|
-
|
|
3240
|
+
b(I, {
|
|
3241
3241
|
type: "image",
|
|
3242
3242
|
class: "w-100 h-100 position-relative",
|
|
3243
3243
|
loading: !p.value || !h.value
|
|
3244
3244
|
}, {
|
|
3245
3245
|
default: C(() => [
|
|
3246
|
-
|
|
3246
|
+
b(xe, null, {
|
|
3247
3247
|
default: C(() => [
|
|
3248
3248
|
s("div", {
|
|
3249
3249
|
class: "w-100 h-100 position-relative",
|
|
3250
3250
|
onMousemove: U
|
|
3251
3251
|
}, [
|
|
3252
|
-
s("div",
|
|
3253
|
-
s("div",
|
|
3254
|
-
|
|
3252
|
+
s("div", jo, [
|
|
3253
|
+
s("div", Wo, [
|
|
3254
|
+
b(To, {
|
|
3255
3255
|
"building-chooser-data": h.value,
|
|
3256
3256
|
"current-camera": n.value,
|
|
3257
3257
|
onOnCameraChange: f
|
|
3258
3258
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3259
3259
|
]),
|
|
3260
|
-
s("div",
|
|
3261
|
-
|
|
3260
|
+
s("div", No, [
|
|
3261
|
+
b(Vo, {
|
|
3262
3262
|
"camera-data": n.value,
|
|
3263
3263
|
"current-day": a.value,
|
|
3264
3264
|
onOnDayChange: y
|
|
3265
3265
|
}, null, 8, ["camera-data", "current-day"])
|
|
3266
3266
|
]),
|
|
3267
|
-
s("div",
|
|
3268
|
-
|
|
3267
|
+
s("div", zo, [
|
|
3268
|
+
b(Uo, {
|
|
3269
3269
|
"day-data": a.value,
|
|
3270
3270
|
"current-time": r.value,
|
|
3271
3271
|
onOnTimeChange: F
|
|
3272
3272
|
}, null, 8, ["day-data", "current-time"])
|
|
3273
3273
|
])
|
|
3274
3274
|
]),
|
|
3275
|
-
s("div",
|
|
3276
|
-
|
|
3275
|
+
s("div", Go, [
|
|
3276
|
+
b(Xe, {
|
|
3277
3277
|
longitude: n.value.cameraRotation.y + 270
|
|
3278
3278
|
}, null, 8, ["longitude"])
|
|
3279
3279
|
]),
|
|
3280
|
-
|
|
3280
|
+
b(Ze, { position: "relative" }, {
|
|
3281
3281
|
default: C(() => [
|
|
3282
|
-
(m(!0), S(re, null, ve(h.value.cameras, (L) => (m(), R(
|
|
3282
|
+
(m(!0), S(re, null, ve(h.value.cameras, (L) => (m(), R(Eo, {
|
|
3283
3283
|
key: L.overlayFilename,
|
|
3284
3284
|
"camera-data": L,
|
|
3285
3285
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
@@ -3290,8 +3290,8 @@ const Wn = {
|
|
|
3290
3290
|
class: "w-100 h-100 position-absolute top-left",
|
|
3291
3291
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
3292
3292
|
innerHTML: e.customOverlayContent
|
|
3293
|
-
}, null, 8,
|
|
3294
|
-
|
|
3293
|
+
}, null, 8, Qo)) : H("", !0),
|
|
3294
|
+
b(Po, {
|
|
3295
3295
|
"cdn-file-resolver": _.cdnFileResolver,
|
|
3296
3296
|
"color-callback": e.colorCallback,
|
|
3297
3297
|
"current-camera": n.value,
|
|
@@ -3299,7 +3299,7 @@ const Wn = {
|
|
|
3299
3299
|
onOnClick: V[0] || (V[0] = (L) => o("onClick", L)),
|
|
3300
3300
|
onOnHoverOver: k,
|
|
3301
3301
|
onOnHoverOut: g,
|
|
3302
|
-
onUpdateSvgContainer: V[1] || (V[1] = (L) =>
|
|
3302
|
+
onUpdateSvgContainer: V[1] || (V[1] = (L) => w.value = L)
|
|
3303
3303
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])
|
|
3304
3304
|
]),
|
|
3305
3305
|
_: 1
|
|
@@ -3310,7 +3310,7 @@ const Wn = {
|
|
|
3310
3310
|
pos: d.value
|
|
3311
3311
|
}, {
|
|
3312
3312
|
default: C(() => [
|
|
3313
|
-
s("div",
|
|
3313
|
+
s("div", qo, [
|
|
3314
3314
|
ee(_.$slots, "popup", tt(nt({ hoverId: i.value, hoverable: l.value })), void 0, !0)
|
|
3315
3315
|
])
|
|
3316
3316
|
]),
|
|
@@ -3323,55 +3323,55 @@ const Wn = {
|
|
|
3323
3323
|
]),
|
|
3324
3324
|
_: 3
|
|
3325
3325
|
}, 8, ["loading"]),
|
|
3326
|
-
|
|
3326
|
+
b(Re, {
|
|
3327
3327
|
ref_key: "hoverProbe",
|
|
3328
3328
|
ref: u
|
|
3329
3329
|
}, null, 512)
|
|
3330
3330
|
], 64);
|
|
3331
3331
|
};
|
|
3332
3332
|
}
|
|
3333
|
-
}), Gs = /* @__PURE__ */ q(
|
|
3333
|
+
}), Gs = /* @__PURE__ */ q(Zo, [["__scopeId", "data-v-b9c6f06a"]]);
|
|
3334
3334
|
var We = {};
|
|
3335
3335
|
Object.defineProperty(We, "__esModule", {
|
|
3336
3336
|
value: !0
|
|
3337
3337
|
});
|
|
3338
|
-
var
|
|
3338
|
+
var Xo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
|
|
3339
3339
|
return typeof v;
|
|
3340
3340
|
} : function(v) {
|
|
3341
3341
|
return v && typeof Symbol == "function" && v.constructor === Symbol && v !== Symbol.prototype ? "symbol" : typeof v;
|
|
3342
|
-
},
|
|
3343
|
-
We.isWebWorker =
|
|
3344
|
-
We.isNode =
|
|
3345
|
-
We.isJsDom =
|
|
3346
|
-
We.isDeno =
|
|
3347
|
-
const
|
|
3342
|
+
}, Jo = typeof window < "u" && typeof window.document < "u", Ko = typeof process < "u" && process.versions != null && process.versions.node != null, ea = (typeof self > "u" ? "undefined" : Xo(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", ta = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), na = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", oa = We.isBrowser = Jo;
|
|
3343
|
+
We.isWebWorker = ea;
|
|
3344
|
+
We.isNode = Ko;
|
|
3345
|
+
We.isJsDom = ta;
|
|
3346
|
+
We.isDeno = na;
|
|
3347
|
+
const aa = { id: "player-wrapper" }, la = { id: "player-sizer" }, sa = {
|
|
3348
3348
|
class: "player-control",
|
|
3349
3349
|
id: "controls-top-left"
|
|
3350
|
-
},
|
|
3350
|
+
}, ia = {
|
|
3351
3351
|
class: "player-control",
|
|
3352
3352
|
id: "controls-top-center"
|
|
3353
|
-
},
|
|
3353
|
+
}, ra = {
|
|
3354
3354
|
class: "player-control",
|
|
3355
3355
|
id: "controls-top-right"
|
|
3356
|
-
},
|
|
3356
|
+
}, ua = {
|
|
3357
3357
|
class: "player-control",
|
|
3358
3358
|
id: "controls-center-left"
|
|
3359
|
-
},
|
|
3359
|
+
}, ca = {
|
|
3360
3360
|
class: "player-control",
|
|
3361
3361
|
id: "controls-center-center"
|
|
3362
|
-
},
|
|
3362
|
+
}, da = {
|
|
3363
3363
|
class: "player-control",
|
|
3364
3364
|
id: "controls-center-right"
|
|
3365
|
-
},
|
|
3365
|
+
}, va = {
|
|
3366
3366
|
class: "player-control",
|
|
3367
3367
|
id: "controls-bottom-left"
|
|
3368
|
-
},
|
|
3368
|
+
}, ma = {
|
|
3369
3369
|
class: "player-control",
|
|
3370
3370
|
id: "controls-bottom-center"
|
|
3371
|
-
},
|
|
3371
|
+
}, pa = {
|
|
3372
3372
|
class: "player-control",
|
|
3373
3373
|
id: "controls-bottom-right"
|
|
3374
|
-
},
|
|
3374
|
+
}, ha = { id: "main-canvas" }, fa = /* @__PURE__ */ P({
|
|
3375
3375
|
__name: "VPlayer",
|
|
3376
3376
|
props: {
|
|
3377
3377
|
cdnFileResolver: {},
|
|
@@ -3384,7 +3384,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3384
3384
|
},
|
|
3385
3385
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "playerApiCallback", "newSizeCallback"],
|
|
3386
3386
|
setup(v, { emit: t }) {
|
|
3387
|
-
const e =
|
|
3387
|
+
const e = Bt.PlayerV2, o = v, n = t, a = c(), r = c(), i = c(0), p = c(0);
|
|
3388
3388
|
return Y(
|
|
3389
3389
|
[
|
|
3390
3390
|
() => o.cdnFileResolver,
|
|
@@ -3428,7 +3428,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3428
3428
|
const l = a.value.getCurrentCamera();
|
|
3429
3429
|
l && (r.value = l.id);
|
|
3430
3430
|
}), ue(async () => {
|
|
3431
|
-
const
|
|
3431
|
+
const w = {
|
|
3432
3432
|
initialized: () => {
|
|
3433
3433
|
a.value = e.Main.getPlayerAPI();
|
|
3434
3434
|
const f = a.value.getCurrentCamera();
|
|
@@ -3445,7 +3445,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3445
3445
|
n("newRotationCallback", y), i.value = y;
|
|
3446
3446
|
}
|
|
3447
3447
|
};
|
|
3448
|
-
if (!
|
|
3448
|
+
if (!oa)
|
|
3449
3449
|
return;
|
|
3450
3450
|
const h = await new e.Main(
|
|
3451
3451
|
se(
|
|
@@ -3453,7 +3453,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3453
3453
|
`/${o.interiorId}/${o.apartmentId}`
|
|
3454
3454
|
),
|
|
3455
3455
|
"qpc",
|
|
3456
|
-
|
|
3456
|
+
w,
|
|
3457
3457
|
void 0,
|
|
3458
3458
|
o.currentCameraId
|
|
3459
3459
|
);
|
|
@@ -3461,39 +3461,39 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3461
3461
|
"resize",
|
|
3462
3462
|
h.handleWindowResize.bind(h)
|
|
3463
3463
|
), h.animate(), a.value = e.Main.getPlayerAPI(), a.value && a.value.setLookSensitivity(o.mouseSensitivity));
|
|
3464
|
-
}),
|
|
3464
|
+
}), je(() => {
|
|
3465
3465
|
a.value && a.value.destroy();
|
|
3466
|
-
}), (u, l) => (m(), S("div",
|
|
3467
|
-
s("div",
|
|
3466
|
+
}), (u, l) => (m(), S("div", aa, [
|
|
3467
|
+
s("div", la, [
|
|
3468
3468
|
ee(u.$slots, "slideshow-image", {}, void 0, !0),
|
|
3469
|
-
s("div",
|
|
3469
|
+
s("div", sa, [
|
|
3470
3470
|
ee(u.$slots, "top-left", {}, void 0, !0)
|
|
3471
3471
|
]),
|
|
3472
|
-
s("div",
|
|
3472
|
+
s("div", ia, [
|
|
3473
3473
|
ee(u.$slots, "top-center", {}, void 0, !0)
|
|
3474
3474
|
]),
|
|
3475
|
-
s("div",
|
|
3475
|
+
s("div", ra, [
|
|
3476
3476
|
ee(u.$slots, "top-right", {}, void 0, !0)
|
|
3477
3477
|
]),
|
|
3478
|
-
s("div",
|
|
3478
|
+
s("div", ua, [
|
|
3479
3479
|
ee(u.$slots, "center-left", {}, void 0, !0)
|
|
3480
3480
|
]),
|
|
3481
|
-
s("div",
|
|
3481
|
+
s("div", ca, [
|
|
3482
3482
|
ee(u.$slots, "center-center", {}, void 0, !0)
|
|
3483
3483
|
]),
|
|
3484
|
-
s("div",
|
|
3484
|
+
s("div", da, [
|
|
3485
3485
|
ee(u.$slots, "center-right", {}, void 0, !0)
|
|
3486
3486
|
]),
|
|
3487
|
-
s("div",
|
|
3487
|
+
s("div", va, [
|
|
3488
3488
|
ee(u.$slots, "bottom-left", {}, void 0, !0)
|
|
3489
3489
|
]),
|
|
3490
|
-
s("div",
|
|
3490
|
+
s("div", ma, [
|
|
3491
3491
|
ee(u.$slots, "bottom-center", {}, void 0, !0)
|
|
3492
3492
|
]),
|
|
3493
|
-
s("div",
|
|
3493
|
+
s("div", pa, [
|
|
3494
3494
|
ee(u.$slots, "bottom-right", {}, void 0, !0)
|
|
3495
3495
|
]),
|
|
3496
|
-
s("div",
|
|
3496
|
+
s("div", ha, [
|
|
3497
3497
|
s("canvas", {
|
|
3498
3498
|
id: "qpc",
|
|
3499
3499
|
style: le(u.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -3502,11 +3502,11 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3502
3502
|
])
|
|
3503
3503
|
]));
|
|
3504
3504
|
}
|
|
3505
|
-
}),
|
|
3505
|
+
}), ga = /* @__PURE__ */ q(fa, [["__scopeId", "data-v-434c2592"]]), ya = {
|
|
3506
3506
|
style: { width: "24px", height: "24px" },
|
|
3507
3507
|
viewBox: "0 0 18 16",
|
|
3508
3508
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3509
|
-
},
|
|
3509
|
+
}, _a = ["stroke"], ba = ["stroke"], wa = { class: "floor-level-label" }, ka = /* @__PURE__ */ P({
|
|
3510
3510
|
__name: "VFloorLevel",
|
|
3511
3511
|
props: {
|
|
3512
3512
|
level: { default: 0 },
|
|
@@ -3514,7 +3514,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3514
3514
|
},
|
|
3515
3515
|
emits: ["level"],
|
|
3516
3516
|
setup(v, { emit: t }) {
|
|
3517
|
-
const e = v, o = t, n = Be(
|
|
3517
|
+
const e = v, o = t, n = Be(be), a = T(() => {
|
|
3518
3518
|
const l = e.floorLevels;
|
|
3519
3519
|
return l.sort(), l;
|
|
3520
3520
|
}), r = T(() => a.value.indexOf(e.level) + 1 <= a.value.length / 2 ? "lower" : "upper"), i = T(() => r.value === "lower"), p = T(() => r.value === "upper");
|
|
@@ -3523,47 +3523,47 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3523
3523
|
l >= a.value.length ? o("level", a.value[0]) : o("level", a.value[l]);
|
|
3524
3524
|
}
|
|
3525
3525
|
return (l, d) => {
|
|
3526
|
-
const
|
|
3526
|
+
const w = B("v-btn"), h = B("v-tooltip");
|
|
3527
3527
|
return m(), R(h, {
|
|
3528
3528
|
right: "",
|
|
3529
3529
|
attach: ""
|
|
3530
3530
|
}, {
|
|
3531
3531
|
activator: C(({ props: f }) => [
|
|
3532
|
-
w
|
|
3532
|
+
b(w, _e({
|
|
3533
3533
|
style: { cursor: "pointer" },
|
|
3534
3534
|
density: "comfortable",
|
|
3535
3535
|
elevation: "1",
|
|
3536
3536
|
icon: ""
|
|
3537
3537
|
}, f, { onClick: u }), {
|
|
3538
3538
|
default: C(() => [
|
|
3539
|
-
(m(), S("svg",
|
|
3539
|
+
(m(), S("svg", ya, [
|
|
3540
3540
|
s("path", {
|
|
3541
3541
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3542
3542
|
fill: "white",
|
|
3543
3543
|
stroke: p.value ? "black" : "#999999",
|
|
3544
3544
|
"stroke-width": "1.5",
|
|
3545
3545
|
"stroke-linejoin": "round"
|
|
3546
|
-
}, null, 8,
|
|
3546
|
+
}, null, 8, _a),
|
|
3547
3547
|
s("path", {
|
|
3548
3548
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
3549
3549
|
fill: "white",
|
|
3550
3550
|
stroke: i.value ? "black" : "#999999",
|
|
3551
3551
|
"stroke-width": "1.5",
|
|
3552
3552
|
"stroke-linejoin": "round"
|
|
3553
|
-
}, null, 8,
|
|
3553
|
+
}, null, 8, ba)
|
|
3554
3554
|
]))
|
|
3555
3555
|
]),
|
|
3556
3556
|
_: 2
|
|
3557
3557
|
}, 1040)
|
|
3558
3558
|
]),
|
|
3559
3559
|
default: C(() => [
|
|
3560
|
-
s("span",
|
|
3560
|
+
s("span", wa, N(oe(n).getLabel(r.value)) + " " + N(oe(n).getLabel("floor")), 1)
|
|
3561
3561
|
]),
|
|
3562
3562
|
_: 1
|
|
3563
3563
|
});
|
|
3564
3564
|
};
|
|
3565
3565
|
}
|
|
3566
|
-
}),
|
|
3566
|
+
}), Ca = /* @__PURE__ */ q(ka, [["__scopeId", "data-v-5ce91d8e"]]), Ia = { class: "d-none d-md-inline" }, Aa = /* @__PURE__ */ P({
|
|
3567
3567
|
__name: "VInteriorSelector",
|
|
3568
3568
|
props: {
|
|
3569
3569
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3572,32 +3572,32 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3572
3572
|
},
|
|
3573
3573
|
emits: ["selectInterior"],
|
|
3574
3574
|
setup(v, { emit: t }) {
|
|
3575
|
-
const e = v, o = t, n = Be(
|
|
3575
|
+
const e = v, o = t, n = Be(be);
|
|
3576
3576
|
return (a, r) => {
|
|
3577
|
-
const i = B("v-icon"), p = B("v-btn"), u = B("v-img"), l = B("v-list-item-title"), d = B("v-list-item"),
|
|
3577
|
+
const i = B("v-icon"), p = B("v-btn"), u = B("v-img"), l = B("v-list-item-title"), d = B("v-list-item"), w = B("v-list"), h = B("v-menu");
|
|
3578
3578
|
return m(), S("div", null, [
|
|
3579
|
-
|
|
3579
|
+
b(h, {
|
|
3580
3580
|
transition: "slide-x-reverse-transition",
|
|
3581
3581
|
location: "top end",
|
|
3582
3582
|
origin: "end bottom",
|
|
3583
3583
|
elevation: "0"
|
|
3584
3584
|
}, {
|
|
3585
3585
|
activator: C(({ props: f }) => [
|
|
3586
|
-
|
|
3586
|
+
b(p, _e({ rounded: "" }, f), {
|
|
3587
3587
|
default: C(() => [
|
|
3588
|
-
|
|
3588
|
+
b(i, null, {
|
|
3589
3589
|
default: C(() => [
|
|
3590
3590
|
X("mdi-palette-outline")
|
|
3591
3591
|
]),
|
|
3592
3592
|
_: 1
|
|
3593
3593
|
}),
|
|
3594
|
-
s("span",
|
|
3594
|
+
s("span", Ia, N(oe(n).getLabel("interior")), 1)
|
|
3595
3595
|
]),
|
|
3596
3596
|
_: 2
|
|
3597
3597
|
}, 1040)
|
|
3598
3598
|
]),
|
|
3599
3599
|
default: C(() => [
|
|
3600
|
-
w
|
|
3600
|
+
b(w, { class: "interior-selector-list" }, {
|
|
3601
3601
|
default: C(() => [
|
|
3602
3602
|
(m(!0), S(re, null, ve(e.availableArchetypes, (f, y) => (m(), R(d, {
|
|
3603
3603
|
density: "compact",
|
|
@@ -3607,7 +3607,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3607
3607
|
class: "interior-selector-list-item"
|
|
3608
3608
|
}, {
|
|
3609
3609
|
prepend: C(() => [
|
|
3610
|
-
|
|
3610
|
+
b(u, {
|
|
3611
3611
|
width: "100",
|
|
3612
3612
|
"max-width": "100",
|
|
3613
3613
|
height: "66",
|
|
@@ -3615,7 +3615,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3615
3615
|
}, null, 8, ["src"])
|
|
3616
3616
|
]),
|
|
3617
3617
|
default: C(() => [
|
|
3618
|
-
|
|
3618
|
+
b(l, { class: "text-caption py-2 px-4" }, {
|
|
3619
3619
|
default: C(() => [
|
|
3620
3620
|
X(N(oe(n).get(f.title)), 1)
|
|
3621
3621
|
]),
|
|
@@ -3633,14 +3633,14 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3633
3633
|
]);
|
|
3634
3634
|
};
|
|
3635
3635
|
}
|
|
3636
|
-
}),
|
|
3636
|
+
}), La = /* @__PURE__ */ q(Aa, [["__scopeId", "data-v-f52a4315"]]), xa = "data:image/png;base64,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", Fa = "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==", Sa = /* @__PURE__ */ P({
|
|
3637
3637
|
__name: "VCompass",
|
|
3638
3638
|
props: {
|
|
3639
3639
|
rotation: {}
|
|
3640
3640
|
},
|
|
3641
3641
|
setup(v) {
|
|
3642
|
-
const t = v, e = c(
|
|
3643
|
-
backgroundImage: `url(${
|
|
3642
|
+
const t = v, e = c(Fa), o = c({
|
|
3643
|
+
backgroundImage: `url(${xa})`,
|
|
3644
3644
|
backgroundSize: "contain"
|
|
3645
3645
|
}), n = T(() => ({
|
|
3646
3646
|
transform: `rotate(${-t.rotation + 180}deg)`
|
|
@@ -3651,7 +3651,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3651
3651
|
style: le(o.value),
|
|
3652
3652
|
class: "compass-wrapper"
|
|
3653
3653
|
}, [
|
|
3654
|
-
|
|
3654
|
+
b(i, {
|
|
3655
3655
|
class: "compass-needle",
|
|
3656
3656
|
src: e.value,
|
|
3657
3657
|
style: le(n.value)
|
|
@@ -3659,7 +3659,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3659
3659
|
], 4);
|
|
3660
3660
|
};
|
|
3661
3661
|
}
|
|
3662
|
-
}),
|
|
3662
|
+
}), Da = "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", Ma = { class: "d-flex flex-column align-center justify-center clock-face" }, Ea = { class: "clock-icon" }, Ta = { class: "clock-value grey--text text--darken-3" }, Va = /* @__PURE__ */ P({
|
|
3663
3663
|
__name: "VTimeOfDay",
|
|
3664
3664
|
props: {
|
|
3665
3665
|
hours: { default: 0 },
|
|
@@ -3672,25 +3672,25 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3672
3672
|
}
|
|
3673
3673
|
return (n, a) => {
|
|
3674
3674
|
const r = B("v-img");
|
|
3675
|
-
return m(), S("div",
|
|
3676
|
-
s("div",
|
|
3677
|
-
|
|
3678
|
-
src: oe(
|
|
3675
|
+
return m(), S("div", Ma, [
|
|
3676
|
+
s("div", Ea, [
|
|
3677
|
+
b(r, {
|
|
3678
|
+
src: oe(Da),
|
|
3679
3679
|
"aspect-ratio": "1"
|
|
3680
3680
|
}, null, 8, ["src"])
|
|
3681
3681
|
]),
|
|
3682
|
-
s("div",
|
|
3682
|
+
s("div", Ta, N(e.value), 1)
|
|
3683
3683
|
]);
|
|
3684
3684
|
};
|
|
3685
3685
|
}
|
|
3686
|
-
}),
|
|
3686
|
+
}), Ba = /* @__PURE__ */ q(Va, [["__scopeId", "data-v-cd73fd81"]]), Ra = /* @__PURE__ */ P({
|
|
3687
3687
|
__name: "VViewModeToggle",
|
|
3688
3688
|
props: {
|
|
3689
3689
|
showStaticImage: { type: Boolean }
|
|
3690
3690
|
},
|
|
3691
3691
|
emits: ["toggle"],
|
|
3692
3692
|
setup(v, { emit: t }) {
|
|
3693
|
-
const e = v, o = t, n = Be(
|
|
3693
|
+
const e = v, o = t, n = Be(be), a = T(() => {
|
|
3694
3694
|
let r = "virtualTour";
|
|
3695
3695
|
return e.showStaticImage || (r = "slideShow"), r;
|
|
3696
3696
|
});
|
|
@@ -3710,13 +3710,13 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3710
3710
|
});
|
|
3711
3711
|
};
|
|
3712
3712
|
}
|
|
3713
|
-
}), Oe = (v) => (it("data-v-b9eb5380"), v = v(), rt(), v),
|
|
3713
|
+
}), Oe = (v) => (it("data-v-b9eb5380"), v = v(), rt(), v), Oa = {
|
|
3714
3714
|
key: 0,
|
|
3715
3715
|
class: "tutorial"
|
|
3716
|
-
},
|
|
3716
|
+
}, $a = {
|
|
3717
3717
|
key: 0,
|
|
3718
3718
|
class: "desktop-content"
|
|
3719
|
-
},
|
|
3719
|
+
}, Ua = { class: "d-inline-flex" }, Ha = { class: "box col" }, Ya = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3720
3720
|
/* @__PURE__ */ s("svg", {
|
|
3721
3721
|
width: "100",
|
|
3722
3722
|
height: "65",
|
|
@@ -3763,7 +3763,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3763
3763
|
"stroke-width": "1.5"
|
|
3764
3764
|
})
|
|
3765
3765
|
])
|
|
3766
|
-
], -1)),
|
|
3766
|
+
], -1)), Pa = { class: "text mt-3" }, ja = { class: "box col" }, Wa = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3767
3767
|
/* @__PURE__ */ s("svg", {
|
|
3768
3768
|
width: "100",
|
|
3769
3769
|
height: "65",
|
|
@@ -3893,7 +3893,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3893
3893
|
"stroke-linecap": "round"
|
|
3894
3894
|
})
|
|
3895
3895
|
])
|
|
3896
|
-
], -1)),
|
|
3896
|
+
], -1)), Na = { class: "text mt-3" }, za = { class: "box col" }, Ga = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3897
3897
|
/* @__PURE__ */ s("svg", {
|
|
3898
3898
|
width: "100",
|
|
3899
3899
|
height: "65",
|
|
@@ -3964,7 +3964,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
3964
3964
|
"stroke-linejoin": "round"
|
|
3965
3965
|
})
|
|
3966
3966
|
])
|
|
3967
|
-
], -1)),
|
|
3967
|
+
], -1)), Qa = { class: "text mt-3" }, qa = { class: "d-inline-flex space-around" }, Za = { class: "box col" }, Xa = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3968
3968
|
/* @__PURE__ */ s("svg", {
|
|
3969
3969
|
width: "100",
|
|
3970
3970
|
height: "65",
|
|
@@ -4032,10 +4032,10 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4032
4032
|
fill: "#FF3E3E"
|
|
4033
4033
|
})
|
|
4034
4034
|
])
|
|
4035
|
-
], -1)),
|
|
4035
|
+
], -1)), Ja = { class: "text mt-3" }, Ka = {
|
|
4036
4036
|
key: 1,
|
|
4037
4037
|
class: "d-flex flex-column tablet-mobile-content"
|
|
4038
|
-
},
|
|
4038
|
+
}, el = { class: "box horizontal mt-3" }, tl = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4039
4039
|
/* @__PURE__ */ s("svg", {
|
|
4040
4040
|
width: "101",
|
|
4041
4041
|
height: "65",
|
|
@@ -4069,7 +4069,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4069
4069
|
"stroke-linejoin": "round"
|
|
4070
4070
|
})
|
|
4071
4071
|
])
|
|
4072
|
-
], -1)),
|
|
4072
|
+
], -1)), nl = { class: "text ml-2" }, ol = { class: "box horizontal mt-3" }, al = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4073
4073
|
/* @__PURE__ */ s("svg", {
|
|
4074
4074
|
width: "99",
|
|
4075
4075
|
height: "65",
|
|
@@ -4203,7 +4203,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4203
4203
|
"stroke-linejoin": "round"
|
|
4204
4204
|
})
|
|
4205
4205
|
])
|
|
4206
|
-
], -1)),
|
|
4206
|
+
], -1)), ll = { class: "text ml-2" }, sl = { class: "box horizontal mt-3" }, il = /* @__PURE__ */ Oe(() => /* @__PURE__ */ s("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4207
4207
|
/* @__PURE__ */ s("svg", {
|
|
4208
4208
|
width: "99",
|
|
4209
4209
|
height: "65",
|
|
@@ -4237,14 +4237,14 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4237
4237
|
"stroke-linejoin": "round"
|
|
4238
4238
|
})
|
|
4239
4239
|
])
|
|
4240
|
-
], -1)),
|
|
4240
|
+
], -1)), rl = { class: "text ml-2" }, ul = { class: "d-flex justify-space-between mt-3 mx-3 mb-0 tutorial-buttons" }, cl = /* @__PURE__ */ P({
|
|
4241
4241
|
__name: "VTutorial",
|
|
4242
4242
|
props: {
|
|
4243
4243
|
project: {}
|
|
4244
4244
|
},
|
|
4245
4245
|
emits: ["closeTutorial"],
|
|
4246
4246
|
setup(v, { emit: t }) {
|
|
4247
|
-
const e = v, o = t, n = Be(
|
|
4247
|
+
const e = v, o = t, n = Be(be), a = c(!0), r = c(!1), i = T(() => [
|
|
4248
4248
|
/Android/i,
|
|
4249
4249
|
/webOS/i,
|
|
4250
4250
|
/iPhone/i,
|
|
@@ -4252,7 +4252,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4252
4252
|
/iPod/i,
|
|
4253
4253
|
/BlackBerry/i,
|
|
4254
4254
|
/Windows Phone/i
|
|
4255
|
-
].some((
|
|
4255
|
+
].some((w) => navigator.userAgent.match(w))), p = T(() => {
|
|
4256
4256
|
const d = localStorage.getItem(
|
|
4257
4257
|
`${e.project}-dont-show-tutorial`
|
|
4258
4258
|
);
|
|
@@ -4264,58 +4264,58 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4264
4264
|
function l() {
|
|
4265
4265
|
localStorage.setItem(`${e.project}-dont-show-tutorial`, "true");
|
|
4266
4266
|
}
|
|
4267
|
-
return (d,
|
|
4267
|
+
return (d, w) => {
|
|
4268
4268
|
const h = B("v-checkbox"), f = B("v-btn");
|
|
4269
4269
|
return m(), R(xe, { name: "fade-transition" }, {
|
|
4270
4270
|
default: C(() => [
|
|
4271
|
-
a.value && !p.value ? (m(), S("div",
|
|
4272
|
-
i.value ? H("", !0) : (m(), S("div",
|
|
4273
|
-
s("div",
|
|
4274
|
-
s("div",
|
|
4275
|
-
|
|
4276
|
-
s("div",
|
|
4271
|
+
a.value && !p.value ? (m(), S("div", Oa, [
|
|
4272
|
+
i.value ? H("", !0) : (m(), S("div", $a, [
|
|
4273
|
+
s("div", Ua, [
|
|
4274
|
+
s("div", Ha, [
|
|
4275
|
+
Ya,
|
|
4276
|
+
s("div", Pa, N(oe(n).getLabel("clickAndDragToLookAround")), 1)
|
|
4277
4277
|
]),
|
|
4278
|
-
s("div",
|
|
4279
|
-
|
|
4280
|
-
s("div",
|
|
4278
|
+
s("div", ja, [
|
|
4279
|
+
Wa,
|
|
4280
|
+
s("div", Na, N(oe(n).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4281
4281
|
]),
|
|
4282
|
-
s("div",
|
|
4283
|
-
|
|
4284
|
-
s("div",
|
|
4282
|
+
s("div", za, [
|
|
4283
|
+
Ga,
|
|
4284
|
+
s("div", Qa, N(oe(n).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4285
4285
|
])
|
|
4286
4286
|
]),
|
|
4287
|
-
s("div",
|
|
4288
|
-
s("div",
|
|
4289
|
-
|
|
4290
|
-
s("div",
|
|
4287
|
+
s("div", qa, [
|
|
4288
|
+
s("div", Za, [
|
|
4289
|
+
Xa,
|
|
4290
|
+
s("div", Ja, N(oe(n).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4291
4291
|
])
|
|
4292
4292
|
])
|
|
4293
4293
|
])),
|
|
4294
|
-
i.value ? (m(), S("div",
|
|
4295
|
-
s("div",
|
|
4296
|
-
|
|
4297
|
-
s("div",
|
|
4294
|
+
i.value ? (m(), S("div", Ka, [
|
|
4295
|
+
s("div", el, [
|
|
4296
|
+
tl,
|
|
4297
|
+
s("div", nl, N(oe(n).getLabel("tapAndDragToLookAround")), 1)
|
|
4298
4298
|
]),
|
|
4299
|
-
s("div",
|
|
4300
|
-
|
|
4301
|
-
s("div",
|
|
4299
|
+
s("div", ol, [
|
|
4300
|
+
al,
|
|
4301
|
+
s("div", ll, N(oe(n).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4302
4302
|
]),
|
|
4303
|
-
s("div",
|
|
4304
|
-
|
|
4305
|
-
s("div",
|
|
4303
|
+
s("div", sl, [
|
|
4304
|
+
il,
|
|
4305
|
+
s("div", rl, N(oe(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4306
4306
|
])
|
|
4307
4307
|
])) : H("", !0),
|
|
4308
|
-
s("div",
|
|
4309
|
-
|
|
4308
|
+
s("div", ul, [
|
|
4309
|
+
b(h, {
|
|
4310
4310
|
modelValue: r.value,
|
|
4311
|
-
"onUpdate:modelValue":
|
|
4311
|
+
"onUpdate:modelValue": w[0] || (w[0] = (y) => r.value = y),
|
|
4312
4312
|
label: oe(n).getLabel("dontShowAgain")
|
|
4313
4313
|
}, null, 8, ["modelValue", "label"]),
|
|
4314
|
-
|
|
4314
|
+
b(f, {
|
|
4315
4315
|
small: "",
|
|
4316
4316
|
outlined: "",
|
|
4317
4317
|
class: "mt-5",
|
|
4318
|
-
onClick:
|
|
4318
|
+
onClick: w[1] || (w[1] = (y) => u())
|
|
4319
4319
|
}, {
|
|
4320
4320
|
default: C(() => [
|
|
4321
4321
|
X("Ok")
|
|
@@ -4329,17 +4329,17 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4329
4329
|
});
|
|
4330
4330
|
};
|
|
4331
4331
|
}
|
|
4332
|
-
}),
|
|
4332
|
+
}), dl = /* @__PURE__ */ q(cl, [["__scopeId", "data-v-b9eb5380"]]), vl = (v) => (it("data-v-bd4f66c3"), v = v(), rt(), v), ml = { class: "player-settings-ui" }, pl = { id: "settings-ui-form" }, hl = { class: "form-inputs" }, fl = { class: "setting-label" }, gl = { class: "setting-label" }, yl = ["max", "min", "step"], _l = { class: "setting-label" }, bl = { class: "flex-grow-1 flex-shrink-0" }, wl = ["onUpdate:modelValue"], kl = {
|
|
4333
4333
|
key: 3,
|
|
4334
4334
|
"d-block": "",
|
|
4335
4335
|
class: "mt-3"
|
|
4336
|
-
},
|
|
4336
|
+
}, Cl = { class: "d-flex justify-space-between" }, Il = { class: "setting-label" }, Al = {
|
|
4337
4337
|
class: "mt-5 d-block",
|
|
4338
4338
|
style: { width: "300px" }
|
|
4339
|
-
},
|
|
4339
|
+
}, Ll = /* @__PURE__ */ vl(() => /* @__PURE__ */ s("div", { class: "setting-label" }, "Enter Lut URL:", -1)), xl = {
|
|
4340
4340
|
class: "d-block",
|
|
4341
4341
|
style: { width: "300px" }
|
|
4342
|
-
},
|
|
4342
|
+
}, Fl = { class: "form-buttons" }, Sl = /* @__PURE__ */ P({
|
|
4343
4343
|
__name: "VPlayerSettingsUi",
|
|
4344
4344
|
props: {
|
|
4345
4345
|
initialSettings: {}
|
|
@@ -4387,7 +4387,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4387
4387
|
var y = f.toString(16);
|
|
4388
4388
|
return y.length == 1 ? "0" + y : y;
|
|
4389
4389
|
}
|
|
4390
|
-
function
|
|
4390
|
+
function w([f, y, F]) {
|
|
4391
4391
|
return "#" + d(parseInt((f * 255).toString())) + d(parseInt((y * 255).toString())) + d(parseInt((F * 255).toString()));
|
|
4392
4392
|
}
|
|
4393
4393
|
function h(f = {}) {
|
|
@@ -4473,7 +4473,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4473
4473
|
whitePoint: {
|
|
4474
4474
|
label: "White Point",
|
|
4475
4475
|
type: "color",
|
|
4476
|
-
value:
|
|
4476
|
+
value: w(F.whitePoint)
|
|
4477
4477
|
},
|
|
4478
4478
|
lut: {
|
|
4479
4479
|
label: "Lut",
|
|
@@ -4488,9 +4488,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4488
4488
|
}
|
|
4489
4489
|
return (f, y) => {
|
|
4490
4490
|
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");
|
|
4491
|
-
return m(), S("div",
|
|
4492
|
-
s("form",
|
|
4493
|
-
s("div",
|
|
4491
|
+
return m(), S("div", ml, [
|
|
4492
|
+
s("form", pl, [
|
|
4493
|
+
s("div", hl, [
|
|
4494
4494
|
(m(!0), S(re, null, ve(n.value, (I, L, G) => (m(), S("div", {
|
|
4495
4495
|
key: G,
|
|
4496
4496
|
"d-block": ""
|
|
@@ -4505,11 +4505,11 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4505
4505
|
step: I.step
|
|
4506
4506
|
}, {
|
|
4507
4507
|
prepend: C(() => [
|
|
4508
|
-
s("div",
|
|
4508
|
+
s("div", fl, N(I.label), 1)
|
|
4509
4509
|
]),
|
|
4510
4510
|
append: C(() => [
|
|
4511
4511
|
s("div", null, [
|
|
4512
|
-
|
|
4512
|
+
b(F, {
|
|
4513
4513
|
modelValue: n.value[L].value,
|
|
4514
4514
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4515
4515
|
"hide-details": "",
|
|
@@ -4533,7 +4533,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4533
4533
|
onChange: r
|
|
4534
4534
|
}, {
|
|
4535
4535
|
prepend: C(() => [
|
|
4536
|
-
s("div",
|
|
4536
|
+
s("div", gl, N(I.label), 1)
|
|
4537
4537
|
]),
|
|
4538
4538
|
append: C(() => [
|
|
4539
4539
|
s("div", null, N(I.value), 1)
|
|
@@ -4547,18 +4547,18 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4547
4547
|
min: I.min,
|
|
4548
4548
|
step: I.step
|
|
4549
4549
|
}, [
|
|
4550
|
-
s("div",
|
|
4551
|
-
s("div",
|
|
4550
|
+
s("div", _l, N(I.label), 1),
|
|
4551
|
+
s("div", bl, [
|
|
4552
4552
|
de(s("input", {
|
|
4553
4553
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4554
4554
|
type: "color",
|
|
4555
4555
|
onChange: r
|
|
4556
|
-
}, null, 40,
|
|
4557
|
-
[
|
|
4556
|
+
}, null, 40, wl), [
|
|
4557
|
+
[Tt, n.value[L].value]
|
|
4558
4558
|
])
|
|
4559
4559
|
]),
|
|
4560
4560
|
s("div", null, [
|
|
4561
|
-
|
|
4561
|
+
b(F, {
|
|
4562
4562
|
modelValue: n.value[L].value,
|
|
4563
4563
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4564
4564
|
"hide-details": "",
|
|
@@ -4570,12 +4570,12 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4570
4570
|
onChange: r
|
|
4571
4571
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4572
4572
|
])
|
|
4573
|
-
], 8,
|
|
4574
|
-
I.type === "lut" ? (m(), S("div",
|
|
4575
|
-
s("div",
|
|
4576
|
-
s("div",
|
|
4573
|
+
], 8, yl)) : H("", !0),
|
|
4574
|
+
I.type === "lut" ? (m(), S("div", kl, [
|
|
4575
|
+
s("div", Cl, [
|
|
4576
|
+
s("div", Il, N(I.label), 1),
|
|
4577
4577
|
s("div", null, [
|
|
4578
|
-
|
|
4578
|
+
b(U, {
|
|
4579
4579
|
class: "ml-2",
|
|
4580
4580
|
"x-small": "",
|
|
4581
4581
|
onClick: (D) => n.value[L].value = null
|
|
@@ -4588,9 +4588,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4588
4588
|
])
|
|
4589
4589
|
]),
|
|
4590
4590
|
s("div", null, [
|
|
4591
|
-
s("div",
|
|
4591
|
+
s("div", Al, [
|
|
4592
4592
|
s("div", null, [
|
|
4593
|
-
|
|
4593
|
+
b(_, {
|
|
4594
4594
|
modelValue: n.value[L].value,
|
|
4595
4595
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4596
4596
|
items: I.items,
|
|
@@ -4603,10 +4603,10 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4603
4603
|
])
|
|
4604
4604
|
]),
|
|
4605
4605
|
s("div", null, [
|
|
4606
|
-
|
|
4607
|
-
s("div",
|
|
4606
|
+
Ll,
|
|
4607
|
+
s("div", xl, [
|
|
4608
4608
|
s("div", null, [
|
|
4609
|
-
|
|
4609
|
+
b(F, {
|
|
4610
4610
|
modelValue: n.value[L].value,
|
|
4611
4611
|
"onUpdate:modelValue": (D) => n.value[L].value = D,
|
|
4612
4612
|
"hide-details": "",
|
|
@@ -4621,8 +4621,8 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4621
4621
|
])) : H("", !0)
|
|
4622
4622
|
]))), 128))
|
|
4623
4623
|
]),
|
|
4624
|
-
s("div",
|
|
4625
|
-
|
|
4624
|
+
s("div", Fl, [
|
|
4625
|
+
b(U, {
|
|
4626
4626
|
onClick: y[0] || (y[0] = (I) => u())
|
|
4627
4627
|
}, {
|
|
4628
4628
|
default: C(() => [
|
|
@@ -4630,13 +4630,13 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4630
4630
|
]),
|
|
4631
4631
|
_: 1
|
|
4632
4632
|
}),
|
|
4633
|
-
|
|
4633
|
+
b(U, {
|
|
4634
4634
|
class: "ml-2",
|
|
4635
4635
|
onClick: y[1] || (y[1] = (I) => i())
|
|
4636
4636
|
}, {
|
|
4637
4637
|
default: C(() => [
|
|
4638
4638
|
X(" Download Json "),
|
|
4639
|
-
|
|
4639
|
+
b(V, { color: "black darken-1" }, {
|
|
4640
4640
|
default: C(() => [
|
|
4641
4641
|
X("mdi-download")
|
|
4642
4642
|
]),
|
|
@@ -4645,13 +4645,13 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4645
4645
|
]),
|
|
4646
4646
|
_: 1
|
|
4647
4647
|
}),
|
|
4648
|
-
|
|
4648
|
+
b(U, {
|
|
4649
4649
|
class: "ml-2",
|
|
4650
4650
|
onClick: y[2] || (y[2] = (I) => p())
|
|
4651
4651
|
}, {
|
|
4652
4652
|
default: C(() => [
|
|
4653
4653
|
X(" Save Settings "),
|
|
4654
|
-
|
|
4654
|
+
b(V, { color: "black darken-1" }, {
|
|
4655
4655
|
default: C(() => [
|
|
4656
4656
|
X("mdi-save")
|
|
4657
4657
|
]),
|
|
@@ -4665,10 +4665,10 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4665
4665
|
]);
|
|
4666
4666
|
};
|
|
4667
4667
|
}
|
|
4668
|
-
}),
|
|
4668
|
+
}), Dl = /* @__PURE__ */ q(Sl, [["__scopeId", "data-v-bd4f66c3"]]), Ml = (v) => (it("data-v-30593022"), v = v(), rt(), v), El = /* @__PURE__ */ Ml(() => /* @__PURE__ */ s("div", { id: "filler-div" }, null, -1)), Tl = {
|
|
4669
4669
|
class: "moveable-body",
|
|
4670
4670
|
id: "moveableDivHeader"
|
|
4671
|
-
},
|
|
4671
|
+
}, Vl = { class: "moveable-footer" }, Bl = /* @__PURE__ */ P({
|
|
4672
4672
|
__name: "VMoveable",
|
|
4673
4673
|
emits: ["close", "transform"],
|
|
4674
4674
|
setup(v, { emit: t }) {
|
|
@@ -4681,8 +4681,8 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4681
4681
|
if (!i)
|
|
4682
4682
|
return;
|
|
4683
4683
|
let p = 0, u = 0, l = 0, d = 0;
|
|
4684
|
-
i.addEventListener("touchstart",
|
|
4685
|
-
function
|
|
4684
|
+
i.addEventListener("touchstart", w, { passive: !1 }), i.addEventListener("touchend", f, { passive: !1 }), i.addEventListener("mousedown", w, { passive: !1 }), i.addEventListener("mouseup", f, { passive: !1 });
|
|
4685
|
+
function w(y) {
|
|
4686
4686
|
y = y || window.event, y.preventDefault();
|
|
4687
4687
|
let F = y;
|
|
4688
4688
|
y.type === "touchstart" && (F = y.touches[0]), l = F.clientX, d = 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 });
|
|
@@ -4703,59 +4703,59 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4703
4703
|
const p = B("v-btn");
|
|
4704
4704
|
return m(), S("div", {
|
|
4705
4705
|
id: "moveableDiv",
|
|
4706
|
-
class:
|
|
4706
|
+
class: ye(["big d-flex justify-space-between flex-column align-center sizer", o.value])
|
|
4707
4707
|
}, [
|
|
4708
|
-
|
|
4708
|
+
b(p, {
|
|
4709
4709
|
class: "close-icon",
|
|
4710
4710
|
icon: "mdi-window-close",
|
|
4711
4711
|
size: "x-small",
|
|
4712
4712
|
onClick: i[0] || (i[0] = (u) => e("close"))
|
|
4713
4713
|
}),
|
|
4714
|
-
|
|
4714
|
+
b(p, {
|
|
4715
4715
|
class: "resize-icon",
|
|
4716
4716
|
icon: "mdi-image-size-select-small",
|
|
4717
4717
|
size: "x-small",
|
|
4718
4718
|
onClick: a,
|
|
4719
4719
|
title: "Resize"
|
|
4720
4720
|
}),
|
|
4721
|
-
|
|
4721
|
+
b(p, {
|
|
4722
4722
|
class: "rotate-icon",
|
|
4723
4723
|
size: "x-small",
|
|
4724
4724
|
icon: "mdi mdi-rotate-right",
|
|
4725
4725
|
onClick: i[1] || (i[1] = (u) => e("transform")),
|
|
4726
4726
|
title: "Rotate"
|
|
4727
4727
|
}),
|
|
4728
|
-
|
|
4729
|
-
s("div",
|
|
4728
|
+
El,
|
|
4729
|
+
s("div", Tl, [
|
|
4730
4730
|
ee(r.$slots, "body", { class: "slot" }, void 0, !0)
|
|
4731
4731
|
]),
|
|
4732
|
-
s("div",
|
|
4732
|
+
s("div", Vl, [
|
|
4733
4733
|
ee(r.$slots, "footer", {}, void 0, !0)
|
|
4734
4734
|
])
|
|
4735
4735
|
], 2);
|
|
4736
4736
|
};
|
|
4737
4737
|
}
|
|
4738
|
-
}),
|
|
4738
|
+
}), Rl = /* @__PURE__ */ q(Bl, [["__scopeId", "data-v-30593022"]]), Ol = {
|
|
4739
4739
|
class: "rotation-marker-svg",
|
|
4740
4740
|
viewBox: "0 0 40 40",
|
|
4741
4741
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4742
|
-
},
|
|
4743
|
-
|
|
4744
|
-
],
|
|
4742
|
+
}, $l = /* @__PURE__ */ gt('<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), Ul = ["transform"], Hl = /* @__PURE__ */ gt('<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), Yl = [
|
|
4743
|
+
Hl
|
|
4744
|
+
], Pl = /* @__PURE__ */ P({
|
|
4745
4745
|
__name: "VRotationMarker",
|
|
4746
4746
|
props: {
|
|
4747
4747
|
rotation: {}
|
|
4748
4748
|
},
|
|
4749
4749
|
setup(v) {
|
|
4750
|
-
return (t, e) => (m(), S("svg",
|
|
4751
|
-
|
|
4750
|
+
return (t, e) => (m(), S("svg", Ol, [
|
|
4751
|
+
$l,
|
|
4752
4752
|
s("g", {
|
|
4753
4753
|
"transform-origin": "20 20",
|
|
4754
4754
|
transform: `rotate(${45 + t.rotation})`
|
|
4755
|
-
},
|
|
4755
|
+
}, Yl, 8, Ul)
|
|
4756
4756
|
]));
|
|
4757
4757
|
}
|
|
4758
|
-
}),
|
|
4758
|
+
}), jl = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, Wl = { class: "minimap-container" }, Nl = /* @__PURE__ */ P({
|
|
4759
4759
|
__name: "VMiniMapMap",
|
|
4760
4760
|
props: {
|
|
4761
4761
|
backgroundImage: {},
|
|
@@ -4766,15 +4766,15 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4766
4766
|
transformAngle: {}
|
|
4767
4767
|
},
|
|
4768
4768
|
setup(v) {
|
|
4769
|
-
const t = v, e = c(512), o = c(384), n = c(new Ve.Vector3()), a = c(new Ve.Object3D()), r = c({}), i = c(1), p = c(), u = T(() => t.allCameras), l = T(() => t.allCameras.find((L) => L.id === t.currentCamera)), d = T(() => t.rotation),
|
|
4769
|
+
const t = v, e = c(512), o = c(384), n = c(new Ve.Vector3()), a = c(new Ve.Object3D()), r = c({}), i = c(1), p = c(), u = T(() => t.allCameras), l = T(() => t.allCameras.find((L) => L.id === t.currentCamera)), d = T(() => t.rotation), w = T(() => new Ve.Vector3(
|
|
4770
4770
|
t.storey.position.x,
|
|
4771
4771
|
t.storey.position.y,
|
|
4772
4772
|
t.storey.position.z
|
|
4773
4773
|
)), h = T(() => parseFloat(l.value.floor_vertical_position)), f = T(() => u.value.map((L) => {
|
|
4774
4774
|
const G = L.uposition.split(","), D = new Ve.Vector3(
|
|
4775
|
-
Number(G[0]) -
|
|
4775
|
+
Number(G[0]) - w.value.x,
|
|
4776
4776
|
0,
|
|
4777
|
-
Number(G[2]) -
|
|
4777
|
+
Number(G[2]) - w.value.z
|
|
4778
4778
|
);
|
|
4779
4779
|
return {
|
|
4780
4780
|
...L,
|
|
@@ -4788,9 +4788,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4788
4788
|
V(), g(), I();
|
|
4789
4789
|
const L = document.getElementById("moveableDiv");
|
|
4790
4790
|
L && (p.value = new ResizeObserver(I).observe(L));
|
|
4791
|
-
}),
|
|
4791
|
+
}), Vt(() => {
|
|
4792
4792
|
V(), g();
|
|
4793
|
-
}),
|
|
4793
|
+
}), je(() => {
|
|
4794
4794
|
p.value && p.value.unobserve(document.getElementById("moveableDiv"));
|
|
4795
4795
|
});
|
|
4796
4796
|
function k(L) {
|
|
@@ -4829,8 +4829,8 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4829
4829
|
const G = L.offsetHeight / 384 * 0.8, D = L.offsetWidth / 512 * 0.8;
|
|
4830
4830
|
L.offsetHeight > L.offsetWidth ? i.value = D * 0.5 : i.value = G * 0.9;
|
|
4831
4831
|
}
|
|
4832
|
-
return (L, G) => (m(), S("div",
|
|
4833
|
-
s("div",
|
|
4832
|
+
return (L, G) => (m(), S("div", jl, [
|
|
4833
|
+
s("div", Wl, [
|
|
4834
4834
|
s("div", {
|
|
4835
4835
|
class: "web-minimap",
|
|
4836
4836
|
style: le(F.value)
|
|
@@ -4851,7 +4851,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4851
4851
|
class: "single-camera-marker",
|
|
4852
4852
|
style: le(U(D))
|
|
4853
4853
|
}, null, 4)) : H("", !0),
|
|
4854
|
-
l.value.id === D.id && t.rotation !== null ? (m(), R(
|
|
4854
|
+
l.value.id === D.id && t.rotation !== null ? (m(), R(Pl, {
|
|
4855
4855
|
key: 1,
|
|
4856
4856
|
class: "rotation-marker-component",
|
|
4857
4857
|
rotation: d.value,
|
|
@@ -4863,7 +4863,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4863
4863
|
])
|
|
4864
4864
|
]));
|
|
4865
4865
|
}
|
|
4866
|
-
}),
|
|
4866
|
+
}), zl = /* @__PURE__ */ q(Nl, [["__scopeId", "data-v-1a6129d7"]]), Gl = /* @__PURE__ */ P({
|
|
4867
4867
|
__name: "VMiniMapCompass",
|
|
4868
4868
|
props: {
|
|
4869
4869
|
scale: {},
|
|
@@ -4876,16 +4876,16 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4876
4876
|
class: "minimap-compass",
|
|
4877
4877
|
style: le({ scale: o.scale })
|
|
4878
4878
|
}, [
|
|
4879
|
-
|
|
4879
|
+
b(Xe, {
|
|
4880
4880
|
class: "north-indicator",
|
|
4881
4881
|
longitude: e.value
|
|
4882
4882
|
}, null, 8, ["longitude"])
|
|
4883
4883
|
], 4));
|
|
4884
4884
|
}
|
|
4885
|
-
}),
|
|
4885
|
+
}), Ql = /* @__PURE__ */ q(Gl, [["__scopeId", "data-v-552c1d19"]]), ql = { class: "ss-wrapper" }, Zl = { class: "slider" }, Xl = { class: "minimap-sun-slider" }, Jl = {
|
|
4886
4886
|
key: 0,
|
|
4887
4887
|
class: "time-label"
|
|
4888
|
-
},
|
|
4888
|
+
}, Kl = /* @__PURE__ */ P({
|
|
4889
4889
|
__name: "VSunSimulationSlider",
|
|
4890
4890
|
props: {
|
|
4891
4891
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4907,18 +4907,18 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4907
4907
|
u.value.sunsimFiles[n.value]
|
|
4908
4908
|
), r.value = !1;
|
|
4909
4909
|
const k = await h(e.minimapJson.storeys);
|
|
4910
|
-
p.value = k, a.value = !1, o("setBackgroundImage",
|
|
4910
|
+
p.value = k, a.value = !1, o("setBackgroundImage", w(e.level, n.value));
|
|
4911
4911
|
}), Y(n, () => {
|
|
4912
|
-
const k =
|
|
4912
|
+
const k = w(e.level, n.value);
|
|
4913
4913
|
o("setBackgroundImage", k);
|
|
4914
4914
|
}), Y(
|
|
4915
4915
|
() => e.level,
|
|
4916
4916
|
() => {
|
|
4917
|
-
o("setBackgroundImage",
|
|
4917
|
+
o("setBackgroundImage", w(e.level, n.value));
|
|
4918
4918
|
},
|
|
4919
4919
|
{ immediate: !0 }
|
|
4920
4920
|
);
|
|
4921
|
-
function
|
|
4921
|
+
function w(k, g) {
|
|
4922
4922
|
return p.value.get(`sunsim${k}_${g}`) ? p.value.get(`sunsim${k}_${g}`) : "";
|
|
4923
4923
|
}
|
|
4924
4924
|
async function h(k) {
|
|
@@ -4960,9 +4960,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4960
4960
|
}
|
|
4961
4961
|
return (k, g) => {
|
|
4962
4962
|
const U = B("v-progress-linear"), _ = B("v-icon"), V = B("v-slider");
|
|
4963
|
-
return m(), S("div",
|
|
4964
|
-
s("div",
|
|
4965
|
-
s("div",
|
|
4963
|
+
return m(), S("div", ql, [
|
|
4964
|
+
s("div", Zl, [
|
|
4965
|
+
s("div", Xl, [
|
|
4966
4966
|
a.value ? (m(), R(U, {
|
|
4967
4967
|
key: 0,
|
|
4968
4968
|
indeterminate: "",
|
|
@@ -4983,7 +4983,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4983
4983
|
"hide-details": !0
|
|
4984
4984
|
}, {
|
|
4985
4985
|
prepend: C(() => [
|
|
4986
|
-
|
|
4986
|
+
b(_, { color: "#ffab02" }, {
|
|
4987
4987
|
default: C(() => [
|
|
4988
4988
|
X("mdi-white-balance-sunny")
|
|
4989
4989
|
]),
|
|
@@ -4993,12 +4993,12 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
4993
4993
|
_: 1
|
|
4994
4994
|
}, 8, ["modelValue"]))
|
|
4995
4995
|
]),
|
|
4996
|
-
a.value ? H("", !0) : (m(), S("div",
|
|
4996
|
+
a.value ? H("", !0) : (m(), S("div", Jl, N(d.value) + " " + N(l.value), 1))
|
|
4997
4997
|
])
|
|
4998
4998
|
]);
|
|
4999
4999
|
};
|
|
5000
5000
|
}
|
|
5001
|
-
}),
|
|
5001
|
+
}), es = /* @__PURE__ */ q(Kl, [["__scopeId", "data-v-b2f12eb0"]]), ts = /* @__PURE__ */ P({
|
|
5002
5002
|
__name: "VMiniMap",
|
|
5003
5003
|
props: {
|
|
5004
5004
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5028,18 +5028,18 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5028
5028
|
function u() {
|
|
5029
5029
|
a.value = a.value + 90;
|
|
5030
5030
|
}
|
|
5031
|
-
return (l, d) => (m(), R(
|
|
5032
|
-
onClose: d[0] || (d[0] = (
|
|
5031
|
+
return (l, d) => (m(), R(Rl, {
|
|
5032
|
+
onClose: d[0] || (d[0] = (w) => o("close")),
|
|
5033
5033
|
onTransform: u
|
|
5034
5034
|
}, {
|
|
5035
5035
|
body: C(() => [
|
|
5036
|
-
|
|
5036
|
+
b(Ql, {
|
|
5037
5037
|
scale: i.value,
|
|
5038
5038
|
rotation: r.value.rotation.y,
|
|
5039
5039
|
"transform-angle": a.value
|
|
5040
5040
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
5041
5041
|
s("div", null, [
|
|
5042
|
-
|
|
5042
|
+
b(zl, {
|
|
5043
5043
|
"transform-angle": a.value,
|
|
5044
5044
|
"all-cameras": l.apartmentJson.cameras,
|
|
5045
5045
|
"background-image": n.value,
|
|
@@ -5050,7 +5050,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5050
5050
|
])
|
|
5051
5051
|
]),
|
|
5052
5052
|
footer: C(() => [
|
|
5053
|
-
|
|
5053
|
+
b(es, {
|
|
5054
5054
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
5055
5055
|
"minimap-json": e.minimapJson,
|
|
5056
5056
|
"apartment-json": e.apartmentJson,
|
|
@@ -5061,16 +5061,16 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5061
5061
|
_: 1
|
|
5062
5062
|
}));
|
|
5063
5063
|
}
|
|
5064
|
-
}),
|
|
5064
|
+
}), ht = /* @__PURE__ */ q(ts, [["__scopeId", "data-v-898e645b"]]), ns = {
|
|
5065
5065
|
key: 0,
|
|
5066
5066
|
class: "text-white disclaimer caption"
|
|
5067
|
-
},
|
|
5067
|
+
}, os = /* @__PURE__ */ P({
|
|
5068
5068
|
__name: "VDisclaimer",
|
|
5069
5069
|
setup(v) {
|
|
5070
|
-
const t = Be(
|
|
5070
|
+
const t = Be(be), e = c(!0);
|
|
5071
5071
|
return (o, n) => (m(), R(xe, { name: "fade-transition" }, {
|
|
5072
5072
|
default: C(() => [
|
|
5073
|
-
e.value ? (m(), S("div",
|
|
5073
|
+
e.value ? (m(), S("div", ns, [
|
|
5074
5074
|
X(N(oe(t).getLabel("allIllustrationsAreIndicativeDeviationsMayOccur")) + " ", 1),
|
|
5075
5075
|
s("span", {
|
|
5076
5076
|
onClick: n[0] || (n[0] = (a) => e.value = !1),
|
|
@@ -5081,7 +5081,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5081
5081
|
_: 1
|
|
5082
5082
|
}));
|
|
5083
5083
|
}
|
|
5084
|
-
}),
|
|
5084
|
+
}), as = /* @__PURE__ */ q(os, [["__scopeId", "data-v-046402dc"]]), ls = { class: "waypoint-carousel" }, ss = 37, is = 39, rs = /* @__PURE__ */ P({
|
|
5085
5085
|
__name: "VWaypointCarousel",
|
|
5086
5086
|
props: {
|
|
5087
5087
|
thumbnails: {},
|
|
@@ -5101,15 +5101,15 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5101
5101
|
));
|
|
5102
5102
|
ue(() => {
|
|
5103
5103
|
window.addEventListener("keydown", i);
|
|
5104
|
-
}),
|
|
5104
|
+
}), je(() => {
|
|
5105
5105
|
window.removeEventListener("keydown", i);
|
|
5106
5106
|
});
|
|
5107
5107
|
function i(u) {
|
|
5108
5108
|
switch (u.keyCode) {
|
|
5109
|
-
case u.keyCode ===
|
|
5109
|
+
case u.keyCode === ss:
|
|
5110
5110
|
o("previous");
|
|
5111
5111
|
break;
|
|
5112
|
-
case u.keyCode ===
|
|
5112
|
+
case u.keyCode === is:
|
|
5113
5113
|
o("next");
|
|
5114
5114
|
break;
|
|
5115
5115
|
default:
|
|
@@ -5120,12 +5120,12 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5120
5120
|
l(), o("goto", u);
|
|
5121
5121
|
}
|
|
5122
5122
|
return (u, l) => {
|
|
5123
|
-
const d = B("v-icon"),
|
|
5124
|
-
return m(), S("div",
|
|
5125
|
-
|
|
5123
|
+
const d = 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");
|
|
5124
|
+
return m(), S("div", ls, [
|
|
5125
|
+
b(k, {
|
|
5126
5126
|
modelValue: a.value,
|
|
5127
5127
|
"onUpdate:modelValue": l[2] || (l[2] = (g) => a.value = g),
|
|
5128
|
-
class:
|
|
5128
|
+
class: ye({ mobileWaypoint: r.value }),
|
|
5129
5129
|
"active-class": "active-apt",
|
|
5130
5130
|
"selected-class": "active-apt",
|
|
5131
5131
|
"show-arrows": "",
|
|
@@ -5133,15 +5133,15 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5133
5133
|
mandatory: ""
|
|
5134
5134
|
}, {
|
|
5135
5135
|
prev: C(() => [
|
|
5136
|
-
|
|
5136
|
+
b(h, null, {
|
|
5137
5137
|
default: C(({ isHovering: g }) => [
|
|
5138
|
-
w
|
|
5138
|
+
b(w, {
|
|
5139
5139
|
elevation: "0",
|
|
5140
|
-
class:
|
|
5140
|
+
class: ye(["carousel-button", { mobile: r.value }]),
|
|
5141
5141
|
onClick: l[0] || (l[0] = (U) => o("previous"))
|
|
5142
5142
|
}, {
|
|
5143
5143
|
default: C(() => [
|
|
5144
|
-
|
|
5144
|
+
b(d, {
|
|
5145
5145
|
color: g ? "#999" : "#d2d2d2",
|
|
5146
5146
|
"x-large": ""
|
|
5147
5147
|
}, {
|
|
@@ -5158,15 +5158,15 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5158
5158
|
})
|
|
5159
5159
|
]),
|
|
5160
5160
|
next: C(() => [
|
|
5161
|
-
|
|
5161
|
+
b(h, null, {
|
|
5162
5162
|
default: C(({ isHovering: g }) => [
|
|
5163
|
-
w
|
|
5163
|
+
b(w, {
|
|
5164
5164
|
elevation: "0",
|
|
5165
|
-
class:
|
|
5165
|
+
class: ye(["carousel-button", { mobile: r.value }]),
|
|
5166
5166
|
onClick: l[1] || (l[1] = (U) => o("next"))
|
|
5167
5167
|
}, {
|
|
5168
5168
|
default: C(() => [
|
|
5169
|
-
|
|
5169
|
+
b(d, {
|
|
5170
5170
|
color: g ? "#999" : "#d2d2d2",
|
|
5171
5171
|
"x-large": ""
|
|
5172
5172
|
}, {
|
|
@@ -5187,8 +5187,8 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5187
5187
|
key: g.id
|
|
5188
5188
|
}, {
|
|
5189
5189
|
default: C(({ toggle: U, selectedClass: _ }) => [
|
|
5190
|
-
|
|
5191
|
-
class:
|
|
5190
|
+
b(y, {
|
|
5191
|
+
class: ye([
|
|
5192
5192
|
r.value ? "ma-0" : "ma-2",
|
|
5193
5193
|
_,
|
|
5194
5194
|
"single-waypoint"
|
|
@@ -5202,7 +5202,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5202
5202
|
onClick: (V) => p(g.id, U)
|
|
5203
5203
|
}, {
|
|
5204
5204
|
default: C(() => [
|
|
5205
|
-
|
|
5205
|
+
b(f, {
|
|
5206
5206
|
maxWidth: 160,
|
|
5207
5207
|
cover: "",
|
|
5208
5208
|
"aspect-ratio": "1",
|
|
@@ -5220,13 +5220,13 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5220
5220
|
]);
|
|
5221
5221
|
};
|
|
5222
5222
|
}
|
|
5223
|
-
}), et = /* @__PURE__ */ q(
|
|
5223
|
+
}), et = /* @__PURE__ */ q(rs, [["__scopeId", "data-v-aa105c01"]]), us = {
|
|
5224
5224
|
id: "share-btns-wrapper",
|
|
5225
5225
|
class: "text-center"
|
|
5226
|
-
},
|
|
5226
|
+
}, cs = /* @__PURE__ */ P({
|
|
5227
5227
|
__name: "VSocialShare",
|
|
5228
5228
|
setup(v) {
|
|
5229
|
-
const t = Be(
|
|
5229
|
+
const t = Be(be), e = c(!1), o = c(location.href);
|
|
5230
5230
|
function n() {
|
|
5231
5231
|
return window.open(
|
|
5232
5232
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -5252,15 +5252,15 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5252
5252
|
navigator.clipboard.writeText(location.href);
|
|
5253
5253
|
}
|
|
5254
5254
|
return (p, u) => {
|
|
5255
|
-
const l = B("v-btn"), d = B("v-tooltip"),
|
|
5255
|
+
const l = B("v-btn"), d = 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");
|
|
5256
5256
|
return m(), S("div", null, [
|
|
5257
|
-
|
|
5257
|
+
b(d, {
|
|
5258
5258
|
elevation: "2",
|
|
5259
5259
|
top: "",
|
|
5260
5260
|
attach: ""
|
|
5261
5261
|
}, {
|
|
5262
5262
|
activator: C(({ props: g }) => [
|
|
5263
|
-
|
|
5263
|
+
b(l, _e({
|
|
5264
5264
|
density: "comfortable",
|
|
5265
5265
|
elevation: "1",
|
|
5266
5266
|
icon: "mdi-share-variant",
|
|
@@ -5272,38 +5272,38 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5272
5272
|
]),
|
|
5273
5273
|
_: 1
|
|
5274
5274
|
}),
|
|
5275
|
-
|
|
5275
|
+
b(k, {
|
|
5276
5276
|
id: "share-box",
|
|
5277
5277
|
width: "400",
|
|
5278
5278
|
modelValue: e.value,
|
|
5279
5279
|
"onUpdate:modelValue": u[2] || (u[2] = (g) => e.value = g)
|
|
5280
5280
|
}, {
|
|
5281
5281
|
default: C(() => [
|
|
5282
|
-
|
|
5282
|
+
b(F, null, {
|
|
5283
5283
|
default: C(() => [
|
|
5284
|
-
|
|
5284
|
+
b(f, { elevation: "0" }, {
|
|
5285
5285
|
default: C(() => [
|
|
5286
|
-
|
|
5286
|
+
b(l, {
|
|
5287
5287
|
size: "x-small",
|
|
5288
5288
|
icon: "mdi-close",
|
|
5289
5289
|
onClick: u[1] || (u[1] = (g) => e.value = !1)
|
|
5290
5290
|
}),
|
|
5291
|
-
w
|
|
5291
|
+
b(w, null, {
|
|
5292
5292
|
default: C(() => [
|
|
5293
5293
|
X(N(oe(t).getLabel("share")), 1)
|
|
5294
5294
|
]),
|
|
5295
5295
|
_: 1
|
|
5296
5296
|
}),
|
|
5297
|
-
|
|
5297
|
+
b(h)
|
|
5298
5298
|
]),
|
|
5299
5299
|
_: 1
|
|
5300
5300
|
}),
|
|
5301
|
-
|
|
5301
|
+
b(y, { class: "mt-5" }, {
|
|
5302
5302
|
default: C(() => [
|
|
5303
|
-
s("p",
|
|
5304
|
-
|
|
5303
|
+
s("p", us, [
|
|
5304
|
+
b(d, { location: "top" }, {
|
|
5305
5305
|
activator: C(({ props: g }) => [
|
|
5306
|
-
|
|
5306
|
+
b(l, _e({
|
|
5307
5307
|
depressed: "",
|
|
5308
5308
|
fab: "",
|
|
5309
5309
|
light: "",
|
|
@@ -5315,9 +5315,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5315
5315
|
]),
|
|
5316
5316
|
_: 1
|
|
5317
5317
|
}),
|
|
5318
|
-
|
|
5318
|
+
b(d, { location: "top" }, {
|
|
5319
5319
|
activator: C(({ props: g }) => [
|
|
5320
|
-
|
|
5320
|
+
b(l, _e({
|
|
5321
5321
|
depressed: "",
|
|
5322
5322
|
fab: "",
|
|
5323
5323
|
light: "",
|
|
@@ -5329,9 +5329,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5329
5329
|
]),
|
|
5330
5330
|
_: 1
|
|
5331
5331
|
}),
|
|
5332
|
-
|
|
5332
|
+
b(d, { location: "top" }, {
|
|
5333
5333
|
activator: C(({ props: g }) => [
|
|
5334
|
-
|
|
5334
|
+
b(l, _e({
|
|
5335
5335
|
depressed: "",
|
|
5336
5336
|
fab: "",
|
|
5337
5337
|
light: "",
|
|
@@ -5343,9 +5343,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5343
5343
|
]),
|
|
5344
5344
|
_: 1
|
|
5345
5345
|
}),
|
|
5346
|
-
|
|
5346
|
+
b(d, { location: "top" }, {
|
|
5347
5347
|
activator: C(({ props: g }) => [
|
|
5348
|
-
|
|
5348
|
+
b(l, _e({
|
|
5349
5349
|
depressed: "",
|
|
5350
5350
|
fab: "",
|
|
5351
5351
|
light: "",
|
|
@@ -5359,9 +5359,9 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5359
5359
|
]),
|
|
5360
5360
|
_: 1
|
|
5361
5361
|
}),
|
|
5362
|
-
|
|
5362
|
+
b(d, { location: "top" }, {
|
|
5363
5363
|
activator: C(({ props: g }) => [
|
|
5364
|
-
|
|
5364
|
+
b(l, _e({
|
|
5365
5365
|
depressed: "",
|
|
5366
5366
|
fab: "",
|
|
5367
5367
|
light: "",
|
|
@@ -5374,7 +5374,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5374
5374
|
]),
|
|
5375
5375
|
_: 1
|
|
5376
5376
|
}),
|
|
5377
|
-
|
|
5377
|
+
b(h)
|
|
5378
5378
|
])
|
|
5379
5379
|
]),
|
|
5380
5380
|
_: 1
|
|
@@ -5388,7 +5388,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5388
5388
|
]);
|
|
5389
5389
|
};
|
|
5390
5390
|
}
|
|
5391
|
-
}),
|
|
5391
|
+
}), Ct = /* @__PURE__ */ q(cs, [["__scopeId", "data-v-b6e473f1"]]), ds = { class: "static-image-wrapper" }, vs = /* @__PURE__ */ P({
|
|
5392
5392
|
__name: "VSingleImage",
|
|
5393
5393
|
props: {
|
|
5394
5394
|
image: {},
|
|
@@ -5396,17 +5396,17 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5396
5396
|
},
|
|
5397
5397
|
setup(v) {
|
|
5398
5398
|
const t = v, e = T(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
|
|
5399
|
-
return (o, n) => (m(), S("div",
|
|
5399
|
+
return (o, n) => (m(), S("div", ds, [
|
|
5400
5400
|
s("div", {
|
|
5401
|
-
class:
|
|
5401
|
+
class: ye(["img-div", [o.aspectRatio]]),
|
|
5402
5402
|
style: le(e.value)
|
|
5403
5403
|
}, null, 6)
|
|
5404
5404
|
]));
|
|
5405
5405
|
}
|
|
5406
|
-
}),
|
|
5406
|
+
}), ms = /* @__PURE__ */ q(vs, [["__scopeId", "data-v-31489804"]]), ps = {
|
|
5407
5407
|
id: "btn-fullscreen",
|
|
5408
5408
|
class: "btn-placeholder mr-2"
|
|
5409
|
-
},
|
|
5409
|
+
}, It = /* @__PURE__ */ P({
|
|
5410
5410
|
__name: "VFullScreenButton",
|
|
5411
5411
|
props: {
|
|
5412
5412
|
isFullScreen: { type: Boolean }
|
|
@@ -5416,8 +5416,8 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5416
5416
|
const e = t;
|
|
5417
5417
|
return (o, n) => {
|
|
5418
5418
|
const a = B("v-btn");
|
|
5419
|
-
return m(), S("div",
|
|
5420
|
-
|
|
5419
|
+
return m(), S("div", ps, [
|
|
5420
|
+
b(a, {
|
|
5421
5421
|
density: "comfortable",
|
|
5422
5422
|
elevation: "3",
|
|
5423
5423
|
icon: o.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
@@ -5427,7 +5427,7 @@ const na = { id: "player-wrapper" }, oa = { id: "player-sizer" }, aa = {
|
|
|
5427
5427
|
};
|
|
5428
5428
|
}
|
|
5429
5429
|
});
|
|
5430
|
-
class
|
|
5430
|
+
class At {
|
|
5431
5431
|
constructor(t, e) {
|
|
5432
5432
|
ne(this, "_doc");
|
|
5433
5433
|
ne(this, "_elemId");
|
|
@@ -5467,13 +5467,10 @@ class It {
|
|
|
5467
5467
|
this._state.isActive = t;
|
|
5468
5468
|
}
|
|
5469
5469
|
}
|
|
5470
|
-
const
|
|
5470
|
+
const hs = {
|
|
5471
5471
|
key: 0,
|
|
5472
5472
|
class: "player-error"
|
|
5473
|
-
},
|
|
5474
|
-
key: 1,
|
|
5475
|
-
class: "v-player"
|
|
5476
|
-
}, gs = {
|
|
5473
|
+
}, fs = { class: "player-and-components-wrapper" }, gs = {
|
|
5477
5474
|
key: 3,
|
|
5478
5475
|
class: "settings-panel"
|
|
5479
5476
|
}, ys = {
|
|
@@ -5482,10 +5479,10 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5482
5479
|
}, _s = {
|
|
5483
5480
|
key: 1,
|
|
5484
5481
|
class: "btn-placeholder mr-2"
|
|
5485
|
-
},
|
|
5482
|
+
}, bs = {
|
|
5486
5483
|
key: 2,
|
|
5487
5484
|
class: "btn-placeholder"
|
|
5488
|
-
},
|
|
5485
|
+
}, ws = { key: 0 }, ks = /* @__PURE__ */ P({
|
|
5489
5486
|
__name: "VVirtualTour",
|
|
5490
5487
|
props: {
|
|
5491
5488
|
cdnFileResolver: {},
|
|
@@ -5523,8 +5520,8 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5523
5520
|
},
|
|
5524
5521
|
emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate", "onError"],
|
|
5525
5522
|
setup(v, { emit: t }) {
|
|
5526
|
-
const e = v, o = t, n = c(!1), a = c(!1), r = c(), i = c(), p = c(), u = c(), l = c(), d = c(0),
|
|
5527
|
-
new
|
|
5523
|
+
const e = v, o = t, n = c(!1), a = c(!1), r = c(), i = c(), p = c(), u = c(), l = c(), d = c(0), w = c(), h = c(), f = c(), y = c(0), F = c(0), k = c(0), g = c(!1), U = c(!1), _ = c(!1), V = c(
|
|
5524
|
+
new At(document, "player-wrapper")
|
|
5528
5525
|
), I = T(() => {
|
|
5529
5526
|
if (i.value) {
|
|
5530
5527
|
const A = i.value.cameras.map(
|
|
@@ -5549,14 +5546,14 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5549
5546
|
}
|
|
5550
5547
|
return A;
|
|
5551
5548
|
}), G = T(() => x.value.findIndex(
|
|
5552
|
-
(A) => A.archetypeID ===
|
|
5549
|
+
(A) => A.archetypeID === w.value
|
|
5553
5550
|
)), D = T(() => p.value ? p.value.cameras.map((A) => ({
|
|
5554
5551
|
...A,
|
|
5555
5552
|
thumbnailUrl: fe(
|
|
5556
|
-
`/${
|
|
5553
|
+
`/${w.value}/${e.apartmentId}/thumbs/200/${A.id}.jpg`
|
|
5557
5554
|
),
|
|
5558
5555
|
imageUrl: fe(
|
|
5559
|
-
`/${
|
|
5556
|
+
`/${w.value}/${e.apartmentId}/images/1600/${A.id}.jpg`
|
|
5560
5557
|
)
|
|
5561
5558
|
})) : []), Z = T(() => !D.value || !D.value[d.value] ? "" : D.value[d.value].imageUrl), x = T(() => {
|
|
5562
5559
|
let A = [];
|
|
@@ -5573,13 +5570,13 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5573
5570
|
return u.value.storeys[L.value];
|
|
5574
5571
|
}), $ = T(() => i.value && i.value.timeInHours), K = T(() => {
|
|
5575
5572
|
if (i.value && i.value.timeInHours && e.showTimeOfDay)
|
|
5576
|
-
return
|
|
5573
|
+
return xt(i.value.timeInHours);
|
|
5577
5574
|
});
|
|
5578
5575
|
Qe(
|
|
5579
|
-
|
|
5576
|
+
be,
|
|
5580
5577
|
e.i18nConfig ? new Fe(e.i18nConfig) : new Fe()
|
|
5581
5578
|
), Y([() => e.cdnFileResolver], async () => {
|
|
5582
|
-
await O(), te(), await
|
|
5579
|
+
await O(), te(), await j();
|
|
5583
5580
|
}), Y(
|
|
5584
5581
|
() => e.defaultViewMode,
|
|
5585
5582
|
(A) => {
|
|
@@ -5588,7 +5585,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5588
5585
|
{ immediate: !0 }
|
|
5589
5586
|
), ue(async () => {
|
|
5590
5587
|
try {
|
|
5591
|
-
await O(), te(), await
|
|
5588
|
+
await O(), te(), await j(), V.value.setup(), me();
|
|
5592
5589
|
} catch (A) {
|
|
5593
5590
|
a.value = !0, o("onError", A);
|
|
5594
5591
|
}
|
|
@@ -5596,25 +5593,25 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5596
5593
|
async function O() {
|
|
5597
5594
|
r.value = await ce();
|
|
5598
5595
|
}
|
|
5599
|
-
async function
|
|
5596
|
+
async function j() {
|
|
5600
5597
|
if (i.value = await ie(
|
|
5601
|
-
|
|
5598
|
+
w.value,
|
|
5602
5599
|
e.apartmentId
|
|
5603
5600
|
), i.value && (h.value = i.value.cameras.find(() => !0).id), p.value = await Ae(
|
|
5604
|
-
|
|
5601
|
+
w.value,
|
|
5605
5602
|
e.apartmentId
|
|
5606
5603
|
), p.value) {
|
|
5607
5604
|
let A = e.defaultWaypointIndex !== null ? e.defaultWaypointIndex : 0;
|
|
5608
5605
|
d.value = A, h.value = p.value.cameras[A].id, f.value = p.value.cameras[A].id;
|
|
5609
5606
|
}
|
|
5610
5607
|
e.showMiniMap && (u.value = await Se(
|
|
5611
|
-
|
|
5608
|
+
w.value,
|
|
5612
5609
|
e.apartmentId
|
|
5613
5610
|
));
|
|
5614
5611
|
}
|
|
5615
5612
|
function te() {
|
|
5616
5613
|
let A = e.defaultInteriorId;
|
|
5617
|
-
A || (A = r.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(A) && (A = e.validInteriorIds[0]), A || (A = r.value.archetypes[0].archetypeID),
|
|
5614
|
+
A || (A = r.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(A) && (A = e.validInteriorIds[0]), A || (A = r.value.archetypes[0].archetypeID), w.value = A;
|
|
5618
5615
|
}
|
|
5619
5616
|
function me() {
|
|
5620
5617
|
const A = document.getElementById("main-canvas");
|
|
@@ -5697,11 +5694,11 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5697
5694
|
let A = d.value + 1;
|
|
5698
5695
|
A >= D.value.length && (A = 0), d.value = A, Ee(D.value[d.value].id);
|
|
5699
5696
|
}
|
|
5700
|
-
function
|
|
5697
|
+
function ke() {
|
|
5701
5698
|
let A = d.value - 1;
|
|
5702
5699
|
A < 0 && (A = D.value.length - 1), d.value = A, Ee(D.value[d.value].id);
|
|
5703
5700
|
}
|
|
5704
|
-
function
|
|
5701
|
+
function Ce(A, z = !0) {
|
|
5705
5702
|
let J = D.value.findIndex((he) => he.id === A);
|
|
5706
5703
|
J != -1 && (d.value = J, z && Ee(A));
|
|
5707
5704
|
}
|
|
@@ -5709,10 +5706,10 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5709
5706
|
h.value = A;
|
|
5710
5707
|
}
|
|
5711
5708
|
function Me(A) {
|
|
5712
|
-
|
|
5709
|
+
w.value = A, o("onInteriorUpdate", A), o("onCameraUpdate", f.value, i.value);
|
|
5713
5710
|
}
|
|
5714
5711
|
function Je(A) {
|
|
5715
|
-
|
|
5712
|
+
Ce(A, !1), f.value = A, o("onCameraUpdate", A, i.value);
|
|
5716
5713
|
}
|
|
5717
5714
|
function $e(A) {
|
|
5718
5715
|
y.value = A;
|
|
@@ -5735,12 +5732,12 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5735
5732
|
g.value = !g.value;
|
|
5736
5733
|
}
|
|
5737
5734
|
async function De() {
|
|
5738
|
-
const A = 180 / Math.PI, z = await l.value.takePhoto(), J = l.value.getRotationEuler(), he = l.value.getCurrentCamera(), He = new
|
|
5735
|
+
const A = 180 / Math.PI, z = await l.value.takePhoto(), J = l.value.getRotationEuler(), he = l.value.getCurrentCamera(), He = new Nn(z, he), St = [
|
|
5739
5736
|
J.x * A,
|
|
5740
5737
|
J.y * A,
|
|
5741
5738
|
J.z * A
|
|
5742
5739
|
];
|
|
5743
|
-
return o("onSnapshot", He,
|
|
5740
|
+
return o("onSnapshot", He, St), He;
|
|
5744
5741
|
}
|
|
5745
5742
|
function fe(A) {
|
|
5746
5743
|
let z = se(e.cdnFileResolver, A);
|
|
@@ -5757,21 +5754,26 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5757
5754
|
function dt(A) {
|
|
5758
5755
|
l.value.updateSettings(A);
|
|
5759
5756
|
}
|
|
5760
|
-
function
|
|
5757
|
+
function Lt(A) {
|
|
5761
5758
|
o("saveSettings", A);
|
|
5762
5759
|
}
|
|
5763
|
-
function
|
|
5760
|
+
function xt(A) {
|
|
5764
5761
|
if (A === void 0)
|
|
5765
5762
|
return null;
|
|
5766
5763
|
const z = Math.floor(A), J = Math.floor((z - A) * 60);
|
|
5767
5764
|
return { hours: z, minutes: J };
|
|
5768
5765
|
}
|
|
5766
|
+
const Ft = T(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
5767
|
+
window.navigator.userAgent
|
|
5768
|
+
)), vt = T(() => Ft.value ? "platform-mobile" : "platform-desktop");
|
|
5769
5769
|
return (A, z) => {
|
|
5770
5770
|
const J = B("v-btn");
|
|
5771
|
-
return m(), S("div",
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5771
|
+
return m(), S("div", {
|
|
5772
|
+
class: ye(["virtual-tour-wrapper", [vt.value]])
|
|
5773
|
+
}, [
|
|
5774
|
+
a.value ? (m(), S("div", hs, "Error loading the player!!")) : H("", !0),
|
|
5775
|
+
s("div", fs, [
|
|
5776
|
+
!V.value.isActive && u.value && f.value && M.value && w.value && U.value ? (m(), R(ht, {
|
|
5775
5777
|
key: 0,
|
|
5776
5778
|
"cdn-file-resolver": A.cdnFileResolver,
|
|
5777
5779
|
"apartment-json": i.value,
|
|
@@ -5781,15 +5783,18 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5781
5783
|
"current-camera": f.value,
|
|
5782
5784
|
onClose: z[0] || (z[0] = (he) => U.value = !1)
|
|
5783
5785
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : H("", !0),
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
+
w.value && h.value ? (m(), S("div", {
|
|
5787
|
+
key: 1,
|
|
5788
|
+
class: ye(["v-player", [vt.value]])
|
|
5789
|
+
}, [
|
|
5790
|
+
b(ga, {
|
|
5786
5791
|
"cdn-file-resolver": A.cdnFileResolver,
|
|
5787
5792
|
style: le({ zIndex: g.value ? 1 : 2 }),
|
|
5788
5793
|
"show-static-image": g.value,
|
|
5789
5794
|
"is-full-screen": V.value.isActive,
|
|
5790
5795
|
"current-camera-id": h.value,
|
|
5791
5796
|
"mouse-sensitivity": A.mouseSensitivity,
|
|
5792
|
-
"interior-id":
|
|
5797
|
+
"interior-id": w.value,
|
|
5793
5798
|
"apartment-id": e.apartmentId,
|
|
5794
5799
|
onNewCameraCallback: Je,
|
|
5795
5800
|
onNewRotationCallback: $e,
|
|
@@ -5799,7 +5804,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5799
5804
|
onPlayerApiCallback: ae
|
|
5800
5805
|
}, {
|
|
5801
5806
|
"slideshow-image": C(() => [
|
|
5802
|
-
g.value ? (m(), R(
|
|
5807
|
+
g.value ? (m(), R(ms, {
|
|
5803
5808
|
key: 0,
|
|
5804
5809
|
image: Z.value
|
|
5805
5810
|
}, null, 8, ["image"])) : H("", !0)
|
|
@@ -5825,58 +5830,58 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5825
5830
|
}, null, 512)), [
|
|
5826
5831
|
[pe, _.value]
|
|
5827
5832
|
]) : H("", !0),
|
|
5828
|
-
_.value && A.showFloorLevel && I.value.length > 1 ? (m(), R(
|
|
5833
|
+
_.value && A.showFloorLevel && I.value.length > 1 ? (m(), R(Ca, {
|
|
5829
5834
|
key: 2,
|
|
5830
5835
|
level: F.value,
|
|
5831
5836
|
"floor-levels": I.value,
|
|
5832
5837
|
onLevel: Ke
|
|
5833
5838
|
}, null, 8, ["level", "floor-levels"])) : H("", !0),
|
|
5834
5839
|
_.value && A.adminMode && n.value ? (m(), S("div", gs, [
|
|
5835
|
-
|
|
5840
|
+
b(Dl, {
|
|
5836
5841
|
"initial-settings": A.playerSettings,
|
|
5837
5842
|
onUpdateSettings: dt,
|
|
5838
|
-
onSaveSettings:
|
|
5843
|
+
onSaveSettings: Lt
|
|
5839
5844
|
}, null, 8, ["initial-settings"])
|
|
5840
5845
|
])) : H("", !0)
|
|
5841
5846
|
]),
|
|
5842
5847
|
"top-center": C(() => [
|
|
5843
|
-
_.value ? (m(), R(
|
|
5848
|
+
_.value ? (m(), R(as, {
|
|
5844
5849
|
key: 0,
|
|
5845
5850
|
"return-url": A.websiteUrl
|
|
5846
5851
|
}, null, 8, ["return-url"])) : H("", !0)
|
|
5847
5852
|
]),
|
|
5848
5853
|
"top-right": C(() => [
|
|
5849
5854
|
i.value && A.showCompass ? de((m(), S("div", ys, [
|
|
5850
|
-
|
|
5855
|
+
b(Sa, { rotation: y.value }, null, 8, ["rotation"])
|
|
5851
5856
|
], 512)), [
|
|
5852
5857
|
[pe, _.value]
|
|
5853
5858
|
]) : H("", !0),
|
|
5854
|
-
_.value && i.value && $.value && A.showTimeOfDay ? (m(), R(
|
|
5859
|
+
_.value && i.value && $.value && A.showTimeOfDay ? (m(), R(Ba, {
|
|
5855
5860
|
key: 1,
|
|
5856
5861
|
hours: K.value.hours,
|
|
5857
5862
|
minutes: K.value.minutes
|
|
5858
5863
|
}, null, 8, ["hours", "minutes"])) : H("", !0)
|
|
5859
5864
|
]),
|
|
5860
5865
|
"center-left": C(() => [
|
|
5861
|
-
|
|
5866
|
+
b(xe, { name: "slide-x-transition" }, {
|
|
5862
5867
|
default: C(() => [
|
|
5863
5868
|
g.value ? (m(), R(J, {
|
|
5864
5869
|
key: 0,
|
|
5865
5870
|
density: "comfortable",
|
|
5866
5871
|
elevation: "3",
|
|
5867
5872
|
icon: "mdi-chevron-left",
|
|
5868
|
-
onClick:
|
|
5873
|
+
onClick: ke
|
|
5869
5874
|
})) : H("", !0)
|
|
5870
5875
|
]),
|
|
5871
5876
|
_: 1
|
|
5872
5877
|
})
|
|
5873
5878
|
]),
|
|
5874
5879
|
"center-center": C(() => [
|
|
5875
|
-
|
|
5880
|
+
b(dl, {
|
|
5876
5881
|
project: oe(se)(e.cdnFileResolver, ""),
|
|
5877
5882
|
onCloseTutorial: z[3] || (z[3] = (he) => _.value = !0)
|
|
5878
5883
|
}, null, 8, ["project"]),
|
|
5879
|
-
V.value.isActive && u.value && f.value && M.value && U.value ? (m(), R(
|
|
5884
|
+
V.value.isActive && u.value && f.value && M.value && U.value ? (m(), R(ht, {
|
|
5880
5885
|
key: 0,
|
|
5881
5886
|
"cdn-file-resolver": A.cdnFileResolver,
|
|
5882
5887
|
"apartment-json": i.value,
|
|
@@ -5888,7 +5893,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5888
5893
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : H("", !0)
|
|
5889
5894
|
]),
|
|
5890
5895
|
"center-right": C(() => [
|
|
5891
|
-
|
|
5896
|
+
b(xe, { name: "slide-x-reverse-transition" }, {
|
|
5892
5897
|
default: C(() => [
|
|
5893
5898
|
g.value ? (m(), R(J, {
|
|
5894
5899
|
key: 0,
|
|
@@ -5902,44 +5907,44 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5902
5907
|
})
|
|
5903
5908
|
]),
|
|
5904
5909
|
"bottom-left": C(() => [
|
|
5905
|
-
_.value && A.showFullScreen ? (m(), R(
|
|
5910
|
+
_.value && A.showFullScreen ? (m(), R(It, {
|
|
5906
5911
|
key: 0,
|
|
5907
5912
|
"is-full-screen": V.value.isActive,
|
|
5908
5913
|
class: "btn-fullscreen",
|
|
5909
5914
|
onToggleFullscreen: Ne
|
|
5910
5915
|
}, null, 8, ["is-full-screen"])) : H("", !0),
|
|
5911
5916
|
_.value && A.showSnapshot ? (m(), S("div", _s, [
|
|
5912
|
-
|
|
5917
|
+
b(J, {
|
|
5913
5918
|
density: "comfortable",
|
|
5914
5919
|
elevation: "3",
|
|
5915
5920
|
icon: "mdi-camera",
|
|
5916
5921
|
onClick: De
|
|
5917
5922
|
})
|
|
5918
5923
|
])) : H("", !0),
|
|
5919
|
-
_.value && A.showShare && !V.value.isActive ? (m(), S("div",
|
|
5920
|
-
|
|
5924
|
+
_.value && A.showShare && !V.value.isActive ? (m(), S("div", bs, [
|
|
5925
|
+
b(Ct)
|
|
5921
5926
|
])) : H("", !0)
|
|
5922
5927
|
]),
|
|
5923
5928
|
"bottom-center": C(() => [
|
|
5924
|
-
_.value && A.showCarousel ? (m(), S("div",
|
|
5925
|
-
A.displayViewModeSwitch ? (m(), R(
|
|
5929
|
+
_.value && A.showCarousel ? (m(), S("div", ws, [
|
|
5930
|
+
A.displayViewModeSwitch ? (m(), R(Ra, {
|
|
5926
5931
|
key: 0,
|
|
5927
5932
|
"show-static-image": g.value,
|
|
5928
5933
|
onToggle: Te
|
|
5929
5934
|
}, null, 8, ["show-static-image"])) : H("", !0),
|
|
5930
5935
|
_.value && V.value.isActive ? (m(), R(et, {
|
|
5931
5936
|
key: 1,
|
|
5932
|
-
class:
|
|
5937
|
+
class: ye([V.value.isActive ? "full-screen" : ""]),
|
|
5933
5938
|
thumbnails: D.value,
|
|
5934
5939
|
active: d.value,
|
|
5935
5940
|
onNext: we,
|
|
5936
|
-
onPrevious:
|
|
5937
|
-
onGoto:
|
|
5941
|
+
onPrevious: ke,
|
|
5942
|
+
onGoto: Ce
|
|
5938
5943
|
}, null, 8, ["class", "thumbnails", "active"])) : H("", !0)
|
|
5939
5944
|
])) : H("", !0)
|
|
5940
5945
|
]),
|
|
5941
5946
|
"bottom-right": C(() => [
|
|
5942
|
-
_.value && A.showInteriorOptions && E.value ? (m(), R(
|
|
5947
|
+
_.value && A.showInteriorOptions && E.value ? (m(), R(La, {
|
|
5943
5948
|
key: 0,
|
|
5944
5949
|
"cdn-file-resolver": A.cdnFileResolver,
|
|
5945
5950
|
"available-archetypes": E.value,
|
|
@@ -5955,15 +5960,15 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5955
5960
|
thumbnails: D.value,
|
|
5956
5961
|
active: d.value,
|
|
5957
5962
|
onNext: we,
|
|
5958
|
-
onPrevious:
|
|
5959
|
-
onGoto:
|
|
5963
|
+
onPrevious: ke,
|
|
5964
|
+
onGoto: Ce
|
|
5960
5965
|
}, null, 8, ["thumbnails", "active"])) : H("", !0)
|
|
5961
|
-
])) : H("", !0)
|
|
5966
|
+
], 2)) : H("", !0)
|
|
5962
5967
|
])
|
|
5963
|
-
]);
|
|
5968
|
+
], 2);
|
|
5964
5969
|
};
|
|
5965
5970
|
}
|
|
5966
|
-
}), Cs = /* @__PURE__ */ q(ks, [["__scopeId", "data-v-
|
|
5971
|
+
}), Cs = /* @__PURE__ */ q(ks, [["__scopeId", "data-v-21a9a914"]]), Is = { id: "player-wrapper" }, As = { id: "player-sizer" }, Ls = {
|
|
5967
5972
|
class: "player-control",
|
|
5968
5973
|
id: "controls-top-left"
|
|
5969
5974
|
}, xs = {
|
|
@@ -5990,7 +5995,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
5990
5995
|
}, Vs = {
|
|
5991
5996
|
class: "player-control",
|
|
5992
5997
|
id: "controls-bottom-right"
|
|
5993
|
-
}, Bs = /* @__PURE__ */
|
|
5998
|
+
}, Bs = /* @__PURE__ */ P({
|
|
5994
5999
|
__name: "VManualSlideShowPlayer",
|
|
5995
6000
|
props: {
|
|
5996
6001
|
isFullScreen: { type: Boolean }
|
|
@@ -6033,7 +6038,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6033
6038
|
}), Rs = /* @__PURE__ */ q(Bs, [["__scopeId", "data-v-5fdd1e05"]]), Os = { class: "virtual-tour-wrapper" }, $s = { class: "player-and-components-wrapper" }, Us = { class: "mss-image" }, Hs = {
|
|
6034
6039
|
key: 1,
|
|
6035
6040
|
class: "btn-placeholder"
|
|
6036
|
-
}, Ys = /* @__PURE__ */
|
|
6041
|
+
}, Ys = /* @__PURE__ */ P({
|
|
6037
6042
|
__name: "VManualSlideShow",
|
|
6038
6043
|
props: {
|
|
6039
6044
|
images: {},
|
|
@@ -6046,11 +6051,11 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6046
6051
|
setup(v) {
|
|
6047
6052
|
const t = v;
|
|
6048
6053
|
Qe(
|
|
6049
|
-
|
|
6054
|
+
be,
|
|
6050
6055
|
t.i18nConfig ? new Fe(t.i18nConfig) : new Fe()
|
|
6051
6056
|
);
|
|
6052
6057
|
const e = c(0), o = c(
|
|
6053
|
-
new
|
|
6058
|
+
new At(document, "player-wrapper")
|
|
6054
6059
|
), n = T(() => t.images.map(
|
|
6055
6060
|
(l, d) => ({
|
|
6056
6061
|
id: `image-${d}`,
|
|
@@ -6072,22 +6077,22 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6072
6077
|
l < 0 && (l = n.value.length - 1), e.value = l;
|
|
6073
6078
|
}
|
|
6074
6079
|
function u(l, d = !0) {
|
|
6075
|
-
let
|
|
6080
|
+
let w = n.value.findIndex(
|
|
6076
6081
|
(h) => h.id === l
|
|
6077
6082
|
);
|
|
6078
|
-
|
|
6083
|
+
w != -1 && (e.value = w);
|
|
6079
6084
|
}
|
|
6080
6085
|
return (l, d) => {
|
|
6081
|
-
const
|
|
6086
|
+
const w = B("v-img"), h = B("v-btn");
|
|
6082
6087
|
return m(), S("div", Os, [
|
|
6083
6088
|
s("div", $s, [
|
|
6084
6089
|
s("div", null, [
|
|
6085
|
-
|
|
6090
|
+
b(Rs, {
|
|
6086
6091
|
"is-full-screen": o.value.isActive
|
|
6087
6092
|
}, {
|
|
6088
6093
|
"slideshow-image": C(() => [
|
|
6089
6094
|
s("div", Us, [
|
|
6090
|
-
w
|
|
6095
|
+
b(w, {
|
|
6091
6096
|
src: a.value.thumbnailUrl
|
|
6092
6097
|
}, null, 8, ["src"])
|
|
6093
6098
|
])
|
|
@@ -6096,7 +6101,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6096
6101
|
"top-center": C(() => []),
|
|
6097
6102
|
"top-right": C(() => []),
|
|
6098
6103
|
"center-left": C(() => [
|
|
6099
|
-
|
|
6104
|
+
b(xe, { name: "slide-x-transition" }, {
|
|
6100
6105
|
default: C(() => [
|
|
6101
6106
|
n.value.length > 1 ? (m(), R(h, {
|
|
6102
6107
|
key: 0,
|
|
@@ -6111,7 +6116,7 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6111
6116
|
]),
|
|
6112
6117
|
"center-center": C(() => []),
|
|
6113
6118
|
"center-right": C(() => [
|
|
6114
|
-
|
|
6119
|
+
b(xe, { name: "slide-x-reverse-transition" }, {
|
|
6115
6120
|
default: C(() => [
|
|
6116
6121
|
n.value.length > 1 ? (m(), R(h, {
|
|
6117
6122
|
key: 0,
|
|
@@ -6125,21 +6130,21 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6125
6130
|
})
|
|
6126
6131
|
]),
|
|
6127
6132
|
"bottom-left": C(() => [
|
|
6128
|
-
l.showFullScreen ? (m(), R(
|
|
6133
|
+
l.showFullScreen ? (m(), R(It, {
|
|
6129
6134
|
key: 0,
|
|
6130
6135
|
"is-full-screen": o.value.isActive,
|
|
6131
6136
|
class: "btn-fullscreen",
|
|
6132
6137
|
onToggleFullscreen: r
|
|
6133
6138
|
}, null, 8, ["is-full-screen"])) : H("", !0),
|
|
6134
6139
|
l.showShare ? (m(), S("div", Hs, [
|
|
6135
|
-
|
|
6140
|
+
b(Ct)
|
|
6136
6141
|
])) : H("", !0)
|
|
6137
6142
|
]),
|
|
6138
6143
|
"bottom-center": C(() => [
|
|
6139
6144
|
s("div", null, [
|
|
6140
6145
|
o.value.isActive && n.value.length > 1 ? (m(), R(et, {
|
|
6141
6146
|
key: 0,
|
|
6142
|
-
class:
|
|
6147
|
+
class: ye([o.value.isActive ? "full-screen" : ""]),
|
|
6143
6148
|
thumbnails: n.value,
|
|
6144
6149
|
active: e.value,
|
|
6145
6150
|
onNext: i,
|
|
@@ -6164,20 +6169,20 @@ const ms = { class: "virtual-tour-wrapper" }, ps = {
|
|
|
6164
6169
|
]);
|
|
6165
6170
|
};
|
|
6166
6171
|
}
|
|
6167
|
-
}),
|
|
6172
|
+
}), Ps = /* @__PURE__ */ q(Ys, [["__scopeId", "data-v-040ac08f"]]), Qs = {
|
|
6168
6173
|
install: function(t) {
|
|
6169
|
-
t.component("VApartmentChooser",
|
|
6174
|
+
t.component("VApartmentChooser", bn), t.component("VBuildingChooser", xo), t.component("VVirtualTour", Cs), t.component("VManualSlideShow", Ps);
|
|
6170
6175
|
}
|
|
6171
6176
|
};
|
|
6172
6177
|
export {
|
|
6173
6178
|
ge as ResourceLoader,
|
|
6174
|
-
|
|
6179
|
+
bn as VApartmentChooser,
|
|
6175
6180
|
zs as VApartmentChooserV5,
|
|
6176
|
-
|
|
6181
|
+
xo as VBuildingChooser,
|
|
6177
6182
|
Gs as VBuildingChooserV5,
|
|
6178
6183
|
qe as VFloatingCard,
|
|
6179
6184
|
Re as VHoverProbe,
|
|
6180
|
-
|
|
6185
|
+
Ps as VManualSlideShow,
|
|
6181
6186
|
Xe as VNorthDirection,
|
|
6182
6187
|
Cs as VVirtualTour,
|
|
6183
6188
|
Ze as VZoomBox,
|