zudoku 0.3.0-dev.57 → 0.3.0-dev.58

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 (25) hide show
  1. package/dist/lib/components/Header.js +3 -2
  2. package/dist/lib/components/Header.js.map +1 -1
  3. package/lib/{AnchorLink-GNsUeGSX.js → AnchorLink-B4IgsA83.js} +2 -2
  4. package/lib/{AnchorLink-GNsUeGSX.js.map → AnchorLink-B4IgsA83.js.map} +1 -1
  5. package/lib/{Button-DpHMZvVs.js → Button-CnuhSW99.js} +2 -2
  6. package/lib/{Button-DpHMZvVs.js.map → Button-CnuhSW99.js.map} +1 -1
  7. package/lib/{Markdown-DtLFdxD1.js → Markdown-DQrAhTkw.js} +3 -3
  8. package/lib/{Markdown-DtLFdxD1.js.map → Markdown-DQrAhTkw.js.map} +1 -1
  9. package/lib/{MdxPage-CbwYRKf5.js → MdxPage-DMP-pM_g.js} +3 -3
  10. package/lib/{MdxPage-CbwYRKf5.js.map → MdxPage-DMP-pM_g.js.map} +1 -1
  11. package/lib/{OperationList-DypxLtSC.js → OperationList-Dw2SadHL.js} +5 -5
  12. package/lib/{OperationList-DypxLtSC.js.map → OperationList-Dw2SadHL.js.map} +1 -1
  13. package/lib/{Spinner-Bhbs5aPI.js → Spinner-BuBOzK_8.js} +2 -2
  14. package/lib/{Spinner-Bhbs5aPI.js.map → Spinner-BuBOzK_8.js.map} +1 -1
  15. package/lib/{hook-Biq3zYel.js → hook-CrQMC_eg.js} +2 -2
  16. package/lib/{hook-Biq3zYel.js.map → hook-CrQMC_eg.js.map} +1 -1
  17. package/lib/{index-Bg82-bqR.js → index-tOwoT-uJ.js} +3 -3
  18. package/lib/{index-Bg82-bqR.js.map → index-tOwoT-uJ.js.map} +1 -1
  19. package/lib/zudoku.components.js +97 -84
  20. package/lib/zudoku.components.js.map +1 -1
  21. package/lib/zudoku.plugin-api-keys.js +6 -6
  22. package/lib/zudoku.plugin-markdown.js +1 -1
  23. package/lib/zudoku.plugin-openapi.js +2 -2
  24. package/package.json +1 -1
  25. package/src/lib/components/Header.tsx +17 -6
@@ -13,16 +13,16 @@ var L = (t, e, r, a) => ({
13
13
  return l(t, e, a);
14
14
  }
15
15
  });
16
- import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as X, e as F, f as tt, C as rt, L as at } from "./Markdown-DtLFdxD1.js";
17
- import { E as Ee, u as st, R as nt } from "./hook-Biq3zYel.js";
18
- import { j as n, d as it, u as T, O as ot } from "./jsx-runtime-CJZJivg2.js";
19
- import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-GNsUeGSX.js";
16
+ import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, b as R, M as Ge, T as Ze, V as et, e as X, f as tt, C as rt, L as at } from "./Markdown-DQrAhTkw.js";
17
+ import { E as Ee, u as st, R as nt } from "./hook-CrQMC_eg.js";
18
+ import { j as n, d as it, u as F, O as ot } from "./jsx-runtime-CJZJivg2.js";
19
+ import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-B4IgsA83.js";
20
20
  import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as ue, isValidElement as ft, memo as Ce, useMemo as V, useEffect as I, Fragment as pt, useRef as K, useState as mt, forwardRef as gt, Suspense as vt } from "react";
21
21
  import { g as W } from "./_commonjsHelpers-BVfed4GL.js";
22
22
  import { r as yt } from "./router-CBw2vqJE.js";
23
23
  import { S as Oe, h as Ae, Q as bt, n as m, m as he, a as de, b as P, e as xt, c as wt, d as Et, f as Pt, o as fe, r as pe, g as jt, i as me, p as ge, s as St, u as G, j as Nt, D as Ct, k as Ot, l as At } from "./DevPortalProvider-Do9oJqme.js";
24
24
  import { M as Rt } from "./index-gsAuUwQh.js";
