@qispace/vue3-player 0.3.35 → 0.3.37
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,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var pe = (s, t, e) => (
|
|
4
|
-
import { defineComponent as W, ref as d, computed as $, openBlock as v, createElementBlock as D, watch as U, onMounted as Ie, onBeforeUnmount as Qe, withDirectives as Ce, createElementVNode as u, normalizeStyle as ce, vShow as ke, createVNode as C, Fragment as me, renderList as _e, createCommentVNode as R, inject as Ze, resolveComponent as
|
|
1
|
+
var $a = Object.defineProperty;
|
|
2
|
+
var Ba = (s, t, e) => t in s ? $a(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
|
+
var pe = (s, t, e) => (Ba(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { defineComponent as W, ref as d, computed as $, openBlock as v, createElementBlock as D, watch as U, onMounted as Ie, onBeforeUnmount as Qe, withDirectives as Ce, createElementVNode as u, normalizeStyle as ce, vShow as ke, createVNode as C, Fragment as me, renderList as _e, createCommentVNode as R, inject as Ze, resolveComponent as E, withCtx as b, toDisplayString as Z, unref as A, createTextVNode as ae, normalizeClass as ge, createBlock as V, renderSlot as ne, provide as at, reactive as bt, watchEffect as Ve, resolveDynamicComponent as Qt, normalizeProps as dt, guardReactiveProps as vt, mergeProps as Oe, nextTick as Ae, Transition as Ee, createSlots as Ra, toRefs as Te, pushScopeId as Ct, popScopeId as wt, vModelText as Ua, createStaticVNode as Zt, onBeforeUpdate as Ha, withModifiers as Ya } from "vue";
|
|
5
5
|
import gt from "axios";
|
|
6
|
-
import * as
|
|
7
|
-
import { Vector3 as it, Object3D as
|
|
6
|
+
import * as za from "@qispace/player-core";
|
|
7
|
+
import { Vector3 as it, Object3D as ja, MathUtils as Pa } from "three";
|
|
8
8
|
class Me {
|
|
9
9
|
static async loadText(t) {
|
|
10
10
|
return new Me().loadText(t);
|
|
@@ -48,7 +48,7 @@ class Me {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const Wa = /* @__PURE__ */ W({
|
|
52
52
|
__name: "VHoverProbe",
|
|
53
53
|
setup(s, { expose: t }) {
|
|
54
54
|
const e = d(), n = $(() => window.getComputedStyle(e.value).display === "none");
|
|
@@ -65,11 +65,11 @@ const za = /* @__PURE__ */ W({
|
|
|
65
65
|
for (const [n, a] of t)
|
|
66
66
|
e[n] = a;
|
|
67
67
|
return e;
|
|
68
|
-
}, We = /* @__PURE__ */ ee(
|
|
68
|
+
}, We = /* @__PURE__ */ ee(Wa, [["__scopeId", "data-v-eb9b348d"]]);
|
|
69
69
|
function ue(s, t) {
|
|
70
70
|
return typeof s == "string" ? `${s}${t}` : s(t);
|
|
71
71
|
}
|
|
72
|
-
const
|
|
72
|
+
const Na = /* @__PURE__ */ W({
|
|
73
73
|
__name: "VApartmentChooserRaster",
|
|
74
74
|
props: {
|
|
75
75
|
cdnFileResolver: {},
|
|
@@ -82,7 +82,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
82
82
|
},
|
|
83
83
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
84
84
|
setup(s, { emit: t }) {
|
|
85
|
-
const e = s, n = t, a = d({ x: 0, y: 0, width: 0, height: 0 }), o = d(0), r = d(0), l = d(), m = d(), p = d(), i = d(), f = d(-1), w = d(!1), k = d(), c = d(), h = d({}), _ = d("auto"), y = d(new Me()), g = d({}),
|
|
85
|
+
const e = s, n = t, a = d({ x: 0, y: 0, width: 0, height: 0 }), o = d(0), r = d(0), l = d(), m = d(), p = d(), i = d(), f = d(-1), w = d(!1), k = d(), c = d(), h = d({}), _ = d("auto"), y = d(new Me()), g = d({}), T = d(), M = d(), P = d(), I = d(), L = d(), X = $(() => P.value.isHoverEnabled), B = $(() => ue(
|
|
86
86
|
e.cdnFileResolver,
|
|
87
87
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
88
88
|
)), te = $(() => B.value in h.value ? h.value[B.value] : null), x = $(() => f.value < 0 ? !1 : e.sceneData.find((K) => K.index === f.value) || !1), S = $(() => ({
|
|
@@ -132,7 +132,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
132
132
|
n("pos", a.value);
|
|
133
133
|
}), Ie(() => {
|
|
134
134
|
M.value = () => {
|
|
135
|
-
clearTimeout(
|
|
135
|
+
clearTimeout(T.value), Le(), T.value = setTimeout(() => {
|
|
136
136
|
Le();
|
|
137
137
|
}, 50);
|
|
138
138
|
}, window.addEventListener("resize", M.value), Le();
|
|
@@ -194,7 +194,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
194
194
|
function q() {
|
|
195
195
|
se().forEach((K) => {
|
|
196
196
|
if (K.index >= 0) {
|
|
197
|
-
const ve =
|
|
197
|
+
const ve = oe(K.index);
|
|
198
198
|
if (ve) {
|
|
199
199
|
const je = re(K.index);
|
|
200
200
|
let Re = "idle";
|
|
@@ -207,7 +207,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function oe(N) {
|
|
211
211
|
return i.value ? g.value[N] : !1;
|
|
212
212
|
}
|
|
213
213
|
function re(N) {
|
|
@@ -279,7 +279,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
279
279
|
}, null, 512)
|
|
280
280
|
], 512));
|
|
281
281
|
}
|
|
282
|
-
}),
|
|
282
|
+
}), Ga = /* @__PURE__ */ ee(Na, [["__scopeId", "data-v-27d7323f"]]), Qa = ["viewBox"], Za = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"], qa = /* @__PURE__ */ W({
|
|
283
283
|
__name: "VApartmentChooserSvg",
|
|
284
284
|
props: {
|
|
285
285
|
cdnFileResolver: {},
|
|
@@ -343,7 +343,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
343
343
|
})), r.value = { ...r.value, [M]: I };
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
|
-
p.value.addEventListener("mousemove",
|
|
346
|
+
p.value.addEventListener("mousemove", T(w, 50));
|
|
347
347
|
});
|
|
348
348
|
function w(M) {
|
|
349
349
|
a.value = {
|
|
@@ -395,7 +395,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
const g = d(!1);
|
|
398
|
-
function
|
|
398
|
+
function T(M, P) {
|
|
399
399
|
return g.value = !0, function(...I) {
|
|
400
400
|
g.value && (g.value = !1, M.apply(this, I), setTimeout(() => g.value = !0, P));
|
|
401
401
|
};
|
|
@@ -422,8 +422,8 @@ const ja = /* @__PURE__ */ W({
|
|
|
422
422
|
onMouseenter: (X) => c(I),
|
|
423
423
|
onMouseleave: (X) => h(),
|
|
424
424
|
onClick: (X) => _(I)
|
|
425
|
-
}, null, 44,
|
|
426
|
-
], 8,
|
|
425
|
+
}, null, 44, Za))), 128))
|
|
426
|
+
], 8, Qa)) : R("", !0)
|
|
427
427
|
], 4), [
|
|
428
428
|
[ke, !M.viewModel.isRotating]
|
|
429
429
|
]),
|
|
@@ -433,10 +433,10 @@ const ja = /* @__PURE__ */ W({
|
|
|
433
433
|
}, null, 512)
|
|
434
434
|
], 512));
|
|
435
435
|
}
|
|
436
|
-
}),
|
|
436
|
+
}), Ja = /* @__PURE__ */ ee(qa, [["__scopeId", "data-v-e6c054c7"]]), $e = Symbol(), Xa = {
|
|
437
437
|
key: 0,
|
|
438
438
|
class: "text-success d-none d-md-flex"
|
|
439
|
-
},
|
|
439
|
+
}, Ka = { class: "text-success" }, en = /* @__PURE__ */ W({
|
|
440
440
|
__name: "VApartmentChooserNavigation",
|
|
441
441
|
props: {
|
|
442
442
|
canGoToUnitCallback: { type: Function, default: () => !0 },
|
|
@@ -458,7 +458,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
458
458
|
p.keyCode === 37 ? e.prevUnitId && r("prevUnit") : p.keyCode === 39 && e.nextUnitId && r("nextUnit");
|
|
459
459
|
}
|
|
460
460
|
return (p, i) => {
|
|
461
|
-
const f =
|
|
461
|
+
const f = E("v-btn");
|
|
462
462
|
return v(), D("div", null, [
|
|
463
463
|
C(f, {
|
|
464
464
|
elevation: "1",
|
|
@@ -483,8 +483,8 @@ const ja = /* @__PURE__ */ W({
|
|
|
483
483
|
onClick: i[2] || (i[2] = (w) => r("goToUnit", n.value))
|
|
484
484
|
}, {
|
|
485
485
|
default: b(() => [
|
|
486
|
-
n.value && p.canGoToUnitCallback(n.value) ? (v(), D("span",
|
|
487
|
-
u("span",
|
|
486
|
+
n.value && p.canGoToUnitCallback(n.value) ? (v(), D("span", Xa, Z(A(l).getLabel("seeApartment")) + " ", 1)) : R("", !0),
|
|
487
|
+
u("span", Ka, Z(n.value ? e.unitRenderer(n.value) : "-"), 1)
|
|
488
488
|
]),
|
|
489
489
|
_: 1
|
|
490
490
|
}, 8, ["disabled"]),
|
|
@@ -506,7 +506,7 @@ const ja = /* @__PURE__ */ W({
|
|
|
506
506
|
]);
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
}),
|
|
509
|
+
}), tn = /* @__PURE__ */ ee(en, [["__scopeId", "data-v-44ed308e"]]);
|
|
510
510
|
class At {
|
|
511
511
|
constructor(t) {
|
|
512
512
|
pe(this, "_numParts");
|
|
@@ -571,7 +571,7 @@ class Mt {
|
|
|
571
571
|
);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
class
|
|
574
|
+
class an {
|
|
575
575
|
constructor(t, e) {
|
|
576
576
|
pe(this, "_cardinalFrames");
|
|
577
577
|
pe(this, "_totalFrameCount");
|
|
@@ -591,20 +591,20 @@ class Ka {
|
|
|
591
591
|
return this._cardinalFrames[t];
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
const
|
|
594
|
+
const nn = {
|
|
595
595
|
key: 0,
|
|
596
596
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
597
|
-
},
|
|
597
|
+
}, on = {
|
|
598
598
|
key: 1,
|
|
599
599
|
class: "frame-container"
|
|
600
|
-
},
|
|
600
|
+
}, ln = {
|
|
601
601
|
key: 0,
|
|
602
602
|
class: "frame-image"
|
|
603
|
-
},
|
|
603
|
+
}, sn = ["srcset"], rn = ["src"], un = {
|
|
604
604
|
key: 2,
|
|
605
605
|
id: "image-stack",
|
|
606
606
|
class: "frame-container"
|
|
607
|
-
},
|
|
607
|
+
}, cn = ["alt"], dn = ["srcset"], vn = ["src"], zt = 64, ut = 4, mn = 120, pn = /* @__PURE__ */ W({
|
|
608
608
|
__name: "VApartmentChooserRotator",
|
|
609
609
|
props: {
|
|
610
610
|
viewModel: {},
|
|
@@ -617,23 +617,23 @@ const en = {
|
|
|
617
617
|
const e = s, n = t, a = k(), o = d(
|
|
618
618
|
new At(a.length).onLoadFinished(() => n("loaded")).onLoadProgress((y) => n("progress", y)).onLoadError(() => n("error"))
|
|
619
619
|
), r = d(
|
|
620
|
-
new
|
|
620
|
+
new an(e.cardinalFrames, zt)
|
|
621
621
|
), l = d(a), m = d(!1), p = $(() => l.value.find((y) => y.show));
|
|
622
622
|
U(
|
|
623
623
|
() => e.viewModel.currentScene,
|
|
624
624
|
(y, g) => {
|
|
625
|
-
const
|
|
626
|
-
i(g,
|
|
625
|
+
const T = _(g, y), M = h(g, y);
|
|
626
|
+
i(g, T, M);
|
|
627
627
|
}
|
|
628
628
|
), Ie(() => {
|
|
629
629
|
w();
|
|
630
630
|
});
|
|
631
|
-
function i(y, g,
|
|
631
|
+
function i(y, g, T) {
|
|
632
632
|
e.viewModel.isRotating || (e.viewModel.isRotating = !0, f(
|
|
633
633
|
r.value.start(
|
|
634
634
|
g,
|
|
635
635
|
y % ut,
|
|
636
|
-
|
|
636
|
+
T
|
|
637
637
|
)
|
|
638
638
|
));
|
|
639
639
|
}
|
|
@@ -642,7 +642,7 @@ const en = {
|
|
|
642
642
|
l.value[y.frameIndex].show = !1;
|
|
643
643
|
const g = y.nextFrame();
|
|
644
644
|
l.value[g.frameIndex].show = !0, g.atEnd ? w() : window.requestAnimationFrame(() => f(g));
|
|
645
|
-
}, 1e3 /
|
|
645
|
+
}, 1e3 / mn);
|
|
646
646
|
}
|
|
647
647
|
function w() {
|
|
648
648
|
const y = r.value.startFrameIndexForScene(
|
|
@@ -653,10 +653,10 @@ const en = {
|
|
|
653
653
|
function k() {
|
|
654
654
|
const y = [];
|
|
655
655
|
for (let g = 0; g < zt; g++) {
|
|
656
|
-
const { sourceSet:
|
|
656
|
+
const { sourceSet: T, defaultPath: M } = c(g);
|
|
657
657
|
y.push({
|
|
658
658
|
index: g,
|
|
659
|
-
sourceSet:
|
|
659
|
+
sourceSet: T,
|
|
660
660
|
defaultPath: M,
|
|
661
661
|
show: !1
|
|
662
662
|
});
|
|
@@ -664,28 +664,28 @@ const en = {
|
|
|
664
664
|
return y;
|
|
665
665
|
}
|
|
666
666
|
function c(y) {
|
|
667
|
-
const g = ("0000" + (y + 1)).slice(-4),
|
|
667
|
+
const g = ("0000" + (y + 1)).slice(-4), T = e.build ? `?v=${e.build}` : "", M = [
|
|
668
668
|
`${ue(
|
|
669
669
|
e.cdnFileResolver,
|
|
670
|
-
`/480/${g}.jpg${
|
|
670
|
+
`/480/${g}.jpg${T}`
|
|
671
671
|
)} 480w`,
|
|
672
672
|
`${ue(
|
|
673
673
|
e.cdnFileResolver,
|
|
674
|
-
`/960/${g}.jpg${
|
|
674
|
+
`/960/${g}.jpg${T}`
|
|
675
675
|
)} 960w`,
|
|
676
676
|
`${ue(
|
|
677
677
|
e.cdnFileResolver,
|
|
678
|
-
`/1280/${g}.jpg${
|
|
678
|
+
`/1280/${g}.jpg${T}`
|
|
679
679
|
)} 1280w`
|
|
680
680
|
].join(","), P = ue(
|
|
681
681
|
e.cdnFileResolver,
|
|
682
|
-
`/480/${g}.jpg${
|
|
682
|
+
`/480/${g}.jpg${T}`
|
|
683
683
|
);
|
|
684
684
|
return { sourceSet: M, defaultPath: P };
|
|
685
685
|
}
|
|
686
686
|
function h(y, g) {
|
|
687
|
-
const
|
|
688
|
-
return M >
|
|
687
|
+
const T = ut / 2, M = Math.abs(y - g);
|
|
688
|
+
return M > T ? ut - M : M;
|
|
689
689
|
}
|
|
690
690
|
function _(y, g) {
|
|
691
691
|
if (y === g)
|
|
@@ -694,16 +694,16 @@ const en = {
|
|
|
694
694
|
return M && y < g || !M && y > g ? 1 : -1;
|
|
695
695
|
}
|
|
696
696
|
return (y, g) => {
|
|
697
|
-
const
|
|
697
|
+
const T = E("v-icon");
|
|
698
698
|
return v(), D("div", null, [
|
|
699
|
-
o.value.isError ? (v(), D("div",
|
|
700
|
-
C(
|
|
699
|
+
o.value.isError ? (v(), D("div", nn, [
|
|
700
|
+
C(T, { "x-large": "" }, {
|
|
701
701
|
default: b(() => [
|
|
702
702
|
ae("mdi-alert-circle-outline")
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
})
|
|
706
|
-
])) : m.value ? (v(), D("div",
|
|
706
|
+
])) : m.value ? (v(), D("div", un, [
|
|
707
707
|
(v(!0), D(me, null, _e(l.value, (M) => (v(), D("picture", {
|
|
708
708
|
key: M.index,
|
|
709
709
|
alt: M.index,
|
|
@@ -712,31 +712,31 @@ const en = {
|
|
|
712
712
|
u("source", {
|
|
713
713
|
srcset: M.sourceSet,
|
|
714
714
|
type: "image/jpeg"
|
|
715
|
-
}, null, 8,
|
|
715
|
+
}, null, 8, dn),
|
|
716
716
|
u("img", {
|
|
717
717
|
src: M.defaultPath,
|
|
718
718
|
alt: "Building image",
|
|
719
719
|
onLoad: g[2] || (g[2] = (P) => o.value.partLoaded()),
|
|
720
720
|
onError: g[3] || (g[3] = (P) => o.value.errorDetected())
|
|
721
|
-
}, null, 40,
|
|
722
|
-
], 10,
|
|
723
|
-
])) : (v(), D("div",
|
|
724
|
-
p.value ? (v(), D("picture",
|
|
721
|
+
}, null, 40, vn)
|
|
722
|
+
], 10, cn))), 128))
|
|
723
|
+
])) : (v(), D("div", on, [
|
|
724
|
+
p.value ? (v(), D("picture", ln, [
|
|
725
725
|
u("source", {
|
|
726
726
|
srcset: p.value.sourceSet,
|
|
727
727
|
type: "image/jpeg"
|
|
728
|
-
}, null, 8,
|
|
728
|
+
}, null, 8, sn),
|
|
729
729
|
u("img", {
|
|
730
730
|
src: p.value.defaultPath,
|
|
731
731
|
onLoad: g[0] || (g[0] = (M) => m.value = !0),
|
|
732
732
|
onError: g[1] || (g[1] = (M) => o.value.errorDetected())
|
|
733
|
-
}, null, 40,
|
|
733
|
+
}, null, 40, rn)
|
|
734
734
|
])) : R("", !0)
|
|
735
735
|
]))
|
|
736
736
|
]);
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
}),
|
|
739
|
+
}), fn = /* @__PURE__ */ ee(pn, [["__scopeId", "data-v-0c291cb9"]]), hn = /* @__PURE__ */ W({
|
|
740
740
|
__name: "VFloatingCard",
|
|
741
741
|
props: {
|
|
742
742
|
pos: {},
|
|
@@ -749,7 +749,7 @@ const en = {
|
|
|
749
749
|
return e.pos.x <= e.pos.width / 2 ? (o = "-100%", l = "-8px") : (o = "0%", l = "8px"), e.pos.y <= e.pos.height / 2 ? (r = "-100%", m = "-8px") : (r = "0%", m = "8px"), `translate(${o}, ${r}) translate(${l}, ${m})`;
|
|
750
750
|
});
|
|
751
751
|
return (o, r) => {
|
|
752
|
-
const l =
|
|
752
|
+
const l = E("v-dialog"), m = E("v-fade-transition");
|
|
753
753
|
return v(), V(m, {
|
|
754
754
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
755
755
|
}, {
|
|
@@ -781,7 +781,7 @@ const en = {
|
|
|
781
781
|
}, 8, ["origin"]);
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
|
-
}), nt = /* @__PURE__ */ ee(
|
|
784
|
+
}), nt = /* @__PURE__ */ ee(hn, [["__scopeId", "data-v-7d5e6067"]]), gn = /* @__PURE__ */ W({
|
|
785
785
|
__name: "VZoomBox",
|
|
786
786
|
props: {
|
|
787
787
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -812,12 +812,12 @@ const en = {
|
|
|
812
812
|
), U(
|
|
813
813
|
() => n.mobile,
|
|
814
814
|
() => {
|
|
815
|
-
n.mobile ? y() :
|
|
815
|
+
n.mobile ? y() : T();
|
|
816
816
|
}
|
|
817
817
|
), Ie(() => {
|
|
818
818
|
n.desktop && _(), n.mobile && y();
|
|
819
819
|
}), Qe(() => {
|
|
820
|
-
n.desktop && g(), n.mobile &&
|
|
820
|
+
n.desktop && g(), n.mobile && T();
|
|
821
821
|
});
|
|
822
822
|
function _() {
|
|
823
823
|
w.value.addEventListener("wheel", M, {
|
|
@@ -856,7 +856,7 @@ const en = {
|
|
|
856
856
|
capture: !0
|
|
857
857
|
});
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function T() {
|
|
860
860
|
w.value.removeEventListener("touchstart", B, {
|
|
861
861
|
capture: !0
|
|
862
862
|
}), w.value.removeEventListener("touchmove", te, {
|
|
@@ -876,8 +876,8 @@ const en = {
|
|
|
876
876
|
}
|
|
877
877
|
function I(O) {
|
|
878
878
|
if (m.value) {
|
|
879
|
-
const { x: J, y: q } = S(O), { x:
|
|
880
|
-
x: J -
|
|
879
|
+
const { x: J, y: q } = S(O), { x: oe, y: re } = S(i.value), se = {
|
|
880
|
+
x: J - oe,
|
|
881
881
|
y: q - re
|
|
882
882
|
};
|
|
883
883
|
H(se.x), G(se.y), f.value = !0, i.value = O;
|
|
@@ -894,19 +894,19 @@ const en = {
|
|
|
894
894
|
}
|
|
895
895
|
function te(O) {
|
|
896
896
|
if (m.value) {
|
|
897
|
-
const { x: J, y: q } = S(O.touches[0]), { x:
|
|
897
|
+
const { x: J, y: q } = S(O.touches[0]), { x: oe, y: re } = S(
|
|
898
898
|
i.value.touches[0]
|
|
899
899
|
), se = {
|
|
900
|
-
x: J -
|
|
900
|
+
x: J - oe,
|
|
901
901
|
y: q - re
|
|
902
902
|
};
|
|
903
903
|
H(se.x), G(se.y);
|
|
904
904
|
} else if (p.value && O.touches.length === 2) {
|
|
905
|
-
const { x: J, y: q } = S(O.touches[0]), { x:
|
|
905
|
+
const { x: J, y: q } = S(O.touches[0]), { x: oe, y: re } = S(
|
|
906
906
|
i.value.touches[0]
|
|
907
907
|
), { x: se, y: be } = S(O.touches[1]), { x: ie, y: Fe } = S(
|
|
908
908
|
i.value.touches[1]
|
|
909
|
-
), Le = Math.hypot(
|
|
909
|
+
), Le = Math.hypot(oe - ie, re - Fe), ze = Math.hypot(J - se, q - be), we = (se + J) / 2, xe = (be + q) / 2;
|
|
910
910
|
de(ze - Le, we, xe);
|
|
911
911
|
}
|
|
912
912
|
i.value = O;
|
|
@@ -936,10 +936,10 @@ const en = {
|
|
|
936
936
|
);
|
|
937
937
|
}
|
|
938
938
|
function de(O, J, q) {
|
|
939
|
-
const
|
|
939
|
+
const oe = J !== void 0 ? J : w.value.clientWidth / 2, re = q !== void 0 ? q : w.value.clientHeight / 2, se = w.value.clientWidth, be = w.value.clientHeight, ie = se * c.value, Fe = be * c.value;
|
|
940
940
|
o.value = Math.min(Math.max(100, o.value + O), h.value);
|
|
941
941
|
const Le = se * c.value, ze = be * c.value, we = Le - ie, xe = ze - Fe;
|
|
942
|
-
r.value -=
|
|
942
|
+
r.value -= oe / se * we, l.value -= re / be * xe, H(0), G(0);
|
|
943
943
|
}
|
|
944
944
|
function j() {
|
|
945
945
|
a("update", {
|
|
@@ -950,7 +950,7 @@ const en = {
|
|
|
950
950
|
min: 100,
|
|
951
951
|
max: h.value,
|
|
952
952
|
resolve: (O, J) => {
|
|
953
|
-
const q = w.value.clientWidth,
|
|
953
|
+
const q = w.value.clientWidth, oe = w.value.clientHeight, re = r.value / -c.value, se = l.value / -c.value, be = re + q / c.value, ie = se + oe / c.value, Fe = O / q * (be - re) + re, Le = J / oe * (ie - se) + se;
|
|
954
954
|
return { x: Fe, y: Le };
|
|
955
955
|
}
|
|
956
956
|
});
|
|
@@ -969,14 +969,14 @@ const en = {
|
|
|
969
969
|
], 4)
|
|
970
970
|
], 4));
|
|
971
971
|
}
|
|
972
|
-
}), ot = /* @__PURE__ */ ee(
|
|
972
|
+
}), ot = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-3e334a46"]]), Ot = 4;
|
|
973
973
|
function qt(s) {
|
|
974
974
|
return s < Ot ? s + 1 : 1;
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function yn(s) {
|
|
977
977
|
return s > 1 ? s - 1 : Ot;
|
|
978
978
|
}
|
|
979
|
-
class
|
|
979
|
+
class _n {
|
|
980
980
|
constructor(t) {
|
|
981
981
|
pe(this, "_state");
|
|
982
982
|
this._state = {
|
|
@@ -1006,7 +1006,7 @@ class hn {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
rotateClockwise() {
|
|
1008
1008
|
this.unlessRotatingDo(() => {
|
|
1009
|
-
this.currentScene =
|
|
1009
|
+
this.currentScene = yn(this.currentScene);
|
|
1010
1010
|
});
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
@@ -1025,10 +1025,10 @@ class He {
|
|
|
1025
1025
|
return typeof t == "string" ? t : typeof t == "object" && this._language in t && t[this._language] ? t[this._language] : "";
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
|
-
const
|
|
1028
|
+
const bn = { key: 0 }, Cn = { class: "interactive-viewer" }, wn = { class: "fill-parent" }, kn = { key: 0 }, Sn = {
|
|
1029
1029
|
key: 1,
|
|
1030
1030
|
class: "navigation"
|
|
1031
|
-
},
|
|
1031
|
+
}, In = { key: 2 }, xn = 4, Dn = /* @__PURE__ */ W({
|
|
1032
1032
|
__name: "VApartmentChooser",
|
|
1033
1033
|
props: {
|
|
1034
1034
|
i18nConfig: {},
|
|
@@ -1054,14 +1054,14 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1054
1054
|
$e,
|
|
1055
1055
|
n.i18nConfig ? new He(n.i18nConfig) : new He()
|
|
1056
1056
|
);
|
|
1057
|
-
const o = bt({ isReady: !1, isError: !1 }), r = d(), l = d(), m = d(), p = d(), i = d({ x: 0, y: 0, width: 0, height: 0 }), f = d(), w = d(), k = d(), c = $(() => k.value.isHoverEnabled), h = $(() => n.useSvg ?
|
|
1057
|
+
const o = bt({ isReady: !1, isError: !1 }), r = d(), l = d(), m = d(), p = d(), i = d({ x: 0, y: 0, width: 0, height: 0 }), f = d(), w = d(), k = d(), c = $(() => k.value.isHoverEnabled), h = $(() => n.useSvg ? Ja : Ga), _ = $(() => n.selectedUnitId), y = $(() => n.nextUnitId), g = $(() => n.prevUnitId);
|
|
1058
1058
|
Ve(() => {
|
|
1059
1059
|
if (_.value && p.value) {
|
|
1060
1060
|
const I = r.value[_.value];
|
|
1061
1061
|
I && (p.value.currentScene = I);
|
|
1062
1062
|
}
|
|
1063
1063
|
}), Ie(async () => {
|
|
1064
|
-
const I = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene :
|
|
1064
|
+
const I = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene : xn;
|
|
1065
1065
|
m.value = n.apartmentChooserData && n.apartmentChooserData.scenes !== void 0 ? n.apartmentChooserData.scenes : e, l.value = n.apartmentChooserData && n.apartmentChooserData.sceneData !== void 0 ? n.apartmentChooserData.sceneData.map((B) => ({
|
|
1066
1066
|
unitId: B.apartmentID,
|
|
1067
1067
|
index: B.index
|
|
@@ -1082,7 +1082,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1082
1082
|
return de < j ? -1 : de > j ? 1 : 0;
|
|
1083
1083
|
}), B;
|
|
1084
1084
|
}, X = (B) => {
|
|
1085
|
-
p.value = new
|
|
1085
|
+
p.value = new _n(B);
|
|
1086
1086
|
};
|
|
1087
1087
|
a("initialized", {
|
|
1088
1088
|
scene: I,
|
|
@@ -1093,7 +1093,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1093
1093
|
initialize: X
|
|
1094
1094
|
});
|
|
1095
1095
|
});
|
|
1096
|
-
function
|
|
1096
|
+
function T(I) {
|
|
1097
1097
|
i.value = I;
|
|
1098
1098
|
}
|
|
1099
1099
|
function M(I) {
|
|
@@ -1103,16 +1103,16 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1103
1103
|
w.value = null, f.value = I.closeHandler, a("hoverOutUnit", I.hoverUnit);
|
|
1104
1104
|
}
|
|
1105
1105
|
return (I, L) => {
|
|
1106
|
-
const X =
|
|
1107
|
-
return p.value ? (v(), D("div",
|
|
1108
|
-
u("div",
|
|
1109
|
-
u("div",
|
|
1106
|
+
const X = E("v-progress-linear");
|
|
1107
|
+
return p.value ? (v(), D("div", bn, [
|
|
1108
|
+
u("div", Cn, [
|
|
1109
|
+
u("div", wn, [
|
|
1110
1110
|
C(ot, {
|
|
1111
1111
|
desktop: o.isReady && I.interactiveDesktop,
|
|
1112
1112
|
mobile: o.isReady && I.interactiveMobile
|
|
1113
1113
|
}, {
|
|
1114
1114
|
default: b(() => [
|
|
1115
|
-
C(
|
|
1115
|
+
C(fn, {
|
|
1116
1116
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
1117
1117
|
"view-model": p.value,
|
|
1118
1118
|
"cardinal-frames": m.value,
|
|
@@ -1121,7 +1121,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1121
1121
|
onLoaded: L[1] || (L[1] = (B) => o.isReady = !0),
|
|
1122
1122
|
onError: L[2] || (L[2] = (B) => o.isError = !0)
|
|
1123
1123
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1124
|
-
o.isReady ? (v(), D("div",
|
|
1124
|
+
o.isReady ? (v(), D("div", kn, [
|
|
1125
1125
|
(v(), V(Qt(h.value), {
|
|
1126
1126
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
1127
1127
|
"view-model": p.value,
|
|
@@ -1134,7 +1134,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1134
1134
|
onGoToUnit: L[4] || (L[4] = (B) => a("goToUnit", B)),
|
|
1135
1135
|
onHoverOver: M,
|
|
1136
1136
|
onHoverOut: P,
|
|
1137
|
-
onPos:
|
|
1137
|
+
onPos: T
|
|
1138
1138
|
}, {
|
|
1139
1139
|
default: b((B) => [
|
|
1140
1140
|
ne(I.$slots, "default", dt(vt(B)), void 0, !0)
|
|
@@ -1163,8 +1163,8 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1163
1163
|
]),
|
|
1164
1164
|
_: 3
|
|
1165
1165
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : R("", !0),
|
|
1166
|
-
o.isReady ? (v(), D("div",
|
|
1167
|
-
C(
|
|
1166
|
+
o.isReady ? (v(), D("div", Sn, [
|
|
1167
|
+
C(tn, {
|
|
1168
1168
|
"can-go-to-unit-callback": n.canGoToUnitCallback,
|
|
1169
1169
|
"unit-renderer": n.unitRenderer,
|
|
1170
1170
|
"selected-unit-id": _.value,
|
|
@@ -1175,7 +1175,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1175
1175
|
onPrevUnit: L[6] || (L[6] = (B) => a("navUnit", g.value)),
|
|
1176
1176
|
onNextUnit: L[7] || (L[7] = (B) => a("navUnit", y.value))
|
|
1177
1177
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1178
|
-
])) : o.isError ? R("", !0) : (v(), D("div",
|
|
1178
|
+
])) : o.isError ? R("", !0) : (v(), D("div", In, [
|
|
1179
1179
|
C(X, {
|
|
1180
1180
|
indeterminate: !o.progress,
|
|
1181
1181
|
modelValue: o.progress,
|
|
@@ -1191,7 +1191,7 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1191
1191
|
])) : R("", !0);
|
|
1192
1192
|
};
|
|
1193
1193
|
}
|
|
1194
|
-
}),
|
|
1194
|
+
}), An = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-34e2e7a2"]]), Fn = ["src"], Ln = /* @__PURE__ */ W({
|
|
1195
1195
|
__name: "VApartmentChooserV5CameraDayTimeSample",
|
|
1196
1196
|
props: {
|
|
1197
1197
|
timeSampleData: {},
|
|
@@ -1204,11 +1204,11 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1204
1204
|
key: e.value,
|
|
1205
1205
|
src: e.value,
|
|
1206
1206
|
width: "100%"
|
|
1207
|
-
}, null, 8,
|
|
1207
|
+
}, null, 8, Fn)), [
|
|
1208
1208
|
[ke, n.timeSampleData === n.currentTime]
|
|
1209
1209
|
]);
|
|
1210
1210
|
}
|
|
1211
|
-
}),
|
|
1211
|
+
}), Mn = /* @__PURE__ */ ee(Ln, [["__scopeId", "data-v-dbbdc1e0"]]), On = /* @__PURE__ */ W({
|
|
1212
1212
|
__name: "VApartmentChooserV5CameraDay",
|
|
1213
1213
|
props: {
|
|
1214
1214
|
dayData: {},
|
|
@@ -1217,13 +1217,13 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1217
1217
|
},
|
|
1218
1218
|
setup(s) {
|
|
1219
1219
|
const t = s;
|
|
1220
|
-
return (e, n) => (v(!0), D(me, null, _e(t.dayData.timeSamples, (a) => (v(), V(
|
|
1220
|
+
return (e, n) => (v(!0), D(me, null, _e(t.dayData.timeSamples, (a) => (v(), V(Mn, {
|
|
1221
1221
|
"time-sample-data": a,
|
|
1222
1222
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
1223
1223
|
"current-time": e.currentTime
|
|
1224
1224
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1225
1225
|
}
|
|
1226
|
-
}),
|
|
1226
|
+
}), Tn = /* @__PURE__ */ W({
|
|
1227
1227
|
__name: "VApartmentChooserV5Camera",
|
|
1228
1228
|
props: {
|
|
1229
1229
|
cameraData: {},
|
|
@@ -1232,13 +1232,13 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1232
1232
|
},
|
|
1233
1233
|
setup(s) {
|
|
1234
1234
|
const t = s;
|
|
1235
|
-
return (e, n) => (v(!0), D(me, null, _e(t.cameraData.sunsimDayOfYear, (a) => (v(), V(
|
|
1235
|
+
return (e, n) => (v(!0), D(me, null, _e(t.cameraData.sunsimDayOfYear, (a) => (v(), V(On, {
|
|
1236
1236
|
"day-data": a,
|
|
1237
1237
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
1238
1238
|
"current-time": t.currentTime
|
|
1239
1239
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1240
1240
|
}
|
|
1241
|
-
}),
|
|
1241
|
+
}), En = ["src"], Vn = /* @__PURE__ */ W({
|
|
1242
1242
|
__name: "VApartmentChooserV5Transition",
|
|
1243
1243
|
props: {
|
|
1244
1244
|
transitionData: {},
|
|
@@ -1252,12 +1252,12 @@ const gn = { key: 0 }, yn = { class: "interactive-viewer" }, _n = { class: "fill
|
|
|
1252
1252
|
key: n.value,
|
|
1253
1253
|
src: n.value,
|
|
1254
1254
|
class: "position-absolute top-left w-100 h-100"
|
|
1255
|
-
}, null, 8,
|
|
1255
|
+
}, null, 8, En)), [
|
|
1256
1256
|
[ke, a.transitionData === a.currentTransition]
|
|
1257
1257
|
]);
|
|
1258
1258
|
}
|
|
1259
|
-
}),
|
|
1260
|
-
function
|
|
1259
|
+
}), $n = /* @__PURE__ */ ee(Vn, [["__scopeId", "data-v-ecb88391"]]);
|
|
1260
|
+
function Bn(s) {
|
|
1261
1261
|
if (!s)
|
|
1262
1262
|
return !1;
|
|
1263
1263
|
const t = [
|
|
@@ -1275,13 +1275,13 @@ function Tn(s) {
|
|
|
1275
1275
|
return !1;
|
|
1276
1276
|
return !0;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function Tt(s) {
|
|
1279
1279
|
return !("filename" in s);
|
|
1280
1280
|
}
|
|
1281
1281
|
function Ft(s) {
|
|
1282
1282
|
return "filename" in s;
|
|
1283
1283
|
}
|
|
1284
|
-
const
|
|
1284
|
+
const Rn = /* @__PURE__ */ W({
|
|
1285
1285
|
__name: "VApartmentChooserV5UiCamera",
|
|
1286
1286
|
props: {
|
|
1287
1287
|
apartmentChooserData: {},
|
|
@@ -1300,7 +1300,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1300
1300
|
}
|
|
1301
1301
|
);
|
|
1302
1302
|
const o = $(
|
|
1303
|
-
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(
|
|
1303
|
+
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(Tt) : []
|
|
1304
1304
|
);
|
|
1305
1305
|
return U(a, () => {
|
|
1306
1306
|
n(
|
|
@@ -1310,7 +1310,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1310
1310
|
)
|
|
1311
1311
|
);
|
|
1312
1312
|
}), (r, l) => {
|
|
1313
|
-
const m =
|
|
1313
|
+
const m = E("v-select");
|
|
1314
1314
|
return v(), V(m, {
|
|
1315
1315
|
modelValue: a.value,
|
|
1316
1316
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => a.value = p),
|
|
@@ -1324,7 +1324,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1324
1324
|
}, null, 8, ["modelValue", "items", "disabled"]);
|
|
1325
1325
|
};
|
|
1326
1326
|
}
|
|
1327
|
-
}),
|
|
1327
|
+
}), Un = /* @__PURE__ */ W({
|
|
1328
1328
|
__name: "VApartmentChooserV5UiDay",
|
|
1329
1329
|
props: {
|
|
1330
1330
|
cameraData: {},
|
|
@@ -1355,7 +1355,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1355
1355
|
});
|
|
1356
1356
|
}
|
|
1357
1357
|
return (r, l) => {
|
|
1358
|
-
const m =
|
|
1358
|
+
const m = E("v-list-item"), p = E("v-select");
|
|
1359
1359
|
return v(), V(p, {
|
|
1360
1360
|
modelValue: a.value,
|
|
1361
1361
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => a.value = i),
|
|
@@ -1379,10 +1379,10 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1379
1379
|
}, 8, ["modelValue", "items", "disabled"]);
|
|
1380
1380
|
};
|
|
1381
1381
|
}
|
|
1382
|
-
}),
|
|
1382
|
+
}), Hn = {
|
|
1383
1383
|
key: 0,
|
|
1384
1384
|
class: "py-2"
|
|
1385
|
-
},
|
|
1385
|
+
}, Yn = { class: "small" }, zn = { class: "small" }, jn = /* @__PURE__ */ W({
|
|
1386
1386
|
__name: "VApartmentChooserV5UiTimeSample",
|
|
1387
1387
|
props: {
|
|
1388
1388
|
dayData: {},
|
|
@@ -1420,10 +1420,10 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1420
1420
|
}, 200));
|
|
1421
1421
|
}
|
|
1422
1422
|
return (m, p) => {
|
|
1423
|
-
const i =
|
|
1423
|
+
const i = E("v-icon"), f = E("v-btn"), w = E("v-slider"), k = E("v-field");
|
|
1424
1424
|
return v(), V(k, { variant: "solo" }, {
|
|
1425
1425
|
default: b(() => [
|
|
1426
|
-
m.dayData.startTime === m.dayData.endTime ? (v(), D("div",
|
|
1426
|
+
m.dayData.startTime === m.dayData.endTime ? (v(), D("div", Hn, [
|
|
1427
1427
|
C(i, {
|
|
1428
1428
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1429
1429
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -1453,10 +1453,10 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1453
1453
|
onClick: l
|
|
1454
1454
|
}, null, 8, ["icon"]),
|
|
1455
1455
|
ae(" "),
|
|
1456
|
-
u("span",
|
|
1456
|
+
u("span", Yn, Z(r(m.dayData.startTime)), 1)
|
|
1457
1457
|
]),
|
|
1458
1458
|
append: b(() => [
|
|
1459
|
-
u("span",
|
|
1459
|
+
u("span", zn, Z(r(m.dayData.endTime)), 1),
|
|
1460
1460
|
ae(" "),
|
|
1461
1461
|
C(i, {
|
|
1462
1462
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -1476,7 +1476,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1476
1476
|
});
|
|
1477
1477
|
};
|
|
1478
1478
|
}
|
|
1479
|
-
}),
|
|
1479
|
+
}), Pn = /* @__PURE__ */ ee(jn, [["__scopeId", "data-v-f2649c45"]]), Wn = /* @__PURE__ */ W({
|
|
1480
1480
|
__name: "VApartmentChooserV5UiRotator",
|
|
1481
1481
|
props: {
|
|
1482
1482
|
apartmentChooserData: {},
|
|
@@ -1540,7 +1540,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
1542
|
return (c, h) => {
|
|
1543
|
-
const _ =
|
|
1543
|
+
const _ = E("v-btn"), y = E("v-chip");
|
|
1544
1544
|
return v(), D(me, null, [
|
|
1545
1545
|
C(_, {
|
|
1546
1546
|
class: "mx-2",
|
|
@@ -1571,7 +1571,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1571
1571
|
], 64);
|
|
1572
1572
|
};
|
|
1573
1573
|
}
|
|
1574
|
-
}),
|
|
1574
|
+
}), Nn = ["innerHTML"], Gn = /* @__PURE__ */ W({
|
|
1575
1575
|
__name: "VApartmentChooserV5Overlay",
|
|
1576
1576
|
props: {
|
|
1577
1577
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -1656,7 +1656,7 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1656
1656
|
}));
|
|
1657
1657
|
});
|
|
1658
1658
|
}
|
|
1659
|
-
return (i, f) => (v(), V(
|
|
1659
|
+
return (i, f) => (v(), V(Ee, null, {
|
|
1660
1660
|
default: b(() => [
|
|
1661
1661
|
(v(), D("div", {
|
|
1662
1662
|
ref_key: "svgContainer",
|
|
@@ -1665,12 +1665,12 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1665
1665
|
class: "w-100 h-100 position-absolute top-left",
|
|
1666
1666
|
style: { "z-index": "5" },
|
|
1667
1667
|
innerHTML: a.value
|
|
1668
|
-
}, null, 8,
|
|
1668
|
+
}, null, 8, Nn))
|
|
1669
1669
|
]),
|
|
1670
1670
|
_: 1
|
|
1671
1671
|
}));
|
|
1672
1672
|
}
|
|
1673
|
-
}),
|
|
1673
|
+
}), Qn = /* @__PURE__ */ ee(Gn, [["__scopeId", "data-v-09ccd2d0"]]), Zn = "data:image/png;base64,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", lt = /* @__PURE__ */ W({
|
|
1674
1674
|
__name: "VNorthDirection",
|
|
1675
1675
|
props: {
|
|
1676
1676
|
longitude: {}
|
|
@@ -1681,9 +1681,9 @@ const Vn = /* @__PURE__ */ W({
|
|
|
1681
1681
|
transition: " transform 0.5s ease-in"
|
|
1682
1682
|
}));
|
|
1683
1683
|
return (n, a) => {
|
|
1684
|
-
const o =
|
|
1684
|
+
const o = E("v-img");
|
|
1685
1685
|
return v(), V(o, {
|
|
1686
|
-
src: A(
|
|
1686
|
+
src: A(Zn),
|
|
1687
1687
|
style: ce(e.value)
|
|
1688
1688
|
}, null, 8, ["src", "style"]);
|
|
1689
1689
|
};
|
|
@@ -1708,7 +1708,7 @@ class et {
|
|
|
1708
1708
|
return a;
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
const
|
|
1711
|
+
const qn = 180;
|
|
1712
1712
|
class Jt {
|
|
1713
1713
|
constructor(t) {
|
|
1714
1714
|
pe(this, "_cdnFileResolver");
|
|
@@ -1734,7 +1734,7 @@ class Jt {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
getBackgroundImageData(t) {
|
|
1736
1736
|
return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
|
|
1737
|
-
|
|
1737
|
+
qn,
|
|
1738
1738
|
t.timeSamples
|
|
1739
1739
|
)];
|
|
1740
1740
|
}
|
|
@@ -1796,7 +1796,7 @@ class tt {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
1799
|
-
const
|
|
1799
|
+
const Jn = /* @__PURE__ */ new Date(0);
|
|
1800
1800
|
class kt {
|
|
1801
1801
|
constructor(t) {
|
|
1802
1802
|
pe(this, "_imagesByDay");
|
|
@@ -1804,7 +1804,7 @@ class kt {
|
|
|
1804
1804
|
this._imagesByDay = t, this._state = { selectedIndex: 0 };
|
|
1805
1805
|
}
|
|
1806
1806
|
static empty() {
|
|
1807
|
-
return new kt([{ referenceDate:
|
|
1807
|
+
return new kt([{ referenceDate: Jn, urls: [] }]);
|
|
1808
1808
|
}
|
|
1809
1809
|
selectIndex(t) {
|
|
1810
1810
|
t < this._imagesByDay.length && (this._state.selectedIndex = t);
|
|
@@ -1828,7 +1828,7 @@ class kt {
|
|
|
1828
1828
|
function ct(s) {
|
|
1829
1829
|
return ("0" + s).slice(-2);
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function Xn() {
|
|
1832
1832
|
const s = /* @__PURE__ */ new Date();
|
|
1833
1833
|
return [
|
|
1834
1834
|
s.getFullYear().toString(),
|
|
@@ -1840,22 +1840,22 @@ function Zn() {
|
|
|
1840
1840
|
ct(s.getSeconds())
|
|
1841
1841
|
].join("");
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1844
|
-
return "Visuado-Snapshot-" +
|
|
1843
|
+
function Kn() {
|
|
1844
|
+
return "Visuado-Snapshot-" + Xn();
|
|
1845
1845
|
}
|
|
1846
|
-
class
|
|
1846
|
+
class eo {
|
|
1847
1847
|
// private cameraParams: any
|
|
1848
1848
|
constructor(t, e) {
|
|
1849
1849
|
pe(this, "data");
|
|
1850
1850
|
this.data = t;
|
|
1851
1851
|
}
|
|
1852
1852
|
download(t = null) {
|
|
1853
|
-
t = t ||
|
|
1853
|
+
t = t || Kn();
|
|
1854
1854
|
const e = document.createElement("a");
|
|
1855
1855
|
typeof e.download == "string" ? (document.body.appendChild(e), e.download = t, e.href = this.data, e.click(), document.body.removeChild(e)) : location.replace(this.data);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function to(s) {
|
|
1859
1859
|
const t = s.sceneData.map(
|
|
1860
1860
|
(l) => ({
|
|
1861
1861
|
unitId: l.apartmentID,
|
|
@@ -1913,16 +1913,16 @@ function Xn(s) {
|
|
|
1913
1913
|
cameras: o
|
|
1914
1914
|
};
|
|
1915
1915
|
}
|
|
1916
|
-
const
|
|
1916
|
+
const ao = {
|
|
1917
1917
|
class: "actions-bar compact top-left d-flex w-100 justify-center align-center",
|
|
1918
1918
|
style: { "z-index": "7" }
|
|
1919
|
-
},
|
|
1919
|
+
}, no = { class: "pa-1" }, oo = { class: "pa-1" }, lo = { class: "pa-1" }, so = {
|
|
1920
1920
|
class: "hover-bar bottom-right d-flex w-100 justify-center align-center pa-2",
|
|
1921
1921
|
style: { "z-index": "7" }
|
|
1922
|
-
},
|
|
1922
|
+
}, ro = {
|
|
1923
1923
|
class: "position-absolute bottom-right-compact pa-2",
|
|
1924
1924
|
style: { "z-index": "7", width: "56px", height: "56px" }
|
|
1925
|
-
},
|
|
1925
|
+
}, io = ["innerHTML"], uo = { style: { "z-index": "7" } }, co = /* @__PURE__ */ W({
|
|
1926
1926
|
__name: "VApartmentChooserV5",
|
|
1927
1927
|
props: {
|
|
1928
1928
|
apartmentChooserData: {},
|
|
@@ -1943,7 +1943,7 @@ const Kn = {
|
|
|
1943
1943
|
null
|
|
1944
1944
|
), m = d(4), p = d(), i = d(!1), f = d(!1), w = d(), k = d(), c = $(() => k.value.isHoverEnabled), h = d({ x: 0, y: 0, width: 0, height: 0 }), _ = d(), y = d(), g = d(
|
|
1945
1945
|
e.apartmentChooserData
|
|
1946
|
-
),
|
|
1946
|
+
), T = d(!1);
|
|
1947
1947
|
Ie(() => {
|
|
1948
1948
|
i.value = !0;
|
|
1949
1949
|
}), U(i, (j) => {
|
|
@@ -1952,12 +1952,12 @@ const Kn = {
|
|
|
1952
1952
|
() => y.value,
|
|
1953
1953
|
() => {
|
|
1954
1954
|
y.value && new ResizeObserver(([O]) => {
|
|
1955
|
-
|
|
1955
|
+
T.value = O.contentRect.width < e.mobileBreakpoint;
|
|
1956
1956
|
}).observe(y.value);
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
1959
|
const M = $(
|
|
1960
|
-
() => g.value ? g.value.cameras.filter(
|
|
1960
|
+
() => g.value ? g.value.cameras.filter(Tt) : []
|
|
1961
1961
|
), P = $(
|
|
1962
1962
|
() => g.value ? g.value.cameras.filter(Ft) : []
|
|
1963
1963
|
), I = async () => {
|
|
@@ -1965,7 +1965,7 @@ const Kn = {
|
|
|
1965
1965
|
let j, O;
|
|
1966
1966
|
return O = await Me.loadJson(
|
|
1967
1967
|
ue(e.cdnFileResolver, "/apartmentChooser.json")
|
|
1968
|
-
), parseInt(O.version) === 5 ? O : (j =
|
|
1968
|
+
), parseInt(O.version) === 5 ? O : (j = to(O), j);
|
|
1969
1969
|
} catch (j) {
|
|
1970
1970
|
i.value = !1, n("onError", j);
|
|
1971
1971
|
}
|
|
@@ -2058,14 +2058,14 @@ const Kn = {
|
|
|
2058
2058
|
}
|
|
2059
2059
|
function de(j) {
|
|
2060
2060
|
const { layerX: O, layerY: J } = j;
|
|
2061
|
-
let q = j.target,
|
|
2061
|
+
let q = j.target, oe = !1;
|
|
2062
2062
|
for (; q; )
|
|
2063
2063
|
if (q === _.value) {
|
|
2064
|
-
|
|
2064
|
+
oe = !0;
|
|
2065
2065
|
break;
|
|
2066
2066
|
} else
|
|
2067
2067
|
q = q.parentElement;
|
|
2068
|
-
if (
|
|
2068
|
+
if (oe) {
|
|
2069
2069
|
const re = j.currentTarget;
|
|
2070
2070
|
h.value = {
|
|
2071
2071
|
x: O,
|
|
@@ -2078,7 +2078,7 @@ const Kn = {
|
|
|
2078
2078
|
n("onMouseMove", j, h.value);
|
|
2079
2079
|
}
|
|
2080
2080
|
return (j, O) => {
|
|
2081
|
-
const J =
|
|
2081
|
+
const J = E("v-skeleton-loader");
|
|
2082
2082
|
return v(), D(me, null, [
|
|
2083
2083
|
C(J, {
|
|
2084
2084
|
type: "image",
|
|
@@ -2086,17 +2086,17 @@ const Kn = {
|
|
|
2086
2086
|
loading: !i.value || !g.value
|
|
2087
2087
|
}, {
|
|
2088
2088
|
default: b(() => [
|
|
2089
|
-
C(
|
|
2089
|
+
C(Ee, { class: "w-100 h-100" }, {
|
|
2090
2090
|
default: b(() => [
|
|
2091
2091
|
u("div", {
|
|
2092
2092
|
ref_key: "container",
|
|
2093
2093
|
ref: y,
|
|
2094
|
-
class: ge({ mobile:
|
|
2094
|
+
class: ge({ mobile: T.value }),
|
|
2095
2095
|
onMousemove: de
|
|
2096
2096
|
}, [
|
|
2097
|
-
u("div",
|
|
2098
|
-
u("div",
|
|
2099
|
-
g.value.cameras.length > 1 ? (v(), V(
|
|
2097
|
+
u("div", ao, [
|
|
2098
|
+
u("div", no, [
|
|
2099
|
+
g.value.cameras.length > 1 ? (v(), V(Rn, {
|
|
2100
2100
|
key: 0,
|
|
2101
2101
|
"apartment-chooser-data": g.value,
|
|
2102
2102
|
"current-camera": a.value,
|
|
@@ -2104,8 +2104,8 @@ const Kn = {
|
|
|
2104
2104
|
onOnCameraChange: L
|
|
2105
2105
|
}, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])) : R("", !0)
|
|
2106
2106
|
]),
|
|
2107
|
-
u("div",
|
|
2108
|
-
a.value.sunsimDayOfYear.length > 1 ? (v(), V(
|
|
2107
|
+
u("div", oo, [
|
|
2108
|
+
a.value.sunsimDayOfYear.length > 1 ? (v(), V(Un, {
|
|
2109
2109
|
key: 0,
|
|
2110
2110
|
"camera-data": a.value,
|
|
2111
2111
|
"current-day": o.value,
|
|
@@ -2113,8 +2113,8 @@ const Kn = {
|
|
|
2113
2113
|
onOnDayChange: te
|
|
2114
2114
|
}, null, 8, ["camera-data", "current-day", "disabled"])) : R("", !0)
|
|
2115
2115
|
]),
|
|
2116
|
-
u("div",
|
|
2117
|
-
o.value.timeSamples.length > 1 ? (v(), V(
|
|
2116
|
+
u("div", lo, [
|
|
2117
|
+
o.value.timeSamples.length > 1 ? (v(), V(Pn, {
|
|
2118
2118
|
key: 0,
|
|
2119
2119
|
"day-data": o.value,
|
|
2120
2120
|
"current-time": r.value,
|
|
@@ -2123,8 +2123,8 @@ const Kn = {
|
|
|
2123
2123
|
}, null, 8, ["day-data", "current-time", "disabled"])) : R("", !0)
|
|
2124
2124
|
])
|
|
2125
2125
|
]),
|
|
2126
|
-
u("div",
|
|
2127
|
-
g.value.cameras.length > 1 ? (v(), V(
|
|
2126
|
+
u("div", so, [
|
|
2127
|
+
g.value.cameras.length > 1 ? (v(), V(Wn, {
|
|
2128
2128
|
key: 0,
|
|
2129
2129
|
ref_key: "rotator",
|
|
2130
2130
|
ref: w,
|
|
@@ -2138,7 +2138,7 @@ const Kn = {
|
|
|
2138
2138
|
onOnRotateFinish: O[1] || (O[1] = (q) => f.value = !1)
|
|
2139
2139
|
}, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])) : R("", !0)
|
|
2140
2140
|
]),
|
|
2141
|
-
u("div",
|
|
2141
|
+
u("div", ro, [
|
|
2142
2142
|
a.value.cameraRotation ? (v(), V(lt, {
|
|
2143
2143
|
key: 0,
|
|
2144
2144
|
longitude: a.value.cameraRotation.y + 270
|
|
@@ -2146,13 +2146,13 @@ const Kn = {
|
|
|
2146
2146
|
]),
|
|
2147
2147
|
C(ot, { position: "relative" }, {
|
|
2148
2148
|
default: b(() => [
|
|
2149
|
-
(v(!0), D(me, null, _e(M.value, (q) => (v(), V(
|
|
2149
|
+
(v(!0), D(me, null, _e(M.value, (q) => (v(), V(Tn, {
|
|
2150
2150
|
key: q.overlayFilename,
|
|
2151
2151
|
"camera-data": q,
|
|
2152
2152
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2153
2153
|
"current-time": r.value
|
|
2154
2154
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
2155
|
-
(v(!0), D(me, null, _e(P.value, (q) => (v(), V(
|
|
2155
|
+
(v(!0), D(me, null, _e(P.value, (q) => (v(), V($n, {
|
|
2156
2156
|
"transition-data": q,
|
|
2157
2157
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2158
2158
|
"current-transition": l.value
|
|
@@ -2162,8 +2162,8 @@ const Kn = {
|
|
|
2162
2162
|
class: "w-100 h-100 position-absolute top-left",
|
|
2163
2163
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
2164
2164
|
innerHTML: e.customOverlayContent
|
|
2165
|
-
}, null, 8,
|
|
2166
|
-
Ce(C(
|
|
2165
|
+
}, null, 8, io)) : R("", !0),
|
|
2166
|
+
Ce(C(Qn, {
|
|
2167
2167
|
"cdn-file-resolver": j.cdnFileResolver,
|
|
2168
2168
|
"color-callback": e.colorCallback,
|
|
2169
2169
|
"current-camera": a.value,
|
|
@@ -2184,7 +2184,7 @@ const Kn = {
|
|
|
2184
2184
|
pos: h.value
|
|
2185
2185
|
}, {
|
|
2186
2186
|
default: b(() => [
|
|
2187
|
-
u("div",
|
|
2187
|
+
u("div", uo, [
|
|
2188
2188
|
ne(j.$slots, "popup", dt(vt({ hoverId: p.value, hoverable: c.value })), void 0, !0)
|
|
2189
2189
|
])
|
|
2190
2190
|
]),
|
|
@@ -2204,10 +2204,10 @@ const Kn = {
|
|
|
2204
2204
|
], 64);
|
|
2205
2205
|
};
|
|
2206
2206
|
}
|
|
2207
|
-
}),
|
|
2207
|
+
}), vu = /* @__PURE__ */ ee(co, [["__scopeId", "data-v-0310f66a"]]), vo = { class: "sunsim-bar-wrapper" }, mo = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, po = {
|
|
2208
2208
|
key: 1,
|
|
2209
2209
|
class: "text-center text-body-1"
|
|
2210
|
-
},
|
|
2210
|
+
}, fo = { class: "sunsim-wrapper d-flex align-center px-3" }, ho = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, go = /* @__PURE__ */ W({
|
|
2211
2211
|
__name: "VBuildingChooserSunSimControl",
|
|
2212
2212
|
props: {
|
|
2213
2213
|
modelValue: {},
|
|
@@ -2246,9 +2246,9 @@ const Kn = {
|
|
|
2246
2246
|
), Ve(() => {
|
|
2247
2247
|
o.value = r(e.dateSelector.selectedDate);
|
|
2248
2248
|
}), (i, f) => {
|
|
2249
|
-
const w =
|
|
2250
|
-
return v(), D("div",
|
|
2251
|
-
u("div",
|
|
2249
|
+
const w = E("v-icon"), k = E("v-select"), c = E("v-progress-linear"), h = E("v-slider");
|
|
2250
|
+
return v(), D("div", vo, [
|
|
2251
|
+
u("div", mo, [
|
|
2252
2252
|
C(w, {
|
|
2253
2253
|
color: "black",
|
|
2254
2254
|
class: "mr-2",
|
|
@@ -2263,10 +2263,10 @@ const Kn = {
|
|
|
2263
2263
|
variant: "underlined",
|
|
2264
2264
|
"hide-details": "",
|
|
2265
2265
|
class: "day-selector"
|
|
2266
|
-
}, null, 8, ["modelValue", "items"])) : (v(), D("span",
|
|
2266
|
+
}, null, 8, ["modelValue", "items"])) : (v(), D("span", po, Z(p.value), 1))
|
|
2267
2267
|
]),
|
|
2268
|
-
u("div",
|
|
2269
|
-
u("span",
|
|
2268
|
+
u("div", fo, [
|
|
2269
|
+
u("span", ho, Z(l.value), 1),
|
|
2270
2270
|
C(w, {
|
|
2271
2271
|
medium: "",
|
|
2272
2272
|
class: "ml-2 mr-2 icon"
|
|
@@ -2303,7 +2303,7 @@ const Kn = {
|
|
|
2303
2303
|
]);
|
|
2304
2304
|
};
|
|
2305
2305
|
}
|
|
2306
|
-
}), Xt = /* @__PURE__ */ ee(
|
|
2306
|
+
}), Xt = /* @__PURE__ */ ee(go, [["__scopeId", "data-v-d5a3d3f8"]]), yo = { key: 0 }, _o = ["src"], bo = /* @__PURE__ */ W({
|
|
2307
2307
|
__name: "VBuildingChooserSceneImageStack",
|
|
2308
2308
|
props: {
|
|
2309
2309
|
imageUrls: {},
|
|
@@ -2343,23 +2343,23 @@ const Kn = {
|
|
|
2343
2343
|
style: { opacity: 1, borderRadius: 50 },
|
|
2344
2344
|
onLoad: l
|
|
2345
2345
|
}, null, 544),
|
|
2346
|
-
a.value === "preloaded" || a.value === "loaded" ? Ce((v(), D("div",
|
|
2346
|
+
a.value === "preloaded" || a.value === "loaded" ? Ce((v(), D("div", yo, [
|
|
2347
2347
|
(v(!0), D(me, null, _e(p.imageUrls, (f, w) => (v(), D("img", {
|
|
2348
2348
|
key: w,
|
|
2349
2349
|
class: ge({ "image-instance": !0, active: w === p.activeIndex }),
|
|
2350
2350
|
src: f,
|
|
2351
2351
|
onLoad: i[0] || (i[0] = (k) => o.value.partLoaded())
|
|
2352
|
-
}, null, 42,
|
|
2352
|
+
}, null, 42, _o))), 128))
|
|
2353
2353
|
], 512)), [
|
|
2354
2354
|
[ke, a.value === "loaded"]
|
|
2355
2355
|
]) : R("", !0)
|
|
2356
2356
|
]));
|
|
2357
2357
|
}
|
|
2358
|
-
}), Kt = /* @__PURE__ */ ee(
|
|
2358
|
+
}), Kt = /* @__PURE__ */ ee(bo, [["__scopeId", "data-v-8d357c5f"]]), Co = {
|
|
2359
2359
|
key: 0,
|
|
2360
2360
|
style: { height: "50vh" },
|
|
2361
2361
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2362
|
-
},
|
|
2362
|
+
}, wo = { class: "image-instances" }, ko = { key: 0 }, So = { class: "svg-container" }, Io = ["viewBox"], xo = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], Do = ["innerHTML"], Ao = /* @__PURE__ */ W({
|
|
2363
2363
|
__name: "VBuildingChooserSvg",
|
|
2364
2364
|
props: {
|
|
2365
2365
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2422,7 +2422,7 @@ const Kn = {
|
|
|
2422
2422
|
} else
|
|
2423
2423
|
p.value = !0;
|
|
2424
2424
|
});
|
|
2425
|
-
function
|
|
2425
|
+
function T({ width: x, height: S }) {
|
|
2426
2426
|
o.value.width = x, o.value.height = S;
|
|
2427
2427
|
}
|
|
2428
2428
|
function M() {
|
|
@@ -2491,8 +2491,8 @@ const Kn = {
|
|
|
2491
2491
|
l.value = x, g.value && l.value && e.canGoToBuildingCallback(l.value) && n("goToBuilding", l.value);
|
|
2492
2492
|
}
|
|
2493
2493
|
return (x, S) => {
|
|
2494
|
-
const H =
|
|
2495
|
-
return p.value ? (v(), D("div",
|
|
2494
|
+
const H = E("v-icon");
|
|
2495
|
+
return p.value ? (v(), D("div", Co, [
|
|
2496
2496
|
C(H, { "x-large": "" }, {
|
|
2497
2497
|
default: b(() => [
|
|
2498
2498
|
ae("mdi-alert-circle-outline")
|
|
@@ -2509,17 +2509,17 @@ const Kn = {
|
|
|
2509
2509
|
mobile: x.interactiveMobile
|
|
2510
2510
|
}, {
|
|
2511
2511
|
default: b(() => [
|
|
2512
|
-
u("div",
|
|
2512
|
+
u("div", wo, [
|
|
2513
2513
|
C(Kt, {
|
|
2514
2514
|
"image-urls": k.value.imageUrls,
|
|
2515
2515
|
"active-index": m.value,
|
|
2516
|
-
onResize:
|
|
2516
|
+
onResize: T,
|
|
2517
2517
|
onPreloaded: S[0] || (S[0] = (G) => a.value.preloaded = !0),
|
|
2518
2518
|
onReady: S[1] || (S[1] = (G) => a.value.ready = !0),
|
|
2519
2519
|
onReset: M
|
|
2520
2520
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2521
|
-
f.value ? Ce((v(), D("div",
|
|
2522
|
-
u("div",
|
|
2521
|
+
f.value ? Ce((v(), D("div", ko, [
|
|
2522
|
+
u("div", So, [
|
|
2523
2523
|
(v(), D("svg", { viewBox: w.value }, [
|
|
2524
2524
|
(v(!0), D(me, null, _e(f.value, ({ id: G, svg: de }, j) => (v(), D("g", {
|
|
2525
2525
|
key: j,
|
|
@@ -2531,8 +2531,8 @@ const Kn = {
|
|
|
2531
2531
|
onMouseout: (O) => X(O, G),
|
|
2532
2532
|
onMousemove: (O) => B(O),
|
|
2533
2533
|
onClick: (O) => te(G)
|
|
2534
|
-
}, null, 46,
|
|
2535
|
-
], 8,
|
|
2534
|
+
}, null, 46, xo))), 128))
|
|
2535
|
+
], 8, Io))
|
|
2536
2536
|
])
|
|
2537
2537
|
], 512)), [
|
|
2538
2538
|
[ke, a.value.preloaded]
|
|
@@ -2540,7 +2540,7 @@ const Kn = {
|
|
|
2540
2540
|
Ce(u("div", {
|
|
2541
2541
|
class: "custom-overlay-layer",
|
|
2542
2542
|
innerHTML: x.customOverlayContent
|
|
2543
|
-
}, null, 8,
|
|
2543
|
+
}, null, 8, Do), [
|
|
2544
2544
|
[ke, a.value.preloaded]
|
|
2545
2545
|
])
|
|
2546
2546
|
])
|
|
@@ -2587,7 +2587,7 @@ const Kn = {
|
|
|
2587
2587
|
], 4)) : R("", !0);
|
|
2588
2588
|
};
|
|
2589
2589
|
}
|
|
2590
|
-
}),
|
|
2590
|
+
}), Fo = /* @__PURE__ */ ee(Ao, [["__scopeId", "data-v-9be2e160"]]), Lo = /* @__PURE__ */ W({
|
|
2591
2591
|
__name: "VBuildingChooserRasterOverlay",
|
|
2592
2592
|
props: {
|
|
2593
2593
|
imageUrl: {},
|
|
@@ -2635,11 +2635,11 @@ const Kn = {
|
|
|
2635
2635
|
class: "overlay"
|
|
2636
2636
|
}, k.dimensions), null, 16));
|
|
2637
2637
|
}
|
|
2638
|
-
}),
|
|
2638
|
+
}), Mo = /* @__PURE__ */ ee(Lo, [["__scopeId", "data-v-9e4cdd0e"]]), Oo = {
|
|
2639
2639
|
key: 0,
|
|
2640
2640
|
style: { height: "50vh" },
|
|
2641
2641
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2642
|
-
},
|
|
2642
|
+
}, To = { class: "image-instances" }, Eo = ["innerHTML"], Vo = /* @__PURE__ */ W({
|
|
2643
2643
|
__name: "VBuildingChooserRaster",
|
|
2644
2644
|
props: {
|
|
2645
2645
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2694,7 +2694,7 @@ const Kn = {
|
|
|
2694
2694
|
viewLongitude: S.viewLongitude
|
|
2695
2695
|
}, I()) : c.value = !0;
|
|
2696
2696
|
});
|
|
2697
|
-
function
|
|
2697
|
+
function T({ width: x, height: S }) {
|
|
2698
2698
|
r.value.width = x, r.value.height = S, Ae(I);
|
|
2699
2699
|
}
|
|
2700
2700
|
function M() {
|
|
@@ -2735,8 +2735,8 @@ const Kn = {
|
|
|
2735
2735
|
k.value = x;
|
|
2736
2736
|
}
|
|
2737
2737
|
return (x, S) => {
|
|
2738
|
-
const H =
|
|
2739
|
-
return c.value ? (v(), D("div",
|
|
2738
|
+
const H = E("v-icon");
|
|
2739
|
+
return c.value ? (v(), D("div", Oo, [
|
|
2740
2740
|
C(H, { "x-large": "" }, {
|
|
2741
2741
|
default: b(() => [
|
|
2742
2742
|
ae("mdi-alert-circle-outline")
|
|
@@ -2754,17 +2754,17 @@ const Kn = {
|
|
|
2754
2754
|
onUpdate: te
|
|
2755
2755
|
}, {
|
|
2756
2756
|
default: b(() => [
|
|
2757
|
-
u("div",
|
|
2757
|
+
u("div", To, [
|
|
2758
2758
|
C(Kt, {
|
|
2759
2759
|
"image-urls": a.value.imageUrls,
|
|
2760
2760
|
"active-index": w.value,
|
|
2761
|
-
onResize:
|
|
2761
|
+
onResize: T,
|
|
2762
2762
|
onPreloaded: S[0] || (S[0] = (G) => o.value.preloaded = !0),
|
|
2763
2763
|
onReady: S[1] || (S[1] = (G) => o.value.ready = !0),
|
|
2764
2764
|
onReset: M
|
|
2765
2765
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2766
2766
|
Ce(u("div", null, [
|
|
2767
|
-
(v(!0), D(me, null, _e(m.value.buildingOverlays, (G) => (v(), V(
|
|
2767
|
+
(v(!0), D(me, null, _e(m.value.buildingOverlays, (G) => (v(), V(Mo, {
|
|
2768
2768
|
ref_for: !0,
|
|
2769
2769
|
ref_key: "overlays",
|
|
2770
2770
|
ref: y,
|
|
@@ -2787,7 +2787,7 @@ const Kn = {
|
|
|
2787
2787
|
Ce(u("div", {
|
|
2788
2788
|
class: "custom-overlay-layer",
|
|
2789
2789
|
innerHTML: x.customOverlayContent
|
|
2790
|
-
}, null, 8,
|
|
2790
|
+
}, null, 8, Eo), [
|
|
2791
2791
|
[ke, o.value.preloaded]
|
|
2792
2792
|
])
|
|
2793
2793
|
]),
|
|
@@ -2833,7 +2833,7 @@ const Kn = {
|
|
|
2833
2833
|
], 4)) : R("", !0);
|
|
2834
2834
|
};
|
|
2835
2835
|
}
|
|
2836
|
-
}),
|
|
2836
|
+
}), $o = /* @__PURE__ */ ee(Vo, [["__scopeId", "data-v-5402374e"]]), Bo = /* @__PURE__ */ W({
|
|
2837
2837
|
__name: "VBuildingChooser",
|
|
2838
2838
|
props: {
|
|
2839
2839
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2851,7 +2851,7 @@ const Kn = {
|
|
|
2851
2851
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2852
2852
|
setup(s, { emit: t }) {
|
|
2853
2853
|
const e = s, n = t, a = $(
|
|
2854
|
-
() => e.useSvg ?
|
|
2854
|
+
() => e.useSvg ? Fo : $o
|
|
2855
2855
|
);
|
|
2856
2856
|
return (o, r) => (v(), V(Qt(a.value), {
|
|
2857
2857
|
"i18n-config": e.i18nConfig,
|
|
@@ -2867,7 +2867,7 @@ const Kn = {
|
|
|
2867
2867
|
onGoToBuilding: r[0] || (r[0] = (l) => n("goToBuilding", l)),
|
|
2868
2868
|
onHoverOverBuilding: r[1] || (r[1] = (l) => n("hoverOverBuilding", l)),
|
|
2869
2869
|
onHoverOutBuilding: r[2] || (r[2] = (l) => n("hoverOutBuilding", l))
|
|
2870
|
-
},
|
|
2870
|
+
}, Ra({ _: 2 }, [
|
|
2871
2871
|
_e(Object.keys(o.$slots), (l) => ({
|
|
2872
2872
|
name: l,
|
|
2873
2873
|
fn: b((m) => [
|
|
@@ -2876,7 +2876,7 @@ const Kn = {
|
|
|
2876
2876
|
}))
|
|
2877
2877
|
]), 1064, ["i18n-config", "show-cards", "color-callback", "cdn-file-resolver", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content", "building-chooser-data"]));
|
|
2878
2878
|
}
|
|
2879
|
-
}),
|
|
2879
|
+
}), Ro = ["src"], Uo = /* @__PURE__ */ W({
|
|
2880
2880
|
__name: "VBuildingChooserV5CameraDayTimeSample",
|
|
2881
2881
|
props: {
|
|
2882
2882
|
timeSampleData: {},
|
|
@@ -2889,11 +2889,11 @@ const Kn = {
|
|
|
2889
2889
|
key: e.value,
|
|
2890
2890
|
src: e.value,
|
|
2891
2891
|
width: "100%"
|
|
2892
|
-
}, null, 8,
|
|
2892
|
+
}, null, 8, Ro)), [
|
|
2893
2893
|
[ke, n.timeSampleData === n.currentTime]
|
|
2894
2894
|
]);
|
|
2895
2895
|
}
|
|
2896
|
-
}),
|
|
2896
|
+
}), Ho = /* @__PURE__ */ ee(Uo, [["__scopeId", "data-v-9866b8c2"]]), Yo = /* @__PURE__ */ W({
|
|
2897
2897
|
__name: "VBuildingChooserV5CameraDay",
|
|
2898
2898
|
props: {
|
|
2899
2899
|
dayData: {},
|
|
@@ -2902,13 +2902,13 @@ const Kn = {
|
|
|
2902
2902
|
},
|
|
2903
2903
|
setup(s) {
|
|
2904
2904
|
const t = s;
|
|
2905
|
-
return (e, n) => (v(!0), D(me, null, _e(t.dayData.timeSamples, (a) => (v(), V(
|
|
2905
|
+
return (e, n) => (v(!0), D(me, null, _e(t.dayData.timeSamples, (a) => (v(), V(Ho, {
|
|
2906
2906
|
"time-sample-data": a,
|
|
2907
2907
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
2908
2908
|
"current-time": e.currentTime
|
|
2909
2909
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2910
2910
|
}
|
|
2911
|
-
}),
|
|
2911
|
+
}), zo = /* @__PURE__ */ W({
|
|
2912
2912
|
__name: "VBuildingChooserV5Camera",
|
|
2913
2913
|
props: {
|
|
2914
2914
|
cameraData: {},
|
|
@@ -2917,13 +2917,13 @@ const Kn = {
|
|
|
2917
2917
|
},
|
|
2918
2918
|
setup(s) {
|
|
2919
2919
|
const t = s;
|
|
2920
|
-
return (e, n) => (v(!0), D(me, null, _e(t.cameraData.sunsimDayOfYear, (a) => (v(), V(
|
|
2920
|
+
return (e, n) => (v(!0), D(me, null, _e(t.cameraData.sunsimDayOfYear, (a) => (v(), V(Yo, {
|
|
2921
2921
|
"day-data": a,
|
|
2922
2922
|
"cdn-file-resolver": t.cdnFileResolver,
|
|
2923
2923
|
"current-time": t.currentTime
|
|
2924
2924
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2925
2925
|
}
|
|
2926
|
-
}),
|
|
2926
|
+
}), jo = /* @__PURE__ */ W({
|
|
2927
2927
|
__name: "VBuildingChooserV5UiCamera",
|
|
2928
2928
|
props: {
|
|
2929
2929
|
buildingChooserData: {},
|
|
@@ -2942,7 +2942,7 @@ const Kn = {
|
|
|
2942
2942
|
)
|
|
2943
2943
|
);
|
|
2944
2944
|
}), (o, r) => {
|
|
2945
|
-
const l =
|
|
2945
|
+
const l = E("v-select");
|
|
2946
2946
|
return v(), V(l, {
|
|
2947
2947
|
modelValue: a.value,
|
|
2948
2948
|
"onUpdate:modelValue": r[0] || (r[0] = (m) => a.value = m),
|
|
@@ -2955,7 +2955,7 @@ const Kn = {
|
|
|
2955
2955
|
}, null, 8, ["modelValue", "items"]);
|
|
2956
2956
|
};
|
|
2957
2957
|
}
|
|
2958
|
-
}),
|
|
2958
|
+
}), Po = /* @__PURE__ */ W({
|
|
2959
2959
|
__name: "VBuildingChooserV5UiDay",
|
|
2960
2960
|
props: {
|
|
2961
2961
|
cameraData: {},
|
|
@@ -2985,7 +2985,7 @@ const Kn = {
|
|
|
2985
2985
|
});
|
|
2986
2986
|
}
|
|
2987
2987
|
return (r, l) => {
|
|
2988
|
-
const m =
|
|
2988
|
+
const m = E("v-list-item"), p = E("v-select");
|
|
2989
2989
|
return v(), V(p, {
|
|
2990
2990
|
modelValue: a.value,
|
|
2991
2991
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => a.value = i),
|
|
@@ -3008,10 +3008,10 @@ const Kn = {
|
|
|
3008
3008
|
}, 8, ["modelValue", "items"]);
|
|
3009
3009
|
};
|
|
3010
3010
|
}
|
|
3011
|
-
}),
|
|
3011
|
+
}), Wo = {
|
|
3012
3012
|
key: 0,
|
|
3013
3013
|
class: "py-2"
|
|
3014
|
-
},
|
|
3014
|
+
}, No = { class: "small" }, Go = { class: "small" }, Qo = /* @__PURE__ */ W({
|
|
3015
3015
|
__name: "VBuildingChooserV5UiTimeSample",
|
|
3016
3016
|
props: {
|
|
3017
3017
|
dayData: {},
|
|
@@ -3048,10 +3048,10 @@ const Kn = {
|
|
|
3048
3048
|
}, 200));
|
|
3049
3049
|
}
|
|
3050
3050
|
return (m, p) => {
|
|
3051
|
-
const i =
|
|
3051
|
+
const i = E("v-icon"), f = E("v-btn"), w = E("v-slider"), k = E("v-field");
|
|
3052
3052
|
return v(), V(k, { variant: "solo" }, {
|
|
3053
3053
|
default: b(() => [
|
|
3054
|
-
m.dayData.startTime === m.dayData.endTime ? (v(), D("div",
|
|
3054
|
+
m.dayData.startTime === m.dayData.endTime ? (v(), D("div", Wo, [
|
|
3055
3055
|
C(i, {
|
|
3056
3056
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3057
3057
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -3080,10 +3080,10 @@ const Kn = {
|
|
|
3080
3080
|
onClick: l
|
|
3081
3081
|
}, null, 8, ["icon"]),
|
|
3082
3082
|
ae(" "),
|
|
3083
|
-
u("span",
|
|
3083
|
+
u("span", No, Z(r(m.dayData.startTime)), 1)
|
|
3084
3084
|
]),
|
|
3085
3085
|
append: b(() => [
|
|
3086
|
-
u("span",
|
|
3086
|
+
u("span", Go, Z(r(m.dayData.endTime)), 1),
|
|
3087
3087
|
ae(" "),
|
|
3088
3088
|
C(i, {
|
|
3089
3089
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -3103,7 +3103,7 @@ const Kn = {
|
|
|
3103
3103
|
});
|
|
3104
3104
|
};
|
|
3105
3105
|
}
|
|
3106
|
-
}),
|
|
3106
|
+
}), Zo = /* @__PURE__ */ ee(Qo, [["__scopeId", "data-v-42a733f4"]]), qo = ["innerHTML"], Jo = /* @__PURE__ */ W({
|
|
3107
3107
|
__name: "VBuildingChooserV5Overlay",
|
|
3108
3108
|
props: {
|
|
3109
3109
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3181,7 +3181,7 @@ const Kn = {
|
|
|
3181
3181
|
}));
|
|
3182
3182
|
});
|
|
3183
3183
|
}
|
|
3184
|
-
return (i, f) => (v(), V(
|
|
3184
|
+
return (i, f) => (v(), V(Ee, null, {
|
|
3185
3185
|
default: b(() => [
|
|
3186
3186
|
(v(), D("div", {
|
|
3187
3187
|
ref_key: "svgContainer",
|
|
@@ -3190,13 +3190,13 @@ const Kn = {
|
|
|
3190
3190
|
class: "w-100 h-100 position-absolute top-left",
|
|
3191
3191
|
style: { "z-index": "4" },
|
|
3192
3192
|
innerHTML: a.value
|
|
3193
|
-
}, null, 8,
|
|
3193
|
+
}, null, 8, qo))
|
|
3194
3194
|
]),
|
|
3195
3195
|
_: 1
|
|
3196
3196
|
}));
|
|
3197
3197
|
}
|
|
3198
|
-
}),
|
|
3199
|
-
function
|
|
3198
|
+
}), Xo = /* @__PURE__ */ ee(Jo, [["__scopeId", "data-v-61c8ae69"]]);
|
|
3199
|
+
function Ko(s) {
|
|
3200
3200
|
const t = {
|
|
3201
3201
|
version: "5.0",
|
|
3202
3202
|
latitude: s.latitude,
|
|
@@ -3242,16 +3242,16 @@ function qo(s) {
|
|
|
3242
3242
|
};
|
|
3243
3243
|
return t.cameras.push(n), t;
|
|
3244
3244
|
}
|
|
3245
|
-
const
|
|
3245
|
+
const el = {
|
|
3246
3246
|
class: "actions-bar compact top-left d-flex w-100 justify-space-around align-center",
|
|
3247
3247
|
style: { "z-index": "6" }
|
|
3248
|
-
},
|
|
3248
|
+
}, tl = {
|
|
3249
3249
|
key: 0,
|
|
3250
3250
|
class: "pa-1"
|
|
3251
|
-
},
|
|
3251
|
+
}, al = { class: "pa-1" }, nl = { class: "pa-1 flex-grow-1" }, ol = {
|
|
3252
3252
|
class: "position-absolute bottom-right-compact pa-2",
|
|
3253
3253
|
style: { "z-index": "6", width: "56px", height: "56px" }
|
|
3254
|
-
},
|
|
3254
|
+
}, ll = ["innerHTML"], sl = { style: { "z-index": "7" } }, rl = /* @__PURE__ */ W({
|
|
3255
3255
|
__name: "VBuildingChooserV5",
|
|
3256
3256
|
props: {
|
|
3257
3257
|
buildingChooserData: {},
|
|
@@ -3288,7 +3288,7 @@ const Jo = {
|
|
|
3288
3288
|
let X;
|
|
3289
3289
|
return X = await Me.loadJson(
|
|
3290
3290
|
ue(e.cdnFileResolver, "/buildingChooser.json")
|
|
3291
|
-
), parseInt(X.version) === 5 ? X : (L =
|
|
3291
|
+
), parseInt(X.version) === 5 ? X : (L = Ko(X), L);
|
|
3292
3292
|
} catch (L) {
|
|
3293
3293
|
m.value = !1, n("onError", L);
|
|
3294
3294
|
}
|
|
@@ -3333,7 +3333,7 @@ const Jo = {
|
|
|
3333
3333
|
function g(L) {
|
|
3334
3334
|
const X = r.value;
|
|
3335
3335
|
o.value = L, Ae(() => {
|
|
3336
|
-
|
|
3336
|
+
T(
|
|
3337
3337
|
o.value.timeSamples.find(
|
|
3338
3338
|
(B) => B.timeInHours === X.timeInHours
|
|
3339
3339
|
) || o.value.timeSamples.find(
|
|
@@ -3342,7 +3342,7 @@ const Jo = {
|
|
|
3342
3342
|
);
|
|
3343
3343
|
});
|
|
3344
3344
|
}
|
|
3345
|
-
function
|
|
3345
|
+
function T(L) {
|
|
3346
3346
|
r.value = L;
|
|
3347
3347
|
}
|
|
3348
3348
|
function M(L) {
|
|
@@ -3373,7 +3373,7 @@ const Jo = {
|
|
|
3373
3373
|
n("onMouseMove", L, f.value);
|
|
3374
3374
|
}
|
|
3375
3375
|
return (L, X) => {
|
|
3376
|
-
const B =
|
|
3376
|
+
const B = E("v-skeleton-loader");
|
|
3377
3377
|
return v(), D(me, null, [
|
|
3378
3378
|
C(B, {
|
|
3379
3379
|
type: "image",
|
|
@@ -3381,7 +3381,7 @@ const Jo = {
|
|
|
3381
3381
|
loading: !m.value || !c.value
|
|
3382
3382
|
}, {
|
|
3383
3383
|
default: b(() => [
|
|
3384
|
-
C(
|
|
3384
|
+
C(Ee, { class: "w-100 h-100" }, {
|
|
3385
3385
|
default: b(() => [
|
|
3386
3386
|
u("div", {
|
|
3387
3387
|
ref_key: "container",
|
|
@@ -3389,32 +3389,32 @@ const Jo = {
|
|
|
3389
3389
|
class: ge({ mobile: h.value }),
|
|
3390
3390
|
onMousemove: I
|
|
3391
3391
|
}, [
|
|
3392
|
-
u("div",
|
|
3393
|
-
c.value.cameras.length > 1 ? (v(), D("div",
|
|
3394
|
-
C(
|
|
3392
|
+
u("div", el, [
|
|
3393
|
+
c.value.cameras.length > 1 ? (v(), D("div", tl, [
|
|
3394
|
+
C(jo, {
|
|
3395
3395
|
"building-chooser-data": c.value,
|
|
3396
3396
|
"current-camera": a.value,
|
|
3397
3397
|
onOnCameraChange: y
|
|
3398
3398
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3399
3399
|
])) : R("", !0),
|
|
3400
|
-
u("div",
|
|
3401
|
-
a.value.sunsimDayOfYear.length > 1 ? (v(), V(
|
|
3400
|
+
u("div", al, [
|
|
3401
|
+
a.value.sunsimDayOfYear.length > 1 ? (v(), V(Po, {
|
|
3402
3402
|
key: 0,
|
|
3403
3403
|
"camera-data": a.value,
|
|
3404
3404
|
"current-day": o.value,
|
|
3405
3405
|
onOnDayChange: g
|
|
3406
3406
|
}, null, 8, ["camera-data", "current-day"])) : R("", !0)
|
|
3407
3407
|
]),
|
|
3408
|
-
u("div",
|
|
3409
|
-
o.value.timeSamples.length > 1 ? (v(), V(
|
|
3408
|
+
u("div", nl, [
|
|
3409
|
+
o.value.timeSamples.length > 1 ? (v(), V(Zo, {
|
|
3410
3410
|
key: 0,
|
|
3411
3411
|
"day-data": o.value,
|
|
3412
3412
|
"current-time": r.value,
|
|
3413
|
-
onOnTimeChange:
|
|
3413
|
+
onOnTimeChange: T
|
|
3414
3414
|
}, null, 8, ["day-data", "current-time"])) : R("", !0)
|
|
3415
3415
|
])
|
|
3416
3416
|
]),
|
|
3417
|
-
u("div",
|
|
3417
|
+
u("div", ol, [
|
|
3418
3418
|
a.value.cameraRotation ? (v(), V(lt, {
|
|
3419
3419
|
key: 0,
|
|
3420
3420
|
longitude: a.value.cameraRotation.y + 270
|
|
@@ -3422,7 +3422,7 @@ const Jo = {
|
|
|
3422
3422
|
]),
|
|
3423
3423
|
C(ot, { position: "relative" }, {
|
|
3424
3424
|
default: b(() => [
|
|
3425
|
-
(v(!0), D(me, null, _e(c.value.cameras, (te) => (v(), V(
|
|
3425
|
+
(v(!0), D(me, null, _e(c.value.cameras, (te) => (v(), V(zo, {
|
|
3426
3426
|
key: te.overlayFilename,
|
|
3427
3427
|
"camera-data": te,
|
|
3428
3428
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
@@ -3433,8 +3433,8 @@ const Jo = {
|
|
|
3433
3433
|
class: "w-100 h-100 position-absolute top-left",
|
|
3434
3434
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
3435
3435
|
innerHTML: e.customOverlayContent
|
|
3436
|
-
}, null, 8,
|
|
3437
|
-
C(
|
|
3436
|
+
}, null, 8, ll)) : R("", !0),
|
|
3437
|
+
C(Xo, {
|
|
3438
3438
|
"cdn-file-resolver": L.cdnFileResolver,
|
|
3439
3439
|
"color-callback": e.colorCallback,
|
|
3440
3440
|
"current-camera": a.value,
|
|
@@ -3453,7 +3453,7 @@ const Jo = {
|
|
|
3453
3453
|
pos: f.value
|
|
3454
3454
|
}, {
|
|
3455
3455
|
default: b(() => [
|
|
3456
|
-
u("div",
|
|
3456
|
+
u("div", sl, [
|
|
3457
3457
|
ne(L.$slots, "popup", dt(vt({ hoverId: l.value, hoverable: i.value })), void 0, !0)
|
|
3458
3458
|
])
|
|
3459
3459
|
]),
|
|
@@ -3473,48 +3473,48 @@ const Jo = {
|
|
|
3473
3473
|
], 64);
|
|
3474
3474
|
};
|
|
3475
3475
|
}
|
|
3476
|
-
}),
|
|
3476
|
+
}), mu = /* @__PURE__ */ ee(rl, [["__scopeId", "data-v-47df87bc"]]);
|
|
3477
3477
|
var st = {};
|
|
3478
3478
|
Object.defineProperty(st, "__esModule", {
|
|
3479
3479
|
value: !0
|
|
3480
3480
|
});
|
|
3481
|
-
var
|
|
3481
|
+
var il = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
3482
3482
|
return typeof s;
|
|
3483
3483
|
} : function(s) {
|
|
3484
3484
|
return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
|
|
3485
|
-
},
|
|
3486
|
-
st.isWebWorker =
|
|
3487
|
-
st.isNode =
|
|
3488
|
-
st.isJsDom =
|
|
3489
|
-
st.isDeno =
|
|
3490
|
-
const
|
|
3485
|
+
}, ul = typeof window < "u" && typeof window.document < "u", cl = typeof process < "u" && process.versions != null && process.versions.node != null, dl = (typeof self > "u" ? "undefined" : il(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", vl = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), ml = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", pl = st.isBrowser = ul;
|
|
3486
|
+
st.isWebWorker = dl;
|
|
3487
|
+
st.isNode = cl;
|
|
3488
|
+
st.isJsDom = vl;
|
|
3489
|
+
st.isDeno = ml;
|
|
3490
|
+
const fl = { id: "player-wrapper" }, hl = { id: "player-sizer" }, gl = {
|
|
3491
3491
|
class: "player-control",
|
|
3492
3492
|
id: "controls-top-left"
|
|
3493
|
-
},
|
|
3493
|
+
}, yl = {
|
|
3494
3494
|
class: "player-control",
|
|
3495
3495
|
id: "controls-top-center"
|
|
3496
|
-
},
|
|
3496
|
+
}, _l = {
|
|
3497
3497
|
class: "player-control",
|
|
3498
3498
|
id: "controls-top-right"
|
|
3499
|
-
},
|
|
3499
|
+
}, bl = {
|
|
3500
3500
|
class: "player-control",
|
|
3501
3501
|
id: "controls-center-left"
|
|
3502
|
-
},
|
|
3502
|
+
}, Cl = {
|
|
3503
3503
|
class: "player-control",
|
|
3504
3504
|
id: "controls-center-center"
|
|
3505
|
-
},
|
|
3505
|
+
}, wl = {
|
|
3506
3506
|
class: "player-control",
|
|
3507
3507
|
id: "controls-center-right"
|
|
3508
|
-
},
|
|
3508
|
+
}, kl = {
|
|
3509
3509
|
class: "player-control",
|
|
3510
3510
|
id: "controls-bottom-left"
|
|
3511
|
-
},
|
|
3511
|
+
}, Sl = {
|
|
3512
3512
|
class: "player-control",
|
|
3513
3513
|
id: "controls-bottom-center"
|
|
3514
|
-
},
|
|
3514
|
+
}, Il = {
|
|
3515
3515
|
class: "player-control",
|
|
3516
3516
|
id: "controls-bottom-right"
|
|
3517
|
-
},
|
|
3517
|
+
}, xl = { id: "main-canvas" }, Dl = /* @__PURE__ */ W({
|
|
3518
3518
|
__name: "VPlayer",
|
|
3519
3519
|
props: {
|
|
3520
3520
|
cdnFileResolver: {},
|
|
@@ -3526,14 +3526,14 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3526
3526
|
},
|
|
3527
3527
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "sunsimCallback", "playerApiCallback", "newSizeCallback"],
|
|
3528
3528
|
setup(s, { emit: t }) {
|
|
3529
|
-
const e =
|
|
3529
|
+
const e = za.PlayerV2, n = s, {
|
|
3530
3530
|
cdnFileResolver: a,
|
|
3531
3531
|
interiorId: o,
|
|
3532
3532
|
apartmentId: r,
|
|
3533
3533
|
currentCameraId: l,
|
|
3534
3534
|
showStaticImage: m,
|
|
3535
3535
|
mouseSensitivity: p
|
|
3536
|
-
} =
|
|
3536
|
+
} = Te(n), i = t, f = d(), w = d(l.value), k = d(0), c = d(0);
|
|
3537
3537
|
U(l, () => {
|
|
3538
3538
|
w.value = l.value;
|
|
3539
3539
|
}), U([o, r], async () => {
|
|
@@ -3585,7 +3585,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3585
3585
|
i("newRotationCallback", L), k.value = L;
|
|
3586
3586
|
}
|
|
3587
3587
|
};
|
|
3588
|
-
if (!
|
|
3588
|
+
if (!pl)
|
|
3589
3589
|
return;
|
|
3590
3590
|
const P = await new e.Main(
|
|
3591
3591
|
(I) => ue(
|
|
@@ -3607,37 +3607,37 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
return Qe(() => {
|
|
3609
3609
|
_();
|
|
3610
|
-
}), (y, g) => (v(), D("div",
|
|
3611
|
-
u("div",
|
|
3610
|
+
}), (y, g) => (v(), D("div", fl, [
|
|
3611
|
+
u("div", hl, [
|
|
3612
3612
|
ne(y.$slots, "slideshow-image", {}, void 0, !0),
|
|
3613
|
-
u("div",
|
|
3613
|
+
u("div", gl, [
|
|
3614
3614
|
ne(y.$slots, "top-left", {}, void 0, !0)
|
|
3615
3615
|
]),
|
|
3616
|
-
u("div",
|
|
3616
|
+
u("div", yl, [
|
|
3617
3617
|
ne(y.$slots, "top-center", {}, void 0, !0)
|
|
3618
3618
|
]),
|
|
3619
|
-
u("div",
|
|
3619
|
+
u("div", _l, [
|
|
3620
3620
|
ne(y.$slots, "top-right", {}, void 0, !0)
|
|
3621
3621
|
]),
|
|
3622
|
-
u("div",
|
|
3622
|
+
u("div", bl, [
|
|
3623
3623
|
ne(y.$slots, "center-left", {}, void 0, !0)
|
|
3624
3624
|
]),
|
|
3625
|
-
u("div",
|
|
3625
|
+
u("div", Cl, [
|
|
3626
3626
|
ne(y.$slots, "center-center", {}, void 0, !0)
|
|
3627
3627
|
]),
|
|
3628
|
-
u("div",
|
|
3628
|
+
u("div", wl, [
|
|
3629
3629
|
ne(y.$slots, "center-right", {}, void 0, !0)
|
|
3630
3630
|
]),
|
|
3631
|
-
u("div",
|
|
3631
|
+
u("div", kl, [
|
|
3632
3632
|
ne(y.$slots, "bottom-left", {}, void 0, !0)
|
|
3633
3633
|
]),
|
|
3634
|
-
u("div",
|
|
3634
|
+
u("div", Sl, [
|
|
3635
3635
|
ne(y.$slots, "bottom-center", {}, void 0, !0)
|
|
3636
3636
|
]),
|
|
3637
|
-
u("div",
|
|
3637
|
+
u("div", Il, [
|
|
3638
3638
|
ne(y.$slots, "bottom-right", {}, void 0, !0)
|
|
3639
3639
|
]),
|
|
3640
|
-
u("div",
|
|
3640
|
+
u("div", xl, [
|
|
3641
3641
|
u("canvas", {
|
|
3642
3642
|
id: "qpc",
|
|
3643
3643
|
style: ce(A(m) ? "visibility:hidden" : "visibility:visible")
|
|
@@ -3646,11 +3646,11 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3646
3646
|
])
|
|
3647
3647
|
]));
|
|
3648
3648
|
}
|
|
3649
|
-
}),
|
|
3649
|
+
}), Al = /* @__PURE__ */ ee(Dl, [["__scopeId", "data-v-4e601038"]]), Fl = {
|
|
3650
3650
|
style: { width: "24px", height: "24px" },
|
|
3651
3651
|
viewBox: "0 0 18 16",
|
|
3652
3652
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3653
|
-
},
|
|
3653
|
+
}, Ll = ["stroke"], Ml = ["stroke"], Ol = { class: "floor-level-label" }, Tl = /* @__PURE__ */ W({
|
|
3654
3654
|
__name: "VFloorLevel",
|
|
3655
3655
|
props: {
|
|
3656
3656
|
level: { default: 0 },
|
|
@@ -3667,7 +3667,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3667
3667
|
i >= o.value.length ? n("level", o.value[0]) : n("level", o.value[i]);
|
|
3668
3668
|
}
|
|
3669
3669
|
return (i, f) => {
|
|
3670
|
-
const w =
|
|
3670
|
+
const w = E("v-btn"), k = E("v-tooltip");
|
|
3671
3671
|
return v(), V(k, {
|
|
3672
3672
|
right: "",
|
|
3673
3673
|
attach: ""
|
|
@@ -3680,34 +3680,34 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3680
3680
|
icon: ""
|
|
3681
3681
|
}, c, { onClick: p }), {
|
|
3682
3682
|
default: b(() => [
|
|
3683
|
-
(v(), D("svg",
|
|
3683
|
+
(v(), D("svg", Fl, [
|
|
3684
3684
|
u("path", {
|
|
3685
3685
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3686
3686
|
fill: "white",
|
|
3687
3687
|
stroke: m.value ? "black" : "#999999",
|
|
3688
3688
|
"stroke-width": "1.5",
|
|
3689
3689
|
"stroke-linejoin": "round"
|
|
3690
|
-
}, null, 8,
|
|
3690
|
+
}, null, 8, Ll),
|
|
3691
3691
|
u("path", {
|
|
3692
3692
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
3693
3693
|
fill: "white",
|
|
3694
3694
|
stroke: l.value ? "black" : "#999999",
|
|
3695
3695
|
"stroke-width": "1.5",
|
|
3696
3696
|
"stroke-linejoin": "round"
|
|
3697
|
-
}, null, 8,
|
|
3697
|
+
}, null, 8, Ml)
|
|
3698
3698
|
]))
|
|
3699
3699
|
]),
|
|
3700
3700
|
_: 2
|
|
3701
3701
|
}, 1040)
|
|
3702
3702
|
]),
|
|
3703
3703
|
default: b(() => [
|
|
3704
|
-
u("span",
|
|
3704
|
+
u("span", Ol, Z(A(a).getLabel(r.value)) + " " + Z(A(a).getLabel("floor")), 1)
|
|
3705
3705
|
]),
|
|
3706
3706
|
_: 1
|
|
3707
3707
|
});
|
|
3708
3708
|
};
|
|
3709
3709
|
}
|
|
3710
|
-
}),
|
|
3710
|
+
}), El = /* @__PURE__ */ ee(Tl, [["__scopeId", "data-v-5ce91d8e"]]), Vl = { class: "d-none d-md-inline" }, $l = { class: "interior-selector-list" }, Bl = ["onClick"], Rl = { class: "d-flex align-center justify-left pa-0 ma-0" }, Ul = { class: "pa-0 ma-0" }, Hl = { class: "text-caption ma-2 no-wrap" }, Yl = /* @__PURE__ */ W({
|
|
3711
3711
|
__name: "VInteriorSelector",
|
|
3712
3712
|
props: {
|
|
3713
3713
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3718,7 +3718,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3718
3718
|
setup(s, { emit: t }) {
|
|
3719
3719
|
const e = s, n = t, a = Ze($e);
|
|
3720
3720
|
return (o, r) => {
|
|
3721
|
-
const l =
|
|
3721
|
+
const l = E("v-icon"), m = E("v-btn"), p = E("v-img"), i = E("v-menu");
|
|
3722
3722
|
return v(), D("div", null, [
|
|
3723
3723
|
C(i, {
|
|
3724
3724
|
transition: "slide-x-reverse-transition",
|
|
@@ -3736,13 +3736,13 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3736
3736
|
]),
|
|
3737
3737
|
_: 1
|
|
3738
3738
|
}),
|
|
3739
|
-
u("span",
|
|
3739
|
+
u("span", Vl, Z(A(a).getLabel("interior")), 1)
|
|
3740
3740
|
]),
|
|
3741
3741
|
_: 2
|
|
3742
3742
|
}, 1040)
|
|
3743
3743
|
]),
|
|
3744
3744
|
default: b(() => [
|
|
3745
|
-
u("div",
|
|
3745
|
+
u("div", $l, [
|
|
3746
3746
|
(v(!0), D(me, null, _e(e.availableArchetypes, (f, w) => (v(), D("div", {
|
|
3747
3747
|
key: `at-menuitem-${w}`,
|
|
3748
3748
|
onClick: (k) => n("selectInterior", f.archetypeID),
|
|
@@ -3750,8 +3750,8 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3750
3750
|
active: w === o.selectedIndex
|
|
3751
3751
|
}])
|
|
3752
3752
|
}, [
|
|
3753
|
-
u("div",
|
|
3754
|
-
u("div",
|
|
3753
|
+
u("div", Rl, [
|
|
3754
|
+
u("div", Ul, [
|
|
3755
3755
|
C(p, {
|
|
3756
3756
|
width: "100",
|
|
3757
3757
|
"max-width": "100",
|
|
@@ -3760,9 +3760,9 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3760
3760
|
class: "pa-0 ma-0"
|
|
3761
3761
|
}, null, 8, ["src"])
|
|
3762
3762
|
]),
|
|
3763
|
-
u("div",
|
|
3763
|
+
u("div", Hl, Z(A(a).get(f.title)), 1)
|
|
3764
3764
|
])
|
|
3765
|
-
], 10,
|
|
3765
|
+
], 10, Bl))), 128))
|
|
3766
3766
|
])
|
|
3767
3767
|
]),
|
|
3768
3768
|
_: 1
|
|
@@ -3770,20 +3770,20 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3770
3770
|
]);
|
|
3771
3771
|
};
|
|
3772
3772
|
}
|
|
3773
|
-
}),
|
|
3773
|
+
}), zl = /* @__PURE__ */ ee(Yl, [["__scopeId", "data-v-be1645c7"]]), jl = "data:image/png;base64,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", Pl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMdSURBVHgB7dxBTttQEMbxsU32idouujM7FhjlBqQnaG5AbkBvUPUEpTegN8gR6AlAgQU70lWlQkUUscR+fVZrRKlL7CTQN6P/T0IJwYkUDfNhvzdEBAAAAAAAAAAAAAAAAAAAAAD+i+t+v3+5vT0Qg2IxqHBuP47jXTHIZMHEuYETeScGmSvYZb9fFiv1d7sWY9FcwWLn9u7ux/FbMcZeJPo4vLsrMhJjTBXsXhxWzMWiqYLdj8NKlCR7YoipgjnnhjUPDv11WVeMMFOwqywb+Zu6wnQlz81ck5kp2GNnhLmha7JIDCgjLy+K60cOmSVxvNk7OZmJciY6LM/z4YJDukVRmDj5sBGJcbywGLUnJAqpj0Qfh6mPw4smx/pY7GmPRfUd5uNw0PRYC7GoPxIbxGHFQiyqjsQ2cVjRHouqO8xHXOvVeP+cfVFMeySOpCV3bzVfI7WRuEwcVlxRvHl1dnYkCqntsFWiTfO8h+ZIXPqMT/PGpsqC1WxUtpVq3dhUWbC6jcrWr6F03kNnJK7hTE9rLKor2BrisKJy3kNdwdYRh3evpTAW9UXiGi98y1jUNu+hqmBXWTZcUxxWure3t31RRFXBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", Wl = /* @__PURE__ */ W({
|
|
3774
3774
|
__name: "VCompass",
|
|
3775
3775
|
props: {
|
|
3776
3776
|
rotation: {}
|
|
3777
3777
|
},
|
|
3778
3778
|
setup(s) {
|
|
3779
|
-
const t = s, e = d(
|
|
3780
|
-
backgroundImage: `url(${
|
|
3779
|
+
const t = s, e = d(Pl), n = d({
|
|
3780
|
+
backgroundImage: `url(${jl})`,
|
|
3781
3781
|
backgroundSize: "contain"
|
|
3782
3782
|
}), a = $(() => ({
|
|
3783
3783
|
transform: `rotate(${-t.rotation + 180}deg)`
|
|
3784
3784
|
}));
|
|
3785
3785
|
return (o, r) => {
|
|
3786
|
-
const l =
|
|
3786
|
+
const l = E("v-img");
|
|
3787
3787
|
return v(), D("div", {
|
|
3788
3788
|
style: ce(n.value),
|
|
3789
3789
|
class: "compass-wrapper"
|
|
@@ -3796,7 +3796,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3796
3796
|
], 4);
|
|
3797
3797
|
};
|
|
3798
3798
|
}
|
|
3799
|
-
}),
|
|
3799
|
+
}), Nl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", Gl = { class: "d-flex flex-column align-center justify-center clock-face" }, Ql = { class: "clock-icon" }, Zl = { class: "clock-value grey--text text--darken-3" }, ql = /* @__PURE__ */ W({
|
|
3800
3800
|
__name: "VTimeOfDay",
|
|
3801
3801
|
props: {
|
|
3802
3802
|
hours: { default: 0 },
|
|
@@ -3808,32 +3808,32 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3808
3808
|
return ("0" + a).slice(-2);
|
|
3809
3809
|
}
|
|
3810
3810
|
return (a, o) => {
|
|
3811
|
-
const r =
|
|
3812
|
-
return v(), D("div",
|
|
3813
|
-
u("div",
|
|
3811
|
+
const r = E("v-img");
|
|
3812
|
+
return v(), D("div", Gl, [
|
|
3813
|
+
u("div", Ql, [
|
|
3814
3814
|
C(r, {
|
|
3815
|
-
src: A(
|
|
3815
|
+
src: A(Nl),
|
|
3816
3816
|
"aspect-ratio": "1"
|
|
3817
3817
|
}, null, 8, ["src"])
|
|
3818
3818
|
]),
|
|
3819
|
-
u("div",
|
|
3819
|
+
u("div", Zl, Z(e.value), 1)
|
|
3820
3820
|
]);
|
|
3821
3821
|
};
|
|
3822
3822
|
}
|
|
3823
|
-
}),
|
|
3823
|
+
}), Jl = /* @__PURE__ */ ee(ql, [["__scopeId", "data-v-cd73fd81"]]), Et = (s) => (Ct("data-v-f59c4942"), s = s(), wt(), s), Xl = {
|
|
3824
3824
|
key: 0,
|
|
3825
3825
|
width: "24",
|
|
3826
3826
|
height: "24",
|
|
3827
3827
|
viewBox: "0 0 24 24",
|
|
3828
3828
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3829
|
-
},
|
|
3829
|
+
}, Kl = /* @__PURE__ */ Et(() => /* @__PURE__ */ u("path", {
|
|
3830
3830
|
d: "M5.38544 13C3.30939 13.9424 2 15.3211 2 16.8571C2 19.6975 6.47715 22 12 22C17.5228 22 22 19.6975 22 16.8571C22 15.3211 20.6906 13.9424 18.6146 13",
|
|
3831
3831
|
class: "fill-grey"
|
|
3832
|
-
}, null, -1)),
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
],
|
|
3832
|
+
}, null, -1)), es = /* @__PURE__ */ Et(() => /* @__PURE__ */ u("path", { d: "M8 9C8 7.89543 8.89543 7 10 7H14C15.1046 7 16 7.89543 16 9V12.875C16 13.4273 15.5523 13.875 15 13.875H14V17C14 17.5523 13.5523 18 13 18H11C10.4477 18 10 17.5523 10 17V13.875H9C8.44772 13.875 8 13.4273 8 12.875V9Z" }, null, -1)), ts = /* @__PURE__ */ Et(() => /* @__PURE__ */ u("path", { d: "M15 4C15 5.65685 13.6569 7 12 7C10.3431 7 9 5.65685 9 4C9 2.34315 10.3431 1 12 1C13.6569 1 15 2.34315 15 4Z" }, null, -1)), as = [
|
|
3833
|
+
Kl,
|
|
3834
|
+
es,
|
|
3835
|
+
ts
|
|
3836
|
+
], ns = /* @__PURE__ */ W({
|
|
3837
3837
|
__name: "VViewModeToggle",
|
|
3838
3838
|
props: {
|
|
3839
3839
|
showStaticImage: { type: Boolean }
|
|
@@ -3845,7 +3845,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3845
3845
|
return e.showStaticImage || (r = "slideShow"), r;
|
|
3846
3846
|
});
|
|
3847
3847
|
return (r, l) => {
|
|
3848
|
-
const m =
|
|
3848
|
+
const m = E("v-icon"), p = E("v-btn"), i = E("v-tooltip");
|
|
3849
3849
|
return v(), V(i, { location: "top" }, {
|
|
3850
3850
|
activator: b(({ props: f }) => [
|
|
3851
3851
|
C(p, Oe({
|
|
@@ -3855,7 +3855,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3855
3855
|
onClick: l[0] || (l[0] = (w) => n("toggle"))
|
|
3856
3856
|
}, f), {
|
|
3857
3857
|
default: b(() => [
|
|
3858
|
-
o.value === "virtualTour" ? (v(), D("svg",
|
|
3858
|
+
o.value === "virtualTour" ? (v(), D("svg", Xl, as)) : (v(), V(m, { key: 1 }, {
|
|
3859
3859
|
default: b(() => [
|
|
3860
3860
|
ae("mdi-image-multiple")
|
|
3861
3861
|
]),
|
|
@@ -3872,10 +3872,10 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3872
3872
|
});
|
|
3873
3873
|
};
|
|
3874
3874
|
}
|
|
3875
|
-
}),
|
|
3875
|
+
}), os = /* @__PURE__ */ ee(ns, [["__scopeId", "data-v-f59c4942"]]), qe = (s) => (Ct("data-v-a5e7f474"), s = s(), wt(), s), ls = {
|
|
3876
3876
|
key: 0,
|
|
3877
3877
|
class: "desktop-content"
|
|
3878
|
-
},
|
|
3878
|
+
}, ss = { class: "d-flex align-center justify-center" }, rs = { class: "box col d-flex flex-column align-bottom justify-center" }, is = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
3879
3879
|
/* @__PURE__ */ u("svg", {
|
|
3880
3880
|
width: "50",
|
|
3881
3881
|
height: "32.5",
|
|
@@ -3922,7 +3922,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
3922
3922
|
"stroke-width": "1.5"
|
|
3923
3923
|
})
|
|
3924
3924
|
])
|
|
3925
|
-
], -1)),
|
|
3925
|
+
], -1)), us = { class: "text-div text-center text mt-2" }, cs = { class: "box col d-flex flex-column align-bottom justify-center" }, ds = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
3926
3926
|
/* @__PURE__ */ u("svg", {
|
|
3927
3927
|
width: "50",
|
|
3928
3928
|
height: "32.5",
|
|
@@ -4052,7 +4052,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4052
4052
|
"stroke-linecap": "round"
|
|
4053
4053
|
})
|
|
4054
4054
|
])
|
|
4055
|
-
], -1)),
|
|
4055
|
+
], -1)), vs = { class: "text-div text-center text mt-2" }, ms = { class: "box col d-flex flex-column align-bottom justify-center" }, ps = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
4056
4056
|
/* @__PURE__ */ u("svg", {
|
|
4057
4057
|
width: "50",
|
|
4058
4058
|
height: "32.5",
|
|
@@ -4123,7 +4123,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4123
4123
|
"stroke-linejoin": "round"
|
|
4124
4124
|
})
|
|
4125
4125
|
])
|
|
4126
|
-
], -1)),
|
|
4126
|
+
], -1)), fs = { class: "text-div text-center text mt-2" }, hs = { class: "box col d-flex flex-column align-bottom justify-center" }, gs = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
4127
4127
|
/* @__PURE__ */ u("svg", {
|
|
4128
4128
|
width: "50",
|
|
4129
4129
|
height: "32.5",
|
|
@@ -4191,10 +4191,10 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4191
4191
|
fill: "#FF3E3E"
|
|
4192
4192
|
})
|
|
4193
4193
|
])
|
|
4194
|
-
], -1)),
|
|
4194
|
+
], -1)), ys = { class: "text-div text-center text mt-2" }, _s = {
|
|
4195
4195
|
key: 1,
|
|
4196
4196
|
class: "d-flex tablet-mobile-content"
|
|
4197
|
-
},
|
|
4197
|
+
}, bs = { class: "box col my-1" }, Cs = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
4198
4198
|
/* @__PURE__ */ u("svg", {
|
|
4199
4199
|
width: "50.5",
|
|
4200
4200
|
height: "32.5",
|
|
@@ -4228,7 +4228,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4228
4228
|
"stroke-linejoin": "round"
|
|
4229
4229
|
})
|
|
4230
4230
|
])
|
|
4231
|
-
], -1)),
|
|
4231
|
+
], -1)), ws = { class: "text text-col text-center" }, ks = { class: "box col my-1" }, Ss = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
4232
4232
|
/* @__PURE__ */ u("svg", {
|
|
4233
4233
|
width: "49.5",
|
|
4234
4234
|
height: "32.5",
|
|
@@ -4362,7 +4362,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4362
4362
|
"stroke-linejoin": "round"
|
|
4363
4363
|
})
|
|
4364
4364
|
])
|
|
4365
|
-
], -1)),
|
|
4365
|
+
], -1)), Is = { class: "text text-col text-center" }, xs = { class: "box col my-1" }, Ds = /* @__PURE__ */ qe(() => /* @__PURE__ */ u("div", { class: "tutorial-icon justify-center" }, [
|
|
4366
4366
|
/* @__PURE__ */ u("svg", {
|
|
4367
4367
|
width: "49.5",
|
|
4368
4368
|
height: "32.5",
|
|
@@ -4396,7 +4396,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4396
4396
|
"stroke-linejoin": "round"
|
|
4397
4397
|
})
|
|
4398
4398
|
])
|
|
4399
|
-
], -1)),
|
|
4399
|
+
], -1)), As = { class: "text text-col text-center" }, Fs = { class: "text-h6 text-capitalize" }, Ls = { class: "mt-2" }, Ms = { class: "d-flex justify-center align-center checkbox-container" }, Os = { class: "text-caption" }, Ts = /* @__PURE__ */ W({
|
|
4400
4400
|
__name: "VTutorial",
|
|
4401
4401
|
emits: ["closeTutorial"],
|
|
4402
4402
|
setup(s, { emit: t }) {
|
|
@@ -4413,8 +4413,8 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4413
4413
|
e("closeTutorial", a.value);
|
|
4414
4414
|
}
|
|
4415
4415
|
return (m, p) => {
|
|
4416
|
-
const i =
|
|
4417
|
-
return v(), V(
|
|
4416
|
+
const i = E("v-icon"), f = E("v-card-title"), w = E("v-btn"), k = E("v-divider"), c = E("v-card-text"), h = E("v-card-actions"), _ = E("v-card"), y = E("v-expand-transition"), g = E("v-checkbox");
|
|
4417
|
+
return v(), V(Ee, { name: "fade-transition" }, {
|
|
4418
4418
|
default: b(() => [
|
|
4419
4419
|
C(_, {
|
|
4420
4420
|
class: "mx-auto",
|
|
@@ -4439,7 +4439,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4439
4439
|
C(w, {
|
|
4440
4440
|
variant: "tonal",
|
|
4441
4441
|
size: "small",
|
|
4442
|
-
onClick: p[0] || (p[0] = (
|
|
4442
|
+
onClick: p[0] || (p[0] = (T) => o.value = !0),
|
|
4443
4443
|
class: "text-capitalize mt-2"
|
|
4444
4444
|
}, {
|
|
4445
4445
|
default: b(() => [
|
|
@@ -4454,38 +4454,38 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4454
4454
|
_: 1
|
|
4455
4455
|
}),
|
|
4456
4456
|
C(k, { class: "my-3" }),
|
|
4457
|
-
r.value ? R("", !0) : (v(), D("div",
|
|
4458
|
-
u("div",
|
|
4459
|
-
u("div", os, [
|
|
4460
|
-
ls,
|
|
4461
|
-
u("div", ss, Z(A(n).getLabel("clickAndDragToLookAround")), 1)
|
|
4462
|
-
]),
|
|
4457
|
+
r.value ? R("", !0) : (v(), D("div", ls, [
|
|
4458
|
+
u("div", ss, [
|
|
4463
4459
|
u("div", rs, [
|
|
4464
4460
|
is,
|
|
4465
|
-
u("div", us, Z(A(n).getLabel("
|
|
4461
|
+
u("div", us, Z(A(n).getLabel("clickAndDragToLookAround")), 1)
|
|
4466
4462
|
]),
|
|
4467
4463
|
u("div", cs, [
|
|
4468
4464
|
ds,
|
|
4469
|
-
u("div", vs, Z(A(n).getLabel("
|
|
4465
|
+
u("div", vs, Z(A(n).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4470
4466
|
]),
|
|
4471
4467
|
u("div", ms, [
|
|
4472
4468
|
ps,
|
|
4473
|
-
u("div", fs, Z(A(n).getLabel("
|
|
4469
|
+
u("div", fs, Z(A(n).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4470
|
+
]),
|
|
4471
|
+
u("div", hs, [
|
|
4472
|
+
gs,
|
|
4473
|
+
u("div", ys, Z(A(n).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4474
4474
|
])
|
|
4475
4475
|
])
|
|
4476
4476
|
])),
|
|
4477
|
-
r.value ? (v(), D("div",
|
|
4478
|
-
u("div", gs, [
|
|
4479
|
-
ys,
|
|
4480
|
-
u("div", _s, Z(A(n).getLabel("tapAndDragToLookAround")), 1)
|
|
4481
|
-
]),
|
|
4477
|
+
r.value ? (v(), D("div", _s, [
|
|
4482
4478
|
u("div", bs, [
|
|
4483
4479
|
Cs,
|
|
4484
|
-
u("div", ws, Z(A(n).getLabel("
|
|
4480
|
+
u("div", ws, Z(A(n).getLabel("tapAndDragToLookAround")), 1)
|
|
4485
4481
|
]),
|
|
4486
4482
|
u("div", ks, [
|
|
4487
4483
|
Ss,
|
|
4488
|
-
u("div", Is, Z(A(n).getLabel("
|
|
4484
|
+
u("div", Is, Z(A(n).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4485
|
+
]),
|
|
4486
|
+
u("div", xs, [
|
|
4487
|
+
Ds,
|
|
4488
|
+
u("div", As, Z(A(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4489
4489
|
])
|
|
4490
4490
|
])) : R("", !0),
|
|
4491
4491
|
C(k, { class: "my-1" })
|
|
@@ -4503,7 +4503,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4503
4503
|
default: b(() => [
|
|
4504
4504
|
C(c, { class: "pb-0" }, {
|
|
4505
4505
|
default: b(() => [
|
|
4506
|
-
u("p",
|
|
4506
|
+
u("p", Fs, [
|
|
4507
4507
|
C(i, null, {
|
|
4508
4508
|
default: b(() => [
|
|
4509
4509
|
ae("mdi-alert-outline")
|
|
@@ -4512,7 +4512,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4512
4512
|
}),
|
|
4513
4513
|
ae(" " + Z(A(n).getLabel("disclaimer")), 1)
|
|
4514
4514
|
]),
|
|
4515
|
-
u("p",
|
|
4515
|
+
u("p", Ls, Z(A(n).getLabel("disclaimerText")), 1)
|
|
4516
4516
|
]),
|
|
4517
4517
|
_: 1
|
|
4518
4518
|
}),
|
|
@@ -4521,7 +4521,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4521
4521
|
C(w, {
|
|
4522
4522
|
variant: "tonal",
|
|
4523
4523
|
size: "small",
|
|
4524
|
-
onClick: p[1] || (p[1] = (
|
|
4524
|
+
onClick: p[1] || (p[1] = (T) => o.value = !1),
|
|
4525
4525
|
class: "text-capitalize"
|
|
4526
4526
|
}, {
|
|
4527
4527
|
default: b(() => [
|
|
@@ -4544,15 +4544,15 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4544
4544
|
]),
|
|
4545
4545
|
_: 1
|
|
4546
4546
|
}),
|
|
4547
|
-
u("div",
|
|
4547
|
+
u("div", Ms, [
|
|
4548
4548
|
C(g, {
|
|
4549
4549
|
density: "compact",
|
|
4550
4550
|
modelValue: a.value,
|
|
4551
|
-
"onUpdate:modelValue": p[2] || (p[2] = (
|
|
4551
|
+
"onUpdate:modelValue": p[2] || (p[2] = (T) => a.value = T),
|
|
4552
4552
|
"hide-details": ""
|
|
4553
4553
|
}, {
|
|
4554
4554
|
label: b(() => [
|
|
4555
|
-
u("span",
|
|
4555
|
+
u("span", Os, Z(A(n).getLabel("dontShowAgain")), 1)
|
|
4556
4556
|
]),
|
|
4557
4557
|
_: 1
|
|
4558
4558
|
}, 8, ["modelValue"])
|
|
@@ -4561,7 +4561,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4561
4561
|
default: b(() => [
|
|
4562
4562
|
C(w, {
|
|
4563
4563
|
variant: "tonal",
|
|
4564
|
-
onClick: p[3] || (p[3] = (
|
|
4564
|
+
onClick: p[3] || (p[3] = (T) => l()),
|
|
4565
4565
|
block: ""
|
|
4566
4566
|
}, {
|
|
4567
4567
|
default: b(() => [
|
|
@@ -4580,17 +4580,17 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4580
4580
|
});
|
|
4581
4581
|
};
|
|
4582
4582
|
}
|
|
4583
|
-
}),
|
|
4583
|
+
}), Es = /* @__PURE__ */ ee(Ts, [["__scopeId", "data-v-a5e7f474"]]), Vs = (s) => (Ct("data-v-bd4f66c3"), s = s(), wt(), s), $s = { class: "player-settings-ui" }, Bs = { id: "settings-ui-form" }, Rs = { class: "form-inputs" }, Us = { class: "setting-label" }, Hs = { class: "setting-label" }, Ys = ["max", "min", "step"], zs = { class: "setting-label" }, js = { class: "flex-grow-1 flex-shrink-0" }, Ps = ["onUpdate:modelValue"], Ws = {
|
|
4584
4584
|
key: 3,
|
|
4585
4585
|
"d-block": "",
|
|
4586
4586
|
class: "mt-3"
|
|
4587
|
-
},
|
|
4587
|
+
}, Ns = { class: "d-flex justify-space-between" }, Gs = { class: "setting-label" }, Qs = {
|
|
4588
4588
|
class: "mt-5 d-block",
|
|
4589
4589
|
style: { width: "300px" }
|
|
4590
|
-
},
|
|
4590
|
+
}, Zs = /* @__PURE__ */ Vs(() => /* @__PURE__ */ u("div", { class: "setting-label" }, "Enter Lut URL:", -1)), qs = {
|
|
4591
4591
|
class: "d-block",
|
|
4592
4592
|
style: { width: "300px" }
|
|
4593
|
-
},
|
|
4593
|
+
}, Js = { class: "form-buttons" }, Xs = /* @__PURE__ */ W({
|
|
4594
4594
|
__name: "VPlayerSettingsUi",
|
|
4595
4595
|
props: {
|
|
4596
4596
|
initialSettings: {}
|
|
@@ -4738,10 +4738,10 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4738
4738
|
};
|
|
4739
4739
|
}
|
|
4740
4740
|
return (c, h) => {
|
|
4741
|
-
const _ =
|
|
4742
|
-
return v(), D("div",
|
|
4743
|
-
u("form",
|
|
4744
|
-
u("div",
|
|
4741
|
+
const _ = E("v-text-field"), y = E("v-slider"), g = E("v-checkbox"), T = E("v-btn"), M = E("v-select"), P = E("v-icon");
|
|
4742
|
+
return v(), D("div", $s, [
|
|
4743
|
+
u("form", Bs, [
|
|
4744
|
+
u("div", Rs, [
|
|
4745
4745
|
(v(!0), D(me, null, _e(a.value, (I, L, X) => (v(), D("div", {
|
|
4746
4746
|
key: X,
|
|
4747
4747
|
"d-block": ""
|
|
@@ -4756,7 +4756,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4756
4756
|
step: I.step
|
|
4757
4757
|
}, {
|
|
4758
4758
|
prepend: b(() => [
|
|
4759
|
-
u("div",
|
|
4759
|
+
u("div", Us, Z(I.label), 1)
|
|
4760
4760
|
]),
|
|
4761
4761
|
append: b(() => [
|
|
4762
4762
|
u("div", null, [
|
|
@@ -4784,7 +4784,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4784
4784
|
onChange: r
|
|
4785
4785
|
}, {
|
|
4786
4786
|
prepend: b(() => [
|
|
4787
|
-
u("div",
|
|
4787
|
+
u("div", Hs, Z(I.label), 1)
|
|
4788
4788
|
]),
|
|
4789
4789
|
append: b(() => [
|
|
4790
4790
|
u("div", null, Z(I.value), 1)
|
|
@@ -4798,14 +4798,14 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4798
4798
|
min: I.min,
|
|
4799
4799
|
step: I.step
|
|
4800
4800
|
}, [
|
|
4801
|
-
u("div",
|
|
4802
|
-
u("div",
|
|
4801
|
+
u("div", zs, Z(I.label), 1),
|
|
4802
|
+
u("div", js, [
|
|
4803
4803
|
Ce(u("input", {
|
|
4804
4804
|
"onUpdate:modelValue": (B) => a.value[L].value = B,
|
|
4805
4805
|
type: "color",
|
|
4806
4806
|
onChange: r
|
|
4807
|
-
}, null, 40,
|
|
4808
|
-
[
|
|
4807
|
+
}, null, 40, Ps), [
|
|
4808
|
+
[Ua, a.value[L].value]
|
|
4809
4809
|
])
|
|
4810
4810
|
]),
|
|
4811
4811
|
u("div", null, [
|
|
@@ -4821,12 +4821,12 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4821
4821
|
onChange: r
|
|
4822
4822
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4823
4823
|
])
|
|
4824
|
-
], 8,
|
|
4825
|
-
I.type === "lut" ? (v(), D("div",
|
|
4826
|
-
u("div",
|
|
4827
|
-
u("div",
|
|
4824
|
+
], 8, Ys)) : R("", !0),
|
|
4825
|
+
I.type === "lut" ? (v(), D("div", Ws, [
|
|
4826
|
+
u("div", Ns, [
|
|
4827
|
+
u("div", Gs, Z(I.label), 1),
|
|
4828
4828
|
u("div", null, [
|
|
4829
|
-
C(
|
|
4829
|
+
C(T, {
|
|
4830
4830
|
class: "ml-2",
|
|
4831
4831
|
"x-small": "",
|
|
4832
4832
|
onClick: (B) => a.value[L].value = null
|
|
@@ -4839,7 +4839,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4839
4839
|
])
|
|
4840
4840
|
]),
|
|
4841
4841
|
u("div", null, [
|
|
4842
|
-
u("div",
|
|
4842
|
+
u("div", Qs, [
|
|
4843
4843
|
u("div", null, [
|
|
4844
4844
|
C(M, {
|
|
4845
4845
|
modelValue: a.value[L].value,
|
|
@@ -4854,8 +4854,8 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4854
4854
|
])
|
|
4855
4855
|
]),
|
|
4856
4856
|
u("div", null, [
|
|
4857
|
-
|
|
4858
|
-
u("div",
|
|
4857
|
+
Zs,
|
|
4858
|
+
u("div", qs, [
|
|
4859
4859
|
u("div", null, [
|
|
4860
4860
|
C(_, {
|
|
4861
4861
|
modelValue: a.value[L].value,
|
|
@@ -4872,8 +4872,8 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4872
4872
|
])) : R("", !0)
|
|
4873
4873
|
]))), 128))
|
|
4874
4874
|
]),
|
|
4875
|
-
u("div",
|
|
4876
|
-
C(
|
|
4875
|
+
u("div", Js, [
|
|
4876
|
+
C(T, {
|
|
4877
4877
|
onClick: h[0] || (h[0] = (I) => p())
|
|
4878
4878
|
}, {
|
|
4879
4879
|
default: b(() => [
|
|
@@ -4881,7 +4881,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4881
4881
|
]),
|
|
4882
4882
|
_: 1
|
|
4883
4883
|
}),
|
|
4884
|
-
C(
|
|
4884
|
+
C(T, {
|
|
4885
4885
|
class: "ml-2",
|
|
4886
4886
|
onClick: h[1] || (h[1] = (I) => l())
|
|
4887
4887
|
}, {
|
|
@@ -4896,7 +4896,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4896
4896
|
]),
|
|
4897
4897
|
_: 1
|
|
4898
4898
|
}),
|
|
4899
|
-
C(
|
|
4899
|
+
C(T, {
|
|
4900
4900
|
class: "ml-2",
|
|
4901
4901
|
onClick: h[2] || (h[2] = (I) => m())
|
|
4902
4902
|
}, {
|
|
@@ -4916,10 +4916,10 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4916
4916
|
]);
|
|
4917
4917
|
};
|
|
4918
4918
|
}
|
|
4919
|
-
}),
|
|
4919
|
+
}), Ks = /* @__PURE__ */ ee(Xs, [["__scopeId", "data-v-bd4f66c3"]]), er = { class: "top-left" }, tr = { class: "top-right" }, ar = { class: "header-slot anchor elevation-5" }, nr = {
|
|
4920
4920
|
id: "moveableBody",
|
|
4921
4921
|
class: "body-slot moveable-body anchor d-flex justify-center align-center position-relative"
|
|
4922
|
-
},
|
|
4922
|
+
}, or = { class: "moveable-footer elevation-5" }, lr = /* @__PURE__ */ W({
|
|
4923
4923
|
__name: "VMoveable",
|
|
4924
4924
|
props: {
|
|
4925
4925
|
size: {}
|
|
@@ -4962,44 +4962,44 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
4962
4962
|
id: "moveableDiv",
|
|
4963
4963
|
class: ge([r.size, "sizer rounded"])
|
|
4964
4964
|
}, [
|
|
4965
|
-
u("div",
|
|
4965
|
+
u("div", er, [
|
|
4966
4966
|
ne(r.$slots, "top-left", {}, void 0, !0)
|
|
4967
4967
|
]),
|
|
4968
|
-
u("div",
|
|
4968
|
+
u("div", tr, [
|
|
4969
4969
|
ne(r.$slots, "top-right", {}, void 0, !0)
|
|
4970
4970
|
]),
|
|
4971
|
-
u("div",
|
|
4971
|
+
u("div", ar, [
|
|
4972
4972
|
ne(r.$slots, "header", {}, void 0, !0)
|
|
4973
4973
|
]),
|
|
4974
|
-
u("div",
|
|
4974
|
+
u("div", nr, [
|
|
4975
4975
|
ne(r.$slots, "body", {}, void 0, !0)
|
|
4976
4976
|
]),
|
|
4977
|
-
u("div",
|
|
4977
|
+
u("div", or, [
|
|
4978
4978
|
ne(r.$slots, "footer", {}, void 0, !0)
|
|
4979
4979
|
])
|
|
4980
4980
|
], 2));
|
|
4981
4981
|
}
|
|
4982
|
-
}),
|
|
4982
|
+
}), sr = /* @__PURE__ */ ee(lr, [["__scopeId", "data-v-1a87ee81"]]), rr = {
|
|
4983
4983
|
class: "rotation-marker-svg",
|
|
4984
4984
|
viewBox: "0 0 40 40",
|
|
4985
4985
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4986
|
-
},
|
|
4987
|
-
|
|
4988
|
-
],
|
|
4986
|
+
}, ir = /* @__PURE__ */ Zt('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), ur = ["transform"], cr = /* @__PURE__ */ Zt('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), dr = [
|
|
4987
|
+
cr
|
|
4988
|
+
], vr = /* @__PURE__ */ W({
|
|
4989
4989
|
__name: "VRotationMarker",
|
|
4990
4990
|
props: {
|
|
4991
4991
|
rotation: {}
|
|
4992
4992
|
},
|
|
4993
4993
|
setup(s) {
|
|
4994
|
-
return (t, e) => (v(), D("svg",
|
|
4995
|
-
|
|
4994
|
+
return (t, e) => (v(), D("svg", rr, [
|
|
4995
|
+
ir,
|
|
4996
4996
|
u("g", {
|
|
4997
4997
|
"transform-origin": "20 20",
|
|
4998
4998
|
transform: `rotate(${45 + t.rotation})`
|
|
4999
|
-
},
|
|
4999
|
+
}, dr, 8, ur)
|
|
5000
5000
|
]));
|
|
5001
5001
|
}
|
|
5002
|
-
}),
|
|
5002
|
+
}), mr = { class: "minimap-wrapper" }, pr = { class: "minimap-container" }, fr = /* @__PURE__ */ W({
|
|
5003
5003
|
__name: "VMiniMapMap",
|
|
5004
5004
|
props: {
|
|
5005
5005
|
backgroundImage: {},
|
|
@@ -5013,7 +5013,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5013
5013
|
fit: { type: Boolean }
|
|
5014
5014
|
},
|
|
5015
5015
|
setup(s) {
|
|
5016
|
-
const t = s, e = d(512), n = d(384), a = d(512), o = d(384), r = d(new it()), l = d(new
|
|
5016
|
+
const t = s, e = d(512), n = d(384), a = d(512), o = d(384), r = d(new it()), l = d(new ja()), m = d({}), p = d(1), i = d(), f = e.value / e.value, w = $(() => {
|
|
5017
5017
|
const x = t.containerWidth / t.containerHeight;
|
|
5018
5018
|
let S;
|
|
5019
5019
|
return x > f ? S = t.containerHeight / n.value : S = t.containerWidth / e.value, S;
|
|
@@ -5031,7 +5031,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5031
5031
|
...x,
|
|
5032
5032
|
...X(r.value, H)
|
|
5033
5033
|
};
|
|
5034
|
-
})),
|
|
5034
|
+
})), T = $(() => ({
|
|
5035
5035
|
backgroundImage: `url(${t.backgroundImage})`,
|
|
5036
5036
|
backgroundSize: "contain"
|
|
5037
5037
|
})), M = $(() => ({
|
|
@@ -5041,13 +5041,13 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5041
5041
|
B(), I(), te();
|
|
5042
5042
|
const x = document.getElementById("moveableDiv");
|
|
5043
5043
|
x && (i.value = new ResizeObserver(te).observe(x));
|
|
5044
|
-
}),
|
|
5044
|
+
}), Ha(() => {
|
|
5045
5045
|
B(), I();
|
|
5046
5046
|
}), Qe(() => {
|
|
5047
5047
|
i.value && i.value.unobserve(document.getElementById("moveableDiv"));
|
|
5048
5048
|
});
|
|
5049
5049
|
function P(x) {
|
|
5050
|
-
return
|
|
5050
|
+
return Pa.degToRad(x);
|
|
5051
5051
|
}
|
|
5052
5052
|
function I() {
|
|
5053
5053
|
l.value.rotation.x = 180, l.value.rotation.y = t.storey.rotation.y * -1, m.value = {
|
|
@@ -5082,15 +5082,15 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5082
5082
|
const S = x.offsetHeight / 384 * 0.8, H = x.offsetWidth / 512 * 0.8;
|
|
5083
5083
|
x.offsetHeight > x.offsetWidth ? p.value = H * 0.5 : p.value = S * 0.9;
|
|
5084
5084
|
}
|
|
5085
|
-
return (x, S) => (v(), D("div",
|
|
5086
|
-
u("div",
|
|
5085
|
+
return (x, S) => (v(), D("div", mr, [
|
|
5086
|
+
u("div", pr, [
|
|
5087
5087
|
u("div", {
|
|
5088
5088
|
class: "web-minimap",
|
|
5089
5089
|
style: ce(M.value)
|
|
5090
5090
|
}, [
|
|
5091
5091
|
u("div", {
|
|
5092
5092
|
class: "minimap-background-image",
|
|
5093
|
-
style: ce(
|
|
5093
|
+
style: ce(T.value)
|
|
5094
5094
|
}, null, 4),
|
|
5095
5095
|
u("div", {
|
|
5096
5096
|
class: "center-pivot",
|
|
@@ -5114,7 +5114,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5114
5114
|
zIndex: "3"
|
|
5115
5115
|
})
|
|
5116
5116
|
}, () => [
|
|
5117
|
-
c.value.id === H.id && t.rotation !== null ? (v(), V(
|
|
5117
|
+
c.value.id === H.id && t.rotation !== null ? (v(), V(vr, {
|
|
5118
5118
|
key: 0,
|
|
5119
5119
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
5120
5120
|
rotation: h.value,
|
|
@@ -5127,7 +5127,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5127
5127
|
])
|
|
5128
5128
|
]));
|
|
5129
5129
|
}
|
|
5130
|
-
}), ea = /* @__PURE__ */ ee(
|
|
5130
|
+
}), ea = /* @__PURE__ */ ee(fr, [["__scopeId", "data-v-5cdee9d5"]]), hr = /* @__PURE__ */ W({
|
|
5131
5131
|
__name: "VMiniMapCompass",
|
|
5132
5132
|
props: {
|
|
5133
5133
|
scale: {},
|
|
@@ -5146,10 +5146,10 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5146
5146
|
}, null, 8, ["longitude"])
|
|
5147
5147
|
], 4));
|
|
5148
5148
|
}
|
|
5149
|
-
}), ta = /* @__PURE__ */ ee(
|
|
5149
|
+
}), ta = /* @__PURE__ */ ee(hr, [["__scopeId", "data-v-d047dca8"]]), gr = { class: "ss-wrapper" }, yr = { class: "slider" }, _r = { class: "minimap-sun-slider" }, br = { class: "d-flex flex-column align-center justify-center" }, Cr = {
|
|
5150
5150
|
key: 0,
|
|
5151
5151
|
class: "time-label"
|
|
5152
|
-
},
|
|
5152
|
+
}, wr = /* @__PURE__ */ W({
|
|
5153
5153
|
__name: "VSunSimulationSlider",
|
|
5154
5154
|
props: {
|
|
5155
5155
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5187,8 +5187,8 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5187
5187
|
}
|
|
5188
5188
|
async function k(y) {
|
|
5189
5189
|
let g = /* @__PURE__ */ new Map();
|
|
5190
|
-
for (let
|
|
5191
|
-
const M = y[
|
|
5190
|
+
for (let T = 0; T < y.length; T++) {
|
|
5191
|
+
const M = y[T].sunsimFiles;
|
|
5192
5192
|
for (let P = 0; P < M.length; P++) {
|
|
5193
5193
|
const I = M[P];
|
|
5194
5194
|
try {
|
|
@@ -5202,32 +5202,32 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5202
5202
|
return g;
|
|
5203
5203
|
}
|
|
5204
5204
|
async function c(y) {
|
|
5205
|
-
const
|
|
5205
|
+
const T = await (await fetch(
|
|
5206
5206
|
ue(
|
|
5207
5207
|
e.cdnFileResolver,
|
|
5208
5208
|
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${y}`
|
|
5209
5209
|
)
|
|
5210
|
-
)).blob(), M = await _(
|
|
5210
|
+
)).blob(), M = await _(T);
|
|
5211
5211
|
return h(M);
|
|
5212
5212
|
}
|
|
5213
5213
|
function h(y) {
|
|
5214
5214
|
return "data:image/jpeg;base64," + y;
|
|
5215
5215
|
}
|
|
5216
5216
|
async function _(y) {
|
|
5217
|
-
return new Promise((g,
|
|
5217
|
+
return new Promise((g, T) => {
|
|
5218
5218
|
const M = new FileReader();
|
|
5219
5219
|
M.onload = () => {
|
|
5220
5220
|
const P = M.result.split(",")[1];
|
|
5221
5221
|
g(P);
|
|
5222
|
-
}, M.onerror =
|
|
5222
|
+
}, M.onerror = T, M.readAsDataURL(y);
|
|
5223
5223
|
});
|
|
5224
5224
|
}
|
|
5225
5225
|
return (y, g) => {
|
|
5226
|
-
const
|
|
5227
|
-
return v(), D("div",
|
|
5228
|
-
u("div",
|
|
5229
|
-
u("div",
|
|
5230
|
-
o.value ? (v(), V(
|
|
5226
|
+
const T = E("v-progress-linear"), M = E("v-icon"), P = E("v-slider");
|
|
5227
|
+
return v(), D("div", gr, [
|
|
5228
|
+
u("div", yr, [
|
|
5229
|
+
u("div", _r, [
|
|
5230
|
+
o.value ? (v(), V(T, {
|
|
5231
5231
|
key: 0,
|
|
5232
5232
|
indeterminate: "",
|
|
5233
5233
|
rounded: "",
|
|
@@ -5248,7 +5248,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5248
5248
|
"thumb-label": "always"
|
|
5249
5249
|
}, {
|
|
5250
5250
|
prepend: b(() => [
|
|
5251
|
-
u("div",
|
|
5251
|
+
u("div", br, [
|
|
5252
5252
|
C(M, { color: "#ffab02" }, {
|
|
5253
5253
|
default: b(() => [
|
|
5254
5254
|
ae("mdi-white-balance-sunny")
|
|
@@ -5264,14 +5264,14 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5264
5264
|
_: 1
|
|
5265
5265
|
}, 8, ["modelValue"]))
|
|
5266
5266
|
]),
|
|
5267
|
-
o.value ? R("", !0) : (v(), D("div",
|
|
5267
|
+
o.value ? R("", !0) : (v(), D("div", Cr))
|
|
5268
5268
|
])
|
|
5269
5269
|
]);
|
|
5270
5270
|
};
|
|
5271
5271
|
}
|
|
5272
|
-
}), aa = /* @__PURE__ */ ee(
|
|
5272
|
+
}), aa = /* @__PURE__ */ ee(wr, [["__scopeId", "data-v-52f122f2"]]), kr = (s) => (Ct("data-v-79a93ab0"), s = s(), wt(), s), Sr = { class: "left" }, Ir = { class: "right" }, xr = /* @__PURE__ */ kr(() => /* @__PURE__ */ u("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
5273
5273
|
/* @__PURE__ */ u("div", { class: "center" }, " ")
|
|
5274
|
-
], -1)),
|
|
5274
|
+
], -1)), Dr = /* @__PURE__ */ W({
|
|
5275
5275
|
__name: "VMiniMap",
|
|
5276
5276
|
props: {
|
|
5277
5277
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5311,14 +5311,14 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5311
5311
|
a("close");
|
|
5312
5312
|
};
|
|
5313
5313
|
return (h, _) => {
|
|
5314
|
-
const y =
|
|
5315
|
-
return v(), V(
|
|
5314
|
+
const y = E("v-btn");
|
|
5315
|
+
return v(), V(sr, {
|
|
5316
5316
|
ref_key: "minimapMoveable",
|
|
5317
5317
|
ref: e,
|
|
5318
5318
|
size: w.value
|
|
5319
5319
|
}, {
|
|
5320
5320
|
"top-left": b(() => [
|
|
5321
|
-
u("div",
|
|
5321
|
+
u("div", Sr, [
|
|
5322
5322
|
C(y, {
|
|
5323
5323
|
icon: "mdi-window-close",
|
|
5324
5324
|
size: "x-small",
|
|
@@ -5327,12 +5327,12 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5327
5327
|
])
|
|
5328
5328
|
]),
|
|
5329
5329
|
"top-right": b(() => [
|
|
5330
|
-
u("div",
|
|
5330
|
+
u("div", Ir, [
|
|
5331
5331
|
C(y, {
|
|
5332
5332
|
class: "rotate-icon",
|
|
5333
5333
|
size: "x-small",
|
|
5334
5334
|
icon: "mdi mdi-rotate-right",
|
|
5335
|
-
onClick:
|
|
5335
|
+
onClick: Ya(k, ["stop"]),
|
|
5336
5336
|
title: "Rotate"
|
|
5337
5337
|
}),
|
|
5338
5338
|
C(y, {
|
|
@@ -5345,7 +5345,7 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5345
5345
|
])
|
|
5346
5346
|
]),
|
|
5347
5347
|
header: b(() => [
|
|
5348
|
-
|
|
5348
|
+
xr
|
|
5349
5349
|
]),
|
|
5350
5350
|
body: b(() => [
|
|
5351
5351
|
C(ta, {
|
|
@@ -5379,12 +5379,12 @@ const vl = { id: "player-wrapper" }, ml = { id: "player-sizer" }, pl = {
|
|
|
5379
5379
|
}, 8, ["size"]);
|
|
5380
5380
|
};
|
|
5381
5381
|
}
|
|
5382
|
-
}), jt = /* @__PURE__ */ ee(
|
|
5382
|
+
}), jt = /* @__PURE__ */ ee(Dr, [["__scopeId", "data-v-79a93ab0"]]);
|
|
5383
5383
|
function yt(s) {
|
|
5384
5384
|
const t = s * 60, e = Math.floor(t / 60), n = t % 60;
|
|
5385
5385
|
return `${e.toString().padStart(2, "0")}:${n.toString().padStart(2, "0")}`;
|
|
5386
5386
|
}
|
|
5387
|
-
const
|
|
5387
|
+
const Ar = { class: "d-flex align-center" }, Fr = { class: "d-block mr-1" }, Lr = { class: "small" }, Mr = { class: "small" }, Or = /* @__PURE__ */ W({
|
|
5388
5388
|
__name: "VSunsimSlider",
|
|
5389
5389
|
props: {
|
|
5390
5390
|
currentDay: {},
|
|
@@ -5393,7 +5393,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5393
5393
|
},
|
|
5394
5394
|
emits: ["onTimeChange", "toggleSunStudy"],
|
|
5395
5395
|
setup(s, { emit: t }) {
|
|
5396
|
-
const e = s, { currentDay: n, currentTime: a, disabled: o } =
|
|
5396
|
+
const e = s, { currentDay: n, currentTime: a, disabled: o } = Te(e), r = t, l = d(a.value.timeInHours);
|
|
5397
5397
|
return U(a, () => {
|
|
5398
5398
|
l.value = a.value.timeInHours;
|
|
5399
5399
|
}), U(
|
|
@@ -5408,9 +5408,9 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5408
5408
|
},
|
|
5409
5409
|
{ immediate: !0 }
|
|
5410
5410
|
), (m, p) => {
|
|
5411
|
-
const i =
|
|
5412
|
-
return v(), D("div",
|
|
5413
|
-
u("div",
|
|
5411
|
+
const i = E("v-icon"), f = E("v-slider"), w = E("v-field"), k = E("v-btn");
|
|
5412
|
+
return v(), D("div", Ar, [
|
|
5413
|
+
u("div", Fr, [
|
|
5414
5414
|
C(w, {
|
|
5415
5415
|
class: "ss-slider-field",
|
|
5416
5416
|
style: {},
|
|
@@ -5444,7 +5444,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5444
5444
|
]),
|
|
5445
5445
|
_: 1
|
|
5446
5446
|
}),
|
|
5447
|
-
u("span",
|
|
5447
|
+
u("span", Lr, Z(A(yt)(l.value)), 1)
|
|
5448
5448
|
]),
|
|
5449
5449
|
_: 1
|
|
5450
5450
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), D(me, { key: 1 }, [
|
|
@@ -5458,7 +5458,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5458
5458
|
]),
|
|
5459
5459
|
_: 1
|
|
5460
5460
|
}),
|
|
5461
|
-
u("span",
|
|
5461
|
+
u("span", Mr, Z(A(yt)(l.value)), 1)
|
|
5462
5462
|
], 64))
|
|
5463
5463
|
]),
|
|
5464
5464
|
_: 1
|
|
@@ -5475,7 +5475,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5475
5475
|
]);
|
|
5476
5476
|
};
|
|
5477
5477
|
}
|
|
5478
|
-
}), Pt = /* @__PURE__ */ ee(
|
|
5478
|
+
}), Pt = /* @__PURE__ */ ee(Or, [["__scopeId", "data-v-c06c753d"]]), Tr = /* @__PURE__ */ W({
|
|
5479
5479
|
__name: "VSunStudyToggle",
|
|
5480
5480
|
props: {
|
|
5481
5481
|
displaySunsim: { type: Boolean },
|
|
@@ -5485,7 +5485,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5485
5485
|
setup(s, { emit: t }) {
|
|
5486
5486
|
const e = t, n = Ze($e);
|
|
5487
5487
|
return (a, o) => {
|
|
5488
|
-
const r =
|
|
5488
|
+
const r = E("v-btn");
|
|
5489
5489
|
return !a.displaySunsim && a.showUI ? (v(), V(r, {
|
|
5490
5490
|
key: 0,
|
|
5491
5491
|
size: "small",
|
|
@@ -5501,7 +5501,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5501
5501
|
})) : R("", !0);
|
|
5502
5502
|
};
|
|
5503
5503
|
}
|
|
5504
|
-
}),
|
|
5504
|
+
}), Er = /* @__PURE__ */ W({
|
|
5505
5505
|
__name: "VAutoplay",
|
|
5506
5506
|
props: {
|
|
5507
5507
|
autoplayStatus: { type: Boolean }
|
|
@@ -5512,7 +5512,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5512
5512
|
window.navigator.userAgent
|
|
5513
5513
|
));
|
|
5514
5514
|
return (a, o) => {
|
|
5515
|
-
const r =
|
|
5515
|
+
const r = E("v-icon"), l = E("v-btn");
|
|
5516
5516
|
return v(), V(l, {
|
|
5517
5517
|
size: "x-small",
|
|
5518
5518
|
class: ge(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
|
|
@@ -5529,10 +5529,10 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5529
5529
|
}, 8, ["class"]);
|
|
5530
5530
|
};
|
|
5531
5531
|
}
|
|
5532
|
-
}), Wt = /* @__PURE__ */ ee(
|
|
5532
|
+
}), Wt = /* @__PURE__ */ ee(Er, [["__scopeId", "data-v-7fd2b4f3"]]), Vr = {
|
|
5533
5533
|
key: 0,
|
|
5534
5534
|
class: "sun-icon-wrapper"
|
|
5535
|
-
},
|
|
5535
|
+
}, $r = 37, Br = 39, Rr = /* @__PURE__ */ W({
|
|
5536
5536
|
__name: "VWaypointCarousel",
|
|
5537
5537
|
props: {
|
|
5538
5538
|
thumbnails: {},
|
|
@@ -5558,10 +5558,10 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5558
5558
|
});
|
|
5559
5559
|
function l(p) {
|
|
5560
5560
|
switch (p.keyCode) {
|
|
5561
|
-
case p.keyCode ===
|
|
5561
|
+
case p.keyCode === $r:
|
|
5562
5562
|
n("previous");
|
|
5563
5563
|
break;
|
|
5564
|
-
case p.keyCode ===
|
|
5564
|
+
case p.keyCode === Br:
|
|
5565
5565
|
n("next");
|
|
5566
5566
|
break;
|
|
5567
5567
|
default:
|
|
@@ -5572,7 +5572,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5572
5572
|
i(), n("goto", p);
|
|
5573
5573
|
}
|
|
5574
5574
|
return (p, i) => {
|
|
5575
|
-
const f =
|
|
5575
|
+
const f = E("v-btn"), w = E("v-img"), k = E("v-icon"), c = E("v-card"), h = E("v-slide-group-item"), _ = E("v-slide-group");
|
|
5576
5576
|
return v(), D("div", {
|
|
5577
5577
|
class: ge(["d-flex align-center justify-center", {
|
|
5578
5578
|
mobileWaypointWrapper: r.value,
|
|
@@ -5615,11 +5615,11 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5615
5615
|
(v(!0), D(me, null, _e(p.thumbnails, (y) => (v(), V(h, {
|
|
5616
5616
|
key: y.id
|
|
5617
5617
|
}, {
|
|
5618
|
-
default: b(({ toggle: g, selectedClass:
|
|
5618
|
+
default: b(({ toggle: g, selectedClass: T }) => [
|
|
5619
5619
|
C(c, {
|
|
5620
5620
|
class: ge(["position-relative", [
|
|
5621
5621
|
r.value ? "ma-0" : "ma-1",
|
|
5622
|
-
|
|
5622
|
+
T,
|
|
5623
5623
|
"single-waypoint"
|
|
5624
5624
|
]]),
|
|
5625
5625
|
align: "center",
|
|
@@ -5633,7 +5633,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5633
5633
|
"aspect-ratio": 1,
|
|
5634
5634
|
src: y.thumbnailUrl
|
|
5635
5635
|
}, null, 8, ["src"]),
|
|
5636
|
-
e.cameraHasSunStudy(y.id) ? (v(), D("div",
|
|
5636
|
+
e.cameraHasSunStudy(y.id) ? (v(), D("div", Vr, [
|
|
5637
5637
|
C(k, {
|
|
5638
5638
|
class: "sun-icon",
|
|
5639
5639
|
icon: "mdi-white-balance-sunny"
|
|
@@ -5652,10 +5652,10 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5652
5652
|
], 2);
|
|
5653
5653
|
};
|
|
5654
5654
|
}
|
|
5655
|
-
}), _t = /* @__PURE__ */ ee(
|
|
5655
|
+
}), _t = /* @__PURE__ */ ee(Rr, [["__scopeId", "data-v-9cc758dc"]]), Ur = {
|
|
5656
5656
|
id: "share-btns-wrapper",
|
|
5657
5657
|
class: "text-center"
|
|
5658
|
-
},
|
|
5658
|
+
}, Hr = /* @__PURE__ */ W({
|
|
5659
5659
|
__name: "VSocialShare",
|
|
5660
5660
|
setup(s) {
|
|
5661
5661
|
const t = Ze($e), e = d(!1), n = d(location.href);
|
|
@@ -5684,7 +5684,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5684
5684
|
navigator.clipboard.writeText(location.href);
|
|
5685
5685
|
}
|
|
5686
5686
|
return (m, p) => {
|
|
5687
|
-
const i =
|
|
5687
|
+
const i = E("v-btn"), f = E("v-tooltip"), w = E("v-toolbar-title"), k = E("v-spacer"), c = E("v-toolbar"), h = E("v-card-text"), _ = E("v-card"), y = E("v-dialog");
|
|
5688
5688
|
return v(), D("div", null, [
|
|
5689
5689
|
C(f, {
|
|
5690
5690
|
elevation: "2",
|
|
@@ -5696,7 +5696,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5696
5696
|
density: "comfortable",
|
|
5697
5697
|
elevation: "1",
|
|
5698
5698
|
icon: "mdi-share-variant",
|
|
5699
|
-
onClick: p[0] || (p[0] = (
|
|
5699
|
+
onClick: p[0] || (p[0] = (T) => e.value = !e.value)
|
|
5700
5700
|
}, g), null, 16)
|
|
5701
5701
|
]),
|
|
5702
5702
|
default: b(() => [
|
|
@@ -5732,7 +5732,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5732
5732
|
}),
|
|
5733
5733
|
C(h, { class: "mt-5" }, {
|
|
5734
5734
|
default: b(() => [
|
|
5735
|
-
u("p",
|
|
5735
|
+
u("p", Ur, [
|
|
5736
5736
|
C(f, { location: "top" }, {
|
|
5737
5737
|
activator: b(({ props: g }) => [
|
|
5738
5738
|
C(i, Oe({
|
|
@@ -5820,7 +5820,7 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5820
5820
|
]);
|
|
5821
5821
|
};
|
|
5822
5822
|
}
|
|
5823
|
-
}), na = /* @__PURE__ */ ee(
|
|
5823
|
+
}), na = /* @__PURE__ */ ee(Hr, [["__scopeId", "data-v-b6e473f1"]]), Yr = { class: "static-image-wrapper" }, zr = /* @__PURE__ */ W({
|
|
5824
5824
|
__name: "VSingleImage",
|
|
5825
5825
|
props: {
|
|
5826
5826
|
image: {},
|
|
@@ -5828,14 +5828,14 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5828
5828
|
},
|
|
5829
5829
|
setup(s) {
|
|
5830
5830
|
const t = s, e = $(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
|
|
5831
|
-
return (n, a) => (v(), D("div",
|
|
5831
|
+
return (n, a) => (v(), D("div", Yr, [
|
|
5832
5832
|
u("div", {
|
|
5833
5833
|
class: ge(["img-div", [n.aspectRatio]]),
|
|
5834
5834
|
style: ce(e.value)
|
|
5835
5835
|
}, null, 6)
|
|
5836
5836
|
]));
|
|
5837
5837
|
}
|
|
5838
|
-
}),
|
|
5838
|
+
}), jr = /* @__PURE__ */ ee(zr, [["__scopeId", "data-v-31489804"]]), Pr = {
|
|
5839
5839
|
id: "btn-fullscreen",
|
|
5840
5840
|
class: "btn-placeholder mr-2"
|
|
5841
5841
|
}, oa = /* @__PURE__ */ W({
|
|
@@ -5847,8 +5847,8 @@ const Ir = { class: "d-flex align-center" }, xr = { class: "d-block mr-1" }, Dr
|
|
|
5847
5847
|
setup(s, { emit: t }) {
|
|
5848
5848
|
const e = t;
|
|
5849
5849
|
return (n, a) => {
|
|
5850
|
-
const o =
|
|
5851
|
-
return v(), D("div",
|
|
5850
|
+
const o = E("v-btn");
|
|
5851
|
+
return v(), D("div", Pr, [
|
|
5852
5852
|
C(o, {
|
|
5853
5853
|
density: "comfortable",
|
|
5854
5854
|
elevation: "3",
|
|
@@ -5899,28 +5899,28 @@ class la {
|
|
|
5899
5899
|
this._state.isActive = t;
|
|
5900
5900
|
}
|
|
5901
5901
|
}
|
|
5902
|
-
const
|
|
5902
|
+
const Wr = {
|
|
5903
5903
|
key: 0,
|
|
5904
5904
|
class: "player-error"
|
|
5905
|
-
},
|
|
5905
|
+
}, Nr = { class: "player-and-components-wrapper" }, Gr = {
|
|
5906
5906
|
key: 3,
|
|
5907
5907
|
class: "settings-panel"
|
|
5908
|
-
},
|
|
5908
|
+
}, Qr = {
|
|
5909
5909
|
key: 0,
|
|
5910
5910
|
class: "compass-wrapper"
|
|
5911
|
-
},
|
|
5911
|
+
}, Zr = {
|
|
5912
5912
|
key: 1,
|
|
5913
5913
|
class: "btn-placeholder mr-2"
|
|
5914
|
-
},
|
|
5914
|
+
}, qr = { class: "btn-placeholder mr-2" }, Jr = {
|
|
5915
5915
|
key: 2,
|
|
5916
5916
|
class: "btn-placeholder mr-2"
|
|
5917
|
-
},
|
|
5917
|
+
}, Xr = { class: "d-flex flex-column align-end" }, Kr = {
|
|
5918
5918
|
key: 0,
|
|
5919
5919
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
5920
|
-
},
|
|
5920
|
+
}, ei = {
|
|
5921
5921
|
key: 2,
|
|
5922
5922
|
class: "render-version"
|
|
5923
|
-
},
|
|
5923
|
+
}, ti = /* @__PURE__ */ W({
|
|
5924
5924
|
__name: "VVirtualTour",
|
|
5925
5925
|
props: {
|
|
5926
5926
|
cdnFileResolver: {},
|
|
@@ -5980,7 +5980,7 @@ const zr = {
|
|
|
5980
5980
|
showInteriorOptions: _,
|
|
5981
5981
|
showMiniMap: y,
|
|
5982
5982
|
showFloorLevel: g,
|
|
5983
|
-
defaultWaypointIndex:
|
|
5983
|
+
defaultWaypointIndex: T,
|
|
5984
5984
|
defaultViewMode: M,
|
|
5985
5985
|
mouseSensitivity: P,
|
|
5986
5986
|
// isInIframe,
|
|
@@ -5990,7 +5990,7 @@ const zr = {
|
|
|
5990
5990
|
dynamicMarkers: B,
|
|
5991
5991
|
version: te,
|
|
5992
5992
|
showVersion: x
|
|
5993
|
-
} =
|
|
5993
|
+
} = Te(n), S = e;
|
|
5994
5994
|
t({
|
|
5995
5995
|
updateSelectedInterior: $t,
|
|
5996
5996
|
takeSnapshot: Ut,
|
|
@@ -5998,14 +5998,17 @@ const zr = {
|
|
|
5998
5998
|
getCurrentRotation: ga,
|
|
5999
5999
|
setCurrentRotation: ya,
|
|
6000
6000
|
getCurrentFov: _a,
|
|
6001
|
-
setCurrentFov: ba
|
|
6001
|
+
setCurrentFov: ba,
|
|
6002
|
+
loadDynamicMarkers: Aa,
|
|
6003
|
+
screenToWorld: Fa,
|
|
6004
|
+
clearCurrentMarkerLayer: Da
|
|
6002
6005
|
});
|
|
6003
|
-
const H = d(!1), G = d(!1), de = d(!1), j = d(), O = d(), J = d(), q = d(),
|
|
6006
|
+
const H = d(!1), G = d(!1), de = d(!1), j = d(), O = d(), J = d(), q = d(), oe = d(), re = d(0), se = d(), be = d(), ie = d(), Fe = d(0), Le = d(0), ze = d(0), we = d(!1), xe = d(!1), Be = d(), De = d(!1), N = d(!1), K = d(
|
|
6004
6007
|
new la(document, "player-wrapper")
|
|
6005
6008
|
), ve = d(), je = $(() => {
|
|
6006
6009
|
if (O.value) {
|
|
6007
6010
|
const F = O.value.cameras.map(
|
|
6008
|
-
(
|
|
6011
|
+
(le) => le.floorLevel
|
|
6009
6012
|
);
|
|
6010
6013
|
let z = [...new Set(F)];
|
|
6011
6014
|
return z = z.sort(), z;
|
|
@@ -6017,9 +6020,9 @@ const zr = {
|
|
|
6017
6020
|
const z = O.value.cameras.map(
|
|
6018
6021
|
(Xe) => Xe.floorLevel
|
|
6019
6022
|
);
|
|
6020
|
-
let
|
|
6021
|
-
|
|
6022
|
-
const Se =
|
|
6023
|
+
let le = [...new Set(z)];
|
|
6024
|
+
le = le.sort();
|
|
6025
|
+
const Se = le.findIndex(
|
|
6023
6026
|
(Xe) => Xe === Le.value
|
|
6024
6027
|
);
|
|
6025
6028
|
Se !== -1 && (F = Se);
|
|
@@ -6041,8 +6044,8 @@ const zr = {
|
|
|
6041
6044
|
(z) => l.value.includes(z.archetypeID)
|
|
6042
6045
|
) : F;
|
|
6043
6046
|
}), ye = $(() => J.value ? he.value.map((F) => {
|
|
6044
|
-
var
|
|
6045
|
-
const z = (
|
|
6047
|
+
var le;
|
|
6048
|
+
const z = (le = Q.value[re.value]) == null ? void 0 : le.id;
|
|
6046
6049
|
return {
|
|
6047
6050
|
...F,
|
|
6048
6051
|
url: ft(
|
|
@@ -6054,7 +6057,7 @@ const zr = {
|
|
|
6054
6057
|
return q.value.storeys[Re.value];
|
|
6055
6058
|
}), rt = $(() => O.value && O.value.timeInHours), Ue = $(() => {
|
|
6056
6059
|
if (O.value && O.value.timeInHours && f.value)
|
|
6057
|
-
return
|
|
6060
|
+
return Ea(O.value.timeInHours);
|
|
6058
6061
|
});
|
|
6059
6062
|
at(
|
|
6060
6063
|
$e,
|
|
@@ -6097,7 +6100,7 @@ const zr = {
|
|
|
6097
6100
|
(z) => z.timeInHours === F[0].defaultHour
|
|
6098
6101
|
);
|
|
6099
6102
|
} else
|
|
6100
|
-
N.value = !0,
|
|
6103
|
+
N.value = !0, oe.value.unloadSunSim();
|
|
6101
6104
|
}), Ie(async () => {
|
|
6102
6105
|
try {
|
|
6103
6106
|
sa.value ? (H.value = !1, N.value = !0) : setTimeout(() => {
|
|
@@ -6131,7 +6134,7 @@ const zr = {
|
|
|
6131
6134
|
se.value,
|
|
6132
6135
|
o.value
|
|
6133
6136
|
), J.value) {
|
|
6134
|
-
const z =
|
|
6137
|
+
const z = T.value !== null ? T.value : 0;
|
|
6135
6138
|
re.value = z, be.value = J.value.cameras[z].id, ie.value = J.value.cameras[z].id;
|
|
6136
6139
|
}
|
|
6137
6140
|
y.value && (q.value = await ha(
|
|
@@ -6146,8 +6149,8 @@ const zr = {
|
|
|
6146
6149
|
function va() {
|
|
6147
6150
|
const F = document.getElementById("main-canvas");
|
|
6148
6151
|
F.addEventListener("touchmove", z, { passive: !1 });
|
|
6149
|
-
function z(
|
|
6150
|
-
|
|
6152
|
+
function z(le) {
|
|
6153
|
+
le.preventDefault(), window.scrollBy(0, 0);
|
|
6151
6154
|
}
|
|
6152
6155
|
F.addEventListener(
|
|
6153
6156
|
"mouseenter",
|
|
@@ -6185,11 +6188,11 @@ const zr = {
|
|
|
6185
6188
|
return await ht(
|
|
6186
6189
|
`/${F}/${z}/apartment.json`
|
|
6187
6190
|
);
|
|
6188
|
-
} catch (
|
|
6191
|
+
} catch (le) {
|
|
6189
6192
|
console.error(
|
|
6190
6193
|
"Error loading apartment.json - ",
|
|
6191
6194
|
`/${F}/${z}/apartment.json`,
|
|
6192
|
-
|
|
6195
|
+
le
|
|
6193
6196
|
);
|
|
6194
6197
|
return;
|
|
6195
6198
|
}
|
|
@@ -6221,16 +6224,16 @@ const zr = {
|
|
|
6221
6224
|
}
|
|
6222
6225
|
}
|
|
6223
6226
|
function ga() {
|
|
6224
|
-
return
|
|
6227
|
+
return oe.value.getCameraRotation();
|
|
6225
6228
|
}
|
|
6226
6229
|
function ya(F) {
|
|
6227
|
-
return
|
|
6230
|
+
return oe.value.setCameraRotation(F);
|
|
6228
6231
|
}
|
|
6229
6232
|
function _a() {
|
|
6230
|
-
return
|
|
6233
|
+
return oe.value.getCameraFov();
|
|
6231
6234
|
}
|
|
6232
6235
|
function ba(F) {
|
|
6233
|
-
return
|
|
6236
|
+
return oe.value.setCameraFov(F);
|
|
6234
6237
|
}
|
|
6235
6238
|
function mt() {
|
|
6236
6239
|
let F = re.value + 1;
|
|
@@ -6241,8 +6244,8 @@ const zr = {
|
|
|
6241
6244
|
F < 0 && (F = Q.value.length - 1), re.value = F, pt(Q.value[re.value].id);
|
|
6242
6245
|
}
|
|
6243
6246
|
function xt(F, z = !0) {
|
|
6244
|
-
let
|
|
6245
|
-
|
|
6247
|
+
let le = Q.value.findIndex((Se) => Se.id === F);
|
|
6248
|
+
le != -1 && (re.value = le, z && pt(F));
|
|
6246
6249
|
}
|
|
6247
6250
|
function pt(F) {
|
|
6248
6251
|
De.value = !1, be.value = F;
|
|
@@ -6257,14 +6260,14 @@ const zr = {
|
|
|
6257
6260
|
const z = Je(F);
|
|
6258
6261
|
return !z || !z[0] || !z[0].timeSamples ? !1 : z[0].timeSamples.length > 1;
|
|
6259
6262
|
}), Je = (F) => {
|
|
6260
|
-
const z = O.value.cameras.find((
|
|
6263
|
+
const z = O.value.cameras.find((le) => le.id === F);
|
|
6261
6264
|
return z == null ? void 0 : z.sunsimDayOfYear;
|
|
6262
6265
|
};
|
|
6263
6266
|
function wa(F) {
|
|
6264
6267
|
S("onSunsimUpdate", F);
|
|
6265
6268
|
}
|
|
6266
6269
|
function Bt(F) {
|
|
6267
|
-
|
|
6270
|
+
oe.value.loadSunSim(F.timeInHours);
|
|
6268
6271
|
}
|
|
6269
6272
|
function ka(F) {
|
|
6270
6273
|
Fe.value = F;
|
|
@@ -6278,21 +6281,30 @@ const zr = {
|
|
|
6278
6281
|
function Ia(F, z) {
|
|
6279
6282
|
}
|
|
6280
6283
|
function xa(F) {
|
|
6281
|
-
|
|
6284
|
+
oe.value = F, oe.value && (L.value && oe.value.updateSettings(L.value), X.value ? oe.value.loadMarkersJson() : B.value && oe.value.loadDynamicMarkers(B.value));
|
|
6282
6285
|
}
|
|
6283
6286
|
function Da() {
|
|
6287
|
+
oe.value.clearCurrentMarkerLayer();
|
|
6288
|
+
}
|
|
6289
|
+
function Aa(F) {
|
|
6290
|
+
oe.value.loadDynamicMarkers(F);
|
|
6291
|
+
}
|
|
6292
|
+
function Fa(F) {
|
|
6293
|
+
return oe.value.screenToWorld(F);
|
|
6294
|
+
}
|
|
6295
|
+
function La() {
|
|
6284
6296
|
K.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
6285
6297
|
}
|
|
6286
|
-
function
|
|
6298
|
+
function Ma() {
|
|
6287
6299
|
we.value = !we.value;
|
|
6288
6300
|
}
|
|
6289
6301
|
async function Ut() {
|
|
6290
|
-
const F = 180 / Math.PI, z = await
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6302
|
+
const F = 180 / Math.PI, z = await oe.value.takePhoto(), le = oe.value.getRotationEuler(), Se = oe.value.getCurrentCamera(), Xe = new eo(z, Se), Va = [
|
|
6303
|
+
le.x * -F,
|
|
6304
|
+
le.y * -F,
|
|
6305
|
+
le.z * F
|
|
6294
6306
|
];
|
|
6295
|
-
return S("onSnapshot", Xe,
|
|
6307
|
+
return S("onSnapshot", Xe, Va), Xe;
|
|
6296
6308
|
}
|
|
6297
6309
|
function ft(F) {
|
|
6298
6310
|
let z = ue(a.value, F);
|
|
@@ -6302,39 +6314,39 @@ const zr = {
|
|
|
6302
6314
|
const z = ft(F);
|
|
6303
6315
|
try {
|
|
6304
6316
|
return (await gt.get(z)).data;
|
|
6305
|
-
} catch (
|
|
6306
|
-
throw new Error(
|
|
6317
|
+
} catch (le) {
|
|
6318
|
+
throw new Error(le);
|
|
6307
6319
|
}
|
|
6308
6320
|
}
|
|
6309
|
-
function
|
|
6310
|
-
|
|
6321
|
+
function Oa(F) {
|
|
6322
|
+
oe.value.updateSettings(F);
|
|
6311
6323
|
}
|
|
6312
|
-
function
|
|
6324
|
+
function Ta(F) {
|
|
6313
6325
|
S("saveSettings", F);
|
|
6314
6326
|
}
|
|
6315
|
-
function
|
|
6327
|
+
function Ea(F) {
|
|
6316
6328
|
if (F === void 0)
|
|
6317
6329
|
return null;
|
|
6318
|
-
const z = Math.floor(F),
|
|
6319
|
-
return { hours: z, minutes:
|
|
6330
|
+
const z = Math.floor(F), le = Math.floor((z - F) * 60);
|
|
6331
|
+
return { hours: z, minutes: le };
|
|
6320
6332
|
}
|
|
6321
6333
|
const Pe = d(!1), Ht = d(null), Dt = d(1);
|
|
6322
6334
|
function Yt() {
|
|
6323
6335
|
if (Pe.value) {
|
|
6324
|
-
clearInterval(Ht.value), Pe.value = !1,
|
|
6336
|
+
clearInterval(Ht.value), Pe.value = !1, oe.value.toggleAutoRotate();
|
|
6325
6337
|
return;
|
|
6326
6338
|
}
|
|
6327
|
-
Pe.value = !0,
|
|
6328
|
-
Dt.value = 1 * Dt.value,
|
|
6339
|
+
Pe.value = !0, oe.value.toggleAutoRotate(), Ht.value = setInterval(() => {
|
|
6340
|
+
Dt.value = 1 * Dt.value, oe.value.setAutoRotateSpeed(Dt.value), mt();
|
|
6329
6341
|
}, 5e3);
|
|
6330
6342
|
}
|
|
6331
6343
|
return (F, z) => {
|
|
6332
|
-
const
|
|
6344
|
+
const le = E("v-btn");
|
|
6333
6345
|
return v(), D("div", {
|
|
6334
6346
|
class: ge(["virtual-tour-wrapper", [Vt.value]])
|
|
6335
6347
|
}, [
|
|
6336
|
-
de.value ? (v(), D("div",
|
|
6337
|
-
u("div",
|
|
6348
|
+
de.value ? (v(), D("div", Wr, "Error loading the player!!")) : R("", !0),
|
|
6349
|
+
u("div", Nr, [
|
|
6338
6350
|
!K.value.isActive && q.value && ie.value && Ye.value && se.value && xe.value ? (v(), V(jt, {
|
|
6339
6351
|
key: 0,
|
|
6340
6352
|
"cdn-file-resolver": A(a),
|
|
@@ -6349,7 +6361,7 @@ const zr = {
|
|
|
6349
6361
|
key: 1,
|
|
6350
6362
|
class: ge(["v-player", [Vt.value]])
|
|
6351
6363
|
}, [
|
|
6352
|
-
C(
|
|
6364
|
+
C(Al, {
|
|
6353
6365
|
ref_key: "vPlayerInstance",
|
|
6354
6366
|
ref: ve,
|
|
6355
6367
|
"cdn-file-resolver": A(a),
|
|
@@ -6368,13 +6380,13 @@ const zr = {
|
|
|
6368
6380
|
onPlayerApiCallback: xa
|
|
6369
6381
|
}, {
|
|
6370
6382
|
"slideshow-image": b(() => [
|
|
6371
|
-
we.value ? (v(), V(
|
|
6383
|
+
we.value ? (v(), V(jr, {
|
|
6372
6384
|
key: 0,
|
|
6373
6385
|
image: fe.value
|
|
6374
6386
|
}, null, 8, ["image"])) : R("", !0)
|
|
6375
6387
|
]),
|
|
6376
6388
|
"top-left": b(() => [
|
|
6377
|
-
A(I) ? (v(), V(
|
|
6389
|
+
A(I) ? (v(), V(le, {
|
|
6378
6390
|
key: 0,
|
|
6379
6391
|
density: "comfortable",
|
|
6380
6392
|
icon: "mdi-cog-outline",
|
|
@@ -6382,7 +6394,7 @@ const zr = {
|
|
|
6382
6394
|
class: "mr-2",
|
|
6383
6395
|
onClick: z[1] || (z[1] = (Se) => G.value = !G.value)
|
|
6384
6396
|
})) : R("", !0),
|
|
6385
|
-
Ce(C(
|
|
6397
|
+
Ce(C(le, {
|
|
6386
6398
|
density: "comfortable",
|
|
6387
6399
|
icon: "mdi-alert-outline",
|
|
6388
6400
|
elevation: "3",
|
|
@@ -6391,7 +6403,7 @@ const zr = {
|
|
|
6391
6403
|
}, null, 512), [
|
|
6392
6404
|
[ke, N.value]
|
|
6393
6405
|
]),
|
|
6394
|
-
q.value && be.value && Ye.value ? Ce((v(), V(
|
|
6406
|
+
q.value && be.value && Ye.value ? Ce((v(), V(le, {
|
|
6395
6407
|
key: 1,
|
|
6396
6408
|
density: "comfortable",
|
|
6397
6409
|
elevation: "3",
|
|
@@ -6401,31 +6413,31 @@ const zr = {
|
|
|
6401
6413
|
}, null, 512)), [
|
|
6402
6414
|
[ke, N.value]
|
|
6403
6415
|
]) : R("", !0),
|
|
6404
|
-
N.value && A(g) && je.value.length > 1 ? (v(), V(
|
|
6416
|
+
N.value && A(g) && je.value.length > 1 ? (v(), V(El, {
|
|
6405
6417
|
key: 2,
|
|
6406
6418
|
level: Le.value,
|
|
6407
6419
|
"floor-levels": je.value,
|
|
6408
6420
|
onLevel: Rt
|
|
6409
6421
|
}, null, 8, ["level", "floor-levels"])) : R("", !0),
|
|
6410
|
-
A(I) && G.value ? (v(), D("div",
|
|
6411
|
-
C(
|
|
6422
|
+
A(I) && G.value ? (v(), D("div", Gr, [
|
|
6423
|
+
C(Ks, {
|
|
6412
6424
|
"initial-settings": A(L),
|
|
6413
|
-
onUpdateSettings:
|
|
6414
|
-
onSaveSettings:
|
|
6425
|
+
onUpdateSettings: Oa,
|
|
6426
|
+
onSaveSettings: Ta
|
|
6415
6427
|
}, null, 8, ["initial-settings"])
|
|
6416
6428
|
])) : R("", !0)
|
|
6417
6429
|
]),
|
|
6418
6430
|
"top-center": b(() => []),
|
|
6419
6431
|
"top-right": b(() => [
|
|
6420
|
-
O.value && A(w) ? Ce((v(), D("div",
|
|
6421
|
-
C(
|
|
6432
|
+
O.value && A(w) ? Ce((v(), D("div", Qr, [
|
|
6433
|
+
C(Wl, { rotation: Fe.value }, null, 8, ["rotation"])
|
|
6422
6434
|
], 512)), [
|
|
6423
6435
|
[ke, N.value]
|
|
6424
6436
|
]) : R("", !0),
|
|
6425
6437
|
u("div", {
|
|
6426
6438
|
onClick: z[4] || (z[4] = (Se) => xe.value = !xe.value)
|
|
6427
6439
|
}, [
|
|
6428
|
-
N.value && O.value && rt.value && A(f) ? (v(), V(
|
|
6440
|
+
N.value && O.value && rt.value && A(f) ? (v(), V(Jl, {
|
|
6429
6441
|
key: 0,
|
|
6430
6442
|
hours: Ue.value.hours,
|
|
6431
6443
|
minutes: Ue.value.minutes,
|
|
@@ -6437,9 +6449,9 @@ const zr = {
|
|
|
6437
6449
|
])
|
|
6438
6450
|
]),
|
|
6439
6451
|
"center-left": b(() => [
|
|
6440
|
-
C(
|
|
6452
|
+
C(Ee, { name: "slide-x-transition" }, {
|
|
6441
6453
|
default: b(() => [
|
|
6442
|
-
we.value ? (v(), V(
|
|
6454
|
+
we.value ? (v(), V(le, {
|
|
6443
6455
|
key: 0,
|
|
6444
6456
|
density: "comfortable",
|
|
6445
6457
|
elevation: "3",
|
|
@@ -6451,7 +6463,7 @@ const zr = {
|
|
|
6451
6463
|
})
|
|
6452
6464
|
]),
|
|
6453
6465
|
"center-center": b(() => [
|
|
6454
|
-
H.value ? (v(), V(
|
|
6466
|
+
H.value ? (v(), V(Es, {
|
|
6455
6467
|
key: 0,
|
|
6456
6468
|
onCloseTutorial: z[5] || (z[5] = (Se) => ra(Se))
|
|
6457
6469
|
})) : R("", !0),
|
|
@@ -6467,9 +6479,9 @@ const zr = {
|
|
|
6467
6479
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : R("", !0)
|
|
6468
6480
|
]),
|
|
6469
6481
|
"center-right": b(() => [
|
|
6470
|
-
C(
|
|
6482
|
+
C(Ee, { name: "slide-x-reverse-transition" }, {
|
|
6471
6483
|
default: b(() => [
|
|
6472
|
-
we.value ? (v(), V(
|
|
6484
|
+
we.value ? (v(), V(le, {
|
|
6473
6485
|
key: 0,
|
|
6474
6486
|
density: "comfortable",
|
|
6475
6487
|
elevation: "3",
|
|
@@ -6485,29 +6497,29 @@ const zr = {
|
|
|
6485
6497
|
key: 0,
|
|
6486
6498
|
"is-full-screen": K.value.isActive,
|
|
6487
6499
|
class: "btn-fullscreen",
|
|
6488
|
-
onToggleFullscreen:
|
|
6500
|
+
onToggleFullscreen: La
|
|
6489
6501
|
}, null, 8, ["is-full-screen"])) : R("", !0),
|
|
6490
|
-
A(c) ? (v(), D("div",
|
|
6491
|
-
C(
|
|
6502
|
+
A(c) ? (v(), D("div", Zr, [
|
|
6503
|
+
C(le, {
|
|
6492
6504
|
density: "comfortable",
|
|
6493
6505
|
elevation: "3",
|
|
6494
6506
|
icon: "mdi-camera",
|
|
6495
6507
|
onClick: Ut
|
|
6496
6508
|
})
|
|
6497
6509
|
])) : R("", !0),
|
|
6498
|
-
u("div",
|
|
6499
|
-
A(m) && N.value ? (v(), V(
|
|
6510
|
+
u("div", qr, [
|
|
6511
|
+
A(m) && N.value ? (v(), V(os, {
|
|
6500
6512
|
key: 0,
|
|
6501
6513
|
"show-static-image": we.value,
|
|
6502
|
-
onToggle:
|
|
6514
|
+
onToggle: Ma
|
|
6503
6515
|
}, null, 8, ["show-static-image"])) : R("", !0)
|
|
6504
6516
|
]),
|
|
6505
|
-
N.value && A(h) && !K.value.isActive ? (v(), D("div",
|
|
6517
|
+
N.value && A(h) && !K.value.isActive ? (v(), D("div", Jr, [
|
|
6506
6518
|
C(na)
|
|
6507
6519
|
])) : R("", !0)
|
|
6508
6520
|
]),
|
|
6509
6521
|
"bottom-center": b(() => [
|
|
6510
|
-
C(
|
|
6522
|
+
C(Ee, null, {
|
|
6511
6523
|
default: b(() => [
|
|
6512
6524
|
u("div", null, [
|
|
6513
6525
|
u("div", {
|
|
@@ -6515,7 +6527,7 @@ const zr = {
|
|
|
6515
6527
|
"mb-2": !Ne.value
|
|
6516
6528
|
}])
|
|
6517
6529
|
}, [
|
|
6518
|
-
!Pe.value && Ge.value(ie.value) ? (v(), V(
|
|
6530
|
+
!Pe.value && Ge.value(ie.value) ? (v(), V(Tr, {
|
|
6519
6531
|
key: 0,
|
|
6520
6532
|
class: "ml-2",
|
|
6521
6533
|
displaySunsim: De.value,
|
|
@@ -6556,8 +6568,8 @@ const zr = {
|
|
|
6556
6568
|
})
|
|
6557
6569
|
]),
|
|
6558
6570
|
"bottom-right": b(() => [
|
|
6559
|
-
u("div",
|
|
6560
|
-
N.value && A(_) && ye.value ? (v(), V(
|
|
6571
|
+
u("div", Xr, [
|
|
6572
|
+
N.value && A(_) && ye.value ? (v(), V(zl, {
|
|
6561
6573
|
key: 0,
|
|
6562
6574
|
"cdn-file-resolver": A(a),
|
|
6563
6575
|
"available-archetypes": ye.value,
|
|
@@ -6568,7 +6580,7 @@ const zr = {
|
|
|
6568
6580
|
]),
|
|
6569
6581
|
_: 1
|
|
6570
6582
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
6571
|
-
C(
|
|
6583
|
+
C(Ee, null, {
|
|
6572
6584
|
default: b(() => [
|
|
6573
6585
|
A(i) && J.value && Ne.value && N.value ? (v(), V(_t, {
|
|
6574
6586
|
key: 0,
|
|
@@ -6592,7 +6604,7 @@ const zr = {
|
|
|
6592
6604
|
]),
|
|
6593
6605
|
_: 1
|
|
6594
6606
|
}),
|
|
6595
|
-
Ne.value ? (v(), D("div",
|
|
6607
|
+
Ne.value ? (v(), D("div", Kr, [
|
|
6596
6608
|
!Pe.value && be.value && De.value && Ge.value(ie.value) && Je(ie.value)[0] && Be.value ? (v(), V(Pt, {
|
|
6597
6609
|
key: 0,
|
|
6598
6610
|
class: "mt-1",
|
|
@@ -6603,82 +6615,82 @@ const zr = {
|
|
|
6603
6615
|
}, null, 8, ["current-day", "current-time"])) : R("", !0)
|
|
6604
6616
|
])) : R("", !0)
|
|
6605
6617
|
], 2)) : R("", !0),
|
|
6606
|
-
A(te) && A(x) ? (v(), D("div",
|
|
6618
|
+
A(te) && A(x) ? (v(), D("div", ei, " version: " + Z(A(te)), 1)) : R("", !0)
|
|
6607
6619
|
])
|
|
6608
6620
|
], 2);
|
|
6609
6621
|
};
|
|
6610
6622
|
}
|
|
6611
|
-
}),
|
|
6623
|
+
}), ai = /* @__PURE__ */ ee(ti, [["__scopeId", "data-v-568fceef"]]), ni = { id: "player-wrapper" }, oi = { id: "player-sizer" }, li = {
|
|
6612
6624
|
class: "player-control",
|
|
6613
6625
|
id: "controls-top-left"
|
|
6614
|
-
},
|
|
6626
|
+
}, si = {
|
|
6615
6627
|
class: "player-control",
|
|
6616
6628
|
id: "controls-top-center"
|
|
6617
|
-
},
|
|
6629
|
+
}, ri = {
|
|
6618
6630
|
class: "player-control",
|
|
6619
6631
|
id: "controls-top-right"
|
|
6620
|
-
},
|
|
6632
|
+
}, ii = {
|
|
6621
6633
|
class: "player-control",
|
|
6622
6634
|
id: "controls-center-left"
|
|
6623
|
-
},
|
|
6635
|
+
}, ui = {
|
|
6624
6636
|
class: "player-control",
|
|
6625
6637
|
id: "controls-center-center"
|
|
6626
|
-
},
|
|
6638
|
+
}, ci = {
|
|
6627
6639
|
class: "player-control",
|
|
6628
6640
|
id: "controls-center-right"
|
|
6629
|
-
},
|
|
6641
|
+
}, di = {
|
|
6630
6642
|
class: "player-control",
|
|
6631
6643
|
id: "controls-bottom-left"
|
|
6632
|
-
},
|
|
6644
|
+
}, vi = {
|
|
6633
6645
|
class: "player-control",
|
|
6634
6646
|
id: "controls-bottom-center"
|
|
6635
|
-
},
|
|
6647
|
+
}, mi = {
|
|
6636
6648
|
class: "player-control",
|
|
6637
6649
|
id: "controls-bottom-right"
|
|
6638
|
-
},
|
|
6650
|
+
}, pi = /* @__PURE__ */ W({
|
|
6639
6651
|
__name: "VManualSlideShowPlayer",
|
|
6640
6652
|
props: {
|
|
6641
6653
|
isFullScreen: { type: Boolean }
|
|
6642
6654
|
},
|
|
6643
6655
|
emits: ["newSizeCallback"],
|
|
6644
6656
|
setup(s, { emit: t }) {
|
|
6645
|
-
return (e, n) => (v(), D("div",
|
|
6646
|
-
u("div",
|
|
6657
|
+
return (e, n) => (v(), D("div", ni, [
|
|
6658
|
+
u("div", oi, [
|
|
6647
6659
|
ne(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
6648
|
-
u("div",
|
|
6660
|
+
u("div", li, [
|
|
6649
6661
|
ne(e.$slots, "top-left", {}, void 0, !0)
|
|
6650
6662
|
]),
|
|
6651
|
-
u("div",
|
|
6663
|
+
u("div", si, [
|
|
6652
6664
|
ne(e.$slots, "top-center", {}, void 0, !0)
|
|
6653
6665
|
]),
|
|
6654
|
-
u("div",
|
|
6666
|
+
u("div", ri, [
|
|
6655
6667
|
ne(e.$slots, "top-right", {}, void 0, !0)
|
|
6656
6668
|
]),
|
|
6657
|
-
u("div",
|
|
6669
|
+
u("div", ii, [
|
|
6658
6670
|
ne(e.$slots, "center-left", {}, void 0, !0)
|
|
6659
6671
|
]),
|
|
6660
|
-
u("div",
|
|
6672
|
+
u("div", ui, [
|
|
6661
6673
|
ne(e.$slots, "center-center", {}, void 0, !0)
|
|
6662
6674
|
]),
|
|
6663
|
-
u("div",
|
|
6675
|
+
u("div", ci, [
|
|
6664
6676
|
ne(e.$slots, "center-right", {}, void 0, !0)
|
|
6665
6677
|
]),
|
|
6666
|
-
u("div",
|
|
6678
|
+
u("div", di, [
|
|
6667
6679
|
ne(e.$slots, "bottom-left", {}, void 0, !0)
|
|
6668
6680
|
]),
|
|
6669
|
-
u("div",
|
|
6681
|
+
u("div", vi, [
|
|
6670
6682
|
ne(e.$slots, "bottom-center", {}, void 0, !0)
|
|
6671
6683
|
]),
|
|
6672
|
-
u("div",
|
|
6684
|
+
u("div", mi, [
|
|
6673
6685
|
ne(e.$slots, "bottom-right", {}, void 0, !0)
|
|
6674
6686
|
])
|
|
6675
6687
|
])
|
|
6676
6688
|
]));
|
|
6677
6689
|
}
|
|
6678
|
-
}),
|
|
6690
|
+
}), fi = /* @__PURE__ */ ee(pi, [["__scopeId", "data-v-5fdd1e05"]]), hi = { class: "virtual-tour-wrapper" }, gi = { class: "player-and-components-wrapper" }, yi = { class: "mss-image" }, _i = {
|
|
6679
6691
|
key: 1,
|
|
6680
6692
|
class: "btn-placeholder"
|
|
6681
|
-
},
|
|
6693
|
+
}, bi = /* @__PURE__ */ W({
|
|
6682
6694
|
__name: "VManualSlideShow",
|
|
6683
6695
|
props: {
|
|
6684
6696
|
images: {},
|
|
@@ -6723,15 +6735,15 @@ const zr = {
|
|
|
6723
6735
|
w != -1 && (e.value = w);
|
|
6724
6736
|
}
|
|
6725
6737
|
return (i, f) => {
|
|
6726
|
-
const w =
|
|
6727
|
-
return v(), D("div",
|
|
6728
|
-
u("div",
|
|
6738
|
+
const w = E("v-img"), k = E("v-btn");
|
|
6739
|
+
return v(), D("div", hi, [
|
|
6740
|
+
u("div", gi, [
|
|
6729
6741
|
u("div", null, [
|
|
6730
|
-
C(
|
|
6742
|
+
C(fi, {
|
|
6731
6743
|
"is-full-screen": n.value.isActive
|
|
6732
6744
|
}, {
|
|
6733
6745
|
"slideshow-image": b(() => [
|
|
6734
|
-
u("div",
|
|
6746
|
+
u("div", yi, [
|
|
6735
6747
|
C(w, {
|
|
6736
6748
|
src: o.value.thumbnailUrl
|
|
6737
6749
|
}, null, 8, ["src"])
|
|
@@ -6741,7 +6753,7 @@ const zr = {
|
|
|
6741
6753
|
"top-center": b(() => []),
|
|
6742
6754
|
"top-right": b(() => []),
|
|
6743
6755
|
"center-left": b(() => [
|
|
6744
|
-
C(
|
|
6756
|
+
C(Ee, { name: "slide-x-transition" }, {
|
|
6745
6757
|
default: b(() => [
|
|
6746
6758
|
a.value.length > 1 ? (v(), V(k, {
|
|
6747
6759
|
key: 0,
|
|
@@ -6756,7 +6768,7 @@ const zr = {
|
|
|
6756
6768
|
]),
|
|
6757
6769
|
"center-center": b(() => []),
|
|
6758
6770
|
"center-right": b(() => [
|
|
6759
|
-
C(
|
|
6771
|
+
C(Ee, { name: "slide-x-reverse-transition" }, {
|
|
6760
6772
|
default: b(() => [
|
|
6761
6773
|
a.value.length > 1 ? (v(), V(k, {
|
|
6762
6774
|
key: 0,
|
|
@@ -6776,7 +6788,7 @@ const zr = {
|
|
|
6776
6788
|
class: "btn-fullscreen",
|
|
6777
6789
|
onToggleFullscreen: r
|
|
6778
6790
|
}, null, 8, ["is-full-screen"])) : R("", !0),
|
|
6779
|
-
i.showShare ? (v(), D("div",
|
|
6791
|
+
i.showShare ? (v(), D("div", _i, [
|
|
6780
6792
|
C(na)
|
|
6781
6793
|
])) : R("", !0)
|
|
6782
6794
|
]),
|
|
@@ -6809,7 +6821,7 @@ const zr = {
|
|
|
6809
6821
|
]);
|
|
6810
6822
|
};
|
|
6811
6823
|
}
|
|
6812
|
-
}),
|
|
6824
|
+
}), Ci = /* @__PURE__ */ ee(bi, [["__scopeId", "data-v-040ac08f"]]), wi = /* @__PURE__ */ W({
|
|
6813
6825
|
__name: "VMiniMap",
|
|
6814
6826
|
props: {
|
|
6815
6827
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -6822,14 +6834,14 @@ const zr = {
|
|
|
6822
6834
|
},
|
|
6823
6835
|
emits: ["apartmentJsonLoaded", "minimapJsonLoaded", "cameraSet"],
|
|
6824
6836
|
setup(s, { emit: t }) {
|
|
6825
|
-
const n =
|
|
6837
|
+
const n = Te(s), a = t, o = d(), r = d(), l = d(), m = d(0), p = d(), i = d(1), f = $(() => n.currentCamera.value ? n.currentCamera.value : o.value ? o.value.cameras[0].id : null), w = $(() => ({
|
|
6826
6838
|
transformOrigin: "top left",
|
|
6827
6839
|
transform: `scale(${i.value})`
|
|
6828
6840
|
}));
|
|
6829
6841
|
U(p, () => {
|
|
6830
6842
|
p.value && new ResizeObserver(([y]) => {
|
|
6831
|
-
const g = y.target.parentElement,
|
|
6832
|
-
i.value =
|
|
6843
|
+
const g = y.target.parentElement, T = g.parentElement;
|
|
6844
|
+
i.value = T.clientWidth / 512, g.style.height = `${y.contentRect.height * i.value}px`;
|
|
6833
6845
|
}).observe(p.value);
|
|
6834
6846
|
}), U(f, () => {
|
|
6835
6847
|
a("cameraSet", f.value);
|
|
@@ -6868,7 +6880,7 @@ const zr = {
|
|
|
6868
6880
|
l.value = _;
|
|
6869
6881
|
}
|
|
6870
6882
|
return (_, y) => {
|
|
6871
|
-
const g =
|
|
6883
|
+
const g = E("v-skeleton-loader");
|
|
6872
6884
|
return v(), V(g, {
|
|
6873
6885
|
loading: !o.value || !r.value
|
|
6874
6886
|
}, {
|
|
@@ -6896,9 +6908,9 @@ const zr = {
|
|
|
6896
6908
|
containerHeight: 384,
|
|
6897
6909
|
fit: ""
|
|
6898
6910
|
}, {
|
|
6899
|
-
default: b(({ id:
|
|
6911
|
+
default: b(({ id: T, camera: M, active: P, style: I }) => [
|
|
6900
6912
|
ne(_.$slots, "default", {
|
|
6901
|
-
id:
|
|
6913
|
+
id: T,
|
|
6902
6914
|
camera: M,
|
|
6903
6915
|
active: P,
|
|
6904
6916
|
style: ce(I)
|
|
@@ -6921,7 +6933,7 @@ const zr = {
|
|
|
6921
6933
|
}, 8, ["loading"]);
|
|
6922
6934
|
};
|
|
6923
6935
|
}
|
|
6924
|
-
}),
|
|
6936
|
+
}), pu = /* @__PURE__ */ ee(wi, [["__scopeId", "data-v-8077dfb5"]]), ki = ["src"], Si = /* @__PURE__ */ W({
|
|
6925
6937
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
6926
6938
|
props: {
|
|
6927
6939
|
timeSampleData: {},
|
|
@@ -6929,16 +6941,16 @@ const zr = {
|
|
|
6929
6941
|
currentTime: {}
|
|
6930
6942
|
},
|
|
6931
6943
|
setup(s) {
|
|
6932
|
-
const t = s, { timeSampleData: e, cdnFileResolver: n, currentTime: a } =
|
|
6944
|
+
const t = s, { timeSampleData: e, cdnFileResolver: n, currentTime: a } = Te(t), o = $(() => ue(n.value, e.value.filename));
|
|
6933
6945
|
return (r, l) => Ce((v(), D("img", {
|
|
6934
6946
|
key: o.value,
|
|
6935
6947
|
src: o.value,
|
|
6936
6948
|
width: "100%"
|
|
6937
|
-
}, null, 8,
|
|
6949
|
+
}, null, 8, ki)), [
|
|
6938
6950
|
[ke, A(a) && A(e) === A(a)]
|
|
6939
6951
|
]);
|
|
6940
6952
|
}
|
|
6941
|
-
}),
|
|
6953
|
+
}), Ii = /* @__PURE__ */ ee(Si, [["__scopeId", "data-v-a12a9cdb"]]), xi = /* @__PURE__ */ W({
|
|
6942
6954
|
__name: "VStructureChooserCameraDay",
|
|
6943
6955
|
props: {
|
|
6944
6956
|
dayData: {},
|
|
@@ -6947,15 +6959,15 @@ const zr = {
|
|
|
6947
6959
|
currentTime: {}
|
|
6948
6960
|
},
|
|
6949
6961
|
setup(s) {
|
|
6950
|
-
const t = s, { dayData: e, cdnFileResolver: n, currentTime: a } =
|
|
6951
|
-
return (o, r) => (v(!0), D(me, null, _e(A(e).timeSamples, (l) => (v(), V(
|
|
6962
|
+
const t = s, { dayData: e, cdnFileResolver: n, currentTime: a } = Te(t);
|
|
6963
|
+
return (o, r) => (v(!0), D(me, null, _e(A(e).timeSamples, (l) => (v(), V(Ii, {
|
|
6952
6964
|
key: l.filename,
|
|
6953
6965
|
"time-sample-data": l,
|
|
6954
6966
|
"cdn-file-resolver": A(n),
|
|
6955
6967
|
"current-time": A(a)
|
|
6956
6968
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
6957
6969
|
}
|
|
6958
|
-
}),
|
|
6970
|
+
}), Di = ["src"], Ai = /* @__PURE__ */ W({
|
|
6959
6971
|
__name: "VStructureChooserCamera",
|
|
6960
6972
|
props: {
|
|
6961
6973
|
cameraData: {},
|
|
@@ -6965,11 +6977,11 @@ const zr = {
|
|
|
6965
6977
|
currentTime: {}
|
|
6966
6978
|
},
|
|
6967
6979
|
setup(s) {
|
|
6968
|
-
const t = s, { cameraData: e, cdnFileResolver: n, currentCamera: a, currentTime: o } =
|
|
6980
|
+
const t = s, { cameraData: e, cdnFileResolver: n, currentCamera: a, currentTime: o } = Te(t), r = $(() => ue(
|
|
6969
6981
|
n.value,
|
|
6970
6982
|
a.value.defaultFilename
|
|
6971
6983
|
));
|
|
6972
|
-
return (l, m) => A(e).sunsimDayOfYear ? (v(!0), D(me, { key: 0 }, _e(A(e).sunsimDayOfYear, (p) => (v(), V(
|
|
6984
|
+
return (l, m) => A(e).sunsimDayOfYear ? (v(!0), D(me, { key: 0 }, _e(A(e).sunsimDayOfYear, (p) => (v(), V(xi, {
|
|
6973
6985
|
key: p.dayOfYear,
|
|
6974
6986
|
"day-data": p,
|
|
6975
6987
|
"cdn-file-resolver": A(n),
|
|
@@ -6979,11 +6991,11 @@ const zr = {
|
|
|
6979
6991
|
key: r.value,
|
|
6980
6992
|
src: r.value,
|
|
6981
6993
|
width: "100%"
|
|
6982
|
-
}, null, 8,
|
|
6994
|
+
}, null, 8, Di)), [
|
|
6983
6995
|
[ke, A(a) === A(e)]
|
|
6984
6996
|
]);
|
|
6985
6997
|
}
|
|
6986
|
-
}),
|
|
6998
|
+
}), Fi = ["src"], Li = /* @__PURE__ */ W({
|
|
6987
6999
|
__name: "VStructureChooserTransition",
|
|
6988
7000
|
props: {
|
|
6989
7001
|
transitionData: {},
|
|
@@ -6991,16 +7003,16 @@ const zr = {
|
|
|
6991
7003
|
currentTransition: {}
|
|
6992
7004
|
},
|
|
6993
7005
|
setup(s) {
|
|
6994
|
-
const t = s, { transitionData: e, cdnFileResolver: n, currentTransition: a } =
|
|
7006
|
+
const t = s, { transitionData: e, cdnFileResolver: n, currentTransition: a } = Te(t), o = $(() => ue(n.value, e.value.filename));
|
|
6995
7007
|
return (r, l) => Ce((v(), D("img", {
|
|
6996
7008
|
key: o.value,
|
|
6997
7009
|
src: o.value,
|
|
6998
7010
|
class: "position-absolute top-left w-100 h-100"
|
|
6999
|
-
}, null, 8,
|
|
7011
|
+
}, null, 8, Fi)), [
|
|
7000
7012
|
[ke, A(e) === A(a)]
|
|
7001
7013
|
]);
|
|
7002
7014
|
}
|
|
7003
|
-
}),
|
|
7015
|
+
}), Mi = /* @__PURE__ */ ee(Li, [["__scopeId", "data-v-ea8553ab"]]);
|
|
7004
7016
|
function Nt(s) {
|
|
7005
7017
|
const t = /* @__PURE__ */ new Date(0);
|
|
7006
7018
|
return t.setUTCDate(s), t.toLocaleString("en-no", {
|
|
@@ -7008,11 +7020,11 @@ function Nt(s) {
|
|
|
7008
7020
|
day: "numeric"
|
|
7009
7021
|
});
|
|
7010
7022
|
}
|
|
7011
|
-
const
|
|
7023
|
+
const Oi = {
|
|
7012
7024
|
key: 0,
|
|
7013
7025
|
class: "d-inline-block",
|
|
7014
7026
|
style: { "vertical-align": "top" }
|
|
7015
|
-
},
|
|
7027
|
+
}, Ti = /* @__PURE__ */ W({
|
|
7016
7028
|
__name: "VStructureChooserUiDayButton",
|
|
7017
7029
|
props: {
|
|
7018
7030
|
isMobileSized: { type: Boolean },
|
|
@@ -7022,7 +7034,7 @@ const Fi = {
|
|
|
7022
7034
|
},
|
|
7023
7035
|
emits: ["onDayChange"],
|
|
7024
7036
|
setup(s, { emit: t }) {
|
|
7025
|
-
const e = s, { isMobileSized: n, currentCamera: a, currentDay: o, disabled: r } =
|
|
7037
|
+
const e = s, { isMobileSized: n, currentCamera: a, currentDay: o, disabled: r } = Te(e), l = t, m = d(o.value.dayOfYear);
|
|
7026
7038
|
return U(o, () => {
|
|
7027
7039
|
m.value = o.value.dayOfYear;
|
|
7028
7040
|
}), U(m, () => {
|
|
@@ -7033,8 +7045,8 @@ const Fi = {
|
|
|
7033
7045
|
)
|
|
7034
7046
|
);
|
|
7035
7047
|
}), (p, i) => {
|
|
7036
|
-
const f =
|
|
7037
|
-
return A(a).sunsimDayOfYear && A(a).sunsimDayOfYear.length > 0 ? (v(), D("div",
|
|
7048
|
+
const f = E("v-btn"), w = E("v-field"), k = E("v-list-item-title"), c = E("v-list-item"), h = E("v-list"), _ = E("v-menu");
|
|
7049
|
+
return A(a).sunsimDayOfYear && A(a).sunsimDayOfYear.length > 0 ? (v(), D("div", Oi, [
|
|
7038
7050
|
C(_, null, {
|
|
7039
7051
|
activator: b(({ props: y }) => [
|
|
7040
7052
|
C(w, {
|
|
@@ -7068,7 +7080,7 @@ const Fi = {
|
|
|
7068
7080
|
(v(!0), D(me, null, _e(A(a).sunsimDayOfYear, (y, g) => (v(), V(c, {
|
|
7069
7081
|
key: g,
|
|
7070
7082
|
value: g,
|
|
7071
|
-
onClick: (
|
|
7083
|
+
onClick: (T) => m.value = y.dayOfYear
|
|
7072
7084
|
}, {
|
|
7073
7085
|
default: b(() => [
|
|
7074
7086
|
C(k, null, {
|
|
@@ -7089,13 +7101,13 @@ const Fi = {
|
|
|
7089
7101
|
])) : R("", !0);
|
|
7090
7102
|
};
|
|
7091
7103
|
}
|
|
7092
|
-
}),
|
|
7104
|
+
}), Ei = /* @__PURE__ */ ee(Ti, [["__scopeId", "data-v-743f5faf"]]), Vi = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, $i = ["onClick"], Bi = {
|
|
7093
7105
|
key: 0,
|
|
7094
7106
|
class: "camera-name text-caption text-capitalize"
|
|
7095
|
-
},
|
|
7107
|
+
}, Ri = {
|
|
7096
7108
|
key: 1,
|
|
7097
7109
|
class: "icon-wrapper"
|
|
7098
|
-
},
|
|
7110
|
+
}, Ui = /* @__PURE__ */ W({
|
|
7099
7111
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
7100
7112
|
props: {
|
|
7101
7113
|
isMobileSized: { type: Boolean },
|
|
@@ -7112,7 +7124,7 @@ const Fi = {
|
|
|
7112
7124
|
currentCamera: o,
|
|
7113
7125
|
cdnFileResolver: r,
|
|
7114
7126
|
disabled: l
|
|
7115
|
-
} =
|
|
7127
|
+
} = Te(e), m = d(o.value), p = t;
|
|
7116
7128
|
U(m, () => {
|
|
7117
7129
|
p(
|
|
7118
7130
|
"onCameraChange",
|
|
@@ -7123,7 +7135,7 @@ const Fi = {
|
|
|
7123
7135
|
l.value || (m.value = f);
|
|
7124
7136
|
}
|
|
7125
7137
|
return (f, w) => {
|
|
7126
|
-
const k =
|
|
7138
|
+
const k = E("v-icon");
|
|
7127
7139
|
return v(), D("div", {
|
|
7128
7140
|
class: ge({
|
|
7129
7141
|
"d-flex": !0,
|
|
@@ -7135,7 +7147,7 @@ const Fi = {
|
|
|
7135
7147
|
enabled: !A(l)
|
|
7136
7148
|
})
|
|
7137
7149
|
}, [
|
|
7138
|
-
u("div",
|
|
7150
|
+
u("div", Vi, [
|
|
7139
7151
|
(v(!0), D(me, null, _e(A(a), (c, h) => (v(), D("div", {
|
|
7140
7152
|
key: h,
|
|
7141
7153
|
class: ge(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
@@ -7143,7 +7155,7 @@ const Fi = {
|
|
|
7143
7155
|
}]),
|
|
7144
7156
|
onClick: (_) => i(c)
|
|
7145
7157
|
}, [
|
|
7146
|
-
c.cameraName ? (v(), D("div",
|
|
7158
|
+
c.cameraName ? (v(), D("div", Bi, Z(c.cameraName), 1)) : R("", !0),
|
|
7147
7159
|
u("div", {
|
|
7148
7160
|
class: "camera-thumbnail-image",
|
|
7149
7161
|
style: ce({
|
|
@@ -7153,7 +7165,7 @@ const Fi = {
|
|
|
7153
7165
|
)})`
|
|
7154
7166
|
})
|
|
7155
7167
|
}, null, 4),
|
|
7156
|
-
c.sunsimDayOfYear && c.sunsimDayOfYear.length > 1 ? (v(), D("div",
|
|
7168
|
+
c.sunsimDayOfYear && c.sunsimDayOfYear.length > 1 ? (v(), D("div", Ri, [
|
|
7157
7169
|
C(k, {
|
|
7158
7170
|
size: "x-small",
|
|
7159
7171
|
color: "warning",
|
|
@@ -7165,12 +7177,12 @@ const Fi = {
|
|
|
7165
7177
|
_: 1
|
|
7166
7178
|
})
|
|
7167
7179
|
])) : R("", !0)
|
|
7168
|
-
], 10,
|
|
7180
|
+
], 10, $i))), 128))
|
|
7169
7181
|
])
|
|
7170
7182
|
], 2);
|
|
7171
7183
|
};
|
|
7172
7184
|
}
|
|
7173
|
-
}),
|
|
7185
|
+
}), Hi = /* @__PURE__ */ ee(Ui, [["__scopeId", "data-v-a94daee8"]]), Yi = { class: "small" }, zi = { class: "small" }, ji = /* @__PURE__ */ W({
|
|
7174
7186
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
7175
7187
|
props: {
|
|
7176
7188
|
isMobileSized: { type: Boolean },
|
|
@@ -7180,7 +7192,7 @@ const Fi = {
|
|
|
7180
7192
|
},
|
|
7181
7193
|
emits: ["onTimeChange"],
|
|
7182
7194
|
setup(s, { emit: t }) {
|
|
7183
|
-
const e = s, { isMobileSized: n, currentDay: a, currentTime: o, disabled: r } =
|
|
7195
|
+
const e = s, { isMobileSized: n, currentDay: a, currentTime: o, disabled: r } = Te(e), l = t, m = d(o.value.timeInHours);
|
|
7184
7196
|
return U(o, () => {
|
|
7185
7197
|
m.value = o.value.timeInHours;
|
|
7186
7198
|
}), U(m, () => {
|
|
@@ -7191,7 +7203,7 @@ const Fi = {
|
|
|
7191
7203
|
)
|
|
7192
7204
|
);
|
|
7193
7205
|
}), (p, i) => {
|
|
7194
|
-
const f =
|
|
7206
|
+
const f = E("v-icon"), w = E("v-slider"), k = E("v-field");
|
|
7195
7207
|
return v(), D("div", {
|
|
7196
7208
|
class: ge({ "d-inline-block": !0, mobile: A(n) }),
|
|
7197
7209
|
style: ce({
|
|
@@ -7242,7 +7254,7 @@ const Fi = {
|
|
|
7242
7254
|
]),
|
|
7243
7255
|
_: 1
|
|
7244
7256
|
}),
|
|
7245
|
-
u("span",
|
|
7257
|
+
u("span", Yi, Z(A(yt)(m.value)), 1)
|
|
7246
7258
|
]),
|
|
7247
7259
|
_: 1
|
|
7248
7260
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), D(me, { key: 1 }, [
|
|
@@ -7256,7 +7268,7 @@ const Fi = {
|
|
|
7256
7268
|
]),
|
|
7257
7269
|
_: 1
|
|
7258
7270
|
}),
|
|
7259
|
-
u("span",
|
|
7271
|
+
u("span", zi, Z(A(yt)(m.value)), 1)
|
|
7260
7272
|
], 64))
|
|
7261
7273
|
]),
|
|
7262
7274
|
_: 1
|
|
@@ -7264,10 +7276,10 @@ const Fi = {
|
|
|
7264
7276
|
], 6);
|
|
7265
7277
|
};
|
|
7266
7278
|
}
|
|
7267
|
-
}),
|
|
7279
|
+
}), Pi = /* @__PURE__ */ ee(ji, [["__scopeId", "data-v-4d44890b"]]), Wi = {
|
|
7268
7280
|
class: "d-inline-block",
|
|
7269
7281
|
style: { "vertical-align": "top" }
|
|
7270
|
-
},
|
|
7282
|
+
}, Ni = /* @__PURE__ */ u("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Gi = /* @__PURE__ */ W({
|
|
7271
7283
|
__name: "VStructureChooserUiZoomButtons",
|
|
7272
7284
|
props: {
|
|
7273
7285
|
isMobileSized: { type: Boolean },
|
|
@@ -7277,10 +7289,10 @@ const Fi = {
|
|
|
7277
7289
|
},
|
|
7278
7290
|
emits: ["onZoomIn", "onZoomOut"],
|
|
7279
7291
|
setup(s, { emit: t }) {
|
|
7280
|
-
const e = s, { isMobileSized: n, canZoomIn: a, canZoomOut: o, disabled: r } =
|
|
7292
|
+
const e = s, { isMobileSized: n, canZoomIn: a, canZoomOut: o, disabled: r } = Te(e), l = t;
|
|
7281
7293
|
return (m, p) => {
|
|
7282
|
-
const i =
|
|
7283
|
-
return v(), D("div",
|
|
7294
|
+
const i = E("v-btn");
|
|
7295
|
+
return v(), D("div", Wi, [
|
|
7284
7296
|
C(i, {
|
|
7285
7297
|
disabled: A(r) || !A(a),
|
|
7286
7298
|
size: A(n) ? "x-small" : "small",
|
|
@@ -7289,7 +7301,7 @@ const Fi = {
|
|
|
7289
7301
|
onClick: p[0] || (p[0] = (f) => l("onZoomIn")),
|
|
7290
7302
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
7291
7303
|
}, null, 8, ["disabled", "size"]),
|
|
7292
|
-
|
|
7304
|
+
Ni,
|
|
7293
7305
|
C(i, {
|
|
7294
7306
|
disabled: A(r) || !A(o),
|
|
7295
7307
|
size: A(n) ? "x-small" : "small",
|
|
@@ -7301,7 +7313,7 @@ const Fi = {
|
|
|
7301
7313
|
]);
|
|
7302
7314
|
};
|
|
7303
7315
|
}
|
|
7304
|
-
}),
|
|
7316
|
+
}), Qi = ["innerHTML"], Zi = /* @__PURE__ */ W({
|
|
7305
7317
|
__name: "VStructureChooserOverlay",
|
|
7306
7318
|
props: {
|
|
7307
7319
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -7312,17 +7324,17 @@ const Fi = {
|
|
|
7312
7324
|
},
|
|
7313
7325
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError"],
|
|
7314
7326
|
setup(s, { emit: t }) {
|
|
7315
|
-
const e = s, { cdnFileResolver: n, colorCallback: a, currentCamera: o, selectedId: r } =
|
|
7327
|
+
const e = s, { cdnFileResolver: n, colorCallback: a, currentCamera: o, selectedId: r } = Te(e), l = t, m = d(!0), p = d(), i = d(), f = bt({});
|
|
7316
7328
|
Ve(() => {
|
|
7317
7329
|
for (const c in f) {
|
|
7318
|
-
const { element: h, state: _ } = f[c], { r: y, g, b:
|
|
7330
|
+
const { element: h, state: _ } = f[c], { r: y, g, b: T, a: M, s: P } = a.value(c, _) || {
|
|
7319
7331
|
r: 0,
|
|
7320
7332
|
g: 0,
|
|
7321
7333
|
b: 0,
|
|
7322
7334
|
a: 0,
|
|
7323
7335
|
s: 0
|
|
7324
7336
|
};
|
|
7325
|
-
h.style.fill = `rgba(${y}, ${g}, ${
|
|
7337
|
+
h.style.fill = `rgba(${y}, ${g}, ${T}, ${M / 255})`, h.style.stroke = `rgb(${y}, ${g}, ${T})`, h.style.strokeWidth = P.toString(), h.style.cursor = "pointer";
|
|
7326
7338
|
}
|
|
7327
7339
|
}), U(r, () => {
|
|
7328
7340
|
for (const c in f)
|
|
@@ -7382,22 +7394,22 @@ const Fi = {
|
|
|
7382
7394
|
g.style.strokeWidth = "0", g.style.stroke = "rgba(255,255,255,0)", g.style.fill = "rgba(255,255,255,0)", g.querySelectorAll("path").forEach((M) => {
|
|
7383
7395
|
M.style.stroke = "inherit", M.style.fill = "inherit";
|
|
7384
7396
|
});
|
|
7385
|
-
const
|
|
7386
|
-
f[
|
|
7397
|
+
const T = g.getAttribute(y);
|
|
7398
|
+
f[T] = {
|
|
7387
7399
|
element: g,
|
|
7388
|
-
state: r.value ===
|
|
7389
|
-
}, e.activeStructureIds && !e.activeStructureIds.includes(
|
|
7390
|
-
f[
|
|
7400
|
+
state: r.value === T ? "selected" : "idle"
|
|
7401
|
+
}, e.activeStructureIds && !e.activeStructureIds.includes(T) && (g.style.display = "none"), g.addEventListener("mouseover", () => {
|
|
7402
|
+
f[T].state === "idle" && (f[T].state = "hover"), l("onHoverOver", T);
|
|
7391
7403
|
}), g.addEventListener("mouseout", () => {
|
|
7392
|
-
f[
|
|
7404
|
+
f[T].state === "hover" && (f[T].state = "idle"), l("onHoverOut", T);
|
|
7393
7405
|
}), g.addEventListener("click", () => {
|
|
7394
|
-
l("onClick",
|
|
7406
|
+
l("onClick", T);
|
|
7395
7407
|
});
|
|
7396
7408
|
});
|
|
7397
7409
|
}
|
|
7398
7410
|
});
|
|
7399
7411
|
}
|
|
7400
|
-
return (c, h) => (v(), V(
|
|
7412
|
+
return (c, h) => (v(), V(Ee, null, {
|
|
7401
7413
|
default: b(() => [
|
|
7402
7414
|
Ce((v(), D("div", {
|
|
7403
7415
|
ref_key: "svgContainer",
|
|
@@ -7406,15 +7418,15 @@ const Fi = {
|
|
|
7406
7418
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
7407
7419
|
style: { "z-index": "5" },
|
|
7408
7420
|
innerHTML: p.value
|
|
7409
|
-
}, null, 8,
|
|
7421
|
+
}, null, 8, Qi)), [
|
|
7410
7422
|
[ke, m.value]
|
|
7411
7423
|
])
|
|
7412
7424
|
]),
|
|
7413
7425
|
_: 1
|
|
7414
7426
|
}));
|
|
7415
7427
|
}
|
|
7416
|
-
}),
|
|
7417
|
-
function
|
|
7428
|
+
}), qi = /* @__PURE__ */ ee(Zi, [["__scopeId", "data-v-6814fbb2"]]);
|
|
7429
|
+
function Ji(s) {
|
|
7418
7430
|
if (!s)
|
|
7419
7431
|
return !1;
|
|
7420
7432
|
const t = [
|
|
@@ -7432,16 +7444,16 @@ function Qi(s) {
|
|
|
7432
7444
|
return !1;
|
|
7433
7445
|
return !0;
|
|
7434
7446
|
}
|
|
7435
|
-
function
|
|
7447
|
+
function Xi(s) {
|
|
7436
7448
|
return !("filename" in s) && "defaultFilename" in s;
|
|
7437
7449
|
}
|
|
7438
7450
|
function Lt(s) {
|
|
7439
7451
|
return "filename" in s;
|
|
7440
7452
|
}
|
|
7441
|
-
function
|
|
7453
|
+
function Ki(s) {
|
|
7442
7454
|
return s ? "version" in s : !1;
|
|
7443
7455
|
}
|
|
7444
|
-
function
|
|
7456
|
+
function eu(s) {
|
|
7445
7457
|
if (!s)
|
|
7446
7458
|
return !1;
|
|
7447
7459
|
const t = [
|
|
@@ -7457,7 +7469,7 @@ function Ji(s) {
|
|
|
7457
7469
|
return !1;
|
|
7458
7470
|
return !0;
|
|
7459
7471
|
}
|
|
7460
|
-
function
|
|
7472
|
+
function tu(s) {
|
|
7461
7473
|
if (!s)
|
|
7462
7474
|
return !1;
|
|
7463
7475
|
const t = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -7469,11 +7481,11 @@ function Xi(s) {
|
|
|
7469
7481
|
function Ke(s) {
|
|
7470
7482
|
return s.startsWith("/") ? s : `/${s}`;
|
|
7471
7483
|
}
|
|
7472
|
-
function
|
|
7484
|
+
function au(s) {
|
|
7473
7485
|
var t, e, n, a;
|
|
7474
|
-
if (
|
|
7486
|
+
if (Ji(s))
|
|
7475
7487
|
return s;
|
|
7476
|
-
if (
|
|
7488
|
+
if (tu(s)) {
|
|
7477
7489
|
if (!s.buildings)
|
|
7478
7490
|
throw new Error(
|
|
7479
7491
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -7527,7 +7539,7 @@ function Ki(s) {
|
|
|
7527
7539
|
};
|
|
7528
7540
|
})
|
|
7529
7541
|
};
|
|
7530
|
-
} else if (
|
|
7542
|
+
} else if (eu(s)) {
|
|
7531
7543
|
if (!s.days && !s.timeSamples)
|
|
7532
7544
|
throw new Error(
|
|
7533
7545
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -7574,7 +7586,7 @@ function Ki(s) {
|
|
|
7574
7586
|
]
|
|
7575
7587
|
};
|
|
7576
7588
|
} else {
|
|
7577
|
-
if (
|
|
7589
|
+
if (Bn(s))
|
|
7578
7590
|
return {
|
|
7579
7591
|
version: "5.0",
|
|
7580
7592
|
latitude: s.latitude,
|
|
@@ -7598,7 +7610,7 @@ function Ki(s) {
|
|
|
7598
7610
|
loopable: s.loopable,
|
|
7599
7611
|
cameras: s.cameras.map((o) => {
|
|
7600
7612
|
var r;
|
|
7601
|
-
if (
|
|
7613
|
+
if (Tt(o)) {
|
|
7602
7614
|
if (o.sunsimDayOfYear) {
|
|
7603
7615
|
if (o.sunsimDayOfYear.length === 0)
|
|
7604
7616
|
throw new Error(
|
|
@@ -7634,7 +7646,7 @@ function Ki(s) {
|
|
|
7634
7646
|
return o;
|
|
7635
7647
|
})
|
|
7636
7648
|
};
|
|
7637
|
-
if (
|
|
7649
|
+
if (Ki(s)) {
|
|
7638
7650
|
if (!s.sceneData)
|
|
7639
7651
|
throw new Error(
|
|
7640
7652
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -7706,10 +7718,10 @@ function Gt({ x: s, y: t, z: e }) {
|
|
|
7706
7718
|
w: 0
|
|
7707
7719
|
};
|
|
7708
7720
|
}
|
|
7709
|
-
const
|
|
7721
|
+
const nu = ["innerHTML"], ou = { style: { "z-index": "7" } }, lu = {
|
|
7710
7722
|
key: 4,
|
|
7711
7723
|
class: "render-version"
|
|
7712
|
-
},
|
|
7724
|
+
}, su = /* @__PURE__ */ W({
|
|
7713
7725
|
__name: "VStructureChooser",
|
|
7714
7726
|
props: {
|
|
7715
7727
|
structureChooserData: {},
|
|
@@ -7740,12 +7752,12 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7740
7752
|
defaultDay: f,
|
|
7741
7753
|
defaultTime: w,
|
|
7742
7754
|
mobileBreakpoint: k
|
|
7743
|
-
} =
|
|
7755
|
+
} = Te(n), c = e;
|
|
7744
7756
|
at(
|
|
7745
7757
|
$e,
|
|
7746
7758
|
l.value ? new He(l.value) : new He()
|
|
7747
7759
|
);
|
|
7748
|
-
const h = d(), _ = d(), y = d(), g = d(null),
|
|
7760
|
+
const h = d(), _ = d(), y = d(), g = d(null), T = d(4), M = d(), P = d(!1), I = d(!1), L = d(), X = $(() => L.value.isHoverEnabled), B = d({ x: 0, y: 0, width: 0, height: 0 }), te = d(), x = d(), S = d(), H = d(!1), G = d(), de = d({
|
|
7749
7761
|
current: 100,
|
|
7750
7762
|
min: 100,
|
|
7751
7763
|
max: 1e3
|
|
@@ -7756,7 +7768,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7756
7768
|
currentDay: _.value,
|
|
7757
7769
|
currentTime: y.value,
|
|
7758
7770
|
currentTransition: g.value,
|
|
7759
|
-
currentScene:
|
|
7771
|
+
currentScene: T.value
|
|
7760
7772
|
}),
|
|
7761
7773
|
setState: ({
|
|
7762
7774
|
currentCamera: Y,
|
|
@@ -7765,7 +7777,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7765
7777
|
currentTransition: he,
|
|
7766
7778
|
currentScene: ye
|
|
7767
7779
|
}) => {
|
|
7768
|
-
h.value = Y, _.value = Q, y.value = fe, g.value = he,
|
|
7780
|
+
h.value = Y, _.value = Q, y.value = fe, g.value = he, T.value = ye;
|
|
7769
7781
|
}
|
|
7770
7782
|
}), Ie(() => {
|
|
7771
7783
|
P.value = !0, j.value = !1;
|
|
@@ -7773,7 +7785,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7773
7785
|
a,
|
|
7774
7786
|
(Y) => {
|
|
7775
7787
|
try {
|
|
7776
|
-
j.value = !1, S.value =
|
|
7788
|
+
j.value = !1, S.value = au(Y);
|
|
7777
7789
|
} catch (Q) {
|
|
7778
7790
|
j.value = !0, c("onError", Q);
|
|
7779
7791
|
}
|
|
@@ -7803,8 +7815,8 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7803
7815
|
}
|
|
7804
7816
|
);
|
|
7805
7817
|
const q = $(
|
|
7806
|
-
() => S.value ? S.value.cameras.filter(
|
|
7807
|
-
),
|
|
7818
|
+
() => S.value ? S.value.cameras.filter(Xi) : []
|
|
7819
|
+
), oe = $(
|
|
7808
7820
|
() => S.value ? S.value.cameras.filter(Lt) : []
|
|
7809
7821
|
);
|
|
7810
7822
|
U(
|
|
@@ -7812,9 +7824,9 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7812
7824
|
async () => {
|
|
7813
7825
|
o.value && q.value.length > 0 && (i.value ? h.value = q.value.find(
|
|
7814
7826
|
(Y) => Y.cameraName === i.value
|
|
7815
|
-
) || q.value[0] : h.value = q.value[0],
|
|
7827
|
+
) || q.value[0] : h.value = q.value[0], T.value = S.value.cameras.findIndex(
|
|
7816
7828
|
(Y) => Y === h.value
|
|
7817
|
-
),
|
|
7829
|
+
), T.value = Math.max(0, T.value));
|
|
7818
7830
|
},
|
|
7819
7831
|
{ immediate: !0 }
|
|
7820
7832
|
), U(
|
|
@@ -7842,15 +7854,15 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7842
7854
|
);
|
|
7843
7855
|
}
|
|
7844
7856
|
function se(Y) {
|
|
7845
|
-
|
|
7857
|
+
T.value = Y, Lt(S.value.cameras[T.value]) ? g.value = S.value.cameras[T.value] : (Ae(() => {
|
|
7846
7858
|
be(
|
|
7847
|
-
S.value.cameras[
|
|
7859
|
+
S.value.cameras[T.value]
|
|
7848
7860
|
);
|
|
7849
7861
|
}), g.value = null);
|
|
7850
7862
|
}
|
|
7851
7863
|
function be(Y) {
|
|
7852
7864
|
const Q = _.value;
|
|
7853
|
-
h.value = Y,
|
|
7865
|
+
h.value = Y, T.value = S.value.cameras.findIndex(
|
|
7854
7866
|
(fe) => fe === h.value
|
|
7855
7867
|
), Ae(() => {
|
|
7856
7868
|
h.value.sunsimDayOfYear && h.value.sunsimDayOfYear.length > 0 && ie(
|
|
@@ -7926,7 +7938,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7926
7938
|
);
|
|
7927
7939
|
}
|
|
7928
7940
|
async function K(Y) {
|
|
7929
|
-
const Q =
|
|
7941
|
+
const Q = T.value;
|
|
7930
7942
|
if (S.value.loopable) {
|
|
7931
7943
|
const fe = S.value.stillCameraIndices.length, he = N(Q), ye = N(Y);
|
|
7932
7944
|
let Ye = 0, rt = 0, Ue = he;
|
|
@@ -7943,11 +7955,11 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7943
7955
|
I.value = !0;
|
|
7944
7956
|
let he, ye = Y;
|
|
7945
7957
|
he = setInterval(() => {
|
|
7946
|
-
ye < Q ? (ye++,
|
|
7958
|
+
ye < Q ? (ye++, T.value = Math.abs(
|
|
7947
7959
|
ye % S.value.cameras.length
|
|
7948
|
-
), se(
|
|
7960
|
+
), se(T.value)) : ye > Q ? (ye--, T.value = Math.abs(
|
|
7949
7961
|
ye % S.value.cameras.length
|
|
7950
|
-
), se(
|
|
7962
|
+
), se(T.value)) : (clearInterval(he), I.value = !1, fe());
|
|
7951
7963
|
}, 12);
|
|
7952
7964
|
});
|
|
7953
7965
|
}
|
|
@@ -7956,7 +7968,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7956
7968
|
}
|
|
7957
7969
|
const Re = (Y) => Y * (180 / Math.PI);
|
|
7958
7970
|
return (Y, Q) => {
|
|
7959
|
-
const fe =
|
|
7971
|
+
const fe = E("v-skeleton-loader");
|
|
7960
7972
|
return v(), D(me, null, [
|
|
7961
7973
|
C(fe, {
|
|
7962
7974
|
type: "image",
|
|
@@ -7964,7 +7976,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7964
7976
|
loading: !P.value || !S.value
|
|
7965
7977
|
}, {
|
|
7966
7978
|
default: b(() => [
|
|
7967
|
-
C(
|
|
7979
|
+
C(Ee, { class: "w-100 h-100" }, {
|
|
7968
7980
|
default: b(() => [
|
|
7969
7981
|
u("div", {
|
|
7970
7982
|
ref_key: "container",
|
|
@@ -7991,7 +8003,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
7991
8003
|
}),
|
|
7992
8004
|
longitude: Re(h.value.cameraRotation.y) + 270
|
|
7993
8005
|
}, null, 8, ["style", "longitude"])) : R("", !0),
|
|
7994
|
-
C(
|
|
8006
|
+
C(Gi, {
|
|
7995
8007
|
"is-mobile-sized": H.value,
|
|
7996
8008
|
"can-zoom-out": de.value.min < de.value.current,
|
|
7997
8009
|
"can-zoom-in": de.value.max > de.value.current,
|
|
@@ -8008,7 +8020,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8008
8020
|
}, "still-cameras-wrapper"]),
|
|
8009
8021
|
style: { "z-index": "7" }
|
|
8010
8022
|
}, [
|
|
8011
|
-
C(
|
|
8023
|
+
C(Hi, {
|
|
8012
8024
|
"is-mobile-sized": H.value,
|
|
8013
8025
|
"still-cameras": q.value,
|
|
8014
8026
|
"current-camera": h.value,
|
|
@@ -8024,7 +8036,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8024
8036
|
onUpdate: Be
|
|
8025
8037
|
}, {
|
|
8026
8038
|
default: b(() => [
|
|
8027
|
-
(v(!0), D(me, null, _e(q.value, (he, ye) => (v(), V(
|
|
8039
|
+
(v(!0), D(me, null, _e(q.value, (he, ye) => (v(), V(Ai, {
|
|
8028
8040
|
key: `camera${ye}`,
|
|
8029
8041
|
"camera-data": he,
|
|
8030
8042
|
"cdn-file-resolver": A(o),
|
|
@@ -8032,7 +8044,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8032
8044
|
"current-day": _.value,
|
|
8033
8045
|
"current-time": y.value
|
|
8034
8046
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
8035
|
-
(v(!0), D(me, null, _e(
|
|
8047
|
+
(v(!0), D(me, null, _e(oe.value, (he, ye) => (v(), V(Mi, {
|
|
8036
8048
|
key: `transition${ye}`,
|
|
8037
8049
|
"transition-data": he,
|
|
8038
8050
|
"cdn-file-resolver": A(o),
|
|
@@ -8043,8 +8055,8 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8043
8055
|
class: "w-100 h-100 position-absolute top-left",
|
|
8044
8056
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
8045
8057
|
innerHTML: A(m)
|
|
8046
|
-
}, null, 8,
|
|
8047
|
-
h.value.overlayFilename && !j.value ? Ce((v(), V(
|
|
8058
|
+
}, null, 8, nu)) : R("", !0),
|
|
8059
|
+
h.value.overlayFilename && !j.value ? Ce((v(), V(qi, {
|
|
8048
8060
|
key: J.value,
|
|
8049
8061
|
"cdn-file-resolver": A(o),
|
|
8050
8062
|
"color-callback": A(r),
|
|
@@ -8070,7 +8082,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8070
8082
|
}),
|
|
8071
8083
|
style: { "z-index": "7" }
|
|
8072
8084
|
}, [
|
|
8073
|
-
C(
|
|
8085
|
+
C(Ei, {
|
|
8074
8086
|
class: "pr-2",
|
|
8075
8087
|
"is-mobile-sized": H.value,
|
|
8076
8088
|
"current-camera": h.value,
|
|
@@ -8078,7 +8090,7 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8078
8090
|
disabled: I.value,
|
|
8079
8091
|
onOnDayChange: ie
|
|
8080
8092
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
8081
|
-
C(
|
|
8093
|
+
C(Pi, {
|
|
8082
8094
|
"is-mobile-sized": H.value,
|
|
8083
8095
|
"current-day": _.value,
|
|
8084
8096
|
"current-time": y.value,
|
|
@@ -8092,13 +8104,13 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8092
8104
|
pos: B.value
|
|
8093
8105
|
}, {
|
|
8094
8106
|
default: b(() => [
|
|
8095
|
-
u("div",
|
|
8107
|
+
u("div", ou, [
|
|
8096
8108
|
ne(Y.$slots, "popup", dt(vt({ hoverId: M.value, hoverable: X.value })), void 0, !0)
|
|
8097
8109
|
])
|
|
8098
8110
|
]),
|
|
8099
8111
|
_: 3
|
|
8100
8112
|
}, 8, ["is-hoverable", "pos"])) : R("", !0),
|
|
8101
|
-
Y.version && Y.showVersion ? (v(), D("div",
|
|
8113
|
+
Y.version && Y.showVersion ? (v(), D("div", lu, " version: " + Z(Y.version), 1)) : R("", !0)
|
|
8102
8114
|
], 34)
|
|
8103
8115
|
]),
|
|
8104
8116
|
_: 3
|
|
@@ -8113,27 +8125,27 @@ const eu = ["innerHTML"], tu = { style: { "z-index": "7" } }, au = {
|
|
|
8113
8125
|
], 64);
|
|
8114
8126
|
};
|
|
8115
8127
|
}
|
|
8116
|
-
}),
|
|
8128
|
+
}), ru = /* @__PURE__ */ ee(su, [["__scopeId", "data-v-3c195477"]]), fu = {
|
|
8117
8129
|
install: function(t) {
|
|
8118
|
-
t.component("VApartmentChooser",
|
|
8130
|
+
t.component("VApartmentChooser", An), t.component("VBuildingChooser", Bo), t.component("VVirtualTour", ai), t.component("VManualSlideShow", Ci), t.component("VStructureChooser", ru);
|
|
8119
8131
|
}
|
|
8120
8132
|
};
|
|
8121
8133
|
export {
|
|
8122
8134
|
Me as ResourceLoader,
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8135
|
+
An as VApartmentChooser,
|
|
8136
|
+
vu as VApartmentChooserV5,
|
|
8137
|
+
Bo as VBuildingChooser,
|
|
8138
|
+
mu as VBuildingChooserV5,
|
|
8127
8139
|
nt as VFloatingCard,
|
|
8128
8140
|
We as VHoverProbe,
|
|
8129
|
-
|
|
8130
|
-
|
|
8141
|
+
Ci as VManualSlideShow,
|
|
8142
|
+
pu as VMiniMap,
|
|
8131
8143
|
lt as VNorthDirection,
|
|
8132
|
-
|
|
8133
|
-
|
|
8144
|
+
ru as VStructureChooser,
|
|
8145
|
+
ai as VVirtualTour,
|
|
8134
8146
|
ot as VZoomBox,
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8147
|
+
to as convertApartmentChooserDataLegacyToV5,
|
|
8148
|
+
Ko as convertBuildingChooserDataLegacyToV5,
|
|
8149
|
+
au as convertStructureChooserDataLegacyToV5,
|
|
8150
|
+
fu as default
|
|
8139
8151
|
};
|