zudoku 0.3.0-dev.91 → 0.3.0-dev.93

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.
Files changed (37) hide show
  1. package/dist/config/config.d.ts +1 -2
  2. package/dist/lib/components/navigation/SidebarBadge.d.ts +2 -1
  3. package/dist/lib/components/navigation/SidebarBadge.js +2 -2
  4. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  5. package/dist/lib/components/navigation/SidebarItem.js +4 -4
  6. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  7. package/dist/lib/oas/graphql/index.js +11 -5
  8. package/dist/lib/oas/graphql/index.js.map +1 -1
  9. package/dist/lib/plugins/openapi/index.js +10 -1
  10. package/dist/lib/plugins/openapi/index.js.map +1 -1
  11. package/dist/vite/config.d.ts +2 -1
  12. package/dist/vite/config.js.map +1 -1
  13. package/dist/vite/plugin-config.d.ts +4 -3
  14. package/dist/vite/plugin-config.js +3 -11
  15. package/dist/vite/plugin-config.js.map +1 -1
  16. package/lib/{OperationList-DvKqvB16.js → OperationList-BAZX1Gla.js} +3 -3
  17. package/lib/{OperationList-DvKqvB16.js.map → OperationList-BAZX1Gla.js.map} +1 -1
  18. package/lib/{Route-CnmaDun4.js → Route-Cq7WBHPC.js} +2 -2
  19. package/lib/{Route-CnmaDun4.js.map → Route-Cq7WBHPC.js.map} +1 -1
  20. package/lib/{Spinner-D99Tq0hv.js → Spinner-BCz1kNGw.js} +39 -37
  21. package/lib/{Spinner-D99Tq0hv.js.map → Spinner-BCz1kNGw.js.map} +1 -1
  22. package/lib/assets/{worker-CyHZIIfE.js → worker-CR7aeKop.js} +12 -12
  23. package/lib/assets/{worker-CyHZIIfE.js.map → worker-CR7aeKop.js.map} +1 -1
  24. package/lib/{index-7nswqEVR.js → index-D-9Z7HSn.js} +2 -2
  25. package/lib/{index-7nswqEVR.js.map → index-D-9Z7HSn.js.map} +1 -1
  26. package/lib/{index-DjaqWcmv.js → index-DGb_offs.js} +22 -14
  27. package/lib/{index-DjaqWcmv.js.map → index-DGb_offs.js.map} +1 -1
  28. package/lib/zudoku.components.js +303 -293
  29. package/lib/zudoku.components.js.map +1 -1
  30. package/lib/zudoku.openapi-worker.js +12 -12
  31. package/lib/zudoku.openapi-worker.js.map +1 -1
  32. package/lib/zudoku.plugin-openapi.js +1 -1
  33. package/package.json +1 -2
  34. package/src/lib/components/navigation/SidebarBadge.tsx +3 -0
  35. package/src/lib/components/navigation/SidebarItem.tsx +38 -10
  36. package/src/lib/oas/graphql/index.ts +13 -7
  37. package/src/lib/plugins/openapi/index.tsx +12 -1
