@expofp/floorplan 3.45.13 → 3.45.15

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.
Files changed (90) hide show
  1. package/dist/browser/{Button-RHSLdZ8P.js → Button-DJxJh5jY.js} +5 -5
  2. package/dist/browser/{CookieConsent-tlDN9k4r.js → CookieConsent-BsKTCWg-.js} +7 -7
  3. package/dist/browser/{Debug-8l7GSED6.js → Debug-BjgF_Kna.js} +7 -7
  4. package/dist/browser/{DebugTools-ipof0w8h.js → DebugTools-CwpPMOcc.js} +6 -6
  5. package/dist/browser/{Demo-CwZivFF-.js → Demo-CaqwJvIf.js} +9 -9
  6. package/dist/browser/{Free-D4gNZ4RA.js → Free-DbR2BtL0.js} +10 -10
  7. package/dist/browser/{GalleryContainer-B8L8n_4E.js → GalleryContainer-D1w5d5e5.js} +11 -11
  8. package/dist/browser/{GpsLoader-u9Gln6H7.js → GpsLoader-BN3fD-xT.js} +13 -13
  9. package/dist/browser/{KioskStore-BWf8YM7M.js → KioskStore-D5wg-oqG.js} +9 -9
  10. package/dist/browser/{LayerStore-CrWyrBRa.js → LayerStore-D4A4Uz8J.js} +367 -397
  11. package/dist/browser/{MaplibreAdapter-Cd-gdHxM.js → MaplibreAdapter-qMMg1G4M.js} +17 -17
  12. package/dist/browser/{ModalContainer-DVKprzvo.js → ModalContainer-B5rAhuJK.js} +10 -10
  13. package/dist/browser/{PermissionNotice-BMQHGUs9.js → PermissionNotice-6SQ1nWgS.js} +6 -6
  14. package/dist/browser/{RouteStore-BiUI1Uef.js → RouteStore-Dl9ofk88.js} +9 -9
  15. package/dist/browser/{SetKioskMode-Bt9Ap5HU.js → SetKioskMode-MXSLkf8N.js} +11 -11
  16. package/dist/browser/{ShowKiosk-rsxj5Ort.js → ShowKiosk-Bj95Uldf.js} +10 -10
  17. package/dist/browser/{UIState-DgWaz-eQ.js → UIState-BqS8ZHsB.js} +12 -12
  18. package/dist/browser/{ViewerMenuPanel-6oBbHGtm.js → ViewerMenuPanel-BaWHqzps.js} +10 -10
  19. package/dist/browser/{add-debug-secret-listener-CrdHdOJy.js → add-debug-secret-listener-YEUxcr1j.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-zscIy9Gm.js → adopt-global-settings-w9pmM1xk.js} +9 -9
  21. package/dist/browser/{boolean-editor-CKqy8Ity.js → boolean-editor-zW3D6jsO.js} +9 -9
  22. package/dist/browser/{bootIntercom-B98qYnKB.js → bootIntercom-BI17ZsUs.js} +2 -2
  23. package/dist/browser/bundle.json +85 -85
  24. package/dist/browser/{camera-events-CT_HBink.js → camera-events-83HzWM2T.js} +1 -1
  25. package/dist/browser/{classnames-jjUCCpoy.js → classnames-Dt2nn3fF.js} +2 -2
  26. package/dist/browser/{client-CWN8yeUz.js → client-YOSuhfQr.js} +5 -5
  27. package/dist/browser/{components-BYuTjlcn.js → components-Dsf555FA.js} +49 -49
  28. package/dist/browser/{create-live-plan-DplxEMws.js → create-live-plan-u9HVry9U.js} +13 -13
  29. package/dist/browser/{debug-context-DswaH7mN.js → debug-context-F3sYh6QH.js} +5 -5
  30. package/dist/browser/{debug-overlay-khJHt49U.js → debug-overlay-BEFHLD6d.js} +10 -10
  31. package/dist/browser/{debug-ui-BEApU0Hr.js → debug-ui-BPXXOjRK.js} +6 -6
  32. package/dist/browser/{dist-CgdNmEoc.js → dist-COC0DmKA.js} +3 -3
  33. package/dist/browser/{dist-q2Ip5e-y.js → dist-bvz2TJJx.js} +6 -6
  34. package/dist/browser/{dist-BsTWH7q7.js → dist-o_Z50i4D.js} +5 -5
  35. package/dist/browser/{efp-debug-init-DBQbSv4u.js → efp-debug-init-DUUK8suG.js} +3 -3
  36. package/dist/browser/{enum-editor-CxeGNBqb.js → enum-editor--pS2vSrm.js} +4 -4
  37. package/dist/browser/{es5-C4CifKWw.js → es5-CmEnCAuk.js} +2 -2
  38. package/dist/browser/{event-head-D1EKVWKM.js → event-head-Bi5K5dSK.js} +1 -1
  39. package/dist/browser/{event-not-found-DcLfsbev.js → event-not-found-TwBlrO5t.js} +3 -3
  40. package/dist/browser/{event-scoped-cache-BbzF7HuS.js → event-scoped-cache-CppoYzHF.js} +2 -2
  41. package/dist/browser/{expofpUrl-BkFfQVWT.js → expofpUrl-UU4eQkAn.js} +1 -1
  42. package/dist/browser/{exports-CJmfzEbr.js → exports-CXX0Sbya.js} +1 -1
  43. package/dist/browser/{favicon-C17ZDAmX.js → favicon-Chj3-q3H.js} +1 -1
  44. package/dist/browser/{fetch-retry.umd-KfV_kX2J.js → fetch-retry.umd-Dz9dLChu.js} +2 -2
  45. package/dist/browser/{flex-BlLYvxBy.js → flex-Bw0aFtd2.js} +5 -5
  46. package/dist/browser/{floorplan.loader-BZfuR9KC.js → floorplan.loader-B8UEyzDO.js} +12 -12
  47. package/dist/browser/{floorplan.ready-CuozrQJq.js → floorplan.ready-_93PCRnR.js} +23 -23
  48. package/dist/browser/{framing-rect-_cN7Jp0z.js → framing-rect-BUrhUuXf.js} +12 -12
  49. package/dist/browser/{freeBanner-DC2vjpf5.js → freeBanner-BfoZkGpM.js} +2 -2
  50. package/dist/browser/{fuse-BYQPvbIk.js → fuse-DJyh1TuN.js} +2 -2
  51. package/dist/browser/{i18n-BDc7lWFh.js → i18n-y-94jGwp.js} +6 -6
  52. package/dist/browser/index.js +17 -17
  53. package/dist/browser/{index.module-DUgyUoBP.js → index.module-CvMpbW-i.js} +4 -4
  54. package/dist/browser/{init-ui-xCaP1iGt.js → init-ui-CIds4CAy.js} +9 -9
  55. package/dist/browser/{integrateKiosk-pm7XEmxW.js → integrateKiosk-DdB-p0F1.js} +5 -5
  56. package/dist/browser/{is-debug-Bk6Ww-mR.js → is-debug-IVgDoIV0.js} +4 -4
  57. package/dist/browser/{is-own-domain-DtyPiuBK.js → is-own-domain-Bapkhkco.js} +1 -1
  58. package/dist/browser/{is-webview-DpsVH2Y1.js → is-webview-SZt_n0MB.js} +1 -1
  59. package/dist/browser/{jsx-runtime-ClNfOC6f.js → jsx-runtime-C_sNMI5W.js} +2 -2
  60. package/dist/browser/{kiosk-mode-CHV9ESCa.js → kiosk-mode-Cotv0k2w.js} +3 -3
  61. package/dist/browser/{kiosk-record-WGoZsWrI.js → kiosk-record-cMgADOTG.js} +1 -1
  62. package/dist/browser/{kioskApi-CbDD11ug.js → kioskApi--Rx4n321.js} +7 -7
  63. package/dist/browser/{lib-CyCGPKo7.js → lib-BXaOkSOo.js} +3 -3
  64. package/dist/browser/{loadImage-w_zuSX7Q.js → loadImage-BdRifQQM.js} +1 -1
  65. package/dist/browser/{logDeviceInfo-DladzOhP.js → logDeviceInfo-Dv6Uw_9O.js} +9 -9
  66. package/dist/browser/{mobx-DRjOCpOl.js → mobx-CGp0k-An.js} +4 -4
  67. package/dist/browser/{mobx.module-Cv_4Fqn4.js → mobx.module-BREzXEXH.js} +1 -1
  68. package/dist/browser/{optional-boolean-editor-CX8YBA0h.js → optional-boolean-editor-CQuFfDA2.js} +3 -3
  69. package/dist/browser/{optional-enum-editor-BxGv8bpn.js → optional-enum-editor-CDwOHTD0.js} +4 -4
  70. package/dist/browser/{optional-string-editor-DqMnNBXu.js → optional-string-editor-McI6BDHk.js} +4 -4
  71. package/dist/browser/{particles.min-ejj5e5kU.js → particles.min-CKUEAg7I.js} +2 -2
  72. package/dist/browser/{react-dom-Dd8g1448.js → react-dom-PhzhEh9G.js} +3 -3
  73. package/dist/browser/{react-Dw5YXa-Y.js → react-yAWrnIsO.js} +2 -2
  74. package/dist/browser/{rolldown-runtime-BDjyEY82.js → rolldown-runtime-WQ1PGysg.js} +1 -1
  75. package/dist/browser/{scene-BuSOJ1kI.js → scene-DXBJE279.js} +3 -3
  76. package/dist/browser/{scheduler-2PunDhbX.js → scheduler-Dr889D0o.js} +2 -2
  77. package/dist/browser/{select-BZ4woGJi.js → select-DDjJyjSa.js} +10 -10
  78. package/dist/browser/{settings-BQ58wk59.js → settings-DnzFKuhq.js} +2 -2
  79. package/dist/browser/{settings-item-DkAN7SK-.js → settings-item-DOhZtWZn.js} +6 -6
  80. package/dist/browser/{store-Djiw0f15.js → store-C_8jynbr.js} +2 -2
  81. package/dist/browser/{string-editor-BxjGvgq8.js → string-editor-lJK1y_Zg.js} +4 -4
  82. package/dist/browser/{text-field-1Qf6vcza.js → text-field-CSGP1hqF.js} +5 -5
  83. package/dist/browser/{theme-BY0D9YiW.js → theme-CyaxmL-H.js} +8 -8
  84. package/dist/browser/{ui-DFokN_S5.js → ui-BFl0hzQX.js} +8 -8
  85. package/dist/browser/{useRenderTarget-Bh-xmMgH.js → useRenderTarget-gNwm7SN5.js} +4 -4
  86. package/dist/browser/{viewport-BUn4KlO1.js → viewport-DQnfHiey.js} +3 -3
  87. package/dist/browser/{wayfinding-BHyh7Wne.js → wayfinding-BoPqafnU.js} +5 -5
  88. package/dist/esm/utils/loadLayerImages.d.ts +7 -4
  89. package/dist/esm/utils/loadLayerImages.js +1 -1
  90. package/package.json +10 -10
@@ -1,24 +1,24 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.45.13" };
4
+ e.SENTRY_RELEASE = { id: "3.45.15" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f672766f-67ce-4735-9282-6e16777f0312", e._sentryDebugIdIdentifier = "sentry-dbid-f672766f-67ce-4735-9282-6e16777f0312");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d631545c-4b9c-480a-a545-889cb7f45643", e._sentryDebugIdIdentifier = "sentry-dbid-d631545c-4b9c-480a-a545-889cb7f45643");
7
7
  } catch {}
8
8
  })();
9
- import { r as e, t } from "./rolldown-runtime-BDjyEY82.js";
10
- import { Dt as n, G as r, I as i, K as a, M as o, N as s, S as c, T as l, Z as u, b as d, g as f, h as p, l as m, q as h, s as g, w as _, x as v } from "./i18n-BDc7lWFh.js";
11
- import { s as y } from "./efp-debug-init-DBQbSv4u.js";
12
- import { t as b } from "./react-Dw5YXa-Y.js";
13
- import { t as x } from "./jsx-runtime-ClNfOC6f.js";
14
- import { a as S, i as C, o as w, t as T } from "./is-debug-Bk6Ww-mR.js";
15
- import { a as E, c as D, h as O, l as k, n as A, r as ee, u as j } from "./mobx.module-Cv_4Fqn4.js";
16
- import { t as M } from "./is-webview-DpsVH2Y1.js";
17
- import { t as te } from "./loadImage-w_zuSX7Q.js";
18
- import { t as ne } from "./scheduler-2PunDhbX.js";
19
- import { $ as re, $t as ie, A as ae, At as oe, B as se, Bt as ce, C as le, Ct as ue, D as de, Dt as fe, E as pe, Et as me, F as N, Ft as he, G as ge, Gt as _e, H as ve, Ht as ye, I as be, It as xe, J as Se, Jt as Ce, K as we, Kt as Te, L as Ee, Lt as De, M as Oe, Mt as ke, N as Ae, Nt as je, O as Me, Ot as Ne, P as Pe, Pt as Fe, Q as Ie, Qt as Le, R as Re, Rt as ze, S as Be, Sn as Ve, St as He, T as Ue, Tt as We, U as Ge, Ut as Ke, V as qe, Vt as Je, W as Ye, Wt as P, X as Xe, Xt as Ze, Y as Qe, Yt as $e, Z as et, Zt as tt, _ as nt, _n as F, _t as rt, a as it, an as at, at as ot, b as I, bn as st, bt as L, cn as ct, ct as lt, d as ut, dn as dt, dt as ft, en as pt, et as mt, f as ht, fn as gt, ft as _t, g as vt, gn as yt, gt as bt, h as xt, hn as St, ht as Ct, i as wt, in as Tt, it as Et, j as Dt, jt as Ot, k as kt, kt as At, l as jt, ln as Mt, lt as Nt, m as Pt, mn as Ft, mt as It, nn as Lt, nt as Rt, o as zt, on as Bt, ot as Vt, p as Ht, pn as Ut, pt as Wt, q as Gt, qt as Kt, r as qt, rn as Jt, rt as Yt, s as Xt, sn as Zt, st as Qt, tn as $t, tt as en, u as tn, un as nn, ut as rn, v as an, vn as R, vt as on, w as sn, wt as cn, x as ln, xn as un, xt as dn, y as fn, yn as pn, yt as mn, z as hn, zt as gn } from "./debug-context-DswaH7mN.js";
20
- import { a as _n, d as vn, l as z, r as yn, t as bn, u as B } from "./store-Djiw0f15.js";
21
- import { n as xn, t as Sn } from "./event-scoped-cache-BbzF7HuS.js";
9
+ import { r as e, t } from "./rolldown-runtime-WQ1PGysg.js";
10
+ import { Dt as n, G as r, I as i, K as a, M as o, N as s, S as c, T as l, Z as u, b as d, g as f, h as p, l as m, q as h, s as g, w as _, x as v } from "./i18n-y-94jGwp.js";
11
+ import { s as y } from "./efp-debug-init-DUUK8suG.js";
12
+ import { t as b } from "./react-yAWrnIsO.js";
13
+ import { t as x } from "./jsx-runtime-C_sNMI5W.js";
14
+ import { a as S, i as C, o as w, t as T } from "./is-debug-IVgDoIV0.js";
15
+ import { a as E, c as D, h as O, l as k, n as A, r as ee, u as j } from "./mobx.module-BREzXEXH.js";
16
+ import { t as M } from "./is-webview-SZt_n0MB.js";
17
+ import { t as te } from "./loadImage-BdRifQQM.js";
18
+ import { t as ne } from "./scheduler-Dr889D0o.js";
19
+ import { $ as re, $t as ie, A as ae, At as oe, B as se, Bt as ce, C as le, Ct as ue, D as de, Dt as fe, E as pe, Et as me, F as N, Ft as he, G as ge, Gt as _e, H as ve, Ht as ye, I as be, It as xe, J as Se, Jt as Ce, K as we, Kt as Te, L as Ee, Lt as De, M as Oe, Mt as ke, N as Ae, Nt as je, O as Me, Ot as Ne, P as Pe, Pt as Fe, Q as Ie, Qt as Le, R as Re, Rt as ze, S as Be, Sn as Ve, St as He, T as Ue, Tt as We, U as Ge, Ut as Ke, V as qe, Vt as Je, W as Ye, Wt as P, X as Xe, Xt as Ze, Y as Qe, Yt as $e, Z as et, Zt as tt, _ as nt, _n as F, _t as rt, a as it, an as at, at as ot, b as I, bn as st, bt as L, cn as ct, ct as lt, d as ut, dn as dt, dt as ft, en as pt, et as mt, f as ht, fn as gt, ft as _t, g as vt, gn as yt, gt as bt, h as xt, hn as St, ht as Ct, i as wt, in as Tt, it as Et, j as Dt, jt as Ot, k as kt, kt as At, l as jt, ln as Mt, lt as Nt, m as Pt, mn as Ft, mt as It, nn as Lt, nt as Rt, o as zt, on as Bt, ot as Vt, p as Ht, pn as Ut, pt as Wt, q as Gt, qt as Kt, r as qt, rn as Jt, rt as Yt, s as Xt, sn as Zt, st as Qt, tn as $t, tt as en, u as tn, un as nn, ut as rn, v as an, vn as R, vt as on, w as sn, wt as cn, x as ln, xn as un, xt as dn, y as fn, yn as pn, yt as mn, z as hn, zt as gn } from "./debug-context-F3sYh6QH.js";
20
+ import { a as _n, d as vn, l as z, r as yn, t as bn, u as B } from "./store-C_8jynbr.js";
21
+ import { n as xn, t as Sn } from "./event-scoped-cache-CppoYzHF.js";
22
22
  //#region ../geometry/src/lib/angles.ts
