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