@qispace/vue3-player 0.3.24 → 0.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var xa = Object.defineProperty;
2
2
  var Da = (l, a, e) => a in l ? xa(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e;
3
3
  var pe = (l, a, e) => (Da(l, typeof a != "symbol" ? a + "" : a, e), e);
4
- import { defineComponent as j, ref as v, computed as B, openBlock as d, createElementBlock as x, watch as H, onMounted as Ie, onBeforeUnmount as Ne, withDirectives as we, createElementVNode as u, normalizeStyle as fe, vShow as ke, createVNode as C, Fragment as me, renderList as ye, createCommentVNode as $, inject as Ge, resolveComponent as E, withCtx as _, toDisplayString as Q, unref as D, createTextVNode as te, normalizeClass as ge, createBlock as T, renderSlot as le, provide as et, reactive as yt, watchEffect as Te, resolveDynamicComponent as Gt, normalizeProps as rt, guardReactiveProps as ut, mergeProps as Me, nextTick as De, Transition as Ee, createSlots as Aa, toRefs as Ve, pushScopeId as _t, popScopeId as bt, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
4
+ import { defineComponent as j, ref as v, computed as B, openBlock as d, createElementBlock as x, watch as H, onMounted as Ie, onBeforeUnmount as Ne, withDirectives as we, createElementVNode as u, normalizeStyle as fe, vShow as ke, createVNode as C, Fragment as me, renderList as ye, createCommentVNode as $, inject as Ge, resolveComponent as E, withCtx as b, toDisplayString as Q, unref as D, createTextVNode as te, normalizeClass as ge, createBlock as T, renderSlot as le, provide as et, reactive as yt, watchEffect as Te, resolveDynamicComponent as Gt, normalizeProps as rt, guardReactiveProps as ut, mergeProps as Me, nextTick as De, Transition as Ee, createSlots as Aa, toRefs as Ve, pushScopeId as _t, popScopeId as bt, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
5
5
  import ft from "axios";
6
6
  import * as Oa from "@qispace/player-core";
7
7
  import { Vector3 as lt, Object3D as Ea, MathUtils as Ta } from "three";
@@ -82,7 +82,7 @@ const $a = /* @__PURE__ */ j({
82
82
  },
83
83
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
84
84
  setup(l, { emit: a }) {
85
- const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), m = v(), p = v(), r = v(), f = v(-1), k = v(!1), g = v(), c = v(), h = v({}), S = v("auto"), b = v(new Fe()), y = v({}), Y = v(), O = v(), P = v(), I = v(), L = v(), Z = B(() => P.value.isHoverEnabled), R = B(() => he(
85
+ const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), m = v(), p = v(), r = v(), f = v(-1), k = v(!1), g = v(), c = v(), h = v({}), S = v("auto"), _ = v(new Fe()), y = v({}), Y = v(), O = v(), P = v(), I = v(), L = v(), Z = B(() => P.value.isHoverEnabled), R = B(() => he(
86
86
  e.cdnFileResolver,
87
87
  `/scenedata${e.viewModel.currentScene}.png`
88
88
  )), X = B(() => R.value in h.value ? h.value[R.value] : null), w = B(() => f.value < 0 ? !1 : e.sceneData.find((K) => K.index === f.value) || !1), A = B(() => ({
@@ -93,7 +93,7 @@ const $a = /* @__PURE__ */ j({
93
93
  H(
94
94
  R,
95
95
  () => {
96
- h.value[R.value] || b.value.loadImageData(R.value).then((G) => {
96
+ h.value[R.value] || _.value.loadImageData(R.value).then((G) => {
97
97
  h.value = {
98
98
  ...h.value,
99
99
  [R.value]: G
@@ -369,7 +369,7 @@ const $a = /* @__PURE__ */ j({
369
369
  const P = g(O);
370
370
  n("selectUnit", P), f.value && P && e.canGoToUnitCallback(P) ? n("goToUnit", P) : o.value = O;
371
371
  }
372
- function b(O) {
372
+ function _(O) {
373
373
  const P = g(O);
374
374
  let I = "idle";
375
375
  o.value < 0 && e.selectedUnitId && P === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value === O && (I = "hover");
@@ -418,7 +418,7 @@ const $a = /* @__PURE__ */ j({
418
418
  (d(!0), x(me, null, ye(s.value.svgObjects, ({ index: I, svg: L }) => (d(), x("g", {
419
419
  key: I,
420
420
  innerHTML: L,
421
- style: fe(b(I)),
421
+ style: fe(_(I)),
422
422
  onMouseenter: (Z) => c(I),
423
423
  onMouseleave: (Z) => h(),
424
424
  onClick: (Z) => S(I)
@@ -482,7 +482,7 @@ const $a = /* @__PURE__ */ j({
482
482
  disabled: !n.value || !p.canGoToUnitCallback(n.value),
483
483
  onClick: r[2] || (r[2] = (k) => i("goToUnit", n.value))
484
484
  }, {
485
- default: _(() => [
485
+ default: b(() => [
486
486
  n.value && p.canGoToUnitCallback(n.value) ? (d(), x("span", za, Q(D(s).getLabel("seeApartment")) + "  ", 1)) : $("", !0),
487
487
  u("span", Pa, Q(n.value ? e.unitRenderer(n.value) : "-"), 1)
488
488
  ]),
@@ -615,56 +615,56 @@ const Ga = {
615
615
  emits: ["loaded", "error", "progress"],
616
616
  setup(l, { emit: a }) {
617
617
  const e = l, n = a, t = g(), o = v(
618
- new xt(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((b) => n("progress", b)).onLoadError(() => n("error"))
618
+ new xt(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((_) => n("progress", _)).onLoadError(() => n("error"))
619
619
  ), i = v(
620
620
  new Na(e.cardinalFrames, Yt)
621
- ), s = v(t), m = v(!1), p = B(() => s.value.find((b) => b.show));
621
+ ), s = v(t), m = v(!1), p = B(() => s.value.find((_) => _.show));
622
622
  H(
623
623
  () => e.viewModel.currentScene,
624
- (b, y) => {
625
- const Y = S(y, b), O = h(y, b);
624
+ (_, y) => {
625
+ const Y = S(y, _), O = h(y, _);
626
626
  r(y, Y, O);
627
627
  }
628
628
  ), Ie(() => {
629
629
  k();
630
630
  });
631
- function r(b, y, Y) {
631
+ function r(_, y, Y) {
632
632
  e.viewModel.isRotating || (e.viewModel.isRotating = !0, f(
633
633
  i.value.start(
634
634
  y,
635
- b % st,
635
+ _ % st,
636
636
  Y
637
637
  )
638
638
  ));
639
639
  }
640
- function f(b) {
640
+ function f(_) {
641
641
  setTimeout(() => {
642
- s.value[b.frameIndex].show = !1;
643
- const y = b.nextFrame();
642
+ s.value[_.frameIndex].show = !1;
643
+ const y = _.nextFrame();
644
644
  s.value[y.frameIndex].show = !0, y.atEnd ? k() : window.requestAnimationFrame(() => f(y));
645
645
  }, 1e3 / an);
646
646
  }
647
647
  function k() {
648
- const b = i.value.startFrameIndexForScene(
648
+ const _ = i.value.startFrameIndexForScene(
649
649
  e.viewModel.currentScene % st
650
650
  );
651
- b in s.value && (s.value[b].show = !0), e.viewModel.isRotating = !1;
651
+ _ in s.value && (s.value[_].show = !0), e.viewModel.isRotating = !1;
652
652
  }
653
653
  function g() {
654
- const b = [];
654
+ const _ = [];
655
655
  for (let y = 0; y < Yt; y++) {
656
656
  const { sourceSet: Y, defaultPath: O } = c(y);
657
- b.push({
657
+ _.push({
658
658
  index: y,
659
659
  sourceSet: Y,
660
660
  defaultPath: O,
661
661
  show: !1
662
662
  });
663
663
  }
664
- return b;
664
+ return _;
665
665
  }
666
- function c(b) {
667
- const y = ("0000" + (b + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "", O = [
666
+ function c(_) {
667
+ const y = ("0000" + (_ + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "", O = [
668
668
  `${he(
669
669
  e.cdnFileResolver,
670
670
  `/480/${y}.jpg${Y}`
@@ -683,22 +683,22 @@ const Ga = {
683
683
  );
684
684
  return { sourceSet: O, defaultPath: P };
685
685
  }
686
- function h(b, y) {
687
- const Y = st / 2, O = Math.abs(b - y);
686
+ function h(_, y) {
687
+ const Y = st / 2, O = Math.abs(_ - y);
688
688
  return O > Y ? st - O : O;
689
689
  }
690
- function S(b, y) {
691
- if (b === y)
690
+ function S(_, y) {
691
+ if (_ === y)
692
692
  return 0;
693
- const O = Math.abs(b - y) < st / 2;
694
- return O && b < y || !O && b > y ? 1 : -1;
693
+ const O = Math.abs(_ - y) < st / 2;
694
+ return O && _ < y || !O && _ > y ? 1 : -1;
695
695
  }
696
- return (b, y) => {
696
+ return (_, y) => {
697
697
  const Y = E("v-icon");
698
698
  return d(), x("div", null, [
699
699
  o.value.isError ? (d(), x("div", Ga, [
700
700
  C(Y, { "x-large": "" }, {
701
- default: _(() => [
701
+ default: b(() => [
702
702
  te("mdi-alert-circle-outline")
703
703
  ]),
704
704
  _: 1
@@ -753,7 +753,7 @@ const Ga = {
753
753
  return d(), T(m, {
754
754
  origin: `top left ${o.pos.x} ${o.pos.y}`
755
755
  }, {
756
- default: _(() => [
756
+ default: b(() => [
757
757
  o.isHoverable ? (d(), x("div", {
758
758
  key: 0,
759
759
  class: "floating-card",
@@ -771,7 +771,7 @@ const Ga = {
771
771
  width: "auto",
772
772
  "onClick:outside": i[0] || (i[0] = (p) => n("outside", p))
773
773
  }, {
774
- default: _(() => [
774
+ default: b(() => [
775
775
  le(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
776
776
  ]),
777
777
  _: 3
@@ -812,10 +812,10 @@ const Ga = {
812
812
  ), H(
813
813
  () => n.mobile,
814
814
  () => {
815
- n.mobile ? b() : Y();
815
+ n.mobile ? _() : Y();
816
816
  }
817
817
  ), Ie(() => {
818
- n.desktop && S(), n.mobile && b();
818
+ n.desktop && S(), n.mobile && _();
819
819
  }), Ne(() => {
820
820
  n.desktop && y(), n.mobile && Y();
821
821
  });
@@ -832,7 +832,7 @@ const Ga = {
832
832
  capture: !0
833
833
  });
834
834
  }
835
- function b() {
835
+ function _() {
836
836
  k.value.addEventListener("touchstart", R, {
837
837
  capture: !0
838
838
  }), k.value.addEventListener("touchmove", X, {
@@ -1054,7 +1054,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1054
1054
  $e,
1055
1055
  n.i18nConfig ? new Re(n.i18nConfig) : new Re()
1056
1056
  );
1057
- const o = yt({ isReady: !1, isError: !1 }), i = v(), s = v(), m = v(), p = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), b = B(() => n.nextUnitId), y = B(() => n.prevUnitId);
1057
+ const o = yt({ isReady: !1, isError: !1 }), i = v(), s = v(), m = v(), p = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), _ = B(() => n.nextUnitId), y = B(() => n.prevUnitId);
1058
1058
  Te(() => {
1059
1059
  if (S.value && p.value) {
1060
1060
  const I = i.value[S.value];
@@ -1111,7 +1111,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1111
1111
  desktop: o.isReady && I.interactiveDesktop,
1112
1112
  mobile: o.isReady && I.interactiveMobile
1113
1113
  }, {
1114
- default: _(() => [
1114
+ default: b(() => [
1115
1115
  C(on, {
1116
1116
  "cdn-file-resolver": I.cdnFileResolver,
1117
1117
  "view-model": p.value,
@@ -1136,7 +1136,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1136
1136
  onHoverOut: P,
1137
1137
  onPos: Y
1138
1138
  }, {
1139
- default: _((R) => [
1139
+ default: b((R) => [
1140
1140
  le(I.$slots, "default", rt(ut(R)), void 0, !0)
1141
1141
  ]),
1142
1142
  _: 3
@@ -1151,7 +1151,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1151
1151
  pos: r.value,
1152
1152
  onOutside: f.value
1153
1153
  }, {
1154
- default: _(() => [
1154
+ default: b(() => [
1155
1155
  le(I.$slots, "default", {
1156
1156
  unit: k.value,
1157
1157
  canGoToUnit: I.canGoToUnitCallback(k.value),
@@ -1169,11 +1169,11 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1169
1169
  "unit-renderer": n.unitRenderer,
1170
1170
  "selected-unit-id": S.value,
1171
1171
  "prev-unit-id": y.value,
1172
- "next-unit-id": b.value,
1172
+ "next-unit-id": _.value,
1173
1173
  "view-model": p.value,
1174
1174
  onGoToUnit: L[5] || (L[5] = (R) => t("goToUnit", R)),
1175
1175
  onPrevUnit: L[6] || (L[6] = (R) => t("navUnit", y.value)),
1176
- onNextUnit: L[7] || (L[7] = (R) => t("navUnit", b.value))
1176
+ onNextUnit: L[7] || (L[7] = (R) => t("navUnit", _.value))
1177
1177
  }, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
1178
1178
  ])) : o.isError ? $("", !0) : (d(), x("div", fn, [
1179
1179
  C(Z, {
@@ -1367,12 +1367,12 @@ const An = /* @__PURE__ */ j({
1367
1367
  density: "compact",
1368
1368
  "hide-details": ""
1369
1369
  }, {
1370
- item: _(({ props: r }) => [
1370
+ item: b(({ props: r }) => [
1371
1371
  C(m, Me(r, {
1372
1372
  title: o(r.title)
1373
1373
  }), null, 16, ["title"])
1374
1374
  ]),
1375
- selection: _(({ item: r }) => [
1375
+ selection: b(({ item: r }) => [
1376
1376
  te(Q(o(r.title)), 1)
1377
1377
  ]),
1378
1378
  _: 1
@@ -1422,13 +1422,13 @@ const An = /* @__PURE__ */ j({
1422
1422
  return (m, p) => {
1423
1423
  const r = E("v-icon"), f = E("v-btn"), k = E("v-slider"), g = E("v-field");
1424
1424
  return d(), T(g, { variant: "solo" }, {
1425
- default: _(() => [
1425
+ default: b(() => [
1426
1426
  m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Ln, [
1427
1427
  C(r, {
1428
1428
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
1429
1429
  class: "py-2 ml-2 mr-2 icon"
1430
1430
  }, {
1431
- default: _(() => [
1431
+ default: b(() => [
1432
1432
  te(" mdi-white-balance-sunny ")
1433
1433
  ]),
1434
1434
  _: 1
@@ -1445,7 +1445,7 @@ const An = /* @__PURE__ */ j({
1445
1445
  disabled: !!e.disabled,
1446
1446
  "hide-details": ""
1447
1447
  }, {
1448
- prepend: _(() => [
1448
+ prepend: b(() => [
1449
1449
  C(f, {
1450
1450
  icon: o.value ? "mdi-stop" : "mdi-play",
1451
1451
  size: "x-small",
@@ -1455,14 +1455,14 @@ const An = /* @__PURE__ */ j({
1455
1455
  te("   "),
1456
1456
  u("span", Mn, Q(i(m.dayData.startTime)), 1)
1457
1457
  ]),
1458
- append: _(() => [
1458
+ append: b(() => [
1459
1459
  u("span", On, Q(i(m.dayData.endTime)), 1),
1460
1460
  te("   "),
1461
1461
  C(r, {
1462
1462
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
1463
1463
  class: "ml-2 mr-2 icon"
1464
1464
  }, {
1465
- default: _(() => [
1465
+ default: b(() => [
1466
1466
  te(" mdi-white-balance-sunny ")
1467
1467
  ]),
1468
1468
  _: 1
@@ -1501,14 +1501,14 @@ const An = /* @__PURE__ */ j({
1501
1501
  const m = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[0]), p = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[n.apartmentChooserData.scenes.length - 1]);
1502
1502
  function r() {
1503
1503
  const c = i.value;
1504
- let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) + 1;
1504
+ let h = n.apartmentChooserData.scenes.findIndex((_) => _ === c) + 1;
1505
1505
  h >= n.apartmentChooserData.scenes.length && (h = 0);
1506
1506
  const S = n.apartmentChooserData.scenes[h];
1507
1507
  n.apartmentChooserData.loopable && c > S, g(c, S);
1508
1508
  }
1509
1509
  async function f() {
1510
1510
  const c = i.value;
1511
- let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) - 1;
1511
+ let h = n.apartmentChooserData.scenes.findIndex((_) => _ === c) - 1;
1512
1512
  h < 0 && (h = n.apartmentChooserData.scenes.length - 1);
1513
1513
  const S = n.apartmentChooserData.scenes[h];
1514
1514
  n.apartmentChooserData.loopable && c < S, g(c, S);
@@ -1517,11 +1517,11 @@ const An = /* @__PURE__ */ j({
1517
1517
  const h = i.value;
1518
1518
  if (n.apartmentChooserData.loopable)
1519
1519
  if (c < h) {
1520
- let S = h - c, b = h - (n.apartmentChooserData.cameras.length + c);
1521
- return Math.abs(S) > Math.abs(b) ? g(h, c) : g(h, n.apartmentChooserData.cameras.length + c);
1520
+ let S = h - c, _ = h - (n.apartmentChooserData.cameras.length + c);
1521
+ return Math.abs(S) > Math.abs(_) ? g(h, c) : g(h, n.apartmentChooserData.cameras.length + c);
1522
1522
  } else {
1523
- let S = h - c, b = n.apartmentChooserData.cameras.length + h - c;
1524
- return Math.abs(S) > Math.abs(b) ? g(h, c) : g(n.apartmentChooserData.cameras.length + h, c);
1523
+ let S = h - c, _ = n.apartmentChooserData.cameras.length + h - c;
1524
+ return Math.abs(S) > Math.abs(_) ? g(h, c) : g(n.apartmentChooserData.cameras.length + h, c);
1525
1525
  }
1526
1526
  else
1527
1527
  return g(h, c);
@@ -1529,18 +1529,18 @@ const An = /* @__PURE__ */ j({
1529
1529
  function g(c, h) {
1530
1530
  return new Promise((S) => {
1531
1531
  o.value = !0, t("onRotateStart", { from: c, to: h });
1532
- let b, y = c;
1533
- b = setInterval(() => {
1532
+ let _, y = c;
1533
+ _ = setInterval(() => {
1534
1534
  y < h ? (y++, i.value = Math.abs(
1535
1535
  y % n.apartmentChooserData.cameras.length
1536
1536
  )) : y > h ? (y--, i.value = Math.abs(
1537
1537
  y % n.apartmentChooserData.cameras.length
1538
- )) : (clearInterval(b), t("onRotateFinish", { from: c, to: h }), o.value = !1, S());
1538
+ )) : (clearInterval(_), t("onRotateFinish", { from: c, to: h }), o.value = !1, S());
1539
1539
  }, 50);
1540
1540
  });
1541
1541
  }
1542
1542
  return (c, h) => {
1543
- const S = E("v-btn"), b = E("v-chip");
1543
+ const S = E("v-btn"), _ = E("v-chip");
1544
1544
  return d(), x(me, null, [
1545
1545
  C(S, {
1546
1546
  class: "mx-2",
@@ -1549,14 +1549,14 @@ const An = /* @__PURE__ */ j({
1549
1549
  disabled: !m.value,
1550
1550
  onClick: f
1551
1551
  }, null, 8, ["disabled"]),
1552
- c.renderDisplay && s.value ? (d(), T(b, {
1552
+ c.renderDisplay && s.value ? (d(), T(_, {
1553
1553
  key: 0,
1554
1554
  variant: "flat",
1555
1555
  color: "white",
1556
1556
  size: "large",
1557
1557
  onClick: h[0] || (h[0] = (y) => t("onDisplayClick", s.value))
1558
1558
  }, {
1559
- default: _(() => [
1559
+ default: b(() => [
1560
1560
  te(Q(c.renderDisplay(s.value)), 1)
1561
1561
  ]),
1562
1562
  _: 1
@@ -1589,14 +1589,14 @@ const An = /* @__PURE__ */ j({
1589
1589
  }
1590
1590
  ), Te(() => {
1591
1591
  for (const r in s) {
1592
- const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
1592
+ const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: _ } = e.colorCallback(r, k) || {
1593
1593
  r: 0,
1594
1594
  g: 0,
1595
1595
  b: 0,
1596
1596
  a: 0,
1597
1597
  s: 0
1598
1598
  };
1599
- f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
1599
+ f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = _.toString();
1600
1600
  }
1601
1601
  }), H(i, () => {
1602
1602
  for (const r in s)
@@ -1657,7 +1657,7 @@ const An = /* @__PURE__ */ j({
1657
1657
  });
1658
1658
  }
1659
1659
  return (r, f) => (d(), T(Ee, null, {
1660
- default: _(() => [
1660
+ default: b(() => [
1661
1661
  (d(), x("div", {
1662
1662
  ref_key: "svgContainer",
1663
1663
  ref: o,
@@ -1941,7 +1941,7 @@ const Nn = {
1941
1941
  setup(l, { emit: a }) {
1942
1942
  const e = l, n = a, t = v(), o = v(), i = v(), s = v(
1943
1943
  null
1944
- ), m = v(4), p = v(), r = v(!1), f = v(!1), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), b = v(), y = v(
1944
+ ), m = v(4), p = v(), r = v(!1), f = v(!1), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), _ = v(), y = v(
1945
1945
  e.apartmentChooserData
1946
1946
  ), Y = v(!1);
1947
1947
  Ie(() => {
@@ -1949,11 +1949,11 @@ const Nn = {
1949
1949
  }), H(r, (z) => {
1950
1950
  z && n("onInitialize");
1951
1951
  }), H(
1952
- () => b.value,
1952
+ () => _.value,
1953
1953
  () => {
1954
- b.value && new ResizeObserver(([M]) => {
1954
+ _.value && new ResizeObserver(([M]) => {
1955
1955
  Y.value = M.contentRect.width < e.mobileBreakpoint;
1956
- }).observe(b.value);
1956
+ }).observe(_.value);
1957
1957
  }
1958
1958
  );
1959
1959
  const O = B(
@@ -2085,12 +2085,12 @@ const Nn = {
2085
2085
  class: "w-100 h-100 position-relative",
2086
2086
  loading: !r.value || !y.value
2087
2087
  }, {
2088
- default: _(() => [
2088
+ default: b(() => [
2089
2089
  C(Ee, { class: "w-100 h-100" }, {
2090
- default: _(() => [
2090
+ default: b(() => [
2091
2091
  u("div", {
2092
2092
  ref_key: "container",
2093
- ref: b,
2093
+ ref: _,
2094
2094
  class: ge({ mobile: Y.value }),
2095
2095
  onMousemove: ve
2096
2096
  }, [
@@ -2145,7 +2145,7 @@ const Nn = {
2145
2145
  }, null, 8, ["longitude"])) : $("", !0)
2146
2146
  ]),
2147
2147
  C(at, { position: "relative" }, {
2148
- default: _(() => [
2148
+ default: b(() => [
2149
2149
  (d(!0), x(me, null, ye(O.value, (J) => (d(), T(kn, {
2150
2150
  key: J.overlayFilename,
2151
2151
  "camera-data": J,
@@ -2183,7 +2183,7 @@ const Nn = {
2183
2183
  "is-hoverable": c.value,
2184
2184
  pos: h.value
2185
2185
  }, {
2186
- default: _(() => [
2186
+ default: b(() => [
2187
2187
  u("div", Kn, [
2188
2188
  le(z.$slots, "popup", rt(ut({ hoverId: p.value, hoverable: c.value })), void 0, !0)
2189
2189
  ])
@@ -2271,7 +2271,7 @@ const Nn = {
2271
2271
  medium: "",
2272
2272
  class: "ml-2 mr-2 icon"
2273
2273
  }, {
2274
- default: _(() => [
2274
+ default: b(() => [
2275
2275
  te("mdi-white-balance-sunny")
2276
2276
  ]),
2277
2277
  _: 1
@@ -2388,7 +2388,7 @@ const Nn = {
2388
2388
  height: 0
2389
2389
  }), i = v({ x: 0, y: 0, width: 0, height: 0 }), s = v(), m = v(
2390
2390
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2391
- ), p = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), g = v(), c = v(), h = v(Xe.empty()), S = v(Ke.empty()), b = v(), y = B(() => b.value.isHoverEnabled);
2391
+ ), p = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), g = v(), c = v(), h = v(Xe.empty()), S = v(Ke.empty()), _ = v(), y = B(() => _.value.isHoverEnabled);
2392
2392
  H(s, (w, A) => {
2393
2393
  w ? n("hoverOverBuilding", w) : n("hoverOutBuilding", A);
2394
2394
  }), Te(() => {
@@ -2494,7 +2494,7 @@ const Nn = {
2494
2494
  const W = E("v-icon");
2495
2495
  return p.value ? (d(), x("div", co, [
2496
2496
  C(W, { "x-large": "" }, {
2497
- default: _(() => [
2497
+ default: b(() => [
2498
2498
  te("mdi-alert-circle-outline")
2499
2499
  ]),
2500
2500
  _: 1
@@ -2508,7 +2508,7 @@ const Nn = {
2508
2508
  desktop: w.interactiveDesktop,
2509
2509
  mobile: w.interactiveMobile
2510
2510
  }, {
2511
- default: _(() => [
2511
+ default: b(() => [
2512
2512
  u("div", vo, [
2513
2513
  C(Xt, {
2514
2514
  "image-urls": g.value.imageUrls,
@@ -2568,7 +2568,7 @@ const Nn = {
2568
2568
  pos: i.value,
2569
2569
  onOutside: A[3] || (A[3] = () => s.value = void 0)
2570
2570
  }, {
2571
- default: _(() => [
2571
+ default: b(() => [
2572
2572
  le(w.$slots, "default", {
2573
2573
  building: s.value,
2574
2574
  canGoToBuilding: w.canGoToBuildingCallback(s.value),
@@ -2582,7 +2582,7 @@ const Nn = {
2582
2582
  }, 8, ["is-hoverable", "pos"])) : $("", !0),
2583
2583
  C(ze, {
2584
2584
  ref_key: "hoverProbe",
2585
- ref: b
2585
+ ref: _
2586
2586
  }, null, 512)
2587
2587
  ], 4)) : $("", !0);
2588
2588
  };
@@ -2670,7 +2670,7 @@ const Nn = {
2670
2670
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2671
2671
  ), g = v(
2672
2672
  (w, A) => ({ x: w, y: A })
2673
- ), c = v(!1), h = v(), S = v(), b = v(), y = B(() => {
2673
+ ), c = v(!1), h = v(), S = v(), _ = v(), y = B(() => {
2674
2674
  var w;
2675
2675
  return (w = h.value) == null ? void 0 : w.isHoverEnabled;
2676
2676
  });
@@ -2709,8 +2709,8 @@ const Nn = {
2709
2709
  );
2710
2710
  }
2711
2711
  function I() {
2712
- if (S.value && (r.value.update(S.value), b.value))
2713
- for (const w of b.value)
2712
+ if (S.value && (r.value.update(S.value), _.value))
2713
+ for (const w of _.value)
2714
2714
  w.setupDraw();
2715
2715
  }
2716
2716
  function L(w) {
@@ -2738,7 +2738,7 @@ const Nn = {
2738
2738
  const W = E("v-icon");
2739
2739
  return c.value ? (d(), x("div", wo, [
2740
2740
  C(W, { "x-large": "" }, {
2741
- default: _(() => [
2741
+ default: b(() => [
2742
2742
  te("mdi-alert-circle-outline")
2743
2743
  ]),
2744
2744
  _: 1
@@ -2753,7 +2753,7 @@ const Nn = {
2753
2753
  mobile: w.interactiveMobile,
2754
2754
  onUpdate: X
2755
2755
  }, {
2756
- default: _(() => [
2756
+ default: b(() => [
2757
2757
  u("div", ko, [
2758
2758
  C(Xt, {
2759
2759
  "image-urls": t.value.imageUrls,
@@ -2767,7 +2767,7 @@ const Nn = {
2767
2767
  (d(!0), x(me, null, ye(m.value.buildingOverlays, (N) => (d(), T(Co, {
2768
2768
  ref_for: !0,
2769
2769
  ref_key: "overlays",
2770
- ref: b,
2770
+ ref: _,
2771
2771
  key: N.id,
2772
2772
  "image-url": N.url,
2773
2773
  dimensions: i.value,
@@ -2814,7 +2814,7 @@ const Nn = {
2814
2814
  pos: s.value,
2815
2815
  onOutside: A[3] || (A[3] = () => f.value = void 0)
2816
2816
  }, {
2817
- default: _(() => [
2817
+ default: b(() => [
2818
2818
  le(w.$slots, "default", {
2819
2819
  building: f.value,
2820
2820
  canGoToBuilding: w.canGoToBuildingCallback(f.value),
@@ -2870,7 +2870,7 @@ const Nn = {
2870
2870
  }, Aa({ _: 2 }, [
2871
2871
  ye(Object.keys(o.$slots), (s) => ({
2872
2872
  name: s,
2873
- fn: _((m) => [
2873
+ fn: b((m) => [
2874
2874
  le(o.$slots, s, rt(ut(m)))
2875
2875
  ])
2876
2876
  }))
@@ -2996,12 +2996,12 @@ const Nn = {
2996
2996
  density: "compact",
2997
2997
  "hide-details": ""
2998
2998
  }, {
2999
- item: _(({ props: r }) => [
2999
+ item: b(({ props: r }) => [
3000
3000
  C(m, Me(r, {
3001
3001
  title: o(r.title)
3002
3002
  }), null, 16, ["title"])
3003
3003
  ]),
3004
- selection: _(({ item: r }) => [
3004
+ selection: b(({ item: r }) => [
3005
3005
  te(Q(o(r.title)), 1)
3006
3006
  ]),
3007
3007
  _: 1
@@ -3050,13 +3050,13 @@ const Nn = {
3050
3050
  return (m, p) => {
3051
3051
  const r = E("v-icon"), f = E("v-btn"), k = E("v-slider"), g = E("v-field");
3052
3052
  return d(), T(g, { variant: "solo" }, {
3053
- default: _(() => [
3053
+ default: b(() => [
3054
3054
  m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Vo, [
3055
3055
  C(r, {
3056
3056
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
3057
3057
  class: "py-2 ml-2 mr-2 icon"
3058
3058
  }, {
3059
- default: _(() => [
3059
+ default: b(() => [
3060
3060
  te(" mdi-white-balance-sunny ")
3061
3061
  ]),
3062
3062
  _: 1
@@ -3072,7 +3072,7 @@ const Nn = {
3072
3072
  step: m.dayData.interval,
3073
3073
  "hide-details": ""
3074
3074
  }, {
3075
- prepend: _(() => [
3075
+ prepend: b(() => [
3076
3076
  C(f, {
3077
3077
  icon: o.value ? "mdi-stop" : "mdi-play",
3078
3078
  size: "x-small",
@@ -3082,14 +3082,14 @@ const Nn = {
3082
3082
  te("   "),
3083
3083
  u("span", $o, Q(i(m.dayData.startTime)), 1)
3084
3084
  ]),
3085
- append: _(() => [
3085
+ append: b(() => [
3086
3086
  u("span", Bo, Q(i(m.dayData.endTime)), 1),
3087
3087
  te("   "),
3088
3088
  C(r, {
3089
3089
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
3090
3090
  class: "ml-2 mr-2 icon"
3091
3091
  }, {
3092
- default: _(() => [
3092
+ default: b(() => [
3093
3093
  te(" mdi-white-balance-sunny ")
3094
3094
  ]),
3095
3095
  _: 1
@@ -3116,14 +3116,14 @@ const Nn = {
3116
3116
  const e = l, n = a, t = v(), o = v(), i = v(e.selectedId), s = yt({});
3117
3117
  Te(() => {
3118
3118
  for (const r in s) {
3119
- const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
3119
+ const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: _ } = e.colorCallback(r, k) || {
3120
3120
  r: 0,
3121
3121
  g: 0,
3122
3122
  b: 0,
3123
3123
  a: 0,
3124
3124
  s: 0
3125
3125
  };
3126
- f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
3126
+ f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = _.toString();
3127
3127
  }
3128
3128
  }), H(
3129
3129
  () => e.selectedId,
@@ -3182,7 +3182,7 @@ const Nn = {
3182
3182
  });
3183
3183
  }
3184
3184
  return (r, f) => (d(), T(Ee, null, {
3185
- default: _(() => [
3185
+ default: b(() => [
3186
3186
  (d(), x("div", {
3187
3187
  ref_key: "svgContainer",
3188
3188
  ref: o,
@@ -3320,7 +3320,7 @@ const jo = {
3320
3320
  },
3321
3321
  { immediate: !0 }
3322
3322
  );
3323
- function b(L) {
3323
+ function _(L) {
3324
3324
  const Z = o.value;
3325
3325
  t.value = L, De(() => {
3326
3326
  y(
@@ -3380,9 +3380,9 @@ const jo = {
3380
3380
  class: "w-100 h-100 position-relative",
3381
3381
  loading: !m.value || !c.value
3382
3382
  }, {
3383
- default: _(() => [
3383
+ default: b(() => [
3384
3384
  C(Ee, { class: "w-100 h-100" }, {
3385
- default: _(() => [
3385
+ default: b(() => [
3386
3386
  u("div", {
3387
3387
  ref_key: "container",
3388
3388
  ref: g,
@@ -3394,7 +3394,7 @@ const jo = {
3394
3394
  C(Eo, {
3395
3395
  "building-chooser-data": c.value,
3396
3396
  "current-camera": t.value,
3397
- onOnCameraChange: b
3397
+ onOnCameraChange: _
3398
3398
  }, null, 8, ["building-chooser-data", "current-camera"])
3399
3399
  ])) : $("", !0),
3400
3400
  u("div", No, [
@@ -3421,7 +3421,7 @@ const jo = {
3421
3421
  }, null, 8, ["longitude"])) : $("", !0)
3422
3422
  ]),
3423
3423
  C(at, { position: "relative" }, {
3424
- default: _(() => [
3424
+ default: b(() => [
3425
3425
  (d(!0), x(me, null, ye(c.value.cameras, (X) => (d(), T(Oo, {
3426
3426
  key: X.overlayFilename,
3427
3427
  "camera-data": X,
@@ -3452,7 +3452,7 @@ const jo = {
3452
3452
  "is-hoverable": r.value,
3453
3453
  pos: f.value
3454
3454
  }, {
3455
- default: _(() => [
3455
+ default: b(() => [
3456
3456
  u("div", qo, [
3457
3457
  le(L.$slots, "popup", rt(ut({ hoverId: s.value, hoverable: r.value })), void 0, !0)
3458
3458
  ])
@@ -3538,9 +3538,9 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3538
3538
  k.value = s.value;
3539
3539
  }), H([o, i], async () => {
3540
3540
  f.value && await f.value.loadInterior(
3541
- (b) => he(
3541
+ (_) => he(
3542
3542
  t.value,
3543
- `/${o.value}/${i.value}${b}`
3543
+ `/${o.value}/${i.value}${_}`
3544
3544
  ),
3545
3545
  k.value,
3546
3546
  !1
@@ -3562,8 +3562,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3562
3562
  ), H(f, () => {
3563
3563
  if (f.value) {
3564
3564
  r("playerApiCallback", f.value);
3565
- const b = f.value.getCurrentCamera();
3566
- b && (k.value = b.id, r("sunsimCallback", b.sunsimDayOfYear));
3565
+ const _ = f.value.getCurrentCamera();
3566
+ _ && (k.value = _.id, r("sunsimCallback", _.sunsimDayOfYear));
3567
3567
  }
3568
3568
  });
3569
3569
  async function h() {
@@ -3607,35 +3607,35 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3607
3607
  }
3608
3608
  return Ne(() => {
3609
3609
  S();
3610
- }), (b, y) => (d(), x("div", ll, [
3610
+ }), (_, y) => (d(), x("div", ll, [
3611
3611
  u("div", sl, [
3612
- le(b.$slots, "slideshow-image", {}, void 0, !0),
3612
+ le(_.$slots, "slideshow-image", {}, void 0, !0),
3613
3613
  u("div", il, [
3614
- le(b.$slots, "top-left", {}, void 0, !0)
3614
+ le(_.$slots, "top-left", {}, void 0, !0)
3615
3615
  ]),
3616
3616
  u("div", rl, [
3617
- le(b.$slots, "top-center", {}, void 0, !0)
3617
+ le(_.$slots, "top-center", {}, void 0, !0)
3618
3618
  ]),
3619
3619
  u("div", ul, [
3620
- le(b.$slots, "top-right", {}, void 0, !0)
3620
+ le(_.$slots, "top-right", {}, void 0, !0)
3621
3621
  ]),
3622
3622
  u("div", cl, [
3623
- le(b.$slots, "center-left", {}, void 0, !0)
3623
+ le(_.$slots, "center-left", {}, void 0, !0)
3624
3624
  ]),
3625
3625
  u("div", dl, [
3626
- le(b.$slots, "center-center", {}, void 0, !0)
3626
+ le(_.$slots, "center-center", {}, void 0, !0)
3627
3627
  ]),
3628
3628
  u("div", vl, [
3629
- le(b.$slots, "center-right", {}, void 0, !0)
3629
+ le(_.$slots, "center-right", {}, void 0, !0)
3630
3630
  ]),
3631
3631
  u("div", ml, [
3632
- le(b.$slots, "bottom-left", {}, void 0, !0)
3632
+ le(_.$slots, "bottom-left", {}, void 0, !0)
3633
3633
  ]),
3634
3634
  u("div", pl, [
3635
- le(b.$slots, "bottom-center", {}, void 0, !0)
3635
+ le(_.$slots, "bottom-center", {}, void 0, !0)
3636
3636
  ]),
3637
3637
  u("div", fl, [
3638
- le(b.$slots, "bottom-right", {}, void 0, !0)
3638
+ le(_.$slots, "bottom-right", {}, void 0, !0)
3639
3639
  ]),
3640
3640
  u("div", hl, [
3641
3641
  u("canvas", {
@@ -3672,14 +3672,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3672
3672
  right: "",
3673
3673
  attach: ""
3674
3674
  }, {
3675
- activator: _(({ props: c }) => [
3675
+ activator: b(({ props: c }) => [
3676
3676
  C(k, Me({
3677
3677
  style: { cursor: "pointer" },
3678
3678
  density: "comfortable",
3679
3679
  elevation: "1",
3680
3680
  icon: ""
3681
3681
  }, c, { onClick: p }), {
3682
- default: _(() => [
3682
+ default: b(() => [
3683
3683
  (d(), x("svg", _l, [
3684
3684
  u("path", {
3685
3685
  d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
@@ -3700,7 +3700,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3700
3700
  _: 2
3701
3701
  }, 1040)
3702
3702
  ]),
3703
- default: _(() => [
3703
+ default: b(() => [
3704
3704
  u("span", wl, Q(D(t).getLabel(i.value)) + " " + Q(D(t).getLabel("floor")), 1)
3705
3705
  ]),
3706
3706
  _: 1
@@ -3727,11 +3727,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3727
3727
  elevation: "0",
3728
3728
  attach: ""
3729
3729
  }, {
3730
- activator: _(({ props: f }) => [
3730
+ activator: b(({ props: f }) => [
3731
3731
  C(m, Me({ rounded: "" }, f, { class: "text-capitalize" }), {
3732
- default: _(() => [
3732
+ default: b(() => [
3733
3733
  C(s, null, {
3734
- default: _(() => [
3734
+ default: b(() => [
3735
3735
  te("mdi-palette-outline")
3736
3736
  ]),
3737
3737
  _: 1
@@ -3741,7 +3741,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3741
3741
  _: 2
3742
3742
  }, 1040)
3743
3743
  ]),
3744
- default: _(() => [
3744
+ default: b(() => [
3745
3745
  u("div", xl, [
3746
3746
  (d(!0), x(me, null, ye(e.availableArchetypes, (f, k) => (d(), x("div", {
3747
3747
  key: `at-menuitem-${k}`,
@@ -3847,16 +3847,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3847
3847
  return (i, s) => {
3848
3848
  const m = E("v-icon"), p = E("v-btn"), r = E("v-tooltip");
3849
3849
  return d(), T(r, { location: "top" }, {
3850
- activator: _(({ props: f }) => [
3850
+ activator: b(({ props: f }) => [
3851
3851
  C(p, Me({
3852
3852
  density: "comfortable",
3853
3853
  elevation: "1",
3854
3854
  icon: "",
3855
3855
  onClick: s[0] || (s[0] = (k) => n("toggle"))
3856
3856
  }, f), {
3857
- default: _(() => [
3857
+ default: b(() => [
3858
3858
  o.value === "virtualTour" ? (d(), x("svg", zl, Nl)) : (d(), T(m, { key: 1 }, {
3859
- default: _(() => [
3859
+ default: b(() => [
3860
3860
  te("mdi-image-multiple")
3861
3861
  ]),
3862
3862
  _: 1
@@ -3865,7 +3865,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3865
3865
  _: 2
3866
3866
  }, 1040)
3867
3867
  ]),
3868
- default: _(() => [
3868
+ default: b(() => [
3869
3869
  u("span", null, Q(D(t).getLabel(o.value)), 1)
3870
3870
  ]),
3871
3871
  _: 1
@@ -4413,18 +4413,18 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4413
4413
  e("closeTutorial", t.value);
4414
4414
  }
4415
4415
  return (m, p) => {
4416
- const r = E("v-icon"), f = E("v-card-title"), k = E("v-btn"), g = E("v-divider"), c = E("v-card-text"), h = E("v-card-actions"), S = E("v-card"), b = E("v-expand-transition"), y = E("v-checkbox");
4416
+ const r = E("v-icon"), f = E("v-card-title"), k = E("v-btn"), g = E("v-divider"), c = E("v-card-text"), h = E("v-card-actions"), S = E("v-card"), _ = E("v-expand-transition"), y = E("v-checkbox");
4417
4417
  return d(), T(Ee, { name: "fade-transition" }, {
4418
- default: _(() => [
4418
+ default: b(() => [
4419
4419
  C(S, {
4420
4420
  class: "mx-auto",
4421
4421
  elevation: "16"
4422
4422
  }, {
4423
- default: _(() => [
4423
+ default: b(() => [
4424
4424
  C(f, { class: "text-capitalize" }, {
4425
- default: _(() => [
4425
+ default: b(() => [
4426
4426
  C(r, { size: "x-small" }, {
4427
- default: _(() => [
4427
+ default: b(() => [
4428
4428
  te("mdi-alert-outline")
4429
4429
  ]),
4430
4430
  _: 1
@@ -4434,7 +4434,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4434
4434
  _: 1
4435
4435
  }),
4436
4436
  C(c, { class: "pb-0" }, {
4437
- default: _(() => [
4437
+ default: b(() => [
4438
4438
  u("p", null, Q(D(n).getLabel("disclaimerTextShort")), 1),
4439
4439
  C(k, {
4440
4440
  variant: "tonal",
@@ -4442,10 +4442,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4442
4442
  onClick: p[0] || (p[0] = (Y) => o.value = !0),
4443
4443
  class: "text-capitalize mt-2"
4444
4444
  }, {
4445
- default: _(() => [
4445
+ default: b(() => [
4446
4446
  te(Q(D(n).getLabel("learnMore")) + " ", 1),
4447
4447
  C(r, null, {
4448
- default: _(() => [
4448
+ default: b(() => [
4449
4449
  te("mdi-chevron-right")
4450
4450
  ]),
4451
4451
  _: 1
@@ -4492,20 +4492,20 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4492
4492
  ]),
4493
4493
  _: 1
4494
4494
  }),
4495
- C(b, null, {
4496
- default: _(() => [
4495
+ C(_, null, {
4496
+ default: b(() => [
4497
4497
  o.value ? (d(), T(S, {
4498
4498
  key: 0,
4499
4499
  class: "position-absolute w-100 bg-white",
4500
4500
  height: "100%",
4501
4501
  style: { bottom: "0" }
4502
4502
  }, {
4503
- default: _(() => [
4503
+ default: b(() => [
4504
4504
  C(c, { class: "pb-0" }, {
4505
- default: _(() => [
4505
+ default: b(() => [
4506
4506
  u("p", _s, [
4507
4507
  C(r, null, {
4508
- default: _(() => [
4508
+ default: b(() => [
4509
4509
  te("mdi-alert-outline")
4510
4510
  ]),
4511
4511
  _: 1
@@ -4517,16 +4517,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4517
4517
  _: 1
4518
4518
  }),
4519
4519
  C(h, null, {
4520
- default: _(() => [
4520
+ default: b(() => [
4521
4521
  C(k, {
4522
4522
  variant: "tonal",
4523
4523
  size: "small",
4524
4524
  onClick: p[1] || (p[1] = (Y) => o.value = !1),
4525
4525
  class: "text-capitalize"
4526
4526
  }, {
4527
- default: _(() => [
4527
+ default: b(() => [
4528
4528
  C(r, null, {
4529
- default: _(() => [
4529
+ default: b(() => [
4530
4530
  te("mdi-chevron-left")
4531
4531
  ]),
4532
4532
  _: 1
@@ -4551,20 +4551,20 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4551
4551
  "onUpdate:modelValue": p[2] || (p[2] = (Y) => t.value = Y),
4552
4552
  "hide-details": ""
4553
4553
  }, {
4554
- label: _(() => [
4554
+ label: b(() => [
4555
4555
  u("span", ws, Q(D(n).getLabel("dontShowAgain")), 1)
4556
4556
  ]),
4557
4557
  _: 1
4558
4558
  }, 8, ["modelValue"])
4559
4559
  ]),
4560
4560
  C(h, null, {
4561
- default: _(() => [
4561
+ default: b(() => [
4562
4562
  C(k, {
4563
4563
  variant: "tonal",
4564
4564
  onClick: p[3] || (p[3] = (Y) => s()),
4565
4565
  block: ""
4566
4566
  }, {
4567
- default: _(() => [
4567
+ default: b(() => [
4568
4568
  te(Q(D(n).getLabel("iUnderstand")), 1)
4569
4569
  ]),
4570
4570
  _: 1
@@ -4631,8 +4631,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4631
4631
  t.value = g(), n("updateSettings", o.value);
4632
4632
  }
4633
4633
  function r(c) {
4634
- const h = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, b = parseInt(c.substr(5, 2), 16) / 255;
4635
- return [h, S, b];
4634
+ const h = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, _ = parseInt(c.substr(5, 2), 16) / 255;
4635
+ return [h, S, _];
4636
4636
  }
4637
4637
  function f(c) {
4638
4638
  var h = c.toString(16);
@@ -4729,16 +4729,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4729
4729
  lut: {
4730
4730
  label: "Lut",
4731
4731
  type: "lut",
4732
- items: h.map((b) => ({
4733
- text: b,
4734
- value: `https://cdn.visuado.com/luts/${b}.png`
4732
+ items: h.map((_) => ({
4733
+ text: _,
4734
+ value: `https://cdn.visuado.com/luts/${_}.png`
4735
4735
  })),
4736
4736
  value: S.lut
4737
4737
  }
4738
4738
  };
4739
4739
  }
4740
4740
  return (c, h) => {
4741
- const S = E("v-text-field"), b = E("v-slider"), y = E("v-checkbox"), Y = E("v-btn"), O = E("v-select"), P = E("v-icon");
4741
+ const S = E("v-text-field"), _ = E("v-slider"), y = E("v-checkbox"), Y = E("v-btn"), O = E("v-select"), P = E("v-icon");
4742
4742
  return d(), x("div", xs, [
4743
4743
  u("form", Ds, [
4744
4744
  u("div", As, [
@@ -4746,7 +4746,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4746
4746
  key: Z,
4747
4747
  "d-block": ""
4748
4748
  }, [
4749
- I.type === "slider" ? (d(), T(b, {
4749
+ I.type === "slider" ? (d(), T(_, {
4750
4750
  key: 0,
4751
4751
  modelValue: t.value[L].value,
4752
4752
  "onUpdate:modelValue": (R) => t.value[L].value = R,
@@ -4755,10 +4755,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4755
4755
  min: I.min,
4756
4756
  step: I.step
4757
4757
  }, {
4758
- prepend: _(() => [
4758
+ prepend: b(() => [
4759
4759
  u("div", Fs, Q(I.label), 1)
4760
4760
  ]),
4761
- append: _(() => [
4761
+ append: b(() => [
4762
4762
  u("div", null, [
4763
4763
  C(S, {
4764
4764
  modelValue: t.value[L].value,
@@ -4783,10 +4783,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4783
4783
  "onUpdate:modelValue": (R) => t.value[L].value = R,
4784
4784
  onChange: i
4785
4785
  }, {
4786
- prepend: _(() => [
4786
+ prepend: b(() => [
4787
4787
  u("div", Ls, Q(I.label), 1)
4788
4788
  ]),
4789
- append: _(() => [
4789
+ append: b(() => [
4790
4790
  u("div", null, Q(I.value), 1)
4791
4791
  ]),
4792
4792
  _: 2
@@ -4831,7 +4831,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4831
4831
  "x-small": "",
4832
4832
  onClick: (R) => t.value[L].value = null
4833
4833
  }, {
4834
- default: _(() => [
4834
+ default: b(() => [
4835
4835
  te(" Clear Lut ")
4836
4836
  ]),
4837
4837
  _: 2
@@ -4876,7 +4876,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4876
4876
  C(Y, {
4877
4877
  onClick: h[0] || (h[0] = (I) => p())
4878
4878
  }, {
4879
- default: _(() => [
4879
+ default: b(() => [
4880
4880
  te("Reset")
4881
4881
  ]),
4882
4882
  _: 1
@@ -4885,10 +4885,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4885
4885
  class: "ml-2",
4886
4886
  onClick: h[1] || (h[1] = (I) => s())
4887
4887
  }, {
4888
- default: _(() => [
4888
+ default: b(() => [
4889
4889
  te(" Download Json "),
4890
4890
  C(P, { color: "black darken-1" }, {
4891
- default: _(() => [
4891
+ default: b(() => [
4892
4892
  te("mdi-download")
4893
4893
  ]),
4894
4894
  _: 1
@@ -4900,10 +4900,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4900
4900
  class: "ml-2",
4901
4901
  onClick: h[2] || (h[2] = (I) => m())
4902
4902
  }, {
4903
- default: _(() => [
4903
+ default: b(() => [
4904
4904
  te(" Save Settings "),
4905
4905
  C(P, { color: "black darken-1" }, {
4906
- default: _(() => [
4906
+ default: b(() => [
4907
4907
  te("mdi-save")
4908
4908
  ]),
4909
4909
  _: 1
@@ -5020,7 +5020,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5020
5020
  a.storey.position.x,
5021
5021
  a.storey.position.y,
5022
5022
  a.storey.position.z
5023
- )), b = B(() => parseFloat(c.value.floor_vertical_position)), y = B(() => g.value.map((w) => {
5023
+ )), _ = B(() => parseFloat(c.value.floor_vertical_position)), y = B(() => g.value.map((w) => {
5024
5024
  const A = w.uposition.split(","), W = new lt(
5025
5025
  Number(A[0]) - S.value.x,
5026
5026
  0,
@@ -5068,7 +5068,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5068
5068
  };
5069
5069
  }
5070
5070
  function R() {
5071
- const w = a.storey.position.y - b.value;
5071
+ const w = a.storey.position.y - _.value;
5072
5072
  o.value = 2 * (w * Math.tan(P(a.storey.fovY / 2))), t.value = 512 / 384 * o.value;
5073
5073
  const A = o.value / 2, W = t.value / 2, N = new lt(W * -1, 0, A * -1);
5074
5074
  i.value = N;
@@ -5148,8 +5148,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5148
5148
  setup(l, { emit: a }) {
5149
5149
  const e = l, n = a, t = v((/* @__PURE__ */ new Date()).getHours()), o = v(!0), i = v(!0), s = v(""), m = v(/* @__PURE__ */ new Map()), p = B(() => e.minimapJson.storeys[e.level]), r = B(() => `${Math.floor(t.value).toString().padStart(2, "0")}:00`), f = B(() => {
5150
5150
  if (p.value.sunsimFilesTimeStamps[t.value]) {
5151
- const b = p.value.sunsimFilesTimeStamps[t.value].split(" ");
5152
- return `${b[0]} ${b[1]}`;
5151
+ const _ = p.value.sunsimFilesTimeStamps[t.value].split(" ");
5152
+ return `${_[0]} ${_[1]}`;
5153
5153
  }
5154
5154
  return "";
5155
5155
  });
@@ -5157,11 +5157,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5157
5157
  s.value = await c(
5158
5158
  p.value.sunsimFiles[t.value]
5159
5159
  ), n("setBackgroundImage", s.value), i.value = !1;
5160
- const b = await g(e.minimapJson.storeys);
5161
- m.value = b, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
5160
+ const _ = await g(e.minimapJson.storeys);
5161
+ m.value = _, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
5162
5162
  }), H(t, () => {
5163
- const b = k(e.level, t.value);
5164
- n("setBackgroundImage", b);
5163
+ const _ = k(e.level, t.value);
5164
+ n("setBackgroundImage", _);
5165
5165
  }), H(
5166
5166
  () => e.level,
5167
5167
  () => {
@@ -5169,13 +5169,13 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5169
5169
  },
5170
5170
  { immediate: !0 }
5171
5171
  );
5172
- function k(b, y) {
5173
- return m.value.get(`sunsim${b}_${y}`) ? m.value.get(`sunsim${b}_${y}`) : "";
5172
+ function k(_, y) {
5173
+ return m.value.get(`sunsim${_}_${y}`) ? m.value.get(`sunsim${_}_${y}`) : "";
5174
5174
  }
5175
- async function g(b) {
5175
+ async function g(_) {
5176
5176
  let y = /* @__PURE__ */ new Map();
5177
- for (let Y = 0; Y < b.length; Y++) {
5178
- const O = b[Y].sunsimFiles;
5177
+ for (let Y = 0; Y < _.length; Y++) {
5178
+ const O = _[Y].sunsimFiles;
5179
5179
  for (let P = 0; P < O.length; P++) {
5180
5180
  const I = O[P];
5181
5181
  try {
@@ -5188,28 +5188,28 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5188
5188
  }
5189
5189
  return y;
5190
5190
  }
5191
- async function c(b) {
5191
+ async function c(_) {
5192
5192
  const Y = await (await fetch(
5193
5193
  he(
5194
5194
  e.cdnFileResolver,
5195
- `/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
5195
+ `/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${_}`
5196
5196
  )
5197
5197
  )).blob(), O = await S(Y);
5198
5198
  return h(O);
5199
5199
  }
5200
- function h(b) {
5201
- return "data:image/jpeg;base64," + b;
5200
+ function h(_) {
5201
+ return "data:image/jpeg;base64," + _;
5202
5202
  }
5203
- async function S(b) {
5203
+ async function S(_) {
5204
5204
  return new Promise((y, Y) => {
5205
5205
  const O = new FileReader();
5206
5206
  O.onload = () => {
5207
5207
  const P = O.result.split(",")[1];
5208
5208
  y(P);
5209
- }, O.onerror = Y, O.readAsDataURL(b);
5209
+ }, O.onerror = Y, O.readAsDataURL(_);
5210
5210
  });
5211
5211
  }
5212
- return (b, y) => {
5212
+ return (_, y) => {
5213
5213
  const Y = E("v-progress-linear"), O = E("v-icon"), P = E("v-slider");
5214
5214
  return d(), x("div", ui, [
5215
5215
  u("div", ci, [
@@ -5234,10 +5234,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5234
5234
  "hide-details": !0,
5235
5235
  "thumb-label": "always"
5236
5236
  }, {
5237
- prepend: _(() => [
5237
+ prepend: b(() => [
5238
5238
  u("div", vi, [
5239
5239
  C(O, { color: "#ffab02" }, {
5240
- default: _(() => [
5240
+ default: b(() => [
5241
5241
  te("mdi-white-balance-sunny")
5242
5242
  ]),
5243
5243
  _: 1
@@ -5245,7 +5245,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5245
5245
  u("span", null, Q(f.value), 1)
5246
5246
  ])
5247
5247
  ]),
5248
- "thumb-label": _(() => [
5248
+ "thumb-label": b(() => [
5249
5249
  te(Q(r.value), 1)
5250
5250
  ]),
5251
5251
  _: 1
@@ -5298,31 +5298,31 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5298
5298
  t("close");
5299
5299
  };
5300
5300
  return (h, S) => {
5301
- const b = E("v-btn");
5301
+ const _ = E("v-btn");
5302
5302
  return d(), T(qs, {
5303
5303
  ref_key: "minimapMoveable",
5304
5304
  ref: e,
5305
5305
  size: k.value
5306
5306
  }, {
5307
- "top-left": _(() => [
5307
+ "top-left": b(() => [
5308
5308
  u("div", gi, [
5309
- C(b, {
5309
+ C(_, {
5310
5310
  icon: "mdi-window-close",
5311
5311
  size: "x-small",
5312
5312
  onClick: c
5313
5313
  })
5314
5314
  ])
5315
5315
  ]),
5316
- "top-right": _(() => [
5316
+ "top-right": b(() => [
5317
5317
  u("div", yi, [
5318
- C(b, {
5318
+ C(_, {
5319
5319
  class: "rotate-icon",
5320
5320
  size: "x-small",
5321
5321
  icon: "mdi mdi-rotate-right",
5322
5322
  onClick: Ma(g, ["stop"]),
5323
5323
  title: "Rotate"
5324
5324
  }),
5325
- C(b, {
5325
+ C(_, {
5326
5326
  class: "resize-icon ml-1",
5327
5327
  icon: "mdi-image-size-select-small",
5328
5328
  size: "x-small",
@@ -5331,10 +5331,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5331
5331
  })
5332
5332
  ])
5333
5333
  ]),
5334
- header: _(() => [
5334
+ header: b(() => [
5335
5335
  _i
5336
5336
  ]),
5337
- body: _(() => [
5337
+ body: b(() => [
5338
5338
  C(ri, {
5339
5339
  scale: m.value,
5340
5340
  rotation: s.value.rotation.y,
@@ -5353,7 +5353,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5353
5353
  }, null, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey", "containerWidth", "containerHeight"])
5354
5354
  ])
5355
5355
  ]),
5356
- footer: _(() => [
5356
+ footer: b(() => [
5357
5357
  C(fi, {
5358
5358
  "cdn-file-resolver": n.cdnFileResolver,
5359
5359
  "minimap-json": n.minimapJson,
@@ -5405,7 +5405,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5405
5405
  rounded: "",
5406
5406
  flat: ""
5407
5407
  }, {
5408
- default: _(() => [
5408
+ default: b(() => [
5409
5409
  D(n).timeSamples.length > 1 ? (d(), T(f, {
5410
5410
  key: 0,
5411
5411
  class: "pa-2 pr-2",
@@ -5420,13 +5420,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5420
5420
  "thumb-color": "white",
5421
5421
  "hide-details": ""
5422
5422
  }, {
5423
- prepend: _(() => [
5423
+ prepend: b(() => [
5424
5424
  C(r, {
5425
5425
  style: { "vertical-align": "baseline", "font-size": "20px" },
5426
5426
  class: "mr-2 icon",
5427
5427
  color: "warning"
5428
5428
  }, {
5429
- default: _(() => [
5429
+ default: b(() => [
5430
5430
  te(" mdi-white-balance-sunny ")
5431
5431
  ]),
5432
5432
  _: 1
@@ -5440,7 +5440,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5440
5440
  class: "mr-2 icon",
5441
5441
  color: "warning"
5442
5442
  }, {
5443
- default: _(() => [
5443
+ default: b(() => [
5444
5444
  te(" mdi-white-balance-sunny ")
5445
5445
  ]),
5446
5446
  _: 1
@@ -5481,7 +5481,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5481
5481
  class: "sun-study-toggle text-capitalize rounded-xl",
5482
5482
  onClick: o[0] || (o[0] = (s) => e("toggleSunStudy"))
5483
5483
  }, {
5484
- default: _(() => [
5484
+ default: b(() => [
5485
5485
  te(Q(D(n).getLabel("openSunStudy")), 1)
5486
5486
  ]),
5487
5487
  _: 1
@@ -5505,7 +5505,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5505
5505
  class: ge(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
5506
5506
  onClick: o[0] || (o[0] = (m) => e("toggleAutoPlay"))
5507
5507
  }, {
5508
- default: _(() => [
5508
+ default: b(() => [
5509
5509
  C(i, {
5510
5510
  icon: t.autoplayStatus ? "mdi-pause" : "mdi-play",
5511
5511
  size: "x-large",
@@ -5570,7 +5570,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5570
5570
  le(p.$slots, "before", {}, void 0, !0),
5571
5571
  C(S, {
5572
5572
  modelValue: o.value,
5573
- "onUpdate:modelValue": r[2] || (r[2] = (b) => o.value = b),
5573
+ "onUpdate:modelValue": r[2] || (r[2] = (_) => o.value = _),
5574
5574
  class: ge({ mobileWaypoint: i.value }),
5575
5575
  "active-class": "active-apt",
5576
5576
  "selected-class": "active-apt",
@@ -5578,31 +5578,31 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5578
5578
  "center-active": "",
5579
5579
  mandatory: ""
5580
5580
  }, {
5581
- prev: _(() => [
5581
+ prev: b(() => [
5582
5582
  i.value ? $("", !0) : (d(), T(f, {
5583
5583
  key: 0,
5584
5584
  class: ge(["carousel-button", { mobile: i.value }]),
5585
5585
  icon: "mdi-chevron-left",
5586
5586
  varient: "tonal",
5587
5587
  size: "small",
5588
- onClick: r[0] || (r[0] = (b) => n("previous"))
5588
+ onClick: r[0] || (r[0] = (_) => n("previous"))
5589
5589
  }, null, 8, ["class"]))
5590
5590
  ]),
5591
- next: _(() => [
5591
+ next: b(() => [
5592
5592
  i.value ? $("", !0) : (d(), T(f, {
5593
5593
  key: 0,
5594
5594
  class: ge(["carousel-button", { mobile: i.value }]),
5595
5595
  icon: "mdi-chevron-right",
5596
5596
  varient: "tonal",
5597
5597
  size: "small",
5598
- onClick: r[1] || (r[1] = (b) => n("next"))
5598
+ onClick: r[1] || (r[1] = (_) => n("next"))
5599
5599
  }, null, 8, ["class"]))
5600
5600
  ]),
5601
- default: _(() => [
5602
- (d(!0), x(me, null, ye(p.thumbnails, (b) => (d(), T(h, {
5603
- key: b.id
5601
+ default: b(() => [
5602
+ (d(!0), x(me, null, ye(p.thumbnails, (_) => (d(), T(h, {
5603
+ key: _.id
5604
5604
  }, {
5605
- default: _(({ toggle: y, selectedClass: Y }) => [
5605
+ default: b(({ toggle: y, selectedClass: Y }) => [
5606
5606
  C(c, {
5607
5607
  class: ge(["position-relative", [
5608
5608
  i.value ? "ma-0" : "ma-1",
@@ -5612,15 +5612,15 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5612
5612
  align: "center",
5613
5613
  justify: "center",
5614
5614
  style: { overflow: "hidden" },
5615
- onClick: (O) => m(b.id, y)
5615
+ onClick: (O) => m(_.id, y)
5616
5616
  }, {
5617
- default: _(() => [
5617
+ default: b(() => [
5618
5618
  C(k, {
5619
5619
  cover: "",
5620
5620
  "aspect-ratio": 1,
5621
- src: b.thumbnailUrl
5621
+ src: _.thumbnailUrl
5622
5622
  }, null, 8, ["src"]),
5623
- e.cameraHasSunStudy(b.id) ? (d(), x("div", Ai, [
5623
+ e.cameraHasSunStudy(_.id) ? (d(), x("div", Ai, [
5624
5624
  C(g, {
5625
5625
  class: "sun-icon",
5626
5626
  icon: "mdi-white-balance-sunny"
@@ -5671,14 +5671,14 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5671
5671
  navigator.clipboard.writeText(location.href);
5672
5672
  }
5673
5673
  return (m, p) => {
5674
- const r = E("v-btn"), f = E("v-tooltip"), k = E("v-toolbar-title"), g = E("v-spacer"), c = E("v-toolbar"), h = E("v-card-text"), S = E("v-card"), b = E("v-dialog");
5674
+ const r = E("v-btn"), f = E("v-tooltip"), k = E("v-toolbar-title"), g = E("v-spacer"), c = E("v-toolbar"), h = E("v-card-text"), S = E("v-card"), _ = E("v-dialog");
5675
5675
  return d(), x("div", null, [
5676
5676
  C(f, {
5677
5677
  elevation: "2",
5678
5678
  top: "",
5679
5679
  attach: ""
5680
5680
  }, {
5681
- activator: _(({ props: y }) => [
5681
+ activator: b(({ props: y }) => [
5682
5682
  C(r, Me({
5683
5683
  density: "comfortable",
5684
5684
  elevation: "1",
@@ -5686,29 +5686,29 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5686
5686
  onClick: p[0] || (p[0] = (Y) => e.value = !e.value)
5687
5687
  }, y), null, 16)
5688
5688
  ]),
5689
- default: _(() => [
5689
+ default: b(() => [
5690
5690
  u("span", null, Q(D(a).getLabel("share")), 1)
5691
5691
  ]),
5692
5692
  _: 1
5693
5693
  }),
5694
- C(b, {
5694
+ C(_, {
5695
5695
  id: "share-box",
5696
5696
  width: "400",
5697
5697
  modelValue: e.value,
5698
5698
  "onUpdate:modelValue": p[2] || (p[2] = (y) => e.value = y)
5699
5699
  }, {
5700
- default: _(() => [
5700
+ default: b(() => [
5701
5701
  C(S, null, {
5702
- default: _(() => [
5702
+ default: b(() => [
5703
5703
  C(c, { elevation: "0" }, {
5704
- default: _(() => [
5704
+ default: b(() => [
5705
5705
  C(r, {
5706
5706
  size: "x-small",
5707
5707
  icon: "mdi-close",
5708
5708
  onClick: p[1] || (p[1] = (y) => e.value = !1)
5709
5709
  }),
5710
5710
  C(k, null, {
5711
- default: _(() => [
5711
+ default: b(() => [
5712
5712
  te(Q(D(a).getLabel("share")), 1)
5713
5713
  ]),
5714
5714
  _: 1
@@ -5718,10 +5718,10 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5718
5718
  _: 1
5719
5719
  }),
5720
5720
  C(h, { class: "mt-5" }, {
5721
- default: _(() => [
5721
+ default: b(() => [
5722
5722
  u("p", Oi, [
5723
5723
  C(f, { location: "top" }, {
5724
- activator: _(({ props: y }) => [
5724
+ activator: b(({ props: y }) => [
5725
5725
  C(r, Me({
5726
5726
  depressed: "",
5727
5727
  fab: "",
@@ -5729,13 +5729,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5729
5729
  icon: "mdi-facebook"
5730
5730
  }, y, { onClick: t }), null, 16)
5731
5731
  ]),
5732
- default: _(() => [
5732
+ default: b(() => [
5733
5733
  u("span", null, Q(D(a).getLabel("shareToFacebook")), 1)
5734
5734
  ]),
5735
5735
  _: 1
5736
5736
  }),
5737
5737
  C(f, { location: "top" }, {
5738
- activator: _(({ props: y }) => [
5738
+ activator: b(({ props: y }) => [
5739
5739
  C(r, Me({
5740
5740
  depressed: "",
5741
5741
  fab: "",
@@ -5743,13 +5743,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5743
5743
  icon: "mdi-linkedin"
5744
5744
  }, y, { onClick: i }), null, 16)
5745
5745
  ]),
5746
- default: _(() => [
5746
+ default: b(() => [
5747
5747
  u("span", null, Q(D(a).getLabel("shareToLinkedin")), 1)
5748
5748
  ]),
5749
5749
  _: 1
5750
5750
  }),
5751
5751
  C(f, { location: "top" }, {
5752
- activator: _(({ props: y }) => [
5752
+ activator: b(({ props: y }) => [
5753
5753
  C(r, Me({
5754
5754
  depressed: "",
5755
5755
  fab: "",
@@ -5757,13 +5757,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5757
5757
  icon: "mdi-twitter"
5758
5758
  }, y, { onClick: o }), null, 16)
5759
5759
  ]),
5760
- default: _(() => [
5760
+ default: b(() => [
5761
5761
  u("span", null, Q(D(a).getLabel("shareToTwitter")), 1)
5762
5762
  ]),
5763
5763
  _: 1
5764
5764
  }),
5765
5765
  C(f, { location: "top" }, {
5766
- activator: _(({ props: y }) => [
5766
+ activator: b(({ props: y }) => [
5767
5767
  C(r, Me({
5768
5768
  depressed: "",
5769
5769
  fab: "",
@@ -5773,13 +5773,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5773
5773
  href: `mailto:?body=${n.value}`
5774
5774
  }, y), null, 16, ["href"])
5775
5775
  ]),
5776
- default: _(() => [
5776
+ default: b(() => [
5777
5777
  u("span", null, Q(D(a).getLabel("shareViaEmail")), 1)
5778
5778
  ]),
5779
5779
  _: 1
5780
5780
  }),
5781
5781
  C(f, { location: "top" }, {
5782
- activator: _(({ props: y }) => [
5782
+ activator: b(({ props: y }) => [
5783
5783
  C(r, Me({
5784
5784
  depressed: "",
5785
5785
  fab: "",
@@ -5788,7 +5788,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5788
5788
  onClick: s
5789
5789
  }, y), null, 16)
5790
5790
  ]),
5791
- default: _(() => [
5791
+ default: b(() => [
5792
5792
  u("span", null, Q(D(a).getLabel("copyLink")), 1)
5793
5793
  ]),
5794
5794
  _: 1
@@ -5965,7 +5965,7 @@ const Ri = {
5965
5965
  showSnapshot: c,
5966
5966
  showShare: h,
5967
5967
  showInteriorOptions: S,
5968
- showMiniMap: b,
5968
+ showMiniMap: _,
5969
5969
  showFloorLevel: y,
5970
5970
  defaultWaypointIndex: Y,
5971
5971
  defaultViewMode: O,
@@ -6117,7 +6117,7 @@ const Ri = {
6117
6117
  const U = Y.value !== null ? Y.value : 0;
6118
6118
  se.value = U, _e.value = q.value.cameras[U].id, ue.value = q.value.cameras[U].id;
6119
6119
  }
6120
- b.value && (J.value = await ma(
6120
+ _.value && (J.value = await ma(
6121
6121
  ie.value,
6122
6122
  o.value
6123
6123
  ));
@@ -6337,13 +6337,13 @@ const Ri = {
6337
6337
  onSunsimCallback: fa,
6338
6338
  onPlayerApiCallback: _a
6339
6339
  }, {
6340
- "slideshow-image": _(() => [
6340
+ "slideshow-image": b(() => [
6341
6341
  be.value ? (d(), T($i, {
6342
6342
  key: 0,
6343
6343
  image: Ue.value
6344
6344
  }, null, 8, ["image"])) : $("", !0)
6345
6345
  ]),
6346
- "top-left": _(() => [
6346
+ "top-left": b(() => [
6347
6347
  D(I) ? (d(), T(oe, {
6348
6348
  key: 0,
6349
6349
  density: "comfortable",
@@ -6385,8 +6385,8 @@ const Ri = {
6385
6385
  }, null, 8, ["initial-settings"])
6386
6386
  ])) : $("", !0)
6387
6387
  ]),
6388
- "top-center": _(() => []),
6389
- "top-right": _(() => [
6388
+ "top-center": b(() => []),
6389
+ "top-right": b(() => [
6390
6390
  M.value && D(k) ? we((d(), x("div", Yi, [
6391
6391
  C(Vl, { rotation: Le.value }, null, 8, ["rotation"])
6392
6392
  ], 512)), [
@@ -6406,9 +6406,9 @@ const Ri = {
6406
6406
  }, null, 8, ["hours", "minutes", "style"])) : $("", !0)
6407
6407
  ])
6408
6408
  ]),
6409
- "center-left": _(() => [
6409
+ "center-left": b(() => [
6410
6410
  C(Ee, { name: "slide-x-transition" }, {
6411
- default: _(() => [
6411
+ default: b(() => [
6412
6412
  be.value ? (d(), T(oe, {
6413
6413
  key: 0,
6414
6414
  density: "comfortable",
@@ -6420,7 +6420,7 @@ const Ri = {
6420
6420
  _: 1
6421
6421
  })
6422
6422
  ]),
6423
- "center-center": _(() => [
6423
+ "center-center": b(() => [
6424
6424
  W.value ? (d(), T(Ss, {
6425
6425
  key: 0,
6426
6426
  onCloseTutorial: U[5] || (U[5] = (Se) => oa(Se))
@@ -6436,9 +6436,9 @@ const Ri = {
6436
6436
  onClose: U[6] || (U[6] = (Se) => xe.value = !1)
6437
6437
  }, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : $("", !0)
6438
6438
  ]),
6439
- "center-right": _(() => [
6439
+ "center-right": b(() => [
6440
6440
  C(Ee, { name: "slide-x-reverse-transition" }, {
6441
- default: _(() => [
6441
+ default: b(() => [
6442
6442
  be.value ? (d(), T(oe, {
6443
6443
  key: 0,
6444
6444
  density: "comfortable",
@@ -6450,7 +6450,7 @@ const Ri = {
6450
6450
  _: 1
6451
6451
  })
6452
6452
  ]),
6453
- "bottom-left": _(() => [
6453
+ "bottom-left": b(() => [
6454
6454
  D(g) ? (d(), T(ea, {
6455
6455
  key: 0,
6456
6456
  "is-full-screen": K.value.isActive,
@@ -6476,9 +6476,9 @@ const Ri = {
6476
6476
  C(Kt)
6477
6477
  ])) : $("", !0)
6478
6478
  ]),
6479
- "bottom-center": _(() => [
6479
+ "bottom-center": b(() => [
6480
6480
  C(Ee, null, {
6481
- default: _(() => [
6481
+ default: b(() => [
6482
6482
  u("div", null, [
6483
6483
  u("div", {
6484
6484
  class: ge(["d-flex justify-center", {
@@ -6511,7 +6511,7 @@ const Ri = {
6511
6511
  onPrevious: kt,
6512
6512
  onGoto: St
6513
6513
  }, {
6514
- before: _(() => [
6514
+ before: b(() => [
6515
6515
  F.enableAutoplay && G.value && !je.value ? (d(), T(jt, {
6516
6516
  key: 0,
6517
6517
  autoplayStatus: Ye.value,
@@ -6525,7 +6525,7 @@ const Ri = {
6525
6525
  _: 1
6526
6526
  })
6527
6527
  ]),
6528
- "bottom-right": _(() => [
6528
+ "bottom-right": b(() => [
6529
6529
  u("div", Wi, [
6530
6530
  G.value && D(S) && Be.value ? (d(), T(Ol, {
6531
6531
  key: 0,
@@ -6539,7 +6539,7 @@ const Ri = {
6539
6539
  _: 1
6540
6540
  }, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
6541
6541
  C(Ee, null, {
6542
- default: _(() => [
6542
+ default: b(() => [
6543
6543
  D(r) && q.value && je.value && G.value ? (d(), T(gt, {
6544
6544
  key: 0,
6545
6545
  class: "waypoint-carousel below-player",
@@ -6550,7 +6550,7 @@ const Ri = {
6550
6550
  onPrevious: kt,
6551
6551
  onGoto: St
6552
6552
  }, {
6553
- before: _(() => [
6553
+ before: b(() => [
6554
6554
  F.enableAutoplay && G.value ? (d(), T(jt, {
6555
6555
  key: 0,
6556
6556
  autoplayStatus: Ye.value,
@@ -6700,19 +6700,19 @@ const Ri = {
6700
6700
  C(rr, {
6701
6701
  "is-full-screen": n.value.isActive
6702
6702
  }, {
6703
- "slideshow-image": _(() => [
6703
+ "slideshow-image": b(() => [
6704
6704
  u("div", dr, [
6705
6705
  C(k, {
6706
6706
  src: o.value.thumbnailUrl
6707
6707
  }, null, 8, ["src"])
6708
6708
  ])
6709
6709
  ]),
6710
- "top-left": _(() => []),
6711
- "top-center": _(() => []),
6712
- "top-right": _(() => []),
6713
- "center-left": _(() => [
6710
+ "top-left": b(() => []),
6711
+ "top-center": b(() => []),
6712
+ "top-right": b(() => []),
6713
+ "center-left": b(() => [
6714
6714
  C(Ee, { name: "slide-x-transition" }, {
6715
- default: _(() => [
6715
+ default: b(() => [
6716
6716
  t.value.length > 1 ? (d(), T(g, {
6717
6717
  key: 0,
6718
6718
  density: "comfortable",
@@ -6724,10 +6724,10 @@ const Ri = {
6724
6724
  _: 1
6725
6725
  })
6726
6726
  ]),
6727
- "center-center": _(() => []),
6728
- "center-right": _(() => [
6727
+ "center-center": b(() => []),
6728
+ "center-right": b(() => [
6729
6729
  C(Ee, { name: "slide-x-reverse-transition" }, {
6730
- default: _(() => [
6730
+ default: b(() => [
6731
6731
  t.value.length > 1 ? (d(), T(g, {
6732
6732
  key: 0,
6733
6733
  density: "comfortable",
@@ -6739,7 +6739,7 @@ const Ri = {
6739
6739
  _: 1
6740
6740
  })
6741
6741
  ]),
6742
- "bottom-left": _(() => [
6742
+ "bottom-left": b(() => [
6743
6743
  r.showFullScreen ? (d(), T(ea, {
6744
6744
  key: 0,
6745
6745
  "is-full-screen": n.value.isActive,
@@ -6750,7 +6750,7 @@ const Ri = {
6750
6750
  C(Kt)
6751
6751
  ])) : $("", !0)
6752
6752
  ]),
6753
- "bottom-center": _(() => [
6753
+ "bottom-center": b(() => [
6754
6754
  u("div", null, [
6755
6755
  n.value.isActive && t.value.length > 1 ? (d(), T(gt, {
6756
6756
  key: 0,
@@ -6763,7 +6763,7 @@ const Ri = {
6763
6763
  }, null, 8, ["class", "thumbnails", "active"])) : $("", !0)
6764
6764
  ])
6765
6765
  ]),
6766
- "bottom-right": _(() => []),
6766
+ "bottom-right": b(() => []),
6767
6767
  _: 1
6768
6768
  }, 8, ["is-full-screen"]),
6769
6769
  t.value.length > 1 ? (d(), T(gt, {
@@ -6894,13 +6894,13 @@ const Sr = {
6894
6894
  const f = E("v-btn"), k = E("v-field"), g = E("v-list-item-title"), c = E("v-list-item"), h = E("v-list"), S = E("v-menu");
6895
6895
  return D(t).sunsimDayOfYear && D(t).sunsimDayOfYear.length > 0 ? (d(), x("div", Sr, [
6896
6896
  C(S, null, {
6897
- activator: _(({ props: b }) => [
6897
+ activator: b(({ props: _ }) => [
6898
6898
  C(k, {
6899
6899
  variant: "solo-filled",
6900
6900
  rounded: "",
6901
6901
  flat: ""
6902
6902
  }, {
6903
- default: _(() => [
6903
+ default: b(() => [
6904
6904
  C(f, Me({
6905
6905
  variant: "text",
6906
6906
  rounded: "",
@@ -6910,8 +6910,8 @@ const Sr = {
6910
6910
  "append-icon": D(t).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
6911
6911
  disabled: D(i),
6912
6912
  size: D(n) ? "small" : void 0
6913
- }, b), {
6914
- default: _(() => [
6913
+ }, _), {
6914
+ default: b(() => [
6915
6915
  te(Q(D(Wt)(m.value)), 1)
6916
6916
  ]),
6917
6917
  _: 2
@@ -6920,18 +6920,18 @@ const Sr = {
6920
6920
  _: 2
6921
6921
  }, 1024)
6922
6922
  ]),
6923
- default: _(() => [
6923
+ default: b(() => [
6924
6924
  C(h, null, {
6925
- default: _(() => [
6926
- (d(!0), x(me, null, ye(D(t).sunsimDayOfYear, (b, y) => (d(), T(c, {
6925
+ default: b(() => [
6926
+ (d(!0), x(me, null, ye(D(t).sunsimDayOfYear, (_, y) => (d(), T(c, {
6927
6927
  key: y,
6928
6928
  value: y,
6929
- onClick: (Y) => m.value = b.dayOfYear
6929
+ onClick: (Y) => m.value = _.dayOfYear
6930
6930
  }, {
6931
- default: _(() => [
6931
+ default: b(() => [
6932
6932
  C(g, null, {
6933
- default: _(() => [
6934
- te(Q(D(Wt)(b.dayOfYear)), 1)
6933
+ default: b(() => [
6934
+ te(Q(D(Wt)(_.dayOfYear)), 1)
6935
6935
  ]),
6936
6936
  _: 2
6937
6937
  }, 1024)
@@ -7017,7 +7017,7 @@ const Sr = {
7017
7017
  color: "warning",
7018
7018
  style: { opacity: "0.6" }
7019
7019
  }, {
7020
- default: _(() => [
7020
+ default: b(() => [
7021
7021
  te(" mdi-white-balance-sunny ")
7022
7022
  ]),
7023
7023
  _: 1
@@ -7074,7 +7074,7 @@ const Sr = {
7074
7074
  rounded: "",
7075
7075
  flat: ""
7076
7076
  }, {
7077
- default: _(() => [
7077
+ default: b(() => [
7078
7078
  D(t).timeSamples.length > 1 ? (d(), T(k, {
7079
7079
  key: 0,
7080
7080
  class: "pa-2 pr-2",
@@ -7089,13 +7089,13 @@ const Sr = {
7089
7089
  "thumb-color": "white",
7090
7090
  "hide-details": ""
7091
7091
  }, {
7092
- prepend: _(() => [
7092
+ prepend: b(() => [
7093
7093
  C(f, {
7094
7094
  style: { "vertical-align": "baseline", "font-size": "20px" },
7095
7095
  class: "mr-2 icon",
7096
7096
  color: "warning"
7097
7097
  }, {
7098
- default: _(() => [
7098
+ default: b(() => [
7099
7099
  te(" mdi-white-balance-sunny ")
7100
7100
  ]),
7101
7101
  _: 1
@@ -7109,7 +7109,7 @@ const Sr = {
7109
7109
  class: "mr-2 icon",
7110
7110
  color: "warning"
7111
7111
  }, {
7112
- default: _(() => [
7112
+ default: b(() => [
7113
7113
  te(" mdi-white-balance-sunny ")
7114
7114
  ]),
7115
7115
  _: 1
@@ -7162,6 +7162,7 @@ const Sr = {
7162
7162
  }), Hr = ["innerHTML"], Yr = /* @__PURE__ */ j({
7163
7163
  __name: "VStructureChooserOverlay",
7164
7164
  props: {
7165
+ activeStructureIds: {},
7165
7166
  cdnFileResolver: { type: [String, Function] },
7166
7167
  colorCallback: { type: Function },
7167
7168
  currentCamera: {},
@@ -7172,18 +7173,18 @@ const Sr = {
7172
7173
  const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } = Ve(e), s = a, m = v(), p = v(), r = yt({});
7173
7174
  Te(() => {
7174
7175
  for (const g in r) {
7175
- const { element: c, state: h } = r[g], { r: S, g: b, b: y, a: Y, s: O } = t.value(g, h) || {
7176
+ const { element: c, state: h } = r[g], { r: S, g: _, b: y, a: Y, s: O } = t.value(g, h) || {
7176
7177
  r: 0,
7177
7178
  g: 0,
7178
7179
  b: 0,
7179
7180
  a: 0,
7180
7181
  s: 0
7181
7182
  };
7182
- c.style.fill = `rgba(${S}, ${b}, ${y}, ${Y / 255})`, c.style.stroke = `rgb(${S}, ${b}, ${y})`, c.style.strokeWidth = O.toString();
7183
+ c.style.fill = `rgba(${S}, ${_}, ${y}, ${Y / 255})`, c.style.stroke = `rgb(${S}, ${_}, ${y})`, c.style.strokeWidth = O.toString(), c.style.cursor = "pointer";
7183
7184
  }
7184
7185
  }), H(i, () => {
7185
7186
  for (const g in r)
7186
- r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected");
7187
+ r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected", console.log(g));
7187
7188
  }), Te(async () => {
7188
7189
  try {
7189
7190
  m.value = await Fe.loadText(
@@ -7226,19 +7227,19 @@ const Sr = {
7226
7227
  if (g) {
7227
7228
  s("updateSvgContainer", g), f();
7228
7229
  let h, S = "data-structure-id";
7229
- h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = g.querySelectorAll(`[${S}]`))), h.forEach((b) => {
7230
- b.style.strokeWidth = "0", b.style.stroke = "rgba(255,255,255,0)", b.style.fill = "rgba(255,255,255,0)", b.querySelectorAll("path").forEach((Y) => {
7230
+ h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = g.querySelectorAll(`[${S}]`))), h.forEach((_) => {
7231
+ _.style.strokeWidth = "0", _.style.stroke = "rgba(255,255,255,0)", _.style.fill = "rgba(255,255,255,0)", _.querySelectorAll("path").forEach((Y) => {
7231
7232
  Y.style.stroke = "inherit", Y.style.fill = "inherit";
7232
7233
  });
7233
- const y = b.getAttribute(S);
7234
+ const y = _.getAttribute(S);
7234
7235
  r[y] = {
7235
- element: b,
7236
+ element: _,
7236
7237
  state: i.value === y ? "selected" : "idle"
7237
- }, b.addEventListener("mouseover", () => {
7238
+ }, e.activeStructureIds && !e.activeStructureIds.includes(y) && (_.style.display = "none"), _.addEventListener("mouseover", () => {
7238
7239
  r[y].state === "idle" && (r[y].state = "hover"), s("onHoverOver", y);
7239
- }), b.addEventListener("mouseout", () => {
7240
+ }), _.addEventListener("mouseout", () => {
7240
7241
  r[y].state === "hover" && (r[y].state = "idle"), s("onHoverOut", y);
7241
- }), b.addEventListener("click", () => {
7242
+ }), _.addEventListener("click", () => {
7242
7243
  s("onClick", y);
7243
7244
  });
7244
7245
  });
@@ -7246,12 +7247,12 @@ const Sr = {
7246
7247
  });
7247
7248
  }
7248
7249
  return (g, c) => (d(), T(Ee, null, {
7249
- default: _(() => [
7250
+ default: b(() => [
7250
7251
  (d(), x("div", {
7251
7252
  ref_key: "svgContainer",
7252
7253
  ref: p,
7253
7254
  key: D(o).overlayFilename,
7254
- class: "w-100 h-100 position-absolute top-left",
7255
+ class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
7255
7256
  style: { "z-index": "5" },
7256
7257
  innerHTML: m.value
7257
7258
  }, null, 8, Hr))
@@ -7259,7 +7260,7 @@ const Sr = {
7259
7260
  _: 1
7260
7261
  }));
7261
7262
  }
7262
- }), zr = /* @__PURE__ */ ee(Yr, [["__scopeId", "data-v-45a214c3"]]);
7263
+ }), zr = /* @__PURE__ */ ee(Yr, [["__scopeId", "data-v-84796dea"]]);
7263
7264
  function Pr(l) {
7264
7265
  if (!l)
7265
7266
  return !1;
@@ -7570,7 +7571,8 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7570
7571
  mobileBreakpoint: { default: 600 },
7571
7572
  version: {},
7572
7573
  showVersion: { type: Boolean, default: !0 },
7573
- showUi: { type: Boolean, default: !0 }
7574
+ showUi: { type: Boolean, default: !0 },
7575
+ activeStructureIds: {}
7574
7576
  },
7575
7577
  emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onInitialize", "onError"],
7576
7578
  setup(l, { emit: a }) {
@@ -7590,7 +7592,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7590
7592
  $e,
7591
7593
  i.value ? new Re(i.value) : new Re()
7592
7594
  );
7593
- const c = v(), h = v(), S = v(), b = v(null), y = v(4), Y = v(), O = v(!1), P = v(!1), I = v(), L = B(() => I.value.isHoverEnabled), Z = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), X = v(), w = v(), A = v(!1), W = v(), N = v({
7595
+ const c = v(), h = v(), S = v(), _ = v(null), y = v(4), Y = v(), O = v(!1), P = v(!1), I = v(), L = B(() => I.value.isHoverEnabled), Z = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), X = v(), w = v(), A = v(!1), W = v(), N = v({
7594
7596
  current: 100,
7595
7597
  min: 100,
7596
7598
  max: 1e3
@@ -7659,11 +7661,11 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7659
7661
  );
7660
7662
  }
7661
7663
  function J(V) {
7662
- y.value = V, At(w.value.cameras[y.value]) ? b.value = w.value.cameras[y.value] : (De(() => {
7664
+ y.value = V, At(w.value.cameras[y.value]) ? _.value = w.value.cameras[y.value] : (De(() => {
7663
7665
  re(
7664
7666
  w.value.cameras[y.value]
7665
7667
  );
7666
- }), b.value = null);
7668
+ }), _.value = null);
7667
7669
  }
7668
7670
  function re(V) {
7669
7671
  const ae = h.value;
@@ -7780,9 +7782,9 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7780
7782
  class: "w-100 h-100 position-relative",
7781
7783
  loading: !O.value || !w.value
7782
7784
  }, {
7783
- default: _(() => [
7785
+ default: b(() => [
7784
7786
  C(Ee, { class: "w-100 h-100" }, {
7785
- default: _(() => [
7787
+ default: b(() => [
7786
7788
  u("div", {
7787
7789
  ref_key: "container",
7788
7790
  ref: X,
@@ -7840,7 +7842,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7840
7842
  position: "relative",
7841
7843
  onUpdate: He
7842
7844
  }, {
7843
- default: _(() => [
7845
+ default: b(() => [
7844
7846
  (d(!0), x(me, null, ye(z.value, (de, ne) => (d(), T(br, {
7845
7847
  key: `camera${ne}`,
7846
7848
  "camera-data": de,
@@ -7853,7 +7855,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7853
7855
  key: `transition${ne}`,
7854
7856
  "transition-data": de,
7855
7857
  "cdn-file-resolver": D(t),
7856
- "current-transition": b.value
7858
+ "current-transition": _.value
7857
7859
  }, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
7858
7860
  D(s) ? (d(), x("div", {
7859
7861
  key: 0,
@@ -7867,13 +7869,14 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7867
7869
  "color-callback": D(o),
7868
7870
  "current-camera": c.value,
7869
7871
  "selected-id": D(m),
7872
+ activeStructureIds: V.activeStructureIds ? V.activeStructureIds : void 0,
7870
7873
  onOnClick: _e,
7871
7874
  onOnHoverOver: ue,
7872
7875
  onOnHoverOut: Le,
7873
7876
  onUpdateSvgContainer: ae[2] || (ae[2] = (de) => R.value = de),
7874
7877
  onOnError: G
7875
- }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
7876
- [ke, b.value === null]
7878
+ }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
7879
+ [ke, _.value === null]
7877
7880
  ]) : $("", !0)
7878
7881
  ]),
7879
7882
  _: 1
@@ -7907,7 +7910,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7907
7910
  "is-hoverable": L.value,
7908
7911
  pos: Z.value
7909
7912
  }, {
7910
- default: _(() => [
7913
+ default: b(() => [
7911
7914
  u("div", qr, [
7912
7915
  le(V.$slots, "popup", rt(ut({ hoverId: Y.value, hoverable: L.value })), void 0, !0)
7913
7916
  ])
@@ -7929,7 +7932,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7929
7932
  ], 64);
7930
7933
  };
7931
7934
  }
7932
- }), Kr = /* @__PURE__ */ ee(Xr, [["__scopeId", "data-v-b6ee829a"]]), su = {
7935
+ }), Kr = /* @__PURE__ */ ee(Xr, [["__scopeId", "data-v-f751f6b1"]]), su = {
7933
7936
  install: function(a) {
7934
7937
  a.component("VApartmentChooser", yn), a.component("VBuildingChooser", Do), a.component("VVirtualTour", Zi), a.component("VManualSlideShow", pr), a.component("VStructureChooser", Kr);
7935
7938
  }