@expofp/floorplan 3.10.0 → 3.10.1
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-CbNlJYq-.js → Button-DdPvRBTh.js} +5 -5
- package/dist/browser/{CookieConsent-BVLqsKtm.js → CookieConsent-C39dYjaQ.js} +7 -7
- package/dist/browser/{Debug-DniNgMUO.js → Debug-B5r6LCAX.js} +7 -7
- package/dist/browser/{Demo-BXOuVfdG.js → Demo-Dbrjn3oi.js} +9 -9
- package/dist/browser/{Free-DbDrs1SH.js → Free-DUcGDkLZ.js} +9 -9
- package/dist/browser/{Gallery-CK2yO-rS.js → Gallery-CvO5_8hs.js} +9 -9
- package/dist/browser/{GpsLoader-B5WB_xlb.js → GpsLoader-Cybs-6Z0.js} +21 -21
- package/dist/browser/{KioskStore-CzIrPa11.js → KioskStore-Df_lwtgJ.js} +34 -34
- package/dist/browser/{MaplibreAdapter-CSa9XGJa.js → MaplibreAdapter-BgOzaHlx.js} +2387 -2387
- package/dist/browser/{ModalContainer-CduduGaw.js → ModalContainer-DXVCm1fb.js} +10 -10
- package/dist/browser/{PermissionNotice-B62dyKda.js → PermissionNotice-B0OJFFky.js} +6 -6
- package/dist/browser/{SetKioskMode-DvbL360U.js → SetKioskMode-BdOX40be.js} +12 -12
- package/dist/browser/ShowKiosk-cvnSTpd2.js +28 -0
- package/dist/browser/{TouchHand-BHu7qEu9.js → TouchHand-RDWCILm_.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-TTUNLqUt.js → ViewerMenuPanel-BlCzm_mm.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-DN1tIBbN.js → add-debug-secret-listener-lYBneebf.js} +1 -1
- package/dist/browser/{boolean-editor-CcJuEdkU.js → boolean-editor-C_bdHxC2.js} +9 -9
- package/dist/browser/{bootIntercom-DyEAiiah.js → bootIntercom-Bf4CaruD.js} +2 -2
- package/dist/browser/booth-by-xy-WnHwiopn.js +1067 -0
- package/dist/browser/{browser-Ctb0x-hW.js → browser-BGtGwkTn.js} +2 -2
- package/dist/browser/bundle.json +62 -62
- package/dist/browser/{classnames-CeriETl9.js → classnames-DRy7JPyJ.js} +2 -2
- package/dist/browser/{client-hS_SUT9J.js → client-BE52OM0U.js} +4 -4
- package/dist/browser/{components-CcIkwnTn.js → components-BfKSs6sY.js} +1647 -1647
- package/dist/browser/{debug-overlay-DBRVNju-.js → debug-overlay-mKmIzOYk.js} +10 -10
- package/dist/browser/{debug-ui-Vy_hMYMs.js → debug-ui-DLxMK2XU.js} +6 -6
- package/dist/browser/{dist-CyHdGr2I.js → dist-DSRSA5oz.js} +6 -6
- package/dist/browser/{dist-Bimiy1i5.js → dist-QsCYWHCu.js} +5 -5
- package/dist/browser/{dist-D3O88lUU.js → dist-eojWwYB5.js} +3 -3
- package/dist/browser/{efp-debug-init-C0HXaTIA.js → efp-debug-init-C5HgsgC2.js} +2 -2
- package/dist/browser/{enum-editor-DkQTyshB.js → enum-editor-BqpFqXiM.js} +11 -11
- package/dist/browser/{es5-BI29YLB7.js → es5-7bslpbjj.js} +2 -2
- package/dist/browser/{event-not-found-C45GofSi.js → event-not-found-Bc1SpnKw.js} +1 -1
- package/dist/browser/{exports-B2fVUjK8.js → exports-CYJRF2aW.js} +1 -1
- package/dist/browser/{favicon-CZB9txqZ.js → favicon-CRiidRYo.js} +1 -1
- package/dist/browser/{fetch-retry.umd-C_1YSqZv.js → fetch-retry.umd-Btwt1fg_.js} +2 -2
- package/dist/browser/{flex-C4nAB--c.js → flex-ITkzmA3C.js} +5 -5
- package/dist/browser/{floorplan.loader-D9ci7TWk.js → floorplan.loader-DJVlfwah.js} +11 -11
- package/dist/browser/{floorplan.ready-Cou1AYpA.js → floorplan.ready-7KwBZy9I.js} +156 -156
- package/dist/browser/{fuse-DLH3KYAO.js → fuse-CcYz7YAl.js} +2 -2
- package/dist/browser/{i18n-C0K3C5Jv.js → i18n-CeVxHTr1.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-BMETmKP4.js → index.module-CV2WVv52.js} +4 -4
- package/dist/browser/{is-webview-CxvtAxIZ.js → is-webview-BOqof5Uq.js} +1 -1
- package/dist/browser/{jsx-runtime-B9nB58Uq.js → jsx-runtime-BiSrB4Oo.js} +2 -2
- package/dist/browser/{lib-CcxG8Udi.js → lib-Dg9vXDVM.js} +4 -4
- package/dist/browser/{loadImage-B-fxupzg.js → loadImage-VYhbBgH6.js} +4 -4
- package/dist/browser/{logDeviceInfo-kZTVPeyv.js → logDeviceInfo-B8Mi-9H5.js} +9 -9
- package/dist/browser/{main-B_62LzEM.js → main-D6ItQIYj.js} +1 -1
- package/dist/browser/{mobx-CUQ-tbco.js → mobx-Deoo_wpx.js} +4 -4
- package/dist/browser/{particles.min-Csuxu9yr.js → particles.min-BNwqgit-.js} +2 -2
- package/dist/browser/{prop-types-B7Gun2Sn.js → prop-types-CuEYshV7.js} +2 -2
- package/dist/browser/{react-ZKXuYPAa.js → react-BMPhuMz9.js} +2 -2
- package/dist/browser/{react-dom-D82ielqJ.js → react-dom-DSdkXj0b.js} +3 -3
- package/dist/browser/{reset-all-settings-BwbmLw6_.js → reset-all-settings-C2yTiJ1V.js} +7 -7
- package/dist/browser/{rolldown-runtime-75nnKCA3.js → rolldown-runtime-I1EwXf_t.js} +1 -1
- package/dist/browser/{settings-CfbArDtc.js → settings-Dr8bs0FB.js} +2 -2
- package/dist/browser/{settings-item-R9UibMb5.js → settings-item-DjfyQTQB.js} +6 -6
- package/dist/browser/{store-DANngpFy.js → store-CVdrQCza.js} +6737 -5892
- package/dist/browser/{string-editor-CURRcjvv.js → string-editor-3sN4j-ci.js} +7 -7
- package/dist/browser/{theme-Nw3wi1eA.js → theme-BSTLt6eV.js} +8 -8
- package/dist/browser/{ui-CzHA_XVw.js → ui-CiFfwrN8.js} +8 -8
- package/dist/browser/{useRenderTarget-KMx97ZHc.js → useRenderTarget-DF7LdnYr.js} +4 -4
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +1 -2
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +2 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -1
- package/dist/esm/wayfinding/adapters/index.d.ts +3 -4
- package/dist/esm/wayfinding/adapters/index.js +1 -1
- package/dist/esm/wayfinding/bindMobxReactions.d.ts +6 -0
- package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
- package/dist/esm/wayfinding/core/__tests__/helpers.d.ts +4 -4
- package/dist/esm/wayfinding/core/createWayfindingEngine.js +1 -1
- package/dist/esm/wayfinding/core/graph/buildGraph.d.ts +1 -1
- package/dist/esm/wayfinding/core/graph/buildNGraph.d.ts +2 -2
- package/dist/esm/wayfinding/core/graph/findShortestPath.d.ts +2 -2
- package/dist/esm/wayfinding/core/graph/graphHelpers.d.ts +4 -4
- package/dist/esm/wayfinding/core/graph/graphHelpers.js +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.d.ts +2 -2
- package/dist/esm/wayfinding/core/index.d.ts +8 -8
- package/dist/esm/wayfinding/core/index.js +1 -1
- package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +2 -2
- package/dist/esm/wayfinding/core/routing/getRouteLength.d.ts +1 -1
- package/dist/esm/wayfinding/core/types.d.ts +19 -9
- package/dist/esm/wayfinding/createWayfinding.d.ts +15 -1
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/dist/esm/wayfinding/handlers/yahHandler.d.ts +3 -3
- package/dist/esm/wayfinding/handlers/yahHandler.js +1 -1
- package/dist/esm/wayfinding/index.d.ts +13 -0
- package/dist/esm/wayfinding/index.js +1 -0
- package/dist/esm/wayfinding/renderer/createWayfindingRenderer.js +1 -1
- package/dist/esm/wayfinding/renderer/iconManager.d.ts +3 -3
- package/dist/esm/wayfinding/renderer/routeLineManager.d.ts +5 -5
- package/dist/esm/wayfinding/renderer/trailManager.d.ts +2 -2
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/endpointView.d.ts +1 -2
- package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +5 -6
- package/dist/esm/wayfinding/runtime/positionView.d.ts +2 -3
- package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/trailView.d.ts +1 -2
- package/dist/esm/wayfinding/runtime/transitionView.d.ts +2 -3
- package/dist/esm/wayfinding/runtime/types.d.ts +10 -2
- package/package.json +4 -4
- package/dist/browser/ShowKiosk-CK47Q2V7.js +0 -28
- package/dist/browser/createWayfinding-D3oRCnRo.js +0 -1892
- package/dist/esm/wayfinding/adapters/iconProvider.d.ts +0 -15
- package/dist/esm/wayfinding/adapters/iconProvider.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
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.10.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.10.1" };
|
|
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] = "d53f5119-87c1-4683-9c3f-9c3e898a57e0", e._sentryDebugIdIdentifier = "sentry-dbid-d53f5119-87c1-4683-9c3f-9c3e898a57e0");
|
|
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, K as a, W as o, Y as s, l as c, n as l, r as u, v as d } from "./i18n-
|
|
14
|
-
import { a as f, i as p, n as
|
|
15
|
-
import { C as
|
|
16
|
-
import { t as
|
|
17
|
-
import { A as
|
|
18
|
-
import { t as Ce } from "./components-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-I1EwXf_t.js";
|
|
10
|
+
import { t } from "./react-BMPhuMz9.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BiSrB4Oo.js";
|
|
12
|
+
import { t as r } from "./browser-BGtGwkTn.js";
|
|
13
|
+
import { G as i, K as a, W as o, Y as s, l as c, n as l, r as u, v as d } from "./i18n-CeVxHTr1.js";
|
|
14
|
+
import { a as f, i as p, n as ee, r as m, t as te } from "./floorplan.loader-DJVlfwah.js";
|
|
15
|
+
import { C as ne, E as re, S as h, Z as ie, i as ae, n as oe, pt as g } from "./exports-CYJRF2aW.js";
|
|
16
|
+
import { t as se } from "./client-BE52OM0U.js";
|
|
17
|
+
import { A as ce, C as le, G as _, H as v, L as ue, O as de, S as fe, T as pe, V as me, Xt as he, Y as ge, _ as _e, b as ve, h as y, k as b, nt as ye, o as x, rn as be, rt as xe, w as Se, y as S } from "./store-CVdrQCza.js";
|
|
18
|
+
import { t as Ce } from "./components-BfKSs6sY.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
|
|
21
|
-
let t =
|
|
20
|
+
function we(e = {}) {
|
|
21
|
+
let t = m.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
22
22
|
if (!n) {
|
|
23
|
-
|
|
23
|
+
ee && g.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r =
|
|
26
|
+
let r = ne(), i = h(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
|
-
|
|
28
|
+
ee && g.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
let o = {
|
|
@@ -34,8 +34,8 @@ function C(e = {}) {
|
|
|
34
34
|
...r.getUser(),
|
|
35
35
|
...e.user
|
|
36
36
|
},
|
|
37
|
-
eventId: e.eventId ||
|
|
38
|
-
}, s =
|
|
37
|
+
eventId: e.eventId || ae()
|
|
38
|
+
}, s = m.document.createElement("script");
|
|
39
39
|
s.async = !0, s.crossOrigin = "anonymous", s.src = p(a, o);
|
|
40
40
|
let { onLoad: c, onClose: l } = o;
|
|
41
41
|
if (c && (s.onload = c), l) {
|
|
@@ -43,21 +43,21 @@ function C(e = {}) {
|
|
|
43
43
|
if (t.data === "__sentry_reportdialog_closed__") try {
|
|
44
44
|
l();
|
|
45
45
|
} finally {
|
|
46
|
-
|
|
46
|
+
m.removeEventListener("message", e);
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
m.addEventListener("message", e);
|
|
50
50
|
}
|
|
51
51
|
n.appendChild(s);
|
|
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
|
-
return
|
|
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 =
|
|
86
|
-
let t =
|
|
85
|
+
super(e), this.state = w, this._openFallbackReportDialog = !0;
|
|
86
|
+
let t = h();
|
|
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 && we({
|
|
89
89
|
...e.dialogOptions,
|
|
90
90
|
eventId: this._lastEventId
|
|
91
91
|
});
|
|
@@ -93,13 +93,13 @@ var De = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
93
93
|
}
|
|
94
94
|
componentDidCatch(e, t) {
|
|
95
95
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
96
|
-
|
|
96
|
+
re((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 && we({
|
|
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 = xe();
|
|
136
|
+
function Ne() {
|
|
137
137
|
let e = new URLSearchParams(window.location.search).get(o), t = c ? window.localStorage.getItem(o) : null, n = e == null ? t : e;
|
|
138
|
-
return n == null ? c &&
|
|
138
|
+
return n == null ? c && ge() != 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 Pe(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 D(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
|
+
}, D = {};
|
|
209
|
+
function O(e) {
|
|
210
|
+
return e && Object.assign(D, e), D;
|
|
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 Be(e, t) {
|
|
215
215
|
return typeof t == "bigint" ? t.toString() : t;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Ve(e) {
|
|
218
218
|
return { get value() {
|
|
219
219
|
{
|
|
220
220
|
let t = e();
|
|
@@ -223,16 +223,16 @@ function ze(e) {
|
|
|
223
223
|
throw Error("cached value already set");
|
|
224
224
|
} };
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function He(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
|
|
231
|
-
function
|
|
230
|
+
var k = Symbol("evaluating");
|
|
231
|
+
function A(e, t, n) {
|
|
232
232
|
let r;
|
|
233
233
|
Object.defineProperty(e, t, {
|
|
234
234
|
get() {
|
|
235
|
-
if (r !==
|
|
235
|
+
if (r !== k) return r === void 0 && (r = k, r = n()), r;
|
|
236
236
|
},
|
|
237
237
|
set(n) {
|
|
238
238
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -240,15 +240,15 @@ function M(e, t, n) {
|
|
|
240
240
|
configurable: !0
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
var
|
|
244
|
-
function
|
|
243
|
+
var j = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
244
|
+
function Ue(e) {
|
|
245
245
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function We(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 M(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 P(e) {
|
|
|
261
261
|
error: () => t.error
|
|
262
262
|
} : t;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ge(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 N(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 F(e, t = 0) {
|
|
|
273
273
|
}
|
|
274
274
|
return !1;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function P(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 F(e) {
|
|
283
283
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function I(e, t, n) {
|
|
286
286
|
var r;
|
|
287
287
|
let i = {
|
|
288
288
|
...e,
|
|
@@ -290,11 +290,11 @@ function R(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 = F((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? F(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? F((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? F((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 Ke(...e) {
|
|
298
298
|
let [t, n, r] = e;
|
|
299
299
|
return typeof t == "string" ? {
|
|
300
300
|
message: t,
|
|
@@ -305,41 +305,41 @@ function We(...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 L = (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, Be, 2), Object.defineProperty(e, "toString", {
|
|
316
316
|
value: () => e.message,
|
|
317
317
|
enumerable: !1
|
|
318
318
|
});
|
|
319
|
-
},
|
|
319
|
+
}, qe = T("$ZodError", L), R = T("$ZodError", L, { Parent: Error }), Je = /* @__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) => I(e, a, O())));
|
|
328
|
+
throw j(t, i == null ? void 0 : i.callee), t;
|
|
329
329
|
}
|
|
330
330
|
return o.value;
|
|
331
|
-
})(
|
|
331
|
+
})(R), Ye = /* @__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) => I(e, a, O())));
|
|
339
|
+
throw j(t, i == null ? void 0 : i.callee), t;
|
|
340
340
|
}
|
|
341
341
|
return o.value;
|
|
342
|
-
})(
|
|
342
|
+
})(R), z = /* @__PURE__*/ ((e) => (t, n, r) => {
|
|
343
343
|
let i = r ? {
|
|
344
344
|
...r,
|
|
345
345
|
async: !1
|
|
@@ -347,38 +347,38 @@ var Ge = (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 ? qe : e)(a.issues.map((e) => I(e, i, O())))
|
|
354
354
|
} : {
|
|
355
355
|
success: !0,
|
|
356
356
|
data: a.value
|
|
357
357
|
};
|
|
358
|
-
})(
|
|
358
|
+
})(R), Xe = /* @__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) => I(e, i, O())))
|
|
366
366
|
} : {
|
|
367
367
|
success: !0,
|
|
368
368
|
data: a.value
|
|
369
369
|
};
|
|
370
|
-
})(
|
|
370
|
+
})(R), 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
|
-
}, Qe = /^-?\d+(?:\.\d+)?$/, $e = /*@__PURE__*/
|
|
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
|
-
}, B = /*@__PURE__*/
|
|
381
|
+
}, B = /*@__PURE__*/ T("$ZodType", (e, t) => {
|
|
382
382
|
var n, r;
|
|
383
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];
|
|
@@ -391,29 +391,29 @@ var Ge = (e, t) => {
|
|
|
391
391
|
});
|
|
392
392
|
} else {
|
|
393
393
|
let t = (e, t, n) => {
|
|
394
|
-
let r =
|
|
394
|
+
let r = N(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 = N(e, t)));
|
|
405
405
|
});
|
|
406
406
|
} else {
|
|
407
407
|
if (e.issues.length === t) continue;
|
|
408
|
-
r || (r =
|
|
408
|
+
r || (r = N(e, t));
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
return i ? i.then(() => e) : e;
|
|
412
412
|
}, n = (n, r, a) => {
|
|
413
|
-
if (
|
|
413
|
+
if (N(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,17 +432,17 @@ var Ge = (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);
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
A(e, "~standard", () => ({
|
|
442
442
|
validate: (t) => {
|
|
443
443
|
try {
|
|
444
444
|
var n;
|
|
445
|
-
let r =
|
|
445
|
+
let r = z(e, t);
|
|
446
446
|
return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
|
|
447
447
|
} catch {
|
|
448
448
|
return Xe(e, t).then((e) => {
|
|
@@ -454,7 +454,7 @@ var Ge = (e, t) => {
|
|
|
454
454
|
vendor: "zod",
|
|
455
455
|
version: 1
|
|
456
456
|
}));
|
|
457
|
-
}), tt = /*@__PURE__*/
|
|
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 {
|
|
@@ -467,7 +467,7 @@ var Ge = (e, t) => {
|
|
|
467
467
|
inst: e
|
|
468
468
|
}), n;
|
|
469
469
|
};
|
|
470
|
-
}), nt = /*@__PURE__*/
|
|
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 {
|
|
@@ -484,7 +484,7 @@ var Ge = (e, t) => {
|
|
|
484
484
|
...a ? { received: a } : {}
|
|
485
485
|
}), n;
|
|
486
486
|
};
|
|
487
|
-
}), rt = /*@__PURE__*/
|
|
487
|
+
}), rt = /*@__PURE__*/ T("$ZodNever", (e, t) => {
|
|
488
488
|
B.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
|
|
489
489
|
expected: "never",
|
|
490
490
|
code: "invalid_type",
|
|
@@ -493,9 +493,9 @@ var Ge = (e, t) => {
|
|
|
493
493
|
}), t);
|
|
494
494
|
});
|
|
495
495
|
function it(e, t, n) {
|
|
496
|
-
e.issues.length && t.issues.push(...
|
|
496
|
+
e.issues.length && t.issues.push(...P(n, e.issues)), t.value[n] = e.value;
|
|
497
497
|
}
|
|
498
|
-
var at = /*@__PURE__*/
|
|
498
|
+
var at = /*@__PURE__*/ T("$ZodArray", (e, t) => {
|
|
499
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({
|
|
@@ -519,7 +519,7 @@ var at = /*@__PURE__*/ D("$ZodArray", (e, t) => {
|
|
|
519
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(...P(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
|
}
|
|
@@ -529,7 +529,7 @@ function ot(e) {
|
|
|
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 = Ge(e.shape);
|
|
533
533
|
return {
|
|
534
534
|
...e,
|
|
535
535
|
keys: t,
|
|
@@ -559,7 +559,7 @@ function st(e, t, n, r, i, a) {
|
|
|
559
559
|
inst: a
|
|
560
560
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
561
561
|
}
|
|
562
|
-
var ct = /*@__PURE__*/
|
|
562
|
+
var ct = /*@__PURE__*/ T("$ZodObject", (e, t) => {
|
|
563
563
|
B.init(e, t);
|
|
564
564
|
let n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
565
565
|
if (!(n != null && n.get)) {
|
|
@@ -569,8 +569,8 @@ var ct = /*@__PURE__*/ D("$ZodObject", (e, t) => {
|
|
|
569
569
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
570
570
|
} });
|
|
571
571
|
}
|
|
572
|
-
let r =
|
|
573
|
-
|
|
572
|
+
let r = Ve(() => ot(t));
|
|
573
|
+
A(e._zod, "propValues", () => {
|
|
574
574
|
let e = t.shape, n = {};
|
|
575
575
|
for (let t in e) {
|
|
576
576
|
let r = e[t]._zod;
|
|
@@ -581,7 +581,7 @@ var ct = /*@__PURE__*/ D("$ZodObject", (e, t) => {
|
|
|
581
581
|
}
|
|
582
582
|
return n;
|
|
583
583
|
});
|
|
584
|
-
let i =
|
|
584
|
+
let i = Ue, a = t.catchall, o;
|
|
585
585
|
e._zod.parse = (t, n) => {
|
|
586
586
|
o != null || (o = r.value);
|
|
587
587
|
let s = t.value;
|
|
@@ -609,10 +609,10 @@ function lt(e, t) {
|
|
|
609
609
|
value: void 0
|
|
610
610
|
} : e;
|
|
611
611
|
}
|
|
612
|
-
var ut = /*@__PURE__*/
|
|
613
|
-
B.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional",
|
|
612
|
+
var ut = /*@__PURE__*/ T("$ZodOptional", (e, t) => {
|
|
613
|
+
B.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", A(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), A(e._zod, "pattern", () => {
|
|
614
614
|
let e = t.innerType._zod.pattern;
|
|
615
|
-
return e ? RegExp(`^(${
|
|
615
|
+
return e ? RegExp(`^(${He(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);
|
|
@@ -620,7 +620,7 @@ var ut = /*@__PURE__*/ D("$ZodOptional", (e, t) => {
|
|
|
620
620
|
}
|
|
621
621
|
return e.value === void 0 ? e : t.innerType._zod.run(e, n);
|
|
622
622
|
};
|
|
623
|
-
}), dt = /*@__PURE__*/
|
|
623
|
+
}), dt = /*@__PURE__*/ T("$ZodCustom", (e, t) => {
|
|
624
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
626
|
if (i instanceof Promise) return i.then((t) => ft(t, n, r, e));
|
|
@@ -637,7 +637,7 @@ function ft(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(Ke(e));
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
@@ -646,7 +646,7 @@ function ft(e, t, n, r) {
|
|
|
646
646
|
function pt(e, t) {
|
|
647
647
|
return new e({
|
|
648
648
|
type: "string",
|
|
649
|
-
...
|
|
649
|
+
...M(t)
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -654,14 +654,14 @@ function mt(e, t) {
|
|
|
654
654
|
return new e({
|
|
655
655
|
type: "number",
|
|
656
656
|
checks: [],
|
|
657
|
-
...
|
|
657
|
+
...M(t)
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
// @__NO_SIDE_EFFECTS__
|
|
661
661
|
function ht(e, t) {
|
|
662
662
|
return new e({
|
|
663
663
|
type: "never",
|
|
664
|
-
...
|
|
664
|
+
...M(t)
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -670,14 +670,14 @@ function gt(e, t, n) {
|
|
|
670
670
|
type: "custom",
|
|
671
671
|
check: "custom",
|
|
672
672
|
fn: t,
|
|
673
|
-
...
|
|
673
|
+
...M(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 H = /*@__PURE__*/
|
|
678
|
+
var H = /*@__PURE__*/ T("ZodMiniType", (e, t) => {
|
|
679
679
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
680
|
-
B.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) =>
|
|
680
|
+
B.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Je(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => z(e, t, n), e.parseAsync = async (t, n) => Ye(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => Xe(e, t, n), e.check = (...n) => {
|
|
681
681
|
var r;
|
|
682
682
|
return e.clone({
|
|
683
683
|
...t,
|
|
@@ -687,29 +687,29 @@ var H = /*@__PURE__*/ D("ZodMiniType", (e, t) => {
|
|
|
687
687
|
onattach: []
|
|
688
688
|
} } : e)]
|
|
689
689
|
}, { parent: !0 });
|
|
690
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
691
|
-
}), _t = /*@__PURE__*/
|
|
690
|
+
}, e.with = e.check, e.clone = (t, n) => We(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
692
|
tt.init(e, t), H.init(e, t);
|
|
693
693
|
});
|
|
694
694
|
// @__NO_SIDE_EFFECTS__
|
|
695
695
|
function vt(e) {
|
|
696
696
|
return /* @__PURE__ */ pt(_t, e);
|
|
697
697
|
}
|
|
698
|
-
var yt = /*@__PURE__*/
|
|
698
|
+
var yt = /*@__PURE__*/ T("ZodMiniNumber", (e, t) => {
|
|
699
699
|
nt.init(e, t), H.init(e, t);
|
|
700
700
|
});
|
|
701
701
|
// @__NO_SIDE_EFFECTS__
|
|
702
702
|
function U(e) {
|
|
703
703
|
return /* @__PURE__ */ mt(yt, e);
|
|
704
704
|
}
|
|
705
|
-
var bt = /*@__PURE__*/
|
|
705
|
+
var bt = /*@__PURE__*/ T("ZodMiniNever", (e, t) => {
|
|
706
706
|
rt.init(e, t), H.init(e, t);
|
|
707
707
|
});
|
|
708
708
|
// @__NO_SIDE_EFFECTS__
|
|
709
709
|
function xt(e) {
|
|
710
710
|
return /* @__PURE__ */ ht(bt, e);
|
|
711
711
|
}
|
|
712
|
-
var St = /*@__PURE__*/
|
|
712
|
+
var St = /*@__PURE__*/ T("ZodMiniArray", (e, t) => {
|
|
713
713
|
at.init(e, t), H.init(e, t);
|
|
714
714
|
});
|
|
715
715
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -717,11 +717,11 @@ function Ct(e, t) {
|
|
|
717
717
|
return new St({
|
|
718
718
|
type: "array",
|
|
719
719
|
element: e,
|
|
720
|
-
...
|
|
720
|
+
...M(t)
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
|
-
var wt = /*@__PURE__*/
|
|
724
|
-
ct.init(e, t), H.init(e, t),
|
|
723
|
+
var wt = /*@__PURE__*/ T("ZodMiniObject", (e, t) => {
|
|
724
|
+
ct.init(e, t), H.init(e, t), A(e, "shape", () => t.shape);
|
|
725
725
|
});
|
|
726
726
|
// @__NO_SIDE_EFFECTS__
|
|
727
727
|
function W(e, t) {
|
|
@@ -729,10 +729,10 @@ function W(e, t) {
|
|
|
729
729
|
type: "object",
|
|
730
730
|
shape: e,
|
|
731
731
|
catchall: /* @__PURE__ */ xt(),
|
|
732
|
-
...
|
|
732
|
+
...M(t)
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
var Tt = /*@__PURE__*/
|
|
735
|
+
var Tt = /*@__PURE__*/ T("ZodMiniOptional", (e, t) => {
|
|
736
736
|
ut.init(e, t), H.init(e, t);
|
|
737
737
|
});
|
|
738
738
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -742,7 +742,7 @@ function G(e) {
|
|
|
742
742
|
innerType: e
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
|
-
var Et = /*@__PURE__*/
|
|
745
|
+
var Et = /*@__PURE__*/ T("ZodMiniCustom", (e, t) => {
|
|
746
746
|
dt.init(e, t), H.init(e, t);
|
|
747
747
|
});
|
|
748
748
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -854,25 +854,25 @@ function Y(e) {
|
|
|
854
854
|
}
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region src/floorplan.ready.tsx
|
|
857
|
-
var X = n(), Z = (0,
|
|
858
|
-
(0,
|
|
859
|
-
var Ft = class extends
|
|
857
|
+
var X = n(), Z = (0, Ae.default)("efp:api");
|
|
858
|
+
(0, Me.install)();
|
|
859
|
+
var Ft = class extends te {
|
|
860
860
|
constructor(...e) {
|
|
861
861
|
super(...e), this.root = void 0;
|
|
862
862
|
}
|
|
863
863
|
init() {
|
|
864
|
-
this.ignoreQuery ||
|
|
864
|
+
this.ignoreQuery || pe(this.offHistory), fe("load"), x.fp = this, ve(this.allowConsent), S(y.Load, ""), this.root = (0, je.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(ke, { children: /* @__PURE__ */ (0, X.jsx)(Ce, {
|
|
865
865
|
offHistory: this.offHistory,
|
|
866
866
|
allowConsent: this.allowConsent
|
|
867
|
-
}) })),
|
|
867
|
+
}) })), S(y.Rendered, ""), d(() => x.layerStore.layersLoaded, () => {
|
|
868
868
|
if (this.resolveReady(), !x.initialized) {
|
|
869
869
|
var e;
|
|
870
870
|
(e = this.onInit) == null || e.call(this, this);
|
|
871
871
|
}
|
|
872
872
|
x.initialized = !0;
|
|
873
873
|
});
|
|
874
|
-
let e =
|
|
875
|
-
e && import("./bootIntercom-
|
|
874
|
+
let e = ze(window.__data);
|
|
875
|
+
e && import("./bootIntercom-Bf4CaruD.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
876
876
|
}
|
|
877
877
|
selectBooth(e) {
|
|
878
878
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -919,7 +919,7 @@ var Ft = class extends ee {
|
|
|
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 } =
|
|
922
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = ce(e);
|
|
923
923
|
x.boothStore.highlightedByExternalIds = [...t], x.exhibitorStore.highlightedByExternalIds = [...n];
|
|
924
924
|
}
|
|
925
925
|
selectRoute(e, t) {
|
|
@@ -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
|
-
x.routeStore.selectRoute(new
|
|
933
|
+
x.routeStore.selectRoute(new de(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"), x.routeStore.selectRoute(new
|
|
936
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), x.routeStore.selectRoute(new de(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,7 +946,7 @@ 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: ue(e.map((e) => [e.name, {
|
|
950
950
|
cx: e.rect.center.x,
|
|
951
951
|
cy: e.rect.center.y
|
|
952
952
|
}])) }));
|
|
@@ -1082,7 +1082,7 @@ var Ft = class extends ee {
|
|
|
1082
1082
|
x.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"), le(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
getVisibility() {
|
|
1088
1088
|
return x.uiState.visibility;
|
|
@@ -1136,7 +1136,7 @@ var Ft = class extends ee {
|
|
|
1136
1136
|
e.rect && i.push(e.rect);
|
|
1137
1137
|
});
|
|
1138
1138
|
}), i.length === 0) return;
|
|
1139
|
-
let a =
|
|
1139
|
+
let a = he.fromUnion(...i);
|
|
1140
1140
|
return {
|
|
1141
1141
|
leftTop: {
|
|
1142
1142
|
x: a.min.x,
|
|
@@ -1163,7 +1163,7 @@ var Ft = class extends ee {
|
|
|
1163
1163
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1164
1164
|
return;
|
|
1165
1165
|
}
|
|
1166
|
-
let i =
|
|
1166
|
+
let i = he.fromMinMax({
|
|
1167
1167
|
x: e.leftTop.x,
|
|
1168
1168
|
y: e.leftTop.y
|
|
1169
1169
|
}, {
|
|
@@ -1175,12 +1175,12 @@ var Ft = class extends ee {
|
|
|
1175
1175
|
getBoothRect(e) {
|
|
1176
1176
|
var t;
|
|
1177
1177
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1178
|
-
let n = (t =
|
|
1178
|
+
let n = (t = b(e)) == null ? void 0 : t.rect;
|
|
1179
1179
|
return n ? Lt.fromBox(n) : void 0;
|
|
1180
1180
|
}
|
|
1181
1181
|
convertToGeo(e, t) {
|
|
1182
1182
|
var n;
|
|
1183
|
-
if (!(!(
|
|
1183
|
+
if (!(!(_ == null || (n = _.properties) == null) && n.config)) {
|
|
1184
1184
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1185
1185
|
return;
|
|
1186
1186
|
}
|
|
@@ -1188,11 +1188,11 @@ var Ft = class extends ee {
|
|
|
1188
1188
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1189
1189
|
return;
|
|
1190
1190
|
}
|
|
1191
|
-
return
|
|
1191
|
+
return me(e, t, _.properties.config);
|
|
1192
1192
|
}
|
|
1193
1193
|
getGeoConfig() {
|
|
1194
1194
|
var e, t;
|
|
1195
|
-
let n =
|
|
1195
|
+
let n = _ == null || (e = _.properties) == null ? void 0 : e.config;
|
|
1196
1196
|
return n ? {
|
|
1197
1197
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1198
1198
|
p0: n.p0,
|
|
@@ -1202,7 +1202,7 @@ var Ft = class extends ee {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
unstable_destroy() {
|
|
1204
1204
|
let e = window.__efpElement.firstChild;
|
|
1205
|
-
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f), x.maplibreStore.dispose(),
|
|
1205
|
+
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f), x.maplibreStore.dispose(), Se(), ye(), _e(), [...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();
|
|
1206
1206
|
}
|
|
1207
1207
|
search(e) {
|
|
1208
1208
|
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), x.fuzzySearchEngineStore.loadEngine().then(() => (x.searchStore.selectSearch(e), x.uiState.fuzzySearchItems.map((e) => ({
|
|
@@ -1250,7 +1250,7 @@ var Ft = class extends ee {
|
|
|
1250
1250
|
showPathway(e, t) {
|
|
1251
1251
|
let n = new URLSearchParams();
|
|
1252
1252
|
if (n.set(s, e), t != null && t.length) {
|
|
1253
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1253
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = ce(t);
|
|
1254
1254
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1255
1255
|
}
|
|
1256
1256
|
this.applyParameters(n.toString());
|
|
@@ -1303,7 +1303,7 @@ var Ft = class extends ee {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
};
|
|
1305
1305
|
function Q(e) {
|
|
1306
|
-
return typeof e == "string" ?
|
|
1306
|
+
return typeof e == "string" ? b(e) : x.routeStore.getNearestBooth(e);
|
|
1307
1307
|
}
|
|
1308
1308
|
var It = 0;
|
|
1309
1309
|
function $(e, t, n) {
|