25
- import { R as Re, T as ke, C as Me, S as kt } from "./Spinner-Bhbs5aPI.js";
25
+ import { R as Re, T as ke, C as Me, S as kt } from "./Spinner-BuBOzK_8.js";
26
26
  import { c as Z, i as ve, j as De, a as Mt } from "./util-_jwUlTBU.js";
27
27
  /**
28
28
  * @license lucide-react v0.378.0 - ISC
@@ -134,20 +134,20 @@ function zt({
134
134
  basename: t.basename || "/"
135
135
  }, o = /* @__PURE__ */ new Map(), i = "";
136
136
  if (r !== !1) {
137
- let u = {
137
+ let c = {
138
138
  loaderData: t.loaderData,
139
139
  actionData: t.actionData,
140
140
  errors: Kt(t.errors)
141
141
  };
142
- i = `window.__staticRouterHydrationData = JSON.parse(${Wt(JSON.stringify(JSON.stringify(u)))});`;
142
+ i = `window.__staticRouterHydrationData = JSON.parse(${Wt(JSON.stringify(JSON.stringify(c)))});`;
143
143
  }
144
144
  let {
145
- state: c
145
+ state: u
146
146
  } = s.router;
147
147
  return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(j.UNSAFE_DataRouterContext.Provider, {
148
148
  value: s
149
149
  }, /* @__PURE__ */ x.createElement(j.UNSAFE_DataRouterStateContext.Provider, {
150
- value: c
150
+ value: u
151
151
  }, /* @__PURE__ */ x.createElement(j.UNSAFE_FetchersContext.Provider, {
152
152
  value: o
153
153
  }, /* @__PURE__ */ x.createElement(j.UNSAFE_ViewTransitionContext.Provider, {
@@ -156,8 +156,8 @@ function zt({
156
156
  }
157
157
  }, /* @__PURE__ */ x.createElement(j.Router, {
158
158
  basename: s.basename,
159
- location: c.location,
160
- navigationType: c.historyAction,
159
+ location: u.location,
160
+ navigationType: u.historyAction,
161
161
  navigator: s.navigator,
162
162
  static: s.static,
163
163
  future: {
@@ -166,7 +166,7 @@ function zt({
166
166
  }, /* @__PURE__ */ x.createElement(Ut, {
167
167
  routes: e.routes,
168
168
  future: e.future,
169
- state: c
169
+ state: u
170
170
  })))))), i ? /* @__PURE__ */ x.createElement("script", {
171
171
  suppressHydrationWarning: !0,
172
172
  nonce: a,
@@ -228,25 +228,25 @@ function $t(t, e) {
228
228
  });
229
229
  }
230
230
  function Vt(t, e, r = {}) {
231
- let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, ee.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((c) => {
232
- let u = a[c.route.id] || c.route;
231
+ let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, ee.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((u) => {
232
+ let c = a[u.route.id] || u.route;
233
233
  return {
234
- ...c,
235
- route: u
234
+ ...u,
235
+ route: c
236
236
  };
237
- }), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
237
+ }), i = (u) => `You cannot use router.${u}() on the server because it is a stateless environment`;
238
238
  return {
239
239
  get basename() {
240
240
  return e.basename;
241
241
  },
242
242
  get future() {
243
- var c, u;
243
+ var u, c;
244
244
  return {
245
245
  v7_fetcherPersist: !1,
246
246
  v7_normalizeFormMethod: !1,
247
- v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
247
+ v7_partialHydration: ((u = r.future) == null ? void 0 : u.v7_partialHydration) === !0,
248
248
  v7_prependBasename: !1,
249
- v7_relativeSplatPath: ((u = r.future) == null ? void 0 : u.v7_relativeSplatPath) === !0,
249
+ v7_relativeSplatPath: ((c = r.future) == null ? void 0 : c.v7_relativeSplatPath) === !0,
250
250
  unstable_skipActionErrorRevalidation: !1
251
251
  };
252
252
  },
@@ -506,7 +506,7 @@ function ar(t) {
506
506
  onFetch: (e, r) => {
507
507
  const a = async () => {
508
508
  var te, re, ae, se, ne;
509
- const s = e.options, o = (ae = (re = (te = e.fetchOptions) == null ? void 0 : te.meta) == null ? void 0 : re.fetchMore) == null ? void 0 : ae.direction, i = ((se = e.state.data) == null ? void 0 : se.pages) || [], c = ((ne = e.state.data) == null ? void 0 : ne.pageParams) || [], u = { pages: [], pageParams: [] };
509
+ const s = e.options, o = (ae = (re = (te = e.fetchOptions) == null ? void 0 : te.meta) == null ? void 0 : re.fetchMore) == null ? void 0 : ae.direction, i = ((se = e.state.data) == null ? void 0 : se.pages) || [], u = ((ne = e.state.data) == null ? void 0 : ne.pageParams) || [], c = { pages: [], pageParams: [] };
510
510
  let g = !1;
511
511
  const d = (b) => {
512
512
  Object.defineProperty(b, "signal", {
@@ -535,25 +535,25 @@ function ar(t) {
535
535
  pageParams: oe(b.pageParams, S, ie)
536
536
  };
537
537
  };
538
- let R;
538
+ let k;
539
539
  if (o && i.length) {
540
540
  const b = o === "backward", S = b ? sr : ye, A = {
541
541
  pages: i,
542
- pageParams: c
542
+ pageParams: u
543
543
  }, H = S(s, A);
544
- R = await $(A, H, b);
544
+ k = await $(A, H, b);
545
545
  } else {
546
- R = await $(
547
- u,
548
- c[0] ?? s.initialPageParam
546
+ k = await $(
547
+ c,
548
+ u[0] ?? s.initialPageParam
549
549
  );
550
550
  const b = t ?? i.length;
551
551
  for (let S = 1; S < b; S++) {
552
- const A = ye(s, R);
553
- R = await $(R, A);
552
+ const A = ye(s, k);
553
+ k = await $(k, A);
554
554
  }
555
555
  }
556
- return R;
556
+ return k;
557
557
  };
558
558
  e.options.persister ? e.fetchFn = () => {
559
559
  var s, o;
@@ -590,28 +590,28 @@ function sr(t, { pages: e, pageParams: r }) {
590
590
  r
591
591
  );
592
592
  }
593
- var h, N, C, k, M, O, D, _, we, nr = (we = class {
593
+ var h, N, C, M, D, O, _, T, we, nr = (we = class {
594
594
  constructor(t = {}) {
595
595
  y(this, h);
596
596
  y(this, N);
597
597
  y(this, C);
598
- y(this, k);
599
598
  y(this, M);
600
- y(this, O);
601
599
  y(this, D);
600
+ y(this, O);
602
601
  y(this, _);
603
- f(this, h, t.queryCache || new tr()), f(this, N, t.mutationCache || new rr()), f(this, C, t.defaultOptions || {}), f(this, k, /* @__PURE__ */ new Map()), f(this, M, /* @__PURE__ */ new Map()), f(this, O, 0);
602
+ y(this, T);
603
+ f(this, h, t.queryCache || new tr()), f(this, N, t.mutationCache || new rr()), f(this, C, t.defaultOptions || {}), f(this, M, /* @__PURE__ */ new Map()), f(this, D, /* @__PURE__ */ new Map()), f(this, O, 0);
604
604
  }
605
605
  mount() {
606
- L(this, O)._++, l(this, O) === 1 && (f(this, D, Pt.subscribe(async (t) => {
606
+ L(this, O)._++, l(this, O) === 1 && (f(this, _, Pt.subscribe(async (t) => {
607
607
  t && (await this.resumePausedMutations(), l(this, h).onFocus());
608
- })), f(this, _, fe.subscribe(async (t) => {
608
+ })), f(this, T, fe.subscribe(async (t) => {
609
609
  t && (await this.resumePausedMutations(), l(this, h).onOnline());
610
610
  })));
611
611
  }
612
612
  unmount() {
613
613
  var t, e;
614
- L(this, O)._--, l(this, O) === 0 && ((t = l(this, D)) == null || t.call(this), f(this, D, void 0), (e = l(this, _)) == null || e.call(this), f(this, _, void 0));
614
+ L(this, O)._--, l(this, O) === 0 && ((t = l(this, _)) == null || t.call(this), f(this, _, void 0), (e = l(this, T)) == null || e.call(this), f(this, T, void 0));
615
615
  }
616
616
  isFetching(t) {
617
617
  return l(this, h).findAll({ ...t, fetchStatus: "fetching" }).length;
@@ -740,26 +740,26 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
740
740
  f(this, C, t);
741
741
  }
742
742
  setQueryDefaults(t, e) {
743
- l(this, k).set(me(t), {
743
+ l(this, M).set(me(t), {
744
744
  queryKey: t,
745
745
  defaultOptions: e
746
746
  });
747
747
  }
748
748
  getQueryDefaults(t) {
749
- const e = [...l(this, k).values()];
749
+ const e = [...l(this, M).values()];
750
750
  let r = {};
751
751
  return e.forEach((a) => {
752
752
  ge(t, a.queryKey) && (r = { ...r, ...a.defaultOptions });
753
753
  }), r;
754
754
  }
755
755
  setMutationDefaults(t, e) {
756
- l(this, M).set(me(t), {
756
+ l(this, D).set(me(t), {
757
757
  mutationKey: t,
758
758
  defaultOptions: e
759
759
  });
760
760
  }
761
761
  getMutationDefaults(t) {
762
- const e = [...l(this, M).values()];
762
+ const e = [...l(this, D).values()];
763
763
  let r = {};
764
764
  return e.forEach((a) => {
765
765
  ge(t, a.mutationKey) && (r = { ...r, ...a.defaultOptions });
@@ -790,7 +790,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
790
790
  clear() {
791
791
  l(this, h).clear(), l(this, N).clear();
792
792
  }
793
- }, h = new WeakMap(), N = new WeakMap(), C = new WeakMap(), k = new WeakMap(), M = new WeakMap(), O = new WeakMap(), D = new WeakMap(), _ = new WeakMap(), we);
793
+ }, h = new WeakMap(), N = new WeakMap(), C = new WeakMap(), M = new WeakMap(), D = new WeakMap(), O = new WeakMap(), _ = new WeakMap(), T = new WeakMap(), we);
794
794
  const ir = Ne(null), Y = {
795
795
  didCatch: !1,
796
796
  error: null
@@ -847,18 +847,18 @@ class or extends dt {
847
847
  didCatch: o,
848
848
  error: i
849
849
  } = this.state;
850
- let c = e;
850
+ let u = e;
851
851
  if (o) {
852
- const u = {
852
+ const c = {
853
853
  error: i,
854
854
  resetErrorBoundary: this.resetErrorBoundary
855
855
  };
856
856
  if (typeof r == "function")
857
- c = r(u);
857
+ u = r(c);
858
858
  else if (a)
859
- c = ue(a, u);
859
+ u = ue(a, c);
860
860
  else if (s === null || ft(s))
861
- c = s;
861
+ u = s;
862
862
  else
863
863
  throw i;
864
864
  }
@@ -868,7 +868,7 @@ class or extends dt {
868
868
  error: i,
869
869
  resetErrorBoundary: this.resetErrorBoundary
870
870
  }
871
- }, c);
871
+ }, u);
872
872
  }
873
873
  }
874
874
  function lr() {
@@ -932,20 +932,33 @@ const mr = () => {
932
932
  }
933
933
  ) }, e.label)) }) });
934
934
  }, qe = Ce(function() {
935
- const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = G(), g = e ? _t : Tt;
935
+ const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: u } = st(), { page: c } = G(), g = e ? _t : Tt;
936
936
  return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
937
937
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
938
938
  /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
939
- (u == null ? void 0 : u.logo) && /* @__PURE__ */ n.jsx(
940
- "img",
941
- {
942
- src: e ? u.logo.src.dark : u.logo.src.light,
943
- alt: u.logo.alt ?? u.pageTitle,
944
- style: { width: u.logo.width },
945
- className: "h-10"
946
- }
947
- ),
948
- /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: u == null ? void 0 : u.pageTitle })
939
+ (c == null ? void 0 : c.logo) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
940
+ /* @__PURE__ */ n.jsx(
941
+ "img",
942
+ {
943
+ src: c.logo.src.light,
944
+ alt: c.logo.alt ?? c.pageTitle,
945
+ style: { width: c.logo.width },
946
+ className: R("h-10", e && "hidden"),
947
+ loading: "lazy"
948
+ }
949
+ ),
950
+ /* @__PURE__ */ n.jsx(
951
+ "img",
952
+ {
953
+ src: c.logo.src.dark,
954
+ alt: c.logo.alt ?? c.pageTitle,
955
+ style: { width: c.logo.width },
956
+ className: R("h-10", !e && "hidden"),
957
+ loading: "lazy"
958
+ }
959
+ )
960
+ ] }),
961
+ /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: c == null ? void 0 : c.pageTitle })
949
962
  ] }),
950
963
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
951
964
  /* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose" }),
@@ -955,7 +968,7 @@ const mr = () => {
955
968
  {
956
969
  type: "button",
957
970
  className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
958
- onClick: c,
971
+ onClick: u,
959
972
  children: [
960
973
  "Logout ",
961
974
  s != null && s.email ? `(${s.email})` : null
@@ -991,23 +1004,23 @@ const mr = () => {
991
1004
  children: t,
992
1005
  ...e
993
1006
  }) => {
994
- var i, c;
1007
+ var i, u;
995
1008
  const r = V(
996
1009
  () => ({ ...He, ...e.overrides }),
997
1010
  [e.overrides]
998
1011
  ), a = V(
999
1012
  () => {
1000
- var u;
1001
- return { ...Ge, ...(u = e.mdx) == null ? void 0 : u.components };
1013
+ var c;
1014
+ return { ...Ge, ...(c = e.mdx) == null ? void 0 : c.components };
1002
1015
  },
1003
1016
  [(i = e.mdx) == null ? void 0 : i.components]
1004
1017
  ), s = V(() => new fr(e), [e]);
1005
1018
  I(() => {
1006
1019
  s.initialize();
1007
1020
  }, [s]);
1008
- const o = (c = e.plugins) == null ? void 0 : c.filter(hr).map((u, g) => {
1021
+ const o = (u = e.plugins) == null ? void 0 : u.filter(hr).map((c, g) => {
1009
1022
  var d;
1010
- return /* @__PURE__ */ n.jsx(pt, { children: (d = u.getHead) == null ? void 0 : d.call(u) }, g);
1023
+ return /* @__PURE__ */ n.jsx(pt, { children: (d = c.getHead) == null ? void 0 : d.call(c) }, g);
1011
1024
  });
