@qispace/vue3-player 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xa = Object.defineProperty;
|
|
2
2
|
var Da = (l, a, e) => a in l ? xa(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e;
|
|
3
3
|
var ve = (l, a, e) => (Da(l, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
|
-
import { defineComponent as N, ref as v, computed as B, openBlock as c, createElementBlock as D, watch as Y, onMounted as ke, onBeforeUnmount as Pe, withDirectives as be, createElementVNode as u, normalizeStyle as me, vShow as Ce, createVNode as
|
|
4
|
+
import { defineComponent as N, ref as v, computed as B, openBlock as c, createElementBlock as D, watch as Y, onMounted as ke, onBeforeUnmount as Pe, withDirectives as be, createElementVNode as u, normalizeStyle as me, vShow as Ce, createVNode as C, Fragment as de, renderList as ge, createCommentVNode as $, inject as je, resolveComponent as T, withCtx as _, toDisplayString as Z, unref as x, createTextVNode as te, normalizeClass as he, createBlock as E, renderSlot as oe, provide as Je, reactive as pt, watchEffect as Ve, resolveDynamicComponent as Gt, normalizeProps as lt, guardReactiveProps as st, mergeProps as Me, nextTick as De, Transition as Te, createSlots as Aa, toRefs as Ee, pushScopeId as ft, popScopeId as ht, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
|
|
5
5
|
import St from "axios";
|
|
6
6
|
import * as Oa from "@qispace/player-core";
|
|
7
7
|
import { Vector3 as at, Object3D as Ta, MathUtils as Va } from "three";
|
|
@@ -76,18 +76,18 @@ const $a = /* @__PURE__ */ N({
|
|
|
76
76
|
},
|
|
77
77
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
78
78
|
setup(l, { emit: a }) {
|
|
79
|
-
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), p = v(), m = v(), r = v(), f = v(-1), k = v(!1), y = v(), d = v(), h = v({}), S = v("auto"),
|
|
79
|
+
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), p = v(), m = v(), r = v(), f = v(-1), k = v(!1), y = v(), d = v(), h = v({}), S = v("auto"), b = v(new Fe()), g = v({}), z = v(), V = v(), P = v(), I = v(), L = v(), J = B(() => P.value.isHoverEnabled), R = B(() => pe(
|
|
80
80
|
e.cdnFileResolver,
|
|
81
81
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
82
|
-
)), X = B(() => R.value in h.value ? h.value[R.value] : null),
|
|
82
|
+
)), X = B(() => R.value in h.value ? h.value[R.value] : null), w = B(() => f.value < 0 ? !1 : e.sceneData.find((j) => j.index === f.value) || !1), A = B(() => ({
|
|
83
83
|
width: o.value + "px",
|
|
84
84
|
height: i.value + "px",
|
|
85
85
|
cursor: S.value
|
|
86
|
-
})), G = B(() => `hover-${k.value ? "over" : "out"}-${
|
|
86
|
+
})), G = B(() => `hover-${k.value ? "over" : "out"}-${w.value ? typeof w.value == "object" && "unitId" in w.value ? w.value.unitId : w.value : ""}`);
|
|
87
87
|
Y(
|
|
88
88
|
R,
|
|
89
89
|
() => {
|
|
90
|
-
h.value[R.value] ||
|
|
90
|
+
h.value[R.value] || b.value.loadImageData(R.value).then((O) => {
|
|
91
91
|
h.value = {
|
|
92
92
|
...h.value,
|
|
93
93
|
[R.value]: O
|
|
@@ -112,14 +112,14 @@ const $a = /* @__PURE__ */ N({
|
|
|
112
112
|
() => {
|
|
113
113
|
_e();
|
|
114
114
|
}
|
|
115
|
-
), Y(
|
|
116
|
-
_e(),
|
|
115
|
+
), Y(w, () => {
|
|
116
|
+
_e(), w.value ? S.value = "pointer" : S.value = "auto";
|
|
117
117
|
}), Y(G, () => {
|
|
118
118
|
k.value ? n("hoverOver", {
|
|
119
|
-
hoverUnit:
|
|
119
|
+
hoverUnit: w.value ? w.value.unitId : !1,
|
|
120
120
|
closeHandler: () => Se()
|
|
121
121
|
}) : n("hoverOut", {
|
|
122
|
-
hoverUnit:
|
|
122
|
+
hoverUnit: w.value ? w.value.unitId : !1,
|
|
123
123
|
closeHandler: () => Se()
|
|
124
124
|
});
|
|
125
125
|
}), Y(t, () => {
|
|
@@ -192,7 +192,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
192
192
|
if (ae) {
|
|
193
193
|
const fe = le(j.index);
|
|
194
194
|
let xe = "idle";
|
|
195
|
-
!
|
|
195
|
+
!w.value && e.selectedUnitId && fe === e.selectedUnitId ? xe = "selected" : w.value && f.value === j.index && (xe = "hover");
|
|
196
196
|
const Oe = e.colorCallback(j.unitId, xe);
|
|
197
197
|
if (Oe)
|
|
198
198
|
for (let ce = 0; ce < ae.length; ce++)
|
|
@@ -267,7 +267,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
267
267
|
}, null, 4), [
|
|
268
268
|
[Ce, !O.viewModel.isRotating]
|
|
269
269
|
]),
|
|
270
|
-
|
|
270
|
+
C(He, {
|
|
271
271
|
ref_key: "hoverProbe",
|
|
272
272
|
ref: P
|
|
273
273
|
}, null, 512)
|
|
@@ -363,19 +363,19 @@ const $a = /* @__PURE__ */ N({
|
|
|
363
363
|
const P = y(V);
|
|
364
364
|
n("selectUnit", P), f.value && P && e.canGoToUnitCallback(P) ? n("goToUnit", P) : o.value = V;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function b(V) {
|
|
367
367
|
const P = y(V);
|
|
368
368
|
let I = "idle";
|
|
369
369
|
o.value < 0 && e.selectedUnitId && P === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value === V && (I = "hover");
|
|
370
370
|
const L = e.colorCallback(P, I);
|
|
371
371
|
if (L) {
|
|
372
|
-
const { r: J, g: R, b: X, a:
|
|
372
|
+
const { r: J, g: R, b: X, a: w, s: A } = L;
|
|
373
373
|
return {
|
|
374
374
|
strokeWidth: A !== void 0 ? A : 2,
|
|
375
375
|
stroke: `rgb(${J}, ${R}, ${X})`,
|
|
376
376
|
strokeOpacity: 1,
|
|
377
377
|
fill: `rgb(${J}, ${R}, ${X})`,
|
|
378
|
-
fillOpacity:
|
|
378
|
+
fillOpacity: w / 255,
|
|
379
379
|
cursor: `${e.canGoToUnitCallback(P) ? "cursor" : "default"} !important`
|
|
380
380
|
};
|
|
381
381
|
} else
|
|
@@ -412,7 +412,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
412
412
|
(c(!0), D(de, null, ge(s.value.svgObjects, ({ index: I, svg: L }) => (c(), D("g", {
|
|
413
413
|
key: I,
|
|
414
414
|
innerHTML: L,
|
|
415
|
-
style: me(
|
|
415
|
+
style: me(b(I)),
|
|
416
416
|
onMouseenter: (J) => d(I),
|
|
417
417
|
onMouseleave: (J) => h(),
|
|
418
418
|
onClick: (J) => S(I)
|
|
@@ -421,13 +421,13 @@ const $a = /* @__PURE__ */ N({
|
|
|
421
421
|
], 4), [
|
|
422
422
|
[Ce, !V.viewModel.isRotating]
|
|
423
423
|
]),
|
|
424
|
-
|
|
424
|
+
C(He, {
|
|
425
425
|
ref_key: "hoverProbe",
|
|
426
426
|
ref: r
|
|
427
427
|
}, null, 512)
|
|
428
428
|
], 512));
|
|
429
429
|
}
|
|
430
|
-
}), Ya = /* @__PURE__ */ ee(Ha, [["__scopeId", "data-v-e6c054c7"]]),
|
|
430
|
+
}), Ya = /* @__PURE__ */ ee(Ha, [["__scopeId", "data-v-e6c054c7"]]), $e = Symbol(), za = {
|
|
431
431
|
key: 0,
|
|
432
432
|
class: "text-success d-none d-md-flex"
|
|
433
433
|
}, Pa = { class: "text-success" }, ja = /* @__PURE__ */ N({
|
|
@@ -442,7 +442,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
442
442
|
},
|
|
443
443
|
emits: ["prevUnit", "nextUnit", "goToUnit"],
|
|
444
444
|
setup(l, { emit: a }) {
|
|
445
|
-
const e = l, n = B(() => e.selectedUnitId), t = B(() => e.nextUnitId), o = B(() => e.prevUnitId), i = a, s = je(
|
|
445
|
+
const e = l, n = B(() => e.selectedUnitId), t = B(() => e.nextUnitId), o = B(() => e.prevUnitId), i = a, s = je($e);
|
|
446
446
|
ke(() => {
|
|
447
447
|
window.addEventListener("keydown", p);
|
|
448
448
|
}), Pe(() => {
|
|
@@ -454,13 +454,13 @@ const $a = /* @__PURE__ */ N({
|
|
|
454
454
|
return (m, r) => {
|
|
455
455
|
const f = T("v-btn");
|
|
456
456
|
return c(), D("div", null, [
|
|
457
|
-
|
|
457
|
+
C(f, {
|
|
458
458
|
elevation: "1",
|
|
459
459
|
icon: "mdi-rotate-right",
|
|
460
460
|
class: "black darken-1",
|
|
461
461
|
onClick: r[0] || (r[0] = (k) => m.viewModel.rotateClockwise())
|
|
462
462
|
}),
|
|
463
|
-
|
|
463
|
+
C(f, {
|
|
464
464
|
elevation: "1",
|
|
465
465
|
plain: "",
|
|
466
466
|
icon: "mdi-chevron-left",
|
|
@@ -468,7 +468,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
468
468
|
disabled: !o.value,
|
|
469
469
|
onClick: r[1] || (r[1] = (k) => i("prevUnit"))
|
|
470
470
|
}, null, 8, ["disabled"]),
|
|
471
|
-
|
|
471
|
+
C(f, {
|
|
472
472
|
color: "darken-2",
|
|
473
473
|
elevation: "1",
|
|
474
474
|
rounded: "",
|
|
@@ -476,13 +476,13 @@ const $a = /* @__PURE__ */ N({
|
|
|
476
476
|
disabled: !n.value || !m.canGoToUnitCallback(n.value),
|
|
477
477
|
onClick: r[2] || (r[2] = (k) => i("goToUnit", n.value))
|
|
478
478
|
}, {
|
|
479
|
-
default:
|
|
479
|
+
default: _(() => [
|
|
480
480
|
n.value && m.canGoToUnitCallback(n.value) ? (c(), D("span", za, Z(x(s).getLabel("seeApartment")) + " ", 1)) : $("", !0),
|
|
481
481
|
u("span", Pa, Z(n.value ? e.unitRenderer(n.value) : "-"), 1)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["disabled"]),
|
|
485
|
-
|
|
485
|
+
C(f, {
|
|
486
486
|
elevation: "1",
|
|
487
487
|
plain: "",
|
|
488
488
|
icon: "mdi-chevron-right",
|
|
@@ -490,7 +490,7 @@ const $a = /* @__PURE__ */ N({
|
|
|
490
490
|
disabled: !t.value,
|
|
491
491
|
onClick: r[3] || (r[3] = (k) => i("nextUnit"))
|
|
492
492
|
}, null, 8, ["disabled"]),
|
|
493
|
-
|
|
493
|
+
C(f, {
|
|
494
494
|
elevation: "1",
|
|
495
495
|
plain: "",
|
|
496
496
|
icon: "mdi-rotate-left",
|
|
@@ -609,56 +609,56 @@ const Ga = {
|
|
|
609
609
|
emits: ["loaded", "error", "progress"],
|
|
610
610
|
setup(l, { emit: a }) {
|
|
611
611
|
const e = l, n = a, t = y(), o = v(
|
|
612
|
-
new It(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((
|
|
612
|
+
new It(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((b) => n("progress", b)).onLoadError(() => n("error"))
|
|
613
613
|
), i = v(
|
|
614
614
|
new Na(e.cardinalFrames, Yt)
|
|
615
|
-
), s = v(t), p = v(!1), m = B(() => s.value.find((
|
|
615
|
+
), s = v(t), p = v(!1), m = B(() => s.value.find((b) => b.show));
|
|
616
616
|
Y(
|
|
617
617
|
() => e.viewModel.currentScene,
|
|
618
|
-
(
|
|
619
|
-
const z = S(g,
|
|
618
|
+
(b, g) => {
|
|
619
|
+
const z = S(g, b), V = h(g, b);
|
|
620
620
|
r(g, z, V);
|
|
621
621
|
}
|
|
622
622
|
), ke(() => {
|
|
623
623
|
k();
|
|
624
624
|
});
|
|
625
|
-
function r(
|
|
625
|
+
function r(b, g, z) {
|
|
626
626
|
e.viewModel.isRotating || (e.viewModel.isRotating = !0, f(
|
|
627
627
|
i.value.start(
|
|
628
628
|
g,
|
|
629
|
-
|
|
629
|
+
b % nt,
|
|
630
630
|
z
|
|
631
631
|
)
|
|
632
632
|
));
|
|
633
633
|
}
|
|
634
|
-
function f(
|
|
634
|
+
function f(b) {
|
|
635
635
|
setTimeout(() => {
|
|
636
|
-
s.value[
|
|
637
|
-
const g =
|
|
636
|
+
s.value[b.frameIndex].show = !1;
|
|
637
|
+
const g = b.nextFrame();
|
|
638
638
|
s.value[g.frameIndex].show = !0, g.atEnd ? k() : window.requestAnimationFrame(() => f(g));
|
|
639
639
|
}, 1e3 / an);
|
|
640
640
|
}
|
|
641
641
|
function k() {
|
|
642
|
-
const
|
|
642
|
+
const b = i.value.startFrameIndexForScene(
|
|
643
643
|
e.viewModel.currentScene % nt
|
|
644
644
|
);
|
|
645
|
-
|
|
645
|
+
b in s.value && (s.value[b].show = !0), e.viewModel.isRotating = !1;
|
|
646
646
|
}
|
|
647
647
|
function y() {
|
|
648
|
-
const
|
|
648
|
+
const b = [];
|
|
649
649
|
for (let g = 0; g < Yt; g++) {
|
|
650
650
|
const { sourceSet: z, defaultPath: V } = d(g);
|
|
651
|
-
|
|
651
|
+
b.push({
|
|
652
652
|
index: g,
|
|
653
653
|
sourceSet: z,
|
|
654
654
|
defaultPath: V,
|
|
655
655
|
show: !1
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
return
|
|
658
|
+
return b;
|
|
659
659
|
}
|
|
660
|
-
function d(
|
|
661
|
-
const g = ("0000" + (
|
|
660
|
+
function d(b) {
|
|
661
|
+
const g = ("0000" + (b + 1)).slice(-4), z = e.build ? `?v=${e.build}` : "", V = [
|
|
662
662
|
`${pe(
|
|
663
663
|
e.cdnFileResolver,
|
|
664
664
|
`/480/${g}.jpg${z}`
|
|
@@ -677,22 +677,22 @@ const Ga = {
|
|
|
677
677
|
);
|
|
678
678
|
return { sourceSet: V, defaultPath: P };
|
|
679
679
|
}
|
|
680
|
-
function h(
|
|
681
|
-
const z = nt / 2, V = Math.abs(
|
|
680
|
+
function h(b, g) {
|
|
681
|
+
const z = nt / 2, V = Math.abs(b - g);
|
|
682
682
|
return V > z ? nt - V : V;
|
|
683
683
|
}
|
|
684
|
-
function S(
|
|
685
|
-
if (
|
|
684
|
+
function S(b, g) {
|
|
685
|
+
if (b === g)
|
|
686
686
|
return 0;
|
|
687
|
-
const V = Math.abs(
|
|
688
|
-
return V &&
|
|
687
|
+
const V = Math.abs(b - g) < nt / 2;
|
|
688
|
+
return V && b < g || !V && b > g ? 1 : -1;
|
|
689
689
|
}
|
|
690
|
-
return (
|
|
690
|
+
return (b, g) => {
|
|
691
691
|
const z = T("v-icon");
|
|
692
692
|
return c(), D("div", null, [
|
|
693
693
|
o.value.isError ? (c(), D("div", Ga, [
|
|
694
|
-
|
|
695
|
-
default:
|
|
694
|
+
C(z, { "x-large": "" }, {
|
|
695
|
+
default: _(() => [
|
|
696
696
|
te("mdi-alert-circle-outline")
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
@@ -747,7 +747,7 @@ const Ga = {
|
|
|
747
747
|
return c(), E(p, {
|
|
748
748
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
749
749
|
}, {
|
|
750
|
-
default:
|
|
750
|
+
default: _(() => [
|
|
751
751
|
o.isHoverable ? (c(), D("div", {
|
|
752
752
|
key: 0,
|
|
753
753
|
class: "floating-card",
|
|
@@ -765,7 +765,7 @@ const Ga = {
|
|
|
765
765
|
width: "auto",
|
|
766
766
|
"onClick:outside": i[0] || (i[0] = (m) => n("outside", m))
|
|
767
767
|
}, {
|
|
768
|
-
default:
|
|
768
|
+
default: _(() => [
|
|
769
769
|
oe(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
770
770
|
]),
|
|
771
771
|
_: 3
|
|
@@ -806,10 +806,10 @@ const Ga = {
|
|
|
806
806
|
), Y(
|
|
807
807
|
() => n.mobile,
|
|
808
808
|
() => {
|
|
809
|
-
n.mobile ?
|
|
809
|
+
n.mobile ? b() : z();
|
|
810
810
|
}
|
|
811
811
|
), ke(() => {
|
|
812
|
-
n.desktop && S(), n.mobile &&
|
|
812
|
+
n.desktop && S(), n.mobile && b();
|
|
813
813
|
}), Pe(() => {
|
|
814
814
|
n.desktop && g(), n.mobile && z();
|
|
815
815
|
});
|
|
@@ -826,14 +826,14 @@ const Ga = {
|
|
|
826
826
|
capture: !0
|
|
827
827
|
});
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function b() {
|
|
830
830
|
k.value.addEventListener("touchstart", R, {
|
|
831
831
|
capture: !0
|
|
832
832
|
}), k.value.addEventListener("touchmove", X, {
|
|
833
833
|
capture: !0
|
|
834
|
-
}), window.addEventListener("touchend",
|
|
834
|
+
}), window.addEventListener("touchend", w, {
|
|
835
835
|
capture: !0
|
|
836
|
-
}), window.addEventListener("touchcancel",
|
|
836
|
+
}), window.addEventListener("touchcancel", w, {
|
|
837
837
|
capture: !0
|
|
838
838
|
});
|
|
839
839
|
}
|
|
@@ -855,9 +855,9 @@ const Ga = {
|
|
|
855
855
|
capture: !0
|
|
856
856
|
}), k.value.removeEventListener("touchmove", X, {
|
|
857
857
|
capture: !0
|
|
858
|
-
}), window.removeEventListener("touchend",
|
|
858
|
+
}), window.removeEventListener("touchend", w, {
|
|
859
859
|
capture: !0
|
|
860
|
-
}), window.removeEventListener("touchcancel",
|
|
860
|
+
}), window.removeEventListener("touchcancel", w, {
|
|
861
861
|
capture: !0
|
|
862
862
|
});
|
|
863
863
|
}
|
|
@@ -905,7 +905,7 @@ const Ga = {
|
|
|
905
905
|
}
|
|
906
906
|
r.value = M;
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function w() {
|
|
909
909
|
p.value = !1, m.value = !1;
|
|
910
910
|
}
|
|
911
911
|
function A(M) {
|
|
@@ -1004,7 +1004,7 @@ class un {
|
|
|
1004
1004
|
});
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
class
|
|
1007
|
+
class Be {
|
|
1008
1008
|
constructor({ labels: a, language: e } = { labels: null, language: null }) {
|
|
1009
1009
|
ve(this, "_labels");
|
|
1010
1010
|
ve(this, "_language");
|
|
@@ -1045,11 +1045,11 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1045
1045
|
setup(l, { emit: a }) {
|
|
1046
1046
|
const e = [0, 16, 32, 48], n = l, t = a;
|
|
1047
1047
|
Je(
|
|
1048
|
-
|
|
1049
|
-
n.i18nConfig ? new
|
|
1048
|
+
$e,
|
|
1049
|
+
n.i18nConfig ? new Be(n.i18nConfig) : new Be()
|
|
1050
1050
|
);
|
|
1051
|
-
const o = pt({ isReady: !1, isError: !1 }), i = v(), s = v(), p = v(), m = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), y = v(), d = B(() => y.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId),
|
|
1052
|
-
|
|
1051
|
+
const o = pt({ isReady: !1, isError: !1 }), i = v(), s = v(), p = v(), m = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), y = v(), d = B(() => y.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), b = B(() => n.nextUnitId), g = B(() => n.prevUnitId);
|
|
1052
|
+
Ve(() => {
|
|
1053
1053
|
if (S.value && m.value) {
|
|
1054
1054
|
const I = i.value[S.value];
|
|
1055
1055
|
I && (m.value.currentScene = I);
|
|
@@ -1064,9 +1064,9 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1064
1064
|
return { unitId: R.apartmentID, scene: X };
|
|
1065
1065
|
}).reduce((R, X) => ({ ...R, [X.unitId]: X.scene }), {}) : {};
|
|
1066
1066
|
const L = (R, X = "unitId") => {
|
|
1067
|
-
let
|
|
1067
|
+
let w = I, A = [];
|
|
1068
1068
|
for (let G = 0; G < Ft; G++)
|
|
1069
|
-
A.push(
|
|
1069
|
+
A.push(w), w = Zt(w);
|
|
1070
1070
|
return R.sort((G, Q) => {
|
|
1071
1071
|
const re = A.findIndex(
|
|
1072
1072
|
(M) => M === i.value[G[X]]
|
|
@@ -1101,12 +1101,12 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1101
1101
|
return m.value ? (c(), D("div", cn, [
|
|
1102
1102
|
u("div", dn, [
|
|
1103
1103
|
u("div", vn, [
|
|
1104
|
-
|
|
1104
|
+
C(Ke, {
|
|
1105
1105
|
desktop: o.isReady && I.interactiveDesktop,
|
|
1106
1106
|
mobile: o.isReady && I.interactiveMobile
|
|
1107
1107
|
}, {
|
|
1108
|
-
default:
|
|
1109
|
-
|
|
1108
|
+
default: _(() => [
|
|
1109
|
+
C(on, {
|
|
1110
1110
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
1111
1111
|
"view-model": m.value,
|
|
1112
1112
|
"cardinal-frames": p.value,
|
|
@@ -1130,7 +1130,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1130
1130
|
onHoverOut: P,
|
|
1131
1131
|
onPos: z
|
|
1132
1132
|
}, {
|
|
1133
|
-
default:
|
|
1133
|
+
default: _((R) => [
|
|
1134
1134
|
oe(I.$slots, "default", lt(st(R)), void 0, !0)
|
|
1135
1135
|
]),
|
|
1136
1136
|
_: 3
|
|
@@ -1145,7 +1145,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1145
1145
|
pos: r.value,
|
|
1146
1146
|
onOutside: f.value
|
|
1147
1147
|
}, {
|
|
1148
|
-
default:
|
|
1148
|
+
default: _(() => [
|
|
1149
1149
|
oe(I.$slots, "default", {
|
|
1150
1150
|
unit: k.value,
|
|
1151
1151
|
canGoToUnit: I.canGoToUnitCallback(k.value),
|
|
@@ -1158,19 +1158,19 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1158
1158
|
_: 3
|
|
1159
1159
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : $("", !0),
|
|
1160
1160
|
o.isReady ? (c(), D("div", pn, [
|
|
1161
|
-
|
|
1161
|
+
C(Wa, {
|
|
1162
1162
|
"can-go-to-unit-callback": n.canGoToUnitCallback,
|
|
1163
1163
|
"unit-renderer": n.unitRenderer,
|
|
1164
1164
|
"selected-unit-id": S.value,
|
|
1165
1165
|
"prev-unit-id": g.value,
|
|
1166
|
-
"next-unit-id":
|
|
1166
|
+
"next-unit-id": b.value,
|
|
1167
1167
|
"view-model": m.value,
|
|
1168
1168
|
onGoToUnit: L[5] || (L[5] = (R) => t("goToUnit", R)),
|
|
1169
1169
|
onPrevUnit: L[6] || (L[6] = (R) => t("navUnit", g.value)),
|
|
1170
|
-
onNextUnit: L[7] || (L[7] = (R) => t("navUnit",
|
|
1170
|
+
onNextUnit: L[7] || (L[7] = (R) => t("navUnit", b.value))
|
|
1171
1171
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1172
1172
|
])) : o.isError ? $("", !0) : (c(), D("div", fn, [
|
|
1173
|
-
|
|
1173
|
+
C(J, {
|
|
1174
1174
|
indeterminate: !o.progress,
|
|
1175
1175
|
modelValue: o.progress,
|
|
1176
1176
|
"onUpdate:modelValue": L[8] || (L[8] = (R) => o.progress = R)
|
|
@@ -1178,7 +1178,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1178
1178
|
]))
|
|
1179
1179
|
])
|
|
1180
1180
|
]),
|
|
1181
|
-
|
|
1181
|
+
C(He, {
|
|
1182
1182
|
ref_key: "hoverProbe",
|
|
1183
1183
|
ref: y
|
|
1184
1184
|
}, null, 512)
|
|
@@ -1361,12 +1361,12 @@ const An = /* @__PURE__ */ N({
|
|
|
1361
1361
|
density: "compact",
|
|
1362
1362
|
"hide-details": ""
|
|
1363
1363
|
}, {
|
|
1364
|
-
item:
|
|
1365
|
-
|
|
1364
|
+
item: _(({ props: r }) => [
|
|
1365
|
+
C(p, Me(r, {
|
|
1366
1366
|
title: o(r.title)
|
|
1367
1367
|
}), null, 16, ["title"])
|
|
1368
1368
|
]),
|
|
1369
|
-
selection:
|
|
1369
|
+
selection: _(({ item: r }) => [
|
|
1370
1370
|
te(Z(o(r.title)), 1)
|
|
1371
1371
|
]),
|
|
1372
1372
|
_: 1
|
|
@@ -1416,13 +1416,13 @@ const An = /* @__PURE__ */ N({
|
|
|
1416
1416
|
return (p, m) => {
|
|
1417
1417
|
const r = T("v-icon"), f = T("v-btn"), k = T("v-slider"), y = T("v-field");
|
|
1418
1418
|
return c(), E(y, { variant: "solo" }, {
|
|
1419
|
-
default:
|
|
1419
|
+
default: _(() => [
|
|
1420
1420
|
p.dayData.startTime === p.dayData.endTime ? (c(), D("div", Ln, [
|
|
1421
|
-
|
|
1421
|
+
C(r, {
|
|
1422
1422
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1423
1423
|
class: "py-2 ml-2 mr-2 icon"
|
|
1424
1424
|
}, {
|
|
1425
|
-
default:
|
|
1425
|
+
default: _(() => [
|
|
1426
1426
|
te(" mdi-white-balance-sunny ")
|
|
1427
1427
|
]),
|
|
1428
1428
|
_: 1
|
|
@@ -1439,8 +1439,8 @@ const An = /* @__PURE__ */ N({
|
|
|
1439
1439
|
disabled: !!e.disabled,
|
|
1440
1440
|
"hide-details": ""
|
|
1441
1441
|
}, {
|
|
1442
|
-
prepend:
|
|
1443
|
-
|
|
1442
|
+
prepend: _(() => [
|
|
1443
|
+
C(f, {
|
|
1444
1444
|
icon: o.value ? "mdi-stop" : "mdi-play",
|
|
1445
1445
|
size: "x-small",
|
|
1446
1446
|
variant: "flat",
|
|
@@ -1449,14 +1449,14 @@ const An = /* @__PURE__ */ N({
|
|
|
1449
1449
|
te(" "),
|
|
1450
1450
|
u("span", Mn, Z(i(p.dayData.startTime)), 1)
|
|
1451
1451
|
]),
|
|
1452
|
-
append:
|
|
1452
|
+
append: _(() => [
|
|
1453
1453
|
u("span", On, Z(i(p.dayData.endTime)), 1),
|
|
1454
1454
|
te(" "),
|
|
1455
|
-
|
|
1455
|
+
C(r, {
|
|
1456
1456
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1457
1457
|
class: "ml-2 mr-2 icon"
|
|
1458
1458
|
}, {
|
|
1459
|
-
default:
|
|
1459
|
+
default: _(() => [
|
|
1460
1460
|
te(" mdi-white-balance-sunny ")
|
|
1461
1461
|
]),
|
|
1462
1462
|
_: 1
|
|
@@ -1485,24 +1485,24 @@ const An = /* @__PURE__ */ N({
|
|
|
1485
1485
|
rotateShortestRoute: k
|
|
1486
1486
|
});
|
|
1487
1487
|
const o = v(!1), i = v(n.currentScene), s = v(n.selectedId);
|
|
1488
|
-
|
|
1488
|
+
Ve(() => {
|
|
1489
1489
|
i.value = n.currentScene;
|
|
1490
|
-
}),
|
|
1490
|
+
}), Ve(() => {
|
|
1491
1491
|
s.value = n.selectedId;
|
|
1492
|
-
}),
|
|
1492
|
+
}), Ve(() => {
|
|
1493
1493
|
t("onSceneChange", i.value);
|
|
1494
1494
|
});
|
|
1495
1495
|
const p = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[0]), m = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[n.apartmentChooserData.scenes.length - 1]);
|
|
1496
1496
|
function r() {
|
|
1497
1497
|
const d = i.value;
|
|
1498
|
-
let h = n.apartmentChooserData.scenes.findIndex((
|
|
1498
|
+
let h = n.apartmentChooserData.scenes.findIndex((b) => b === d) + 1;
|
|
1499
1499
|
h >= n.apartmentChooserData.scenes.length && (h = 0);
|
|
1500
1500
|
const S = n.apartmentChooserData.scenes[h];
|
|
1501
1501
|
n.apartmentChooserData.loopable && d > S, y(d, S);
|
|
1502
1502
|
}
|
|
1503
1503
|
async function f() {
|
|
1504
1504
|
const d = i.value;
|
|
1505
|
-
let h = n.apartmentChooserData.scenes.findIndex((
|
|
1505
|
+
let h = n.apartmentChooserData.scenes.findIndex((b) => b === d) - 1;
|
|
1506
1506
|
h < 0 && (h = n.apartmentChooserData.scenes.length - 1);
|
|
1507
1507
|
const S = n.apartmentChooserData.scenes[h];
|
|
1508
1508
|
n.apartmentChooserData.loopable && d < S, y(d, S);
|
|
@@ -1511,11 +1511,11 @@ const An = /* @__PURE__ */ N({
|
|
|
1511
1511
|
const h = i.value;
|
|
1512
1512
|
if (n.apartmentChooserData.loopable)
|
|
1513
1513
|
if (d < h) {
|
|
1514
|
-
let S = h - d,
|
|
1515
|
-
return Math.abs(S) > Math.abs(
|
|
1514
|
+
let S = h - d, b = h - (n.apartmentChooserData.cameras.length + d);
|
|
1515
|
+
return Math.abs(S) > Math.abs(b) ? y(h, d) : y(h, n.apartmentChooserData.cameras.length + d);
|
|
1516
1516
|
} else {
|
|
1517
|
-
let S = h - d,
|
|
1518
|
-
return Math.abs(S) > Math.abs(
|
|
1517
|
+
let S = h - d, b = n.apartmentChooserData.cameras.length + h - d;
|
|
1518
|
+
return Math.abs(S) > Math.abs(b) ? y(h, d) : y(n.apartmentChooserData.cameras.length + h, d);
|
|
1519
1519
|
}
|
|
1520
1520
|
else
|
|
1521
1521
|
return y(h, d);
|
|
@@ -1523,39 +1523,39 @@ const An = /* @__PURE__ */ N({
|
|
|
1523
1523
|
function y(d, h) {
|
|
1524
1524
|
return new Promise((S) => {
|
|
1525
1525
|
o.value = !0, t("onRotateStart", { from: d, to: h });
|
|
1526
|
-
let
|
|
1527
|
-
|
|
1526
|
+
let b, g = d;
|
|
1527
|
+
b = setInterval(() => {
|
|
1528
1528
|
g < h ? (g++, i.value = Math.abs(
|
|
1529
1529
|
g % n.apartmentChooserData.cameras.length
|
|
1530
1530
|
)) : g > h ? (g--, i.value = Math.abs(
|
|
1531
1531
|
g % n.apartmentChooserData.cameras.length
|
|
1532
|
-
)) : (clearInterval(
|
|
1532
|
+
)) : (clearInterval(b), t("onRotateFinish", { from: d, to: h }), o.value = !1, S());
|
|
1533
1533
|
}, 50);
|
|
1534
1534
|
});
|
|
1535
1535
|
}
|
|
1536
1536
|
return (d, h) => {
|
|
1537
|
-
const S = T("v-btn"),
|
|
1537
|
+
const S = T("v-btn"), b = T("v-chip");
|
|
1538
1538
|
return c(), D(de, null, [
|
|
1539
|
-
|
|
1539
|
+
C(S, {
|
|
1540
1540
|
class: "mx-2",
|
|
1541
1541
|
icon: "mdi-restore",
|
|
1542
1542
|
size: "small",
|
|
1543
1543
|
disabled: !p.value,
|
|
1544
1544
|
onClick: f
|
|
1545
1545
|
}, null, 8, ["disabled"]),
|
|
1546
|
-
d.renderDisplay && s.value ? (c(), E(
|
|
1546
|
+
d.renderDisplay && s.value ? (c(), E(b, {
|
|
1547
1547
|
key: 0,
|
|
1548
1548
|
variant: "flat",
|
|
1549
1549
|
color: "white",
|
|
1550
1550
|
size: "large",
|
|
1551
1551
|
onClick: h[0] || (h[0] = (g) => t("onDisplayClick", s.value))
|
|
1552
1552
|
}, {
|
|
1553
|
-
default:
|
|
1553
|
+
default: _(() => [
|
|
1554
1554
|
te(Z(d.renderDisplay(s.value)), 1)
|
|
1555
1555
|
]),
|
|
1556
1556
|
_: 1
|
|
1557
1557
|
})) : $("", !0),
|
|
1558
|
-
|
|
1558
|
+
C(S, {
|
|
1559
1559
|
class: "mx-2",
|
|
1560
1560
|
icon: "mdi-reload",
|
|
1561
1561
|
size: "small",
|
|
@@ -1581,21 +1581,21 @@ const An = /* @__PURE__ */ N({
|
|
|
1581
1581
|
() => {
|
|
1582
1582
|
i.value = e.selectedId;
|
|
1583
1583
|
}
|
|
1584
|
-
),
|
|
1584
|
+
), Ve(() => {
|
|
1585
1585
|
for (const r in s) {
|
|
1586
|
-
const { element: f, state: k } = s[r], { r: y, g: d, b: h, a: S, s:
|
|
1586
|
+
const { element: f, state: k } = s[r], { r: y, g: d, b: h, a: S, s: b } = e.colorCallback(r, k) || {
|
|
1587
1587
|
r: 0,
|
|
1588
1588
|
g: 0,
|
|
1589
1589
|
b: 0,
|
|
1590
1590
|
a: 0,
|
|
1591
1591
|
s: 0
|
|
1592
1592
|
};
|
|
1593
|
-
f.style.fill = `rgba(${y}, ${d}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${y}, ${d}, ${h})`, f.style.strokeWidth =
|
|
1593
|
+
f.style.fill = `rgba(${y}, ${d}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${y}, ${d}, ${h})`, f.style.strokeWidth = b.toString();
|
|
1594
1594
|
}
|
|
1595
1595
|
}), Y(i, () => {
|
|
1596
1596
|
for (const r in s)
|
|
1597
1597
|
s[r].state === "selected" && r !== i.value ? s[r].state = "idle" : s[r].state !== "selected" && r === i.value && (s[r].state = "selected");
|
|
1598
|
-
}),
|
|
1598
|
+
}), Ve(async () => {
|
|
1599
1599
|
t.value = await Fe.loadText(
|
|
1600
1600
|
pe(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
1601
1601
|
), m();
|
|
@@ -1650,8 +1650,8 @@ const An = /* @__PURE__ */ N({
|
|
|
1650
1650
|
}));
|
|
1651
1651
|
});
|
|
1652
1652
|
}
|
|
1653
|
-
return (r, f) => (c(), E(
|
|
1654
|
-
default:
|
|
1653
|
+
return (r, f) => (c(), E(Te, null, {
|
|
1654
|
+
default: _(() => [
|
|
1655
1655
|
(c(), D("div", {
|
|
1656
1656
|
ref_key: "svgContainer",
|
|
1657
1657
|
ref: o,
|
|
@@ -1935,7 +1935,7 @@ const Nn = {
|
|
|
1935
1935
|
setup(l, { emit: a }) {
|
|
1936
1936
|
const e = l, n = a, t = v(), o = v(), i = v(), s = v(
|
|
1937
1937
|
null
|
|
1938
|
-
), p = v(4), m = v(), r = v(!1), f = v(!1), k = v(), y = v(), d = B(() => y.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(),
|
|
1938
|
+
), p = v(4), m = v(), r = v(!1), f = v(!1), k = v(), y = v(), d = B(() => y.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), b = v(), g = v(
|
|
1939
1939
|
e.apartmentChooserData
|
|
1940
1940
|
), z = v(!1);
|
|
1941
1941
|
ke(() => {
|
|
@@ -1943,11 +1943,11 @@ const Nn = {
|
|
|
1943
1943
|
}), Y(r, (W) => {
|
|
1944
1944
|
W && n("onInitialize");
|
|
1945
1945
|
}), Y(
|
|
1946
|
-
() =>
|
|
1946
|
+
() => b.value,
|
|
1947
1947
|
() => {
|
|
1948
|
-
|
|
1948
|
+
b.value && new ResizeObserver(([M]) => {
|
|
1949
1949
|
z.value = M.contentRect.width < e.mobileBreakpoint;
|
|
1950
|
-
}).observe(
|
|
1950
|
+
}).observe(b.value);
|
|
1951
1951
|
}
|
|
1952
1952
|
);
|
|
1953
1953
|
const V = B(
|
|
@@ -2024,7 +2024,7 @@ const Nn = {
|
|
|
2024
2024
|
function X(W) {
|
|
2025
2025
|
const M = i.value;
|
|
2026
2026
|
o.value = W, De(() => {
|
|
2027
|
-
|
|
2027
|
+
w(
|
|
2028
2028
|
o.value.timeSamples.find(
|
|
2029
2029
|
(q) => q.timeInHours === M.timeInHours
|
|
2030
2030
|
) || o.value.timeSamples.find(
|
|
@@ -2033,7 +2033,7 @@ const Nn = {
|
|
|
2033
2033
|
);
|
|
2034
2034
|
});
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2036
|
+
function w(W) {
|
|
2037
2037
|
i.value = W;
|
|
2038
2038
|
}
|
|
2039
2039
|
function A(W) {
|
|
@@ -2074,17 +2074,17 @@ const Nn = {
|
|
|
2074
2074
|
return (W, M) => {
|
|
2075
2075
|
const q = T("v-skeleton-loader");
|
|
2076
2076
|
return c(), D(de, null, [
|
|
2077
|
-
|
|
2077
|
+
C(q, {
|
|
2078
2078
|
type: "image",
|
|
2079
2079
|
class: "w-100 h-100 position-relative",
|
|
2080
2080
|
loading: !r.value || !g.value
|
|
2081
2081
|
}, {
|
|
2082
|
-
default:
|
|
2083
|
-
|
|
2084
|
-
default:
|
|
2082
|
+
default: _(() => [
|
|
2083
|
+
C(Te, { class: "w-100 h-100" }, {
|
|
2084
|
+
default: _(() => [
|
|
2085
2085
|
u("div", {
|
|
2086
2086
|
ref_key: "container",
|
|
2087
|
-
ref:
|
|
2087
|
+
ref: b,
|
|
2088
2088
|
class: he({ mobile: z.value }),
|
|
2089
2089
|
onMousemove: re
|
|
2090
2090
|
}, [
|
|
@@ -2113,7 +2113,7 @@ const Nn = {
|
|
|
2113
2113
|
"day-data": o.value,
|
|
2114
2114
|
"current-time": i.value,
|
|
2115
2115
|
disabled: f.value,
|
|
2116
|
-
onOnTimeChange:
|
|
2116
|
+
onOnTimeChange: w
|
|
2117
2117
|
}, null, 8, ["day-data", "current-time", "disabled"])) : $("", !0)
|
|
2118
2118
|
])
|
|
2119
2119
|
]),
|
|
@@ -2138,8 +2138,8 @@ const Nn = {
|
|
|
2138
2138
|
longitude: t.value.cameraRotation.y + 270
|
|
2139
2139
|
}, null, 8, ["longitude"])) : $("", !0)
|
|
2140
2140
|
]),
|
|
2141
|
-
|
|
2142
|
-
default:
|
|
2141
|
+
C(Ke, { position: "relative" }, {
|
|
2142
|
+
default: _(() => [
|
|
2143
2143
|
(c(!0), D(de, null, ge(V.value, (K) => (c(), E(kn, {
|
|
2144
2144
|
key: K.overlayFilename,
|
|
2145
2145
|
"camera-data": K,
|
|
@@ -2157,7 +2157,7 @@ const Nn = {
|
|
|
2157
2157
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
2158
2158
|
innerHTML: e.customOverlayContent
|
|
2159
2159
|
}, null, 8, Xn)) : $("", !0),
|
|
2160
|
-
be(
|
|
2160
|
+
be(C(Rn, {
|
|
2161
2161
|
"cdn-file-resolver": W.cdnFileResolver,
|
|
2162
2162
|
"color-callback": e.colorCallback,
|
|
2163
2163
|
"current-camera": t.value,
|
|
@@ -2177,7 +2177,7 @@ const Nn = {
|
|
|
2177
2177
|
"is-hoverable": d.value,
|
|
2178
2178
|
pos: h.value
|
|
2179
2179
|
}, {
|
|
2180
|
-
default:
|
|
2180
|
+
default: _(() => [
|
|
2181
2181
|
u("div", Kn, [
|
|
2182
2182
|
oe(W.$slots, "popup", lt(st({ hoverId: m.value, hoverable: d.value })), void 0, !0)
|
|
2183
2183
|
])
|
|
@@ -2191,7 +2191,7 @@ const Nn = {
|
|
|
2191
2191
|
]),
|
|
2192
2192
|
_: 3
|
|
2193
2193
|
}, 8, ["loading"]),
|
|
2194
|
-
|
|
2194
|
+
C(He, {
|
|
2195
2195
|
ref_key: "hoverProbe",
|
|
2196
2196
|
ref: y
|
|
2197
2197
|
}, null, 512)
|
|
@@ -2237,13 +2237,13 @@ const Nn = {
|
|
|
2237
2237
|
(r) => {
|
|
2238
2238
|
t.value = Math.floor(r);
|
|
2239
2239
|
}
|
|
2240
|
-
),
|
|
2240
|
+
), Ve(() => {
|
|
2241
2241
|
o.value = i(e.dateSelector.selectedDate);
|
|
2242
2242
|
}), (r, f) => {
|
|
2243
2243
|
const k = T("v-icon"), y = T("v-select"), d = T("v-progress-linear"), h = T("v-slider");
|
|
2244
2244
|
return c(), D("div", to, [
|
|
2245
2245
|
u("div", ao, [
|
|
2246
|
-
|
|
2246
|
+
C(k, {
|
|
2247
2247
|
color: "black",
|
|
2248
2248
|
class: "mr-2",
|
|
2249
2249
|
icon: "mdi-calendar-blank-outline"
|
|
@@ -2261,11 +2261,11 @@ const Nn = {
|
|
|
2261
2261
|
]),
|
|
2262
2262
|
u("div", oo, [
|
|
2263
2263
|
u("span", lo, Z(s.value), 1),
|
|
2264
|
-
|
|
2264
|
+
C(k, {
|
|
2265
2265
|
medium: "",
|
|
2266
2266
|
class: "ml-2 mr-2 icon"
|
|
2267
2267
|
}, {
|
|
2268
|
-
default:
|
|
2268
|
+
default: _(() => [
|
|
2269
2269
|
te("mdi-white-balance-sunny")
|
|
2270
2270
|
]),
|
|
2271
2271
|
_: 1
|
|
@@ -2371,8 +2371,8 @@ const Nn = {
|
|
|
2371
2371
|
setup(l, { emit: a }) {
|
|
2372
2372
|
const e = l, n = a;
|
|
2373
2373
|
Je(
|
|
2374
|
-
|
|
2375
|
-
e.i18nConfig ? new
|
|
2374
|
+
$e,
|
|
2375
|
+
e.i18nConfig ? new Be(e.i18nConfig) : new Be()
|
|
2376
2376
|
);
|
|
2377
2377
|
const t = v({
|
|
2378
2378
|
preloaded: !1,
|
|
@@ -2382,12 +2382,12 @@ const Nn = {
|
|
|
2382
2382
|
height: 0
|
|
2383
2383
|
}), i = v({ x: 0, y: 0, width: 0, height: 0 }), s = v(), p = v(
|
|
2384
2384
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2385
|
-
), m = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), y = v(), d = v(), h = v(Ze.empty()), S = v(qe.empty()),
|
|
2386
|
-
Y(s, (
|
|
2387
|
-
|
|
2388
|
-
}),
|
|
2385
|
+
), m = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), y = v(), d = v(), h = v(Ze.empty()), S = v(qe.empty()), b = v(), g = B(() => b.value.isHoverEnabled);
|
|
2386
|
+
Y(s, (w, A) => {
|
|
2387
|
+
w ? n("hoverOverBuilding", w) : n("hoverOutBuilding", A);
|
|
2388
|
+
}), Ve(() => {
|
|
2389
2389
|
if (e.buildingChooserTimeOfDay) {
|
|
2390
|
-
const [
|
|
2390
|
+
const [w, A, G] = /^(\d\d):(\d\d)$/.exec(
|
|
2391
2391
|
e.buildingChooserTimeOfDay
|
|
2392
2392
|
), Q = parseInt(G);
|
|
2393
2393
|
p.value = parseInt(A) * 2 + (Q < 15 ? 0 : Q > 45 ? 2 : 1);
|
|
@@ -2416,23 +2416,23 @@ const Nn = {
|
|
|
2416
2416
|
} else
|
|
2417
2417
|
m.value = !0;
|
|
2418
2418
|
});
|
|
2419
|
-
function z({ width:
|
|
2420
|
-
o.value.width =
|
|
2419
|
+
function z({ width: w, height: A }) {
|
|
2420
|
+
o.value.width = w, o.value.height = A;
|
|
2421
2421
|
}
|
|
2422
2422
|
function V() {
|
|
2423
2423
|
t.value = { preloaded: !1, ready: !1 };
|
|
2424
2424
|
}
|
|
2425
|
-
function P(
|
|
2425
|
+
function P(w) {
|
|
2426
2426
|
const A = e.colorCallback(
|
|
2427
|
-
|
|
2428
|
-
|
|
2427
|
+
w,
|
|
2428
|
+
w === s.value ? "hover" : "idle"
|
|
2429
2429
|
), G = [];
|
|
2430
|
-
return
|
|
2430
|
+
return w === s.value ? G.push("hover") : G.push("idle"), A && e.canGoToBuildingCallback(w) ? G.push("clickable") : G.push("restricted"), G.join(" ");
|
|
2431
2431
|
}
|
|
2432
|
-
function I(
|
|
2432
|
+
function I(w) {
|
|
2433
2433
|
const A = e.colorCallback(
|
|
2434
|
-
|
|
2435
|
-
|
|
2434
|
+
w,
|
|
2435
|
+
w === s.value ? "hover" : "idle"
|
|
2436
2436
|
);
|
|
2437
2437
|
if (A) {
|
|
2438
2438
|
const { r: G, g: Q, b: re, a: W, s: M } = A;
|
|
@@ -2442,7 +2442,7 @@ const Nn = {
|
|
|
2442
2442
|
strokeOpacity: 1,
|
|
2443
2443
|
fill: `rgb(${G}, ${Q}, ${re})`,
|
|
2444
2444
|
fillOpacity: W / 255,
|
|
2445
|
-
cursor: `${e.canGoToBuildingCallback(
|
|
2445
|
+
cursor: `${e.canGoToBuildingCallback(w) ? "cursor" : "default"} !important`
|
|
2446
2446
|
};
|
|
2447
2447
|
} else
|
|
2448
2448
|
return {
|
|
@@ -2454,8 +2454,8 @@ const Nn = {
|
|
|
2454
2454
|
cursor: "default !important"
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
2457
|
-
function L(
|
|
2458
|
-
const { layerX: G, layerY: Q } =
|
|
2457
|
+
function L(w, A) {
|
|
2458
|
+
const { layerX: G, layerY: Q } = w;
|
|
2459
2459
|
g.value && (i.value = {
|
|
2460
2460
|
x: G,
|
|
2461
2461
|
y: Q,
|
|
@@ -2463,8 +2463,8 @@ const Nn = {
|
|
|
2463
2463
|
height: o.value.height
|
|
2464
2464
|
}, s.value = A, n("hoverOverBuilding", A));
|
|
2465
2465
|
}
|
|
2466
|
-
function J(
|
|
2467
|
-
const { layerX: G, layerY: Q } =
|
|
2466
|
+
function J(w, A) {
|
|
2467
|
+
const { layerX: G, layerY: Q } = w;
|
|
2468
2468
|
g.value && (i.value = {
|
|
2469
2469
|
x: G,
|
|
2470
2470
|
y: Q,
|
|
@@ -2472,8 +2472,8 @@ const Nn = {
|
|
|
2472
2472
|
height: o.value.height
|
|
2473
2473
|
}, s.value = void 0, n("hoverOutBuilding", A));
|
|
2474
2474
|
}
|
|
2475
|
-
function R(
|
|
2476
|
-
const { layerX: G, layerY: Q } =
|
|
2475
|
+
function R(w, A) {
|
|
2476
|
+
const { layerX: G, layerY: Q } = w;
|
|
2477
2477
|
g.value && (i.value = {
|
|
2478
2478
|
x: G,
|
|
2479
2479
|
y: Q,
|
|
@@ -2481,14 +2481,14 @@ const Nn = {
|
|
|
2481
2481
|
height: o.value.height
|
|
2482
2482
|
});
|
|
2483
2483
|
}
|
|
2484
|
-
function X(
|
|
2485
|
-
s.value =
|
|
2484
|
+
function X(w) {
|
|
2485
|
+
s.value = w, g.value && s.value && e.canGoToBuildingCallback(s.value) && n("goToBuilding", s.value);
|
|
2486
2486
|
}
|
|
2487
|
-
return (
|
|
2487
|
+
return (w, A) => {
|
|
2488
2488
|
const G = T("v-icon");
|
|
2489
2489
|
return m.value ? (c(), D("div", co, [
|
|
2490
|
-
|
|
2491
|
-
default:
|
|
2490
|
+
C(G, { "x-large": "" }, {
|
|
2491
|
+
default: _(() => [
|
|
2492
2492
|
te("mdi-alert-circle-outline")
|
|
2493
2493
|
]),
|
|
2494
2494
|
_: 1
|
|
@@ -2498,13 +2498,13 @@ const Nn = {
|
|
|
2498
2498
|
style: me(`height: ${o.value.height}px; position: relative`),
|
|
2499
2499
|
class: "image-container"
|
|
2500
2500
|
}, [
|
|
2501
|
-
|
|
2502
|
-
desktop:
|
|
2503
|
-
mobile:
|
|
2501
|
+
C(Ke, {
|
|
2502
|
+
desktop: w.interactiveDesktop,
|
|
2503
|
+
mobile: w.interactiveMobile
|
|
2504
2504
|
}, {
|
|
2505
|
-
default:
|
|
2505
|
+
default: _(() => [
|
|
2506
2506
|
u("div", vo, [
|
|
2507
|
-
|
|
2507
|
+
C(Xt, {
|
|
2508
2508
|
"image-urls": y.value.imageUrls,
|
|
2509
2509
|
"active-index": p.value,
|
|
2510
2510
|
onResize: z,
|
|
@@ -2533,7 +2533,7 @@ const Nn = {
|
|
|
2533
2533
|
]) : $("", !0),
|
|
2534
2534
|
be(u("div", {
|
|
2535
2535
|
class: "custom-overlay-layer",
|
|
2536
|
-
innerHTML:
|
|
2536
|
+
innerHTML: w.customOverlayContent
|
|
2537
2537
|
}, null, 8, go), [
|
|
2538
2538
|
[Ce, t.value.preloaded]
|
|
2539
2539
|
])
|
|
@@ -2547,7 +2547,7 @@ const Nn = {
|
|
|
2547
2547
|
class: "north-indicator",
|
|
2548
2548
|
longitude: d.value.viewLongitude
|
|
2549
2549
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
2550
|
-
|
|
2550
|
+
C(Jt, {
|
|
2551
2551
|
modelValue: p.value,
|
|
2552
2552
|
"onUpdate:modelValue": A[2] || (A[2] = (Q) => p.value = Q),
|
|
2553
2553
|
"date-selector": y.value,
|
|
@@ -2556,17 +2556,17 @@ const Nn = {
|
|
|
2556
2556
|
], 512), [
|
|
2557
2557
|
[Ce, t.value.preloaded]
|
|
2558
2558
|
]),
|
|
2559
|
-
|
|
2559
|
+
w.showCards && s.value ? (c(), E(Xe, {
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
"is-hoverable": g.value,
|
|
2562
2562
|
pos: i.value,
|
|
2563
2563
|
onOutside: A[3] || (A[3] = () => s.value = void 0)
|
|
2564
2564
|
}, {
|
|
2565
|
-
default:
|
|
2566
|
-
oe(
|
|
2565
|
+
default: _(() => [
|
|
2566
|
+
oe(w.$slots, "default", {
|
|
2567
2567
|
building: s.value,
|
|
2568
|
-
canGoToBuilding:
|
|
2569
|
-
goToBuilding: () =>
|
|
2568
|
+
canGoToBuilding: w.canGoToBuildingCallback(s.value),
|
|
2569
|
+
goToBuilding: () => w.canGoToBuildingCallback(s.value) && n("goToBuilding", s.value),
|
|
2570
2570
|
pos: i.value,
|
|
2571
2571
|
isHoverable: g.value,
|
|
2572
2572
|
close: () => s.value = void 0
|
|
@@ -2574,9 +2574,9 @@ const Nn = {
|
|
|
2574
2574
|
]),
|
|
2575
2575
|
_: 3
|
|
2576
2576
|
}, 8, ["is-hoverable", "pos"])) : $("", !0),
|
|
2577
|
-
|
|
2577
|
+
C(He, {
|
|
2578
2578
|
ref_key: "hoverProbe",
|
|
2579
|
-
ref:
|
|
2579
|
+
ref: b
|
|
2580
2580
|
}, null, 512)
|
|
2581
2581
|
], 4)) : $("", !0);
|
|
2582
2582
|
};
|
|
@@ -2651,8 +2651,8 @@ const Nn = {
|
|
|
2651
2651
|
setup(l, { emit: a }) {
|
|
2652
2652
|
const e = l, n = a;
|
|
2653
2653
|
Je(
|
|
2654
|
-
|
|
2655
|
-
e.i18nConfig ? new
|
|
2654
|
+
$e,
|
|
2655
|
+
e.i18nConfig ? new Be(e.i18nConfig) : new Be()
|
|
2656
2656
|
);
|
|
2657
2657
|
const t = v(), o = v({
|
|
2658
2658
|
preloaded: !1,
|
|
@@ -2663,20 +2663,20 @@ const Nn = {
|
|
|
2663
2663
|
}), s = v({ x: 0, y: 0, width: 0, height: 0 }), p = v(), m = v(Ze.empty()), r = v(qe.empty()), f = v(), k = v(
|
|
2664
2664
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2665
2665
|
), y = v(
|
|
2666
|
-
(
|
|
2667
|
-
), d = v(!1), h = v(), S = v(),
|
|
2668
|
-
var
|
|
2669
|
-
return (
|
|
2666
|
+
(w, A) => ({ x: w, y: A })
|
|
2667
|
+
), d = v(!1), h = v(), S = v(), b = v(), g = B(() => {
|
|
2668
|
+
var w;
|
|
2669
|
+
return (w = h.value) == null ? void 0 : w.isHoverEnabled;
|
|
2670
2670
|
});
|
|
2671
|
-
|
|
2671
|
+
Ve(() => {
|
|
2672
2672
|
if (e.buildingChooserTimeOfDay) {
|
|
2673
|
-
const [
|
|
2673
|
+
const [w, A, G] = /^(\d\d):(\d\d)$/.exec(
|
|
2674
2674
|
e.buildingChooserTimeOfDay
|
|
2675
2675
|
), Q = parseInt(G);
|
|
2676
2676
|
k.value = parseInt(A) * 2 + (Q < 15 ? 0 : Q > 45 ? 2 : 1);
|
|
2677
2677
|
}
|
|
2678
|
-
}), Y(f, (
|
|
2679
|
-
|
|
2678
|
+
}), Y(f, (w, A) => {
|
|
2679
|
+
w ? n("hoverOverBuilding", w) : n("hoverOutBuilding", A);
|
|
2680
2680
|
}), ke(async () => {
|
|
2681
2681
|
const A = await new qt(
|
|
2682
2682
|
e.cdnFileResolver
|
|
@@ -2688,14 +2688,14 @@ const Nn = {
|
|
|
2688
2688
|
viewLongitude: A.viewLongitude
|
|
2689
2689
|
}, I()) : d.value = !0;
|
|
2690
2690
|
});
|
|
2691
|
-
function z({ width:
|
|
2692
|
-
i.value.width =
|
|
2691
|
+
function z({ width: w, height: A }) {
|
|
2692
|
+
i.value.width = w, i.value.height = A, De(I);
|
|
2693
2693
|
}
|
|
2694
2694
|
function V() {
|
|
2695
2695
|
o.value = { preloaded: !1, ready: !1 };
|
|
2696
2696
|
}
|
|
2697
|
-
function P(
|
|
2698
|
-
const { layerX: A, layerY: G } =
|
|
2697
|
+
function P(w) {
|
|
2698
|
+
const { layerX: A, layerY: G } = w, { x: Q, y: re } = y.value(A, G);
|
|
2699
2699
|
return m.value.getBuildingId(
|
|
2700
2700
|
r.value,
|
|
2701
2701
|
Q,
|
|
@@ -2703,36 +2703,36 @@ const Nn = {
|
|
|
2703
2703
|
);
|
|
2704
2704
|
}
|
|
2705
2705
|
function I() {
|
|
2706
|
-
if (S.value && (r.value.update(S.value),
|
|
2707
|
-
for (const
|
|
2708
|
-
|
|
2706
|
+
if (S.value && (r.value.update(S.value), b.value))
|
|
2707
|
+
for (const w of b.value)
|
|
2708
|
+
w.setupDraw();
|
|
2709
2709
|
}
|
|
2710
|
-
function L(
|
|
2711
|
-
const { layerX: A, layerY: G } =
|
|
2712
|
-
g.value && (f.value = P(
|
|
2710
|
+
function L(w) {
|
|
2711
|
+
const { layerX: A, layerY: G } = w;
|
|
2712
|
+
g.value && (f.value = P(w), f.value !== void 0 && (s.value = {
|
|
2713
2713
|
x: A,
|
|
2714
2714
|
y: G,
|
|
2715
2715
|
width: i.value.width,
|
|
2716
2716
|
height: i.value.height
|
|
2717
2717
|
}));
|
|
2718
2718
|
}
|
|
2719
|
-
function J(
|
|
2720
|
-
f.value = P(
|
|
2719
|
+
function J(w) {
|
|
2720
|
+
f.value = P(w), g.value && f.value && n("goToBuilding", f.value);
|
|
2721
2721
|
}
|
|
2722
|
-
function R(
|
|
2722
|
+
function R(w) {
|
|
2723
2723
|
return e.colorCallback(
|
|
2724
|
-
|
|
2725
|
-
|
|
2724
|
+
w,
|
|
2725
|
+
w === f.value ? "hover" : "idle"
|
|
2726
2726
|
);
|
|
2727
2727
|
}
|
|
2728
|
-
function X({ resolve:
|
|
2729
|
-
y.value =
|
|
2728
|
+
function X({ resolve: w }) {
|
|
2729
|
+
y.value = w;
|
|
2730
2730
|
}
|
|
2731
|
-
return (
|
|
2731
|
+
return (w, A) => {
|
|
2732
2732
|
const G = T("v-icon");
|
|
2733
2733
|
return d.value ? (c(), D("div", wo, [
|
|
2734
|
-
|
|
2735
|
-
default:
|
|
2734
|
+
C(G, { "x-large": "" }, {
|
|
2735
|
+
default: _(() => [
|
|
2736
2736
|
te("mdi-alert-circle-outline")
|
|
2737
2737
|
]),
|
|
2738
2738
|
_: 1
|
|
@@ -2742,14 +2742,14 @@ const Nn = {
|
|
|
2742
2742
|
style: me(`cursor: ${f.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
|
|
2743
2743
|
class: "image-container"
|
|
2744
2744
|
}, [
|
|
2745
|
-
|
|
2746
|
-
desktop:
|
|
2747
|
-
mobile:
|
|
2745
|
+
C(Ke, {
|
|
2746
|
+
desktop: w.interactiveDesktop,
|
|
2747
|
+
mobile: w.interactiveMobile,
|
|
2748
2748
|
onUpdate: X
|
|
2749
2749
|
}, {
|
|
2750
|
-
default:
|
|
2750
|
+
default: _(() => [
|
|
2751
2751
|
u("div", ko, [
|
|
2752
|
-
|
|
2752
|
+
C(Xt, {
|
|
2753
2753
|
"image-urls": t.value.imageUrls,
|
|
2754
2754
|
"active-index": k.value,
|
|
2755
2755
|
onResize: z,
|
|
@@ -2761,7 +2761,7 @@ const Nn = {
|
|
|
2761
2761
|
(c(!0), D(de, null, ge(p.value.buildingOverlays, (Q) => (c(), E(Co, {
|
|
2762
2762
|
ref_for: !0,
|
|
2763
2763
|
ref_key: "overlays",
|
|
2764
|
-
ref:
|
|
2764
|
+
ref: b,
|
|
2765
2765
|
key: Q.id,
|
|
2766
2766
|
"image-url": Q.url,
|
|
2767
2767
|
dimensions: i.value,
|
|
@@ -2780,7 +2780,7 @@ const Nn = {
|
|
|
2780
2780
|
}), null, 16),
|
|
2781
2781
|
be(u("div", {
|
|
2782
2782
|
class: "custom-overlay-layer",
|
|
2783
|
-
innerHTML:
|
|
2783
|
+
innerHTML: w.customOverlayContent
|
|
2784
2784
|
}, null, 8, So), [
|
|
2785
2785
|
[Ce, o.value.preloaded]
|
|
2786
2786
|
])
|
|
@@ -2793,7 +2793,7 @@ const Nn = {
|
|
|
2793
2793
|
class: "north-indicator",
|
|
2794
2794
|
longitude: p.value.viewLongitude
|
|
2795
2795
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
2796
|
-
|
|
2796
|
+
C(Jt, {
|
|
2797
2797
|
modelValue: k.value,
|
|
2798
2798
|
"onUpdate:modelValue": A[2] || (A[2] = (Q) => k.value = Q),
|
|
2799
2799
|
"date-selector": t.value,
|
|
@@ -2802,17 +2802,17 @@ const Nn = {
|
|
|
2802
2802
|
], 512), [
|
|
2803
2803
|
[Ce, o.value.preloaded]
|
|
2804
2804
|
]),
|
|
2805
|
-
|
|
2805
|
+
w.showCards && f.value ? (c(), E(Xe, {
|
|
2806
2806
|
key: 0,
|
|
2807
2807
|
"is-hoverable": g.value,
|
|
2808
2808
|
pos: s.value,
|
|
2809
2809
|
onOutside: A[3] || (A[3] = () => f.value = void 0)
|
|
2810
2810
|
}, {
|
|
2811
|
-
default:
|
|
2812
|
-
oe(
|
|
2811
|
+
default: _(() => [
|
|
2812
|
+
oe(w.$slots, "default", {
|
|
2813
2813
|
building: f.value,
|
|
2814
|
-
canGoToBuilding:
|
|
2815
|
-
goToBuilding: () =>
|
|
2814
|
+
canGoToBuilding: w.canGoToBuildingCallback(f.value),
|
|
2815
|
+
goToBuilding: () => w.canGoToBuildingCallback(f.value) && n("goToBuilding", f.value),
|
|
2816
2816
|
pos: s.value,
|
|
2817
2817
|
isHoverable: g.value,
|
|
2818
2818
|
close: () => f.value = void 0
|
|
@@ -2820,7 +2820,7 @@ const Nn = {
|
|
|
2820
2820
|
]),
|
|
2821
2821
|
_: 3
|
|
2822
2822
|
}, 8, ["is-hoverable", "pos"])) : $("", !0),
|
|
2823
|
-
|
|
2823
|
+
C(He, {
|
|
2824
2824
|
ref_key: "hoverProbe",
|
|
2825
2825
|
ref: h
|
|
2826
2826
|
}, null, 512)
|
|
@@ -2864,7 +2864,7 @@ const Nn = {
|
|
|
2864
2864
|
}, Aa({ _: 2 }, [
|
|
2865
2865
|
ge(Object.keys(o.$slots), (s) => ({
|
|
2866
2866
|
name: s,
|
|
2867
|
-
fn:
|
|
2867
|
+
fn: _((p) => [
|
|
2868
2868
|
oe(o.$slots, s, lt(st(p)))
|
|
2869
2869
|
])
|
|
2870
2870
|
}))
|
|
@@ -2990,12 +2990,12 @@ const Nn = {
|
|
|
2990
2990
|
density: "compact",
|
|
2991
2991
|
"hide-details": ""
|
|
2992
2992
|
}, {
|
|
2993
|
-
item:
|
|
2994
|
-
|
|
2993
|
+
item: _(({ props: r }) => [
|
|
2994
|
+
C(p, Me(r, {
|
|
2995
2995
|
title: o(r.title)
|
|
2996
2996
|
}), null, 16, ["title"])
|
|
2997
2997
|
]),
|
|
2998
|
-
selection:
|
|
2998
|
+
selection: _(({ item: r }) => [
|
|
2999
2999
|
te(Z(o(r.title)), 1)
|
|
3000
3000
|
]),
|
|
3001
3001
|
_: 1
|
|
@@ -3044,13 +3044,13 @@ const Nn = {
|
|
|
3044
3044
|
return (p, m) => {
|
|
3045
3045
|
const r = T("v-icon"), f = T("v-btn"), k = T("v-slider"), y = T("v-field");
|
|
3046
3046
|
return c(), E(y, { variant: "solo" }, {
|
|
3047
|
-
default:
|
|
3047
|
+
default: _(() => [
|
|
3048
3048
|
p.dayData.startTime === p.dayData.endTime ? (c(), D("div", Eo, [
|
|
3049
|
-
|
|
3049
|
+
C(r, {
|
|
3050
3050
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3051
3051
|
class: "py-2 ml-2 mr-2 icon"
|
|
3052
3052
|
}, {
|
|
3053
|
-
default:
|
|
3053
|
+
default: _(() => [
|
|
3054
3054
|
te(" mdi-white-balance-sunny ")
|
|
3055
3055
|
]),
|
|
3056
3056
|
_: 1
|
|
@@ -3066,8 +3066,8 @@ const Nn = {
|
|
|
3066
3066
|
step: p.dayData.interval,
|
|
3067
3067
|
"hide-details": ""
|
|
3068
3068
|
}, {
|
|
3069
|
-
prepend:
|
|
3070
|
-
|
|
3069
|
+
prepend: _(() => [
|
|
3070
|
+
C(f, {
|
|
3071
3071
|
icon: o.value ? "mdi-stop" : "mdi-play",
|
|
3072
3072
|
size: "x-small",
|
|
3073
3073
|
variant: "flat",
|
|
@@ -3076,14 +3076,14 @@ const Nn = {
|
|
|
3076
3076
|
te(" "),
|
|
3077
3077
|
u("span", $o, Z(i(p.dayData.startTime)), 1)
|
|
3078
3078
|
]),
|
|
3079
|
-
append:
|
|
3079
|
+
append: _(() => [
|
|
3080
3080
|
u("span", Bo, Z(i(p.dayData.endTime)), 1),
|
|
3081
3081
|
te(" "),
|
|
3082
|
-
|
|
3082
|
+
C(r, {
|
|
3083
3083
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3084
3084
|
class: "ml-2 mr-2 icon"
|
|
3085
3085
|
}, {
|
|
3086
|
-
default:
|
|
3086
|
+
default: _(() => [
|
|
3087
3087
|
te(" mdi-white-balance-sunny ")
|
|
3088
3088
|
]),
|
|
3089
3089
|
_: 1
|
|
@@ -3108,16 +3108,16 @@ const Nn = {
|
|
|
3108
3108
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
3109
3109
|
setup(l, { emit: a }) {
|
|
3110
3110
|
const e = l, n = a, t = v(), o = v(), i = v(e.selectedId), s = pt({});
|
|
3111
|
-
|
|
3111
|
+
Ve(() => {
|
|
3112
3112
|
for (const r in s) {
|
|
3113
|
-
const { element: f, state: k } = s[r], { r: y, g: d, b: h, a: S, s:
|
|
3113
|
+
const { element: f, state: k } = s[r], { r: y, g: d, b: h, a: S, s: b } = e.colorCallback(r, k) || {
|
|
3114
3114
|
r: 0,
|
|
3115
3115
|
g: 0,
|
|
3116
3116
|
b: 0,
|
|
3117
3117
|
a: 0,
|
|
3118
3118
|
s: 0
|
|
3119
3119
|
};
|
|
3120
|
-
f.style.fill = `rgba(${y}, ${d}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${y}, ${d}, ${h})`, f.style.strokeWidth =
|
|
3120
|
+
f.style.fill = `rgba(${y}, ${d}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${y}, ${d}, ${h})`, f.style.strokeWidth = b.toString();
|
|
3121
3121
|
}
|
|
3122
3122
|
}), Y(
|
|
3123
3123
|
() => e.selectedId,
|
|
@@ -3127,7 +3127,7 @@ const Nn = {
|
|
|
3127
3127
|
), Y(i, () => {
|
|
3128
3128
|
for (const r in s)
|
|
3129
3129
|
s[r].state === "selected" && r !== i.value ? s[r].state = "idle" : s[r].state !== "selected" && r === i.value && (s[r].state = "selected");
|
|
3130
|
-
}),
|
|
3130
|
+
}), Ve(async () => {
|
|
3131
3131
|
t.value = await Fe.loadText(
|
|
3132
3132
|
pe(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
3133
3133
|
), m();
|
|
@@ -3175,8 +3175,8 @@ const Nn = {
|
|
|
3175
3175
|
}));
|
|
3176
3176
|
});
|
|
3177
3177
|
}
|
|
3178
|
-
return (r, f) => (c(), E(
|
|
3179
|
-
default:
|
|
3178
|
+
return (r, f) => (c(), E(Te, null, {
|
|
3179
|
+
default: _(() => [
|
|
3180
3180
|
(c(), D("div", {
|
|
3181
3181
|
ref_key: "svgContainer",
|
|
3182
3182
|
ref: o,
|
|
@@ -3314,7 +3314,7 @@ const jo = {
|
|
|
3314
3314
|
},
|
|
3315
3315
|
{ immediate: !0 }
|
|
3316
3316
|
);
|
|
3317
|
-
function
|
|
3317
|
+
function b(L) {
|
|
3318
3318
|
const J = o.value;
|
|
3319
3319
|
t.value = L, De(() => {
|
|
3320
3320
|
g(
|
|
@@ -3347,14 +3347,14 @@ const jo = {
|
|
|
3347
3347
|
}
|
|
3348
3348
|
function I(L) {
|
|
3349
3349
|
const { layerX: J, layerY: R } = L;
|
|
3350
|
-
let X = L.target,
|
|
3350
|
+
let X = L.target, w = !1;
|
|
3351
3351
|
for (; X; )
|
|
3352
3352
|
if (X === k.value) {
|
|
3353
|
-
|
|
3353
|
+
w = !0;
|
|
3354
3354
|
break;
|
|
3355
3355
|
} else
|
|
3356
3356
|
X = X.parentElement;
|
|
3357
|
-
if (
|
|
3357
|
+
if (w) {
|
|
3358
3358
|
const A = L.currentTarget;
|
|
3359
3359
|
f.value = {
|
|
3360
3360
|
x: J,
|
|
@@ -3369,14 +3369,14 @@ const jo = {
|
|
|
3369
3369
|
return (L, J) => {
|
|
3370
3370
|
const R = T("v-skeleton-loader");
|
|
3371
3371
|
return c(), D(de, null, [
|
|
3372
|
-
|
|
3372
|
+
C(R, {
|
|
3373
3373
|
type: "image",
|
|
3374
3374
|
class: "w-100 h-100 position-relative",
|
|
3375
3375
|
loading: !p.value || !d.value
|
|
3376
3376
|
}, {
|
|
3377
|
-
default:
|
|
3378
|
-
|
|
3379
|
-
default:
|
|
3377
|
+
default: _(() => [
|
|
3378
|
+
C(Te, { class: "w-100 h-100" }, {
|
|
3379
|
+
default: _(() => [
|
|
3380
3380
|
u("div", {
|
|
3381
3381
|
ref_key: "container",
|
|
3382
3382
|
ref: y,
|
|
@@ -3385,10 +3385,10 @@ const jo = {
|
|
|
3385
3385
|
}, [
|
|
3386
3386
|
u("div", jo, [
|
|
3387
3387
|
d.value.cameras.length > 1 ? (c(), D("div", Wo, [
|
|
3388
|
-
|
|
3388
|
+
C(To, {
|
|
3389
3389
|
"building-chooser-data": d.value,
|
|
3390
3390
|
"current-camera": t.value,
|
|
3391
|
-
onOnCameraChange:
|
|
3391
|
+
onOnCameraChange: b
|
|
3392
3392
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3393
3393
|
])) : $("", !0),
|
|
3394
3394
|
u("div", No, [
|
|
@@ -3414,8 +3414,8 @@ const jo = {
|
|
|
3414
3414
|
longitude: t.value.cameraRotation.y + 270
|
|
3415
3415
|
}, null, 8, ["longitude"])) : $("", !0)
|
|
3416
3416
|
]),
|
|
3417
|
-
|
|
3418
|
-
default:
|
|
3417
|
+
C(Ke, { position: "relative" }, {
|
|
3418
|
+
default: _(() => [
|
|
3419
3419
|
(c(!0), D(de, null, ge(d.value.cameras, (X) => (c(), E(Oo, {
|
|
3420
3420
|
key: X.overlayFilename,
|
|
3421
3421
|
"camera-data": X,
|
|
@@ -3428,7 +3428,7 @@ const jo = {
|
|
|
3428
3428
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
3429
3429
|
innerHTML: e.customOverlayContent
|
|
3430
3430
|
}, null, 8, Zo)) : $("", !0),
|
|
3431
|
-
|
|
3431
|
+
C(zo, {
|
|
3432
3432
|
"cdn-file-resolver": L.cdnFileResolver,
|
|
3433
3433
|
"color-callback": e.colorCallback,
|
|
3434
3434
|
"current-camera": t.value,
|
|
@@ -3446,7 +3446,7 @@ const jo = {
|
|
|
3446
3446
|
"is-hoverable": r.value,
|
|
3447
3447
|
pos: f.value
|
|
3448
3448
|
}, {
|
|
3449
|
-
default:
|
|
3449
|
+
default: _(() => [
|
|
3450
3450
|
u("div", qo, [
|
|
3451
3451
|
oe(L.$slots, "popup", lt(st({ hoverId: s.value, hoverable: r.value })), void 0, !0)
|
|
3452
3452
|
])
|
|
@@ -3460,7 +3460,7 @@ const jo = {
|
|
|
3460
3460
|
]),
|
|
3461
3461
|
_: 3
|
|
3462
3462
|
}, 8, ["loading"]),
|
|
3463
|
-
|
|
3463
|
+
C(He, {
|
|
3464
3464
|
ref_key: "hoverProbe",
|
|
3465
3465
|
ref: m
|
|
3466
3466
|
}, null, 512)
|
|
@@ -3527,14 +3527,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3527
3527
|
currentCameraId: s,
|
|
3528
3528
|
showStaticImage: p,
|
|
3529
3529
|
mouseSensitivity: m
|
|
3530
|
-
} =
|
|
3530
|
+
} = Ee(n), r = a, f = v(), k = v(s.value), y = v(0), d = v(0);
|
|
3531
3531
|
Y(s, () => {
|
|
3532
3532
|
k.value = s.value;
|
|
3533
3533
|
}), Y([o, i], async () => {
|
|
3534
3534
|
f.value && await f.value.loadInterior(
|
|
3535
|
-
(
|
|
3535
|
+
(b) => pe(
|
|
3536
3536
|
t.value,
|
|
3537
|
-
`/${o.value}/${i.value}${
|
|
3537
|
+
`/${o.value}/${i.value}${b}`
|
|
3538
3538
|
),
|
|
3539
3539
|
k.value,
|
|
3540
3540
|
!1
|
|
@@ -3556,8 +3556,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3556
3556
|
), Y(f, () => {
|
|
3557
3557
|
if (f.value) {
|
|
3558
3558
|
r("playerApiCallback", f.value);
|
|
3559
|
-
const
|
|
3560
|
-
|
|
3559
|
+
const b = f.value.getCurrentCamera();
|
|
3560
|
+
b && (k.value = b.id, r("sunsimCallback", b.sunsimDayOfYear));
|
|
3561
3561
|
}
|
|
3562
3562
|
});
|
|
3563
3563
|
async function h() {
|
|
@@ -3601,35 +3601,35 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3601
3601
|
}
|
|
3602
3602
|
return Pe(() => {
|
|
3603
3603
|
S();
|
|
3604
|
-
}), (
|
|
3604
|
+
}), (b, g) => (c(), D("div", ll, [
|
|
3605
3605
|
u("div", sl, [
|
|
3606
|
-
oe(
|
|
3606
|
+
oe(b.$slots, "slideshow-image", {}, void 0, !0),
|
|
3607
3607
|
u("div", il, [
|
|
3608
|
-
oe(
|
|
3608
|
+
oe(b.$slots, "top-left", {}, void 0, !0)
|
|
3609
3609
|
]),
|
|
3610
3610
|
u("div", rl, [
|
|
3611
|
-
oe(
|
|
3611
|
+
oe(b.$slots, "top-center", {}, void 0, !0)
|
|
3612
3612
|
]),
|
|
3613
3613
|
u("div", ul, [
|
|
3614
|
-
oe(
|
|
3614
|
+
oe(b.$slots, "top-right", {}, void 0, !0)
|
|
3615
3615
|
]),
|
|
3616
3616
|
u("div", cl, [
|
|
3617
|
-
oe(
|
|
3617
|
+
oe(b.$slots, "center-left", {}, void 0, !0)
|
|
3618
3618
|
]),
|
|
3619
3619
|
u("div", dl, [
|
|
3620
|
-
oe(
|
|
3620
|
+
oe(b.$slots, "center-center", {}, void 0, !0)
|
|
3621
3621
|
]),
|
|
3622
3622
|
u("div", vl, [
|
|
3623
|
-
oe(
|
|
3623
|
+
oe(b.$slots, "center-right", {}, void 0, !0)
|
|
3624
3624
|
]),
|
|
3625
3625
|
u("div", ml, [
|
|
3626
|
-
oe(
|
|
3626
|
+
oe(b.$slots, "bottom-left", {}, void 0, !0)
|
|
3627
3627
|
]),
|
|
3628
3628
|
u("div", pl, [
|
|
3629
|
-
oe(
|
|
3629
|
+
oe(b.$slots, "bottom-center", {}, void 0, !0)
|
|
3630
3630
|
]),
|
|
3631
3631
|
u("div", fl, [
|
|
3632
|
-
oe(
|
|
3632
|
+
oe(b.$slots, "bottom-right", {}, void 0, !0)
|
|
3633
3633
|
]),
|
|
3634
3634
|
u("div", hl, [
|
|
3635
3635
|
u("canvas", {
|
|
@@ -3652,7 +3652,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3652
3652
|
},
|
|
3653
3653
|
emits: ["level"],
|
|
3654
3654
|
setup(l, { emit: a }) {
|
|
3655
|
-
const e = l, n = a, t = je(
|
|
3655
|
+
const e = l, n = a, t = je($e), o = B(() => {
|
|
3656
3656
|
const r = e.floorLevels;
|
|
3657
3657
|
return r.sort(), r;
|
|
3658
3658
|
}), i = B(() => o.value.indexOf(e.level) + 1 <= o.value.length / 2 ? "lower" : "upper"), s = B(() => i.value === "lower"), p = B(() => i.value === "upper");
|
|
@@ -3666,14 +3666,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3666
3666
|
right: "",
|
|
3667
3667
|
attach: ""
|
|
3668
3668
|
}, {
|
|
3669
|
-
activator:
|
|
3670
|
-
|
|
3669
|
+
activator: _(({ props: d }) => [
|
|
3670
|
+
C(k, Me({
|
|
3671
3671
|
style: { cursor: "pointer" },
|
|
3672
3672
|
density: "comfortable",
|
|
3673
3673
|
elevation: "1",
|
|
3674
3674
|
icon: ""
|
|
3675
3675
|
}, d, { onClick: m }), {
|
|
3676
|
-
default:
|
|
3676
|
+
default: _(() => [
|
|
3677
3677
|
(c(), D("svg", _l, [
|
|
3678
3678
|
u("path", {
|
|
3679
3679
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
@@ -3694,7 +3694,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3694
3694
|
_: 2
|
|
3695
3695
|
}, 1040)
|
|
3696
3696
|
]),
|
|
3697
|
-
default:
|
|
3697
|
+
default: _(() => [
|
|
3698
3698
|
u("span", wl, Z(x(t).getLabel(i.value)) + " " + Z(x(t).getLabel("floor")), 1)
|
|
3699
3699
|
]),
|
|
3700
3700
|
_: 1
|
|
@@ -3710,22 +3710,22 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3710
3710
|
},
|
|
3711
3711
|
emits: ["selectInterior"],
|
|
3712
3712
|
setup(l, { emit: a }) {
|
|
3713
|
-
const e = l, n = a, t = je(
|
|
3713
|
+
const e = l, n = a, t = je($e);
|
|
3714
3714
|
return (o, i) => {
|
|
3715
3715
|
const s = T("v-icon"), p = T("v-btn"), m = T("v-img"), r = T("v-menu");
|
|
3716
3716
|
return c(), D("div", null, [
|
|
3717
|
-
|
|
3717
|
+
C(r, {
|
|
3718
3718
|
transition: "slide-x-reverse-transition",
|
|
3719
3719
|
location: "top end",
|
|
3720
3720
|
origin: "end bottom",
|
|
3721
3721
|
elevation: "0",
|
|
3722
3722
|
attach: ""
|
|
3723
3723
|
}, {
|
|
3724
|
-
activator:
|
|
3725
|
-
|
|
3726
|
-
default:
|
|
3727
|
-
|
|
3728
|
-
default:
|
|
3724
|
+
activator: _(({ props: f }) => [
|
|
3725
|
+
C(p, Me({ rounded: "" }, f, { class: "text-capitalize" }), {
|
|
3726
|
+
default: _(() => [
|
|
3727
|
+
C(s, null, {
|
|
3728
|
+
default: _(() => [
|
|
3729
3729
|
te("mdi-palette-outline")
|
|
3730
3730
|
]),
|
|
3731
3731
|
_: 1
|
|
@@ -3735,7 +3735,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3735
3735
|
_: 2
|
|
3736
3736
|
}, 1040)
|
|
3737
3737
|
]),
|
|
3738
|
-
default:
|
|
3738
|
+
default: _(() => [
|
|
3739
3739
|
u("div", xl, [
|
|
3740
3740
|
(c(!0), D(de, null, ge(e.availableArchetypes, (f, k) => (c(), D("div", {
|
|
3741
3741
|
key: `at-menuitem-${k}`,
|
|
@@ -3746,7 +3746,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3746
3746
|
}, [
|
|
3747
3747
|
u("div", Al, [
|
|
3748
3748
|
u("div", Fl, [
|
|
3749
|
-
|
|
3749
|
+
C(m, {
|
|
3750
3750
|
width: "100",
|
|
3751
3751
|
"max-width": "100",
|
|
3752
3752
|
height: "66",
|
|
@@ -3782,7 +3782,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3782
3782
|
style: me(n.value),
|
|
3783
3783
|
class: "compass-wrapper"
|
|
3784
3784
|
}, [
|
|
3785
|
-
|
|
3785
|
+
C(s, {
|
|
3786
3786
|
class: "compass-needle",
|
|
3787
3787
|
src: e.value,
|
|
3788
3788
|
style: me(t.value)
|
|
@@ -3805,7 +3805,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3805
3805
|
const i = T("v-img");
|
|
3806
3806
|
return c(), D("div", Bl, [
|
|
3807
3807
|
u("div", Rl, [
|
|
3808
|
-
|
|
3808
|
+
C(i, {
|
|
3809
3809
|
src: x($l),
|
|
3810
3810
|
"aspect-ratio": "1"
|
|
3811
3811
|
}, null, 8, ["src"])
|
|
@@ -3834,23 +3834,23 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3834
3834
|
},
|
|
3835
3835
|
emits: ["toggle"],
|
|
3836
3836
|
setup(l, { emit: a }) {
|
|
3837
|
-
const e = l, n = a, t = je(
|
|
3837
|
+
const e = l, n = a, t = je($e), o = B(() => {
|
|
3838
3838
|
let i = "virtualTour";
|
|
3839
3839
|
return e.showStaticImage || (i = "slideShow"), i;
|
|
3840
3840
|
});
|
|
3841
3841
|
return (i, s) => {
|
|
3842
3842
|
const p = T("v-icon"), m = T("v-btn"), r = T("v-tooltip");
|
|
3843
3843
|
return c(), E(r, { location: "top" }, {
|
|
3844
|
-
activator:
|
|
3845
|
-
|
|
3844
|
+
activator: _(({ props: f }) => [
|
|
3845
|
+
C(m, Me({
|
|
3846
3846
|
density: "comfortable",
|
|
3847
3847
|
elevation: "1",
|
|
3848
3848
|
icon: "",
|
|
3849
3849
|
onClick: s[0] || (s[0] = (k) => n("toggle"))
|
|
3850
3850
|
}, f), {
|
|
3851
|
-
default:
|
|
3851
|
+
default: _(() => [
|
|
3852
3852
|
o.value === "virtualTour" ? (c(), D("svg", zl, Nl)) : (c(), E(p, { key: 1 }, {
|
|
3853
|
-
default:
|
|
3853
|
+
default: _(() => [
|
|
3854
3854
|
te("mdi-image-multiple")
|
|
3855
3855
|
]),
|
|
3856
3856
|
_: 1
|
|
@@ -3859,7 +3859,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3859
3859
|
_: 2
|
|
3860
3860
|
}, 1040)
|
|
3861
3861
|
]),
|
|
3862
|
-
default:
|
|
3862
|
+
default: _(() => [
|
|
3863
3863
|
u("span", null, Z(x(t).getLabel(o.value)), 1)
|
|
3864
3864
|
]),
|
|
3865
3865
|
_: 1
|
|
@@ -4394,7 +4394,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4394
4394
|
__name: "VTutorial",
|
|
4395
4395
|
emits: ["closeTutorial"],
|
|
4396
4396
|
setup(l, { emit: a }) {
|
|
4397
|
-
const e = a, n = je(
|
|
4397
|
+
const e = a, n = je($e), t = v(!1), o = v(!1), i = B(() => [
|
|
4398
4398
|
/Android/i,
|
|
4399
4399
|
/webOS/i,
|
|
4400
4400
|
/iPhone/i,
|
|
@@ -4407,18 +4407,18 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4407
4407
|
e("closeTutorial", t.value);
|
|
4408
4408
|
}
|
|
4409
4409
|
return (p, m) => {
|
|
4410
|
-
const r = T("v-icon"), f = T("v-card-title"), k = T("v-btn"), y = T("v-divider"), d = T("v-card-text"), h = T("v-card-actions"), S = T("v-card"),
|
|
4411
|
-
return c(), E(
|
|
4412
|
-
default:
|
|
4413
|
-
|
|
4410
|
+
const r = T("v-icon"), f = T("v-card-title"), k = T("v-btn"), y = T("v-divider"), d = T("v-card-text"), h = T("v-card-actions"), S = T("v-card"), b = T("v-expand-transition"), g = T("v-checkbox");
|
|
4411
|
+
return c(), E(Te, { name: "fade-transition" }, {
|
|
4412
|
+
default: _(() => [
|
|
4413
|
+
C(S, {
|
|
4414
4414
|
class: "mx-auto",
|
|
4415
4415
|
elevation: "16"
|
|
4416
4416
|
}, {
|
|
4417
|
-
default:
|
|
4418
|
-
|
|
4419
|
-
default:
|
|
4420
|
-
|
|
4421
|
-
default:
|
|
4417
|
+
default: _(() => [
|
|
4418
|
+
C(f, { class: "text-capitalize" }, {
|
|
4419
|
+
default: _(() => [
|
|
4420
|
+
C(r, { size: "x-small" }, {
|
|
4421
|
+
default: _(() => [
|
|
4422
4422
|
te("mdi-alert-outline")
|
|
4423
4423
|
]),
|
|
4424
4424
|
_: 1
|
|
@@ -4427,19 +4427,19 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4427
4427
|
]),
|
|
4428
4428
|
_: 1
|
|
4429
4429
|
}),
|
|
4430
|
-
|
|
4431
|
-
default:
|
|
4430
|
+
C(d, { class: "pb-0" }, {
|
|
4431
|
+
default: _(() => [
|
|
4432
4432
|
u("p", null, Z(x(n).getLabel("disclaimerTextShort")), 1),
|
|
4433
|
-
|
|
4433
|
+
C(k, {
|
|
4434
4434
|
variant: "tonal",
|
|
4435
4435
|
size: "small",
|
|
4436
4436
|
onClick: m[0] || (m[0] = (z) => o.value = !0),
|
|
4437
4437
|
class: "text-capitalize mt-2"
|
|
4438
4438
|
}, {
|
|
4439
|
-
default:
|
|
4439
|
+
default: _(() => [
|
|
4440
4440
|
te(Z(x(n).getLabel("learnMore")) + " ", 1),
|
|
4441
|
-
|
|
4442
|
-
default:
|
|
4441
|
+
C(r, null, {
|
|
4442
|
+
default: _(() => [
|
|
4443
4443
|
te("mdi-chevron-right")
|
|
4444
4444
|
]),
|
|
4445
4445
|
_: 1
|
|
@@ -4447,7 +4447,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4447
4447
|
]),
|
|
4448
4448
|
_: 1
|
|
4449
4449
|
}),
|
|
4450
|
-
|
|
4450
|
+
C(y, { class: "my-3" }),
|
|
4451
4451
|
i.value ? $("", !0) : (c(), D("div", Zl, [
|
|
4452
4452
|
u("div", ql, [
|
|
4453
4453
|
u("div", Jl, [
|
|
@@ -4482,24 +4482,24 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4482
4482
|
u("div", ys, Z(x(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4483
4483
|
])
|
|
4484
4484
|
])) : $("", !0),
|
|
4485
|
-
|
|
4485
|
+
C(y, { class: "my-1" })
|
|
4486
4486
|
]),
|
|
4487
4487
|
_: 1
|
|
4488
4488
|
}),
|
|
4489
|
-
|
|
4490
|
-
default:
|
|
4489
|
+
C(b, null, {
|
|
4490
|
+
default: _(() => [
|
|
4491
4491
|
o.value ? (c(), E(S, {
|
|
4492
4492
|
key: 0,
|
|
4493
4493
|
class: "position-absolute w-100 bg-white",
|
|
4494
4494
|
height: "100%",
|
|
4495
4495
|
style: { bottom: "0" }
|
|
4496
4496
|
}, {
|
|
4497
|
-
default:
|
|
4498
|
-
|
|
4499
|
-
default:
|
|
4497
|
+
default: _(() => [
|
|
4498
|
+
C(d, { class: "pb-0" }, {
|
|
4499
|
+
default: _(() => [
|
|
4500
4500
|
u("p", _s, [
|
|
4501
|
-
|
|
4502
|
-
default:
|
|
4501
|
+
C(r, null, {
|
|
4502
|
+
default: _(() => [
|
|
4503
4503
|
te("mdi-alert-outline")
|
|
4504
4504
|
]),
|
|
4505
4505
|
_: 1
|
|
@@ -4510,17 +4510,17 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4510
4510
|
]),
|
|
4511
4511
|
_: 1
|
|
4512
4512
|
}),
|
|
4513
|
-
|
|
4514
|
-
default:
|
|
4515
|
-
|
|
4513
|
+
C(h, null, {
|
|
4514
|
+
default: _(() => [
|
|
4515
|
+
C(k, {
|
|
4516
4516
|
variant: "tonal",
|
|
4517
4517
|
size: "small",
|
|
4518
4518
|
onClick: m[1] || (m[1] = (z) => o.value = !1),
|
|
4519
4519
|
class: "text-capitalize"
|
|
4520
4520
|
}, {
|
|
4521
|
-
default:
|
|
4522
|
-
|
|
4523
|
-
default:
|
|
4521
|
+
default: _(() => [
|
|
4522
|
+
C(r, null, {
|
|
4523
|
+
default: _(() => [
|
|
4524
4524
|
te("mdi-chevron-left")
|
|
4525
4525
|
]),
|
|
4526
4526
|
_: 1
|
|
@@ -4539,26 +4539,26 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4539
4539
|
_: 1
|
|
4540
4540
|
}),
|
|
4541
4541
|
u("div", Cs, [
|
|
4542
|
-
|
|
4542
|
+
C(g, {
|
|
4543
4543
|
density: "compact",
|
|
4544
4544
|
modelValue: t.value,
|
|
4545
4545
|
"onUpdate:modelValue": m[2] || (m[2] = (z) => t.value = z),
|
|
4546
4546
|
"hide-details": ""
|
|
4547
4547
|
}, {
|
|
4548
|
-
label:
|
|
4548
|
+
label: _(() => [
|
|
4549
4549
|
u("span", ws, Z(x(n).getLabel("dontShowAgain")), 1)
|
|
4550
4550
|
]),
|
|
4551
4551
|
_: 1
|
|
4552
4552
|
}, 8, ["modelValue"])
|
|
4553
4553
|
]),
|
|
4554
|
-
|
|
4555
|
-
default:
|
|
4556
|
-
|
|
4554
|
+
C(h, null, {
|
|
4555
|
+
default: _(() => [
|
|
4556
|
+
C(k, {
|
|
4557
4557
|
variant: "tonal",
|
|
4558
4558
|
onClick: m[3] || (m[3] = (z) => s()),
|
|
4559
4559
|
block: ""
|
|
4560
4560
|
}, {
|
|
4561
|
-
default:
|
|
4561
|
+
default: _(() => [
|
|
4562
4562
|
te(Z(x(n).getLabel("iUnderstand")), 1)
|
|
4563
4563
|
]),
|
|
4564
4564
|
_: 1
|
|
@@ -4625,8 +4625,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4625
4625
|
t.value = y(), n("updateSettings", o.value);
|
|
4626
4626
|
}
|
|
4627
4627
|
function r(d) {
|
|
4628
|
-
const h = parseInt(d.substr(1, 2), 16) / 255, S = parseInt(d.substr(3, 2), 16) / 255,
|
|
4629
|
-
return [h, S,
|
|
4628
|
+
const h = parseInt(d.substr(1, 2), 16) / 255, S = parseInt(d.substr(3, 2), 16) / 255, b = parseInt(d.substr(5, 2), 16) / 255;
|
|
4629
|
+
return [h, S, b];
|
|
4630
4630
|
}
|
|
4631
4631
|
function f(d) {
|
|
4632
4632
|
var h = d.toString(16);
|
|
@@ -4723,16 +4723,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4723
4723
|
lut: {
|
|
4724
4724
|
label: "Lut",
|
|
4725
4725
|
type: "lut",
|
|
4726
|
-
items: h.map((
|
|
4727
|
-
text:
|
|
4728
|
-
value: `https://cdn.visuado.com/luts/${
|
|
4726
|
+
items: h.map((b) => ({
|
|
4727
|
+
text: b,
|
|
4728
|
+
value: `https://cdn.visuado.com/luts/${b}.png`
|
|
4729
4729
|
})),
|
|
4730
4730
|
value: S.lut
|
|
4731
4731
|
}
|
|
4732
4732
|
};
|
|
4733
4733
|
}
|
|
4734
4734
|
return (d, h) => {
|
|
4735
|
-
const S = T("v-text-field"),
|
|
4735
|
+
const S = T("v-text-field"), b = T("v-slider"), g = T("v-checkbox"), z = T("v-btn"), V = T("v-select"), P = T("v-icon");
|
|
4736
4736
|
return c(), D("div", xs, [
|
|
4737
4737
|
u("form", Ds, [
|
|
4738
4738
|
u("div", As, [
|
|
@@ -4740,7 +4740,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4740
4740
|
key: J,
|
|
4741
4741
|
"d-block": ""
|
|
4742
4742
|
}, [
|
|
4743
|
-
I.type === "slider" ? (c(), E(
|
|
4743
|
+
I.type === "slider" ? (c(), E(b, {
|
|
4744
4744
|
key: 0,
|
|
4745
4745
|
modelValue: t.value[L].value,
|
|
4746
4746
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
@@ -4749,12 +4749,12 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4749
4749
|
min: I.min,
|
|
4750
4750
|
step: I.step
|
|
4751
4751
|
}, {
|
|
4752
|
-
prepend:
|
|
4752
|
+
prepend: _(() => [
|
|
4753
4753
|
u("div", Fs, Z(I.label), 1)
|
|
4754
4754
|
]),
|
|
4755
|
-
append:
|
|
4755
|
+
append: _(() => [
|
|
4756
4756
|
u("div", null, [
|
|
4757
|
-
|
|
4757
|
+
C(S, {
|
|
4758
4758
|
modelValue: t.value[L].value,
|
|
4759
4759
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
4760
4760
|
"hide-details": "",
|
|
@@ -4777,10 +4777,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4777
4777
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
4778
4778
|
onChange: i
|
|
4779
4779
|
}, {
|
|
4780
|
-
prepend:
|
|
4780
|
+
prepend: _(() => [
|
|
4781
4781
|
u("div", Ls, Z(I.label), 1)
|
|
4782
4782
|
]),
|
|
4783
|
-
append:
|
|
4783
|
+
append: _(() => [
|
|
4784
4784
|
u("div", null, Z(I.value), 1)
|
|
4785
4785
|
]),
|
|
4786
4786
|
_: 2
|
|
@@ -4803,7 +4803,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4803
4803
|
])
|
|
4804
4804
|
]),
|
|
4805
4805
|
u("div", null, [
|
|
4806
|
-
|
|
4806
|
+
C(S, {
|
|
4807
4807
|
modelValue: t.value[L].value,
|
|
4808
4808
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
4809
4809
|
"hide-details": "",
|
|
@@ -4820,12 +4820,12 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4820
4820
|
u("div", $s, [
|
|
4821
4821
|
u("div", Bs, Z(I.label), 1),
|
|
4822
4822
|
u("div", null, [
|
|
4823
|
-
|
|
4823
|
+
C(z, {
|
|
4824
4824
|
class: "ml-2",
|
|
4825
4825
|
"x-small": "",
|
|
4826
4826
|
onClick: (R) => t.value[L].value = null
|
|
4827
4827
|
}, {
|
|
4828
|
-
default:
|
|
4828
|
+
default: _(() => [
|
|
4829
4829
|
te(" Clear Lut ")
|
|
4830
4830
|
]),
|
|
4831
4831
|
_: 2
|
|
@@ -4835,7 +4835,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4835
4835
|
u("div", null, [
|
|
4836
4836
|
u("div", Rs, [
|
|
4837
4837
|
u("div", null, [
|
|
4838
|
-
|
|
4838
|
+
C(V, {
|
|
4839
4839
|
modelValue: t.value[L].value,
|
|
4840
4840
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
4841
4841
|
items: I.items,
|
|
@@ -4851,7 +4851,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4851
4851
|
Us,
|
|
4852
4852
|
u("div", Hs, [
|
|
4853
4853
|
u("div", null, [
|
|
4854
|
-
|
|
4854
|
+
C(S, {
|
|
4855
4855
|
modelValue: t.value[L].value,
|
|
4856
4856
|
"onUpdate:modelValue": (R) => t.value[L].value = R,
|
|
4857
4857
|
"hide-details": "",
|
|
@@ -4867,22 +4867,22 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4867
4867
|
]))), 128))
|
|
4868
4868
|
]),
|
|
4869
4869
|
u("div", Ys, [
|
|
4870
|
-
|
|
4870
|
+
C(z, {
|
|
4871
4871
|
onClick: h[0] || (h[0] = (I) => m())
|
|
4872
4872
|
}, {
|
|
4873
|
-
default:
|
|
4873
|
+
default: _(() => [
|
|
4874
4874
|
te("Reset")
|
|
4875
4875
|
]),
|
|
4876
4876
|
_: 1
|
|
4877
4877
|
}),
|
|
4878
|
-
|
|
4878
|
+
C(z, {
|
|
4879
4879
|
class: "ml-2",
|
|
4880
4880
|
onClick: h[1] || (h[1] = (I) => s())
|
|
4881
4881
|
}, {
|
|
4882
|
-
default:
|
|
4882
|
+
default: _(() => [
|
|
4883
4883
|
te(" Download Json "),
|
|
4884
|
-
|
|
4885
|
-
default:
|
|
4884
|
+
C(P, { color: "black darken-1" }, {
|
|
4885
|
+
default: _(() => [
|
|
4886
4886
|
te("mdi-download")
|
|
4887
4887
|
]),
|
|
4888
4888
|
_: 1
|
|
@@ -4890,14 +4890,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4890
4890
|
]),
|
|
4891
4891
|
_: 1
|
|
4892
4892
|
}),
|
|
4893
|
-
|
|
4893
|
+
C(z, {
|
|
4894
4894
|
class: "ml-2",
|
|
4895
4895
|
onClick: h[2] || (h[2] = (I) => p())
|
|
4896
4896
|
}, {
|
|
4897
|
-
default:
|
|
4897
|
+
default: _(() => [
|
|
4898
4898
|
te(" Save Settings "),
|
|
4899
|
-
|
|
4900
|
-
default:
|
|
4899
|
+
C(P, { color: "black darken-1" }, {
|
|
4900
|
+
default: _(() => [
|
|
4901
4901
|
te("mdi-save")
|
|
4902
4902
|
]),
|
|
4903
4903
|
_: 1
|
|
@@ -5007,21 +5007,21 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5007
5007
|
},
|
|
5008
5008
|
setup(l) {
|
|
5009
5009
|
const a = l, e = v(512), n = v(384), t = v(512), o = v(384), i = v(new at()), s = v(new Ta()), p = v({}), m = v(1), r = v(), f = e.value / e.value, k = B(() => {
|
|
5010
|
-
const
|
|
5010
|
+
const w = a.containerWidth / a.containerHeight;
|
|
5011
5011
|
let A;
|
|
5012
|
-
return
|
|
5013
|
-
}), y = B(() => a.allCameras), d = B(() => a.allCameras.find((
|
|
5012
|
+
return w > f ? A = a.containerHeight / n.value : A = a.containerWidth / e.value, A;
|
|
5013
|
+
}), y = B(() => a.allCameras), d = B(() => a.allCameras.find((w) => w.id === a.currentCamera)), h = B(() => a.rotation), S = B(() => new at(
|
|
5014
5014
|
a.storey.position.x,
|
|
5015
5015
|
a.storey.position.y,
|
|
5016
5016
|
a.storey.position.z
|
|
5017
|
-
)),
|
|
5018
|
-
const A =
|
|
5017
|
+
)), b = B(() => parseFloat(d.value.floor_vertical_position)), g = B(() => y.value.map((w) => {
|
|
5018
|
+
const A = w.uposition.split(","), G = new at(
|
|
5019
5019
|
Number(A[0]) - S.value.x,
|
|
5020
5020
|
0,
|
|
5021
5021
|
Number(A[2]) - S.value.z
|
|
5022
5022
|
);
|
|
5023
5023
|
return {
|
|
5024
|
-
...
|
|
5024
|
+
...w,
|
|
5025
5025
|
...J(i.value, G)
|
|
5026
5026
|
};
|
|
5027
5027
|
})), z = B(() => ({
|
|
@@ -5031,30 +5031,30 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5031
5031
|
}));
|
|
5032
5032
|
ke(() => {
|
|
5033
5033
|
R(), I(), X();
|
|
5034
|
-
const
|
|
5035
|
-
|
|
5034
|
+
const w = document.getElementById("moveableDiv");
|
|
5035
|
+
w && (r.value = new ResizeObserver(X).observe(w));
|
|
5036
5036
|
}), La(() => {
|
|
5037
5037
|
R(), I();
|
|
5038
5038
|
}), Pe(() => {
|
|
5039
5039
|
r.value && r.value.unobserve(document.getElementById("moveableDiv"));
|
|
5040
5040
|
});
|
|
5041
|
-
function P(
|
|
5042
|
-
return Va.degToRad(
|
|
5041
|
+
function P(w) {
|
|
5042
|
+
return Va.degToRad(w);
|
|
5043
5043
|
}
|
|
5044
5044
|
function I() {
|
|
5045
5045
|
s.value.rotation.x = 180, s.value.rotation.y = a.storey.rotation.y * -1, p.value = {
|
|
5046
5046
|
transform: `rotateZ(${s.value.rotation.y}deg) rotateX(${s.value.rotation.x}deg)`
|
|
5047
5047
|
};
|
|
5048
5048
|
}
|
|
5049
|
-
function L(
|
|
5049
|
+
function L(w) {
|
|
5050
5050
|
return {
|
|
5051
|
-
top: `${Math.abs(
|
|
5052
|
-
left: `${Math.abs(
|
|
5051
|
+
top: `${Math.abs(w.top)}%`,
|
|
5052
|
+
left: `${Math.abs(w.left)}%`
|
|
5053
5053
|
};
|
|
5054
5054
|
}
|
|
5055
|
-
function J(
|
|
5055
|
+
function J(w, A) {
|
|
5056
5056
|
var G = new at();
|
|
5057
|
-
const Q = G.subVectors(
|
|
5057
|
+
const Q = G.subVectors(w, A);
|
|
5058
5058
|
return {
|
|
5059
5059
|
relativePosition: Q,
|
|
5060
5060
|
left: Q.x / t.value * 100,
|
|
@@ -5062,19 +5062,19 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5062
5062
|
};
|
|
5063
5063
|
}
|
|
5064
5064
|
function R() {
|
|
5065
|
-
const
|
|
5066
|
-
o.value = 2 * (
|
|
5065
|
+
const w = a.storey.position.y - b.value;
|
|
5066
|
+
o.value = 2 * (w * Math.tan(P(a.storey.fovY / 2))), t.value = 512 / 384 * o.value;
|
|
5067
5067
|
const A = o.value / 2, G = t.value / 2, Q = new at(G * -1, 0, A * -1);
|
|
5068
5068
|
i.value = Q;
|
|
5069
5069
|
}
|
|
5070
5070
|
function X() {
|
|
5071
|
-
const
|
|
5072
|
-
if (!
|
|
5071
|
+
const w = document.getElementById("moveableDiv");
|
|
5072
|
+
if (!w)
|
|
5073
5073
|
return;
|
|
5074
|
-
const A =
|
|
5075
|
-
|
|
5074
|
+
const A = w.offsetHeight / 384 * 0.8, G = w.offsetWidth / 512 * 0.8;
|
|
5075
|
+
w.offsetHeight > w.offsetWidth ? m.value = G * 0.5 : m.value = A * 0.9;
|
|
5076
5076
|
}
|
|
5077
|
-
return (
|
|
5077
|
+
return (w, A) => (c(), D("div", ni, [
|
|
5078
5078
|
u("div", oi, [
|
|
5079
5079
|
u("div", {
|
|
5080
5080
|
class: "web-minimap",
|
|
@@ -5121,7 +5121,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5121
5121
|
class: "minimap-compass elevation-5",
|
|
5122
5122
|
style: me({ scale: n.scale })
|
|
5123
5123
|
}, [
|
|
5124
|
-
|
|
5124
|
+
C(et, {
|
|
5125
5125
|
class: "north-indicator",
|
|
5126
5126
|
longitude: e.value
|
|
5127
5127
|
}, null, 8, ["longitude"])
|
|
@@ -5142,8 +5142,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5142
5142
|
setup(l, { emit: a }) {
|
|
5143
5143
|
const e = l, n = a, t = v((/* @__PURE__ */ new Date()).getHours()), o = v(!0), i = v(!0), s = v(""), p = v(/* @__PURE__ */ new Map()), m = B(() => e.minimapJson.storeys[e.level]), r = B(() => `${Math.floor(t.value).toString().padStart(2, "0")}:00`), f = B(() => {
|
|
5144
5144
|
if (m.value.sunsimFilesTimeStamps[t.value]) {
|
|
5145
|
-
const
|
|
5146
|
-
return `${
|
|
5145
|
+
const b = m.value.sunsimFilesTimeStamps[t.value].split(" ");
|
|
5146
|
+
return `${b[0]} ${b[1]}`;
|
|
5147
5147
|
}
|
|
5148
5148
|
return "";
|
|
5149
5149
|
});
|
|
@@ -5151,11 +5151,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5151
5151
|
s.value = await d(
|
|
5152
5152
|
m.value.sunsimFiles[t.value]
|
|
5153
5153
|
), n("setBackgroundImage", s.value), i.value = !1;
|
|
5154
|
-
const
|
|
5155
|
-
p.value =
|
|
5154
|
+
const b = await y(e.minimapJson.storeys);
|
|
5155
|
+
p.value = b, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
|
|
5156
5156
|
}), Y(t, () => {
|
|
5157
|
-
const
|
|
5158
|
-
n("setBackgroundImage",
|
|
5157
|
+
const b = k(e.level, t.value);
|
|
5158
|
+
n("setBackgroundImage", b);
|
|
5159
5159
|
}), Y(
|
|
5160
5160
|
() => e.level,
|
|
5161
5161
|
() => {
|
|
@@ -5163,13 +5163,13 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5163
5163
|
},
|
|
5164
5164
|
{ immediate: !0 }
|
|
5165
5165
|
);
|
|
5166
|
-
function k(
|
|
5167
|
-
return p.value.get(`sunsim${
|
|
5166
|
+
function k(b, g) {
|
|
5167
|
+
return p.value.get(`sunsim${b}_${g}`) ? p.value.get(`sunsim${b}_${g}`) : "";
|
|
5168
5168
|
}
|
|
5169
|
-
async function y(
|
|
5169
|
+
async function y(b) {
|
|
5170
5170
|
let g = /* @__PURE__ */ new Map();
|
|
5171
|
-
for (let z = 0; z <
|
|
5172
|
-
const V =
|
|
5171
|
+
for (let z = 0; z < b.length; z++) {
|
|
5172
|
+
const V = b[z].sunsimFiles;
|
|
5173
5173
|
for (let P = 0; P < V.length; P++) {
|
|
5174
5174
|
const I = V[P];
|
|
5175
5175
|
try {
|
|
@@ -5182,28 +5182,28 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5182
5182
|
}
|
|
5183
5183
|
return g;
|
|
5184
5184
|
}
|
|
5185
|
-
async function d(
|
|
5185
|
+
async function d(b) {
|
|
5186
5186
|
const z = await (await fetch(
|
|
5187
5187
|
pe(
|
|
5188
5188
|
e.cdnFileResolver,
|
|
5189
|
-
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${
|
|
5189
|
+
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
|
|
5190
5190
|
)
|
|
5191
5191
|
)).blob(), V = await S(z);
|
|
5192
5192
|
return h(V);
|
|
5193
5193
|
}
|
|
5194
|
-
function h(
|
|
5195
|
-
return "data:image/jpeg;base64," +
|
|
5194
|
+
function h(b) {
|
|
5195
|
+
return "data:image/jpeg;base64," + b;
|
|
5196
5196
|
}
|
|
5197
|
-
async function S(
|
|
5197
|
+
async function S(b) {
|
|
5198
5198
|
return new Promise((g, z) => {
|
|
5199
5199
|
const V = new FileReader();
|
|
5200
5200
|
V.onload = () => {
|
|
5201
5201
|
const P = V.result.split(",")[1];
|
|
5202
5202
|
g(P);
|
|
5203
|
-
}, V.onerror = z, V.readAsDataURL(
|
|
5203
|
+
}, V.onerror = z, V.readAsDataURL(b);
|
|
5204
5204
|
});
|
|
5205
5205
|
}
|
|
5206
|
-
return (
|
|
5206
|
+
return (b, g) => {
|
|
5207
5207
|
const z = T("v-progress-linear"), V = T("v-icon"), P = T("v-slider");
|
|
5208
5208
|
return c(), D("div", ui, [
|
|
5209
5209
|
u("div", ci, [
|
|
@@ -5228,10 +5228,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5228
5228
|
"hide-details": !0,
|
|
5229
5229
|
"thumb-label": "always"
|
|
5230
5230
|
}, {
|
|
5231
|
-
prepend:
|
|
5231
|
+
prepend: _(() => [
|
|
5232
5232
|
u("div", vi, [
|
|
5233
|
-
|
|
5234
|
-
default:
|
|
5233
|
+
C(V, { color: "#ffab02" }, {
|
|
5234
|
+
default: _(() => [
|
|
5235
5235
|
te("mdi-white-balance-sunny")
|
|
5236
5236
|
]),
|
|
5237
5237
|
_: 1
|
|
@@ -5239,7 +5239,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5239
5239
|
u("span", null, Z(f.value), 1)
|
|
5240
5240
|
])
|
|
5241
5241
|
]),
|
|
5242
|
-
"thumb-label":
|
|
5242
|
+
"thumb-label": _(() => [
|
|
5243
5243
|
te(Z(r.value), 1)
|
|
5244
5244
|
]),
|
|
5245
5245
|
_: 1
|
|
@@ -5292,31 +5292,31 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5292
5292
|
t("close");
|
|
5293
5293
|
};
|
|
5294
5294
|
return (h, S) => {
|
|
5295
|
-
const
|
|
5295
|
+
const b = T("v-btn");
|
|
5296
5296
|
return c(), E(qs, {
|
|
5297
5297
|
ref_key: "minimapMoveable",
|
|
5298
5298
|
ref: e,
|
|
5299
5299
|
size: k.value
|
|
5300
5300
|
}, {
|
|
5301
|
-
"top-left":
|
|
5301
|
+
"top-left": _(() => [
|
|
5302
5302
|
u("div", gi, [
|
|
5303
|
-
|
|
5303
|
+
C(b, {
|
|
5304
5304
|
icon: "mdi-window-close",
|
|
5305
5305
|
size: "x-small",
|
|
5306
5306
|
onClick: d
|
|
5307
5307
|
})
|
|
5308
5308
|
])
|
|
5309
5309
|
]),
|
|
5310
|
-
"top-right":
|
|
5310
|
+
"top-right": _(() => [
|
|
5311
5311
|
u("div", yi, [
|
|
5312
|
-
|
|
5312
|
+
C(b, {
|
|
5313
5313
|
class: "rotate-icon",
|
|
5314
5314
|
size: "x-small",
|
|
5315
5315
|
icon: "mdi mdi-rotate-right",
|
|
5316
5316
|
onClick: Ma(y, ["stop"]),
|
|
5317
5317
|
title: "Rotate"
|
|
5318
5318
|
}),
|
|
5319
|
-
|
|
5319
|
+
C(b, {
|
|
5320
5320
|
class: "resize-icon ml-1",
|
|
5321
5321
|
icon: "mdi-image-size-select-small",
|
|
5322
5322
|
size: "x-small",
|
|
@@ -5325,17 +5325,17 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5325
5325
|
})
|
|
5326
5326
|
])
|
|
5327
5327
|
]),
|
|
5328
|
-
header:
|
|
5328
|
+
header: _(() => [
|
|
5329
5329
|
_i
|
|
5330
5330
|
]),
|
|
5331
|
-
body:
|
|
5332
|
-
|
|
5331
|
+
body: _(() => [
|
|
5332
|
+
C(ri, {
|
|
5333
5333
|
scale: p.value,
|
|
5334
5334
|
rotation: s.value.rotation.y,
|
|
5335
5335
|
"transform-angle": i.value
|
|
5336
5336
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
5337
5337
|
u("div", null, [
|
|
5338
|
-
|
|
5338
|
+
C(si, {
|
|
5339
5339
|
"transform-angle": i.value,
|
|
5340
5340
|
"all-cameras": h.apartmentJson.cameras,
|
|
5341
5341
|
"background-image": o.value,
|
|
@@ -5347,8 +5347,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5347
5347
|
}, null, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey", "containerWidth", "containerHeight"])
|
|
5348
5348
|
])
|
|
5349
5349
|
]),
|
|
5350
|
-
footer:
|
|
5351
|
-
|
|
5350
|
+
footer: _(() => [
|
|
5351
|
+
C(fi, {
|
|
5352
5352
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
5353
5353
|
"minimap-json": n.minimapJson,
|
|
5354
5354
|
"apartment-json": n.apartmentJson,
|
|
@@ -5374,7 +5374,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5374
5374
|
},
|
|
5375
5375
|
emits: ["onTimeChange", "toggleSunStudy"],
|
|
5376
5376
|
setup(l, { emit: a }) {
|
|
5377
|
-
const e = l, { currentDay: n, currentTime: t, disabled: o } =
|
|
5377
|
+
const e = l, { currentDay: n, currentTime: t, disabled: o } = Ee(e), i = a, s = v(t.value.timeInHours);
|
|
5378
5378
|
return Y(t, () => {
|
|
5379
5379
|
s.value = t.value.timeInHours;
|
|
5380
5380
|
}), Y(
|
|
@@ -5392,14 +5392,14 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5392
5392
|
const r = T("v-icon"), f = T("v-slider"), k = T("v-field"), y = T("v-btn");
|
|
5393
5393
|
return c(), D("div", Ci, [
|
|
5394
5394
|
u("div", wi, [
|
|
5395
|
-
|
|
5395
|
+
C(k, {
|
|
5396
5396
|
class: "ss-slider-field",
|
|
5397
5397
|
style: {},
|
|
5398
5398
|
variant: "solo-filled",
|
|
5399
5399
|
rounded: "",
|
|
5400
5400
|
flat: ""
|
|
5401
5401
|
}, {
|
|
5402
|
-
default:
|
|
5402
|
+
default: _(() => [
|
|
5403
5403
|
x(n).timeSamples.length > 1 ? (c(), E(f, {
|
|
5404
5404
|
key: 0,
|
|
5405
5405
|
class: "pa-2 pr-2",
|
|
@@ -5414,13 +5414,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5414
5414
|
"thumb-color": "white",
|
|
5415
5415
|
"hide-details": ""
|
|
5416
5416
|
}, {
|
|
5417
|
-
prepend:
|
|
5418
|
-
|
|
5417
|
+
prepend: _(() => [
|
|
5418
|
+
C(r, {
|
|
5419
5419
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
5420
5420
|
class: "mr-2 icon",
|
|
5421
5421
|
color: "warning"
|
|
5422
5422
|
}, {
|
|
5423
|
-
default:
|
|
5423
|
+
default: _(() => [
|
|
5424
5424
|
te(" mdi-white-balance-sunny ")
|
|
5425
5425
|
]),
|
|
5426
5426
|
_: 1
|
|
@@ -5429,12 +5429,12 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5429
5429
|
]),
|
|
5430
5430
|
_: 1
|
|
5431
5431
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (c(), D(de, { key: 1 }, [
|
|
5432
|
-
|
|
5432
|
+
C(r, {
|
|
5433
5433
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
5434
5434
|
class: "mr-2 icon",
|
|
5435
5435
|
color: "warning"
|
|
5436
5436
|
}, {
|
|
5437
|
-
default:
|
|
5437
|
+
default: _(() => [
|
|
5438
5438
|
te(" mdi-white-balance-sunny ")
|
|
5439
5439
|
]),
|
|
5440
5440
|
_: 1
|
|
@@ -5446,7 +5446,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5446
5446
|
})
|
|
5447
5447
|
]),
|
|
5448
5448
|
u("div", null, [
|
|
5449
|
-
|
|
5449
|
+
C(y, {
|
|
5450
5450
|
size: "small",
|
|
5451
5451
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
5452
5452
|
icon: "mdi-close",
|
|
@@ -5464,7 +5464,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5464
5464
|
},
|
|
5465
5465
|
emits: ["toggleSunStudy"],
|
|
5466
5466
|
setup(l, { emit: a }) {
|
|
5467
|
-
const e = a, n = je(
|
|
5467
|
+
const e = a, n = je($e);
|
|
5468
5468
|
return (t, o) => {
|
|
5469
5469
|
const i = T("v-btn");
|
|
5470
5470
|
return !t.displaySunsim && t.showUI ? (c(), E(i, {
|
|
@@ -5475,7 +5475,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5475
5475
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
5476
5476
|
onClick: o[0] || (o[0] = (s) => e("toggleSunStudy"))
|
|
5477
5477
|
}, {
|
|
5478
|
-
default:
|
|
5478
|
+
default: _(() => [
|
|
5479
5479
|
te(Z(x(n).getLabel("openSunStudy")), 1)
|
|
5480
5480
|
]),
|
|
5481
5481
|
_: 1
|
|
@@ -5499,8 +5499,8 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5499
5499
|
class: he(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
|
|
5500
5500
|
onClick: o[0] || (o[0] = (p) => e("toggleAutoPlay"))
|
|
5501
5501
|
}, {
|
|
5502
|
-
default:
|
|
5503
|
-
|
|
5502
|
+
default: _(() => [
|
|
5503
|
+
C(i, {
|
|
5504
5504
|
icon: t.autoplayStatus ? "mdi-pause" : "mdi-play",
|
|
5505
5505
|
size: "x-large",
|
|
5506
5506
|
class: "pa-0 ma-0"
|
|
@@ -5562,9 +5562,9 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5562
5562
|
}])
|
|
5563
5563
|
}, [
|
|
5564
5564
|
oe(m.$slots, "before", {}, void 0, !0),
|
|
5565
|
-
|
|
5565
|
+
C(S, {
|
|
5566
5566
|
modelValue: o.value,
|
|
5567
|
-
"onUpdate:modelValue": r[2] || (r[2] = (
|
|
5567
|
+
"onUpdate:modelValue": r[2] || (r[2] = (b) => o.value = b),
|
|
5568
5568
|
class: he({ mobileWaypoint: i.value }),
|
|
5569
5569
|
"active-class": "active-apt",
|
|
5570
5570
|
"selected-class": "active-apt",
|
|
@@ -5572,32 +5572,32 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5572
5572
|
"center-active": "",
|
|
5573
5573
|
mandatory: ""
|
|
5574
5574
|
}, {
|
|
5575
|
-
prev:
|
|
5575
|
+
prev: _(() => [
|
|
5576
5576
|
i.value ? $("", !0) : (c(), E(f, {
|
|
5577
5577
|
key: 0,
|
|
5578
5578
|
class: he(["carousel-button", { mobile: i.value }]),
|
|
5579
5579
|
icon: "mdi-chevron-left",
|
|
5580
5580
|
varient: "tonal",
|
|
5581
5581
|
size: "small",
|
|
5582
|
-
onClick: r[0] || (r[0] = (
|
|
5582
|
+
onClick: r[0] || (r[0] = (b) => n("previous"))
|
|
5583
5583
|
}, null, 8, ["class"]))
|
|
5584
5584
|
]),
|
|
5585
|
-
next:
|
|
5585
|
+
next: _(() => [
|
|
5586
5586
|
i.value ? $("", !0) : (c(), E(f, {
|
|
5587
5587
|
key: 0,
|
|
5588
5588
|
class: he(["carousel-button", { mobile: i.value }]),
|
|
5589
5589
|
icon: "mdi-chevron-right",
|
|
5590
5590
|
varient: "tonal",
|
|
5591
5591
|
size: "small",
|
|
5592
|
-
onClick: r[1] || (r[1] = (
|
|
5592
|
+
onClick: r[1] || (r[1] = (b) => n("next"))
|
|
5593
5593
|
}, null, 8, ["class"]))
|
|
5594
5594
|
]),
|
|
5595
|
-
default:
|
|
5596
|
-
(c(!0), D(de, null, ge(m.thumbnails, (
|
|
5597
|
-
key:
|
|
5595
|
+
default: _(() => [
|
|
5596
|
+
(c(!0), D(de, null, ge(m.thumbnails, (b) => (c(), E(h, {
|
|
5597
|
+
key: b.id
|
|
5598
5598
|
}, {
|
|
5599
|
-
default:
|
|
5600
|
-
|
|
5599
|
+
default: _(({ toggle: g, selectedClass: z }) => [
|
|
5600
|
+
C(d, {
|
|
5601
5601
|
class: he(["position-relative", [
|
|
5602
5602
|
i.value ? "ma-0" : "ma-1",
|
|
5603
5603
|
z,
|
|
@@ -5606,16 +5606,16 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5606
5606
|
align: "center",
|
|
5607
5607
|
justify: "center",
|
|
5608
5608
|
style: { overflow: "hidden" },
|
|
5609
|
-
onClick: (V) => p(
|
|
5609
|
+
onClick: (V) => p(b.id, g)
|
|
5610
5610
|
}, {
|
|
5611
|
-
default:
|
|
5612
|
-
|
|
5611
|
+
default: _(() => [
|
|
5612
|
+
C(k, {
|
|
5613
5613
|
cover: "",
|
|
5614
5614
|
"aspect-ratio": 1,
|
|
5615
|
-
src:
|
|
5615
|
+
src: b.thumbnailUrl
|
|
5616
5616
|
}, null, 8, ["src"]),
|
|
5617
|
-
e.cameraHasSunStudy(
|
|
5618
|
-
|
|
5617
|
+
e.cameraHasSunStudy(b.id) ? (c(), D("div", Ai, [
|
|
5618
|
+
C(y, {
|
|
5619
5619
|
class: "sun-icon",
|
|
5620
5620
|
icon: "mdi-white-balance-sunny"
|
|
5621
5621
|
})
|
|
@@ -5639,7 +5639,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5639
5639
|
}, Ti = /* @__PURE__ */ N({
|
|
5640
5640
|
__name: "VSocialShare",
|
|
5641
5641
|
setup(l) {
|
|
5642
|
-
const a = je(
|
|
5642
|
+
const a = je($e), e = v(!1), n = v(location.href);
|
|
5643
5643
|
function t() {
|
|
5644
5644
|
return window.open(
|
|
5645
5645
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -5665,100 +5665,100 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5665
5665
|
navigator.clipboard.writeText(location.href);
|
|
5666
5666
|
}
|
|
5667
5667
|
return (p, m) => {
|
|
5668
|
-
const r = T("v-btn"), f = T("v-tooltip"), k = T("v-toolbar-title"), y = T("v-spacer"), d = T("v-toolbar"), h = T("v-card-text"), S = T("v-card"),
|
|
5668
|
+
const r = T("v-btn"), f = T("v-tooltip"), k = T("v-toolbar-title"), y = T("v-spacer"), d = T("v-toolbar"), h = T("v-card-text"), S = T("v-card"), b = T("v-dialog");
|
|
5669
5669
|
return c(), D("div", null, [
|
|
5670
|
-
|
|
5670
|
+
C(f, {
|
|
5671
5671
|
elevation: "2",
|
|
5672
5672
|
top: "",
|
|
5673
5673
|
attach: ""
|
|
5674
5674
|
}, {
|
|
5675
|
-
activator:
|
|
5676
|
-
|
|
5675
|
+
activator: _(({ props: g }) => [
|
|
5676
|
+
C(r, Me({
|
|
5677
5677
|
density: "comfortable",
|
|
5678
5678
|
elevation: "1",
|
|
5679
5679
|
icon: "mdi-share-variant",
|
|
5680
5680
|
onClick: m[0] || (m[0] = (z) => e.value = !e.value)
|
|
5681
5681
|
}, g), null, 16)
|
|
5682
5682
|
]),
|
|
5683
|
-
default:
|
|
5683
|
+
default: _(() => [
|
|
5684
5684
|
u("span", null, Z(x(a).getLabel("share")), 1)
|
|
5685
5685
|
]),
|
|
5686
5686
|
_: 1
|
|
5687
5687
|
}),
|
|
5688
|
-
|
|
5688
|
+
C(b, {
|
|
5689
5689
|
id: "share-box",
|
|
5690
5690
|
width: "400",
|
|
5691
5691
|
modelValue: e.value,
|
|
5692
5692
|
"onUpdate:modelValue": m[2] || (m[2] = (g) => e.value = g)
|
|
5693
5693
|
}, {
|
|
5694
|
-
default:
|
|
5695
|
-
|
|
5696
|
-
default:
|
|
5697
|
-
|
|
5698
|
-
default:
|
|
5699
|
-
|
|
5694
|
+
default: _(() => [
|
|
5695
|
+
C(S, null, {
|
|
5696
|
+
default: _(() => [
|
|
5697
|
+
C(d, { elevation: "0" }, {
|
|
5698
|
+
default: _(() => [
|
|
5699
|
+
C(r, {
|
|
5700
5700
|
size: "x-small",
|
|
5701
5701
|
icon: "mdi-close",
|
|
5702
5702
|
onClick: m[1] || (m[1] = (g) => e.value = !1)
|
|
5703
5703
|
}),
|
|
5704
|
-
|
|
5705
|
-
default:
|
|
5704
|
+
C(k, null, {
|
|
5705
|
+
default: _(() => [
|
|
5706
5706
|
te(Z(x(a).getLabel("share")), 1)
|
|
5707
5707
|
]),
|
|
5708
5708
|
_: 1
|
|
5709
5709
|
}),
|
|
5710
|
-
|
|
5710
|
+
C(y)
|
|
5711
5711
|
]),
|
|
5712
5712
|
_: 1
|
|
5713
5713
|
}),
|
|
5714
|
-
|
|
5715
|
-
default:
|
|
5714
|
+
C(h, { class: "mt-5" }, {
|
|
5715
|
+
default: _(() => [
|
|
5716
5716
|
u("p", Oi, [
|
|
5717
|
-
|
|
5718
|
-
activator:
|
|
5719
|
-
|
|
5717
|
+
C(f, { location: "top" }, {
|
|
5718
|
+
activator: _(({ props: g }) => [
|
|
5719
|
+
C(r, Me({
|
|
5720
5720
|
depressed: "",
|
|
5721
5721
|
fab: "",
|
|
5722
5722
|
light: "",
|
|
5723
5723
|
icon: "mdi-facebook"
|
|
5724
5724
|
}, g, { onClick: t }), null, 16)
|
|
5725
5725
|
]),
|
|
5726
|
-
default:
|
|
5726
|
+
default: _(() => [
|
|
5727
5727
|
u("span", null, Z(x(a).getLabel("shareToFacebook")), 1)
|
|
5728
5728
|
]),
|
|
5729
5729
|
_: 1
|
|
5730
5730
|
}),
|
|
5731
|
-
|
|
5732
|
-
activator:
|
|
5733
|
-
|
|
5731
|
+
C(f, { location: "top" }, {
|
|
5732
|
+
activator: _(({ props: g }) => [
|
|
5733
|
+
C(r, Me({
|
|
5734
5734
|
depressed: "",
|
|
5735
5735
|
fab: "",
|
|
5736
5736
|
light: "",
|
|
5737
5737
|
icon: "mdi-linkedin"
|
|
5738
5738
|
}, g, { onClick: i }), null, 16)
|
|
5739
5739
|
]),
|
|
5740
|
-
default:
|
|
5740
|
+
default: _(() => [
|
|
5741
5741
|
u("span", null, Z(x(a).getLabel("shareToLinkedin")), 1)
|
|
5742
5742
|
]),
|
|
5743
5743
|
_: 1
|
|
5744
5744
|
}),
|
|
5745
|
-
|
|
5746
|
-
activator:
|
|
5747
|
-
|
|
5745
|
+
C(f, { location: "top" }, {
|
|
5746
|
+
activator: _(({ props: g }) => [
|
|
5747
|
+
C(r, Me({
|
|
5748
5748
|
depressed: "",
|
|
5749
5749
|
fab: "",
|
|
5750
5750
|
light: "",
|
|
5751
5751
|
icon: "mdi-twitter"
|
|
5752
5752
|
}, g, { onClick: o }), null, 16)
|
|
5753
5753
|
]),
|
|
5754
|
-
default:
|
|
5754
|
+
default: _(() => [
|
|
5755
5755
|
u("span", null, Z(x(a).getLabel("shareToTwitter")), 1)
|
|
5756
5756
|
]),
|
|
5757
5757
|
_: 1
|
|
5758
5758
|
}),
|
|
5759
|
-
|
|
5760
|
-
activator:
|
|
5761
|
-
|
|
5759
|
+
C(f, { location: "top" }, {
|
|
5760
|
+
activator: _(({ props: g }) => [
|
|
5761
|
+
C(r, Me({
|
|
5762
5762
|
depressed: "",
|
|
5763
5763
|
fab: "",
|
|
5764
5764
|
light: "",
|
|
@@ -5767,14 +5767,14 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5767
5767
|
href: `mailto:?body=${n.value}`
|
|
5768
5768
|
}, g), null, 16, ["href"])
|
|
5769
5769
|
]),
|
|
5770
|
-
default:
|
|
5770
|
+
default: _(() => [
|
|
5771
5771
|
u("span", null, Z(x(a).getLabel("shareViaEmail")), 1)
|
|
5772
5772
|
]),
|
|
5773
5773
|
_: 1
|
|
5774
5774
|
}),
|
|
5775
|
-
|
|
5776
|
-
activator:
|
|
5777
|
-
|
|
5775
|
+
C(f, { location: "top" }, {
|
|
5776
|
+
activator: _(({ props: g }) => [
|
|
5777
|
+
C(r, Me({
|
|
5778
5778
|
depressed: "",
|
|
5779
5779
|
fab: "",
|
|
5780
5780
|
light: "",
|
|
@@ -5782,12 +5782,12 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5782
5782
|
onClick: s
|
|
5783
5783
|
}, g), null, 16)
|
|
5784
5784
|
]),
|
|
5785
|
-
default:
|
|
5785
|
+
default: _(() => [
|
|
5786
5786
|
u("span", null, Z(x(a).getLabel("copyLink")), 1)
|
|
5787
5787
|
]),
|
|
5788
5788
|
_: 1
|
|
5789
5789
|
}),
|
|
5790
|
-
|
|
5790
|
+
C(y)
|
|
5791
5791
|
])
|
|
5792
5792
|
]),
|
|
5793
5793
|
_: 1
|
|
@@ -5830,7 +5830,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5830
5830
|
return (n, t) => {
|
|
5831
5831
|
const o = T("v-btn");
|
|
5832
5832
|
return c(), D("div", Bi, [
|
|
5833
|
-
|
|
5833
|
+
C(o, {
|
|
5834
5834
|
density: "comfortable",
|
|
5835
5835
|
elevation: "3",
|
|
5836
5836
|
icon: n.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
@@ -5896,7 +5896,7 @@ const Ri = {
|
|
|
5896
5896
|
key: 2,
|
|
5897
5897
|
class: "btn-placeholder mr-2"
|
|
5898
5898
|
}, Wi = { class: "d-flex flex-column align-end" }, Ni = {
|
|
5899
|
-
key:
|
|
5899
|
+
key: 0,
|
|
5900
5900
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
5901
5901
|
}, Gi = {
|
|
5902
5902
|
key: 2,
|
|
@@ -5959,7 +5959,7 @@ const Ri = {
|
|
|
5959
5959
|
showSnapshot: d,
|
|
5960
5960
|
showShare: h,
|
|
5961
5961
|
showInteriorOptions: S,
|
|
5962
|
-
showMiniMap:
|
|
5962
|
+
showMiniMap: b,
|
|
5963
5963
|
showFloorLevel: g,
|
|
5964
5964
|
defaultWaypointIndex: z,
|
|
5965
5965
|
defaultViewMode: V,
|
|
@@ -5970,8 +5970,8 @@ const Ri = {
|
|
|
5970
5970
|
hasMarkersJson: J,
|
|
5971
5971
|
dynamicMarkers: R,
|
|
5972
5972
|
version: X,
|
|
5973
|
-
showVersion:
|
|
5974
|
-
} =
|
|
5973
|
+
showVersion: w
|
|
5974
|
+
} = Ee(n), A = e;
|
|
5975
5975
|
a({
|
|
5976
5976
|
updateSelectedInterior: Et,
|
|
5977
5977
|
takeSnapshot: Rt,
|
|
@@ -6034,8 +6034,8 @@ const Ri = {
|
|
|
6034
6034
|
return Sa(M.value.timeInHours);
|
|
6035
6035
|
});
|
|
6036
6036
|
Je(
|
|
6037
|
-
|
|
6038
|
-
m.value ? new
|
|
6037
|
+
$e,
|
|
6038
|
+
m.value ? new Be(m.value) : new Be()
|
|
6039
6039
|
);
|
|
6040
6040
|
const Ye = B(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
6041
6041
|
window.navigator.userAgent
|
|
@@ -6111,7 +6111,7 @@ const Ri = {
|
|
|
6111
6111
|
const H = z.value !== null ? z.value : 0;
|
|
6112
6112
|
le.value = H, ye.value = q.value.cameras[H].id, ue.value = q.value.cameras[H].id;
|
|
6113
6113
|
}
|
|
6114
|
-
|
|
6114
|
+
b.value && (K.value = await ma(
|
|
6115
6115
|
ie.value,
|
|
6116
6116
|
o.value
|
|
6117
6117
|
));
|
|
@@ -6313,7 +6313,7 @@ const Ri = {
|
|
|
6313
6313
|
key: 1,
|
|
6314
6314
|
class: he(["v-player", [Vt.value]])
|
|
6315
6315
|
}, [
|
|
6316
|
-
|
|
6316
|
+
C(yl, {
|
|
6317
6317
|
ref_key: "vPlayerInstance",
|
|
6318
6318
|
ref: ae,
|
|
6319
6319
|
"cdn-file-resolver": x(t),
|
|
@@ -6331,24 +6331,22 @@ const Ri = {
|
|
|
6331
6331
|
onSunsimCallback: fa,
|
|
6332
6332
|
onPlayerApiCallback: _a
|
|
6333
6333
|
}, {
|
|
6334
|
-
"slideshow-image":
|
|
6334
|
+
"slideshow-image": _(() => [
|
|
6335
6335
|
_e.value ? (c(), E($i, {
|
|
6336
6336
|
key: 0,
|
|
6337
6337
|
image: yt.value
|
|
6338
6338
|
}, null, 8, ["image"])) : $("", !0)
|
|
6339
6339
|
]),
|
|
6340
|
-
"top-left":
|
|
6341
|
-
x(I) ?
|
|
6340
|
+
"top-left": _(() => [
|
|
6341
|
+
x(I) ? (c(), E(ne, {
|
|
6342
6342
|
key: 0,
|
|
6343
6343
|
density: "comfortable",
|
|
6344
6344
|
icon: "mdi-cog-outline",
|
|
6345
6345
|
elevation: "3",
|
|
6346
6346
|
class: "mr-2",
|
|
6347
6347
|
onClick: H[1] || (H[1] = (we) => Q.value = !Q.value)
|
|
6348
|
-
}
|
|
6349
|
-
|
|
6350
|
-
]) : $("", !0),
|
|
6351
|
-
be(w(ne, {
|
|
6348
|
+
})) : $("", !0),
|
|
6349
|
+
be(C(ne, {
|
|
6352
6350
|
density: "comfortable",
|
|
6353
6351
|
icon: "mdi-alert-outline",
|
|
6354
6352
|
elevation: "3",
|
|
@@ -6373,18 +6371,18 @@ const Ri = {
|
|
|
6373
6371
|
"floor-levels": fe.value,
|
|
6374
6372
|
onLevel: Bt
|
|
6375
6373
|
}, null, 8, ["level", "floor-levels"])) : $("", !0),
|
|
6376
|
-
|
|
6377
|
-
|
|
6374
|
+
x(I) && Q.value ? (c(), D("div", Hi, [
|
|
6375
|
+
C(Ps, {
|
|
6378
6376
|
"initial-settings": x(L),
|
|
6379
6377
|
onUpdateSettings: wa,
|
|
6380
6378
|
onSaveSettings: ka
|
|
6381
6379
|
}, null, 8, ["initial-settings"])
|
|
6382
6380
|
])) : $("", !0)
|
|
6383
6381
|
]),
|
|
6384
|
-
"top-center":
|
|
6385
|
-
"top-right":
|
|
6382
|
+
"top-center": _(() => []),
|
|
6383
|
+
"top-right": _(() => [
|
|
6386
6384
|
M.value && x(k) ? be((c(), D("div", Yi, [
|
|
6387
|
-
|
|
6385
|
+
C(El, { rotation: Le.value }, null, 8, ["rotation"])
|
|
6388
6386
|
], 512)), [
|
|
6389
6387
|
[Ce, O.value]
|
|
6390
6388
|
]) : $("", !0),
|
|
@@ -6402,9 +6400,9 @@ const Ri = {
|
|
|
6402
6400
|
}, null, 8, ["hours", "minutes", "style"])) : $("", !0)
|
|
6403
6401
|
])
|
|
6404
6402
|
]),
|
|
6405
|
-
"center-left":
|
|
6406
|
-
|
|
6407
|
-
default:
|
|
6403
|
+
"center-left": _(() => [
|
|
6404
|
+
C(Te, { name: "slide-x-transition" }, {
|
|
6405
|
+
default: _(() => [
|
|
6408
6406
|
_e.value ? (c(), E(ne, {
|
|
6409
6407
|
key: 0,
|
|
6410
6408
|
density: "comfortable",
|
|
@@ -6416,7 +6414,7 @@ const Ri = {
|
|
|
6416
6414
|
_: 1
|
|
6417
6415
|
})
|
|
6418
6416
|
]),
|
|
6419
|
-
"center-center":
|
|
6417
|
+
"center-center": _(() => [
|
|
6420
6418
|
G.value ? (c(), E(Ss, {
|
|
6421
6419
|
key: 0,
|
|
6422
6420
|
onCloseTutorial: H[5] || (H[5] = (we) => oa(we))
|
|
@@ -6432,9 +6430,9 @@ const Ri = {
|
|
|
6432
6430
|
onClose: H[6] || (H[6] = (we) => Se.value = !1)
|
|
6433
6431
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : $("", !0)
|
|
6434
6432
|
]),
|
|
6435
|
-
"center-right":
|
|
6436
|
-
|
|
6437
|
-
default:
|
|
6433
|
+
"center-right": _(() => [
|
|
6434
|
+
C(Te, { name: "slide-x-reverse-transition" }, {
|
|
6435
|
+
default: _(() => [
|
|
6438
6436
|
_e.value ? (c(), E(ne, {
|
|
6439
6437
|
key: 0,
|
|
6440
6438
|
density: "comfortable",
|
|
@@ -6446,7 +6444,7 @@ const Ri = {
|
|
|
6446
6444
|
_: 1
|
|
6447
6445
|
})
|
|
6448
6446
|
]),
|
|
6449
|
-
"bottom-left":
|
|
6447
|
+
"bottom-left": _(() => [
|
|
6450
6448
|
x(y) ? (c(), E(ea, {
|
|
6451
6449
|
key: 0,
|
|
6452
6450
|
"is-full-screen": j.value.isActive,
|
|
@@ -6454,7 +6452,7 @@ const Ri = {
|
|
|
6454
6452
|
onToggleFullscreen: ba
|
|
6455
6453
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6456
6454
|
x(d) ? (c(), D("div", zi, [
|
|
6457
|
-
|
|
6455
|
+
C(ne, {
|
|
6458
6456
|
density: "comfortable",
|
|
6459
6457
|
elevation: "3",
|
|
6460
6458
|
icon: "mdi-camera",
|
|
@@ -6469,54 +6467,59 @@ const Ri = {
|
|
|
6469
6467
|
}, null, 8, ["show-static-image"])) : $("", !0)
|
|
6470
6468
|
]),
|
|
6471
6469
|
O.value && x(h) && !j.value.isActive ? (c(), D("div", ji, [
|
|
6472
|
-
|
|
6470
|
+
C(Kt)
|
|
6473
6471
|
])) : $("", !0)
|
|
6474
6472
|
]),
|
|
6475
|
-
"bottom-center":
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
"
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
"current-day": ze.value(ue.value) ? Ne(ue.value)[0] : void 0,
|
|
6494
|
-
"current-time": Ie.value,
|
|
6495
|
-
onOnTimeChange: $t,
|
|
6496
|
-
onToggleSunStudy: H[8] || (H[8] = (we) => U.value = !U.value)
|
|
6497
|
-
}, null, 8, ["current-day", "current-time"])) : $("", !0),
|
|
6498
|
-
!Ye.value && O.value && x(r) ? (c(), E(mt, {
|
|
6499
|
-
key: 1,
|
|
6500
|
-
class: he([j.value.isActive ? "full-screen" : ""]),
|
|
6501
|
-
thumbnails: ce.value,
|
|
6502
|
-
active: le.value,
|
|
6503
|
-
cameraHasSunStudy: ze.value,
|
|
6504
|
-
onNext: rt,
|
|
6505
|
-
onPrevious: Ct,
|
|
6506
|
-
onGoto: wt
|
|
6507
|
-
}, {
|
|
6508
|
-
before: b(() => [
|
|
6509
|
-
F.enableAutoplay && O.value && !Ye.value ? (c(), E(jt, {
|
|
6473
|
+
"bottom-center": _(() => [
|
|
6474
|
+
C(Te, null, {
|
|
6475
|
+
default: _(() => [
|
|
6476
|
+
u("div", null, [
|
|
6477
|
+
u("div", {
|
|
6478
|
+
class: he(["d-flex justify-center", {
|
|
6479
|
+
"mb-2": !Ye.value
|
|
6480
|
+
}])
|
|
6481
|
+
}, [
|
|
6482
|
+
!Ue.value && ze.value(ue.value) ? (c(), E(xi, {
|
|
6483
|
+
key: 0,
|
|
6484
|
+
class: "ml-2",
|
|
6485
|
+
displaySunsim: U.value,
|
|
6486
|
+
showUI: O.value,
|
|
6487
|
+
onToggleSunStudy: H[7] || (H[7] = (we) => U.value = !U.value)
|
|
6488
|
+
}, null, 8, ["displaySunsim", "showUI"])) : $("", !0)
|
|
6489
|
+
], 2),
|
|
6490
|
+
!Ye.value && !Ue.value && ye.value && U.value && ze.value(ue.value) && Ne(ue.value)[0] && Ie.value ? (c(), E(Pt, {
|
|
6510
6491
|
key: 0,
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6492
|
+
class: "sunsim-slider-desktop",
|
|
6493
|
+
"current-day": ze.value(ue.value) ? Ne(ue.value)[0] : void 0,
|
|
6494
|
+
"current-time": Ie.value,
|
|
6495
|
+
onOnTimeChange: $t,
|
|
6496
|
+
onToggleSunStudy: H[8] || (H[8] = (we) => U.value = !U.value)
|
|
6497
|
+
}, null, 8, ["current-day", "current-time"])) : $("", !0),
|
|
6498
|
+
!Ye.value && O.value && x(r) ? (c(), E(mt, {
|
|
6499
|
+
key: 1,
|
|
6500
|
+
class: he([j.value.isActive ? "full-screen" : ""]),
|
|
6501
|
+
thumbnails: ce.value,
|
|
6502
|
+
active: le.value,
|
|
6503
|
+
cameraHasSunStudy: ze.value,
|
|
6504
|
+
onNext: rt,
|
|
6505
|
+
onPrevious: Ct,
|
|
6506
|
+
onGoto: wt
|
|
6507
|
+
}, {
|
|
6508
|
+
before: _(() => [
|
|
6509
|
+
F.enableAutoplay && O.value && !Ye.value ? (c(), E(jt, {
|
|
6510
|
+
key: 0,
|
|
6511
|
+
autoplayStatus: Ue.value,
|
|
6512
|
+
onToggleAutoPlay: H[9] || (H[9] = (we) => Ht())
|
|
6513
|
+
}, null, 8, ["autoplayStatus"])) : $("", !0)
|
|
6514
|
+
]),
|
|
6515
|
+
_: 1
|
|
6516
|
+
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) : $("", !0)
|
|
6517
|
+
])
|
|
6518
|
+
]),
|
|
6519
|
+
_: 1
|
|
6520
|
+
})
|
|
6518
6521
|
]),
|
|
6519
|
-
"bottom-right":
|
|
6522
|
+
"bottom-right": _(() => [
|
|
6520
6523
|
u("div", Wi, [
|
|
6521
6524
|
O.value && x(S) && Ot.value ? (c(), E(Ol, {
|
|
6522
6525
|
key: 0,
|
|
@@ -6529,25 +6532,30 @@ const Ri = {
|
|
|
6529
6532
|
]),
|
|
6530
6533
|
_: 1
|
|
6531
6534
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
thumbnails: ce.value,
|
|
6536
|
-
active: le.value,
|
|
6537
|
-
cameraHasSunStudy: ze.value,
|
|
6538
|
-
onNext: rt,
|
|
6539
|
-
onPrevious: Ct,
|
|
6540
|
-
onGoto: wt
|
|
6541
|
-
}, {
|
|
6542
|
-
before: b(() => [
|
|
6543
|
-
F.enableAutoplay && O.value ? (c(), E(jt, {
|
|
6535
|
+
C(Te, null, {
|
|
6536
|
+
default: _(() => [
|
|
6537
|
+
x(r) && q.value && Ye.value && O.value ? (c(), E(mt, {
|
|
6544
6538
|
key: 0,
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6539
|
+
class: "waypoint-carousel below-player",
|
|
6540
|
+
thumbnails: ce.value,
|
|
6541
|
+
active: le.value,
|
|
6542
|
+
cameraHasSunStudy: ze.value,
|
|
6543
|
+
onNext: rt,
|
|
6544
|
+
onPrevious: Ct,
|
|
6545
|
+
onGoto: wt
|
|
6546
|
+
}, {
|
|
6547
|
+
before: _(() => [
|
|
6548
|
+
F.enableAutoplay && O.value ? (c(), E(jt, {
|
|
6549
|
+
key: 0,
|
|
6550
|
+
autoplayStatus: Ue.value,
|
|
6551
|
+
onToggleAutoPlay: H[10] || (H[10] = (we) => Ht())
|
|
6552
|
+
}, null, 8, ["autoplayStatus"])) : $("", !0)
|
|
6553
|
+
]),
|
|
6554
|
+
_: 1
|
|
6555
|
+
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) : $("", !0)
|
|
6548
6556
|
]),
|
|
6549
6557
|
_: 1
|
|
6550
|
-
}
|
|
6558
|
+
}),
|
|
6551
6559
|
Ye.value ? (c(), D("div", Ni, [
|
|
6552
6560
|
!Ue.value && ye.value && U.value && ze.value(ue.value) && Ne(ue.value)[0] && Ie.value ? (c(), E(Pt, {
|
|
6553
6561
|
key: 0,
|
|
@@ -6559,12 +6567,12 @@ const Ri = {
|
|
|
6559
6567
|
}, null, 8, ["current-day", "current-time"])) : $("", !0)
|
|
6560
6568
|
])) : $("", !0)
|
|
6561
6569
|
], 2)) : $("", !0),
|
|
6562
|
-
x(X) && x(
|
|
6570
|
+
x(X) && x(w) ? (c(), D("div", Gi, " version: " + Z(x(X)), 1)) : $("", !0)
|
|
6563
6571
|
])
|
|
6564
6572
|
], 2);
|
|
6565
6573
|
};
|
|
6566
6574
|
}
|
|
6567
|
-
}), Zi = /* @__PURE__ */ ee(Qi, [["__scopeId", "data-v-
|
|
6575
|
+
}), Zi = /* @__PURE__ */ ee(Qi, [["__scopeId", "data-v-508b264d"]]), qi = { id: "player-wrapper" }, Ji = { id: "player-sizer" }, Xi = {
|
|
6568
6576
|
class: "player-control",
|
|
6569
6577
|
id: "controls-top-left"
|
|
6570
6578
|
}, Ki = {
|
|
@@ -6647,8 +6655,8 @@ const Ri = {
|
|
|
6647
6655
|
setup(l) {
|
|
6648
6656
|
const a = l;
|
|
6649
6657
|
Je(
|
|
6650
|
-
|
|
6651
|
-
a.i18nConfig ? new
|
|
6658
|
+
$e,
|
|
6659
|
+
a.i18nConfig ? new Be(a.i18nConfig) : new Be()
|
|
6652
6660
|
);
|
|
6653
6661
|
const e = v(0), n = v(
|
|
6654
6662
|
new ta(document, "player-wrapper")
|
|
@@ -6683,22 +6691,22 @@ const Ri = {
|
|
|
6683
6691
|
return c(), D("div", ur, [
|
|
6684
6692
|
u("div", cr, [
|
|
6685
6693
|
u("div", null, [
|
|
6686
|
-
|
|
6694
|
+
C(rr, {
|
|
6687
6695
|
"is-full-screen": n.value.isActive
|
|
6688
6696
|
}, {
|
|
6689
|
-
"slideshow-image":
|
|
6697
|
+
"slideshow-image": _(() => [
|
|
6690
6698
|
u("div", dr, [
|
|
6691
|
-
|
|
6699
|
+
C(k, {
|
|
6692
6700
|
src: o.value.thumbnailUrl
|
|
6693
6701
|
}, null, 8, ["src"])
|
|
6694
6702
|
])
|
|
6695
6703
|
]),
|
|
6696
|
-
"top-left":
|
|
6697
|
-
"top-center":
|
|
6698
|
-
"top-right":
|
|
6699
|
-
"center-left":
|
|
6700
|
-
|
|
6701
|
-
default:
|
|
6704
|
+
"top-left": _(() => []),
|
|
6705
|
+
"top-center": _(() => []),
|
|
6706
|
+
"top-right": _(() => []),
|
|
6707
|
+
"center-left": _(() => [
|
|
6708
|
+
C(Te, { name: "slide-x-transition" }, {
|
|
6709
|
+
default: _(() => [
|
|
6702
6710
|
t.value.length > 1 ? (c(), E(y, {
|
|
6703
6711
|
key: 0,
|
|
6704
6712
|
density: "comfortable",
|
|
@@ -6710,10 +6718,10 @@ const Ri = {
|
|
|
6710
6718
|
_: 1
|
|
6711
6719
|
})
|
|
6712
6720
|
]),
|
|
6713
|
-
"center-center":
|
|
6714
|
-
"center-right":
|
|
6715
|
-
|
|
6716
|
-
default:
|
|
6721
|
+
"center-center": _(() => []),
|
|
6722
|
+
"center-right": _(() => [
|
|
6723
|
+
C(Te, { name: "slide-x-reverse-transition" }, {
|
|
6724
|
+
default: _(() => [
|
|
6717
6725
|
t.value.length > 1 ? (c(), E(y, {
|
|
6718
6726
|
key: 0,
|
|
6719
6727
|
density: "comfortable",
|
|
@@ -6725,7 +6733,7 @@ const Ri = {
|
|
|
6725
6733
|
_: 1
|
|
6726
6734
|
})
|
|
6727
6735
|
]),
|
|
6728
|
-
"bottom-left":
|
|
6736
|
+
"bottom-left": _(() => [
|
|
6729
6737
|
r.showFullScreen ? (c(), E(ea, {
|
|
6730
6738
|
key: 0,
|
|
6731
6739
|
"is-full-screen": n.value.isActive,
|
|
@@ -6733,10 +6741,10 @@ const Ri = {
|
|
|
6733
6741
|
onToggleFullscreen: i
|
|
6734
6742
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6735
6743
|
r.showShare ? (c(), D("div", vr, [
|
|
6736
|
-
|
|
6744
|
+
C(Kt)
|
|
6737
6745
|
])) : $("", !0)
|
|
6738
6746
|
]),
|
|
6739
|
-
"bottom-center":
|
|
6747
|
+
"bottom-center": _(() => [
|
|
6740
6748
|
u("div", null, [
|
|
6741
6749
|
n.value.isActive && t.value.length > 1 ? (c(), E(mt, {
|
|
6742
6750
|
key: 0,
|
|
@@ -6749,7 +6757,7 @@ const Ri = {
|
|
|
6749
6757
|
}, null, 8, ["class", "thumbnails", "active"])) : $("", !0)
|
|
6750
6758
|
])
|
|
6751
6759
|
]),
|
|
6752
|
-
"bottom-right":
|
|
6760
|
+
"bottom-right": _(() => []),
|
|
6753
6761
|
_: 1
|
|
6754
6762
|
}, 8, ["is-full-screen"]),
|
|
6755
6763
|
t.value.length > 1 ? (c(), E(mt, {
|
|
@@ -6773,7 +6781,7 @@ const Ri = {
|
|
|
6773
6781
|
currentTime: {}
|
|
6774
6782
|
},
|
|
6775
6783
|
setup(l) {
|
|
6776
|
-
const a = l, { timeSampleData: e, cdnFileResolver: n, currentTime: t } =
|
|
6784
|
+
const a = l, { timeSampleData: e, cdnFileResolver: n, currentTime: t } = Ee(a), o = B(() => pe(n.value, e.value.filename));
|
|
6777
6785
|
return (i, s) => be((c(), D("img", {
|
|
6778
6786
|
key: o.value,
|
|
6779
6787
|
src: o.value,
|
|
@@ -6791,7 +6799,7 @@ const Ri = {
|
|
|
6791
6799
|
currentTime: {}
|
|
6792
6800
|
},
|
|
6793
6801
|
setup(l) {
|
|
6794
|
-
const a = l, { dayData: e, cdnFileResolver: n, currentTime: t } =
|
|
6802
|
+
const a = l, { dayData: e, cdnFileResolver: n, currentTime: t } = Ee(a);
|
|
6795
6803
|
return (o, i) => (c(!0), D(de, null, ge(x(e).timeSamples, (s) => (c(), E(gr, {
|
|
6796
6804
|
key: s.filename,
|
|
6797
6805
|
"time-sample-data": s,
|
|
@@ -6809,7 +6817,7 @@ const Ri = {
|
|
|
6809
6817
|
currentTime: {}
|
|
6810
6818
|
},
|
|
6811
6819
|
setup(l) {
|
|
6812
|
-
const a = l, { cameraData: e, cdnFileResolver: n, currentCamera: t, currentTime: o } =
|
|
6820
|
+
const a = l, { cameraData: e, cdnFileResolver: n, currentCamera: t, currentTime: o } = Ee(a), i = B(() => pe(
|
|
6813
6821
|
n.value,
|
|
6814
6822
|
t.value.defaultFilename
|
|
6815
6823
|
));
|
|
@@ -6835,7 +6843,7 @@ const Ri = {
|
|
|
6835
6843
|
currentTransition: {}
|
|
6836
6844
|
},
|
|
6837
6845
|
setup(l) {
|
|
6838
|
-
const a = l, { transitionData: e, cdnFileResolver: n, currentTransition: t } =
|
|
6846
|
+
const a = l, { transitionData: e, cdnFileResolver: n, currentTransition: t } = Ee(a), o = B(() => pe(n.value, e.value.filename));
|
|
6839
6847
|
return (i, s) => be((c(), D("img", {
|
|
6840
6848
|
key: o.value,
|
|
6841
6849
|
src: o.value,
|
|
@@ -6866,7 +6874,7 @@ const Sr = {
|
|
|
6866
6874
|
},
|
|
6867
6875
|
emits: ["onDayChange"],
|
|
6868
6876
|
setup(l, { emit: a }) {
|
|
6869
|
-
const e = l, { isMobileSized: n, currentCamera: t, currentDay: o, disabled: i } =
|
|
6877
|
+
const e = l, { isMobileSized: n, currentCamera: t, currentDay: o, disabled: i } = Ee(e), s = a, p = v(o.value.dayOfYear);
|
|
6870
6878
|
return Y(o, () => {
|
|
6871
6879
|
p.value = o.value.dayOfYear;
|
|
6872
6880
|
}), Y(p, () => {
|
|
@@ -6879,15 +6887,15 @@ const Sr = {
|
|
|
6879
6887
|
}), (m, r) => {
|
|
6880
6888
|
const f = T("v-btn"), k = T("v-field"), y = T("v-list-item-title"), d = T("v-list-item"), h = T("v-list"), S = T("v-menu");
|
|
6881
6889
|
return x(t).sunsimDayOfYear && x(t).sunsimDayOfYear.length > 0 ? (c(), D("div", Sr, [
|
|
6882
|
-
|
|
6883
|
-
activator:
|
|
6884
|
-
|
|
6890
|
+
C(S, null, {
|
|
6891
|
+
activator: _(({ props: b }) => [
|
|
6892
|
+
C(k, {
|
|
6885
6893
|
variant: "solo-filled",
|
|
6886
6894
|
rounded: "",
|
|
6887
6895
|
flat: ""
|
|
6888
6896
|
}, {
|
|
6889
|
-
default:
|
|
6890
|
-
|
|
6897
|
+
default: _(() => [
|
|
6898
|
+
C(f, Me({
|
|
6891
6899
|
variant: "text",
|
|
6892
6900
|
rounded: "",
|
|
6893
6901
|
flat: "",
|
|
@@ -6896,8 +6904,8 @@ const Sr = {
|
|
|
6896
6904
|
"append-icon": x(t).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
|
|
6897
6905
|
disabled: x(i),
|
|
6898
6906
|
size: x(n) ? "small" : void 0
|
|
6899
|
-
},
|
|
6900
|
-
default:
|
|
6907
|
+
}, b), {
|
|
6908
|
+
default: _(() => [
|
|
6901
6909
|
te(Z(x(Wt)(p.value)), 1)
|
|
6902
6910
|
]),
|
|
6903
6911
|
_: 2
|
|
@@ -6906,18 +6914,18 @@ const Sr = {
|
|
|
6906
6914
|
_: 2
|
|
6907
6915
|
}, 1024)
|
|
6908
6916
|
]),
|
|
6909
|
-
default:
|
|
6910
|
-
|
|
6911
|
-
default:
|
|
6912
|
-
(c(!0), D(de, null, ge(x(t).sunsimDayOfYear, (
|
|
6917
|
+
default: _(() => [
|
|
6918
|
+
C(h, null, {
|
|
6919
|
+
default: _(() => [
|
|
6920
|
+
(c(!0), D(de, null, ge(x(t).sunsimDayOfYear, (b, g) => (c(), E(d, {
|
|
6913
6921
|
key: g,
|
|
6914
6922
|
value: g,
|
|
6915
|
-
onClick: (z) => p.value =
|
|
6923
|
+
onClick: (z) => p.value = b.dayOfYear
|
|
6916
6924
|
}, {
|
|
6917
|
-
default:
|
|
6918
|
-
|
|
6919
|
-
default:
|
|
6920
|
-
te(Z(x(Wt)(
|
|
6925
|
+
default: _(() => [
|
|
6926
|
+
C(y, null, {
|
|
6927
|
+
default: _(() => [
|
|
6928
|
+
te(Z(x(Wt)(b.dayOfYear)), 1)
|
|
6921
6929
|
]),
|
|
6922
6930
|
_: 2
|
|
6923
6931
|
}, 1024)
|
|
@@ -6953,7 +6961,7 @@ const Sr = {
|
|
|
6953
6961
|
currentCamera: o,
|
|
6954
6962
|
cdnFileResolver: i,
|
|
6955
6963
|
disabled: s
|
|
6956
|
-
} =
|
|
6964
|
+
} = Ee(e), p = v(o.value), m = a;
|
|
6957
6965
|
Y(p, () => {
|
|
6958
6966
|
m(
|
|
6959
6967
|
"onCameraChange",
|
|
@@ -6985,7 +6993,7 @@ const Sr = {
|
|
|
6985
6993
|
h.defaultFilename
|
|
6986
6994
|
)})`
|
|
6987
6995
|
}),
|
|
6988
|
-
onClick: (
|
|
6996
|
+
onClick: (b) => r(h)
|
|
6989
6997
|
}, [
|
|
6990
6998
|
!x(n) && h.cameraName ? (c(), E(y, {
|
|
6991
6999
|
key: 0,
|
|
@@ -6994,18 +7002,18 @@ const Sr = {
|
|
|
6994
7002
|
class: "camera-name",
|
|
6995
7003
|
color: "white"
|
|
6996
7004
|
}, {
|
|
6997
|
-
default:
|
|
7005
|
+
default: _(() => [
|
|
6998
7006
|
te(Z(h.cameraName), 1)
|
|
6999
7007
|
]),
|
|
7000
7008
|
_: 2
|
|
7001
7009
|
}, 1024)) : $("", !0),
|
|
7002
7010
|
h.sunsimDayOfYear && h.sunsimDayOfYear.length > 1 ? (c(), D("div", Ar, [
|
|
7003
|
-
|
|
7011
|
+
C(d, {
|
|
7004
7012
|
size: "x-small",
|
|
7005
7013
|
color: "warning",
|
|
7006
7014
|
style: { opacity: "0.6" }
|
|
7007
7015
|
}, {
|
|
7008
|
-
default:
|
|
7016
|
+
default: _(() => [
|
|
7009
7017
|
te(" mdi-white-balance-sunny ")
|
|
7010
7018
|
]),
|
|
7011
7019
|
_: 1
|
|
@@ -7025,7 +7033,7 @@ const Sr = {
|
|
|
7025
7033
|
},
|
|
7026
7034
|
emits: ["onTimeChange"],
|
|
7027
7035
|
setup(l, { emit: a }) {
|
|
7028
|
-
const e = l, { isMobileSized: n, currentDay: t, currentTime: o, disabled: i } =
|
|
7036
|
+
const e = l, { isMobileSized: n, currentDay: t, currentTime: o, disabled: i } = Ee(e), s = a, p = v(o.value.timeInHours);
|
|
7029
7037
|
return Y(o, () => {
|
|
7030
7038
|
p.value = o.value.timeInHours;
|
|
7031
7039
|
}), Y(p, () => {
|
|
@@ -7044,7 +7052,7 @@ const Sr = {
|
|
|
7044
7052
|
verticalAlign: "top"
|
|
7045
7053
|
})
|
|
7046
7054
|
}, [
|
|
7047
|
-
|
|
7055
|
+
C(y, {
|
|
7048
7056
|
style: me(
|
|
7049
7057
|
x(t).timeSamples.length > 1 ? {
|
|
7050
7058
|
width: x(n) ? "100%" : "300px",
|
|
@@ -7061,7 +7069,7 @@ const Sr = {
|
|
|
7061
7069
|
rounded: "",
|
|
7062
7070
|
flat: ""
|
|
7063
7071
|
}, {
|
|
7064
|
-
default:
|
|
7072
|
+
default: _(() => [
|
|
7065
7073
|
x(t).timeSamples.length > 1 ? (c(), E(k, {
|
|
7066
7074
|
key: 0,
|
|
7067
7075
|
class: "pa-2 pr-2",
|
|
@@ -7076,13 +7084,13 @@ const Sr = {
|
|
|
7076
7084
|
"thumb-color": "white",
|
|
7077
7085
|
"hide-details": ""
|
|
7078
7086
|
}, {
|
|
7079
|
-
prepend:
|
|
7080
|
-
|
|
7087
|
+
prepend: _(() => [
|
|
7088
|
+
C(f, {
|
|
7081
7089
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
7082
7090
|
class: "mr-2 icon",
|
|
7083
7091
|
color: "warning"
|
|
7084
7092
|
}, {
|
|
7085
|
-
default:
|
|
7093
|
+
default: _(() => [
|
|
7086
7094
|
te(" mdi-white-balance-sunny ")
|
|
7087
7095
|
]),
|
|
7088
7096
|
_: 1
|
|
@@ -7091,12 +7099,12 @@ const Sr = {
|
|
|
7091
7099
|
]),
|
|
7092
7100
|
_: 1
|
|
7093
7101
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (c(), D(de, { key: 1 }, [
|
|
7094
|
-
|
|
7102
|
+
C(f, {
|
|
7095
7103
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
7096
7104
|
class: "mr-2 icon",
|
|
7097
7105
|
color: "warning"
|
|
7098
7106
|
}, {
|
|
7099
|
-
default:
|
|
7107
|
+
default: _(() => [
|
|
7100
7108
|
te(" mdi-white-balance-sunny ")
|
|
7101
7109
|
]),
|
|
7102
7110
|
_: 1
|
|
@@ -7122,11 +7130,11 @@ const Sr = {
|
|
|
7122
7130
|
},
|
|
7123
7131
|
emits: ["onZoomIn", "onZoomOut"],
|
|
7124
7132
|
setup(l, { emit: a }) {
|
|
7125
|
-
const e = l, { isMobileSized: n, canZoomIn: t, canZoomOut: o, disabled: i } =
|
|
7133
|
+
const e = l, { isMobileSized: n, canZoomIn: t, canZoomOut: o, disabled: i } = Ee(e), s = a;
|
|
7126
7134
|
return (p, m) => {
|
|
7127
7135
|
const r = T("v-btn");
|
|
7128
7136
|
return c(), D("div", Er, [
|
|
7129
|
-
|
|
7137
|
+
C(r, {
|
|
7130
7138
|
disabled: x(i) || !x(t),
|
|
7131
7139
|
size: x(n) ? "x-small" : "small",
|
|
7132
7140
|
flat: "",
|
|
@@ -7135,7 +7143,7 @@ const Sr = {
|
|
|
7135
7143
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
7136
7144
|
}, null, 8, ["disabled", "size"]),
|
|
7137
7145
|
$r,
|
|
7138
|
-
|
|
7146
|
+
C(r, {
|
|
7139
7147
|
disabled: x(i) || !x(o),
|
|
7140
7148
|
size: x(n) ? "x-small" : "small",
|
|
7141
7149
|
flat: "",
|
|
@@ -7156,22 +7164,22 @@ const Sr = {
|
|
|
7156
7164
|
},
|
|
7157
7165
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
7158
7166
|
setup(l, { emit: a }) {
|
|
7159
|
-
const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } =
|
|
7160
|
-
|
|
7167
|
+
const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } = Ee(e), s = a, p = v(), m = v(), r = pt({});
|
|
7168
|
+
Ve(() => {
|
|
7161
7169
|
for (const y in r) {
|
|
7162
|
-
const { element: d, state: h } = r[y], { r: S, g:
|
|
7170
|
+
const { element: d, state: h } = r[y], { r: S, g: b, b: g, a: z, s: V } = t.value(y, h) || {
|
|
7163
7171
|
r: 0,
|
|
7164
7172
|
g: 0,
|
|
7165
7173
|
b: 0,
|
|
7166
7174
|
a: 0,
|
|
7167
7175
|
s: 0
|
|
7168
7176
|
};
|
|
7169
|
-
d.style.fill = `rgba(${S}, ${
|
|
7177
|
+
d.style.fill = `rgba(${S}, ${b}, ${g}, ${z / 255})`, d.style.stroke = `rgb(${S}, ${b}, ${g})`, d.style.strokeWidth = V.toString();
|
|
7170
7178
|
}
|
|
7171
7179
|
}), Y(i, () => {
|
|
7172
7180
|
for (const y in r)
|
|
7173
7181
|
r[y].state === "selected" && y !== i.value ? r[y].state = "idle" : r[y].state !== "selected" && y === i.value && (r[y].state = "selected");
|
|
7174
|
-
}),
|
|
7182
|
+
}), Ve(async () => {
|
|
7175
7183
|
p.value = await Fe.loadText(
|
|
7176
7184
|
pe(n.value, o.value.overlayFilename)
|
|
7177
7185
|
), k();
|
|
@@ -7209,27 +7217,27 @@ const Sr = {
|
|
|
7209
7217
|
if (y) {
|
|
7210
7218
|
s("updateSvgContainer", y), f();
|
|
7211
7219
|
let h, S = "data-structure-id";
|
|
7212
|
-
h = y.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = y.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = y.querySelectorAll(`[${S}]`))), h.forEach((
|
|
7213
|
-
|
|
7220
|
+
h = y.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = y.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = y.querySelectorAll(`[${S}]`))), h.forEach((b) => {
|
|
7221
|
+
b.style.strokeWidth = "0", b.style.stroke = "rgba(255,255,255,0)", b.style.fill = "rgba(255,255,255,0)", b.querySelectorAll("path").forEach((z) => {
|
|
7214
7222
|
z.style.stroke = "inherit", z.style.fill = "inherit";
|
|
7215
7223
|
});
|
|
7216
|
-
const g =
|
|
7224
|
+
const g = b.getAttribute(S);
|
|
7217
7225
|
r[g] = {
|
|
7218
|
-
element:
|
|
7226
|
+
element: b,
|
|
7219
7227
|
state: i.value === g ? "selected" : "idle"
|
|
7220
|
-
},
|
|
7228
|
+
}, b.addEventListener("mouseover", () => {
|
|
7221
7229
|
r[g].state === "idle" && (r[g].state = "hover"), s("onHoverOver", g);
|
|
7222
|
-
}),
|
|
7230
|
+
}), b.addEventListener("mouseout", () => {
|
|
7223
7231
|
r[g].state === "hover" && (r[g].state = "idle"), s("onHoverOut", g);
|
|
7224
|
-
}),
|
|
7232
|
+
}), b.addEventListener("click", () => {
|
|
7225
7233
|
s("onClick", g);
|
|
7226
7234
|
});
|
|
7227
7235
|
});
|
|
7228
7236
|
}
|
|
7229
7237
|
});
|
|
7230
7238
|
}
|
|
7231
|
-
return (y, d) => (c(), E(
|
|
7232
|
-
default:
|
|
7239
|
+
return (y, d) => (c(), E(Te, null, {
|
|
7240
|
+
default: _(() => [
|
|
7233
7241
|
(c(), D("div", {
|
|
7234
7242
|
ref_key: "svgContainer",
|
|
7235
7243
|
ref: m,
|
|
@@ -7568,12 +7576,12 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7568
7576
|
defaultDay: r,
|
|
7569
7577
|
defaultTime: f,
|
|
7570
7578
|
mobileBreakpoint: k
|
|
7571
|
-
} =
|
|
7579
|
+
} = Ee(e), y = a;
|
|
7572
7580
|
Je(
|
|
7573
|
-
|
|
7574
|
-
i.value ? new
|
|
7581
|
+
$e,
|
|
7582
|
+
i.value ? new Be(i.value) : new Be()
|
|
7575
7583
|
);
|
|
7576
|
-
const d = v(), h = v(), S = v(),
|
|
7584
|
+
const d = v(), h = v(), S = v(), b = v(null), g = v(4), z = v(), V = v(!1), P = v(!1), I = v(), L = B(() => I.value.isHoverEnabled), J = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), X = v(), w = v(), A = v(!1), G = v(), Q = v({
|
|
7577
7585
|
current: 100,
|
|
7578
7586
|
min: 100,
|
|
7579
7587
|
max: 1e3
|
|
@@ -7584,7 +7592,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7584
7592
|
n,
|
|
7585
7593
|
(U) => {
|
|
7586
7594
|
try {
|
|
7587
|
-
|
|
7595
|
+
w.value = Nr(U);
|
|
7588
7596
|
} catch (O) {
|
|
7589
7597
|
y("onError", O);
|
|
7590
7598
|
}
|
|
@@ -7603,32 +7611,32 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7603
7611
|
}
|
|
7604
7612
|
);
|
|
7605
7613
|
const re = B(
|
|
7606
|
-
() =>
|
|
7614
|
+
() => w.value ? w.value.cameras.filter(zr) : []
|
|
7607
7615
|
), W = B(
|
|
7608
|
-
() =>
|
|
7616
|
+
() => w.value ? w.value.cameras.filter(Dt) : []
|
|
7609
7617
|
);
|
|
7610
7618
|
Y(
|
|
7611
|
-
[
|
|
7619
|
+
[w, t, m],
|
|
7612
7620
|
async () => {
|
|
7613
7621
|
t.value && re.value.length > 0 && (m.value ? d.value = re.value.find(
|
|
7614
7622
|
(U) => U.cameraName === m.value
|
|
7615
|
-
) || re.value[0] : d.value = re.value[0], g.value =
|
|
7623
|
+
) || re.value[0] : d.value = re.value[0], g.value = w.value.cameras.findIndex(
|
|
7616
7624
|
(U) => U === d.value
|
|
7617
7625
|
), g.value = Math.max(0, g.value));
|
|
7618
7626
|
},
|
|
7619
7627
|
{ immediate: !0 }
|
|
7620
7628
|
), Y(
|
|
7621
|
-
[
|
|
7629
|
+
[w, t, r],
|
|
7622
7630
|
() => {
|
|
7623
|
-
|
|
7631
|
+
w.value && t.value && d.value && d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && (r.value ? h.value = d.value.sunsimDayOfYear.find(
|
|
7624
7632
|
(U) => U.dayOfYear === r.value
|
|
7625
7633
|
) || d.value.sunsimDayOfYear[0] : h.value = d.value.sunsimDayOfYear[0]);
|
|
7626
7634
|
},
|
|
7627
7635
|
{ immediate: !0 }
|
|
7628
7636
|
), Y(
|
|
7629
|
-
[
|
|
7637
|
+
[w, t, f],
|
|
7630
7638
|
() => {
|
|
7631
|
-
|
|
7639
|
+
w.value && t.value && h.value && h.value.timeSamples && h.value.timeSamples.length > 0 && (f.value ? S.value = h.value.timeSamples.find(
|
|
7632
7640
|
(U) => U.timeInHours === f.value
|
|
7633
7641
|
) || h.value.timeSamples[0] : S.value = h.value.timeSamples.find(
|
|
7634
7642
|
(U) => U.timeInHours === h.value.defaultHour
|
|
@@ -7638,19 +7646,19 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7638
7646
|
);
|
|
7639
7647
|
function M(U) {
|
|
7640
7648
|
d.value !== U && Se(
|
|
7641
|
-
|
|
7649
|
+
w.value.cameras.findIndex((O) => O === U)
|
|
7642
7650
|
);
|
|
7643
7651
|
}
|
|
7644
7652
|
function q(U) {
|
|
7645
|
-
g.value = U, Dt(
|
|
7653
|
+
g.value = U, Dt(w.value.cameras[g.value]) ? b.value = w.value.cameras[g.value] : (De(() => {
|
|
7646
7654
|
K(
|
|
7647
|
-
|
|
7655
|
+
w.value.cameras[g.value]
|
|
7648
7656
|
);
|
|
7649
|
-
}),
|
|
7657
|
+
}), b.value = null);
|
|
7650
7658
|
}
|
|
7651
7659
|
function K(U) {
|
|
7652
7660
|
const O = h.value;
|
|
7653
|
-
d.value = U, g.value =
|
|
7661
|
+
d.value = U, g.value = w.value.cameras.findIndex(
|
|
7654
7662
|
(j) => j === d.value
|
|
7655
7663
|
), De(() => {
|
|
7656
7664
|
d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && se(
|
|
@@ -7677,7 +7685,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7677
7685
|
}
|
|
7678
7686
|
function ie(U) {
|
|
7679
7687
|
y("onClick", U, () => {
|
|
7680
|
-
const O =
|
|
7688
|
+
const O = w.value.stillCameraData.find(
|
|
7681
7689
|
(j) => j.id === U
|
|
7682
7690
|
);
|
|
7683
7691
|
O && Se(O.bestIndex);
|
|
@@ -7721,20 +7729,20 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7721
7729
|
G.value.adjustZoom(U ? 10 : -10);
|
|
7722
7730
|
}
|
|
7723
7731
|
function _e(U) {
|
|
7724
|
-
return
|
|
7732
|
+
return w.value.stillCameraIndices.findIndex(
|
|
7725
7733
|
(O) => O === U
|
|
7726
7734
|
);
|
|
7727
7735
|
}
|
|
7728
7736
|
async function Se(U) {
|
|
7729
7737
|
const O = g.value;
|
|
7730
|
-
if (
|
|
7731
|
-
const j =
|
|
7738
|
+
if (w.value.loopable) {
|
|
7739
|
+
const j = w.value.stillCameraIndices.length, ae = _e(O), fe = _e(U);
|
|
7732
7740
|
let xe = 0, Oe = 0, ce = ae;
|
|
7733
7741
|
for (; ce++, ce >= j && (ce = 0), ce !== fe; )
|
|
7734
7742
|
xe++;
|
|
7735
7743
|
for (ce = ae; ce--, ce < 0 && (ce += j), ce !== fe; )
|
|
7736
7744
|
Oe++;
|
|
7737
|
-
xe === Oe ? Ie(O, U) : xe < Oe ? ae < fe ? Ie(O, U) : Ie(O, U +
|
|
7745
|
+
xe === Oe ? Ie(O, U) : xe < Oe ? ae < fe ? Ie(O, U) : Ie(O, U + w.value.cameras.length) : ae >= fe ? Ie(O, U) : Ie(O + w.value.cameras.length, U);
|
|
7738
7746
|
} else
|
|
7739
7747
|
Ie(O, U);
|
|
7740
7748
|
}
|
|
@@ -7744,9 +7752,9 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7744
7752
|
let ae, fe = U;
|
|
7745
7753
|
ae = setInterval(() => {
|
|
7746
7754
|
fe < O ? (fe++, g.value = Math.abs(
|
|
7747
|
-
fe %
|
|
7755
|
+
fe % w.value.cameras.length
|
|
7748
7756
|
), q(g.value)) : fe > O ? (fe--, g.value = Math.abs(
|
|
7749
|
-
fe %
|
|
7757
|
+
fe % w.value.cameras.length
|
|
7750
7758
|
), q(g.value)) : (clearInterval(ae), P.value = !1, j());
|
|
7751
7759
|
}, 12);
|
|
7752
7760
|
});
|
|
@@ -7754,14 +7762,14 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7754
7762
|
return (U, O) => {
|
|
7755
7763
|
const j = T("v-skeleton-loader");
|
|
7756
7764
|
return c(), D(de, null, [
|
|
7757
|
-
|
|
7765
|
+
C(j, {
|
|
7758
7766
|
type: "image",
|
|
7759
7767
|
class: "w-100 h-100 position-relative",
|
|
7760
|
-
loading: !V.value || !
|
|
7768
|
+
loading: !V.value || !w.value
|
|
7761
7769
|
}, {
|
|
7762
|
-
default:
|
|
7763
|
-
|
|
7764
|
-
default:
|
|
7770
|
+
default: _(() => [
|
|
7771
|
+
C(Te, { class: "w-100 h-100" }, {
|
|
7772
|
+
default: _(() => [
|
|
7765
7773
|
u("div", {
|
|
7766
7774
|
ref_key: "container",
|
|
7767
7775
|
ref: X,
|
|
@@ -7787,7 +7795,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7787
7795
|
}),
|
|
7788
7796
|
longitude: d.value.cameraRotation.y + 270
|
|
7789
7797
|
}, null, 8, ["style", "longitude"])) : $("", !0),
|
|
7790
|
-
|
|
7798
|
+
C(Br, {
|
|
7791
7799
|
"is-mobile-sized": A.value,
|
|
7792
7800
|
"can-zoom-out": Q.value.min < Q.value.current,
|
|
7793
7801
|
"can-zoom-in": Q.value.max > Q.value.current,
|
|
@@ -7804,7 +7812,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7804
7812
|
}),
|
|
7805
7813
|
style: { "z-index": "7" }
|
|
7806
7814
|
}, [
|
|
7807
|
-
|
|
7815
|
+
C(Lr, {
|
|
7808
7816
|
"is-mobile-sized": A.value,
|
|
7809
7817
|
"still-cameras": re.value,
|
|
7810
7818
|
"current-camera": d.value,
|
|
@@ -7813,13 +7821,13 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7813
7821
|
onOnCameraChange: M
|
|
7814
7822
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
7815
7823
|
], 2)) : $("", !0),
|
|
7816
|
-
|
|
7824
|
+
C(Ke, {
|
|
7817
7825
|
ref_key: "zoomBox",
|
|
7818
7826
|
ref: G,
|
|
7819
7827
|
position: "relative",
|
|
7820
7828
|
onUpdate: Ae
|
|
7821
7829
|
}, {
|
|
7822
|
-
default:
|
|
7830
|
+
default: _(() => [
|
|
7823
7831
|
(c(!0), D(de, null, ge(re.value, (ae, fe) => (c(), E(br, {
|
|
7824
7832
|
key: `camera${fe}`,
|
|
7825
7833
|
"camera-data": ae,
|
|
@@ -7832,7 +7840,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7832
7840
|
key: `transition${fe}`,
|
|
7833
7841
|
"transition-data": ae,
|
|
7834
7842
|
"cdn-file-resolver": x(t),
|
|
7835
|
-
"current-transition":
|
|
7843
|
+
"current-transition": b.value
|
|
7836
7844
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
7837
7845
|
x(s) ? (c(), D("div", {
|
|
7838
7846
|
key: 0,
|
|
@@ -7851,7 +7859,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7851
7859
|
onOnHoverOut: ue,
|
|
7852
7860
|
onUpdateSvgContainer: O[2] || (O[2] = (ae) => R.value = ae)
|
|
7853
7861
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
|
|
7854
|
-
[Ce,
|
|
7862
|
+
[Ce, b.value === null]
|
|
7855
7863
|
]) : $("", !0)
|
|
7856
7864
|
]),
|
|
7857
7865
|
_: 1
|
|
@@ -7864,7 +7872,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7864
7872
|
}),
|
|
7865
7873
|
style: { "z-index": "7" }
|
|
7866
7874
|
}, [
|
|
7867
|
-
|
|
7875
|
+
C(xr, {
|
|
7868
7876
|
class: "pr-2",
|
|
7869
7877
|
"is-mobile-sized": A.value,
|
|
7870
7878
|
"current-camera": d.value,
|
|
@@ -7872,7 +7880,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7872
7880
|
disabled: P.value,
|
|
7873
7881
|
onOnDayChange: se
|
|
7874
7882
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
7875
|
-
|
|
7883
|
+
C(Vr, {
|
|
7876
7884
|
"is-mobile-sized": A.value,
|
|
7877
7885
|
"current-day": h.value,
|
|
7878
7886
|
"current-time": S.value,
|
|
@@ -7885,7 +7893,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7885
7893
|
"is-hoverable": L.value,
|
|
7886
7894
|
pos: J.value
|
|
7887
7895
|
}, {
|
|
7888
|
-
default:
|
|
7896
|
+
default: _(() => [
|
|
7889
7897
|
u("div", Qr, [
|
|
7890
7898
|
oe(U.$slots, "popup", lt(st({ hoverId: z.value, hoverable: L.value })), void 0, !0)
|
|
7891
7899
|
])
|
|
@@ -7900,7 +7908,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7900
7908
|
]),
|
|
7901
7909
|
_: 3
|
|
7902
7910
|
}, 8, ["loading"]),
|
|
7903
|
-
|
|
7911
|
+
C(He, {
|
|
7904
7912
|
ref_key: "hoverProbe",
|
|
7905
7913
|
ref: I
|
|
7906
7914
|
}, null, 512)
|