@expofp/floorplan 3.25.2 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-DZ5RJVoX.js → Button-DI5g1CPS.js} +5 -5
- package/dist/browser/{CookieConsent-CNE-7zNI.js → CookieConsent-Qws_nQ3N.js} +7 -7
- package/dist/browser/{Debug-TDQ_xzea.js → Debug-DTNPNDds.js} +7 -7
- package/dist/browser/{Demo-A0X5mRqG.js → Demo-BDZjOBQc.js} +9 -9
- package/dist/browser/{Free-BjYK0xDM.js → Free-Cage9TkV.js} +9 -9
- package/dist/browser/{GalleryContainer-BsQuHOrj.js → GalleryContainer-EeLKgziN.js} +10 -10
- package/dist/browser/{GpsLoader-DoutzmU_.js → GpsLoader-CJMX_mJN.js} +11 -11
- package/dist/browser/{KioskStore-CRN9B487.js → KioskStore-BSza48xl.js} +24 -24
- package/dist/browser/{MaplibreAdapter-W1ZdQQ00.js → MaplibreAdapter-evVQiVQj.js} +245 -245
- package/dist/browser/{ModalContainer-BfZm0B_L.js → ModalContainer-CTKDfIyR.js} +10 -10
- package/dist/browser/{PermissionNotice-Cm6qrOC_.js → PermissionNotice-O469DuWb.js} +6 -6
- package/dist/browser/{SetKioskMode-BlmUmBkH.js → SetKioskMode-DUk4c-Gs.js} +11 -11
- package/dist/browser/{ShowKiosk-B0cj0p6h.js → ShowKiosk-DumFiuHU.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-FFmV-n9m.js → ViewerMenuPanel-ByFemA_T.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-BOW3NQe7.js → add-debug-secret-listener-TLumKuSo.js} +1 -1
- package/dist/browser/{adopt-global-settings-DNTNdr3z.js → adopt-global-settings-ghJrZaU5.js} +9 -9
- package/dist/browser/{boolean-editor-Bx4HLLyu.js → boolean-editor-WIpm-pFP.js} +9 -9
- package/dist/browser/{bootIntercom-C_8HLvxg.js → bootIntercom-BR_Ehbyl.js} +2 -2
- package/dist/browser/{booth-by-xy-DgXTlV8u.js → booth-by-xy-CyZpg1Fn.js} +287 -287
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-DovQg6we.js → classnames-BmlkHMS8.js} +2 -2
- package/dist/browser/{client-CadlVOps.js → client-CIHxJZmk.js} +4 -4
- package/dist/browser/{components-BK-czcTL.js → components-7lxOhyyi.js} +1911 -1902
- package/dist/browser/{debug-overlay-vFTynZrP.js → debug-overlay-B7jCqVlX.js} +10 -10
- package/dist/browser/{debug-ui-BgSppEQg.js → debug-ui-D1ApG52e.js} +6 -6
- package/dist/browser/{dist-CkAU9dsV.js → dist-BrF5yJyj.js} +5 -5
- package/dist/browser/{dist-C1WQpGAq.js → dist-C67OkD_4.js} +6 -6
- package/dist/browser/{dist-gIYlJ33F.js → dist-CnpnDA-V.js} +3 -3
- package/dist/browser/{efp-debug-init-CGEJSmuk.js → efp-debug-init-BqEN61Fo.js} +3 -3
- package/dist/browser/{enum-editor-BZXgS3I-.js → enum-editor-Cy6VeZZd.js} +4 -4
- package/dist/browser/{es5-DoqUhz95.js → es5-DyV1fctu.js} +2 -2
- package/dist/browser/{event-not-found-Dl66nXH1.js → event-not-found-BpFVdXz_.js} +1 -1
- package/dist/browser/{exports-CK5UTqgq.js → exports-C7NzL4lf.js} +1 -1
- package/dist/browser/{favicon-BnTLQysW.js → favicon-BHscWjwp.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D_tGjwEb.js → fetch-retry.umd-BytZeydp.js} +2 -2
- package/dist/browser/{flex-BCrAgMxK.js → flex-BQBLAC6l.js} +5 -5
- package/dist/browser/{floorplan.loader-DXJR9eeS.js → floorplan.loader-DkaQPhwC.js} +10 -10
- package/dist/browser/{floorplan.ready-C0sdmceF.js → floorplan.ready-DwuXZphI.js} +158 -158
- package/dist/browser/{fuse-C7evxCwi.js → fuse-DZTwJ52u.js} +2 -2
- package/dist/browser/{i18n-Cp32ZzDq.js → i18n-Bcv8xw_q.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-CeDH7KeK.js → index.module-BFxDVa3K.js} +4 -4
- package/dist/browser/{integrateKiosk-JZG1AZBF.js → integrateKiosk-VTNZSSfD.js} +4 -4
- package/dist/browser/{is-webview-Be9due3O.js → is-webview-CjItzxdV.js} +1 -1
- package/dist/browser/{jsx-runtime-DwNSQYOA.js → jsx-runtime-CT2c-IhD.js} +2 -2
- package/dist/browser/{kiosk-record-BMwfA16j.js → kiosk-record-v7r7q7t0.js} +1 -1
- package/dist/browser/{lib-DeQ47J_S.js → lib-DGh8lZgT.js} +3 -3
- package/dist/browser/{loadImage-DVBOry5-.js → loadImage-a_ahClbD.js} +4 -4
- package/dist/browser/{logDeviceInfo-uPn7yfGH.js → logDeviceInfo-DHfa6NcE.js} +9 -9
- package/dist/browser/{main-WTEdqNkt.js → main-sUuehgQu.js} +1 -1
- package/dist/browser/{mobx-DFFcUY2e.js → mobx-dAtztuiQ.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DfcaW7-l.js → optional-boolean-editor-D43-yLO3.js} +3 -3
- package/dist/browser/{optional-enum-editor-SEARu4hs.js → optional-enum-editor-Cvn8TV-x.js} +4 -4
- package/dist/browser/{optional-string-editor-COLkp8EA.js → optional-string-editor-sY0yVw_j.js} +4 -4
- package/dist/browser/{particles.min-DHvuM5ou.js → particles.min-BD7iDSr6.js} +2 -2
- package/dist/browser/{react-BNCBBLDK.js → react-BJopqGbW.js} +2 -2
- package/dist/browser/{react-dom-ql8ZgjdB.js → react-dom-B77nDdqp.js} +3 -3
- package/dist/browser/{rolldown-runtime-D0mAPq9J.js → rolldown-runtime-BmHtYG9i.js} +1 -1
- package/dist/browser/{select-CwB0Zi7C.js → select-ByU-Ym6-.js} +10 -10
- package/dist/browser/{settings-MzAuoQZ6.js → settings-CEH1i0Pj.js} +2 -2
- package/dist/browser/{settings-item-Ca6s5CDf.js → settings-item-_PTji9Bz.js} +6 -6
- package/dist/browser/{store-B_c3r86U.js → store-Oj0dGPnb.js} +1098 -1037
- package/dist/browser/{string-editor-BjOeNcgJ.js → string-editor-DaF1t7MK.js} +4 -4
- package/dist/browser/{text-field-6Ccfbuuo.js → text-field-XRLZPyNV.js} +5 -5
- package/dist/browser/{theme-XlV0fBPc.js → theme-D0OZcdto.js} +8 -8
- package/dist/browser/{ui-BopruaHZ.js → ui-7ozfXlN3.js} +8 -8
- package/dist/browser/{useRenderTarget-CdH-VI6E.js → useRenderTarget-BG295f3e.js} +4 -4
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/Speaker.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/services/url-sync.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +9 -0
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/ShortcutRegistry.d.ts +14 -0
- package/dist/esm/store/ShortcutRegistry.js +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +18 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +15 -2
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +3 -3
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/tools/gtag.d.ts +1 -0
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/telemetry.d.ts +2 -0
- package/dist/esm/tools/telemetry.js +1 -1
- package/dist/esm/tools/track-event.d.ts +26 -2
- package/dist/esm/tools/track-event.js +1 -1
- package/package.json +9 -9
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.26.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "53c0d2d8-342a-4f5f-b365-7534c9e2e0e2", e._sentryDebugIdIdentifier = "sentry-dbid-53c0d2d8-342a-4f5f-b365-7534c9e2e0e2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-
|
|
11
|
-
import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as ie, Lt as p, Mt as ae, Nt as oe, Ot as se, Pt as ce, Rt as m, St as le, Tt as ue, U as de, V as fe, _t as pe, bt as me, ct as he, dt as h, f as ge, ft as _e, gt as ve, jt as ye, kt as be, l as g, lt as xe, mt as Se, n as Ce, nt as we, o as Te, pt as Ee, r as De, v as Oe, wt as ke, xt as Ae, y as je, yt as Me, zt as _ } from "./i18n-
|
|
12
|
-
import { s as Ne } from "./efp-debug-init-
|
|
13
|
-
import { t as Pe } from "./react-
|
|
14
|
-
import { t as Fe } from "./jsx-runtime-
|
|
15
|
-
import { r as v } from "./loadImage-
|
|
16
|
-
import { C as y, D as Ie, Q as Le, ht as b, i as Re, n as ze, w as Be } from "./exports-
|
|
17
|
-
import { t as Ve } from "./client-
|
|
18
|
-
import { i as He, n as Ue, r as x, t as We } from "./components-
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BmHtYG9i.js";
|
|
10
|
+
import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-DkaQPhwC.js";
|
|
11
|
+
import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as ie, Lt as p, Mt as ae, Nt as oe, Ot as se, Pt as ce, Rt as m, St as le, Tt as ue, U as de, V as fe, _t as pe, bt as me, ct as he, dt as h, f as ge, ft as _e, gt as ve, jt as ye, kt as be, l as g, lt as xe, mt as Se, n as Ce, nt as we, o as Te, pt as Ee, r as De, v as Oe, wt as ke, xt as Ae, y as je, yt as Me, zt as _ } from "./i18n-Bcv8xw_q.js";
|
|
12
|
+
import { s as Ne } from "./efp-debug-init-BqEN61Fo.js";
|
|
13
|
+
import { t as Pe } from "./react-BJopqGbW.js";
|
|
14
|
+
import { t as Fe } from "./jsx-runtime-CT2c-IhD.js";
|
|
15
|
+
import { r as v } from "./loadImage-a_ahClbD.js";
|
|
16
|
+
import { C as y, D as Ie, Q as Le, ht as b, i as Re, n as ze, w as Be } from "./exports-C7NzL4lf.js";
|
|
17
|
+
import { t as Ve } from "./client-CIHxJZmk.js";
|
|
18
|
+
import { i as He, n as Ue, r as x, t as We } from "./components-7lxOhyyi.js";
|
|
19
|
+
import { $ as Ge, C as Ke, Cn as qe, G as Je, H as Ye, I as Xe, J as S, L as C, P as Ze, Q as Qe, Qt as w, S as T, T as E, U as D, V as O, Z as $e, at as et, c as k, ct as tt, dt as nt, fn as A, ft as rt, gn as j, it as M, l as N, lt as P, nn as it, ot as at, pt as ot, q as st, st as ct, tn as lt, v as ut, w as F, x as dt } from "./store-Oj0dGPnb.js";
|
|
20
|
+
import { n as ft, t as pt } from "./integrateKiosk-VTNZSSfD.js";
|
|
21
21
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
22
|
-
function
|
|
22
|
+
function mt(e = {}) {
|
|
23
23
|
let r = n.document, i = (r == null ? void 0 : r.head) || (r == null ? void 0 : r.body);
|
|
24
24
|
if (!i) {
|
|
25
25
|
a && b.error("[showReportDialog] Global document not defined");
|
|
@@ -55,11 +55,11 @@ function pt(e = {}) {
|
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
57
57
|
var I = /* @__PURE__ */ e(Pe());
|
|
58
|
-
function
|
|
58
|
+
function ht(e) {
|
|
59
59
|
let t = e.match(/^([^.]+)/);
|
|
60
60
|
return t !== null && parseInt(t[0]) >= 17;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function gt(e, t) {
|
|
63
63
|
let n = /* @__PURE__ */ new WeakSet();
|
|
64
64
|
function r(e, t) {
|
|
65
65
|
if (!n.has(e)) {
|
|
@@ -69,25 +69,25 @@ function ht(e, t) {
|
|
|
69
69
|
}
|
|
70
70
|
r(e, t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
if (
|
|
72
|
+
function _t(e, { componentStack: t }, n) {
|
|
73
|
+
if (ht(I.version) && Le(e) && t) {
|
|
74
74
|
let n = Error(e.message);
|
|
75
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
75
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, gt(e, n);
|
|
76
76
|
}
|
|
77
77
|
return ze(e, n);
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
81
|
-
var
|
|
81
|
+
var vt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
82
82
|
componentStack: null,
|
|
83
83
|
error: null,
|
|
84
84
|
eventId: null
|
|
85
|
-
},
|
|
85
|
+
}, yt = class extends I.Component {
|
|
86
86
|
constructor(e) {
|
|
87
87
|
super(e), this.state = L, this._openFallbackReportDialog = !0;
|
|
88
88
|
let t = y();
|
|
89
89
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
90
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
90
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && mt({
|
|
91
91
|
...e.dialogOptions,
|
|
92
92
|
eventId: this._lastEventId
|
|
93
93
|
});
|
|
@@ -97,11 +97,11 @@ var _t = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
97
97
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
98
98
|
Ie((s) => {
|
|
99
99
|
r && r(s, e, n);
|
|
100
|
-
let c =
|
|
100
|
+
let c = _t(e, t, { mechanism: {
|
|
101
101
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
102
102
|
type: "auto.function.react.error_boundary"
|
|
103
103
|
} });
|
|
104
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
104
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && mt({
|
|
105
105
|
...o,
|
|
106
106
|
eventId: c
|
|
107
107
|
})), this.setState({
|
|
@@ -132,22 +132,22 @@ var _t = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
132
132
|
resetError: () => this.resetErrorBoundary(),
|
|
133
133
|
eventId: n.eventId
|
|
134
134
|
}) : e;
|
|
135
|
-
return I.isValidElement(r) ? r : (e &&
|
|
135
|
+
return I.isValidElement(r) ? r : (e && vt && b.warn("fallback did not produce a valid ReactElement"), null);
|
|
136
136
|
}
|
|
137
|
-
},
|
|
138
|
-
function
|
|
137
|
+
}, bt = /* @__PURE__ */ e(Ne(), 1), xt = Ve(), St = qe();
|
|
138
|
+
function Ct(e) {
|
|
139
139
|
var t;
|
|
140
140
|
let n = new URLSearchParams(window.location.search).get(fe), r = g ? window.localStorage.getItem(fe) : null, i = n == null ? r : n;
|
|
141
|
-
return i == null ? g &&
|
|
141
|
+
return i == null ? g && Ge() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function wt() {
|
|
144
144
|
let e = window.location.hostname.split(".");
|
|
145
145
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return
|
|
147
|
+
function Tt() {
|
|
148
|
+
return wt() ? window.location.hostname.split(".")[0] : "main";
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Et(e) {
|
|
151
151
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
152
152
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
153
153
|
if (t) {
|
|
@@ -156,17 +156,17 @@ function Tt(e) {
|
|
|
156
156
|
}
|
|
157
157
|
return "Active";
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Dt() {
|
|
160
160
|
return !1;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ot(e) {
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
let t =
|
|
168
|
-
subDomain:
|
|
169
|
-
subscriptionStatus:
|
|
165
|
+
function kt(e) {
|
|
166
|
+
if (Dt() || !wt() || Ct(e) || !window.navigator.onLine) return null;
|
|
167
|
+
let t = Ot({
|
|
168
|
+
subDomain: Tt(),
|
|
169
|
+
subscriptionStatus: Et(e)
|
|
170
170
|
});
|
|
171
171
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
172
172
|
}
|
|
@@ -185,94 +185,94 @@ var R = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
|
|
|
185
185
|
} } : e)]
|
|
186
186
|
}, { parent: !0 });
|
|
187
187
|
}, e.with = e.check, e.clone = (t, n) => te(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
188
|
-
}),
|
|
188
|
+
}), At = /*@__PURE__*/ m("ZodMiniString", (e, t) => {
|
|
189
189
|
be.init(e, t), R.init(e, t);
|
|
190
190
|
});
|
|
191
191
|
// @__NO_SIDE_EFFECTS__
|
|
192
|
-
function
|
|
193
|
-
return le(
|
|
192
|
+
function jt(e) {
|
|
193
|
+
return le(At, e);
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var Mt = /*@__PURE__*/ m("ZodMiniNumber", (e, t) => {
|
|
196
196
|
ee.init(e, t), R.init(e, t);
|
|
197
197
|
});
|
|
198
198
|
// @__NO_SIDE_EFFECTS__
|
|
199
199
|
function z(e) {
|
|
200
|
-
return me(
|
|
200
|
+
return me(Mt, e);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var Nt = /*@__PURE__*/ m("ZodMiniNever", (e, t) => {
|
|
203
203
|
ue.init(e, t), R.init(e, t);
|
|
204
204
|
});
|
|
205
205
|
// @__NO_SIDE_EFFECTS__
|
|
206
|
-
function
|
|
207
|
-
return Me(
|
|
206
|
+
function Pt(e) {
|
|
207
|
+
return Me(Nt, e);
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Ft = /*@__PURE__*/ m("ZodMiniArray", (e, t) => {
|
|
210
210
|
d.init(e, t), R.init(e, t);
|
|
211
211
|
});
|
|
212
212
|
// @__NO_SIDE_EFFECTS__
|
|
213
|
-
function
|
|
214
|
-
return new
|
|
213
|
+
function It(e, t) {
|
|
214
|
+
return new Ft({
|
|
215
215
|
type: "array",
|
|
216
216
|
element: e,
|
|
217
217
|
...p(t)
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var Lt = /*@__PURE__*/ m("ZodMiniObject", (e, t) => {
|
|
221
221
|
f.init(e, t), R.init(e, t), ie(e, "shape", () => t.shape);
|
|
222
222
|
});
|
|
223
223
|
// @__NO_SIDE_EFFECTS__
|
|
224
224
|
function B(e, t) {
|
|
225
|
-
return new
|
|
225
|
+
return new Lt({
|
|
226
226
|
type: "object",
|
|
227
227
|
shape: e,
|
|
228
|
-
catchall: /* @__PURE__ */
|
|
228
|
+
catchall: /* @__PURE__ */ Pt(),
|
|
229
229
|
...p(t)
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
var
|
|
232
|
+
var Rt = /*@__PURE__*/ m("ZodMiniOptional", (e, t) => {
|
|
233
233
|
se.init(e, t), R.init(e, t);
|
|
234
234
|
});
|
|
235
235
|
// @__NO_SIDE_EFFECTS__
|
|
236
236
|
function V(e) {
|
|
237
|
-
return new
|
|
237
|
+
return new Rt({
|
|
238
238
|
type: "optional",
|
|
239
239
|
innerType: e
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var zt = /*@__PURE__*/ m("ZodMiniCustom", (e, t) => {
|
|
243
243
|
ke.init(e, t), R.init(e, t);
|
|
244
244
|
});
|
|
245
245
|
// @__NO_SIDE_EFFECTS__
|
|
246
|
-
function
|
|
247
|
-
return Ae(
|
|
246
|
+
function Bt(e, t = {}) {
|
|
247
|
+
return Ae(zt, e, t);
|
|
248
248
|
}
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/schemas/sdk.schemas.ts
|
|
251
|
-
var
|
|
251
|
+
var Vt = /* @__PURE__ */ B({
|
|
252
252
|
x: /* @__PURE__ */ z(),
|
|
253
253
|
y: /* @__PURE__ */ z()
|
|
254
|
-
}),
|
|
255
|
-
leftTop:
|
|
256
|
-
rightBottom:
|
|
257
|
-
}),
|
|
258
|
-
name: /* @__PURE__ */ V(/* @__PURE__ */
|
|
259
|
-
externalId: /* @__PURE__ */ V(/* @__PURE__ */
|
|
260
|
-
})).check(/* @__PURE__ */
|
|
261
|
-
booths: /* @__PURE__ */ V(/* @__PURE__ */
|
|
262
|
-
exhibitors: /* @__PURE__ */ V(/* @__PURE__ */
|
|
263
|
-
})).check(/* @__PURE__ */
|
|
254
|
+
}), Ht = /* @__PURE__ */ B({
|
|
255
|
+
leftTop: Vt,
|
|
256
|
+
rightBottom: Vt
|
|
257
|
+
}), Ut = (/* @__PURE__ */ B({
|
|
258
|
+
name: /* @__PURE__ */ V(/* @__PURE__ */ jt()),
|
|
259
|
+
externalId: /* @__PURE__ */ V(/* @__PURE__ */ jt())
|
|
260
|
+
})).check(/* @__PURE__ */ Bt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Wt = (/* @__PURE__ */ B({
|
|
261
|
+
booths: /* @__PURE__ */ V(/* @__PURE__ */ It(Ut)),
|
|
262
|
+
exhibitors: /* @__PURE__ */ V(/* @__PURE__ */ It(Ut))
|
|
263
|
+
})).check(/* @__PURE__ */ Bt((e) => {
|
|
264
264
|
var t, n;
|
|
265
265
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
266
|
-
}, "Selector must contain booths or exhibitors")),
|
|
266
|
+
}, "Selector must contain booths or exhibitors")), Gt = /* @__PURE__ */ V(/* @__PURE__ */ B({ padding: /* @__PURE__ */ V(/* @__PURE__ */ z()) }));
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
269
|
-
function
|
|
270
|
-
let t =
|
|
271
|
-
Object.values(t).length && (
|
|
269
|
+
function Kt(e) {
|
|
270
|
+
let t = ut(e);
|
|
271
|
+
Object.values(t).length && (pt(t, !1), ft(t));
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/utils/getMostFrequent.ts
|
|
275
|
-
function
|
|
275
|
+
function qt(e) {
|
|
276
276
|
let t = {}, n = 0, r;
|
|
277
277
|
return e.forEach((e) => {
|
|
278
278
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -280,7 +280,7 @@ function Kt(e) {
|
|
|
280
280
|
}
|
|
281
281
|
//#endregion
|
|
282
282
|
//#region src/services/multi-slug.ts
|
|
283
|
-
function
|
|
283
|
+
function Jt(e, t) {
|
|
284
284
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
285
285
|
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !h(e).includes("=");
|
|
286
286
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
@@ -288,58 +288,58 @@ function qt(e, t) {
|
|
|
288
288
|
//#endregion
|
|
289
289
|
//#region src/services/url-dispatch.ts
|
|
290
290
|
var H = !1;
|
|
291
|
-
function
|
|
291
|
+
function Yt() {
|
|
292
292
|
G(_()), u(() => k.layerStore.layersLoaded, () => {
|
|
293
293
|
let e = _().camera;
|
|
294
|
-
Object.keys(e).length &&
|
|
294
|
+
Object.keys(e).length && fn(x(e));
|
|
295
295
|
let t = _().visibility;
|
|
296
296
|
Object.keys(t).length && N.setVisibility(t);
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
|
|
299
|
+
function Xt(e) {
|
|
300
|
+
ct({
|
|
301
301
|
offHistory: e,
|
|
302
302
|
onNavigate: W
|
|
303
|
-
}),
|
|
304
|
-
k.urlFilterManager && !k.urlFilterManager.isInitialized && k.urlFilterManager.initialize(), W(), ge(
|
|
303
|
+
}), tn(), U(), u(() => k.layerStore.layersLoaded, () => {
|
|
304
|
+
k.urlFilterManager && !k.urlFilterManager.isInitialized && k.urlFilterManager.initialize(), W(), ge(dn), ge(ln), N.viewerMode && (N.menu = !0);
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
|
-
function
|
|
308
|
-
|
|
307
|
+
function Zt(e = "") {
|
|
308
|
+
P("?" + h(e.toString())), k.layerStore.layersLoaded ? Qt(e) : (U(), u(() => k.layerStore.layersLoaded, () => Qt(e)));
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Qt(e) {
|
|
311
311
|
var t, n;
|
|
312
|
-
let r = "?" + h(e), i =
|
|
312
|
+
let r = "?" + h(e), i = on(r), a = [...(t = i.intents) == null ? [] : t, ...Ee(r).intents], { intents: s = [], ...c } = _e(r, {
|
|
313
313
|
visibility: i.visibility,
|
|
314
314
|
consent: i.consent,
|
|
315
315
|
intents: a
|
|
316
316
|
});
|
|
317
317
|
G(i), G(c);
|
|
318
318
|
let l = (n = i.consent) == null ? c.consent : n;
|
|
319
|
-
l && S(l), i.camera && Object.keys(i.camera).length &&
|
|
319
|
+
l && S(l), i.camera && Object.keys(i.camera).length && fn(x(i.camera)), i.visibility && Object.keys(i.visibility).length && N.setVisibility(i.visibility), tn(), W();
|
|
320
320
|
let u = [...a, ...s];
|
|
321
321
|
u.length && o(k.fp, u);
|
|
322
322
|
}
|
|
323
323
|
function U() {
|
|
324
|
-
let e =
|
|
324
|
+
let e = M();
|
|
325
325
|
return Ue(e.length > 1 ? h(e.substring(1)) : "");
|
|
326
326
|
}
|
|
327
327
|
function W() {
|
|
328
328
|
H = !0;
|
|
329
329
|
try {
|
|
330
|
-
|
|
331
|
-
let { primary: e } = he(
|
|
332
|
-
!U() && !t &&
|
|
330
|
+
Kt(new URLSearchParams(h(window.location.search)));
|
|
331
|
+
let { primary: e } = he(M()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (N.heatmap || N.heatmapYah);
|
|
332
|
+
!U() && !t && $t(e);
|
|
333
333
|
} finally {
|
|
334
334
|
H = !1;
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
ln(), dn();
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function $t(e) {
|
|
339
339
|
let t = k.fp;
|
|
340
340
|
switch (e.type) {
|
|
341
341
|
case "kiosk":
|
|
342
|
-
e.enabled !== null &&
|
|
342
|
+
e.enabled !== null && ot(N, e.enabled);
|
|
343
343
|
return;
|
|
344
344
|
case "list":
|
|
345
345
|
t.showList(e.list);
|
|
@@ -356,7 +356,7 @@ function Qt(e) {
|
|
|
356
356
|
return;
|
|
357
357
|
case "route":
|
|
358
358
|
var n, r;
|
|
359
|
-
k.routeStore.setOnlyAccessible(e.accessible), k.routeStore.selectRoute(
|
|
359
|
+
k.routeStore.setOnlyAccessible(e.accessible), k.routeStore.selectRoute(Ke((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), k.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && k.uiState.setRouteTitle(e.title);
|
|
360
360
|
return;
|
|
361
361
|
case "selectExhibitors":
|
|
362
362
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
@@ -370,30 +370,30 @@ function Qt(e) {
|
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function en(e) {
|
|
374
374
|
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = k.boothStore.booths.filter((e) => n.includes(e.externalId)), a = k.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
375
|
-
if (
|
|
376
|
-
let e =
|
|
375
|
+
if (it()) {
|
|
376
|
+
let e = qt(o.map((e) => e.layer.name));
|
|
377
377
|
e && k.fp.activateFloor({ name: e });
|
|
378
378
|
}
|
|
379
379
|
(n.length > 0 || r.length > 0) && k.fp.highlightEntities([...n, ...r]), k.layerStore.showPathWay(t), o.length > 0 && je(() => {
|
|
380
|
-
k.uiState.moveToRect =
|
|
380
|
+
k.uiState.moveToRect = j.fromUnion(...o.map((e) => e.rect).filter(Boolean)), k.uiState.rollReset = !0;
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let { oneShots: e } = he(
|
|
385
|
-
for (let t of e)
|
|
386
|
-
let t =
|
|
387
|
-
t !== null &&
|
|
383
|
+
function tn() {
|
|
384
|
+
let { oneShots: e } = he(M());
|
|
385
|
+
for (let t of e) nn(t);
|
|
386
|
+
let t = Ye(M());
|
|
387
|
+
t !== null && P("?" + t), N.previewExhibitor && P("?" + N.previewExhibitor.slug), an();
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function nn(e) {
|
|
390
390
|
switch (e.type) {
|
|
391
391
|
case "heatmap":
|
|
392
|
-
|
|
392
|
+
rn(e.yah);
|
|
393
393
|
return;
|
|
394
394
|
case "blueDot": {
|
|
395
395
|
var t, n;
|
|
396
|
-
let r = new
|
|
396
|
+
let r = new dt(e.x, e.y, (t = k.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
397
397
|
u(() => k.layerStore.layersLoaded, () => k.routeStore.selectCurrentPosition(r, !0, 1));
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
@@ -411,30 +411,30 @@ function tn(e) {
|
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
|
|
414
|
+
function rn(e) {
|
|
415
|
+
at(), e ? (N.heatmapYah = !0, N.monochrome = !0, N.hideLogoInBooth = !0, N.hideHeaderLogo = !0, N.disableBookmarked = !0) : N.heatmap = !0;
|
|
416
416
|
}
|
|
417
|
-
function
|
|
418
|
-
let e =
|
|
417
|
+
function an() {
|
|
418
|
+
let e = Jt(M(), (e) => {
|
|
419
419
|
let t = k.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
420
420
|
return t == null ? void 0 : t.name;
|
|
421
421
|
});
|
|
422
|
-
e !== null &&
|
|
422
|
+
e !== null && P(e);
|
|
423
423
|
}
|
|
424
424
|
function G(e) {
|
|
425
|
-
e.noOverlay !== void 0 && (N.hideOverlay = e.noOverlay), e.monochrome && (N.monochrome = !0), e.hideHeaderLogo && (N.hideHeaderLogo = !0), e.hideLogoInBooth && (N.hideLogoInBooth = !0), e.disableFeatured && k.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (N.disableBookmarked = !0), e.disableGps && k.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) &&
|
|
425
|
+
e.noOverlay !== void 0 && (N.hideOverlay = e.noOverlay), e.monochrome && (N.monochrome = !0), e.hideHeaderLogo && (N.hideHeaderLogo = !0), e.hideLogoInBooth && (N.hideLogoInBooth = !0), e.disableFeatured && k.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (N.disableBookmarked = !0), e.disableGps && k.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && rn(e.heatmap.variant === "yah");
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function on(e) {
|
|
428
428
|
return Se(ve, e).value;
|
|
429
429
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
432
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
430
|
+
var sn = null, cn = null, K = null;
|
|
431
|
+
function ln() {
|
|
432
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = un(), i = k.urlFilterManager.filterSearch();
|
|
433
433
|
if (H) return;
|
|
434
434
|
let a = xe(e) || i;
|
|
435
|
-
|
|
435
|
+
M() !== a && (t !== sn || n !== cn || r !== K ? tt(a) : P(a), sn = t, cn = n, K = r);
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function un() {
|
|
438
438
|
let e = N.selectedExhibitor, t = N.selectedBooth, n = N.selectedEventItem, r = N.selectedRoute, i = N.selectedSpeaker, a = N.setKioskModeEnabled, o = N.list, s;
|
|
439
439
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
440
440
|
var c;
|
|
@@ -449,8 +449,8 @@ function ln() {
|
|
|
449
449
|
var l;
|
|
450
450
|
s = {
|
|
451
451
|
type: "route",
|
|
452
|
-
to: r.to instanceof
|
|
453
|
-
from: r.from instanceof
|
|
452
|
+
to: r.to instanceof w ? r.to.slug : void 0,
|
|
453
|
+
from: r.from instanceof w ? r.from.slug : void 0,
|
|
454
454
|
accessible: k.routeStore.onlyAccessible,
|
|
455
455
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
456
456
|
};
|
|
@@ -519,11 +519,11 @@ function ln() {
|
|
|
519
519
|
eventItem: n
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function dn() {
|
|
523
523
|
let e = N.selectedExhibitor, t = N.selectedEventItem, n = N.selectedSpeaker, r = "";
|
|
524
|
-
e ? r = e.name : t ? r = t.name : n ? r = n.name : N.list.type === "search" && N.list.text ? r = "`" + (N.list.text || "") + "`" : N.list.type === "multi-point-tour" && N.tourTitle && (r = N.tourTitle), r.length && (r += " – "), r +=
|
|
524
|
+
e ? r = e.name : t ? r = t.name : n ? r = n.name : N.list.type === "search" && N.list.text ? r = "`" + (N.list.text || "") + "`" : N.list.type === "multi-point-tour" && N.tourTitle && (r = N.tourTitle), r.length && (r += " – "), r += A.title, A.subtitle && (r += " – " + A.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function fn(e) {
|
|
527
527
|
try {
|
|
528
528
|
if (N.setMapSettings(e), e.z) {
|
|
529
529
|
let t = k.layerStore.layers.find((t) => t.name === e.z);
|
|
@@ -607,25 +607,25 @@ function Y(e) {
|
|
|
607
607
|
}
|
|
608
608
|
//#endregion
|
|
609
609
|
//#region src/floorplan.ready.tsx
|
|
610
|
-
var X = Fe(), Z = (0,
|
|
611
|
-
(0,
|
|
612
|
-
var
|
|
610
|
+
var X = Fe(), Z = (0, bt.default)("efp:api");
|
|
611
|
+
(0, St.install)();
|
|
612
|
+
var pn = class extends s {
|
|
613
613
|
constructor(...e) {
|
|
614
614
|
super(...e), this.root = void 0;
|
|
615
615
|
}
|
|
616
616
|
init() {
|
|
617
|
-
|
|
617
|
+
Yt(), this.ignoreQuery || Xt(this.offHistory), Qe("load"), nt(k), k.fp = this, S(this.consent), st(D.Load, ""), this.root = (0, xt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(yt, { children: /* @__PURE__ */ (0, X.jsx)(We, {
|
|
618
618
|
offHistory: this.offHistory,
|
|
619
619
|
consent: this.consent
|
|
620
|
-
}) })),
|
|
620
|
+
}) })), st(D.Rendered, ""), Oe(() => k.layerStore.layersLoaded, () => {
|
|
621
621
|
if (this.resolveReady(), !k.initialized) {
|
|
622
622
|
var e;
|
|
623
623
|
(e = this.onInit) == null || e.call(this, this);
|
|
624
624
|
}
|
|
625
625
|
k.initialized = !0;
|
|
626
626
|
});
|
|
627
|
-
let e =
|
|
628
|
-
e && import("./bootIntercom-
|
|
627
|
+
let e = kt(A);
|
|
628
|
+
e && import("./bootIntercom-BR_Ehbyl.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
629
629
|
}
|
|
630
630
|
selectBooth(e) {
|
|
631
631
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -650,7 +650,7 @@ var fn = class extends s {
|
|
|
650
650
|
k.selectExhibitor(t[0]), k.moveToList([t[0]]);
|
|
651
651
|
return;
|
|
652
652
|
}
|
|
653
|
-
let n =
|
|
653
|
+
let n = qt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
654
654
|
n && k.layerStore.updateVisibility(n, !0), k.uiState.menu = !1, k.searchStore.resetSearchBox(), k.uiState.details = null, k.uiState.list = {
|
|
655
655
|
type: "filter",
|
|
656
656
|
items: t,
|
|
@@ -668,7 +668,7 @@ var fn = class extends s {
|
|
|
668
668
|
}
|
|
669
669
|
highlightEntities(e) {
|
|
670
670
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
671
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
671
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = E(e);
|
|
672
672
|
k.boothStore.highlightedByExternalIds = [...t], k.exhibitorStore.highlightedByExternalIds = [...n];
|
|
673
673
|
}
|
|
674
674
|
selectRoute(e, t) {
|
|
@@ -679,10 +679,10 @@ var fn = class extends s {
|
|
|
679
679
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
680
680
|
return;
|
|
681
681
|
}
|
|
682
|
-
k.routeStore.selectRoute(new
|
|
682
|
+
k.routeStore.selectRoute(new T(Q(n), Q(r), t.map(Q)));
|
|
683
683
|
return;
|
|
684
684
|
}
|
|
685
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), k.routeStore.selectRoute(new
|
|
685
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), k.routeStore.selectRoute(new T(Q(e), Q(t)));
|
|
686
686
|
}
|
|
687
687
|
getOptimizedRoutes(e) {
|
|
688
688
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -695,7 +695,7 @@ var fn = class extends s {
|
|
|
695
695
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
696
696
|
a ? a.push(e) : n.set(t, [e]);
|
|
697
697
|
}
|
|
698
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
698
|
+
return Array.from(n.values()).map((e) => ({ waypoints: Ze(e.map((e) => [e.name, {
|
|
699
699
|
x: e.rect.center.x,
|
|
700
700
|
y: e.rect.center.y
|
|
701
701
|
}])) }));
|
|
@@ -726,7 +726,7 @@ var fn = class extends s {
|
|
|
726
726
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
727
727
|
return;
|
|
728
728
|
}
|
|
729
|
-
let r =
|
|
729
|
+
let r = lt("bookmarked"), i = {
|
|
730
730
|
exhibitor: {
|
|
731
731
|
existingIds: new Set(r.exhibitors || []),
|
|
732
732
|
finder: (e) => k.exhibitorStore.findExhibitor(e),
|
|
@@ -768,7 +768,7 @@ var fn = class extends s {
|
|
|
768
768
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
771
|
-
let r =
|
|
771
|
+
let r = lt("visited"), i = {
|
|
772
772
|
exhibitor: {
|
|
773
773
|
existingIds: new Set(r.exhibitors || []),
|
|
774
774
|
finder: (e) => k.exhibitorStore.findExhibitor(e),
|
|
@@ -911,7 +911,7 @@ var fn = class extends s {
|
|
|
911
911
|
k.uiState.startBuildRoute();
|
|
912
912
|
}
|
|
913
913
|
applyParameters(e) {
|
|
914
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
914
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), Zt(e);
|
|
915
915
|
}
|
|
916
916
|
getVisibility() {
|
|
917
917
|
return k.uiState.visibility;
|
|
@@ -945,12 +945,12 @@ var fn = class extends s {
|
|
|
945
945
|
}
|
|
946
946
|
zoomTo(e, t) {
|
|
947
947
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
948
|
-
let n =
|
|
948
|
+
let n = Wt.safeParse(e);
|
|
949
949
|
if (!n.success) {
|
|
950
950
|
$("zoomTo", n.error.message, "EFP001600");
|
|
951
951
|
return;
|
|
952
952
|
}
|
|
953
|
-
let r =
|
|
953
|
+
let r = Gt.safeParse(t);
|
|
954
954
|
if (!r.success) {
|
|
955
955
|
$("zoomTo", r.error.message, "EFP001601");
|
|
956
956
|
return;
|
|
@@ -961,7 +961,7 @@ var fn = class extends s {
|
|
|
961
961
|
getBounds(e) {
|
|
962
962
|
var t, n;
|
|
963
963
|
Z("getBounds called with selectors=%O", e);
|
|
964
|
-
let r =
|
|
964
|
+
let r = Wt.safeParse(e);
|
|
965
965
|
if (!r.success) {
|
|
966
966
|
$("getBounds", r.error.message, "EFP001400");
|
|
967
967
|
return;
|
|
@@ -977,7 +977,7 @@ var fn = class extends s {
|
|
|
977
977
|
e.rect && i.push(e.rect);
|
|
978
978
|
});
|
|
979
979
|
}), i.length === 0) return;
|
|
980
|
-
let a =
|
|
980
|
+
let a = j.fromUnion(...i);
|
|
981
981
|
return {
|
|
982
982
|
leftTop: {
|
|
983
983
|
x: a.min.x,
|
|
@@ -994,17 +994,17 @@ var fn = class extends s {
|
|
|
994
994
|
k.uiState.fitBounds();
|
|
995
995
|
return;
|
|
996
996
|
}
|
|
997
|
-
let n =
|
|
997
|
+
let n = Ht.safeParse(e);
|
|
998
998
|
if (!n.success) {
|
|
999
999
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1000
1000
|
return;
|
|
1001
1001
|
}
|
|
1002
|
-
let r =
|
|
1002
|
+
let r = Gt.safeParse(t);
|
|
1003
1003
|
if (!r.success) {
|
|
1004
1004
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1005
1005
|
return;
|
|
1006
1006
|
}
|
|
1007
|
-
let i =
|
|
1007
|
+
let i = j.fromMinMax({
|
|
1008
1008
|
x: e.leftTop.x,
|
|
1009
1009
|
y: e.leftTop.y
|
|
1010
1010
|
}, {
|
|
@@ -1017,11 +1017,11 @@ var fn = class extends s {
|
|
|
1017
1017
|
var t;
|
|
1018
1018
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1019
1019
|
let n = (t = F(e)) == null ? void 0 : t.rect;
|
|
1020
|
-
return n ?
|
|
1020
|
+
return n ? hn.fromBox(n) : void 0;
|
|
1021
1021
|
}
|
|
1022
1022
|
convertToGeo(e, t) {
|
|
1023
1023
|
var n;
|
|
1024
|
-
if (!(!(
|
|
1024
|
+
if (!(!(O == null || (n = O.properties) == null) && n.config)) {
|
|
1025
1025
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1026
1026
|
return;
|
|
1027
1027
|
}
|
|
@@ -1029,11 +1029,11 @@ var fn = class extends s {
|
|
|
1029
1029
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1030
1030
|
return;
|
|
1031
1031
|
}
|
|
1032
|
-
return
|
|
1032
|
+
return Xe(e, t, O.properties.config);
|
|
1033
1033
|
}
|
|
1034
1034
|
getGeoConfig() {
|
|
1035
1035
|
var e, t;
|
|
1036
|
-
let n =
|
|
1036
|
+
let n = O == null || (e = O.properties) == null ? void 0 : e.config;
|
|
1037
1037
|
return n ? {
|
|
1038
1038
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1039
1039
|
p0: n.p0,
|
|
@@ -1042,7 +1042,7 @@ var fn = class extends s {
|
|
|
1042
1042
|
} : null;
|
|
1043
1043
|
}
|
|
1044
1044
|
releaseResources() {
|
|
1045
|
-
window.removeEventListener("error", i), k.maplibreStore.dispose(), rt(),
|
|
1045
|
+
window.removeEventListener("error", i), k.maplibreStore.dispose(), et(), rt(), Je(), $e(), this.root.unmount(), super.releaseResources();
|
|
1046
1046
|
}
|
|
1047
1047
|
search(e) {
|
|
1048
1048
|
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), k.fuzzySearchEngineStore.loadEngine().then(() => (k.searchStore.selectSearch(e), k.uiState.fuzzySearchItems.map((e) => ({
|
|
@@ -1088,11 +1088,11 @@ var fn = class extends s {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
showPathway(e, t) {
|
|
1091
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1091
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? E(t) : {
|
|
1092
1092
|
boothExternalIds: [],
|
|
1093
1093
|
exhibitorExternalIds: []
|
|
1094
1094
|
};
|
|
1095
|
-
|
|
1095
|
+
en({
|
|
1096
1096
|
pathwayId: e,
|
|
1097
1097
|
boothIds: n,
|
|
1098
1098
|
exhibitorIds: r
|
|
@@ -1147,7 +1147,7 @@ var fn = class extends s {
|
|
|
1147
1147
|
function Q(e) {
|
|
1148
1148
|
return typeof e == "string" ? F(e) : k.routeStore.getNearestBooth(e);
|
|
1149
1149
|
}
|
|
1150
|
-
var
|
|
1150
|
+
var mn = 0;
|
|
1151
1151
|
function $(e, t, n) {
|
|
1152
1152
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1153
1153
|
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), k.fp.disableRuntimeAlerts) return;
|
|
@@ -1163,16 +1163,16 @@ function $(e, t, n) {
|
|
|
1163
1163
|
children: a
|
|
1164
1164
|
})
|
|
1165
1165
|
] })
|
|
1166
|
-
}), clearTimeout(
|
|
1166
|
+
}), clearTimeout(mn);
|
|
1167
1167
|
let o = 8e3;
|
|
1168
|
-
|
|
1168
|
+
mn = window.setTimeout(() => {
|
|
1169
1169
|
let e = async () => {
|
|
1170
1170
|
k.uiState.globalErrorMessages.length > 0 && (k.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1171
1171
|
};
|
|
1172
1172
|
e();
|
|
1173
1173
|
}, o);
|
|
1174
1174
|
}
|
|
1175
|
-
var
|
|
1175
|
+
var hn = class e {
|
|
1176
1176
|
get h() {
|
|
1177
1177
|
return Math.abs(this.y2 - this.y1);
|
|
1178
1178
|
}
|
|
@@ -1245,4 +1245,4 @@ var mn = class e {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
};
|
|
1247
1247
|
//#endregion
|
|
1248
|
-
export {
|
|
1248
|
+
export { pn as default };
|