@qispace/vue3-player 0.1.80 → 0.1.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var se = (s, n, e) => (
|
|
4
|
-
import { defineComponent as P, ref as f, computed as O, openBlock as m, createElementBlock as x, watch as H, onMounted as ye, onBeforeUnmount as
|
|
5
|
-
import
|
|
6
|
-
import * as
|
|
1
|
+
var zt = Object.defineProperty;
|
|
2
|
+
var Wt = (s, n, e) => n in s ? zt(s, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[n] = e;
|
|
3
|
+
var se = (s, n, e) => (Wt(s, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
import { defineComponent as P, ref as f, computed as O, openBlock as m, createElementBlock as x, watch as H, onMounted as ye, onBeforeUnmount as He, withDirectives as pe, createElementVNode as d, normalizeStyle as me, vShow as fe, createVNode as w, Fragment as ue, renderList as he, createCommentVNode as U, inject as Ne, resolveComponent as E, withCtx as C, toDisplayString as W, unref as B, createTextVNode as X, normalizeClass as ge, createBlock as V, renderSlot as te, provide as tt, reactive as rt, watchEffect as Ce, resolveDynamicComponent as xt, normalizeProps as at, guardReactiveProps as nt, mergeProps as Ie, nextTick as we, Transition as Me, createSlots as Nt, pushScopeId as it, popScopeId as ut, vModelText as Gt, createStaticVNode as Ft, onBeforeUpdate as Qt, toRefs as Te } from "vue";
|
|
5
|
+
import pt from "axios";
|
|
6
|
+
import * as qt from "@qispace/player-core";
|
|
7
7
|
import * as Ue from "three";
|
|
8
8
|
class be {
|
|
9
9
|
static async loadText(n) {
|
|
@@ -19,10 +19,10 @@ class be {
|
|
|
19
19
|
return new be().loadImageData(n);
|
|
20
20
|
}
|
|
21
21
|
async loadText(n) {
|
|
22
|
-
return (await
|
|
22
|
+
return (await pt.get(n)).data;
|
|
23
23
|
}
|
|
24
24
|
async loadJson(n) {
|
|
25
|
-
return (await
|
|
25
|
+
return (await pt.get(n)).data;
|
|
26
26
|
}
|
|
27
27
|
async loadImage(n) {
|
|
28
28
|
return new Promise((e, a) => {
|
|
@@ -42,7 +42,7 @@ class be {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
const
|
|
45
|
+
const Zt = /* @__PURE__ */ P({
|
|
46
46
|
__name: "VHoverProbe",
|
|
47
47
|
setup(s, { expose: n }) {
|
|
48
48
|
const e = f(), a = O(() => window.getComputedStyle(e.value).display === "none");
|
|
@@ -59,11 +59,11 @@ const qt = /* @__PURE__ */ P({
|
|
|
59
59
|
for (const [a, t] of n)
|
|
60
60
|
e[a] = t;
|
|
61
61
|
return e;
|
|
62
|
-
}, Re = /* @__PURE__ */ K(
|
|
63
|
-
function
|
|
62
|
+
}, Re = /* @__PURE__ */ K(Zt, [["__scopeId", "data-v-eb9b348d"]]);
|
|
63
|
+
function ie(s, n) {
|
|
64
64
|
return typeof s == "string" ? `${s}${n}` : s(n);
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const Jt = /* @__PURE__ */ P({
|
|
67
67
|
__name: "VApartmentChooserRaster",
|
|
68
68
|
props: {
|
|
69
69
|
cdnFileResolver: {},
|
|
@@ -76,14 +76,14 @@ const Zt = /* @__PURE__ */ P({
|
|
|
76
76
|
},
|
|
77
77
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
78
78
|
setup(s, { emit: n }) {
|
|
79
|
-
const e = s, a = n, t = f({ x: 0, y: 0, width: 0, height: 0 }), o = f(0), i = f(0), l = f(), v = f(), u = f(), r = f(), h = f(-1), S = f(!1), g = f(), c = f(), p = f({}), _ = f("auto"), b = f(new be()), y = f({}), R = f(), T = f(), Y = f(), I = f(), k = f(), j = O(() => Y.value.isHoverEnabled), M = O(() =>
|
|
79
|
+
const e = s, a = n, t = f({ x: 0, y: 0, width: 0, height: 0 }), o = f(0), i = f(0), l = f(), v = f(), u = f(), r = f(), h = f(-1), S = f(!1), g = f(), c = f(), p = f({}), _ = f("auto"), b = f(new be()), y = f({}), R = f(), T = f(), Y = f(), I = f(), k = f(), j = O(() => Y.value.isHoverEnabled), M = O(() => ie(
|
|
80
80
|
e.cdnFileResolver,
|
|
81
81
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
82
|
-
)), G = O(() => M.value in p.value ? p.value[M.value] : null), A = O(() => h.value < 0 ? !1 : e.sceneData.find((
|
|
82
|
+
)), G = O(() => M.value in p.value ? p.value[M.value] : null), A = O(() => h.value < 0 ? !1 : e.sceneData.find((Z) => Z.index === h.value) || !1), L = O(() => ({
|
|
83
83
|
width: o.value + "px",
|
|
84
84
|
height: i.value + "px",
|
|
85
85
|
cursor: _.value
|
|
86
|
-
})),
|
|
86
|
+
})), q = O(() => `hover-${S.value ? "over" : "out"}-${A.value ? typeof A.value == "object" && "unitId" in A.value ? A.value.unitId : A.value : ""}`);
|
|
87
87
|
H(
|
|
88
88
|
M,
|
|
89
89
|
() => {
|
|
@@ -114,7 +114,7 @@ const Zt = /* @__PURE__ */ P({
|
|
|
114
114
|
}
|
|
115
115
|
), H(A, () => {
|
|
116
116
|
Q(), A.value ? _.value = "pointer" : _.value = "auto";
|
|
117
|
-
}), H(
|
|
117
|
+
}), H(q, () => {
|
|
118
118
|
S.value ? a("hoverOver", {
|
|
119
119
|
hoverUnit: A.value ? A.value.unitId : !1,
|
|
120
120
|
closeHandler: () => le()
|
|
@@ -126,23 +126,23 @@ const Zt = /* @__PURE__ */ P({
|
|
|
126
126
|
a("pos", t.value);
|
|
127
127
|
}), ye(() => {
|
|
128
128
|
T.value = () => {
|
|
129
|
-
clearTimeout(R.value),
|
|
130
|
-
|
|
129
|
+
clearTimeout(R.value), xe(), R.value = setTimeout(() => {
|
|
130
|
+
xe();
|
|
131
131
|
}, 50);
|
|
132
|
-
}, window.addEventListener("resize", T.value),
|
|
133
|
-
}),
|
|
132
|
+
}, window.addEventListener("resize", T.value), xe();
|
|
133
|
+
}), He(() => {
|
|
134
134
|
window.removeEventListener("resize", T.value);
|
|
135
135
|
for (const N in p.value)
|
|
136
136
|
URL.revokeObjectURL(p.value[N]);
|
|
137
137
|
});
|
|
138
138
|
function z() {
|
|
139
139
|
l.value = I.value.getContext("2d", { willReadFrequently: !0 }), v.value = new Image(), v.value.onload = () => {
|
|
140
|
-
Oe(), I.value.addEventListener("mousemove",
|
|
140
|
+
Oe(), I.value.addEventListener("mousemove", Fe(oe, 50));
|
|
141
141
|
}, v.value.src = G.value;
|
|
142
142
|
}
|
|
143
143
|
function oe(N) {
|
|
144
|
-
const
|
|
145
|
-
S.value =
|
|
144
|
+
const Z = ee(N.offsetX, N.offsetY);
|
|
145
|
+
S.value = Z >= 0, h.value = Z, t.value = {
|
|
146
146
|
x: N.offsetX,
|
|
147
147
|
y: N.offsetY,
|
|
148
148
|
width: o.value,
|
|
@@ -150,8 +150,8 @@ const Zt = /* @__PURE__ */ P({
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
function F(N) {
|
|
153
|
-
const
|
|
154
|
-
|
|
153
|
+
const Z = ee(N.offsetX, N.offsetY);
|
|
154
|
+
Z < 0 || j && De(Z);
|
|
155
155
|
}
|
|
156
156
|
function $() {
|
|
157
157
|
if (v.value && v.value.width) {
|
|
@@ -174,41 +174,41 @@ const Zt = /* @__PURE__ */ P({
|
|
|
174
174
|
);
|
|
175
175
|
const N = r.value.data;
|
|
176
176
|
y.value = {};
|
|
177
|
-
for (let
|
|
178
|
-
y.value[N[
|
|
179
|
-
for (let
|
|
180
|
-
N[
|
|
177
|
+
for (let Z = 0; Z < N.length; Z += 4)
|
|
178
|
+
y.value[N[Z]] = [];
|
|
179
|
+
for (let Z = 3; Z < N.length; Z += 4)
|
|
180
|
+
N[Z] === 255 && N[Z - 3] in y.value && y.value[N[Z - 3]].push(Z - 3);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
function ee(N,
|
|
184
|
-
g.value = N, c.value =
|
|
185
|
-
const ve = I.value.offsetWidth / I.value.width, Je = I.value.offsetHeight / I.value.height, $e = (N / ve).toFixed(), Be = (
|
|
186
|
-
return r.value.data[
|
|
183
|
+
function ee(N, Z) {
|
|
184
|
+
g.value = N, c.value = Z;
|
|
185
|
+
const ve = I.value.offsetWidth / I.value.width, Je = I.value.offsetHeight / I.value.height, $e = (N / ve).toFixed(), Be = (Z / Je).toFixed(), Le = Number(Be) * (I.value.width * 4) + Number($e) * 4, dt = r.value.data[Le];
|
|
186
|
+
return r.value.data[Le + 3] > 0 ? dt : -1;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
|
|
190
|
-
if (
|
|
191
|
-
const ve =
|
|
188
|
+
function ae() {
|
|
189
|
+
_e().forEach((Z) => {
|
|
190
|
+
if (Z.index >= 0) {
|
|
191
|
+
const ve = de(Z.index);
|
|
192
192
|
if (ve) {
|
|
193
|
-
const Je =
|
|
193
|
+
const Je = ce(Z.index);
|
|
194
194
|
let $e = "idle";
|
|
195
|
-
!A.value && e.selectedUnitId && Je === e.selectedUnitId ? $e = "selected" : A.value && h.value ===
|
|
196
|
-
const Be = e.colorCallback(
|
|
195
|
+
!A.value && e.selectedUnitId && Je === e.selectedUnitId ? $e = "selected" : A.value && h.value === Z.index && ($e = "hover");
|
|
196
|
+
const Be = e.colorCallback(Z.unitId, $e);
|
|
197
197
|
if (Be)
|
|
198
|
-
for (let
|
|
199
|
-
u.value.data[ve[
|
|
198
|
+
for (let Le = 0; Le < ve.length; Le++)
|
|
199
|
+
u.value.data[ve[Le]] = Be.r, u.value.data[ve[Le] + 1] = Be.g, u.value.data[ve[Le] + 2] = Be.b, u.value.data[ve[Le] + 3] = Be.a;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function de(N) {
|
|
205
205
|
return r.value ? y.value[N] : !1;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
const
|
|
209
|
-
return
|
|
207
|
+
function ce(N) {
|
|
208
|
+
const Z = e.sceneData.find((ve) => ve.index === N);
|
|
209
|
+
return Z && Z.unitId;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function _e() {
|
|
212
212
|
if (r.value) {
|
|
213
213
|
const N = Object.keys(y.value).map(
|
|
214
214
|
(ve) => parseInt(ve)
|
|
@@ -219,21 +219,21 @@ const Zt = /* @__PURE__ */ P({
|
|
|
219
219
|
} else
|
|
220
220
|
return [];
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
const
|
|
224
|
-
Se(
|
|
222
|
+
function De(N) {
|
|
223
|
+
const Z = ce(N);
|
|
224
|
+
Se(Z);
|
|
225
225
|
}
|
|
226
226
|
function Se(N) {
|
|
227
227
|
a("selectUnit", N), N && e.canGoToUnitCallback(N) && a("goToUnit", N);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Ae(N = 0) {
|
|
230
230
|
if (!u.value)
|
|
231
231
|
return;
|
|
232
|
-
const
|
|
233
|
-
for (let ve = 3; ve <
|
|
234
|
-
|
|
232
|
+
const Z = u.value.data;
|
|
233
|
+
for (let ve = 3; ve < Z.length; ve += 4)
|
|
234
|
+
Z[ve] = N;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function xe() {
|
|
237
237
|
if (!k.value)
|
|
238
238
|
return !1;
|
|
239
239
|
o.value = k.value.offsetWidth, i.value = k.value.offsetHeight;
|
|
@@ -242,18 +242,18 @@ const Zt = /* @__PURE__ */ P({
|
|
|
242
242
|
$(), Q();
|
|
243
243
|
}
|
|
244
244
|
function Q() {
|
|
245
|
-
|
|
245
|
+
Ae(), ae(), l.value && u.value && l.value.putImageData(u.value, 0, 0);
|
|
246
246
|
}
|
|
247
247
|
function le() {
|
|
248
248
|
S.value = !1;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
function
|
|
252
|
-
return
|
|
253
|
-
|
|
250
|
+
const re = f(!1);
|
|
251
|
+
function Fe(N, Z) {
|
|
252
|
+
return re.value = !0, function(...ve) {
|
|
253
|
+
re.value && (re.value = !1, N.apply(this, ve), setTimeout(() => re.value = !0, Z));
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
return (N,
|
|
256
|
+
return (N, Z) => (m(), x("div", {
|
|
257
257
|
ref_key: "container",
|
|
258
258
|
ref: k,
|
|
259
259
|
id: "canvas"
|
|
@@ -273,7 +273,7 @@ const Zt = /* @__PURE__ */ P({
|
|
|
273
273
|
}, null, 512)
|
|
274
274
|
], 512));
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), Xt = /* @__PURE__ */ K(Jt, [["__scopeId", "data-v-27d7323f"]]), Kt = ["viewBox"], ea = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"], ta = /* @__PURE__ */ P({
|
|
277
277
|
__name: "VApartmentChooserSvg",
|
|
278
278
|
props: {
|
|
279
279
|
cdnFileResolver: {},
|
|
@@ -321,7 +321,7 @@ const Zt = /* @__PURE__ */ P({
|
|
|
321
321
|
}
|
|
322
322
|
}), ye(() => {
|
|
323
323
|
for (let T = 1; T <= 4; T++) {
|
|
324
|
-
const Y =
|
|
324
|
+
const Y = ie(e.cdnFileResolver, `/scenedata${T}.svg`), I = {
|
|
325
325
|
markup: "",
|
|
326
326
|
viewBox: "",
|
|
327
327
|
svgObjects: []
|
|
@@ -409,15 +409,15 @@ const Zt = /* @__PURE__ */ P({
|
|
|
409
409
|
key: 0,
|
|
410
410
|
viewBox: l.value.viewBox
|
|
411
411
|
}, [
|
|
412
|
-
(m(!0), x(
|
|
412
|
+
(m(!0), x(ue, null, he(l.value.svgObjects, ({ index: I, svg: k }) => (m(), x("g", {
|
|
413
413
|
key: I,
|
|
414
414
|
innerHTML: k,
|
|
415
415
|
style: me(b(I)),
|
|
416
416
|
onMouseenter: (j) => c(I),
|
|
417
417
|
onMouseleave: (j) => p(),
|
|
418
418
|
onClick: (j) => _(I)
|
|
419
|
-
}, null, 44,
|
|
420
|
-
], 8,
|
|
419
|
+
}, null, 44, ea))), 128))
|
|
420
|
+
], 8, Kt)) : U("", !0)
|
|
421
421
|
], 4), [
|
|
422
422
|
[fe, !T.viewModel.isRotating]
|
|
423
423
|
]),
|
|
@@ -427,10 +427,10 @@ const Zt = /* @__PURE__ */ P({
|
|
|
427
427
|
}, null, 512)
|
|
428
428
|
], 512));
|
|
429
429
|
}
|
|
430
|
-
}),
|
|
430
|
+
}), aa = /* @__PURE__ */ K(ta, [["__scopeId", "data-v-e6c054c7"]]), Ve = Symbol(), na = {
|
|
431
431
|
key: 0,
|
|
432
432
|
class: "text-success d-none d-md-flex"
|
|
433
|
-
},
|
|
433
|
+
}, oa = { class: "text-success" }, la = /* @__PURE__ */ P({
|
|
434
434
|
__name: "VApartmentChooserNavigation",
|
|
435
435
|
props: {
|
|
436
436
|
canGoToUnitCallback: { type: Function, default: () => !0 },
|
|
@@ -442,10 +442,10 @@ const Zt = /* @__PURE__ */ P({
|
|
|
442
442
|
},
|
|
443
443
|
emits: ["prevUnit", "nextUnit", "goToUnit"],
|
|
444
444
|
setup(s, { emit: n }) {
|
|
445
|
-
const e = s, a = O(() => e.selectedUnitId), t = O(() => e.nextUnitId), o = O(() => e.prevUnitId), i = n, l = Ne(
|
|
445
|
+
const e = s, a = O(() => e.selectedUnitId), t = O(() => e.nextUnitId), o = O(() => e.prevUnitId), i = n, l = Ne(Ve);
|
|
446
446
|
ye(() => {
|
|
447
447
|
window.addEventListener("keydown", v);
|
|
448
|
-
}),
|
|
448
|
+
}), He(() => {
|
|
449
449
|
window.removeEventListener("keydown", v);
|
|
450
450
|
});
|
|
451
451
|
function v(u) {
|
|
@@ -477,8 +477,8 @@ const Zt = /* @__PURE__ */ P({
|
|
|
477
477
|
onClick: r[2] || (r[2] = (S) => i("goToUnit", a.value))
|
|
478
478
|
}, {
|
|
479
479
|
default: C(() => [
|
|
480
|
-
a.value && u.canGoToUnitCallback(a.value) ? (m(), x("span",
|
|
481
|
-
d("span",
|
|
480
|
+
a.value && u.canGoToUnitCallback(a.value) ? (m(), x("span", na, W(B(l).getLabel("seeApartment")) + " ", 1)) : U("", !0),
|
|
481
|
+
d("span", oa, W(a.value ? e.unitRenderer(a.value) : "-"), 1)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["disabled"]),
|
|
@@ -500,8 +500,8 @@ const Zt = /* @__PURE__ */ P({
|
|
|
500
500
|
]);
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
|
-
}),
|
|
504
|
-
class
|
|
503
|
+
}), sa = /* @__PURE__ */ K(la, [["__scopeId", "data-v-44ed308e"]]);
|
|
504
|
+
class ft {
|
|
505
505
|
constructor(n) {
|
|
506
506
|
se(this, "_numParts");
|
|
507
507
|
se(this, "_loadedCount");
|
|
@@ -539,7 +539,7 @@ class pt {
|
|
|
539
539
|
return Math.round(this._loadedCount * 100 / this._numParts);
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
class
|
|
542
|
+
class _t {
|
|
543
543
|
constructor(n, e, a, t) {
|
|
544
544
|
se(this, "_rotator");
|
|
545
545
|
se(this, "_direction");
|
|
@@ -557,7 +557,7 @@ class yt {
|
|
|
557
557
|
const n = this._rotator.clampFrameIndex(
|
|
558
558
|
this._frameIndex + this._direction
|
|
559
559
|
), e = this._rotator.isCardinalFrame(n) ? this._sceneCount - 1 : this._sceneCount;
|
|
560
|
-
return new
|
|
560
|
+
return new _t(
|
|
561
561
|
this._rotator,
|
|
562
562
|
this._direction,
|
|
563
563
|
n,
|
|
@@ -565,7 +565,7 @@ class yt {
|
|
|
565
565
|
);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
class
|
|
568
|
+
class ra {
|
|
569
569
|
constructor(n, e) {
|
|
570
570
|
se(this, "_cardinalFrames");
|
|
571
571
|
se(this, "_totalFrameCount");
|
|
@@ -573,7 +573,7 @@ class sa {
|
|
|
573
573
|
}
|
|
574
574
|
start(n, e, a) {
|
|
575
575
|
const t = this.startFrameIndexForScene(e);
|
|
576
|
-
return new
|
|
576
|
+
return new _t(this, n, t, a);
|
|
577
577
|
}
|
|
578
578
|
isCardinalFrame(n) {
|
|
579
579
|
return this._cardinalFrames.includes(n);
|
|
@@ -585,20 +585,20 @@ class sa {
|
|
|
585
585
|
return this._cardinalFrames[n];
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const ia = {
|
|
589
589
|
key: 0,
|
|
590
590
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
591
|
-
},
|
|
591
|
+
}, ua = {
|
|
592
592
|
key: 1,
|
|
593
593
|
class: "frame-container"
|
|
594
|
-
},
|
|
594
|
+
}, ca = {
|
|
595
595
|
key: 0,
|
|
596
596
|
class: "frame-image"
|
|
597
|
-
},
|
|
597
|
+
}, da = ["srcset"], va = ["src"], ma = {
|
|
598
598
|
key: 2,
|
|
599
599
|
id: "image-stack",
|
|
600
600
|
class: "frame-container"
|
|
601
|
-
},
|
|
601
|
+
}, pa = ["alt"], fa = ["srcset"], ha = ["src"], It = 64, Xe = 4, ga = 120, ya = /* @__PURE__ */ P({
|
|
602
602
|
__name: "VApartmentChooserRotator",
|
|
603
603
|
props: {
|
|
604
604
|
viewModel: {},
|
|
@@ -609,9 +609,9 @@ const ra = {
|
|
|
609
609
|
emits: ["loaded", "error", "progress"],
|
|
610
610
|
setup(s, { emit: n }) {
|
|
611
611
|
const e = s, a = n, t = g(), o = f(
|
|
612
|
-
new
|
|
612
|
+
new ft(t.length).onLoadFinished(() => a("loaded")).onLoadProgress((b) => a("progress", b)).onLoadError(() => a("error"))
|
|
613
613
|
), i = f(
|
|
614
|
-
new
|
|
614
|
+
new ra(e.cardinalFrames, It)
|
|
615
615
|
), l = f(t), v = f(!1), u = O(() => l.value.find((b) => b.show));
|
|
616
616
|
H(
|
|
617
617
|
() => e.viewModel.currentScene,
|
|
@@ -626,7 +626,7 @@ const ra = {
|
|
|
626
626
|
e.viewModel.isRotating || (e.viewModel.isRotating = !0, h(
|
|
627
627
|
i.value.start(
|
|
628
628
|
y,
|
|
629
|
-
b %
|
|
629
|
+
b % Xe,
|
|
630
630
|
R
|
|
631
631
|
)
|
|
632
632
|
));
|
|
@@ -636,17 +636,17 @@ const ra = {
|
|
|
636
636
|
l.value[b.frameIndex].show = !1;
|
|
637
637
|
const y = b.nextFrame();
|
|
638
638
|
l.value[y.frameIndex].show = !0, y.atEnd ? S() : window.requestAnimationFrame(() => h(y));
|
|
639
|
-
}, 1e3 /
|
|
639
|
+
}, 1e3 / ga);
|
|
640
640
|
}
|
|
641
641
|
function S() {
|
|
642
642
|
const b = i.value.startFrameIndexForScene(
|
|
643
|
-
e.viewModel.currentScene %
|
|
643
|
+
e.viewModel.currentScene % Xe
|
|
644
644
|
);
|
|
645
645
|
b in l.value && (l.value[b].show = !0), e.viewModel.isRotating = !1;
|
|
646
646
|
}
|
|
647
647
|
function g() {
|
|
648
648
|
const b = [];
|
|
649
|
-
for (let y = 0; y <
|
|
649
|
+
for (let y = 0; y < It; y++) {
|
|
650
650
|
const { sourceSet: R, defaultPath: T } = c(y);
|
|
651
651
|
b.push({
|
|
652
652
|
index: y,
|
|
@@ -659,46 +659,46 @@ const ra = {
|
|
|
659
659
|
}
|
|
660
660
|
function c(b) {
|
|
661
661
|
const y = ("0000" + (b + 1)).slice(-4), R = e.build ? `?v=${e.build}` : "", T = [
|
|
662
|
-
`${
|
|
662
|
+
`${ie(
|
|
663
663
|
e.cdnFileResolver,
|
|
664
664
|
`/480/${y}.jpg${R}`
|
|
665
665
|
)} 480w`,
|
|
666
|
-
`${
|
|
666
|
+
`${ie(
|
|
667
667
|
e.cdnFileResolver,
|
|
668
668
|
`/960/${y}.jpg${R}`
|
|
669
669
|
)} 960w`,
|
|
670
|
-
`${
|
|
670
|
+
`${ie(
|
|
671
671
|
e.cdnFileResolver,
|
|
672
672
|
`/1280/${y}.jpg${R}`
|
|
673
673
|
)} 1280w`
|
|
674
|
-
].join(","), Y =
|
|
674
|
+
].join(","), Y = ie(
|
|
675
675
|
e.cdnFileResolver,
|
|
676
676
|
`/480/${y}.jpg${R}`
|
|
677
677
|
);
|
|
678
678
|
return { sourceSet: T, defaultPath: Y };
|
|
679
679
|
}
|
|
680
680
|
function p(b, y) {
|
|
681
|
-
const R =
|
|
682
|
-
return T > R ?
|
|
681
|
+
const R = Xe / 2, T = Math.abs(b - y);
|
|
682
|
+
return T > R ? Xe - T : T;
|
|
683
683
|
}
|
|
684
684
|
function _(b, y) {
|
|
685
685
|
if (b === y)
|
|
686
686
|
return 0;
|
|
687
|
-
const T = Math.abs(b - y) <
|
|
687
|
+
const T = Math.abs(b - y) < Xe / 2;
|
|
688
688
|
return T && b < y || !T && b > y ? 1 : -1;
|
|
689
689
|
}
|
|
690
690
|
return (b, y) => {
|
|
691
691
|
const R = E("v-icon");
|
|
692
692
|
return m(), x("div", null, [
|
|
693
|
-
o.value.isError ? (m(), x("div",
|
|
693
|
+
o.value.isError ? (m(), x("div", ia, [
|
|
694
694
|
w(R, { "x-large": "" }, {
|
|
695
695
|
default: C(() => [
|
|
696
696
|
X("mdi-alert-circle-outline")
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
})
|
|
700
|
-
])) : v.value ? (m(), x("div",
|
|
701
|
-
(m(!0), x(
|
|
700
|
+
])) : v.value ? (m(), x("div", ma, [
|
|
701
|
+
(m(!0), x(ue, null, he(l.value, (T) => (m(), x("picture", {
|
|
702
702
|
key: T.index,
|
|
703
703
|
alt: T.index,
|
|
704
704
|
class: ge({ "frame-image": !0, show: T.show })
|
|
@@ -706,31 +706,31 @@ const ra = {
|
|
|
706
706
|
d("source", {
|
|
707
707
|
srcset: T.sourceSet,
|
|
708
708
|
type: "image/jpeg"
|
|
709
|
-
}, null, 8,
|
|
709
|
+
}, null, 8, fa),
|
|
710
710
|
d("img", {
|
|
711
711
|
src: T.defaultPath,
|
|
712
712
|
alt: "Building image",
|
|
713
713
|
onLoad: y[2] || (y[2] = (Y) => o.value.partLoaded()),
|
|
714
714
|
onError: y[3] || (y[3] = (Y) => o.value.errorDetected())
|
|
715
|
-
}, null, 40,
|
|
716
|
-
], 10,
|
|
717
|
-
])) : (m(), x("div",
|
|
718
|
-
u.value ? (m(), x("picture",
|
|
715
|
+
}, null, 40, ha)
|
|
716
|
+
], 10, pa))), 128))
|
|
717
|
+
])) : (m(), x("div", ua, [
|
|
718
|
+
u.value ? (m(), x("picture", ca, [
|
|
719
719
|
d("source", {
|
|
720
720
|
srcset: u.value.sourceSet,
|
|
721
721
|
type: "image/jpeg"
|
|
722
|
-
}, null, 8,
|
|
722
|
+
}, null, 8, da),
|
|
723
723
|
d("img", {
|
|
724
724
|
src: u.value.defaultPath,
|
|
725
725
|
onLoad: y[0] || (y[0] = (T) => v.value = !0),
|
|
726
726
|
onError: y[1] || (y[1] = (T) => o.value.errorDetected())
|
|
727
|
-
}, null, 40,
|
|
727
|
+
}, null, 40, va)
|
|
728
728
|
])) : U("", !0)
|
|
729
729
|
]))
|
|
730
730
|
]);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
}),
|
|
733
|
+
}), _a = /* @__PURE__ */ K(ya, [["__scopeId", "data-v-0c291cb9"]]), ba = /* @__PURE__ */ P({
|
|
734
734
|
__name: "VFloatingCard",
|
|
735
735
|
props: {
|
|
736
736
|
pos: {},
|
|
@@ -758,7 +758,7 @@ const ra = {
|
|
|
758
758
|
transform: t.value
|
|
759
759
|
})
|
|
760
760
|
}, [
|
|
761
|
-
|
|
761
|
+
te(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
762
762
|
], 4)) : (m(), V(l, {
|
|
763
763
|
key: 1,
|
|
764
764
|
value: !0,
|
|
@@ -766,7 +766,7 @@ const ra = {
|
|
|
766
766
|
"onClick:outside": i[0] || (i[0] = (u) => a("outside", u))
|
|
767
767
|
}, {
|
|
768
768
|
default: C(() => [
|
|
769
|
-
|
|
769
|
+
te(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
770
770
|
]),
|
|
771
771
|
_: 3
|
|
772
772
|
}))
|
|
@@ -775,7 +775,7 @@ const ra = {
|
|
|
775
775
|
}, 8, ["origin"]);
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
|
-
}), Ge = /* @__PURE__ */ K(
|
|
778
|
+
}), Ge = /* @__PURE__ */ K(ba, [["__scopeId", "data-v-7d5e6067"]]), Ca = /* @__PURE__ */ P({
|
|
779
779
|
__name: "VZoomBox",
|
|
780
780
|
props: {
|
|
781
781
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -802,7 +802,7 @@ const ra = {
|
|
|
802
802
|
}
|
|
803
803
|
), ye(() => {
|
|
804
804
|
e.desktop && p(), e.mobile && _();
|
|
805
|
-
}),
|
|
805
|
+
}), He(() => {
|
|
806
806
|
e.desktop && b(), e.mobile && y();
|
|
807
807
|
});
|
|
808
808
|
function p() {
|
|
@@ -862,11 +862,11 @@ const ra = {
|
|
|
862
862
|
}
|
|
863
863
|
function Y(F) {
|
|
864
864
|
if (l.value) {
|
|
865
|
-
const { x: $, y: ee } = A(F), { x:
|
|
866
|
-
x: $ -
|
|
867
|
-
y: ee -
|
|
865
|
+
const { x: $, y: ee } = A(F), { x: ae, y: de } = A(u.value), ce = {
|
|
866
|
+
x: $ - ae,
|
|
867
|
+
y: ee - de
|
|
868
868
|
};
|
|
869
|
-
L(
|
|
869
|
+
L(ce.x), q(ce.y), r.value = !0, u.value = F;
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
function I(F) {
|
|
@@ -880,14 +880,14 @@ const ra = {
|
|
|
880
880
|
}
|
|
881
881
|
function M(F) {
|
|
882
882
|
if (l.value) {
|
|
883
|
-
const { x: $, y: ee } = A(F.touches[0]), { x:
|
|
884
|
-
x: $ -
|
|
885
|
-
y: ee -
|
|
883
|
+
const { x: $, y: ee } = A(F.touches[0]), { x: ae, y: de } = A(u.value.touches[0]), ce = {
|
|
884
|
+
x: $ - ae,
|
|
885
|
+
y: ee - de
|
|
886
886
|
};
|
|
887
|
-
L(
|
|
887
|
+
L(ce.x), q(ce.y);
|
|
888
888
|
} else if (v.value && F.touches.length === 2) {
|
|
889
|
-
const { x: $, y: ee } = A(F.touches[0]), { x:
|
|
890
|
-
z(
|
|
889
|
+
const { x: $, y: ee } = A(F.touches[0]), { x: ae, y: de } = A(u.value.touches[0]), { x: ce, y: _e } = A(F.touches[1]), { x: De, y: Se } = A(u.value.touches[1]), Ae = Math.hypot(ae - De, de - Se), xe = Math.hypot($ - ce, ee - _e), Oe = (ce + $) / 2, Q = (_e + ee) / 2;
|
|
890
|
+
z(xe - Ae, Oe, Q);
|
|
891
891
|
}
|
|
892
892
|
u.value = F;
|
|
893
893
|
}
|
|
@@ -908,7 +908,7 @@ const ra = {
|
|
|
908
908
|
-(ee - $)
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function q(F) {
|
|
912
912
|
const $ = h.value.clientHeight, ee = $ * g.value;
|
|
913
913
|
i.value = Math.max(
|
|
914
914
|
Math.min(0, i.value + F),
|
|
@@ -916,10 +916,10 @@ const ra = {
|
|
|
916
916
|
);
|
|
917
917
|
}
|
|
918
918
|
function z(F, $, ee) {
|
|
919
|
-
const
|
|
919
|
+
const ae = h.value.clientWidth, de = h.value.clientHeight, ce = ae * g.value, _e = de * g.value;
|
|
920
920
|
t.value = Math.min(Math.max(100, t.value + F), c.value);
|
|
921
|
-
const
|
|
922
|
-
o.value -= $ /
|
|
921
|
+
const De = ae * g.value, Se = de * g.value, Ae = De - ce, xe = Se - _e;
|
|
922
|
+
o.value -= $ / ae * Ae, i.value -= ee / de * xe, L(0), q(0);
|
|
923
923
|
}
|
|
924
924
|
function oe() {
|
|
925
925
|
a("update", {
|
|
@@ -927,8 +927,8 @@ const ra = {
|
|
|
927
927
|
x: o.value,
|
|
928
928
|
y: i.value,
|
|
929
929
|
resolve: (F, $) => {
|
|
930
|
-
const ee = h.value.clientWidth,
|
|
931
|
-
return { x: Se, y:
|
|
930
|
+
const ee = h.value.clientWidth, ae = h.value.clientHeight, de = o.value / -g.value, ce = i.value / -g.value, _e = de + ee / g.value, De = ce + ae / g.value, Se = F / ee * (_e - de) + de, Ae = $ / ae * (De - ce) + ce;
|
|
931
|
+
return { x: Se, y: Ae };
|
|
932
932
|
}
|
|
933
933
|
});
|
|
934
934
|
}
|
|
@@ -942,18 +942,18 @@ const ra = {
|
|
|
942
942
|
style: me({ "transform-origin": "top left", transform: S.value }),
|
|
943
943
|
class: "zoom-box"
|
|
944
944
|
}, [
|
|
945
|
-
|
|
945
|
+
te(F.$slots, "default", {}, void 0, !0)
|
|
946
946
|
], 4)
|
|
947
947
|
], 4));
|
|
948
948
|
}
|
|
949
|
-
}), Qe = /* @__PURE__ */ K(
|
|
950
|
-
function
|
|
951
|
-
return s <
|
|
949
|
+
}), Qe = /* @__PURE__ */ K(Ca, [["__scopeId", "data-v-e5638bde"]]), bt = 4;
|
|
950
|
+
function Lt(s) {
|
|
951
|
+
return s < bt ? s + 1 : 1;
|
|
952
952
|
}
|
|
953
|
-
function
|
|
954
|
-
return s > 1 ? s - 1 :
|
|
953
|
+
function wa(s) {
|
|
954
|
+
return s > 1 ? s - 1 : bt;
|
|
955
955
|
}
|
|
956
|
-
class
|
|
956
|
+
class ka {
|
|
957
957
|
constructor(n) {
|
|
958
958
|
se(this, "_state");
|
|
959
959
|
this._state = {
|
|
@@ -978,16 +978,16 @@ class wa {
|
|
|
978
978
|
}
|
|
979
979
|
rotateCounterClockwise() {
|
|
980
980
|
this.unlessRotatingDo(() => {
|
|
981
|
-
this.currentScene =
|
|
981
|
+
this.currentScene = Lt(this.currentScene);
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
984
|
rotateClockwise() {
|
|
985
985
|
this.unlessRotatingDo(() => {
|
|
986
|
-
this.currentScene =
|
|
986
|
+
this.currentScene = wa(this.currentScene);
|
|
987
987
|
});
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
const
|
|
990
|
+
const Ia = {
|
|
991
991
|
// virtual tour default labels
|
|
992
992
|
interior: "Interiør",
|
|
993
993
|
seeASelectionOfTheOptionsInTheProject: "Se et utvalg av tilvalgsmulighetene i prosjektet.",
|
|
@@ -1046,7 +1046,7 @@ class Ee {
|
|
|
1046
1046
|
constructor({ labels: n, language: e } = { labels: null, language: null }) {
|
|
1047
1047
|
se(this, "_labels");
|
|
1048
1048
|
se(this, "_language");
|
|
1049
|
-
this._labels = { ...
|
|
1049
|
+
this._labels = { ...Ia, ...n || {} }, this._language = e || "en";
|
|
1050
1050
|
}
|
|
1051
1051
|
getLabel(n) {
|
|
1052
1052
|
return n in this._labels ? this.get(this._labels[n]) : n;
|
|
@@ -1062,10 +1062,10 @@ class Ee {
|
|
|
1062
1062
|
return "";
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
const
|
|
1065
|
+
const Sa = { key: 0 }, Da = { class: "interactive-viewer" }, Aa = { class: "fill-parent" }, xa = { key: 0 }, Fa = {
|
|
1066
1066
|
key: 1,
|
|
1067
1067
|
class: "navigation"
|
|
1068
|
-
},
|
|
1068
|
+
}, La = { key: 2 }, Ma = 4, Ta = /* @__PURE__ */ P({
|
|
1069
1069
|
__name: "VApartmentChooser",
|
|
1070
1070
|
props: {
|
|
1071
1071
|
i18nConfig: {},
|
|
@@ -1087,18 +1087,18 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1087
1087
|
emits: ["selectUnit", "goToUnit", "navUnit", "hoverOverUnit", "hoverOutUnit", "initialized"],
|
|
1088
1088
|
setup(s, { emit: n }) {
|
|
1089
1089
|
const e = [0, 16, 32, 48], a = s, t = n;
|
|
1090
|
-
|
|
1091
|
-
|
|
1090
|
+
tt(
|
|
1091
|
+
Ve,
|
|
1092
1092
|
a.i18nConfig ? new Ee(a.i18nConfig) : new Ee()
|
|
1093
1093
|
);
|
|
1094
|
-
const o =
|
|
1094
|
+
const o = rt({ isReady: !1, isError: !1 }), i = f(), l = f(), v = f(), u = f(), r = f({ x: 0, y: 0, width: 0, height: 0 }), h = f(), S = f(), g = f(), c = O(() => g.value.isHoverEnabled), p = O(() => a.useSvg ? aa : Xt), _ = O(() => a.selectedUnitId), b = O(() => a.nextUnitId), y = O(() => a.prevUnitId);
|
|
1095
1095
|
Ce(() => {
|
|
1096
1096
|
if (_.value && u.value) {
|
|
1097
1097
|
const I = i.value[_.value];
|
|
1098
1098
|
I && (u.value.currentScene = I);
|
|
1099
1099
|
}
|
|
1100
1100
|
}), ye(async () => {
|
|
1101
|
-
const I = a.apartmentChooserData && a.apartmentChooserData.startScene !== void 0 ? a.apartmentChooserData.startScene :
|
|
1101
|
+
const I = a.apartmentChooserData && a.apartmentChooserData.startScene !== void 0 ? a.apartmentChooserData.startScene : Ma;
|
|
1102
1102
|
v.value = a.apartmentChooserData && a.apartmentChooserData.scenes !== void 0 ? a.apartmentChooserData.scenes : e, l.value = a.apartmentChooserData && a.apartmentChooserData.sceneData !== void 0 ? a.apartmentChooserData.sceneData.map((M) => ({
|
|
1103
1103
|
unitId: M.apartmentID,
|
|
1104
1104
|
index: M.index
|
|
@@ -1108,18 +1108,18 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1108
1108
|
}).reduce((M, G) => ({ ...M, [G.unitId]: G.scene }), {}) : {};
|
|
1109
1109
|
const k = (M, G = "unitId") => {
|
|
1110
1110
|
let A = I, L = [];
|
|
1111
|
-
for (let
|
|
1112
|
-
L.push(A), A =
|
|
1113
|
-
return M.sort((
|
|
1111
|
+
for (let q = 0; q < bt; q++)
|
|
1112
|
+
L.push(A), A = Lt(A);
|
|
1113
|
+
return M.sort((q, z) => {
|
|
1114
1114
|
const oe = L.findIndex(
|
|
1115
|
-
($) => $ === i.value[
|
|
1115
|
+
($) => $ === i.value[q[G]]
|
|
1116
1116
|
), F = L.findIndex(
|
|
1117
1117
|
($) => $ === i.value[z[G]]
|
|
1118
1118
|
);
|
|
1119
1119
|
return oe < F ? -1 : oe > F ? 1 : 0;
|
|
1120
1120
|
}), M;
|
|
1121
1121
|
}, j = (M) => {
|
|
1122
|
-
u.value = new
|
|
1122
|
+
u.value = new ka(M);
|
|
1123
1123
|
};
|
|
1124
1124
|
t("initialized", {
|
|
1125
1125
|
scene: I,
|
|
@@ -1141,15 +1141,15 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1141
1141
|
}
|
|
1142
1142
|
return (I, k) => {
|
|
1143
1143
|
const j = E("v-progress-linear");
|
|
1144
|
-
return u.value ? (m(), x("div",
|
|
1145
|
-
d("div",
|
|
1146
|
-
d("div",
|
|
1144
|
+
return u.value ? (m(), x("div", Sa, [
|
|
1145
|
+
d("div", Da, [
|
|
1146
|
+
d("div", Aa, [
|
|
1147
1147
|
w(Qe, {
|
|
1148
1148
|
desktop: o.isReady && I.interactiveDesktop,
|
|
1149
1149
|
mobile: o.isReady && I.interactiveMobile
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: C(() => [
|
|
1152
|
-
w(
|
|
1152
|
+
w(_a, {
|
|
1153
1153
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
1154
1154
|
"view-model": u.value,
|
|
1155
1155
|
"cardinal-frames": v.value,
|
|
@@ -1158,8 +1158,8 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1158
1158
|
onLoaded: k[1] || (k[1] = (M) => o.isReady = !0),
|
|
1159
1159
|
onError: k[2] || (k[2] = (M) => o.isError = !0)
|
|
1160
1160
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1161
|
-
o.isReady ? (m(), x("div",
|
|
1162
|
-
(m(), V(
|
|
1161
|
+
o.isReady ? (m(), x("div", xa, [
|
|
1162
|
+
(m(), V(xt(p.value), {
|
|
1163
1163
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1164
1164
|
"view-model": u.value,
|
|
1165
1165
|
"selected-unit-id": _.value,
|
|
@@ -1174,7 +1174,7 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1174
1174
|
onPos: R
|
|
1175
1175
|
}, {
|
|
1176
1176
|
default: C((M) => [
|
|
1177
|
-
|
|
1177
|
+
te(I.$slots, "default", at(nt(M)), void 0, !0)
|
|
1178
1178
|
]),
|
|
1179
1179
|
_: 3
|
|
1180
1180
|
}, 40, ["cdn-file-resolver", "view-model", "selected-unit-id", "scene-data", "color-callback", "can-go-to-unit-callback", "draw-observer"]))
|
|
@@ -1189,7 +1189,7 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1189
1189
|
onOutside: h.value
|
|
1190
1190
|
}, {
|
|
1191
1191
|
default: C(() => [
|
|
1192
|
-
|
|
1192
|
+
te(I.$slots, "default", {
|
|
1193
1193
|
unit: S.value,
|
|
1194
1194
|
canGoToUnit: I.canGoToUnitCallback(S.value),
|
|
1195
1195
|
goToUnit: () => I.canGoToUnitCallback(S.value) && t("goToUnit", S.value),
|
|
@@ -1200,8 +1200,8 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1200
1200
|
]),
|
|
1201
1201
|
_: 3
|
|
1202
1202
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : U("", !0),
|
|
1203
|
-
o.isReady ? (m(), x("div",
|
|
1204
|
-
w(
|
|
1203
|
+
o.isReady ? (m(), x("div", Fa, [
|
|
1204
|
+
w(sa, {
|
|
1205
1205
|
"can-go-to-unit-callback": a.canGoToUnitCallback,
|
|
1206
1206
|
"unit-renderer": a.unitRenderer,
|
|
1207
1207
|
"selected-unit-id": _.value,
|
|
@@ -1212,7 +1212,7 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1212
1212
|
onPrevUnit: k[6] || (k[6] = (M) => t("navUnit", y.value)),
|
|
1213
1213
|
onNextUnit: k[7] || (k[7] = (M) => t("navUnit", b.value))
|
|
1214
1214
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1215
|
-
])) : o.isError ? U("", !0) : (m(), x("div",
|
|
1215
|
+
])) : o.isError ? U("", !0) : (m(), x("div", La, [
|
|
1216
1216
|
w(j, {
|
|
1217
1217
|
indeterminate: !o.progress,
|
|
1218
1218
|
modelValue: o.progress,
|
|
@@ -1228,7 +1228,7 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1228
1228
|
])) : U("", !0);
|
|
1229
1229
|
};
|
|
1230
1230
|
}
|
|
1231
|
-
}),
|
|
1231
|
+
}), Va = /* @__PURE__ */ K(Ta, [["__scopeId", "data-v-34e2e7a2"]]), Ea = ["src"], Oa = /* @__PURE__ */ P({
|
|
1232
1232
|
__name: "VApartmentChooserV5CameraDayTimeSample",
|
|
1233
1233
|
props: {
|
|
1234
1234
|
timeSampleData: {},
|
|
@@ -1236,16 +1236,16 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1236
1236
|
currentTime: {}
|
|
1237
1237
|
},
|
|
1238
1238
|
setup(s) {
|
|
1239
|
-
const n = s, e = O(() =>
|
|
1239
|
+
const n = s, e = O(() => ie(n.cdnFileResolver, n.timeSampleData.filename));
|
|
1240
1240
|
return (a, t) => pe((m(), x("img", {
|
|
1241
1241
|
key: e.value,
|
|
1242
1242
|
src: e.value,
|
|
1243
1243
|
width: "100%"
|
|
1244
|
-
}, null, 8,
|
|
1244
|
+
}, null, 8, Ea)), [
|
|
1245
1245
|
[fe, a.timeSampleData === a.currentTime]
|
|
1246
1246
|
]);
|
|
1247
1247
|
}
|
|
1248
|
-
}),
|
|
1248
|
+
}), Ba = /* @__PURE__ */ K(Oa, [["__scopeId", "data-v-dbbdc1e0"]]), Ra = /* @__PURE__ */ P({
|
|
1249
1249
|
__name: "VApartmentChooserV5CameraDay",
|
|
1250
1250
|
props: {
|
|
1251
1251
|
dayData: {},
|
|
@@ -1254,13 +1254,13 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1254
1254
|
},
|
|
1255
1255
|
setup(s) {
|
|
1256
1256
|
const n = s;
|
|
1257
|
-
return (e, a) => (m(!0), x(
|
|
1257
|
+
return (e, a) => (m(!0), x(ue, null, he(n.dayData.timeSamples, (t) => (m(), V(Ba, {
|
|
1258
1258
|
"time-sample-data": t,
|
|
1259
1259
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
1260
1260
|
"current-time": e.currentTime
|
|
1261
1261
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1262
1262
|
}
|
|
1263
|
-
}),
|
|
1263
|
+
}), $a = /* @__PURE__ */ P({
|
|
1264
1264
|
__name: "VApartmentChooserV5Camera",
|
|
1265
1265
|
props: {
|
|
1266
1266
|
cameraData: {},
|
|
@@ -1269,13 +1269,13 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1269
1269
|
},
|
|
1270
1270
|
setup(s) {
|
|
1271
1271
|
const n = s;
|
|
1272
|
-
return (e, a) => (m(!0), x(
|
|
1272
|
+
return (e, a) => (m(!0), x(ue, null, he(n.cameraData.sunsimDayOfYear, (t) => (m(), V(Ra, {
|
|
1273
1273
|
"day-data": t,
|
|
1274
1274
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
1275
1275
|
"current-time": n.currentTime
|
|
1276
1276
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
1277
1277
|
}
|
|
1278
|
-
}),
|
|
1278
|
+
}), Ua = ["src"], Ha = /* @__PURE__ */ P({
|
|
1279
1279
|
__name: "VApartmentChooserV5Transition",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
transitionData: {},
|
|
@@ -1284,17 +1284,17 @@ const Ia = { key: 0 }, Sa = { class: "interactive-viewer" }, Da = { class: "fill
|
|
|
1284
1284
|
},
|
|
1285
1285
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
1286
1286
|
setup(s, { emit: n }) {
|
|
1287
|
-
const e = s, a = O(() =>
|
|
1287
|
+
const e = s, a = O(() => ie(e.cdnFileResolver, e.transitionData.filename));
|
|
1288
1288
|
return (t, o) => pe((m(), x("img", {
|
|
1289
1289
|
key: a.value,
|
|
1290
1290
|
src: a.value,
|
|
1291
1291
|
class: "position-absolute top-left w-100 h-100"
|
|
1292
|
-
}, null, 8,
|
|
1292
|
+
}, null, 8, Ua)), [
|
|
1293
1293
|
[fe, t.transitionData === t.currentTransition]
|
|
1294
1294
|
]);
|
|
1295
1295
|
}
|
|
1296
|
-
}),
|
|
1297
|
-
function
|
|
1296
|
+
}), Ya = /* @__PURE__ */ K(Ha, [["__scopeId", "data-v-ecb88391"]]);
|
|
1297
|
+
function Pa(s) {
|
|
1298
1298
|
if (!s)
|
|
1299
1299
|
return !1;
|
|
1300
1300
|
const n = [
|
|
@@ -1312,13 +1312,13 @@ function Ya(s) {
|
|
|
1312
1312
|
return !1;
|
|
1313
1313
|
return !0;
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1315
|
+
function Ct(s) {
|
|
1316
1316
|
return !("filename" in s);
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function ht(s) {
|
|
1319
1319
|
return "filename" in s;
|
|
1320
1320
|
}
|
|
1321
|
-
const
|
|
1321
|
+
const ja = /* @__PURE__ */ P({
|
|
1322
1322
|
__name: "VApartmentChooserV5UiCamera",
|
|
1323
1323
|
props: {
|
|
1324
1324
|
apartmentChooserData: {},
|
|
@@ -1337,7 +1337,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1337
1337
|
}
|
|
1338
1338
|
);
|
|
1339
1339
|
const o = O(
|
|
1340
|
-
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(
|
|
1340
|
+
() => e.apartmentChooserData ? e.apartmentChooserData.cameras.filter(Ct) : []
|
|
1341
1341
|
);
|
|
1342
1342
|
return H(t, () => {
|
|
1343
1343
|
a(
|
|
@@ -1361,7 +1361,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1361
1361
|
}, null, 8, ["modelValue", "items", "disabled"]);
|
|
1362
1362
|
};
|
|
1363
1363
|
}
|
|
1364
|
-
}),
|
|
1364
|
+
}), za = /* @__PURE__ */ P({
|
|
1365
1365
|
__name: "VApartmentChooserV5UiDay",
|
|
1366
1366
|
props: {
|
|
1367
1367
|
cameraData: {},
|
|
@@ -1405,7 +1405,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1405
1405
|
"hide-details": ""
|
|
1406
1406
|
}, {
|
|
1407
1407
|
item: C(({ props: r }) => [
|
|
1408
|
-
w(v,
|
|
1408
|
+
w(v, Ie(r, {
|
|
1409
1409
|
title: o(r.title)
|
|
1410
1410
|
}), null, 16, ["title"])
|
|
1411
1411
|
]),
|
|
@@ -1416,10 +1416,10 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1416
1416
|
}, 8, ["modelValue", "items", "disabled"]);
|
|
1417
1417
|
};
|
|
1418
1418
|
}
|
|
1419
|
-
}),
|
|
1419
|
+
}), Wa = {
|
|
1420
1420
|
key: 0,
|
|
1421
1421
|
class: "py-2"
|
|
1422
|
-
},
|
|
1422
|
+
}, Na = { class: "small" }, Ga = { class: "small" }, Qa = /* @__PURE__ */ P({
|
|
1423
1423
|
__name: "VApartmentChooserV5UiTimeSample",
|
|
1424
1424
|
props: {
|
|
1425
1425
|
dayData: {},
|
|
@@ -1460,7 +1460,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1460
1460
|
const r = E("v-icon"), h = E("v-btn"), S = E("v-slider"), g = E("v-field");
|
|
1461
1461
|
return m(), V(g, { variant: "solo" }, {
|
|
1462
1462
|
default: C(() => [
|
|
1463
|
-
v.dayData.startTime === v.dayData.endTime ? (m(), x("div",
|
|
1463
|
+
v.dayData.startTime === v.dayData.endTime ? (m(), x("div", Wa, [
|
|
1464
1464
|
w(r, {
|
|
1465
1465
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1466
1466
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -1490,10 +1490,10 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1490
1490
|
onClick: l
|
|
1491
1491
|
}, null, 8, ["icon"]),
|
|
1492
1492
|
X(" "),
|
|
1493
|
-
d("span",
|
|
1493
|
+
d("span", Na, W(i(v.dayData.startTime)), 1)
|
|
1494
1494
|
]),
|
|
1495
1495
|
append: C(() => [
|
|
1496
|
-
d("span",
|
|
1496
|
+
d("span", Ga, W(i(v.dayData.endTime)), 1),
|
|
1497
1497
|
X(" "),
|
|
1498
1498
|
w(r, {
|
|
1499
1499
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -1513,7 +1513,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1513
1513
|
});
|
|
1514
1514
|
};
|
|
1515
1515
|
}
|
|
1516
|
-
}),
|
|
1516
|
+
}), qa = /* @__PURE__ */ K(Qa, [["__scopeId", "data-v-f2649c45"]]), Za = /* @__PURE__ */ P({
|
|
1517
1517
|
__name: "VApartmentChooserV5UiRotator",
|
|
1518
1518
|
props: {
|
|
1519
1519
|
apartmentChooserData: {},
|
|
@@ -1578,7 +1578,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1578
1578
|
}
|
|
1579
1579
|
return (c, p) => {
|
|
1580
1580
|
const _ = E("v-btn"), b = E("v-chip");
|
|
1581
|
-
return m(), x(
|
|
1581
|
+
return m(), x(ue, null, [
|
|
1582
1582
|
w(_, {
|
|
1583
1583
|
class: "mx-2",
|
|
1584
1584
|
icon: "mdi-restore",
|
|
@@ -1608,7 +1608,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1608
1608
|
], 64);
|
|
1609
1609
|
};
|
|
1610
1610
|
}
|
|
1611
|
-
}),
|
|
1611
|
+
}), Ja = ["innerHTML"], Xa = /* @__PURE__ */ P({
|
|
1612
1612
|
__name: "VApartmentChooserV5Overlay",
|
|
1613
1613
|
props: {
|
|
1614
1614
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -1618,7 +1618,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1618
1618
|
},
|
|
1619
1619
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
1620
1620
|
setup(s, { emit: n }) {
|
|
1621
|
-
const e = s, a = n, t = f(), o = f(), i = f(e.selectedId), l =
|
|
1621
|
+
const e = s, a = n, t = f(), o = f(), i = f(e.selectedId), l = rt({});
|
|
1622
1622
|
H(
|
|
1623
1623
|
() => e.selectedId,
|
|
1624
1624
|
() => {
|
|
@@ -1640,7 +1640,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1640
1640
|
l[r].state === "selected" && r !== i.value ? l[r].state = "idle" : l[r].state !== "selected" && r === i.value && (l[r].state = "selected");
|
|
1641
1641
|
}), Ce(async () => {
|
|
1642
1642
|
t.value = await be.loadText(
|
|
1643
|
-
|
|
1643
|
+
ie(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
1644
1644
|
), u();
|
|
1645
1645
|
}), H(
|
|
1646
1646
|
() => o.value,
|
|
@@ -1693,7 +1693,7 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1693
1693
|
}));
|
|
1694
1694
|
});
|
|
1695
1695
|
}
|
|
1696
|
-
return (r, h) => (m(), V(
|
|
1696
|
+
return (r, h) => (m(), V(Me, null, {
|
|
1697
1697
|
default: C(() => [
|
|
1698
1698
|
(m(), x("div", {
|
|
1699
1699
|
ref_key: "svgContainer",
|
|
@@ -1702,12 +1702,12 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1702
1702
|
class: "w-100 h-100 position-absolute top-left",
|
|
1703
1703
|
style: { "z-index": "5" },
|
|
1704
1704
|
innerHTML: t.value
|
|
1705
|
-
}, null, 8,
|
|
1705
|
+
}, null, 8, Ja))
|
|
1706
1706
|
]),
|
|
1707
1707
|
_: 1
|
|
1708
1708
|
}));
|
|
1709
1709
|
}
|
|
1710
|
-
}),
|
|
1710
|
+
}), Ka = /* @__PURE__ */ K(Xa, [["__scopeId", "data-v-09ccd2d0"]]), en = "data:image/png;base64,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", qe = /* @__PURE__ */ P({
|
|
1711
1711
|
__name: "VNorthDirection",
|
|
1712
1712
|
props: {
|
|
1713
1713
|
longitude: {}
|
|
@@ -1720,19 +1720,19 @@ const Pa = /* @__PURE__ */ P({
|
|
|
1720
1720
|
return (a, t) => {
|
|
1721
1721
|
const o = E("v-img");
|
|
1722
1722
|
return m(), V(o, {
|
|
1723
|
-
src: B(
|
|
1723
|
+
src: B(en),
|
|
1724
1724
|
style: me(e.value)
|
|
1725
1725
|
}, null, 8, ["src", "style"]);
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
1728
|
});
|
|
1729
|
-
class
|
|
1729
|
+
class ze {
|
|
1730
1730
|
constructor(n) {
|
|
1731
1731
|
se(this, "_buildingIds");
|
|
1732
1732
|
this._buildingIds = n;
|
|
1733
1733
|
}
|
|
1734
1734
|
static empty() {
|
|
1735
|
-
return new
|
|
1735
|
+
return new ze([]);
|
|
1736
1736
|
}
|
|
1737
1737
|
getBuildingId(n, e, a) {
|
|
1738
1738
|
const t = this._getBuildingIndex(n, e, a);
|
|
@@ -1745,15 +1745,15 @@ class je {
|
|
|
1745
1745
|
return t;
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
1748
|
-
const
|
|
1749
|
-
class
|
|
1748
|
+
const tn = 180;
|
|
1749
|
+
class Mt {
|
|
1750
1750
|
constructor(n) {
|
|
1751
1751
|
se(this, "_cdnFileResolver");
|
|
1752
1752
|
se(this, "_resourceLoader");
|
|
1753
1753
|
this._cdnFileResolver = n, this._resourceLoader = new be();
|
|
1754
1754
|
}
|
|
1755
1755
|
constructFileUrl(n) {
|
|
1756
|
-
return this._cdnFileResolver ?
|
|
1756
|
+
return this._cdnFileResolver ? ie(this._cdnFileResolver, `/${n}`) : null;
|
|
1757
1757
|
}
|
|
1758
1758
|
loadBuildingMapImage(n) {
|
|
1759
1759
|
const e = this.constructFileUrl(n.lookupFilename);
|
|
@@ -1771,7 +1771,7 @@ class Lt {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
getBackgroundImageData(n) {
|
|
1773
1773
|
return "days" in n ? this.processMultipleDays(n.days) : [this.processTimeSamples(
|
|
1774
|
-
|
|
1774
|
+
tn,
|
|
1775
1775
|
n.timeSamples
|
|
1776
1776
|
)];
|
|
1777
1777
|
}
|
|
@@ -1813,14 +1813,14 @@ class Lt {
|
|
|
1813
1813
|
}
|
|
1814
1814
|
}
|
|
1815
1815
|
}
|
|
1816
|
-
class
|
|
1816
|
+
class We {
|
|
1817
1817
|
constructor(n) {
|
|
1818
1818
|
se(this, "_mapImage");
|
|
1819
1819
|
se(this, "_context");
|
|
1820
1820
|
this._mapImage = n, this._context = null;
|
|
1821
1821
|
}
|
|
1822
1822
|
static empty() {
|
|
1823
|
-
return new
|
|
1823
|
+
return new We(null);
|
|
1824
1824
|
}
|
|
1825
1825
|
update(n) {
|
|
1826
1826
|
this._mapImage && (this._context = n.getContext("2d", { willReadFrequently: !0 }), this._context.drawImage(this._mapImage, 0, 0, n.width, n.height));
|
|
@@ -1833,15 +1833,15 @@ class ze {
|
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
1836
|
-
const
|
|
1837
|
-
class
|
|
1836
|
+
const an = /* @__PURE__ */ new Date(0);
|
|
1837
|
+
class ct {
|
|
1838
1838
|
constructor(n) {
|
|
1839
1839
|
se(this, "_imagesByDay");
|
|
1840
1840
|
se(this, "_state");
|
|
1841
1841
|
this._imagesByDay = n, this._state = { selectedIndex: 0 };
|
|
1842
1842
|
}
|
|
1843
1843
|
static empty() {
|
|
1844
|
-
return new
|
|
1844
|
+
return new ct([{ referenceDate: an, urls: [] }]);
|
|
1845
1845
|
}
|
|
1846
1846
|
selectIndex(n) {
|
|
1847
1847
|
n < this._imagesByDay.length && (this._state.selectedIndex = n);
|
|
@@ -1862,37 +1862,37 @@ class dt {
|
|
|
1862
1862
|
return this._imagesByDay[this.selectedIndex].urls;
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function Ke(s) {
|
|
1866
1866
|
return ("0" + s).slice(-2);
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1868
|
+
function nn() {
|
|
1869
1869
|
const s = /* @__PURE__ */ new Date();
|
|
1870
1870
|
return [
|
|
1871
1871
|
s.getFullYear().toString(),
|
|
1872
|
-
|
|
1873
|
-
|
|
1872
|
+
Ke(s.getMonth() + 1),
|
|
1873
|
+
Ke(s.getDate()),
|
|
1874
1874
|
" ",
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1875
|
+
Ke(s.getHours()),
|
|
1876
|
+
Ke(s.getMinutes()),
|
|
1877
|
+
Ke(s.getSeconds())
|
|
1878
1878
|
].join("");
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1881
|
-
return "Visuado-Snapshot-" +
|
|
1880
|
+
function on() {
|
|
1881
|
+
return "Visuado-Snapshot-" + nn();
|
|
1882
1882
|
}
|
|
1883
|
-
class
|
|
1883
|
+
class ln {
|
|
1884
1884
|
// private cameraParams: any
|
|
1885
1885
|
constructor(n, e) {
|
|
1886
1886
|
se(this, "data");
|
|
1887
1887
|
this.data = n;
|
|
1888
1888
|
}
|
|
1889
1889
|
download(n = null) {
|
|
1890
|
-
n = n ||
|
|
1890
|
+
n = n || on();
|
|
1891
1891
|
const e = document.createElement("a");
|
|
1892
1892
|
typeof e.download == "string" ? (document.body.appendChild(e), e.download = n, e.href = this.data, e.click(), document.body.removeChild(e)) : location.replace(this.data);
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1895
|
+
function sn(s) {
|
|
1896
1896
|
const n = s.sceneData.map(
|
|
1897
1897
|
(l) => ({
|
|
1898
1898
|
unitId: l.apartmentID,
|
|
@@ -1933,7 +1933,7 @@ function ln(s) {
|
|
|
1933
1933
|
]
|
|
1934
1934
|
}
|
|
1935
1935
|
]
|
|
1936
|
-
},
|
|
1936
|
+
}, ht(o[v]) && (o[v] = r);
|
|
1937
1937
|
}
|
|
1938
1938
|
return {
|
|
1939
1939
|
version: "5.0",
|
|
@@ -1950,16 +1950,16 @@ function ln(s) {
|
|
|
1950
1950
|
cameras: o
|
|
1951
1951
|
};
|
|
1952
1952
|
}
|
|
1953
|
-
const
|
|
1953
|
+
const rn = {
|
|
1954
1954
|
class: "actions-bar compact top-left d-flex w-100 justify-center align-center",
|
|
1955
1955
|
style: { "z-index": "7" }
|
|
1956
|
-
},
|
|
1956
|
+
}, un = { class: "pa-1" }, cn = { class: "pa-1" }, dn = { class: "pa-1" }, vn = {
|
|
1957
1957
|
class: "hover-bar bottom-right d-flex w-100 justify-center align-center pa-2",
|
|
1958
1958
|
style: { "z-index": "7" }
|
|
1959
|
-
},
|
|
1959
|
+
}, mn = {
|
|
1960
1960
|
class: "position-absolute bottom-right-compact pa-2",
|
|
1961
1961
|
style: { "z-index": "7", width: "56px", height: "56px" }
|
|
1962
|
-
},
|
|
1962
|
+
}, pn = ["innerHTML"], fn = { style: { "z-index": "7" } }, hn = /* @__PURE__ */ P({
|
|
1963
1963
|
__name: "VApartmentChooserV5",
|
|
1964
1964
|
props: {
|
|
1965
1965
|
apartmentChooserData: {},
|
|
@@ -1994,15 +1994,15 @@ const sn = {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
);
|
|
1996
1996
|
const T = O(
|
|
1997
|
-
() => y.value ? y.value.cameras.filter(
|
|
1997
|
+
() => y.value ? y.value.cameras.filter(Ct) : []
|
|
1998
1998
|
), Y = O(
|
|
1999
|
-
() => y.value ? y.value.cameras.filter(
|
|
1999
|
+
() => y.value ? y.value.cameras.filter(ht) : []
|
|
2000
2000
|
), I = async () => {
|
|
2001
2001
|
try {
|
|
2002
2002
|
let F, $;
|
|
2003
2003
|
return $ = await be.loadJson(
|
|
2004
|
-
|
|
2005
|
-
), parseInt($.version) === 5 ? $ : (F =
|
|
2004
|
+
ie(e.cdnFileResolver, "/apartmentChooser.json")
|
|
2005
|
+
), parseInt($.version) === 5 ? $ : (F = sn($), F);
|
|
2006
2006
|
} catch (F) {
|
|
2007
2007
|
r.value = !1, a("onError", F);
|
|
2008
2008
|
}
|
|
@@ -2046,7 +2046,7 @@ const sn = {
|
|
|
2046
2046
|
);
|
|
2047
2047
|
}
|
|
2048
2048
|
function j(F) {
|
|
2049
|
-
v.value = F,
|
|
2049
|
+
v.value = F, ht(y.value.cameras[v.value]) ? l.value = y.value.cameras[v.value] : (we(() => {
|
|
2050
2050
|
M(
|
|
2051
2051
|
y.value.cameras[v.value]
|
|
2052
2052
|
);
|
|
@@ -2087,7 +2087,7 @@ const sn = {
|
|
|
2087
2087
|
$ && S.value.rotateShortestRoute($.bestScene);
|
|
2088
2088
|
});
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2090
|
+
function q(F) {
|
|
2091
2091
|
a("onHoverOver", F), u.value = F;
|
|
2092
2092
|
}
|
|
2093
2093
|
function z(F) {
|
|
@@ -2095,20 +2095,20 @@ const sn = {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
function oe(F) {
|
|
2097
2097
|
const { layerX: $, layerY: ee } = F;
|
|
2098
|
-
let
|
|
2099
|
-
for (;
|
|
2100
|
-
if (
|
|
2101
|
-
|
|
2098
|
+
let ae = F.target, de = !1;
|
|
2099
|
+
for (; ae; )
|
|
2100
|
+
if (ae === _.value) {
|
|
2101
|
+
de = !0;
|
|
2102
2102
|
break;
|
|
2103
2103
|
} else
|
|
2104
|
-
|
|
2105
|
-
if (
|
|
2106
|
-
const
|
|
2104
|
+
ae = ae.parentElement;
|
|
2105
|
+
if (de) {
|
|
2106
|
+
const ce = F.currentTarget;
|
|
2107
2107
|
p.value = {
|
|
2108
2108
|
x: $,
|
|
2109
2109
|
y: ee,
|
|
2110
|
-
width:
|
|
2111
|
-
height:
|
|
2110
|
+
width: ce.clientWidth,
|
|
2111
|
+
height: ce.clientHeight
|
|
2112
2112
|
};
|
|
2113
2113
|
} else
|
|
2114
2114
|
p.value = void 0;
|
|
@@ -2116,14 +2116,14 @@ const sn = {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
return (F, $) => {
|
|
2118
2118
|
const ee = E("v-skeleton-loader");
|
|
2119
|
-
return m(), x(
|
|
2119
|
+
return m(), x(ue, null, [
|
|
2120
2120
|
w(ee, {
|
|
2121
2121
|
type: "image",
|
|
2122
2122
|
class: "w-100 h-100 position-relative",
|
|
2123
2123
|
loading: !r.value || !y.value
|
|
2124
2124
|
}, {
|
|
2125
2125
|
default: C(() => [
|
|
2126
|
-
w(
|
|
2126
|
+
w(Me, { class: "w-100 h-100" }, {
|
|
2127
2127
|
default: C(() => [
|
|
2128
2128
|
d("div", {
|
|
2129
2129
|
ref_key: "container",
|
|
@@ -2131,9 +2131,9 @@ const sn = {
|
|
|
2131
2131
|
class: ge({ mobile: R.value }),
|
|
2132
2132
|
onMousemove: oe
|
|
2133
2133
|
}, [
|
|
2134
|
-
d("div",
|
|
2135
|
-
d("div",
|
|
2136
|
-
y.value.cameras.length > 1 ? (m(), V(
|
|
2134
|
+
d("div", rn, [
|
|
2135
|
+
d("div", un, [
|
|
2136
|
+
y.value.cameras.length > 1 ? (m(), V(ja, {
|
|
2137
2137
|
key: 0,
|
|
2138
2138
|
"apartment-chooser-data": y.value,
|
|
2139
2139
|
"current-camera": t.value,
|
|
@@ -2141,8 +2141,8 @@ const sn = {
|
|
|
2141
2141
|
onOnCameraChange: k
|
|
2142
2142
|
}, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])) : U("", !0)
|
|
2143
2143
|
]),
|
|
2144
|
-
d("div",
|
|
2145
|
-
t.value.sunsimDayOfYear.length > 1 ? (m(), V(
|
|
2144
|
+
d("div", cn, [
|
|
2145
|
+
t.value.sunsimDayOfYear.length > 1 ? (m(), V(za, {
|
|
2146
2146
|
key: 0,
|
|
2147
2147
|
"camera-data": t.value,
|
|
2148
2148
|
"current-day": o.value,
|
|
@@ -2150,8 +2150,8 @@ const sn = {
|
|
|
2150
2150
|
onOnDayChange: G
|
|
2151
2151
|
}, null, 8, ["camera-data", "current-day", "disabled"])) : U("", !0)
|
|
2152
2152
|
]),
|
|
2153
|
-
d("div",
|
|
2154
|
-
o.value.timeSamples.length > 1 ? (m(), V(
|
|
2153
|
+
d("div", dn, [
|
|
2154
|
+
o.value.timeSamples.length > 1 ? (m(), V(qa, {
|
|
2155
2155
|
key: 0,
|
|
2156
2156
|
"day-data": o.value,
|
|
2157
2157
|
"current-time": i.value,
|
|
@@ -2160,8 +2160,8 @@ const sn = {
|
|
|
2160
2160
|
}, null, 8, ["day-data", "current-time", "disabled"])) : U("", !0)
|
|
2161
2161
|
])
|
|
2162
2162
|
]),
|
|
2163
|
-
d("div",
|
|
2164
|
-
y.value.cameras.length > 1 ? (m(), V(
|
|
2163
|
+
d("div", vn, [
|
|
2164
|
+
y.value.cameras.length > 1 ? (m(), V(Za, {
|
|
2165
2165
|
key: 0,
|
|
2166
2166
|
ref_key: "rotator",
|
|
2167
2167
|
ref: S,
|
|
@@ -2171,11 +2171,11 @@ const sn = {
|
|
|
2171
2171
|
"render-display": e.renderDisplay,
|
|
2172
2172
|
onOnDisplayClick: L,
|
|
2173
2173
|
onOnSceneChange: j,
|
|
2174
|
-
onOnRotateStart: $[0] || ($[0] = (
|
|
2175
|
-
onOnRotateFinish: $[1] || ($[1] = (
|
|
2174
|
+
onOnRotateStart: $[0] || ($[0] = (ae) => h.value = !0),
|
|
2175
|
+
onOnRotateFinish: $[1] || ($[1] = (ae) => h.value = !1)
|
|
2176
2176
|
}, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])) : U("", !0)
|
|
2177
2177
|
]),
|
|
2178
|
-
d("div",
|
|
2178
|
+
d("div", mn, [
|
|
2179
2179
|
t.value.cameraRotation ? (m(), V(qe, {
|
|
2180
2180
|
key: 0,
|
|
2181
2181
|
longitude: t.value.cameraRotation.y + 270
|
|
@@ -2183,14 +2183,14 @@ const sn = {
|
|
|
2183
2183
|
]),
|
|
2184
2184
|
w(Qe, { position: "relative" }, {
|
|
2185
2185
|
default: C(() => [
|
|
2186
|
-
(m(!0), x(
|
|
2187
|
-
key:
|
|
2188
|
-
"camera-data":
|
|
2186
|
+
(m(!0), x(ue, null, he(T.value, (ae) => (m(), V($a, {
|
|
2187
|
+
key: ae.overlayFilename,
|
|
2188
|
+
"camera-data": ae,
|
|
2189
2189
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2190
2190
|
"current-time": i.value
|
|
2191
2191
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
2192
|
-
(m(!0), x(
|
|
2193
|
-
"transition-data":
|
|
2192
|
+
(m(!0), x(ue, null, he(Y.value, (ae) => (m(), V(Ya, {
|
|
2193
|
+
"transition-data": ae,
|
|
2194
2194
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2195
2195
|
"current-transition": l.value
|
|
2196
2196
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 256)),
|
|
@@ -2199,16 +2199,16 @@ const sn = {
|
|
|
2199
2199
|
class: "w-100 h-100 position-absolute top-left",
|
|
2200
2200
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
2201
2201
|
innerHTML: e.customOverlayContent
|
|
2202
|
-
}, null, 8,
|
|
2203
|
-
pe(w(
|
|
2202
|
+
}, null, 8, pn)) : U("", !0),
|
|
2203
|
+
pe(w(Ka, {
|
|
2204
2204
|
"cdn-file-resolver": F.cdnFileResolver,
|
|
2205
2205
|
"color-callback": e.colorCallback,
|
|
2206
2206
|
"current-camera": t.value,
|
|
2207
2207
|
"selected-id": e.selectedId,
|
|
2208
2208
|
onOnClick: L,
|
|
2209
|
-
onOnHoverOver:
|
|
2209
|
+
onOnHoverOver: q,
|
|
2210
2210
|
onOnHoverOut: z,
|
|
2211
|
-
onUpdateSvgContainer: $[2] || ($[2] = (
|
|
2211
|
+
onUpdateSvgContainer: $[2] || ($[2] = (ae) => _.value = ae)
|
|
2212
2212
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"]), [
|
|
2213
2213
|
[fe, l.value === null]
|
|
2214
2214
|
])
|
|
@@ -2221,8 +2221,8 @@ const sn = {
|
|
|
2221
2221
|
pos: p.value
|
|
2222
2222
|
}, {
|
|
2223
2223
|
default: C(() => [
|
|
2224
|
-
d("div",
|
|
2225
|
-
|
|
2224
|
+
d("div", fn, [
|
|
2225
|
+
te(F.$slots, "popup", at(nt({ hoverId: u.value, hoverable: c.value })), void 0, !0)
|
|
2226
2226
|
])
|
|
2227
2227
|
]),
|
|
2228
2228
|
_: 3
|
|
@@ -2241,10 +2241,10 @@ const sn = {
|
|
|
2241
2241
|
], 64);
|
|
2242
2242
|
};
|
|
2243
2243
|
}
|
|
2244
|
-
}),
|
|
2244
|
+
}), Gr = /* @__PURE__ */ K(hn, [["__scopeId", "data-v-0310f66a"]]), gn = { class: "sunsim-bar-wrapper" }, yn = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, _n = {
|
|
2245
2245
|
key: 1,
|
|
2246
2246
|
class: "text-center text-body-1"
|
|
2247
|
-
},
|
|
2247
|
+
}, bn = { class: "sunsim-wrapper d-flex align-center px-3" }, Cn = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, wn = /* @__PURE__ */ P({
|
|
2248
2248
|
__name: "VBuildingChooserSunSimControl",
|
|
2249
2249
|
props: {
|
|
2250
2250
|
modelValue: {},
|
|
@@ -2284,8 +2284,8 @@ const sn = {
|
|
|
2284
2284
|
o.value = i(e.dateSelector.selectedDate);
|
|
2285
2285
|
}), (r, h) => {
|
|
2286
2286
|
const S = E("v-icon"), g = E("v-select"), c = E("v-progress-linear"), p = E("v-slider");
|
|
2287
|
-
return m(), x("div",
|
|
2288
|
-
d("div",
|
|
2287
|
+
return m(), x("div", gn, [
|
|
2288
|
+
d("div", yn, [
|
|
2289
2289
|
w(S, {
|
|
2290
2290
|
color: "black",
|
|
2291
2291
|
class: "mr-2",
|
|
@@ -2300,10 +2300,10 @@ const sn = {
|
|
|
2300
2300
|
variant: "underlined",
|
|
2301
2301
|
"hide-details": "",
|
|
2302
2302
|
class: "day-selector"
|
|
2303
|
-
}, null, 8, ["modelValue", "items"])) : (m(), x("span",
|
|
2303
|
+
}, null, 8, ["modelValue", "items"])) : (m(), x("span", _n, W(u.value), 1))
|
|
2304
2304
|
]),
|
|
2305
|
-
d("div",
|
|
2306
|
-
d("span",
|
|
2305
|
+
d("div", bn, [
|
|
2306
|
+
d("span", Cn, W(l.value), 1),
|
|
2307
2307
|
w(S, {
|
|
2308
2308
|
medium: "",
|
|
2309
2309
|
class: "ml-2 mr-2 icon"
|
|
@@ -2340,7 +2340,7 @@ const sn = {
|
|
|
2340
2340
|
]);
|
|
2341
2341
|
};
|
|
2342
2342
|
}
|
|
2343
|
-
}),
|
|
2343
|
+
}), Tt = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-d5a3d3f8"]]), kn = { key: 0 }, In = ["src"], Sn = /* @__PURE__ */ P({
|
|
2344
2344
|
__name: "VBuildingChooserSceneImageStack",
|
|
2345
2345
|
props: {
|
|
2346
2346
|
imageUrls: {},
|
|
@@ -2348,7 +2348,7 @@ const sn = {
|
|
|
2348
2348
|
},
|
|
2349
2349
|
emits: ["resize", "ready", "preloaded", "reset"],
|
|
2350
2350
|
setup(s, { emit: n }) {
|
|
2351
|
-
const e = s, a = n, t = f("init"), o = f(new
|
|
2351
|
+
const e = s, a = n, t = f("init"), o = f(new ft(0)), i = f();
|
|
2352
2352
|
H(
|
|
2353
2353
|
() => e.imageUrls,
|
|
2354
2354
|
(u) => {
|
|
@@ -2366,7 +2366,7 @@ const sn = {
|
|
|
2366
2366
|
t.value = "preloaded", a("preloaded");
|
|
2367
2367
|
}
|
|
2368
2368
|
function v(u) {
|
|
2369
|
-
t.value = "init", i.value.src = u[0], o.value = new
|
|
2369
|
+
t.value = "init", i.value.src = u[0], o.value = new ft(u.length).onLoadFinished(
|
|
2370
2370
|
() => {
|
|
2371
2371
|
t.value = "loaded", a("ready");
|
|
2372
2372
|
}
|
|
@@ -2380,23 +2380,23 @@ const sn = {
|
|
|
2380
2380
|
style: { opacity: 1, borderRadius: 50 },
|
|
2381
2381
|
onLoad: l
|
|
2382
2382
|
}, null, 544),
|
|
2383
|
-
t.value === "preloaded" || t.value === "loaded" ? pe((m(), x("div",
|
|
2384
|
-
(m(!0), x(
|
|
2383
|
+
t.value === "preloaded" || t.value === "loaded" ? pe((m(), x("div", kn, [
|
|
2384
|
+
(m(!0), x(ue, null, he(u.imageUrls, (h, S) => (m(), x("img", {
|
|
2385
2385
|
key: S,
|
|
2386
2386
|
class: ge({ "image-instance": !0, active: S === u.activeIndex }),
|
|
2387
2387
|
src: h,
|
|
2388
2388
|
onLoad: r[0] || (r[0] = (g) => o.value.partLoaded())
|
|
2389
|
-
}, null, 42,
|
|
2389
|
+
}, null, 42, In))), 128))
|
|
2390
2390
|
], 512)), [
|
|
2391
2391
|
[fe, t.value === "loaded"]
|
|
2392
2392
|
]) : U("", !0)
|
|
2393
2393
|
]));
|
|
2394
2394
|
}
|
|
2395
|
-
}),
|
|
2395
|
+
}), Vt = /* @__PURE__ */ K(Sn, [["__scopeId", "data-v-8d357c5f"]]), Dn = {
|
|
2396
2396
|
key: 0,
|
|
2397
2397
|
style: { height: "50vh" },
|
|
2398
2398
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2399
|
-
},
|
|
2399
|
+
}, An = { class: "image-instances" }, xn = { key: 0 }, Fn = { class: "svg-container" }, Ln = ["viewBox"], Mn = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], Tn = ["innerHTML"], Vn = /* @__PURE__ */ P({
|
|
2400
2400
|
__name: "VBuildingChooserSvg",
|
|
2401
2401
|
props: {
|
|
2402
2402
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2413,8 +2413,8 @@ const sn = {
|
|
|
2413
2413
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2414
2414
|
setup(s, { emit: n }) {
|
|
2415
2415
|
const e = s, a = n;
|
|
2416
|
-
|
|
2417
|
-
|
|
2416
|
+
tt(
|
|
2417
|
+
Ve,
|
|
2418
2418
|
e.i18nConfig ? new Ee(e.i18nConfig) : new Ee()
|
|
2419
2419
|
);
|
|
2420
2420
|
const t = f({
|
|
@@ -2425,37 +2425,37 @@ const sn = {
|
|
|
2425
2425
|
height: 0
|
|
2426
2426
|
}), i = f({ x: 0, y: 0, width: 0, height: 0 }), l = f(), v = f(
|
|
2427
2427
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2428
|
-
), u = f(!1), r = f(new be()), h = f(), S = f("0 0 0 0"), g = f(), c = f(), p = f(
|
|
2428
|
+
), u = f(!1), r = f(new be()), h = f(), S = f("0 0 0 0"), g = f(), c = f(), p = f(ze.empty()), _ = f(We.empty()), b = f(), y = O(() => b.value.isHoverEnabled);
|
|
2429
2429
|
H(l, (A, L) => {
|
|
2430
2430
|
A ? a("hoverOverBuilding", A) : a("hoverOutBuilding", L);
|
|
2431
2431
|
}), Ce(() => {
|
|
2432
2432
|
if (e.buildingChooserTimeOfDay) {
|
|
2433
|
-
const [A, L,
|
|
2433
|
+
const [A, L, q] = /^(\d\d):(\d\d)$/.exec(
|
|
2434
2434
|
e.buildingChooserTimeOfDay
|
|
2435
|
-
), z = parseInt(
|
|
2435
|
+
), z = parseInt(q);
|
|
2436
2436
|
v.value = parseInt(L) * 2 + (z < 15 ? 0 : z > 45 ? 2 : 1);
|
|
2437
2437
|
}
|
|
2438
2438
|
}), ye(async () => {
|
|
2439
|
-
const L = await new
|
|
2439
|
+
const L = await new Mt(
|
|
2440
2440
|
e.cdnFileResolver
|
|
2441
2441
|
).loadBuildingChooser(
|
|
2442
2442
|
e.buildingChooserData
|
|
2443
2443
|
);
|
|
2444
2444
|
if (L) {
|
|
2445
|
-
_.value = new
|
|
2445
|
+
_.value = new We(L.mapImage), p.value = new ze(L.buildingIds), g.value = new ct(L.backgrounds), c.value = {
|
|
2446
2446
|
buildingOverlays: L.buildingOverlays,
|
|
2447
2447
|
viewLongitude: L.viewLongitude
|
|
2448
2448
|
};
|
|
2449
|
-
const
|
|
2449
|
+
const q = [];
|
|
2450
2450
|
for (let { id: z, url: oe } of L.buildingOverlays)
|
|
2451
2451
|
r.value.loadJson(oe.replace(".png", ".svg")).then((F) => {
|
|
2452
2452
|
const ee = new DOMParser().parseFromString(F, "image/svg+xml").getElementsByTagName("svg")[0];
|
|
2453
|
-
S.value = ee.getAttribute("viewBox"),
|
|
2453
|
+
S.value = ee.getAttribute("viewBox"), q.push({
|
|
2454
2454
|
id: z,
|
|
2455
2455
|
svg: ee.innerHTML
|
|
2456
2456
|
});
|
|
2457
2457
|
});
|
|
2458
|
-
h.value =
|
|
2458
|
+
h.value = q;
|
|
2459
2459
|
} else
|
|
2460
2460
|
u.value = !0;
|
|
2461
2461
|
});
|
|
@@ -2469,8 +2469,8 @@ const sn = {
|
|
|
2469
2469
|
const L = e.colorCallback(
|
|
2470
2470
|
A,
|
|
2471
2471
|
A === l.value ? "hover" : "idle"
|
|
2472
|
-
),
|
|
2473
|
-
return A === l.value ?
|
|
2472
|
+
), q = [];
|
|
2473
|
+
return A === l.value ? q.push("hover") : q.push("idle"), L && e.canGoToBuildingCallback(A) ? q.push("clickable") : q.push("restricted"), q.join(" ");
|
|
2474
2474
|
}
|
|
2475
2475
|
function I(A) {
|
|
2476
2476
|
const L = e.colorCallback(
|
|
@@ -2478,12 +2478,12 @@ const sn = {
|
|
|
2478
2478
|
A === l.value ? "hover" : "idle"
|
|
2479
2479
|
);
|
|
2480
2480
|
if (L) {
|
|
2481
|
-
const { r:
|
|
2481
|
+
const { r: q, g: z, b: oe, a: F, s: $ } = L;
|
|
2482
2482
|
return {
|
|
2483
2483
|
strokeWidth: $ !== void 0 ? $ : 2,
|
|
2484
|
-
stroke: `rgb(${
|
|
2484
|
+
stroke: `rgb(${q}, ${z}, ${oe})`,
|
|
2485
2485
|
strokeOpacity: 1,
|
|
2486
|
-
fill: `rgb(${
|
|
2486
|
+
fill: `rgb(${q}, ${z}, ${oe})`,
|
|
2487
2487
|
fillOpacity: F / 255,
|
|
2488
2488
|
cursor: `${e.canGoToBuildingCallback(A) ? "cursor" : "default"} !important`
|
|
2489
2489
|
};
|
|
@@ -2498,27 +2498,27 @@ const sn = {
|
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
2500
|
function k(A, L) {
|
|
2501
|
-
const { layerX:
|
|
2501
|
+
const { layerX: q, layerY: z } = A;
|
|
2502
2502
|
y.value && (i.value = {
|
|
2503
|
-
x:
|
|
2503
|
+
x: q,
|
|
2504
2504
|
y: z,
|
|
2505
2505
|
width: o.value.width,
|
|
2506
2506
|
height: o.value.height
|
|
2507
2507
|
}, l.value = L, a("hoverOverBuilding", L));
|
|
2508
2508
|
}
|
|
2509
2509
|
function j(A, L) {
|
|
2510
|
-
const { layerX:
|
|
2510
|
+
const { layerX: q, layerY: z } = A;
|
|
2511
2511
|
y.value && (i.value = {
|
|
2512
|
-
x:
|
|
2512
|
+
x: q,
|
|
2513
2513
|
y: z,
|
|
2514
2514
|
width: o.value.width,
|
|
2515
2515
|
height: o.value.height
|
|
2516
2516
|
}, l.value = void 0, a("hoverOutBuilding", L));
|
|
2517
2517
|
}
|
|
2518
2518
|
function M(A, L) {
|
|
2519
|
-
const { layerX:
|
|
2519
|
+
const { layerX: q, layerY: z } = A;
|
|
2520
2520
|
y.value && (i.value = {
|
|
2521
|
-
x:
|
|
2521
|
+
x: q,
|
|
2522
2522
|
y: z,
|
|
2523
2523
|
width: o.value.width,
|
|
2524
2524
|
height: o.value.height
|
|
@@ -2528,9 +2528,9 @@ const sn = {
|
|
|
2528
2528
|
l.value = A, y.value && l.value && e.canGoToBuildingCallback(l.value) && a("goToBuilding", l.value);
|
|
2529
2529
|
}
|
|
2530
2530
|
return (A, L) => {
|
|
2531
|
-
const
|
|
2532
|
-
return u.value ? (m(), x("div",
|
|
2533
|
-
w(
|
|
2531
|
+
const q = E("v-icon");
|
|
2532
|
+
return u.value ? (m(), x("div", Dn, [
|
|
2533
|
+
w(q, { "x-large": "" }, {
|
|
2534
2534
|
default: C(() => [
|
|
2535
2535
|
X("mdi-alert-circle-outline")
|
|
2536
2536
|
]),
|
|
@@ -2546,8 +2546,8 @@ const sn = {
|
|
|
2546
2546
|
mobile: A.interactiveMobile
|
|
2547
2547
|
}, {
|
|
2548
2548
|
default: C(() => [
|
|
2549
|
-
d("div",
|
|
2550
|
-
w(
|
|
2549
|
+
d("div", An, [
|
|
2550
|
+
w(Vt, {
|
|
2551
2551
|
"image-urls": g.value.imageUrls,
|
|
2552
2552
|
"active-index": v.value,
|
|
2553
2553
|
onResize: R,
|
|
@@ -2555,10 +2555,10 @@ const sn = {
|
|
|
2555
2555
|
onReady: L[1] || (L[1] = (z) => t.value.ready = !0),
|
|
2556
2556
|
onReset: T
|
|
2557
2557
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2558
|
-
h.value ? pe((m(), x("div",
|
|
2559
|
-
d("div",
|
|
2558
|
+
h.value ? pe((m(), x("div", xn, [
|
|
2559
|
+
d("div", Fn, [
|
|
2560
2560
|
(m(), x("svg", { viewBox: S.value }, [
|
|
2561
|
-
(m(!0), x(
|
|
2561
|
+
(m(!0), x(ue, null, he(h.value, ({ id: z, svg: oe }, F) => (m(), x("g", {
|
|
2562
2562
|
key: F,
|
|
2563
2563
|
innerHTML: oe,
|
|
2564
2564
|
"data-building-id": z,
|
|
@@ -2568,8 +2568,8 @@ const sn = {
|
|
|
2568
2568
|
onMouseout: ($) => j($, z),
|
|
2569
2569
|
onMousemove: ($) => M($),
|
|
2570
2570
|
onClick: ($) => G(z)
|
|
2571
|
-
}, null, 46,
|
|
2572
|
-
], 8,
|
|
2571
|
+
}, null, 46, Mn))), 128))
|
|
2572
|
+
], 8, Ln))
|
|
2573
2573
|
])
|
|
2574
2574
|
], 512)), [
|
|
2575
2575
|
[fe, t.value.preloaded]
|
|
@@ -2577,7 +2577,7 @@ const sn = {
|
|
|
2577
2577
|
pe(d("div", {
|
|
2578
2578
|
class: "custom-overlay-layer",
|
|
2579
2579
|
innerHTML: A.customOverlayContent
|
|
2580
|
-
}, null, 8,
|
|
2580
|
+
}, null, 8, Tn), [
|
|
2581
2581
|
[fe, t.value.preloaded]
|
|
2582
2582
|
])
|
|
2583
2583
|
])
|
|
@@ -2590,7 +2590,7 @@ const sn = {
|
|
|
2590
2590
|
class: "north-indicator",
|
|
2591
2591
|
longitude: c.value.viewLongitude
|
|
2592
2592
|
}, null, 8, ["longitude"])) : U("", !0),
|
|
2593
|
-
w(
|
|
2593
|
+
w(Tt, {
|
|
2594
2594
|
modelValue: v.value,
|
|
2595
2595
|
"onUpdate:modelValue": L[2] || (L[2] = (z) => v.value = z),
|
|
2596
2596
|
"date-selector": g.value,
|
|
@@ -2606,7 +2606,7 @@ const sn = {
|
|
|
2606
2606
|
onOutside: L[3] || (L[3] = () => l.value = void 0)
|
|
2607
2607
|
}, {
|
|
2608
2608
|
default: C(() => [
|
|
2609
|
-
|
|
2609
|
+
te(A.$slots, "default", {
|
|
2610
2610
|
building: l.value,
|
|
2611
2611
|
canGoToBuilding: A.canGoToBuildingCallback(l.value),
|
|
2612
2612
|
goToBuilding: () => A.canGoToBuildingCallback(l.value) && a("goToBuilding", l.value),
|
|
@@ -2624,7 +2624,7 @@ const sn = {
|
|
|
2624
2624
|
], 4)) : U("", !0);
|
|
2625
2625
|
};
|
|
2626
2626
|
}
|
|
2627
|
-
}),
|
|
2627
|
+
}), En = /* @__PURE__ */ K(Vn, [["__scopeId", "data-v-9be2e160"]]), On = /* @__PURE__ */ P({
|
|
2628
2628
|
__name: "VBuildingChooserRasterOverlay",
|
|
2629
2629
|
props: {
|
|
2630
2630
|
imageUrl: {},
|
|
@@ -2666,17 +2666,17 @@ const sn = {
|
|
|
2666
2666
|
for (let g = 0; g < v.value.length; g++)
|
|
2667
2667
|
l.value.data[v.value[g] - 3] = e.color.r, l.value.data[v.value[g] - 2] = e.color.g, l.value.data[v.value[g] - 1] = e.color.b, l.value.data[v.value[g]] = e.color.a;
|
|
2668
2668
|
}
|
|
2669
|
-
return (g, c) => (m(), x("canvas",
|
|
2669
|
+
return (g, c) => (m(), x("canvas", Ie({
|
|
2670
2670
|
ref_key: "canvas",
|
|
2671
2671
|
ref: u,
|
|
2672
2672
|
class: "overlay"
|
|
2673
2673
|
}, g.dimensions), null, 16));
|
|
2674
2674
|
}
|
|
2675
|
-
}),
|
|
2675
|
+
}), Bn = /* @__PURE__ */ K(On, [["__scopeId", "data-v-9e4cdd0e"]]), Rn = {
|
|
2676
2676
|
key: 0,
|
|
2677
2677
|
style: { height: "50vh" },
|
|
2678
2678
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2679
|
-
},
|
|
2679
|
+
}, $n = { class: "image-instances" }, Un = ["innerHTML"], Hn = /* @__PURE__ */ P({
|
|
2680
2680
|
__name: "VBuildingChooserRaster",
|
|
2681
2681
|
props: {
|
|
2682
2682
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2693,8 +2693,8 @@ const sn = {
|
|
|
2693
2693
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2694
2694
|
setup(s, { emit: n }) {
|
|
2695
2695
|
const e = s, a = n;
|
|
2696
|
-
|
|
2697
|
-
|
|
2696
|
+
tt(
|
|
2697
|
+
Ve,
|
|
2698
2698
|
e.i18nConfig ? new Ee(e.i18nConfig) : new Ee()
|
|
2699
2699
|
);
|
|
2700
2700
|
const t = f(), o = f({
|
|
@@ -2703,7 +2703,7 @@ const sn = {
|
|
|
2703
2703
|
}), i = f({
|
|
2704
2704
|
width: 0,
|
|
2705
2705
|
height: 0
|
|
2706
|
-
}), l = f({ x: 0, y: 0, width: 0, height: 0 }), v = f(), u = f(
|
|
2706
|
+
}), l = f({ x: 0, y: 0, width: 0, height: 0 }), v = f(), u = f(ze.empty()), r = f(We.empty()), h = f(), S = f(
|
|
2707
2707
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2708
2708
|
), g = f(
|
|
2709
2709
|
(A, L) => ({ x: A, y: L })
|
|
@@ -2713,20 +2713,20 @@ const sn = {
|
|
|
2713
2713
|
});
|
|
2714
2714
|
Ce(() => {
|
|
2715
2715
|
if (e.buildingChooserTimeOfDay) {
|
|
2716
|
-
const [A, L,
|
|
2716
|
+
const [A, L, q] = /^(\d\d):(\d\d)$/.exec(
|
|
2717
2717
|
e.buildingChooserTimeOfDay
|
|
2718
|
-
), z = parseInt(
|
|
2718
|
+
), z = parseInt(q);
|
|
2719
2719
|
S.value = parseInt(L) * 2 + (z < 15 ? 0 : z > 45 ? 2 : 1);
|
|
2720
2720
|
}
|
|
2721
2721
|
}), H(h, (A, L) => {
|
|
2722
2722
|
A ? a("hoverOverBuilding", A) : a("hoverOutBuilding", L);
|
|
2723
2723
|
}), ye(async () => {
|
|
2724
|
-
const L = await new
|
|
2724
|
+
const L = await new Mt(
|
|
2725
2725
|
e.cdnFileResolver
|
|
2726
2726
|
).loadBuildingChooser(
|
|
2727
2727
|
e.buildingChooserData
|
|
2728
2728
|
);
|
|
2729
|
-
L ? (r.value = new
|
|
2729
|
+
L ? (r.value = new We(L.mapImage), u.value = new ze(L.buildingIds), t.value = new ct(L.backgrounds), v.value = {
|
|
2730
2730
|
buildingOverlays: L.buildingOverlays,
|
|
2731
2731
|
viewLongitude: L.viewLongitude
|
|
2732
2732
|
}, I()) : c.value = !0;
|
|
@@ -2738,7 +2738,7 @@ const sn = {
|
|
|
2738
2738
|
o.value = { preloaded: !1, ready: !1 };
|
|
2739
2739
|
}
|
|
2740
2740
|
function Y(A) {
|
|
2741
|
-
const { layerX: L, layerY:
|
|
2741
|
+
const { layerX: L, layerY: q } = A, { x: z, y: oe } = g.value(L, q);
|
|
2742
2742
|
return u.value.getBuildingId(
|
|
2743
2743
|
r.value,
|
|
2744
2744
|
z,
|
|
@@ -2751,10 +2751,10 @@ const sn = {
|
|
|
2751
2751
|
A.setupDraw();
|
|
2752
2752
|
}
|
|
2753
2753
|
function k(A) {
|
|
2754
|
-
const { layerX: L, layerY:
|
|
2754
|
+
const { layerX: L, layerY: q } = A;
|
|
2755
2755
|
y.value && (h.value = Y(A), h.value !== void 0 && (l.value = {
|
|
2756
2756
|
x: L,
|
|
2757
|
-
y:
|
|
2757
|
+
y: q,
|
|
2758
2758
|
width: i.value.width,
|
|
2759
2759
|
height: i.value.height
|
|
2760
2760
|
}));
|
|
@@ -2772,9 +2772,9 @@ const sn = {
|
|
|
2772
2772
|
g.value = A;
|
|
2773
2773
|
}
|
|
2774
2774
|
return (A, L) => {
|
|
2775
|
-
const
|
|
2776
|
-
return c.value ? (m(), x("div",
|
|
2777
|
-
w(
|
|
2775
|
+
const q = E("v-icon");
|
|
2776
|
+
return c.value ? (m(), x("div", Rn, [
|
|
2777
|
+
w(q, { "x-large": "" }, {
|
|
2778
2778
|
default: C(() => [
|
|
2779
2779
|
X("mdi-alert-circle-outline")
|
|
2780
2780
|
]),
|
|
@@ -2791,8 +2791,8 @@ const sn = {
|
|
|
2791
2791
|
onUpdate: G
|
|
2792
2792
|
}, {
|
|
2793
2793
|
default: C(() => [
|
|
2794
|
-
d("div",
|
|
2795
|
-
w(
|
|
2794
|
+
d("div", $n, [
|
|
2795
|
+
w(Vt, {
|
|
2796
2796
|
"image-urls": t.value.imageUrls,
|
|
2797
2797
|
"active-index": S.value,
|
|
2798
2798
|
onResize: R,
|
|
@@ -2801,7 +2801,7 @@ const sn = {
|
|
|
2801
2801
|
onReset: T
|
|
2802
2802
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2803
2803
|
pe(d("div", null, [
|
|
2804
|
-
(m(!0), x(
|
|
2804
|
+
(m(!0), x(ue, null, he(v.value.buildingOverlays, (z) => (m(), V(Bn, {
|
|
2805
2805
|
ref_for: !0,
|
|
2806
2806
|
ref_key: "overlays",
|
|
2807
2807
|
ref: b,
|
|
@@ -2814,7 +2814,7 @@ const sn = {
|
|
|
2814
2814
|
[fe, o.value.preloaded]
|
|
2815
2815
|
])
|
|
2816
2816
|
]),
|
|
2817
|
-
d("canvas",
|
|
2817
|
+
d("canvas", Ie(i.value, {
|
|
2818
2818
|
ref_key: "canvas",
|
|
2819
2819
|
ref: _,
|
|
2820
2820
|
class: { hover: !!h.value },
|
|
@@ -2824,7 +2824,7 @@ const sn = {
|
|
|
2824
2824
|
pe(d("div", {
|
|
2825
2825
|
class: "custom-overlay-layer",
|
|
2826
2826
|
innerHTML: A.customOverlayContent
|
|
2827
|
-
}, null, 8,
|
|
2827
|
+
}, null, 8, Un), [
|
|
2828
2828
|
[fe, o.value.preloaded]
|
|
2829
2829
|
])
|
|
2830
2830
|
]),
|
|
@@ -2836,7 +2836,7 @@ const sn = {
|
|
|
2836
2836
|
class: "north-indicator",
|
|
2837
2837
|
longitude: v.value.viewLongitude
|
|
2838
2838
|
}, null, 8, ["longitude"])) : U("", !0),
|
|
2839
|
-
w(
|
|
2839
|
+
w(Tt, {
|
|
2840
2840
|
modelValue: S.value,
|
|
2841
2841
|
"onUpdate:modelValue": L[2] || (L[2] = (z) => S.value = z),
|
|
2842
2842
|
"date-selector": t.value,
|
|
@@ -2852,7 +2852,7 @@ const sn = {
|
|
|
2852
2852
|
onOutside: L[3] || (L[3] = () => h.value = void 0)
|
|
2853
2853
|
}, {
|
|
2854
2854
|
default: C(() => [
|
|
2855
|
-
|
|
2855
|
+
te(A.$slots, "default", {
|
|
2856
2856
|
building: h.value,
|
|
2857
2857
|
canGoToBuilding: A.canGoToBuildingCallback(h.value),
|
|
2858
2858
|
goToBuilding: () => A.canGoToBuildingCallback(h.value) && a("goToBuilding", h.value),
|
|
@@ -2870,7 +2870,7 @@ const sn = {
|
|
|
2870
2870
|
], 4)) : U("", !0);
|
|
2871
2871
|
};
|
|
2872
2872
|
}
|
|
2873
|
-
}),
|
|
2873
|
+
}), Yn = /* @__PURE__ */ K(Hn, [["__scopeId", "data-v-5402374e"]]), Pn = /* @__PURE__ */ P({
|
|
2874
2874
|
__name: "VBuildingChooser",
|
|
2875
2875
|
props: {
|
|
2876
2876
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2888,9 +2888,9 @@ const sn = {
|
|
|
2888
2888
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
2889
2889
|
setup(s, { emit: n }) {
|
|
2890
2890
|
const e = s, a = n, t = O(
|
|
2891
|
-
() => e.useSvg ?
|
|
2891
|
+
() => e.useSvg ? En : Yn
|
|
2892
2892
|
);
|
|
2893
|
-
return (o, i) => (m(), V(
|
|
2893
|
+
return (o, i) => (m(), V(xt(t.value), {
|
|
2894
2894
|
"i18n-config": e.i18nConfig,
|
|
2895
2895
|
"show-cards": e.showCards,
|
|
2896
2896
|
"color-callback": e.colorCallback,
|
|
@@ -2904,16 +2904,16 @@ const sn = {
|
|
|
2904
2904
|
onGoToBuilding: i[0] || (i[0] = (l) => a("goToBuilding", l)),
|
|
2905
2905
|
onHoverOverBuilding: i[1] || (i[1] = (l) => a("hoverOverBuilding", l)),
|
|
2906
2906
|
onHoverOutBuilding: i[2] || (i[2] = (l) => a("hoverOutBuilding", l))
|
|
2907
|
-
},
|
|
2907
|
+
}, Nt({ _: 2 }, [
|
|
2908
2908
|
he(Object.keys(o.$slots), (l) => ({
|
|
2909
2909
|
name: l,
|
|
2910
2910
|
fn: C((v) => [
|
|
2911
|
-
|
|
2911
|
+
te(o.$slots, l, at(nt(v)))
|
|
2912
2912
|
])
|
|
2913
2913
|
}))
|
|
2914
2914
|
]), 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"]));
|
|
2915
2915
|
}
|
|
2916
|
-
}),
|
|
2916
|
+
}), jn = ["src"], zn = /* @__PURE__ */ P({
|
|
2917
2917
|
__name: "VBuildingChooserV5CameraDayTimeSample",
|
|
2918
2918
|
props: {
|
|
2919
2919
|
timeSampleData: {},
|
|
@@ -2921,16 +2921,16 @@ const sn = {
|
|
|
2921
2921
|
currentTime: {}
|
|
2922
2922
|
},
|
|
2923
2923
|
setup(s) {
|
|
2924
|
-
const n = s, e = O(() =>
|
|
2924
|
+
const n = s, e = O(() => ie(n.cdnFileResolver, n.timeSampleData.filename));
|
|
2925
2925
|
return (a, t) => pe((m(), x("img", {
|
|
2926
2926
|
key: e.value,
|
|
2927
2927
|
src: e.value,
|
|
2928
2928
|
width: "100%"
|
|
2929
|
-
}, null, 8,
|
|
2929
|
+
}, null, 8, jn)), [
|
|
2930
2930
|
[fe, a.timeSampleData === a.currentTime]
|
|
2931
2931
|
]);
|
|
2932
2932
|
}
|
|
2933
|
-
}),
|
|
2933
|
+
}), Wn = /* @__PURE__ */ K(zn, [["__scopeId", "data-v-9866b8c2"]]), Nn = /* @__PURE__ */ P({
|
|
2934
2934
|
__name: "VBuildingChooserV5CameraDay",
|
|
2935
2935
|
props: {
|
|
2936
2936
|
dayData: {},
|
|
@@ -2939,13 +2939,13 @@ const sn = {
|
|
|
2939
2939
|
},
|
|
2940
2940
|
setup(s) {
|
|
2941
2941
|
const n = s;
|
|
2942
|
-
return (e, a) => (m(!0), x(
|
|
2942
|
+
return (e, a) => (m(!0), x(ue, null, he(n.dayData.timeSamples, (t) => (m(), V(Wn, {
|
|
2943
2943
|
"time-sample-data": t,
|
|
2944
2944
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
2945
2945
|
"current-time": e.currentTime
|
|
2946
2946
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2947
2947
|
}
|
|
2948
|
-
}),
|
|
2948
|
+
}), Gn = /* @__PURE__ */ P({
|
|
2949
2949
|
__name: "VBuildingChooserV5Camera",
|
|
2950
2950
|
props: {
|
|
2951
2951
|
cameraData: {},
|
|
@@ -2954,13 +2954,13 @@ const sn = {
|
|
|
2954
2954
|
},
|
|
2955
2955
|
setup(s) {
|
|
2956
2956
|
const n = s;
|
|
2957
|
-
return (e, a) => (m(!0), x(
|
|
2957
|
+
return (e, a) => (m(!0), x(ue, null, he(n.cameraData.sunsimDayOfYear, (t) => (m(), V(Nn, {
|
|
2958
2958
|
"day-data": t,
|
|
2959
2959
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
2960
2960
|
"current-time": n.currentTime
|
|
2961
2961
|
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"]))), 256));
|
|
2962
2962
|
}
|
|
2963
|
-
}),
|
|
2963
|
+
}), Qn = /* @__PURE__ */ P({
|
|
2964
2964
|
__name: "VBuildingChooserV5UiCamera",
|
|
2965
2965
|
props: {
|
|
2966
2966
|
buildingChooserData: {},
|
|
@@ -2992,7 +2992,7 @@ const sn = {
|
|
|
2992
2992
|
}, null, 8, ["modelValue", "items"]);
|
|
2993
2993
|
};
|
|
2994
2994
|
}
|
|
2995
|
-
}),
|
|
2995
|
+
}), qn = /* @__PURE__ */ P({
|
|
2996
2996
|
__name: "VBuildingChooserV5UiDay",
|
|
2997
2997
|
props: {
|
|
2998
2998
|
cameraData: {},
|
|
@@ -3034,7 +3034,7 @@ const sn = {
|
|
|
3034
3034
|
"hide-details": ""
|
|
3035
3035
|
}, {
|
|
3036
3036
|
item: C(({ props: r }) => [
|
|
3037
|
-
w(v,
|
|
3037
|
+
w(v, Ie(r, {
|
|
3038
3038
|
title: o(r.title)
|
|
3039
3039
|
}), null, 16, ["title"])
|
|
3040
3040
|
]),
|
|
@@ -3045,10 +3045,10 @@ const sn = {
|
|
|
3045
3045
|
}, 8, ["modelValue", "items"]);
|
|
3046
3046
|
};
|
|
3047
3047
|
}
|
|
3048
|
-
}),
|
|
3048
|
+
}), Zn = {
|
|
3049
3049
|
key: 0,
|
|
3050
3050
|
class: "py-2"
|
|
3051
|
-
},
|
|
3051
|
+
}, Jn = { class: "small" }, Xn = { class: "small" }, Kn = /* @__PURE__ */ P({
|
|
3052
3052
|
__name: "VBuildingChooserV5UiTimeSample",
|
|
3053
3053
|
props: {
|
|
3054
3054
|
dayData: {},
|
|
@@ -3088,7 +3088,7 @@ const sn = {
|
|
|
3088
3088
|
const r = E("v-icon"), h = E("v-btn"), S = E("v-slider"), g = E("v-field");
|
|
3089
3089
|
return m(), V(g, { variant: "solo" }, {
|
|
3090
3090
|
default: C(() => [
|
|
3091
|
-
v.dayData.startTime === v.dayData.endTime ? (m(), x("div",
|
|
3091
|
+
v.dayData.startTime === v.dayData.endTime ? (m(), x("div", Zn, [
|
|
3092
3092
|
w(r, {
|
|
3093
3093
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3094
3094
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -3117,10 +3117,10 @@ const sn = {
|
|
|
3117
3117
|
onClick: l
|
|
3118
3118
|
}, null, 8, ["icon"]),
|
|
3119
3119
|
X(" "),
|
|
3120
|
-
d("span",
|
|
3120
|
+
d("span", Jn, W(i(v.dayData.startTime)), 1)
|
|
3121
3121
|
]),
|
|
3122
3122
|
append: C(() => [
|
|
3123
|
-
d("span",
|
|
3123
|
+
d("span", Xn, W(i(v.dayData.endTime)), 1),
|
|
3124
3124
|
X(" "),
|
|
3125
3125
|
w(r, {
|
|
3126
3126
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -3140,7 +3140,7 @@ const sn = {
|
|
|
3140
3140
|
});
|
|
3141
3141
|
};
|
|
3142
3142
|
}
|
|
3143
|
-
}),
|
|
3143
|
+
}), eo = /* @__PURE__ */ K(Kn, [["__scopeId", "data-v-42a733f4"]]), to = ["innerHTML"], ao = /* @__PURE__ */ P({
|
|
3144
3144
|
__name: "VBuildingChooserV5Overlay",
|
|
3145
3145
|
props: {
|
|
3146
3146
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3150,7 +3150,7 @@ const sn = {
|
|
|
3150
3150
|
},
|
|
3151
3151
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
3152
3152
|
setup(s, { emit: n }) {
|
|
3153
|
-
const e = s, a = n, t = f(), o = f(), i = f(e.selectedId), l =
|
|
3153
|
+
const e = s, a = n, t = f(), o = f(), i = f(e.selectedId), l = rt({});
|
|
3154
3154
|
Ce(() => {
|
|
3155
3155
|
for (const r in l) {
|
|
3156
3156
|
const { element: h, state: S } = l[r], { r: g, g: c, b: p, a: _, s: b } = e.colorCallback(r, S) || {
|
|
@@ -3172,7 +3172,7 @@ const sn = {
|
|
|
3172
3172
|
l[r].state === "selected" && r !== i.value ? l[r].state = "idle" : l[r].state !== "selected" && r === i.value && (l[r].state = "selected");
|
|
3173
3173
|
}), Ce(async () => {
|
|
3174
3174
|
t.value = await be.loadText(
|
|
3175
|
-
|
|
3175
|
+
ie(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
3176
3176
|
), u();
|
|
3177
3177
|
}), H(
|
|
3178
3178
|
() => o.value,
|
|
@@ -3218,7 +3218,7 @@ const sn = {
|
|
|
3218
3218
|
}));
|
|
3219
3219
|
});
|
|
3220
3220
|
}
|
|
3221
|
-
return (r, h) => (m(), V(
|
|
3221
|
+
return (r, h) => (m(), V(Me, null, {
|
|
3222
3222
|
default: C(() => [
|
|
3223
3223
|
(m(), x("div", {
|
|
3224
3224
|
ref_key: "svgContainer",
|
|
@@ -3227,13 +3227,13 @@ const sn = {
|
|
|
3227
3227
|
class: "w-100 h-100 position-absolute top-left",
|
|
3228
3228
|
style: { "z-index": "4" },
|
|
3229
3229
|
innerHTML: t.value
|
|
3230
|
-
}, null, 8,
|
|
3230
|
+
}, null, 8, to))
|
|
3231
3231
|
]),
|
|
3232
3232
|
_: 1
|
|
3233
3233
|
}));
|
|
3234
3234
|
}
|
|
3235
|
-
}),
|
|
3236
|
-
function
|
|
3235
|
+
}), no = /* @__PURE__ */ K(ao, [["__scopeId", "data-v-61c8ae69"]]);
|
|
3236
|
+
function oo(s) {
|
|
3237
3237
|
const n = {
|
|
3238
3238
|
version: "5.0",
|
|
3239
3239
|
latitude: s.latitude,
|
|
@@ -3279,16 +3279,16 @@ function no(s) {
|
|
|
3279
3279
|
};
|
|
3280
3280
|
return n.cameras.push(a), n;
|
|
3281
3281
|
}
|
|
3282
|
-
const
|
|
3282
|
+
const lo = {
|
|
3283
3283
|
class: "actions-bar compact top-left d-flex w-100 justify-space-around align-center",
|
|
3284
3284
|
style: { "z-index": "6" }
|
|
3285
|
-
},
|
|
3285
|
+
}, so = {
|
|
3286
3286
|
key: 0,
|
|
3287
3287
|
class: "pa-1"
|
|
3288
|
-
},
|
|
3288
|
+
}, ro = { class: "pa-1" }, io = { class: "pa-1 flex-grow-1" }, uo = {
|
|
3289
3289
|
class: "position-absolute bottom-right-compact pa-2",
|
|
3290
3290
|
style: { "z-index": "6", width: "56px", height: "56px" }
|
|
3291
|
-
},
|
|
3291
|
+
}, co = ["innerHTML"], vo = { style: { "z-index": "7" } }, mo = /* @__PURE__ */ P({
|
|
3292
3292
|
__name: "VBuildingChooserV5",
|
|
3293
3293
|
props: {
|
|
3294
3294
|
buildingChooserData: {},
|
|
@@ -3324,8 +3324,8 @@ const oo = {
|
|
|
3324
3324
|
return k;
|
|
3325
3325
|
let j;
|
|
3326
3326
|
return j = await be.loadJson(
|
|
3327
|
-
|
|
3328
|
-
), parseInt(j.version) === 5 ? j : (k =
|
|
3327
|
+
ie(e.cdnFileResolver, "/buildingChooser.json")
|
|
3328
|
+
), parseInt(j.version) === 5 ? j : (k = oo(j), k);
|
|
3329
3329
|
} catch (k) {
|
|
3330
3330
|
v.value = !1, a("onError", k);
|
|
3331
3331
|
}
|
|
@@ -3411,14 +3411,14 @@ const oo = {
|
|
|
3411
3411
|
}
|
|
3412
3412
|
return (k, j) => {
|
|
3413
3413
|
const M = E("v-skeleton-loader");
|
|
3414
|
-
return m(), x(
|
|
3414
|
+
return m(), x(ue, null, [
|
|
3415
3415
|
w(M, {
|
|
3416
3416
|
type: "image",
|
|
3417
3417
|
class: "w-100 h-100 position-relative",
|
|
3418
3418
|
loading: !v.value || !c.value
|
|
3419
3419
|
}, {
|
|
3420
3420
|
default: C(() => [
|
|
3421
|
-
w(
|
|
3421
|
+
w(Me, { class: "w-100 h-100" }, {
|
|
3422
3422
|
default: C(() => [
|
|
3423
3423
|
d("div", {
|
|
3424
3424
|
ref_key: "container",
|
|
@@ -3426,24 +3426,24 @@ const oo = {
|
|
|
3426
3426
|
class: ge({ mobile: p.value }),
|
|
3427
3427
|
onMousemove: I
|
|
3428
3428
|
}, [
|
|
3429
|
-
d("div",
|
|
3430
|
-
c.value.cameras.length > 1 ? (m(), x("div",
|
|
3431
|
-
w(
|
|
3429
|
+
d("div", lo, [
|
|
3430
|
+
c.value.cameras.length > 1 ? (m(), x("div", so, [
|
|
3431
|
+
w(Qn, {
|
|
3432
3432
|
"building-chooser-data": c.value,
|
|
3433
3433
|
"current-camera": t.value,
|
|
3434
3434
|
onOnCameraChange: b
|
|
3435
3435
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3436
3436
|
])) : U("", !0),
|
|
3437
|
-
d("div",
|
|
3438
|
-
t.value.sunsimDayOfYear.length > 1 ? (m(), V(
|
|
3437
|
+
d("div", ro, [
|
|
3438
|
+
t.value.sunsimDayOfYear.length > 1 ? (m(), V(qn, {
|
|
3439
3439
|
key: 0,
|
|
3440
3440
|
"camera-data": t.value,
|
|
3441
3441
|
"current-day": o.value,
|
|
3442
3442
|
onOnDayChange: y
|
|
3443
3443
|
}, null, 8, ["camera-data", "current-day"])) : U("", !0)
|
|
3444
3444
|
]),
|
|
3445
|
-
d("div",
|
|
3446
|
-
o.value.timeSamples.length > 1 ? (m(), V(
|
|
3445
|
+
d("div", io, [
|
|
3446
|
+
o.value.timeSamples.length > 1 ? (m(), V(eo, {
|
|
3447
3447
|
key: 0,
|
|
3448
3448
|
"day-data": o.value,
|
|
3449
3449
|
"current-time": i.value,
|
|
@@ -3451,7 +3451,7 @@ const oo = {
|
|
|
3451
3451
|
}, null, 8, ["day-data", "current-time"])) : U("", !0)
|
|
3452
3452
|
])
|
|
3453
3453
|
]),
|
|
3454
|
-
d("div",
|
|
3454
|
+
d("div", uo, [
|
|
3455
3455
|
t.value.cameraRotation ? (m(), V(qe, {
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
longitude: t.value.cameraRotation.y + 270
|
|
@@ -3459,7 +3459,7 @@ const oo = {
|
|
|
3459
3459
|
]),
|
|
3460
3460
|
w(Qe, { position: "relative" }, {
|
|
3461
3461
|
default: C(() => [
|
|
3462
|
-
(m(!0), x(
|
|
3462
|
+
(m(!0), x(ue, null, he(c.value.cameras, (G) => (m(), V(Gn, {
|
|
3463
3463
|
key: G.overlayFilename,
|
|
3464
3464
|
"camera-data": G,
|
|
3465
3465
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
@@ -3470,8 +3470,8 @@ const oo = {
|
|
|
3470
3470
|
class: "w-100 h-100 position-absolute top-left",
|
|
3471
3471
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
3472
3472
|
innerHTML: e.customOverlayContent
|
|
3473
|
-
}, null, 8,
|
|
3474
|
-
w(
|
|
3473
|
+
}, null, 8, co)) : U("", !0),
|
|
3474
|
+
w(no, {
|
|
3475
3475
|
"cdn-file-resolver": k.cdnFileResolver,
|
|
3476
3476
|
"color-callback": e.colorCallback,
|
|
3477
3477
|
"current-camera": t.value,
|
|
@@ -3490,8 +3490,8 @@ const oo = {
|
|
|
3490
3490
|
pos: h.value
|
|
3491
3491
|
}, {
|
|
3492
3492
|
default: C(() => [
|
|
3493
|
-
d("div",
|
|
3494
|
-
|
|
3493
|
+
d("div", vo, [
|
|
3494
|
+
te(k.$slots, "popup", at(nt({ hoverId: l.value, hoverable: r.value })), void 0, !0)
|
|
3495
3495
|
])
|
|
3496
3496
|
]),
|
|
3497
3497
|
_: 3
|
|
@@ -3510,48 +3510,48 @@ const oo = {
|
|
|
3510
3510
|
], 64);
|
|
3511
3511
|
};
|
|
3512
3512
|
}
|
|
3513
|
-
}),
|
|
3513
|
+
}), Qr = /* @__PURE__ */ K(mo, [["__scopeId", "data-v-47df87bc"]]);
|
|
3514
3514
|
var Ze = {};
|
|
3515
3515
|
Object.defineProperty(Ze, "__esModule", {
|
|
3516
3516
|
value: !0
|
|
3517
3517
|
});
|
|
3518
|
-
var
|
|
3518
|
+
var po = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
3519
3519
|
return typeof s;
|
|
3520
3520
|
} : function(s) {
|
|
3521
3521
|
return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
|
|
3522
|
-
},
|
|
3523
|
-
Ze.isWebWorker =
|
|
3524
|
-
Ze.isNode =
|
|
3525
|
-
Ze.isJsDom =
|
|
3526
|
-
Ze.isDeno =
|
|
3527
|
-
const
|
|
3522
|
+
}, fo = typeof window < "u" && typeof window.document < "u", ho = typeof process < "u" && process.versions != null && process.versions.node != null, go = (typeof self > "u" ? "undefined" : po(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", yo = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), _o = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", bo = Ze.isBrowser = fo;
|
|
3523
|
+
Ze.isWebWorker = go;
|
|
3524
|
+
Ze.isNode = ho;
|
|
3525
|
+
Ze.isJsDom = yo;
|
|
3526
|
+
Ze.isDeno = _o;
|
|
3527
|
+
const Co = { id: "player-wrapper" }, wo = { id: "player-sizer" }, ko = {
|
|
3528
3528
|
class: "player-control",
|
|
3529
3529
|
id: "controls-top-left"
|
|
3530
|
-
},
|
|
3530
|
+
}, Io = {
|
|
3531
3531
|
class: "player-control",
|
|
3532
3532
|
id: "controls-top-center"
|
|
3533
|
-
},
|
|
3533
|
+
}, So = {
|
|
3534
3534
|
class: "player-control",
|
|
3535
3535
|
id: "controls-top-right"
|
|
3536
|
-
},
|
|
3536
|
+
}, Do = {
|
|
3537
3537
|
class: "player-control",
|
|
3538
3538
|
id: "controls-center-left"
|
|
3539
|
-
},
|
|
3539
|
+
}, Ao = {
|
|
3540
3540
|
class: "player-control",
|
|
3541
3541
|
id: "controls-center-center"
|
|
3542
|
-
},
|
|
3542
|
+
}, xo = {
|
|
3543
3543
|
class: "player-control",
|
|
3544
3544
|
id: "controls-center-right"
|
|
3545
|
-
},
|
|
3545
|
+
}, Fo = {
|
|
3546
3546
|
class: "player-control",
|
|
3547
3547
|
id: "controls-bottom-left"
|
|
3548
|
-
},
|
|
3548
|
+
}, Lo = {
|
|
3549
3549
|
class: "player-control",
|
|
3550
3550
|
id: "controls-bottom-center"
|
|
3551
|
-
},
|
|
3551
|
+
}, Mo = {
|
|
3552
3552
|
class: "player-control",
|
|
3553
3553
|
id: "controls-bottom-right"
|
|
3554
|
-
},
|
|
3554
|
+
}, To = { id: "main-canvas" }, Vo = /* @__PURE__ */ P({
|
|
3555
3555
|
__name: "VPlayer",
|
|
3556
3556
|
props: {
|
|
3557
3557
|
cdnFileResolver: {},
|
|
@@ -3564,7 +3564,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3564
3564
|
},
|
|
3565
3565
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "playerApiCallback", "newSizeCallback"],
|
|
3566
3566
|
setup(s, { emit: n }) {
|
|
3567
|
-
const e =
|
|
3567
|
+
const e = qt.PlayerV2, a = s, t = n, o = f(), i = f(), l = f(0), v = f(0);
|
|
3568
3568
|
return H(
|
|
3569
3569
|
[
|
|
3570
3570
|
() => a.cdnFileResolver,
|
|
@@ -3572,28 +3572,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3572
3572
|
() => a.apartmentId
|
|
3573
3573
|
],
|
|
3574
3574
|
async () => {
|
|
3575
|
+
const u = i.value;
|
|
3575
3576
|
o.value && await o.value.loadInterior(
|
|
3576
|
-
|
|
3577
|
-
a.cdnFileResolver,
|
|
3578
|
-
`/${a.interiorId}/${a.apartmentId}`
|
|
3579
|
-
),
|
|
3580
|
-
i.value,
|
|
3581
|
-
!1
|
|
3582
|
-
);
|
|
3583
|
-
}
|
|
3584
|
-
), H(
|
|
3585
|
-
[
|
|
3586
|
-
() => a.cdnFileResolver,
|
|
3587
|
-
() => a.interiorId,
|
|
3588
|
-
() => a.apartmentId
|
|
3589
|
-
],
|
|
3590
|
-
async () => {
|
|
3591
|
-
o.value && await o.value.loadInterior(
|
|
3592
|
-
re(
|
|
3577
|
+
ie(
|
|
3593
3578
|
a.cdnFileResolver,
|
|
3594
3579
|
`/${a.interiorId}/${a.apartmentId}`
|
|
3595
3580
|
),
|
|
3596
|
-
|
|
3581
|
+
u,
|
|
3597
3582
|
!1
|
|
3598
3583
|
);
|
|
3599
3584
|
},
|
|
@@ -3625,10 +3610,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3625
3610
|
t("newRotationCallback", p), l.value = p;
|
|
3626
3611
|
}
|
|
3627
3612
|
};
|
|
3628
|
-
if (!
|
|
3613
|
+
if (!bo)
|
|
3629
3614
|
return;
|
|
3630
3615
|
const g = await new e.Main(
|
|
3631
|
-
|
|
3616
|
+
ie(
|
|
3632
3617
|
a.cdnFileResolver,
|
|
3633
3618
|
`/${a.interiorId}/${a.apartmentId}`
|
|
3634
3619
|
),
|
|
@@ -3641,39 +3626,39 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3641
3626
|
"resize",
|
|
3642
3627
|
g.handleWindowResize.bind(g)
|
|
3643
3628
|
), g.animate(), o.value = e.Main.getPlayerAPI(), o.value && o.value.setLookSensitivity(a.mouseSensitivity));
|
|
3644
|
-
}),
|
|
3629
|
+
}), He(() => {
|
|
3645
3630
|
o.value && o.value.destroy();
|
|
3646
|
-
}), (u, r) => (m(), x("div",
|
|
3647
|
-
d("div",
|
|
3648
|
-
|
|
3649
|
-
d("div", wo, [
|
|
3650
|
-
ae(u.$slots, "top-left", {}, void 0, !0)
|
|
3651
|
-
]),
|
|
3631
|
+
}), (u, r) => (m(), x("div", Co, [
|
|
3632
|
+
d("div", wo, [
|
|
3633
|
+
te(u.$slots, "slideshow-image", {}, void 0, !0),
|
|
3652
3634
|
d("div", ko, [
|
|
3653
|
-
|
|
3635
|
+
te(u.$slots, "top-left", {}, void 0, !0)
|
|
3654
3636
|
]),
|
|
3655
3637
|
d("div", Io, [
|
|
3656
|
-
|
|
3638
|
+
te(u.$slots, "top-center", {}, void 0, !0)
|
|
3657
3639
|
]),
|
|
3658
3640
|
d("div", So, [
|
|
3659
|
-
|
|
3641
|
+
te(u.$slots, "top-right", {}, void 0, !0)
|
|
3660
3642
|
]),
|
|
3661
3643
|
d("div", Do, [
|
|
3662
|
-
|
|
3644
|
+
te(u.$slots, "center-left", {}, void 0, !0)
|
|
3663
3645
|
]),
|
|
3664
3646
|
d("div", Ao, [
|
|
3665
|
-
|
|
3647
|
+
te(u.$slots, "center-center", {}, void 0, !0)
|
|
3666
3648
|
]),
|
|
3667
3649
|
d("div", xo, [
|
|
3668
|
-
|
|
3650
|
+
te(u.$slots, "center-right", {}, void 0, !0)
|
|
3669
3651
|
]),
|
|
3670
3652
|
d("div", Fo, [
|
|
3671
|
-
|
|
3653
|
+
te(u.$slots, "bottom-left", {}, void 0, !0)
|
|
3672
3654
|
]),
|
|
3673
3655
|
d("div", Lo, [
|
|
3674
|
-
|
|
3656
|
+
te(u.$slots, "bottom-center", {}, void 0, !0)
|
|
3675
3657
|
]),
|
|
3676
3658
|
d("div", Mo, [
|
|
3659
|
+
te(u.$slots, "bottom-right", {}, void 0, !0)
|
|
3660
|
+
]),
|
|
3661
|
+
d("div", To, [
|
|
3677
3662
|
d("canvas", {
|
|
3678
3663
|
id: "qpc",
|
|
3679
3664
|
style: me(u.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -3682,11 +3667,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3682
3667
|
])
|
|
3683
3668
|
]));
|
|
3684
3669
|
}
|
|
3685
|
-
}),
|
|
3670
|
+
}), Eo = /* @__PURE__ */ K(Vo, [["__scopeId", "data-v-5eb32d81"]]), Oo = {
|
|
3686
3671
|
style: { width: "24px", height: "24px" },
|
|
3687
3672
|
viewBox: "0 0 18 16",
|
|
3688
3673
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3689
|
-
},
|
|
3674
|
+
}, Bo = ["stroke"], Ro = ["stroke"], $o = { class: "floor-level-label" }, Uo = /* @__PURE__ */ P({
|
|
3690
3675
|
__name: "VFloorLevel",
|
|
3691
3676
|
props: {
|
|
3692
3677
|
level: { default: 0 },
|
|
@@ -3694,7 +3679,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3694
3679
|
},
|
|
3695
3680
|
emits: ["level"],
|
|
3696
3681
|
setup(s, { emit: n }) {
|
|
3697
|
-
const e = s, a = n, t = Ne(
|
|
3682
|
+
const e = s, a = n, t = Ne(Ve), o = O(() => {
|
|
3698
3683
|
const r = e.floorLevels;
|
|
3699
3684
|
return r.sort(), r;
|
|
3700
3685
|
}), i = O(() => o.value.indexOf(e.level) + 1 <= o.value.length / 2 ? "lower" : "upper"), l = O(() => i.value === "lower"), v = O(() => i.value === "upper");
|
|
@@ -3709,41 +3694,41 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3709
3694
|
attach: ""
|
|
3710
3695
|
}, {
|
|
3711
3696
|
activator: C(({ props: c }) => [
|
|
3712
|
-
w(S,
|
|
3697
|
+
w(S, Ie({
|
|
3713
3698
|
style: { cursor: "pointer" },
|
|
3714
3699
|
density: "comfortable",
|
|
3715
3700
|
elevation: "1",
|
|
3716
3701
|
icon: ""
|
|
3717
3702
|
}, c, { onClick: u }), {
|
|
3718
3703
|
default: C(() => [
|
|
3719
|
-
(m(), x("svg",
|
|
3704
|
+
(m(), x("svg", Oo, [
|
|
3720
3705
|
d("path", {
|
|
3721
3706
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3722
3707
|
fill: "white",
|
|
3723
3708
|
stroke: v.value ? "black" : "#999999",
|
|
3724
3709
|
"stroke-width": "1.5",
|
|
3725
3710
|
"stroke-linejoin": "round"
|
|
3726
|
-
}, null, 8,
|
|
3711
|
+
}, null, 8, Bo),
|
|
3727
3712
|
d("path", {
|
|
3728
3713
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
3729
3714
|
fill: "white",
|
|
3730
3715
|
stroke: l.value ? "black" : "#999999",
|
|
3731
3716
|
"stroke-width": "1.5",
|
|
3732
3717
|
"stroke-linejoin": "round"
|
|
3733
|
-
}, null, 8,
|
|
3718
|
+
}, null, 8, Ro)
|
|
3734
3719
|
]))
|
|
3735
3720
|
]),
|
|
3736
3721
|
_: 2
|
|
3737
3722
|
}, 1040)
|
|
3738
3723
|
]),
|
|
3739
3724
|
default: C(() => [
|
|
3740
|
-
d("span",
|
|
3725
|
+
d("span", $o, W(B(t).getLabel(i.value)) + " " + W(B(t).getLabel("floor")), 1)
|
|
3741
3726
|
]),
|
|
3742
3727
|
_: 1
|
|
3743
3728
|
});
|
|
3744
3729
|
};
|
|
3745
3730
|
}
|
|
3746
|
-
}),
|
|
3731
|
+
}), Ho = /* @__PURE__ */ K(Uo, [["__scopeId", "data-v-5ce91d8e"]]), Yo = { class: "d-none d-md-inline" }, Po = /* @__PURE__ */ P({
|
|
3747
3732
|
__name: "VInteriorSelector",
|
|
3748
3733
|
props: {
|
|
3749
3734
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3752,7 +3737,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3752
3737
|
},
|
|
3753
3738
|
emits: ["selectInterior"],
|
|
3754
3739
|
setup(s, { emit: n }) {
|
|
3755
|
-
const e = s, a = n, t = Ne(
|
|
3740
|
+
const e = s, a = n, t = Ne(Ve);
|
|
3756
3741
|
return (o, i) => {
|
|
3757
3742
|
const l = E("v-icon"), v = E("v-btn"), u = E("v-img"), r = E("v-list-item-title"), h = E("v-list-item"), S = E("v-list"), g = E("v-menu");
|
|
3758
3743
|
return m(), x("div", null, [
|
|
@@ -3763,7 +3748,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3763
3748
|
elevation: "0"
|
|
3764
3749
|
}, {
|
|
3765
3750
|
activator: C(({ props: c }) => [
|
|
3766
|
-
w(v,
|
|
3751
|
+
w(v, Ie({ rounded: "" }, c, { class: "text-capitalize" }), {
|
|
3767
3752
|
default: C(() => [
|
|
3768
3753
|
w(l, null, {
|
|
3769
3754
|
default: C(() => [
|
|
@@ -3771,7 +3756,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3771
3756
|
]),
|
|
3772
3757
|
_: 1
|
|
3773
3758
|
}),
|
|
3774
|
-
d("span",
|
|
3759
|
+
d("span", Yo, W(B(t).getLabel("interior")), 1)
|
|
3775
3760
|
]),
|
|
3776
3761
|
_: 2
|
|
3777
3762
|
}, 1040)
|
|
@@ -3779,7 +3764,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3779
3764
|
default: C(() => [
|
|
3780
3765
|
w(S, { class: "interior-selector-list" }, {
|
|
3781
3766
|
default: C(() => [
|
|
3782
|
-
(m(!0), x(
|
|
3767
|
+
(m(!0), x(ue, null, he(e.availableArchetypes, (c, p) => (m(), V(h, {
|
|
3783
3768
|
density: "compact",
|
|
3784
3769
|
key: `at-menuitem-${p}`,
|
|
3785
3770
|
onClick: (_) => a("selectInterior", c.archetypeID),
|
|
@@ -3813,14 +3798,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3813
3798
|
]);
|
|
3814
3799
|
};
|
|
3815
3800
|
}
|
|
3816
|
-
}),
|
|
3801
|
+
}), jo = /* @__PURE__ */ K(Po, [["__scopeId", "data-v-3cf3c177"]]), zo = "data:image/png;base64,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", Wo = "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==", No = /* @__PURE__ */ P({
|
|
3817
3802
|
__name: "VCompass",
|
|
3818
3803
|
props: {
|
|
3819
3804
|
rotation: {}
|
|
3820
3805
|
},
|
|
3821
3806
|
setup(s) {
|
|
3822
|
-
const n = s, e = f(
|
|
3823
|
-
backgroundImage: `url(${
|
|
3807
|
+
const n = s, e = f(Wo), a = f({
|
|
3808
|
+
backgroundImage: `url(${zo})`,
|
|
3824
3809
|
backgroundSize: "contain"
|
|
3825
3810
|
}), t = O(() => ({
|
|
3826
3811
|
transform: `rotate(${-n.rotation + 180}deg)`
|
|
@@ -3839,7 +3824,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3839
3824
|
], 4);
|
|
3840
3825
|
};
|
|
3841
3826
|
}
|
|
3842
|
-
}),
|
|
3827
|
+
}), Go = "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", Qo = { class: "d-flex flex-column align-center justify-center clock-face" }, qo = { class: "clock-icon" }, Zo = { class: "clock-value grey--text text--darken-3" }, Jo = /* @__PURE__ */ P({
|
|
3843
3828
|
__name: "VTimeOfDay",
|
|
3844
3829
|
props: {
|
|
3845
3830
|
hours: { default: 0 },
|
|
@@ -3852,38 +3837,38 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3852
3837
|
}
|
|
3853
3838
|
return (t, o) => {
|
|
3854
3839
|
const i = E("v-img");
|
|
3855
|
-
return m(), x("div",
|
|
3856
|
-
d("div",
|
|
3840
|
+
return m(), x("div", Qo, [
|
|
3841
|
+
d("div", qo, [
|
|
3857
3842
|
w(i, {
|
|
3858
|
-
src: B(
|
|
3843
|
+
src: B(Go),
|
|
3859
3844
|
"aspect-ratio": "1"
|
|
3860
3845
|
}, null, 8, ["src"])
|
|
3861
3846
|
]),
|
|
3862
|
-
d("div",
|
|
3847
|
+
d("div", Zo, W(e.value), 1)
|
|
3863
3848
|
]);
|
|
3864
3849
|
};
|
|
3865
3850
|
}
|
|
3866
|
-
}),
|
|
3851
|
+
}), Xo = /* @__PURE__ */ K(Jo, [["__scopeId", "data-v-cd73fd81"]]), wt = (s) => (it("data-v-f59c4942"), s = s(), ut(), s), Ko = {
|
|
3867
3852
|
key: 0,
|
|
3868
3853
|
width: "24",
|
|
3869
3854
|
height: "24",
|
|
3870
3855
|
viewBox: "0 0 24 24",
|
|
3871
3856
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3872
|
-
},
|
|
3857
|
+
}, el = /* @__PURE__ */ wt(() => /* @__PURE__ */ d("path", {
|
|
3873
3858
|
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",
|
|
3874
3859
|
class: "fill-grey"
|
|
3875
|
-
}, null, -1)),
|
|
3876
|
-
Ko,
|
|
3860
|
+
}, null, -1)), tl = /* @__PURE__ */ wt(() => /* @__PURE__ */ d("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)), al = /* @__PURE__ */ wt(() => /* @__PURE__ */ d("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)), nl = [
|
|
3877
3861
|
el,
|
|
3878
|
-
tl
|
|
3879
|
-
|
|
3862
|
+
tl,
|
|
3863
|
+
al
|
|
3864
|
+
], ol = /* @__PURE__ */ P({
|
|
3880
3865
|
__name: "VViewModeToggle",
|
|
3881
3866
|
props: {
|
|
3882
3867
|
showStaticImage: { type: Boolean }
|
|
3883
3868
|
},
|
|
3884
3869
|
emits: ["toggle"],
|
|
3885
3870
|
setup(s, { emit: n }) {
|
|
3886
|
-
const e = s, a = n, t = Ne(
|
|
3871
|
+
const e = s, a = n, t = Ne(Ve), o = O(() => {
|
|
3887
3872
|
let i = "virtualTour";
|
|
3888
3873
|
return e.showStaticImage || (i = "slideShow"), i;
|
|
3889
3874
|
});
|
|
@@ -3891,14 +3876,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3891
3876
|
const v = E("v-icon"), u = E("v-btn"), r = E("v-tooltip");
|
|
3892
3877
|
return m(), V(r, { location: "top" }, {
|
|
3893
3878
|
activator: C(({ props: h }) => [
|
|
3894
|
-
w(u,
|
|
3879
|
+
w(u, Ie({
|
|
3895
3880
|
density: "comfortable",
|
|
3896
3881
|
elevation: "1",
|
|
3897
3882
|
icon: "",
|
|
3898
3883
|
onClick: l[0] || (l[0] = (S) => a("toggle"))
|
|
3899
3884
|
}, h), {
|
|
3900
3885
|
default: C(() => [
|
|
3901
|
-
o.value === "virtualTour" ? (m(), x("svg",
|
|
3886
|
+
o.value === "virtualTour" ? (m(), x("svg", Ko, nl)) : (m(), V(v, { key: 1 }, {
|
|
3902
3887
|
default: C(() => [
|
|
3903
3888
|
X("mdi-image-multiple")
|
|
3904
3889
|
]),
|
|
@@ -3915,10 +3900,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3915
3900
|
});
|
|
3916
3901
|
};
|
|
3917
3902
|
}
|
|
3918
|
-
}),
|
|
3903
|
+
}), ll = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-f59c4942"]]), Ye = (s) => (it("data-v-fd167eca"), s = s(), ut(), s), sl = {
|
|
3919
3904
|
key: 0,
|
|
3920
3905
|
class: "desktop-content"
|
|
3921
|
-
},
|
|
3906
|
+
}, rl = { class: "d-flex align-center justify-center" }, il = { class: "box col d-flex flex-column align-bottom justify-center" }, ul = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
3922
3907
|
/* @__PURE__ */ d("svg", {
|
|
3923
3908
|
width: "50",
|
|
3924
3909
|
height: "32.5",
|
|
@@ -3965,7 +3950,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3965
3950
|
"stroke-width": "1.5"
|
|
3966
3951
|
})
|
|
3967
3952
|
])
|
|
3968
|
-
], -1)),
|
|
3953
|
+
], -1)), cl = { class: "text-div text-center text mt-2" }, dl = { class: "box col d-flex flex-column align-bottom justify-center" }, vl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
3969
3954
|
/* @__PURE__ */ d("svg", {
|
|
3970
3955
|
width: "50",
|
|
3971
3956
|
height: "32.5",
|
|
@@ -4095,7 +4080,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4095
4080
|
"stroke-linecap": "round"
|
|
4096
4081
|
})
|
|
4097
4082
|
])
|
|
4098
|
-
], -1)),
|
|
4083
|
+
], -1)), ml = { class: "text-div text-center text mt-2" }, pl = { class: "box col d-flex flex-column align-bottom justify-center" }, fl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4099
4084
|
/* @__PURE__ */ d("svg", {
|
|
4100
4085
|
width: "50",
|
|
4101
4086
|
height: "32.5",
|
|
@@ -4166,7 +4151,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4166
4151
|
"stroke-linejoin": "round"
|
|
4167
4152
|
})
|
|
4168
4153
|
])
|
|
4169
|
-
], -1)),
|
|
4154
|
+
], -1)), hl = { class: "text-div text-center text mt-2" }, gl = { class: "box col d-flex flex-column align-bottom justify-center" }, yl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4170
4155
|
/* @__PURE__ */ d("svg", {
|
|
4171
4156
|
width: "50",
|
|
4172
4157
|
height: "32.5",
|
|
@@ -4234,10 +4219,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4234
4219
|
fill: "#FF3E3E"
|
|
4235
4220
|
})
|
|
4236
4221
|
])
|
|
4237
|
-
], -1)),
|
|
4222
|
+
], -1)), _l = { class: "text-div text-center text mt-2" }, bl = {
|
|
4238
4223
|
key: 1,
|
|
4239
4224
|
class: "d-flex tablet-mobile-content"
|
|
4240
|
-
},
|
|
4225
|
+
}, Cl = { class: "box col my-1" }, wl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4241
4226
|
/* @__PURE__ */ d("svg", {
|
|
4242
4227
|
width: "50.5",
|
|
4243
4228
|
height: "32.5",
|
|
@@ -4271,7 +4256,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4271
4256
|
"stroke-linejoin": "round"
|
|
4272
4257
|
})
|
|
4273
4258
|
])
|
|
4274
|
-
], -1)),
|
|
4259
|
+
], -1)), kl = { class: "text text-col text-center" }, Il = { class: "box col my-1" }, Sl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4275
4260
|
/* @__PURE__ */ d("svg", {
|
|
4276
4261
|
width: "49.5",
|
|
4277
4262
|
height: "32.5",
|
|
@@ -4405,7 +4390,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4405
4390
|
"stroke-linejoin": "round"
|
|
4406
4391
|
})
|
|
4407
4392
|
])
|
|
4408
|
-
], -1)),
|
|
4393
|
+
], -1)), Dl = { class: "text text-col text-center" }, Al = { class: "box col my-1" }, xl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4409
4394
|
/* @__PURE__ */ d("svg", {
|
|
4410
4395
|
width: "49.5",
|
|
4411
4396
|
height: "32.5",
|
|
@@ -4439,11 +4424,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4439
4424
|
"stroke-linejoin": "round"
|
|
4440
4425
|
})
|
|
4441
4426
|
])
|
|
4442
|
-
], -1)),
|
|
4427
|
+
], -1)), Fl = { class: "text text-col text-center" }, Ll = { class: "text-h6 text-capitalize" }, Ml = { class: "mt-2" }, Tl = { class: "d-flex justify-center align-center checkbox-container" }, Vl = { class: "text-caption" }, El = /* @__PURE__ */ P({
|
|
4443
4428
|
__name: "VTutorial",
|
|
4444
4429
|
emits: ["closeTutorial"],
|
|
4445
4430
|
setup(s, { emit: n }) {
|
|
4446
|
-
const e = n, a = Ne(
|
|
4431
|
+
const e = n, a = Ne(Ve), t = f(!1), o = f(!1), i = O(() => [
|
|
4447
4432
|
/Android/i,
|
|
4448
4433
|
/webOS/i,
|
|
4449
4434
|
/iPhone/i,
|
|
@@ -4457,7 +4442,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4457
4442
|
}
|
|
4458
4443
|
return (v, u) => {
|
|
4459
4444
|
const r = E("v-icon"), h = E("v-card-title"), S = E("v-btn"), g = E("v-divider"), c = E("v-card-text"), p = E("v-card-actions"), _ = E("v-card"), b = E("v-expand-transition"), y = E("v-checkbox");
|
|
4460
|
-
return m(), V(
|
|
4445
|
+
return m(), V(Me, { name: "fade-transition" }, {
|
|
4461
4446
|
default: C(() => [
|
|
4462
4447
|
w(_, {
|
|
4463
4448
|
class: "mx-auto",
|
|
@@ -4497,38 +4482,38 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4497
4482
|
_: 1
|
|
4498
4483
|
}),
|
|
4499
4484
|
w(g, { class: "my-3" }),
|
|
4500
|
-
i.value ? U("", !0) : (m(), x("div",
|
|
4501
|
-
d("div",
|
|
4502
|
-
d("div",
|
|
4503
|
-
|
|
4504
|
-
d("div",
|
|
4485
|
+
i.value ? U("", !0) : (m(), x("div", sl, [
|
|
4486
|
+
d("div", rl, [
|
|
4487
|
+
d("div", il, [
|
|
4488
|
+
ul,
|
|
4489
|
+
d("div", cl, W(B(a).getLabel("clickAndDragToLookAround")), 1)
|
|
4505
4490
|
]),
|
|
4506
|
-
d("div",
|
|
4507
|
-
|
|
4508
|
-
d("div",
|
|
4491
|
+
d("div", dl, [
|
|
4492
|
+
vl,
|
|
4493
|
+
d("div", ml, W(B(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4509
4494
|
]),
|
|
4510
|
-
d("div",
|
|
4511
|
-
|
|
4512
|
-
d("div",
|
|
4495
|
+
d("div", pl, [
|
|
4496
|
+
fl,
|
|
4497
|
+
d("div", hl, W(B(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4513
4498
|
]),
|
|
4514
|
-
d("div",
|
|
4515
|
-
|
|
4516
|
-
d("div",
|
|
4499
|
+
d("div", gl, [
|
|
4500
|
+
yl,
|
|
4501
|
+
d("div", _l, W(B(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4517
4502
|
])
|
|
4518
4503
|
])
|
|
4519
4504
|
])),
|
|
4520
|
-
i.value ? (m(), x("div",
|
|
4521
|
-
d("div",
|
|
4522
|
-
|
|
4523
|
-
d("div",
|
|
4505
|
+
i.value ? (m(), x("div", bl, [
|
|
4506
|
+
d("div", Cl, [
|
|
4507
|
+
wl,
|
|
4508
|
+
d("div", kl, W(B(a).getLabel("tapAndDragToLookAround")), 1)
|
|
4524
4509
|
]),
|
|
4525
|
-
d("div",
|
|
4526
|
-
|
|
4527
|
-
d("div",
|
|
4510
|
+
d("div", Il, [
|
|
4511
|
+
Sl,
|
|
4512
|
+
d("div", Dl, W(B(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4528
4513
|
]),
|
|
4529
|
-
d("div",
|
|
4530
|
-
|
|
4531
|
-
d("div",
|
|
4514
|
+
d("div", Al, [
|
|
4515
|
+
xl,
|
|
4516
|
+
d("div", Fl, W(B(a).getLabel("useTwoFingersToZoom")), 1)
|
|
4532
4517
|
])
|
|
4533
4518
|
])) : U("", !0),
|
|
4534
4519
|
w(g, { class: "my-1" })
|
|
@@ -4546,7 +4531,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4546
4531
|
default: C(() => [
|
|
4547
4532
|
w(c, { class: "pb-0" }, {
|
|
4548
4533
|
default: C(() => [
|
|
4549
|
-
d("p",
|
|
4534
|
+
d("p", Ll, [
|
|
4550
4535
|
w(r, null, {
|
|
4551
4536
|
default: C(() => [
|
|
4552
4537
|
X("mdi-alert-outline")
|
|
@@ -4555,7 +4540,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4555
4540
|
}),
|
|
4556
4541
|
X(" " + W(B(a).getLabel("disclaimer")), 1)
|
|
4557
4542
|
]),
|
|
4558
|
-
d("p",
|
|
4543
|
+
d("p", Ml, W(B(a).getLabel("disclaimerText")), 1)
|
|
4559
4544
|
]),
|
|
4560
4545
|
_: 1
|
|
4561
4546
|
}),
|
|
@@ -4587,7 +4572,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4587
4572
|
]),
|
|
4588
4573
|
_: 1
|
|
4589
4574
|
}),
|
|
4590
|
-
d("div",
|
|
4575
|
+
d("div", Tl, [
|
|
4591
4576
|
w(y, {
|
|
4592
4577
|
density: "compact",
|
|
4593
4578
|
modelValue: t.value,
|
|
@@ -4595,7 +4580,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4595
4580
|
"hide-details": ""
|
|
4596
4581
|
}, {
|
|
4597
4582
|
label: C(() => [
|
|
4598
|
-
d("span",
|
|
4583
|
+
d("span", Vl, W(B(a).getLabel("dontShowAgain")), 1)
|
|
4599
4584
|
]),
|
|
4600
4585
|
_: 1
|
|
4601
4586
|
}, 8, ["modelValue"])
|
|
@@ -4623,17 +4608,17 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4623
4608
|
});
|
|
4624
4609
|
};
|
|
4625
4610
|
}
|
|
4626
|
-
}),
|
|
4611
|
+
}), Ol = /* @__PURE__ */ K(El, [["__scopeId", "data-v-fd167eca"]]), Bl = (s) => (it("data-v-bd4f66c3"), s = s(), ut(), s), Rl = { class: "player-settings-ui" }, $l = { id: "settings-ui-form" }, Ul = { class: "form-inputs" }, Hl = { class: "setting-label" }, Yl = { class: "setting-label" }, Pl = ["max", "min", "step"], jl = { class: "setting-label" }, zl = { class: "flex-grow-1 flex-shrink-0" }, Wl = ["onUpdate:modelValue"], Nl = {
|
|
4627
4612
|
key: 3,
|
|
4628
4613
|
"d-block": "",
|
|
4629
4614
|
class: "mt-3"
|
|
4630
|
-
},
|
|
4615
|
+
}, Gl = { class: "d-flex justify-space-between" }, Ql = { class: "setting-label" }, ql = {
|
|
4631
4616
|
class: "mt-5 d-block",
|
|
4632
4617
|
style: { width: "300px" }
|
|
4633
|
-
},
|
|
4618
|
+
}, Zl = /* @__PURE__ */ Bl(() => /* @__PURE__ */ d("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Jl = {
|
|
4634
4619
|
class: "d-block",
|
|
4635
4620
|
style: { width: "300px" }
|
|
4636
|
-
},
|
|
4621
|
+
}, Xl = { class: "form-buttons" }, Kl = /* @__PURE__ */ P({
|
|
4637
4622
|
__name: "VPlayerSettingsUi",
|
|
4638
4623
|
props: {
|
|
4639
4624
|
initialSettings: {}
|
|
@@ -4782,10 +4767,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4782
4767
|
}
|
|
4783
4768
|
return (c, p) => {
|
|
4784
4769
|
const _ = E("v-text-field"), b = E("v-slider"), y = E("v-checkbox"), R = E("v-btn"), T = E("v-select"), Y = E("v-icon");
|
|
4785
|
-
return m(), x("div",
|
|
4786
|
-
d("form",
|
|
4787
|
-
d("div",
|
|
4788
|
-
(m(!0), x(
|
|
4770
|
+
return m(), x("div", Rl, [
|
|
4771
|
+
d("form", $l, [
|
|
4772
|
+
d("div", Ul, [
|
|
4773
|
+
(m(!0), x(ue, null, he(t.value, (I, k, j) => (m(), x("div", {
|
|
4789
4774
|
key: j,
|
|
4790
4775
|
"d-block": ""
|
|
4791
4776
|
}, [
|
|
@@ -4799,7 +4784,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4799
4784
|
step: I.step
|
|
4800
4785
|
}, {
|
|
4801
4786
|
prepend: C(() => [
|
|
4802
|
-
d("div",
|
|
4787
|
+
d("div", Hl, W(I.label), 1)
|
|
4803
4788
|
]),
|
|
4804
4789
|
append: C(() => [
|
|
4805
4790
|
d("div", null, [
|
|
@@ -4827,7 +4812,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4827
4812
|
onChange: i
|
|
4828
4813
|
}, {
|
|
4829
4814
|
prepend: C(() => [
|
|
4830
|
-
d("div",
|
|
4815
|
+
d("div", Yl, W(I.label), 1)
|
|
4831
4816
|
]),
|
|
4832
4817
|
append: C(() => [
|
|
4833
4818
|
d("div", null, W(I.value), 1)
|
|
@@ -4841,14 +4826,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4841
4826
|
min: I.min,
|
|
4842
4827
|
step: I.step
|
|
4843
4828
|
}, [
|
|
4844
|
-
d("div",
|
|
4845
|
-
d("div",
|
|
4829
|
+
d("div", jl, W(I.label), 1),
|
|
4830
|
+
d("div", zl, [
|
|
4846
4831
|
pe(d("input", {
|
|
4847
4832
|
"onUpdate:modelValue": (M) => t.value[k].value = M,
|
|
4848
4833
|
type: "color",
|
|
4849
4834
|
onChange: i
|
|
4850
|
-
}, null, 40,
|
|
4851
|
-
[
|
|
4835
|
+
}, null, 40, Wl), [
|
|
4836
|
+
[Gt, t.value[k].value]
|
|
4852
4837
|
])
|
|
4853
4838
|
]),
|
|
4854
4839
|
d("div", null, [
|
|
@@ -4864,10 +4849,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4864
4849
|
onChange: i
|
|
4865
4850
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4866
4851
|
])
|
|
4867
|
-
], 8,
|
|
4868
|
-
I.type === "lut" ? (m(), x("div",
|
|
4869
|
-
d("div",
|
|
4870
|
-
d("div",
|
|
4852
|
+
], 8, Pl)) : U("", !0),
|
|
4853
|
+
I.type === "lut" ? (m(), x("div", Nl, [
|
|
4854
|
+
d("div", Gl, [
|
|
4855
|
+
d("div", Ql, W(I.label), 1),
|
|
4871
4856
|
d("div", null, [
|
|
4872
4857
|
w(R, {
|
|
4873
4858
|
class: "ml-2",
|
|
@@ -4882,7 +4867,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4882
4867
|
])
|
|
4883
4868
|
]),
|
|
4884
4869
|
d("div", null, [
|
|
4885
|
-
d("div",
|
|
4870
|
+
d("div", ql, [
|
|
4886
4871
|
d("div", null, [
|
|
4887
4872
|
w(T, {
|
|
4888
4873
|
modelValue: t.value[k].value,
|
|
@@ -4897,8 +4882,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4897
4882
|
])
|
|
4898
4883
|
]),
|
|
4899
4884
|
d("div", null, [
|
|
4900
|
-
|
|
4901
|
-
d("div",
|
|
4885
|
+
Zl,
|
|
4886
|
+
d("div", Jl, [
|
|
4902
4887
|
d("div", null, [
|
|
4903
4888
|
w(_, {
|
|
4904
4889
|
modelValue: t.value[k].value,
|
|
@@ -4915,7 +4900,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4915
4900
|
])) : U("", !0)
|
|
4916
4901
|
]))), 128))
|
|
4917
4902
|
]),
|
|
4918
|
-
d("div",
|
|
4903
|
+
d("div", Xl, [
|
|
4919
4904
|
w(R, {
|
|
4920
4905
|
onClick: p[0] || (p[0] = (I) => u())
|
|
4921
4906
|
}, {
|
|
@@ -4959,10 +4944,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4959
4944
|
]);
|
|
4960
4945
|
};
|
|
4961
4946
|
}
|
|
4962
|
-
}),
|
|
4947
|
+
}), es = /* @__PURE__ */ K(Kl, [["__scopeId", "data-v-bd4f66c3"]]), ts = (s) => (it("data-v-30593022"), s = s(), ut(), s), as = /* @__PURE__ */ ts(() => /* @__PURE__ */ d("div", { id: "filler-div" }, null, -1)), ns = {
|
|
4963
4948
|
class: "moveable-body",
|
|
4964
4949
|
id: "moveableDivHeader"
|
|
4965
|
-
},
|
|
4950
|
+
}, os = { class: "moveable-footer" }, ls = /* @__PURE__ */ P({
|
|
4966
4951
|
__name: "VMoveable",
|
|
4967
4952
|
emits: ["close", "transform"],
|
|
4968
4953
|
setup(s, { emit: n }) {
|
|
@@ -5019,37 +5004,37 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5019
5004
|
onClick: l[1] || (l[1] = (u) => e("transform")),
|
|
5020
5005
|
title: "Rotate"
|
|
5021
5006
|
}),
|
|
5022
|
-
|
|
5023
|
-
d("div", as, [
|
|
5024
|
-
ae(i.$slots, "body", { class: "slot" }, void 0, !0)
|
|
5025
|
-
]),
|
|
5007
|
+
as,
|
|
5026
5008
|
d("div", ns, [
|
|
5027
|
-
|
|
5009
|
+
te(i.$slots, "body", { class: "slot" }, void 0, !0)
|
|
5010
|
+
]),
|
|
5011
|
+
d("div", os, [
|
|
5012
|
+
te(i.$slots, "footer", {}, void 0, !0)
|
|
5028
5013
|
])
|
|
5029
5014
|
], 2);
|
|
5030
5015
|
};
|
|
5031
5016
|
}
|
|
5032
|
-
}),
|
|
5017
|
+
}), ss = /* @__PURE__ */ K(ls, [["__scopeId", "data-v-30593022"]]), rs = {
|
|
5033
5018
|
class: "rotation-marker-svg",
|
|
5034
5019
|
viewBox: "0 0 40 40",
|
|
5035
5020
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5036
|
-
},
|
|
5037
|
-
|
|
5038
|
-
],
|
|
5021
|
+
}, is = /* @__PURE__ */ Ft('<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), us = ["transform"], cs = /* @__PURE__ */ Ft('<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), ds = [
|
|
5022
|
+
cs
|
|
5023
|
+
], vs = /* @__PURE__ */ P({
|
|
5039
5024
|
__name: "VRotationMarker",
|
|
5040
5025
|
props: {
|
|
5041
5026
|
rotation: {}
|
|
5042
5027
|
},
|
|
5043
5028
|
setup(s) {
|
|
5044
|
-
return (n, e) => (m(), x("svg",
|
|
5045
|
-
|
|
5029
|
+
return (n, e) => (m(), x("svg", rs, [
|
|
5030
|
+
is,
|
|
5046
5031
|
d("g", {
|
|
5047
5032
|
"transform-origin": "20 20",
|
|
5048
5033
|
transform: `rotate(${45 + n.rotation})`
|
|
5049
|
-
},
|
|
5034
|
+
}, ds, 8, us)
|
|
5050
5035
|
]));
|
|
5051
5036
|
}
|
|
5052
|
-
}),
|
|
5037
|
+
}), ms = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, ps = { class: "minimap-container" }, fs = /* @__PURE__ */ P({
|
|
5053
5038
|
__name: "VMiniMapMap",
|
|
5054
5039
|
props: {
|
|
5055
5040
|
backgroundImage: {},
|
|
@@ -5082,9 +5067,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5082
5067
|
Y(), y(), I();
|
|
5083
5068
|
const k = document.getElementById("moveableDiv");
|
|
5084
5069
|
k && (v.value = new ResizeObserver(I).observe(k));
|
|
5085
|
-
}),
|
|
5070
|
+
}), Qt(() => {
|
|
5086
5071
|
Y(), y();
|
|
5087
|
-
}),
|
|
5072
|
+
}), He(() => {
|
|
5088
5073
|
v.value && v.value.unobserve(document.getElementById("moveableDiv"));
|
|
5089
5074
|
});
|
|
5090
5075
|
function b(k) {
|
|
@@ -5123,8 +5108,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5123
5108
|
const j = k.offsetHeight / 384 * 0.8, M = k.offsetWidth / 512 * 0.8;
|
|
5124
5109
|
k.offsetHeight > k.offsetWidth ? l.value = M * 0.5 : l.value = j * 0.9;
|
|
5125
5110
|
}
|
|
5126
|
-
return (k, j) => (m(), x("div",
|
|
5127
|
-
d("div",
|
|
5111
|
+
return (k, j) => (m(), x("div", ms, [
|
|
5112
|
+
d("div", ps, [
|
|
5128
5113
|
d("div", {
|
|
5129
5114
|
class: "web-minimap",
|
|
5130
5115
|
style: me(_.value)
|
|
@@ -5137,7 +5122,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5137
5122
|
class: "center-pivot",
|
|
5138
5123
|
style: me(i.value)
|
|
5139
5124
|
}, [
|
|
5140
|
-
(m(!0), x(
|
|
5125
|
+
(m(!0), x(ue, null, he(c.value, (M) => (m(), x("div", {
|
|
5141
5126
|
key: M.id
|
|
5142
5127
|
}, [
|
|
5143
5128
|
r.value.floorLevel === M.floorLevel ? (m(), x("div", {
|
|
@@ -5145,7 +5130,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5145
5130
|
class: "single-camera-marker",
|
|
5146
5131
|
style: me(R(M))
|
|
5147
5132
|
}, null, 4)) : U("", !0),
|
|
5148
|
-
r.value.id === M.id && n.rotation !== null ? (m(), V(
|
|
5133
|
+
r.value.id === M.id && n.rotation !== null ? (m(), V(vs, {
|
|
5149
5134
|
key: 1,
|
|
5150
5135
|
class: "rotation-marker-component",
|
|
5151
5136
|
rotation: h.value,
|
|
@@ -5157,7 +5142,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5157
5142
|
])
|
|
5158
5143
|
]));
|
|
5159
5144
|
}
|
|
5160
|
-
}),
|
|
5145
|
+
}), hs = /* @__PURE__ */ K(fs, [["__scopeId", "data-v-1a6129d7"]]), gs = /* @__PURE__ */ P({
|
|
5161
5146
|
__name: "VMiniMapCompass",
|
|
5162
5147
|
props: {
|
|
5163
5148
|
scale: {},
|
|
@@ -5176,10 +5161,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5176
5161
|
}, null, 8, ["longitude"])
|
|
5177
5162
|
], 4));
|
|
5178
5163
|
}
|
|
5179
|
-
}),
|
|
5164
|
+
}), ys = /* @__PURE__ */ K(gs, [["__scopeId", "data-v-552c1d19"]]), _s = { class: "ss-wrapper" }, bs = { class: "slider" }, Cs = { class: "minimap-sun-slider" }, ws = {
|
|
5180
5165
|
key: 0,
|
|
5181
5166
|
class: "time-label"
|
|
5182
|
-
},
|
|
5167
|
+
}, ks = /* @__PURE__ */ P({
|
|
5183
5168
|
__name: "VSunSimulationSlider",
|
|
5184
5169
|
props: {
|
|
5185
5170
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5233,7 +5218,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5233
5218
|
}
|
|
5234
5219
|
async function c(b) {
|
|
5235
5220
|
const R = await (await fetch(
|
|
5236
|
-
|
|
5221
|
+
ie(
|
|
5237
5222
|
e.cdnFileResolver,
|
|
5238
5223
|
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
|
|
5239
5224
|
)
|
|
@@ -5254,9 +5239,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5254
5239
|
}
|
|
5255
5240
|
return (b, y) => {
|
|
5256
5241
|
const R = E("v-progress-linear"), T = E("v-icon"), Y = E("v-slider");
|
|
5257
|
-
return m(), x("div",
|
|
5258
|
-
d("div",
|
|
5259
|
-
d("div",
|
|
5242
|
+
return m(), x("div", _s, [
|
|
5243
|
+
d("div", bs, [
|
|
5244
|
+
d("div", Cs, [
|
|
5260
5245
|
o.value ? (m(), V(R, {
|
|
5261
5246
|
key: 0,
|
|
5262
5247
|
indeterminate: "",
|
|
@@ -5287,12 +5272,12 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5287
5272
|
_: 1
|
|
5288
5273
|
}, 8, ["modelValue"]))
|
|
5289
5274
|
]),
|
|
5290
|
-
o.value ? U("", !0) : (m(), x("div",
|
|
5275
|
+
o.value ? U("", !0) : (m(), x("div", ws, W(h.value) + " " + W(r.value), 1))
|
|
5291
5276
|
])
|
|
5292
5277
|
]);
|
|
5293
5278
|
};
|
|
5294
5279
|
}
|
|
5295
|
-
}),
|
|
5280
|
+
}), Is = /* @__PURE__ */ K(ks, [["__scopeId", "data-v-b2f12eb0"]]), Ss = /* @__PURE__ */ P({
|
|
5296
5281
|
__name: "VMiniMap",
|
|
5297
5282
|
props: {
|
|
5298
5283
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5322,18 +5307,18 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5322
5307
|
function u() {
|
|
5323
5308
|
o.value = o.value + 90;
|
|
5324
5309
|
}
|
|
5325
|
-
return (r, h) => (m(), V(
|
|
5310
|
+
return (r, h) => (m(), V(ss, {
|
|
5326
5311
|
onClose: h[0] || (h[0] = (S) => a("close")),
|
|
5327
5312
|
onTransform: u
|
|
5328
5313
|
}, {
|
|
5329
5314
|
body: C(() => [
|
|
5330
|
-
w(
|
|
5315
|
+
w(ys, {
|
|
5331
5316
|
scale: l.value,
|
|
5332
5317
|
rotation: i.value.rotation.y,
|
|
5333
5318
|
"transform-angle": o.value
|
|
5334
5319
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
5335
5320
|
d("div", null, [
|
|
5336
|
-
w(
|
|
5321
|
+
w(hs, {
|
|
5337
5322
|
"transform-angle": o.value,
|
|
5338
5323
|
"all-cameras": r.apartmentJson.cameras,
|
|
5339
5324
|
"background-image": t.value,
|
|
@@ -5344,7 +5329,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5344
5329
|
])
|
|
5345
5330
|
]),
|
|
5346
5331
|
footer: C(() => [
|
|
5347
|
-
w(
|
|
5332
|
+
w(Is, {
|
|
5348
5333
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
5349
5334
|
"minimap-json": e.minimapJson,
|
|
5350
5335
|
"apartment-json": e.apartmentJson,
|
|
@@ -5355,7 +5340,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5355
5340
|
_: 1
|
|
5356
5341
|
}));
|
|
5357
5342
|
}
|
|
5358
|
-
}),
|
|
5343
|
+
}), St = /* @__PURE__ */ K(Ss, [["__scopeId", "data-v-898e645b"]]), Ds = 37, As = 39, xs = /* @__PURE__ */ P({
|
|
5359
5344
|
__name: "VWaypointCarousel",
|
|
5360
5345
|
props: {
|
|
5361
5346
|
thumbnails: {},
|
|
@@ -5375,15 +5360,15 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5375
5360
|
));
|
|
5376
5361
|
ye(() => {
|
|
5377
5362
|
window.addEventListener("keydown", l);
|
|
5378
|
-
}),
|
|
5363
|
+
}), He(() => {
|
|
5379
5364
|
window.removeEventListener("keydown", l);
|
|
5380
5365
|
});
|
|
5381
5366
|
function l(u) {
|
|
5382
5367
|
switch (u.keyCode) {
|
|
5383
|
-
case u.keyCode ===
|
|
5368
|
+
case u.keyCode === Ds:
|
|
5384
5369
|
a("previous");
|
|
5385
5370
|
break;
|
|
5386
|
-
case u.keyCode ===
|
|
5371
|
+
case u.keyCode === As:
|
|
5387
5372
|
a("next");
|
|
5388
5373
|
break;
|
|
5389
5374
|
default:
|
|
@@ -5431,7 +5416,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5431
5416
|
}, null, 8, ["class"])
|
|
5432
5417
|
]),
|
|
5433
5418
|
default: C(() => [
|
|
5434
|
-
(m(!0), x(
|
|
5419
|
+
(m(!0), x(ue, null, he(u.thumbnails, (_) => (m(), V(c, {
|
|
5435
5420
|
key: _.id
|
|
5436
5421
|
}, {
|
|
5437
5422
|
default: C(({ toggle: b, selectedClass: y }) => [
|
|
@@ -5464,13 +5449,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5464
5449
|
], 2);
|
|
5465
5450
|
};
|
|
5466
5451
|
}
|
|
5467
|
-
}),
|
|
5452
|
+
}), st = /* @__PURE__ */ K(xs, [["__scopeId", "data-v-0345b87c"]]), Fs = {
|
|
5468
5453
|
id: "share-btns-wrapper",
|
|
5469
5454
|
class: "text-center"
|
|
5470
|
-
},
|
|
5455
|
+
}, Ls = /* @__PURE__ */ P({
|
|
5471
5456
|
__name: "VSocialShare",
|
|
5472
5457
|
setup(s) {
|
|
5473
|
-
const n = Ne(
|
|
5458
|
+
const n = Ne(Ve), e = f(!1), a = f(location.href);
|
|
5474
5459
|
function t() {
|
|
5475
5460
|
return window.open(
|
|
5476
5461
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -5504,7 +5489,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5504
5489
|
attach: ""
|
|
5505
5490
|
}, {
|
|
5506
5491
|
activator: C(({ props: y }) => [
|
|
5507
|
-
w(r,
|
|
5492
|
+
w(r, Ie({
|
|
5508
5493
|
density: "comfortable",
|
|
5509
5494
|
elevation: "1",
|
|
5510
5495
|
icon: "mdi-share-variant",
|
|
@@ -5544,10 +5529,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5544
5529
|
}),
|
|
5545
5530
|
w(p, { class: "mt-5" }, {
|
|
5546
5531
|
default: C(() => [
|
|
5547
|
-
d("p",
|
|
5532
|
+
d("p", Fs, [
|
|
5548
5533
|
w(h, { location: "top" }, {
|
|
5549
5534
|
activator: C(({ props: y }) => [
|
|
5550
|
-
w(r,
|
|
5535
|
+
w(r, Ie({
|
|
5551
5536
|
depressed: "",
|
|
5552
5537
|
fab: "",
|
|
5553
5538
|
light: "",
|
|
@@ -5561,7 +5546,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5561
5546
|
}),
|
|
5562
5547
|
w(h, { location: "top" }, {
|
|
5563
5548
|
activator: C(({ props: y }) => [
|
|
5564
|
-
w(r,
|
|
5549
|
+
w(r, Ie({
|
|
5565
5550
|
depressed: "",
|
|
5566
5551
|
fab: "",
|
|
5567
5552
|
light: "",
|
|
@@ -5575,7 +5560,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5575
5560
|
}),
|
|
5576
5561
|
w(h, { location: "top" }, {
|
|
5577
5562
|
activator: C(({ props: y }) => [
|
|
5578
|
-
w(r,
|
|
5563
|
+
w(r, Ie({
|
|
5579
5564
|
depressed: "",
|
|
5580
5565
|
fab: "",
|
|
5581
5566
|
light: "",
|
|
@@ -5589,7 +5574,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5589
5574
|
}),
|
|
5590
5575
|
w(h, { location: "top" }, {
|
|
5591
5576
|
activator: C(({ props: y }) => [
|
|
5592
|
-
w(r,
|
|
5577
|
+
w(r, Ie({
|
|
5593
5578
|
depressed: "",
|
|
5594
5579
|
fab: "",
|
|
5595
5580
|
light: "",
|
|
@@ -5605,7 +5590,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5605
5590
|
}),
|
|
5606
5591
|
w(h, { location: "top" }, {
|
|
5607
5592
|
activator: C(({ props: y }) => [
|
|
5608
|
-
w(r,
|
|
5593
|
+
w(r, Ie({
|
|
5609
5594
|
depressed: "",
|
|
5610
5595
|
fab: "",
|
|
5611
5596
|
light: "",
|
|
@@ -5632,7 +5617,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5632
5617
|
]);
|
|
5633
5618
|
};
|
|
5634
5619
|
}
|
|
5635
|
-
}),
|
|
5620
|
+
}), Et = /* @__PURE__ */ K(Ls, [["__scopeId", "data-v-b6e473f1"]]), Ms = { class: "static-image-wrapper" }, Ts = /* @__PURE__ */ P({
|
|
5636
5621
|
__name: "VSingleImage",
|
|
5637
5622
|
props: {
|
|
5638
5623
|
image: {},
|
|
@@ -5640,17 +5625,17 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5640
5625
|
},
|
|
5641
5626
|
setup(s) {
|
|
5642
5627
|
const n = s, e = O(() => ({ "background-image": `url("${encodeURI(n.image)}")` }));
|
|
5643
|
-
return (a, t) => (m(), x("div",
|
|
5628
|
+
return (a, t) => (m(), x("div", Ms, [
|
|
5644
5629
|
d("div", {
|
|
5645
5630
|
class: ge(["img-div", [a.aspectRatio]]),
|
|
5646
5631
|
style: me(e.value)
|
|
5647
5632
|
}, null, 6)
|
|
5648
5633
|
]));
|
|
5649
5634
|
}
|
|
5650
|
-
}),
|
|
5635
|
+
}), Vs = /* @__PURE__ */ K(Ts, [["__scopeId", "data-v-31489804"]]), Es = {
|
|
5651
5636
|
id: "btn-fullscreen",
|
|
5652
5637
|
class: "btn-placeholder mr-2"
|
|
5653
|
-
},
|
|
5638
|
+
}, Ot = /* @__PURE__ */ P({
|
|
5654
5639
|
__name: "VFullScreenButton",
|
|
5655
5640
|
props: {
|
|
5656
5641
|
isFullScreen: { type: Boolean }
|
|
@@ -5660,7 +5645,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5660
5645
|
const e = n;
|
|
5661
5646
|
return (a, t) => {
|
|
5662
5647
|
const o = E("v-btn");
|
|
5663
|
-
return m(), x("div",
|
|
5648
|
+
return m(), x("div", Es, [
|
|
5664
5649
|
w(o, {
|
|
5665
5650
|
density: "comfortable",
|
|
5666
5651
|
elevation: "3",
|
|
@@ -5671,7 +5656,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5671
5656
|
};
|
|
5672
5657
|
}
|
|
5673
5658
|
});
|
|
5674
|
-
class
|
|
5659
|
+
class Bt {
|
|
5675
5660
|
constructor(n, e) {
|
|
5676
5661
|
se(this, "_doc");
|
|
5677
5662
|
se(this, "_elemId");
|
|
@@ -5711,22 +5696,22 @@ class Ot {
|
|
|
5711
5696
|
this._state.isActive = n;
|
|
5712
5697
|
}
|
|
5713
5698
|
}
|
|
5714
|
-
const
|
|
5699
|
+
const Os = {
|
|
5715
5700
|
key: 0,
|
|
5716
5701
|
class: "player-error"
|
|
5717
|
-
},
|
|
5702
|
+
}, Bs = { class: "player-and-components-wrapper" }, Rs = {
|
|
5718
5703
|
key: 3,
|
|
5719
5704
|
class: "settings-panel"
|
|
5720
|
-
},
|
|
5705
|
+
}, $s = {
|
|
5721
5706
|
key: 0,
|
|
5722
5707
|
class: "compass-wrapper"
|
|
5723
|
-
},
|
|
5708
|
+
}, Us = {
|
|
5724
5709
|
key: 1,
|
|
5725
5710
|
class: "btn-placeholder mr-2"
|
|
5726
|
-
},
|
|
5711
|
+
}, Hs = { class: "btn-placeholder mr-2" }, Ys = {
|
|
5727
5712
|
key: 2,
|
|
5728
5713
|
class: "btn-placeholder mr-2"
|
|
5729
|
-
},
|
|
5714
|
+
}, Ps = { key: 0 }, js = { class: "d-flex flex-column align-end" }, zs = /* @__PURE__ */ P({
|
|
5730
5715
|
__name: "VVirtualTour",
|
|
5731
5716
|
props: {
|
|
5732
5717
|
cdnFileResolver: {},
|
|
@@ -5768,16 +5753,16 @@ const Es = {
|
|
|
5768
5753
|
setup(s, { expose: n, emit: e }) {
|
|
5769
5754
|
const a = s, t = e;
|
|
5770
5755
|
n({
|
|
5771
|
-
updateSelectedInterior:
|
|
5772
|
-
takeSnapshot:
|
|
5773
|
-
setCurrentCamera:
|
|
5756
|
+
updateSelectedInterior: Fe,
|
|
5757
|
+
takeSnapshot: vt,
|
|
5758
|
+
setCurrentCamera: re
|
|
5774
5759
|
});
|
|
5775
5760
|
const o = f(!1), i = f(!1), l = f(!1), v = f(), u = f(), r = f(), h = f(), S = f(), g = f(0), c = f(), p = f(), _ = f(), b = f(0), y = f(0), R = f(0), T = f(!1), Y = f(!1), I = f(!1), k = f(
|
|
5776
|
-
new
|
|
5761
|
+
new Bt(document, "player-wrapper")
|
|
5777
5762
|
), j = O(() => {
|
|
5778
5763
|
if (u.value) {
|
|
5779
5764
|
const D = u.value.cameras.map(
|
|
5780
|
-
(
|
|
5765
|
+
(ne) => ne.floorLevel
|
|
5781
5766
|
);
|
|
5782
5767
|
let J = [...new Set(D)];
|
|
5783
5768
|
return J = J.sort(), J;
|
|
@@ -5787,34 +5772,34 @@ const Es = {
|
|
|
5787
5772
|
let D = 0;
|
|
5788
5773
|
if (u.value) {
|
|
5789
5774
|
const J = u.value.cameras.map(
|
|
5790
|
-
(
|
|
5775
|
+
(Pe) => Pe.floorLevel
|
|
5791
5776
|
);
|
|
5792
|
-
let
|
|
5793
|
-
|
|
5794
|
-
const
|
|
5795
|
-
(
|
|
5777
|
+
let ne = [...new Set(J)];
|
|
5778
|
+
ne = ne.sort();
|
|
5779
|
+
const ke = ne.findIndex(
|
|
5780
|
+
(Pe) => Pe === y.value
|
|
5796
5781
|
);
|
|
5797
|
-
|
|
5782
|
+
ke !== -1 && (D = ke);
|
|
5798
5783
|
}
|
|
5799
5784
|
return D;
|
|
5800
|
-
}), G = O(() =>
|
|
5785
|
+
}), G = O(() => q.value.findIndex(
|
|
5801
5786
|
(D) => D.archetypeID === c.value
|
|
5802
5787
|
)), A = O(() => r.value ? r.value.cameras.map((D) => ({
|
|
5803
5788
|
...D,
|
|
5804
|
-
thumbnailUrl:
|
|
5789
|
+
thumbnailUrl: ot(
|
|
5805
5790
|
`/${c.value}/${a.apartmentId}/thumbs/200/${D.id}.jpg`
|
|
5806
5791
|
),
|
|
5807
|
-
imageUrl:
|
|
5792
|
+
imageUrl: ot(
|
|
5808
5793
|
`/${c.value}/${a.apartmentId}/images/1600/${D.id}.jpg`
|
|
5809
5794
|
)
|
|
5810
|
-
})) : []), L = O(() => !A.value || !A.value[g.value] ? "" : A.value[g.value].imageUrl),
|
|
5795
|
+
})) : []), L = O(() => !A.value || !A.value[g.value] ? "" : A.value[g.value].imageUrl), q = O(() => {
|
|
5811
5796
|
let D = [];
|
|
5812
5797
|
return v.value && (D = v.value.archetypes), a.validInteriorIds.length ? D.filter(
|
|
5813
5798
|
(J) => a.validInteriorIds.includes(J.archetypeID)
|
|
5814
5799
|
) : D;
|
|
5815
|
-
}), z = O(() => r.value ?
|
|
5800
|
+
}), z = O(() => r.value ? q.value.map((D) => ({
|
|
5816
5801
|
...D,
|
|
5817
|
-
url:
|
|
5802
|
+
url: ot(
|
|
5818
5803
|
`/${D.archetypeID}/${a.apartmentId}/thumbs/200/${A.value[g.value].id}.jpg`
|
|
5819
5804
|
)
|
|
5820
5805
|
})) : []), oe = O(() => {
|
|
@@ -5822,13 +5807,13 @@ const Es = {
|
|
|
5822
5807
|
return h.value.storeys[M.value];
|
|
5823
5808
|
}), F = O(() => u.value && u.value.timeInHours), $ = O(() => {
|
|
5824
5809
|
if (u.value && u.value.timeInHours && a.showTimeOfDay)
|
|
5825
|
-
return
|
|
5810
|
+
return Ut(u.value.timeInHours);
|
|
5826
5811
|
});
|
|
5827
|
-
|
|
5828
|
-
|
|
5812
|
+
tt(
|
|
5813
|
+
Ve,
|
|
5829
5814
|
a.i18nConfig ? new Ee(a.i18nConfig) : new Ee()
|
|
5830
5815
|
), H([() => a.cdnFileResolver], async () => {
|
|
5831
|
-
await ee(),
|
|
5816
|
+
await ee(), de(), await ae();
|
|
5832
5817
|
}), H(
|
|
5833
5818
|
() => a.defaultViewMode,
|
|
5834
5819
|
(D) => {
|
|
@@ -5837,19 +5822,21 @@ const Es = {
|
|
|
5837
5822
|
{ immediate: !0 }
|
|
5838
5823
|
), ye(async () => {
|
|
5839
5824
|
try {
|
|
5840
|
-
await ee(),
|
|
5825
|
+
await ee(), de(), await ae(), k.value.setup(), ce(), Pt.value ? (o.value = !1, I.value = !0) : o.value = !0;
|
|
5841
5826
|
} catch (D) {
|
|
5842
5827
|
l.value = !0, t("onError", D);
|
|
5843
5828
|
}
|
|
5829
|
+
}), He(() => {
|
|
5830
|
+
document.removeEventListener("wheel", _e);
|
|
5844
5831
|
});
|
|
5845
5832
|
async function ee() {
|
|
5846
|
-
v.value = await
|
|
5833
|
+
v.value = await De();
|
|
5847
5834
|
}
|
|
5848
|
-
async function
|
|
5849
|
-
if (u.value = await
|
|
5835
|
+
async function ae() {
|
|
5836
|
+
if (u.value = await Se(
|
|
5850
5837
|
c.value,
|
|
5851
5838
|
a.apartmentId
|
|
5852
|
-
), u.value && (p.value = u.value.cameras.find(() => !0).id), r.value = await
|
|
5839
|
+
), u.value && (p.value = u.value.cameras.find(() => !0).id), r.value = await Ae(
|
|
5853
5840
|
c.value,
|
|
5854
5841
|
a.apartmentId
|
|
5855
5842
|
), r.value) {
|
|
@@ -5861,20 +5848,20 @@ const Es = {
|
|
|
5861
5848
|
a.apartmentId
|
|
5862
5849
|
));
|
|
5863
5850
|
}
|
|
5864
|
-
function
|
|
5851
|
+
function de() {
|
|
5865
5852
|
let D = a.defaultInteriorId;
|
|
5866
5853
|
D || (D = v.value.defaultArchetypeID), a.validInteriorIds.length && !a.validInteriorIds.includes(D) && (D = a.validInteriorIds[0]), D || (D = v.value.archetypes[0].archetypeID), c.value = D;
|
|
5867
5854
|
}
|
|
5868
|
-
function
|
|
5855
|
+
function ce() {
|
|
5869
5856
|
const D = document.getElementById("main-canvas");
|
|
5870
5857
|
D.addEventListener("touchmove", J, { passive: !1 });
|
|
5871
|
-
function J(
|
|
5872
|
-
|
|
5858
|
+
function J(ne) {
|
|
5859
|
+
ne.preventDefault(), window.scrollBy(0, 0);
|
|
5873
5860
|
}
|
|
5874
5861
|
D.addEventListener(
|
|
5875
5862
|
"mouseenter",
|
|
5876
5863
|
() => {
|
|
5877
|
-
document.addEventListener("wheel",
|
|
5864
|
+
document.addEventListener("wheel", _e, {
|
|
5878
5865
|
passive: !1
|
|
5879
5866
|
});
|
|
5880
5867
|
},
|
|
@@ -5882,43 +5869,43 @@ const Es = {
|
|
|
5882
5869
|
), D.addEventListener(
|
|
5883
5870
|
"mouseleave",
|
|
5884
5871
|
() => {
|
|
5885
|
-
document.removeEventListener("wheel",
|
|
5872
|
+
document.removeEventListener("wheel", _e);
|
|
5886
5873
|
},
|
|
5887
5874
|
{ passive: !1 }
|
|
5888
5875
|
);
|
|
5889
|
-
function te(_e) {
|
|
5890
|
-
_e.preventDefault(), window.scrollBy(0, 0);
|
|
5891
|
-
}
|
|
5892
5876
|
}
|
|
5893
|
-
|
|
5877
|
+
function _e(D) {
|
|
5878
|
+
D.preventDefault(), window.scrollBy(0, 0);
|
|
5879
|
+
}
|
|
5880
|
+
async function De() {
|
|
5894
5881
|
try {
|
|
5895
|
-
return await
|
|
5882
|
+
return await lt("/config.json");
|
|
5896
5883
|
} catch (D) {
|
|
5897
5884
|
console.error(
|
|
5898
5885
|
"Error loading config.json - ",
|
|
5899
|
-
|
|
5886
|
+
ie(a.cdnFileResolver, "/config.json"),
|
|
5900
5887
|
D
|
|
5901
5888
|
);
|
|
5902
5889
|
return;
|
|
5903
5890
|
}
|
|
5904
5891
|
}
|
|
5905
|
-
async function
|
|
5892
|
+
async function Se(D, J) {
|
|
5906
5893
|
try {
|
|
5907
|
-
return await
|
|
5894
|
+
return await lt(
|
|
5908
5895
|
`/${D}/${J}/apartment.json`
|
|
5909
5896
|
);
|
|
5910
|
-
} catch (
|
|
5897
|
+
} catch (ne) {
|
|
5911
5898
|
console.error(
|
|
5912
5899
|
"Error loading apartment.json - ",
|
|
5913
5900
|
`/${D}/${J}/apartment.json`,
|
|
5914
|
-
|
|
5901
|
+
ne
|
|
5915
5902
|
);
|
|
5916
5903
|
return;
|
|
5917
5904
|
}
|
|
5918
5905
|
}
|
|
5919
|
-
async function
|
|
5906
|
+
async function Ae(D, J) {
|
|
5920
5907
|
try {
|
|
5921
|
-
return await
|
|
5908
|
+
return await lt(
|
|
5922
5909
|
`/${D}/${J}/thumbs.json`
|
|
5923
5910
|
);
|
|
5924
5911
|
} catch {
|
|
@@ -5931,7 +5918,7 @@ const Es = {
|
|
|
5931
5918
|
}
|
|
5932
5919
|
async function xe(D, J) {
|
|
5933
5920
|
try {
|
|
5934
|
-
return await
|
|
5921
|
+
return await lt(
|
|
5935
5922
|
`/${D}/${J}/minimap/minimap.json`
|
|
5936
5923
|
);
|
|
5937
5924
|
} catch {
|
|
@@ -5942,91 +5929,91 @@ const Es = {
|
|
|
5942
5929
|
return;
|
|
5943
5930
|
}
|
|
5944
5931
|
}
|
|
5945
|
-
function
|
|
5932
|
+
function Oe() {
|
|
5946
5933
|
let D = g.value + 1;
|
|
5947
|
-
D >= A.value.length && (D = 0), g.value = D,
|
|
5934
|
+
D >= A.value.length && (D = 0), g.value = D, re(A.value[g.value].id);
|
|
5948
5935
|
}
|
|
5949
|
-
function
|
|
5936
|
+
function Q() {
|
|
5950
5937
|
let D = g.value - 1;
|
|
5951
|
-
D < 0 && (D = A.value.length - 1), g.value = D,
|
|
5938
|
+
D < 0 && (D = A.value.length - 1), g.value = D, re(A.value[g.value].id);
|
|
5952
5939
|
}
|
|
5953
|
-
function
|
|
5954
|
-
let
|
|
5955
|
-
|
|
5940
|
+
function le(D, J = !0) {
|
|
5941
|
+
let ne = A.value.findIndex((ke) => ke.id === D);
|
|
5942
|
+
ne != -1 && (g.value = ne, J && re(D));
|
|
5956
5943
|
}
|
|
5957
|
-
function
|
|
5944
|
+
function re(D) {
|
|
5958
5945
|
p.value = D;
|
|
5959
5946
|
}
|
|
5960
|
-
function
|
|
5947
|
+
function Fe(D) {
|
|
5961
5948
|
c.value = D, t("onInteriorUpdate", D), t("onCameraUpdate", _.value, u.value);
|
|
5962
5949
|
}
|
|
5963
|
-
function Ve(D) {
|
|
5964
|
-
Q(D, !1), _.value = D, t("onCameraUpdate", D, u.value);
|
|
5965
|
-
}
|
|
5966
5950
|
function N(D) {
|
|
5951
|
+
le(D, !1), _.value = D, t("onCameraUpdate", D, u.value);
|
|
5952
|
+
}
|
|
5953
|
+
function Z(D) {
|
|
5967
5954
|
b.value = D;
|
|
5968
5955
|
}
|
|
5969
|
-
function
|
|
5956
|
+
function ve(D) {
|
|
5970
5957
|
y.value = D;
|
|
5971
5958
|
}
|
|
5972
|
-
function
|
|
5959
|
+
function Je(D) {
|
|
5973
5960
|
R.value = D;
|
|
5974
5961
|
}
|
|
5975
|
-
function
|
|
5962
|
+
function $e(D, J) {
|
|
5976
5963
|
}
|
|
5977
|
-
function
|
|
5964
|
+
function Be(D) {
|
|
5978
5965
|
S.value = D, S.value && (a.playerSettings && S.value.updateSettings(a.playerSettings), a.hasMarkersJson ? S.value.loadMarkersJson() : a.dynamicMarkers && S.value.loadDynamicMarkers(a.dynamicMarkers));
|
|
5979
5966
|
}
|
|
5980
|
-
function
|
|
5967
|
+
function Le() {
|
|
5981
5968
|
k.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
5982
5969
|
}
|
|
5983
|
-
function
|
|
5970
|
+
function dt() {
|
|
5984
5971
|
T.value = !T.value;
|
|
5985
5972
|
}
|
|
5986
|
-
async function
|
|
5987
|
-
const D = 180 / Math.PI, J = await S.value.takePhoto(),
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5973
|
+
async function vt() {
|
|
5974
|
+
const D = 180 / Math.PI, J = await S.value.takePhoto(), ne = S.value.getRotationEuler(), ke = S.value.getCurrentCamera(), Pe = new ln(J, ke), jt = [
|
|
5975
|
+
ne.x * -D,
|
|
5976
|
+
ne.y * -D,
|
|
5977
|
+
ne.z * D
|
|
5991
5978
|
];
|
|
5992
|
-
return t("onSnapshot",
|
|
5979
|
+
return t("onSnapshot", Pe, jt), Pe;
|
|
5993
5980
|
}
|
|
5994
|
-
function
|
|
5995
|
-
let J =
|
|
5981
|
+
function ot(D) {
|
|
5982
|
+
let J = ie(a.cdnFileResolver, D);
|
|
5996
5983
|
return a.adminMode && (J = J + `?v=${Date.now()}`), J;
|
|
5997
5984
|
}
|
|
5998
|
-
async function
|
|
5999
|
-
const J =
|
|
5985
|
+
async function lt(D) {
|
|
5986
|
+
const J = ot(D);
|
|
6000
5987
|
try {
|
|
6001
|
-
return (await
|
|
6002
|
-
} catch (
|
|
6003
|
-
throw new Error(
|
|
5988
|
+
return (await pt.get(J)).data;
|
|
5989
|
+
} catch (ne) {
|
|
5990
|
+
throw new Error(ne);
|
|
6004
5991
|
}
|
|
6005
5992
|
}
|
|
6006
|
-
function
|
|
5993
|
+
function Rt(D) {
|
|
6007
5994
|
S.value.updateSettings(D);
|
|
6008
5995
|
}
|
|
6009
|
-
function
|
|
5996
|
+
function $t(D) {
|
|
6010
5997
|
t("saveSettings", D);
|
|
6011
5998
|
}
|
|
6012
|
-
function
|
|
5999
|
+
function Ut(D) {
|
|
6013
6000
|
if (D === void 0)
|
|
6014
6001
|
return null;
|
|
6015
|
-
const J = Math.floor(D),
|
|
6016
|
-
return { hours: J, minutes:
|
|
6002
|
+
const J = Math.floor(D), ne = Math.floor((J - D) * 60);
|
|
6003
|
+
return { hours: J, minutes: ne };
|
|
6017
6004
|
}
|
|
6018
|
-
const
|
|
6005
|
+
const mt = O(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
6019
6006
|
window.navigator.userAgent
|
|
6020
|
-
)),
|
|
6021
|
-
I.value = !0, o.value = !1, D &&
|
|
6022
|
-
},
|
|
6023
|
-
const D =
|
|
6007
|
+
)), kt = O(() => mt.value ? "platform-mobile" : "platform-desktop"), Ht = (D = !1) => {
|
|
6008
|
+
I.value = !0, o.value = !1, D && Yt();
|
|
6009
|
+
}, Yt = () => {
|
|
6010
|
+
const D = ie(
|
|
6024
6011
|
a.cdnFileResolver,
|
|
6025
6012
|
"/config.json"
|
|
6026
6013
|
);
|
|
6027
6014
|
localStorage.setItem(`${D}-dont-show-tutorial`, "true");
|
|
6028
|
-
},
|
|
6029
|
-
const D =
|
|
6015
|
+
}, Pt = O(() => {
|
|
6016
|
+
const D = ie(
|
|
6030
6017
|
a.cdnFileResolver,
|
|
6031
6018
|
"/config.json"
|
|
6032
6019
|
);
|
|
@@ -6035,13 +6022,13 @@ const Es = {
|
|
|
6035
6022
|
);
|
|
6036
6023
|
});
|
|
6037
6024
|
return (D, J) => {
|
|
6038
|
-
const
|
|
6025
|
+
const ne = E("v-btn");
|
|
6039
6026
|
return m(), x("div", {
|
|
6040
|
-
class: ge(["virtual-tour-wrapper", [
|
|
6027
|
+
class: ge(["virtual-tour-wrapper", [kt.value]])
|
|
6041
6028
|
}, [
|
|
6042
|
-
l.value ? (m(), x("div",
|
|
6043
|
-
d("div",
|
|
6044
|
-
!k.value.isActive && h.value && _.value && oe.value && c.value && Y.value ? (m(), V(
|
|
6029
|
+
l.value ? (m(), x("div", Os, "Error loading the player!!")) : U("", !0),
|
|
6030
|
+
d("div", Bs, [
|
|
6031
|
+
!k.value.isActive && h.value && _.value && oe.value && c.value && Y.value ? (m(), V(St, {
|
|
6045
6032
|
key: 0,
|
|
6046
6033
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6047
6034
|
"apartment-json": u.value,
|
|
@@ -6049,13 +6036,13 @@ const Es = {
|
|
|
6049
6036
|
"minimap-json": h.value,
|
|
6050
6037
|
rotation: b.value,
|
|
6051
6038
|
"current-camera": _.value,
|
|
6052
|
-
onClose: J[0] || (J[0] = (
|
|
6039
|
+
onClose: J[0] || (J[0] = (ke) => Y.value = !1)
|
|
6053
6040
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : U("", !0),
|
|
6054
6041
|
c.value && p.value ? (m(), x("div", {
|
|
6055
6042
|
key: 1,
|
|
6056
|
-
class: ge(["v-player", [
|
|
6043
|
+
class: ge(["v-player", [kt.value]])
|
|
6057
6044
|
}, [
|
|
6058
|
-
w(
|
|
6045
|
+
w(Eo, {
|
|
6059
6046
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6060
6047
|
style: me({ zIndex: T.value ? 1 : 2 }),
|
|
6061
6048
|
"show-static-image": T.value,
|
|
@@ -6064,74 +6051,74 @@ const Es = {
|
|
|
6064
6051
|
"mouse-sensitivity": D.mouseSensitivity,
|
|
6065
6052
|
"interior-id": c.value,
|
|
6066
6053
|
"apartment-id": a.apartmentId,
|
|
6067
|
-
onNewCameraCallback:
|
|
6068
|
-
onNewRotationCallback:
|
|
6069
|
-
onNewFloorCallback:
|
|
6070
|
-
onNewFovCallback:
|
|
6071
|
-
onNewSizeCallback:
|
|
6072
|
-
onPlayerApiCallback:
|
|
6054
|
+
onNewCameraCallback: N,
|
|
6055
|
+
onNewRotationCallback: Z,
|
|
6056
|
+
onNewFloorCallback: ve,
|
|
6057
|
+
onNewFovCallback: Je,
|
|
6058
|
+
onNewSizeCallback: $e,
|
|
6059
|
+
onPlayerApiCallback: Be
|
|
6073
6060
|
}, {
|
|
6074
6061
|
"slideshow-image": C(() => [
|
|
6075
|
-
T.value ? (m(), V(
|
|
6062
|
+
T.value ? (m(), V(Vs, {
|
|
6076
6063
|
key: 0,
|
|
6077
6064
|
image: L.value
|
|
6078
6065
|
}, null, 8, ["image"])) : U("", !0)
|
|
6079
6066
|
]),
|
|
6080
6067
|
"top-left": C(() => [
|
|
6081
|
-
D.adminMode ? pe((m(), V(
|
|
6068
|
+
D.adminMode ? pe((m(), V(ne, {
|
|
6082
6069
|
key: 0,
|
|
6083
6070
|
density: "comfortable",
|
|
6084
6071
|
icon: "mdi-cog-outline",
|
|
6085
6072
|
elevation: "3",
|
|
6086
6073
|
class: "mr-2",
|
|
6087
|
-
onClick: J[1] || (J[1] = (
|
|
6074
|
+
onClick: J[1] || (J[1] = (ke) => i.value = !i.value)
|
|
6088
6075
|
}, null, 512)), [
|
|
6089
6076
|
[fe, I.value]
|
|
6090
6077
|
]) : U("", !0),
|
|
6091
|
-
pe(w(
|
|
6078
|
+
pe(w(ne, {
|
|
6092
6079
|
density: "comfortable",
|
|
6093
6080
|
icon: "mdi-alert-outline",
|
|
6094
6081
|
elevation: "3",
|
|
6095
6082
|
class: "mr-2",
|
|
6096
|
-
onClick: J[2] || (J[2] = (
|
|
6083
|
+
onClick: J[2] || (J[2] = (ke) => o.value = !o.value)
|
|
6097
6084
|
}, null, 512), [
|
|
6098
6085
|
[fe, I.value]
|
|
6099
6086
|
]),
|
|
6100
|
-
h.value && p.value && oe.value ? pe((m(), V(
|
|
6087
|
+
h.value && p.value && oe.value ? pe((m(), V(ne, {
|
|
6101
6088
|
key: 1,
|
|
6102
6089
|
density: "comfortable",
|
|
6103
6090
|
elevation: "3",
|
|
6104
6091
|
icon: "mdi-floor-plan",
|
|
6105
6092
|
class: "mr-2",
|
|
6106
|
-
onClick: J[3] || (J[3] = (
|
|
6093
|
+
onClick: J[3] || (J[3] = (ke) => Y.value = !Y.value)
|
|
6107
6094
|
}, null, 512)), [
|
|
6108
6095
|
[fe, I.value]
|
|
6109
6096
|
]) : U("", !0),
|
|
6110
|
-
I.value && D.showFloorLevel && j.value.length > 1 ? (m(), V(
|
|
6097
|
+
I.value && D.showFloorLevel && j.value.length > 1 ? (m(), V(Ho, {
|
|
6111
6098
|
key: 2,
|
|
6112
6099
|
level: y.value,
|
|
6113
6100
|
"floor-levels": j.value,
|
|
6114
|
-
onLevel:
|
|
6101
|
+
onLevel: ve
|
|
6115
6102
|
}, null, 8, ["level", "floor-levels"])) : U("", !0),
|
|
6116
|
-
I.value && D.adminMode && i.value ? (m(), x("div",
|
|
6117
|
-
w(
|
|
6103
|
+
I.value && D.adminMode && i.value ? (m(), x("div", Rs, [
|
|
6104
|
+
w(es, {
|
|
6118
6105
|
"initial-settings": D.playerSettings,
|
|
6119
|
-
onUpdateSettings:
|
|
6120
|
-
onSaveSettings:
|
|
6106
|
+
onUpdateSettings: Rt,
|
|
6107
|
+
onSaveSettings: $t
|
|
6121
6108
|
}, null, 8, ["initial-settings"])
|
|
6122
6109
|
])) : U("", !0)
|
|
6123
6110
|
]),
|
|
6124
6111
|
"top-center": C(() => []),
|
|
6125
6112
|
"top-right": C(() => [
|
|
6126
|
-
u.value && D.showCompass ? pe((m(), x("div",
|
|
6127
|
-
w(
|
|
6113
|
+
u.value && D.showCompass ? pe((m(), x("div", $s, [
|
|
6114
|
+
w(No, { rotation: b.value }, null, 8, ["rotation"])
|
|
6128
6115
|
], 512)), [
|
|
6129
6116
|
[fe, I.value]
|
|
6130
6117
|
]) : U("", !0),
|
|
6131
6118
|
d("div", {
|
|
6132
|
-
onClick: J[4] || (J[4] = (
|
|
6119
|
+
onClick: J[4] || (J[4] = (ke) => Y.value = !Y.value)
|
|
6133
6120
|
}, [
|
|
6134
|
-
I.value && u.value && F.value && D.showTimeOfDay ? (m(), V(
|
|
6121
|
+
I.value && u.value && F.value && D.showTimeOfDay ? (m(), V(Xo, {
|
|
6135
6122
|
key: 0,
|
|
6136
6123
|
hours: $.value.hours,
|
|
6137
6124
|
minutes: $.value.minutes,
|
|
@@ -6143,25 +6130,25 @@ const Es = {
|
|
|
6143
6130
|
])
|
|
6144
6131
|
]),
|
|
6145
6132
|
"center-left": C(() => [
|
|
6146
|
-
w(
|
|
6133
|
+
w(Me, { name: "slide-x-transition" }, {
|
|
6147
6134
|
default: C(() => [
|
|
6148
|
-
T.value ? (m(), V(
|
|
6135
|
+
T.value ? (m(), V(ne, {
|
|
6149
6136
|
key: 0,
|
|
6150
6137
|
density: "comfortable",
|
|
6151
6138
|
elevation: "3",
|
|
6152
6139
|
icon: "mdi-chevron-left",
|
|
6153
|
-
onClick:
|
|
6140
|
+
onClick: Q
|
|
6154
6141
|
})) : U("", !0)
|
|
6155
6142
|
]),
|
|
6156
6143
|
_: 1
|
|
6157
6144
|
})
|
|
6158
6145
|
]),
|
|
6159
6146
|
"center-center": C(() => [
|
|
6160
|
-
o.value ? (m(), V(
|
|
6147
|
+
o.value ? (m(), V(Ol, {
|
|
6161
6148
|
key: 0,
|
|
6162
|
-
onCloseTutorial: J[5] || (J[5] = (
|
|
6149
|
+
onCloseTutorial: J[5] || (J[5] = (ke) => Ht(ke))
|
|
6163
6150
|
})) : U("", !0),
|
|
6164
|
-
k.value.isActive && h.value && _.value && oe.value && Y.value ? (m(), V(
|
|
6151
|
+
k.value.isActive && h.value && _.value && oe.value && Y.value ? (m(), V(St, {
|
|
6165
6152
|
key: 1,
|
|
6166
6153
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6167
6154
|
"apartment-json": u.value,
|
|
@@ -6169,160 +6156,160 @@ const Es = {
|
|
|
6169
6156
|
rotation: b.value,
|
|
6170
6157
|
"current-camera": _.value,
|
|
6171
6158
|
level: M.value,
|
|
6172
|
-
onClose: J[6] || (J[6] = (
|
|
6159
|
+
onClose: J[6] || (J[6] = (ke) => Y.value = !1)
|
|
6173
6160
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : U("", !0)
|
|
6174
6161
|
]),
|
|
6175
6162
|
"center-right": C(() => [
|
|
6176
|
-
w(
|
|
6163
|
+
w(Me, { name: "slide-x-reverse-transition" }, {
|
|
6177
6164
|
default: C(() => [
|
|
6178
|
-
T.value ? (m(), V(
|
|
6165
|
+
T.value ? (m(), V(ne, {
|
|
6179
6166
|
key: 0,
|
|
6180
6167
|
density: "comfortable",
|
|
6181
6168
|
elevation: "3",
|
|
6182
6169
|
icon: "mdi-chevron-right",
|
|
6183
|
-
onClick:
|
|
6170
|
+
onClick: Oe
|
|
6184
6171
|
})) : U("", !0)
|
|
6185
6172
|
]),
|
|
6186
6173
|
_: 1
|
|
6187
6174
|
})
|
|
6188
6175
|
]),
|
|
6189
6176
|
"bottom-left": C(() => [
|
|
6190
|
-
I.value && D.showFullScreen ? (m(), V(
|
|
6177
|
+
I.value && D.showFullScreen ? (m(), V(Ot, {
|
|
6191
6178
|
key: 0,
|
|
6192
6179
|
"is-full-screen": k.value.isActive,
|
|
6193
6180
|
class: "btn-fullscreen",
|
|
6194
|
-
onToggleFullscreen:
|
|
6181
|
+
onToggleFullscreen: Le
|
|
6195
6182
|
}, null, 8, ["is-full-screen"])) : U("", !0),
|
|
6196
|
-
I.value && D.showSnapshot ? (m(), x("div",
|
|
6197
|
-
w(
|
|
6183
|
+
I.value && D.showSnapshot ? (m(), x("div", Us, [
|
|
6184
|
+
w(ne, {
|
|
6198
6185
|
density: "comfortable",
|
|
6199
6186
|
elevation: "3",
|
|
6200
6187
|
icon: "mdi-camera",
|
|
6201
|
-
onClick:
|
|
6188
|
+
onClick: vt
|
|
6202
6189
|
})
|
|
6203
6190
|
])) : U("", !0),
|
|
6204
|
-
d("div",
|
|
6205
|
-
D.displayViewModeSwitch && I.value ? (m(), V(
|
|
6191
|
+
d("div", Hs, [
|
|
6192
|
+
D.displayViewModeSwitch && I.value ? (m(), V(ll, {
|
|
6206
6193
|
key: 0,
|
|
6207
6194
|
"show-static-image": T.value,
|
|
6208
|
-
onToggle:
|
|
6195
|
+
onToggle: dt
|
|
6209
6196
|
}, null, 8, ["show-static-image"])) : U("", !0)
|
|
6210
6197
|
]),
|
|
6211
|
-
I.value && D.showShare && !k.value.isActive ? (m(), x("div",
|
|
6212
|
-
w(
|
|
6198
|
+
I.value && D.showShare && !k.value.isActive ? (m(), x("div", Ys, [
|
|
6199
|
+
w(Et)
|
|
6213
6200
|
])) : U("", !0)
|
|
6214
6201
|
]),
|
|
6215
6202
|
"bottom-center": C(() => [
|
|
6216
|
-
I.value && D.showCarousel && !
|
|
6217
|
-
I.value ? (m(), V(
|
|
6203
|
+
I.value && D.showCarousel && !mt.value ? (m(), x("div", Ps, [
|
|
6204
|
+
I.value ? (m(), V(st, {
|
|
6218
6205
|
key: 0,
|
|
6219
6206
|
class: ge([k.value.isActive ? "full-screen" : ""]),
|
|
6220
6207
|
thumbnails: A.value,
|
|
6221
6208
|
active: g.value,
|
|
6222
|
-
onNext:
|
|
6223
|
-
onPrevious:
|
|
6224
|
-
onGoto:
|
|
6209
|
+
onNext: Oe,
|
|
6210
|
+
onPrevious: Q,
|
|
6211
|
+
onGoto: le
|
|
6225
6212
|
}, null, 8, ["class", "thumbnails", "active"])) : U("", !0)
|
|
6226
6213
|
])) : U("", !0)
|
|
6227
6214
|
]),
|
|
6228
6215
|
"bottom-right": C(() => [
|
|
6229
|
-
d("div",
|
|
6230
|
-
I.value && D.showInteriorOptions && z.value ? (m(), V(
|
|
6216
|
+
d("div", js, [
|
|
6217
|
+
I.value && D.showInteriorOptions && z.value ? (m(), V(jo, {
|
|
6231
6218
|
key: 0,
|
|
6232
6219
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6233
6220
|
"available-archetypes": z.value,
|
|
6234
6221
|
"selected-index": G.value,
|
|
6235
|
-
onSelectInterior:
|
|
6222
|
+
onSelectInterior: Fe
|
|
6236
6223
|
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : U("", !0)
|
|
6237
6224
|
])
|
|
6238
6225
|
]),
|
|
6239
6226
|
_: 1
|
|
6240
6227
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "is-full-screen", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
6241
|
-
D.showCarousel && r.value &&
|
|
6228
|
+
D.showCarousel && r.value && mt.value ? (m(), V(st, {
|
|
6242
6229
|
key: 0,
|
|
6243
6230
|
class: "waypoint-carousel below-player",
|
|
6244
6231
|
thumbnails: A.value,
|
|
6245
6232
|
active: g.value,
|
|
6246
|
-
onNext:
|
|
6247
|
-
onPrevious:
|
|
6248
|
-
onGoto:
|
|
6233
|
+
onNext: Oe,
|
|
6234
|
+
onPrevious: Q,
|
|
6235
|
+
onGoto: le
|
|
6249
6236
|
}, null, 8, ["thumbnails", "active"])) : U("", !0)
|
|
6250
6237
|
], 2)) : U("", !0)
|
|
6251
6238
|
])
|
|
6252
6239
|
], 2);
|
|
6253
6240
|
};
|
|
6254
6241
|
}
|
|
6255
|
-
}),
|
|
6242
|
+
}), Ws = /* @__PURE__ */ K(zs, [["__scopeId", "data-v-36167d9f"]]), Ns = { id: "player-wrapper" }, Gs = { id: "player-sizer" }, Qs = {
|
|
6256
6243
|
class: "player-control",
|
|
6257
6244
|
id: "controls-top-left"
|
|
6258
|
-
},
|
|
6245
|
+
}, qs = {
|
|
6259
6246
|
class: "player-control",
|
|
6260
6247
|
id: "controls-top-center"
|
|
6261
|
-
},
|
|
6248
|
+
}, Zs = {
|
|
6262
6249
|
class: "player-control",
|
|
6263
6250
|
id: "controls-top-right"
|
|
6264
|
-
},
|
|
6251
|
+
}, Js = {
|
|
6265
6252
|
class: "player-control",
|
|
6266
6253
|
id: "controls-center-left"
|
|
6267
|
-
},
|
|
6254
|
+
}, Xs = {
|
|
6268
6255
|
class: "player-control",
|
|
6269
6256
|
id: "controls-center-center"
|
|
6270
|
-
},
|
|
6257
|
+
}, Ks = {
|
|
6271
6258
|
class: "player-control",
|
|
6272
6259
|
id: "controls-center-right"
|
|
6273
|
-
},
|
|
6260
|
+
}, er = {
|
|
6274
6261
|
class: "player-control",
|
|
6275
6262
|
id: "controls-bottom-left"
|
|
6276
|
-
},
|
|
6263
|
+
}, tr = {
|
|
6277
6264
|
class: "player-control",
|
|
6278
6265
|
id: "controls-bottom-center"
|
|
6279
|
-
},
|
|
6266
|
+
}, ar = {
|
|
6280
6267
|
class: "player-control",
|
|
6281
6268
|
id: "controls-bottom-right"
|
|
6282
|
-
},
|
|
6269
|
+
}, nr = /* @__PURE__ */ P({
|
|
6283
6270
|
__name: "VManualSlideShowPlayer",
|
|
6284
6271
|
props: {
|
|
6285
6272
|
isFullScreen: { type: Boolean }
|
|
6286
6273
|
},
|
|
6287
6274
|
emits: ["newSizeCallback"],
|
|
6288
6275
|
setup(s, { emit: n }) {
|
|
6289
|
-
return (e, a) => (m(), x("div",
|
|
6290
|
-
d("div",
|
|
6291
|
-
|
|
6292
|
-
d("div", Gs, [
|
|
6293
|
-
ae(e.$slots, "top-left", {}, void 0, !0)
|
|
6294
|
-
]),
|
|
6276
|
+
return (e, a) => (m(), x("div", Ns, [
|
|
6277
|
+
d("div", Gs, [
|
|
6278
|
+
te(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
6295
6279
|
d("div", Qs, [
|
|
6296
|
-
|
|
6280
|
+
te(e.$slots, "top-left", {}, void 0, !0)
|
|
6297
6281
|
]),
|
|
6298
6282
|
d("div", qs, [
|
|
6299
|
-
|
|
6283
|
+
te(e.$slots, "top-center", {}, void 0, !0)
|
|
6300
6284
|
]),
|
|
6301
6285
|
d("div", Zs, [
|
|
6302
|
-
|
|
6286
|
+
te(e.$slots, "top-right", {}, void 0, !0)
|
|
6303
6287
|
]),
|
|
6304
6288
|
d("div", Js, [
|
|
6305
|
-
|
|
6289
|
+
te(e.$slots, "center-left", {}, void 0, !0)
|
|
6306
6290
|
]),
|
|
6307
6291
|
d("div", Xs, [
|
|
6308
|
-
|
|
6292
|
+
te(e.$slots, "center-center", {}, void 0, !0)
|
|
6309
6293
|
]),
|
|
6310
6294
|
d("div", Ks, [
|
|
6311
|
-
|
|
6295
|
+
te(e.$slots, "center-right", {}, void 0, !0)
|
|
6312
6296
|
]),
|
|
6313
6297
|
d("div", er, [
|
|
6314
|
-
|
|
6298
|
+
te(e.$slots, "bottom-left", {}, void 0, !0)
|
|
6315
6299
|
]),
|
|
6316
6300
|
d("div", tr, [
|
|
6317
|
-
|
|
6301
|
+
te(e.$slots, "bottom-center", {}, void 0, !0)
|
|
6302
|
+
]),
|
|
6303
|
+
d("div", ar, [
|
|
6304
|
+
te(e.$slots, "bottom-right", {}, void 0, !0)
|
|
6318
6305
|
])
|
|
6319
6306
|
])
|
|
6320
6307
|
]));
|
|
6321
6308
|
}
|
|
6322
|
-
}),
|
|
6309
|
+
}), or = /* @__PURE__ */ K(nr, [["__scopeId", "data-v-5fdd1e05"]]), lr = { class: "virtual-tour-wrapper" }, sr = { class: "player-and-components-wrapper" }, rr = { class: "mss-image" }, ir = {
|
|
6323
6310
|
key: 1,
|
|
6324
6311
|
class: "btn-placeholder"
|
|
6325
|
-
},
|
|
6312
|
+
}, ur = /* @__PURE__ */ P({
|
|
6326
6313
|
__name: "VManualSlideShow",
|
|
6327
6314
|
props: {
|
|
6328
6315
|
images: {},
|
|
@@ -6334,12 +6321,12 @@ const Es = {
|
|
|
6334
6321
|
},
|
|
6335
6322
|
setup(s) {
|
|
6336
6323
|
const n = s;
|
|
6337
|
-
|
|
6338
|
-
|
|
6324
|
+
tt(
|
|
6325
|
+
Ve,
|
|
6339
6326
|
n.i18nConfig ? new Ee(n.i18nConfig) : new Ee()
|
|
6340
6327
|
);
|
|
6341
6328
|
const e = f(0), a = f(
|
|
6342
|
-
new
|
|
6329
|
+
new Bt(document, "player-wrapper")
|
|
6343
6330
|
), t = O(() => n.images.map(
|
|
6344
6331
|
(r, h) => ({
|
|
6345
6332
|
id: `image-${h}`,
|
|
@@ -6368,14 +6355,14 @@ const Es = {
|
|
|
6368
6355
|
}
|
|
6369
6356
|
return (r, h) => {
|
|
6370
6357
|
const S = E("v-img"), g = E("v-btn");
|
|
6371
|
-
return m(), x("div",
|
|
6372
|
-
d("div",
|
|
6358
|
+
return m(), x("div", lr, [
|
|
6359
|
+
d("div", sr, [
|
|
6373
6360
|
d("div", null, [
|
|
6374
|
-
w(
|
|
6361
|
+
w(or, {
|
|
6375
6362
|
"is-full-screen": a.value.isActive
|
|
6376
6363
|
}, {
|
|
6377
6364
|
"slideshow-image": C(() => [
|
|
6378
|
-
d("div",
|
|
6365
|
+
d("div", rr, [
|
|
6379
6366
|
w(S, {
|
|
6380
6367
|
src: o.value.thumbnailUrl
|
|
6381
6368
|
}, null, 8, ["src"])
|
|
@@ -6385,7 +6372,7 @@ const Es = {
|
|
|
6385
6372
|
"top-center": C(() => []),
|
|
6386
6373
|
"top-right": C(() => []),
|
|
6387
6374
|
"center-left": C(() => [
|
|
6388
|
-
w(
|
|
6375
|
+
w(Me, { name: "slide-x-transition" }, {
|
|
6389
6376
|
default: C(() => [
|
|
6390
6377
|
t.value.length > 1 ? (m(), V(g, {
|
|
6391
6378
|
key: 0,
|
|
@@ -6400,7 +6387,7 @@ const Es = {
|
|
|
6400
6387
|
]),
|
|
6401
6388
|
"center-center": C(() => []),
|
|
6402
6389
|
"center-right": C(() => [
|
|
6403
|
-
w(
|
|
6390
|
+
w(Me, { name: "slide-x-reverse-transition" }, {
|
|
6404
6391
|
default: C(() => [
|
|
6405
6392
|
t.value.length > 1 ? (m(), V(g, {
|
|
6406
6393
|
key: 0,
|
|
@@ -6414,19 +6401,19 @@ const Es = {
|
|
|
6414
6401
|
})
|
|
6415
6402
|
]),
|
|
6416
6403
|
"bottom-left": C(() => [
|
|
6417
|
-
r.showFullScreen ? (m(), V(
|
|
6404
|
+
r.showFullScreen ? (m(), V(Ot, {
|
|
6418
6405
|
key: 0,
|
|
6419
6406
|
"is-full-screen": a.value.isActive,
|
|
6420
6407
|
class: "btn-fullscreen",
|
|
6421
6408
|
onToggleFullscreen: i
|
|
6422
6409
|
}, null, 8, ["is-full-screen"])) : U("", !0),
|
|
6423
|
-
r.showShare ? (m(), x("div",
|
|
6424
|
-
w(
|
|
6410
|
+
r.showShare ? (m(), x("div", ir, [
|
|
6411
|
+
w(Et)
|
|
6425
6412
|
])) : U("", !0)
|
|
6426
6413
|
]),
|
|
6427
6414
|
"bottom-center": C(() => [
|
|
6428
6415
|
d("div", null, [
|
|
6429
|
-
a.value.isActive && t.value.length > 1 ? (m(), V(
|
|
6416
|
+
a.value.isActive && t.value.length > 1 ? (m(), V(st, {
|
|
6430
6417
|
key: 0,
|
|
6431
6418
|
class: ge([a.value.isActive ? "full-screen" : ""]),
|
|
6432
6419
|
thumbnails: t.value,
|
|
@@ -6440,7 +6427,7 @@ const Es = {
|
|
|
6440
6427
|
"bottom-right": C(() => []),
|
|
6441
6428
|
_: 1
|
|
6442
6429
|
}, 8, ["is-full-screen"]),
|
|
6443
|
-
t.value.length > 1 ? (m(), V(
|
|
6430
|
+
t.value.length > 1 ? (m(), V(st, {
|
|
6444
6431
|
key: 0,
|
|
6445
6432
|
thumbnails: t.value,
|
|
6446
6433
|
active: e.value,
|
|
@@ -6453,7 +6440,7 @@ const Es = {
|
|
|
6453
6440
|
]);
|
|
6454
6441
|
};
|
|
6455
6442
|
}
|
|
6456
|
-
}),
|
|
6443
|
+
}), cr = /* @__PURE__ */ K(ur, [["__scopeId", "data-v-040ac08f"]]), dr = ["src"], vr = /* @__PURE__ */ P({
|
|
6457
6444
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
6458
6445
|
props: {
|
|
6459
6446
|
timeSampleData: {},
|
|
@@ -6461,16 +6448,16 @@ const Es = {
|
|
|
6461
6448
|
currentTime: {}
|
|
6462
6449
|
},
|
|
6463
6450
|
setup(s) {
|
|
6464
|
-
const n = s, { timeSampleData: e, cdnFileResolver: a, currentTime: t } =
|
|
6451
|
+
const n = s, { timeSampleData: e, cdnFileResolver: a, currentTime: t } = Te(n), o = O(() => ie(a.value, e.value.filename));
|
|
6465
6452
|
return (i, l) => pe((m(), x("img", {
|
|
6466
6453
|
key: o.value,
|
|
6467
6454
|
src: o.value,
|
|
6468
6455
|
width: "100%"
|
|
6469
|
-
}, null, 8,
|
|
6456
|
+
}, null, 8, dr)), [
|
|
6470
6457
|
[fe, B(t) && B(e) === B(t)]
|
|
6471
6458
|
]);
|
|
6472
6459
|
}
|
|
6473
|
-
}),
|
|
6460
|
+
}), mr = /* @__PURE__ */ K(vr, [["__scopeId", "data-v-9630cdc0"]]), pr = /* @__PURE__ */ P({
|
|
6474
6461
|
__name: "VStructureChooserCameraDay",
|
|
6475
6462
|
props: {
|
|
6476
6463
|
dayData: {},
|
|
@@ -6479,15 +6466,15 @@ const Es = {
|
|
|
6479
6466
|
currentTime: {}
|
|
6480
6467
|
},
|
|
6481
6468
|
setup(s) {
|
|
6482
|
-
const n = s, { dayData: e, cdnFileResolver: a, currentTime: t } =
|
|
6483
|
-
return (o, i) => (m(!0), x(
|
|
6469
|
+
const n = s, { dayData: e, cdnFileResolver: a, currentTime: t } = Te(n);
|
|
6470
|
+
return (o, i) => (m(!0), x(ue, null, he(B(e).timeSamples, (l) => (m(), V(mr, {
|
|
6484
6471
|
key: l.filename,
|
|
6485
6472
|
"time-sample-data": l,
|
|
6486
6473
|
"cdn-file-resolver": B(a),
|
|
6487
6474
|
"current-time": B(t)
|
|
6488
6475
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
6489
6476
|
}
|
|
6490
|
-
}),
|
|
6477
|
+
}), fr = ["src"], hr = /* @__PURE__ */ P({
|
|
6491
6478
|
__name: "VStructureChooserCamera",
|
|
6492
6479
|
props: {
|
|
6493
6480
|
cameraData: {},
|
|
@@ -6497,11 +6484,11 @@ const Es = {
|
|
|
6497
6484
|
currentTime: {}
|
|
6498
6485
|
},
|
|
6499
6486
|
setup(s) {
|
|
6500
|
-
const n = s, { cameraData: e, cdnFileResolver: a, currentCamera: t, currentTime: o } =
|
|
6487
|
+
const n = s, { cameraData: e, cdnFileResolver: a, currentCamera: t, currentTime: o } = Te(n), i = O(() => ie(
|
|
6501
6488
|
a.value,
|
|
6502
6489
|
t.value.defaultFilename
|
|
6503
6490
|
));
|
|
6504
|
-
return (l, v) => B(e).sunsimDayOfYear ? (m(!0), x(
|
|
6491
|
+
return (l, v) => B(e).sunsimDayOfYear ? (m(!0), x(ue, { key: 0 }, he(B(e).sunsimDayOfYear, (u) => (m(), V(pr, {
|
|
6505
6492
|
key: u.dayOfYear,
|
|
6506
6493
|
"day-data": u,
|
|
6507
6494
|
"cdn-file-resolver": B(a),
|
|
@@ -6511,11 +6498,11 @@ const Es = {
|
|
|
6511
6498
|
key: i.value,
|
|
6512
6499
|
src: i.value,
|
|
6513
6500
|
width: "100%"
|
|
6514
|
-
}, null, 8,
|
|
6501
|
+
}, null, 8, fr)), [
|
|
6515
6502
|
[fe, B(t) === B(e)]
|
|
6516
6503
|
]);
|
|
6517
6504
|
}
|
|
6518
|
-
}),
|
|
6505
|
+
}), gr = ["src"], yr = /* @__PURE__ */ P({
|
|
6519
6506
|
__name: "VStructureChooserTransition",
|
|
6520
6507
|
props: {
|
|
6521
6508
|
transitionData: {},
|
|
@@ -6523,16 +6510,16 @@ const Es = {
|
|
|
6523
6510
|
currentTransition: {}
|
|
6524
6511
|
},
|
|
6525
6512
|
setup(s) {
|
|
6526
|
-
const n = s, { transitionData: e, cdnFileResolver: a, currentTransition: t } =
|
|
6513
|
+
const n = s, { transitionData: e, cdnFileResolver: a, currentTransition: t } = Te(n), o = O(() => ie(a.value, e.value.filename));
|
|
6527
6514
|
return (i, l) => pe((m(), x("img", {
|
|
6528
6515
|
key: o.value,
|
|
6529
6516
|
src: o.value,
|
|
6530
6517
|
class: "position-absolute top-left w-100 h-100"
|
|
6531
|
-
}, null, 8,
|
|
6518
|
+
}, null, 8, gr)), [
|
|
6532
6519
|
[fe, B(e) === B(t)]
|
|
6533
6520
|
]);
|
|
6534
6521
|
}
|
|
6535
|
-
}),
|
|
6522
|
+
}), _r = /* @__PURE__ */ K(yr, [["__scopeId", "data-v-a7a18237"]]), br = /* @__PURE__ */ P({
|
|
6536
6523
|
__name: "VStructureChooserUiCamera",
|
|
6537
6524
|
props: {
|
|
6538
6525
|
stillCameras: {},
|
|
@@ -6541,7 +6528,7 @@ const Es = {
|
|
|
6541
6528
|
},
|
|
6542
6529
|
emits: ["onCameraChange"],
|
|
6543
6530
|
setup(s, { emit: n }) {
|
|
6544
|
-
const e = s, { stillCameras: a, currentCamera: t, disabled: o } =
|
|
6531
|
+
const e = s, { stillCameras: a, currentCamera: t, disabled: o } = Te(e), i = n, l = f(t.value.cameraName);
|
|
6545
6532
|
return H(t, () => {
|
|
6546
6533
|
l.value = t.value.cameraName;
|
|
6547
6534
|
}), H(l, () => {
|
|
@@ -6566,14 +6553,14 @@ const Es = {
|
|
|
6566
6553
|
};
|
|
6567
6554
|
}
|
|
6568
6555
|
});
|
|
6569
|
-
function
|
|
6556
|
+
function gt(s) {
|
|
6570
6557
|
const n = /* @__PURE__ */ new Date(0);
|
|
6571
6558
|
return n.setUTCDate(s), n.toLocaleString("en-no", {
|
|
6572
6559
|
month: "short",
|
|
6573
6560
|
day: "numeric"
|
|
6574
6561
|
});
|
|
6575
6562
|
}
|
|
6576
|
-
const
|
|
6563
|
+
const Cr = /* @__PURE__ */ P({
|
|
6577
6564
|
__name: "VStructureChooserUiDay",
|
|
6578
6565
|
props: {
|
|
6579
6566
|
currentCamera: {},
|
|
@@ -6582,7 +6569,7 @@ const br = /* @__PURE__ */ P({
|
|
|
6582
6569
|
},
|
|
6583
6570
|
emits: ["onDayChange"],
|
|
6584
6571
|
setup(s, { emit: n }) {
|
|
6585
|
-
const e = s, { currentCamera: a, currentDay: t, disabled: o } =
|
|
6572
|
+
const e = s, { currentCamera: a, currentDay: t, disabled: o } = Te(e), i = n, l = f(t.value.dayOfYear);
|
|
6586
6573
|
return H(t, () => {
|
|
6587
6574
|
l.value = t.value.dayOfYear;
|
|
6588
6575
|
}), H(l, () => {
|
|
@@ -6607,26 +6594,26 @@ const br = /* @__PURE__ */ P({
|
|
|
6607
6594
|
"prepend-inner-icon": "mdi-calendar"
|
|
6608
6595
|
}, {
|
|
6609
6596
|
item: C(({ props: S }) => [
|
|
6610
|
-
w(r,
|
|
6611
|
-
title: B(
|
|
6597
|
+
w(r, Ie(S, {
|
|
6598
|
+
title: B(gt)(S.title)
|
|
6612
6599
|
}), null, 16, ["title"])
|
|
6613
6600
|
]),
|
|
6614
6601
|
selection: C(({ item: S }) => [
|
|
6615
|
-
X(W(B(
|
|
6602
|
+
X(W(B(gt)(S.title)), 1)
|
|
6616
6603
|
]),
|
|
6617
6604
|
_: 1
|
|
6618
6605
|
}, 8, ["modelValue", "items", "disabled"]);
|
|
6619
6606
|
};
|
|
6620
6607
|
}
|
|
6621
6608
|
});
|
|
6622
|
-
function
|
|
6609
|
+
function et(s) {
|
|
6623
6610
|
const n = s * 60, e = Math.floor(n / 60), a = n % 60;
|
|
6624
6611
|
return `${e.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
6625
6612
|
}
|
|
6626
|
-
const
|
|
6613
|
+
const wr = {
|
|
6627
6614
|
key: 0,
|
|
6628
6615
|
class: "py-2"
|
|
6629
|
-
},
|
|
6616
|
+
}, kr = { class: "small" }, Ir = { class: "small" }, Sr = /* @__PURE__ */ P({
|
|
6630
6617
|
__name: "VStructureChooserUiTimeSample",
|
|
6631
6618
|
props: {
|
|
6632
6619
|
currentDay: {},
|
|
@@ -6635,7 +6622,7 @@ const Cr = {
|
|
|
6635
6622
|
},
|
|
6636
6623
|
emits: ["onTimeChange"],
|
|
6637
6624
|
setup(s, { emit: n }) {
|
|
6638
|
-
const e = s, { currentDay: a, currentTime: t, disabled: o } =
|
|
6625
|
+
const e = s, { currentDay: a, currentTime: t, disabled: o } = Te(e), i = n, l = f(t.value.timeInHours), v = f();
|
|
6639
6626
|
H(t, () => {
|
|
6640
6627
|
l.value = t.value.timeInHours;
|
|
6641
6628
|
}), H(l, () => {
|
|
@@ -6660,7 +6647,7 @@ const Cr = {
|
|
|
6660
6647
|
const S = E("v-icon"), g = E("v-btn"), c = E("v-slider"), p = E("v-field");
|
|
6661
6648
|
return m(), V(p, { variant: "solo" }, {
|
|
6662
6649
|
default: C(() => [
|
|
6663
|
-
B(a).startTime === B(a).endTime ? (m(), x("div",
|
|
6650
|
+
B(a).startTime === B(a).endTime ? (m(), x("div", wr, [
|
|
6664
6651
|
w(S, {
|
|
6665
6652
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
6666
6653
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -6670,7 +6657,7 @@ const Cr = {
|
|
|
6670
6657
|
]),
|
|
6671
6658
|
_: 1
|
|
6672
6659
|
}),
|
|
6673
|
-
X(" " + W(B(
|
|
6660
|
+
X(" " + W(B(et)(l.value)), 1)
|
|
6674
6661
|
])) : (m(), V(c, {
|
|
6675
6662
|
key: 1,
|
|
6676
6663
|
class: "pa-1",
|
|
@@ -6692,7 +6679,7 @@ const Cr = {
|
|
|
6692
6679
|
]),
|
|
6693
6680
|
_: 1
|
|
6694
6681
|
}),
|
|
6695
|
-
X(" " + W(B(
|
|
6682
|
+
X(" " + W(B(et)(l.value)) + " ", 1),
|
|
6696
6683
|
w(g, {
|
|
6697
6684
|
icon: v.value ? "mdi-stop" : "mdi-play",
|
|
6698
6685
|
class: "mx-2",
|
|
@@ -6700,10 +6687,10 @@ const Cr = {
|
|
|
6700
6687
|
variant: "flat",
|
|
6701
6688
|
onClick: u
|
|
6702
6689
|
}, null, 8, ["icon"]),
|
|
6703
|
-
d("span",
|
|
6690
|
+
d("span", kr, W(B(et)(B(a).startTime)), 1)
|
|
6704
6691
|
]),
|
|
6705
6692
|
append: C(() => [
|
|
6706
|
-
d("span",
|
|
6693
|
+
d("span", Ir, W(B(et)(B(a).endTime)), 1)
|
|
6707
6694
|
]),
|
|
6708
6695
|
_: 1
|
|
6709
6696
|
}, 8, ["modelValue", "min", "max", "step", "disabled"]))
|
|
@@ -6712,7 +6699,7 @@ const Cr = {
|
|
|
6712
6699
|
});
|
|
6713
6700
|
};
|
|
6714
6701
|
}
|
|
6715
|
-
}),
|
|
6702
|
+
}), Dr = /* @__PURE__ */ K(Sr, [["__scopeId", "data-v-690caa02"]]), Dt = /* @__PURE__ */ P({
|
|
6716
6703
|
__name: "VStructureChooserUiNameChip",
|
|
6717
6704
|
props: {
|
|
6718
6705
|
selectedId: {},
|
|
@@ -6720,7 +6707,7 @@ const Cr = {
|
|
|
6720
6707
|
},
|
|
6721
6708
|
emits: ["onDisplayClick"],
|
|
6722
6709
|
setup(s, { emit: n }) {
|
|
6723
|
-
const e = s, { selectedId: a, renderDisplay: t } =
|
|
6710
|
+
const e = s, { selectedId: a, renderDisplay: t } = Te(e), o = n;
|
|
6724
6711
|
return (i, l) => {
|
|
6725
6712
|
const v = E("v-chip");
|
|
6726
6713
|
return B(t) && B(a) ? (m(), V(v, {
|
|
@@ -6737,7 +6724,7 @@ const Cr = {
|
|
|
6737
6724
|
})) : U("", !0);
|
|
6738
6725
|
};
|
|
6739
6726
|
}
|
|
6740
|
-
}),
|
|
6727
|
+
}), Ar = /* @__PURE__ */ P({
|
|
6741
6728
|
__name: "VStructureChooserUiRotator",
|
|
6742
6729
|
props: {
|
|
6743
6730
|
structureChooserData: {},
|
|
@@ -6745,7 +6732,7 @@ const Cr = {
|
|
|
6745
6732
|
},
|
|
6746
6733
|
emits: ["onRotateStart", "onRotateFinish", "onSceneChange"],
|
|
6747
6734
|
setup(s, { expose: n, emit: e }) {
|
|
6748
|
-
const a = s, { structureChooserData: t, currentScene: o } =
|
|
6735
|
+
const a = s, { structureChooserData: t, currentScene: o } = Te(a), i = e;
|
|
6749
6736
|
n({
|
|
6750
6737
|
rotateShortestRoute: g
|
|
6751
6738
|
});
|
|
@@ -6798,7 +6785,7 @@ const Cr = {
|
|
|
6798
6785
|
}
|
|
6799
6786
|
return (p, _) => {
|
|
6800
6787
|
const b = E("v-btn");
|
|
6801
|
-
return m(), x(
|
|
6788
|
+
return m(), x(ue, null, [
|
|
6802
6789
|
w(b, {
|
|
6803
6790
|
class: "mx-2",
|
|
6804
6791
|
icon: "mdi-restore",
|
|
@@ -6806,7 +6793,7 @@ const Cr = {
|
|
|
6806
6793
|
disabled: !u.value,
|
|
6807
6794
|
onClick: S
|
|
6808
6795
|
}, null, 8, ["disabled"]),
|
|
6809
|
-
|
|
6796
|
+
te(p.$slots, "default"),
|
|
6810
6797
|
w(b, {
|
|
6811
6798
|
class: "mx-2",
|
|
6812
6799
|
icon: "mdi-reload",
|
|
@@ -6817,7 +6804,7 @@ const Cr = {
|
|
|
6817
6804
|
], 64);
|
|
6818
6805
|
};
|
|
6819
6806
|
}
|
|
6820
|
-
}),
|
|
6807
|
+
}), xr = ["innerHTML"], Fr = /* @__PURE__ */ P({
|
|
6821
6808
|
__name: "VStructureChooserOverlay",
|
|
6822
6809
|
props: {
|
|
6823
6810
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -6827,7 +6814,7 @@ const Cr = {
|
|
|
6827
6814
|
},
|
|
6828
6815
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
6829
6816
|
setup(s, { emit: n }) {
|
|
6830
|
-
const e = s, { cdnFileResolver: a, colorCallback: t, currentCamera: o, selectedId: i } =
|
|
6817
|
+
const e = s, { cdnFileResolver: a, colorCallback: t, currentCamera: o, selectedId: i } = Te(e), l = n, v = f(), u = f(), r = rt({});
|
|
6831
6818
|
Ce(() => {
|
|
6832
6819
|
for (const g in r) {
|
|
6833
6820
|
const { element: c, state: p } = r[g], { r: _, g: b, b: y, a: R, s: T } = t.value(g, p) || {
|
|
@@ -6844,7 +6831,7 @@ const Cr = {
|
|
|
6844
6831
|
r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected");
|
|
6845
6832
|
}), Ce(async () => {
|
|
6846
6833
|
v.value = await be.loadText(
|
|
6847
|
-
|
|
6834
|
+
ie(a.value, o.value.overlayFilename)
|
|
6848
6835
|
), S();
|
|
6849
6836
|
}), H(
|
|
6850
6837
|
() => u.value,
|
|
@@ -6899,7 +6886,7 @@ const Cr = {
|
|
|
6899
6886
|
}
|
|
6900
6887
|
});
|
|
6901
6888
|
}
|
|
6902
|
-
return (g, c) => (m(), V(
|
|
6889
|
+
return (g, c) => (m(), V(Me, null, {
|
|
6903
6890
|
default: C(() => [
|
|
6904
6891
|
(m(), x("div", {
|
|
6905
6892
|
ref_key: "svgContainer",
|
|
@@ -6908,13 +6895,13 @@ const Cr = {
|
|
|
6908
6895
|
class: "w-100 h-100 position-absolute top-left",
|
|
6909
6896
|
style: { "z-index": "5" },
|
|
6910
6897
|
innerHTML: v.value
|
|
6911
|
-
}, null, 8,
|
|
6898
|
+
}, null, 8, xr))
|
|
6912
6899
|
]),
|
|
6913
6900
|
_: 1
|
|
6914
6901
|
}));
|
|
6915
6902
|
}
|
|
6916
|
-
}),
|
|
6917
|
-
function
|
|
6903
|
+
}), Lr = /* @__PURE__ */ K(Fr, [["__scopeId", "data-v-354134d9"]]);
|
|
6904
|
+
function Mr(s) {
|
|
6918
6905
|
if (!s)
|
|
6919
6906
|
return !1;
|
|
6920
6907
|
const n = [
|
|
@@ -6932,16 +6919,16 @@ function Lr(s) {
|
|
|
6932
6919
|
return !1;
|
|
6933
6920
|
return !0;
|
|
6934
6921
|
}
|
|
6935
|
-
function
|
|
6922
|
+
function Tr(s) {
|
|
6936
6923
|
return !("filename" in s) && "defaultFilename" in s;
|
|
6937
6924
|
}
|
|
6938
|
-
function
|
|
6925
|
+
function yt(s) {
|
|
6939
6926
|
return "filename" in s;
|
|
6940
6927
|
}
|
|
6941
|
-
function
|
|
6928
|
+
function Vr(s) {
|
|
6942
6929
|
return s ? "version" in s : !1;
|
|
6943
6930
|
}
|
|
6944
|
-
function
|
|
6931
|
+
function Er(s) {
|
|
6945
6932
|
if (!s)
|
|
6946
6933
|
return !1;
|
|
6947
6934
|
const n = [
|
|
@@ -6957,7 +6944,7 @@ function Vr(s) {
|
|
|
6957
6944
|
return !1;
|
|
6958
6945
|
return !0;
|
|
6959
6946
|
}
|
|
6960
|
-
function
|
|
6947
|
+
function Or(s) {
|
|
6961
6948
|
if (!s)
|
|
6962
6949
|
return !1;
|
|
6963
6950
|
const n = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -6966,14 +6953,14 @@ function Er(s) {
|
|
|
6966
6953
|
return !1;
|
|
6967
6954
|
return !0;
|
|
6968
6955
|
}
|
|
6969
|
-
function
|
|
6956
|
+
function je(s) {
|
|
6970
6957
|
return s.startsWith("/") ? s : `/${s}`;
|
|
6971
6958
|
}
|
|
6972
|
-
function
|
|
6959
|
+
function Br(s) {
|
|
6973
6960
|
var n, e, a, t;
|
|
6974
|
-
if (
|
|
6961
|
+
if (Mr(s))
|
|
6975
6962
|
return s;
|
|
6976
|
-
if (
|
|
6963
|
+
if (Or(s)) {
|
|
6977
6964
|
if (!s.buildings)
|
|
6978
6965
|
throw new Error(
|
|
6979
6966
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -7015,11 +7002,11 @@ function Or(s) {
|
|
|
7015
7002
|
const i = { ...o };
|
|
7016
7003
|
return i.sunsimDayOfYear && i.sunsimDayOfYear.forEach((v) => {
|
|
7017
7004
|
v.timeSamples && v.timeSamples.forEach((u) => {
|
|
7018
|
-
u.filename =
|
|
7005
|
+
u.filename = je(u.filename);
|
|
7019
7006
|
});
|
|
7020
7007
|
}), {
|
|
7021
7008
|
...i,
|
|
7022
|
-
defaultFilename: i.sunsimDayOfYear[0] ?
|
|
7009
|
+
defaultFilename: i.sunsimDayOfYear[0] ? je(
|
|
7023
7010
|
((l = i.sunsimDayOfYear[0].timeSamples.find(
|
|
7024
7011
|
(v) => v.timeInHours === i.sunsimDayOfYear[0].defaultHour
|
|
7025
7012
|
)) == null ? void 0 : l.filename) || i.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7027,7 +7014,7 @@ function Or(s) {
|
|
|
7027
7014
|
};
|
|
7028
7015
|
})
|
|
7029
7016
|
};
|
|
7030
|
-
} else if (
|
|
7017
|
+
} else if (Er(s)) {
|
|
7031
7018
|
if (!s.days && !s.timeSamples)
|
|
7032
7019
|
throw new Error(
|
|
7033
7020
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -7053,12 +7040,12 @@ function Or(s) {
|
|
|
7053
7040
|
{
|
|
7054
7041
|
cameraName: "",
|
|
7055
7042
|
cameraPosition: s.cameraPosition,
|
|
7056
|
-
cameraRotation:
|
|
7043
|
+
cameraRotation: At(
|
|
7057
7044
|
s.cameraRotation.normalized || s.cameraRotation
|
|
7058
7045
|
),
|
|
7059
7046
|
cameraFov: s.cameraFov,
|
|
7060
7047
|
overlayFilename: "/BuildingChooserV5.svg",
|
|
7061
|
-
defaultFilename:
|
|
7048
|
+
defaultFilename: je((e = (n = o[0]) == null ? void 0 : n.timeSamples[0]) == null ? void 0 : e.filename),
|
|
7062
7049
|
sunsimDayOfYear: o.map((i) => ({
|
|
7063
7050
|
dayOfYear: i.dayOfYear,
|
|
7064
7051
|
startTime: 0,
|
|
@@ -7067,14 +7054,14 @@ function Or(s) {
|
|
|
7067
7054
|
defaultHour: 14,
|
|
7068
7055
|
timeSamples: i.timeSamples.map(({ timeInHours: l, filename: v }) => ({
|
|
7069
7056
|
timeInHours: l,
|
|
7070
|
-
filename:
|
|
7057
|
+
filename: je(v)
|
|
7071
7058
|
}))
|
|
7072
7059
|
}))
|
|
7073
7060
|
}
|
|
7074
7061
|
]
|
|
7075
7062
|
};
|
|
7076
7063
|
} else {
|
|
7077
|
-
if (
|
|
7064
|
+
if (Pa(s))
|
|
7078
7065
|
return {
|
|
7079
7066
|
version: "5.0",
|
|
7080
7067
|
latitude: s.latitude,
|
|
@@ -7098,7 +7085,7 @@ function Or(s) {
|
|
|
7098
7085
|
loopable: s.loopable,
|
|
7099
7086
|
cameras: s.cameras.map((o) => {
|
|
7100
7087
|
var i;
|
|
7101
|
-
if (
|
|
7088
|
+
if (Ct(o)) {
|
|
7102
7089
|
if (o.sunsimDayOfYear) {
|
|
7103
7090
|
if (o.sunsimDayOfYear.length === 0)
|
|
7104
7091
|
throw new Error(
|
|
@@ -7120,11 +7107,11 @@ function Or(s) {
|
|
|
7120
7107
|
const l = { ...o };
|
|
7121
7108
|
return l.sunsimDayOfYear && l.sunsimDayOfYear.forEach((v) => {
|
|
7122
7109
|
v.timeSamples && v.timeSamples.forEach((u) => {
|
|
7123
|
-
u.filename =
|
|
7110
|
+
u.filename = je(u.filename);
|
|
7124
7111
|
});
|
|
7125
7112
|
}), {
|
|
7126
7113
|
...l,
|
|
7127
|
-
defaultFilename: l.sunsimDayOfYear[0] ?
|
|
7114
|
+
defaultFilename: l.sunsimDayOfYear[0] ? je(
|
|
7128
7115
|
((i = l.sunsimDayOfYear[0].timeSamples.find(
|
|
7129
7116
|
(v) => v.timeInHours === l.sunsimDayOfYear[0].defaultHour
|
|
7130
7117
|
)) == null ? void 0 : i.filename) || l.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7134,7 +7121,7 @@ function Or(s) {
|
|
|
7134
7121
|
return o;
|
|
7135
7122
|
})
|
|
7136
7123
|
};
|
|
7137
|
-
if (
|
|
7124
|
+
if (Vr(s)) {
|
|
7138
7125
|
if (!s.sceneData)
|
|
7139
7126
|
throw new Error(
|
|
7140
7127
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -7151,7 +7138,7 @@ function Or(s) {
|
|
|
7151
7138
|
u = o[v].filename, r = {
|
|
7152
7139
|
cameraName: `Camera ${l + 1}`,
|
|
7153
7140
|
cameraPosition: void 0,
|
|
7154
|
-
cameraRotation: s.sceneCameras && (a = s.sceneCameras.find((h) => h.scene === l)) != null && a.cameraRotation ?
|
|
7141
|
+
cameraRotation: s.sceneCameras && (a = s.sceneCameras.find((h) => h.scene === l)) != null && a.cameraRotation ? At(
|
|
7155
7142
|
(t = s.sceneCameras.find((h) => h.scene === l)) == null ? void 0 : t.cameraRotation
|
|
7156
7143
|
) : void 0,
|
|
7157
7144
|
cameraFov: 0,
|
|
@@ -7173,7 +7160,7 @@ function Or(s) {
|
|
|
7173
7160
|
// ],
|
|
7174
7161
|
// },
|
|
7175
7162
|
// ],
|
|
7176
|
-
},
|
|
7163
|
+
}, yt(o[v]) && (o[v] = r);
|
|
7177
7164
|
}
|
|
7178
7165
|
return {
|
|
7179
7166
|
version: "5.0",
|
|
@@ -7198,7 +7185,7 @@ function Or(s) {
|
|
|
7198
7185
|
throw new Error("cannot convert data, no conversion source type found");
|
|
7199
7186
|
}
|
|
7200
7187
|
}
|
|
7201
|
-
function
|
|
7188
|
+
function At({ x: s, y: n, z: e }) {
|
|
7202
7189
|
return {
|
|
7203
7190
|
x: s,
|
|
7204
7191
|
y: n,
|
|
@@ -7206,16 +7193,16 @@ function Dt({ x: s, y: n, z: e }) {
|
|
|
7206
7193
|
w: 0
|
|
7207
7194
|
};
|
|
7208
7195
|
}
|
|
7209
|
-
const
|
|
7196
|
+
const Rr = {
|
|
7210
7197
|
class: "actions-bar compact top-left d-flex w-100 justify-center align-center",
|
|
7211
7198
|
style: { "z-index": "7" }
|
|
7212
|
-
},
|
|
7199
|
+
}, $r = {
|
|
7213
7200
|
class: "hover-bar bottom-right d-flex w-100 justify-center align-center pa-2",
|
|
7214
7201
|
style: { "z-index": "7" }
|
|
7215
|
-
},
|
|
7202
|
+
}, Ur = {
|
|
7216
7203
|
class: "position-absolute bottom-right-compact pa-2",
|
|
7217
7204
|
style: { "z-index": "7", width: "56px", height: "56px" }
|
|
7218
|
-
},
|
|
7205
|
+
}, Hr = ["innerHTML"], Yr = { style: { "z-index": "7" } }, Pr = /* @__PURE__ */ P({
|
|
7219
7206
|
__name: "VStructureChooser",
|
|
7220
7207
|
props: {
|
|
7221
7208
|
structureChooserData: {},
|
|
@@ -7244,7 +7231,7 @@ const Br = {
|
|
|
7244
7231
|
defaultTime: r,
|
|
7245
7232
|
renderDisplay: h,
|
|
7246
7233
|
mobileBreakpoint: S
|
|
7247
|
-
} =
|
|
7234
|
+
} = Te(e), g = n, c = f(), p = f(), _ = f(), b = f(null), y = f(4), R = f(), T = f(!1), Y = f(!1), I = f(), k = f(), j = O(() => k.value.isHoverEnabled), M = f({ x: 0, y: 0, width: 0, height: 0 }), G = f(), A = f(), L = f(), q = f(!1);
|
|
7248
7235
|
ye(() => {
|
|
7249
7236
|
T.value = !0;
|
|
7250
7237
|
});
|
|
@@ -7253,7 +7240,7 @@ const Br = {
|
|
|
7253
7240
|
a,
|
|
7254
7241
|
(Q) => {
|
|
7255
7242
|
try {
|
|
7256
|
-
L.value =
|
|
7243
|
+
L.value = Br(Q);
|
|
7257
7244
|
} catch (le) {
|
|
7258
7245
|
g("onError", le);
|
|
7259
7246
|
}
|
|
@@ -7267,14 +7254,14 @@ const Br = {
|
|
|
7267
7254
|
() => A.value,
|
|
7268
7255
|
() => {
|
|
7269
7256
|
A.value && new ResizeObserver(([le]) => {
|
|
7270
|
-
|
|
7257
|
+
q.value = le.contentRect.width < S.value;
|
|
7271
7258
|
}).observe(A.value);
|
|
7272
7259
|
}
|
|
7273
7260
|
);
|
|
7274
7261
|
const $ = O(
|
|
7275
|
-
() => L.value ? L.value.cameras.filter(
|
|
7262
|
+
() => L.value ? L.value.cameras.filter(Tr) : []
|
|
7276
7263
|
), ee = O(
|
|
7277
|
-
() => L.value ? L.value.cameras.filter(
|
|
7264
|
+
() => L.value ? L.value.cameras.filter(yt) : []
|
|
7278
7265
|
);
|
|
7279
7266
|
H(
|
|
7280
7267
|
[L, t, v],
|
|
@@ -7305,98 +7292,98 @@ const Br = {
|
|
|
7305
7292
|
},
|
|
7306
7293
|
{ immediate: !0 }
|
|
7307
7294
|
);
|
|
7308
|
-
function
|
|
7295
|
+
function ae(Q) {
|
|
7309
7296
|
c.value !== Q && I.value.rotateShortestRoute(
|
|
7310
7297
|
L.value.cameras.findIndex((le) => le === Q)
|
|
7311
7298
|
);
|
|
7312
7299
|
}
|
|
7313
|
-
function
|
|
7314
|
-
y.value = Q,
|
|
7315
|
-
|
|
7300
|
+
function de(Q) {
|
|
7301
|
+
y.value = Q, yt(L.value.cameras[y.value]) ? b.value = L.value.cameras[y.value] : (we(() => {
|
|
7302
|
+
ce(
|
|
7316
7303
|
L.value.cameras[y.value]
|
|
7317
7304
|
);
|
|
7318
7305
|
}), b.value = null);
|
|
7319
7306
|
}
|
|
7320
|
-
function
|
|
7307
|
+
function ce(Q) {
|
|
7321
7308
|
const le = p.value;
|
|
7322
7309
|
c.value = Q, y.value = L.value.cameras.findIndex(
|
|
7323
|
-
(
|
|
7310
|
+
(re) => re === c.value
|
|
7324
7311
|
), we(() => {
|
|
7325
|
-
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 &&
|
|
7312
|
+
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && _e(
|
|
7326
7313
|
c.value.sunsimDayOfYear.find(
|
|
7327
|
-
(
|
|
7314
|
+
(re) => re.dayOfYear === le.dayOfYear
|
|
7328
7315
|
) || c.value.sunsimDayOfYear[0]
|
|
7329
7316
|
);
|
|
7330
7317
|
});
|
|
7331
7318
|
}
|
|
7332
|
-
function
|
|
7319
|
+
function _e(Q) {
|
|
7333
7320
|
const le = _.value;
|
|
7334
7321
|
p.value = Q, we(() => {
|
|
7335
|
-
|
|
7322
|
+
De(
|
|
7336
7323
|
p.value.timeSamples.find(
|
|
7337
|
-
(
|
|
7324
|
+
(re) => re.timeInHours === le.timeInHours
|
|
7338
7325
|
) || p.value.timeSamples.find(
|
|
7339
|
-
(
|
|
7326
|
+
(re) => re.timeInHours === p.value.defaultHour
|
|
7340
7327
|
) || p.value.timeSamples[0]
|
|
7341
7328
|
);
|
|
7342
7329
|
});
|
|
7343
7330
|
}
|
|
7344
|
-
function
|
|
7331
|
+
function De(Q) {
|
|
7345
7332
|
_.value = Q;
|
|
7346
7333
|
}
|
|
7347
7334
|
function Se(Q) {
|
|
7348
7335
|
g("onClick", Q, () => {
|
|
7349
7336
|
const le = L.value.angleData.find(
|
|
7350
|
-
(
|
|
7337
|
+
(re) => re.id === Q
|
|
7351
7338
|
);
|
|
7352
7339
|
le && I.value.rotateShortestRoute(le.angle);
|
|
7353
7340
|
});
|
|
7354
7341
|
}
|
|
7355
|
-
function
|
|
7342
|
+
function Ae(Q) {
|
|
7356
7343
|
g("onHoverOver", Q), R.value = Q;
|
|
7357
7344
|
}
|
|
7358
|
-
function
|
|
7345
|
+
function xe(Q) {
|
|
7359
7346
|
g("onHoverOut", Q), R.value = void 0;
|
|
7360
7347
|
}
|
|
7361
7348
|
function Oe(Q) {
|
|
7362
|
-
const { layerX: le, layerY:
|
|
7363
|
-
let
|
|
7364
|
-
for (;
|
|
7365
|
-
if (
|
|
7349
|
+
const { layerX: le, layerY: re } = Q;
|
|
7350
|
+
let Fe = Q.target, N = !1;
|
|
7351
|
+
for (; Fe; )
|
|
7352
|
+
if (Fe === G.value) {
|
|
7366
7353
|
N = !0;
|
|
7367
7354
|
break;
|
|
7368
7355
|
} else
|
|
7369
|
-
|
|
7356
|
+
Fe = Fe.parentElement;
|
|
7370
7357
|
if (N) {
|
|
7371
|
-
const
|
|
7358
|
+
const Z = Q.currentTarget;
|
|
7372
7359
|
M.value = {
|
|
7373
7360
|
x: le,
|
|
7374
|
-
y:
|
|
7375
|
-
width:
|
|
7376
|
-
height:
|
|
7361
|
+
y: re,
|
|
7362
|
+
width: Z.clientWidth,
|
|
7363
|
+
height: Z.clientHeight
|
|
7377
7364
|
};
|
|
7378
7365
|
} else
|
|
7379
7366
|
M.value = void 0;
|
|
7380
7367
|
g("onMouseMove", Q, M.value);
|
|
7381
7368
|
}
|
|
7382
7369
|
return (Q, le) => {
|
|
7383
|
-
const
|
|
7384
|
-
return m(), x(
|
|
7385
|
-
w(
|
|
7370
|
+
const re = E("v-text-field"), Fe = E("v-skeleton-loader");
|
|
7371
|
+
return m(), x(ue, null, [
|
|
7372
|
+
w(Fe, {
|
|
7386
7373
|
type: "image",
|
|
7387
7374
|
class: "w-100 h-100 position-relative",
|
|
7388
7375
|
loading: !T.value || !L.value
|
|
7389
7376
|
}, {
|
|
7390
7377
|
default: C(() => [
|
|
7391
|
-
w(
|
|
7378
|
+
w(Me, { class: "w-100 h-100" }, {
|
|
7392
7379
|
default: C(() => [
|
|
7393
7380
|
d("div", {
|
|
7394
7381
|
ref_key: "container",
|
|
7395
7382
|
ref: A,
|
|
7396
|
-
class: ge({ mobile:
|
|
7383
|
+
class: ge({ mobile: q.value }),
|
|
7397
7384
|
onMousemove: Oe
|
|
7398
7385
|
}, [
|
|
7399
|
-
d("div",
|
|
7386
|
+
d("div", Rr, [
|
|
7400
7387
|
z.value ? (m(), x("div", {
|
|
7401
7388
|
key: 0,
|
|
7402
7389
|
class: ge({
|
|
@@ -7407,13 +7394,13 @@ const Br = {
|
|
|
7407
7394
|
"mobile-double": oe.value
|
|
7408
7395
|
})
|
|
7409
7396
|
}, [
|
|
7410
|
-
$.value.length > 1 ? (m(), V(
|
|
7397
|
+
$.value.length > 1 ? (m(), V(br, {
|
|
7411
7398
|
key: 0,
|
|
7412
7399
|
"still-cameras": $.value,
|
|
7413
7400
|
"current-camera": c.value,
|
|
7414
7401
|
disabled: Y.value,
|
|
7415
|
-
onOnCameraChange:
|
|
7416
|
-
}, null, 8, ["still-cameras", "current-camera", "disabled"])) : $.value.length === 1 ? (m(), V(
|
|
7402
|
+
onOnCameraChange: ae
|
|
7403
|
+
}, null, 8, ["still-cameras", "current-camera", "disabled"])) : $.value.length === 1 ? (m(), V(re, {
|
|
7417
7404
|
key: 1,
|
|
7418
7405
|
readonly: "",
|
|
7419
7406
|
value: $.value[0].cameraName,
|
|
@@ -7433,16 +7420,16 @@ const Br = {
|
|
|
7433
7420
|
"mobile-double": z.value
|
|
7434
7421
|
})
|
|
7435
7422
|
}, [
|
|
7436
|
-
c.value.sunsimDayOfYear.length > 1 ? (m(), V(
|
|
7423
|
+
c.value.sunsimDayOfYear.length > 1 ? (m(), V(Cr, {
|
|
7437
7424
|
key: 0,
|
|
7438
7425
|
"current-camera": c.value,
|
|
7439
7426
|
"current-day": p.value,
|
|
7440
7427
|
disabled: Y.value,
|
|
7441
|
-
onOnDayChange:
|
|
7442
|
-
}, null, 8, ["current-camera", "current-day", "disabled"])) : c.value.sunsimDayOfYear.length === 1 ? (m(), V(
|
|
7428
|
+
onOnDayChange: _e
|
|
7429
|
+
}, null, 8, ["current-camera", "current-day", "disabled"])) : c.value.sunsimDayOfYear.length === 1 ? (m(), V(re, {
|
|
7443
7430
|
key: 1,
|
|
7444
7431
|
readonly: "",
|
|
7445
|
-
value: B(
|
|
7432
|
+
value: B(gt)(c.value.sunsimDayOfYear[0].dayOfYear),
|
|
7446
7433
|
variant: "solo",
|
|
7447
7434
|
density: "compact",
|
|
7448
7435
|
"hide-details": "",
|
|
@@ -7457,16 +7444,16 @@ const Br = {
|
|
|
7457
7444
|
_100: !z.value && !oe.value
|
|
7458
7445
|
})
|
|
7459
7446
|
}, [
|
|
7460
|
-
p.value.timeSamples.length > 1 ? (m(), V(
|
|
7447
|
+
p.value.timeSamples.length > 1 ? (m(), V(Dr, {
|
|
7461
7448
|
key: 0,
|
|
7462
7449
|
"current-day": p.value,
|
|
7463
7450
|
"current-time": _.value,
|
|
7464
7451
|
disabled: Y.value,
|
|
7465
|
-
onOnTimeChange:
|
|
7466
|
-
}, null, 8, ["current-day", "current-time", "disabled"])) : p.value.timeSamples.length === 1 ? (m(), V(
|
|
7452
|
+
onOnTimeChange: De
|
|
7453
|
+
}, null, 8, ["current-day", "current-time", "disabled"])) : p.value.timeSamples.length === 1 ? (m(), V(re, {
|
|
7467
7454
|
key: 1,
|
|
7468
7455
|
readonly: "",
|
|
7469
|
-
value: B(
|
|
7456
|
+
value: B(et)(p.value.timeSamples[0].timeInHours),
|
|
7470
7457
|
variant: "solo",
|
|
7471
7458
|
density: "compact",
|
|
7472
7459
|
"hide-details": "",
|
|
@@ -7474,33 +7461,33 @@ const Br = {
|
|
|
7474
7461
|
}, null, 8, ["value"])) : U("", !0)
|
|
7475
7462
|
], 2)) : U("", !0)
|
|
7476
7463
|
]),
|
|
7477
|
-
d("div",
|
|
7478
|
-
L.value.cameras.length > 1 ? (m(), V(
|
|
7464
|
+
d("div", $r, [
|
|
7465
|
+
L.value.cameras.length > 1 ? (m(), V(Ar, {
|
|
7479
7466
|
key: 0,
|
|
7480
7467
|
ref_key: "rotator",
|
|
7481
7468
|
ref: I,
|
|
7482
7469
|
"structure-chooser-data": L.value,
|
|
7483
7470
|
"current-scene": y.value,
|
|
7484
|
-
onOnSceneChange:
|
|
7471
|
+
onOnSceneChange: de,
|
|
7485
7472
|
onOnRotateStart: le[0] || (le[0] = (N) => Y.value = !0),
|
|
7486
7473
|
onOnRotateFinish: le[1] || (le[1] = (N) => Y.value = !1)
|
|
7487
7474
|
}, {
|
|
7488
7475
|
default: C(() => [
|
|
7489
|
-
w(
|
|
7476
|
+
w(Dt, {
|
|
7490
7477
|
"selected-id": B(l),
|
|
7491
7478
|
"render-display": B(h),
|
|
7492
7479
|
onOnDisplayClick: Se
|
|
7493
7480
|
}, null, 8, ["selected-id", "render-display"])
|
|
7494
7481
|
]),
|
|
7495
7482
|
_: 1
|
|
7496
|
-
}, 8, ["structure-chooser-data", "current-scene"])) : (m(), V(
|
|
7483
|
+
}, 8, ["structure-chooser-data", "current-scene"])) : (m(), V(Dt, {
|
|
7497
7484
|
key: 1,
|
|
7498
7485
|
"selected-id": B(l),
|
|
7499
7486
|
"render-display": B(h),
|
|
7500
7487
|
onOnDisplayClick: Se
|
|
7501
7488
|
}, null, 8, ["selected-id", "render-display"]))
|
|
7502
7489
|
]),
|
|
7503
|
-
d("div",
|
|
7490
|
+
d("div", Ur, [
|
|
7504
7491
|
c.value.cameraRotation ? (m(), V(qe, {
|
|
7505
7492
|
key: 0,
|
|
7506
7493
|
longitude: c.value.cameraRotation.y + 270
|
|
@@ -7508,16 +7495,16 @@ const Br = {
|
|
|
7508
7495
|
]),
|
|
7509
7496
|
w(Qe, { position: "relative" }, {
|
|
7510
7497
|
default: C(() => [
|
|
7511
|
-
(m(!0), x(
|
|
7512
|
-
key: `camera${
|
|
7498
|
+
(m(!0), x(ue, null, he($.value, (N, Z) => (m(), V(hr, {
|
|
7499
|
+
key: `camera${Z}`,
|
|
7513
7500
|
"camera-data": N,
|
|
7514
7501
|
"cdn-file-resolver": B(t),
|
|
7515
7502
|
"current-camera": c.value,
|
|
7516
7503
|
"current-day": p.value,
|
|
7517
7504
|
"current-time": _.value
|
|
7518
7505
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
7519
|
-
(m(!0), x(
|
|
7520
|
-
key: `transition${
|
|
7506
|
+
(m(!0), x(ue, null, he(ee.value, (N, Z) => (m(), V(_r, {
|
|
7507
|
+
key: `transition${Z}`,
|
|
7521
7508
|
"transition-data": N,
|
|
7522
7509
|
"cdn-file-resolver": B(t),
|
|
7523
7510
|
"current-transition": b.value
|
|
@@ -7527,16 +7514,16 @@ const Br = {
|
|
|
7527
7514
|
class: "w-100 h-100 position-absolute top-left",
|
|
7528
7515
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
7529
7516
|
innerHTML: B(i)
|
|
7530
|
-
}, null, 8,
|
|
7531
|
-
c.value.overlayFilename ? pe((m(), V(
|
|
7517
|
+
}, null, 8, Hr)) : U("", !0),
|
|
7518
|
+
c.value.overlayFilename ? pe((m(), V(Lr, {
|
|
7532
7519
|
key: 1,
|
|
7533
7520
|
"cdn-file-resolver": B(t),
|
|
7534
7521
|
"color-callback": B(o),
|
|
7535
7522
|
"current-camera": c.value,
|
|
7536
7523
|
"selected-id": B(l),
|
|
7537
7524
|
onOnClick: Se,
|
|
7538
|
-
onOnHoverOver:
|
|
7539
|
-
onOnHoverOut:
|
|
7525
|
+
onOnHoverOver: Ae,
|
|
7526
|
+
onOnHoverOut: xe,
|
|
7540
7527
|
onUpdateSvgContainer: le[2] || (le[2] = (N) => G.value = N)
|
|
7541
7528
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
|
|
7542
7529
|
[fe, b.value === null]
|
|
@@ -7550,8 +7537,8 @@ const Br = {
|
|
|
7550
7537
|
pos: M.value
|
|
7551
7538
|
}, {
|
|
7552
7539
|
default: C(() => [
|
|
7553
|
-
d("div",
|
|
7554
|
-
|
|
7540
|
+
d("div", Yr, [
|
|
7541
|
+
te(Q.$slots, "popup", at(nt({ hoverId: R.value, hoverable: j.value })), void 0, !0)
|
|
7555
7542
|
])
|
|
7556
7543
|
]),
|
|
7557
7544
|
_: 3
|
|
@@ -7570,26 +7557,26 @@ const Br = {
|
|
|
7570
7557
|
], 64);
|
|
7571
7558
|
};
|
|
7572
7559
|
}
|
|
7573
|
-
}),
|
|
7560
|
+
}), jr = /* @__PURE__ */ K(Pr, [["__scopeId", "data-v-191a8556"]]), qr = {
|
|
7574
7561
|
install: function(n) {
|
|
7575
|
-
n.component("VApartmentChooser",
|
|
7562
|
+
n.component("VApartmentChooser", Va), n.component("VBuildingChooser", Pn), n.component("VVirtualTour", Ws), n.component("VManualSlideShow", cr), n.component("VStructureChooser", jr);
|
|
7576
7563
|
}
|
|
7577
7564
|
};
|
|
7578
7565
|
export {
|
|
7579
7566
|
be as ResourceLoader,
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7567
|
+
Va as VApartmentChooser,
|
|
7568
|
+
Gr as VApartmentChooserV5,
|
|
7569
|
+
Pn as VBuildingChooser,
|
|
7570
|
+
Qr as VBuildingChooserV5,
|
|
7584
7571
|
Ge as VFloatingCard,
|
|
7585
7572
|
Re as VHoverProbe,
|
|
7586
|
-
|
|
7573
|
+
cr as VManualSlideShow,
|
|
7587
7574
|
qe as VNorthDirection,
|
|
7588
|
-
|
|
7589
|
-
|
|
7575
|
+
jr as VStructureChooser,
|
|
7576
|
+
Ws as VVirtualTour,
|
|
7590
7577
|
Qe as VZoomBox,
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7578
|
+
sn as convertApartmentChooserDataLegacyToV5,
|
|
7579
|
+
oo as convertBuildingChooserDataLegacyToV5,
|
|
7580
|
+
Br as convertStructureChooserDataLegacyToV5,
|
|
7581
|
+
qr as default
|
|
7595
7582
|
};
|