@expofp/floorplan 3.10.2 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-Bj5GinNb.js → Button-DmPeJZCN.js} +5 -5
- package/dist/browser/{CookieConsent-vekYv-WL.js → CookieConsent-6-9q2wKV.js} +7 -7
- package/dist/browser/{Debug-B8Z6UAk7.js → Debug-3bI5vwTv.js} +7 -7
- package/dist/browser/{Demo-DxKBQPXs.js → Demo-qTtvWifi.js} +9 -9
- package/dist/browser/{Free-xJ581Tn5.js → Free-CD_OvzMT.js} +9 -9
- package/dist/browser/{Gallery-BCLvsYMq.js → Gallery-D16-00mk.js} +9 -9
- package/dist/browser/{GpsLoader-D8b4YGWa.js → GpsLoader-CMPI_EJr.js} +9 -9
- package/dist/browser/{KioskStore-iac7BFkc.js → KioskStore-KhqffTn9.js} +3 -3
- package/dist/browser/{MaplibreAdapter-hBzzKWxy.js → MaplibreAdapter-CxVjU49j.js} +9 -9
- package/dist/browser/{ModalContainer-CNFkEgVO.js → ModalContainer-RI1x2sgo.js} +10 -10
- package/dist/browser/{PermissionNotice-BjNUzq-I.js → PermissionNotice-D8kO5oWK.js} +6 -6
- package/dist/browser/{SetKioskMode-rZPgTzX2.js → SetKioskMode-CVACOg2n.js} +8 -8
- package/dist/browser/{ShowKiosk-C0-HDdLS.js → ShowKiosk-9Cegzzmp.js} +10 -10
- package/dist/browser/{TouchHand-BpAIvJuD.js → TouchHand-Ep4vi1-O.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-B8HWceZY.js → ViewerMenuPanel-DjMPzBGY.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-DrG0zrQz.js → add-debug-secret-listener-sVpxJOA4.js} +1 -1
- package/dist/browser/{boolean-editor-CksHtQqy.js → boolean-editor-DbKheXB7.js} +9 -9
- package/dist/browser/{bootIntercom-DIY2vGKD.js → bootIntercom-BwUrDpiz.js} +2 -2
- package/dist/browser/{booth-by-xy-CB4TcAKe.js → booth-by-xy-DRUiuOmc.js} +121 -106
- package/dist/browser/{browser-BJI7T84p.js → browser-DfAAgCEL.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-DY5QZHM2.js → classnames-DDqQQkCN.js} +2 -2
- package/dist/browser/{client-BKj8O-3N.js → client-CZSclqZM.js} +4 -4
- package/dist/browser/{components-C9T4gWSC.js → components-Bjyqu35r.js} +38 -38
- package/dist/browser/{debug-overlay-oxl07sGQ.js → debug-overlay-CGt1pj-M.js} +10 -10
- package/dist/browser/{debug-ui-vcgITEra.js → debug-ui-D-D_vlp1.js} +6 -6
- package/dist/browser/{dist-DQ-MzacE.js → dist-CL_uyaoa.js} +3 -3
- package/dist/browser/{dist-BD71uIJa.js → dist-ONDtUhT2.js} +5 -5
- package/dist/browser/{dist-B6a_6LWa.js → dist-V33BDzLb.js} +6 -6
- package/dist/browser/{efp-debug-init-DeppnUIb.js → efp-debug-init-DxEQuRHk.js} +2 -2
- package/dist/browser/{enum-editor-CeBF-egH.js → enum-editor-DG92oZeF.js} +11 -11
- package/dist/browser/{es5-DyEOE9h8.js → es5-BSWs3YWr.js} +2 -2
- package/dist/browser/{event-not-found--rNrnsfb.js → event-not-found-Z4wb-LNc.js} +1 -1
- package/dist/browser/{exports-CQRMT27z.js → exports-BLV4-zfL.js} +1 -1
- package/dist/browser/{favicon-Y_DfJIgc.js → favicon-BQW1E3bU.js} +1 -1
- package/dist/browser/{fetch-retry.umd-mDEk7YNi.js → fetch-retry.umd-DC6Ql4P0.js} +2 -2
- package/dist/browser/{flex-gMXInosq.js → flex-B_4SOC_u.js} +5 -5
- package/dist/browser/{floorplan.loader-CKHHfoqW.js → floorplan.loader-DoJ2VQu0.js} +11 -11
- package/dist/browser/{floorplan.ready-Dk5rTB4-.js → floorplan.ready-B_BwJrtz.js} +12 -12
- package/dist/browser/{fuse-C0XgkQam.js → fuse-z0Cnj-cM.js} +2 -2
- package/dist/browser/{i18n-DDp2WKLS.js → i18n-xEZCBKNV.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-DJ1o-lSs.js → index.module-DLdW0sj8.js} +4 -4
- package/dist/browser/{is-webview-DSeLj16c.js → is-webview-DyfiukCX.js} +1 -1
- package/dist/browser/{jsx-runtime-4SB5tKoZ.js → jsx-runtime-DAN07kgB.js} +2 -2
- package/dist/browser/{lib-CNsibyKE.js → lib-BeWX12Ej.js} +4 -4
- package/dist/browser/{loadImage-m5qxmKm8.js → loadImage-CArumIxk.js} +4 -4
- package/dist/browser/{logDeviceInfo-DJbQFFfl.js → logDeviceInfo-DWxMGiZR.js} +9 -9
- package/dist/browser/{main-Ci70zd7U.js → main-Bc1iznBR.js} +1 -1
- package/dist/browser/{mobx-85FEI3nE.js → mobx-Dzavco9D.js} +4 -4
- package/dist/browser/{particles.min-Cjclve40.js → particles.min-CHtISs00.js} +2 -2
- package/dist/browser/{prop-types-O5uO9swn.js → prop-types-BQxsUoxX.js} +2 -2
- package/dist/browser/{react-938H1sny.js → react-Cu706Ph1.js} +2 -2
- package/dist/browser/{react-dom-BB5-5CwA.js → react-dom-DT1n8Muz.js} +3 -3
- package/dist/browser/{reset-all-settings-C3UGYA7h.js → reset-all-settings-D2RthoP4.js} +7 -7
- package/dist/browser/{rolldown-runtime-D_bOcK0P.js → rolldown-runtime-DHef_8fH.js} +1 -1
- package/dist/browser/{settings-CuvIoKLw.js → settings--Y0n4PSR.js} +2 -2
- package/dist/browser/{settings-item-jhTAtSrk.js → settings-item-Dv1G9gTh.js} +6 -6
- package/dist/browser/{store-g-LcmXc-.js → store-C1iT-e-6.js} +12 -12
- package/dist/browser/{string-editor-CjVQpF6U.js → string-editor-BfNPvbRL.js} +7 -7
- package/dist/browser/{theme-DxKuEQUA.js → theme-byX3VrfS.js} +8 -8
- package/dist/browser/{ui-BMAImlSF.js → ui-DJZFvwjb.js} +8 -8
- package/dist/browser/{useRenderTarget-DL0u3FKy.js → useRenderTarget-OQs5aKcF.js} +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.d.ts +28 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/data/Flags.d.ts +4 -0
- package/package.json +4 -4
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c192cd93-2c5d-41af-ae79-f811824ed295", e._sentryDebugIdIdentifier = "sentry-dbid-c192cd93-2c5d-41af-ae79-f811824ed295");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./loadImage-
|
|
12
|
-
import { M as r, lt as i, v as a } from "./i18n-
|
|
13
|
-
import { $t as o, At as s, Ct as c, Dt as l, Et as u, F as d, I as f, It as p, Kt as m, L as h, Lt as g, Nt as _, R as v, Tt as y, Ut as b, Xt as x, Yt as S, Zt as C, an as w, bt as T, dt as E, en as D, g as O, i as k, in as ee, jt as A, kt as j, lt as M, mt as te, nn as N, o as P, pt as ne, rn as re, s as ie, sn as ae, t as F, tn as oe, wt as se, xt as I, z as ce } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DHef_8fH.js";
|
|
10
|
+
import { t } from "./react-Cu706Ph1.js";
|
|
11
|
+
import { t as n } from "./loadImage-CArumIxk.js";
|
|
12
|
+
import { M as r, lt as i, v as a } from "./i18n-xEZCBKNV.js";
|
|
13
|
+
import { $t as o, At as s, Ct as c, Dt as l, Et as u, F as d, I as f, It as p, Kt as m, L as h, Lt as g, Nt as _, R as v, Tt as y, Ut as b, Xt as x, Yt as S, Zt as C, an as w, bt as T, dt as E, en as D, g as O, i as k, in as ee, jt as A, kt as j, lt as M, mt as te, nn as N, o as P, pt as ne, rn as re, s as ie, sn as ae, t as F, tn as oe, wt as se, xt as I, z as ce } from "./store-C1iT-e-6.js";
|
|
14
14
|
//#region src/components/Map/traffic/trafficLayers.ts
|
|
15
15
|
var le = "traffic_route", ue = "traffic_route_stop", de = "traffic_vehicles", fe = "build_route_lines", pe = "build_route_dots", me = 5;
|
|
16
16
|
function he() {
|
|
@@ -49,26 +49,32 @@ function ye() {
|
|
|
49
49
|
return RegExp(`^${ue}_\\d+$`);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
|
-
//#region src/components/Map/drawing/config/config-booth-badge.ts
|
|
53
|
-
var be = /* @__PURE__ */ e(x(), 1)
|
|
54
|
-
function
|
|
55
|
-
return e.
|
|
52
|
+
//#region src/components/Map/drawing/config/config-booth-badge-eligibility.ts
|
|
53
|
+
var be = /* @__PURE__ */ e(x(), 1);
|
|
54
|
+
function xe(e) {
|
|
55
|
+
return e.hideExhibitorBoothNumber || e.hideBoothBadges || !e.hasExhibitors ? !1 : e.noLabels || !e.hideLogoInBooth && e.hasLogoInBooth;
|
|
56
56
|
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/components/Map/drawing/config/config-booth-badge.ts
|
|
59
|
+
var Se = .5, Ce = .3, we = 15, Te = 24, Ee = 30, De = 12, Oe = .8, ke = document.createElement("canvas").getContext("2d");
|
|
57
60
|
function Ae(e) {
|
|
61
|
+
return e.length <= we ? e : e.slice(0, we - 1) + "…";
|
|
62
|
+
}
|
|
63
|
+
function je(e) {
|
|
58
64
|
var t, n;
|
|
59
65
|
if (!((t = e.paths) != null && t.length)) return [];
|
|
60
66
|
let r = ((n = e.layer) == null ? void 0 : n.name) || "", i = [];
|
|
61
67
|
for (let t of e.paths) for (let e of m(t.index, r)) i.push(e);
|
|
62
68
|
return i;
|
|
63
69
|
}
|
|
64
|
-
function
|
|
65
|
-
let t =
|
|
70
|
+
function Me(e) {
|
|
71
|
+
let t = je(e);
|
|
66
72
|
return t.length ? o.fromPoints(t.flat().map(([e, t]) => ({
|
|
67
73
|
x: e,
|
|
68
74
|
y: t
|
|
69
75
|
}))) : null;
|
|
70
76
|
}
|
|
71
|
-
function
|
|
77
|
+
function Ne(e) {
|
|
72
78
|
let t = [], n = [];
|
|
73
79
|
for (let r of e) {
|
|
74
80
|
let e = t.length;
|
|
@@ -95,7 +101,7 @@ function L(e, t, n) {
|
|
|
95
101
|
y: t
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
|
-
function
|
|
104
|
+
function Pe(e, t, n, r, i, a, o) {
|
|
99
105
|
if (!e.length || !L(n, r, t)) return o;
|
|
100
106
|
let s = 0, c = o;
|
|
101
107
|
for (let e = 0; e < 10; e++) {
|
|
@@ -104,12 +110,12 @@ function Ne(e, t, n, r, i, a, o) {
|
|
|
104
110
|
}
|
|
105
111
|
return s;
|
|
106
112
|
}
|
|
107
|
-
function
|
|
113
|
+
function Fe(e) {
|
|
108
114
|
var t;
|
|
109
|
-
return (t =
|
|
115
|
+
return (t = Me(e)) == null ? e.rect : t;
|
|
110
116
|
}
|
|
111
|
-
function
|
|
112
|
-
let a =
|
|
117
|
+
function Ie(e, t, n, r, i) {
|
|
118
|
+
let a = Fe(e);
|
|
113
119
|
if (t.length) {
|
|
114
120
|
let e = /* @__PURE__ */ new Set(), i = null, o = Infinity;
|
|
115
121
|
for (let s of t) for (let t of s) {
|
|
@@ -139,16 +145,16 @@ function Fe(e, t, n, r, i) {
|
|
|
139
145
|
function R(e) {
|
|
140
146
|
return e && e !== "none" ? e : void 0;
|
|
141
147
|
}
|
|
142
|
-
function
|
|
148
|
+
function Le(e) {
|
|
143
149
|
var t;
|
|
144
150
|
let n = R(e.borderColor) || R(ae.boothBorderColor) || ae.colors.booths.default;
|
|
145
151
|
return ((t = e.paths) == null ? void 0 : t.length) > 1 && R(e.paths[e.paths.length - 1].color) || n;
|
|
146
152
|
}
|
|
147
|
-
function
|
|
153
|
+
function Re(e, t) {
|
|
148
154
|
var n;
|
|
149
|
-
let r =
|
|
150
|
-
|
|
151
|
-
let u =
|
|
155
|
+
let r = Ae(t.title || t.name), i = Le(t), o = O((0, be.default)(i).hex()), s = window.devicePixelRatio || 1, l = ne();
|
|
156
|
+
ke.font = g(Ee, l);
|
|
157
|
+
let u = ke.measureText(r).width, d = Math.ceil(u + De * 2), f = (t.borderWidth || F.borderWidth) / 2, p = d * Oe, m = 54 * Oe, h = (n = t.rotate) == null ? 0 : n, _ = t.rect.size.width, v = t.rect.size.height, b = Math.min(_ > 0 ? _ * Se / p : Infinity, v > 0 ? v * Ce / m : Infinity), x = je(t), S = Ne(x), { x: C, y: w } = Ie(t, x, S, f, h), T = Pe(x, S, C, w, p, m, b), E = (e, t) => {
|
|
152
158
|
let n = e / 2, r = t / 2;
|
|
153
159
|
return new oe(ee({
|
|
154
160
|
x: C + n,
|
|
@@ -180,18 +186,27 @@ function Le(e, t) {
|
|
|
180
186
|
A.hidden = !t, M.hidden = !t, e.update(A, M);
|
|
181
187
|
}), e.onPtScale(`badge-bg-${t.id}`, (e) => (A.shape = j(D(e)), A.hidden = N(), A)), e.onPtScale(`badge-text-${t.id}`, (e) => {
|
|
182
188
|
let t = Math.min(e, T);
|
|
183
|
-
return M.lines[0].fontSize =
|
|
189
|
+
return M.lines[0].fontSize = Te / s * t, M.bounds = j(D(e)), M.hidden = N(), M;
|
|
184
190
|
}), {
|
|
185
191
|
bg: A,
|
|
186
192
|
text: M
|
|
187
193
|
};
|
|
188
194
|
}
|
|
189
|
-
function
|
|
190
|
-
if (S.hideExhibitorBoothNumber) return null;
|
|
195
|
+
function ze(e, t, n) {
|
|
191
196
|
let r = [], i = [];
|
|
192
|
-
for (let t of n)
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
for (let t of n) {
|
|
198
|
+
var a;
|
|
199
|
+
if (t instanceof b && xe({
|
|
200
|
+
hideExhibitorBoothNumber: S.hideExhibitorBoothNumber,
|
|
201
|
+
hideBoothBadges: (a = S.flags) == null ? void 0 : a.hideBoothBadges,
|
|
202
|
+
hideLogoInBooth: ie.hideLogoInBooth,
|
|
203
|
+
noLabels: t.noLabels,
|
|
204
|
+
hasExhibitors: t.exhibitors.length > 0,
|
|
205
|
+
hasLogoInBooth: t.exhibitors.some((e) => e.logoInBooth && e.logo)
|
|
206
|
+
})) {
|
|
207
|
+
let { bg: n, text: a } = Re(e, t);
|
|
208
|
+
r.push(n), i.push(a);
|
|
209
|
+
}
|
|
195
210
|
}
|
|
196
211
|
return r.length ? {
|
|
197
212
|
name: `${t}:badges`,
|
|
@@ -206,9 +221,9 @@ function Re(e, t, n) {
|
|
|
206
221
|
}
|
|
207
222
|
//#endregion
|
|
208
223
|
//#region src/components/Map/drawing/config/config-markers.ts
|
|
209
|
-
var
|
|
210
|
-
function
|
|
211
|
-
let t = [], n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = [], o = e.scene.rootLayer.children.find((e) => e.name ===
|
|
224
|
+
var Be = "_selected", Ve = "markers";
|
|
225
|
+
function He(e) {
|
|
226
|
+
let t = [], n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = [], o = e.scene.rootLayer.children.find((e) => e.name === Ve);
|
|
212
227
|
async function s(e) {
|
|
213
228
|
let t = [];
|
|
214
229
|
e.forEach((e) => {
|
|
@@ -281,7 +296,7 @@ function Ve(e) {
|
|
|
281
296
|
hidden: !(g && e.active),
|
|
282
297
|
origin: y
|
|
283
298
|
}),
|
|
284
|
-
id: `${e.id}${
|
|
299
|
+
id: `${e.id}${Be}`,
|
|
285
300
|
scale: l
|
|
286
301
|
};
|
|
287
302
|
i.push(b, x);
|
|
@@ -298,7 +313,7 @@ function Ve(e) {
|
|
|
298
313
|
let e = P.routeStore.markersData.markers;
|
|
299
314
|
e.length && e.forEach((e) => {
|
|
300
315
|
var t, n;
|
|
301
|
-
let r = i.find((t) => t.id === e.id), a = i.find((t) => t.id === `${e.id}${
|
|
316
|
+
let r = i.find((t) => t.id === e.id), a = i.find((t) => t.id === `${e.id}${Be}`);
|
|
302
317
|
if (!r) return;
|
|
303
318
|
let o = (t = (n = k.findLayer(e.z)) == null ? void 0 : n.visible) == null ? !0 : t;
|
|
304
319
|
e.active ? (r.hidden = !0, a.hidden = !(o && e.active)) : (r.hidden = !o, a.hidden = !0);
|
|
@@ -318,19 +333,19 @@ function Ve(e) {
|
|
|
318
333
|
t.forEach((e) => e()), t.length = 0;
|
|
319
334
|
};
|
|
320
335
|
}
|
|
321
|
-
function
|
|
336
|
+
function Ue(e, t, n) {
|
|
322
337
|
for (let r of P.routeStore.markersData.markers) {
|
|
323
338
|
let i = P.routeStore.markersData.icons.find((e) => e.name === r.icon);
|
|
324
339
|
if (!i) continue;
|
|
325
340
|
let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
|
|
326
|
-
if (
|
|
341
|
+
if (We(e, t, r.x, r.y, a, o)) {
|
|
327
342
|
let e = P.layerStore.findLayer(r.z);
|
|
328
343
|
if (!e || e && e.visible) return r;
|
|
329
344
|
}
|
|
330
345
|
}
|
|
331
346
|
return null;
|
|
332
347
|
}
|
|
333
|
-
function
|
|
348
|
+
function We(e, t, n, r, i, a) {
|
|
334
349
|
return o.fromCenter({
|
|
335
350
|
x: n,
|
|
336
351
|
y: r
|
|
@@ -344,7 +359,7 @@ function Ue(e, t, n, r, i, a) {
|
|
|
344
359
|
}
|
|
345
360
|
//#endregion
|
|
346
361
|
//#region src/components/Map/drawing/config/config-all.ts
|
|
347
|
-
function
|
|
362
|
+
function Ge(e) {
|
|
348
363
|
let { layers: t, defaultLayer: n } = P.layerStore;
|
|
349
364
|
if (n) {
|
|
350
365
|
let e = [].concat(t), r = t.find((e) => e === n), i = t.indexOf(r);
|
|
@@ -355,9 +370,9 @@ function We(e) {
|
|
|
355
370
|
let n = I(v, [], {
|
|
356
371
|
dim: !1,
|
|
357
372
|
interactive: !0
|
|
358
|
-
}), r = I(h, [], { dim: !1 }), i = I(
|
|
373
|
+
}), r = I(h, [], { dim: !1 }), i = I(Ve, []), a = I(ce, [], { dim: !1 }), o = I(f, [], { dim: !1 }), s = I(d, [], { dim: !1 }), c = [], l = [];
|
|
359
374
|
for (let e of t.flat()) _(e.name) ? (e.dim = !1, l.push(e)) : c.push(e);
|
|
360
|
-
let u =
|
|
375
|
+
let u = ze(e, "root", P.boothStore.booths);
|
|
361
376
|
return [
|
|
362
377
|
...c,
|
|
363
378
|
...u ? [u] : [],
|
|
@@ -374,7 +389,7 @@ function We(e) {
|
|
|
374
389
|
}
|
|
375
390
|
//#endregion
|
|
376
391
|
//#region src/components/Map/traffic/UpdateQueue.ts
|
|
377
|
-
var z = /* @__PURE__ */ e(t(), 1),
|
|
392
|
+
var z = /* @__PURE__ */ e(t(), 1), Ke = class {
|
|
378
393
|
constructor() {
|
|
379
394
|
this.queue = [], this.isProcessing = !1, this.rafId = null, this.CHUNK_SIZE = 100, this.TIME_BUDGET = 4;
|
|
380
395
|
}
|
|
@@ -416,7 +431,7 @@ var z = /* @__PURE__ */ e(t(), 1), Ge = class {
|
|
|
416
431
|
destroy() {
|
|
417
432
|
this.rafId !== null && (cancelAnimationFrame(this.rafId), this.rafId = null), this.queue = [], this.isProcessing = !1;
|
|
418
433
|
}
|
|
419
|
-
}, B = 49,
|
|
434
|
+
}, B = 49, qe = `hsl(257, 76%, ${B}%)`, Je = `hsl(339.903, 82%, ${B}%)`, Ye = `hsl(257, 76%, ${Math.round(B * 1.82)}%)`, V = 4, Xe = V, Ze = "U", Qe = "R", $e = "S", et = "P", tt = class {
|
|
420
435
|
constructor() {
|
|
421
436
|
this._state = [[]], this.index = 0, this.pointHashSet = /* @__PURE__ */ new Set(), this.locked = !1, this.storageKey = "expofp_build_route_state", this._selected = 0;
|
|
422
437
|
}
|
|
@@ -455,10 +470,10 @@ var z = /* @__PURE__ */ e(t(), 1), Ge = class {
|
|
|
455
470
|
instruct() {
|
|
456
471
|
this.log(`How to Build a Route:
|
|
457
472
|
Add Point: Click on the map.
|
|
458
|
-
Apply Smoothing: Press ${
|
|
459
|
-
Apply Simplification: Press ${
|
|
460
|
-
Undo: Press ${
|
|
461
|
-
Enable/Disable Preview: Press ${
|
|
473
|
+
Apply Smoothing: Press ${Qe}.
|
|
474
|
+
Apply Simplification: Press ${$e}.
|
|
475
|
+
Undo: Press ${Ze}.
|
|
476
|
+
Enable/Disable Preview: Press ${et}.
|
|
462
477
|
`, 16);
|
|
463
478
|
}
|
|
464
479
|
applyChaikinSmoothing(e, t, n) {
|
|
@@ -558,8 +573,8 @@ Enable/Disable Preview: Press ${$e}.
|
|
|
558
573
|
this._selected = Math.max(0, Math.min(e, this.points.length - 1));
|
|
559
574
|
}
|
|
560
575
|
};
|
|
561
|
-
function
|
|
562
|
-
let n = (0, z.useRef)(!1), r = (0, z.useRef)(), i = (0, z.useMemo)(() => s(V,
|
|
576
|
+
function nt({ enabled: e, rendererService: t }) {
|
|
577
|
+
let n = (0, z.useRef)(!1), r = (0, z.useRef)(), i = (0, z.useMemo)(() => s(V, qe), []), a = (0, z.useMemo)(() => s(V, Je), []), o = (0, z.useMemo)(() => new tt(), []), c = (0, z.useRef)(new Ke()), d = (0, z.useMemo)(() => {
|
|
563
578
|
if (!t.scene) return {};
|
|
564
579
|
let e = t.scene.rootLayer.children;
|
|
565
580
|
return {
|
|
@@ -583,8 +598,8 @@ function tt({ enabled: e, rendererService: t }) {
|
|
|
583
598
|
let t = l[e - 1], n = l[e];
|
|
584
599
|
f.push({
|
|
585
600
|
points: [t, n],
|
|
586
|
-
color: u ?
|
|
587
|
-
width:
|
|
601
|
+
color: u ? qe : Ye,
|
|
602
|
+
width: Xe
|
|
588
603
|
});
|
|
589
604
|
}
|
|
590
605
|
f.length ? e.children = f : e.children.length = 0, c.current.add(() => t.update(s, e)), o.instruct(), o.log(JSON.stringify(o.points));
|
|
@@ -598,16 +613,16 @@ function tt({ enabled: e, rendererService: t }) {
|
|
|
598
613
|
let t = e.key.toUpperCase();
|
|
599
614
|
o.execute(() => {
|
|
600
615
|
switch (t) {
|
|
601
|
-
case
|
|
616
|
+
case Ze:
|
|
602
617
|
e.preventDefault(), o.undo(), n.current = !1, f();
|
|
603
618
|
break;
|
|
604
|
-
case
|
|
619
|
+
case Qe:
|
|
605
620
|
e.preventDefault(), o.applySmoothing(), n.current = !1, f();
|
|
606
621
|
break;
|
|
607
|
-
case
|
|
622
|
+
case $e:
|
|
608
623
|
e.preventDefault(), o.applySimplification(), n.current = !1, f();
|
|
609
624
|
break;
|
|
610
|
-
case
|
|
625
|
+
case et:
|
|
611
626
|
e.preventDefault(), n.current = !n.current, f();
|
|
612
627
|
break;
|
|
613
628
|
}
|
|
@@ -652,9 +667,9 @@ function tt({ enabled: e, rendererService: t }) {
|
|
|
652
667
|
}
|
|
653
668
|
//#endregion
|
|
654
669
|
//#region src/components/Map/traffic/useManageTraffic.ts
|
|
655
|
-
var H = 2,
|
|
656
|
-
function
|
|
657
|
-
let o = (0, z.useRef)(window.devicePixelRatio), s = (0, z.useRef)(/* @__PURE__ */ new Map()), c = (0, z.useRef)(/* @__PURE__ */ new Map()), l = (0, z.useRef)(), d = (0, z.useRef)(), f = (0, z.useRef)(performance.now()), m = (0, z.useRef)(1), h = (0, z.useRef)(new
|
|
670
|
+
var H = 2, rt = H * 3.5, U = H * 12, it = U * .7, at = 8, ot = "transport_locations", st = 150, W = "#a4aab6", ct = 1e3, lt = 2e4, ut = 500;
|
|
671
|
+
function dt({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a }) {
|
|
672
|
+
let o = (0, z.useRef)(window.devicePixelRatio), s = (0, z.useRef)(/* @__PURE__ */ new Map()), c = (0, z.useRef)(/* @__PURE__ */ new Map()), l = (0, z.useRef)(), d = (0, z.useRef)(), f = (0, z.useRef)(performance.now()), m = (0, z.useRef)(1), h = (0, z.useRef)(new Ke()), g = (0, z.useRef)(/* @__PURE__ */ new Map()), _ = (0, z.useRef)(), v = (0, z.useRef)(ct), y = (0, z.useRef)(/* @__PURE__ */ new Map()), b = (0, z.useRef)();
|
|
658
673
|
(0, z.useEffect)(() => {
|
|
659
674
|
let x;
|
|
660
675
|
async function S() {
|
|
@@ -671,11 +686,11 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
671
686
|
console.warn("useManageTraffic failed to get JSON", e);
|
|
672
687
|
}
|
|
673
688
|
if (!e || e != null && e.disabled || e != null && e.error) return;
|
|
674
|
-
o.current =
|
|
689
|
+
o.current = ft(t.scale);
|
|
675
690
|
let a = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), l = t.scene.rootLayer.children, v = /* @__PURE__ */ new Map();
|
|
676
691
|
a.forEach((e) => {
|
|
677
|
-
v.set(e,
|
|
678
|
-
radius:
|
|
692
|
+
v.set(e, ht({
|
|
693
|
+
radius: rt,
|
|
679
694
|
color: e,
|
|
680
695
|
scale: window.devicePixelRatio
|
|
681
696
|
}));
|
|
@@ -711,9 +726,9 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
711
726
|
let D = l.find((e) => e.name === de), O = /* @__PURE__ */ new Map();
|
|
712
727
|
_.current = (e) => {
|
|
713
728
|
try {
|
|
714
|
-
let { ptScale: n, sceneId: r } =
|
|
729
|
+
let { ptScale: n, sceneId: r } = pt(e);
|
|
715
730
|
if (!u(r)) return;
|
|
716
|
-
o.current =
|
|
731
|
+
o.current = ft(n);
|
|
717
732
|
let i = [];
|
|
718
733
|
for (let e of E) {
|
|
719
734
|
let t = e.children;
|
|
@@ -729,14 +744,14 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
729
744
|
var e;
|
|
730
745
|
(e = _.current) == null || e.call(_, t.scale);
|
|
731
746
|
}), a.forEach((e, t) => {
|
|
732
|
-
O.set(t,
|
|
747
|
+
O.set(t, gt({
|
|
733
748
|
id: t,
|
|
734
749
|
width: U,
|
|
735
750
|
height: U,
|
|
736
751
|
color: e,
|
|
737
752
|
scale: window.devicePixelRatio
|
|
738
753
|
}));
|
|
739
|
-
}), O.set(W,
|
|
754
|
+
}), O.set(W, gt({
|
|
740
755
|
id: "orphan",
|
|
741
756
|
width: U,
|
|
742
757
|
height: U,
|
|
@@ -745,7 +760,7 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
745
760
|
}));
|
|
746
761
|
let k = null;
|
|
747
762
|
try {
|
|
748
|
-
k = p(await n(`${r}icons/bus-white.svg`),
|
|
763
|
+
k = p(await n(`${r}icons/bus-white.svg`), it, it, window.devicePixelRatio);
|
|
749
764
|
} catch (e) {
|
|
750
765
|
console.error(e);
|
|
751
766
|
}
|
|
@@ -753,10 +768,10 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
753
768
|
try {
|
|
754
769
|
var n;
|
|
755
770
|
let r = JSON.parse(e.data);
|
|
756
|
-
if (r.type !==
|
|
771
|
+
if (r.type !== ot) return;
|
|
757
772
|
let i = e.timeStamp || performance.now();
|
|
758
773
|
m.current = Math.round(i - f.current), f.current = i;
|
|
759
|
-
let a = Math.max((n = m.current) == null ?
|
|
774
|
+
let a = Math.max((n = m.current) == null ? ut : n, ut), l = c.current, u = s.current, d = D.children, p = h.current, _ = !1;
|
|
760
775
|
r.data.forEach(({ id: e, x: n, y: r, route_id: i, hidden: s }) => {
|
|
761
776
|
if (l.has(e)) {
|
|
762
777
|
var c;
|
|
@@ -786,11 +801,11 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
786
801
|
_ = !0;
|
|
787
802
|
return;
|
|
788
803
|
}
|
|
789
|
-
let f = u.get(e), m = u.get(K(e)), h = f.bounds.center, v =
|
|
804
|
+
let f = u.get(e), m = u.get(K(e)), h = f.bounds.center, v = bt(h, {
|
|
790
805
|
x: n,
|
|
791
806
|
y: r
|
|
792
807
|
}, g.current.get(i));
|
|
793
|
-
if (v.reduce((e, t, n) => n === 0 ? e : e + G(v[n - 1], t), 0) >=
|
|
808
|
+
if (v.reduce((e, t, n) => n === 0 ? e : e + G(v[n - 1], t), 0) >= st || document.hidden) _t({
|
|
794
809
|
rendererService: t,
|
|
795
810
|
updateQueue: p,
|
|
796
811
|
vehicle: f,
|
|
@@ -798,14 +813,14 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
798
813
|
x: n,
|
|
799
814
|
y: r,
|
|
800
815
|
scale: o.current,
|
|
801
|
-
angle:
|
|
816
|
+
angle: mt(f.bounds.center, {
|
|
802
817
|
x: n,
|
|
803
818
|
y: r
|
|
804
819
|
})
|
|
805
820
|
});
|
|
806
821
|
else {
|
|
807
|
-
let n =
|
|
808
|
-
|
|
822
|
+
let n = xt(v, a, (e) => {
|
|
823
|
+
_t({
|
|
809
824
|
rendererService: t,
|
|
810
825
|
updateQueue: p,
|
|
811
826
|
vehicle: f,
|
|
@@ -822,7 +837,7 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
822
837
|
} catch (e) {
|
|
823
838
|
console.error("handleSocketMessage", e);
|
|
824
839
|
}
|
|
825
|
-
}, C(), T(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 :
|
|
840
|
+
}, C(), T(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : lt);
|
|
826
841
|
} catch (e) {
|
|
827
842
|
console.warn(e);
|
|
828
843
|
}
|
|
@@ -831,7 +846,7 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
831
846
|
function C() {
|
|
832
847
|
var e, t;
|
|
833
848
|
((e = l.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = l.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (l.current = new WebSocket(a), l.current.onmessage = d.current, l.current.onopen = () => {
|
|
834
|
-
v.current =
|
|
849
|
+
v.current = ct;
|
|
835
850
|
}, l.current.onclose = () => {
|
|
836
851
|
navigator.onLine && (setTimeout(C, v.current), v.current = Math.min(v.current * 2, 3e4));
|
|
837
852
|
});
|
|
@@ -862,22 +877,22 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
|
|
|
862
877
|
a
|
|
863
878
|
]);
|
|
864
879
|
}
|
|
865
|
-
function dt(e) {
|
|
866
|
-
return Math.min(e || window.devicePixelRatio, it);
|
|
867
|
-
}
|
|
868
880
|
function ft(e) {
|
|
881
|
+
return Math.min(e || window.devicePixelRatio, at);
|
|
882
|
+
}
|
|
883
|
+
function pt(e) {
|
|
869
884
|
return typeof e == "number" ? { ptScale: e } : e;
|
|
870
885
|
}
|
|
871
|
-
function
|
|
886
|
+
function mt(e, t) {
|
|
872
887
|
return C(e, t);
|
|
873
888
|
}
|
|
874
|
-
function
|
|
889
|
+
function ht({ radius: e, scale: t, color: n }) {
|
|
875
890
|
let r = document.createElement("canvas"), i = r.getContext("2d");
|
|
876
891
|
i.imageSmoothingEnabled = !1;
|
|
877
892
|
let a = Math.ceil(e * 2 * t), o = a / 2, s = e * .78, c = e * .33;
|
|
878
893
|
return r.width = a, r.height = a, i.translate(o, o), i.scale(t, t), i.beginPath(), i.arc(0, 0, e, 0, 2 * Math.PI), i.fillStyle = "#FFFFFF", i.fill(), i.beginPath(), i.arc(0, 0, s, 0, 2 * Math.PI), i.fillStyle = n, i.fill(), i.beginPath(), i.arc(0, 0, c, 0, 2 * Math.PI), i.fillStyle = "#FFFFFF", i.fill(), r;
|
|
879
894
|
}
|
|
880
|
-
function
|
|
895
|
+
function gt({ id: e, width: t, height: n, color: r, scale: i }) {
|
|
881
896
|
let a = 2 * i, o = t / 2 * i, s = n * i, c = .01, l = s * .6, u = s, d = 8 * i, f = u + a + l / 2 + d * 2, p = o * 2 + l + a + d * 2, m = document.createElement("canvas");
|
|
882
897
|
m.setAttribute("id", e), m.width = f, m.height = p;
|
|
883
898
|
let h = m.getContext("2d"), g = f / 2, _ = p / 2;
|
|
@@ -891,7 +906,7 @@ function G(e, t) {
|
|
|
891
906
|
function K(e) {
|
|
892
907
|
return `${e}_finery`;
|
|
893
908
|
}
|
|
894
|
-
function
|
|
909
|
+
function _t({ rendererService: e, updateQueue: t, vehicle: n, vehicleFinery: r, x: i, y: a, scale: o, angle: s }) {
|
|
895
910
|
n.bounds = j(A(i, a, n.source.width, n.source.height, o, s)), n.hidden = !1, r ? (r.bounds = j(A(i, a, r.source.width, r.source.height, o, w(e.angle))), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
|
|
896
911
|
}
|
|
897
912
|
function q(e, t, n) {
|
|
@@ -900,7 +915,7 @@ function q(e, t, n) {
|
|
|
900
915
|
y: e.y + (t.y - e.y) * n
|
|
901
916
|
};
|
|
902
917
|
}
|
|
903
|
-
function
|
|
918
|
+
function vt(e, t) {
|
|
904
919
|
let n = Infinity, r = {
|
|
905
920
|
index: 0,
|
|
906
921
|
t: 0
|
|
@@ -914,7 +929,7 @@ function _t(e, t) {
|
|
|
914
929
|
}
|
|
915
930
|
return r;
|
|
916
931
|
}
|
|
917
|
-
function
|
|
932
|
+
function yt(e, t, n) {
|
|
918
933
|
let r = G(e, t), i = Math.max(2, Math.ceil(r / n) + 1), a = [];
|
|
919
934
|
for (let n = 0; n < i; n++) {
|
|
920
935
|
let r = q(e, t, n / (i - 1));
|
|
@@ -922,14 +937,14 @@ function vt(e, t, n) {
|
|
|
922
937
|
}
|
|
923
938
|
return a;
|
|
924
939
|
}
|
|
925
|
-
function
|
|
926
|
-
if (!n || !n.length) return
|
|
927
|
-
let r =
|
|
940
|
+
function bt(e, t, n) {
|
|
941
|
+
if (!n || !n.length) return yt(e, t, 10);
|
|
942
|
+
let r = vt(e, n), i = vt(t, n), a = [], o = (e) => a.push(e);
|
|
928
943
|
r.index + 1 < n.length ? o(q(n[r.index], n[r.index + 1], r.t)) : o(n[r.index]);
|
|
929
944
|
for (let e = r.index + 1; e <= i.index && e < n.length; e++) o(n[e]);
|
|
930
945
|
return i.index + 1 < n.length ? o(q(n[i.index], n[i.index + 1], i.t)) : o(n[i.index]), a;
|
|
931
946
|
}
|
|
932
|
-
function
|
|
947
|
+
function xt(e, t, n, r) {
|
|
933
948
|
if (e.length < 2) return () => {};
|
|
934
949
|
let i = null, a, o = [], s = 0;
|
|
935
950
|
for (let t = 0; t < e.length - 1; t++) {
|
|
@@ -957,14 +972,14 @@ function J(e) {
|
|
|
957
972
|
}
|
|
958
973
|
//#endregion
|
|
959
974
|
//#region src/utils/dimming.ts
|
|
960
|
-
var
|
|
961
|
-
function
|
|
975
|
+
var St = .5, Ct = "cubic";
|
|
976
|
+
function wt(e, t) {
|
|
962
977
|
let n = e.scene;
|
|
963
978
|
if (!n) return;
|
|
964
979
|
let r = n.rootLayer;
|
|
965
980
|
r.dim !== t && (r.dim = t, e.update(n.rootLayer));
|
|
966
981
|
}
|
|
967
|
-
function
|
|
982
|
+
function Tt(e, t = 300, n = Ct) {
|
|
968
983
|
let r = null, i = 0, a = 0, o = 0, s = 0, c = Math.max(t, 0);
|
|
969
984
|
function l() {
|
|
970
985
|
r === null || typeof cancelAnimationFrame != "function" || (cancelAnimationFrame(r), r = null);
|
|
@@ -973,7 +988,7 @@ function wt(e, t = 300, n = St) {
|
|
|
973
988
|
l(), i = t, e(i);
|
|
974
989
|
}
|
|
975
990
|
function d(t) {
|
|
976
|
-
let l = t - s, u = Math.min(l / c, 1), f =
|
|
991
|
+
let l = t - s, u = Math.min(l / c, 1), f = Et(u, n);
|
|
977
992
|
if (i = a + (o - a) * f, e(i), u < 1) {
|
|
978
993
|
r = requestAnimationFrame(d);
|
|
979
994
|
return;
|
|
@@ -999,27 +1014,27 @@ function wt(e, t = 300, n = St) {
|
|
|
999
1014
|
}
|
|
1000
1015
|
};
|
|
1001
1016
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return t === "linear" ? e :
|
|
1017
|
+
function Et(e, t) {
|
|
1018
|
+
return t === "linear" ? e : Dt(e);
|
|
1004
1019
|
}
|
|
1005
|
-
function
|
|
1020
|
+
function Dt(e) {
|
|
1006
1021
|
return e < .5 ? 4 * e * e * e : 1 - (-2 * e + 2) ** 3 / 2;
|
|
1007
1022
|
}
|
|
1008
1023
|
//#endregion
|
|
1009
1024
|
//#region src/components/Map/booth-by-xy.ts
|
|
1010
|
-
function
|
|
1025
|
+
function Ot(e) {
|
|
1011
1026
|
let t = e.center.x, n = e.center.y, r = e.size.width, i = e.size.height;
|
|
1012
1027
|
return new o(t - i / 2, n - r / 2, i, r);
|
|
1013
1028
|
}
|
|
1014
|
-
var Y = /* @__PURE__ */ new Map(), X = [],
|
|
1015
|
-
function
|
|
1029
|
+
var Y = /* @__PURE__ */ new Map(), X = [], kt = [], Z = [], Q = /* @__PURE__ */ new Map(), $;
|
|
1030
|
+
function At() {
|
|
1016
1031
|
let e = F.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0);
|
|
1017
1032
|
if (Y = /* @__PURE__ */ new Map(), X = [], Z = [], $ = null, Q = /* @__PURE__ */ new Map(), !e.length) return;
|
|
1018
|
-
|
|
1033
|
+
kt = e.filter((e) => e.paths);
|
|
1019
1034
|
let t = o.fromUnion(...e.map((e) => e.rect));
|
|
1020
1035
|
for (let t of e) {
|
|
1021
1036
|
let e = t.rect;
|
|
1022
|
-
Math.abs(t.rotate) === w(90) && (e =
|
|
1037
|
+
Math.abs(t.rotate) === w(90) && (e = Ot(e)), X.push(e), Y.set(e, t);
|
|
1023
1038
|
}
|
|
1024
1039
|
let n = Math.ceil(t.size.width / 2), r = Math.ceil(t.size.height / 2);
|
|
1025
1040
|
for (let e = 0; e < 2; e++) for (let i = 0; i < 2; i++) {
|
|
@@ -1034,8 +1049,8 @@ a(() => [
|
|
|
1034
1049
|
F.booths,
|
|
1035
1050
|
k.loaded,
|
|
1036
1051
|
k.visible
|
|
1037
|
-
], () =>
|
|
1038
|
-
function
|
|
1052
|
+
], () => At());
|
|
1053
|
+
function jt(e, t) {
|
|
1039
1054
|
let n = {
|
|
1040
1055
|
x: e,
|
|
1041
1056
|
y: t
|
|
@@ -1051,7 +1066,7 @@ function At(e, t) {
|
|
|
1051
1066
|
return n.visible ? n : null;
|
|
1052
1067
|
}
|
|
1053
1068
|
}
|
|
1054
|
-
for (let e of
|
|
1069
|
+
for (let e of kt) for (let t of e.paths) for (let r of m(t.index, k.mode === M.Default ? "" : e.layer.name)) {
|
|
1055
1070
|
let t = r.map((e) => ({
|
|
1056
1071
|
x: e[0],
|
|
1057
1072
|
y: e[1]
|
|
@@ -1060,8 +1075,8 @@ function At(e, t) {
|
|
|
1060
1075
|
}
|
|
1061
1076
|
return null;
|
|
1062
1077
|
}
|
|
1063
|
-
function
|
|
1064
|
-
return
|
|
1078
|
+
function Mt(e, t) {
|
|
1079
|
+
return jt(e, t);
|
|
1065
1080
|
}
|
|
1066
1081
|
//#endregion
|
|
1067
|
-
export {
|
|
1082
|
+
export { dt as a, He as c, Tt as i, Ue as l, St as n, nt as o, wt as r, Ge as s, Mt as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "65883f75-ab87-499b-a19c-5446ccdfc4a4", e._sentryDebugIdIdentifier = "sentry-dbid-65883f75-ab87-499b-a19c-5446ccdfc4a4");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-DHef_8fH.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
var n = 1e3, r = n * 60, i = r * 60, a = i * 24, o = a * 7, s = a * 365.25;
|