@qispace/vue3-player 0.0.9 → 0.0.11
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.
- package/dist/components/virtualTourV2/ScrollHelper.vue.d.ts +16 -0
- package/dist/components/virtualTourV2/index.d.ts +17 -0
- package/dist/components/virtualTourV2/minimapv2/index.d.ts +1 -0
- package/dist/entry.css +1 -1
- package/dist/vue3-player.mjs +1431 -1371
- package/dist/vue3-player.umd.js +2 -2
- package/package.json +3 -2
- package/src/components/virtualTourV2/{PlayerV2.vue → Player.vue} +1 -1
- package/src/components/virtualTourV2/VirtualTourV2.vue +6 -7
- package/src/components/virtualTourV2/index.ts +17 -0
- package/src/components/virtualTourV2/minimapv2/MiniMapV2.vue +14 -14
- package/src/components/virtualTourV2/minimapv2/index.ts +1 -0
- package/src/lib/index.js +0 -1
- package/src/components/virtualTourV2/index.js +0 -2
- package/src/components/virtualTourV2/minimapv2/index.js +0 -1
- /package/dist/components/virtualTourV2/{PlayerV2.vue.d.ts → Player.vue.d.ts} +0 -0
package/dist/vue3-player.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { openBlock as l, createElementBlock as m, resolveComponent as u, withDirectives as
|
|
3
|
-
import { PlayerV2 as
|
|
1
|
+
import Re from "axios";
|
|
2
|
+
import { openBlock as l, createElementBlock as m, resolveComponent as u, withDirectives as x, createElementVNode as o, normalizeStyle as M, vShow as B, createVNode as c, Fragment as R, renderList as O, createCommentVNode as f, withCtx as h, toDisplayString as C, createTextVNode as L, normalizeClass as F, createBlock as y, renderSlot as I, resolveDynamicComponent as Te, normalizeProps as Ve, guardReactiveProps as He, defineComponent as ne, ref as Ne, mergeProps as D, createSlots as nt, Transition as j, toHandlers as je, pushScopeId as se, popScopeId as oe, vModelText as st, createStaticVNode as qe } from "vue";
|
|
3
|
+
import { PlayerV2 as me } from "@qispace/player-core";
|
|
4
4
|
import * as T from "three";
|
|
5
|
-
class
|
|
5
|
+
class V {
|
|
6
6
|
async loadJson(t) {
|
|
7
|
-
return (await
|
|
7
|
+
return (await Re.get(t)).data;
|
|
8
8
|
}
|
|
9
9
|
async loadImage(t) {
|
|
10
10
|
return new Promise((i, r) => {
|
|
@@ -24,26 +24,26 @@ class H {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const k = (e, t) => {
|
|
28
28
|
const i = e.__vccOpts || e;
|
|
29
29
|
for (const [r, n] of t)
|
|
30
30
|
i[r] = n;
|
|
31
31
|
return i;
|
|
32
|
-
},
|
|
32
|
+
}, ot = {
|
|
33
33
|
name: "QiHoverProbe",
|
|
34
34
|
computed: {
|
|
35
35
|
isHoverEnabled() {
|
|
36
36
|
return window.getComputedStyle(this.$refs.hoverCheck).display === "none";
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, rt = {
|
|
40
40
|
ref: "hoverCheck",
|
|
41
41
|
class: "hover-check"
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
return l(), m("div",
|
|
43
|
+
function at(e, t, i, r, n, s) {
|
|
44
|
+
return l(), m("div", rt, null, 512);
|
|
45
45
|
}
|
|
46
|
-
const
|
|
46
|
+
const H = /* @__PURE__ */ k(ot, [["render", at], ["__scopeId", "data-v-e4729353"]]), ve = {
|
|
47
47
|
methods: {
|
|
48
48
|
throttle(e, t) {
|
|
49
49
|
let i = !0;
|
|
@@ -52,10 +52,10 @@ const N = /* @__PURE__ */ C(Ne, [["render", qe], ["__scopeId", "data-v-e4729353"
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
},
|
|
55
|
+
}, lt = {
|
|
56
56
|
name: "QiApartmentChooserRaster",
|
|
57
|
-
components: { QiHoverProbe:
|
|
58
|
-
mixins: [
|
|
57
|
+
components: { QiHoverProbe: H },
|
|
58
|
+
mixins: [ve],
|
|
59
59
|
props: {
|
|
60
60
|
cdnFileResolver: { type: Function, required: !0 },
|
|
61
61
|
viewModel: { type: Object, required: !0 },
|
|
@@ -93,7 +93,7 @@ const N = /* @__PURE__ */ C(Ne, [["render", qe], ["__scopeId", "data-v-e4729353"
|
|
|
93
93
|
vueCanvasCursor: "auto",
|
|
94
94
|
timeout: null,
|
|
95
95
|
windowListener: void 0,
|
|
96
|
-
resourceLoader: new
|
|
96
|
+
resourceLoader: new V(),
|
|
97
97
|
apartmentIndexRasterMap: {}
|
|
98
98
|
};
|
|
99
99
|
},
|
|
@@ -313,25 +313,25 @@ const N = /* @__PURE__ */ C(Ne, [["render", qe], ["__scopeId", "data-v-e4729353"
|
|
|
313
313
|
this.showApartmentCard = !1;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
},
|
|
317
|
-
function
|
|
316
|
+
}, dt = { id: "canvas" };
|
|
317
|
+
function ct(e, t, i, r, n, s) {
|
|
318
318
|
const a = u("qi-hover-probe");
|
|
319
|
-
return l(), m("div",
|
|
320
|
-
|
|
319
|
+
return l(), m("div", dt, [
|
|
320
|
+
x(o("canvas", {
|
|
321
321
|
id: "canvas-mask",
|
|
322
322
|
ref: "canvasMask",
|
|
323
323
|
style: M(s.canvasStyle),
|
|
324
324
|
onClick: t[0] || (t[0] = (...d) => s.clickCanvas && s.clickCanvas(...d))
|
|
325
325
|
}, null, 4), [
|
|
326
|
-
[
|
|
326
|
+
[B, !i.viewModel.isRotating]
|
|
327
327
|
]),
|
|
328
328
|
c(a, { ref: "hoverProbe" }, null, 512)
|
|
329
329
|
]);
|
|
330
330
|
}
|
|
331
|
-
const
|
|
331
|
+
const Z = /* @__PURE__ */ k(lt, [["render", ct], ["__scopeId", "data-v-3bbbc77b"]]), ut = {
|
|
332
332
|
name: "QiApartmentChooserSvg",
|
|
333
|
-
components: { QiHoverProbe:
|
|
334
|
-
mixins: [
|
|
333
|
+
components: { QiHoverProbe: H },
|
|
334
|
+
mixins: [ve],
|
|
335
335
|
props: {
|
|
336
336
|
cdnFileResolver: { type: Function, required: !0 },
|
|
337
337
|
viewModel: { type: Object, required: !0 },
|
|
@@ -355,7 +355,7 @@ const ie = /* @__PURE__ */ C(Pe, [["render", Ye], ["__scopeId", "data-v-3bbbc77b
|
|
|
355
355
|
hoverApartmentIndex: -1,
|
|
356
356
|
svgImages: {},
|
|
357
357
|
currentSvgImage: null,
|
|
358
|
-
resourceLoader: new
|
|
358
|
+
resourceLoader: new V()
|
|
359
359
|
};
|
|
360
360
|
},
|
|
361
361
|
computed: {
|
|
@@ -471,14 +471,14 @@ const ie = /* @__PURE__ */ C(Pe, [["render", Ye], ["__scopeId", "data-v-3bbbc77b
|
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
},
|
|
474
|
+
}, ht = {
|
|
475
475
|
id: "container",
|
|
476
476
|
ref: "container"
|
|
477
|
-
},
|
|
478
|
-
function
|
|
477
|
+
}, mt = ["viewBox"], pt = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"];
|
|
478
|
+
function gt(e, t, i, r, n, s) {
|
|
479
479
|
const a = u("qi-hover-probe");
|
|
480
|
-
return l(), m("div",
|
|
481
|
-
|
|
480
|
+
return l(), m("div", ht, [
|
|
481
|
+
x(o("div", {
|
|
482
482
|
class: "svg-container",
|
|
483
483
|
style: M({
|
|
484
484
|
opacity: !n.currentSvgImage || !n.currentSvgImage.svgObjects ? 0 : 1
|
|
@@ -488,22 +488,22 @@ function Xe(e, t, i, r, n, s) {
|
|
|
488
488
|
key: 0,
|
|
489
489
|
viewBox: n.currentSvgImage.viewBox
|
|
490
490
|
}, [
|
|
491
|
-
(l(!0), m(R, null,
|
|
491
|
+
(l(!0), m(R, null, O(n.currentSvgImage.svgObjects, ({ index: d, svg: p }) => (l(), m("g", {
|
|
492
492
|
key: d,
|
|
493
493
|
innerHTML: p,
|
|
494
494
|
style: M(s.getGClass(d)),
|
|
495
495
|
onMouseenter: (v) => s.mouseEnter(d),
|
|
496
496
|
onMouseleave: (v) => s.mouseLeave(d),
|
|
497
497
|
onClick: (v) => s.click(d)
|
|
498
|
-
}, null, 44,
|
|
499
|
-
], 8,
|
|
498
|
+
}, null, 44, pt))), 128))
|
|
499
|
+
], 8, mt)) : f("", !0)
|
|
500
500
|
], 4), [
|
|
501
|
-
[
|
|
501
|
+
[B, !i.viewModel.isRotating]
|
|
502
502
|
]),
|
|
503
503
|
c(a, { ref: "hoverProbe" }, null, 512)
|
|
504
504
|
], 512);
|
|
505
505
|
}
|
|
506
|
-
const
|
|
506
|
+
const K = /* @__PURE__ */ k(ut, [["render", gt], ["__scopeId", "data-v-82a61864"]]), vt = {
|
|
507
507
|
name: "QiApartmentChooserNavigation",
|
|
508
508
|
inject: ["i18n"],
|
|
509
509
|
props: {
|
|
@@ -524,11 +524,11 @@ const ne = /* @__PURE__ */ C(Qe, [["render", Xe], ["__scopeId", "data-v-82a61864
|
|
|
524
524
|
e.keyCode === 37 ? this.prevUnit && this.$emit("prev-unit") : e.keyCode === 39 && this.nextUnit && this.$emit("next-unit");
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
},
|
|
527
|
+
}, ft = {
|
|
528
528
|
key: 0,
|
|
529
529
|
class: "d-none d-md-flex"
|
|
530
530
|
};
|
|
531
|
-
function
|
|
531
|
+
function bt(e, t, i, r, n, s) {
|
|
532
532
|
const a = u("v-btn");
|
|
533
533
|
return l(), m("div", null, [
|
|
534
534
|
c(a, {
|
|
@@ -554,8 +554,8 @@ function et(e, t, i, r, n, s) {
|
|
|
554
554
|
onClick: t[2] || (t[2] = (d) => e.$emit("go-to-unit", i.selectedUnit))
|
|
555
555
|
}, {
|
|
556
556
|
default: h(() => [
|
|
557
|
-
i.selectedUnit && i.canGoToUnitCallback(i.selectedUnit) ? (l(), m("span",
|
|
558
|
-
o("span", null,
|
|
557
|
+
i.selectedUnit && i.canGoToUnitCallback(i.selectedUnit) ? (l(), m("span", ft, C(s.i18n.getLabel("see-apartment")) + " ", 1)) : f("", !0),
|
|
558
|
+
o("span", null, C(i.selectedUnit && "title" in i.selectedUnit ? i.selectedUnit.title : "-"), 1)
|
|
559
559
|
]),
|
|
560
560
|
_: 1
|
|
561
561
|
}, 8, ["disabled"]),
|
|
@@ -576,8 +576,8 @@ function et(e, t, i, r, n, s) {
|
|
|
576
576
|
})
|
|
577
577
|
]);
|
|
578
578
|
}
|
|
579
|
-
const
|
|
580
|
-
class
|
|
579
|
+
const fe = /* @__PURE__ */ k(vt, [["render", bt], ["__scopeId", "data-v-129ef905"]]);
|
|
580
|
+
class ee {
|
|
581
581
|
constructor(t) {
|
|
582
582
|
this._numParts = t, this._loadedCount = 0, this._isError = !1, this._finishedAction = () => {
|
|
583
583
|
}, this._errorAction = () => {
|
|
@@ -609,7 +609,7 @@ class se {
|
|
|
609
609
|
return Math.round(this._loadedCount * 100 / this._numParts);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
class
|
|
612
|
+
class be {
|
|
613
613
|
constructor(t, i, r, n) {
|
|
614
614
|
this._rotator = t, this._direction = i, this._frameIndex = r, this._sceneCount = n;
|
|
615
615
|
}
|
|
@@ -623,7 +623,7 @@ class de {
|
|
|
623
623
|
const t = this._rotator.clampFrameIndex(
|
|
624
624
|
this._frameIndex + this._direction
|
|
625
625
|
), i = this._rotator.isCardinalFrame(t) ? this._sceneCount - 1 : this._sceneCount;
|
|
626
|
-
return new
|
|
626
|
+
return new be(
|
|
627
627
|
this._rotator,
|
|
628
628
|
this._direction,
|
|
629
629
|
t,
|
|
@@ -631,13 +631,13 @@ class de {
|
|
|
631
631
|
);
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
class
|
|
634
|
+
class Pe {
|
|
635
635
|
constructor(t, i) {
|
|
636
636
|
this._cardinalFrames = t, this._totalFrameCount = i;
|
|
637
637
|
}
|
|
638
638
|
start(t, i, r) {
|
|
639
639
|
const n = this.startFrameIndexForScene(i);
|
|
640
|
-
return new
|
|
640
|
+
return new be(this, t, n, r);
|
|
641
641
|
}
|
|
642
642
|
isCardinalFrame(t) {
|
|
643
643
|
return this._cardinalFrames.includes(t);
|
|
@@ -649,7 +649,7 @@ class tt {
|
|
|
649
649
|
return this._cardinalFrames[t];
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const De = 64, z = 4, yt = 120, wt = {
|
|
653
653
|
name: "QiApartmentChooserRotator",
|
|
654
654
|
props: {
|
|
655
655
|
viewModel: { type: Object, required: !0 },
|
|
@@ -661,8 +661,8 @@ const pe = 64, q = 4, it = 120, nt = {
|
|
|
661
661
|
data() {
|
|
662
662
|
const e = this.createFrames();
|
|
663
663
|
return {
|
|
664
|
-
loadTracker: new
|
|
665
|
-
sceneRotator: new
|
|
664
|
+
loadTracker: new ee(e.length).onLoadFinished(() => this.$emit("loaded")).onLoadProgress((t) => this.$emit("progress", t)).onLoadError(() => this.$emit("error")),
|
|
665
|
+
sceneRotator: new Pe(this.cardinalFrames, De),
|
|
666
666
|
images: e,
|
|
667
667
|
isPreloaded: !1
|
|
668
668
|
};
|
|
@@ -686,7 +686,7 @@ const pe = 64, q = 4, it = 120, nt = {
|
|
|
686
686
|
this.viewModel.isRotating || (this.viewModel.isRotating = !0, this.rotationStep(
|
|
687
687
|
this.sceneRotator.start(
|
|
688
688
|
t,
|
|
689
|
-
e %
|
|
689
|
+
e % z,
|
|
690
690
|
i
|
|
691
691
|
)
|
|
692
692
|
));
|
|
@@ -696,17 +696,17 @@ const pe = 64, q = 4, it = 120, nt = {
|
|
|
696
696
|
this.images[e.frameIndex].show = !1;
|
|
697
697
|
const t = e.nextFrame();
|
|
698
698
|
this.images[t.frameIndex].show = !0, t.atEnd ? this.rotateComplete() : window.requestAnimationFrame(() => this.rotationStep(t));
|
|
699
|
-
}, 1e3 /
|
|
699
|
+
}, 1e3 / yt);
|
|
700
700
|
},
|
|
701
701
|
rotateComplete() {
|
|
702
702
|
const e = this.sceneRotator.startFrameIndexForScene(
|
|
703
|
-
this.viewModel.currentScene %
|
|
703
|
+
this.viewModel.currentScene % z
|
|
704
704
|
);
|
|
705
705
|
e in this.images && (this.images[e].show = !0), this.viewModel.isRotating = !1;
|
|
706
706
|
},
|
|
707
707
|
createFrames() {
|
|
708
708
|
const e = [];
|
|
709
|
-
for (let t = 0; t <
|
|
709
|
+
for (let t = 0; t < De; t++) {
|
|
710
710
|
const { sourceSet: i, defaultPath: r } = this.frameImageSource(t);
|
|
711
711
|
e.push({
|
|
712
712
|
index: t,
|
|
@@ -728,70 +728,70 @@ const pe = 64, q = 4, it = 120, nt = {
|
|
|
728
728
|
return { sourceSet: r, defaultPath: n };
|
|
729
729
|
},
|
|
730
730
|
getSceneCountBetween(e, t) {
|
|
731
|
-
const i =
|
|
732
|
-
return r > i ?
|
|
731
|
+
const i = z / 2, r = Math.abs(e - t);
|
|
732
|
+
return r > i ? z - r : r;
|
|
733
733
|
},
|
|
734
734
|
getDirection(e, t) {
|
|
735
735
|
if (e === t)
|
|
736
736
|
return 0;
|
|
737
|
-
const r = Math.abs(e - t) <
|
|
737
|
+
const r = Math.abs(e - t) < z / 2;
|
|
738
738
|
return r && e < t || !r && e > t ? 1 : -1;
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
|
-
},
|
|
741
|
+
}, kt = {
|
|
742
742
|
key: 0,
|
|
743
743
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
744
|
-
},
|
|
744
|
+
}, _t = {
|
|
745
745
|
key: 1,
|
|
746
746
|
class: "frame-container"
|
|
747
|
-
},
|
|
747
|
+
}, Ct = { class: "frame-image" }, It = ["srcset", "type"], St = ["src"], At = {
|
|
748
748
|
key: 2,
|
|
749
749
|
id: "image-stack",
|
|
750
750
|
class: "frame-container"
|
|
751
|
-
},
|
|
752
|
-
function
|
|
751
|
+
}, Lt = ["alt"], Mt = ["srcset"], xt = ["src"];
|
|
752
|
+
function Bt(e, t, i, r, n, s) {
|
|
753
753
|
const a = u("v-icon");
|
|
754
754
|
return l(), m("div", null, [
|
|
755
|
-
n.loadTracker.isError ? (l(), m("div",
|
|
755
|
+
n.loadTracker.isError ? (l(), m("div", kt, [
|
|
756
756
|
c(a, { "x-large": "" }, {
|
|
757
757
|
default: h(() => [
|
|
758
758
|
L("mdi-alert-circle-outline")
|
|
759
759
|
]),
|
|
760
760
|
_: 1
|
|
761
761
|
})
|
|
762
|
-
])) : n.isPreloaded ? (l(), m("div",
|
|
763
|
-
(l(!0), m(R, null,
|
|
762
|
+
])) : n.isPreloaded ? (l(), m("div", At, [
|
|
763
|
+
(l(!0), m(R, null, O(n.images, (d) => (l(), m("picture", {
|
|
764
764
|
key: d.index,
|
|
765
765
|
alt: d.index,
|
|
766
|
-
class:
|
|
766
|
+
class: F({ "frame-image": !0, show: d.show })
|
|
767
767
|
}, [
|
|
768
768
|
o("source", {
|
|
769
769
|
srcset: d.sourceSet,
|
|
770
770
|
type: "image/jpeg"
|
|
771
|
-
}, null, 8,
|
|
771
|
+
}, null, 8, Mt),
|
|
772
772
|
o("img", {
|
|
773
773
|
src: d.defaultPath,
|
|
774
774
|
alt: "Building image",
|
|
775
775
|
onLoad: t[2] || (t[2] = (p) => n.loadTracker.partLoaded()),
|
|
776
776
|
onError: t[3] || (t[3] = (p) => n.loadTracker.errorDetected())
|
|
777
|
-
}, null, 40,
|
|
778
|
-
], 10,
|
|
779
|
-
])) : (l(), m("div",
|
|
780
|
-
o("picture",
|
|
777
|
+
}, null, 40, xt)
|
|
778
|
+
], 10, Lt))), 128))
|
|
779
|
+
])) : (l(), m("div", _t, [
|
|
780
|
+
o("picture", Ct, [
|
|
781
781
|
o("source", {
|
|
782
782
|
srcset: s.activeFrame.sourceSet,
|
|
783
783
|
type: s.activeFrame.type
|
|
784
|
-
}, null, 8,
|
|
784
|
+
}, null, 8, It),
|
|
785
785
|
o("img", {
|
|
786
786
|
src: s.activeFrame.defaultPath,
|
|
787
787
|
onLoad: t[0] || (t[0] = (d) => n.isPreloaded = !0),
|
|
788
788
|
onError: t[1] || (t[1] = (d) => n.loadTracker.errorDetected())
|
|
789
|
-
}, null, 40,
|
|
789
|
+
}, null, 40, St)
|
|
790
790
|
])
|
|
791
791
|
]))
|
|
792
792
|
]);
|
|
793
793
|
}
|
|
794
|
-
const
|
|
794
|
+
const ye = /* @__PURE__ */ k(wt, [["render", Bt], ["__scopeId", "data-v-e6481f8e"]]), Ft = {
|
|
795
795
|
name: "FloatingCard",
|
|
796
796
|
props: {
|
|
797
797
|
pos: { type: Object, required: !0 },
|
|
@@ -804,7 +804,7 @@ const Ae = /* @__PURE__ */ C(nt, [["render", mt], ["__scopeId", "data-v-e6481f8e
|
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
function
|
|
807
|
+
function Et(e, t, i, r, n, s) {
|
|
808
808
|
const a = u("v-dialog"), d = u("v-fade-transition");
|
|
809
809
|
return l(), y(d, {
|
|
810
810
|
origin: s.q.replace("-", " ") + " " + i.pos.x + " " + i.pos.y
|
|
@@ -812,10 +812,10 @@ function gt(e, t, i, r, n, s) {
|
|
|
812
812
|
default: h(() => [
|
|
813
813
|
i.isHoverable ? (l(), m("div", {
|
|
814
814
|
key: 0,
|
|
815
|
-
class:
|
|
815
|
+
class: F(["floating-card", s.q]),
|
|
816
816
|
style: M({ left: `${i.pos.x}px`, top: `${i.pos.y}px`, pointerEvents: "none" })
|
|
817
817
|
}, [
|
|
818
|
-
|
|
818
|
+
I(e.$slots, "default", { isHoverable: i.isHoverable }, void 0, !0)
|
|
819
819
|
], 6)) : (l(), y(a, {
|
|
820
820
|
key: 1,
|
|
821
821
|
value: !0,
|
|
@@ -823,7 +823,7 @@ function gt(e, t, i, r, n, s) {
|
|
|
823
823
|
"onClick:outside": t[0] || (t[0] = (p) => e.$emit("outside", p))
|
|
824
824
|
}, {
|
|
825
825
|
default: h(() => [
|
|
826
|
-
|
|
826
|
+
I(e.$slots, "default", { isHoverable: i.isHoverable }, void 0, !0)
|
|
827
827
|
]),
|
|
828
828
|
_: 3
|
|
829
829
|
}))
|
|
@@ -831,7 +831,7 @@ function gt(e, t, i, r, n, s) {
|
|
|
831
831
|
_: 3
|
|
832
832
|
}, 8, ["origin"]);
|
|
833
833
|
}
|
|
834
|
-
const
|
|
834
|
+
const Q = /* @__PURE__ */ k(Ft, [["render", Et], ["__scopeId", "data-v-b74de171"]]), Dt = {
|
|
835
835
|
name: "QiZoomBox",
|
|
836
836
|
props: {
|
|
837
837
|
desktop: {
|
|
@@ -1038,28 +1038,28 @@ const J = /* @__PURE__ */ C(pt, [["render", gt], ["__scopeId", "data-v-b74de171"
|
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
},
|
|
1041
|
+
}, Ot = {
|
|
1042
1042
|
ref: "box",
|
|
1043
1043
|
class: "zoom-box-container"
|
|
1044
1044
|
};
|
|
1045
|
-
function
|
|
1046
|
-
return l(), m("div",
|
|
1045
|
+
function Ut(e, t, i, r, n, s) {
|
|
1046
|
+
return l(), m("div", Ot, [
|
|
1047
1047
|
o("div", {
|
|
1048
1048
|
style: M({ "transform-origin": "top left", transform: s.transform }),
|
|
1049
1049
|
class: "zoom-box"
|
|
1050
1050
|
}, [
|
|
1051
|
-
|
|
1051
|
+
I(e.$slots, "default", {}, void 0, !0)
|
|
1052
1052
|
], 4)
|
|
1053
1053
|
], 512);
|
|
1054
1054
|
}
|
|
1055
|
-
const
|
|
1056
|
-
function
|
|
1057
|
-
return e <
|
|
1055
|
+
const W = /* @__PURE__ */ k(Dt, [["render", Ut], ["__scopeId", "data-v-83bfd28a"]]), we = 4;
|
|
1056
|
+
function $e(e) {
|
|
1057
|
+
return e < we ? e + 1 : 1;
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1060
|
-
return e > 1 ? e - 1 :
|
|
1059
|
+
function Rt(e) {
|
|
1060
|
+
return e > 1 ? e - 1 : we;
|
|
1061
1061
|
}
|
|
1062
|
-
class
|
|
1062
|
+
class ze {
|
|
1063
1063
|
constructor(t) {
|
|
1064
1064
|
this._state = {
|
|
1065
1065
|
isRotating: !1,
|
|
@@ -1089,16 +1089,16 @@ class wt {
|
|
|
1089
1089
|
}
|
|
1090
1090
|
rotateCounterClockwise() {
|
|
1091
1091
|
this.unlessRotatingDo(() => {
|
|
1092
|
-
this.currentScene =
|
|
1092
|
+
this.currentScene = $e(this.currentScene);
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
1095
|
rotateClockwise() {
|
|
1096
1096
|
this.unlessRotatingDo(() => {
|
|
1097
|
-
this.currentScene =
|
|
1097
|
+
this.currentScene = Rt(this.currentScene);
|
|
1098
1098
|
});
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
|
-
const
|
|
1101
|
+
const Tt = {
|
|
1102
1102
|
// virtual tour default labels
|
|
1103
1103
|
interior: "Interiør",
|
|
1104
1104
|
"see-a-selection-of-the-options-in-the-project": "Se et utvalg av tilvalgsmulighetene i prosjektet.",
|
|
@@ -1129,9 +1129,9 @@ const kt = {
|
|
|
1129
1129
|
"use-two-fingers-to-zoom": { en: "Use two fingers to zoom", nb: "Bruk to fingre for å zoome" },
|
|
1130
1130
|
"dont-show-again": { en: "Don't Show Again", nb: "Ikke vis igjen" }
|
|
1131
1131
|
};
|
|
1132
|
-
class
|
|
1132
|
+
class E {
|
|
1133
1133
|
constructor(t, i) {
|
|
1134
|
-
this._labels = { ...
|
|
1134
|
+
this._labels = { ...Tt, ...t || {} }, this._language = i || "en";
|
|
1135
1135
|
}
|
|
1136
1136
|
getLabel(t) {
|
|
1137
1137
|
return t in this._labels ? this.get(this._labels[t]) : t;
|
|
@@ -1147,20 +1147,20 @@ class O {
|
|
|
1147
1147
|
return "";
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
const
|
|
1150
|
+
const Vt = 4, Ht = [0, 16, 32, 48], Nt = {
|
|
1151
1151
|
name: "QiApartmentChooser",
|
|
1152
1152
|
components: {
|
|
1153
|
-
QiApartmentChooserRaster:
|
|
1154
|
-
QiApartmentChooserSvg:
|
|
1155
|
-
QiApartmentChooserNavigation:
|
|
1156
|
-
QiApartmentChooserRotator:
|
|
1157
|
-
QiFloatingCard:
|
|
1158
|
-
QiHoverProbe:
|
|
1159
|
-
QiZoomBox:
|
|
1153
|
+
QiApartmentChooserRaster: Z,
|
|
1154
|
+
QiApartmentChooserSvg: K,
|
|
1155
|
+
QiApartmentChooserNavigation: fe,
|
|
1156
|
+
QiApartmentChooserRotator: ye,
|
|
1157
|
+
QiFloatingCard: Q,
|
|
1158
|
+
QiHoverProbe: H,
|
|
1159
|
+
QiZoomBox: W
|
|
1160
1160
|
},
|
|
1161
1161
|
provide() {
|
|
1162
1162
|
return {
|
|
1163
|
-
i18n: this.i18n ? new
|
|
1163
|
+
i18n: this.i18n ? new E(this.i18n.labels, this.i18n.language) : new E()
|
|
1164
1164
|
};
|
|
1165
1165
|
},
|
|
1166
1166
|
emits: [
|
|
@@ -1202,7 +1202,7 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1202
1202
|
sceneData: null,
|
|
1203
1203
|
scenes: null,
|
|
1204
1204
|
viewModel: void 0,
|
|
1205
|
-
resourceLoader: new
|
|
1205
|
+
resourceLoader: new V(),
|
|
1206
1206
|
pos: { x: 0, y: 0, width: 0, height: 0 },
|
|
1207
1207
|
closeHandler: void 0,
|
|
1208
1208
|
hoverApartment: void 0
|
|
@@ -1216,7 +1216,7 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1216
1216
|
return this.unitCallback ? this.unitCallback(this.selectedUnitId) : this.selectedUnitId;
|
|
1217
1217
|
},
|
|
1218
1218
|
overlayComponent() {
|
|
1219
|
-
return this.useSvg ?
|
|
1219
|
+
return this.useSvg ? K : Z;
|
|
1220
1220
|
}
|
|
1221
1221
|
},
|
|
1222
1222
|
watch: {
|
|
@@ -1239,8 +1239,8 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1239
1239
|
} catch {
|
|
1240
1240
|
console.info("apartmentChooser.json not found");
|
|
1241
1241
|
}
|
|
1242
|
-
const t = e && e.startScene !== void 0 ? e.startScene :
|
|
1243
|
-
this.scenes = e && e.scenes !== void 0 ? e.scenes :
|
|
1242
|
+
const t = e && e.startScene !== void 0 ? e.startScene : Vt;
|
|
1243
|
+
this.scenes = e && e.scenes !== void 0 ? e.scenes : Ht, this.sceneData = e && e.sceneData !== void 0 ? e.sceneData.map((n) => ({
|
|
1244
1244
|
apartmentId: n.apartmentID,
|
|
1245
1245
|
index: n.index
|
|
1246
1246
|
})) : this.buildingSceneDataResolver ? await this.buildingSceneDataResolver() : [], this.scenesByApartment = e && e.sceneData !== void 0 ? e.sceneData.map((n) => {
|
|
@@ -1249,8 +1249,8 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1249
1249
|
}).reduce((n, s) => ({ ...n, [s.unitId]: s.scene }), {}) : this.buildingScenesByApartmentResolver ? await this.buildingScenesByApartmentResolver() : [];
|
|
1250
1250
|
const i = (n, s = "unitId") => {
|
|
1251
1251
|
let a = t, d = [];
|
|
1252
|
-
for (let p = 0; p <
|
|
1253
|
-
d.push(a), a =
|
|
1252
|
+
for (let p = 0; p < we; p++)
|
|
1253
|
+
d.push(a), a = $e(a);
|
|
1254
1254
|
return n.sort((p, v) => {
|
|
1255
1255
|
const w = d.findIndex(
|
|
1256
1256
|
(g) => g === this.scenesByApartment[p[s]]
|
|
@@ -1260,7 +1260,7 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1260
1260
|
return w < S ? -1 : w > S ? 1 : 0;
|
|
1261
1261
|
}), n;
|
|
1262
1262
|
}, r = (n) => {
|
|
1263
|
-
this.viewModel = new
|
|
1263
|
+
this.viewModel = new ze(n);
|
|
1264
1264
|
};
|
|
1265
1265
|
this.$emit("initialized", {
|
|
1266
1266
|
scene: t,
|
|
@@ -1282,15 +1282,15 @@ const Ct = 4, It = [0, 16, 32, 48], _t = {
|
|
|
1282
1282
|
this.hoverApartment = null, this.closeHandler = t, this.$emit("hover-out-unit", e);
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
},
|
|
1285
|
+
}, jt = { key: 0 }, qt = { class: "interactive-viewer" }, Pt = { class: "fill-parent" }, $t = { key: 0 }, zt = {
|
|
1286
1286
|
key: 1,
|
|
1287
1287
|
class: "navigation"
|
|
1288
|
-
},
|
|
1289
|
-
function
|
|
1288
|
+
}, Yt = { key: 2 };
|
|
1289
|
+
function Qt(e, t, i, r, n, s) {
|
|
1290
1290
|
const a = u("qi-apartment-chooser-rotator"), d = u("qi-zoom-box"), p = u("qi-floating-card"), v = u("qi-apartment-chooser-navigation"), w = u("v-progress-linear"), S = u("qi-hover-probe");
|
|
1291
|
-
return n.viewModel ? (l(), m("div",
|
|
1292
|
-
o("div",
|
|
1293
|
-
o("div",
|
|
1291
|
+
return n.viewModel ? (l(), m("div", jt, [
|
|
1292
|
+
o("div", qt, [
|
|
1293
|
+
o("div", Pt, [
|
|
1294
1294
|
c(d, {
|
|
1295
1295
|
desktop: n.loadState.isReady && i.interactiveDesktop,
|
|
1296
1296
|
mobile: n.loadState.isReady && i.interactiveMobile
|
|
@@ -1305,8 +1305,8 @@ function Et(e, t, i, r, n, s) {
|
|
|
1305
1305
|
onLoaded: t[1] || (t[1] = (g) => n.loadState.isReady = !0),
|
|
1306
1306
|
onError: t[2] || (t[2] = (g) => n.loadState.isError = !0)
|
|
1307
1307
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1308
|
-
n.loadState.isReady ? (l(), m("div",
|
|
1309
|
-
(l(), y(
|
|
1308
|
+
n.loadState.isReady ? (l(), m("div", $t, [
|
|
1309
|
+
(l(), y(Te(s.overlayComponent), {
|
|
1310
1310
|
"cdn-file-resolver": i.cdnFileResolver,
|
|
1311
1311
|
"view-model": n.viewModel,
|
|
1312
1312
|
"selected-unit-id": i.selectedUnitId,
|
|
@@ -1322,7 +1322,7 @@ function Et(e, t, i, r, n, s) {
|
|
|
1322
1322
|
onPos: s.onPos
|
|
1323
1323
|
}, {
|
|
1324
1324
|
default: h((g) => [
|
|
1325
|
-
|
|
1325
|
+
I(e.$slots, "default", Ve(He(g)), void 0, !0)
|
|
1326
1326
|
]),
|
|
1327
1327
|
_: 3
|
|
1328
1328
|
}, 40, ["cdn-file-resolver", "view-model", "selected-unit-id", "scene-data", "color-callback", "unit-callback", "can-go-to-unit-callback", "draw-observer", "onHoverOver", "onHoverOut", "onPos"]))
|
|
@@ -1337,7 +1337,7 @@ function Et(e, t, i, r, n, s) {
|
|
|
1337
1337
|
onOutside: n.closeHandler
|
|
1338
1338
|
}, {
|
|
1339
1339
|
default: h(() => [
|
|
1340
|
-
|
|
1340
|
+
I(e.$slots, "default", {
|
|
1341
1341
|
unit: n.hoverApartment,
|
|
1342
1342
|
canGoToUnit: i.canGoToUnitCallback(n.hoverApartment),
|
|
1343
1343
|
goToUnit: () => i.canGoToUnitCallback(n.hoverApartment) && e.$emit("go-to-unit", n.hoverApartment),
|
|
@@ -1348,7 +1348,7 @@ function Et(e, t, i, r, n, s) {
|
|
|
1348
1348
|
]),
|
|
1349
1349
|
_: 3
|
|
1350
1350
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : f("", !0),
|
|
1351
|
-
n.loadState.isReady ? (l(), m("div",
|
|
1351
|
+
n.loadState.isReady ? (l(), m("div", zt, [
|
|
1352
1352
|
c(v, {
|
|
1353
1353
|
"can-go-to-unit-callback": i.canGoToUnitCallback,
|
|
1354
1354
|
"selected-unit": s.selectedUnit,
|
|
@@ -1359,7 +1359,7 @@ function Et(e, t, i, r, n, s) {
|
|
|
1359
1359
|
onPrevUnit: t[6] || (t[6] = (g) => e.$emit("nav-unit", i.prevUnit)),
|
|
1360
1360
|
onNextUnit: t[7] || (t[7] = (g) => e.$emit("nav-unit", i.nextUnit))
|
|
1361
1361
|
}, null, 8, ["can-go-to-unit-callback", "selected-unit", "prev-unit", "next-unit", "view-model"])
|
|
1362
|
-
])) : n.loadState.isError ? f("", !0) : (l(), m("div",
|
|
1362
|
+
])) : n.loadState.isError ? f("", !0) : (l(), m("div", Yt, [
|
|
1363
1363
|
c(w, {
|
|
1364
1364
|
indeterminate: !n.loadState.progress,
|
|
1365
1365
|
value: n.loadState.progress
|
|
@@ -1370,14 +1370,14 @@ function Et(e, t, i, r, n, s) {
|
|
|
1370
1370
|
c(S, { ref: "hoverProbe" }, null, 512)
|
|
1371
1371
|
])) : f("", !0);
|
|
1372
1372
|
}
|
|
1373
|
-
const
|
|
1373
|
+
const Ye = /* @__PURE__ */ k(Nt, [["render", Qt], ["__scopeId", "data-v-3a1121f3"]]), Wt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA6ySURBVHgB7Z3Nb1TVG8efQstLActbIBAI8wsJBgLxZ+KeaVy5EVgZo4klceOKstCdYdQ/gLLSjQESjEvBjTs7Ju40AQMBIQEvgUAgvLRCWlpax/O9c56b09N7Z87bPTNT+SSHTqftMHO+93nO955Xolf0FH3UwzQajYr4wmVIlPUFvzohyqQoCR739fVdoh6lJwQTwkCI/4vyhihV+bhCfkC0RH79BV+FkBPU5XStYEKkKjXFOSi/xqBOTQEvCPHq1IV0lWBSpEOijFBxeotFQk0BT/VyCg0O0p0ox0QZb3QvF0X5iLqAjkVYo9kujYpyjDofTaYkopwV5YyIuoQ6QHTBelQonYSawo31glFxRog1KsrTxtLhr0bkVBklwsSHgg0/SfHcXmwSUYZjpMllVDJCrJr4cpGWrligIspf8rOWSmkR1mj2QpympS1UHgmVGG2lCCbEOkxNsUozFXNzczQ7O0vT09M0MzOTlpSbN2nT99+nDx+//z7R7t3p45UrV6ZlxYoVtHr1aurv76cSSUQ5LkQ7T4EJ/q5lWjhBgYEgExMTNDU1Rc+fP0/FymPVgwf02u+/p4+n3n6bXmzYkPt7EA3irV+/ntatW5eKGZCKKD+IuvhCiFajgAQVTLz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Nel1//6IV2qScEK0KmUHQdVqg5nbyojZmQJaHmLKXb9IpXxOBfKqW3YKRX2kIAAAAASUVORK5CYII=", Jt = {
|
|
1374
1374
|
name: "QiNorthDirection",
|
|
1375
1375
|
props: {
|
|
1376
1376
|
longitude: { type: Number, default: () => 0 }
|
|
1377
1377
|
},
|
|
1378
1378
|
data() {
|
|
1379
1379
|
return {
|
|
1380
|
-
compassNeedle:
|
|
1380
|
+
compassNeedle: Wt
|
|
1381
1381
|
};
|
|
1382
1382
|
},
|
|
1383
1383
|
computed: {
|
|
@@ -1389,21 +1389,21 @@ const Dt = /* @__PURE__ */ C(_t, [["render", Et], ["__scopeId", "data-v-3a1121f3
|
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
1391
|
};
|
|
1392
|
-
function
|
|
1392
|
+
function Gt(e, t, i, r, n, s) {
|
|
1393
1393
|
const a = u("v-img");
|
|
1394
1394
|
return l(), y(a, {
|
|
1395
1395
|
src: n.compassNeedle,
|
|
1396
1396
|
style: M(s.needleRotation)
|
|
1397
1397
|
}, null, 8, ["src", "style"]);
|
|
1398
1398
|
}
|
|
1399
|
-
const
|
|
1400
|
-
function
|
|
1399
|
+
const J = /* @__PURE__ */ k(Jt, [["render", Gt]]);
|
|
1400
|
+
function pe(e) {
|
|
1401
1401
|
return e.toLocaleString("en-no", {
|
|
1402
1402
|
month: "short",
|
|
1403
1403
|
day: "numeric"
|
|
1404
1404
|
});
|
|
1405
1405
|
}
|
|
1406
|
-
const
|
|
1406
|
+
const Xt = ne({
|
|
1407
1407
|
setup() {
|
|
1408
1408
|
},
|
|
1409
1409
|
name: "QiBuildingChooserSunSimControl",
|
|
@@ -1425,11 +1425,11 @@ const Rt = Q({
|
|
|
1425
1425
|
return `${e}:${t}`;
|
|
1426
1426
|
},
|
|
1427
1427
|
dates() {
|
|
1428
|
-
return this.dateSelector.dates.map(
|
|
1428
|
+
return this.dateSelector.dates.map(pe);
|
|
1429
1429
|
},
|
|
1430
1430
|
selectedDate: {
|
|
1431
1431
|
get() {
|
|
1432
|
-
return
|
|
1432
|
+
return pe(this.dateSelector.selectedDate);
|
|
1433
1433
|
},
|
|
1434
1434
|
set(e) {
|
|
1435
1435
|
this.dateSelector.selectIndex(this.dates.indexOf(e));
|
|
@@ -1445,7 +1445,7 @@ const Rt = Q({
|
|
|
1445
1445
|
},
|
|
1446
1446
|
dates: {
|
|
1447
1447
|
handler(e) {
|
|
1448
|
-
this.currentDate =
|
|
1448
|
+
this.currentDate = pe(this.dateSelector.selectedDate);
|
|
1449
1449
|
},
|
|
1450
1450
|
immediate: !0
|
|
1451
1451
|
},
|
|
@@ -1454,14 +1454,14 @@ const Rt = Q({
|
|
|
1454
1454
|
}
|
|
1455
1455
|
},
|
|
1456
1456
|
methods: {}
|
|
1457
|
-
}),
|
|
1457
|
+
}), Zt = { class: "sunsim-bar-wrapper" }, Kt = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, ei = {
|
|
1458
1458
|
key: 1,
|
|
1459
1459
|
class: "text-center text-body-1"
|
|
1460
|
-
},
|
|
1461
|
-
function
|
|
1460
|
+
}, ti = { class: "sunsim-wrapper d-flex align-center px-3" }, ii = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" };
|
|
1461
|
+
function ni(e, t, i, r, n, s) {
|
|
1462
1462
|
const a = u("v-icon"), d = u("v-select"), p = u("v-progress-linear"), v = u("v-slider");
|
|
1463
|
-
return l(), m("div",
|
|
1464
|
-
o("div",
|
|
1463
|
+
return l(), m("div", Zt, [
|
|
1464
|
+
o("div", Kt, [
|
|
1465
1465
|
c(a, {
|
|
1466
1466
|
color: "black",
|
|
1467
1467
|
class: "mr-2",
|
|
@@ -1476,10 +1476,10 @@ function jt(e, t, i, r, n, s) {
|
|
|
1476
1476
|
variant: "underlined",
|
|
1477
1477
|
"hide-details": "",
|
|
1478
1478
|
class: "day-selector"
|
|
1479
|
-
}, null, 8, ["modelValue", "items"])) : (l(), m("span",
|
|
1479
|
+
}, null, 8, ["modelValue", "items"])) : (l(), m("span", ei, C(e.selectedDate), 1))
|
|
1480
1480
|
]),
|
|
1481
|
-
o("div",
|
|
1482
|
-
o("span",
|
|
1481
|
+
o("div", ti, [
|
|
1482
|
+
o("span", ii, C(e.currentValueString), 1),
|
|
1483
1483
|
c(a, {
|
|
1484
1484
|
medium: "",
|
|
1485
1485
|
class: "ml-2 mr-2 icon"
|
|
@@ -1514,7 +1514,7 @@ function jt(e, t, i, r, n, s) {
|
|
|
1514
1514
|
])
|
|
1515
1515
|
]);
|
|
1516
1516
|
}
|
|
1517
|
-
const
|
|
1517
|
+
const re = /* @__PURE__ */ k(Xt, [["render", ni], ["__scopeId", "data-v-1fba3edd"]]), si = ne({
|
|
1518
1518
|
setup() {
|
|
1519
1519
|
},
|
|
1520
1520
|
name: "QiBuildingChooserSceneImageStack",
|
|
@@ -1527,7 +1527,7 @@ const ue = /* @__PURE__ */ C(Rt, [["render", jt], ["__scopeId", "data-v-1fba3edd
|
|
|
1527
1527
|
return {
|
|
1528
1528
|
state: "init",
|
|
1529
1529
|
activeStates: ["preloaded", "loaded"],
|
|
1530
|
-
loadTracker: new
|
|
1530
|
+
loadTracker: new ee(0)
|
|
1531
1531
|
};
|
|
1532
1532
|
},
|
|
1533
1533
|
watch: {
|
|
@@ -1548,15 +1548,15 @@ const ue = /* @__PURE__ */ C(Rt, [["render", jt], ["__scopeId", "data-v-1fba3edd
|
|
|
1548
1548
|
this.state = "preloaded", this.$emit("preloaded");
|
|
1549
1549
|
},
|
|
1550
1550
|
loadImages(e) {
|
|
1551
|
-
this.state = "init", this.$refs.baseImage.src = e[0], this.loadTracker = new
|
|
1551
|
+
this.state = "init", this.$refs.baseImage.src = e[0], this.loadTracker = new ee(e.length).onLoadFinished(
|
|
1552
1552
|
() => {
|
|
1553
1553
|
this.state = "loaded", this.$emit("ready");
|
|
1554
1554
|
}
|
|
1555
1555
|
);
|
|
1556
1556
|
}
|
|
1557
1557
|
}
|
|
1558
|
-
}),
|
|
1559
|
-
function
|
|
1558
|
+
}), oi = { key: 0 }, ri = ["src"];
|
|
1559
|
+
function ai(e, t, i, r, n, s) {
|
|
1560
1560
|
return l(), m("div", null, [
|
|
1561
1561
|
o("img", {
|
|
1562
1562
|
ref: "baseImage",
|
|
@@ -1564,29 +1564,29 @@ function Yt(e, t, i, r, n, s) {
|
|
|
1564
1564
|
style: { opacity: 1, borderRadius: 50 },
|
|
1565
1565
|
onLoad: t[0] || (t[0] = (...a) => e.onPreloaded && e.onPreloaded(...a))
|
|
1566
1566
|
}, null, 544),
|
|
1567
|
-
e.state === "preloaded" || e.state === "loaded" ?
|
|
1568
|
-
(l(!0), m(R, null,
|
|
1567
|
+
e.state === "preloaded" || e.state === "loaded" ? x((l(), m("div", oi, [
|
|
1568
|
+
(l(!0), m(R, null, O(e.imageUrls, (a, d) => (l(), m("img", {
|
|
1569
1569
|
key: d,
|
|
1570
|
-
class:
|
|
1570
|
+
class: F({ "image-instance": !0, active: d === e.activeIndex }),
|
|
1571
1571
|
src: a,
|
|
1572
1572
|
onLoad: t[1] || (t[1] = (p) => e.loadTracker.partLoaded())
|
|
1573
|
-
}, null, 42,
|
|
1573
|
+
}, null, 42, ri))), 128)),
|
|
1574
1574
|
L(" Here ")
|
|
1575
1575
|
], 512)), [
|
|
1576
|
-
[
|
|
1576
|
+
[B, e.state === "loaded"]
|
|
1577
1577
|
]) : f("", !0)
|
|
1578
1578
|
]);
|
|
1579
1579
|
}
|
|
1580
|
-
const
|
|
1581
|
-
class
|
|
1580
|
+
const ae = /* @__PURE__ */ k(si, [["render", ai], ["__scopeId", "data-v-fad48118"]]), li = "buildingChooser.json", di = 180;
|
|
1581
|
+
class ke {
|
|
1582
1582
|
constructor(t) {
|
|
1583
|
-
this._cdnFileResolver = t, this._resourceLoader = new
|
|
1583
|
+
this._cdnFileResolver = t, this._resourceLoader = new V();
|
|
1584
1584
|
}
|
|
1585
1585
|
constructFileUrl(t) {
|
|
1586
1586
|
return this._cdnFileResolver ? this._cdnFileResolver(`/${t}`) : null;
|
|
1587
1587
|
}
|
|
1588
1588
|
loadConfigFile() {
|
|
1589
|
-
const t = this.constructFileUrl(
|
|
1589
|
+
const t = this.constructFileUrl(li);
|
|
1590
1590
|
return t ? this._resourceLoader.loadJson(t) : null;
|
|
1591
1591
|
}
|
|
1592
1592
|
loadBuildingMapImage(t) {
|
|
@@ -1605,7 +1605,7 @@ class Me {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
getBackgroundImageData(t) {
|
|
1607
1607
|
return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
|
|
1608
|
-
|
|
1608
|
+
di,
|
|
1609
1609
|
t.timeSamples
|
|
1610
1610
|
)];
|
|
1611
1611
|
}
|
|
@@ -1648,9 +1648,9 @@ class Me {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
|
-
class
|
|
1651
|
+
class q {
|
|
1652
1652
|
static empty() {
|
|
1653
|
-
return new
|
|
1653
|
+
return new q([]);
|
|
1654
1654
|
}
|
|
1655
1655
|
constructor(t) {
|
|
1656
1656
|
this._buildingIds = t;
|
|
@@ -1666,9 +1666,9 @@ class z {
|
|
|
1666
1666
|
return n;
|
|
1667
1667
|
}
|
|
1668
1668
|
}
|
|
1669
|
-
class
|
|
1669
|
+
class P {
|
|
1670
1670
|
static empty() {
|
|
1671
|
-
return new
|
|
1671
|
+
return new P(null);
|
|
1672
1672
|
}
|
|
1673
1673
|
constructor(t) {
|
|
1674
1674
|
this._mapImage = t, this._context = null;
|
|
@@ -1684,10 +1684,10 @@ class Y {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
|
-
const
|
|
1688
|
-
class
|
|
1687
|
+
const ci = /* @__PURE__ */ new Date(0);
|
|
1688
|
+
class G {
|
|
1689
1689
|
static empty() {
|
|
1690
|
-
return new
|
|
1690
|
+
return new G([{ referenceDate: ci, urls: [] }]);
|
|
1691
1691
|
}
|
|
1692
1692
|
constructor(t) {
|
|
1693
1693
|
this._imagesByDay = t, this._state = { selectedIndex: 0 };
|
|
@@ -1711,23 +1711,23 @@ class Z {
|
|
|
1711
1711
|
return this._imagesByDay[this.selectedIndex].urls;
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1714
|
+
const ui = ne({
|
|
1715
1715
|
setup() {
|
|
1716
|
-
|
|
1716
|
+
Ne({});
|
|
1717
1717
|
},
|
|
1718
1718
|
name: "QiBuildingChooserSvg",
|
|
1719
1719
|
components: {
|
|
1720
|
-
QiBuildingChooserSunSimControl:
|
|
1721
|
-
QiBuildingChooserSceneImageStack:
|
|
1722
|
-
QiNorthDirection:
|
|
1723
|
-
QiFloatingCard:
|
|
1724
|
-
QiHoverProbe:
|
|
1725
|
-
QiZoomBox:
|
|
1720
|
+
QiBuildingChooserSunSimControl: re,
|
|
1721
|
+
QiBuildingChooserSceneImageStack: ae,
|
|
1722
|
+
QiNorthDirection: J,
|
|
1723
|
+
QiFloatingCard: Q,
|
|
1724
|
+
QiHoverProbe: H,
|
|
1725
|
+
QiZoomBox: W
|
|
1726
1726
|
},
|
|
1727
1727
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
1728
1728
|
provide() {
|
|
1729
1729
|
return {
|
|
1730
|
-
i18n: this.i18n ? new
|
|
1730
|
+
i18n: this.i18n ? new E(this.i18n.labels, this.i18n.language) : new E()
|
|
1731
1731
|
};
|
|
1732
1732
|
},
|
|
1733
1733
|
props: {
|
|
@@ -1754,7 +1754,7 @@ const Gt = Q({
|
|
|
1754
1754
|
hoverBuildingId: void 0,
|
|
1755
1755
|
halfHourMark: (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1),
|
|
1756
1756
|
error: !1,
|
|
1757
|
-
resourceLoader: new
|
|
1757
|
+
resourceLoader: new V(),
|
|
1758
1758
|
svgObjects: void 0,
|
|
1759
1759
|
svgViewBox: "0 0 0 0"
|
|
1760
1760
|
};
|
|
@@ -1784,11 +1784,11 @@ const Gt = Q({
|
|
|
1784
1784
|
}
|
|
1785
1785
|
},
|
|
1786
1786
|
async mounted() {
|
|
1787
|
-
const t = await new
|
|
1787
|
+
const t = await new ke(
|
|
1788
1788
|
this.cdnFileResolver
|
|
1789
1789
|
).loadBuildingChooser();
|
|
1790
1790
|
if (t) {
|
|
1791
|
-
this.canvasRaster = new
|
|
1791
|
+
this.canvasRaster = new P(t.mapImage), this.buildingMap = new q(t.buildingIds), this.daysOfYear = new G(t.backgrounds), this.pickerData = {
|
|
1792
1792
|
buildingOverlays: t.buildingOverlays,
|
|
1793
1793
|
sceneLongitude: t.viewLongitude
|
|
1794
1794
|
};
|
|
@@ -1881,14 +1881,14 @@ const Gt = Q({
|
|
|
1881
1881
|
this.hoverBuildingId = e, this.isHoverable && this.hoverBuilding && this.canGoToBuildingCallback(this.hoverBuilding) && this.$emit("go-to-building", this.hoverBuilding);
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
|
-
}),
|
|
1884
|
+
}), hi = {
|
|
1885
1885
|
key: 0,
|
|
1886
1886
|
style: { height: "50vh" },
|
|
1887
1887
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
1888
|
-
},
|
|
1889
|
-
function
|
|
1888
|
+
}, mi = { class: "image-instances" }, pi = { key: 0 }, gi = { class: "svg-container" }, vi = ["viewBox"], fi = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], bi = ["innerHTML"];
|
|
1889
|
+
function yi(e, t, i, r, n, s) {
|
|
1890
1890
|
const a = u("v-icon"), d = u("qi-building-chooser-scene-image-stack"), p = u("qi-zoom-box"), v = u("qi-north-direction"), w = u("qi-building-chooser-sun-sim-control"), S = u("qi-floating-card"), g = u("qi-hover-probe");
|
|
1891
|
-
return e.error ? (l(), m("div",
|
|
1891
|
+
return e.error ? (l(), m("div", hi, [
|
|
1892
1892
|
c(a, { "x-large": "" }, {
|
|
1893
1893
|
default: h(() => [
|
|
1894
1894
|
L("mdi-alert-circle-outline")
|
|
@@ -1905,7 +1905,7 @@ function si(e, t, i, r, n, s) {
|
|
|
1905
1905
|
mobile: e.interactiveMobile
|
|
1906
1906
|
}, {
|
|
1907
1907
|
default: h(() => [
|
|
1908
|
-
o("div",
|
|
1908
|
+
o("div", mi, [
|
|
1909
1909
|
c(d, {
|
|
1910
1910
|
"image-urls": e.daysOfYear.imageUrls,
|
|
1911
1911
|
"active-index": e.halfHourMark,
|
|
@@ -1914,36 +1914,36 @@ function si(e, t, i, r, n, s) {
|
|
|
1914
1914
|
onReady: t[1] || (t[1] = (b) => e.sceneState.ready = !0),
|
|
1915
1915
|
onReset: e.sceneReset
|
|
1916
1916
|
}, null, 8, ["image-urls", "active-index", "onResize", "onReset"]),
|
|
1917
|
-
e.svgObjects ?
|
|
1918
|
-
o("div",
|
|
1917
|
+
e.svgObjects ? x((l(), m("div", pi, [
|
|
1918
|
+
o("div", gi, [
|
|
1919
1919
|
(l(), m("svg", { viewBox: e.svgViewBox }, [
|
|
1920
|
-
(l(!0), m(R, null,
|
|
1920
|
+
(l(!0), m(R, null, O(e.svgObjects, ({ id: b, svg: _ }, A) => (l(), m("g", {
|
|
1921
1921
|
key: A,
|
|
1922
|
-
innerHTML:
|
|
1922
|
+
innerHTML: _,
|
|
1923
1923
|
"data-building-id": b,
|
|
1924
|
-
class:
|
|
1924
|
+
class: F(e.getGClass(b)),
|
|
1925
1925
|
style: M(e.getGStyle(b)),
|
|
1926
1926
|
onMouseover: (U) => e.onBuildingMouseOver(U, b),
|
|
1927
1927
|
onMouseout: (U) => e.onBuildingMouseOut(U, b),
|
|
1928
1928
|
onMousemove: (U) => e.onBuildingMouseMove(U, b),
|
|
1929
1929
|
onClick: (U) => e.onBuildingClick(b)
|
|
1930
|
-
}, null, 46,
|
|
1931
|
-
], 8,
|
|
1930
|
+
}, null, 46, fi))), 128))
|
|
1931
|
+
], 8, vi))
|
|
1932
1932
|
])
|
|
1933
1933
|
], 512)), [
|
|
1934
|
-
[
|
|
1934
|
+
[B, e.sceneState.preloaded]
|
|
1935
1935
|
]) : f("", !0),
|
|
1936
|
-
|
|
1936
|
+
x(o("div", {
|
|
1937
1937
|
class: "custom-overlay-layer",
|
|
1938
1938
|
innerHTML: e.customOverlayContent
|
|
1939
|
-
}, null, 8,
|
|
1940
|
-
[
|
|
1939
|
+
}, null, 8, bi), [
|
|
1940
|
+
[B, e.sceneState.preloaded]
|
|
1941
1941
|
])
|
|
1942
1942
|
])
|
|
1943
1943
|
]),
|
|
1944
1944
|
_: 1
|
|
1945
1945
|
}, 8, ["desktop", "mobile"]),
|
|
1946
|
-
|
|
1946
|
+
x(o("div", null, [
|
|
1947
1947
|
e.pickerData.sceneLongitude ? (l(), y(v, {
|
|
1948
1948
|
key: 0,
|
|
1949
1949
|
class: "north-indicator",
|
|
@@ -1956,7 +1956,7 @@ function si(e, t, i, r, n, s) {
|
|
|
1956
1956
|
"is-loading": !e.sceneState.ready
|
|
1957
1957
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
1958
1958
|
], 512), [
|
|
1959
|
-
[
|
|
1959
|
+
[B, e.sceneState.preloaded]
|
|
1960
1960
|
]),
|
|
1961
1961
|
e.showCards && e.hoverBuilding ? (l(), y(S, {
|
|
1962
1962
|
key: 0,
|
|
@@ -1965,7 +1965,7 @@ function si(e, t, i, r, n, s) {
|
|
|
1965
1965
|
onOutside: t[3] || (t[3] = () => e.hoverBuildingId = void 0)
|
|
1966
1966
|
}, {
|
|
1967
1967
|
default: h(() => [
|
|
1968
|
-
|
|
1968
|
+
I(e.$slots, "default", {
|
|
1969
1969
|
building: e.hoverBuilding,
|
|
1970
1970
|
canGoToBuilding: e.canGoToBuildingCallback(e.hoverBuilding),
|
|
1971
1971
|
goToBuilding: () => e.canGoToBuildingCallback(e.hoverBuilding) && e.$emit("go-to-building", e.hoverBuilding),
|
|
@@ -1979,7 +1979,7 @@ function si(e, t, i, r, n, s) {
|
|
|
1979
1979
|
c(g, { ref: "hoverProbe" }, null, 512)
|
|
1980
1980
|
], 4)) : f("", !0);
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const te = /* @__PURE__ */ k(ui, [["render", yi], ["__scopeId", "data-v-0a2cec1f"]]), wi = {
|
|
1983
1983
|
name: "QiBuildingChooserRasterOverlay",
|
|
1984
1984
|
props: {
|
|
1985
1985
|
imageUrl: { type: String, required: !0 },
|
|
@@ -1993,7 +1993,7 @@ const oe = /* @__PURE__ */ C(Gt, [["render", si], ["__scopeId", "data-v-0a2cec1f
|
|
|
1993
1993
|
return {
|
|
1994
1994
|
isLoaded: !1,
|
|
1995
1995
|
overlayImage: void 0,
|
|
1996
|
-
resourceLoader: new
|
|
1996
|
+
resourceLoader: new V(),
|
|
1997
1997
|
context: void 0,
|
|
1998
1998
|
imageData: void 0,
|
|
1999
1999
|
imageDataIndices: []
|
|
@@ -2031,30 +2031,30 @@ const oe = /* @__PURE__ */ C(Gt, [["render", si], ["__scopeId", "data-v-0a2cec1f
|
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
};
|
|
2034
|
-
function
|
|
2034
|
+
function ki(e, t, i, r, n, s) {
|
|
2035
2035
|
return l(), m("canvas", D({
|
|
2036
2036
|
ref: "canvas",
|
|
2037
2037
|
class: "overlay"
|
|
2038
2038
|
}, i.dimensions), null, 16);
|
|
2039
2039
|
}
|
|
2040
|
-
const
|
|
2040
|
+
const _e = /* @__PURE__ */ k(wi, [["render", ki], ["__scopeId", "data-v-9a90fa2f"]]), _i = ne({
|
|
2041
2041
|
setup() {
|
|
2042
|
-
|
|
2042
|
+
Ne({});
|
|
2043
2043
|
},
|
|
2044
2044
|
name: "QiBuildingChooserRaster",
|
|
2045
2045
|
components: {
|
|
2046
|
-
QiBuildingChooserRasterOverlay:
|
|
2047
|
-
QiBuildingChooserSunSimControl:
|
|
2048
|
-
QiBuildingChooserSceneImageStack:
|
|
2049
|
-
QiNorthDirection:
|
|
2050
|
-
QiFloatingCard:
|
|
2051
|
-
QiHoverProbe:
|
|
2052
|
-
QiZoomBox:
|
|
2046
|
+
QiBuildingChooserRasterOverlay: _e,
|
|
2047
|
+
QiBuildingChooserSunSimControl: re,
|
|
2048
|
+
QiBuildingChooserSceneImageStack: ae,
|
|
2049
|
+
QiNorthDirection: J,
|
|
2050
|
+
QiFloatingCard: Q,
|
|
2051
|
+
QiHoverProbe: H,
|
|
2052
|
+
QiZoomBox: W
|
|
2053
2053
|
},
|
|
2054
2054
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
2055
2055
|
provide() {
|
|
2056
2056
|
return {
|
|
2057
|
-
i18n: this.i18n ? new
|
|
2057
|
+
i18n: this.i18n ? new E(this.i18n.labels, this.i18n.language) : new E()
|
|
2058
2058
|
};
|
|
2059
2059
|
},
|
|
2060
2060
|
props: {
|
|
@@ -2078,8 +2078,8 @@ const Be = /* @__PURE__ */ C(oi, [["render", ri], ["__scopeId", "data-v-9a90fa2f
|
|
|
2078
2078
|
canvasDimensions: { width: 0, height: 0 },
|
|
2079
2079
|
pos: { x: 0, y: 0, width: 0, height: 0 },
|
|
2080
2080
|
pickerData: void 0,
|
|
2081
|
-
buildingMap:
|
|
2082
|
-
canvasRaster:
|
|
2081
|
+
buildingMap: q.empty(),
|
|
2082
|
+
canvasRaster: P.empty(),
|
|
2083
2083
|
selectedBuildingId: void 0,
|
|
2084
2084
|
halfHourMark: (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1),
|
|
2085
2085
|
viewResolver: (e, t) => ({ x: e, y: t }),
|
|
@@ -2111,10 +2111,10 @@ const Be = /* @__PURE__ */ C(oi, [["render", ri], ["__scopeId", "data-v-9a90fa2f
|
|
|
2111
2111
|
}
|
|
2112
2112
|
},
|
|
2113
2113
|
async mounted() {
|
|
2114
|
-
const t = await new
|
|
2114
|
+
const t = await new ke(
|
|
2115
2115
|
this.cdnFileResolver
|
|
2116
2116
|
).loadBuildingChooser();
|
|
2117
|
-
t ? (this.canvasRaster = new
|
|
2117
|
+
t ? (this.canvasRaster = new P(t.mapImage), this.buildingMap = new q(t.buildingIds), this.daysOfYear = new G(t.backgrounds), this.pickerData = {
|
|
2118
2118
|
buildingOverlays: t.buildingOverlays,
|
|
2119
2119
|
sceneLongitude: t.viewLongitude
|
|
2120
2120
|
}, this.resizeImages()) : this.error = !0;
|
|
@@ -2159,14 +2159,14 @@ const Be = /* @__PURE__ */ C(oi, [["render", ri], ["__scopeId", "data-v-9a90fa2f
|
|
|
2159
2159
|
this.viewResolver = e;
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
|
-
}),
|
|
2162
|
+
}), Ci = {
|
|
2163
2163
|
key: 0,
|
|
2164
2164
|
style: { height: "50vh" },
|
|
2165
2165
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2166
|
-
},
|
|
2167
|
-
function
|
|
2166
|
+
}, Ii = { class: "image-instances" }, Si = ["innerHTML"];
|
|
2167
|
+
function Ai(e, t, i, r, n, s) {
|
|
2168
2168
|
const a = u("v-icon"), d = u("qi-building-chooser-scene-image-stack"), p = u("qi-building-chooser-raster-overlay"), v = u("qi-zoom-box"), w = u("qi-north-direction"), S = u("qi-building-chooser-sun-sim-control"), g = u("qi-floating-card"), b = u("qi-hover-probe");
|
|
2169
|
-
return e.error ? (l(), m("div",
|
|
2169
|
+
return e.error ? (l(), m("div", Ci, [
|
|
2170
2170
|
c(a, { "x-large": "" }, {
|
|
2171
2171
|
default: h(() => [
|
|
2172
2172
|
L("mdi-alert-circle-outline")
|
|
@@ -2184,44 +2184,44 @@ function ui(e, t, i, r, n, s) {
|
|
|
2184
2184
|
onUpdate: e.updateView
|
|
2185
2185
|
}, {
|
|
2186
2186
|
default: h(() => [
|
|
2187
|
-
o("div",
|
|
2187
|
+
o("div", Ii, [
|
|
2188
2188
|
c(d, {
|
|
2189
2189
|
"image-urls": e.daysOfYear.imageUrls,
|
|
2190
2190
|
"active-index": e.halfHourMark,
|
|
2191
2191
|
onResize: e.resizeScene,
|
|
2192
|
-
onPreloaded: t[0] || (t[0] = (
|
|
2193
|
-
onReady: t[1] || (t[1] = (
|
|
2192
|
+
onPreloaded: t[0] || (t[0] = (_) => e.sceneState.preloaded = !0),
|
|
2193
|
+
onReady: t[1] || (t[1] = (_) => e.sceneState.ready = !0),
|
|
2194
2194
|
onReset: e.sceneReset
|
|
2195
2195
|
}, null, 8, ["image-urls", "active-index", "onResize", "onReset"]),
|
|
2196
|
-
|
|
2197
|
-
(l(!0), m(R, null,
|
|
2196
|
+
x(o("div", null, [
|
|
2197
|
+
(l(!0), m(R, null, O(e.pickerData.buildingOverlays, (_) => (l(), y(p, {
|
|
2198
2198
|
ref_for: !0,
|
|
2199
2199
|
ref: "overlays",
|
|
2200
|
-
key:
|
|
2201
|
-
"image-url":
|
|
2200
|
+
key: _.id,
|
|
2201
|
+
"image-url": _.url,
|
|
2202
2202
|
dimensions: e.canvasDimensions,
|
|
2203
|
-
color: e.getColor(
|
|
2203
|
+
color: e.getColor(_.id)
|
|
2204
2204
|
}, null, 8, ["image-url", "dimensions", "color"]))), 128))
|
|
2205
2205
|
], 512), [
|
|
2206
|
-
[
|
|
2206
|
+
[B, e.sceneState.preloaded]
|
|
2207
2207
|
])
|
|
2208
2208
|
]),
|
|
2209
2209
|
o("canvas", D(e.canvasDimensions, {
|
|
2210
2210
|
ref: "canvas",
|
|
2211
2211
|
class: { hover: !!e.selectedBuildingId },
|
|
2212
|
-
onClick: t[2] || (t[2] = (...
|
|
2213
|
-
onMousemove: t[3] || (t[3] = (...
|
|
2212
|
+
onClick: t[2] || (t[2] = (..._) => e.onClick && e.onClick(..._)),
|
|
2213
|
+
onMousemove: t[3] || (t[3] = (..._) => e.onMove && e.onMove(..._))
|
|
2214
2214
|
}), null, 16),
|
|
2215
|
-
|
|
2215
|
+
x(o("div", {
|
|
2216
2216
|
class: "custom-overlay-layer",
|
|
2217
2217
|
innerHTML: e.customOverlayContent
|
|
2218
|
-
}, null, 8,
|
|
2219
|
-
[
|
|
2218
|
+
}, null, 8, Si), [
|
|
2219
|
+
[B, e.sceneState.preloaded]
|
|
2220
2220
|
])
|
|
2221
2221
|
]),
|
|
2222
2222
|
_: 1
|
|
2223
2223
|
}, 8, ["desktop", "mobile", "onUpdate"]),
|
|
2224
|
-
|
|
2224
|
+
x(o("div", null, [
|
|
2225
2225
|
e.pickerData.sceneLongitude ? (l(), y(w, {
|
|
2226
2226
|
key: 0,
|
|
2227
2227
|
class: "north-indicator",
|
|
@@ -2229,12 +2229,12 @@ function ui(e, t, i, r, n, s) {
|
|
|
2229
2229
|
}, null, 8, ["longitude"])) : f("", !0),
|
|
2230
2230
|
c(S, {
|
|
2231
2231
|
modelValue: e.halfHourMark,
|
|
2232
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
2232
|
+
"onUpdate:modelValue": t[4] || (t[4] = (_) => e.halfHourMark = _),
|
|
2233
2233
|
"date-selector": e.daysOfYear,
|
|
2234
2234
|
"is-loading": !e.sceneState.ready
|
|
2235
2235
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
2236
2236
|
], 512), [
|
|
2237
|
-
[
|
|
2237
|
+
[B, e.sceneState.preloaded]
|
|
2238
2238
|
]),
|
|
2239
2239
|
e.showCards && e.selectedBuilding ? (l(), y(g, {
|
|
2240
2240
|
key: 0,
|
|
@@ -2243,7 +2243,7 @@ function ui(e, t, i, r, n, s) {
|
|
|
2243
2243
|
onOutside: t[5] || (t[5] = () => e.selectedBuildingId = void 0)
|
|
2244
2244
|
}, {
|
|
2245
2245
|
default: h(() => [
|
|
2246
|
-
|
|
2246
|
+
I(e.$slots, "default", {
|
|
2247
2247
|
building: e.selectedBuilding,
|
|
2248
2248
|
canGoToBuilding: e.canGoToBuildingCallback(e.selectedBuilding),
|
|
2249
2249
|
goToBuilding: () => e.canGoToBuildingCallback(e.selectedBuilding) && e.$emit("go-to-building", e.selectedBuilding),
|
|
@@ -2257,11 +2257,11 @@ function ui(e, t, i, r, n, s) {
|
|
|
2257
2257
|
c(b, { ref: "hoverProbe" }, null, 512)
|
|
2258
2258
|
], 4)) : f("", !0);
|
|
2259
2259
|
}
|
|
2260
|
-
const
|
|
2260
|
+
const ie = /* @__PURE__ */ k(_i, [["render", Ai], ["__scopeId", "data-v-08f2ea1e"]]), Li = {
|
|
2261
2261
|
name: "QiBuildingChooser",
|
|
2262
2262
|
components: {
|
|
2263
|
-
QiBuildingChooserSvg:
|
|
2264
|
-
QiBuildingChooserRaster:
|
|
2263
|
+
QiBuildingChooserSvg: te,
|
|
2264
|
+
QiBuildingChooserRaster: ie
|
|
2265
2265
|
},
|
|
2266
2266
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
2267
2267
|
props: {
|
|
@@ -2282,12 +2282,12 @@ const re = /* @__PURE__ */ C(ai, [["render", ui], ["__scopeId", "data-v-08f2ea1e
|
|
|
2282
2282
|
},
|
|
2283
2283
|
computed: {
|
|
2284
2284
|
component() {
|
|
2285
|
-
return this.useSvg ?
|
|
2285
|
+
return this.useSvg ? te : ie;
|
|
2286
2286
|
}
|
|
2287
2287
|
}
|
|
2288
2288
|
};
|
|
2289
|
-
function
|
|
2290
|
-
return l(), y(
|
|
2289
|
+
function Mi(e, t, i, r, n, s) {
|
|
2290
|
+
return l(), y(Te(s.component), {
|
|
2291
2291
|
"show-cards": i.showCards,
|
|
2292
2292
|
"color-callback": i.colorCallback,
|
|
2293
2293
|
"building-callback": i.buildingCallback,
|
|
@@ -2301,16 +2301,231 @@ function mi(e, t, i, r, n, s) {
|
|
|
2301
2301
|
onGoToBuilding: t[0] || (t[0] = (a) => e.$emit("go-to-building", a)),
|
|
2302
2302
|
onHoverOverBuilding: t[1] || (t[1] = (a) => e.$emit("hover-over-building", a)),
|
|
2303
2303
|
onHoverOutBuilding: t[2] || (t[2] = (a) => e.$emit("hover-out-building", a))
|
|
2304
|
-
},
|
|
2305
|
-
|
|
2304
|
+
}, nt({ _: 2 }, [
|
|
2305
|
+
O(Object.keys(e.$slots), (a) => ({
|
|
2306
2306
|
name: a,
|
|
2307
2307
|
fn: h((d) => [
|
|
2308
|
-
|
|
2308
|
+
I(e.$slots, a, Ve(He(d)))
|
|
2309
2309
|
])
|
|
2310
2310
|
}))
|
|
2311
2311
|
]), 1064, ["show-cards", "color-callback", "building-callback", "cdn-file-resolver", "i18n", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content"]);
|
|
2312
2312
|
}
|
|
2313
|
-
const
|
|
2313
|
+
const Qe = /* @__PURE__ */ k(Li, [["render", Mi]]), xi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x5Z58B6EJzZBWDogYUAowSg3kDKOxDVOjiiH55hTTvAOmFPkiXIyHALikAsQc4g4Yl9BigcJbhF2hMQmAcMiEKsdYUFwIJP6d1dNatrdPbV09/TM9E+qTHs8xNP972+p6qqviHKaig5qYiqVisNeRHuftaUhH51h7XfWyjju6OiYoialKQRjwkCIHax9zFqBHztkB0Qr89cLeGVCzlDGyaxgTKQCeeJ8yl/ToESegONMvBJlkEwJxkXqZ22Awt1bWpTJE/BYM7vQ2IG7Y20/axOV7DLJ2v8oAzTMwipeXDrA2n5qvDWpUmbtNGujzOrK1A5UPIsqsjZdiYHXY2OVZx995LbZkZF5v58ZHKz+/g/22Zi4U/HOIfUb7T1KEXaCsKg7rA1TAlb1x88/05+//kop4JB3Dqm7ylQEYye1g7UJdvgDJez+Zr/9liovX1JKOKyNcotzKAUSFwyug71MUkqp+V8PH9KrH3+klHFYu8PPNVESEwx3HLeqYUoZuMa5iQlqAMNJW1sigrEv/AWlaFWCrp4e6li82D1O2TXKOKxN8GsQO7ELxt3CWWpAqg6xFn3zjfc9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xWure3t31RRFXBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", Fi = {
|
|
2314
|
+
name: "Compass",
|
|
2315
|
+
props: { rotation: { type: Number, required: !0 } },
|
|
2316
|
+
data() {
|
|
2317
|
+
return {
|
|
2318
|
+
needle: Bi,
|
|
2319
|
+
compassBackground: {
|
|
2320
|
+
backgroundImage: `url(${xi})`,
|
|
2321
|
+
backgroundSize: "contain"
|
|
2322
|
+
}
|
|
2323
|
+
};
|
|
2324
|
+
},
|
|
2325
|
+
computed: {
|
|
2326
|
+
needleRotation() {
|
|
2327
|
+
return {
|
|
2328
|
+
transform: `rotate(${-this.rotation + 180}deg)`
|
|
2329
|
+
};
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
};
|
|
2333
|
+
function Ei(e, t, i, r, n, s) {
|
|
2334
|
+
const a = u("v-img");
|
|
2335
|
+
return l(), m("div", {
|
|
2336
|
+
style: M(n.compassBackground)
|
|
2337
|
+
}, [
|
|
2338
|
+
c(a, {
|
|
2339
|
+
class: "compass-needle",
|
|
2340
|
+
src: n.needle,
|
|
2341
|
+
style: M(s.needleRotation)
|
|
2342
|
+
}, null, 8, ["src", "style"])
|
|
2343
|
+
], 4);
|
|
2344
|
+
}
|
|
2345
|
+
const Ce = /* @__PURE__ */ k(Fi, [["render", Ei]]), Di = {
|
|
2346
|
+
name: "Disclaimer",
|
|
2347
|
+
inject: ["i18n"],
|
|
2348
|
+
data() {
|
|
2349
|
+
return {
|
|
2350
|
+
isVisible: !0
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2353
|
+
}, Oi = {
|
|
2354
|
+
key: 0,
|
|
2355
|
+
class: "text-white disclaimer caption"
|
|
2356
|
+
};
|
|
2357
|
+
function Ui(e, t, i, r, n, s) {
|
|
2358
|
+
return l(), y(j, { name: "fade-transition" }, {
|
|
2359
|
+
default: h(() => [
|
|
2360
|
+
n.isVisible ? (l(), m("div", Oi, [
|
|
2361
|
+
L(C(s.i18n.getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
|
|
2362
|
+
o("span", {
|
|
2363
|
+
onClick: t[0] || (t[0] = (a) => n.isVisible = !1),
|
|
2364
|
+
class: "link-text text-decoration-underline"
|
|
2365
|
+
}, C(s.i18n.getLabel("i-understand")), 1)
|
|
2366
|
+
])) : f("", !0)
|
|
2367
|
+
]),
|
|
2368
|
+
_: 1
|
|
2369
|
+
});
|
|
2370
|
+
}
|
|
2371
|
+
const le = /* @__PURE__ */ k(Di, [["render", Ui], ["__scopeId", "data-v-6e4f02d6"]]), Ri = {
|
|
2372
|
+
name: "FloorLevel",
|
|
2373
|
+
inject: ["i18n"],
|
|
2374
|
+
props: {
|
|
2375
|
+
level: { type: Number, default: 0 },
|
|
2376
|
+
floorLevels: { type: Array, default: [] }
|
|
2377
|
+
},
|
|
2378
|
+
computed: {
|
|
2379
|
+
lowerOrUpper() {
|
|
2380
|
+
const e = this.floorLevels;
|
|
2381
|
+
return e.sort(), e.indexOf(this.level) + 1 <= e.length / 2 ? "Lower" : "Upper";
|
|
2382
|
+
},
|
|
2383
|
+
lowerActive() {
|
|
2384
|
+
return this.lowerOrUpper === "Lower";
|
|
2385
|
+
},
|
|
2386
|
+
upperActive() {
|
|
2387
|
+
return this.lowerOrUpper === "Upper";
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
}, Ti = {
|
|
2391
|
+
style: { width: "24px", height: "24px" },
|
|
2392
|
+
viewBox: "0 0 18 16",
|
|
2393
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2394
|
+
}, Vi = ["stroke"], Hi = ["stroke"], Ni = { class: "floor-level-label" };
|
|
2395
|
+
function ji(e, t, i, r, n, s) {
|
|
2396
|
+
const a = u("v-btn"), d = u("v-tooltip");
|
|
2397
|
+
return l(), y(d, {
|
|
2398
|
+
right: "",
|
|
2399
|
+
attach: ""
|
|
2400
|
+
}, {
|
|
2401
|
+
activator: h(({ on: p }) => [
|
|
2402
|
+
c(a, D({
|
|
2403
|
+
density: "comfortable",
|
|
2404
|
+
elevation: "1",
|
|
2405
|
+
icon: ""
|
|
2406
|
+
}, je({ ...p })), {
|
|
2407
|
+
default: h(() => [
|
|
2408
|
+
(l(), m("svg", Ti, [
|
|
2409
|
+
o("path", {
|
|
2410
|
+
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
2411
|
+
fill: "white",
|
|
2412
|
+
stroke: s.upperActive ? "black" : "#999999",
|
|
2413
|
+
"stroke-width": "1.5",
|
|
2414
|
+
"stroke-linejoin": "round"
|
|
2415
|
+
}, null, 8, Vi),
|
|
2416
|
+
o("path", {
|
|
2417
|
+
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
2418
|
+
fill: "white",
|
|
2419
|
+
stroke: s.lowerActive ? "black" : "#999999",
|
|
2420
|
+
"stroke-width": "1.5",
|
|
2421
|
+
"stroke-linejoin": "round"
|
|
2422
|
+
}, null, 8, Hi)
|
|
2423
|
+
]))
|
|
2424
|
+
]),
|
|
2425
|
+
_: 2
|
|
2426
|
+
}, 1040)
|
|
2427
|
+
]),
|
|
2428
|
+
default: h(() => [
|
|
2429
|
+
o("span", Ni, C(s.i18n.getLabel(s.lowerOrUpper)) + " " + C(s.i18n.getLabel("floor")), 1)
|
|
2430
|
+
]),
|
|
2431
|
+
_: 1
|
|
2432
|
+
});
|
|
2433
|
+
}
|
|
2434
|
+
const Ie = /* @__PURE__ */ k(Ri, [["render", ji], ["__scopeId", "data-v-56a279a7"]]), qi = {
|
|
2435
|
+
props: {
|
|
2436
|
+
isFullScreen: {
|
|
2437
|
+
type: Boolean,
|
|
2438
|
+
required: !0
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
emits: ["toggle-fullscreen"]
|
|
2442
|
+
}, Pi = {
|
|
2443
|
+
id: "btn-fullscreen",
|
|
2444
|
+
class: "btn-placeholder mr-2"
|
|
2445
|
+
};
|
|
2446
|
+
function $i(e, t, i, r, n, s) {
|
|
2447
|
+
const a = u("v-btn");
|
|
2448
|
+
return l(), m("div", Pi, [
|
|
2449
|
+
c(a, {
|
|
2450
|
+
density: "comfortable",
|
|
2451
|
+
elevation: "3",
|
|
2452
|
+
icon: i.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
2453
|
+
onClick: t[0] || (t[0] = (d) => e.$emit("toggle-fullscreen"))
|
|
2454
|
+
}, null, 8, ["icon"])
|
|
2455
|
+
]);
|
|
2456
|
+
}
|
|
2457
|
+
const de = /* @__PURE__ */ k(qi, [["render", $i]]), zi = {
|
|
2458
|
+
name: "InteriorSelector",
|
|
2459
|
+
emits: ["select-interior"],
|
|
2460
|
+
props: {
|
|
2461
|
+
availableArchetypes: { type: Array, required: !0 },
|
|
2462
|
+
selectedIndex: { type: Number, required: !0 }
|
|
2463
|
+
},
|
|
2464
|
+
inject: ["i18n", "localMode", "fileLoader"],
|
|
2465
|
+
methods: {
|
|
2466
|
+
getUrl(e) {
|
|
2467
|
+
let t = e;
|
|
2468
|
+
return this.localMode && (t = `${this.fileLoader.getURL(e)}`), t;
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
};
|
|
2472
|
+
function Yi(e, t, i, r, n, s) {
|
|
2473
|
+
const a = u("v-btn"), d = u("v-img"), p = u("v-list-item-title"), v = u("v-list-item"), w = u("v-list"), S = u("v-menu");
|
|
2474
|
+
return l(), m("div", null, [
|
|
2475
|
+
c(S, {
|
|
2476
|
+
transition: "slide-x-reverse-transition",
|
|
2477
|
+
location: "top end",
|
|
2478
|
+
origin: "end bottom",
|
|
2479
|
+
elevation: "0"
|
|
2480
|
+
}, {
|
|
2481
|
+
activator: h(({ props: g }) => [
|
|
2482
|
+
c(a, D({
|
|
2483
|
+
"prepend-icon": "mdi-palette-outline",
|
|
2484
|
+
rounded: ""
|
|
2485
|
+
}, g), {
|
|
2486
|
+
default: h(() => [
|
|
2487
|
+
L(C(s.i18n.getLabel("interior")), 1)
|
|
2488
|
+
]),
|
|
2489
|
+
_: 2
|
|
2490
|
+
}, 1040)
|
|
2491
|
+
]),
|
|
2492
|
+
default: h(() => [
|
|
2493
|
+
c(w, { class: "interior-selector-list" }, {
|
|
2494
|
+
default: h(() => [
|
|
2495
|
+
(l(!0), m(R, null, O(i.availableArchetypes, (g, b) => (l(), y(v, {
|
|
2496
|
+
density: "compact",
|
|
2497
|
+
key: `at-menuitem-${b}`,
|
|
2498
|
+
onClick: (_) => e.$emit("select-interior", g.archetypeID),
|
|
2499
|
+
active: b === i.selectedIndex,
|
|
2500
|
+
class: "interior-selector-list-item"
|
|
2501
|
+
}, {
|
|
2502
|
+
prepend: h(() => [
|
|
2503
|
+
c(d, {
|
|
2504
|
+
width: "100",
|
|
2505
|
+
"max-width": "100",
|
|
2506
|
+
height: "66",
|
|
2507
|
+
src: s.getUrl(g.url)
|
|
2508
|
+
}, null, 8, ["src"])
|
|
2509
|
+
]),
|
|
2510
|
+
default: h(() => [
|
|
2511
|
+
c(p, { class: "text-caption py-2 px-4" }, {
|
|
2512
|
+
default: h(() => [
|
|
2513
|
+
L(C(s.i18n.get(g.title)), 1)
|
|
2514
|
+
]),
|
|
2515
|
+
_: 2
|
|
2516
|
+
}, 1024)
|
|
2517
|
+
]),
|
|
2518
|
+
_: 2
|
|
2519
|
+
}, 1032, ["onClick", "active"]))), 128))
|
|
2520
|
+
]),
|
|
2521
|
+
_: 1
|
|
2522
|
+
})
|
|
2523
|
+
]),
|
|
2524
|
+
_: 1
|
|
2525
|
+
})
|
|
2526
|
+
]);
|
|
2527
|
+
}
|
|
2528
|
+
const Se = /* @__PURE__ */ k(zi, [["render", Yi], ["__scopeId", "data-v-fe12068f"]]), Qi = 37, Wi = 39, Ji = {
|
|
2314
2529
|
name: "WaypointCarousel",
|
|
2315
2530
|
props: {
|
|
2316
2531
|
thumbnails: { type: Array, required: !0 },
|
|
@@ -2345,9 +2560,9 @@ const pi = /* @__PURE__ */ C(hi, [["render", mi]]), gi = 37, vi = 39, fi = {
|
|
|
2345
2560
|
methods: {
|
|
2346
2561
|
keyNavigate(e) {
|
|
2347
2562
|
switch (e.keyCode) {
|
|
2348
|
-
case e.keyCode ===
|
|
2563
|
+
case e.keyCode === Qi:
|
|
2349
2564
|
this.$emit("previous");
|
|
2350
|
-
case e.keyCode ===
|
|
2565
|
+
case e.keyCode === Wi:
|
|
2351
2566
|
this.$emit("next");
|
|
2352
2567
|
default:
|
|
2353
2568
|
return;
|
|
@@ -2357,10 +2572,10 @@ const pi = /* @__PURE__ */ C(hi, [["render", mi]]), gi = 37, vi = 39, fi = {
|
|
|
2357
2572
|
t(), this.$emit("goto", e);
|
|
2358
2573
|
}
|
|
2359
2574
|
}
|
|
2360
|
-
},
|
|
2361
|
-
function
|
|
2575
|
+
}, Gi = { class: "waypoint-carousel" };
|
|
2576
|
+
function Xi(e, t, i, r, n, s) {
|
|
2362
2577
|
const a = u("v-icon"), d = u("v-btn"), p = u("v-hover"), v = u("v-img"), w = u("v-card"), S = u("v-slide-group-item"), g = u("v-slide-group");
|
|
2363
|
-
return l(), m("div",
|
|
2578
|
+
return l(), m("div", Gi, [
|
|
2364
2579
|
c(g, {
|
|
2365
2580
|
modelValue: s.activeIndex,
|
|
2366
2581
|
"onUpdate:modelValue": t[2] || (t[2] = (b) => s.activeIndex = b),
|
|
@@ -2375,8 +2590,8 @@ function yi(e, t, i, r, n, s) {
|
|
|
2375
2590
|
default: h(({ hover: b }) => [
|
|
2376
2591
|
c(d, {
|
|
2377
2592
|
elevation: "0",
|
|
2378
|
-
class:
|
|
2379
|
-
onClick: t[0] || (t[0] = (
|
|
2593
|
+
class: F(["carousel-button", { mobile: s.isMobile }]),
|
|
2594
|
+
onClick: t[0] || (t[0] = (_) => e.$emit("previous"))
|
|
2380
2595
|
}, {
|
|
2381
2596
|
default: h(() => [
|
|
2382
2597
|
c(a, {
|
|
@@ -2400,8 +2615,8 @@ function yi(e, t, i, r, n, s) {
|
|
|
2400
2615
|
default: h(({ hover: b }) => [
|
|
2401
2616
|
c(d, {
|
|
2402
2617
|
elevation: "0",
|
|
2403
|
-
class:
|
|
2404
|
-
onClick: t[1] || (t[1] = (
|
|
2618
|
+
class: F(["carousel-button", { mobile: s.isMobile }]),
|
|
2619
|
+
onClick: t[1] || (t[1] = (_) => e.$emit("next"))
|
|
2405
2620
|
}, {
|
|
2406
2621
|
default: h(() => [
|
|
2407
2622
|
c(a, {
|
|
@@ -2421,19 +2636,19 @@ function yi(e, t, i, r, n, s) {
|
|
|
2421
2636
|
})
|
|
2422
2637
|
]),
|
|
2423
2638
|
default: h(() => [
|
|
2424
|
-
(l(!0), m(R, null,
|
|
2639
|
+
(l(!0), m(R, null, O(i.thumbnails, (b) => (l(), y(S, {
|
|
2425
2640
|
key: b.id
|
|
2426
2641
|
}, {
|
|
2427
|
-
default: h(({ toggle:
|
|
2642
|
+
default: h(({ toggle: _, selectedClass: A }) => [
|
|
2428
2643
|
c(w, {
|
|
2429
|
-
class:
|
|
2644
|
+
class: F(["ma-2", A]),
|
|
2430
2645
|
align: "center",
|
|
2431
2646
|
justify: "center",
|
|
2432
2647
|
height: s.isMobile ? 50 : 100,
|
|
2433
2648
|
width: s.isMobile ? 80 : 160,
|
|
2434
2649
|
elevation: "0",
|
|
2435
2650
|
style: { overflow: "hidden" },
|
|
2436
|
-
onClick: (U) => s.goToCamera(b.id,
|
|
2651
|
+
onClick: (U) => s.goToCamera(b.id, _)
|
|
2437
2652
|
}, {
|
|
2438
2653
|
default: h(() => [
|
|
2439
2654
|
c(v, {
|
|
@@ -2452,7 +2667,7 @@ function yi(e, t, i, r, n, s) {
|
|
|
2452
2667
|
}, 8, ["modelValue"])
|
|
2453
2668
|
]);
|
|
2454
2669
|
}
|
|
2455
|
-
const
|
|
2670
|
+
const ce = /* @__PURE__ */ k(Ji, [["render", Xi], ["__scopeId", "data-v-f4e6ce2e"]]), Zi = {
|
|
2456
2671
|
name: "QiVirtualTourSocialShare",
|
|
2457
2672
|
inject: ["i18n"],
|
|
2458
2673
|
data() {
|
|
@@ -2487,11 +2702,11 @@ const Fe = /* @__PURE__ */ C(fi, [["render", yi], ["__scopeId", "data-v-f4e6ce2e
|
|
|
2487
2702
|
navigator.clipboard.writeText(location.href);
|
|
2488
2703
|
}
|
|
2489
2704
|
}
|
|
2490
|
-
},
|
|
2705
|
+
}, Ki = {
|
|
2491
2706
|
id: "share-btns-wrapper",
|
|
2492
2707
|
class: "text-center"
|
|
2493
2708
|
};
|
|
2494
|
-
function
|
|
2709
|
+
function en(e, t, i, r, n, s) {
|
|
2495
2710
|
const a = u("v-btn"), d = u("v-tooltip"), p = u("v-toolbar-title"), v = u("v-spacer"), w = u("v-toolbar"), S = u("v-card-text"), g = u("v-card"), b = u("v-dialog");
|
|
2496
2711
|
return l(), m("div", null, [
|
|
2497
2712
|
c(d, {
|
|
@@ -2499,16 +2714,16 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2499
2714
|
top: "",
|
|
2500
2715
|
attach: ""
|
|
2501
2716
|
}, {
|
|
2502
|
-
activator: h(({ on:
|
|
2717
|
+
activator: h(({ on: _ }) => [
|
|
2503
2718
|
c(a, D({
|
|
2504
2719
|
density: "comfortable",
|
|
2505
2720
|
elevation: "1",
|
|
2506
2721
|
icon: "mdi-share-variant",
|
|
2507
2722
|
onClick: t[0] || (t[0] = (A) => n.showSocialShare = !n.showSocialShare)
|
|
2508
|
-
},
|
|
2723
|
+
}, je({ ..._ })), null, 16)
|
|
2509
2724
|
]),
|
|
2510
2725
|
default: h(() => [
|
|
2511
|
-
o("span", null,
|
|
2726
|
+
o("span", null, C(s.i18n.getLabel("share")), 1)
|
|
2512
2727
|
]),
|
|
2513
2728
|
_: 1
|
|
2514
2729
|
}),
|
|
@@ -2516,7 +2731,7 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2516
2731
|
id: "share-box",
|
|
2517
2732
|
width: "400",
|
|
2518
2733
|
modelValue: n.showSocialShare,
|
|
2519
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
2734
|
+
"onUpdate:modelValue": t[2] || (t[2] = (_) => n.showSocialShare = _)
|
|
2520
2735
|
}, {
|
|
2521
2736
|
default: h(() => [
|
|
2522
2737
|
c(g, null, {
|
|
@@ -2526,11 +2741,11 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2526
2741
|
c(a, {
|
|
2527
2742
|
size: "x-small",
|
|
2528
2743
|
icon: "mdi-close",
|
|
2529
|
-
onClick: t[1] || (t[1] = (
|
|
2744
|
+
onClick: t[1] || (t[1] = (_) => n.showSocialShare = !1)
|
|
2530
2745
|
}),
|
|
2531
2746
|
c(p, null, {
|
|
2532
2747
|
default: h(() => [
|
|
2533
|
-
L(
|
|
2748
|
+
L(C(s.i18n.getLabel("share")), 1)
|
|
2534
2749
|
]),
|
|
2535
2750
|
_: 1
|
|
2536
2751
|
}),
|
|
@@ -2540,51 +2755,51 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2540
2755
|
}),
|
|
2541
2756
|
c(S, { class: "mt-5" }, {
|
|
2542
2757
|
default: h(() => [
|
|
2543
|
-
o("p",
|
|
2758
|
+
o("p", Ki, [
|
|
2544
2759
|
c(d, { location: "top" }, {
|
|
2545
|
-
activator: h(({ props:
|
|
2760
|
+
activator: h(({ props: _ }) => [
|
|
2546
2761
|
c(a, D({
|
|
2547
2762
|
depressed: "",
|
|
2548
2763
|
fab: "",
|
|
2549
2764
|
light: "",
|
|
2550
2765
|
icon: "mdi-facebook"
|
|
2551
|
-
},
|
|
2766
|
+
}, _, { onClick: s.shareToFacebook }), null, 16, ["onClick"])
|
|
2552
2767
|
]),
|
|
2553
2768
|
default: h(() => [
|
|
2554
|
-
o("span", null,
|
|
2769
|
+
o("span", null, C(s.i18n.getLabel("share-to-facebook")), 1)
|
|
2555
2770
|
]),
|
|
2556
2771
|
_: 1
|
|
2557
2772
|
}),
|
|
2558
2773
|
c(d, { location: "top" }, {
|
|
2559
|
-
activator: h(({ props:
|
|
2774
|
+
activator: h(({ props: _ }) => [
|
|
2560
2775
|
c(a, D({
|
|
2561
2776
|
depressed: "",
|
|
2562
2777
|
fab: "",
|
|
2563
2778
|
light: "",
|
|
2564
2779
|
icon: "mdi-linkedin"
|
|
2565
|
-
},
|
|
2780
|
+
}, _, { onClick: s.shareToLinkedin }), null, 16, ["onClick"])
|
|
2566
2781
|
]),
|
|
2567
2782
|
default: h(() => [
|
|
2568
|
-
o("span", null,
|
|
2783
|
+
o("span", null, C(s.i18n.getLabel("share-to-linkedin")), 1)
|
|
2569
2784
|
]),
|
|
2570
2785
|
_: 1
|
|
2571
2786
|
}),
|
|
2572
2787
|
c(d, { location: "top" }, {
|
|
2573
|
-
activator: h(({ props:
|
|
2788
|
+
activator: h(({ props: _ }) => [
|
|
2574
2789
|
c(a, D({
|
|
2575
2790
|
depressed: "",
|
|
2576
2791
|
fab: "",
|
|
2577
2792
|
light: "",
|
|
2578
2793
|
icon: "mdi-twitter"
|
|
2579
|
-
},
|
|
2794
|
+
}, _, { onClick: s.shareToTwitter }), null, 16, ["onClick"])
|
|
2580
2795
|
]),
|
|
2581
2796
|
default: h(() => [
|
|
2582
|
-
o("span", null,
|
|
2797
|
+
o("span", null, C(s.i18n.getLabel("share-to-twitter")), 1)
|
|
2583
2798
|
]),
|
|
2584
2799
|
_: 1
|
|
2585
2800
|
}),
|
|
2586
2801
|
c(d, { location: "top" }, {
|
|
2587
|
-
activator: h(({ props:
|
|
2802
|
+
activator: h(({ props: _ }) => [
|
|
2588
2803
|
c(a, D({
|
|
2589
2804
|
depressed: "",
|
|
2590
2805
|
fab: "",
|
|
@@ -2592,25 +2807,25 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2592
2807
|
icon: "mdi-email",
|
|
2593
2808
|
link: "",
|
|
2594
2809
|
href: `mailto:?body=${n.currentURL}`
|
|
2595
|
-
},
|
|
2810
|
+
}, _), null, 16, ["href"])
|
|
2596
2811
|
]),
|
|
2597
2812
|
default: h(() => [
|
|
2598
|
-
o("span", null,
|
|
2813
|
+
o("span", null, C(s.i18n.getLabel("share-via-email")), 1)
|
|
2599
2814
|
]),
|
|
2600
2815
|
_: 1
|
|
2601
2816
|
}),
|
|
2602
2817
|
c(d, { location: "top" }, {
|
|
2603
|
-
activator: h(({ props:
|
|
2818
|
+
activator: h(({ props: _ }) => [
|
|
2604
2819
|
c(a, D({
|
|
2605
2820
|
depressed: "",
|
|
2606
2821
|
fab: "",
|
|
2607
2822
|
light: "",
|
|
2608
2823
|
icon: "mdi-content-copy",
|
|
2609
2824
|
onClick: s.copyLink
|
|
2610
|
-
},
|
|
2825
|
+
}, _), null, 16, ["onClick"])
|
|
2611
2826
|
]),
|
|
2612
2827
|
default: h(() => [
|
|
2613
|
-
o("span", null,
|
|
2828
|
+
o("span", null, C(s.i18n.getLabel("copy-link")), 1)
|
|
2614
2829
|
]),
|
|
2615
2830
|
_: 1
|
|
2616
2831
|
}),
|
|
@@ -2627,8 +2842,8 @@ function Ci(e, t, i, r, n, s) {
|
|
|
2627
2842
|
}, 8, ["modelValue"])
|
|
2628
2843
|
]);
|
|
2629
2844
|
}
|
|
2630
|
-
const
|
|
2631
|
-
class
|
|
2845
|
+
const ue = /* @__PURE__ */ k(Zi, [["render", en], ["__scopeId", "data-v-3560cd03"]]);
|
|
2846
|
+
class We {
|
|
2632
2847
|
constructor(t, i) {
|
|
2633
2848
|
this._doc = t, this._elemId = i, this._state = { isActive: !1 };
|
|
2634
2849
|
}
|
|
@@ -2665,56 +2880,7 @@ class De {
|
|
|
2665
2880
|
this._state.isActive = t;
|
|
2666
2881
|
}
|
|
2667
2882
|
}
|
|
2668
|
-
const
|
|
2669
|
-
props: {
|
|
2670
|
-
isFullScreen: {
|
|
2671
|
-
type: Boolean,
|
|
2672
|
-
required: !0
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
emits: ["toggle-fullscreen"]
|
|
2676
|
-
}, _i = {
|
|
2677
|
-
id: "btn-fullscreen",
|
|
2678
|
-
class: "btn-placeholder mr-2"
|
|
2679
|
-
};
|
|
2680
|
-
function Si(e, t, i, r, n, s) {
|
|
2681
|
-
const a = u("v-btn");
|
|
2682
|
-
return l(), m("div", _i, [
|
|
2683
|
-
c(a, {
|
|
2684
|
-
density: "comfortable",
|
|
2685
|
-
elevation: "3",
|
|
2686
|
-
icon: i.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
2687
|
-
onClick: t[0] || (t[0] = (d) => e.$emit("toggle-fullscreen"))
|
|
2688
|
-
}, null, 8, ["icon"])
|
|
2689
|
-
]);
|
|
2690
|
-
}
|
|
2691
|
-
const Oe = /* @__PURE__ */ C(Ii, [["render", Si]]), Ai = {
|
|
2692
|
-
name: "Disclaimer",
|
|
2693
|
-
inject: ["i18n"],
|
|
2694
|
-
data() {
|
|
2695
|
-
return {
|
|
2696
|
-
isVisible: !0
|
|
2697
|
-
};
|
|
2698
|
-
}
|
|
2699
|
-
}, Li = {
|
|
2700
|
-
key: 0,
|
|
2701
|
-
class: "text-white disclaimer caption"
|
|
2702
|
-
};
|
|
2703
|
-
function Mi(e, t, i, r, n, s) {
|
|
2704
|
-
return l(), y(V, { name: "fade-transition" }, {
|
|
2705
|
-
default: h(() => [
|
|
2706
|
-
n.isVisible ? (l(), m("div", Li, [
|
|
2707
|
-
L(I(s.i18n.getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
|
|
2708
|
-
o("span", {
|
|
2709
|
-
onClick: t[0] || (t[0] = (a) => n.isVisible = !1),
|
|
2710
|
-
class: "link-text text-decoration-underline"
|
|
2711
|
-
}, I(s.i18n.getLabel("i-understand")), 1)
|
|
2712
|
-
])) : f("", !0)
|
|
2713
|
-
]),
|
|
2714
|
-
_: 1
|
|
2715
|
-
});
|
|
2716
|
-
}
|
|
2717
|
-
const xe = /* @__PURE__ */ C(Ai, [["render", Mi], ["__scopeId", "data-v-6e4f02d6"]]), Bi = {
|
|
2883
|
+
const tn = {
|
|
2718
2884
|
name: "ManualSlideShowImage",
|
|
2719
2885
|
props: {
|
|
2720
2886
|
isFullScreen: { type: Boolean, required: !0 }
|
|
@@ -2741,69 +2907,69 @@ const xe = /* @__PURE__ */ C(Ai, [["render", Mi], ["__scopeId", "data-v-6e4f02d6
|
|
|
2741
2907
|
(window.innerWidth <= 600 || i <= 600) && (r = window.innerHeight * 0.75, i = r * (1 / e)), t.style.height = r + "px", t.style.width = i + "px", this.$emit("new-size-callback", i, r);
|
|
2742
2908
|
}
|
|
2743
2909
|
}
|
|
2744
|
-
},
|
|
2910
|
+
}, nn = { id: "player-wrapper" }, sn = { id: "player-sizer" }, on = {
|
|
2745
2911
|
class: "player-control",
|
|
2746
2912
|
id: "controls-top-left"
|
|
2747
|
-
},
|
|
2913
|
+
}, rn = {
|
|
2748
2914
|
class: "player-control",
|
|
2749
2915
|
id: "controls-top-center"
|
|
2750
|
-
},
|
|
2916
|
+
}, an = {
|
|
2751
2917
|
class: "player-control",
|
|
2752
2918
|
id: "controls-top-right"
|
|
2753
|
-
},
|
|
2919
|
+
}, ln = {
|
|
2754
2920
|
class: "player-control",
|
|
2755
2921
|
id: "controls-center-left"
|
|
2756
|
-
},
|
|
2922
|
+
}, dn = {
|
|
2757
2923
|
class: "player-control",
|
|
2758
2924
|
id: "controls-center-center"
|
|
2759
|
-
},
|
|
2925
|
+
}, cn = {
|
|
2760
2926
|
class: "player-control",
|
|
2761
2927
|
id: "controls-center-right"
|
|
2762
|
-
},
|
|
2928
|
+
}, un = {
|
|
2763
2929
|
class: "player-control",
|
|
2764
2930
|
id: "controls-bottom-left"
|
|
2765
|
-
},
|
|
2931
|
+
}, hn = {
|
|
2766
2932
|
class: "player-control",
|
|
2767
2933
|
id: "controls-bottom-center"
|
|
2768
|
-
},
|
|
2934
|
+
}, mn = {
|
|
2769
2935
|
class: "player-control",
|
|
2770
2936
|
id: "controls-bottom-right"
|
|
2771
2937
|
};
|
|
2772
|
-
function
|
|
2773
|
-
return l(), m("div",
|
|
2774
|
-
o("div",
|
|
2775
|
-
|
|
2776
|
-
o("div",
|
|
2777
|
-
|
|
2938
|
+
function pn(e, t, i, r, n, s) {
|
|
2939
|
+
return l(), m("div", nn, [
|
|
2940
|
+
o("div", sn, [
|
|
2941
|
+
I(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
2942
|
+
o("div", on, [
|
|
2943
|
+
I(e.$slots, "top-left", {}, void 0, !0)
|
|
2778
2944
|
]),
|
|
2779
|
-
o("div",
|
|
2780
|
-
|
|
2945
|
+
o("div", rn, [
|
|
2946
|
+
I(e.$slots, "top-center", {}, void 0, !0)
|
|
2781
2947
|
]),
|
|
2782
|
-
o("div",
|
|
2783
|
-
|
|
2948
|
+
o("div", an, [
|
|
2949
|
+
I(e.$slots, "top-right", {}, void 0, !0)
|
|
2784
2950
|
]),
|
|
2785
|
-
o("div",
|
|
2786
|
-
|
|
2951
|
+
o("div", ln, [
|
|
2952
|
+
I(e.$slots, "center-left", {}, void 0, !0)
|
|
2787
2953
|
]),
|
|
2788
|
-
o("div",
|
|
2789
|
-
|
|
2954
|
+
o("div", dn, [
|
|
2955
|
+
I(e.$slots, "center-center", {}, void 0, !0)
|
|
2790
2956
|
]),
|
|
2791
|
-
o("div",
|
|
2792
|
-
|
|
2957
|
+
o("div", cn, [
|
|
2958
|
+
I(e.$slots, "center-right", {}, void 0, !0)
|
|
2793
2959
|
]),
|
|
2794
|
-
o("div",
|
|
2795
|
-
|
|
2960
|
+
o("div", un, [
|
|
2961
|
+
I(e.$slots, "bottom-left", {}, void 0, !0)
|
|
2796
2962
|
]),
|
|
2797
|
-
o("div",
|
|
2798
|
-
|
|
2963
|
+
o("div", hn, [
|
|
2964
|
+
I(e.$slots, "bottom-center", {}, void 0, !0)
|
|
2799
2965
|
]),
|
|
2800
|
-
o("div",
|
|
2801
|
-
|
|
2966
|
+
o("div", mn, [
|
|
2967
|
+
I(e.$slots, "bottom-right", {}, void 0, !0)
|
|
2802
2968
|
])
|
|
2803
2969
|
])
|
|
2804
2970
|
]);
|
|
2805
2971
|
}
|
|
2806
|
-
const
|
|
2972
|
+
const Ae = /* @__PURE__ */ k(tn, [["render", pn], ["__scopeId", "data-v-1dab1ac3"]]), gn = {
|
|
2807
2973
|
name: "StaticImage",
|
|
2808
2974
|
props: {
|
|
2809
2975
|
image: { type: String, required: !0 },
|
|
@@ -2814,28 +2980,28 @@ const ji = /* @__PURE__ */ C(Bi, [["render", Ni], ["__scopeId", "data-v-1dab1ac3
|
|
|
2814
2980
|
return { "background-image": `url("${encodeURI(this.image)}")` };
|
|
2815
2981
|
}
|
|
2816
2982
|
}
|
|
2817
|
-
},
|
|
2818
|
-
function
|
|
2819
|
-
return l(), m("div",
|
|
2983
|
+
}, vn = { class: "static-image-wrapper" };
|
|
2984
|
+
function fn(e, t, i, r, n, s) {
|
|
2985
|
+
return l(), m("div", vn, [
|
|
2820
2986
|
o("div", {
|
|
2821
|
-
class:
|
|
2987
|
+
class: F(["img-div", [i.aspectRatio]]),
|
|
2822
2988
|
style: M(s.style)
|
|
2823
2989
|
}, null, 6)
|
|
2824
2990
|
]);
|
|
2825
2991
|
}
|
|
2826
|
-
const
|
|
2992
|
+
const he = /* @__PURE__ */ k(gn, [["render", fn], ["__scopeId", "data-v-b418cf51"]]), bn = {
|
|
2827
2993
|
name: "ManualSlideShow",
|
|
2828
2994
|
components: {
|
|
2829
|
-
WaypointCarousel:
|
|
2830
|
-
SingleImage:
|
|
2831
|
-
SocialShare:
|
|
2832
|
-
FullScreenButton:
|
|
2833
|
-
Disclaimer:
|
|
2834
|
-
ManualSlideShowPlayer:
|
|
2995
|
+
WaypointCarousel: ce,
|
|
2996
|
+
SingleImage: he,
|
|
2997
|
+
SocialShare: ue,
|
|
2998
|
+
FullScreenButton: de,
|
|
2999
|
+
Disclaimer: le,
|
|
3000
|
+
ManualSlideShowPlayer: Ae
|
|
2835
3001
|
},
|
|
2836
3002
|
provide() {
|
|
2837
3003
|
return {
|
|
2838
|
-
i18n: this.i18n ? new
|
|
3004
|
+
i18n: this.i18n ? new E(this.i18n.labels, this.i18n.language) : new E()
|
|
2839
3005
|
};
|
|
2840
3006
|
},
|
|
2841
3007
|
props: {
|
|
@@ -2853,7 +3019,7 @@ const Ue = /* @__PURE__ */ C(qi, [["render", zi], ["__scopeId", "data-v-b418cf51
|
|
|
2853
3019
|
error: !1,
|
|
2854
3020
|
currentIndex: 0,
|
|
2855
3021
|
currentImageId: void 0,
|
|
2856
|
-
fullScreen: new
|
|
3022
|
+
fullScreen: new We(document, "player-wrapper")
|
|
2857
3023
|
};
|
|
2858
3024
|
},
|
|
2859
3025
|
computed: {
|
|
@@ -2884,14 +3050,14 @@ const Ue = /* @__PURE__ */ C(qi, [["render", zi], ["__scopeId", "data-v-b418cf51
|
|
|
2884
3050
|
i != -1 && (this.currentIndex = i);
|
|
2885
3051
|
}
|
|
2886
3052
|
}
|
|
2887
|
-
},
|
|
3053
|
+
}, yn = { class: "virtual-tour-v2-wrapper" }, wn = { class: "player-and-components-wrapper" }, kn = {
|
|
2888
3054
|
key: 1,
|
|
2889
3055
|
class: "btn-placeholder"
|
|
2890
3056
|
};
|
|
2891
|
-
function
|
|
3057
|
+
function _n(e, t, i, r, n, s) {
|
|
2892
3058
|
const a = u("single-image"), d = u("disclaimer"), p = u("v-icon"), v = u("v-btn"), w = u("full-screen-button"), S = u("social-share"), g = u("waypoint-carousel"), b = u("manual-slide-show-player");
|
|
2893
|
-
return l(), m("div",
|
|
2894
|
-
o("div",
|
|
3059
|
+
return l(), m("div", yn, [
|
|
3060
|
+
o("div", wn, [
|
|
2895
3061
|
o("div", null, [
|
|
2896
3062
|
c(b, {
|
|
2897
3063
|
isFullScreen: n.fullScreen.isActive
|
|
@@ -2905,7 +3071,7 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2905
3071
|
]),
|
|
2906
3072
|
"top-right": h(() => []),
|
|
2907
3073
|
"center-left": h(() => [
|
|
2908
|
-
c(
|
|
3074
|
+
c(j, { name: "slide-x-transition" }, {
|
|
2909
3075
|
default: h(() => [
|
|
2910
3076
|
c(v, {
|
|
2911
3077
|
elevation: "1",
|
|
@@ -2930,7 +3096,7 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2930
3096
|
]),
|
|
2931
3097
|
"center-center": h(() => []),
|
|
2932
3098
|
"center-right": h(() => [
|
|
2933
|
-
c(
|
|
3099
|
+
c(j, { name: "slide-x-reverse-transition" }, {
|
|
2934
3100
|
default: h(() => [
|
|
2935
3101
|
c(v, {
|
|
2936
3102
|
elevation: "1",
|
|
@@ -2960,7 +3126,7 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2960
3126
|
class: "btn-fullscreen",
|
|
2961
3127
|
onToggleFullscreen: s.toggleFullscreen
|
|
2962
3128
|
}, null, 8, ["isFullScreen", "onToggleFullscreen"])) : f("", !0),
|
|
2963
|
-
i.showShare ? (l(), m("div",
|
|
3129
|
+
i.showShare ? (l(), m("div", kn, [
|
|
2964
3130
|
c(S)
|
|
2965
3131
|
])) : f("", !0)
|
|
2966
3132
|
]),
|
|
@@ -2968,7 +3134,7 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2968
3134
|
o("div", null, [
|
|
2969
3135
|
n.fullScreen.isActive ? (l(), y(g, {
|
|
2970
3136
|
key: 0,
|
|
2971
|
-
class:
|
|
3137
|
+
class: F([n.fullScreen.isActive ? "full-screen" : ""]),
|
|
2972
3138
|
thumbnails: s.imagesWithThumbnails,
|
|
2973
3139
|
active: n.currentIndex,
|
|
2974
3140
|
onNext: s.nextImage,
|
|
@@ -2991,22 +3157,22 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2991
3157
|
])
|
|
2992
3158
|
]);
|
|
2993
3159
|
}
|
|
2994
|
-
const
|
|
2995
|
-
var
|
|
2996
|
-
Object.defineProperty(
|
|
3160
|
+
const Je = /* @__PURE__ */ k(bn, [["render", _n], ["__scopeId", "data-v-e2117d1e"]]);
|
|
3161
|
+
var $ = {};
|
|
3162
|
+
Object.defineProperty($, "__esModule", {
|
|
2997
3163
|
value: !0
|
|
2998
3164
|
});
|
|
2999
|
-
var
|
|
3165
|
+
var Cn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
3000
3166
|
return typeof e;
|
|
3001
3167
|
} : function(e) {
|
|
3002
3168
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
3003
|
-
},
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
const
|
|
3009
|
-
name: "
|
|
3169
|
+
}, In = typeof window < "u" && typeof window.document < "u", Sn = typeof process < "u" && process.versions != null && process.versions.node != null, An = (typeof self > "u" ? "undefined" : Cn(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Ln = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), Mn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", xn = $.isBrowser = In;
|
|
3170
|
+
$.isWebWorker = An;
|
|
3171
|
+
$.isNode = Sn;
|
|
3172
|
+
$.isJsDom = Ln;
|
|
3173
|
+
$.isDeno = Mn;
|
|
3174
|
+
const Bn = {
|
|
3175
|
+
name: "Player",
|
|
3010
3176
|
emits: [
|
|
3011
3177
|
"new-camera-callback",
|
|
3012
3178
|
"new-rotation-callback",
|
|
@@ -3061,7 +3227,7 @@ const rn = {
|
|
|
3061
3227
|
window.addEventListener("resize", this.setPlayerSize), this.setPlayerSize();
|
|
3062
3228
|
const r = {
|
|
3063
3229
|
initialized: () => {
|
|
3064
|
-
this.playerAPI =
|
|
3230
|
+
this.playerAPI = me.Main.getPlayerAPI();
|
|
3065
3231
|
const s = this.playerAPI.getCurrentCamera();
|
|
3066
3232
|
s && (this.playerCamera = s.id), this.$emit("new-camera-callback", this.playerCamera);
|
|
3067
3233
|
},
|
|
@@ -3076,9 +3242,9 @@ const rn = {
|
|
|
3076
3242
|
this.$emit("new-rotation-callback", a), this.playerRotation = a;
|
|
3077
3243
|
}
|
|
3078
3244
|
};
|
|
3079
|
-
if (!
|
|
3245
|
+
if (!xn)
|
|
3080
3246
|
return;
|
|
3081
|
-
const n = await new
|
|
3247
|
+
const n = await new me.Main(
|
|
3082
3248
|
this.rootUrl,
|
|
3083
3249
|
"qpc",
|
|
3084
3250
|
r,
|
|
@@ -3089,7 +3255,7 @@ const rn = {
|
|
|
3089
3255
|
n && (n.handleWindowResize(), window.addEventListener(
|
|
3090
3256
|
"resize",
|
|
3091
3257
|
n.handleWindowResize.bind(n)
|
|
3092
|
-
), n.animate(), this.playerAPI =
|
|
3258
|
+
), n.animate(), this.playerAPI = me.Main.getPlayerAPI(), this.playerAPI && this.playerAPI.setLookSensitivity(this.mouseSensitivity));
|
|
3093
3259
|
},
|
|
3094
3260
|
beforeUnmount() {
|
|
3095
3261
|
this.playerAPI && this.playerAPI.destroy();
|
|
@@ -3109,66 +3275,66 @@ const rn = {
|
|
|
3109
3275
|
(window.innerWidth <= 600 || i <= 600) && (r = window.innerHeight * 0.75, this.isInIframe && (r = screen.height * 0.65), i = r * (1 / e)), t.style.height = r + "px", t.style.width = i + "px", this.$emit("new-size-callback", i, r);
|
|
3110
3276
|
}
|
|
3111
3277
|
}
|
|
3112
|
-
},
|
|
3278
|
+
}, Fn = { id: "player-wrapper" }, En = { id: "player-sizer" }, Dn = {
|
|
3113
3279
|
class: "player-control",
|
|
3114
3280
|
id: "controls-top-left"
|
|
3115
|
-
},
|
|
3281
|
+
}, On = {
|
|
3116
3282
|
class: "player-control",
|
|
3117
3283
|
id: "controls-top-center"
|
|
3118
|
-
},
|
|
3284
|
+
}, Un = {
|
|
3119
3285
|
class: "player-control",
|
|
3120
3286
|
id: "controls-top-right"
|
|
3121
|
-
},
|
|
3287
|
+
}, Rn = {
|
|
3122
3288
|
class: "player-control",
|
|
3123
3289
|
id: "controls-center-left"
|
|
3124
|
-
},
|
|
3290
|
+
}, Tn = {
|
|
3125
3291
|
class: "player-control",
|
|
3126
3292
|
id: "controls-center-center"
|
|
3127
|
-
},
|
|
3293
|
+
}, Vn = {
|
|
3128
3294
|
class: "player-control",
|
|
3129
3295
|
id: "controls-center-right"
|
|
3130
|
-
},
|
|
3296
|
+
}, Hn = {
|
|
3131
3297
|
class: "player-control",
|
|
3132
3298
|
id: "controls-bottom-left"
|
|
3133
|
-
},
|
|
3299
|
+
}, Nn = {
|
|
3134
3300
|
class: "player-control",
|
|
3135
3301
|
id: "controls-bottom-center"
|
|
3136
|
-
},
|
|
3302
|
+
}, jn = {
|
|
3137
3303
|
class: "player-control",
|
|
3138
3304
|
id: "controls-bottom-right"
|
|
3139
|
-
},
|
|
3140
|
-
function
|
|
3141
|
-
return l(), m("div",
|
|
3142
|
-
o("div",
|
|
3143
|
-
|
|
3144
|
-
o("div",
|
|
3145
|
-
|
|
3305
|
+
}, qn = { id: "main-canvas" };
|
|
3306
|
+
function Pn(e, t, i, r, n, s) {
|
|
3307
|
+
return l(), m("div", Fn, [
|
|
3308
|
+
o("div", En, [
|
|
3309
|
+
I(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
3310
|
+
o("div", Dn, [
|
|
3311
|
+
I(e.$slots, "top-left", {}, void 0, !0)
|
|
3146
3312
|
]),
|
|
3147
|
-
o("div",
|
|
3148
|
-
|
|
3313
|
+
o("div", On, [
|
|
3314
|
+
I(e.$slots, "top-center", {}, void 0, !0)
|
|
3149
3315
|
]),
|
|
3150
|
-
o("div",
|
|
3151
|
-
|
|
3316
|
+
o("div", Un, [
|
|
3317
|
+
I(e.$slots, "top-right", {}, void 0, !0)
|
|
3152
3318
|
]),
|
|
3153
|
-
o("div",
|
|
3154
|
-
|
|
3319
|
+
o("div", Rn, [
|
|
3320
|
+
I(e.$slots, "center-left", {}, void 0, !0)
|
|
3155
3321
|
]),
|
|
3156
|
-
o("div",
|
|
3157
|
-
|
|
3322
|
+
o("div", Tn, [
|
|
3323
|
+
I(e.$slots, "center-center", {}, void 0, !0)
|
|
3158
3324
|
]),
|
|
3159
|
-
o("div",
|
|
3160
|
-
|
|
3325
|
+
o("div", Vn, [
|
|
3326
|
+
I(e.$slots, "center-right", {}, void 0, !0)
|
|
3161
3327
|
]),
|
|
3162
|
-
o("div",
|
|
3163
|
-
|
|
3328
|
+
o("div", Hn, [
|
|
3329
|
+
I(e.$slots, "bottom-left", {}, void 0, !0)
|
|
3164
3330
|
]),
|
|
3165
|
-
o("div",
|
|
3166
|
-
|
|
3331
|
+
o("div", Nn, [
|
|
3332
|
+
I(e.$slots, "bottom-center", {}, void 0, !0)
|
|
3167
3333
|
]),
|
|
3168
|
-
o("div",
|
|
3169
|
-
|
|
3334
|
+
o("div", jn, [
|
|
3335
|
+
I(e.$slots, "bottom-right", {}, void 0, !0)
|
|
3170
3336
|
]),
|
|
3171
|
-
o("div",
|
|
3337
|
+
o("div", qn, [
|
|
3172
3338
|
o("canvas", {
|
|
3173
3339
|
id: "qpc",
|
|
3174
3340
|
style: M(i.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -3177,262 +3343,410 @@ function yn(e, t, i, r, n, s) {
|
|
|
3177
3343
|
])
|
|
3178
3344
|
]);
|
|
3179
3345
|
}
|
|
3180
|
-
const
|
|
3181
|
-
name: "
|
|
3182
|
-
inject: ["i18n"],
|
|
3346
|
+
const Le = /* @__PURE__ */ k(Bn, [["render", Pn], ["__scopeId", "data-v-d61b0474"]]), $n = {
|
|
3347
|
+
name: "ScrollHelper",
|
|
3183
3348
|
props: {
|
|
3184
|
-
|
|
3185
|
-
|
|
3349
|
+
scrollTo: {
|
|
3350
|
+
type: String,
|
|
3351
|
+
default: () => "content"
|
|
3352
|
+
}
|
|
3186
3353
|
},
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
const e = this.
|
|
3190
|
-
|
|
3354
|
+
methods: {
|
|
3355
|
+
scroll() {
|
|
3356
|
+
const e = document.getElementById(this.scrollTo).offsetTop;
|
|
3357
|
+
window.scrollTo({ top: e, behavior: "smooth" });
|
|
3358
|
+
}
|
|
3359
|
+
}
|
|
3360
|
+
}, Ge = (e) => (se("data-v-68e88af1"), e = e(), oe(), e), zn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ o("div", null, "See Details", -1)), Yn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ o("span", { id: "moving-arrow" }, null, -1)), Qn = [
|
|
3361
|
+
zn,
|
|
3362
|
+
Yn
|
|
3363
|
+
];
|
|
3364
|
+
function Wn(e, t, i, r, n, s) {
|
|
3365
|
+
return l(), m("div", {
|
|
3366
|
+
class: "scroll-helper-wrapper",
|
|
3367
|
+
onClick: t[0] || (t[0] = (...a) => s.scroll && s.scroll(...a))
|
|
3368
|
+
}, Qn);
|
|
3369
|
+
}
|
|
3370
|
+
const Xe = /* @__PURE__ */ k($n, [["render", Wn], ["__scopeId", "data-v-68e88af1"]]);
|
|
3371
|
+
function Jn(e) {
|
|
3372
|
+
const t = parseInt(e.substr(1, 2), 16) / 255, i = parseInt(e.substr(3, 2), 16) / 255, r = parseInt(e.substr(5, 2), 16) / 255;
|
|
3373
|
+
return [t, i, r];
|
|
3374
|
+
}
|
|
3375
|
+
function ge(e) {
|
|
3376
|
+
var t = e.toString(16);
|
|
3377
|
+
return t.length == 1 ? "0" + t : t;
|
|
3378
|
+
}
|
|
3379
|
+
function Gn([e, t, i]) {
|
|
3380
|
+
return "#" + ge(parseInt(e * 255)) + ge(parseInt(t * 255)) + ge(parseInt(i * 255));
|
|
3381
|
+
}
|
|
3382
|
+
function Oe(e) {
|
|
3383
|
+
const t = [
|
|
3384
|
+
"Cool 5",
|
|
3385
|
+
"Cool 10",
|
|
3386
|
+
"Cool 15",
|
|
3387
|
+
"Cool 20",
|
|
3388
|
+
"Cool 25",
|
|
3389
|
+
"Warm 20",
|
|
3390
|
+
"Warm 25",
|
|
3391
|
+
"Warm 10",
|
|
3392
|
+
"Warm 15",
|
|
3393
|
+
"Warm 5",
|
|
3394
|
+
"bw"
|
|
3395
|
+
];
|
|
3396
|
+
let i = {
|
|
3397
|
+
temperature: 6500,
|
|
3398
|
+
targetLuminance: 1,
|
|
3399
|
+
exposureFovScale: 0.6,
|
|
3400
|
+
UNREAL_BLOOM_ENABLED: !0,
|
|
3401
|
+
sharpenFilter_amount: 0.6,
|
|
3402
|
+
UNREAL_BLOOOM_STRENGTH: 0.3,
|
|
3403
|
+
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
3404
|
+
whitePoint: [1, 1, 1],
|
|
3405
|
+
lut: "",
|
|
3406
|
+
...e
|
|
3407
|
+
};
|
|
3408
|
+
return {
|
|
3409
|
+
exposureFovScale: {
|
|
3410
|
+
label: "Exposure Fov Scale",
|
|
3411
|
+
type: "slider",
|
|
3412
|
+
min: 0,
|
|
3413
|
+
max: 1,
|
|
3414
|
+
step: 0.01,
|
|
3415
|
+
value: i.exposureFovScale
|
|
3191
3416
|
},
|
|
3192
|
-
|
|
3193
|
-
|
|
3417
|
+
targetLuminance: {
|
|
3418
|
+
label: "Target Luminance",
|
|
3419
|
+
type: "slider",
|
|
3420
|
+
min: 0,
|
|
3421
|
+
max: 15,
|
|
3422
|
+
step: 0.1,
|
|
3423
|
+
value: i.targetLuminance
|
|
3194
3424
|
},
|
|
3195
|
-
|
|
3196
|
-
|
|
3425
|
+
sharpenFilter_amount: {
|
|
3426
|
+
label: "Sharpen Filter Amount",
|
|
3427
|
+
type: "slider",
|
|
3428
|
+
min: 0,
|
|
3429
|
+
max: 100,
|
|
3430
|
+
step: 0.1,
|
|
3431
|
+
value: i.sharpenFilter_amount
|
|
3432
|
+
},
|
|
3433
|
+
UNREAL_BLOOM_ENABLED: {
|
|
3434
|
+
label: "Enable Bloom?",
|
|
3435
|
+
type: "boolean",
|
|
3436
|
+
value: i.UNREAL_BLOOM_ENABLED
|
|
3437
|
+
},
|
|
3438
|
+
UNREAL_BLOOOM_STRENGTH: {
|
|
3439
|
+
label: "Bloom Strength",
|
|
3440
|
+
type: "slider",
|
|
3441
|
+
min: 0,
|
|
3442
|
+
max: 1,
|
|
3443
|
+
step: 0.01,
|
|
3444
|
+
value: i.UNREAL_BLOOOM_STRENGTH
|
|
3445
|
+
},
|
|
3446
|
+
TRANSITION_MOVEMENT_SCALE: {
|
|
3447
|
+
label: "Transition Movement Speed",
|
|
3448
|
+
type: "slider",
|
|
3449
|
+
min: 0.2,
|
|
3450
|
+
max: 25,
|
|
3451
|
+
step: 0.1,
|
|
3452
|
+
value: i.TRANSITION_MOVEMENT_SCALE
|
|
3453
|
+
},
|
|
3454
|
+
temperature: {
|
|
3455
|
+
label: "Temperature / White Balance",
|
|
3456
|
+
type: "slider",
|
|
3457
|
+
min: 1e3,
|
|
3458
|
+
max: 12e3,
|
|
3459
|
+
step: 1,
|
|
3460
|
+
value: i.temperature
|
|
3461
|
+
},
|
|
3462
|
+
whitePoint: {
|
|
3463
|
+
label: "White Point",
|
|
3464
|
+
type: "color",
|
|
3465
|
+
min: null,
|
|
3466
|
+
max: null,
|
|
3467
|
+
step: null,
|
|
3468
|
+
value: Gn(i.whitePoint)
|
|
3469
|
+
},
|
|
3470
|
+
lut: {
|
|
3471
|
+
label: "Lut",
|
|
3472
|
+
type: "lut",
|
|
3473
|
+
items: t.map((r) => ({
|
|
3474
|
+
text: r,
|
|
3475
|
+
value: `https://cdn.visuado.com/luts/${r}.png`
|
|
3476
|
+
})),
|
|
3477
|
+
value: i.lut
|
|
3197
3478
|
}
|
|
3198
|
-
}
|
|
3199
|
-
}, Cn = {
|
|
3200
|
-
style: { width: "24px", height: "24px" },
|
|
3201
|
-
viewBox: "0 0 18 16",
|
|
3202
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3203
|
-
}, In = ["stroke"], _n = ["stroke"], Sn = { class: "floor-level-label" };
|
|
3204
|
-
function An(e, t, i, r, n, s) {
|
|
3205
|
-
const a = u("v-btn"), d = u("v-tooltip");
|
|
3206
|
-
return l(), y(d, {
|
|
3207
|
-
right: "",
|
|
3208
|
-
attach: ""
|
|
3209
|
-
}, {
|
|
3210
|
-
activator: h(({ on: p }) => [
|
|
3211
|
-
c(a, D({
|
|
3212
|
-
density: "comfortable",
|
|
3213
|
-
elevation: "1",
|
|
3214
|
-
icon: ""
|
|
3215
|
-
}, Ce({ ...p })), {
|
|
3216
|
-
default: h(() => [
|
|
3217
|
-
(l(), m("svg", Cn, [
|
|
3218
|
-
o("path", {
|
|
3219
|
-
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3220
|
-
fill: "white",
|
|
3221
|
-
stroke: s.upperActive ? "black" : "#999999",
|
|
3222
|
-
"stroke-width": "1.5",
|
|
3223
|
-
"stroke-linejoin": "round"
|
|
3224
|
-
}, null, 8, In),
|
|
3225
|
-
o("path", {
|
|
3226
|
-
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
3227
|
-
fill: "white",
|
|
3228
|
-
stroke: s.lowerActive ? "black" : "#999999",
|
|
3229
|
-
"stroke-width": "1.5",
|
|
3230
|
-
"stroke-linejoin": "round"
|
|
3231
|
-
}, null, 8, _n)
|
|
3232
|
-
]))
|
|
3233
|
-
]),
|
|
3234
|
-
_: 2
|
|
3235
|
-
}, 1040)
|
|
3236
|
-
]),
|
|
3237
|
-
default: h(() => [
|
|
3238
|
-
o("span", Sn, I(s.i18n.getLabel(s.lowerOrUpper)) + " " + I(s.i18n.getLabel("floor")), 1)
|
|
3239
|
-
]),
|
|
3240
|
-
_: 1
|
|
3241
|
-
});
|
|
3479
|
+
};
|
|
3242
3480
|
}
|
|
3243
|
-
const
|
|
3244
|
-
name: "
|
|
3245
|
-
emits: ["
|
|
3481
|
+
const Xn = {
|
|
3482
|
+
name: "SettingsUI",
|
|
3483
|
+
emits: ["update-settings", "save-settings"],
|
|
3246
3484
|
props: {
|
|
3247
|
-
|
|
3248
|
-
|
|
3485
|
+
projectSlug: { type: String, required: !0 },
|
|
3486
|
+
initialSettings: { type: Object, default: () => {
|
|
3487
|
+
} }
|
|
3249
3488
|
},
|
|
3250
|
-
inject: ["i18n", "localMode", "fileLoader"],
|
|
3251
|
-
methods: {
|
|
3252
|
-
getUrl(e) {
|
|
3253
|
-
let t = e;
|
|
3254
|
-
return this.localMode && (t = `${this.fileLoader.getURL(e)}`), t;
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3257
|
-
};
|
|
3258
|
-
function Bn(e, t, i, r, n, s) {
|
|
3259
|
-
const a = u("v-btn"), d = u("v-img"), p = u("v-list-item-title"), v = u("v-list-item"), w = u("v-list"), S = u("v-menu");
|
|
3260
|
-
return l(), m("div", null, [
|
|
3261
|
-
c(S, {
|
|
3262
|
-
transition: "slide-x-reverse-transition",
|
|
3263
|
-
location: "top end",
|
|
3264
|
-
origin: "end bottom",
|
|
3265
|
-
elevation: "0"
|
|
3266
|
-
}, {
|
|
3267
|
-
activator: h(({ props: g }) => [
|
|
3268
|
-
c(a, D({
|
|
3269
|
-
"prepend-icon": "mdi-palette-outline",
|
|
3270
|
-
rounded: ""
|
|
3271
|
-
}, g), {
|
|
3272
|
-
default: h(() => [
|
|
3273
|
-
L(I(s.i18n.getLabel("interior")), 1)
|
|
3274
|
-
]),
|
|
3275
|
-
_: 2
|
|
3276
|
-
}, 1040)
|
|
3277
|
-
]),
|
|
3278
|
-
default: h(() => [
|
|
3279
|
-
c(w, { class: "interior-selector-list" }, {
|
|
3280
|
-
default: h(() => [
|
|
3281
|
-
(l(!0), m(R, null, x(i.availableArchetypes, (g, b) => (l(), y(v, {
|
|
3282
|
-
density: "compact",
|
|
3283
|
-
key: `at-menuitem-${b}`,
|
|
3284
|
-
onClick: (k) => e.$emit("select-interior", g.archetypeID),
|
|
3285
|
-
active: b === i.selectedIndex,
|
|
3286
|
-
class: "interior-selector-list-item"
|
|
3287
|
-
}, {
|
|
3288
|
-
prepend: h(() => [
|
|
3289
|
-
c(d, {
|
|
3290
|
-
width: "100",
|
|
3291
|
-
"max-width": "100",
|
|
3292
|
-
height: "66",
|
|
3293
|
-
src: s.getUrl(g.url)
|
|
3294
|
-
}, null, 8, ["src"])
|
|
3295
|
-
]),
|
|
3296
|
-
default: h(() => [
|
|
3297
|
-
c(p, { class: "text-caption py-2 px-4" }, {
|
|
3298
|
-
default: h(() => [
|
|
3299
|
-
L(I(s.i18n.get(g.title)), 1)
|
|
3300
|
-
]),
|
|
3301
|
-
_: 2
|
|
3302
|
-
}, 1024)
|
|
3303
|
-
]),
|
|
3304
|
-
_: 2
|
|
3305
|
-
}, 1032, ["onClick", "active"]))), 128))
|
|
3306
|
-
]),
|
|
3307
|
-
_: 1
|
|
3308
|
-
})
|
|
3309
|
-
]),
|
|
3310
|
-
_: 1
|
|
3311
|
-
})
|
|
3312
|
-
]);
|
|
3313
|
-
}
|
|
3314
|
-
const Fn = /* @__PURE__ */ C(Mn, [["render", Bn], ["__scopeId", "data-v-fe12068f"]]), En = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x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
|
-
name: "Compass",
|
|
3316
|
-
props: { rotation: { type: Number, required: !0 } },
|
|
3317
3489
|
data() {
|
|
3318
3490
|
return {
|
|
3319
|
-
|
|
3320
|
-
compassBackground: {
|
|
3321
|
-
backgroundImage: `url(${En})`,
|
|
3322
|
-
backgroundSize: "contain"
|
|
3323
|
-
}
|
|
3491
|
+
allSettings: Oe(this.initialSettings)
|
|
3324
3492
|
};
|
|
3325
3493
|
},
|
|
3494
|
+
watch: {
|
|
3495
|
+
allSettings: {
|
|
3496
|
+
handler() {
|
|
3497
|
+
this.updateSettings();
|
|
3498
|
+
},
|
|
3499
|
+
deep: !0
|
|
3500
|
+
}
|
|
3501
|
+
},
|
|
3326
3502
|
computed: {
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3503
|
+
settingsToUpdate() {
|
|
3504
|
+
let e = {};
|
|
3505
|
+
for (const [t, i] of Object.entries(this.allSettings))
|
|
3506
|
+
t === "whitePoint" ? e[t] = Jn(i.value) : e[t] = i.value;
|
|
3507
|
+
return e;
|
|
3331
3508
|
}
|
|
3332
|
-
}
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3509
|
+
},
|
|
3510
|
+
methods: {
|
|
3511
|
+
updateSettings() {
|
|
3512
|
+
this.$emit("update-settings", this.settingsToUpdate);
|
|
3513
|
+
},
|
|
3514
|
+
downloadSettings() {
|
|
3515
|
+
const e = document.createElement("a");
|
|
3516
|
+
e.href = URL.createObjectURL(
|
|
3517
|
+
new Blob([JSON.stringify(this.settingsToUpdate, null, 2)])
|
|
3518
|
+
);
|
|
3519
|
+
const t = `player-settings-${this.projectSlug}-${Date.now()}.json`;
|
|
3520
|
+
e.download = t, e.style.display = "none", document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
3521
|
+
},
|
|
3522
|
+
saveSettings() {
|
|
3523
|
+
this.$emit("save-settings", this.settingsToUpdate);
|
|
3524
|
+
},
|
|
3525
|
+
resetForm() {
|
|
3526
|
+
this.allSettings = Oe(), this.$emit("update-settings", this.settingsToUpdate);
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
}, Zn = (e) => (se("data-v-c04f3195"), e = e(), oe(), e), Kn = { class: "player-settings-ui" }, es = { id: "settings-ui-form" }, ts = { class: "form-inputs" }, is = { class: "setting-label" }, ns = { class: "setting-label" }, ss = ["max", "min", "step"], os = { class: "setting-label" }, rs = { class: "flex-grow-1 flex-shrink-0" }, as = ["onUpdate:modelValue"], ls = {
|
|
3530
|
+
key: 3,
|
|
3531
|
+
"d-block": "",
|
|
3532
|
+
class: "mt-3"
|
|
3533
|
+
}, ds = { class: "d-flex justify-space-between" }, cs = { class: "setting-label" }, us = {
|
|
3534
|
+
class: "mt-5 d-block",
|
|
3535
|
+
style: { width: "300px" }
|
|
3536
|
+
}, hs = /* @__PURE__ */ Zn(() => /* @__PURE__ */ o("div", { class: "setting-label" }, "Enter Lut URL:", -1)), ms = {
|
|
3537
|
+
class: "d-block",
|
|
3538
|
+
style: { width: "300px" }
|
|
3539
|
+
}, ps = { class: "form-buttons" };
|
|
3540
|
+
function gs(e, t, i, r, n, s) {
|
|
3541
|
+
const a = u("v-text-field"), d = u("v-slider"), p = u("v-checkbox"), v = u("v-btn"), w = u("v-select"), S = u("v-icon");
|
|
3542
|
+
return l(), m("div", Kn, [
|
|
3543
|
+
o("form", es, [
|
|
3544
|
+
o("div", ts, [
|
|
3545
|
+
(l(!0), m(R, null, O(n.allSettings, (g, b, _) => (l(), m("div", {
|
|
3546
|
+
key: _,
|
|
3547
|
+
"d-block": ""
|
|
3548
|
+
}, [
|
|
3549
|
+
g.type === "slider" ? (l(), y(d, {
|
|
3550
|
+
key: 0,
|
|
3551
|
+
modelValue: n.allSettings[b].value,
|
|
3552
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3553
|
+
onChange: s.updateSettings,
|
|
3554
|
+
max: g.max,
|
|
3555
|
+
min: g.min,
|
|
3556
|
+
step: g.step
|
|
3557
|
+
}, {
|
|
3558
|
+
prepend: h(() => [
|
|
3559
|
+
o("div", is, C(g.label), 1)
|
|
3560
|
+
]),
|
|
3561
|
+
append: h(() => [
|
|
3562
|
+
o("div", null, [
|
|
3563
|
+
c(a, {
|
|
3564
|
+
modelValue: n.allSettings[b].value,
|
|
3565
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3566
|
+
"hide-details": "",
|
|
3567
|
+
dense: "",
|
|
3568
|
+
outlined: "",
|
|
3569
|
+
type: "number",
|
|
3570
|
+
max: g.max,
|
|
3571
|
+
min: g.min,
|
|
3572
|
+
step: g.step,
|
|
3573
|
+
style: { width: "90px" },
|
|
3574
|
+
onChange: s.updateSettings
|
|
3575
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onChange"])
|
|
3576
|
+
])
|
|
3577
|
+
]),
|
|
3578
|
+
_: 2
|
|
3579
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "max", "min", "step"])) : f("", !0),
|
|
3580
|
+
g.type === "boolean" ? (l(), y(p, {
|
|
3581
|
+
key: 1,
|
|
3582
|
+
modelValue: n.allSettings[b].value,
|
|
3583
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3584
|
+
onChange: s.updateSettings
|
|
3585
|
+
}, {
|
|
3586
|
+
prepend: h(() => [
|
|
3587
|
+
o("div", ns, C(g.label), 1)
|
|
3588
|
+
]),
|
|
3589
|
+
append: h(() => [
|
|
3590
|
+
o("div", null, C(g.value), 1)
|
|
3591
|
+
]),
|
|
3592
|
+
_: 2
|
|
3593
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : f("", !0),
|
|
3594
|
+
g.type === "color" ? (l(), m("div", {
|
|
3595
|
+
key: 2,
|
|
3596
|
+
class: "d-flex",
|
|
3597
|
+
max: g.max,
|
|
3598
|
+
min: g.min,
|
|
3599
|
+
step: g.step
|
|
3600
|
+
}, [
|
|
3601
|
+
o("div", os, C(g.label), 1),
|
|
3602
|
+
o("div", rs, [
|
|
3603
|
+
x(o("input", {
|
|
3604
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3605
|
+
type: "color",
|
|
3606
|
+
onChange: t[0] || (t[0] = (...A) => s.updateSettings && s.updateSettings(...A))
|
|
3607
|
+
}, null, 40, as), [
|
|
3608
|
+
[st, n.allSettings[b].value]
|
|
3609
|
+
])
|
|
3610
|
+
]),
|
|
3611
|
+
o("div", null, [
|
|
3612
|
+
c(a, {
|
|
3613
|
+
modelValue: n.allSettings[b].value,
|
|
3614
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3615
|
+
"hide-details": "",
|
|
3616
|
+
dense: "",
|
|
3617
|
+
outlined: "",
|
|
3618
|
+
readonly: "",
|
|
3619
|
+
type: "text",
|
|
3620
|
+
style: { width: "90px" },
|
|
3621
|
+
onChange: s.updateSettings
|
|
3622
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
3623
|
+
])
|
|
3624
|
+
], 8, ss)) : f("", !0),
|
|
3625
|
+
g.type === "lut" ? (l(), m("div", ls, [
|
|
3626
|
+
o("div", ds, [
|
|
3627
|
+
o("div", cs, C(g.label), 1),
|
|
3628
|
+
o("div", null, [
|
|
3629
|
+
c(v, {
|
|
3630
|
+
class: "ml-2",
|
|
3631
|
+
"x-small": "",
|
|
3632
|
+
onClick: (A) => n.allSettings[b].value = null
|
|
3633
|
+
}, {
|
|
3634
|
+
default: h(() => [
|
|
3635
|
+
L(" Clear Lut ")
|
|
3636
|
+
]),
|
|
3637
|
+
_: 2
|
|
3638
|
+
}, 1032, ["onClick"])
|
|
3639
|
+
])
|
|
3640
|
+
]),
|
|
3641
|
+
o("div", null, [
|
|
3642
|
+
o("div", us, [
|
|
3643
|
+
o("div", null, [
|
|
3644
|
+
c(w, {
|
|
3645
|
+
modelValue: n.allSettings[b].value,
|
|
3646
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3647
|
+
items: g.items,
|
|
3648
|
+
"item-title": "title",
|
|
3649
|
+
"item-value": "value",
|
|
3650
|
+
dense: "",
|
|
3651
|
+
label: "Select Lut",
|
|
3652
|
+
onChange: s.updateSettings
|
|
3653
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "items", "onChange"])
|
|
3654
|
+
])
|
|
3655
|
+
]),
|
|
3656
|
+
o("div", null, [
|
|
3657
|
+
hs,
|
|
3658
|
+
o("div", ms, [
|
|
3659
|
+
o("div", null, [
|
|
3660
|
+
c(a, {
|
|
3661
|
+
modelValue: n.allSettings[b].value,
|
|
3662
|
+
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
3663
|
+
"hide-details": "",
|
|
3664
|
+
dense: "",
|
|
3665
|
+
type: "url",
|
|
3666
|
+
onChange: s.updateSettings
|
|
3667
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
3668
|
+
])
|
|
3669
|
+
])
|
|
3670
|
+
])
|
|
3671
|
+
])
|
|
3672
|
+
])) : f("", !0)
|
|
3673
|
+
]))), 128))
|
|
3674
|
+
]),
|
|
3675
|
+
o("div", ps, [
|
|
3676
|
+
c(v, {
|
|
3677
|
+
onClick: t[1] || (t[1] = (g) => s.resetForm())
|
|
3678
|
+
}, {
|
|
3679
|
+
default: h(() => [
|
|
3680
|
+
L("Reset")
|
|
3681
|
+
]),
|
|
3682
|
+
_: 1
|
|
3683
|
+
}),
|
|
3684
|
+
c(v, {
|
|
3685
|
+
class: "ml-2",
|
|
3686
|
+
onClick: t[2] || (t[2] = (g) => s.downloadSettings())
|
|
3687
|
+
}, {
|
|
3688
|
+
default: h(() => [
|
|
3689
|
+
L(" Download Json "),
|
|
3690
|
+
c(S, { color: "black darken-1" }, {
|
|
3691
|
+
default: h(() => [
|
|
3692
|
+
L("mdi-download")
|
|
3693
|
+
]),
|
|
3694
|
+
_: 1
|
|
3695
|
+
})
|
|
3696
|
+
]),
|
|
3697
|
+
_: 1
|
|
3698
|
+
}),
|
|
3699
|
+
c(v, {
|
|
3700
|
+
class: "ml-2",
|
|
3701
|
+
onClick: t[3] || (t[3] = (g) => s.saveSettings())
|
|
3702
|
+
}, {
|
|
3703
|
+
default: h(() => [
|
|
3704
|
+
L(" Save Settings "),
|
|
3705
|
+
c(S, { color: "black darken-1" }, {
|
|
3706
|
+
default: h(() => [
|
|
3707
|
+
L("mdi-save")
|
|
3708
|
+
]),
|
|
3709
|
+
_: 1
|
|
3710
|
+
})
|
|
3711
|
+
]),
|
|
3712
|
+
_: 1
|
|
3713
|
+
})
|
|
3714
|
+
])
|
|
3715
|
+
])
|
|
3716
|
+
]);
|
|
3345
3717
|
}
|
|
3346
|
-
const
|
|
3347
|
-
function
|
|
3718
|
+
const Me = /* @__PURE__ */ k(Xn, [["render", gs], ["__scopeId", "data-v-c04f3195"]]), vs = "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";
|
|
3719
|
+
function Ue(e) {
|
|
3348
3720
|
return ("0" + e).slice(-2);
|
|
3349
3721
|
}
|
|
3350
|
-
const
|
|
3722
|
+
const fs = {
|
|
3351
3723
|
name: "TimeOfDay",
|
|
3352
3724
|
props: {
|
|
3353
3725
|
hours: { type: Number, default: 0 },
|
|
3354
3726
|
minutes: { type: Number, default: 0 }
|
|
3355
3727
|
},
|
|
3356
3728
|
data() {
|
|
3357
|
-
return { sunIcon:
|
|
3729
|
+
return { sunIcon: vs };
|
|
3358
3730
|
},
|
|
3359
3731
|
computed: {
|
|
3360
3732
|
displayValue() {
|
|
3361
|
-
return [
|
|
3733
|
+
return [Ue(this.hours), ":", Ue(this.minutes)].join("");
|
|
3362
3734
|
}
|
|
3363
3735
|
}
|
|
3364
|
-
},
|
|
3365
|
-
function
|
|
3736
|
+
}, bs = { class: "d-flex flex-column align-center justify-center clock-face" }, ys = { class: "clock-icon" }, ws = { class: "clock-value grey--text text--darken-3" };
|
|
3737
|
+
function ks(e, t, i, r, n, s) {
|
|
3366
3738
|
const a = u("v-img");
|
|
3367
|
-
return l(), m("div",
|
|
3368
|
-
o("div",
|
|
3739
|
+
return l(), m("div", bs, [
|
|
3740
|
+
o("div", ys, [
|
|
3369
3741
|
c(a, {
|
|
3370
3742
|
src: n.sunIcon,
|
|
3371
3743
|
"aspect-ratio": "1"
|
|
3372
3744
|
}, null, 8, ["src"])
|
|
3373
3745
|
]),
|
|
3374
|
-
o("div",
|
|
3746
|
+
o("div", ws, C(s.displayValue), 1)
|
|
3375
3747
|
]);
|
|
3376
3748
|
}
|
|
3377
|
-
const
|
|
3378
|
-
function P(e) {
|
|
3379
|
-
return ("0" + e).slice(-2);
|
|
3380
|
-
}
|
|
3381
|
-
function qn() {
|
|
3382
|
-
const e = /* @__PURE__ */ new Date();
|
|
3383
|
-
return [
|
|
3384
|
-
e.getFullYear().toString(),
|
|
3385
|
-
P(e.getMonth() + 1),
|
|
3386
|
-
P(e.getDate()),
|
|
3387
|
-
" ",
|
|
3388
|
-
P(e.getHours()),
|
|
3389
|
-
P(e.getMinutes()),
|
|
3390
|
-
P(e.getSeconds())
|
|
3391
|
-
].join("");
|
|
3392
|
-
}
|
|
3393
|
-
function Pn() {
|
|
3394
|
-
return "Visuado-Snapshot-" + qn();
|
|
3395
|
-
}
|
|
3396
|
-
class zn {
|
|
3397
|
-
constructor(t, i) {
|
|
3398
|
-
this.data = t, this.cameraParams = i;
|
|
3399
|
-
}
|
|
3400
|
-
download(t = null) {
|
|
3401
|
-
t = t || Pn();
|
|
3402
|
-
const i = document.createElement("a");
|
|
3403
|
-
typeof i.download == "string" ? (document.body.appendChild(i), i.download = t, i.href = this.data, i.click(), document.body.removeChild(i)) : location.replace(uri);
|
|
3404
|
-
}
|
|
3405
|
-
}
|
|
3406
|
-
const Yn = {
|
|
3407
|
-
name: "ViewModeToggle",
|
|
3408
|
-
emits: ["toggle"],
|
|
3409
|
-
inject: ["i18n"],
|
|
3410
|
-
props: {
|
|
3411
|
-
showStaticImage: { type: Boolean, required: !0 }
|
|
3412
|
-
},
|
|
3413
|
-
computed: {
|
|
3414
|
-
virtualTourToggleLabel() {
|
|
3415
|
-
let e = "virtual-tour";
|
|
3416
|
-
return this.showStaticImage || (e = "slide-show"), e;
|
|
3417
|
-
}
|
|
3418
|
-
}
|
|
3419
|
-
};
|
|
3420
|
-
function Qn(e, t, i, r, n, s) {
|
|
3421
|
-
const a = u("v-btn");
|
|
3422
|
-
return l(), y(a, {
|
|
3423
|
-
color: "darken-2",
|
|
3424
|
-
elevation: "1",
|
|
3425
|
-
rounded: "",
|
|
3426
|
-
plain: "",
|
|
3427
|
-
onClick: t[0] || (t[0] = (d) => e.$emit("toggle"))
|
|
3428
|
-
}, {
|
|
3429
|
-
default: h(() => [
|
|
3430
|
-
L(I(s.i18n.getLabel(s.virtualTourToggleLabel)), 1)
|
|
3431
|
-
]),
|
|
3432
|
-
_: 1
|
|
3433
|
-
});
|
|
3434
|
-
}
|
|
3435
|
-
const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
3749
|
+
const xe = /* @__PURE__ */ k(fs, [["render", ks], ["__scopeId", "data-v-e440b0c9"]]), _s = {
|
|
3436
3750
|
name: "Tutorial",
|
|
3437
3751
|
inject: ["i18n"],
|
|
3438
3752
|
emits: ["closeTutorial"],
|
|
@@ -3475,13 +3789,13 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3475
3789
|
localStorage.setItem(`${this.project}-dont-show-tutorial`, !0);
|
|
3476
3790
|
}
|
|
3477
3791
|
}
|
|
3478
|
-
},
|
|
3792
|
+
}, N = (e) => (se("data-v-d87b088a"), e = e(), oe(), e), Cs = {
|
|
3479
3793
|
key: 0,
|
|
3480
3794
|
class: "tutorial"
|
|
3481
|
-
},
|
|
3795
|
+
}, Is = {
|
|
3482
3796
|
key: 0,
|
|
3483
3797
|
class: "desktop-content"
|
|
3484
|
-
},
|
|
3798
|
+
}, Ss = { class: "d-inline-flex" }, As = { class: "box col" }, Ls = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3485
3799
|
/* @__PURE__ */ o("svg", {
|
|
3486
3800
|
width: "100",
|
|
3487
3801
|
height: "65",
|
|
@@ -3528,7 +3842,7 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3528
3842
|
"stroke-width": "1.5"
|
|
3529
3843
|
})
|
|
3530
3844
|
])
|
|
3531
|
-
], -1)),
|
|
3845
|
+
], -1)), Ms = { class: "text mt-3" }, xs = { class: "box col" }, Bs = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3532
3846
|
/* @__PURE__ */ o("svg", {
|
|
3533
3847
|
width: "100",
|
|
3534
3848
|
height: "65",
|
|
@@ -3658,7 +3972,7 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3658
3972
|
"stroke-linecap": "round"
|
|
3659
3973
|
})
|
|
3660
3974
|
])
|
|
3661
|
-
], -1)),
|
|
3975
|
+
], -1)), Fs = { class: "text mt-3" }, Es = { class: "box col" }, Ds = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3662
3976
|
/* @__PURE__ */ o("svg", {
|
|
3663
3977
|
width: "100",
|
|
3664
3978
|
height: "65",
|
|
@@ -3729,7 +4043,7 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3729
4043
|
"stroke-linejoin": "round"
|
|
3730
4044
|
})
|
|
3731
4045
|
])
|
|
3732
|
-
], -1)),
|
|
4046
|
+
], -1)), Os = { class: "text mt-3" }, Us = { class: "d-inline-flex space-around" }, Rs = { class: "box col" }, Ts = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3733
4047
|
/* @__PURE__ */ o("svg", {
|
|
3734
4048
|
width: "100",
|
|
3735
4049
|
height: "65",
|
|
@@ -3797,10 +4111,10 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3797
4111
|
fill: "#FF3E3E"
|
|
3798
4112
|
})
|
|
3799
4113
|
])
|
|
3800
|
-
], -1)),
|
|
4114
|
+
], -1)), Vs = { class: "text mt-3" }, Hs = {
|
|
3801
4115
|
key: 1,
|
|
3802
4116
|
class: "d-flex flex-column tablet-mobile-content"
|
|
3803
|
-
},
|
|
4117
|
+
}, Ns = { class: "box horizontal mt-3" }, js = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3804
4118
|
/* @__PURE__ */ o("svg", {
|
|
3805
4119
|
width: "101",
|
|
3806
4120
|
height: "65",
|
|
@@ -3834,7 +4148,7 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3834
4148
|
"stroke-linejoin": "round"
|
|
3835
4149
|
})
|
|
3836
4150
|
])
|
|
3837
|
-
], -1)),
|
|
4151
|
+
], -1)), qs = { class: "text ml-2" }, Ps = { class: "box horizontal mt-3" }, $s = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3838
4152
|
/* @__PURE__ */ o("svg", {
|
|
3839
4153
|
width: "99",
|
|
3840
4154
|
height: "65",
|
|
@@ -3926,525 +4240,235 @@ const Wn = /* @__PURE__ */ C(Yn, [["render", Qn]]), Jn = {
|
|
|
3926
4240
|
"stroke-width": "1.5",
|
|
3927
4241
|
"stroke-linecap": "round"
|
|
3928
4242
|
}),
|
|
3929
|
-
/* @__PURE__ */ o("path", {
|
|
3930
|
-
d: "M56.5 25L56.5 21",
|
|
3931
|
-
stroke: "#FF3E3E",
|
|
3932
|
-
"stroke-width": "1.5",
|
|
3933
|
-
"stroke-linecap": "round"
|
|
3934
|
-
}),
|
|
3935
|
-
/* @__PURE__ */ o("path", {
|
|
3936
|
-
d: "M56.5 25L56.5 21",
|
|
3937
|
-
stroke: "#FF3E3E",
|
|
3938
|
-
"stroke-width": "1.5",
|
|
3939
|
-
"stroke-linecap": "round"
|
|
3940
|
-
}),
|
|
3941
|
-
/* @__PURE__ */ o("path", {
|
|
3942
|
-
d: "M52.1562 35L49.1562 38",
|
|
3943
|
-
stroke: "#FF3E3E",
|
|
3944
|
-
"stroke-width": "1.5",
|
|
3945
|
-
"stroke-linecap": "round"
|
|
3946
|
-
}),
|
|
3947
|
-
/* @__PURE__ */ o("path", {
|
|
3948
|
-
d: "M52.1562 35L49.1562 38",
|
|
3949
|
-
stroke: "#FF3E3E",
|
|
3950
|
-
"stroke-width": "1.5",
|
|
3951
|
-
"stroke-linecap": "round"
|
|
3952
|
-
}),
|
|
3953
|
-
/* @__PURE__ */ o("path", {
|
|
3954
|
-
d: "M52.1562 35L49.1562 38",
|
|
3955
|
-
stroke: "#FF3E3E",
|
|
3956
|
-
"stroke-width": "1.5",
|
|
3957
|
-
"stroke-linecap": "round"
|
|
3958
|
-
}),
|
|
3959
|
-
/* @__PURE__ */ o("path", {
|
|
3960
|
-
d: "M64.8126 54.1276L70.0533 52.7234C72.8195 51.9822 74.7473 49.4813 74.7601 46.6176C74.7626 46.0532 74.6898 45.4909 74.5438 44.9457L72.4992 37.3153C72.2491 36.3818 71.2895 35.8278 70.3559 36.0779C69.4223 36.328 68.8683 37.2876 69.1185 38.2212L68.5361 36.0479C68.2502 34.9809 67.1536 34.3478 66.0866 34.6337C65.0197 34.9195 64.3865 36.0162 64.6724 37.0831L64.2195 35.3928C63.8979 34.1925 62.6641 33.4802 61.4638 33.8018C60.2635 34.1234 59.5512 35.3572 59.8728 36.5575L58.1258 30.0375C57.8399 28.9705 56.7432 28.3374 55.6763 28.6233C54.6094 28.9091 53.9762 30.0058 54.2621 31.0727L57.8855 44.5957C56.7796 43.7276 55.0926 42.524 53.8279 41.6369C52.8814 40.9729 51.5801 41.2068 50.9137 42.1516C50.3107 43.0066 50.4238 44.1741 51.1798 44.8975L59.3691 52.7332C60.8154 54.1171 62.8791 54.6457 64.8126 54.1276Z",
|
|
3961
|
-
fill: "white"
|
|
3962
|
-
}),
|
|
3963
|
-
/* @__PURE__ */ o("path", {
|
|
3964
|
-
d: "M61.2316 41.6286L60.1963 37.7649M60.1963 37.7649L58.1258 30.0375C57.8399 28.9705 56.7432 28.3374 55.6763 28.6233V28.6233C54.6094 28.9091 53.9762 30.0058 54.2621 31.0727L57.8855 44.5957C56.7796 43.7276 55.0926 42.524 53.8279 41.6369C52.8814 40.9729 51.5801 41.2068 50.9137 42.1516V42.1516C50.3107 43.0066 50.4238 44.1741 51.1798 44.8975L59.3691 52.7332C60.8154 54.1171 62.8791 54.6457 64.8126 54.1276L70.0533 52.7234C72.8195 51.9822 74.7473 49.4813 74.7601 46.6176V46.6176C74.7626 46.0532 74.6898 45.4909 74.5438 44.9457L72.4992 37.3153C72.2491 36.3818 71.2895 35.8278 70.3559 36.0779V36.0779V36.0779C69.4223 36.328 68.8683 37.2876 69.1185 38.2212L69.442 39.4286M60.1963 37.7649L59.8728 36.5575C59.5512 35.3572 60.2635 34.1234 61.4638 33.8018V33.8018C62.6641 33.4802 63.8979 34.1925 64.2195 35.3928L64.8018 37.5661M65.7077 40.9469L64.8018 37.5661M64.8018 37.5661L64.6724 37.0831C64.3865 36.0162 65.0197 34.9195 66.0866 34.6337V34.6337C67.1536 34.3478 68.2502 34.9809 68.5361 36.0479L69.442 39.4286M69.8302 40.8775L69.442 39.4286",
|
|
3965
|
-
stroke: "black",
|
|
3966
|
-
"stroke-width": "1.5",
|
|
3967
|
-
"stroke-linecap": "round",
|
|
3968
|
-
"stroke-linejoin": "round"
|
|
3969
|
-
})
|
|
3970
|
-
])
|
|
3971
|
-
], -1)),
|
|
3972
|
-
/* @__PURE__ */ o("svg", {
|
|
3973
|
-
width: "99",
|
|
3974
|
-
height: "65",
|
|
3975
|
-
viewBox: "0 0 99 65",
|
|
3976
|
-
fill: "none",
|
|
3977
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3978
|
-
}, [
|
|
3979
|
-
/* @__PURE__ */ o("path", {
|
|
3980
|
-
d: "M31 24.9736L31 10M31 10L25 15.9736M31 10L37 15.9736",
|
|
3981
|
-
stroke: "#FF3E3E",
|
|
3982
|
-
"stroke-width": "1.5",
|
|
3983
|
-
"stroke-linecap": "round",
|
|
3984
|
-
"stroke-linejoin": "round"
|
|
3985
|
-
}),
|
|
3986
|
-
/* @__PURE__ */ o("path", {
|
|
3987
|
-
d: "M31 40L31 54.9736M31 54.9736L25 49M31 54.9736L37 49",
|
|
3988
|
-
stroke: "#FF3E3E",
|
|
3989
|
-
"stroke-width": "1.5",
|
|
3990
|
-
"stroke-linecap": "round",
|
|
3991
|
-
"stroke-linejoin": "round"
|
|
3992
|
-
}),
|
|
3993
|
-
/* @__PURE__ */ o("path", {
|
|
3994
|
-
d: "M58.6512 44.3852L61.8162 42.5579C64.2963 41.126 65.5112 38.2114 64.7823 35.442C64.6387 34.8961 64.4229 34.3719 64.1407 33.883L60.1909 27.0418C59.7076 26.2048 58.6374 25.918 57.8003 26.4013C56.9633 26.8845 56.6765 27.9548 57.1598 28.7918L56.0348 26.8433C55.4825 25.8867 54.2593 25.5589 53.3027 26.1112C52.3462 26.6635 52.0184 27.8867 52.5707 28.8433L51.6957 27.3277C51.0744 26.2516 49.6983 25.8828 48.6221 26.5042C47.546 27.1255 47.1773 28.5016 47.7986 29.5777L44.4236 23.7321C43.8713 22.7755 42.6481 22.4477 41.6915 23C40.7349 23.5523 40.4072 24.7755 40.9595 25.7321L48.4595 38.7224L41.0923 40.5062C40.3398 40.6884 39.7721 41.3073 39.6555 42.0728C39.4961 43.1196 40.2199 44.096 41.268 44.2476L49.7609 45.4766L51.251 45.7252C53.7985 46.1503 56.4146 45.6766 58.6512 44.3852Z",
|
|
3995
|
-
fill: "white"
|
|
3996
|
-
}),
|
|
3997
|
-
/* @__PURE__ */ o("path", {
|
|
3998
|
-
d: "M50.4236 34.1244L48.4236 30.6603M48.4236 30.6603L44.4236 23.7321C43.8713 22.7755 42.6481 22.4477 41.6915 23V23C40.7349 23.5523 40.4072 24.7755 40.9595 25.7321L48.4595 38.7224L41.0923 40.5062C40.3398 40.6884 39.7721 41.3073 39.6555 42.0728V42.0728C39.4961 43.1196 40.2199 44.096 41.268 44.2476L49.7609 45.4766L51.251 45.7252C53.7985 46.1503 56.4146 45.6766 58.6512 44.3852L61.8162 42.5579C64.2963 41.126 65.5112 38.2114 64.7823 35.442V35.442C64.6387 34.8961 64.4229 34.3719 64.1407 33.883L60.1909 27.0418C59.7076 26.2048 58.6374 25.918 57.8003 26.4013V26.4013V26.4013C56.9633 26.8845 56.6765 27.9548 57.1598 28.7918L57.7848 29.8744M48.4236 30.6603L47.7986 29.5777C47.1773 28.5016 47.546 27.1255 48.6221 26.5042V26.5042C49.6983 25.8828 51.0744 26.2516 51.6957 27.3277L52.8207 29.2763M54.5707 32.3074L52.8207 29.2763M52.8207 29.2763L52.5707 28.8433C52.0184 27.8867 52.3462 26.6635 53.3027 26.1112V26.1112C54.2593 25.5589 55.4825 25.8867 56.0348 26.8433L57.7848 29.8744M58.5348 31.1734L57.7848 29.8744",
|
|
3999
|
-
stroke: "black",
|
|
4000
|
-
"stroke-width": "1.5",
|
|
4001
|
-
"stroke-linecap": "round",
|
|
4002
|
-
"stroke-linejoin": "round"
|
|
4003
|
-
})
|
|
4004
|
-
])
|
|
4005
|
-
], -1)),
|
|
4006
|
-
function
|
|
4007
|
-
const a = u("v-checkbox"), d = u("v-btn");
|
|
4008
|
-
return l(), y(
|
|
4009
|
-
default: h(() => [
|
|
4010
|
-
n.isVisible && !s.tutorialHiddenForEternity ? (l(), m("div",
|
|
4011
|
-
s.isMobile ? f("", !0) : (l(), m("div",
|
|
4012
|
-
o("div",
|
|
4013
|
-
o("div",
|
|
4014
|
-
|
|
4015
|
-
o("div",
|
|
4016
|
-
]),
|
|
4017
|
-
o("div", is, [
|
|
4018
|
-
ns,
|
|
4019
|
-
o("div", ss, I(s.i18n.getLabel("click-on-the-cricles-to-move-around")), 1)
|
|
4020
|
-
]),
|
|
4021
|
-
o("div", os, [
|
|
4022
|
-
rs,
|
|
4023
|
-
o("div", as, I(s.i18n.getLabel("use-the-mouse-wheel-to-zoom")), 1)
|
|
4024
|
-
])
|
|
4025
|
-
]),
|
|
4026
|
-
o("div", ls, [
|
|
4027
|
-
o("div", ds, [
|
|
4028
|
-
cs,
|
|
4029
|
-
o("div", us, I(s.i18n.getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
|
|
4030
|
-
])
|
|
4031
|
-
])
|
|
4032
|
-
])),
|
|
4033
|
-
s.isMobile ? (l(), m("div", hs, [
|
|
4034
|
-
o("div", ms, [
|
|
4035
|
-
ps,
|
|
4036
|
-
o("div", gs, I(s.i18n.getLabel("tap-and-drag-to-look-around")), 1)
|
|
4037
|
-
]),
|
|
4038
|
-
o("div", vs, [
|
|
4039
|
-
fs,
|
|
4040
|
-
o("div", bs, I(s.i18n.getLabel("tap-on-the-circles-to-move-around")), 1)
|
|
4041
|
-
]),
|
|
4042
|
-
o("div", ys, [
|
|
4043
|
-
ws,
|
|
4044
|
-
o("div", ks, I(s.i18n.getLabel("use-two-fingers-to-zoom")), 1)
|
|
4045
|
-
])
|
|
4046
|
-
])) : f("", !0),
|
|
4047
|
-
o("div", Cs, [
|
|
4048
|
-
c(a, {
|
|
4049
|
-
modelValue: n.dontShow,
|
|
4050
|
-
"onUpdate:modelValue": t[0] || (t[0] = (p) => n.dontShow = p),
|
|
4051
|
-
label: s.i18n.getLabel("dont-show-again")
|
|
4052
|
-
}, null, 8, ["modelValue", "label"]),
|
|
4053
|
-
c(d, {
|
|
4054
|
-
small: "",
|
|
4055
|
-
outlined: "",
|
|
4056
|
-
class: "mt-5",
|
|
4057
|
-
onClick: t[1] || (t[1] = (p) => s.clickedOk())
|
|
4058
|
-
}, {
|
|
4059
|
-
default: h(() => [
|
|
4060
|
-
L("Ok")
|
|
4061
|
-
]),
|
|
4062
|
-
_: 1
|
|
4063
|
-
})
|
|
4064
|
-
])
|
|
4065
|
-
])) : f("", !0)
|
|
4066
|
-
]),
|
|
4067
|
-
_: 1
|
|
4068
|
-
});
|
|
4069
|
-
}
|
|
4070
|
-
const _s = /* @__PURE__ */ C(Jn, [["render", Is], ["__scopeId", "data-v-d87b088a"]]);
|
|
4071
|
-
function Ss(e) {
|
|
4072
|
-
const t = parseInt(e.substr(1, 2), 16) / 255, i = parseInt(e.substr(3, 2), 16) / 255, r = parseInt(e.substr(5, 2), 16) / 255;
|
|
4073
|
-
return [t, i, r];
|
|
4074
|
-
}
|
|
4075
|
-
function te(e) {
|
|
4076
|
-
var t = e.toString(16);
|
|
4077
|
-
return t.length == 1 ? "0" + t : t;
|
|
4078
|
-
}
|
|
4079
|
-
function As([e, t, i]) {
|
|
4080
|
-
return "#" + te(parseInt(e * 255)) + te(parseInt(t * 255)) + te(parseInt(i * 255));
|
|
4081
|
-
}
|
|
4082
|
-
function ve(e) {
|
|
4083
|
-
const t = [
|
|
4084
|
-
"Cool 5",
|
|
4085
|
-
"Cool 10",
|
|
4086
|
-
"Cool 15",
|
|
4087
|
-
"Cool 20",
|
|
4088
|
-
"Cool 25",
|
|
4089
|
-
"Warm 20",
|
|
4090
|
-
"Warm 25",
|
|
4091
|
-
"Warm 10",
|
|
4092
|
-
"Warm 15",
|
|
4093
|
-
"Warm 5",
|
|
4094
|
-
"bw"
|
|
4095
|
-
];
|
|
4096
|
-
let i = {
|
|
4097
|
-
temperature: 6500,
|
|
4098
|
-
targetLuminance: 1,
|
|
4099
|
-
exposureFovScale: 0.6,
|
|
4100
|
-
UNREAL_BLOOM_ENABLED: !0,
|
|
4101
|
-
sharpenFilter_amount: 0.6,
|
|
4102
|
-
UNREAL_BLOOOM_STRENGTH: 0.3,
|
|
4103
|
-
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
4104
|
-
whitePoint: [1, 1, 1],
|
|
4105
|
-
lut: "",
|
|
4106
|
-
...e
|
|
4107
|
-
};
|
|
4108
|
-
return {
|
|
4109
|
-
exposureFovScale: {
|
|
4110
|
-
label: "Exposure Fov Scale",
|
|
4111
|
-
type: "slider",
|
|
4112
|
-
min: 0,
|
|
4113
|
-
max: 1,
|
|
4114
|
-
step: 0.01,
|
|
4115
|
-
value: i.exposureFovScale
|
|
4116
|
-
},
|
|
4117
|
-
targetLuminance: {
|
|
4118
|
-
label: "Target Luminance",
|
|
4119
|
-
type: "slider",
|
|
4120
|
-
min: 0,
|
|
4121
|
-
max: 15,
|
|
4122
|
-
step: 0.1,
|
|
4123
|
-
value: i.targetLuminance
|
|
4124
|
-
},
|
|
4125
|
-
sharpenFilter_amount: {
|
|
4126
|
-
label: "Sharpen Filter Amount",
|
|
4127
|
-
type: "slider",
|
|
4128
|
-
min: 0,
|
|
4129
|
-
max: 100,
|
|
4130
|
-
step: 0.1,
|
|
4131
|
-
value: i.sharpenFilter_amount
|
|
4132
|
-
},
|
|
4133
|
-
UNREAL_BLOOM_ENABLED: {
|
|
4134
|
-
label: "Enable Bloom?",
|
|
4135
|
-
type: "boolean",
|
|
4136
|
-
value: i.UNREAL_BLOOM_ENABLED
|
|
4137
|
-
},
|
|
4138
|
-
UNREAL_BLOOOM_STRENGTH: {
|
|
4139
|
-
label: "Bloom Strength",
|
|
4140
|
-
type: "slider",
|
|
4141
|
-
min: 0,
|
|
4142
|
-
max: 1,
|
|
4143
|
-
step: 0.01,
|
|
4144
|
-
value: i.UNREAL_BLOOOM_STRENGTH
|
|
4145
|
-
},
|
|
4146
|
-
TRANSITION_MOVEMENT_SCALE: {
|
|
4147
|
-
label: "Transition Movement Speed",
|
|
4148
|
-
type: "slider",
|
|
4149
|
-
min: 0.2,
|
|
4150
|
-
max: 25,
|
|
4151
|
-
step: 0.1,
|
|
4152
|
-
value: i.TRANSITION_MOVEMENT_SCALE
|
|
4153
|
-
},
|
|
4154
|
-
temperature: {
|
|
4155
|
-
label: "Temperature / White Balance",
|
|
4156
|
-
type: "slider",
|
|
4157
|
-
min: 1e3,
|
|
4158
|
-
max: 12e3,
|
|
4159
|
-
step: 1,
|
|
4160
|
-
value: i.temperature
|
|
4161
|
-
},
|
|
4162
|
-
whitePoint: {
|
|
4163
|
-
label: "White Point",
|
|
4164
|
-
type: "color",
|
|
4165
|
-
min: null,
|
|
4166
|
-
max: null,
|
|
4167
|
-
step: null,
|
|
4168
|
-
value: As(i.whitePoint)
|
|
4169
|
-
},
|
|
4170
|
-
lut: {
|
|
4171
|
-
label: "Lut",
|
|
4172
|
-
type: "lut",
|
|
4173
|
-
items: t.map((r) => ({
|
|
4174
|
-
text: r,
|
|
4175
|
-
value: `https://cdn.visuado.com/luts/${r}.png`
|
|
4176
|
-
})),
|
|
4177
|
-
value: i.lut
|
|
4178
|
-
}
|
|
4179
|
-
};
|
|
4180
|
-
}
|
|
4181
|
-
const Ls = {
|
|
4182
|
-
name: "SettingsUI",
|
|
4183
|
-
emits: ["update-settings", "save-settings"],
|
|
4184
|
-
props: {
|
|
4185
|
-
projectSlug: { type: String, required: !0 },
|
|
4186
|
-
initialSettings: { type: Object, default: () => {
|
|
4187
|
-
} }
|
|
4188
|
-
},
|
|
4189
|
-
data() {
|
|
4190
|
-
return {
|
|
4191
|
-
allSettings: ve(this.initialSettings)
|
|
4192
|
-
};
|
|
4193
|
-
},
|
|
4194
|
-
watch: {
|
|
4195
|
-
allSettings: {
|
|
4196
|
-
handler() {
|
|
4197
|
-
this.updateSettings();
|
|
4198
|
-
},
|
|
4199
|
-
deep: !0
|
|
4200
|
-
}
|
|
4201
|
-
},
|
|
4202
|
-
computed: {
|
|
4203
|
-
settingsToUpdate() {
|
|
4204
|
-
let e = {};
|
|
4205
|
-
for (const [t, i] of Object.entries(this.allSettings))
|
|
4206
|
-
t === "whitePoint" ? e[t] = Ss(i.value) : e[t] = i.value;
|
|
4207
|
-
return e;
|
|
4208
|
-
}
|
|
4209
|
-
},
|
|
4210
|
-
methods: {
|
|
4211
|
-
updateSettings() {
|
|
4212
|
-
this.$emit("update-settings", this.settingsToUpdate);
|
|
4213
|
-
},
|
|
4214
|
-
downloadSettings() {
|
|
4215
|
-
const e = document.createElement("a");
|
|
4216
|
-
e.href = URL.createObjectURL(
|
|
4217
|
-
new Blob([JSON.stringify(this.settingsToUpdate, null, 2)])
|
|
4218
|
-
);
|
|
4219
|
-
const t = `player-settings-${this.projectSlug}-${Date.now()}.json`;
|
|
4220
|
-
e.download = t, e.style.display = "none", document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
4221
|
-
},
|
|
4222
|
-
saveSettings() {
|
|
4223
|
-
this.$emit("save-settings", this.settingsToUpdate);
|
|
4224
|
-
},
|
|
4225
|
-
resetForm() {
|
|
4226
|
-
this.allSettings = ve(), this.$emit("update-settings", this.settingsToUpdate);
|
|
4227
|
-
}
|
|
4228
|
-
}
|
|
4229
|
-
}, Ms = (e) => (ae("data-v-c04f3195"), e = e(), le(), e), Bs = { class: "player-settings-ui" }, Fs = { id: "settings-ui-form" }, Es = { class: "form-inputs" }, Ds = { class: "setting-label" }, Os = { class: "setting-label" }, xs = ["max", "min", "step"], Us = { class: "setting-label" }, Rs = { class: "flex-grow-1 flex-shrink-0" }, Ts = ["onUpdate:modelValue"], $s = {
|
|
4230
|
-
key: 3,
|
|
4231
|
-
"d-block": "",
|
|
4232
|
-
class: "mt-3"
|
|
4233
|
-
}, Vs = { class: "d-flex justify-space-between" }, Hs = { class: "setting-label" }, Ns = {
|
|
4234
|
-
class: "mt-5 d-block",
|
|
4235
|
-
style: { width: "300px" }
|
|
4236
|
-
}, js = /* @__PURE__ */ Ms(() => /* @__PURE__ */ o("div", { class: "setting-label" }, "Enter Lut URL:", -1)), qs = {
|
|
4237
|
-
class: "d-block",
|
|
4238
|
-
style: { width: "300px" }
|
|
4239
|
-
}, Ps = { class: "form-buttons" };
|
|
4240
|
-
function zs(e, t, i, r, n, s) {
|
|
4241
|
-
const a = u("v-text-field"), d = u("v-slider"), p = u("v-checkbox"), v = u("v-btn"), w = u("v-select"), S = u("v-icon");
|
|
4242
|
-
return l(), m("div", Bs, [
|
|
4243
|
-
o("form", Fs, [
|
|
4244
|
-
o("div", Es, [
|
|
4245
|
-
(l(!0), m(R, null, x(n.allSettings, (g, b, k) => (l(), m("div", {
|
|
4246
|
-
key: k,
|
|
4247
|
-
"d-block": ""
|
|
4248
|
-
}, [
|
|
4249
|
-
g.type === "slider" ? (l(), y(d, {
|
|
4250
|
-
key: 0,
|
|
4251
|
-
modelValue: n.allSettings[b].value,
|
|
4252
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4253
|
-
onChange: s.updateSettings,
|
|
4254
|
-
max: g.max,
|
|
4255
|
-
min: g.min,
|
|
4256
|
-
step: g.step
|
|
4257
|
-
}, {
|
|
4258
|
-
prepend: h(() => [
|
|
4259
|
-
o("div", Ds, I(g.label), 1)
|
|
4260
|
-
]),
|
|
4261
|
-
append: h(() => [
|
|
4262
|
-
o("div", null, [
|
|
4263
|
-
c(a, {
|
|
4264
|
-
modelValue: n.allSettings[b].value,
|
|
4265
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4266
|
-
"hide-details": "",
|
|
4267
|
-
dense: "",
|
|
4268
|
-
outlined: "",
|
|
4269
|
-
type: "number",
|
|
4270
|
-
max: g.max,
|
|
4271
|
-
min: g.min,
|
|
4272
|
-
step: g.step,
|
|
4273
|
-
style: { width: "90px" },
|
|
4274
|
-
onChange: s.updateSettings
|
|
4275
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onChange"])
|
|
4276
|
-
])
|
|
4277
|
-
]),
|
|
4278
|
-
_: 2
|
|
4279
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "max", "min", "step"])) : f("", !0),
|
|
4280
|
-
g.type === "boolean" ? (l(), y(p, {
|
|
4281
|
-
key: 1,
|
|
4282
|
-
modelValue: n.allSettings[b].value,
|
|
4283
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4284
|
-
onChange: s.updateSettings
|
|
4285
|
-
}, {
|
|
4286
|
-
prepend: h(() => [
|
|
4287
|
-
o("div", Os, I(g.label), 1)
|
|
4288
|
-
]),
|
|
4289
|
-
append: h(() => [
|
|
4290
|
-
o("div", null, I(g.value), 1)
|
|
4291
|
-
]),
|
|
4292
|
-
_: 2
|
|
4293
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : f("", !0),
|
|
4294
|
-
g.type === "color" ? (l(), m("div", {
|
|
4295
|
-
key: 2,
|
|
4296
|
-
class: "d-flex",
|
|
4297
|
-
max: g.max,
|
|
4298
|
-
min: g.min,
|
|
4299
|
-
step: g.step
|
|
4300
|
-
}, [
|
|
4301
|
-
o("div", Us, I(g.label), 1),
|
|
4302
|
-
o("div", Rs, [
|
|
4303
|
-
B(o("input", {
|
|
4304
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4305
|
-
type: "color",
|
|
4306
|
-
onChange: t[0] || (t[0] = (...A) => s.updateSettings && s.updateSettings(...A))
|
|
4307
|
-
}, null, 40, Ts), [
|
|
4308
|
-
[He, n.allSettings[b].value]
|
|
4309
|
-
])
|
|
4243
|
+
/* @__PURE__ */ o("path", {
|
|
4244
|
+
d: "M56.5 25L56.5 21",
|
|
4245
|
+
stroke: "#FF3E3E",
|
|
4246
|
+
"stroke-width": "1.5",
|
|
4247
|
+
"stroke-linecap": "round"
|
|
4248
|
+
}),
|
|
4249
|
+
/* @__PURE__ */ o("path", {
|
|
4250
|
+
d: "M56.5 25L56.5 21",
|
|
4251
|
+
stroke: "#FF3E3E",
|
|
4252
|
+
"stroke-width": "1.5",
|
|
4253
|
+
"stroke-linecap": "round"
|
|
4254
|
+
}),
|
|
4255
|
+
/* @__PURE__ */ o("path", {
|
|
4256
|
+
d: "M52.1562 35L49.1562 38",
|
|
4257
|
+
stroke: "#FF3E3E",
|
|
4258
|
+
"stroke-width": "1.5",
|
|
4259
|
+
"stroke-linecap": "round"
|
|
4260
|
+
}),
|
|
4261
|
+
/* @__PURE__ */ o("path", {
|
|
4262
|
+
d: "M52.1562 35L49.1562 38",
|
|
4263
|
+
stroke: "#FF3E3E",
|
|
4264
|
+
"stroke-width": "1.5",
|
|
4265
|
+
"stroke-linecap": "round"
|
|
4266
|
+
}),
|
|
4267
|
+
/* @__PURE__ */ o("path", {
|
|
4268
|
+
d: "M52.1562 35L49.1562 38",
|
|
4269
|
+
stroke: "#FF3E3E",
|
|
4270
|
+
"stroke-width": "1.5",
|
|
4271
|
+
"stroke-linecap": "round"
|
|
4272
|
+
}),
|
|
4273
|
+
/* @__PURE__ */ o("path", {
|
|
4274
|
+
d: "M64.8126 54.1276L70.0533 52.7234C72.8195 51.9822 74.7473 49.4813 74.7601 46.6176C74.7626 46.0532 74.6898 45.4909 74.5438 44.9457L72.4992 37.3153C72.2491 36.3818 71.2895 35.8278 70.3559 36.0779C69.4223 36.328 68.8683 37.2876 69.1185 38.2212L68.5361 36.0479C68.2502 34.9809 67.1536 34.3478 66.0866 34.6337C65.0197 34.9195 64.3865 36.0162 64.6724 37.0831L64.2195 35.3928C63.8979 34.1925 62.6641 33.4802 61.4638 33.8018C60.2635 34.1234 59.5512 35.3572 59.8728 36.5575L58.1258 30.0375C57.8399 28.9705 56.7432 28.3374 55.6763 28.6233C54.6094 28.9091 53.9762 30.0058 54.2621 31.0727L57.8855 44.5957C56.7796 43.7276 55.0926 42.524 53.8279 41.6369C52.8814 40.9729 51.5801 41.2068 50.9137 42.1516C50.3107 43.0066 50.4238 44.1741 51.1798 44.8975L59.3691 52.7332C60.8154 54.1171 62.8791 54.6457 64.8126 54.1276Z",
|
|
4275
|
+
fill: "white"
|
|
4276
|
+
}),
|
|
4277
|
+
/* @__PURE__ */ o("path", {
|
|
4278
|
+
d: "M61.2316 41.6286L60.1963 37.7649M60.1963 37.7649L58.1258 30.0375C57.8399 28.9705 56.7432 28.3374 55.6763 28.6233V28.6233C54.6094 28.9091 53.9762 30.0058 54.2621 31.0727L57.8855 44.5957C56.7796 43.7276 55.0926 42.524 53.8279 41.6369C52.8814 40.9729 51.5801 41.2068 50.9137 42.1516V42.1516C50.3107 43.0066 50.4238 44.1741 51.1798 44.8975L59.3691 52.7332C60.8154 54.1171 62.8791 54.6457 64.8126 54.1276L70.0533 52.7234C72.8195 51.9822 74.7473 49.4813 74.7601 46.6176V46.6176C74.7626 46.0532 74.6898 45.4909 74.5438 44.9457L72.4992 37.3153C72.2491 36.3818 71.2895 35.8278 70.3559 36.0779V36.0779V36.0779C69.4223 36.328 68.8683 37.2876 69.1185 38.2212L69.442 39.4286M60.1963 37.7649L59.8728 36.5575C59.5512 35.3572 60.2635 34.1234 61.4638 33.8018V33.8018C62.6641 33.4802 63.8979 34.1925 64.2195 35.3928L64.8018 37.5661M65.7077 40.9469L64.8018 37.5661M64.8018 37.5661L64.6724 37.0831C64.3865 36.0162 65.0197 34.9195 66.0866 34.6337V34.6337C67.1536 34.3478 68.2502 34.9809 68.5361 36.0479L69.442 39.4286M69.8302 40.8775L69.442 39.4286",
|
|
4279
|
+
stroke: "black",
|
|
4280
|
+
"stroke-width": "1.5",
|
|
4281
|
+
"stroke-linecap": "round",
|
|
4282
|
+
"stroke-linejoin": "round"
|
|
4283
|
+
})
|
|
4284
|
+
])
|
|
4285
|
+
], -1)), zs = { class: "text ml-2" }, Ys = { class: "box horizontal mt-3" }, Qs = /* @__PURE__ */ N(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
4286
|
+
/* @__PURE__ */ o("svg", {
|
|
4287
|
+
width: "99",
|
|
4288
|
+
height: "65",
|
|
4289
|
+
viewBox: "0 0 99 65",
|
|
4290
|
+
fill: "none",
|
|
4291
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4292
|
+
}, [
|
|
4293
|
+
/* @__PURE__ */ o("path", {
|
|
4294
|
+
d: "M31 24.9736L31 10M31 10L25 15.9736M31 10L37 15.9736",
|
|
4295
|
+
stroke: "#FF3E3E",
|
|
4296
|
+
"stroke-width": "1.5",
|
|
4297
|
+
"stroke-linecap": "round",
|
|
4298
|
+
"stroke-linejoin": "round"
|
|
4299
|
+
}),
|
|
4300
|
+
/* @__PURE__ */ o("path", {
|
|
4301
|
+
d: "M31 40L31 54.9736M31 54.9736L25 49M31 54.9736L37 49",
|
|
4302
|
+
stroke: "#FF3E3E",
|
|
4303
|
+
"stroke-width": "1.5",
|
|
4304
|
+
"stroke-linecap": "round",
|
|
4305
|
+
"stroke-linejoin": "round"
|
|
4306
|
+
}),
|
|
4307
|
+
/* @__PURE__ */ o("path", {
|
|
4308
|
+
d: "M58.6512 44.3852L61.8162 42.5579C64.2963 41.126 65.5112 38.2114 64.7823 35.442C64.6387 34.8961 64.4229 34.3719 64.1407 33.883L60.1909 27.0418C59.7076 26.2048 58.6374 25.918 57.8003 26.4013C56.9633 26.8845 56.6765 27.9548 57.1598 28.7918L56.0348 26.8433C55.4825 25.8867 54.2593 25.5589 53.3027 26.1112C52.3462 26.6635 52.0184 27.8867 52.5707 28.8433L51.6957 27.3277C51.0744 26.2516 49.6983 25.8828 48.6221 26.5042C47.546 27.1255 47.1773 28.5016 47.7986 29.5777L44.4236 23.7321C43.8713 22.7755 42.6481 22.4477 41.6915 23C40.7349 23.5523 40.4072 24.7755 40.9595 25.7321L48.4595 38.7224L41.0923 40.5062C40.3398 40.6884 39.7721 41.3073 39.6555 42.0728C39.4961 43.1196 40.2199 44.096 41.268 44.2476L49.7609 45.4766L51.251 45.7252C53.7985 46.1503 56.4146 45.6766 58.6512 44.3852Z",
|
|
4309
|
+
fill: "white"
|
|
4310
|
+
}),
|
|
4311
|
+
/* @__PURE__ */ o("path", {
|
|
4312
|
+
d: "M50.4236 34.1244L48.4236 30.6603M48.4236 30.6603L44.4236 23.7321C43.8713 22.7755 42.6481 22.4477 41.6915 23V23C40.7349 23.5523 40.4072 24.7755 40.9595 25.7321L48.4595 38.7224L41.0923 40.5062C40.3398 40.6884 39.7721 41.3073 39.6555 42.0728V42.0728C39.4961 43.1196 40.2199 44.096 41.268 44.2476L49.7609 45.4766L51.251 45.7252C53.7985 46.1503 56.4146 45.6766 58.6512 44.3852L61.8162 42.5579C64.2963 41.126 65.5112 38.2114 64.7823 35.442V35.442C64.6387 34.8961 64.4229 34.3719 64.1407 33.883L60.1909 27.0418C59.7076 26.2048 58.6374 25.918 57.8003 26.4013V26.4013V26.4013C56.9633 26.8845 56.6765 27.9548 57.1598 28.7918L57.7848 29.8744M48.4236 30.6603L47.7986 29.5777C47.1773 28.5016 47.546 27.1255 48.6221 26.5042V26.5042C49.6983 25.8828 51.0744 26.2516 51.6957 27.3277L52.8207 29.2763M54.5707 32.3074L52.8207 29.2763M52.8207 29.2763L52.5707 28.8433C52.0184 27.8867 52.3462 26.6635 53.3027 26.1112V26.1112C54.2593 25.5589 55.4825 25.8867 56.0348 26.8433L57.7848 29.8744M58.5348 31.1734L57.7848 29.8744",
|
|
4313
|
+
stroke: "black",
|
|
4314
|
+
"stroke-width": "1.5",
|
|
4315
|
+
"stroke-linecap": "round",
|
|
4316
|
+
"stroke-linejoin": "round"
|
|
4317
|
+
})
|
|
4318
|
+
])
|
|
4319
|
+
], -1)), Ws = { class: "text ml-2" }, Js = { class: "d-flex justify-space-between mt-3 mx-3 mb-0 tutorial-buttons" };
|
|
4320
|
+
function Gs(e, t, i, r, n, s) {
|
|
4321
|
+
const a = u("v-checkbox"), d = u("v-btn");
|
|
4322
|
+
return l(), y(j, { name: "fade-transition" }, {
|
|
4323
|
+
default: h(() => [
|
|
4324
|
+
n.isVisible && !s.tutorialHiddenForEternity ? (l(), m("div", Cs, [
|
|
4325
|
+
s.isMobile ? f("", !0) : (l(), m("div", Is, [
|
|
4326
|
+
o("div", Ss, [
|
|
4327
|
+
o("div", As, [
|
|
4328
|
+
Ls,
|
|
4329
|
+
o("div", Ms, C(s.i18n.getLabel("click-and-drag-to-look-around")), 1)
|
|
4310
4330
|
]),
|
|
4311
|
-
o("div",
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4315
|
-
"hide-details": "",
|
|
4316
|
-
dense: "",
|
|
4317
|
-
outlined: "",
|
|
4318
|
-
readonly: "",
|
|
4319
|
-
type: "text",
|
|
4320
|
-
style: { width: "90px" },
|
|
4321
|
-
onChange: s.updateSettings
|
|
4322
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
4323
|
-
])
|
|
4324
|
-
], 8, xs)) : f("", !0),
|
|
4325
|
-
g.type === "lut" ? (l(), m("div", $s, [
|
|
4326
|
-
o("div", Vs, [
|
|
4327
|
-
o("div", Hs, I(g.label), 1),
|
|
4328
|
-
o("div", null, [
|
|
4329
|
-
c(v, {
|
|
4330
|
-
class: "ml-2",
|
|
4331
|
-
"x-small": "",
|
|
4332
|
-
onClick: (A) => n.allSettings[b].value = null
|
|
4333
|
-
}, {
|
|
4334
|
-
default: h(() => [
|
|
4335
|
-
L(" Clear Lut ")
|
|
4336
|
-
]),
|
|
4337
|
-
_: 2
|
|
4338
|
-
}, 1032, ["onClick"])
|
|
4339
|
-
])
|
|
4331
|
+
o("div", xs, [
|
|
4332
|
+
Bs,
|
|
4333
|
+
o("div", Fs, C(s.i18n.getLabel("click-on-the-cricles-to-move-around")), 1)
|
|
4340
4334
|
]),
|
|
4341
|
-
o("div",
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
c(w, {
|
|
4345
|
-
modelValue: n.allSettings[b].value,
|
|
4346
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4347
|
-
items: g.items,
|
|
4348
|
-
"item-title": "title",
|
|
4349
|
-
"item-value": "value",
|
|
4350
|
-
dense: "",
|
|
4351
|
-
label: "Select Lut",
|
|
4352
|
-
onChange: s.updateSettings
|
|
4353
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "items", "onChange"])
|
|
4354
|
-
])
|
|
4355
|
-
]),
|
|
4356
|
-
o("div", null, [
|
|
4357
|
-
js,
|
|
4358
|
-
o("div", qs, [
|
|
4359
|
-
o("div", null, [
|
|
4360
|
-
c(a, {
|
|
4361
|
-
modelValue: n.allSettings[b].value,
|
|
4362
|
-
"onUpdate:modelValue": (A) => n.allSettings[b].value = A,
|
|
4363
|
-
"hide-details": "",
|
|
4364
|
-
dense: "",
|
|
4365
|
-
type: "url",
|
|
4366
|
-
onChange: s.updateSettings
|
|
4367
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
4368
|
-
])
|
|
4369
|
-
])
|
|
4370
|
-
])
|
|
4335
|
+
o("div", Es, [
|
|
4336
|
+
Ds,
|
|
4337
|
+
o("div", Os, C(s.i18n.getLabel("use-the-mouse-wheel-to-zoom")), 1)
|
|
4371
4338
|
])
|
|
4372
|
-
])) : f("", !0)
|
|
4373
|
-
]))), 128))
|
|
4374
|
-
]),
|
|
4375
|
-
o("div", Ps, [
|
|
4376
|
-
c(v, {
|
|
4377
|
-
onClick: t[1] || (t[1] = (g) => s.resetForm())
|
|
4378
|
-
}, {
|
|
4379
|
-
default: h(() => [
|
|
4380
|
-
L("Reset")
|
|
4381
4339
|
]),
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
]),
|
|
4394
|
-
_: 1
|
|
4395
|
-
})
|
|
4340
|
+
o("div", Us, [
|
|
4341
|
+
o("div", Rs, [
|
|
4342
|
+
Ts,
|
|
4343
|
+
o("div", Vs, C(s.i18n.getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
|
|
4344
|
+
])
|
|
4345
|
+
])
|
|
4346
|
+
])),
|
|
4347
|
+
s.isMobile ? (l(), m("div", Hs, [
|
|
4348
|
+
o("div", Ns, [
|
|
4349
|
+
js,
|
|
4350
|
+
o("div", qs, C(s.i18n.getLabel("tap-and-drag-to-look-around")), 1)
|
|
4396
4351
|
]),
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
class: "ml-2",
|
|
4401
|
-
onClick: t[3] || (t[3] = (g) => s.saveSettings())
|
|
4402
|
-
}, {
|
|
4403
|
-
default: h(() => [
|
|
4404
|
-
L(" Save Settings "),
|
|
4405
|
-
c(S, { color: "black darken-1" }, {
|
|
4406
|
-
default: h(() => [
|
|
4407
|
-
L("mdi-save")
|
|
4408
|
-
]),
|
|
4409
|
-
_: 1
|
|
4410
|
-
})
|
|
4352
|
+
o("div", Ps, [
|
|
4353
|
+
$s,
|
|
4354
|
+
o("div", zs, C(s.i18n.getLabel("tap-on-the-circles-to-move-around")), 1)
|
|
4411
4355
|
]),
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4356
|
+
o("div", Ys, [
|
|
4357
|
+
Qs,
|
|
4358
|
+
o("div", Ws, C(s.i18n.getLabel("use-two-fingers-to-zoom")), 1)
|
|
4359
|
+
])
|
|
4360
|
+
])) : f("", !0),
|
|
4361
|
+
o("div", Js, [
|
|
4362
|
+
c(a, {
|
|
4363
|
+
modelValue: n.dontShow,
|
|
4364
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => n.dontShow = p),
|
|
4365
|
+
label: s.i18n.getLabel("dont-show-again")
|
|
4366
|
+
}, null, 8, ["modelValue", "label"]),
|
|
4367
|
+
c(d, {
|
|
4368
|
+
small: "",
|
|
4369
|
+
outlined: "",
|
|
4370
|
+
class: "mt-5",
|
|
4371
|
+
onClick: t[1] || (t[1] = (p) => s.clickedOk())
|
|
4372
|
+
}, {
|
|
4373
|
+
default: h(() => [
|
|
4374
|
+
L("Ok")
|
|
4375
|
+
]),
|
|
4376
|
+
_: 1
|
|
4377
|
+
})
|
|
4378
|
+
])
|
|
4379
|
+
])) : f("", !0)
|
|
4380
|
+
]),
|
|
4381
|
+
_: 1
|
|
4382
|
+
});
|
|
4383
|
+
}
|
|
4384
|
+
const Be = /* @__PURE__ */ k(_s, [["render", Gs], ["__scopeId", "data-v-d87b088a"]]), Xs = {
|
|
4385
|
+
name: "ViewModeToggle",
|
|
4386
|
+
emits: ["toggle"],
|
|
4387
|
+
inject: ["i18n"],
|
|
4388
|
+
props: {
|
|
4389
|
+
showStaticImage: { type: Boolean, required: !0 }
|
|
4390
|
+
},
|
|
4391
|
+
computed: {
|
|
4392
|
+
virtualTourToggleLabel() {
|
|
4393
|
+
let e = "virtual-tour";
|
|
4394
|
+
return this.showStaticImage || (e = "slide-show"), e;
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
};
|
|
4398
|
+
function Zs(e, t, i, r, n, s) {
|
|
4399
|
+
const a = u("v-btn");
|
|
4400
|
+
return l(), y(a, {
|
|
4401
|
+
color: "darken-2",
|
|
4402
|
+
elevation: "1",
|
|
4403
|
+
rounded: "",
|
|
4404
|
+
plain: "",
|
|
4405
|
+
onClick: t[0] || (t[0] = (d) => e.$emit("toggle"))
|
|
4406
|
+
}, {
|
|
4407
|
+
default: h(() => [
|
|
4408
|
+
L(C(s.i18n.getLabel(s.virtualTourToggleLabel)), 1)
|
|
4409
|
+
]),
|
|
4410
|
+
_: 1
|
|
4411
|
+
});
|
|
4412
|
+
}
|
|
4413
|
+
const Fe = /* @__PURE__ */ k(Xs, [["render", Zs]]);
|
|
4414
|
+
function Y(e) {
|
|
4415
|
+
return ("0" + e).slice(-2);
|
|
4416
|
+
}
|
|
4417
|
+
function Ks() {
|
|
4418
|
+
const e = /* @__PURE__ */ new Date();
|
|
4419
|
+
return [
|
|
4420
|
+
e.getFullYear().toString(),
|
|
4421
|
+
Y(e.getMonth() + 1),
|
|
4422
|
+
Y(e.getDate()),
|
|
4423
|
+
" ",
|
|
4424
|
+
Y(e.getHours()),
|
|
4425
|
+
Y(e.getMinutes()),
|
|
4426
|
+
Y(e.getSeconds())
|
|
4427
|
+
].join("");
|
|
4428
|
+
}
|
|
4429
|
+
function eo() {
|
|
4430
|
+
return "Visuado-Snapshot-" + Ks();
|
|
4431
|
+
}
|
|
4432
|
+
class to {
|
|
4433
|
+
constructor(t, i) {
|
|
4434
|
+
this.data = t, this.cameraParams = i;
|
|
4435
|
+
}
|
|
4436
|
+
download(t = null) {
|
|
4437
|
+
t = t || eo();
|
|
4438
|
+
const i = document.createElement("a");
|
|
4439
|
+
typeof i.download == "string" ? (document.body.appendChild(i), i.download = t, i.href = this.data, i.click(), document.body.removeChild(i)) : location.replace(uri);
|
|
4440
|
+
}
|
|
4417
4441
|
}
|
|
4418
|
-
const
|
|
4442
|
+
const io = {
|
|
4419
4443
|
props: {
|
|
4420
4444
|
rotation: {
|
|
4421
4445
|
type: Number,
|
|
4422
4446
|
required: !0
|
|
4423
4447
|
}
|
|
4424
4448
|
}
|
|
4425
|
-
},
|
|
4449
|
+
}, no = {
|
|
4426
4450
|
class: "rotation-marker-svg",
|
|
4427
4451
|
viewBox: "0 0 40 40",
|
|
4428
4452
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4429
|
-
},
|
|
4430
|
-
|
|
4453
|
+
}, so = /* @__PURE__ */ qe('<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), oo = ["transform"], ro = /* @__PURE__ */ qe('<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), ao = [
|
|
4454
|
+
ro
|
|
4431
4455
|
];
|
|
4432
|
-
function
|
|
4433
|
-
return l(), m("svg",
|
|
4434
|
-
|
|
4456
|
+
function lo(e, t, i, r, n, s) {
|
|
4457
|
+
return l(), m("svg", no, [
|
|
4458
|
+
so,
|
|
4435
4459
|
o("g", {
|
|
4436
4460
|
"transform-origin": "20 20",
|
|
4437
4461
|
transform: `rotate(${45 + i.rotation})`
|
|
4438
|
-
},
|
|
4462
|
+
}, ao, 8, oo)
|
|
4439
4463
|
]);
|
|
4440
4464
|
}
|
|
4441
|
-
const
|
|
4442
|
-
function
|
|
4465
|
+
const co = /* @__PURE__ */ k(io, [["render", lo]]);
|
|
4466
|
+
function uo(e) {
|
|
4443
4467
|
return T.MathUtils.degToRad(e);
|
|
4444
4468
|
}
|
|
4445
|
-
const
|
|
4469
|
+
const ho = {
|
|
4446
4470
|
name: "MiniMapMap",
|
|
4447
|
-
components: { RotationMarkerV2:
|
|
4471
|
+
components: { RotationMarkerV2: co },
|
|
4448
4472
|
props: {
|
|
4449
4473
|
backgroundImage: {
|
|
4450
4474
|
type: String,
|
|
@@ -4559,7 +4583,7 @@ const io = {
|
|
|
4559
4583
|
},
|
|
4560
4584
|
calculateRelativeValues() {
|
|
4561
4585
|
const e = this.minimapCamera.position.y - this.floorVerticalPosition;
|
|
4562
|
-
this.planeHeight = 2 * (e * Math.tan(
|
|
4586
|
+
this.planeHeight = 2 * (e * Math.tan(uo(this.minimapCamera.fovY / 2))), this.planeWidth = 512 / 384 * this.planeHeight;
|
|
4563
4587
|
const t = this.planeHeight / 2, i = this.planeWidth / 2, r = new T.Vector3(
|
|
4564
4588
|
i * -1,
|
|
4565
4589
|
0,
|
|
@@ -4575,11 +4599,11 @@ const io = {
|
|
|
4575
4599
|
e.offsetHeight > e.offsetWidth ? this.scale = i * 0.5 : this.scale = t * 0.9;
|
|
4576
4600
|
}
|
|
4577
4601
|
}
|
|
4578
|
-
},
|
|
4579
|
-
function
|
|
4602
|
+
}, mo = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, po = { class: "minimap-container" };
|
|
4603
|
+
function go(e, t, i, r, n, s) {
|
|
4580
4604
|
const a = u("rotation-marker-v2");
|
|
4581
|
-
return l(), m("div",
|
|
4582
|
-
o("div",
|
|
4605
|
+
return l(), m("div", mo, [
|
|
4606
|
+
o("div", po, [
|
|
4583
4607
|
o("div", {
|
|
4584
4608
|
class: "web-minimap",
|
|
4585
4609
|
style: M(s.transformStyle)
|
|
@@ -4592,7 +4616,7 @@ function oo(e, t, i, r, n, s) {
|
|
|
4592
4616
|
class: "center-pivot",
|
|
4593
4617
|
style: M(n.centerPivotStyle)
|
|
4594
4618
|
}, [
|
|
4595
|
-
(l(!0), m(R, null,
|
|
4619
|
+
(l(!0), m(R, null, O(s.camerasWithRelativePosition, (d) => (l(), m("div", {
|
|
4596
4620
|
key: d.id
|
|
4597
4621
|
}, [
|
|
4598
4622
|
s.currentCameraObject.floorLevel === d.floorLevel ? (l(), m("div", {
|
|
@@ -4612,7 +4636,7 @@ function oo(e, t, i, r, n, s) {
|
|
|
4612
4636
|
])
|
|
4613
4637
|
]);
|
|
4614
4638
|
}
|
|
4615
|
-
const
|
|
4639
|
+
const vo = /* @__PURE__ */ k(ho, [["render", go], ["__scopeId", "data-v-341837d7"]]), fo = {
|
|
4616
4640
|
name: "Moveable",
|
|
4617
4641
|
emits: ["close"],
|
|
4618
4642
|
data() {
|
|
@@ -4621,7 +4645,7 @@ const ro = /* @__PURE__ */ C(io, [["render", oo], ["__scopeId", "data-v-341837d7
|
|
|
4621
4645
|
};
|
|
4622
4646
|
},
|
|
4623
4647
|
mounted() {
|
|
4624
|
-
|
|
4648
|
+
bo(document.getElementById("moveableDiv"));
|
|
4625
4649
|
},
|
|
4626
4650
|
methods: {
|
|
4627
4651
|
toggleSize() {
|
|
@@ -4629,7 +4653,7 @@ const ro = /* @__PURE__ */ C(io, [["render", oo], ["__scopeId", "data-v-341837d7
|
|
|
4629
4653
|
}
|
|
4630
4654
|
}
|
|
4631
4655
|
};
|
|
4632
|
-
function
|
|
4656
|
+
function bo(e) {
|
|
4633
4657
|
const t = document.getElementById(e.id + "header");
|
|
4634
4658
|
if (!t)
|
|
4635
4659
|
return;
|
|
@@ -4649,15 +4673,15 @@ function lo(e) {
|
|
|
4649
4673
|
document.removeEventListener("mouseup", p, !1), document.removeEventListener("mousemove", d, !1), document.removeEventListener("touchend", p, !1), document.removeEventListener("touchmove", d, !1);
|
|
4650
4674
|
}
|
|
4651
4675
|
}
|
|
4652
|
-
const
|
|
4676
|
+
const yo = (e) => (se("data-v-243baf73"), e = e(), oe(), e), wo = /* @__PURE__ */ yo(() => /* @__PURE__ */ o("div", { id: "filler-div" }, null, -1)), ko = {
|
|
4653
4677
|
class: "moveable-body",
|
|
4654
4678
|
id: "moveableDivheader"
|
|
4655
|
-
},
|
|
4656
|
-
function
|
|
4679
|
+
}, _o = { class: "moveable-footer" };
|
|
4680
|
+
function Co(e, t, i, r, n, s) {
|
|
4657
4681
|
const a = u("v-btn");
|
|
4658
4682
|
return l(), m("div", {
|
|
4659
4683
|
id: "moveableDiv",
|
|
4660
|
-
class:
|
|
4684
|
+
class: F(["big d-flex justify-space-between flex-column align-center sizer", n.currentSize])
|
|
4661
4685
|
}, [
|
|
4662
4686
|
c(a, {
|
|
4663
4687
|
class: "close-icon",
|
|
@@ -4679,18 +4703,18 @@ function po(e, t, i, r, n, s) {
|
|
|
4679
4703
|
onClick: t[1] || (t[1] = (d) => e.$emit("transform")),
|
|
4680
4704
|
title: "Rotate"
|
|
4681
4705
|
}),
|
|
4682
|
-
|
|
4683
|
-
o("div",
|
|
4684
|
-
|
|
4706
|
+
wo,
|
|
4707
|
+
o("div", ko, [
|
|
4708
|
+
I(e.$slots, "body", { class: "slot" }, void 0, !0)
|
|
4685
4709
|
]),
|
|
4686
|
-
o("div",
|
|
4687
|
-
|
|
4710
|
+
o("div", _o, [
|
|
4711
|
+
I(e.$slots, "footer", {}, void 0, !0)
|
|
4688
4712
|
])
|
|
4689
4713
|
], 2);
|
|
4690
4714
|
}
|
|
4691
|
-
const
|
|
4715
|
+
const Io = /* @__PURE__ */ k(fo, [["render", Co], ["__scopeId", "data-v-243baf73"]]), So = {
|
|
4692
4716
|
name: "MinimapCompass",
|
|
4693
|
-
components: { QiNorthDirection:
|
|
4717
|
+
components: { QiNorthDirection: J },
|
|
4694
4718
|
props: {
|
|
4695
4719
|
scale: {
|
|
4696
4720
|
type: Number,
|
|
@@ -4711,7 +4735,7 @@ const go = /* @__PURE__ */ C(ao, [["render", po], ["__scopeId", "data-v-243baf73
|
|
|
4711
4735
|
}
|
|
4712
4736
|
}
|
|
4713
4737
|
};
|
|
4714
|
-
function
|
|
4738
|
+
function Ao(e, t, i, r, n, s) {
|
|
4715
4739
|
const a = u("qi-north-direction");
|
|
4716
4740
|
return l(), m("div", {
|
|
4717
4741
|
class: "minimap-compass",
|
|
@@ -4723,7 +4747,7 @@ function fo(e, t, i, r, n, s) {
|
|
|
4723
4747
|
}, null, 8, ["longitude"])
|
|
4724
4748
|
], 4);
|
|
4725
4749
|
}
|
|
4726
|
-
const
|
|
4750
|
+
const Lo = /* @__PURE__ */ k(So, [["render", Ao], ["__scopeId", "data-v-01730a31"]]), Mo = {
|
|
4727
4751
|
name: "SunsimulationSlider",
|
|
4728
4752
|
emits: ["set-background-image"],
|
|
4729
4753
|
props: {
|
|
@@ -4822,15 +4846,15 @@ const bo = /* @__PURE__ */ C(vo, [["render", fo], ["__scopeId", "data-v-01730a31
|
|
|
4822
4846
|
});
|
|
4823
4847
|
}
|
|
4824
4848
|
}
|
|
4825
|
-
},
|
|
4849
|
+
}, xo = { class: "ss-wrapper" }, Bo = { class: "slider" }, Fo = { class: "minimap-sun-slider" }, Eo = {
|
|
4826
4850
|
key: 0,
|
|
4827
4851
|
class: "time-label"
|
|
4828
4852
|
};
|
|
4829
|
-
function
|
|
4853
|
+
function Do(e, t, i, r, n, s) {
|
|
4830
4854
|
const a = u("v-progress-linear"), d = u("v-icon"), p = u("v-slider");
|
|
4831
|
-
return l(), m("div",
|
|
4832
|
-
o("div",
|
|
4833
|
-
o("div",
|
|
4855
|
+
return l(), m("div", xo, [
|
|
4856
|
+
o("div", Bo, [
|
|
4857
|
+
o("div", Fo, [
|
|
4834
4858
|
n.imagesPreloading ? (l(), y(a, {
|
|
4835
4859
|
key: 0,
|
|
4836
4860
|
indeterminate: "",
|
|
@@ -4861,12 +4885,12 @@ function _o(e, t, i, r, n, s) {
|
|
|
4861
4885
|
_: 1
|
|
4862
4886
|
}, 8, ["modelValue"]))
|
|
4863
4887
|
]),
|
|
4864
|
-
n.imagesPreloading ? f("", !0) : (l(), m("div",
|
|
4888
|
+
n.imagesPreloading ? f("", !0) : (l(), m("div", Eo, C(s.timeString) + " " + C(s.hourMarkString), 1))
|
|
4865
4889
|
])
|
|
4866
4890
|
]);
|
|
4867
4891
|
}
|
|
4868
|
-
const
|
|
4869
|
-
components: { MiniMapMap:
|
|
4892
|
+
const Oo = /* @__PURE__ */ k(Mo, [["render", Do], ["__scopeId", "data-v-86183299"]]), Uo = {
|
|
4893
|
+
components: { MiniMapMap: vo, Moveable: Io, MinimapCompass: Lo, SunsimulationSlider: Oo },
|
|
4870
4894
|
name: "MiniMapV2",
|
|
4871
4895
|
emits: ["close", "set-background-image"],
|
|
4872
4896
|
props: {
|
|
@@ -4923,7 +4947,7 @@ const So = /* @__PURE__ */ C(yo, [["render", _o], ["__scopeId", "data-v-86183299
|
|
|
4923
4947
|
}
|
|
4924
4948
|
}
|
|
4925
4949
|
};
|
|
4926
|
-
function
|
|
4950
|
+
function Ro(e, t, i, r, n, s) {
|
|
4927
4951
|
const a = u("minimap-compass"), d = u("mini-map-map"), p = u("sunsimulation-slider"), v = u("moveable");
|
|
4928
4952
|
return l(), y(v, {
|
|
4929
4953
|
onClose: t[0] || (t[0] = (w) => e.$emit("close")),
|
|
@@ -4957,7 +4981,7 @@ function Lo(e, t, i, r, n, s) {
|
|
|
4957
4981
|
_: 1
|
|
4958
4982
|
}, 8, ["onTransform"]);
|
|
4959
4983
|
}
|
|
4960
|
-
const
|
|
4984
|
+
const To = /* @__PURE__ */ k(Uo, [["render", Ro], ["__scopeId", "data-v-547d8112"]]), Vo = {
|
|
4961
4985
|
temperature: 6500,
|
|
4962
4986
|
targetLuminance: 1,
|
|
4963
4987
|
exposureFovScale: 0.3,
|
|
@@ -4966,7 +4990,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
4966
4990
|
UNREAL_BLOOOM_STRENGTH: 0.3,
|
|
4967
4991
|
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
4968
4992
|
whitePoint: [1, 1, 1]
|
|
4969
|
-
},
|
|
4993
|
+
}, Ho = {
|
|
4970
4994
|
name: "VirtualTourV2",
|
|
4971
4995
|
emits: [
|
|
4972
4996
|
"on-snapshot",
|
|
@@ -4975,20 +4999,20 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
4975
4999
|
"on-camera-update"
|
|
4976
5000
|
],
|
|
4977
5001
|
components: {
|
|
4978
|
-
|
|
4979
|
-
WaypointCarousel:
|
|
4980
|
-
InteriorSelector:
|
|
4981
|
-
Compass:
|
|
4982
|
-
SingleImage:
|
|
4983
|
-
TimeOfDay:
|
|
4984
|
-
FloorLevel:
|
|
4985
|
-
SocialShare:
|
|
4986
|
-
FullScreenButton:
|
|
4987
|
-
ViewModeToggle:
|
|
4988
|
-
MiniMapV2:
|
|
4989
|
-
Disclaimer:
|
|
4990
|
-
Tutorial:
|
|
4991
|
-
SettingsUI:
|
|
5002
|
+
Player: Le,
|
|
5003
|
+
WaypointCarousel: ce,
|
|
5004
|
+
InteriorSelector: Se,
|
|
5005
|
+
Compass: Ce,
|
|
5006
|
+
SingleImage: he,
|
|
5007
|
+
TimeOfDay: xe,
|
|
5008
|
+
FloorLevel: Ie,
|
|
5009
|
+
SocialShare: ue,
|
|
5010
|
+
FullScreenButton: de,
|
|
5011
|
+
ViewModeToggle: Fe,
|
|
5012
|
+
MiniMapV2: To,
|
|
5013
|
+
Disclaimer: le,
|
|
5014
|
+
Tutorial: Be,
|
|
5015
|
+
SettingsUI: Me
|
|
4992
5016
|
},
|
|
4993
5017
|
props: {
|
|
4994
5018
|
fileLoader: {
|
|
@@ -5034,7 +5058,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5034
5058
|
adminMode: { type: Boolean, default: () => !1 },
|
|
5035
5059
|
playerSettings: {
|
|
5036
5060
|
type: Object,
|
|
5037
|
-
default: () =>
|
|
5061
|
+
default: () => Vo
|
|
5038
5062
|
}
|
|
5039
5063
|
},
|
|
5040
5064
|
data() {
|
|
@@ -5058,11 +5082,11 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5058
5082
|
displayMinimap: !1,
|
|
5059
5083
|
minimapBackgroundImage: void 0,
|
|
5060
5084
|
showUI: !1,
|
|
5061
|
-
fullScreen: new
|
|
5085
|
+
fullScreen: new We(document, "player-wrapper")
|
|
5062
5086
|
};
|
|
5063
5087
|
},
|
|
5064
5088
|
provide() {
|
|
5065
|
-
const e = this.i18n ? new
|
|
5089
|
+
const e = this.i18n ? new E(this.i18n.labels, this.i18n.language) : new E();
|
|
5066
5090
|
return {
|
|
5067
5091
|
localMode: this.localMode,
|
|
5068
5092
|
fileLoader: this.fileLoader,
|
|
@@ -5075,7 +5099,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5075
5099
|
},
|
|
5076
5100
|
projectRoot() {
|
|
5077
5101
|
let e = `${this.cdnRoot}/${this.projectSlug}`;
|
|
5078
|
-
return this.fileLoader && (e = ""),
|
|
5102
|
+
return this.fileLoader && (e = ""), qo(e);
|
|
5079
5103
|
},
|
|
5080
5104
|
rootUrl() {
|
|
5081
5105
|
return `${this.projectRoot}/${this.interiorId}/${this.apartmentId}`;
|
|
@@ -5160,7 +5184,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5160
5184
|
},
|
|
5161
5185
|
timeOfDay() {
|
|
5162
5186
|
if (this.apartmentJSON && this.apartmentJSON.timeInHours && this.showTimeOfDay)
|
|
5163
|
-
return
|
|
5187
|
+
return No(this.apartmentJSON.timeInHours);
|
|
5164
5188
|
},
|
|
5165
5189
|
refinedMinimapBackgroundImage() {
|
|
5166
5190
|
return this.minimapBackgroundImage ? this.minimapBackgroundImage : `${this.projectRoot}/${this.interiorId}/${this.apartmentId}/minimap/sunsim0_13.jpg`;
|
|
@@ -5347,7 +5371,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5347
5371
|
this.minimapBackgroundImage = e;
|
|
5348
5372
|
},
|
|
5349
5373
|
async takeSnapshot() {
|
|
5350
|
-
const e = 180 / Math.PI, t = await this.playerApi.takePhoto(), i = this.playerApi.getRotationEuler(), r = this.playerApi.getCurrentCamera(), n = new
|
|
5374
|
+
const e = 180 / Math.PI, t = await this.playerApi.takePhoto(), i = this.playerApi.getRotationEuler(), r = this.playerApi.getCurrentCamera(), n = new to(t, r), s = [
|
|
5351
5375
|
i.x * e,
|
|
5352
5376
|
i.y * e,
|
|
5353
5377
|
i.z * e
|
|
@@ -5360,7 +5384,7 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5360
5384
|
},
|
|
5361
5385
|
async loadFile(e) {
|
|
5362
5386
|
const t = this.getURL(e);
|
|
5363
|
-
return await
|
|
5387
|
+
return await jo(t);
|
|
5364
5388
|
},
|
|
5365
5389
|
updateSetting(e) {
|
|
5366
5390
|
this.playerApi.updateSettings(e);
|
|
@@ -5369,261 +5393,276 @@ const Mo = /* @__PURE__ */ C(Ao, [["render", Lo], ["__scopeId", "data-v-b88a7da2
|
|
|
5369
5393
|
this.$emit("save-settings", e);
|
|
5370
5394
|
}
|
|
5371
5395
|
}
|
|
5372
|
-
}
|
|
5373
|
-
function
|
|
5396
|
+
};
|
|
5397
|
+
function No(e) {
|
|
5374
5398
|
if (e === void 0)
|
|
5375
5399
|
return null;
|
|
5376
5400
|
const t = Math.floor(e), i = Math.floor((t - e) * 60);
|
|
5377
5401
|
return { hours: t, minutes: i };
|
|
5378
5402
|
}
|
|
5379
|
-
async function
|
|
5403
|
+
async function jo(e) {
|
|
5380
5404
|
try {
|
|
5381
|
-
return (await
|
|
5405
|
+
return (await Re.get(e)).data;
|
|
5382
5406
|
} catch (t) {
|
|
5383
5407
|
throw console.error(t), new Error(t);
|
|
5384
5408
|
}
|
|
5385
5409
|
}
|
|
5386
|
-
function
|
|
5410
|
+
function qo(e) {
|
|
5387
5411
|
return e.replace(/\/$/, "");
|
|
5388
5412
|
}
|
|
5389
|
-
const
|
|
5413
|
+
const Po = { class: "virtual-tour-v2-wrapper" }, $o = {
|
|
5390
5414
|
key: 0,
|
|
5391
5415
|
class: "player-error"
|
|
5392
|
-
},
|
|
5416
|
+
}, zo = { class: "player-and-components-wrapper" }, Yo = { key: 1 }, Qo = {
|
|
5393
5417
|
key: 3,
|
|
5394
5418
|
class: "settings-panel"
|
|
5395
|
-
},
|
|
5419
|
+
}, Wo = {
|
|
5396
5420
|
key: 0,
|
|
5397
5421
|
class: "compass-wrapper"
|
|
5398
|
-
},
|
|
5422
|
+
}, Jo = {
|
|
5399
5423
|
key: 1,
|
|
5400
5424
|
class: "btn-placeholder mr-2"
|
|
5401
|
-
},
|
|
5425
|
+
}, Go = {
|
|
5402
5426
|
key: 2,
|
|
5403
5427
|
class: "btn-placeholder"
|
|
5404
|
-
},
|
|
5405
|
-
function
|
|
5406
|
-
const a = u("mini-map-v-2"), d = u("single-image"), p = u("v-btn"), v = u("floor-level"), w = u("settings-u-i"), S = u("disclaimer"), g = u("compass"), b = u("time-of-day"),
|
|
5407
|
-
return l(), m("div",
|
|
5408
|
-
|
|
5409
|
-
o("div",
|
|
5410
|
-
!
|
|
5428
|
+
}, Xo = { key: 0 };
|
|
5429
|
+
function Zo(e, t, i, r, n, s) {
|
|
5430
|
+
const a = u("mini-map-v-2"), d = u("single-image"), p = u("v-btn"), v = u("floor-level"), w = u("settings-u-i"), S = u("disclaimer"), g = u("compass"), b = u("time-of-day"), _ = u("tutorial"), A = u("full-screen-button"), U = u("social-share"), et = u("view-mode-toggle"), Ee = u("waypoint-carousel"), tt = u("interior-selector"), it = u("player");
|
|
5431
|
+
return l(), m("div", Po, [
|
|
5432
|
+
n.error ? (l(), m("div", $o, "Error loading the player!!")) : f("", !0),
|
|
5433
|
+
o("div", zo, [
|
|
5434
|
+
!n.fullScreen.isActive && n.minimapJSON && n.playerCamera && s.minimapCamera && n.displayMinimap ? (l(), y(a, {
|
|
5411
5435
|
key: 0,
|
|
5412
|
-
allCameras:
|
|
5413
|
-
rootUrl:
|
|
5414
|
-
level:
|
|
5415
|
-
backgroundImage:
|
|
5416
|
-
minimapJSON:
|
|
5417
|
-
rotation:
|
|
5418
|
-
currentCamera:
|
|
5419
|
-
minimapCamera:
|
|
5420
|
-
onClose: t[0] || (t[0] = (
|
|
5421
|
-
onSetBackgroundImage:
|
|
5436
|
+
allCameras: s.allCameras,
|
|
5437
|
+
rootUrl: s.rootUrl,
|
|
5438
|
+
level: s.storey,
|
|
5439
|
+
backgroundImage: s.refinedMinimapBackgroundImage,
|
|
5440
|
+
minimapJSON: n.minimapJSON.storeys,
|
|
5441
|
+
rotation: n.rotation,
|
|
5442
|
+
currentCamera: n.playerCamera,
|
|
5443
|
+
minimapCamera: s.minimapCamera,
|
|
5444
|
+
onClose: t[0] || (t[0] = (X) => n.displayMinimap = !1),
|
|
5445
|
+
onSetBackgroundImage: s.setMinimapBackgroundImage
|
|
5422
5446
|
}, null, 8, ["allCameras", "rootUrl", "level", "backgroundImage", "minimapJSON", "rotation", "currentCamera", "minimapCamera", "onSetBackgroundImage"])) : f("", !0),
|
|
5423
|
-
|
|
5424
|
-
c(
|
|
5447
|
+
s.interiorId && n.currentCameraId ? (l(), m("div", Yo, [
|
|
5448
|
+
c(it, {
|
|
5425
5449
|
ref: "player",
|
|
5426
|
-
"file-loader":
|
|
5427
|
-
style: M({ zIndex:
|
|
5428
|
-
showStaticImage:
|
|
5429
|
-
isFullScreen:
|
|
5430
|
-
rootUrl:
|
|
5431
|
-
currentCameraId:
|
|
5432
|
-
"mouse-sensitivity":
|
|
5433
|
-
"is-in-iframe":
|
|
5434
|
-
onNewCameraCallback:
|
|
5435
|
-
onNewRotationCallback:
|
|
5436
|
-
onNewFloorCallback:
|
|
5437
|
-
onNewFovCallback:
|
|
5438
|
-
onNewSizeCallback:
|
|
5439
|
-
onPlayerApiCallback:
|
|
5450
|
+
"file-loader": i.fileLoader,
|
|
5451
|
+
style: M({ zIndex: n.showStaticImage ? 1 : 2 }),
|
|
5452
|
+
showStaticImage: n.showStaticImage,
|
|
5453
|
+
isFullScreen: n.fullScreen.isActive,
|
|
5454
|
+
rootUrl: s.rootUrl,
|
|
5455
|
+
currentCameraId: n.currentCameraId,
|
|
5456
|
+
"mouse-sensitivity": i.mouseSensitivity,
|
|
5457
|
+
"is-in-iframe": i.isInIframe,
|
|
5458
|
+
onNewCameraCallback: s.newCameraCallback,
|
|
5459
|
+
onNewRotationCallback: s.newRotationCallback,
|
|
5460
|
+
onNewFloorCallback: s.newfloorCallback,
|
|
5461
|
+
onNewFovCallback: s.newFoVCallback,
|
|
5462
|
+
onNewSizeCallback: s.newSizeCallback,
|
|
5463
|
+
onPlayerApiCallback: s.playerApiCallback
|
|
5440
5464
|
}, {
|
|
5441
5465
|
"slideshow-image": h(() => [
|
|
5442
|
-
|
|
5466
|
+
n.showStaticImage ? (l(), y(d, {
|
|
5443
5467
|
key: 0,
|
|
5444
|
-
image:
|
|
5468
|
+
image: s.staticImage
|
|
5445
5469
|
}, null, 8, ["image"])) : f("", !0)
|
|
5446
5470
|
]),
|
|
5447
5471
|
"top-left": h(() => [
|
|
5448
|
-
|
|
5472
|
+
i.adminMode ? x((l(), y(p, {
|
|
5449
5473
|
key: 0,
|
|
5450
5474
|
density: "comfortable",
|
|
5451
5475
|
icon: "mdi-cog-outline",
|
|
5452
5476
|
elevation: "3",
|
|
5453
5477
|
class: "mr-2",
|
|
5454
|
-
onClick: t[1] || (t[1] = (
|
|
5478
|
+
onClick: t[1] || (t[1] = (X) => n.showSettings = !n.showSettings)
|
|
5455
5479
|
}, null, 512)), [
|
|
5456
|
-
[
|
|
5480
|
+
[B, n.showUI]
|
|
5457
5481
|
]) : f("", !0),
|
|
5458
|
-
|
|
5482
|
+
n.minimapJSON && n.currentCameraId && s.minimapCamera ? x((l(), y(p, {
|
|
5459
5483
|
key: 1,
|
|
5460
5484
|
density: "comfortable",
|
|
5461
5485
|
elevation: "3",
|
|
5462
5486
|
icon: "mdi-floor-plan",
|
|
5463
5487
|
class: "mr-2",
|
|
5464
|
-
onClick: t[2] || (t[2] = (
|
|
5488
|
+
onClick: t[2] || (t[2] = (X) => n.displayMinimap = !n.displayMinimap)
|
|
5465
5489
|
}, null, 512)), [
|
|
5466
|
-
[
|
|
5490
|
+
[B, n.showUI]
|
|
5467
5491
|
]) : f("", !0),
|
|
5468
|
-
|
|
5492
|
+
n.showUI && i.showFloorLevel && s.floorLevels.length > 1 ? (l(), y(v, {
|
|
5469
5493
|
key: 2,
|
|
5470
|
-
level:
|
|
5471
|
-
"floor-levels":
|
|
5494
|
+
level: n.floorLevel,
|
|
5495
|
+
"floor-levels": s.floorLevels
|
|
5472
5496
|
}, null, 8, ["level", "floor-levels"])) : f("", !0),
|
|
5473
|
-
|
|
5497
|
+
n.showUI && i.adminMode && n.showSettings ? (l(), m("div", Qo, [
|
|
5474
5498
|
c(w, {
|
|
5475
|
-
"project-slug":
|
|
5476
|
-
initialSettings:
|
|
5477
|
-
onUpdateSettings:
|
|
5478
|
-
onSaveSettings:
|
|
5499
|
+
"project-slug": i.projectSlug,
|
|
5500
|
+
initialSettings: i.playerSettings,
|
|
5501
|
+
onUpdateSettings: s.updateSetting,
|
|
5502
|
+
onSaveSettings: s.saveSettings
|
|
5479
5503
|
}, null, 8, ["project-slug", "initialSettings", "onUpdateSettings", "onSaveSettings"])
|
|
5480
5504
|
])) : f("", !0)
|
|
5481
5505
|
]),
|
|
5482
5506
|
"top-center": h(() => [
|
|
5483
|
-
|
|
5507
|
+
n.showUI ? (l(), y(S, {
|
|
5484
5508
|
key: 0,
|
|
5485
|
-
"return-url":
|
|
5509
|
+
"return-url": i.websiteUrl
|
|
5486
5510
|
}, null, 8, ["return-url"])) : f("", !0)
|
|
5487
5511
|
]),
|
|
5488
5512
|
"top-right": h(() => [
|
|
5489
|
-
|
|
5490
|
-
c(g, { rotation:
|
|
5513
|
+
n.apartmentJSON && i.showCompass ? x((l(), m("div", Wo, [
|
|
5514
|
+
c(g, { rotation: n.rotation }, null, 8, ["rotation"])
|
|
5491
5515
|
], 512)), [
|
|
5492
|
-
[
|
|
5516
|
+
[B, n.showUI]
|
|
5493
5517
|
]) : f("", !0),
|
|
5494
|
-
|
|
5518
|
+
n.showUI && n.apartmentJSON && s.hasTimeofDay && i.showTimeOfDay ? (l(), y(b, {
|
|
5495
5519
|
key: 1,
|
|
5496
|
-
hours:
|
|
5497
|
-
minutes:
|
|
5520
|
+
hours: s.timeOfDay.hours,
|
|
5521
|
+
minutes: s.timeOfDay.minutes
|
|
5498
5522
|
}, null, 8, ["hours", "minutes"])) : f("", !0)
|
|
5499
5523
|
]),
|
|
5500
5524
|
"center-left": h(() => [
|
|
5501
|
-
c(
|
|
5525
|
+
c(j, { name: "slide-x-transition" }, {
|
|
5502
5526
|
default: h(() => [
|
|
5503
|
-
|
|
5527
|
+
n.showStaticImage ? (l(), y(p, {
|
|
5504
5528
|
key: 0,
|
|
5505
5529
|
density: "comfortable",
|
|
5506
5530
|
elevation: "3",
|
|
5507
5531
|
icon: "mdi-chevron-left",
|
|
5508
|
-
onClick:
|
|
5532
|
+
onClick: s.previousCamera
|
|
5509
5533
|
}, null, 8, ["onClick"])) : f("", !0)
|
|
5510
5534
|
]),
|
|
5511
5535
|
_: 1
|
|
5512
5536
|
})
|
|
5513
5537
|
]),
|
|
5514
5538
|
"center-center": h(() => [
|
|
5515
|
-
c(
|
|
5516
|
-
project:
|
|
5517
|
-
onCloseTutorial: t[3] || (t[3] = (
|
|
5539
|
+
c(_, {
|
|
5540
|
+
project: s.projectRoot,
|
|
5541
|
+
onCloseTutorial: t[3] || (t[3] = (X) => n.showUI = !0)
|
|
5518
5542
|
}, null, 8, ["project"]),
|
|
5519
|
-
|
|
5543
|
+
n.fullScreen.isActive && n.minimapJSON && n.playerCamera && s.minimapCamera && n.displayMinimap ? (l(), y(a, {
|
|
5520
5544
|
key: 0,
|
|
5521
|
-
allCameras:
|
|
5522
|
-
rootUrl:
|
|
5523
|
-
minimapJSON:
|
|
5524
|
-
backgroundImage:
|
|
5525
|
-
rotation:
|
|
5526
|
-
currentCamera:
|
|
5527
|
-
minimapCamera:
|
|
5528
|
-
level:
|
|
5529
|
-
onClose: t[4] || (t[4] = (
|
|
5530
|
-
onSetBackgroundImage:
|
|
5545
|
+
allCameras: s.allCameras,
|
|
5546
|
+
rootUrl: s.rootUrl,
|
|
5547
|
+
minimapJSON: n.minimapJSON.storeys,
|
|
5548
|
+
backgroundImage: s.refinedMinimapBackgroundImage,
|
|
5549
|
+
rotation: n.rotation,
|
|
5550
|
+
currentCamera: n.playerCamera,
|
|
5551
|
+
minimapCamera: s.minimapCamera,
|
|
5552
|
+
level: s.storey,
|
|
5553
|
+
onClose: t[4] || (t[4] = (X) => n.displayMinimap = !1),
|
|
5554
|
+
onSetBackgroundImage: s.setMinimapBackgroundImage
|
|
5531
5555
|
}, null, 8, ["allCameras", "rootUrl", "minimapJSON", "backgroundImage", "rotation", "currentCamera", "minimapCamera", "level", "onSetBackgroundImage"])) : f("", !0)
|
|
5532
5556
|
]),
|
|
5533
5557
|
"center-right": h(() => [
|
|
5534
|
-
c(
|
|
5558
|
+
c(j, { name: "slide-x-reverse-transition" }, {
|
|
5535
5559
|
default: h(() => [
|
|
5536
|
-
|
|
5560
|
+
n.showStaticImage ? (l(), y(p, {
|
|
5537
5561
|
key: 0,
|
|
5538
5562
|
density: "comfortable",
|
|
5539
5563
|
elevation: "3",
|
|
5540
5564
|
icon: "mdi-chevron-right",
|
|
5541
|
-
onClick:
|
|
5565
|
+
onClick: s.nextCamera
|
|
5542
5566
|
}, null, 8, ["onClick"])) : f("", !0)
|
|
5543
5567
|
]),
|
|
5544
5568
|
_: 1
|
|
5545
5569
|
})
|
|
5546
5570
|
]),
|
|
5547
5571
|
"bottom-left": h(() => [
|
|
5548
|
-
|
|
5572
|
+
n.showUI && i.showFullScreen ? (l(), y(A, {
|
|
5549
5573
|
key: 0,
|
|
5550
|
-
isFullScreen:
|
|
5574
|
+
isFullScreen: n.fullScreen.isActive,
|
|
5551
5575
|
class: "btn-fullscreen",
|
|
5552
|
-
onToggleFullscreen:
|
|
5576
|
+
onToggleFullscreen: s.toggleFullscreen
|
|
5553
5577
|
}, null, 8, ["isFullScreen", "onToggleFullscreen"])) : f("", !0),
|
|
5554
|
-
|
|
5578
|
+
n.showUI && i.showSnapshot ? (l(), m("div", Jo, [
|
|
5555
5579
|
c(p, {
|
|
5556
5580
|
density: "comfortable",
|
|
5557
5581
|
elevation: "3",
|
|
5558
5582
|
icon: "mdi-camera",
|
|
5559
|
-
onClick:
|
|
5583
|
+
onClick: s.takeSnapshot
|
|
5560
5584
|
}, null, 8, ["onClick"])
|
|
5561
5585
|
])) : f("", !0),
|
|
5562
|
-
|
|
5586
|
+
n.showUI && i.showShare && !n.fullScreen.isActive ? (l(), m("div", Go, [
|
|
5563
5587
|
c(U)
|
|
5564
5588
|
])) : f("", !0)
|
|
5565
5589
|
]),
|
|
5566
5590
|
"bottom-center": h(() => [
|
|
5567
|
-
|
|
5568
|
-
|
|
5591
|
+
n.showUI && i.showCarousel ? (l(), m("div", Xo, [
|
|
5592
|
+
i.displayViewModeSwitch ? (l(), y(et, {
|
|
5569
5593
|
key: 0,
|
|
5570
|
-
"show-static-image":
|
|
5571
|
-
onToggle:
|
|
5594
|
+
"show-static-image": n.showStaticImage,
|
|
5595
|
+
onToggle: s.toggleViewMode
|
|
5572
5596
|
}, null, 8, ["show-static-image", "onToggle"])) : f("", !0),
|
|
5573
|
-
|
|
5597
|
+
n.showUI && n.fullScreen.isActive ? (l(), y(Ee, {
|
|
5574
5598
|
key: 1,
|
|
5575
|
-
class:
|
|
5576
|
-
thumbnails:
|
|
5577
|
-
active:
|
|
5578
|
-
onNext:
|
|
5579
|
-
onPrevious:
|
|
5580
|
-
onGoto:
|
|
5599
|
+
class: F([n.fullScreen.isActive ? "full-screen" : ""]),
|
|
5600
|
+
thumbnails: s.thumbnails,
|
|
5601
|
+
active: n.currentThumbnailIndex,
|
|
5602
|
+
onNext: s.nextCamera,
|
|
5603
|
+
onPrevious: s.previousCamera,
|
|
5604
|
+
onGoto: s.goToCamera
|
|
5581
5605
|
}, null, 8, ["class", "thumbnails", "active", "onNext", "onPrevious", "onGoto"])) : f("", !0)
|
|
5582
5606
|
])) : f("", !0)
|
|
5583
5607
|
]),
|
|
5584
5608
|
"bottom-right": h(() => [
|
|
5585
|
-
|
|
5609
|
+
n.showUI && i.showInteriorOptions && s.interiorsWithImage ? (l(), y(tt, {
|
|
5586
5610
|
key: 0,
|
|
5587
|
-
availableArchetypes:
|
|
5588
|
-
selectedIndex:
|
|
5589
|
-
onSelectInterior:
|
|
5611
|
+
availableArchetypes: s.interiorsWithImage,
|
|
5612
|
+
selectedIndex: s.selectedInteriorIndex,
|
|
5613
|
+
onSelectInterior: s.updateSelectedInterior
|
|
5590
5614
|
}, null, 8, ["availableArchetypes", "selectedIndex", "onSelectInterior"])) : f("", !0)
|
|
5591
5615
|
]),
|
|
5592
5616
|
_: 1
|
|
5593
5617
|
}, 8, ["file-loader", "style", "showStaticImage", "isFullScreen", "rootUrl", "currentCameraId", "mouse-sensitivity", "is-in-iframe", "onNewCameraCallback", "onNewRotationCallback", "onNewFloorCallback", "onNewFovCallback", "onNewSizeCallback", "onPlayerApiCallback"]),
|
|
5594
|
-
|
|
5618
|
+
i.showCarousel && n.thumbsJSON ? (l(), y(Ee, {
|
|
5595
5619
|
key: 0,
|
|
5596
|
-
thumbnails:
|
|
5597
|
-
active:
|
|
5598
|
-
onNext:
|
|
5599
|
-
onPrevious:
|
|
5600
|
-
onGoto:
|
|
5620
|
+
thumbnails: s.thumbnails,
|
|
5621
|
+
active: n.currentThumbnailIndex,
|
|
5622
|
+
onNext: s.nextCamera,
|
|
5623
|
+
onPrevious: s.previousCamera,
|
|
5624
|
+
onGoto: s.goToCamera
|
|
5601
5625
|
}, null, 8, ["thumbnails", "active", "onNext", "onPrevious", "onGoto"])) : f("", !0)
|
|
5602
5626
|
])) : f("", !0)
|
|
5603
5627
|
])
|
|
5604
5628
|
]);
|
|
5605
5629
|
}
|
|
5606
|
-
const
|
|
5630
|
+
const Ze = /* @__PURE__ */ k(Ho, [["render", Zo], ["__scopeId", "data-v-5e036d71"]]), Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5607
5631
|
__proto__: null,
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5632
|
+
Compass: Ce,
|
|
5633
|
+
Disclaimer: le,
|
|
5634
|
+
FloorLevel: Ie,
|
|
5635
|
+
FullScreenButton: de,
|
|
5636
|
+
InteriorSelector: Se,
|
|
5637
|
+
ManualSlideShow: Je,
|
|
5638
|
+
ManualSlideShowPlayer: Ae,
|
|
5639
|
+
Player: Le,
|
|
5640
|
+
QiApartmentChooser: Ye,
|
|
5641
|
+
QiApartmentChooserNavigation: fe,
|
|
5642
|
+
QiApartmentChooserRaster: Z,
|
|
5643
|
+
QiApartmentChooserRotator: ye,
|
|
5644
|
+
QiApartmentChooserSvg: K,
|
|
5645
|
+
QiBuildingChooser: Qe,
|
|
5646
|
+
QiBuildingChooserRaster: ie,
|
|
5647
|
+
QiBuildingChooserRasterOverlay: _e,
|
|
5648
|
+
QiBuildingChooserSceneImageStack: ae,
|
|
5649
|
+
QiBuildingChooserSunSimControl: re,
|
|
5650
|
+
QiBuildingChooserSvg: te,
|
|
5651
|
+
QiFloatingCard: Q,
|
|
5652
|
+
QiHoverProbe: H,
|
|
5653
|
+
QiNorthDirection: J,
|
|
5654
|
+
QiZoomBox: W,
|
|
5655
|
+
ScrollHelper: Xe,
|
|
5656
|
+
SettingsUI: Me,
|
|
5657
|
+
SingleImage: he,
|
|
5658
|
+
SocialShare: ue,
|
|
5659
|
+
TimeOfDay: xe,
|
|
5660
|
+
Tutorial: Be,
|
|
5661
|
+
ViewModeToggle: Fe,
|
|
5662
|
+
VirtualTourV2: Ze,
|
|
5663
|
+
WaypointCarousel: ce
|
|
5625
5664
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5626
|
-
class
|
|
5665
|
+
class er {
|
|
5627
5666
|
constructor(t) {
|
|
5628
5667
|
this._data = t;
|
|
5629
5668
|
}
|
|
@@ -5636,39 +5675,60 @@ class Jo {
|
|
|
5636
5675
|
return [0, 0, 0, 0];
|
|
5637
5676
|
}
|
|
5638
5677
|
}
|
|
5639
|
-
const
|
|
5640
|
-
Object.entries(
|
|
5678
|
+
const Ke = function(t) {
|
|
5679
|
+
Object.entries(Ko).forEach(([i, r]) => {
|
|
5641
5680
|
t.component(i, r);
|
|
5642
5681
|
});
|
|
5643
|
-
}
|
|
5682
|
+
}, tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5683
|
+
__proto__: null,
|
|
5684
|
+
BatchLoadTracker: ee,
|
|
5685
|
+
BuildingMap: q,
|
|
5686
|
+
BuildingPickerResourceProvider: ke,
|
|
5687
|
+
BuildingViewerModel: ze,
|
|
5688
|
+
CanvasRaster: P,
|
|
5689
|
+
Compass: Ce,
|
|
5690
|
+
DayOfYearSelector: G,
|
|
5691
|
+
Disclaimer: le,
|
|
5692
|
+
FloorLevel: Ie,
|
|
5693
|
+
FullScreenButton: de,
|
|
5694
|
+
I18N: E,
|
|
5695
|
+
InteriorSelector: Se,
|
|
5696
|
+
ManualSlideShow: Je,
|
|
5697
|
+
ManualSlideShowPlayer: Ae,
|
|
5698
|
+
Player: Le,
|
|
5699
|
+
QiApartmentChooser: Ye,
|
|
5700
|
+
QiApartmentChooserNavigation: fe,
|
|
5701
|
+
QiApartmentChooserRaster: Z,
|
|
5702
|
+
QiApartmentChooserRotator: ye,
|
|
5703
|
+
QiApartmentChooserSvg: K,
|
|
5704
|
+
QiBuildingChooser: Qe,
|
|
5705
|
+
QiBuildingChooserRaster: ie,
|
|
5706
|
+
QiBuildingChooserRasterOverlay: _e,
|
|
5707
|
+
QiBuildingChooserSceneImageStack: ae,
|
|
5708
|
+
QiBuildingChooserSunSimControl: re,
|
|
5709
|
+
QiBuildingChooserSvg: te,
|
|
5710
|
+
QiFloatingCard: Q,
|
|
5711
|
+
QiHoverProbe: H,
|
|
5712
|
+
QiNorthDirection: J,
|
|
5713
|
+
QiZoomBox: W,
|
|
5714
|
+
ResourceLoader: V,
|
|
5715
|
+
SampleRaster: er,
|
|
5716
|
+
SceneRotator: Pe,
|
|
5717
|
+
ScrollHelper: Xe,
|
|
5718
|
+
SettingsUI: Me,
|
|
5719
|
+
SingleImage: he,
|
|
5720
|
+
SocialShare: ue,
|
|
5721
|
+
TimeOfDay: xe,
|
|
5722
|
+
Tutorial: Be,
|
|
5723
|
+
ViewModeToggle: Fe,
|
|
5724
|
+
VirtualTourV2: Ze,
|
|
5725
|
+
WaypointCarousel: ce,
|
|
5726
|
+
default: Ke,
|
|
5727
|
+
throttle: ve
|
|
5728
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
5729
|
+
Object.entries(tr).forEach(([e, t]) => {
|
|
5730
|
+
e !== "default" && (Ke[e] = t);
|
|
5731
|
+
});
|
|
5644
5732
|
export {
|
|
5645
|
-
|
|
5646
|
-
z as BuildingMap,
|
|
5647
|
-
Me as BuildingPickerResourceProvider,
|
|
5648
|
-
wt as BuildingViewerModel,
|
|
5649
|
-
Y as CanvasRaster,
|
|
5650
|
-
Z as DayOfYearSelector,
|
|
5651
|
-
O as I18N,
|
|
5652
|
-
Xi as ManualSlideShow,
|
|
5653
|
-
Dt as QiApartmentChooser,
|
|
5654
|
-
Se as QiApartmentChooserNavigation,
|
|
5655
|
-
ie as QiApartmentChooserRaster,
|
|
5656
|
-
Ae as QiApartmentChooserRotator,
|
|
5657
|
-
ne as QiApartmentChooserSvg,
|
|
5658
|
-
pi as QiBuildingChooser,
|
|
5659
|
-
re as QiBuildingChooserRaster,
|
|
5660
|
-
Be as QiBuildingChooserRasterOverlay,
|
|
5661
|
-
he as QiBuildingChooserSceneImageStack,
|
|
5662
|
-
ue as QiBuildingChooserSunSimControl,
|
|
5663
|
-
oe as QiBuildingChooserSvg,
|
|
5664
|
-
J as QiFloatingCard,
|
|
5665
|
-
N as QiHoverProbe,
|
|
5666
|
-
X as QiNorthDirection,
|
|
5667
|
-
G as QiZoomBox,
|
|
5668
|
-
H as ResourceLoader,
|
|
5669
|
-
Jo as SampleRaster,
|
|
5670
|
-
tt as SceneRotator,
|
|
5671
|
-
Po as VirtualTourV2,
|
|
5672
|
-
Go as default,
|
|
5673
|
-
_e as throttle
|
|
5733
|
+
Ke as default
|
|
5674
5734
|
};
|