@expofp/floorplan 3.45.11 → 3.45.13
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-wvbcVeFB.js → Button-RHSLdZ8P.js} +5 -5
- package/dist/browser/{CookieConsent-Culs9sI1.js → CookieConsent-tlDN9k4r.js} +7 -7
- package/dist/browser/{Debug-BM8bkKs4.js → Debug-8l7GSED6.js} +7 -7
- package/dist/browser/{DebugTools-fmsxTLzp.js → DebugTools-ipof0w8h.js} +6 -6
- package/dist/browser/{Demo-C3o1FEbw.js → Demo-CwZivFF-.js} +9 -9
- package/dist/browser/{Free-D1AZmJe7.js → Free-D4gNZ4RA.js} +10 -10
- package/dist/browser/{GalleryContainer-Bbj-p43R.js → GalleryContainer-B8L8n_4E.js} +11 -11
- package/dist/browser/{GpsLoader-BNqyoowH.js → GpsLoader-u9Gln6H7.js} +13 -13
- package/dist/browser/{KioskStore-BiM1CrZM.js → KioskStore-BWf8YM7M.js} +10 -10
- package/dist/browser/{LayerStore-CYhUcBJN.js → LayerStore-CrWyrBRa.js} +825 -819
- package/dist/browser/{MaplibreAdapter-Cr1b2MUz.js → MaplibreAdapter-Cd-gdHxM.js} +144 -144
- package/dist/browser/{ModalContainer-bhF8uauy.js → ModalContainer-DVKprzvo.js} +10 -10
- package/dist/browser/{PermissionNotice-Cp33Dup_.js → PermissionNotice-BMQHGUs9.js} +6 -6
- package/dist/browser/{RouteStore-BnA20xcN.js → RouteStore-BiUI1Uef.js} +127 -127
- package/dist/browser/{SetKioskMode-DlEk89q8.js → SetKioskMode-Bt9Ap5HU.js} +14 -14
- package/dist/browser/{ShowKiosk-C_2hw-6E.js → ShowKiosk-rsxj5Ort.js} +10 -10
- package/dist/browser/{UIState-B9mFI9_m.js → UIState-DgWaz-eQ.js} +89 -89
- package/dist/browser/{ViewerMenuPanel-DlXU3ixM.js → ViewerMenuPanel-6oBbHGtm.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-xal_XewS.js → add-debug-secret-listener-CrdHdOJy.js} +1 -1
- package/dist/browser/{adopt-global-settings-BDiKKjee.js → adopt-global-settings-zscIy9Gm.js} +9 -9
- package/dist/browser/{boolean-editor-Sma15U6s.js → boolean-editor-CKqy8Ity.js} +9 -9
- package/dist/browser/{bootIntercom-CvT_A8p8.js → bootIntercom-B98qYnKB.js} +2 -2
- package/dist/browser/bundle.json +85 -85
- package/dist/browser/{camera-events-DtEEOjHJ.js → camera-events-CT_HBink.js} +1 -1
- package/dist/browser/{classnames-DOWh55m7.js → classnames-jjUCCpoy.js} +2 -2
- package/dist/browser/{client-Bq8KC_Gd.js → client-CWN8yeUz.js} +5 -5
- package/dist/browser/{components-DAgPmGLN.js → components-BYuTjlcn.js} +239 -245
- package/dist/browser/{create-live-plan-CyeXLvG9.js → create-live-plan-DplxEMws.js} +73 -73
- package/dist/browser/{debug-context-DgfLIP_z.js → debug-context-DswaH7mN.js} +5 -5
- package/dist/browser/{debug-overlay-DjhkoXTh.js → debug-overlay-khJHt49U.js} +10 -10
- package/dist/browser/{debug-ui-C5Ov9nWP.js → debug-ui-BEApU0Hr.js} +6 -6
- package/dist/browser/{dist-D7R1HRT6.js → dist-BsTWH7q7.js} +5 -5
- package/dist/browser/{dist-D8q30ciB.js → dist-CgdNmEoc.js} +3 -3
- package/dist/browser/{dist-BPgTae9z.js → dist-q2Ip5e-y.js} +6 -6
- package/dist/browser/{efp-debug-init-CI7-9-EF.js → efp-debug-init-DBQbSv4u.js} +3 -3
- package/dist/browser/{enum-editor-DgdrIT6p.js → enum-editor-CxeGNBqb.js} +4 -4
- package/dist/browser/{es5-CKWQYgqj.js → es5-C4CifKWw.js} +2 -2
- package/dist/browser/{event-head-CGnPGf8r.js → event-head-D1EKVWKM.js} +1 -1
- package/dist/browser/{event-not-found-BczHwPfj.js → event-not-found-DcLfsbev.js} +3 -3
- package/dist/browser/{event-scoped-cache-D2VS2gfE.js → event-scoped-cache-BbzF7HuS.js} +2 -2
- package/dist/browser/{expofpUrl-BjxV_NsI.js → expofpUrl-BkFfQVWT.js} +1 -1
- package/dist/browser/{exports-Ck0hSnNP.js → exports-CJmfzEbr.js} +1 -1
- package/dist/browser/{favicon-DXRCQyX8.js → favicon-C17ZDAmX.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BpErXOBo.js → fetch-retry.umd-KfV_kX2J.js} +2 -2
- package/dist/browser/{flex-BQOoxB4K.js → flex-BlLYvxBy.js} +5 -5
- package/dist/browser/{floorplan.loader-BevvQXsH.js → floorplan.loader-BZfuR9KC.js} +12 -12
- package/dist/browser/{floorplan.ready-CfjIq-tD.js → floorplan.ready-CuozrQJq.js} +30 -30
- package/dist/browser/{framing-rect-DMoOdaT6.js → framing-rect-_cN7Jp0z.js} +355 -363
- package/dist/browser/{freeBanner-BLUQe1wS.js → freeBanner-DC2vjpf5.js} +2 -2
- package/dist/browser/{fuse-ZrYQLa2i.js → fuse-BYQPvbIk.js} +2 -2
- package/dist/browser/{i18n-BLaFErhY.js → i18n-BDc7lWFh.js} +6 -6
- package/dist/browser/index.js +17 -17
- package/dist/browser/{index.module-Cgw9eIFs.js → index.module-DUgyUoBP.js} +4 -4
- package/dist/browser/{init-ui-C168qd--.js → init-ui-xCaP1iGt.js} +13 -13
- package/dist/browser/{integrateKiosk-CItUrjqr.js → integrateKiosk-pm7XEmxW.js} +5 -5
- package/dist/browser/{is-debug-5Wx1pzmC.js → is-debug-Bk6Ww-mR.js} +4 -4
- package/dist/browser/{is-own-domain-CQwNRlOP.js → is-own-domain-DtyPiuBK.js} +1 -1
- package/dist/browser/{is-webview-M2z00we8.js → is-webview-DpsVH2Y1.js} +1 -1
- package/dist/browser/{jsx-runtime-BUD3cKrd.js → jsx-runtime-ClNfOC6f.js} +2 -2
- package/dist/browser/{kiosk-mode-oR6Qku6R.js → kiosk-mode-CHV9ESCa.js} +3 -3
- package/dist/browser/{kiosk-record-B4TPlUVM.js → kiosk-record-WGoZsWrI.js} +1 -1
- package/dist/browser/{kioskApi-Bjbnt2QJ.js → kioskApi-CbDD11ug.js} +7 -7
- package/dist/browser/{lib-DCkZiNTx.js → lib-CyCGPKo7.js} +3 -3
- package/dist/browser/{loadImage-CsHBlWDX.js → loadImage-w_zuSX7Q.js} +1 -1
- package/dist/browser/{logDeviceInfo-CBp39wle.js → logDeviceInfo-DladzOhP.js} +9 -9
- package/dist/browser/{mobx-BKuZa-uE.js → mobx-DRjOCpOl.js} +4 -4
- package/dist/browser/{mobx.module-DLfbGzOu.js → mobx.module-Cv_4Fqn4.js} +1 -1
- package/dist/browser/{optional-boolean-editor-C_nG8KPk.js → optional-boolean-editor-CX8YBA0h.js} +3 -3
- package/dist/browser/{optional-enum-editor-Cz65owXN.js → optional-enum-editor-BxGv8bpn.js} +4 -4
- package/dist/browser/{optional-string-editor-CiixI5VU.js → optional-string-editor-DqMnNBXu.js} +4 -4
- package/dist/browser/{particles.min-Dg9rhGQw.js → particles.min-ejj5e5kU.js} +2 -2
- package/dist/browser/{react-9fRUfYcQ.js → react-Dw5YXa-Y.js} +2 -2
- package/dist/browser/{react-dom-BnQ0aR5T.js → react-dom-Dd8g1448.js} +3 -3
- package/dist/browser/{rolldown-runtime-DW9kw2-Z.js → rolldown-runtime-BDjyEY82.js} +1 -1
- package/dist/browser/{scene-CfgUV6qo.js → scene-BuSOJ1kI.js} +9 -9
- package/dist/browser/{scheduler-2CNHK3J9.js → scheduler-2PunDhbX.js} +2 -2
- package/dist/browser/{select-DhztBWaW.js → select-BZ4woGJi.js} +10 -10
- package/dist/browser/{settings-CQJfzF0P.js → settings-BQ58wk59.js} +2 -2
- package/dist/browser/{settings-item-C8z-VDRo.js → settings-item-DkAN7SK-.js} +6 -6
- package/dist/browser/{store-CToL6ro6.js → store-Djiw0f15.js} +2 -2
- package/dist/browser/{string-editor-CfDpSKQj.js → string-editor-BxjGvgq8.js} +4 -4
- package/dist/browser/{text-field-Cc4OOu_O.js → text-field-1Qf6vcza.js} +5 -5
- package/dist/browser/{theme-DyT10pAe.js → theme-BY0D9YiW.js} +8 -8
- package/dist/browser/{ui-oWcLvPG5.js → ui-DFokN_S5.js} +8 -8
- package/dist/browser/{useRenderTarget-QHju4vdT.js → useRenderTarget-Bh-xmMgH.js} +4 -4
- package/dist/browser/{viewport-DtGAyX5m.js → viewport-BUn4KlO1.js} +3 -3
- package/dist/browser/{wayfinding-xq3uzwvp.js → wayfinding-BHyh7Wne.js} +228 -228
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/engine/utils/rotation.d.ts +8 -0
- package/dist/esm/engine/utils/rotation.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +1 -1
- package/package.json +11 -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.45.13" };
|
|
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] = "f672766f-67ce-4735-9282-6e16777f0312", e._sentryDebugIdIdentifier = "sentry-dbid-f672766f-67ce-4735-9282-6e16777f0312");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
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-
|
|
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 ee, u as j } from "./mobx.module-
|
|
16
|
-
import { t as M } from "./is-webview-
|
|
17
|
-
import { t as te } from "./loadImage-
|
|
18
|
-
import { t as ne } from "./scheduler-
|
|
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-
|
|
20
|
-
import { a as _n, d as vn, l as z, r as yn, t as bn, u as B } from "./store-
|
|
21
|
-
import { n as xn, t as Sn } from "./event-scoped-cache-
|
|
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";
|
|
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-
|
|
7985
|
+
return Lp != null || (Lp = import("./DebugTools-ipof0w8h.js")), Lp;
|
|
7986
7986
|
}
|
|
7987
7987
|
async function Ip() {
|
|
7988
7988
|
await Fp();
|
|
7989
7989
|
}
|
|
7990
|
-
var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-
|
|
7990
|
+
var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-ipof0w8h.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());
|
|
@@ -19770,16 +19770,22 @@ function sk(e, t) {
|
|
|
19770
19770
|
return tk(t, n.rotation) ? (n.rotate(nk(n.rotation) - n.rotation, n), !0) : !1;
|
|
19771
19771
|
}
|
|
19772
19772
|
function ck(e) {
|
|
19773
|
-
return e.onRoll = ({ roll: t }) =>
|
|
19773
|
+
return e.onRoll = ({ roll: t }) => uk(e, t) ? [e] : void 0, e;
|
|
19774
19774
|
}
|
|
19775
|
-
function lk(e
|
|
19775
|
+
function lk(e) {
|
|
19776
|
+
return e.onRoll = ({ roll: t }) => {
|
|
19777
|
+
let { bounds: n } = e;
|
|
19778
|
+
if (t !== n.rotation) return n.set(n.center.x, n.center.y, n.size.x, n.size.y, t, n.elevation), [e];
|
|
19779
|
+
}, e;
|
|
19780
|
+
}
|
|
19781
|
+
function uk(e, t) {
|
|
19776
19782
|
let n = e.bounds, r = ek(t, n.rotation);
|
|
19777
19783
|
return r === 0 ? !1 : (n.rotate(r * Math.PI / 2, n), !0);
|
|
19778
19784
|
}
|
|
19779
19785
|
//#endregion
|
|
19780
19786
|
//#region src/store/BoothStore.ts
|
|
19781
|
-
var
|
|
19782
|
-
function
|
|
19787
|
+
var dk, fk, pk, mk, hk, gk, _k, vk, yk, bk, xk, Sk, Ck, wk, Tk, Ek, Dk, Ok;
|
|
19788
|
+
function kk(e, t, n, r) {
|
|
19783
19789
|
n && Object.defineProperty(e, t, {
|
|
19784
19790
|
enumerable: n.enumerable,
|
|
19785
19791
|
configurable: n.configurable,
|
|
@@ -19787,7 +19793,7 @@ function Ok(e, t, n, r) {
|
|
|
19787
19793
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
19788
19794
|
});
|
|
19789
19795
|
}
|
|
19790
|
-
function
|
|
19796
|
+
function Ak(e, t, n, r, i) {
|
|
19791
19797
|
var a = {};
|
|
19792
19798
|
return Object.keys(r).forEach(function(e) {
|
|
19793
19799
|
a[e] = r[e];
|
|
@@ -19795,7 +19801,7 @@ function kk(e, t, n, r, i) {
|
|
|
19795
19801
|
return r(e, t, n) || n;
|
|
19796
19802
|
}, 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;
|
|
19797
19803
|
}
|
|
19798
|
-
var
|
|
19804
|
+
var jk = (xk = E({ keepAlive: !0 }), Sk = E({ keepAlive: !0 }), Ck = E({ keepAlive: !0 }), wk = E({ keepAlive: !0 }), Tk = E({ keepAlive: !0 }), Ek = class {
|
|
19799
19805
|
get boothById() {
|
|
19800
19806
|
return new Map(this.booths.map((e) => [e.id, e]));
|
|
19801
19807
|
}
|
|
@@ -19815,7 +19821,7 @@ var Ak = (bk = E({ keepAlive: !0 }), xk = E({ keepAlive: !0 }), Sk = E({ keepAli
|
|
|
19815
19821
|
return e.reduce((e, t) => e + t, 0) / e.length / 80;
|
|
19816
19822
|
}
|
|
19817
19823
|
constructor(e) {
|
|
19818
|
-
this.rootStore = void 0,
|
|
19824
|
+
this.rootStore = void 0, kk(this, "booths", Dk, this), kk(this, "highlightedByExternalIds", Ok, this), this.rootStore = e;
|
|
19819
19825
|
}
|
|
19820
19826
|
get bookmarked() {
|
|
19821
19827
|
return this.booths.filter((e) => e.bookmarkedDirectly);
|
|
@@ -19839,23 +19845,23 @@ var Ak = (bk = E({ keepAlive: !0 }), xk = E({ keepAlive: !0 }), Sk = E({ keepAli
|
|
|
19839
19845
|
for (let e of r) e.bookmarkedDirectly = !1;
|
|
19840
19846
|
for (let e of t) e.bookmarkedDirectly = !0;
|
|
19841
19847
|
}
|
|
19842
|
-
},
|
|
19848
|
+
}, Dk = Ak(Ek.prototype, "booths", [D], {
|
|
19843
19849
|
configurable: !0,
|
|
19844
19850
|
enumerable: !0,
|
|
19845
19851
|
writable: !0,
|
|
19846
19852
|
initializer: function() {
|
|
19847
19853
|
return [];
|
|
19848
19854
|
}
|
|
19849
|
-
}),
|
|
19855
|
+
}), Ok = Ak(Ek.prototype, "highlightedByExternalIds", [D], {
|
|
19850
19856
|
configurable: !0,
|
|
19851
19857
|
enumerable: !0,
|
|
19852
19858
|
writable: !0,
|
|
19853
19859
|
initializer: function() {
|
|
19854
19860
|
return [];
|
|
19855
19861
|
}
|
|
19856
|
-
}),
|
|
19862
|
+
}), Ak(Ek.prototype, "boothById", [xk], Object.getOwnPropertyDescriptor(Ek.prototype, "boothById"), Ek.prototype), Ak(Ek.prototype, "boothByExternalId", [Sk], Object.getOwnPropertyDescriptor(Ek.prototype, "boothByExternalId"), Ek.prototype), Ak(Ek.prototype, "boothByName", [Ck], Object.getOwnPropertyDescriptor(Ek.prototype, "boothByName"), Ek.prototype), Ak(Ek.prototype, "boothBySlug", [wk], Object.getOwnPropertyDescriptor(Ek.prototype, "boothBySlug"), Ek.prototype), Ak(Ek.prototype, "borderWidth", [Tk], Object.getOwnPropertyDescriptor(Ek.prototype, "borderWidth"), Ek.prototype), Ak(Ek.prototype, "bookmarked", [E], Object.getOwnPropertyDescriptor(Ek.prototype, "bookmarked"), Ek.prototype), Ak(Ek.prototype, "replaceBookmarked", [A], Object.getOwnPropertyDescriptor(Ek.prototype, "replaceBookmarked"), Ek.prototype), Ek), Mk = (dk = E({ keepAlive: !0 }), fk = E({ keepAlive: !0 }), pk = E({ keepAlive: !0 }), mk = E({ keepAlive: !0 }), hk = E({ keepAlive: !0 }), gk = E({ keepAlive: !0 }), _k = E({ keepAlive: !0 }), vk = class {
|
|
19857
19863
|
constructor() {
|
|
19858
|
-
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, this.title = void 0, this.rect = void 0, this.borderWidth = void 0, this.borderColor = void 0, this.noLabels = void 0, this.rotate = void 0, this.elevation = void 0, this.paths = void 0, this.pathsWithRect = void 0, this.slug = void 0, this.error = void 0, this.description = void 0, this.exhibitors = void 0, this.labelColor = void 0, this.schedule = void 0, this.poiTypeId = void 0, this.poiType = void 0, this.poiIcon = void 0, this.meta = void 0,
|
|
19864
|
+
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, this.title = void 0, this.rect = void 0, this.borderWidth = void 0, this.borderColor = void 0, this.noLabels = void 0, this.rotate = void 0, this.elevation = void 0, this.paths = void 0, this.pathsWithRect = void 0, this.slug = void 0, this.error = void 0, this.description = void 0, this.exhibitors = void 0, this.labelColor = void 0, this.schedule = void 0, this.poiTypeId = void 0, this.poiType = void 0, this.poiIcon = void 0, this.meta = void 0, kk(this, "layer", yk, this), kk(this, "bookmarkedDirectly", bk, this);
|
|
19859
19865
|
}
|
|
19860
19866
|
get bookmarked() {
|
|
19861
19867
|
var e;
|
|
@@ -19881,44 +19887,44 @@ var Ak = (bk = E({ keepAlive: !0 }), xk = E({ keepAlive: !0 }), Sk = E({ keepAli
|
|
|
19881
19887
|
get skipDim() {
|
|
19882
19888
|
return this.uiState.highlightedBooths.has(this.id.toString());
|
|
19883
19889
|
}
|
|
19884
|
-
},
|
|
19890
|
+
}, yk = Ak(vk.prototype, "layer", [D], {
|
|
19885
19891
|
configurable: !0,
|
|
19886
19892
|
enumerable: !0,
|
|
19887
19893
|
writable: !0,
|
|
19888
19894
|
initializer: null
|
|
19889
|
-
}),
|
|
19895
|
+
}), bk = Ak(vk.prototype, "bookmarkedDirectly", [D], {
|
|
19890
19896
|
configurable: !0,
|
|
19891
19897
|
enumerable: !0,
|
|
19892
19898
|
writable: !0,
|
|
19893
19899
|
initializer: function() {
|
|
19894
19900
|
return !1;
|
|
19895
19901
|
}
|
|
19896
|
-
}),
|
|
19902
|
+
}), Ak(vk.prototype, "bookmarked", [dk], Object.getOwnPropertyDescriptor(vk.prototype, "bookmarked"), vk.prototype), Ak(vk.prototype, "uiState", [fk], Object.getOwnPropertyDescriptor(vk.prototype, "uiState"), vk.prototype), Ak(vk.prototype, "fullName", [pk], Object.getOwnPropertyDescriptor(vk.prototype, "fullName"), vk.prototype), Ak(vk.prototype, "visible", [mk], Object.getOwnPropertyDescriptor(vk.prototype, "visible"), vk.prototype), Ak(vk.prototype, "hover", [hk], Object.getOwnPropertyDescriptor(vk.prototype, "hover"), vk.prototype), Ak(vk.prototype, "selected", [gk], Object.getOwnPropertyDescriptor(vk.prototype, "selected"), vk.prototype), Ak(vk.prototype, "skipDim", [_k], Object.getOwnPropertyDescriptor(vk.prototype, "skipDim"), vk.prototype), vk), Nk = class extends Mk {
|
|
19897
19903
|
constructor(...e) {
|
|
19898
19904
|
super(...e), this.buyUrl = void 0, this.reserveUrl = void 0, this.type = void 0, this.status = void 0, this.price = void 0, this.entity = {
|
|
19899
19905
|
type: "booth",
|
|
19900
19906
|
variant: "regular"
|
|
19901
19907
|
}, this.size = void 0, this.availColor = void 0, this.soldColor = void 0, this.holdColor = void 0, this.onHold = void 0, this.reserved = void 0, this.shapes = void 0;
|
|
19902
19908
|
}
|
|
19903
|
-
},
|
|
19909
|
+
}, Pk = class extends Mk {
|
|
19904
19910
|
constructor(...e) {
|
|
19905
19911
|
super(...e), this.color = void 0, this.shapes = void 0, this.entity = {
|
|
19906
19912
|
type: "booth",
|
|
19907
19913
|
variant: "special"
|
|
19908
19914
|
};
|
|
19909
19915
|
}
|
|
19910
|
-
},
|
|
19911
|
-
function
|
|
19916
|
+
}, Fk = `${p}fonts/oswald-v17-cyrillic_latin-500.woff`, Ik = `${p}fonts/oswald-v17-cyrillic_latin-300.woff`;
|
|
19917
|
+
function Lk() {
|
|
19912
19918
|
var e;
|
|
19913
19919
|
let t = n();
|
|
19914
19920
|
return (e = t.customCssFonts) != null && e.length ? t.customCssFonts : [];
|
|
19915
19921
|
}
|
|
19916
19922
|
//#endregion
|
|
19917
19923
|
//#region src/engine/defs.ts
|
|
19918
|
-
function Lk(e, t) {
|
|
19919
|
-
return zk(sr.fromSvg(e), t);
|
|
19920
|
-
}
|
|
19921
19924
|
function Rk(e, t) {
|
|
19925
|
+
return Bk(sr.fromSvg(e), t);
|
|
19926
|
+
}
|
|
19927
|
+
function zk(e, t) {
|
|
19922
19928
|
if (!e) throw Error("Create ShapeDef: mesh is not provided");
|
|
19923
19929
|
let n = e.positions.map((e) => {
|
|
19924
19930
|
var t;
|
|
@@ -19928,16 +19934,16 @@ function Rk(e, t) {
|
|
|
19928
19934
|
z: (t = e[2]) == null ? 0 : t
|
|
19929
19935
|
};
|
|
19930
19936
|
}), r = e.cells;
|
|
19931
|
-
return
|
|
19937
|
+
return Bk(new Ln(n, r), t);
|
|
19932
19938
|
}
|
|
19933
|
-
function
|
|
19939
|
+
function Bk(e, t = "#000") {
|
|
19934
19940
|
if (!e || !(vr(e) || yr(e) || br(e) || xr(e))) throw Error("Invalid shape definition");
|
|
19935
19941
|
return {
|
|
19936
19942
|
shape: e,
|
|
19937
19943
|
color: t
|
|
19938
19944
|
};
|
|
19939
19945
|
}
|
|
19940
|
-
function
|
|
19946
|
+
function Vk(e, t, n) {
|
|
19941
19947
|
if (!e) throw Error("Image source is not provided");
|
|
19942
19948
|
return {
|
|
19943
19949
|
source: e,
|
|
@@ -19945,7 +19951,7 @@ function Bk(e, t, n) {
|
|
|
19945
19951
|
...n
|
|
19946
19952
|
};
|
|
19947
19953
|
}
|
|
19948
|
-
function
|
|
19954
|
+
function Hk(e, t, n, r, i) {
|
|
19949
19955
|
if (e.length === 0) throw Error("Invalid text lines");
|
|
19950
19956
|
return {
|
|
19951
19957
|
lines: e,
|
|
@@ -19955,21 +19961,21 @@ function Vk(e, t, n, r, i) {
|
|
|
19955
19961
|
...i
|
|
19956
19962
|
};
|
|
19957
19963
|
}
|
|
19958
|
-
function
|
|
19964
|
+
function Uk(e, t, n, r = [void 0, void 0]) {
|
|
19959
19965
|
let [i, a] = e, o = [{
|
|
19960
19966
|
text: i.join("\n"),
|
|
19961
|
-
fontUrl: r[0] ||
|
|
19967
|
+
fontUrl: r[0] || Fk,
|
|
19962
19968
|
color: t,
|
|
19963
19969
|
fontSize: n
|
|
19964
19970
|
}];
|
|
19965
19971
|
return a.length && o.push({
|
|
19966
19972
|
text: a.join("\n"),
|
|
19967
|
-
fontUrl: r[1] ||
|
|
19973
|
+
fontUrl: r[1] || Ik,
|
|
19968
19974
|
color: t,
|
|
19969
19975
|
fontSize: n
|
|
19970
19976
|
}), o;
|
|
19971
19977
|
}
|
|
19972
|
-
function
|
|
19978
|
+
function Wk(e, t, n) {
|
|
19973
19979
|
if (!e) throw Error("Layer name is required");
|
|
19974
19980
|
return t || (t = []), {
|
|
19975
19981
|
name: e,
|
|
@@ -19977,28 +19983,28 @@ function Uk(e, t, n) {
|
|
|
19977
19983
|
...n
|
|
19978
19984
|
};
|
|
19979
19985
|
}
|
|
19980
|
-
function
|
|
19986
|
+
function Gk(e, t, n) {
|
|
19981
19987
|
let r = t instanceof sr ? t : sr.fromSvg(t);
|
|
19982
19988
|
return {
|
|
19983
|
-
rootLayer:
|
|
19989
|
+
rootLayer: Wk("root", e),
|
|
19984
19990
|
background: n,
|
|
19985
19991
|
viewbox: r
|
|
19986
19992
|
};
|
|
19987
19993
|
}
|
|
19988
|
-
function
|
|
19994
|
+
function Kk(e, t = "#000", n = qk) {
|
|
19989
19995
|
let r = fo(n, t), i = uo(n);
|
|
19990
|
-
return
|
|
19996
|
+
return Vk(r, new Yn(e.center, {
|
|
19991
19997
|
x: i,
|
|
19992
19998
|
y: i
|
|
19993
19999
|
}, e.rotation, e.elevation));
|
|
19994
20000
|
}
|
|
19995
|
-
var
|
|
19996
|
-
function
|
|
19997
|
-
return ++
|
|
20001
|
+
var qk = 1.5, Jk = uo(qk), Yk = 1e6;
|
|
20002
|
+
function Xk() {
|
|
20003
|
+
return ++Yk;
|
|
19998
20004
|
}
|
|
19999
20005
|
//#endregion
|
|
20000
20006
|
//#region src/tools/slug.ts
|
|
20001
|
-
var
|
|
20007
|
+
var Zk = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
20002
20008
|
(function(n, r, i) {
|
|
20003
20009
|
typeof e == "object" ? (t.exports = i(), t.exports.default = i()) : typeof define == "function" && define.amd ? define(i) : r[n] = i();
|
|
20004
20010
|
})("slugify", e, function() {
|
|
@@ -20016,9 +20022,9 @@ var Xk = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
20016
20022
|
Object.assign(e, t);
|
|
20017
20023
|
}, n;
|
|
20018
20024
|
});
|
|
20019
|
-
})))(), 1),
|
|
20020
|
-
function
|
|
20021
|
-
let t =
|
|
20025
|
+
})))(), 1), Qk = xn(() => /* @__PURE__ */ new Set());
|
|
20026
|
+
function $k(e) {
|
|
20027
|
+
let t = Qk(), n = 0, r = (0, Zk.default)(e, {
|
|
20022
20028
|
remove: /[*+~.()'"!:@]/g,
|
|
20023
20029
|
lower: !0
|
|
20024
20030
|
}), i;
|
|
@@ -20029,7 +20035,7 @@ function Qk(e) {
|
|
|
20029
20035
|
}
|
|
20030
20036
|
//#endregion
|
|
20031
20037
|
//#region src/utils/urlEncoding.ts
|
|
20032
|
-
function
|
|
20038
|
+
function eA(e) {
|
|
20033
20039
|
if (!e || e.length === 0) return "";
|
|
20034
20040
|
let t = e.map((e) => encodeURIComponent(e.trim())).join(",");
|
|
20035
20041
|
return w.log("URLEncoding: encoding string array:", {
|
|
@@ -20037,7 +20043,7 @@ function $k(e) {
|
|
|
20037
20043
|
encoded: t
|
|
20038
20044
|
}), t;
|
|
20039
20045
|
}
|
|
20040
|
-
function
|
|
20046
|
+
function tA(e) {
|
|
20041
20047
|
if (!e) return [];
|
|
20042
20048
|
try {
|
|
20043
20049
|
let t = e.split(",").map((e) => decodeURIComponent(e.trim())).filter(Boolean);
|
|
@@ -20049,7 +20055,7 @@ function eA(e) {
|
|
|
20049
20055
|
return w.warn("URLEncoding: failed to decode string array:", e, t), [];
|
|
20050
20056
|
}
|
|
20051
20057
|
}
|
|
20052
|
-
function
|
|
20058
|
+
function nA(e) {
|
|
20053
20059
|
if (!e) return null;
|
|
20054
20060
|
let t = encodeURIComponent(e.trim());
|
|
20055
20061
|
return w.log("URLEncoding: encoding string:", {
|
|
@@ -20057,7 +20063,7 @@ function tA(e) {
|
|
|
20057
20063
|
encoded: t
|
|
20058
20064
|
}), t;
|
|
20059
20065
|
}
|
|
20060
|
-
function
|
|
20066
|
+
function rA(e) {
|
|
20061
20067
|
if (!e) return null;
|
|
20062
20068
|
try {
|
|
20063
20069
|
let t = decodeURIComponent(e.trim());
|
|
@@ -20069,47 +20075,47 @@ function nA(e) {
|
|
|
20069
20075
|
return w.warn("URLEncoding: failed to decode string:", e, t), null;
|
|
20070
20076
|
}
|
|
20071
20077
|
}
|
|
20072
|
-
function
|
|
20078
|
+
function iA(e) {
|
|
20073
20079
|
return e.map((e) => e.toLowerCase());
|
|
20074
20080
|
}
|
|
20075
|
-
function
|
|
20081
|
+
function aA(e) {
|
|
20076
20082
|
return e ? e.toLowerCase() : null;
|
|
20077
20083
|
}
|
|
20078
20084
|
//#endregion
|
|
20079
20085
|
//#region src/utils/index.ts
|
|
20080
|
-
function
|
|
20086
|
+
function oA(e) {
|
|
20081
20087
|
return e * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
20082
20088
|
}
|
|
20083
|
-
function
|
|
20089
|
+
function sA(e, t) {
|
|
20084
20090
|
let n = [];
|
|
20085
20091
|
for (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));
|
|
20086
20092
|
return n;
|
|
20087
20093
|
}
|
|
20088
|
-
function
|
|
20094
|
+
function cA(e) {
|
|
20089
20095
|
e.sort(function(e, t) {
|
|
20090
20096
|
var n = e.name.toLowerCase(), r = t.name.toLowerCase();
|
|
20091
20097
|
return n < r ? -1 : +(n > r);
|
|
20092
20098
|
});
|
|
20093
20099
|
}
|
|
20094
|
-
var
|
|
20095
|
-
if (!
|
|
20100
|
+
var lA = document.createElement("canvas"), uA = !!(lA.getContext("webgl") || lA.getContext("experimental-webgl"));
|
|
20101
|
+
if (!uA) {
|
|
20096
20102
|
let e = document.createElement("div");
|
|
20097
20103
|
e.innerHTML = "<!--no webgl-->", document.body.appendChild(e);
|
|
20098
20104
|
}
|
|
20099
|
-
function
|
|
20105
|
+
function dA(e) {
|
|
20100
20106
|
for (var t = e.length, n, r; t !== 0;) r = Math.floor(Math.random() * t), --t, n = e[t], e[t] = e[r], e[r] = n;
|
|
20101
20107
|
return e;
|
|
20102
20108
|
}
|
|
20103
20109
|
//#endregion
|
|
20104
20110
|
//#region src/utils/entity-storage.ts
|
|
20105
|
-
var
|
|
20106
|
-
function
|
|
20111
|
+
var fA = Sn();
|
|
20112
|
+
function pA(e) {
|
|
20107
20113
|
return `${qa.EXPO}-${e}`;
|
|
20108
20114
|
}
|
|
20109
|
-
function
|
|
20115
|
+
function mA(e) {
|
|
20110
20116
|
return e;
|
|
20111
20117
|
}
|
|
20112
|
-
function
|
|
20118
|
+
function hA(e) {
|
|
20113
20119
|
return e === "bookmarked" ? {
|
|
20114
20120
|
exhibitors: [],
|
|
20115
20121
|
events: [],
|
|
@@ -20120,8 +20126,8 @@ function mA(e) {
|
|
|
20120
20126
|
events: []
|
|
20121
20127
|
};
|
|
20122
20128
|
}
|
|
20123
|
-
function
|
|
20124
|
-
if (typeof t != "object" || !t) return w.log(`Invalid ${e} data in localStorage - using defaults`),
|
|
20129
|
+
function gA(e, t) {
|
|
20130
|
+
if (typeof t != "object" || !t) return w.log(`Invalid ${e} data in localStorage - using defaults`), hA(e);
|
|
20125
20131
|
if (Array.isArray(t)) {
|
|
20126
20132
|
let n = e === "bookmarked" ? {
|
|
20127
20133
|
exhibitors: t,
|
|
@@ -20132,39 +20138,39 @@ function hA(e, t) {
|
|
|
20132
20138
|
exhibitors: t,
|
|
20133
20139
|
events: []
|
|
20134
20140
|
};
|
|
20135
|
-
return w.log(`Migrated ${e} data from array to object format`),
|
|
20141
|
+
return w.log(`Migrated ${e} data from array to object format`), vA(e, n), n;
|
|
20136
20142
|
}
|
|
20137
20143
|
if (e === "bookmarked") {
|
|
20138
20144
|
let n = t, r = { ...n };
|
|
20139
|
-
return "speakers" in r || (r.speakers = []), "booths" in r || (r.booths = []), (!n.speakers || !n.booths) && (w.log(`Migrated ${e} data (added speakers or booths field)`),
|
|
20145
|
+
return "speakers" in r || (r.speakers = []), "booths" in r || (r.booths = []), (!n.speakers || !n.booths) && (w.log(`Migrated ${e} data (added speakers or booths field)`), vA(e, r)), r;
|
|
20140
20146
|
}
|
|
20141
|
-
return e === "visited" ? t : (w.log(`Unsupported ${e} data format - using defaults`),
|
|
20147
|
+
return e === "visited" ? t : (w.log(`Unsupported ${e} data format - using defaults`), hA(e));
|
|
20142
20148
|
}
|
|
20143
|
-
function
|
|
20144
|
-
let t =
|
|
20149
|
+
function _A(e) {
|
|
20150
|
+
let t = fA().get(e);
|
|
20145
20151
|
if (t) return t;
|
|
20146
|
-
let n =
|
|
20147
|
-
if (!m) return w.warn(`localStorage unavailable — using default for ${e}`),
|
|
20148
|
-
let r =
|
|
20152
|
+
let n = hA(e);
|
|
20153
|
+
if (!m) return w.warn(`localStorage unavailable — using default for ${e}`), fA().set(e, n), n;
|
|
20154
|
+
let r = pA(e), i = mA(e), a = null;
|
|
20149
20155
|
try {
|
|
20150
20156
|
var o;
|
|
20151
20157
|
a = (o = localStorage.getItem(r)) == null ? localStorage.getItem(i) : o;
|
|
20152
20158
|
} catch (t) {
|
|
20153
20159
|
w.warn(`localStorage access error for ${e}`, t);
|
|
20154
20160
|
}
|
|
20155
|
-
if (!a) return
|
|
20161
|
+
if (!a) return fA().set(e, n), n;
|
|
20156
20162
|
try {
|
|
20157
|
-
let t =
|
|
20158
|
-
return
|
|
20163
|
+
let t = gA(e, JSON.parse(a));
|
|
20164
|
+
return fA().set(e, t), t;
|
|
20159
20165
|
} catch (t) {
|
|
20160
|
-
return w.error(`Error parsing ${e} data`, t),
|
|
20166
|
+
return w.error(`Error parsing ${e} data`, t), fA().set(e, n), n;
|
|
20161
20167
|
}
|
|
20162
20168
|
}
|
|
20163
|
-
function
|
|
20169
|
+
function vA(e, t) {
|
|
20164
20170
|
if (!m) return;
|
|
20165
|
-
let n =
|
|
20171
|
+
let n = pA(e);
|
|
20166
20172
|
try {
|
|
20167
|
-
localStorage.setItem(n, JSON.stringify(t)),
|
|
20173
|
+
localStorage.setItem(n, JSON.stringify(t)), fA().set(e, t);
|
|
20168
20174
|
let r = {
|
|
20169
20175
|
exhibitors: t.exhibitors.length,
|
|
20170
20176
|
events: t.events.length
|
|
@@ -20176,25 +20182,25 @@ function _A(e, t) {
|
|
|
20176
20182
|
}
|
|
20177
20183
|
//#endregion
|
|
20178
20184
|
//#region src/utils/plan-reactions.ts
|
|
20179
|
-
function
|
|
20185
|
+
function yA(...e) {
|
|
20180
20186
|
S(ee(...e));
|
|
20181
20187
|
}
|
|
20182
|
-
function
|
|
20188
|
+
function bA(e, t, n) {
|
|
20183
20189
|
S(k(e, t, n));
|
|
20184
20190
|
}
|
|
20185
|
-
function
|
|
20191
|
+
function xA(e, t, n) {
|
|
20186
20192
|
S(O(e, t, n));
|
|
20187
20193
|
}
|
|
20188
20194
|
//#endregion
|
|
20189
20195
|
//#region src/store/init/init-booths.ts
|
|
20190
|
-
var
|
|
20191
|
-
function
|
|
20192
|
-
|
|
20196
|
+
var SA = /* @__PURE__ */ e(Vo(), 1), CA = Sn();
|
|
20197
|
+
function wA(e) {
|
|
20198
|
+
CA().clear();
|
|
20193
20199
|
let t = [];
|
|
20194
20200
|
for (let r of Er.booths || []) {
|
|
20195
20201
|
var n;
|
|
20196
|
-
let { text: i, meta: a } = ja(r.name), o = r.special ? new
|
|
20197
|
-
Object.assign(o, r), o.meta = a, o.slug =
|
|
20202
|
+
let { text: i, meta: a } = ja(r.name), o = r.special ? new Pk() : new Nk();
|
|
20203
|
+
Object.assign(o, r), o.meta = a, o.slug = $k(o.name), CA().set(o.name.toLowerCase(), o), DA(o);
|
|
20198
20204
|
let s = o;
|
|
20199
20205
|
s.exhibitors = [];
|
|
20200
20206
|
for (let t of (n = r.exhibitors) == null ? [] : n) {
|
|
@@ -20207,17 +20213,17 @@ function CA(e) {
|
|
|
20207
20213
|
sensitivity: "base",
|
|
20208
20214
|
numeric: !0
|
|
20209
20215
|
}));
|
|
20210
|
-
for (let t of e.exhibitorStore.exhibitors)
|
|
20211
|
-
e.boothStore.booths = t, w.log("initBooths", e.boothStore.booths.length),
|
|
20216
|
+
for (let t of e.exhibitorStore.exhibitors) cA(t.booths);
|
|
20217
|
+
e.boothStore.booths = t, w.log("initBooths", e.boothStore.booths.length), TA(e);
|
|
20212
20218
|
}
|
|
20213
|
-
function
|
|
20214
|
-
let t = (
|
|
20219
|
+
function TA(e) {
|
|
20220
|
+
let t = (_A("bookmarked").booths || []).filter((t) => {
|
|
20215
20221
|
let n = e.boothStore.boothById.get(t);
|
|
20216
20222
|
return n && n.exhibitors.length === 0;
|
|
20217
20223
|
});
|
|
20218
|
-
e.boothStore.replaceBookmarked(t),
|
|
20219
|
-
let t =
|
|
20220
|
-
|
|
20224
|
+
e.boothStore.replaceBookmarked(t), yA(() => {
|
|
20225
|
+
let t = _A("bookmarked"), n = e.boothStore.booths.filter((e) => e.exhibitors.length === 0 && e.bookmarkedDirectly).map((e) => e.id);
|
|
20226
|
+
vA("bookmarked", {
|
|
20221
20227
|
exhibitors: t.exhibitors,
|
|
20222
20228
|
events: t.events,
|
|
20223
20229
|
speakers: t.speakers,
|
|
@@ -20225,7 +20231,7 @@ function wA(e) {
|
|
|
20225
20231
|
});
|
|
20226
20232
|
});
|
|
20227
20233
|
}
|
|
20228
|
-
function
|
|
20234
|
+
function EA(e, t) {
|
|
20229
20235
|
let n = t.name, { boothStore: r, layerStore: i } = e, a = [], o = Ja(), s = Aa(Va(t)).selectAll(`[data-layer='${n}'] > [data-tagname='efp-booth'], [data-layer='${n}'] > g[id^=b], [data-layer='${n}'] > rect[id^=b]`).nodes();
|
|
20230
20236
|
for (let t of s) {
|
|
20231
20237
|
var c;
|
|
@@ -20238,10 +20244,10 @@ function TA(e, t) {
|
|
|
20238
20244
|
w.error("SVG booth element has neither id nor data-name:", t);
|
|
20239
20245
|
continue;
|
|
20240
20246
|
}
|
|
20241
|
-
let h = m.substring(1).toLowerCase(), g =
|
|
20242
|
-
if (g ? a.push(g) : (w.error("SVG booth rect not found in the event data:", h), g = _ = new
|
|
20247
|
+
let h = m.substring(1).toLowerCase(), g = CA().get(h), _ = g instanceof Nk ? g : null, v = g instanceof Pk ? g : null;
|
|
20248
|
+
if (g ? a.push(g) : (w.error("SVG booth rect not found in the event data:", h), g = _ = new Nk(), g.id = Xk(), g.name = h.toUpperCase(), g.slug = $k(h), g.error = !0, g.exhibitors = [], CA().set(h, g), a.push(g)), g.layer = o ? i.layers.find((e) => e.name === s) : null, g.borderColor = (f == null ? void 0 : f.getAttribute("stroke")) || (f == null ? void 0 : f.style.stroke) || qa.boothBorderColor || "#FFFFFF", g.borderWidth = parseFloat((f == null ? void 0 : f.getAttribute("stroke-width")) || (f == null ? void 0 : f.style.strokeWidth)), isNaN(g.borderWidth) && (g.borderWidth = r.borderWidth), !B.heatmap) g.labelColor = f == null ? void 0 : f.getAttribute("data-label-color");
|
|
20243
20249
|
else {
|
|
20244
|
-
let t = e.heatmapStore.getTotalClicksByBooth(g), n = (0,
|
|
20250
|
+
let t = e.heatmapStore.getTotalClicksByBooth(g), n = (0, SA.default)(e.heatmapStore.getColorByClicks(t));
|
|
20245
20251
|
g.labelColor = n.darken(.3).isLight() ? "#555" : "#fff";
|
|
20246
20252
|
}
|
|
20247
20253
|
if (g.rect = f ? sr.fromSvg(f) : null, g.elevation = parseFloat((c = f == null ? void 0 : f.dataset.elev) == null ? "" : c) || 0, g.noLabels = !!(f != null && f.dataset.nolabel) || (f == null ? void 0 : f.id.startsWith("no")), _) _.availColor = t.getAttribute("data-avail-color") || (f == null ? void 0 : f.getAttribute("data-avail-color")) || _.availColor, _.soldColor = t.getAttribute("data-sold-color") || (f == null ? void 0 : f.getAttribute("data-sold-color")) || _.soldColor, _.holdColor = t.getAttribute("data-hold-color") || (f == null ? void 0 : f.getAttribute("data-hold-color")) || _.holdColor, _.size = Er.dimensionless ? null : _.size || t.getAttribute("data-size"), _.status === "reserved" ? _.reserved = !0 : _.status === "onhold" && (_.onHold = !0);
|
|
@@ -20298,23 +20304,23 @@ function TA(e, t) {
|
|
|
20298
20304
|
for (let e of f) e.store = r;
|
|
20299
20305
|
return f;
|
|
20300
20306
|
}
|
|
20301
|
-
function
|
|
20302
|
-
qa.EXPO === "cbresupplypartner" && e instanceof
|
|
20307
|
+
function DA(e) {
|
|
20308
|
+
qa.EXPO === "cbresupplypartner" && e instanceof Nk && !e.availColor && e.type && (e.type.indexOf("Premium A - 2m height restriction Passport") === -1 ? e.type.indexOf("No free-standing") === -1 ? e.type.endsWith("Passport") ? e.availColor = "#939393" : e.type.startsWith("Premium A - 2m") ? e.availColor = "#FF9E4E" : e.type.startsWith("Premium A - 4m") ? e.availColor = "#EA4335" : e.type.startsWith("Premium B - 2m") ? e.availColor = "#523BC0" : e.type.startsWith("Premium C - 2.4m") && (e.availColor = "#3ECC78") : e.availColor = "#BA3DC8" : e.availColor = "#939393");
|
|
20303
20309
|
}
|
|
20304
20310
|
//#endregion
|
|
20305
20311
|
//#region ../../node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.js
|
|
20306
|
-
var
|
|
20307
|
-
function
|
|
20312
|
+
var OA = { value: () => {} };
|
|
20313
|
+
function kA() {
|
|
20308
20314
|
for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
|
|
20309
20315
|
if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
|
|
20310
20316
|
n[r] = [];
|
|
20311
20317
|
}
|
|
20312
|
-
return new
|
|
20318
|
+
return new AA(n);
|
|
20313
20319
|
}
|
|
20314
|
-
function
|
|
20320
|
+
function AA(e) {
|
|
20315
20321
|
this._ = e;
|
|
20316
20322
|
}
|
|
20317
|
-
function
|
|
20323
|
+
function jA(e, t) {
|
|
20318
20324
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
20319
20325
|
var n = "", r = e.indexOf(".");
|
|
20320
20326
|
if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
@@ -20324,23 +20330,23 @@ function AA(e, t) {
|
|
|
20324
20330
|
};
|
|
20325
20331
|
});
|
|
20326
20332
|
}
|
|
20327
|
-
|
|
20328
|
-
constructor:
|
|
20333
|
+
AA.prototype = kA.prototype = {
|
|
20334
|
+
constructor: AA,
|
|
20329
20335
|
on: function(e, t) {
|
|
20330
|
-
var n = this._, r =
|
|
20336
|
+
var n = this._, r = jA(e + "", n), i, a = -1, o = r.length;
|
|
20331
20337
|
if (arguments.length < 2) {
|
|
20332
|
-
for (; ++a < o;) if ((i = (e = r[a]).type) && (i =
|
|
20338
|
+
for (; ++a < o;) if ((i = (e = r[a]).type) && (i = MA(n[i], e.name))) return i;
|
|
20333
20339
|
return;
|
|
20334
20340
|
}
|
|
20335
20341
|
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
20336
|
-
for (; ++a < o;) if (i = (e = r[a]).type) n[i] =
|
|
20337
|
-
else if (t == null) for (i in n) n[i] =
|
|
20342
|
+
for (; ++a < o;) if (i = (e = r[a]).type) n[i] = NA(n[i], e.name, t);
|
|
20343
|
+
else if (t == null) for (i in n) n[i] = NA(n[i], e.name, null);
|
|
20338
20344
|
return this;
|
|
20339
20345
|
},
|
|
20340
20346
|
copy: function() {
|
|
20341
20347
|
var e = {}, t = this._;
|
|
20342
20348
|
for (var n in t) e[n] = t[n].slice();
|
|
20343
|
-
return new
|
|
20349
|
+
return new AA(e);
|
|
20344
20350
|
},
|
|
20345
20351
|
call: function(e, t) {
|
|
20346
20352
|
if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
|
|
@@ -20352,12 +20358,12 @@ kA.prototype = OA.prototype = {
|
|
|
20352
20358
|
for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
|
|
20353
20359
|
}
|
|
20354
20360
|
};
|
|
20355
|
-
function
|
|
20361
|
+
function MA(e, t) {
|
|
20356
20362
|
for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
|
|
20357
20363
|
}
|
|
20358
|
-
function
|
|
20364
|
+
function NA(e, t, n) {
|
|
20359
20365
|
for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
|
|
20360
|
-
e[r] =
|
|
20366
|
+
e[r] = OA, e = e.slice(0, r).concat(e.slice(r + 1));
|
|
20361
20367
|
break;
|
|
20362
20368
|
}
|
|
20363
20369
|
return n != null && e.push({
|
|
@@ -20367,18 +20373,18 @@ function MA(e, t, n) {
|
|
|
20367
20373
|
}
|
|
20368
20374
|
//#endregion
|
|
20369
20375
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
|
|
20370
|
-
function
|
|
20376
|
+
function PA(e, t, n) {
|
|
20371
20377
|
e.prototype = t.prototype = n, n.constructor = e;
|
|
20372
20378
|
}
|
|
20373
|
-
function
|
|
20379
|
+
function FA(e, t) {
|
|
20374
20380
|
var n = Object.create(e.prototype);
|
|
20375
20381
|
for (var r in t) n[r] = t[r];
|
|
20376
20382
|
return n;
|
|
20377
20383
|
}
|
|
20378
20384
|
//#endregion
|
|
20379
20385
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
|
|
20380
|
-
function
|
|
20381
|
-
var
|
|
20386
|
+
function IA() {}
|
|
20387
|
+
var LA = .7, RA = 1 / LA, zA = "\\s*([+-]?\\d+)\\s*", BA = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", VA = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", HA = /^#([0-9a-f]{3,8})$/, UA = RegExp(`^rgb\\(${zA},${zA},${zA}\\)$`), WA = RegExp(`^rgb\\(${VA},${VA},${VA}\\)$`), GA = RegExp(`^rgba\\(${zA},${zA},${zA},${BA}\\)$`), KA = RegExp(`^rgba\\(${VA},${VA},${VA},${BA}\\)$`), qA = RegExp(`^hsl\\(${BA},${VA},${VA}\\)$`), JA = RegExp(`^hsla\\(${BA},${VA},${VA},${BA}\\)$`), YA = {
|
|
20382
20388
|
aliceblue: 15792383,
|
|
20383
20389
|
antiquewhite: 16444375,
|
|
20384
20390
|
aqua: 65535,
|
|
@@ -20528,170 +20534,170 @@ var IA = .7, LA = 1 / IA, RA = "\\s*([+-]?\\d+)\\s*", zA = "\\s*([+-]?(?:\\d*\\.
|
|
|
20528
20534
|
yellow: 16776960,
|
|
20529
20535
|
yellowgreen: 10145074
|
|
20530
20536
|
};
|
|
20531
|
-
|
|
20537
|
+
PA(IA, ej, {
|
|
20532
20538
|
copy(e) {
|
|
20533
20539
|
return Object.assign(new this.constructor(), this, e);
|
|
20534
20540
|
},
|
|
20535
20541
|
displayable() {
|
|
20536
20542
|
return this.rgb().displayable();
|
|
20537
20543
|
},
|
|
20538
|
-
hex:
|
|
20539
|
-
formatHex:
|
|
20540
|
-
formatHex8:
|
|
20541
|
-
formatHsl:
|
|
20542
|
-
formatRgb:
|
|
20543
|
-
toString:
|
|
20544
|
+
hex: XA,
|
|
20545
|
+
formatHex: XA,
|
|
20546
|
+
formatHex8: ZA,
|
|
20547
|
+
formatHsl: QA,
|
|
20548
|
+
formatRgb: $A,
|
|
20549
|
+
toString: $A
|
|
20544
20550
|
});
|
|
20545
|
-
function YA() {
|
|
20546
|
-
return this.rgb().formatHex();
|
|
20547
|
-
}
|
|
20548
20551
|
function XA() {
|
|
20549
|
-
return this.rgb().
|
|
20552
|
+
return this.rgb().formatHex();
|
|
20550
20553
|
}
|
|
20551
20554
|
function ZA() {
|
|
20552
|
-
return
|
|
20555
|
+
return this.rgb().formatHex8();
|
|
20553
20556
|
}
|
|
20554
20557
|
function QA() {
|
|
20555
|
-
return this
|
|
20558
|
+
return pj(this).formatHsl();
|
|
20556
20559
|
}
|
|
20557
|
-
function $A(
|
|
20558
|
-
|
|
20559
|
-
return e = (e + "").trim().toLowerCase(), (t = VA.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ej(t) : n === 3 ? new ij(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? tj(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? tj(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = HA.exec(e)) ? new ij(t[1], t[2], t[3], 1) : (t = UA.exec(e)) ? new ij(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = WA.exec(e)) ? tj(t[1], t[2], t[3], t[4]) : (t = GA.exec(e)) ? tj(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = KA.exec(e)) ? dj(t[1], t[2] / 100, t[3] / 100, 1) : (t = qA.exec(e)) ? dj(t[1], t[2] / 100, t[3] / 100, t[4]) : JA.hasOwnProperty(e) ? ej(JA[e]) : e === "transparent" ? new ij(NaN, NaN, NaN, 0) : null;
|
|
20560
|
+
function $A() {
|
|
20561
|
+
return this.rgb().formatRgb();
|
|
20560
20562
|
}
|
|
20561
20563
|
function ej(e) {
|
|
20562
|
-
|
|
20564
|
+
var t, n;
|
|
20565
|
+
return e = (e + "").trim().toLowerCase(), (t = HA.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? tj(t) : n === 3 ? new aj(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? nj(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? nj(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = UA.exec(e)) ? new aj(t[1], t[2], t[3], 1) : (t = WA.exec(e)) ? new aj(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = GA.exec(e)) ? nj(t[1], t[2], t[3], t[4]) : (t = KA.exec(e)) ? nj(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = qA.exec(e)) ? fj(t[1], t[2] / 100, t[3] / 100, 1) : (t = JA.exec(e)) ? fj(t[1], t[2] / 100, t[3] / 100, t[4]) : YA.hasOwnProperty(e) ? tj(YA[e]) : e === "transparent" ? new aj(NaN, NaN, NaN, 0) : null;
|
|
20563
20566
|
}
|
|
20564
|
-
function tj(e
|
|
20565
|
-
return
|
|
20567
|
+
function tj(e) {
|
|
20568
|
+
return new aj(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
20566
20569
|
}
|
|
20567
|
-
function nj(e) {
|
|
20568
|
-
return
|
|
20570
|
+
function nj(e, t, n, r) {
|
|
20571
|
+
return r <= 0 && (e = t = n = NaN), new aj(e, t, n, r);
|
|
20569
20572
|
}
|
|
20570
|
-
function rj(e
|
|
20571
|
-
return
|
|
20573
|
+
function rj(e) {
|
|
20574
|
+
return e instanceof IA || (e = ej(e)), e ? (e = e.rgb(), new aj(e.r, e.g, e.b, e.opacity)) : new aj();
|
|
20572
20575
|
}
|
|
20573
20576
|
function ij(e, t, n, r) {
|
|
20577
|
+
return arguments.length === 1 ? rj(e) : new aj(e, t, n, r == null ? 1 : r);
|
|
20578
|
+
}
|
|
20579
|
+
function aj(e, t, n, r) {
|
|
20574
20580
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
20575
20581
|
}
|
|
20576
|
-
|
|
20582
|
+
PA(aj, ij, FA(IA, {
|
|
20577
20583
|
brighter(e) {
|
|
20578
|
-
return e = e == null ?
|
|
20584
|
+
return e = e == null ? RA : RA ** +e, new aj(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
20579
20585
|
},
|
|
20580
20586
|
darker(e) {
|
|
20581
|
-
return e = e == null ?
|
|
20587
|
+
return e = e == null ? LA : LA ** +e, new aj(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
20582
20588
|
},
|
|
20583
20589
|
rgb() {
|
|
20584
20590
|
return this;
|
|
20585
20591
|
},
|
|
20586
20592
|
clamp() {
|
|
20587
|
-
return new
|
|
20593
|
+
return new aj(uj(this.r), uj(this.g), uj(this.b), lj(this.opacity));
|
|
20588
20594
|
},
|
|
20589
20595
|
displayable() {
|
|
20590
20596
|
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
20591
20597
|
},
|
|
20592
|
-
hex:
|
|
20593
|
-
formatHex:
|
|
20594
|
-
formatHex8:
|
|
20595
|
-
formatRgb:
|
|
20596
|
-
toString:
|
|
20598
|
+
hex: oj,
|
|
20599
|
+
formatHex: oj,
|
|
20600
|
+
formatHex8: sj,
|
|
20601
|
+
formatRgb: cj,
|
|
20602
|
+
toString: cj
|
|
20597
20603
|
}));
|
|
20598
|
-
function aj() {
|
|
20599
|
-
return `#${uj(this.r)}${uj(this.g)}${uj(this.b)}`;
|
|
20600
|
-
}
|
|
20601
20604
|
function oj() {
|
|
20602
|
-
return `#${
|
|
20605
|
+
return `#${dj(this.r)}${dj(this.g)}${dj(this.b)}`;
|
|
20603
20606
|
}
|
|
20604
20607
|
function sj() {
|
|
20605
|
-
|
|
20606
|
-
return `${e === 1 ? "rgb(" : "rgba("}${lj(this.r)}, ${lj(this.g)}, ${lj(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
20608
|
+
return `#${dj(this.r)}${dj(this.g)}${dj(this.b)}${dj((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
20607
20609
|
}
|
|
20608
|
-
function cj(
|
|
20609
|
-
|
|
20610
|
+
function cj() {
|
|
20611
|
+
let e = lj(this.opacity);
|
|
20612
|
+
return `${e === 1 ? "rgb(" : "rgba("}${uj(this.r)}, ${uj(this.g)}, ${uj(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
20610
20613
|
}
|
|
20611
20614
|
function lj(e) {
|
|
20612
|
-
return Math.max(0, Math.min(
|
|
20615
|
+
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
20613
20616
|
}
|
|
20614
20617
|
function uj(e) {
|
|
20615
|
-
return
|
|
20618
|
+
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
20616
20619
|
}
|
|
20617
|
-
function dj(e
|
|
20618
|
-
return
|
|
20620
|
+
function dj(e) {
|
|
20621
|
+
return e = uj(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
20619
20622
|
}
|
|
20620
|
-
function fj(e) {
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20623
|
+
function fj(e, t, n, r) {
|
|
20624
|
+
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new hj(e, t, n, r);
|
|
20625
|
+
}
|
|
20626
|
+
function pj(e) {
|
|
20627
|
+
if (e instanceof hj) return new hj(e.h, e.s, e.l, e.opacity);
|
|
20628
|
+
if (e instanceof IA || (e = ej(e)), !e) return new hj();
|
|
20629
|
+
if (e instanceof hj) return e;
|
|
20624
20630
|
e = e.rgb();
|
|
20625
20631
|
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
|
|
20626
|
-
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new
|
|
20627
|
-
}
|
|
20628
|
-
function pj(e, t, n, r) {
|
|
20629
|
-
return arguments.length === 1 ? fj(e) : new mj(e, t, n, r == null ? 1 : r);
|
|
20632
|
+
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new hj(o, s, c, e.opacity);
|
|
20630
20633
|
}
|
|
20631
20634
|
function mj(e, t, n, r) {
|
|
20635
|
+
return arguments.length === 1 ? pj(e) : new hj(e, t, n, r == null ? 1 : r);
|
|
20636
|
+
}
|
|
20637
|
+
function hj(e, t, n, r) {
|
|
20632
20638
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
20633
20639
|
}
|
|
20634
|
-
|
|
20640
|
+
PA(hj, mj, FA(IA, {
|
|
20635
20641
|
brighter(e) {
|
|
20636
|
-
return e = e == null ?
|
|
20642
|
+
return e = e == null ? RA : RA ** +e, new hj(this.h, this.s, this.l * e, this.opacity);
|
|
20637
20643
|
},
|
|
20638
20644
|
darker(e) {
|
|
20639
|
-
return e = e == null ?
|
|
20645
|
+
return e = e == null ? LA : LA ** +e, new hj(this.h, this.s, this.l * e, this.opacity);
|
|
20640
20646
|
},
|
|
20641
20647
|
rgb() {
|
|
20642
20648
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
20643
|
-
return new
|
|
20649
|
+
return new aj(vj(e >= 240 ? e - 240 : e + 120, i, r), vj(e, i, r), vj(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
|
|
20644
20650
|
},
|
|
20645
20651
|
clamp() {
|
|
20646
|
-
return new
|
|
20652
|
+
return new hj(gj(this.h), _j(this.s), _j(this.l), lj(this.opacity));
|
|
20647
20653
|
},
|
|
20648
20654
|
displayable() {
|
|
20649
20655
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
20650
20656
|
},
|
|
20651
20657
|
formatHsl() {
|
|
20652
|
-
let e =
|
|
20653
|
-
return `${e === 1 ? "hsl(" : "hsla("}${
|
|
20658
|
+
let e = lj(this.opacity);
|
|
20659
|
+
return `${e === 1 ? "hsl(" : "hsla("}${gj(this.h)}, ${_j(this.s) * 100}%, ${_j(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
20654
20660
|
}
|
|
20655
20661
|
}));
|
|
20656
|
-
function
|
|
20662
|
+
function gj(e) {
|
|
20657
20663
|
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
20658
20664
|
}
|
|
20659
|
-
function
|
|
20665
|
+
function _j(e) {
|
|
20660
20666
|
return Math.max(0, Math.min(1, e || 0));
|
|
20661
20667
|
}
|
|
20662
|
-
function
|
|
20668
|
+
function vj(e, t, n) {
|
|
20663
20669
|
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
|
|
20664
20670
|
}
|
|
20665
20671
|
//#endregion
|
|
20666
20672
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js
|
|
20667
|
-
var
|
|
20673
|
+
var yj = (e) => () => e;
|
|
20668
20674
|
//#endregion
|
|
20669
20675
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js
|
|
20670
|
-
function
|
|
20676
|
+
function bj(e, t) {
|
|
20671
20677
|
return function(n) {
|
|
20672
20678
|
return e + n * t;
|
|
20673
20679
|
};
|
|
20674
20680
|
}
|
|
20675
|
-
function
|
|
20681
|
+
function xj(e, t, n) {
|
|
20676
20682
|
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
|
|
20677
20683
|
return (e + r * t) ** +n;
|
|
20678
20684
|
};
|
|
20679
20685
|
}
|
|
20680
|
-
function
|
|
20681
|
-
return (e = +e) == 1 ?
|
|
20682
|
-
return n - t ?
|
|
20686
|
+
function Sj(e) {
|
|
20687
|
+
return (e = +e) == 1 ? Cj : function(t, n) {
|
|
20688
|
+
return n - t ? xj(t, n, e) : yj(isNaN(t) ? n : t);
|
|
20683
20689
|
};
|
|
20684
20690
|
}
|
|
20685
|
-
function
|
|
20691
|
+
function Cj(e, t) {
|
|
20686
20692
|
var n = t - e;
|
|
20687
|
-
return n ?
|
|
20693
|
+
return n ? bj(e, n) : yj(isNaN(e) ? t : e);
|
|
20688
20694
|
}
|
|
20689
20695
|
//#endregion
|
|
20690
20696
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
|
|
20691
|
-
var
|
|
20692
|
-
var n =
|
|
20697
|
+
var wj = (function e(t) {
|
|
20698
|
+
var n = Sj(t);
|
|
20693
20699
|
function r(e, t) {
|
|
20694
|
-
var r = n((e =
|
|
20700
|
+
var r = n((e = ij(e)).r, (t = ij(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = Cj(e.opacity, t.opacity);
|
|
20695
20701
|
return function(t) {
|
|
20696
20702
|
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
|
|
20697
20703
|
};
|
|
@@ -20700,38 +20706,38 @@ var Cj = (function e(t) {
|
|
|
20700
20706
|
})(1);
|
|
20701
20707
|
//#endregion
|
|
20702
20708
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
|
|
20703
|
-
function
|
|
20709
|
+
function Tj(e, t) {
|
|
20704
20710
|
return e = +e, t = +t, function(n) {
|
|
20705
20711
|
return e * (1 - n) + t * n;
|
|
20706
20712
|
};
|
|
20707
20713
|
}
|
|
20708
20714
|
//#endregion
|
|
20709
20715
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js
|
|
20710
|
-
var
|
|
20711
|
-
function
|
|
20716
|
+
var Ej = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Dj = new RegExp(Ej.source, "g");
|
|
20717
|
+
function Oj(e) {
|
|
20712
20718
|
return function() {
|
|
20713
20719
|
return e;
|
|
20714
20720
|
};
|
|
20715
20721
|
}
|
|
20716
|
-
function
|
|
20722
|
+
function kj(e) {
|
|
20717
20723
|
return function(t) {
|
|
20718
20724
|
return e(t) + "";
|
|
20719
20725
|
};
|
|
20720
20726
|
}
|
|
20721
|
-
function
|
|
20722
|
-
var n =
|
|
20723
|
-
for (e += "", t += ""; (r =
|
|
20727
|
+
function Aj(e, t) {
|
|
20728
|
+
var n = Ej.lastIndex = Dj.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
|
|
20729
|
+
for (e += "", t += ""; (r = Ej.exec(e)) && (i = Dj.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
|
|
20724
20730
|
i: o,
|
|
20725
|
-
x:
|
|
20726
|
-
})), n =
|
|
20727
|
-
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ?
|
|
20731
|
+
x: Tj(r, i)
|
|
20732
|
+
})), n = Dj.lastIndex;
|
|
20733
|
+
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? kj(c[0].x) : Oj(t) : (t = c.length, function(e) {
|
|
20728
20734
|
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
|
|
20729
20735
|
return s.join("");
|
|
20730
20736
|
});
|
|
20731
20737
|
}
|
|
20732
20738
|
//#endregion
|
|
20733
20739
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.js
|
|
20734
|
-
var
|
|
20740
|
+
var jj = 180 / Math.PI, Mj = {
|
|
20735
20741
|
translateX: 0,
|
|
20736
20742
|
translateY: 0,
|
|
20737
20743
|
rotate: 0,
|
|
@@ -20739,30 +20745,30 @@ var Aj = 180 / Math.PI, jj = {
|
|
|
20739
20745
|
scaleX: 1,
|
|
20740
20746
|
scaleY: 1
|
|
20741
20747
|
};
|
|
20742
|
-
function
|
|
20748
|
+
function Nj(e, t, n, r, i, a) {
|
|
20743
20749
|
var o, s, c;
|
|
20744
20750
|
return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
|
|
20745
20751
|
translateX: i,
|
|
20746
20752
|
translateY: a,
|
|
20747
|
-
rotate: Math.atan2(t, e) *
|
|
20748
|
-
skewX: Math.atan(c) *
|
|
20753
|
+
rotate: Math.atan2(t, e) * jj,
|
|
20754
|
+
skewX: Math.atan(c) * jj,
|
|
20749
20755
|
scaleX: o,
|
|
20750
20756
|
scaleY: s
|
|
20751
20757
|
};
|
|
20752
20758
|
}
|
|
20753
20759
|
//#endregion
|
|
20754
20760
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.js
|
|
20755
|
-
var
|
|
20756
|
-
function
|
|
20761
|
+
var Pj;
|
|
20762
|
+
function Fj(e) {
|
|
20757
20763
|
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
20758
|
-
return t.isIdentity ?
|
|
20764
|
+
return t.isIdentity ? Mj : Nj(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
20759
20765
|
}
|
|
20760
|
-
function
|
|
20761
|
-
return e == null || (
|
|
20766
|
+
function Ij(e) {
|
|
20767
|
+
return e == null || (Pj || (Pj = document.createElementNS("http://www.w3.org/2000/svg", "g")), Pj.setAttribute("transform", e), !(e = Pj.transform.baseVal.consolidate())) ? Mj : (e = e.matrix, Nj(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
20762
20768
|
}
|
|
20763
20769
|
//#endregion
|
|
20764
20770
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js
|
|
20765
|
-
function
|
|
20771
|
+
function Lj(e, t, n, r) {
|
|
20766
20772
|
function i(e) {
|
|
20767
20773
|
return e.length ? e.pop() + " " : "";
|
|
20768
20774
|
}
|
|
@@ -20771,23 +20777,23 @@ function Ij(e, t, n, r) {
|
|
|
20771
20777
|
var c = o.push("translate(", null, t, null, n);
|
|
20772
20778
|
s.push({
|
|
20773
20779
|
i: c - 4,
|
|
20774
|
-
x:
|
|
20780
|
+
x: Tj(e, i)
|
|
20775
20781
|
}, {
|
|
20776
20782
|
i: c - 2,
|
|
20777
|
-
x:
|
|
20783
|
+
x: Tj(r, a)
|
|
20778
20784
|
});
|
|
20779
20785
|
} else (i || a) && o.push("translate(" + i + t + a + n);
|
|
20780
20786
|
}
|
|
20781
20787
|
function o(e, t, n, a) {
|
|
20782
20788
|
e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
|
|
20783
20789
|
i: n.push(i(n) + "rotate(", null, r) - 2,
|
|
20784
|
-
x:
|
|
20790
|
+
x: Tj(e, t)
|
|
20785
20791
|
}));
|
|
20786
20792
|
}
|
|
20787
20793
|
function s(e, t, n, a) {
|
|
20788
20794
|
e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
|
|
20789
20795
|
i: n.push(i(n) + "skewX(", null, r) - 2,
|
|
20790
|
-
x:
|
|
20796
|
+
x: Tj(e, t)
|
|
20791
20797
|
});
|
|
20792
20798
|
}
|
|
20793
20799
|
function c(e, t, n, r, a, o) {
|
|
@@ -20795,10 +20801,10 @@ function Ij(e, t, n, r) {
|
|
|
20795
20801
|
var s = a.push(i(a) + "scale(", null, ",", null, ")");
|
|
20796
20802
|
o.push({
|
|
20797
20803
|
i: s - 4,
|
|
20798
|
-
x:
|
|
20804
|
+
x: Tj(e, n)
|
|
20799
20805
|
}, {
|
|
20800
20806
|
i: s - 2,
|
|
20801
|
-
x:
|
|
20807
|
+
x: Tj(t, r)
|
|
20802
20808
|
});
|
|
20803
20809
|
} else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
|
|
20804
20810
|
}
|
|
@@ -20810,77 +20816,77 @@ function Ij(e, t, n, r) {
|
|
|
20810
20816
|
};
|
|
20811
20817
|
};
|
|
20812
20818
|
}
|
|
20813
|
-
var
|
|
20819
|
+
var Rj = Lj(Fj, "px, ", "px)", "deg)"), zj = Lj(Ij, ", ", ")", ")"), Bj = 0, Vj = 0, Hj = 0, Uj = 1e3, Wj, Gj, Kj = 0, qj = 0, Jj = 0, Yj = typeof performance == "object" && performance.now ? performance : Date, Xj = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
20814
20820
|
setTimeout(e, 17);
|
|
20815
20821
|
};
|
|
20816
|
-
function Xj() {
|
|
20817
|
-
return Kj || (Yj(Zj), Kj = Jj.now() + qj);
|
|
20818
|
-
}
|
|
20819
20822
|
function Zj() {
|
|
20820
|
-
|
|
20823
|
+
return qj || (Xj(Qj), qj = Yj.now() + Jj);
|
|
20821
20824
|
}
|
|
20822
20825
|
function Qj() {
|
|
20826
|
+
qj = 0;
|
|
20827
|
+
}
|
|
20828
|
+
function $j() {
|
|
20823
20829
|
this._call = this._time = this._next = null;
|
|
20824
20830
|
}
|
|
20825
|
-
|
|
20826
|
-
constructor:
|
|
20831
|
+
$j.prototype = eM.prototype = {
|
|
20832
|
+
constructor: $j,
|
|
20827
20833
|
restart: function(e, t, n) {
|
|
20828
20834
|
if (typeof e != "function") throw TypeError("callback is not a function");
|
|
20829
|
-
n = (n == null ?
|
|
20835
|
+
n = (n == null ? Zj() : +n) + (t == null ? 0 : +t), !this._next && Gj !== this && (Gj ? Gj._next = this : Wj = this, Gj = this), this._call = e, this._time = n, aM();
|
|
20830
20836
|
},
|
|
20831
20837
|
stop: function() {
|
|
20832
|
-
this._call && (this._call = null, this._time = Infinity,
|
|
20838
|
+
this._call && (this._call = null, this._time = Infinity, aM());
|
|
20833
20839
|
}
|
|
20834
20840
|
};
|
|
20835
|
-
function
|
|
20836
|
-
var r = new
|
|
20841
|
+
function eM(e, t, n) {
|
|
20842
|
+
var r = new $j();
|
|
20837
20843
|
return r.restart(e, t, n), r;
|
|
20838
20844
|
}
|
|
20839
|
-
function eM() {
|
|
20840
|
-
Xj(), ++zj;
|
|
20841
|
-
for (var e = Uj, t; e;) (t = Kj - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
20842
|
-
--zj;
|
|
20843
|
-
}
|
|
20844
20845
|
function tM() {
|
|
20845
|
-
|
|
20846
|
+
Zj(), ++Bj;
|
|
20847
|
+
for (var e = Wj, t; e;) (t = qj - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
20848
|
+
--Bj;
|
|
20849
|
+
}
|
|
20850
|
+
function nM() {
|
|
20851
|
+
qj = (Kj = Yj.now()) + Jj, Bj = Vj = 0;
|
|
20846
20852
|
try {
|
|
20847
|
-
|
|
20853
|
+
tM();
|
|
20848
20854
|
} finally {
|
|
20849
|
-
|
|
20855
|
+
Bj = 0, iM(), qj = 0;
|
|
20850
20856
|
}
|
|
20851
20857
|
}
|
|
20852
|
-
function nM() {
|
|
20853
|
-
var e = Jj.now(), t = e - Gj;
|
|
20854
|
-
t > Hj && (qj -= t, Gj = e);
|
|
20855
|
-
}
|
|
20856
20858
|
function rM() {
|
|
20857
|
-
|
|
20858
|
-
|
|
20859
|
+
var e = Yj.now(), t = e - Kj;
|
|
20860
|
+
t > Uj && (Jj -= t, Kj = e);
|
|
20861
|
+
}
|
|
20862
|
+
function iM() {
|
|
20863
|
+
for (var e, t = Wj, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Wj = n);
|
|
20864
|
+
Gj = e, aM(r);
|
|
20859
20865
|
}
|
|
20860
|
-
function
|
|
20861
|
-
|
|
20866
|
+
function aM(e) {
|
|
20867
|
+
Bj || (Vj && (Vj = clearTimeout(Vj)), e - qj > 24 ? (e < Infinity && (Vj = setTimeout(nM, e - Yj.now() - Jj)), Hj && (Hj = clearInterval(Hj))) : (Hj || (Kj = Yj.now(), Hj = setInterval(rM, Uj)), Bj = 1, Xj(nM)));
|
|
20862
20868
|
}
|
|
20863
20869
|
//#endregion
|
|
20864
20870
|
//#region ../../node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.js
|
|
20865
|
-
function
|
|
20866
|
-
var r = new
|
|
20871
|
+
function oM(e, t, n) {
|
|
20872
|
+
var r = new $j();
|
|
20867
20873
|
return t = t == null ? 0 : +t, r.restart((n) => {
|
|
20868
20874
|
r.stop(), e(n + t);
|
|
20869
20875
|
}, t, n), r;
|
|
20870
20876
|
}
|
|
20871
20877
|
//#endregion
|
|
20872
20878
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js
|
|
20873
|
-
var
|
|
20874
|
-
function
|
|
20879
|
+
var sM = kA("start", "end", "cancel", "interrupt"), cM = [];
|
|
20880
|
+
function lM(e, t, n, r, i, a) {
|
|
20875
20881
|
var o = e.__transition;
|
|
20876
20882
|
if (!o) e.__transition = {};
|
|
20877
20883
|
else if (n in o) return;
|
|
20878
|
-
|
|
20884
|
+
pM(e, n, {
|
|
20879
20885
|
name: t,
|
|
20880
20886
|
index: r,
|
|
20881
20887
|
group: i,
|
|
20882
|
-
on:
|
|
20883
|
-
tween:
|
|
20888
|
+
on: sM,
|
|
20889
|
+
tween: cM,
|
|
20884
20890
|
time: a.time,
|
|
20885
20891
|
delay: a.delay,
|
|
20886
20892
|
duration: a.duration,
|
|
@@ -20889,24 +20895,24 @@ function cM(e, t, n, r, i, a) {
|
|
|
20889
20895
|
state: 0
|
|
20890
20896
|
});
|
|
20891
20897
|
}
|
|
20892
|
-
function
|
|
20893
|
-
var n =
|
|
20898
|
+
function uM(e, t) {
|
|
20899
|
+
var n = fM(e, t);
|
|
20894
20900
|
if (n.state > 0) throw Error("too late; already scheduled");
|
|
20895
20901
|
return n;
|
|
20896
20902
|
}
|
|
20897
|
-
function
|
|
20898
|
-
var n =
|
|
20903
|
+
function dM(e, t) {
|
|
20904
|
+
var n = fM(e, t);
|
|
20899
20905
|
if (n.state > 3) throw Error("too late; already running");
|
|
20900
20906
|
return n;
|
|
20901
20907
|
}
|
|
20902
|
-
function
|
|
20908
|
+
function fM(e, t) {
|
|
20903
20909
|
var n = e.__transition;
|
|
20904
20910
|
if (!n || !(n = n[t])) throw Error("transition not found");
|
|
20905
20911
|
return n;
|
|
20906
20912
|
}
|
|
20907
|
-
function
|
|
20913
|
+
function pM(e, t, n) {
|
|
20908
20914
|
var r = e.__transition, i;
|
|
20909
|
-
r[t] = n, n.timer =
|
|
20915
|
+
r[t] = n, n.timer = eM(a, 0, n.time);
|
|
20910
20916
|
function a(e) {
|
|
20911
20917
|
n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
|
|
20912
20918
|
}
|
|
@@ -20914,10 +20920,10 @@ function fM(e, t, n) {
|
|
|
20914
20920
|
var l, u, d, f;
|
|
20915
20921
|
if (n.state !== 1) return c();
|
|
20916
20922
|
for (l in r) if (f = r[l], f.name === n.name) {
|
|
20917
|
-
if (f.state === 3) return
|
|
20923
|
+
if (f.state === 3) return oM(o);
|
|
20918
20924
|
f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
|
|
20919
20925
|
}
|
|
20920
|
-
if (
|
|
20926
|
+
if (oM(function() {
|
|
20921
20927
|
n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
|
|
20922
20928
|
}), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
|
|
20923
20929
|
for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
|
|
@@ -20935,7 +20941,7 @@ function fM(e, t, n) {
|
|
|
20935
20941
|
}
|
|
20936
20942
|
//#endregion
|
|
20937
20943
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.js
|
|
20938
|
-
function
|
|
20944
|
+
function mM(e, t) {
|
|
20939
20945
|
var n = e.__transition, r, i, a = !0, o;
|
|
20940
20946
|
if (n) {
|
|
20941
20947
|
for (o in t = t == null ? null : t + "", n) {
|
|
@@ -20950,17 +20956,17 @@ function pM(e, t) {
|
|
|
20950
20956
|
}
|
|
20951
20957
|
//#endregion
|
|
20952
20958
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.js
|
|
20953
|
-
function
|
|
20959
|
+
function hM(e) {
|
|
20954
20960
|
return this.each(function() {
|
|
20955
|
-
|
|
20961
|
+
mM(this, e);
|
|
20956
20962
|
});
|
|
20957
20963
|
}
|
|
20958
20964
|
//#endregion
|
|
20959
20965
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.js
|
|
20960
|
-
function
|
|
20966
|
+
function gM(e, t) {
|
|
20961
20967
|
var n, r;
|
|
20962
20968
|
return function() {
|
|
20963
|
-
var i =
|
|
20969
|
+
var i = dM(this, e), a = i.tween;
|
|
20964
20970
|
if (a !== n) {
|
|
20965
20971
|
r = n = a;
|
|
20966
20972
|
for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
|
|
@@ -20971,11 +20977,11 @@ function hM(e, t) {
|
|
|
20971
20977
|
i.tween = r;
|
|
20972
20978
|
};
|
|
20973
20979
|
}
|
|
20974
|
-
function
|
|
20980
|
+
function _M(e, t, n) {
|
|
20975
20981
|
var r, i;
|
|
20976
20982
|
if (typeof n != "function") throw Error();
|
|
20977
20983
|
return function() {
|
|
20978
|
-
var a =
|
|
20984
|
+
var a = dM(this, e), o = a.tween;
|
|
20979
20985
|
if (o !== r) {
|
|
20980
20986
|
i = (r = o).slice();
|
|
20981
20987
|
for (var s = {
|
|
@@ -20990,442 +20996,442 @@ function gM(e, t, n) {
|
|
|
20990
20996
|
a.tween = i;
|
|
20991
20997
|
};
|
|
20992
20998
|
}
|
|
20993
|
-
function
|
|
20999
|
+
function vM(e, t) {
|
|
20994
21000
|
var n = this._id;
|
|
20995
21001
|
if (e += "", arguments.length < 2) {
|
|
20996
|
-
for (var r =
|
|
21002
|
+
for (var r = fM(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
|
|
20997
21003
|
return null;
|
|
20998
21004
|
}
|
|
20999
|
-
return this.each((t == null ?
|
|
21005
|
+
return this.each((t == null ? gM : _M)(n, e, t));
|
|
21000
21006
|
}
|
|
21001
|
-
function
|
|
21007
|
+
function yM(e, t, n) {
|
|
21002
21008
|
var r = e._id;
|
|
21003
21009
|
return e.each(function() {
|
|
21004
|
-
var e =
|
|
21010
|
+
var e = dM(this, r);
|
|
21005
21011
|
(e.value || (e.value = {}))[t] = n.apply(this, arguments);
|
|
21006
21012
|
}), function(e) {
|
|
21007
|
-
return
|
|
21013
|
+
return fM(e, r).value[t];
|
|
21008
21014
|
};
|
|
21009
21015
|
}
|
|
21010
21016
|
//#endregion
|
|
21011
21017
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.js
|
|
21012
|
-
function
|
|
21018
|
+
function bM(e, t) {
|
|
21013
21019
|
var n;
|
|
21014
|
-
return (typeof t == "number" ?
|
|
21020
|
+
return (typeof t == "number" ? Tj : t instanceof ej ? wj : (n = ej(t)) ? (t = n, wj) : Aj)(e, t);
|
|
21015
21021
|
}
|
|
21016
21022
|
//#endregion
|
|
21017
21023
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.js
|
|
21018
|
-
function
|
|
21024
|
+
function xM(e) {
|
|
21019
21025
|
return function() {
|
|
21020
21026
|
this.removeAttribute(e);
|
|
21021
21027
|
};
|
|
21022
21028
|
}
|
|
21023
|
-
function
|
|
21029
|
+
function SM(e) {
|
|
21024
21030
|
return function() {
|
|
21025
21031
|
this.removeAttributeNS(e.space, e.local);
|
|
21026
21032
|
};
|
|
21027
21033
|
}
|
|
21028
|
-
function
|
|
21034
|
+
function CM(e, t, n) {
|
|
21029
21035
|
var r, i = n + "", a;
|
|
21030
21036
|
return function() {
|
|
21031
21037
|
var o = this.getAttribute(e);
|
|
21032
21038
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
21033
21039
|
};
|
|
21034
21040
|
}
|
|
21035
|
-
function
|
|
21041
|
+
function wM(e, t, n) {
|
|
21036
21042
|
var r, i = n + "", a;
|
|
21037
21043
|
return function() {
|
|
21038
21044
|
var o = this.getAttributeNS(e.space, e.local);
|
|
21039
21045
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
21040
21046
|
};
|
|
21041
21047
|
}
|
|
21042
|
-
function
|
|
21048
|
+
function TM(e, t, n) {
|
|
21043
21049
|
var r, i, a;
|
|
21044
21050
|
return function() {
|
|
21045
21051
|
var o, s = n(this), c;
|
|
21046
21052
|
return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
21047
21053
|
};
|
|
21048
21054
|
}
|
|
21049
|
-
function
|
|
21055
|
+
function EM(e, t, n) {
|
|
21050
21056
|
var r, i, a;
|
|
21051
21057
|
return function() {
|
|
21052
21058
|
var o, s = n(this), c;
|
|
21053
21059
|
return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
21054
21060
|
};
|
|
21055
21061
|
}
|
|
21056
|
-
function
|
|
21057
|
-
var n = Nr(e), r = n === "transform" ?
|
|
21058
|
-
return this.attrTween(e, typeof t == "function" ? (n.local ?
|
|
21062
|
+
function DM(e, t) {
|
|
21063
|
+
var n = Nr(e), r = n === "transform" ? zj : bM;
|
|
21064
|
+
return this.attrTween(e, typeof t == "function" ? (n.local ? EM : TM)(n, r, yM(this, "attr." + e, t)) : t == null ? (n.local ? SM : xM)(n) : (n.local ? wM : CM)(n, r, t));
|
|
21059
21065
|
}
|
|
21060
21066
|
//#endregion
|
|
21061
21067
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.js
|
|
21062
|
-
function
|
|
21068
|
+
function OM(e, t) {
|
|
21063
21069
|
return function(n) {
|
|
21064
21070
|
this.setAttribute(e, t.call(this, n));
|
|
21065
21071
|
};
|
|
21066
21072
|
}
|
|
21067
|
-
function
|
|
21073
|
+
function kM(e, t) {
|
|
21068
21074
|
return function(n) {
|
|
21069
21075
|
this.setAttributeNS(e.space, e.local, t.call(this, n));
|
|
21070
21076
|
};
|
|
21071
21077
|
}
|
|
21072
|
-
function
|
|
21078
|
+
function AM(e, t) {
|
|
21073
21079
|
var n, r;
|
|
21074
21080
|
function i() {
|
|
21075
21081
|
var i = t.apply(this, arguments);
|
|
21076
|
-
return i !== r && (n = (r = i) &&
|
|
21082
|
+
return i !== r && (n = (r = i) && kM(e, i)), n;
|
|
21077
21083
|
}
|
|
21078
21084
|
return i._value = t, i;
|
|
21079
21085
|
}
|
|
21080
|
-
function
|
|
21086
|
+
function jM(e, t) {
|
|
21081
21087
|
var n, r;
|
|
21082
21088
|
function i() {
|
|
21083
21089
|
var i = t.apply(this, arguments);
|
|
21084
|
-
return i !== r && (n = (r = i) &&
|
|
21090
|
+
return i !== r && (n = (r = i) && OM(e, i)), n;
|
|
21085
21091
|
}
|
|
21086
21092
|
return i._value = t, i;
|
|
21087
21093
|
}
|
|
21088
|
-
function
|
|
21094
|
+
function MM(e, t) {
|
|
21089
21095
|
var n = "attr." + e;
|
|
21090
21096
|
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
21091
21097
|
if (t == null) return this.tween(n, null);
|
|
21092
21098
|
if (typeof t != "function") throw Error();
|
|
21093
21099
|
var r = Nr(e);
|
|
21094
|
-
return this.tween(n, (r.local ?
|
|
21100
|
+
return this.tween(n, (r.local ? AM : jM)(r, t));
|
|
21095
21101
|
}
|
|
21096
21102
|
//#endregion
|
|
21097
21103
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.js
|
|
21098
|
-
function
|
|
21104
|
+
function NM(e, t) {
|
|
21099
21105
|
return function() {
|
|
21100
|
-
|
|
21106
|
+
uM(this, e).delay = +t.apply(this, arguments);
|
|
21101
21107
|
};
|
|
21102
21108
|
}
|
|
21103
|
-
function
|
|
21109
|
+
function PM(e, t) {
|
|
21104
21110
|
return t = +t, function() {
|
|
21105
|
-
|
|
21111
|
+
uM(this, e).delay = t;
|
|
21106
21112
|
};
|
|
21107
21113
|
}
|
|
21108
|
-
function
|
|
21114
|
+
function FM(e) {
|
|
21109
21115
|
var t = this._id;
|
|
21110
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
21116
|
+
return arguments.length ? this.each((typeof e == "function" ? NM : PM)(t, e)) : fM(this.node(), t).delay;
|
|
21111
21117
|
}
|
|
21112
21118
|
//#endregion
|
|
21113
21119
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.js
|
|
21114
|
-
function
|
|
21120
|
+
function IM(e, t) {
|
|
21115
21121
|
return function() {
|
|
21116
|
-
|
|
21122
|
+
dM(this, e).duration = +t.apply(this, arguments);
|
|
21117
21123
|
};
|
|
21118
21124
|
}
|
|
21119
|
-
function
|
|
21125
|
+
function LM(e, t) {
|
|
21120
21126
|
return t = +t, function() {
|
|
21121
|
-
|
|
21127
|
+
dM(this, e).duration = t;
|
|
21122
21128
|
};
|
|
21123
21129
|
}
|
|
21124
|
-
function
|
|
21130
|
+
function RM(e) {
|
|
21125
21131
|
var t = this._id;
|
|
21126
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
21132
|
+
return arguments.length ? this.each((typeof e == "function" ? IM : LM)(t, e)) : fM(this.node(), t).duration;
|
|
21127
21133
|
}
|
|
21128
21134
|
//#endregion
|
|
21129
21135
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.js
|
|
21130
|
-
function
|
|
21136
|
+
function zM(e, t) {
|
|
21131
21137
|
if (typeof t != "function") throw Error();
|
|
21132
21138
|
return function() {
|
|
21133
|
-
|
|
21139
|
+
dM(this, e).ease = t;
|
|
21134
21140
|
};
|
|
21135
21141
|
}
|
|
21136
|
-
function
|
|
21142
|
+
function BM(e) {
|
|
21137
21143
|
var t = this._id;
|
|
21138
|
-
return arguments.length ? this.each(
|
|
21144
|
+
return arguments.length ? this.each(zM(t, e)) : fM(this.node(), t).ease;
|
|
21139
21145
|
}
|
|
21140
21146
|
//#endregion
|
|
21141
21147
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.js
|
|
21142
|
-
function
|
|
21148
|
+
function VM(e, t) {
|
|
21143
21149
|
return function() {
|
|
21144
21150
|
var n = t.apply(this, arguments);
|
|
21145
21151
|
if (typeof n != "function") throw Error();
|
|
21146
|
-
|
|
21152
|
+
dM(this, e).ease = n;
|
|
21147
21153
|
};
|
|
21148
21154
|
}
|
|
21149
|
-
function
|
|
21155
|
+
function HM(e) {
|
|
21150
21156
|
if (typeof e != "function") throw Error();
|
|
21151
|
-
return this.each(
|
|
21157
|
+
return this.each(VM(this._id, e));
|
|
21152
21158
|
}
|
|
21153
21159
|
//#endregion
|
|
21154
21160
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
|
|
21155
|
-
function
|
|
21161
|
+
function UM(e) {
|
|
21156
21162
|
typeof e != "function" && (e = Gr(e));
|
|
21157
21163
|
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
21158
|
-
return new
|
|
21164
|
+
return new vN(r, this._parents, this._name, this._id);
|
|
21159
21165
|
}
|
|
21160
21166
|
//#endregion
|
|
21161
21167
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.js
|
|
21162
|
-
function
|
|
21168
|
+
function WM(e) {
|
|
21163
21169
|
if (e._id !== this._id) throw Error();
|
|
21164
21170
|
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
21165
21171
|
for (; s < r; ++s) o[s] = t[s];
|
|
21166
|
-
return new
|
|
21172
|
+
return new vN(o, this._parents, this._name, this._id);
|
|
21167
21173
|
}
|
|
21168
21174
|
//#endregion
|
|
21169
21175
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.js
|
|
21170
|
-
function
|
|
21176
|
+
function GM(e) {
|
|
21171
21177
|
return (e + "").trim().split(/^|\s+/).every(function(e) {
|
|
21172
21178
|
var t = e.indexOf(".");
|
|
21173
21179
|
return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
|
|
21174
21180
|
});
|
|
21175
21181
|
}
|
|
21176
|
-
function
|
|
21177
|
-
var r, i, a =
|
|
21182
|
+
function KM(e, t, n) {
|
|
21183
|
+
var r, i, a = GM(t) ? uM : dM;
|
|
21178
21184
|
return function() {
|
|
21179
21185
|
var o = a(this, e), s = o.on;
|
|
21180
21186
|
s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
|
|
21181
21187
|
};
|
|
21182
21188
|
}
|
|
21183
|
-
function
|
|
21189
|
+
function qM(e, t) {
|
|
21184
21190
|
var n = this._id;
|
|
21185
|
-
return arguments.length < 2 ?
|
|
21191
|
+
return arguments.length < 2 ? fM(this.node(), n).on.on(e) : this.each(KM(n, e, t));
|
|
21186
21192
|
}
|
|
21187
21193
|
//#endregion
|
|
21188
21194
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.js
|
|
21189
|
-
function
|
|
21195
|
+
function JM(e) {
|
|
21190
21196
|
return function() {
|
|
21191
21197
|
var t = this.parentNode;
|
|
21192
21198
|
for (var n in this.__transition) if (+n !== e) return;
|
|
21193
21199
|
t && t.removeChild(this);
|
|
21194
21200
|
};
|
|
21195
21201
|
}
|
|
21196
|
-
function
|
|
21197
|
-
return this.on("end.remove",
|
|
21202
|
+
function YM() {
|
|
21203
|
+
return this.on("end.remove", JM(this._id));
|
|
21198
21204
|
}
|
|
21199
21205
|
//#endregion
|
|
21200
21206
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
|
|
21201
|
-
function
|
|
21207
|
+
function XM(e) {
|
|
21202
21208
|
var t = this._name, n = this._id;
|
|
21203
21209
|
typeof e != "function" && (e = Rr(e));
|
|
21204
|
-
for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d,
|
|
21205
|
-
return new
|
|
21210
|
+
for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, lM(l[f], t, n, f, l, fM(u, n)));
|
|
21211
|
+
return new vN(a, this._parents, t, n);
|
|
21206
21212
|
}
|
|
21207
21213
|
//#endregion
|
|
21208
21214
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
|
|
21209
|
-
function
|
|
21215
|
+
function ZM(e) {
|
|
21210
21216
|
var t = this._name, n = this._id;
|
|
21211
21217
|
typeof e != "function" && (e = Hr(e));
|
|
21212
21218
|
for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
|
|
21213
|
-
for (var f = e.call(u, u.__data__, d, c), p, m =
|
|
21219
|
+
for (var f = e.call(u, u.__data__, d, c), p, m = fM(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && lM(p, t, n, h, f, m);
|
|
21214
21220
|
a.push(f), o.push(u);
|
|
21215
21221
|
}
|
|
21216
|
-
return new
|
|
21222
|
+
return new vN(a, o, t, n);
|
|
21217
21223
|
}
|
|
21218
21224
|
//#endregion
|
|
21219
21225
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
|
|
21220
|
-
var
|
|
21221
|
-
function
|
|
21222
|
-
return new
|
|
21226
|
+
var QM = Oa.prototype.constructor;
|
|
21227
|
+
function $M() {
|
|
21228
|
+
return new QM(this._groups, this._parents);
|
|
21223
21229
|
}
|
|
21224
21230
|
//#endregion
|
|
21225
21231
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.js
|
|
21226
|
-
function
|
|
21232
|
+
function eN(e, t) {
|
|
21227
21233
|
var n, r, i;
|
|
21228
21234
|
return function() {
|
|
21229
21235
|
var a = Fi(this, e), o = (this.style.removeProperty(e), Fi(this, e));
|
|
21230
21236
|
return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
|
|
21231
21237
|
};
|
|
21232
21238
|
}
|
|
21233
|
-
function
|
|
21239
|
+
function tN(e) {
|
|
21234
21240
|
return function() {
|
|
21235
21241
|
this.style.removeProperty(e);
|
|
21236
21242
|
};
|
|
21237
21243
|
}
|
|
21238
|
-
function
|
|
21244
|
+
function nN(e, t, n) {
|
|
21239
21245
|
var r, i = n + "", a;
|
|
21240
21246
|
return function() {
|
|
21241
21247
|
var o = Fi(this, e);
|
|
21242
21248
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
21243
21249
|
};
|
|
21244
21250
|
}
|
|
21245
|
-
function
|
|
21251
|
+
function rN(e, t, n) {
|
|
21246
21252
|
var r, i, a;
|
|
21247
21253
|
return function() {
|
|
21248
21254
|
var o = Fi(this, e), s = n(this), c = s + "";
|
|
21249
21255
|
return s == null && (c = s = (this.style.removeProperty(e), Fi(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
|
|
21250
21256
|
};
|
|
21251
21257
|
}
|
|
21252
|
-
function
|
|
21258
|
+
function iN(e, t) {
|
|
21253
21259
|
var n, r, i, a = "style." + t, o = "end." + a, s;
|
|
21254
21260
|
return function() {
|
|
21255
|
-
var c =
|
|
21261
|
+
var c = dM(this, e), l = c.on, u = c.value[a] == null ? s || (s = tN(t)) : void 0;
|
|
21256
21262
|
(l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
|
|
21257
21263
|
};
|
|
21258
21264
|
}
|
|
21259
|
-
function
|
|
21260
|
-
var r = (e += "") == "transform" ?
|
|
21261
|
-
return t == null ? this.styleTween(e,
|
|
21265
|
+
function aN(e, t, n) {
|
|
21266
|
+
var r = (e += "") == "transform" ? Rj : bM;
|
|
21267
|
+
return t == null ? this.styleTween(e, eN(e, r)).on("end.style." + e, tN(e)) : typeof t == "function" ? this.styleTween(e, rN(e, r, yM(this, "style." + e, t))).each(iN(this._id, e)) : this.styleTween(e, nN(e, r, t), n).on("end.style." + e, null);
|
|
21262
21268
|
}
|
|
21263
21269
|
//#endregion
|
|
21264
21270
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.js
|
|
21265
|
-
function
|
|
21271
|
+
function oN(e, t, n) {
|
|
21266
21272
|
return function(r) {
|
|
21267
21273
|
this.style.setProperty(e, t.call(this, r), n);
|
|
21268
21274
|
};
|
|
21269
21275
|
}
|
|
21270
|
-
function
|
|
21276
|
+
function sN(e, t, n) {
|
|
21271
21277
|
var r, i;
|
|
21272
21278
|
function a() {
|
|
21273
21279
|
var a = t.apply(this, arguments);
|
|
21274
|
-
return a !== i && (r = (i = a) &&
|
|
21280
|
+
return a !== i && (r = (i = a) && oN(e, a, n)), r;
|
|
21275
21281
|
}
|
|
21276
21282
|
return a._value = t, a;
|
|
21277
21283
|
}
|
|
21278
|
-
function
|
|
21284
|
+
function cN(e, t, n) {
|
|
21279
21285
|
var r = "style." + (e += "");
|
|
21280
21286
|
if (arguments.length < 2) return (r = this.tween(r)) && r._value;
|
|
21281
21287
|
if (t == null) return this.tween(r, null);
|
|
21282
21288
|
if (typeof t != "function") throw Error();
|
|
21283
|
-
return this.tween(r,
|
|
21289
|
+
return this.tween(r, sN(e, t, n == null ? "" : n));
|
|
21284
21290
|
}
|
|
21285
21291
|
//#endregion
|
|
21286
21292
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.js
|
|
21287
|
-
function
|
|
21293
|
+
function lN(e) {
|
|
21288
21294
|
return function() {
|
|
21289
21295
|
this.textContent = e;
|
|
21290
21296
|
};
|
|
21291
21297
|
}
|
|
21292
|
-
function
|
|
21298
|
+
function uN(e) {
|
|
21293
21299
|
return function() {
|
|
21294
21300
|
var t = e(this);
|
|
21295
21301
|
this.textContent = t == null ? "" : t;
|
|
21296
21302
|
};
|
|
21297
21303
|
}
|
|
21298
|
-
function
|
|
21299
|
-
return this.tween("text", typeof e == "function" ?
|
|
21304
|
+
function dN(e) {
|
|
21305
|
+
return this.tween("text", typeof e == "function" ? uN(yM(this, "text", e)) : lN(e == null ? "" : e + ""));
|
|
21300
21306
|
}
|
|
21301
21307
|
//#endregion
|
|
21302
21308
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.js
|
|
21303
|
-
function
|
|
21309
|
+
function fN(e) {
|
|
21304
21310
|
return function(t) {
|
|
21305
21311
|
this.textContent = e.call(this, t);
|
|
21306
21312
|
};
|
|
21307
21313
|
}
|
|
21308
|
-
function
|
|
21314
|
+
function pN(e) {
|
|
21309
21315
|
var t, n;
|
|
21310
21316
|
function r() {
|
|
21311
21317
|
var r = e.apply(this, arguments);
|
|
21312
|
-
return r !== n && (t = (n = r) &&
|
|
21318
|
+
return r !== n && (t = (n = r) && fN(r)), t;
|
|
21313
21319
|
}
|
|
21314
21320
|
return r._value = e, r;
|
|
21315
21321
|
}
|
|
21316
|
-
function
|
|
21322
|
+
function mN(e) {
|
|
21317
21323
|
var t = "text";
|
|
21318
21324
|
if (arguments.length < 1) return (t = this.tween(t)) && t._value;
|
|
21319
21325
|
if (e == null) return this.tween(t, null);
|
|
21320
21326
|
if (typeof e != "function") throw Error();
|
|
21321
|
-
return this.tween(t,
|
|
21327
|
+
return this.tween(t, pN(e));
|
|
21322
21328
|
}
|
|
21323
21329
|
//#endregion
|
|
21324
21330
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.js
|
|
21325
|
-
function
|
|
21326
|
-
for (var e = this._name, t = this._id, n =
|
|
21327
|
-
var u =
|
|
21328
|
-
|
|
21331
|
+
function hN() {
|
|
21332
|
+
for (var e = this._name, t = this._id, n = bN(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
|
|
21333
|
+
var u = fM(c, t);
|
|
21334
|
+
lM(c, e, n, l, o, {
|
|
21329
21335
|
time: u.time + u.delay + u.duration,
|
|
21330
21336
|
delay: 0,
|
|
21331
21337
|
duration: u.duration,
|
|
21332
21338
|
ease: u.ease
|
|
21333
21339
|
});
|
|
21334
21340
|
}
|
|
21335
|
-
return new
|
|
21341
|
+
return new vN(r, this._parents, e, n);
|
|
21336
21342
|
}
|
|
21337
21343
|
//#endregion
|
|
21338
21344
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.js
|
|
21339
|
-
function
|
|
21345
|
+
function gN() {
|
|
21340
21346
|
var e, t, n = this, r = n._id, i = n.size();
|
|
21341
21347
|
return new Promise(function(a, o) {
|
|
21342
21348
|
var s = { value: o }, c = { value: function() {
|
|
21343
21349
|
--i === 0 && a();
|
|
21344
21350
|
} };
|
|
21345
21351
|
n.each(function() {
|
|
21346
|
-
var n =
|
|
21352
|
+
var n = dM(this, r), i = n.on;
|
|
21347
21353
|
i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
|
|
21348
21354
|
}), i === 0 && a();
|
|
21349
21355
|
});
|
|
21350
21356
|
}
|
|
21351
21357
|
//#endregion
|
|
21352
21358
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.js
|
|
21353
|
-
var
|
|
21354
|
-
function
|
|
21359
|
+
var _N = 0;
|
|
21360
|
+
function vN(e, t, n, r) {
|
|
21355
21361
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
21356
21362
|
}
|
|
21357
|
-
function
|
|
21363
|
+
function yN(e) {
|
|
21358
21364
|
return Oa().transition(e);
|
|
21359
21365
|
}
|
|
21360
|
-
function
|
|
21361
|
-
return ++
|
|
21362
|
-
}
|
|
21363
|
-
var
|
|
21364
|
-
|
|
21365
|
-
constructor:
|
|
21366
|
-
select:
|
|
21367
|
-
selectAll:
|
|
21368
|
-
selectChild:
|
|
21369
|
-
selectChildren:
|
|
21370
|
-
filter:
|
|
21371
|
-
merge:
|
|
21372
|
-
selection:
|
|
21373
|
-
transition:
|
|
21374
|
-
call:
|
|
21375
|
-
nodes:
|
|
21376
|
-
node:
|
|
21377
|
-
size:
|
|
21378
|
-
empty:
|
|
21379
|
-
each:
|
|
21380
|
-
on:
|
|
21381
|
-
attr:
|
|
21382
|
-
attrTween:
|
|
21383
|
-
style:
|
|
21384
|
-
styleTween:
|
|
21385
|
-
text:
|
|
21386
|
-
textTween:
|
|
21387
|
-
remove:
|
|
21388
|
-
tween:
|
|
21389
|
-
delay:
|
|
21390
|
-
duration:
|
|
21391
|
-
ease:
|
|
21392
|
-
easeVarying:
|
|
21393
|
-
end:
|
|
21394
|
-
[Symbol.iterator]:
|
|
21366
|
+
function bN() {
|
|
21367
|
+
return ++_N;
|
|
21368
|
+
}
|
|
21369
|
+
var xN = Oa.prototype;
|
|
21370
|
+
vN.prototype = yN.prototype = {
|
|
21371
|
+
constructor: vN,
|
|
21372
|
+
select: XM,
|
|
21373
|
+
selectAll: ZM,
|
|
21374
|
+
selectChild: xN.selectChild,
|
|
21375
|
+
selectChildren: xN.selectChildren,
|
|
21376
|
+
filter: UM,
|
|
21377
|
+
merge: WM,
|
|
21378
|
+
selection: $M,
|
|
21379
|
+
transition: hN,
|
|
21380
|
+
call: xN.call,
|
|
21381
|
+
nodes: xN.nodes,
|
|
21382
|
+
node: xN.node,
|
|
21383
|
+
size: xN.size,
|
|
21384
|
+
empty: xN.empty,
|
|
21385
|
+
each: xN.each,
|
|
21386
|
+
on: qM,
|
|
21387
|
+
attr: DM,
|
|
21388
|
+
attrTween: MM,
|
|
21389
|
+
style: aN,
|
|
21390
|
+
styleTween: cN,
|
|
21391
|
+
text: dN,
|
|
21392
|
+
textTween: mN,
|
|
21393
|
+
remove: YM,
|
|
21394
|
+
tween: vM,
|
|
21395
|
+
delay: FM,
|
|
21396
|
+
duration: RM,
|
|
21397
|
+
ease: BM,
|
|
21398
|
+
easeVarying: HM,
|
|
21399
|
+
end: gN,
|
|
21400
|
+
[Symbol.iterator]: xN[Symbol.iterator]
|
|
21395
21401
|
};
|
|
21396
21402
|
//#endregion
|
|
21397
21403
|
//#region ../../node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/quad.js
|
|
21398
|
-
function
|
|
21404
|
+
function SN(e) {
|
|
21399
21405
|
return ((e *= 2) <= 1 ? e * e : --e * (2 - e) + 1) / 2;
|
|
21400
21406
|
}
|
|
21401
21407
|
//#endregion
|
|
21402
21408
|
//#region ../../node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.js
|
|
21403
|
-
function
|
|
21409
|
+
function CN(e) {
|
|
21404
21410
|
return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
21405
21411
|
}
|
|
21406
21412
|
//#endregion
|
|
21407
21413
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.js
|
|
21408
|
-
var
|
|
21414
|
+
var wN = {
|
|
21409
21415
|
time: null,
|
|
21410
21416
|
delay: 0,
|
|
21411
21417
|
duration: 250,
|
|
21412
|
-
ease:
|
|
21418
|
+
ease: CN
|
|
21413
21419
|
};
|
|
21414
|
-
function
|
|
21420
|
+
function TN(e, t) {
|
|
21415
21421
|
for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
|
|
21416
21422
|
return n;
|
|
21417
21423
|
}
|
|
21418
|
-
function
|
|
21424
|
+
function EN(e) {
|
|
21419
21425
|
var t, n;
|
|
21420
|
-
e instanceof
|
|
21421
|
-
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) &&
|
|
21422
|
-
return new
|
|
21426
|
+
e instanceof vN ? (t = e._id, e = e._name) : (t = bN(), (n = wN).time = Zj(), e = e == null ? null : e + "");
|
|
21427
|
+
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && lM(c, e, t, l, o, n || TN(c, t));
|
|
21428
|
+
return new vN(r, this._parents, e, t);
|
|
21423
21429
|
}
|
|
21424
|
-
Oa.prototype.interrupt =
|
|
21430
|
+
Oa.prototype.interrupt = hM, Oa.prototype.transition = EN;
|
|
21425
21431
|
//#endregion
|
|
21426
21432
|
//#region ../../node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
|
|
21427
|
-
var { abs:
|
|
21428
|
-
["w", "e"].map(
|
|
21433
|
+
var { abs: DN, max: ON, min: kN } = Math;
|
|
21434
|
+
["w", "e"].map(AN), ["n", "s"].map(AN), [
|
|
21429
21435
|
"n",
|
|
21430
21436
|
"w",
|
|
21431
21437
|
"e",
|
|
@@ -21434,22 +21440,22 @@ var { abs: EN, max: DN, min: ON } = Math;
|
|
|
21434
21440
|
"ne",
|
|
21435
21441
|
"sw",
|
|
21436
21442
|
"se"
|
|
21437
|
-
].map(
|
|
21438
|
-
function
|
|
21443
|
+
].map(AN);
|
|
21444
|
+
function AN(e) {
|
|
21439
21445
|
return { type: e };
|
|
21440
21446
|
}
|
|
21441
21447
|
//#endregion
|
|
21442
21448
|
//#region ../../node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js
|
|
21443
|
-
function
|
|
21449
|
+
function jN(e, t, n) {
|
|
21444
21450
|
this.k = e, this.x = t, this.y = n;
|
|
21445
21451
|
}
|
|
21446
|
-
|
|
21447
|
-
constructor:
|
|
21452
|
+
jN.prototype = {
|
|
21453
|
+
constructor: jN,
|
|
21448
21454
|
scale: function(e) {
|
|
21449
|
-
return e === 1 ? this : new
|
|
21455
|
+
return e === 1 ? this : new jN(this.k * e, this.x, this.y);
|
|
21450
21456
|
},
|
|
21451
21457
|
translate: function(e, t) {
|
|
21452
|
-
return e === 0 & t === 0 ? this : new
|
|
21458
|
+
return e === 0 & t === 0 ? this : new jN(this.k, this.x + this.k * e, this.y + this.k * t);
|
|
21453
21459
|
},
|
|
21454
21460
|
apply: function(e) {
|
|
21455
21461
|
return [e[0] * this.k + this.x, e[1] * this.k + this.y];
|
|
@@ -21479,21 +21485,21 @@ AN.prototype = {
|
|
|
21479
21485
|
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
|
21480
21486
|
}
|
|
21481
21487
|
};
|
|
21482
|
-
var
|
|
21483
|
-
|
|
21484
|
-
function
|
|
21485
|
-
for (; !e.__zoom;) if (!(e = e.parentNode)) return
|
|
21488
|
+
var MN = new jN(1, 0, 0);
|
|
21489
|
+
NN.prototype = jN.prototype;
|
|
21490
|
+
function NN(e) {
|
|
21491
|
+
for (; !e.__zoom;) if (!(e = e.parentNode)) return MN;
|
|
21486
21492
|
return e.__zoom;
|
|
21487
21493
|
}
|
|
21488
21494
|
//#endregion
|
|
21489
21495
|
//#region src/utils/is-pathway-layer.ts
|
|
21490
|
-
function
|
|
21496
|
+
function PN(e) {
|
|
21491
21497
|
return e.toLowerCase().includes(s);
|
|
21492
21498
|
}
|
|
21493
21499
|
//#endregion
|
|
21494
21500
|
//#region src/store/init/init-layers.ts
|
|
21495
|
-
var
|
|
21496
|
-
function
|
|
21501
|
+
var FN = 1e3;
|
|
21502
|
+
function IN(e) {
|
|
21497
21503
|
return e == null || vr(e) ? e : sr.fromMinMax({
|
|
21498
21504
|
x: e.x1,
|
|
21499
21505
|
y: e.y1
|
|
@@ -21502,40 +21508,40 @@ function FN(e) {
|
|
|
21502
21508
|
y: e.y2
|
|
21503
21509
|
});
|
|
21504
21510
|
}
|
|
21505
|
-
function
|
|
21511
|
+
function LN(e, t, n) {
|
|
21506
21512
|
let r = [], i = t;
|
|
21507
21513
|
return Aa(Va(e)).selectAll(`svg [data-layer="${e.name}"] > [data-layer]`).nodes().filter((e) => e.childNodes.length).forEach((t) => {
|
|
21508
|
-
let a = t.getAttribute("data-layer"), o = new
|
|
21509
|
-
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 =
|
|
21510
|
-
let s =
|
|
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;
|
|
21516
|
+
let s = LN(o, i, n);
|
|
21511
21517
|
i = s.priority + n, o.basePriority = i, s.layers.length && (o.childLayers = s.layers, r.push(...s.layers)), r.push(o);
|
|
21512
21518
|
}), {
|
|
21513
21519
|
layers: r,
|
|
21514
21520
|
priority: i
|
|
21515
21521
|
};
|
|
21516
21522
|
}
|
|
21517
|
-
function
|
|
21523
|
+
function RN(e) {
|
|
21518
21524
|
let { layerStore: t } = e, n = Dr().__fpLayers;
|
|
21519
|
-
t.mode = Dr().__fpLayersMode ||
|
|
21520
|
-
let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode ===
|
|
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;
|
|
21521
21527
|
n ? n.forEach((e) => {
|
|
21522
|
-
o +=
|
|
21523
|
-
let t = new
|
|
21524
|
-
t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect =
|
|
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);
|
|
21525
21531
|
}) : Aa(Va()).selectAll("svg > [data-layer]").nodes().filter((e) => e.childNodes.length).forEach((e) => {
|
|
21526
21532
|
let t = e.getAttribute("data-layer");
|
|
21527
21533
|
if (!t.startsWith("WF")) {
|
|
21528
21534
|
var n;
|
|
21529
|
-
o +=
|
|
21530
|
-
let r = new
|
|
21531
|
-
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 =
|
|
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);
|
|
21532
21538
|
}
|
|
21533
|
-
}), t.mode !==
|
|
21534
|
-
e.mode ===
|
|
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);
|
|
21535
21541
|
});
|
|
21536
21542
|
try {
|
|
21537
21543
|
a.forEach((e) => {
|
|
21538
|
-
|
|
21544
|
+
PN(e.name) && (e.frozen = !1, e.visible = !1, e.pathway = !0);
|
|
21539
21545
|
});
|
|
21540
21546
|
} catch (e) {
|
|
21541
21547
|
console.warn(e);
|
|
@@ -21544,7 +21550,7 @@ function LN(e) {
|
|
|
21544
21550
|
}
|
|
21545
21551
|
//#endregion
|
|
21546
21552
|
//#region src/utils/blob-image-size.ts
|
|
21547
|
-
async function
|
|
21553
|
+
async function zN(e) {
|
|
21548
21554
|
try {
|
|
21549
21555
|
let t = await createImageBitmap(e), n = {
|
|
21550
21556
|
width: t.width,
|
|
@@ -21557,7 +21563,7 @@ async function RN(e) {
|
|
|
21557
21563
|
}
|
|
21558
21564
|
//#endregion
|
|
21559
21565
|
//#region src/utils/loadBlob.ts
|
|
21560
|
-
async function
|
|
21566
|
+
async function BN(e) {
|
|
21561
21567
|
try {
|
|
21562
21568
|
let t = await fetch(e, {
|
|
21563
21569
|
mode: "cors",
|
|
@@ -21572,10 +21578,10 @@ async function zN(e) {
|
|
|
21572
21578
|
}
|
|
21573
21579
|
//#endregion
|
|
21574
21580
|
//#region src/utils/rasterize-svg.ts
|
|
21575
|
-
function
|
|
21581
|
+
function VN(e) {
|
|
21576
21582
|
return e.type.startsWith("image/svg+xml");
|
|
21577
21583
|
}
|
|
21578
|
-
async function
|
|
21584
|
+
async function HN(e) {
|
|
21579
21585
|
let t = URL.createObjectURL(e);
|
|
21580
21586
|
try {
|
|
21581
21587
|
let e = await te(t);
|
|
@@ -21588,11 +21594,11 @@ async function VN(e) {
|
|
|
21588
21594
|
URL.revokeObjectURL(t);
|
|
21589
21595
|
}
|
|
21590
21596
|
}
|
|
21591
|
-
async function
|
|
21592
|
-
let t = await
|
|
21593
|
-
return t ?
|
|
21597
|
+
async function UN(e) {
|
|
21598
|
+
let t = await HN(e);
|
|
21599
|
+
return t ? WN(t) : null;
|
|
21594
21600
|
}
|
|
21595
|
-
function
|
|
21601
|
+
function WN(e) {
|
|
21596
21602
|
return new Promise((t) => {
|
|
21597
21603
|
try {
|
|
21598
21604
|
e.toBlob((e) => t(e), "image/png");
|
|
@@ -21603,16 +21609,16 @@ function UN(e) {
|
|
|
21603
21609
|
}
|
|
21604
21610
|
//#endregion
|
|
21605
21611
|
//#region src/utils/loadLayerImages.ts
|
|
21606
|
-
async function
|
|
21612
|
+
async function GN(e) {
|
|
21607
21613
|
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
21608
21614
|
let n = t.get(e);
|
|
21609
|
-
return n || (n =
|
|
21615
|
+
return n || (n = KN(e), t.set(e, n)), n;
|
|
21610
21616
|
};
|
|
21611
21617
|
return (await Promise.all(e.map(async (e) => {
|
|
21612
21618
|
var t, r, i;
|
|
21613
21619
|
let a = (t = e.getAttribute("xlink:href")) == null ? e.getAttribute("href") : t, o = a ? await n(a) : null;
|
|
21614
21620
|
if (!o) return null;
|
|
21615
|
-
let s =
|
|
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;
|
|
21616
21622
|
return {
|
|
21617
21623
|
bounds: Yn.fromMinMax(s.min, s.max, Cn(c)),
|
|
21618
21624
|
source: o.source,
|
|
@@ -21620,17 +21626,17 @@ async function WN(e) {
|
|
|
21620
21626
|
};
|
|
21621
21627
|
}))).filter((e) => e !== null);
|
|
21622
21628
|
}
|
|
21623
|
-
async function
|
|
21629
|
+
async function KN(e) {
|
|
21624
21630
|
var t;
|
|
21625
|
-
let n = await
|
|
21631
|
+
let n = await BN(e);
|
|
21626
21632
|
if (!n) return null;
|
|
21627
|
-
let r =
|
|
21633
|
+
let r = VN(n) ? await UN(n) : n;
|
|
21628
21634
|
return r ? {
|
|
21629
21635
|
source: r,
|
|
21630
|
-
size: (t =
|
|
21636
|
+
size: (t = qN(e)) == null ? await zN(r) : t
|
|
21631
21637
|
} : null;
|
|
21632
21638
|
}
|
|
21633
|
-
function
|
|
21639
|
+
function qN(e) {
|
|
21634
21640
|
let t;
|
|
21635
21641
|
try {
|
|
21636
21642
|
({searchParams: t} = new URL(e));
|
|
@@ -21638,15 +21644,15 @@ function KN(e) {
|
|
|
21638
21644
|
return null;
|
|
21639
21645
|
}
|
|
21640
21646
|
let n = Number(t.get("w")), r = Number(t.get("h"));
|
|
21641
|
-
return
|
|
21647
|
+
return JN(n) && JN(r) ? {
|
|
21642
21648
|
width: n,
|
|
21643
21649
|
height: r
|
|
21644
21650
|
} : null;
|
|
21645
21651
|
}
|
|
21646
|
-
function
|
|
21652
|
+
function JN(e) {
|
|
21647
21653
|
return Number.isFinite(e) && e > 0;
|
|
21648
21654
|
}
|
|
21649
|
-
function
|
|
21655
|
+
function YN(e, t) {
|
|
21650
21656
|
if (!(t != null && t.width) || !t.height || !e.size.width || !e.size.height) return e;
|
|
21651
21657
|
let n = Math.min(e.size.width / t.width, e.size.height / t.height);
|
|
21652
21658
|
return sr.fromCenter(e.center, {
|
|
@@ -21654,22 +21660,22 @@ function JN(e, t) {
|
|
|
21654
21660
|
y: t.height * n
|
|
21655
21661
|
});
|
|
21656
21662
|
}
|
|
21657
|
-
async function
|
|
21663
|
+
async function XN(e) {
|
|
21658
21664
|
var t;
|
|
21659
|
-
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 ===
|
|
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;
|
|
21660
21666
|
for (let e of o) {
|
|
21661
21667
|
let t = +e.getAttribute("data-index"), r;
|
|
21662
|
-
e.tagName === "path" && t !== -1 ? r =
|
|
21668
|
+
e.tagName === "path" && t !== -1 ? r = ZN({
|
|
21663
21669
|
color: e.style.fill,
|
|
21664
21670
|
index: t
|
|
21665
|
-
}, c) : e.tagName === "rect" && (r =
|
|
21671
|
+
}, c) : e.tagName === "rect" && (r = Rk(e)), r && n.push(r);
|
|
21666
21672
|
}
|
|
21667
21673
|
for (let e of s) {
|
|
21668
21674
|
let t = +e.getAttribute("data-index"), n;
|
|
21669
|
-
e.tagName === "path" && t !== -1 ? n =
|
|
21675
|
+
e.tagName === "path" && t !== -1 ? n = ZN({
|
|
21670
21676
|
color: e.style.fill,
|
|
21671
21677
|
index: t
|
|
21672
|
-
}, c) : e.tagName === "rect" && (n =
|
|
21678
|
+
}, c) : e.tagName === "rect" && (n = Rk(e)), n && r.push(n);
|
|
21673
21679
|
}
|
|
21674
21680
|
return i.push({
|
|
21675
21681
|
name: "bg",
|
|
@@ -21682,55 +21688,55 @@ async function YN(e) {
|
|
|
21682
21688
|
children: i.filter((e) => e.children.length)
|
|
21683
21689
|
});
|
|
21684
21690
|
}
|
|
21685
|
-
function
|
|
21691
|
+
function ZN(e, t) {
|
|
21686
21692
|
if (e.index === -1 || Number.isNaN(e.index)) return;
|
|
21687
21693
|
(!e.color || e.color === "none") && (e.color = "transparent");
|
|
21688
|
-
let n =
|
|
21694
|
+
let n = zk(Ba(parseInt(e.index.toString()), t), e.color);
|
|
21689
21695
|
return n.unblinking = e.unblinking, n;
|
|
21690
21696
|
}
|
|
21691
21697
|
//#endregion
|
|
21692
21698
|
//#region src/utils/is-mobile.ts
|
|
21693
|
-
var
|
|
21694
|
-
async function
|
|
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) {
|
|
21695
21701
|
return (e.preferred ? await t(e.preferred) : null) || (e.fallback ? t(e.fallback) : null);
|
|
21696
21702
|
}
|
|
21697
|
-
async function
|
|
21703
|
+
async function rP(e, t, n, r) {
|
|
21698
21704
|
if (!e.size) return /* @__PURE__ */ new Map();
|
|
21699
21705
|
let i = Array.from(e.entries()), a = /* @__PURE__ */ new Map();
|
|
21700
21706
|
for (let e = 0; e < i.length; e += n) {
|
|
21701
|
-
let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await
|
|
21707
|
+
let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await nP(n, t)]));
|
|
21702
21708
|
for (let [e, t] of s) t && a.set(e, t);
|
|
21703
21709
|
r && await new Promise((e) => setTimeout(e, r));
|
|
21704
21710
|
}
|
|
21705
21711
|
return a;
|
|
21706
21712
|
}
|
|
21707
|
-
async function
|
|
21708
|
-
return
|
|
21713
|
+
async function iP(e, t = eP, n = tP) {
|
|
21714
|
+
return rP(e, te, t, n);
|
|
21709
21715
|
}
|
|
21710
|
-
async function
|
|
21716
|
+
async function aP(e, t = eP, n = tP) {
|
|
21711
21717
|
let r = /* @__PURE__ */ new Map();
|
|
21712
|
-
return
|
|
21718
|
+
return rP(e, (e) => {
|
|
21713
21719
|
let t = r.get(e);
|
|
21714
|
-
return t || (t =
|
|
21720
|
+
return t || (t = BN(e), r.set(e, t)), t;
|
|
21715
21721
|
}, t, n);
|
|
21716
21722
|
}
|
|
21717
21723
|
//#endregion
|
|
21718
21724
|
//#region src/components/Maplibre/utils/poi-marker-hit-test.ts
|
|
21719
|
-
var
|
|
21725
|
+
var oP = null, sP = {
|
|
21720
21726
|
set(e) {
|
|
21721
|
-
|
|
21727
|
+
oP = e;
|
|
21722
21728
|
},
|
|
21723
21729
|
test(e, t) {
|
|
21724
|
-
return
|
|
21730
|
+
return oP ? oP(e, t) : !1;
|
|
21725
21731
|
}
|
|
21726
|
-
},
|
|
21732
|
+
}, cP = xn(() => ({
|
|
21727
21733
|
segments: [],
|
|
21728
21734
|
segmentToHitAreas: /* @__PURE__ */ new Map(),
|
|
21729
21735
|
prevSegment: null,
|
|
21730
21736
|
boothsWithPaths: []
|
|
21731
21737
|
}));
|
|
21732
|
-
function
|
|
21733
|
-
let e = bn.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0), t =
|
|
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();
|
|
21734
21740
|
if (t.segments = [], t.prevSegment = null, t.segmentToHitAreas = /* @__PURE__ */ new Map(), t.boothsWithPaths = e.filter((e) => e.paths), !e.length) return;
|
|
21735
21741
|
let n = [], r = Infinity, i = Infinity, a = -Infinity, o = -Infinity;
|
|
21736
21742
|
for (let t of e) {
|
|
@@ -21754,15 +21760,15 @@ function cP() {
|
|
|
21754
21760
|
}
|
|
21755
21761
|
w.log("hover segmentToHitAreas", t.segmentToHitAreas);
|
|
21756
21762
|
}
|
|
21757
|
-
function
|
|
21758
|
-
|
|
21763
|
+
function uP() {
|
|
21764
|
+
bA(() => [
|
|
21759
21765
|
bn.booths,
|
|
21760
21766
|
_n.loaded,
|
|
21761
21767
|
_n.visible
|
|
21762
|
-
], () =>
|
|
21768
|
+
], () => lP(), { fireImmediately: !0 });
|
|
21763
21769
|
}
|
|
21764
|
-
function
|
|
21765
|
-
let n =
|
|
21770
|
+
function dP(e, t) {
|
|
21771
|
+
let n = cP(), r = {
|
|
21766
21772
|
x: e,
|
|
21767
21773
|
y: t
|
|
21768
21774
|
}, i;
|
|
@@ -21772,7 +21778,7 @@ function uP(e, t) {
|
|
|
21772
21778
|
let e = a.filter((e) => e.booth.visible && e.shape.containsPoint(r));
|
|
21773
21779
|
if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
|
|
21774
21780
|
}
|
|
21775
|
-
for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of za(t.index, _n.mode ===
|
|
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)) {
|
|
21776
21782
|
let t = n.map((e) => ({
|
|
21777
21783
|
x: e[0],
|
|
21778
21784
|
y: e[1]
|
|
@@ -21781,102 +21787,102 @@ function uP(e, t) {
|
|
|
21781
21787
|
}
|
|
21782
21788
|
return null;
|
|
21783
21789
|
}
|
|
21784
|
-
function
|
|
21785
|
-
return
|
|
21790
|
+
function fP(e, t) {
|
|
21791
|
+
return dP(e, t);
|
|
21786
21792
|
}
|
|
21787
21793
|
//#endregion
|
|
21788
21794
|
//#region src/components/Map/pointer.ts
|
|
21789
|
-
function fP(e) {
|
|
21790
|
-
TP = e;
|
|
21791
|
-
}
|
|
21792
21795
|
function pP(e) {
|
|
21793
|
-
|
|
21796
|
+
EP = e;
|
|
21794
21797
|
}
|
|
21795
|
-
function mP(e
|
|
21796
|
-
|
|
21798
|
+
function mP(e) {
|
|
21799
|
+
TP = e;
|
|
21797
21800
|
}
|
|
21798
|
-
function hP(e) {
|
|
21799
|
-
|
|
21800
|
-
return (t = CP.get(e)) == null ? null : t;
|
|
21801
|
+
function hP(e, t) {
|
|
21802
|
+
for (let n of t) wP.set(n, e);
|
|
21801
21803
|
}
|
|
21802
21804
|
function gP(e) {
|
|
21803
|
-
|
|
21805
|
+
var t;
|
|
21806
|
+
return (t = wP.get(e)) == null ? null : t;
|
|
21804
21807
|
}
|
|
21805
|
-
function _P() {
|
|
21806
|
-
B.setKioskModeEnabled || (B.hoveredBooth =
|
|
21808
|
+
function _P(e) {
|
|
21809
|
+
B.setKioskModeEnabled || (e.stopPropagation(), B.hoveredBooth = xP(e.point, e.def));
|
|
21807
21810
|
}
|
|
21808
|
-
function vP(
|
|
21809
|
-
|
|
21811
|
+
function vP() {
|
|
21812
|
+
B.setKioskModeEnabled || (B.hoveredBooth = null);
|
|
21810
21813
|
}
|
|
21811
21814
|
function yP(e) {
|
|
21812
|
-
|
|
21815
|
+
e.stopPropagation(), SP(e.point, e.nativeEvent) && z.clickBooth(xP(e.point, e.def));
|
|
21813
21816
|
}
|
|
21814
|
-
function bP(e
|
|
21815
|
-
|
|
21817
|
+
function bP(e) {
|
|
21818
|
+
SP(e.point, e.nativeEvent) && z.clickBooth(xP(e.point));
|
|
21816
21819
|
}
|
|
21817
21820
|
function xP(e, t) {
|
|
21821
|
+
return (t ? gP(t) : null) || fP(e.x, e.y);
|
|
21822
|
+
}
|
|
21823
|
+
function SP(e, t) {
|
|
21818
21824
|
if (!B.rootElement) return !1;
|
|
21819
|
-
if (
|
|
21820
|
-
let t = z.layerStore.layers.find((e) => e.visible && (e.mode ===
|
|
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));
|
|
21821
21827
|
B.onGetCoordsClick({
|
|
21822
21828
|
x: e.x,
|
|
21823
21829
|
y: e.y,
|
|
21824
21830
|
z: (t == null ? void 0 : t.name) || null
|
|
21825
21831
|
});
|
|
21826
21832
|
}
|
|
21827
|
-
if (B.setKioskModeEnabled ||
|
|
21833
|
+
if (B.setKioskModeEnabled || sP.test(t.clientX, t.clientY)) return !1;
|
|
21828
21834
|
if (B.onMarkerClick) {
|
|
21829
21835
|
var n;
|
|
21830
|
-
let t = (n =
|
|
21836
|
+
let t = (n = TP == null ? void 0 : TP(e.x, e.y)) == null ? null : n;
|
|
21831
21837
|
B.onMarkerClick(t);
|
|
21832
21838
|
}
|
|
21833
21839
|
return !0;
|
|
21834
21840
|
}
|
|
21835
|
-
function
|
|
21841
|
+
function CP() {
|
|
21836
21842
|
if (typeof window > "u") return;
|
|
21837
21843
|
let e = window.__resett;
|
|
21838
21844
|
e == null || e();
|
|
21839
21845
|
}
|
|
21840
|
-
var
|
|
21846
|
+
var wP = /* @__PURE__ */ new WeakMap(), TP, EP;
|
|
21841
21847
|
//#endregion
|
|
21842
21848
|
//#region src/components/Map/drawing/config/booth-logos.ts
|
|
21843
|
-
function
|
|
21849
|
+
function DP(e) {
|
|
21844
21850
|
return e.exhibitors.find((e) => e.logoInBooth && e.logo);
|
|
21845
21851
|
}
|
|
21846
|
-
function
|
|
21852
|
+
function OP(e) {
|
|
21847
21853
|
var t;
|
|
21848
|
-
let n = (t =
|
|
21854
|
+
let n = (t = DP(e)) == null ? void 0 : t.logoAspectRatio;
|
|
21849
21855
|
return typeof n == "number" && Number.isFinite(n) && n > 0 ? n : void 0;
|
|
21850
21856
|
}
|
|
21851
|
-
function
|
|
21857
|
+
function kP() {
|
|
21852
21858
|
let e = /* @__PURE__ */ new Map(), t = (t) => {
|
|
21853
21859
|
let n = e.get(t);
|
|
21854
|
-
return n || (n =
|
|
21860
|
+
return n || (n = AP(t), e.set(t, n)), n;
|
|
21855
21861
|
}, n = /* @__PURE__ */ new Map(), r = (e) => {
|
|
21856
21862
|
let t = n.get(e);
|
|
21857
|
-
return t || (t =
|
|
21863
|
+
return t || (t = jP(e), n.set(e, t)), t;
|
|
21858
21864
|
};
|
|
21859
21865
|
return async (e, n) => {
|
|
21860
21866
|
var i;
|
|
21861
21867
|
let a = await t(n);
|
|
21862
21868
|
if (!a) return null;
|
|
21863
|
-
let o = (i =
|
|
21869
|
+
let o = (i = OP(e)) == null ? await r(a) : i;
|
|
21864
21870
|
return o === null ? null : {
|
|
21865
21871
|
blob: a,
|
|
21866
21872
|
aspectRatio: o
|
|
21867
21873
|
};
|
|
21868
21874
|
};
|
|
21869
21875
|
}
|
|
21870
|
-
async function kP(e) {
|
|
21871
|
-
return BN(e) ? HN(e) : e;
|
|
21872
|
-
}
|
|
21873
21876
|
async function AP(e) {
|
|
21874
|
-
|
|
21877
|
+
return VN(e) ? UN(e) : e;
|
|
21878
|
+
}
|
|
21879
|
+
async function jP(e) {
|
|
21880
|
+
let t = await zN(e);
|
|
21875
21881
|
return t != null && t.height ? t.width / t.height : null;
|
|
21876
21882
|
}
|
|
21877
21883
|
//#endregion
|
|
21878
21884
|
//#region ../../node_modules/.pnpm/color-parse@1.4.3/node_modules/color-parse/index.js
|
|
21879
|
-
var
|
|
21885
|
+
var MP = /* @__PURE__ */ t(((e, t) => {
|
|
21880
21886
|
var n = No();
|
|
21881
21887
|
t.exports = i;
|
|
21882
21888
|
var r = {
|
|
@@ -21944,7 +21950,7 @@ var jP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21944
21950
|
alpha: a
|
|
21945
21951
|
};
|
|
21946
21952
|
}
|
|
21947
|
-
})),
|
|
21953
|
+
})), NP = /* @__PURE__ */ t(((e, t) => {
|
|
21948
21954
|
t.exports = {
|
|
21949
21955
|
name: "rgb",
|
|
21950
21956
|
min: [
|
|
@@ -21964,8 +21970,8 @@ var jP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21964
21970
|
],
|
|
21965
21971
|
alias: ["RGB"]
|
|
21966
21972
|
};
|
|
21967
|
-
})),
|
|
21968
|
-
var n =
|
|
21973
|
+
})), PP = /* @__PURE__ */ t(((e, t) => {
|
|
21974
|
+
var n = NP();
|
|
21969
21975
|
t.exports = {
|
|
21970
21976
|
name: "hsl",
|
|
21971
21977
|
min: [
|
|
@@ -22007,8 +22013,8 @@ var jP = /* @__PURE__ */ t(((e, t) => {
|
|
|
22007
22013
|
l * 100
|
|
22008
22014
|
];
|
|
22009
22015
|
};
|
|
22010
|
-
})),
|
|
22011
|
-
var n =
|
|
22016
|
+
})), FP = /* @__PURE__ */ t(((e, t) => {
|
|
22017
|
+
var n = MP(), r = PP();
|
|
22012
22018
|
function i(e, t, n) {
|
|
22013
22019
|
return t < n ? e < t ? t : e > n ? n : e : e < n ? n : e > t ? t : e;
|
|
22014
22020
|
}
|
|
@@ -22033,23 +22039,23 @@ var jP = /* @__PURE__ */ t(((e, t) => {
|
|
|
22033
22039
|
return u[3] === 1 ? "rgb(" + u.slice(0, 3) + ")" : "rgba(" + u + ")";
|
|
22034
22040
|
};
|
|
22035
22041
|
}
|
|
22036
|
-
})),
|
|
22037
|
-
function IP() {
|
|
22038
|
-
return new URLSearchParams(u(window.location.search)).get(FP);
|
|
22039
|
-
}
|
|
22042
|
+
})), IP = "rt";
|
|
22040
22043
|
function LP() {
|
|
22041
|
-
|
|
22042
|
-
|
|
22044
|
+
return new URLSearchParams(u(window.location.search)).get(IP);
|
|
22045
|
+
}
|
|
22046
|
+
function RP() {
|
|
22047
|
+
let e = LP();
|
|
22048
|
+
return e || (e = sessionStorage.getItem(IP)), e;
|
|
22043
22049
|
}
|
|
22044
|
-
function
|
|
22050
|
+
function zP(e, t) {
|
|
22045
22051
|
let n = new URL(e, "https://app.expofp.com/");
|
|
22046
22052
|
for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
|
|
22047
22053
|
return n.href;
|
|
22048
22054
|
}
|
|
22049
22055
|
//#endregion
|
|
22050
22056
|
//#region src/store/ExhibitorStore.ts
|
|
22051
|
-
var
|
|
22052
|
-
function
|
|
22057
|
+
var BP, VP, HP, UP, WP, GP, KP, qP, JP, YP, XP, Q, ZP, QP, $P;
|
|
22058
|
+
function eF(e, t, n, r) {
|
|
22053
22059
|
n && Object.defineProperty(e, t, {
|
|
22054
22060
|
enumerable: n.enumerable,
|
|
22055
22061
|
configurable: n.configurable,
|
|
@@ -22057,7 +22063,7 @@ function $P(e, t, n, r) {
|
|
|
22057
22063
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
22058
22064
|
});
|
|
22059
22065
|
}
|
|
22060
|
-
function
|
|
22066
|
+
function tF(e, t, n, r, i) {
|
|
22061
22067
|
var a = {};
|
|
22062
22068
|
return Object.keys(r).forEach(function(e) {
|
|
22063
22069
|
a[e] = r[e];
|
|
@@ -22065,11 +22071,11 @@ function eF(e, t, n, r, i) {
|
|
|
22065
22071
|
return r(e, t, n) || n;
|
|
22066
22072
|
}, 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;
|
|
22067
22073
|
}
|
|
22068
|
-
var
|
|
22074
|
+
var nF = /*#__PURE__*/ function(e) {
|
|
22069
22075
|
return e[e.Unasked = 0] = "Unasked", e[e.Accepted = 1] = "Accepted", e[e.Rejected = 2] = "Rejected", e[e.Undecided = 3] = "Undecided", e;
|
|
22070
|
-
}({}),
|
|
22076
|
+
}({}), rF = (KP = E({ keepAlive: !0 }), qP = E({ keepAlive: !0 }), JP = E({ keepAlive: !0 }), YP = E({ keepAlive: !0 }), XP = E({ keepAlive: !0 }), Q = class {
|
|
22071
22077
|
constructor(e) {
|
|
22072
|
-
this.rootStore = void 0, this.exhibitors = [], this.timeout = void 0,
|
|
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;
|
|
22073
22079
|
}
|
|
22074
22080
|
get exhibitorById() {
|
|
22075
22081
|
return new Map(this.exhibitors.map((e) => [e.id, e]));
|
|
@@ -22109,8 +22115,8 @@ var tF = /*#__PURE__*/ function(e) {
|
|
|
22109
22115
|
}
|
|
22110
22116
|
setRebookingState(e, t, n) {
|
|
22111
22117
|
clearTimeout(this.timeout), this.rebookingStateChangeRequested = !1, e.rebookingState = t, e.rebookingNote = n;
|
|
22112
|
-
let r =
|
|
22113
|
-
rt:
|
|
22118
|
+
let r = zP("api/v1/set-rebooking-state", {
|
|
22119
|
+
rt: RP(),
|
|
22114
22120
|
expoKey: this.rootStore.fp.eventId
|
|
22115
22121
|
});
|
|
22116
22122
|
fetch(r, {
|
|
@@ -22123,9 +22129,9 @@ var tF = /*#__PURE__*/ function(e) {
|
|
|
22123
22129
|
rebookingNote: n
|
|
22124
22130
|
})
|
|
22125
22131
|
}).then((t) => {
|
|
22126
|
-
t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState =
|
|
22132
|
+
t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState = nF.Unasked, this.rebookingStateSaved = !1);
|
|
22127
22133
|
}).catch(() => {
|
|
22128
|
-
e.rebookingState =
|
|
22134
|
+
e.rebookingState = nF.Unasked, this.rebookingStateSaved = !1;
|
|
22129
22135
|
}).finally(() => {
|
|
22130
22136
|
this.rebookingStateChangeRequested = !0, this.timeout = setTimeout(() => {
|
|
22131
22137
|
this.rebookingStateChangeRequested = !1;
|
|
@@ -22135,87 +22141,87 @@ var tF = /*#__PURE__*/ function(e) {
|
|
|
22135
22141
|
findExhibitor(e) {
|
|
22136
22142
|
return this.exhibitorByExternalId.get(e) || this.exhibitorByName.get(e.toLowerCase()) || this.exhibitorBySlug.get(e);
|
|
22137
22143
|
}
|
|
22138
|
-
},
|
|
22144
|
+
}, ZP = tF(Q.prototype, "highlightedByExternalIds", [D], {
|
|
22139
22145
|
configurable: !0,
|
|
22140
22146
|
enumerable: !0,
|
|
22141
22147
|
writable: !0,
|
|
22142
22148
|
initializer: function() {
|
|
22143
22149
|
return [];
|
|
22144
22150
|
}
|
|
22145
|
-
}),
|
|
22151
|
+
}), QP = tF(Q.prototype, "rebookingStateChangeRequested", [D], {
|
|
22146
22152
|
configurable: !0,
|
|
22147
22153
|
enumerable: !0,
|
|
22148
22154
|
writable: !0,
|
|
22149
22155
|
initializer: function() {
|
|
22150
22156
|
return !1;
|
|
22151
22157
|
}
|
|
22152
|
-
}),
|
|
22158
|
+
}), $P = tF(Q.prototype, "rebookingStateSaved", [D], {
|
|
22153
22159
|
configurable: !0,
|
|
22154
22160
|
enumerable: !0,
|
|
22155
22161
|
writable: !0,
|
|
22156
22162
|
initializer: function() {
|
|
22157
22163
|
return !1;
|
|
22158
22164
|
}
|
|
22159
|
-
}),
|
|
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 {
|
|
22160
22166
|
constructor() {
|
|
22161
|
-
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0,
|
|
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" };
|
|
22162
22168
|
}
|
|
22163
|
-
},
|
|
22169
|
+
}, VP = tF(BP.prototype, "featured", [D], {
|
|
22164
22170
|
configurable: !0,
|
|
22165
22171
|
enumerable: !0,
|
|
22166
22172
|
writable: !0,
|
|
22167
22173
|
initializer: null
|
|
22168
|
-
}),
|
|
22174
|
+
}), HP = tF(BP.prototype, "bookmarked", [D], {
|
|
22169
22175
|
configurable: !0,
|
|
22170
22176
|
enumerable: !0,
|
|
22171
22177
|
writable: !0,
|
|
22172
22178
|
initializer: null
|
|
22173
|
-
}),
|
|
22179
|
+
}), UP = tF(BP.prototype, "visited", [D], {
|
|
22174
22180
|
configurable: !0,
|
|
22175
22181
|
enumerable: !0,
|
|
22176
22182
|
writable: !0,
|
|
22177
22183
|
initializer: null
|
|
22178
|
-
}),
|
|
22184
|
+
}), WP = tF(BP.prototype, "rebookingState", [D], {
|
|
22179
22185
|
configurable: !0,
|
|
22180
22186
|
enumerable: !0,
|
|
22181
22187
|
writable: !0,
|
|
22182
22188
|
initializer: null
|
|
22183
|
-
}),
|
|
22189
|
+
}), GP = tF(BP.prototype, "rebookingNote", [D], {
|
|
22184
22190
|
configurable: !0,
|
|
22185
22191
|
enumerable: !0,
|
|
22186
22192
|
writable: !0,
|
|
22187
22193
|
initializer: null
|
|
22188
|
-
}),
|
|
22189
|
-
[
|
|
22194
|
+
}), BP), aF = {
|
|
22195
|
+
[nF.Unasked]: {
|
|
22190
22196
|
iconName: "icon-question-mark",
|
|
22191
22197
|
color: {
|
|
22192
22198
|
primary: "#8E99AB",
|
|
22193
22199
|
secondary: "#EAEFF9"
|
|
22194
22200
|
}
|
|
22195
22201
|
},
|
|
22196
|
-
[
|
|
22202
|
+
[nF.Accepted]: {
|
|
22197
22203
|
iconName: "icon-checkmark",
|
|
22198
22204
|
color: {
|
|
22199
22205
|
primary: "#32B175",
|
|
22200
22206
|
secondary: "#E4FFF2"
|
|
22201
22207
|
}
|
|
22202
22208
|
},
|
|
22203
|
-
[
|
|
22209
|
+
[nF.Rejected]: {
|
|
22204
22210
|
iconName: "icon-close",
|
|
22205
22211
|
color: {
|
|
22206
22212
|
primary: "#E1463C",
|
|
22207
22213
|
secondary: "#FFEDEB"
|
|
22208
22214
|
}
|
|
22209
22215
|
},
|
|
22210
|
-
[
|
|
22216
|
+
[nF.Undecided]: {
|
|
22211
22217
|
iconName: "icon-switch-horizontal",
|
|
22212
22218
|
color: {
|
|
22213
22219
|
primary: "#FABA27",
|
|
22214
22220
|
secondary: "#FFF7E5"
|
|
22215
22221
|
}
|
|
22216
22222
|
}
|
|
22217
|
-
},
|
|
22218
|
-
function
|
|
22223
|
+
}, oF, sF;
|
|
22224
|
+
function cF(e, t, n, r) {
|
|
22219
22225
|
n && Object.defineProperty(e, t, {
|
|
22220
22226
|
enumerable: n.enumerable,
|
|
22221
22227
|
configurable: n.configurable,
|
|
@@ -22223,7 +22229,7 @@ function sF(e, t, n, r) {
|
|
|
22223
22229
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
22224
22230
|
});
|
|
22225
22231
|
}
|
|
22226
|
-
function
|
|
22232
|
+
function lF(e, t, n, r, i) {
|
|
22227
22233
|
var a = {};
|
|
22228
22234
|
return Object.keys(r).forEach(function(e) {
|
|
22229
22235
|
a[e] = r[e];
|
|
@@ -22231,23 +22237,23 @@ function cF(e, t, n, r, i) {
|
|
|
22231
22237
|
return r(e, t, n) || n;
|
|
22232
22238
|
}, 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;
|
|
22233
22239
|
}
|
|
22234
|
-
var
|
|
22240
|
+
var uF = Sn(), dF = (oF = class e {
|
|
22235
22241
|
constructor(e) {
|
|
22236
|
-
|
|
22242
|
+
cF(this, "selectBgAnimationPart", sF, this), fF(() => e.selected, (e) => this.selectBgAnimationPart = SN(e), 1e3, 8, !0);
|
|
22237
22243
|
}
|
|
22238
22244
|
static get(t) {
|
|
22239
|
-
let n =
|
|
22240
|
-
return n || (n = new e(t),
|
|
22245
|
+
let n = uF().get(t);
|
|
22246
|
+
return n || (n = new e(t), uF().set(t, n)), n;
|
|
22241
22247
|
}
|
|
22242
|
-
},
|
|
22248
|
+
}, sF = lF(oF.prototype, "selectBgAnimationPart", [D], {
|
|
22243
22249
|
configurable: !0,
|
|
22244
22250
|
enumerable: !0,
|
|
22245
22251
|
writable: !0,
|
|
22246
22252
|
initializer: function() {
|
|
22247
22253
|
return 0;
|
|
22248
22254
|
}
|
|
22249
|
-
}),
|
|
22250
|
-
function
|
|
22255
|
+
}), oF);
|
|
22256
|
+
function fF(e, t, n, r, i) {
|
|
22251
22257
|
let a = i ? s : o;
|
|
22252
22258
|
r % 2 == 1 && r++, S(k(e, () => {
|
|
22253
22259
|
if (e()) {
|
|
@@ -22273,12 +22279,12 @@ function dF(e, t, n, r, i) {
|
|
|
22273
22279
|
}
|
|
22274
22280
|
//#endregion
|
|
22275
22281
|
//#region src/components/Map/drawing/config/BoothDrawerBase.ts
|
|
22276
|
-
var
|
|
22282
|
+
var pF = class {
|
|
22277
22283
|
constructor(e) {
|
|
22278
|
-
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape =
|
|
22284
|
+
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape = dF.get(e);
|
|
22279
22285
|
}
|
|
22280
|
-
},
|
|
22281
|
-
function
|
|
22286
|
+
}, mF = /* @__PURE__ */ e(FP(), 1), hF, gF, _F;
|
|
22287
|
+
function vF(e, t, n, r, i) {
|
|
22282
22288
|
var a = {};
|
|
22283
22289
|
return Object.keys(r).forEach(function(e) {
|
|
22284
22290
|
a[e] = r[e];
|
|
@@ -22286,18 +22292,18 @@ function _F(e, t, n, r, i) {
|
|
|
22286
22292
|
return r(e, t, n) || n;
|
|
22287
22293
|
}, 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;
|
|
22288
22294
|
}
|
|
22289
|
-
function vF(e) {
|
|
22290
|
-
return new xF(e);
|
|
22291
|
-
}
|
|
22292
22295
|
function yF(e) {
|
|
22296
|
+
return new SF(e);
|
|
22297
|
+
}
|
|
22298
|
+
function bF(e) {
|
|
22293
22299
|
if (e.length === 0) return null;
|
|
22294
22300
|
let t = e[0];
|
|
22295
22301
|
return e.every((e) => e === t) ? t : null;
|
|
22296
22302
|
}
|
|
22297
|
-
function
|
|
22303
|
+
function xF(e, t) {
|
|
22298
22304
|
let n = [];
|
|
22299
22305
|
for (let r of e) {
|
|
22300
|
-
let e =
|
|
22306
|
+
let e = ZN({
|
|
22301
22307
|
index: r.index,
|
|
22302
22308
|
color: r.color,
|
|
22303
22309
|
unblinking: r.unblinking
|
|
@@ -22306,17 +22312,17 @@ function bF(e, t) {
|
|
|
22306
22312
|
}
|
|
22307
22313
|
return n;
|
|
22308
22314
|
}
|
|
22309
|
-
var
|
|
22315
|
+
var SF = (hF = E({ keepAlive: !0 }), gF = E({ keepAlive: !0 }), _F = class extends pF {
|
|
22310
22316
|
constructor(e) {
|
|
22311
|
-
if (super(e), e.paths) e.shapes =
|
|
22312
|
-
let t = B.monochrome ? (0,
|
|
22317
|
+
if (super(e), e.paths) e.shapes = xF(e.paths, z.layerStore.mode === rL.Default ? "" : e.layer.name).map((e) => {
|
|
22318
|
+
let t = B.monochrome ? (0, SA.default)(e.color).grayscale().rgb().string() : this.getBoothColor().string();
|
|
22313
22319
|
return e.color === "transparent" ? e.color = t : e.defaultColor = e.color, e;
|
|
22314
22320
|
});
|
|
22315
22321
|
else {
|
|
22316
22322
|
let t = e.borderColor === "none" ? 0 : isNaN(e.borderWidth) ? bn.borderWidth : e.borderWidth, n = this.booth.rect.expand(-t / 2), r = this.getBoothColor().string();
|
|
22317
|
-
e.shapes = [
|
|
22323
|
+
e.shapes = [Bk(new Yn(n.center, n.size, this.booth.rotate, this.booth.elevation), r)];
|
|
22318
22324
|
}
|
|
22319
|
-
|
|
22325
|
+
bA(() => this.booth.hover, () => !this.booth.selected && this.update()), bA(() => [
|
|
22320
22326
|
_n.layersLoaded,
|
|
22321
22327
|
this.booth.skipDim,
|
|
22322
22328
|
this.booth.selected,
|
|
@@ -22335,14 +22341,14 @@ var xF = (mF = E({ keepAlive: !0 }), hF = E({ keepAlive: !0 }), gF = class exten
|
|
|
22335
22341
|
}
|
|
22336
22342
|
getBoothPathColor(e) {
|
|
22337
22343
|
if (B.heatmap) return this.getHeatmapColor();
|
|
22338
|
-
let t = this.booth, n = qa.colors.booths.selected, r = (0,
|
|
22344
|
+
let t = this.booth, n = qa.colors.booths.selected, r = (0, SA.default)(this.poiHighlighted ? n : e).hsl();
|
|
22339
22345
|
if (t.selected) {
|
|
22340
22346
|
var i;
|
|
22341
22347
|
if ((i = Dr().__fpSettings) != null && i.fpVer) {
|
|
22342
|
-
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), t = (0,
|
|
22348
|
+
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), t = (0, SA.default)(e === "none" ? n : e);
|
|
22343
22349
|
return B.monochrome ? t.grayscale() : t;
|
|
22344
22350
|
}
|
|
22345
|
-
let e = (0,
|
|
22351
|
+
let e = (0, SA.default)(n).hsl(), t = e.lightness() * this.boothShape.selectBgAnimationPart;
|
|
22346
22352
|
r = r.hue(e.hue()).lightness(t);
|
|
22347
22353
|
} else t.hover && (r = r.darken(.1));
|
|
22348
22354
|
return B.monochrome && (r = r.grayscale()), r;
|
|
@@ -22351,25 +22357,25 @@ var xF = (mF = E({ keepAlive: !0 }), hF = E({ keepAlive: !0 }), gF = class exten
|
|
|
22351
22357
|
let e = this.booth, t = yn.getHeatmapColorForBooth(e);
|
|
22352
22358
|
if (e.selected) {
|
|
22353
22359
|
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
22354
|
-
return (0,
|
|
22360
|
+
return (0, SA.default)(e === "none" ? "#f33" : e);
|
|
22355
22361
|
}
|
|
22356
22362
|
return e.hover ? t.darken(.2).alpha(t.alpha() * 1.5) : t;
|
|
22357
22363
|
}
|
|
22358
22364
|
get defaultColor() {
|
|
22359
22365
|
let e = this.booth, t = qa.colors.booths.default;
|
|
22360
|
-
if (e instanceof
|
|
22361
|
-
else if (e instanceof
|
|
22366
|
+
if (e instanceof Pk) t = e.color || qa.colors.booths.empty;
|
|
22367
|
+
else if (e instanceof Nk) {
|
|
22362
22368
|
if (Er.isRebooking) {
|
|
22363
22369
|
var n, r;
|
|
22364
|
-
if (!((n = e.exhibitors) != null && n.length)) return
|
|
22365
|
-
let t =
|
|
22366
|
-
return t === null ? "#000000" :
|
|
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;
|
|
22367
22373
|
}
|
|
22368
22374
|
let i = qa.colors.booths;
|
|
22369
22375
|
t = e.onHold ? e.holdColor || i.defaultHold : e.exhibitors.length || e.reserved ? e.soldColor || i.defaultSold : e.availColor || i.empty;
|
|
22370
22376
|
}
|
|
22371
22377
|
try {
|
|
22372
|
-
t === "none" && (t = qa.colors.booths.default), (0,
|
|
22378
|
+
t === "none" && (t = qa.colors.booths.default), (0, SA.default)(t);
|
|
22373
22379
|
} catch (e) {
|
|
22374
22380
|
t = qa.colors.booths.default, console.error("Booth: defaultColor", e);
|
|
22375
22381
|
}
|
|
@@ -22377,7 +22383,7 @@ var xF = (mF = E({ keepAlive: !0 }), hF = E({ keepAlive: !0 }), gF = class exten
|
|
|
22377
22383
|
}
|
|
22378
22384
|
get selectedColorInterpolateFunc() {
|
|
22379
22385
|
var e, t;
|
|
22380
|
-
return (0,
|
|
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]);
|
|
22381
22387
|
}
|
|
22382
22388
|
getBoothColor() {
|
|
22383
22389
|
let e = this.booth;
|
|
@@ -22386,25 +22392,25 @@ var xF = (mF = E({ keepAlive: !0 }), hF = E({ keepAlive: !0 }), gF = class exten
|
|
|
22386
22392
|
t = e.error ? "#f33" : Er.isRebooking ? this.defaultColor : e.selected ? this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart) : this.poiHighlighted ? qa.colors.booths.selected : this.defaultColor;
|
|
22387
22393
|
let n;
|
|
22388
22394
|
try {
|
|
22389
|
-
n = (0,
|
|
22395
|
+
n = (0, SA.default)(t === "none" ? "#f33" : t);
|
|
22390
22396
|
} catch {
|
|
22391
|
-
n = (0,
|
|
22397
|
+
n = (0, SA.default)(this.defaultColor);
|
|
22392
22398
|
}
|
|
22393
22399
|
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;
|
|
22394
22400
|
}
|
|
22395
|
-
}, _F
|
|
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);
|
|
22396
22402
|
//#endregion
|
|
22397
22403
|
//#region src/components/Map/drawing/config/config-booth-bookmark.ts
|
|
22398
|
-
function
|
|
22399
|
-
if (!B.kiosk) return new
|
|
22404
|
+
function CF(e) {
|
|
22405
|
+
if (!B.kiosk) return new wF(e);
|
|
22400
22406
|
}
|
|
22401
|
-
var
|
|
22407
|
+
var wF = class extends pF {
|
|
22402
22408
|
constructor(e) {
|
|
22403
|
-
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(
|
|
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(() => [
|
|
22404
22410
|
e.bookmarked,
|
|
22405
22411
|
_n.layersLoaded,
|
|
22406
22412
|
this.booth.skipDim
|
|
22407
|
-
], () => this.update(e.bookmarked), { fireImmediately: e.bookmarked }),
|
|
22413
|
+
], () => this.update(e.bookmarked), { fireImmediately: e.bookmarked }), bA(() => B.mapSettings, ({ roll: e }) => {
|
|
22408
22414
|
ik(e == null ? 0 : e) && (this.shape.onRoll = ({ roll: e, pixelSize: t }) => {
|
|
22409
22415
|
let n = ek(e, this.rect.rotation);
|
|
22410
22416
|
if (n !== 0) return this.rect = $O(this.rect, n), this.layOutBookmark(t), [this.shape];
|
|
@@ -22415,15 +22421,15 @@ var CF = class extends fF {
|
|
|
22415
22421
|
_n.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? 0 : void 0, sd(this.shape));
|
|
22416
22422
|
}
|
|
22417
22423
|
layOutBookmark(e) {
|
|
22418
|
-
return this.shape.bounds = rk(this.rect, po(
|
|
22424
|
+
return this.shape.bounds = rk(this.rect, po(TF), this.padding, e), this.shape.hidden ? [] : [this.shape];
|
|
22419
22425
|
}
|
|
22420
|
-
},
|
|
22426
|
+
}, TF = 11;
|
|
22421
22427
|
//#endregion
|
|
22422
22428
|
//#region src/components/Map/drawing/config/config-booth-border.ts
|
|
22423
|
-
function
|
|
22424
|
-
if (qa.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !bn.borderWidth || e.paths && !e.pathsWithRect)) return new
|
|
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);
|
|
22425
22431
|
}
|
|
22426
|
-
var
|
|
22432
|
+
var DF = class extends pF {
|
|
22427
22433
|
constructor(e) {
|
|
22428
22434
|
super(e), this.shape = void 0;
|
|
22429
22435
|
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) => {
|
|
@@ -22442,7 +22448,7 @@ var EF = class extends fF {
|
|
|
22442
22448
|
};
|
|
22443
22449
|
c(n, r - a / 2, i + o, o), c(n, r + a / 2, i + o, o), c(n - i / 2, r, o, a + o), c(n + i / 2, r, o, a + o);
|
|
22444
22450
|
let l = Wn.merge(...s), u = this.getBorderColor();
|
|
22445
|
-
this.shape =
|
|
22451
|
+
this.shape = Bk(l, u.string()), bA(() => [
|
|
22446
22452
|
this.booth.skipDim,
|
|
22447
22453
|
_n.layersLoaded,
|
|
22448
22454
|
this.booth.hover,
|
|
@@ -22458,85 +22464,85 @@ var EF = class extends fF {
|
|
|
22458
22464
|
let t = yn.getHeatmapColorForBooth(e);
|
|
22459
22465
|
if (e.selected) {
|
|
22460
22466
|
let e = qa.colors.booths.selectedBorder;
|
|
22461
|
-
return e ? (0,
|
|
22467
|
+
return e ? (0, SA.default)(e) : t.darken(.4);
|
|
22462
22468
|
}
|
|
22463
22469
|
return e.hover ? t.darken(.3) : t.darken(.2);
|
|
22464
22470
|
}
|
|
22465
|
-
return (0,
|
|
22471
|
+
return (0, SA.default)((e.selected ? qa.colors.booths.selectedBorder : e.borderColor) || qa.colors.booths.default);
|
|
22466
22472
|
}
|
|
22467
22473
|
getShape() {
|
|
22468
22474
|
return this.shape;
|
|
22469
22475
|
}
|
|
22470
|
-
},
|
|
22471
|
-
function
|
|
22472
|
-
return
|
|
22476
|
+
}, OF = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
|
|
22477
|
+
function kF(e) {
|
|
22478
|
+
return OF.test(e);
|
|
22473
22479
|
}
|
|
22474
22480
|
//#endregion
|
|
22475
22481
|
//#region src/components/Map/drawing/config/label-inset.ts
|
|
22476
|
-
var
|
|
22477
|
-
function
|
|
22478
|
-
let n =
|
|
22482
|
+
var AF = .05;
|
|
22483
|
+
function jF(e, t) {
|
|
22484
|
+
let n = AF * Math.min(t.width, t.height);
|
|
22479
22485
|
return e > 0 && n > 0 ? Math.min(e / 2, n) : 0;
|
|
22480
22486
|
}
|
|
22481
22487
|
//#endregion
|
|
22482
22488
|
//#region src/components/Map/drawing/config/config-booth-labels.ts
|
|
22483
|
-
function
|
|
22489
|
+
function MF() {
|
|
22484
22490
|
return qa.EXPO === "tqs2021" ? "#000" : qa.boothLabelColor;
|
|
22485
22491
|
}
|
|
22486
|
-
var
|
|
22487
|
-
function FF(e) {
|
|
22488
|
-
if (!(!(e instanceof Mk) || e.noLabels)) return new WF(e);
|
|
22489
|
-
}
|
|
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");
|
|
22490
22493
|
function IF(e) {
|
|
22494
|
+
if (!(!(e instanceof Nk) || e.noLabels)) return new GF(e);
|
|
22495
|
+
}
|
|
22496
|
+
function LF(e) {
|
|
22491
22497
|
return Array.isArray(e) && e.length > 0 ? Math.max(...e.map((e) => e)) : typeof e == "number" ? e : -0;
|
|
22492
22498
|
}
|
|
22493
|
-
var
|
|
22499
|
+
var RF = () => {
|
|
22494
22500
|
var e, t;
|
|
22495
22501
|
return !!((e = B.selectedRoute) != null && e.from && (t = B.selectedRoute) != null && t.to);
|
|
22496
22502
|
};
|
|
22497
|
-
function
|
|
22503
|
+
function zF(e, t = [], n = "normal") {
|
|
22498
22504
|
let r = [
|
|
22499
22505
|
...t,
|
|
22500
22506
|
{
|
|
22501
22507
|
weight: 500,
|
|
22502
|
-
url:
|
|
22508
|
+
url: Fk,
|
|
22503
22509
|
style: "normal"
|
|
22504
22510
|
},
|
|
22505
22511
|
{
|
|
22506
22512
|
weight: 300,
|
|
22507
|
-
url:
|
|
22513
|
+
url: Ik,
|
|
22508
22514
|
style: "normal"
|
|
22509
22515
|
}
|
|
22510
22516
|
].find((t) => +t.weight === e && t.style === n);
|
|
22511
|
-
return (r == null ? void 0 : r.url) ||
|
|
22517
|
+
return (r == null ? void 0 : r.url) || Fk;
|
|
22512
22518
|
}
|
|
22513
|
-
function
|
|
22519
|
+
function BF(e, t) {
|
|
22514
22520
|
return Number(getComputedStyle(document.body).getPropertyValue(e)) || t;
|
|
22515
22521
|
}
|
|
22516
|
-
function
|
|
22522
|
+
function VF() {
|
|
22517
22523
|
return {
|
|
22518
|
-
main:
|
|
22519
|
-
details:
|
|
22524
|
+
main: BF(v, 500),
|
|
22525
|
+
details: BF(_, 300)
|
|
22520
22526
|
};
|
|
22521
22527
|
}
|
|
22522
|
-
function
|
|
22528
|
+
function HF() {
|
|
22523
22529
|
return {
|
|
22524
|
-
main:
|
|
22525
|
-
details:
|
|
22530
|
+
main: BF(c, 500),
|
|
22531
|
+
details: BF(l, 300)
|
|
22526
22532
|
};
|
|
22527
22533
|
}
|
|
22528
|
-
function
|
|
22529
|
-
return
|
|
22534
|
+
function UF() {
|
|
22535
|
+
return VF().main;
|
|
22530
22536
|
}
|
|
22531
|
-
var
|
|
22537
|
+
var WF = "Details", GF = class extends pF {
|
|
22532
22538
|
constructor(e) {
|
|
22533
|
-
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 =
|
|
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 = {
|
|
22534
22540
|
horizontal: B.rtl ? "right" : "left",
|
|
22535
22541
|
vertical: "top"
|
|
22536
22542
|
}, this.centerAlignment = {
|
|
22537
22543
|
horizontal: "center",
|
|
22538
22544
|
vertical: "center"
|
|
22539
|
-
}, this.prefixes =
|
|
22545
|
+
}, this.prefixes = NF ? [
|
|
22540
22546
|
{
|
|
22541
22547
|
fontSize: 7,
|
|
22542
22548
|
name: "XS",
|
|
@@ -22549,7 +22555,7 @@ var UF = "Details", WF = class extends fF {
|
|
|
22549
22555
|
},
|
|
22550
22556
|
{
|
|
22551
22557
|
fontSize: 16,
|
|
22552
|
-
name:
|
|
22558
|
+
name: WF,
|
|
22553
22559
|
short: !1
|
|
22554
22560
|
}
|
|
22555
22561
|
] : [
|
|
@@ -22575,15 +22581,15 @@ var UF = "Details", WF = class extends fF {
|
|
|
22575
22581
|
},
|
|
22576
22582
|
{
|
|
22577
22583
|
fontSize: 18,
|
|
22578
|
-
name:
|
|
22584
|
+
name: WF,
|
|
22579
22585
|
short: !1
|
|
22580
22586
|
}
|
|
22581
|
-
], !(e instanceof
|
|
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], {
|
|
22582
22588
|
horizontal: "left",
|
|
22583
22589
|
vertical: "top"
|
|
22584
|
-
}), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(),
|
|
22590
|
+
}), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(), bA(() => _n.layersLoaded && this.booth.skipDim === !0, (e) => {
|
|
22585
22591
|
this.shapeLabel.dim = e ? 0 : void 0, this.shapeDot.dim = e ? 0 : void 0, sd(this.shapeLabel, this.shapeDot);
|
|
22586
|
-
}),
|
|
22592
|
+
}), bA(() => B.mapSettings, ({ roll: e }) => {
|
|
22587
22593
|
ik(e == null ? 0 : e) && (this.shapeLabel.onRoll = ({ roll: e, pixelSize: t }) => {
|
|
22588
22594
|
let n = ek(e, this.shapeLabel.bounds.rotation);
|
|
22589
22595
|
if (n === 0) return;
|
|
@@ -22609,15 +22615,15 @@ var UF = "Details", WF = class extends fF {
|
|
|
22609
22615
|
if (!t && this.shapeDot.hidden) return [];
|
|
22610
22616
|
let n = this.shapeDot.bounds;
|
|
22611
22617
|
return n.scale({
|
|
22612
|
-
x:
|
|
22613
|
-
y:
|
|
22618
|
+
x: Jk * e / n.size.x,
|
|
22619
|
+
y: Jk * e / n.size.y
|
|
22614
22620
|
}, n.center, n), this.shapeDot.hidden = !t, [this.shapeDot];
|
|
22615
22621
|
}
|
|
22616
22622
|
getShapeDot() {
|
|
22617
|
-
this.shapeDot =
|
|
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);
|
|
22618
22624
|
}
|
|
22619
22625
|
createLines() {
|
|
22620
|
-
let e = this.booth, t = [], n = [], r =
|
|
22626
|
+
let e = this.booth, t = [], n = [], r = NF && this.optimizationLevel() >= 3 ? 1 : 3;
|
|
22621
22627
|
if (this.exh.length) {
|
|
22622
22628
|
let i = e.exhibitors.filter((e) => e.order === 0), a = e.exhibitors.filter((e) => e.order);
|
|
22623
22629
|
if (i.length > 0) t.push(...i.map((e) => e.name));
|
|
@@ -22633,14 +22639,14 @@ var UF = "Details", WF = class extends fF {
|
|
|
22633
22639
|
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);
|
|
22634
22640
|
}
|
|
22635
22641
|
B.rtl && t.forEach((e, n) => {
|
|
22636
|
-
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""),
|
|
22642
|
+
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""), kF(e) && (t[n] = t[n] + " ");
|
|
22637
22643
|
}), this.lines = [t, n];
|
|
22638
22644
|
}
|
|
22639
22645
|
calculateFontSizeFactors() {
|
|
22640
|
-
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 ?
|
|
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();
|
|
22641
22647
|
for (let { fontSize: c, short: l } of a) {
|
|
22642
22648
|
let a = c, u = .9 * c, d = lo(a, o), f = lo(u, s), p = Er.hideExhibitorBoothNumber || l, m, h, g, _;
|
|
22643
|
-
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(
|
|
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;
|
|
22644
22650
|
else {
|
|
22645
22651
|
let t = e[0].replace(/[0-9]/g, "3").replace(/[A-Z]/g, "A");
|
|
22646
22652
|
g = this.measureText(t, d).width + 3 + 3, _ = a + 4;
|
|
@@ -22657,19 +22663,19 @@ var UF = "Details", WF = class extends fF {
|
|
|
22657
22663
|
});
|
|
22658
22664
|
}
|
|
22659
22665
|
if (!this.exh.length) {
|
|
22660
|
-
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name ===
|
|
22666
|
+
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === WF);
|
|
22661
22667
|
t && (r.push({
|
|
22662
22668
|
scaleFactor: e.scaleFactor / 1.8,
|
|
22663
22669
|
value: t.fontSize,
|
|
22664
22670
|
lines: []
|
|
22665
22671
|
}), i.push({
|
|
22666
22672
|
scaleFactor: e.scaleFactor / 1.8,
|
|
22667
|
-
value: t.fontSize * (
|
|
22673
|
+
value: t.fontSize * (NF ? 1 : .9),
|
|
22668
22674
|
lines: []
|
|
22669
22675
|
}));
|
|
22670
22676
|
}
|
|
22671
|
-
let c =
|
|
22672
|
-
this.fontUrls = [
|
|
22677
|
+
let c = Lk();
|
|
22678
|
+
this.fontUrls = [zF(o, c), zF(s, c)], this.minZoomDotVisible = LF(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
|
|
22673
22679
|
}
|
|
22674
22680
|
calcArea(e, t) {
|
|
22675
22681
|
return Math.floor(Math.max(0, e) * Math.max(0, t) / 1e3);
|
|
@@ -22678,23 +22684,23 @@ var UF = "Details", WF = class extends fF {
|
|
|
22678
22684
|
return Math.min(Er.viewOptimizationLevel ? Er.viewOptimizationLevel : Math.floor(this.calcArea(this.canvasRect.size.x, this.canvasRect.size.y) / 5e3), 3);
|
|
22679
22685
|
}
|
|
22680
22686
|
measureText(e, t) {
|
|
22681
|
-
return
|
|
22687
|
+
return FF.font = t, FF.measureText(e);
|
|
22682
22688
|
}
|
|
22683
|
-
},
|
|
22689
|
+
}, KF = document.createElement("canvas").getContext("2d"), qF = class {
|
|
22684
22690
|
constructor(e, t, n) {
|
|
22685
|
-
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 =
|
|
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;
|
|
22686
22692
|
}
|
|
22687
22693
|
getStepsForRect(e, t, n) {
|
|
22688
22694
|
let r = e.split(/\s+/), i = r.map((e) => this.ctx.measureText(e).width), a = [], o = Infinity, s = 0;
|
|
22689
22695
|
for (let e of this.fontSizes) {
|
|
22690
|
-
let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f =
|
|
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);
|
|
22691
22697
|
for (let i = 0; i < f.length; i++) {
|
|
22692
22698
|
let l = f[i], p = l, m = i + 1, h = c * m, g = p / t, _ = h / n, v = Math.max(_, g);
|
|
22693
22699
|
if (v > o || m < s) continue;
|
|
22694
22700
|
o = v, s = m;
|
|
22695
|
-
let y = XF(
|
|
22701
|
+
let y = ZF(XF(l, m, u, d), u, d);
|
|
22696
22702
|
if (!y) continue;
|
|
22697
|
-
let b =
|
|
22703
|
+
let b = $F(y, r);
|
|
22698
22704
|
a.push({
|
|
22699
22705
|
scaleFactor: v,
|
|
22700
22706
|
value: e,
|
|
@@ -22705,12 +22711,12 @@ var UF = "Details", WF = class extends fF {
|
|
|
22705
22711
|
return a;
|
|
22706
22712
|
}
|
|
22707
22713
|
};
|
|
22708
|
-
function
|
|
22714
|
+
function JF(e, t, n) {
|
|
22709
22715
|
let r = [], i = 0, a = 1, o = Infinity, s;
|
|
22710
|
-
for (; (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;
|
|
22711
22717
|
return r[a - 1] = i, r;
|
|
22712
22718
|
}
|
|
22713
|
-
function
|
|
22719
|
+
function YF(e, t, n) {
|
|
22714
22720
|
let r = [], i = 0, a = -1;
|
|
22715
22721
|
function o() {
|
|
22716
22722
|
a++, i = 0;
|
|
@@ -22726,7 +22732,7 @@ function JF(e, t, n) {
|
|
|
22726
22732
|
}
|
|
22727
22733
|
return r;
|
|
22728
22734
|
}
|
|
22729
|
-
function
|
|
22735
|
+
function XF(e, t, n, r) {
|
|
22730
22736
|
return i(t, 0);
|
|
22731
22737
|
function i(e, t) {
|
|
22732
22738
|
let r = a(t), o = [];
|
|
@@ -22755,41 +22761,41 @@ function YF(e, t, n, r) {
|
|
|
22755
22761
|
}
|
|
22756
22762
|
}
|
|
22757
22763
|
}
|
|
22758
|
-
function
|
|
22764
|
+
function ZF(e, t, n) {
|
|
22759
22765
|
let r = e.map((e) => ({
|
|
22760
22766
|
ll: e,
|
|
22761
|
-
dd:
|
|
22767
|
+
dd: QF(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
|
|
22762
22768
|
}));
|
|
22763
22769
|
return r.sort((e, t) => e.dd - t.dd), r.map((e) => e.ll)[0];
|
|
22764
22770
|
}
|
|
22765
|
-
function
|
|
22771
|
+
function QF(e) {
|
|
22766
22772
|
let t = e.length, n = e.reduce((e, t) => e + t) / t;
|
|
22767
22773
|
return Math.sqrt(e.map((e) => (e - n) ** 2).reduce((e, t) => e + t) / t);
|
|
22768
22774
|
}
|
|
22769
|
-
function
|
|
22775
|
+
function $F(e, t) {
|
|
22770
22776
|
return e.map((e) => e.map((e) => t[e]).reduce((e, t, n) => e + (n > 0 ? " " : "") + t), "");
|
|
22771
22777
|
}
|
|
22772
22778
|
//#endregion
|
|
22773
22779
|
//#region src/components/Map/drawing/config/config-booth-labels-special.ts
|
|
22774
|
-
var
|
|
22780
|
+
var eI = [
|
|
22775
22781
|
18,
|
|
22776
22782
|
16,
|
|
22777
22783
|
14,
|
|
22778
22784
|
12,
|
|
22779
22785
|
10,
|
|
22780
22786
|
7
|
|
22781
|
-
],
|
|
22782
|
-
function
|
|
22783
|
-
if (!(!(e instanceof
|
|
22787
|
+
], tI = 14;
|
|
22788
|
+
function nI(e) {
|
|
22789
|
+
if (!(!(e instanceof Pk) || e.noLabels)) return new rI(e);
|
|
22784
22790
|
}
|
|
22785
|
-
var
|
|
22791
|
+
var rI = class extends GF {
|
|
22786
22792
|
constructor(e) {
|
|
22787
22793
|
super(e), this.steps = [], this.labelIsVertical = void 0, this.text = "";
|
|
22788
|
-
let t = this.booth.rect, n =
|
|
22789
|
-
x: -(t.size.width *
|
|
22790
|
-
y: -(t.size.height *
|
|
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)
|
|
22791
22797
|
});
|
|
22792
|
-
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 =
|
|
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([{
|
|
22793
22799
|
text: this.text,
|
|
22794
22800
|
color: e.labelColor || qa.boothLabelColor,
|
|
22795
22801
|
fontUrl: n,
|
|
@@ -22821,52 +22827,52 @@ var nI = class extends WF {
|
|
|
22821
22827
|
layOutDot(e) {
|
|
22822
22828
|
let t = this.steps.find((t) => t.scaleFactor < 1 / e), n = this.shapeDot.bounds;
|
|
22823
22829
|
return n.scale({
|
|
22824
|
-
x:
|
|
22825
|
-
y:
|
|
22830
|
+
x: Jk * e / n.size.x,
|
|
22831
|
+
y: Jk * e / n.size.y
|
|
22826
22832
|
}, n.center, n), this.shapeDot.hidden = !!t, [this.shapeDot];
|
|
22827
22833
|
}
|
|
22828
22834
|
setFactors(e) {
|
|
22829
|
-
this.steps = new
|
|
22835
|
+
this.steps = new qF(lo, eI, tI).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
|
|
22830
22836
|
}
|
|
22831
22837
|
setText() {
|
|
22832
22838
|
let e = this.booth.title || this.booth.name, t = `Clicks: ${yn.getTotalClicksByBooth(this.booth)}`;
|
|
22833
22839
|
this.text = B.heatmap ? `${e} - ${t}` : e;
|
|
22834
22840
|
}
|
|
22835
|
-
},
|
|
22836
|
-
function
|
|
22837
|
-
return
|
|
22838
|
-
|
|
22841
|
+
}, iI = Sn();
|
|
22842
|
+
function aI(e, t) {
|
|
22843
|
+
return iI().set(e, t), () => {
|
|
22844
|
+
iI().get(e) === t && iI().delete(e);
|
|
22839
22845
|
};
|
|
22840
22846
|
}
|
|
22841
|
-
function
|
|
22842
|
-
return [...
|
|
22847
|
+
function oI() {
|
|
22848
|
+
return [...iI().values()].map((e) => e());
|
|
22843
22849
|
}
|
|
22844
22850
|
//#endregion
|
|
22845
22851
|
//#region src/utils/getLogoUrl.ts
|
|
22846
|
-
function
|
|
22852
|
+
function sI(e) {
|
|
22847
22853
|
var t, n, r;
|
|
22848
|
-
let i =
|
|
22854
|
+
let i = cI();
|
|
22849
22855
|
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;
|
|
22850
22856
|
}
|
|
22851
|
-
function
|
|
22852
|
-
if (
|
|
22857
|
+
function cI() {
|
|
22858
|
+
if (QN || M) return Er.viewOptimizationLevel ? Er.viewOptimizationLevel >= 5 ? "tiny" : "small" : void 0;
|
|
22853
22859
|
}
|
|
22854
|
-
function
|
|
22860
|
+
function lI(e) {
|
|
22855
22861
|
var t, n;
|
|
22856
22862
|
return Cn((t = (n = e.transform) == null || (n = n.animVal[0]) == null ? void 0 : n.angle) == null ? 0 : t);
|
|
22857
22863
|
}
|
|
22858
|
-
function
|
|
22864
|
+
function uI(e) {
|
|
22859
22865
|
var t;
|
|
22860
22866
|
let n = sr.fromSvg(e);
|
|
22861
22867
|
return {
|
|
22862
22868
|
url: (t = e.getAttribute("data-model-3d")) == null ? "" : t,
|
|
22863
|
-
bounds: Yn.fromMinMax(n.min, n.max,
|
|
22869
|
+
bounds: Yn.fromMinMax(n.min, n.max, lI(e))
|
|
22864
22870
|
};
|
|
22865
22871
|
}
|
|
22866
22872
|
//#endregion
|
|
22867
22873
|
//#region src/components/Map/drawing/config/loadBoothsImages.ts
|
|
22868
|
-
async function
|
|
22869
|
-
let e =
|
|
22874
|
+
async function dI() {
|
|
22875
|
+
let e = oI();
|
|
22870
22876
|
await Promise.all(e.map(async (e) => {
|
|
22871
22877
|
let t = await e;
|
|
22872
22878
|
if (!(t != null && t.children.length)) return;
|
|
@@ -22874,21 +22880,21 @@ async function uI() {
|
|
|
22874
22880
|
n.children.push(...r), sd(n);
|
|
22875
22881
|
}));
|
|
22876
22882
|
}
|
|
22877
|
-
var
|
|
22878
|
-
function
|
|
22883
|
+
var fI = (e) => `${e}:images`, pI = (e) => `${e}:models`;
|
|
22884
|
+
function mI(e) {
|
|
22879
22885
|
let t = /* @__PURE__ */ new Map();
|
|
22880
22886
|
for (let r of e) {
|
|
22881
22887
|
var n;
|
|
22882
22888
|
if (!r.rect) continue;
|
|
22883
|
-
let e = (n =
|
|
22889
|
+
let e = (n = DP(r)) == null ? void 0 : n.logo;
|
|
22884
22890
|
e && t.set(r.id, {
|
|
22885
|
-
preferred:
|
|
22891
|
+
preferred: sI(e),
|
|
22886
22892
|
fallback: e.url
|
|
22887
22893
|
});
|
|
22888
22894
|
}
|
|
22889
22895
|
return t;
|
|
22890
22896
|
}
|
|
22891
|
-
function
|
|
22897
|
+
function hI(e) {
|
|
22892
22898
|
var t;
|
|
22893
22899
|
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 = [];
|
|
22894
22900
|
for (let e of r) (e.hasAttribute("data-model-3d") ? a : i).push(e);
|
|
@@ -22897,7 +22903,7 @@ function mI(e) {
|
|
|
22897
22903
|
models: a
|
|
22898
22904
|
};
|
|
22899
22905
|
}
|
|
22900
|
-
function
|
|
22906
|
+
function gI(e, t) {
|
|
22901
22907
|
let n = e.rect, r = n.size.width, i = n.size.height, a = i ? r / i : 1, o, s, c, l = .9;
|
|
22902
22908
|
a > t ? (s = i * l, o = s * t) : (o = r * l, s = o / t);
|
|
22903
22909
|
let u = e.rotate || 0;
|
|
@@ -22912,35 +22918,35 @@ function hI(e, t) {
|
|
|
22912
22918
|
}
|
|
22913
22919
|
//#endregion
|
|
22914
22920
|
//#region src/components/Map/drawing/config/config-booths.ts
|
|
22915
|
-
var
|
|
22916
|
-
function
|
|
22921
|
+
var _I = (0, Jc.default)("efp:booth-logos");
|
|
22922
|
+
function vI(e, t) {
|
|
22917
22923
|
return ((t) => {
|
|
22918
|
-
let n = e, r = [], i = [], a = [], o = [], s = [], c =
|
|
22924
|
+
let n = e, r = [], i = [], a = [], o = [], s = [], c = fI(n), l = {
|
|
22919
22925
|
name: c,
|
|
22920
22926
|
children: []
|
|
22921
22927
|
};
|
|
22922
22928
|
for (let e of t) {
|
|
22923
22929
|
var u, d, f, p;
|
|
22924
|
-
let t = (u =
|
|
22925
|
-
t && (r.push(...t),
|
|
22926
|
-
let n = (d =
|
|
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();
|
|
22927
22933
|
n && i.push(...n);
|
|
22928
|
-
let c = (f =
|
|
22934
|
+
let c = (f = nI(e)) == null ? void 0 : f.getShape();
|
|
22929
22935
|
if (c && a.push(...c), !qa.borderless) {
|
|
22930
22936
|
var m;
|
|
22931
|
-
let t = (m =
|
|
22937
|
+
let t = (m = EF(e)) == null ? void 0 : m.getShape();
|
|
22932
22938
|
t && o.push(t);
|
|
22933
22939
|
}
|
|
22934
|
-
let l = (p =
|
|
22940
|
+
let l = (p = CF(e)) == null ? void 0 : p.getShape();
|
|
22935
22941
|
l && s.push(l);
|
|
22936
22942
|
}
|
|
22937
22943
|
let h = i.filter((e) => e.lines), g = a.filter((e) => e.lines), _ = i.filter((e) => e.source), v = a.filter((e) => e.source);
|
|
22938
22944
|
if (!B.hideLogoInBooth) {
|
|
22939
|
-
let e =
|
|
22940
|
-
|
|
22941
|
-
let t = await
|
|
22945
|
+
let e = mI(t), n = C();
|
|
22946
|
+
aI(c, async () => {
|
|
22947
|
+
let t = await aP(e, 350);
|
|
22942
22948
|
if (C() !== n) return;
|
|
22943
|
-
let r = [], i =
|
|
22949
|
+
let r = [], i = kP(), a = await Promise.all([...t].map(async ([e, t]) => {
|
|
22944
22950
|
let n = bn.boothById.get(e);
|
|
22945
22951
|
return [
|
|
22946
22952
|
e,
|
|
@@ -22951,15 +22957,15 @@ function _I(e, t) {
|
|
|
22951
22957
|
if (C() === n) {
|
|
22952
22958
|
for (let [e, t, n] of a) {
|
|
22953
22959
|
if (!t) {
|
|
22954
|
-
|
|
22960
|
+
_I("dropped a logo: no booth has id %s", e);
|
|
22955
22961
|
continue;
|
|
22956
22962
|
}
|
|
22957
22963
|
if (!n) {
|
|
22958
|
-
|
|
22964
|
+
_I("dropped the logo of booth %s: the image could not be read", e);
|
|
22959
22965
|
continue;
|
|
22960
22966
|
}
|
|
22961
|
-
let { blob: i, aspectRatio: a } = n, { bounds: o } =
|
|
22962
|
-
s.onRoll = ak(s.bounds, u) ? ({ roll: e }) =>
|
|
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);
|
|
22968
|
+
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);
|
|
22963
22969
|
}
|
|
22964
22970
|
return {
|
|
22965
22971
|
layer: l,
|
|
@@ -22989,7 +22995,7 @@ function _I(e, t) {
|
|
|
22989
22995
|
}
|
|
22990
22996
|
]
|
|
22991
22997
|
};
|
|
22992
|
-
|
|
22998
|
+
bA(() => _n.layersLoaded && RF(), (e) => {
|
|
22993
22999
|
y.dim = e ? 0 : void 0, sd(y);
|
|
22994
23000
|
}, { fireImmediately: !0 });
|
|
22995
23001
|
let b = [];
|
|
@@ -22999,9 +23005,9 @@ function _I(e, t) {
|
|
|
22999
23005
|
{
|
|
23000
23006
|
name: `${e}boothBackground`,
|
|
23001
23007
|
children: r,
|
|
23002
|
-
onPointerMove:
|
|
23003
|
-
onPointerOut:
|
|
23004
|
-
onClick:
|
|
23008
|
+
onPointerMove: _P,
|
|
23009
|
+
onPointerOut: vP,
|
|
23010
|
+
onClick: yP
|
|
23005
23011
|
},
|
|
23006
23012
|
y,
|
|
23007
23013
|
l,
|
|
@@ -23023,7 +23029,7 @@ function _I(e, t) {
|
|
|
23023
23029
|
}
|
|
23024
23030
|
//#endregion
|
|
23025
23031
|
//#region src/components/Map/drawing/config/poi-pin-shape.ts
|
|
23026
|
-
var
|
|
23032
|
+
var yI = {
|
|
23027
23033
|
frame: {
|
|
23028
23034
|
width: 82,
|
|
23029
23035
|
height: 96
|
|
@@ -23041,7 +23047,7 @@ var vI = {
|
|
|
23041
23047
|
offsetY: 2,
|
|
23042
23048
|
blur: 4
|
|
23043
23049
|
}
|
|
23044
|
-
},
|
|
23050
|
+
}, bI = {
|
|
23045
23051
|
frame: {
|
|
23046
23052
|
width: 102,
|
|
23047
23053
|
height: 137
|
|
@@ -23060,7 +23066,7 @@ var vI = {
|
|
|
23060
23066
|
blur: 5
|
|
23061
23067
|
}
|
|
23062
23068
|
};
|
|
23063
|
-
function
|
|
23069
|
+
function xI(e, t, n) {
|
|
23064
23070
|
let r = t / e.bodyWidth * n, i = Math.ceil(e.frame.height * r), a = (e.tipApexY + e.strokeWidth / 2) * r;
|
|
23065
23071
|
return {
|
|
23066
23072
|
scale: r,
|
|
@@ -23069,17 +23075,17 @@ function bI(e, t, n) {
|
|
|
23069
23075
|
tipOffset: (i - a) / n
|
|
23070
23076
|
};
|
|
23071
23077
|
}
|
|
23072
|
-
function
|
|
23078
|
+
function SI(e) {
|
|
23073
23079
|
try {
|
|
23074
|
-
return (0,
|
|
23080
|
+
return (0, SA.default)(e).darken(.41).desaturate(.4).hex();
|
|
23075
23081
|
} catch {
|
|
23076
23082
|
return e;
|
|
23077
23083
|
}
|
|
23078
23084
|
}
|
|
23079
23085
|
//#endregion
|
|
23080
23086
|
//#region src/components/Map/drawing/config/poi-pin.ts
|
|
23081
|
-
var
|
|
23082
|
-
function
|
|
23087
|
+
var CI = .6, wI = "#ffffff", TI = "rgba(0, 0, 0, 0.35)";
|
|
23088
|
+
function EI(e, t) {
|
|
23083
23089
|
let n = document.createElement("canvas");
|
|
23084
23090
|
n.width = t.canvasWidth, n.height = t.canvasHeight;
|
|
23085
23091
|
let r = n.getContext("2d");
|
|
@@ -23089,49 +23095,49 @@ function TI(e, t) {
|
|
|
23089
23095
|
path: new Path2D(e.outline)
|
|
23090
23096
|
};
|
|
23091
23097
|
}
|
|
23092
|
-
function
|
|
23093
|
-
e.shadowColor =
|
|
23098
|
+
function DI(e, t, n) {
|
|
23099
|
+
e.shadowColor = TI, e.shadowOffsetY = t.shadow.offsetY * n, e.shadowBlur = t.shadow.blur * n;
|
|
23094
23100
|
}
|
|
23095
|
-
function
|
|
23101
|
+
function OI(e) {
|
|
23096
23102
|
e.shadowColor = "transparent", e.shadowOffsetY = 0, e.shadowBlur = 0;
|
|
23097
23103
|
}
|
|
23098
|
-
function
|
|
23104
|
+
function kI(e) {
|
|
23099
23105
|
return e.getContext("2d").getImageData(0, 0, e.width, e.height);
|
|
23100
23106
|
}
|
|
23101
|
-
function
|
|
23102
|
-
let a =
|
|
23103
|
-
if (
|
|
23104
|
-
let t = 2 * a.head.innerRadius *
|
|
23105
|
-
r.globalCompositeOperation = "source-in", r.fillStyle =
|
|
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);
|
|
23106
23112
|
let i = n.width / o.scale, s = n.height / o.scale;
|
|
23107
23113
|
c.drawImage(n, u - i / 2, d - s / 2, i, s);
|
|
23108
23114
|
}
|
|
23109
|
-
return
|
|
23115
|
+
return kI(s);
|
|
23110
23116
|
}
|
|
23111
|
-
function
|
|
23112
|
-
let r =
|
|
23113
|
-
return
|
|
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);
|
|
23114
23120
|
}
|
|
23115
23121
|
//#endregion
|
|
23116
23122
|
//#region src/components/Map/drawing/config/config-outdoor-poi.ts
|
|
23117
|
-
var
|
|
23118
|
-
function
|
|
23123
|
+
var MI = (e) => !!e && e !== "transparent" && e !== "none";
|
|
23124
|
+
function NI(e) {
|
|
23119
23125
|
var t, n, r;
|
|
23120
|
-
let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(
|
|
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;
|
|
23121
23127
|
if (!o) return null;
|
|
23122
23128
|
try {
|
|
23123
|
-
return B.monochrome ? (0,
|
|
23129
|
+
return B.monochrome ? (0, SA.default)(o).grayscale().rgb().string() : o;
|
|
23124
23130
|
} catch {
|
|
23125
23131
|
return o;
|
|
23126
23132
|
}
|
|
23127
23133
|
}
|
|
23128
|
-
function
|
|
23134
|
+
function PI() {
|
|
23129
23135
|
return Er.enableExperimentalOutdoorMarkers === !0;
|
|
23130
23136
|
}
|
|
23131
|
-
function
|
|
23137
|
+
function FI(e) {
|
|
23132
23138
|
return e.name.toLowerCase().startsWith(o.toLowerCase());
|
|
23133
23139
|
}
|
|
23134
|
-
async function
|
|
23140
|
+
async function II(e) {
|
|
23135
23141
|
var t, n;
|
|
23136
23142
|
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) => {
|
|
23137
23143
|
let t = c.get(e);
|
|
@@ -23148,40 +23154,40 @@ async function FI(e) {
|
|
|
23148
23154
|
x: u.x,
|
|
23149
23155
|
y: u.y
|
|
23150
23156
|
},
|
|
23151
|
-
icon:
|
|
23157
|
+
icon: AI(c, 40, a, (n = NI(e)) == null ? i : n)
|
|
23152
23158
|
});
|
|
23153
23159
|
})), z.poiMarkerStore.generation === r && z.poiMarkerStore.addMany(o);
|
|
23154
23160
|
}
|
|
23155
|
-
function
|
|
23156
|
-
return !
|
|
23161
|
+
function LI(e, t) {
|
|
23162
|
+
return !PI() || !FI(e) ? !1 : (z.maplibreStore.showMaplibre && II(t.filter((e) => e.poiTypeId && e.rect)), !0);
|
|
23157
23163
|
}
|
|
23158
23164
|
//#endregion
|
|
23159
23165
|
//#region src/components/Map/drawing/config/config-load-layer.ts
|
|
23160
|
-
function
|
|
23161
|
-
return e.childLayers.length ? e.childLayers :
|
|
23166
|
+
function RI(e) {
|
|
23167
|
+
return e.childLayers.length ? e.childLayers : LN(e, e.basePriority, 15).layers;
|
|
23162
23168
|
}
|
|
23163
|
-
async function
|
|
23164
|
-
let n = [], r =
|
|
23165
|
-
if (
|
|
23166
|
-
let i = await
|
|
23169
|
+
async function zI(e, t) {
|
|
23170
|
+
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) => {
|
|
23167
23173
|
var t;
|
|
23168
23174
|
return !!e.logoInBooth && !!((t = e.logo) != null && t.url);
|
|
23169
23175
|
}) && !B.hideLogoInBooth), c = new Map(s.map((e) => [e, e.noLabels]));
|
|
23170
23176
|
s.forEach((e) => e.noLabels = !0), r.length && o.forEach((t, n) => {
|
|
23171
|
-
a.push(
|
|
23177
|
+
a.push(vI(`${e.name}:${f}:${n}`, t));
|
|
23172
23178
|
});
|
|
23173
23179
|
for (let [e, t] of c) e.noLabels = t;
|
|
23174
23180
|
e.loaded = !0;
|
|
23175
|
-
let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d =
|
|
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 = {
|
|
23176
23182
|
name: d,
|
|
23177
23183
|
children: []
|
|
23178
23184
|
}, g = {
|
|
23179
|
-
name:
|
|
23180
|
-
children: m.map(
|
|
23185
|
+
name: pI(e.name),
|
|
23186
|
+
children: m.map(uI)
|
|
23181
23187
|
};
|
|
23182
|
-
p.length &&
|
|
23183
|
-
let e = await
|
|
23184
|
-
for (let { bounds: n, source: r } of e) t.push(
|
|
23188
|
+
p.length && aI(d, async () => {
|
|
23189
|
+
let e = await GN(p), t = [];
|
|
23190
|
+
for (let { bounds: n, source: r } of e) t.push(Vk(r, n));
|
|
23185
23191
|
return {
|
|
23186
23192
|
layer: h,
|
|
23187
23193
|
children: t
|
|
@@ -23193,25 +23199,25 @@ async function RI(e, t) {
|
|
|
23193
23199
|
...u,
|
|
23194
23200
|
name: `${i.name}:fg`
|
|
23195
23201
|
}), p.length && n.push(h), g.children.length && n.push(g);
|
|
23196
|
-
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) =>
|
|
23197
|
-
return n.push(..._), e.children = n, e.configured = !0,
|
|
23202
|
+
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) => zI(e, !0)));
|
|
23203
|
+
return n.push(..._), e.children = n, e.configured = !0, Wk(e.name, n, { hidden: !t });
|
|
23198
23204
|
}
|
|
23199
|
-
async function
|
|
23200
|
-
if (e.configured) return
|
|
23201
|
-
if (z.layerStore.mode !==
|
|
23205
|
+
async function BI(e) {
|
|
23206
|
+
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 {
|
|
23202
23208
|
let t = n().fpSvgLayerJsRefs[e.name];
|
|
23203
23209
|
t && await h(t);
|
|
23204
23210
|
} catch (t) {
|
|
23205
23211
|
console.warn(`Layer data not loaded: ${e.name}`, t);
|
|
23206
23212
|
}
|
|
23207
|
-
let t =
|
|
23213
|
+
let t = RI(e);
|
|
23208
23214
|
t.length && (e.childLayers = t);
|
|
23209
23215
|
let { layers: r } = z.layerStore;
|
|
23210
|
-
return z.layerStore.layers = [...r, ...t.filter((e) => !r.some((t) => t.name === e.name))],
|
|
23216
|
+
return z.layerStore.layers = [...r, ...t.filter((e) => !r.some((t) => t.name === e.name))], zI(e, e.visible);
|
|
23211
23217
|
}
|
|
23212
23218
|
//#endregion
|
|
23213
23219
|
//#region src/utils/shortenName.ts
|
|
23214
|
-
function
|
|
23220
|
+
function VI(e) {
|
|
23215
23221
|
return typeof e == "string" ? e.split(" ").map((e) => {
|
|
23216
23222
|
let t = e.replace(/[^A-Z0-9+-]/gi, ""), n = t.match(/^[-+]?\d+$/);
|
|
23217
23223
|
return n ? n[0] : /^[A-Z]{2,4}$/.test(t) ? t : t.charAt(0).toUpperCase();
|
|
@@ -23219,8 +23225,8 @@ function BI(e) {
|
|
|
23219
23225
|
}
|
|
23220
23226
|
//#endregion
|
|
23221
23227
|
//#region src/store/LayerStore.ts
|
|
23222
|
-
var
|
|
23223
|
-
function
|
|
23228
|
+
var HI, UI, WI, GI, KI, qI, JI, YI, $, XI, ZI, QI, $I;
|
|
23229
|
+
function eL(e, t, n, r) {
|
|
23224
23230
|
n && Object.defineProperty(e, t, {
|
|
23225
23231
|
enumerable: n.enumerable,
|
|
23226
23232
|
configurable: n.configurable,
|
|
@@ -23228,7 +23234,7 @@ function $I(e, t, n, r) {
|
|
|
23228
23234
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
23229
23235
|
});
|
|
23230
23236
|
}
|
|
23231
|
-
function
|
|
23237
|
+
function tL(e, t, n, r, i) {
|
|
23232
23238
|
var a = {};
|
|
23233
23239
|
return Object.keys(r).forEach(function(e) {
|
|
23234
23240
|
a[e] = r[e];
|
|
@@ -23236,41 +23242,41 @@ function eL(e, t, n, r, i) {
|
|
|
23236
23242
|
return r(e, t, n) || n;
|
|
23237
23243
|
}, 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;
|
|
23238
23244
|
}
|
|
23239
|
-
var
|
|
23245
|
+
var nL = [
|
|
23240
23246
|
"money2020usa",
|
|
23241
23247
|
"rodion2",
|
|
23242
23248
|
"possible2025",
|
|
23243
23249
|
"2025virtuosotravelweek",
|
|
23244
23250
|
"zscalerskofy26",
|
|
23245
23251
|
"gamescom2025"
|
|
23246
|
-
],
|
|
23252
|
+
], rL = /*#__PURE__*/ function(e) {
|
|
23247
23253
|
return e[e.Default = 0] = "Default", e[e.Separated = 1] = "Separated", e[e.Radio = 2] = "Radio", e[e.CheckBox = 3] = "CheckBox", e;
|
|
23248
|
-
}({}),
|
|
23254
|
+
}({}), iL = /*#__PURE__*/ function(e) {
|
|
23249
23255
|
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;
|
|
23250
|
-
}({}),
|
|
23256
|
+
}({}), aL = (HI = class {
|
|
23251
23257
|
constructor() {
|
|
23252
|
-
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 =
|
|
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);
|
|
23253
23259
|
}
|
|
23254
23260
|
get shortName() {
|
|
23255
|
-
return
|
|
23261
|
+
return VI(this.description);
|
|
23256
23262
|
}
|
|
23257
|
-
},
|
|
23263
|
+
}, UI = tL(HI.prototype, "loaded", [D], {
|
|
23258
23264
|
configurable: !0,
|
|
23259
23265
|
enumerable: !0,
|
|
23260
23266
|
writable: !0,
|
|
23261
23267
|
initializer: function() {
|
|
23262
23268
|
return !1;
|
|
23263
23269
|
}
|
|
23264
|
-
}),
|
|
23270
|
+
}), WI = tL(HI.prototype, "visible", [D], {
|
|
23265
23271
|
configurable: !0,
|
|
23266
23272
|
enumerable: !0,
|
|
23267
23273
|
writable: !0,
|
|
23268
23274
|
initializer: function() {
|
|
23269
23275
|
return !1;
|
|
23270
23276
|
}
|
|
23271
|
-
}),
|
|
23277
|
+
}), HI), oL = (GI = E({ keepAlive: !0 }), KI = E({ keepAlive: !0 }), qI = E({ keepAlive: !0 }), JI = E({ keepAlive: !0 }), YI = E({ keepAlive: !0 }), $ = class {
|
|
23272
23278
|
constructor() {
|
|
23273
|
-
|
|
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;
|
|
23274
23280
|
}
|
|
23275
23281
|
get visible() {
|
|
23276
23282
|
return this.layers.filter((e) => e.frozen || e.visible);
|
|
@@ -23283,7 +23289,7 @@ var tL = [
|
|
|
23283
23289
|
var t;
|
|
23284
23290
|
return (t = e.viewbox) == null ? e.rect : t;
|
|
23285
23291
|
}).filter((e) => !!e);
|
|
23286
|
-
return this.mode !==
|
|
23292
|
+
return this.mode !== rL.Radio || !e.length ? null : sr.fromUnion(...e) || null;
|
|
23287
23293
|
}
|
|
23288
23294
|
get bounds() {
|
|
23289
23295
|
let e = this.visible.map((e) => {
|
|
@@ -23301,7 +23307,7 @@ var tL = [
|
|
|
23301
23307
|
}
|
|
23302
23308
|
get floors() {
|
|
23303
23309
|
if (!Ja()) return [];
|
|
23304
|
-
let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(z.routeStore.layers.filter((e) => e && e.mode !==
|
|
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();
|
|
23305
23311
|
return t.map((e, n) => {
|
|
23306
23312
|
var r;
|
|
23307
23313
|
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;
|
|
@@ -23321,10 +23327,10 @@ var tL = [
|
|
|
23321
23327
|
this.selectFloorTimeout = window.setTimeout(() => this.selectFloorTimeout = 0, 500);
|
|
23322
23328
|
let t = this.layers.find((t) => t.description === e.description);
|
|
23323
23329
|
if (!t) return;
|
|
23324
|
-
if (this.mode ===
|
|
23330
|
+
if (this.mode === rL.Radio) {
|
|
23325
23331
|
var n;
|
|
23326
23332
|
if (this.updateVisibility(t, !0), z.maplibreStore.showMaplibre) return;
|
|
23327
|
-
if ((n = Dr().__fpSettings) != null && n.fpVer ||
|
|
23333
|
+
if ((n = Dr().__fpSettings) != null && n.fpVer || nL.includes(qa.EXPO)) {
|
|
23328
23334
|
var r;
|
|
23329
23335
|
let e = (r = t.viewbox) == null ? t.rect : r;
|
|
23330
23336
|
z.uiState.moveToRect = e;
|
|
@@ -23342,14 +23348,14 @@ var tL = [
|
|
|
23342
23348
|
z.toursStore.stopTour();
|
|
23343
23349
|
}
|
|
23344
23350
|
updateVisibility(e, t) {
|
|
23345
|
-
if (this.mode ===
|
|
23346
|
-
let n = e instanceof
|
|
23351
|
+
if (this.mode === rL.Radio && !t) return;
|
|
23352
|
+
let n = e instanceof aL ? e : this.findLayer(e);
|
|
23347
23353
|
if (!n || n.visible === t) {
|
|
23348
23354
|
n && z.routeStore.currentRouteLayer !== n && (z.routeStore.currentRouteLayer = n);
|
|
23349
23355
|
return;
|
|
23350
23356
|
}
|
|
23351
|
-
|
|
23352
|
-
this.mode ===
|
|
23357
|
+
BI(n).then(() => {
|
|
23358
|
+
this.mode === rL.Radio && this.layers.filter((e) => !e.pathway).forEach((e) => {
|
|
23353
23359
|
e.name !== n.name && !e.frozen && e.visible && (e.visible = !1, e.childLayers.forEach((e) => {
|
|
23354
23360
|
e.visible = !1;
|
|
23355
23361
|
}));
|
|
@@ -23382,7 +23388,7 @@ var tL = [
|
|
|
23382
23388
|
try {
|
|
23383
23389
|
let t = this.findLayer(e);
|
|
23384
23390
|
if (!t) throw Error(`There is no pathway with this name. ${e}`);
|
|
23385
|
-
await
|
|
23391
|
+
await BI(t);
|
|
23386
23392
|
let n = this.getPathwayList();
|
|
23387
23393
|
j(() => {
|
|
23388
23394
|
n.forEach((t) => {
|
|
@@ -23403,32 +23409,32 @@ var tL = [
|
|
|
23403
23409
|
});
|
|
23404
23410
|
});
|
|
23405
23411
|
}
|
|
23406
|
-
},
|
|
23412
|
+
}, XI = tL($.prototype, "layers", [D], {
|
|
23407
23413
|
configurable: !0,
|
|
23408
23414
|
enumerable: !0,
|
|
23409
23415
|
writable: !0,
|
|
23410
23416
|
initializer: function() {
|
|
23411
23417
|
return [];
|
|
23412
23418
|
}
|
|
23413
|
-
}),
|
|
23419
|
+
}), ZI = tL($.prototype, "defaultLayer", [D], {
|
|
23414
23420
|
configurable: !0,
|
|
23415
23421
|
enumerable: !0,
|
|
23416
23422
|
writable: !0,
|
|
23417
23423
|
initializer: null
|
|
23418
|
-
}),
|
|
23424
|
+
}), QI = tL($.prototype, "mode", [D], {
|
|
23419
23425
|
configurable: !0,
|
|
23420
23426
|
enumerable: !0,
|
|
23421
23427
|
writable: !0,
|
|
23422
23428
|
initializer: function() {
|
|
23423
|
-
return
|
|
23429
|
+
return rL.Default;
|
|
23424
23430
|
}
|
|
23425
|
-
}),
|
|
23431
|
+
}), $I = tL($.prototype, "layersLoaded", [D], {
|
|
23426
23432
|
configurable: !0,
|
|
23427
23433
|
enumerable: !0,
|
|
23428
23434
|
writable: !0,
|
|
23429
23435
|
initializer: function() {
|
|
23430
23436
|
return !1;
|
|
23431
23437
|
}
|
|
23432
|
-
}),
|
|
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), $);
|
|
23433
23439
|
//#endregion
|
|
23434
|
-
export {
|
|
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 };
|