23
23
  function Cn(e) {
24
24
  return e * Math.PI / 180;
@@ -7982,12 +7982,12 @@ var Pp = !1;
7982
7982
  //#endregion
7983
7983
  //#region ../renderer/src/debug/debug-chunk.ts
7984
7984
  function Fp() {
7985
- return Lp != null || (Lp = import("./DebugTools-ipof0w8h.js")), Lp;
7985
+ return Lp != null || (Lp = import("./DebugTools-CwpPMOcc.js")), Lp;
7986
7986
  }
7987
7987
  async function Ip() {
7988
7988
  await Fp();
7989
7989
  }
7990
- var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-ipof0w8h.js").then((e) => ({ default: e.DebugTools })));
7990
+ var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-CwpPMOcc.js").then((e) => ({ default: e.DebugTools })));
7991
7991
  function zp(e) {
7992
7992
  let t = (0, Y.c)(7), n, r, i;
7993
7993
  t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({debugEnabled: i, children: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i), i && (0, V.use)(Fp());
@@ -21511,8 +21511,8 @@ function IN(e) {
21511
21511
  function LN(e, t, n) {
21512
21512
  let r = [], i = t;
21513
21513
  return Aa(Va(e)).selectAll(`svg [data-layer="${e.name}"] > [data-layer]`).nodes().filter((e) => e.childNodes.length).forEach((t) => {
21514
- let a = t.getAttribute("data-layer"), o = new aL();
21515
- o.name = t.getAttribute("data-layer"), o.visible = e.visible, o.description = t.getAttribute("data-layer-description") || a, o.frozen = t.getAttribute("data-layer-isfrozen") === "true", o.rect = e.rect, o.viewbox = e.viewbox, o.mode = iL.Unset, o.rootParent = e.rootParent ? e.rootParent : e;
21514
+ let a = t.getAttribute("data-layer"), o = new nL();
21515
+ o.name = t.getAttribute("data-layer"), o.visible = e.visible, o.description = t.getAttribute("data-layer-description") || a, o.frozen = t.getAttribute("data-layer-isfrozen") === "true", o.rect = e.rect, o.viewbox = e.viewbox, o.mode = tL.Unset, o.rootParent = e.rootParent ? e.rootParent : e;
21516
21516
  let s = LN(o, i, n);
21517
21517
  i = s.priority + n, o.basePriority = i, s.layers.length && (o.childLayers = s.layers, r.push(...s.layers)), r.push(o);
21518
21518
  }), {
@@ -21522,22 +21522,22 @@ function LN(e, t, n) {
21522
21522
  }
21523
21523
  function RN(e) {
21524
21524
  let { layerStore: t } = e, n = Dr().__fpLayers;
21525
- t.mode = Dr().__fpLayersMode || rL.Default;
21526
- let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode === rL.Default ? e.visible : e.mode == iL.TurnedOn, a = [], o = 0;
21525
+ t.mode = Dr().__fpLayersMode || eL.Default;
21526
+ let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode === eL.Default ? e.visible : e.mode == tL.TurnedOn, a = [], o = 0;
21527
21527
  n ? n.forEach((e) => {
21528
21528
  o += FN;
21529
- let t = new aL();
21530
- t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = IN(e.rect), t.viewbox = IN(e.viewbox), t.mode = e.mode || iL.Unset, t.basePriority = o, t.floorIndex = e.floorIndex, a.push(t);
21529
+ let t = new nL();
21530
+ t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = IN(e.rect), t.viewbox = IN(e.viewbox), t.mode = e.mode || tL.Unset, t.basePriority = o, t.floorIndex = e.floorIndex, a.push(t);
21531
21531
  }) : Aa(Va()).selectAll("svg > [data-layer]").nodes().filter((e) => e.childNodes.length).forEach((e) => {
21532
21532
  let t = e.getAttribute("data-layer");
21533
21533
  if (!t.startsWith("WF")) {
21534
21534
  var n;
21535
21535
  o += FN;
21536
- let r = new aL();
21537
- r.name = t, r.visible = !0, r.description = e.getAttribute("data-layer-description") || t, r.frozen = e.getAttribute("data-layer-isfrozen") === "true", r.rect = (n = Ra().filter((e) => e.name === r.name || e.name === r.description)[0]) == null ? void 0 : n.rect, r.mode = iL.Unset, r.basePriority = o, a.push(r);
21536
+ let r = new nL();
21537
+ r.name = t, r.visible = !0, r.description = e.getAttribute("data-layer-description") || t, r.frozen = e.getAttribute("data-layer-isfrozen") === "true", r.rect = (n = Ra().filter((e) => e.name === r.name || e.name === r.description)[0]) == null ? void 0 : n.rect, r.mode = tL.Unset, r.basePriority = o, a.push(r);
21538
21538
  }
21539
- }), t.mode !== rL.Default && a.forEach((e) => {
21540
- e.mode === iL.AlwaysHidden ? (e.frozen = !0, e.visible = !1) : e.mode === iL.AlwaysVisible ? e.frozen = e.visible = !0 : e.mode === iL.TurnedOff ? (e.frozen = !1, e.visible = !1) : e.mode === iL.TurnedOn && (e.frozen = !1, e.visible = !0);
21539
+ }), t.mode !== eL.Default && a.forEach((e) => {
21540
+ e.mode === tL.AlwaysHidden ? (e.frozen = !0, e.visible = !1) : e.mode === tL.AlwaysVisible ? e.frozen = e.visible = !0 : e.mode === tL.TurnedOff ? (e.frozen = !1, e.visible = !1) : e.mode === tL.TurnedOn && (e.frozen = !1, e.visible = !0);
21541
21541
  });
21542
21542
  try {
21543
21543
  a.forEach((e) => {
@@ -21549,21 +21549,8 @@ function RN(e) {
21549
21549
  a = a.filter((e) => e.pathway || !e.frozen || e.frozen && e.visible), t.defaultLayer = a.find((e) => e.name === Dr().__fpDefaultLayer), t.layers = [...t.layers, ...a];
21550
21550
  }
21551
21551
  //#endregion
21552
- //#region src/utils/blob-image-size.ts
21553
- async function zN(e) {
21554
- try {
21555
- let t = await createImageBitmap(e), n = {
21556
- width: t.width,
21557
- height: t.height
21558
- };
21559
- return t.close(), n;
21560
- } catch {
21561
- return null;
21562
- }
21563
- }
21564
- //#endregion
21565
21552
  //#region src/utils/loadBlob.ts
21566
- async function BN(e) {
21553
+ async function zN(e) {
21567
21554
  try {
21568
21555
  let t = await fetch(e, {
21569
21556
  mode: "cors",
@@ -21578,10 +21565,10 @@ async function BN(e) {
21578
21565
  }
21579
21566
  //#endregion
21580
21567
  //#region src/utils/rasterize-svg.ts
21581
- function VN(e) {
21568
+ function BN(e) {
21582
21569
  return e.type.startsWith("image/svg+xml");
21583
21570
  }
21584
- async function HN(e) {
21571
+ async function VN(e) {
21585
21572
  let t = URL.createObjectURL(e);
21586
21573
  try {
21587
21574
  let e = await te(t);
@@ -21594,11 +21581,11 @@ async function HN(e) {
21594
21581
  URL.revokeObjectURL(t);
21595
21582
  }
21596
21583
  }
21597
- async function UN(e) {
21598
- let t = await HN(e);
21599
- return t ? WN(t) : null;
21584
+ async function HN(e) {
21585
+ let t = await VN(e);
21586
+ return t ? UN(t) : null;
21600
21587
  }
21601
- function WN(e) {
21588
+ function UN(e) {
21602
21589
  return new Promise((t) => {
21603
21590
  try {
21604
21591
  e.toBlob((e) => t(e), "image/png");
@@ -21609,70 +21596,40 @@ function WN(e) {
21609
21596
  }
21610
21597
  //#endregion
21611
21598
  //#region src/utils/loadLayerImages.ts
21612
- async function GN(e) {
21599
+ async function WN(e) {
21613
21600
  let t = /* @__PURE__ */ new Map(), n = (e) => {
21614
21601
  let n = t.get(e);
21615
- return n || (n = KN(e), t.set(e, n)), n;
21602
+ return n || (n = GN(e), t.set(e, n)), n;
21616
21603
  };
21617
21604
  return (await Promise.all(e.map(async (e) => {
21618
- var t, r, i;
21619
- let a = (t = e.getAttribute("xlink:href")) == null ? e.getAttribute("href") : t, o = a ? await n(a) : null;
21620
- if (!o) return null;
21621
- let s = YN(sr.fromSvg(e), o.size), c = (r = (i = e.transform) == null || (i = i.animVal[0]) == null ? void 0 : i.angle) == null ? 0 : r;
21605
+ var t, r, i, a;
21606
+ let o = (t = e.getAttribute("xlink:href")) == null ? e.getAttribute("href") : t, s = o ? await n(o) : null;
21607
+ if (!s) return null;
21608
+ let c = sr.fromSvg(e), l = (r = (i = e.transform) == null || (i = i.animVal[0]) == null ? void 0 : i.angle) == null ? 0 : r, u = parseFloat((a = e.dataset.elev) == null ? "" : a) || 0;
21622
21609
  return {
21623
- bounds: Yn.fromMinMax(s.min, s.max, Cn(c)),
21624
- source: o.source,
21610
+ bounds: Yn.fromMinMax(c.min, c.max, Cn(l), u),
21611
+ source: s,
21625
21612
  booth: null
21626
21613
  };
21627
21614
  }))).filter((e) => e !== null);
21628
21615
  }
21629
- async function KN(e) {
21630
- var t;
21631
- let n = await BN(e);
21632
- if (!n) return null;
21633
- let r = VN(n) ? await UN(n) : n;
21634
- return r ? {
21635
- source: r,
21636
- size: (t = qN(e)) == null ? await zN(r) : t
21637
- } : null;
21638
- }
21639
- function qN(e) {
21640
- let t;
21641
- try {
21642
- ({searchParams: t} = new URL(e));
21643
- } catch {
21644
- return null;
21645
- }
21646
- let n = Number(t.get("w")), r = Number(t.get("h"));
21647
- return JN(n) && JN(r) ? {
21648
- width: n,
21649
- height: r
21650
- } : null;
21651
- }
21652
- function JN(e) {
21653
- return Number.isFinite(e) && e > 0;
21654
- }
21655
- function YN(e, t) {
21656
- if (!(t != null && t.width) || !t.height || !e.size.width || !e.size.height) return e;
21657
- let n = Math.min(e.size.width / t.width, e.size.height / t.height);
21658
- return sr.fromCenter(e.center, {
21659
- x: t.width * n,
21660
- y: t.height * n
21661
- });
21616
+ async function GN(e) {
21617
+ let t = await zN(e);
21618
+ return t ? BN(t) ? HN(t) : t : null;
21662
21619
  }
21663
- async function XN(e) {
21620
+ async function KN(e) {
21664
21621
  var t;
21665
- let n = [], r = [], i = [], a = Aa(Va(e)).select(`[data-layer="${e.name}"]`), o = a.selectAll(":scope > *:not([data-tagname='efp-booth']):not(g[data-is-editable='false']) path, :scope > path").nodes(), s = a.selectAll(":scope g[data-layer] > g[data-is-editable='false'] path, :scope > g[data-is-editable='false'] path, :scope > path[data-tagname='ptext']").nodes(), c = z.layerStore.mode === rL.Default ? "" : ((t = e.rootParent) == null ? void 0 : t.name) || e.name;
21622
+ let n = [], r = [], i = [], a = Aa(Va(e)).select(`[data-layer="${e.name}"]`), o = a.selectAll(":scope > *:not([data-tagname='efp-booth']):not(g[data-is-editable='false']) path, :scope > path").nodes(), s = a.selectAll(":scope g[data-layer] > g[data-is-editable='false'] path, :scope > g[data-is-editable='false'] path, :scope > path[data-tagname='ptext']").nodes(), c = z.layerStore.mode === eL.Default ? "" : ((t = e.rootParent) == null ? void 0 : t.name) || e.name;
21666
21623
  for (let e of o) {
21667
21624
  let t = +e.getAttribute("data-index"), r;
21668
- e.tagName === "path" && t !== -1 ? r = ZN({
21625
+ e.tagName === "path" && t !== -1 ? r = qN({
21669
21626
  color: e.style.fill,
21670
21627
  index: t
21671
21628
  }, c) : e.tagName === "rect" && (r = Rk(e)), r && n.push(r);
21672
21629
  }
21673
21630
  for (let e of s) {
21674
21631
  let t = +e.getAttribute("data-index"), n;
21675
- e.tagName === "path" && t !== -1 ? n = ZN({
21632
+ e.tagName === "path" && t !== -1 ? n = qN({
21676
21633
  color: e.style.fill,
21677
21634
  index: t
21678
21635
  }, c) : e.tagName === "rect" && (n = Rk(e)), n && r.push(n);
@@ -21688,7 +21645,7 @@ async function XN(e) {
21688
21645
  children: i.filter((e) => e.children.length)
21689
21646
  });
21690
21647
  }
21691
- function ZN(e, t) {
21648
+ function qN(e, t) {
21692
21649
  if (e.index === -1 || Number.isNaN(e.index)) return;
21693
21650
  (!e.color || e.color === "none") && (e.color = "transparent");
21694
21651
  let n = zk(Ba(parseInt(e.index.toString()), t), e.color);
@@ -21696,47 +21653,47 @@ function ZN(e, t) {
21696
21653
  }
21697
21654
  //#endregion
21698
21655
  //#region src/utils/is-mobile.ts
21699
- var QN = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/i.test(navigator.userAgent), $N = QN || M, eP = $N ? 8 : 512, tP = $N ? 100 : 0;
21700
- async function nP(e, t) {
21656
+ var JN = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/i.test(navigator.userAgent), YN = JN || M, XN = YN ? 8 : 512, ZN = YN ? 100 : 0;
21657
+ async function QN(e, t) {
21701
21658
  return (e.preferred ? await t(e.preferred) : null) || (e.fallback ? t(e.fallback) : null);
21702
21659
  }
21703
- async function rP(e, t, n, r) {
21660
+ async function $N(e, t, n, r) {
21704
21661
  if (!e.size) return /* @__PURE__ */ new Map();
21705
21662
  let i = Array.from(e.entries()), a = /* @__PURE__ */ new Map();
21706
21663
  for (let e = 0; e < i.length; e += n) {
21707
- let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await nP(n, t)]));
21664
+ let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await QN(n, t)]));
21708
21665
  for (let [e, t] of s) t && a.set(e, t);
21709
21666
  r && await new Promise((e) => setTimeout(e, r));
21710
21667
  }
21711
21668
  return a;
21712
21669
  }
21713
- async function iP(e, t = eP, n = tP) {
21714
- return rP(e, te, t, n);
21670
+ async function eP(e, t = XN, n = ZN) {
21671
+ return $N(e, te, t, n);
21715
21672
  }
21716
- async function aP(e, t = eP, n = tP) {
21673
+ async function tP(e, t = XN, n = ZN) {
21717
21674
  let r = /* @__PURE__ */ new Map();
21718
- return rP(e, (e) => {
21675
+ return $N(e, (e) => {
21719
21676
  let t = r.get(e);
21720
- return t || (t = BN(e), r.set(e, t)), t;
21677
+ return t || (t = zN(e), r.set(e, t)), t;
21721
21678
  }, t, n);
21722
21679
  }
21723
21680
  //#endregion
21724
21681
  //#region src/components/Maplibre/utils/poi-marker-hit-test.ts
21725
- var oP = null, sP = {
21682
+ var nP = null, rP = {
21726
21683
  set(e) {
21727
- oP = e;
21684
+ nP = e;
21728
21685
  },
21729
21686
  test(e, t) {
21730
- return oP ? oP(e, t) : !1;
21687
+ return nP ? nP(e, t) : !1;
21731
21688
  }
21732
- }, cP = xn(() => ({
21689
+ }, iP = xn(() => ({
21733
21690
  segments: [],
21734
21691
  segmentToHitAreas: /* @__PURE__ */ new Map(),
21735
21692
  prevSegment: null,
21736
21693
  boothsWithPaths: []
21737
21694
  }));
21738
- function lP() {
21739
- let e = bn.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0), t = cP();
21695
+ function aP() {
21696
+ let e = bn.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0), t = iP();
21740
21697
  if (t.segments = [], t.prevSegment = null, t.segmentToHitAreas = /* @__PURE__ */ new Map(), t.boothsWithPaths = e.filter((e) => e.paths), !e.length) return;
21741
21698
  let n = [], r = Infinity, i = Infinity, a = -Infinity, o = -Infinity;
21742
21699
  for (let t of e) {
@@ -21760,15 +21717,15 @@ function lP() {
21760
21717
  }
21761
21718
  w.log("hover segmentToHitAreas", t.segmentToHitAreas);
21762
21719
  }
21763
- function uP() {
21720
+ function oP() {
21764
21721
  bA(() => [
21765
21722
  bn.booths,
21766
21723
  _n.loaded,
21767
21724
  _n.visible
21768
- ], () => lP(), { fireImmediately: !0 });
21725
+ ], () => aP(), { fireImmediately: !0 });
21769
21726
  }
21770
- function dP(e, t) {
21771
- let n = cP(), r = {
21727
+ function sP(e, t) {
21728
+ let n = iP(), r = {
21772
21729
  x: e,
21773
21730
  y: t
21774
21731
  }, i;
@@ -21778,7 +21735,7 @@ function dP(e, t) {
21778
21735
  let e = a.filter((e) => e.booth.visible && e.shape.containsPoint(r));
21779
21736
  if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
21780
21737
  }
21781
- for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of za(t.index, _n.mode === rL.Default ? "" : e.layer.name)) {
21738
+ for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of za(t.index, _n.mode === eL.Default ? "" : e.layer.name)) {
21782
21739
  let t = n.map((e) => ({
21783
21740
  x: e[0],
21784
21741
  y: e[1]
@@ -21787,102 +21744,115 @@ function dP(e, t) {
21787
21744
  }
21788
21745
  return null;
21789
21746
  }
21790
- function fP(e, t) {
21791
- return dP(e, t);
21747
+ function cP(e, t) {
21748
+ return sP(e, t);
21792
21749
  }
21793
21750
  //#endregion
21794
21751
  //#region src/components/Map/pointer.ts
21795
- function pP(e) {
21796
- EP = e;
21752
+ function lP(e) {
21753
+ SP = e;
21797
21754
  }
21798
- function mP(e) {
21799
- TP = e;
21755
+ function uP(e) {
21756
+ xP = e;
21800
21757
  }
21801
- function hP(e, t) {
21802
- for (let n of t) wP.set(n, e);
21758
+ function dP(e, t) {
21759
+ for (let n of t) bP.set(n, e);
21803
21760
  }
21804
- function gP(e) {
21761
+ function fP(e) {
21805
21762
  var t;
21806
- return (t = wP.get(e)) == null ? null : t;
21763
+ return (t = bP.get(e)) == null ? null : t;
21807
21764
  }
21808
- function _P(e) {
21809
- B.setKioskModeEnabled || (e.stopPropagation(), B.hoveredBooth = xP(e.point, e.def));
21765
+ function pP(e) {
21766
+ B.setKioskModeEnabled || (e.stopPropagation(), B.hoveredBooth = _P(e.point, e.def));
21810
21767
  }
21811
- function vP() {
21768
+ function mP() {
21812
21769
  B.setKioskModeEnabled || (B.hoveredBooth = null);
21813
21770
  }
21814
- function yP(e) {
21815
- e.stopPropagation(), SP(e.point, e.nativeEvent) && z.clickBooth(xP(e.point, e.def));
21771
+ function hP(e) {
21772
+ e.stopPropagation(), vP(e.point, e.nativeEvent) && z.clickBooth(_P(e.point, e.def));
21816
21773
  }
21817
- function bP(e) {
21818
- SP(e.point, e.nativeEvent) && z.clickBooth(xP(e.point));
21774
+ function gP(e) {
21775
+ vP(e.point, e.nativeEvent) && z.clickBooth(_P(e.point));
21819
21776
  }
21820
- function xP(e, t) {
21821
- return (t ? gP(t) : null) || fP(e.x, e.y);
21777
+ function _P(e, t) {
21778
+ return (t ? fP(t) : null) || cP(e.x, e.y);
21822
21779
  }
21823
- function SP(e, t) {
21780
+ function vP(e, t) {
21824
21781
  if (!B.rootElement) return !1;
21825
- if (CP(), EP == null || EP(e), B.overlayPosition === "bottom" && B.overlaySize === "full" && z.showMap(), B.onGetCoordsClick) {
21826
- let t = z.layerStore.layers.find((e) => e.visible && (e.mode === iL.TurnedOn || e.mode === iL.TurnedOff));
21782
+ if (yP(), SP == null || SP(e), B.overlayPosition === "bottom" && B.overlaySize === "full" && z.showMap(), B.onGetCoordsClick) {
21783
+ let t = z.layerStore.layers.find((e) => e.visible && (e.mode === tL.TurnedOn || e.mode === tL.TurnedOff));
21827
21784
  B.onGetCoordsClick({
21828
21785
  x: e.x,
21829
21786
  y: e.y,
21830
21787
  z: (t == null ? void 0 : t.name) || null
21831
21788
  });
21832
21789
  }
21833
- if (B.setKioskModeEnabled || sP.test(t.clientX, t.clientY)) return !1;
21790
+ if (B.setKioskModeEnabled || rP.test(t.clientX, t.clientY)) return !1;
21834
21791
  if (B.onMarkerClick) {
21835
21792
  var n;
21836
- let t = (n = TP == null ? void 0 : TP(e.x, e.y)) == null ? null : n;
21793
+ let t = (n = xP == null ? void 0 : xP(e.x, e.y)) == null ? null : n;
21837
21794
  B.onMarkerClick(t);
21838
21795
  }
21839
21796
  return !0;
21840
21797
  }
21841
- function CP() {
21798
+ function yP() {
21842
21799
  if (typeof window > "u") return;
21843
21800
  let e = window.__resett;
21844
21801
  e == null || e();
21845
21802
  }
21846
- var wP = /* @__PURE__ */ new WeakMap(), TP, EP;
21803
+ var bP = /* @__PURE__ */ new WeakMap(), xP, SP;
21804
+ //#endregion
21805
+ //#region src/utils/blob-image-size.ts
21806
+ async function CP(e) {
21807
+ try {
21808
+ let t = await createImageBitmap(e), n = {
21809
+ width: t.width,
21810
+ height: t.height
21811
+ };
21812
+ return t.close(), n;
21813
+ } catch {
21814
+ return null;
21815
+ }
21816
+ }
21847
21817
  //#endregion
21848
21818
  //#region src/components/Map/drawing/config/booth-logos.ts
21849
- function DP(e) {
21819
+ function wP(e) {
21850
21820
  return e.exhibitors.find((e) => e.logoInBooth && e.logo);
21851
21821
  }
21852
- function OP(e) {
21822
+ function TP(e) {
21853
21823
  var t;
21854
- let n = (t = DP(e)) == null ? void 0 : t.logoAspectRatio;
21824
+ let n = (t = wP(e)) == null ? void 0 : t.logoAspectRatio;
21855
21825
  return typeof n == "number" && Number.isFinite(n) && n > 0 ? n : void 0;
21856
21826
  }
21857
- function kP() {
21827
+ function EP() {
21858
21828
  let e = /* @__PURE__ */ new Map(), t = (t) => {
21859
21829
  let n = e.get(t);
21860
- return n || (n = AP(t), e.set(t, n)), n;
21830
+ return n || (n = DP(t), e.set(t, n)), n;
21861
21831
  }, n = /* @__PURE__ */ new Map(), r = (e) => {
21862
21832
  let t = n.get(e);
21863
- return t || (t = jP(e), n.set(e, t)), t;
21833
+ return t || (t = OP(e), n.set(e, t)), t;
21864
21834
  };
21865
21835
  return async (e, n) => {
21866
21836
  var i;
21867
21837
  let a = await t(n);
21868
21838
  if (!a) return null;
21869
- let o = (i = OP(e)) == null ? await r(a) : i;
21839
+ let o = (i = TP(e)) == null ? await r(a) : i;
21870
21840
  return o === null ? null : {
21871
21841
  blob: a,
21872
21842
  aspectRatio: o
21873
21843
  };
21874
21844
  };
21875
21845
  }
21876
- async function AP(e) {
21877
- return VN(e) ? UN(e) : e;
21846
+ async function DP(e) {
21847
+ return BN(e) ? HN(e) : e;
21878
21848
  }
21879
- async function jP(e) {
21880
- let t = await zN(e);
21849
+ async function OP(e) {
21850
+ let t = await CP(e);
21881
21851
  return t != null && t.height ? t.width / t.height : null;
21882
21852
  }
21883
21853
  //#endregion
21884
21854
  //#region ../../node_modules/.pnpm/color-parse@1.4.3/node_modules/color-parse/index.js
21885
- var MP = /* @__PURE__ */ t(((e, t) => {
21855
+ var kP = /* @__PURE__ */ t(((e, t) => {
21886
21856
  var n = No();
21887
21857
  t.exports = i;
21888
21858
  var r = {
@@ -21950,7 +21920,7 @@ var MP = /* @__PURE__ */ t(((e, t) => {
21950
21920
  alpha: a
21951
21921
  };
21952
21922
  }
21953
- })), NP = /* @__PURE__ */ t(((e, t) => {
21923
+ })), AP = /* @__PURE__ */ t(((e, t) => {
21954
21924
  t.exports = {
21955
21925
  name: "rgb",
21956
21926
  min: [
@@ -21970,8 +21940,8 @@ var MP = /* @__PURE__ */ t(((e, t) => {
21970
21940
  ],
21971
21941
  alias: ["RGB"]
21972
21942
  };
21973
- })), PP = /* @__PURE__ */ t(((e, t) => {
21974
- var n = NP();
21943
+ })), jP = /* @__PURE__ */ t(((e, t) => {
21944
+ var n = AP();
21975
21945
  t.exports = {
21976
21946
  name: "hsl",
21977
21947
  min: [
@@ -22013,8 +21983,8 @@ var MP = /* @__PURE__ */ t(((e, t) => {
22013
21983
  l * 100
22014
21984
  ];
22015
21985
  };
22016
- })), FP = /* @__PURE__ */ t(((e, t) => {
22017
- var n = MP(), r = PP();
21986
+ })), MP = /* @__PURE__ */ t(((e, t) => {
21987
+ var n = kP(), r = jP();
22018
21988
  function i(e, t, n) {
22019
21989
  return t < n ? e < t ? t : e > n ? n : e : e < n ? n : e > t ? t : e;
22020
21990
  }
@@ -22039,23 +22009,23 @@ var MP = /* @__PURE__ */ t(((e, t) => {
22039
22009
  return u[3] === 1 ? "rgb(" + u.slice(0, 3) + ")" : "rgba(" + u + ")";
22040
22010
  };
22041
22011
  }
22042
- })), IP = "rt";
22043
- function LP() {
22044
- return new URLSearchParams(u(window.location.search)).get(IP);
22012
+ })), NP = "rt";
22013
+ function PP() {
22014
+ return new URLSearchParams(u(window.location.search)).get(NP);
22045
22015
  }
22046
- function RP() {
22047
- let e = LP();
22048
- return e || (e = sessionStorage.getItem(IP)), e;
22016
+ function FP() {
22017
+ let e = PP();
22018
+ return e || (e = sessionStorage.getItem(NP)), e;
22049
22019
  }
22050
- function zP(e, t) {
22020
+ function IP(e, t) {
22051
22021
  let n = new URL(e, "https://app.expofp.com/");
22052
22022
  for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
22053
22023
  return n.href;
22054
22024
  }
22055
22025
  //#endregion
22056
22026
  //#region src/store/ExhibitorStore.ts
22057
- var BP, VP, HP, UP, WP, GP, KP, qP, JP, YP, XP, Q, ZP, QP, $P;
22058
- function eF(e, t, n, r) {
22027
+ var LP, RP, zP, BP, VP, HP, UP, WP, GP, KP, qP, Q, JP, YP, XP;
22028
+ function ZP(e, t, n, r) {
22059
22029
  n && Object.defineProperty(e, t, {
22060
22030
  enumerable: n.enumerable,
22061
22031
  configurable: n.configurable,
@@ -22063,7 +22033,7 @@ function eF(e, t, n, r) {
22063
22033
  value: n.initializer ? n.initializer.call(r) : void 0
22064
22034
  });
22065
22035
  }
22066
- function tF(e, t, n, r, i) {
22036
+ function QP(e, t, n, r, i) {
22067
22037
  var a = {};
22068
22038
  return Object.keys(r).forEach(function(e) {
22069
22039
  a[e] = r[e];
@@ -22071,11 +22041,11 @@ function tF(e, t, n, r, i) {
22071
22041
  return r(e, t, n) || n;
22072
22042
  }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
22073
22043
  }
22074
- var nF = /*#__PURE__*/ function(e) {
22044
+ var $P = /*#__PURE__*/ function(e) {
22075
22045
  return e[e.Unasked = 0] = "Unasked", e[e.Accepted = 1] = "Accepted", e[e.Rejected = 2] = "Rejected", e[e.Undecided = 3] = "Undecided", e;
22076
- }({}), rF = (KP = E({ keepAlive: !0 }), qP = E({ keepAlive: !0 }), JP = E({ keepAlive: !0 }), YP = E({ keepAlive: !0 }), XP = E({ keepAlive: !0 }), Q = class {
22046
+ }({}), eF = (UP = E({ keepAlive: !0 }), WP = E({ keepAlive: !0 }), GP = E({ keepAlive: !0 }), KP = E({ keepAlive: !0 }), qP = E({ keepAlive: !0 }), Q = class {
22077
22047
  constructor(e) {
22078
- this.rootStore = void 0, this.exhibitors = [], this.timeout = void 0, eF(this, "highlightedByExternalIds", ZP, this), eF(this, "rebookingStateChangeRequested", QP, this), eF(this, "rebookingStateSaved", $P, this), this.rootStore = e;
22048
+ this.rootStore = void 0, this.exhibitors = [], this.timeout = void 0, ZP(this, "highlightedByExternalIds", JP, this), ZP(this, "rebookingStateChangeRequested", YP, this), ZP(this, "rebookingStateSaved", XP, this), this.rootStore = e;
22079
22049
  }
22080
22050
  get exhibitorById() {
22081
22051
  return new Map(this.exhibitors.map((e) => [e.id, e]));
@@ -22115,8 +22085,8 @@ var nF = /*#__PURE__*/ function(e) {
22115
22085
  }
22116
22086
  setRebookingState(e, t, n) {
22117
22087
  clearTimeout(this.timeout), this.rebookingStateChangeRequested = !1, e.rebookingState = t, e.rebookingNote = n;
22118
- let r = zP("api/v1/set-rebooking-state", {
22119
- rt: RP(),
22088
+ let r = IP("api/v1/set-rebooking-state", {
22089
+ rt: FP(),
22120
22090
  expoKey: this.rootStore.fp.eventId
22121
22091
  });
22122
22092
  fetch(r, {
@@ -22129,9 +22099,9 @@ var nF = /*#__PURE__*/ function(e) {
22129
22099
  rebookingNote: n
22130
22100
  })
22131
22101
  }).then((t) => {
22132
- t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState = nF.Unasked, this.rebookingStateSaved = !1);
22102
+ t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState = $P.Unasked, this.rebookingStateSaved = !1);
22133
22103
  }).catch(() => {
22134
- e.rebookingState = nF.Unasked, this.rebookingStateSaved = !1;
22104
+ e.rebookingState = $P.Unasked, this.rebookingStateSaved = !1;
22135
22105
  }).finally(() => {
22136
22106
  this.rebookingStateChangeRequested = !0, this.timeout = setTimeout(() => {
22137
22107
  this.rebookingStateChangeRequested = !1;
@@ -22141,87 +22111,87 @@ var nF = /*#__PURE__*/ function(e) {
22141
22111
  findExhibitor(e) {
22142
22112
  return this.exhibitorByExternalId.get(e) || this.exhibitorByName.get(e.toLowerCase()) || this.exhibitorBySlug.get(e);
22143
22113
  }
22144
- }, ZP = tF(Q.prototype, "highlightedByExternalIds", [D], {
22114
+ }, JP = QP(Q.prototype, "highlightedByExternalIds", [D], {
22145
22115
  configurable: !0,
22146
22116
  enumerable: !0,
22147
22117
  writable: !0,
22148
22118
  initializer: function() {
22149
22119
  return [];
22150
22120
  }
22151
- }), QP = tF(Q.prototype, "rebookingStateChangeRequested", [D], {
22121
+ }), YP = QP(Q.prototype, "rebookingStateChangeRequested", [D], {
22152
22122
  configurable: !0,
22153
22123
  enumerable: !0,
22154
22124
  writable: !0,
22155
22125
  initializer: function() {
22156
22126
  return !1;
22157
22127
  }
22158
- }), $P = tF(Q.prototype, "rebookingStateSaved", [D], {
22128
+ }), XP = QP(Q.prototype, "rebookingStateSaved", [D], {
22159
22129
  configurable: !0,
22160
22130
  enumerable: !0,
22161
22131
  writable: !0,
22162
22132
  initializer: function() {
22163
22133
  return !1;
22164
22134
  }
22165
- }), tF(Q.prototype, "exhibitorById", [KP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorById"), Q.prototype), tF(Q.prototype, "exhibitorByExternalId", [qP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByExternalId"), Q.prototype), tF(Q.prototype, "exhibitorByName", [JP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByName"), Q.prototype), tF(Q.prototype, "exhibitorBySlug", [YP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorBySlug"), Q.prototype), tF(Q.prototype, "bookmarked", [E], Object.getOwnPropertyDescriptor(Q.prototype, "bookmarked"), Q.prototype), tF(Q.prototype, "visited", [E], Object.getOwnPropertyDescriptor(Q.prototype, "visited"), Q.prototype), tF(Q.prototype, "advertised", [XP], Object.getOwnPropertyDescriptor(Q.prototype, "advertised"), Q.prototype), tF(Q.prototype, "replaceBookmarked", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceBookmarked"), Q.prototype), tF(Q.prototype, "replaceVisited", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceVisited"), Q.prototype), tF(Q.prototype, "setRebookingState", [A], Object.getOwnPropertyDescriptor(Q.prototype, "setRebookingState"), Q.prototype), Q), iF = (BP = class {
22135
+ }), QP(Q.prototype, "exhibitorById", [UP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorById"), Q.prototype), QP(Q.prototype, "exhibitorByExternalId", [WP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByExternalId"), Q.prototype), QP(Q.prototype, "exhibitorByName", [GP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByName"), Q.prototype), QP(Q.prototype, "exhibitorBySlug", [KP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorBySlug"), Q.prototype), QP(Q.prototype, "bookmarked", [E], Object.getOwnPropertyDescriptor(Q.prototype, "bookmarked"), Q.prototype), QP(Q.prototype, "visited", [E], Object.getOwnPropertyDescriptor(Q.prototype, "visited"), Q.prototype), QP(Q.prototype, "advertised", [qP], Object.getOwnPropertyDescriptor(Q.prototype, "advertised"), Q.prototype), QP(Q.prototype, "replaceBookmarked", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceBookmarked"), Q.prototype), QP(Q.prototype, "replaceVisited", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceVisited"), Q.prototype), QP(Q.prototype, "setRebookingState", [A], Object.getOwnPropertyDescriptor(Q.prototype, "setRebookingState"), Q.prototype), Q), tF = (LP = class {
22166
22136
  constructor() {
22167
- this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, eF(this, "featured", VP, this), this.advertise = void 0, this.description = void 0, this.address = void 0, this.address2 = void 0, this.city = void 0, this.state = void 0, this.zip = void 0, this.country = void 0, this.phone1 = void 0, this.website = void 0, this.facebook = void 0, this.instagram = void 0, this.linkedin = void 0, this.twitter = void 0, this.googlePlus = void 0, this.xing = void 0, this.youtube = void 0, this.email = void 0, this.privateEmail = void 0, this.customButtonTitle = void 0, this.customButtonUrl = void 0, this.customButton2Title = void 0, this.customButton2Url = void 0, this.customButton3Title = void 0, this.customButton3Url = void 0, this.leadingImageUrl = void 0, this.leadingImageLinkUrl = void 0, this.videoUrl = void 0, this.order = void 0, this.logo = void 0, this.logoInBooth = void 0, this.logoAspectRatio = void 0, this.gallery = void 0, this.marketMaterials = void 0, this.slug = void 0, eF(this, "bookmarked", HP, this), eF(this, "visited", UP, this), eF(this, "rebookingState", WP, this), eF(this, "rebookingNote", GP, this), this.booths = void 0, this.categories = void 0, this.schedule = void 0, this.entity = { type: "exhibitor" };
22137
+ this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, ZP(this, "featured", RP, this), this.advertise = void 0, this.description = void 0, this.address = void 0, this.address2 = void 0, this.city = void 0, this.state = void 0, this.zip = void 0, this.country = void 0, this.phone1 = void 0, this.website = void 0, this.facebook = void 0, this.instagram = void 0, this.linkedin = void 0, this.twitter = void 0, this.googlePlus = void 0, this.xing = void 0, this.youtube = void 0, this.email = void 0, this.privateEmail = void 0, this.customButtonTitle = void 0, this.customButtonUrl = void 0, this.customButton2Title = void 0, this.customButton2Url = void 0, this.customButton3Title = void 0, this.customButton3Url = void 0, this.leadingImageUrl = void 0, this.leadingImageLinkUrl = void 0, this.videoUrl = void 0, this.order = void 0, this.logo = void 0, this.logoInBooth = void 0, this.logoAspectRatio = void 0, this.gallery = void 0, this.marketMaterials = void 0, this.slug = void 0, ZP(this, "bookmarked", zP, this), ZP(this, "visited", BP, this), ZP(this, "rebookingState", VP, this), ZP(this, "rebookingNote", HP, this), this.booths = void 0, this.categories = void 0, this.schedule = void 0, this.entity = { type: "exhibitor" };
22168
22138
  }
22169
- }, VP = tF(BP.prototype, "featured", [D], {
22139
+ }, RP = QP(LP.prototype, "featured", [D], {
22170
22140
  configurable: !0,
22171
22141
  enumerable: !0,
22172
22142
  writable: !0,
22173
22143
  initializer: null
22174
- }), HP = tF(BP.prototype, "bookmarked", [D], {
22144
+ }), zP = QP(LP.prototype, "bookmarked", [D], {
22175
22145
  configurable: !0,
22176
22146
  enumerable: !0,
22177
22147
  writable: !0,
22178
22148
  initializer: null
22179
- }), UP = tF(BP.prototype, "visited", [D], {
22149
+ }), BP = QP(LP.prototype, "visited", [D], {
22180
22150
  configurable: !0,
22181
22151
  enumerable: !0,
22182
22152
  writable: !0,
22183
22153
  initializer: null
22184
- }), WP = tF(BP.prototype, "rebookingState", [D], {
22154
+ }), VP = QP(LP.prototype, "rebookingState", [D], {
22185
22155
  configurable: !0,
22186
22156
  enumerable: !0,
22187
22157
  writable: !0,
22188
22158
  initializer: null
22189
- }), GP = tF(BP.prototype, "rebookingNote", [D], {
22159
+ }), HP = QP(LP.prototype, "rebookingNote", [D], {
22190
22160
  configurable: !0,
22191
22161
  enumerable: !0,
22192
22162
  writable: !0,
22193
22163
  initializer: null
22194
- }), BP), aF = {
22195
- [nF.Unasked]: {
22164
+ }), LP), nF = {
22165
+ [$P.Unasked]: {
22196
22166
  iconName: "icon-question-mark",
22197
22167
  color: {
22198
22168
  primary: "#8E99AB",
22199
22169
  secondary: "#EAEFF9"
22200
22170
  }
22201
22171
  },
22202
- [nF.Accepted]: {
22172
+ [$P.Accepted]: {
22203
22173
  iconName: "icon-checkmark",
22204
22174
  color: {
22205
22175
  primary: "#32B175",
22206
22176
  secondary: "#E4FFF2"
22207
22177
  }
22208
22178
  },
22209
- [nF.Rejected]: {
22179
+ [$P.Rejected]: {
22210
22180
  iconName: "icon-close",
22211
22181
  color: {
22212
22182
  primary: "#E1463C",
22213
22183
  secondary: "#FFEDEB"
22214
22184
  }
22215
22185
  },
22216
- [nF.Undecided]: {
22186
+ [$P.Undecided]: {
22217
22187
  iconName: "icon-switch-horizontal",
22218
22188
  color: {
22219
22189
  primary: "#FABA27",
22220
22190
  secondary: "#FFF7E5"
22221
22191
  }
22222
22192
  }
22223
- }, oF, sF;
22224
- function cF(e, t, n, r) {
22193
+ }, rF, iF;
22194
+ function aF(e, t, n, r) {
22225
22195
  n && Object.defineProperty(e, t, {
22226
22196
  enumerable: n.enumerable,
22227
22197
  configurable: n.configurable,
@@ -22229,7 +22199,7 @@ function cF(e, t, n, r) {
22229
22199
  value: n.initializer ? n.initializer.call(r) : void 0
22230
22200
  });
22231
22201
  }
22232
- function lF(e, t, n, r, i) {
22202
+ function oF(e, t, n, r, i) {
22233
22203
  var a = {};
22234
22204
  return Object.keys(r).forEach(function(e) {
22235
22205
  a[e] = r[e];
@@ -22237,23 +22207,23 @@ function lF(e, t, n, r, i) {
22237
22207
  return r(e, t, n) || n;
22238
22208
  }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
22239
22209
  }
22240
- var uF = Sn(), dF = (oF = class e {
22210
+ var sF = Sn(), cF = (rF = class e {
22241
22211
  constructor(e) {
22242
- cF(this, "selectBgAnimationPart", sF, this), fF(() => e.selected, (e) => this.selectBgAnimationPart = SN(e), 1e3, 8, !0);
22212
+ aF(this, "selectBgAnimationPart", iF, this), lF(() => e.selected, (e) => this.selectBgAnimationPart = SN(e), 1e3, 8, !0);
22243
22213
  }
22244
22214
  static get(t) {
22245
- let n = uF().get(t);
22246
- return n || (n = new e(t), uF().set(t, n)), n;
22215
+ let n = sF().get(t);
22216
+ return n || (n = new e(t), sF().set(t, n)), n;
22247
22217
  }
22248
- }, sF = lF(oF.prototype, "selectBgAnimationPart", [D], {
22218
+ }, iF = oF(rF.prototype, "selectBgAnimationPart", [D], {
22249
22219
  configurable: !0,
22250
22220
  enumerable: !0,
22251
22221
  writable: !0,
22252
22222
  initializer: function() {
22253
22223
  return 0;
22254
22224
  }
22255
- }), oF);
22256
- function fF(e, t, n, r, i) {
22225
+ }), rF);
22226
+ function lF(e, t, n, r, i) {
22257
22227
  let a = i ? s : o;
22258
22228
  r % 2 == 1 && r++, S(k(e, () => {
22259
22229
  if (e()) {
@@ -22279,12 +22249,12 @@ function fF(e, t, n, r, i) {
22279
22249
  }
22280
22250
  //#endregion
22281
22251
  //#region src/components/Map/drawing/config/BoothDrawerBase.ts
22282
- var pF = class {
22252
+ var uF = class {
22283
22253
  constructor(e) {
22284
- this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape = dF.get(e);
22254
+ this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape = cF.get(e);
22285
22255
  }
22286
- }, mF = /* @__PURE__ */ e(FP(), 1), hF, gF, _F;
22287
- function vF(e, t, n, r, i) {
22256
+ }, dF = /* @__PURE__ */ e(MP(), 1), fF, pF, mF;
22257
+ function hF(e, t, n, r, i) {
22288
22258
  var a = {};
22289
22259
  return Object.keys(r).forEach(function(e) {
22290
22260
  a[e] = r[e];
@@ -22292,18 +22262,18 @@ function vF(e, t, n, r, i) {
22292
22262
  return r(e, t, n) || n;
22293
22263
  }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
22294
22264
  }
22295
- function yF(e) {
22296
- return new SF(e);
22265
+ function gF(e) {
22266
+ return new yF(e);
22297
22267
  }
22298
- function bF(e) {
22268
+ function _F(e) {
22299
22269
  if (e.length === 0) return null;
22300
22270
  let t = e[0];
22301
22271
  return e.every((e) => e === t) ? t : null;
22302
22272
  }
22303
- function xF(e, t) {
22273
+ function vF(e, t) {
22304
22274
  let n = [];
22305
22275
  for (let r of e) {
22306
- let e = ZN({
22276
+ let e = qN({
22307
22277
  index: r.index,
22308
22278
  color: r.color,
22309
22279
  unblinking: r.unblinking
@@ -22312,9 +22282,9 @@ function xF(e, t) {
22312
22282
  }
22313
22283
  return n;
22314
22284
  }
22315
- var SF = (hF = E({ keepAlive: !0 }), gF = E({ keepAlive: !0 }), _F = class extends pF {
22285
+ var yF = (fF = E({ keepAlive: !0 }), pF = E({ keepAlive: !0 }), mF = class extends uF {
22316
22286
  constructor(e) {
22317
- if (super(e), e.paths) e.shapes = xF(e.paths, z.layerStore.mode === rL.Default ? "" : e.layer.name).map((e) => {
22287
+ if (super(e), e.paths) e.shapes = vF(e.paths, z.layerStore.mode === eL.Default ? "" : e.layer.name).map((e) => {
22318
22288
  let t = B.monochrome ? (0, SA.default)(e.color).grayscale().rgb().string() : this.getBoothColor().string();
22319
22289
  return e.color === "transparent" ? e.color = t : e.defaultColor = e.color, e;
22320
22290
  });
@@ -22367,9 +22337,9 @@ var SF = (hF = E({ keepAlive: !0 }), gF = E({ keepAlive: !0 }), _F = class exten
22367
22337
  else if (e instanceof Nk) {
22368
22338
  if (Er.isRebooking) {
22369
22339
  var n, r;
22370
- if (!((n = e.exhibitors) != null && n.length)) return aF[nF.Unasked].color.primary;
22371
- let t = bF(((r = e.exhibitors) == null ? [] : r).map((e) => e.rebookingState));
22372
- return t === null ? "#000000" : aF[t].color.primary;
22340
+ if (!((n = e.exhibitors) != null && n.length)) return nF[$P.Unasked].color.primary;
22341
+ let t = _F(((r = e.exhibitors) == null ? [] : r).map((e) => e.rebookingState));
22342
+ return t === null ? "#000000" : nF[t].color.primary;
22373
22343
  }
22374
22344
  let i = qa.colors.booths;
22375
22345
  t = e.onHold ? e.holdColor || i.defaultHold : e.exhibitors.length || e.reserved ? e.soldColor || i.defaultSold : e.availColor || i.empty;
@@ -22383,7 +22353,7 @@ var SF = (hF = E({ keepAlive: !0 }), gF = E({ keepAlive: !0 }), _F = class exten
22383
22353
  }
22384
22354
  get selectedColorInterpolateFunc() {
22385
22355
  var e, t;
22386
- return (0, mF.default)([qa.colors.booths.seectedLight || ((0, SA.default)(this.booth.labelColor || qa.boothLabelColor).isLight() ? "#000" : "#fff"), B.selectedRoute ? qa == null || (e = qa.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : qa == null || (t = qa.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
22356
+ return (0, dF.default)([qa.colors.booths.seectedLight || ((0, SA.default)(this.booth.labelColor || qa.boothLabelColor).isLight() ? "#000" : "#fff"), B.selectedRoute ? qa == null || (e = qa.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : qa == null || (t = qa.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
22387
22357
  }
22388
22358
  getBoothColor() {
22389
22359
  let e = this.booth;
@@ -22398,15 +22368,15 @@ var SF = (hF = E({ keepAlive: !0 }), gF = E({ keepAlive: !0 }), _F = class exten
22398
22368
  }
22399
22369
  return (e.hover && !e.selected || e.selected && Er.isRebooking) && (n = n.darken(.2).alpha(n.alpha() * 1.5)), (B.monochrome || B.heatmapYah) && (n = n.grayscale()), n;
22400
22370
  }
22401
- }, vF(_F.prototype, "defaultColor", [hF], Object.getOwnPropertyDescriptor(_F.prototype, "defaultColor"), _F.prototype), vF(_F.prototype, "selectedColorInterpolateFunc", [gF], Object.getOwnPropertyDescriptor(_F.prototype, "selectedColorInterpolateFunc"), _F.prototype), _F);
22371
+ }, hF(mF.prototype, "defaultColor", [fF], Object.getOwnPropertyDescriptor(mF.prototype, "defaultColor"), mF.prototype), hF(mF.prototype, "selectedColorInterpolateFunc", [pF], Object.getOwnPropertyDescriptor(mF.prototype, "selectedColorInterpolateFunc"), mF.prototype), mF);
22402
22372
  //#endregion
22403
22373
  //#region src/components/Map/drawing/config/config-booth-bookmark.ts
22404
- function CF(e) {
22405
- if (!B.kiosk) return new wF(e);
22374
+ function bF(e) {
22375
+ if (!B.kiosk) return new xF(e);
22406
22376
  }
22407
- var wF = class extends pF {
22377
+ var xF = class extends uF {
22408
22378
  constructor(e) {
22409
- super(e), this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.padding = this.booth.borderWidth / 2, this.rect = new Yn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = mo(TF, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = Vk(this.canvas, this.rect, { hidden: !e.bookmarked }), this.shape.onScale = ({ pixelSize: e }) => this.layOutBookmark(e), bA(() => [
22379
+ super(e), this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.padding = this.booth.borderWidth / 2, this.rect = new Yn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = mo(SF, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = Vk(this.canvas, this.rect, { hidden: !e.bookmarked }), this.shape.onScale = ({ pixelSize: e }) => this.layOutBookmark(e), bA(() => [
22410
22380
  e.bookmarked,
22411
22381
  _n.layersLoaded,
22412
22382
  this.booth.skipDim
@@ -22421,15 +22391,15 @@ var wF = class extends pF {
22421
22391
  _n.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? 0 : void 0, sd(this.shape));
22422
22392
  }
22423
22393
  layOutBookmark(e) {
22424
- return this.shape.bounds = rk(this.rect, po(TF), this.padding, e), this.shape.hidden ? [] : [this.shape];
22394
+ return this.shape.bounds = rk(this.rect, po(SF), this.padding, e), this.shape.hidden ? [] : [this.shape];
22425
22395
  }
22426
- }, TF = 11;
22396
+ }, SF = 11;
22427
22397
  //#endregion
22428
22398
  //#region src/components/Map/drawing/config/config-booth-border.ts
22429
- function EF(e) {
22430
- if (qa.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !bn.borderWidth || e.paths && !e.pathsWithRect)) return new DF(e);
22399
+ function CF(e) {
22400
+ if (qa.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !bn.borderWidth || e.paths && !e.pathsWithRect)) return new wF(e);
22431
22401
  }
22432
- var DF = class extends pF {
22402
+ var wF = class extends uF {
22433
22403
  constructor(e) {
22434
22404
  super(e), this.shape = void 0;
22435
22405
  let t = this.booth.rect, { x: n, y: r } = t.center, { width: i, height: a } = t.size, o = e.borderWidth || bn.borderWidth, s = [], c = (t, i, a, o) => {
@@ -22473,34 +22443,34 @@ var DF = class extends pF {
22473
22443
  getShape() {
22474
22444
  return this.shape;
22475
22445
  }
22476
- }, OF = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
22477
- function kF(e) {
22478
- return OF.test(e);
22446
+ }, TF = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
22447
+ function EF(e) {
22448
+ return TF.test(e);
22479
22449
  }
22480
22450
  //#endregion
22481
22451
  //#region src/components/Map/drawing/config/label-inset.ts
22482
- var AF = .05;
22483
- function jF(e, t) {
22484
- let n = AF * Math.min(t.width, t.height);
22452
+ var DF = .05;
22453
+ function OF(e, t) {
22454
+ let n = DF * Math.min(t.width, t.height);
22485
22455
  return e > 0 && n > 0 ? Math.min(e / 2, n) : 0;
22486
22456
  }
22487
22457
  //#endregion
22488
22458
  //#region src/components/Map/drawing/config/config-booth-labels.ts
22489
- function MF() {
22459
+ function kF() {
22490
22460
  return qa.EXPO === "tqs2021" ? "#000" : qa.boothLabelColor;
22491
22461
  }
22492
- var NF = QN || M, PF = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), FF = document.createElement("canvas").getContext("2d");
22493
- function IF(e) {
22494
- if (!(!(e instanceof Nk) || e.noLabels)) return new GF(e);
22462
+ var AF = JN || M, jF = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), MF = document.createElement("canvas").getContext("2d");
22463
+ function NF(e) {
22464
+ if (!(!(e instanceof Nk) || e.noLabels)) return new HF(e);
22495
22465
  }
22496
- function LF(e) {
22466
+ function PF(e) {
22497
22467
  return Array.isArray(e) && e.length > 0 ? Math.max(...e.map((e) => e)) : typeof e == "number" ? e : -0;
22498
22468
  }
22499
- var RF = () => {
22469
+ var FF = () => {
22500
22470
  var e, t;
22501
22471
  return !!((e = B.selectedRoute) != null && e.from && (t = B.selectedRoute) != null && t.to);
22502
22472
  };
22503
- function zF(e, t = [], n = "normal") {
22473
+ function IF(e, t = [], n = "normal") {
22504
22474
  let r = [
22505
22475
  ...t,
22506
22476
  {
@@ -22516,33 +22486,33 @@ function zF(e, t = [], n = "normal") {
22516
22486
  ].find((t) => +t.weight === e && t.style === n);
22517
22487
  return (r == null ? void 0 : r.url) || Fk;
22518
22488
  }
22519
- function BF(e, t) {
22489
+ function LF(e, t) {
22520
22490
  return Number(getComputedStyle(document.body).getPropertyValue(e)) || t;
22521
22491
  }
22522
- function VF() {
22492
+ function RF() {
22523
22493
  return {
22524
- main: BF(v, 500),
22525
- details: BF(_, 300)
22494
+ main: LF(v, 500),
22495
+ details: LF(_, 300)
22526
22496
  };
22527
22497
  }
22528
- function HF() {
22498
+ function zF() {
22529
22499
  return {
22530
- main: BF(c, 500),
22531
- details: BF(l, 300)
22500
+ main: LF(c, 500),
22501
+ details: LF(l, 300)
22532
22502
  };
22533
22503
  }
22534
- function UF() {
22535
- return VF().main;
22504
+ function BF() {
22505
+ return RF().main;
22536
22506
  }
22537
- var WF = "Details", GF = class extends pF {
22507
+ var VF = "Details", HF = class extends uF {
22538
22508
  constructor(e) {
22539
- super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new Yn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = jF(e.borderWidth || bn.borderWidth, e.rect.size), this.topLeftAlignment = {
22509
+ super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new Yn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = OF(e.borderWidth || bn.borderWidth, e.rect.size), this.topLeftAlignment = {
22540
22510
  horizontal: B.rtl ? "right" : "left",
22541
22511
  vertical: "top"
22542
22512
  }, this.centerAlignment = {
22543
22513
  horizontal: "center",
22544
22514
  vertical: "center"
22545
- }, this.prefixes = NF ? [
22515
+ }, this.prefixes = AF ? [
22546
22516
  {
22547
22517
  fontSize: 7,
22548
22518
  name: "XS",
@@ -22555,7 +22525,7 @@ var WF = "Details", GF = class extends pF {
22555
22525
  },
22556
22526
  {
22557
22527
  fontSize: 16,
22558
- name: WF,
22528
+ name: VF,
22559
22529
  short: !1
22560
22530
  }
22561
22531
  ] : [
@@ -22581,10 +22551,10 @@ var WF = "Details", GF = class extends pF {
22581
22551
  },
22582
22552
  {
22583
22553
  fontSize: 18,
22584
- name: WF,
22554
+ name: VF,
22585
22555
  short: !1
22586
22556
  }
22587
- ], !(e instanceof Pk) && (this.exh = Er.hideExhibitors ? [] : Er.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, NF && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = Hk(Uk(this.lines, this.booth.labelColor || MF(), 0, this.fontUrls), new Yn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
22557
+ ], !(e instanceof Pk) && (this.exh = Er.hideExhibitors ? [] : Er.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, AF && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = Hk(Uk(this.lines, this.booth.labelColor || kF(), 0, this.fontUrls), new Yn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
22588
22558
  horizontal: "left",
22589
22559
  vertical: "top"
22590
22560
  }), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(), bA(() => _n.layersLoaded && this.booth.skipDim === !0, (e) => {
@@ -22620,10 +22590,10 @@ var WF = "Details", GF = class extends pF {
22620
22590
  }, n.center, n), this.shapeDot.hidden = !t, [this.shapeDot];
22621
22591
  }
22622
22592
  getShapeDot() {
22623
- this.shapeDot = Kk(this.canvasRect, this.booth.labelColor || MF()), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / Jk, this.canvasRect.size.y / Jk);
22593
+ this.shapeDot = Kk(this.canvasRect, this.booth.labelColor || kF()), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / Jk, this.canvasRect.size.y / Jk);
22624
22594
  }
22625
22595
  createLines() {
22626
- let e = this.booth, t = [], n = [], r = NF && this.optimizationLevel() >= 3 ? 1 : 3;
22596
+ let e = this.booth, t = [], n = [], r = AF && this.optimizationLevel() >= 3 ? 1 : 3;
22627
22597
  if (this.exh.length) {
22628
22598
  let i = e.exhibitors.filter((e) => e.order === 0), a = e.exhibitors.filter((e) => e.order);
22629
22599
  if (i.length > 0) t.push(...i.map((e) => e.name));
@@ -22639,14 +22609,14 @@ var WF = "Details", GF = class extends pF {
22639
22609
  t.push(e.title || e.name), e.onHold ? n.push(g("On Hold")) : e.reserved ? n.push(g("Reserved")) : r || n.push(...e.exhibitors.map((e) => e.name).sort((e, t) => e > t ? 1 : -1)), e.size && n.push(e.size.indexOf("/") > -1 ? e.size.substring(0, e.size.indexOf("/")).trim() : e.size), e.price && e.price !== "0" && !B.previewMode && n.push(e.price);
22640
22610
  }
22641
22611
  B.rtl && t.forEach((e, n) => {
22642
- (e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + "‏"), kF(e) && (t[n] = t[n] + " ");
22612
+ (e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + "‏"), EF(e) && (t[n] = t[n] + " ");
22643
22613
  }), this.lines = [t, n];
22644
22614
  }
22645
22615
  calculateFontSizeFactors() {
22646
- let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ? HF() : VF();
22616
+ let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ? zF() : RF();
22647
22617
  for (let { fontSize: c, short: l } of a) {
22648
22618
  let a = c, u = .9 * c, d = lo(a, o), f = lo(u, s), p = Er.hideExhibitorBoothNumber || l, m, h, g, _;
22649
- if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(PF(e), d).width : this.measureText(PF(e), d).width + 3 + 3), ...t.map((e) => this.measureText(PF(e), f).width)), _ = a * e.length + u * t.length + (e.length + t.length) + 3, h = p ? _ / e.length : null;
22619
+ if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(jF(e), d).width : this.measureText(jF(e), d).width + 3 + 3), ...t.map((e) => this.measureText(jF(e), f).width)), _ = a * e.length + u * t.length + (e.length + t.length) + 3, h = p ? _ / e.length : null;
22650
22620
  else {
22651
22621
  let t = e[0].replace(/[0-9]/g, "3").replace(/[A-Z]/g, "A");
22652
22622
  g = this.measureText(t, d).width + 3 + 3, _ = a + 4;
@@ -22663,19 +22633,19 @@ var WF = "Details", GF = class extends pF {
22663
22633
  });
22664
22634
  }
22665
22635
  if (!this.exh.length) {
22666
- let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === WF);
22636
+ let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === VF);
22667
22637
  t && (r.push({
22668
22638
  scaleFactor: e.scaleFactor / 1.8,
22669
22639
  value: t.fontSize,
22670
22640
  lines: []
22671
22641
  }), i.push({
22672
22642
  scaleFactor: e.scaleFactor / 1.8,
22673
- value: t.fontSize * (NF ? 1 : .9),
22643
+ value: t.fontSize * (AF ? 1 : .9),
22674
22644
  lines: []
22675
22645
  }));
22676
22646
  }
22677
22647
  let c = Lk();
22678
- this.fontUrls = [zF(o, c), zF(s, c)], this.minZoomDotVisible = LF(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
22648
+ this.fontUrls = [IF(o, c), IF(s, c)], this.minZoomDotVisible = PF(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
22679
22649
  }
22680
22650
  calcArea(e, t) {
22681
22651
  return Math.floor(Math.max(0, e) * Math.max(0, t) / 1e3);
@@ -22684,23 +22654,23 @@ var WF = "Details", GF = class extends pF {
22684
22654
  return Math.min(Er.viewOptimizationLevel ? Er.viewOptimizationLevel : Math.floor(this.calcArea(this.canvasRect.size.x, this.canvasRect.size.y) / 5e3), 3);
22685
22655
  }
22686
22656
  measureText(e, t) {
22687
- return FF.font = t, FF.measureText(e);
22657
+ return MF.font = t, MF.measureText(e);
22688
22658
  }
22689
- }, KF = document.createElement("canvas").getContext("2d"), qF = class {
22659
+ }, UF = document.createElement("canvas").getContext("2d"), WF = class {
22690
22660
  constructor(e, t, n) {
22691
- this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx = KF, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
22661
+ this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx = UF, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
22692
22662
  }
22693
22663
  getStepsForRect(e, t, n) {
22694
22664
  let r = e.split(/\s+/), i = r.map((e) => this.ctx.measureText(e).width), a = [], o = Infinity, s = 0;
22695
22665
  for (let e of this.fontSizes) {
22696
- let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = JF(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
22666
+ let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = GF(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
22697
22667
  for (let i = 0; i < f.length; i++) {
22698
22668
  let l = f[i], p = l, m = i + 1, h = c * m, g = p / t, _ = h / n, v = Math.max(_, g);
22699
22669
  if (v > o || m < s) continue;
22700
22670
  o = v, s = m;
22701
- let y = ZF(XF(l, m, u, d), u, d);
22671
+ let y = JF(qF(l, m, u, d), u, d);
22702
22672
  if (!y) continue;
22703
- let b = $F(y, r);
22673
+ let b = XF(y, r);
22704
22674
  a.push({
22705
22675
  scaleFactor: v,
22706
22676
  value: e,
@@ -22711,12 +22681,12 @@ var WF = "Details", GF = class extends pF {
22711
22681
  return a;
22712
22682
  }
22713
22683
  };
22714
- function JF(e, t, n) {
22684
+ function GF(e, t, n) {
22715
22685
  let r = [], i = 0, a = 1, o = Infinity, s;
22716
- for (; (s = YF(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
22686
+ for (; (s = KF(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
22717
22687
  return r[a - 1] = i, r;
22718
22688
  }
22719
- function YF(e, t, n) {
22689
+ function KF(e, t, n) {
22720
22690
  let r = [], i = 0, a = -1;
22721
22691
  function o() {
22722
22692
  a++, i = 0;
@@ -22732,7 +22702,7 @@ function YF(e, t, n) {
22732
22702
  }
22733
22703
  return r;
22734
22704
  }
22735
- function XF(e, t, n, r) {
22705
+ function qF(e, t, n, r) {
22736
22706
  return i(t, 0);
22737
22707
  function i(e, t) {
22738
22708
  let r = a(t), o = [];
@@ -22761,41 +22731,41 @@ function XF(e, t, n, r) {
22761
22731
  }
22762
22732
  }
22763
22733
  }
22764
- function ZF(e, t, n) {
22734
+ function JF(e, t, n) {
22765
22735
  let r = e.map((e) => ({
22766
22736
  ll: e,
22767
- dd: QF(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
22737
+ dd: YF(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
22768
22738
  }));
22769
22739
  return r.sort((e, t) => e.dd - t.dd), r.map((e) => e.ll)[0];
22770
22740
  }
22771
- function QF(e) {
22741
+ function YF(e) {
22772
22742
  let t = e.length, n = e.reduce((e, t) => e + t) / t;
22773
22743
  return Math.sqrt(e.map((e) => (e - n) ** 2).reduce((e, t) => e + t) / t);
22774
22744
  }
22775
- function $F(e, t) {
22745
+ function XF(e, t) {
22776
22746
  return e.map((e) => e.map((e) => t[e]).reduce((e, t, n) => e + (n > 0 ? " " : "") + t), "");
22777
22747
  }
22778
22748
  //#endregion
22779
22749
  //#region src/components/Map/drawing/config/config-booth-labels-special.ts
22780
- var eI = [
22750
+ var ZF = [
22781
22751
  18,
22782
22752
  16,
22783
22753
  14,
22784
22754
  12,
22785
22755
  10,
22786
22756
  7
22787
- ], tI = 14;
22788
- function nI(e) {
22789
- if (!(!(e instanceof Pk) || e.noLabels)) return new rI(e);
22757
+ ], QF = 14;
22758
+ function $F(e) {
22759
+ if (!(!(e instanceof Pk) || e.noLabels)) return new eI(e);
22790
22760
  }
22791
- var rI = class extends GF {
22761
+ var eI = class extends HF {
22792
22762
  constructor(e) {
22793
22763
  super(e), this.steps = [], this.labelIsVertical = void 0, this.text = "";
22794
- let t = this.booth.rect, n = zF(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, Lk()), r = t.expand({
22795
- x: -(t.size.width * AF + this.padding),
22796
- y: -(t.size.height * AF + this.padding)
22764
+ let t = this.booth.rect, n = IF(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, Lk()), r = t.expand({
22765
+ x: -(t.size.width * DF + this.padding),
22766
+ y: -(t.size.height * DF + this.padding)
22797
22767
  });
22798
- this.setText(), this.canvasRect = new Yn(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible = LF(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = Hk([{
22768
+ this.setText(), this.canvasRect = new Yn(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible = PF(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = Hk([{
22799
22769
  text: this.text,
22800
22770
  color: e.labelColor || qa.boothLabelColor,
22801
22771
  fontUrl: n,
@@ -22832,47 +22802,47 @@ var rI = class extends GF {
22832
22802
  }, n.center, n), this.shapeDot.hidden = !!t, [this.shapeDot];
22833
22803
  }
22834
22804
  setFactors(e) {
22835
- this.steps = new qF(lo, eI, tI).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
22805
+ this.steps = new WF(lo, ZF, QF).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
22836
22806
  }
22837
22807
  setText() {
22838
22808
  let e = this.booth.title || this.booth.name, t = `Clicks: ${yn.getTotalClicksByBooth(this.booth)}`;
22839
22809
  this.text = B.heatmap ? `${e} - ${t}` : e;
22840
22810
  }
22841
- }, iI = Sn();
22842
- function aI(e, t) {
22843
- return iI().set(e, t), () => {
22844
- iI().get(e) === t && iI().delete(e);
22811
+ }, tI = Sn();
22812
+ function nI(e, t) {
22813
+ return tI().set(e, t), () => {
22814
+ tI().get(e) === t && tI().delete(e);
22845
22815
  };
22846
22816
  }
22847
- function oI() {
22848
- return [...iI().values()].map((e) => e());
22817
+ function rI() {
22818
+ return [...tI().values()].map((e) => e());
22849
22819
  }
22850
22820
  //#endregion
22851
22821
  //#region src/utils/getLogoUrl.ts
22852
- function sI(e) {
22822
+ function iI(e) {
22853
22823
  var t, n, r;
22854
- let i = cI();
22824
+ let i = aI();
22855
22825
  return i === "tiny" ? (t = (n = e.tinyUrl) == null ? e.smallUrl : n) == null ? e.url : t : i === "small" ? (r = e.smallUrl) == null ? e.url : r : e.url;
22856
22826
  }
22857
- function cI() {
22858
- if (QN || M) return Er.viewOptimizationLevel ? Er.viewOptimizationLevel >= 5 ? "tiny" : "small" : void 0;
22827
+ function aI() {
22828
+ if (JN || M) return Er.viewOptimizationLevel ? Er.viewOptimizationLevel >= 5 ? "tiny" : "small" : void 0;
22859
22829
  }
22860
- function lI(e) {
22830
+ function oI(e) {
22861
22831
  var t, n;
22862
22832
  return Cn((t = (n = e.transform) == null || (n = n.animVal[0]) == null ? void 0 : n.angle) == null ? 0 : t);
22863
22833
  }
22864
- function uI(e) {
22834
+ function sI(e) {
22865
22835
  var t;
22866
22836
  let n = sr.fromSvg(e);
22867
22837
  return {
22868
22838
  url: (t = e.getAttribute("data-model-3d")) == null ? "" : t,
22869
- bounds: Yn.fromMinMax(n.min, n.max, lI(e))
22839
+ bounds: Yn.fromMinMax(n.min, n.max, oI(e))
22870
22840
  };
22871
22841
  }
22872
22842
  //#endregion
22873
22843
  //#region src/components/Map/drawing/config/loadBoothsImages.ts
22874
- async function dI() {
22875
- let e = oI();
22844
+ async function cI() {
22845
+ let e = rI();
22876
22846
  await Promise.all(e.map(async (e) => {
22877
22847
  let t = await e;
22878
22848
  if (!(t != null && t.children.length)) return;
@@ -22880,21 +22850,21 @@ async function dI() {
22880
22850
  n.children.push(...r), sd(n);
22881
22851
  }));
22882
22852
  }
22883
- var fI = (e) => `${e}:images`, pI = (e) => `${e}:models`;
22884
- function mI(e) {
22853
+ var lI = (e) => `${e}:images`, uI = (e) => `${e}:models`;
22854
+ function dI(e) {
22885
22855
  let t = /* @__PURE__ */ new Map();
22886
22856
  for (let r of e) {
22887
22857
  var n;
22888
22858
  if (!r.rect) continue;
22889
- let e = (n = DP(r)) == null ? void 0 : n.logo;
22859
+ let e = (n = wP(r)) == null ? void 0 : n.logo;
22890
22860
  e && t.set(r.id, {
22891
- preferred: sI(e),
22861
+ preferred: iI(e),
22892
22862
  fallback: e.url
22893
22863
  });
22894
22864
  }
22895
22865
  return t;
22896
22866
  }
22897
- function hI(e) {
22867
+ function fI(e) {
22898
22868
  var t;
22899
22869
  let n = Aa(Va(e)).select(`[data-layer="${e.name}"]`), r = (((t = Dr().__fpVersion) == null ? 0 : t) > 5 ? n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes() : n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean), i = [], a = [];
22900
22870
  for (let e of r) (e.hasAttribute("data-model-3d") ? a : i).push(e);
@@ -22903,7 +22873,7 @@ function hI(e) {
22903
22873
  models: a
22904
22874
  };
22905
22875
  }
22906
- function gI(e, t) {
22876
+ function pI(e, t) {
22907
22877
  let n = e.rect, r = n.size.width, i = n.size.height, a = i ? r / i : 1, o, s, c, l = .9;
22908
22878
  a > t ? (s = i * l, o = s * t) : (o = r * l, s = o / t);
22909
22879
  let u = e.rotate || 0;
@@ -22918,35 +22888,35 @@ function gI(e, t) {
22918
22888
  }
22919
22889
  //#endregion
22920
22890
  //#region src/components/Map/drawing/config/config-booths.ts
22921
- var _I = (0, Jc.default)("efp:booth-logos");
22922
- function vI(e, t) {
22891
+ var mI = (0, Jc.default)("efp:booth-logos");
22892
+ function hI(e, t) {
22923
22893
  return ((t) => {
22924
- let n = e, r = [], i = [], a = [], o = [], s = [], c = fI(n), l = {
22894
+ let n = e, r = [], i = [], a = [], o = [], s = [], c = lI(n), l = {
22925
22895
  name: c,
22926
22896
  children: []
22927
22897
  };
22928
22898
  for (let e of t) {
22929
22899
  var u, d, f, p;
22930
- let t = (u = yF(e)) == null ? void 0 : u.getShape();
22931
- t && (r.push(...t), hP(e, t));
22932
- let n = (d = IF(e)) == null ? void 0 : d.getShape();
22900
+ let t = (u = gF(e)) == null ? void 0 : u.getShape();
22901
+ t && (r.push(...t), dP(e, t));
22902
+ let n = (d = NF(e)) == null ? void 0 : d.getShape();
22933
22903
  n && i.push(...n);
22934
- let c = (f = nI(e)) == null ? void 0 : f.getShape();
22904
+ let c = (f = $F(e)) == null ? void 0 : f.getShape();
22935
22905
  if (c && a.push(...c), !qa.borderless) {
22936
22906
  var m;
22937
- let t = (m = EF(e)) == null ? void 0 : m.getShape();
22907
+ let t = (m = CF(e)) == null ? void 0 : m.getShape();
22938
22908
  t && o.push(t);
22939
22909
  }
22940
- let l = (p = CF(e)) == null ? void 0 : p.getShape();
22910
+ let l = (p = bF(e)) == null ? void 0 : p.getShape();
22941
22911
  l && s.push(l);
22942
22912
  }
22943
22913
  let h = i.filter((e) => e.lines), g = a.filter((e) => e.lines), _ = i.filter((e) => e.source), v = a.filter((e) => e.source);
22944
22914
  if (!B.hideLogoInBooth) {
22945
- let e = mI(t), n = C();
22946
- aI(c, async () => {
22947
- let t = await aP(e, 350);
22915
+ let e = dI(t), n = C();
22916
+ nI(c, async () => {
22917
+ let t = await tP(e, 350);
22948
22918
  if (C() !== n) return;
22949
- let r = [], i = kP(), a = await Promise.all([...t].map(async ([e, t]) => {
22919
+ let r = [], i = EP(), a = await Promise.all([...t].map(async ([e, t]) => {
22950
22920
  let n = bn.boothById.get(e);
22951
22921
  return [
22952
22922
  e,
@@ -22957,14 +22927,14 @@ function vI(e, t) {
22957
22927
  if (C() === n) {
22958
22928
  for (let [e, t, n] of a) {
22959
22929
  if (!t) {
22960
- _I("dropped a logo: no booth has id %s", e);
22930
+ mI("dropped a logo: no booth has id %s", e);
22961
22931
  continue;
22962
22932
  }
22963
22933
  if (!n) {
22964
- _I("dropped the logo of booth %s: the image could not be read", e);
22934
+ mI("dropped the logo of booth %s: the image could not be read", e);
22965
22935
  continue;
22966
22936
  }
22967
- let { blob: i, aspectRatio: a } = n, { bounds: o } = gI(t, a), s = Vk(i, o), c = t.borderWidth || bn.borderWidth, l = t.rect.expand(-c), u = new Yn(l.center, l.size, t.rotate);
22937
+ let { blob: i, aspectRatio: a } = n, { bounds: o } = pI(t, a), s = Vk(i, o), c = t.borderWidth || bn.borderWidth, l = t.rect.expand(-c), u = new Yn(l.center, l.size, t.rotate);
22968
22938
  s.onRoll = ak(s.bounds, u) ? ({ roll: e }) => uk(s, e) ? [s] : void 0 : ({ roll: e }) => sk(s, e) ? [s] : void 0, t.shapes.push(s), r.push(s);
22969
22939
  }
22970
22940
  return {
@@ -22995,7 +22965,7 @@ function vI(e, t) {
22995
22965
  }
22996
22966
  ]
22997
22967
  };
22998
- bA(() => _n.layersLoaded && RF(), (e) => {
22968
+ bA(() => _n.layersLoaded && FF(), (e) => {
22999
22969
  y.dim = e ? 0 : void 0, sd(y);
23000
22970
  }, { fireImmediately: !0 });
23001
22971
  let b = [];
@@ -23005,9 +22975,9 @@ function vI(e, t) {
23005
22975
  {
23006
22976
  name: `${e}boothBackground`,
23007
22977
  children: r,
23008
- onPointerMove: _P,
23009
- onPointerOut: vP,
23010
- onClick: yP
22978
+ onPointerMove: pP,
22979
+ onPointerOut: mP,
22980
+ onClick: hP
23011
22981
  },
23012
22982
  y,
23013
22983
  l,
@@ -23029,7 +22999,7 @@ function vI(e, t) {
23029
22999
  }
23030
23000
  //#endregion
23031
23001
  //#region src/components/Map/drawing/config/poi-pin-shape.ts
23032
- var yI = {
23002
+ var gI = {
23033
23003
  frame: {
23034
23004
  width: 82,
23035
23005
  height: 96
@@ -23047,7 +23017,7 @@ var yI = {
23047
23017
  offsetY: 2,
23048
23018
  blur: 4
23049
23019
  }
23050
- }, bI = {
23020
+ }, _I = {
23051
23021
  frame: {
23052
23022
  width: 102,
23053
23023
  height: 137
@@ -23066,7 +23036,7 @@ var yI = {
23066
23036
  blur: 5
23067
23037
  }
23068
23038
  };
23069
- function xI(e, t, n) {
23039
+ function vI(e, t, n) {
23070
23040
  let r = t / e.bodyWidth * n, i = Math.ceil(e.frame.height * r), a = (e.tipApexY + e.strokeWidth / 2) * r;
23071
23041
  return {
23072
23042
  scale: r,
@@ -23075,7 +23045,7 @@ function xI(e, t, n) {
23075
23045
  tipOffset: (i - a) / n
23076
23046
  };
23077
23047
  }
23078
- function SI(e) {
23048
+ function yI(e) {
23079
23049
  try {
23080
23050
  return (0, SA.default)(e).darken(.41).desaturate(.4).hex();
23081
23051
  } catch {
@@ -23084,8 +23054,8 @@ function SI(e) {
23084
23054
  }
23085
23055
  //#endregion
23086
23056
  //#region src/components/Map/drawing/config/poi-pin.ts
23087
- var CI = .6, wI = "#ffffff", TI = "rgba(0, 0, 0, 0.35)";
23088
- function EI(e, t) {
23057
+ var bI = .6, xI = "#ffffff", SI = "rgba(0, 0, 0, 0.35)";
23058
+ function CI(e, t) {
23089
23059
  let n = document.createElement("canvas");
23090
23060
  n.width = t.canvasWidth, n.height = t.canvasHeight;
23091
23061
  let r = n.getContext("2d");
@@ -23095,35 +23065,35 @@ function EI(e, t) {
23095
23065
  path: new Path2D(e.outline)
23096
23066
  };
23097
23067
  }
23098
- function DI(e, t, n) {
23099
- e.shadowColor = TI, e.shadowOffsetY = t.shadow.offsetY * n, e.shadowBlur = t.shadow.blur * n;
23068
+ function wI(e, t, n) {
23069
+ e.shadowColor = SI, e.shadowOffsetY = t.shadow.offsetY * n, e.shadowBlur = t.shadow.blur * n;
23100
23070
  }
23101
- function OI(e) {
23071
+ function TI(e) {
23102
23072
  e.shadowColor = "transparent", e.shadowOffsetY = 0, e.shadowBlur = 0;
23103
23073
  }
23104
- function kI(e) {
23074
+ function EI(e) {
23105
23075
  return e.getContext("2d").getImageData(0, 0, e.width, e.height);
23106
23076
  }
23107
- function AI(e, t, n, r) {
23108
- let a = yI, o = xI(a, t, n), { canvas: s, ctx: c, path: l } = EI(a, o), { x: u, y: d } = a.head;
23109
- if (DI(c, a, o.scale), c.fillStyle = wI, c.fill(l), OI(c), c.beginPath(), c.arc(u, d, a.head.innerRadius, 0, 2 * Math.PI), c.fillStyle = i, c.fillStyle = r, c.fill(), e) {
23110
- let t = 2 * a.head.innerRadius * CI * o.scale, n = yo(e, t, t, 1), r = n.getContext("2d");
23111
- r.globalCompositeOperation = "source-in", r.fillStyle = wI, r.fillRect(0, 0, n.width, n.height);
23077
+ function DI(e, t, n, r) {
23078
+ let a = gI, o = vI(a, t, n), { canvas: s, ctx: c, path: l } = CI(a, o), { x: u, y: d } = a.head;
23079
+ if (wI(c, a, o.scale), c.fillStyle = xI, c.fill(l), TI(c), c.beginPath(), c.arc(u, d, a.head.innerRadius, 0, 2 * Math.PI), c.fillStyle = i, c.fillStyle = r, c.fill(), e) {
23080
+ let t = 2 * a.head.innerRadius * bI * o.scale, n = yo(e, t, t, 1), r = n.getContext("2d");
23081
+ r.globalCompositeOperation = "source-in", r.fillStyle = xI, r.fillRect(0, 0, n.width, n.height);
23112
23082
  let i = n.width / o.scale, s = n.height / o.scale;
23113
23083
  c.drawImage(n, u - i / 2, d - s / 2, i, s);
23114
23084
  }
23115
- return kI(s);
23085
+ return EI(s);
23116
23086
  }
23117
- function jI(e, t, n) {
23118
- let r = bI, i = xI(r, e, t), { canvas: a, ctx: o, path: s } = EI(r, i), c = SI(n);
23119
- return DI(o, r, i.scale), o.fillStyle = n, o.fill(s), OI(o), o.strokeStyle = c, o.lineWidth = r.strokeWidth, o.lineJoin = "round", o.stroke(s), o.beginPath(), o.arc(r.head.x, r.head.y, r.head.innerRadius, 0, 2 * Math.PI), o.fillStyle = c, o.fill(), kI(a);
23087
+ function OI(e, t, n) {
23088
+ let r = _I, i = vI(r, e, t), { canvas: a, ctx: o, path: s } = CI(r, i), c = yI(n);
23089
+ return wI(o, r, i.scale), o.fillStyle = n, o.fill(s), TI(o), o.strokeStyle = c, o.lineWidth = r.strokeWidth, o.lineJoin = "round", o.stroke(s), o.beginPath(), o.arc(r.head.x, r.head.y, r.head.innerRadius, 0, 2 * Math.PI), o.fillStyle = c, o.fill(), EI(a);
23120
23090
  }
23121
23091
  //#endregion
23122
23092
  //#region src/components/Map/drawing/config/config-outdoor-poi.ts
23123
- var MI = (e) => !!e && e !== "transparent" && e !== "none";
23124
- function NI(e) {
23093
+ var kI = (e) => !!e && e !== "transparent" && e !== "none";
23094
+ function AI(e) {
23125
23095
  var t, n, r;
23126
- let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(MI), a = ((n = e.shapes) == null ? [] : n).map((e) => e.color).find(MI), o = (r = i == null ? a : i) == null ? null : r;
23096
+ let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(kI), a = ((n = e.shapes) == null ? [] : n).map((e) => e.color).find(kI), o = (r = i == null ? a : i) == null ? null : r;
23127
23097
  if (!o) return null;
23128
23098
  try {
23129
23099
  return B.monochrome ? (0, SA.default)(o).grayscale().rgb().string() : o;
@@ -23131,13 +23101,13 @@ function NI(e) {
23131
23101
  return o;
23132
23102
  }
23133
23103
  }
23134
- function PI() {
23104
+ function jI() {
23135
23105
  return Er.enableExperimentalOutdoorMarkers === !0;
23136
23106
  }
23137
- function FI(e) {
23107
+ function MI(e) {
23138
23108
  return e.name.toLowerCase().startsWith(o.toLowerCase());
23139
23109
  }
23140
- async function II(e) {
23110
+ async function NI(e) {
23141
23111
  var t, n;
23142
23112
  let r = z.poiMarkerStore.generation, a = window.devicePixelRatio || 1, o = [], s = new Map(((t = (n = z.poiTypeStore) == null ? void 0 : n.poiTypes) == null ? [] : t).map((e) => [e.id, e])), c = /* @__PURE__ */ new Map(), l = (e) => {
23143
23113
  let t = c.get(e);
@@ -23154,39 +23124,39 @@ async function II(e) {
23154
23124
  x: u.x,
23155
23125
  y: u.y
23156
23126
  },
23157
- icon: AI(c, 40, a, (n = NI(e)) == null ? i : n)
23127
+ icon: DI(c, 40, a, (n = AI(e)) == null ? i : n)
23158
23128
  });
23159
23129
  })), z.poiMarkerStore.generation === r && z.poiMarkerStore.addMany(o);
23160
23130
  }
23161
- function LI(e, t) {
23162
- return !PI() || !FI(e) ? !1 : (z.maplibreStore.showMaplibre && II(t.filter((e) => e.poiTypeId && e.rect)), !0);
23131
+ function PI(e, t) {
23132
+ return !jI() || !MI(e) ? !1 : (z.maplibreStore.showMaplibre && NI(t.filter((e) => e.poiTypeId && e.rect)), !0);
23163
23133
  }
23164
23134
  //#endregion
23165
23135
  //#region src/components/Map/drawing/config/config-load-layer.ts
23166
- function RI(e) {
23136
+ function FI(e) {
23167
23137
  return e.childLayers.length ? e.childLayers : LN(e, e.basePriority, 15).layers;
23168
23138
  }
23169
- async function zI(e, t) {
23139
+ async function II(e, t) {
23170
23140
  let n = [], r = EA(z, e);
23171
- if (LI(e, r)) return e.loaded = !0, e.configured = !0, e.children = [], Wk(e.name, [], { hidden: !0 });
23172
- let i = await XN(e), a = [], o = sA(r, 350), s = bn.booths.filter((t) => t.rect && (!t.layer || t.layer === e || t.layer.childLayers.includes(e)) && t.exhibitors.find((e) => {
23141
+ if (PI(e, r)) return e.loaded = !0, e.configured = !0, e.children = [], Wk(e.name, [], { hidden: !0 });
23142
+ let i = await KN(e), a = [], o = sA(r, 350), s = bn.booths.filter((t) => t.rect && (!t.layer || t.layer === e || t.layer.childLayers.includes(e)) && t.exhibitors.find((e) => {
23173
23143
  var t;
23174
23144
  return !!e.logoInBooth && !!((t = e.logo) != null && t.url);
23175
23145
  }) && !B.hideLogoInBooth), c = new Map(s.map((e) => [e, e.noLabels]));
23176
23146
  s.forEach((e) => e.noLabels = !0), r.length && o.forEach((t, n) => {
23177
- a.push(vI(`${e.name}:${f}:${n}`, t));
23147
+ a.push(hI(`${e.name}:${f}:${n}`, t));
23178
23148
  });
23179
23149
  for (let [e, t] of c) e.noLabels = t;
23180
23150
  e.loaded = !0;
23181
- let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d = fI(e.name), { icons: p, models: m } = hI(e), h = {
23151
+ let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d = lI(e.name), { icons: p, models: m } = fI(e), h = {
23182
23152
  name: d,
23183
23153
  children: []
23184
23154
  }, g = {
23185
- name: pI(e.name),
23186
- children: m.map(uI)
23155
+ name: uI(e.name),
23156
+ children: m.map(sI)
23187
23157
  };
23188
- p.length && aI(d, async () => {
23189
- let e = await GN(p), t = [];
23158
+ p.length && nI(d, async () => {
23159
+ let e = await WN(p), t = [];
23190
23160
  for (let { bounds: n, source: r } of e) t.push(Vk(r, n));
23191
23161
  return {
23192
23162
  layer: h,
@@ -23199,25 +23169,25 @@ async function zI(e, t) {
23199
23169
  ...u,
23200
23170
  name: `${i.name}:fg`
23201
23171
  }), p.length && n.push(h), g.children.length && n.push(g);
23202
- let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) => zI(e, !0)));
23172
+ let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) => II(e, !0)));
23203
23173
  return n.push(..._), e.children = n, e.configured = !0, Wk(e.name, n, { hidden: !t });
23204
23174
  }
23205
- async function BI(e) {
23175
+ async function LI(e) {
23206
23176
  if (e.configured) return Wk(e.name, e.children, { hidden: !e.visible });
23207
- if (z.layerStore.mode !== rL.Default && !Ar(e.name) && !e.rootParent) try {
23177
+ if (z.layerStore.mode !== eL.Default && !Ar(e.name) && !e.rootParent) try {
23208
23178
  let t = n().fpSvgLayerJsRefs[e.name];
23209
23179
  t && await h(t);
23210
23180
  } catch (t) {
23211
23181
  console.warn(`Layer data not loaded: ${e.name}`, t);
23212
23182
  }
23213
- let t = RI(e);
23183
+ let t = FI(e);
23214
23184
  t.length && (e.childLayers = t);
23215
23185
  let { layers: r } = z.layerStore;
23216
- return z.layerStore.layers = [...r, ...t.filter((e) => !r.some((t) => t.name === e.name))], zI(e, e.visible);
23186
+ return z.layerStore.layers = [...r, ...t.filter((e) => !r.some((t) => t.name === e.name))], II(e, e.visible);
23217
23187
  }
23218
23188
  //#endregion
23219
23189
  //#region src/utils/shortenName.ts
23220
- function VI(e) {
23190
+ function RI(e) {
23221
23191
  return typeof e == "string" ? e.split(" ").map((e) => {
23222
23192
  let t = e.replace(/[^A-Z0-9+-]/gi, ""), n = t.match(/^[-+]?\d+$/);
23223
23193
  return n ? n[0] : /^[A-Z]{2,4}$/.test(t) ? t : t.charAt(0).toUpperCase();
@@ -23225,8 +23195,8 @@ function VI(e) {
23225
23195
  }
23226
23196
  //#endregion
23227
23197
  //#region src/store/LayerStore.ts
23228
- var HI, UI, WI, GI, KI, qI, JI, YI, $, XI, ZI, QI, $I;
23229
- function eL(e, t, n, r) {
23198
+ var zI, BI, VI, HI, UI, WI, GI, KI, $, qI, JI, YI, XI;
23199
+ function ZI(e, t, n, r) {
23230
23200
  n && Object.defineProperty(e, t, {
23231
23201
  enumerable: n.enumerable,
23232
23202
  configurable: n.configurable,
@@ -23234,7 +23204,7 @@ function eL(e, t, n, r) {
23234
23204
  value: n.initializer ? n.initializer.call(r) : void 0
23235
23205
  });
23236
23206
  }
23237
- function tL(e, t, n, r, i) {
23207
+ function QI(e, t, n, r, i) {
23238
23208
  var a = {};
23239
23209
  return Object.keys(r).forEach(function(e) {
23240
23210
  a[e] = r[e];
@@ -23242,41 +23212,41 @@ function tL(e, t, n, r, i) {
23242
23212
  return r(e, t, n) || n;
23243
23213
  }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
23244
23214
  }
23245
- var nL = [
23215
+ var $I = [
23246
23216
  "money2020usa",
23247
23217
  "rodion2",
23248
23218
  "possible2025",
23249
23219
  "2025virtuosotravelweek",
23250
23220
  "zscalerskofy26",
23251
23221
  "gamescom2025"
23252
- ], rL = /*#__PURE__*/ function(e) {
23222
+ ], eL = /*#__PURE__*/ function(e) {
23253
23223
  return e[e.Default = 0] = "Default", e[e.Separated = 1] = "Separated", e[e.Radio = 2] = "Radio", e[e.CheckBox = 3] = "CheckBox", e;
23254
- }({}), iL = /*#__PURE__*/ function(e) {
23224
+ }({}), tL = /*#__PURE__*/ function(e) {
23255
23225
  return e[e.Unset = 0] = "Unset", e[e.AlwaysVisible = 1] = "AlwaysVisible", e[e.AlwaysHidden = 2] = "AlwaysHidden", e[e.TurnedOn = 3] = "TurnedOn", e[e.TurnedOff = 4] = "TurnedOff", e;
23256
- }({}), aL = (HI = class {
23226
+ }({}), nL = (zI = class {
23257
23227
  constructor() {
23258
- this.basePriority = 0, this.name = "", this.description = "", this.frozen = !1, this.rect = null, this.viewbox = null, this.configured = !1, this.childLayers = [], this.rootParent = null, this.mode = iL.Unset, this.children = [], this.pathway = void 0, this.floorIndex = void 0, eL(this, "loaded", UI, this), eL(this, "visible", WI, this);
23228
+ this.basePriority = 0, this.name = "", this.description = "", this.frozen = !1, this.rect = null, this.viewbox = null, this.configured = !1, this.childLayers = [], this.rootParent = null, this.mode = tL.Unset, this.children = [], this.pathway = void 0, this.floorIndex = void 0, ZI(this, "loaded", BI, this), ZI(this, "visible", VI, this);
23259
23229
  }
23260
23230
  get shortName() {
23261
- return VI(this.description);
23231
+ return RI(this.description);
23262
23232
  }
23263
- }, UI = tL(HI.prototype, "loaded", [D], {
23233
+ }, BI = QI(zI.prototype, "loaded", [D], {
23264
23234
  configurable: !0,
23265
23235
  enumerable: !0,
23266
23236
  writable: !0,
23267
23237
  initializer: function() {
23268
23238
  return !1;
23269
23239
  }
23270
- }), WI = tL(HI.prototype, "visible", [D], {
23240
+ }), VI = QI(zI.prototype, "visible", [D], {
23271
23241
  configurable: !0,
23272
23242
  enumerable: !0,
23273
23243
  writable: !0,
23274
23244
  initializer: function() {
23275
23245
  return !1;
23276
23246
  }
23277
- }), HI), oL = (GI = E({ keepAlive: !0 }), KI = E({ keepAlive: !0 }), qI = E({ keepAlive: !0 }), JI = E({ keepAlive: !0 }), YI = E({ keepAlive: !0 }), $ = class {
23247
+ }), zI), rL = (HI = E({ keepAlive: !0 }), UI = E({ keepAlive: !0 }), WI = E({ keepAlive: !0 }), GI = E({ keepAlive: !0 }), KI = E({ keepAlive: !0 }), $ = class {
23278
23248
  constructor() {
23279
- eL(this, "layers", XI, this), eL(this, "defaultLayer", ZI, this), eL(this, "mode", QI, this), eL(this, "layersLoaded", $I, this), this.updateVisibilityTimeout = 0, this.selectFloorTimeout = 0;
23249
+ ZI(this, "layers", qI, this), ZI(this, "defaultLayer", JI, this), ZI(this, "mode", YI, this), ZI(this, "layersLoaded", XI, this), this.updateVisibilityTimeout = 0, this.selectFloorTimeout = 0;
23280
23250
  }
23281
23251
  get visible() {
23282
23252
  return this.layers.filter((e) => e.frozen || e.visible);
@@ -23289,7 +23259,7 @@ var nL = [
23289
23259
  var t;
23290
23260
  return (t = e.viewbox) == null ? e.rect : t;
23291
23261
  }).filter((e) => !!e);
23292
- return this.mode !== rL.Radio || !e.length ? null : sr.fromUnion(...e) || null;
23262
+ return this.mode !== eL.Radio || !e.length ? null : sr.fromUnion(...e) || null;
23293
23263
  }
23294
23264
  get bounds() {
23295
23265
  let e = this.visible.map((e) => {
@@ -23307,7 +23277,7 @@ var nL = [
23307
23277
  }
23308
23278
  get floors() {
23309
23279
  if (!Ja()) return [];
23310
- let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(z.routeStore.layers.filter((e) => e && e.mode !== iL.AlwaysHidden && e.mode !== iL.AlwaysVisible))), t = Array.from(e).reverse();
23280
+ let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(z.routeStore.layers.filter((e) => e && e.mode !== tL.AlwaysHidden && e.mode !== tL.AlwaysVisible))), t = Array.from(e).reverse();
23311
23281
  return t.map((e, n) => {
23312
23282
  var r;
23313
23283
  let i = z.routeStore.layers.length > 0 && z.routeStore.layers.indexOf(e) === -1, a = z.toursStore.tourLayers.length > 0 && z.toursStore.tourLayers.indexOf(e) === -1;
@@ -23327,10 +23297,10 @@ var nL = [
23327
23297
  this.selectFloorTimeout = window.setTimeout(() => this.selectFloorTimeout = 0, 500);
23328
23298
  let t = this.layers.find((t) => t.description === e.description);
23329
23299
  if (!t) return;
23330
- if (this.mode === rL.Radio) {
23300
+ if (this.mode === eL.Radio) {
23331
23301
  var n;
23332
23302
  if (this.updateVisibility(t, !0), z.maplibreStore.showMaplibre) return;
23333
- if ((n = Dr().__fpSettings) != null && n.fpVer || nL.includes(qa.EXPO)) {
23303
+ if ((n = Dr().__fpSettings) != null && n.fpVer || $I.includes(qa.EXPO)) {
23334
23304
  var r;
23335
23305
  let e = (r = t.viewbox) == null ? t.rect : r;
23336
23306
  z.uiState.moveToRect = e;
@@ -23348,14 +23318,14 @@ var nL = [
23348
23318
  z.toursStore.stopTour();
23349
23319
  }
23350
23320
  updateVisibility(e, t) {
23351
- if (this.mode === rL.Radio && !t) return;
23352
- let n = e instanceof aL ? e : this.findLayer(e);
23321
+ if (this.mode === eL.Radio && !t) return;
23322
+ let n = e instanceof nL ? e : this.findLayer(e);
23353
23323
  if (!n || n.visible === t) {
23354
23324
  n && z.routeStore.currentRouteLayer !== n && (z.routeStore.currentRouteLayer = n);
23355
23325
  return;
23356
23326
  }
23357
- BI(n).then(() => {
23358
- this.mode === rL.Radio && this.layers.filter((e) => !e.pathway).forEach((e) => {
23327
+ LI(n).then(() => {
23328
+ this.mode === eL.Radio && this.layers.filter((e) => !e.pathway).forEach((e) => {
23359
23329
  e.name !== n.name && !e.frozen && e.visible && (e.visible = !1, e.childLayers.forEach((e) => {
23360
23330
  e.visible = !1;
23361
23331
  }));
@@ -23388,7 +23358,7 @@ var nL = [
23388
23358
  try {
23389
23359
  let t = this.findLayer(e);
23390
23360
  if (!t) throw Error(`There is no pathway with this name. ${e}`);
23391
- await BI(t);
23361
+ await LI(t);
23392
23362
  let n = this.getPathwayList();
23393
23363
  j(() => {
23394
23364
  n.forEach((t) => {
@@ -23409,32 +23379,32 @@ var nL = [
23409
23379
  });
23410
23380
  });
23411
23381
  }
23412
- }, XI = tL($.prototype, "layers", [D], {
23382
+ }, qI = QI($.prototype, "layers", [D], {
23413
23383
  configurable: !0,
23414
23384
  enumerable: !0,
23415
23385
  writable: !0,
23416
23386
  initializer: function() {
23417
23387
  return [];
23418
23388
  }
23419
- }), ZI = tL($.prototype, "defaultLayer", [D], {
23389
+ }), JI = QI($.prototype, "defaultLayer", [D], {
23420
23390
  configurable: !0,
23421
23391
  enumerable: !0,
23422
23392
  writable: !0,
23423
23393
  initializer: null
23424
- }), QI = tL($.prototype, "mode", [D], {
23394
+ }), YI = QI($.prototype, "mode", [D], {
23425
23395
  configurable: !0,
23426
23396
  enumerable: !0,
23427
23397
  writable: !0,
23428
23398
  initializer: function() {
23429
- return rL.Default;
23399
+ return eL.Default;
23430
23400
  }
23431
- }), $I = tL($.prototype, "layersLoaded", [D], {
23401
+ }), XI = QI($.prototype, "layersLoaded", [D], {
23432
23402
  configurable: !0,
23433
23403
  enumerable: !0,
23434
23404
  writable: !0,
23435
23405
  initializer: function() {
23436
23406
  return !1;
23437
23407
  }
23438
- }), tL($.prototype, "visible", [GI], Object.getOwnPropertyDescriptor($.prototype, "visible"), $.prototype), tL($.prototype, "loaded", [KI], Object.getOwnPropertyDescriptor($.prototype, "loaded"), $.prototype), tL($.prototype, "rectangle", [qI], Object.getOwnPropertyDescriptor($.prototype, "rectangle"), $.prototype), tL($.prototype, "bounds", [JI], Object.getOwnPropertyDescriptor($.prototype, "bounds"), $.prototype), tL($.prototype, "viewboxRectangle", [YI], Object.getOwnPropertyDescriptor($.prototype, "viewboxRectangle"), $.prototype), tL($.prototype, "pathwayLayers", [E], Object.getOwnPropertyDescriptor($.prototype, "pathwayLayers"), $.prototype), tL($.prototype, "floors", [E], Object.getOwnPropertyDescriptor($.prototype, "floors"), $.prototype), tL($.prototype, "selectFloor", [A], Object.getOwnPropertyDescriptor($.prototype, "selectFloor"), $.prototype), tL($.prototype, "updateVisibility", [A], Object.getOwnPropertyDescriptor($.prototype, "updateVisibility"), $.prototype), tL($.prototype, "showPathWay", [A], Object.getOwnPropertyDescriptor($.prototype, "showPathWay"), $.prototype), tL($.prototype, "hidePathways", [A], Object.getOwnPropertyDescriptor($.prototype, "hidePathways"), $.prototype), $);
23408
+ }), QI($.prototype, "visible", [HI], Object.getOwnPropertyDescriptor($.prototype, "visible"), $.prototype), QI($.prototype, "loaded", [UI], Object.getOwnPropertyDescriptor($.prototype, "loaded"), $.prototype), QI($.prototype, "rectangle", [WI], Object.getOwnPropertyDescriptor($.prototype, "rectangle"), $.prototype), QI($.prototype, "bounds", [GI], Object.getOwnPropertyDescriptor($.prototype, "bounds"), $.prototype), QI($.prototype, "viewboxRectangle", [KI], Object.getOwnPropertyDescriptor($.prototype, "viewboxRectangle"), $.prototype), QI($.prototype, "pathwayLayers", [E], Object.getOwnPropertyDescriptor($.prototype, "pathwayLayers"), $.prototype), QI($.prototype, "floors", [E], Object.getOwnPropertyDescriptor($.prototype, "floors"), $.prototype), QI($.prototype, "selectFloor", [A], Object.getOwnPropertyDescriptor($.prototype, "selectFloor"), $.prototype), QI($.prototype, "updateVisibility", [A], Object.getOwnPropertyDescriptor($.prototype, "updateVisibility"), $.prototype), QI($.prototype, "showPathWay", [A], Object.getOwnPropertyDescriptor($.prototype, "showPathWay"), $.prototype), QI($.prototype, "hidePathways", [A], Object.getOwnPropertyDescriptor($.prototype, "hidePathways"), $.prototype), $);
23439
23409
  //#endregion
23440
- export { Mk as $, fr as $t, yA as A, so as At, nA as B, qa as Bt, uP as C, fo as Ct, RN as D, jo as Dt, QN as E, yo as Et, uA as F, Qa as Ft, Vk as G, Dr as Gt, iA as H, Ia as Ht, oA as I, Za as It, Bk as J, Sr as Jt, Wk as K, jr as Kt, dA as L, Ya as Lt, xA as M, lo as Mt, _A as N, vo as Nt, PN as O, So as Ot, vA as P, ro as Pt, Lk as Q, sr as Qt, rA as R, Xa as Rt, pP as S, oo as St, iP as T, xo as Tt, aA as U, za as Ut, eA as V, Va as Vt, $k as W, La as Wt, Uk as X, Cr as Xt, Hk as Y, wr as Yt, Fk as Z, vr as Zt, nF as _, Rc as _t, PI as a, jn as an, ek as at, CP as b, uo as bt, bI as c, Tn as cn, KO as ct, sI as d, Of as dt, rr as en, jk as et, UF as f, Df as ft, rF as g, Hc as gt, iF as h, Bc as ht, BI as i, An as in, lk as it, bA as j, co as jt, wA as k, wo as kt, xI as l, En as ln, Ip as lt, aF as m, sd as mt, oL as n, Wn as nn, Pk as nt, jI as o, Pn as on, ik as ot, zF as p, kf as pt, Gk as q, Er as qt, rL as r, kn as rn, ck as rt, yI as s, Cn as sn, qO as st, iL as t, Yn as tn, Nk as tt, dI as u, wn as un, Nf as ut, LP as v, Fc as vt, sP as w, Mo as wt, mP as x, Co as xt, bP as y, Vo as yt, tA as z, Ja as zt };
23410
+ export { Mk as $, fr as $t, yA as A, so as At, nA as B, qa as Bt, oP as C, fo as Ct, RN as D, jo as Dt, JN as E, yo as Et, uA as F, Qa as Ft, Vk as G, Dr as Gt, iA as H, Ia as Ht, oA as I, Za as It, Bk as J, Sr as Jt, Wk as K, jr as Kt, dA as L, Ya as Lt, xA as M, lo as Mt, _A as N, vo as Nt, PN as O, So as Ot, vA as P, ro as Pt, Lk as Q, sr as Qt, rA as R, Xa as Rt, lP as S, oo as St, eP as T, xo as Tt, aA as U, za as Ut, eA as V, Va as Vt, $k as W, La as Wt, Uk as X, Cr as Xt, Hk as Y, wr as Yt, Fk as Z, vr as Zt, $P as _, Rc as _t, jI as a, jn as an, ek as at, yP as b, uo as bt, _I as c, Tn as cn, KO as ct, iI as d, Of as dt, rr as en, jk as et, BF as f, Df as ft, eF as g, Hc as gt, tF as h, Bc as ht, LI as i, An as in, lk as it, bA as j, co as jt, wA as k, wo as kt, vI as l, En as ln, Ip as lt, nF as m, sd as mt, rL as n, Wn as nn, Pk as nt, OI as o, Pn as on, ik as ot, IF as p, kf as pt, Gk as q, Er as qt, eL as r, kn as rn, ck as rt, gI as s, Cn as sn, qO as st, tL as t, Yn as tn, Nk as tt, cI as u, wn as un, Nf as ut, PP as v, Fc as vt, rP as w, Mo as wt, uP as x, Co as xt, gP as y, Vo as yt, tA as z, Ja as zt };