@qispace/vue3-player 0.4.68 → 0.4.69
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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, computed as $, resolveComponent as L, openBlock as v, createBlock as I, withCtx as c, createElementBlock as M, normalizeStyle as de, renderSlot as J, ref as w, unref as
|
|
1
|
+
import { defineComponent as W, computed as $, resolveComponent as L, openBlock as v, createBlock as I, withCtx as c, createElementBlock as M, normalizeStyle as de, renderSlot as J, ref as w, unref as y, watch as H, onMounted as Ye, onBeforeUnmount as et, createElementVNode as e, toRefs as Ve, nextTick as Xe, inject as Me, toDisplayString as T, createVNode as h, mergeProps as Ie, Fragment as Ue, renderList as Ne, normalizeClass as ve, createTextVNode as Q, Transition as He, createCommentVNode as S, withDirectives as Ke, vModelText as ga, createStaticVNode as aa, onBeforeUpdate as Da, withModifiers as ya, provide as it, vShow as rt, useModel as ut, reactive as wa, mergeModels as ba, toRaw as Ra, watchEffect as na, normalizeProps as Ua, guardReactiveProps as Ha } from "vue";
|
|
2
2
|
import It from "axios";
|
|
3
3
|
import * as Pa from "@qispace/player-core";
|
|
4
4
|
import { Vector3 as wt, Object3D as ja, MathUtils as za } from "three";
|
|
@@ -78,7 +78,7 @@ const Wa = /* @__PURE__ */ W({
|
|
|
78
78
|
return (a, o) => {
|
|
79
79
|
const s = L("v-img");
|
|
80
80
|
return v(), I(s, {
|
|
81
|
-
src:
|
|
81
|
+
src: y(Qa),
|
|
82
82
|
style: de(t.value)
|
|
83
83
|
}, null, 8, ["src", "style"]);
|
|
84
84
|
};
|
|
@@ -99,7 +99,7 @@ const Wa = /* @__PURE__ */ W({
|
|
|
99
99
|
n({
|
|
100
100
|
adjustZoom: re
|
|
101
101
|
});
|
|
102
|
-
const s = w(100), i = w(0), f = w(0), k = w(!1), r = w(!1), d = w(void 0),
|
|
102
|
+
const s = w(100), i = w(0), f = w(0), k = w(!1), r = w(!1), d = w(void 0), g = w(!1), m = w(), E = $(() => `translateX(${i.value}px) translateY(${f.value}px) scale(${b.value})`), b = $(() => s.value / 100), u = $(() => a.maxScale * 100);
|
|
103
103
|
H(
|
|
104
104
|
[b, i, f],
|
|
105
105
|
() => {
|
|
@@ -174,7 +174,7 @@ const Wa = /* @__PURE__ */ W({
|
|
|
174
174
|
re(-B.deltaY / 10, ae, oe), B.preventDefault();
|
|
175
175
|
}
|
|
176
176
|
function le(B) {
|
|
177
|
-
k.value = !0,
|
|
177
|
+
k.value = !0, g.value = !1, d.value = B;
|
|
178
178
|
}
|
|
179
179
|
function D(B) {
|
|
180
180
|
if (k.value) {
|
|
@@ -182,14 +182,14 @@ const Wa = /* @__PURE__ */ W({
|
|
|
182
182
|
x: ae - N,
|
|
183
183
|
y: oe - X
|
|
184
184
|
};
|
|
185
|
-
be(z.x), G(z.y),
|
|
185
|
+
be(z.x), G(z.y), g.value = !0, d.value = B;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
function q(B) {
|
|
189
|
-
k.value &&
|
|
189
|
+
k.value && g.value && a.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
|
|
190
190
|
}
|
|
191
191
|
function he(B) {
|
|
192
|
-
k.value && (
|
|
192
|
+
k.value && (g.value && a.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), k.value = !1);
|
|
193
193
|
}
|
|
194
194
|
function P(B) {
|
|
195
195
|
k.value = B.touches.length === 1, r.value = B.touches.length === 2, d.value = B;
|
|
@@ -344,7 +344,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
344
344
|
currentCameraId: k,
|
|
345
345
|
showStaticImage: r,
|
|
346
346
|
mouseSensitivity: d,
|
|
347
|
-
rotateOnCameraNavigate:
|
|
347
|
+
rotateOnCameraNavigate: g
|
|
348
348
|
} = Ve(o), m = t, E = w(), b = w(k.value), u = w(0), p = w(0), _ = w(!1);
|
|
349
349
|
H(k, () => {
|
|
350
350
|
b.value = k.value;
|
|
@@ -362,7 +362,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
362
362
|
() => {
|
|
363
363
|
E.value && E.value.goToCamera(
|
|
364
364
|
b.value,
|
|
365
|
-
|
|
365
|
+
g.value
|
|
366
366
|
), m("newCameraCallback", b.value);
|
|
367
367
|
},
|
|
368
368
|
{ immediate: !0 }
|
|
@@ -458,7 +458,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
458
458
|
e("div", vn, [
|
|
459
459
|
e("canvas", {
|
|
460
460
|
id: "qpc",
|
|
461
|
-
style: de(
|
|
461
|
+
style: de(y(r) ? "visibility:hidden" : "visibility:visible")
|
|
462
462
|
}, null, 4)
|
|
463
463
|
])
|
|
464
464
|
])
|
|
@@ -476,15 +476,15 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
476
476
|
},
|
|
477
477
|
emits: ["level"],
|
|
478
478
|
setup(l, { emit: n }) {
|
|
479
|
-
const t = l, a = n, o = Me(De), s = $(() =>
|
|
480
|
-
const d = t.floorLevels;
|
|
481
|
-
return d.sort(), d;
|
|
482
|
-
}), i = $(() => s.value.indexOf(t.level) + 1 <= s.value.length / 2 ? "lower" : "upper"), f = $(() => i.value === "lower"), k = $(() => i.value === "upper");
|
|
479
|
+
const t = l, a = n, o = Me(De), s = $(() => [...t.floorLevels].sort((d, g) => d - g)), i = $(() => s.value.indexOf(t.level) + 1 <= s.value.length / 2 ? "lower" : "upper"), f = $(() => i.value === "lower"), k = $(() => i.value === "upper");
|
|
483
480
|
function r() {
|
|
484
|
-
const d =
|
|
485
|
-
d
|
|
481
|
+
const d = s.value;
|
|
482
|
+
if (d.length === 0)
|
|
483
|
+
return;
|
|
484
|
+
const g = d.indexOf(t.level), m = g === -1 ? 0 : (g + 1) % d.length;
|
|
485
|
+
a("level", d[m]);
|
|
486
486
|
}
|
|
487
|
-
return (d,
|
|
487
|
+
return (d, g) => {
|
|
488
488
|
const m = L("v-btn"), E = L("v-tooltip");
|
|
489
489
|
return v(), I(E, {
|
|
490
490
|
right: "",
|
|
@@ -519,13 +519,13 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
519
519
|
}, 16)
|
|
520
520
|
]),
|
|
521
521
|
default: c(() => [
|
|
522
|
-
e("span", yn, T(
|
|
522
|
+
e("span", yn, T(y(o).getLabel(i.value)) + " " + T(y(o).getLabel("floor")), 1)
|
|
523
523
|
]),
|
|
524
524
|
_: 1
|
|
525
525
|
});
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
|
-
}), bn = /* @__PURE__ */ te(wn, [["__scopeId", "data-v-
|
|
528
|
+
}), bn = /* @__PURE__ */ te(wn, [["__scopeId", "data-v-e87b6c49"]]), kn = { class: "d-none d-md-inline" }, _n = { class: "interior-selector-list" }, Cn = ["onClick"], Ln = { class: "d-flex align-center justify-left pa-0 ma-0" }, xn = { class: "pa-0 ma-0" }, Sn = { class: "text-caption ma-2 no-wrap" }, En = /* @__PURE__ */ W({
|
|
529
529
|
__name: "VInteriorSelector",
|
|
530
530
|
props: {
|
|
531
531
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -545,8 +545,8 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
545
545
|
elevation: "0",
|
|
546
546
|
attach: ""
|
|
547
547
|
}, {
|
|
548
|
-
activator: c(({ props:
|
|
549
|
-
h(k, Ie({ rounded: "" },
|
|
548
|
+
activator: c(({ props: g }) => [
|
|
549
|
+
h(k, Ie({ rounded: "" }, g, { class: "text-capitalize" }), {
|
|
550
550
|
default: c(() => [
|
|
551
551
|
h(f, null, {
|
|
552
552
|
default: c(() => [...i[0] || (i[0] = [
|
|
@@ -554,16 +554,16 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
554
554
|
])]),
|
|
555
555
|
_: 1
|
|
556
556
|
}),
|
|
557
|
-
e("span", kn, T(
|
|
557
|
+
e("span", kn, T(y(o).getLabel("interior")), 1)
|
|
558
558
|
]),
|
|
559
559
|
_: 1
|
|
560
560
|
}, 16)
|
|
561
561
|
]),
|
|
562
562
|
default: c(() => [
|
|
563
563
|
e("div", _n, [
|
|
564
|
-
(v(!0), M(Ue, null, Ne(t.availableArchetypes, (
|
|
564
|
+
(v(!0), M(Ue, null, Ne(t.availableArchetypes, (g, m) => (v(), M("div", {
|
|
565
565
|
key: `at-menuitem-${m}`,
|
|
566
|
-
onClick: (E) => a("selectInterior",
|
|
566
|
+
onClick: (E) => a("selectInterior", g.archetypeID),
|
|
567
567
|
class: ve(["interior-selector-list-item", {
|
|
568
568
|
active: m === l.selectedIndex
|
|
569
569
|
}])
|
|
@@ -574,11 +574,11 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
574
574
|
width: "100",
|
|
575
575
|
"max-width": "100",
|
|
576
576
|
height: "66",
|
|
577
|
-
src:
|
|
577
|
+
src: g.url,
|
|
578
578
|
class: "pa-0 ma-0"
|
|
579
579
|
}, null, 8, ["src"])
|
|
580
580
|
]),
|
|
581
|
-
e("div", Sn, T(
|
|
581
|
+
e("div", Sn, T(y(o).get(g.title)), 1)
|
|
582
582
|
])
|
|
583
583
|
], 10, Cn))), 128))
|
|
584
584
|
])
|
|
@@ -630,7 +630,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
630
630
|
return v(), M("div", In, [
|
|
631
631
|
e("div", Fn, [
|
|
632
632
|
h(i, {
|
|
633
|
-
src:
|
|
633
|
+
src: y(xa),
|
|
634
634
|
"aspect-ratio": "1"
|
|
635
635
|
}, null, 8, ["src"])
|
|
636
636
|
]),
|
|
@@ -658,13 +658,13 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
658
658
|
return (i, f) => {
|
|
659
659
|
const k = L("v-icon"), r = L("v-btn"), d = L("v-tooltip");
|
|
660
660
|
return v(), I(d, { location: "top" }, {
|
|
661
|
-
activator: c(({ props:
|
|
661
|
+
activator: c(({ props: g }) => [
|
|
662
662
|
h(r, Ie({
|
|
663
663
|
density: "comfortable",
|
|
664
664
|
elevation: "1",
|
|
665
665
|
icon: "",
|
|
666
666
|
onClick: f[0] || (f[0] = (m) => a("toggle"))
|
|
667
|
-
},
|
|
667
|
+
}, g), {
|
|
668
668
|
default: c(() => [
|
|
669
669
|
s.value === "virtualTour" ? (v(), M("svg", On, [...f[1] || (f[1] = [
|
|
670
670
|
e("path", {
|
|
@@ -684,7 +684,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
684
684
|
}, 16)
|
|
685
685
|
]),
|
|
686
686
|
default: c(() => [
|
|
687
|
-
e("span", null, T(
|
|
687
|
+
e("span", null, T(y(o).getLabel(s.value)), 1)
|
|
688
688
|
]),
|
|
689
689
|
_: 1
|
|
690
690
|
});
|
|
@@ -713,7 +713,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
713
713
|
t("closeTutorial", o.value);
|
|
714
714
|
}
|
|
715
715
|
return (k, r) => {
|
|
716
|
-
const d = L("v-icon"),
|
|
716
|
+
const d = L("v-icon"), g = L("v-card-title"), m = L("v-btn"), E = L("v-divider"), b = L("v-card-text"), u = L("v-card-actions"), p = L("v-card"), _ = L("v-expand-transition"), x = L("v-checkbox");
|
|
717
717
|
return v(), I(He, { name: "fade-transition" }, {
|
|
718
718
|
default: c(() => [
|
|
719
719
|
h(p, {
|
|
@@ -721,7 +721,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
721
721
|
elevation: "16"
|
|
722
722
|
}, {
|
|
723
723
|
default: c(() => [
|
|
724
|
-
h(
|
|
724
|
+
h(g, { class: "text-capitalize" }, {
|
|
725
725
|
default: c(() => [
|
|
726
726
|
h(d, { size: "x-small" }, {
|
|
727
727
|
default: c(() => [...r[4] || (r[4] = [
|
|
@@ -729,13 +729,13 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
729
729
|
])]),
|
|
730
730
|
_: 1
|
|
731
731
|
}),
|
|
732
|
-
Q(" " + T(
|
|
732
|
+
Q(" " + T(y(a).getLabel("disclaimer")), 1)
|
|
733
733
|
]),
|
|
734
734
|
_: 1
|
|
735
735
|
}),
|
|
736
736
|
h(b, { class: "pb-0" }, {
|
|
737
737
|
default: c(() => [
|
|
738
|
-
e("p", null, T(
|
|
738
|
+
e("p", null, T(y(a).getLabel("disclaimerTextShort")), 1),
|
|
739
739
|
h(m, {
|
|
740
740
|
variant: "tonal",
|
|
741
741
|
size: "small",
|
|
@@ -743,7 +743,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
743
743
|
class: "text-capitalize mt-2"
|
|
744
744
|
}, {
|
|
745
745
|
default: c(() => [
|
|
746
|
-
Q(T(
|
|
746
|
+
Q(T(y(a).getLabel("learnMore")) + " ", 1),
|
|
747
747
|
h(d, null, {
|
|
748
748
|
default: c(() => [...r[5] || (r[5] = [
|
|
749
749
|
Q("mdi-chevron-right", -1)
|
|
@@ -805,7 +805,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
805
805
|
})
|
|
806
806
|
])
|
|
807
807
|
], -1)),
|
|
808
|
-
e("div", Pn, T(
|
|
808
|
+
e("div", Pn, T(y(a).getLabel("clickAndDragToLookAround")), 1)
|
|
809
809
|
]),
|
|
810
810
|
e("div", jn, [
|
|
811
811
|
r[7] || (r[7] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -939,7 +939,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
939
939
|
})
|
|
940
940
|
])
|
|
941
941
|
], -1)),
|
|
942
|
-
e("div", zn, T(
|
|
942
|
+
e("div", zn, T(y(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
943
943
|
]),
|
|
944
944
|
e("div", Yn, [
|
|
945
945
|
r[8] || (r[8] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1014,7 +1014,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1014
1014
|
})
|
|
1015
1015
|
])
|
|
1016
1016
|
], -1)),
|
|
1017
|
-
e("div", Nn, T(
|
|
1017
|
+
e("div", Nn, T(y(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1018
1018
|
]),
|
|
1019
1019
|
e("div", Wn, [
|
|
1020
1020
|
r[9] || (r[9] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1086,7 +1086,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1086
1086
|
})
|
|
1087
1087
|
])
|
|
1088
1088
|
], -1)),
|
|
1089
|
-
e("div", Zn, T(
|
|
1089
|
+
e("div", Zn, T(y(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
1090
1090
|
])
|
|
1091
1091
|
])
|
|
1092
1092
|
])),
|
|
@@ -1127,7 +1127,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1127
1127
|
})
|
|
1128
1128
|
])
|
|
1129
1129
|
], -1)),
|
|
1130
|
-
e("div", Qn, T(
|
|
1130
|
+
e("div", Qn, T(y(a).getLabel("tapAndDragToLookAround")), 1)
|
|
1131
1131
|
]),
|
|
1132
1132
|
e("div", Gn, [
|
|
1133
1133
|
r[11] || (r[11] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1265,7 +1265,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1265
1265
|
})
|
|
1266
1266
|
])
|
|
1267
1267
|
], -1)),
|
|
1268
|
-
e("div", Xn, T(
|
|
1268
|
+
e("div", Xn, T(y(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
1269
1269
|
]),
|
|
1270
1270
|
e("div", Kn, [
|
|
1271
1271
|
r[12] || (r[12] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1303,7 +1303,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1303
1303
|
})
|
|
1304
1304
|
])
|
|
1305
1305
|
], -1)),
|
|
1306
|
-
e("div", eo, T(
|
|
1306
|
+
e("div", eo, T(y(a).getLabel("useTwoFingersToZoom")), 1)
|
|
1307
1307
|
])
|
|
1308
1308
|
])) : S("", !0),
|
|
1309
1309
|
h(E, { class: "my-1" })
|
|
@@ -1328,9 +1328,9 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1328
1328
|
])]),
|
|
1329
1329
|
_: 1
|
|
1330
1330
|
}),
|
|
1331
|
-
Q(" " + T(
|
|
1331
|
+
Q(" " + T(y(a).getLabel("disclaimer")), 1)
|
|
1332
1332
|
]),
|
|
1333
|
-
e("p", ao, T(
|
|
1333
|
+
e("p", ao, T(y(a).getLabel("disclaimerText")), 1)
|
|
1334
1334
|
]),
|
|
1335
1335
|
_: 1
|
|
1336
1336
|
}),
|
|
@@ -1349,7 +1349,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1349
1349
|
])]),
|
|
1350
1350
|
_: 1
|
|
1351
1351
|
}),
|
|
1352
|
-
Q(" " + T(
|
|
1352
|
+
Q(" " + T(y(a).getLabel("back")), 1)
|
|
1353
1353
|
]),
|
|
1354
1354
|
_: 1
|
|
1355
1355
|
})
|
|
@@ -1370,7 +1370,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1370
1370
|
"hide-details": ""
|
|
1371
1371
|
}, {
|
|
1372
1372
|
label: c(() => [
|
|
1373
|
-
e("span", oo, T(
|
|
1373
|
+
e("span", oo, T(y(a).getLabel("dontShowAgain")), 1)
|
|
1374
1374
|
]),
|
|
1375
1375
|
_: 1
|
|
1376
1376
|
}, 8, ["modelValue"])
|
|
@@ -1383,7 +1383,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1383
1383
|
block: ""
|
|
1384
1384
|
}, {
|
|
1385
1385
|
default: c(() => [
|
|
1386
|
-
Q(T(
|
|
1386
|
+
Q(T(y(a).getLabel("iUnderstand")), 1)
|
|
1387
1387
|
]),
|
|
1388
1388
|
_: 1
|
|
1389
1389
|
})
|
|
@@ -1452,12 +1452,12 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1452
1452
|
const u = parseInt(b.substr(1, 2), 16) / 255, p = parseInt(b.substr(3, 2), 16) / 255, _ = parseInt(b.substr(5, 2), 16) / 255;
|
|
1453
1453
|
return [u, p, _];
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function g(b) {
|
|
1456
1456
|
var u = b.toString(16);
|
|
1457
1457
|
return u.length == 1 ? "0" + u : u;
|
|
1458
1458
|
}
|
|
1459
1459
|
function m([b, u, p]) {
|
|
1460
|
-
return "#" +
|
|
1460
|
+
return "#" + g(parseInt((b * 255).toString())) + g(parseInt((u * 255).toString())) + g(parseInt((p * 255).toString()));
|
|
1461
1461
|
}
|
|
1462
1462
|
function E(b = {}) {
|
|
1463
1463
|
const u = [
|
|
@@ -1761,16 +1761,16 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1761
1761
|
const p = f[u];
|
|
1762
1762
|
p.addEventListener("touchstart", m, { passive: !1 }), p.addEventListener("touchend", b, { passive: !1 }), p.addEventListener("mousedown", m, { passive: !1 }), p.addEventListener("mouseup", b, { passive: !1 });
|
|
1763
1763
|
}
|
|
1764
|
-
let k = 0, r = 0, d = 0,
|
|
1764
|
+
let k = 0, r = 0, d = 0, g = 0;
|
|
1765
1765
|
function m(u) {
|
|
1766
1766
|
u = u || window.event, u.preventDefault();
|
|
1767
1767
|
let p = u;
|
|
1768
|
-
u.type === "touchstart" && (p = u.touches[0]), d = p.clientX,
|
|
1768
|
+
u.type === "touchstart" && (p = u.touches[0]), d = p.clientX, g = p.clientY, document.addEventListener("mouseup", b, { passive: !1 }), document.addEventListener("touchend", b, { passive: !1 }), document.addEventListener("mousemove", E, { passive: !1 }), document.addEventListener("touchmove", E, { passive: !1 });
|
|
1769
1769
|
}
|
|
1770
1770
|
function E(u) {
|
|
1771
1771
|
u = u || window.event, u.preventDefault();
|
|
1772
1772
|
let p = u;
|
|
1773
|
-
u.type === "touchmove" && (p = u.touches[0]), k = d - p.clientX, r =
|
|
1773
|
+
u.type === "touchmove" && (p = u.touches[0]), k = d - p.clientX, r = g - p.clientY, d = p.clientX, g = p.clientY, i.style.top = i.offsetTop - r + "px", i.style.left = i.offsetLeft - k + "px";
|
|
1774
1774
|
}
|
|
1775
1775
|
function b() {
|
|
1776
1776
|
document.removeEventListener("mouseup", b, !1), document.removeEventListener("mousemove", E, !1), document.removeEventListener("touchend", b, !1), document.removeEventListener("touchmove", E, !1);
|
|
@@ -1832,7 +1832,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1832
1832
|
},
|
|
1833
1833
|
emits: ["goToCamera"],
|
|
1834
1834
|
setup(l, { emit: n }) {
|
|
1835
|
-
const t = l, a = n, o = w(512), s = w(384), i = w(512), f = w(384), k = w(new wt()), r = w(new ja()), d = w({}),
|
|
1835
|
+
const t = l, a = n, o = w(512), s = w(384), i = w(512), f = w(384), k = w(new wt()), r = w(new ja()), d = w({}), g = w(1), m = w(), E = o.value / o.value, b = $(() => {
|
|
1836
1836
|
const G = t.containerWidth / t.containerHeight;
|
|
1837
1837
|
let re;
|
|
1838
1838
|
return G > E ? re = t.containerHeight / s.value : re = t.containerWidth / o.value, re;
|
|
@@ -1899,7 +1899,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
1899
1899
|
if (!G)
|
|
1900
1900
|
return;
|
|
1901
1901
|
const re = G.offsetHeight / 384 * 0.8, ne = G.offsetWidth / 512 * 0.8;
|
|
1902
|
-
G.offsetHeight > G.offsetWidth ?
|
|
1902
|
+
G.offsetHeight > G.offsetWidth ? g.value = ne * 0.5 : g.value = re * 0.9;
|
|
1903
1903
|
}
|
|
1904
1904
|
function be(G) {
|
|
1905
1905
|
const ne = G.currentTarget.getBoundingClientRect(), B = G.clientX - ne.left, ae = G.clientY - ne.top, oe = document.querySelectorAll(".single-camera-marker");
|
|
@@ -2000,7 +2000,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
2000
2000
|
},
|
|
2001
2001
|
emits: ["setBackgroundImage"],
|
|
2002
2002
|
setup(l, { emit: n }) {
|
|
2003
|
-
const t = l, a = n, o = w((/* @__PURE__ */ new Date()).getHours()), s = w(!0), i = w(!0), f = w(""), k = w(/* @__PURE__ */ new Map()), r = $(() => t.minimapJson.storeys[t.level]), d = $(() => `${Math.floor(o.value).toString().padStart(2, "0")}:00`),
|
|
2003
|
+
const t = l, a = n, o = w((/* @__PURE__ */ new Date()).getHours()), s = w(!0), i = w(!0), f = w(""), k = w(/* @__PURE__ */ new Map()), r = $(() => t.minimapJson.storeys[t.level]), d = $(() => `${Math.floor(o.value).toString().padStart(2, "0")}:00`), g = $(() => {
|
|
2004
2004
|
if (r.value.sunsimFilesTimeStamps[o.value]) {
|
|
2005
2005
|
const _ = r.value.sunsimFilesTimeStamps[o.value].split(" ");
|
|
2006
2006
|
return `${_[0]} ${_[1]}`;
|
|
@@ -2096,7 +2096,7 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
2096
2096
|
])]),
|
|
2097
2097
|
_: 1
|
|
2098
2098
|
}),
|
|
2099
|
-
e("span", null, T(
|
|
2099
|
+
e("span", null, T(g.value), 1)
|
|
2100
2100
|
])
|
|
2101
2101
|
]),
|
|
2102
2102
|
"thumb-label": c(() => [
|
|
@@ -2142,10 +2142,10 @@ const en = { id: "player-wrapper" }, tn = { id: "player-sizer" }, an = {
|
|
|
2142
2142
|
function d(_) {
|
|
2143
2143
|
s.value = _;
|
|
2144
2144
|
}
|
|
2145
|
-
const
|
|
2145
|
+
const g = ["big", "bigger", "small"];
|
|
2146
2146
|
function m() {
|
|
2147
|
-
const x = (
|
|
2148
|
-
E.value =
|
|
2147
|
+
const x = (g.indexOf(E.value) + 1) % g.length;
|
|
2148
|
+
E.value = g[x];
|
|
2149
2149
|
}
|
|
2150
2150
|
const E = w("big");
|
|
2151
2151
|
function b() {
|
|
@@ -2259,7 +2259,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2259
2259
|
},
|
|
2260
2260
|
{ immediate: !0 }
|
|
2261
2261
|
), (k, r) => {
|
|
2262
|
-
const d = L("v-icon"),
|
|
2262
|
+
const d = L("v-icon"), g = L("v-slider"), m = L("v-field"), E = L("v-btn");
|
|
2263
2263
|
return v(), M("div", Qo, [
|
|
2264
2264
|
e("div", Go, [
|
|
2265
2265
|
h(m, {
|
|
@@ -2270,15 +2270,15 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2270
2270
|
flat: ""
|
|
2271
2271
|
}, {
|
|
2272
2272
|
default: c(() => [
|
|
2273
|
-
|
|
2273
|
+
y(a).timeSamples.length > 1 ? (v(), I(g, {
|
|
2274
2274
|
key: 0,
|
|
2275
2275
|
class: "pa-2 pr-2",
|
|
2276
2276
|
modelValue: f.value,
|
|
2277
2277
|
"onUpdate:modelValue": r[0] || (r[0] = (b) => f.value = b),
|
|
2278
|
-
min:
|
|
2279
|
-
max:
|
|
2280
|
-
step:
|
|
2281
|
-
disabled: !!
|
|
2278
|
+
min: y(a).startTime,
|
|
2279
|
+
max: y(a).endTime,
|
|
2280
|
+
step: y(a).interval,
|
|
2281
|
+
disabled: !!y(s),
|
|
2282
2282
|
density: "compact",
|
|
2283
2283
|
"thumb-size": "16",
|
|
2284
2284
|
"thumb-color": "white",
|
|
@@ -2295,7 +2295,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2295
2295
|
])]),
|
|
2296
2296
|
_: 1
|
|
2297
2297
|
}),
|
|
2298
|
-
e("span", Xo, T(
|
|
2298
|
+
e("span", Xo, T(y(pt)(f.value)), 1)
|
|
2299
2299
|
]),
|
|
2300
2300
|
_: 1
|
|
2301
2301
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), M(Ue, { key: 1 }, [
|
|
@@ -2309,7 +2309,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2309
2309
|
])]),
|
|
2310
2310
|
_: 1
|
|
2311
2311
|
}),
|
|
2312
|
-
e("span", Ko, T(
|
|
2312
|
+
e("span", Ko, T(y(pt)(f.value)), 1)
|
|
2313
2313
|
], 64))
|
|
2314
2314
|
]),
|
|
2315
2315
|
_: 1
|
|
@@ -2346,7 +2346,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2346
2346
|
onClick: s[0] || (s[0] = (f) => t("toggleSunStudy"))
|
|
2347
2347
|
}, {
|
|
2348
2348
|
default: c(() => [
|
|
2349
|
-
Q(T(
|
|
2349
|
+
Q(T(y(a).getLabel("openSunStudy")), 1)
|
|
2350
2350
|
]),
|
|
2351
2351
|
_: 1
|
|
2352
2352
|
})) : S("", !0);
|
|
@@ -2423,7 +2423,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2423
2423
|
d(), a("goto", r);
|
|
2424
2424
|
}
|
|
2425
2425
|
return (r, d) => {
|
|
2426
|
-
const
|
|
2426
|
+
const g = L("v-btn"), m = L("v-img"), E = L("v-icon"), b = L("v-card"), u = L("v-slide-group-item"), p = L("v-slide-group");
|
|
2427
2427
|
return v(), M("div", {
|
|
2428
2428
|
class: ve(["d-flex align-center justify-center", {
|
|
2429
2429
|
mobileWaypointWrapper: i.value,
|
|
@@ -2443,7 +2443,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2443
2443
|
mandatory: ""
|
|
2444
2444
|
}, {
|
|
2445
2445
|
prev: c(() => [
|
|
2446
|
-
i.value ? S("", !0) : (v(), I(
|
|
2446
|
+
i.value ? S("", !0) : (v(), I(g, {
|
|
2447
2447
|
key: 0,
|
|
2448
2448
|
class: ve(["carousel-button", { mobile: i.value }]),
|
|
2449
2449
|
icon: "mdi-chevron-left",
|
|
@@ -2453,7 +2453,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2453
2453
|
}, null, 8, ["class"]))
|
|
2454
2454
|
]),
|
|
2455
2455
|
next: c(() => [
|
|
2456
|
-
i.value ? S("", !0) : (v(), I(
|
|
2456
|
+
i.value ? S("", !0) : (v(), I(g, {
|
|
2457
2457
|
key: 0,
|
|
2458
2458
|
class: ve(["carousel-button", { mobile: i.value }]),
|
|
2459
2459
|
icon: "mdi-chevron-right",
|
|
@@ -2535,9 +2535,9 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2535
2535
|
navigator.clipboard.writeText(location.href);
|
|
2536
2536
|
}
|
|
2537
2537
|
return (k, r) => {
|
|
2538
|
-
const d = L("v-btn"),
|
|
2538
|
+
const d = L("v-btn"), g = L("v-tooltip"), m = L("v-toolbar-title"), E = L("v-spacer"), b = L("v-toolbar"), u = L("v-card-text"), p = L("v-card"), _ = L("v-dialog");
|
|
2539
2539
|
return v(), M("div", null, [
|
|
2540
|
-
h(
|
|
2540
|
+
h(g, {
|
|
2541
2541
|
elevation: "2",
|
|
2542
2542
|
top: "",
|
|
2543
2543
|
attach: ""
|
|
@@ -2551,7 +2551,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2551
2551
|
}, x), null, 16)
|
|
2552
2552
|
]),
|
|
2553
2553
|
default: c(() => [
|
|
2554
|
-
e("span", null, T(
|
|
2554
|
+
e("span", null, T(y(n).getLabel("share")), 1)
|
|
2555
2555
|
]),
|
|
2556
2556
|
_: 1
|
|
2557
2557
|
}),
|
|
@@ -2573,7 +2573,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2573
2573
|
}),
|
|
2574
2574
|
h(m, null, {
|
|
2575
2575
|
default: c(() => [
|
|
2576
|
-
Q(T(
|
|
2576
|
+
Q(T(y(n).getLabel("share")), 1)
|
|
2577
2577
|
]),
|
|
2578
2578
|
_: 1
|
|
2579
2579
|
}),
|
|
@@ -2584,7 +2584,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2584
2584
|
h(u, { class: "mt-5" }, {
|
|
2585
2585
|
default: c(() => [
|
|
2586
2586
|
e("p", il, [
|
|
2587
|
-
h(
|
|
2587
|
+
h(g, { location: "top" }, {
|
|
2588
2588
|
activator: c(({ props: x }) => [
|
|
2589
2589
|
h(d, Ie({
|
|
2590
2590
|
depressed: "",
|
|
@@ -2594,11 +2594,11 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2594
2594
|
}, x, { onClick: o }), null, 16)
|
|
2595
2595
|
]),
|
|
2596
2596
|
default: c(() => [
|
|
2597
|
-
e("span", null, T(
|
|
2597
|
+
e("span", null, T(y(n).getLabel("shareToFacebook")), 1)
|
|
2598
2598
|
]),
|
|
2599
2599
|
_: 1
|
|
2600
2600
|
}),
|
|
2601
|
-
h(
|
|
2601
|
+
h(g, { location: "top" }, {
|
|
2602
2602
|
activator: c(({ props: x }) => [
|
|
2603
2603
|
h(d, Ie({
|
|
2604
2604
|
depressed: "",
|
|
@@ -2608,11 +2608,11 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2608
2608
|
}, x, { onClick: i }), null, 16)
|
|
2609
2609
|
]),
|
|
2610
2610
|
default: c(() => [
|
|
2611
|
-
e("span", null, T(
|
|
2611
|
+
e("span", null, T(y(n).getLabel("shareToLinkedin")), 1)
|
|
2612
2612
|
]),
|
|
2613
2613
|
_: 1
|
|
2614
2614
|
}),
|
|
2615
|
-
h(
|
|
2615
|
+
h(g, { location: "top" }, {
|
|
2616
2616
|
activator: c(({ props: x }) => [
|
|
2617
2617
|
h(d, Ie({
|
|
2618
2618
|
depressed: "",
|
|
@@ -2622,11 +2622,11 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2622
2622
|
}, x, { onClick: s }), null, 16)
|
|
2623
2623
|
]),
|
|
2624
2624
|
default: c(() => [
|
|
2625
|
-
e("span", null, T(
|
|
2625
|
+
e("span", null, T(y(n).getLabel("shareToTwitter")), 1)
|
|
2626
2626
|
]),
|
|
2627
2627
|
_: 1
|
|
2628
2628
|
}),
|
|
2629
|
-
h(
|
|
2629
|
+
h(g, { location: "top" }, {
|
|
2630
2630
|
activator: c(({ props: x }) => [
|
|
2631
2631
|
h(d, Ie({
|
|
2632
2632
|
depressed: "",
|
|
@@ -2638,11 +2638,11 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2638
2638
|
}, x), null, 16, ["href"])
|
|
2639
2639
|
]),
|
|
2640
2640
|
default: c(() => [
|
|
2641
|
-
e("span", null, T(
|
|
2641
|
+
e("span", null, T(y(n).getLabel("shareViaEmail")), 1)
|
|
2642
2642
|
]),
|
|
2643
2643
|
_: 1
|
|
2644
2644
|
}),
|
|
2645
|
-
h(
|
|
2645
|
+
h(g, { location: "top" }, {
|
|
2646
2646
|
activator: c(({ props: x }) => [
|
|
2647
2647
|
h(d, Ie({
|
|
2648
2648
|
depressed: "",
|
|
@@ -2653,7 +2653,7 @@ const Qo = { class: "d-flex align-center" }, Go = { class: "d-block mr-1" }, Xo
|
|
|
2653
2653
|
}, x), null, 16)
|
|
2654
2654
|
]),
|
|
2655
2655
|
default: c(() => [
|
|
2656
|
-
e("span", null, T(
|
|
2656
|
+
e("span", null, T(y(n).getLabel("copyLink")), 1)
|
|
2657
2657
|
]),
|
|
2658
2658
|
_: 1
|
|
2659
2659
|
}),
|
|
@@ -2892,7 +2892,7 @@ const pl = {
|
|
|
2892
2892
|
// websiteUrl,
|
|
2893
2893
|
i18nConfig: r,
|
|
2894
2894
|
showCarousel: d,
|
|
2895
|
-
showTimeOfDay:
|
|
2895
|
+
showTimeOfDay: g,
|
|
2896
2896
|
showCompass: m,
|
|
2897
2897
|
showFullScreen: E,
|
|
2898
2898
|
showSnapshot: b,
|
|
@@ -2981,7 +2981,7 @@ const pl = {
|
|
|
2981
2981
|
if (oe.value && oe.value.storeys && $e.value in oe.value.storeys)
|
|
2982
2982
|
return oe.value.storeys[$e.value];
|
|
2983
2983
|
}), Ce = $(() => B.value && B.value.timeInHours), pe = $(() => {
|
|
2984
|
-
if (B.value && B.value.timeInHours &&
|
|
2984
|
+
if (B.value && B.value.timeInHours && g.value)
|
|
2985
2985
|
return Oa(B.value.timeInHours);
|
|
2986
2986
|
});
|
|
2987
2987
|
it(
|
|
@@ -3326,7 +3326,7 @@ const pl = {
|
|
|
3326
3326
|
e("div", gl, [
|
|
3327
3327
|
!Be.value.isActive && oe.value && K.value && ue.value && z.value && Se.value ? (v(), I(la, {
|
|
3328
3328
|
key: 0,
|
|
3329
|
-
"cdn-file-resolver":
|
|
3329
|
+
"cdn-file-resolver": y(o),
|
|
3330
3330
|
"apartment-json": B.value,
|
|
3331
3331
|
level: $e.value,
|
|
3332
3332
|
"minimap-json": oe.value,
|
|
@@ -3341,13 +3341,13 @@ const pl = {
|
|
|
3341
3341
|
}, [
|
|
3342
3342
|
h(pn, {
|
|
3343
3343
|
ref: "vPlayerInstance",
|
|
3344
|
-
"cdn-file-resolver":
|
|
3344
|
+
"cdn-file-resolver": y(o),
|
|
3345
3345
|
style: de({ zIndex: _e.value ? 1 : 2 }),
|
|
3346
3346
|
"show-static-image": _e.value,
|
|
3347
3347
|
"current-camera-id": ie.value,
|
|
3348
|
-
"mouse-sensitivity":
|
|
3348
|
+
"mouse-sensitivity": y(le),
|
|
3349
3349
|
"interior-id": z.value,
|
|
3350
|
-
"apartment-id":
|
|
3350
|
+
"apartment-id": y(s),
|
|
3351
3351
|
"rotate-on-camera-navigate": fe.value,
|
|
3352
3352
|
onNewCameraCallback: zt,
|
|
3353
3353
|
onNewRotationCallback: U,
|
|
@@ -3365,7 +3365,7 @@ const pl = {
|
|
|
3365
3365
|
}, null, 8, ["image"])) : S("", !0)
|
|
3366
3366
|
]),
|
|
3367
3367
|
"top-left": c(() => [
|
|
3368
|
-
|
|
3368
|
+
y(D) ? (v(), I(ee, {
|
|
3369
3369
|
key: 0,
|
|
3370
3370
|
density: "comfortable",
|
|
3371
3371
|
icon: "mdi-cog-outline",
|
|
@@ -3392,15 +3392,15 @@ const pl = {
|
|
|
3392
3392
|
}, null, 512)), [
|
|
3393
3393
|
[rt, me.value]
|
|
3394
3394
|
]) : S("", !0),
|
|
3395
|
-
me.value &&
|
|
3395
|
+
me.value && y(x) && qe.value.length > 1 ? (v(), I(bn, {
|
|
3396
3396
|
key: 2,
|
|
3397
3397
|
level: se.value,
|
|
3398
3398
|
"floor-levels": qe.value,
|
|
3399
3399
|
onLevel: at
|
|
3400
3400
|
}, null, 8, ["level", "floor-levels"])) : S("", !0),
|
|
3401
|
-
|
|
3401
|
+
y(D) && G.value ? (v(), M("div", yl, [
|
|
3402
3402
|
h(Lo, {
|
|
3403
|
-
"initial-settings":
|
|
3403
|
+
"initial-settings": y(q),
|
|
3404
3404
|
onUpdateSettings: $a,
|
|
3405
3405
|
onSaveSettings: Ta
|
|
3406
3406
|
}, null, 8, ["initial-settings"])
|
|
@@ -3408,7 +3408,7 @@ const pl = {
|
|
|
3408
3408
|
]),
|
|
3409
3409
|
"top-center": c(() => [...O[12] || (O[12] = [])]),
|
|
3410
3410
|
"top-right": c(() => [
|
|
3411
|
-
B.value &&
|
|
3411
|
+
B.value && y(m) ? Ke((v(), M("div", wl, [
|
|
3412
3412
|
h(An, { rotation: Le.value }, null, 8, ["rotation"])
|
|
3413
3413
|
], 512)), [
|
|
3414
3414
|
[rt, me.value]
|
|
@@ -3416,7 +3416,7 @@ const pl = {
|
|
|
3416
3416
|
e("div", {
|
|
3417
3417
|
onClick: O[4] || (O[4] = (xe) => Se.value = !Se.value)
|
|
3418
3418
|
}, [
|
|
3419
|
-
me.value && B.value && Ce.value && g
|
|
3419
|
+
me.value && B.value && Ce.value && y(g) ? (v(), I(Tn, {
|
|
3420
3420
|
key: 0,
|
|
3421
3421
|
hours: pe.value.hours,
|
|
3422
3422
|
minutes: pe.value.minutes,
|
|
@@ -3448,7 +3448,7 @@ const pl = {
|
|
|
3448
3448
|
})) : S("", !0),
|
|
3449
3449
|
Be.value.isActive && oe.value && K.value && ue.value && Se.value ? (v(), I(la, {
|
|
3450
3450
|
key: 1,
|
|
3451
|
-
"cdn-file-resolver":
|
|
3451
|
+
"cdn-file-resolver": y(o),
|
|
3452
3452
|
"apartment-json": B.value,
|
|
3453
3453
|
"minimap-json": oe.value,
|
|
3454
3454
|
rotation: Le.value,
|
|
@@ -3473,13 +3473,13 @@ const pl = {
|
|
|
3473
3473
|
})
|
|
3474
3474
|
]),
|
|
3475
3475
|
"bottom-left": c(() => [
|
|
3476
|
-
|
|
3476
|
+
y(E) ? (v(), I(Ma, {
|
|
3477
3477
|
key: 0,
|
|
3478
3478
|
"is-full-screen": Be.value.isActive,
|
|
3479
3479
|
class: "btn-fullscreen",
|
|
3480
3480
|
onToggleFullscreen: Ia
|
|
3481
3481
|
}, null, 8, ["is-full-screen"])) : S("", !0),
|
|
3482
|
-
|
|
3482
|
+
y(b) ? (v(), M("div", bl, [
|
|
3483
3483
|
h(ee, {
|
|
3484
3484
|
density: "comfortable",
|
|
3485
3485
|
elevation: "3",
|
|
@@ -3488,13 +3488,13 @@ const pl = {
|
|
|
3488
3488
|
})
|
|
3489
3489
|
])) : S("", !0),
|
|
3490
3490
|
e("div", kl, [
|
|
3491
|
-
|
|
3491
|
+
y(k) && me.value ? (v(), I(Dn, {
|
|
3492
3492
|
key: 0,
|
|
3493
3493
|
"show-static-image": _e.value,
|
|
3494
3494
|
onToggle: Fa
|
|
3495
3495
|
}, null, 8, ["show-static-image"])) : S("", !0)
|
|
3496
3496
|
]),
|
|
3497
|
-
me.value &&
|
|
3497
|
+
me.value && y(u) && !Be.value.isActive ? (v(), M("div", _l, [
|
|
3498
3498
|
h(Sa)
|
|
3499
3499
|
])) : S("", !0),
|
|
3500
3500
|
me.value && l.showVisuadoCreateButton ? (v(), M("div", Cl, [
|
|
@@ -3526,7 +3526,7 @@ const pl = {
|
|
|
3526
3526
|
onOnTimeChange: V,
|
|
3527
3527
|
onToggleSunStudy: O[8] || (O[8] = (xe) => ke.value = !ke.value)
|
|
3528
3528
|
}, null, 8, ["current-day", "current-time"])) : S("", !0),
|
|
3529
|
-
!Fe.value && me.value &&
|
|
3529
|
+
!Fe.value && me.value && y(d) ? (v(), I(Ft, {
|
|
3530
3530
|
key: 1,
|
|
3531
3531
|
class: ve([Be.value.isActive ? "full-screen" : ""]),
|
|
3532
3532
|
thumbnails: Te.value,
|
|
@@ -3552,9 +3552,9 @@ const pl = {
|
|
|
3552
3552
|
]),
|
|
3553
3553
|
"bottom-right": c(() => [
|
|
3554
3554
|
e("div", Ll, [
|
|
3555
|
-
me.value &&
|
|
3555
|
+
me.value && y(p) && Z.value ? (v(), I(Mn, {
|
|
3556
3556
|
key: 0,
|
|
3557
|
-
"cdn-file-resolver":
|
|
3557
|
+
"cdn-file-resolver": y(o),
|
|
3558
3558
|
"available-archetypes": Z.value,
|
|
3559
3559
|
"selected-index": Re.value,
|
|
3560
3560
|
onSelectInterior: St
|
|
@@ -3565,7 +3565,7 @@ const pl = {
|
|
|
3565
3565
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id", "rotate-on-camera-navigate"]),
|
|
3566
3566
|
h(He, null, {
|
|
3567
3567
|
default: c(() => [
|
|
3568
|
-
|
|
3568
|
+
y(d) && ae.value && Fe.value && me.value ? (v(), I(Ft, {
|
|
3569
3569
|
key: 0,
|
|
3570
3570
|
class: "waypoint-carousel below-player",
|
|
3571
3571
|
thumbnails: Te.value,
|
|
@@ -3598,7 +3598,7 @@ const pl = {
|
|
|
3598
3598
|
}, null, 8, ["current-day", "current-time"])) : S("", !0)
|
|
3599
3599
|
])) : S("", !0)
|
|
3600
3600
|
], 2)) : S("", !0),
|
|
3601
|
-
|
|
3601
|
+
y(ce) && y(ge) ? (v(), M("div", Sl, " version: " + T(y(ce)), 1)) : S("", !0)
|
|
3602
3602
|
])
|
|
3603
3603
|
], 2);
|
|
3604
3604
|
};
|
|
@@ -3644,7 +3644,7 @@ const pl = {
|
|
|
3644
3644
|
setup(l, { expose: n, emit: t }) {
|
|
3645
3645
|
const a = l, { data: o, cameraId: s, interiorId: i, day: f, time: k, isAutoPlaying: r } = Ve(a), d = w();
|
|
3646
3646
|
n({ playerCore: d });
|
|
3647
|
-
const
|
|
3647
|
+
const g = t;
|
|
3648
3648
|
return H(
|
|
3649
3649
|
r,
|
|
3650
3650
|
() => {
|
|
@@ -3675,106 +3675,106 @@ const pl = {
|
|
|
3675
3675
|
_a.isBrowser && (d.value = new Ya(), d.value.addEventListener(
|
|
3676
3676
|
"autoRotatePluginOptions",
|
|
3677
3677
|
(m) => {
|
|
3678
|
-
|
|
3678
|
+
g("autoRotatePluginOptions", m);
|
|
3679
3679
|
}
|
|
3680
3680
|
), d.value.addEventListener(
|
|
3681
3681
|
"dataPointChanged",
|
|
3682
3682
|
(m) => {
|
|
3683
|
-
|
|
3683
|
+
g("dataPointChanged", m);
|
|
3684
3684
|
}
|
|
3685
3685
|
), d.value.addEventListener(
|
|
3686
3686
|
"dataPointLoad",
|
|
3687
3687
|
(m) => {
|
|
3688
|
-
|
|
3688
|
+
g("dataPointLoad", m);
|
|
3689
3689
|
}
|
|
3690
3690
|
), d.value.addEventListener(
|
|
3691
3691
|
"dataPointsLoaded",
|
|
3692
3692
|
(m) => {
|
|
3693
|
-
|
|
3693
|
+
g("dataPointsLoaded", m);
|
|
3694
3694
|
}
|
|
3695
3695
|
), d.value.addEventListener(
|
|
3696
3696
|
"dataPointsActivated",
|
|
3697
3697
|
(m) => {
|
|
3698
|
-
|
|
3698
|
+
g("dataPointsActivated", m);
|
|
3699
3699
|
}
|
|
3700
3700
|
), d.value.addEventListener(
|
|
3701
3701
|
"dataPointsDeactivated",
|
|
3702
3702
|
(m) => {
|
|
3703
|
-
|
|
3703
|
+
g("dataPointsDeactivated", m);
|
|
3704
3704
|
}
|
|
3705
3705
|
), d.value.addEventListener(
|
|
3706
3706
|
"dataPointTextureLoad",
|
|
3707
3707
|
(m) => {
|
|
3708
|
-
|
|
3708
|
+
g("dataPointTextureLoad", m);
|
|
3709
3709
|
}
|
|
3710
3710
|
), d.value.addEventListener(
|
|
3711
3711
|
"frontendMarkersUpdate",
|
|
3712
3712
|
(m) => {
|
|
3713
|
-
|
|
3713
|
+
g("frontendMarkersUpdate", m);
|
|
3714
3714
|
}
|
|
3715
3715
|
), d.value.addEventListener(
|
|
3716
3716
|
"imageLoaderOptions",
|
|
3717
3717
|
(m) => {
|
|
3718
|
-
|
|
3718
|
+
g("imageLoaderOptions", m);
|
|
3719
3719
|
}
|
|
3720
3720
|
), d.value.addEventListener(
|
|
3721
3721
|
"initialized",
|
|
3722
3722
|
(m) => {
|
|
3723
|
-
|
|
3723
|
+
g("initialized", m);
|
|
3724
3724
|
}
|
|
3725
3725
|
), d.value.addEventListener("keyDown", (m) => {
|
|
3726
|
-
|
|
3726
|
+
g("keyDown", m);
|
|
3727
3727
|
}), d.value.addEventListener("key", (m) => {
|
|
3728
|
-
|
|
3728
|
+
g("key", m);
|
|
3729
3729
|
}), d.value.addEventListener("keyUp", (m) => {
|
|
3730
|
-
|
|
3730
|
+
g("keyUp", m);
|
|
3731
3731
|
}), d.value.addEventListener(
|
|
3732
3732
|
"mainOptions",
|
|
3733
3733
|
(m) => {
|
|
3734
|
-
|
|
3734
|
+
g("mainOptions", m);
|
|
3735
3735
|
}
|
|
3736
3736
|
), d.value.addEventListener("mouseDown", (m) => {
|
|
3737
|
-
|
|
3737
|
+
g("mouseDown", m);
|
|
3738
3738
|
}), d.value.addEventListener("mouse", (m) => {
|
|
3739
|
-
|
|
3739
|
+
g("mouse", m);
|
|
3740
3740
|
}), d.value.addEventListener("mouseMove", (m) => {
|
|
3741
|
-
|
|
3741
|
+
g("mouseMove", m);
|
|
3742
3742
|
}), d.value.addEventListener("mousePick", (m) => {
|
|
3743
|
-
|
|
3743
|
+
g("mousePick", m);
|
|
3744
3744
|
}), d.value.addEventListener(
|
|
3745
3745
|
"mouseScroll",
|
|
3746
3746
|
(m) => {
|
|
3747
|
-
|
|
3747
|
+
g("mouseScroll", m);
|
|
3748
3748
|
}
|
|
3749
3749
|
), d.value.addEventListener("mouseUp", (m) => {
|
|
3750
|
-
|
|
3750
|
+
g("mouseUp", m);
|
|
3751
3751
|
}), d.value.addEventListener(
|
|
3752
3752
|
"panoramaTransitionRendererPluginOptions",
|
|
3753
3753
|
(m) => {
|
|
3754
|
-
|
|
3754
|
+
g("panoramaTransitionRendererPluginOptions", m);
|
|
3755
3755
|
}
|
|
3756
3756
|
), d.value.addEventListener(
|
|
3757
3757
|
"postProcessorOptions",
|
|
3758
3758
|
(m) => {
|
|
3759
|
-
|
|
3759
|
+
g("postProcessorOptions", m);
|
|
3760
3760
|
}
|
|
3761
3761
|
), d.value.addEventListener("resized", (m) => {
|
|
3762
|
-
|
|
3762
|
+
g("resized", m);
|
|
3763
3763
|
}), d.value.addEventListener(
|
|
3764
3764
|
"stateUpdated",
|
|
3765
3765
|
(m) => {
|
|
3766
|
-
|
|
3766
|
+
g("stateUpdated", m);
|
|
3767
3767
|
}
|
|
3768
3768
|
), d.value.addEventListener(
|
|
3769
3769
|
"userInputPluginOptions",
|
|
3770
3770
|
(m) => {
|
|
3771
|
-
|
|
3771
|
+
g("userInputPluginOptions", m);
|
|
3772
3772
|
}
|
|
3773
3773
|
), await d.value.initialize("#qpc"), await d.value.loadDataPoints(
|
|
3774
3774
|
o.value,
|
|
3775
3775
|
(m) => m.interiorId === i.value && !m.dayOfYear && !m.timeInHours,
|
|
3776
3776
|
(m) => m.interiorId === i.value && m.cameraId === s.value && !m.dayOfYear && !m.timeInHours
|
|
3777
|
-
), d.value.animate(),
|
|
3777
|
+
), d.value.animate(), g("playerCoreAccessible", d.value));
|
|
3778
3778
|
}), et(() => {
|
|
3779
3779
|
d.value.destroy(), d.value = void 0;
|
|
3780
3780
|
}), (m, E) => (v(), M("div", Al, [
|
|
@@ -3889,7 +3889,7 @@ const pl = {
|
|
|
3889
3889
|
}, 16)
|
|
3890
3890
|
]),
|
|
3891
3891
|
default: c(() => [
|
|
3892
|
-
e("span", null, T(
|
|
3892
|
+
e("span", null, T(y(t).getLabel(a.value)), 1)
|
|
3893
3893
|
]),
|
|
3894
3894
|
_: 1
|
|
3895
3895
|
});
|
|
@@ -3927,9 +3927,9 @@ const pl = {
|
|
|
3927
3927
|
navigator.clipboard.writeText(location.href);
|
|
3928
3928
|
}
|
|
3929
3929
|
return (k, r) => {
|
|
3930
|
-
const d = L("v-btn"),
|
|
3930
|
+
const d = L("v-btn"), g = L("v-tooltip"), m = L("v-toolbar-title"), E = L("v-spacer"), b = L("v-toolbar"), u = L("v-card-text"), p = L("v-card"), _ = L("v-dialog");
|
|
3931
3931
|
return v(), M("div", null, [
|
|
3932
|
-
h(
|
|
3932
|
+
h(g, {
|
|
3933
3933
|
elevation: "2",
|
|
3934
3934
|
top: "",
|
|
3935
3935
|
attach: ""
|
|
@@ -3943,7 +3943,7 @@ const pl = {
|
|
|
3943
3943
|
}, x), null, 16)
|
|
3944
3944
|
]),
|
|
3945
3945
|
default: c(() => [
|
|
3946
|
-
e("span", null, T(
|
|
3946
|
+
e("span", null, T(y(n).getLabel("share")), 1)
|
|
3947
3947
|
]),
|
|
3948
3948
|
_: 1
|
|
3949
3949
|
}),
|
|
@@ -3965,7 +3965,7 @@ const pl = {
|
|
|
3965
3965
|
}),
|
|
3966
3966
|
h(m, null, {
|
|
3967
3967
|
default: c(() => [
|
|
3968
|
-
Q(T(
|
|
3968
|
+
Q(T(y(n).getLabel("share")), 1)
|
|
3969
3969
|
]),
|
|
3970
3970
|
_: 1
|
|
3971
3971
|
}),
|
|
@@ -3976,7 +3976,7 @@ const pl = {
|
|
|
3976
3976
|
h(u, { class: "mt-5" }, {
|
|
3977
3977
|
default: c(() => [
|
|
3978
3978
|
e("p", Wl, [
|
|
3979
|
-
h(
|
|
3979
|
+
h(g, { location: "top" }, {
|
|
3980
3980
|
activator: c(({ props: x }) => [
|
|
3981
3981
|
h(d, Ie({
|
|
3982
3982
|
depressed: "",
|
|
@@ -3986,11 +3986,11 @@ const pl = {
|
|
|
3986
3986
|
}, x, { onClick: o }), null, 16)
|
|
3987
3987
|
]),
|
|
3988
3988
|
default: c(() => [
|
|
3989
|
-
e("span", null, T(
|
|
3989
|
+
e("span", null, T(y(n).getLabel("shareToFacebook")), 1)
|
|
3990
3990
|
]),
|
|
3991
3991
|
_: 1
|
|
3992
3992
|
}),
|
|
3993
|
-
h(
|
|
3993
|
+
h(g, { location: "top" }, {
|
|
3994
3994
|
activator: c(({ props: x }) => [
|
|
3995
3995
|
h(d, Ie({
|
|
3996
3996
|
depressed: "",
|
|
@@ -4000,11 +4000,11 @@ const pl = {
|
|
|
4000
4000
|
}, x, { onClick: i }), null, 16)
|
|
4001
4001
|
]),
|
|
4002
4002
|
default: c(() => [
|
|
4003
|
-
e("span", null, T(
|
|
4003
|
+
e("span", null, T(y(n).getLabel("shareToLinkedin")), 1)
|
|
4004
4004
|
]),
|
|
4005
4005
|
_: 1
|
|
4006
4006
|
}),
|
|
4007
|
-
h(
|
|
4007
|
+
h(g, { location: "top" }, {
|
|
4008
4008
|
activator: c(({ props: x }) => [
|
|
4009
4009
|
h(d, Ie({
|
|
4010
4010
|
depressed: "",
|
|
@@ -4014,11 +4014,11 @@ const pl = {
|
|
|
4014
4014
|
}, x, { onClick: s }), null, 16)
|
|
4015
4015
|
]),
|
|
4016
4016
|
default: c(() => [
|
|
4017
|
-
e("span", null, T(
|
|
4017
|
+
e("span", null, T(y(n).getLabel("shareToTwitter")), 1)
|
|
4018
4018
|
]),
|
|
4019
4019
|
_: 1
|
|
4020
4020
|
}),
|
|
4021
|
-
h(
|
|
4021
|
+
h(g, { location: "top" }, {
|
|
4022
4022
|
activator: c(({ props: x }) => [
|
|
4023
4023
|
h(d, Ie({
|
|
4024
4024
|
depressed: "",
|
|
@@ -4030,11 +4030,11 @@ const pl = {
|
|
|
4030
4030
|
}, x), null, 16, ["href"])
|
|
4031
4031
|
]),
|
|
4032
4032
|
default: c(() => [
|
|
4033
|
-
e("span", null, T(
|
|
4033
|
+
e("span", null, T(y(n).getLabel("shareViaEmail")), 1)
|
|
4034
4034
|
]),
|
|
4035
4035
|
_: 1
|
|
4036
4036
|
}),
|
|
4037
|
-
h(
|
|
4037
|
+
h(g, { location: "top" }, {
|
|
4038
4038
|
activator: c(({ props: x }) => [
|
|
4039
4039
|
h(d, Ie({
|
|
4040
4040
|
depressed: "",
|
|
@@ -4045,7 +4045,7 @@ const pl = {
|
|
|
4045
4045
|
}, x), null, 16)
|
|
4046
4046
|
]),
|
|
4047
4047
|
default: c(() => [
|
|
4048
|
-
e("span", null, T(
|
|
4048
|
+
e("span", null, T(y(n).getLabel("copyLink")), 1)
|
|
4049
4049
|
]),
|
|
4050
4050
|
_: 1
|
|
4051
4051
|
}),
|
|
@@ -4086,7 +4086,7 @@ const pl = {
|
|
|
4086
4086
|
t("closeTutorial", o.value);
|
|
4087
4087
|
}
|
|
4088
4088
|
return (k, r) => {
|
|
4089
|
-
const d = L("v-icon"),
|
|
4089
|
+
const d = L("v-icon"), g = L("v-card-title"), m = L("v-btn"), E = L("v-divider"), b = L("v-card-text"), u = L("v-card-actions"), p = L("v-card"), _ = L("v-expand-transition"), x = L("v-checkbox");
|
|
4090
4090
|
return v(), I(He, { name: "fade-transition" }, {
|
|
4091
4091
|
default: c(() => [
|
|
4092
4092
|
h(p, {
|
|
@@ -4094,7 +4094,7 @@ const pl = {
|
|
|
4094
4094
|
elevation: "16"
|
|
4095
4095
|
}, {
|
|
4096
4096
|
default: c(() => [
|
|
4097
|
-
h(
|
|
4097
|
+
h(g, { class: "text-capitalize" }, {
|
|
4098
4098
|
default: c(() => [
|
|
4099
4099
|
h(d, { size: "x-small" }, {
|
|
4100
4100
|
default: c(() => [...r[4] || (r[4] = [
|
|
@@ -4102,13 +4102,13 @@ const pl = {
|
|
|
4102
4102
|
])]),
|
|
4103
4103
|
_: 1
|
|
4104
4104
|
}),
|
|
4105
|
-
Q(" " + T(
|
|
4105
|
+
Q(" " + T(y(a).getLabel("disclaimer")), 1)
|
|
4106
4106
|
]),
|
|
4107
4107
|
_: 1
|
|
4108
4108
|
}),
|
|
4109
4109
|
h(b, { class: "pb-0" }, {
|
|
4110
4110
|
default: c(() => [
|
|
4111
|
-
e("p", null, T(
|
|
4111
|
+
e("p", null, T(y(a).getLabel("disclaimerTextShort")), 1),
|
|
4112
4112
|
h(m, {
|
|
4113
4113
|
variant: "tonal",
|
|
4114
4114
|
size: "small",
|
|
@@ -4116,7 +4116,7 @@ const pl = {
|
|
|
4116
4116
|
class: "text-capitalize mt-2"
|
|
4117
4117
|
}, {
|
|
4118
4118
|
default: c(() => [
|
|
4119
|
-
Q(T(
|
|
4119
|
+
Q(T(y(a).getLabel("learnMore")) + " ", 1),
|
|
4120
4120
|
h(d, null, {
|
|
4121
4121
|
default: c(() => [...r[5] || (r[5] = [
|
|
4122
4122
|
Q("mdi-chevron-right", -1)
|
|
@@ -4178,7 +4178,7 @@ const pl = {
|
|
|
4178
4178
|
})
|
|
4179
4179
|
])
|
|
4180
4180
|
], -1)),
|
|
4181
|
-
e("div", Xl, T(
|
|
4181
|
+
e("div", Xl, T(y(a).getLabel("clickAndDragToLookAround")), 1)
|
|
4182
4182
|
]),
|
|
4183
4183
|
e("div", Kl, [
|
|
4184
4184
|
r[7] || (r[7] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4312,7 +4312,7 @@ const pl = {
|
|
|
4312
4312
|
})
|
|
4313
4313
|
])
|
|
4314
4314
|
], -1)),
|
|
4315
|
-
e("div", es, T(
|
|
4315
|
+
e("div", es, T(y(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4316
4316
|
]),
|
|
4317
4317
|
e("div", ts, [
|
|
4318
4318
|
r[8] || (r[8] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4387,7 +4387,7 @@ const pl = {
|
|
|
4387
4387
|
})
|
|
4388
4388
|
])
|
|
4389
4389
|
], -1)),
|
|
4390
|
-
e("div", as, T(
|
|
4390
|
+
e("div", as, T(y(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4391
4391
|
]),
|
|
4392
4392
|
e("div", ns, [
|
|
4393
4393
|
r[9] || (r[9] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4459,7 +4459,7 @@ const pl = {
|
|
|
4459
4459
|
})
|
|
4460
4460
|
])
|
|
4461
4461
|
], -1)),
|
|
4462
|
-
e("div", os, T(
|
|
4462
|
+
e("div", os, T(y(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4463
4463
|
])
|
|
4464
4464
|
])
|
|
4465
4465
|
])),
|
|
@@ -4500,7 +4500,7 @@ const pl = {
|
|
|
4500
4500
|
})
|
|
4501
4501
|
])
|
|
4502
4502
|
], -1)),
|
|
4503
|
-
e("div", is, T(
|
|
4503
|
+
e("div", is, T(y(a).getLabel("tapAndDragToLookAround")), 1)
|
|
4504
4504
|
]),
|
|
4505
4505
|
e("div", rs, [
|
|
4506
4506
|
r[11] || (r[11] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4638,7 +4638,7 @@ const pl = {
|
|
|
4638
4638
|
})
|
|
4639
4639
|
])
|
|
4640
4640
|
], -1)),
|
|
4641
|
-
e("div", us, T(
|
|
4641
|
+
e("div", us, T(y(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4642
4642
|
]),
|
|
4643
4643
|
e("div", cs, [
|
|
4644
4644
|
r[12] || (r[12] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4676,7 +4676,7 @@ const pl = {
|
|
|
4676
4676
|
})
|
|
4677
4677
|
])
|
|
4678
4678
|
], -1)),
|
|
4679
|
-
e("div", ds, T(
|
|
4679
|
+
e("div", ds, T(y(a).getLabel("useTwoFingersToZoom")), 1)
|
|
4680
4680
|
])
|
|
4681
4681
|
])) : S("", !0),
|
|
4682
4682
|
h(E, { class: "my-1" })
|
|
@@ -4701,9 +4701,9 @@ const pl = {
|
|
|
4701
4701
|
])]),
|
|
4702
4702
|
_: 1
|
|
4703
4703
|
}),
|
|
4704
|
-
Q(" " + T(
|
|
4704
|
+
Q(" " + T(y(a).getLabel("disclaimer")), 1)
|
|
4705
4705
|
]),
|
|
4706
|
-
e("p", ms, T(
|
|
4706
|
+
e("p", ms, T(y(a).getLabel("disclaimerText")), 1)
|
|
4707
4707
|
]),
|
|
4708
4708
|
_: 1
|
|
4709
4709
|
}),
|
|
@@ -4722,7 +4722,7 @@ const pl = {
|
|
|
4722
4722
|
])]),
|
|
4723
4723
|
_: 1
|
|
4724
4724
|
}),
|
|
4725
|
-
Q(" " + T(
|
|
4725
|
+
Q(" " + T(y(a).getLabel("back")), 1)
|
|
4726
4726
|
]),
|
|
4727
4727
|
_: 1
|
|
4728
4728
|
})
|
|
@@ -4743,7 +4743,7 @@ const pl = {
|
|
|
4743
4743
|
"hide-details": ""
|
|
4744
4744
|
}, {
|
|
4745
4745
|
label: c(() => [
|
|
4746
|
-
e("span", fs, T(
|
|
4746
|
+
e("span", fs, T(y(a).getLabel("dontShowAgain")), 1)
|
|
4747
4747
|
]),
|
|
4748
4748
|
_: 1
|
|
4749
4749
|
}, 8, ["modelValue"])
|
|
@@ -4756,7 +4756,7 @@ const pl = {
|
|
|
4756
4756
|
block: ""
|
|
4757
4757
|
}, {
|
|
4758
4758
|
default: c(() => [
|
|
4759
|
-
Q(T(
|
|
4759
|
+
Q(T(y(a).getLabel("iUnderstand")), 1)
|
|
4760
4760
|
]),
|
|
4761
4761
|
_: 1
|
|
4762
4762
|
})
|
|
@@ -4798,16 +4798,16 @@ const pl = {
|
|
|
4798
4798
|
const p = f[u];
|
|
4799
4799
|
p.addEventListener("touchstart", m, { passive: !1 }), p.addEventListener("touchend", b, { passive: !1 }), p.addEventListener("mousedown", m, { passive: !1 }), p.addEventListener("mouseup", b, { passive: !1 });
|
|
4800
4800
|
}
|
|
4801
|
-
let k = 0, r = 0, d = 0,
|
|
4801
|
+
let k = 0, r = 0, d = 0, g = 0;
|
|
4802
4802
|
function m(u) {
|
|
4803
4803
|
u = u || window.event, u.preventDefault();
|
|
4804
4804
|
let p = u;
|
|
4805
|
-
u.type === "touchstart" && (p = u.touches[0]), d = p.clientX,
|
|
4805
|
+
u.type === "touchstart" && (p = u.touches[0]), d = p.clientX, g = p.clientY, document.addEventListener("mouseup", b, { passive: !1 }), document.addEventListener("touchend", b, { passive: !1 }), document.addEventListener("mousemove", E, { passive: !1 }), document.addEventListener("touchmove", E, { passive: !1 });
|
|
4806
4806
|
}
|
|
4807
4807
|
function E(u) {
|
|
4808
4808
|
u = u || window.event, u.preventDefault();
|
|
4809
4809
|
let p = u;
|
|
4810
|
-
u.type === "touchmove" && (p = u.touches[0]), k = d - p.clientX, r =
|
|
4810
|
+
u.type === "touchmove" && (p = u.touches[0]), k = d - p.clientX, r = g - p.clientY, d = p.clientX, g = p.clientY, i.style.top = i.offsetTop - r + "px", i.style.left = i.offsetLeft - k + "px";
|
|
4811
4811
|
}
|
|
4812
4812
|
function b() {
|
|
4813
4813
|
document.removeEventListener("mouseup", b, !1), document.removeEventListener("mousemove", E, !1), document.removeEventListener("touchend", b, !1), document.removeEventListener("touchmove", E, !1);
|
|
@@ -4866,10 +4866,10 @@ const pl = {
|
|
|
4866
4866
|
function d(_) {
|
|
4867
4867
|
s.value = _;
|
|
4868
4868
|
}
|
|
4869
|
-
const
|
|
4869
|
+
const g = ["big", "bigger", "small"];
|
|
4870
4870
|
function m() {
|
|
4871
|
-
const x = (
|
|
4872
|
-
E.value =
|
|
4871
|
+
const x = (g.indexOf(E.value) + 1) % g.length;
|
|
4872
|
+
E.value = g[x];
|
|
4873
4873
|
}
|
|
4874
4874
|
const E = w("big");
|
|
4875
4875
|
function b() {
|
|
@@ -5011,23 +5011,23 @@ const pl = {
|
|
|
5011
5011
|
a,
|
|
5012
5012
|
async () => {
|
|
5013
5013
|
for (const d of o.value) {
|
|
5014
|
-
const
|
|
5014
|
+
const g = ye(
|
|
5015
5015
|
s.value,
|
|
5016
5016
|
`/${d.archetypeID}/${a?.value?.labels?.apartmentId}/thumbs/200/${a?.value?.labels?.cameraId}.jpg`
|
|
5017
5017
|
);
|
|
5018
|
-
await k(
|
|
5018
|
+
await k(g) && (i[d.archetypeID] = g);
|
|
5019
5019
|
}
|
|
5020
5020
|
},
|
|
5021
5021
|
{ immediate: !0 }
|
|
5022
5022
|
);
|
|
5023
5023
|
function k(d) {
|
|
5024
|
-
return new Promise((
|
|
5024
|
+
return new Promise((g) => {
|
|
5025
5025
|
const m = new Image();
|
|
5026
|
-
m.onload = () =>
|
|
5026
|
+
m.onload = () => g(!0), m.onerror = () => g(!1), m.src = d;
|
|
5027
5027
|
});
|
|
5028
5028
|
}
|
|
5029
5029
|
const r = Me(De);
|
|
5030
|
-
return (d,
|
|
5030
|
+
return (d, g) => {
|
|
5031
5031
|
const m = L("v-icon"), E = L("v-btn"), b = L("v-img"), u = L("v-menu");
|
|
5032
5032
|
return v(), M("div", null, [
|
|
5033
5033
|
h(u, {
|
|
@@ -5041,23 +5041,23 @@ const pl = {
|
|
|
5041
5041
|
h(E, Ie({ rounded: "" }, p, { class: "text-capitalize" }), {
|
|
5042
5042
|
default: c(() => [
|
|
5043
5043
|
h(m, null, {
|
|
5044
|
-
default: c(() => [...
|
|
5044
|
+
default: c(() => [...g[0] || (g[0] = [
|
|
5045
5045
|
Q("mdi-palette-outline", -1)
|
|
5046
5046
|
])]),
|
|
5047
5047
|
_: 1
|
|
5048
5048
|
}),
|
|
5049
|
-
e("span", $s, T(
|
|
5049
|
+
e("span", $s, T(y(r).getLabel("interior")), 1)
|
|
5050
5050
|
]),
|
|
5051
5051
|
_: 1
|
|
5052
5052
|
}, 16)
|
|
5053
5053
|
]),
|
|
5054
5054
|
default: c(() => [
|
|
5055
5055
|
e("div", Ts, [
|
|
5056
|
-
(v(!0), M(Ue, null, Ne(
|
|
5056
|
+
(v(!0), M(Ue, null, Ne(y(o), (p) => (v(), M("div", {
|
|
5057
5057
|
key: `at-menuitem-${p.archetypeID}`,
|
|
5058
5058
|
onClick: (_) => f("selectInterior", p.archetypeID),
|
|
5059
5059
|
class: ve(["interior-selector-list-item", {
|
|
5060
|
-
active: p.archetypeID ===
|
|
5060
|
+
active: p.archetypeID === y(a)?.labels?.interiorId
|
|
5061
5061
|
}])
|
|
5062
5062
|
}, [
|
|
5063
5063
|
e("div", Bs, [
|
|
@@ -5070,7 +5070,7 @@ const pl = {
|
|
|
5070
5070
|
class: "pa-0 ma-0"
|
|
5071
5071
|
}, null, 8, ["src"])
|
|
5072
5072
|
]),
|
|
5073
|
-
e("div", Rs, T(
|
|
5073
|
+
e("div", Rs, T(y(r).get(p.title)), 1)
|
|
5074
5074
|
])
|
|
5075
5075
|
], 10, Os))), 128))
|
|
5076
5076
|
])
|
|
@@ -5102,7 +5102,7 @@ const pl = {
|
|
|
5102
5102
|
onClick: o[0] || (o[0] = (i) => n.value = !n.value)
|
|
5103
5103
|
}, {
|
|
5104
5104
|
default: c(() => [
|
|
5105
|
-
Q(T(
|
|
5105
|
+
Q(T(y(t).getLabel("openSunStudy")), 1)
|
|
5106
5106
|
]),
|
|
5107
5107
|
_: 1
|
|
5108
5108
|
})) : S("", !0);
|
|
@@ -5166,7 +5166,7 @@ const pl = {
|
|
|
5166
5166
|
])]),
|
|
5167
5167
|
_: 1
|
|
5168
5168
|
}),
|
|
5169
|
-
e("span", Ys, T(
|
|
5169
|
+
e("span", Ys, T(y(pt)(t.value.timeInHours)), 1)
|
|
5170
5170
|
]),
|
|
5171
5171
|
_: 1
|
|
5172
5172
|
}, 8, ["modelValue", "min", "max", "step"])) : (v(), M(Ue, { key: 1 }, [
|
|
@@ -5180,7 +5180,7 @@ const pl = {
|
|
|
5180
5180
|
])]),
|
|
5181
5181
|
_: 1
|
|
5182
5182
|
}),
|
|
5183
|
-
e("span", Ns, T(
|
|
5183
|
+
e("span", Ns, T(y(pt)(t.value.timeInHours)), 1)
|
|
5184
5184
|
], 64))
|
|
5185
5185
|
]),
|
|
5186
5186
|
_: 1
|
|
@@ -5191,7 +5191,7 @@ const pl = {
|
|
|
5191
5191
|
size: "small",
|
|
5192
5192
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
5193
5193
|
icon: "mdi-close",
|
|
5194
|
-
onClick: i[0] || (i[0] = (
|
|
5194
|
+
onClick: i[0] || (i[0] = (g) => n.value = !n.value)
|
|
5195
5195
|
})
|
|
5196
5196
|
])
|
|
5197
5197
|
]);
|
|
@@ -5242,7 +5242,7 @@ const pl = {
|
|
|
5242
5242
|
function d(p) {
|
|
5243
5243
|
switch (p.keyCode) {
|
|
5244
5244
|
case p.keyCode === qs:
|
|
5245
|
-
|
|
5245
|
+
g();
|
|
5246
5246
|
break;
|
|
5247
5247
|
case p.keyCode === Js:
|
|
5248
5248
|
m();
|
|
@@ -5251,7 +5251,7 @@ const pl = {
|
|
|
5251
5251
|
return;
|
|
5252
5252
|
}
|
|
5253
5253
|
}
|
|
5254
|
-
function
|
|
5254
|
+
function g() {
|
|
5255
5255
|
const p = o.value.findIndex(
|
|
5256
5256
|
(_) => _ === s.value
|
|
5257
5257
|
);
|
|
@@ -5303,7 +5303,7 @@ const pl = {
|
|
|
5303
5303
|
icon: "mdi-chevron-left",
|
|
5304
5304
|
varient: "tonal",
|
|
5305
5305
|
size: "small",
|
|
5306
|
-
onClick: _[0] || (_[0] = (he) =>
|
|
5306
|
+
onClick: _[0] || (_[0] = (he) => g())
|
|
5307
5307
|
}, null, 8, ["class"]))
|
|
5308
5308
|
]),
|
|
5309
5309
|
next: c(() => [
|
|
@@ -5317,7 +5317,7 @@ const pl = {
|
|
|
5317
5317
|
}, null, 8, ["class"]))
|
|
5318
5318
|
]),
|
|
5319
5319
|
default: c(() => [
|
|
5320
|
-
(v(!0), M(Ue, null, Ne(
|
|
5320
|
+
(v(!0), M(Ue, null, Ne(y(o), (he, P) => (v(), I(D, {
|
|
5321
5321
|
key: he.labels.cameraId
|
|
5322
5322
|
}, {
|
|
5323
5323
|
default: c(({ toggle: ce, selectedClass: ge }) => [
|
|
@@ -5382,7 +5382,7 @@ const pl = {
|
|
|
5382
5382
|
return v(), M("div", Gs, [
|
|
5383
5383
|
e("div", Xs, [
|
|
5384
5384
|
h(i, {
|
|
5385
|
-
src:
|
|
5385
|
+
src: y(xa),
|
|
5386
5386
|
"aspect-ratio": "1"
|
|
5387
5387
|
}, null, 8, ["src"])
|
|
5388
5388
|
]),
|
|
@@ -5470,12 +5470,12 @@ const pl = {
|
|
|
5470
5470
|
const u = parseInt(b.substr(1, 2), 16) / 255, p = parseInt(b.substr(3, 2), 16) / 255, _ = parseInt(b.substr(5, 2), 16) / 255;
|
|
5471
5471
|
return [u, p, _];
|
|
5472
5472
|
}
|
|
5473
|
-
function
|
|
5473
|
+
function g(b) {
|
|
5474
5474
|
var u = b.toString(16);
|
|
5475
5475
|
return u.length == 1 ? "0" + u : u;
|
|
5476
5476
|
}
|
|
5477
5477
|
function m([b, u, p]) {
|
|
5478
|
-
return "#" +
|
|
5478
|
+
return "#" + g(parseInt((b * 255).toString())) + g(parseInt((u * 255).toString())) + g(parseInt((p * 255).toString()));
|
|
5479
5479
|
}
|
|
5480
5480
|
function E(b = {}) {
|
|
5481
5481
|
const u = [
|
|
@@ -5775,13 +5775,13 @@ const pl = {
|
|
|
5775
5775
|
r >= o.value.length ? n.value = o.value[0] : n.value = o.value[r];
|
|
5776
5776
|
}
|
|
5777
5777
|
return (r, d) => {
|
|
5778
|
-
const
|
|
5778
|
+
const g = L("v-btn"), m = L("v-tooltip");
|
|
5779
5779
|
return v(), I(m, {
|
|
5780
5780
|
right: "",
|
|
5781
5781
|
attach: ""
|
|
5782
5782
|
}, {
|
|
5783
5783
|
activator: c(({ props: E }) => [
|
|
5784
|
-
h(
|
|
5784
|
+
h(g, Ie({
|
|
5785
5785
|
style: { cursor: "pointer" },
|
|
5786
5786
|
density: "comfortable",
|
|
5787
5787
|
elevation: "1",
|
|
@@ -5809,7 +5809,7 @@ const pl = {
|
|
|
5809
5809
|
}, 16)
|
|
5810
5810
|
]),
|
|
5811
5811
|
default: c(() => [
|
|
5812
|
-
e("span", Ci, T(
|
|
5812
|
+
e("span", Ci, T(y(a).getLabel(s.value)) + " " + T(y(a).getLabel("floor")), 1)
|
|
5813
5813
|
]),
|
|
5814
5814
|
_: 1
|
|
5815
5815
|
});
|
|
@@ -6217,7 +6217,7 @@ const Ai = {
|
|
|
6217
6217
|
type: k,
|
|
6218
6218
|
displayViewModeSwitch: r,
|
|
6219
6219
|
version: d,
|
|
6220
|
-
adminMode:
|
|
6220
|
+
adminMode: g,
|
|
6221
6221
|
playerSettings: m,
|
|
6222
6222
|
defaultViewMode: E,
|
|
6223
6223
|
showCarousel: b,
|
|
@@ -6552,9 +6552,9 @@ const Ai = {
|
|
|
6552
6552
|
}, [
|
|
6553
6553
|
B.value ? (v(), M("div", Ai, "Error loading the player!!")) : S("", !0),
|
|
6554
6554
|
e("div", Ii, [
|
|
6555
|
-
!$e.value.isActive &&
|
|
6555
|
+
!$e.value.isActive && y(le) && F.value && Ee.value && Ce.value && ke.value && fe.value ? (v(), I(ca, {
|
|
6556
6556
|
key: 0,
|
|
6557
|
-
"cdn-file-resolver":
|
|
6557
|
+
"cdn-file-resolver": y(i),
|
|
6558
6558
|
"apartment-json": Oe.value,
|
|
6559
6559
|
level: ue.value,
|
|
6560
6560
|
"minimap-json": F.value,
|
|
@@ -6593,7 +6593,7 @@ const Ai = {
|
|
|
6593
6593
|
}, null, 8, ["image"])) : S("", !0)
|
|
6594
6594
|
]),
|
|
6595
6595
|
"top-left": c(() => [
|
|
6596
|
-
g
|
|
6596
|
+
y(g) ? (v(), I(we, {
|
|
6597
6597
|
key: 0,
|
|
6598
6598
|
density: "comfortable",
|
|
6599
6599
|
icon: "mdi-cog-outline",
|
|
@@ -6620,15 +6620,15 @@ const Ai = {
|
|
|
6620
6620
|
}, null, 512)), [
|
|
6621
6621
|
[rt, se.value]
|
|
6622
6622
|
]) : S("", !0),
|
|
6623
|
-
se.value &&
|
|
6623
|
+
se.value && y(D) && Z.value.length > 1 ? (v(), I(xi, {
|
|
6624
6624
|
key: 2,
|
|
6625
6625
|
modelValue: ie.value,
|
|
6626
6626
|
"onUpdate:modelValue": U[4] || (U[4] = (Y) => ie.value = Y),
|
|
6627
6627
|
"floor-levels": Z.value
|
|
6628
6628
|
}, null, 8, ["modelValue", "floor-levels"])) : S("", !0),
|
|
6629
|
-
g
|
|
6629
|
+
y(g) && je.value ? (v(), M("div", Fi, [
|
|
6630
6630
|
h(wi, {
|
|
6631
|
-
"initial-settings":
|
|
6631
|
+
"initial-settings": y(m),
|
|
6632
6632
|
onUpdateSettings: Pt,
|
|
6633
6633
|
onSaveSettings: ct
|
|
6634
6634
|
}, null, 8, ["initial-settings"])
|
|
@@ -6636,7 +6636,7 @@ const Ai = {
|
|
|
6636
6636
|
]),
|
|
6637
6637
|
"top-center": c(() => [...U[19] || (U[19] = [])]),
|
|
6638
6638
|
"top-right": c(() => [
|
|
6639
|
-
Oe.value &&
|
|
6639
|
+
Oe.value && y(p) ? Ke((v(), M("div", Vi, [
|
|
6640
6640
|
h(ai, { rotation: Be.value }, null, 8, ["rotation"])
|
|
6641
6641
|
], 512)), [
|
|
6642
6642
|
[rt, se.value]
|
|
@@ -6644,7 +6644,7 @@ const Ai = {
|
|
|
6644
6644
|
e("div", {
|
|
6645
6645
|
onClick: U[5] || (U[5] = (Y) => fe.value = !fe.value)
|
|
6646
6646
|
}, [
|
|
6647
|
-
se.value && Oe.value && Oe.value.timeInHours &&
|
|
6647
|
+
se.value && Oe.value && Oe.value.timeInHours && y(u) ? (v(), I(ti, {
|
|
6648
6648
|
key: 0,
|
|
6649
6649
|
hours: pe.value.hours,
|
|
6650
6650
|
minutes: pe.value.minutes,
|
|
@@ -6676,7 +6676,7 @@ const Ai = {
|
|
|
6676
6676
|
})) : S("", !0),
|
|
6677
6677
|
$e.value.isActive && F.value && z.value && Ce.value && fe.value ? (v(), I(ca, {
|
|
6678
6678
|
key: 1,
|
|
6679
|
-
"cdn-file-resolver":
|
|
6679
|
+
"cdn-file-resolver": y(i),
|
|
6680
6680
|
"apartment-json": Oe.value,
|
|
6681
6681
|
"minimap-json": F.value,
|
|
6682
6682
|
rotation: Be.value,
|
|
@@ -6701,13 +6701,13 @@ const Ai = {
|
|
|
6701
6701
|
})
|
|
6702
6702
|
]),
|
|
6703
6703
|
"bottom-left": c(() => [
|
|
6704
|
-
|
|
6704
|
+
y(_) ? (v(), I(Vs, {
|
|
6705
6705
|
key: 0,
|
|
6706
6706
|
"is-full-screen": $e.value.isActive,
|
|
6707
6707
|
class: "btn-fullscreen",
|
|
6708
6708
|
onToggleFullscreen: Ht
|
|
6709
6709
|
}, null, 8, ["is-full-screen"])) : S("", !0),
|
|
6710
|
-
|
|
6710
|
+
y(x) ? (v(), M("div", $i, [
|
|
6711
6711
|
h(we, {
|
|
6712
6712
|
density: "comfortable",
|
|
6713
6713
|
elevation: "3",
|
|
@@ -6716,16 +6716,16 @@ const Ai = {
|
|
|
6716
6716
|
})
|
|
6717
6717
|
])) : S("", !0),
|
|
6718
6718
|
e("div", Ti, [
|
|
6719
|
-
|
|
6719
|
+
y(r) && se.value ? (v(), I(Nl, {
|
|
6720
6720
|
key: 0,
|
|
6721
6721
|
modelValue: Le.value,
|
|
6722
6722
|
"onUpdate:modelValue": U[8] || (U[8] = (Y) => Le.value = Y)
|
|
6723
6723
|
}, null, 8, ["modelValue"])) : S("", !0)
|
|
6724
6724
|
]),
|
|
6725
|
-
se.value &&
|
|
6725
|
+
se.value && y(A) && !$e.value.isActive ? (v(), M("div", Oi, [
|
|
6726
6726
|
h(ql)
|
|
6727
6727
|
])) : S("", !0),
|
|
6728
|
-
se.value &&
|
|
6728
|
+
se.value && y(he) ? (v(), M("div", Bi, [
|
|
6729
6729
|
h(Is, { onOnSnapshot: _t })
|
|
6730
6730
|
])) : S("", !0)
|
|
6731
6731
|
]),
|
|
@@ -6756,7 +6756,7 @@ const Ai = {
|
|
|
6756
6756
|
"onUpdate:day": U[12] || (U[12] = (Y) => me.value = Y),
|
|
6757
6757
|
class: "sunsim-slider-desktop"
|
|
6758
6758
|
}, null, 8, ["modelValue", "time", "day"])) : S("", !0),
|
|
6759
|
-
!Re.value &&
|
|
6759
|
+
!Re.value && y(b) && se.value && N.value ? (v(), I(va, {
|
|
6760
6760
|
key: 1,
|
|
6761
6761
|
ref_key: "carousel",
|
|
6762
6762
|
ref: ce,
|
|
@@ -6766,7 +6766,7 @@ const Ai = {
|
|
|
6766
6766
|
onGo: Je
|
|
6767
6767
|
}, {
|
|
6768
6768
|
before: c(() => [
|
|
6769
|
-
|
|
6769
|
+
y(P) ? (v(), I(ua, {
|
|
6770
6770
|
key: 0,
|
|
6771
6771
|
modelValue: _e.value,
|
|
6772
6772
|
"onUpdate:modelValue": U[13] || (U[13] = (Y) => _e.value = Y)
|
|
@@ -6781,9 +6781,9 @@ const Ai = {
|
|
|
6781
6781
|
]),
|
|
6782
6782
|
"bottom-right": c(() => [
|
|
6783
6783
|
e("div", Di, [
|
|
6784
|
-
se.value &&
|
|
6784
|
+
se.value && y(R) ? (v(), I(Hs, {
|
|
6785
6785
|
key: 0,
|
|
6786
|
-
"cdn-file-resolver":
|
|
6786
|
+
"cdn-file-resolver": y(i),
|
|
6787
6787
|
archetypes: be.value,
|
|
6788
6788
|
"current-data-point": z.value,
|
|
6789
6789
|
onSelectInterior: $t
|
|
@@ -6794,7 +6794,7 @@ const Ai = {
|
|
|
6794
6794
|
}, 8, ["data", "cameraId", "interiorId", "day", "time", "isAutoPlaying", "isFullScreen"])) : S("", !0),
|
|
6795
6795
|
h(He, null, {
|
|
6796
6796
|
default: c(() => [
|
|
6797
|
-
Re.value &&
|
|
6797
|
+
Re.value && y(b) && se.value && N.value ? (v(), I(va, {
|
|
6798
6798
|
key: 0,
|
|
6799
6799
|
ref_key: "carousel",
|
|
6800
6800
|
ref: ce,
|
|
@@ -6804,7 +6804,7 @@ const Ai = {
|
|
|
6804
6804
|
onGo: Je
|
|
6805
6805
|
}, {
|
|
6806
6806
|
before: c(() => [
|
|
6807
|
-
|
|
6807
|
+
y(P) ? (v(), I(ua, {
|
|
6808
6808
|
key: 0,
|
|
6809
6809
|
modelValue: _e.value,
|
|
6810
6810
|
"onUpdate:modelValue": U[15] || (U[15] = (Y) => _e.value = Y)
|
|
@@ -6828,7 +6828,7 @@ const Ai = {
|
|
|
6828
6828
|
}, null, 8, ["modelValue", "time", "day"])) : S("", !0)
|
|
6829
6829
|
])) : S("", !0)
|
|
6830
6830
|
], 2)) : S("", !0),
|
|
6831
|
-
|
|
6831
|
+
y(d) && y(q) ? (v(), M("div", Ui, " version: " + T(y(d)), 1)) : S("", !0)
|
|
6832
6832
|
])
|
|
6833
6833
|
], 2);
|
|
6834
6834
|
};
|
|
@@ -6921,8 +6921,8 @@ const Ai = {
|
|
|
6921
6921
|
const t = w(0), a = w(
|
|
6922
6922
|
new Xt(document, "player-wrapper")
|
|
6923
6923
|
), o = $(() => n.images.map(
|
|
6924
|
-
(d,
|
|
6925
|
-
id: `image-${
|
|
6924
|
+
(d, g) => ({
|
|
6925
|
+
id: `image-${g}`,
|
|
6926
6926
|
thumbnailUrl: d
|
|
6927
6927
|
})
|
|
6928
6928
|
)), s = $(() => o.value[t.value]);
|
|
@@ -6940,13 +6940,13 @@ const Ai = {
|
|
|
6940
6940
|
let d = t.value - 1;
|
|
6941
6941
|
d < 0 && (d = o.value.length - 1), t.value = d;
|
|
6942
6942
|
}
|
|
6943
|
-
function r(d,
|
|
6943
|
+
function r(d, g = !0) {
|
|
6944
6944
|
let m = o.value.findIndex(
|
|
6945
6945
|
(E) => E.id === d
|
|
6946
6946
|
);
|
|
6947
6947
|
m != -1 && (t.value = m);
|
|
6948
6948
|
}
|
|
6949
|
-
return (d,
|
|
6949
|
+
return (d, g) => {
|
|
6950
6950
|
const m = L("v-img"), E = L("v-btn");
|
|
6951
6951
|
return v(), M("div", tr, [
|
|
6952
6952
|
e("div", ar, [
|
|
@@ -6961,9 +6961,9 @@ const Ai = {
|
|
|
6961
6961
|
}, null, 8, ["src"])
|
|
6962
6962
|
])
|
|
6963
6963
|
]),
|
|
6964
|
-
"top-left": c(() => [...
|
|
6965
|
-
"top-center": c(() => [...
|
|
6966
|
-
"top-right": c(() => [...
|
|
6964
|
+
"top-left": c(() => [...g[0] || (g[0] = [])]),
|
|
6965
|
+
"top-center": c(() => [...g[1] || (g[1] = [])]),
|
|
6966
|
+
"top-right": c(() => [...g[2] || (g[2] = [])]),
|
|
6967
6967
|
"center-left": c(() => [
|
|
6968
6968
|
h(He, { name: "slide-x-transition" }, {
|
|
6969
6969
|
default: c(() => [
|
|
@@ -6978,7 +6978,7 @@ const Ai = {
|
|
|
6978
6978
|
_: 1
|
|
6979
6979
|
})
|
|
6980
6980
|
]),
|
|
6981
|
-
"center-center": c(() => [...
|
|
6981
|
+
"center-center": c(() => [...g[3] || (g[3] = [])]),
|
|
6982
6982
|
"center-right": c(() => [
|
|
6983
6983
|
h(He, { name: "slide-x-reverse-transition" }, {
|
|
6984
6984
|
default: c(() => [
|
|
@@ -7017,7 +7017,7 @@ const Ai = {
|
|
|
7017
7017
|
}, null, 8, ["class", "thumbnails", "active"])) : S("", !0)
|
|
7018
7018
|
])
|
|
7019
7019
|
]),
|
|
7020
|
-
"bottom-right": c(() => [...
|
|
7020
|
+
"bottom-right": c(() => [...g[4] || (g[4] = [])]),
|
|
7021
7021
|
_: 1
|
|
7022
7022
|
}, 8, ["is-full-screen"]),
|
|
7023
7023
|
o.value.length > 1 ? (v(), I(Ft, {
|
|
@@ -7046,7 +7046,7 @@ const Ai = {
|
|
|
7046
7046
|
},
|
|
7047
7047
|
emits: ["apartmentJsonLoaded", "minimapJsonLoaded", "cameraSet"],
|
|
7048
7048
|
setup(l, { emit: n }) {
|
|
7049
|
-
const a = Ve(l), o = n, s = w(), i = w(), f = w(), k = w(0), r = w(), d = w(1),
|
|
7049
|
+
const a = Ve(l), o = n, s = w(), i = w(), f = w(), k = w(0), r = w(), d = w(1), g = $(() => a.currentCamera.value ? a.currentCamera.value : s.value ? s.value.cameras[0].id : null), m = $(() => ({
|
|
7050
7050
|
transformOrigin: "top left",
|
|
7051
7051
|
transform: `scale(${d.value})`
|
|
7052
7052
|
}));
|
|
@@ -7055,8 +7055,8 @@ const Ai = {
|
|
|
7055
7055
|
const x = _.target.parentElement, A = x.parentElement;
|
|
7056
7056
|
d.value = A.clientWidth / 512, x.style.height = `${_.contentRect.height * d.value}px`;
|
|
7057
7057
|
}).observe(r.value);
|
|
7058
|
-
}), H(
|
|
7059
|
-
o("cameraSet",
|
|
7058
|
+
}), H(g, () => {
|
|
7059
|
+
o("cameraSet", g.value);
|
|
7060
7060
|
});
|
|
7061
7061
|
const E = $(() => {
|
|
7062
7062
|
const _ = ye(a.cdnFileResolver.value, "").replace(
|
|
@@ -7111,7 +7111,7 @@ const Ai = {
|
|
|
7111
7111
|
"all-cameras": s.value.cameras,
|
|
7112
7112
|
"background-image": f.value,
|
|
7113
7113
|
rotation: l.rotation || 0,
|
|
7114
|
-
"current-camera":
|
|
7114
|
+
"current-camera": g.value,
|
|
7115
7115
|
storey: b.value,
|
|
7116
7116
|
containerWidth: 512,
|
|
7117
7117
|
containerHeight: 384,
|
|
@@ -7161,11 +7161,11 @@ const Ai = {
|
|
|
7161
7161
|
});
|
|
7162
7162
|
});
|
|
7163
7163
|
const r = $(() => ye(a.value, t.value.filename));
|
|
7164
|
-
return (d,
|
|
7164
|
+
return (d, g) => (v(), M("img", {
|
|
7165
7165
|
ref_key: "image",
|
|
7166
7166
|
ref: s,
|
|
7167
7167
|
style: de({
|
|
7168
|
-
visibility:
|
|
7168
|
+
visibility: y(o) && y(t) === y(o) ? "visible" : "hidden"
|
|
7169
7169
|
}),
|
|
7170
7170
|
src: r.value
|
|
7171
7171
|
}, null, 12, rr));
|
|
@@ -7179,11 +7179,11 @@ const Ai = {
|
|
|
7179
7179
|
},
|
|
7180
7180
|
setup(l) {
|
|
7181
7181
|
const n = l, { dayData: t, cdnFileResolver: a, currentTime: o } = Ve(n);
|
|
7182
|
-
return (s, i) => (v(!0), M(Ue, null, Ne(
|
|
7182
|
+
return (s, i) => (v(!0), M(Ue, null, Ne(y(t).timeSamples, (f, k) => (v(), I(cr, {
|
|
7183
7183
|
key: k,
|
|
7184
7184
|
"time-sample-data": f,
|
|
7185
|
-
"cdn-file-resolver":
|
|
7186
|
-
"current-time":
|
|
7185
|
+
"cdn-file-resolver": y(a),
|
|
7186
|
+
"current-time": y(o)
|
|
7187
7187
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
7188
7188
|
}
|
|
7189
7189
|
}), vr = ["src"], mr = /* @__PURE__ */ W({
|
|
@@ -7207,12 +7207,12 @@ const Ai = {
|
|
|
7207
7207
|
});
|
|
7208
7208
|
});
|
|
7209
7209
|
const r = $(() => ye(a.value, t.value.defaultFilename));
|
|
7210
|
-
return (d,
|
|
7210
|
+
return (d, g) => y(t).sunsimDayOfYear && l.currentDay ? (v(), I(dr, {
|
|
7211
7211
|
key: l.currentDay.dayOfYear,
|
|
7212
7212
|
"day-data": l.currentDay,
|
|
7213
|
-
"cdn-file-resolver":
|
|
7214
|
-
"current-time":
|
|
7215
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"])) :
|
|
7213
|
+
"cdn-file-resolver": y(a),
|
|
7214
|
+
"current-time": y(o)
|
|
7215
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"])) : y(t).sunsimDayOfYear ? S("", !0) : (v(), M("img", {
|
|
7216
7216
|
key: 1,
|
|
7217
7217
|
ref_key: "image",
|
|
7218
7218
|
ref: s,
|
|
@@ -7240,7 +7240,7 @@ const Ai = {
|
|
|
7240
7240
|
ref_key: "image",
|
|
7241
7241
|
ref: s,
|
|
7242
7242
|
style: de({
|
|
7243
|
-
visibility:
|
|
7243
|
+
visibility: y(t) === y(o) ? "visible" : "hidden"
|
|
7244
7244
|
}),
|
|
7245
7245
|
src: k.value
|
|
7246
7246
|
}, null, 12, fr));
|
|
@@ -7278,8 +7278,8 @@ const yr = {
|
|
|
7278
7278
|
)
|
|
7279
7279
|
);
|
|
7280
7280
|
}), (r, d) => {
|
|
7281
|
-
const
|
|
7282
|
-
return
|
|
7281
|
+
const g = L("v-btn"), m = L("v-field"), E = L("v-list-item-title"), b = L("v-list-item"), u = L("v-list"), p = L("v-menu");
|
|
7282
|
+
return y(o).sunsimDayOfYear && y(o).sunsimDayOfYear.length > 0 ? (v(), M("div", yr, [
|
|
7283
7283
|
h(p, null, {
|
|
7284
7284
|
activator: c(({ props: _ }) => [
|
|
7285
7285
|
h(m, {
|
|
@@ -7288,18 +7288,18 @@ const yr = {
|
|
|
7288
7288
|
flat: ""
|
|
7289
7289
|
}, {
|
|
7290
7290
|
default: c(() => [
|
|
7291
|
-
h(
|
|
7291
|
+
h(g, Ie({
|
|
7292
7292
|
variant: "text",
|
|
7293
7293
|
rounded: "",
|
|
7294
7294
|
flat: "",
|
|
7295
|
-
readonly:
|
|
7295
|
+
readonly: y(o).sunsimDayOfYear.length === 1,
|
|
7296
7296
|
"prepend-icon": "mdi-calendar-blank",
|
|
7297
|
-
"append-icon":
|
|
7298
|
-
disabled:
|
|
7299
|
-
size:
|
|
7297
|
+
"append-icon": y(o).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
|
|
7298
|
+
disabled: y(i),
|
|
7299
|
+
size: y(a) ? "small" : void 0
|
|
7300
7300
|
}, _), {
|
|
7301
7301
|
default: c(() => [
|
|
7302
|
-
Q(T(
|
|
7302
|
+
Q(T(y(pa)(k.value)), 1)
|
|
7303
7303
|
]),
|
|
7304
7304
|
_: 1
|
|
7305
7305
|
}, 16, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -7310,7 +7310,7 @@ const yr = {
|
|
|
7310
7310
|
default: c(() => [
|
|
7311
7311
|
h(u, null, {
|
|
7312
7312
|
default: c(() => [
|
|
7313
|
-
(v(!0), M(Ue, null, Ne(
|
|
7313
|
+
(v(!0), M(Ue, null, Ne(y(o).sunsimDayOfYear, (_, x) => (v(), I(b, {
|
|
7314
7314
|
key: x,
|
|
7315
7315
|
value: x,
|
|
7316
7316
|
onClick: (A) => k.value = _.dayOfYear
|
|
@@ -7318,7 +7318,7 @@ const yr = {
|
|
|
7318
7318
|
default: c(() => [
|
|
7319
7319
|
h(E, null, {
|
|
7320
7320
|
default: c(() => [
|
|
7321
|
-
Q(T(
|
|
7321
|
+
Q(T(y(pa)(_.dayOfYear)), 1)
|
|
7322
7322
|
]),
|
|
7323
7323
|
_: 2
|
|
7324
7324
|
}, 1024)
|
|
@@ -7357,13 +7357,13 @@ const yr = {
|
|
|
7357
7357
|
currentCamera: s,
|
|
7358
7358
|
cdnFileResolver: i,
|
|
7359
7359
|
disabled: f
|
|
7360
|
-
} = Ve(t), k = w(s.value), r = w(), d = w(),
|
|
7360
|
+
} = Ve(t), k = w(s.value), r = w(), d = w(), g = w(!1), m = n;
|
|
7361
7361
|
H(
|
|
7362
7362
|
[r, d],
|
|
7363
7363
|
() => {
|
|
7364
7364
|
if (r.value && d.value) {
|
|
7365
7365
|
const b = new ResizeObserver(([u, p]) => {
|
|
7366
|
-
|
|
7366
|
+
g.value = p?.contentRect?.width > u?.contentRect?.width;
|
|
7367
7367
|
});
|
|
7368
7368
|
b.observe(r.value), b.observe(d.value);
|
|
7369
7369
|
}
|
|
@@ -7391,12 +7391,12 @@ const yr = {
|
|
|
7391
7391
|
ref: r,
|
|
7392
7392
|
class: ve({
|
|
7393
7393
|
"d-flex parent-container": !0,
|
|
7394
|
-
mobile:
|
|
7395
|
-
disabled:
|
|
7396
|
-
enabled: !
|
|
7394
|
+
mobile: y(a),
|
|
7395
|
+
disabled: y(f),
|
|
7396
|
+
enabled: !y(f)
|
|
7397
7397
|
})
|
|
7398
7398
|
}, [
|
|
7399
|
-
|
|
7399
|
+
g.value ? (v(), I(p, {
|
|
7400
7400
|
key: 0,
|
|
7401
7401
|
style: { left: "0" },
|
|
7402
7402
|
class: "thumbnail-nav-button",
|
|
@@ -7412,14 +7412,14 @@ const yr = {
|
|
|
7412
7412
|
ref: d,
|
|
7413
7413
|
class: "still-camera-thumbnails-wrapper d-flex justify-center",
|
|
7414
7414
|
style: de({
|
|
7415
|
-
paddingLeft:
|
|
7416
|
-
paddingRight:
|
|
7415
|
+
paddingLeft: g.value ? "28px" : 0,
|
|
7416
|
+
paddingRight: g.value ? "28px" : 0
|
|
7417
7417
|
})
|
|
7418
7418
|
}, [
|
|
7419
|
-
(v(!0), M(Ue, null, Ne(
|
|
7419
|
+
(v(!0), M(Ue, null, Ne(y(o), (x, A) => (v(), M("div", {
|
|
7420
7420
|
key: A,
|
|
7421
7421
|
class: ve(["still-camera-image d-flex flex-column flex-reverse align-center", {
|
|
7422
|
-
"elevation-2": !
|
|
7422
|
+
"elevation-2": !y(a),
|
|
7423
7423
|
"active-camera": x === k.value
|
|
7424
7424
|
}]),
|
|
7425
7425
|
onClick: (R) => E(x)
|
|
@@ -7427,8 +7427,8 @@ const yr = {
|
|
|
7427
7427
|
e("div", {
|
|
7428
7428
|
class: "camera-thumbnail-image",
|
|
7429
7429
|
style: de({
|
|
7430
|
-
backgroundImage: `url(${
|
|
7431
|
-
|
|
7430
|
+
backgroundImage: `url(${y(ye)(
|
|
7431
|
+
y(i),
|
|
7432
7432
|
x.defaultFilename
|
|
7433
7433
|
)})`
|
|
7434
7434
|
})
|
|
@@ -7448,7 +7448,7 @@ const yr = {
|
|
|
7448
7448
|
])) : S("", !0)
|
|
7449
7449
|
], 10, kr))), 128))
|
|
7450
7450
|
], 4),
|
|
7451
|
-
|
|
7451
|
+
g.value ? (v(), I(p, {
|
|
7452
7452
|
key: 1,
|
|
7453
7453
|
style: { right: "0" },
|
|
7454
7454
|
class: "thumbnail-nav-button",
|
|
@@ -7483,25 +7483,25 @@ const yr = {
|
|
|
7483
7483
|
)
|
|
7484
7484
|
);
|
|
7485
7485
|
}), (r, d) => {
|
|
7486
|
-
const
|
|
7486
|
+
const g = L("v-icon"), m = L("v-slider"), E = L("v-field");
|
|
7487
7487
|
return v(), M("div", {
|
|
7488
|
-
class: ve({ "d-inline-block": !0, mobile:
|
|
7488
|
+
class: ve({ "d-inline-block": !0, mobile: y(a) }),
|
|
7489
7489
|
style: de({
|
|
7490
|
-
flex:
|
|
7490
|
+
flex: y(a) && y(o).timeSamples.length > 1 ? 1 : void 0,
|
|
7491
7491
|
verticalAlign: "top"
|
|
7492
7492
|
})
|
|
7493
7493
|
}, [
|
|
7494
7494
|
h(E, {
|
|
7495
7495
|
style: de(
|
|
7496
|
-
|
|
7497
|
-
width:
|
|
7498
|
-
height:
|
|
7496
|
+
y(o).timeSamples.length > 1 ? {
|
|
7497
|
+
width: y(a) ? "100%" : "300px",
|
|
7498
|
+
height: y(a) ? "28px" : "36px"
|
|
7499
7499
|
} : {
|
|
7500
|
-
height:
|
|
7500
|
+
height: y(a) ? "28px" : "36px",
|
|
7501
7501
|
paddingLeft: "12px",
|
|
7502
7502
|
paddingRight: "12px",
|
|
7503
|
-
paddingTop:
|
|
7504
|
-
paddingBottom:
|
|
7503
|
+
paddingTop: y(a) ? "5px" : "9px",
|
|
7504
|
+
paddingBottom: y(a) ? "5px" : "9px"
|
|
7505
7505
|
}
|
|
7506
7506
|
),
|
|
7507
7507
|
variant: "solo-filled",
|
|
@@ -7509,22 +7509,22 @@ const yr = {
|
|
|
7509
7509
|
flat: ""
|
|
7510
7510
|
}, {
|
|
7511
7511
|
default: c(() => [
|
|
7512
|
-
|
|
7512
|
+
y(o).timeSamples.length > 1 ? (v(), I(m, {
|
|
7513
7513
|
key: 0,
|
|
7514
7514
|
class: "pa-2 pr-2",
|
|
7515
7515
|
modelValue: k.value,
|
|
7516
7516
|
"onUpdate:modelValue": d[0] || (d[0] = (b) => k.value = b),
|
|
7517
|
-
min:
|
|
7518
|
-
max:
|
|
7519
|
-
step:
|
|
7520
|
-
disabled: !!
|
|
7517
|
+
min: y(o).startTime,
|
|
7518
|
+
max: y(o).endTime,
|
|
7519
|
+
step: y(o).interval,
|
|
7520
|
+
disabled: !!y(i),
|
|
7521
7521
|
density: "compact",
|
|
7522
7522
|
"thumb-size": "16",
|
|
7523
7523
|
"thumb-color": "white",
|
|
7524
7524
|
"hide-details": ""
|
|
7525
7525
|
}, {
|
|
7526
7526
|
prepend: c(() => [
|
|
7527
|
-
h(
|
|
7527
|
+
h(g, {
|
|
7528
7528
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
7529
7529
|
class: "mr-2 icon",
|
|
7530
7530
|
color: "warning"
|
|
@@ -7534,11 +7534,11 @@ const yr = {
|
|
|
7534
7534
|
])]),
|
|
7535
7535
|
_: 1
|
|
7536
7536
|
}),
|
|
7537
|
-
e("span", Sr, T(
|
|
7537
|
+
e("span", Sr, T(y(pt)(k.value)), 1)
|
|
7538
7538
|
]),
|
|
7539
7539
|
_: 1
|
|
7540
7540
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), M(Ue, { key: 1 }, [
|
|
7541
|
-
h(
|
|
7541
|
+
h(g, {
|
|
7542
7542
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
7543
7543
|
class: "mr-2 icon",
|
|
7544
7544
|
color: "warning"
|
|
@@ -7548,7 +7548,7 @@ const yr = {
|
|
|
7548
7548
|
])]),
|
|
7549
7549
|
_: 1
|
|
7550
7550
|
}),
|
|
7551
|
-
e("span", Er, T(
|
|
7551
|
+
e("span", Er, T(y(pt)(k.value)), 1)
|
|
7552
7552
|
], 64))
|
|
7553
7553
|
]),
|
|
7554
7554
|
_: 1
|
|
@@ -7574,20 +7574,20 @@ const yr = {
|
|
|
7574
7574
|
const d = L("v-btn");
|
|
7575
7575
|
return v(), M("div", Ir, [
|
|
7576
7576
|
h(d, {
|
|
7577
|
-
disabled:
|
|
7578
|
-
size:
|
|
7577
|
+
disabled: y(i) || !y(o),
|
|
7578
|
+
size: y(a) ? "x-small" : "small",
|
|
7579
7579
|
flat: "",
|
|
7580
7580
|
icon: "mdi-plus",
|
|
7581
|
-
onClick: r[0] || (r[0] = (
|
|
7581
|
+
onClick: r[0] || (r[0] = (g) => f("onZoomIn")),
|
|
7582
7582
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
7583
7583
|
}, null, 8, ["disabled", "size"]),
|
|
7584
7584
|
r[2] || (r[2] = e("hr", { style: { "border-top": "1px solid #999" } }, null, -1)),
|
|
7585
7585
|
h(d, {
|
|
7586
|
-
disabled:
|
|
7587
|
-
size:
|
|
7586
|
+
disabled: y(i) || !y(s),
|
|
7587
|
+
size: y(a) ? "x-small" : "small",
|
|
7588
7588
|
flat: "",
|
|
7589
7589
|
icon: "mdi-minus",
|
|
7590
|
-
onClick: r[1] || (r[1] = (
|
|
7590
|
+
onClick: r[1] || (r[1] = (g) => f("onZoomOut")),
|
|
7591
7591
|
style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
|
|
7592
7592
|
}, null, 8, ["disabled", "size"])
|
|
7593
7593
|
]);
|
|
@@ -7604,13 +7604,13 @@ const yr = {
|
|
|
7604
7604
|
},
|
|
7605
7605
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
|
|
7606
7606
|
setup(l, { emit: n }) {
|
|
7607
|
-
const t = l, { cdnFileResolver: a, colorCallback: o, currentCamera: s, selectedId: i } = Ve(t), f = n, k = w(!0), r = w({}), d = w(),
|
|
7607
|
+
const t = l, { cdnFileResolver: a, colorCallback: o, currentCamera: s, selectedId: i } = Ve(t), f = n, k = w(!0), r = w({}), d = w(), g = wa({}), m = $(() => ye(
|
|
7608
7608
|
a.value,
|
|
7609
7609
|
s.value.overlayFilename
|
|
7610
7610
|
));
|
|
7611
7611
|
na(() => {
|
|
7612
|
-
for (const u in
|
|
7613
|
-
const { element: p, state: _ } =
|
|
7612
|
+
for (const u in g) {
|
|
7613
|
+
const { element: p, state: _ } = g[u], { r: x, g: A, b: R, a: le, s: D } = o.value(u, _) || {
|
|
7614
7614
|
r: 0,
|
|
7615
7615
|
g: 0,
|
|
7616
7616
|
b: 0,
|
|
@@ -7620,8 +7620,8 @@ const yr = {
|
|
|
7620
7620
|
p.style.fill = `rgba(${x}, ${A}, ${R}, ${le / 255})`, p.style.stroke = `rgb(${x}, ${A}, ${R})`, p.style.strokeWidth = D.toString(), p.style.cursor = "pointer";
|
|
7621
7621
|
}
|
|
7622
7622
|
}), H(i, () => {
|
|
7623
|
-
for (const u in
|
|
7624
|
-
|
|
7623
|
+
for (const u in g)
|
|
7624
|
+
g[u].state === "selected" && u !== i.value ? g[u].state = "idle" : g[u].state !== "selected" && u === i.value && (g[u].state = "selected");
|
|
7625
7625
|
}), na(async () => {
|
|
7626
7626
|
try {
|
|
7627
7627
|
k.value = !1, r.value[m.value] || (r.value[m.value] = await mt.loadText(m.value)), b();
|
|
@@ -7677,20 +7677,20 @@ const yr = {
|
|
|
7677
7677
|
le.style.stroke = "inherit", le.style.fill = "inherit";
|
|
7678
7678
|
});
|
|
7679
7679
|
const R = A.getAttribute(_);
|
|
7680
|
-
|
|
7680
|
+
g[R] = {
|
|
7681
7681
|
element: A,
|
|
7682
7682
|
state: i.value === R ? "selected" : "idle",
|
|
7683
7683
|
boundingBox: A.getBoundingClientRect().toJSON()
|
|
7684
7684
|
}, t.activeStructureIds && !t.activeStructureIds.includes(R) && (A.style.display = "none"), A.addEventListener("mouseover", () => {
|
|
7685
|
-
|
|
7685
|
+
g[R].state === "idle" && (g[R].state = "hover"), f("onHoverOver", R);
|
|
7686
7686
|
}), A.addEventListener("mouseout", () => {
|
|
7687
|
-
|
|
7687
|
+
g[R].state === "hover" && (g[R].state = "idle"), f("onHoverOut", R);
|
|
7688
7688
|
}), A.addEventListener("click", () => {
|
|
7689
7689
|
f("onClick", R);
|
|
7690
7690
|
});
|
|
7691
7691
|
}), f(
|
|
7692
7692
|
"onBoundingBoxesUpdate",
|
|
7693
|
-
Object.entries(
|
|
7693
|
+
Object.entries(g).map(([x, A]) => ({
|
|
7694
7694
|
id: x,
|
|
7695
7695
|
boundingBox: A.boundingBox
|
|
7696
7696
|
}))
|
|
@@ -8034,8 +8034,8 @@ function Yr(l) {
|
|
|
8034
8034
|
if (!t.value.find((d) => d.image === r)) {
|
|
8035
8035
|
r.decode(), t.value = [...t.value, { image: r, loaded: !1 }];
|
|
8036
8036
|
const d = r.src;
|
|
8037
|
-
n.get(d).then((
|
|
8038
|
-
|
|
8037
|
+
n.get(d).then((g) => {
|
|
8038
|
+
g ? (s.add(g), r.src = g) : n.getOrFetch(d).then((m) => {
|
|
8039
8039
|
m.startsWith("blob:") && URL.revokeObjectURL(m);
|
|
8040
8040
|
});
|
|
8041
8041
|
});
|
|
@@ -8043,15 +8043,15 @@ function Yr(l) {
|
|
|
8043
8043
|
});
|
|
8044
8044
|
}), it("completeImage", (r) => {
|
|
8045
8045
|
Xe(() => {
|
|
8046
|
-
const d = t.value.findIndex((
|
|
8046
|
+
const d = t.value.findIndex((g) => g.image === r);
|
|
8047
8047
|
d >= 0 && (t.value[d].loaded = !0, t.value = [...t.value]);
|
|
8048
8048
|
});
|
|
8049
8049
|
}), it("unregisterImage", (r) => {
|
|
8050
8050
|
const d = r.src;
|
|
8051
|
-
d.startsWith("blob:") && (URL.revokeObjectURL(d), s.delete(d)), t.value = t.value.filter((
|
|
8051
|
+
d.startsWith("blob:") && (URL.revokeObjectURL(d), s.delete(d)), t.value = t.value.filter((g) => g.image !== r);
|
|
8052
8052
|
}), H(l, () => {
|
|
8053
8053
|
l.value && new ResizeObserver(([]) => {
|
|
8054
|
-
const d = t.value.find((
|
|
8054
|
+
const d = t.value.find((g) => g.loaded);
|
|
8055
8055
|
d && (o.value = d.image.width / a.value);
|
|
8056
8056
|
}).observe(l.value);
|
|
8057
8057
|
}), H(t, () => {
|
|
@@ -8111,7 +8111,7 @@ const Nr = {
|
|
|
8111
8111
|
customOverlayContent: k,
|
|
8112
8112
|
selectedId: r,
|
|
8113
8113
|
defaultCamera: d,
|
|
8114
|
-
defaultDay:
|
|
8114
|
+
defaultDay: g,
|
|
8115
8115
|
defaultTime: m,
|
|
8116
8116
|
mobileBreakpoint: E
|
|
8117
8117
|
} = Ve(a), b = t, u = w(), p = w(), _ = w(), x = w(null), A = w(4), R = w(), le = w(!1), D = w(!1), q = w(), he = $(() => q.value.isHoverEnabled), P = w({ x: 0, y: 0, width: 0, height: 0 }), ce = w(), ge = w(), j = w(), be = w(!1), G = w(), re = w({
|
|
@@ -8203,10 +8203,10 @@ const Nr = {
|
|
|
8203
8203
|
},
|
|
8204
8204
|
{ immediate: !0 }
|
|
8205
8205
|
), H(
|
|
8206
|
-
[j, s,
|
|
8206
|
+
[j, s, g],
|
|
8207
8207
|
() => {
|
|
8208
|
-
j.value && s.value && u.value && u.value.sunsimDayOfYear && u.value.sunsimDayOfYear.length > 0 && (
|
|
8209
|
-
(F) => F.dayOfYear ===
|
|
8208
|
+
j.value && s.value && u.value && u.value.sunsimDayOfYear && u.value.sunsimDayOfYear.length > 0 && (g.value ? p.value = u.value.sunsimDayOfYear.find(
|
|
8209
|
+
(F) => F.dayOfYear === g.value
|
|
8210
8210
|
) || u.value.sunsimDayOfYear[0] : p.value = u.value.sunsimDayOfYear[0]);
|
|
8211
8211
|
},
|
|
8212
8212
|
{ immediate: !0 }
|
|
@@ -8360,9 +8360,9 @@ const Nr = {
|
|
|
8360
8360
|
loading: !le.value || !j.value
|
|
8361
8361
|
}, {
|
|
8362
8362
|
default: c(() => [
|
|
8363
|
-
|
|
8363
|
+
y(oe) ? S("", !0) : (v(), M("div", Nr, [
|
|
8364
8364
|
h(ue, {
|
|
8365
|
-
"model-value":
|
|
8365
|
+
"model-value": y(N),
|
|
8366
8366
|
size: 128,
|
|
8367
8367
|
width: 12
|
|
8368
8368
|
}, null, 8, ["model-value"])
|
|
@@ -8416,7 +8416,7 @@ const Nr = {
|
|
|
8416
8416
|
"still-cameras": ie.value,
|
|
8417
8417
|
"current-camera": u.value,
|
|
8418
8418
|
disabled: D.value,
|
|
8419
|
-
"cdn-file-resolver":
|
|
8419
|
+
"cdn-file-resolver": y(s),
|
|
8420
8420
|
onOnCameraChange: Le
|
|
8421
8421
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
8422
8422
|
], 2)) : S("", !0),
|
|
@@ -8429,12 +8429,12 @@ const Nr = {
|
|
|
8429
8429
|
default: c(() => [
|
|
8430
8430
|
e("div", {
|
|
8431
8431
|
class: "w-100 position-relative",
|
|
8432
|
-
style: de({ height: `${
|
|
8432
|
+
style: de({ height: `${y(ae)}px` })
|
|
8433
8433
|
}, [
|
|
8434
8434
|
u.value && !D.value ? (v(), I(pr, {
|
|
8435
8435
|
key: u.value.cameraName,
|
|
8436
8436
|
"camera-data": u.value,
|
|
8437
|
-
"cdn-file-resolver":
|
|
8437
|
+
"cdn-file-resolver": y(s),
|
|
8438
8438
|
"current-camera": u.value,
|
|
8439
8439
|
"current-day": p.value,
|
|
8440
8440
|
"current-time": _.value
|
|
@@ -8442,21 +8442,21 @@ const Nr = {
|
|
|
8442
8442
|
(v(!0), M(Ue, null, Ne(K.value, (pe, Fe) => (v(), I(gr, {
|
|
8443
8443
|
key: `transition${Fe}`,
|
|
8444
8444
|
"transition-data": pe,
|
|
8445
|
-
"cdn-file-resolver":
|
|
8445
|
+
"cdn-file-resolver": y(s),
|
|
8446
8446
|
"current-transition": x.value
|
|
8447
8447
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
8448
|
-
|
|
8448
|
+
y(k) ? (v(), M("div", {
|
|
8449
8449
|
key: 1,
|
|
8450
8450
|
class: "w-100 h-100 position-absolute top-left",
|
|
8451
8451
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
8452
|
-
innerHTML:
|
|
8452
|
+
innerHTML: y(k)
|
|
8453
8453
|
}, null, 8, Wr)) : S("", !0),
|
|
8454
8454
|
u.value.overlayFilename && !ne.value ? Ke((v(), I(Tr, {
|
|
8455
8455
|
key: 2,
|
|
8456
|
-
"cdn-file-resolver":
|
|
8457
|
-
"color-callback":
|
|
8456
|
+
"cdn-file-resolver": y(s),
|
|
8457
|
+
"color-callback": y(i),
|
|
8458
8458
|
"current-camera": u.value,
|
|
8459
|
-
"selected-id":
|
|
8459
|
+
"selected-id": y(r),
|
|
8460
8460
|
activeStructureIds: z.value,
|
|
8461
8461
|
onOnClick: Se,
|
|
8462
8462
|
onOnHoverOver: Ee,
|