@qispace/vue3-player 0.4.38 → 0.4.39
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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as N, computed as V, resolveComponent as x, openBlock as v, createBlock as
|
|
1
|
+
import { defineComponent as N, computed as V, resolveComponent as x, openBlock as v, createBlock as A, withCtx as c, createElementBlock as M, normalizeStyle as ve, renderSlot as J, ref as b, unref as g, watch as H, onMounted as je, onBeforeUnmount as Qe, createElementVNode as e, toRefs as $e, nextTick as nt, inject as Me, toDisplayString as T, createVNode as h, mergeProps as Ie, Fragment as Be, renderList as Ne, normalizeClass as me, createTextVNode as Q, Transition as Re, createCommentVNode as E, withDirectives as Je, vModelText as ya, createStaticVNode as aa, onBeforeUpdate as Oa, withModifiers as wa, provide as lt, vShow as st, useModel as it, reactive as ba, mergeModels as ka, toRaw as Ba, watchEffect as na, normalizeProps as Da, guardReactiveProps as Ra } from "vue";
|
|
2
2
|
import Ft from "axios";
|
|
3
3
|
import * as Ua from "@qispace/player-core";
|
|
4
4
|
import { Vector3 as wt, Object3D as Ha, MathUtils as Pa } from "three";
|
|
5
|
-
import { Main as
|
|
5
|
+
import { Main as ja, DataPointLoadEventState as za } from "@qispace/visuado-player-core";
|
|
6
6
|
const Ya = /* @__PURE__ */ N({
|
|
7
7
|
__name: "VFloatingCard",
|
|
8
8
|
props: {
|
|
@@ -17,14 +17,14 @@ const Ya = /* @__PURE__ */ N({
|
|
|
17
17
|
});
|
|
18
18
|
return (i, s) => {
|
|
19
19
|
const f = x("v-dialog"), w = x("v-fade-transition");
|
|
20
|
-
return v(),
|
|
20
|
+
return v(), A(w, {
|
|
21
21
|
origin: `top left ${l.pos.x} ${l.pos.y}`
|
|
22
22
|
}, {
|
|
23
23
|
default: c(() => [
|
|
24
|
-
l.isHoverable ? (v(),
|
|
24
|
+
l.isHoverable ? (v(), M("div", {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "floating-card",
|
|
27
|
-
style:
|
|
27
|
+
style: ve({
|
|
28
28
|
left: `${l.pos.x}px`,
|
|
29
29
|
top: `${l.pos.y}px`,
|
|
30
30
|
pointerEvents: "none",
|
|
@@ -32,7 +32,7 @@ const Ya = /* @__PURE__ */ N({
|
|
|
32
32
|
})
|
|
33
33
|
}, [
|
|
34
34
|
J(i.$slots, "default", { isHoverable: l.isHoverable }, void 0, !0)
|
|
35
|
-
], 4)) : (v(),
|
|
35
|
+
], 4)) : (v(), A(f, {
|
|
36
36
|
key: 1,
|
|
37
37
|
value: !0,
|
|
38
38
|
width: "auto",
|
|
@@ -59,7 +59,7 @@ const Ya = /* @__PURE__ */ N({
|
|
|
59
59
|
const a = b(), n = V(() => window.getComputedStyle(a.value).display === "none");
|
|
60
60
|
return t({
|
|
61
61
|
isHoverEnabled: n
|
|
62
|
-
}), (o, i) => (v(),
|
|
62
|
+
}), (o, i) => (v(), M("div", {
|
|
63
63
|
ref_key: "hoverCheck",
|
|
64
64
|
ref: a,
|
|
65
65
|
class: "hover-check"
|
|
@@ -77,9 +77,9 @@ const Ya = /* @__PURE__ */ N({
|
|
|
77
77
|
}));
|
|
78
78
|
return (n, o) => {
|
|
79
79
|
const i = x("v-img");
|
|
80
|
-
return v(),
|
|
80
|
+
return v(), A(i, {
|
|
81
81
|
src: g(qa),
|
|
82
|
-
style:
|
|
82
|
+
style: ve(a.value)
|
|
83
83
|
}, null, 8, ["src", "style"]);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -99,7 +99,7 @@ const Ya = /* @__PURE__ */ N({
|
|
|
99
99
|
t({
|
|
100
100
|
adjustZoom: ue
|
|
101
101
|
});
|
|
102
|
-
const i = b(100), s = b(0), f = b(0), w = b(!1), r = b(!1), m = b(void 0), y = b(!1), d = b(),
|
|
102
|
+
const i = b(100), s = b(0), f = b(0), w = b(!1), r = b(!1), m = b(void 0), y = b(!1), d = b(), I = V(() => `translateX(${s.value}px) translateY(${f.value}px) scale(${k.value})`), k = V(() => i.value / 100), u = V(() => n.maxScale * 100);
|
|
103
103
|
H(
|
|
104
104
|
[k, s, f],
|
|
105
105
|
() => {
|
|
@@ -118,19 +118,19 @@ const Ya = /* @__PURE__ */ N({
|
|
|
118
118
|
}
|
|
119
119
|
), je(() => {
|
|
120
120
|
n.desktop && p(), n.mobile && _();
|
|
121
|
-
}),
|
|
121
|
+
}), Qe(() => {
|
|
122
122
|
n.desktop && L(), n.mobile && S();
|
|
123
123
|
});
|
|
124
124
|
function p() {
|
|
125
125
|
d.value.addEventListener("wheel", Z, {
|
|
126
126
|
capture: !0
|
|
127
|
-
}), d.value.addEventListener("mousedown",
|
|
127
|
+
}), d.value.addEventListener("mousedown", le, {
|
|
128
128
|
capture: !0
|
|
129
129
|
}), d.value.addEventListener("mousemove", O, {
|
|
130
130
|
capture: !0
|
|
131
131
|
}), window.addEventListener("mouseup", q, {
|
|
132
132
|
capture: !0
|
|
133
|
-
}), window.addEventListener("click",
|
|
133
|
+
}), window.addEventListener("click", ce, {
|
|
134
134
|
capture: !0
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -148,13 +148,13 @@ const Ya = /* @__PURE__ */ N({
|
|
|
148
148
|
function L() {
|
|
149
149
|
d.value.removeEventListener("wheel", Z, {
|
|
150
150
|
capture: !0
|
|
151
|
-
}), d.value.removeEventListener("mousedown",
|
|
151
|
+
}), d.value.removeEventListener("mousedown", le, {
|
|
152
152
|
capture: !0
|
|
153
153
|
}), d.value.removeEventListener("mousemove", O, {
|
|
154
154
|
capture: !0
|
|
155
155
|
}), window.removeEventListener("mouseup", q, {
|
|
156
156
|
capture: !0
|
|
157
|
-
}), window.removeEventListener("click",
|
|
157
|
+
}), window.removeEventListener("click", ce, {
|
|
158
158
|
capture: !0
|
|
159
159
|
});
|
|
160
160
|
}
|
|
@@ -173,22 +173,22 @@ const Ya = /* @__PURE__ */ N({
|
|
|
173
173
|
const { x: K, y: oe } = P(B);
|
|
174
174
|
ue(-B.deltaY / 10, K, oe), B.preventDefault();
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function le(B) {
|
|
177
177
|
w.value = !0, y.value = !1, m.value = B;
|
|
178
178
|
}
|
|
179
179
|
function O(B) {
|
|
180
180
|
if (w.value) {
|
|
181
|
-
const { x: K, y: oe } = P(B), { x: Y, y: ee } = P(m.value),
|
|
181
|
+
const { x: K, y: oe } = P(B), { x: Y, y: ee } = P(m.value), j = {
|
|
182
182
|
x: K - Y,
|
|
183
183
|
y: oe - ee
|
|
184
184
|
};
|
|
185
|
-
we(
|
|
185
|
+
we(j.x), G(j.y), y.value = !0, m.value = B;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
function q(B) {
|
|
189
189
|
w.value && y.value && n.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function ce(B) {
|
|
192
192
|
w.value && (y.value && n.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), w.value = !1);
|
|
193
193
|
}
|
|
194
194
|
function R(B) {
|
|
@@ -198,18 +198,18 @@ const Ya = /* @__PURE__ */ N({
|
|
|
198
198
|
if (w.value) {
|
|
199
199
|
const { x: K, y: oe } = P(B.touches[0]), { x: Y, y: ee } = P(
|
|
200
200
|
m.value.touches[0]
|
|
201
|
-
),
|
|
201
|
+
), j = {
|
|
202
202
|
x: K - Y,
|
|
203
203
|
y: oe - ee
|
|
204
204
|
};
|
|
205
|
-
we(
|
|
205
|
+
we(j.x), G(j.y);
|
|
206
206
|
} else if (r.value && B.touches.length === 2) {
|
|
207
207
|
const { x: K, y: oe } = P(B.touches[0]), { x: Y, y: ee } = P(
|
|
208
208
|
m.value.touches[0]
|
|
209
|
-
), { x:
|
|
209
|
+
), { x: j, y: ie } = P(B.touches[1]), { x: te, y: _e } = P(
|
|
210
210
|
m.value.touches[1]
|
|
211
|
-
),
|
|
212
|
-
ue(he -
|
|
211
|
+
), se = Math.hypot(Y - te, ee - _e), he = Math.hypot(K - j, oe - ie), xe = (j + K) / 2, Le = (ie + oe) / 2;
|
|
212
|
+
ue(he - se, xe, Le);
|
|
213
213
|
}
|
|
214
214
|
m.value = B;
|
|
215
215
|
}
|
|
@@ -238,10 +238,10 @@ const Ya = /* @__PURE__ */ N({
|
|
|
238
238
|
);
|
|
239
239
|
}
|
|
240
240
|
function ue(B, K, oe) {
|
|
241
|
-
const Y = K !== void 0 ? K : d.value.clientWidth / 2, ee = oe !== void 0 ? oe : d.value.clientHeight / 2,
|
|
241
|
+
const Y = K !== void 0 ? K : d.value.clientWidth / 2, ee = oe !== void 0 ? oe : d.value.clientHeight / 2, j = d.value.clientWidth, ie = d.value.clientHeight, te = j * k.value, _e = ie * k.value;
|
|
242
242
|
i.value = Math.min(Math.max(100, i.value + B), u.value);
|
|
243
|
-
const
|
|
244
|
-
s.value -= Y /
|
|
243
|
+
const se = j * k.value, he = ie * k.value, xe = se - te, Le = he - _e;
|
|
244
|
+
s.value -= Y / j * xe, f.value -= ee / ie * Le, we(0), G(0);
|
|
245
245
|
}
|
|
246
246
|
function ne() {
|
|
247
247
|
o("update", {
|
|
@@ -252,19 +252,19 @@ const Ya = /* @__PURE__ */ N({
|
|
|
252
252
|
min: 100,
|
|
253
253
|
max: u.value,
|
|
254
254
|
resolve: (B, K) => {
|
|
255
|
-
const oe = d.value.clientWidth, Y = d.value.clientHeight, ee = s.value / -k.value,
|
|
256
|
-
return { x: _e, y:
|
|
255
|
+
const oe = d.value.clientWidth, Y = d.value.clientHeight, ee = s.value / -k.value, j = f.value / -k.value, ie = ee + oe / k.value, te = j + Y / k.value, _e = B / oe * (ie - ee) + ee, se = K / Y * (te - j) + j;
|
|
256
|
+
return { x: _e, y: se };
|
|
257
257
|
}
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
|
-
return (B, K) => (v(),
|
|
260
|
+
return (B, K) => (v(), M("div", {
|
|
261
261
|
ref_key: "box",
|
|
262
262
|
ref: d,
|
|
263
263
|
class: "zoom-box-container",
|
|
264
|
-
style:
|
|
264
|
+
style: ve({ position: n.position })
|
|
265
265
|
}, [
|
|
266
266
|
e("div", {
|
|
267
|
-
style:
|
|
267
|
+
style: ve({ "transform-origin": "top left", transform: I.value }),
|
|
268
268
|
class: "zoom-box"
|
|
269
269
|
}, [
|
|
270
270
|
J(B.$slots, "default", {}, void 0, !0)
|
|
@@ -272,10 +272,10 @@ const Ya = /* @__PURE__ */ N({
|
|
|
272
272
|
], 4));
|
|
273
273
|
}
|
|
274
274
|
}), Qa = /* @__PURE__ */ X(Ja, [["__scopeId", "data-v-3e334a46"]]);
|
|
275
|
-
var
|
|
275
|
+
var at = {}, oa;
|
|
276
276
|
function Ga() {
|
|
277
|
-
if (oa) return
|
|
278
|
-
oa = 1, Object.defineProperty(
|
|
277
|
+
if (oa) return at;
|
|
278
|
+
oa = 1, Object.defineProperty(at, "__esModule", {
|
|
279
279
|
value: !0
|
|
280
280
|
});
|
|
281
281
|
var l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
@@ -283,7 +283,7 @@ function Ga() {
|
|
|
283
283
|
} : function(s) {
|
|
284
284
|
return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
|
|
285
285
|
}, t = typeof window < "u" && typeof window.document < "u", a = typeof process < "u" && process.versions != null && process.versions.node != null, n = (typeof self > "u" ? "undefined" : l(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", o = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), i = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u";
|
|
286
|
-
return
|
|
286
|
+
return at.isBrowser = t, at.isWebWorker = n, at.isNode = a, at.isJsDom = o, at.isDeno = i, at;
|
|
287
287
|
}
|
|
288
288
|
var Ca = Ga();
|
|
289
289
|
function fe(l, t) {
|
|
@@ -343,28 +343,28 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
343
343
|
currentCameraId: w,
|
|
344
344
|
showStaticImage: r,
|
|
345
345
|
mouseSensitivity: m
|
|
346
|
-
} = $e(o), y = a, d = b(),
|
|
346
|
+
} = $e(o), y = a, d = b(), I = b(w.value), k = b(0), u = b(0), p = b(!1);
|
|
347
347
|
H(w, () => {
|
|
348
|
-
|
|
348
|
+
I.value = w.value;
|
|
349
349
|
}), H([s, f], async () => {
|
|
350
350
|
d.value && await d.value.loadInterior(
|
|
351
351
|
(S) => fe(
|
|
352
352
|
i.value,
|
|
353
353
|
`/${s.value}/${f.value}${S}`
|
|
354
354
|
),
|
|
355
|
-
|
|
355
|
+
I.value,
|
|
356
356
|
!1
|
|
357
357
|
);
|
|
358
358
|
}), H(
|
|
359
|
-
|
|
359
|
+
I,
|
|
360
360
|
() => {
|
|
361
|
-
d.value && d.value.goToCamera(
|
|
361
|
+
d.value && d.value.goToCamera(I.value, !0), y("newCameraCallback", I.value);
|
|
362
362
|
},
|
|
363
363
|
{ immediate: !0 }
|
|
364
364
|
), H(
|
|
365
365
|
[i],
|
|
366
366
|
async () => {
|
|
367
|
-
await L(),
|
|
367
|
+
await L(), nt(async () => {
|
|
368
368
|
await _();
|
|
369
369
|
});
|
|
370
370
|
},
|
|
@@ -373,7 +373,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
373
373
|
if (d.value) {
|
|
374
374
|
y("playerApiCallback", d.value);
|
|
375
375
|
const S = d.value.getCurrentCamera();
|
|
376
|
-
S && (
|
|
376
|
+
S && (I.value = S.id, y("sunsimCallback", S.sunsimDayOfYear));
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
379
|
async function _() {
|
|
@@ -382,10 +382,10 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
382
382
|
initialized: () => {
|
|
383
383
|
d.value = n.Main.getPlayerAPI();
|
|
384
384
|
const R = d.value.getCurrentCamera();
|
|
385
|
-
d.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), R && (
|
|
385
|
+
d.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), R && (I.value = R.id), p.value = !0;
|
|
386
386
|
},
|
|
387
387
|
newCamera: (R) => {
|
|
388
|
-
y("newFloorCallback", R.floorLevel), y("sunsimCallback", R.sunsimDayOfYear), d.value && d.value.resetMarkerBehaviour(0),
|
|
388
|
+
y("newFloorCallback", R.floorLevel), y("sunsimCallback", R.sunsimDayOfYear), d.value && d.value.resetMarkerBehaviour(0), I.value = R.id;
|
|
389
389
|
},
|
|
390
390
|
newFOV: (R) => {
|
|
391
391
|
y("newFovCallback", R), u.value = R;
|
|
@@ -400,7 +400,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
400
400
|
};
|
|
401
401
|
if (!Ca.isBrowser)
|
|
402
402
|
return;
|
|
403
|
-
const
|
|
403
|
+
const ce = await new n.Main(
|
|
404
404
|
(R) => fe(
|
|
405
405
|
i.value,
|
|
406
406
|
`/${s.value}/${f.value}${R}`
|
|
@@ -408,19 +408,19 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
408
408
|
"qpc",
|
|
409
409
|
q,
|
|
410
410
|
void 0,
|
|
411
|
-
|
|
411
|
+
I.value
|
|
412
412
|
);
|
|
413
|
-
|
|
413
|
+
ce && (ce.handleWindowResize(), window.addEventListener(
|
|
414
414
|
"resize",
|
|
415
|
-
|
|
416
|
-
),
|
|
415
|
+
ce.handleWindowResize.bind(ce)
|
|
416
|
+
), ce.animate(), d.value = n.Main.getPlayerAPI(), d.value && d.value.setLookSensitivity(m.value));
|
|
417
417
|
}
|
|
418
418
|
async function L() {
|
|
419
419
|
d.value && (await d.value.destroy(), d.value = void 0);
|
|
420
420
|
}
|
|
421
|
-
return
|
|
421
|
+
return Qe(() => {
|
|
422
422
|
L();
|
|
423
|
-
}), (S, Z) => (v(),
|
|
423
|
+
}), (S, Z) => (v(), M("div", Xa, [
|
|
424
424
|
e("div", Ka, [
|
|
425
425
|
J(S.$slots, "slideshow-image", {}, void 0, !0),
|
|
426
426
|
e("div", en, [
|
|
@@ -453,13 +453,13 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
453
453
|
e("div", cn, [
|
|
454
454
|
e("canvas", {
|
|
455
455
|
id: "qpc",
|
|
456
|
-
style:
|
|
456
|
+
style: ve(g(r) ? "visibility:hidden" : "visibility:visible")
|
|
457
457
|
}, null, 4)
|
|
458
458
|
])
|
|
459
459
|
])
|
|
460
460
|
]));
|
|
461
461
|
}
|
|
462
|
-
}), vn = /* @__PURE__ */ X(dn, [["__scopeId", "data-v-59081d9a"]]),
|
|
462
|
+
}), vn = /* @__PURE__ */ X(dn, [["__scopeId", "data-v-59081d9a"]]), Oe = /* @__PURE__ */ Symbol(), mn = {
|
|
463
463
|
style: { width: "24px", height: "24px" },
|
|
464
464
|
viewBox: "0 0 18 16",
|
|
465
465
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -471,7 +471,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
471
471
|
},
|
|
472
472
|
emits: ["level"],
|
|
473
473
|
setup(l, { emit: t }) {
|
|
474
|
-
const a = l, n = t, o =
|
|
474
|
+
const a = l, n = t, o = Me(Oe), i = V(() => {
|
|
475
475
|
const m = a.floorLevels;
|
|
476
476
|
return m.sort(), m;
|
|
477
477
|
}), s = V(() => i.value.indexOf(a.level) + 1 <= i.value.length / 2 ? "lower" : "upper"), f = V(() => s.value === "lower"), w = V(() => s.value === "upper");
|
|
@@ -480,20 +480,20 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
480
480
|
m >= i.value.length ? n("level", i.value[0]) : n("level", i.value[m]);
|
|
481
481
|
}
|
|
482
482
|
return (m, y) => {
|
|
483
|
-
const d = x("v-btn"),
|
|
484
|
-
return v(), I
|
|
483
|
+
const d = x("v-btn"), I = x("v-tooltip");
|
|
484
|
+
return v(), A(I, {
|
|
485
485
|
right: "",
|
|
486
486
|
attach: ""
|
|
487
487
|
}, {
|
|
488
488
|
activator: c(({ props: k }) => [
|
|
489
|
-
h(d,
|
|
489
|
+
h(d, Ie({
|
|
490
490
|
style: { cursor: "pointer" },
|
|
491
491
|
density: "comfortable",
|
|
492
492
|
elevation: "1",
|
|
493
493
|
icon: ""
|
|
494
494
|
}, k, { onClick: r }), {
|
|
495
495
|
default: c(() => [
|
|
496
|
-
(v(),
|
|
496
|
+
(v(), M("svg", mn, [
|
|
497
497
|
e("path", {
|
|
498
498
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
499
499
|
fill: "white",
|
|
@@ -529,10 +529,10 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
529
529
|
},
|
|
530
530
|
emits: ["selectInterior"],
|
|
531
531
|
setup(l, { emit: t }) {
|
|
532
|
-
const a = l, n = t, o =
|
|
532
|
+
const a = l, n = t, o = Me(Oe);
|
|
533
533
|
return (i, s) => {
|
|
534
534
|
const f = x("v-icon"), w = x("v-btn"), r = x("v-img"), m = x("v-menu");
|
|
535
|
-
return v(),
|
|
535
|
+
return v(), M("div", null, [
|
|
536
536
|
h(m, {
|
|
537
537
|
transition: "slide-x-reverse-transition",
|
|
538
538
|
location: "top end",
|
|
@@ -541,7 +541,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
541
541
|
attach: ""
|
|
542
542
|
}, {
|
|
543
543
|
activator: c(({ props: y }) => [
|
|
544
|
-
h(w,
|
|
544
|
+
h(w, Ie({ rounded: "" }, y, { class: "text-capitalize" }), {
|
|
545
545
|
default: c(() => [
|
|
546
546
|
h(f, null, {
|
|
547
547
|
default: c(() => [...s[0] || (s[0] = [
|
|
@@ -556,9 +556,9 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
556
556
|
]),
|
|
557
557
|
default: c(() => [
|
|
558
558
|
e("div", bn, [
|
|
559
|
-
(v(!0),
|
|
559
|
+
(v(!0), M(Be, null, Ne(a.availableArchetypes, (y, d) => (v(), M("div", {
|
|
560
560
|
key: `at-menuitem-${d}`,
|
|
561
|
-
onClick: (
|
|
561
|
+
onClick: (I) => n("selectInterior", y.archetypeID),
|
|
562
562
|
class: me(["interior-selector-list-item", {
|
|
563
563
|
active: d === l.selectedIndex
|
|
564
564
|
}])
|
|
@@ -597,14 +597,14 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
597
597
|
}));
|
|
598
598
|
return (i, s) => {
|
|
599
599
|
const f = x("v-img");
|
|
600
|
-
return v(),
|
|
601
|
-
style:
|
|
600
|
+
return v(), M("div", {
|
|
601
|
+
style: ve(n.value),
|
|
602
602
|
class: "compass-wrapper"
|
|
603
603
|
}, [
|
|
604
604
|
h(f, {
|
|
605
605
|
class: "compass-needle",
|
|
606
606
|
src: a.value,
|
|
607
|
-
style:
|
|
607
|
+
style: ve(o.value)
|
|
608
608
|
}, null, 8, ["src", "style"])
|
|
609
609
|
], 4);
|
|
610
610
|
};
|
|
@@ -622,7 +622,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
622
622
|
}
|
|
623
623
|
return (o, i) => {
|
|
624
624
|
const s = x("v-img");
|
|
625
|
-
return v(),
|
|
625
|
+
return v(), M("div", Mn, [
|
|
626
626
|
e("div", An, [
|
|
627
627
|
h(s, {
|
|
628
628
|
src: g(Sa),
|
|
@@ -646,29 +646,29 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
646
646
|
},
|
|
647
647
|
emits: ["toggle"],
|
|
648
648
|
setup(l, { emit: t }) {
|
|
649
|
-
const a = l, n = t, o =
|
|
649
|
+
const a = l, n = t, o = Me(Oe), i = V(() => {
|
|
650
650
|
let s = "virtualTour";
|
|
651
651
|
return a.showStaticImage || (s = "slideShow"), s;
|
|
652
652
|
});
|
|
653
653
|
return (s, f) => {
|
|
654
654
|
const w = x("v-icon"), r = x("v-btn"), m = x("v-tooltip");
|
|
655
|
-
return v(),
|
|
655
|
+
return v(), A(m, { location: "top" }, {
|
|
656
656
|
activator: c(({ props: y }) => [
|
|
657
|
-
h(r,
|
|
657
|
+
h(r, Ie({
|
|
658
658
|
density: "comfortable",
|
|
659
659
|
elevation: "1",
|
|
660
660
|
icon: "",
|
|
661
661
|
onClick: f[0] || (f[0] = (d) => n("toggle"))
|
|
662
662
|
}, y), {
|
|
663
663
|
default: c(() => [
|
|
664
|
-
i.value === "virtualTour" ? (v(),
|
|
664
|
+
i.value === "virtualTour" ? (v(), M("svg", $n, [...f[1] || (f[1] = [
|
|
665
665
|
e("path", {
|
|
666
666
|
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",
|
|
667
667
|
class: "fill-grey"
|
|
668
668
|
}, null, -1),
|
|
669
669
|
e("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),
|
|
670
670
|
e("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)
|
|
671
|
-
])])) : (v(),
|
|
671
|
+
])])) : (v(), A(w, { key: 1 }, {
|
|
672
672
|
default: c(() => [...f[2] || (f[2] = [
|
|
673
673
|
Q("mdi-image-multiple", -1)
|
|
674
674
|
])]),
|
|
@@ -688,14 +688,14 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
688
688
|
}), On = /* @__PURE__ */ X(Tn, [["__scopeId", "data-v-86d91cc1"]]), Bn = {
|
|
689
689
|
key: 0,
|
|
690
690
|
class: "desktop-content"
|
|
691
|
-
}, Dn = { class: "d-flex align-center justify-center" }, Rn = { class: "box col d-flex flex-column align-bottom justify-center" }, Un = { class: "text-div text-center text mt-2" }, Hn = { class: "box col d-flex flex-column align-bottom justify-center" }, Pn = { class: "text-div text-center text mt-2" },
|
|
691
|
+
}, Dn = { class: "d-flex align-center justify-center" }, Rn = { class: "box col d-flex flex-column align-bottom justify-center" }, Un = { class: "text-div text-center text mt-2" }, Hn = { class: "box col d-flex flex-column align-bottom justify-center" }, Pn = { class: "text-div text-center text mt-2" }, jn = { class: "box col d-flex flex-column align-bottom justify-center" }, zn = { class: "text-div text-center text mt-2" }, Yn = { class: "box col d-flex flex-column align-bottom justify-center" }, Nn = { class: "text-div text-center text mt-2" }, Wn = {
|
|
692
692
|
key: 1,
|
|
693
693
|
class: "d-flex tablet-mobile-content"
|
|
694
694
|
}, Zn = { class: "box col my-1" }, qn = { class: "text text-col text-center" }, Jn = { class: "box col my-1" }, Qn = { class: "text text-col text-center" }, Gn = { class: "box col my-1" }, Xn = { class: "text text-col text-center" }, Kn = { class: "text-h6 text-capitalize" }, eo = { class: "mt-2" }, to = { class: "d-flex justify-center align-center checkbox-container" }, ao = { class: "text-caption" }, no = /* @__PURE__ */ N({
|
|
695
695
|
__name: "VTutorial",
|
|
696
696
|
emits: ["closeTutorial"],
|
|
697
697
|
setup(l, { emit: t }) {
|
|
698
|
-
const a = t, n =
|
|
698
|
+
const a = t, n = Me(Oe), o = b(!1), i = b(!1), s = V(() => [
|
|
699
699
|
/Android/i,
|
|
700
700
|
/webOS/i,
|
|
701
701
|
/iPhone/i,
|
|
@@ -708,8 +708,8 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
708
708
|
a("closeTutorial", o.value);
|
|
709
709
|
}
|
|
710
710
|
return (w, r) => {
|
|
711
|
-
const m = x("v-icon"), y = x("v-card-title"), d = x("v-btn"),
|
|
712
|
-
return v(),
|
|
711
|
+
const m = x("v-icon"), y = x("v-card-title"), d = x("v-btn"), I = x("v-divider"), k = x("v-card-text"), u = x("v-card-actions"), p = x("v-card"), _ = x("v-expand-transition"), L = x("v-checkbox");
|
|
712
|
+
return v(), A(Re, { name: "fade-transition" }, {
|
|
713
713
|
default: c(() => [
|
|
714
714
|
h(p, {
|
|
715
715
|
class: "mx-auto",
|
|
@@ -748,8 +748,8 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
748
748
|
]),
|
|
749
749
|
_: 1
|
|
750
750
|
}),
|
|
751
|
-
h(
|
|
752
|
-
s.value ?
|
|
751
|
+
h(I, { class: "my-3" }),
|
|
752
|
+
s.value ? E("", !0) : (v(), M("div", Bn, [
|
|
753
753
|
e("div", Dn, [
|
|
754
754
|
e("div", Rn, [
|
|
755
755
|
r[6] || (r[6] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -936,7 +936,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
936
936
|
], -1)),
|
|
937
937
|
e("div", Pn, T(g(n).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
938
938
|
]),
|
|
939
|
-
e("div",
|
|
939
|
+
e("div", jn, [
|
|
940
940
|
r[8] || (r[8] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
941
941
|
e("svg", {
|
|
942
942
|
width: "50",
|
|
@@ -1009,7 +1009,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1009
1009
|
})
|
|
1010
1010
|
])
|
|
1011
1011
|
], -1)),
|
|
1012
|
-
e("div",
|
|
1012
|
+
e("div", zn, T(g(n).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1013
1013
|
]),
|
|
1014
1014
|
e("div", Yn, [
|
|
1015
1015
|
r[9] || (r[9] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1085,7 +1085,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1085
1085
|
])
|
|
1086
1086
|
])
|
|
1087
1087
|
])),
|
|
1088
|
-
s.value ? (v(),
|
|
1088
|
+
s.value ? (v(), M("div", Wn, [
|
|
1089
1089
|
e("div", Zn, [
|
|
1090
1090
|
r[10] || (r[10] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
1091
1091
|
e("svg", {
|
|
@@ -1300,14 +1300,14 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1300
1300
|
], -1)),
|
|
1301
1301
|
e("div", Xn, T(g(n).getLabel("useTwoFingersToZoom")), 1)
|
|
1302
1302
|
])
|
|
1303
|
-
])) :
|
|
1304
|
-
h(
|
|
1303
|
+
])) : E("", !0),
|
|
1304
|
+
h(I, { class: "my-1" })
|
|
1305
1305
|
]),
|
|
1306
1306
|
_: 1
|
|
1307
1307
|
}),
|
|
1308
1308
|
h(_, null, {
|
|
1309
1309
|
default: c(() => [
|
|
1310
|
-
i.value ? (v(),
|
|
1310
|
+
i.value ? (v(), A(p, {
|
|
1311
1311
|
key: 0,
|
|
1312
1312
|
class: "position-absolute w-100 bg-white",
|
|
1313
1313
|
height: "100%",
|
|
@@ -1353,7 +1353,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1353
1353
|
})
|
|
1354
1354
|
]),
|
|
1355
1355
|
_: 1
|
|
1356
|
-
})) :
|
|
1356
|
+
})) : E("", !0)
|
|
1357
1357
|
]),
|
|
1358
1358
|
_: 1
|
|
1359
1359
|
}),
|
|
@@ -1411,7 +1411,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1411
1411
|
emits: ["updateSettings", "saveSettings"],
|
|
1412
1412
|
setup(l, { emit: t }) {
|
|
1413
1413
|
const a = l, n = t, o = b(
|
|
1414
|
-
|
|
1414
|
+
I(a.initialSettings)
|
|
1415
1415
|
);
|
|
1416
1416
|
H(
|
|
1417
1417
|
o,
|
|
@@ -1441,7 +1441,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1441
1441
|
n("saveSettings", i.value);
|
|
1442
1442
|
}
|
|
1443
1443
|
function r() {
|
|
1444
|
-
o.value =
|
|
1444
|
+
o.value = I(), n("updateSettings", i.value);
|
|
1445
1445
|
}
|
|
1446
1446
|
function m(k) {
|
|
1447
1447
|
const u = parseInt(k.substr(1, 2), 16) / 255, p = parseInt(k.substr(3, 2), 16) / 255, _ = parseInt(k.substr(5, 2), 16) / 255;
|
|
@@ -1454,7 +1454,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1454
1454
|
function d([k, u, p]) {
|
|
1455
1455
|
return "#" + y(parseInt((k * 255).toString())) + y(parseInt((u * 255).toString())) + y(parseInt((p * 255).toString()));
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function I(k = {}) {
|
|
1458
1458
|
const u = [
|
|
1459
1459
|
"Cool 5",
|
|
1460
1460
|
"Cool 10",
|
|
@@ -1551,15 +1551,15 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1551
1551
|
};
|
|
1552
1552
|
}
|
|
1553
1553
|
return (k, u) => {
|
|
1554
|
-
const p = x("v-text-field"), _ = x("v-slider"), L = x("v-checkbox"), S = x("v-btn"), Z = x("v-select"),
|
|
1555
|
-
return v(),
|
|
1554
|
+
const p = x("v-text-field"), _ = x("v-slider"), L = x("v-checkbox"), S = x("v-btn"), Z = x("v-select"), le = x("v-icon");
|
|
1555
|
+
return v(), M("div", lo, [
|
|
1556
1556
|
e("form", so, [
|
|
1557
1557
|
e("div", io, [
|
|
1558
|
-
(v(!0),
|
|
1559
|
-
key:
|
|
1558
|
+
(v(!0), M(Be, null, Ne(o.value, (O, q, ce) => (v(), M("div", {
|
|
1559
|
+
key: ce,
|
|
1560
1560
|
"d-block": ""
|
|
1561
1561
|
}, [
|
|
1562
|
-
O.type === "slider" ? (v(),
|
|
1562
|
+
O.type === "slider" ? (v(), A(_, {
|
|
1563
1563
|
key: 0,
|
|
1564
1564
|
modelValue: o.value[q].value,
|
|
1565
1565
|
"onUpdate:modelValue": (R) => o.value[q].value = R,
|
|
@@ -1589,8 +1589,8 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1589
1589
|
])
|
|
1590
1590
|
]),
|
|
1591
1591
|
_: 2
|
|
1592
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) :
|
|
1593
|
-
O.type === "boolean" ? (v(),
|
|
1592
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : E("", !0),
|
|
1593
|
+
O.type === "boolean" ? (v(), A(L, {
|
|
1594
1594
|
key: 1,
|
|
1595
1595
|
modelValue: o.value[q].value,
|
|
1596
1596
|
"onUpdate:modelValue": (R) => o.value[q].value = R,
|
|
@@ -1603,8 +1603,8 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1603
1603
|
e("div", null, T(O.value), 1)
|
|
1604
1604
|
]),
|
|
1605
1605
|
_: 2
|
|
1606
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) :
|
|
1607
|
-
O.type === "color" ? (v(),
|
|
1606
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : E("", !0),
|
|
1607
|
+
O.type === "color" ? (v(), M("div", {
|
|
1608
1608
|
key: 2,
|
|
1609
1609
|
class: "d-flex",
|
|
1610
1610
|
max: O.max,
|
|
@@ -1634,8 +1634,8 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1634
1634
|
onChange: s
|
|
1635
1635
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1636
1636
|
])
|
|
1637
|
-
], 8, co)) :
|
|
1638
|
-
O.type === "lut" ? (v(),
|
|
1637
|
+
], 8, co)) : E("", !0),
|
|
1638
|
+
O.type === "lut" ? (v(), M("div", fo, [
|
|
1639
1639
|
e("div", ho, [
|
|
1640
1640
|
e("div", go, T(O.label), 1),
|
|
1641
1641
|
e("div", null, [
|
|
@@ -1682,7 +1682,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1682
1682
|
])
|
|
1683
1683
|
])
|
|
1684
1684
|
])
|
|
1685
|
-
])) :
|
|
1685
|
+
])) : E("", !0)
|
|
1686
1686
|
]))), 128))
|
|
1687
1687
|
]),
|
|
1688
1688
|
e("div", bo, [
|
|
@@ -1700,7 +1700,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1700
1700
|
}, {
|
|
1701
1701
|
default: c(() => [
|
|
1702
1702
|
u[7] || (u[7] = Q(" Download Json ", -1)),
|
|
1703
|
-
h(
|
|
1703
|
+
h(le, { color: "black darken-1" }, {
|
|
1704
1704
|
default: c(() => [...u[6] || (u[6] = [
|
|
1705
1705
|
Q("mdi-download", -1)
|
|
1706
1706
|
])]),
|
|
@@ -1715,7 +1715,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1715
1715
|
}, {
|
|
1716
1716
|
default: c(() => [
|
|
1717
1717
|
u[9] || (u[9] = Q(" Save Settings ", -1)),
|
|
1718
|
-
h(
|
|
1718
|
+
h(le, { color: "black darken-1" }, {
|
|
1719
1719
|
default: c(() => [...u[8] || (u[8] = [
|
|
1720
1720
|
Q("mdi-save", -1)
|
|
1721
1721
|
])]),
|
|
@@ -1760,18 +1760,18 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1760
1760
|
function d(u) {
|
|
1761
1761
|
u = u || window.event, u.preventDefault();
|
|
1762
1762
|
let p = u;
|
|
1763
|
-
u.type === "touchstart" && (p = u.touches[0]), m = p.clientX, y = p.clientY, document.addEventListener("mouseup", k, { passive: !1 }), document.addEventListener("touchend", k, { passive: !1 }), document.addEventListener("mousemove",
|
|
1763
|
+
u.type === "touchstart" && (p = u.touches[0]), m = p.clientX, y = p.clientY, document.addEventListener("mouseup", k, { passive: !1 }), document.addEventListener("touchend", k, { passive: !1 }), document.addEventListener("mousemove", I, { passive: !1 }), document.addEventListener("touchmove", I, { passive: !1 });
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function I(u) {
|
|
1766
1766
|
u = u || window.event, u.preventDefault();
|
|
1767
1767
|
let p = u;
|
|
1768
1768
|
u.type === "touchmove" && (p = u.touches[0]), w = m - p.clientX, r = y - p.clientY, m = p.clientX, y = p.clientY, s.style.top = s.offsetTop - r + "px", s.style.left = s.offsetLeft - w + "px";
|
|
1769
1769
|
}
|
|
1770
1770
|
function k() {
|
|
1771
|
-
document.removeEventListener("mouseup", k, !1), document.removeEventListener("mousemove",
|
|
1771
|
+
document.removeEventListener("mouseup", k, !1), document.removeEventListener("mousemove", I, !1), document.removeEventListener("touchend", k, !1), document.removeEventListener("touchmove", I, !1);
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
|
-
return (s, f) => (v(),
|
|
1774
|
+
return (s, f) => (v(), M("div", {
|
|
1775
1775
|
id: "moveableDiv",
|
|
1776
1776
|
class: me([l.size, "sizer rounded"])
|
|
1777
1777
|
}, [
|
|
@@ -1802,7 +1802,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1802
1802
|
rotation: {}
|
|
1803
1803
|
},
|
|
1804
1804
|
setup(l) {
|
|
1805
|
-
return (t, a) => (v(),
|
|
1805
|
+
return (t, a) => (v(), M("svg", Io, [
|
|
1806
1806
|
a[1] || (a[1] = aa('<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)),
|
|
1807
1807
|
e("g", {
|
|
1808
1808
|
"transform-origin": "20 20",
|
|
@@ -1827,10 +1827,10 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1827
1827
|
},
|
|
1828
1828
|
emits: ["goToCamera"],
|
|
1829
1829
|
setup(l, { emit: t }) {
|
|
1830
|
-
const a = l, n = t, o = b(512), i = b(384), s = b(512), f = b(384), w = b(new wt()), r = b(new Ha()), m = b({}), y = b(1), d = b(),
|
|
1830
|
+
const a = l, n = t, o = b(512), i = b(384), s = b(512), f = b(384), w = b(new wt()), r = b(new Ha()), m = b({}), y = b(1), d = b(), I = o.value / o.value, k = V(() => {
|
|
1831
1831
|
const G = a.containerWidth / a.containerHeight;
|
|
1832
1832
|
let ue;
|
|
1833
|
-
return G >
|
|
1833
|
+
return G > I ? ue = a.containerHeight / i.value : ue = a.containerWidth / o.value, ue;
|
|
1834
1834
|
}), u = V(() => a.allCameras), p = V(() => a.allCameras.find((G) => G.id === a.currentCamera)), _ = V(() => a.rotation), L = V(() => new wt(
|
|
1835
1835
|
a.storey.position.x,
|
|
1836
1836
|
a.storey.position.y,
|
|
@@ -1845,25 +1845,25 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1845
1845
|
...G,
|
|
1846
1846
|
...Se(w.value, ne)
|
|
1847
1847
|
};
|
|
1848
|
-
})),
|
|
1848
|
+
})), le = V(() => ({
|
|
1849
1849
|
backgroundImage: `url(${a.backgroundImage})`,
|
|
1850
1850
|
backgroundSize: "contain"
|
|
1851
1851
|
})), O = V(() => ({
|
|
1852
1852
|
transform: `scale(${a.fit ? 1 : k.value * 0.75}) rotate(${a.transformAngle}deg)`
|
|
1853
1853
|
}));
|
|
1854
1854
|
je(() => {
|
|
1855
|
-
ke(),
|
|
1855
|
+
ke(), ce(), P();
|
|
1856
1856
|
const G = document.getElementById("moveableDiv");
|
|
1857
1857
|
G && (d.value = new ResizeObserver(P).observe(G));
|
|
1858
1858
|
}), Oa(() => {
|
|
1859
|
-
ke(),
|
|
1860
|
-
}),
|
|
1859
|
+
ke(), ce();
|
|
1860
|
+
}), Qe(() => {
|
|
1861
1861
|
d.value && d.value.unobserve(document.getElementById("moveableDiv"));
|
|
1862
1862
|
});
|
|
1863
1863
|
function q(G) {
|
|
1864
1864
|
return Pa.degToRad(G);
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function ce() {
|
|
1867
1867
|
r.value.rotation.x = 180, r.value.rotation.y = a.storey.rotation.y * -1, m.value = {
|
|
1868
1868
|
transform: `rotateZ(${r.value.rotation.y}deg) rotateX(${r.value.rotation.x}deg)`
|
|
1869
1869
|
};
|
|
@@ -1899,63 +1899,63 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1899
1899
|
function we(G) {
|
|
1900
1900
|
const ne = G.currentTarget.getBoundingClientRect(), B = G.clientX - ne.left, K = G.clientY - ne.top, oe = document.querySelectorAll(".single-camera-marker");
|
|
1901
1901
|
let Y = null, ee = 1 / 0;
|
|
1902
|
-
if (oe.forEach((
|
|
1903
|
-
const ie =
|
|
1904
|
-
(B - _e) ** 2 + (K -
|
|
1902
|
+
if (oe.forEach((j) => {
|
|
1903
|
+
const ie = j, te = ie.getBoundingClientRect(), _e = te.left + te.width / 2 - ne.left, se = te.top + te.height / 2 - ne.top, he = Math.sqrt(
|
|
1904
|
+
(B - _e) ** 2 + (K - se) ** 2
|
|
1905
1905
|
);
|
|
1906
1906
|
he < ee && (ee = he, Y = ie);
|
|
1907
1907
|
}), Y) {
|
|
1908
|
-
const
|
|
1909
|
-
for (let
|
|
1908
|
+
const j = Y.getBoundingClientRect(), ie = j.left + j.width / 2, te = j.top + j.height / 2;
|
|
1909
|
+
for (let se = 0; se < 3; se++) {
|
|
1910
1910
|
const he = document.createElement("div");
|
|
1911
|
-
he.className = "ripple-effect", he.style.position = "fixed", he.style.left = `${ie}px`, he.style.top = `${te}px`, he.style.pointerEvents = "none", he.style.animationDelay = `${
|
|
1911
|
+
he.className = "ripple-effect", he.style.position = "fixed", he.style.left = `${ie}px`, he.style.top = `${te}px`, he.style.pointerEvents = "none", he.style.animationDelay = `${se * 0.5}s`, document.body.appendChild(he), setTimeout(() => {
|
|
1912
1912
|
he.remove();
|
|
1913
|
-
}, 500 +
|
|
1913
|
+
}, 500 + se * 500);
|
|
1914
1914
|
}
|
|
1915
1915
|
const _e = Y.id.split("single-camera-marker-")[1];
|
|
1916
1916
|
_e && n("goToCamera", _e);
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
1919
|
-
return (G, ue) => (v(),
|
|
1919
|
+
return (G, ue) => (v(), M("div", $o, [
|
|
1920
1920
|
e("div", To, [
|
|
1921
1921
|
e("div", {
|
|
1922
1922
|
class: "web-minimap",
|
|
1923
|
-
style:
|
|
1923
|
+
style: ve(O.value),
|
|
1924
1924
|
onClick: we
|
|
1925
1925
|
}, [
|
|
1926
1926
|
e("div", {
|
|
1927
1927
|
class: "minimap-background-image",
|
|
1928
|
-
style:
|
|
1928
|
+
style: ve(le.value)
|
|
1929
1929
|
}, null, 4),
|
|
1930
1930
|
e("div", {
|
|
1931
1931
|
class: "center-pivot",
|
|
1932
|
-
style:
|
|
1932
|
+
style: ve(m.value)
|
|
1933
1933
|
}, [
|
|
1934
|
-
(v(!0),
|
|
1934
|
+
(v(!0), M(Be, null, Ne(Z.value, (ne) => (v(), M("div", {
|
|
1935
1935
|
key: ne.id
|
|
1936
1936
|
}, [
|
|
1937
|
-
p.value.floorLevel === ne.floorLevel ? (v(),
|
|
1937
|
+
p.value.floorLevel === ne.floorLevel ? (v(), M("div", {
|
|
1938
1938
|
key: 0,
|
|
1939
1939
|
class: "single-camera-marker",
|
|
1940
1940
|
id: `single-camera-marker-${ne.id}`,
|
|
1941
|
-
style:
|
|
1942
|
-
}, null, 12, Oo)) :
|
|
1941
|
+
style: ve(R(ne))
|
|
1942
|
+
}, null, 12, Oo)) : E("", !0),
|
|
1943
1943
|
J(G.$slots, "default", {
|
|
1944
1944
|
id: ne.id,
|
|
1945
1945
|
camera: ne,
|
|
1946
1946
|
active: p.value.id === ne.id,
|
|
1947
|
-
style:
|
|
1947
|
+
style: ve({
|
|
1948
1948
|
...R(ne),
|
|
1949
1949
|
position: "absolute",
|
|
1950
1950
|
zIndex: "3"
|
|
1951
1951
|
})
|
|
1952
1952
|
}, () => [
|
|
1953
|
-
p.value.id === ne.id && a.rotation !== null ? (v(),
|
|
1953
|
+
p.value.id === ne.id && a.rotation !== null ? (v(), A(Vo, {
|
|
1954
1954
|
key: 0,
|
|
1955
1955
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1956
1956
|
rotation: _.value,
|
|
1957
|
-
style:
|
|
1958
|
-
}, null, 8, ["rotation", "style"])) :
|
|
1957
|
+
style: ve({ ...R(ne) })
|
|
1958
|
+
}, null, 8, ["rotation", "style"])) : E("", !0)
|
|
1959
1959
|
], !0)
|
|
1960
1960
|
]))), 128))
|
|
1961
1961
|
], 4)
|
|
@@ -1972,9 +1972,9 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1972
1972
|
},
|
|
1973
1973
|
setup(l) {
|
|
1974
1974
|
const t = l, a = V(() => t.rotation + t.transformAngle - 90);
|
|
1975
|
-
return (n, o) => (v(),
|
|
1975
|
+
return (n, o) => (v(), M("div", {
|
|
1976
1976
|
class: "minimap-compass elevation-5",
|
|
1977
|
-
style:
|
|
1977
|
+
style: ve({ scale: l.scale })
|
|
1978
1978
|
}, [
|
|
1979
1979
|
h(_a, {
|
|
1980
1980
|
class: "north-indicator",
|
|
@@ -1982,10 +1982,10 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
1982
1982
|
}, null, 8, ["longitude"])
|
|
1983
1983
|
], 4));
|
|
1984
1984
|
}
|
|
1985
|
-
}), Qt = /* @__PURE__ */ X(Do, [["__scopeId", "data-v-d047dca8"]]), Ro = { class: "ss-wrapper" }, Uo = { class: "slider" }, Ho = { class: "minimap-sun-slider" }, Po = { class: "d-flex flex-column align-center justify-center" },
|
|
1985
|
+
}), Qt = /* @__PURE__ */ X(Do, [["__scopeId", "data-v-d047dca8"]]), Ro = { class: "ss-wrapper" }, Uo = { class: "slider" }, Ho = { class: "minimap-sun-slider" }, Po = { class: "d-flex flex-column align-center justify-center" }, jo = {
|
|
1986
1986
|
key: 0,
|
|
1987
1987
|
class: "time-label"
|
|
1988
|
-
},
|
|
1988
|
+
}, zo = /* @__PURE__ */ N({
|
|
1989
1989
|
__name: "VSunSimulationSlider",
|
|
1990
1990
|
props: {
|
|
1991
1991
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2006,7 +2006,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2006
2006
|
f.value = await k(
|
|
2007
2007
|
r.value.sunsimFiles[o.value]
|
|
2008
2008
|
), n("setBackgroundImage", f.value), s.value = !1;
|
|
2009
|
-
const _ = await
|
|
2009
|
+
const _ = await I(a.minimapJson.storeys);
|
|
2010
2010
|
w.value = _, i.value = !1, n("setBackgroundImage", d(a.level, o.value));
|
|
2011
2011
|
}), H(o, () => {
|
|
2012
2012
|
const _ = d(a.level, o.value);
|
|
@@ -2021,15 +2021,15 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2021
2021
|
function d(_, L) {
|
|
2022
2022
|
return w.value.get(`sunsim${_}_${L}`) ? w.value.get(`sunsim${_}_${L}`) : "";
|
|
2023
2023
|
}
|
|
2024
|
-
async function
|
|
2024
|
+
async function I(_) {
|
|
2025
2025
|
let L = /* @__PURE__ */ new Map();
|
|
2026
2026
|
for (let S = 0; S < _.length; S++) {
|
|
2027
2027
|
const Z = _[S].sunsimFiles;
|
|
2028
|
-
for (let
|
|
2029
|
-
const O = Z[
|
|
2028
|
+
for (let le = 0; le < Z.length; le++) {
|
|
2029
|
+
const O = Z[le];
|
|
2030
2030
|
try {
|
|
2031
|
-
const q = O,
|
|
2032
|
-
L.set(
|
|
2031
|
+
const q = O, ce = O.split("."), R = await k(q);
|
|
2032
|
+
L.set(ce[0], R);
|
|
2033
2033
|
} catch {
|
|
2034
2034
|
continue;
|
|
2035
2035
|
}
|
|
@@ -2053,24 +2053,24 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2053
2053
|
return new Promise((L, S) => {
|
|
2054
2054
|
const Z = new FileReader();
|
|
2055
2055
|
Z.onload = () => {
|
|
2056
|
-
const
|
|
2057
|
-
L(
|
|
2056
|
+
const le = Z.result.split(",")[1];
|
|
2057
|
+
L(le);
|
|
2058
2058
|
}, Z.onerror = S, Z.readAsDataURL(_);
|
|
2059
2059
|
});
|
|
2060
2060
|
}
|
|
2061
2061
|
return (_, L) => {
|
|
2062
|
-
const S = x("v-progress-linear"), Z = x("v-icon"),
|
|
2063
|
-
return v(),
|
|
2062
|
+
const S = x("v-progress-linear"), Z = x("v-icon"), le = x("v-slider");
|
|
2063
|
+
return v(), M("div", Ro, [
|
|
2064
2064
|
e("div", Uo, [
|
|
2065
2065
|
e("div", Ho, [
|
|
2066
|
-
i.value ? (v(),
|
|
2066
|
+
i.value ? (v(), A(S, {
|
|
2067
2067
|
key: 0,
|
|
2068
2068
|
indeterminate: "",
|
|
2069
2069
|
rounded: "",
|
|
2070
2070
|
height: "6",
|
|
2071
2071
|
color: "grey lighten-1",
|
|
2072
2072
|
class: "mr-2"
|
|
2073
|
-
})) : (v(),
|
|
2073
|
+
})) : (v(), A(le, {
|
|
2074
2074
|
key: 1,
|
|
2075
2075
|
modelValue: o.value,
|
|
2076
2076
|
"onUpdate:modelValue": L[0] || (L[0] = (O) => o.value = O),
|
|
@@ -2100,12 +2100,12 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2100
2100
|
_: 1
|
|
2101
2101
|
}, 8, ["modelValue"]))
|
|
2102
2102
|
]),
|
|
2103
|
-
i.value ?
|
|
2103
|
+
i.value ? E("", !0) : (v(), M("div", jo))
|
|
2104
2104
|
])
|
|
2105
2105
|
]);
|
|
2106
2106
|
};
|
|
2107
2107
|
}
|
|
2108
|
-
}), Gt = /* @__PURE__ */ X(
|
|
2108
|
+
}), Gt = /* @__PURE__ */ X(zo, [["__scopeId", "data-v-52f122f2"]]), Yo = { class: "left" }, No = { class: "right" }, Wo = { class: "map-container" }, Zo = /* @__PURE__ */ N({
|
|
2109
2109
|
__name: "VMiniMap",
|
|
2110
2110
|
props: {
|
|
2111
2111
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2132,17 +2132,17 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2132
2132
|
);
|
|
2133
2133
|
const r = V(() => {
|
|
2134
2134
|
let _ = 1;
|
|
2135
|
-
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? _ = 1 : _ = -1),
|
|
2135
|
+
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? _ = 1 : _ = -1), I.value === "small" && (_ = 0.6), _;
|
|
2136
2136
|
});
|
|
2137
2137
|
function m(_) {
|
|
2138
2138
|
i.value = _;
|
|
2139
2139
|
}
|
|
2140
2140
|
const y = ["big", "bigger", "small"];
|
|
2141
2141
|
function d() {
|
|
2142
|
-
const L = (y.indexOf(
|
|
2143
|
-
|
|
2142
|
+
const L = (y.indexOf(I.value) + 1) % y.length;
|
|
2143
|
+
I.value = y[L];
|
|
2144
2144
|
}
|
|
2145
|
-
const
|
|
2145
|
+
const I = b("big");
|
|
2146
2146
|
function k() {
|
|
2147
2147
|
s.value = s.value + 90;
|
|
2148
2148
|
}
|
|
@@ -2154,10 +2154,10 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
return (_, L) => {
|
|
2156
2156
|
const S = x("v-btn");
|
|
2157
|
-
return v(),
|
|
2157
|
+
return v(), A(Ao, {
|
|
2158
2158
|
ref_key: "minimapMoveable",
|
|
2159
2159
|
ref: a,
|
|
2160
|
-
size:
|
|
2160
|
+
size: I.value
|
|
2161
2161
|
}, {
|
|
2162
2162
|
"top-left": c(() => [
|
|
2163
2163
|
e("div", Yo, [
|
|
@@ -2212,7 +2212,7 @@ const Xa = { id: "player-wrapper" }, Ka = { id: "player-sizer" }, en = {
|
|
|
2212
2212
|
])
|
|
2213
2213
|
]),
|
|
2214
2214
|
footer: c(() => [
|
|
2215
|
-
(v(),
|
|
2215
|
+
(v(), A(Gt, {
|
|
2216
2216
|
key: w.value,
|
|
2217
2217
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
2218
2218
|
"minimap-json": n.minimapJson,
|
|
@@ -2254,8 +2254,8 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2254
2254
|
},
|
|
2255
2255
|
{ immediate: !0 }
|
|
2256
2256
|
), (w, r) => {
|
|
2257
|
-
const m = x("v-icon"), y = x("v-slider"), d = x("v-field"),
|
|
2258
|
-
return v(),
|
|
2257
|
+
const m = x("v-icon"), y = x("v-slider"), d = x("v-field"), I = x("v-btn");
|
|
2258
|
+
return v(), M("div", qo, [
|
|
2259
2259
|
e("div", Jo, [
|
|
2260
2260
|
h(d, {
|
|
2261
2261
|
class: "ss-slider-field",
|
|
@@ -2265,7 +2265,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2265
2265
|
flat: ""
|
|
2266
2266
|
}, {
|
|
2267
2267
|
default: c(() => [
|
|
2268
|
-
g(n).timeSamples.length > 1 ? (v(),
|
|
2268
|
+
g(n).timeSamples.length > 1 ? (v(), A(y, {
|
|
2269
2269
|
key: 0,
|
|
2270
2270
|
class: "pa-2 pr-2",
|
|
2271
2271
|
modelValue: f.value,
|
|
@@ -2293,7 +2293,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2293
2293
|
e("span", Qo, T(g(pt)(f.value)), 1)
|
|
2294
2294
|
]),
|
|
2295
2295
|
_: 1
|
|
2296
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(),
|
|
2296
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), M(Be, { key: 1 }, [
|
|
2297
2297
|
h(m, {
|
|
2298
2298
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2299
2299
|
class: "mr-2 icon",
|
|
@@ -2311,7 +2311,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2311
2311
|
})
|
|
2312
2312
|
]),
|
|
2313
2313
|
e("div", null, [
|
|
2314
|
-
h(
|
|
2314
|
+
h(I, {
|
|
2315
2315
|
size: "small",
|
|
2316
2316
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
2317
2317
|
icon: "mdi-close",
|
|
@@ -2329,10 +2329,10 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2329
2329
|
},
|
|
2330
2330
|
emits: ["toggleSunStudy"],
|
|
2331
2331
|
setup(l, { emit: t }) {
|
|
2332
|
-
const a = t, n =
|
|
2332
|
+
const a = t, n = Me(Oe);
|
|
2333
2333
|
return (o, i) => {
|
|
2334
2334
|
const s = x("v-btn");
|
|
2335
|
-
return !l.displaySunsim && l.showUI ? (v(),
|
|
2335
|
+
return !l.displaySunsim && l.showUI ? (v(), A(s, {
|
|
2336
2336
|
key: 0,
|
|
2337
2337
|
size: "small",
|
|
2338
2338
|
varient: "tonal",
|
|
@@ -2344,7 +2344,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2344
2344
|
Q(T(g(n).getLabel("openSunStudy")), 1)
|
|
2345
2345
|
]),
|
|
2346
2346
|
_: 1
|
|
2347
|
-
})) :
|
|
2347
|
+
})) : E("", !0);
|
|
2348
2348
|
};
|
|
2349
2349
|
}
|
|
2350
2350
|
}), el = /* @__PURE__ */ N({
|
|
@@ -2359,7 +2359,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2359
2359
|
));
|
|
2360
2360
|
return (o, i) => {
|
|
2361
2361
|
const s = x("v-icon"), f = x("v-btn");
|
|
2362
|
-
return v(),
|
|
2362
|
+
return v(), A(f, {
|
|
2363
2363
|
size: "x-small",
|
|
2364
2364
|
class: me(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
|
|
2365
2365
|
onClick: i[0] || (i[0] = (w) => a("toggleAutoPlay"))
|
|
@@ -2399,7 +2399,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2399
2399
|
));
|
|
2400
2400
|
je(() => {
|
|
2401
2401
|
window.addEventListener("keydown", f);
|
|
2402
|
-
}),
|
|
2402
|
+
}), Qe(() => {
|
|
2403
2403
|
window.removeEventListener("keydown", f);
|
|
2404
2404
|
});
|
|
2405
2405
|
function f(r) {
|
|
@@ -2418,8 +2418,8 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2418
2418
|
m(), n("goto", r);
|
|
2419
2419
|
}
|
|
2420
2420
|
return (r, m) => {
|
|
2421
|
-
const y = x("v-btn"), d = x("v-img"),
|
|
2422
|
-
return v(),
|
|
2421
|
+
const y = x("v-btn"), d = x("v-img"), I = x("v-icon"), k = x("v-card"), u = x("v-slide-group-item"), p = x("v-slide-group");
|
|
2422
|
+
return v(), M("div", {
|
|
2423
2423
|
class: me(["d-flex align-center justify-center", {
|
|
2424
2424
|
mobileWaypointWrapper: s.value,
|
|
2425
2425
|
desktopWaypointWrapper: !s.value,
|
|
@@ -2438,7 +2438,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2438
2438
|
mandatory: ""
|
|
2439
2439
|
}, {
|
|
2440
2440
|
prev: c(() => [
|
|
2441
|
-
s.value ?
|
|
2441
|
+
s.value ? E("", !0) : (v(), A(y, {
|
|
2442
2442
|
key: 0,
|
|
2443
2443
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2444
2444
|
icon: "mdi-chevron-left",
|
|
@@ -2448,7 +2448,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2448
2448
|
}, null, 8, ["class"]))
|
|
2449
2449
|
]),
|
|
2450
2450
|
next: c(() => [
|
|
2451
|
-
s.value ?
|
|
2451
|
+
s.value ? E("", !0) : (v(), A(y, {
|
|
2452
2452
|
key: 0,
|
|
2453
2453
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2454
2454
|
icon: "mdi-chevron-right",
|
|
@@ -2458,7 +2458,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2458
2458
|
}, null, 8, ["class"]))
|
|
2459
2459
|
]),
|
|
2460
2460
|
default: c(() => [
|
|
2461
|
-
(v(!0),
|
|
2461
|
+
(v(!0), M(Be, null, Ne(l.thumbnails, (_) => (v(), A(u, {
|
|
2462
2462
|
key: _.id
|
|
2463
2463
|
}, {
|
|
2464
2464
|
default: c(({ toggle: L, selectedClass: S }) => [
|
|
@@ -2479,12 +2479,12 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2479
2479
|
"aspect-ratio": 1,
|
|
2480
2480
|
src: _.thumbnailUrl
|
|
2481
2481
|
}, null, 8, ["src"]),
|
|
2482
|
-
a.cameraHasSunStudy(_.id) ? (v(),
|
|
2483
|
-
h(
|
|
2482
|
+
a.cameraHasSunStudy(_.id) ? (v(), M("div", tl, [
|
|
2483
|
+
h(I, {
|
|
2484
2484
|
class: "sun-icon",
|
|
2485
2485
|
icon: "mdi-white-balance-sunny"
|
|
2486
2486
|
})
|
|
2487
|
-
])) :
|
|
2487
|
+
])) : E("", !0)
|
|
2488
2488
|
]),
|
|
2489
2489
|
_: 2
|
|
2490
2490
|
}, 1032, ["class", "onClick"])
|
|
@@ -2504,7 +2504,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2504
2504
|
}, sl = /* @__PURE__ */ N({
|
|
2505
2505
|
__name: "VSocialShare",
|
|
2506
2506
|
setup(l) {
|
|
2507
|
-
const t =
|
|
2507
|
+
const t = Me(Oe), a = b(!1), n = b(location.href);
|
|
2508
2508
|
function o() {
|
|
2509
2509
|
return window.open(
|
|
2510
2510
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -2530,15 +2530,15 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2530
2530
|
navigator.clipboard.writeText(location.href);
|
|
2531
2531
|
}
|
|
2532
2532
|
return (w, r) => {
|
|
2533
|
-
const m = x("v-btn"), y = x("v-tooltip"), d = x("v-toolbar-title"),
|
|
2534
|
-
return v(),
|
|
2533
|
+
const m = x("v-btn"), y = x("v-tooltip"), d = x("v-toolbar-title"), I = x("v-spacer"), k = x("v-toolbar"), u = x("v-card-text"), p = x("v-card"), _ = x("v-dialog");
|
|
2534
|
+
return v(), M("div", null, [
|
|
2535
2535
|
h(y, {
|
|
2536
2536
|
elevation: "2",
|
|
2537
2537
|
top: "",
|
|
2538
2538
|
attach: ""
|
|
2539
2539
|
}, {
|
|
2540
2540
|
activator: c(({ props: L }) => [
|
|
2541
|
-
h(m,
|
|
2541
|
+
h(m, Ie({
|
|
2542
2542
|
density: "comfortable",
|
|
2543
2543
|
elevation: "1",
|
|
2544
2544
|
icon: "mdi-share-variant",
|
|
@@ -2572,7 +2572,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2572
2572
|
]),
|
|
2573
2573
|
_: 1
|
|
2574
2574
|
}),
|
|
2575
|
-
h(
|
|
2575
|
+
h(I)
|
|
2576
2576
|
]),
|
|
2577
2577
|
_: 1
|
|
2578
2578
|
}),
|
|
@@ -2581,7 +2581,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2581
2581
|
e("p", ll, [
|
|
2582
2582
|
h(y, { location: "top" }, {
|
|
2583
2583
|
activator: c(({ props: L }) => [
|
|
2584
|
-
h(m,
|
|
2584
|
+
h(m, Ie({
|
|
2585
2585
|
depressed: "",
|
|
2586
2586
|
fab: "",
|
|
2587
2587
|
light: "",
|
|
@@ -2595,7 +2595,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2595
2595
|
}),
|
|
2596
2596
|
h(y, { location: "top" }, {
|
|
2597
2597
|
activator: c(({ props: L }) => [
|
|
2598
|
-
h(m,
|
|
2598
|
+
h(m, Ie({
|
|
2599
2599
|
depressed: "",
|
|
2600
2600
|
fab: "",
|
|
2601
2601
|
light: "",
|
|
@@ -2609,7 +2609,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2609
2609
|
}),
|
|
2610
2610
|
h(y, { location: "top" }, {
|
|
2611
2611
|
activator: c(({ props: L }) => [
|
|
2612
|
-
h(m,
|
|
2612
|
+
h(m, Ie({
|
|
2613
2613
|
depressed: "",
|
|
2614
2614
|
fab: "",
|
|
2615
2615
|
light: "",
|
|
@@ -2623,7 +2623,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2623
2623
|
}),
|
|
2624
2624
|
h(y, { location: "top" }, {
|
|
2625
2625
|
activator: c(({ props: L }) => [
|
|
2626
|
-
h(m,
|
|
2626
|
+
h(m, Ie({
|
|
2627
2627
|
depressed: "",
|
|
2628
2628
|
fab: "",
|
|
2629
2629
|
light: "",
|
|
@@ -2639,7 +2639,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2639
2639
|
}),
|
|
2640
2640
|
h(y, { location: "top" }, {
|
|
2641
2641
|
activator: c(({ props: L }) => [
|
|
2642
|
-
h(m,
|
|
2642
|
+
h(m, Ie({
|
|
2643
2643
|
depressed: "",
|
|
2644
2644
|
fab: "",
|
|
2645
2645
|
light: "",
|
|
@@ -2652,7 +2652,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2652
2652
|
]),
|
|
2653
2653
|
_: 1
|
|
2654
2654
|
}),
|
|
2655
|
-
h(
|
|
2655
|
+
h(I)
|
|
2656
2656
|
])
|
|
2657
2657
|
]),
|
|
2658
2658
|
_: 1
|
|
@@ -2674,10 +2674,10 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2674
2674
|
},
|
|
2675
2675
|
setup(l) {
|
|
2676
2676
|
const t = l, a = V(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
|
|
2677
|
-
return (n, o) => (v(),
|
|
2677
|
+
return (n, o) => (v(), M("div", il, [
|
|
2678
2678
|
e("div", {
|
|
2679
2679
|
class: me(["img-div", [l.aspectRatio]]),
|
|
2680
|
-
style:
|
|
2680
|
+
style: ve(a.value)
|
|
2681
2681
|
}, null, 6)
|
|
2682
2682
|
]));
|
|
2683
2683
|
}
|
|
@@ -2694,7 +2694,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2694
2694
|
const a = t;
|
|
2695
2695
|
return (n, o) => {
|
|
2696
2696
|
const i = x("v-btn");
|
|
2697
|
-
return v(),
|
|
2697
|
+
return v(), M("div", ul, [
|
|
2698
2698
|
h(i, {
|
|
2699
2699
|
density: "comfortable",
|
|
2700
2700
|
elevation: "3",
|
|
@@ -2705,7 +2705,7 @@ const qo = { class: "d-flex align-center" }, Jo = { class: "d-block mr-1" }, Qo
|
|
|
2705
2705
|
};
|
|
2706
2706
|
}
|
|
2707
2707
|
});
|
|
2708
|
-
class
|
|
2708
|
+
class ot {
|
|
2709
2709
|
_labels;
|
|
2710
2710
|
_language;
|
|
2711
2711
|
constructor({ labels: t, language: a } = { labels: null, language: null }) {
|
|
@@ -2800,7 +2800,7 @@ const vl = {
|
|
|
2800
2800
|
const a = t;
|
|
2801
2801
|
return (n, o) => {
|
|
2802
2802
|
const i = x("v-btn");
|
|
2803
|
-
return v(),
|
|
2803
|
+
return v(), M("div", vl, [
|
|
2804
2804
|
h(i, {
|
|
2805
2805
|
density: "comfortable",
|
|
2806
2806
|
elevation: "3",
|
|
@@ -2889,7 +2889,7 @@ const vl = {
|
|
|
2889
2889
|
showCarousel: m,
|
|
2890
2890
|
showTimeOfDay: y,
|
|
2891
2891
|
showCompass: d,
|
|
2892
|
-
showFullScreen:
|
|
2892
|
+
showFullScreen: I,
|
|
2893
2893
|
showSnapshot: k,
|
|
2894
2894
|
showShare: u,
|
|
2895
2895
|
showInteriorOptions: p,
|
|
@@ -2897,15 +2897,15 @@ const vl = {
|
|
|
2897
2897
|
showFloorLevel: L,
|
|
2898
2898
|
defaultWaypointIndex: S,
|
|
2899
2899
|
defaultViewMode: Z,
|
|
2900
|
-
mouseSensitivity:
|
|
2900
|
+
mouseSensitivity: le,
|
|
2901
2901
|
// isInIframe,
|
|
2902
2902
|
adminMode: O,
|
|
2903
2903
|
playerSettings: q,
|
|
2904
|
-
hasMarkersJson:
|
|
2904
|
+
hasMarkersJson: ce,
|
|
2905
2905
|
dynamicMarkers: R,
|
|
2906
2906
|
version: Se,
|
|
2907
2907
|
showVersion: ke
|
|
2908
|
-
} = $e(n), P = a, we = b(!1), G = b(!1), ue = b(!1), ne = b(), B = b(), K = b(), oe = b(), Y = b(), ee = b(0),
|
|
2908
|
+
} = $e(n), P = a, we = b(!1), G = b(!1), ue = b(!1), ne = b(), B = b(), K = b(), oe = b(), Y = b(), ee = b(0), j = b(), ie = b(), te = b(), _e = b(0), se = b(0), he = b(0), xe = b(!1), Le = b(!1), Te = b(), ge = b(!1), de = b(!1), Fe = b({
|
|
2909
2909
|
startTime: 0,
|
|
2910
2910
|
startX: 0,
|
|
2911
2911
|
startY: 0
|
|
@@ -2915,7 +2915,7 @@ const vl = {
|
|
|
2915
2915
|
t({
|
|
2916
2916
|
updateSelectedInterior: St,
|
|
2917
2917
|
takeSnapshot: Kt,
|
|
2918
|
-
setCurrentCamera:
|
|
2918
|
+
setCurrentCamera: Xe,
|
|
2919
2919
|
getCurrentRotation: Ut,
|
|
2920
2920
|
setCurrentRotation: xt,
|
|
2921
2921
|
getCurrentFov: Ht,
|
|
@@ -2923,10 +2923,10 @@ const vl = {
|
|
|
2923
2923
|
loadDynamicMarkers: We,
|
|
2924
2924
|
screenToWorld: yt,
|
|
2925
2925
|
setFrontendMarkers: Nt,
|
|
2926
|
-
clearCurrentMarkerLayer:
|
|
2926
|
+
clearCurrentMarkerLayer: Pe,
|
|
2927
2927
|
apartmentJson: B
|
|
2928
2928
|
});
|
|
2929
|
-
const
|
|
2929
|
+
const ze = V(() => {
|
|
2930
2930
|
if (B.value) {
|
|
2931
2931
|
const C = B.value.cameras.map(
|
|
2932
2932
|
(ae) => ae.floorLevel
|
|
@@ -2935,36 +2935,36 @@ const vl = {
|
|
|
2935
2935
|
return D = D.sort(), D;
|
|
2936
2936
|
} else
|
|
2937
2937
|
return [];
|
|
2938
|
-
}),
|
|
2938
|
+
}), Ye = V(() => {
|
|
2939
2939
|
let C = 0;
|
|
2940
2940
|
if (B.value) {
|
|
2941
2941
|
const D = B.value.cameras.map(
|
|
2942
|
-
(
|
|
2942
|
+
(ct) => ct.floorLevel
|
|
2943
2943
|
);
|
|
2944
2944
|
let ae = [...new Set(D)];
|
|
2945
2945
|
ae = ae.sort();
|
|
2946
|
-
const
|
|
2947
|
-
(
|
|
2946
|
+
const Ae = ae.findIndex(
|
|
2947
|
+
(ct) => ct === se.value
|
|
2948
2948
|
);
|
|
2949
|
-
|
|
2949
|
+
Ae !== -1 && (C = Ae);
|
|
2950
2950
|
}
|
|
2951
2951
|
return C;
|
|
2952
|
-
}),
|
|
2953
|
-
(C) => C.archetypeID ===
|
|
2952
|
+
}), De = V(() => Ve.value.findIndex(
|
|
2953
|
+
(C) => C.archetypeID === j.value
|
|
2954
2954
|
)), Ce = V(() => K.value ? K.value.cameras.map((C) => ({
|
|
2955
2955
|
...C,
|
|
2956
2956
|
thumbnailUrl: At(
|
|
2957
|
-
`/${
|
|
2957
|
+
`/${j.value}/${i.value}/thumbs/200/${C.id}.jpg`
|
|
2958
2958
|
),
|
|
2959
2959
|
imageUrl: At(
|
|
2960
|
-
`/${
|
|
2960
|
+
`/${j.value}/${i.value}/images/1600/${C.id}.jpg`
|
|
2961
2961
|
)
|
|
2962
|
-
})) : []),
|
|
2962
|
+
})) : []), rt = V(() => !Ce.value || !Ce.value[ee.value] ? "" : Ce.value[ee.value].imageUrl), Ve = V(() => {
|
|
2963
2963
|
let C = [];
|
|
2964
2964
|
return ne.value && (C = ne.value.archetypes), f.value.length ? C.filter(
|
|
2965
2965
|
(D) => f.value.includes(D.archetypeID)
|
|
2966
2966
|
) : C;
|
|
2967
|
-
}), F = V(() => K.value ?
|
|
2967
|
+
}), F = V(() => K.value ? Ve.value.map((C) => {
|
|
2968
2968
|
const D = Ce.value[ee.value]?.id;
|
|
2969
2969
|
return {
|
|
2970
2970
|
...C,
|
|
@@ -2973,19 +2973,19 @@ const vl = {
|
|
|
2973
2973
|
)
|
|
2974
2974
|
};
|
|
2975
2975
|
}) : []), W = V(() => {
|
|
2976
|
-
if (oe.value && oe.value.storeys &&
|
|
2977
|
-
return oe.value.storeys[
|
|
2976
|
+
if (oe.value && oe.value.storeys && Ye.value in oe.value.storeys)
|
|
2977
|
+
return oe.value.storeys[Ye.value];
|
|
2978
2978
|
}), pe = V(() => B.value && B.value.timeInHours), be = V(() => {
|
|
2979
2979
|
if (B.value && B.value.timeInHours && y.value)
|
|
2980
2980
|
return $a(B.value.timeInHours);
|
|
2981
2981
|
});
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
r.value ? new
|
|
2982
|
+
lt(
|
|
2983
|
+
Oe,
|
|
2984
|
+
r.value ? new ot(r.value) : new ot()
|
|
2985
2985
|
);
|
|
2986
|
-
const
|
|
2986
|
+
const re = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2987
2987
|
window.navigator.userAgent
|
|
2988
|
-
)),
|
|
2988
|
+
)), Ue = V(() => re.value ? "platform-mobile" : "platform-desktop"), Ge = V(() => {
|
|
2989
2989
|
const C = fe(
|
|
2990
2990
|
o.value,
|
|
2991
2991
|
"/config.json"
|
|
@@ -2995,7 +2995,7 @@ const vl = {
|
|
|
2995
2995
|
);
|
|
2996
2996
|
});
|
|
2997
2997
|
H(s, () => {
|
|
2998
|
-
s.value && (
|
|
2998
|
+
s.value && (j.value = s.value);
|
|
2999
2999
|
}), H(
|
|
3000
3000
|
[o, i],
|
|
3001
3001
|
async () => {
|
|
@@ -3009,31 +3009,31 @@ const vl = {
|
|
|
3009
3009
|
), H(
|
|
3010
3010
|
Z,
|
|
3011
3011
|
() => {
|
|
3012
|
-
Z.value === "virtualTour" && (xe.value = !1), Z.value === "slideShow" && (xe.value = !0,
|
|
3012
|
+
Z.value === "virtualTour" && (xe.value = !1), Z.value === "slideShow" && (xe.value = !0, de.value = !0);
|
|
3013
3013
|
},
|
|
3014
3014
|
{ immediate: !0 }
|
|
3015
3015
|
), H(ge, () => {
|
|
3016
3016
|
if (ge.value) {
|
|
3017
|
-
|
|
3018
|
-
const C =
|
|
3017
|
+
de.value = !1;
|
|
3018
|
+
const C = Ke(te.value);
|
|
3019
3019
|
Te.value = C[0].timeSamples.find(
|
|
3020
3020
|
(D) => D.timeInHours === C[0].defaultHour
|
|
3021
3021
|
);
|
|
3022
3022
|
} else
|
|
3023
|
-
|
|
3023
|
+
de.value = !0, Y.value.unloadSunSim();
|
|
3024
3024
|
}), je(async () => {
|
|
3025
3025
|
try {
|
|
3026
|
-
|
|
3026
|
+
Ge.value ? (we.value = !1, de.value = !0) : setTimeout(() => {
|
|
3027
3027
|
we.value = !0;
|
|
3028
3028
|
}, 1e3);
|
|
3029
3029
|
} catch (C) {
|
|
3030
3030
|
ue.value = !0, P("onError", C);
|
|
3031
3031
|
}
|
|
3032
|
-
}),
|
|
3032
|
+
}), Qe(() => {
|
|
3033
3033
|
document.removeEventListener("wheel", ft);
|
|
3034
3034
|
});
|
|
3035
3035
|
function He(C = !1) {
|
|
3036
|
-
|
|
3036
|
+
de.value = !0, we.value = !1, C && $t();
|
|
3037
3037
|
}
|
|
3038
3038
|
function $t() {
|
|
3039
3039
|
const C = fe(
|
|
@@ -3047,23 +3047,23 @@ const vl = {
|
|
|
3047
3047
|
}
|
|
3048
3048
|
async function Ot() {
|
|
3049
3049
|
if (B.value = await _t(
|
|
3050
|
-
|
|
3050
|
+
j.value,
|
|
3051
3051
|
i.value
|
|
3052
3052
|
), B.value && (ie.value = B.value.cameras[0]?.id), K.value = await Ct(
|
|
3053
|
-
|
|
3053
|
+
j.value,
|
|
3054
3054
|
i.value
|
|
3055
3055
|
), K.value) {
|
|
3056
3056
|
const C = S.value !== null ? S.value : 0;
|
|
3057
3057
|
ee.value = C, ie.value = K.value.cameras[C].id, te.value = K.value.cameras[C].id;
|
|
3058
3058
|
}
|
|
3059
3059
|
_.value && (oe.value = await Lt(
|
|
3060
|
-
|
|
3060
|
+
j.value,
|
|
3061
3061
|
i.value
|
|
3062
3062
|
));
|
|
3063
3063
|
}
|
|
3064
3064
|
function Bt() {
|
|
3065
3065
|
let C = s.value;
|
|
3066
|
-
C || (C = ne.value.defaultArchetypeID), f.value && f.value.length > 0 && !f.value.includes(C) ? C = f.value[0] : console.warn("illegal interior id", C, f), C || (C = ne.value.archetypes[0].archetypeID),
|
|
3066
|
+
C || (C = ne.value.defaultArchetypeID), f.value && f.value.length > 0 && !f.value.includes(C) ? C = f.value[0] : console.warn("illegal interior id", C, f), C || (C = ne.value.archetypes[0].archetypeID), j.value = C;
|
|
3067
3067
|
}
|
|
3068
3068
|
function Dt() {
|
|
3069
3069
|
const C = document.getElementById("main-canvas");
|
|
@@ -3088,14 +3088,14 @@ const vl = {
|
|
|
3088
3088
|
), C.addEventListener(
|
|
3089
3089
|
"mousedown",
|
|
3090
3090
|
(ae) => {
|
|
3091
|
-
|
|
3091
|
+
Fe.value.startTime = (/* @__PURE__ */ new Date()).getTime(), Fe.value.startX = ae.clientX, Fe.value.startY = ae.clientY;
|
|
3092
3092
|
},
|
|
3093
3093
|
{ passive: !1 }
|
|
3094
3094
|
), C.addEventListener(
|
|
3095
3095
|
"mouseup",
|
|
3096
3096
|
(ae) => {
|
|
3097
|
-
(/* @__PURE__ */ new Date()).getTime() -
|
|
3098
|
-
Math.pow(
|
|
3097
|
+
(/* @__PURE__ */ new Date()).getTime() - Fe.value.startTime < 200 && Math.sqrt(Math.pow(ae.clientX, 2) + Math.pow(ae.clientY, 2)) - Math.sqrt(
|
|
3098
|
+
Math.pow(Fe.value.startX, 2) + Math.pow(Fe.value.startY, 2)
|
|
3099
3099
|
) < 5 && (ge.value = !1);
|
|
3100
3100
|
},
|
|
3101
3101
|
{ passive: !1 }
|
|
@@ -3168,43 +3168,43 @@ const vl = {
|
|
|
3168
3168
|
function Pt(C) {
|
|
3169
3169
|
return Y.value.setCameraFov(C);
|
|
3170
3170
|
}
|
|
3171
|
-
function
|
|
3171
|
+
function ut() {
|
|
3172
3172
|
let C = ee.value + 1;
|
|
3173
|
-
C >= Ce.value.length && (C = 0), ee.value = C,
|
|
3173
|
+
C >= Ce.value.length && (C = 0), ee.value = C, Xe(Ce.value[ee.value].id);
|
|
3174
3174
|
}
|
|
3175
3175
|
function ht() {
|
|
3176
3176
|
let C = ee.value - 1;
|
|
3177
|
-
C < 0 && (C = Ce.value.length - 1), ee.value = C,
|
|
3177
|
+
C < 0 && (C = Ce.value.length - 1), ee.value = C, Xe(Ce.value[ee.value].id);
|
|
3178
3178
|
}
|
|
3179
3179
|
function gt(C, D = !0) {
|
|
3180
|
-
let ae = Ce.value.findIndex((
|
|
3181
|
-
ae != -1 && (ee.value = ae, D &&
|
|
3180
|
+
let ae = Ce.value.findIndex((Ae) => Ae.id === C);
|
|
3181
|
+
ae != -1 && (ee.value = ae, D && Xe(C));
|
|
3182
3182
|
}
|
|
3183
|
-
function
|
|
3183
|
+
function Xe(C) {
|
|
3184
3184
|
ge.value = !1, ie.value = C;
|
|
3185
3185
|
}
|
|
3186
3186
|
function St(C) {
|
|
3187
|
-
|
|
3187
|
+
j.value = C, jt(), P("onInteriorUpdate", C), P("onCameraUpdate", te.value, B.value);
|
|
3188
3188
|
}
|
|
3189
|
-
async function
|
|
3189
|
+
async function jt() {
|
|
3190
3190
|
B.value = await _t(
|
|
3191
|
-
|
|
3191
|
+
j.value,
|
|
3192
3192
|
i.value
|
|
3193
3193
|
), K.value = await Ct(
|
|
3194
|
-
|
|
3194
|
+
j.value,
|
|
3195
3195
|
i.value
|
|
3196
3196
|
), _.value && (oe.value = await Lt(
|
|
3197
|
-
|
|
3197
|
+
j.value,
|
|
3198
3198
|
i.value
|
|
3199
3199
|
));
|
|
3200
3200
|
}
|
|
3201
|
-
function
|
|
3201
|
+
function zt(C) {
|
|
3202
3202
|
te.value = C, te.value && (gt(te.value, !1), P("onCameraUpdate", te.value, B.value));
|
|
3203
3203
|
}
|
|
3204
3204
|
const qe = V(() => (C) => {
|
|
3205
|
-
const D =
|
|
3205
|
+
const D = Ke(C);
|
|
3206
3206
|
return !D || !D[0] || !D[0].timeSamples ? !1 : D[0].timeSamples.length > 1;
|
|
3207
|
-
}),
|
|
3207
|
+
}), Ke = (C) => B.value.cameras.find((ae) => ae.id === C)?.sunsimDayOfYear;
|
|
3208
3208
|
function Yt(C) {
|
|
3209
3209
|
P("onSunsimUpdate", C);
|
|
3210
3210
|
}
|
|
@@ -3215,14 +3215,14 @@ const vl = {
|
|
|
3215
3215
|
_e.value = C;
|
|
3216
3216
|
}
|
|
3217
3217
|
function U(C) {
|
|
3218
|
-
|
|
3218
|
+
se.value = C;
|
|
3219
3219
|
}
|
|
3220
3220
|
function ye(C) {
|
|
3221
3221
|
he.value = C;
|
|
3222
3222
|
}
|
|
3223
|
-
function
|
|
3223
|
+
function z(C, D) {
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3225
|
+
function et(C) {
|
|
3226
3226
|
P("onFrontendMarkersUpdate", C);
|
|
3227
3227
|
}
|
|
3228
3228
|
function Nt(C) {
|
|
@@ -3233,9 +3233,9 @@ const vl = {
|
|
|
3233
3233
|
Y.value.updateFrontendMarkers(C);
|
|
3234
3234
|
}
|
|
3235
3235
|
function Wt(C) {
|
|
3236
|
-
Y.value = C, Y.value && (q.value && Y.value.updateSettings(q.value),
|
|
3236
|
+
Y.value = C, Y.value && (q.value && Y.value.updateSettings(q.value), ce.value ? Y.value.loadMarkersJson() : R.value && Y.value.loadDynamicMarkers(R.value), P("onInitialized", Y.value));
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function Pe() {
|
|
3239
3239
|
Y.value.clearCurrentMarkerLayer();
|
|
3240
3240
|
}
|
|
3241
3241
|
function We(C) {
|
|
@@ -3251,12 +3251,12 @@ const vl = {
|
|
|
3251
3251
|
xe.value = !xe.value;
|
|
3252
3252
|
}
|
|
3253
3253
|
async function Kt() {
|
|
3254
|
-
const C = 180 / Math.PI, D = await Y.value.takePhoto(), ae = Y.value.getRotationEuler(),
|
|
3254
|
+
const C = 180 / Math.PI, D = await Y.value.takePhoto(), ae = Y.value.getRotationEuler(), Ae = Y.value.getCurrentCamera(), ct = new ra(D, Ae), Ta = [
|
|
3255
3255
|
ae.x * -C,
|
|
3256
3256
|
ae.y * -C,
|
|
3257
3257
|
ae.z * C
|
|
3258
3258
|
];
|
|
3259
|
-
return P("onSnapshot",
|
|
3259
|
+
return P("onSnapshot", ct, Ta), ct;
|
|
3260
3260
|
}
|
|
3261
3261
|
async function Ia() {
|
|
3262
3262
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
@@ -3287,243 +3287,243 @@ const vl = {
|
|
|
3287
3287
|
const D = Math.floor(C), ae = Math.floor((D - C) * 60);
|
|
3288
3288
|
return { hours: D, minutes: ae };
|
|
3289
3289
|
}
|
|
3290
|
-
const
|
|
3290
|
+
const tt = b(!1), ea = b(null), Zt = b(1);
|
|
3291
3291
|
function ta() {
|
|
3292
|
-
if (
|
|
3293
|
-
clearInterval(ea.value),
|
|
3292
|
+
if (tt.value) {
|
|
3293
|
+
clearInterval(ea.value), tt.value = !1, Y.value.toggleAutoRotate();
|
|
3294
3294
|
return;
|
|
3295
3295
|
}
|
|
3296
|
-
|
|
3297
|
-
Zt.value = 1 * Zt.value, Y.value.setAutoRotateSpeed(Zt.value),
|
|
3296
|
+
tt.value = !0, Y.value.toggleAutoRotate(), ea.value = setInterval(() => {
|
|
3297
|
+
Zt.value = 1 * Zt.value, Y.value.setAutoRotateSpeed(Zt.value), ut();
|
|
3298
3298
|
}, 5e3);
|
|
3299
3299
|
}
|
|
3300
3300
|
return (C, D) => {
|
|
3301
3301
|
const ae = x("v-btn");
|
|
3302
|
-
return v(),
|
|
3303
|
-
class: me(["virtual-tour-wrapper", [
|
|
3302
|
+
return v(), M("div", {
|
|
3303
|
+
class: me(["virtual-tour-wrapper", [Ue.value]])
|
|
3304
3304
|
}, [
|
|
3305
|
-
ue.value ? (v(),
|
|
3305
|
+
ue.value ? (v(), M("div", pl, "Error loading the player!!")) : E("", !0),
|
|
3306
3306
|
e("div", fl, [
|
|
3307
|
-
!Ee.value.isActive && oe.value && te.value && W.value &&
|
|
3307
|
+
!Ee.value.isActive && oe.value && te.value && W.value && j.value && Le.value ? (v(), A(la, {
|
|
3308
3308
|
key: 0,
|
|
3309
3309
|
"cdn-file-resolver": g(o),
|
|
3310
3310
|
"apartment-json": B.value,
|
|
3311
|
-
level:
|
|
3311
|
+
level: Ye.value,
|
|
3312
3312
|
"minimap-json": oe.value,
|
|
3313
3313
|
rotation: _e.value,
|
|
3314
3314
|
"current-camera": te.value,
|
|
3315
|
-
onGoToCamera:
|
|
3316
|
-
onClose: D[0] || (D[0] = (
|
|
3317
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) :
|
|
3318
|
-
|
|
3315
|
+
onGoToCamera: Xe,
|
|
3316
|
+
onClose: D[0] || (D[0] = (Ae) => Le.value = !1)
|
|
3317
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : E("", !0),
|
|
3318
|
+
j.value && ie.value ? (v(), M("div", {
|
|
3319
3319
|
key: 1,
|
|
3320
|
-
class: me(["v-player", [
|
|
3320
|
+
class: me(["v-player", [Ue.value]])
|
|
3321
3321
|
}, [
|
|
3322
3322
|
h(vn, {
|
|
3323
3323
|
ref: "vPlayerInstance",
|
|
3324
3324
|
"cdn-file-resolver": g(o),
|
|
3325
|
-
style:
|
|
3325
|
+
style: ve({ zIndex: xe.value ? 1 : 2 }),
|
|
3326
3326
|
"show-static-image": xe.value,
|
|
3327
3327
|
"current-camera-id": ie.value,
|
|
3328
|
-
"mouse-sensitivity": g(
|
|
3329
|
-
"interior-id":
|
|
3328
|
+
"mouse-sensitivity": g(le),
|
|
3329
|
+
"interior-id": j.value,
|
|
3330
3330
|
"apartment-id": g(i),
|
|
3331
|
-
onNewCameraCallback:
|
|
3331
|
+
onNewCameraCallback: zt,
|
|
3332
3332
|
onNewRotationCallback: $,
|
|
3333
3333
|
onNewFloorCallback: U,
|
|
3334
3334
|
onNewFovCallback: ye,
|
|
3335
|
-
onNewSizeCallback:
|
|
3335
|
+
onNewSizeCallback: z,
|
|
3336
3336
|
onSunsimCallback: Yt,
|
|
3337
3337
|
onPlayerApiCallback: Wt,
|
|
3338
|
-
onFrontendMarkersUpdate:
|
|
3338
|
+
onFrontendMarkersUpdate: et
|
|
3339
3339
|
}, {
|
|
3340
3340
|
"slideshow-image": c(() => [
|
|
3341
|
-
xe.value ? (v(),
|
|
3341
|
+
xe.value ? (v(), A(Ma, {
|
|
3342
3342
|
key: 0,
|
|
3343
|
-
image:
|
|
3344
|
-
}, null, 8, ["image"])) :
|
|
3343
|
+
image: rt.value
|
|
3344
|
+
}, null, 8, ["image"])) : E("", !0)
|
|
3345
3345
|
]),
|
|
3346
3346
|
"top-left": c(() => [
|
|
3347
|
-
g(O) ? (v(),
|
|
3347
|
+
g(O) ? (v(), A(ae, {
|
|
3348
3348
|
key: 0,
|
|
3349
3349
|
density: "comfortable",
|
|
3350
3350
|
icon: "mdi-cog-outline",
|
|
3351
3351
|
elevation: "3",
|
|
3352
3352
|
class: "mr-2",
|
|
3353
|
-
onClick: D[1] || (D[1] = (
|
|
3354
|
-
})) :
|
|
3353
|
+
onClick: D[1] || (D[1] = (Ae) => G.value = !G.value)
|
|
3354
|
+
})) : E("", !0),
|
|
3355
3355
|
Je(h(ae, {
|
|
3356
3356
|
density: "comfortable",
|
|
3357
3357
|
icon: "mdi-alert-outline",
|
|
3358
3358
|
elevation: "3",
|
|
3359
3359
|
class: "mr-2",
|
|
3360
|
-
onClick: D[2] || (D[2] = (
|
|
3360
|
+
onClick: D[2] || (D[2] = (Ae) => we.value = !we.value)
|
|
3361
3361
|
}, null, 512), [
|
|
3362
|
-
[
|
|
3362
|
+
[st, de.value]
|
|
3363
3363
|
]),
|
|
3364
|
-
oe.value && ie.value && W.value ? Je((v(),
|
|
3364
|
+
oe.value && ie.value && W.value ? Je((v(), A(ae, {
|
|
3365
3365
|
key: 1,
|
|
3366
3366
|
density: "comfortable",
|
|
3367
3367
|
elevation: "3",
|
|
3368
3368
|
icon: "mdi-floor-plan",
|
|
3369
3369
|
class: "mr-2",
|
|
3370
|
-
onClick: D[3] || (D[3] = (
|
|
3370
|
+
onClick: D[3] || (D[3] = (Ae) => Le.value = !Le.value)
|
|
3371
3371
|
}, null, 512)), [
|
|
3372
|
-
[
|
|
3373
|
-
]) :
|
|
3374
|
-
|
|
3372
|
+
[st, de.value]
|
|
3373
|
+
]) : E("", !0),
|
|
3374
|
+
de.value && g(L) && ze.value.length > 1 ? (v(), A(yn, {
|
|
3375
3375
|
key: 2,
|
|
3376
|
-
level:
|
|
3377
|
-
"floor-levels":
|
|
3376
|
+
level: se.value,
|
|
3377
|
+
"floor-levels": ze.value,
|
|
3378
3378
|
onLevel: U
|
|
3379
|
-
}, null, 8, ["level", "floor-levels"])) :
|
|
3380
|
-
g(O) && G.value ? (v(),
|
|
3379
|
+
}, null, 8, ["level", "floor-levels"])) : E("", !0),
|
|
3380
|
+
g(O) && G.value ? (v(), M("div", hl, [
|
|
3381
3381
|
h(_o, {
|
|
3382
3382
|
"initial-settings": g(q),
|
|
3383
3383
|
onUpdateSettings: Fa,
|
|
3384
3384
|
onSaveSettings: Va
|
|
3385
3385
|
}, null, 8, ["initial-settings"])
|
|
3386
|
-
])) :
|
|
3386
|
+
])) : E("", !0)
|
|
3387
3387
|
]),
|
|
3388
3388
|
"top-center": c(() => [...D[12] || (D[12] = [])]),
|
|
3389
3389
|
"top-right": c(() => [
|
|
3390
|
-
B.value && g(d) ? Je((v(),
|
|
3390
|
+
B.value && g(d) ? Je((v(), M("div", gl, [
|
|
3391
3391
|
h(En, { rotation: _e.value }, null, 8, ["rotation"])
|
|
3392
3392
|
], 512)), [
|
|
3393
|
-
[
|
|
3394
|
-
]) :
|
|
3393
|
+
[st, de.value]
|
|
3394
|
+
]) : E("", !0),
|
|
3395
3395
|
e("div", {
|
|
3396
|
-
onClick: D[4] || (D[4] = (
|
|
3396
|
+
onClick: D[4] || (D[4] = (Ae) => Le.value = !Le.value)
|
|
3397
3397
|
}, [
|
|
3398
|
-
|
|
3398
|
+
de.value && B.value && pe.value && g(y) ? (v(), A(Vn, {
|
|
3399
3399
|
key: 0,
|
|
3400
3400
|
hours: be.value.hours,
|
|
3401
3401
|
minutes: be.value.minutes,
|
|
3402
3402
|
class: "time-of-day",
|
|
3403
|
-
style:
|
|
3403
|
+
style: ve({
|
|
3404
3404
|
cursor: oe.value && te.value && W.value ? "pointer" : "default"
|
|
3405
3405
|
})
|
|
3406
|
-
}, null, 8, ["hours", "minutes", "style"])) :
|
|
3406
|
+
}, null, 8, ["hours", "minutes", "style"])) : E("", !0)
|
|
3407
3407
|
])
|
|
3408
3408
|
]),
|
|
3409
3409
|
"center-left": c(() => [
|
|
3410
|
-
h(
|
|
3410
|
+
h(Re, { name: "slide-x-transition" }, {
|
|
3411
3411
|
default: c(() => [
|
|
3412
|
-
xe.value ? (v(),
|
|
3412
|
+
xe.value ? (v(), A(ae, {
|
|
3413
3413
|
key: 0,
|
|
3414
3414
|
density: "comfortable",
|
|
3415
3415
|
elevation: "3",
|
|
3416
3416
|
icon: "mdi-chevron-left",
|
|
3417
3417
|
onClick: ht
|
|
3418
|
-
})) :
|
|
3418
|
+
})) : E("", !0)
|
|
3419
3419
|
]),
|
|
3420
3420
|
_: 1
|
|
3421
3421
|
})
|
|
3422
3422
|
]),
|
|
3423
3423
|
"center-center": c(() => [
|
|
3424
|
-
we.value ? (v(),
|
|
3424
|
+
we.value ? (v(), A(oo, {
|
|
3425
3425
|
key: 0,
|
|
3426
|
-
onCloseTutorial: D[5] || (D[5] = (
|
|
3427
|
-
})) :
|
|
3428
|
-
Ee.value.isActive && oe.value && te.value && W.value && Le.value ? (v(),
|
|
3426
|
+
onCloseTutorial: D[5] || (D[5] = (Ae) => He(Ae))
|
|
3427
|
+
})) : E("", !0),
|
|
3428
|
+
Ee.value.isActive && oe.value && te.value && W.value && Le.value ? (v(), A(la, {
|
|
3429
3429
|
key: 1,
|
|
3430
3430
|
"cdn-file-resolver": g(o),
|
|
3431
3431
|
"apartment-json": B.value,
|
|
3432
3432
|
"minimap-json": oe.value,
|
|
3433
3433
|
rotation: _e.value,
|
|
3434
3434
|
"current-camera": te.value,
|
|
3435
|
-
level:
|
|
3436
|
-
onClose: D[6] || (D[6] = (
|
|
3437
|
-
onGoToCamera:
|
|
3438
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) :
|
|
3435
|
+
level: Ye.value,
|
|
3436
|
+
onClose: D[6] || (D[6] = (Ae) => Le.value = !1),
|
|
3437
|
+
onGoToCamera: Xe
|
|
3438
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : E("", !0)
|
|
3439
3439
|
]),
|
|
3440
3440
|
"center-right": c(() => [
|
|
3441
|
-
h(
|
|
3441
|
+
h(Re, { name: "slide-x-reverse-transition" }, {
|
|
3442
3442
|
default: c(() => [
|
|
3443
|
-
xe.value ? (v(),
|
|
3443
|
+
xe.value ? (v(), A(ae, {
|
|
3444
3444
|
key: 0,
|
|
3445
3445
|
density: "comfortable",
|
|
3446
3446
|
elevation: "3",
|
|
3447
3447
|
icon: "mdi-chevron-right",
|
|
3448
|
-
onClick:
|
|
3449
|
-
})) :
|
|
3448
|
+
onClick: ut
|
|
3449
|
+
})) : E("", !0)
|
|
3450
3450
|
]),
|
|
3451
3451
|
_: 1
|
|
3452
3452
|
})
|
|
3453
3453
|
]),
|
|
3454
3454
|
"bottom-left": c(() => [
|
|
3455
|
-
g(
|
|
3455
|
+
g(I) ? (v(), A(Aa, {
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
"is-full-screen": Ee.value.isActive,
|
|
3458
3458
|
class: "btn-fullscreen",
|
|
3459
3459
|
onToggleFullscreen: Ze
|
|
3460
|
-
}, null, 8, ["is-full-screen"])) :
|
|
3461
|
-
g(k) ? (v(),
|
|
3460
|
+
}, null, 8, ["is-full-screen"])) : E("", !0),
|
|
3461
|
+
g(k) ? (v(), M("div", yl, [
|
|
3462
3462
|
h(ae, {
|
|
3463
3463
|
density: "comfortable",
|
|
3464
3464
|
elevation: "3",
|
|
3465
3465
|
icon: "mdi-camera",
|
|
3466
3466
|
onClick: Kt
|
|
3467
3467
|
})
|
|
3468
|
-
])) :
|
|
3468
|
+
])) : E("", !0),
|
|
3469
3469
|
e("div", wl, [
|
|
3470
|
-
g(w) &&
|
|
3470
|
+
g(w) && de.value ? (v(), A(On, {
|
|
3471
3471
|
key: 0,
|
|
3472
3472
|
"show-static-image": xe.value,
|
|
3473
3473
|
onToggle: Mt
|
|
3474
|
-
}, null, 8, ["show-static-image"])) :
|
|
3474
|
+
}, null, 8, ["show-static-image"])) : E("", !0)
|
|
3475
3475
|
]),
|
|
3476
|
-
|
|
3476
|
+
de.value && g(u) && !Ee.value.isActive ? (v(), M("div", bl, [
|
|
3477
3477
|
h(Ea)
|
|
3478
|
-
])) :
|
|
3479
|
-
|
|
3478
|
+
])) : E("", !0),
|
|
3479
|
+
de.value && l.showVisuadoCreateButton ? (v(), M("div", kl, [
|
|
3480
3480
|
h(ml, { onOnSnapshot: Ia })
|
|
3481
|
-
])) :
|
|
3481
|
+
])) : E("", !0)
|
|
3482
3482
|
]),
|
|
3483
3483
|
"bottom-center": c(() => [
|
|
3484
|
-
h(
|
|
3484
|
+
h(Re, null, {
|
|
3485
3485
|
default: c(() => [
|
|
3486
3486
|
e("div", null, [
|
|
3487
3487
|
e("div", {
|
|
3488
3488
|
class: me(["d-flex justify-center", {
|
|
3489
|
-
"mb-2": !
|
|
3489
|
+
"mb-2": !re.value
|
|
3490
3490
|
}])
|
|
3491
3491
|
}, [
|
|
3492
|
-
!
|
|
3492
|
+
!tt.value && qe.value(te.value) ? (v(), A(Ko, {
|
|
3493
3493
|
key: 0,
|
|
3494
3494
|
class: "ml-2",
|
|
3495
3495
|
displaySunsim: ge.value,
|
|
3496
|
-
showUI:
|
|
3497
|
-
onToggleSunStudy: D[7] || (D[7] = (
|
|
3498
|
-
}, null, 8, ["displaySunsim", "showUI"])) :
|
|
3496
|
+
showUI: de.value,
|
|
3497
|
+
onToggleSunStudy: D[7] || (D[7] = (Ae) => ge.value = !ge.value)
|
|
3498
|
+
}, null, 8, ["displaySunsim", "showUI"])) : E("", !0)
|
|
3499
3499
|
], 2),
|
|
3500
|
-
!
|
|
3500
|
+
!re.value && !tt.value && ie.value && ge.value && qe.value(te.value) && Ke(te.value)[0] && Te.value ? (v(), A(sa, {
|
|
3501
3501
|
key: 0,
|
|
3502
3502
|
class: "sunsim-slider-desktop",
|
|
3503
|
-
"current-day": qe.value(te.value) ?
|
|
3503
|
+
"current-day": qe.value(te.value) ? Ke(te.value)[0] : void 0,
|
|
3504
3504
|
"current-time": Te.value,
|
|
3505
3505
|
onOnTimeChange: Et,
|
|
3506
|
-
onToggleSunStudy: D[8] || (D[8] = (
|
|
3507
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3508
|
-
!
|
|
3506
|
+
onToggleSunStudy: D[8] || (D[8] = (Ae) => ge.value = !ge.value)
|
|
3507
|
+
}, null, 8, ["current-day", "current-time"])) : E("", !0),
|
|
3508
|
+
!re.value && de.value && g(m) ? (v(), A(Vt, {
|
|
3509
3509
|
key: 1,
|
|
3510
3510
|
class: me([Ee.value.isActive ? "full-screen" : ""]),
|
|
3511
3511
|
thumbnails: Ce.value,
|
|
3512
3512
|
active: ee.value,
|
|
3513
3513
|
cameraHasSunStudy: qe.value,
|
|
3514
|
-
onNext:
|
|
3514
|
+
onNext: ut,
|
|
3515
3515
|
onPrevious: ht,
|
|
3516
3516
|
onGoto: gt
|
|
3517
3517
|
}, {
|
|
3518
3518
|
before: c(() => [
|
|
3519
|
-
l.enableAutoplay &&
|
|
3519
|
+
l.enableAutoplay && de.value && !re.value ? (v(), A(ia, {
|
|
3520
3520
|
key: 0,
|
|
3521
|
-
autoplayStatus:
|
|
3522
|
-
onToggleAutoPlay: D[9] || (D[9] = (
|
|
3523
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3521
|
+
autoplayStatus: tt.value,
|
|
3522
|
+
onToggleAutoPlay: D[9] || (D[9] = (Ae) => ta())
|
|
3523
|
+
}, null, 8, ["autoplayStatus"])) : E("", !0)
|
|
3524
3524
|
]),
|
|
3525
3525
|
_: 1
|
|
3526
|
-
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3526
|
+
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) : E("", !0)
|
|
3527
3527
|
])
|
|
3528
3528
|
]),
|
|
3529
3529
|
_: 1
|
|
@@ -3531,53 +3531,53 @@ const vl = {
|
|
|
3531
3531
|
]),
|
|
3532
3532
|
"bottom-right": c(() => [
|
|
3533
3533
|
e("div", _l, [
|
|
3534
|
-
|
|
3534
|
+
de.value && g(p) && F.value ? (v(), A(Sn, {
|
|
3535
3535
|
key: 0,
|
|
3536
3536
|
"cdn-file-resolver": g(o),
|
|
3537
3537
|
"available-archetypes": F.value,
|
|
3538
|
-
"selected-index":
|
|
3538
|
+
"selected-index": De.value,
|
|
3539
3539
|
onSelectInterior: St
|
|
3540
|
-
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) :
|
|
3540
|
+
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : E("", !0)
|
|
3541
3541
|
])
|
|
3542
3542
|
]),
|
|
3543
3543
|
_: 1
|
|
3544
3544
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3545
|
-
h(
|
|
3545
|
+
h(Re, null, {
|
|
3546
3546
|
default: c(() => [
|
|
3547
|
-
g(m) && K.value &&
|
|
3547
|
+
g(m) && K.value && re.value && de.value ? (v(), A(Vt, {
|
|
3548
3548
|
key: 0,
|
|
3549
3549
|
class: "waypoint-carousel below-player",
|
|
3550
3550
|
thumbnails: Ce.value,
|
|
3551
3551
|
active: ee.value,
|
|
3552
3552
|
cameraHasSunStudy: qe.value,
|
|
3553
|
-
onNext:
|
|
3553
|
+
onNext: ut,
|
|
3554
3554
|
onPrevious: ht,
|
|
3555
3555
|
onGoto: gt
|
|
3556
3556
|
}, {
|
|
3557
3557
|
before: c(() => [
|
|
3558
|
-
l.enableAutoplay &&
|
|
3558
|
+
l.enableAutoplay && de.value ? (v(), A(ia, {
|
|
3559
3559
|
key: 0,
|
|
3560
|
-
autoplayStatus:
|
|
3561
|
-
onToggleAutoPlay: D[10] || (D[10] = (
|
|
3562
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3560
|
+
autoplayStatus: tt.value,
|
|
3561
|
+
onToggleAutoPlay: D[10] || (D[10] = (Ae) => ta())
|
|
3562
|
+
}, null, 8, ["autoplayStatus"])) : E("", !0)
|
|
3563
3563
|
]),
|
|
3564
3564
|
_: 1
|
|
3565
|
-
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3565
|
+
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) : E("", !0)
|
|
3566
3566
|
]),
|
|
3567
3567
|
_: 1
|
|
3568
3568
|
}),
|
|
3569
|
-
|
|
3570
|
-
!
|
|
3569
|
+
re.value ? (v(), M("div", Cl, [
|
|
3570
|
+
!tt.value && ie.value && ge.value && qe.value(te.value) && Ke(te.value)[0] && Te.value ? (v(), A(sa, {
|
|
3571
3571
|
key: 0,
|
|
3572
3572
|
class: "mt-1",
|
|
3573
|
-
"current-day": qe.value(te.value) ?
|
|
3573
|
+
"current-day": qe.value(te.value) ? Ke(te.value)[0] : void 0,
|
|
3574
3574
|
"current-time": Te.value,
|
|
3575
3575
|
onOnTimeChange: Et,
|
|
3576
|
-
onToggleSunStudy: D[11] || (D[11] = (
|
|
3577
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3578
|
-
])) :
|
|
3579
|
-
], 2)) :
|
|
3580
|
-
g(Se) && g(ke) ? (v(),
|
|
3576
|
+
onToggleSunStudy: D[11] || (D[11] = (Ae) => ge.value = !ge.value)
|
|
3577
|
+
}, null, 8, ["current-day", "current-time"])) : E("", !0)
|
|
3578
|
+
])) : E("", !0)
|
|
3579
|
+
], 2)) : E("", !0),
|
|
3580
|
+
g(Se) && g(ke) ? (v(), M("div", Ll, " version: " + T(g(Se)), 1)) : E("", !0)
|
|
3581
3581
|
])
|
|
3582
3582
|
], 2);
|
|
3583
3583
|
};
|
|
@@ -3642,8 +3642,8 @@ const vl = {
|
|
|
3642
3642
|
animate: !1
|
|
3643
3643
|
}
|
|
3644
3644
|
);
|
|
3645
|
-
}), H([i, w], ([d], [
|
|
3646
|
-
d ===
|
|
3645
|
+
}), H([i, w], ([d], [I]) => {
|
|
3646
|
+
d === I && m.value.setCurrentDataPoint(
|
|
3647
3647
|
(k) => k.interiorId === s.value && k.cameraId === i.value && ((!f.value || !w.value) && k.dayOfYear === void 0 || !!f.value && !!w.value && k.dayOfYear === f.value.dayOfYear && k.timeInHours === w.value.timeInHours),
|
|
3648
3648
|
{
|
|
3649
3649
|
rotate: !1,
|
|
@@ -3651,7 +3651,7 @@ const vl = {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
);
|
|
3653
3653
|
}), je(async () => {
|
|
3654
|
-
Ca.isBrowser && (m.value = new
|
|
3654
|
+
Ca.isBrowser && (m.value = new ja(), m.value.addEventListener(
|
|
3655
3655
|
"autoRotatePluginOptions",
|
|
3656
3656
|
(d) => {
|
|
3657
3657
|
y("autoRotatePluginOptions", d);
|
|
@@ -3754,9 +3754,9 @@ const vl = {
|
|
|
3754
3754
|
(d) => d.interiorId === s.value && !d.dayOfYear && !d.timeInHours,
|
|
3755
3755
|
(d) => d.interiorId === s.value && d.cameraId === i.value && !d.dayOfYear && !d.timeInHours
|
|
3756
3756
|
), m.value.animate(), y("playerCoreAccessible", m.value));
|
|
3757
|
-
}),
|
|
3757
|
+
}), Qe(() => {
|
|
3758
3758
|
m.value.destroy(), m.value = void 0;
|
|
3759
|
-
}), (d,
|
|
3759
|
+
}), (d, I) => (v(), M("div", El, [
|
|
3760
3760
|
e("div", Ml, [
|
|
3761
3761
|
J(d.$slots, "slideshow-image", {}, void 0, !0),
|
|
3762
3762
|
e("div", Al, [
|
|
@@ -3786,7 +3786,7 @@ const vl = {
|
|
|
3786
3786
|
e("div", Dl, [
|
|
3787
3787
|
J(d.$slots, "bottom-right", {}, void 0, !0)
|
|
3788
3788
|
]),
|
|
3789
|
-
|
|
3789
|
+
I[0] || (I[0] = e("div", { id: "main-canvas" }, [
|
|
3790
3790
|
e("canvas", { id: "qpc" })
|
|
3791
3791
|
], -1))
|
|
3792
3792
|
])
|
|
@@ -3800,12 +3800,12 @@ const vl = {
|
|
|
3800
3800
|
},
|
|
3801
3801
|
emits: ["update:modelValue"],
|
|
3802
3802
|
setup(l) {
|
|
3803
|
-
const t =
|
|
3803
|
+
const t = it(l, "modelValue"), a = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
3804
3804
|
window.navigator.userAgent
|
|
3805
3805
|
));
|
|
3806
3806
|
return (n, o) => {
|
|
3807
3807
|
const i = x("v-icon"), s = x("v-btn");
|
|
3808
|
-
return v(),
|
|
3808
|
+
return v(), A(s, {
|
|
3809
3809
|
size: "x-small",
|
|
3810
3810
|
class: me(["autoplay-btn", { mobile: a.value, "mt-1": a.value, "mx-1": a.value }]),
|
|
3811
3811
|
onClick: o[0] || (o[0] = (f) => t.value = !t.value)
|
|
@@ -3827,7 +3827,7 @@ const vl = {
|
|
|
3827
3827
|
height: "24",
|
|
3828
3828
|
viewBox: "0 0 24 24",
|
|
3829
3829
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3830
|
-
},
|
|
3830
|
+
}, jl = /* @__PURE__ */ N({
|
|
3831
3831
|
__name: "VViewModeToggle",
|
|
3832
3832
|
props: {
|
|
3833
3833
|
modelValue: { type: Boolean },
|
|
@@ -3835,29 +3835,29 @@ const vl = {
|
|
|
3835
3835
|
},
|
|
3836
3836
|
emits: ["update:modelValue"],
|
|
3837
3837
|
setup(l) {
|
|
3838
|
-
const t =
|
|
3838
|
+
const t = it(l, "modelValue"), a = Me(Oe), n = V(() => {
|
|
3839
3839
|
let o = "virtualTour";
|
|
3840
3840
|
return t.value || (o = "slideShow"), o;
|
|
3841
3841
|
});
|
|
3842
3842
|
return (o, i) => {
|
|
3843
3843
|
const s = x("v-icon"), f = x("v-btn"), w = x("v-tooltip");
|
|
3844
|
-
return v(),
|
|
3844
|
+
return v(), A(w, { location: "top" }, {
|
|
3845
3845
|
activator: c(({ props: r }) => [
|
|
3846
|
-
h(f,
|
|
3846
|
+
h(f, Ie({
|
|
3847
3847
|
density: "comfortable",
|
|
3848
3848
|
elevation: "1",
|
|
3849
3849
|
icon: "",
|
|
3850
3850
|
onClick: i[0] || (i[0] = (m) => t.value = !t.value)
|
|
3851
3851
|
}, r), {
|
|
3852
3852
|
default: c(() => [
|
|
3853
|
-
n.value === "virtualTour" ? (v(),
|
|
3853
|
+
n.value === "virtualTour" ? (v(), M("svg", Pl, [...i[1] || (i[1] = [
|
|
3854
3854
|
e("path", {
|
|
3855
3855
|
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",
|
|
3856
3856
|
class: "fill-grey"
|
|
3857
3857
|
}, null, -1),
|
|
3858
3858
|
e("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),
|
|
3859
3859
|
e("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)
|
|
3860
|
-
])])) : (v(),
|
|
3860
|
+
])])) : (v(), A(s, { key: 1 }, {
|
|
3861
3861
|
default: c(() => [...i[2] || (i[2] = [
|
|
3862
3862
|
Q("mdi-image-multiple", -1)
|
|
3863
3863
|
])]),
|
|
@@ -3874,13 +3874,13 @@ const vl = {
|
|
|
3874
3874
|
});
|
|
3875
3875
|
};
|
|
3876
3876
|
}
|
|
3877
|
-
}),
|
|
3877
|
+
}), zl = /* @__PURE__ */ X(jl, [["__scopeId", "data-v-c1d52554"]]), Yl = {
|
|
3878
3878
|
id: "share-btns-wrapper",
|
|
3879
3879
|
class: "text-center"
|
|
3880
3880
|
}, Nl = /* @__PURE__ */ N({
|
|
3881
3881
|
__name: "VSocialShare",
|
|
3882
3882
|
setup(l) {
|
|
3883
|
-
const t =
|
|
3883
|
+
const t = Me(Oe), a = b(!1), n = b(location.href);
|
|
3884
3884
|
function o() {
|
|
3885
3885
|
return window.open(
|
|
3886
3886
|
"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(location.href),
|
|
@@ -3906,15 +3906,15 @@ const vl = {
|
|
|
3906
3906
|
navigator.clipboard.writeText(location.href);
|
|
3907
3907
|
}
|
|
3908
3908
|
return (w, r) => {
|
|
3909
|
-
const m = x("v-btn"), y = x("v-tooltip"), d = x("v-toolbar-title"),
|
|
3910
|
-
return v(),
|
|
3909
|
+
const m = x("v-btn"), y = x("v-tooltip"), d = x("v-toolbar-title"), I = x("v-spacer"), k = x("v-toolbar"), u = x("v-card-text"), p = x("v-card"), _ = x("v-dialog");
|
|
3910
|
+
return v(), M("div", null, [
|
|
3911
3911
|
h(y, {
|
|
3912
3912
|
elevation: "2",
|
|
3913
3913
|
top: "",
|
|
3914
3914
|
attach: ""
|
|
3915
3915
|
}, {
|
|
3916
3916
|
activator: c(({ props: L }) => [
|
|
3917
|
-
h(m,
|
|
3917
|
+
h(m, Ie({
|
|
3918
3918
|
density: "comfortable",
|
|
3919
3919
|
elevation: "1",
|
|
3920
3920
|
icon: "mdi-share-variant",
|
|
@@ -3948,7 +3948,7 @@ const vl = {
|
|
|
3948
3948
|
]),
|
|
3949
3949
|
_: 1
|
|
3950
3950
|
}),
|
|
3951
|
-
h(
|
|
3951
|
+
h(I)
|
|
3952
3952
|
]),
|
|
3953
3953
|
_: 1
|
|
3954
3954
|
}),
|
|
@@ -3957,7 +3957,7 @@ const vl = {
|
|
|
3957
3957
|
e("p", Yl, [
|
|
3958
3958
|
h(y, { location: "top" }, {
|
|
3959
3959
|
activator: c(({ props: L }) => [
|
|
3960
|
-
h(m,
|
|
3960
|
+
h(m, Ie({
|
|
3961
3961
|
depressed: "",
|
|
3962
3962
|
fab: "",
|
|
3963
3963
|
light: "",
|
|
@@ -3971,7 +3971,7 @@ const vl = {
|
|
|
3971
3971
|
}),
|
|
3972
3972
|
h(y, { location: "top" }, {
|
|
3973
3973
|
activator: c(({ props: L }) => [
|
|
3974
|
-
h(m,
|
|
3974
|
+
h(m, Ie({
|
|
3975
3975
|
depressed: "",
|
|
3976
3976
|
fab: "",
|
|
3977
3977
|
light: "",
|
|
@@ -3985,7 +3985,7 @@ const vl = {
|
|
|
3985
3985
|
}),
|
|
3986
3986
|
h(y, { location: "top" }, {
|
|
3987
3987
|
activator: c(({ props: L }) => [
|
|
3988
|
-
h(m,
|
|
3988
|
+
h(m, Ie({
|
|
3989
3989
|
depressed: "",
|
|
3990
3990
|
fab: "",
|
|
3991
3991
|
light: "",
|
|
@@ -3999,7 +3999,7 @@ const vl = {
|
|
|
3999
3999
|
}),
|
|
4000
4000
|
h(y, { location: "top" }, {
|
|
4001
4001
|
activator: c(({ props: L }) => [
|
|
4002
|
-
h(m,
|
|
4002
|
+
h(m, Ie({
|
|
4003
4003
|
depressed: "",
|
|
4004
4004
|
fab: "",
|
|
4005
4005
|
light: "",
|
|
@@ -4015,7 +4015,7 @@ const vl = {
|
|
|
4015
4015
|
}),
|
|
4016
4016
|
h(y, { location: "top" }, {
|
|
4017
4017
|
activator: c(({ props: L }) => [
|
|
4018
|
-
h(m,
|
|
4018
|
+
h(m, Ie({
|
|
4019
4019
|
depressed: "",
|
|
4020
4020
|
fab: "",
|
|
4021
4021
|
light: "",
|
|
@@ -4028,7 +4028,7 @@ const vl = {
|
|
|
4028
4028
|
]),
|
|
4029
4029
|
_: 1
|
|
4030
4030
|
}),
|
|
4031
|
-
h(
|
|
4031
|
+
h(I)
|
|
4032
4032
|
])
|
|
4033
4033
|
]),
|
|
4034
4034
|
_: 1
|
|
@@ -4052,7 +4052,7 @@ const vl = {
|
|
|
4052
4052
|
__name: "VTutorial",
|
|
4053
4053
|
emits: ["closeTutorial"],
|
|
4054
4054
|
setup(l, { emit: t }) {
|
|
4055
|
-
const a = t, n =
|
|
4055
|
+
const a = t, n = Me(Oe), o = b(!1), i = b(!1), s = V(() => [
|
|
4056
4056
|
/Android/i,
|
|
4057
4057
|
/webOS/i,
|
|
4058
4058
|
/iPhone/i,
|
|
@@ -4065,8 +4065,8 @@ const vl = {
|
|
|
4065
4065
|
a("closeTutorial", o.value);
|
|
4066
4066
|
}
|
|
4067
4067
|
return (w, r) => {
|
|
4068
|
-
const m = x("v-icon"), y = x("v-card-title"), d = x("v-btn"),
|
|
4069
|
-
return v(),
|
|
4068
|
+
const m = x("v-icon"), y = x("v-card-title"), d = x("v-btn"), I = x("v-divider"), k = x("v-card-text"), u = x("v-card-actions"), p = x("v-card"), _ = x("v-expand-transition"), L = x("v-checkbox");
|
|
4069
|
+
return v(), A(Re, { name: "fade-transition" }, {
|
|
4070
4070
|
default: c(() => [
|
|
4071
4071
|
h(p, {
|
|
4072
4072
|
class: "mx-auto",
|
|
@@ -4105,8 +4105,8 @@ const vl = {
|
|
|
4105
4105
|
]),
|
|
4106
4106
|
_: 1
|
|
4107
4107
|
}),
|
|
4108
|
-
h(
|
|
4109
|
-
s.value ?
|
|
4108
|
+
h(I, { class: "my-3" }),
|
|
4109
|
+
s.value ? E("", !0) : (v(), M("div", Zl, [
|
|
4110
4110
|
e("div", ql, [
|
|
4111
4111
|
e("div", Jl, [
|
|
4112
4112
|
r[6] || (r[6] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -4442,7 +4442,7 @@ const vl = {
|
|
|
4442
4442
|
])
|
|
4443
4443
|
])
|
|
4444
4444
|
])),
|
|
4445
|
-
s.value ? (v(),
|
|
4445
|
+
s.value ? (v(), M("div", ns, [
|
|
4446
4446
|
e("div", os, [
|
|
4447
4447
|
r[10] || (r[10] = e("div", { class: "tutorial-icon justify-center" }, [
|
|
4448
4448
|
e("svg", {
|
|
@@ -4657,14 +4657,14 @@ const vl = {
|
|
|
4657
4657
|
], -1)),
|
|
4658
4658
|
e("div", us, T(g(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4659
4659
|
])
|
|
4660
|
-
])) :
|
|
4661
|
-
h(
|
|
4660
|
+
])) : E("", !0),
|
|
4661
|
+
h(I, { class: "my-1" })
|
|
4662
4662
|
]),
|
|
4663
4663
|
_: 1
|
|
4664
4664
|
}),
|
|
4665
4665
|
h(_, null, {
|
|
4666
4666
|
default: c(() => [
|
|
4667
|
-
i.value ? (v(),
|
|
4667
|
+
i.value ? (v(), A(p, {
|
|
4668
4668
|
key: 0,
|
|
4669
4669
|
class: "position-absolute w-100 bg-white",
|
|
4670
4670
|
height: "100%",
|
|
@@ -4710,7 +4710,7 @@ const vl = {
|
|
|
4710
4710
|
})
|
|
4711
4711
|
]),
|
|
4712
4712
|
_: 1
|
|
4713
|
-
})) :
|
|
4713
|
+
})) : E("", !0)
|
|
4714
4714
|
]),
|
|
4715
4715
|
_: 1
|
|
4716
4716
|
}),
|
|
@@ -4781,18 +4781,18 @@ const vl = {
|
|
|
4781
4781
|
function d(u) {
|
|
4782
4782
|
u = u || window.event, u.preventDefault();
|
|
4783
4783
|
let p = u;
|
|
4784
|
-
u.type === "touchstart" && (p = u.touches[0]), m = p.clientX, y = p.clientY, document.addEventListener("mouseup", k, { passive: !1 }), document.addEventListener("touchend", k, { passive: !1 }), document.addEventListener("mousemove",
|
|
4784
|
+
u.type === "touchstart" && (p = u.touches[0]), m = p.clientX, y = p.clientY, document.addEventListener("mouseup", k, { passive: !1 }), document.addEventListener("touchend", k, { passive: !1 }), document.addEventListener("mousemove", I, { passive: !1 }), document.addEventListener("touchmove", I, { passive: !1 });
|
|
4785
4785
|
}
|
|
4786
|
-
function
|
|
4786
|
+
function I(u) {
|
|
4787
4787
|
u = u || window.event, u.preventDefault();
|
|
4788
4788
|
let p = u;
|
|
4789
4789
|
u.type === "touchmove" && (p = u.touches[0]), w = m - p.clientX, r = y - p.clientY, m = p.clientX, y = p.clientY, s.style.top = s.offsetTop - r + "px", s.style.left = s.offsetLeft - w + "px";
|
|
4790
4790
|
}
|
|
4791
4791
|
function k() {
|
|
4792
|
-
document.removeEventListener("mouseup", k, !1), document.removeEventListener("mousemove",
|
|
4792
|
+
document.removeEventListener("mouseup", k, !1), document.removeEventListener("mousemove", I, !1), document.removeEventListener("touchend", k, !1), document.removeEventListener("touchmove", I, !1);
|
|
4793
4793
|
}
|
|
4794
4794
|
};
|
|
4795
|
-
return (s, f) => (v(),
|
|
4795
|
+
return (s, f) => (v(), M("div", {
|
|
4796
4796
|
id: "moveableDiv",
|
|
4797
4797
|
class: me([l.size, "sizer rounded"])
|
|
4798
4798
|
}, [
|
|
@@ -4840,17 +4840,17 @@ const vl = {
|
|
|
4840
4840
|
);
|
|
4841
4841
|
const r = V(() => {
|
|
4842
4842
|
let _ = 1;
|
|
4843
|
-
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? _ = 1 : _ = -1),
|
|
4843
|
+
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? _ = 1 : _ = -1), I.value === "small" && (_ = 0.6), _;
|
|
4844
4844
|
});
|
|
4845
4845
|
function m(_) {
|
|
4846
4846
|
i.value = _;
|
|
4847
4847
|
}
|
|
4848
4848
|
const y = ["big", "bigger", "small"];
|
|
4849
4849
|
function d() {
|
|
4850
|
-
const L = (y.indexOf(
|
|
4851
|
-
|
|
4850
|
+
const L = (y.indexOf(I.value) + 1) % y.length;
|
|
4851
|
+
I.value = y[L];
|
|
4852
4852
|
}
|
|
4853
|
-
const
|
|
4853
|
+
const I = b("big");
|
|
4854
4854
|
function k() {
|
|
4855
4855
|
s.value = s.value + 90;
|
|
4856
4856
|
}
|
|
@@ -4862,10 +4862,10 @@ const vl = {
|
|
|
4862
4862
|
}
|
|
4863
4863
|
return (_, L) => {
|
|
4864
4864
|
const S = x("v-btn");
|
|
4865
|
-
return v(),
|
|
4865
|
+
return v(), A(_s, {
|
|
4866
4866
|
ref_key: "minimapMoveable",
|
|
4867
4867
|
ref: a,
|
|
4868
|
-
size:
|
|
4868
|
+
size: I.value
|
|
4869
4869
|
}, {
|
|
4870
4870
|
"top-left": c(() => [
|
|
4871
4871
|
e("div", Cs, [
|
|
@@ -4920,7 +4920,7 @@ const vl = {
|
|
|
4920
4920
|
])
|
|
4921
4921
|
]),
|
|
4922
4922
|
footer: c(() => [
|
|
4923
|
-
(v(),
|
|
4923
|
+
(v(), A(Gt, {
|
|
4924
4924
|
key: w.value,
|
|
4925
4925
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
4926
4926
|
"minimap-json": n.minimapJson,
|
|
@@ -4943,7 +4943,7 @@ const vl = {
|
|
|
4943
4943
|
const a = t;
|
|
4944
4944
|
return (n, o) => {
|
|
4945
4945
|
const i = x("v-btn");
|
|
4946
|
-
return v(),
|
|
4946
|
+
return v(), M("div", Es, [
|
|
4947
4947
|
h(i, {
|
|
4948
4948
|
density: "comfortable",
|
|
4949
4949
|
elevation: "3",
|
|
@@ -4966,7 +4966,7 @@ const vl = {
|
|
|
4966
4966
|
const a = t;
|
|
4967
4967
|
return (n, o) => {
|
|
4968
4968
|
const i = x("v-btn");
|
|
4969
|
-
return v(),
|
|
4969
|
+
return v(), M("div", As, [
|
|
4970
4970
|
h(i, {
|
|
4971
4971
|
density: "comfortable",
|
|
4972
4972
|
elevation: "3",
|
|
@@ -5005,10 +5005,10 @@ const vl = {
|
|
|
5005
5005
|
d.onload = () => y(!0), d.onerror = () => y(!1), d.src = m;
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
|
-
const r =
|
|
5008
|
+
const r = Me(Oe);
|
|
5009
5009
|
return (m, y) => {
|
|
5010
|
-
const d = x("v-icon"),
|
|
5011
|
-
return v(),
|
|
5010
|
+
const d = x("v-icon"), I = x("v-btn"), k = x("v-img"), u = x("v-menu");
|
|
5011
|
+
return v(), M("div", null, [
|
|
5012
5012
|
h(u, {
|
|
5013
5013
|
transition: "slide-x-reverse-transition",
|
|
5014
5014
|
location: "top end",
|
|
@@ -5017,7 +5017,7 @@ const vl = {
|
|
|
5017
5017
|
attach: ""
|
|
5018
5018
|
}, {
|
|
5019
5019
|
activator: c(({ props: p }) => [
|
|
5020
|
-
h(
|
|
5020
|
+
h(I, Ie({ rounded: "" }, p, { class: "text-capitalize" }), {
|
|
5021
5021
|
default: c(() => [
|
|
5022
5022
|
h(d, null, {
|
|
5023
5023
|
default: c(() => [...y[0] || (y[0] = [
|
|
@@ -5032,7 +5032,7 @@ const vl = {
|
|
|
5032
5032
|
]),
|
|
5033
5033
|
default: c(() => [
|
|
5034
5034
|
e("div", Vs, [
|
|
5035
|
-
(v(!0),
|
|
5035
|
+
(v(!0), M(Be, null, Ne(g(o), (p) => (v(), M("div", {
|
|
5036
5036
|
key: `at-menuitem-${p.archetypeID}`,
|
|
5037
5037
|
onClick: (_) => f("selectInterior", p.archetypeID),
|
|
5038
5038
|
class: me(["interior-selector-list-item", {
|
|
@@ -5069,10 +5069,10 @@ const vl = {
|
|
|
5069
5069
|
}),
|
|
5070
5070
|
emits: ["update:modelValue"],
|
|
5071
5071
|
setup(l) {
|
|
5072
|
-
const t =
|
|
5072
|
+
const t = it(l, "modelValue"), a = Me(Oe);
|
|
5073
5073
|
return (n, o) => {
|
|
5074
5074
|
const i = x("v-btn");
|
|
5075
|
-
return !t.value && l.showUi ? (v(),
|
|
5075
|
+
return !t.value && l.showUi ? (v(), A(i, {
|
|
5076
5076
|
key: 0,
|
|
5077
5077
|
size: "small",
|
|
5078
5078
|
varient: "tonal",
|
|
@@ -5084,10 +5084,10 @@ const vl = {
|
|
|
5084
5084
|
Q(T(g(a).getLabel("openSunStudy")), 1)
|
|
5085
5085
|
]),
|
|
5086
5086
|
_: 1
|
|
5087
|
-
})) :
|
|
5087
|
+
})) : E("", !0);
|
|
5088
5088
|
};
|
|
5089
5089
|
}
|
|
5090
|
-
}), Hs = { class: "d-flex align-center" }, Ps = { class: "d-block mr-1" },
|
|
5090
|
+
}), Hs = { class: "d-flex align-center" }, Ps = { class: "d-block mr-1" }, js = { class: "small" }, zs = { class: "small" }, Ys = /* @__PURE__ */ N({
|
|
5091
5091
|
__name: "VSunsimSlider",
|
|
5092
5092
|
props: {
|
|
5093
5093
|
modelValue: { type: Boolean, required: !0 },
|
|
@@ -5103,7 +5103,7 @@ const vl = {
|
|
|
5103
5103
|
},
|
|
5104
5104
|
emits: ["update:modelValue", "update:time", "update:day"],
|
|
5105
5105
|
setup(l) {
|
|
5106
|
-
const t =
|
|
5106
|
+
const t = it(l, "modelValue"), a = it(l, "time"), n = it(l, "day");
|
|
5107
5107
|
function o(i) {
|
|
5108
5108
|
a.value = n.value.timeSamples.find(
|
|
5109
5109
|
(s) => s.timeInHours === i
|
|
@@ -5111,7 +5111,7 @@ const vl = {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
return (i, s) => {
|
|
5113
5113
|
const f = x("v-icon"), w = x("v-slider"), r = x("v-field"), m = x("v-btn");
|
|
5114
|
-
return v(),
|
|
5114
|
+
return v(), M("div", Hs, [
|
|
5115
5115
|
e("div", Ps, [
|
|
5116
5116
|
h(r, {
|
|
5117
5117
|
class: "ss-slider-field",
|
|
@@ -5121,7 +5121,7 @@ const vl = {
|
|
|
5121
5121
|
flat: ""
|
|
5122
5122
|
}, {
|
|
5123
5123
|
default: c(() => [
|
|
5124
|
-
n.value.timeSamples.length > 1 ? (v(),
|
|
5124
|
+
n.value.timeSamples.length > 1 ? (v(), A(w, {
|
|
5125
5125
|
key: 0,
|
|
5126
5126
|
class: "pa-2 pr-2",
|
|
5127
5127
|
modelValue: a.value.timeInHours,
|
|
@@ -5145,10 +5145,10 @@ const vl = {
|
|
|
5145
5145
|
])]),
|
|
5146
5146
|
_: 1
|
|
5147
5147
|
}),
|
|
5148
|
-
e("span",
|
|
5148
|
+
e("span", js, T(g(pt)(a.value.timeInHours)), 1)
|
|
5149
5149
|
]),
|
|
5150
5150
|
_: 1
|
|
5151
|
-
}, 8, ["modelValue", "min", "max", "step"])) : (v(),
|
|
5151
|
+
}, 8, ["modelValue", "min", "max", "step"])) : (v(), M(Be, { key: 1 }, [
|
|
5152
5152
|
h(f, {
|
|
5153
5153
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
5154
5154
|
class: "mr-2 icon",
|
|
@@ -5159,7 +5159,7 @@ const vl = {
|
|
|
5159
5159
|
])]),
|
|
5160
5160
|
_: 1
|
|
5161
5161
|
}),
|
|
5162
|
-
e("span",
|
|
5162
|
+
e("span", zs, T(g(pt)(a.value.timeInHours)), 1)
|
|
5163
5163
|
], 64))
|
|
5164
5164
|
]),
|
|
5165
5165
|
_: 1
|
|
@@ -5215,7 +5215,7 @@ const vl = {
|
|
|
5215
5215
|
));
|
|
5216
5216
|
je(() => {
|
|
5217
5217
|
window.addEventListener("keydown", m);
|
|
5218
|
-
}),
|
|
5218
|
+
}), Qe(() => {
|
|
5219
5219
|
window.removeEventListener("keydown", m);
|
|
5220
5220
|
});
|
|
5221
5221
|
function m(p) {
|
|
@@ -5242,7 +5242,7 @@ const vl = {
|
|
|
5242
5242
|
);
|
|
5243
5243
|
p < o.value.length - 1 && k(o.value[p + 1]);
|
|
5244
5244
|
}
|
|
5245
|
-
function
|
|
5245
|
+
function I(p, _) {
|
|
5246
5246
|
_(), k(o.value.find((L) => L === p));
|
|
5247
5247
|
}
|
|
5248
5248
|
function k(p) {
|
|
@@ -5256,8 +5256,8 @@ const vl = {
|
|
|
5256
5256
|
}
|
|
5257
5257
|
}
|
|
5258
5258
|
return (p, _) => {
|
|
5259
|
-
const L = x("v-btn"), S = x("v-img"), Z = x("v-icon"),
|
|
5260
|
-
return v(),
|
|
5259
|
+
const L = x("v-btn"), S = x("v-img"), Z = x("v-icon"), le = x("v-card"), O = x("v-slide-group-item"), q = x("v-slide-group");
|
|
5260
|
+
return v(), M("div", {
|
|
5261
5261
|
class: me(["d-flex align-center justify-center", {
|
|
5262
5262
|
mobileWaypointWrapper: r.value,
|
|
5263
5263
|
desktopWaypointWrapper: !r.value,
|
|
@@ -5267,7 +5267,7 @@ const vl = {
|
|
|
5267
5267
|
J(p.$slots, "before", {}, void 0, !0),
|
|
5268
5268
|
h(q, {
|
|
5269
5269
|
modelValue: f.value,
|
|
5270
|
-
"onUpdate:modelValue": _[2] || (_[2] = (
|
|
5270
|
+
"onUpdate:modelValue": _[2] || (_[2] = (ce) => f.value = ce),
|
|
5271
5271
|
class: me({ mobileWaypoint: r.value }),
|
|
5272
5272
|
"active-class": "active-apt",
|
|
5273
5273
|
"selected-class": "active-apt",
|
|
@@ -5276,31 +5276,31 @@ const vl = {
|
|
|
5276
5276
|
mandatory: ""
|
|
5277
5277
|
}, {
|
|
5278
5278
|
prev: c(() => [
|
|
5279
|
-
r.value ?
|
|
5279
|
+
r.value ? E("", !0) : (v(), A(L, {
|
|
5280
5280
|
key: 0,
|
|
5281
5281
|
class: me(["carousel-button", { mobile: r.value }]),
|
|
5282
5282
|
icon: "mdi-chevron-left",
|
|
5283
5283
|
varient: "tonal",
|
|
5284
5284
|
size: "small",
|
|
5285
|
-
onClick: _[0] || (_[0] = (
|
|
5285
|
+
onClick: _[0] || (_[0] = (ce) => y())
|
|
5286
5286
|
}, null, 8, ["class"]))
|
|
5287
5287
|
]),
|
|
5288
5288
|
next: c(() => [
|
|
5289
|
-
r.value ?
|
|
5289
|
+
r.value ? E("", !0) : (v(), A(L, {
|
|
5290
5290
|
key: 0,
|
|
5291
5291
|
class: me(["carousel-button", { mobile: r.value }]),
|
|
5292
5292
|
icon: "mdi-chevron-right",
|
|
5293
5293
|
varient: "tonal",
|
|
5294
5294
|
size: "small",
|
|
5295
|
-
onClick: _[1] || (_[1] = (
|
|
5295
|
+
onClick: _[1] || (_[1] = (ce) => d())
|
|
5296
5296
|
}, null, 8, ["class"]))
|
|
5297
5297
|
]),
|
|
5298
5298
|
default: c(() => [
|
|
5299
|
-
(v(!0),
|
|
5300
|
-
key:
|
|
5299
|
+
(v(!0), M(Be, null, Ne(g(o), (ce, R) => (v(), A(O, {
|
|
5300
|
+
key: ce.labels.cameraId
|
|
5301
5301
|
}, {
|
|
5302
5302
|
default: c(({ toggle: Se, selectedClass: ke }) => [
|
|
5303
|
-
h(
|
|
5303
|
+
h(le, {
|
|
5304
5304
|
class: me(["position-relative", [
|
|
5305
5305
|
r.value ? "ma-0" : "ma-1",
|
|
5306
5306
|
ke,
|
|
@@ -5309,29 +5309,29 @@ const vl = {
|
|
|
5309
5309
|
align: "center",
|
|
5310
5310
|
justify: "center",
|
|
5311
5311
|
style: { overflow: "hidden" },
|
|
5312
|
-
onClick: (P) =>
|
|
5312
|
+
onClick: (P) => I(ce, Se)
|
|
5313
5313
|
}, {
|
|
5314
5314
|
default: c(() => [
|
|
5315
5315
|
h(S, {
|
|
5316
5316
|
cover: "",
|
|
5317
5317
|
"aspect-ratio": 1,
|
|
5318
|
-
src:
|
|
5318
|
+
src: ce.labels.thumbnailUrl
|
|
5319
5319
|
}, null, 8, ["src"]),
|
|
5320
|
-
w.value[R] < 1 ? (v(),
|
|
5320
|
+
w.value[R] < 1 ? (v(), M("div", {
|
|
5321
5321
|
key: 0,
|
|
5322
5322
|
class: "w-100 h-100 top-0 left-0 position-absolute",
|
|
5323
|
-
style:
|
|
5323
|
+
style: ve(`opacity: 0.85; background: conic-gradient(gray 0deg, gray ${Math.round(
|
|
5324
5324
|
(1 - w.value[R]) * 360
|
|
5325
5325
|
)}deg, transparent ${Math.round(
|
|
5326
5326
|
(1 - w.value[R]) * 360
|
|
5327
5327
|
)}deg, transparent 360deg);`)
|
|
5328
|
-
}, null, 4)) :
|
|
5329
|
-
|
|
5328
|
+
}, null, 4)) : E("", !0),
|
|
5329
|
+
ce.labels.hasSunSim ? (v(), M("div", Ns, [
|
|
5330
5330
|
h(Z, {
|
|
5331
5331
|
class: "sun-icon",
|
|
5332
5332
|
icon: "mdi-white-balance-sunny"
|
|
5333
5333
|
})
|
|
5334
|
-
])) :
|
|
5334
|
+
])) : E("", !0)
|
|
5335
5335
|
]),
|
|
5336
5336
|
_: 2
|
|
5337
5337
|
}, 1032, ["class", "onClick"])
|
|
@@ -5358,7 +5358,7 @@ const vl = {
|
|
|
5358
5358
|
}
|
|
5359
5359
|
return (o, i) => {
|
|
5360
5360
|
const s = x("v-img");
|
|
5361
|
-
return v(),
|
|
5361
|
+
return v(), M("div", Js, [
|
|
5362
5362
|
e("div", Qs, [
|
|
5363
5363
|
h(s, {
|
|
5364
5364
|
src: g(Sa),
|
|
@@ -5383,14 +5383,14 @@ const vl = {
|
|
|
5383
5383
|
}));
|
|
5384
5384
|
return (i, s) => {
|
|
5385
5385
|
const f = x("v-img");
|
|
5386
|
-
return v(),
|
|
5387
|
-
style:
|
|
5386
|
+
return v(), M("div", {
|
|
5387
|
+
style: ve(n.value),
|
|
5388
5388
|
class: "compass-wrapper"
|
|
5389
5389
|
}, [
|
|
5390
5390
|
h(f, {
|
|
5391
5391
|
class: "compass-needle",
|
|
5392
5392
|
src: a.value,
|
|
5393
|
-
style:
|
|
5393
|
+
style: ve(o.value)
|
|
5394
5394
|
}, null, 8, ["src", "style"])
|
|
5395
5395
|
], 4);
|
|
5396
5396
|
};
|
|
@@ -5413,7 +5413,7 @@ const vl = {
|
|
|
5413
5413
|
emits: ["updateSettings", "saveSettings"],
|
|
5414
5414
|
setup(l, { emit: t }) {
|
|
5415
5415
|
const a = l, n = t, o = b(
|
|
5416
|
-
|
|
5416
|
+
I(a.initialSettings)
|
|
5417
5417
|
);
|
|
5418
5418
|
H(
|
|
5419
5419
|
o,
|
|
@@ -5443,7 +5443,7 @@ const vl = {
|
|
|
5443
5443
|
n("saveSettings", i.value);
|
|
5444
5444
|
}
|
|
5445
5445
|
function r() {
|
|
5446
|
-
o.value =
|
|
5446
|
+
o.value = I(), n("updateSettings", i.value);
|
|
5447
5447
|
}
|
|
5448
5448
|
function m(k) {
|
|
5449
5449
|
const u = parseInt(k.substr(1, 2), 16) / 255, p = parseInt(k.substr(3, 2), 16) / 255, _ = parseInt(k.substr(5, 2), 16) / 255;
|
|
@@ -5456,7 +5456,7 @@ const vl = {
|
|
|
5456
5456
|
function d([k, u, p]) {
|
|
5457
5457
|
return "#" + y(parseInt((k * 255).toString())) + y(parseInt((u * 255).toString())) + y(parseInt((p * 255).toString()));
|
|
5458
5458
|
}
|
|
5459
|
-
function
|
|
5459
|
+
function I(k = {}) {
|
|
5460
5460
|
const u = [
|
|
5461
5461
|
"Cool 5",
|
|
5462
5462
|
"Cool 10",
|
|
@@ -5553,15 +5553,15 @@ const vl = {
|
|
|
5553
5553
|
};
|
|
5554
5554
|
}
|
|
5555
5555
|
return (k, u) => {
|
|
5556
|
-
const p = x("v-text-field"), _ = x("v-slider"), L = x("v-checkbox"), S = x("v-btn"), Z = x("v-select"),
|
|
5557
|
-
return v(),
|
|
5556
|
+
const p = x("v-text-field"), _ = x("v-slider"), L = x("v-checkbox"), S = x("v-btn"), Z = x("v-select"), le = x("v-icon");
|
|
5557
|
+
return v(), M("div", ti, [
|
|
5558
5558
|
e("form", ai, [
|
|
5559
5559
|
e("div", ni, [
|
|
5560
|
-
(v(!0),
|
|
5561
|
-
key:
|
|
5560
|
+
(v(!0), M(Be, null, Ne(o.value, (O, q, ce) => (v(), M("div", {
|
|
5561
|
+
key: ce,
|
|
5562
5562
|
"d-block": ""
|
|
5563
5563
|
}, [
|
|
5564
|
-
O.type === "slider" ? (v(),
|
|
5564
|
+
O.type === "slider" ? (v(), A(_, {
|
|
5565
5565
|
key: 0,
|
|
5566
5566
|
modelValue: o.value[q].value,
|
|
5567
5567
|
"onUpdate:modelValue": (R) => o.value[q].value = R,
|
|
@@ -5591,8 +5591,8 @@ const vl = {
|
|
|
5591
5591
|
])
|
|
5592
5592
|
]),
|
|
5593
5593
|
_: 2
|
|
5594
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) :
|
|
5595
|
-
O.type === "boolean" ? (v(),
|
|
5594
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : E("", !0),
|
|
5595
|
+
O.type === "boolean" ? (v(), A(L, {
|
|
5596
5596
|
key: 1,
|
|
5597
5597
|
modelValue: o.value[q].value,
|
|
5598
5598
|
"onUpdate:modelValue": (R) => o.value[q].value = R,
|
|
@@ -5605,8 +5605,8 @@ const vl = {
|
|
|
5605
5605
|
e("div", null, T(O.value), 1)
|
|
5606
5606
|
]),
|
|
5607
5607
|
_: 2
|
|
5608
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) :
|
|
5609
|
-
O.type === "color" ? (v(),
|
|
5608
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : E("", !0),
|
|
5609
|
+
O.type === "color" ? (v(), M("div", {
|
|
5610
5610
|
key: 2,
|
|
5611
5611
|
class: "d-flex",
|
|
5612
5612
|
max: O.max,
|
|
@@ -5636,8 +5636,8 @@ const vl = {
|
|
|
5636
5636
|
onChange: s
|
|
5637
5637
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5638
5638
|
])
|
|
5639
|
-
], 8, si)) :
|
|
5640
|
-
O.type === "lut" ? (v(),
|
|
5639
|
+
], 8, si)) : E("", !0),
|
|
5640
|
+
O.type === "lut" ? (v(), M("div", ci, [
|
|
5641
5641
|
e("div", di, [
|
|
5642
5642
|
e("div", vi, T(O.label), 1),
|
|
5643
5643
|
e("div", null, [
|
|
@@ -5684,7 +5684,7 @@ const vl = {
|
|
|
5684
5684
|
])
|
|
5685
5685
|
])
|
|
5686
5686
|
])
|
|
5687
|
-
])) :
|
|
5687
|
+
])) : E("", !0)
|
|
5688
5688
|
]))), 128))
|
|
5689
5689
|
]),
|
|
5690
5690
|
e("div", fi, [
|
|
@@ -5702,7 +5702,7 @@ const vl = {
|
|
|
5702
5702
|
}, {
|
|
5703
5703
|
default: c(() => [
|
|
5704
5704
|
u[7] || (u[7] = Q(" Download Json ", -1)),
|
|
5705
|
-
h(
|
|
5705
|
+
h(le, { color: "black darken-1" }, {
|
|
5706
5706
|
default: c(() => [...u[6] || (u[6] = [
|
|
5707
5707
|
Q("mdi-download", -1)
|
|
5708
5708
|
])]),
|
|
@@ -5717,7 +5717,7 @@ const vl = {
|
|
|
5717
5717
|
}, {
|
|
5718
5718
|
default: c(() => [
|
|
5719
5719
|
u[9] || (u[9] = Q(" Save Settings ", -1)),
|
|
5720
|
-
h(
|
|
5720
|
+
h(le, { color: "black darken-1" }, {
|
|
5721
5721
|
default: c(() => [...u[8] || (u[8] = [
|
|
5722
5722
|
Q("mdi-save", -1)
|
|
5723
5723
|
])]),
|
|
@@ -5745,7 +5745,7 @@ const vl = {
|
|
|
5745
5745
|
}),
|
|
5746
5746
|
emits: ["update:modelValue"],
|
|
5747
5747
|
setup(l) {
|
|
5748
|
-
const t =
|
|
5748
|
+
const t = it(l, "modelValue"), a = l, n = Me(Oe), o = V(() => {
|
|
5749
5749
|
const r = a.floorLevels;
|
|
5750
5750
|
return r.sort(), r;
|
|
5751
5751
|
}), i = V(() => o.value.indexOf(t.value) + 1 <= o.value.length / 2 ? "lower" : "upper"), s = V(() => i.value === "lower"), f = V(() => i.value === "upper");
|
|
@@ -5755,19 +5755,19 @@ const vl = {
|
|
|
5755
5755
|
}
|
|
5756
5756
|
return (r, m) => {
|
|
5757
5757
|
const y = x("v-btn"), d = x("v-tooltip");
|
|
5758
|
-
return v(),
|
|
5758
|
+
return v(), A(d, {
|
|
5759
5759
|
right: "",
|
|
5760
5760
|
attach: ""
|
|
5761
5761
|
}, {
|
|
5762
|
-
activator: c(({ props:
|
|
5763
|
-
h(y,
|
|
5762
|
+
activator: c(({ props: I }) => [
|
|
5763
|
+
h(y, Ie({
|
|
5764
5764
|
style: { cursor: "pointer" },
|
|
5765
5765
|
density: "comfortable",
|
|
5766
5766
|
elevation: "1",
|
|
5767
5767
|
icon: ""
|
|
5768
|
-
},
|
|
5768
|
+
}, I, { onClick: w }), {
|
|
5769
5769
|
default: c(() => [
|
|
5770
|
-
(v(),
|
|
5770
|
+
(v(), M("svg", yi, [
|
|
5771
5771
|
e("path", {
|
|
5772
5772
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
5773
5773
|
fill: "white",
|
|
@@ -5795,18 +5795,18 @@ const vl = {
|
|
|
5795
5795
|
};
|
|
5796
5796
|
}
|
|
5797
5797
|
}), Ci = /* @__PURE__ */ X(_i, [["__scopeId", "data-v-ae461ac7"]]);
|
|
5798
|
-
class
|
|
5798
|
+
class vt {
|
|
5799
5799
|
static async loadText(t) {
|
|
5800
|
-
return new
|
|
5800
|
+
return new vt().loadText(t);
|
|
5801
5801
|
}
|
|
5802
5802
|
static async loadJson(t) {
|
|
5803
|
-
return new
|
|
5803
|
+
return new vt().loadJson(t);
|
|
5804
5804
|
}
|
|
5805
5805
|
static async loadImage(t) {
|
|
5806
|
-
return new
|
|
5806
|
+
return new vt().loadImage(t);
|
|
5807
5807
|
}
|
|
5808
5808
|
static async loadImageData(t) {
|
|
5809
|
-
return new
|
|
5809
|
+
return new vt().loadImageData(t);
|
|
5810
5810
|
}
|
|
5811
5811
|
async loadText(t) {
|
|
5812
5812
|
try {
|
|
@@ -5967,7 +5967,7 @@ class Li {
|
|
|
5967
5967
|
}
|
|
5968
5968
|
}
|
|
5969
5969
|
}
|
|
5970
|
-
class
|
|
5970
|
+
class mt {
|
|
5971
5971
|
cacheName;
|
|
5972
5972
|
maxSizeBytes;
|
|
5973
5973
|
db = null;
|
|
@@ -5987,7 +5987,7 @@ class vt {
|
|
|
5987
5987
|
const n = indexedDB.open(this.cacheName, 1);
|
|
5988
5988
|
n.onupgradeneeded = () => {
|
|
5989
5989
|
const o = n.result;
|
|
5990
|
-
o.objectStoreNames.contains(
|
|
5990
|
+
o.objectStoreNames.contains(mt.STORE_NAME) || o.createObjectStore(mt.STORE_NAME, {
|
|
5991
5991
|
keyPath: "key"
|
|
5992
5992
|
});
|
|
5993
5993
|
}, n.onsuccess = () => t(n.result), n.onerror = () => a(n.error);
|
|
@@ -6007,7 +6007,7 @@ class vt {
|
|
|
6007
6007
|
}
|
|
6008
6008
|
request(t, a) {
|
|
6009
6009
|
return new Promise((n, o) => {
|
|
6010
|
-
const s = this.db.transaction(
|
|
6010
|
+
const s = this.db.transaction(mt.STORE_NAME, t).objectStore(mt.STORE_NAME), f = a(s);
|
|
6011
6011
|
f.onsuccess = () => n(f.result), f.onerror = () => o(f.error);
|
|
6012
6012
|
});
|
|
6013
6013
|
}
|
|
@@ -6195,7 +6195,7 @@ const Ei = {
|
|
|
6195
6195
|
version: m,
|
|
6196
6196
|
adminMode: y,
|
|
6197
6197
|
playerSettings: d,
|
|
6198
|
-
defaultViewMode:
|
|
6198
|
+
defaultViewMode: I,
|
|
6199
6199
|
showCarousel: k,
|
|
6200
6200
|
showTimeOfDay: u,
|
|
6201
6201
|
showCompass: p,
|
|
@@ -6203,43 +6203,43 @@ const Ei = {
|
|
|
6203
6203
|
showSnapshot: L,
|
|
6204
6204
|
showShare: S,
|
|
6205
6205
|
showInteriorOptions: Z,
|
|
6206
|
-
showMiniMap:
|
|
6206
|
+
showMiniMap: le,
|
|
6207
6207
|
showFloorLevel: O,
|
|
6208
6208
|
showVersion: q,
|
|
6209
|
-
showVisuadoCreateButton:
|
|
6209
|
+
showVisuadoCreateButton: ce,
|
|
6210
6210
|
enableAutoplay: R
|
|
6211
6211
|
} = $e(n);
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
i.value ? new
|
|
6212
|
+
lt(
|
|
6213
|
+
Oe,
|
|
6214
|
+
i.value ? new ot(i.value) : new ot()
|
|
6215
6215
|
);
|
|
6216
|
-
const Se = b(), ke = b(), P = b(), we = b(), G = b({}), ue = b({}), ne = b({}), B = b(!1), K = b(), oe = b(), Y = b(), ee = b(),
|
|
6216
|
+
const Se = b(), ke = b(), P = b(), we = b(), G = b({}), ue = b({}), ne = b({}), B = b(!1), K = b(), oe = b(), Y = b(), ee = b(), j = b(), ie = b(0), te = b(!1), _e = b(!1), se = b(!1), he = b(!1), xe = b(!1), Le = b(!1), Te = b(!1), ge = b(), de = b(), Fe = b(), Ee = b(), ze = b(0), Ye = b(0), De = b(
|
|
6217
6217
|
new Xt(document, "player-wrapper")
|
|
6218
6218
|
);
|
|
6219
6219
|
t({
|
|
6220
6220
|
playerCore: ke,
|
|
6221
|
-
setCurrentCameraId:
|
|
6222
|
-
setCurrentInteriorId:
|
|
6221
|
+
setCurrentCameraId: jt,
|
|
6222
|
+
setCurrentInteriorId: zt,
|
|
6223
6223
|
setCurrentDay: qe,
|
|
6224
|
-
setCurrentTimeSample:
|
|
6224
|
+
setCurrentTimeSample: Ke,
|
|
6225
6225
|
setCurrentRotation: Yt,
|
|
6226
6226
|
setCurrentFloorLevel: Et
|
|
6227
6227
|
}), je(async () => {
|
|
6228
6228
|
try {
|
|
6229
|
-
|
|
6229
|
+
Ue.value ? (te.value = !1, se.value = !0) : setTimeout(() => {
|
|
6230
6230
|
te.value = !0;
|
|
6231
6231
|
}, 1e3);
|
|
6232
6232
|
} catch ($) {
|
|
6233
6233
|
B.value = !0, o("error", $);
|
|
6234
6234
|
}
|
|
6235
6235
|
}), H(
|
|
6236
|
-
|
|
6236
|
+
I,
|
|
6237
6237
|
() => {
|
|
6238
|
-
|
|
6238
|
+
I.value === "virtualTour" && (_e.value = !1), I.value === "slideShow" && (_e.value = !0, se.value = !0);
|
|
6239
6239
|
},
|
|
6240
6240
|
{ immediate: !0 }
|
|
6241
|
-
), H(
|
|
6242
|
-
ee.value =
|
|
6241
|
+
), H(j, () => {
|
|
6242
|
+
ee.value = j.value.labels.thumbnailUrl ? j.value : null;
|
|
6243
6243
|
}), H(
|
|
6244
6244
|
[s, f, w],
|
|
6245
6245
|
async () => {
|
|
@@ -6250,76 +6250,76 @@ const Ei = {
|
|
|
6250
6250
|
);
|
|
6251
6251
|
P.value = await (await fetch(U)).json(), we.value = P.value.archetypes;
|
|
6252
6252
|
const ye = P.value.archetypes.map(
|
|
6253
|
-
(
|
|
6253
|
+
(z) => z.archetypeID
|
|
6254
6254
|
);
|
|
6255
|
-
for (const
|
|
6256
|
-
const
|
|
6255
|
+
for (const z of ye) {
|
|
6256
|
+
const et = fe(
|
|
6257
6257
|
s.value,
|
|
6258
|
-
`/${
|
|
6258
|
+
`/${z}/${f.value}/apartment.json`
|
|
6259
6259
|
);
|
|
6260
6260
|
try {
|
|
6261
|
-
G.value[
|
|
6261
|
+
G.value[z] = await (await fetch(et)).json();
|
|
6262
6262
|
} catch {
|
|
6263
|
-
if (ye[0] !==
|
|
6264
|
-
G.value[
|
|
6263
|
+
if (ye[0] !== z)
|
|
6264
|
+
G.value[z] = G.value[ye[0]];
|
|
6265
6265
|
else
|
|
6266
6266
|
throw new Error(
|
|
6267
|
-
`Failed to load apartment.json for the default interior: ${
|
|
6267
|
+
`Failed to load apartment.json for the default interior: ${et}`
|
|
6268
6268
|
);
|
|
6269
6269
|
}
|
|
6270
6270
|
const Nt = fe(
|
|
6271
6271
|
s.value,
|
|
6272
|
-
`/${
|
|
6272
|
+
`/${z}/${f.value}/thumbs.json`
|
|
6273
6273
|
);
|
|
6274
6274
|
try {
|
|
6275
|
-
ue.value[
|
|
6275
|
+
ue.value[z] = await (await fetch(Nt)).json();
|
|
6276
6276
|
} catch {
|
|
6277
|
-
ue.value[
|
|
6277
|
+
ue.value[z] = ue.value[ye[0]];
|
|
6278
6278
|
}
|
|
6279
6279
|
const Wt = fe(
|
|
6280
6280
|
s.value,
|
|
6281
|
-
`/${
|
|
6281
|
+
`/${z}/${f.value}/minimap/minimap.json`
|
|
6282
6282
|
);
|
|
6283
6283
|
try {
|
|
6284
|
-
ne.value[
|
|
6284
|
+
ne.value[z] = await (await fetch(Wt)).json();
|
|
6285
6285
|
} catch {
|
|
6286
|
-
ne.value[
|
|
6286
|
+
ne.value[z] = void 0;
|
|
6287
6287
|
}
|
|
6288
|
-
for (const
|
|
6289
|
-
const We =
|
|
6288
|
+
for (const Pe of G.value[z].cameras) {
|
|
6289
|
+
const We = Pe.id, yt = Pe.sunsimDayOfYear?.filter(
|
|
6290
6290
|
(Ze) => Ze.timeSamples?.length > 1
|
|
6291
6291
|
);
|
|
6292
6292
|
$.push({
|
|
6293
6293
|
url: fe(
|
|
6294
6294
|
s.value,
|
|
6295
|
-
`/${
|
|
6295
|
+
`/${z}/${f.value}/360/4096x2048/${We}.${w.value || "qhdr"}`
|
|
6296
6296
|
),
|
|
6297
|
-
position:
|
|
6298
|
-
rotation:
|
|
6299
|
-
floorPositionY: Number(
|
|
6300
|
-
floorLevel:
|
|
6297
|
+
position: Pe.uposition,
|
|
6298
|
+
rotation: Pe.urotation,
|
|
6299
|
+
floorPositionY: Number(Pe.floor_vertical_position),
|
|
6300
|
+
floorLevel: Pe.floorLevel,
|
|
6301
6301
|
type: w.value,
|
|
6302
6302
|
depthDataUrl: w.value === "jpg" ? fe(
|
|
6303
6303
|
s.value,
|
|
6304
|
-
`/${
|
|
6304
|
+
`/${z}/${f.value}/data/${We}_depth.raw.z`
|
|
6305
6305
|
) : void 0,
|
|
6306
6306
|
labels: {
|
|
6307
6307
|
apartmentId: f.value,
|
|
6308
|
-
interiorId:
|
|
6308
|
+
interiorId: z,
|
|
6309
6309
|
cameraId: We,
|
|
6310
6310
|
hasSunSim: !!yt.length,
|
|
6311
6311
|
daysOfYear: yt,
|
|
6312
|
-
thumbnailUrl: ue.value[
|
|
6312
|
+
thumbnailUrl: ue.value[z].cameras.find(
|
|
6313
6313
|
(Ze) => Ze.id === We
|
|
6314
6314
|
) ? fe(
|
|
6315
6315
|
s.value,
|
|
6316
|
-
`/${
|
|
6316
|
+
`/${z}/${f.value}/thumbs/200/${We}.jpg`
|
|
6317
6317
|
) : void 0,
|
|
6318
|
-
imageUrl: ue.value[
|
|
6318
|
+
imageUrl: ue.value[z].cameras.find(
|
|
6319
6319
|
(Ze) => Ze.id === We
|
|
6320
6320
|
) ? fe(
|
|
6321
6321
|
s.value,
|
|
6322
|
-
`/${
|
|
6322
|
+
`/${z}/${f.value}/thumbs/1600/${We}.jpg`
|
|
6323
6323
|
) : void 0
|
|
6324
6324
|
}
|
|
6325
6325
|
});
|
|
@@ -6328,16 +6328,16 @@ const Ei = {
|
|
|
6328
6328
|
$.push({
|
|
6329
6329
|
url: fe(
|
|
6330
6330
|
s.value,
|
|
6331
|
-
`/${
|
|
6331
|
+
`/${z}/${f.value}${Mt.filename}`
|
|
6332
6332
|
),
|
|
6333
|
-
position:
|
|
6334
|
-
rotation:
|
|
6335
|
-
floorPositionY: Number(
|
|
6336
|
-
floorLevel:
|
|
6333
|
+
position: Pe.uposition,
|
|
6334
|
+
rotation: Pe.urotation,
|
|
6335
|
+
floorPositionY: Number(Pe.floor_vertical_position),
|
|
6336
|
+
floorLevel: Pe.floorLevel,
|
|
6337
6337
|
type: "jpg",
|
|
6338
6338
|
labels: {
|
|
6339
6339
|
apartmentId: f.value,
|
|
6340
|
-
interiorId:
|
|
6340
|
+
interiorId: z,
|
|
6341
6341
|
cameraId: We,
|
|
6342
6342
|
hasSunSim: !0,
|
|
6343
6343
|
dayOfYear: Ze.dayOfYear,
|
|
@@ -6353,25 +6353,25 @@ const Ei = {
|
|
|
6353
6353
|
), H(
|
|
6354
6354
|
K,
|
|
6355
6355
|
() => {
|
|
6356
|
-
K.value && K.value.length > 0 && (ge.value = K.value[0].labels.cameraId,
|
|
6356
|
+
K.value && K.value.length > 0 && (ge.value = K.value[0].labels.cameraId, de.value = K.value[0].labels.interiorId);
|
|
6357
6357
|
},
|
|
6358
6358
|
{ immediate: !0 }
|
|
6359
6359
|
), H(Te, () => {
|
|
6360
|
-
Te.value ? (
|
|
6361
|
-
($) => $.timeInHours ===
|
|
6362
|
-
)) : (
|
|
6363
|
-
}), H(
|
|
6364
|
-
o("interiorUpdate",
|
|
6360
|
+
Te.value ? (se.value = !1, Fe.value = j.value.labels.daysOfYear[0], Ee.value = j.value.labels.daysOfYear[0].timeSamples?.find(
|
|
6361
|
+
($) => $.timeInHours === j.value.labels.daysOfYear[0].defaultHour
|
|
6362
|
+
)) : (se.value = !0, Fe.value = void 0, Ee.value = void 0);
|
|
6363
|
+
}), H(de, () => {
|
|
6364
|
+
o("interiorUpdate", de.value);
|
|
6365
6365
|
}), H(ge, () => {
|
|
6366
|
-
o("cameraUpdate", ge.value,
|
|
6367
|
-
}), H(
|
|
6368
|
-
o("sunsimUpdate",
|
|
6366
|
+
o("cameraUpdate", ge.value, Ve.value);
|
|
6367
|
+
}), H(j, () => {
|
|
6368
|
+
o("sunsimUpdate", j.value.labels.daysOfYear);
|
|
6369
6369
|
});
|
|
6370
6370
|
const Ce = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
6371
6371
|
window.navigator.userAgent
|
|
6372
|
-
)),
|
|
6373
|
-
if (
|
|
6374
|
-
const $ =
|
|
6372
|
+
)), rt = V(() => Ce.value ? "platform-mobile" : "platform-desktop"), Ve = V(() => G.value[de.value]), F = V(() => ne.value[de.value]), W = V(() => {
|
|
6373
|
+
if (Ve.value) {
|
|
6374
|
+
const $ = Ve.value.cameras.map(
|
|
6375
6375
|
(ye) => ye.floorLevel
|
|
6376
6376
|
);
|
|
6377
6377
|
let U = [...new Set($)];
|
|
@@ -6380,25 +6380,25 @@ const Ei = {
|
|
|
6380
6380
|
return [];
|
|
6381
6381
|
}), pe = V(() => {
|
|
6382
6382
|
let $ = 0;
|
|
6383
|
-
if (
|
|
6384
|
-
const U =
|
|
6385
|
-
(
|
|
6383
|
+
if (Ve.value) {
|
|
6384
|
+
const U = Ve.value.cameras.map(
|
|
6385
|
+
(et) => et.floorLevel
|
|
6386
6386
|
);
|
|
6387
6387
|
let ye = [...new Set(U)];
|
|
6388
6388
|
ye = ye.sort();
|
|
6389
|
-
const
|
|
6390
|
-
(
|
|
6389
|
+
const z = ye.findIndex(
|
|
6390
|
+
(et) => et === Ye.value
|
|
6391
6391
|
);
|
|
6392
|
-
|
|
6392
|
+
z !== -1 && ($ = z);
|
|
6393
6393
|
}
|
|
6394
6394
|
return $;
|
|
6395
6395
|
}), be = V(() => {
|
|
6396
6396
|
if (F.value && F.value.storeys && pe.value in F.value.storeys)
|
|
6397
6397
|
return F.value.storeys[pe.value];
|
|
6398
|
-
}),
|
|
6399
|
-
if (
|
|
6400
|
-
return Ht(
|
|
6401
|
-
}),
|
|
6398
|
+
}), re = V(() => {
|
|
6399
|
+
if (Ve.value && Ve.value.timeInHours && n.showTimeOfDay)
|
|
6400
|
+
return Ht(Ve.value.timeInHours);
|
|
6401
|
+
}), Ue = V(() => {
|
|
6402
6402
|
const $ = fe(
|
|
6403
6403
|
s.value,
|
|
6404
6404
|
"/config.json"
|
|
@@ -6407,7 +6407,7 @@ const Ei = {
|
|
|
6407
6407
|
`${$}-dont-show-tutorial`
|
|
6408
6408
|
);
|
|
6409
6409
|
});
|
|
6410
|
-
function
|
|
6410
|
+
function Ge($) {
|
|
6411
6411
|
ee.value = $, ke.value.setCurrentDataPoint(Ba(ee.value));
|
|
6412
6412
|
}
|
|
6413
6413
|
function He() {
|
|
@@ -6425,13 +6425,13 @@ const Ei = {
|
|
|
6425
6425
|
ee.value = Y.value[0];
|
|
6426
6426
|
}
|
|
6427
6427
|
function Tt($) {
|
|
6428
|
-
|
|
6428
|
+
de.value = $;
|
|
6429
6429
|
}
|
|
6430
6430
|
function Ot($) {
|
|
6431
6431
|
Y.value = $.data.filter((U) => U.labels.thumbnailUrl);
|
|
6432
6432
|
}
|
|
6433
6433
|
function Bt($) {
|
|
6434
|
-
$.state ===
|
|
6434
|
+
$.state === za.Finished && (j.value = $.dataPoint, ge.value = $.dataPoint.labels.cameraId, de.value = $.dataPoint.labels.interiorId);
|
|
6435
6435
|
}
|
|
6436
6436
|
function Dt($) {
|
|
6437
6437
|
oe.value = $.data;
|
|
@@ -6452,7 +6452,7 @@ const Ei = {
|
|
|
6452
6452
|
o("visuadoCreateButtonClicked", U);
|
|
6453
6453
|
}
|
|
6454
6454
|
function Lt($ = !1) {
|
|
6455
|
-
|
|
6455
|
+
se.value = !0, te.value = !1, $ && Ut();
|
|
6456
6456
|
}
|
|
6457
6457
|
function Ut() {
|
|
6458
6458
|
const $ = fe(
|
|
@@ -6471,9 +6471,9 @@ const Ei = {
|
|
|
6471
6471
|
return { hours: U, minutes: ye };
|
|
6472
6472
|
}
|
|
6473
6473
|
function Pt() {
|
|
6474
|
-
|
|
6474
|
+
De.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
6475
6475
|
}
|
|
6476
|
-
function
|
|
6476
|
+
function ut($) {
|
|
6477
6477
|
ke.value.setAllOptions({
|
|
6478
6478
|
unrealBloomEnabled: $.UNREAL_BLOOM_ENABLED,
|
|
6479
6479
|
unrealBloomStrength: $.UNREAL_BLOOM_STRENGTH,
|
|
@@ -6489,69 +6489,69 @@ const Ei = {
|
|
|
6489
6489
|
o("saveSettings", $);
|
|
6490
6490
|
}
|
|
6491
6491
|
function gt() {
|
|
6492
|
-
|
|
6492
|
+
De.value.setup();
|
|
6493
6493
|
}
|
|
6494
|
-
function
|
|
6494
|
+
function Xe($) {
|
|
6495
6495
|
ke.value = $, o("initialized", ke.value);
|
|
6496
6496
|
}
|
|
6497
6497
|
function St($) {
|
|
6498
|
-
|
|
6498
|
+
ze.value = $.yRotation;
|
|
6499
6499
|
}
|
|
6500
|
-
function
|
|
6500
|
+
function jt($) {
|
|
6501
6501
|
ge.value = $;
|
|
6502
6502
|
}
|
|
6503
|
-
function
|
|
6504
|
-
|
|
6503
|
+
function zt($) {
|
|
6504
|
+
de.value = $;
|
|
6505
6505
|
}
|
|
6506
6506
|
function qe($) {
|
|
6507
|
-
const U =
|
|
6507
|
+
const U = j.value.labels.daysOfYear.find(
|
|
6508
6508
|
(ye) => ye.dayOfYear === $
|
|
6509
6509
|
);
|
|
6510
|
-
|
|
6510
|
+
Fe.value = U;
|
|
6511
6511
|
}
|
|
6512
|
-
function
|
|
6513
|
-
const U =
|
|
6512
|
+
function Ke($) {
|
|
6513
|
+
const U = Fe.value.timeSamples.find(
|
|
6514
6514
|
(ye) => ye.timeInHours === $
|
|
6515
6515
|
);
|
|
6516
6516
|
Ee.value = U;
|
|
6517
6517
|
}
|
|
6518
6518
|
function Yt($) {
|
|
6519
|
-
|
|
6519
|
+
ze.value = $;
|
|
6520
6520
|
}
|
|
6521
6521
|
function Et($) {
|
|
6522
|
-
|
|
6522
|
+
Ye.value = $;
|
|
6523
6523
|
}
|
|
6524
6524
|
return ($, U) => {
|
|
6525
6525
|
const ye = x("v-btn");
|
|
6526
|
-
return v(),
|
|
6527
|
-
class: me(["virtual-tour-wrapper", [
|
|
6526
|
+
return v(), M("div", {
|
|
6527
|
+
class: me(["virtual-tour-wrapper", [rt.value]])
|
|
6528
6528
|
}, [
|
|
6529
|
-
B.value ? (v(),
|
|
6529
|
+
B.value ? (v(), M("div", Ei, "Error loading the player!!")) : E("", !0),
|
|
6530
6530
|
e("div", Mi, [
|
|
6531
|
-
!
|
|
6531
|
+
!De.value.isActive && g(le) && F.value && ge.value && be.value && de.value && he.value ? (v(), A(ca, {
|
|
6532
6532
|
key: 0,
|
|
6533
6533
|
"cdn-file-resolver": g(s),
|
|
6534
|
-
"apartment-json":
|
|
6534
|
+
"apartment-json": Ve.value,
|
|
6535
6535
|
level: pe.value,
|
|
6536
6536
|
"minimap-json": F.value,
|
|
6537
|
-
rotation:
|
|
6537
|
+
rotation: ze.value,
|
|
6538
6538
|
"current-camera": ge.value,
|
|
6539
6539
|
onGoToCamera: xt,
|
|
6540
|
-
onClose: U[0] || (U[0] = (
|
|
6541
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) :
|
|
6542
|
-
|
|
6540
|
+
onClose: U[0] || (U[0] = (z) => he.value = !1)
|
|
6541
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : E("", !0),
|
|
6542
|
+
de.value && ge.value ? (v(), M("div", {
|
|
6543
6543
|
key: 1,
|
|
6544
|
-
class: me(["v-player", [
|
|
6544
|
+
class: me(["v-player", [rt.value]])
|
|
6545
6545
|
}, [
|
|
6546
|
-
K.value ? (v(),
|
|
6546
|
+
K.value ? (v(), A(Ul, {
|
|
6547
6547
|
key: 0,
|
|
6548
6548
|
data: K.value,
|
|
6549
6549
|
cameraId: ge.value,
|
|
6550
|
-
interiorId:
|
|
6551
|
-
day:
|
|
6550
|
+
interiorId: de.value,
|
|
6551
|
+
day: Fe.value,
|
|
6552
6552
|
time: Ee.value,
|
|
6553
6553
|
isAutoPlaying: Le.value,
|
|
6554
|
-
isFullScreen:
|
|
6554
|
+
isFullScreen: De.value.isActive,
|
|
6555
6555
|
onInitialized: gt,
|
|
6556
6556
|
onDataPointsActivated: Ot,
|
|
6557
6557
|
onDataPointLoad: Bt,
|
|
@@ -6559,154 +6559,154 @@ const Ei = {
|
|
|
6559
6559
|
onDataPointTextureLoad: ft,
|
|
6560
6560
|
onMousePick: Rt,
|
|
6561
6561
|
onStateUpdated: St,
|
|
6562
|
-
onPlayerCoreAccessible:
|
|
6563
|
-
onFrontendMarkersUpdate: U[14] || (U[14] = (
|
|
6562
|
+
onPlayerCoreAccessible: Xe,
|
|
6563
|
+
onFrontendMarkersUpdate: U[14] || (U[14] = (z) => o("frontendMarkersUpdate", z.data))
|
|
6564
6564
|
}, {
|
|
6565
6565
|
"slideshow-image": c(() => [
|
|
6566
|
-
_e.value ? (v(),
|
|
6566
|
+
_e.value ? (v(), A(Ma, {
|
|
6567
6567
|
key: 0,
|
|
6568
6568
|
image: ee.value?.labels.imageUrl
|
|
6569
|
-
}, null, 8, ["image"])) :
|
|
6569
|
+
}, null, 8, ["image"])) : E("", !0)
|
|
6570
6570
|
]),
|
|
6571
6571
|
"top-left": c(() => [
|
|
6572
|
-
g(y) ? (v(),
|
|
6572
|
+
g(y) ? (v(), A(ye, {
|
|
6573
6573
|
key: 0,
|
|
6574
6574
|
density: "comfortable",
|
|
6575
6575
|
icon: "mdi-cog-outline",
|
|
6576
6576
|
elevation: "3",
|
|
6577
6577
|
class: "mr-2",
|
|
6578
|
-
onClick: U[1] || (U[1] = (
|
|
6579
|
-
})) :
|
|
6578
|
+
onClick: U[1] || (U[1] = (z) => xe.value = !xe.value)
|
|
6579
|
+
})) : E("", !0),
|
|
6580
6580
|
Je(h(ye, {
|
|
6581
6581
|
density: "comfortable",
|
|
6582
6582
|
icon: "mdi-alert-outline",
|
|
6583
6583
|
elevation: "3",
|
|
6584
6584
|
class: "mr-2",
|
|
6585
|
-
onClick: U[2] || (U[2] = (
|
|
6585
|
+
onClick: U[2] || (U[2] = (z) => te.value = !te.value)
|
|
6586
6586
|
}, null, 512), [
|
|
6587
|
-
[
|
|
6587
|
+
[st, se.value]
|
|
6588
6588
|
]),
|
|
6589
|
-
F.value && ge.value && be.value ? Je((v(),
|
|
6589
|
+
F.value && ge.value && be.value ? Je((v(), A(ye, {
|
|
6590
6590
|
key: 1,
|
|
6591
6591
|
density: "comfortable",
|
|
6592
6592
|
elevation: "3",
|
|
6593
6593
|
icon: "mdi-floor-plan",
|
|
6594
6594
|
class: "mr-2",
|
|
6595
|
-
onClick: U[3] || (U[3] = (
|
|
6595
|
+
onClick: U[3] || (U[3] = (z) => he.value = !he.value)
|
|
6596
6596
|
}, null, 512)), [
|
|
6597
|
-
[
|
|
6598
|
-
]) :
|
|
6599
|
-
|
|
6597
|
+
[st, se.value]
|
|
6598
|
+
]) : E("", !0),
|
|
6599
|
+
se.value && g(O) && W.value.length > 1 ? (v(), A(Ci, {
|
|
6600
6600
|
key: 2,
|
|
6601
6601
|
modelValue: ie.value,
|
|
6602
|
-
"onUpdate:modelValue": U[4] || (U[4] = (
|
|
6602
|
+
"onUpdate:modelValue": U[4] || (U[4] = (z) => ie.value = z),
|
|
6603
6603
|
"floor-levels": W.value
|
|
6604
|
-
}, null, 8, ["modelValue", "floor-levels"])) :
|
|
6605
|
-
g(y) && xe.value ? (v(),
|
|
6604
|
+
}, null, 8, ["modelValue", "floor-levels"])) : E("", !0),
|
|
6605
|
+
g(y) && xe.value ? (v(), M("div", Ai, [
|
|
6606
6606
|
h(gi, {
|
|
6607
6607
|
"initial-settings": g(d),
|
|
6608
|
-
onUpdateSettings:
|
|
6608
|
+
onUpdateSettings: ut,
|
|
6609
6609
|
onSaveSettings: ht
|
|
6610
6610
|
}, null, 8, ["initial-settings"])
|
|
6611
|
-
])) :
|
|
6611
|
+
])) : E("", !0)
|
|
6612
6612
|
]),
|
|
6613
6613
|
"top-center": c(() => [...U[19] || (U[19] = [])]),
|
|
6614
6614
|
"top-right": c(() => [
|
|
6615
|
-
|
|
6616
|
-
h(ei, { rotation:
|
|
6615
|
+
Ve.value && g(p) ? Je((v(), M("div", Ii, [
|
|
6616
|
+
h(ei, { rotation: ze.value }, null, 8, ["rotation"])
|
|
6617
6617
|
], 512)), [
|
|
6618
|
-
[
|
|
6619
|
-
]) :
|
|
6618
|
+
[st, se.value]
|
|
6619
|
+
]) : E("", !0),
|
|
6620
6620
|
e("div", {
|
|
6621
|
-
onClick: U[5] || (U[5] = (
|
|
6621
|
+
onClick: U[5] || (U[5] = (z) => he.value = !he.value)
|
|
6622
6622
|
}, [
|
|
6623
|
-
|
|
6623
|
+
se.value && Ve.value && Ve.value.timeInHours && g(u) ? (v(), A(Ks, {
|
|
6624
6624
|
key: 0,
|
|
6625
|
-
hours:
|
|
6626
|
-
minutes:
|
|
6625
|
+
hours: re.value.hours,
|
|
6626
|
+
minutes: re.value.minutes,
|
|
6627
6627
|
class: "time-of-day",
|
|
6628
|
-
style:
|
|
6628
|
+
style: ve({
|
|
6629
6629
|
cursor: F.value && ge.value && be.value ? "pointer" : "default"
|
|
6630
6630
|
})
|
|
6631
|
-
}, null, 8, ["hours", "minutes", "style"])) :
|
|
6631
|
+
}, null, 8, ["hours", "minutes", "style"])) : E("", !0)
|
|
6632
6632
|
])
|
|
6633
6633
|
]),
|
|
6634
6634
|
"center-left": c(() => [
|
|
6635
|
-
h(
|
|
6635
|
+
h(Re, { name: "slide-x-transition" }, {
|
|
6636
6636
|
default: c(() => [
|
|
6637
|
-
_e.value ? (v(),
|
|
6637
|
+
_e.value ? (v(), A(ye, {
|
|
6638
6638
|
key: 0,
|
|
6639
6639
|
density: "comfortable",
|
|
6640
6640
|
elevation: "3",
|
|
6641
6641
|
icon: "mdi-chevron-left",
|
|
6642
6642
|
onClick: $t
|
|
6643
|
-
})) :
|
|
6643
|
+
})) : E("", !0)
|
|
6644
6644
|
]),
|
|
6645
6645
|
_: 1
|
|
6646
6646
|
})
|
|
6647
6647
|
]),
|
|
6648
6648
|
"center-center": c(() => [
|
|
6649
|
-
te.value ? (v(),
|
|
6649
|
+
te.value ? (v(), A(fs, {
|
|
6650
6650
|
key: 0,
|
|
6651
|
-
onCloseTutorial: U[6] || (U[6] = (
|
|
6652
|
-
})) :
|
|
6653
|
-
|
|
6651
|
+
onCloseTutorial: U[6] || (U[6] = (z) => Lt(z))
|
|
6652
|
+
})) : E("", !0),
|
|
6653
|
+
De.value.isActive && F.value && j.value && be.value && he.value ? (v(), A(ca, {
|
|
6654
6654
|
key: 1,
|
|
6655
6655
|
"cdn-file-resolver": g(s),
|
|
6656
|
-
"apartment-json":
|
|
6656
|
+
"apartment-json": Ve.value,
|
|
6657
6657
|
"minimap-json": F.value,
|
|
6658
|
-
rotation:
|
|
6659
|
-
"current-camera":
|
|
6660
|
-
level:
|
|
6661
|
-
onClose: U[7] || (U[7] = (
|
|
6658
|
+
rotation: ze.value,
|
|
6659
|
+
"current-camera": j.value.labels.cameraId,
|
|
6660
|
+
level: Ye.value,
|
|
6661
|
+
onClose: U[7] || (U[7] = (z) => he.value = !1),
|
|
6662
6662
|
onGoToCamera: xt
|
|
6663
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) :
|
|
6663
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : E("", !0)
|
|
6664
6664
|
]),
|
|
6665
6665
|
"center-right": c(() => [
|
|
6666
|
-
h(
|
|
6666
|
+
h(Re, { name: "slide-x-reverse-transition" }, {
|
|
6667
6667
|
default: c(() => [
|
|
6668
|
-
_e.value ? (v(),
|
|
6668
|
+
_e.value ? (v(), A(ye, {
|
|
6669
6669
|
key: 0,
|
|
6670
6670
|
density: "comfortable",
|
|
6671
6671
|
elevation: "3",
|
|
6672
6672
|
icon: "mdi-chevron-right",
|
|
6673
6673
|
onClick: He
|
|
6674
|
-
})) :
|
|
6674
|
+
})) : E("", !0)
|
|
6675
6675
|
]),
|
|
6676
6676
|
_: 1
|
|
6677
6677
|
})
|
|
6678
6678
|
]),
|
|
6679
6679
|
"bottom-left": c(() => [
|
|
6680
|
-
g(_) ? (v(),
|
|
6680
|
+
g(_) ? (v(), A(Is, {
|
|
6681
6681
|
key: 0,
|
|
6682
|
-
"is-full-screen":
|
|
6682
|
+
"is-full-screen": De.value.isActive,
|
|
6683
6683
|
class: "btn-fullscreen",
|
|
6684
6684
|
onToggleFullscreen: Pt
|
|
6685
|
-
}, null, 8, ["is-full-screen"])) :
|
|
6686
|
-
g(L) ? (v(),
|
|
6685
|
+
}, null, 8, ["is-full-screen"])) : E("", !0),
|
|
6686
|
+
g(L) ? (v(), M("div", Fi, [
|
|
6687
6687
|
h(ye, {
|
|
6688
6688
|
density: "comfortable",
|
|
6689
6689
|
elevation: "3",
|
|
6690
6690
|
icon: "mdi-camera",
|
|
6691
6691
|
onClick: _t
|
|
6692
6692
|
})
|
|
6693
|
-
])) :
|
|
6693
|
+
])) : E("", !0),
|
|
6694
6694
|
e("div", Vi, [
|
|
6695
|
-
g(r) &&
|
|
6695
|
+
g(r) && se.value ? (v(), A(zl, {
|
|
6696
6696
|
key: 0,
|
|
6697
6697
|
modelValue: _e.value,
|
|
6698
|
-
"onUpdate:modelValue": U[8] || (U[8] = (
|
|
6699
|
-
}, null, 8, ["modelValue"])) :
|
|
6698
|
+
"onUpdate:modelValue": U[8] || (U[8] = (z) => _e.value = z)
|
|
6699
|
+
}, null, 8, ["modelValue"])) : E("", !0)
|
|
6700
6700
|
]),
|
|
6701
|
-
|
|
6701
|
+
se.value && g(S) && !De.value.isActive ? (v(), M("div", $i, [
|
|
6702
6702
|
h(Wl)
|
|
6703
|
-
])) :
|
|
6704
|
-
|
|
6703
|
+
])) : E("", !0),
|
|
6704
|
+
se.value && g(ce) ? (v(), M("div", Ti, [
|
|
6705
6705
|
h(Ms, { onOnSnapshot: Ct })
|
|
6706
|
-
])) :
|
|
6706
|
+
])) : E("", !0)
|
|
6707
6707
|
]),
|
|
6708
6708
|
"bottom-center": c(() => [
|
|
6709
|
-
h(
|
|
6709
|
+
h(Re, null, {
|
|
6710
6710
|
default: c(() => [
|
|
6711
6711
|
e("div", null, [
|
|
6712
6712
|
e("div", {
|
|
@@ -6714,42 +6714,42 @@ const Ei = {
|
|
|
6714
6714
|
"mb-2": !Ce.value
|
|
6715
6715
|
}])
|
|
6716
6716
|
}, [
|
|
6717
|
-
!Le.value &&
|
|
6717
|
+
!Le.value && j.value?.labels?.hasSunSim ? (v(), A(Us, {
|
|
6718
6718
|
key: 0,
|
|
6719
6719
|
modelValue: Te.value,
|
|
6720
|
-
"onUpdate:modelValue": U[9] || (U[9] = (
|
|
6721
|
-
"show-ui":
|
|
6720
|
+
"onUpdate:modelValue": U[9] || (U[9] = (z) => Te.value = z),
|
|
6721
|
+
"show-ui": se.value,
|
|
6722
6722
|
class: "ml-2"
|
|
6723
|
-
}, null, 8, ["modelValue", "show-ui"])) :
|
|
6723
|
+
}, null, 8, ["modelValue", "show-ui"])) : E("", !0)
|
|
6724
6724
|
], 2),
|
|
6725
|
-
!Ce.value && !Le.value &&
|
|
6725
|
+
!Ce.value && !Le.value && j.value?.labels?.hasSunSim && Ee.value ? (v(), A(da, {
|
|
6726
6726
|
key: 0,
|
|
6727
6727
|
modelValue: Te.value,
|
|
6728
|
-
"onUpdate:modelValue": U[10] || (U[10] = (
|
|
6728
|
+
"onUpdate:modelValue": U[10] || (U[10] = (z) => Te.value = z),
|
|
6729
6729
|
time: Ee.value,
|
|
6730
|
-
"onUpdate:time": U[11] || (U[11] = (
|
|
6731
|
-
day:
|
|
6732
|
-
"onUpdate:day": U[12] || (U[12] = (
|
|
6730
|
+
"onUpdate:time": U[11] || (U[11] = (z) => Ee.value = z),
|
|
6731
|
+
day: Fe.value,
|
|
6732
|
+
"onUpdate:day": U[12] || (U[12] = (z) => Fe.value = z),
|
|
6733
6733
|
class: "sunsim-slider-desktop"
|
|
6734
|
-
}, null, 8, ["modelValue", "time", "day"])) :
|
|
6735
|
-
!Ce.value && g(k) &&
|
|
6734
|
+
}, null, 8, ["modelValue", "time", "day"])) : E("", !0),
|
|
6735
|
+
!Ce.value && g(k) && se.value && Y.value ? (v(), A(va, {
|
|
6736
6736
|
key: 1,
|
|
6737
6737
|
ref_key: "carousel",
|
|
6738
6738
|
ref: Se,
|
|
6739
|
-
class: me([
|
|
6739
|
+
class: me([De.value.isActive ? "full-screen" : ""]),
|
|
6740
6740
|
currentThumbnail: ee.value,
|
|
6741
6741
|
thumbnails: Y.value,
|
|
6742
|
-
onGo:
|
|
6742
|
+
onGo: Ge
|
|
6743
6743
|
}, {
|
|
6744
6744
|
before: c(() => [
|
|
6745
|
-
g(R) ? (v(),
|
|
6745
|
+
g(R) ? (v(), A(ua, {
|
|
6746
6746
|
key: 0,
|
|
6747
6747
|
modelValue: Le.value,
|
|
6748
|
-
"onUpdate:modelValue": U[13] || (U[13] = (
|
|
6749
|
-
}, null, 8, ["modelValue"])) :
|
|
6748
|
+
"onUpdate:modelValue": U[13] || (U[13] = (z) => Le.value = z)
|
|
6749
|
+
}, null, 8, ["modelValue"])) : E("", !0)
|
|
6750
6750
|
]),
|
|
6751
6751
|
_: 1
|
|
6752
|
-
}, 8, ["class", "currentThumbnail", "thumbnails"])) :
|
|
6752
|
+
}, 8, ["class", "currentThumbnail", "thumbnails"])) : E("", !0)
|
|
6753
6753
|
])
|
|
6754
6754
|
]),
|
|
6755
6755
|
_: 1
|
|
@@ -6757,62 +6757,62 @@ const Ei = {
|
|
|
6757
6757
|
]),
|
|
6758
6758
|
"bottom-right": c(() => [
|
|
6759
6759
|
e("div", Oi, [
|
|
6760
|
-
|
|
6760
|
+
se.value && g(Z) ? (v(), A(Rs, {
|
|
6761
6761
|
key: 0,
|
|
6762
6762
|
"cdn-file-resolver": g(s),
|
|
6763
6763
|
archetypes: we.value,
|
|
6764
|
-
"current-data-point":
|
|
6764
|
+
"current-data-point": j.value,
|
|
6765
6765
|
onSelectInterior: Tt
|
|
6766
|
-
}, null, 8, ["cdn-file-resolver", "archetypes", "current-data-point"])) :
|
|
6766
|
+
}, null, 8, ["cdn-file-resolver", "archetypes", "current-data-point"])) : E("", !0)
|
|
6767
6767
|
])
|
|
6768
6768
|
]),
|
|
6769
6769
|
_: 1
|
|
6770
|
-
}, 8, ["data", "cameraId", "interiorId", "day", "time", "isAutoPlaying", "isFullScreen"])) :
|
|
6771
|
-
h(
|
|
6770
|
+
}, 8, ["data", "cameraId", "interiorId", "day", "time", "isAutoPlaying", "isFullScreen"])) : E("", !0),
|
|
6771
|
+
h(Re, null, {
|
|
6772
6772
|
default: c(() => [
|
|
6773
|
-
Ce.value && g(k) &&
|
|
6773
|
+
Ce.value && g(k) && se.value && Y.value ? (v(), A(va, {
|
|
6774
6774
|
key: 0,
|
|
6775
6775
|
ref_key: "carousel",
|
|
6776
6776
|
ref: Se,
|
|
6777
6777
|
class: "waypoint-carousel below-player",
|
|
6778
6778
|
currentThumbnail: ee.value,
|
|
6779
6779
|
thumbnails: Y.value,
|
|
6780
|
-
onGo:
|
|
6780
|
+
onGo: Ge
|
|
6781
6781
|
}, {
|
|
6782
6782
|
before: c(() => [
|
|
6783
|
-
g(R) ? (v(),
|
|
6783
|
+
g(R) ? (v(), A(ua, {
|
|
6784
6784
|
key: 0,
|
|
6785
6785
|
modelValue: Le.value,
|
|
6786
|
-
"onUpdate:modelValue": U[15] || (U[15] = (
|
|
6787
|
-
}, null, 8, ["modelValue"])) :
|
|
6786
|
+
"onUpdate:modelValue": U[15] || (U[15] = (z) => Le.value = z)
|
|
6787
|
+
}, null, 8, ["modelValue"])) : E("", !0)
|
|
6788
6788
|
]),
|
|
6789
6789
|
_: 1
|
|
6790
|
-
}, 8, ["currentThumbnail", "thumbnails"])) :
|
|
6790
|
+
}, 8, ["currentThumbnail", "thumbnails"])) : E("", !0)
|
|
6791
6791
|
]),
|
|
6792
6792
|
_: 1
|
|
6793
6793
|
}),
|
|
6794
|
-
Ce.value ? (v(),
|
|
6795
|
-
Le.value &&
|
|
6794
|
+
Ce.value ? (v(), M("div", Bi, [
|
|
6795
|
+
Le.value && j.value?.labels?.hasSunSim && Ee.value ? (v(), A(da, {
|
|
6796
6796
|
key: 0,
|
|
6797
6797
|
modelValue: Te.value,
|
|
6798
|
-
"onUpdate:modelValue": U[16] || (U[16] = (
|
|
6798
|
+
"onUpdate:modelValue": U[16] || (U[16] = (z) => Te.value = z),
|
|
6799
6799
|
time: Ee.value,
|
|
6800
|
-
"onUpdate:time": U[17] || (U[17] = (
|
|
6801
|
-
day:
|
|
6802
|
-
"onUpdate:day": U[18] || (U[18] = (
|
|
6800
|
+
"onUpdate:time": U[17] || (U[17] = (z) => Ee.value = z),
|
|
6801
|
+
day: Fe.value,
|
|
6802
|
+
"onUpdate:day": U[18] || (U[18] = (z) => Fe.value = z),
|
|
6803
6803
|
class: "mt-1"
|
|
6804
|
-
}, null, 8, ["modelValue", "time", "day"])) :
|
|
6805
|
-
])) :
|
|
6806
|
-
], 2)) :
|
|
6807
|
-
g(m) && g(q) ? (v(),
|
|
6804
|
+
}, null, 8, ["modelValue", "time", "day"])) : E("", !0)
|
|
6805
|
+
])) : E("", !0)
|
|
6806
|
+
], 2)) : E("", !0),
|
|
6807
|
+
g(m) && g(q) ? (v(), M("div", Di, " version: " + T(g(m)), 1)) : E("", !0)
|
|
6808
6808
|
])
|
|
6809
6809
|
], 2);
|
|
6810
6810
|
};
|
|
6811
6811
|
}
|
|
6812
|
-
}), Ui = /* @__PURE__ */ X(Ri, [["__scopeId", "data-v-eb21a939"]]), Hi = { id: "player-wrapper" }, Pi = { id: "player-sizer" },
|
|
6812
|
+
}), Ui = /* @__PURE__ */ X(Ri, [["__scopeId", "data-v-eb21a939"]]), Hi = { id: "player-wrapper" }, Pi = { id: "player-sizer" }, ji = {
|
|
6813
6813
|
class: "player-control",
|
|
6814
6814
|
id: "controls-top-left"
|
|
6815
|
-
},
|
|
6815
|
+
}, zi = {
|
|
6816
6816
|
class: "player-control",
|
|
6817
6817
|
id: "controls-top-center"
|
|
6818
6818
|
}, Yi = {
|
|
@@ -6842,13 +6842,13 @@ const Ei = {
|
|
|
6842
6842
|
isFullScreen: { type: Boolean }
|
|
6843
6843
|
},
|
|
6844
6844
|
setup(l) {
|
|
6845
|
-
return (t, a) => (v(),
|
|
6845
|
+
return (t, a) => (v(), M("div", Hi, [
|
|
6846
6846
|
e("div", Pi, [
|
|
6847
6847
|
J(t.$slots, "slideshow-image", {}, void 0, !0),
|
|
6848
|
-
e("div",
|
|
6848
|
+
e("div", ji, [
|
|
6849
6849
|
J(t.$slots, "top-left", {}, void 0, !0)
|
|
6850
6850
|
]),
|
|
6851
|
-
e("div",
|
|
6851
|
+
e("div", zi, [
|
|
6852
6852
|
J(t.$slots, "top-center", {}, void 0, !0)
|
|
6853
6853
|
]),
|
|
6854
6854
|
e("div", Yi, [
|
|
@@ -6890,9 +6890,9 @@ const Ei = {
|
|
|
6890
6890
|
},
|
|
6891
6891
|
setup(l) {
|
|
6892
6892
|
const t = l;
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
t.i18nConfig ? new
|
|
6893
|
+
lt(
|
|
6894
|
+
Oe,
|
|
6895
|
+
t.i18nConfig ? new ot(t.i18nConfig) : new ot()
|
|
6896
6896
|
);
|
|
6897
6897
|
const a = b(0), n = b(
|
|
6898
6898
|
new Xt(document, "player-wrapper")
|
|
@@ -6918,13 +6918,13 @@ const Ei = {
|
|
|
6918
6918
|
}
|
|
6919
6919
|
function r(m, y = !0) {
|
|
6920
6920
|
let d = o.value.findIndex(
|
|
6921
|
-
(
|
|
6921
|
+
(I) => I.id === m
|
|
6922
6922
|
);
|
|
6923
6923
|
d != -1 && (a.value = d);
|
|
6924
6924
|
}
|
|
6925
6925
|
return (m, y) => {
|
|
6926
|
-
const d = x("v-img"),
|
|
6927
|
-
return v(),
|
|
6926
|
+
const d = x("v-img"), I = x("v-btn");
|
|
6927
|
+
return v(), M("div", Ki, [
|
|
6928
6928
|
e("div", er, [
|
|
6929
6929
|
e("div", null, [
|
|
6930
6930
|
h(Xi, {
|
|
@@ -6941,48 +6941,48 @@ const Ei = {
|
|
|
6941
6941
|
"top-center": c(() => [...y[1] || (y[1] = [])]),
|
|
6942
6942
|
"top-right": c(() => [...y[2] || (y[2] = [])]),
|
|
6943
6943
|
"center-left": c(() => [
|
|
6944
|
-
h(
|
|
6944
|
+
h(Re, { name: "slide-x-transition" }, {
|
|
6945
6945
|
default: c(() => [
|
|
6946
|
-
o.value.length > 1 ? (v(), I
|
|
6946
|
+
o.value.length > 1 ? (v(), A(I, {
|
|
6947
6947
|
key: 0,
|
|
6948
6948
|
density: "comfortable",
|
|
6949
6949
|
elevation: "3",
|
|
6950
6950
|
icon: "mdi-chevron-left",
|
|
6951
6951
|
onClick: w
|
|
6952
|
-
})) :
|
|
6952
|
+
})) : E("", !0)
|
|
6953
6953
|
]),
|
|
6954
6954
|
_: 1
|
|
6955
6955
|
})
|
|
6956
6956
|
]),
|
|
6957
6957
|
"center-center": c(() => [...y[3] || (y[3] = [])]),
|
|
6958
6958
|
"center-right": c(() => [
|
|
6959
|
-
h(
|
|
6959
|
+
h(Re, { name: "slide-x-reverse-transition" }, {
|
|
6960
6960
|
default: c(() => [
|
|
6961
|
-
o.value.length > 1 ? (v(), I
|
|
6961
|
+
o.value.length > 1 ? (v(), A(I, {
|
|
6962
6962
|
key: 0,
|
|
6963
6963
|
density: "comfortable",
|
|
6964
6964
|
elevation: "3",
|
|
6965
6965
|
icon: "mdi-chevron-right",
|
|
6966
6966
|
onClick: f
|
|
6967
|
-
})) :
|
|
6967
|
+
})) : E("", !0)
|
|
6968
6968
|
]),
|
|
6969
6969
|
_: 1
|
|
6970
6970
|
})
|
|
6971
6971
|
]),
|
|
6972
6972
|
"bottom-left": c(() => [
|
|
6973
|
-
l.showFullScreen ? (v(),
|
|
6973
|
+
l.showFullScreen ? (v(), A(Aa, {
|
|
6974
6974
|
key: 0,
|
|
6975
6975
|
"is-full-screen": n.value.isActive,
|
|
6976
6976
|
class: "btn-fullscreen",
|
|
6977
6977
|
onToggleFullscreen: s
|
|
6978
|
-
}, null, 8, ["is-full-screen"])) :
|
|
6979
|
-
l.showShare ? (v(),
|
|
6978
|
+
}, null, 8, ["is-full-screen"])) : E("", !0),
|
|
6979
|
+
l.showShare ? (v(), M("div", ar, [
|
|
6980
6980
|
h(Ea)
|
|
6981
|
-
])) :
|
|
6981
|
+
])) : E("", !0)
|
|
6982
6982
|
]),
|
|
6983
6983
|
"bottom-center": c(() => [
|
|
6984
6984
|
e("div", null, [
|
|
6985
|
-
n.value.isActive && o.value.length > 1 ? (v(),
|
|
6985
|
+
n.value.isActive && o.value.length > 1 ? (v(), A(Vt, {
|
|
6986
6986
|
key: 0,
|
|
6987
6987
|
class: me([n.value.isActive ? "full-screen" : ""]),
|
|
6988
6988
|
thumbnails: o.value,
|
|
@@ -6990,20 +6990,20 @@ const Ei = {
|
|
|
6990
6990
|
onNext: f,
|
|
6991
6991
|
onPrevious: w,
|
|
6992
6992
|
onGoto: r
|
|
6993
|
-
}, null, 8, ["class", "thumbnails", "active"])) :
|
|
6993
|
+
}, null, 8, ["class", "thumbnails", "active"])) : E("", !0)
|
|
6994
6994
|
])
|
|
6995
6995
|
]),
|
|
6996
6996
|
"bottom-right": c(() => [...y[4] || (y[4] = [])]),
|
|
6997
6997
|
_: 1
|
|
6998
6998
|
}, 8, ["is-full-screen"]),
|
|
6999
|
-
o.value.length > 1 ? (v(),
|
|
6999
|
+
o.value.length > 1 ? (v(), A(Vt, {
|
|
7000
7000
|
key: 0,
|
|
7001
7001
|
thumbnails: o.value,
|
|
7002
7002
|
active: a.value,
|
|
7003
7003
|
onNext: f,
|
|
7004
7004
|
onPrevious: w,
|
|
7005
7005
|
onGoto: r
|
|
7006
|
-
}, null, 8, ["thumbnails", "active"])) :
|
|
7006
|
+
}, null, 8, ["thumbnails", "active"])) : E("", !0)
|
|
7007
7007
|
])
|
|
7008
7008
|
])
|
|
7009
7009
|
]);
|
|
@@ -7034,7 +7034,7 @@ const Ei = {
|
|
|
7034
7034
|
}), H(y, () => {
|
|
7035
7035
|
o("cameraSet", y.value);
|
|
7036
7036
|
});
|
|
7037
|
-
const
|
|
7037
|
+
const I = V(() => {
|
|
7038
7038
|
const _ = fe(n.cdnFileResolver.value, "").replace(
|
|
7039
7039
|
`/${i.value.type}/${i.value.id}`,
|
|
7040
7040
|
""
|
|
@@ -7066,22 +7066,22 @@ const Ei = {
|
|
|
7066
7066
|
}
|
|
7067
7067
|
return (p, _) => {
|
|
7068
7068
|
const L = x("v-skeleton-loader");
|
|
7069
|
-
return v(),
|
|
7069
|
+
return v(), A(L, {
|
|
7070
7070
|
loading: !i.value || !s.value
|
|
7071
7071
|
}, {
|
|
7072
7072
|
default: c(() => [
|
|
7073
7073
|
e("div", null, [
|
|
7074
7074
|
e("div", {
|
|
7075
|
-
style:
|
|
7075
|
+
style: ve({ ...d.value, position: "relative" }),
|
|
7076
7076
|
ref_key: "fitContainer",
|
|
7077
7077
|
ref: r
|
|
7078
7078
|
}, [
|
|
7079
|
-
l.hideCompass !== !0 ? (v(),
|
|
7079
|
+
l.hideCompass !== !0 ? (v(), A(Qt, {
|
|
7080
7080
|
key: 0,
|
|
7081
7081
|
scale: l.compassScale || 1,
|
|
7082
7082
|
rotation: k.value.rotation.y,
|
|
7083
7083
|
"transform-angle": w.value
|
|
7084
|
-
}, null, 8, ["scale", "rotation", "transform-angle"])) :
|
|
7084
|
+
}, null, 8, ["scale", "rotation", "transform-angle"])) : E("", !0),
|
|
7085
7085
|
h(Jt, {
|
|
7086
7086
|
"transform-angle": w.value,
|
|
7087
7087
|
"all-cameras": i.value.cameras,
|
|
@@ -7093,24 +7093,24 @@ const Ei = {
|
|
|
7093
7093
|
containerHeight: 384,
|
|
7094
7094
|
fit: ""
|
|
7095
7095
|
}, {
|
|
7096
|
-
default: c(({ id: S, camera: Z, active:
|
|
7096
|
+
default: c(({ id: S, camera: Z, active: le, style: O }) => [
|
|
7097
7097
|
J(p.$slots, "default", {
|
|
7098
7098
|
id: S,
|
|
7099
7099
|
camera: Z,
|
|
7100
|
-
active:
|
|
7101
|
-
style:
|
|
7100
|
+
active: le,
|
|
7101
|
+
style: ve(O)
|
|
7102
7102
|
}, void 0, !0)
|
|
7103
7103
|
]),
|
|
7104
7104
|
_: 3
|
|
7105
7105
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
7106
|
-
l.hideSlider !== !0 ? (v(),
|
|
7106
|
+
l.hideSlider !== !0 ? (v(), A(Gt, {
|
|
7107
7107
|
key: 1,
|
|
7108
|
-
"cdn-file-resolver":
|
|
7108
|
+
"cdn-file-resolver": I.value,
|
|
7109
7109
|
"minimap-json": s.value,
|
|
7110
7110
|
"apartment-json": i.value,
|
|
7111
7111
|
level: l.level || 0,
|
|
7112
7112
|
onSetBackgroundImage: u
|
|
7113
|
-
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) :
|
|
7113
|
+
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) : E("", !0)
|
|
7114
7114
|
], 4)
|
|
7115
7115
|
])
|
|
7116
7116
|
]),
|
|
@@ -7126,35 +7126,36 @@ const Ei = {
|
|
|
7126
7126
|
currentTime: {}
|
|
7127
7127
|
},
|
|
7128
7128
|
setup(l) {
|
|
7129
|
-
const t = l, { timeSampleData: a, cdnFileResolver: n, currentTime: o } = $e(t), i = b(), s =
|
|
7130
|
-
|
|
7129
|
+
const t = l, { timeSampleData: a, cdnFileResolver: n, currentTime: o } = $e(t), i = b(), s = Me("registerImage"), f = Me("completeImage"), w = Me("unregisterImage");
|
|
7130
|
+
Qe(() => {
|
|
7131
|
+
i.value && w(i.value);
|
|
7132
|
+
}), H(i, () => {
|
|
7131
7133
|
i.value && (s(i.value), i.value.onload = () => {
|
|
7132
7134
|
f(i.value);
|
|
7133
7135
|
}, i.value.onerror = () => {
|
|
7134
7136
|
f(i.value);
|
|
7135
7137
|
});
|
|
7136
7138
|
});
|
|
7137
|
-
const
|
|
7138
|
-
return (
|
|
7139
|
+
const r = V(() => fe(n.value, a.value.filename));
|
|
7140
|
+
return (m, y) => (v(), M("img", {
|
|
7139
7141
|
ref_key: "image",
|
|
7140
7142
|
ref: i,
|
|
7141
|
-
style:
|
|
7143
|
+
style: ve({
|
|
7142
7144
|
visibility: g(o) && g(a) === g(o) ? "visible" : "hidden"
|
|
7143
7145
|
}),
|
|
7144
|
-
src:
|
|
7146
|
+
src: r.value
|
|
7145
7147
|
}, null, 12, sr));
|
|
7146
7148
|
}
|
|
7147
|
-
}), rr = /* @__PURE__ */ X(ir, [["__scopeId", "data-v-
|
|
7149
|
+
}), rr = /* @__PURE__ */ X(ir, [["__scopeId", "data-v-1a3bd31a"]]), ur = /* @__PURE__ */ N({
|
|
7148
7150
|
__name: "VStructureChooserCameraDay",
|
|
7149
7151
|
props: {
|
|
7150
7152
|
dayData: {},
|
|
7151
7153
|
cdnFileResolver: { type: [String, Function] },
|
|
7152
|
-
currentDay: {},
|
|
7153
7154
|
currentTime: {}
|
|
7154
7155
|
},
|
|
7155
7156
|
setup(l) {
|
|
7156
7157
|
const t = l, { dayData: a, cdnFileResolver: n, currentTime: o } = $e(t);
|
|
7157
|
-
return (i, s) => (v(!0),
|
|
7158
|
+
return (i, s) => (v(!0), M(Be, null, Ne(g(a).timeSamples, (f, w) => (v(), A(rr, {
|
|
7158
7159
|
key: w,
|
|
7159
7160
|
"time-sample-data": f,
|
|
7160
7161
|
"cdn-file-resolver": g(n),
|
|
@@ -7171,30 +7172,30 @@ const Ei = {
|
|
|
7171
7172
|
currentTime: {}
|
|
7172
7173
|
},
|
|
7173
7174
|
setup(l) {
|
|
7174
|
-
const t = l, { cameraData: a, cdnFileResolver: n,
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7175
|
+
const t = l, { cameraData: a, cdnFileResolver: n, currentTime: o } = $e(t), i = b(), s = Me("registerImage"), f = Me("completeImage"), w = Me("unregisterImage");
|
|
7176
|
+
Qe(() => {
|
|
7177
|
+
i.value && w(i.value);
|
|
7178
|
+
}), H(i, () => {
|
|
7179
|
+
i.value && (s(i.value), i.value.onload = () => {
|
|
7180
|
+
f(i.value);
|
|
7181
|
+
}, i.value.onerror = () => {
|
|
7182
|
+
f(i.value);
|
|
7180
7183
|
});
|
|
7181
7184
|
});
|
|
7182
7185
|
const r = V(() => fe(n.value, a.value.defaultFilename));
|
|
7183
|
-
return (m, y) => g(a).sunsimDayOfYear
|
|
7184
|
-
key:
|
|
7185
|
-
"day-data":
|
|
7186
|
+
return (m, y) => g(a).sunsimDayOfYear && l.currentDay ? (v(), A(ur, {
|
|
7187
|
+
key: l.currentDay.dayOfYear,
|
|
7188
|
+
"day-data": l.currentDay,
|
|
7186
7189
|
"cdn-file-resolver": g(n),
|
|
7187
|
-
"current-
|
|
7188
|
-
|
|
7189
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : (v(), E("img", {
|
|
7190
|
+
"current-time": g(o)
|
|
7191
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-time"])) : g(a).sunsimDayOfYear ? E("", !0) : (v(), M("img", {
|
|
7190
7192
|
key: 1,
|
|
7191
7193
|
ref_key: "image",
|
|
7192
|
-
ref:
|
|
7193
|
-
style: ce({ visibility: g(o) === g(a) ? "visible" : "hidden" }),
|
|
7194
|
+
ref: i,
|
|
7194
7195
|
src: r.value
|
|
7195
|
-
}, null,
|
|
7196
|
+
}, null, 8, cr));
|
|
7196
7197
|
}
|
|
7197
|
-
}), vr = /* @__PURE__ */ X(dr, [["__scopeId", "data-v-
|
|
7198
|
+
}), vr = /* @__PURE__ */ X(dr, [["__scopeId", "data-v-3a34c4b3"]]), mr = ["src"], pr = /* @__PURE__ */ N({
|
|
7198
7199
|
__name: "VStructureChooserTransition",
|
|
7199
7200
|
props: {
|
|
7200
7201
|
transitionData: {},
|
|
@@ -7202,7 +7203,7 @@ const Ei = {
|
|
|
7202
7203
|
currentTransition: {}
|
|
7203
7204
|
},
|
|
7204
7205
|
setup(l) {
|
|
7205
|
-
const t = l, { transitionData: a, cdnFileResolver: n, currentTransition: o } = $e(t), i = b(), s =
|
|
7206
|
+
const t = l, { transitionData: a, cdnFileResolver: n, currentTransition: o } = $e(t), i = b(), s = Me("registerImage"), f = Me("completeImage");
|
|
7206
7207
|
H(i, () => {
|
|
7207
7208
|
i.value && (s(i.value), i.value.onload = () => {
|
|
7208
7209
|
f(i.value);
|
|
@@ -7211,10 +7212,10 @@ const Ei = {
|
|
|
7211
7212
|
});
|
|
7212
7213
|
});
|
|
7213
7214
|
const w = V(() => fe(n.value, a.value.filename));
|
|
7214
|
-
return (r, m) => (v(),
|
|
7215
|
+
return (r, m) => (v(), M("img", {
|
|
7215
7216
|
ref_key: "image",
|
|
7216
7217
|
ref: i,
|
|
7217
|
-
style:
|
|
7218
|
+
style: ve({
|
|
7218
7219
|
visibility: g(a) === g(o) ? "visible" : "hidden"
|
|
7219
7220
|
}),
|
|
7220
7221
|
src: w.value
|
|
@@ -7253,8 +7254,8 @@ const hr = {
|
|
|
7253
7254
|
)
|
|
7254
7255
|
);
|
|
7255
7256
|
}), (r, m) => {
|
|
7256
|
-
const y = x("v-btn"), d = x("v-field"),
|
|
7257
|
-
return g(o).sunsimDayOfYear && g(o).sunsimDayOfYear.length > 0 ? (v(),
|
|
7257
|
+
const y = x("v-btn"), d = x("v-field"), I = x("v-list-item-title"), k = x("v-list-item"), u = x("v-list"), p = x("v-menu");
|
|
7258
|
+
return g(o).sunsimDayOfYear && g(o).sunsimDayOfYear.length > 0 ? (v(), M("div", hr, [
|
|
7258
7259
|
h(p, null, {
|
|
7259
7260
|
activator: c(({ props: _ }) => [
|
|
7260
7261
|
h(d, {
|
|
@@ -7263,7 +7264,7 @@ const hr = {
|
|
|
7263
7264
|
flat: ""
|
|
7264
7265
|
}, {
|
|
7265
7266
|
default: c(() => [
|
|
7266
|
-
h(y,
|
|
7267
|
+
h(y, Ie({
|
|
7267
7268
|
variant: "text",
|
|
7268
7269
|
rounded: "",
|
|
7269
7270
|
flat: "",
|
|
@@ -7285,13 +7286,13 @@ const hr = {
|
|
|
7285
7286
|
default: c(() => [
|
|
7286
7287
|
h(u, null, {
|
|
7287
7288
|
default: c(() => [
|
|
7288
|
-
(v(!0),
|
|
7289
|
+
(v(!0), M(Be, null, Ne(g(o).sunsimDayOfYear, (_, L) => (v(), A(k, {
|
|
7289
7290
|
key: L,
|
|
7290
7291
|
value: L,
|
|
7291
7292
|
onClick: (S) => w.value = _.dayOfYear
|
|
7292
7293
|
}, {
|
|
7293
7294
|
default: c(() => [
|
|
7294
|
-
h(
|
|
7295
|
+
h(I, null, {
|
|
7295
7296
|
default: c(() => [
|
|
7296
7297
|
Q(T(g(pa)(_.dayOfYear)), 1)
|
|
7297
7298
|
]),
|
|
@@ -7306,7 +7307,7 @@ const hr = {
|
|
|
7306
7307
|
]),
|
|
7307
7308
|
_: 1
|
|
7308
7309
|
})
|
|
7309
|
-
])) :
|
|
7310
|
+
])) : E("", !0);
|
|
7310
7311
|
};
|
|
7311
7312
|
}
|
|
7312
7313
|
}), yr = /* @__PURE__ */ X(gr, [["__scopeId", "data-v-743f5faf"]]), wr = ["onClick"], br = {
|
|
@@ -7356,12 +7357,12 @@ const hr = {
|
|
|
7356
7357
|
o.value.find((k) => k === w.value)
|
|
7357
7358
|
);
|
|
7358
7359
|
});
|
|
7359
|
-
function
|
|
7360
|
+
function I(k) {
|
|
7360
7361
|
f.value || (w.value = k);
|
|
7361
7362
|
}
|
|
7362
7363
|
return (k, u) => {
|
|
7363
7364
|
const p = x("v-btn"), _ = x("v-icon");
|
|
7364
|
-
return v(),
|
|
7365
|
+
return v(), M("div", {
|
|
7365
7366
|
ref_key: "parent",
|
|
7366
7367
|
ref: r,
|
|
7367
7368
|
class: me({
|
|
@@ -7371,7 +7372,7 @@ const hr = {
|
|
|
7371
7372
|
enabled: !g(f)
|
|
7372
7373
|
})
|
|
7373
7374
|
}, [
|
|
7374
|
-
y.value ? (v(),
|
|
7375
|
+
y.value ? (v(), A(p, {
|
|
7375
7376
|
key: 0,
|
|
7376
7377
|
style: { left: "0" },
|
|
7377
7378
|
class: "thumbnail-nav-button",
|
|
@@ -7381,35 +7382,35 @@ const hr = {
|
|
|
7381
7382
|
Q(" ❮ ", -1)
|
|
7382
7383
|
])]),
|
|
7383
7384
|
_: 1
|
|
7384
|
-
})) :
|
|
7385
|
+
})) : E("", !0),
|
|
7385
7386
|
e("div", {
|
|
7386
7387
|
ref_key: "child",
|
|
7387
7388
|
ref: m,
|
|
7388
7389
|
class: "still-camera-thumbnails-wrapper d-flex justify-center",
|
|
7389
|
-
style:
|
|
7390
|
+
style: ve({
|
|
7390
7391
|
paddingLeft: y.value ? "28px" : 0,
|
|
7391
7392
|
paddingRight: y.value ? "28px" : 0
|
|
7392
7393
|
})
|
|
7393
7394
|
}, [
|
|
7394
|
-
(v(!0),
|
|
7395
|
+
(v(!0), M(Be, null, Ne(g(o), (L, S) => (v(), M("div", {
|
|
7395
7396
|
key: S,
|
|
7396
7397
|
class: me(["still-camera-image d-flex flex-column flex-reverse align-center", {
|
|
7397
7398
|
"elevation-2": !g(n),
|
|
7398
7399
|
"active-camera": L === w.value
|
|
7399
7400
|
}]),
|
|
7400
|
-
onClick: (Z) =>
|
|
7401
|
+
onClick: (Z) => I(L)
|
|
7401
7402
|
}, [
|
|
7402
7403
|
e("div", {
|
|
7403
7404
|
class: "camera-thumbnail-image",
|
|
7404
|
-
style:
|
|
7405
|
+
style: ve({
|
|
7405
7406
|
backgroundImage: `url(${g(fe)(
|
|
7406
7407
|
g(s),
|
|
7407
7408
|
L.defaultFilename
|
|
7408
7409
|
)})`
|
|
7409
7410
|
})
|
|
7410
7411
|
}, null, 4),
|
|
7411
|
-
L.cameraName ? (v(),
|
|
7412
|
-
L.sunsimDayOfYear && L.sunsimDayOfYear.length > 1 ? (v(),
|
|
7412
|
+
L.cameraName ? (v(), M("div", br, T(L.cameraName), 1)) : E("", !0),
|
|
7413
|
+
L.sunsimDayOfYear && L.sunsimDayOfYear.length > 1 ? (v(), M("div", kr, [
|
|
7413
7414
|
h(_, {
|
|
7414
7415
|
size: "x-small",
|
|
7415
7416
|
color: "warning",
|
|
@@ -7420,10 +7421,10 @@ const hr = {
|
|
|
7420
7421
|
])]),
|
|
7421
7422
|
_: 1
|
|
7422
7423
|
})
|
|
7423
|
-
])) :
|
|
7424
|
+
])) : E("", !0)
|
|
7424
7425
|
], 10, wr))), 128))
|
|
7425
7426
|
], 4),
|
|
7426
|
-
y.value ? (v(),
|
|
7427
|
+
y.value ? (v(), A(p, {
|
|
7427
7428
|
key: 1,
|
|
7428
7429
|
style: { right: "0" },
|
|
7429
7430
|
class: "thumbnail-nav-button",
|
|
@@ -7433,7 +7434,7 @@ const hr = {
|
|
|
7433
7434
|
Q(" ❯ ", -1)
|
|
7434
7435
|
])]),
|
|
7435
7436
|
_: 1
|
|
7436
|
-
})) :
|
|
7437
|
+
})) : E("", !0)
|
|
7437
7438
|
], 2);
|
|
7438
7439
|
};
|
|
7439
7440
|
}
|
|
@@ -7458,16 +7459,16 @@ const hr = {
|
|
|
7458
7459
|
)
|
|
7459
7460
|
);
|
|
7460
7461
|
}), (r, m) => {
|
|
7461
|
-
const y = x("v-icon"), d = x("v-slider"),
|
|
7462
|
-
return v(),
|
|
7462
|
+
const y = x("v-icon"), d = x("v-slider"), I = x("v-field");
|
|
7463
|
+
return v(), M("div", {
|
|
7463
7464
|
class: me({ "d-inline-block": !0, mobile: g(n) }),
|
|
7464
|
-
style:
|
|
7465
|
+
style: ve({
|
|
7465
7466
|
flex: g(n) && g(o).timeSamples.length > 1 ? 1 : void 0,
|
|
7466
7467
|
verticalAlign: "top"
|
|
7467
7468
|
})
|
|
7468
7469
|
}, [
|
|
7469
|
-
h(
|
|
7470
|
-
style:
|
|
7470
|
+
h(I, {
|
|
7471
|
+
style: ve(
|
|
7471
7472
|
g(o).timeSamples.length > 1 ? {
|
|
7472
7473
|
width: g(n) ? "100%" : "300px",
|
|
7473
7474
|
height: g(n) ? "28px" : "36px"
|
|
@@ -7484,7 +7485,7 @@ const hr = {
|
|
|
7484
7485
|
flat: ""
|
|
7485
7486
|
}, {
|
|
7486
7487
|
default: c(() => [
|
|
7487
|
-
g(o).timeSamples.length > 1 ? (v(),
|
|
7488
|
+
g(o).timeSamples.length > 1 ? (v(), A(d, {
|
|
7488
7489
|
key: 0,
|
|
7489
7490
|
class: "pa-2 pr-2",
|
|
7490
7491
|
modelValue: w.value,
|
|
@@ -7512,7 +7513,7 @@ const hr = {
|
|
|
7512
7513
|
e("span", Lr, T(g(pt)(w.value)), 1)
|
|
7513
7514
|
]),
|
|
7514
7515
|
_: 1
|
|
7515
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(),
|
|
7516
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (v(), M(Be, { key: 1 }, [
|
|
7516
7517
|
h(y, {
|
|
7517
7518
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
7518
7519
|
class: "mr-2 icon",
|
|
@@ -7547,7 +7548,7 @@ const hr = {
|
|
|
7547
7548
|
const a = l, { isMobileSized: n, canZoomIn: o, canZoomOut: i, disabled: s } = $e(a), f = t;
|
|
7548
7549
|
return (w, r) => {
|
|
7549
7550
|
const m = x("v-btn");
|
|
7550
|
-
return v(),
|
|
7551
|
+
return v(), M("div", Mr, [
|
|
7551
7552
|
h(m, {
|
|
7552
7553
|
disabled: g(s) || !g(o),
|
|
7553
7554
|
size: g(n) ? "x-small" : "small",
|
|
@@ -7585,21 +7586,21 @@ const hr = {
|
|
|
7585
7586
|
));
|
|
7586
7587
|
na(() => {
|
|
7587
7588
|
for (const u in y) {
|
|
7588
|
-
const { element: p, state: _ } = y[u], { r: L, g: S, b: Z, a:
|
|
7589
|
+
const { element: p, state: _ } = y[u], { r: L, g: S, b: Z, a: le, s: O } = o.value(u, _) || {
|
|
7589
7590
|
r: 0,
|
|
7590
7591
|
g: 0,
|
|
7591
7592
|
b: 0,
|
|
7592
7593
|
a: 0,
|
|
7593
7594
|
s: 0
|
|
7594
7595
|
};
|
|
7595
|
-
p.style.fill = `rgba(${L}, ${S}, ${Z}, ${
|
|
7596
|
+
p.style.fill = `rgba(${L}, ${S}, ${Z}, ${le / 255})`, p.style.stroke = `rgb(${L}, ${S}, ${Z})`, p.style.strokeWidth = O.toString(), p.style.cursor = "pointer";
|
|
7596
7597
|
}
|
|
7597
7598
|
}), H(s, () => {
|
|
7598
7599
|
for (const u in y)
|
|
7599
7600
|
y[u].state === "selected" && u !== s.value ? y[u].state = "idle" : y[u].state !== "selected" && u === s.value && (y[u].state = "selected");
|
|
7600
7601
|
}), na(async () => {
|
|
7601
7602
|
try {
|
|
7602
|
-
w.value = !1, r.value[d.value] || (r.value[d.value] = await
|
|
7603
|
+
w.value = !1, r.value[d.value] || (r.value[d.value] = await vt.loadText(d.value)), k();
|
|
7603
7604
|
} catch (u) {
|
|
7604
7605
|
f("onError", u);
|
|
7605
7606
|
} finally {
|
|
@@ -7608,11 +7609,11 @@ const hr = {
|
|
|
7608
7609
|
}), H(
|
|
7609
7610
|
() => m.value,
|
|
7610
7611
|
() => {
|
|
7611
|
-
m.value && new ResizeObserver(
|
|
7612
|
+
m.value && new ResizeObserver(I).observe(m.value);
|
|
7612
7613
|
}
|
|
7613
7614
|
);
|
|
7614
|
-
function
|
|
7615
|
-
|
|
7615
|
+
function I() {
|
|
7616
|
+
nt(() => {
|
|
7616
7617
|
const u = m.value?.firstChild;
|
|
7617
7618
|
if (u) {
|
|
7618
7619
|
if (!u.hasAttribute("viewBox")) {
|
|
@@ -7639,17 +7640,17 @@ const hr = {
|
|
|
7639
7640
|
{ immediate: !0, deep: !0 }
|
|
7640
7641
|
);
|
|
7641
7642
|
function k() {
|
|
7642
|
-
|
|
7643
|
+
nt(() => {
|
|
7643
7644
|
const u = m.value?.firstChild;
|
|
7644
7645
|
if (u) {
|
|
7645
|
-
f("updateSvgContainer", u),
|
|
7646
|
+
f("updateSvgContainer", u), I();
|
|
7646
7647
|
let p, _ = "data-structure-id";
|
|
7647
7648
|
p = u.querySelectorAll(`[${_}]`), p.length === 0 && (_ = "data-apartment-id", p = u.querySelectorAll(`[${_}]`), p.length === 0 && (_ = "data-building-id", p = u.querySelectorAll(`[${_}]`))), p.forEach((L) => {
|
|
7648
7649
|
const S = L.cloneNode(
|
|
7649
7650
|
!0
|
|
7650
7651
|
);
|
|
7651
|
-
L.parentNode.replaceChild(S, L), S.style.strokeWidth = "0", S.style.stroke = "rgba(255,255,255,0)", S.style.fill = "rgba(255,255,255,0)", S.querySelectorAll("path").forEach((
|
|
7652
|
-
|
|
7652
|
+
L.parentNode.replaceChild(S, L), S.style.strokeWidth = "0", S.style.stroke = "rgba(255,255,255,0)", S.style.fill = "rgba(255,255,255,0)", S.querySelectorAll("path").forEach((le) => {
|
|
7653
|
+
le.style.stroke = "inherit", le.style.fill = "inherit";
|
|
7653
7654
|
});
|
|
7654
7655
|
const Z = S.getAttribute(_);
|
|
7655
7656
|
y[Z] = {
|
|
@@ -7673,12 +7674,12 @@ const hr = {
|
|
|
7673
7674
|
}
|
|
7674
7675
|
});
|
|
7675
7676
|
}
|
|
7676
|
-
return (u, p) => (v(),
|
|
7677
|
+
return (u, p) => (v(), A(Re, null, {
|
|
7677
7678
|
default: c(() => [
|
|
7678
7679
|
e("div", {
|
|
7679
7680
|
ref_key: "svgContainer",
|
|
7680
7681
|
ref: m,
|
|
7681
|
-
style:
|
|
7682
|
+
style: ve([{
|
|
7682
7683
|
visibility: w.value ? "visible" : "hidden"
|
|
7683
7684
|
}, { "z-index": "5" }]),
|
|
7684
7685
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
@@ -7743,7 +7744,7 @@ function Br(l) {
|
|
|
7743
7744
|
function Dr(l) {
|
|
7744
7745
|
return !("filename" in l);
|
|
7745
7746
|
}
|
|
7746
|
-
function
|
|
7747
|
+
function dt(l) {
|
|
7747
7748
|
return l.startsWith("/") ? l : `/${l}`;
|
|
7748
7749
|
}
|
|
7749
7750
|
function Rr(l) {
|
|
@@ -7808,11 +7809,11 @@ function Hr(l) {
|
|
|
7808
7809
|
const a = { ...t };
|
|
7809
7810
|
return a.sunsimDayOfYear && a.sunsimDayOfYear.forEach((n) => {
|
|
7810
7811
|
n.timeSamples && n.timeSamples.forEach((o) => {
|
|
7811
|
-
o.filename =
|
|
7812
|
+
o.filename = dt(o.filename);
|
|
7812
7813
|
});
|
|
7813
7814
|
}), {
|
|
7814
7815
|
...a,
|
|
7815
|
-
defaultFilename: a.sunsimDayOfYear[0] ?
|
|
7816
|
+
defaultFilename: a.sunsimDayOfYear[0] ? dt(
|
|
7816
7817
|
a.sunsimDayOfYear[0].timeSamples.find(
|
|
7817
7818
|
(n) => n.timeInHours === a.sunsimDayOfYear[0].defaultHour
|
|
7818
7819
|
)?.filename || a.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7850,7 +7851,7 @@ function Hr(l) {
|
|
|
7850
7851
|
),
|
|
7851
7852
|
cameraFov: l.cameraFov,
|
|
7852
7853
|
overlayFilename: "/BuildingChooserV5.svg",
|
|
7853
|
-
defaultFilename:
|
|
7854
|
+
defaultFilename: dt(t[0]?.timeSamples[0]?.filename),
|
|
7854
7855
|
sunsimDayOfYear: t.map((a) => ({
|
|
7855
7856
|
dayOfYear: a.dayOfYear,
|
|
7856
7857
|
startTime: 0,
|
|
@@ -7859,7 +7860,7 @@ function Hr(l) {
|
|
|
7859
7860
|
defaultHour: 14,
|
|
7860
7861
|
timeSamples: a.timeSamples.map(({ timeInHours: n, filename: o }) => ({
|
|
7861
7862
|
timeInHours: n,
|
|
7862
|
-
filename:
|
|
7863
|
+
filename: dt(o)
|
|
7863
7864
|
}))
|
|
7864
7865
|
}))
|
|
7865
7866
|
}
|
|
@@ -7910,11 +7911,11 @@ function Hr(l) {
|
|
|
7910
7911
|
const a = { ...t };
|
|
7911
7912
|
return a.sunsimDayOfYear && a.sunsimDayOfYear.forEach((n) => {
|
|
7912
7913
|
n.timeSamples && n.timeSamples.forEach((o) => {
|
|
7913
|
-
o.filename =
|
|
7914
|
+
o.filename = dt(o.filename);
|
|
7914
7915
|
});
|
|
7915
7916
|
}), {
|
|
7916
7917
|
...a,
|
|
7917
|
-
defaultFilename: a.sunsimDayOfYear[0] ?
|
|
7918
|
+
defaultFilename: a.sunsimDayOfYear[0] ? dt(
|
|
7918
7919
|
a.sunsimDayOfYear[0].timeSamples.find(
|
|
7919
7920
|
(n) => n.timeInHours === a.sunsimDayOfYear[0].defaultHour
|
|
7920
7921
|
)?.filename || a.sunsimDayOfYear[0].timeSamples[0].filename
|
|
@@ -7998,13 +7999,13 @@ function fa({ x: l, y: t, z: a }) {
|
|
|
7998
7999
|
};
|
|
7999
8000
|
}
|
|
8000
8001
|
function Pr() {
|
|
8001
|
-
return typeof navigator < "u" && navigator.storage && typeof navigator.storage.getDirectory == "function" ? new Li() : new
|
|
8002
|
+
return typeof navigator < "u" && navigator.storage && typeof navigator.storage.getDirectory == "function" ? new Li() : new mt();
|
|
8002
8003
|
}
|
|
8003
8004
|
const ha = Pr();
|
|
8004
|
-
function
|
|
8005
|
+
function jr(l) {
|
|
8005
8006
|
const t = b([]), a = b(1), n = b(0), o = /* @__PURE__ */ new Set();
|
|
8006
|
-
|
|
8007
|
-
|
|
8007
|
+
lt("registerImage", (w) => {
|
|
8008
|
+
nt(() => {
|
|
8008
8009
|
if (!t.value.find((r) => r.image === w)) {
|
|
8009
8010
|
w.decode(), t.value = [...t.value, { image: w, loaded: !1 }];
|
|
8010
8011
|
const r = w.src;
|
|
@@ -8015,11 +8016,14 @@ function zr(l) {
|
|
|
8015
8016
|
});
|
|
8016
8017
|
}
|
|
8017
8018
|
});
|
|
8018
|
-
}),
|
|
8019
|
-
|
|
8019
|
+
}), lt("completeImage", (w) => {
|
|
8020
|
+
nt(() => {
|
|
8020
8021
|
const r = t.value.findIndex((m) => m.image === w);
|
|
8021
8022
|
r >= 0 && (t.value[r].loaded = !0, t.value = [...t.value]);
|
|
8022
8023
|
});
|
|
8024
|
+
}), lt("unregisterImage", (w) => {
|
|
8025
|
+
const r = w.src;
|
|
8026
|
+
r.startsWith("blob:") && (URL.revokeObjectURL(r), o.delete(r)), t.value = t.value.filter((m) => m.image !== w);
|
|
8023
8027
|
}), H(l, () => {
|
|
8024
8028
|
l.value && new ResizeObserver(([]) => {
|
|
8025
8029
|
const r = t.value.find((m) => m.loaded);
|
|
@@ -8031,7 +8035,7 @@ function zr(l) {
|
|
|
8031
8035
|
w && (a.value = w.image.naturalWidth / w.image.naturalHeight, n.value = w.image.width / a.value);
|
|
8032
8036
|
}
|
|
8033
8037
|
});
|
|
8034
|
-
const i = V(() => t.value.every((w) => w.loaded)), s = V(() => Math.round(
|
|
8038
|
+
const i = V(() => t.value.length > 0 && t.value.every((w) => w.loaded)), s = V(() => t.value.length === 0 ? 0 : Math.round(
|
|
8035
8039
|
t.value.filter((w) => w.loaded).length / t.value.length * 100
|
|
8036
8040
|
));
|
|
8037
8041
|
function f() {
|
|
@@ -8047,7 +8051,7 @@ function zr(l) {
|
|
|
8047
8051
|
resetImages: f
|
|
8048
8052
|
};
|
|
8049
8053
|
}
|
|
8050
|
-
const
|
|
8054
|
+
const zr = {
|
|
8051
8055
|
key: 0,
|
|
8052
8056
|
class: "position-absolute w-100 h-100 bg-grey-lighten-2 justify-center align-center d-flex",
|
|
8053
8057
|
style: { "z-index": "10" }
|
|
@@ -8084,17 +8088,17 @@ const jr = {
|
|
|
8084
8088
|
defaultCamera: m,
|
|
8085
8089
|
defaultDay: y,
|
|
8086
8090
|
defaultTime: d,
|
|
8087
|
-
mobileBreakpoint:
|
|
8088
|
-
} = $e(n), k = a, u = b(), p = b(), _ = b(), L = b(null), S = b(4), Z = b(),
|
|
8091
|
+
mobileBreakpoint: I
|
|
8092
|
+
} = $e(n), k = a, u = b(), p = b(), _ = b(), L = b(null), S = b(4), Z = b(), le = b(!1), O = b(!1), q = b(), ce = V(() => q.value.isHoverEnabled), R = b({ x: 0, y: 0, width: 0, height: 0 }), Se = b(), ke = b(), P = b(), we = b(!1), G = b(), ue = b({
|
|
8089
8093
|
current: 100,
|
|
8090
8094
|
min: 100,
|
|
8091
8095
|
max: 1e3
|
|
8092
8096
|
}), ne = b(!1), B = b();
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
f.value ? new
|
|
8097
|
+
lt(
|
|
8098
|
+
Oe,
|
|
8099
|
+
f.value ? new ot(f.value) : new ot()
|
|
8096
8100
|
);
|
|
8097
|
-
const { height: K, loaded: oe, loadedPercentage: Y, resetImages: ee } =
|
|
8101
|
+
const { height: K, loaded: oe, loadedPercentage: Y, resetImages: ee } = jr(ke);
|
|
8098
8102
|
t({
|
|
8099
8103
|
getState: () => ({
|
|
8100
8104
|
currentCameraIndex: u.value ? ie.value.findIndex((F) => F === u.value) : null,
|
|
@@ -8112,13 +8116,13 @@ const jr = {
|
|
|
8112
8116
|
currentDayIndex: W,
|
|
8113
8117
|
currentTimeIndex: pe,
|
|
8114
8118
|
currentTransitionIndex: be,
|
|
8115
|
-
currentScene:
|
|
8119
|
+
currentScene: re
|
|
8116
8120
|
}) => {
|
|
8117
|
-
typeof F == "number" && (u.value = ie.value[F]), typeof W == "number" && (p.value = u.value.sunsimDayOfYear[W]), typeof pe == "number" && (_.value = p.value.timeSamples[pe]), typeof be == "number" && (L.value = te.value[be]), typeof
|
|
8121
|
+
typeof F == "number" && (u.value = ie.value[F]), typeof W == "number" && (p.value = u.value.sunsimDayOfYear[W]), typeof pe == "number" && (_.value = p.value.timeSamples[pe]), typeof be == "number" && (L.value = te.value[be]), typeof re == "number" && (S.value = re);
|
|
8118
8122
|
},
|
|
8119
8123
|
resolveCoordinates: (F, W) => B.value ? B.value(F, W) : { x: 0, y: 0 }
|
|
8120
8124
|
}), je(() => {
|
|
8121
|
-
|
|
8125
|
+
le.value = !0, ne.value = !1;
|
|
8122
8126
|
}), H(
|
|
8123
8127
|
o,
|
|
8124
8128
|
(F) => {
|
|
@@ -8131,14 +8135,14 @@ const jr = {
|
|
|
8131
8135
|
{
|
|
8132
8136
|
immediate: !0
|
|
8133
8137
|
}
|
|
8134
|
-
), H(
|
|
8138
|
+
), H(le, (F) => {
|
|
8135
8139
|
F && k("onInitialize");
|
|
8136
8140
|
});
|
|
8137
|
-
const
|
|
8141
|
+
const j = b();
|
|
8138
8142
|
H(
|
|
8139
8143
|
() => n.activeStructureIds,
|
|
8140
8144
|
() => {
|
|
8141
|
-
|
|
8145
|
+
j.value = n.activeStructureIds;
|
|
8142
8146
|
},
|
|
8143
8147
|
{
|
|
8144
8148
|
immediate: !0,
|
|
@@ -8148,7 +8152,7 @@ const jr = {
|
|
|
8148
8152
|
() => ke.value,
|
|
8149
8153
|
() => {
|
|
8150
8154
|
ke.value && new ResizeObserver(([W]) => {
|
|
8151
|
-
we.value = W.contentRect.width <
|
|
8155
|
+
we.value = W.contentRect.width < I.value;
|
|
8152
8156
|
}).observe(ke.value);
|
|
8153
8157
|
}
|
|
8154
8158
|
);
|
|
@@ -8193,12 +8197,12 @@ const jr = {
|
|
|
8193
8197
|
{ immediate: !0 }
|
|
8194
8198
|
);
|
|
8195
8199
|
function _e(F) {
|
|
8196
|
-
u.value !== F &&
|
|
8200
|
+
u.value !== F && De(
|
|
8197
8201
|
P.value.cameras.findIndex((W) => W === F)
|
|
8198
8202
|
);
|
|
8199
8203
|
}
|
|
8200
|
-
function
|
|
8201
|
-
S.value = F, qt(P.value.cameras[S.value]) ? L.value = P.value.cameras[S.value] : (
|
|
8204
|
+
function se(F) {
|
|
8205
|
+
S.value = F, qt(P.value.cameras[S.value]) ? L.value = P.value.cameras[S.value] : (nt(() => {
|
|
8202
8206
|
he(
|
|
8203
8207
|
P.value.cameras[S.value]
|
|
8204
8208
|
);
|
|
@@ -8208,7 +8212,7 @@ const jr = {
|
|
|
8208
8212
|
const W = p.value;
|
|
8209
8213
|
u.value = F, S.value = P.value.cameras.findIndex(
|
|
8210
8214
|
(pe) => pe === u.value
|
|
8211
|
-
),
|
|
8215
|
+
), nt(() => {
|
|
8212
8216
|
u.value.sunsimDayOfYear && u.value.sunsimDayOfYear.length > 0 && xe(
|
|
8213
8217
|
u.value.sunsimDayOfYear.find(
|
|
8214
8218
|
(pe) => pe.dayOfYear === W.dayOfYear
|
|
@@ -8218,7 +8222,7 @@ const jr = {
|
|
|
8218
8222
|
}
|
|
8219
8223
|
function xe(F) {
|
|
8220
8224
|
const W = _.value;
|
|
8221
|
-
p.value = F,
|
|
8225
|
+
p.value = F, nt(() => {
|
|
8222
8226
|
Le(
|
|
8223
8227
|
p.value.timeSamples.find(
|
|
8224
8228
|
(pe) => pe.timeInHours === W.timeInHours
|
|
@@ -8236,7 +8240,7 @@ const jr = {
|
|
|
8236
8240
|
const W = P.value.stillCameraData.find(
|
|
8237
8241
|
(pe) => pe.id === F
|
|
8238
8242
|
);
|
|
8239
|
-
W &&
|
|
8243
|
+
W && De(W.bestIndex);
|
|
8240
8244
|
});
|
|
8241
8245
|
}
|
|
8242
8246
|
H(r, (F) => {
|
|
@@ -8246,31 +8250,31 @@ const jr = {
|
|
|
8246
8250
|
);
|
|
8247
8251
|
W && P.value.stillCameraIndices?.includes(
|
|
8248
8252
|
W.bestIndex
|
|
8249
|
-
) &&
|
|
8253
|
+
) && De(W.bestIndex);
|
|
8250
8254
|
}
|
|
8251
8255
|
});
|
|
8252
8256
|
function ge(F) {
|
|
8253
8257
|
k("onHoverOver", F), Z.value = F;
|
|
8254
8258
|
}
|
|
8255
|
-
function
|
|
8259
|
+
function de(F) {
|
|
8256
8260
|
k("onHoverOut", F), Z.value = void 0;
|
|
8257
8261
|
}
|
|
8258
|
-
function
|
|
8262
|
+
function Fe(F) {
|
|
8259
8263
|
const { layerX: W, layerY: pe } = F;
|
|
8260
|
-
let be = F.target,
|
|
8264
|
+
let be = F.target, re = !1;
|
|
8261
8265
|
for (; be; )
|
|
8262
8266
|
if (be === Se.value) {
|
|
8263
|
-
|
|
8267
|
+
re = !0;
|
|
8264
8268
|
break;
|
|
8265
8269
|
} else
|
|
8266
8270
|
be = be.parentElement;
|
|
8267
|
-
if (
|
|
8268
|
-
const
|
|
8271
|
+
if (re) {
|
|
8272
|
+
const Ue = F.currentTarget;
|
|
8269
8273
|
R.value = {
|
|
8270
8274
|
x: W,
|
|
8271
8275
|
y: pe,
|
|
8272
|
-
width:
|
|
8273
|
-
height:
|
|
8276
|
+
width: Ue.clientWidth,
|
|
8277
|
+
height: Ue.clientHeight
|
|
8274
8278
|
};
|
|
8275
8279
|
} else
|
|
8276
8280
|
R.value = void 0;
|
|
@@ -8284,97 +8288,97 @@ const jr = {
|
|
|
8284
8288
|
}) {
|
|
8285
8289
|
B.value = be, ue.value = { min: F, max: W, current: pe };
|
|
8286
8290
|
}
|
|
8287
|
-
function
|
|
8291
|
+
function ze(F) {
|
|
8288
8292
|
G.value.adjustZoom(F ? 10 : -10);
|
|
8289
8293
|
}
|
|
8290
|
-
function
|
|
8294
|
+
function Ye(F) {
|
|
8291
8295
|
return P.value.stillCameraIndices.findIndex(
|
|
8292
8296
|
(W) => W === F
|
|
8293
8297
|
);
|
|
8294
8298
|
}
|
|
8295
|
-
async function
|
|
8299
|
+
async function De(F) {
|
|
8296
8300
|
const W = S.value;
|
|
8297
8301
|
if (P.value.loopable) {
|
|
8298
|
-
const pe = P.value.stillCameraIndices.length, be =
|
|
8299
|
-
let
|
|
8300
|
-
for (; He++, He >= pe && (He = 0), He !==
|
|
8301
|
-
|
|
8302
|
-
for (He = be; He--, He < 0 && (He += pe), He !==
|
|
8303
|
-
|
|
8304
|
-
|
|
8302
|
+
const pe = P.value.stillCameraIndices.length, be = Ye(W), re = Ye(F);
|
|
8303
|
+
let Ue = 0, Ge = 0, He = be;
|
|
8304
|
+
for (; He++, He >= pe && (He = 0), He !== re; )
|
|
8305
|
+
Ue++;
|
|
8306
|
+
for (He = be; He--, He < 0 && (He += pe), He !== re; )
|
|
8307
|
+
Ge++;
|
|
8308
|
+
Ue === Ge ? Ce(W, F) : Ue < Ge ? be < re ? Ce(W, F) : Ce(W, F + P.value.cameras.length) : be >= re ? Ce(W, F) : Ce(W + P.value.cameras.length, F);
|
|
8305
8309
|
} else
|
|
8306
8310
|
Ce(W, F);
|
|
8307
8311
|
}
|
|
8308
8312
|
function Ce(F, W) {
|
|
8309
8313
|
return new Promise((pe) => {
|
|
8310
8314
|
O.value = !0;
|
|
8311
|
-
let be,
|
|
8315
|
+
let be, re = F;
|
|
8312
8316
|
be = setInterval(() => {
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
),
|
|
8316
|
-
|
|
8317
|
-
),
|
|
8317
|
+
re < W ? (re++, S.value = Math.abs(
|
|
8318
|
+
re % P.value.cameras.length
|
|
8319
|
+
), se(S.value)) : re > W ? (re--, S.value = Math.abs(
|
|
8320
|
+
re % P.value.cameras.length
|
|
8321
|
+
), se(S.value)) : (clearInterval(be), O.value = !1, pe());
|
|
8318
8322
|
}, 12);
|
|
8319
8323
|
});
|
|
8320
8324
|
}
|
|
8321
|
-
function
|
|
8325
|
+
function rt(F) {
|
|
8322
8326
|
ne.value = !0, k("onError", F);
|
|
8323
8327
|
}
|
|
8324
|
-
const
|
|
8328
|
+
const Ve = (F) => F * (180 / Math.PI);
|
|
8325
8329
|
return (F, W) => {
|
|
8326
8330
|
const pe = x("v-progress-circular"), be = x("v-skeleton-loader");
|
|
8327
|
-
return v(),
|
|
8331
|
+
return v(), M(Be, null, [
|
|
8328
8332
|
h(be, {
|
|
8329
8333
|
type: "image",
|
|
8330
8334
|
class: "w-100 h-100 position-relative",
|
|
8331
|
-
loading: !
|
|
8335
|
+
loading: !le.value || !P.value
|
|
8332
8336
|
}, {
|
|
8333
8337
|
default: c(() => [
|
|
8334
|
-
g(oe) ?
|
|
8338
|
+
g(oe) ? E("", !0) : (v(), M("div", zr, [
|
|
8335
8339
|
h(pe, {
|
|
8336
8340
|
"model-value": g(Y),
|
|
8337
8341
|
size: 128,
|
|
8338
8342
|
width: 12
|
|
8339
8343
|
}, null, 8, ["model-value"])
|
|
8340
8344
|
])),
|
|
8341
|
-
h(
|
|
8345
|
+
h(Re, { class: "w-100 h-100" }, {
|
|
8342
8346
|
default: c(() => [
|
|
8343
8347
|
e("div", {
|
|
8344
8348
|
ref_key: "container",
|
|
8345
8349
|
ref: ke,
|
|
8346
8350
|
class: me({ mobile: we.value }),
|
|
8347
8351
|
style: { "min-height": "160px" },
|
|
8348
|
-
onMousemove:
|
|
8352
|
+
onMousemove: Fe
|
|
8349
8353
|
}, [
|
|
8350
|
-
l.showUi ? (v(),
|
|
8354
|
+
l.showUi ? (v(), M("div", {
|
|
8351
8355
|
key: 0,
|
|
8352
8356
|
class: "persistent actions-bar top-right pa-2",
|
|
8353
|
-
style:
|
|
8357
|
+
style: ve({
|
|
8354
8358
|
zIndex: 7,
|
|
8355
8359
|
top: we.value && ie.value.length > 1 ? "60px" : 0
|
|
8356
8360
|
})
|
|
8357
8361
|
}, [
|
|
8358
|
-
u.value.cameraRotation ? (v(),
|
|
8362
|
+
u.value.cameraRotation ? (v(), A(_a, {
|
|
8359
8363
|
key: 0,
|
|
8360
8364
|
class: "mb-2",
|
|
8361
|
-
style:
|
|
8365
|
+
style: ve({
|
|
8362
8366
|
zIndex: 7,
|
|
8363
8367
|
width: we.value ? 32 : 40,
|
|
8364
8368
|
height: we.value ? 32 : 40
|
|
8365
8369
|
}),
|
|
8366
|
-
longitude:
|
|
8367
|
-
}, null, 8, ["style", "longitude"])) :
|
|
8370
|
+
longitude: Ve(u.value.cameraRotation.y) + 270
|
|
8371
|
+
}, null, 8, ["style", "longitude"])) : E("", !0),
|
|
8368
8372
|
h(Ar, {
|
|
8369
8373
|
"is-mobile-sized": we.value,
|
|
8370
8374
|
"can-zoom-out": ue.value.min < ue.value.current,
|
|
8371
8375
|
"can-zoom-in": ue.value.max > ue.value.current,
|
|
8372
8376
|
disabled: O.value,
|
|
8373
|
-
onOnZoomIn: W[0] || (W[0] = (
|
|
8374
|
-
onOnZoomOut: W[1] || (W[1] = (
|
|
8377
|
+
onOnZoomIn: W[0] || (W[0] = (re) => ze(!0)),
|
|
8378
|
+
onOnZoomOut: W[1] || (W[1] = (re) => ze(!1))
|
|
8375
8379
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
8376
|
-
], 4)) :
|
|
8377
|
-
l.showUi && ie.value.length > 1 ? (v(),
|
|
8380
|
+
], 4)) : E("", !0),
|
|
8381
|
+
l.showUi && ie.value.length > 1 ? (v(), M("div", {
|
|
8378
8382
|
key: 1,
|
|
8379
8383
|
class: me([{
|
|
8380
8384
|
"actions-bar bottom-center pb-2": !0,
|
|
@@ -8390,7 +8394,7 @@ const jr = {
|
|
|
8390
8394
|
"cdn-file-resolver": g(i),
|
|
8391
8395
|
onOnCameraChange: _e
|
|
8392
8396
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
8393
|
-
], 2)) :
|
|
8397
|
+
], 2)) : E("", !0),
|
|
8394
8398
|
h(Qa, {
|
|
8395
8399
|
ref_key: "zoomBox",
|
|
8396
8400
|
ref: G,
|
|
@@ -8400,50 +8404,50 @@ const jr = {
|
|
|
8400
8404
|
default: c(() => [
|
|
8401
8405
|
e("div", {
|
|
8402
8406
|
class: "w-100 position-relative",
|
|
8403
|
-
style:
|
|
8407
|
+
style: ve({ height: `${g(K)}px` })
|
|
8404
8408
|
}, [
|
|
8405
|
-
|
|
8406
|
-
key:
|
|
8407
|
-
"camera-data":
|
|
8409
|
+
u.value && !O.value ? (v(), A(vr, {
|
|
8410
|
+
key: u.value.cameraName,
|
|
8411
|
+
"camera-data": u.value,
|
|
8408
8412
|
"cdn-file-resolver": g(i),
|
|
8409
8413
|
"current-camera": u.value,
|
|
8410
8414
|
"current-day": p.value,
|
|
8411
8415
|
"current-time": _.value
|
|
8412
|
-
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))
|
|
8413
|
-
(v(!0),
|
|
8414
|
-
key: `transition${
|
|
8415
|
-
"transition-data":
|
|
8416
|
+
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"])) : E("", !0),
|
|
8417
|
+
(v(!0), M(Be, null, Ne(te.value, (re, Ue) => (v(), A(fr, {
|
|
8418
|
+
key: `transition${Ue}`,
|
|
8419
|
+
"transition-data": re,
|
|
8416
8420
|
"cdn-file-resolver": g(i),
|
|
8417
8421
|
"current-transition": L.value
|
|
8418
8422
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
8419
|
-
g(w) ? (v(),
|
|
8420
|
-
key:
|
|
8423
|
+
g(w) ? (v(), M("div", {
|
|
8424
|
+
key: 1,
|
|
8421
8425
|
class: "w-100 h-100 position-absolute top-left",
|
|
8422
8426
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
8423
8427
|
innerHTML: g(w)
|
|
8424
|
-
}, null, 8, Yr)) :
|
|
8425
|
-
u.value.overlayFilename && !ne.value ? Je((v(),
|
|
8426
|
-
key:
|
|
8428
|
+
}, null, 8, Yr)) : E("", !0),
|
|
8429
|
+
u.value.overlayFilename && !ne.value ? Je((v(), A(Vr, {
|
|
8430
|
+
key: 2,
|
|
8427
8431
|
"cdn-file-resolver": g(i),
|
|
8428
8432
|
"color-callback": g(s),
|
|
8429
8433
|
"current-camera": u.value,
|
|
8430
8434
|
"selected-id": g(r),
|
|
8431
|
-
activeStructureIds:
|
|
8435
|
+
activeStructureIds: j.value,
|
|
8432
8436
|
onOnClick: Te,
|
|
8433
8437
|
onOnHoverOver: ge,
|
|
8434
|
-
onOnHoverOut:
|
|
8435
|
-
onUpdateSvgContainer: W[2] || (W[2] = (
|
|
8436
|
-
onOnError:
|
|
8437
|
-
onOnBoundingBoxesUpdate: W[3] || (W[3] = (
|
|
8438
|
+
onOnHoverOut: de,
|
|
8439
|
+
onUpdateSvgContainer: W[2] || (W[2] = (re) => Se.value = re),
|
|
8440
|
+
onOnError: rt,
|
|
8441
|
+
onOnBoundingBoxesUpdate: W[3] || (W[3] = (re) => k("onBoundingBoxesUpdate", re))
|
|
8438
8442
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
8439
|
-
[
|
|
8440
|
-
]) :
|
|
8443
|
+
[st, L.value === null]
|
|
8444
|
+
]) : E("", !0),
|
|
8441
8445
|
J(F.$slots, "default", {}, void 0, !0)
|
|
8442
8446
|
], 4)
|
|
8443
8447
|
]),
|
|
8444
8448
|
_: 3
|
|
8445
8449
|
}, 512),
|
|
8446
|
-
l.showUi && (p.value && p.value.timeSamples && p.value.timeSamples.length > 1 || u.value.sunsimDayOfYear && u.value.sunsimDayOfYear.length > 1) ? (v(),
|
|
8450
|
+
l.showUi && (p.value && p.value.timeSamples && p.value.timeSamples.length > 1 || u.value.sunsimDayOfYear && u.value.sunsimDayOfYear.length > 1) ? (v(), M("div", {
|
|
8447
8451
|
key: 2,
|
|
8448
8452
|
class: me({
|
|
8449
8453
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
@@ -8466,20 +8470,20 @@ const jr = {
|
|
|
8466
8470
|
disabled: O.value,
|
|
8467
8471
|
onOnTimeChange: Le
|
|
8468
8472
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
8469
|
-
], 2)) :
|
|
8470
|
-
F.$slots.popup && R.value && Z.value ? (v(),
|
|
8473
|
+
], 2)) : E("", !0),
|
|
8474
|
+
F.$slots.popup && R.value && Z.value ? (v(), A(Na, {
|
|
8471
8475
|
key: 3,
|
|
8472
|
-
"is-hoverable":
|
|
8476
|
+
"is-hoverable": ce.value,
|
|
8473
8477
|
pos: R.value
|
|
8474
8478
|
}, {
|
|
8475
8479
|
default: c(() => [
|
|
8476
8480
|
e("div", Nr, [
|
|
8477
|
-
J(F.$slots, "popup", Da(Ra({ hoverId: Z.value, hoverable:
|
|
8481
|
+
J(F.$slots, "popup", Da(Ra({ hoverId: Z.value, hoverable: ce.value })), void 0, !0)
|
|
8478
8482
|
])
|
|
8479
8483
|
]),
|
|
8480
8484
|
_: 3
|
|
8481
|
-
}, 8, ["is-hoverable", "pos"])) :
|
|
8482
|
-
l.version && l.showVersion ? (v(),
|
|
8485
|
+
}, 8, ["is-hoverable", "pos"])) : E("", !0),
|
|
8486
|
+
l.version && l.showVersion ? (v(), M("div", Wr, " version: " + T(l.version), 1)) : E("", !0)
|
|
8483
8487
|
], 34)
|
|
8484
8488
|
]),
|
|
8485
8489
|
_: 3
|
|
@@ -8494,13 +8498,13 @@ const jr = {
|
|
|
8494
8498
|
], 64);
|
|
8495
8499
|
};
|
|
8496
8500
|
}
|
|
8497
|
-
}), ga = /* @__PURE__ */ X(Zr, [["__scopeId", "data-v-
|
|
8501
|
+
}), ga = /* @__PURE__ */ X(Zr, [["__scopeId", "data-v-4b8e583d"]]), eu = {
|
|
8498
8502
|
install: function(t) {
|
|
8499
8503
|
t.component("VStructureChooser", ga), t.component("VVirtualTour", Sl), t.component("VVirtualTour2", Ui), t.component("VManualSlideShow", or), t.component("VStructureChooser", ga);
|
|
8500
8504
|
}
|
|
8501
8505
|
};
|
|
8502
8506
|
export {
|
|
8503
|
-
|
|
8507
|
+
vt as ResourceLoader,
|
|
8504
8508
|
Na as VFloatingCard,
|
|
8505
8509
|
Za as VHoverProbe,
|
|
8506
8510
|
or as VManualSlideShow,
|