@@ -1,10 +1,10 @@
1
- var or = Object.defineProperty;
2
- var lt = (e) => {
1
+ var ar = Object.defineProperty;
2
+ var dt = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var ar = (e, t, n) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
- var S = (e, t, n) => ar(e, typeof t != "symbol" ? t + "" : t, n), dt = (e, t, n) => t.has(e) || lt("Cannot " + n);
7
- var h = (e, t, n) => (dt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), N = (e, t, n) => t.has(e) ? lt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), P = (e, t, n, r) => (dt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
5
+ var or = (e, t, n) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
+ var S = (e, t, n) => or(e, typeof t != "symbol" ? t + "" : t, n), ht = (e, t, n) => t.has(e) || dt("Cannot " + n);
7
+ var h = (e, t, n) => (ht(e, t, "read from private field"), n ? n.call(e) : t.get(e)), N = (e, t, n) => t.has(e) ? dt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), P = (e, t, n, r) => (ht(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
8
8
  var be = (e, t, n, r) => ({
9
9
  set _(o) {
10
10
  P(e, t, o, n);
@@ -13,20 +13,20 @@ var be = (e, t, n, r) => ({
13
13
  return h(e, t, r);
14
14
  }
15
15
  });
16
- import { H as Rt, a as Ue, M as sr, u as ir, A as cr, b as ur } from "./utils-D3g3xyZM.js";
16
+ import { H as Rt, a as Ge, M as sr, u as ir, A as cr, b as ur } from "./utils-D3g3xyZM.js";
17
17
  import { d as lr, a as dr, R as hr, N as Pe, u as De, L as Re, b as fr, c as pr, O as St } from "./index-7kcHaXD6.js";
18
- import { E as Et, S as mr, a as Se, R as gr } from "./SlotletProvider-CzMAO73_.js";
18
+ import { E as jt, S as mr, a as Se, R as gr } from "./SlotletProvider-CzMAO73_.js";
19
19
  import { j as a } from "./jsx-runtime-B6kdoens.js";
20
- import { M as vr, c as xr, a as _t, b as jt, A as yr, u as fe, h as wr, d as y, e as br, F as Mr, D as Cr, C as Pr, P as ae, f as Ge, g as Rr, i as Nt, R as Sr, S as Er, j as _r, k as jr, l as Dt, m as Nr, n as Ee, o as It, p as Dr, B as $e } from "./Combination-D-9IH0zy.js";
21
- import { c as pe, a as M, C as Ir, b as Ar, u as Or, T as kr, M as Tr, V as Fr, d as qe, e as Lr, f as Kr } from "./Markdown-B_Gax7at.js";
20
+ import { M as vr, c as xr, a as Et, b as _t, A as yr, u as fe, h as wr, d as y, e as br, F as Mr, D as Cr, C as Pr, P as oe, f as qe, g as Rr, i as Nt, R as Sr, S as jr, j as Er, k as _r, l as Dt, m as Nr, n as je, o as It, p as Dr, B as Be } from "./Combination-D-9IH0zy.js";
21
+ import { c as pe, a as M, C as Ir, b as Ar, u as Or, T as kr, M as Tr, V as Fr, d as He, e as Lr, f as Kr } from "./Markdown-B_Gax7at.js";
22
22
  import * as c from "react";
23
- import $r, { StrictMode as At, createContext as Ot, Component as Br, createElement as ht, isValidElement as Qr, memo as kt, useState as _e, useEffect as se, useCallback as Ur, useMemo as Le, useContext as Gr, Fragment as qr, useRef as He, forwardRef as Hr, Suspense as zr } from "react";
24
- import { g as ze } from "./_commonjsHelpers-BVfed4GL.js";
23
+ import $r, { StrictMode as At, createContext as Ot, Component as Br, createElement as ft, isValidElement as Qr, memo as kt, useState as Ee, useEffect as se, useCallback as Ur, useMemo as Le, useContext as Gr, Fragment as qr, useRef as ze, forwardRef as Hr, Suspense as zr } from "react";
24
+ import { g as Ve } from "./_commonjsHelpers-BVfed4GL.js";
25
25
  import { r as Vr } from "./router-BiRCp01d.js";
26
- import { S as Be, R as Yr, T as Xr, C as Wr } from "./index-7nswqEVR.js";
27
- import { S as Tt, h as Ft, Q as Jr, n as _, m as ft, a as pt, b as $, e as Zr, c as eo, d as to, f as no, o as mt, r as gt, g as ro, i as vt, p as xt, s as oo, u as Ve, j as ao, Z as so, k as io, l as Lt, q as co } from "./ZudokuContext-BIZ8zHbZ.js";
28
- import { j as Ye } from "./joinPath-VeNuJa7y.js";
29
- import { c as Kt, P as Ie, R as uo, I as lo, S as yt, a as ho } from "./Spinner-D99Tq0hv.js";
26
+ import { S as Qe, R as Yr, T as Xr, C as Wr } from "./index-D-9Z7HSn.js";
27
+ import { S as Tt, h as Ft, Q as Jr, n as E, m as pt, a as mt, b as $, e as Zr, c as ea, d as ta, f as na, o as gt, r as vt, g as ra, i as xt, p as yt, s as aa, u as Ye, j as oa, Z as sa, k as ia, l as Lt, q as ca } from "./ZudokuContext-BIZ8zHbZ.js";
28
+ import { j as Xe } from "./joinPath-VeNuJa7y.js";
29
+ import { c as Kt, P as Ie, R as ua, I as la, S as Ke, a as da } from "./Spinner-BCz1kNGw.js";
30
30
  /**
31
31
  * @license lucide-react v0.378.0 - ISC
32
32
  *
@@ -42,7 +42,7 @@ const $t = pe("ChevronRight", [
42
42
  * This source code is licensed under the ISC license.
43
43
  * See the LICENSE file in the root directory of this source tree.
44
44
  */
45
- const fo = pe("Dot", [
45
+ const ha = pe("Dot", [
46
46
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
47
47
  ]);
48
48
  /**
@@ -51,7 +51,7 @@ const fo = pe("Dot", [
51
51
  * This source code is licensed under the ISC license.
52
52
  * See the LICENSE file in the root directory of this source tree.
53
53
  */
54
- const po = pe("ExternalLink", [
54
+ const fa = pe("ExternalLink", [
55
55
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
56
56
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
57
57
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -62,7 +62,7 @@ const po = pe("ExternalLink", [
62
62
  * This source code is licensed under the ISC license.
63
63
  * See the LICENSE file in the root directory of this source tree.
64
64
  */
65
- const mo = pe("MoonStar", [
65
+ const pa = pe("MoonStar", [
66
66
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
67
67
  ["path", { d: "M20 3v4", key: "1olli1" }],
68
68
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -73,7 +73,7 @@ const mo = pe("MoonStar", [
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
75
75
  */
76
- const go = pe("Sun", [
76
+ const ma = pe("Sun", [
77
77
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
78
78
  ["path", { d: "M12 2v2", key: "tus03m" }],
79
79
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -84,14 +84,14 @@ const go = pe("Sun", [
84
84
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
85
85
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
86
86
  ]);
87
- function vo({ error: e }) {
88
- return /* @__PURE__ */ a.jsx(Et, { error: e });
87
+ function ga({ error: e }) {
88
+ return /* @__PURE__ */ a.jsx(jt, { error: e });
89
89
  }
90
90
  var me = {};
91
- const xo = /* @__PURE__ */ ze(Vr), yo = /* @__PURE__ */ ze(lr), wo = /* @__PURE__ */ ze(dr);
91
+ const va = /* @__PURE__ */ Ve(Vr), xa = /* @__PURE__ */ Ve(lr), ya = /* @__PURE__ */ Ve(dr);
92
92
  Object.defineProperty(me, "__esModule", { value: !0 });
93
- var bo = $r, F = xo, Xe = yo, B = wo;
94
- function Mo(e) {
93
+ var wa = $r, F = va, We = xa, B = ya;
94
+ function ba(e) {
95
95
  if (e && e.__esModule) return e;
96
96
  var t = /* @__PURE__ */ Object.create(null);
97
97
  return e && Object.keys(e).forEach(function(n) {
@@ -106,8 +106,8 @@ function Mo(e) {
106
106
  }
107
107
  }), t.default = e, Object.freeze(t);
108
108
  }
109
- var k = /* @__PURE__ */ Mo(bo);
110
- function Co({
109
+ var k = /* @__PURE__ */ ba(wa);
110
+ function Ma({
111
111
  basename: e,
112
112
  children: t,
113
113
  location: n = "/",
@@ -131,7 +131,7 @@ function Co({
131
131
  static: !0
132
132
  });
133
133
  }
134
- function Po({
134
+ function Ca({
135
135
  context: e,
136
136
  router: t,
137
137
  hydrate: n = !0,
@@ -149,9 +149,9 @@ function Po({
149
149
  let d = {
150
150
  loaderData: e.loaderData,
151
151
  actionData: e.actionData,
152
- errors: So(e.errors)
152
+ errors: Ra(e.errors)
153
153
  };
154
- i = `window.__staticRouterHydrationData = JSON.parse(${Io(JSON.stringify(JSON.stringify(d)))});`;
154
+ i = `window.__staticRouterHydrationData = JSON.parse(${Da(JSON.stringify(JSON.stringify(d)))});`;
155
155
  }
156
156
  let {
157
157
  state: u
@@ -175,7 +175,7 @@ function Po({
175
175
  future: {
176
176
  v7_relativeSplatPath: t.future.v7_relativeSplatPath
177
177
  }
178
- }, /* @__PURE__ */ k.createElement(Ro, {
178
+ }, /* @__PURE__ */ k.createElement(Pa, {
179
179
  routes: t.routes,
180
180
  future: t.future,
181
181
  state: u
@@ -187,14 +187,14 @@ function Po({
187
187
  }
188
188
  }) : null);
189
189
  }
190
- function Ro({
190
+ function Pa({
191
191
  routes: e,
192
192
  future: t,
193
193
  state: n
194
194
  }) {
195
- return Xe.UNSAFE_useRoutesImpl(e, void 0, n, t);
195
+ return We.UNSAFE_useRoutesImpl(e, void 0, n, t);
196
196
  }
197
- function So(e) {
197
+ function Ra(e) {
198
198
  if (!e) return null;
199
199
  let t = Object.entries(e), n = {};
200
200
  for (let [r, o] of t)
@@ -233,14 +233,14 @@ function Bt() {
233
233
  }
234
234
  };
235
235
  }
236
- function Eo(e, t) {
236
+ function Sa(e, t) {
237
237
  return F.createStaticHandler(e, {
238
238
  ...t,
239
- mapRouteProperties: Xe.UNSAFE_mapRouteProperties
239
+ mapRouteProperties: We.UNSAFE_mapRouteProperties
240
240
  });
241
241
  }
242
- function _o(e, t, n = {}) {
243
- let r = {}, o = F.UNSAFE_convertRoutesToDataRoutes(e, Xe.UNSAFE_mapRouteProperties, void 0, r), s = t.matches.map((u) => {
242
+ function ja(e, t, n = {}) {
243
+ let r = {}, o = F.UNSAFE_convertRoutesToDataRoutes(e, We.UNSAFE_mapRouteProperties, void 0, r), s = t.matches.map((u) => {
244
244
  let d = r[u.route.id] || u.route;
245
245
  return {
246
246
  ...u,
@@ -335,36 +335,36 @@ function Qt(e) {
335
335
  function Ut(e) {
336
336
  let t = typeof e == "string" ? e : B.createPath(e);
337
337
  t = t.replace(/ $/, "%20");
338
- let n = jo.test(t) ? new URL(t) : new URL(t, "http://localhost");
338
+ let n = Ea.test(t) ? new URL(t) : new URL(t, "http://localhost");
339
339
  return {
340
340
  pathname: n.pathname,
341
341
  search: n.search,
342
342
  hash: n.hash
343
343
  };
344
344
  }
345
- const jo = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, No = {
345
+ const Ea = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, _a = {
346
346
  "&": "\\u0026",
347
347
  ">": "\\u003e",
348
348
  "<": "\\u003c",
349
349
  "\u2028": "\\u2028",
350
350
  "\u2029": "\\u2029"
351
- }, Do = /[&><\u2028\u2029]/g;
352
- function Io(e) {
353
- return e.replace(Do, (t) => No[t]);
351
+ }, Na = /[&><\u2028\u2029]/g;
352
+ function Da(e) {
353
+ return e.replace(Na, (t) => _a[t]);
354
354
  }
355
- me.StaticRouter = Co;
356
- var Ao = me.StaticRouterProvider = Po;
357
- me.createStaticHandler = Eo;
358
- me.createStaticRouter = _o;
359
- const Oo = ({
355
+ me.StaticRouter = Ma;
356
+ var Ia = me.StaticRouterProvider = Ca;
357
+ me.createStaticHandler = Sa;
358
+ me.createStaticRouter = ja;
359
+ const Aa = ({
360
360
  router: e,
361
361
  hydrate: t = !1
362
- }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(Rt, { children: /* @__PURE__ */ a.jsx(Be.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(hr, { router: e }) }) }) }), ko = ({
362
+ }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(Rt, { children: /* @__PURE__ */ a.jsx(Qe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(hr, { router: e }) }) }) }), Oa = ({
363
363
  router: e,
364
364
  context: t,
365
365
  helmetContext: n
366
- }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(Rt, { context: n, children: /* @__PURE__ */ a.jsx(Ao, { router: e, context: t }) }) });
367
- var T, Mt, To = (Mt = class extends Tt {
366
+ }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(Rt, { context: n, children: /* @__PURE__ */ a.jsx(Ia, { router: e, context: t }) }) });
367
+ var T, Mt, ka = (Mt = class extends Tt {
368
368
  constructor(t = {}) {
369
369
  super();
370
370
  N(this, T);
@@ -393,7 +393,7 @@ var T, Mt, To = (Mt = class extends Tt {
393
393
  n && (t.destroy(), n === t && h(this, T).delete(t.queryHash), this.notify({ type: "removed", query: t }));
394
394
  }
395
395
  clear() {
396
- _.batch(() => {
396
+ E.batch(() => {
397
397
  this.getAll().forEach((t) => {
398
398
  this.remove(t);
399
399
  });
@@ -408,40 +408,40 @@ var T, Mt, To = (Mt = class extends Tt {
408
408
  find(t) {
409
409
  const n = { exact: !0, ...t };
410
410
  return this.getAll().find(
411
- (r) => ft(n, r)
411
+ (r) => pt(n, r)
412
412
  );
413
413
  }
414
414
  findAll(t = {}) {
415
415
  const n = this.getAll();
416
- return Object.keys(t).length > 0 ? n.filter((r) => ft(t, r)) : n;
416
+ return Object.keys(t).length > 0 ? n.filter((r) => pt(t, r)) : n;
417
417
  }
418
418
  notify(t) {
419
- _.batch(() => {
419
+ E.batch(() => {
420
420
  this.listeners.forEach((n) => {
421
421
  n(t);
422
422
  });
423
423
  });
424
424
  }
425
425
  onFocus() {
426
- _.batch(() => {
426
+ E.batch(() => {
427
427
  this.getAll().forEach((t) => {
428
428
  t.onFocus();
429
429
  });
430
430
  });
431
431
  }
432
432
  onOnline() {
433
- _.batch(() => {
433
+ E.batch(() => {
434
434
  this.getAll().forEach((t) => {
435
435
  t.onOnline();
436
436
  });
437
437
  });
438
438
  }
439
- }, T = new WeakMap(), Mt), E, he, Ct, Fo = (Ct = class extends Tt {
439
+ }, T = new WeakMap(), Mt), j, he, Ct, Ta = (Ct = class extends Tt {
440
440
  constructor(t = {}) {
441
441
  super();
442
- N(this, E);
442
+ N(this, j);
443
443
  N(this, he);
444
- this.config = t, P(this, E, /* @__PURE__ */ new Map()), P(this, he, Date.now());
444
+ this.config = t, P(this, j, /* @__PURE__ */ new Map()), P(this, he, Date.now());
445
445
  }
446
446
  build(t, n, r) {
447
447
  const o = new vr({
@@ -453,49 +453,49 @@ var T, Mt, To = (Mt = class extends Tt {
453
453
  return this.add(o), o;
454
454
  }
455
455
  add(t) {
456
- const n = Me(t), r = h(this, E).get(n) ?? [];
457
- r.push(t), h(this, E).set(n, r), this.notify({ type: "added", mutation: t });
456
+ const n = Me(t), r = h(this, j).get(n) ?? [];
457
+ r.push(t), h(this, j).set(n, r), this.notify({ type: "added", mutation: t });
458
458
  }
459
459
  remove(t) {
460
460
  var r;
461
461
  const n = Me(t);
462
- if (h(this, E).has(n)) {
463
- const o = (r = h(this, E).get(n)) == null ? void 0 : r.filter((s) => s !== t);
464
- o && (o.length === 0 ? h(this, E).delete(n) : h(this, E).set(n, o));
462
+ if (h(this, j).has(n)) {
463
+ const o = (r = h(this, j).get(n)) == null ? void 0 : r.filter((s) => s !== t);
464
+ o && (o.length === 0 ? h(this, j).delete(n) : h(this, j).set(n, o));
465
465
  }
466
466
  this.notify({ type: "removed", mutation: t });
467
467
  }
468
468
  canRun(t) {
469
469
  var r;
470
- const n = (r = h(this, E).get(Me(t))) == null ? void 0 : r.find((o) => o.state.status === "pending");
470
+ const n = (r = h(this, j).get(Me(t))) == null ? void 0 : r.find((o) => o.state.status === "pending");
471
471
  return !n || n === t;
472
472
  }
473
473
  runNext(t) {
474
474
  var r;
475
- const n = (r = h(this, E).get(Me(t))) == null ? void 0 : r.find((o) => o !== t && o.state.isPaused);
475
+ const n = (r = h(this, j).get(Me(t))) == null ? void 0 : r.find((o) => o !== t && o.state.isPaused);
476
476
  return (n == null ? void 0 : n.continue()) ?? Promise.resolve();
477
477
  }
478
478
  clear() {
479
- _.batch(() => {
479
+ E.batch(() => {
480
480
  this.getAll().forEach((t) => {
481
481
  this.remove(t);
482
482
  });
483
483
  });
484
484
  }
485
485
  getAll() {
486
- return [...h(this, E).values()].flat();
486
+ return [...h(this, j).values()].flat();
487
487
  }
488
488
  find(t) {
489
489
  const n = { exact: !0, ...t };
490
490
  return this.getAll().find(
491
- (r) => pt(n, r)
491
+ (r) => mt(n, r)
492
492
  );
493
493
  }
494
494
  findAll(t = {}) {
495
- return this.getAll().filter((n) => pt(t, n));
495
+ return this.getAll().filter((n) => mt(t, n));
496
496
  }
497
497
  notify(t) {
498
- _.batch(() => {
498
+ E.batch(() => {
499
499
  this.listeners.forEach((n) => {
500
500
  n(t);
501
501
  });
@@ -503,18 +503,18 @@ var T, Mt, To = (Mt = class extends Tt {
503
503
  }
504
504
  resumePausedMutations() {
505
505
  const t = this.getAll().filter((n) => n.state.isPaused);
506
- return _.batch(
506
+ return E.batch(
507
507
  () => Promise.all(
508
508
  t.map((n) => n.continue().catch($))
509
509
  )
510
510
  );
511
511
  }
512
- }, E = new WeakMap(), he = new WeakMap(), Ct);
512
+ }, j = new WeakMap(), he = new WeakMap(), Ct);
513
513
  function Me(e) {
514
514
  var t;
515
515
  return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
516
516
  }
517
- function Lo(e) {
517
+ function Fa(e) {
518
518
  return {
519
519
  onFetch: (t, n) => {
520
520
  const r = async () => {
@@ -542,7 +542,7 @@ function Lo(e) {
542
542
  p(Y);
543
543
  const J = await l(
544
544
  Y
545
- ), { maxPages: ye } = t.options, X = L ? eo : to;
545
+ ), { maxPages: ye } = t.options, X = L ? ea : ta;
546
546
  return {
547
547
  pages: X(C.pages, J, ye),
548
548
  pageParams: X(C.pageParams, A, ye)
@@ -550,7 +550,7 @@ function Lo(e) {
550
550
  };
551
551
  let v;
552
552
  if (s && i.length) {
553
- const C = s === "backward", A = C ? Ko : wt, L = {
553
+ const C = s === "backward", A = C ? La : wt, L = {
554
554
  pages: i,
555
555
  pageParams: u
556
556
  }, Y = A(o, L);
@@ -593,7 +593,7 @@ function wt(e, { pages: t, pageParams: n }) {
593
593
  n
594
594
  );
595
595
  }
596
- function Ko(e, { pages: t, pageParams: n }) {
596
+ function La(e, { pages: t, pageParams: n }) {
597
597
  var r;
598
598
  return (r = e.getPreviousPageParam) == null ? void 0 : r.call(
599
599
  e,
@@ -603,7 +603,7 @@ function Ko(e, { pages: t, pageParams: n }) {
603
603
  n
604
604
  );
605
605
  }
606
- var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
606
+ var w, G, q, te, ne, H, re, ae, Pt, Ka = (Pt = class {
607
607
  constructor(e = {}) {
608
608
  N(this, w);
609
609
  N(this, G);
@@ -612,19 +612,19 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
612
612
  N(this, ne);
613
613
  N(this, H);
614
614
  N(this, re);
615
- N(this, oe);
616
- P(this, w, e.queryCache || new To()), P(this, G, e.mutationCache || new Fo()), P(this, q, e.defaultOptions || {}), P(this, te, /* @__PURE__ */ new Map()), P(this, ne, /* @__PURE__ */ new Map()), P(this, H, 0);
615
+ N(this, ae);
616
+ P(this, w, e.queryCache || new ka()), P(this, G, e.mutationCache || new Ta()), P(this, q, e.defaultOptions || {}), P(this, te, /* @__PURE__ */ new Map()), P(this, ne, /* @__PURE__ */ new Map()), P(this, H, 0);
617
617
  }
618
618
  mount() {
619
- be(this, H)._++, h(this, H) === 1 && (P(this, re, no.subscribe(async (e) => {
619
+ be(this, H)._++, h(this, H) === 1 && (P(this, re, na.subscribe(async (e) => {
620
620
  e && (await this.resumePausedMutations(), h(this, w).onFocus());
621
- })), P(this, oe, mt.subscribe(async (e) => {
621
+ })), P(this, ae, gt.subscribe(async (e) => {
622
622
  e && (await this.resumePausedMutations(), h(this, w).onOnline());
623
623
  })));
624
624
  }
625
625
  unmount() {
626
626
  var e, t;
627
- be(this, H)._--, h(this, H) === 0 && ((e = h(this, re)) == null || e.call(this), P(this, re, void 0), (t = h(this, oe)) == null || t.call(this), P(this, oe, void 0));
627
+ be(this, H)._--, h(this, H) === 0 && ((e = h(this, re)) == null || e.call(this), P(this, re, void 0), (t = h(this, ae)) == null || t.call(this), P(this, ae, void 0));
628
628
  }
629
629
  isFetching(e) {
630
630
  return h(this, w).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -643,7 +643,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
643
643
  return this.fetchQuery(e);
644
644
  {
645
645
  const n = this.defaultQueryOptions(e), r = h(this, w).build(this, n);
646
- return e.revalidateIfStale && r.isStaleByTime(gt(n.staleTime, r)) && this.prefetchQuery(n), Promise.resolve(t);
646
+ return e.revalidateIfStale && r.isStaleByTime(vt(n.staleTime, r)) && this.prefetchQuery(n), Promise.resolve(t);
647
647
  }
648
648
  }
649
649
  getQueriesData(e) {
@@ -655,12 +655,12 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
655
655
  setQueryData(e, t, n) {
656
656
  const r = this.defaultQueryOptions({ queryKey: e }), o = h(this, w).get(
657
657
  r.queryHash
658
- ), s = o == null ? void 0 : o.state.data, i = ro(t, s);
658
+ ), s = o == null ? void 0 : o.state.data, i = ra(t, s);
659
659
  if (i !== void 0)
660
660
  return h(this, w).build(this, r).setData(i, { ...n, manual: !0 });
661
661
  }
662
662
  setQueriesData(e, t, n) {
663
- return _.batch(
663
+ return E.batch(
664
664
  () => h(this, w).findAll(e).map(({ queryKey: r }) => [
665
665
  r,
666
666
  this.setQueryData(r, t, n)
@@ -674,7 +674,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
674
674
  }
675
675
  removeQueries(e) {
676
676
  const t = h(this, w);
677
- _.batch(() => {
677
+ E.batch(() => {
678
678
  t.findAll(e).forEach((n) => {
679
679
  t.remove(n);
680
680
  });
@@ -685,18 +685,18 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
685
685
  type: "active",
686
686
  ...e
687
687
  };
688
- return _.batch(() => (n.findAll(e).forEach((o) => {
688
+ return E.batch(() => (n.findAll(e).forEach((o) => {
689
689
  o.reset();
690
690
  }), this.refetchQueries(r, t)));
691
691
  }
692
692
  cancelQueries(e = {}, t = {}) {
693
- const n = { revert: !0, ...t }, r = _.batch(
693
+ const n = { revert: !0, ...t }, r = E.batch(
694
694
  () => h(this, w).findAll(e).map((o) => o.cancel(n))
695
695
  );
696
696
  return Promise.all(r).then($).catch($);
697
697
  }
698
698
  invalidateQueries(e = {}, t = {}) {
699
- return _.batch(() => {
699
+ return E.batch(() => {
700
700
  if (h(this, w).findAll(e).forEach((r) => {
701
701
  r.invalidate();
702
702
  }), e.refetchType === "none")
@@ -712,7 +712,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
712
712
  const n = {
713
713
  ...t,
714
714
  cancelRefetch: (t == null ? void 0 : t.cancelRefetch) ?? !0
715
- }, r = _.batch(
715
+ }, r = E.batch(
716
716
  () => h(this, w).findAll(e).filter((o) => !o.isDisabled()).map((o) => {
717
717
  let s = o.fetch(void 0, n);
718
718
  return n.throwOnError || (s = s.catch($)), o.state.fetchStatus === "paused" ? Promise.resolve() : s;
@@ -725,20 +725,20 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
725
725
  t.retry === void 0 && (t.retry = !1);
726
726
  const n = h(this, w).build(this, t);
727
727
  return n.isStaleByTime(
728
- gt(t.staleTime, n)
728
+ vt(t.staleTime, n)
729
729
  ) ? n.fetch(t) : Promise.resolve(n.state.data);
730
730
  }
731
731
  prefetchQuery(e) {
732
732
  return this.fetchQuery(e).then($).catch($);
733
733
  }
734
734
  fetchInfiniteQuery(e) {
735
- return e.behavior = Lo(e.pages), this.fetchQuery(e);
735
+ return e.behavior = Fa(e.pages), this.fetchQuery(e);
736
736
  }
737
737
  prefetchInfiniteQuery(e) {
738
738
  return this.fetchInfiniteQuery(e).then($).catch($);
739
739
  }
740
740
  resumePausedMutations() {
741
- return mt.isOnline() ? h(this, G).resumePausedMutations() : Promise.resolve();
741
+ return gt.isOnline() ? h(this, G).resumePausedMutations() : Promise.resolve();
742
742
  }
743
743
  getQueryCache() {
744
744
  return h(this, w);
@@ -753,7 +753,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
753
753
  P(this, q, e);
754
754
  }
755
755
  setQueryDefaults(e, t) {
756
- h(this, te).set(vt(e), {
756
+ h(this, te).set(xt(e), {
757
757
  queryKey: e,
758
758
  defaultOptions: t
759
759
  });
@@ -762,11 +762,11 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
762
762
  const t = [...h(this, te).values()];
763
763
  let n = {};
764
764
  return t.forEach((r) => {
765
- xt(e, r.queryKey) && (n = { ...n, ...r.defaultOptions });
765
+ yt(e, r.queryKey) && (n = { ...n, ...r.defaultOptions });
766
766
  }), n;
767
767
  }
768
768
  setMutationDefaults(e, t) {
769
- h(this, ne).set(vt(e), {
769
+ h(this, ne).set(xt(e), {
770
770
  mutationKey: e,
771
771
  defaultOptions: t
772
772
  });
@@ -775,7 +775,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
775
775
  const t = [...h(this, ne).values()];
776
776
  let n = {};
777
777
  return t.forEach((r) => {
778
- xt(e, r.mutationKey) && (n = { ...n, ...r.defaultOptions });
778
+ yt(e, r.mutationKey) && (n = { ...n, ...r.defaultOptions });
779
779
  }), n;
780
780
  }
781
781
  defaultQueryOptions(e) {
@@ -790,7 +790,7 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
790
790
  return t.queryHash || (t.queryHash = Ft(
791
791
  t.queryKey,
792
792
  t
793
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === oo && (t.enabled = !1), t;
793
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === aa && (t.enabled = !1), t;
794
794
  }
795
795
  defaultMutationOptions(e) {
796
796
  return e != null && e._defaulted ? e : {
@@ -803,14 +803,14 @@ var w, G, q, te, ne, H, re, oe, Pt, $o = (Pt = class {
803
803
  clear() {
804
804
  h(this, w).clear(), h(this, G).clear();
805
805
  }
806
- }, w = new WeakMap(), G = new WeakMap(), q = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), H = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), Pt);
807
- const Bo = Ot(null), Ke = {
806
+ }, w = new WeakMap(), G = new WeakMap(), q = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), H = new WeakMap(), re = new WeakMap(), ae = new WeakMap(), Pt);
807
+ const $a = Ot(null), $e = {
808
808
  didCatch: !1,
809
809
  error: null
810
810
  };
811
- class Qo extends Br {
811
+ class Ba extends Br {
812
812
  constructor(t) {
813
- super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ke;
813
+ super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = $e;
814
814
  }
815
815
  static getDerivedStateFromError(t) {
816
816
  return {
@@ -828,7 +828,7 @@ class Qo extends Br {
828
828
  (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
829
829
  args: s,
830
830
  reason: "imperative-api"
831
- }), this.setState(Ke);
831
+ }), this.setState($e);
832
832
  }
833
833
  }
834
834
  componentDidCatch(t, n) {
@@ -841,13 +841,13 @@ class Qo extends Br {
841
841
  } = this.state, {
842
842
  resetKeys: o
843
843
  } = this.props;
844
- if (r && n.error !== null && Uo(t.resetKeys, o)) {
844
+ if (r && n.error !== null && Qa(t.resetKeys, o)) {
845
845
  var s, i;
846
846
  (s = (i = this.props).onReset) === null || s === void 0 || s.call(i, {
847
847
  next: o,
848
848
  prev: t.resetKeys,
849
849
  reason: "keys"
850
- }), this.setState(Ke);
850
+ }), this.setState($e);
851
851
  }
852
852
  }
853
853
  render() {
@@ -869,13 +869,13 @@ class Qo extends Br {
869
869
  if (typeof n == "function")
870
870
  u = n(d);
871
871
  else if (r)
872
- u = ht(r, d);
872
+ u = ft(r, d);
873
873
  else if (o === null || Qr(o))
874
874
  u = o;
875
875
  else
876
876
  throw i;
877
877
  }
878
- return ht(Bo.Provider, {
878
+ return ft($a.Provider, {
879
879
  value: {
880
880
  didCatch: s,
881
881
  error: i,
@@ -884,12 +884,12 @@ class Qo extends Br {
884
884
  }, u);
885
885
  }
886
886
  }
887
- function Uo() {
887
+ function Qa() {
888
888
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
889
889
  return e.length !== t.length || e.some((n, r) => !Object.is(n, t[r]));
890
890
  }
891
- const Go = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", qo = (e) => "getRoutes" in e && typeof e.getRoutes == "function", Ho = (e) => "initialize" in e && typeof e.initialize == "function", zo = (e) => "getHead" in e && typeof e.getHead == "function", Vo = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", Yo = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Gt = new $o();
892
- class Xo {
891
+ const Ua = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", Ga = (e) => "getRoutes" in e && typeof e.getRoutes == "function", qa = (e) => "initialize" in e && typeof e.initialize == "function", Ha = (e) => "getHead" in e && typeof e.getHead == "function", za = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", Va = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Gt = new Ka();
892
+ class Ya {
893
893
  constructor(t) {
894
894
  S(this, "plugins");
895
895
  S(this, "sidebars");
@@ -902,7 +902,7 @@ class Xo {
902
902
  navigate: t
903
903
  }) => {
904
904
  await Promise.all(
905
- this.plugins.filter(Ho).map((n) => {
905
+ this.plugins.filter(qa).map((n) => {
906
906
  var r;
907
907
  return (r = n.initialize) == null ? void 0 : r.call(n, this, { navigate: t });
908
908
  })
@@ -912,13 +912,13 @@ class Xo {
912
912
  await Gt.invalidateQueries({ queryKey: t });
913
913
  });
914
914
  S(this, "getApiIdentities", async () => (await Promise.all(
915
- this.plugins.filter(Yo).map((n) => n.getIdentities(this))
915
+ this.plugins.filter(Va).map((n) => n.getIdentities(this))
916
916
  )).flat());
917
917
  S(this, "getPluginSidebar", async (t) => (await Promise.all(
918
918
  this.navigationPlugins.map(
919
919
  (r) => {
920
920
  var o;
921
- return (o = r.getSidebar) == null ? void 0 : o.call(r, Ye(t));
921
+ return (o = r.getSidebar) == null ? void 0 : o.call(r, Xe(t));
922
922
  }
923
923
  )
924
924
  )).flatMap((r) => r ?? []));
@@ -928,26 +928,26 @@ class Xo {
928
928
  const n = await this.authentication.getAccessToken();
929
929
  return t.headers.set("Authorization", `Bearer ${n}`), t;
930
930
  });
931
- this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(qo), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
931
+ this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Ga), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
932
932
  }
933
933
  }
934
- function Wo({ error: e, resetErrorBoundary: t }) {
935
- return /* @__PURE__ */ a.jsx(Et, { error: e });
934
+ function Xa({ error: e, resetErrorBoundary: t }) {
935
+ return /* @__PURE__ */ a.jsx(jt, { error: e });
936
936
  }
937
937
  const Ce = globalThis;
938
938
  (!Ce.requestIdleCallback || !Ce.cancelIdleCallback) && (Ce.requestIdleCallback = (e) => setTimeout(e, 1), Ce.cancelIdleCallback = clearTimeout);
939
- var Qe = ["Enter", " "], Jo = ["ArrowDown", "PageUp", "Home"], qt = ["ArrowUp", "PageDown", "End"], Zo = [...Jo, ...qt], ea = {
940
- ltr: [...Qe, "ArrowRight"],
941
- rtl: [...Qe, "ArrowLeft"]
942
- }, ta = {
939
+ var Ue = ["Enter", " "], Wa = ["ArrowDown", "PageUp", "Home"], qt = ["ArrowUp", "PageDown", "End"], Ja = [...Wa, ...qt], Za = {
940
+ ltr: [...Ue, "ArrowRight"],
941
+ rtl: [...Ue, "ArrowLeft"]
942
+ }, eo = {
943
943
  ltr: ["ArrowLeft"],
944
944
  rtl: ["ArrowRight"]
945
- }, ge = "Menu", [le, na, ra] = xr(ge), [W, Ht] = _t(ge, [
946
- ra,
947
- jt,
945
+ }, ge = "Menu", [le, to, no] = xr(ge), [W, Ht] = Et(ge, [
946
+ no,
947
+ _t,
948
948
  Kt
949
- ]), ve = jt(), zt = Kt(), [Vt, z] = W(ge), [oa, xe] = W(ge), Yt = (e) => {
950
- const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ve(t), [d, g] = c.useState(null), p = c.useRef(!1), l = Ge(s), f = jr(o);
949
+ ]), ve = _t(), zt = Kt(), [Vt, z] = W(ge), [ro, xe] = W(ge), Yt = (e) => {
950
+ const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, u = ve(t), [d, g] = c.useState(null), p = c.useRef(!1), l = qe(s), f = _r(o);
951
951
  return c.useEffect(() => {
952
952
  const v = () => {
953
953
  p.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
@@ -964,7 +964,7 @@ var Qe = ["Enter", " "], Jo = ["ArrowDown", "PageUp", "Home"], qt = ["ArrowUp",
964
964
  content: d,
965
965
  onContentChange: g,
966
966
  children: /* @__PURE__ */ a.jsx(
967
- oa,
967
+ ro,
968
968
  {
969
969
  scope: t,
970
970
  onClose: c.useCallback(() => l(!1), [l]),
@@ -978,33 +978,33 @@ var Qe = ["Enter", " "], Jo = ["ArrowDown", "PageUp", "Home"], qt = ["ArrowUp",
978
978
  ) });
979
979
  };
980
980
  Yt.displayName = ge;
981
- var aa = "MenuAnchor", We = c.forwardRef(
981
+ var ao = "MenuAnchor", Je = c.forwardRef(
982
982
  (e, t) => {
983
983
  const { __scopeMenu: n, ...r } = e, o = ve(n);
984
984
  return /* @__PURE__ */ a.jsx(yr, { ...o, ...r, ref: t });
985
985
  }
986
986
  );
987
- We.displayName = aa;
988
- var Je = "MenuPortal", [sa, Xt] = W(Je, {
987
+ Je.displayName = ao;
988
+ var Ze = "MenuPortal", [oo, Xt] = W(Ze, {
989
989
  forceMount: void 0
990
990
  }), Wt = (e) => {
991
- const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = z(Je, t);
992
- return /* @__PURE__ */ a.jsx(sa, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(Ie, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Nr, { asChild: !0, container: o, children: r }) }) });
991
+ const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = z(Ze, t);
992
+ return /* @__PURE__ */ a.jsx(oo, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(Ie, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Nr, { asChild: !0, container: o, children: r }) }) });
993
993
  };
994
- Wt.displayName = Je;
995
- var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
994
+ Wt.displayName = Ze;
995
+ var D = "MenuContent", [so, et] = W(D), Jt = c.forwardRef(
996
996
  (e, t) => {
997
997
  const n = Xt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = z(D, e.__scopeMenu), i = xe(D, e.__scopeMenu);
998
- return /* @__PURE__ */ a.jsx(le.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(le.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(ca, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(ua, { ...o, ref: t }) }) }) });
998
+ return /* @__PURE__ */ a.jsx(le.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(le.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(io, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(co, { ...o, ref: t }) }) }) });
999
999
  }
1000
- ), ca = c.forwardRef(
1000
+ ), io = c.forwardRef(
1001
1001
  (e, t) => {
1002
1002
  const n = z(D, e.__scopeMenu), r = c.useRef(null), o = fe(t, r);
1003
1003
  return c.useEffect(() => {
1004
1004
  const s = r.current;
1005
1005
  if (s) return wr(s);
1006
1006
  }, []), /* @__PURE__ */ a.jsx(
1007
- et,
1007
+ tt,
1008
1008
  {
1009
1009
  ...e,
1010
1010
  ref: o,
@@ -1020,10 +1020,10 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1020
1020
  }
1021
1021
  );
1022
1022
  }
1023
- ), ua = c.forwardRef((e, t) => {
1023
+ ), co = c.forwardRef((e, t) => {
1024
1024
  const n = z(D, e.__scopeMenu);
1025
1025
  return /* @__PURE__ */ a.jsx(
1026
- et,
1026
+ tt,
1027
1027
  {
1028
1028
  ...e,
1029
1029
  ref: t,
@@ -1033,7 +1033,7 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1033
1033
  onDismiss: () => n.onOpenChange(!1)
1034
1034
  }
1035
1035
  );
1036
- }), et = c.forwardRef(
1036
+ }), tt = c.forwardRef(
1037
1037
  (e, t) => {
1038
1038
  const {
1039
1039
  __scopeMenu: n,
@@ -1050,20 +1050,20 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1050
1050
  onDismiss: v,
1051
1051
  disableOutsideScroll: x,
1052
1052
  ...b
1053
- } = e, I = z(D, n), Q = xe(D, n), V = ve(n), C = zt(n), A = na(n), [L, Y] = c.useState(null), J = c.useRef(null), ye = fe(t, J, I.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), Oe = c.useRef(null), st = c.useRef("right"), ke = c.useRef(0), tr = x ? Sr : c.Fragment, nr = x ? { as: Er, allowPinchZoom: !0 } : void 0, rr = (m) => {
1054
- var ee, ct;
1055
- const j = we.current + m, O = A().filter((K) => !K.disabled), U = document.activeElement, Te = (ee = O.find((K) => K.ref.current === U)) == null ? void 0 : ee.textValue, Fe = O.map((K) => K.textValue), it = ba(Fe, j, Te), ie = (ct = O.find((K) => K.textValue === it)) == null ? void 0 : ct.ref.current;
1056
- (function K(ut) {
1057
- we.current = ut, window.clearTimeout(X.current), ut !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1058
- })(j), ie && setTimeout(() => ie.focus());
1053
+ } = e, I = z(D, n), Q = xe(D, n), V = ve(n), C = zt(n), A = to(n), [L, Y] = c.useState(null), J = c.useRef(null), ye = fe(t, J, I.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), Oe = c.useRef(null), it = c.useRef("right"), ke = c.useRef(0), tr = x ? Sr : c.Fragment, nr = x ? { as: jr, allowPinchZoom: !0 } : void 0, rr = (m) => {
1054
+ var ee, ut;
1055
+ const _ = we.current + m, O = A().filter((K) => !K.disabled), U = document.activeElement, Te = (ee = O.find((K) => K.ref.current === U)) == null ? void 0 : ee.textValue, Fe = O.map((K) => K.textValue), ct = bo(Fe, _, Te), ie = (ut = O.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1056
+ (function K(lt) {
1057
+ we.current = lt, window.clearTimeout(X.current), lt !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1058
+ })(_), ie && setTimeout(() => ie.focus());
1059
1059
  };
1060
1060
  c.useEffect(() => () => window.clearTimeout(X.current), []), br();
1061
1061
  const Z = c.useCallback((m) => {
1062
1062
  var O, U;
1063
- return st.current === ((O = Oe.current) == null ? void 0 : O.side) && Ca(m, (U = Oe.current) == null ? void 0 : U.area);
1063
+ return it.current === ((O = Oe.current) == null ? void 0 : O.side) && Co(m, (U = Oe.current) == null ? void 0 : U.area);
1064
1064
  }, []);
1065
1065
  return /* @__PURE__ */ a.jsx(
1066
- ia,
1066
+ so,
1067
1067
  {
1068
1068
  scope: n,
1069
1069
  searchRef: we,
@@ -1075,8 +1075,8 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1075
1075
  ),
1076
1076
  onItemLeave: c.useCallback(
1077
1077
  (m) => {
1078
- var j;
1079
- Z(m) || ((j = J.current) == null || j.focus(), Y(null));
1078
+ var _;
1079
+ Z(m) || ((_ = J.current) == null || _.focus(), Y(null));
1080
1080
  },
1081
1081
  [Z]
1082
1082
  ),
@@ -1096,8 +1096,8 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1096
1096
  asChild: !0,
1097
1097
  trapped: o,
1098
1098
  onMountAutoFocus: y(s, (m) => {
1099
- var j;
1100
- m.preventDefault(), (j = J.current) == null || j.focus({ preventScroll: !0 });
1099
+ var _;
1100
+ m.preventDefault(), (_ = J.current) == null || _.focus({ preventScroll: !0 });
1101
1101
  }),
1102
1102
  onUnmountAutoFocus: i,
1103
1103
  children: /* @__PURE__ */ a.jsx(
@@ -1111,7 +1111,7 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1111
1111
  onInteractOutside: f,
1112
1112
  onDismiss: v,
1113
1113
  children: /* @__PURE__ */ a.jsx(
1114
- uo,
1114
+ ua,
1115
1115
  {
1116
1116
  asChild: !0,
1117
1117
  ...C,
@@ -1140,10 +1140,10 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1140
1140
  const O = m.target.closest("[data-radix-menu-content]") === m.currentTarget, U = m.ctrlKey || m.altKey || m.metaKey, Te = m.key.length === 1;
1141
1141
  O && (m.key === "Tab" && m.preventDefault(), !U && Te && rr(m.key));
1142
1142
  const Fe = J.current;
1143
- if (m.target !== Fe || !Zo.includes(m.key)) return;
1143
+ if (m.target !== Fe || !Ja.includes(m.key)) return;
1144
1144
  m.preventDefault();
1145
1145
  const ie = A().filter((ee) => !ee.disabled).map((ee) => ee.ref.current);
1146
- qt.includes(m.key) && ie.reverse(), ya(ie);
1146
+ qt.includes(m.key) && ie.reverse(), yo(ie);
1147
1147
  }),
1148
1148
  onBlur: y(e.onBlur, (m) => {
1149
1149
  m.currentTarget.contains(m.target) || (window.clearTimeout(X.current), we.current = "");
@@ -1151,10 +1151,10 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1151
1151
  onPointerMove: y(
1152
1152
  e.onPointerMove,
1153
1153
  de((m) => {
1154
- const j = m.target, O = ke.current !== m.clientX;
1155
- if (m.currentTarget.contains(j) && O) {
1154
+ const _ = m.target, O = ke.current !== m.clientX;
1155
+ if (m.currentTarget.contains(_) && O) {
1156
1156
  const U = m.clientX > ke.current ? "right" : "left";
1157
- st.current = U, ke.current = m.clientX;
1157
+ it.current = U, ke.current = m.clientX;
1158
1158
  }
1159
1159
  })
1160
1160
  )
@@ -1171,27 +1171,27 @@ var D = "MenuContent", [ia, Ze] = W(D), Jt = c.forwardRef(
1171
1171
  }
1172
1172
  );
1173
1173
  Jt.displayName = D;
1174
- var la = "MenuGroup", tt = c.forwardRef(
1174
+ var uo = "MenuGroup", nt = c.forwardRef(
1175
1175
  (e, t) => {
1176
1176
  const { __scopeMenu: n, ...r } = e;
1177
- return /* @__PURE__ */ a.jsx(ae.div, { role: "group", ...r, ref: t });
1177
+ return /* @__PURE__ */ a.jsx(oe.div, { role: "group", ...r, ref: t });
1178
1178
  }
1179
1179
  );
1180
- tt.displayName = la;
1181
- var da = "MenuLabel", Zt = c.forwardRef(
1180
+ nt.displayName = uo;
1181
+ var lo = "MenuLabel", Zt = c.forwardRef(
1182
1182
  (e, t) => {
1183
1183
  const { __scopeMenu: n, ...r } = e;
1184
- return /* @__PURE__ */ a.jsx(ae.div, { ...r, ref: t });
1184
+ return /* @__PURE__ */ a.jsx(oe.div, { ...r, ref: t });
1185
1185
  }
1186
1186
  );
1187
- Zt.displayName = da;
1188
- var je = "MenuItem", bt = "menu.itemSelect", Ae = c.forwardRef(
1187
+ Zt.displayName = lo;
1188
+ var _e = "MenuItem", bt = "menu.itemSelect", Ae = c.forwardRef(
1189
1189
  (e, t) => {
1190
- const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = xe(je, e.__scopeMenu), u = Ze(je, e.__scopeMenu), d = fe(t, s), g = c.useRef(!1), p = () => {
1190
+ const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = xe(_e, e.__scopeMenu), u = et(_e, e.__scopeMenu), d = fe(t, s), g = c.useRef(!1), p = () => {
1191
1191
  const l = s.current;
1192
1192
  if (!n && l) {
1193
1193
  const f = new CustomEvent(bt, { bubbles: !0, cancelable: !0 });
1194
- l.addEventListener(bt, (v) => r == null ? void 0 : r(v), { once: !0 }), _r(l, f), f.defaultPrevented ? g.current = !1 : i.onClose();
1194
+ l.addEventListener(bt, (v) => r == null ? void 0 : r(v), { once: !0 }), Er(l, f), f.defaultPrevented ? g.current = !1 : i.onClose();
1195
1195
  }
1196
1196
  };
1197
1197
  return /* @__PURE__ */ a.jsx(
@@ -1211,16 +1211,16 @@ var je = "MenuItem", bt = "menu.itemSelect", Ae = c.forwardRef(
1211
1211
  }),
1212
1212
  onKeyDown: y(e.onKeyDown, (l) => {
1213
1213
  const f = u.searchRef.current !== "";
1214
- n || f && l.key === " " || Qe.includes(l.key) && (l.currentTarget.click(), l.preventDefault());
1214
+ n || f && l.key === " " || Ue.includes(l.key) && (l.currentTarget.click(), l.preventDefault());
1215
1215
  })
1216
1216
  }
1217
1217
  );
1218
1218
  }
1219
1219
  );
1220
- Ae.displayName = je;
1220
+ Ae.displayName = _e;
1221
1221
  var en = c.forwardRef(
1222
1222
  (e, t) => {
1223
- const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = Ze(je, n), u = zt(n), d = c.useRef(null), g = fe(t, d), [p, l] = c.useState(!1), [f, v] = c.useState("");
1223
+ const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = et(_e, n), u = zt(n), d = c.useRef(null), g = fe(t, d), [p, l] = c.useState(!1), [f, v] = c.useState("");
1224
1224
  return c.useEffect(() => {
1225
1225
  const x = d.current;
1226
1226
  x && v((x.textContent ?? "").trim());
@@ -1230,8 +1230,8 @@ var en = c.forwardRef(
1230
1230
  scope: n,
1231
1231
  disabled: r,
1232
1232
  textValue: o ?? f,
1233
- children: /* @__PURE__ */ a.jsx(lo, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ a.jsx(
1234
- ae.div,
1233
+ children: /* @__PURE__ */ a.jsx(la, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ a.jsx(
1234
+ oe.div,
1235
1235
  {
1236
1236
  role: "menuitem",
1237
1237
  "data-highlighted": p ? "" : void 0,
@@ -1256,7 +1256,7 @@ var en = c.forwardRef(
1256
1256
  }
1257
1257
  );
1258
1258
  }
1259
- ), ha = "MenuCheckboxItem", tn = c.forwardRef(
1259
+ ), ho = "MenuCheckboxItem", tn = c.forwardRef(
1260
1260
  (e, t) => {
1261
1261
  const { checked: n = !1, onCheckedChange: r, ...o } = e;
1262
1262
  return /* @__PURE__ */ a.jsx(sn, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ a.jsx(
@@ -1276,21 +1276,21 @@ var en = c.forwardRef(
1276
1276
  ) });
1277
1277
  }
1278
1278
  );
1279
- tn.displayName = ha;
1280
- var nn = "MenuRadioGroup", [fa, pa] = W(
1279
+ tn.displayName = ho;
1280
+ var nn = "MenuRadioGroup", [fo, po] = W(
1281
1281
  nn,
1282
1282
  { value: void 0, onValueChange: () => {
1283
1283
  } }
1284
1284
  ), rn = c.forwardRef(
1285
1285
  (e, t) => {
1286
- const { value: n, onValueChange: r, ...o } = e, s = Ge(r);
1287
- return /* @__PURE__ */ a.jsx(fa, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ a.jsx(tt, { ...o, ref: t }) });
1286
+ const { value: n, onValueChange: r, ...o } = e, s = qe(r);
1287
+ return /* @__PURE__ */ a.jsx(fo, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ a.jsx(nt, { ...o, ref: t }) });
1288
1288
  }
1289
1289
  );
1290
1290
  rn.displayName = nn;
1291
- var on = "MenuRadioItem", an = c.forwardRef(
1291
+ var an = "MenuRadioItem", on = c.forwardRef(
1292
1292
  (e, t) => {
1293
- const { value: n, ...r } = e, o = pa(on, e.__scopeMenu), s = n === o.value;
1293
+ const { value: n, ...r } = e, o = po(an, e.__scopeMenu), s = n === o.value;
1294
1294
  return /* @__PURE__ */ a.jsx(sn, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ a.jsx(
1295
1295
  Ae,
1296
1296
  {
@@ -1311,19 +1311,19 @@ var on = "MenuRadioItem", an = c.forwardRef(
1311
1311
  ) });
1312
1312
  }
1313
1313
  );
1314
- an.displayName = on;
1315
- var nt = "MenuItemIndicator", [sn, ma] = W(
1316
- nt,
1314
+ on.displayName = an;
1315
+ var rt = "MenuItemIndicator", [sn, mo] = W(
1316
+ rt,
1317
1317
  { checked: !1 }
1318
1318
  ), cn = c.forwardRef(
1319
1319
  (e, t) => {
1320
- const { __scopeMenu: n, forceMount: r, ...o } = e, s = ma(nt, n);
1320
+ const { __scopeMenu: n, forceMount: r, ...o } = e, s = mo(rt, n);
1321
1321
  return /* @__PURE__ */ a.jsx(
1322
1322
  Ie,
1323
1323
  {
1324
1324
  present: r || Ne(s.checked) || s.checked === !0,
1325
1325
  children: /* @__PURE__ */ a.jsx(
1326
- ae.span,
1326
+ oe.span,
1327
1327
  {
1328
1328
  ...o,
1329
1329
  ref: t,
@@ -1334,12 +1334,12 @@ var nt = "MenuItemIndicator", [sn, ma] = W(
1334
1334
  );
1335
1335
  }
1336
1336
  );
1337
- cn.displayName = nt;
1338
- var ga = "MenuSeparator", un = c.forwardRef(
1337
+ cn.displayName = rt;
1338
+ var go = "MenuSeparator", un = c.forwardRef(
1339
1339
  (e, t) => {
1340
1340
  const { __scopeMenu: n, ...r } = e;
1341
1341
  return /* @__PURE__ */ a.jsx(
1342
- ae.div,
1342
+ oe.div,
1343
1343
  {
1344
1344
  role: "separator",
1345
1345
  "aria-orientation": "horizontal",
@@ -1349,16 +1349,16 @@ var ga = "MenuSeparator", un = c.forwardRef(
1349
1349
  );
1350
1350
  }
1351
1351
  );
1352
- un.displayName = ga;
1353
- var va = "MenuArrow", ln = c.forwardRef(
1352
+ un.displayName = go;
1353
+ var vo = "MenuArrow", ln = c.forwardRef(
1354
1354
  (e, t) => {
1355
1355
  const { __scopeMenu: n, ...r } = e, o = ve(n);
1356
1356
  return /* @__PURE__ */ a.jsx(Rr, { ...o, ...r, ref: t });
1357
1357
  }
1358
1358
  );
1359
- ln.displayName = va;
1360
- var rt = "MenuSub", [xa, dn] = W(rt), hn = (e) => {
1361
- const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = z(rt, t), i = ve(t), [u, d] = c.useState(null), [g, p] = c.useState(null), l = Ge(o);
1359
+ ln.displayName = vo;
1360
+ var at = "MenuSub", [xo, dn] = W(at), hn = (e) => {
1361
+ const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = z(at, t), i = ve(t), [u, d] = c.useState(null), [g, p] = c.useState(null), l = qe(o);
1362
1362
  return c.useEffect(() => (s.open === !1 && l(!1), () => l(!1)), [s.open, l]), /* @__PURE__ */ a.jsx(Dt, { ...i, children: /* @__PURE__ */ a.jsx(
1363
1363
  Vt,
1364
1364
  {
@@ -1368,11 +1368,11 @@ var rt = "MenuSub", [xa, dn] = W(rt), hn = (e) => {
1368
1368
  content: g,
1369
1369
  onContentChange: p,
1370
1370
  children: /* @__PURE__ */ a.jsx(
1371
- xa,
1371
+ xo,
1372
1372
  {
1373
1373
  scope: t,
1374
- contentId: Ee(),
1375
- triggerId: Ee(),
1374
+ contentId: je(),
1375
+ triggerId: je(),
1376
1376
  trigger: u,
1377
1377
  onTriggerChange: d,
1378
1378
  children: n
@@ -1381,10 +1381,10 @@ var rt = "MenuSub", [xa, dn] = W(rt), hn = (e) => {
1381
1381
  }
1382
1382
  ) });
1383
1383
  };
1384
- hn.displayName = rt;
1384
+ hn.displayName = at;
1385
1385
  var ce = "MenuSubTrigger", fn = c.forwardRef(
1386
1386
  (e, t) => {
1387
- const n = z(ce, e.__scopeMenu), r = xe(ce, e.__scopeMenu), o = dn(ce, e.__scopeMenu), s = Ze(ce, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: d } = s, g = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1387
+ const n = z(ce, e.__scopeMenu), r = xe(ce, e.__scopeMenu), o = dn(ce, e.__scopeMenu), s = et(ce, e.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: d } = s, g = { __scopeMenu: e.__scopeMenu }, p = c.useCallback(() => {
1388
1388
  i.current && window.clearTimeout(i.current), i.current = null;
1389
1389
  }, []);
1390
1390
  return c.useEffect(() => p, [p]), c.useEffect(() => {
@@ -1392,7 +1392,7 @@ var ce = "MenuSubTrigger", fn = c.forwardRef(
1392
1392
  return () => {
1393
1393
  window.clearTimeout(l), d(null);
1394
1394
  };
1395
- }, [u, d]), /* @__PURE__ */ a.jsx(We, { asChild: !0, ...g, children: /* @__PURE__ */ a.jsx(
1395
+ }, [u, d]), /* @__PURE__ */ a.jsx(Je, { asChild: !0, ...g, children: /* @__PURE__ */ a.jsx(
1396
1396
  en,
1397
1397
  {
1398
1398
  id: o.triggerId,
@@ -1446,7 +1446,7 @@ var ce = "MenuSubTrigger", fn = c.forwardRef(
1446
1446
  onKeyDown: y(e.onKeyDown, (l) => {
1447
1447
  var v;
1448
1448
  const f = s.searchRef.current !== "";
1449
- e.disabled || f && l.key === " " || ea[r.dir].includes(l.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), l.preventDefault());
1449
+ e.disabled || f && l.key === " " || Za[r.dir].includes(l.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), l.preventDefault());
1450
1450
  })
1451
1451
  }
1452
1452
  ) });
@@ -1457,7 +1457,7 @@ var pn = "MenuSubContent", mn = c.forwardRef(
1457
1457
  (e, t) => {
1458
1458
  const n = Xt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = z(D, e.__scopeMenu), i = xe(D, e.__scopeMenu), u = dn(pn, e.__scopeMenu), d = c.useRef(null), g = fe(t, d);
1459
1459
  return /* @__PURE__ */ a.jsx(le.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(le.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
1460
- et,
1460
+ tt,
1461
1461
  {
1462
1462
  id: u.contentId,
1463
1463
  "aria-labelledby": u.triggerId,
@@ -1481,7 +1481,7 @@ var pn = "MenuSubContent", mn = c.forwardRef(
1481
1481
  }),
1482
1482
  onKeyDown: y(e.onKeyDown, (p) => {
1483
1483
  var v;
1484
- const l = p.currentTarget.contains(p.target), f = ta[i.dir].includes(p.key);
1484
+ const l = p.currentTarget.contains(p.target), f = eo[i.dir].includes(p.key);
1485
1485
  l && f && (s.onOpenChange(!1), (v = u.trigger) == null || v.focus(), p.preventDefault());
1486
1486
  })
1487
1487
  }
@@ -1498,24 +1498,24 @@ function Ne(e) {
1498
1498
  function ot(e) {
1499
1499
  return Ne(e) ? "indeterminate" : e ? "checked" : "unchecked";
1500
1500
  }
1501
- function ya(e) {
1501
+ function yo(e) {
1502
1502
  const t = document.activeElement;
1503
1503
  for (const n of e)
1504
1504
  if (n === t || (n.focus(), document.activeElement !== t)) return;
1505
1505
  }
1506
- function wa(e, t) {
1506
+ function wo(e, t) {
1507
1507
  return e.map((n, r) => e[(t + r) % e.length]);
1508
1508
  }
1509
- function ba(e, t, n) {
1509
+ function bo(e, t, n) {
1510
1510
  const o = t.length > 1 && Array.from(t).every((g) => g === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
1511
- let i = wa(e, Math.max(s, 0));
1511
+ let i = wo(e, Math.max(s, 0));
1512
1512
  o.length === 1 && (i = i.filter((g) => g !== n));
1513
1513
  const d = i.find(
1514
1514
  (g) => g.toLowerCase().startsWith(o.toLowerCase())
1515
1515
  );
1516
1516
  return d !== n ? d : void 0;
1517
1517
  }
1518
- function Ma(e, t) {
1518
+ function Mo(e, t) {
1519
1519
  const { x: n, y: r } = e;
1520
1520
  let o = !1;
1521
1521
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
@@ -1524,18 +1524,18 @@ function Ma(e, t) {
1524
1524
  }
1525
1525
  return o;
1526
1526
  }
1527
- function Ca(e, t) {
1527
+ function Co(e, t) {
1528
1528
  if (!t) return !1;
1529
1529
  const n = { x: e.clientX, y: e.clientY };
1530
- return Ma(n, t);
1530
+ return Mo(n, t);
1531
1531
  }
1532
1532
  function de(e) {
1533
1533
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
1534
1534
  }
1535
- var Pa = Yt, Ra = We, Sa = Wt, Ea = Jt, _a = tt, ja = Zt, Na = Ae, Da = tn, Ia = rn, Aa = an, Oa = cn, ka = un, Ta = ln, Fa = hn, La = fn, Ka = mn, at = "DropdownMenu", [$a, Bs] = _t(
1536
- at,
1535
+ var Po = Yt, Ro = Je, So = Wt, jo = Jt, Eo = nt, _o = Zt, No = Ae, Do = tn, Io = rn, Ao = on, Oo = cn, ko = un, To = ln, Fo = hn, Lo = fn, Ko = mn, st = "DropdownMenu", [$o, Bs] = Et(
1536
+ st,
1537
1537
  [Ht]
1538
- ), R = Ht(), [Ba, vn] = $a(at), xn = (e) => {
1538
+ ), R = Ht(), [Bo, vn] = $o(st), xn = (e) => {
1539
1539
  const {
1540
1540
  __scopeDropdownMenu: t,
1541
1541
  children: n,
@@ -1550,26 +1550,26 @@ var Pa = Yt, Ra = We, Sa = Wt, Ea = Jt, _a = tt, ja = Zt, Na = Ae, Da = tn, Ia =
1550
1550
  onChange: i
1551
1551
  });
1552
1552
  return /* @__PURE__ */ a.jsx(
1553
- Ba,
1553
+ Bo,
1554
1554
  {
1555
1555
  scope: t,
1556
- triggerId: Ee(),
1556
+ triggerId: je(),
1557
1557
  triggerRef: g,
1558
- contentId: Ee(),
1558
+ contentId: je(),
1559
1559
  open: p,
1560
1560
  onOpenChange: l,
1561
1561
  onOpenToggle: c.useCallback(() => l((f) => !f), [l]),
1562
1562
  modal: u,
1563
- children: /* @__PURE__ */ a.jsx(Pa, { ...d, open: p, onOpenChange: l, dir: r, modal: u, children: n })
1563
+ children: /* @__PURE__ */ a.jsx(Po, { ...d, open: p, onOpenChange: l, dir: r, modal: u, children: n })
1564
1564
  }
1565
1565
  );
1566
1566
  };
1567
- xn.displayName = at;
1567
+ xn.displayName = st;
1568
1568
  var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1569
1569
  (e, t) => {
1570
1570
  const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, s = vn(yn, n), i = R(n);
1571
- return /* @__PURE__ */ a.jsx(Ra, { asChild: !0, ...i, children: /* @__PURE__ */ a.jsx(
1572
- ae.button,
1571
+ return /* @__PURE__ */ a.jsx(Ro, { asChild: !0, ...i, children: /* @__PURE__ */ a.jsx(
1572
+ oe.button,
1573
1573
  {
1574
1574
  type: "button",
1575
1575
  id: s.triggerId,
@@ -1592,16 +1592,16 @@ var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1592
1592
  }
1593
1593
  );
1594
1594
  wn.displayName = yn;
1595
- var Qa = "DropdownMenuPortal", bn = (e) => {
1595
+ var Qo = "DropdownMenuPortal", bn = (e) => {
1596
1596
  const { __scopeDropdownMenu: t, ...n } = e, r = R(t);
1597
- return /* @__PURE__ */ a.jsx(Sa, { ...r, ...n });
1597
+ return /* @__PURE__ */ a.jsx(So, { ...r, ...n });
1598
1598
  };
1599
- bn.displayName = Qa;
1599
+ bn.displayName = Qo;
1600
1600
  var Mn = "DropdownMenuContent", Cn = c.forwardRef(
1601
1601
  (e, t) => {
1602
1602
  const { __scopeDropdownMenu: n, ...r } = e, o = vn(Mn, n), s = R(n), i = c.useRef(!1);
1603
1603
  return /* @__PURE__ */ a.jsx(
1604
- Ea,
1604
+ jo,
1605
1605
  {
1606
1606
  id: o.contentId,
1607
1607
  "aria-labelledby": o.triggerId,
@@ -1629,75 +1629,75 @@ var Mn = "DropdownMenuContent", Cn = c.forwardRef(
1629
1629
  }
1630
1630
  );
1631
1631
  Cn.displayName = Mn;
1632
- var Ua = "DropdownMenuGroup", Ga = c.forwardRef(
1632
+ var Uo = "DropdownMenuGroup", Go = c.forwardRef(
1633
1633
  (e, t) => {
1634
1634
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1635
- return /* @__PURE__ */ a.jsx(_a, { ...o, ...r, ref: t });
1635
+ return /* @__PURE__ */ a.jsx(Eo, { ...o, ...r, ref: t });
1636
1636
  }
1637
1637
  );
1638
- Ga.displayName = Ua;
1639
- var qa = "DropdownMenuLabel", Pn = c.forwardRef(
1638
+ Go.displayName = Uo;
1639
+ var qo = "DropdownMenuLabel", Pn = c.forwardRef(
1640
1640
  (e, t) => {
1641
1641
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1642
- return /* @__PURE__ */ a.jsx(ja, { ...o, ...r, ref: t });
1642
+ return /* @__PURE__ */ a.jsx(_o, { ...o, ...r, ref: t });
1643
1643
  }
1644
1644
  );
1645
- Pn.displayName = qa;
1646
- var Ha = "DropdownMenuItem", Rn = c.forwardRef(
1645
+ Pn.displayName = qo;
1646
+ var Ho = "DropdownMenuItem", Rn = c.forwardRef(
1647
1647
  (e, t) => {
1648
1648
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1649
- return /* @__PURE__ */ a.jsx(Na, { ...o, ...r, ref: t });
1649
+ return /* @__PURE__ */ a.jsx(No, { ...o, ...r, ref: t });
1650
1650
  }
1651
1651
  );
1652
- Rn.displayName = Ha;
1653
- var za = "DropdownMenuCheckboxItem", Sn = c.forwardRef((e, t) => {
1652
+ Rn.displayName = Ho;
1653
+ var zo = "DropdownMenuCheckboxItem", Sn = c.forwardRef((e, t) => {
1654
1654
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1655
- return /* @__PURE__ */ a.jsx(Da, { ...o, ...r, ref: t });
1655
+ return /* @__PURE__ */ a.jsx(Do, { ...o, ...r, ref: t });
1656
1656
  });
1657
- Sn.displayName = za;
1658
- var Va = "DropdownMenuRadioGroup", Ya = c.forwardRef((e, t) => {
1657
+ Sn.displayName = zo;
1658
+ var Vo = "DropdownMenuRadioGroup", Yo = c.forwardRef((e, t) => {
1659
1659
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1660
- return /* @__PURE__ */ a.jsx(Ia, { ...o, ...r, ref: t });
1660
+ return /* @__PURE__ */ a.jsx(Io, { ...o, ...r, ref: t });
1661
1661
  });
1662
- Ya.displayName = Va;
1663
- var Xa = "DropdownMenuRadioItem", En = c.forwardRef((e, t) => {
1662
+ Yo.displayName = Vo;
1663
+ var Xo = "DropdownMenuRadioItem", jn = c.forwardRef((e, t) => {
1664
1664
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1665
- return /* @__PURE__ */ a.jsx(Aa, { ...o, ...r, ref: t });
1665
+ return /* @__PURE__ */ a.jsx(Ao, { ...o, ...r, ref: t });
1666
1666
  });
1667
- En.displayName = Xa;
1668
- var Wa = "DropdownMenuItemIndicator", _n = c.forwardRef((e, t) => {
1667
+ jn.displayName = Xo;
1668
+ var Wo = "DropdownMenuItemIndicator", En = c.forwardRef((e, t) => {
1669
1669
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1670
- return /* @__PURE__ */ a.jsx(Oa, { ...o, ...r, ref: t });
1670
+ return /* @__PURE__ */ a.jsx(Oo, { ...o, ...r, ref: t });
1671
1671
  });
1672
- _n.displayName = Wa;
1673
- var Ja = "DropdownMenuSeparator", jn = c.forwardRef((e, t) => {
1672
+ En.displayName = Wo;
1673
+ var Jo = "DropdownMenuSeparator", _n = c.forwardRef((e, t) => {
1674
1674
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1675
- return /* @__PURE__ */ a.jsx(ka, { ...o, ...r, ref: t });
1675
+ return /* @__PURE__ */ a.jsx(ko, { ...o, ...r, ref: t });
1676
1676
  });
1677
- jn.displayName = Ja;
1678
- var Za = "DropdownMenuArrow", es = c.forwardRef(
1677
+ _n.displayName = Jo;
1678
+ var Zo = "DropdownMenuArrow", es = c.forwardRef(
1679
1679
  (e, t) => {
1680
1680
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1681
- return /* @__PURE__ */ a.jsx(Ta, { ...o, ...r, ref: t });
1681
+ return /* @__PURE__ */ a.jsx(To, { ...o, ...r, ref: t });
1682
1682
  }
1683
1683
  );
1684
- es.displayName = Za;
1684
+ es.displayName = Zo;
1685
1685
  var ts = (e) => {
1686
1686
  const { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: o, defaultOpen: s } = e, i = R(t), [u = !1, d] = It({
1687
1687
  prop: r,
1688
1688
  defaultProp: s,
1689
1689
  onChange: o
1690
1690
  });
1691
- return /* @__PURE__ */ a.jsx(Fa, { ...i, open: u, onOpenChange: d, children: n });
1691
+ return /* @__PURE__ */ a.jsx(Fo, { ...i, open: u, onOpenChange: d, children: n });
1692
1692
  }, ns = "DropdownMenuSubTrigger", Nn = c.forwardRef((e, t) => {
1693
1693
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1694
- return /* @__PURE__ */ a.jsx(La, { ...o, ...r, ref: t });
1694
+ return /* @__PURE__ */ a.jsx(Lo, { ...o, ...r, ref: t });
1695
1695
  });
1696
1696
  Nn.displayName = ns;
1697
1697
  var rs = "DropdownMenuSubContent", Dn = c.forwardRef((e, t) => {
1698
1698
  const { __scopeDropdownMenu: n, ...r } = e, o = R(n);
1699
1699
  return /* @__PURE__ */ a.jsx(
1700
- Ka,
1700
+ Ko,
1701
1701
  {
1702
1702
  ...o,
1703
1703
  ...r,
@@ -1714,8 +1714,8 @@ var rs = "DropdownMenuSubContent", Dn = c.forwardRef((e, t) => {
1714
1714
  );
1715
1715
  });
1716
1716
  Dn.displayName = rs;
1717
- var os = xn, as = wn, In = bn, An = Cn, On = Pn, kn = Rn, Tn = Sn, Fn = En, Ln = _n, Kn = jn, ss = ts, $n = Nn, Bn = Dn;
1718
- const is = os, cs = as, us = In, ls = ss, Qn = c.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1717
+ var as = xn, os = wn, In = bn, An = Cn, On = Pn, kn = Rn, Tn = Sn, Fn = jn, Ln = En, Kn = _n, ss = ts, $n = Nn, Bn = Dn;
1718
+ const is = as, cs = os, us = In, ls = ss, Qn = c.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ a.jsxs(
1719
1719
  $n,
1720
1720
  {
1721
1721
  ref: o,
@@ -1798,7 +1798,7 @@ const hs = c.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
1798
1798
  ),
1799
1799
  ...n,
1800
1800
  children: [
1801
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Ln, { children: /* @__PURE__ */ a.jsx(fo, { className: "h-4 w-4 fill-current" }) }) }),
1801
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(Ln, { children: /* @__PURE__ */ a.jsx(ha, { className: "h-4 w-4 fill-current" }) }) }),
1802
1802
  t
1803
1803
  ]
1804
1804
  }
@@ -1827,7 +1827,7 @@ const zn = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
1827
1827
  ));
1828
1828
  zn.displayName = Kn.displayName;
1829
1829
  const fs = () => {
1830
- const { topNavigation: e } = Ve();
1830
+ const { topNavigation: e } = Ye();
1831
1831
  return e.length <= 1 ? null : /* @__PURE__ */ a.jsx("nav", { className: "border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.map((t) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
1832
1832
  Pe,
1833
1833
  {
@@ -1846,7 +1846,7 @@ const fs = () => {
1846
1846
  /* @__PURE__ */ a.jsx(Vn, { item: t }, n)
1847
1847
  )) }) })
1848
1848
  ] }, e.label) : /* @__PURE__ */ a.jsx(Re, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(qn, { children: e.label }, e.label) }), Yn = kt(function() {
1849
- const [t, n] = Or(), { isAuthenticated: r, profile: o, isAuthEnabled: s } = Dr(), { pathname: i } = De(), u = Ve(), { page: d, plugins: g } = u, p = g.filter((f) => Go(f)).flatMap((f) => f.getProfileMenuItems(u)).map((f) => /* @__PURE__ */ a.jsx(Vn, { item: f }, f.label)), l = t ? mo : go;
1849
+ const [t, n] = Or(), { isAuthenticated: r, profile: o, isAuthEnabled: s } = Dr(), { pathname: i } = De(), u = Ye(), { page: d, plugins: g } = u, p = g.filter((f) => Ua(f)).flatMap((f) => f.getProfileMenuItems(u)).map((f) => /* @__PURE__ */ a.jsx(Vn, { item: f }, f.label)), l = t ? pa : ma;
1850
1850
  return /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1851
1851
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-12 h-[--top-header-height]", children: [
1852
1852
  /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(Re, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
@@ -1877,7 +1877,7 @@ const fs = () => {
1877
1877
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1878
1878
  /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-prose" }),
1879
1879
  /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1880
- s && !r ? /* @__PURE__ */ a.jsx($e, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ a.jsx(
1880
+ s && !r ? /* @__PURE__ */ a.jsx(Be, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ a.jsx(
1881
1881
  Re,
1882
1882
  {
1883
1883
  to: {
@@ -1887,7 +1887,7 @@ const fs = () => {
1887
1887
  children: "Login"
1888
1888
  }
1889
1889
  ) }) : p.length > 0 && /* @__PURE__ */ a.jsxs(is, { children: [
1890
- /* @__PURE__ */ a.jsx(cs, { asChild: !0, children: /* @__PURE__ */ a.jsx($e, { variant: "ghost", children: o != null && o.email ? `${o.email}` : "My Account" }) }),
1890
+ /* @__PURE__ */ a.jsx(cs, { asChild: !0, children: /* @__PURE__ */ a.jsx(Be, { variant: "ghost", children: o != null && o.email ? `${o.email}` : "My Account" }) }),
1891
1891
  /* @__PURE__ */ a.jsxs(Gn, { className: "w-56", children: [
1892
1892
  /* @__PURE__ */ a.jsx(Hn, { children: "My Account" }),
1893
1893
  /* @__PURE__ */ a.jsx(zn, {}),
@@ -1912,7 +1912,7 @@ const fs = () => {
1912
1912
  }), Xn = {
1913
1913
  Header: Yn
1914
1914
  }, ps = Ot(Xn), ms = ps.Provider, gs = (e) => {
1915
- const [t, n] = _e(!1);
1915
+ const [t, n] = Ee(!1);
1916
1916
  se(() => {
1917
1917
  const s = localStorage.getItem("theme"), i = window.matchMedia("(prefers-color-scheme: dark)"), u = s === "dark" || !s && i.matches;
1918
1918
  n(u);
@@ -1927,10 +1927,10 @@ const fs = () => {
1927
1927
  context: t
1928
1928
  }) => {
1929
1929
  const n = fr();
1930
- return ao({
1930
+ return oa({
1931
1931
  queryFn: async () => (await t.initialize({ navigate: n }), !0),
1932
1932
  queryKey: ["zudoku-initialize"]
1933
- }), /* @__PURE__ */ a.jsx(so.Provider, { value: t, children: e });
1933
+ }), /* @__PURE__ */ a.jsx(sa.Provider, { value: t, children: e });
1934
1934
  }, xs = ({
1935
1935
  children: e,
1936
1936
  ...t
@@ -1942,35 +1942,35 @@ const fs = () => {
1942
1942
  ), r = Le(() => {
1943
1943
  var x;
1944
1944
  return {
1945
- ...(t.plugins ?? []).filter(Vo).flatMap(
1945
+ ...(t.plugins ?? []).filter(za).flatMap(
1946
1946
  (b) => b.getMdxComponents ? [b.getMdxComponents()] : []
1947
1947
  ).reduce((b, I) => ({ ...b, ...I }), {}),
1948
1948
  ...Tr,
1949
1949
  ...(x = t.mdx) == null ? void 0 : x.components
1950
1950
  };
1951
- }, [(l = t.mdx) == null ? void 0 : l.components, t.plugins]), { stagger: o } = Gr(Be), [s, i] = _e(!1), u = Le(
1951
+ }, [(l = t.mdx) == null ? void 0 : l.components, t.plugins]), { stagger: o } = Gr(Qe), [s, i] = Ee(!1), u = Le(
1952
1952
  () => s ? { stagger: !0 } : { stagger: o },
1953
1953
  [o, s]
1954
1954
  ), d = pr();
1955
1955
  se(() => {
1956
1956
  s || i(!0);
1957
1957
  }, [s, d.location]);
1958
- const [g] = _e(() => new Xo(t)), p = (f = t.plugins) == null ? void 0 : f.filter(zo).map((v, x) => {
1958
+ const [g] = Ee(() => new Ya(t)), p = (f = t.plugins) == null ? void 0 : f.filter(Ha).map((v, x) => {
1959
1959
  var b;
1960
1960
  return /* @__PURE__ */ a.jsx(qr, { children: (b = v.getHead) == null ? void 0 : b.call(v) }, x);
1961
1961
  });
1962
- return /* @__PURE__ */ a.jsxs(io, { client: Gt, children: [
1963
- /* @__PURE__ */ a.jsx(Ue, { children: p }),
1964
- /* @__PURE__ */ a.jsx(Be.Provider, { value: u, children: /* @__PURE__ */ a.jsx(vs, { context: g, children: /* @__PURE__ */ a.jsx(sr, { components: r, children: /* @__PURE__ */ a.jsx(gs, { children: /* @__PURE__ */ a.jsx(ms, { value: n, children: /* @__PURE__ */ a.jsx(mr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(Fr, { children: e ?? /* @__PURE__ */ a.jsx(St, {}) }) }) }) }) }) }) })
1962
+ return /* @__PURE__ */ a.jsxs(ia, { client: Gt, children: [
1963
+ /* @__PURE__ */ a.jsx(Ge, { children: p }),
1964
+ /* @__PURE__ */ a.jsx(Qe.Provider, { value: u, children: /* @__PURE__ */ a.jsx(vs, { context: g, children: /* @__PURE__ */ a.jsx(sr, { components: r, children: /* @__PURE__ */ a.jsx(gs, { children: /* @__PURE__ */ a.jsx(ms, { value: n, children: /* @__PURE__ */ a.jsx(mr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(Fr, { children: e ?? /* @__PURE__ */ a.jsx(St, {}) }) }) }) }) }) }) })
1965
1965
  ] });
1966
- }, ys = kt(xs), Wn = (e) => /* @__PURE__ */ a.jsx(Qo, { FallbackComponent: Wo, children: /* @__PURE__ */ a.jsx(ys, { ...e }) });
1966
+ }, ys = kt(xs), Wn = (e) => /* @__PURE__ */ a.jsx(Ba, { FallbackComponent: Xa, children: /* @__PURE__ */ a.jsx(ys, { ...e }) });
1967
1967
  Wn.displayName = "DevPortal";
1968
1968
  const ws = ({
1969
1969
  category: e,
1970
1970
  level: t
1971
1971
  }) => {
1972
1972
  var p;
1973
- const n = Lt(), r = ir(e), o = e.collapsible ?? !0, s = e.collapsed ?? !0, i = !!(!o || !s || r), [u, d] = _e(i);
1973
+ const n = Lt(), r = ir(e), o = e.collapsible ?? !0, s = e.collapsed ?? !0, i = !!(!o || !s || r), [u, d] = Ee(i);
1974
1974
  se(() => {
1975
1975
  r && d(!0);
1976
1976
  }, [r]);
@@ -2008,7 +2008,7 @@ const ws = ({
2008
2008
  ),
2009
2009
  asChild: !0,
2010
2010
  disabled: !o,
2011
- children: ((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */ a.jsx(Pe, { to: Ye(n == null ? void 0 : n.id, e.link.id), children: ({ isActive: l }) => /* @__PURE__ */ a.jsxs(
2011
+ children: ((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */ a.jsx(Pe, { to: Xe(n == null ? void 0 : n.id, e.link.id), children: ({ isActive: l }) => /* @__PURE__ */ a.jsxs(
2012
2012
  "div",
2013
2013
  {
2014
2014
  className: M(
@@ -2058,24 +2058,24 @@ const ws = ({
2058
2058
  item: e,
2059
2059
  level: t = 0
2060
2060
  }) => {
2061
- const n = Lt(), { activeAnchor: r } = qe();
2061
+ const n = Lt(), { activeAnchor: r } = He();
2062
2062
  switch (e.type) {
2063
2063
  case "category":
2064
2064
  return /* @__PURE__ */ a.jsx(ws, { category: e, level: t });
2065
2065
  case "doc":
2066
- return /* @__PURE__ */ a.jsxs(
2066
+ return /* @__PURE__ */ a.jsx(
2067
2067
  Pe,
2068
2068
  {
2069
2069
  className: ({ isActive: o }) => ue({ isActive: o, isTopLevel: t === 0 }),
2070
- to: Ye(n == null ? void 0 : n.id, e.id),
2071
- children: [
2072
- e.label,
2073
- e.badge && /* @__PURE__ */ a.jsx(yt, { ...e.badge })
2074
- ]
2070
+ to: Xe(n == null ? void 0 : n.id, e.id),
2071
+ children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2072
+ /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2073
+ /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2074
+ ] }) : e.label
2075
2075
  }
2076
2076
  );
2077
2077
  case "link":
2078
- return e.href.startsWith("#") ? /* @__PURE__ */ a.jsxs(
2078
+ return e.href.startsWith("#") ? /* @__PURE__ */ a.jsx(
2079
2079
  cr,
2080
2080
  {
2081
2081
  to: e.href,
@@ -2087,10 +2087,10 @@ const ws = ({
2087
2087
  isActive: e.href.slice(1) === r
2088
2088
  })
2089
2089
  ),
2090
- children: [
2091
- e.label,
2092
- e.badge && /* @__PURE__ */ a.jsx(yt, { ...e.badge })
2093
- ]
2090
+ children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2091
+ /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2092
+ /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2093
+ ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
2094
2094
  }
2095
2095
  ) : e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
2096
2096
  "a",
@@ -2106,18 +2106,28 @@ const ws = ({
2106
2106
  /* @__PURE__ */ a.jsx("span", { className: "whitespace-normal", children: e.label }),
2107
2107
  /* @__PURE__ */ a.jsxs("span", { className: "whitespace-nowrap", children: [
2108
2108
  " ",
2109
- /* @__PURE__ */ a.jsx(po, { className: "inline ml-1", size: 12 })
2109
+ /* @__PURE__ */ a.jsx(fa, { className: "inline ml-1", size: 12 })
2110
2110
  ] })
2111
2111
  ]
2112
2112
  }
2113
- ) : /* @__PURE__ */ a.jsx(Pe, { className: M(ue({}), "block"), to: e.href, children: e.label });
2113
+ ) : /* @__PURE__ */ a.jsx(
2114
+ Pe,
2115
+ {
2116
+ className: M("flex gap-2.5 justify-between", ue()),
2117
+ to: e.href,
2118
+ children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2119
+ /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2120
+ /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2121
+ ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
2122
+ }
2123
+ );
2114
2124
  }
2115
2125
  }, bs = (e, t = { block: "center" }) => {
2116
2126
  if (!e) return;
2117
2127
  const n = e.getBoundingClientRect();
2118
2128
  n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
2119
2129
  }, Ms = () => {
2120
- const e = De(), { setActiveAnchor: t } = qe();
2130
+ const e = De(), { setActiveAnchor: t } = He();
2121
2131
  se(() => {
2122
2132
  if (!e.hash) return;
2123
2133
  const n = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
@@ -2132,7 +2142,7 @@ const ws = ({
2132
2142
  }
2133
2143
  }, [e.hash, t]);
2134
2144
  }, Cs = () => {
2135
- const e = De(), t = He(e.pathname);
2145
+ const e = De(), t = ze(e.pathname);
2136
2146
  se(() => {
2137
2147
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
2138
2148
  }, [e.pathname]);
@@ -2150,7 +2160,7 @@ const ws = ({
2150
2160
  }
2151
2161
  );
2152
2162
  }), Rs = () => {
2153
- const e = He(null), t = co();
2163
+ const e = ze(null), t = ca();
2154
2164
  return /* @__PURE__ */ a.jsxs(
2155
2165
  Ps,
2156
2166
  {
@@ -2164,13 +2174,13 @@ const ws = ({
2164
2174
  }
2165
2175
  );
2166
2176
  }, Ss = ({ children: e }) => {
2167
- const t = De(), { setActiveAnchor: n } = qe(), { meta: r } = Ve();
2177
+ const t = De(), { setActiveAnchor: n } = He(), { meta: r } = Ye();
2168
2178
  Ms(), Cs();
2169
- const o = He(t.pathname);
2179
+ const o = ze(t.pathname);
2170
2180
  return se(() => {
2171
2181
  t.pathname !== o.current && n(""), o.current = t.pathname;
2172
2182
  }, [t.pathname, n]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2173
- /* @__PURE__ */ a.jsxs(Ue, { titleTemplate: r == null ? void 0 : r.title, children: [
2183
+ /* @__PURE__ */ a.jsxs(Ge, { titleTemplate: r == null ? void 0 : r.title, children: [
2174
2184
  (r == null ? void 0 : r.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: r.description }),
2175
2185
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: r.favicon })
2176
2186
  ] }),
@@ -2178,7 +2188,7 @@ const ws = ({
2178
2188
  /* @__PURE__ */ a.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ a.jsxs(
2179
2189
  zr,
2180
2190
  {
2181
- fallback: /* @__PURE__ */ a.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ a.jsx(ho, {}) }),
2191
+ fallback: /* @__PURE__ */ a.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ a.jsx(da, {}) }),
2182
2192
  children: [
2183
2193
  /* @__PURE__ */ a.jsx(Rs, {}),
2184
2194
  /* @__PURE__ */ a.jsxs(
@@ -2201,7 +2211,7 @@ const ws = ({
2201
2211
  }
2202
2212
  ) })
2203
2213
  ] });
2204
- }, Qs = ur, Us = Kr, Gs = Wn, qs = Ss, Hs = Re, zs = gr, Vs = vo, Ys = Oo, Xs = ko, Ws = $e, Js = Ue;
2214
+ }, Qs = ur, Us = Kr, Gs = Wn, qs = Ss, Hs = Re, zs = gr, Vs = ga, Ys = Aa, Xs = Oa, Ws = Be, Js = Ge;
2205
2215
  export {
2206
2216
  Ys as Bootstrap,
2207
2217
  Xs as BootstrapStatic,