@qispace/vue3-player 0.4.16 → 0.4.18
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
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ue = (t, l, n) => (
|
|
4
|
-
import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as
|
|
5
|
-
import
|
|
6
|
-
import * as
|
|
7
|
-
import { Vector3 as
|
|
8
|
-
const
|
|
1
|
+
var Cn = Object.defineProperty;
|
|
2
|
+
var Sn = (t, l, n) => l in t ? Cn(t, l, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[l] = n;
|
|
3
|
+
var Ue = (t, l, n) => (Sn(t, typeof l != "symbol" ? l + "" : l, n), n);
|
|
4
|
+
import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as T, withCtx as v, createElementBlock as L, normalizeStyle as ae, renderSlot as K, ref as _, unref as m, watch as j, onMounted as Re, onBeforeUnmount as ot, createElementVNode as e, toRefs as Ce, nextTick as $e, inject as Ie, createVNode as y, mergeProps as Ee, toDisplayString as P, createTextVNode as le, Fragment as xe, renderList as Me, normalizeClass as me, pushScopeId as vt, popScopeId as mt, Transition as Ve, createCommentVNode as V, withDirectives as tt, vModelText as An, createStaticVNode as Yt, onBeforeUpdate as xn, withModifiers as In, provide as nt, vShow as rt, reactive as Ln, watchEffect as Ft, normalizeProps as En, guardReactiveProps as Mn } from "vue";
|
|
5
|
+
import ut from "axios";
|
|
6
|
+
import * as Fn from "@qispace/player-core";
|
|
7
|
+
import { Vector3 as Ke, Object3D as Vn, MathUtils as Dn } from "three";
|
|
8
|
+
const Bn = /* @__PURE__ */ J({
|
|
9
9
|
__name: "VFloatingCard",
|
|
10
10
|
props: {
|
|
11
11
|
pos: {},
|
|
@@ -19,14 +19,14 @@ const Dn = /* @__PURE__ */ J({
|
|
|
19
19
|
});
|
|
20
20
|
return (o, s) => {
|
|
21
21
|
const r = E("v-dialog"), p = E("v-fade-transition");
|
|
22
|
-
return u(),
|
|
22
|
+
return u(), T(p, {
|
|
23
23
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
24
24
|
}, {
|
|
25
25
|
default: v(() => [
|
|
26
26
|
o.isHoverable ? (u(), L("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "floating-card",
|
|
29
|
-
style:
|
|
29
|
+
style: ae({
|
|
30
30
|
left: `${o.pos.x}px`,
|
|
31
31
|
top: `${o.pos.y}px`,
|
|
32
32
|
pointerEvents: "none",
|
|
@@ -34,7 +34,7 @@ const Dn = /* @__PURE__ */ J({
|
|
|
34
34
|
})
|
|
35
35
|
}, [
|
|
36
36
|
K(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
37
|
-
], 4)) : (u(),
|
|
37
|
+
], 4)) : (u(), T(r, {
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
40
40
|
width: "auto",
|
|
@@ -50,12 +50,12 @@ const Dn = /* @__PURE__ */ J({
|
|
|
50
50
|
}, 8, ["origin"]);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), ne = (t, l) => {
|
|
54
54
|
const n = t.__vccOpts || t;
|
|
55
55
|
for (const [a, i] of l)
|
|
56
56
|
n[a] = i;
|
|
57
57
|
return n;
|
|
58
|
-
},
|
|
58
|
+
}, Tn = /* @__PURE__ */ ne(Bn, [["__scopeId", "data-v-7d5e6067"]]), On = /* @__PURE__ */ J({
|
|
59
59
|
__name: "VHoverProbe",
|
|
60
60
|
setup(t, { expose: l }) {
|
|
61
61
|
const n = _(), a = D(() => window.getComputedStyle(n.value).display === "none");
|
|
@@ -67,7 +67,7 @@ const Dn = /* @__PURE__ */ J({
|
|
|
67
67
|
class: "hover-check"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), $n = /* @__PURE__ */ ne(On, [["__scopeId", "data-v-eb9b348d"]]), Rn = "data:image/png;base64,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", Ht = /* @__PURE__ */ J({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
@@ -79,13 +79,13 @@ const Dn = /* @__PURE__ */ J({
|
|
|
79
79
|
}));
|
|
80
80
|
return (a, i) => {
|
|
81
81
|
const o = E("v-img");
|
|
82
|
-
return u(),
|
|
83
|
-
src: m(
|
|
84
|
-
style:
|
|
82
|
+
return u(), T(o, {
|
|
83
|
+
src: m(Rn),
|
|
84
|
+
style: ae(n.value)
|
|
85
85
|
}, null, 8, ["src", "style"]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), Yn = /* @__PURE__ */ J({
|
|
89
89
|
__name: "VZoomBox",
|
|
90
90
|
props: {
|
|
91
91
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -99,38 +99,38 @@ const Dn = /* @__PURE__ */ J({
|
|
|
99
99
|
setup(t, { expose: l, emit: n }) {
|
|
100
100
|
const a = t, i = n;
|
|
101
101
|
l({
|
|
102
|
-
adjustZoom:
|
|
102
|
+
adjustZoom: se
|
|
103
103
|
});
|
|
104
104
|
const o = _(100), s = _(0), r = _(0), p = _(!1), h = _(!1), g = _(void 0), w = _(!1), k = _(), F = D(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = D(() => o.value / 100), d = D(() => a.maxScale * 100);
|
|
105
|
-
|
|
105
|
+
j(
|
|
106
106
|
[C, s, r],
|
|
107
107
|
() => {
|
|
108
108
|
H();
|
|
109
109
|
},
|
|
110
110
|
{ immediate: !0 }
|
|
111
|
-
),
|
|
111
|
+
), j(
|
|
112
112
|
() => a.desktop,
|
|
113
113
|
() => {
|
|
114
114
|
a.desktop ? f() : I();
|
|
115
115
|
}
|
|
116
|
-
),
|
|
116
|
+
), j(
|
|
117
117
|
() => a.mobile,
|
|
118
118
|
() => {
|
|
119
119
|
a.mobile ? S() : A();
|
|
120
120
|
}
|
|
121
121
|
), Re(() => {
|
|
122
122
|
a.desktop && f(), a.mobile && S();
|
|
123
|
-
}),
|
|
123
|
+
}), ot(() => {
|
|
124
124
|
a.desktop && I(), a.mobile && A();
|
|
125
125
|
});
|
|
126
126
|
function f() {
|
|
127
127
|
k.value.addEventListener("wheel", R, {
|
|
128
128
|
capture: !0
|
|
129
|
-
}), k.value.addEventListener("mousedown",
|
|
129
|
+
}), k.value.addEventListener("mousedown", X, {
|
|
130
130
|
capture: !0
|
|
131
131
|
}), k.value.addEventListener("mousemove", $, {
|
|
132
132
|
capture: !0
|
|
133
|
-
}), window.addEventListener("mouseup",
|
|
133
|
+
}), window.addEventListener("mouseup", te, {
|
|
134
134
|
capture: !0
|
|
135
135
|
}), window.addEventListener("click", de, {
|
|
136
136
|
capture: !0
|
|
@@ -141,20 +141,20 @@ const Dn = /* @__PURE__ */ J({
|
|
|
141
141
|
capture: !0
|
|
142
142
|
}), k.value.addEventListener("touchmove", Se, {
|
|
143
143
|
capture: !0
|
|
144
|
-
}), window.addEventListener("touchend",
|
|
144
|
+
}), window.addEventListener("touchend", ye, {
|
|
145
145
|
capture: !0
|
|
146
|
-
}), window.addEventListener("touchcancel",
|
|
146
|
+
}), window.addEventListener("touchcancel", ye, {
|
|
147
147
|
capture: !0
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
function I() {
|
|
151
151
|
k.value.removeEventListener("wheel", R, {
|
|
152
152
|
capture: !0
|
|
153
|
-
}), k.value.removeEventListener("mousedown",
|
|
153
|
+
}), k.value.removeEventListener("mousedown", X, {
|
|
154
154
|
capture: !0
|
|
155
155
|
}), k.value.removeEventListener("mousemove", $, {
|
|
156
156
|
capture: !0
|
|
157
|
-
}), window.removeEventListener("mouseup",
|
|
157
|
+
}), window.removeEventListener("mouseup", te, {
|
|
158
158
|
capture: !0
|
|
159
159
|
}), window.removeEventListener("click", de, {
|
|
160
160
|
capture: !0
|
|
@@ -165,29 +165,29 @@ const Dn = /* @__PURE__ */ J({
|
|
|
165
165
|
capture: !0
|
|
166
166
|
}), k.value.removeEventListener("touchmove", Se, {
|
|
167
167
|
capture: !0
|
|
168
|
-
}), window.removeEventListener("touchend",
|
|
168
|
+
}), window.removeEventListener("touchend", ye, {
|
|
169
169
|
capture: !0
|
|
170
|
-
}), window.removeEventListener("touchcancel",
|
|
170
|
+
}), window.removeEventListener("touchcancel", ye, {
|
|
171
171
|
capture: !0
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
function R(M) {
|
|
175
|
-
const { x:
|
|
176
|
-
|
|
175
|
+
const { x: q, y: Q } = O(M);
|
|
176
|
+
se(-M.deltaY / 10, q, Q), M.preventDefault();
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function X(M) {
|
|
179
179
|
p.value = !0, w.value = !1, g.value = M;
|
|
180
180
|
}
|
|
181
181
|
function $(M) {
|
|
182
182
|
if (p.value) {
|
|
183
|
-
const { x:
|
|
184
|
-
x:
|
|
185
|
-
y:
|
|
183
|
+
const { x: q, y: Q } = O(M), { x: U, y: oe } = O(g.value), Z = {
|
|
184
|
+
x: q - U,
|
|
185
|
+
y: Q - oe
|
|
186
186
|
};
|
|
187
|
-
|
|
187
|
+
re(Z.x), N(Z.y), w.value = !0, g.value = M;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function te(M) {
|
|
191
191
|
p.value && w.value && a.consumeMouseUpWhenMoved && (M.preventDefault(), M.stopImmediatePropagation());
|
|
192
192
|
}
|
|
193
193
|
function de(M) {
|
|
@@ -198,52 +198,52 @@ const Dn = /* @__PURE__ */ J({
|
|
|
198
198
|
}
|
|
199
199
|
function Se(M) {
|
|
200
200
|
if (p.value) {
|
|
201
|
-
const { x:
|
|
201
|
+
const { x: q, y: Q } = O(M.touches[0]), { x: U, y: oe } = O(
|
|
202
202
|
g.value.touches[0]
|
|
203
|
-
),
|
|
204
|
-
x:
|
|
205
|
-
y:
|
|
203
|
+
), Z = {
|
|
204
|
+
x: q - U,
|
|
205
|
+
y: Q - oe
|
|
206
206
|
};
|
|
207
|
-
|
|
207
|
+
re(Z.x), N(Z.y);
|
|
208
208
|
} else if (h.value && M.touches.length === 2) {
|
|
209
|
-
const { x:
|
|
209
|
+
const { x: q, y: Q } = O(M.touches[0]), { x: U, y: oe } = O(
|
|
210
210
|
g.value.touches[0]
|
|
211
|
-
), { x:
|
|
211
|
+
), { x: Z, y: ie } = O(M.touches[1]), { x: W, y: pe } = O(
|
|
212
212
|
g.value.touches[1]
|
|
213
|
-
), he = Math.hypot(U -
|
|
214
|
-
|
|
213
|
+
), he = Math.hypot(U - W, oe - pe), ve = Math.hypot(q - Z, Q - ie), be = (Z + q) / 2, we = (ie + Q) / 2;
|
|
214
|
+
se(ve - he, be, we);
|
|
215
215
|
}
|
|
216
216
|
g.value = M;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function ye() {
|
|
219
219
|
p.value = !1, h.value = !1;
|
|
220
220
|
}
|
|
221
221
|
function O(M) {
|
|
222
|
-
const { left:
|
|
222
|
+
const { left: q, top: Q } = k.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
|
-
x: M.clientX -
|
|
225
|
-
y: M.clientY -
|
|
224
|
+
x: M.clientX - q,
|
|
225
|
+
y: M.clientY - Q
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const
|
|
228
|
+
function re(M) {
|
|
229
|
+
const q = k.value.clientWidth, Q = q * C.value;
|
|
230
230
|
s.value = Math.max(
|
|
231
231
|
Math.min(0, s.value + M),
|
|
232
|
-
-(
|
|
232
|
+
-(Q - q)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const
|
|
235
|
+
function N(M) {
|
|
236
|
+
const q = k.value.clientHeight, Q = q * C.value;
|
|
237
237
|
r.value = Math.max(
|
|
238
238
|
Math.min(0, r.value + M),
|
|
239
|
-
-(
|
|
239
|
+
-(Q - q)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
const U =
|
|
242
|
+
function se(M, q, Q) {
|
|
243
|
+
const U = q !== void 0 ? q : k.value.clientWidth / 2, oe = Q !== void 0 ? Q : k.value.clientHeight / 2, Z = k.value.clientWidth, ie = k.value.clientHeight, W = Z * C.value, pe = ie * C.value;
|
|
244
244
|
o.value = Math.min(Math.max(100, o.value + M), d.value);
|
|
245
|
-
const he =
|
|
246
|
-
s.value -= U /
|
|
245
|
+
const he = Z * C.value, ve = ie * C.value, be = he - W, we = ve - pe;
|
|
246
|
+
s.value -= U / Z * be, r.value -= oe / ie * we, re(0), N(0);
|
|
247
247
|
}
|
|
248
248
|
function H() {
|
|
249
249
|
i("update", {
|
|
@@ -253,71 +253,71 @@ const Dn = /* @__PURE__ */ J({
|
|
|
253
253
|
current: Math.min(Math.max(100, o.value), d.value),
|
|
254
254
|
min: 100,
|
|
255
255
|
max: d.value,
|
|
256
|
-
resolve: (M,
|
|
257
|
-
const
|
|
256
|
+
resolve: (M, q) => {
|
|
257
|
+
const Q = k.value.clientWidth, U = k.value.clientHeight, oe = s.value / -C.value, Z = r.value / -C.value, ie = oe + Q / C.value, W = Z + U / C.value, pe = M / Q * (ie - oe) + oe, he = q / U * (W - Z) + Z;
|
|
258
258
|
return { x: pe, y: he };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (M,
|
|
262
|
+
return (M, q) => (u(), L("div", {
|
|
263
263
|
ref_key: "box",
|
|
264
264
|
ref: k,
|
|
265
265
|
class: "zoom-box-container",
|
|
266
|
-
style:
|
|
266
|
+
style: ae({ position: a.position })
|
|
267
267
|
}, [
|
|
268
268
|
e("div", {
|
|
269
|
-
style:
|
|
269
|
+
style: ae({ "transform-origin": "top left", transform: F.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
272
|
K(M.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), Hn = /* @__PURE__ */ ne(Yn, [["__scopeId", "data-v-3e334a46"]]);
|
|
277
277
|
var qe = {};
|
|
278
278
|
Object.defineProperty(qe, "__esModule", {
|
|
279
279
|
value: !0
|
|
280
280
|
});
|
|
281
|
-
var
|
|
281
|
+
var Un = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
282
282
|
return typeof t;
|
|
283
283
|
} : function(t) {
|
|
284
284
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
285
|
-
},
|
|
286
|
-
qe.isWebWorker =
|
|
287
|
-
qe.isNode =
|
|
288
|
-
qe.isJsDom =
|
|
289
|
-
qe.isDeno =
|
|
290
|
-
function
|
|
285
|
+
}, zn = typeof window < "u" && typeof window.document < "u", jn = typeof process < "u" && process.versions != null && process.versions.node != null, Wn = (typeof self > "u" ? "undefined" : Un(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Pn = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), Nn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", Qn = qe.isBrowser = zn;
|
|
286
|
+
qe.isWebWorker = Wn;
|
|
287
|
+
qe.isNode = jn;
|
|
288
|
+
qe.isJsDom = Pn;
|
|
289
|
+
qe.isDeno = Nn;
|
|
290
|
+
function _e(t, l) {
|
|
291
291
|
return typeof t == "string" ? `${t}${l}` : t(l);
|
|
292
292
|
}
|
|
293
|
-
const
|
|
293
|
+
const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
|
|
294
294
|
class: "player-control",
|
|
295
295
|
id: "controls-top-left"
|
|
296
|
-
},
|
|
296
|
+
}, Xn = {
|
|
297
297
|
class: "player-control",
|
|
298
298
|
id: "controls-top-center"
|
|
299
299
|
}, Gn = {
|
|
300
300
|
class: "player-control",
|
|
301
301
|
id: "controls-top-right"
|
|
302
|
-
},
|
|
302
|
+
}, Kn = {
|
|
303
303
|
class: "player-control",
|
|
304
304
|
id: "controls-center-left"
|
|
305
|
-
},
|
|
305
|
+
}, eo = {
|
|
306
306
|
class: "player-control",
|
|
307
307
|
id: "controls-center-center"
|
|
308
|
-
},
|
|
308
|
+
}, to = {
|
|
309
309
|
class: "player-control",
|
|
310
310
|
id: "controls-center-right"
|
|
311
|
-
},
|
|
311
|
+
}, no = {
|
|
312
312
|
class: "player-control",
|
|
313
313
|
id: "controls-bottom-left"
|
|
314
|
-
},
|
|
314
|
+
}, oo = {
|
|
315
315
|
class: "player-control",
|
|
316
316
|
id: "controls-bottom-center"
|
|
317
|
-
},
|
|
317
|
+
}, ao = {
|
|
318
318
|
class: "player-control",
|
|
319
319
|
id: "controls-bottom-right"
|
|
320
|
-
},
|
|
320
|
+
}, lo = { id: "main-canvas" }, so = /* @__PURE__ */ J({
|
|
321
321
|
__name: "VPlayer",
|
|
322
322
|
props: {
|
|
323
323
|
cdnFileResolver: {},
|
|
@@ -329,7 +329,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
329
329
|
},
|
|
330
330
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "sunsimCallback", "playerApiCallback", "newSizeCallback", "frontendMarkersUpdate"],
|
|
331
331
|
setup(t, { expose: l, emit: n }) {
|
|
332
|
-
const a =
|
|
332
|
+
const a = Fn.PlayerV2;
|
|
333
333
|
l({
|
|
334
334
|
updateFrontendMarkers: (A) => {
|
|
335
335
|
k.value && f.value ? k.value.updateFrontendMarkers(A) : console.warn(
|
|
@@ -345,24 +345,24 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
345
345
|
showStaticImage: h,
|
|
346
346
|
mouseSensitivity: g
|
|
347
347
|
} = Ce(i), w = n, k = _(), F = _(p.value), C = _(0), d = _(0), f = _(!1);
|
|
348
|
-
|
|
348
|
+
j(p, () => {
|
|
349
349
|
F.value = p.value;
|
|
350
|
-
}),
|
|
350
|
+
}), j([s, r], async () => {
|
|
351
351
|
k.value && await k.value.loadInterior(
|
|
352
|
-
(A) =>
|
|
352
|
+
(A) => _e(
|
|
353
353
|
o.value,
|
|
354
354
|
`/${s.value}/${r.value}${A}`
|
|
355
355
|
),
|
|
356
356
|
F.value,
|
|
357
357
|
!1
|
|
358
358
|
);
|
|
359
|
-
}),
|
|
359
|
+
}), j(
|
|
360
360
|
F,
|
|
361
361
|
() => {
|
|
362
362
|
k.value && k.value.goToCamera(F.value, !0), w("newCameraCallback", F.value);
|
|
363
363
|
},
|
|
364
364
|
{ immediate: !0 }
|
|
365
|
-
),
|
|
365
|
+
), j(
|
|
366
366
|
[o],
|
|
367
367
|
async () => {
|
|
368
368
|
await I(), $e(async () => {
|
|
@@ -370,7 +370,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
370
370
|
});
|
|
371
371
|
},
|
|
372
372
|
{ immediate: !0, deep: !0 }
|
|
373
|
-
),
|
|
373
|
+
), j(k, () => {
|
|
374
374
|
if (k.value) {
|
|
375
375
|
w("playerApiCallback", k.value);
|
|
376
376
|
const A = k.value.getCurrentCamera();
|
|
@@ -379,7 +379,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
379
379
|
});
|
|
380
380
|
async function S() {
|
|
381
381
|
I();
|
|
382
|
-
const
|
|
382
|
+
const te = {
|
|
383
383
|
initialized: () => {
|
|
384
384
|
k.value = a.Main.getPlayerAPI();
|
|
385
385
|
const Y = k.value.getCurrentCamera();
|
|
@@ -399,15 +399,15 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
399
399
|
w("frontendMarkersUpdate", Y);
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
if (!
|
|
402
|
+
if (!Qn)
|
|
403
403
|
return;
|
|
404
404
|
const de = await new a.Main(
|
|
405
|
-
(Y) =>
|
|
405
|
+
(Y) => _e(
|
|
406
406
|
o.value,
|
|
407
407
|
`/${s.value}/${r.value}${Y}`
|
|
408
408
|
),
|
|
409
409
|
"qpc",
|
|
410
|
-
|
|
410
|
+
te,
|
|
411
411
|
void 0,
|
|
412
412
|
F.value
|
|
413
413
|
);
|
|
@@ -419,52 +419,52 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
419
419
|
async function I() {
|
|
420
420
|
k.value && (await k.value.destroy(), k.value = void 0);
|
|
421
421
|
}
|
|
422
|
-
return
|
|
422
|
+
return ot(() => {
|
|
423
423
|
I();
|
|
424
|
-
}), (A, R) => (u(), L("div",
|
|
425
|
-
e("div",
|
|
424
|
+
}), (A, R) => (u(), L("div", Zn, [
|
|
425
|
+
e("div", qn, [
|
|
426
426
|
K(A.$slots, "slideshow-image", {}, void 0, !0),
|
|
427
|
-
e("div",
|
|
427
|
+
e("div", Jn, [
|
|
428
428
|
K(A.$slots, "top-left", {}, void 0, !0)
|
|
429
429
|
]),
|
|
430
|
-
e("div",
|
|
430
|
+
e("div", Xn, [
|
|
431
431
|
K(A.$slots, "top-center", {}, void 0, !0)
|
|
432
432
|
]),
|
|
433
433
|
e("div", Gn, [
|
|
434
434
|
K(A.$slots, "top-right", {}, void 0, !0)
|
|
435
435
|
]),
|
|
436
|
-
e("div",
|
|
436
|
+
e("div", Kn, [
|
|
437
437
|
K(A.$slots, "center-left", {}, void 0, !0)
|
|
438
438
|
]),
|
|
439
|
-
e("div",
|
|
439
|
+
e("div", eo, [
|
|
440
440
|
K(A.$slots, "center-center", {}, void 0, !0)
|
|
441
441
|
]),
|
|
442
|
-
e("div",
|
|
442
|
+
e("div", to, [
|
|
443
443
|
K(A.$slots, "center-right", {}, void 0, !0)
|
|
444
444
|
]),
|
|
445
|
-
e("div",
|
|
445
|
+
e("div", no, [
|
|
446
446
|
K(A.$slots, "bottom-left", {}, void 0, !0)
|
|
447
447
|
]),
|
|
448
|
-
e("div",
|
|
448
|
+
e("div", oo, [
|
|
449
449
|
K(A.$slots, "bottom-center", {}, void 0, !0)
|
|
450
450
|
]),
|
|
451
|
-
e("div",
|
|
451
|
+
e("div", ao, [
|
|
452
452
|
K(A.$slots, "bottom-right", {}, void 0, !0)
|
|
453
453
|
]),
|
|
454
|
-
e("div",
|
|
454
|
+
e("div", lo, [
|
|
455
455
|
e("canvas", {
|
|
456
456
|
id: "qpc",
|
|
457
|
-
style:
|
|
457
|
+
style: ae(m(h) ? "visibility:hidden" : "visibility:visible")
|
|
458
458
|
}, null, 4)
|
|
459
459
|
])
|
|
460
460
|
])
|
|
461
461
|
]));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), io = /* @__PURE__ */ ne(so, [["__scopeId", "data-v-9d31b948"]]), De = Symbol(), ro = {
|
|
464
464
|
style: { width: "24px", height: "24px" },
|
|
465
465
|
viewBox: "0 0 18 16",
|
|
466
466
|
xmlns: "http://www.w3.org/2000/svg"
|
|
467
|
-
},
|
|
467
|
+
}, uo = ["stroke"], co = ["stroke"], vo = { class: "floor-level-label" }, mo = /* @__PURE__ */ J({
|
|
468
468
|
__name: "VFloorLevel",
|
|
469
469
|
props: {
|
|
470
470
|
level: { default: 0 },
|
|
@@ -482,7 +482,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
482
482
|
}
|
|
483
483
|
return (g, w) => {
|
|
484
484
|
const k = E("v-btn"), F = E("v-tooltip");
|
|
485
|
-
return u(),
|
|
485
|
+
return u(), T(F, {
|
|
486
486
|
right: "",
|
|
487
487
|
attach: ""
|
|
488
488
|
}, {
|
|
@@ -494,34 +494,34 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
494
494
|
icon: ""
|
|
495
495
|
}, C, { onClick: h }), {
|
|
496
496
|
default: v(() => [
|
|
497
|
-
(u(), L("svg",
|
|
497
|
+
(u(), L("svg", ro, [
|
|
498
498
|
e("path", {
|
|
499
499
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
500
500
|
fill: "white",
|
|
501
501
|
stroke: p.value ? "black" : "#999999",
|
|
502
502
|
"stroke-width": "1.5",
|
|
503
503
|
"stroke-linejoin": "round"
|
|
504
|
-
}, null, 8,
|
|
504
|
+
}, null, 8, uo),
|
|
505
505
|
e("path", {
|
|
506
506
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
507
507
|
fill: "white",
|
|
508
508
|
stroke: r.value ? "black" : "#999999",
|
|
509
509
|
"stroke-width": "1.5",
|
|
510
510
|
"stroke-linejoin": "round"
|
|
511
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, co)
|
|
512
512
|
]))
|
|
513
513
|
]),
|
|
514
514
|
_: 2
|
|
515
515
|
}, 1040)
|
|
516
516
|
]),
|
|
517
517
|
default: v(() => [
|
|
518
|
-
e("span",
|
|
518
|
+
e("span", vo, P(m(i).getLabel(s.value)) + " " + P(m(i).getLabel("floor")), 1)
|
|
519
519
|
]),
|
|
520
520
|
_: 1
|
|
521
521
|
});
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
}),
|
|
524
|
+
}), po = /* @__PURE__ */ ne(mo, [["__scopeId", "data-v-4c45966e"]]), fo = { class: "d-none d-md-inline" }, ho = { class: "interior-selector-list" }, go = ["onClick"], yo = { class: "d-flex align-center justify-left pa-0 ma-0" }, _o = { class: "pa-0 ma-0" }, bo = { class: "text-caption ma-2 no-wrap" }, wo = /* @__PURE__ */ J({
|
|
525
525
|
__name: "VInteriorSelector",
|
|
526
526
|
props: {
|
|
527
527
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -546,26 +546,26 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
546
546
|
default: v(() => [
|
|
547
547
|
y(r, null, {
|
|
548
548
|
default: v(() => [
|
|
549
|
-
|
|
549
|
+
le("mdi-palette-outline")
|
|
550
550
|
]),
|
|
551
551
|
_: 1
|
|
552
552
|
}),
|
|
553
|
-
e("span",
|
|
553
|
+
e("span", fo, P(m(i).getLabel("interior")), 1)
|
|
554
554
|
]),
|
|
555
555
|
_: 2
|
|
556
556
|
}, 1040)
|
|
557
557
|
]),
|
|
558
558
|
default: v(() => [
|
|
559
|
-
e("div",
|
|
560
|
-
(u(!0), L(
|
|
559
|
+
e("div", ho, [
|
|
560
|
+
(u(!0), L(xe, null, Me(n.availableArchetypes, (w, k) => (u(), L("div", {
|
|
561
561
|
key: `at-menuitem-${k}`,
|
|
562
562
|
onClick: (F) => a("selectInterior", w.archetypeID),
|
|
563
563
|
class: me(["interior-selector-list-item", {
|
|
564
564
|
active: k === o.selectedIndex
|
|
565
565
|
}])
|
|
566
566
|
}, [
|
|
567
|
-
e("div",
|
|
568
|
-
e("div",
|
|
567
|
+
e("div", yo, [
|
|
568
|
+
e("div", _o, [
|
|
569
569
|
y(h, {
|
|
570
570
|
width: "100",
|
|
571
571
|
"max-width": "100",
|
|
@@ -574,9 +574,9 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
574
574
|
class: "pa-0 ma-0"
|
|
575
575
|
}, null, 8, ["src"])
|
|
576
576
|
]),
|
|
577
|
-
e("div",
|
|
577
|
+
e("div", bo, P(m(i).get(w.title)), 1)
|
|
578
578
|
])
|
|
579
|
-
], 10,
|
|
579
|
+
], 10, go))), 128))
|
|
580
580
|
])
|
|
581
581
|
]),
|
|
582
582
|
_: 1
|
|
@@ -584,14 +584,14 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
584
584
|
]);
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
}),
|
|
587
|
+
}), ko = /* @__PURE__ */ ne(wo, [["__scopeId", "data-v-eece0130"]]), Co = "data:image/png;base64,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", So = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMdSURBVHgB7dxBTttQEMbxsU32idouujM7FhjlBqQnaG5AbkBvUPUEpTegN8gR6AlAgQU70lWlQkUUscR+fVZrRKlL7CTQN6P/T0IJwYkUDfNhvzdEBAAAAAAAAAAAAAAAAAAAAAD+i+t+v3+5vT0Qg2IxqHBuP47jXTHIZMHEuYETeScGmSvYZb9fFiv1d7sWY9FcwWLn9u7ux/FbMcZeJPo4vLsrMhJjTBXsXhxWzMWiqYLdj8NKlCR7YoipgjnnhjUPDv11WVeMMFOwqywb+Zu6wnQlz81ck5kp2GNnhLmha7JIDCgjLy+K60cOmSVxvNk7OZmJciY6LM/z4YJDukVRmDj5sBGJcbywGLUnJAqpj0Qfh6mPw4smx/pY7GmPRfUd5uNw0PRYC7GoPxIbxGHFQiyqjsQ2cVjRHouqO8xHXOvVeP+cfVFMeySOpCV3bzVfI7WRuEwcVlxRvHl1dnYkCqntsFWiTfO8h+ZIXPqMT/PGpsqC1WxUtpVq3dhUWbC6jcrWr6F03kNnJK7hTE9rLKor2BrisKJy3kNdwdYRh3evpTAW9UXiGi98y1jUNu+hqmBXWTZcUxxWure3t31RRFXBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", Ao = /* @__PURE__ */ J({
|
|
588
588
|
__name: "VCompass",
|
|
589
589
|
props: {
|
|
590
590
|
rotation: {}
|
|
591
591
|
},
|
|
592
592
|
setup(t) {
|
|
593
|
-
const l = t, n = _(
|
|
594
|
-
backgroundImage: `url(${
|
|
593
|
+
const l = t, n = _(So), a = _({
|
|
594
|
+
backgroundImage: `url(${Co})`,
|
|
595
595
|
backgroundSize: "contain"
|
|
596
596
|
}), i = D(() => ({
|
|
597
597
|
transform: `rotate(${-l.rotation + 180}deg)`
|
|
@@ -599,18 +599,18 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
599
599
|
return (o, s) => {
|
|
600
600
|
const r = E("v-img");
|
|
601
601
|
return u(), L("div", {
|
|
602
|
-
style:
|
|
602
|
+
style: ae(a.value),
|
|
603
603
|
class: "compass-wrapper"
|
|
604
604
|
}, [
|
|
605
605
|
y(r, {
|
|
606
606
|
class: "compass-needle",
|
|
607
607
|
src: n.value,
|
|
608
|
-
style:
|
|
608
|
+
style: ae(i.value)
|
|
609
609
|
}, null, 8, ["src", "style"])
|
|
610
610
|
], 4);
|
|
611
611
|
};
|
|
612
612
|
}
|
|
613
|
-
}),
|
|
613
|
+
}), xo = "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", Io = { class: "d-flex flex-column align-center justify-center clock-face" }, Lo = { class: "clock-icon" }, Eo = { class: "clock-value grey--text text--darken-3" }, Mo = /* @__PURE__ */ J({
|
|
614
614
|
__name: "VTimeOfDay",
|
|
615
615
|
props: {
|
|
616
616
|
hours: { default: 0 },
|
|
@@ -623,31 +623,31 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
623
623
|
}
|
|
624
624
|
return (i, o) => {
|
|
625
625
|
const s = E("v-img");
|
|
626
|
-
return u(), L("div",
|
|
627
|
-
e("div",
|
|
626
|
+
return u(), L("div", Io, [
|
|
627
|
+
e("div", Lo, [
|
|
628
628
|
y(s, {
|
|
629
|
-
src: m(
|
|
629
|
+
src: m(xo),
|
|
630
630
|
"aspect-ratio": "1"
|
|
631
631
|
}, null, 8, ["src"])
|
|
632
632
|
]),
|
|
633
|
-
e("div",
|
|
633
|
+
e("div", Eo, P(n.value), 1)
|
|
634
634
|
]);
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
}),
|
|
637
|
+
}), Fo = /* @__PURE__ */ ne(Mo, [["__scopeId", "data-v-874b2271"]]), wt = (t) => (vt("data-v-86d91cc1"), t = t(), mt(), t), Vo = {
|
|
638
638
|
key: 0,
|
|
639
639
|
width: "24",
|
|
640
640
|
height: "24",
|
|
641
641
|
viewBox: "0 0 24 24",
|
|
642
642
|
xmlns: "http://www.w3.org/2000/svg"
|
|
643
|
-
},
|
|
643
|
+
}, Do = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", {
|
|
644
644
|
d: "M5.38544 13C3.30939 13.9424 2 15.3211 2 16.8571C2 19.6975 6.47715 22 12 22C17.5228 22 22 19.6975 22 16.8571C22 15.3211 20.6906 13.9424 18.6146 13",
|
|
645
645
|
class: "fill-grey"
|
|
646
|
-
}, null, -1)),
|
|
647
|
-
Vo,
|
|
646
|
+
}, null, -1)), Bo = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M8 9C8 7.89543 8.89543 7 10 7H14C15.1046 7 16 7.89543 16 9V12.875C16 13.4273 15.5523 13.875 15 13.875H14V17C14 17.5523 13.5523 18 13 18H11C10.4477 18 10 17.5523 10 17V13.875H9C8.44772 13.875 8 13.4273 8 12.875V9Z" }, null, -1)), To = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M15 4C15 5.65685 13.6569 7 12 7C10.3431 7 9 5.65685 9 4C9 2.34315 10.3431 1 12 1C13.6569 1 15 2.34315 15 4Z" }, null, -1)), Oo = [
|
|
648
647
|
Do,
|
|
649
|
-
Bo
|
|
650
|
-
|
|
648
|
+
Bo,
|
|
649
|
+
To
|
|
650
|
+
], $o = /* @__PURE__ */ J({
|
|
651
651
|
__name: "VViewModeToggle",
|
|
652
652
|
props: {
|
|
653
653
|
showStaticImage: { type: Boolean }
|
|
@@ -660,7 +660,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
660
660
|
});
|
|
661
661
|
return (s, r) => {
|
|
662
662
|
const p = E("v-icon"), h = E("v-btn"), g = E("v-tooltip");
|
|
663
|
-
return u(),
|
|
663
|
+
return u(), T(g, { location: "top" }, {
|
|
664
664
|
activator: v(({ props: w }) => [
|
|
665
665
|
y(h, Ee({
|
|
666
666
|
density: "comfortable",
|
|
@@ -669,9 +669,9 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
669
669
|
onClick: r[0] || (r[0] = (k) => a("toggle"))
|
|
670
670
|
}, w), {
|
|
671
671
|
default: v(() => [
|
|
672
|
-
o.value === "virtualTour" ? (u(), L("svg",
|
|
672
|
+
o.value === "virtualTour" ? (u(), L("svg", Vo, Oo)) : (u(), T(p, { key: 1 }, {
|
|
673
673
|
default: v(() => [
|
|
674
|
-
|
|
674
|
+
le("mdi-image-multiple")
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
677
|
}))
|
|
@@ -680,16 +680,16 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
680
680
|
}, 1040)
|
|
681
681
|
]),
|
|
682
682
|
default: v(() => [
|
|
683
|
-
e("span", null,
|
|
683
|
+
e("span", null, P(m(i).getLabel(o.value)), 1)
|
|
684
684
|
]),
|
|
685
685
|
_: 1
|
|
686
686
|
});
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
}),
|
|
689
|
+
}), Ro = /* @__PURE__ */ ne($o, [["__scopeId", "data-v-86d91cc1"]]), ze = (t) => (vt("data-v-627f8ee6"), t = t(), mt(), t), Yo = {
|
|
690
690
|
key: 0,
|
|
691
691
|
class: "desktop-content"
|
|
692
|
-
},
|
|
692
|
+
}, Ho = { class: "d-flex align-center justify-center" }, Uo = { class: "box col d-flex flex-column align-bottom justify-center" }, zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
693
693
|
/* @__PURE__ */ e("svg", {
|
|
694
694
|
width: "50",
|
|
695
695
|
height: "32.5",
|
|
@@ -736,7 +736,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
736
736
|
"stroke-width": "1.5"
|
|
737
737
|
})
|
|
738
738
|
])
|
|
739
|
-
], -1)),
|
|
739
|
+
], -1)), jo = { class: "text-div text-center text mt-2" }, Wo = { class: "box col d-flex flex-column align-bottom justify-center" }, Po = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
740
740
|
/* @__PURE__ */ e("svg", {
|
|
741
741
|
width: "50",
|
|
742
742
|
height: "32.5",
|
|
@@ -866,7 +866,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
866
866
|
"stroke-linecap": "round"
|
|
867
867
|
})
|
|
868
868
|
])
|
|
869
|
-
], -1)),
|
|
869
|
+
], -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" }, [
|
|
870
870
|
/* @__PURE__ */ e("svg", {
|
|
871
871
|
width: "50",
|
|
872
872
|
height: "32.5",
|
|
@@ -937,7 +937,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
937
937
|
"stroke-linejoin": "round"
|
|
938
938
|
})
|
|
939
939
|
])
|
|
940
|
-
], -1)),
|
|
940
|
+
], -1)), qo = { class: "text-div text-center text mt-2" }, Jo = { class: "box col d-flex flex-column align-bottom justify-center" }, Xo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
941
941
|
/* @__PURE__ */ e("svg", {
|
|
942
942
|
width: "50",
|
|
943
943
|
height: "32.5",
|
|
@@ -1005,10 +1005,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1005
1005
|
fill: "#FF3E3E"
|
|
1006
1006
|
})
|
|
1007
1007
|
])
|
|
1008
|
-
], -1)), Go = { class: "text-div text-center text mt-2" },
|
|
1008
|
+
], -1)), Go = { class: "text-div text-center text mt-2" }, Ko = {
|
|
1009
1009
|
key: 1,
|
|
1010
1010
|
class: "d-flex tablet-mobile-content"
|
|
1011
|
-
},
|
|
1011
|
+
}, ea = { class: "box col my-1" }, ta = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1012
1012
|
/* @__PURE__ */ e("svg", {
|
|
1013
1013
|
width: "50.5",
|
|
1014
1014
|
height: "32.5",
|
|
@@ -1042,7 +1042,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1042
1042
|
"stroke-linejoin": "round"
|
|
1043
1043
|
})
|
|
1044
1044
|
])
|
|
1045
|
-
], -1)),
|
|
1045
|
+
], -1)), na = { class: "text text-col text-center" }, oa = { class: "box col my-1" }, aa = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1046
1046
|
/* @__PURE__ */ e("svg", {
|
|
1047
1047
|
width: "49.5",
|
|
1048
1048
|
height: "32.5",
|
|
@@ -1176,7 +1176,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1176
1176
|
"stroke-linejoin": "round"
|
|
1177
1177
|
})
|
|
1178
1178
|
])
|
|
1179
|
-
], -1)),
|
|
1179
|
+
], -1)), la = { class: "text text-col text-center" }, sa = { class: "box col my-1" }, ia = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1180
1180
|
/* @__PURE__ */ e("svg", {
|
|
1181
1181
|
width: "49.5",
|
|
1182
1182
|
height: "32.5",
|
|
@@ -1210,7 +1210,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1210
1210
|
"stroke-linejoin": "round"
|
|
1211
1211
|
})
|
|
1212
1212
|
])
|
|
1213
|
-
], -1)),
|
|
1213
|
+
], -1)), ra = { class: "text text-col text-center" }, ua = { class: "text-h6 text-capitalize" }, ca = { class: "mt-2" }, da = { class: "d-flex justify-center align-center checkbox-container" }, va = { class: "text-caption" }, ma = /* @__PURE__ */ J({
|
|
1214
1214
|
__name: "VTutorial",
|
|
1215
1215
|
emits: ["closeTutorial"],
|
|
1216
1216
|
setup(t, { emit: l }) {
|
|
@@ -1228,7 +1228,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
return (p, h) => {
|
|
1230
1230
|
const g = E("v-icon"), w = E("v-card-title"), k = E("v-btn"), F = E("v-divider"), C = E("v-card-text"), d = E("v-card-actions"), f = E("v-card"), S = E("v-expand-transition"), I = E("v-checkbox");
|
|
1231
|
-
return u(),
|
|
1231
|
+
return u(), T(Ve, { name: "fade-transition" }, {
|
|
1232
1232
|
default: v(() => [
|
|
1233
1233
|
y(f, {
|
|
1234
1234
|
class: "mx-auto",
|
|
@@ -1239,17 +1239,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1239
1239
|
default: v(() => [
|
|
1240
1240
|
y(g, { size: "x-small" }, {
|
|
1241
1241
|
default: v(() => [
|
|
1242
|
-
|
|
1242
|
+
le("mdi-alert-outline")
|
|
1243
1243
|
]),
|
|
1244
1244
|
_: 1
|
|
1245
1245
|
}),
|
|
1246
|
-
|
|
1246
|
+
le(" " + P(m(a).getLabel("disclaimer")), 1)
|
|
1247
1247
|
]),
|
|
1248
1248
|
_: 1
|
|
1249
1249
|
}),
|
|
1250
1250
|
y(C, { class: "pb-0" }, {
|
|
1251
1251
|
default: v(() => [
|
|
1252
|
-
e("p", null,
|
|
1252
|
+
e("p", null, P(m(a).getLabel("disclaimerTextShort")), 1),
|
|
1253
1253
|
y(k, {
|
|
1254
1254
|
variant: "tonal",
|
|
1255
1255
|
size: "small",
|
|
@@ -1257,10 +1257,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1257
1257
|
class: "text-capitalize mt-2"
|
|
1258
1258
|
}, {
|
|
1259
1259
|
default: v(() => [
|
|
1260
|
-
|
|
1260
|
+
le(P(m(a).getLabel("learnMore")) + " ", 1),
|
|
1261
1261
|
y(g, null, {
|
|
1262
1262
|
default: v(() => [
|
|
1263
|
-
|
|
1263
|
+
le("mdi-chevron-right")
|
|
1264
1264
|
]),
|
|
1265
1265
|
_: 1
|
|
1266
1266
|
})
|
|
@@ -1268,38 +1268,38 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1268
1268
|
_: 1
|
|
1269
1269
|
}),
|
|
1270
1270
|
y(F, { class: "my-3" }),
|
|
1271
|
-
s.value ? V("", !0) : (u(), L("div",
|
|
1272
|
-
e("div",
|
|
1273
|
-
e("div",
|
|
1274
|
-
|
|
1275
|
-
e("div",
|
|
1271
|
+
s.value ? V("", !0) : (u(), L("div", Yo, [
|
|
1272
|
+
e("div", Ho, [
|
|
1273
|
+
e("div", Uo, [
|
|
1274
|
+
zo,
|
|
1275
|
+
e("div", jo, P(m(a).getLabel("clickAndDragToLookAround")), 1)
|
|
1276
1276
|
]),
|
|
1277
|
-
e("div",
|
|
1278
|
-
|
|
1279
|
-
e("div",
|
|
1277
|
+
e("div", Wo, [
|
|
1278
|
+
Po,
|
|
1279
|
+
e("div", No, P(m(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
1280
1280
|
]),
|
|
1281
|
-
e("div",
|
|
1282
|
-
|
|
1283
|
-
e("div",
|
|
1281
|
+
e("div", Qo, [
|
|
1282
|
+
Zo,
|
|
1283
|
+
e("div", qo, P(m(a).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1284
1284
|
]),
|
|
1285
|
-
e("div",
|
|
1286
|
-
|
|
1287
|
-
e("div", Go,
|
|
1285
|
+
e("div", Jo, [
|
|
1286
|
+
Xo,
|
|
1287
|
+
e("div", Go, P(m(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
1288
1288
|
])
|
|
1289
1289
|
])
|
|
1290
1290
|
])),
|
|
1291
|
-
s.value ? (u(), L("div",
|
|
1292
|
-
e("div",
|
|
1293
|
-
|
|
1294
|
-
e("div",
|
|
1291
|
+
s.value ? (u(), L("div", Ko, [
|
|
1292
|
+
e("div", ea, [
|
|
1293
|
+
ta,
|
|
1294
|
+
e("div", na, P(m(a).getLabel("tapAndDragToLookAround")), 1)
|
|
1295
1295
|
]),
|
|
1296
|
-
e("div",
|
|
1297
|
-
|
|
1298
|
-
e("div",
|
|
1296
|
+
e("div", oa, [
|
|
1297
|
+
aa,
|
|
1298
|
+
e("div", la, P(m(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
1299
1299
|
]),
|
|
1300
|
-
e("div",
|
|
1301
|
-
|
|
1302
|
-
e("div",
|
|
1300
|
+
e("div", sa, [
|
|
1301
|
+
ia,
|
|
1302
|
+
e("div", ra, P(m(a).getLabel("useTwoFingersToZoom")), 1)
|
|
1303
1303
|
])
|
|
1304
1304
|
])) : V("", !0),
|
|
1305
1305
|
y(F, { class: "my-1" })
|
|
@@ -1308,7 +1308,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1308
1308
|
}),
|
|
1309
1309
|
y(S, null, {
|
|
1310
1310
|
default: v(() => [
|
|
1311
|
-
o.value ? (u(),
|
|
1311
|
+
o.value ? (u(), T(f, {
|
|
1312
1312
|
key: 0,
|
|
1313
1313
|
class: "position-absolute w-100 bg-white",
|
|
1314
1314
|
height: "100%",
|
|
@@ -1317,16 +1317,16 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1317
1317
|
default: v(() => [
|
|
1318
1318
|
y(C, { class: "pb-0" }, {
|
|
1319
1319
|
default: v(() => [
|
|
1320
|
-
e("p",
|
|
1320
|
+
e("p", ua, [
|
|
1321
1321
|
y(g, null, {
|
|
1322
1322
|
default: v(() => [
|
|
1323
|
-
|
|
1323
|
+
le("mdi-alert-outline")
|
|
1324
1324
|
]),
|
|
1325
1325
|
_: 1
|
|
1326
1326
|
}),
|
|
1327
|
-
|
|
1327
|
+
le(" " + P(m(a).getLabel("disclaimer")), 1)
|
|
1328
1328
|
]),
|
|
1329
|
-
e("p",
|
|
1329
|
+
e("p", ca, P(m(a).getLabel("disclaimerText")), 1)
|
|
1330
1330
|
]),
|
|
1331
1331
|
_: 1
|
|
1332
1332
|
}),
|
|
@@ -1341,11 +1341,11 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1341
1341
|
default: v(() => [
|
|
1342
1342
|
y(g, null, {
|
|
1343
1343
|
default: v(() => [
|
|
1344
|
-
|
|
1344
|
+
le("mdi-chevron-left")
|
|
1345
1345
|
]),
|
|
1346
1346
|
_: 1
|
|
1347
1347
|
}),
|
|
1348
|
-
|
|
1348
|
+
le(" " + P(m(a).getLabel("back")), 1)
|
|
1349
1349
|
]),
|
|
1350
1350
|
_: 1
|
|
1351
1351
|
})
|
|
@@ -1358,7 +1358,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1358
1358
|
]),
|
|
1359
1359
|
_: 1
|
|
1360
1360
|
}),
|
|
1361
|
-
e("div",
|
|
1361
|
+
e("div", da, [
|
|
1362
1362
|
y(I, {
|
|
1363
1363
|
density: "compact",
|
|
1364
1364
|
modelValue: i.value,
|
|
@@ -1366,7 +1366,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1366
1366
|
"hide-details": ""
|
|
1367
1367
|
}, {
|
|
1368
1368
|
label: v(() => [
|
|
1369
|
-
e("span",
|
|
1369
|
+
e("span", va, P(m(a).getLabel("dontShowAgain")), 1)
|
|
1370
1370
|
]),
|
|
1371
1371
|
_: 1
|
|
1372
1372
|
}, 8, ["modelValue"])
|
|
@@ -1379,7 +1379,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1379
1379
|
block: ""
|
|
1380
1380
|
}, {
|
|
1381
1381
|
default: v(() => [
|
|
1382
|
-
|
|
1382
|
+
le(P(m(a).getLabel("iUnderstand")), 1)
|
|
1383
1383
|
]),
|
|
1384
1384
|
_: 1
|
|
1385
1385
|
})
|
|
@@ -1394,17 +1394,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1394
1394
|
});
|
|
1395
1395
|
};
|
|
1396
1396
|
}
|
|
1397
|
-
}),
|
|
1397
|
+
}), pa = /* @__PURE__ */ ne(ma, [["__scopeId", "data-v-627f8ee6"]]), fa = (t) => (vt("data-v-bd4f66c3"), t = t(), mt(), t), ha = { class: "player-settings-ui" }, ga = { id: "settings-ui-form" }, ya = { class: "form-inputs" }, _a = { class: "setting-label" }, ba = { class: "setting-label" }, wa = ["max", "min", "step"], ka = { class: "setting-label" }, Ca = { class: "flex-grow-1 flex-shrink-0" }, Sa = ["onUpdate:modelValue"], Aa = {
|
|
1398
1398
|
key: 3,
|
|
1399
1399
|
"d-block": "",
|
|
1400
1400
|
class: "mt-3"
|
|
1401
|
-
},
|
|
1401
|
+
}, xa = { class: "d-flex justify-space-between" }, Ia = { class: "setting-label" }, La = {
|
|
1402
1402
|
class: "mt-5 d-block",
|
|
1403
1403
|
style: { width: "300px" }
|
|
1404
|
-
},
|
|
1404
|
+
}, Ea = /* @__PURE__ */ fa(() => /* @__PURE__ */ e("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Ma = {
|
|
1405
1405
|
class: "d-block",
|
|
1406
1406
|
style: { width: "300px" }
|
|
1407
|
-
},
|
|
1407
|
+
}, Fa = { class: "form-buttons" }, Va = /* @__PURE__ */ J({
|
|
1408
1408
|
__name: "VPlayerSettingsUi",
|
|
1409
1409
|
props: {
|
|
1410
1410
|
initialSettings: {}
|
|
@@ -1414,7 +1414,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1414
1414
|
const n = t, a = l, i = _(
|
|
1415
1415
|
F(n.initialSettings)
|
|
1416
1416
|
);
|
|
1417
|
-
|
|
1417
|
+
j(
|
|
1418
1418
|
i,
|
|
1419
1419
|
() => {
|
|
1420
1420
|
s();
|
|
@@ -1552,31 +1552,31 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}
|
|
1554
1554
|
return (C, d) => {
|
|
1555
|
-
const f = E("v-text-field"), S = E("v-slider"), I = E("v-checkbox"), A = E("v-btn"), R = E("v-select"),
|
|
1556
|
-
return u(), L("div",
|
|
1557
|
-
e("form",
|
|
1558
|
-
e("div",
|
|
1559
|
-
(u(!0), L(
|
|
1555
|
+
const f = E("v-text-field"), S = E("v-slider"), I = E("v-checkbox"), A = E("v-btn"), R = E("v-select"), X = E("v-icon");
|
|
1556
|
+
return u(), L("div", ha, [
|
|
1557
|
+
e("form", ga, [
|
|
1558
|
+
e("div", ya, [
|
|
1559
|
+
(u(!0), L(xe, null, Me(i.value, ($, te, de) => (u(), L("div", {
|
|
1560
1560
|
key: de,
|
|
1561
1561
|
"d-block": ""
|
|
1562
1562
|
}, [
|
|
1563
|
-
$.type === "slider" ? (u(),
|
|
1563
|
+
$.type === "slider" ? (u(), T(S, {
|
|
1564
1564
|
key: 0,
|
|
1565
|
-
modelValue: i.value[
|
|
1566
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1565
|
+
modelValue: i.value[te].value,
|
|
1566
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1567
1567
|
onChange: s,
|
|
1568
1568
|
max: $.max,
|
|
1569
1569
|
min: $.min,
|
|
1570
1570
|
step: $.step
|
|
1571
1571
|
}, {
|
|
1572
1572
|
prepend: v(() => [
|
|
1573
|
-
e("div",
|
|
1573
|
+
e("div", _a, P($.label), 1)
|
|
1574
1574
|
]),
|
|
1575
1575
|
append: v(() => [
|
|
1576
1576
|
e("div", null, [
|
|
1577
1577
|
y(f, {
|
|
1578
|
-
modelValue: i.value[
|
|
1579
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1578
|
+
modelValue: i.value[te].value,
|
|
1579
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1580
1580
|
"hide-details": "",
|
|
1581
1581
|
dense: "",
|
|
1582
1582
|
outlined: "",
|
|
@@ -1591,17 +1591,17 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1591
1591
|
]),
|
|
1592
1592
|
_: 2
|
|
1593
1593
|
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : V("", !0),
|
|
1594
|
-
$.type === "boolean" ? (u(),
|
|
1594
|
+
$.type === "boolean" ? (u(), T(I, {
|
|
1595
1595
|
key: 1,
|
|
1596
|
-
modelValue: i.value[
|
|
1597
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1596
|
+
modelValue: i.value[te].value,
|
|
1597
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1598
1598
|
onChange: s
|
|
1599
1599
|
}, {
|
|
1600
1600
|
prepend: v(() => [
|
|
1601
|
-
e("div",
|
|
1601
|
+
e("div", ba, P($.label), 1)
|
|
1602
1602
|
]),
|
|
1603
1603
|
append: v(() => [
|
|
1604
|
-
e("div", null,
|
|
1604
|
+
e("div", null, P($.value), 1)
|
|
1605
1605
|
]),
|
|
1606
1606
|
_: 2
|
|
1607
1607
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
|
|
@@ -1612,20 +1612,20 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1612
1612
|
min: $.min,
|
|
1613
1613
|
step: $.step
|
|
1614
1614
|
}, [
|
|
1615
|
-
e("div",
|
|
1616
|
-
e("div",
|
|
1617
|
-
|
|
1618
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1615
|
+
e("div", ka, P($.label), 1),
|
|
1616
|
+
e("div", Ca, [
|
|
1617
|
+
tt(e("input", {
|
|
1618
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1619
1619
|
type: "color",
|
|
1620
1620
|
onChange: s
|
|
1621
|
-
}, null, 40,
|
|
1622
|
-
[
|
|
1621
|
+
}, null, 40, Sa), [
|
|
1622
|
+
[An, i.value[te].value]
|
|
1623
1623
|
])
|
|
1624
1624
|
]),
|
|
1625
1625
|
e("div", null, [
|
|
1626
1626
|
y(f, {
|
|
1627
|
-
modelValue: i.value[
|
|
1628
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1627
|
+
modelValue: i.value[te].value,
|
|
1628
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1629
1629
|
"hide-details": "",
|
|
1630
1630
|
dense: "",
|
|
1631
1631
|
outlined: "",
|
|
@@ -1635,29 +1635,29 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1635
1635
|
onChange: s
|
|
1636
1636
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1637
1637
|
])
|
|
1638
|
-
], 8,
|
|
1639
|
-
$.type === "lut" ? (u(), L("div",
|
|
1640
|
-
e("div",
|
|
1641
|
-
e("div",
|
|
1638
|
+
], 8, wa)) : V("", !0),
|
|
1639
|
+
$.type === "lut" ? (u(), L("div", Aa, [
|
|
1640
|
+
e("div", xa, [
|
|
1641
|
+
e("div", Ia, P($.label), 1),
|
|
1642
1642
|
e("div", null, [
|
|
1643
1643
|
y(A, {
|
|
1644
1644
|
class: "ml-2",
|
|
1645
1645
|
"x-small": "",
|
|
1646
|
-
onClick: (Y) => i.value[
|
|
1646
|
+
onClick: (Y) => i.value[te].value = null
|
|
1647
1647
|
}, {
|
|
1648
1648
|
default: v(() => [
|
|
1649
|
-
|
|
1649
|
+
le(" Clear Lut ")
|
|
1650
1650
|
]),
|
|
1651
1651
|
_: 2
|
|
1652
1652
|
}, 1032, ["onClick"])
|
|
1653
1653
|
])
|
|
1654
1654
|
]),
|
|
1655
1655
|
e("div", null, [
|
|
1656
|
-
e("div",
|
|
1656
|
+
e("div", La, [
|
|
1657
1657
|
e("div", null, [
|
|
1658
1658
|
y(R, {
|
|
1659
|
-
modelValue: i.value[
|
|
1660
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1659
|
+
modelValue: i.value[te].value,
|
|
1660
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1661
1661
|
items: $.items,
|
|
1662
1662
|
"item-title": "title",
|
|
1663
1663
|
"item-value": "value",
|
|
@@ -1668,12 +1668,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1668
1668
|
])
|
|
1669
1669
|
]),
|
|
1670
1670
|
e("div", null, [
|
|
1671
|
-
|
|
1672
|
-
e("div",
|
|
1671
|
+
Ea,
|
|
1672
|
+
e("div", Ma, [
|
|
1673
1673
|
e("div", null, [
|
|
1674
1674
|
y(f, {
|
|
1675
|
-
modelValue: i.value[
|
|
1676
|
-
"onUpdate:modelValue": (Y) => i.value[
|
|
1675
|
+
modelValue: i.value[te].value,
|
|
1676
|
+
"onUpdate:modelValue": (Y) => i.value[te].value = Y,
|
|
1677
1677
|
"hide-details": "",
|
|
1678
1678
|
dense: "",
|
|
1679
1679
|
type: "url",
|
|
@@ -1686,12 +1686,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1686
1686
|
])) : V("", !0)
|
|
1687
1687
|
]))), 128))
|
|
1688
1688
|
]),
|
|
1689
|
-
e("div",
|
|
1689
|
+
e("div", Fa, [
|
|
1690
1690
|
y(A, {
|
|
1691
1691
|
onClick: d[0] || (d[0] = ($) => h())
|
|
1692
1692
|
}, {
|
|
1693
1693
|
default: v(() => [
|
|
1694
|
-
|
|
1694
|
+
le("Reset")
|
|
1695
1695
|
]),
|
|
1696
1696
|
_: 1
|
|
1697
1697
|
}),
|
|
@@ -1700,10 +1700,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1700
1700
|
onClick: d[1] || (d[1] = ($) => r())
|
|
1701
1701
|
}, {
|
|
1702
1702
|
default: v(() => [
|
|
1703
|
-
|
|
1704
|
-
y(
|
|
1703
|
+
le(" Download Json "),
|
|
1704
|
+
y(X, { color: "black darken-1" }, {
|
|
1705
1705
|
default: v(() => [
|
|
1706
|
-
|
|
1706
|
+
le("mdi-download")
|
|
1707
1707
|
]),
|
|
1708
1708
|
_: 1
|
|
1709
1709
|
})
|
|
@@ -1715,10 +1715,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1715
1715
|
onClick: d[2] || (d[2] = ($) => p())
|
|
1716
1716
|
}, {
|
|
1717
1717
|
default: v(() => [
|
|
1718
|
-
|
|
1719
|
-
y(
|
|
1718
|
+
le(" Save Settings "),
|
|
1719
|
+
y(X, { color: "black darken-1" }, {
|
|
1720
1720
|
default: v(() => [
|
|
1721
|
-
|
|
1721
|
+
le("mdi-save")
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
})
|
|
@@ -1730,10 +1730,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1730
1730
|
]);
|
|
1731
1731
|
};
|
|
1732
1732
|
}
|
|
1733
|
-
}),
|
|
1733
|
+
}), Da = /* @__PURE__ */ ne(Va, [["__scopeId", "data-v-bd4f66c3"]]), Ba = { class: "top-left" }, Ta = { class: "top-right" }, Oa = { class: "header-slot anchor elevation-5" }, $a = {
|
|
1734
1734
|
id: "moveableBody",
|
|
1735
1735
|
class: "body-slot moveable-body d-flex justify-center align-center position-relative"
|
|
1736
|
-
},
|
|
1736
|
+
}, Ra = { class: "moveable-footer elevation-5" }, Ya = /* @__PURE__ */ J({
|
|
1737
1737
|
__name: "VMoveable",
|
|
1738
1738
|
props: {
|
|
1739
1739
|
size: {}
|
|
@@ -1776,44 +1776,44 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1776
1776
|
id: "moveableDiv",
|
|
1777
1777
|
class: me([s.size, "sizer rounded"])
|
|
1778
1778
|
}, [
|
|
1779
|
-
e("div",
|
|
1779
|
+
e("div", Ba, [
|
|
1780
1780
|
K(s.$slots, "top-left", {}, void 0, !0)
|
|
1781
1781
|
]),
|
|
1782
|
-
e("div",
|
|
1782
|
+
e("div", Ta, [
|
|
1783
1783
|
K(s.$slots, "top-right", {}, void 0, !0)
|
|
1784
1784
|
]),
|
|
1785
|
-
e("div",
|
|
1785
|
+
e("div", Oa, [
|
|
1786
1786
|
K(s.$slots, "header", {}, void 0, !0)
|
|
1787
1787
|
]),
|
|
1788
|
-
e("div",
|
|
1788
|
+
e("div", $a, [
|
|
1789
1789
|
K(s.$slots, "body", {}, void 0, !0)
|
|
1790
1790
|
]),
|
|
1791
|
-
e("div",
|
|
1791
|
+
e("div", Ra, [
|
|
1792
1792
|
K(s.$slots, "footer", {}, void 0, !0)
|
|
1793
1793
|
])
|
|
1794
1794
|
], 2));
|
|
1795
1795
|
}
|
|
1796
|
-
}),
|
|
1796
|
+
}), Ha = /* @__PURE__ */ ne(Ya, [["__scopeId", "data-v-a4cb28cf"]]), Ua = {
|
|
1797
1797
|
class: "rotation-marker-svg",
|
|
1798
1798
|
viewBox: "0 0 40 40",
|
|
1799
1799
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1800
|
-
},
|
|
1801
|
-
|
|
1802
|
-
],
|
|
1800
|
+
}, za = /* @__PURE__ */ Yt('<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), ja = ["transform"], Wa = /* @__PURE__ */ Yt('<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), Pa = [
|
|
1801
|
+
Wa
|
|
1802
|
+
], Na = /* @__PURE__ */ J({
|
|
1803
1803
|
__name: "VRotationMarker",
|
|
1804
1804
|
props: {
|
|
1805
1805
|
rotation: {}
|
|
1806
1806
|
},
|
|
1807
1807
|
setup(t) {
|
|
1808
|
-
return (l, n) => (u(), L("svg",
|
|
1809
|
-
|
|
1808
|
+
return (l, n) => (u(), L("svg", Ua, [
|
|
1809
|
+
za,
|
|
1810
1810
|
e("g", {
|
|
1811
1811
|
"transform-origin": "20 20",
|
|
1812
1812
|
transform: `rotate(${45 + l.rotation})`
|
|
1813
|
-
},
|
|
1813
|
+
}, Pa, 8, ja)
|
|
1814
1814
|
]));
|
|
1815
1815
|
}
|
|
1816
|
-
}),
|
|
1816
|
+
}), Qa = { class: "minimap-wrapper" }, Za = { class: "minimap-container" }, qa = ["id"], Ja = /* @__PURE__ */ J({
|
|
1817
1817
|
__name: "VMiniMapMap",
|
|
1818
1818
|
props: {
|
|
1819
1819
|
backgroundImage: {},
|
|
@@ -1828,88 +1828,88 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1828
1828
|
},
|
|
1829
1829
|
emits: ["goToCamera"],
|
|
1830
1830
|
setup(t, { emit: l }) {
|
|
1831
|
-
const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new
|
|
1832
|
-
const
|
|
1833
|
-
let
|
|
1834
|
-
return
|
|
1835
|
-
}), d = D(() => n.allCameras), f = D(() => n.allCameras.find((
|
|
1831
|
+
const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new Ke()), h = _(new Vn()), g = _({}), w = _(1), k = _(), F = i.value / i.value, C = D(() => {
|
|
1832
|
+
const N = n.containerWidth / n.containerHeight;
|
|
1833
|
+
let se;
|
|
1834
|
+
return N > F ? se = n.containerHeight / o.value : se = n.containerWidth / i.value, se;
|
|
1835
|
+
}), d = D(() => n.allCameras), f = D(() => n.allCameras.find((N) => N.id === n.currentCamera)), S = D(() => n.rotation), I = D(() => new Ke(
|
|
1836
1836
|
n.storey.position.x,
|
|
1837
1837
|
n.storey.position.y,
|
|
1838
1838
|
n.storey.position.z
|
|
1839
|
-
)), A = D(() => parseFloat(f.value.floor_vertical_position)), R = D(() => d.value.map((
|
|
1840
|
-
const
|
|
1841
|
-
Number(
|
|
1839
|
+
)), A = D(() => parseFloat(f.value.floor_vertical_position)), R = D(() => d.value.map((N) => {
|
|
1840
|
+
const se = N.uposition.split(","), H = new Ke(
|
|
1841
|
+
Number(se[0]) - I.value.x,
|
|
1842
1842
|
0,
|
|
1843
|
-
Number(
|
|
1843
|
+
Number(se[2]) - I.value.z
|
|
1844
1844
|
);
|
|
1845
1845
|
return {
|
|
1846
|
-
...
|
|
1846
|
+
...N,
|
|
1847
1847
|
...Se(p.value, H)
|
|
1848
1848
|
};
|
|
1849
|
-
})),
|
|
1849
|
+
})), X = D(() => ({
|
|
1850
1850
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1851
1851
|
backgroundSize: "contain"
|
|
1852
1852
|
})), $ = D(() => ({
|
|
1853
1853
|
transform: `scale(${n.fit ? 1 : C.value * 0.75}) rotate(${n.transformAngle}deg)`
|
|
1854
1854
|
}));
|
|
1855
1855
|
Re(() => {
|
|
1856
|
-
|
|
1857
|
-
const
|
|
1858
|
-
|
|
1859
|
-
}),
|
|
1860
|
-
|
|
1861
|
-
}),
|
|
1856
|
+
ye(), de(), O();
|
|
1857
|
+
const N = document.getElementById("moveableDiv");
|
|
1858
|
+
N && (k.value = new ResizeObserver(O).observe(N));
|
|
1859
|
+
}), xn(() => {
|
|
1860
|
+
ye(), de();
|
|
1861
|
+
}), ot(() => {
|
|
1862
1862
|
k.value && k.value.unobserve(document.getElementById("moveableDiv"));
|
|
1863
1863
|
});
|
|
1864
|
-
function
|
|
1865
|
-
return
|
|
1864
|
+
function te(N) {
|
|
1865
|
+
return Dn.degToRad(N);
|
|
1866
1866
|
}
|
|
1867
1867
|
function de() {
|
|
1868
1868
|
h.value.rotation.x = 180, h.value.rotation.y = n.storey.rotation.y * -1, g.value = {
|
|
1869
1869
|
transform: `rotateZ(${h.value.rotation.y}deg) rotateX(${h.value.rotation.x}deg)`
|
|
1870
1870
|
};
|
|
1871
1871
|
}
|
|
1872
|
-
function Y(
|
|
1872
|
+
function Y(N) {
|
|
1873
1873
|
return {
|
|
1874
|
-
top: `${Math.abs(
|
|
1875
|
-
left: `${Math.abs(
|
|
1874
|
+
top: `${Math.abs(N.top)}%`,
|
|
1875
|
+
left: `${Math.abs(N.left)}%`
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
function Se(
|
|
1879
|
-
var H = new
|
|
1880
|
-
const M = H.subVectors(
|
|
1878
|
+
function Se(N, se) {
|
|
1879
|
+
var H = new Ke();
|
|
1880
|
+
const M = H.subVectors(N, se);
|
|
1881
1881
|
return {
|
|
1882
1882
|
relativePosition: M,
|
|
1883
1883
|
left: M.x / s.value * 100,
|
|
1884
1884
|
top: M.z / r.value * 100
|
|
1885
1885
|
};
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1888
|
-
const
|
|
1889
|
-
r.value = 2 * (
|
|
1890
|
-
const
|
|
1887
|
+
function ye() {
|
|
1888
|
+
const N = n.storey.position.y - A.value;
|
|
1889
|
+
r.value = 2 * (N * Math.tan(te(n.storey.fovY / 2))), s.value = 512 / 384 * r.value;
|
|
1890
|
+
const se = r.value / 2, H = s.value / 2, M = new Ke(H * -1, 0, se * -1);
|
|
1891
1891
|
p.value = M;
|
|
1892
1892
|
}
|
|
1893
1893
|
function O() {
|
|
1894
|
-
const
|
|
1895
|
-
if (!
|
|
1894
|
+
const N = document.getElementById("moveableDiv");
|
|
1895
|
+
if (!N)
|
|
1896
1896
|
return;
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1897
|
+
const se = N.offsetHeight / 384 * 0.8, H = N.offsetWidth / 512 * 0.8;
|
|
1898
|
+
N.offsetHeight > N.offsetWidth ? w.value = H * 0.5 : w.value = se * 0.9;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1901
|
-
const H =
|
|
1902
|
-
let U = null,
|
|
1903
|
-
if (
|
|
1904
|
-
const
|
|
1905
|
-
(M - pe) ** 2 + (
|
|
1900
|
+
function re(N) {
|
|
1901
|
+
const H = N.currentTarget.getBoundingClientRect(), M = N.clientX - H.left, q = N.clientY - H.top, Q = document.querySelectorAll(".single-camera-marker");
|
|
1902
|
+
let U = null, oe = 1 / 0;
|
|
1903
|
+
if (Q.forEach((Z) => {
|
|
1904
|
+
const ie = Z, W = ie.getBoundingClientRect(), pe = W.left + W.width / 2 - H.left, he = W.top + W.height / 2 - H.top, ve = Math.sqrt(
|
|
1905
|
+
(M - pe) ** 2 + (q - he) ** 2
|
|
1906
1906
|
);
|
|
1907
|
-
ve <
|
|
1907
|
+
ve < oe && (oe = ve, U = ie);
|
|
1908
1908
|
}), U) {
|
|
1909
|
-
const
|
|
1909
|
+
const Z = U.getBoundingClientRect(), ie = Z.left + Z.width / 2, W = Z.top + Z.height / 2;
|
|
1910
1910
|
for (let he = 0; he < 3; he++) {
|
|
1911
1911
|
const ve = document.createElement("div");
|
|
1912
|
-
ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${
|
|
1912
|
+
ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${ie}px`, ve.style.top = `${W}px`, ve.style.pointerEvents = "none", ve.style.animationDelay = `${he * 0.5}s`, document.body.appendChild(ve), setTimeout(() => {
|
|
1913
1913
|
ve.remove();
|
|
1914
1914
|
}, 500 + he * 500);
|
|
1915
1915
|
}
|
|
@@ -1917,45 +1917,45 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1917
1917
|
pe && a("goToCamera", pe);
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
|
-
return (
|
|
1921
|
-
e("div",
|
|
1920
|
+
return (N, se) => (u(), L("div", Qa, [
|
|
1921
|
+
e("div", Za, [
|
|
1922
1922
|
e("div", {
|
|
1923
1923
|
class: "web-minimap",
|
|
1924
|
-
style:
|
|
1925
|
-
onClick:
|
|
1924
|
+
style: ae($.value),
|
|
1925
|
+
onClick: re
|
|
1926
1926
|
}, [
|
|
1927
1927
|
e("div", {
|
|
1928
1928
|
class: "minimap-background-image",
|
|
1929
|
-
style:
|
|
1929
|
+
style: ae(X.value)
|
|
1930
1930
|
}, null, 4),
|
|
1931
1931
|
e("div", {
|
|
1932
1932
|
class: "center-pivot",
|
|
1933
|
-
style:
|
|
1933
|
+
style: ae(g.value)
|
|
1934
1934
|
}, [
|
|
1935
|
-
(u(!0), L(
|
|
1935
|
+
(u(!0), L(xe, null, Me(R.value, (H) => (u(), L("div", {
|
|
1936
1936
|
key: H.id
|
|
1937
1937
|
}, [
|
|
1938
1938
|
f.value.floorLevel === H.floorLevel ? (u(), L("div", {
|
|
1939
1939
|
key: 0,
|
|
1940
1940
|
class: "single-camera-marker",
|
|
1941
1941
|
id: `single-camera-marker-${H.id}`,
|
|
1942
|
-
style:
|
|
1943
|
-
}, null, 12,
|
|
1944
|
-
K(
|
|
1942
|
+
style: ae(Y(H))
|
|
1943
|
+
}, null, 12, qa)) : V("", !0),
|
|
1944
|
+
K(N.$slots, "default", {
|
|
1945
1945
|
id: H.id,
|
|
1946
1946
|
camera: H,
|
|
1947
1947
|
active: f.value.id === H.id,
|
|
1948
|
-
style:
|
|
1948
|
+
style: ae({
|
|
1949
1949
|
...Y(H),
|
|
1950
1950
|
position: "absolute",
|
|
1951
1951
|
zIndex: "3"
|
|
1952
1952
|
})
|
|
1953
1953
|
}, () => [
|
|
1954
|
-
f.value.id === H.id && n.rotation !== null ? (u(),
|
|
1954
|
+
f.value.id === H.id && n.rotation !== null ? (u(), T(Na, {
|
|
1955
1955
|
key: 0,
|
|
1956
1956
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1957
1957
|
rotation: S.value,
|
|
1958
|
-
style:
|
|
1958
|
+
style: ae({ ...Y(H) })
|
|
1959
1959
|
}, null, 8, ["rotation", "style"])) : V("", !0)
|
|
1960
1960
|
], !0)
|
|
1961
1961
|
]))), 128))
|
|
@@ -1964,7 +1964,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1964
1964
|
])
|
|
1965
1965
|
]));
|
|
1966
1966
|
}
|
|
1967
|
-
}), Ut = /* @__PURE__ */
|
|
1967
|
+
}), Ut = /* @__PURE__ */ ne(Ja, [["__scopeId", "data-v-03e6f060"]]), Xa = /* @__PURE__ */ J({
|
|
1968
1968
|
__name: "VMiniMapCompass",
|
|
1969
1969
|
props: {
|
|
1970
1970
|
scale: {},
|
|
@@ -1975,7 +1975,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1975
1975
|
const l = t, n = D(() => l.rotation + l.transformAngle - 90);
|
|
1976
1976
|
return (a, i) => (u(), L("div", {
|
|
1977
1977
|
class: "minimap-compass elevation-5",
|
|
1978
|
-
style:
|
|
1978
|
+
style: ae({ scale: a.scale })
|
|
1979
1979
|
}, [
|
|
1980
1980
|
y(Ht, {
|
|
1981
1981
|
class: "north-indicator",
|
|
@@ -1983,10 +1983,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
1983
1983
|
}, null, 8, ["longitude"])
|
|
1984
1984
|
], 4));
|
|
1985
1985
|
}
|
|
1986
|
-
}), zt = /* @__PURE__ */
|
|
1986
|
+
}), zt = /* @__PURE__ */ ne(Xa, [["__scopeId", "data-v-d047dca8"]]), Ga = { class: "ss-wrapper" }, Ka = { class: "slider" }, el = { class: "minimap-sun-slider" }, tl = { class: "d-flex flex-column align-center justify-center" }, nl = {
|
|
1987
1987
|
key: 0,
|
|
1988
1988
|
class: "time-label"
|
|
1989
|
-
},
|
|
1989
|
+
}, ol = /* @__PURE__ */ J({
|
|
1990
1990
|
__name: "VSunSimulationSlider",
|
|
1991
1991
|
props: {
|
|
1992
1992
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2009,10 +2009,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2009
2009
|
), a("setBackgroundImage", r.value), s.value = !1;
|
|
2010
2010
|
const S = await F(n.minimapJson.storeys);
|
|
2011
2011
|
p.value = S, o.value = !1, a("setBackgroundImage", k(n.level, i.value));
|
|
2012
|
-
}),
|
|
2012
|
+
}), j(i, () => {
|
|
2013
2013
|
const S = k(n.level, i.value);
|
|
2014
2014
|
a("setBackgroundImage", S);
|
|
2015
|
-
}),
|
|
2015
|
+
}), j(
|
|
2016
2016
|
() => n.level,
|
|
2017
2017
|
() => {
|
|
2018
2018
|
a("setBackgroundImage", k(n.level, i.value));
|
|
@@ -2026,10 +2026,10 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2026
2026
|
let I = /* @__PURE__ */ new Map();
|
|
2027
2027
|
for (let A = 0; A < S.length; A++) {
|
|
2028
2028
|
const R = S[A].sunsimFiles;
|
|
2029
|
-
for (let
|
|
2030
|
-
const $ = R[
|
|
2029
|
+
for (let X = 0; X < R.length; X++) {
|
|
2030
|
+
const $ = R[X];
|
|
2031
2031
|
try {
|
|
2032
|
-
const
|
|
2032
|
+
const te = $, de = $.split("."), Y = await C(te);
|
|
2033
2033
|
I.set(de[0], Y);
|
|
2034
2034
|
} catch {
|
|
2035
2035
|
continue;
|
|
@@ -2040,7 +2040,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
async function C(S) {
|
|
2042
2042
|
const A = await (await fetch(
|
|
2043
|
-
|
|
2043
|
+
_e(
|
|
2044
2044
|
n.cdnFileResolver,
|
|
2045
2045
|
`/${n.apartmentJson.type}/${n.apartmentJson.id}/minimap/${S}`
|
|
2046
2046
|
)
|
|
@@ -2054,24 +2054,24 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2054
2054
|
return new Promise((I, A) => {
|
|
2055
2055
|
const R = new FileReader();
|
|
2056
2056
|
R.onload = () => {
|
|
2057
|
-
const
|
|
2058
|
-
I(
|
|
2057
|
+
const X = R.result.split(",")[1];
|
|
2058
|
+
I(X);
|
|
2059
2059
|
}, R.onerror = A, R.readAsDataURL(S);
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
return (S, I) => {
|
|
2063
|
-
const A = E("v-progress-linear"), R = E("v-icon"),
|
|
2063
|
+
const A = E("v-progress-linear"), R = E("v-icon"), X = E("v-slider");
|
|
2064
2064
|
return u(), L("div", Ga, [
|
|
2065
|
-
e("div",
|
|
2066
|
-
e("div",
|
|
2067
|
-
o.value ? (u(),
|
|
2065
|
+
e("div", Ka, [
|
|
2066
|
+
e("div", el, [
|
|
2067
|
+
o.value ? (u(), T(A, {
|
|
2068
2068
|
key: 0,
|
|
2069
2069
|
indeterminate: "",
|
|
2070
2070
|
rounded: "",
|
|
2071
2071
|
height: "6",
|
|
2072
2072
|
color: "grey lighten-1",
|
|
2073
2073
|
class: "mr-2"
|
|
2074
|
-
})) : (u(),
|
|
2074
|
+
})) : (u(), T(X, {
|
|
2075
2075
|
key: 1,
|
|
2076
2076
|
modelValue: i.value,
|
|
2077
2077
|
"onUpdate:modelValue": I[0] || (I[0] = ($) => i.value = $),
|
|
@@ -2085,30 +2085,30 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2085
2085
|
"thumb-label": "always"
|
|
2086
2086
|
}, {
|
|
2087
2087
|
prepend: v(() => [
|
|
2088
|
-
e("div",
|
|
2088
|
+
e("div", tl, [
|
|
2089
2089
|
y(R, { color: "#ffab02" }, {
|
|
2090
2090
|
default: v(() => [
|
|
2091
|
-
|
|
2091
|
+
le("mdi-white-balance-sunny")
|
|
2092
2092
|
]),
|
|
2093
2093
|
_: 1
|
|
2094
2094
|
}),
|
|
2095
|
-
e("span", null,
|
|
2095
|
+
e("span", null, P(w.value), 1)
|
|
2096
2096
|
])
|
|
2097
2097
|
]),
|
|
2098
2098
|
"thumb-label": v(() => [
|
|
2099
|
-
|
|
2099
|
+
le(P(g.value), 1)
|
|
2100
2100
|
]),
|
|
2101
2101
|
_: 1
|
|
2102
2102
|
}, 8, ["modelValue"]))
|
|
2103
2103
|
]),
|
|
2104
|
-
o.value ? V("", !0) : (u(), L("div",
|
|
2104
|
+
o.value ? V("", !0) : (u(), L("div", nl))
|
|
2105
2105
|
])
|
|
2106
2106
|
]);
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
}), jt = /* @__PURE__ */
|
|
2109
|
+
}), jt = /* @__PURE__ */ ne(ol, [["__scopeId", "data-v-52f122f2"]]), al = (t) => (vt("data-v-8c96c13c"), t = t(), mt(), t), ll = { class: "left" }, sl = { class: "right" }, il = /* @__PURE__ */ al(() => /* @__PURE__ */ e("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
2110
2110
|
/* @__PURE__ */ e("div", { class: "center" }, " ")
|
|
2111
|
-
], -1)),
|
|
2111
|
+
], -1)), rl = { class: "map-container" }, ul = /* @__PURE__ */ J({
|
|
2112
2112
|
__name: "VMiniMap",
|
|
2113
2113
|
props: {
|
|
2114
2114
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2121,12 +2121,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2121
2121
|
emits: ["close", "goToCamera"],
|
|
2122
2122
|
setup(t, { emit: l }) {
|
|
2123
2123
|
const n = _(null), a = t, i = l, o = _(), s = _(0), r = D(() => a.minimapJson.storeys[a.level]), p = _(0);
|
|
2124
|
-
|
|
2124
|
+
j(
|
|
2125
2125
|
() => a.apartmentJson,
|
|
2126
2126
|
() => {
|
|
2127
2127
|
p.value = p.value + 1;
|
|
2128
2128
|
}
|
|
2129
|
-
),
|
|
2129
|
+
), j(
|
|
2130
2130
|
r,
|
|
2131
2131
|
() => {
|
|
2132
2132
|
o.value = r.value.defaultSunsimFile ? `/${a.apartmentJson.type}/${a.apartmentJson.id}/minimap/sunsim0_13.jpg` : `/${a.apartmentJson.type}/${a.apartmentJson.id}/minimap/${r.value.defaultSunsimFile}`;
|
|
@@ -2157,13 +2157,13 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
return (S, I) => {
|
|
2159
2159
|
const A = E("v-btn");
|
|
2160
|
-
return u(),
|
|
2160
|
+
return u(), T(Ha, {
|
|
2161
2161
|
ref_key: "minimapMoveable",
|
|
2162
2162
|
ref: n,
|
|
2163
2163
|
size: F.value
|
|
2164
2164
|
}, {
|
|
2165
2165
|
"top-left": v(() => [
|
|
2166
|
-
e("div",
|
|
2166
|
+
e("div", ll, [
|
|
2167
2167
|
y(A, {
|
|
2168
2168
|
icon: "mdi-window-close",
|
|
2169
2169
|
size: "x-small",
|
|
@@ -2172,12 +2172,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2172
2172
|
])
|
|
2173
2173
|
]),
|
|
2174
2174
|
"top-right": v(() => [
|
|
2175
|
-
e("div",
|
|
2175
|
+
e("div", sl, [
|
|
2176
2176
|
y(A, {
|
|
2177
2177
|
class: "rotate-icon",
|
|
2178
2178
|
size: "x-small",
|
|
2179
2179
|
icon: "mdi mdi-rotate-right",
|
|
2180
|
-
onClick:
|
|
2180
|
+
onClick: In(C, ["stop"]),
|
|
2181
2181
|
title: "Rotate"
|
|
2182
2182
|
}),
|
|
2183
2183
|
y(A, {
|
|
@@ -2190,7 +2190,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2190
2190
|
])
|
|
2191
2191
|
]),
|
|
2192
2192
|
header: v(() => [
|
|
2193
|
-
|
|
2193
|
+
il
|
|
2194
2194
|
]),
|
|
2195
2195
|
body: v(() => [
|
|
2196
2196
|
y(zt, {
|
|
@@ -2198,7 +2198,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2198
2198
|
rotation: r.value.rotation.y,
|
|
2199
2199
|
"transform-angle": s.value
|
|
2200
2200
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
2201
|
-
e("div",
|
|
2201
|
+
e("div", rl, [
|
|
2202
2202
|
y(Ut, {
|
|
2203
2203
|
"transform-angle": s.value,
|
|
2204
2204
|
"all-cameras": S.apartmentJson.cameras,
|
|
@@ -2213,7 +2213,7 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2213
2213
|
])
|
|
2214
2214
|
]),
|
|
2215
2215
|
footer: v(() => [
|
|
2216
|
-
(u(),
|
|
2216
|
+
(u(), T(jt, {
|
|
2217
2217
|
key: p.value,
|
|
2218
2218
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
2219
2219
|
"minimap-json": a.minimapJson,
|
|
@@ -2226,12 +2226,12 @@ const Qn = { id: "player-wrapper" }, Zn = { id: "player-sizer" }, qn = {
|
|
|
2226
2226
|
}, 8, ["size"]);
|
|
2227
2227
|
};
|
|
2228
2228
|
}
|
|
2229
|
-
}), Vt = /* @__PURE__ */
|
|
2230
|
-
function
|
|
2229
|
+
}), Vt = /* @__PURE__ */ ne(ul, [["__scopeId", "data-v-8c96c13c"]]);
|
|
2230
|
+
function ct(t) {
|
|
2231
2231
|
const l = t * 60, n = Math.floor(l / 60), a = l % 60;
|
|
2232
2232
|
return `${n.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
2233
2233
|
}
|
|
2234
|
-
const
|
|
2234
|
+
const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl = { class: "small" }, ml = { class: "small" }, pl = /* @__PURE__ */ J({
|
|
2235
2235
|
__name: "VSunsimSlider",
|
|
2236
2236
|
props: {
|
|
2237
2237
|
currentDay: {},
|
|
@@ -2241,9 +2241,9 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2241
2241
|
emits: ["onTimeChange", "toggleSunStudy"],
|
|
2242
2242
|
setup(t, { emit: l }) {
|
|
2243
2243
|
const n = t, { currentDay: a, currentTime: i, disabled: o } = Ce(n), s = l, r = _(i.value.timeInHours);
|
|
2244
|
-
return
|
|
2244
|
+
return j(i, () => {
|
|
2245
2245
|
r.value = i.value.timeInHours;
|
|
2246
|
-
}),
|
|
2246
|
+
}), j(
|
|
2247
2247
|
r,
|
|
2248
2248
|
() => {
|
|
2249
2249
|
s(
|
|
@@ -2256,8 +2256,8 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2256
2256
|
{ immediate: !0 }
|
|
2257
2257
|
), (p, h) => {
|
|
2258
2258
|
const g = E("v-icon"), w = E("v-slider"), k = E("v-field"), F = E("v-btn");
|
|
2259
|
-
return u(), L("div",
|
|
2260
|
-
e("div",
|
|
2259
|
+
return u(), L("div", cl, [
|
|
2260
|
+
e("div", dl, [
|
|
2261
2261
|
y(k, {
|
|
2262
2262
|
class: "ss-slider-field",
|
|
2263
2263
|
style: {},
|
|
@@ -2266,7 +2266,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2266
2266
|
flat: ""
|
|
2267
2267
|
}, {
|
|
2268
2268
|
default: v(() => [
|
|
2269
|
-
m(a).timeSamples.length > 1 ? (u(),
|
|
2269
|
+
m(a).timeSamples.length > 1 ? (u(), T(w, {
|
|
2270
2270
|
key: 0,
|
|
2271
2271
|
class: "pa-2 pr-2",
|
|
2272
2272
|
modelValue: r.value,
|
|
@@ -2287,25 +2287,25 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2287
2287
|
color: "warning"
|
|
2288
2288
|
}, {
|
|
2289
2289
|
default: v(() => [
|
|
2290
|
-
|
|
2290
|
+
le(" mdi-white-balance-sunny ")
|
|
2291
2291
|
]),
|
|
2292
2292
|
_: 1
|
|
2293
2293
|
}),
|
|
2294
|
-
e("span",
|
|
2294
|
+
e("span", vl, P(m(ct)(r.value)), 1)
|
|
2295
2295
|
]),
|
|
2296
2296
|
_: 1
|
|
2297
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(
|
|
2297
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
|
|
2298
2298
|
y(g, {
|
|
2299
2299
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2300
2300
|
class: "mr-2 icon",
|
|
2301
2301
|
color: "warning"
|
|
2302
2302
|
}, {
|
|
2303
2303
|
default: v(() => [
|
|
2304
|
-
|
|
2304
|
+
le(" mdi-white-balance-sunny ")
|
|
2305
2305
|
]),
|
|
2306
2306
|
_: 1
|
|
2307
2307
|
}),
|
|
2308
|
-
e("span",
|
|
2308
|
+
e("span", ml, P(m(ct)(r.value)), 1)
|
|
2309
2309
|
], 64))
|
|
2310
2310
|
]),
|
|
2311
2311
|
_: 1
|
|
@@ -2322,7 +2322,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2322
2322
|
]);
|
|
2323
2323
|
};
|
|
2324
2324
|
}
|
|
2325
|
-
}), Dt = /* @__PURE__ */
|
|
2325
|
+
}), Dt = /* @__PURE__ */ ne(pl, [["__scopeId", "data-v-c06c753d"]]), fl = /* @__PURE__ */ J({
|
|
2326
2326
|
__name: "VSunStudyToggle",
|
|
2327
2327
|
props: {
|
|
2328
2328
|
displaySunsim: { type: Boolean },
|
|
@@ -2333,7 +2333,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2333
2333
|
const n = l, a = Ie(De);
|
|
2334
2334
|
return (i, o) => {
|
|
2335
2335
|
const s = E("v-btn");
|
|
2336
|
-
return !i.displaySunsim && i.showUI ? (u(),
|
|
2336
|
+
return !i.displaySunsim && i.showUI ? (u(), T(s, {
|
|
2337
2337
|
key: 0,
|
|
2338
2338
|
size: "small",
|
|
2339
2339
|
varient: "tonal",
|
|
@@ -2342,13 +2342,13 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2342
2342
|
onClick: o[0] || (o[0] = (r) => n("toggleSunStudy"))
|
|
2343
2343
|
}, {
|
|
2344
2344
|
default: v(() => [
|
|
2345
|
-
|
|
2345
|
+
le(P(m(a).getLabel("openSunStudy")), 1)
|
|
2346
2346
|
]),
|
|
2347
2347
|
_: 1
|
|
2348
2348
|
})) : V("", !0);
|
|
2349
2349
|
};
|
|
2350
2350
|
}
|
|
2351
|
-
}),
|
|
2351
|
+
}), hl = /* @__PURE__ */ J({
|
|
2352
2352
|
__name: "VAutoplay",
|
|
2353
2353
|
props: {
|
|
2354
2354
|
autoplayStatus: { type: Boolean }
|
|
@@ -2360,7 +2360,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2360
2360
|
));
|
|
2361
2361
|
return (i, o) => {
|
|
2362
2362
|
const s = E("v-icon"), r = E("v-btn");
|
|
2363
|
-
return u(),
|
|
2363
|
+
return u(), T(r, {
|
|
2364
2364
|
size: "x-small",
|
|
2365
2365
|
class: me(["autoplay-btn", { mobile: a.value, "mt-1": a.value, "mx-1": a.value }]),
|
|
2366
2366
|
onClick: o[0] || (o[0] = (p) => n("toggleAutoPlay"))
|
|
@@ -2376,10 +2376,10 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2376
2376
|
}, 8, ["class"]);
|
|
2377
2377
|
};
|
|
2378
2378
|
}
|
|
2379
|
-
}), Bt = /* @__PURE__ */
|
|
2379
|
+
}), Bt = /* @__PURE__ */ ne(hl, [["__scopeId", "data-v-7fd2b4f3"]]), gl = {
|
|
2380
2380
|
key: 0,
|
|
2381
2381
|
class: "sun-icon-wrapper"
|
|
2382
|
-
},
|
|
2382
|
+
}, yl = 37, _l = 39, bl = /* @__PURE__ */ J({
|
|
2383
2383
|
__name: "VWaypointCarousel",
|
|
2384
2384
|
props: {
|
|
2385
2385
|
thumbnails: {},
|
|
@@ -2400,15 +2400,15 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2400
2400
|
));
|
|
2401
2401
|
Re(() => {
|
|
2402
2402
|
window.addEventListener("keydown", r);
|
|
2403
|
-
}),
|
|
2403
|
+
}), ot(() => {
|
|
2404
2404
|
window.removeEventListener("keydown", r);
|
|
2405
2405
|
});
|
|
2406
2406
|
function r(h) {
|
|
2407
2407
|
switch (h.keyCode) {
|
|
2408
|
-
case h.keyCode ===
|
|
2408
|
+
case h.keyCode === yl:
|
|
2409
2409
|
a("previous");
|
|
2410
2410
|
break;
|
|
2411
|
-
case h.keyCode ===
|
|
2411
|
+
case h.keyCode === _l:
|
|
2412
2412
|
a("next");
|
|
2413
2413
|
break;
|
|
2414
2414
|
default:
|
|
@@ -2439,7 +2439,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2439
2439
|
mandatory: ""
|
|
2440
2440
|
}, {
|
|
2441
2441
|
prev: v(() => [
|
|
2442
|
-
s.value ? V("", !0) : (u(),
|
|
2442
|
+
s.value ? V("", !0) : (u(), T(w, {
|
|
2443
2443
|
key: 0,
|
|
2444
2444
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2445
2445
|
icon: "mdi-chevron-left",
|
|
@@ -2449,7 +2449,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2449
2449
|
}, null, 8, ["class"]))
|
|
2450
2450
|
]),
|
|
2451
2451
|
next: v(() => [
|
|
2452
|
-
s.value ? V("", !0) : (u(),
|
|
2452
|
+
s.value ? V("", !0) : (u(), T(w, {
|
|
2453
2453
|
key: 0,
|
|
2454
2454
|
class: me(["carousel-button", { mobile: s.value }]),
|
|
2455
2455
|
icon: "mdi-chevron-right",
|
|
@@ -2459,7 +2459,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2459
2459
|
}, null, 8, ["class"]))
|
|
2460
2460
|
]),
|
|
2461
2461
|
default: v(() => [
|
|
2462
|
-
(u(!0), L(
|
|
2462
|
+
(u(!0), L(xe, null, Me(h.thumbnails, (S) => (u(), T(d, {
|
|
2463
2463
|
key: S.id
|
|
2464
2464
|
}, {
|
|
2465
2465
|
default: v(({ toggle: I, selectedClass: A }) => [
|
|
@@ -2480,7 +2480,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2480
2480
|
"aspect-ratio": 1,
|
|
2481
2481
|
src: S.thumbnailUrl
|
|
2482
2482
|
}, null, 8, ["src"]),
|
|
2483
|
-
n.cameraHasSunStudy(S.id) ? (u(), L("div",
|
|
2483
|
+
n.cameraHasSunStudy(S.id) ? (u(), L("div", gl, [
|
|
2484
2484
|
y(F, {
|
|
2485
2485
|
class: "sun-icon",
|
|
2486
2486
|
icon: "mdi-white-balance-sunny"
|
|
@@ -2499,10 +2499,10 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2499
2499
|
], 2);
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
|
-
}),
|
|
2502
|
+
}), dt = /* @__PURE__ */ ne(bl, [["__scopeId", "data-v-9cc758dc"]]), wl = {
|
|
2503
2503
|
id: "share-btns-wrapper",
|
|
2504
2504
|
class: "text-center"
|
|
2505
|
-
},
|
|
2505
|
+
}, kl = /* @__PURE__ */ J({
|
|
2506
2506
|
__name: "VSocialShare",
|
|
2507
2507
|
setup(t) {
|
|
2508
2508
|
const l = Ie(De), n = _(!1), a = _(location.href);
|
|
@@ -2547,7 +2547,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2547
2547
|
}, I), null, 16)
|
|
2548
2548
|
]),
|
|
2549
2549
|
default: v(() => [
|
|
2550
|
-
e("span", null,
|
|
2550
|
+
e("span", null, P(m(l).getLabel("share")), 1)
|
|
2551
2551
|
]),
|
|
2552
2552
|
_: 1
|
|
2553
2553
|
}),
|
|
@@ -2569,7 +2569,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2569
2569
|
}),
|
|
2570
2570
|
y(k, null, {
|
|
2571
2571
|
default: v(() => [
|
|
2572
|
-
|
|
2572
|
+
le(P(m(l).getLabel("share")), 1)
|
|
2573
2573
|
]),
|
|
2574
2574
|
_: 1
|
|
2575
2575
|
}),
|
|
@@ -2579,7 +2579,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2579
2579
|
}),
|
|
2580
2580
|
y(d, { class: "mt-5" }, {
|
|
2581
2581
|
default: v(() => [
|
|
2582
|
-
e("p",
|
|
2582
|
+
e("p", wl, [
|
|
2583
2583
|
y(w, { location: "top" }, {
|
|
2584
2584
|
activator: v(({ props: I }) => [
|
|
2585
2585
|
y(g, Ee({
|
|
@@ -2590,7 +2590,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2590
2590
|
}, I, { onClick: i }), null, 16)
|
|
2591
2591
|
]),
|
|
2592
2592
|
default: v(() => [
|
|
2593
|
-
e("span", null,
|
|
2593
|
+
e("span", null, P(m(l).getLabel("shareToFacebook")), 1)
|
|
2594
2594
|
]),
|
|
2595
2595
|
_: 1
|
|
2596
2596
|
}),
|
|
@@ -2604,7 +2604,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2604
2604
|
}, I, { onClick: s }), null, 16)
|
|
2605
2605
|
]),
|
|
2606
2606
|
default: v(() => [
|
|
2607
|
-
e("span", null,
|
|
2607
|
+
e("span", null, P(m(l).getLabel("shareToLinkedin")), 1)
|
|
2608
2608
|
]),
|
|
2609
2609
|
_: 1
|
|
2610
2610
|
}),
|
|
@@ -2618,7 +2618,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2618
2618
|
}, I, { onClick: o }), null, 16)
|
|
2619
2619
|
]),
|
|
2620
2620
|
default: v(() => [
|
|
2621
|
-
e("span", null,
|
|
2621
|
+
e("span", null, P(m(l).getLabel("shareToTwitter")), 1)
|
|
2622
2622
|
]),
|
|
2623
2623
|
_: 1
|
|
2624
2624
|
}),
|
|
@@ -2634,7 +2634,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2634
2634
|
}, I), null, 16, ["href"])
|
|
2635
2635
|
]),
|
|
2636
2636
|
default: v(() => [
|
|
2637
|
-
e("span", null,
|
|
2637
|
+
e("span", null, P(m(l).getLabel("shareViaEmail")), 1)
|
|
2638
2638
|
]),
|
|
2639
2639
|
_: 1
|
|
2640
2640
|
}),
|
|
@@ -2649,7 +2649,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2649
2649
|
}, I), null, 16)
|
|
2650
2650
|
]),
|
|
2651
2651
|
default: v(() => [
|
|
2652
|
-
e("span", null,
|
|
2652
|
+
e("span", null, P(m(l).getLabel("copyLink")), 1)
|
|
2653
2653
|
]),
|
|
2654
2654
|
_: 1
|
|
2655
2655
|
}),
|
|
@@ -2667,7 +2667,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2667
2667
|
]);
|
|
2668
2668
|
};
|
|
2669
2669
|
}
|
|
2670
|
-
}), Wt = /* @__PURE__ */
|
|
2670
|
+
}), Wt = /* @__PURE__ */ ne(kl, [["__scopeId", "data-v-bb7d0a99"]]), Cl = { class: "static-image-wrapper" }, Sl = /* @__PURE__ */ J({
|
|
2671
2671
|
__name: "VSingleImage",
|
|
2672
2672
|
props: {
|
|
2673
2673
|
image: {},
|
|
@@ -2675,14 +2675,14 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2675
2675
|
},
|
|
2676
2676
|
setup(t) {
|
|
2677
2677
|
const l = t, n = D(() => ({ "background-image": `url("${encodeURI(l.image)}")` }));
|
|
2678
|
-
return (a, i) => (u(), L("div",
|
|
2678
|
+
return (a, i) => (u(), L("div", Cl, [
|
|
2679
2679
|
e("div", {
|
|
2680
2680
|
class: me(["img-div", [a.aspectRatio]]),
|
|
2681
|
-
style:
|
|
2681
|
+
style: ae(n.value)
|
|
2682
2682
|
}, null, 6)
|
|
2683
2683
|
]));
|
|
2684
2684
|
}
|
|
2685
|
-
}),
|
|
2685
|
+
}), Al = /* @__PURE__ */ ne(Sl, [["__scopeId", "data-v-31489804"]]), xl = {
|
|
2686
2686
|
id: "btn-fullscreen",
|
|
2687
2687
|
class: "btn-placeholder mr-2"
|
|
2688
2688
|
}, Pt = /* @__PURE__ */ J({
|
|
@@ -2695,7 +2695,7 @@ const ul = { class: "d-flex align-center" }, cl = { class: "d-block mr-1" }, dl
|
|
|
2695
2695
|
const n = l;
|
|
2696
2696
|
return (a, i) => {
|
|
2697
2697
|
const o = E("v-btn");
|
|
2698
|
-
return u(), L("div",
|
|
2698
|
+
return u(), L("div", xl, [
|
|
2699
2699
|
y(o, {
|
|
2700
2700
|
density: "comfortable",
|
|
2701
2701
|
elevation: "3",
|
|
@@ -2761,23 +2761,23 @@ class Nt {
|
|
|
2761
2761
|
this._state.isActive = l;
|
|
2762
2762
|
}
|
|
2763
2763
|
}
|
|
2764
|
-
function
|
|
2764
|
+
function et(t) {
|
|
2765
2765
|
return ("0" + t).slice(-2);
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function Il() {
|
|
2768
2768
|
const t = /* @__PURE__ */ new Date();
|
|
2769
2769
|
return [
|
|
2770
2770
|
t.getFullYear().toString(),
|
|
2771
|
-
|
|
2772
|
-
|
|
2771
|
+
et(t.getMonth() + 1),
|
|
2772
|
+
et(t.getDate()),
|
|
2773
2773
|
" ",
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2774
|
+
et(t.getHours()),
|
|
2775
|
+
et(t.getMinutes()),
|
|
2776
|
+
et(t.getSeconds())
|
|
2777
2777
|
].join("");
|
|
2778
2778
|
}
|
|
2779
|
-
function
|
|
2780
|
-
return "Visuado-Snapshot-" +
|
|
2779
|
+
function Ll() {
|
|
2780
|
+
return "Visuado-Snapshot-" + Il();
|
|
2781
2781
|
}
|
|
2782
2782
|
class Tt {
|
|
2783
2783
|
// private cameraParams: any
|
|
@@ -2786,22 +2786,22 @@ class Tt {
|
|
|
2786
2786
|
this.data = l;
|
|
2787
2787
|
}
|
|
2788
2788
|
download(l = null) {
|
|
2789
|
-
l = l ||
|
|
2789
|
+
l = l || Ll();
|
|
2790
2790
|
const n = document.createElement("a");
|
|
2791
2791
|
typeof n.download == "string" ? (document.body.appendChild(n), n.download = l, n.href = this.data, n.click(), document.body.removeChild(n)) : location.replace(this.data);
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
|
-
const
|
|
2794
|
+
const El = {
|
|
2795
2795
|
id: "btn-magic",
|
|
2796
2796
|
class: "btn-placeholder mr-2"
|
|
2797
|
-
},
|
|
2797
|
+
}, Ml = /* @__PURE__ */ J({
|
|
2798
2798
|
__name: "VVisuadoCreateButton",
|
|
2799
2799
|
emits: ["onSnapshot"],
|
|
2800
2800
|
setup(t, { emit: l }) {
|
|
2801
2801
|
const n = l;
|
|
2802
2802
|
return (a, i) => {
|
|
2803
2803
|
const o = E("v-btn");
|
|
2804
|
-
return u(), L("div",
|
|
2804
|
+
return u(), L("div", El, [
|
|
2805
2805
|
y(o, {
|
|
2806
2806
|
density: "comfortable",
|
|
2807
2807
|
elevation: "3",
|
|
@@ -2811,31 +2811,31 @@ const Ll = {
|
|
|
2811
2811
|
]);
|
|
2812
2812
|
};
|
|
2813
2813
|
}
|
|
2814
|
-
}),
|
|
2814
|
+
}), Fl = {
|
|
2815
2815
|
key: 0,
|
|
2816
2816
|
class: "player-error"
|
|
2817
|
-
},
|
|
2817
|
+
}, Vl = { class: "player-and-components-wrapper" }, Dl = {
|
|
2818
2818
|
key: 3,
|
|
2819
2819
|
class: "settings-panel"
|
|
2820
|
-
},
|
|
2820
|
+
}, Bl = {
|
|
2821
2821
|
key: 0,
|
|
2822
2822
|
class: "compass-wrapper"
|
|
2823
|
-
},
|
|
2823
|
+
}, Tl = {
|
|
2824
2824
|
key: 1,
|
|
2825
2825
|
class: "btn-placeholder mr-2"
|
|
2826
|
-
},
|
|
2826
|
+
}, Ol = { class: "btn-placeholder mr-2" }, $l = {
|
|
2827
2827
|
key: 2,
|
|
2828
2828
|
class: "btn-placeholder mr-2"
|
|
2829
|
-
},
|
|
2829
|
+
}, Rl = {
|
|
2830
2830
|
key: 3,
|
|
2831
2831
|
class: "btn-placeholder mr-2"
|
|
2832
|
-
},
|
|
2832
|
+
}, Yl = { class: "d-flex flex-column align-end" }, Hl = {
|
|
2833
2833
|
key: 0,
|
|
2834
2834
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
2835
|
-
},
|
|
2835
|
+
}, Ul = {
|
|
2836
2836
|
key: 2,
|
|
2837
2837
|
class: "render-version"
|
|
2838
|
-
},
|
|
2838
|
+
}, zl = /* @__PURE__ */ J({
|
|
2839
2839
|
__name: "VVirtualTour",
|
|
2840
2840
|
props: {
|
|
2841
2841
|
cdnFileResolver: {},
|
|
@@ -2898,34 +2898,39 @@ const Ll = {
|
|
|
2898
2898
|
showFloorLevel: I,
|
|
2899
2899
|
defaultWaypointIndex: A,
|
|
2900
2900
|
defaultViewMode: R,
|
|
2901
|
-
mouseSensitivity:
|
|
2901
|
+
mouseSensitivity: X,
|
|
2902
2902
|
// isInIframe,
|
|
2903
2903
|
adminMode: $,
|
|
2904
|
-
playerSettings:
|
|
2904
|
+
playerSettings: te,
|
|
2905
2905
|
hasMarkersJson: de,
|
|
2906
2906
|
dynamicMarkers: Y,
|
|
2907
2907
|
version: Se,
|
|
2908
|
-
showVersion:
|
|
2909
|
-
} = Ce(a), O = n
|
|
2908
|
+
showVersion: ye
|
|
2909
|
+
} = Ce(a), O = n, re = _(!1), N = _(!1), se = _(!1), H = _(), M = _(), q = _(), Q = _(), U = _(), oe = _(0), Z = _(), ie = _(), W = _(), pe = _(0), he = _(0), ve = _(0), be = _(!1), we = _(!1), Be = _(), ke = _(!1), ce = _(!1), Te = _({
|
|
2910
|
+
startTime: 0,
|
|
2911
|
+
startX: 0,
|
|
2912
|
+
startY: 0
|
|
2913
|
+
}), Fe = _(
|
|
2914
|
+
new Nt(document, "player-wrapper")
|
|
2915
|
+
);
|
|
2910
2916
|
l({
|
|
2911
2917
|
updateSelectedInterior: At,
|
|
2912
2918
|
takeSnapshot: Lt,
|
|
2913
2919
|
setCurrentCamera: je,
|
|
2914
|
-
getCurrentRotation:
|
|
2915
|
-
setCurrentRotation:
|
|
2916
|
-
getCurrentFov:
|
|
2917
|
-
setCurrentFov:
|
|
2918
|
-
loadDynamicMarkers:
|
|
2919
|
-
screenToWorld:
|
|
2920
|
-
setFrontendMarkers:
|
|
2921
|
-
clearCurrentMarkerLayer:
|
|
2920
|
+
getCurrentRotation: Kt,
|
|
2921
|
+
setCurrentRotation: en,
|
|
2922
|
+
getCurrentFov: tn,
|
|
2923
|
+
setCurrentFov: nn,
|
|
2924
|
+
loadDynamicMarkers: pn,
|
|
2925
|
+
screenToWorld: fn,
|
|
2926
|
+
setFrontendMarkers: dn,
|
|
2927
|
+
clearCurrentMarkerLayer: mn,
|
|
2928
|
+
apartmentJson: M
|
|
2922
2929
|
});
|
|
2923
|
-
const
|
|
2924
|
-
new Nt(document, "player-wrapper")
|
|
2925
|
-
), ft = _(), nt = D(() => {
|
|
2930
|
+
const pt = _(), Je = D(() => {
|
|
2926
2931
|
if (M.value) {
|
|
2927
2932
|
const c = M.value.cameras.map(
|
|
2928
|
-
(
|
|
2933
|
+
(z) => z.floorLevel
|
|
2929
2934
|
);
|
|
2930
2935
|
let x = [...new Set(c)];
|
|
2931
2936
|
return x = x.sort(), x;
|
|
@@ -2937,53 +2942,53 @@ const Ll = {
|
|
|
2937
2942
|
const x = M.value.cameras.map(
|
|
2938
2943
|
(Pe) => Pe.floorLevel
|
|
2939
2944
|
);
|
|
2940
|
-
let
|
|
2941
|
-
|
|
2942
|
-
const fe =
|
|
2945
|
+
let z = [...new Set(x)];
|
|
2946
|
+
z = z.sort();
|
|
2947
|
+
const fe = z.findIndex(
|
|
2943
2948
|
(Pe) => Pe === he.value
|
|
2944
2949
|
);
|
|
2945
2950
|
fe !== -1 && (c = fe);
|
|
2946
2951
|
}
|
|
2947
2952
|
return c;
|
|
2948
|
-
}),
|
|
2949
|
-
(c) => c.archetypeID ===
|
|
2950
|
-
)),
|
|
2953
|
+
}), Xe = D(() => at.value.findIndex(
|
|
2954
|
+
(c) => c.archetypeID === Z.value
|
|
2955
|
+
)), ge = D(() => q.value ? q.value.cameras.map((c) => ({
|
|
2951
2956
|
...c,
|
|
2952
|
-
thumbnailUrl:
|
|
2953
|
-
`/${
|
|
2957
|
+
thumbnailUrl: st(
|
|
2958
|
+
`/${Z.value}/${o.value}/thumbs/200/${c.id}.jpg`
|
|
2954
2959
|
),
|
|
2955
|
-
imageUrl:
|
|
2956
|
-
`/${
|
|
2960
|
+
imageUrl: st(
|
|
2961
|
+
`/${Z.value}/${o.value}/images/1600/${c.id}.jpg`
|
|
2957
2962
|
)
|
|
2958
|
-
})) : []),
|
|
2963
|
+
})) : []), ft = D(() => !ge.value || !ge.value[oe.value] ? "" : ge.value[oe.value].imageUrl), at = D(() => {
|
|
2959
2964
|
let c = [];
|
|
2960
2965
|
return H.value && (c = H.value.archetypes), r.value.length ? c.filter(
|
|
2961
2966
|
(x) => r.value.includes(x.archetypeID)
|
|
2962
2967
|
) : c;
|
|
2963
|
-
}),
|
|
2964
|
-
var
|
|
2965
|
-
const x = (
|
|
2968
|
+
}), b = D(() => q.value ? at.value.map((c) => {
|
|
2969
|
+
var z;
|
|
2970
|
+
const x = (z = ge.value[oe.value]) == null ? void 0 : z.id;
|
|
2966
2971
|
return {
|
|
2967
2972
|
...c,
|
|
2968
|
-
url:
|
|
2973
|
+
url: st(
|
|
2969
2974
|
`/${c.archetypeID}/${o.value}/thumbs/200/${x}.jpg`
|
|
2970
2975
|
)
|
|
2971
2976
|
};
|
|
2972
|
-
}) : []),
|
|
2973
|
-
if (
|
|
2974
|
-
return
|
|
2975
|
-
}),
|
|
2977
|
+
}) : []), B = D(() => {
|
|
2978
|
+
if (Q.value && Q.value.storeys && Ye.value in Q.value.storeys)
|
|
2979
|
+
return Q.value.storeys[Ye.value];
|
|
2980
|
+
}), ee = D(() => M.value && M.value.timeInHours), ue = D(() => {
|
|
2976
2981
|
if (M.value && M.value.timeInHours && w.value)
|
|
2977
|
-
return
|
|
2982
|
+
return wn(M.value.timeInHours);
|
|
2978
2983
|
});
|
|
2979
|
-
|
|
2984
|
+
nt(
|
|
2980
2985
|
De,
|
|
2981
2986
|
h.value ? new Ze(h.value) : new Ze()
|
|
2982
2987
|
);
|
|
2983
|
-
const
|
|
2988
|
+
const G = D(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2984
2989
|
window.navigator.userAgent
|
|
2985
|
-
)),
|
|
2986
|
-
const c =
|
|
2990
|
+
)), Ae = D(() => G.value ? "platform-mobile" : "platform-desktop"), Ge = D(() => {
|
|
2991
|
+
const c = _e(
|
|
2987
2992
|
i.value,
|
|
2988
2993
|
"/config.json"
|
|
2989
2994
|
);
|
|
@@ -2991,28 +2996,28 @@ const Ll = {
|
|
|
2991
2996
|
`${c}-dont-show-tutorial`
|
|
2992
2997
|
);
|
|
2993
2998
|
});
|
|
2994
|
-
|
|
2995
|
-
s.value && (
|
|
2996
|
-
}),
|
|
2999
|
+
j(s, () => {
|
|
3000
|
+
s.value && (Z.value = s.value);
|
|
3001
|
+
}), j(
|
|
2997
3002
|
[i, o],
|
|
2998
3003
|
async () => {
|
|
2999
3004
|
try {
|
|
3000
|
-
|
|
3005
|
+
ie.value = void 0, await Zt(), Jt(), await qt(), Fe.value.setup(), Xt();
|
|
3001
3006
|
} catch (c) {
|
|
3002
|
-
|
|
3007
|
+
se.value = !0, O("onError", c);
|
|
3003
3008
|
}
|
|
3004
3009
|
},
|
|
3005
3010
|
{ immediate: !0 }
|
|
3006
|
-
),
|
|
3011
|
+
), j(
|
|
3007
3012
|
R,
|
|
3008
3013
|
() => {
|
|
3009
|
-
R.value === "virtualTour" && (
|
|
3014
|
+
R.value === "virtualTour" && (be.value = !1), R.value === "slideShow" && (be.value = !0, ce.value = !0);
|
|
3010
3015
|
},
|
|
3011
3016
|
{ immediate: !0 }
|
|
3012
|
-
),
|
|
3017
|
+
), j(ke, () => {
|
|
3013
3018
|
if (ke.value) {
|
|
3014
3019
|
ce.value = !1;
|
|
3015
|
-
const c = We(
|
|
3020
|
+
const c = We(W.value);
|
|
3016
3021
|
Be.value = c[0].timeSamples.find(
|
|
3017
3022
|
(x) => x.timeInHours === c[0].defaultHour
|
|
3018
3023
|
);
|
|
@@ -3020,54 +3025,54 @@ const Ll = {
|
|
|
3020
3025
|
ce.value = !0, U.value.unloadSunSim();
|
|
3021
3026
|
}), Re(async () => {
|
|
3022
3027
|
try {
|
|
3023
|
-
|
|
3024
|
-
|
|
3028
|
+
Ge.value ? (re.value = !1, ce.value = !0) : setTimeout(() => {
|
|
3029
|
+
re.value = !0;
|
|
3025
3030
|
}, 1e3);
|
|
3026
3031
|
} catch (c) {
|
|
3027
|
-
|
|
3032
|
+
se.value = !0, O("onError", c);
|
|
3028
3033
|
}
|
|
3029
|
-
}),
|
|
3034
|
+
}), ot(() => {
|
|
3030
3035
|
document.removeEventListener("wheel", ht);
|
|
3031
3036
|
});
|
|
3032
|
-
function
|
|
3033
|
-
ce.value = !0,
|
|
3037
|
+
function Le(c = !1) {
|
|
3038
|
+
ce.value = !0, re.value = !1, c && Qt();
|
|
3034
3039
|
}
|
|
3035
|
-
function
|
|
3036
|
-
const c =
|
|
3040
|
+
function Qt() {
|
|
3041
|
+
const c = _e(
|
|
3037
3042
|
i.value,
|
|
3038
3043
|
"/config.json"
|
|
3039
3044
|
);
|
|
3040
3045
|
localStorage.setItem(`${c}-dont-show-tutorial`, "true");
|
|
3041
3046
|
}
|
|
3042
|
-
async function
|
|
3047
|
+
async function Zt() {
|
|
3043
3048
|
H.value = await Gt();
|
|
3044
3049
|
}
|
|
3045
|
-
async function
|
|
3050
|
+
async function qt() {
|
|
3046
3051
|
var c;
|
|
3047
3052
|
if (M.value = await kt(
|
|
3048
|
-
|
|
3053
|
+
Z.value,
|
|
3049
3054
|
o.value
|
|
3050
|
-
), M.value && (
|
|
3051
|
-
|
|
3055
|
+
), M.value && (ie.value = (c = M.value.cameras[0]) == null ? void 0 : c.id), q.value = await Ct(
|
|
3056
|
+
Z.value,
|
|
3052
3057
|
o.value
|
|
3053
|
-
),
|
|
3058
|
+
), q.value) {
|
|
3054
3059
|
const x = A.value !== null ? A.value : 0;
|
|
3055
|
-
|
|
3060
|
+
oe.value = x, ie.value = q.value.cameras[x].id, W.value = q.value.cameras[x].id;
|
|
3056
3061
|
}
|
|
3057
|
-
S.value && (
|
|
3058
|
-
|
|
3062
|
+
S.value && (Q.value = await St(
|
|
3063
|
+
Z.value,
|
|
3059
3064
|
o.value
|
|
3060
3065
|
));
|
|
3061
3066
|
}
|
|
3062
|
-
function
|
|
3067
|
+
function Jt() {
|
|
3063
3068
|
let c = s.value;
|
|
3064
|
-
c || (c = H.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(c) ? c = r.value[0] : console.warn("illegal interior id", c, r), c || (c = H.value.archetypes[0].archetypeID),
|
|
3069
|
+
c || (c = H.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(c) ? c = r.value[0] : console.warn("illegal interior id", c, r), c || (c = H.value.archetypes[0].archetypeID), Z.value = c;
|
|
3065
3070
|
}
|
|
3066
|
-
function
|
|
3071
|
+
function Xt() {
|
|
3067
3072
|
const c = document.getElementById("main-canvas");
|
|
3068
3073
|
c.addEventListener("touchmove", x, { passive: !1 });
|
|
3069
|
-
function x(
|
|
3070
|
-
|
|
3074
|
+
function x(z) {
|
|
3075
|
+
z.preventDefault(), window.scrollBy(0, 0);
|
|
3071
3076
|
}
|
|
3072
3077
|
c.addEventListener(
|
|
3073
3078
|
"mouseenter",
|
|
@@ -3083,6 +3088,20 @@ const Ll = {
|
|
|
3083
3088
|
document.removeEventListener("wheel", ht);
|
|
3084
3089
|
},
|
|
3085
3090
|
{ passive: !1 }
|
|
3091
|
+
), c.addEventListener(
|
|
3092
|
+
"mousedown",
|
|
3093
|
+
(z) => {
|
|
3094
|
+
Te.value.startTime = (/* @__PURE__ */ new Date()).getTime(), Te.value.startX = z.clientX, Te.value.startY = z.clientY;
|
|
3095
|
+
},
|
|
3096
|
+
{ passive: !1 }
|
|
3097
|
+
), c.addEventListener(
|
|
3098
|
+
"mouseup",
|
|
3099
|
+
(z) => {
|
|
3100
|
+
(/* @__PURE__ */ new Date()).getTime() - Te.value.startTime < 200 && Math.sqrt(Math.pow(z.clientX, 2) + Math.pow(z.clientY, 2)) - Math.sqrt(
|
|
3101
|
+
Math.pow(Te.value.startX, 2) + Math.pow(Te.value.startY, 2)
|
|
3102
|
+
) < 5 && (ke.value = !1);
|
|
3103
|
+
},
|
|
3104
|
+
{ passive: !1 }
|
|
3086
3105
|
);
|
|
3087
3106
|
}
|
|
3088
3107
|
function ht(c) {
|
|
@@ -3090,11 +3109,11 @@ const Ll = {
|
|
|
3090
3109
|
}
|
|
3091
3110
|
async function Gt() {
|
|
3092
3111
|
try {
|
|
3093
|
-
return await
|
|
3112
|
+
return await it("/config.json");
|
|
3094
3113
|
} catch (c) {
|
|
3095
3114
|
console.error(
|
|
3096
3115
|
"Error loading config.json - ",
|
|
3097
|
-
|
|
3116
|
+
_e(i.value, "/config.json"),
|
|
3098
3117
|
c
|
|
3099
3118
|
);
|
|
3100
3119
|
return;
|
|
@@ -3102,21 +3121,21 @@ const Ll = {
|
|
|
3102
3121
|
}
|
|
3103
3122
|
async function kt(c, x) {
|
|
3104
3123
|
try {
|
|
3105
|
-
return await
|
|
3124
|
+
return await it(
|
|
3106
3125
|
`/${c}/${x}/apartment.json`
|
|
3107
3126
|
);
|
|
3108
|
-
} catch (
|
|
3127
|
+
} catch (z) {
|
|
3109
3128
|
console.error(
|
|
3110
3129
|
"Error loading apartment.json - ",
|
|
3111
3130
|
`/${c}/${x}/apartment.json`,
|
|
3112
|
-
|
|
3131
|
+
z
|
|
3113
3132
|
);
|
|
3114
3133
|
return;
|
|
3115
3134
|
}
|
|
3116
3135
|
}
|
|
3117
3136
|
async function Ct(c, x) {
|
|
3118
3137
|
try {
|
|
3119
|
-
return await
|
|
3138
|
+
return await it(
|
|
3120
3139
|
`/${c}/${x}/thumbs.json`
|
|
3121
3140
|
);
|
|
3122
3141
|
} catch {
|
|
@@ -3129,7 +3148,7 @@ const Ll = {
|
|
|
3129
3148
|
}
|
|
3130
3149
|
async function St(c, x) {
|
|
3131
3150
|
try {
|
|
3132
|
-
return await
|
|
3151
|
+
return await it(
|
|
3133
3152
|
`/${c}/${x}/minimap/minimap.json`
|
|
3134
3153
|
);
|
|
3135
3154
|
} catch {
|
|
@@ -3140,139 +3159,139 @@ const Ll = {
|
|
|
3140
3159
|
return;
|
|
3141
3160
|
}
|
|
3142
3161
|
}
|
|
3143
|
-
function
|
|
3162
|
+
function Kt() {
|
|
3144
3163
|
return U.value.getCameraRotation();
|
|
3145
3164
|
}
|
|
3146
|
-
function
|
|
3165
|
+
function en(c) {
|
|
3147
3166
|
return U.value.setCameraRotation(c);
|
|
3148
3167
|
}
|
|
3149
|
-
function
|
|
3168
|
+
function tn() {
|
|
3150
3169
|
return U.value.getCameraFov();
|
|
3151
3170
|
}
|
|
3152
|
-
function
|
|
3171
|
+
function nn(c) {
|
|
3153
3172
|
return U.value.setCameraFov(c);
|
|
3154
3173
|
}
|
|
3155
|
-
function
|
|
3156
|
-
let c =
|
|
3157
|
-
c >=
|
|
3174
|
+
function lt() {
|
|
3175
|
+
let c = oe.value + 1;
|
|
3176
|
+
c >= ge.value.length && (c = 0), oe.value = c, je(ge.value[oe.value].id);
|
|
3158
3177
|
}
|
|
3159
3178
|
function gt() {
|
|
3160
|
-
let c =
|
|
3161
|
-
c < 0 && (c =
|
|
3179
|
+
let c = oe.value - 1;
|
|
3180
|
+
c < 0 && (c = ge.value.length - 1), oe.value = c, je(ge.value[oe.value].id);
|
|
3162
3181
|
}
|
|
3163
3182
|
function yt(c, x = !0) {
|
|
3164
|
-
let
|
|
3165
|
-
|
|
3183
|
+
let z = ge.value.findIndex((fe) => fe.id === c);
|
|
3184
|
+
z != -1 && (oe.value = z, x && je(c));
|
|
3166
3185
|
}
|
|
3167
3186
|
function je(c) {
|
|
3168
|
-
ke.value = !1,
|
|
3187
|
+
ke.value = !1, ie.value = c;
|
|
3169
3188
|
}
|
|
3170
3189
|
function At(c) {
|
|
3171
|
-
|
|
3190
|
+
Z.value = c, on(), O("onInteriorUpdate", c), O("onCameraUpdate", W.value, M.value);
|
|
3172
3191
|
}
|
|
3173
|
-
async function
|
|
3192
|
+
async function on() {
|
|
3174
3193
|
M.value = await kt(
|
|
3175
|
-
|
|
3194
|
+
Z.value,
|
|
3176
3195
|
o.value
|
|
3177
|
-
),
|
|
3178
|
-
|
|
3196
|
+
), q.value = await Ct(
|
|
3197
|
+
Z.value,
|
|
3179
3198
|
o.value
|
|
3180
|
-
), S.value && (
|
|
3181
|
-
|
|
3199
|
+
), S.value && (Q.value = await St(
|
|
3200
|
+
Z.value,
|
|
3182
3201
|
o.value
|
|
3183
3202
|
));
|
|
3184
3203
|
}
|
|
3185
|
-
function
|
|
3186
|
-
|
|
3204
|
+
function an(c) {
|
|
3205
|
+
W.value = c, W.value && (yt(W.value, !1), O("onCameraUpdate", W.value, M.value));
|
|
3187
3206
|
}
|
|
3188
3207
|
const He = D(() => (c) => {
|
|
3189
3208
|
const x = We(c);
|
|
3190
3209
|
return !x || !x[0] || !x[0].timeSamples ? !1 : x[0].timeSamples.length > 1;
|
|
3191
3210
|
}), We = (c) => {
|
|
3192
|
-
const x = M.value.cameras.find((
|
|
3211
|
+
const x = M.value.cameras.find((z) => z.id === c);
|
|
3193
3212
|
return x == null ? void 0 : x.sunsimDayOfYear;
|
|
3194
3213
|
};
|
|
3195
|
-
function
|
|
3214
|
+
function ln(c) {
|
|
3196
3215
|
O("onSunsimUpdate", c);
|
|
3197
3216
|
}
|
|
3198
3217
|
function xt(c) {
|
|
3199
3218
|
U.value.loadSunSim(c.timeInHours);
|
|
3200
3219
|
}
|
|
3201
|
-
function
|
|
3220
|
+
function sn(c) {
|
|
3202
3221
|
pe.value = c;
|
|
3203
3222
|
}
|
|
3204
3223
|
function It(c) {
|
|
3205
3224
|
he.value = c;
|
|
3206
3225
|
}
|
|
3207
|
-
function
|
|
3226
|
+
function rn(c) {
|
|
3208
3227
|
ve.value = c;
|
|
3209
3228
|
}
|
|
3210
|
-
function
|
|
3229
|
+
function un(c, x) {
|
|
3211
3230
|
}
|
|
3212
|
-
function
|
|
3231
|
+
function cn(c) {
|
|
3213
3232
|
O("onFrontendMarkersUpdate", c);
|
|
3214
3233
|
}
|
|
3215
|
-
function
|
|
3234
|
+
function dn(c) {
|
|
3216
3235
|
if (!U.value) {
|
|
3217
3236
|
console.warn("Player API is not initialized, cannot set frontend markers.");
|
|
3218
3237
|
return;
|
|
3219
3238
|
}
|
|
3220
3239
|
U.value.updateFrontendMarkers(c);
|
|
3221
3240
|
}
|
|
3222
|
-
function
|
|
3223
|
-
U.value = c, U.value && (
|
|
3241
|
+
function vn(c) {
|
|
3242
|
+
U.value = c, U.value && (te.value && U.value.updateSettings(te.value), de.value ? U.value.loadMarkersJson() : Y.value && U.value.loadDynamicMarkers(Y.value), O("onInitialized", U.value));
|
|
3224
3243
|
}
|
|
3225
|
-
function
|
|
3244
|
+
function mn() {
|
|
3226
3245
|
U.value.clearCurrentMarkerLayer();
|
|
3227
3246
|
}
|
|
3228
|
-
function
|
|
3247
|
+
function pn(c) {
|
|
3229
3248
|
U.value.loadDynamicMarkers(c);
|
|
3230
3249
|
}
|
|
3231
|
-
function
|
|
3250
|
+
function fn(c) {
|
|
3232
3251
|
return U.value.screenToWorld(c);
|
|
3233
3252
|
}
|
|
3234
|
-
function
|
|
3253
|
+
function hn() {
|
|
3235
3254
|
Fe.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
3236
3255
|
}
|
|
3237
|
-
function
|
|
3238
|
-
|
|
3256
|
+
function gn() {
|
|
3257
|
+
be.value = !be.value;
|
|
3239
3258
|
}
|
|
3240
3259
|
async function Lt() {
|
|
3241
|
-
const c = 180 / Math.PI, x = await U.value.takePhoto(),
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3260
|
+
const c = 180 / Math.PI, x = await U.value.takePhoto(), z = U.value.getRotationEuler(), fe = U.value.getCurrentCamera(), Pe = new Tt(x, fe), kn = [
|
|
3261
|
+
z.x * -c,
|
|
3262
|
+
z.y * -c,
|
|
3263
|
+
z.z * c
|
|
3245
3264
|
];
|
|
3246
|
-
return O("onSnapshot", Pe,
|
|
3265
|
+
return O("onSnapshot", Pe, kn), Pe;
|
|
3247
3266
|
}
|
|
3248
|
-
async function
|
|
3267
|
+
async function yn() {
|
|
3249
3268
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
3250
|
-
const c = await U.value.takePhoto(), x = U.value.getCurrentCamera(),
|
|
3251
|
-
O("onVisuadoCreateButtonClicked",
|
|
3269
|
+
const c = await U.value.takePhoto(), x = U.value.getCurrentCamera(), z = new Tt(c, x);
|
|
3270
|
+
O("onVisuadoCreateButtonClicked", z);
|
|
3252
3271
|
}
|
|
3253
|
-
function
|
|
3254
|
-
let x =
|
|
3272
|
+
function st(c) {
|
|
3273
|
+
let x = _e(i.value, c);
|
|
3255
3274
|
return x && $.value && !x.startsWith("blob:") && (x = x + `?v=${Date.now()}`), x;
|
|
3256
3275
|
}
|
|
3257
|
-
async function
|
|
3258
|
-
const x =
|
|
3276
|
+
async function it(c) {
|
|
3277
|
+
const x = st(c);
|
|
3259
3278
|
try {
|
|
3260
|
-
return (await
|
|
3261
|
-
} catch (
|
|
3262
|
-
throw new Error(
|
|
3279
|
+
return (await ut.get(x)).data;
|
|
3280
|
+
} catch (z) {
|
|
3281
|
+
throw new Error(z);
|
|
3263
3282
|
}
|
|
3264
3283
|
}
|
|
3265
|
-
function
|
|
3284
|
+
function _n(c) {
|
|
3266
3285
|
U.value.updateSettings(c);
|
|
3267
3286
|
}
|
|
3268
|
-
function
|
|
3287
|
+
function bn(c) {
|
|
3269
3288
|
O("saveSettings", c);
|
|
3270
3289
|
}
|
|
3271
|
-
function
|
|
3290
|
+
function wn(c) {
|
|
3272
3291
|
if (c === void 0)
|
|
3273
3292
|
return null;
|
|
3274
|
-
const x = Math.floor(c),
|
|
3275
|
-
return { hours: x, minutes:
|
|
3293
|
+
const x = Math.floor(c), z = Math.floor((x - c) * 60);
|
|
3294
|
+
return { hours: x, minutes: z };
|
|
3276
3295
|
}
|
|
3277
3296
|
const Oe = _(!1), Et = _(null), _t = _(1);
|
|
3278
3297
|
function Mt() {
|
|
@@ -3281,115 +3300,115 @@ const Ll = {
|
|
|
3281
3300
|
return;
|
|
3282
3301
|
}
|
|
3283
3302
|
Oe.value = !0, U.value.toggleAutoRotate(), Et.value = setInterval(() => {
|
|
3284
|
-
_t.value = 1 * _t.value, U.value.setAutoRotateSpeed(_t.value),
|
|
3303
|
+
_t.value = 1 * _t.value, U.value.setAutoRotateSpeed(_t.value), lt();
|
|
3285
3304
|
}, 5e3);
|
|
3286
3305
|
}
|
|
3287
3306
|
return (c, x) => {
|
|
3288
|
-
const
|
|
3307
|
+
const z = E("v-btn");
|
|
3289
3308
|
return u(), L("div", {
|
|
3290
|
-
class: me(["virtual-tour-wrapper", [
|
|
3309
|
+
class: me(["virtual-tour-wrapper", [Ae.value]])
|
|
3291
3310
|
}, [
|
|
3292
|
-
|
|
3293
|
-
e("div",
|
|
3294
|
-
!Fe.value.isActive &&
|
|
3311
|
+
se.value ? (u(), L("div", Fl, "Error loading the player!!")) : V("", !0),
|
|
3312
|
+
e("div", Vl, [
|
|
3313
|
+
!Fe.value.isActive && Q.value && W.value && B.value && Z.value && we.value ? (u(), T(Vt, {
|
|
3295
3314
|
key: 0,
|
|
3296
3315
|
"cdn-file-resolver": m(i),
|
|
3297
3316
|
"apartment-json": M.value,
|
|
3298
3317
|
level: Ye.value,
|
|
3299
|
-
"minimap-json":
|
|
3318
|
+
"minimap-json": Q.value,
|
|
3300
3319
|
rotation: pe.value,
|
|
3301
|
-
"current-camera":
|
|
3320
|
+
"current-camera": W.value,
|
|
3302
3321
|
onGoToCamera: je,
|
|
3303
|
-
onClose: x[0] || (x[0] = (fe) =>
|
|
3322
|
+
onClose: x[0] || (x[0] = (fe) => we.value = !1)
|
|
3304
3323
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : V("", !0),
|
|
3305
|
-
|
|
3324
|
+
Z.value && ie.value ? (u(), L("div", {
|
|
3306
3325
|
key: 1,
|
|
3307
|
-
class: me(["v-player", [
|
|
3326
|
+
class: me(["v-player", [Ae.value]])
|
|
3308
3327
|
}, [
|
|
3309
|
-
y(
|
|
3328
|
+
y(io, {
|
|
3310
3329
|
ref_key: "vPlayerInstance",
|
|
3311
|
-
ref:
|
|
3330
|
+
ref: pt,
|
|
3312
3331
|
"cdn-file-resolver": m(i),
|
|
3313
|
-
style:
|
|
3314
|
-
"show-static-image":
|
|
3315
|
-
"current-camera-id":
|
|
3316
|
-
"mouse-sensitivity": m(
|
|
3317
|
-
"interior-id":
|
|
3332
|
+
style: ae({ zIndex: be.value ? 1 : 2 }),
|
|
3333
|
+
"show-static-image": be.value,
|
|
3334
|
+
"current-camera-id": ie.value,
|
|
3335
|
+
"mouse-sensitivity": m(X),
|
|
3336
|
+
"interior-id": Z.value,
|
|
3318
3337
|
"apartment-id": m(o),
|
|
3319
|
-
onNewCameraCallback:
|
|
3320
|
-
onNewRotationCallback:
|
|
3338
|
+
onNewCameraCallback: an,
|
|
3339
|
+
onNewRotationCallback: sn,
|
|
3321
3340
|
onNewFloorCallback: It,
|
|
3322
|
-
onNewFovCallback:
|
|
3323
|
-
onNewSizeCallback:
|
|
3324
|
-
onSunsimCallback:
|
|
3325
|
-
onPlayerApiCallback:
|
|
3326
|
-
onFrontendMarkersUpdate:
|
|
3341
|
+
onNewFovCallback: rn,
|
|
3342
|
+
onNewSizeCallback: un,
|
|
3343
|
+
onSunsimCallback: ln,
|
|
3344
|
+
onPlayerApiCallback: vn,
|
|
3345
|
+
onFrontendMarkersUpdate: cn
|
|
3327
3346
|
}, {
|
|
3328
3347
|
"slideshow-image": v(() => [
|
|
3329
|
-
|
|
3348
|
+
be.value ? (u(), T(Al, {
|
|
3330
3349
|
key: 0,
|
|
3331
|
-
image:
|
|
3350
|
+
image: ft.value
|
|
3332
3351
|
}, null, 8, ["image"])) : V("", !0)
|
|
3333
3352
|
]),
|
|
3334
3353
|
"top-left": v(() => [
|
|
3335
|
-
m($) ? (u(),
|
|
3354
|
+
m($) ? (u(), T(z, {
|
|
3336
3355
|
key: 0,
|
|
3337
3356
|
density: "comfortable",
|
|
3338
3357
|
icon: "mdi-cog-outline",
|
|
3339
3358
|
elevation: "3",
|
|
3340
3359
|
class: "mr-2",
|
|
3341
|
-
onClick: x[1] || (x[1] = (fe) =>
|
|
3360
|
+
onClick: x[1] || (x[1] = (fe) => N.value = !N.value)
|
|
3342
3361
|
})) : V("", !0),
|
|
3343
|
-
|
|
3362
|
+
tt(y(z, {
|
|
3344
3363
|
density: "comfortable",
|
|
3345
3364
|
icon: "mdi-alert-outline",
|
|
3346
3365
|
elevation: "3",
|
|
3347
3366
|
class: "mr-2",
|
|
3348
|
-
onClick: x[2] || (x[2] = (fe) =>
|
|
3367
|
+
onClick: x[2] || (x[2] = (fe) => re.value = !re.value)
|
|
3349
3368
|
}, null, 512), [
|
|
3350
|
-
[
|
|
3369
|
+
[rt, ce.value]
|
|
3351
3370
|
]),
|
|
3352
|
-
|
|
3371
|
+
Q.value && ie.value && B.value ? tt((u(), T(z, {
|
|
3353
3372
|
key: 1,
|
|
3354
3373
|
density: "comfortable",
|
|
3355
3374
|
elevation: "3",
|
|
3356
3375
|
icon: "mdi-floor-plan",
|
|
3357
3376
|
class: "mr-2",
|
|
3358
|
-
onClick: x[3] || (x[3] = (fe) =>
|
|
3377
|
+
onClick: x[3] || (x[3] = (fe) => we.value = !we.value)
|
|
3359
3378
|
}, null, 512)), [
|
|
3360
|
-
[
|
|
3379
|
+
[rt, ce.value]
|
|
3361
3380
|
]) : V("", !0),
|
|
3362
|
-
ce.value && m(I) &&
|
|
3381
|
+
ce.value && m(I) && Je.value.length > 1 ? (u(), T(po, {
|
|
3363
3382
|
key: 2,
|
|
3364
3383
|
level: he.value,
|
|
3365
|
-
"floor-levels":
|
|
3384
|
+
"floor-levels": Je.value,
|
|
3366
3385
|
onLevel: It
|
|
3367
3386
|
}, null, 8, ["level", "floor-levels"])) : V("", !0),
|
|
3368
|
-
m($) &&
|
|
3369
|
-
y(
|
|
3370
|
-
"initial-settings": m(
|
|
3371
|
-
onUpdateSettings:
|
|
3372
|
-
onSaveSettings:
|
|
3387
|
+
m($) && N.value ? (u(), L("div", Dl, [
|
|
3388
|
+
y(Da, {
|
|
3389
|
+
"initial-settings": m(te),
|
|
3390
|
+
onUpdateSettings: _n,
|
|
3391
|
+
onSaveSettings: bn
|
|
3373
3392
|
}, null, 8, ["initial-settings"])
|
|
3374
3393
|
])) : V("", !0)
|
|
3375
3394
|
]),
|
|
3376
3395
|
"top-center": v(() => []),
|
|
3377
3396
|
"top-right": v(() => [
|
|
3378
|
-
M.value && m(k) ?
|
|
3379
|
-
y(
|
|
3397
|
+
M.value && m(k) ? tt((u(), L("div", Bl, [
|
|
3398
|
+
y(Ao, { rotation: pe.value }, null, 8, ["rotation"])
|
|
3380
3399
|
], 512)), [
|
|
3381
|
-
[
|
|
3400
|
+
[rt, ce.value]
|
|
3382
3401
|
]) : V("", !0),
|
|
3383
3402
|
e("div", {
|
|
3384
|
-
onClick: x[4] || (x[4] = (fe) =>
|
|
3403
|
+
onClick: x[4] || (x[4] = (fe) => we.value = !we.value)
|
|
3385
3404
|
}, [
|
|
3386
|
-
ce.value && M.value &&
|
|
3405
|
+
ce.value && M.value && ee.value && m(w) ? (u(), T(Fo, {
|
|
3387
3406
|
key: 0,
|
|
3388
|
-
hours:
|
|
3389
|
-
minutes:
|
|
3407
|
+
hours: ue.value.hours,
|
|
3408
|
+
minutes: ue.value.minutes,
|
|
3390
3409
|
class: "time-of-day",
|
|
3391
|
-
style:
|
|
3392
|
-
cursor:
|
|
3410
|
+
style: ae({
|
|
3411
|
+
cursor: Q.value && W.value && B.value ? "pointer" : "default"
|
|
3393
3412
|
})
|
|
3394
3413
|
}, null, 8, ["hours", "minutes", "style"])) : V("", !0)
|
|
3395
3414
|
])
|
|
@@ -3397,7 +3416,7 @@ const Ll = {
|
|
|
3397
3416
|
"center-left": v(() => [
|
|
3398
3417
|
y(Ve, { name: "slide-x-transition" }, {
|
|
3399
3418
|
default: v(() => [
|
|
3400
|
-
|
|
3419
|
+
be.value ? (u(), T(z, {
|
|
3401
3420
|
key: 0,
|
|
3402
3421
|
density: "comfortable",
|
|
3403
3422
|
elevation: "3",
|
|
@@ -3409,63 +3428,63 @@ const Ll = {
|
|
|
3409
3428
|
})
|
|
3410
3429
|
]),
|
|
3411
3430
|
"center-center": v(() => [
|
|
3412
|
-
|
|
3431
|
+
re.value ? (u(), T(pa, {
|
|
3413
3432
|
key: 0,
|
|
3414
|
-
onCloseTutorial: x[5] || (x[5] = (fe) =>
|
|
3433
|
+
onCloseTutorial: x[5] || (x[5] = (fe) => Le(fe))
|
|
3415
3434
|
})) : V("", !0),
|
|
3416
|
-
Fe.value.isActive &&
|
|
3435
|
+
Fe.value.isActive && Q.value && W.value && B.value && we.value ? (u(), T(Vt, {
|
|
3417
3436
|
key: 1,
|
|
3418
3437
|
"cdn-file-resolver": m(i),
|
|
3419
3438
|
"apartment-json": M.value,
|
|
3420
|
-
"minimap-json":
|
|
3439
|
+
"minimap-json": Q.value,
|
|
3421
3440
|
rotation: pe.value,
|
|
3422
|
-
"current-camera":
|
|
3441
|
+
"current-camera": W.value,
|
|
3423
3442
|
level: Ye.value,
|
|
3424
|
-
onClose: x[6] || (x[6] = (fe) =>
|
|
3443
|
+
onClose: x[6] || (x[6] = (fe) => we.value = !1),
|
|
3425
3444
|
onGoToCamera: je
|
|
3426
3445
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : V("", !0)
|
|
3427
3446
|
]),
|
|
3428
3447
|
"center-right": v(() => [
|
|
3429
3448
|
y(Ve, { name: "slide-x-reverse-transition" }, {
|
|
3430
3449
|
default: v(() => [
|
|
3431
|
-
|
|
3450
|
+
be.value ? (u(), T(z, {
|
|
3432
3451
|
key: 0,
|
|
3433
3452
|
density: "comfortable",
|
|
3434
3453
|
elevation: "3",
|
|
3435
3454
|
icon: "mdi-chevron-right",
|
|
3436
|
-
onClick:
|
|
3455
|
+
onClick: lt
|
|
3437
3456
|
})) : V("", !0)
|
|
3438
3457
|
]),
|
|
3439
3458
|
_: 1
|
|
3440
3459
|
})
|
|
3441
3460
|
]),
|
|
3442
3461
|
"bottom-left": v(() => [
|
|
3443
|
-
m(F) ? (u(),
|
|
3462
|
+
m(F) ? (u(), T(Pt, {
|
|
3444
3463
|
key: 0,
|
|
3445
3464
|
"is-full-screen": Fe.value.isActive,
|
|
3446
3465
|
class: "btn-fullscreen",
|
|
3447
|
-
onToggleFullscreen:
|
|
3466
|
+
onToggleFullscreen: hn
|
|
3448
3467
|
}, null, 8, ["is-full-screen"])) : V("", !0),
|
|
3449
|
-
m(C) ? (u(), L("div",
|
|
3450
|
-
y(
|
|
3468
|
+
m(C) ? (u(), L("div", Tl, [
|
|
3469
|
+
y(z, {
|
|
3451
3470
|
density: "comfortable",
|
|
3452
3471
|
elevation: "3",
|
|
3453
3472
|
icon: "mdi-camera",
|
|
3454
3473
|
onClick: Lt
|
|
3455
3474
|
})
|
|
3456
3475
|
])) : V("", !0),
|
|
3457
|
-
e("div",
|
|
3458
|
-
m(p) && ce.value ? (u(),
|
|
3476
|
+
e("div", Ol, [
|
|
3477
|
+
m(p) && ce.value ? (u(), T(Ro, {
|
|
3459
3478
|
key: 0,
|
|
3460
|
-
"show-static-image":
|
|
3461
|
-
onToggle:
|
|
3479
|
+
"show-static-image": be.value,
|
|
3480
|
+
onToggle: gn
|
|
3462
3481
|
}, null, 8, ["show-static-image"])) : V("", !0)
|
|
3463
3482
|
]),
|
|
3464
|
-
ce.value && m(d) && !Fe.value.isActive ? (u(), L("div",
|
|
3483
|
+
ce.value && m(d) && !Fe.value.isActive ? (u(), L("div", $l, [
|
|
3465
3484
|
y(Wt)
|
|
3466
3485
|
])) : V("", !0),
|
|
3467
|
-
ce.value && c.showVisuadoCreateButton ? (u(), L("div",
|
|
3468
|
-
y(
|
|
3486
|
+
ce.value && c.showVisuadoCreateButton ? (u(), L("div", Rl, [
|
|
3487
|
+
y(Ml, { onOnSnapshot: yn })
|
|
3469
3488
|
])) : V("", !0)
|
|
3470
3489
|
]),
|
|
3471
3490
|
"bottom-center": v(() => [
|
|
@@ -3474,10 +3493,10 @@ const Ll = {
|
|
|
3474
3493
|
e("div", null, [
|
|
3475
3494
|
e("div", {
|
|
3476
3495
|
class: me(["d-flex justify-center", {
|
|
3477
|
-
"mb-2": !
|
|
3496
|
+
"mb-2": !G.value
|
|
3478
3497
|
}])
|
|
3479
3498
|
}, [
|
|
3480
|
-
!Oe.value && He.value(
|
|
3499
|
+
!Oe.value && He.value(W.value) ? (u(), T(fl, {
|
|
3481
3500
|
key: 0,
|
|
3482
3501
|
class: "ml-2",
|
|
3483
3502
|
displaySunsim: ke.value,
|
|
@@ -3485,26 +3504,26 @@ const Ll = {
|
|
|
3485
3504
|
onToggleSunStudy: x[7] || (x[7] = (fe) => ke.value = !ke.value)
|
|
3486
3505
|
}, null, 8, ["displaySunsim", "showUI"])) : V("", !0)
|
|
3487
3506
|
], 2),
|
|
3488
|
-
!
|
|
3507
|
+
!G.value && !Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3489
3508
|
key: 0,
|
|
3490
3509
|
class: "sunsim-slider-desktop",
|
|
3491
|
-
"current-day": He.value(
|
|
3510
|
+
"current-day": He.value(W.value) ? We(W.value)[0] : void 0,
|
|
3492
3511
|
"current-time": Be.value,
|
|
3493
3512
|
onOnTimeChange: xt,
|
|
3494
3513
|
onToggleSunStudy: x[8] || (x[8] = (fe) => ke.value = !ke.value)
|
|
3495
3514
|
}, null, 8, ["current-day", "current-time"])) : V("", !0),
|
|
3496
|
-
!
|
|
3515
|
+
!G.value && ce.value && m(g) ? (u(), T(dt, {
|
|
3497
3516
|
key: 1,
|
|
3498
3517
|
class: me([Fe.value.isActive ? "full-screen" : ""]),
|
|
3499
|
-
thumbnails:
|
|
3500
|
-
active:
|
|
3518
|
+
thumbnails: ge.value,
|
|
3519
|
+
active: oe.value,
|
|
3501
3520
|
cameraHasSunStudy: He.value,
|
|
3502
|
-
onNext:
|
|
3521
|
+
onNext: lt,
|
|
3503
3522
|
onPrevious: gt,
|
|
3504
3523
|
onGoto: yt
|
|
3505
3524
|
}, {
|
|
3506
3525
|
before: v(() => [
|
|
3507
|
-
c.enableAutoplay && ce.value && !
|
|
3526
|
+
c.enableAutoplay && ce.value && !G.value ? (u(), T(Bt, {
|
|
3508
3527
|
key: 0,
|
|
3509
3528
|
autoplayStatus: Oe.value,
|
|
3510
3529
|
onToggleAutoPlay: x[9] || (x[9] = (fe) => Mt())
|
|
@@ -3518,12 +3537,12 @@ const Ll = {
|
|
|
3518
3537
|
})
|
|
3519
3538
|
]),
|
|
3520
3539
|
"bottom-right": v(() => [
|
|
3521
|
-
e("div",
|
|
3522
|
-
ce.value && m(f) &&
|
|
3540
|
+
e("div", Yl, [
|
|
3541
|
+
ce.value && m(f) && b.value ? (u(), T(ko, {
|
|
3523
3542
|
key: 0,
|
|
3524
3543
|
"cdn-file-resolver": m(i),
|
|
3525
|
-
"available-archetypes":
|
|
3526
|
-
"selected-index":
|
|
3544
|
+
"available-archetypes": b.value,
|
|
3545
|
+
"selected-index": Xe.value,
|
|
3527
3546
|
onSelectInterior: At
|
|
3528
3547
|
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : V("", !0)
|
|
3529
3548
|
])
|
|
@@ -3532,18 +3551,18 @@ const Ll = {
|
|
|
3532
3551
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3533
3552
|
y(Ve, null, {
|
|
3534
3553
|
default: v(() => [
|
|
3535
|
-
m(g) &&
|
|
3554
|
+
m(g) && q.value && G.value && ce.value ? (u(), T(dt, {
|
|
3536
3555
|
key: 0,
|
|
3537
3556
|
class: "waypoint-carousel below-player",
|
|
3538
|
-
thumbnails:
|
|
3539
|
-
active:
|
|
3557
|
+
thumbnails: ge.value,
|
|
3558
|
+
active: oe.value,
|
|
3540
3559
|
cameraHasSunStudy: He.value,
|
|
3541
|
-
onNext:
|
|
3560
|
+
onNext: lt,
|
|
3542
3561
|
onPrevious: gt,
|
|
3543
3562
|
onGoto: yt
|
|
3544
3563
|
}, {
|
|
3545
3564
|
before: v(() => [
|
|
3546
|
-
c.enableAutoplay && ce.value ? (u(),
|
|
3565
|
+
c.enableAutoplay && ce.value ? (u(), T(Bt, {
|
|
3547
3566
|
key: 0,
|
|
3548
3567
|
autoplayStatus: Oe.value,
|
|
3549
3568
|
onToggleAutoPlay: x[10] || (x[10] = (fe) => Mt())
|
|
@@ -3554,93 +3573,93 @@ const Ll = {
|
|
|
3554
3573
|
]),
|
|
3555
3574
|
_: 1
|
|
3556
3575
|
}),
|
|
3557
|
-
|
|
3558
|
-
!Oe.value &&
|
|
3576
|
+
G.value ? (u(), L("div", Hl, [
|
|
3577
|
+
!Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3559
3578
|
key: 0,
|
|
3560
3579
|
class: "mt-1",
|
|
3561
|
-
"current-day": He.value(
|
|
3580
|
+
"current-day": He.value(W.value) ? We(W.value)[0] : void 0,
|
|
3562
3581
|
"current-time": Be.value,
|
|
3563
3582
|
onOnTimeChange: xt,
|
|
3564
3583
|
onToggleSunStudy: x[11] || (x[11] = (fe) => ke.value = !ke.value)
|
|
3565
3584
|
}, null, 8, ["current-day", "current-time"])) : V("", !0)
|
|
3566
3585
|
])) : V("", !0)
|
|
3567
3586
|
], 2)) : V("", !0),
|
|
3568
|
-
m(Se) && m(
|
|
3587
|
+
m(Se) && m(ye) ? (u(), L("div", Ul, " version: " + P(m(Se)), 1)) : V("", !0)
|
|
3569
3588
|
])
|
|
3570
3589
|
], 2);
|
|
3571
3590
|
};
|
|
3572
3591
|
}
|
|
3573
|
-
}),
|
|
3592
|
+
}), jl = /* @__PURE__ */ ne(zl, [["__scopeId", "data-v-3cc488e5"]]), Wl = { id: "player-wrapper" }, Pl = { id: "player-sizer" }, Nl = {
|
|
3574
3593
|
class: "player-control",
|
|
3575
3594
|
id: "controls-top-left"
|
|
3576
|
-
},
|
|
3595
|
+
}, Ql = {
|
|
3577
3596
|
class: "player-control",
|
|
3578
3597
|
id: "controls-top-center"
|
|
3579
|
-
},
|
|
3598
|
+
}, Zl = {
|
|
3580
3599
|
class: "player-control",
|
|
3581
3600
|
id: "controls-top-right"
|
|
3582
|
-
},
|
|
3601
|
+
}, ql = {
|
|
3583
3602
|
class: "player-control",
|
|
3584
3603
|
id: "controls-center-left"
|
|
3585
|
-
},
|
|
3604
|
+
}, Jl = {
|
|
3586
3605
|
class: "player-control",
|
|
3587
3606
|
id: "controls-center-center"
|
|
3588
|
-
},
|
|
3607
|
+
}, Xl = {
|
|
3589
3608
|
class: "player-control",
|
|
3590
3609
|
id: "controls-center-right"
|
|
3591
3610
|
}, Gl = {
|
|
3592
3611
|
class: "player-control",
|
|
3593
3612
|
id: "controls-bottom-left"
|
|
3594
|
-
},
|
|
3613
|
+
}, Kl = {
|
|
3595
3614
|
class: "player-control",
|
|
3596
3615
|
id: "controls-bottom-center"
|
|
3597
|
-
},
|
|
3616
|
+
}, es = {
|
|
3598
3617
|
class: "player-control",
|
|
3599
3618
|
id: "controls-bottom-right"
|
|
3600
|
-
},
|
|
3619
|
+
}, ts = /* @__PURE__ */ J({
|
|
3601
3620
|
__name: "VManualSlideShowPlayer",
|
|
3602
3621
|
props: {
|
|
3603
3622
|
isFullScreen: { type: Boolean }
|
|
3604
3623
|
},
|
|
3605
3624
|
emits: ["newSizeCallback"],
|
|
3606
3625
|
setup(t, { emit: l }) {
|
|
3607
|
-
return (n, a) => (u(), L("div",
|
|
3608
|
-
e("div",
|
|
3626
|
+
return (n, a) => (u(), L("div", Wl, [
|
|
3627
|
+
e("div", Pl, [
|
|
3609
3628
|
K(n.$slots, "slideshow-image", {}, void 0, !0),
|
|
3610
|
-
e("div",
|
|
3629
|
+
e("div", Nl, [
|
|
3611
3630
|
K(n.$slots, "top-left", {}, void 0, !0)
|
|
3612
3631
|
]),
|
|
3613
|
-
e("div",
|
|
3632
|
+
e("div", Ql, [
|
|
3614
3633
|
K(n.$slots, "top-center", {}, void 0, !0)
|
|
3615
3634
|
]),
|
|
3616
|
-
e("div",
|
|
3635
|
+
e("div", Zl, [
|
|
3617
3636
|
K(n.$slots, "top-right", {}, void 0, !0)
|
|
3618
3637
|
]),
|
|
3619
|
-
e("div",
|
|
3638
|
+
e("div", ql, [
|
|
3620
3639
|
K(n.$slots, "center-left", {}, void 0, !0)
|
|
3621
3640
|
]),
|
|
3622
|
-
e("div",
|
|
3641
|
+
e("div", Jl, [
|
|
3623
3642
|
K(n.$slots, "center-center", {}, void 0, !0)
|
|
3624
3643
|
]),
|
|
3625
|
-
e("div",
|
|
3644
|
+
e("div", Xl, [
|
|
3626
3645
|
K(n.$slots, "center-right", {}, void 0, !0)
|
|
3627
3646
|
]),
|
|
3628
3647
|
e("div", Gl, [
|
|
3629
3648
|
K(n.$slots, "bottom-left", {}, void 0, !0)
|
|
3630
3649
|
]),
|
|
3631
|
-
e("div",
|
|
3650
|
+
e("div", Kl, [
|
|
3632
3651
|
K(n.$slots, "bottom-center", {}, void 0, !0)
|
|
3633
3652
|
]),
|
|
3634
|
-
e("div",
|
|
3653
|
+
e("div", es, [
|
|
3635
3654
|
K(n.$slots, "bottom-right", {}, void 0, !0)
|
|
3636
3655
|
])
|
|
3637
3656
|
])
|
|
3638
3657
|
]));
|
|
3639
3658
|
}
|
|
3640
|
-
}),
|
|
3659
|
+
}), ns = /* @__PURE__ */ ne(ts, [["__scopeId", "data-v-5fdd1e05"]]), os = { class: "virtual-tour-wrapper" }, as = { class: "player-and-components-wrapper" }, ls = { class: "mss-image" }, ss = {
|
|
3641
3660
|
key: 1,
|
|
3642
3661
|
class: "btn-placeholder"
|
|
3643
|
-
},
|
|
3662
|
+
}, is = /* @__PURE__ */ J({
|
|
3644
3663
|
__name: "VManualSlideShow",
|
|
3645
3664
|
props: {
|
|
3646
3665
|
images: {},
|
|
@@ -3652,7 +3671,7 @@ const Ll = {
|
|
|
3652
3671
|
},
|
|
3653
3672
|
setup(t) {
|
|
3654
3673
|
const l = t;
|
|
3655
|
-
|
|
3674
|
+
nt(
|
|
3656
3675
|
De,
|
|
3657
3676
|
l.i18nConfig ? new Ze(l.i18nConfig) : new Ze()
|
|
3658
3677
|
);
|
|
@@ -3686,14 +3705,14 @@ const Ll = {
|
|
|
3686
3705
|
}
|
|
3687
3706
|
return (g, w) => {
|
|
3688
3707
|
const k = E("v-img"), F = E("v-btn");
|
|
3689
|
-
return u(), L("div",
|
|
3690
|
-
e("div",
|
|
3708
|
+
return u(), L("div", os, [
|
|
3709
|
+
e("div", as, [
|
|
3691
3710
|
e("div", null, [
|
|
3692
|
-
y(
|
|
3711
|
+
y(ns, {
|
|
3693
3712
|
"is-full-screen": a.value.isActive
|
|
3694
3713
|
}, {
|
|
3695
3714
|
"slideshow-image": v(() => [
|
|
3696
|
-
e("div",
|
|
3715
|
+
e("div", ls, [
|
|
3697
3716
|
y(k, {
|
|
3698
3717
|
src: o.value.thumbnailUrl
|
|
3699
3718
|
}, null, 8, ["src"])
|
|
@@ -3705,7 +3724,7 @@ const Ll = {
|
|
|
3705
3724
|
"center-left": v(() => [
|
|
3706
3725
|
y(Ve, { name: "slide-x-transition" }, {
|
|
3707
3726
|
default: v(() => [
|
|
3708
|
-
i.value.length > 1 ? (u(),
|
|
3727
|
+
i.value.length > 1 ? (u(), T(F, {
|
|
3709
3728
|
key: 0,
|
|
3710
3729
|
density: "comfortable",
|
|
3711
3730
|
elevation: "3",
|
|
@@ -3720,7 +3739,7 @@ const Ll = {
|
|
|
3720
3739
|
"center-right": v(() => [
|
|
3721
3740
|
y(Ve, { name: "slide-x-reverse-transition" }, {
|
|
3722
3741
|
default: v(() => [
|
|
3723
|
-
i.value.length > 1 ? (u(),
|
|
3742
|
+
i.value.length > 1 ? (u(), T(F, {
|
|
3724
3743
|
key: 0,
|
|
3725
3744
|
density: "comfortable",
|
|
3726
3745
|
elevation: "3",
|
|
@@ -3732,19 +3751,19 @@ const Ll = {
|
|
|
3732
3751
|
})
|
|
3733
3752
|
]),
|
|
3734
3753
|
"bottom-left": v(() => [
|
|
3735
|
-
g.showFullScreen ? (u(),
|
|
3754
|
+
g.showFullScreen ? (u(), T(Pt, {
|
|
3736
3755
|
key: 0,
|
|
3737
3756
|
"is-full-screen": a.value.isActive,
|
|
3738
3757
|
class: "btn-fullscreen",
|
|
3739
3758
|
onToggleFullscreen: s
|
|
3740
3759
|
}, null, 8, ["is-full-screen"])) : V("", !0),
|
|
3741
|
-
g.showShare ? (u(), L("div",
|
|
3760
|
+
g.showShare ? (u(), L("div", ss, [
|
|
3742
3761
|
y(Wt)
|
|
3743
3762
|
])) : V("", !0)
|
|
3744
3763
|
]),
|
|
3745
3764
|
"bottom-center": v(() => [
|
|
3746
3765
|
e("div", null, [
|
|
3747
|
-
a.value.isActive && i.value.length > 1 ? (u(),
|
|
3766
|
+
a.value.isActive && i.value.length > 1 ? (u(), T(dt, {
|
|
3748
3767
|
key: 0,
|
|
3749
3768
|
class: me([a.value.isActive ? "full-screen" : ""]),
|
|
3750
3769
|
thumbnails: i.value,
|
|
@@ -3758,7 +3777,7 @@ const Ll = {
|
|
|
3758
3777
|
"bottom-right": v(() => []),
|
|
3759
3778
|
_: 1
|
|
3760
3779
|
}, 8, ["is-full-screen"]),
|
|
3761
|
-
i.value.length > 1 ? (u(),
|
|
3780
|
+
i.value.length > 1 ? (u(), T(dt, {
|
|
3762
3781
|
key: 0,
|
|
3763
3782
|
thumbnails: i.value,
|
|
3764
3783
|
active: n.value,
|
|
@@ -3771,7 +3790,7 @@ const Ll = {
|
|
|
3771
3790
|
]);
|
|
3772
3791
|
};
|
|
3773
3792
|
}
|
|
3774
|
-
}),
|
|
3793
|
+
}), rs = /* @__PURE__ */ ne(is, [["__scopeId", "data-v-373ac320"]]), us = /* @__PURE__ */ J({
|
|
3775
3794
|
__name: "VMiniMap",
|
|
3776
3795
|
props: {
|
|
3777
3796
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3788,16 +3807,16 @@ const Ll = {
|
|
|
3788
3807
|
transformOrigin: "top left",
|
|
3789
3808
|
transform: `scale(${g.value})`
|
|
3790
3809
|
}));
|
|
3791
|
-
|
|
3810
|
+
j(h, () => {
|
|
3792
3811
|
h.value && new ResizeObserver(([S]) => {
|
|
3793
3812
|
const I = S.target.parentElement, A = I.parentElement;
|
|
3794
3813
|
g.value = A.clientWidth / 512, I.style.height = `${S.contentRect.height * g.value}px`;
|
|
3795
3814
|
}).observe(h.value);
|
|
3796
|
-
}),
|
|
3815
|
+
}), j(w, () => {
|
|
3797
3816
|
i("cameraSet", w.value);
|
|
3798
3817
|
});
|
|
3799
3818
|
const F = D(() => {
|
|
3800
|
-
const S =
|
|
3819
|
+
const S = _e(a.cdnFileResolver.value, "").replace(
|
|
3801
3820
|
`/${o.value.type}/${o.value.id}`,
|
|
3802
3821
|
""
|
|
3803
3822
|
);
|
|
@@ -3806,20 +3825,20 @@ const Ll = {
|
|
|
3806
3825
|
var f;
|
|
3807
3826
|
return (f = s.value) == null ? void 0 : f.storeys[a.level.value || 0];
|
|
3808
3827
|
});
|
|
3809
|
-
|
|
3828
|
+
j(
|
|
3810
3829
|
a.cdnFileResolver,
|
|
3811
3830
|
async () => {
|
|
3812
3831
|
o.value = await (await fetch(
|
|
3813
|
-
|
|
3832
|
+
_e(a.cdnFileResolver.value, "/apartment.json")
|
|
3814
3833
|
)).json(), i("apartmentJsonLoaded", o.value), s.value = await (await fetch(
|
|
3815
|
-
|
|
3834
|
+
_e(a.cdnFileResolver.value, "/minimap/minimap.json")
|
|
3816
3835
|
)).json(), i("minimapJsonLoaded", s.value);
|
|
3817
3836
|
},
|
|
3818
3837
|
{ immediate: !0 }
|
|
3819
|
-
),
|
|
3838
|
+
), j(
|
|
3820
3839
|
[C, a.cdnFileResolver],
|
|
3821
3840
|
() => {
|
|
3822
|
-
a.cdnFileResolver.value && C.value && (r.value = C.value.defaultSunsimFile ?
|
|
3841
|
+
a.cdnFileResolver.value && C.value && (r.value = C.value.defaultSunsimFile ? _e(a.cdnFileResolver.value, "/minimap/sunsim0_13.jpg") : _e(
|
|
3823
3842
|
a.cdnFileResolver.value,
|
|
3824
3843
|
`/minimap/${C.value.defaultSunsimFile}`
|
|
3825
3844
|
));
|
|
@@ -3831,17 +3850,17 @@ const Ll = {
|
|
|
3831
3850
|
}
|
|
3832
3851
|
return (f, S) => {
|
|
3833
3852
|
const I = E("v-skeleton-loader");
|
|
3834
|
-
return u(),
|
|
3853
|
+
return u(), T(I, {
|
|
3835
3854
|
loading: !o.value || !s.value
|
|
3836
3855
|
}, {
|
|
3837
3856
|
default: v(() => [
|
|
3838
3857
|
e("div", null, [
|
|
3839
3858
|
e("div", {
|
|
3840
|
-
style:
|
|
3859
|
+
style: ae({ ...k.value, position: "relative" }),
|
|
3841
3860
|
ref_key: "fitContainer",
|
|
3842
3861
|
ref: h
|
|
3843
3862
|
}, [
|
|
3844
|
-
f.hideCompass !== !0 ? (u(),
|
|
3863
|
+
f.hideCompass !== !0 ? (u(), T(zt, {
|
|
3845
3864
|
key: 0,
|
|
3846
3865
|
scale: f.compassScale || 1,
|
|
3847
3866
|
rotation: C.value.rotation.y,
|
|
@@ -3858,17 +3877,17 @@ const Ll = {
|
|
|
3858
3877
|
containerHeight: 384,
|
|
3859
3878
|
fit: ""
|
|
3860
3879
|
}, {
|
|
3861
|
-
default: v(({ id: A, camera: R, active:
|
|
3880
|
+
default: v(({ id: A, camera: R, active: X, style: $ }) => [
|
|
3862
3881
|
K(f.$slots, "default", {
|
|
3863
3882
|
id: A,
|
|
3864
3883
|
camera: R,
|
|
3865
|
-
active:
|
|
3866
|
-
style:
|
|
3884
|
+
active: X,
|
|
3885
|
+
style: ae($)
|
|
3867
3886
|
}, void 0, !0)
|
|
3868
3887
|
]),
|
|
3869
3888
|
_: 3
|
|
3870
3889
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
3871
|
-
f.hideSlider !== !0 ? (u(),
|
|
3890
|
+
f.hideSlider !== !0 ? (u(), T(jt, {
|
|
3872
3891
|
key: 1,
|
|
3873
3892
|
"cdn-file-resolver": F.value,
|
|
3874
3893
|
"minimap-json": s.value,
|
|
@@ -3883,7 +3902,7 @@ const Ll = {
|
|
|
3883
3902
|
}, 8, ["loading"]);
|
|
3884
3903
|
};
|
|
3885
3904
|
}
|
|
3886
|
-
}),
|
|
3905
|
+
}), ni = /* @__PURE__ */ ne(us, [["__scopeId", "data-v-8077dfb5"]]), cs = ["src"], ds = /* @__PURE__ */ J({
|
|
3887
3906
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
3888
3907
|
props: {
|
|
3889
3908
|
timeSampleData: {},
|
|
@@ -3892,24 +3911,24 @@ const Ll = {
|
|
|
3892
3911
|
},
|
|
3893
3912
|
setup(t) {
|
|
3894
3913
|
const l = t, { timeSampleData: n, cdnFileResolver: a, currentTime: i } = Ce(l), o = _(), s = Ie("registerImage"), r = Ie("completeImage");
|
|
3895
|
-
|
|
3914
|
+
j(o, () => {
|
|
3896
3915
|
o.value && (s(o.value), o.value.onload = () => {
|
|
3897
3916
|
r(o.value);
|
|
3898
3917
|
}, o.value.onerror = () => {
|
|
3899
3918
|
r(o.value);
|
|
3900
3919
|
});
|
|
3901
3920
|
});
|
|
3902
|
-
const p = D(() =>
|
|
3921
|
+
const p = D(() => _e(a.value, n.value.filename));
|
|
3903
3922
|
return (h, g) => (u(), L("img", {
|
|
3904
3923
|
ref_key: "image",
|
|
3905
3924
|
ref: o,
|
|
3906
|
-
style:
|
|
3925
|
+
style: ae({
|
|
3907
3926
|
visibility: m(i) && m(n) === m(i) ? "visible" : "hidden"
|
|
3908
3927
|
}),
|
|
3909
3928
|
src: p.value
|
|
3910
|
-
}, null, 12,
|
|
3929
|
+
}, null, 12, cs));
|
|
3911
3930
|
}
|
|
3912
|
-
}),
|
|
3931
|
+
}), vs = /* @__PURE__ */ ne(ds, [["__scopeId", "data-v-c4a08195"]]), ms = /* @__PURE__ */ J({
|
|
3913
3932
|
__name: "VStructureChooserCameraDay",
|
|
3914
3933
|
props: {
|
|
3915
3934
|
dayData: {},
|
|
@@ -3919,14 +3938,14 @@ const Ll = {
|
|
|
3919
3938
|
},
|
|
3920
3939
|
setup(t) {
|
|
3921
3940
|
const l = t, { dayData: n, cdnFileResolver: a, currentTime: i } = Ce(l);
|
|
3922
|
-
return (o, s) => (u(!0), L(
|
|
3941
|
+
return (o, s) => (u(!0), L(xe, null, Me(m(n).timeSamples, (r, p) => (u(), T(vs, {
|
|
3923
3942
|
key: p,
|
|
3924
3943
|
"time-sample-data": r,
|
|
3925
3944
|
"cdn-file-resolver": m(a),
|
|
3926
3945
|
"current-time": m(i)
|
|
3927
3946
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
3928
3947
|
}
|
|
3929
|
-
}),
|
|
3948
|
+
}), ps = ["src"], fs = /* @__PURE__ */ J({
|
|
3930
3949
|
__name: "VStructureChooserCamera",
|
|
3931
3950
|
props: {
|
|
3932
3951
|
cameraData: {},
|
|
@@ -3937,15 +3956,15 @@ const Ll = {
|
|
|
3937
3956
|
},
|
|
3938
3957
|
setup(t) {
|
|
3939
3958
|
const l = t, { cameraData: n, cdnFileResolver: a, currentCamera: i, currentTime: o } = Ce(l), s = _(), r = Ie("registerImage"), p = Ie("completeImage");
|
|
3940
|
-
|
|
3959
|
+
j(s, () => {
|
|
3941
3960
|
s.value && (r(s.value), s.value.onload = () => {
|
|
3942
3961
|
p(s.value);
|
|
3943
3962
|
}, s.value.onerror = () => {
|
|
3944
3963
|
p(s.value);
|
|
3945
3964
|
});
|
|
3946
3965
|
});
|
|
3947
|
-
const h = D(() =>
|
|
3948
|
-
return (g, w) => m(n).sunsimDayOfYear ? (u(!0), L(
|
|
3966
|
+
const h = D(() => _e(a.value, n.value.defaultFilename));
|
|
3967
|
+
return (g, w) => m(n).sunsimDayOfYear ? (u(!0), L(xe, { key: 0 }, Me(m(n).sunsimDayOfYear, (k, F) => (u(), T(ms, {
|
|
3949
3968
|
key: F,
|
|
3950
3969
|
"day-data": k,
|
|
3951
3970
|
"cdn-file-resolver": m(a),
|
|
@@ -3955,11 +3974,11 @@ const Ll = {
|
|
|
3955
3974
|
key: 1,
|
|
3956
3975
|
ref_key: "image",
|
|
3957
3976
|
ref: s,
|
|
3958
|
-
style:
|
|
3977
|
+
style: ae({ visibility: m(i) === m(n) ? "visible" : "hidden" }),
|
|
3959
3978
|
src: h.value
|
|
3960
|
-
}, null, 12,
|
|
3979
|
+
}, null, 12, ps));
|
|
3961
3980
|
}
|
|
3962
|
-
}),
|
|
3981
|
+
}), hs = /* @__PURE__ */ ne(fs, [["__scopeId", "data-v-da694d37"]]), gs = ["src"], ys = /* @__PURE__ */ J({
|
|
3963
3982
|
__name: "VStructureChooserTransition",
|
|
3964
3983
|
props: {
|
|
3965
3984
|
transitionData: {},
|
|
@@ -3968,24 +3987,24 @@ const Ll = {
|
|
|
3968
3987
|
},
|
|
3969
3988
|
setup(t) {
|
|
3970
3989
|
const l = t, { transitionData: n, cdnFileResolver: a, currentTransition: i } = Ce(l), o = _(), s = Ie("registerImage"), r = Ie("completeImage");
|
|
3971
|
-
|
|
3990
|
+
j(o, () => {
|
|
3972
3991
|
o.value && (s(o.value), o.value.onload = () => {
|
|
3973
3992
|
r(o.value);
|
|
3974
3993
|
}, o.value.onerror = () => {
|
|
3975
3994
|
r(o.value);
|
|
3976
3995
|
});
|
|
3977
3996
|
});
|
|
3978
|
-
const p = D(() =>
|
|
3997
|
+
const p = D(() => _e(a.value, n.value.filename));
|
|
3979
3998
|
return (h, g) => (u(), L("img", {
|
|
3980
3999
|
ref_key: "image",
|
|
3981
4000
|
ref: o,
|
|
3982
|
-
style:
|
|
4001
|
+
style: ae({
|
|
3983
4002
|
visibility: m(n) === m(i) ? "visible" : "hidden"
|
|
3984
4003
|
}),
|
|
3985
4004
|
src: p.value
|
|
3986
|
-
}, null, 12,
|
|
4005
|
+
}, null, 12, gs));
|
|
3987
4006
|
}
|
|
3988
|
-
}),
|
|
4007
|
+
}), _s = /* @__PURE__ */ ne(ys, [["__scopeId", "data-v-d592c198"]]);
|
|
3989
4008
|
function Ot(t) {
|
|
3990
4009
|
const l = /* @__PURE__ */ new Date(0);
|
|
3991
4010
|
return l.setUTCDate(t), l.toLocaleString("en-no", {
|
|
@@ -3993,11 +4012,11 @@ function Ot(t) {
|
|
|
3993
4012
|
day: "numeric"
|
|
3994
4013
|
});
|
|
3995
4014
|
}
|
|
3996
|
-
const
|
|
4015
|
+
const bs = {
|
|
3997
4016
|
key: 0,
|
|
3998
4017
|
class: "d-inline-block",
|
|
3999
4018
|
style: { "vertical-align": "top" }
|
|
4000
|
-
},
|
|
4019
|
+
}, ws = /* @__PURE__ */ J({
|
|
4001
4020
|
__name: "VStructureChooserUiDayButton",
|
|
4002
4021
|
props: {
|
|
4003
4022
|
isMobileSized: { type: Boolean },
|
|
@@ -4008,9 +4027,9 @@ const _s = {
|
|
|
4008
4027
|
emits: ["onDayChange"],
|
|
4009
4028
|
setup(t, { emit: l }) {
|
|
4010
4029
|
const n = t, { isMobileSized: a, currentCamera: i, currentDay: o, disabled: s } = Ce(n), r = l, p = _(o.value.dayOfYear);
|
|
4011
|
-
return
|
|
4030
|
+
return j(o, () => {
|
|
4012
4031
|
p.value = o.value.dayOfYear;
|
|
4013
|
-
}),
|
|
4032
|
+
}), j(p, () => {
|
|
4014
4033
|
r(
|
|
4015
4034
|
"onDayChange",
|
|
4016
4035
|
i.value.sunsimDayOfYear.find(
|
|
@@ -4019,7 +4038,7 @@ const _s = {
|
|
|
4019
4038
|
);
|
|
4020
4039
|
}), (h, g) => {
|
|
4021
4040
|
const w = E("v-btn"), k = E("v-field"), F = E("v-list-item-title"), C = E("v-list-item"), d = E("v-list"), f = E("v-menu");
|
|
4022
|
-
return m(i).sunsimDayOfYear && m(i).sunsimDayOfYear.length > 0 ? (u(), L("div",
|
|
4041
|
+
return m(i).sunsimDayOfYear && m(i).sunsimDayOfYear.length > 0 ? (u(), L("div", bs, [
|
|
4023
4042
|
y(f, null, {
|
|
4024
4043
|
activator: v(({ props: S }) => [
|
|
4025
4044
|
y(k, {
|
|
@@ -4039,7 +4058,7 @@ const _s = {
|
|
|
4039
4058
|
size: m(a) ? "small" : void 0
|
|
4040
4059
|
}, S), {
|
|
4041
4060
|
default: v(() => [
|
|
4042
|
-
|
|
4061
|
+
le(P(m(Ot)(p.value)), 1)
|
|
4043
4062
|
]),
|
|
4044
4063
|
_: 2
|
|
4045
4064
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -4050,7 +4069,7 @@ const _s = {
|
|
|
4050
4069
|
default: v(() => [
|
|
4051
4070
|
y(d, null, {
|
|
4052
4071
|
default: v(() => [
|
|
4053
|
-
(u(!0), L(
|
|
4072
|
+
(u(!0), L(xe, null, Me(m(i).sunsimDayOfYear, (S, I) => (u(), T(C, {
|
|
4054
4073
|
key: I,
|
|
4055
4074
|
value: I,
|
|
4056
4075
|
onClick: (A) => p.value = S.dayOfYear
|
|
@@ -4058,7 +4077,7 @@ const _s = {
|
|
|
4058
4077
|
default: v(() => [
|
|
4059
4078
|
y(F, null, {
|
|
4060
4079
|
default: v(() => [
|
|
4061
|
-
|
|
4080
|
+
le(P(m(Ot)(S.dayOfYear)), 1)
|
|
4062
4081
|
]),
|
|
4063
4082
|
_: 2
|
|
4064
4083
|
}, 1024)
|
|
@@ -4074,13 +4093,13 @@ const _s = {
|
|
|
4074
4093
|
])) : V("", !0);
|
|
4075
4094
|
};
|
|
4076
4095
|
}
|
|
4077
|
-
}),
|
|
4096
|
+
}), ks = /* @__PURE__ */ ne(ws, [["__scopeId", "data-v-743f5faf"]]), Cs = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, Ss = ["onClick"], As = {
|
|
4078
4097
|
key: 0,
|
|
4079
4098
|
class: "camera-name text-caption text-capitalize"
|
|
4080
|
-
},
|
|
4099
|
+
}, xs = {
|
|
4081
4100
|
key: 1,
|
|
4082
4101
|
class: "icon-wrapper"
|
|
4083
|
-
},
|
|
4102
|
+
}, Is = /* @__PURE__ */ J({
|
|
4084
4103
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
4085
4104
|
props: {
|
|
4086
4105
|
isMobileSized: { type: Boolean },
|
|
@@ -4098,13 +4117,13 @@ const _s = {
|
|
|
4098
4117
|
cdnFileResolver: s,
|
|
4099
4118
|
disabled: r
|
|
4100
4119
|
} = Ce(n), p = _(o.value), h = l;
|
|
4101
|
-
|
|
4120
|
+
j(
|
|
4102
4121
|
o,
|
|
4103
4122
|
() => {
|
|
4104
4123
|
p.value = o.value;
|
|
4105
4124
|
},
|
|
4106
4125
|
{ immediate: !0 }
|
|
4107
|
-
),
|
|
4126
|
+
), j(p, () => {
|
|
4108
4127
|
h(
|
|
4109
4128
|
"onCameraChange",
|
|
4110
4129
|
i.value.find((w) => w === p.value)
|
|
@@ -4126,42 +4145,42 @@ const _s = {
|
|
|
4126
4145
|
enabled: !m(r)
|
|
4127
4146
|
})
|
|
4128
4147
|
}, [
|
|
4129
|
-
e("div",
|
|
4130
|
-
(u(!0), L(
|
|
4148
|
+
e("div", Cs, [
|
|
4149
|
+
(u(!0), L(xe, null, Me(m(i), (C, d) => (u(), L("div", {
|
|
4131
4150
|
key: d,
|
|
4132
4151
|
class: me(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
4133
4152
|
"active-camera": C === p.value
|
|
4134
4153
|
}]),
|
|
4135
4154
|
onClick: (f) => g(C)
|
|
4136
4155
|
}, [
|
|
4137
|
-
C.cameraName ? (u(), L("div",
|
|
4156
|
+
C.cameraName ? (u(), L("div", As, P(C.cameraName), 1)) : V("", !0),
|
|
4138
4157
|
e("div", {
|
|
4139
4158
|
class: "camera-thumbnail-image",
|
|
4140
|
-
style:
|
|
4141
|
-
backgroundImage: `url(${m(
|
|
4159
|
+
style: ae({
|
|
4160
|
+
backgroundImage: `url(${m(_e)(
|
|
4142
4161
|
m(s),
|
|
4143
4162
|
C.defaultFilename
|
|
4144
4163
|
)})`
|
|
4145
4164
|
})
|
|
4146
4165
|
}, null, 4),
|
|
4147
|
-
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div",
|
|
4166
|
+
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div", xs, [
|
|
4148
4167
|
y(F, {
|
|
4149
4168
|
size: "x-small",
|
|
4150
4169
|
color: "warning",
|
|
4151
4170
|
style: { opacity: "0.6" }
|
|
4152
4171
|
}, {
|
|
4153
4172
|
default: v(() => [
|
|
4154
|
-
|
|
4173
|
+
le(" mdi-white-balance-sunny ")
|
|
4155
4174
|
]),
|
|
4156
4175
|
_: 1
|
|
4157
4176
|
})
|
|
4158
4177
|
])) : V("", !0)
|
|
4159
|
-
], 10,
|
|
4178
|
+
], 10, Ss))), 128))
|
|
4160
4179
|
])
|
|
4161
4180
|
], 2);
|
|
4162
4181
|
};
|
|
4163
4182
|
}
|
|
4164
|
-
}),
|
|
4183
|
+
}), Ls = /* @__PURE__ */ ne(Is, [["__scopeId", "data-v-d14ee377"]]), Es = { class: "small" }, Ms = { class: "small" }, Fs = /* @__PURE__ */ J({
|
|
4165
4184
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
4166
4185
|
props: {
|
|
4167
4186
|
isMobileSized: { type: Boolean },
|
|
@@ -4172,9 +4191,9 @@ const _s = {
|
|
|
4172
4191
|
emits: ["onTimeChange"],
|
|
4173
4192
|
setup(t, { emit: l }) {
|
|
4174
4193
|
const n = t, { isMobileSized: a, currentDay: i, currentTime: o, disabled: s } = Ce(n), r = l, p = _(o.value.timeInHours);
|
|
4175
|
-
return
|
|
4194
|
+
return j(o, () => {
|
|
4176
4195
|
p.value = o.value.timeInHours;
|
|
4177
|
-
}),
|
|
4196
|
+
}), j(p, () => {
|
|
4178
4197
|
r(
|
|
4179
4198
|
"onTimeChange",
|
|
4180
4199
|
i.value.timeSamples.find(
|
|
@@ -4185,13 +4204,13 @@ const _s = {
|
|
|
4185
4204
|
const w = E("v-icon"), k = E("v-slider"), F = E("v-field");
|
|
4186
4205
|
return u(), L("div", {
|
|
4187
4206
|
class: me({ "d-inline-block": !0, mobile: m(a) }),
|
|
4188
|
-
style:
|
|
4207
|
+
style: ae({
|
|
4189
4208
|
flex: m(a) && m(i).timeSamples.length > 1 ? 1 : void 0,
|
|
4190
4209
|
verticalAlign: "top"
|
|
4191
4210
|
})
|
|
4192
4211
|
}, [
|
|
4193
4212
|
y(F, {
|
|
4194
|
-
style:
|
|
4213
|
+
style: ae(
|
|
4195
4214
|
m(i).timeSamples.length > 1 ? {
|
|
4196
4215
|
width: m(a) ? "100%" : "300px",
|
|
4197
4216
|
height: m(a) ? "28px" : "36px"
|
|
@@ -4208,7 +4227,7 @@ const _s = {
|
|
|
4208
4227
|
flat: ""
|
|
4209
4228
|
}, {
|
|
4210
4229
|
default: v(() => [
|
|
4211
|
-
m(i).timeSamples.length > 1 ? (u(),
|
|
4230
|
+
m(i).timeSamples.length > 1 ? (u(), T(k, {
|
|
4212
4231
|
key: 0,
|
|
4213
4232
|
class: "pa-2 pr-2",
|
|
4214
4233
|
modelValue: p.value,
|
|
@@ -4229,25 +4248,25 @@ const _s = {
|
|
|
4229
4248
|
color: "warning"
|
|
4230
4249
|
}, {
|
|
4231
4250
|
default: v(() => [
|
|
4232
|
-
|
|
4251
|
+
le(" mdi-white-balance-sunny ")
|
|
4233
4252
|
]),
|
|
4234
4253
|
_: 1
|
|
4235
4254
|
}),
|
|
4236
|
-
e("span",
|
|
4255
|
+
e("span", Es, P(m(ct)(p.value)), 1)
|
|
4237
4256
|
]),
|
|
4238
4257
|
_: 1
|
|
4239
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(
|
|
4258
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
|
|
4240
4259
|
y(w, {
|
|
4241
4260
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
4242
4261
|
class: "mr-2 icon",
|
|
4243
4262
|
color: "warning"
|
|
4244
4263
|
}, {
|
|
4245
4264
|
default: v(() => [
|
|
4246
|
-
|
|
4265
|
+
le(" mdi-white-balance-sunny ")
|
|
4247
4266
|
]),
|
|
4248
4267
|
_: 1
|
|
4249
4268
|
}),
|
|
4250
|
-
e("span",
|
|
4269
|
+
e("span", Ms, P(m(ct)(p.value)), 1)
|
|
4251
4270
|
], 64))
|
|
4252
4271
|
]),
|
|
4253
4272
|
_: 1
|
|
@@ -4255,10 +4274,10 @@ const _s = {
|
|
|
4255
4274
|
], 6);
|
|
4256
4275
|
};
|
|
4257
4276
|
}
|
|
4258
|
-
}),
|
|
4277
|
+
}), Vs = /* @__PURE__ */ ne(Fs, [["__scopeId", "data-v-4d44890b"]]), Ds = {
|
|
4259
4278
|
class: "d-inline-block",
|
|
4260
4279
|
style: { "vertical-align": "top" }
|
|
4261
|
-
},
|
|
4280
|
+
}, Bs = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ts = /* @__PURE__ */ J({
|
|
4262
4281
|
__name: "VStructureChooserUiZoomButtons",
|
|
4263
4282
|
props: {
|
|
4264
4283
|
isMobileSized: { type: Boolean },
|
|
@@ -4271,7 +4290,7 @@ const _s = {
|
|
|
4271
4290
|
const n = t, { isMobileSized: a, canZoomIn: i, canZoomOut: o, disabled: s } = Ce(n), r = l;
|
|
4272
4291
|
return (p, h) => {
|
|
4273
4292
|
const g = E("v-btn");
|
|
4274
|
-
return u(), L("div",
|
|
4293
|
+
return u(), L("div", Ds, [
|
|
4275
4294
|
y(g, {
|
|
4276
4295
|
disabled: m(s) || !m(i),
|
|
4277
4296
|
size: m(a) ? "x-small" : "small",
|
|
@@ -4280,7 +4299,7 @@ const _s = {
|
|
|
4280
4299
|
onClick: h[0] || (h[0] = (w) => r("onZoomIn")),
|
|
4281
4300
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
4282
4301
|
}, null, 8, ["disabled", "size"]),
|
|
4283
|
-
|
|
4302
|
+
Bs,
|
|
4284
4303
|
y(g, {
|
|
4285
4304
|
disabled: m(s) || !m(o),
|
|
4286
4305
|
size: m(a) ? "x-small" : "small",
|
|
@@ -4308,15 +4327,15 @@ class Qe {
|
|
|
4308
4327
|
}
|
|
4309
4328
|
async loadText(l) {
|
|
4310
4329
|
try {
|
|
4311
|
-
return (await
|
|
4330
|
+
return (await ut.get(l)).data;
|
|
4312
4331
|
} catch (n) {
|
|
4313
|
-
throw
|
|
4332
|
+
throw ut.isAxiosError(n) && n.response ? new Error(
|
|
4314
4333
|
`Failed to load resource from ${l}: ${n.response.status} ${n.response.statusText}`
|
|
4315
4334
|
) : n;
|
|
4316
4335
|
}
|
|
4317
4336
|
}
|
|
4318
4337
|
async loadJson(l) {
|
|
4319
|
-
return (await
|
|
4338
|
+
return (await ut.get(l)).data;
|
|
4320
4339
|
}
|
|
4321
4340
|
async loadImage(l) {
|
|
4322
4341
|
return new Promise((n, a) => {
|
|
@@ -4336,7 +4355,7 @@ class Qe {
|
|
|
4336
4355
|
}
|
|
4337
4356
|
}
|
|
4338
4357
|
}
|
|
4339
|
-
const
|
|
4358
|
+
const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
|
|
4340
4359
|
__name: "VStructureChooserOverlay",
|
|
4341
4360
|
props: {
|
|
4342
4361
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4347,22 +4366,22 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4347
4366
|
},
|
|
4348
4367
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
|
|
4349
4368
|
setup(t, { emit: l }) {
|
|
4350
|
-
const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), w =
|
|
4369
|
+
const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), w = Ln({}), k = D(() => _e(
|
|
4351
4370
|
a.value,
|
|
4352
4371
|
o.value.overlayFilename
|
|
4353
4372
|
));
|
|
4354
4373
|
Ft(() => {
|
|
4355
4374
|
for (const d in w) {
|
|
4356
|
-
const { element: f, state: S } = w[d], { r: I, g: A, b: R, a:
|
|
4375
|
+
const { element: f, state: S } = w[d], { r: I, g: A, b: R, a: X, s: $ } = i.value(d, S) || {
|
|
4357
4376
|
r: 0,
|
|
4358
4377
|
g: 0,
|
|
4359
4378
|
b: 0,
|
|
4360
4379
|
a: 0,
|
|
4361
4380
|
s: 0
|
|
4362
4381
|
};
|
|
4363
|
-
f.style.fill = `rgba(${I}, ${A}, ${R}, ${
|
|
4382
|
+
f.style.fill = `rgba(${I}, ${A}, ${R}, ${X / 255})`, f.style.stroke = `rgb(${I}, ${A}, ${R})`, f.style.strokeWidth = $.toString(), f.style.cursor = "pointer";
|
|
4364
4383
|
}
|
|
4365
|
-
}),
|
|
4384
|
+
}), j(s, () => {
|
|
4366
4385
|
for (const d in w)
|
|
4367
4386
|
w[d].state === "selected" && d !== s.value ? w[d].state = "idle" : w[d].state !== "selected" && d === s.value && (w[d].state = "selected");
|
|
4368
4387
|
}), Ft(async () => {
|
|
@@ -4373,7 +4392,7 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4373
4392
|
} finally {
|
|
4374
4393
|
p.value = !0;
|
|
4375
4394
|
}
|
|
4376
|
-
}),
|
|
4395
|
+
}), j(
|
|
4377
4396
|
() => g.value,
|
|
4378
4397
|
() => {
|
|
4379
4398
|
g.value && new ResizeObserver(F).observe(g.value);
|
|
@@ -4400,7 +4419,7 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4400
4419
|
}
|
|
4401
4420
|
});
|
|
4402
4421
|
}
|
|
4403
|
-
|
|
4422
|
+
j(
|
|
4404
4423
|
() => n.activeStructureIds,
|
|
4405
4424
|
() => {
|
|
4406
4425
|
C();
|
|
@@ -4421,17 +4440,17 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4421
4440
|
A.parentNode.replaceChild(R, A), R.style.strokeWidth = "0", R.style.stroke = "rgba(255,255,255,0)", R.style.fill = "rgba(255,255,255,0)", R.querySelectorAll("path").forEach(($) => {
|
|
4422
4441
|
$.style.stroke = "inherit", $.style.fill = "inherit";
|
|
4423
4442
|
});
|
|
4424
|
-
const
|
|
4425
|
-
w[
|
|
4443
|
+
const X = R.getAttribute(I);
|
|
4444
|
+
w[X] = {
|
|
4426
4445
|
element: R,
|
|
4427
|
-
state: s.value ===
|
|
4446
|
+
state: s.value === X ? "selected" : "idle",
|
|
4428
4447
|
boundingBox: R.getBoundingClientRect().toJSON()
|
|
4429
|
-
}, n.activeStructureIds && !n.activeStructureIds.includes(
|
|
4430
|
-
w[
|
|
4448
|
+
}, n.activeStructureIds && !n.activeStructureIds.includes(X) && (R.style.display = "none"), R.addEventListener("mouseover", () => {
|
|
4449
|
+
w[X].state === "idle" && (w[X].state = "hover"), r("onHoverOver", X);
|
|
4431
4450
|
}), R.addEventListener("mouseout", () => {
|
|
4432
|
-
w[
|
|
4451
|
+
w[X].state === "hover" && (w[X].state = "idle"), r("onHoverOut", X);
|
|
4433
4452
|
}), R.addEventListener("click", () => {
|
|
4434
|
-
r("onClick",
|
|
4453
|
+
r("onClick", X);
|
|
4435
4454
|
});
|
|
4436
4455
|
}), r(
|
|
4437
4456
|
"onBoundingBoxesUpdate",
|
|
@@ -4443,23 +4462,23 @@ const Ts = ["innerHTML"], Os = /* @__PURE__ */ J({
|
|
|
4443
4462
|
}
|
|
4444
4463
|
});
|
|
4445
4464
|
}
|
|
4446
|
-
return (d, f) => (u(),
|
|
4465
|
+
return (d, f) => (u(), T(Ve, null, {
|
|
4447
4466
|
default: v(() => [
|
|
4448
4467
|
e("div", {
|
|
4449
4468
|
ref_key: "svgContainer",
|
|
4450
4469
|
ref: g,
|
|
4451
|
-
style:
|
|
4470
|
+
style: ae([{
|
|
4452
4471
|
visibility: p.value ? "visible" : "hidden"
|
|
4453
4472
|
}, { "z-index": "5" }]),
|
|
4454
4473
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
4455
4474
|
innerHTML: h.value[k.value]
|
|
4456
|
-
}, null, 12,
|
|
4475
|
+
}, null, 12, Os)
|
|
4457
4476
|
]),
|
|
4458
4477
|
_: 1
|
|
4459
4478
|
}));
|
|
4460
4479
|
}
|
|
4461
|
-
}),
|
|
4462
|
-
function
|
|
4480
|
+
}), Rs = /* @__PURE__ */ ne($s, [["__scopeId", "data-v-4638ecbd"]]);
|
|
4481
|
+
function Ys(t) {
|
|
4463
4482
|
if (!t)
|
|
4464
4483
|
return !1;
|
|
4465
4484
|
const l = [
|
|
@@ -4477,13 +4496,13 @@ function Rs(t) {
|
|
|
4477
4496
|
return !1;
|
|
4478
4497
|
return !0;
|
|
4479
4498
|
}
|
|
4480
|
-
function
|
|
4499
|
+
function Hs(t) {
|
|
4481
4500
|
return !("filename" in t) && "defaultFilename" in t;
|
|
4482
4501
|
}
|
|
4483
4502
|
function bt(t) {
|
|
4484
4503
|
return "filename" in t;
|
|
4485
4504
|
}
|
|
4486
|
-
function
|
|
4505
|
+
function Us(t) {
|
|
4487
4506
|
if (!t)
|
|
4488
4507
|
return !1;
|
|
4489
4508
|
const l = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -4492,7 +4511,7 @@ function Hs(t) {
|
|
|
4492
4511
|
return !1;
|
|
4493
4512
|
return !0;
|
|
4494
4513
|
}
|
|
4495
|
-
function
|
|
4514
|
+
function zs(t) {
|
|
4496
4515
|
if (!t)
|
|
4497
4516
|
return !1;
|
|
4498
4517
|
const l = [
|
|
@@ -4510,16 +4529,16 @@ function Us(t) {
|
|
|
4510
4529
|
return !1;
|
|
4511
4530
|
return !0;
|
|
4512
4531
|
}
|
|
4513
|
-
function
|
|
4532
|
+
function js(t) {
|
|
4514
4533
|
return !("filename" in t);
|
|
4515
4534
|
}
|
|
4516
4535
|
function Ne(t) {
|
|
4517
4536
|
return t.startsWith("/") ? t : `/${t}`;
|
|
4518
4537
|
}
|
|
4519
|
-
function
|
|
4538
|
+
function Ws(t) {
|
|
4520
4539
|
return t ? "version" in t : !1;
|
|
4521
4540
|
}
|
|
4522
|
-
function
|
|
4541
|
+
function Ps(t) {
|
|
4523
4542
|
if (!t)
|
|
4524
4543
|
return !1;
|
|
4525
4544
|
const l = [
|
|
@@ -4535,11 +4554,11 @@ function Ws(t) {
|
|
|
4535
4554
|
return !1;
|
|
4536
4555
|
return !0;
|
|
4537
4556
|
}
|
|
4538
|
-
function
|
|
4557
|
+
function Ns(t) {
|
|
4539
4558
|
var l, n, a, i;
|
|
4540
|
-
if (
|
|
4559
|
+
if (Ys(t))
|
|
4541
4560
|
return t;
|
|
4542
|
-
if (
|
|
4561
|
+
if (Us(t)) {
|
|
4543
4562
|
if (!t.buildings)
|
|
4544
4563
|
throw new Error(
|
|
4545
4564
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -4595,7 +4614,7 @@ function Ps(t) {
|
|
|
4595
4614
|
}
|
|
4596
4615
|
)
|
|
4597
4616
|
};
|
|
4598
|
-
} else if (
|
|
4617
|
+
} else if (Ps(t)) {
|
|
4599
4618
|
if (!t.days && !t.timeSamples)
|
|
4600
4619
|
throw new Error(
|
|
4601
4620
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -4640,7 +4659,7 @@ function Ps(t) {
|
|
|
4640
4659
|
]
|
|
4641
4660
|
};
|
|
4642
4661
|
} else {
|
|
4643
|
-
if (
|
|
4662
|
+
if (zs(t))
|
|
4644
4663
|
return {
|
|
4645
4664
|
version: "5.0",
|
|
4646
4665
|
latitude: t.latitude,
|
|
@@ -4665,7 +4684,7 @@ function Ps(t) {
|
|
|
4665
4684
|
cameras: t.cameras.map(
|
|
4666
4685
|
(o) => {
|
|
4667
4686
|
var s;
|
|
4668
|
-
if (
|
|
4687
|
+
if (js(o)) {
|
|
4669
4688
|
if (o.sunsimDayOfYear) {
|
|
4670
4689
|
if (o.sunsimDayOfYear.length === 0)
|
|
4671
4690
|
throw new Error(
|
|
@@ -4702,7 +4721,7 @@ function Ps(t) {
|
|
|
4702
4721
|
}
|
|
4703
4722
|
)
|
|
4704
4723
|
};
|
|
4705
|
-
if (
|
|
4724
|
+
if (Ws(t)) {
|
|
4706
4725
|
if (!t.sceneData)
|
|
4707
4726
|
throw new Error(
|
|
4708
4727
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -4774,14 +4793,14 @@ function $t({ x: t, y: l, z: n }) {
|
|
|
4774
4793
|
w: 0
|
|
4775
4794
|
};
|
|
4776
4795
|
}
|
|
4777
|
-
const
|
|
4796
|
+
const Qs = {
|
|
4778
4797
|
key: 0,
|
|
4779
4798
|
class: "position-absolute w-100 h-100 bg-grey-lighten-2 justify-center align-center d-flex",
|
|
4780
4799
|
style: { "z-index": "10" }
|
|
4781
|
-
},
|
|
4800
|
+
}, Zs = ["innerHTML"], qs = { style: { "z-index": "7" } }, Js = {
|
|
4782
4801
|
key: 4,
|
|
4783
4802
|
class: "render-version"
|
|
4784
|
-
},
|
|
4803
|
+
}, Xs = /* @__PURE__ */ J({
|
|
4785
4804
|
__name: "VStructureChooser",
|
|
4786
4805
|
props: {
|
|
4787
4806
|
structureChooserData: {},
|
|
@@ -4812,26 +4831,26 @@ const Ns = {
|
|
|
4812
4831
|
defaultDay: w,
|
|
4813
4832
|
defaultTime: k,
|
|
4814
4833
|
mobileBreakpoint: F
|
|
4815
|
-
} = Ce(a), C = n, d = _(), f = _(), S = _(), I = _(null), A = _(4), R = _(),
|
|
4834
|
+
} = Ce(a), C = n, d = _(), f = _(), S = _(), I = _(null), A = _(4), R = _(), X = _(!1), $ = _(!1), te = _(), de = D(() => te.value.isHoverEnabled), Y = _({ x: 0, y: 0, width: 0, height: 0 }), Se = _(), ye = _(), O = _(), re = _(!1), N = _(1), se = _(0), H = _([]), M = _(), q = _({
|
|
4816
4835
|
current: 100,
|
|
4817
4836
|
min: 100,
|
|
4818
4837
|
max: 1e3
|
|
4819
|
-
}),
|
|
4820
|
-
|
|
4838
|
+
}), Q = _(!1), U = _();
|
|
4839
|
+
nt(
|
|
4821
4840
|
De,
|
|
4822
4841
|
r.value ? new Ze(r.value) : new Ze()
|
|
4823
|
-
),
|
|
4842
|
+
), nt("registerImage", (b) => {
|
|
4824
4843
|
$e(() => {
|
|
4825
|
-
H.value.find((
|
|
4844
|
+
H.value.find((B) => B.image === b) || (b.decode(), H.value = [...H.value, { image: b, loaded: !1 }]);
|
|
4826
4845
|
});
|
|
4827
|
-
}),
|
|
4846
|
+
}), nt("completeImage", (b) => {
|
|
4828
4847
|
$e(() => {
|
|
4829
|
-
const
|
|
4830
|
-
|
|
4848
|
+
const B = H.value.findIndex((ee) => ee.image === b);
|
|
4849
|
+
B >= 0 && (H.value[B].loaded = !0, H.value = [...H.value]);
|
|
4831
4850
|
});
|
|
4832
4851
|
}), l({
|
|
4833
4852
|
getState: () => ({
|
|
4834
|
-
currentCameraIndex: d.value ?
|
|
4853
|
+
currentCameraIndex: d.value ? W.value.findIndex((b) => b === d.value) : null,
|
|
4835
4854
|
currentDayIndex: f.value ? d.value.sunsimDayOfYear.findIndex(
|
|
4836
4855
|
(b) => b === f.value
|
|
4837
4856
|
) : null,
|
|
@@ -4843,85 +4862,85 @@ const Ns = {
|
|
|
4843
4862
|
}),
|
|
4844
4863
|
setState: ({
|
|
4845
4864
|
currentCameraIndex: b,
|
|
4846
|
-
currentDayIndex:
|
|
4847
|
-
currentTimeIndex:
|
|
4848
|
-
currentTransitionIndex:
|
|
4849
|
-
currentScene:
|
|
4865
|
+
currentDayIndex: B,
|
|
4866
|
+
currentTimeIndex: ee,
|
|
4867
|
+
currentTransitionIndex: ue,
|
|
4868
|
+
currentScene: G
|
|
4850
4869
|
}) => {
|
|
4851
|
-
typeof b == "number" && (d.value =
|
|
4870
|
+
typeof b == "number" && (d.value = W.value[b]), typeof B == "number" && (f.value = d.value.sunsimDayOfYear[B]), typeof ee == "number" && (S.value = f.value.timeSamples[ee]), typeof ue == "number" && (I.value = pe.value[ue]), typeof G == "number" && (A.value = G);
|
|
4852
4871
|
},
|
|
4853
|
-
resolveCoordinates: (b,
|
|
4872
|
+
resolveCoordinates: (b, B) => U.value ? U.value(b, B) : { x: 0, y: 0 }
|
|
4854
4873
|
}), Re(() => {
|
|
4855
|
-
|
|
4856
|
-
}),
|
|
4857
|
-
|
|
4858
|
-
const
|
|
4859
|
-
|
|
4860
|
-
}).observe(
|
|
4861
|
-
}),
|
|
4862
|
-
if (
|
|
4863
|
-
const b = H.value.find((
|
|
4864
|
-
b && (
|
|
4874
|
+
X.value = !0, Q.value = !1;
|
|
4875
|
+
}), j(ye, () => {
|
|
4876
|
+
ye.value && new ResizeObserver(([]) => {
|
|
4877
|
+
const B = H.value.find((ee) => ee.loaded);
|
|
4878
|
+
B && (se.value = B.image.width / N.value);
|
|
4879
|
+
}).observe(ye.value);
|
|
4880
|
+
}), j(H, () => {
|
|
4881
|
+
if (se.value === 0) {
|
|
4882
|
+
const b = H.value.find((B) => B.loaded);
|
|
4883
|
+
b && (N.value = b.image.naturalWidth / b.image.naturalHeight, se.value = b.image.width / N.value);
|
|
4865
4884
|
}
|
|
4866
4885
|
});
|
|
4867
|
-
const
|
|
4886
|
+
const oe = D(() => H.value.every((b) => b.loaded)), Z = D(() => Math.round(
|
|
4868
4887
|
H.value.filter((b) => b.loaded).length / H.value.length * 100
|
|
4869
4888
|
));
|
|
4870
|
-
|
|
4889
|
+
j(
|
|
4871
4890
|
i,
|
|
4872
4891
|
(b) => {
|
|
4873
4892
|
try {
|
|
4874
|
-
|
|
4875
|
-
} catch (
|
|
4876
|
-
|
|
4893
|
+
Q.value = !1, O.value = Ns(b);
|
|
4894
|
+
} catch (B) {
|
|
4895
|
+
Q.value = !0, C("onError", B);
|
|
4877
4896
|
}
|
|
4878
4897
|
},
|
|
4879
4898
|
{
|
|
4880
4899
|
immediate: !0
|
|
4881
4900
|
}
|
|
4882
|
-
),
|
|
4901
|
+
), j(X, (b) => {
|
|
4883
4902
|
b && C("onInitialize");
|
|
4884
4903
|
});
|
|
4885
|
-
const
|
|
4886
|
-
|
|
4904
|
+
const ie = _();
|
|
4905
|
+
j(
|
|
4887
4906
|
() => a.activeStructureIds,
|
|
4888
4907
|
() => {
|
|
4889
|
-
|
|
4908
|
+
ie.value = a.activeStructureIds;
|
|
4890
4909
|
},
|
|
4891
4910
|
{
|
|
4892
4911
|
immediate: !0,
|
|
4893
4912
|
deep: !0
|
|
4894
4913
|
}
|
|
4895
|
-
),
|
|
4896
|
-
() =>
|
|
4914
|
+
), j(
|
|
4915
|
+
() => ye.value,
|
|
4897
4916
|
() => {
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
}).observe(
|
|
4917
|
+
ye.value && new ResizeObserver(([B]) => {
|
|
4918
|
+
re.value = B.contentRect.width < F.value;
|
|
4919
|
+
}).observe(ye.value);
|
|
4901
4920
|
}
|
|
4902
4921
|
);
|
|
4903
|
-
const
|
|
4904
|
-
() => O.value ? O.value.cameras.filter(
|
|
4922
|
+
const W = D(
|
|
4923
|
+
() => O.value ? O.value.cameras.filter(Hs) : []
|
|
4905
4924
|
), pe = D(
|
|
4906
4925
|
() => O.value ? O.value.cameras.filter(bt) : []
|
|
4907
4926
|
);
|
|
4908
|
-
|
|
4927
|
+
j(
|
|
4909
4928
|
[O, o],
|
|
4910
4929
|
() => {
|
|
4911
4930
|
O.value && o.value && (H.value = []);
|
|
4912
4931
|
},
|
|
4913
4932
|
{ immediate: !0 }
|
|
4914
|
-
),
|
|
4933
|
+
), j(
|
|
4915
4934
|
[O, o, g],
|
|
4916
4935
|
async () => {
|
|
4917
|
-
o.value &&
|
|
4936
|
+
o.value && W.value.length > 0 && (g.value ? d.value = W.value.find(
|
|
4918
4937
|
(b) => b.cameraName === g.value
|
|
4919
|
-
) ||
|
|
4938
|
+
) || W.value[0] : d.value = W.value[0], A.value = O.value.cameras.findIndex(
|
|
4920
4939
|
(b) => b === d.value
|
|
4921
4940
|
), A.value = Math.max(0, A.value));
|
|
4922
4941
|
},
|
|
4923
4942
|
{ immediate: !0 }
|
|
4924
|
-
),
|
|
4943
|
+
), j(
|
|
4925
4944
|
[O, o, w],
|
|
4926
4945
|
() => {
|
|
4927
4946
|
O.value && o.value && d.value && d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && (w.value ? f.value = d.value.sunsimDayOfYear.find(
|
|
@@ -4929,7 +4948,7 @@ const Ns = {
|
|
|
4929
4948
|
) || d.value.sunsimDayOfYear[0] : f.value = d.value.sunsimDayOfYear[0]);
|
|
4930
4949
|
},
|
|
4931
4950
|
{ immediate: !0 }
|
|
4932
|
-
),
|
|
4951
|
+
), j(
|
|
4933
4952
|
[O, o, k],
|
|
4934
4953
|
() => {
|
|
4935
4954
|
O.value && o.value && f.value && f.value.timeSamples && f.value.timeSamples.length > 0 && (k.value ? S.value = f.value.timeSamples.find(
|
|
@@ -4941,37 +4960,37 @@ const Ns = {
|
|
|
4941
4960
|
{ immediate: !0 }
|
|
4942
4961
|
);
|
|
4943
4962
|
function he(b) {
|
|
4944
|
-
d.value !== b &&
|
|
4945
|
-
O.value.cameras.findIndex((
|
|
4963
|
+
d.value !== b && Xe(
|
|
4964
|
+
O.value.cameras.findIndex((B) => B === b)
|
|
4946
4965
|
);
|
|
4947
4966
|
}
|
|
4948
4967
|
function ve(b) {
|
|
4949
4968
|
A.value = b, bt(O.value.cameras[A.value]) ? I.value = O.value.cameras[A.value] : ($e(() => {
|
|
4950
|
-
|
|
4969
|
+
be(
|
|
4951
4970
|
O.value.cameras[A.value]
|
|
4952
4971
|
);
|
|
4953
4972
|
}), I.value = null);
|
|
4954
4973
|
}
|
|
4955
|
-
function
|
|
4956
|
-
const
|
|
4974
|
+
function be(b) {
|
|
4975
|
+
const B = f.value;
|
|
4957
4976
|
d.value = b, A.value = O.value.cameras.findIndex(
|
|
4958
|
-
(
|
|
4977
|
+
(ee) => ee === d.value
|
|
4959
4978
|
), $e(() => {
|
|
4960
|
-
d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 &&
|
|
4979
|
+
d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && we(
|
|
4961
4980
|
d.value.sunsimDayOfYear.find(
|
|
4962
|
-
(
|
|
4981
|
+
(ee) => ee.dayOfYear === B.dayOfYear
|
|
4963
4982
|
) || d.value.sunsimDayOfYear[0]
|
|
4964
4983
|
);
|
|
4965
4984
|
});
|
|
4966
4985
|
}
|
|
4967
|
-
function
|
|
4968
|
-
const
|
|
4986
|
+
function we(b) {
|
|
4987
|
+
const B = S.value;
|
|
4969
4988
|
f.value = b, $e(() => {
|
|
4970
4989
|
Be(
|
|
4971
4990
|
f.value.timeSamples.find(
|
|
4972
|
-
(
|
|
4991
|
+
(ee) => ee.timeInHours === B.timeInHours
|
|
4973
4992
|
) || f.value.timeSamples.find(
|
|
4974
|
-
(
|
|
4993
|
+
(ee) => ee.timeInHours === f.value.defaultHour
|
|
4975
4994
|
) || f.value.timeSamples[0]
|
|
4976
4995
|
);
|
|
4977
4996
|
});
|
|
@@ -4981,108 +5000,108 @@ const Ns = {
|
|
|
4981
5000
|
}
|
|
4982
5001
|
function ke(b) {
|
|
4983
5002
|
C("onClick", b, () => {
|
|
4984
|
-
const
|
|
4985
|
-
(
|
|
5003
|
+
const B = O.value.stillCameraData.find(
|
|
5004
|
+
(ee) => ee.id === b
|
|
4986
5005
|
);
|
|
4987
|
-
|
|
5006
|
+
B && Xe(B.bestIndex);
|
|
4988
5007
|
});
|
|
4989
5008
|
}
|
|
4990
|
-
|
|
4991
|
-
var
|
|
5009
|
+
j(h, (b) => {
|
|
5010
|
+
var B;
|
|
4992
5011
|
if (b && O.value) {
|
|
4993
|
-
const
|
|
4994
|
-
(
|
|
5012
|
+
const ee = O.value.stillCameraData.find(
|
|
5013
|
+
(ue) => ue.id === b
|
|
4995
5014
|
);
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
)) &&
|
|
5015
|
+
ee && ((B = O.value.stillCameraIndices) != null && B.includes(
|
|
5016
|
+
ee.bestIndex
|
|
5017
|
+
)) && Xe(ee.bestIndex);
|
|
4999
5018
|
}
|
|
5000
5019
|
});
|
|
5001
5020
|
function ce(b) {
|
|
5002
5021
|
C("onHoverOver", b), R.value = b;
|
|
5003
5022
|
}
|
|
5004
|
-
function
|
|
5023
|
+
function Te(b) {
|
|
5005
5024
|
C("onHoverOut", b), R.value = void 0;
|
|
5006
5025
|
}
|
|
5007
|
-
function
|
|
5008
|
-
const { layerX:
|
|
5009
|
-
let
|
|
5010
|
-
for (;
|
|
5011
|
-
if (
|
|
5012
|
-
|
|
5026
|
+
function Fe(b) {
|
|
5027
|
+
const { layerX: B, layerY: ee } = b;
|
|
5028
|
+
let ue = b.target, G = !1;
|
|
5029
|
+
for (; ue; )
|
|
5030
|
+
if (ue === Se.value) {
|
|
5031
|
+
G = !0;
|
|
5013
5032
|
break;
|
|
5014
5033
|
} else
|
|
5015
|
-
|
|
5016
|
-
if (
|
|
5017
|
-
const
|
|
5034
|
+
ue = ue.parentElement;
|
|
5035
|
+
if (G) {
|
|
5036
|
+
const Ae = b.currentTarget;
|
|
5018
5037
|
Y.value = {
|
|
5019
|
-
x:
|
|
5020
|
-
y:
|
|
5021
|
-
width:
|
|
5022
|
-
height:
|
|
5038
|
+
x: B,
|
|
5039
|
+
y: ee,
|
|
5040
|
+
width: Ae.clientWidth,
|
|
5041
|
+
height: Ae.clientHeight
|
|
5023
5042
|
};
|
|
5024
5043
|
} else
|
|
5025
5044
|
Y.value = void 0;
|
|
5026
5045
|
C("onMouseMove", b, Y.value);
|
|
5027
5046
|
}
|
|
5028
|
-
function
|
|
5047
|
+
function pt({
|
|
5029
5048
|
min: b,
|
|
5030
|
-
max:
|
|
5031
|
-
current:
|
|
5032
|
-
resolve:
|
|
5049
|
+
max: B,
|
|
5050
|
+
current: ee,
|
|
5051
|
+
resolve: ue
|
|
5033
5052
|
}) {
|
|
5034
|
-
U.value =
|
|
5053
|
+
U.value = ue, q.value = { min: b, max: B, current: ee };
|
|
5035
5054
|
}
|
|
5036
|
-
function
|
|
5055
|
+
function Je(b) {
|
|
5037
5056
|
M.value.adjustZoom(b ? 10 : -10);
|
|
5038
5057
|
}
|
|
5039
|
-
function
|
|
5058
|
+
function Ye(b) {
|
|
5040
5059
|
return O.value.stillCameraIndices.findIndex(
|
|
5041
|
-
(
|
|
5060
|
+
(B) => B === b
|
|
5042
5061
|
);
|
|
5043
5062
|
}
|
|
5044
|
-
async function
|
|
5045
|
-
const
|
|
5063
|
+
async function Xe(b) {
|
|
5064
|
+
const B = A.value;
|
|
5046
5065
|
if (O.value.loopable) {
|
|
5047
|
-
const
|
|
5048
|
-
let
|
|
5049
|
-
for (; Le++, Le >=
|
|
5050
|
-
|
|
5051
|
-
for (Le =
|
|
5052
|
-
|
|
5053
|
-
|
|
5066
|
+
const ee = O.value.stillCameraIndices.length, ue = Ye(B), G = Ye(b);
|
|
5067
|
+
let Ae = 0, Ge = 0, Le = ue;
|
|
5068
|
+
for (; Le++, Le >= ee && (Le = 0), Le !== G; )
|
|
5069
|
+
Ae++;
|
|
5070
|
+
for (Le = ue; Le--, Le < 0 && (Le += ee), Le !== G; )
|
|
5071
|
+
Ge++;
|
|
5072
|
+
Ae === Ge ? ge(B, b) : Ae < Ge ? ue < G ? ge(B, b) : ge(B, b + O.value.cameras.length) : ue >= G ? ge(B, b) : ge(B + O.value.cameras.length, b);
|
|
5054
5073
|
} else
|
|
5055
|
-
|
|
5074
|
+
ge(B, b);
|
|
5056
5075
|
}
|
|
5057
|
-
function
|
|
5058
|
-
return new Promise((
|
|
5076
|
+
function ge(b, B) {
|
|
5077
|
+
return new Promise((ee) => {
|
|
5059
5078
|
$.value = !0;
|
|
5060
|
-
let
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
), ve(A.value)) :
|
|
5065
|
-
|
|
5066
|
-
), ve(A.value)) : (clearInterval(
|
|
5079
|
+
let ue, G = b;
|
|
5080
|
+
ue = setInterval(() => {
|
|
5081
|
+
G < B ? (G++, A.value = Math.abs(
|
|
5082
|
+
G % O.value.cameras.length
|
|
5083
|
+
), ve(A.value)) : G > B ? (G--, A.value = Math.abs(
|
|
5084
|
+
G % O.value.cameras.length
|
|
5085
|
+
), ve(A.value)) : (clearInterval(ue), $.value = !1, ee());
|
|
5067
5086
|
}, 12);
|
|
5068
5087
|
});
|
|
5069
5088
|
}
|
|
5070
|
-
function
|
|
5071
|
-
|
|
5089
|
+
function ft(b) {
|
|
5090
|
+
Q.value = !0, C("onError", b);
|
|
5072
5091
|
}
|
|
5073
|
-
const
|
|
5074
|
-
return (b,
|
|
5075
|
-
const
|
|
5076
|
-
return u(), L(
|
|
5077
|
-
y(
|
|
5092
|
+
const at = (b) => b * (180 / Math.PI);
|
|
5093
|
+
return (b, B) => {
|
|
5094
|
+
const ee = E("v-progress-circular"), ue = E("v-skeleton-loader");
|
|
5095
|
+
return u(), L(xe, null, [
|
|
5096
|
+
y(ue, {
|
|
5078
5097
|
type: "image",
|
|
5079
5098
|
class: "w-100 h-100 position-relative",
|
|
5080
|
-
loading: !
|
|
5099
|
+
loading: !X.value || !O.value
|
|
5081
5100
|
}, {
|
|
5082
5101
|
default: v(() => [
|
|
5083
|
-
|
|
5084
|
-
y(
|
|
5085
|
-
"model-value":
|
|
5102
|
+
oe.value ? V("", !0) : (u(), L("div", Qs, [
|
|
5103
|
+
y(ee, {
|
|
5104
|
+
"model-value": Z.value,
|
|
5086
5105
|
size: 128,
|
|
5087
5106
|
width: 12
|
|
5088
5107
|
}, null, 8, ["model-value"])
|
|
@@ -5091,77 +5110,77 @@ const Ns = {
|
|
|
5091
5110
|
default: v(() => [
|
|
5092
5111
|
e("div", {
|
|
5093
5112
|
ref_key: "container",
|
|
5094
|
-
ref:
|
|
5095
|
-
class: me({ mobile:
|
|
5113
|
+
ref: ye,
|
|
5114
|
+
class: me({ mobile: re.value }),
|
|
5096
5115
|
style: { "min-height": "160px" },
|
|
5097
|
-
onMousemove:
|
|
5116
|
+
onMousemove: Fe
|
|
5098
5117
|
}, [
|
|
5099
5118
|
b.showUi ? (u(), L("div", {
|
|
5100
5119
|
key: 0,
|
|
5101
5120
|
class: "persistent actions-bar top-right pa-2",
|
|
5102
|
-
style:
|
|
5121
|
+
style: ae({
|
|
5103
5122
|
zIndex: 7,
|
|
5104
|
-
top:
|
|
5123
|
+
top: re.value && W.value.length > 1 ? "60px" : 0
|
|
5105
5124
|
})
|
|
5106
5125
|
}, [
|
|
5107
|
-
d.value.cameraRotation ? (u(),
|
|
5126
|
+
d.value.cameraRotation ? (u(), T(Ht, {
|
|
5108
5127
|
key: 0,
|
|
5109
5128
|
class: "mb-2",
|
|
5110
|
-
style:
|
|
5129
|
+
style: ae({
|
|
5111
5130
|
zIndex: 7,
|
|
5112
|
-
width:
|
|
5113
|
-
height:
|
|
5131
|
+
width: re.value ? 32 : 40,
|
|
5132
|
+
height: re.value ? 32 : 40
|
|
5114
5133
|
}),
|
|
5115
|
-
longitude:
|
|
5134
|
+
longitude: at(d.value.cameraRotation.y) + 270
|
|
5116
5135
|
}, null, 8, ["style", "longitude"])) : V("", !0),
|
|
5117
|
-
y(
|
|
5118
|
-
"is-mobile-sized":
|
|
5119
|
-
"can-zoom-out":
|
|
5120
|
-
"can-zoom-in":
|
|
5136
|
+
y(Ts, {
|
|
5137
|
+
"is-mobile-sized": re.value,
|
|
5138
|
+
"can-zoom-out": q.value.min < q.value.current,
|
|
5139
|
+
"can-zoom-in": q.value.max > q.value.current,
|
|
5121
5140
|
disabled: $.value,
|
|
5122
|
-
onOnZoomIn:
|
|
5123
|
-
onOnZoomOut:
|
|
5141
|
+
onOnZoomIn: B[0] || (B[0] = (G) => Je(!0)),
|
|
5142
|
+
onOnZoomOut: B[1] || (B[1] = (G) => Je(!1))
|
|
5124
5143
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5125
5144
|
], 4)) : V("", !0),
|
|
5126
|
-
b.showUi &&
|
|
5145
|
+
b.showUi && W.value.length > 1 ? (u(), L("div", {
|
|
5127
5146
|
key: 1,
|
|
5128
5147
|
class: me([{
|
|
5129
5148
|
"actions-bar bottom-center pb-2": !0,
|
|
5130
|
-
"px-0":
|
|
5149
|
+
"px-0": re.value
|
|
5131
5150
|
}, "still-cameras-wrapper"]),
|
|
5132
5151
|
style: { "z-index": "7" }
|
|
5133
5152
|
}, [
|
|
5134
|
-
y(
|
|
5135
|
-
"is-mobile-sized":
|
|
5136
|
-
"still-cameras":
|
|
5153
|
+
y(Ls, {
|
|
5154
|
+
"is-mobile-sized": re.value,
|
|
5155
|
+
"still-cameras": W.value,
|
|
5137
5156
|
"current-camera": d.value,
|
|
5138
5157
|
disabled: $.value,
|
|
5139
5158
|
"cdn-file-resolver": m(o),
|
|
5140
5159
|
onOnCameraChange: he
|
|
5141
5160
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
5142
5161
|
], 2)) : V("", !0),
|
|
5143
|
-
y(
|
|
5162
|
+
y(Hn, {
|
|
5144
5163
|
ref_key: "zoomBox",
|
|
5145
5164
|
ref: M,
|
|
5146
5165
|
position: "relative",
|
|
5147
|
-
onUpdate:
|
|
5166
|
+
onUpdate: pt
|
|
5148
5167
|
}, {
|
|
5149
5168
|
default: v(() => [
|
|
5150
5169
|
e("div", {
|
|
5151
5170
|
class: "w-100 position-relative",
|
|
5152
|
-
style:
|
|
5171
|
+
style: ae({ height: `${se.value}px` })
|
|
5153
5172
|
}, [
|
|
5154
|
-
(u(!0), L(
|
|
5155
|
-
key: `camera${
|
|
5156
|
-
"camera-data":
|
|
5173
|
+
(u(!0), L(xe, null, Me(W.value, (G, Ae) => (u(), T(hs, {
|
|
5174
|
+
key: `camera${Ae}`,
|
|
5175
|
+
"camera-data": G,
|
|
5157
5176
|
"cdn-file-resolver": m(o),
|
|
5158
5177
|
"current-camera": d.value,
|
|
5159
5178
|
"current-day": f.value,
|
|
5160
5179
|
"current-time": S.value
|
|
5161
5180
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5162
|
-
(u(!0), L(
|
|
5163
|
-
key: `transition${
|
|
5164
|
-
"transition-data":
|
|
5181
|
+
(u(!0), L(xe, null, Me(pe.value, (G, Ae) => (u(), T(_s, {
|
|
5182
|
+
key: `transition${Ae}`,
|
|
5183
|
+
"transition-data": G,
|
|
5165
5184
|
"cdn-file-resolver": m(o),
|
|
5166
5185
|
"current-transition": I.value
|
|
5167
5186
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
@@ -5170,22 +5189,22 @@ const Ns = {
|
|
|
5170
5189
|
class: "w-100 h-100 position-absolute top-left",
|
|
5171
5190
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5172
5191
|
innerHTML: m(p)
|
|
5173
|
-
}, null, 8,
|
|
5174
|
-
d.value.overlayFilename && !
|
|
5192
|
+
}, null, 8, Zs)) : V("", !0),
|
|
5193
|
+
d.value.overlayFilename && !Q.value ? tt((u(), T(Rs, {
|
|
5175
5194
|
key: 1,
|
|
5176
5195
|
"cdn-file-resolver": m(o),
|
|
5177
5196
|
"color-callback": m(s),
|
|
5178
5197
|
"current-camera": d.value,
|
|
5179
5198
|
"selected-id": m(h),
|
|
5180
|
-
activeStructureIds:
|
|
5199
|
+
activeStructureIds: ie.value,
|
|
5181
5200
|
onOnClick: ke,
|
|
5182
5201
|
onOnHoverOver: ce,
|
|
5183
|
-
onOnHoverOut:
|
|
5184
|
-
onUpdateSvgContainer:
|
|
5185
|
-
onOnError:
|
|
5186
|
-
onOnBoundingBoxesUpdate:
|
|
5202
|
+
onOnHoverOut: Te,
|
|
5203
|
+
onUpdateSvgContainer: B[2] || (B[2] = (G) => Se.value = G),
|
|
5204
|
+
onOnError: ft,
|
|
5205
|
+
onOnBoundingBoxesUpdate: B[3] || (B[3] = (G) => C("onBoundingBoxesUpdate", G))
|
|
5187
5206
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5188
|
-
[
|
|
5207
|
+
[rt, I.value === null]
|
|
5189
5208
|
]) : V("", !0),
|
|
5190
5209
|
K(b.$slots, "default", {}, void 0, !0)
|
|
5191
5210
|
], 4)
|
|
@@ -5196,39 +5215,39 @@ const Ns = {
|
|
|
5196
5215
|
key: 2,
|
|
5197
5216
|
class: me({
|
|
5198
5217
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
5199
|
-
"px-0":
|
|
5218
|
+
"px-0": re.value
|
|
5200
5219
|
}),
|
|
5201
5220
|
style: { "z-index": "7" }
|
|
5202
5221
|
}, [
|
|
5203
|
-
y(
|
|
5222
|
+
y(ks, {
|
|
5204
5223
|
class: "pr-2",
|
|
5205
|
-
"is-mobile-sized":
|
|
5224
|
+
"is-mobile-sized": re.value,
|
|
5206
5225
|
"current-camera": d.value,
|
|
5207
5226
|
"current-day": f.value,
|
|
5208
5227
|
disabled: $.value,
|
|
5209
|
-
onOnDayChange:
|
|
5228
|
+
onOnDayChange: we
|
|
5210
5229
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5211
|
-
y(
|
|
5212
|
-
"is-mobile-sized":
|
|
5230
|
+
y(Vs, {
|
|
5231
|
+
"is-mobile-sized": re.value,
|
|
5213
5232
|
"current-day": f.value,
|
|
5214
5233
|
"current-time": S.value,
|
|
5215
5234
|
disabled: $.value,
|
|
5216
5235
|
onOnTimeChange: Be
|
|
5217
5236
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5218
5237
|
], 2)) : V("", !0),
|
|
5219
|
-
b.$slots.popup && Y.value && R.value ? (u(),
|
|
5238
|
+
b.$slots.popup && Y.value && R.value ? (u(), T(Tn, {
|
|
5220
5239
|
key: 3,
|
|
5221
5240
|
"is-hoverable": de.value,
|
|
5222
5241
|
pos: Y.value
|
|
5223
5242
|
}, {
|
|
5224
5243
|
default: v(() => [
|
|
5225
|
-
e("div",
|
|
5226
|
-
K(b.$slots, "popup",
|
|
5244
|
+
e("div", qs, [
|
|
5245
|
+
K(b.$slots, "popup", En(Mn({ hoverId: R.value, hoverable: de.value })), void 0, !0)
|
|
5227
5246
|
])
|
|
5228
5247
|
]),
|
|
5229
5248
|
_: 3
|
|
5230
5249
|
}, 8, ["is-hoverable", "pos"])) : V("", !0),
|
|
5231
|
-
b.version && b.showVersion ? (u(), L("div",
|
|
5250
|
+
b.version && b.showVersion ? (u(), L("div", Js, " version: " + P(b.version), 1)) : V("", !0)
|
|
5232
5251
|
], 34)
|
|
5233
5252
|
]),
|
|
5234
5253
|
_: 3
|
|
@@ -5236,28 +5255,28 @@ const Ns = {
|
|
|
5236
5255
|
]),
|
|
5237
5256
|
_: 3
|
|
5238
5257
|
}, 8, ["loading"]),
|
|
5239
|
-
y(
|
|
5258
|
+
y($n, {
|
|
5240
5259
|
ref_key: "hoverProbe",
|
|
5241
|
-
ref:
|
|
5260
|
+
ref: te
|
|
5242
5261
|
}, null, 512)
|
|
5243
5262
|
], 64);
|
|
5244
5263
|
};
|
|
5245
5264
|
}
|
|
5246
|
-
}), Rt = /* @__PURE__ */
|
|
5265
|
+
}), Rt = /* @__PURE__ */ ne(Xs, [["__scopeId", "data-v-57d83a24"]]), oi = {
|
|
5247
5266
|
install: function(l) {
|
|
5248
|
-
l.component("VStructureChooser", Rt), l.component("VVirtualTour",
|
|
5267
|
+
l.component("VStructureChooser", Rt), l.component("VVirtualTour", jl), l.component("VManualSlideShow", rs), l.component("VStructureChooser", Rt);
|
|
5249
5268
|
}
|
|
5250
5269
|
};
|
|
5251
5270
|
export {
|
|
5252
5271
|
Qe as ResourceLoader,
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5272
|
+
Tn as VFloatingCard,
|
|
5273
|
+
$n as VHoverProbe,
|
|
5274
|
+
rs as VManualSlideShow,
|
|
5275
|
+
ni as VMiniMap,
|
|
5257
5276
|
Ht as VNorthDirection,
|
|
5258
5277
|
Rt as VStructureChooser,
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5278
|
+
jl as VVirtualTour,
|
|
5279
|
+
Hn as VZoomBox,
|
|
5280
|
+
Ns as convertStructureChooserDataLegacyToV5,
|
|
5281
|
+
oi as default
|
|
5263
5282
|
};
|