@qispace/vue3-player 0.4.4 → 0.4.7
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,11 +1,11 @@
|
|
|
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
|
|
4
|
+
import { defineComponent as P, 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
|
-
const Fn = /* @__PURE__ */
|
|
8
|
+
const Fn = /* @__PURE__ */ P({
|
|
9
9
|
__name: "VFloatingCard",
|
|
10
10
|
props: {
|
|
11
11
|
pos: {},
|
|
@@ -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
|
}))
|
|
@@ -55,19 +55,19 @@ const Fn = /* @__PURE__ */ W({
|
|
|
55
55
|
for (const [l, i] of n)
|
|
56
56
|
o[l] = i;
|
|
57
57
|
return o;
|
|
58
|
-
}, Vn = /* @__PURE__ */ ee(Fn, [["__scopeId", "data-v-7d5e6067"]]), Dn = /* @__PURE__ */
|
|
58
|
+
}, Vn = /* @__PURE__ */ ee(Fn, [["__scopeId", "data-v-7d5e6067"]]), Dn = /* @__PURE__ */ P({
|
|
59
59
|
__name: "VHoverProbe",
|
|
60
60
|
setup(t, { expose: n }) {
|
|
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"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}), Bn = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-eb9b348d"]]), Tn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA6ySURBVHgB7Z3Nb1TVG8efQstLActbIBAI8wsJBgLxZ+KeaVy5EVgZo4klceOKstCdYdQ/gLLSjQESjEvBjTs7Ju40AQMBIQEvgUAgvLRCWlpax/O9c56b09N7Z87bPTNT+SSHTqftMHO+93nO955Xolf0FH3UwzQajYr4wmVIlPUFvzohyqQoCR739fVdoh6lJwQTwkCI/4vyhihV+bhCfkC0RH79BV+FkBPU5XStYEKkKjXFOSi/xqBOTQEvCPHq1IV0lWBSpEOijFBxeotFQk0BT/VyCg0O0p0ox0QZb3QvF0X5iLqAjkVYo9kujYpyjDofTaYkopwV5YyIuoQ6QHTBelQonYSawo31glFxRog1KsrTxtLhr0bkVBklwsSHgg0/SfHcXmwSUYZjpMllVDJCrJr4cpGWrligIspf8rOWSmkR1mj2QpympS1UHgmVGG2lCCbEOkxNsUozFXNzczQ7O0vT09M0MzOTlpSbN2nT99+nDx+//z7R7t3p45UrV6ZlxYoVtHr1aurv76cSSUQ5LkQ7T4EJ/q5lWjhBgYEgExMTNDU1Rc+fP0/FymPVgwf02u+/p4+n3n6bXmzYkPt7EA3irV+/ntatW5eKGZCKKD+IuvhCiFajgAQVTLzBMWra9SBApMePH6dCIZJagQpfvnw5rRwczJ4bFKIMCDEgbh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OBfKqW3YKRX2kIAAAAASUVORK5CYII=", Yt = /* @__PURE__ */
|
|
70
|
+
}), Bn = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-eb9b348d"]]), Tn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA6ySURBVHgB7Z3Nb1TVG8efQstLActbIBAI8wsJBgLxZ+KeaVy5EVgZo4klceOKstCdYdQ/gLLSjQESjEvBjTs7Ju40AQMBIQEvgUAgvLRCWlpax/O9c56b09N7Z87bPTNT+SSHTqftMHO+93nO955Xolf0FH3UwzQajYr4wmVIlPUFvzohyqQoCR739fVdoh6lJwQTwkCI/4vyhihV+bhCfkC0RH79BV+FkBPU5XStYEKkKjXFOSi/xqBOTQEvCPHq1IV0lWBSpEOijFBxeotFQk0BT/VyCg0O0p0ox0QZb3QvF0X5iLqAjkVYo9kujYpyjDofTaYkopwV5YyIuoQ6QHTBelQonYSawo31glFxRog1KsrTxtLhr0bkVBklwsSHgg0/SfHcXmwSUYZjpMllVDJCrJr4cpGWrligIspf8rOWSmkR1mj2QpympS1UHgmVGG2lCCbEOkxNsUozFXNzczQ7O0vT09M0MzOTlpSbN2nT99+nDx+//z7R7t3p45UrV6ZlxYoVtHr1aurv76cSSUQ5LkQ7T4EJ/q5lWjhBgYEgExMTNDU1Rc+fP0/FymPVgwf02u+/p4+n3n6bXmzYkPt7EA3irV+/ntatW5eKGZCKKD+IuvhCiFajgAQVTLzBMWra9SBApMePH6dCIZJagQpfvnw5rRwczJ4bFKIMCDEgbhaBErweyuTkZPo9BIRwW7ZsCSneCVEnQ0K04xSIIII1mvdWP1Cg9goCPRCRgkjSQWWuXbuWBoUwHCVqBb8Uf/O3fLxj504a2LMn+9n8/HwaoRDq2bNnWToFLODDhw/T19+0aRNt3ryZAjAq2/OjIe7ZvAWTYo1TswfdGbRJqCwUV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95i3bt3KDAY+m6tYZHm8opVgMmyPkgPI6/oZJZcvX+6pFIn3el30ffJQEp984dhmgeM2k3iB9XIjeVx7jRyAc1JF4zMluz3asFIH7zHvdEGPvbZqLkffO52BiZwrb6qtJ6/zKXd5Z0oGOjM5KGirsO+8uo7Ao71ixmzaLRXnU2ZxSqrcQadKDuADowebnWPgM5O9yTutne8vPffYOu9z1L3vOc5HyOPgbY62ojOTIRwqKdYWE0WntXOfYIC9IXF75OQBGC/BZAcxXI7XaemtDrsGmMeHn5chHv4vRBOKGk0g8JHFEKuzR9sDRTScmn6YPFCFUxdboCK5MhGVSEkQD0M6eIyKNYEvBCxIQMFr5q1xK+G09rooR3zFAt6CAflGjuAEcHIwIjosHE85QMXyqg88h6JPEYeQKAPCIPA+THfF/dK0EBXprd3iQ4gPgTZu3Bg6ijFc4pUGVYIIxkgjAvFqFAAIoHYi88wsjhIVFnKVeJ4Fm5qephcFa9ggClIthMJevCW1kzVXN1hEUMGAtPyYvI9oq1AgIB5HHkDUQDRe8pRF0Nat2ZS2NSKtrZG/j7/nRRz4WvJOdLhoj7rcZ7XD6uBtG+QJfzAjFfpvUaemWAmVQGk74eANi/I/CpQeewSkwOGyxAKlRZjKfyDa6tTsFzReY+dKlL2mlGiDW0po6YC2alRGVeligSgRpiL7IHFG2Qj1bsRBKEydOBXi3sqG6IIxyrHDI9Q7wnVMqK4Ch6SKcrHRvYyLcqzR5hTzGHQswvJoNHv/kS6r1PmoQwSdoWbvuvHK1LLpKsFUhHg4vAd9k85DOA7UuXSTSCpdK5iKTEU44adKTQEr5DE6IEmo2YNel1//6IV2qScEK0KmUHQdVqg5nbyojZmQJaHmLKXb9IpXxOBfKqW3YKRX2kIAAAAASUVORK5CYII=", Yt = /* @__PURE__ */ P({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
@@ -78,14 +78,14 @@ 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
|
}
|
|
88
|
-
}), On = /* @__PURE__ */
|
|
88
|
+
}), On = /* @__PURE__ */ P({
|
|
89
89
|
__name: "VZoomBox",
|
|
90
90
|
props: {
|
|
91
91
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -116,19 +116,19 @@ const Fn = /* @__PURE__ */ W({
|
|
|
116
116
|
), H(
|
|
117
117
|
() => l.mobile,
|
|
118
118
|
() => {
|
|
119
|
-
l.mobile ? k() :
|
|
119
|
+
l.mobile ? k() : B();
|
|
120
120
|
}
|
|
121
121
|
), Re(() => {
|
|
122
122
|
l.desktop && d(), l.mobile && k();
|
|
123
123
|
}), et(() => {
|
|
124
|
-
l.desktop && x(), l.mobile &&
|
|
124
|
+
l.desktop && x(), l.mobile && B();
|
|
125
125
|
});
|
|
126
126
|
function d() {
|
|
127
127
|
S.value.addEventListener("wheel", R, {
|
|
128
128
|
capture: !0
|
|
129
|
-
}), S.value.addEventListener("mousedown",
|
|
129
|
+
}), S.value.addEventListener("mousedown", U, {
|
|
130
130
|
capture: !0
|
|
131
|
-
}), S.value.addEventListener("mousemove",
|
|
131
|
+
}), S.value.addEventListener("mousemove", E, {
|
|
132
132
|
capture: !0
|
|
133
133
|
}), window.addEventListener("mouseup", J, {
|
|
134
134
|
capture: !0
|
|
@@ -141,18 +141,18 @@ const Fn = /* @__PURE__ */ W({
|
|
|
141
141
|
capture: !0
|
|
142
142
|
}), S.value.addEventListener("touchmove", Ae, {
|
|
143
143
|
capture: !0
|
|
144
|
-
}), window.addEventListener("touchend",
|
|
144
|
+
}), window.addEventListener("touchend", z, {
|
|
145
145
|
capture: !0
|
|
146
|
-
}), window.addEventListener("touchcancel",
|
|
146
|
+
}), window.addEventListener("touchcancel", z, {
|
|
147
147
|
capture: !0
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
function x() {
|
|
151
151
|
S.value.removeEventListener("wheel", R, {
|
|
152
152
|
capture: !0
|
|
153
|
-
}), S.value.removeEventListener("mousedown",
|
|
153
|
+
}), S.value.removeEventListener("mousedown", U, {
|
|
154
154
|
capture: !0
|
|
155
|
-
}), S.value.removeEventListener("mousemove",
|
|
155
|
+
}), S.value.removeEventListener("mousemove", E, {
|
|
156
156
|
capture: !0
|
|
157
157
|
}), window.removeEventListener("mouseup", J, {
|
|
158
158
|
capture: !0
|
|
@@ -160,90 +160,90 @@ const Fn = /* @__PURE__ */ W({
|
|
|
160
160
|
capture: !0
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function B() {
|
|
164
164
|
S.value.removeEventListener("touchstart", te, {
|
|
165
165
|
capture: !0
|
|
166
166
|
}), S.value.removeEventListener("touchmove", Ae, {
|
|
167
167
|
capture: !0
|
|
168
|
-
}), window.removeEventListener("touchend",
|
|
168
|
+
}), window.removeEventListener("touchend", z, {
|
|
169
169
|
capture: !0
|
|
170
|
-
}), window.removeEventListener("touchcancel",
|
|
170
|
+
}), window.removeEventListener("touchcancel", z, {
|
|
171
171
|
capture: !0
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
function R(
|
|
175
|
-
const { x: Q, y:
|
|
176
|
-
ke(-
|
|
174
|
+
function R(D) {
|
|
175
|
+
const { x: Q, y: N } = M(D);
|
|
176
|
+
ke(-D.deltaY / 10, Q, N), D.preventDefault();
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
h.value = !0, _.value = !1, f.value =
|
|
178
|
+
function U(D) {
|
|
179
|
+
h.value = !0, _.value = !1, f.value = D;
|
|
180
180
|
}
|
|
181
|
-
function D
|
|
181
|
+
function E(D) {
|
|
182
182
|
if (h.value) {
|
|
183
|
-
const { x: Q, y:
|
|
184
|
-
x: Q -
|
|
185
|
-
y:
|
|
183
|
+
const { x: Q, y: N } = M(D), { x: Z, y: se } = M(f.value), G = {
|
|
184
|
+
x: Q - Z,
|
|
185
|
+
y: N - se
|
|
186
186
|
};
|
|
187
|
-
|
|
187
|
+
j(G.x), ve(G.y), _.value = !0, f.value = D;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function J(
|
|
191
|
-
h.value && _.value && l.consumeMouseUpWhenMoved && (
|
|
190
|
+
function J(D) {
|
|
191
|
+
h.value && _.value && l.consumeMouseUpWhenMoved && (D.preventDefault(), D.stopImmediatePropagation());
|
|
192
192
|
}
|
|
193
|
-
function be(
|
|
194
|
-
h.value && (_.value && l.consumeMouseClickWhenMoved && (
|
|
193
|
+
function be(D) {
|
|
194
|
+
h.value && (_.value && l.consumeMouseClickWhenMoved && (D.preventDefault(), D.stopImmediatePropagation()), h.value = !1);
|
|
195
195
|
}
|
|
196
|
-
function te(
|
|
197
|
-
h.value =
|
|
196
|
+
function te(D) {
|
|
197
|
+
h.value = D.touches.length === 1, g.value = D.touches.length === 2, f.value = D;
|
|
198
198
|
}
|
|
199
|
-
function Ae(
|
|
199
|
+
function Ae(D) {
|
|
200
200
|
if (h.value) {
|
|
201
|
-
const { x: Q, y:
|
|
201
|
+
const { x: Q, y: N } = M(D.touches[0]), { x: Z, y: se } = M(
|
|
202
202
|
f.value.touches[0]
|
|
203
203
|
), G = {
|
|
204
|
-
x: Q -
|
|
205
|
-
y:
|
|
204
|
+
x: Q - Z,
|
|
205
|
+
y: N - se
|
|
206
206
|
};
|
|
207
|
-
|
|
208
|
-
} else if (g.value &&
|
|
209
|
-
const { x: Q, y:
|
|
207
|
+
j(G.x), ve(G.y);
|
|
208
|
+
} else if (g.value && D.touches.length === 2) {
|
|
209
|
+
const { x: Q, y: N } = M(D.touches[0]), { x: Z, y: se } = M(
|
|
210
210
|
f.value.touches[0]
|
|
211
|
-
), { x: G, y: re } = M(
|
|
211
|
+
), { x: G, y: re } = M(D.touches[1]), { x: q, y: ge } = M(
|
|
212
212
|
f.value.touches[1]
|
|
213
|
-
), xe = Math.hypot(
|
|
213
|
+
), xe = Math.hypot(Z - q, se - ge), De = Math.hypot(Q - G, N - re), pe = (G + Q) / 2, fe = (re + N) / 2;
|
|
214
214
|
ke(De - xe, pe, fe);
|
|
215
215
|
}
|
|
216
|
-
f.value =
|
|
216
|
+
f.value = D;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function z() {
|
|
219
219
|
h.value = !1, g.value = !1;
|
|
220
220
|
}
|
|
221
|
-
function M(
|
|
222
|
-
const { left: Q, top:
|
|
221
|
+
function M(D) {
|
|
222
|
+
const { left: Q, top: N } = S.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
|
-
x:
|
|
225
|
-
y:
|
|
224
|
+
x: D.clientX - Q,
|
|
225
|
+
y: D.clientY - N
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const Q = S.value.clientWidth,
|
|
228
|
+
function j(D) {
|
|
229
|
+
const Q = S.value.clientWidth, N = Q * C.value;
|
|
230
230
|
s.value = Math.max(
|
|
231
|
-
Math.min(0, s.value +
|
|
232
|
-
-(
|
|
231
|
+
Math.min(0, s.value + D),
|
|
232
|
+
-(N - Q)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function ve(
|
|
236
|
-
const Q = S.value.clientHeight,
|
|
235
|
+
function ve(D) {
|
|
236
|
+
const Q = S.value.clientHeight, N = Q * C.value;
|
|
237
237
|
r.value = Math.max(
|
|
238
|
-
Math.min(0, r.value +
|
|
239
|
-
-(
|
|
238
|
+
Math.min(0, r.value + D),
|
|
239
|
+
-(N - Q)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
function ke(
|
|
243
|
-
const
|
|
244
|
-
a.value = Math.min(Math.max(100, a.value +
|
|
245
|
-
const xe = G * C.value, De = re * C.value, pe = xe -
|
|
246
|
-
s.value -=
|
|
242
|
+
function ke(D, Q, N) {
|
|
243
|
+
const Z = Q !== void 0 ? Q : S.value.clientWidth / 2, se = N !== void 0 ? N : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, q = G * C.value, ge = re * C.value;
|
|
244
|
+
a.value = Math.min(Math.max(100, a.value + D), c.value);
|
|
245
|
+
const xe = G * C.value, De = re * C.value, pe = xe - q, fe = De - ge;
|
|
246
|
+
s.value -= Z / G * pe, r.value -= se / re * fe, j(0), ve(0);
|
|
247
247
|
}
|
|
248
248
|
function ie() {
|
|
249
249
|
i("update", {
|
|
@@ -253,23 +253,23 @@ const Fn = /* @__PURE__ */ W({
|
|
|
253
253
|
current: Math.min(Math.max(100, a.value), c.value),
|
|
254
254
|
min: 100,
|
|
255
255
|
max: c.value,
|
|
256
|
-
resolve: (
|
|
257
|
-
const
|
|
256
|
+
resolve: (D, Q) => {
|
|
257
|
+
const N = S.value.clientWidth, Z = S.value.clientHeight, se = s.value / -C.value, G = r.value / -C.value, re = se + N / C.value, q = G + Z / C.value, ge = D / N * (re - se) + se, xe = Q / Z * (q - G) + G;
|
|
258
258
|
return { x: ge, y: xe };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (
|
|
262
|
+
return (D, 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(D.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
@@ -290,7 +290,7 @@ Ze.isDeno = jn;
|
|
|
290
290
|
function me(t, n) {
|
|
291
291
|
return typeof t == "string" ? `${t}${n}` : t(n);
|
|
292
292
|
}
|
|
293
|
-
const Pn = { id: "player-wrapper" },
|
|
293
|
+
const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
294
294
|
class: "player-control",
|
|
295
295
|
id: "controls-top-left"
|
|
296
296
|
}, Zn = {
|
|
@@ -317,7 +317,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
317
317
|
}, to = {
|
|
318
318
|
class: "player-control",
|
|
319
319
|
id: "controls-bottom-right"
|
|
320
|
-
}, no = { id: "main-canvas" }, oo = /* @__PURE__ */
|
|
320
|
+
}, no = { id: "main-canvas" }, oo = /* @__PURE__ */ P({
|
|
321
321
|
__name: "VPlayer",
|
|
322
322
|
props: {
|
|
323
323
|
cdnFileResolver: {},
|
|
@@ -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,
|
|
@@ -374,76 +374,76 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
374
374
|
const R = {
|
|
375
375
|
initialized: () => {
|
|
376
376
|
_.value = o.Main.getPlayerAPI();
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const E = _.value.getCurrentCamera();
|
|
378
|
+
E && (S.value = E.id);
|
|
379
379
|
},
|
|
380
|
-
newCamera: (
|
|
381
|
-
f("newFloorCallback",
|
|
380
|
+
newCamera: (E) => {
|
|
381
|
+
f("newFloorCallback", E.floorLevel), f("sunsimCallback", E.sunsimDayOfYear), _.value && _.value.resetMarkerBehaviour(0), S.value = E.id;
|
|
382
382
|
},
|
|
383
|
-
newFOV: (
|
|
384
|
-
f("newFovCallback",
|
|
383
|
+
newFOV: (E) => {
|
|
384
|
+
f("newFovCallback", E), C.value = E;
|
|
385
385
|
},
|
|
386
|
-
newRotation: (
|
|
387
|
-
const J =
|
|
386
|
+
newRotation: (E) => {
|
|
387
|
+
const J = E + 0;
|
|
388
388
|
f("newRotationCallback", J), $.value = J;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
if (!Wn)
|
|
392
392
|
return;
|
|
393
|
-
const
|
|
394
|
-
(
|
|
393
|
+
const U = await new o.Main(
|
|
394
|
+
(E) => me(
|
|
395
395
|
i.value,
|
|
396
|
-
`/${a.value}/${s.value}${
|
|
396
|
+
`/${a.value}/${s.value}${E}`
|
|
397
397
|
),
|
|
398
398
|
"qpc",
|
|
399
399
|
R,
|
|
400
400
|
void 0,
|
|
401
401
|
S.value
|
|
402
402
|
);
|
|
403
|
-
|
|
403
|
+
U && (U.handleWindowResize(), window.addEventListener(
|
|
404
404
|
"resize",
|
|
405
|
-
|
|
406
|
-
),
|
|
405
|
+
U.handleWindowResize.bind(U)
|
|
406
|
+
), U.animate(), _.value = o.Main.getPlayerAPI(), _.value && _.value.setLookSensitivity(g.value));
|
|
407
407
|
}
|
|
408
408
|
async function d() {
|
|
409
409
|
_.value && (await _.value.destroy(), _.value = void 0);
|
|
410
410
|
}
|
|
411
411
|
return et(() => {
|
|
412
412
|
d();
|
|
413
|
-
}), (k, x) => (u(),
|
|
414
|
-
e("div",
|
|
415
|
-
|
|
416
|
-
e("div",
|
|
417
|
-
|
|
413
|
+
}), (k, x) => (u(), I("div", Pn, [
|
|
414
|
+
e("div", Nn, [
|
|
415
|
+
X(k.$slots, "slideshow-image", {}, void 0, !0),
|
|
416
|
+
e("div", Qn, [
|
|
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
|
])
|
|
@@ -453,7 +453,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
453
453
|
style: { width: "24px", height: "24px" },
|
|
454
454
|
viewBox: "0 0 18 16",
|
|
455
455
|
xmlns: "http://www.w3.org/2000/svg"
|
|
456
|
-
}, so = ["stroke"], io = ["stroke"], ro = { class: "floor-level-label" }, uo = /* @__PURE__ */
|
|
456
|
+
}, so = ["stroke"], io = ["stroke"], ro = { class: "floor-level-label" }, uo = /* @__PURE__ */ P({
|
|
457
457
|
__name: "VFloorLevel",
|
|
458
458
|
props: {
|
|
459
459
|
level: { default: 0 },
|
|
@@ -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",
|
|
@@ -510,7 +510,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
510
510
|
});
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
}), co = /* @__PURE__ */ ee(uo, [["__scopeId", "data-v-4c45966e"]]), vo = { class: "d-none d-md-inline" }, mo = { class: "interior-selector-list" }, po = ["onClick"], fo = { class: "d-flex align-center justify-left pa-0 ma-0" }, ho = { class: "pa-0 ma-0" }, go = { class: "text-caption ma-2 no-wrap" }, yo = /* @__PURE__ */
|
|
513
|
+
}), co = /* @__PURE__ */ ee(uo, [["__scopeId", "data-v-4c45966e"]]), vo = { class: "d-none d-md-inline" }, mo = { class: "interior-selector-list" }, po = ["onClick"], fo = { class: "d-flex align-center justify-left pa-0 ma-0" }, ho = { class: "pa-0 ma-0" }, go = { class: "text-caption ma-2 no-wrap" }, yo = /* @__PURE__ */ P({
|
|
514
514
|
__name: "VInteriorSelector",
|
|
515
515
|
props: {
|
|
516
516
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -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", {
|
|
@@ -573,7 +573,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
573
573
|
]);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}), _o = /* @__PURE__ */ ee(yo, [["__scopeId", "data-v-eece0130"]]), bo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x5Z58B6EJzZBWDogYUAowSg3kDKOxDVOjiiH55hTTvAOmFPkiXIyHALikAsQc4g4Yl9BigcJbhF2hMQmAcMiEKsdYUFwIJP6d1dNatrdPbV09/TM9E+qTHs8xNP972+p6qqviHKaig5qYiqVisNeRHuftaUhH51h7XfWyjju6OiYoialKQRjwkCIHax9zFqBHztkB0Qr89cLeGVCzlDGyaxgTKQCeeJ8yl/ToESegONMvBJlkEwJxkXqZ22Awt1bWpTJE/BYM7vQ2IG7Y20/axOV7DLJ2v8oAzTMwipeXDrA2n5qvDWpUmbtNGujzOrK1A5UPIsqsjZdiYHXY2OVZx995LbZkZF5v58ZHKz+/g/22Zi4U/HOIfUb7T1KEXaCsKg7rA1TAlb1x88/05+//kop4JB3Dqm7ylQEYye1g7UJdvgDJez+Zr/9liovX1JKOKyNcotzKAUSFwyug71MUkqp+V8PH9KrH3+klHFYu8PPNVESEwx3HLeqYUoZuMa5iQlqAMNJW1sigrEv/AWlaFWCrp4e6li82D1O2TXKOKxN8GsQO7ELxt3CWWpAqg6xFn3zjfc9mFgQrUE4rJ1NwkXGKhj7gkepAS5Q5l9ffUVdn3ziHsMtvrtxgxoIXOQPFCOxCFbx+lYIGvspBl4y63j37h2Zsvj776uu0cQtvnnzhp49e0YxcYBdm7Nx9dmsBeNfBGIVyIK3b9/SQ5bhTU1N0c2bN+nx48dkyntr1tC/h4bIFNwwd+/epStXrsQlHOLZRByiWQkmibWDLMBFuXbtGj169Kh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o+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", ko = /* @__PURE__ */
|
|
576
|
+
}), _o = /* @__PURE__ */ ee(yo, [["__scopeId", "data-v-eece0130"]]), bo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x5Z58B6EJzZBWDogYUAowSg3kDKOxDVOjiiH55hTTvAOmFPkiXIyHALikAsQc4g4Yl9BigcJbhF2hMQmAcMiEKsdYUFwIJP6d1dNatrdPbV09/TM9E+qTHs8xNP972+p6qqviHKaig5qYiqVisNeRHuftaUhH51h7XfWyjju6OiYoialKQRjwkCIHax9zFqBHztkB0Qr89cLeGVCzlDGyaxgTKQCeeJ8yl/ToESegONMvBJlkEwJxkXqZ22Awt1bWpTJE/BYM7vQ2IG7Y20/axOV7DLJ2v8oAzTMwipeXDrA2n5qvDWpUmbtNGujzOrK1A5UPIsqsjZdiYHXY2OVZx995LbZkZF5v58ZHKz+/g/22Zi4U/HOIfUb7T1KEXaCsKg7rA1TAlb1x88/05+//kop4JB3Dqm7ylQEYye1g7UJdvgDJez+Zr/9liovX1JKOKyNcotzKAUSFwyug71MUkqp+V8PH9KrH3+klHFYu8PPNVESEwx3HLeqYUoZuMa5iQlqAMNJW1sigrEv/AWlaFWCrp4e6li82D1O2TXKOKxN8GsQO7ELxt3CWWpAqg6xFn3zjfc9mFgQrUE4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XBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", ko = /* @__PURE__ */ P({
|
|
577
577
|
__name: "VCompass",
|
|
578
578
|
props: {
|
|
579
579
|
rotation: {}
|
|
@@ -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__ */ P({
|
|
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",
|
|
@@ -636,7 +636,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
636
636
|
Mo,
|
|
637
637
|
Fo,
|
|
638
638
|
Vo
|
|
639
|
-
], Bo = /* @__PURE__ */
|
|
639
|
+
], Bo = /* @__PURE__ */ P({
|
|
640
640
|
__name: "VViewModeToggle",
|
|
641
641
|
props: {
|
|
642
642
|
showStaticImage: { type: Boolean }
|
|
@@ -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
|
}))
|
|
@@ -926,7 +926,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
926
926
|
"stroke-linejoin": "round"
|
|
927
927
|
})
|
|
928
928
|
])
|
|
929
|
-
], -1)),
|
|
929
|
+
], -1)), No = { class: "text-div text-center text mt-2" }, Qo = { class: "box col d-flex flex-column align-bottom justify-center" }, Zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
930
930
|
/* @__PURE__ */ e("svg", {
|
|
931
931
|
width: "50",
|
|
932
932
|
height: "32.5",
|
|
@@ -1199,7 +1199,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1199
1199
|
"stroke-linejoin": "round"
|
|
1200
1200
|
})
|
|
1201
1201
|
])
|
|
1202
|
-
], -1)), la = { class: "text text-col text-center" }, sa = { class: "text-h6 text-capitalize" }, ia = { class: "mt-2" }, ra = { class: "d-flex justify-center align-center checkbox-container" }, ua = { class: "text-caption" }, ca = /* @__PURE__ */
|
|
1202
|
+
], -1)), la = { class: "text text-col text-center" }, sa = { class: "text-h6 text-capitalize" }, ia = { class: "mt-2" }, ra = { class: "d-flex justify-center align-center checkbox-container" }, ua = { class: "text-caption" }, ca = /* @__PURE__ */ P({
|
|
1203
1203
|
__name: "VTutorial",
|
|
1204
1204
|
emits: ["closeTutorial"],
|
|
1205
1205
|
setup(t, { emit: n }) {
|
|
@@ -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
|
}),
|
|
@@ -1242,14 +1242,14 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1242
1242
|
y(S, {
|
|
1243
1243
|
variant: "tonal",
|
|
1244
1244
|
size: "small",
|
|
1245
|
-
onClick: g[0] || (g[0] = (
|
|
1245
|
+
onClick: g[0] || (g[0] = (B) => a.value = !0),
|
|
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,
|
|
@@ -1269,15 +1269,15 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1269
1269
|
]),
|
|
1270
1270
|
e("div", Wo, [
|
|
1271
1271
|
Po,
|
|
1272
|
-
e("div",
|
|
1272
|
+
e("div", No, Y(p(l).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1273
1273
|
]),
|
|
1274
|
-
e("div",
|
|
1274
|
+
e("div", Qo, [
|
|
1275
1275
|
Zo,
|
|
1276
1276
|
e("div", qo, Y(p(l).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
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
|
]),
|
|
@@ -1324,17 +1324,17 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1324
1324
|
y(S, {
|
|
1325
1325
|
variant: "tonal",
|
|
1326
1326
|
size: "small",
|
|
1327
|
-
onClick: g[1] || (g[1] = (
|
|
1327
|
+
onClick: g[1] || (g[1] = (B) => a.value = !1),
|
|
1328
1328
|
class: "text-capitalize"
|
|
1329
1329
|
}, {
|
|
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
|
})
|
|
@@ -1351,7 +1351,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1351
1351
|
y(x, {
|
|
1352
1352
|
density: "compact",
|
|
1353
1353
|
modelValue: i.value,
|
|
1354
|
-
"onUpdate:modelValue": g[2] || (g[2] = (
|
|
1354
|
+
"onUpdate:modelValue": g[2] || (g[2] = (B) => i.value = B),
|
|
1355
1355
|
"hide-details": ""
|
|
1356
1356
|
}, {
|
|
1357
1357
|
label: m(() => [
|
|
@@ -1364,11 +1364,11 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1364
1364
|
default: m(() => [
|
|
1365
1365
|
y(S, {
|
|
1366
1366
|
variant: "tonal",
|
|
1367
|
-
onClick: g[3] || (g[3] = (
|
|
1367
|
+
onClick: g[3] || (g[3] = (B) => r()),
|
|
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__ */ P({
|
|
1397
1397
|
__name: "VPlayerSettingsUi",
|
|
1398
1398
|
props: {
|
|
1399
1399
|
initialSettings: {}
|
|
@@ -1541,25 +1541,25 @@ 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"), B = L("v-btn"), R = L("v-select"), U = 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, (E, J, be) => (u(), I("div", {
|
|
1549
1549
|
key: be,
|
|
1550
1550
|
"d-block": ""
|
|
1551
1551
|
}, [
|
|
1552
|
-
|
|
1552
|
+
E.type === "slider" ? (u(), T(k, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
modelValue: i.value[J].value,
|
|
1555
1555
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1556
1556
|
onChange: s,
|
|
1557
|
-
max:
|
|
1558
|
-
min:
|
|
1559
|
-
step:
|
|
1557
|
+
max: E.max,
|
|
1558
|
+
min: E.min,
|
|
1559
|
+
step: E.step
|
|
1560
1560
|
}, {
|
|
1561
1561
|
prepend: m(() => [
|
|
1562
|
-
e("div", ha, Y(
|
|
1562
|
+
e("div", ha, Y(E.label), 1)
|
|
1563
1563
|
]),
|
|
1564
1564
|
append: m(() => [
|
|
1565
1565
|
e("div", null, [
|
|
@@ -1570,9 +1570,9 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1570
1570
|
dense: "",
|
|
1571
1571
|
outlined: "",
|
|
1572
1572
|
type: "number",
|
|
1573
|
-
max:
|
|
1574
|
-
min:
|
|
1575
|
-
step:
|
|
1573
|
+
max: E.max,
|
|
1574
|
+
min: E.min,
|
|
1575
|
+
step: E.step,
|
|
1576
1576
|
style: { width: "90px" },
|
|
1577
1577
|
onChange: s
|
|
1578
1578
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])
|
|
@@ -1580,28 +1580,28 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1580
1580
|
]),
|
|
1581
1581
|
_: 2
|
|
1582
1582
|
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : F("", !0),
|
|
1583
|
-
|
|
1583
|
+
E.type === "boolean" ? (u(), T(x, {
|
|
1584
1584
|
key: 1,
|
|
1585
1585
|
modelValue: i.value[J].value,
|
|
1586
1586
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1587
1587
|
onChange: s
|
|
1588
1588
|
}, {
|
|
1589
1589
|
prepend: m(() => [
|
|
1590
|
-
e("div", ga, Y(
|
|
1590
|
+
e("div", ga, Y(E.label), 1)
|
|
1591
1591
|
]),
|
|
1592
1592
|
append: m(() => [
|
|
1593
|
-
e("div", null, Y(
|
|
1593
|
+
e("div", null, Y(E.value), 1)
|
|
1594
1594
|
]),
|
|
1595
1595
|
_: 2
|
|
1596
1596
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : F("", !0),
|
|
1597
|
-
|
|
1597
|
+
E.type === "color" ? (u(), I("div", {
|
|
1598
1598
|
key: 2,
|
|
1599
1599
|
class: "d-flex",
|
|
1600
|
-
max:
|
|
1601
|
-
min:
|
|
1602
|
-
step:
|
|
1600
|
+
max: E.max,
|
|
1601
|
+
min: E.min,
|
|
1602
|
+
step: E.step
|
|
1603
1603
|
}, [
|
|
1604
|
-
e("div", _a, Y(
|
|
1604
|
+
e("div", _a, Y(E.label), 1),
|
|
1605
1605
|
e("div", ba, [
|
|
1606
1606
|
Ke(e("input", {
|
|
1607
1607
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
@@ -1625,17 +1625,17 @@ 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
|
-
|
|
1628
|
+
E.type === "lut" ? (u(), I("div", ka, [
|
|
1629
1629
|
e("div", Ca, [
|
|
1630
|
-
e("div", Sa, Y(
|
|
1630
|
+
e("div", Sa, Y(E.label), 1),
|
|
1631
1631
|
e("div", null, [
|
|
1632
|
-
y(
|
|
1632
|
+
y(B, {
|
|
1633
1633
|
class: "ml-2",
|
|
1634
1634
|
"x-small": "",
|
|
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"])
|
|
@@ -1647,7 +1647,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1647
1647
|
y(R, {
|
|
1648
1648
|
modelValue: i.value[J].value,
|
|
1649
1649
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
1650
|
-
items:
|
|
1650
|
+
items: E.items,
|
|
1651
1651
|
"item-title": "title",
|
|
1652
1652
|
"item-value": "value",
|
|
1653
1653
|
dense: "",
|
|
@@ -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,39 +1675,39 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1675
1675
|
])) : F("", !0)
|
|
1676
1676
|
]))), 128))
|
|
1677
1677
|
]),
|
|
1678
|
-
e("div",
|
|
1679
|
-
y(
|
|
1680
|
-
onClick: c[0] || (c[0] = (
|
|
1678
|
+
e("div", La, [
|
|
1679
|
+
y(B, {
|
|
1680
|
+
onClick: c[0] || (c[0] = (E) => g())
|
|
1681
1681
|
}, {
|
|
1682
1682
|
default: m(() => [
|
|
1683
|
-
|
|
1683
|
+
le("Reset")
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}),
|
|
1687
|
-
y(
|
|
1687
|
+
y(B, {
|
|
1688
1688
|
class: "ml-2",
|
|
1689
|
-
onClick: c[1] || (c[1] = (
|
|
1689
|
+
onClick: c[1] || (c[1] = (E) => r())
|
|
1690
1690
|
}, {
|
|
1691
1691
|
default: m(() => [
|
|
1692
|
-
|
|
1693
|
-
y(
|
|
1692
|
+
le(" Download Json "),
|
|
1693
|
+
y(U, { color: "black darken-1" }, {
|
|
1694
1694
|
default: m(() => [
|
|
1695
|
-
|
|
1695
|
+
le("mdi-download")
|
|
1696
1696
|
]),
|
|
1697
1697
|
_: 1
|
|
1698
1698
|
})
|
|
1699
1699
|
]),
|
|
1700
1700
|
_: 1
|
|
1701
1701
|
}),
|
|
1702
|
-
y(
|
|
1702
|
+
y(B, {
|
|
1703
1703
|
class: "ml-2",
|
|
1704
|
-
onClick: c[2] || (c[2] = (
|
|
1704
|
+
onClick: c[2] || (c[2] = (E) => h())
|
|
1705
1705
|
}, {
|
|
1706
1706
|
default: m(() => [
|
|
1707
|
-
|
|
1708
|
-
y(
|
|
1707
|
+
le(" Save Settings "),
|
|
1708
|
+
y(U, { color: "black darken-1" }, {
|
|
1709
1709
|
default: m(() => [
|
|
1710
|
-
|
|
1710
|
+
le("mdi-save")
|
|
1711
1711
|
]),
|
|
1712
1712
|
_: 1
|
|
1713
1713
|
})
|
|
@@ -1722,7 +1722,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1722
1722
|
}), Ma = /* @__PURE__ */ ee(Ea, [["__scopeId", "data-v-bd4f66c3"]]), Fa = { class: "top-left" }, Va = { class: "top-right" }, Da = { class: "header-slot anchor elevation-5" }, Ba = {
|
|
1723
1723
|
id: "moveableBody",
|
|
1724
1724
|
class: "body-slot moveable-body anchor d-flex justify-center align-center position-relative"
|
|
1725
|
-
}, Ta = { class: "moveable-footer elevation-5" }, Oa = /* @__PURE__ */
|
|
1725
|
+
}, Ta = { class: "moveable-footer elevation-5" }, Oa = /* @__PURE__ */ P({
|
|
1726
1726
|
__name: "VMoveable",
|
|
1727
1727
|
props: {
|
|
1728
1728
|
size: {}
|
|
@@ -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
|
}
|
|
@@ -1788,13 +1788,13 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1788
1788
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1789
1789
|
}, Ha = /* @__PURE__ */ Ht('<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), Ya = ["transform"], Ua = /* @__PURE__ */ Ht('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), za = [
|
|
1790
1790
|
Ua
|
|
1791
|
-
], ja = /* @__PURE__ */
|
|
1791
|
+
], ja = /* @__PURE__ */ P({
|
|
1792
1792
|
__name: "VRotationMarker",
|
|
1793
1793
|
props: {
|
|
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",
|
|
@@ -1802,7 +1802,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1802
1802
|
}, za, 8, Ya)
|
|
1803
1803
|
]));
|
|
1804
1804
|
}
|
|
1805
|
-
}), Wa = { class: "minimap-wrapper" }, Pa = { class: "minimap-container" },
|
|
1805
|
+
}), Wa = { class: "minimap-wrapper" }, Pa = { class: "minimap-container" }, Na = /* @__PURE__ */ P({
|
|
1806
1806
|
__name: "VMiniMapMap",
|
|
1807
1807
|
props: {
|
|
1808
1808
|
backgroundImage: {},
|
|
@@ -1817,55 +1817,55 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1817
1817
|
},
|
|
1818
1818
|
setup(t) {
|
|
1819
1819
|
const n = t, o = b(512), l = b(384), i = b(512), a = b(384), s = b(new Je()), r = b(new En()), h = b({}), g = b(1), f = b(), _ = o.value / o.value, S = V(() => {
|
|
1820
|
-
const
|
|
1820
|
+
const z = n.containerWidth / n.containerHeight;
|
|
1821
1821
|
let M;
|
|
1822
|
-
return
|
|
1823
|
-
}), $ = V(() => n.allCameras), C = V(() => n.allCameras.find((
|
|
1822
|
+
return z > _ ? M = n.containerHeight / l.value : M = n.containerWidth / o.value, M;
|
|
1823
|
+
}), $ = V(() => n.allCameras), C = V(() => n.allCameras.find((z) => z.id === n.currentCamera)), c = V(() => n.rotation), d = V(() => new Je(
|
|
1824
1824
|
n.storey.position.x,
|
|
1825
1825
|
n.storey.position.y,
|
|
1826
1826
|
n.storey.position.z
|
|
1827
|
-
)), k = V(() => parseFloat(C.value.floor_vertical_position)), x = V(() => $.value.map((
|
|
1828
|
-
const M =
|
|
1827
|
+
)), k = V(() => parseFloat(C.value.floor_vertical_position)), x = V(() => $.value.map((z) => {
|
|
1828
|
+
const M = z.uposition.split(","), j = new Je(
|
|
1829
1829
|
Number(M[0]) - d.value.x,
|
|
1830
1830
|
0,
|
|
1831
1831
|
Number(M[2]) - d.value.z
|
|
1832
1832
|
);
|
|
1833
1833
|
return {
|
|
1834
|
-
...
|
|
1835
|
-
...be(s.value,
|
|
1834
|
+
...z,
|
|
1835
|
+
...be(s.value, j)
|
|
1836
1836
|
};
|
|
1837
|
-
})),
|
|
1837
|
+
})), B = V(() => ({
|
|
1838
1838
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1839
1839
|
backgroundSize: "contain"
|
|
1840
1840
|
})), R = V(() => ({
|
|
1841
1841
|
transform: `scale(${n.fit ? 1 : S.value * 0.75}) rotate(${n.transformAngle}deg)`
|
|
1842
1842
|
}));
|
|
1843
1843
|
Re(() => {
|
|
1844
|
-
te(),
|
|
1845
|
-
const
|
|
1846
|
-
|
|
1844
|
+
te(), E(), Ae();
|
|
1845
|
+
const z = document.getElementById("moveableDiv");
|
|
1846
|
+
z && (f.value = new ResizeObserver(Ae).observe(z));
|
|
1847
1847
|
}), Cn(() => {
|
|
1848
|
-
te(),
|
|
1848
|
+
te(), E();
|
|
1849
1849
|
}), et(() => {
|
|
1850
1850
|
f.value && f.value.unobserve(document.getElementById("moveableDiv"));
|
|
1851
1851
|
});
|
|
1852
|
-
function
|
|
1853
|
-
return Mn.degToRad(
|
|
1852
|
+
function U(z) {
|
|
1853
|
+
return Mn.degToRad(z);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function E() {
|
|
1856
1856
|
r.value.rotation.x = 180, r.value.rotation.y = n.storey.rotation.y * -1, h.value = {
|
|
1857
1857
|
transform: `rotateZ(${r.value.rotation.y}deg) rotateX(${r.value.rotation.x}deg)`
|
|
1858
1858
|
};
|
|
1859
1859
|
}
|
|
1860
|
-
function J(
|
|
1860
|
+
function J(z) {
|
|
1861
1861
|
return {
|
|
1862
|
-
top: `${Math.abs(
|
|
1863
|
-
left: `${Math.abs(
|
|
1862
|
+
top: `${Math.abs(z.top)}%`,
|
|
1863
|
+
left: `${Math.abs(z.left)}%`
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
|
-
function be(
|
|
1867
|
-
var
|
|
1868
|
-
const ve =
|
|
1866
|
+
function be(z, M) {
|
|
1867
|
+
var j = new Je();
|
|
1868
|
+
const ve = j.subVectors(z, M);
|
|
1869
1869
|
return {
|
|
1870
1870
|
relativePosition: ve,
|
|
1871
1871
|
left: ve.x / i.value * 100,
|
|
@@ -1873,55 +1873,55 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1873
1873
|
};
|
|
1874
1874
|
}
|
|
1875
1875
|
function te() {
|
|
1876
|
-
const
|
|
1877
|
-
a.value = 2 * (
|
|
1878
|
-
const M = a.value / 2,
|
|
1876
|
+
const z = n.storey.position.y - k.value;
|
|
1877
|
+
a.value = 2 * (z * Math.tan(U(n.storey.fovY / 2))), i.value = 512 / 384 * a.value;
|
|
1878
|
+
const M = a.value / 2, j = i.value / 2, ve = new Je(j * -1, 0, M * -1);
|
|
1879
1879
|
s.value = ve;
|
|
1880
1880
|
}
|
|
1881
1881
|
function Ae() {
|
|
1882
|
-
const
|
|
1883
|
-
if (!
|
|
1882
|
+
const z = document.getElementById("moveableDiv");
|
|
1883
|
+
if (!z)
|
|
1884
1884
|
return;
|
|
1885
|
-
const M =
|
|
1886
|
-
|
|
1885
|
+
const M = z.offsetHeight / 384 * 0.8, j = z.offsetWidth / 512 * 0.8;
|
|
1886
|
+
z.offsetHeight > z.offsetWidth ? g.value = j * 0.5 : g.value = M * 0.9;
|
|
1887
1887
|
}
|
|
1888
|
-
return (
|
|
1888
|
+
return (z, 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(B.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),
|
|
1903
|
-
key:
|
|
1902
|
+
(u(!0), I(we, null, Ee(x.value, (j) => (u(), I("div", {
|
|
1903
|
+
key: j.id
|
|
1904
1904
|
}, [
|
|
1905
|
-
C.value.floorLevel ===
|
|
1905
|
+
C.value.floorLevel === j.floorLevel ? (u(), I("div", {
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
class: "single-camera-marker",
|
|
1908
|
-
style:
|
|
1908
|
+
style: oe(J(j))
|
|
1909
1909
|
}, null, 4)) : F("", !0),
|
|
1910
|
-
|
|
1911
|
-
id:
|
|
1912
|
-
camera:
|
|
1913
|
-
active: C.value.id ===
|
|
1914
|
-
style:
|
|
1915
|
-
...J(
|
|
1910
|
+
X(z.$slots, "default", {
|
|
1911
|
+
id: j.id,
|
|
1912
|
+
camera: j,
|
|
1913
|
+
active: C.value.id === j.id,
|
|
1914
|
+
style: oe({
|
|
1915
|
+
...J(j),
|
|
1916
1916
|
position: "absolute",
|
|
1917
1917
|
zIndex: "3"
|
|
1918
1918
|
})
|
|
1919
1919
|
}, () => [
|
|
1920
|
-
C.value.id ===
|
|
1920
|
+
C.value.id === j.id && n.rotation !== null ? (u(), T(ja, {
|
|
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(j) })
|
|
1925
1925
|
}, null, 8, ["rotation", "style"])) : F("", !0)
|
|
1926
1926
|
], !0)
|
|
1927
1927
|
]))), 128))
|
|
@@ -1930,7 +1930,7 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1930
1930
|
])
|
|
1931
1931
|
]));
|
|
1932
1932
|
}
|
|
1933
|
-
}), Ut = /* @__PURE__ */ ee(
|
|
1933
|
+
}), Ut = /* @__PURE__ */ ee(Na, [["__scopeId", "data-v-5cdee9d5"]]), Qa = /* @__PURE__ */ P({
|
|
1934
1934
|
__name: "VMiniMapCompass",
|
|
1935
1935
|
props: {
|
|
1936
1936
|
scale: {},
|
|
@@ -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",
|
|
@@ -1949,10 +1949,10 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1949
1949
|
}, null, 8, ["longitude"])
|
|
1950
1950
|
], 4));
|
|
1951
1951
|
}
|
|
1952
|
-
}), zt = /* @__PURE__ */ ee(
|
|
1952
|
+
}), zt = /* @__PURE__ */ ee(Qa, [["__scopeId", "data-v-d047dca8"]]), Za = { class: "ss-wrapper" }, qa = { class: "slider" }, Ja = { class: "minimap-sun-slider" }, Ga = { class: "d-flex flex-column align-center justify-center" }, Ka = {
|
|
1953
1953
|
key: 0,
|
|
1954
1954
|
class: "time-label"
|
|
1955
|
-
}, Xa = /* @__PURE__ */
|
|
1955
|
+
}, Xa = /* @__PURE__ */ P({
|
|
1956
1956
|
__name: "VSunSimulationSlider",
|
|
1957
1957
|
props: {
|
|
1958
1958
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -1990,12 +1990,12 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
async function $(k) {
|
|
1992
1992
|
let x = /* @__PURE__ */ new Map();
|
|
1993
|
-
for (let
|
|
1994
|
-
const R = k[
|
|
1995
|
-
for (let
|
|
1996
|
-
const
|
|
1993
|
+
for (let B = 0; B < k.length; B++) {
|
|
1994
|
+
const R = k[B].sunsimFiles;
|
|
1995
|
+
for (let U = 0; U < R.length; U++) {
|
|
1996
|
+
const E = R[U];
|
|
1997
1997
|
try {
|
|
1998
|
-
const J =
|
|
1998
|
+
const J = E, be = E.split("."), te = await C(J);
|
|
1999
1999
|
x.set(be[0], te);
|
|
2000
2000
|
} catch {
|
|
2001
2001
|
continue;
|
|
@@ -2005,42 +2005,42 @@ const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
|
2005
2005
|
return x;
|
|
2006
2006
|
}
|
|
2007
2007
|
async function C(k) {
|
|
2008
|
-
const
|
|
2008
|
+
const B = await (await fetch(
|
|
2009
2009
|
me(
|
|
2010
2010
|
o.cdnFileResolver,
|
|
2011
2011
|
`/${o.apartmentJson.type}/${o.apartmentJson.id}/minimap/${k}`
|
|
2012
2012
|
)
|
|
2013
|
-
)).blob(), R = await d(
|
|
2013
|
+
)).blob(), R = await d(B);
|
|
2014
2014
|
return c(R);
|
|
2015
2015
|
}
|
|
2016
2016
|
function c(k) {
|
|
2017
2017
|
return "data:image/jpeg;base64," + k;
|
|
2018
2018
|
}
|
|
2019
2019
|
async function d(k) {
|
|
2020
|
-
return new Promise((x,
|
|
2020
|
+
return new Promise((x, B) => {
|
|
2021
2021
|
const R = new FileReader();
|
|
2022
2022
|
R.onload = () => {
|
|
2023
|
-
const
|
|
2024
|
-
x(
|
|
2025
|
-
}, R.onerror =
|
|
2023
|
+
const U = R.result.split(",")[1];
|
|
2024
|
+
x(U);
|
|
2025
|
+
}, R.onerror = B, R.readAsDataURL(k);
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
2028
|
return (k, x) => {
|
|
2029
|
-
const
|
|
2030
|
-
return u(),
|
|
2029
|
+
const B = L("v-progress-linear"), R = L("v-icon"), U = L("v-slider");
|
|
2030
|
+
return u(), I("div", Za, [
|
|
2031
2031
|
e("div", qa, [
|
|
2032
2032
|
e("div", Ja, [
|
|
2033
|
-
a.value ? (u(), T(
|
|
2033
|
+
a.value ? (u(), T(B, {
|
|
2034
2034
|
key: 0,
|
|
2035
2035
|
indeterminate: "",
|
|
2036
2036
|
rounded: "",
|
|
2037
2037
|
height: "6",
|
|
2038
2038
|
color: "grey lighten-1",
|
|
2039
2039
|
class: "mr-2"
|
|
2040
|
-
})) : (u(), T(
|
|
2040
|
+
})) : (u(), T(U, {
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
modelValue: i.value,
|
|
2043
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
2043
|
+
"onUpdate:modelValue": x[0] || (x[0] = (E) => i.value = E),
|
|
2044
2044
|
min: 0,
|
|
2045
2045
|
max: 23,
|
|
2046
2046
|
step: 1,
|
|
@@ -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,19 +2062,19 @@ 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
|
};
|
|
2074
2074
|
}
|
|
2075
2075
|
}), jt = /* @__PURE__ */ ee(Xa, [["__scopeId", "data-v-52f122f2"]]), el = (t) => (mt("data-v-578a7915"), t = t(), pt(), t), tl = { class: "left" }, nl = { class: "right" }, ol = /* @__PURE__ */ el(() => /* @__PURE__ */ e("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
2076
2076
|
/* @__PURE__ */ e("div", { class: "center" }, " ")
|
|
2077
|
-
], -1)), al = /* @__PURE__ */
|
|
2077
|
+
], -1)), al = /* @__PURE__ */ P({
|
|
2078
2078
|
__name: "VMiniMap",
|
|
2079
2079
|
props: {
|
|
2080
2080
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -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,
|
|
@@ -2193,7 +2193,7 @@ function dt(t) {
|
|
|
2193
2193
|
const n = t * 60, o = Math.floor(n / 60), l = n % 60;
|
|
2194
2194
|
return `${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}`;
|
|
2195
2195
|
}
|
|
2196
|
-
const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il = { class: "small" }, rl = { class: "small" }, ul = /* @__PURE__ */
|
|
2196
|
+
const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il = { class: "small" }, rl = { class: "small" }, ul = /* @__PURE__ */ P({
|
|
2197
2197
|
__name: "VSunsimSlider",
|
|
2198
2198
|
props: {
|
|
2199
2199
|
currentDay: {},
|
|
@@ -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
|
}),
|
|
@@ -2284,7 +2284,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2284
2284
|
]);
|
|
2285
2285
|
};
|
|
2286
2286
|
}
|
|
2287
|
-
}), Dt = /* @__PURE__ */ ee(ul, [["__scopeId", "data-v-c06c753d"]]), cl = /* @__PURE__ */
|
|
2287
|
+
}), Dt = /* @__PURE__ */ ee(ul, [["__scopeId", "data-v-c06c753d"]]), cl = /* @__PURE__ */ P({
|
|
2288
2288
|
__name: "VSunStudyToggle",
|
|
2289
2289
|
props: {
|
|
2290
2290
|
displaySunsim: { type: Boolean },
|
|
@@ -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,13 +2304,13 @@ 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);
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
|
-
}), dl = /* @__PURE__ */
|
|
2313
|
+
}), dl = /* @__PURE__ */ P({
|
|
2314
2314
|
__name: "VAutoplay",
|
|
2315
2315
|
props: {
|
|
2316
2316
|
autoplayStatus: { type: Boolean }
|
|
@@ -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 }]),
|
|
@@ -2341,7 +2341,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2341
2341
|
}), Bt = /* @__PURE__ */ ee(dl, [["__scopeId", "data-v-7fd2b4f3"]]), vl = {
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
class: "sun-icon-wrapper"
|
|
2344
|
-
}, ml = 37, pl = 39, fl = /* @__PURE__ */
|
|
2344
|
+
}, ml = 37, pl = 39, fl = /* @__PURE__ */ P({
|
|
2345
2345
|
__name: "VWaypointCarousel",
|
|
2346
2346
|
props: {
|
|
2347
2347
|
thumbnails: {},
|
|
@@ -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,14 +2421,14 @@ 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
|
-
default: m(({ toggle: x, selectedClass:
|
|
2427
|
+
default: m(({ toggle: x, selectedClass: B }) => [
|
|
2428
2428
|
y(C, {
|
|
2429
2429
|
class: ce(["position-relative", [
|
|
2430
2430
|
s.value ? "ma-0" : "ma-1",
|
|
2431
|
-
|
|
2431
|
+
B,
|
|
2432
2432
|
"single-waypoint"
|
|
2433
2433
|
]]),
|
|
2434
2434
|
align: "center",
|
|
@@ -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,14 +2457,14 @@ 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
|
}
|
|
2464
2464
|
}), vt = /* @__PURE__ */ ee(fl, [["__scopeId", "data-v-9cc758dc"]]), hl = {
|
|
2465
2465
|
id: "share-btns-wrapper",
|
|
2466
2466
|
class: "text-center"
|
|
2467
|
-
}, gl = /* @__PURE__ */
|
|
2467
|
+
}, gl = /* @__PURE__ */ P({
|
|
2468
2468
|
__name: "VSocialShare",
|
|
2469
2469
|
setup(t) {
|
|
2470
2470
|
const n = Se(Ve), o = b(!1), l = b(location.href);
|
|
@@ -2493,19 +2493,19 @@ 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",
|
|
2508
|
-
onClick: g[0] || (g[0] = (
|
|
2508
|
+
onClick: g[0] || (g[0] = (B) => o.value = !o.value)
|
|
2509
2509
|
}, x), null, 16)
|
|
2510
2510
|
]),
|
|
2511
2511
|
default: m(() => [
|
|
@@ -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: "",
|
|
@@ -2629,7 +2629,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2629
2629
|
]);
|
|
2630
2630
|
};
|
|
2631
2631
|
}
|
|
2632
|
-
}), Wt = /* @__PURE__ */ ee(gl, [["__scopeId", "data-v-bb7d0a99"]]), yl = { class: "static-image-wrapper" }, _l = /* @__PURE__ */
|
|
2632
|
+
}), Wt = /* @__PURE__ */ ee(gl, [["__scopeId", "data-v-bb7d0a99"]]), yl = { class: "static-image-wrapper" }, _l = /* @__PURE__ */ P({
|
|
2633
2633
|
__name: "VSingleImage",
|
|
2634
2634
|
props: {
|
|
2635
2635
|
image: {},
|
|
@@ -2637,17 +2637,17 @@ 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
|
}
|
|
2647
2647
|
}), bl = /* @__PURE__ */ ee(_l, [["__scopeId", "data-v-31489804"]]), wl = {
|
|
2648
2648
|
id: "btn-fullscreen",
|
|
2649
2649
|
class: "btn-placeholder mr-2"
|
|
2650
|
-
}, Pt = /* @__PURE__ */
|
|
2650
|
+
}, Pt = /* @__PURE__ */ P({
|
|
2651
2651
|
__name: "VFullScreenButton",
|
|
2652
2652
|
props: {
|
|
2653
2653
|
isFullScreen: { type: Boolean }
|
|
@@ -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",
|
|
@@ -2668,7 +2668,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2668
2668
|
};
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
|
-
class
|
|
2671
|
+
class Qe {
|
|
2672
2672
|
constructor({ labels: n, language: o } = { labels: null, language: null }) {
|
|
2673
2673
|
Ue(this, "_labels");
|
|
2674
2674
|
Ue(this, "_language");
|
|
@@ -2683,7 +2683,7 @@ class Ne {
|
|
|
2683
2683
|
return typeof n == "string" ? n : typeof n == "object" && this._language in n && n[this._language] ? n[this._language] : "";
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
|
-
class
|
|
2686
|
+
class Nt {
|
|
2687
2687
|
constructor(n, o) {
|
|
2688
2688
|
Ue(this, "_doc");
|
|
2689
2689
|
Ue(this, "_elemId");
|
|
@@ -2756,14 +2756,14 @@ class Tt {
|
|
|
2756
2756
|
const Sl = {
|
|
2757
2757
|
id: "btn-magic",
|
|
2758
2758
|
class: "btn-placeholder mr-2"
|
|
2759
|
-
}, Al = /* @__PURE__ */
|
|
2759
|
+
}, Al = /* @__PURE__ */ P({
|
|
2760
2760
|
__name: "VVisuadoCreateButton",
|
|
2761
2761
|
emits: ["onSnapshot"],
|
|
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 = {
|
|
@@ -2797,7 +2797,7 @@ const Sl = {
|
|
|
2797
2797
|
}, Ol = {
|
|
2798
2798
|
key: 2,
|
|
2799
2799
|
class: "render-version"
|
|
2800
|
-
}, $l = /* @__PURE__ */
|
|
2800
|
+
}, $l = /* @__PURE__ */ P({
|
|
2801
2801
|
__name: "VVirtualTour",
|
|
2802
2802
|
props: {
|
|
2803
2803
|
cdnFileResolver: {},
|
|
@@ -2858,20 +2858,20 @@ const Sl = {
|
|
|
2858
2858
|
showInteriorOptions: d,
|
|
2859
2859
|
showMiniMap: k,
|
|
2860
2860
|
showFloorLevel: x,
|
|
2861
|
-
defaultWaypointIndex:
|
|
2861
|
+
defaultWaypointIndex: B,
|
|
2862
2862
|
defaultViewMode: R,
|
|
2863
|
-
mouseSensitivity:
|
|
2863
|
+
mouseSensitivity: U,
|
|
2864
2864
|
// isInIframe,
|
|
2865
|
-
adminMode:
|
|
2865
|
+
adminMode: E,
|
|
2866
2866
|
playerSettings: J,
|
|
2867
2867
|
hasMarkersJson: be,
|
|
2868
2868
|
dynamicMarkers: te,
|
|
2869
2869
|
version: Ae,
|
|
2870
|
-
showVersion:
|
|
2870
|
+
showVersion: z
|
|
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,12 +2881,12 @@ const Sl = {
|
|
|
2881
2881
|
screenToWorld: vn,
|
|
2882
2882
|
clearCurrentMarkerLayer: cn
|
|
2883
2883
|
});
|
|
2884
|
-
const
|
|
2885
|
-
new
|
|
2884
|
+
const j = b(!1), ve = b(!1), ke = b(!1), ie = b(), D = b(), Q = b(), N = b(), Z = b(), se = b(0), G = b(), re = b(), q = 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
|
+
new Nt(document, "player-wrapper")
|
|
2886
2886
|
), ft = b(), tt = V(() => {
|
|
2887
|
-
if (
|
|
2888
|
-
const v =
|
|
2889
|
-
(
|
|
2887
|
+
if (D.value) {
|
|
2888
|
+
const v = D.value.cameras.map(
|
|
2889
|
+
(W) => W.floorLevel
|
|
2890
2890
|
);
|
|
2891
2891
|
let A = [...new Set(v)];
|
|
2892
2892
|
return A = A.sort(), A;
|
|
@@ -2894,13 +2894,13 @@ const Sl = {
|
|
|
2894
2894
|
return [];
|
|
2895
2895
|
}), He = V(() => {
|
|
2896
2896
|
let v = 0;
|
|
2897
|
-
if (
|
|
2898
|
-
const A =
|
|
2897
|
+
if (D.value) {
|
|
2898
|
+
const A = D.value.cameras.map(
|
|
2899
2899
|
(We) => We.floorLevel
|
|
2900
2900
|
);
|
|
2901
|
-
let
|
|
2902
|
-
|
|
2903
|
-
const de =
|
|
2901
|
+
let W = [...new Set(A)];
|
|
2902
|
+
W = W.sort();
|
|
2903
|
+
const de = W.findIndex(
|
|
2904
2904
|
(We) => We === xe.value
|
|
2905
2905
|
);
|
|
2906
2906
|
de !== -1 && (v = de);
|
|
@@ -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
|
-
var
|
|
2926
|
-
const A = (
|
|
2925
|
+
var W;
|
|
2926
|
+
const A = (W = he.value[se.value]) == null ? void 0 : W.id;
|
|
2927
2927
|
return {
|
|
2928
2928
|
...v,
|
|
2929
2929
|
url: it(
|
|
@@ -2931,19 +2931,19 @@ const Sl = {
|
|
|
2931
2931
|
)
|
|
2932
2932
|
};
|
|
2933
2933
|
}) : []), w = V(() => {
|
|
2934
|
-
if (
|
|
2935
|
-
return
|
|
2936
|
-
}), O = V(() =>
|
|
2937
|
-
if (
|
|
2938
|
-
return yn(
|
|
2934
|
+
if (N.value && N.value.storeys && He.value in N.value.storeys)
|
|
2935
|
+
return N.value.storeys[He.value];
|
|
2936
|
+
}), O = V(() => D.value && D.value.timeInHours), K = V(() => {
|
|
2937
|
+
if (D.value && D.value.timeInHours && _.value)
|
|
2938
|
+
return yn(D.value.timeInHours);
|
|
2939
2939
|
});
|
|
2940
2940
|
Xe(
|
|
2941
2941
|
Ve,
|
|
2942
|
-
g.value ? new
|
|
2942
|
+
g.value ? new Qe(g.value) : new Qe()
|
|
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"
|
|
@@ -2958,7 +2958,7 @@ const Sl = {
|
|
|
2958
2958
|
[i, a],
|
|
2959
2959
|
async () => {
|
|
2960
2960
|
try {
|
|
2961
|
-
re.value = void 0, await
|
|
2961
|
+
re.value = void 0, await Qt(), qt(), await Zt(), Me.value.setup(), Jt();
|
|
2962
2962
|
} catch (v) {
|
|
2963
2963
|
ke.value = !0, M("onError", v);
|
|
2964
2964
|
}
|
|
@@ -2973,16 +2973,16 @@ const Sl = {
|
|
|
2973
2973
|
), H(ye, () => {
|
|
2974
2974
|
if (ye.value) {
|
|
2975
2975
|
ue.value = !1;
|
|
2976
|
-
const v = je(
|
|
2976
|
+
const v = je(q.value);
|
|
2977
2977
|
Be.value = v[0].timeSamples.find(
|
|
2978
2978
|
(A) => A.timeInHours === v[0].defaultHour
|
|
2979
2979
|
);
|
|
2980
2980
|
} else
|
|
2981
|
-
ue.value = !0,
|
|
2981
|
+
ue.value = !0, Z.value.unloadSunSim();
|
|
2982
2982
|
}), Re(async () => {
|
|
2983
2983
|
try {
|
|
2984
|
-
Ce.value ? (
|
|
2985
|
-
|
|
2984
|
+
Ce.value ? (j.value = !1, ue.value = !0) : setTimeout(() => {
|
|
2985
|
+
j.value = !0;
|
|
2986
2986
|
}, 1e3);
|
|
2987
2987
|
} catch (v) {
|
|
2988
2988
|
ke.value = !0, M("onError", v);
|
|
@@ -2991,31 +2991,31 @@ const Sl = {
|
|
|
2991
2991
|
document.removeEventListener("wheel", ht);
|
|
2992
2992
|
});
|
|
2993
2993
|
function qe(v = !1) {
|
|
2994
|
-
ue.value = !0,
|
|
2994
|
+
ue.value = !0, j.value = !1, v && Ie();
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2996
|
+
function Ie() {
|
|
2997
2997
|
const v = me(
|
|
2998
2998
|
i.value,
|
|
2999
2999
|
"/config.json"
|
|
3000
3000
|
);
|
|
3001
3001
|
localStorage.setItem(`${v}-dont-show-tutorial`, "true");
|
|
3002
3002
|
}
|
|
3003
|
-
async function
|
|
3003
|
+
async function Qt() {
|
|
3004
3004
|
ie.value = await Gt();
|
|
3005
3005
|
}
|
|
3006
3006
|
async function Zt() {
|
|
3007
3007
|
var v;
|
|
3008
|
-
if (
|
|
3008
|
+
if (D.value = await kt(
|
|
3009
3009
|
G.value,
|
|
3010
3010
|
a.value
|
|
3011
|
-
),
|
|
3011
|
+
), D.value && (re.value = (v = D.value.cameras[0]) == null ? void 0 : v.id), Q.value = await Ct(
|
|
3012
3012
|
G.value,
|
|
3013
3013
|
a.value
|
|
3014
3014
|
), Q.value) {
|
|
3015
|
-
const A =
|
|
3016
|
-
|
|
3015
|
+
const A = B.value !== null ? B.value : 0;
|
|
3016
|
+
se.value = A, re.value = Q.value.cameras[A].id, q.value = Q.value.cameras[A].id;
|
|
3017
3017
|
}
|
|
3018
|
-
k.value && (
|
|
3018
|
+
k.value && (N.value = await St(
|
|
3019
3019
|
G.value,
|
|
3020
3020
|
a.value
|
|
3021
3021
|
));
|
|
@@ -3027,8 +3027,8 @@ const Sl = {
|
|
|
3027
3027
|
function Jt() {
|
|
3028
3028
|
const v = document.getElementById("main-canvas");
|
|
3029
3029
|
v.addEventListener("touchmove", A, { passive: !1 });
|
|
3030
|
-
function A(
|
|
3031
|
-
|
|
3030
|
+
function A(W) {
|
|
3031
|
+
W.preventDefault(), window.scrollBy(0, 0);
|
|
3032
3032
|
}
|
|
3033
3033
|
v.addEventListener(
|
|
3034
3034
|
"mouseenter",
|
|
@@ -3066,11 +3066,11 @@ const Sl = {
|
|
|
3066
3066
|
return await rt(
|
|
3067
3067
|
`/${v}/${A}/apartment.json`
|
|
3068
3068
|
);
|
|
3069
|
-
} catch (
|
|
3069
|
+
} catch (W) {
|
|
3070
3070
|
console.error(
|
|
3071
3071
|
"Error loading apartment.json - ",
|
|
3072
3072
|
`/${v}/${A}/apartment.json`,
|
|
3073
|
-
|
|
3073
|
+
W
|
|
3074
3074
|
);
|
|
3075
3075
|
return;
|
|
3076
3076
|
}
|
|
@@ -3102,67 +3102,67 @@ const Sl = {
|
|
|
3102
3102
|
}
|
|
3103
3103
|
}
|
|
3104
3104
|
function Kt() {
|
|
3105
|
-
return
|
|
3105
|
+
return Z.value.getCameraRotation();
|
|
3106
3106
|
}
|
|
3107
3107
|
function Xt(v) {
|
|
3108
|
-
return
|
|
3108
|
+
return Z.value.setCameraRotation(v);
|
|
3109
3109
|
}
|
|
3110
3110
|
function en() {
|
|
3111
|
-
return
|
|
3111
|
+
return Z.value.getCameraFov();
|
|
3112
3112
|
}
|
|
3113
3113
|
function tn(v) {
|
|
3114
|
-
return
|
|
3114
|
+
return Z.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
|
-
let
|
|
3126
|
-
|
|
3125
|
+
let W = he.value.findIndex((de) => de.id === v);
|
|
3126
|
+
W != -1 && (se.value = W, A && st(v));
|
|
3127
3127
|
}
|
|
3128
3128
|
function st(v) {
|
|
3129
3129
|
ye.value = !1, re.value = v;
|
|
3130
3130
|
}
|
|
3131
3131
|
function At(v) {
|
|
3132
|
-
G.value = v, nn(), M("onInteriorUpdate", v), M("onCameraUpdate",
|
|
3132
|
+
G.value = v, nn(), M("onInteriorUpdate", v), M("onCameraUpdate", q.value, D.value);
|
|
3133
3133
|
}
|
|
3134
3134
|
async function nn() {
|
|
3135
|
-
|
|
3135
|
+
D.value = await kt(
|
|
3136
3136
|
G.value,
|
|
3137
3137
|
a.value
|
|
3138
3138
|
), Q.value = await Ct(
|
|
3139
3139
|
G.value,
|
|
3140
3140
|
a.value
|
|
3141
|
-
), k.value && (
|
|
3141
|
+
), k.value && (N.value = await St(
|
|
3142
3142
|
G.value,
|
|
3143
3143
|
a.value
|
|
3144
3144
|
));
|
|
3145
3145
|
}
|
|
3146
3146
|
function on(v) {
|
|
3147
|
-
|
|
3147
|
+
q.value = v, q.value && (yt(q.value, !1), M("onCameraUpdate", q.value, D.value));
|
|
3148
3148
|
}
|
|
3149
3149
|
const Ye = V(() => (v) => {
|
|
3150
3150
|
const A = je(v);
|
|
3151
3151
|
return !A || !A[0] || !A[0].timeSamples ? !1 : A[0].timeSamples.length > 1;
|
|
3152
3152
|
}), je = (v) => {
|
|
3153
|
-
const A =
|
|
3153
|
+
const A = D.value.cameras.find((W) => W.id === v);
|
|
3154
3154
|
return A == null ? void 0 : A.sunsimDayOfYear;
|
|
3155
3155
|
};
|
|
3156
3156
|
function an(v) {
|
|
3157
3157
|
M("onSunsimUpdate", v);
|
|
3158
3158
|
}
|
|
3159
3159
|
function xt(v) {
|
|
3160
|
-
|
|
3160
|
+
Z.value.loadSunSim(v.timeInHours);
|
|
3161
3161
|
}
|
|
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) {
|
|
@@ -3171,16 +3171,16 @@ const Sl = {
|
|
|
3171
3171
|
function rn(v, A) {
|
|
3172
3172
|
}
|
|
3173
3173
|
function un(v) {
|
|
3174
|
-
|
|
3174
|
+
Z.value = v, Z.value && (J.value && Z.value.updateSettings(J.value), be.value ? Z.value.loadMarkersJson() : te.value && Z.value.loadDynamicMarkers(te.value));
|
|
3175
3175
|
}
|
|
3176
3176
|
function cn() {
|
|
3177
|
-
|
|
3177
|
+
Z.value.clearCurrentMarkerLayer();
|
|
3178
3178
|
}
|
|
3179
3179
|
function dn(v) {
|
|
3180
|
-
|
|
3180
|
+
Z.value.loadDynamicMarkers(v);
|
|
3181
3181
|
}
|
|
3182
3182
|
function vn(v) {
|
|
3183
|
-
return
|
|
3183
|
+
return Z.value.screenToWorld(v);
|
|
3184
3184
|
}
|
|
3185
3185
|
function mn() {
|
|
3186
3186
|
Me.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
@@ -3188,33 +3188,33 @@ const Sl = {
|
|
|
3188
3188
|
function pn() {
|
|
3189
3189
|
pe.value = !pe.value;
|
|
3190
3190
|
}
|
|
3191
|
-
async function
|
|
3192
|
-
const v = 180 / Math.PI, A = await
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3191
|
+
async function Lt() {
|
|
3192
|
+
const v = 180 / Math.PI, A = await Z.value.takePhoto(), W = Z.value.getRotationEuler(), de = Z.value.getCurrentCamera(), We = new Tt(A, de), _n = [
|
|
3193
|
+
W.x * -v,
|
|
3194
|
+
W.y * -v,
|
|
3195
|
+
W.z * v
|
|
3196
3196
|
];
|
|
3197
3197
|
return M("onSnapshot", We, _n), We;
|
|
3198
3198
|
}
|
|
3199
3199
|
async function fn() {
|
|
3200
3200
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
3201
|
-
const v = await
|
|
3202
|
-
M("onVisuadoCreateButtonClicked",
|
|
3201
|
+
const v = await Z.value.takePhoto(), A = Z.value.getCurrentCamera(), W = new Tt(v, A);
|
|
3202
|
+
M("onVisuadoCreateButtonClicked", W);
|
|
3203
3203
|
}
|
|
3204
3204
|
function it(v) {
|
|
3205
3205
|
let A = me(i.value, v);
|
|
3206
|
-
return A &&
|
|
3206
|
+
return A && E.value && !A.startsWith("blob:") && (A = A + `?v=${Date.now()}`), A;
|
|
3207
3207
|
}
|
|
3208
3208
|
async function rt(v) {
|
|
3209
3209
|
const A = it(v);
|
|
3210
3210
|
try {
|
|
3211
3211
|
return (await ct.get(A)).data;
|
|
3212
|
-
} catch (
|
|
3213
|
-
throw new Error(
|
|
3212
|
+
} catch (W) {
|
|
3213
|
+
throw new Error(W);
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
3216
|
function hn(v) {
|
|
3217
|
-
|
|
3217
|
+
Z.value.updateSettings(v);
|
|
3218
3218
|
}
|
|
3219
3219
|
function gn(v) {
|
|
3220
3220
|
M("saveSettings", v);
|
|
@@ -3222,53 +3222,53 @@ const Sl = {
|
|
|
3222
3222
|
function yn(v) {
|
|
3223
3223
|
if (v === void 0)
|
|
3224
3224
|
return null;
|
|
3225
|
-
const A = Math.floor(v),
|
|
3226
|
-
return { hours: A, minutes:
|
|
3225
|
+
const A = Math.floor(v), W = Math.floor((A - v) * 60);
|
|
3226
|
+
return { hours: A, minutes: W };
|
|
3227
3227
|
}
|
|
3228
3228
|
const Oe = b(!1), Et = b(null), _t = b(1);
|
|
3229
3229
|
function Mt() {
|
|
3230
3230
|
if (Oe.value) {
|
|
3231
|
-
clearInterval(Et.value), Oe.value = !1,
|
|
3231
|
+
clearInterval(Et.value), Oe.value = !1, Z.value.toggleAutoRotate();
|
|
3232
3232
|
return;
|
|
3233
3233
|
}
|
|
3234
|
-
Oe.value = !0,
|
|
3235
|
-
_t.value = 1 * _t.value,
|
|
3234
|
+
Oe.value = !0, Z.value.toggleAutoRotate(), Et.value = setInterval(() => {
|
|
3235
|
+
_t.value = 1 * _t.value, Z.value.setAutoRotateSpeed(_t.value), lt();
|
|
3236
3236
|
}, 5e3);
|
|
3237
3237
|
}
|
|
3238
3238
|
return (v, A) => {
|
|
3239
|
-
const
|
|
3240
|
-
return u(),
|
|
3241
|
-
class: ce(["virtual-tour-wrapper", [
|
|
3239
|
+
const W = 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",
|
|
3245
|
-
!Me.value.isActive &&
|
|
3243
|
+
ke.value ? (u(), I("div", xl, "Error loading the player!!")) : F("", !0),
|
|
3244
|
+
e("div", Il, [
|
|
3245
|
+
!Me.value.isActive && N.value && q.value && w.value && G.value && fe.value ? (u(), T(Vt, {
|
|
3246
3246
|
key: 0,
|
|
3247
3247
|
"cdn-file-resolver": p(i),
|
|
3248
|
-
"apartment-json":
|
|
3248
|
+
"apartment-json": D.value,
|
|
3249
3249
|
level: He.value,
|
|
3250
|
-
"minimap-json":
|
|
3250
|
+
"minimap-json": N.value,
|
|
3251
3251
|
rotation: ge.value,
|
|
3252
|
-
"current-camera":
|
|
3252
|
+
"current-camera": q.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
|
-
"mouse-sensitivity": p(
|
|
3266
|
+
"mouse-sensitivity": p(U),
|
|
3267
3267
|
"interior-id": G.value,
|
|
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,
|
|
@@ -3281,7 +3281,7 @@ const Sl = {
|
|
|
3281
3281
|
}, null, 8, ["image"])) : F("", !0)
|
|
3282
3282
|
]),
|
|
3283
3283
|
"top-left": m(() => [
|
|
3284
|
-
p(
|
|
3284
|
+
p(E) ? (u(), T(W, {
|
|
3285
3285
|
key: 0,
|
|
3286
3286
|
density: "comfortable",
|
|
3287
3287
|
icon: "mdi-cog-outline",
|
|
@@ -3289,16 +3289,16 @@ const Sl = {
|
|
|
3289
3289
|
class: "mr-2",
|
|
3290
3290
|
onClick: A[1] || (A[1] = (de) => ve.value = !ve.value)
|
|
3291
3291
|
})) : F("", !0),
|
|
3292
|
-
Ke(y(
|
|
3292
|
+
Ke(y(W, {
|
|
3293
3293
|
density: "comfortable",
|
|
3294
3294
|
icon: "mdi-alert-outline",
|
|
3295
3295
|
elevation: "3",
|
|
3296
3296
|
class: "mr-2",
|
|
3297
|
-
onClick: A[2] || (A[2] = (de) =>
|
|
3297
|
+
onClick: A[2] || (A[2] = (de) => j.value = !j.value)
|
|
3298
3298
|
}, null, 512), [
|
|
3299
3299
|
[ut, ue.value]
|
|
3300
3300
|
]),
|
|
3301
|
-
|
|
3301
|
+
N.value && re.value && w.value ? Ke((u(), T(W, {
|
|
3302
3302
|
key: 1,
|
|
3303
3303
|
density: "comfortable",
|
|
3304
3304
|
elevation: "3",
|
|
@@ -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(
|
|
3317
|
+
p(E) && 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
|
-
|
|
3327
|
+
D.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,13 +3332,13 @@ const Sl = {
|
|
|
3332
3332
|
e("div", {
|
|
3333
3333
|
onClick: A[4] || (A[4] = (de) => fe.value = !fe.value)
|
|
3334
3334
|
}, [
|
|
3335
|
-
ue.value &&
|
|
3335
|
+
ue.value && D.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:
|
|
3341
|
-
cursor:
|
|
3340
|
+
style: oe({
|
|
3341
|
+
cursor: N.value && q.value && w.value ? "pointer" : "default"
|
|
3342
3342
|
})
|
|
3343
3343
|
}, null, 8, ["hours", "minutes", "style"])) : F("", !0)
|
|
3344
3344
|
])
|
|
@@ -3346,7 +3346,7 @@ const Sl = {
|
|
|
3346
3346
|
"center-left": m(() => [
|
|
3347
3347
|
y(Fe, { name: "slide-x-transition" }, {
|
|
3348
3348
|
default: m(() => [
|
|
3349
|
-
pe.value ? (u(), T(
|
|
3349
|
+
pe.value ? (u(), T(W, {
|
|
3350
3350
|
key: 0,
|
|
3351
3351
|
density: "comfortable",
|
|
3352
3352
|
elevation: "3",
|
|
@@ -3358,17 +3358,17 @@ const Sl = {
|
|
|
3358
3358
|
})
|
|
3359
3359
|
]),
|
|
3360
3360
|
"center-center": m(() => [
|
|
3361
|
-
|
|
3361
|
+
j.value ? (u(), T(da, {
|
|
3362
3362
|
key: 0,
|
|
3363
3363
|
onCloseTutorial: A[5] || (A[5] = (de) => qe(de))
|
|
3364
3364
|
})) : F("", !0),
|
|
3365
|
-
Me.value.isActive &&
|
|
3365
|
+
Me.value.isActive && N.value && q.value && w.value && fe.value ? (u(), T(Vt, {
|
|
3366
3366
|
key: 1,
|
|
3367
3367
|
"cdn-file-resolver": p(i),
|
|
3368
|
-
"apartment-json":
|
|
3369
|
-
"minimap-json":
|
|
3368
|
+
"apartment-json": D.value,
|
|
3369
|
+
"minimap-json": N.value,
|
|
3370
3370
|
rotation: ge.value,
|
|
3371
|
-
"current-camera":
|
|
3371
|
+
"current-camera": q.value,
|
|
3372
3372
|
level: He.value,
|
|
3373
3373
|
onClose: A[6] || (A[6] = (de) => fe.value = !1)
|
|
3374
3374
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : F("", !0)
|
|
@@ -3376,7 +3376,7 @@ const Sl = {
|
|
|
3376
3376
|
"center-right": m(() => [
|
|
3377
3377
|
y(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3378
3378
|
default: m(() => [
|
|
3379
|
-
pe.value ? (u(), T(
|
|
3379
|
+
pe.value ? (u(), T(W, {
|
|
3380
3380
|
key: 0,
|
|
3381
3381
|
density: "comfortable",
|
|
3382
3382
|
elevation: "3",
|
|
@@ -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(),
|
|
3398
|
-
y(
|
|
3397
|
+
p(C) ? (u(), I("div", Ml, [
|
|
3398
|
+
y(W, {
|
|
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,10 +3422,10 @@ 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
|
-
!Oe.value && Ye.value(
|
|
3428
|
+
!Oe.value && Ye.value(q.value) ? (u(), T(cl, {
|
|
3429
3429
|
key: 0,
|
|
3430
3430
|
class: "ml-2",
|
|
3431
3431
|
displaySunsim: ye.value,
|
|
@@ -3433,26 +3433,26 @@ 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(q.value) && je(q.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3437
3437
|
key: 0,
|
|
3438
3438
|
class: "sunsim-slider-desktop",
|
|
3439
|
-
"current-day": Ye.value(
|
|
3439
|
+
"current-day": Ye.value(q.value) ? je(q.value)[0] : void 0,
|
|
3440
3440
|
"current-time": Be.value,
|
|
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,18 +3502,18 @@ const Sl = {
|
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
3504
3504
|
}),
|
|
3505
|
-
|
|
3506
|
-
!Oe.value && re.value && ye.value && Ye.value(
|
|
3505
|
+
ne.value ? (u(), I("div", Tl, [
|
|
3506
|
+
!Oe.value && re.value && ye.value && Ye.value(q.value) && je(q.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3507
3507
|
key: 0,
|
|
3508
3508
|
class: "mt-1",
|
|
3509
|
-
"current-day": Ye.value(
|
|
3509
|
+
"current-day": Ye.value(q.value) ? je(q.value)[0] : void 0,
|
|
3510
3510
|
"current-time": Be.value,
|
|
3511
3511
|
onOnTimeChange: xt,
|
|
3512
3512
|
onToggleSunStudy: A[11] || (A[11] = (de) => ye.value = !ye.value)
|
|
3513
3513
|
}, null, 8, ["current-day", "current-time"])) : F("", !0)
|
|
3514
3514
|
])) : F("", !0)
|
|
3515
3515
|
], 2)) : F("", !0),
|
|
3516
|
-
p(Ae) && p(
|
|
3516
|
+
p(Ae) && p(z) ? (u(), I("div", Ol, " version: " + Y(p(Ae)), 1)) : F("", !0)
|
|
3517
3517
|
])
|
|
3518
3518
|
], 2);
|
|
3519
3519
|
};
|
|
@@ -3533,10 +3533,10 @@ const Sl = {
|
|
|
3533
3533
|
}, Pl = {
|
|
3534
3534
|
class: "player-control",
|
|
3535
3535
|
id: "controls-center-center"
|
|
3536
|
-
},
|
|
3536
|
+
}, Nl = {
|
|
3537
3537
|
class: "player-control",
|
|
3538
3538
|
id: "controls-center-right"
|
|
3539
|
-
},
|
|
3539
|
+
}, Ql = {
|
|
3540
3540
|
class: "player-control",
|
|
3541
3541
|
id: "controls-bottom-left"
|
|
3542
3542
|
}, Zl = {
|
|
@@ -3545,42 +3545,42 @@ const Sl = {
|
|
|
3545
3545
|
}, ql = {
|
|
3546
3546
|
class: "player-control",
|
|
3547
3547
|
id: "controls-bottom-right"
|
|
3548
|
-
}, Jl = /* @__PURE__ */
|
|
3548
|
+
}, Jl = /* @__PURE__ */ P({
|
|
3549
3549
|
__name: "VManualSlideShowPlayer",
|
|
3550
3550
|
props: {
|
|
3551
3551
|
isFullScreen: { type: Boolean }
|
|
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
|
-
|
|
3572
|
-
]),
|
|
3573
|
-
e("div", Ql, [
|
|
3574
|
-
K(o.$slots, "center-right", {}, void 0, !0)
|
|
3571
|
+
X(o.$slots, "center-center", {}, void 0, !0)
|
|
3575
3572
|
]),
|
|
3576
3573
|
e("div", Nl, [
|
|
3577
|
-
|
|
3574
|
+
X(o.$slots, "center-right", {}, void 0, !0)
|
|
3575
|
+
]),
|
|
3576
|
+
e("div", Ql, [
|
|
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
|
]));
|
|
@@ -3588,7 +3588,7 @@ const Sl = {
|
|
|
3588
3588
|
}), Gl = /* @__PURE__ */ ee(Jl, [["__scopeId", "data-v-5fdd1e05"]]), Kl = { class: "virtual-tour-wrapper" }, Xl = { class: "player-and-components-wrapper" }, es = { class: "mss-image" }, ts = {
|
|
3589
3589
|
key: 1,
|
|
3590
3590
|
class: "btn-placeholder"
|
|
3591
|
-
}, ns = /* @__PURE__ */
|
|
3591
|
+
}, ns = /* @__PURE__ */ P({
|
|
3592
3592
|
__name: "VManualSlideShow",
|
|
3593
3593
|
props: {
|
|
3594
3594
|
images: {},
|
|
@@ -3602,10 +3602,10 @@ const Sl = {
|
|
|
3602
3602
|
const n = t;
|
|
3603
3603
|
Xe(
|
|
3604
3604
|
Ve,
|
|
3605
|
-
n.i18nConfig ? new
|
|
3605
|
+
n.i18nConfig ? new Qe(n.i18nConfig) : new Qe()
|
|
3606
3606
|
);
|
|
3607
3607
|
const o = b(0), l = b(
|
|
3608
|
-
new
|
|
3608
|
+
new Nt(document, "player-wrapper")
|
|
3609
3609
|
), i = V(() => n.images.map(
|
|
3610
3610
|
(f, _) => ({
|
|
3611
3611
|
id: `image-${_}`,
|
|
@@ -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
|
]),
|
|
@@ -3719,7 +3719,7 @@ const Sl = {
|
|
|
3719
3719
|
]);
|
|
3720
3720
|
};
|
|
3721
3721
|
}
|
|
3722
|
-
}), os = /* @__PURE__ */ ee(ns, [["__scopeId", "data-v-373ac320"]]), as = /* @__PURE__ */
|
|
3722
|
+
}), os = /* @__PURE__ */ ee(ns, [["__scopeId", "data-v-373ac320"]]), as = /* @__PURE__ */ P({
|
|
3723
3723
|
__name: "VMiniMap",
|
|
3724
3724
|
props: {
|
|
3725
3725
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3738,8 +3738,8 @@ const Sl = {
|
|
|
3738
3738
|
}));
|
|
3739
3739
|
H(g, () => {
|
|
3740
3740
|
g.value && new ResizeObserver(([k]) => {
|
|
3741
|
-
const x = k.target.parentElement,
|
|
3742
|
-
f.value =
|
|
3741
|
+
const x = k.target.parentElement, B = x.parentElement;
|
|
3742
|
+
f.value = B.clientWidth / 512, x.style.height = `${k.contentRect.height * f.value}px`;
|
|
3743
3743
|
}).observe(g.value);
|
|
3744
3744
|
}), H(_, () => {
|
|
3745
3745
|
i("cameraSet", _.value);
|
|
@@ -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
|
}, [
|
|
@@ -3806,12 +3806,12 @@ const Sl = {
|
|
|
3806
3806
|
containerHeight: 384,
|
|
3807
3807
|
fit: ""
|
|
3808
3808
|
}, {
|
|
3809
|
-
default: m(({ id:
|
|
3810
|
-
|
|
3811
|
-
id:
|
|
3809
|
+
default: m(({ id: B, camera: R, active: U, style: E }) => [
|
|
3810
|
+
X(d.$slots, "default", {
|
|
3811
|
+
id: B,
|
|
3812
3812
|
camera: R,
|
|
3813
|
-
active:
|
|
3814
|
-
style:
|
|
3813
|
+
active: U,
|
|
3814
|
+
style: oe(E)
|
|
3815
3815
|
}, void 0, !0)
|
|
3816
3816
|
]),
|
|
3817
3817
|
_: 3
|
|
@@ -3831,7 +3831,7 @@ const Sl = {
|
|
|
3831
3831
|
}, 8, ["loading"]);
|
|
3832
3832
|
};
|
|
3833
3833
|
}
|
|
3834
|
-
}), Gs = /* @__PURE__ */ ee(as, [["__scopeId", "data-v-8077dfb5"]]), ls = ["src"], ss = /* @__PURE__ */
|
|
3834
|
+
}), Gs = /* @__PURE__ */ ee(as, [["__scopeId", "data-v-8077dfb5"]]), ls = ["src"], ss = /* @__PURE__ */ P({
|
|
3835
3835
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
3836
3836
|
props: {
|
|
3837
3837
|
timeSampleData: {},
|
|
@@ -3848,16 +3848,16 @@ 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
|
|
3858
3858
|
}, null, 12, ls));
|
|
3859
3859
|
}
|
|
3860
|
-
}), is = /* @__PURE__ */ ee(ss, [["__scopeId", "data-v-c4a08195"]]), rs = /* @__PURE__ */
|
|
3860
|
+
}), is = /* @__PURE__ */ ee(ss, [["__scopeId", "data-v-c4a08195"]]), rs = /* @__PURE__ */ P({
|
|
3861
3861
|
__name: "VStructureChooserCameraDay",
|
|
3862
3862
|
props: {
|
|
3863
3863
|
dayData: {},
|
|
@@ -3867,14 +3867,14 @@ 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),
|
|
3874
3874
|
"current-time": p(i)
|
|
3875
3875
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
3876
3876
|
}
|
|
3877
|
-
}), us = ["src"], cs = /* @__PURE__ */
|
|
3877
|
+
}), us = ["src"], cs = /* @__PURE__ */ P({
|
|
3878
3878
|
__name: "VStructureChooserCamera",
|
|
3879
3879
|
props: {
|
|
3880
3880
|
cameraData: {},
|
|
@@ -3893,21 +3893,21 @@ 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
|
}
|
|
3910
|
-
}), ds = /* @__PURE__ */ ee(cs, [["__scopeId", "data-v-da694d37"]]), vs = ["src"], ms = /* @__PURE__ */
|
|
3910
|
+
}), ds = /* @__PURE__ */ ee(cs, [["__scopeId", "data-v-da694d37"]]), vs = ["src"], ms = /* @__PURE__ */ P({
|
|
3911
3911
|
__name: "VStructureChooserTransition",
|
|
3912
3912
|
props: {
|
|
3913
3913
|
transitionData: {},
|
|
@@ -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
|
|
@@ -3945,7 +3945,7 @@ const fs = {
|
|
|
3945
3945
|
key: 0,
|
|
3946
3946
|
class: "d-inline-block",
|
|
3947
3947
|
style: { "vertical-align": "top" }
|
|
3948
|
-
}, hs = /* @__PURE__ */
|
|
3948
|
+
}, hs = /* @__PURE__ */ P({
|
|
3949
3949
|
__name: "VStructureChooserUiDayButton",
|
|
3950
3950
|
props: {
|
|
3951
3951
|
isMobileSized: { type: Boolean },
|
|
@@ -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,15 +3998,15 @@ 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
|
-
onClick: (
|
|
4004
|
+
onClick: (B) => h.value = k.dayOfYear
|
|
4005
4005
|
}, {
|
|
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)
|
|
@@ -4028,7 +4028,7 @@ const fs = {
|
|
|
4028
4028
|
}, ws = {
|
|
4029
4029
|
key: 1,
|
|
4030
4030
|
class: "icon-wrapper"
|
|
4031
|
-
}, ks = /* @__PURE__ */
|
|
4031
|
+
}, ks = /* @__PURE__ */ P({
|
|
4032
4032
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
4033
4033
|
props: {
|
|
4034
4034
|
isMobileSized: { type: Boolean },
|
|
@@ -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
|
})
|
|
@@ -4109,7 +4109,7 @@ const fs = {
|
|
|
4109
4109
|
], 2);
|
|
4110
4110
|
};
|
|
4111
4111
|
}
|
|
4112
|
-
}), Cs = /* @__PURE__ */ ee(ks, [["__scopeId", "data-v-d14ee377"]]), Ss = { class: "small" }, As = { class: "small" }, xs = /* @__PURE__ */
|
|
4112
|
+
}), Cs = /* @__PURE__ */ ee(ks, [["__scopeId", "data-v-d14ee377"]]), Ss = { class: "small" }, As = { class: "small" }, xs = /* @__PURE__ */ P({
|
|
4113
4113
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
4114
4114
|
props: {
|
|
4115
4115
|
isMobileSized: { type: Boolean },
|
|
@@ -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,10 +4203,10 @@ 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
|
-
}, Es = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ms = /* @__PURE__ */
|
|
4209
|
+
}, Es = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ms = /* @__PURE__ */ P({
|
|
4210
4210
|
__name: "VStructureChooserUiZoomButtons",
|
|
4211
4211
|
props: {
|
|
4212
4212
|
isMobileSized: { type: Boolean },
|
|
@@ -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",
|
|
@@ -4241,18 +4241,18 @@ const fs = {
|
|
|
4241
4241
|
};
|
|
4242
4242
|
}
|
|
4243
4243
|
});
|
|
4244
|
-
class
|
|
4244
|
+
class Ne {
|
|
4245
4245
|
static async loadText(n) {
|
|
4246
|
-
return new
|
|
4246
|
+
return new Ne().loadText(n);
|
|
4247
4247
|
}
|
|
4248
4248
|
static async loadJson(n) {
|
|
4249
|
-
return new
|
|
4249
|
+
return new Ne().loadJson(n);
|
|
4250
4250
|
}
|
|
4251
4251
|
static async loadImage(n) {
|
|
4252
|
-
return new
|
|
4252
|
+
return new Ne().loadImage(n);
|
|
4253
4253
|
}
|
|
4254
4254
|
static async loadImageData(n) {
|
|
4255
|
-
return new
|
|
4255
|
+
return new Ne().loadImageData(n);
|
|
4256
4256
|
}
|
|
4257
4257
|
async loadText(n) {
|
|
4258
4258
|
try {
|
|
@@ -4284,7 +4284,7 @@ class Qe {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
|
-
const Fs = ["innerHTML"], Vs = /* @__PURE__ */
|
|
4287
|
+
const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
4288
4288
|
__name: "VStructureChooserOverlay",
|
|
4289
4289
|
props: {
|
|
4290
4290
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4301,21 +4301,21 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4301
4301
|
));
|
|
4302
4302
|
Ft(() => {
|
|
4303
4303
|
for (const c in _) {
|
|
4304
|
-
const { element: d, state: k } = _[c], { r: x, g:
|
|
4304
|
+
const { element: d, state: k } = _[c], { r: x, g: B, b: R, a: U, s: E } = i.value(c, k) || {
|
|
4305
4305
|
r: 0,
|
|
4306
4306
|
g: 0,
|
|
4307
4307
|
b: 0,
|
|
4308
4308
|
a: 0,
|
|
4309
4309
|
s: 0
|
|
4310
4310
|
};
|
|
4311
|
-
d.style.fill = `rgba(${x}, ${
|
|
4311
|
+
d.style.fill = `rgba(${x}, ${B}, ${R}, ${U / 255})`, d.style.stroke = `rgb(${x}, ${B}, ${R})`, d.style.strokeWidth = E.toString(), d.style.cursor = "pointer";
|
|
4312
4312
|
}
|
|
4313
4313
|
}), H(s, () => {
|
|
4314
4314
|
for (const c in _)
|
|
4315
4315
|
_[c].state === "selected" && c !== s.value ? _[c].state = "idle" : _[c].state !== "selected" && c === s.value && (_[c].state = "selected");
|
|
4316
4316
|
}), Ft(async () => {
|
|
4317
4317
|
try {
|
|
4318
|
-
h.value = !1, g.value[S.value] || (g.value[S.value] = await
|
|
4318
|
+
h.value = !1, g.value[S.value] || (g.value[S.value] = await Ne.loadText(S.value)), C();
|
|
4319
4319
|
} catch (c) {
|
|
4320
4320
|
r("onError", c);
|
|
4321
4321
|
} finally {
|
|
@@ -4362,20 +4362,23 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4362
4362
|
if (c) {
|
|
4363
4363
|
r("updateSvgContainer", c), $();
|
|
4364
4364
|
let k, x = "data-structure-id";
|
|
4365
|
-
k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-apartment-id", k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-building-id", k = c.querySelectorAll(`[${x}]`))), k.forEach((
|
|
4366
|
-
|
|
4367
|
-
|
|
4365
|
+
k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-apartment-id", k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-building-id", k = c.querySelectorAll(`[${x}]`))), k.forEach((B) => {
|
|
4366
|
+
const R = B.cloneNode(
|
|
4367
|
+
!0
|
|
4368
|
+
);
|
|
4369
|
+
B.parentNode.replaceChild(R, B), R.style.strokeWidth = "0", R.style.stroke = "rgba(255,255,255,0)", R.style.fill = "rgba(255,255,255,0)", R.querySelectorAll("path").forEach((E) => {
|
|
4370
|
+
E.style.stroke = "inherit", E.style.fill = "inherit";
|
|
4368
4371
|
});
|
|
4369
|
-
const
|
|
4370
|
-
_[
|
|
4371
|
-
element:
|
|
4372
|
-
state: s.value ===
|
|
4373
|
-
}, o.activeStructureIds && !o.activeStructureIds.includes(
|
|
4374
|
-
_[
|
|
4375
|
-
}),
|
|
4376
|
-
_[
|
|
4377
|
-
}),
|
|
4378
|
-
r("onClick",
|
|
4372
|
+
const U = R.getAttribute(x);
|
|
4373
|
+
_[U] = {
|
|
4374
|
+
element: R,
|
|
4375
|
+
state: s.value === U ? "selected" : "idle"
|
|
4376
|
+
}, o.activeStructureIds && !o.activeStructureIds.includes(U) && (R.style.display = "none"), R.addEventListener("mouseover", () => {
|
|
4377
|
+
_[U].state === "idle" && (_[U].state = "hover"), r("onHoverOver", U);
|
|
4378
|
+
}), R.addEventListener("mouseout", () => {
|
|
4379
|
+
_[U].state === "hover" && (_[U].state = "idle"), r("onHoverOut", U);
|
|
4380
|
+
}), R.addEventListener("click", () => {
|
|
4381
|
+
r("onClick", U);
|
|
4379
4382
|
});
|
|
4380
4383
|
});
|
|
4381
4384
|
}
|
|
@@ -4386,7 +4389,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4386
4389
|
e("div", {
|
|
4387
4390
|
ref_key: "svgContainer",
|
|
4388
4391
|
ref: f,
|
|
4389
|
-
style:
|
|
4392
|
+
style: oe([{
|
|
4390
4393
|
visibility: h.value ? "visible" : "hidden"
|
|
4391
4394
|
}, { "z-index": "5" }]),
|
|
4392
4395
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
@@ -4396,7 +4399,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
|
4396
4399
|
_: 1
|
|
4397
4400
|
}));
|
|
4398
4401
|
}
|
|
4399
|
-
}), Ds = /* @__PURE__ */ ee(Vs, [["__scopeId", "data-v-
|
|
4402
|
+
}), Ds = /* @__PURE__ */ ee(Vs, [["__scopeId", "data-v-ec772438"]]);
|
|
4400
4403
|
function Bs(t) {
|
|
4401
4404
|
if (!t)
|
|
4402
4405
|
return !1;
|
|
@@ -4719,7 +4722,7 @@ const zs = {
|
|
|
4719
4722
|
}, js = ["innerHTML"], Ws = { style: { "z-index": "7" } }, Ps = {
|
|
4720
4723
|
key: 4,
|
|
4721
4724
|
class: "render-version"
|
|
4722
|
-
},
|
|
4725
|
+
}, Ns = /* @__PURE__ */ P({
|
|
4723
4726
|
__name: "VStructureChooser",
|
|
4724
4727
|
props: {
|
|
4725
4728
|
structureChooserData: {},
|
|
@@ -4750,26 +4753,26 @@ const zs = {
|
|
|
4750
4753
|
defaultDay: _,
|
|
4751
4754
|
defaultTime: S,
|
|
4752
4755
|
mobileBreakpoint: $
|
|
4753
|
-
} = _e(l), C = o, c = b(), d = b(), k = b(), x = b(null),
|
|
4756
|
+
} = _e(l), C = o, c = b(), d = b(), k = b(), x = b(null), B = b(4), R = b(), U = b(!1), E = b(!1), J = b(), be = V(() => J.value.isHoverEnabled), te = b({ x: 0, y: 0, width: 0, height: 0 }), Ae = b(), z = b(), M = b(), j = b(!1), ve = b(1), ke = b(0), ie = b([]), D = b(), Q = b({
|
|
4754
4757
|
current: 100,
|
|
4755
4758
|
min: 100,
|
|
4756
4759
|
max: 1e3
|
|
4757
|
-
}),
|
|
4760
|
+
}), N = b(!1), Z = b();
|
|
4758
4761
|
Xe(
|
|
4759
4762
|
Ve,
|
|
4760
|
-
r.value ? new
|
|
4763
|
+
r.value ? new Qe(r.value) : new Qe()
|
|
4761
4764
|
), Xe("registerImage", (w) => {
|
|
4762
4765
|
$e(() => {
|
|
4763
4766
|
ie.value.find((O) => O.image === w) || (ie.value = [...ie.value, { image: w, loaded: !1 }]);
|
|
4764
4767
|
});
|
|
4765
4768
|
}), Xe("completeImage", (w) => {
|
|
4766
4769
|
$e(() => {
|
|
4767
|
-
const O = ie.value.findIndex((
|
|
4770
|
+
const O = ie.value.findIndex((K) => K.image === w);
|
|
4768
4771
|
O >= 0 && (ie.value[O].loaded = !0, ie.value = [...ie.value]);
|
|
4769
4772
|
});
|
|
4770
4773
|
}), n({
|
|
4771
4774
|
getState: () => ({
|
|
4772
|
-
currentCameraIndex: c.value ?
|
|
4775
|
+
currentCameraIndex: c.value ? q.value.findIndex((w) => w === c.value) : null,
|
|
4773
4776
|
currentDayIndex: d.value ? c.value.sunsimDayOfYear.findIndex(
|
|
4774
4777
|
(w) => w === d.value
|
|
4775
4778
|
) : null,
|
|
@@ -4777,47 +4780,47 @@ const zs = {
|
|
|
4777
4780
|
currentTransitionIndex: x.value ? ge.value.findIndex(
|
|
4778
4781
|
(w) => w === x.value
|
|
4779
4782
|
) : null,
|
|
4780
|
-
currentScene:
|
|
4783
|
+
currentScene: B.value
|
|
4781
4784
|
}),
|
|
4782
4785
|
setState: ({
|
|
4783
4786
|
currentCameraIndex: w,
|
|
4784
4787
|
currentDayIndex: O,
|
|
4785
|
-
currentTimeIndex:
|
|
4786
|
-
currentTransitionIndex:
|
|
4787
|
-
currentScene:
|
|
4788
|
+
currentTimeIndex: K,
|
|
4789
|
+
currentTransitionIndex: ne,
|
|
4790
|
+
currentScene: ae
|
|
4788
4791
|
}) => {
|
|
4789
|
-
typeof w == "number" && (c.value =
|
|
4792
|
+
typeof w == "number" && (c.value = q.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" && (B.value = ae);
|
|
4790
4793
|
},
|
|
4791
|
-
resolveCoordinates: (w, O) =>
|
|
4794
|
+
resolveCoordinates: (w, O) => Z.value ? Z.value(w, O) : { x: 0, y: 0 }
|
|
4792
4795
|
}), Re(() => {
|
|
4793
|
-
|
|
4794
|
-
}), H(
|
|
4795
|
-
|
|
4796
|
-
const O = ie.value.find((
|
|
4796
|
+
U.value = !0, N.value = !1;
|
|
4797
|
+
}), H(z, () => {
|
|
4798
|
+
z.value && new ResizeObserver(([]) => {
|
|
4799
|
+
const O = ie.value.find((K) => K.loaded);
|
|
4797
4800
|
O && (ke.value = O.image.width / ve.value);
|
|
4798
|
-
}).observe(
|
|
4801
|
+
}).observe(z.value);
|
|
4799
4802
|
}), H(ie, () => {
|
|
4800
4803
|
if (ke.value === 0) {
|
|
4801
4804
|
const w = ie.value.find((O) => O.loaded);
|
|
4802
4805
|
w && (ve.value = w.image.naturalWidth / w.image.naturalHeight, ke.value = w.image.width / ve.value);
|
|
4803
4806
|
}
|
|
4804
4807
|
});
|
|
4805
|
-
const
|
|
4808
|
+
const se = V(() => ie.value.every((w) => w.loaded)), G = V(() => Math.round(
|
|
4806
4809
|
ie.value.filter((w) => w.loaded).length / ie.value.length * 100
|
|
4807
4810
|
));
|
|
4808
4811
|
H(
|
|
4809
4812
|
i,
|
|
4810
4813
|
(w) => {
|
|
4811
4814
|
try {
|
|
4812
|
-
|
|
4815
|
+
N.value = !1, M.value = Us(w);
|
|
4813
4816
|
} catch (O) {
|
|
4814
|
-
|
|
4817
|
+
N.value = !0, C("onError", O);
|
|
4815
4818
|
}
|
|
4816
4819
|
},
|
|
4817
4820
|
{
|
|
4818
4821
|
immediate: !0
|
|
4819
4822
|
}
|
|
4820
|
-
), H(
|
|
4823
|
+
), H(U, (w) => {
|
|
4821
4824
|
w && C("onInitialize");
|
|
4822
4825
|
});
|
|
4823
4826
|
const re = b();
|
|
@@ -4831,14 +4834,14 @@ const zs = {
|
|
|
4831
4834
|
deep: !0
|
|
4832
4835
|
}
|
|
4833
4836
|
), H(
|
|
4834
|
-
() =>
|
|
4837
|
+
() => z.value,
|
|
4835
4838
|
() => {
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
}).observe(
|
|
4839
|
+
z.value && new ResizeObserver(([O]) => {
|
|
4840
|
+
j.value = O.contentRect.width < $.value;
|
|
4841
|
+
}).observe(z.value);
|
|
4839
4842
|
}
|
|
4840
4843
|
);
|
|
4841
|
-
const
|
|
4844
|
+
const q = V(
|
|
4842
4845
|
() => M.value ? M.value.cameras.filter(Ts) : []
|
|
4843
4846
|
), ge = V(
|
|
4844
4847
|
() => M.value ? M.value.cameras.filter(bt) : []
|
|
@@ -4852,11 +4855,11 @@ const zs = {
|
|
|
4852
4855
|
), H(
|
|
4853
4856
|
[M, a, f],
|
|
4854
4857
|
async () => {
|
|
4855
|
-
a.value &&
|
|
4858
|
+
a.value && q.value.length > 0 && (f.value ? c.value = q.value.find(
|
|
4856
4859
|
(w) => w.cameraName === f.value
|
|
4857
|
-
) ||
|
|
4860
|
+
) || q.value[0] : c.value = q.value[0], B.value = M.value.cameras.findIndex(
|
|
4858
4861
|
(w) => w === c.value
|
|
4859
|
-
),
|
|
4862
|
+
), B.value = Math.max(0, B.value));
|
|
4860
4863
|
},
|
|
4861
4864
|
{ immediate: !0 }
|
|
4862
4865
|
), H(
|
|
@@ -4884,20 +4887,20 @@ const zs = {
|
|
|
4884
4887
|
);
|
|
4885
4888
|
}
|
|
4886
4889
|
function De(w) {
|
|
4887
|
-
|
|
4890
|
+
B.value = w, bt(M.value.cameras[B.value]) ? x.value = M.value.cameras[B.value] : ($e(() => {
|
|
4888
4891
|
pe(
|
|
4889
|
-
M.value.cameras[
|
|
4892
|
+
M.value.cameras[B.value]
|
|
4890
4893
|
);
|
|
4891
4894
|
}), x.value = null);
|
|
4892
4895
|
}
|
|
4893
4896
|
function pe(w) {
|
|
4894
4897
|
const O = d.value;
|
|
4895
|
-
c.value = w,
|
|
4896
|
-
(
|
|
4898
|
+
c.value = w, B.value = M.value.cameras.findIndex(
|
|
4899
|
+
(K) => K === c.value
|
|
4897
4900
|
), $e(() => {
|
|
4898
4901
|
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && fe(
|
|
4899
4902
|
c.value.sunsimDayOfYear.find(
|
|
4900
|
-
(
|
|
4903
|
+
(K) => K.dayOfYear === O.dayOfYear
|
|
4901
4904
|
) || c.value.sunsimDayOfYear[0]
|
|
4902
4905
|
);
|
|
4903
4906
|
});
|
|
@@ -4907,9 +4910,9 @@ const zs = {
|
|
|
4907
4910
|
d.value = w, $e(() => {
|
|
4908
4911
|
Be(
|
|
4909
4912
|
d.value.timeSamples.find(
|
|
4910
|
-
(
|
|
4913
|
+
(K) => K.timeInHours === O.timeInHours
|
|
4911
4914
|
) || d.value.timeSamples.find(
|
|
4912
|
-
(
|
|
4915
|
+
(K) => K.timeInHours === d.value.defaultHour
|
|
4913
4916
|
) || d.value.timeSamples[0]
|
|
4914
4917
|
);
|
|
4915
4918
|
});
|
|
@@ -4920,17 +4923,20 @@ const zs = {
|
|
|
4920
4923
|
function ye(w) {
|
|
4921
4924
|
C("onClick", w, () => {
|
|
4922
4925
|
const O = M.value.stillCameraData.find(
|
|
4923
|
-
(
|
|
4926
|
+
(K) => K.id === w
|
|
4924
4927
|
);
|
|
4925
4928
|
O && he(O.bestIndex);
|
|
4926
4929
|
});
|
|
4927
4930
|
}
|
|
4928
4931
|
H(g, (w) => {
|
|
4932
|
+
var O;
|
|
4929
4933
|
if (w && M.value) {
|
|
4930
|
-
const
|
|
4931
|
-
(
|
|
4934
|
+
const K = M.value.stillCameraData.find(
|
|
4935
|
+
(ne) => ne.id === w
|
|
4932
4936
|
);
|
|
4933
|
-
|
|
4937
|
+
K && ((O = M.value.stillCameraIndices) != null && O.includes(
|
|
4938
|
+
K.bestIndex
|
|
4939
|
+
)) && he(K.bestIndex);
|
|
4934
4940
|
}
|
|
4935
4941
|
});
|
|
4936
4942
|
function ue(w) {
|
|
@@ -4940,19 +4946,19 @@ const zs = {
|
|
|
4940
4946
|
C("onHoverOut", w), R.value = void 0;
|
|
4941
4947
|
}
|
|
4942
4948
|
function ft(w) {
|
|
4943
|
-
const { layerX: O, layerY:
|
|
4944
|
-
let
|
|
4945
|
-
for (;
|
|
4946
|
-
if (
|
|
4947
|
-
|
|
4949
|
+
const { layerX: O, layerY: K } = w;
|
|
4950
|
+
let ne = w.target, ae = !1;
|
|
4951
|
+
for (; ne; )
|
|
4952
|
+
if (ne === Ae.value) {
|
|
4953
|
+
ae = !0;
|
|
4948
4954
|
break;
|
|
4949
4955
|
} else
|
|
4950
|
-
|
|
4951
|
-
if (
|
|
4956
|
+
ne = ne.parentElement;
|
|
4957
|
+
if (ae) {
|
|
4952
4958
|
const Ce = w.currentTarget;
|
|
4953
4959
|
te.value = {
|
|
4954
4960
|
x: O,
|
|
4955
|
-
y:
|
|
4961
|
+
y: K,
|
|
4956
4962
|
width: Ce.clientWidth,
|
|
4957
4963
|
height: Ce.clientHeight
|
|
4958
4964
|
};
|
|
@@ -4963,13 +4969,13 @@ const zs = {
|
|
|
4963
4969
|
function tt({
|
|
4964
4970
|
min: w,
|
|
4965
4971
|
max: O,
|
|
4966
|
-
current:
|
|
4967
|
-
resolve:
|
|
4972
|
+
current: K,
|
|
4973
|
+
resolve: ne
|
|
4968
4974
|
}) {
|
|
4969
|
-
|
|
4975
|
+
Z.value = ne, Q.value = { min: w, max: O, current: K };
|
|
4970
4976
|
}
|
|
4971
4977
|
function He(w) {
|
|
4972
|
-
|
|
4978
|
+
D.value.adjustZoom(w ? 10 : -10);
|
|
4973
4979
|
}
|
|
4974
4980
|
function nt(w) {
|
|
4975
4981
|
return M.value.stillCameraIndices.findIndex(
|
|
@@ -4977,46 +4983,46 @@ const zs = {
|
|
|
4977
4983
|
);
|
|
4978
4984
|
}
|
|
4979
4985
|
async function he(w) {
|
|
4980
|
-
const O =
|
|
4986
|
+
const O = B.value;
|
|
4981
4987
|
if (M.value.loopable) {
|
|
4982
|
-
const
|
|
4983
|
-
let Ce = 0, qe = 0,
|
|
4984
|
-
for (;
|
|
4988
|
+
const K = M.value.stillCameraIndices.length, ne = nt(O), ae = nt(w);
|
|
4989
|
+
let Ce = 0, qe = 0, Ie = ne;
|
|
4990
|
+
for (; Ie++, Ie >= K && (Ie = 0), Ie !== ae; )
|
|
4985
4991
|
Ce++;
|
|
4986
|
-
for (
|
|
4992
|
+
for (Ie = ne; Ie--, Ie < 0 && (Ie += K), Ie !== ae; )
|
|
4987
4993
|
qe++;
|
|
4988
|
-
Ce === qe ? Te(O, w) : Ce < qe ?
|
|
4994
|
+
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
4995
|
} else
|
|
4990
4996
|
Te(O, w);
|
|
4991
4997
|
}
|
|
4992
4998
|
function Te(w, O) {
|
|
4993
|
-
return new Promise((
|
|
4994
|
-
|
|
4995
|
-
let
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
), De(
|
|
5000
|
-
|
|
5001
|
-
), De(
|
|
4999
|
+
return new Promise((K) => {
|
|
5000
|
+
E.value = !0;
|
|
5001
|
+
let ne, ae = w;
|
|
5002
|
+
ne = setInterval(() => {
|
|
5003
|
+
ae < O ? (ae++, B.value = Math.abs(
|
|
5004
|
+
ae % M.value.cameras.length
|
|
5005
|
+
), De(B.value)) : ae > O ? (ae--, B.value = Math.abs(
|
|
5006
|
+
ae % M.value.cameras.length
|
|
5007
|
+
), De(B.value)) : (clearInterval(ne), E.value = !1, K());
|
|
5002
5008
|
}, 12);
|
|
5003
5009
|
});
|
|
5004
5010
|
}
|
|
5005
5011
|
function ot(w) {
|
|
5006
|
-
|
|
5012
|
+
N.value = !0, C("onError", w);
|
|
5007
5013
|
}
|
|
5008
5014
|
const at = (w) => w * (180 / Math.PI);
|
|
5009
5015
|
return (w, O) => {
|
|
5010
|
-
const
|
|
5011
|
-
return u(),
|
|
5012
|
-
y(
|
|
5016
|
+
const K = L("v-progress-circular"), ne = L("v-skeleton-loader");
|
|
5017
|
+
return u(), I(we, null, [
|
|
5018
|
+
y(ne, {
|
|
5013
5019
|
type: "image",
|
|
5014
5020
|
class: "w-100 h-100 position-relative",
|
|
5015
|
-
loading: !
|
|
5021
|
+
loading: !U.value || !M.value
|
|
5016
5022
|
}, {
|
|
5017
5023
|
default: m(() => [
|
|
5018
|
-
|
|
5019
|
-
y(
|
|
5024
|
+
se.value ? F("", !0) : (u(), I("div", zs, [
|
|
5025
|
+
y(K, {
|
|
5020
5026
|
"model-value": G.value,
|
|
5021
5027
|
size: 128,
|
|
5022
5028
|
width: 12
|
|
@@ -5026,87 +5032,87 @@ const zs = {
|
|
|
5026
5032
|
default: m(() => [
|
|
5027
5033
|
e("div", {
|
|
5028
5034
|
ref_key: "container",
|
|
5029
|
-
ref:
|
|
5030
|
-
class: ce({ mobile:
|
|
5035
|
+
ref: z,
|
|
5036
|
+
class: ce({ mobile: j.value }),
|
|
5031
5037
|
style: { "min-height": "160px" },
|
|
5032
5038
|
onMousemove: ft
|
|
5033
5039
|
}, [
|
|
5034
|
-
w.showUi ? (u(),
|
|
5040
|
+
w.showUi ? (u(), I("div", {
|
|
5035
5041
|
key: 0,
|
|
5036
5042
|
class: "persistent actions-bar top-right pa-2",
|
|
5037
|
-
style:
|
|
5043
|
+
style: oe({
|
|
5038
5044
|
zIndex: 7,
|
|
5039
|
-
top:
|
|
5045
|
+
top: j.value && q.value.length > 1 ? "60px" : 0
|
|
5040
5046
|
})
|
|
5041
5047
|
}, [
|
|
5042
5048
|
c.value.cameraRotation ? (u(), T(Yt, {
|
|
5043
5049
|
key: 0,
|
|
5044
5050
|
class: "mb-2",
|
|
5045
|
-
style:
|
|
5051
|
+
style: oe({
|
|
5046
5052
|
zIndex: 7,
|
|
5047
|
-
width:
|
|
5048
|
-
height:
|
|
5053
|
+
width: j.value ? 32 : 40,
|
|
5054
|
+
height: j.value ? 32 : 40
|
|
5049
5055
|
}),
|
|
5050
5056
|
longitude: at(c.value.cameraRotation.y) + 270
|
|
5051
5057
|
}, null, 8, ["style", "longitude"])) : F("", !0),
|
|
5052
5058
|
y(Ms, {
|
|
5053
|
-
"is-mobile-sized":
|
|
5059
|
+
"is-mobile-sized": j.value,
|
|
5054
5060
|
"can-zoom-out": Q.value.min < Q.value.current,
|
|
5055
5061
|
"can-zoom-in": Q.value.max > Q.value.current,
|
|
5056
|
-
disabled:
|
|
5057
|
-
onOnZoomIn: O[0] || (O[0] = (
|
|
5058
|
-
onOnZoomOut: O[1] || (O[1] = (
|
|
5062
|
+
disabled: E.value,
|
|
5063
|
+
onOnZoomIn: O[0] || (O[0] = (ae) => He(!0)),
|
|
5064
|
+
onOnZoomOut: O[1] || (O[1] = (ae) => He(!1))
|
|
5059
5065
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5060
5066
|
], 4)) : F("", !0),
|
|
5061
|
-
w.showUi &&
|
|
5067
|
+
w.showUi && q.value.length > 1 ? (u(), I("div", {
|
|
5062
5068
|
key: 1,
|
|
5063
5069
|
class: ce([{
|
|
5064
5070
|
"actions-bar bottom-center pb-2": !0,
|
|
5065
|
-
"px-0":
|
|
5071
|
+
"px-0": j.value
|
|
5066
5072
|
}, "still-cameras-wrapper"]),
|
|
5067
5073
|
style: { "z-index": "7" }
|
|
5068
5074
|
}, [
|
|
5069
5075
|
y(Cs, {
|
|
5070
|
-
"is-mobile-sized":
|
|
5071
|
-
"still-cameras":
|
|
5076
|
+
"is-mobile-sized": j.value,
|
|
5077
|
+
"still-cameras": q.value,
|
|
5072
5078
|
"current-camera": c.value,
|
|
5073
|
-
disabled:
|
|
5079
|
+
disabled: E.value,
|
|
5074
5080
|
"cdn-file-resolver": p(a),
|
|
5075
5081
|
onOnCameraChange: xe
|
|
5076
5082
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
5077
5083
|
], 2)) : F("", !0),
|
|
5078
5084
|
y($n, {
|
|
5079
5085
|
ref_key: "zoomBox",
|
|
5080
|
-
ref:
|
|
5086
|
+
ref: D,
|
|
5081
5087
|
position: "relative",
|
|
5082
5088
|
onUpdate: tt
|
|
5083
5089
|
}, {
|
|
5084
5090
|
default: m(() => [
|
|
5085
5091
|
e("div", {
|
|
5086
5092
|
class: "w-100 position-relative",
|
|
5087
|
-
style:
|
|
5093
|
+
style: oe({ height: `${ke.value}px` })
|
|
5088
5094
|
}, [
|
|
5089
|
-
(u(!0),
|
|
5095
|
+
(u(!0), I(we, null, Ee(q.value, (ae, Ce) => (u(), T(ds, {
|
|
5090
5096
|
key: `camera${Ce}`,
|
|
5091
|
-
"camera-data":
|
|
5097
|
+
"camera-data": ae,
|
|
5092
5098
|
"cdn-file-resolver": p(a),
|
|
5093
5099
|
"current-camera": c.value,
|
|
5094
5100
|
"current-day": d.value,
|
|
5095
5101
|
"current-time": k.value
|
|
5096
5102
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5097
|
-
(u(!0),
|
|
5103
|
+
(u(!0), I(we, null, Ee(ge.value, (ae, Ce) => (u(), T(ps, {
|
|
5098
5104
|
key: `transition${Ce}`,
|
|
5099
|
-
"transition-data":
|
|
5105
|
+
"transition-data": ae,
|
|
5100
5106
|
"cdn-file-resolver": p(a),
|
|
5101
5107
|
"current-transition": x.value
|
|
5102
5108
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
5103
|
-
p(h) ? (u(),
|
|
5109
|
+
p(h) ? (u(), I("div", {
|
|
5104
5110
|
key: 0,
|
|
5105
5111
|
class: "w-100 h-100 position-absolute top-left",
|
|
5106
5112
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5107
5113
|
innerHTML: p(h)
|
|
5108
5114
|
}, null, 8, js)) : F("", !0),
|
|
5109
|
-
c.value.overlayFilename && !
|
|
5115
|
+
c.value.overlayFilename && !N.value ? Ke((u(), T(Ds, {
|
|
5110
5116
|
key: 1,
|
|
5111
5117
|
"cdn-file-resolver": p(a),
|
|
5112
5118
|
"color-callback": p(s),
|
|
@@ -5116,37 +5122,37 @@ const zs = {
|
|
|
5116
5122
|
onOnClick: ye,
|
|
5117
5123
|
onOnHoverOver: ue,
|
|
5118
5124
|
onOnHoverOut: Me,
|
|
5119
|
-
onUpdateSvgContainer: O[2] || (O[2] = (
|
|
5125
|
+
onUpdateSvgContainer: O[2] || (O[2] = (ae) => Ae.value = ae),
|
|
5120
5126
|
onOnError: ot
|
|
5121
5127
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5122
5128
|
[ut, x.value === null]
|
|
5123
5129
|
]) : F("", !0),
|
|
5124
|
-
|
|
5130
|
+
X(w.$slots, "default", {}, void 0, !0)
|
|
5125
5131
|
], 4)
|
|
5126
5132
|
]),
|
|
5127
5133
|
_: 3
|
|
5128
5134
|
}, 512),
|
|
5129
|
-
w.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(),
|
|
5135
|
+
w.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(), I("div", {
|
|
5130
5136
|
key: 2,
|
|
5131
5137
|
class: ce({
|
|
5132
5138
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
5133
|
-
"px-0":
|
|
5139
|
+
"px-0": j.value
|
|
5134
5140
|
}),
|
|
5135
5141
|
style: { "z-index": "7" }
|
|
5136
5142
|
}, [
|
|
5137
5143
|
y(gs, {
|
|
5138
5144
|
class: "pr-2",
|
|
5139
|
-
"is-mobile-sized":
|
|
5145
|
+
"is-mobile-sized": j.value,
|
|
5140
5146
|
"current-camera": c.value,
|
|
5141
5147
|
"current-day": d.value,
|
|
5142
|
-
disabled:
|
|
5148
|
+
disabled: E.value,
|
|
5143
5149
|
onOnDayChange: fe
|
|
5144
5150
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5145
|
-
y(
|
|
5146
|
-
"is-mobile-sized":
|
|
5151
|
+
y(Is, {
|
|
5152
|
+
"is-mobile-sized": j.value,
|
|
5147
5153
|
"current-day": d.value,
|
|
5148
5154
|
"current-time": k.value,
|
|
5149
|
-
disabled:
|
|
5155
|
+
disabled: E.value,
|
|
5150
5156
|
onOnTimeChange: Be
|
|
5151
5157
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5152
5158
|
], 2)) : F("", !0),
|
|
@@ -5157,12 +5163,12 @@ const zs = {
|
|
|
5157
5163
|
}, {
|
|
5158
5164
|
default: m(() => [
|
|
5159
5165
|
e("div", Ws, [
|
|
5160
|
-
|
|
5166
|
+
X(w.$slots, "popup", xn(In({ hoverId: R.value, hoverable: be.value })), void 0, !0)
|
|
5161
5167
|
])
|
|
5162
5168
|
]),
|
|
5163
5169
|
_: 3
|
|
5164
5170
|
}, 8, ["is-hoverable", "pos"])) : F("", !0),
|
|
5165
|
-
w.version && w.showVersion ? (u(),
|
|
5171
|
+
w.version && w.showVersion ? (u(), I("div", Ps, " version: " + Y(w.version), 1)) : F("", !0)
|
|
5166
5172
|
], 34)
|
|
5167
5173
|
]),
|
|
5168
5174
|
_: 3
|
|
@@ -5177,13 +5183,13 @@ const zs = {
|
|
|
5177
5183
|
], 64);
|
|
5178
5184
|
};
|
|
5179
5185
|
}
|
|
5180
|
-
}), Rt = /* @__PURE__ */ ee(
|
|
5186
|
+
}), Rt = /* @__PURE__ */ ee(Ns, [["__scopeId", "data-v-0666e1f2"]]), Ks = {
|
|
5181
5187
|
install: function(n) {
|
|
5182
5188
|
n.component("VStructureChooser", Rt), n.component("VVirtualTour", Rl), n.component("VManualSlideShow", os), n.component("VStructureChooser", Rt);
|
|
5183
5189
|
}
|
|
5184
5190
|
};
|
|
5185
5191
|
export {
|
|
5186
|
-
|
|
5192
|
+
Ne as ResourceLoader,
|
|
5187
5193
|
Vn as VFloatingCard,
|
|
5188
5194
|
Bn as VHoverProbe,
|
|
5189
5195
|
os as VManualSlideShow,
|