1012
1025
  return /* @__PURE__ */ n.jsxs(Nt, { client: Ie, children: [
1013
1026
  /* @__PURE__ */ n.jsx(je, { children: o }),
@@ -1016,7 +1029,7 @@ const mr = () => {
1016
1029
  }, br = Ce(yr), Le = (t) => /* @__PURE__ */ n.jsx(or, { FallbackComponent: pr, children: /* @__PURE__ */ n.jsx(br, { ...t }) });
1017
1030
  Le.displayName = "DevPortal";
1018
1031
  const xr = () => {
1019
- const t = T(), { setActiveAnchor: e } = X();
1032
+ const t = F(), { setActiveAnchor: e } = X();
1020
1033
  I(() => {
1021
1034
  if (!t.hash) return;
1022
1035
  const r = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(r));
@@ -1027,13 +1040,13 @@ const xr = () => {
1027
1040
  return;
1028
1041
  }
1029
1042
  const s = new MutationObserver((o, i) => {
1030
- const c = document.getElementById(decodeURIComponent(r));
1031
- c && (c.scrollIntoView(), requestIdleCallback(() => e(r)), i.disconnect());
1043
+ const u = document.getElementById(decodeURIComponent(r));
1044
+ u && (u.scrollIntoView(), requestIdleCallback(() => e(r)), i.disconnect());
1032
1045
  });
1033
1046
  return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
1034
1047
  }, [t.hash, e]);
1035
1048
  }, wr = () => {
1036
- const t = T(), e = K(t.pathname);
1049
+ const t = F(), e = K(t.pathname);
1037
1050
  I(() => {
1038
1051
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
1039
1052
  }, [t.pathname]);
@@ -1042,7 +1055,7 @@ const xr = () => {
1042
1055
  defaultOpen: e,
1043
1056
  path: r
1044
1057
  }) => {
1045
- const [a, s] = mt(e), o = T(), i = K(o.pathname);
1058
+ const [a, s] = mt(e), o = F(), i = K(o.pathname);
1046
1059
  return I(() => {
1047
1060
  !a && i.current !== o.pathname && s(Z(t, o.pathname, r)), i.current = o.pathname;
1048
1061
  }, [a, t, r, o.pathname]), [a, s];
@@ -1067,13 +1080,13 @@ const xr = () => {
1067
1080
  currentTopNavItem: a,
1068
1081
  basePath: s = ""
1069
1082
  }) => {
1070
- const o = ve(e) ? De(s, e.path) : "", i = T(), [c, u] = Be({
1083
+ const o = ve(e) ? De(s, e.path) : "", i = F(), [u, c] = Be({
1071
1084
  item: e,
1072
1085
  path: o,
1073
1086
  defaultOpen: () => Z(e, i.pathname, o)
1074
1087
  });
1075
1088
  if (Mt(e)) {
1076
- const d = F(
1089
+ const d = R(
1077
1090
  "flex items-center gap-2",
1078
1091
  z({
1079
1092
  isActive: e.href === i.pathname
@@ -1109,14 +1122,14 @@ const xr = () => {
1109
1122
  return /* @__PURE__ */ n.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ n.jsxs(
1110
1123
  Re,
1111
1124
  {
1112
- open: c,
1113
- onOpenChange: () => u((d) => !d),
1125
+ open: u,
1126
+ onOpenChange: () => c((d) => !d),
1114
1127
  className: "flex flex-col",
1115
1128
  children: [
1116
1129
  /* @__PURE__ */ n.jsx(
1117
1130
  ke,
1118
1131
  {
1119
- className: F(
1132
+ className: R(
1120
1133
  "group text-start",
1121
1134
  z({ isActive: !1 })
1122
1135
  ),
@@ -1158,7 +1171,7 @@ const xr = () => {
1158
1171
  }, Pr = ({
1159
1172
  category: t
1160
1173
  }) => {
1161
- const { activeAnchor: e } = X(), r = Ot(), a = T(), s = t.collapsible ?? !0, [o, i] = Be({
1174
+ const { activeAnchor: e } = X(), r = Ot(), a = F(), s = t.collapsible ?? !0, [o, i] = Be({
1162
1175
  item: t,
1163
1176
  path: (r == null ? void 0 : r.path) ?? "",
1164
1177
  defaultOpen: () => !s || t.expanded || Z(t, a.pathname, (r == null ? void 0 : r.path) ?? "")
@@ -1167,12 +1180,12 @@ const xr = () => {
1167
1180
  Re,
1168
1181
  {
1169
1182
  open: o,
1170
- onOpenChange: () => i((c) => !c),
1183
+ onOpenChange: () => i((u) => !u),
1171
1184
  children: [
1172
1185
  t.label.length > 0 ? /* @__PURE__ */ n.jsx(ke, { asChild: s, disabled: !s, children: /* @__PURE__ */ n.jsxs(
1173
1186
  "h5",
1174
1187
  {
1175
- className: F(
1188
+ className: R(
1176
1189
  "flex group items-center justify-between cursor-pointer font-semibold text-foreground/90 px-[--padding-nav-item] py-1.5 rounded-lg transition-colors duration-300 -mx-[--padding-nav-item]",
1177
1190
  s ? "hover:bg-accent" : "cursor-auto"
1178
1191
  ),
@@ -1188,16 +1201,16 @@ const xr = () => {
1188
1201
  ]
1189
1202
  }
1190
1203
  ) }) : "Endpoints",
1191
- /* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((c, u) => /* @__PURE__ */ n.jsx(
1204
+ /* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((u, c) => /* @__PURE__ */ n.jsx(
1192
1205
  ze,
1193
1206
  {
1194
1207
  category: t,
1195
- item: c,
1208
+ item: u,
1196
1209
  activeAnchor: e,
1197
1210
  currentTopNavItem: r,
1198
1211
  basePath: De(r == null ? void 0 : r.path, t.path)
1199
1212
  },
1200
- u
1213
+ c
1201
1214
  )) }) })
1202
1215
  ]
1203
1216
  },
@@ -1208,7 +1221,7 @@ const xr = () => {
1208
1221
  "nav",
1209
1222
  {
1210
1223
  "data-navigation": String(a),
1211
- className: F(
1224
+ className: R(
1212
1225
  "peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 p-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 pt-[--padding-content-top] w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
1213
1226
  r
1214
1227
  ),
@@ -1227,7 +1240,7 @@ const xr = () => {
1227
1240
  }
1228
1241
  );
1229
1242
  }, Nr = ({ children: t }) => {
1230
- const e = T(), { setActiveAnchor: r } = X(), { meta: a } = G();
1243
+ const e = F(), { setActiveAnchor: r } = X(), { meta: a } = G();
1231
1244
  xr(), wr();
1232
1245
  const s = K(e.pathname);
1233
1246
  return I(() => {
@@ -1247,7 +1260,7 @@ const xr = () => {
1247
1260
  /* @__PURE__ */ n.jsx(
1248
1261
  "main",
1249
1262
  {
1250
- className: F(
1263
+ className: R(
1251
1264
  "dark:border-white/10 translate-x-0 h-full",
1252
1265
  "lg:overflow-visible",
1253
1266
  "lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",