@qispace/vue3-player 0.1.81 → 0.1.83
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,
|
|
@@ -3574,7 +3574,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3574
3574
|
async () => {
|
|
3575
3575
|
const u = i.value;
|
|
3576
3576
|
o.value && await o.value.loadInterior(
|
|
3577
|
-
|
|
3577
|
+
ie(
|
|
3578
3578
|
a.cdnFileResolver,
|
|
3579
3579
|
`/${a.interiorId}/${a.apartmentId}`
|
|
3580
3580
|
),
|
|
@@ -3610,10 +3610,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3610
3610
|
t("newRotationCallback", p), l.value = p;
|
|
3611
3611
|
}
|
|
3612
3612
|
};
|
|
3613
|
-
if (!
|
|
3613
|
+
if (!bo)
|
|
3614
3614
|
return;
|
|
3615
3615
|
const g = await new e.Main(
|
|
3616
|
-
|
|
3616
|
+
ie(
|
|
3617
3617
|
a.cdnFileResolver,
|
|
3618
3618
|
`/${a.interiorId}/${a.apartmentId}`
|
|
3619
3619
|
),
|
|
@@ -3626,39 +3626,39 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3626
3626
|
"resize",
|
|
3627
3627
|
g.handleWindowResize.bind(g)
|
|
3628
3628
|
), g.animate(), o.value = e.Main.getPlayerAPI(), o.value && o.value.setLookSensitivity(a.mouseSensitivity));
|
|
3629
|
-
}),
|
|
3629
|
+
}), He(() => {
|
|
3630
3630
|
o.value && o.value.destroy();
|
|
3631
|
-
}), (u, r) => (m(), x("div",
|
|
3632
|
-
d("div",
|
|
3633
|
-
|
|
3634
|
-
d("div", wo, [
|
|
3635
|
-
ae(u.$slots, "top-left", {}, void 0, !0)
|
|
3636
|
-
]),
|
|
3631
|
+
}), (u, r) => (m(), x("div", Co, [
|
|
3632
|
+
d("div", wo, [
|
|
3633
|
+
te(u.$slots, "slideshow-image", {}, void 0, !0),
|
|
3637
3634
|
d("div", ko, [
|
|
3638
|
-
|
|
3635
|
+
te(u.$slots, "top-left", {}, void 0, !0)
|
|
3639
3636
|
]),
|
|
3640
3637
|
d("div", Io, [
|
|
3641
|
-
|
|
3638
|
+
te(u.$slots, "top-center", {}, void 0, !0)
|
|
3642
3639
|
]),
|
|
3643
3640
|
d("div", So, [
|
|
3644
|
-
|
|
3641
|
+
te(u.$slots, "top-right", {}, void 0, !0)
|
|
3645
3642
|
]),
|
|
3646
3643
|
d("div", Do, [
|
|
3647
|
-
|
|
3644
|
+
te(u.$slots, "center-left", {}, void 0, !0)
|
|
3648
3645
|
]),
|
|
3649
3646
|
d("div", Ao, [
|
|
3650
|
-
|
|
3647
|
+
te(u.$slots, "center-center", {}, void 0, !0)
|
|
3651
3648
|
]),
|
|
3652
3649
|
d("div", xo, [
|
|
3653
|
-
|
|
3650
|
+
te(u.$slots, "center-right", {}, void 0, !0)
|
|
3654
3651
|
]),
|
|
3655
3652
|
d("div", Fo, [
|
|
3656
|
-
|
|
3653
|
+
te(u.$slots, "bottom-left", {}, void 0, !0)
|
|
3657
3654
|
]),
|
|
3658
3655
|
d("div", Lo, [
|
|
3659
|
-
|
|
3656
|
+
te(u.$slots, "bottom-center", {}, void 0, !0)
|
|
3660
3657
|
]),
|
|
3661
3658
|
d("div", Mo, [
|
|
3659
|
+
te(u.$slots, "bottom-right", {}, void 0, !0)
|
|
3660
|
+
]),
|
|
3661
|
+
d("div", To, [
|
|
3662
3662
|
d("canvas", {
|
|
3663
3663
|
id: "qpc",
|
|
3664
3664
|
style: me(u.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -3667,11 +3667,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3667
3667
|
])
|
|
3668
3668
|
]));
|
|
3669
3669
|
}
|
|
3670
|
-
}),
|
|
3670
|
+
}), Eo = /* @__PURE__ */ K(Vo, [["__scopeId", "data-v-5eb32d81"]]), Oo = {
|
|
3671
3671
|
style: { width: "24px", height: "24px" },
|
|
3672
3672
|
viewBox: "0 0 18 16",
|
|
3673
3673
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3674
|
-
},
|
|
3674
|
+
}, Bo = ["stroke"], Ro = ["stroke"], $o = { class: "floor-level-label" }, Uo = /* @__PURE__ */ P({
|
|
3675
3675
|
__name: "VFloorLevel",
|
|
3676
3676
|
props: {
|
|
3677
3677
|
level: { default: 0 },
|
|
@@ -3679,7 +3679,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3679
3679
|
},
|
|
3680
3680
|
emits: ["level"],
|
|
3681
3681
|
setup(s, { emit: n }) {
|
|
3682
|
-
const e = s, a = n, t = Ne(
|
|
3682
|
+
const e = s, a = n, t = Ne(Ve), o = O(() => {
|
|
3683
3683
|
const r = e.floorLevels;
|
|
3684
3684
|
return r.sort(), r;
|
|
3685
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");
|
|
@@ -3694,41 +3694,41 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3694
3694
|
attach: ""
|
|
3695
3695
|
}, {
|
|
3696
3696
|
activator: C(({ props: c }) => [
|
|
3697
|
-
w(S,
|
|
3697
|
+
w(S, Ie({
|
|
3698
3698
|
style: { cursor: "pointer" },
|
|
3699
3699
|
density: "comfortable",
|
|
3700
3700
|
elevation: "1",
|
|
3701
3701
|
icon: ""
|
|
3702
3702
|
}, c, { onClick: u }), {
|
|
3703
3703
|
default: C(() => [
|
|
3704
|
-
(m(), x("svg",
|
|
3704
|
+
(m(), x("svg", Oo, [
|
|
3705
3705
|
d("path", {
|
|
3706
3706
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3707
3707
|
fill: "white",
|
|
3708
3708
|
stroke: v.value ? "black" : "#999999",
|
|
3709
3709
|
"stroke-width": "1.5",
|
|
3710
3710
|
"stroke-linejoin": "round"
|
|
3711
|
-
}, null, 8,
|
|
3711
|
+
}, null, 8, Bo),
|
|
3712
3712
|
d("path", {
|
|
3713
3713
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
3714
3714
|
fill: "white",
|
|
3715
3715
|
stroke: l.value ? "black" : "#999999",
|
|
3716
3716
|
"stroke-width": "1.5",
|
|
3717
3717
|
"stroke-linejoin": "round"
|
|
3718
|
-
}, null, 8,
|
|
3718
|
+
}, null, 8, Ro)
|
|
3719
3719
|
]))
|
|
3720
3720
|
]),
|
|
3721
3721
|
_: 2
|
|
3722
3722
|
}, 1040)
|
|
3723
3723
|
]),
|
|
3724
3724
|
default: C(() => [
|
|
3725
|
-
d("span",
|
|
3725
|
+
d("span", $o, W(B(t).getLabel(i.value)) + " " + W(B(t).getLabel("floor")), 1)
|
|
3726
3726
|
]),
|
|
3727
3727
|
_: 1
|
|
3728
3728
|
});
|
|
3729
3729
|
};
|
|
3730
3730
|
}
|
|
3731
|
-
}),
|
|
3731
|
+
}), Ho = /* @__PURE__ */ K(Uo, [["__scopeId", "data-v-5ce91d8e"]]), Yo = { class: "d-none d-md-inline" }, Po = /* @__PURE__ */ P({
|
|
3732
3732
|
__name: "VInteriorSelector",
|
|
3733
3733
|
props: {
|
|
3734
3734
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3737,7 +3737,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3737
3737
|
},
|
|
3738
3738
|
emits: ["selectInterior"],
|
|
3739
3739
|
setup(s, { emit: n }) {
|
|
3740
|
-
const e = s, a = n, t = Ne(
|
|
3740
|
+
const e = s, a = n, t = Ne(Ve);
|
|
3741
3741
|
return (o, i) => {
|
|
3742
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");
|
|
3743
3743
|
return m(), x("div", null, [
|
|
@@ -3745,10 +3745,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3745
3745
|
transition: "slide-x-reverse-transition",
|
|
3746
3746
|
location: "top end",
|
|
3747
3747
|
origin: "end bottom",
|
|
3748
|
-
elevation: "0"
|
|
3748
|
+
elevation: "0",
|
|
3749
|
+
attach: ""
|
|
3749
3750
|
}, {
|
|
3750
3751
|
activator: C(({ props: c }) => [
|
|
3751
|
-
w(v,
|
|
3752
|
+
w(v, Ie({ rounded: "" }, c, { class: "text-capitalize" }), {
|
|
3752
3753
|
default: C(() => [
|
|
3753
3754
|
w(l, null, {
|
|
3754
3755
|
default: C(() => [
|
|
@@ -3756,7 +3757,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3756
3757
|
]),
|
|
3757
3758
|
_: 1
|
|
3758
3759
|
}),
|
|
3759
|
-
d("span",
|
|
3760
|
+
d("span", Yo, W(B(t).getLabel("interior")), 1)
|
|
3760
3761
|
]),
|
|
3761
3762
|
_: 2
|
|
3762
3763
|
}, 1040)
|
|
@@ -3764,7 +3765,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3764
3765
|
default: C(() => [
|
|
3765
3766
|
w(S, { class: "interior-selector-list" }, {
|
|
3766
3767
|
default: C(() => [
|
|
3767
|
-
(m(!0), x(
|
|
3768
|
+
(m(!0), x(ue, null, he(e.availableArchetypes, (c, p) => (m(), V(h, {
|
|
3768
3769
|
density: "compact",
|
|
3769
3770
|
key: `at-menuitem-${p}`,
|
|
3770
3771
|
onClick: (_) => a("selectInterior", c.archetypeID),
|
|
@@ -3798,14 +3799,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3798
3799
|
]);
|
|
3799
3800
|
};
|
|
3800
3801
|
}
|
|
3801
|
-
}),
|
|
3802
|
+
}), jo = /* @__PURE__ */ K(Po, [["__scopeId", "data-v-4909b57c"]]), 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({
|
|
3802
3803
|
__name: "VCompass",
|
|
3803
3804
|
props: {
|
|
3804
3805
|
rotation: {}
|
|
3805
3806
|
},
|
|
3806
3807
|
setup(s) {
|
|
3807
|
-
const n = s, e = f(
|
|
3808
|
-
backgroundImage: `url(${
|
|
3808
|
+
const n = s, e = f(Wo), a = f({
|
|
3809
|
+
backgroundImage: `url(${zo})`,
|
|
3809
3810
|
backgroundSize: "contain"
|
|
3810
3811
|
}), t = O(() => ({
|
|
3811
3812
|
transform: `rotate(${-n.rotation + 180}deg)`
|
|
@@ -3824,7 +3825,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3824
3825
|
], 4);
|
|
3825
3826
|
};
|
|
3826
3827
|
}
|
|
3827
|
-
}),
|
|
3828
|
+
}), 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({
|
|
3828
3829
|
__name: "VTimeOfDay",
|
|
3829
3830
|
props: {
|
|
3830
3831
|
hours: { default: 0 },
|
|
@@ -3837,38 +3838,38 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3837
3838
|
}
|
|
3838
3839
|
return (t, o) => {
|
|
3839
3840
|
const i = E("v-img");
|
|
3840
|
-
return m(), x("div",
|
|
3841
|
-
d("div",
|
|
3841
|
+
return m(), x("div", Qo, [
|
|
3842
|
+
d("div", qo, [
|
|
3842
3843
|
w(i, {
|
|
3843
|
-
src: B(
|
|
3844
|
+
src: B(Go),
|
|
3844
3845
|
"aspect-ratio": "1"
|
|
3845
3846
|
}, null, 8, ["src"])
|
|
3846
3847
|
]),
|
|
3847
|
-
d("div",
|
|
3848
|
+
d("div", Zo, W(e.value), 1)
|
|
3848
3849
|
]);
|
|
3849
3850
|
};
|
|
3850
3851
|
}
|
|
3851
|
-
}),
|
|
3852
|
+
}), Xo = /* @__PURE__ */ K(Jo, [["__scopeId", "data-v-cd73fd81"]]), wt = (s) => (it("data-v-f59c4942"), s = s(), ut(), s), Ko = {
|
|
3852
3853
|
key: 0,
|
|
3853
3854
|
width: "24",
|
|
3854
3855
|
height: "24",
|
|
3855
3856
|
viewBox: "0 0 24 24",
|
|
3856
3857
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3857
|
-
},
|
|
3858
|
+
}, el = /* @__PURE__ */ wt(() => /* @__PURE__ */ d("path", {
|
|
3858
3859
|
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",
|
|
3859
3860
|
class: "fill-grey"
|
|
3860
|
-
}, null, -1)),
|
|
3861
|
-
Ko,
|
|
3861
|
+
}, 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 = [
|
|
3862
3862
|
el,
|
|
3863
|
-
tl
|
|
3864
|
-
|
|
3863
|
+
tl,
|
|
3864
|
+
al
|
|
3865
|
+
], ol = /* @__PURE__ */ P({
|
|
3865
3866
|
__name: "VViewModeToggle",
|
|
3866
3867
|
props: {
|
|
3867
3868
|
showStaticImage: { type: Boolean }
|
|
3868
3869
|
},
|
|
3869
3870
|
emits: ["toggle"],
|
|
3870
3871
|
setup(s, { emit: n }) {
|
|
3871
|
-
const e = s, a = n, t = Ne(
|
|
3872
|
+
const e = s, a = n, t = Ne(Ve), o = O(() => {
|
|
3872
3873
|
let i = "virtualTour";
|
|
3873
3874
|
return e.showStaticImage || (i = "slideShow"), i;
|
|
3874
3875
|
});
|
|
@@ -3876,14 +3877,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3876
3877
|
const v = E("v-icon"), u = E("v-btn"), r = E("v-tooltip");
|
|
3877
3878
|
return m(), V(r, { location: "top" }, {
|
|
3878
3879
|
activator: C(({ props: h }) => [
|
|
3879
|
-
w(u,
|
|
3880
|
+
w(u, Ie({
|
|
3880
3881
|
density: "comfortable",
|
|
3881
3882
|
elevation: "1",
|
|
3882
3883
|
icon: "",
|
|
3883
3884
|
onClick: l[0] || (l[0] = (S) => a("toggle"))
|
|
3884
3885
|
}, h), {
|
|
3885
3886
|
default: C(() => [
|
|
3886
|
-
o.value === "virtualTour" ? (m(), x("svg",
|
|
3887
|
+
o.value === "virtualTour" ? (m(), x("svg", Ko, nl)) : (m(), V(v, { key: 1 }, {
|
|
3887
3888
|
default: C(() => [
|
|
3888
3889
|
X("mdi-image-multiple")
|
|
3889
3890
|
]),
|
|
@@ -3900,10 +3901,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3900
3901
|
});
|
|
3901
3902
|
};
|
|
3902
3903
|
}
|
|
3903
|
-
}),
|
|
3904
|
+
}), ll = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-f59c4942"]]), Ye = (s) => (it("data-v-fd167eca"), s = s(), ut(), s), sl = {
|
|
3904
3905
|
key: 0,
|
|
3905
3906
|
class: "desktop-content"
|
|
3906
|
-
},
|
|
3907
|
+
}, 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" }, [
|
|
3907
3908
|
/* @__PURE__ */ d("svg", {
|
|
3908
3909
|
width: "50",
|
|
3909
3910
|
height: "32.5",
|
|
@@ -3950,7 +3951,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
3950
3951
|
"stroke-width": "1.5"
|
|
3951
3952
|
})
|
|
3952
3953
|
])
|
|
3953
|
-
], -1)),
|
|
3954
|
+
], -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" }, [
|
|
3954
3955
|
/* @__PURE__ */ d("svg", {
|
|
3955
3956
|
width: "50",
|
|
3956
3957
|
height: "32.5",
|
|
@@ -4080,7 +4081,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4080
4081
|
"stroke-linecap": "round"
|
|
4081
4082
|
})
|
|
4082
4083
|
])
|
|
4083
|
-
], -1)),
|
|
4084
|
+
], -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" }, [
|
|
4084
4085
|
/* @__PURE__ */ d("svg", {
|
|
4085
4086
|
width: "50",
|
|
4086
4087
|
height: "32.5",
|
|
@@ -4151,7 +4152,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4151
4152
|
"stroke-linejoin": "round"
|
|
4152
4153
|
})
|
|
4153
4154
|
])
|
|
4154
|
-
], -1)),
|
|
4155
|
+
], -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" }, [
|
|
4155
4156
|
/* @__PURE__ */ d("svg", {
|
|
4156
4157
|
width: "50",
|
|
4157
4158
|
height: "32.5",
|
|
@@ -4219,10 +4220,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4219
4220
|
fill: "#FF3E3E"
|
|
4220
4221
|
})
|
|
4221
4222
|
])
|
|
4222
|
-
], -1)),
|
|
4223
|
+
], -1)), _l = { class: "text-div text-center text mt-2" }, bl = {
|
|
4223
4224
|
key: 1,
|
|
4224
4225
|
class: "d-flex tablet-mobile-content"
|
|
4225
|
-
},
|
|
4226
|
+
}, Cl = { class: "box col my-1" }, wl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "tutorial-icon justify-center" }, [
|
|
4226
4227
|
/* @__PURE__ */ d("svg", {
|
|
4227
4228
|
width: "50.5",
|
|
4228
4229
|
height: "32.5",
|
|
@@ -4256,7 +4257,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4256
4257
|
"stroke-linejoin": "round"
|
|
4257
4258
|
})
|
|
4258
4259
|
])
|
|
4259
|
-
], -1)),
|
|
4260
|
+
], -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" }, [
|
|
4260
4261
|
/* @__PURE__ */ d("svg", {
|
|
4261
4262
|
width: "49.5",
|
|
4262
4263
|
height: "32.5",
|
|
@@ -4390,7 +4391,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4390
4391
|
"stroke-linejoin": "round"
|
|
4391
4392
|
})
|
|
4392
4393
|
])
|
|
4393
|
-
], -1)),
|
|
4394
|
+
], -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" }, [
|
|
4394
4395
|
/* @__PURE__ */ d("svg", {
|
|
4395
4396
|
width: "49.5",
|
|
4396
4397
|
height: "32.5",
|
|
@@ -4424,11 +4425,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4424
4425
|
"stroke-linejoin": "round"
|
|
4425
4426
|
})
|
|
4426
4427
|
])
|
|
4427
|
-
], -1)),
|
|
4428
|
+
], -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({
|
|
4428
4429
|
__name: "VTutorial",
|
|
4429
4430
|
emits: ["closeTutorial"],
|
|
4430
4431
|
setup(s, { emit: n }) {
|
|
4431
|
-
const e = n, a = Ne(
|
|
4432
|
+
const e = n, a = Ne(Ve), t = f(!1), o = f(!1), i = O(() => [
|
|
4432
4433
|
/Android/i,
|
|
4433
4434
|
/webOS/i,
|
|
4434
4435
|
/iPhone/i,
|
|
@@ -4442,7 +4443,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4442
4443
|
}
|
|
4443
4444
|
return (v, u) => {
|
|
4444
4445
|
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");
|
|
4445
|
-
return m(), V(
|
|
4446
|
+
return m(), V(Me, { name: "fade-transition" }, {
|
|
4446
4447
|
default: C(() => [
|
|
4447
4448
|
w(_, {
|
|
4448
4449
|
class: "mx-auto",
|
|
@@ -4482,38 +4483,38 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4482
4483
|
_: 1
|
|
4483
4484
|
}),
|
|
4484
4485
|
w(g, { class: "my-3" }),
|
|
4485
|
-
i.value ? U("", !0) : (m(), x("div",
|
|
4486
|
-
d("div",
|
|
4487
|
-
d("div",
|
|
4488
|
-
|
|
4489
|
-
d("div",
|
|
4486
|
+
i.value ? U("", !0) : (m(), x("div", sl, [
|
|
4487
|
+
d("div", rl, [
|
|
4488
|
+
d("div", il, [
|
|
4489
|
+
ul,
|
|
4490
|
+
d("div", cl, W(B(a).getLabel("clickAndDragToLookAround")), 1)
|
|
4490
4491
|
]),
|
|
4491
|
-
d("div",
|
|
4492
|
-
|
|
4493
|
-
d("div",
|
|
4492
|
+
d("div", dl, [
|
|
4493
|
+
vl,
|
|
4494
|
+
d("div", ml, W(B(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4494
4495
|
]),
|
|
4495
|
-
d("div",
|
|
4496
|
-
|
|
4497
|
-
d("div",
|
|
4496
|
+
d("div", pl, [
|
|
4497
|
+
fl,
|
|
4498
|
+
d("div", hl, W(B(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4498
4499
|
]),
|
|
4499
|
-
d("div",
|
|
4500
|
-
|
|
4501
|
-
d("div",
|
|
4500
|
+
d("div", gl, [
|
|
4501
|
+
yl,
|
|
4502
|
+
d("div", _l, W(B(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4502
4503
|
])
|
|
4503
4504
|
])
|
|
4504
4505
|
])),
|
|
4505
|
-
i.value ? (m(), x("div",
|
|
4506
|
-
d("div",
|
|
4507
|
-
|
|
4508
|
-
d("div",
|
|
4506
|
+
i.value ? (m(), x("div", bl, [
|
|
4507
|
+
d("div", Cl, [
|
|
4508
|
+
wl,
|
|
4509
|
+
d("div", kl, W(B(a).getLabel("tapAndDragToLookAround")), 1)
|
|
4509
4510
|
]),
|
|
4510
|
-
d("div",
|
|
4511
|
-
|
|
4512
|
-
d("div",
|
|
4511
|
+
d("div", Il, [
|
|
4512
|
+
Sl,
|
|
4513
|
+
d("div", Dl, W(B(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4513
4514
|
]),
|
|
4514
|
-
d("div",
|
|
4515
|
-
|
|
4516
|
-
d("div",
|
|
4515
|
+
d("div", Al, [
|
|
4516
|
+
xl,
|
|
4517
|
+
d("div", Fl, W(B(a).getLabel("useTwoFingersToZoom")), 1)
|
|
4517
4518
|
])
|
|
4518
4519
|
])) : U("", !0),
|
|
4519
4520
|
w(g, { class: "my-1" })
|
|
@@ -4531,7 +4532,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4531
4532
|
default: C(() => [
|
|
4532
4533
|
w(c, { class: "pb-0" }, {
|
|
4533
4534
|
default: C(() => [
|
|
4534
|
-
d("p",
|
|
4535
|
+
d("p", Ll, [
|
|
4535
4536
|
w(r, null, {
|
|
4536
4537
|
default: C(() => [
|
|
4537
4538
|
X("mdi-alert-outline")
|
|
@@ -4540,7 +4541,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4540
4541
|
}),
|
|
4541
4542
|
X(" " + W(B(a).getLabel("disclaimer")), 1)
|
|
4542
4543
|
]),
|
|
4543
|
-
d("p",
|
|
4544
|
+
d("p", Ml, W(B(a).getLabel("disclaimerText")), 1)
|
|
4544
4545
|
]),
|
|
4545
4546
|
_: 1
|
|
4546
4547
|
}),
|
|
@@ -4572,7 +4573,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4572
4573
|
]),
|
|
4573
4574
|
_: 1
|
|
4574
4575
|
}),
|
|
4575
|
-
d("div",
|
|
4576
|
+
d("div", Tl, [
|
|
4576
4577
|
w(y, {
|
|
4577
4578
|
density: "compact",
|
|
4578
4579
|
modelValue: t.value,
|
|
@@ -4580,7 +4581,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4580
4581
|
"hide-details": ""
|
|
4581
4582
|
}, {
|
|
4582
4583
|
label: C(() => [
|
|
4583
|
-
d("span",
|
|
4584
|
+
d("span", Vl, W(B(a).getLabel("dontShowAgain")), 1)
|
|
4584
4585
|
]),
|
|
4585
4586
|
_: 1
|
|
4586
4587
|
}, 8, ["modelValue"])
|
|
@@ -4608,17 +4609,17 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4608
4609
|
});
|
|
4609
4610
|
};
|
|
4610
4611
|
}
|
|
4611
|
-
}),
|
|
4612
|
+
}), 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 = {
|
|
4612
4613
|
key: 3,
|
|
4613
4614
|
"d-block": "",
|
|
4614
4615
|
class: "mt-3"
|
|
4615
|
-
},
|
|
4616
|
+
}, Gl = { class: "d-flex justify-space-between" }, Ql = { class: "setting-label" }, ql = {
|
|
4616
4617
|
class: "mt-5 d-block",
|
|
4617
4618
|
style: { width: "300px" }
|
|
4618
|
-
},
|
|
4619
|
+
}, Zl = /* @__PURE__ */ Bl(() => /* @__PURE__ */ d("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Jl = {
|
|
4619
4620
|
class: "d-block",
|
|
4620
4621
|
style: { width: "300px" }
|
|
4621
|
-
},
|
|
4622
|
+
}, Xl = { class: "form-buttons" }, Kl = /* @__PURE__ */ P({
|
|
4622
4623
|
__name: "VPlayerSettingsUi",
|
|
4623
4624
|
props: {
|
|
4624
4625
|
initialSettings: {}
|
|
@@ -4767,10 +4768,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4767
4768
|
}
|
|
4768
4769
|
return (c, p) => {
|
|
4769
4770
|
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");
|
|
4770
|
-
return m(), x("div",
|
|
4771
|
-
d("form",
|
|
4772
|
-
d("div",
|
|
4773
|
-
(m(!0), x(
|
|
4771
|
+
return m(), x("div", Rl, [
|
|
4772
|
+
d("form", $l, [
|
|
4773
|
+
d("div", Ul, [
|
|
4774
|
+
(m(!0), x(ue, null, he(t.value, (I, k, j) => (m(), x("div", {
|
|
4774
4775
|
key: j,
|
|
4775
4776
|
"d-block": ""
|
|
4776
4777
|
}, [
|
|
@@ -4784,7 +4785,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4784
4785
|
step: I.step
|
|
4785
4786
|
}, {
|
|
4786
4787
|
prepend: C(() => [
|
|
4787
|
-
d("div",
|
|
4788
|
+
d("div", Hl, W(I.label), 1)
|
|
4788
4789
|
]),
|
|
4789
4790
|
append: C(() => [
|
|
4790
4791
|
d("div", null, [
|
|
@@ -4812,7 +4813,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4812
4813
|
onChange: i
|
|
4813
4814
|
}, {
|
|
4814
4815
|
prepend: C(() => [
|
|
4815
|
-
d("div",
|
|
4816
|
+
d("div", Yl, W(I.label), 1)
|
|
4816
4817
|
]),
|
|
4817
4818
|
append: C(() => [
|
|
4818
4819
|
d("div", null, W(I.value), 1)
|
|
@@ -4826,14 +4827,14 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4826
4827
|
min: I.min,
|
|
4827
4828
|
step: I.step
|
|
4828
4829
|
}, [
|
|
4829
|
-
d("div",
|
|
4830
|
-
d("div",
|
|
4830
|
+
d("div", jl, W(I.label), 1),
|
|
4831
|
+
d("div", zl, [
|
|
4831
4832
|
pe(d("input", {
|
|
4832
4833
|
"onUpdate:modelValue": (M) => t.value[k].value = M,
|
|
4833
4834
|
type: "color",
|
|
4834
4835
|
onChange: i
|
|
4835
|
-
}, null, 40,
|
|
4836
|
-
[
|
|
4836
|
+
}, null, 40, Wl), [
|
|
4837
|
+
[Gt, t.value[k].value]
|
|
4837
4838
|
])
|
|
4838
4839
|
]),
|
|
4839
4840
|
d("div", null, [
|
|
@@ -4849,10 +4850,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4849
4850
|
onChange: i
|
|
4850
4851
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4851
4852
|
])
|
|
4852
|
-
], 8,
|
|
4853
|
-
I.type === "lut" ? (m(), x("div",
|
|
4854
|
-
d("div",
|
|
4855
|
-
d("div",
|
|
4853
|
+
], 8, Pl)) : U("", !0),
|
|
4854
|
+
I.type === "lut" ? (m(), x("div", Nl, [
|
|
4855
|
+
d("div", Gl, [
|
|
4856
|
+
d("div", Ql, W(I.label), 1),
|
|
4856
4857
|
d("div", null, [
|
|
4857
4858
|
w(R, {
|
|
4858
4859
|
class: "ml-2",
|
|
@@ -4867,7 +4868,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4867
4868
|
])
|
|
4868
4869
|
]),
|
|
4869
4870
|
d("div", null, [
|
|
4870
|
-
d("div",
|
|
4871
|
+
d("div", ql, [
|
|
4871
4872
|
d("div", null, [
|
|
4872
4873
|
w(T, {
|
|
4873
4874
|
modelValue: t.value[k].value,
|
|
@@ -4882,8 +4883,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4882
4883
|
])
|
|
4883
4884
|
]),
|
|
4884
4885
|
d("div", null, [
|
|
4885
|
-
|
|
4886
|
-
d("div",
|
|
4886
|
+
Zl,
|
|
4887
|
+
d("div", Jl, [
|
|
4887
4888
|
d("div", null, [
|
|
4888
4889
|
w(_, {
|
|
4889
4890
|
modelValue: t.value[k].value,
|
|
@@ -4900,7 +4901,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4900
4901
|
])) : U("", !0)
|
|
4901
4902
|
]))), 128))
|
|
4902
4903
|
]),
|
|
4903
|
-
d("div",
|
|
4904
|
+
d("div", Xl, [
|
|
4904
4905
|
w(R, {
|
|
4905
4906
|
onClick: p[0] || (p[0] = (I) => u())
|
|
4906
4907
|
}, {
|
|
@@ -4944,10 +4945,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
4944
4945
|
]);
|
|
4945
4946
|
};
|
|
4946
4947
|
}
|
|
4947
|
-
}),
|
|
4948
|
+
}), 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 = {
|
|
4948
4949
|
class: "moveable-body",
|
|
4949
4950
|
id: "moveableDivHeader"
|
|
4950
|
-
},
|
|
4951
|
+
}, os = { class: "moveable-footer" }, ls = /* @__PURE__ */ P({
|
|
4951
4952
|
__name: "VMoveable",
|
|
4952
4953
|
emits: ["close", "transform"],
|
|
4953
4954
|
setup(s, { emit: n }) {
|
|
@@ -5004,37 +5005,37 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5004
5005
|
onClick: l[1] || (l[1] = (u) => e("transform")),
|
|
5005
5006
|
title: "Rotate"
|
|
5006
5007
|
}),
|
|
5007
|
-
|
|
5008
|
-
d("div", as, [
|
|
5009
|
-
ae(i.$slots, "body", { class: "slot" }, void 0, !0)
|
|
5010
|
-
]),
|
|
5008
|
+
as,
|
|
5011
5009
|
d("div", ns, [
|
|
5012
|
-
|
|
5010
|
+
te(i.$slots, "body", { class: "slot" }, void 0, !0)
|
|
5011
|
+
]),
|
|
5012
|
+
d("div", os, [
|
|
5013
|
+
te(i.$slots, "footer", {}, void 0, !0)
|
|
5013
5014
|
])
|
|
5014
5015
|
], 2);
|
|
5015
5016
|
};
|
|
5016
5017
|
}
|
|
5017
|
-
}),
|
|
5018
|
+
}), ss = /* @__PURE__ */ K(ls, [["__scopeId", "data-v-30593022"]]), rs = {
|
|
5018
5019
|
class: "rotation-marker-svg",
|
|
5019
5020
|
viewBox: "0 0 40 40",
|
|
5020
5021
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5021
|
-
},
|
|
5022
|
-
|
|
5023
|
-
],
|
|
5022
|
+
}, 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 = [
|
|
5023
|
+
cs
|
|
5024
|
+
], vs = /* @__PURE__ */ P({
|
|
5024
5025
|
__name: "VRotationMarker",
|
|
5025
5026
|
props: {
|
|
5026
5027
|
rotation: {}
|
|
5027
5028
|
},
|
|
5028
5029
|
setup(s) {
|
|
5029
|
-
return (n, e) => (m(), x("svg",
|
|
5030
|
-
|
|
5030
|
+
return (n, e) => (m(), x("svg", rs, [
|
|
5031
|
+
is,
|
|
5031
5032
|
d("g", {
|
|
5032
5033
|
"transform-origin": "20 20",
|
|
5033
5034
|
transform: `rotate(${45 + n.rotation})`
|
|
5034
|
-
},
|
|
5035
|
+
}, ds, 8, us)
|
|
5035
5036
|
]));
|
|
5036
5037
|
}
|
|
5037
|
-
}),
|
|
5038
|
+
}), ms = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, ps = { class: "minimap-container" }, fs = /* @__PURE__ */ P({
|
|
5038
5039
|
__name: "VMiniMapMap",
|
|
5039
5040
|
props: {
|
|
5040
5041
|
backgroundImage: {},
|
|
@@ -5067,9 +5068,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5067
5068
|
Y(), y(), I();
|
|
5068
5069
|
const k = document.getElementById("moveableDiv");
|
|
5069
5070
|
k && (v.value = new ResizeObserver(I).observe(k));
|
|
5070
|
-
}),
|
|
5071
|
+
}), Qt(() => {
|
|
5071
5072
|
Y(), y();
|
|
5072
|
-
}),
|
|
5073
|
+
}), He(() => {
|
|
5073
5074
|
v.value && v.value.unobserve(document.getElementById("moveableDiv"));
|
|
5074
5075
|
});
|
|
5075
5076
|
function b(k) {
|
|
@@ -5108,8 +5109,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5108
5109
|
const j = k.offsetHeight / 384 * 0.8, M = k.offsetWidth / 512 * 0.8;
|
|
5109
5110
|
k.offsetHeight > k.offsetWidth ? l.value = M * 0.5 : l.value = j * 0.9;
|
|
5110
5111
|
}
|
|
5111
|
-
return (k, j) => (m(), x("div",
|
|
5112
|
-
d("div",
|
|
5112
|
+
return (k, j) => (m(), x("div", ms, [
|
|
5113
|
+
d("div", ps, [
|
|
5113
5114
|
d("div", {
|
|
5114
5115
|
class: "web-minimap",
|
|
5115
5116
|
style: me(_.value)
|
|
@@ -5122,7 +5123,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5122
5123
|
class: "center-pivot",
|
|
5123
5124
|
style: me(i.value)
|
|
5124
5125
|
}, [
|
|
5125
|
-
(m(!0), x(
|
|
5126
|
+
(m(!0), x(ue, null, he(c.value, (M) => (m(), x("div", {
|
|
5126
5127
|
key: M.id
|
|
5127
5128
|
}, [
|
|
5128
5129
|
r.value.floorLevel === M.floorLevel ? (m(), x("div", {
|
|
@@ -5130,7 +5131,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5130
5131
|
class: "single-camera-marker",
|
|
5131
5132
|
style: me(R(M))
|
|
5132
5133
|
}, null, 4)) : U("", !0),
|
|
5133
|
-
r.value.id === M.id && n.rotation !== null ? (m(), V(
|
|
5134
|
+
r.value.id === M.id && n.rotation !== null ? (m(), V(vs, {
|
|
5134
5135
|
key: 1,
|
|
5135
5136
|
class: "rotation-marker-component",
|
|
5136
5137
|
rotation: h.value,
|
|
@@ -5142,7 +5143,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5142
5143
|
])
|
|
5143
5144
|
]));
|
|
5144
5145
|
}
|
|
5145
|
-
}),
|
|
5146
|
+
}), hs = /* @__PURE__ */ K(fs, [["__scopeId", "data-v-1a6129d7"]]), gs = /* @__PURE__ */ P({
|
|
5146
5147
|
__name: "VMiniMapCompass",
|
|
5147
5148
|
props: {
|
|
5148
5149
|
scale: {},
|
|
@@ -5161,10 +5162,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5161
5162
|
}, null, 8, ["longitude"])
|
|
5162
5163
|
], 4));
|
|
5163
5164
|
}
|
|
5164
|
-
}),
|
|
5165
|
+
}), ys = /* @__PURE__ */ K(gs, [["__scopeId", "data-v-552c1d19"]]), _s = { class: "ss-wrapper" }, bs = { class: "slider" }, Cs = { class: "minimap-sun-slider" }, ws = {
|
|
5165
5166
|
key: 0,
|
|
5166
5167
|
class: "time-label"
|
|
5167
|
-
},
|
|
5168
|
+
}, ks = /* @__PURE__ */ P({
|
|
5168
5169
|
__name: "VSunSimulationSlider",
|
|
5169
5170
|
props: {
|
|
5170
5171
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5218,7 +5219,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5218
5219
|
}
|
|
5219
5220
|
async function c(b) {
|
|
5220
5221
|
const R = await (await fetch(
|
|
5221
|
-
|
|
5222
|
+
ie(
|
|
5222
5223
|
e.cdnFileResolver,
|
|
5223
5224
|
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
|
|
5224
5225
|
)
|
|
@@ -5239,9 +5240,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5239
5240
|
}
|
|
5240
5241
|
return (b, y) => {
|
|
5241
5242
|
const R = E("v-progress-linear"), T = E("v-icon"), Y = E("v-slider");
|
|
5242
|
-
return m(), x("div",
|
|
5243
|
-
d("div",
|
|
5244
|
-
d("div",
|
|
5243
|
+
return m(), x("div", _s, [
|
|
5244
|
+
d("div", bs, [
|
|
5245
|
+
d("div", Cs, [
|
|
5245
5246
|
o.value ? (m(), V(R, {
|
|
5246
5247
|
key: 0,
|
|
5247
5248
|
indeterminate: "",
|
|
@@ -5272,12 +5273,12 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5272
5273
|
_: 1
|
|
5273
5274
|
}, 8, ["modelValue"]))
|
|
5274
5275
|
]),
|
|
5275
|
-
o.value ? U("", !0) : (m(), x("div",
|
|
5276
|
+
o.value ? U("", !0) : (m(), x("div", ws, W(h.value) + " " + W(r.value), 1))
|
|
5276
5277
|
])
|
|
5277
5278
|
]);
|
|
5278
5279
|
};
|
|
5279
5280
|
}
|
|
5280
|
-
}),
|
|
5281
|
+
}), Is = /* @__PURE__ */ K(ks, [["__scopeId", "data-v-b2f12eb0"]]), Ss = /* @__PURE__ */ P({
|
|
5281
5282
|
__name: "VMiniMap",
|
|
5282
5283
|
props: {
|
|
5283
5284
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -5307,18 +5308,18 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5307
5308
|
function u() {
|
|
5308
5309
|
o.value = o.value + 90;
|
|
5309
5310
|
}
|
|
5310
|
-
return (r, h) => (m(), V(
|
|
5311
|
+
return (r, h) => (m(), V(ss, {
|
|
5311
5312
|
onClose: h[0] || (h[0] = (S) => a("close")),
|
|
5312
5313
|
onTransform: u
|
|
5313
5314
|
}, {
|
|
5314
5315
|
body: C(() => [
|
|
5315
|
-
w(
|
|
5316
|
+
w(ys, {
|
|
5316
5317
|
scale: l.value,
|
|
5317
5318
|
rotation: i.value.rotation.y,
|
|
5318
5319
|
"transform-angle": o.value
|
|
5319
5320
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
5320
5321
|
d("div", null, [
|
|
5321
|
-
w(
|
|
5322
|
+
w(hs, {
|
|
5322
5323
|
"transform-angle": o.value,
|
|
5323
5324
|
"all-cameras": r.apartmentJson.cameras,
|
|
5324
5325
|
"background-image": t.value,
|
|
@@ -5329,7 +5330,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5329
5330
|
])
|
|
5330
5331
|
]),
|
|
5331
5332
|
footer: C(() => [
|
|
5332
|
-
w(
|
|
5333
|
+
w(Is, {
|
|
5333
5334
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
5334
5335
|
"minimap-json": e.minimapJson,
|
|
5335
5336
|
"apartment-json": e.apartmentJson,
|
|
@@ -5340,7 +5341,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5340
5341
|
_: 1
|
|
5341
5342
|
}));
|
|
5342
5343
|
}
|
|
5343
|
-
}),
|
|
5344
|
+
}), St = /* @__PURE__ */ K(Ss, [["__scopeId", "data-v-898e645b"]]), Ds = 37, As = 39, xs = /* @__PURE__ */ P({
|
|
5344
5345
|
__name: "VWaypointCarousel",
|
|
5345
5346
|
props: {
|
|
5346
5347
|
thumbnails: {},
|
|
@@ -5360,15 +5361,15 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5360
5361
|
));
|
|
5361
5362
|
ye(() => {
|
|
5362
5363
|
window.addEventListener("keydown", l);
|
|
5363
|
-
}),
|
|
5364
|
+
}), He(() => {
|
|
5364
5365
|
window.removeEventListener("keydown", l);
|
|
5365
5366
|
});
|
|
5366
5367
|
function l(u) {
|
|
5367
5368
|
switch (u.keyCode) {
|
|
5368
|
-
case u.keyCode ===
|
|
5369
|
+
case u.keyCode === Ds:
|
|
5369
5370
|
a("previous");
|
|
5370
5371
|
break;
|
|
5371
|
-
case u.keyCode ===
|
|
5372
|
+
case u.keyCode === As:
|
|
5372
5373
|
a("next");
|
|
5373
5374
|
break;
|
|
5374
5375
|
default:
|
|
@@ -5416,7 +5417,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5416
5417
|
}, null, 8, ["class"])
|
|
5417
5418
|
]),
|
|
5418
5419
|
default: C(() => [
|
|
5419
|
-
(m(!0), x(
|
|
5420
|
+
(m(!0), x(ue, null, he(u.thumbnails, (_) => (m(), V(c, {
|
|
5420
5421
|
key: _.id
|
|
5421
5422
|
}, {
|
|
5422
5423
|
default: C(({ toggle: b, selectedClass: y }) => [
|
|
@@ -5449,13 +5450,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5449
5450
|
], 2);
|
|
5450
5451
|
};
|
|
5451
5452
|
}
|
|
5452
|
-
}),
|
|
5453
|
+
}), st = /* @__PURE__ */ K(xs, [["__scopeId", "data-v-0345b87c"]]), Fs = {
|
|
5453
5454
|
id: "share-btns-wrapper",
|
|
5454
5455
|
class: "text-center"
|
|
5455
|
-
},
|
|
5456
|
+
}, Ls = /* @__PURE__ */ P({
|
|
5456
5457
|
__name: "VSocialShare",
|
|
5457
5458
|
setup(s) {
|
|
5458
|
-
const n = Ne(
|
|
5459
|
+
const n = Ne(Ve), e = f(!1), a = f(location.href);
|
|
5459
5460
|
function t() {
|
|
5460
5461
|
return window.open(
|
|
5461
5462
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -5489,7 +5490,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5489
5490
|
attach: ""
|
|
5490
5491
|
}, {
|
|
5491
5492
|
activator: C(({ props: y }) => [
|
|
5492
|
-
w(r,
|
|
5493
|
+
w(r, Ie({
|
|
5493
5494
|
density: "comfortable",
|
|
5494
5495
|
elevation: "1",
|
|
5495
5496
|
icon: "mdi-share-variant",
|
|
@@ -5529,10 +5530,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5529
5530
|
}),
|
|
5530
5531
|
w(p, { class: "mt-5" }, {
|
|
5531
5532
|
default: C(() => [
|
|
5532
|
-
d("p",
|
|
5533
|
+
d("p", Fs, [
|
|
5533
5534
|
w(h, { location: "top" }, {
|
|
5534
5535
|
activator: C(({ props: y }) => [
|
|
5535
|
-
w(r,
|
|
5536
|
+
w(r, Ie({
|
|
5536
5537
|
depressed: "",
|
|
5537
5538
|
fab: "",
|
|
5538
5539
|
light: "",
|
|
@@ -5546,7 +5547,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5546
5547
|
}),
|
|
5547
5548
|
w(h, { location: "top" }, {
|
|
5548
5549
|
activator: C(({ props: y }) => [
|
|
5549
|
-
w(r,
|
|
5550
|
+
w(r, Ie({
|
|
5550
5551
|
depressed: "",
|
|
5551
5552
|
fab: "",
|
|
5552
5553
|
light: "",
|
|
@@ -5560,7 +5561,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5560
5561
|
}),
|
|
5561
5562
|
w(h, { location: "top" }, {
|
|
5562
5563
|
activator: C(({ props: y }) => [
|
|
5563
|
-
w(r,
|
|
5564
|
+
w(r, Ie({
|
|
5564
5565
|
depressed: "",
|
|
5565
5566
|
fab: "",
|
|
5566
5567
|
light: "",
|
|
@@ -5574,7 +5575,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5574
5575
|
}),
|
|
5575
5576
|
w(h, { location: "top" }, {
|
|
5576
5577
|
activator: C(({ props: y }) => [
|
|
5577
|
-
w(r,
|
|
5578
|
+
w(r, Ie({
|
|
5578
5579
|
depressed: "",
|
|
5579
5580
|
fab: "",
|
|
5580
5581
|
light: "",
|
|
@@ -5590,7 +5591,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5590
5591
|
}),
|
|
5591
5592
|
w(h, { location: "top" }, {
|
|
5592
5593
|
activator: C(({ props: y }) => [
|
|
5593
|
-
w(r,
|
|
5594
|
+
w(r, Ie({
|
|
5594
5595
|
depressed: "",
|
|
5595
5596
|
fab: "",
|
|
5596
5597
|
light: "",
|
|
@@ -5617,7 +5618,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5617
5618
|
]);
|
|
5618
5619
|
};
|
|
5619
5620
|
}
|
|
5620
|
-
}),
|
|
5621
|
+
}), Et = /* @__PURE__ */ K(Ls, [["__scopeId", "data-v-b6e473f1"]]), Ms = { class: "static-image-wrapper" }, Ts = /* @__PURE__ */ P({
|
|
5621
5622
|
__name: "VSingleImage",
|
|
5622
5623
|
props: {
|
|
5623
5624
|
image: {},
|
|
@@ -5625,17 +5626,17 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5625
5626
|
},
|
|
5626
5627
|
setup(s) {
|
|
5627
5628
|
const n = s, e = O(() => ({ "background-image": `url("${encodeURI(n.image)}")` }));
|
|
5628
|
-
return (a, t) => (m(), x("div",
|
|
5629
|
+
return (a, t) => (m(), x("div", Ms, [
|
|
5629
5630
|
d("div", {
|
|
5630
5631
|
class: ge(["img-div", [a.aspectRatio]]),
|
|
5631
5632
|
style: me(e.value)
|
|
5632
5633
|
}, null, 6)
|
|
5633
5634
|
]));
|
|
5634
5635
|
}
|
|
5635
|
-
}),
|
|
5636
|
+
}), Vs = /* @__PURE__ */ K(Ts, [["__scopeId", "data-v-31489804"]]), Es = {
|
|
5636
5637
|
id: "btn-fullscreen",
|
|
5637
5638
|
class: "btn-placeholder mr-2"
|
|
5638
|
-
},
|
|
5639
|
+
}, Ot = /* @__PURE__ */ P({
|
|
5639
5640
|
__name: "VFullScreenButton",
|
|
5640
5641
|
props: {
|
|
5641
5642
|
isFullScreen: { type: Boolean }
|
|
@@ -5645,7 +5646,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5645
5646
|
const e = n;
|
|
5646
5647
|
return (a, t) => {
|
|
5647
5648
|
const o = E("v-btn");
|
|
5648
|
-
return m(), x("div",
|
|
5649
|
+
return m(), x("div", Es, [
|
|
5649
5650
|
w(o, {
|
|
5650
5651
|
density: "comfortable",
|
|
5651
5652
|
elevation: "3",
|
|
@@ -5656,7 +5657,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, wo = {
|
|
|
5656
5657
|
};
|
|
5657
5658
|
}
|
|
5658
5659
|
});
|
|
5659
|
-
class
|
|
5660
|
+
class Bt {
|
|
5660
5661
|
constructor(n, e) {
|
|
5661
5662
|
se(this, "_doc");
|
|
5662
5663
|
se(this, "_elemId");
|
|
@@ -5696,22 +5697,22 @@ class Ot {
|
|
|
5696
5697
|
this._state.isActive = n;
|
|
5697
5698
|
}
|
|
5698
5699
|
}
|
|
5699
|
-
const
|
|
5700
|
+
const Os = {
|
|
5700
5701
|
key: 0,
|
|
5701
5702
|
class: "player-error"
|
|
5702
|
-
},
|
|
5703
|
+
}, Bs = { class: "player-and-components-wrapper" }, Rs = {
|
|
5703
5704
|
key: 3,
|
|
5704
5705
|
class: "settings-panel"
|
|
5705
|
-
},
|
|
5706
|
+
}, $s = {
|
|
5706
5707
|
key: 0,
|
|
5707
5708
|
class: "compass-wrapper"
|
|
5708
|
-
},
|
|
5709
|
+
}, Us = {
|
|
5709
5710
|
key: 1,
|
|
5710
5711
|
class: "btn-placeholder mr-2"
|
|
5711
|
-
},
|
|
5712
|
+
}, Hs = { class: "btn-placeholder mr-2" }, Ys = {
|
|
5712
5713
|
key: 2,
|
|
5713
5714
|
class: "btn-placeholder mr-2"
|
|
5714
|
-
},
|
|
5715
|
+
}, Ps = { key: 0 }, js = { class: "d-flex flex-column align-end" }, zs = /* @__PURE__ */ P({
|
|
5715
5716
|
__name: "VVirtualTour",
|
|
5716
5717
|
props: {
|
|
5717
5718
|
cdnFileResolver: {},
|
|
@@ -5753,16 +5754,16 @@ const Es = {
|
|
|
5753
5754
|
setup(s, { expose: n, emit: e }) {
|
|
5754
5755
|
const a = s, t = e;
|
|
5755
5756
|
n({
|
|
5756
|
-
updateSelectedInterior:
|
|
5757
|
-
takeSnapshot:
|
|
5758
|
-
setCurrentCamera:
|
|
5757
|
+
updateSelectedInterior: Fe,
|
|
5758
|
+
takeSnapshot: vt,
|
|
5759
|
+
setCurrentCamera: re
|
|
5759
5760
|
});
|
|
5760
5761
|
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(
|
|
5761
|
-
new
|
|
5762
|
+
new Bt(document, "player-wrapper")
|
|
5762
5763
|
), j = O(() => {
|
|
5763
5764
|
if (u.value) {
|
|
5764
5765
|
const D = u.value.cameras.map(
|
|
5765
|
-
(
|
|
5766
|
+
(ne) => ne.floorLevel
|
|
5766
5767
|
);
|
|
5767
5768
|
let J = [...new Set(D)];
|
|
5768
5769
|
return J = J.sort(), J;
|
|
@@ -5772,34 +5773,34 @@ const Es = {
|
|
|
5772
5773
|
let D = 0;
|
|
5773
5774
|
if (u.value) {
|
|
5774
5775
|
const J = u.value.cameras.map(
|
|
5775
|
-
(
|
|
5776
|
+
(Pe) => Pe.floorLevel
|
|
5776
5777
|
);
|
|
5777
|
-
let
|
|
5778
|
-
|
|
5779
|
-
const
|
|
5780
|
-
(
|
|
5778
|
+
let ne = [...new Set(J)];
|
|
5779
|
+
ne = ne.sort();
|
|
5780
|
+
const ke = ne.findIndex(
|
|
5781
|
+
(Pe) => Pe === y.value
|
|
5781
5782
|
);
|
|
5782
|
-
|
|
5783
|
+
ke !== -1 && (D = ke);
|
|
5783
5784
|
}
|
|
5784
5785
|
return D;
|
|
5785
|
-
}), G = O(() =>
|
|
5786
|
+
}), G = O(() => q.value.findIndex(
|
|
5786
5787
|
(D) => D.archetypeID === c.value
|
|
5787
5788
|
)), A = O(() => r.value ? r.value.cameras.map((D) => ({
|
|
5788
5789
|
...D,
|
|
5789
|
-
thumbnailUrl:
|
|
5790
|
+
thumbnailUrl: ot(
|
|
5790
5791
|
`/${c.value}/${a.apartmentId}/thumbs/200/${D.id}.jpg`
|
|
5791
5792
|
),
|
|
5792
|
-
imageUrl:
|
|
5793
|
+
imageUrl: ot(
|
|
5793
5794
|
`/${c.value}/${a.apartmentId}/images/1600/${D.id}.jpg`
|
|
5794
5795
|
)
|
|
5795
|
-
})) : []), L = O(() => !A.value || !A.value[g.value] ? "" : A.value[g.value].imageUrl),
|
|
5796
|
+
})) : []), L = O(() => !A.value || !A.value[g.value] ? "" : A.value[g.value].imageUrl), q = O(() => {
|
|
5796
5797
|
let D = [];
|
|
5797
5798
|
return v.value && (D = v.value.archetypes), a.validInteriorIds.length ? D.filter(
|
|
5798
5799
|
(J) => a.validInteriorIds.includes(J.archetypeID)
|
|
5799
5800
|
) : D;
|
|
5800
|
-
}), z = O(() => r.value ?
|
|
5801
|
+
}), z = O(() => r.value ? q.value.map((D) => ({
|
|
5801
5802
|
...D,
|
|
5802
|
-
url:
|
|
5803
|
+
url: ot(
|
|
5803
5804
|
`/${D.archetypeID}/${a.apartmentId}/thumbs/200/${A.value[g.value].id}.jpg`
|
|
5804
5805
|
)
|
|
5805
5806
|
})) : []), oe = O(() => {
|
|
@@ -5807,13 +5808,13 @@ const Es = {
|
|
|
5807
5808
|
return h.value.storeys[M.value];
|
|
5808
5809
|
}), F = O(() => u.value && u.value.timeInHours), $ = O(() => {
|
|
5809
5810
|
if (u.value && u.value.timeInHours && a.showTimeOfDay)
|
|
5810
|
-
return
|
|
5811
|
+
return Ut(u.value.timeInHours);
|
|
5811
5812
|
});
|
|
5812
|
-
|
|
5813
|
-
|
|
5813
|
+
tt(
|
|
5814
|
+
Ve,
|
|
5814
5815
|
a.i18nConfig ? new Ee(a.i18nConfig) : new Ee()
|
|
5815
5816
|
), H([() => a.cdnFileResolver], async () => {
|
|
5816
|
-
await ee(),
|
|
5817
|
+
await ee(), de(), await ae();
|
|
5817
5818
|
}), H(
|
|
5818
5819
|
() => a.defaultViewMode,
|
|
5819
5820
|
(D) => {
|
|
@@ -5822,19 +5823,21 @@ const Es = {
|
|
|
5822
5823
|
{ immediate: !0 }
|
|
5823
5824
|
), ye(async () => {
|
|
5824
5825
|
try {
|
|
5825
|
-
await ee(),
|
|
5826
|
+
await ee(), de(), await ae(), k.value.setup(), ce(), Pt.value ? (o.value = !1, I.value = !0) : o.value = !0;
|
|
5826
5827
|
} catch (D) {
|
|
5827
5828
|
l.value = !0, t("onError", D);
|
|
5828
5829
|
}
|
|
5830
|
+
}), He(() => {
|
|
5831
|
+
document.removeEventListener("wheel", _e);
|
|
5829
5832
|
});
|
|
5830
5833
|
async function ee() {
|
|
5831
|
-
v.value = await
|
|
5834
|
+
v.value = await De();
|
|
5832
5835
|
}
|
|
5833
|
-
async function
|
|
5834
|
-
if (u.value = await
|
|
5836
|
+
async function ae() {
|
|
5837
|
+
if (u.value = await Se(
|
|
5835
5838
|
c.value,
|
|
5836
5839
|
a.apartmentId
|
|
5837
|
-
), u.value && (p.value = u.value.cameras.find(() => !0).id), r.value = await
|
|
5840
|
+
), u.value && (p.value = u.value.cameras.find(() => !0).id), r.value = await Ae(
|
|
5838
5841
|
c.value,
|
|
5839
5842
|
a.apartmentId
|
|
5840
5843
|
), r.value) {
|
|
@@ -5846,20 +5849,20 @@ const Es = {
|
|
|
5846
5849
|
a.apartmentId
|
|
5847
5850
|
));
|
|
5848
5851
|
}
|
|
5849
|
-
function
|
|
5852
|
+
function de() {
|
|
5850
5853
|
let D = a.defaultInteriorId;
|
|
5851
5854
|
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;
|
|
5852
5855
|
}
|
|
5853
|
-
function
|
|
5856
|
+
function ce() {
|
|
5854
5857
|
const D = document.getElementById("main-canvas");
|
|
5855
5858
|
D.addEventListener("touchmove", J, { passive: !1 });
|
|
5856
|
-
function J(
|
|
5857
|
-
|
|
5859
|
+
function J(ne) {
|
|
5860
|
+
ne.preventDefault(), window.scrollBy(0, 0);
|
|
5858
5861
|
}
|
|
5859
5862
|
D.addEventListener(
|
|
5860
5863
|
"mouseenter",
|
|
5861
5864
|
() => {
|
|
5862
|
-
document.addEventListener("wheel",
|
|
5865
|
+
document.addEventListener("wheel", _e, {
|
|
5863
5866
|
passive: !1
|
|
5864
5867
|
});
|
|
5865
5868
|
},
|
|
@@ -5867,43 +5870,43 @@ const Es = {
|
|
|
5867
5870
|
), D.addEventListener(
|
|
5868
5871
|
"mouseleave",
|
|
5869
5872
|
() => {
|
|
5870
|
-
document.removeEventListener("wheel",
|
|
5873
|
+
document.removeEventListener("wheel", _e);
|
|
5871
5874
|
},
|
|
5872
5875
|
{ passive: !1 }
|
|
5873
5876
|
);
|
|
5874
|
-
function te(_e) {
|
|
5875
|
-
_e.preventDefault(), window.scrollBy(0, 0);
|
|
5876
|
-
}
|
|
5877
5877
|
}
|
|
5878
|
-
|
|
5878
|
+
function _e(D) {
|
|
5879
|
+
D.preventDefault(), window.scrollBy(0, 0);
|
|
5880
|
+
}
|
|
5881
|
+
async function De() {
|
|
5879
5882
|
try {
|
|
5880
|
-
return await
|
|
5883
|
+
return await lt("/config.json");
|
|
5881
5884
|
} catch (D) {
|
|
5882
5885
|
console.error(
|
|
5883
5886
|
"Error loading config.json - ",
|
|
5884
|
-
|
|
5887
|
+
ie(a.cdnFileResolver, "/config.json"),
|
|
5885
5888
|
D
|
|
5886
5889
|
);
|
|
5887
5890
|
return;
|
|
5888
5891
|
}
|
|
5889
5892
|
}
|
|
5890
|
-
async function
|
|
5893
|
+
async function Se(D, J) {
|
|
5891
5894
|
try {
|
|
5892
|
-
return await
|
|
5895
|
+
return await lt(
|
|
5893
5896
|
`/${D}/${J}/apartment.json`
|
|
5894
5897
|
);
|
|
5895
|
-
} catch (
|
|
5898
|
+
} catch (ne) {
|
|
5896
5899
|
console.error(
|
|
5897
5900
|
"Error loading apartment.json - ",
|
|
5898
5901
|
`/${D}/${J}/apartment.json`,
|
|
5899
|
-
|
|
5902
|
+
ne
|
|
5900
5903
|
);
|
|
5901
5904
|
return;
|
|
5902
5905
|
}
|
|
5903
5906
|
}
|
|
5904
|
-
async function
|
|
5907
|
+
async function Ae(D, J) {
|
|
5905
5908
|
try {
|
|
5906
|
-
return await
|
|
5909
|
+
return await lt(
|
|
5907
5910
|
`/${D}/${J}/thumbs.json`
|
|
5908
5911
|
);
|
|
5909
5912
|
} catch {
|
|
@@ -5916,7 +5919,7 @@ const Es = {
|
|
|
5916
5919
|
}
|
|
5917
5920
|
async function xe(D, J) {
|
|
5918
5921
|
try {
|
|
5919
|
-
return await
|
|
5922
|
+
return await lt(
|
|
5920
5923
|
`/${D}/${J}/minimap/minimap.json`
|
|
5921
5924
|
);
|
|
5922
5925
|
} catch {
|
|
@@ -5927,91 +5930,91 @@ const Es = {
|
|
|
5927
5930
|
return;
|
|
5928
5931
|
}
|
|
5929
5932
|
}
|
|
5930
|
-
function
|
|
5933
|
+
function Oe() {
|
|
5931
5934
|
let D = g.value + 1;
|
|
5932
|
-
D >= A.value.length && (D = 0), g.value = D,
|
|
5935
|
+
D >= A.value.length && (D = 0), g.value = D, re(A.value[g.value].id);
|
|
5933
5936
|
}
|
|
5934
|
-
function
|
|
5937
|
+
function Q() {
|
|
5935
5938
|
let D = g.value - 1;
|
|
5936
|
-
D < 0 && (D = A.value.length - 1), g.value = D,
|
|
5939
|
+
D < 0 && (D = A.value.length - 1), g.value = D, re(A.value[g.value].id);
|
|
5937
5940
|
}
|
|
5938
|
-
function
|
|
5939
|
-
let
|
|
5940
|
-
|
|
5941
|
+
function le(D, J = !0) {
|
|
5942
|
+
let ne = A.value.findIndex((ke) => ke.id === D);
|
|
5943
|
+
ne != -1 && (g.value = ne, J && re(D));
|
|
5941
5944
|
}
|
|
5942
|
-
function
|
|
5945
|
+
function re(D) {
|
|
5943
5946
|
p.value = D;
|
|
5944
5947
|
}
|
|
5945
|
-
function
|
|
5948
|
+
function Fe(D) {
|
|
5946
5949
|
c.value = D, t("onInteriorUpdate", D), t("onCameraUpdate", _.value, u.value);
|
|
5947
5950
|
}
|
|
5948
|
-
function Ve(D) {
|
|
5949
|
-
Q(D, !1), _.value = D, t("onCameraUpdate", D, u.value);
|
|
5950
|
-
}
|
|
5951
5951
|
function N(D) {
|
|
5952
|
+
le(D, !1), _.value = D, t("onCameraUpdate", D, u.value);
|
|
5953
|
+
}
|
|
5954
|
+
function Z(D) {
|
|
5952
5955
|
b.value = D;
|
|
5953
5956
|
}
|
|
5954
|
-
function
|
|
5957
|
+
function ve(D) {
|
|
5955
5958
|
y.value = D;
|
|
5956
5959
|
}
|
|
5957
|
-
function
|
|
5960
|
+
function Je(D) {
|
|
5958
5961
|
R.value = D;
|
|
5959
5962
|
}
|
|
5960
|
-
function
|
|
5963
|
+
function $e(D, J) {
|
|
5961
5964
|
}
|
|
5962
|
-
function
|
|
5965
|
+
function Be(D) {
|
|
5963
5966
|
S.value = D, S.value && (a.playerSettings && S.value.updateSettings(a.playerSettings), a.hasMarkersJson ? S.value.loadMarkersJson() : a.dynamicMarkers && S.value.loadDynamicMarkers(a.dynamicMarkers));
|
|
5964
5967
|
}
|
|
5965
|
-
function
|
|
5968
|
+
function Le() {
|
|
5966
5969
|
k.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
5967
5970
|
}
|
|
5968
|
-
function
|
|
5971
|
+
function dt() {
|
|
5969
5972
|
T.value = !T.value;
|
|
5970
5973
|
}
|
|
5971
|
-
async function
|
|
5972
|
-
const D = 180 / Math.PI, J = await S.value.takePhoto(),
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5974
|
+
async function vt() {
|
|
5975
|
+
const D = 180 / Math.PI, J = await S.value.takePhoto(), ne = S.value.getRotationEuler(), ke = S.value.getCurrentCamera(), Pe = new ln(J, ke), jt = [
|
|
5976
|
+
ne.x * -D,
|
|
5977
|
+
ne.y * -D,
|
|
5978
|
+
ne.z * D
|
|
5976
5979
|
];
|
|
5977
|
-
return t("onSnapshot",
|
|
5980
|
+
return t("onSnapshot", Pe, jt), Pe;
|
|
5978
5981
|
}
|
|
5979
|
-
function
|
|
5980
|
-
let J =
|
|
5982
|
+
function ot(D) {
|
|
5983
|
+
let J = ie(a.cdnFileResolver, D);
|
|
5981
5984
|
return a.adminMode && (J = J + `?v=${Date.now()}`), J;
|
|
5982
5985
|
}
|
|
5983
|
-
async function
|
|
5984
|
-
const J =
|
|
5986
|
+
async function lt(D) {
|
|
5987
|
+
const J = ot(D);
|
|
5985
5988
|
try {
|
|
5986
|
-
return (await
|
|
5987
|
-
} catch (
|
|
5988
|
-
throw new Error(
|
|
5989
|
+
return (await pt.get(J)).data;
|
|
5990
|
+
} catch (ne) {
|
|
5991
|
+
throw new Error(ne);
|
|
5989
5992
|
}
|
|
5990
5993
|
}
|
|
5991
|
-
function
|
|
5994
|
+
function Rt(D) {
|
|
5992
5995
|
S.value.updateSettings(D);
|
|
5993
5996
|
}
|
|
5994
|
-
function
|
|
5997
|
+
function $t(D) {
|
|
5995
5998
|
t("saveSettings", D);
|
|
5996
5999
|
}
|
|
5997
|
-
function
|
|
6000
|
+
function Ut(D) {
|
|
5998
6001
|
if (D === void 0)
|
|
5999
6002
|
return null;
|
|
6000
|
-
const J = Math.floor(D),
|
|
6001
|
-
return { hours: J, minutes:
|
|
6003
|
+
const J = Math.floor(D), ne = Math.floor((J - D) * 60);
|
|
6004
|
+
return { hours: J, minutes: ne };
|
|
6002
6005
|
}
|
|
6003
|
-
const
|
|
6006
|
+
const mt = O(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
6004
6007
|
window.navigator.userAgent
|
|
6005
|
-
)),
|
|
6006
|
-
I.value = !0, o.value = !1, D &&
|
|
6007
|
-
},
|
|
6008
|
-
const D =
|
|
6008
|
+
)), kt = O(() => mt.value ? "platform-mobile" : "platform-desktop"), Ht = (D = !1) => {
|
|
6009
|
+
I.value = !0, o.value = !1, D && Yt();
|
|
6010
|
+
}, Yt = () => {
|
|
6011
|
+
const D = ie(
|
|
6009
6012
|
a.cdnFileResolver,
|
|
6010
6013
|
"/config.json"
|
|
6011
6014
|
);
|
|
6012
6015
|
localStorage.setItem(`${D}-dont-show-tutorial`, "true");
|
|
6013
|
-
},
|
|
6014
|
-
const D =
|
|
6016
|
+
}, Pt = O(() => {
|
|
6017
|
+
const D = ie(
|
|
6015
6018
|
a.cdnFileResolver,
|
|
6016
6019
|
"/config.json"
|
|
6017
6020
|
);
|
|
@@ -6020,13 +6023,13 @@ const Es = {
|
|
|
6020
6023
|
);
|
|
6021
6024
|
});
|
|
6022
6025
|
return (D, J) => {
|
|
6023
|
-
const
|
|
6026
|
+
const ne = E("v-btn");
|
|
6024
6027
|
return m(), x("div", {
|
|
6025
|
-
class: ge(["virtual-tour-wrapper", [
|
|
6028
|
+
class: ge(["virtual-tour-wrapper", [kt.value]])
|
|
6026
6029
|
}, [
|
|
6027
|
-
l.value ? (m(), x("div",
|
|
6028
|
-
d("div",
|
|
6029
|
-
!k.value.isActive && h.value && _.value && oe.value && c.value && Y.value ? (m(), V(
|
|
6030
|
+
l.value ? (m(), x("div", Os, "Error loading the player!!")) : U("", !0),
|
|
6031
|
+
d("div", Bs, [
|
|
6032
|
+
!k.value.isActive && h.value && _.value && oe.value && c.value && Y.value ? (m(), V(St, {
|
|
6030
6033
|
key: 0,
|
|
6031
6034
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6032
6035
|
"apartment-json": u.value,
|
|
@@ -6034,13 +6037,13 @@ const Es = {
|
|
|
6034
6037
|
"minimap-json": h.value,
|
|
6035
6038
|
rotation: b.value,
|
|
6036
6039
|
"current-camera": _.value,
|
|
6037
|
-
onClose: J[0] || (J[0] = (
|
|
6040
|
+
onClose: J[0] || (J[0] = (ke) => Y.value = !1)
|
|
6038
6041
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : U("", !0),
|
|
6039
6042
|
c.value && p.value ? (m(), x("div", {
|
|
6040
6043
|
key: 1,
|
|
6041
|
-
class: ge(["v-player", [
|
|
6044
|
+
class: ge(["v-player", [kt.value]])
|
|
6042
6045
|
}, [
|
|
6043
|
-
w(
|
|
6046
|
+
w(Eo, {
|
|
6044
6047
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6045
6048
|
style: me({ zIndex: T.value ? 1 : 2 }),
|
|
6046
6049
|
"show-static-image": T.value,
|
|
@@ -6049,74 +6052,74 @@ const Es = {
|
|
|
6049
6052
|
"mouse-sensitivity": D.mouseSensitivity,
|
|
6050
6053
|
"interior-id": c.value,
|
|
6051
6054
|
"apartment-id": a.apartmentId,
|
|
6052
|
-
onNewCameraCallback:
|
|
6053
|
-
onNewRotationCallback:
|
|
6054
|
-
onNewFloorCallback:
|
|
6055
|
-
onNewFovCallback:
|
|
6056
|
-
onNewSizeCallback:
|
|
6057
|
-
onPlayerApiCallback:
|
|
6055
|
+
onNewCameraCallback: N,
|
|
6056
|
+
onNewRotationCallback: Z,
|
|
6057
|
+
onNewFloorCallback: ve,
|
|
6058
|
+
onNewFovCallback: Je,
|
|
6059
|
+
onNewSizeCallback: $e,
|
|
6060
|
+
onPlayerApiCallback: Be
|
|
6058
6061
|
}, {
|
|
6059
6062
|
"slideshow-image": C(() => [
|
|
6060
|
-
T.value ? (m(), V(
|
|
6063
|
+
T.value ? (m(), V(Vs, {
|
|
6061
6064
|
key: 0,
|
|
6062
6065
|
image: L.value
|
|
6063
6066
|
}, null, 8, ["image"])) : U("", !0)
|
|
6064
6067
|
]),
|
|
6065
6068
|
"top-left": C(() => [
|
|
6066
|
-
D.adminMode ? pe((m(), V(
|
|
6069
|
+
D.adminMode ? pe((m(), V(ne, {
|
|
6067
6070
|
key: 0,
|
|
6068
6071
|
density: "comfortable",
|
|
6069
6072
|
icon: "mdi-cog-outline",
|
|
6070
6073
|
elevation: "3",
|
|
6071
6074
|
class: "mr-2",
|
|
6072
|
-
onClick: J[1] || (J[1] = (
|
|
6075
|
+
onClick: J[1] || (J[1] = (ke) => i.value = !i.value)
|
|
6073
6076
|
}, null, 512)), [
|
|
6074
6077
|
[fe, I.value]
|
|
6075
6078
|
]) : U("", !0),
|
|
6076
|
-
pe(w(
|
|
6079
|
+
pe(w(ne, {
|
|
6077
6080
|
density: "comfortable",
|
|
6078
6081
|
icon: "mdi-alert-outline",
|
|
6079
6082
|
elevation: "3",
|
|
6080
6083
|
class: "mr-2",
|
|
6081
|
-
onClick: J[2] || (J[2] = (
|
|
6084
|
+
onClick: J[2] || (J[2] = (ke) => o.value = !o.value)
|
|
6082
6085
|
}, null, 512), [
|
|
6083
6086
|
[fe, I.value]
|
|
6084
6087
|
]),
|
|
6085
|
-
h.value && p.value && oe.value ? pe((m(), V(
|
|
6088
|
+
h.value && p.value && oe.value ? pe((m(), V(ne, {
|
|
6086
6089
|
key: 1,
|
|
6087
6090
|
density: "comfortable",
|
|
6088
6091
|
elevation: "3",
|
|
6089
6092
|
icon: "mdi-floor-plan",
|
|
6090
6093
|
class: "mr-2",
|
|
6091
|
-
onClick: J[3] || (J[3] = (
|
|
6094
|
+
onClick: J[3] || (J[3] = (ke) => Y.value = !Y.value)
|
|
6092
6095
|
}, null, 512)), [
|
|
6093
6096
|
[fe, I.value]
|
|
6094
6097
|
]) : U("", !0),
|
|
6095
|
-
I.value && D.showFloorLevel && j.value.length > 1 ? (m(), V(
|
|
6098
|
+
I.value && D.showFloorLevel && j.value.length > 1 ? (m(), V(Ho, {
|
|
6096
6099
|
key: 2,
|
|
6097
6100
|
level: y.value,
|
|
6098
6101
|
"floor-levels": j.value,
|
|
6099
|
-
onLevel:
|
|
6102
|
+
onLevel: ve
|
|
6100
6103
|
}, null, 8, ["level", "floor-levels"])) : U("", !0),
|
|
6101
|
-
I.value && D.adminMode && i.value ? (m(), x("div",
|
|
6102
|
-
w(
|
|
6104
|
+
I.value && D.adminMode && i.value ? (m(), x("div", Rs, [
|
|
6105
|
+
w(es, {
|
|
6103
6106
|
"initial-settings": D.playerSettings,
|
|
6104
|
-
onUpdateSettings:
|
|
6105
|
-
onSaveSettings:
|
|
6107
|
+
onUpdateSettings: Rt,
|
|
6108
|
+
onSaveSettings: $t
|
|
6106
6109
|
}, null, 8, ["initial-settings"])
|
|
6107
6110
|
])) : U("", !0)
|
|
6108
6111
|
]),
|
|
6109
6112
|
"top-center": C(() => []),
|
|
6110
6113
|
"top-right": C(() => [
|
|
6111
|
-
u.value && D.showCompass ? pe((m(), x("div",
|
|
6112
|
-
w(
|
|
6114
|
+
u.value && D.showCompass ? pe((m(), x("div", $s, [
|
|
6115
|
+
w(No, { rotation: b.value }, null, 8, ["rotation"])
|
|
6113
6116
|
], 512)), [
|
|
6114
6117
|
[fe, I.value]
|
|
6115
6118
|
]) : U("", !0),
|
|
6116
6119
|
d("div", {
|
|
6117
|
-
onClick: J[4] || (J[4] = (
|
|
6120
|
+
onClick: J[4] || (J[4] = (ke) => Y.value = !Y.value)
|
|
6118
6121
|
}, [
|
|
6119
|
-
I.value && u.value && F.value && D.showTimeOfDay ? (m(), V(
|
|
6122
|
+
I.value && u.value && F.value && D.showTimeOfDay ? (m(), V(Xo, {
|
|
6120
6123
|
key: 0,
|
|
6121
6124
|
hours: $.value.hours,
|
|
6122
6125
|
minutes: $.value.minutes,
|
|
@@ -6128,25 +6131,25 @@ const Es = {
|
|
|
6128
6131
|
])
|
|
6129
6132
|
]),
|
|
6130
6133
|
"center-left": C(() => [
|
|
6131
|
-
w(
|
|
6134
|
+
w(Me, { name: "slide-x-transition" }, {
|
|
6132
6135
|
default: C(() => [
|
|
6133
|
-
T.value ? (m(), V(
|
|
6136
|
+
T.value ? (m(), V(ne, {
|
|
6134
6137
|
key: 0,
|
|
6135
6138
|
density: "comfortable",
|
|
6136
6139
|
elevation: "3",
|
|
6137
6140
|
icon: "mdi-chevron-left",
|
|
6138
|
-
onClick:
|
|
6141
|
+
onClick: Q
|
|
6139
6142
|
})) : U("", !0)
|
|
6140
6143
|
]),
|
|
6141
6144
|
_: 1
|
|
6142
6145
|
})
|
|
6143
6146
|
]),
|
|
6144
6147
|
"center-center": C(() => [
|
|
6145
|
-
o.value ? (m(), V(
|
|
6148
|
+
o.value ? (m(), V(Ol, {
|
|
6146
6149
|
key: 0,
|
|
6147
|
-
onCloseTutorial: J[5] || (J[5] = (
|
|
6150
|
+
onCloseTutorial: J[5] || (J[5] = (ke) => Ht(ke))
|
|
6148
6151
|
})) : U("", !0),
|
|
6149
|
-
k.value.isActive && h.value && _.value && oe.value && Y.value ? (m(), V(
|
|
6152
|
+
k.value.isActive && h.value && _.value && oe.value && Y.value ? (m(), V(St, {
|
|
6150
6153
|
key: 1,
|
|
6151
6154
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6152
6155
|
"apartment-json": u.value,
|
|
@@ -6154,160 +6157,160 @@ const Es = {
|
|
|
6154
6157
|
rotation: b.value,
|
|
6155
6158
|
"current-camera": _.value,
|
|
6156
6159
|
level: M.value,
|
|
6157
|
-
onClose: J[6] || (J[6] = (
|
|
6160
|
+
onClose: J[6] || (J[6] = (ke) => Y.value = !1)
|
|
6158
6161
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : U("", !0)
|
|
6159
6162
|
]),
|
|
6160
6163
|
"center-right": C(() => [
|
|
6161
|
-
w(
|
|
6164
|
+
w(Me, { name: "slide-x-reverse-transition" }, {
|
|
6162
6165
|
default: C(() => [
|
|
6163
|
-
T.value ? (m(), V(
|
|
6166
|
+
T.value ? (m(), V(ne, {
|
|
6164
6167
|
key: 0,
|
|
6165
6168
|
density: "comfortable",
|
|
6166
6169
|
elevation: "3",
|
|
6167
6170
|
icon: "mdi-chevron-right",
|
|
6168
|
-
onClick:
|
|
6171
|
+
onClick: Oe
|
|
6169
6172
|
})) : U("", !0)
|
|
6170
6173
|
]),
|
|
6171
6174
|
_: 1
|
|
6172
6175
|
})
|
|
6173
6176
|
]),
|
|
6174
6177
|
"bottom-left": C(() => [
|
|
6175
|
-
I.value && D.showFullScreen ? (m(), V(
|
|
6178
|
+
I.value && D.showFullScreen ? (m(), V(Ot, {
|
|
6176
6179
|
key: 0,
|
|
6177
6180
|
"is-full-screen": k.value.isActive,
|
|
6178
6181
|
class: "btn-fullscreen",
|
|
6179
|
-
onToggleFullscreen:
|
|
6182
|
+
onToggleFullscreen: Le
|
|
6180
6183
|
}, null, 8, ["is-full-screen"])) : U("", !0),
|
|
6181
|
-
I.value && D.showSnapshot ? (m(), x("div",
|
|
6182
|
-
w(
|
|
6184
|
+
I.value && D.showSnapshot ? (m(), x("div", Us, [
|
|
6185
|
+
w(ne, {
|
|
6183
6186
|
density: "comfortable",
|
|
6184
6187
|
elevation: "3",
|
|
6185
6188
|
icon: "mdi-camera",
|
|
6186
|
-
onClick:
|
|
6189
|
+
onClick: vt
|
|
6187
6190
|
})
|
|
6188
6191
|
])) : U("", !0),
|
|
6189
|
-
d("div",
|
|
6190
|
-
D.displayViewModeSwitch && I.value ? (m(), V(
|
|
6192
|
+
d("div", Hs, [
|
|
6193
|
+
D.displayViewModeSwitch && I.value ? (m(), V(ll, {
|
|
6191
6194
|
key: 0,
|
|
6192
6195
|
"show-static-image": T.value,
|
|
6193
|
-
onToggle:
|
|
6196
|
+
onToggle: dt
|
|
6194
6197
|
}, null, 8, ["show-static-image"])) : U("", !0)
|
|
6195
6198
|
]),
|
|
6196
|
-
I.value && D.showShare && !k.value.isActive ? (m(), x("div",
|
|
6197
|
-
w(
|
|
6199
|
+
I.value && D.showShare && !k.value.isActive ? (m(), x("div", Ys, [
|
|
6200
|
+
w(Et)
|
|
6198
6201
|
])) : U("", !0)
|
|
6199
6202
|
]),
|
|
6200
6203
|
"bottom-center": C(() => [
|
|
6201
|
-
I.value && D.showCarousel && !
|
|
6202
|
-
I.value ? (m(), V(
|
|
6204
|
+
I.value && D.showCarousel && !mt.value ? (m(), x("div", Ps, [
|
|
6205
|
+
I.value ? (m(), V(st, {
|
|
6203
6206
|
key: 0,
|
|
6204
6207
|
class: ge([k.value.isActive ? "full-screen" : ""]),
|
|
6205
6208
|
thumbnails: A.value,
|
|
6206
6209
|
active: g.value,
|
|
6207
|
-
onNext:
|
|
6208
|
-
onPrevious:
|
|
6209
|
-
onGoto:
|
|
6210
|
+
onNext: Oe,
|
|
6211
|
+
onPrevious: Q,
|
|
6212
|
+
onGoto: le
|
|
6210
6213
|
}, null, 8, ["class", "thumbnails", "active"])) : U("", !0)
|
|
6211
6214
|
])) : U("", !0)
|
|
6212
6215
|
]),
|
|
6213
6216
|
"bottom-right": C(() => [
|
|
6214
|
-
d("div",
|
|
6215
|
-
I.value && D.showInteriorOptions && z.value ? (m(), V(
|
|
6217
|
+
d("div", js, [
|
|
6218
|
+
I.value && D.showInteriorOptions && z.value ? (m(), V(jo, {
|
|
6216
6219
|
key: 0,
|
|
6217
6220
|
"cdn-file-resolver": D.cdnFileResolver,
|
|
6218
6221
|
"available-archetypes": z.value,
|
|
6219
6222
|
"selected-index": G.value,
|
|
6220
|
-
onSelectInterior:
|
|
6223
|
+
onSelectInterior: Fe
|
|
6221
6224
|
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : U("", !0)
|
|
6222
6225
|
])
|
|
6223
6226
|
]),
|
|
6224
6227
|
_: 1
|
|
6225
6228
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "is-full-screen", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
6226
|
-
D.showCarousel && r.value &&
|
|
6229
|
+
D.showCarousel && r.value && mt.value ? (m(), V(st, {
|
|
6227
6230
|
key: 0,
|
|
6228
6231
|
class: "waypoint-carousel below-player",
|
|
6229
6232
|
thumbnails: A.value,
|
|
6230
6233
|
active: g.value,
|
|
6231
|
-
onNext:
|
|
6232
|
-
onPrevious:
|
|
6233
|
-
onGoto:
|
|
6234
|
+
onNext: Oe,
|
|
6235
|
+
onPrevious: Q,
|
|
6236
|
+
onGoto: le
|
|
6234
6237
|
}, null, 8, ["thumbnails", "active"])) : U("", !0)
|
|
6235
6238
|
], 2)) : U("", !0)
|
|
6236
6239
|
])
|
|
6237
6240
|
], 2);
|
|
6238
6241
|
};
|
|
6239
6242
|
}
|
|
6240
|
-
}),
|
|
6243
|
+
}), Ws = /* @__PURE__ */ K(zs, [["__scopeId", "data-v-36167d9f"]]), Ns = { id: "player-wrapper" }, Gs = { id: "player-sizer" }, Qs = {
|
|
6241
6244
|
class: "player-control",
|
|
6242
6245
|
id: "controls-top-left"
|
|
6243
|
-
},
|
|
6246
|
+
}, qs = {
|
|
6244
6247
|
class: "player-control",
|
|
6245
6248
|
id: "controls-top-center"
|
|
6246
|
-
},
|
|
6249
|
+
}, Zs = {
|
|
6247
6250
|
class: "player-control",
|
|
6248
6251
|
id: "controls-top-right"
|
|
6249
|
-
},
|
|
6252
|
+
}, Js = {
|
|
6250
6253
|
class: "player-control",
|
|
6251
6254
|
id: "controls-center-left"
|
|
6252
|
-
},
|
|
6255
|
+
}, Xs = {
|
|
6253
6256
|
class: "player-control",
|
|
6254
6257
|
id: "controls-center-center"
|
|
6255
|
-
},
|
|
6258
|
+
}, Ks = {
|
|
6256
6259
|
class: "player-control",
|
|
6257
6260
|
id: "controls-center-right"
|
|
6258
|
-
},
|
|
6261
|
+
}, er = {
|
|
6259
6262
|
class: "player-control",
|
|
6260
6263
|
id: "controls-bottom-left"
|
|
6261
|
-
},
|
|
6264
|
+
}, tr = {
|
|
6262
6265
|
class: "player-control",
|
|
6263
6266
|
id: "controls-bottom-center"
|
|
6264
|
-
},
|
|
6267
|
+
}, ar = {
|
|
6265
6268
|
class: "player-control",
|
|
6266
6269
|
id: "controls-bottom-right"
|
|
6267
|
-
},
|
|
6270
|
+
}, nr = /* @__PURE__ */ P({
|
|
6268
6271
|
__name: "VManualSlideShowPlayer",
|
|
6269
6272
|
props: {
|
|
6270
6273
|
isFullScreen: { type: Boolean }
|
|
6271
6274
|
},
|
|
6272
6275
|
emits: ["newSizeCallback"],
|
|
6273
6276
|
setup(s, { emit: n }) {
|
|
6274
|
-
return (e, a) => (m(), x("div",
|
|
6275
|
-
d("div",
|
|
6276
|
-
|
|
6277
|
-
d("div", Gs, [
|
|
6278
|
-
ae(e.$slots, "top-left", {}, void 0, !0)
|
|
6279
|
-
]),
|
|
6277
|
+
return (e, a) => (m(), x("div", Ns, [
|
|
6278
|
+
d("div", Gs, [
|
|
6279
|
+
te(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
6280
6280
|
d("div", Qs, [
|
|
6281
|
-
|
|
6281
|
+
te(e.$slots, "top-left", {}, void 0, !0)
|
|
6282
6282
|
]),
|
|
6283
6283
|
d("div", qs, [
|
|
6284
|
-
|
|
6284
|
+
te(e.$slots, "top-center", {}, void 0, !0)
|
|
6285
6285
|
]),
|
|
6286
6286
|
d("div", Zs, [
|
|
6287
|
-
|
|
6287
|
+
te(e.$slots, "top-right", {}, void 0, !0)
|
|
6288
6288
|
]),
|
|
6289
6289
|
d("div", Js, [
|
|
6290
|
-
|
|
6290
|
+
te(e.$slots, "center-left", {}, void 0, !0)
|
|
6291
6291
|
]),
|
|
6292
6292
|
d("div", Xs, [
|
|
6293
|
-
|
|
6293
|
+
te(e.$slots, "center-center", {}, void 0, !0)
|
|
6294
6294
|
]),
|
|
6295
6295
|
d("div", Ks, [
|
|
6296
|
-
|
|
6296
|
+
te(e.$slots, "center-right", {}, void 0, !0)
|
|
6297
6297
|
]),
|
|
6298
6298
|
d("div", er, [
|
|
6299
|
-
|
|
6299
|
+
te(e.$slots, "bottom-left", {}, void 0, !0)
|
|
6300
6300
|
]),
|
|
6301
6301
|
d("div", tr, [
|
|
6302
|
-
|
|
6302
|
+
te(e.$slots, "bottom-center", {}, void 0, !0)
|
|
6303
|
+
]),
|
|
6304
|
+
d("div", ar, [
|
|
6305
|
+
te(e.$slots, "bottom-right", {}, void 0, !0)
|
|
6303
6306
|
])
|
|
6304
6307
|
])
|
|
6305
6308
|
]));
|
|
6306
6309
|
}
|
|
6307
|
-
}),
|
|
6310
|
+
}), or = /* @__PURE__ */ K(nr, [["__scopeId", "data-v-5fdd1e05"]]), lr = { class: "virtual-tour-wrapper" }, sr = { class: "player-and-components-wrapper" }, rr = { class: "mss-image" }, ir = {
|
|
6308
6311
|
key: 1,
|
|
6309
6312
|
class: "btn-placeholder"
|
|
6310
|
-
},
|
|
6313
|
+
}, ur = /* @__PURE__ */ P({
|
|
6311
6314
|
__name: "VManualSlideShow",
|
|
6312
6315
|
props: {
|
|
6313
6316
|
images: {},
|
|
@@ -6319,12 +6322,12 @@ const Es = {
|
|
|
6319
6322
|
},
|
|
6320
6323
|
setup(s) {
|
|
6321
6324
|
const n = s;
|
|
6322
|
-
|
|
6323
|
-
|
|
6325
|
+
tt(
|
|
6326
|
+
Ve,
|
|
6324
6327
|
n.i18nConfig ? new Ee(n.i18nConfig) : new Ee()
|
|
6325
6328
|
);
|
|
6326
6329
|
const e = f(0), a = f(
|
|
6327
|
-
new
|
|
6330
|
+
new Bt(document, "player-wrapper")
|
|
6328
6331
|
), t = O(() => n.images.map(
|
|
6329
6332
|
(r, h) => ({
|
|
6330
6333
|
id: `image-${h}`,
|
|
@@ -6353,14 +6356,14 @@ const Es = {
|
|
|
6353
6356
|
}
|
|
6354
6357
|
return (r, h) => {
|
|
6355
6358
|
const S = E("v-img"), g = E("v-btn");
|
|
6356
|
-
return m(), x("div",
|
|
6357
|
-
d("div",
|
|
6359
|
+
return m(), x("div", lr, [
|
|
6360
|
+
d("div", sr, [
|
|
6358
6361
|
d("div", null, [
|
|
6359
|
-
w(
|
|
6362
|
+
w(or, {
|
|
6360
6363
|
"is-full-screen": a.value.isActive
|
|
6361
6364
|
}, {
|
|
6362
6365
|
"slideshow-image": C(() => [
|
|
6363
|
-
d("div",
|
|
6366
|
+
d("div", rr, [
|
|
6364
6367
|
w(S, {
|
|
6365
6368
|
src: o.value.thumbnailUrl
|
|
6366
6369
|
}, null, 8, ["src"])
|
|
@@ -6370,7 +6373,7 @@ const Es = {
|
|
|
6370
6373
|
"top-center": C(() => []),
|
|
6371
6374
|
"top-right": C(() => []),
|
|
6372
6375
|
"center-left": C(() => [
|
|
6373
|
-
w(
|
|
6376
|
+
w(Me, { name: "slide-x-transition" }, {
|
|
6374
6377
|
default: C(() => [
|
|
6375
6378
|
t.value.length > 1 ? (m(), V(g, {
|
|
6376
6379
|
key: 0,
|
|
@@ -6385,7 +6388,7 @@ const Es = {
|
|
|
6385
6388
|
]),
|
|
6386
6389
|
"center-center": C(() => []),
|
|
6387
6390
|
"center-right": C(() => [
|
|
6388
|
-
w(
|
|
6391
|
+
w(Me, { name: "slide-x-reverse-transition" }, {
|
|
6389
6392
|
default: C(() => [
|
|
6390
6393
|
t.value.length > 1 ? (m(), V(g, {
|
|
6391
6394
|
key: 0,
|
|
@@ -6399,19 +6402,19 @@ const Es = {
|
|
|
6399
6402
|
})
|
|
6400
6403
|
]),
|
|
6401
6404
|
"bottom-left": C(() => [
|
|
6402
|
-
r.showFullScreen ? (m(), V(
|
|
6405
|
+
r.showFullScreen ? (m(), V(Ot, {
|
|
6403
6406
|
key: 0,
|
|
6404
6407
|
"is-full-screen": a.value.isActive,
|
|
6405
6408
|
class: "btn-fullscreen",
|
|
6406
6409
|
onToggleFullscreen: i
|
|
6407
6410
|
}, null, 8, ["is-full-screen"])) : U("", !0),
|
|
6408
|
-
r.showShare ? (m(), x("div",
|
|
6409
|
-
w(
|
|
6411
|
+
r.showShare ? (m(), x("div", ir, [
|
|
6412
|
+
w(Et)
|
|
6410
6413
|
])) : U("", !0)
|
|
6411
6414
|
]),
|
|
6412
6415
|
"bottom-center": C(() => [
|
|
6413
6416
|
d("div", null, [
|
|
6414
|
-
a.value.isActive && t.value.length > 1 ? (m(), V(
|
|
6417
|
+
a.value.isActive && t.value.length > 1 ? (m(), V(st, {
|
|
6415
6418
|
key: 0,
|
|
6416
6419
|
class: ge([a.value.isActive ? "full-screen" : ""]),
|
|
6417
6420
|
thumbnails: t.value,
|
|
@@ -6425,7 +6428,7 @@ const Es = {
|
|
|
6425
6428
|
"bottom-right": C(() => []),
|
|
6426
6429
|
_: 1
|
|
6427
6430
|
}, 8, ["is-full-screen"]),
|
|
6428
|
-
t.value.length > 1 ? (m(), V(
|
|
6431
|
+
t.value.length > 1 ? (m(), V(st, {
|
|
6429
6432
|
key: 0,
|
|
6430
6433
|
thumbnails: t.value,
|
|
6431
6434
|
active: e.value,
|
|
@@ -6438,7 +6441,7 @@ const Es = {
|
|
|
6438
6441
|
]);
|
|
6439
6442
|
};
|
|
6440
6443
|
}
|
|
6441
|
-
}),
|
|
6444
|
+
}), cr = /* @__PURE__ */ K(ur, [["__scopeId", "data-v-040ac08f"]]), dr = ["src"], vr = /* @__PURE__ */ P({
|
|
6442
6445
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
6443
6446
|
props: {
|
|
6444
6447
|
timeSampleData: {},
|
|
@@ -6446,16 +6449,16 @@ const Es = {
|
|
|
6446
6449
|
currentTime: {}
|
|
6447
6450
|
},
|
|
6448
6451
|
setup(s) {
|
|
6449
|
-
const n = s, { timeSampleData: e, cdnFileResolver: a, currentTime: t } =
|
|
6452
|
+
const n = s, { timeSampleData: e, cdnFileResolver: a, currentTime: t } = Te(n), o = O(() => ie(a.value, e.value.filename));
|
|
6450
6453
|
return (i, l) => pe((m(), x("img", {
|
|
6451
6454
|
key: o.value,
|
|
6452
6455
|
src: o.value,
|
|
6453
6456
|
width: "100%"
|
|
6454
|
-
}, null, 8,
|
|
6457
|
+
}, null, 8, dr)), [
|
|
6455
6458
|
[fe, B(t) && B(e) === B(t)]
|
|
6456
6459
|
]);
|
|
6457
6460
|
}
|
|
6458
|
-
}),
|
|
6461
|
+
}), mr = /* @__PURE__ */ K(vr, [["__scopeId", "data-v-9630cdc0"]]), pr = /* @__PURE__ */ P({
|
|
6459
6462
|
__name: "VStructureChooserCameraDay",
|
|
6460
6463
|
props: {
|
|
6461
6464
|
dayData: {},
|
|
@@ -6464,15 +6467,15 @@ const Es = {
|
|
|
6464
6467
|
currentTime: {}
|
|
6465
6468
|
},
|
|
6466
6469
|
setup(s) {
|
|
6467
|
-
const n = s, { dayData: e, cdnFileResolver: a, currentTime: t } =
|
|
6468
|
-
return (o, i) => (m(!0), x(
|
|
6470
|
+
const n = s, { dayData: e, cdnFileResolver: a, currentTime: t } = Te(n);
|
|
6471
|
+
return (o, i) => (m(!0), x(ue, null, he(B(e).timeSamples, (l) => (m(), V(mr, {
|
|
6469
6472
|
key: l.filename,
|
|
6470
6473
|
"time-sample-data": l,
|
|
6471
6474
|
"cdn-file-resolver": B(a),
|
|
6472
6475
|
"current-time": B(t)
|
|
6473
6476
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
6474
6477
|
}
|
|
6475
|
-
}),
|
|
6478
|
+
}), fr = ["src"], hr = /* @__PURE__ */ P({
|
|
6476
6479
|
__name: "VStructureChooserCamera",
|
|
6477
6480
|
props: {
|
|
6478
6481
|
cameraData: {},
|
|
@@ -6482,11 +6485,11 @@ const Es = {
|
|
|
6482
6485
|
currentTime: {}
|
|
6483
6486
|
},
|
|
6484
6487
|
setup(s) {
|
|
6485
|
-
const n = s, { cameraData: e, cdnFileResolver: a, currentCamera: t, currentTime: o } =
|
|
6488
|
+
const n = s, { cameraData: e, cdnFileResolver: a, currentCamera: t, currentTime: o } = Te(n), i = O(() => ie(
|
|
6486
6489
|
a.value,
|
|
6487
6490
|
t.value.defaultFilename
|
|
6488
6491
|
));
|
|
6489
|
-
return (l, v) => B(e).sunsimDayOfYear ? (m(!0), x(
|
|
6492
|
+
return (l, v) => B(e).sunsimDayOfYear ? (m(!0), x(ue, { key: 0 }, he(B(e).sunsimDayOfYear, (u) => (m(), V(pr, {
|
|
6490
6493
|
key: u.dayOfYear,
|
|
6491
6494
|
"day-data": u,
|
|
6492
6495
|
"cdn-file-resolver": B(a),
|
|
@@ -6496,11 +6499,11 @@ const Es = {
|
|
|
6496
6499
|
key: i.value,
|
|
6497
6500
|
src: i.value,
|
|
6498
6501
|
width: "100%"
|
|
6499
|
-
}, null, 8,
|
|
6502
|
+
}, null, 8, fr)), [
|
|
6500
6503
|
[fe, B(t) === B(e)]
|
|
6501
6504
|
]);
|
|
6502
6505
|
}
|
|
6503
|
-
}),
|
|
6506
|
+
}), gr = ["src"], yr = /* @__PURE__ */ P({
|
|
6504
6507
|
__name: "VStructureChooserTransition",
|
|
6505
6508
|
props: {
|
|
6506
6509
|
transitionData: {},
|
|
@@ -6508,16 +6511,16 @@ const Es = {
|
|
|
6508
6511
|
currentTransition: {}
|
|
6509
6512
|
},
|
|
6510
6513
|
setup(s) {
|
|
6511
|
-
const n = s, { transitionData: e, cdnFileResolver: a, currentTransition: t } =
|
|
6514
|
+
const n = s, { transitionData: e, cdnFileResolver: a, currentTransition: t } = Te(n), o = O(() => ie(a.value, e.value.filename));
|
|
6512
6515
|
return (i, l) => pe((m(), x("img", {
|
|
6513
6516
|
key: o.value,
|
|
6514
6517
|
src: o.value,
|
|
6515
6518
|
class: "position-absolute top-left w-100 h-100"
|
|
6516
|
-
}, null, 8,
|
|
6519
|
+
}, null, 8, gr)), [
|
|
6517
6520
|
[fe, B(e) === B(t)]
|
|
6518
6521
|
]);
|
|
6519
6522
|
}
|
|
6520
|
-
}),
|
|
6523
|
+
}), _r = /* @__PURE__ */ K(yr, [["__scopeId", "data-v-a7a18237"]]), br = /* @__PURE__ */ P({
|
|
6521
6524
|
__name: "VStructureChooserUiCamera",
|
|
6522
6525
|
props: {
|
|
6523
6526
|
stillCameras: {},
|
|
@@ -6526,7 +6529,7 @@ const Es = {
|
|
|
6526
6529
|
},
|
|
6527
6530
|
emits: ["onCameraChange"],
|
|
6528
6531
|
setup(s, { emit: n }) {
|
|
6529
|
-
const e = s, { stillCameras: a, currentCamera: t, disabled: o } =
|
|
6532
|
+
const e = s, { stillCameras: a, currentCamera: t, disabled: o } = Te(e), i = n, l = f(t.value.cameraName);
|
|
6530
6533
|
return H(t, () => {
|
|
6531
6534
|
l.value = t.value.cameraName;
|
|
6532
6535
|
}), H(l, () => {
|
|
@@ -6551,14 +6554,14 @@ const Es = {
|
|
|
6551
6554
|
};
|
|
6552
6555
|
}
|
|
6553
6556
|
});
|
|
6554
|
-
function
|
|
6557
|
+
function gt(s) {
|
|
6555
6558
|
const n = /* @__PURE__ */ new Date(0);
|
|
6556
6559
|
return n.setUTCDate(s), n.toLocaleString("en-no", {
|
|
6557
6560
|
month: "short",
|
|
6558
6561
|
day: "numeric"
|
|
6559
6562
|
});
|
|
6560
6563
|
}
|
|
6561
|
-
const
|
|
6564
|
+
const Cr = /* @__PURE__ */ P({
|
|
6562
6565
|
__name: "VStructureChooserUiDay",
|
|
6563
6566
|
props: {
|
|
6564
6567
|
currentCamera: {},
|
|
@@ -6567,7 +6570,7 @@ const br = /* @__PURE__ */ P({
|
|
|
6567
6570
|
},
|
|
6568
6571
|
emits: ["onDayChange"],
|
|
6569
6572
|
setup(s, { emit: n }) {
|
|
6570
|
-
const e = s, { currentCamera: a, currentDay: t, disabled: o } =
|
|
6573
|
+
const e = s, { currentCamera: a, currentDay: t, disabled: o } = Te(e), i = n, l = f(t.value.dayOfYear);
|
|
6571
6574
|
return H(t, () => {
|
|
6572
6575
|
l.value = t.value.dayOfYear;
|
|
6573
6576
|
}), H(l, () => {
|
|
@@ -6592,26 +6595,26 @@ const br = /* @__PURE__ */ P({
|
|
|
6592
6595
|
"prepend-inner-icon": "mdi-calendar"
|
|
6593
6596
|
}, {
|
|
6594
6597
|
item: C(({ props: S }) => [
|
|
6595
|
-
w(r,
|
|
6596
|
-
title: B(
|
|
6598
|
+
w(r, Ie(S, {
|
|
6599
|
+
title: B(gt)(S.title)
|
|
6597
6600
|
}), null, 16, ["title"])
|
|
6598
6601
|
]),
|
|
6599
6602
|
selection: C(({ item: S }) => [
|
|
6600
|
-
X(W(B(
|
|
6603
|
+
X(W(B(gt)(S.title)), 1)
|
|
6601
6604
|
]),
|
|
6602
6605
|
_: 1
|
|
6603
6606
|
}, 8, ["modelValue", "items", "disabled"]);
|
|
6604
6607
|
};
|
|
6605
6608
|
}
|
|
6606
6609
|
});
|
|
6607
|
-
function
|
|
6610
|
+
function et(s) {
|
|
6608
6611
|
const n = s * 60, e = Math.floor(n / 60), a = n % 60;
|
|
6609
6612
|
return `${e.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
6610
6613
|
}
|
|
6611
|
-
const
|
|
6614
|
+
const wr = {
|
|
6612
6615
|
key: 0,
|
|
6613
6616
|
class: "py-2"
|
|
6614
|
-
},
|
|
6617
|
+
}, kr = { class: "small" }, Ir = { class: "small" }, Sr = /* @__PURE__ */ P({
|
|
6615
6618
|
__name: "VStructureChooserUiTimeSample",
|
|
6616
6619
|
props: {
|
|
6617
6620
|
currentDay: {},
|
|
@@ -6620,7 +6623,7 @@ const Cr = {
|
|
|
6620
6623
|
},
|
|
6621
6624
|
emits: ["onTimeChange"],
|
|
6622
6625
|
setup(s, { emit: n }) {
|
|
6623
|
-
const e = s, { currentDay: a, currentTime: t, disabled: o } =
|
|
6626
|
+
const e = s, { currentDay: a, currentTime: t, disabled: o } = Te(e), i = n, l = f(t.value.timeInHours), v = f();
|
|
6624
6627
|
H(t, () => {
|
|
6625
6628
|
l.value = t.value.timeInHours;
|
|
6626
6629
|
}), H(l, () => {
|
|
@@ -6645,7 +6648,7 @@ const Cr = {
|
|
|
6645
6648
|
const S = E("v-icon"), g = E("v-btn"), c = E("v-slider"), p = E("v-field");
|
|
6646
6649
|
return m(), V(p, { variant: "solo" }, {
|
|
6647
6650
|
default: C(() => [
|
|
6648
|
-
B(a).startTime === B(a).endTime ? (m(), x("div",
|
|
6651
|
+
B(a).startTime === B(a).endTime ? (m(), x("div", wr, [
|
|
6649
6652
|
w(S, {
|
|
6650
6653
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
6651
6654
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -6655,7 +6658,7 @@ const Cr = {
|
|
|
6655
6658
|
]),
|
|
6656
6659
|
_: 1
|
|
6657
6660
|
}),
|
|
6658
|
-
X(" " + W(B(
|
|
6661
|
+
X(" " + W(B(et)(l.value)), 1)
|
|
6659
6662
|
])) : (m(), V(c, {
|
|
6660
6663
|
key: 1,
|
|
6661
6664
|
class: "pa-1",
|
|
@@ -6677,7 +6680,7 @@ const Cr = {
|
|
|
6677
6680
|
]),
|
|
6678
6681
|
_: 1
|
|
6679
6682
|
}),
|
|
6680
|
-
X(" " + W(B(
|
|
6683
|
+
X(" " + W(B(et)(l.value)) + " ", 1),
|
|
6681
6684
|
w(g, {
|
|
6682
6685
|
icon: v.value ? "mdi-stop" : "mdi-play",
|
|
6683
6686
|
class: "mx-2",
|
|
@@ -6685,10 +6688,10 @@ const Cr = {
|
|
|
6685
6688
|
variant: "flat",
|
|
6686
6689
|
onClick: u
|
|
6687
6690
|
}, null, 8, ["icon"]),
|
|
6688
|
-
d("span",
|
|
6691
|
+
d("span", kr, W(B(et)(B(a).startTime)), 1)
|
|
6689
6692
|
]),
|
|
6690
6693
|
append: C(() => [
|
|
6691
|
-
d("span",
|
|
6694
|
+
d("span", Ir, W(B(et)(B(a).endTime)), 1)
|
|
6692
6695
|
]),
|
|
6693
6696
|
_: 1
|
|
6694
6697
|
}, 8, ["modelValue", "min", "max", "step", "disabled"]))
|
|
@@ -6697,7 +6700,7 @@ const Cr = {
|
|
|
6697
6700
|
});
|
|
6698
6701
|
};
|
|
6699
6702
|
}
|
|
6700
|
-
}),
|
|
6703
|
+
}), Dr = /* @__PURE__ */ K(Sr, [["__scopeId", "data-v-690caa02"]]), Dt = /* @__PURE__ */ P({
|
|
6701
6704
|
__name: "VStructureChooserUiNameChip",
|
|
6702
6705
|
props: {
|
|
6703
6706
|
selectedId: {},
|
|
@@ -6705,7 +6708,7 @@ const Cr = {
|
|
|
6705
6708
|
},
|
|
6706
6709
|
emits: ["onDisplayClick"],
|
|
6707
6710
|
setup(s, { emit: n }) {
|
|
6708
|
-
const e = s, { selectedId: a, renderDisplay: t } =
|
|
6711
|
+
const e = s, { selectedId: a, renderDisplay: t } = Te(e), o = n;
|
|
6709
6712
|
return (i, l) => {
|
|
6710
6713
|
const v = E("v-chip");
|
|
6711
6714
|
return B(t) && B(a) ? (m(), V(v, {
|
|
@@ -6722,7 +6725,7 @@ const Cr = {
|
|
|
6722
6725
|
})) : U("", !0);
|
|
6723
6726
|
};
|
|
6724
6727
|
}
|
|
6725
|
-
}),
|
|
6728
|
+
}), Ar = /* @__PURE__ */ P({
|
|
6726
6729
|
__name: "VStructureChooserUiRotator",
|
|
6727
6730
|
props: {
|
|
6728
6731
|
structureChooserData: {},
|
|
@@ -6730,7 +6733,7 @@ const Cr = {
|
|
|
6730
6733
|
},
|
|
6731
6734
|
emits: ["onRotateStart", "onRotateFinish", "onSceneChange"],
|
|
6732
6735
|
setup(s, { expose: n, emit: e }) {
|
|
6733
|
-
const a = s, { structureChooserData: t, currentScene: o } =
|
|
6736
|
+
const a = s, { structureChooserData: t, currentScene: o } = Te(a), i = e;
|
|
6734
6737
|
n({
|
|
6735
6738
|
rotateShortestRoute: g
|
|
6736
6739
|
});
|
|
@@ -6783,7 +6786,7 @@ const Cr = {
|
|
|
6783
6786
|
}
|
|
6784
6787
|
return (p, _) => {
|
|
6785
6788
|
const b = E("v-btn");
|
|
6786
|
-
return m(), x(
|
|
6789
|
+
return m(), x(ue, null, [
|
|
6787
6790
|
w(b, {
|
|
6788
6791
|
class: "mx-2",
|
|
6789
6792
|
icon: "mdi-restore",
|
|
@@ -6791,7 +6794,7 @@ const Cr = {
|
|
|
6791
6794
|
disabled: !u.value,
|
|
6792
6795
|
onClick: S
|
|
6793
6796
|
}, null, 8, ["disabled"]),
|
|
6794
|
-
|
|
6797
|
+
te(p.$slots, "default"),
|
|
6795
6798
|
w(b, {
|
|
6796
6799
|
class: "mx-2",
|
|
6797
6800
|
icon: "mdi-reload",
|
|
@@ -6802,7 +6805,7 @@ const Cr = {
|
|
|
6802
6805
|
], 64);
|
|
6803
6806
|
};
|
|
6804
6807
|
}
|
|
6805
|
-
}),
|
|
6808
|
+
}), xr = ["innerHTML"], Fr = /* @__PURE__ */ P({
|
|
6806
6809
|
__name: "VStructureChooserOverlay",
|
|
6807
6810
|
props: {
|
|
6808
6811
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -6812,7 +6815,7 @@ const Cr = {
|
|
|
6812
6815
|
},
|
|
6813
6816
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer"],
|
|
6814
6817
|
setup(s, { emit: n }) {
|
|
6815
|
-
const e = s, { cdnFileResolver: a, colorCallback: t, currentCamera: o, selectedId: i } =
|
|
6818
|
+
const e = s, { cdnFileResolver: a, colorCallback: t, currentCamera: o, selectedId: i } = Te(e), l = n, v = f(), u = f(), r = rt({});
|
|
6816
6819
|
Ce(() => {
|
|
6817
6820
|
for (const g in r) {
|
|
6818
6821
|
const { element: c, state: p } = r[g], { r: _, g: b, b: y, a: R, s: T } = t.value(g, p) || {
|
|
@@ -6829,7 +6832,7 @@ const Cr = {
|
|
|
6829
6832
|
r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected");
|
|
6830
6833
|
}), Ce(async () => {
|
|
6831
6834
|
v.value = await be.loadText(
|
|
6832
|
-
|
|
6835
|
+
ie(a.value, o.value.overlayFilename)
|
|
6833
6836
|
), S();
|
|
6834
6837
|
}), H(
|
|
6835
6838
|
() => u.value,
|
|
@@ -6884,7 +6887,7 @@ const Cr = {
|
|
|
6884
6887
|
}
|
|
6885
6888
|
});
|
|
6886
6889
|
}
|
|
6887
|
-
return (g, c) => (m(), V(
|
|
6890
|
+
return (g, c) => (m(), V(Me, null, {
|
|
6888
6891
|
default: C(() => [
|
|
6889
6892
|
(m(), x("div", {
|
|
6890
6893
|
ref_key: "svgContainer",
|
|
@@ -6893,13 +6896,13 @@ const Cr = {
|
|
|
6893
6896
|
class: "w-100 h-100 position-absolute top-left",
|
|
6894
6897
|
style: { "z-index": "5" },
|
|
6895
6898
|
innerHTML: v.value
|
|
6896
|
-
}, null, 8,
|
|
6899
|
+
}, null, 8, xr))
|
|
6897
6900
|
]),
|
|
6898
6901
|
_: 1
|
|
6899
6902
|
}));
|
|
6900
6903
|
}
|
|
6901
|
-
}),
|
|
6902
|
-
function
|
|
6904
|
+
}), Lr = /* @__PURE__ */ K(Fr, [["__scopeId", "data-v-354134d9"]]);
|
|
6905
|
+
function Mr(s) {
|
|
6903
6906
|
if (!s)
|
|
6904
6907
|
return !1;
|
|
6905
6908
|
const n = [
|
|
@@ -6917,16 +6920,16 @@ function Lr(s) {
|
|
|
6917
6920
|
return !1;
|
|
6918
6921
|
return !0;
|
|
6919
6922
|
}
|
|
6920
|
-
function
|
|
6923
|
+
function Tr(s) {
|
|
6921
6924
|
return !("filename" in s) && "defaultFilename" in s;
|
|
6922
6925
|
}
|
|
6923
|
-
function
|
|
6926
|
+
function yt(s) {
|
|
6924
6927
|
return "filename" in s;
|
|
6925
6928
|
}
|
|
6926
|
-
function
|
|
6929
|
+
function Vr(s) {
|
|
6927
6930
|
return s ? "version" in s : !1;
|
|
6928
6931
|
}
|
|
6929
|
-
function
|
|
6932
|
+
function Er(s) {
|
|
6930
6933
|
if (!s)
|
|
6931
6934
|
return !1;
|
|
6932
6935
|
const n = [
|
|
@@ -6942,7 +6945,7 @@ function Vr(s) {
|
|
|
6942
6945
|
return !1;
|
|
6943
6946
|
return !0;
|
|
6944
6947
|
}
|
|
6945
|
-
function
|
|
6948
|
+
function Or(s) {
|
|
6946
6949
|
if (!s)
|
|
6947
6950
|
return !1;
|
|
6948
6951
|
const n = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -6951,14 +6954,14 @@ function Er(s) {
|
|
|
6951
6954
|
return !1;
|
|
6952
6955
|
return !0;
|
|
6953
6956
|
}
|
|
6954
|
-
function
|
|
6957
|
+
function je(s) {
|
|
6955
6958
|
return s.startsWith("/") ? s : `/${s}`;
|
|
6956
6959
|
}
|
|
6957
|
-
function
|
|
6960
|
+
function Br(s) {
|
|
6958
6961
|
var n, e, a, t;
|
|
6959
|
-
if (
|
|
6962
|
+
if (Mr(s))
|
|
6960
6963
|
return s;
|
|
6961
|
-
if (
|
|
6964
|
+
if (Or(s)) {
|
|
6962
6965
|
if (!s.buildings)
|
|
6963
6966
|
throw new Error(
|
|
6964
6967
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -7000,11 +7003,11 @@ function Or(s) {
|
|
|
7000
7003
|
const i = { ...o };
|
|
7001
7004
|
return i.sunsimDayOfYear && i.sunsimDayOfYear.forEach((v) => {
|
|
7002
7005
|
v.timeSamples && v.timeSamples.forEach((u) => {
|
|
7003
|
-
u.filename =
|
|
7006
|
+
u.filename = je(u.filename);
|
|
7004
7007
|
});
|
|
7005
7008
|
}), {
|
|
7006
7009
|
...i,
|
|
7007
|
-
defaultFilename: i.sunsimDayOfYear[0] ?
|
|
7010
|
+
defaultFilename: i.sunsimDayOfYear[0] ? je(
|
|
7008
7011
|
((l = i.sunsimDayOfYear[0].timeSamples.find(
|
|
7009
7012
|
(v) => v.timeInHours === i.sunsimDayOfYear[0].defaultHour
|
|
7010
7013
|
)) == null ? void 0 : l.filename) || i.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7012,7 +7015,7 @@ function Or(s) {
|
|
|
7012
7015
|
};
|
|
7013
7016
|
})
|
|
7014
7017
|
};
|
|
7015
|
-
} else if (
|
|
7018
|
+
} else if (Er(s)) {
|
|
7016
7019
|
if (!s.days && !s.timeSamples)
|
|
7017
7020
|
throw new Error(
|
|
7018
7021
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -7038,12 +7041,12 @@ function Or(s) {
|
|
|
7038
7041
|
{
|
|
7039
7042
|
cameraName: "",
|
|
7040
7043
|
cameraPosition: s.cameraPosition,
|
|
7041
|
-
cameraRotation:
|
|
7044
|
+
cameraRotation: At(
|
|
7042
7045
|
s.cameraRotation.normalized || s.cameraRotation
|
|
7043
7046
|
),
|
|
7044
7047
|
cameraFov: s.cameraFov,
|
|
7045
7048
|
overlayFilename: "/BuildingChooserV5.svg",
|
|
7046
|
-
defaultFilename:
|
|
7049
|
+
defaultFilename: je((e = (n = o[0]) == null ? void 0 : n.timeSamples[0]) == null ? void 0 : e.filename),
|
|
7047
7050
|
sunsimDayOfYear: o.map((i) => ({
|
|
7048
7051
|
dayOfYear: i.dayOfYear,
|
|
7049
7052
|
startTime: 0,
|
|
@@ -7052,14 +7055,14 @@ function Or(s) {
|
|
|
7052
7055
|
defaultHour: 14,
|
|
7053
7056
|
timeSamples: i.timeSamples.map(({ timeInHours: l, filename: v }) => ({
|
|
7054
7057
|
timeInHours: l,
|
|
7055
|
-
filename:
|
|
7058
|
+
filename: je(v)
|
|
7056
7059
|
}))
|
|
7057
7060
|
}))
|
|
7058
7061
|
}
|
|
7059
7062
|
]
|
|
7060
7063
|
};
|
|
7061
7064
|
} else {
|
|
7062
|
-
if (
|
|
7065
|
+
if (Pa(s))
|
|
7063
7066
|
return {
|
|
7064
7067
|
version: "5.0",
|
|
7065
7068
|
latitude: s.latitude,
|
|
@@ -7083,7 +7086,7 @@ function Or(s) {
|
|
|
7083
7086
|
loopable: s.loopable,
|
|
7084
7087
|
cameras: s.cameras.map((o) => {
|
|
7085
7088
|
var i;
|
|
7086
|
-
if (
|
|
7089
|
+
if (Ct(o)) {
|
|
7087
7090
|
if (o.sunsimDayOfYear) {
|
|
7088
7091
|
if (o.sunsimDayOfYear.length === 0)
|
|
7089
7092
|
throw new Error(
|
|
@@ -7105,11 +7108,11 @@ function Or(s) {
|
|
|
7105
7108
|
const l = { ...o };
|
|
7106
7109
|
return l.sunsimDayOfYear && l.sunsimDayOfYear.forEach((v) => {
|
|
7107
7110
|
v.timeSamples && v.timeSamples.forEach((u) => {
|
|
7108
|
-
u.filename =
|
|
7111
|
+
u.filename = je(u.filename);
|
|
7109
7112
|
});
|
|
7110
7113
|
}), {
|
|
7111
7114
|
...l,
|
|
7112
|
-
defaultFilename: l.sunsimDayOfYear[0] ?
|
|
7115
|
+
defaultFilename: l.sunsimDayOfYear[0] ? je(
|
|
7113
7116
|
((i = l.sunsimDayOfYear[0].timeSamples.find(
|
|
7114
7117
|
(v) => v.timeInHours === l.sunsimDayOfYear[0].defaultHour
|
|
7115
7118
|
)) == null ? void 0 : i.filename) || l.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7119,7 +7122,7 @@ function Or(s) {
|
|
|
7119
7122
|
return o;
|
|
7120
7123
|
})
|
|
7121
7124
|
};
|
|
7122
|
-
if (
|
|
7125
|
+
if (Vr(s)) {
|
|
7123
7126
|
if (!s.sceneData)
|
|
7124
7127
|
throw new Error(
|
|
7125
7128
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -7136,7 +7139,7 @@ function Or(s) {
|
|
|
7136
7139
|
u = o[v].filename, r = {
|
|
7137
7140
|
cameraName: `Camera ${l + 1}`,
|
|
7138
7141
|
cameraPosition: void 0,
|
|
7139
|
-
cameraRotation: s.sceneCameras && (a = s.sceneCameras.find((h) => h.scene === l)) != null && a.cameraRotation ?
|
|
7142
|
+
cameraRotation: s.sceneCameras && (a = s.sceneCameras.find((h) => h.scene === l)) != null && a.cameraRotation ? At(
|
|
7140
7143
|
(t = s.sceneCameras.find((h) => h.scene === l)) == null ? void 0 : t.cameraRotation
|
|
7141
7144
|
) : void 0,
|
|
7142
7145
|
cameraFov: 0,
|
|
@@ -7158,7 +7161,7 @@ function Or(s) {
|
|
|
7158
7161
|
// ],
|
|
7159
7162
|
// },
|
|
7160
7163
|
// ],
|
|
7161
|
-
},
|
|
7164
|
+
}, yt(o[v]) && (o[v] = r);
|
|
7162
7165
|
}
|
|
7163
7166
|
return {
|
|
7164
7167
|
version: "5.0",
|
|
@@ -7183,7 +7186,7 @@ function Or(s) {
|
|
|
7183
7186
|
throw new Error("cannot convert data, no conversion source type found");
|
|
7184
7187
|
}
|
|
7185
7188
|
}
|
|
7186
|
-
function
|
|
7189
|
+
function At({ x: s, y: n, z: e }) {
|
|
7187
7190
|
return {
|
|
7188
7191
|
x: s,
|
|
7189
7192
|
y: n,
|
|
@@ -7191,16 +7194,16 @@ function Dt({ x: s, y: n, z: e }) {
|
|
|
7191
7194
|
w: 0
|
|
7192
7195
|
};
|
|
7193
7196
|
}
|
|
7194
|
-
const
|
|
7197
|
+
const Rr = {
|
|
7195
7198
|
class: "actions-bar compact top-left d-flex w-100 justify-center align-center",
|
|
7196
7199
|
style: { "z-index": "7" }
|
|
7197
|
-
},
|
|
7200
|
+
}, $r = {
|
|
7198
7201
|
class: "hover-bar bottom-right d-flex w-100 justify-center align-center pa-2",
|
|
7199
7202
|
style: { "z-index": "7" }
|
|
7200
|
-
},
|
|
7203
|
+
}, Ur = {
|
|
7201
7204
|
class: "position-absolute bottom-right-compact pa-2",
|
|
7202
7205
|
style: { "z-index": "7", width: "56px", height: "56px" }
|
|
7203
|
-
},
|
|
7206
|
+
}, Hr = ["innerHTML"], Yr = { style: { "z-index": "7" } }, Pr = /* @__PURE__ */ P({
|
|
7204
7207
|
__name: "VStructureChooser",
|
|
7205
7208
|
props: {
|
|
7206
7209
|
structureChooserData: {},
|
|
@@ -7229,7 +7232,7 @@ const Br = {
|
|
|
7229
7232
|
defaultTime: r,
|
|
7230
7233
|
renderDisplay: h,
|
|
7231
7234
|
mobileBreakpoint: S
|
|
7232
|
-
} =
|
|
7235
|
+
} = 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);
|
|
7233
7236
|
ye(() => {
|
|
7234
7237
|
T.value = !0;
|
|
7235
7238
|
});
|
|
@@ -7238,7 +7241,7 @@ const Br = {
|
|
|
7238
7241
|
a,
|
|
7239
7242
|
(Q) => {
|
|
7240
7243
|
try {
|
|
7241
|
-
L.value =
|
|
7244
|
+
L.value = Br(Q);
|
|
7242
7245
|
} catch (le) {
|
|
7243
7246
|
g("onError", le);
|
|
7244
7247
|
}
|
|
@@ -7252,14 +7255,14 @@ const Br = {
|
|
|
7252
7255
|
() => A.value,
|
|
7253
7256
|
() => {
|
|
7254
7257
|
A.value && new ResizeObserver(([le]) => {
|
|
7255
|
-
|
|
7258
|
+
q.value = le.contentRect.width < S.value;
|
|
7256
7259
|
}).observe(A.value);
|
|
7257
7260
|
}
|
|
7258
7261
|
);
|
|
7259
7262
|
const $ = O(
|
|
7260
|
-
() => L.value ? L.value.cameras.filter(
|
|
7263
|
+
() => L.value ? L.value.cameras.filter(Tr) : []
|
|
7261
7264
|
), ee = O(
|
|
7262
|
-
() => L.value ? L.value.cameras.filter(
|
|
7265
|
+
() => L.value ? L.value.cameras.filter(yt) : []
|
|
7263
7266
|
);
|
|
7264
7267
|
H(
|
|
7265
7268
|
[L, t, v],
|
|
@@ -7290,98 +7293,98 @@ const Br = {
|
|
|
7290
7293
|
},
|
|
7291
7294
|
{ immediate: !0 }
|
|
7292
7295
|
);
|
|
7293
|
-
function
|
|
7296
|
+
function ae(Q) {
|
|
7294
7297
|
c.value !== Q && I.value.rotateShortestRoute(
|
|
7295
7298
|
L.value.cameras.findIndex((le) => le === Q)
|
|
7296
7299
|
);
|
|
7297
7300
|
}
|
|
7298
|
-
function
|
|
7299
|
-
y.value = Q,
|
|
7300
|
-
|
|
7301
|
+
function de(Q) {
|
|
7302
|
+
y.value = Q, yt(L.value.cameras[y.value]) ? b.value = L.value.cameras[y.value] : (we(() => {
|
|
7303
|
+
ce(
|
|
7301
7304
|
L.value.cameras[y.value]
|
|
7302
7305
|
);
|
|
7303
7306
|
}), b.value = null);
|
|
7304
7307
|
}
|
|
7305
|
-
function
|
|
7308
|
+
function ce(Q) {
|
|
7306
7309
|
const le = p.value;
|
|
7307
7310
|
c.value = Q, y.value = L.value.cameras.findIndex(
|
|
7308
|
-
(
|
|
7311
|
+
(re) => re === c.value
|
|
7309
7312
|
), we(() => {
|
|
7310
|
-
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 &&
|
|
7313
|
+
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && _e(
|
|
7311
7314
|
c.value.sunsimDayOfYear.find(
|
|
7312
|
-
(
|
|
7315
|
+
(re) => re.dayOfYear === le.dayOfYear
|
|
7313
7316
|
) || c.value.sunsimDayOfYear[0]
|
|
7314
7317
|
);
|
|
7315
7318
|
});
|
|
7316
7319
|
}
|
|
7317
|
-
function
|
|
7320
|
+
function _e(Q) {
|
|
7318
7321
|
const le = _.value;
|
|
7319
7322
|
p.value = Q, we(() => {
|
|
7320
|
-
|
|
7323
|
+
De(
|
|
7321
7324
|
p.value.timeSamples.find(
|
|
7322
|
-
(
|
|
7325
|
+
(re) => re.timeInHours === le.timeInHours
|
|
7323
7326
|
) || p.value.timeSamples.find(
|
|
7324
|
-
(
|
|
7327
|
+
(re) => re.timeInHours === p.value.defaultHour
|
|
7325
7328
|
) || p.value.timeSamples[0]
|
|
7326
7329
|
);
|
|
7327
7330
|
});
|
|
7328
7331
|
}
|
|
7329
|
-
function
|
|
7332
|
+
function De(Q) {
|
|
7330
7333
|
_.value = Q;
|
|
7331
7334
|
}
|
|
7332
7335
|
function Se(Q) {
|
|
7333
7336
|
g("onClick", Q, () => {
|
|
7334
7337
|
const le = L.value.angleData.find(
|
|
7335
|
-
(
|
|
7338
|
+
(re) => re.id === Q
|
|
7336
7339
|
);
|
|
7337
7340
|
le && I.value.rotateShortestRoute(le.angle);
|
|
7338
7341
|
});
|
|
7339
7342
|
}
|
|
7340
|
-
function
|
|
7343
|
+
function Ae(Q) {
|
|
7341
7344
|
g("onHoverOver", Q), R.value = Q;
|
|
7342
7345
|
}
|
|
7343
|
-
function
|
|
7346
|
+
function xe(Q) {
|
|
7344
7347
|
g("onHoverOut", Q), R.value = void 0;
|
|
7345
7348
|
}
|
|
7346
7349
|
function Oe(Q) {
|
|
7347
|
-
const { layerX: le, layerY:
|
|
7348
|
-
let
|
|
7349
|
-
for (;
|
|
7350
|
-
if (
|
|
7350
|
+
const { layerX: le, layerY: re } = Q;
|
|
7351
|
+
let Fe = Q.target, N = !1;
|
|
7352
|
+
for (; Fe; )
|
|
7353
|
+
if (Fe === G.value) {
|
|
7351
7354
|
N = !0;
|
|
7352
7355
|
break;
|
|
7353
7356
|
} else
|
|
7354
|
-
|
|
7357
|
+
Fe = Fe.parentElement;
|
|
7355
7358
|
if (N) {
|
|
7356
|
-
const
|
|
7359
|
+
const Z = Q.currentTarget;
|
|
7357
7360
|
M.value = {
|
|
7358
7361
|
x: le,
|
|
7359
|
-
y:
|
|
7360
|
-
width:
|
|
7361
|
-
height:
|
|
7362
|
+
y: re,
|
|
7363
|
+
width: Z.clientWidth,
|
|
7364
|
+
height: Z.clientHeight
|
|
7362
7365
|
};
|
|
7363
7366
|
} else
|
|
7364
7367
|
M.value = void 0;
|
|
7365
7368
|
g("onMouseMove", Q, M.value);
|
|
7366
7369
|
}
|
|
7367
7370
|
return (Q, le) => {
|
|
7368
|
-
const
|
|
7369
|
-
return m(), x(
|
|
7370
|
-
w(
|
|
7371
|
+
const re = E("v-text-field"), Fe = E("v-skeleton-loader");
|
|
7372
|
+
return m(), x(ue, null, [
|
|
7373
|
+
w(Fe, {
|
|
7371
7374
|
type: "image",
|
|
7372
7375
|
class: "w-100 h-100 position-relative",
|
|
7373
7376
|
loading: !T.value || !L.value
|
|
7374
7377
|
}, {
|
|
7375
7378
|
default: C(() => [
|
|
7376
|
-
w(
|
|
7379
|
+
w(Me, { class: "w-100 h-100" }, {
|
|
7377
7380
|
default: C(() => [
|
|
7378
7381
|
d("div", {
|
|
7379
7382
|
ref_key: "container",
|
|
7380
7383
|
ref: A,
|
|
7381
|
-
class: ge({ mobile:
|
|
7384
|
+
class: ge({ mobile: q.value }),
|
|
7382
7385
|
onMousemove: Oe
|
|
7383
7386
|
}, [
|
|
7384
|
-
d("div",
|
|
7387
|
+
d("div", Rr, [
|
|
7385
7388
|
z.value ? (m(), x("div", {
|
|
7386
7389
|
key: 0,
|
|
7387
7390
|
class: ge({
|
|
@@ -7392,13 +7395,13 @@ const Br = {
|
|
|
7392
7395
|
"mobile-double": oe.value
|
|
7393
7396
|
})
|
|
7394
7397
|
}, [
|
|
7395
|
-
$.value.length > 1 ? (m(), V(
|
|
7398
|
+
$.value.length > 1 ? (m(), V(br, {
|
|
7396
7399
|
key: 0,
|
|
7397
7400
|
"still-cameras": $.value,
|
|
7398
7401
|
"current-camera": c.value,
|
|
7399
7402
|
disabled: Y.value,
|
|
7400
|
-
onOnCameraChange:
|
|
7401
|
-
}, null, 8, ["still-cameras", "current-camera", "disabled"])) : $.value.length === 1 ? (m(), V(
|
|
7403
|
+
onOnCameraChange: ae
|
|
7404
|
+
}, null, 8, ["still-cameras", "current-camera", "disabled"])) : $.value.length === 1 ? (m(), V(re, {
|
|
7402
7405
|
key: 1,
|
|
7403
7406
|
readonly: "",
|
|
7404
7407
|
value: $.value[0].cameraName,
|
|
@@ -7418,16 +7421,16 @@ const Br = {
|
|
|
7418
7421
|
"mobile-double": z.value
|
|
7419
7422
|
})
|
|
7420
7423
|
}, [
|
|
7421
|
-
c.value.sunsimDayOfYear.length > 1 ? (m(), V(
|
|
7424
|
+
c.value.sunsimDayOfYear.length > 1 ? (m(), V(Cr, {
|
|
7422
7425
|
key: 0,
|
|
7423
7426
|
"current-camera": c.value,
|
|
7424
7427
|
"current-day": p.value,
|
|
7425
7428
|
disabled: Y.value,
|
|
7426
|
-
onOnDayChange:
|
|
7427
|
-
}, null, 8, ["current-camera", "current-day", "disabled"])) : c.value.sunsimDayOfYear.length === 1 ? (m(), V(
|
|
7429
|
+
onOnDayChange: _e
|
|
7430
|
+
}, null, 8, ["current-camera", "current-day", "disabled"])) : c.value.sunsimDayOfYear.length === 1 ? (m(), V(re, {
|
|
7428
7431
|
key: 1,
|
|
7429
7432
|
readonly: "",
|
|
7430
|
-
value: B(
|
|
7433
|
+
value: B(gt)(c.value.sunsimDayOfYear[0].dayOfYear),
|
|
7431
7434
|
variant: "solo",
|
|
7432
7435
|
density: "compact",
|
|
7433
7436
|
"hide-details": "",
|
|
@@ -7442,16 +7445,16 @@ const Br = {
|
|
|
7442
7445
|
_100: !z.value && !oe.value
|
|
7443
7446
|
})
|
|
7444
7447
|
}, [
|
|
7445
|
-
p.value.timeSamples.length > 1 ? (m(), V(
|
|
7448
|
+
p.value.timeSamples.length > 1 ? (m(), V(Dr, {
|
|
7446
7449
|
key: 0,
|
|
7447
7450
|
"current-day": p.value,
|
|
7448
7451
|
"current-time": _.value,
|
|
7449
7452
|
disabled: Y.value,
|
|
7450
|
-
onOnTimeChange:
|
|
7451
|
-
}, null, 8, ["current-day", "current-time", "disabled"])) : p.value.timeSamples.length === 1 ? (m(), V(
|
|
7453
|
+
onOnTimeChange: De
|
|
7454
|
+
}, null, 8, ["current-day", "current-time", "disabled"])) : p.value.timeSamples.length === 1 ? (m(), V(re, {
|
|
7452
7455
|
key: 1,
|
|
7453
7456
|
readonly: "",
|
|
7454
|
-
value: B(
|
|
7457
|
+
value: B(et)(p.value.timeSamples[0].timeInHours),
|
|
7455
7458
|
variant: "solo",
|
|
7456
7459
|
density: "compact",
|
|
7457
7460
|
"hide-details": "",
|
|
@@ -7459,33 +7462,33 @@ const Br = {
|
|
|
7459
7462
|
}, null, 8, ["value"])) : U("", !0)
|
|
7460
7463
|
], 2)) : U("", !0)
|
|
7461
7464
|
]),
|
|
7462
|
-
d("div",
|
|
7463
|
-
L.value.cameras.length > 1 ? (m(), V(
|
|
7465
|
+
d("div", $r, [
|
|
7466
|
+
L.value.cameras.length > 1 ? (m(), V(Ar, {
|
|
7464
7467
|
key: 0,
|
|
7465
7468
|
ref_key: "rotator",
|
|
7466
7469
|
ref: I,
|
|
7467
7470
|
"structure-chooser-data": L.value,
|
|
7468
7471
|
"current-scene": y.value,
|
|
7469
|
-
onOnSceneChange:
|
|
7472
|
+
onOnSceneChange: de,
|
|
7470
7473
|
onOnRotateStart: le[0] || (le[0] = (N) => Y.value = !0),
|
|
7471
7474
|
onOnRotateFinish: le[1] || (le[1] = (N) => Y.value = !1)
|
|
7472
7475
|
}, {
|
|
7473
7476
|
default: C(() => [
|
|
7474
|
-
w(
|
|
7477
|
+
w(Dt, {
|
|
7475
7478
|
"selected-id": B(l),
|
|
7476
7479
|
"render-display": B(h),
|
|
7477
7480
|
onOnDisplayClick: Se
|
|
7478
7481
|
}, null, 8, ["selected-id", "render-display"])
|
|
7479
7482
|
]),
|
|
7480
7483
|
_: 1
|
|
7481
|
-
}, 8, ["structure-chooser-data", "current-scene"])) : (m(), V(
|
|
7484
|
+
}, 8, ["structure-chooser-data", "current-scene"])) : (m(), V(Dt, {
|
|
7482
7485
|
key: 1,
|
|
7483
7486
|
"selected-id": B(l),
|
|
7484
7487
|
"render-display": B(h),
|
|
7485
7488
|
onOnDisplayClick: Se
|
|
7486
7489
|
}, null, 8, ["selected-id", "render-display"]))
|
|
7487
7490
|
]),
|
|
7488
|
-
d("div",
|
|
7491
|
+
d("div", Ur, [
|
|
7489
7492
|
c.value.cameraRotation ? (m(), V(qe, {
|
|
7490
7493
|
key: 0,
|
|
7491
7494
|
longitude: c.value.cameraRotation.y + 270
|
|
@@ -7493,16 +7496,16 @@ const Br = {
|
|
|
7493
7496
|
]),
|
|
7494
7497
|
w(Qe, { position: "relative" }, {
|
|
7495
7498
|
default: C(() => [
|
|
7496
|
-
(m(!0), x(
|
|
7497
|
-
key: `camera${
|
|
7499
|
+
(m(!0), x(ue, null, he($.value, (N, Z) => (m(), V(hr, {
|
|
7500
|
+
key: `camera${Z}`,
|
|
7498
7501
|
"camera-data": N,
|
|
7499
7502
|
"cdn-file-resolver": B(t),
|
|
7500
7503
|
"current-camera": c.value,
|
|
7501
7504
|
"current-day": p.value,
|
|
7502
7505
|
"current-time": _.value
|
|
7503
7506
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
7504
|
-
(m(!0), x(
|
|
7505
|
-
key: `transition${
|
|
7507
|
+
(m(!0), x(ue, null, he(ee.value, (N, Z) => (m(), V(_r, {
|
|
7508
|
+
key: `transition${Z}`,
|
|
7506
7509
|
"transition-data": N,
|
|
7507
7510
|
"cdn-file-resolver": B(t),
|
|
7508
7511
|
"current-transition": b.value
|
|
@@ -7512,16 +7515,16 @@ const Br = {
|
|
|
7512
7515
|
class: "w-100 h-100 position-absolute top-left",
|
|
7513
7516
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
7514
7517
|
innerHTML: B(i)
|
|
7515
|
-
}, null, 8,
|
|
7516
|
-
c.value.overlayFilename ? pe((m(), V(
|
|
7518
|
+
}, null, 8, Hr)) : U("", !0),
|
|
7519
|
+
c.value.overlayFilename ? pe((m(), V(Lr, {
|
|
7517
7520
|
key: 1,
|
|
7518
7521
|
"cdn-file-resolver": B(t),
|
|
7519
7522
|
"color-callback": B(o),
|
|
7520
7523
|
"current-camera": c.value,
|
|
7521
7524
|
"selected-id": B(l),
|
|
7522
7525
|
onOnClick: Se,
|
|
7523
|
-
onOnHoverOver:
|
|
7524
|
-
onOnHoverOut:
|
|
7526
|
+
onOnHoverOver: Ae,
|
|
7527
|
+
onOnHoverOut: xe,
|
|
7525
7528
|
onUpdateSvgContainer: le[2] || (le[2] = (N) => G.value = N)
|
|
7526
7529
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
|
|
7527
7530
|
[fe, b.value === null]
|
|
@@ -7535,8 +7538,8 @@ const Br = {
|
|
|
7535
7538
|
pos: M.value
|
|
7536
7539
|
}, {
|
|
7537
7540
|
default: C(() => [
|
|
7538
|
-
d("div",
|
|
7539
|
-
|
|
7541
|
+
d("div", Yr, [
|
|
7542
|
+
te(Q.$slots, "popup", at(nt({ hoverId: R.value, hoverable: j.value })), void 0, !0)
|
|
7540
7543
|
])
|
|
7541
7544
|
]),
|
|
7542
7545
|
_: 3
|
|
@@ -7555,26 +7558,26 @@ const Br = {
|
|
|
7555
7558
|
], 64);
|
|
7556
7559
|
};
|
|
7557
7560
|
}
|
|
7558
|
-
}),
|
|
7561
|
+
}), jr = /* @__PURE__ */ K(Pr, [["__scopeId", "data-v-191a8556"]]), qr = {
|
|
7559
7562
|
install: function(n) {
|
|
7560
|
-
n.component("VApartmentChooser",
|
|
7563
|
+
n.component("VApartmentChooser", Va), n.component("VBuildingChooser", Pn), n.component("VVirtualTour", Ws), n.component("VManualSlideShow", cr), n.component("VStructureChooser", jr);
|
|
7561
7564
|
}
|
|
7562
7565
|
};
|
|
7563
7566
|
export {
|
|
7564
7567
|
be as ResourceLoader,
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7568
|
+
Va as VApartmentChooser,
|
|
7569
|
+
Gr as VApartmentChooserV5,
|
|
7570
|
+
Pn as VBuildingChooser,
|
|
7571
|
+
Qr as VBuildingChooserV5,
|
|
7569
7572
|
Ge as VFloatingCard,
|
|
7570
7573
|
Re as VHoverProbe,
|
|
7571
|
-
|
|
7574
|
+
cr as VManualSlideShow,
|
|
7572
7575
|
qe as VNorthDirection,
|
|
7573
|
-
|
|
7574
|
-
|
|
7576
|
+
jr as VStructureChooser,
|
|
7577
|
+
Ws as VVirtualTour,
|
|
7575
7578
|
Qe as VZoomBox,
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7579
|
+
sn as convertApartmentChooserDataLegacyToV5,
|
|
7580
|
+
oo as convertBuildingChooserDataLegacyToV5,
|
|
7581
|
+
Br as convertStructureChooserDataLegacyToV5,
|
|
7582
|
+
qr as default
|
|
7580
7583
|
};
|