@expofp/floorplan 3.46.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CJtSs2s5.js → Button-DyqVe4xL.js} +5 -5
- package/dist/browser/{CookieConsent-C4fi9Tyh.js → CookieConsent-Dne5UXwi.js} +7 -7
- package/dist/browser/{Debug-Cd610X28.js → Debug-CSY6FmRs.js} +7 -7
- package/dist/browser/{DebugTools-D9g4_7Cc.js → DebugTools-CSGF0Uqi.js} +6 -6
- package/dist/browser/{Demo-CryvOcgl.js → Demo-AI-22qbf.js} +9 -9
- package/dist/browser/{Free-CJXdChTu.js → Free-BmItczwV.js} +10 -10
- package/dist/browser/{GalleryContainer-DJEByROk.js → GalleryContainer-Do5QXu8h.js} +11 -11
- package/dist/browser/{GpsLoader-DSsG-xT8.js → GpsLoader-D6boL0AQ.js} +14 -14
- package/dist/browser/{KioskStore-DOB-av5O.js → KioskStore-DodjzUdk.js} +19 -19
- package/dist/browser/{LayerStore-CRZuLMs5.js → LayerStore-DCg-juRT.js} +289 -270
- package/dist/browser/{MaplibreAdapter-C_5hoa-Y.js → MaplibreAdapter-D838jbrB.js} +148 -148
- package/dist/browser/{ModalContainer-Ch8bqPHR.js → ModalContainer-DAh3OT88.js} +10 -10
- package/dist/browser/{PermissionNotice-CiR8SfU0.js → PermissionNotice-D9dFiy8Z.js} +6 -6
- package/dist/browser/{RouteStore-D5yYhhPl.js → RouteStore-B82dztUW.js} +342 -327
- package/dist/browser/{SetKioskMode-PiwwpWpN.js → SetKioskMode-DcQFm_UG.js} +12 -12
- package/dist/browser/{ShowKiosk-uWNhreCd.js → ShowKiosk-BnuT9vM-.js} +11 -11
- package/dist/browser/{UIState-Bi4-Ri9M.js → UIState-Dd6fvko0.js} +97 -97
- package/dist/browser/{ViewerMenuPanel-B3vtTFpG.js → ViewerMenuPanel-C3B3OmlN.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-Db76vB7o.js → add-debug-secret-listener-BJu3pH2x.js} +1 -1
- package/dist/browser/{adopt-global-settings-67S2v_mo.js → adopt-global-settings-BerG23m2.js} +9 -9
- package/dist/browser/{boolean-editor-B1nYYAEd.js → boolean-editor-C1i1ID8g.js} +9 -9
- package/dist/browser/{bootIntercom-BQDnVlyT.js → bootIntercom-C3tqD4Ct.js} +2 -2
- package/dist/browser/bundle.json +87 -87
- package/dist/browser/{camera-events-dIlK_9kU.js → camera-events-DzSywgw0.js} +1 -1
- package/dist/browser/{classnames-CnT6VKND.js → classnames-CQMYVTW5.js} +2 -2
- package/dist/browser/{client-iKoOfnTw.js → client-DbQnuxsE.js} +5 -5
- package/dist/browser/{components-CEmFE-HF.js → components-CzNKFauU.js} +2211 -2160
- package/dist/browser/{create-live-plan-VYe8zgCt.js → create-live-plan-D17jzmnD.js} +505 -439
- package/dist/browser/{debug-context-SM4t83oS.js → debug-context-CLE9u3W1.js} +6 -6
- package/dist/browser/{debug-overlay-BLs-zKon.js → debug-overlay-CqyQd6Tu.js} +10 -10
- package/dist/browser/{debug-ui-COzdQWZH.js → debug-ui-CopIbPwZ.js} +6 -6
- package/dist/browser/{dist-Dxs4B_bo.js → dist-CXSdtHNF.js} +6 -6
- package/dist/browser/{dist-B-cTdqLW.js → dist-DrhAFaXl.js} +5 -5
- package/dist/browser/{dist-C7DmTDRb.js → dist-mSjAoqZa.js} +3 -3
- package/dist/browser/{efp-debug-init-B_S1vuGu.js → efp-debug-init-D3gNE8Zq.js} +3 -3
- package/dist/browser/{enum-editor-CNXjKr2S.js → enum-editor-DfEZj9xj.js} +4 -4
- package/dist/browser/{es5-DXybUgTP.js → es5-CRZbJ3RK.js} +2 -2
- package/dist/browser/{event-head-ClLbm9Br.js → event-head-C5Pqy8aE.js} +1 -1
- package/dist/browser/{event-not-found-DH79zTW9.js → event-not-found-y-baKtlx.js} +3 -3
- package/dist/browser/{event-scoped-cache-DpaRX7uc.js → event-scoped-cache-CUHa0QyF.js} +3 -3
- package/dist/browser/{expofpUrl-n296mHS4.js → expofpUrl-CUIqO5kL.js} +1 -1
- package/dist/browser/{exports-lzdhlipZ.js → exports-CnYQMV4a.js} +1 -1
- package/dist/browser/{favicon-DIM65QuL.js → favicon-DtPw8IL3.js} +1 -1
- package/dist/browser/{fetch-retry.umd-vSI4xMC_.js → fetch-retry.umd-DjnZ3Ut9.js} +2 -2
- package/dist/browser/{flex-BAVIARsK.js → flex-C5mQXGq5.js} +5 -5
- package/dist/browser/{floorplan.loader-eMUdl6jt.js → floorplan.loader-DEaS-fgT.js} +12 -12
- package/dist/browser/{floorplan.ready-1Txw5bTb.js → floorplan.ready-BOnFLVHj.js} +269 -243
- package/dist/browser/{framing-rect-BTpvle_p.js → framing-rect-BIpsCqTB.js} +426 -351
- package/dist/browser/{freeBanner-F3TTYS8Q.js → freeBanner-BQ-1hI0V.js} +2 -2
- package/dist/browser/{fuse-CaTg1KbU.js → fuse-jVBfzHic.js} +2 -2
- package/dist/browser/{i18n-C_4TK-u4.js → i18n-DlquqKCP.js} +333 -318
- package/dist/browser/index.js +33 -33
- package/dist/browser/{index.module-DRBCPeTj.js → index.module-CN0EtZcO.js} +4 -4
- package/dist/browser/{init-ui-BYGB5Nye.js → init-ui-BQ7d5hKB.js} +19 -19
- package/dist/browser/{integrateKiosk-BYXxa3GA.js → integrateKiosk-CumGPvbc.js} +6 -6
- package/dist/browser/{is-debug-D3IYeseH.js → is-debug-IkNSAGo8.js} +4 -4
- package/dist/browser/{is-own-domain-Sd0Gyaz6.js → is-own-domain-yrTLx04R.js} +1 -1
- package/dist/browser/{is-webview-DkUEFd5j.js → is-webview-DA6FLdme.js} +1 -1
- package/dist/browser/{jsx-runtime-Z0-uGdH1.js → jsx-runtime-BzLvm2y2.js} +2 -2
- package/dist/browser/{kiosk-mode-D9JdlNtc.js → kiosk-mode-zD8K_fUT.js} +3 -3
- package/dist/browser/{kiosk-record-U7MDU1j1.js → kiosk-record-Ckxa0L0B.js} +1 -1
- package/dist/browser/{kioskApi-CZmWdnyx.js → kioskApi-CG3QGuUx.js} +7 -7
- package/dist/browser/{ktx2-DBt1EdxU.js → ktx2-Dx_h97CR.js} +2 -2
- package/dist/browser/{lib-Bpc7qOXg.js → lib-5KOc2jVl.js} +3 -3
- package/dist/browser/{loadImage-Dy1_5knL.js → loadImage-iqS2KHgN.js} +1 -1
- package/dist/browser/{logDeviceInfo-DFiuu0JW.js → logDeviceInfo-DhvfxT2K.js} +9 -9
- package/dist/browser/{mobx-NvAhKUmy.js → mobx-CUFHrL57.js} +4 -4
- package/dist/browser/{mobx.module-Bv5V3v5d.js → mobx.module-BTnTbXnp.js} +1 -1
- package/dist/browser/{optional-boolean-editor-BEOwiXCN.js → optional-boolean-editor-C3k-DXeF.js} +3 -3
- package/dist/browser/{optional-enum-editor-C6KjlpRA.js → optional-enum-editor-CeY1nCnF.js} +4 -4
- package/dist/browser/{optional-string-editor-CFrCSmMd.js → optional-string-editor-DrVHjvsL.js} +4 -4
- package/dist/browser/{particles.min-C2A0DA4i.js → particles.min-BPS1Hdpf.js} +2 -2
- package/dist/browser/{react-CabZjr3N.js → react-XuvSZP7j.js} +2 -2
- package/dist/browser/{react-dom-RP6YFh3Z.js → react-dom-Cg1Pcvni.js} +3 -3
- package/dist/browser/{rolldown-runtime-fogUk23q.js → rolldown-runtime-5rOLGCTp.js} +1 -1
- package/dist/browser/{scene-DuvbPaPD.js → scene-CeKqMicD.js} +10 -10
- package/dist/browser/{scheduler-k2rbX-LJ.js → scheduler-D5sEY0Dn.js} +2 -2
- package/dist/browser/{select-DDC9fvlH.js → select-Cbv7ufJV.js} +10 -10
- package/dist/browser/{settings-BozBuwXD.js → settings-DgySPhLO.js} +2 -2
- package/dist/browser/{settings-item-D4rlEKz6.js → settings-item-e3YLYS4G.js} +6 -6
- package/dist/browser/{store-CbRrBMLs.js → store-DTvNQcN7.js} +2 -2
- package/dist/browser/{string-editor-CExhbakJ.js → string-editor-Dbv6xI9s.js} +4 -4
- package/dist/browser/{text-field-BV3Vp6cI.js → text-field-Cg5awwlh.js} +5 -5
- package/dist/browser/{theme-E8keDBEa.js → theme-BRoMMdQq.js} +8 -8
- package/dist/browser/{three.core-C_nLFu2C.js → three.core-DvpRLNmt.js} +1 -1
- package/dist/browser/{ui-CgHs1m5h.js → ui-DNMlY_VB.js} +8 -8
- package/dist/browser/{useRenderTarget-D7wRx7QW.js → useRenderTarget-C__MnkX7.js} +4 -4
- package/dist/browser/{viewport-BH6xyD06.js → viewport-DBuFXrrj.js} +3 -3
- package/dist/browser/{wayfinding-BiZuXF9Q.js → wayfinding-BUQns13Y.js} +516 -510
- package/dist/esm/components/BaseFilterModal.d.ts +4 -2
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/CategoryFilterModal.js +1 -1
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +57 -5
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +1 -1
- package/dist/esm/components/Map/drawing/config/booth-fill-color.d.ts +16 -0
- package/dist/esm/components/Map/drawing/config/booth-fill-color.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/SearchButtons/SearchButton.d.ts +1 -0
- package/dist/esm/components/SearchButtons/SearchButton.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/services/URLFilterManager.d.ts +8 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/store/CategoryFilterStore.d.ts +33 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +9 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +7 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +0 -3
- package/dist/esm/store/search-buttons/constants.js +1 -1
- package/dist/esm/store/search-buttons/utils.d.ts +23 -2
- package/dist/esm/store/search-buttons/utils.js +1 -1
- package/dist/esm/store/types.d.ts +5 -0
- package/dist/esm/test/store-harness.js +1 -1
- package/dist/esm/utils/filter-groups.d.ts +9 -0
- package/dist/esm/utils/filter-groups.js +1 -0
- package/dist/esm/utils/gps.d.ts +5 -1
- package/dist/esm/utils/gps.js +1 -1
- package/package.json +10 -10
|
@@ -1,25 +1,25 @@
|
|
|
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.47.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "785e6f81-b9ad-4aee-a2e9-410dc7cd777c", e._sentryDebugIdIdentifier = "sentry-dbid-785e6f81-b9ad-4aee-a2e9-410dc7cd777c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { s as y } from "./efp-debug-init-
|
|
12
|
-
import { t as b } from "./react-
|
|
13
|
-
import { t as x } from "./jsx-runtime-
|
|
14
|
-
import { a as S, i as C, o as w, t as T } from "./is-debug-
|
|
15
|
-
import { a as E, c as D, h as O, l as k, n as A, r as j, u as M } from "./mobx.module-
|
|
16
|
-
import { t as N } from "./is-webview-
|
|
17
|
-
import { t as P } from "./loadImage-
|
|
18
|
-
import { t as ee } from "./scheduler-
|
|
19
|
-
import { C as te, D as ne, E as re, O as F, S as ie, T as ae, _ as oe, a as se, b as I, d as ce, f as le, g as ue, h as L, i as de, k as fe, l as pe, m as me, o as he, p as ge, r as _e, s as ve, u as ye, v as be, w as xe, x as Se, y as R } from "./debug-context-
|
|
20
|
-
import { a as Ce, d as we, l as z, r as Te, t as Ee, u as B } from "./store-
|
|
21
|
-
import { n as De, t as Oe } from "./event-scoped-cache-
|
|
22
|
-
import { $a as V, $i as ke, $r as Ae, $t as je, A as Me, Aa as Ne, An as Pe, Ar as Fe, C as Ie, Cr as Le, Dt as Re, E as ze, Er as Be, F as Ve, Fi as H, Fn as He, Fr as Ue, Ft as We, G as Ge, Ga as Ke, Gn as qe, Hi as Je, Hn as Ye, Ht as Xe, Ii as Ze, In as Qe, Kn as $e, L as et, Ln as tt, Lt as nt, Mi as rt, Mr as it, Ni as at, Or as ot, Pr as st, Qa as ct, Qi as lt, Qn as ut, Qr as dt, Ri as ft, Rt as pt, Sr as mt, St as ht, U as gt, Ui as _t, Un as vt, Ur as yt, V as bt, Vn as xt, Wa as St, Wr as Ct, Xi as wt, Ya as Tt, Yt as Et, Zr as Dt, _a as Ot, _n as kt, a as At, an as jt, ar as Mt, br as Nt, bt as Pt, ca as Ft, co as It, dn as Lt, do as Rt, eo as U, er as zt, fa as Bt, fn as Vt, fr as Ht, ft as Ut, gn as Wt, gr as Gt, ha as Kt, hr as qt, in as Jt, ir as Yt, j as Xt, jn as Zt, ka as Qt, kn as $t, kr as en, la as tn, mn as nn, mt as rn, no as an, nr as on, oa as sn, on as cn, or as ln, pa as un, pn as dn, pr as fn, pt as pn, qt as mn, rr as W, sn as hn, sr as gn, to as _n, ua as vn, va as yn, x as bn, yr as xn, zi as Sn, zr as Cn } from "./three.core-
|
|
9
|
+
import { r as e, t } from "./rolldown-runtime-5rOLGCTp.js";
|
|
10
|
+
import { G as n, I as r, K as i, M as a, N as o, Ot 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-DlquqKCP.js";
|
|
11
|
+
import { s as y } from "./efp-debug-init-D3gNE8Zq.js";
|
|
12
|
+
import { t as b } from "./react-XuvSZP7j.js";
|
|
13
|
+
import { t as x } from "./jsx-runtime-BzLvm2y2.js";
|
|
14
|
+
import { a as S, i as C, o as w, t as T } from "./is-debug-IkNSAGo8.js";
|
|
15
|
+
import { a as E, c as D, h as O, l as k, n as A, r as j, u as M } from "./mobx.module-BTnTbXnp.js";
|
|
16
|
+
import { t as N } from "./is-webview-DA6FLdme.js";
|
|
17
|
+
import { t as P } from "./loadImage-iqS2KHgN.js";
|
|
18
|
+
import { t as ee } from "./scheduler-D5sEY0Dn.js";
|
|
19
|
+
import { C as te, D as ne, E as re, O as F, S as ie, T as ae, _ as oe, a as se, b as I, d as ce, f as le, g as ue, h as L, i as de, k as fe, l as pe, m as me, o as he, p as ge, r as _e, s as ve, u as ye, v as be, w as xe, x as Se, y as R } from "./debug-context-CLE9u3W1.js";
|
|
20
|
+
import { a as Ce, d as we, l as z, r as Te, t as Ee, u as B } from "./store-DTvNQcN7.js";
|
|
21
|
+
import { n as De, t as Oe } from "./event-scoped-cache-CUHa0QyF.js";
|
|
22
|
+
import { $a as V, $i as ke, $r as Ae, $t as je, A as Me, Aa as Ne, An as Pe, Ar as Fe, C as Ie, Cr as Le, Dt as Re, E as ze, Er as Be, F as Ve, Fi as H, Fn as He, Fr as Ue, Ft as We, G as Ge, Ga as Ke, Gn as qe, Hi as Je, Hn as Ye, Ht as Xe, Ii as Ze, In as Qe, Kn as $e, L as et, Ln as tt, Lt as nt, Mi as rt, Mr as it, Ni as at, Or as ot, Pr as st, Qa as ct, Qi as lt, Qn as ut, Qr as dt, Ri as ft, Rt as pt, Sr as mt, St as ht, U as gt, Ui as _t, Un as vt, Ur as yt, V as bt, Vn as xt, Wa as St, Wr as Ct, Xi as wt, Ya as Tt, Yt as Et, Zr as Dt, _a as Ot, _n as kt, a as At, an as jt, ar as Mt, br as Nt, bt as Pt, ca as Ft, co as It, dn as Lt, do as Rt, eo as U, er as zt, fa as Bt, fn as Vt, fr as Ht, ft as Ut, gn as Wt, gr as Gt, ha as Kt, hr as qt, in as Jt, ir as Yt, j as Xt, jn as Zt, ka as Qt, kn as $t, kr as en, la as tn, mn as nn, mt as rn, no as an, nr as on, oa as sn, on as cn, or as ln, pa as un, pn as dn, pr as fn, pt as pn, qt as mn, rr as W, sn as hn, sr as gn, to as _n, ua as vn, va as yn, x as bn, yr as xn, zi as Sn, zr as Cn } from "./three.core-DvpRLNmt.js";
|
|
23
23
|
//#region ../geometry/src/lib/angles.ts
|
|
24
24
|
function wn(e) {
|
|
25
25
|
return e * Math.PI / 180;
|
|
@@ -582,19 +582,19 @@ function wr(e) {
|
|
|
582
582
|
function Tr() {
|
|
583
583
|
return Er;
|
|
584
584
|
}
|
|
585
|
-
var Er, Dr = we("data", () =>
|
|
585
|
+
var Er, Dr = we("data", () => s());
|
|
586
586
|
//#endregion
|
|
587
587
|
//#region src/data/fp-payloads.ts
|
|
588
588
|
function Or() {
|
|
589
|
-
let e =
|
|
589
|
+
let e = s().fpSvgJsRef;
|
|
590
590
|
if (!e) throw Error("No drawing in the config (fpSvgJsRef is not set)");
|
|
591
|
-
return
|
|
591
|
+
return n(e);
|
|
592
592
|
}
|
|
593
593
|
function kr(e) {
|
|
594
|
-
let t =
|
|
595
|
-
if (t &&
|
|
596
|
-
let
|
|
597
|
-
if (e === "" || e ===
|
|
594
|
+
let t = s().fpSvgLayerJsRefs[e];
|
|
595
|
+
if (t && i(t)) return n(t);
|
|
596
|
+
let r = Or();
|
|
597
|
+
if (e === "" || e === r.__fpDefaultLayer) return r;
|
|
598
598
|
}
|
|
599
599
|
function Ar(e = "") {
|
|
600
600
|
var t;
|
|
@@ -606,8 +606,8 @@ function jr(e = "") {
|
|
|
606
606
|
}
|
|
607
607
|
function Mr() {
|
|
608
608
|
var e;
|
|
609
|
-
let t =
|
|
610
|
-
return !t || !
|
|
609
|
+
let t = s().wfDataJsRef;
|
|
610
|
+
return !t || !i(t) || (e = n(t).__wfData) == null ? null : e;
|
|
611
611
|
}
|
|
612
612
|
var Nr = {
|
|
613
613
|
svg: "http://www.w3.org/2000/svg",
|
|
@@ -1454,7 +1454,7 @@ var Wa = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
}, Ka = class extends Ga {
|
|
1456
1456
|
constructor(...e) {
|
|
1457
|
-
super(...e), this.EXPO =
|
|
1457
|
+
super(...e), this.EXPO = s().expo, this.borderless = !1, this.wayfinding = !1, this.colors = { booths: {
|
|
1458
1458
|
default: "#41b6e7",
|
|
1459
1459
|
defaultHold: "#48484A",
|
|
1460
1460
|
defaultSold: "#41b6e7",
|
|
@@ -1473,8 +1473,8 @@ function qa() {
|
|
|
1473
1473
|
var e;
|
|
1474
1474
|
let t = new Ka();
|
|
1475
1475
|
t.EXPO.startsWith("sxsw2024") ? (t.colors.booths.selected = "#FF6400", t.colors.booths.seectedLight = "#808080") : t.EXPO === "whxdubai2026" ? (t.colors.booths.selected = "#2B66FE", t.maxZoom = 450) : t.EXPO === "whxlabs2026" ? t.colors.booths.selected = "#2B66FE" : (t.EXPO === "wineparis2026" || t.EXPO === "rdemo2025") && (t.maxZoom = 450);
|
|
1476
|
-
let
|
|
1477
|
-
return t = (0, Wa.default)(t,
|
|
1476
|
+
let n = window.__settings, r = (e = Or().__fpSettings) == null ? {} : e;
|
|
1477
|
+
return t = (0, Wa.default)(t, n == null ? r : n), t = (0, Wa.default)(t, r), t.wayfinding = !!(!s().hideDirections && Mr()), t;
|
|
1478
1478
|
}
|
|
1479
1479
|
var Ja = we("settings", De(qa));
|
|
1480
1480
|
//#endregion
|
|
@@ -7983,12 +7983,12 @@ var Lp = !1;
|
|
|
7983
7983
|
//#endregion
|
|
7984
7984
|
//#region ../renderer/src/debug/debug-chunk.ts
|
|
7985
7985
|
function Rp() {
|
|
7986
|
-
return Bp != null || (Bp = import("./DebugTools-
|
|
7986
|
+
return Bp != null || (Bp = import("./DebugTools-CSGF0Uqi.js")), Bp;
|
|
7987
7987
|
}
|
|
7988
7988
|
async function zp() {
|
|
7989
7989
|
await Rp();
|
|
7990
7990
|
}
|
|
7991
|
-
var Bp, Vp = (0, G.lazy)(() => import("./DebugTools-
|
|
7991
|
+
var Bp, Vp = (0, G.lazy)(() => import("./DebugTools-CSGF0Uqi.js").then((e) => ({ default: e.DebugTools })));
|
|
7992
7992
|
function Hp(e) {
|
|
7993
7993
|
let t = (0, Z.c)(7), n, r, i;
|
|
7994
7994
|
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, G.use)(Rp());
|
|
@@ -13568,7 +13568,7 @@ function NC(e) {
|
|
|
13568
13568
|
}
|
|
13569
13569
|
function PC(e) {
|
|
13570
13570
|
return { load(t, n, r, i) {
|
|
13571
|
-
import("./ktx2-
|
|
13571
|
+
import("./ktx2-Dx_h97CR.js").then(({ ktx2Loader: a }) => a(e).load(t, n, r, i), i);
|
|
13572
13572
|
} };
|
|
13573
13573
|
}
|
|
13574
13574
|
var FC = /* @__PURE__ */ new Map(), IC = /* @__PURE__ */ new WeakMap(), LC = "instanceOpacity", RC = ["opaque", "translucent"];
|
|
@@ -21693,7 +21693,7 @@ var zj = (kj = E({ keepAlive: !0 }), Aj = E({ keepAlive: !0 }), jj = E({ keepAli
|
|
|
21693
21693
|
}, Uj = `${p}fonts/oswald-v17-cyrillic_latin-500.woff`, Wj = `${p}fonts/oswald-v17-cyrillic_latin-300.woff`;
|
|
21694
21694
|
function Gj() {
|
|
21695
21695
|
var e;
|
|
21696
|
-
let t =
|
|
21696
|
+
let t = s();
|
|
21697
21697
|
return (e = t.customCssFonts) != null && e.length ? t.customCssFonts : [];
|
|
21698
21698
|
}
|
|
21699
21699
|
//#endregion
|
|
@@ -23271,7 +23271,7 @@ function VF(e) {
|
|
|
23271
23271
|
//#endregion
|
|
23272
23272
|
//#region src/utils/is-pathway-layer.ts
|
|
23273
23273
|
function HF(e) {
|
|
23274
|
-
return e.toLowerCase().includes(
|
|
23274
|
+
return e.toLowerCase().includes(o);
|
|
23275
23275
|
}
|
|
23276
23276
|
//#endregion
|
|
23277
23277
|
//#region src/store/init/init-layers.ts
|
|
@@ -23288,8 +23288,8 @@ function WF(e) {
|
|
|
23288
23288
|
function GF(e, t, n) {
|
|
23289
23289
|
let r = [], i = t;
|
|
23290
23290
|
return ja(Ha(e)).selectAll(`svg [data-layer="${e.name}"] > [data-layer]`).nodes().filter((e) => e.childNodes.length).forEach((t) => {
|
|
23291
|
-
let a = t.getAttribute("data-layer"), o = new
|
|
23292
|
-
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 =
|
|
23291
|
+
let a = t.getAttribute("data-layer"), o = new mz();
|
|
23292
|
+
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 = pz.Unset, o.rootParent = e.rootParent ? e.rootParent : e;
|
|
23293
23293
|
let s = GF(o, i, n);
|
|
23294
23294
|
i = s.priority + n, o.basePriority = i, s.layers.length && (o.childLayers = s.layers, r.push(...s.layers)), r.push(o);
|
|
23295
23295
|
}), {
|
|
@@ -23299,22 +23299,22 @@ function GF(e, t, n) {
|
|
|
23299
23299
|
}
|
|
23300
23300
|
function KF(e) {
|
|
23301
23301
|
let { layerStore: t } = e, n = Or().__fpLayers;
|
|
23302
|
-
t.mode = Or().__fpLayersMode ||
|
|
23303
|
-
let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode ===
|
|
23302
|
+
t.mode = Or().__fpLayersMode || fz.Default;
|
|
23303
|
+
let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode === fz.Default ? e.visible : e.mode == pz.TurnedOn, a = [], o = 0;
|
|
23304
23304
|
n ? n.forEach((e) => {
|
|
23305
23305
|
o += UF;
|
|
23306
|
-
let t = new
|
|
23307
|
-
t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = WF(e.rect), t.viewbox = WF(e.viewbox), t.mode = e.mode ||
|
|
23306
|
+
let t = new mz();
|
|
23307
|
+
t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = WF(e.rect), t.viewbox = WF(e.viewbox), t.mode = e.mode || pz.Unset, t.basePriority = o, t.floorIndex = e.floorIndex, a.push(t);
|
|
23308
23308
|
}) : ja(Ha()).selectAll("svg > [data-layer]").nodes().filter((e) => e.childNodes.length).forEach((e) => {
|
|
23309
23309
|
let t = e.getAttribute("data-layer");
|
|
23310
23310
|
if (!t.startsWith("WF")) {
|
|
23311
23311
|
var n;
|
|
23312
23312
|
o += UF;
|
|
23313
|
-
let r = new
|
|
23314
|
-
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 = za().filter((e) => e.name === r.name || e.name === r.description)[0]) == null ? void 0 : n.rect, r.mode =
|
|
23313
|
+
let r = new mz();
|
|
23314
|
+
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 = za().filter((e) => e.name === r.name || e.name === r.description)[0]) == null ? void 0 : n.rect, r.mode = pz.Unset, r.basePriority = o, a.push(r);
|
|
23315
23315
|
}
|
|
23316
|
-
}), t.mode !==
|
|
23317
|
-
e.mode ===
|
|
23316
|
+
}), t.mode !== fz.Default && a.forEach((e) => {
|
|
23317
|
+
e.mode === pz.AlwaysHidden ? (e.frozen = !0, e.visible = !1) : e.mode === pz.AlwaysVisible ? e.frozen = e.visible = !0 : e.mode === pz.TurnedOff ? (e.frozen = !1, e.visible = !1) : e.mode === pz.TurnedOn && (e.frozen = !1, e.visible = !0);
|
|
23318
23318
|
});
|
|
23319
23319
|
try {
|
|
23320
23320
|
a.forEach((e) => {
|
|
@@ -23396,7 +23396,7 @@ async function $F(e) {
|
|
|
23396
23396
|
}
|
|
23397
23397
|
async function eI(e) {
|
|
23398
23398
|
var t;
|
|
23399
|
-
let n = [], r = [], i = [], a = ja(Ha(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 ===
|
|
23399
|
+
let n = [], r = [], i = [], a = ja(Ha(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 === fz.Default ? "" : ((t = e.rootParent) == null ? void 0 : t.name) || e.name;
|
|
23400
23400
|
for (let e of o) {
|
|
23401
23401
|
let t = +e.getAttribute("data-index"), r;
|
|
23402
23402
|
e.tagName === "path" && t !== -1 ? r = tI({
|
|
@@ -23512,7 +23512,7 @@ function hI(e, t) {
|
|
|
23512
23512
|
let e = a.filter((e) => e.booth.visible && e.shape.containsPoint(r));
|
|
23513
23513
|
if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
|
|
23514
23514
|
}
|
|
23515
|
-
for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of Ba(t.index, Ce.mode ===
|
|
23515
|
+
for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of Ba(t.index, Ce.mode === fz.Default ? "" : e.layer.name)) {
|
|
23516
23516
|
let t = n.map((e) => ({
|
|
23517
23517
|
x: e[0],
|
|
23518
23518
|
y: e[1]
|
|
@@ -23557,7 +23557,7 @@ function TI(e, t) {
|
|
|
23557
23557
|
function EI(e, t) {
|
|
23558
23558
|
if (!B.rootElement) return !1;
|
|
23559
23559
|
if (DI(), AI == null || AI(e), B.overlayPosition === "bottom" && B.overlaySize === "full" && z.showMap(), B.onGetCoordsClick) {
|
|
23560
|
-
let t = z.layerStore.layers.find((e) => e.visible && (e.mode ===
|
|
23560
|
+
let t = z.layerStore.layers.find((e) => e.visible && (e.mode === pz.TurnedOn || e.mode === pz.TurnedOff));
|
|
23561
23561
|
B.onGetCoordsClick({
|
|
23562
23562
|
x: e.x,
|
|
23563
23563
|
y: e.y,
|
|
@@ -23967,8 +23967,49 @@ var cL = /*#__PURE__*/ function(e) {
|
|
|
23967
23967
|
secondary: "#FFF7E5"
|
|
23968
23968
|
}
|
|
23969
23969
|
}
|
|
23970
|
-
}, fL
|
|
23971
|
-
|
|
23970
|
+
}, fL = (e) => {
|
|
23971
|
+
if (!e || e === "transparent" || e === "none") return !1;
|
|
23972
|
+
try {
|
|
23973
|
+
return (0, AM.default)(e), !0;
|
|
23974
|
+
} catch {
|
|
23975
|
+
return !1;
|
|
23976
|
+
}
|
|
23977
|
+
};
|
|
23978
|
+
function pL(e) {
|
|
23979
|
+
if (e.length === 0) return null;
|
|
23980
|
+
let t = e[0];
|
|
23981
|
+
return e.every((e) => e === t) ? t : null;
|
|
23982
|
+
}
|
|
23983
|
+
function mL(e) {
|
|
23984
|
+
let t = Ja.colors.booths.default;
|
|
23985
|
+
if (e instanceof Hj) t = e.color || Ja.colors.booths.empty;
|
|
23986
|
+
else if (e instanceof Vj) {
|
|
23987
|
+
if (Dr.isRebooking) {
|
|
23988
|
+
var n, r;
|
|
23989
|
+
if (!((n = e.exhibitors) != null && n.length)) return dL[cL.Unasked].color.primary;
|
|
23990
|
+
let t = pL(((r = e.exhibitors) == null ? [] : r).map((e) => e.rebookingState));
|
|
23991
|
+
return t === null ? "#000000" : dL[t].color.primary;
|
|
23992
|
+
}
|
|
23993
|
+
let i = Ja.colors.booths;
|
|
23994
|
+
t = e.onHold ? e.holdColor || i.defaultHold : e.exhibitors.length || e.reserved ? e.soldColor || i.defaultSold : e.availColor || i.empty;
|
|
23995
|
+
}
|
|
23996
|
+
try {
|
|
23997
|
+
t === "none" && (t = Ja.colors.booths.default), (0, AM.default)(t);
|
|
23998
|
+
} catch (e) {
|
|
23999
|
+
t = Ja.colors.booths.default, console.error("Booth: defaultColor", e);
|
|
24000
|
+
}
|
|
24001
|
+
return t;
|
|
24002
|
+
}
|
|
24003
|
+
function hL(e) {
|
|
24004
|
+
var t;
|
|
24005
|
+
if (B.heatmap) return Te.getHeatmapColorForBooth(e).rgb().string();
|
|
24006
|
+
let n = (t = e.paths) == null || (t = t[0]) == null ? void 0 : t.color, r = fL(n) ? n : mL(e);
|
|
24007
|
+
return B.monochrome || B.heatmapYah ? (0, AM.default)(r).grayscale().rgb().string() : r;
|
|
24008
|
+
}
|
|
24009
|
+
//#endregion
|
|
24010
|
+
//#region src/components/Map/drawing/config/BoothShape.ts
|
|
24011
|
+
var gL, _L;
|
|
24012
|
+
function vL(e, t, n, r) {
|
|
23972
24013
|
n && Object.defineProperty(e, t, {
|
|
23973
24014
|
enumerable: n.enumerable,
|
|
23974
24015
|
configurable: n.configurable,
|
|
@@ -23976,7 +24017,7 @@ function mL(e, t, n, r) {
|
|
|
23976
24017
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
23977
24018
|
});
|
|
23978
24019
|
}
|
|
23979
|
-
function
|
|
24020
|
+
function yL(e, t, n, r, i) {
|
|
23980
24021
|
var a = {};
|
|
23981
24022
|
return Object.keys(r).forEach(function(e) {
|
|
23982
24023
|
a[e] = r[e];
|
|
@@ -23984,23 +24025,23 @@ function hL(e, t, n, r, i) {
|
|
|
23984
24025
|
return r(e, t, n) || n;
|
|
23985
24026
|
}, 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;
|
|
23986
24027
|
}
|
|
23987
|
-
var
|
|
24028
|
+
var bL = Oe(), xL = (gL = class e {
|
|
23988
24029
|
constructor(e) {
|
|
23989
|
-
|
|
24030
|
+
vL(this, "selectBgAnimationPart", _L, this), SL(() => e.selected, (e) => this.selectBgAnimationPart = AF(e), 1e3, 8, !0);
|
|
23990
24031
|
}
|
|
23991
24032
|
static get(t) {
|
|
23992
|
-
let n =
|
|
23993
|
-
return n || (n = new e(t),
|
|
24033
|
+
let n = bL().get(t);
|
|
24034
|
+
return n || (n = new e(t), bL().set(t, n)), n;
|
|
23994
24035
|
}
|
|
23995
|
-
},
|
|
24036
|
+
}, _L = yL(gL.prototype, "selectBgAnimationPart", [D], {
|
|
23996
24037
|
configurable: !0,
|
|
23997
24038
|
enumerable: !0,
|
|
23998
24039
|
writable: !0,
|
|
23999
24040
|
initializer: function() {
|
|
24000
24041
|
return 0;
|
|
24001
24042
|
}
|
|
24002
|
-
}),
|
|
24003
|
-
function
|
|
24043
|
+
}), gL);
|
|
24044
|
+
function SL(e, t, n, r, i) {
|
|
24004
24045
|
let a = i ? s : o;
|
|
24005
24046
|
r % 2 == 1 && r++, S(k(e, () => {
|
|
24006
24047
|
if (e()) {
|
|
@@ -24026,12 +24067,12 @@ function vL(e, t, n, r, i) {
|
|
|
24026
24067
|
}
|
|
24027
24068
|
//#endregion
|
|
24028
24069
|
//#region src/components/Map/drawing/config/BoothDrawerBase.ts
|
|
24029
|
-
var
|
|
24070
|
+
var CL = class {
|
|
24030
24071
|
constructor(e) {
|
|
24031
|
-
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape =
|
|
24072
|
+
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape = xL.get(e);
|
|
24032
24073
|
}
|
|
24033
|
-
},
|
|
24034
|
-
function
|
|
24074
|
+
}, wL = /* @__PURE__ */ e(BI(), 1), TL, EL, DL;
|
|
24075
|
+
function OL(e, t, n, r, i) {
|
|
24035
24076
|
var a = {};
|
|
24036
24077
|
return Object.keys(r).forEach(function(e) {
|
|
24037
24078
|
a[e] = r[e];
|
|
@@ -24039,15 +24080,10 @@ function wL(e, t, n, r, i) {
|
|
|
24039
24080
|
return r(e, t, n) || n;
|
|
24040
24081
|
}, 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;
|
|
24041
24082
|
}
|
|
24042
|
-
function
|
|
24043
|
-
return new
|
|
24044
|
-
}
|
|
24045
|
-
function EL(e) {
|
|
24046
|
-
if (e.length === 0) return null;
|
|
24047
|
-
let t = e[0];
|
|
24048
|
-
return e.every((e) => e === t) ? t : null;
|
|
24083
|
+
function kL(e) {
|
|
24084
|
+
return new jL(e);
|
|
24049
24085
|
}
|
|
24050
|
-
function
|
|
24086
|
+
function AL(e, t) {
|
|
24051
24087
|
let n = [];
|
|
24052
24088
|
for (let r of e) {
|
|
24053
24089
|
let e = tI({
|
|
@@ -24059,9 +24095,9 @@ function DL(e, t) {
|
|
|
24059
24095
|
}
|
|
24060
24096
|
return n;
|
|
24061
24097
|
}
|
|
24062
|
-
var
|
|
24098
|
+
var jL = (TL = E({ keepAlive: !0 }), EL = E({ keepAlive: !0 }), DL = class extends CL {
|
|
24063
24099
|
constructor(e) {
|
|
24064
|
-
if (super(e), e.paths) e.shapes =
|
|
24100
|
+
if (super(e), e.paths) e.shapes = AL(e.paths, z.layerStore.mode === fz.Default ? "" : e.layer.name).map((e) => {
|
|
24065
24101
|
let t = B.monochrome ? (0, AM.default)(e.color).grayscale().rgb().string() : this.getBoothColor().string();
|
|
24066
24102
|
return e.color === "transparent" ? e.color = t : e.defaultColor = e.color, e;
|
|
24067
24103
|
});
|
|
@@ -24109,28 +24145,11 @@ var OL = (xL = E({ keepAlive: !0 }), SL = E({ keepAlive: !0 }), CL = class exten
|
|
|
24109
24145
|
return e.hover ? t.darken(.2).alpha(t.alpha() * 1.5) : t;
|
|
24110
24146
|
}
|
|
24111
24147
|
get defaultColor() {
|
|
24112
|
-
|
|
24113
|
-
if (e instanceof Hj) t = e.color || Ja.colors.booths.empty;
|
|
24114
|
-
else if (e instanceof Vj) {
|
|
24115
|
-
if (Dr.isRebooking) {
|
|
24116
|
-
var n, r;
|
|
24117
|
-
if (!((n = e.exhibitors) != null && n.length)) return dL[cL.Unasked].color.primary;
|
|
24118
|
-
let t = EL(((r = e.exhibitors) == null ? [] : r).map((e) => e.rebookingState));
|
|
24119
|
-
return t === null ? "#000000" : dL[t].color.primary;
|
|
24120
|
-
}
|
|
24121
|
-
let i = Ja.colors.booths;
|
|
24122
|
-
t = e.onHold ? e.holdColor || i.defaultHold : e.exhibitors.length || e.reserved ? e.soldColor || i.defaultSold : e.availColor || i.empty;
|
|
24123
|
-
}
|
|
24124
|
-
try {
|
|
24125
|
-
t === "none" && (t = Ja.colors.booths.default), (0, AM.default)(t);
|
|
24126
|
-
} catch (e) {
|
|
24127
|
-
t = Ja.colors.booths.default, console.error("Booth: defaultColor", e);
|
|
24128
|
-
}
|
|
24129
|
-
return t;
|
|
24148
|
+
return mL(this.booth);
|
|
24130
24149
|
}
|
|
24131
24150
|
get selectedColorInterpolateFunc() {
|
|
24132
24151
|
var e, t;
|
|
24133
|
-
return (0,
|
|
24152
|
+
return (0, wL.default)([Ja.colors.booths.seectedLight || ((0, AM.default)(this.booth.labelColor || Ja.boothLabelColor).isLight() ? "#000" : "#fff"), B.selectedRoute ? Ja == null || (e = Ja.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : Ja == null || (t = Ja.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
|
|
24134
24153
|
}
|
|
24135
24154
|
getBoothColor() {
|
|
24136
24155
|
let e = this.booth;
|
|
@@ -24145,15 +24164,15 @@ var OL = (xL = E({ keepAlive: !0 }), SL = E({ keepAlive: !0 }), CL = class exten
|
|
|
24145
24164
|
}
|
|
24146
24165
|
return (e.hover && !e.selected || e.selected && Dr.isRebooking) && (n = n.darken(.2).alpha(n.alpha() * 1.5)), (B.monochrome || B.heatmapYah) && (n = n.grayscale()), n;
|
|
24147
24166
|
}
|
|
24148
|
-
},
|
|
24167
|
+
}, OL(DL.prototype, "defaultColor", [TL], Object.getOwnPropertyDescriptor(DL.prototype, "defaultColor"), DL.prototype), OL(DL.prototype, "selectedColorInterpolateFunc", [EL], Object.getOwnPropertyDescriptor(DL.prototype, "selectedColorInterpolateFunc"), DL.prototype), DL);
|
|
24149
24168
|
//#endregion
|
|
24150
24169
|
//#region src/components/Map/drawing/config/config-booth-bookmark.ts
|
|
24151
|
-
function
|
|
24152
|
-
if (!B.kiosk) return new
|
|
24170
|
+
function ML(e) {
|
|
24171
|
+
if (!B.kiosk) return new NL(e);
|
|
24153
24172
|
}
|
|
24154
|
-
var
|
|
24173
|
+
var NL = class extends CL {
|
|
24155
24174
|
constructor(e) {
|
|
24156
|
-
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 Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = ho(
|
|
24175
|
+
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 Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = ho(PL, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = Yj(this.canvas, this.rect, { hidden: !e.bookmarked }), this.shape.onScale = ({ pixelSize: e }) => this.layOutBookmark(e), OM(() => [
|
|
24157
24176
|
e.bookmarked,
|
|
24158
24177
|
Ce.layersLoaded,
|
|
24159
24178
|
this.booth.skipDim
|
|
@@ -24168,15 +24187,15 @@ var AL = class extends yL {
|
|
|
24168
24187
|
Ce.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? 0 : void 0, ud(this.shape));
|
|
24169
24188
|
}
|
|
24170
24189
|
layOutBookmark(e) {
|
|
24171
|
-
return this.shape.bounds = dj(this.rect, mo(
|
|
24190
|
+
return this.shape.bounds = dj(this.rect, mo(PL), this.padding, e), this.shape.hidden ? [] : [this.shape];
|
|
24172
24191
|
}
|
|
24173
|
-
},
|
|
24192
|
+
}, PL = 11;
|
|
24174
24193
|
//#endregion
|
|
24175
24194
|
//#region src/components/Map/drawing/config/config-booth-border.ts
|
|
24176
|
-
function
|
|
24177
|
-
if (Ja.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !Ee.borderWidth || e.paths && !e.pathsWithRect)) return new
|
|
24195
|
+
function FL(e) {
|
|
24196
|
+
if (Ja.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !Ee.borderWidth || e.paths && !e.pathsWithRect)) return new IL(e);
|
|
24178
24197
|
}
|
|
24179
|
-
var
|
|
24198
|
+
var IL = class extends CL {
|
|
24180
24199
|
constructor(e) {
|
|
24181
24200
|
super(e), this.shape = void 0;
|
|
24182
24201
|
let t = this.booth.rect, { x: n, y: r } = t.center, { width: i, height: a } = t.size, o = e.borderWidth || Ee.borderWidth, s = [], c = (t, i, a, o) => {
|
|
@@ -24220,34 +24239,34 @@ var NL = class extends yL {
|
|
|
24220
24239
|
getShape() {
|
|
24221
24240
|
return this.shape;
|
|
24222
24241
|
}
|
|
24223
|
-
},
|
|
24224
|
-
function
|
|
24225
|
-
return
|
|
24242
|
+
}, LL = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
|
|
24243
|
+
function RL(e) {
|
|
24244
|
+
return LL.test(e);
|
|
24226
24245
|
}
|
|
24227
24246
|
//#endregion
|
|
24228
24247
|
//#region src/components/Map/drawing/config/label-inset.ts
|
|
24229
|
-
var
|
|
24230
|
-
function
|
|
24231
|
-
let n =
|
|
24248
|
+
var zL = .05;
|
|
24249
|
+
function BL(e, t) {
|
|
24250
|
+
let n = zL * Math.min(t.width, t.height);
|
|
24232
24251
|
return e > 0 && n > 0 ? Math.min(e / 2, n) : 0;
|
|
24233
24252
|
}
|
|
24234
24253
|
//#endregion
|
|
24235
24254
|
//#region src/components/Map/drawing/config/config-booth-labels.ts
|
|
24236
|
-
function
|
|
24255
|
+
function VL() {
|
|
24237
24256
|
return Ja.EXPO === "tqs2021" ? "#000" : Ja.boothLabelColor;
|
|
24238
24257
|
}
|
|
24239
|
-
var
|
|
24240
|
-
function
|
|
24241
|
-
if (!(!(e instanceof Vj) || e.noLabels)) return new
|
|
24258
|
+
var HL = nI || N, UL = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), WL = document.createElement("canvas").getContext("2d");
|
|
24259
|
+
function GL(e) {
|
|
24260
|
+
if (!(!(e instanceof Vj) || e.noLabels)) return new eR(e);
|
|
24242
24261
|
}
|
|
24243
|
-
function
|
|
24262
|
+
function KL(e) {
|
|
24244
24263
|
return Array.isArray(e) && e.length > 0 ? Math.max(...e.map((e) => e)) : typeof e == "number" ? e : -0;
|
|
24245
24264
|
}
|
|
24246
|
-
var
|
|
24265
|
+
var qL = () => {
|
|
24247
24266
|
var e, t;
|
|
24248
24267
|
return !!((e = B.selectedRoute) != null && e.from && (t = B.selectedRoute) != null && t.to);
|
|
24249
24268
|
};
|
|
24250
|
-
function
|
|
24269
|
+
function JL(e, t = [], n = "normal") {
|
|
24251
24270
|
let r = [
|
|
24252
24271
|
...t,
|
|
24253
24272
|
{
|
|
@@ -24263,33 +24282,33 @@ function GL(e, t = [], n = "normal") {
|
|
|
24263
24282
|
].find((t) => +t.weight === e && t.style === n);
|
|
24264
24283
|
return (r == null ? void 0 : r.url) || Uj;
|
|
24265
24284
|
}
|
|
24266
|
-
function
|
|
24285
|
+
function YL(e, t) {
|
|
24267
24286
|
return Number(getComputedStyle(document.body).getPropertyValue(e)) || t;
|
|
24268
24287
|
}
|
|
24269
|
-
function
|
|
24288
|
+
function XL() {
|
|
24270
24289
|
return {
|
|
24271
|
-
main:
|
|
24272
|
-
details:
|
|
24290
|
+
main: YL(v, 500),
|
|
24291
|
+
details: YL(_, 300)
|
|
24273
24292
|
};
|
|
24274
24293
|
}
|
|
24275
|
-
function
|
|
24294
|
+
function ZL() {
|
|
24276
24295
|
return {
|
|
24277
|
-
main:
|
|
24278
|
-
details:
|
|
24296
|
+
main: YL(c, 500),
|
|
24297
|
+
details: YL(l, 300)
|
|
24279
24298
|
};
|
|
24280
24299
|
}
|
|
24281
|
-
function
|
|
24282
|
-
return
|
|
24300
|
+
function QL() {
|
|
24301
|
+
return XL().main;
|
|
24283
24302
|
}
|
|
24284
|
-
var
|
|
24303
|
+
var $L = "Details", eR = class extends CL {
|
|
24285
24304
|
constructor(e) {
|
|
24286
|
-
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 Xn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding =
|
|
24305
|
+
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 Xn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = BL(e.borderWidth || Ee.borderWidth, e.rect.size), this.topLeftAlignment = {
|
|
24287
24306
|
horizontal: B.rtl ? "right" : "left",
|
|
24288
24307
|
vertical: "top"
|
|
24289
24308
|
}, this.centerAlignment = {
|
|
24290
24309
|
horizontal: "center",
|
|
24291
24310
|
vertical: "center"
|
|
24292
|
-
}, this.prefixes =
|
|
24311
|
+
}, this.prefixes = HL ? [
|
|
24293
24312
|
{
|
|
24294
24313
|
fontSize: 7,
|
|
24295
24314
|
name: "XS",
|
|
@@ -24302,7 +24321,7 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24302
24321
|
},
|
|
24303
24322
|
{
|
|
24304
24323
|
fontSize: 16,
|
|
24305
|
-
name:
|
|
24324
|
+
name: $L,
|
|
24306
24325
|
short: !1
|
|
24307
24326
|
}
|
|
24308
24327
|
] : [
|
|
@@ -24328,10 +24347,10 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24328
24347
|
},
|
|
24329
24348
|
{
|
|
24330
24349
|
fontSize: 18,
|
|
24331
|
-
name:
|
|
24350
|
+
name: $L,
|
|
24332
24351
|
short: !1
|
|
24333
24352
|
}
|
|
24334
|
-
], !(e instanceof Hj) && (this.exh = Dr.hideExhibitors ? [] : Dr.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors,
|
|
24353
|
+
], !(e instanceof Hj) && (this.exh = Dr.hideExhibitors ? [] : Dr.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, HL && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = Xj(Zj(this.lines, this.booth.labelColor || VL(), 0, this.fontUrls), new Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
|
|
24335
24354
|
horizontal: "left",
|
|
24336
24355
|
vertical: "top"
|
|
24337
24356
|
}), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(), OM(() => Ce.layersLoaded && this.booth.skipDim === !0, (e) => {
|
|
@@ -24367,10 +24386,10 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24367
24386
|
}, n.center, n), this.shapeDot.hidden = !t, [this.shapeDot];
|
|
24368
24387
|
}
|
|
24369
24388
|
getShapeDot() {
|
|
24370
|
-
this.shapeDot = eM(this.canvasRect, this.booth.labelColor ||
|
|
24389
|
+
this.shapeDot = eM(this.canvasRect, this.booth.labelColor || VL()), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / nM, this.canvasRect.size.y / nM);
|
|
24371
24390
|
}
|
|
24372
24391
|
createLines() {
|
|
24373
|
-
let e = this.booth, t = [], n = [], r =
|
|
24392
|
+
let e = this.booth, t = [], n = [], r = HL && this.optimizationLevel() >= 3 ? 1 : 3;
|
|
24374
24393
|
if (this.exh.length) {
|
|
24375
24394
|
let i = e.exhibitors.filter((e) => e.order === 0), a = e.exhibitors.filter((e) => e.order);
|
|
24376
24395
|
if (i.length > 0) t.push(...i.map((e) => e.name));
|
|
@@ -24386,14 +24405,14 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24386
24405
|
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);
|
|
24387
24406
|
}
|
|
24388
24407
|
B.rtl && t.forEach((e, n) => {
|
|
24389
|
-
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""),
|
|
24408
|
+
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""), RL(e) && (t[n] = t[n] + " ");
|
|
24390
24409
|
}), this.lines = [t, n];
|
|
24391
24410
|
}
|
|
24392
24411
|
calculateFontSizeFactors() {
|
|
24393
|
-
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 ?
|
|
24412
|
+
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 ? ZL() : XL();
|
|
24394
24413
|
for (let { fontSize: c, short: l } of a) {
|
|
24395
24414
|
let a = c, u = .9 * c, d = uo(a, o), f = uo(u, s), p = Dr.hideExhibitorBoothNumber || l, m, h, g, _;
|
|
24396
|
-
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(
|
|
24415
|
+
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(UL(e), d).width : this.measureText(UL(e), d).width + 3 + 3), ...t.map((e) => this.measureText(UL(e), f).width)), _ = a * e.length + u * t.length + (e.length + t.length) + 3, h = p ? _ / e.length : null;
|
|
24397
24416
|
else {
|
|
24398
24417
|
let t = e[0].replace(/[0-9]/g, "3").replace(/[A-Z]/g, "A");
|
|
24399
24418
|
g = this.measureText(t, d).width + 3 + 3, _ = a + 4;
|
|
@@ -24410,19 +24429,19 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24410
24429
|
});
|
|
24411
24430
|
}
|
|
24412
24431
|
if (!this.exh.length) {
|
|
24413
|
-
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name ===
|
|
24432
|
+
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === $L);
|
|
24414
24433
|
t && (r.push({
|
|
24415
24434
|
scaleFactor: e.scaleFactor / 1.8,
|
|
24416
24435
|
value: t.fontSize,
|
|
24417
24436
|
lines: []
|
|
24418
24437
|
}), i.push({
|
|
24419
24438
|
scaleFactor: e.scaleFactor / 1.8,
|
|
24420
|
-
value: t.fontSize * (
|
|
24439
|
+
value: t.fontSize * (HL ? 1 : .9),
|
|
24421
24440
|
lines: []
|
|
24422
24441
|
}));
|
|
24423
24442
|
}
|
|
24424
24443
|
let c = Gj();
|
|
24425
|
-
this.fontUrls = [
|
|
24444
|
+
this.fontUrls = [JL(o, c), JL(s, c)], this.minZoomDotVisible = KL(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
|
|
24426
24445
|
}
|
|
24427
24446
|
calcArea(e, t) {
|
|
24428
24447
|
return Math.floor(Math.max(0, e) * Math.max(0, t) / 1e3);
|
|
@@ -24431,23 +24450,23 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24431
24450
|
return Math.min(Dr.viewOptimizationLevel ? Dr.viewOptimizationLevel : Math.floor(this.calcArea(this.canvasRect.size.x, this.canvasRect.size.y) / 5e3), 3);
|
|
24432
24451
|
}
|
|
24433
24452
|
measureText(e, t) {
|
|
24434
|
-
return
|
|
24453
|
+
return WL.font = t, WL.measureText(e);
|
|
24435
24454
|
}
|
|
24436
|
-
},
|
|
24455
|
+
}, tR = document.createElement("canvas").getContext("2d"), nR = class {
|
|
24437
24456
|
constructor(e, t, n) {
|
|
24438
|
-
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 =
|
|
24457
|
+
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 = tR, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
|
|
24439
24458
|
}
|
|
24440
24459
|
getStepsForRect(e, t, n) {
|
|
24441
24460
|
let r = e.split(/\s+/), i = r.map((e) => this.ctx.measureText(e).width), a = [], o = Infinity, s = 0;
|
|
24442
24461
|
for (let e of this.fontSizes) {
|
|
24443
|
-
let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f =
|
|
24462
|
+
let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = rR(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
|
|
24444
24463
|
for (let i = 0; i < f.length; i++) {
|
|
24445
24464
|
let l = f[i], p = l, m = i + 1, h = c * m, g = p / t, _ = h / n, v = Math.max(_, g);
|
|
24446
24465
|
if (v > o || m < s) continue;
|
|
24447
24466
|
o = v, s = m;
|
|
24448
|
-
let y =
|
|
24467
|
+
let y = oR(aR(l, m, u, d), u, d);
|
|
24449
24468
|
if (!y) continue;
|
|
24450
|
-
let b =
|
|
24469
|
+
let b = cR(y, r);
|
|
24451
24470
|
a.push({
|
|
24452
24471
|
scaleFactor: v,
|
|
24453
24472
|
value: e,
|
|
@@ -24458,12 +24477,12 @@ var XL = "Details", ZL = class extends yL {
|
|
|
24458
24477
|
return a;
|
|
24459
24478
|
}
|
|
24460
24479
|
};
|
|
24461
|
-
function
|
|
24480
|
+
function rR(e, t, n) {
|
|
24462
24481
|
let r = [], i = 0, a = 1, o = Infinity, s;
|
|
24463
|
-
for (; (s =
|
|
24482
|
+
for (; (s = iR(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
|
|
24464
24483
|
return r[a - 1] = i, r;
|
|
24465
24484
|
}
|
|
24466
|
-
function
|
|
24485
|
+
function iR(e, t, n) {
|
|
24467
24486
|
let r = [], i = 0, a = -1;
|
|
24468
24487
|
function o() {
|
|
24469
24488
|
a++, i = 0;
|
|
@@ -24479,7 +24498,7 @@ function tR(e, t, n) {
|
|
|
24479
24498
|
}
|
|
24480
24499
|
return r;
|
|
24481
24500
|
}
|
|
24482
|
-
function
|
|
24501
|
+
function aR(e, t, n, r) {
|
|
24483
24502
|
return i(t, 0);
|
|
24484
24503
|
function i(e, t) {
|
|
24485
24504
|
let r = a(t), o = [];
|
|
@@ -24508,41 +24527,41 @@ function nR(e, t, n, r) {
|
|
|
24508
24527
|
}
|
|
24509
24528
|
}
|
|
24510
24529
|
}
|
|
24511
|
-
function
|
|
24530
|
+
function oR(e, t, n) {
|
|
24512
24531
|
let r = e.map((e) => ({
|
|
24513
24532
|
ll: e,
|
|
24514
|
-
dd:
|
|
24533
|
+
dd: sR(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
|
|
24515
24534
|
}));
|
|
24516
24535
|
return r.sort((e, t) => e.dd - t.dd), r.map((e) => e.ll)[0];
|
|
24517
24536
|
}
|
|
24518
|
-
function
|
|
24537
|
+
function sR(e) {
|
|
24519
24538
|
let t = e.length, n = e.reduce((e, t) => e + t) / t;
|
|
24520
24539
|
return Math.sqrt(e.map((e) => (e - n) ** 2).reduce((e, t) => e + t) / t);
|
|
24521
24540
|
}
|
|
24522
|
-
function
|
|
24541
|
+
function cR(e, t) {
|
|
24523
24542
|
return e.map((e) => e.map((e) => t[e]).reduce((e, t, n) => e + (n > 0 ? " " : "") + t), "");
|
|
24524
24543
|
}
|
|
24525
24544
|
//#endregion
|
|
24526
24545
|
//#region src/components/Map/drawing/config/config-booth-labels-special.ts
|
|
24527
|
-
var
|
|
24546
|
+
var lR = [
|
|
24528
24547
|
18,
|
|
24529
24548
|
16,
|
|
24530
24549
|
14,
|
|
24531
24550
|
12,
|
|
24532
24551
|
10,
|
|
24533
24552
|
7
|
|
24534
|
-
],
|
|
24535
|
-
function
|
|
24536
|
-
if (!(!(e instanceof Hj) || e.noLabels)) return new
|
|
24553
|
+
], uR = 14;
|
|
24554
|
+
function dR(e) {
|
|
24555
|
+
if (!(!(e instanceof Hj) || e.noLabels)) return new fR(e);
|
|
24537
24556
|
}
|
|
24538
|
-
var
|
|
24557
|
+
var fR = class extends eR {
|
|
24539
24558
|
constructor(e) {
|
|
24540
24559
|
super(e), this.steps = [], this.labelIsVertical = void 0, this.text = "";
|
|
24541
|
-
let t = this.booth.rect, n =
|
|
24542
|
-
x: -(t.size.width *
|
|
24543
|
-
y: -(t.size.height *
|
|
24560
|
+
let t = this.booth.rect, n = JL(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, Gj()), r = t.expand({
|
|
24561
|
+
x: -(t.size.width * zL + this.padding),
|
|
24562
|
+
y: -(t.size.height * zL + this.padding)
|
|
24544
24563
|
});
|
|
24545
|
-
this.setText(), this.canvasRect = new Xn(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 =
|
|
24564
|
+
this.setText(), this.canvasRect = new Xn(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 = KL(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = Xj([{
|
|
24546
24565
|
text: this.text,
|
|
24547
24566
|
color: e.labelColor || Ja.boothLabelColor,
|
|
24548
24567
|
fontUrl: n,
|
|
@@ -24579,47 +24598,47 @@ var lR = class extends ZL {
|
|
|
24579
24598
|
}, n.center, n), this.shapeDot.hidden = !!t, [this.shapeDot];
|
|
24580
24599
|
}
|
|
24581
24600
|
setFactors(e) {
|
|
24582
|
-
this.steps = new
|
|
24601
|
+
this.steps = new nR(uo, lR, uR).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
|
|
24583
24602
|
}
|
|
24584
24603
|
setText() {
|
|
24585
24604
|
let e = this.booth.title || this.booth.name, t = `Clicks: ${Te.getTotalClicksByBooth(this.booth)}`;
|
|
24586
24605
|
this.text = B.heatmap ? `${e} - ${t}` : e;
|
|
24587
24606
|
}
|
|
24588
|
-
},
|
|
24589
|
-
function
|
|
24590
|
-
return
|
|
24591
|
-
|
|
24607
|
+
}, pR = Oe();
|
|
24608
|
+
function mR(e, t) {
|
|
24609
|
+
return pR().set(e, t), () => {
|
|
24610
|
+
pR().get(e) === t && pR().delete(e);
|
|
24592
24611
|
};
|
|
24593
24612
|
}
|
|
24594
|
-
function
|
|
24595
|
-
return [...
|
|
24613
|
+
function hR() {
|
|
24614
|
+
return [...pR().values()].map((e) => e());
|
|
24596
24615
|
}
|
|
24597
24616
|
//#endregion
|
|
24598
24617
|
//#region src/utils/getLogoUrl.ts
|
|
24599
|
-
function
|
|
24618
|
+
function gR(e) {
|
|
24600
24619
|
var t, n, r;
|
|
24601
|
-
let i =
|
|
24620
|
+
let i = _R();
|
|
24602
24621
|
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;
|
|
24603
24622
|
}
|
|
24604
|
-
function
|
|
24623
|
+
function _R() {
|
|
24605
24624
|
if (nI || N) return Dr.viewOptimizationLevel ? Dr.viewOptimizationLevel >= 5 ? "tiny" : "small" : void 0;
|
|
24606
24625
|
}
|
|
24607
|
-
function
|
|
24626
|
+
function vR(e) {
|
|
24608
24627
|
var t, n;
|
|
24609
24628
|
return wn((t = (n = e.transform) == null || (n = n.animVal[0]) == null ? void 0 : n.angle) == null ? 0 : t);
|
|
24610
24629
|
}
|
|
24611
|
-
function
|
|
24630
|
+
function yR(e) {
|
|
24612
24631
|
var t;
|
|
24613
24632
|
let n = cr.fromSvg(e);
|
|
24614
24633
|
return {
|
|
24615
24634
|
url: (t = e.getAttribute("data-model-3d")) == null ? "" : t,
|
|
24616
|
-
bounds: Xn.fromMinMax(n.min, n.max,
|
|
24635
|
+
bounds: Xn.fromMinMax(n.min, n.max, vR(e))
|
|
24617
24636
|
};
|
|
24618
24637
|
}
|
|
24619
24638
|
//#endregion
|
|
24620
24639
|
//#region src/components/Map/drawing/config/loadBoothsImages.ts
|
|
24621
|
-
async function
|
|
24622
|
-
let e =
|
|
24640
|
+
async function bR() {
|
|
24641
|
+
let e = hR();
|
|
24623
24642
|
await Promise.all(e.map(async (e) => {
|
|
24624
24643
|
let t = await e;
|
|
24625
24644
|
if (!(t != null && t.children.length)) return;
|
|
@@ -24627,21 +24646,21 @@ async function _R() {
|
|
|
24627
24646
|
n.children.push(...r), ud(n);
|
|
24628
24647
|
}));
|
|
24629
24648
|
}
|
|
24630
|
-
var
|
|
24631
|
-
function
|
|
24649
|
+
var xR = (e) => `${e}:images`, SR = (e) => `${e}:models`;
|
|
24650
|
+
function CR(e) {
|
|
24632
24651
|
let t = /* @__PURE__ */ new Map();
|
|
24633
24652
|
for (let r of e) {
|
|
24634
24653
|
var n;
|
|
24635
24654
|
if (!r.rect) continue;
|
|
24636
24655
|
let e = (n = MI(r)) == null ? void 0 : n.logo;
|
|
24637
24656
|
e && t.set(r.id, {
|
|
24638
|
-
preferred:
|
|
24657
|
+
preferred: gR(e),
|
|
24639
24658
|
fallback: e.url
|
|
24640
24659
|
});
|
|
24641
24660
|
}
|
|
24642
24661
|
return t;
|
|
24643
24662
|
}
|
|
24644
|
-
function
|
|
24663
|
+
function wR(e) {
|
|
24645
24664
|
var t;
|
|
24646
24665
|
let n = ja(Ha(e)).select(`[data-layer="${e.name}"]`), r = (((t = Or().__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 = [];
|
|
24647
24666
|
for (let e of r) (e.hasAttribute("data-model-3d") ? a : i).push(e);
|
|
@@ -24650,7 +24669,7 @@ function xR(e) {
|
|
|
24650
24669
|
models: a
|
|
24651
24670
|
};
|
|
24652
24671
|
}
|
|
24653
|
-
function
|
|
24672
|
+
function TR(e, t) {
|
|
24654
24673
|
let n = e.rect, r = n.size.width, i = n.size.height, a = i ? r / i : 1, o, s, c, l = .9;
|
|
24655
24674
|
a > t ? (s = i * l, o = s * t) : (o = r * l, s = o / t);
|
|
24656
24675
|
let u = e.rotate || 0;
|
|
@@ -24665,32 +24684,32 @@ function SR(e, t) {
|
|
|
24665
24684
|
}
|
|
24666
24685
|
//#endregion
|
|
24667
24686
|
//#region src/components/Map/drawing/config/config-booths.ts
|
|
24668
|
-
var
|
|
24669
|
-
function
|
|
24687
|
+
var ER = (0, Zc.default)("efp:booth-logos");
|
|
24688
|
+
function DR(e, t) {
|
|
24670
24689
|
return ((t) => {
|
|
24671
|
-
let n = e, r = [], i = [], a = [], o = [], s = [], c =
|
|
24690
|
+
let n = e, r = [], i = [], a = [], o = [], s = [], c = xR(n), l = {
|
|
24672
24691
|
name: c,
|
|
24673
24692
|
children: []
|
|
24674
24693
|
};
|
|
24675
24694
|
for (let e of t) {
|
|
24676
24695
|
var u, d, f, p;
|
|
24677
|
-
let t = (u =
|
|
24696
|
+
let t = (u = kL(e)) == null ? void 0 : u.getShape();
|
|
24678
24697
|
t && (r.push(...t), yI(e, t));
|
|
24679
|
-
let n = (d =
|
|
24698
|
+
let n = (d = GL(e)) == null ? void 0 : d.getShape();
|
|
24680
24699
|
n && i.push(...n);
|
|
24681
|
-
let c = (f =
|
|
24700
|
+
let c = (f = dR(e)) == null ? void 0 : f.getShape();
|
|
24682
24701
|
if (c && a.push(...c), !Ja.borderless) {
|
|
24683
24702
|
var m;
|
|
24684
|
-
let t = (m =
|
|
24703
|
+
let t = (m = FL(e)) == null ? void 0 : m.getShape();
|
|
24685
24704
|
t && o.push(t);
|
|
24686
24705
|
}
|
|
24687
|
-
let l = (p =
|
|
24706
|
+
let l = (p = ML(e)) == null ? void 0 : p.getShape();
|
|
24688
24707
|
l && s.push(l);
|
|
24689
24708
|
}
|
|
24690
24709
|
let h = i.filter((e) => e.lines), g = a.filter((e) => e.lines), _ = i.filter((e) => e.source), v = a.filter((e) => e.source);
|
|
24691
24710
|
if (!B.hideLogoInBooth) {
|
|
24692
|
-
let e =
|
|
24693
|
-
|
|
24711
|
+
let e = CR(t), n = C();
|
|
24712
|
+
mR(c, async () => {
|
|
24694
24713
|
let t = await lI(e, 350);
|
|
24695
24714
|
if (C() !== n) return;
|
|
24696
24715
|
let r = [], i = PI(), a = await Promise.all([...t].map(async ([e, t]) => {
|
|
@@ -24704,14 +24723,14 @@ function wR(e, t) {
|
|
|
24704
24723
|
if (C() === n) {
|
|
24705
24724
|
for (let [e, t, n] of a) {
|
|
24706
24725
|
if (!t) {
|
|
24707
|
-
|
|
24726
|
+
ER("dropped a logo: no booth has id %s", e);
|
|
24708
24727
|
continue;
|
|
24709
24728
|
}
|
|
24710
24729
|
if (!n) {
|
|
24711
|
-
|
|
24730
|
+
ER("dropped the logo of booth %s: the image could not be read", e);
|
|
24712
24731
|
continue;
|
|
24713
24732
|
}
|
|
24714
|
-
let { blob: i, aspectRatio: a } = n, { bounds: o } =
|
|
24733
|
+
let { blob: i, aspectRatio: a } = n, { bounds: o } = TR(t, a), s = Yj(i, o), c = t.borderWidth || Ee.borderWidth, l = t.rect.expand(-c), u = new Xn(l.center, l.size, t.rotate);
|
|
24715
24734
|
s.onRoll = pj(s.bounds, u) ? ({ roll: e }) => vj(s, e) ? [s] : void 0 : ({ roll: e }) => hj(s, e) ? [s] : void 0, t.shapes.push(s), r.push(s);
|
|
24716
24735
|
}
|
|
24717
24736
|
return {
|
|
@@ -24742,7 +24761,7 @@ function wR(e, t) {
|
|
|
24742
24761
|
}
|
|
24743
24762
|
]
|
|
24744
24763
|
};
|
|
24745
|
-
OM(() => Ce.layersLoaded &&
|
|
24764
|
+
OM(() => Ce.layersLoaded && qL(), (e) => {
|
|
24746
24765
|
y.dim = e ? 0 : void 0, ud(y);
|
|
24747
24766
|
}, { fireImmediately: !0 });
|
|
24748
24767
|
let b = [];
|
|
@@ -24776,7 +24795,7 @@ function wR(e, t) {
|
|
|
24776
24795
|
}
|
|
24777
24796
|
//#endregion
|
|
24778
24797
|
//#region src/components/Map/drawing/config/poi-pin-shape.ts
|
|
24779
|
-
var
|
|
24798
|
+
var OR = {
|
|
24780
24799
|
frame: {
|
|
24781
24800
|
width: 82,
|
|
24782
24801
|
height: 96
|
|
@@ -24794,7 +24813,7 @@ var TR = {
|
|
|
24794
24813
|
offsetY: 2,
|
|
24795
24814
|
blur: 4
|
|
24796
24815
|
}
|
|
24797
|
-
},
|
|
24816
|
+
}, kR = {
|
|
24798
24817
|
frame: {
|
|
24799
24818
|
width: 102,
|
|
24800
24819
|
height: 137
|
|
@@ -24813,7 +24832,7 @@ var TR = {
|
|
|
24813
24832
|
blur: 5
|
|
24814
24833
|
}
|
|
24815
24834
|
};
|
|
24816
|
-
function
|
|
24835
|
+
function AR(e, t, n) {
|
|
24817
24836
|
let r = t / e.bodyWidth * n, i = Math.ceil(e.frame.height * r), a = (e.tipApexY + e.strokeWidth / 2) * r;
|
|
24818
24837
|
return {
|
|
24819
24838
|
scale: r,
|
|
@@ -24822,7 +24841,7 @@ function DR(e, t, n) {
|
|
|
24822
24841
|
tipOffset: (i - a) / n
|
|
24823
24842
|
};
|
|
24824
24843
|
}
|
|
24825
|
-
function
|
|
24844
|
+
function jR(e) {
|
|
24826
24845
|
try {
|
|
24827
24846
|
return (0, AM.default)(e).darken(.41).desaturate(.4).hex();
|
|
24828
24847
|
} catch {
|
|
@@ -24831,8 +24850,8 @@ function OR(e) {
|
|
|
24831
24850
|
}
|
|
24832
24851
|
//#endregion
|
|
24833
24852
|
//#region src/components/Map/drawing/config/poi-pin.ts
|
|
24834
|
-
var
|
|
24835
|
-
function
|
|
24853
|
+
var MR = .6, NR = "#ffffff", PR = "rgba(0, 0, 0, 0.35)";
|
|
24854
|
+
function FR(e, t) {
|
|
24836
24855
|
let n = document.createElement("canvas");
|
|
24837
24856
|
n.width = t.canvasWidth, n.height = t.canvasHeight;
|
|
24838
24857
|
let r = n.getContext("2d");
|
|
@@ -24842,35 +24861,35 @@ function MR(e, t) {
|
|
|
24842
24861
|
path: new Path2D(e.outline)
|
|
24843
24862
|
};
|
|
24844
24863
|
}
|
|
24845
|
-
function
|
|
24846
|
-
e.shadowColor =
|
|
24864
|
+
function IR(e, t, n) {
|
|
24865
|
+
e.shadowColor = PR, e.shadowOffsetY = t.shadow.offsetY * n, e.shadowBlur = t.shadow.blur * n;
|
|
24847
24866
|
}
|
|
24848
|
-
function
|
|
24867
|
+
function LR(e) {
|
|
24849
24868
|
e.shadowColor = "transparent", e.shadowOffsetY = 0, e.shadowBlur = 0;
|
|
24850
24869
|
}
|
|
24851
|
-
function
|
|
24870
|
+
function RR(e) {
|
|
24852
24871
|
return e.getContext("2d").getImageData(0, 0, e.width, e.height);
|
|
24853
24872
|
}
|
|
24854
|
-
function
|
|
24855
|
-
let a =
|
|
24856
|
-
if (
|
|
24857
|
-
let t = 2 * a.head.innerRadius *
|
|
24858
|
-
r.globalCompositeOperation = "source-in", r.fillStyle =
|
|
24873
|
+
function zR(e, t, n, i) {
|
|
24874
|
+
let a = OR, o = AR(a, t, n), { canvas: s, ctx: c, path: l } = FR(a, o), { x: u, y: d } = a.head;
|
|
24875
|
+
if (IR(c, a, o.scale), c.fillStyle = NR, c.fill(l), LR(c), c.beginPath(), c.arc(u, d, a.head.innerRadius, 0, 2 * Math.PI), c.fillStyle = r, c.fillStyle = i, c.fill(), e) {
|
|
24876
|
+
let t = 2 * a.head.innerRadius * MR * o.scale, n = bo(e, t, t, 1), r = n.getContext("2d");
|
|
24877
|
+
r.globalCompositeOperation = "source-in", r.fillStyle = NR, r.fillRect(0, 0, n.width, n.height);
|
|
24859
24878
|
let i = n.width / o.scale, s = n.height / o.scale;
|
|
24860
24879
|
c.drawImage(n, u - i / 2, d - s / 2, i, s);
|
|
24861
24880
|
}
|
|
24862
|
-
return
|
|
24881
|
+
return RR(s);
|
|
24863
24882
|
}
|
|
24864
|
-
function
|
|
24865
|
-
let r =
|
|
24866
|
-
return
|
|
24883
|
+
function BR(e, t, n) {
|
|
24884
|
+
let r = kR, i = AR(r, e, t), { canvas: a, ctx: o, path: s } = FR(r, i), c = jR(n);
|
|
24885
|
+
return IR(o, r, i.scale), o.fillStyle = n, o.fill(s), LR(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(), RR(a);
|
|
24867
24886
|
}
|
|
24868
24887
|
//#endregion
|
|
24869
24888
|
//#region src/components/Map/drawing/config/config-outdoor-poi.ts
|
|
24870
|
-
var
|
|
24871
|
-
function
|
|
24889
|
+
var VR = (e) => !!e && e !== "transparent" && e !== "none";
|
|
24890
|
+
function HR(e) {
|
|
24872
24891
|
var t, n, r;
|
|
24873
|
-
let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(
|
|
24892
|
+
let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(VR), a = ((n = e.shapes) == null ? [] : n).map((e) => e.color).find(VR), o = (r = i == null ? a : i) == null ? null : r;
|
|
24874
24893
|
if (!o) return null;
|
|
24875
24894
|
try {
|
|
24876
24895
|
return B.monochrome ? (0, AM.default)(o).grayscale().rgb().string() : o;
|
|
@@ -24878,22 +24897,22 @@ function zR(e) {
|
|
|
24878
24897
|
return o;
|
|
24879
24898
|
}
|
|
24880
24899
|
}
|
|
24881
|
-
function
|
|
24900
|
+
function UR() {
|
|
24882
24901
|
return Dr.enableExperimentalOutdoorMarkers === !0;
|
|
24883
24902
|
}
|
|
24884
|
-
function
|
|
24885
|
-
return e.name.toLowerCase().startsWith(
|
|
24903
|
+
function WR(e) {
|
|
24904
|
+
return e.name.toLowerCase().startsWith(a.toLowerCase());
|
|
24886
24905
|
}
|
|
24887
|
-
async function
|
|
24906
|
+
async function GR(e) {
|
|
24888
24907
|
var t, n;
|
|
24889
|
-
let
|
|
24908
|
+
let i = 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) => {
|
|
24890
24909
|
let t = c.get(e);
|
|
24891
24910
|
return t || (t = P(e), c.set(e, t)), t;
|
|
24892
24911
|
};
|
|
24893
24912
|
await Promise.all(e.map(async (e) => {
|
|
24894
24913
|
var t, n;
|
|
24895
|
-
let
|
|
24896
|
-
|
|
24914
|
+
let i = e.poiTypeId == null || (t = s.get(e.poiTypeId)) == null ? void 0 : t.iconUrl, c = i ? await l(i) : null;
|
|
24915
|
+
i && !c && console.warn("PoI icon failed to load", e.name, i);
|
|
24897
24916
|
let u = e.rect.center;
|
|
24898
24917
|
o.push({
|
|
24899
24918
|
boothId: e.id,
|
|
@@ -24901,38 +24920,38 @@ async function HR(e) {
|
|
|
24901
24920
|
x: u.x,
|
|
24902
24921
|
y: u.y
|
|
24903
24922
|
},
|
|
24904
|
-
icon:
|
|
24923
|
+
icon: zR(c, 40, a, (n = HR(e)) == null ? r : n)
|
|
24905
24924
|
});
|
|
24906
|
-
})), z.poiMarkerStore.generation ===
|
|
24925
|
+
})), z.poiMarkerStore.generation === i && z.poiMarkerStore.addMany(o);
|
|
24907
24926
|
}
|
|
24908
|
-
function
|
|
24909
|
-
return !
|
|
24927
|
+
function KR(e, t) {
|
|
24928
|
+
return !UR() || !WR(e) ? !1 : (z.maplibreStore.showMaplibre && GR(t.filter((e) => e.poiTypeId && e.rect)), !0);
|
|
24910
24929
|
}
|
|
24911
24930
|
//#endregion
|
|
24912
24931
|
//#region src/components/Map/drawing/config/config-load-layer.ts
|
|
24913
|
-
function
|
|
24932
|
+
function qR(e) {
|
|
24914
24933
|
return e.childLayers.length ? e.childLayers : GF(e, e.basePriority, 15).layers;
|
|
24915
24934
|
}
|
|
24916
|
-
async function
|
|
24935
|
+
async function JR(e, t) {
|
|
24917
24936
|
let n = [], r = PM(z, e);
|
|
24918
|
-
if (
|
|
24937
|
+
if (KR(e, r)) return e.loaded = !0, e.configured = !0, e.children = [], Qj(e.name, [], { hidden: !0 });
|
|
24919
24938
|
let i = await eI(e), a = [], o = hM(r, 350), s = Ee.booths.filter((t) => t.rect && (!t.layer || t.layer === e || t.layer.childLayers.includes(e)) && t.exhibitors.find((e) => {
|
|
24920
24939
|
var t;
|
|
24921
24940
|
return !!e.logoInBooth && !!((t = e.logo) != null && t.url);
|
|
24922
24941
|
}) && !B.hideLogoInBooth), c = new Map(s.map((e) => [e, e.noLabels]));
|
|
24923
24942
|
s.forEach((e) => e.noLabels = !0), r.length && o.forEach((t, n) => {
|
|
24924
|
-
a.push(
|
|
24943
|
+
a.push(DR(`${e.name}:${f}:${n}`, t));
|
|
24925
24944
|
});
|
|
24926
24945
|
for (let [e, t] of c) e.noLabels = t;
|
|
24927
24946
|
e.loaded = !0;
|
|
24928
|
-
let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d =
|
|
24947
|
+
let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d = xR(e.name), { icons: p, models: m } = wR(e), h = {
|
|
24929
24948
|
name: d,
|
|
24930
24949
|
children: []
|
|
24931
24950
|
}, g = {
|
|
24932
|
-
name:
|
|
24933
|
-
children: m.map(
|
|
24951
|
+
name: SR(e.name),
|
|
24952
|
+
children: m.map(yR)
|
|
24934
24953
|
};
|
|
24935
|
-
p.length &&
|
|
24954
|
+
p.length && mR(d, async () => {
|
|
24936
24955
|
let e = await QF(p), t = [];
|
|
24937
24956
|
for (let { bounds: n, source: r } of e) t.push(Yj(r, n));
|
|
24938
24957
|
return {
|
|
@@ -24946,25 +24965,25 @@ async function GR(e, t) {
|
|
|
24946
24965
|
...u,
|
|
24947
24966
|
name: `${i.name}:fg`
|
|
24948
24967
|
}), p.length && n.push(h), g.children.length && n.push(g);
|
|
24949
|
-
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) =>
|
|
24968
|
+
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) => JR(e, !0)));
|
|
24950
24969
|
return n.push(..._), e.children = n, e.configured = !0, Qj(e.name, n, { hidden: !t });
|
|
24951
24970
|
}
|
|
24952
|
-
async function
|
|
24971
|
+
async function YR(e) {
|
|
24953
24972
|
if (e.configured) return Qj(e.name, e.children, { hidden: !e.visible });
|
|
24954
|
-
if (z.layerStore.mode !==
|
|
24955
|
-
let t =
|
|
24973
|
+
if (z.layerStore.mode !== fz.Default && !jr(e.name) && !e.rootParent) try {
|
|
24974
|
+
let t = s().fpSvgLayerJsRefs[e.name];
|
|
24956
24975
|
t && await h(t);
|
|
24957
24976
|
} catch (t) {
|
|
24958
24977
|
console.warn(`Layer data not loaded: ${e.name}`, t);
|
|
24959
24978
|
}
|
|
24960
|
-
let t =
|
|
24979
|
+
let t = qR(e);
|
|
24961
24980
|
t.length && (e.childLayers = t);
|
|
24962
|
-
let { layers:
|
|
24963
|
-
return z.layerStore.layers = [...
|
|
24981
|
+
let { layers: n } = z.layerStore;
|
|
24982
|
+
return z.layerStore.layers = [...n, ...t.filter((e) => !n.some((t) => t.name === e.name))], JR(e, e.visible);
|
|
24964
24983
|
}
|
|
24965
24984
|
//#endregion
|
|
24966
24985
|
//#region src/utils/shortenName.ts
|
|
24967
|
-
function
|
|
24986
|
+
function XR(e) {
|
|
24968
24987
|
return typeof e == "string" ? e.split(" ").map((e) => {
|
|
24969
24988
|
let t = e.replace(/[^A-Z0-9+-]/gi, ""), n = t.match(/^[-+]?\d+$/);
|
|
24970
24989
|
return n ? n[0] : /^[A-Z]{2,4}$/.test(t) ? t : t.charAt(0).toUpperCase();
|
|
@@ -24972,8 +24991,8 @@ function qR(e) {
|
|
|
24972
24991
|
}
|
|
24973
24992
|
//#endregion
|
|
24974
24993
|
//#region src/store/LayerStore.ts
|
|
24975
|
-
var
|
|
24976
|
-
function
|
|
24994
|
+
var ZR, QR, $R, ez, tz, nz, rz, iz, $, az, oz, sz, cz;
|
|
24995
|
+
function lz(e, t, n, r) {
|
|
24977
24996
|
n && Object.defineProperty(e, t, {
|
|
24978
24997
|
enumerable: n.enumerable,
|
|
24979
24998
|
configurable: n.configurable,
|
|
@@ -24981,7 +25000,7 @@ function oz(e, t, n, r) {
|
|
|
24981
25000
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
24982
25001
|
});
|
|
24983
25002
|
}
|
|
24984
|
-
function
|
|
25003
|
+
function uz(e, t, n, r, i) {
|
|
24985
25004
|
var a = {};
|
|
24986
25005
|
return Object.keys(r).forEach(function(e) {
|
|
24987
25006
|
a[e] = r[e];
|
|
@@ -24989,41 +25008,41 @@ function sz(e, t, n, r, i) {
|
|
|
24989
25008
|
return r(e, t, n) || n;
|
|
24990
25009
|
}, 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;
|
|
24991
25010
|
}
|
|
24992
|
-
var
|
|
25011
|
+
var dz = [
|
|
24993
25012
|
"money2020usa",
|
|
24994
25013
|
"rodion2",
|
|
24995
25014
|
"possible2025",
|
|
24996
25015
|
"2025virtuosotravelweek",
|
|
24997
25016
|
"zscalerskofy26",
|
|
24998
25017
|
"gamescom2025"
|
|
24999
|
-
],
|
|
25018
|
+
], fz = /*#__PURE__*/ function(e) {
|
|
25000
25019
|
return e[e.Default = 0] = "Default", e[e.Separated = 1] = "Separated", e[e.Radio = 2] = "Radio", e[e.CheckBox = 3] = "CheckBox", e;
|
|
25001
|
-
}({}),
|
|
25020
|
+
}({}), pz = /*#__PURE__*/ function(e) {
|
|
25002
25021
|
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;
|
|
25003
|
-
}({}),
|
|
25022
|
+
}({}), mz = (ZR = class {
|
|
25004
25023
|
constructor() {
|
|
25005
|
-
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 =
|
|
25024
|
+
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 = pz.Unset, this.children = [], this.pathway = void 0, this.floorIndex = void 0, lz(this, "loaded", QR, this), lz(this, "visible", $R, this);
|
|
25006
25025
|
}
|
|
25007
25026
|
get shortName() {
|
|
25008
|
-
return
|
|
25027
|
+
return XR(this.description);
|
|
25009
25028
|
}
|
|
25010
|
-
},
|
|
25029
|
+
}, QR = uz(ZR.prototype, "loaded", [D], {
|
|
25011
25030
|
configurable: !0,
|
|
25012
25031
|
enumerable: !0,
|
|
25013
25032
|
writable: !0,
|
|
25014
25033
|
initializer: function() {
|
|
25015
25034
|
return !1;
|
|
25016
25035
|
}
|
|
25017
|
-
}),
|
|
25036
|
+
}), $R = uz(ZR.prototype, "visible", [D], {
|
|
25018
25037
|
configurable: !0,
|
|
25019
25038
|
enumerable: !0,
|
|
25020
25039
|
writable: !0,
|
|
25021
25040
|
initializer: function() {
|
|
25022
25041
|
return !1;
|
|
25023
25042
|
}
|
|
25024
|
-
}),
|
|
25043
|
+
}), ZR), hz = (ez = E({ keepAlive: !0 }), tz = E({ keepAlive: !0 }), nz = E({ keepAlive: !0 }), rz = E({ keepAlive: !0 }), iz = E({ keepAlive: !0 }), $ = class {
|
|
25025
25044
|
constructor() {
|
|
25026
|
-
|
|
25045
|
+
lz(this, "layers", az, this), lz(this, "defaultLayer", oz, this), lz(this, "mode", sz, this), lz(this, "layersLoaded", cz, this), this.updateVisibilityTimeout = 0, this.selectFloorTimeout = 0;
|
|
25027
25046
|
}
|
|
25028
25047
|
get visible() {
|
|
25029
25048
|
return this.layers.filter((e) => e.frozen || e.visible);
|
|
@@ -25036,7 +25055,7 @@ var cz = [
|
|
|
25036
25055
|
var t;
|
|
25037
25056
|
return (t = e.viewbox) == null ? e.rect : t;
|
|
25038
25057
|
}).filter((e) => !!e);
|
|
25039
|
-
return this.mode !==
|
|
25058
|
+
return this.mode !== fz.Radio || !e.length ? null : cr.fromUnion(...e) || null;
|
|
25040
25059
|
}
|
|
25041
25060
|
get bounds() {
|
|
25042
25061
|
let e = this.visible.map((e) => {
|
|
@@ -25054,7 +25073,7 @@ var cz = [
|
|
|
25054
25073
|
}
|
|
25055
25074
|
get floors() {
|
|
25056
25075
|
if (!Ya()) return [];
|
|
25057
|
-
let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(z.routeStore.layers.filter((e) => e && e.mode !==
|
|
25076
|
+
let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(z.routeStore.layers.filter((e) => e && e.mode !== pz.AlwaysHidden && e.mode !== pz.AlwaysVisible))), t = Array.from(e).reverse();
|
|
25058
25077
|
return t.map((e, n) => {
|
|
25059
25078
|
var r;
|
|
25060
25079
|
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;
|
|
@@ -25074,10 +25093,10 @@ var cz = [
|
|
|
25074
25093
|
this.selectFloorTimeout = window.setTimeout(() => this.selectFloorTimeout = 0, 500);
|
|
25075
25094
|
let t = this.layers.find((t) => t.description === e.description);
|
|
25076
25095
|
if (!t) return;
|
|
25077
|
-
if (this.mode ===
|
|
25096
|
+
if (this.mode === fz.Radio) {
|
|
25078
25097
|
var n;
|
|
25079
25098
|
if (this.updateVisibility(t, !0), z.maplibreStore.showMaplibre) return;
|
|
25080
|
-
if ((n = Or().__fpSettings) != null && n.fpVer ||
|
|
25099
|
+
if ((n = Or().__fpSettings) != null && n.fpVer || dz.includes(Ja.EXPO)) {
|
|
25081
25100
|
var r;
|
|
25082
25101
|
let e = (r = t.viewbox) == null ? t.rect : r;
|
|
25083
25102
|
z.uiState.moveToRect = e;
|
|
@@ -25095,14 +25114,14 @@ var cz = [
|
|
|
25095
25114
|
z.toursStore.stopTour();
|
|
25096
25115
|
}
|
|
25097
25116
|
updateVisibility(e, t) {
|
|
25098
|
-
if (this.mode ===
|
|
25099
|
-
let n = e instanceof
|
|
25117
|
+
if (this.mode === fz.Radio && !t) return;
|
|
25118
|
+
let n = e instanceof mz ? e : this.findLayer(e);
|
|
25100
25119
|
if (!n || n.visible === t) {
|
|
25101
25120
|
n && z.routeStore.currentRouteLayer !== n && (z.routeStore.currentRouteLayer = n);
|
|
25102
25121
|
return;
|
|
25103
25122
|
}
|
|
25104
|
-
|
|
25105
|
-
this.mode ===
|
|
25123
|
+
YR(n).then(() => {
|
|
25124
|
+
this.mode === fz.Radio && this.layers.filter((e) => !e.pathway).forEach((e) => {
|
|
25106
25125
|
e.name !== n.name && !e.frozen && e.visible && (e.visible = !1, e.childLayers.forEach((e) => {
|
|
25107
25126
|
e.visible = !1;
|
|
25108
25127
|
}));
|
|
@@ -25135,7 +25154,7 @@ var cz = [
|
|
|
25135
25154
|
try {
|
|
25136
25155
|
let t = this.findLayer(e);
|
|
25137
25156
|
if (!t) throw Error(`There is no pathway with this name. ${e}`);
|
|
25138
|
-
await
|
|
25157
|
+
await YR(t);
|
|
25139
25158
|
let n = this.getPathwayList();
|
|
25140
25159
|
M(() => {
|
|
25141
25160
|
n.forEach((t) => {
|
|
@@ -25156,32 +25175,32 @@ var cz = [
|
|
|
25156
25175
|
});
|
|
25157
25176
|
});
|
|
25158
25177
|
}
|
|
25159
|
-
},
|
|
25178
|
+
}, az = uz($.prototype, "layers", [D], {
|
|
25160
25179
|
configurable: !0,
|
|
25161
25180
|
enumerable: !0,
|
|
25162
25181
|
writable: !0,
|
|
25163
25182
|
initializer: function() {
|
|
25164
25183
|
return [];
|
|
25165
25184
|
}
|
|
25166
|
-
}),
|
|
25185
|
+
}), oz = uz($.prototype, "defaultLayer", [D], {
|
|
25167
25186
|
configurable: !0,
|
|
25168
25187
|
enumerable: !0,
|
|
25169
25188
|
writable: !0,
|
|
25170
25189
|
initializer: null
|
|
25171
|
-
}),
|
|
25190
|
+
}), sz = uz($.prototype, "mode", [D], {
|
|
25172
25191
|
configurable: !0,
|
|
25173
25192
|
enumerable: !0,
|
|
25174
25193
|
writable: !0,
|
|
25175
25194
|
initializer: function() {
|
|
25176
|
-
return
|
|
25195
|
+
return fz.Default;
|
|
25177
25196
|
}
|
|
25178
|
-
}),
|
|
25197
|
+
}), cz = uz($.prototype, "layersLoaded", [D], {
|
|
25179
25198
|
configurable: !0,
|
|
25180
25199
|
enumerable: !0,
|
|
25181
25200
|
writable: !0,
|
|
25182
25201
|
initializer: function() {
|
|
25183
25202
|
return !1;
|
|
25184
25203
|
}
|
|
25185
|
-
}),
|
|
25204
|
+
}), uz($.prototype, "visible", [ez], Object.getOwnPropertyDescriptor($.prototype, "visible"), $.prototype), uz($.prototype, "loaded", [tz], Object.getOwnPropertyDescriptor($.prototype, "loaded"), $.prototype), uz($.prototype, "rectangle", [nz], Object.getOwnPropertyDescriptor($.prototype, "rectangle"), $.prototype), uz($.prototype, "bounds", [rz], Object.getOwnPropertyDescriptor($.prototype, "bounds"), $.prototype), uz($.prototype, "viewboxRectangle", [iz], Object.getOwnPropertyDescriptor($.prototype, "viewboxRectangle"), $.prototype), uz($.prototype, "pathwayLayers", [E], Object.getOwnPropertyDescriptor($.prototype, "pathwayLayers"), $.prototype), uz($.prototype, "floors", [E], Object.getOwnPropertyDescriptor($.prototype, "floors"), $.prototype), uz($.prototype, "selectFloor", [A], Object.getOwnPropertyDescriptor($.prototype, "selectFloor"), $.prototype), uz($.prototype, "updateVisibility", [A], Object.getOwnPropertyDescriptor($.prototype, "updateVisibility"), $.prototype), uz($.prototype, "showPathWay", [A], Object.getOwnPropertyDescriptor($.prototype, "showPathWay"), $.prototype), uz($.prototype, "hidePathways", [A], Object.getOwnPropertyDescriptor($.prototype, "hidePathways"), $.prototype), $);
|
|
25186
25205
|
//#endregion
|
|
25187
|
-
export {
|
|
25206
|
+
export { Gj as $, cr as $t, MM as A, To as At, lM as B, Ya as Bt, _I as C, so as Ct, nI as D, bo as Dt, cI as E, So as Et, EM as F, io as Ft, sM as G, Ra as Gt, cM as H, Ha as Ht, vM as I, $a as It, $j as J, Dr as Jt, Yj as K, Or as Kt, mM as L, Qa as Lt, OM as M, lo as Mt, kM as N, uo as Nt, KF as O, Mo as Ot, TM as P, yo as Pt, Uj as Q, yr as Qt, yM as R, Xa as Rt, vI as S, wo as St, dI as T, No as Tt, fM as U, La as Ut, uM as V, Ja as Vt, pM as W, Ba as Wt, Xj as X, Tr as Xt, Jj as Y, Cr as Yt, Zj as Z, wr as Zt, lL as _, Gc as _t, UR as a, jn as an, _j as at, wI as b, Ho as bt, kR as c, wn as cn, tj as ct, gR as d, Tn as dn, If as dt, pr as en, Bj as et, QL as f, jf as ft, uL as g, Uc as gt, dL as h, ud as ht, YR as i, An as in, gj as it, DM as j, co as jt, HF as k, Co as kt, AR as l, En as ln, ej as lt, hL as m, Mf as mt, hz as n, Xn as nn, Vj as nt, BR as o, Mn as on, cj as ot, JL as p, Af as pt, Qj as q, Mr as qt, fz as r, Gn as rn, Hj as rt, OR as s, Fn as sn, fj as st, pz as t, ir as tn, zj as tt, bR as u, Dn as un, zp as ut, cL as v, Vc as vt, mI as w, po as wt, DI as x, fo as xt, HI as y, Rc as yt, dM as z, Za as zt };
|