@expofp/floorplan 3.7.13 → 3.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-BlzgdaWd.js → Button-Bw2rU4DR.js} +36 -176
- package/dist/browser/{CookieConsent-Di3V-X8h.js → CookieConsent-Cg6F_bop.js} +8 -8
- package/dist/browser/{Debug-BZlyUFmc.js → Debug-D2FxPAx6.js} +8 -8
- package/dist/browser/{Demo-DUydgsB3.js → Demo-CbKUORDI.js} +12 -12
- package/dist/browser/{Free-DIA1EMLc.js → Free-CCt5diJn.js} +12 -12
- package/dist/browser/{Gallery-DAW4KiL1.js → Gallery-DikV7y2O.js} +10 -10
- package/dist/browser/{GpsLoader--obwrc6R.js → GpsLoader-DK17fABw.js} +10 -10
- package/dist/browser/{KioskStore-D1it61vM.js → KioskStore-D2IzX4PD.js} +17 -17
- package/dist/browser/{MaplibreAdapter-CeFT9qgH.js → MaplibreAdapter-Cdj_O3dc.js} +88 -88
- package/dist/browser/{Modal-DV0faLIJ.js → Modal-BZ1LsZ64.js} +10 -10
- package/dist/browser/{PermissionNotice-BYKQ8g6C.js → PermissionNotice-Qy5OZjJx.js} +7 -7
- package/dist/browser/{SetKioskMode-BAFoc2gO.js → SetKioskMode-D-rkGumI.js} +9 -9
- package/dist/browser/ShowKiosk-C4ifT0ai.js +28 -0
- package/dist/browser/{TouchHand-CXYsF1dT.js → TouchHand-2RuQPusV.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CovEly1T.js → ViewerMenuPanel-DB-Xo9_R.js} +10 -9
- package/dist/browser/{add-debug-secret-listener-DE86GG9S.js → add-debug-secret-listener-B6vQoW5d.js} +1 -1
- package/dist/browser/{boolean-editor-BR981REO.js → boolean-editor-BztUNp5J.js} +9 -9
- package/dist/browser/{bootIntercom-DXxrBGqX.js → bootIntercom-CyhvNq9r.js} +3 -3
- package/dist/browser/{browser-Dj_ud2c8.js → browser-Dl6QqUVd.js} +2 -2
- package/dist/browser/bundle.json +63 -60
- package/dist/browser/{classnames-CHULwF6z.js → classnames-C1vHtapl.js} +2 -2
- package/dist/browser/{client-BYVAzdi2.js → client-DpUyEvQj.js} +4 -4
- package/dist/browser/components-DtWIsIkq.js +6429 -0
- package/dist/browser/{createWayfinding-DLLVaTyC.js → createWayfinding-BVv2hHV9.js} +287 -287
- package/dist/browser/{debug-overlay-DVvj6swk.js → debug-overlay-DmoQp6EX.js} +10 -10
- package/dist/browser/{debug-ui-BRRKAtZX.js → debug-ui-Bz5JDxPC.js} +6 -6
- package/dist/browser/{dist-Cq5tNFKw.js → dist-Cbw0umP3.js} +3 -3
- package/dist/browser/{dist-Cgb4wF19.js → dist-Z8RrpBkv.js} +6 -6
- package/dist/browser/{dist-DaryAYqQ.js → dist-cXeLYynN.js} +5 -5
- package/dist/browser/{efp-debug-init-rwOWe1O2.js → efp-debug-init-CPBlk_82.js} +2 -2
- package/dist/browser/{enum-editor-CR45JQmy.js → enum-editor-BNgThR3i.js} +11 -11
- package/dist/browser/{es5-B11Vlohj.js → es5-CMwwFDWC.js} +2 -2
- package/dist/browser/{event-not-found-B6HELay9.js → event-not-found-wOgWWQj_.js} +1 -1
- package/dist/browser/{exports-CmtbTEfF.js → exports-B7YBEfSt.js} +1 -1
- package/dist/browser/{favicon-DccoXcBC.js → favicon-C5TytmGw.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D4Vzbnxk.js → fetch-retry.umd-diPTbDpQ.js} +2 -2
- package/dist/browser/{flex-AywRJbJ0.js → flex-tQ_pRPMh.js} +5 -5
- package/dist/browser/{floorplan.loader-CCpLJDP5.js → floorplan.loader-C37lEsAw.js} +11 -11
- package/dist/browser/{floorplan.ready-BCyer9bb.js → floorplan.ready-BqAKsSHu.js} +276 -276
- package/dist/browser/{fuse-4HG5n72t.js → fuse-C5oNpAqA.js} +2 -2
- package/dist/browser/{i18n-MesFjGZS.js → i18n-C4cY1vPb.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/index.module-D43jVtM-.js +153 -0
- package/dist/browser/{is-webview-xYscAEnc.js → is-webview-DGy3FIDn.js} +1 -1
- package/dist/browser/{jsx-runtime-DqyDi4Nx.js → jsx-runtime-BtHP4gKJ.js} +2 -2
- package/dist/browser/{lib-DdhQwEEf.js → lib-B7gHIqUz.js} +4 -4
- package/dist/browser/{loadImage-pXXn1s5b.js → loadImage-Bbdo2oJg.js} +4 -4
- package/dist/browser/{logDeviceInfo-B706j8QR.js → logDeviceInfo-8PaHmUQI.js} +9 -9
- package/dist/browser/{main-ESIYWzxK.js → main-Zc4W3FhR.js} +1 -1
- package/dist/browser/{mobx-DqpkfGVc.js → mobx-DkKmIOWe.js} +4 -4
- package/dist/browser/{particles.min-Dp5FST_O.js → particles.min-BAHCca3J.js} +2 -2
- package/dist/browser/{prop-types-U8xivW60.js → prop-types-XYJZaoNk.js} +2 -2
- package/dist/browser/{react-XV4Fl4yE.js → react-CNjituVz.js} +2 -2
- package/dist/browser/{react-dom-BwQq19tb.js → react-dom-Dg0lPUat.js} +3 -3
- package/dist/browser/{reset-all-settings-Dj65k7Ll.js → reset-all-settings-DC1I9Z62.js} +7 -7
- package/dist/browser/{rolldown-runtime-BCovGSBQ.js → rolldown-runtime-DB-F2T_p.js} +1 -1
- package/dist/browser/{settings-UtDFOo_-.js → settings-BbUH3X-c.js} +2 -2
- package/dist/browser/{settings-item-mT8oiyqT.js → settings-item-Bx-ykFAz.js} +6 -6
- package/dist/browser/{store-r6IOs_hY.js → store-BBGqjwE5.js} +4436 -4486
- package/dist/browser/{string-editor-BE-QdYgs.js → string-editor-KHIwnccQ.js} +7 -7
- package/dist/browser/{theme-IX3aGLRS.js → theme-CpvxRxec.js} +8 -8
- package/dist/browser/{ui-DnRltnaD.js → ui-DjzupJ1a.js} +8 -8
- package/dist/browser/{useRenderTarget-CF6946wD.js → useRenderTarget-EL-n_0Va.js} +5 -5
- package/dist/esm/components/AlertContainer.d.ts +1 -4
- package/dist/esm/components/AlertContainer.js +1 -1
- package/dist/esm/components/AutocompleteContainer.d.ts +4 -0
- package/dist/esm/components/AutocompleteContainer.js +1 -0
- package/dist/esm/components/EntityListRow.d.ts +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/EventBadgeContainer.d.ts +8 -0
- package/dist/esm/components/EventBadgeContainer.js +1 -0
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/LanguageRowContainer.d.ts +6 -0
- package/dist/esm/components/LanguageRowContainer.js +1 -0
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/RebookingNotesContainer.d.ts +4 -0
- package/dist/esm/components/RebookingNotesContainer.js +1 -0
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +6 -0
- package/dist/esm/components/RebookingRadioGroupContainer.js +1 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.js +1 -1
- package/dist/esm/components/RouteQR.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/ShareContainer.d.ts +7 -0
- package/dist/esm/components/ShareContainer.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +2 -2
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/index.d.ts +59 -58
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/data/svg.d.ts +1 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +8 -2
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/tools/rebooking-config.d.ts +10 -0
- package/dist/esm/tools/rebooking-config.js +1 -0
- package/dist/esm/ui/Autocomplete/Autocomplete.d.ts +21 -0
- package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -0
- package/dist/esm/ui/Autocomplete/index.d.ts +3 -0
- package/dist/esm/ui/Autocomplete/index.js +1 -0
- package/dist/esm/ui/EventBadge/EventBadge.d.ts +13 -0
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -0
- package/dist/esm/ui/EventBadge/index.d.ts +3 -0
- package/dist/esm/ui/EventBadge/index.js +1 -0
- package/dist/esm/ui/RebookingNotes/RebookingNotes.d.ts +11 -0
- package/dist/esm/ui/RebookingNotes/RebookingNotes.js +1 -0
- package/dist/esm/ui/RebookingNotes/index.d.ts +3 -0
- package/dist/esm/ui/RebookingNotes/index.js +1 -0
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.d.ts +17 -0
- package/dist/esm/ui/RebookingRadioGroup/RebookingRadioGroup.js +1 -0
- package/dist/esm/ui/RebookingRadioGroup/index.d.ts +3 -0
- package/dist/esm/ui/RebookingRadioGroup/index.js +1 -0
- package/dist/esm/ui/Share/Share.d.ts +22 -0
- package/dist/esm/ui/Share/Share.js +1 -0
- package/dist/esm/ui/Share/index.d.ts +3 -0
- package/dist/esm/ui/Share/index.js +1 -0
- package/dist/esm/ui/shared/hooks/useOnClickOutside.d.ts +4 -0
- package/dist/esm/ui/shared/hooks/useOnClickOutside.js +1 -0
- package/dist/esm/utils/eventTime.d.ts +4 -3
- package/dist/esm/utils/eventTime.js +1 -1
- package/dist/esm/{components/QrCode.d.ts → utils/lazy-qr-code.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/browser/ShowKiosk-C99crvRZ.js +0 -28
- package/dist/browser/components-Cv1PB0jO.js +0 -6341
- package/dist/esm/components/Autocomplete.d.ts +0 -17
- package/dist/esm/components/Autocomplete.js +0 -1
- package/dist/esm/components/EventBadge.d.ts +0 -10
- package/dist/esm/components/EventBadge.js +0 -1
- package/dist/esm/components/LanguageRow.d.ts +0 -7
- package/dist/esm/components/LanguageRow.js +0 -1
- package/dist/esm/components/RebookingNotes.d.ts +0 -12
- package/dist/esm/components/RebookingNotes.js +0 -1
- package/dist/esm/components/RebookingRadioGroup.d.ts +0 -24
- package/dist/esm/components/RebookingRadioGroup.js +0 -1
- package/dist/esm/components/Share.d.ts +0 -9
- package/dist/esm/components/Share.js +0 -1
- /package/dist/esm/{components/QrCode.js → utils/lazy-qr-code.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.15" };
|
|
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] = "8b5d72af-e401-47b5-9646-12c4fd76bad8", e._sentryDebugIdIdentifier = "sentry-dbid-8b5d72af-e401-47b5-9646-12c4fd76bad8");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./browser-
|
|
13
|
-
import { G as i, J as a, U as o, W as s, _ as c, c as l, n as u, r as d } from "./i18n-
|
|
14
|
-
import { a as f, i as p, n as m, r as h, t as ee } from "./floorplan.loader-
|
|
15
|
-
import { C as te, E as ne, S as re, Z as ie, i as ae, n as oe, pt as g } from "./exports-
|
|
16
|
-
import { t as se } from "./client-
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DB-F2T_p.js";
|
|
10
|
+
import { t } from "./react-CNjituVz.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BtHP4gKJ.js";
|
|
12
|
+
import { t as r } from "./browser-Dl6QqUVd.js";
|
|
13
|
+
import { G as i, J as a, U as o, W as s, _ as c, c as l, n as u, r as d } from "./i18n-C4cY1vPb.js";
|
|
14
|
+
import { a as f, i as p, n as m, r as h, t as ee } from "./floorplan.loader-C37lEsAw.js";
|
|
15
|
+
import { C as te, E as ne, S as re, Z as ie, i as ae, n as oe, pt as g } from "./exports-B7YBEfSt.js";
|
|
16
|
+
import { t as se } from "./client-DpUyEvQj.js";
|
|
17
|
+
import { A as _, C as ce, O as le, S as ue, T as de, U as fe, _ as pe, b as me, bt as he, ct as v, fn as ge, ft as _e, h as ve, it as y, k as ye, o as b, rt as be, un as x, w as xe, y as Se, yt as Ce } from "./store-BBGqjwE5.js";
|
|
18
|
+
import { t as we } from "./components-DtWIsIkq.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.59.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
|
-
function
|
|
20
|
+
function S(e = {}) {
|
|
21
21
|
let t = h.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
22
22
|
if (!n) {
|
|
23
23
|
m && g.error("[showReportDialog] Global document not defined");
|
|
@@ -52,12 +52,12 @@ function C(e = {}) {
|
|
|
52
52
|
}
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region ../../node_modules/.pnpm/@sentry+react@10.59.0_react@19.2.7/node_modules/@sentry/react/build/esm/error.js
|
|
55
|
-
var
|
|
56
|
-
function
|
|
55
|
+
var C = /* @__PURE__ */ e(t());
|
|
56
|
+
function Te(e) {
|
|
57
57
|
let t = e.match(/^([^.]+)/);
|
|
58
58
|
return t !== null && parseInt(t[0]) >= 17;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Ee(e, t) {
|
|
61
61
|
let n = /* @__PURE__ */ new WeakSet();
|
|
62
62
|
function r(e, t) {
|
|
63
63
|
if (!n.has(e)) {
|
|
@@ -67,25 +67,25 @@ function Te(e, t) {
|
|
|
67
67
|
}
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
70
|
+
function De(e, { componentStack: t }, n) {
|
|
71
|
+
if (Te(C.version) && ie(e) && t) {
|
|
72
72
|
let n = Error(e.message);
|
|
73
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
73
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Ee(e, n);
|
|
74
74
|
}
|
|
75
75
|
return oe(e, n);
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/@sentry+react@10.59.0_react@19.2.7/node_modules/@sentry/react/build/esm/debug-build.js
|
|
79
|
-
var
|
|
79
|
+
var Oe = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
80
80
|
componentStack: null,
|
|
81
81
|
error: null,
|
|
82
82
|
eventId: null
|
|
83
|
-
},
|
|
83
|
+
}, ke = class extends C.Component {
|
|
84
84
|
constructor(e) {
|
|
85
|
-
super(e), this.state =
|
|
85
|
+
super(e), this.state = w, this._openFallbackReportDialog = !0;
|
|
86
86
|
let t = re();
|
|
87
87
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
88
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
88
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && S({
|
|
89
89
|
...e.dialogOptions,
|
|
90
90
|
eventId: this._lastEventId
|
|
91
91
|
});
|
|
@@ -95,11 +95,11 @@ var De = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
95
95
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
96
96
|
ne((s) => {
|
|
97
97
|
r && r(s, e, n);
|
|
98
|
-
let c =
|
|
98
|
+
let c = De(e, t, { mechanism: {
|
|
99
99
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
100
100
|
type: "auto.function.react.error_boundary"
|
|
101
101
|
} });
|
|
102
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
102
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && S({
|
|
103
103
|
...o,
|
|
104
104
|
eventId: c
|
|
105
105
|
})), this.setState({
|
|
@@ -115,36 +115,36 @@ var De = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
115
115
|
}
|
|
116
116
|
componentWillUnmount() {
|
|
117
117
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
118
|
-
r && (this.state ===
|
|
118
|
+
r && (this.state === w ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
119
119
|
}
|
|
120
120
|
resetErrorBoundary() {
|
|
121
121
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
122
|
-
e && e(t, n, r), this.setState(
|
|
122
|
+
e && e(t, n, r), this.setState(w);
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
126
126
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
127
|
-
let r = typeof e == "function" ?
|
|
127
|
+
let r = typeof e == "function" ? C.createElement(e, {
|
|
128
128
|
error: n.error,
|
|
129
129
|
componentStack: n.componentStack,
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return
|
|
133
|
+
return C.isValidElement(r) ? r : (e && Oe && g.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
},
|
|
136
|
-
function
|
|
135
|
+
}, Ae = /* @__PURE__ */ e(r(), 1), je = se(), Me = he();
|
|
136
|
+
function Ne() {
|
|
137
137
|
let e = new URLSearchParams(window.location.search).get(o), t = l ? window.localStorage.getItem(o) : null, n = e == null ? t : e;
|
|
138
|
-
return n == null ? l &&
|
|
138
|
+
return n == null ? l && _e() != null : n === "1";
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Pe() {
|
|
141
141
|
let e = window.location.hostname.split(".");
|
|
142
142
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
return
|
|
144
|
+
function Fe() {
|
|
145
|
+
return Pe() ? window.location.hostname.split(".")[0] : "main";
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Ie(e) {
|
|
148
148
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
149
149
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
150
150
|
if (t) {
|
|
@@ -153,22 +153,22 @@ function Fe(e) {
|
|
|
153
153
|
}
|
|
154
154
|
return "Active";
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Le() {
|
|
157
157
|
return !1;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Re(e) {
|
|
160
160
|
return e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
if (
|
|
164
|
-
let t =
|
|
165
|
-
subDomain:
|
|
166
|
-
subscriptionStatus:
|
|
162
|
+
function ze(e) {
|
|
163
|
+
if (Le() || !Pe() || Ne() || !window.navigator.onLine) return null;
|
|
164
|
+
let t = Re({
|
|
165
|
+
subDomain: Fe(),
|
|
166
|
+
subscriptionStatus: Ie(e)
|
|
167
167
|
});
|
|
168
168
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
169
169
|
}
|
|
170
170
|
Object.freeze({ status: "aborted" });
|
|
171
|
-
function
|
|
171
|
+
function T(e, t, n) {
|
|
172
172
|
var r;
|
|
173
173
|
function i(n, r) {
|
|
174
174
|
if (n._zod || Object.defineProperty(n, "_zod", {
|
|
@@ -201,20 +201,20 @@ function E(e, t, n) {
|
|
|
201
201
|
return n != null && n.Parent && t instanceof n.Parent ? !0 : t == null || (r = t._zod) == null || (r = r.traits) == null ? void 0 : r.has(e);
|
|
202
202
|
} }), Object.defineProperty(s, "name", { value: e }), s;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var E = class extends Error {
|
|
205
205
|
constructor() {
|
|
206
206
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
207
207
|
}
|
|
208
|
-
},
|
|
209
|
-
function
|
|
210
|
-
return e && Object.assign(
|
|
208
|
+
}, Be = {};
|
|
209
|
+
function D(e) {
|
|
210
|
+
return e && Object.assign(Be, e), Be;
|
|
211
211
|
}
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
214
|
-
function
|
|
214
|
+
function Ve(e, t) {
|
|
215
215
|
return typeof t == "bigint" ? t.toString() : t;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function He(e) {
|
|
218
218
|
return { get value() {
|
|
219
219
|
{
|
|
220
220
|
let t = e();
|
|
@@ -223,16 +223,16 @@ function Ve(e) {
|
|
|
223
223
|
throw Error("cached value already set");
|
|
224
224
|
} };
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ue(e) {
|
|
227
227
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
228
228
|
return e.slice(t, n);
|
|
229
229
|
}
|
|
230
|
-
var
|
|
230
|
+
var O = Symbol("evaluating");
|
|
231
231
|
function k(e, t, n) {
|
|
232
232
|
let r;
|
|
233
233
|
Object.defineProperty(e, t, {
|
|
234
234
|
get() {
|
|
235
|
-
if (r !==
|
|
235
|
+
if (r !== O) return r === void 0 && (r = O, r = n()), r;
|
|
236
236
|
},
|
|
237
237
|
set(n) {
|
|
238
238
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -240,15 +240,15 @@ function k(e, t, n) {
|
|
|
240
240
|
configurable: !0
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
var
|
|
244
|
-
function
|
|
243
|
+
var A = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
244
|
+
function We(e) {
|
|
245
245
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Ge(e, t, n) {
|
|
248
248
|
let r = new e._zod.constr(t == null ? e._zod.def : t);
|
|
249
249
|
return (!t || n != null && n.parent) && (r._zod.parent = e), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function j(e) {
|
|
252
252
|
let t = e;
|
|
253
253
|
if (!t) return {};
|
|
254
254
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -261,11 +261,11 @@ function A(e) {
|
|
|
261
261
|
error: () => t.error
|
|
262
262
|
} : t;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ke(e) {
|
|
265
265
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
266
266
|
}
|
|
267
267
|
-Number.MAX_VALUE, Number.MAX_VALUE;
|
|
268
|
-
function
|
|
268
|
+
function M(e, t = 0) {
|
|
269
269
|
if (e.aborted === !0) return !0;
|
|
270
270
|
for (let r = t; r < e.issues.length; r++) {
|
|
271
271
|
var n;
|
|
@@ -273,16 +273,16 @@ function j(e, t = 0) {
|
|
|
273
273
|
}
|
|
274
274
|
return !1;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function N(e, t) {
|
|
277
277
|
return t.map((t) => {
|
|
278
278
|
var n;
|
|
279
279
|
return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function P(e) {
|
|
283
283
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function F(e, t, n) {
|
|
286
286
|
var r;
|
|
287
287
|
let i = {
|
|
288
288
|
...e,
|
|
@@ -290,11 +290,11 @@ function P(e, t, n) {
|
|
|
290
290
|
};
|
|
291
291
|
if (!e.message) {
|
|
292
292
|
var a, o, s, c, l, u, d, f, p;
|
|
293
|
-
i.message = (a = (o = (s = (c =
|
|
293
|
+
i.message = (a = (o = (s = (c = P((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? P(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? P((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? P((p = n.localeError) == null ? void 0 : p.call(n, e)) : o) == null ? "Invalid input" : a;
|
|
294
294
|
}
|
|
295
295
|
return delete i.inst, delete i.continue, t != null && t.reportInput || delete i.input, i;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function qe(...e) {
|
|
298
298
|
let [t, n, r] = e;
|
|
299
299
|
return typeof t == "string" ? {
|
|
300
300
|
message: t,
|
|
@@ -305,41 +305,41 @@ function Je(...e) {
|
|
|
305
305
|
}
|
|
306
306
|
//#endregion
|
|
307
307
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
308
|
-
var
|
|
308
|
+
var I = (e, t) => {
|
|
309
309
|
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
|
|
310
310
|
value: e._zod,
|
|
311
311
|
enumerable: !1
|
|
312
312
|
}), Object.defineProperty(e, "issues", {
|
|
313
313
|
value: t,
|
|
314
314
|
enumerable: !1
|
|
315
|
-
}), e.message = JSON.stringify(t,
|
|
315
|
+
}), e.message = JSON.stringify(t, Ve, 2), Object.defineProperty(e, "toString", {
|
|
316
316
|
value: () => e.message,
|
|
317
317
|
enumerable: !1
|
|
318
318
|
});
|
|
319
|
-
},
|
|
319
|
+
}, Je = T("$ZodError", I), L = T("$ZodError", I, { Parent: Error }), Ye = /* @__PURE__*/ ((e) => (t, n, r, i) => {
|
|
320
320
|
let a = r ? Object.assign(r, { async: !1 }) : { async: !1 }, o = t._zod.run({
|
|
321
321
|
value: n,
|
|
322
322
|
issues: []
|
|
323
323
|
}, a);
|
|
324
|
-
if (o instanceof Promise) throw new
|
|
324
|
+
if (o instanceof Promise) throw new E();
|
|
325
325
|
if (o.issues.length) {
|
|
326
326
|
var s;
|
|
327
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
328
|
-
throw
|
|
327
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => F(e, a, D())));
|
|
328
|
+
throw A(t, i == null ? void 0 : i.callee), t;
|
|
329
329
|
}
|
|
330
330
|
return o.value;
|
|
331
|
-
})(
|
|
331
|
+
})(L), Xe = /* @__PURE__*/ ((e) => async (t, n, r, i) => {
|
|
332
332
|
let a = r ? Object.assign(r, { async: !0 }) : { async: !0 }, o = t._zod.run({
|
|
333
333
|
value: n,
|
|
334
334
|
issues: []
|
|
335
335
|
}, a);
|
|
336
336
|
if (o instanceof Promise && (o = await o), o.issues.length) {
|
|
337
337
|
var s;
|
|
338
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
339
|
-
throw
|
|
338
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => F(e, a, D())));
|
|
339
|
+
throw A(t, i == null ? void 0 : i.callee), t;
|
|
340
340
|
}
|
|
341
341
|
return o.value;
|
|
342
|
-
})(
|
|
342
|
+
})(L), R = /* @__PURE__*/ ((e) => (t, n, r) => {
|
|
343
343
|
let i = r ? {
|
|
344
344
|
...r,
|
|
345
345
|
async: !1
|
|
@@ -347,40 +347,40 @@ var F = (e, t) => {
|
|
|
347
347
|
value: n,
|
|
348
348
|
issues: []
|
|
349
349
|
}, i);
|
|
350
|
-
if (a instanceof Promise) throw new
|
|
350
|
+
if (a instanceof Promise) throw new E();
|
|
351
351
|
return a.issues.length ? {
|
|
352
352
|
success: !1,
|
|
353
|
-
error: new (e == null ?
|
|
353
|
+
error: new (e == null ? Je : e)(a.issues.map((e) => F(e, i, D())))
|
|
354
354
|
} : {
|
|
355
355
|
success: !0,
|
|
356
356
|
data: a.value
|
|
357
357
|
};
|
|
358
|
-
})(
|
|
358
|
+
})(L), z = /* @__PURE__*/ ((e) => async (t, n, r) => {
|
|
359
359
|
let i = r ? Object.assign(r, { async: !0 }) : { async: !0 }, a = t._zod.run({
|
|
360
360
|
value: n,
|
|
361
361
|
issues: []
|
|
362
362
|
}, i);
|
|
363
363
|
return a instanceof Promise && (a = await a), a.issues.length ? {
|
|
364
364
|
success: !1,
|
|
365
|
-
error: new e(a.issues.map((e) =>
|
|
365
|
+
error: new e(a.issues.map((e) => F(e, i, D())))
|
|
366
366
|
} : {
|
|
367
367
|
success: !0,
|
|
368
368
|
data: a.value
|
|
369
369
|
};
|
|
370
|
-
})(
|
|
370
|
+
})(L), Ze = (e) => {
|
|
371
371
|
var t, n;
|
|
372
372
|
let r = e ? `[\\s\\S]{${(t = e == null ? void 0 : e.minimum) == null ? 0 : t},${(n = e == null ? void 0 : e.maximum) == null ? "" : n}}` : "[\\s\\S]*";
|
|
373
373
|
return RegExp(`^${r}$`);
|
|
374
|
-
},
|
|
374
|
+
}, Qe = /^-?\d+(?:\.\d+)?$/, $e = /*@__PURE__*/ T("$ZodCheck", (e, t) => {
|
|
375
375
|
var n;
|
|
376
376
|
e._zod != null || (e._zod = {}), e._zod.def = t, (n = e._zod).onattach != null || (n.onattach = []);
|
|
377
|
-
}),
|
|
377
|
+
}), et = {
|
|
378
378
|
major: 4,
|
|
379
379
|
minor: 3,
|
|
380
380
|
patch: 5
|
|
381
|
-
},
|
|
381
|
+
}, B = /*@__PURE__*/ T("$ZodType", (e, t) => {
|
|
382
382
|
var n, r;
|
|
383
|
-
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version =
|
|
383
|
+
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = et;
|
|
384
384
|
let i = [...(n = e._zod.def.checks) == null ? [] : n];
|
|
385
385
|
e._zod.traits.has("$ZodCheck") && i.unshift(e);
|
|
386
386
|
for (let t of i) for (let n of t._zod.onattach) n(e);
|
|
@@ -391,29 +391,29 @@ var F = (e, t) => {
|
|
|
391
391
|
});
|
|
392
392
|
} else {
|
|
393
393
|
let t = (e, t, n) => {
|
|
394
|
-
let r =
|
|
394
|
+
let r = M(e), i;
|
|
395
395
|
for (let o of t) {
|
|
396
396
|
if (o._zod.def.when) {
|
|
397
397
|
if (!o._zod.def.when(e)) continue;
|
|
398
398
|
} else if (r) continue;
|
|
399
399
|
let t = e.issues.length, s = o._zod.check(e);
|
|
400
|
-
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new
|
|
400
|
+
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new E();
|
|
401
401
|
if (i || s instanceof Promise) {
|
|
402
402
|
var a;
|
|
403
403
|
i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
|
|
404
|
-
await s, e.issues.length !== t && (r || (r =
|
|
404
|
+
await s, e.issues.length !== t && (r || (r = M(e, t)));
|
|
405
405
|
});
|
|
406
406
|
} else {
|
|
407
407
|
if (e.issues.length === t) continue;
|
|
408
|
-
r || (r =
|
|
408
|
+
r || (r = M(e, t));
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
return i ? i.then(() => e) : e;
|
|
412
412
|
}, n = (n, r, a) => {
|
|
413
|
-
if (
|
|
413
|
+
if (M(n)) return n.aborted = !0, n;
|
|
414
414
|
let o = t(r, i, a);
|
|
415
415
|
if (o instanceof Promise) {
|
|
416
|
-
if (a.async === !1) throw new
|
|
416
|
+
if (a.async === !1) throw new E();
|
|
417
417
|
return o.then((t) => e._zod.parse(t, a));
|
|
418
418
|
}
|
|
419
419
|
return e._zod.parse(o, a);
|
|
@@ -432,7 +432,7 @@ var F = (e, t) => {
|
|
|
432
432
|
}
|
|
433
433
|
let o = e._zod.parse(r, a);
|
|
434
434
|
if (o instanceof Promise) {
|
|
435
|
-
if (a.async === !1) throw new
|
|
435
|
+
if (a.async === !1) throw new E();
|
|
436
436
|
return o.then((e) => t(e, i, a));
|
|
437
437
|
}
|
|
438
438
|
return t(o, i, a);
|
|
@@ -442,10 +442,10 @@ var F = (e, t) => {
|
|
|
442
442
|
validate: (t) => {
|
|
443
443
|
try {
|
|
444
444
|
var n;
|
|
445
|
-
let r =
|
|
445
|
+
let r = R(e, t);
|
|
446
446
|
return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
|
|
447
447
|
} catch {
|
|
448
|
-
return
|
|
448
|
+
return z(e, t).then((e) => {
|
|
449
449
|
var t;
|
|
450
450
|
return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues };
|
|
451
451
|
});
|
|
@@ -454,9 +454,9 @@ var F = (e, t) => {
|
|
|
454
454
|
vendor: "zod",
|
|
455
455
|
version: 1
|
|
456
456
|
}));
|
|
457
|
-
}),
|
|
457
|
+
}), tt = /*@__PURE__*/ T("$ZodString", (e, t) => {
|
|
458
458
|
var n, r, i;
|
|
459
|
-
|
|
459
|
+
B.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? Ze(e._zod.bag) : n, e._zod.parse = (n, r) => {
|
|
460
460
|
if (t.coerce) try {
|
|
461
461
|
n.value = String(n.value);
|
|
462
462
|
} catch {}
|
|
@@ -467,9 +467,9 @@ var F = (e, t) => {
|
|
|
467
467
|
inst: e
|
|
468
468
|
}), n;
|
|
469
469
|
};
|
|
470
|
-
}),
|
|
470
|
+
}), nt = /*@__PURE__*/ T("$ZodNumber", (e, t) => {
|
|
471
471
|
var n;
|
|
472
|
-
|
|
472
|
+
B.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? Qe : n, e._zod.parse = (n, r) => {
|
|
473
473
|
if (t.coerce) try {
|
|
474
474
|
n.value = Number(n.value);
|
|
475
475
|
} catch {}
|
|
@@ -484,19 +484,19 @@ var F = (e, t) => {
|
|
|
484
484
|
...a ? { received: a } : {}
|
|
485
485
|
}), n;
|
|
486
486
|
};
|
|
487
|
-
}),
|
|
488
|
-
|
|
487
|
+
}), rt = /*@__PURE__*/ T("$ZodNever", (e, t) => {
|
|
488
|
+
B.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
|
|
489
489
|
expected: "never",
|
|
490
490
|
code: "invalid_type",
|
|
491
491
|
input: t.value,
|
|
492
492
|
inst: e
|
|
493
493
|
}), t);
|
|
494
494
|
});
|
|
495
|
-
function
|
|
496
|
-
e.issues.length && t.issues.push(...
|
|
495
|
+
function it(e, t, n) {
|
|
496
|
+
e.issues.length && t.issues.push(...N(n, e.issues)), t.value[n] = e.value;
|
|
497
497
|
}
|
|
498
|
-
var
|
|
499
|
-
|
|
498
|
+
var at = /*@__PURE__*/ T("$ZodArray", (e, t) => {
|
|
499
|
+
B.init(e, t), e._zod.parse = (n, r) => {
|
|
500
500
|
let i = n.value;
|
|
501
501
|
if (!Array.isArray(i)) return n.issues.push({
|
|
502
502
|
expected: "array",
|
|
@@ -511,25 +511,25 @@ var ot = /*@__PURE__*/ E("$ZodArray", (e, t) => {
|
|
|
511
511
|
value: o,
|
|
512
512
|
issues: []
|
|
513
513
|
}, r);
|
|
514
|
-
s instanceof Promise ? a.push(s.then((t) =>
|
|
514
|
+
s instanceof Promise ? a.push(s.then((t) => it(t, n, e))) : it(s, n, e);
|
|
515
515
|
}
|
|
516
516
|
return a.length ? Promise.all(a).then(() => n) : n;
|
|
517
517
|
};
|
|
518
518
|
});
|
|
519
|
-
function
|
|
519
|
+
function V(e, t, n, r, i) {
|
|
520
520
|
if (e.issues.length) {
|
|
521
521
|
if (i && !(n in r)) return;
|
|
522
|
-
t.issues.push(...
|
|
522
|
+
t.issues.push(...N(n, e.issues));
|
|
523
523
|
}
|
|
524
524
|
e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function ot(e) {
|
|
527
527
|
let t = Object.keys(e.shape);
|
|
528
528
|
for (let r of t) {
|
|
529
529
|
var n;
|
|
530
530
|
if (!(!((n = e.shape) == null || (n = n[r]) == null || (n = n._zod) == null || (n = n.traits) == null) && n.has("$ZodType"))) throw Error(`Invalid element at key "${r}": expected a Zod schema`);
|
|
531
531
|
}
|
|
532
|
-
let r =
|
|
532
|
+
let r = Ke(e.shape);
|
|
533
533
|
return {
|
|
534
534
|
...e,
|
|
535
535
|
keys: t,
|
|
@@ -538,7 +538,7 @@ function st(e) {
|
|
|
538
538
|
optionalKeys: new Set(r)
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function st(e, t, n, r, i, a) {
|
|
542
542
|
let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optout === "optional";
|
|
543
543
|
for (let i in t) {
|
|
544
544
|
if (s.has(i)) continue;
|
|
@@ -550,7 +550,7 @@ function ct(e, t, n, r, i, a) {
|
|
|
550
550
|
value: t[i],
|
|
551
551
|
issues: []
|
|
552
552
|
}, r);
|
|
553
|
-
a instanceof Promise ? e.push(a.then((e) =>
|
|
553
|
+
a instanceof Promise ? e.push(a.then((e) => V(e, n, i, t, u))) : V(a, n, i, t, u);
|
|
554
554
|
}
|
|
555
555
|
return o.length && n.issues.push({
|
|
556
556
|
code: "unrecognized_keys",
|
|
@@ -559,8 +559,8 @@ function ct(e, t, n, r, i, a) {
|
|
|
559
559
|
inst: a
|
|
560
560
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
561
561
|
}
|
|
562
|
-
var
|
|
563
|
-
|
|
562
|
+
var ct = /*@__PURE__*/ T("$ZodObject", (e, t) => {
|
|
563
|
+
B.init(e, t);
|
|
564
564
|
let n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
565
565
|
if (!(n != null && n.get)) {
|
|
566
566
|
let e = t.shape;
|
|
@@ -569,7 +569,7 @@ var lt = /*@__PURE__*/ E("$ZodObject", (e, t) => {
|
|
|
569
569
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
570
570
|
} });
|
|
571
571
|
}
|
|
572
|
-
let r =
|
|
572
|
+
let r = He(() => ot(t));
|
|
573
573
|
k(e._zod, "propValues", () => {
|
|
574
574
|
let e = t.shape, n = {};
|
|
575
575
|
for (let t in e) {
|
|
@@ -581,7 +581,7 @@ var lt = /*@__PURE__*/ E("$ZodObject", (e, t) => {
|
|
|
581
581
|
}
|
|
582
582
|
return n;
|
|
583
583
|
});
|
|
584
|
-
let i =
|
|
584
|
+
let i = We, a = t.catchall, o;
|
|
585
585
|
e._zod.parse = (t, n) => {
|
|
586
586
|
o != null || (o = r.value);
|
|
587
587
|
let s = t.value;
|
|
@@ -598,36 +598,36 @@ var lt = /*@__PURE__*/ E("$ZodObject", (e, t) => {
|
|
|
598
598
|
value: s[e],
|
|
599
599
|
issues: []
|
|
600
600
|
}, n);
|
|
601
|
-
a instanceof Promise ? c.push(a.then((n) =>
|
|
601
|
+
a instanceof Promise ? c.push(a.then((n) => V(n, t, e, s, i))) : V(a, t, e, s, i);
|
|
602
602
|
}
|
|
603
|
-
return a ?
|
|
603
|
+
return a ? st(c, s, t, n, r.value, e) : c.length ? Promise.all(c).then(() => t) : t;
|
|
604
604
|
};
|
|
605
605
|
});
|
|
606
|
-
function
|
|
606
|
+
function lt(e, t) {
|
|
607
607
|
return e.issues.length && t === void 0 ? {
|
|
608
608
|
issues: [],
|
|
609
609
|
value: void 0
|
|
610
610
|
} : e;
|
|
611
611
|
}
|
|
612
|
-
var
|
|
613
|
-
|
|
612
|
+
var ut = /*@__PURE__*/ T("$ZodOptional", (e, t) => {
|
|
613
|
+
B.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", k(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), k(e._zod, "pattern", () => {
|
|
614
614
|
let e = t.innerType._zod.pattern;
|
|
615
|
-
return e ? RegExp(`^(${
|
|
615
|
+
return e ? RegExp(`^(${Ue(e.source)})?$`) : void 0;
|
|
616
616
|
}), e._zod.parse = (e, n) => {
|
|
617
617
|
if (t.innerType._zod.optin === "optional") {
|
|
618
618
|
let r = t.innerType._zod.run(e, n);
|
|
619
|
-
return r instanceof Promise ? r.then((t) =>
|
|
619
|
+
return r instanceof Promise ? r.then((t) => lt(t, e.value)) : lt(r, e.value);
|
|
620
620
|
}
|
|
621
621
|
return e.value === void 0 ? e : t.innerType._zod.run(e, n);
|
|
622
622
|
};
|
|
623
|
-
}),
|
|
624
|
-
|
|
623
|
+
}), dt = /*@__PURE__*/ T("$ZodCustom", (e, t) => {
|
|
624
|
+
$e.init(e, t), B.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
|
|
625
625
|
let r = n.value, i = t.fn(r);
|
|
626
|
-
if (i instanceof Promise) return i.then((t) =>
|
|
627
|
-
|
|
626
|
+
if (i instanceof Promise) return i.then((t) => ft(t, n, r, e));
|
|
627
|
+
ft(i, n, r, e);
|
|
628
628
|
};
|
|
629
629
|
});
|
|
630
|
-
function
|
|
630
|
+
function ft(e, t, n, r) {
|
|
631
631
|
if (!e) {
|
|
632
632
|
var i;
|
|
633
633
|
let e = {
|
|
@@ -637,47 +637,47 @@ function pt(e, t, n, r) {
|
|
|
637
637
|
path: [...(i = r._zod.def.path) == null ? [] : i],
|
|
638
638
|
continue: !r._zod.def.abort
|
|
639
639
|
};
|
|
640
|
-
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(
|
|
640
|
+
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(qe(e));
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
644
644
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js
|
|
645
645
|
// @__NO_SIDE_EFFECTS__
|
|
646
|
-
function
|
|
646
|
+
function pt(e, t) {
|
|
647
647
|
return new e({
|
|
648
648
|
type: "string",
|
|
649
|
-
...
|
|
649
|
+
...j(t)
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
// @__NO_SIDE_EFFECTS__
|
|
653
|
-
function
|
|
653
|
+
function mt(e, t) {
|
|
654
654
|
return new e({
|
|
655
655
|
type: "number",
|
|
656
656
|
checks: [],
|
|
657
|
-
...
|
|
657
|
+
...j(t)
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
// @__NO_SIDE_EFFECTS__
|
|
661
|
-
function
|
|
661
|
+
function ht(e, t) {
|
|
662
662
|
return new e({
|
|
663
663
|
type: "never",
|
|
664
|
-
...
|
|
664
|
+
...j(t)
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
// @__NO_SIDE_EFFECTS__
|
|
668
|
-
function
|
|
668
|
+
function gt(e, t, n) {
|
|
669
669
|
return new e({
|
|
670
670
|
type: "custom",
|
|
671
671
|
check: "custom",
|
|
672
672
|
fn: t,
|
|
673
|
-
...
|
|
673
|
+
...j(n)
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
676
|
//#endregion
|
|
677
677
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js
|
|
678
|
-
var
|
|
678
|
+
var H = /*@__PURE__*/ T("ZodMiniType", (e, t) => {
|
|
679
679
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
680
|
-
|
|
680
|
+
B.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Ye(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => R(e, t, n), e.parseAsync = async (t, n) => Xe(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => z(e, t, n), e.check = (...n) => {
|
|
681
681
|
var r;
|
|
682
682
|
return e.clone({
|
|
683
683
|
...t,
|
|
@@ -687,86 +687,86 @@ var V = /*@__PURE__*/ E("ZodMiniType", (e, t) => {
|
|
|
687
687
|
onattach: []
|
|
688
688
|
} } : e)]
|
|
689
689
|
}, { parent: !0 });
|
|
690
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
691
|
-
}),
|
|
692
|
-
|
|
690
|
+
}, e.with = e.check, e.clone = (t, n) => Ge(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
691
|
+
}), _t = /*@__PURE__*/ T("ZodMiniString", (e, t) => {
|
|
692
|
+
tt.init(e, t), H.init(e, t);
|
|
693
693
|
});
|
|
694
694
|
// @__NO_SIDE_EFFECTS__
|
|
695
|
-
function
|
|
696
|
-
return /* @__PURE__ */
|
|
695
|
+
function vt(e) {
|
|
696
|
+
return /* @__PURE__ */ pt(_t, e);
|
|
697
697
|
}
|
|
698
|
-
var
|
|
699
|
-
|
|
698
|
+
var yt = /*@__PURE__*/ T("ZodMiniNumber", (e, t) => {
|
|
699
|
+
nt.init(e, t), H.init(e, t);
|
|
700
700
|
});
|
|
701
701
|
// @__NO_SIDE_EFFECTS__
|
|
702
|
-
function
|
|
703
|
-
return /* @__PURE__ */
|
|
702
|
+
function U(e) {
|
|
703
|
+
return /* @__PURE__ */ mt(yt, e);
|
|
704
704
|
}
|
|
705
|
-
var
|
|
706
|
-
|
|
705
|
+
var bt = /*@__PURE__*/ T("ZodMiniNever", (e, t) => {
|
|
706
|
+
rt.init(e, t), H.init(e, t);
|
|
707
707
|
});
|
|
708
708
|
// @__NO_SIDE_EFFECTS__
|
|
709
|
-
function
|
|
710
|
-
return /* @__PURE__ */
|
|
709
|
+
function xt(e) {
|
|
710
|
+
return /* @__PURE__ */ ht(bt, e);
|
|
711
711
|
}
|
|
712
|
-
var
|
|
713
|
-
|
|
712
|
+
var St = /*@__PURE__*/ T("ZodMiniArray", (e, t) => {
|
|
713
|
+
at.init(e, t), H.init(e, t);
|
|
714
714
|
});
|
|
715
715
|
// @__NO_SIDE_EFFECTS__
|
|
716
|
-
function
|
|
717
|
-
return new
|
|
716
|
+
function Ct(e, t) {
|
|
717
|
+
return new St({
|
|
718
718
|
type: "array",
|
|
719
719
|
element: e,
|
|
720
|
-
...
|
|
720
|
+
...j(t)
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
|
-
var
|
|
724
|
-
|
|
723
|
+
var wt = /*@__PURE__*/ T("ZodMiniObject", (e, t) => {
|
|
724
|
+
ct.init(e, t), H.init(e, t), k(e, "shape", () => t.shape);
|
|
725
725
|
});
|
|
726
726
|
// @__NO_SIDE_EFFECTS__
|
|
727
|
-
function
|
|
728
|
-
return new
|
|
727
|
+
function W(e, t) {
|
|
728
|
+
return new wt({
|
|
729
729
|
type: "object",
|
|
730
730
|
shape: e,
|
|
731
|
-
catchall: /* @__PURE__ */
|
|
732
|
-
...
|
|
731
|
+
catchall: /* @__PURE__ */ xt(),
|
|
732
|
+
...j(t)
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
var
|
|
736
|
-
|
|
735
|
+
var Tt = /*@__PURE__*/ T("ZodMiniOptional", (e, t) => {
|
|
736
|
+
ut.init(e, t), H.init(e, t);
|
|
737
737
|
});
|
|
738
738
|
// @__NO_SIDE_EFFECTS__
|
|
739
|
-
function
|
|
740
|
-
return new
|
|
739
|
+
function G(e) {
|
|
740
|
+
return new Tt({
|
|
741
741
|
type: "optional",
|
|
742
742
|
innerType: e
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
|
-
var
|
|
746
|
-
|
|
745
|
+
var Et = /*@__PURE__*/ T("ZodMiniCustom", (e, t) => {
|
|
746
|
+
dt.init(e, t), H.init(e, t);
|
|
747
747
|
});
|
|
748
748
|
// @__NO_SIDE_EFFECTS__
|
|
749
|
-
function
|
|
750
|
-
return /* @__PURE__ */
|
|
749
|
+
function Dt(e, t = {}) {
|
|
750
|
+
return /* @__PURE__ */ gt(Et, e, t);
|
|
751
751
|
}
|
|
752
752
|
//#endregion
|
|
753
753
|
//#region src/schemas/sdk.schemas.ts
|
|
754
|
-
var
|
|
755
|
-
x: /* @__PURE__ */
|
|
756
|
-
y: /* @__PURE__ */
|
|
757
|
-
}),
|
|
758
|
-
leftTop:
|
|
759
|
-
rightBottom:
|
|
760
|
-
}),
|
|
761
|
-
name: /* @__PURE__ */
|
|
762
|
-
externalId: /* @__PURE__ */
|
|
763
|
-
})).check(/* @__PURE__ */
|
|
764
|
-
booths: /* @__PURE__ */
|
|
765
|
-
exhibitors: /* @__PURE__ */
|
|
766
|
-
})).check(/* @__PURE__ */
|
|
754
|
+
var Ot = /* @__PURE__ */ W({
|
|
755
|
+
x: /* @__PURE__ */ U(),
|
|
756
|
+
y: /* @__PURE__ */ U()
|
|
757
|
+
}), kt = /* @__PURE__ */ W({
|
|
758
|
+
leftTop: Ot,
|
|
759
|
+
rightBottom: Ot
|
|
760
|
+
}), At = (/* @__PURE__ */ W({
|
|
761
|
+
name: /* @__PURE__ */ G(/* @__PURE__ */ vt()),
|
|
762
|
+
externalId: /* @__PURE__ */ G(/* @__PURE__ */ vt())
|
|
763
|
+
})).check(/* @__PURE__ */ Dt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), jt = (/* @__PURE__ */ W({
|
|
764
|
+
booths: /* @__PURE__ */ G(/* @__PURE__ */ Ct(At)),
|
|
765
|
+
exhibitors: /* @__PURE__ */ G(/* @__PURE__ */ Ct(At))
|
|
766
|
+
})).check(/* @__PURE__ */ Dt((e) => {
|
|
767
767
|
var t, n;
|
|
768
768
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
769
|
-
}, "Selector must contain booths or exhibitors")),
|
|
769
|
+
}, "Selector must contain booths or exhibitors")), Mt = /* @__PURE__ */ G(/* @__PURE__ */ W({ padding: /* @__PURE__ */ G(/* @__PURE__ */ U()) }));
|
|
770
770
|
//#endregion
|
|
771
771
|
//#region src/tools/reset.ts
|
|
772
772
|
function Nt() {
|
|
@@ -854,33 +854,33 @@ function Y(e) {
|
|
|
854
854
|
}
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region src/floorplan.ready.tsx
|
|
857
|
-
var X = n(), Z = (0,
|
|
858
|
-
(0,
|
|
857
|
+
var X = n(), Z = (0, Ae.default)("efp:api");
|
|
858
|
+
(0, Me.install)();
|
|
859
859
|
var Ft = class extends ee {
|
|
860
860
|
constructor(...e) {
|
|
861
861
|
super(...e), this.root = void 0;
|
|
862
862
|
}
|
|
863
863
|
init() {
|
|
864
|
-
this.ignoreQuery ||
|
|
864
|
+
this.ignoreQuery || de(this.offHistory), ue("load"), b.fp = this, me(this.allowConsent), Se(ve.Load, ""), this.root = (0, je.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(ke, { children: /* @__PURE__ */ (0, X.jsx)(we, {
|
|
865
865
|
offHistory: this.offHistory,
|
|
866
866
|
allowConsent: this.allowConsent
|
|
867
|
-
}) })),
|
|
868
|
-
if (this.resolveReady(), !
|
|
867
|
+
}) })), Se(ve.Rendered, ""), c(() => b.layerStore.layersLoaded, () => {
|
|
868
|
+
if (this.resolveReady(), !b.initialized) {
|
|
869
869
|
var e;
|
|
870
870
|
(e = this.onInit) == null || e.call(this, this);
|
|
871
871
|
}
|
|
872
|
-
|
|
872
|
+
b.initialized = !0;
|
|
873
873
|
});
|
|
874
|
-
let e =
|
|
875
|
-
e && import("./bootIntercom-
|
|
874
|
+
let e = ze(window.__data);
|
|
875
|
+
e && import("./bootIntercom-CyhvNq9r.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
876
876
|
}
|
|
877
877
|
selectBooth(e) {
|
|
878
878
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
879
879
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
880
880
|
return;
|
|
881
881
|
}
|
|
882
|
-
let t =
|
|
883
|
-
|
|
882
|
+
let t = b.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
883
|
+
b.selectBooth(t);
|
|
884
884
|
}
|
|
885
885
|
selectExhibitor(e) {
|
|
886
886
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -888,13 +888,13 @@ var Ft = class extends ee {
|
|
|
888
888
|
return;
|
|
889
889
|
}
|
|
890
890
|
if (!(e != null && e.length)) {
|
|
891
|
-
|
|
891
|
+
b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null;
|
|
892
892
|
return;
|
|
893
893
|
}
|
|
894
|
-
let t =
|
|
894
|
+
let t = b.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
895
895
|
if (!(t != null && t.length)) return;
|
|
896
896
|
if (typeof e == "string") {
|
|
897
|
-
|
|
897
|
+
b.selectExhibitor(t[0]), b.moveToList([t[0]]);
|
|
898
898
|
return;
|
|
899
899
|
}
|
|
900
900
|
let n = t.flatMap((e) => e.booths.map((e) => e.layer)), { description: r } = n.reduce((e, t) => (e.freq[t.description] = (e.freq[t.description] || 0) + 1, e.freq[t.description] > e.maxCount && (e.maxCount = e.freq[t.description], e.mostFrequent = t), e), {
|
|
@@ -902,25 +902,25 @@ var Ft = class extends ee {
|
|
|
902
902
|
mostFrequent: n[0],
|
|
903
903
|
maxCount: 0
|
|
904
904
|
}).mostFrequent;
|
|
905
|
-
|
|
905
|
+
b.layerStore.updateVisibility(r, !0), b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null, b.uiState.list = {
|
|
906
906
|
type: "filter",
|
|
907
907
|
items: t,
|
|
908
908
|
query: {
|
|
909
909
|
key: "exhibitors",
|
|
910
910
|
value: t.map((e) => e.externalId).join(",")
|
|
911
911
|
}
|
|
912
|
-
},
|
|
912
|
+
}, b.moveToList();
|
|
913
913
|
}
|
|
914
914
|
highlightExhibitors(e) {
|
|
915
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
915
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), b.boothStore.highlightedByExternalIds = [], b.exhibitorStore.highlightedByExternalIds = [...e];
|
|
916
916
|
}
|
|
917
917
|
highlightBooths(e) {
|
|
918
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
918
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), b.exhibitorStore.highlightedByExternalIds = [], b.boothStore.highlightedByExternalIds = [...e];
|
|
919
919
|
}
|
|
920
920
|
highlightEntities(e) {
|
|
921
921
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
922
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
923
|
-
|
|
922
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = _(e);
|
|
923
|
+
b.boothStore.highlightedByExternalIds = [...t], b.exhibitorStore.highlightedByExternalIds = [...n];
|
|
924
924
|
}
|
|
925
925
|
selectRoute(e, t) {
|
|
926
926
|
if (Array.isArray(e)) {
|
|
@@ -930,10 +930,10 @@ var Ft = class extends ee {
|
|
|
930
930
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
|
|
933
|
+
b.routeStore.selectRoute(new le(Q(n), Q(r), t.map(Q)));
|
|
934
934
|
return;
|
|
935
935
|
}
|
|
936
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
936
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new le(Q(e), Q(t)));
|
|
937
937
|
}
|
|
938
938
|
getOptimizedRoutes(e) {
|
|
939
939
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -946,19 +946,19 @@ var Ft = class extends ee {
|
|
|
946
946
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
947
947
|
a ? a.push(e) : n.set(t, [e]);
|
|
948
948
|
}
|
|
949
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
949
|
+
return Array.from(n.values()).map((e) => ({ waypoints: fe(e.map((e) => [e.name, {
|
|
950
950
|
cx: e.rect.cx,
|
|
951
951
|
cy: e.rect.cy
|
|
952
952
|
}])) }));
|
|
953
953
|
}
|
|
954
954
|
selectCurrentPosition(e, t, n) {
|
|
955
955
|
var r;
|
|
956
|
-
let i =
|
|
957
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
956
|
+
let i = y(e.x) && y(e.y), a = y(e.lng) && y(e.lat);
|
|
957
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), b.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
958
958
|
}
|
|
959
959
|
setBookmarks(e) {
|
|
960
960
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
961
|
-
let t =
|
|
961
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
962
962
|
t && (t.bookmarked = e.bookmarked);
|
|
963
963
|
});
|
|
964
964
|
}
|
|
@@ -977,29 +977,29 @@ var Ft = class extends ee {
|
|
|
977
977
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
|
-
let r =
|
|
980
|
+
let r = ge("bookmarked"), i = {
|
|
981
981
|
exhibitor: {
|
|
982
982
|
existingIds: new Set(r.exhibitors || []),
|
|
983
|
-
finder: (e) =>
|
|
984
|
-
replacer: (e) =>
|
|
983
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
984
|
+
replacer: (e) => b.exhibitorStore.replaceBookmarked(e)
|
|
985
985
|
},
|
|
986
986
|
event: {
|
|
987
987
|
existingIds: new Set(r.events || []),
|
|
988
|
-
finder: (e) =>
|
|
989
|
-
replacer: (e) =>
|
|
988
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
989
|
+
replacer: (e) => b.eventStore.replaceBookmarked(e)
|
|
990
990
|
},
|
|
991
991
|
speaker: {
|
|
992
992
|
existingIds: new Set(r.speakers || []),
|
|
993
|
-
finder: (e) =>
|
|
994
|
-
replacer: (e) =>
|
|
993
|
+
finder: (e) => b.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
994
|
+
replacer: (e) => b.speakerStore.replaceBookmarked(e)
|
|
995
995
|
},
|
|
996
996
|
booth: {
|
|
997
997
|
existingIds: new Set(r.booths || []),
|
|
998
998
|
finder: (e) => {
|
|
999
|
-
let t =
|
|
999
|
+
let t = b.boothStore.findBooth(e);
|
|
1000
1000
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
1001
1001
|
},
|
|
1002
|
-
replacer: (e) =>
|
|
1002
|
+
replacer: (e) => b.boothStore.replaceBookmarked(e)
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
e.forEach((e) => {
|
|
@@ -1019,16 +1019,16 @@ var Ft = class extends ee {
|
|
|
1019
1019
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
1020
1020
|
return;
|
|
1021
1021
|
}
|
|
1022
|
-
let r =
|
|
1022
|
+
let r = ge("visited"), i = {
|
|
1023
1023
|
exhibitor: {
|
|
1024
1024
|
existingIds: new Set(r.exhibitors || []),
|
|
1025
|
-
finder: (e) =>
|
|
1026
|
-
replacer: (e) =>
|
|
1025
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
1026
|
+
replacer: (e) => b.exhibitorStore.replaceVisited(e)
|
|
1027
1027
|
},
|
|
1028
1028
|
event: {
|
|
1029
1029
|
existingIds: new Set(r.events || []),
|
|
1030
|
-
finder: (e) =>
|
|
1031
|
-
replacer: (e) =>
|
|
1030
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
1031
|
+
replacer: (e) => b.eventStore.replaceVisited(e)
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
1034
|
e.forEach((e) => {
|
|
@@ -1043,73 +1043,73 @@ var Ft = class extends ee {
|
|
|
1043
1043
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
1044
1044
|
return;
|
|
1045
1045
|
}
|
|
1046
|
-
|
|
1046
|
+
b.routeStore.setMarkers(e);
|
|
1047
1047
|
}
|
|
1048
1048
|
selectMarker(e, t = !0) {
|
|
1049
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
1049
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), b.routeStore.selectMarker(e, t);
|
|
1050
1050
|
}
|
|
1051
1051
|
drawCircles(e) {
|
|
1052
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
1052
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), b.uiState.debugCircles = e;
|
|
1053
1053
|
}
|
|
1054
1054
|
checkRoutes() {
|
|
1055
|
-
|
|
1055
|
+
b.routeStore.checkRoutes();
|
|
1056
1056
|
}
|
|
1057
1057
|
updateLayerVisibility(e, t) {
|
|
1058
|
-
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"),
|
|
1058
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), b.layerStore.updateVisibility(e, t);
|
|
1059
1059
|
}
|
|
1060
1060
|
getCenterCoordinates() {
|
|
1061
|
-
return
|
|
1061
|
+
return b.fp.getCenterCoordinates();
|
|
1062
1062
|
}
|
|
1063
1063
|
exhibitorsList() {
|
|
1064
|
-
return
|
|
1064
|
+
return b.exhibitorStore.exhibitors.map((e) => q(e));
|
|
1065
1065
|
}
|
|
1066
1066
|
boothsList() {
|
|
1067
|
-
return
|
|
1067
|
+
return b.boothStore.booths.map((e) => q(e));
|
|
1068
1068
|
}
|
|
1069
1069
|
categoriesList() {
|
|
1070
|
-
return
|
|
1070
|
+
return b.categoryStore.categories.map((e) => q(e));
|
|
1071
1071
|
}
|
|
1072
1072
|
selectCategory(e) {
|
|
1073
1073
|
if (e == null || typeof e != "string") {
|
|
1074
|
-
|
|
1074
|
+
b.searchStore.selectSearch();
|
|
1075
1075
|
return;
|
|
1076
1076
|
}
|
|
1077
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
1077
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = b.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
1078
1078
|
if (!n) {
|
|
1079
1079
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
1080
1080
|
return;
|
|
1081
1081
|
}
|
|
1082
|
-
|
|
1082
|
+
b.selectCategory(n);
|
|
1083
1083
|
}
|
|
1084
1084
|
applyParameters(e) {
|
|
1085
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
1085
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ce(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
getVisibility() {
|
|
1088
|
-
return
|
|
1088
|
+
return b.uiState.visibility;
|
|
1089
1089
|
}
|
|
1090
1090
|
setVisibility(e) {
|
|
1091
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1091
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), b.uiState.setVisibility(e);
|
|
1092
1092
|
}
|
|
1093
1093
|
findLocation() {
|
|
1094
|
-
|
|
1094
|
+
b.routeStore.findLocation();
|
|
1095
1095
|
}
|
|
1096
1096
|
zoomIn() {
|
|
1097
|
-
|
|
1097
|
+
b.uiState.zoomIn();
|
|
1098
1098
|
}
|
|
1099
1099
|
zoomOut() {
|
|
1100
|
-
|
|
1100
|
+
b.uiState.zoomOut();
|
|
1101
1101
|
}
|
|
1102
1102
|
switchView() {
|
|
1103
|
-
|
|
1103
|
+
b.maplibreStore.activateMaplibre();
|
|
1104
1104
|
}
|
|
1105
1105
|
zoomTo(e, t) {
|
|
1106
1106
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
1107
|
-
let n =
|
|
1107
|
+
let n = jt.safeParse(e);
|
|
1108
1108
|
if (!n.success) {
|
|
1109
1109
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1110
1110
|
return;
|
|
1111
1111
|
}
|
|
1112
|
-
let r =
|
|
1112
|
+
let r = Mt.safeParse(t);
|
|
1113
1113
|
if (!r.success) {
|
|
1114
1114
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1115
1115
|
return;
|
|
@@ -1120,7 +1120,7 @@ var Ft = class extends ee {
|
|
|
1120
1120
|
getBounds(e) {
|
|
1121
1121
|
var t, n;
|
|
1122
1122
|
Z("getBounds called with selectors=%O", e);
|
|
1123
|
-
let r =
|
|
1123
|
+
let r = jt.safeParse(e);
|
|
1124
1124
|
if (!r.success) {
|
|
1125
1125
|
$("getBounds", r.error.message, "EFP001400");
|
|
1126
1126
|
return;
|
|
@@ -1128,15 +1128,15 @@ var Ft = class extends ee {
|
|
|
1128
1128
|
let i = [];
|
|
1129
1129
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1130
1130
|
let t;
|
|
1131
|
-
e.externalId ? t =
|
|
1131
|
+
e.externalId ? t = b.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = b.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1132
1132
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1133
1133
|
var t;
|
|
1134
1134
|
let n;
|
|
1135
|
-
e.externalId ? n =
|
|
1135
|
+
e.externalId ? n = b.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = b.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1136
1136
|
e.rect && i.push(e.rect);
|
|
1137
1137
|
});
|
|
1138
1138
|
}), i.length === 0) return;
|
|
1139
|
-
let a =
|
|
1139
|
+
let a = x.fromMultiple(i);
|
|
1140
1140
|
return {
|
|
1141
1141
|
leftTop: {
|
|
1142
1142
|
x: a.x1,
|
|
@@ -1150,15 +1150,15 @@ var Ft = class extends ee {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
fitBounds(e, t) {
|
|
1152
1152
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1153
|
-
|
|
1153
|
+
b.uiState.fitBounds();
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
let n =
|
|
1156
|
+
let n = kt.safeParse(e);
|
|
1157
1157
|
if (!n.success) {
|
|
1158
1158
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1159
1159
|
return;
|
|
1160
1160
|
}
|
|
1161
|
-
let r =
|
|
1161
|
+
let r = Mt.safeParse(t);
|
|
1162
1162
|
if (!r.success) {
|
|
1163
1163
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1164
1164
|
return;
|
|
@@ -1166,17 +1166,17 @@ var Ft = class extends ee {
|
|
|
1166
1166
|
let i;
|
|
1167
1167
|
if (t != null && t.padding) {
|
|
1168
1168
|
let n = t.padding;
|
|
1169
|
-
i =
|
|
1170
|
-
} else i =
|
|
1171
|
-
|
|
1169
|
+
i = x.fromX1y1x2y2(e.leftTop.x - n, e.leftTop.y - n, e.rightBottom.x + n, e.rightBottom.y + n);
|
|
1170
|
+
} else i = x.fromX1y1x2y2(e.leftTop.x, e.leftTop.y, e.rightBottom.x, e.rightBottom.y);
|
|
1171
|
+
b.uiState.moveToRect = i;
|
|
1172
1172
|
}
|
|
1173
1173
|
getBoothRect(e) {
|
|
1174
1174
|
var t;
|
|
1175
|
-
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t =
|
|
1175
|
+
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t = ye(e)) == null ? void 0 : t.rect;
|
|
1176
1176
|
}
|
|
1177
1177
|
convertToGeo(e, t) {
|
|
1178
1178
|
var n;
|
|
1179
|
-
if (!(!(
|
|
1179
|
+
if (!(!(v == null || (n = v.properties) == null) && n.config)) {
|
|
1180
1180
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1181
1181
|
return;
|
|
1182
1182
|
}
|
|
@@ -1184,11 +1184,11 @@ var Ft = class extends ee {
|
|
|
1184
1184
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1185
1185
|
return;
|
|
1186
1186
|
}
|
|
1187
|
-
return
|
|
1187
|
+
return be(e, t, v.properties.config);
|
|
1188
1188
|
}
|
|
1189
1189
|
getGeoConfig() {
|
|
1190
1190
|
var e, t;
|
|
1191
|
-
let n =
|
|
1191
|
+
let n = v == null || (e = v.properties) == null ? void 0 : e.config;
|
|
1192
1192
|
return n ? {
|
|
1193
1193
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1194
1194
|
p0: n.p0,
|
|
@@ -1198,16 +1198,16 @@ var Ft = class extends ee {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
unstable_destroy() {
|
|
1200
1200
|
let e = window.__efpElement.firstChild;
|
|
1201
|
-
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f),
|
|
1201
|
+
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f), b.maplibreStore.dispose(), xe(), Ce(), pe(), [...document.getElementsByTagName("script")].filter((e) => e.src.indexOf("/fp.svg") > -1 || e.src.indexOf("/wf.data.js") > -1 || e.src.indexOf("/data.js") > -1).forEach((e) => e.remove()), this.root.unmount(), e.remove();
|
|
1202
1202
|
}
|
|
1203
1203
|
search(e) {
|
|
1204
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1204
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), b.fuzzySearchEngineStore.loadEngine().then(() => (b.searchStore.selectSearch(e), b.uiState.fuzzySearchItems.map((e) => ({
|
|
1205
1205
|
item: q(e.item),
|
|
1206
1206
|
score: e.score
|
|
1207
1207
|
}))));
|
|
1208
1208
|
}
|
|
1209
1209
|
getFloors() {
|
|
1210
|
-
return
|
|
1210
|
+
return b.layerStore.floors.map((e) => ({
|
|
1211
1211
|
name: e.name,
|
|
1212
1212
|
shortName: e.shortName,
|
|
1213
1213
|
description: e.description,
|
|
@@ -1246,25 +1246,25 @@ var Ft = class extends ee {
|
|
|
1246
1246
|
showPathway(e, t) {
|
|
1247
1247
|
let n = new URLSearchParams();
|
|
1248
1248
|
if (n.set(a, e), t != null && t.length) {
|
|
1249
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1249
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = _(t);
|
|
1250
1250
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1251
1251
|
}
|
|
1252
1252
|
this.applyParameters(n.toString());
|
|
1253
1253
|
}
|
|
1254
1254
|
showPathwayOnly(e, t) {
|
|
1255
|
-
this.activateFloor({ name: t }),
|
|
1256
|
-
let n =
|
|
1255
|
+
this.activateFloor({ name: t }), b.layerStore.showPathWay(e), b.uiState.setPathwayOnlyMode(!0);
|
|
1256
|
+
let n = b.layerStore.findLayer(e), r = b.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1257
1257
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1258
1258
|
var a;
|
|
1259
1259
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1260
|
-
|
|
1260
|
+
b.uiState.moveToRect = x.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
hidePathways() {
|
|
1264
|
-
this.highlightBooths([]),
|
|
1264
|
+
this.highlightBooths([]), b.layerStore.hidePathways(), b.uiState.setPathwayOnlyMode(!1);
|
|
1265
1265
|
}
|
|
1266
1266
|
showSearch() {
|
|
1267
|
-
|
|
1267
|
+
b.selectSearch("");
|
|
1268
1268
|
}
|
|
1269
1269
|
changeLanguage(e) {
|
|
1270
1270
|
var t;
|
|
@@ -1277,35 +1277,35 @@ var Ft = class extends ee {
|
|
|
1277
1277
|
r.set(i, n), this.applyParameters(r.toString());
|
|
1278
1278
|
}
|
|
1279
1279
|
isGpsTrackingEnabled() {
|
|
1280
|
-
return
|
|
1280
|
+
return b.routeStore.gpsEnabled;
|
|
1281
1281
|
}
|
|
1282
1282
|
setGpsTrackingEnabled(e) {
|
|
1283
|
-
|
|
1283
|
+
b.routeStore.setGpsTrackingEnabled(e);
|
|
1284
1284
|
}
|
|
1285
1285
|
deselectCurrentPosition() {
|
|
1286
|
-
|
|
1286
|
+
b.routeStore.selectCurrentPosition(null, !1);
|
|
1287
1287
|
}
|
|
1288
1288
|
deselectRoute() {
|
|
1289
|
-
|
|
1289
|
+
b.routeStore.selectRoute(null), b.routeStore.setOnlyAccessible(!1);
|
|
1290
1290
|
}
|
|
1291
1291
|
reset() {
|
|
1292
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1292
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), b.uiState.kioskData && b.resetCameraFn) {
|
|
1293
1293
|
var e;
|
|
1294
|
-
(e =
|
|
1294
|
+
(e = b.resetCameraFn) == null || e.call(b);
|
|
1295
1295
|
} else this.fitBounds();
|
|
1296
1296
|
}
|
|
1297
1297
|
selectAccessibleRoute(e) {
|
|
1298
|
-
|
|
1298
|
+
b.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
1301
|
function Q(e) {
|
|
1302
|
-
return typeof e == "string" ?
|
|
1302
|
+
return typeof e == "string" ? ye(e) : b.routeStore.getNearestBooth(e);
|
|
1303
1303
|
}
|
|
1304
1304
|
var It = 0;
|
|
1305
1305
|
function $(e, t, n) {
|
|
1306
1306
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1307
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1308
|
-
|
|
1307
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
|
|
1308
|
+
b.uiState.setGlobalErrorMessage({
|
|
1309
1309
|
title: r,
|
|
1310
1310
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1311
1311
|
i,
|
|
@@ -1321,7 +1321,7 @@ function $(e, t, n) {
|
|
|
1321
1321
|
let o = 8e3;
|
|
1322
1322
|
It = window.setTimeout(() => {
|
|
1323
1323
|
let e = async () => {
|
|
1324
|
-
|
|
1324
|
+
b.uiState.globalErrorMessages.length > 0 && (b.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1325
1325
|
};
|
|
1326
1326
|
e();
|
|
1327
1327
|
}, o);
|