@qispace/vue3-player 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var bn = Object.defineProperty;
|
|
2
2
|
var wn = (t, n, o) => n in t ? bn(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o;
|
|
3
3
|
var Ue = (t, n, o) => (wn(t, typeof n != "symbol" ? n + "" : n, o), o);
|
|
4
|
-
import { defineComponent as W, computed as V, resolveComponent as
|
|
4
|
+
import { defineComponent as W, computed as V, resolveComponent as L, openBlock as u, createBlock as T, withCtx as m, createElementBlock as I, normalizeStyle as oe, renderSlot as X, ref as b, unref as p, watch as H, onMounted as Re, onBeforeUnmount as et, createElementVNode as e, toRefs as _e, nextTick as $e, inject as Se, createVNode as y, mergeProps as Le, toDisplayString as Y, createTextVNode as le, Fragment as we, renderList as Ee, normalizeClass as ce, pushScopeId as mt, popScopeId as pt, Transition as Fe, createCommentVNode as F, withDirectives as Ke, vModelText as kn, createStaticVNode as Ht, onBeforeUpdate as Cn, withModifiers as Sn, provide as Xe, vShow as ut, reactive as An, watchEffect as Ft, normalizeProps as xn, guardReactiveProps as In } from "vue";
|
|
5
5
|
import ct from "axios";
|
|
6
|
-
import * as
|
|
6
|
+
import * as Ln from "@qispace/player-core";
|
|
7
7
|
import { Vector3 as Je, Object3D as En, MathUtils as Mn } from "three";
|
|
8
8
|
const Fn = /* @__PURE__ */ W({
|
|
9
9
|
__name: "VFloatingCard",
|
|
@@ -18,22 +18,22 @@ const Fn = /* @__PURE__ */ W({
|
|
|
18
18
|
return o.pos.x <= o.pos.width / 2 ? (a = "-100%", r = "-8px") : (a = "0%", r = "8px"), o.pos.y <= o.pos.height / 2 ? (s = "-100%", h = "-8px") : (s = "0%", h = "8px"), `translate(${a}, ${s}) translate(${r}, ${h})`;
|
|
19
19
|
});
|
|
20
20
|
return (a, s) => {
|
|
21
|
-
const r =
|
|
21
|
+
const r = L("v-dialog"), h = L("v-fade-transition");
|
|
22
22
|
return u(), T(h, {
|
|
23
23
|
origin: `top left ${a.pos.x} ${a.pos.y}`
|
|
24
24
|
}, {
|
|
25
25
|
default: m(() => [
|
|
26
|
-
a.isHoverable ? (u(),
|
|
26
|
+
a.isHoverable ? (u(), I("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "floating-card",
|
|
29
|
-
style:
|
|
29
|
+
style: oe({
|
|
30
30
|
left: `${a.pos.x}px`,
|
|
31
31
|
top: `${a.pos.y}px`,
|
|
32
32
|
pointerEvents: "none",
|
|
33
33
|
transform: i.value
|
|
34
34
|
})
|
|
35
35
|
}, [
|
|
36
|
-
|
|
36
|
+
X(a.$slots, "default", { isHoverable: a.isHoverable }, void 0, !0)
|
|
37
37
|
], 4)) : (u(), T(r, {
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
@@ -41,7 +41,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
41
41
|
"onClick:outside": s[0] || (s[0] = (g) => l("outside", g))
|
|
42
42
|
}, {
|
|
43
43
|
default: m(() => [
|
|
44
|
-
|
|
44
|
+
X(a.$slots, "default", { isHoverable: a.isHoverable }, void 0, !0)
|
|
45
45
|
]),
|
|
46
46
|
_: 3
|
|
47
47
|
}))
|
|
@@ -61,7 +61,7 @@ const Fn = /* @__PURE__ */ W({
|
|
|
61
61
|
const o = b(), l = V(() => window.getComputedStyle(o.value).display === "none");
|
|
62
62
|
return n({
|
|
63
63
|
isHoverEnabled: l
|
|
64
|
-
}), (i, a) => (u(),
|
|
64
|
+
}), (i, a) => (u(), I("div", {
|
|
65
65
|
ref_key: "hoverCheck",
|
|
66
66
|
ref: o,
|
|
67
67
|
class: "hover-check"
|
|
@@ -78,10 +78,10 @@ const Fn = /* @__PURE__ */ W({
|
|
|
78
78
|
transition: " transform 0.5s ease-in"
|
|
79
79
|
}));
|
|
80
80
|
return (l, i) => {
|
|
81
|
-
const a =
|
|
81
|
+
const a = L("v-img");
|
|
82
82
|
return u(), T(a, {
|
|
83
83
|
src: p(Tn),
|
|
84
|
-
style:
|
|
84
|
+
style: oe(o.value)
|
|
85
85
|
}, null, 8, ["src", "style"]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
@@ -180,9 +180,9 @@ const Fn = /* @__PURE__ */ W({
|
|
|
180
180
|
}
|
|
181
181
|
function D(B) {
|
|
182
182
|
if (h.value) {
|
|
183
|
-
const { x: Q, y: P } = M(B), { x: N, y:
|
|
183
|
+
const { x: Q, y: P } = M(B), { x: N, y: se } = M(f.value), G = {
|
|
184
184
|
x: Q - N,
|
|
185
|
-
y: P -
|
|
185
|
+
y: P - se
|
|
186
186
|
};
|
|
187
187
|
z(G.x), ve(G.y), _.value = !0, f.value = B;
|
|
188
188
|
}
|
|
@@ -198,19 +198,19 @@ const Fn = /* @__PURE__ */ W({
|
|
|
198
198
|
}
|
|
199
199
|
function Ae(B) {
|
|
200
200
|
if (h.value) {
|
|
201
|
-
const { x: Q, y: P } = M(B.touches[0]), { x: N, y:
|
|
201
|
+
const { x: Q, y: P } = M(B.touches[0]), { x: N, y: se } = M(
|
|
202
202
|
f.value.touches[0]
|
|
203
203
|
), G = {
|
|
204
204
|
x: Q - N,
|
|
205
|
-
y: P -
|
|
205
|
+
y: P - se
|
|
206
206
|
};
|
|
207
207
|
z(G.x), ve(G.y);
|
|
208
208
|
} else if (g.value && B.touches.length === 2) {
|
|
209
|
-
const { x: Q, y: P } = M(B.touches[0]), { x: N, y:
|
|
209
|
+
const { x: Q, y: P } = M(B.touches[0]), { x: N, y: se } = M(
|
|
210
210
|
f.value.touches[0]
|
|
211
211
|
), { x: G, y: re } = M(B.touches[1]), { x: Z, y: ge } = M(
|
|
212
212
|
f.value.touches[1]
|
|
213
|
-
), xe = Math.hypot(N - Z,
|
|
213
|
+
), xe = Math.hypot(N - Z, se - ge), De = Math.hypot(Q - G, P - re), pe = (G + Q) / 2, fe = (re + P) / 2;
|
|
214
214
|
ke(De - xe, pe, fe);
|
|
215
215
|
}
|
|
216
216
|
f.value = B;
|
|
@@ -240,10 +240,10 @@ const Fn = /* @__PURE__ */ W({
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
function ke(B, Q, P) {
|
|
243
|
-
const N = Q !== void 0 ? Q : S.value.clientWidth / 2,
|
|
243
|
+
const N = Q !== void 0 ? Q : S.value.clientWidth / 2, se = P !== void 0 ? P : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, Z = G * C.value, ge = re * C.value;
|
|
244
244
|
a.value = Math.min(Math.max(100, a.value + B), c.value);
|
|
245
245
|
const xe = G * C.value, De = re * C.value, pe = xe - Z, fe = De - ge;
|
|
246
|
-
s.value -= N / G * pe, r.value -=
|
|
246
|
+
s.value -= N / G * pe, r.value -= se / re * fe, z(0), ve(0);
|
|
247
247
|
}
|
|
248
248
|
function ie() {
|
|
249
249
|
i("update", {
|
|
@@ -254,22 +254,22 @@ const Fn = /* @__PURE__ */ W({
|
|
|
254
254
|
min: 100,
|
|
255
255
|
max: c.value,
|
|
256
256
|
resolve: (B, Q) => {
|
|
257
|
-
const P = S.value.clientWidth, N = S.value.clientHeight,
|
|
257
|
+
const P = S.value.clientWidth, N = S.value.clientHeight, se = s.value / -C.value, G = r.value / -C.value, re = se + P / C.value, Z = G + N / C.value, ge = B / P * (re - se) + se, xe = Q / N * (Z - G) + G;
|
|
258
258
|
return { x: ge, y: xe };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (B, Q) => (u(),
|
|
262
|
+
return (B, Q) => (u(), I("div", {
|
|
263
263
|
ref_key: "box",
|
|
264
264
|
ref: S,
|
|
265
265
|
class: "zoom-box-container",
|
|
266
|
-
style:
|
|
266
|
+
style: oe({ position: l.position })
|
|
267
267
|
}, [
|
|
268
268
|
e("div", {
|
|
269
|
-
style:
|
|
269
|
+
style: oe({ "transform-origin": "top left", transform: $.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
|
-
|
|
272
|
+
X(B.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
@@ -329,7 +329,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
329
329
|
},
|
|
330
330
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "sunsimCallback", "playerApiCallback", "newSizeCallback"],
|
|
331
331
|
setup(t, { emit: n }) {
|
|
332
|
-
const o =
|
|
332
|
+
const o = Ln.PlayerV2, l = t, {
|
|
333
333
|
cdnFileResolver: i,
|
|
334
334
|
interiorId: a,
|
|
335
335
|
apartmentId: s,
|
|
@@ -410,40 +410,40 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
410
410
|
}
|
|
411
411
|
return et(() => {
|
|
412
412
|
d();
|
|
413
|
-
}), (k, x) => (u(),
|
|
413
|
+
}), (k, x) => (u(), I("div", Pn, [
|
|
414
414
|
e("div", Qn, [
|
|
415
|
-
|
|
415
|
+
X(k.$slots, "slideshow-image", {}, void 0, !0),
|
|
416
416
|
e("div", Nn, [
|
|
417
|
-
|
|
417
|
+
X(k.$slots, "top-left", {}, void 0, !0)
|
|
418
418
|
]),
|
|
419
419
|
e("div", Zn, [
|
|
420
|
-
|
|
420
|
+
X(k.$slots, "top-center", {}, void 0, !0)
|
|
421
421
|
]),
|
|
422
422
|
e("div", qn, [
|
|
423
|
-
|
|
423
|
+
X(k.$slots, "top-right", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
e("div", Jn, [
|
|
426
|
-
|
|
426
|
+
X(k.$slots, "center-left", {}, void 0, !0)
|
|
427
427
|
]),
|
|
428
428
|
e("div", Gn, [
|
|
429
|
-
|
|
429
|
+
X(k.$slots, "center-center", {}, void 0, !0)
|
|
430
430
|
]),
|
|
431
431
|
e("div", Kn, [
|
|
432
|
-
|
|
432
|
+
X(k.$slots, "center-right", {}, void 0, !0)
|
|
433
433
|
]),
|
|
434
434
|
e("div", Xn, [
|
|
435
|
-
|
|
435
|
+
X(k.$slots, "bottom-left", {}, void 0, !0)
|
|
436
436
|
]),
|
|
437
437
|
e("div", eo, [
|
|
438
|
-
|
|
438
|
+
X(k.$slots, "bottom-center", {}, void 0, !0)
|
|
439
439
|
]),
|
|
440
440
|
e("div", to, [
|
|
441
|
-
|
|
441
|
+
X(k.$slots, "bottom-right", {}, void 0, !0)
|
|
442
442
|
]),
|
|
443
443
|
e("div", no, [
|
|
444
444
|
e("canvas", {
|
|
445
445
|
id: "qpc",
|
|
446
|
-
style:
|
|
446
|
+
style: oe(p(h) ? "visibility:hidden" : "visibility:visible")
|
|
447
447
|
}, null, 4)
|
|
448
448
|
])
|
|
449
449
|
])
|
|
@@ -470,20 +470,20 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
470
470
|
f >= a.value.length ? l("level", a.value[0]) : l("level", a.value[f]);
|
|
471
471
|
}
|
|
472
472
|
return (f, _) => {
|
|
473
|
-
const S =
|
|
473
|
+
const S = L("v-btn"), $ = L("v-tooltip");
|
|
474
474
|
return u(), T($, {
|
|
475
475
|
right: "",
|
|
476
476
|
attach: ""
|
|
477
477
|
}, {
|
|
478
478
|
activator: m(({ props: C }) => [
|
|
479
|
-
y(S,
|
|
479
|
+
y(S, Le({
|
|
480
480
|
style: { cursor: "pointer" },
|
|
481
481
|
density: "comfortable",
|
|
482
482
|
elevation: "1",
|
|
483
483
|
icon: ""
|
|
484
484
|
}, C, { onClick: g }), {
|
|
485
485
|
default: m(() => [
|
|
486
|
-
(u(),
|
|
486
|
+
(u(), I("svg", lo, [
|
|
487
487
|
e("path", {
|
|
488
488
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
489
489
|
fill: "white",
|
|
@@ -521,8 +521,8 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
521
521
|
setup(t, { emit: n }) {
|
|
522
522
|
const o = t, l = n, i = Se(Ve);
|
|
523
523
|
return (a, s) => {
|
|
524
|
-
const r =
|
|
525
|
-
return u(),
|
|
524
|
+
const r = L("v-icon"), h = L("v-btn"), g = L("v-img"), f = L("v-menu");
|
|
525
|
+
return u(), I("div", null, [
|
|
526
526
|
y(f, {
|
|
527
527
|
transition: "slide-x-reverse-transition",
|
|
528
528
|
location: "top end",
|
|
@@ -531,11 +531,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
531
531
|
attach: ""
|
|
532
532
|
}, {
|
|
533
533
|
activator: m(({ props: _ }) => [
|
|
534
|
-
y(h,
|
|
534
|
+
y(h, Le({ rounded: "" }, _, { class: "text-capitalize" }), {
|
|
535
535
|
default: m(() => [
|
|
536
536
|
y(r, null, {
|
|
537
537
|
default: m(() => [
|
|
538
|
-
|
|
538
|
+
le("mdi-palette-outline")
|
|
539
539
|
]),
|
|
540
540
|
_: 1
|
|
541
541
|
}),
|
|
@@ -546,7 +546,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
546
546
|
]),
|
|
547
547
|
default: m(() => [
|
|
548
548
|
e("div", mo, [
|
|
549
|
-
(u(!0),
|
|
549
|
+
(u(!0), I(we, null, Ee(o.availableArchetypes, (_, S) => (u(), I("div", {
|
|
550
550
|
key: `at-menuitem-${S}`,
|
|
551
551
|
onClick: ($) => l("selectInterior", _.archetypeID),
|
|
552
552
|
class: ce(["interior-selector-list-item", {
|
|
@@ -586,20 +586,20 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
586
586
|
transform: `rotate(${-n.rotation + 180}deg)`
|
|
587
587
|
}));
|
|
588
588
|
return (a, s) => {
|
|
589
|
-
const r =
|
|
590
|
-
return u(),
|
|
591
|
-
style:
|
|
589
|
+
const r = L("v-img");
|
|
590
|
+
return u(), I("div", {
|
|
591
|
+
style: oe(l.value),
|
|
592
592
|
class: "compass-wrapper"
|
|
593
593
|
}, [
|
|
594
594
|
y(r, {
|
|
595
595
|
class: "compass-needle",
|
|
596
596
|
src: o.value,
|
|
597
|
-
style:
|
|
597
|
+
style: oe(i.value)
|
|
598
598
|
}, null, 8, ["src", "style"])
|
|
599
599
|
], 4);
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
}), Co = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", So = { class: "d-flex flex-column align-center justify-center clock-face" }, Ao = { class: "clock-icon" }, xo = { class: "clock-value grey--text text--darken-3" },
|
|
602
|
+
}), Co = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", So = { class: "d-flex flex-column align-center justify-center clock-face" }, Ao = { class: "clock-icon" }, xo = { class: "clock-value grey--text text--darken-3" }, Io = /* @__PURE__ */ W({
|
|
603
603
|
__name: "VTimeOfDay",
|
|
604
604
|
props: {
|
|
605
605
|
hours: { default: 0 },
|
|
@@ -611,8 +611,8 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
611
611
|
return ("0" + i).slice(-2);
|
|
612
612
|
}
|
|
613
613
|
return (i, a) => {
|
|
614
|
-
const s =
|
|
615
|
-
return u(),
|
|
614
|
+
const s = L("v-img");
|
|
615
|
+
return u(), I("div", So, [
|
|
616
616
|
e("div", Ao, [
|
|
617
617
|
y(s, {
|
|
618
618
|
src: p(Co),
|
|
@@ -623,7 +623,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
623
623
|
]);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
}),
|
|
626
|
+
}), Lo = /* @__PURE__ */ ee(Io, [["__scopeId", "data-v-874b2271"]]), wt = (t) => (mt("data-v-86d91cc1"), t = t(), pt(), t), Eo = {
|
|
627
627
|
key: 0,
|
|
628
628
|
width: "24",
|
|
629
629
|
height: "24",
|
|
@@ -648,19 +648,19 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
648
648
|
return o.showStaticImage || (s = "slideShow"), s;
|
|
649
649
|
});
|
|
650
650
|
return (s, r) => {
|
|
651
|
-
const h =
|
|
651
|
+
const h = L("v-icon"), g = L("v-btn"), f = L("v-tooltip");
|
|
652
652
|
return u(), T(f, { location: "top" }, {
|
|
653
653
|
activator: m(({ props: _ }) => [
|
|
654
|
-
y(g,
|
|
654
|
+
y(g, Le({
|
|
655
655
|
density: "comfortable",
|
|
656
656
|
elevation: "1",
|
|
657
657
|
icon: "",
|
|
658
658
|
onClick: r[0] || (r[0] = (S) => l("toggle"))
|
|
659
659
|
}, _), {
|
|
660
660
|
default: m(() => [
|
|
661
|
-
a.value === "virtualTour" ? (u(),
|
|
661
|
+
a.value === "virtualTour" ? (u(), I("svg", Eo, Do)) : (u(), T(h, { key: 1 }, {
|
|
662
662
|
default: m(() => [
|
|
663
|
-
|
|
663
|
+
le("mdi-image-multiple")
|
|
664
664
|
]),
|
|
665
665
|
_: 1
|
|
666
666
|
}))
|
|
@@ -1216,7 +1216,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1216
1216
|
o("closeTutorial", i.value);
|
|
1217
1217
|
}
|
|
1218
1218
|
return (h, g) => {
|
|
1219
|
-
const f =
|
|
1219
|
+
const f = L("v-icon"), _ = L("v-card-title"), S = L("v-btn"), $ = L("v-divider"), C = L("v-card-text"), c = L("v-card-actions"), d = L("v-card"), k = L("v-expand-transition"), x = L("v-checkbox");
|
|
1220
1220
|
return u(), T(Fe, { name: "fade-transition" }, {
|
|
1221
1221
|
default: m(() => [
|
|
1222
1222
|
y(d, {
|
|
@@ -1228,11 +1228,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1228
1228
|
default: m(() => [
|
|
1229
1229
|
y(f, { size: "x-small" }, {
|
|
1230
1230
|
default: m(() => [
|
|
1231
|
-
|
|
1231
|
+
le("mdi-alert-outline")
|
|
1232
1232
|
]),
|
|
1233
1233
|
_: 1
|
|
1234
1234
|
}),
|
|
1235
|
-
|
|
1235
|
+
le(" " + Y(p(l).getLabel("disclaimer")), 1)
|
|
1236
1236
|
]),
|
|
1237
1237
|
_: 1
|
|
1238
1238
|
}),
|
|
@@ -1246,10 +1246,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1246
1246
|
class: "text-capitalize mt-2"
|
|
1247
1247
|
}, {
|
|
1248
1248
|
default: m(() => [
|
|
1249
|
-
|
|
1249
|
+
le(Y(p(l).getLabel("learnMore")) + " ", 1),
|
|
1250
1250
|
y(f, null, {
|
|
1251
1251
|
default: m(() => [
|
|
1252
|
-
|
|
1252
|
+
le("mdi-chevron-right")
|
|
1253
1253
|
]),
|
|
1254
1254
|
_: 1
|
|
1255
1255
|
})
|
|
@@ -1257,7 +1257,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1257
1257
|
_: 1
|
|
1258
1258
|
}),
|
|
1259
1259
|
y($, { class: "my-3" }),
|
|
1260
|
-
s.value ? F("", !0) : (u(),
|
|
1260
|
+
s.value ? F("", !0) : (u(), I("div", Oo, [
|
|
1261
1261
|
e("div", $o, [
|
|
1262
1262
|
e("div", Ro, [
|
|
1263
1263
|
Ho,
|
|
@@ -1277,7 +1277,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1277
1277
|
])
|
|
1278
1278
|
])
|
|
1279
1279
|
])),
|
|
1280
|
-
s.value ? (u(),
|
|
1280
|
+
s.value ? (u(), I("div", Jo, [
|
|
1281
1281
|
e("div", Go, [
|
|
1282
1282
|
Ko,
|
|
1283
1283
|
e("div", Xo, Y(p(l).getLabel("tapAndDragToLookAround")), 1)
|
|
@@ -1309,11 +1309,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1309
1309
|
e("p", sa, [
|
|
1310
1310
|
y(f, null, {
|
|
1311
1311
|
default: m(() => [
|
|
1312
|
-
|
|
1312
|
+
le("mdi-alert-outline")
|
|
1313
1313
|
]),
|
|
1314
1314
|
_: 1
|
|
1315
1315
|
}),
|
|
1316
|
-
|
|
1316
|
+
le(" " + Y(p(l).getLabel("disclaimer")), 1)
|
|
1317
1317
|
]),
|
|
1318
1318
|
e("p", ia, Y(p(l).getLabel("disclaimerText")), 1)
|
|
1319
1319
|
]),
|
|
@@ -1330,11 +1330,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1330
1330
|
default: m(() => [
|
|
1331
1331
|
y(f, null, {
|
|
1332
1332
|
default: m(() => [
|
|
1333
|
-
|
|
1333
|
+
le("mdi-chevron-left")
|
|
1334
1334
|
]),
|
|
1335
1335
|
_: 1
|
|
1336
1336
|
}),
|
|
1337
|
-
|
|
1337
|
+
le(" " + Y(p(l).getLabel("back")), 1)
|
|
1338
1338
|
]),
|
|
1339
1339
|
_: 1
|
|
1340
1340
|
})
|
|
@@ -1368,7 +1368,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1368
1368
|
block: ""
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: m(() => [
|
|
1371
|
-
|
|
1371
|
+
le(Y(p(l).getLabel("iUnderstand")), 1)
|
|
1372
1372
|
]),
|
|
1373
1373
|
_: 1
|
|
1374
1374
|
})
|
|
@@ -1390,10 +1390,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1390
1390
|
}, Ca = { class: "d-flex justify-space-between" }, Sa = { class: "setting-label" }, Aa = {
|
|
1391
1391
|
class: "mt-5 d-block",
|
|
1392
1392
|
style: { width: "300px" }
|
|
1393
|
-
}, xa = /* @__PURE__ */ va(() => /* @__PURE__ */ e("div", { class: "setting-label" }, "Enter Lut URL:", -1)),
|
|
1393
|
+
}, xa = /* @__PURE__ */ va(() => /* @__PURE__ */ e("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Ia = {
|
|
1394
1394
|
class: "d-block",
|
|
1395
1395
|
style: { width: "300px" }
|
|
1396
|
-
},
|
|
1396
|
+
}, La = { class: "form-buttons" }, Ea = /* @__PURE__ */ W({
|
|
1397
1397
|
__name: "VPlayerSettingsUi",
|
|
1398
1398
|
props: {
|
|
1399
1399
|
initialSettings: {}
|
|
@@ -1541,11 +1541,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
return (C, c) => {
|
|
1544
|
-
const d =
|
|
1545
|
-
return u(),
|
|
1544
|
+
const d = L("v-text-field"), k = L("v-slider"), x = L("v-checkbox"), E = L("v-btn"), R = L("v-select"), q = L("v-icon");
|
|
1545
|
+
return u(), I("div", ma, [
|
|
1546
1546
|
e("form", pa, [
|
|
1547
1547
|
e("div", fa, [
|
|
1548
|
-
(u(!0),
|
|
1548
|
+
(u(!0), I(we, null, Ee(i.value, (D, J, be) => (u(), I("div", {
|
|
1549
1549
|
key: be,
|
|
1550
1550
|
"d-block": ""
|
|
1551
1551
|
}, [
|
|
@@ -1594,7 +1594,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1594
1594
|
]),
|
|
1595
1595
|
_: 2
|
|
1596
1596
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : F("", !0),
|
|
1597
|
-
D.type === "color" ? (u(),
|
|
1597
|
+
D.type === "color" ? (u(), I("div", {
|
|
1598
1598
|
key: 2,
|
|
1599
1599
|
class: "d-flex",
|
|
1600
1600
|
max: D.max,
|
|
@@ -1625,7 +1625,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1625
1625
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1626
1626
|
])
|
|
1627
1627
|
], 8, ya)) : F("", !0),
|
|
1628
|
-
D.type === "lut" ? (u(),
|
|
1628
|
+
D.type === "lut" ? (u(), I("div", ka, [
|
|
1629
1629
|
e("div", Ca, [
|
|
1630
1630
|
e("div", Sa, Y(D.label), 1),
|
|
1631
1631
|
e("div", null, [
|
|
@@ -1635,7 +1635,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1635
1635
|
onClick: (te) => i.value[J].value = null
|
|
1636
1636
|
}, {
|
|
1637
1637
|
default: m(() => [
|
|
1638
|
-
|
|
1638
|
+
le(" Clear Lut ")
|
|
1639
1639
|
]),
|
|
1640
1640
|
_: 2
|
|
1641
1641
|
}, 1032, ["onClick"])
|
|
@@ -1658,7 +1658,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1658
1658
|
]),
|
|
1659
1659
|
e("div", null, [
|
|
1660
1660
|
xa,
|
|
1661
|
-
e("div",
|
|
1661
|
+
e("div", Ia, [
|
|
1662
1662
|
e("div", null, [
|
|
1663
1663
|
y(d, {
|
|
1664
1664
|
modelValue: i.value[J].value,
|
|
@@ -1675,12 +1675,12 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1675
1675
|
])) : F("", !0)
|
|
1676
1676
|
]))), 128))
|
|
1677
1677
|
]),
|
|
1678
|
-
e("div",
|
|
1678
|
+
e("div", La, [
|
|
1679
1679
|
y(E, {
|
|
1680
1680
|
onClick: c[0] || (c[0] = (D) => g())
|
|
1681
1681
|
}, {
|
|
1682
1682
|
default: m(() => [
|
|
1683
|
-
|
|
1683
|
+
le("Reset")
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}),
|
|
@@ -1689,10 +1689,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1689
1689
|
onClick: c[1] || (c[1] = (D) => r())
|
|
1690
1690
|
}, {
|
|
1691
1691
|
default: m(() => [
|
|
1692
|
-
|
|
1692
|
+
le(" Download Json "),
|
|
1693
1693
|
y(q, { color: "black darken-1" }, {
|
|
1694
1694
|
default: m(() => [
|
|
1695
|
-
|
|
1695
|
+
le("mdi-download")
|
|
1696
1696
|
]),
|
|
1697
1697
|
_: 1
|
|
1698
1698
|
})
|
|
@@ -1704,10 +1704,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1704
1704
|
onClick: c[2] || (c[2] = (D) => h())
|
|
1705
1705
|
}, {
|
|
1706
1706
|
default: m(() => [
|
|
1707
|
-
|
|
1707
|
+
le(" Save Settings "),
|
|
1708
1708
|
y(q, { color: "black darken-1" }, {
|
|
1709
1709
|
default: m(() => [
|
|
1710
|
-
|
|
1710
|
+
le("mdi-save")
|
|
1711
1711
|
]),
|
|
1712
1712
|
_: 1
|
|
1713
1713
|
})
|
|
@@ -1761,24 +1761,24 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1761
1761
|
document.removeEventListener("mouseup", C, !1), document.removeEventListener("mousemove", $, !1), document.removeEventListener("touchend", C, !1), document.removeEventListener("touchmove", $, !1);
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
|
-
return (s, r) => (u(),
|
|
1764
|
+
return (s, r) => (u(), I("div", {
|
|
1765
1765
|
id: "moveableDiv",
|
|
1766
1766
|
class: ce([s.size, "sizer rounded"])
|
|
1767
1767
|
}, [
|
|
1768
1768
|
e("div", Fa, [
|
|
1769
|
-
|
|
1769
|
+
X(s.$slots, "top-left", {}, void 0, !0)
|
|
1770
1770
|
]),
|
|
1771
1771
|
e("div", Va, [
|
|
1772
|
-
|
|
1772
|
+
X(s.$slots, "top-right", {}, void 0, !0)
|
|
1773
1773
|
]),
|
|
1774
1774
|
e("div", Da, [
|
|
1775
|
-
|
|
1775
|
+
X(s.$slots, "header", {}, void 0, !0)
|
|
1776
1776
|
]),
|
|
1777
1777
|
e("div", Ba, [
|
|
1778
|
-
|
|
1778
|
+
X(s.$slots, "body", {}, void 0, !0)
|
|
1779
1779
|
]),
|
|
1780
1780
|
e("div", Ta, [
|
|
1781
|
-
|
|
1781
|
+
X(s.$slots, "footer", {}, void 0, !0)
|
|
1782
1782
|
])
|
|
1783
1783
|
], 2));
|
|
1784
1784
|
}
|
|
@@ -1794,7 +1794,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1794
1794
|
rotation: {}
|
|
1795
1795
|
},
|
|
1796
1796
|
setup(t) {
|
|
1797
|
-
return (n, o) => (u(),
|
|
1797
|
+
return (n, o) => (u(), I("svg", Ra, [
|
|
1798
1798
|
Ha,
|
|
1799
1799
|
e("g", {
|
|
1800
1800
|
"transform-origin": "20 20",
|
|
@@ -1885,33 +1885,33 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1885
1885
|
const M = U.offsetHeight / 384 * 0.8, z = U.offsetWidth / 512 * 0.8;
|
|
1886
1886
|
U.offsetHeight > U.offsetWidth ? g.value = z * 0.5 : g.value = M * 0.9;
|
|
1887
1887
|
}
|
|
1888
|
-
return (U, M) => (u(),
|
|
1888
|
+
return (U, M) => (u(), I("div", Wa, [
|
|
1889
1889
|
e("div", Pa, [
|
|
1890
1890
|
e("div", {
|
|
1891
1891
|
class: "web-minimap",
|
|
1892
|
-
style:
|
|
1892
|
+
style: oe(R.value)
|
|
1893
1893
|
}, [
|
|
1894
1894
|
e("div", {
|
|
1895
1895
|
class: "minimap-background-image",
|
|
1896
|
-
style:
|
|
1896
|
+
style: oe(E.value)
|
|
1897
1897
|
}, null, 4),
|
|
1898
1898
|
e("div", {
|
|
1899
1899
|
class: "center-pivot",
|
|
1900
|
-
style:
|
|
1900
|
+
style: oe(h.value)
|
|
1901
1901
|
}, [
|
|
1902
|
-
(u(!0),
|
|
1902
|
+
(u(!0), I(we, null, Ee(x.value, (z) => (u(), I("div", {
|
|
1903
1903
|
key: z.id
|
|
1904
1904
|
}, [
|
|
1905
|
-
C.value.floorLevel === z.floorLevel ? (u(),
|
|
1905
|
+
C.value.floorLevel === z.floorLevel ? (u(), I("div", {
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
class: "single-camera-marker",
|
|
1908
|
-
style:
|
|
1908
|
+
style: oe(J(z))
|
|
1909
1909
|
}, null, 4)) : F("", !0),
|
|
1910
|
-
|
|
1910
|
+
X(U.$slots, "default", {
|
|
1911
1911
|
id: z.id,
|
|
1912
1912
|
camera: z,
|
|
1913
1913
|
active: C.value.id === z.id,
|
|
1914
|
-
style:
|
|
1914
|
+
style: oe({
|
|
1915
1915
|
...J(z),
|
|
1916
1916
|
position: "absolute",
|
|
1917
1917
|
zIndex: "3"
|
|
@@ -1921,7 +1921,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1921
1921
|
key: 0,
|
|
1922
1922
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1923
1923
|
rotation: c.value,
|
|
1924
|
-
style:
|
|
1924
|
+
style: oe({ ...J(z) })
|
|
1925
1925
|
}, null, 8, ["rotation", "style"])) : F("", !0)
|
|
1926
1926
|
], !0)
|
|
1927
1927
|
]))), 128))
|
|
@@ -1939,9 +1939,9 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1939
1939
|
},
|
|
1940
1940
|
setup(t) {
|
|
1941
1941
|
const n = t, o = V(() => n.rotation + n.transformAngle - 90);
|
|
1942
|
-
return (l, i) => (u(),
|
|
1942
|
+
return (l, i) => (u(), I("div", {
|
|
1943
1943
|
class: "minimap-compass elevation-5",
|
|
1944
|
-
style:
|
|
1944
|
+
style: oe({ scale: l.scale })
|
|
1945
1945
|
}, [
|
|
1946
1946
|
y(Yt, {
|
|
1947
1947
|
class: "north-indicator",
|
|
@@ -2026,8 +2026,8 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
2028
|
return (k, x) => {
|
|
2029
|
-
const E =
|
|
2030
|
-
return u(),
|
|
2029
|
+
const E = L("v-progress-linear"), R = L("v-icon"), q = L("v-slider");
|
|
2030
|
+
return u(), I("div", Za, [
|
|
2031
2031
|
e("div", qa, [
|
|
2032
2032
|
e("div", Ja, [
|
|
2033
2033
|
a.value ? (u(), T(E, {
|
|
@@ -2054,7 +2054,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2054
2054
|
e("div", Ga, [
|
|
2055
2055
|
y(R, { color: "#ffab02" }, {
|
|
2056
2056
|
default: m(() => [
|
|
2057
|
-
|
|
2057
|
+
le("mdi-white-balance-sunny")
|
|
2058
2058
|
]),
|
|
2059
2059
|
_: 1
|
|
2060
2060
|
}),
|
|
@@ -2062,12 +2062,12 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2062
2062
|
])
|
|
2063
2063
|
]),
|
|
2064
2064
|
"thumb-label": m(() => [
|
|
2065
|
-
|
|
2065
|
+
le(Y(f.value), 1)
|
|
2066
2066
|
]),
|
|
2067
2067
|
_: 1
|
|
2068
2068
|
}, 8, ["modelValue"]))
|
|
2069
2069
|
]),
|
|
2070
|
-
a.value ? F("", !0) : (u(),
|
|
2070
|
+
a.value ? F("", !0) : (u(), I("div", Ka))
|
|
2071
2071
|
])
|
|
2072
2072
|
]);
|
|
2073
2073
|
};
|
|
@@ -2119,7 +2119,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2119
2119
|
i("close");
|
|
2120
2120
|
};
|
|
2121
2121
|
return (d, k) => {
|
|
2122
|
-
const x =
|
|
2122
|
+
const x = L("v-btn");
|
|
2123
2123
|
return u(), T($a, {
|
|
2124
2124
|
ref_key: "minimapMoveable",
|
|
2125
2125
|
ref: o,
|
|
@@ -2217,8 +2217,8 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2217
2217
|
},
|
|
2218
2218
|
{ immediate: !0 }
|
|
2219
2219
|
), (h, g) => {
|
|
2220
|
-
const f =
|
|
2221
|
-
return u(),
|
|
2220
|
+
const f = L("v-icon"), _ = L("v-slider"), S = L("v-field"), $ = L("v-btn");
|
|
2221
|
+
return u(), I("div", ll, [
|
|
2222
2222
|
e("div", sl, [
|
|
2223
2223
|
y(S, {
|
|
2224
2224
|
class: "ss-slider-field",
|
|
@@ -2249,21 +2249,21 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2249
2249
|
color: "warning"
|
|
2250
2250
|
}, {
|
|
2251
2251
|
default: m(() => [
|
|
2252
|
-
|
|
2252
|
+
le(" mdi-white-balance-sunny ")
|
|
2253
2253
|
]),
|
|
2254
2254
|
_: 1
|
|
2255
2255
|
}),
|
|
2256
2256
|
e("span", il, Y(p(dt)(r.value)), 1)
|
|
2257
2257
|
]),
|
|
2258
2258
|
_: 1
|
|
2259
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(),
|
|
2259
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), I(we, { key: 1 }, [
|
|
2260
2260
|
y(f, {
|
|
2261
2261
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2262
2262
|
class: "mr-2 icon",
|
|
2263
2263
|
color: "warning"
|
|
2264
2264
|
}, {
|
|
2265
2265
|
default: m(() => [
|
|
2266
|
-
|
|
2266
|
+
le(" mdi-white-balance-sunny ")
|
|
2267
2267
|
]),
|
|
2268
2268
|
_: 1
|
|
2269
2269
|
}),
|
|
@@ -2294,7 +2294,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2294
2294
|
setup(t, { emit: n }) {
|
|
2295
2295
|
const o = n, l = Se(Ve);
|
|
2296
2296
|
return (i, a) => {
|
|
2297
|
-
const s =
|
|
2297
|
+
const s = L("v-btn");
|
|
2298
2298
|
return !i.displaySunsim && i.showUI ? (u(), T(s, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
size: "small",
|
|
@@ -2304,7 +2304,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2304
2304
|
onClick: a[0] || (a[0] = (r) => o("toggleSunStudy"))
|
|
2305
2305
|
}, {
|
|
2306
2306
|
default: m(() => [
|
|
2307
|
-
|
|
2307
|
+
le(Y(p(l).getLabel("openSunStudy")), 1)
|
|
2308
2308
|
]),
|
|
2309
2309
|
_: 1
|
|
2310
2310
|
})) : F("", !0);
|
|
@@ -2321,7 +2321,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2321
2321
|
window.navigator.userAgent
|
|
2322
2322
|
));
|
|
2323
2323
|
return (i, a) => {
|
|
2324
|
-
const s =
|
|
2324
|
+
const s = L("v-icon"), r = L("v-btn");
|
|
2325
2325
|
return u(), T(r, {
|
|
2326
2326
|
size: "x-small",
|
|
2327
2327
|
class: ce(["autoplay-btn", { mobile: l.value, "mt-1": l.value, "mx-1": l.value }]),
|
|
@@ -2381,15 +2381,15 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2381
2381
|
f(), l("goto", g);
|
|
2382
2382
|
}
|
|
2383
2383
|
return (g, f) => {
|
|
2384
|
-
const _ =
|
|
2385
|
-
return u(),
|
|
2384
|
+
const _ = L("v-btn"), S = L("v-img"), $ = L("v-icon"), C = L("v-card"), c = L("v-slide-group-item"), d = L("v-slide-group");
|
|
2385
|
+
return u(), I("div", {
|
|
2386
2386
|
class: ce(["d-flex align-center justify-center", {
|
|
2387
2387
|
mobileWaypointWrapper: s.value,
|
|
2388
2388
|
desktopWaypointWrapper: !s.value,
|
|
2389
2389
|
" waypoint-carousel": !0
|
|
2390
2390
|
}])
|
|
2391
2391
|
}, [
|
|
2392
|
-
|
|
2392
|
+
X(g.$slots, "before", {}, void 0, !0),
|
|
2393
2393
|
y(d, {
|
|
2394
2394
|
modelValue: a.value,
|
|
2395
2395
|
"onUpdate:modelValue": f[2] || (f[2] = (k) => a.value = k),
|
|
@@ -2421,7 +2421,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2421
2421
|
}, null, 8, ["class"]))
|
|
2422
2422
|
]),
|
|
2423
2423
|
default: m(() => [
|
|
2424
|
-
(u(!0),
|
|
2424
|
+
(u(!0), I(we, null, Ee(g.thumbnails, (k) => (u(), T(c, {
|
|
2425
2425
|
key: k.id
|
|
2426
2426
|
}, {
|
|
2427
2427
|
default: m(({ toggle: x, selectedClass: E }) => [
|
|
@@ -2442,7 +2442,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2442
2442
|
"aspect-ratio": 1,
|
|
2443
2443
|
src: k.thumbnailUrl
|
|
2444
2444
|
}, null, 8, ["src"]),
|
|
2445
|
-
o.cameraHasSunStudy(k.id) ? (u(),
|
|
2445
|
+
o.cameraHasSunStudy(k.id) ? (u(), I("div", vl, [
|
|
2446
2446
|
y($, {
|
|
2447
2447
|
class: "sun-icon",
|
|
2448
2448
|
icon: "mdi-white-balance-sunny"
|
|
@@ -2457,7 +2457,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2457
2457
|
]),
|
|
2458
2458
|
_: 1
|
|
2459
2459
|
}, 8, ["modelValue", "class", "show-arrows"]),
|
|
2460
|
-
|
|
2460
|
+
X(g.$slots, "after", {}, void 0, !0)
|
|
2461
2461
|
], 2);
|
|
2462
2462
|
};
|
|
2463
2463
|
}
|
|
@@ -2493,15 +2493,15 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2493
2493
|
navigator.clipboard.writeText(location.href);
|
|
2494
2494
|
}
|
|
2495
2495
|
return (h, g) => {
|
|
2496
|
-
const f =
|
|
2497
|
-
return u(),
|
|
2496
|
+
const f = L("v-btn"), _ = L("v-tooltip"), S = L("v-toolbar-title"), $ = L("v-spacer"), C = L("v-toolbar"), c = L("v-card-text"), d = L("v-card"), k = L("v-dialog");
|
|
2497
|
+
return u(), I("div", null, [
|
|
2498
2498
|
y(_, {
|
|
2499
2499
|
elevation: "2",
|
|
2500
2500
|
top: "",
|
|
2501
2501
|
attach: ""
|
|
2502
2502
|
}, {
|
|
2503
2503
|
activator: m(({ props: x }) => [
|
|
2504
|
-
y(f,
|
|
2504
|
+
y(f, Le({
|
|
2505
2505
|
density: "comfortable",
|
|
2506
2506
|
elevation: "1",
|
|
2507
2507
|
icon: "mdi-share-variant",
|
|
@@ -2531,7 +2531,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2531
2531
|
}),
|
|
2532
2532
|
y(S, null, {
|
|
2533
2533
|
default: m(() => [
|
|
2534
|
-
|
|
2534
|
+
le(Y(p(n).getLabel("share")), 1)
|
|
2535
2535
|
]),
|
|
2536
2536
|
_: 1
|
|
2537
2537
|
}),
|
|
@@ -2544,7 +2544,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2544
2544
|
e("p", hl, [
|
|
2545
2545
|
y(_, { location: "top" }, {
|
|
2546
2546
|
activator: m(({ props: x }) => [
|
|
2547
|
-
y(f,
|
|
2547
|
+
y(f, Le({
|
|
2548
2548
|
depressed: "",
|
|
2549
2549
|
fab: "",
|
|
2550
2550
|
light: "",
|
|
@@ -2558,7 +2558,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2558
2558
|
}),
|
|
2559
2559
|
y(_, { location: "top" }, {
|
|
2560
2560
|
activator: m(({ props: x }) => [
|
|
2561
|
-
y(f,
|
|
2561
|
+
y(f, Le({
|
|
2562
2562
|
depressed: "",
|
|
2563
2563
|
fab: "",
|
|
2564
2564
|
light: "",
|
|
@@ -2572,7 +2572,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2572
2572
|
}),
|
|
2573
2573
|
y(_, { location: "top" }, {
|
|
2574
2574
|
activator: m(({ props: x }) => [
|
|
2575
|
-
y(f,
|
|
2575
|
+
y(f, Le({
|
|
2576
2576
|
depressed: "",
|
|
2577
2577
|
fab: "",
|
|
2578
2578
|
light: "",
|
|
@@ -2586,7 +2586,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2586
2586
|
}),
|
|
2587
2587
|
y(_, { location: "top" }, {
|
|
2588
2588
|
activator: m(({ props: x }) => [
|
|
2589
|
-
y(f,
|
|
2589
|
+
y(f, Le({
|
|
2590
2590
|
depressed: "",
|
|
2591
2591
|
fab: "",
|
|
2592
2592
|
light: "",
|
|
@@ -2602,7 +2602,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2602
2602
|
}),
|
|
2603
2603
|
y(_, { location: "top" }, {
|
|
2604
2604
|
activator: m(({ props: x }) => [
|
|
2605
|
-
y(f,
|
|
2605
|
+
y(f, Le({
|
|
2606
2606
|
depressed: "",
|
|
2607
2607
|
fab: "",
|
|
2608
2608
|
light: "",
|
|
@@ -2637,10 +2637,10 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2637
2637
|
},
|
|
2638
2638
|
setup(t) {
|
|
2639
2639
|
const n = t, o = V(() => ({ "background-image": `url("${encodeURI(n.image)}")` }));
|
|
2640
|
-
return (l, i) => (u(),
|
|
2640
|
+
return (l, i) => (u(), I("div", yl, [
|
|
2641
2641
|
e("div", {
|
|
2642
2642
|
class: ce(["img-div", [l.aspectRatio]]),
|
|
2643
|
-
style:
|
|
2643
|
+
style: oe(o.value)
|
|
2644
2644
|
}, null, 6)
|
|
2645
2645
|
]));
|
|
2646
2646
|
}
|
|
@@ -2656,8 +2656,8 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2656
2656
|
setup(t, { emit: n }) {
|
|
2657
2657
|
const o = n;
|
|
2658
2658
|
return (l, i) => {
|
|
2659
|
-
const a =
|
|
2660
|
-
return u(),
|
|
2659
|
+
const a = L("v-btn");
|
|
2660
|
+
return u(), I("div", wl, [
|
|
2661
2661
|
y(a, {
|
|
2662
2662
|
density: "comfortable",
|
|
2663
2663
|
elevation: "3",
|
|
@@ -2762,8 +2762,8 @@ const Sl = {
|
|
|
2762
2762
|
setup(t, { emit: n }) {
|
|
2763
2763
|
const o = n;
|
|
2764
2764
|
return (l, i) => {
|
|
2765
|
-
const a =
|
|
2766
|
-
return u(),
|
|
2765
|
+
const a = L("v-btn");
|
|
2766
|
+
return u(), I("div", Sl, [
|
|
2767
2767
|
y(a, {
|
|
2768
2768
|
density: "comfortable",
|
|
2769
2769
|
elevation: "3",
|
|
@@ -2776,7 +2776,7 @@ const Sl = {
|
|
|
2776
2776
|
}), xl = {
|
|
2777
2777
|
key: 0,
|
|
2778
2778
|
class: "player-error"
|
|
2779
|
-
},
|
|
2779
|
+
}, Il = { class: "player-and-components-wrapper" }, Ll = {
|
|
2780
2780
|
key: 3,
|
|
2781
2781
|
class: "settings-panel"
|
|
2782
2782
|
}, El = {
|
|
@@ -2871,7 +2871,7 @@ const Sl = {
|
|
|
2871
2871
|
} = _e(l), M = o;
|
|
2872
2872
|
n({
|
|
2873
2873
|
updateSelectedInterior: At,
|
|
2874
|
-
takeSnapshot:
|
|
2874
|
+
takeSnapshot: Lt,
|
|
2875
2875
|
setCurrentCamera: st,
|
|
2876
2876
|
getCurrentRotation: Kt,
|
|
2877
2877
|
setCurrentRotation: Xt,
|
|
@@ -2881,7 +2881,7 @@ const Sl = {
|
|
|
2881
2881
|
screenToWorld: vn,
|
|
2882
2882
|
clearCurrentMarkerLayer: cn
|
|
2883
2883
|
});
|
|
2884
|
-
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), P = b(), N = b(),
|
|
2884
|
+
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), P = b(), N = b(), se = b(0), G = b(), re = b(), Z = b(), ge = b(0), xe = b(0), De = b(0), pe = b(!1), fe = b(!1), Be = b(), ye = b(!1), ue = b(!1), Me = b(
|
|
2885
2885
|
new Qt(document, "player-wrapper")
|
|
2886
2886
|
), ft = b(), tt = V(() => {
|
|
2887
2887
|
if (B.value) {
|
|
@@ -2916,14 +2916,14 @@ const Sl = {
|
|
|
2916
2916
|
imageUrl: it(
|
|
2917
2917
|
`/${G.value}/${a.value}/images/1600/${v.id}.jpg`
|
|
2918
2918
|
)
|
|
2919
|
-
})) : []), Te = V(() => !he.value || !he.value[
|
|
2919
|
+
})) : []), Te = V(() => !he.value || !he.value[se.value] ? "" : he.value[se.value].imageUrl), ot = V(() => {
|
|
2920
2920
|
let v = [];
|
|
2921
2921
|
return ie.value && (v = ie.value.archetypes), r.value.length ? v.filter(
|
|
2922
2922
|
(A) => r.value.includes(A.archetypeID)
|
|
2923
2923
|
) : v;
|
|
2924
2924
|
}), at = V(() => Q.value ? ot.value.map((v) => {
|
|
2925
2925
|
var j;
|
|
2926
|
-
const A = (j = he.value[
|
|
2926
|
+
const A = (j = he.value[se.value]) == null ? void 0 : j.id;
|
|
2927
2927
|
return {
|
|
2928
2928
|
...v,
|
|
2929
2929
|
url: it(
|
|
@@ -2933,7 +2933,7 @@ const Sl = {
|
|
|
2933
2933
|
}) : []), w = V(() => {
|
|
2934
2934
|
if (P.value && P.value.storeys && He.value in P.value.storeys)
|
|
2935
2935
|
return P.value.storeys[He.value];
|
|
2936
|
-
}), O = V(() => B.value && B.value.timeInHours),
|
|
2936
|
+
}), O = V(() => B.value && B.value.timeInHours), K = V(() => {
|
|
2937
2937
|
if (B.value && B.value.timeInHours && _.value)
|
|
2938
2938
|
return yn(B.value.timeInHours);
|
|
2939
2939
|
});
|
|
@@ -2941,9 +2941,9 @@ const Sl = {
|
|
|
2941
2941
|
Ve,
|
|
2942
2942
|
g.value ? new Ne(g.value) : new Ne()
|
|
2943
2943
|
);
|
|
2944
|
-
const
|
|
2944
|
+
const ne = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2945
2945
|
window.navigator.userAgent
|
|
2946
|
-
)),
|
|
2946
|
+
)), ae = V(() => ne.value ? "platform-mobile" : "platform-desktop"), Ce = V(() => {
|
|
2947
2947
|
const v = me(
|
|
2948
2948
|
i.value,
|
|
2949
2949
|
"/config.json"
|
|
@@ -2991,9 +2991,9 @@ const Sl = {
|
|
|
2991
2991
|
document.removeEventListener("wheel", ht);
|
|
2992
2992
|
});
|
|
2993
2993
|
function qe(v = !1) {
|
|
2994
|
-
ue.value = !0, z.value = !1, v &&
|
|
2994
|
+
ue.value = !0, z.value = !1, v && Ie();
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2996
|
+
function Ie() {
|
|
2997
2997
|
const v = me(
|
|
2998
2998
|
i.value,
|
|
2999
2999
|
"/config.json"
|
|
@@ -3013,7 +3013,7 @@ const Sl = {
|
|
|
3013
3013
|
a.value
|
|
3014
3014
|
), Q.value) {
|
|
3015
3015
|
const A = E.value !== null ? E.value : 0;
|
|
3016
|
-
|
|
3016
|
+
se.value = A, re.value = Q.value.cameras[A].id, Z.value = Q.value.cameras[A].id;
|
|
3017
3017
|
}
|
|
3018
3018
|
k.value && (P.value = await St(
|
|
3019
3019
|
G.value,
|
|
@@ -3114,16 +3114,16 @@ const Sl = {
|
|
|
3114
3114
|
return N.value.setCameraFov(v);
|
|
3115
3115
|
}
|
|
3116
3116
|
function lt() {
|
|
3117
|
-
let v =
|
|
3118
|
-
v >= he.value.length && (v = 0),
|
|
3117
|
+
let v = se.value + 1;
|
|
3118
|
+
v >= he.value.length && (v = 0), se.value = v, st(he.value[se.value].id);
|
|
3119
3119
|
}
|
|
3120
3120
|
function gt() {
|
|
3121
|
-
let v =
|
|
3122
|
-
v < 0 && (v = he.value.length - 1),
|
|
3121
|
+
let v = se.value - 1;
|
|
3122
|
+
v < 0 && (v = he.value.length - 1), se.value = v, st(he.value[se.value].id);
|
|
3123
3123
|
}
|
|
3124
3124
|
function yt(v, A = !0) {
|
|
3125
3125
|
let j = he.value.findIndex((de) => de.id === v);
|
|
3126
|
-
j != -1 && (
|
|
3126
|
+
j != -1 && (se.value = j, A && st(v));
|
|
3127
3127
|
}
|
|
3128
3128
|
function st(v) {
|
|
3129
3129
|
ye.value = !1, re.value = v;
|
|
@@ -3162,7 +3162,7 @@ const Sl = {
|
|
|
3162
3162
|
function ln(v) {
|
|
3163
3163
|
ge.value = v;
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function It(v) {
|
|
3166
3166
|
xe.value = v;
|
|
3167
3167
|
}
|
|
3168
3168
|
function sn(v) {
|
|
@@ -3188,7 +3188,7 @@ const Sl = {
|
|
|
3188
3188
|
function pn() {
|
|
3189
3189
|
pe.value = !pe.value;
|
|
3190
3190
|
}
|
|
3191
|
-
async function
|
|
3191
|
+
async function Lt() {
|
|
3192
3192
|
const v = 180 / Math.PI, A = await N.value.takePhoto(), j = N.value.getRotationEuler(), de = N.value.getCurrentCamera(), We = new Tt(A, de), _n = [
|
|
3193
3193
|
j.x * -v,
|
|
3194
3194
|
j.y * -v,
|
|
@@ -3236,12 +3236,12 @@ const Sl = {
|
|
|
3236
3236
|
}, 5e3);
|
|
3237
3237
|
}
|
|
3238
3238
|
return (v, A) => {
|
|
3239
|
-
const j =
|
|
3240
|
-
return u(),
|
|
3241
|
-
class: ce(["virtual-tour-wrapper", [
|
|
3239
|
+
const j = L("v-btn");
|
|
3240
|
+
return u(), I("div", {
|
|
3241
|
+
class: ce(["virtual-tour-wrapper", [ae.value]])
|
|
3242
3242
|
}, [
|
|
3243
|
-
ke.value ? (u(),
|
|
3244
|
-
e("div",
|
|
3243
|
+
ke.value ? (u(), I("div", xl, "Error loading the player!!")) : F("", !0),
|
|
3244
|
+
e("div", Il, [
|
|
3245
3245
|
!Me.value.isActive && P.value && Z.value && w.value && G.value && fe.value ? (u(), T(Vt, {
|
|
3246
3246
|
key: 0,
|
|
3247
3247
|
"cdn-file-resolver": p(i),
|
|
@@ -3252,15 +3252,15 @@ const Sl = {
|
|
|
3252
3252
|
"current-camera": Z.value,
|
|
3253
3253
|
onClose: A[0] || (A[0] = (de) => fe.value = !1)
|
|
3254
3254
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : F("", !0),
|
|
3255
|
-
G.value && re.value ? (u(),
|
|
3255
|
+
G.value && re.value ? (u(), I("div", {
|
|
3256
3256
|
key: 1,
|
|
3257
|
-
class: ce(["v-player", [
|
|
3257
|
+
class: ce(["v-player", [ae.value]])
|
|
3258
3258
|
}, [
|
|
3259
3259
|
y(ao, {
|
|
3260
3260
|
ref_key: "vPlayerInstance",
|
|
3261
3261
|
ref: ft,
|
|
3262
3262
|
"cdn-file-resolver": p(i),
|
|
3263
|
-
style:
|
|
3263
|
+
style: oe({ zIndex: pe.value ? 1 : 2 }),
|
|
3264
3264
|
"show-static-image": pe.value,
|
|
3265
3265
|
"current-camera-id": re.value,
|
|
3266
3266
|
"mouse-sensitivity": p(q),
|
|
@@ -3268,7 +3268,7 @@ const Sl = {
|
|
|
3268
3268
|
"apartment-id": p(a),
|
|
3269
3269
|
onNewCameraCallback: on,
|
|
3270
3270
|
onNewRotationCallback: ln,
|
|
3271
|
-
onNewFloorCallback:
|
|
3271
|
+
onNewFloorCallback: It,
|
|
3272
3272
|
onNewFovCallback: sn,
|
|
3273
3273
|
onNewSizeCallback: rn,
|
|
3274
3274
|
onSunsimCallback: an,
|
|
@@ -3312,9 +3312,9 @@ const Sl = {
|
|
|
3312
3312
|
key: 2,
|
|
3313
3313
|
level: xe.value,
|
|
3314
3314
|
"floor-levels": tt.value,
|
|
3315
|
-
onLevel:
|
|
3315
|
+
onLevel: It
|
|
3316
3316
|
}, null, 8, ["level", "floor-levels"])) : F("", !0),
|
|
3317
|
-
p(D) && ve.value ? (u(),
|
|
3317
|
+
p(D) && ve.value ? (u(), I("div", Ll, [
|
|
3318
3318
|
y(Ma, {
|
|
3319
3319
|
"initial-settings": p(J),
|
|
3320
3320
|
onUpdateSettings: hn,
|
|
@@ -3324,7 +3324,7 @@ const Sl = {
|
|
|
3324
3324
|
]),
|
|
3325
3325
|
"top-center": m(() => []),
|
|
3326
3326
|
"top-right": m(() => [
|
|
3327
|
-
B.value && p(S) ? Ke((u(),
|
|
3327
|
+
B.value && p(S) ? Ke((u(), I("div", El, [
|
|
3328
3328
|
y(ko, { rotation: ge.value }, null, 8, ["rotation"])
|
|
3329
3329
|
], 512)), [
|
|
3330
3330
|
[ut, ue.value]
|
|
@@ -3332,12 +3332,12 @@ const Sl = {
|
|
|
3332
3332
|
e("div", {
|
|
3333
3333
|
onClick: A[4] || (A[4] = (de) => fe.value = !fe.value)
|
|
3334
3334
|
}, [
|
|
3335
|
-
ue.value && B.value && O.value && p(_) ? (u(), T(
|
|
3335
|
+
ue.value && B.value && O.value && p(_) ? (u(), T(Lo, {
|
|
3336
3336
|
key: 0,
|
|
3337
|
-
hours:
|
|
3338
|
-
minutes:
|
|
3337
|
+
hours: K.value.hours,
|
|
3338
|
+
minutes: K.value.minutes,
|
|
3339
3339
|
class: "time-of-day",
|
|
3340
|
-
style:
|
|
3340
|
+
style: oe({
|
|
3341
3341
|
cursor: P.value && Z.value && w.value ? "pointer" : "default"
|
|
3342
3342
|
})
|
|
3343
3343
|
}, null, 8, ["hours", "minutes", "style"])) : F("", !0)
|
|
@@ -3394,12 +3394,12 @@ const Sl = {
|
|
|
3394
3394
|
class: "btn-fullscreen",
|
|
3395
3395
|
onToggleFullscreen: mn
|
|
3396
3396
|
}, null, 8, ["is-full-screen"])) : F("", !0),
|
|
3397
|
-
p(C) ? (u(),
|
|
3397
|
+
p(C) ? (u(), I("div", Ml, [
|
|
3398
3398
|
y(j, {
|
|
3399
3399
|
density: "comfortable",
|
|
3400
3400
|
elevation: "3",
|
|
3401
3401
|
icon: "mdi-camera",
|
|
3402
|
-
onClick:
|
|
3402
|
+
onClick: Lt
|
|
3403
3403
|
})
|
|
3404
3404
|
])) : F("", !0),
|
|
3405
3405
|
e("div", Fl, [
|
|
@@ -3409,10 +3409,10 @@ const Sl = {
|
|
|
3409
3409
|
onToggle: pn
|
|
3410
3410
|
}, null, 8, ["show-static-image"])) : F("", !0)
|
|
3411
3411
|
]),
|
|
3412
|
-
ue.value && p(c) && !Me.value.isActive ? (u(),
|
|
3412
|
+
ue.value && p(c) && !Me.value.isActive ? (u(), I("div", Vl, [
|
|
3413
3413
|
y(Wt)
|
|
3414
3414
|
])) : F("", !0),
|
|
3415
|
-
ue.value && v.showVisuadoCreateButton ? (u(),
|
|
3415
|
+
ue.value && v.showVisuadoCreateButton ? (u(), I("div", Dl, [
|
|
3416
3416
|
y(Al, { onOnSnapshot: fn })
|
|
3417
3417
|
])) : F("", !0)
|
|
3418
3418
|
]),
|
|
@@ -3422,7 +3422,7 @@ const Sl = {
|
|
|
3422
3422
|
e("div", null, [
|
|
3423
3423
|
e("div", {
|
|
3424
3424
|
class: ce(["d-flex justify-center", {
|
|
3425
|
-
"mb-2": !
|
|
3425
|
+
"mb-2": !ne.value
|
|
3426
3426
|
}])
|
|
3427
3427
|
}, [
|
|
3428
3428
|
!Oe.value && Ye.value(Z.value) ? (u(), T(cl, {
|
|
@@ -3433,7 +3433,7 @@ const Sl = {
|
|
|
3433
3433
|
onToggleSunStudy: A[7] || (A[7] = (de) => ye.value = !ye.value)
|
|
3434
3434
|
}, null, 8, ["displaySunsim", "showUI"])) : F("", !0)
|
|
3435
3435
|
], 2),
|
|
3436
|
-
!
|
|
3436
|
+
!ne.value && !Oe.value && re.value && ye.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3437
3437
|
key: 0,
|
|
3438
3438
|
class: "sunsim-slider-desktop",
|
|
3439
3439
|
"current-day": Ye.value(Z.value) ? je(Z.value)[0] : void 0,
|
|
@@ -3441,18 +3441,18 @@ const Sl = {
|
|
|
3441
3441
|
onOnTimeChange: xt,
|
|
3442
3442
|
onToggleSunStudy: A[8] || (A[8] = (de) => ye.value = !ye.value)
|
|
3443
3443
|
}, null, 8, ["current-day", "current-time"])) : F("", !0),
|
|
3444
|
-
!
|
|
3444
|
+
!ne.value && ue.value && p(f) ? (u(), T(vt, {
|
|
3445
3445
|
key: 1,
|
|
3446
3446
|
class: ce([Me.value.isActive ? "full-screen" : ""]),
|
|
3447
3447
|
thumbnails: he.value,
|
|
3448
|
-
active:
|
|
3448
|
+
active: se.value,
|
|
3449
3449
|
cameraHasSunStudy: Ye.value,
|
|
3450
3450
|
onNext: lt,
|
|
3451
3451
|
onPrevious: gt,
|
|
3452
3452
|
onGoto: yt
|
|
3453
3453
|
}, {
|
|
3454
3454
|
before: m(() => [
|
|
3455
|
-
v.enableAutoplay && ue.value && !
|
|
3455
|
+
v.enableAutoplay && ue.value && !ne.value ? (u(), T(Bt, {
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
autoplayStatus: Oe.value,
|
|
3458
3458
|
onToggleAutoPlay: A[9] || (A[9] = (de) => Mt())
|
|
@@ -3480,11 +3480,11 @@ const Sl = {
|
|
|
3480
3480
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3481
3481
|
y(Fe, null, {
|
|
3482
3482
|
default: m(() => [
|
|
3483
|
-
p(f) && Q.value &&
|
|
3483
|
+
p(f) && Q.value && ne.value && ue.value ? (u(), T(vt, {
|
|
3484
3484
|
key: 0,
|
|
3485
3485
|
class: "waypoint-carousel below-player",
|
|
3486
3486
|
thumbnails: he.value,
|
|
3487
|
-
active:
|
|
3487
|
+
active: se.value,
|
|
3488
3488
|
cameraHasSunStudy: Ye.value,
|
|
3489
3489
|
onNext: lt,
|
|
3490
3490
|
onPrevious: gt,
|
|
@@ -3502,7 +3502,7 @@ const Sl = {
|
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
3504
3504
|
}),
|
|
3505
|
-
|
|
3505
|
+
ne.value ? (u(), I("div", Tl, [
|
|
3506
3506
|
!Oe.value && re.value && ye.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3507
3507
|
key: 0,
|
|
3508
3508
|
class: "mt-1",
|
|
@@ -3513,7 +3513,7 @@ const Sl = {
|
|
|
3513
3513
|
}, null, 8, ["current-day", "current-time"])) : F("", !0)
|
|
3514
3514
|
])) : F("", !0)
|
|
3515
3515
|
], 2)) : F("", !0),
|
|
3516
|
-
p(Ae) && p(U) ? (u(),
|
|
3516
|
+
p(Ae) && p(U) ? (u(), I("div", Ol, " version: " + Y(p(Ae)), 1)) : F("", !0)
|
|
3517
3517
|
])
|
|
3518
3518
|
], 2);
|
|
3519
3519
|
};
|
|
@@ -3552,35 +3552,35 @@ const Sl = {
|
|
|
3552
3552
|
},
|
|
3553
3553
|
emits: ["newSizeCallback"],
|
|
3554
3554
|
setup(t, { emit: n }) {
|
|
3555
|
-
return (o, l) => (u(),
|
|
3555
|
+
return (o, l) => (u(), I("div", Hl, [
|
|
3556
3556
|
e("div", Yl, [
|
|
3557
|
-
|
|
3557
|
+
X(o.$slots, "slideshow-image", {}, void 0, !0),
|
|
3558
3558
|
e("div", Ul, [
|
|
3559
|
-
|
|
3559
|
+
X(o.$slots, "top-left", {}, void 0, !0)
|
|
3560
3560
|
]),
|
|
3561
3561
|
e("div", zl, [
|
|
3562
|
-
|
|
3562
|
+
X(o.$slots, "top-center", {}, void 0, !0)
|
|
3563
3563
|
]),
|
|
3564
3564
|
e("div", jl, [
|
|
3565
|
-
|
|
3565
|
+
X(o.$slots, "top-right", {}, void 0, !0)
|
|
3566
3566
|
]),
|
|
3567
3567
|
e("div", Wl, [
|
|
3568
|
-
|
|
3568
|
+
X(o.$slots, "center-left", {}, void 0, !0)
|
|
3569
3569
|
]),
|
|
3570
3570
|
e("div", Pl, [
|
|
3571
|
-
|
|
3571
|
+
X(o.$slots, "center-center", {}, void 0, !0)
|
|
3572
3572
|
]),
|
|
3573
3573
|
e("div", Ql, [
|
|
3574
|
-
|
|
3574
|
+
X(o.$slots, "center-right", {}, void 0, !0)
|
|
3575
3575
|
]),
|
|
3576
3576
|
e("div", Nl, [
|
|
3577
|
-
|
|
3577
|
+
X(o.$slots, "bottom-left", {}, void 0, !0)
|
|
3578
3578
|
]),
|
|
3579
3579
|
e("div", Zl, [
|
|
3580
|
-
|
|
3580
|
+
X(o.$slots, "bottom-center", {}, void 0, !0)
|
|
3581
3581
|
]),
|
|
3582
3582
|
e("div", ql, [
|
|
3583
|
-
|
|
3583
|
+
X(o.$slots, "bottom-right", {}, void 0, !0)
|
|
3584
3584
|
])
|
|
3585
3585
|
])
|
|
3586
3586
|
]));
|
|
@@ -3633,8 +3633,8 @@ const Sl = {
|
|
|
3633
3633
|
S != -1 && (o.value = S);
|
|
3634
3634
|
}
|
|
3635
3635
|
return (f, _) => {
|
|
3636
|
-
const S =
|
|
3637
|
-
return u(),
|
|
3636
|
+
const S = L("v-img"), $ = L("v-btn");
|
|
3637
|
+
return u(), I("div", Kl, [
|
|
3638
3638
|
e("div", Xl, [
|
|
3639
3639
|
e("div", null, [
|
|
3640
3640
|
y(Gl, {
|
|
@@ -3686,7 +3686,7 @@ const Sl = {
|
|
|
3686
3686
|
class: "btn-fullscreen",
|
|
3687
3687
|
onToggleFullscreen: s
|
|
3688
3688
|
}, null, 8, ["is-full-screen"])) : F("", !0),
|
|
3689
|
-
f.showShare ? (u(),
|
|
3689
|
+
f.showShare ? (u(), I("div", ts, [
|
|
3690
3690
|
y(Wt)
|
|
3691
3691
|
])) : F("", !0)
|
|
3692
3692
|
]),
|
|
@@ -3778,14 +3778,14 @@ const Sl = {
|
|
|
3778
3778
|
r.value = d;
|
|
3779
3779
|
}
|
|
3780
3780
|
return (d, k) => {
|
|
3781
|
-
const x =
|
|
3781
|
+
const x = L("v-skeleton-loader");
|
|
3782
3782
|
return u(), T(x, {
|
|
3783
3783
|
loading: !a.value || !s.value
|
|
3784
3784
|
}, {
|
|
3785
3785
|
default: m(() => [
|
|
3786
3786
|
e("div", null, [
|
|
3787
3787
|
e("div", {
|
|
3788
|
-
style:
|
|
3788
|
+
style: oe({ ...S.value, position: "relative" }),
|
|
3789
3789
|
ref_key: "fitContainer",
|
|
3790
3790
|
ref: g
|
|
3791
3791
|
}, [
|
|
@@ -3807,11 +3807,11 @@ const Sl = {
|
|
|
3807
3807
|
fit: ""
|
|
3808
3808
|
}, {
|
|
3809
3809
|
default: m(({ id: E, camera: R, active: q, style: D }) => [
|
|
3810
|
-
|
|
3810
|
+
X(d.$slots, "default", {
|
|
3811
3811
|
id: E,
|
|
3812
3812
|
camera: R,
|
|
3813
3813
|
active: q,
|
|
3814
|
-
style:
|
|
3814
|
+
style: oe(D)
|
|
3815
3815
|
}, void 0, !0)
|
|
3816
3816
|
]),
|
|
3817
3817
|
_: 3
|
|
@@ -3848,10 +3848,10 @@ const Sl = {
|
|
|
3848
3848
|
});
|
|
3849
3849
|
});
|
|
3850
3850
|
const h = V(() => me(l.value, o.value.filename));
|
|
3851
|
-
return (g, f) => (u(),
|
|
3851
|
+
return (g, f) => (u(), I("img", {
|
|
3852
3852
|
ref_key: "image",
|
|
3853
3853
|
ref: a,
|
|
3854
|
-
style:
|
|
3854
|
+
style: oe({
|
|
3855
3855
|
visibility: p(i) && p(o) === p(i) ? "visible" : "hidden"
|
|
3856
3856
|
}),
|
|
3857
3857
|
src: h.value
|
|
@@ -3867,7 +3867,7 @@ const Sl = {
|
|
|
3867
3867
|
},
|
|
3868
3868
|
setup(t) {
|
|
3869
3869
|
const n = t, { dayData: o, cdnFileResolver: l, currentTime: i } = _e(n);
|
|
3870
|
-
return (a, s) => (u(!0),
|
|
3870
|
+
return (a, s) => (u(!0), I(we, null, Ee(p(o).timeSamples, (r, h) => (u(), T(is, {
|
|
3871
3871
|
key: h,
|
|
3872
3872
|
"time-sample-data": r,
|
|
3873
3873
|
"cdn-file-resolver": p(l),
|
|
@@ -3893,17 +3893,17 @@ const Sl = {
|
|
|
3893
3893
|
});
|
|
3894
3894
|
});
|
|
3895
3895
|
const g = V(() => me(l.value, o.value.defaultFilename));
|
|
3896
|
-
return (f, _) => p(o).sunsimDayOfYear ? (u(!0),
|
|
3896
|
+
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), I(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S, $) => (u(), T(rs, {
|
|
3897
3897
|
key: $,
|
|
3898
3898
|
"day-data": S,
|
|
3899
3899
|
"cdn-file-resolver": p(l),
|
|
3900
3900
|
"current-day": f.currentDay,
|
|
3901
3901
|
"current-time": p(a)
|
|
3902
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : (u(),
|
|
3902
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : (u(), I("img", {
|
|
3903
3903
|
key: 1,
|
|
3904
3904
|
ref_key: "image",
|
|
3905
3905
|
ref: s,
|
|
3906
|
-
style:
|
|
3906
|
+
style: oe({ visibility: p(i) === p(o) ? "visible" : "hidden" }),
|
|
3907
3907
|
src: g.value
|
|
3908
3908
|
}, null, 12, us));
|
|
3909
3909
|
}
|
|
@@ -3924,10 +3924,10 @@ const Sl = {
|
|
|
3924
3924
|
});
|
|
3925
3925
|
});
|
|
3926
3926
|
const h = V(() => me(l.value, o.value.filename));
|
|
3927
|
-
return (g, f) => (u(),
|
|
3927
|
+
return (g, f) => (u(), I("img", {
|
|
3928
3928
|
ref_key: "image",
|
|
3929
3929
|
ref: a,
|
|
3930
|
-
style:
|
|
3930
|
+
style: oe({
|
|
3931
3931
|
visibility: p(o) === p(i) ? "visible" : "hidden"
|
|
3932
3932
|
}),
|
|
3933
3933
|
src: h.value
|
|
@@ -3966,8 +3966,8 @@ const fs = {
|
|
|
3966
3966
|
)
|
|
3967
3967
|
);
|
|
3968
3968
|
}), (g, f) => {
|
|
3969
|
-
const _ =
|
|
3970
|
-
return p(i).sunsimDayOfYear && p(i).sunsimDayOfYear.length > 0 ? (u(),
|
|
3969
|
+
const _ = L("v-btn"), S = L("v-field"), $ = L("v-list-item-title"), C = L("v-list-item"), c = L("v-list"), d = L("v-menu");
|
|
3970
|
+
return p(i).sunsimDayOfYear && p(i).sunsimDayOfYear.length > 0 ? (u(), I("div", fs, [
|
|
3971
3971
|
y(d, null, {
|
|
3972
3972
|
activator: m(({ props: k }) => [
|
|
3973
3973
|
y(S, {
|
|
@@ -3976,7 +3976,7 @@ const fs = {
|
|
|
3976
3976
|
flat: ""
|
|
3977
3977
|
}, {
|
|
3978
3978
|
default: m(() => [
|
|
3979
|
-
y(_,
|
|
3979
|
+
y(_, Le({
|
|
3980
3980
|
variant: "text",
|
|
3981
3981
|
rounded: "",
|
|
3982
3982
|
flat: "",
|
|
@@ -3987,7 +3987,7 @@ const fs = {
|
|
|
3987
3987
|
size: p(l) ? "small" : void 0
|
|
3988
3988
|
}, k), {
|
|
3989
3989
|
default: m(() => [
|
|
3990
|
-
|
|
3990
|
+
le(Y(p(Ot)(h.value)), 1)
|
|
3991
3991
|
]),
|
|
3992
3992
|
_: 2
|
|
3993
3993
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -3998,7 +3998,7 @@ const fs = {
|
|
|
3998
3998
|
default: m(() => [
|
|
3999
3999
|
y(c, null, {
|
|
4000
4000
|
default: m(() => [
|
|
4001
|
-
(u(!0),
|
|
4001
|
+
(u(!0), I(we, null, Ee(p(i).sunsimDayOfYear, (k, x) => (u(), T(C, {
|
|
4002
4002
|
key: x,
|
|
4003
4003
|
value: x,
|
|
4004
4004
|
onClick: (E) => h.value = k.dayOfYear
|
|
@@ -4006,7 +4006,7 @@ const fs = {
|
|
|
4006
4006
|
default: m(() => [
|
|
4007
4007
|
y($, null, {
|
|
4008
4008
|
default: m(() => [
|
|
4009
|
-
|
|
4009
|
+
le(Y(p(Ot)(k.dayOfYear)), 1)
|
|
4010
4010
|
]),
|
|
4011
4011
|
_: 2
|
|
4012
4012
|
}, 1024)
|
|
@@ -4062,8 +4062,8 @@ const fs = {
|
|
|
4062
4062
|
r.value || (h.value = _);
|
|
4063
4063
|
}
|
|
4064
4064
|
return (_, S) => {
|
|
4065
|
-
const $ =
|
|
4066
|
-
return u(),
|
|
4065
|
+
const $ = L("v-icon");
|
|
4066
|
+
return u(), I("div", {
|
|
4067
4067
|
class: ce({
|
|
4068
4068
|
"d-flex": !0,
|
|
4069
4069
|
"justify-center": !p(l),
|
|
@@ -4075,31 +4075,31 @@ const fs = {
|
|
|
4075
4075
|
})
|
|
4076
4076
|
}, [
|
|
4077
4077
|
e("div", ys, [
|
|
4078
|
-
(u(!0),
|
|
4078
|
+
(u(!0), I(we, null, Ee(p(i), (C, c) => (u(), I("div", {
|
|
4079
4079
|
key: c,
|
|
4080
4080
|
class: ce(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
4081
4081
|
"active-camera": C === h.value
|
|
4082
4082
|
}]),
|
|
4083
4083
|
onClick: (d) => f(C)
|
|
4084
4084
|
}, [
|
|
4085
|
-
C.cameraName ? (u(),
|
|
4085
|
+
C.cameraName ? (u(), I("div", bs, Y(C.cameraName), 1)) : F("", !0),
|
|
4086
4086
|
e("div", {
|
|
4087
4087
|
class: "camera-thumbnail-image",
|
|
4088
|
-
style:
|
|
4088
|
+
style: oe({
|
|
4089
4089
|
backgroundImage: `url(${p(me)(
|
|
4090
4090
|
p(s),
|
|
4091
4091
|
C.defaultFilename
|
|
4092
4092
|
)})`
|
|
4093
4093
|
})
|
|
4094
4094
|
}, null, 4),
|
|
4095
|
-
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(),
|
|
4095
|
+
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), I("div", ws, [
|
|
4096
4096
|
y($, {
|
|
4097
4097
|
size: "x-small",
|
|
4098
4098
|
color: "warning",
|
|
4099
4099
|
style: { opacity: "0.6" }
|
|
4100
4100
|
}, {
|
|
4101
4101
|
default: m(() => [
|
|
4102
|
-
|
|
4102
|
+
le(" mdi-white-balance-sunny ")
|
|
4103
4103
|
]),
|
|
4104
4104
|
_: 1
|
|
4105
4105
|
})
|
|
@@ -4130,16 +4130,16 @@ const fs = {
|
|
|
4130
4130
|
)
|
|
4131
4131
|
);
|
|
4132
4132
|
}), (g, f) => {
|
|
4133
|
-
const _ =
|
|
4134
|
-
return u(),
|
|
4133
|
+
const _ = L("v-icon"), S = L("v-slider"), $ = L("v-field");
|
|
4134
|
+
return u(), I("div", {
|
|
4135
4135
|
class: ce({ "d-inline-block": !0, mobile: p(l) }),
|
|
4136
|
-
style:
|
|
4136
|
+
style: oe({
|
|
4137
4137
|
flex: p(l) && p(i).timeSamples.length > 1 ? 1 : void 0,
|
|
4138
4138
|
verticalAlign: "top"
|
|
4139
4139
|
})
|
|
4140
4140
|
}, [
|
|
4141
4141
|
y($, {
|
|
4142
|
-
style:
|
|
4142
|
+
style: oe(
|
|
4143
4143
|
p(i).timeSamples.length > 1 ? {
|
|
4144
4144
|
width: p(l) ? "100%" : "300px",
|
|
4145
4145
|
height: p(l) ? "28px" : "36px"
|
|
@@ -4177,21 +4177,21 @@ const fs = {
|
|
|
4177
4177
|
color: "warning"
|
|
4178
4178
|
}, {
|
|
4179
4179
|
default: m(() => [
|
|
4180
|
-
|
|
4180
|
+
le(" mdi-white-balance-sunny ")
|
|
4181
4181
|
]),
|
|
4182
4182
|
_: 1
|
|
4183
4183
|
}),
|
|
4184
4184
|
e("span", Ss, Y(p(dt)(h.value)), 1)
|
|
4185
4185
|
]),
|
|
4186
4186
|
_: 1
|
|
4187
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(),
|
|
4187
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), I(we, { key: 1 }, [
|
|
4188
4188
|
y(_, {
|
|
4189
4189
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
4190
4190
|
class: "mr-2 icon",
|
|
4191
4191
|
color: "warning"
|
|
4192
4192
|
}, {
|
|
4193
4193
|
default: m(() => [
|
|
4194
|
-
|
|
4194
|
+
le(" mdi-white-balance-sunny ")
|
|
4195
4195
|
]),
|
|
4196
4196
|
_: 1
|
|
4197
4197
|
}),
|
|
@@ -4203,7 +4203,7 @@ const fs = {
|
|
|
4203
4203
|
], 6);
|
|
4204
4204
|
};
|
|
4205
4205
|
}
|
|
4206
|
-
}),
|
|
4206
|
+
}), Is = /* @__PURE__ */ ee(xs, [["__scopeId", "data-v-4d44890b"]]), Ls = {
|
|
4207
4207
|
class: "d-inline-block",
|
|
4208
4208
|
style: { "vertical-align": "top" }
|
|
4209
4209
|
}, Es = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ms = /* @__PURE__ */ W({
|
|
@@ -4218,8 +4218,8 @@ const fs = {
|
|
|
4218
4218
|
setup(t, { emit: n }) {
|
|
4219
4219
|
const o = t, { isMobileSized: l, canZoomIn: i, canZoomOut: a, disabled: s } = _e(o), r = n;
|
|
4220
4220
|
return (h, g) => {
|
|
4221
|
-
const f =
|
|
4222
|
-
return u(),
|
|
4221
|
+
const f = L("v-btn");
|
|
4222
|
+
return u(), I("div", Ls, [
|
|
4223
4223
|
y(f, {
|
|
4224
4224
|
disabled: p(s) || !p(i),
|
|
4225
4225
|
size: p(l) ? "x-small" : "small",
|
|
@@ -4386,7 +4386,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4386
4386
|
e("div", {
|
|
4387
4387
|
ref_key: "svgContainer",
|
|
4388
4388
|
ref: f,
|
|
4389
|
-
style:
|
|
4389
|
+
style: oe([{
|
|
4390
4390
|
visibility: h.value ? "visible" : "hidden"
|
|
4391
4391
|
}, { "z-index": "5" }]),
|
|
4392
4392
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
@@ -4764,7 +4764,7 @@ const zs = {
|
|
|
4764
4764
|
});
|
|
4765
4765
|
}), Xe("completeImage", (w) => {
|
|
4766
4766
|
$e(() => {
|
|
4767
|
-
const O = ie.value.findIndex((
|
|
4767
|
+
const O = ie.value.findIndex((K) => K.image === w);
|
|
4768
4768
|
O >= 0 && (ie.value[O].loaded = !0, ie.value = [...ie.value]);
|
|
4769
4769
|
});
|
|
4770
4770
|
}), n({
|
|
@@ -4782,18 +4782,18 @@ const zs = {
|
|
|
4782
4782
|
setState: ({
|
|
4783
4783
|
currentCameraIndex: w,
|
|
4784
4784
|
currentDayIndex: O,
|
|
4785
|
-
currentTimeIndex:
|
|
4786
|
-
currentTransitionIndex:
|
|
4787
|
-
currentScene:
|
|
4785
|
+
currentTimeIndex: K,
|
|
4786
|
+
currentTransitionIndex: ne,
|
|
4787
|
+
currentScene: ae
|
|
4788
4788
|
}) => {
|
|
4789
|
-
typeof w == "number" && (c.value = Z.value[w]), typeof O == "number" && (d.value = c.value.sunsimDayOfYear[O]), typeof
|
|
4789
|
+
typeof w == "number" && (c.value = Z.value[w]), typeof O == "number" && (d.value = c.value.sunsimDayOfYear[O]), typeof K == "number" && (k.value = d.value.timeSamples[K]), typeof ne == "number" && (x.value = ge.value[ne]), typeof ae == "number" && (E.value = ae);
|
|
4790
4790
|
},
|
|
4791
4791
|
resolveCoordinates: (w, O) => N.value ? N.value(w, O) : { x: 0, y: 0 }
|
|
4792
4792
|
}), Re(() => {
|
|
4793
4793
|
q.value = !0, P.value = !1;
|
|
4794
4794
|
}), H(U, () => {
|
|
4795
4795
|
U.value && new ResizeObserver(([]) => {
|
|
4796
|
-
const O = ie.value.find((
|
|
4796
|
+
const O = ie.value.find((K) => K.loaded);
|
|
4797
4797
|
O && (ke.value = O.image.width / ve.value);
|
|
4798
4798
|
}).observe(U.value);
|
|
4799
4799
|
}), H(ie, () => {
|
|
@@ -4802,7 +4802,7 @@ const zs = {
|
|
|
4802
4802
|
w && (ve.value = w.image.naturalWidth / w.image.naturalHeight, ke.value = w.image.width / ve.value);
|
|
4803
4803
|
}
|
|
4804
4804
|
});
|
|
4805
|
-
const
|
|
4805
|
+
const se = V(() => ie.value.every((w) => w.loaded)), G = V(() => Math.round(
|
|
4806
4806
|
ie.value.filter((w) => w.loaded).length / ie.value.length * 100
|
|
4807
4807
|
));
|
|
4808
4808
|
H(
|
|
@@ -4893,11 +4893,11 @@ const zs = {
|
|
|
4893
4893
|
function pe(w) {
|
|
4894
4894
|
const O = d.value;
|
|
4895
4895
|
c.value = w, E.value = M.value.cameras.findIndex(
|
|
4896
|
-
(
|
|
4896
|
+
(K) => K === c.value
|
|
4897
4897
|
), $e(() => {
|
|
4898
4898
|
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && fe(
|
|
4899
4899
|
c.value.sunsimDayOfYear.find(
|
|
4900
|
-
(
|
|
4900
|
+
(K) => K.dayOfYear === O.dayOfYear
|
|
4901
4901
|
) || c.value.sunsimDayOfYear[0]
|
|
4902
4902
|
);
|
|
4903
4903
|
});
|
|
@@ -4907,9 +4907,9 @@ const zs = {
|
|
|
4907
4907
|
d.value = w, $e(() => {
|
|
4908
4908
|
Be(
|
|
4909
4909
|
d.value.timeSamples.find(
|
|
4910
|
-
(
|
|
4910
|
+
(K) => K.timeInHours === O.timeInHours
|
|
4911
4911
|
) || d.value.timeSamples.find(
|
|
4912
|
-
(
|
|
4912
|
+
(K) => K.timeInHours === d.value.defaultHour
|
|
4913
4913
|
) || d.value.timeSamples[0]
|
|
4914
4914
|
);
|
|
4915
4915
|
});
|
|
@@ -4920,17 +4920,20 @@ const zs = {
|
|
|
4920
4920
|
function ye(w) {
|
|
4921
4921
|
C("onClick", w, () => {
|
|
4922
4922
|
const O = M.value.stillCameraData.find(
|
|
4923
|
-
(
|
|
4923
|
+
(K) => K.id === w
|
|
4924
4924
|
);
|
|
4925
4925
|
O && he(O.bestIndex);
|
|
4926
4926
|
});
|
|
4927
4927
|
}
|
|
4928
4928
|
H(g, (w) => {
|
|
4929
|
+
var O;
|
|
4929
4930
|
if (w && M.value) {
|
|
4930
|
-
const
|
|
4931
|
-
(
|
|
4931
|
+
const K = M.value.stillCameraData.find(
|
|
4932
|
+
(ne) => ne.id === w
|
|
4932
4933
|
);
|
|
4933
|
-
|
|
4934
|
+
K && ((O = M.value.stillCameraIndices) != null && O.includes(
|
|
4935
|
+
K.bestIndex
|
|
4936
|
+
)) && he(K.bestIndex);
|
|
4934
4937
|
}
|
|
4935
4938
|
});
|
|
4936
4939
|
function ue(w) {
|
|
@@ -4940,19 +4943,19 @@ const zs = {
|
|
|
4940
4943
|
C("onHoverOut", w), R.value = void 0;
|
|
4941
4944
|
}
|
|
4942
4945
|
function ft(w) {
|
|
4943
|
-
const { layerX: O, layerY:
|
|
4944
|
-
let
|
|
4945
|
-
for (;
|
|
4946
|
-
if (
|
|
4947
|
-
|
|
4946
|
+
const { layerX: O, layerY: K } = w;
|
|
4947
|
+
let ne = w.target, ae = !1;
|
|
4948
|
+
for (; ne; )
|
|
4949
|
+
if (ne === Ae.value) {
|
|
4950
|
+
ae = !0;
|
|
4948
4951
|
break;
|
|
4949
4952
|
} else
|
|
4950
|
-
|
|
4951
|
-
if (
|
|
4953
|
+
ne = ne.parentElement;
|
|
4954
|
+
if (ae) {
|
|
4952
4955
|
const Ce = w.currentTarget;
|
|
4953
4956
|
te.value = {
|
|
4954
4957
|
x: O,
|
|
4955
|
-
y:
|
|
4958
|
+
y: K,
|
|
4956
4959
|
width: Ce.clientWidth,
|
|
4957
4960
|
height: Ce.clientHeight
|
|
4958
4961
|
};
|
|
@@ -4963,10 +4966,10 @@ const zs = {
|
|
|
4963
4966
|
function tt({
|
|
4964
4967
|
min: w,
|
|
4965
4968
|
max: O,
|
|
4966
|
-
current:
|
|
4967
|
-
resolve:
|
|
4969
|
+
current: K,
|
|
4970
|
+
resolve: ne
|
|
4968
4971
|
}) {
|
|
4969
|
-
N.value =
|
|
4972
|
+
N.value = ne, Q.value = { min: w, max: O, current: K };
|
|
4970
4973
|
}
|
|
4971
4974
|
function He(w) {
|
|
4972
4975
|
B.value.adjustZoom(w ? 10 : -10);
|
|
@@ -4979,26 +4982,26 @@ const zs = {
|
|
|
4979
4982
|
async function he(w) {
|
|
4980
4983
|
const O = E.value;
|
|
4981
4984
|
if (M.value.loopable) {
|
|
4982
|
-
const
|
|
4983
|
-
let Ce = 0, qe = 0,
|
|
4984
|
-
for (;
|
|
4985
|
+
const K = M.value.stillCameraIndices.length, ne = nt(O), ae = nt(w);
|
|
4986
|
+
let Ce = 0, qe = 0, Ie = ne;
|
|
4987
|
+
for (; Ie++, Ie >= K && (Ie = 0), Ie !== ae; )
|
|
4985
4988
|
Ce++;
|
|
4986
|
-
for (
|
|
4989
|
+
for (Ie = ne; Ie--, Ie < 0 && (Ie += K), Ie !== ae; )
|
|
4987
4990
|
qe++;
|
|
4988
|
-
Ce === qe ? Te(O, w) : Ce < qe ?
|
|
4991
|
+
Ce === qe ? Te(O, w) : Ce < qe ? ne < ae ? Te(O, w) : Te(O, w + M.value.cameras.length) : ne >= ae ? Te(O, w) : Te(O + M.value.cameras.length, w);
|
|
4989
4992
|
} else
|
|
4990
4993
|
Te(O, w);
|
|
4991
4994
|
}
|
|
4992
4995
|
function Te(w, O) {
|
|
4993
|
-
return new Promise((
|
|
4996
|
+
return new Promise((K) => {
|
|
4994
4997
|
D.value = !0;
|
|
4995
|
-
let
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
), De(E.value)) :
|
|
5000
|
-
|
|
5001
|
-
), De(E.value)) : (clearInterval(
|
|
4998
|
+
let ne, ae = w;
|
|
4999
|
+
ne = setInterval(() => {
|
|
5000
|
+
ae < O ? (ae++, E.value = Math.abs(
|
|
5001
|
+
ae % M.value.cameras.length
|
|
5002
|
+
), De(E.value)) : ae > O ? (ae--, E.value = Math.abs(
|
|
5003
|
+
ae % M.value.cameras.length
|
|
5004
|
+
), De(E.value)) : (clearInterval(ne), D.value = !1, K());
|
|
5002
5005
|
}, 12);
|
|
5003
5006
|
});
|
|
5004
5007
|
}
|
|
@@ -5007,16 +5010,16 @@ const zs = {
|
|
|
5007
5010
|
}
|
|
5008
5011
|
const at = (w) => w * (180 / Math.PI);
|
|
5009
5012
|
return (w, O) => {
|
|
5010
|
-
const
|
|
5011
|
-
return u(),
|
|
5012
|
-
y(
|
|
5013
|
+
const K = L("v-progress-circular"), ne = L("v-skeleton-loader");
|
|
5014
|
+
return u(), I(we, null, [
|
|
5015
|
+
y(ne, {
|
|
5013
5016
|
type: "image",
|
|
5014
5017
|
class: "w-100 h-100 position-relative",
|
|
5015
5018
|
loading: !q.value || !M.value
|
|
5016
5019
|
}, {
|
|
5017
5020
|
default: m(() => [
|
|
5018
|
-
|
|
5019
|
-
y(
|
|
5021
|
+
se.value ? F("", !0) : (u(), I("div", zs, [
|
|
5022
|
+
y(K, {
|
|
5020
5023
|
"model-value": G.value,
|
|
5021
5024
|
size: 128,
|
|
5022
5025
|
width: 12
|
|
@@ -5031,10 +5034,10 @@ const zs = {
|
|
|
5031
5034
|
style: { "min-height": "160px" },
|
|
5032
5035
|
onMousemove: ft
|
|
5033
5036
|
}, [
|
|
5034
|
-
w.showUi ? (u(),
|
|
5037
|
+
w.showUi ? (u(), I("div", {
|
|
5035
5038
|
key: 0,
|
|
5036
5039
|
class: "persistent actions-bar top-right pa-2",
|
|
5037
|
-
style:
|
|
5040
|
+
style: oe({
|
|
5038
5041
|
zIndex: 7,
|
|
5039
5042
|
top: z.value && Z.value.length > 1 ? "60px" : 0
|
|
5040
5043
|
})
|
|
@@ -5042,7 +5045,7 @@ const zs = {
|
|
|
5042
5045
|
c.value.cameraRotation ? (u(), T(Yt, {
|
|
5043
5046
|
key: 0,
|
|
5044
5047
|
class: "mb-2",
|
|
5045
|
-
style:
|
|
5048
|
+
style: oe({
|
|
5046
5049
|
zIndex: 7,
|
|
5047
5050
|
width: z.value ? 32 : 40,
|
|
5048
5051
|
height: z.value ? 32 : 40
|
|
@@ -5054,11 +5057,11 @@ const zs = {
|
|
|
5054
5057
|
"can-zoom-out": Q.value.min < Q.value.current,
|
|
5055
5058
|
"can-zoom-in": Q.value.max > Q.value.current,
|
|
5056
5059
|
disabled: D.value,
|
|
5057
|
-
onOnZoomIn: O[0] || (O[0] = (
|
|
5058
|
-
onOnZoomOut: O[1] || (O[1] = (
|
|
5060
|
+
onOnZoomIn: O[0] || (O[0] = (ae) => He(!0)),
|
|
5061
|
+
onOnZoomOut: O[1] || (O[1] = (ae) => He(!1))
|
|
5059
5062
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5060
5063
|
], 4)) : F("", !0),
|
|
5061
|
-
w.showUi && Z.value.length > 1 ? (u(),
|
|
5064
|
+
w.showUi && Z.value.length > 1 ? (u(), I("div", {
|
|
5062
5065
|
key: 1,
|
|
5063
5066
|
class: ce([{
|
|
5064
5067
|
"actions-bar bottom-center pb-2": !0,
|
|
@@ -5084,23 +5087,23 @@ const zs = {
|
|
|
5084
5087
|
default: m(() => [
|
|
5085
5088
|
e("div", {
|
|
5086
5089
|
class: "w-100 position-relative",
|
|
5087
|
-
style:
|
|
5090
|
+
style: oe({ height: `${ke.value}px` })
|
|
5088
5091
|
}, [
|
|
5089
|
-
(u(!0),
|
|
5092
|
+
(u(!0), I(we, null, Ee(Z.value, (ae, Ce) => (u(), T(ds, {
|
|
5090
5093
|
key: `camera${Ce}`,
|
|
5091
|
-
"camera-data":
|
|
5094
|
+
"camera-data": ae,
|
|
5092
5095
|
"cdn-file-resolver": p(a),
|
|
5093
5096
|
"current-camera": c.value,
|
|
5094
5097
|
"current-day": d.value,
|
|
5095
5098
|
"current-time": k.value
|
|
5096
5099
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5097
|
-
(u(!0),
|
|
5100
|
+
(u(!0), I(we, null, Ee(ge.value, (ae, Ce) => (u(), T(ps, {
|
|
5098
5101
|
key: `transition${Ce}`,
|
|
5099
|
-
"transition-data":
|
|
5102
|
+
"transition-data": ae,
|
|
5100
5103
|
"cdn-file-resolver": p(a),
|
|
5101
5104
|
"current-transition": x.value
|
|
5102
5105
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
5103
|
-
p(h) ? (u(),
|
|
5106
|
+
p(h) ? (u(), I("div", {
|
|
5104
5107
|
key: 0,
|
|
5105
5108
|
class: "w-100 h-100 position-absolute top-left",
|
|
5106
5109
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
@@ -5116,17 +5119,17 @@ const zs = {
|
|
|
5116
5119
|
onOnClick: ye,
|
|
5117
5120
|
onOnHoverOver: ue,
|
|
5118
5121
|
onOnHoverOut: Me,
|
|
5119
|
-
onUpdateSvgContainer: O[2] || (O[2] = (
|
|
5122
|
+
onUpdateSvgContainer: O[2] || (O[2] = (ae) => Ae.value = ae),
|
|
5120
5123
|
onOnError: ot
|
|
5121
5124
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5122
5125
|
[ut, x.value === null]
|
|
5123
5126
|
]) : F("", !0),
|
|
5124
|
-
|
|
5127
|
+
X(w.$slots, "default", {}, void 0, !0)
|
|
5125
5128
|
], 4)
|
|
5126
5129
|
]),
|
|
5127
5130
|
_: 3
|
|
5128
5131
|
}, 512),
|
|
5129
|
-
w.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(),
|
|
5132
|
+
w.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(), I("div", {
|
|
5130
5133
|
key: 2,
|
|
5131
5134
|
class: ce({
|
|
5132
5135
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
@@ -5142,7 +5145,7 @@ const zs = {
|
|
|
5142
5145
|
disabled: D.value,
|
|
5143
5146
|
onOnDayChange: fe
|
|
5144
5147
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5145
|
-
y(
|
|
5148
|
+
y(Is, {
|
|
5146
5149
|
"is-mobile-sized": z.value,
|
|
5147
5150
|
"current-day": d.value,
|
|
5148
5151
|
"current-time": k.value,
|
|
@@ -5157,12 +5160,12 @@ const zs = {
|
|
|
5157
5160
|
}, {
|
|
5158
5161
|
default: m(() => [
|
|
5159
5162
|
e("div", Ws, [
|
|
5160
|
-
|
|
5163
|
+
X(w.$slots, "popup", xn(In({ hoverId: R.value, hoverable: be.value })), void 0, !0)
|
|
5161
5164
|
])
|
|
5162
5165
|
]),
|
|
5163
5166
|
_: 3
|
|
5164
5167
|
}, 8, ["is-hoverable", "pos"])) : F("", !0),
|
|
5165
|
-
w.version && w.showVersion ? (u(),
|
|
5168
|
+
w.version && w.showVersion ? (u(), I("div", Ps, " version: " + Y(w.version), 1)) : F("", !0)
|
|
5166
5169
|
], 34)
|
|
5167
5170
|
]),
|
|
5168
5171
|
_: 3
|
|
@@ -5177,7 +5180,7 @@ const zs = {
|
|
|
5177
5180
|
], 64);
|
|
5178
5181
|
};
|
|
5179
5182
|
}
|
|
5180
|
-
}), Rt = /* @__PURE__ */ ee(Qs, [["__scopeId", "data-v-
|
|
5183
|
+
}), Rt = /* @__PURE__ */ ee(Qs, [["__scopeId", "data-v-0666e1f2"]]), Ks = {
|
|
5181
5184
|
install: function(n) {
|
|
5182
5185
|
n.component("VStructureChooser", Rt), n.component("VVirtualTour", Rl), n.component("VManualSlideShow", os), n.component("VStructureChooser", Rt);
|
|
5183
5186
|
}
|