zudoku 0.4.1 → 0.4.2-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/lib/components/Header.js +4 -3
  2. package/dist/lib/components/Header.js.map +1 -1
  3. package/dist/lib/components/SyntaxHighlight.js +1 -1
  4. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  5. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +9 -3
  6. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  7. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -1
  8. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  9. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  10. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  11. package/dist/lib/plugins/openapi/Sidecar.js +8 -2
  12. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  13. package/dist/lib/plugins/openapi/playground/Headers.js +6 -16
  14. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  15. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  16. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  17. package/dist/lib/plugins/openapi/playground/Playground.js +27 -28
  18. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  19. package/dist/lib/plugins/openapi/playground/ResponseTab.js +1 -1
  20. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +1 -1
  21. package/dist/lib/plugins/openapi/schema/SchemaView.js +3 -5
  22. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  23. package/dist/lib/ui/Callout.js +1 -1
  24. package/dist/lib/ui/Callout.js.map +1 -1
  25. package/lib/{AuthenticationPlugin-owbEUimP.js → AuthenticationPlugin-DYnkydqa.js} +3 -3
  26. package/lib/{AuthenticationPlugin-owbEUimP.js.map → AuthenticationPlugin-DYnkydqa.js.map} +1 -1
  27. package/lib/{CategoryHeading-DnPprxtD.js → CategoryHeading-D7_Jy0Lx.js} +2 -2
  28. package/lib/{CategoryHeading-DnPprxtD.js.map → CategoryHeading-D7_Jy0Lx.js.map} +1 -1
  29. package/lib/{Combination-DruV0zX_.js → Combination-Ce1nWgn5.js} +3 -3
  30. package/lib/{Combination-DruV0zX_.js.map → Combination-Ce1nWgn5.js.map} +1 -1
  31. package/lib/{ErrorPage-PUg985n_.js → ErrorPage-uwQIn-3A.js} +4 -4
  32. package/lib/{ErrorPage-PUg985n_.js.map → ErrorPage-uwQIn-3A.js.map} +1 -1
  33. package/lib/{Input-CBfi9Yjc.js → Input-CBiLCRuK.js} +6 -7
  34. package/lib/{Input-CBfi9Yjc.js.map → Input-CBiLCRuK.js.map} +1 -1
  35. package/lib/{Markdown-Chb9VIBv.js → Markdown-h11bKkQ9.js} +5 -5
  36. package/lib/Markdown-h11bKkQ9.js.map +1 -0
  37. package/lib/{MdxPage-CIBHMwTd.js → MdxPage-AzVbIhda.js} +5 -5
  38. package/lib/{MdxPage-CIBHMwTd.js.map → MdxPage-AzVbIhda.js.map} +1 -1
  39. package/lib/{OperationList-CZiSz5JH.js → OperationList-DajrjZzx.js} +84 -85
  40. package/lib/OperationList-DajrjZzx.js.map +1 -0
  41. package/lib/{Route-Cle-r-bq.js → Route-D7sTrFzF.js} +3 -3
  42. package/lib/{Route-Cle-r-bq.js.map → Route-D7sTrFzF.js.map} +1 -1
  43. package/lib/{SidebarBadge-Ba0PhibA.js → SidebarBadge-djIXD1Pv.js} +3 -3
  44. package/lib/{SidebarBadge-Ba0PhibA.js.map → SidebarBadge-djIXD1Pv.js.map} +1 -1
  45. package/lib/{SlotletProvider-Dq80og6-.js → SlotletProvider-WwEUzQQ3.js} +4 -4
  46. package/lib/{SlotletProvider-Dq80og6-.js.map → SlotletProvider-WwEUzQQ3.js.map} +1 -1
  47. package/lib/{Spinner-CvXZ7QK4.js → Spinner-D4ifRVWf.js} +2 -2
  48. package/lib/{Spinner-CvXZ7QK4.js.map → Spinner-D4ifRVWf.js.map} +1 -1
  49. package/lib/{ZudokuContext-BQ45UjcB.js → ZudokuContext-BHNQL3XO.js} +2 -2
  50. package/lib/{ZudokuContext-BQ45UjcB.js.map → ZudokuContext-BHNQL3XO.js.map} +1 -1
  51. package/lib/{index-DCJ9wEIV.js → index-CZAFD5xN.js} +3 -3
  52. package/lib/{index-DCJ9wEIV.js.map → index-CZAFD5xN.js.map} +1 -1
  53. package/lib/{index-Yjb2PyPF.js → index-ChhUJhLT.js} +4 -4
  54. package/lib/{index-Yjb2PyPF.js.map → index-ChhUJhLT.js.map} +1 -1
  55. package/lib/{index-Br1MQPxy.js → index-D2SS6ne_.js} +1111 -1113
  56. package/lib/index-D2SS6ne_.js.map +1 -0
  57. package/lib/{utils-pDHePxa0.js → utils-BPHLKjns.js} +3 -3
  58. package/lib/{utils-pDHePxa0.js.map → utils-BPHLKjns.js.map} +1 -1
  59. package/lib/zudoku.auth-clerk.js +1 -1
  60. package/lib/zudoku.auth-openid.js +5 -5
  61. package/lib/zudoku.components.js +112 -111
  62. package/lib/zudoku.components.js.map +1 -1
  63. package/lib/zudoku.plugin-api-keys.js +58 -45
  64. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  65. package/lib/zudoku.plugin-custom-page.js +1 -1
  66. package/lib/zudoku.plugin-markdown.js +1 -1
  67. package/lib/zudoku.plugin-openapi.js +6 -6
  68. package/package.json +1 -1
  69. package/src/app/main.css +3 -1
  70. package/src/lib/components/Header.tsx +4 -4
  71. package/src/lib/components/SyntaxHighlight.tsx +1 -1
  72. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +25 -5
  73. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +1 -1
  74. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
  75. package/src/lib/plugins/openapi/Sidecar.tsx +18 -13
  76. package/src/lib/plugins/openapi/playground/Headers.tsx +53 -68
  77. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -3
  78. package/src/lib/plugins/openapi/playground/Playground.tsx +43 -34
  79. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +1 -1
  80. package/src/lib/plugins/openapi/schema/SchemaView.tsx +3 -10
  81. package/src/lib/ui/Callout.tsx +1 -1
  82. package/dist/lib/util/fetchTimeout.d.ts +0 -1
  83. package/dist/lib/util/fetchTimeout.js +0 -14
  84. package/dist/lib/util/fetchTimeout.js.map +0 -1
  85. package/lib/Markdown-Chb9VIBv.js.map +0 -1
  86. package/lib/OperationList-CZiSz5JH.js.map +0 -1
  87. package/lib/index-Br1MQPxy.js.map +0 -1
  88. package/src/lib/util/fetchTimeout.tsx +0 -21
@@ -13,21 +13,21 @@ var Ce = (e, t, n, r) => ({
13
13
  return f(e, t, r);
14
14
  }
15
15
  });
16
- import { H as jt, a as Ge, M as lr, u as dr, A as hr, b as fr } from "./utils-pDHePxa0.js";
17
- import { d as pr, a as mr, R as gr, N as je, u as Ne, L as He, b as vr, O as Rt, c as xr } from "./index-Yjb2PyPF.js";
18
- import { E as Et, S as se, a as yr, R as wr } from "./SlotletProvider-Dq80og6-.js";
16
+ import { H as jt, a as qe, M as lr, u as dr, A as hr, b as fr } from "./utils-BPHLKjns.js";
17
+ import { d as pr, a as mr, R as gr, N as je, L as Ge, u as vr, O as Rt, b as xr, c as He } from "./index-ChhUJhLT.js";
18
+ import { E as Et, S as se, a as yr, R as wr } from "./SlotletProvider-WwEUzQQ3.js";
19
19
  import { j as a } from "./jsx-runtime-B6kdoens.js";
20
- import { M as br, c as Mr, a as _t, b as Nt, A as Cr, u as ge, h as Sr, d as y, e as Pr, F as jr, D as Rr, C as Er, P as ce, f as Ue, g as _r, i as Dt, R as Nr, S as Dr, j as Ir, k as kr, l as It, m as Ar, n as Re, o as kt, p as ft, B as Be } from "./Combination-DruV0zX_.js";
21
- import { c as ue, a as b, C as Or, b as Tr, u as Fr, T as Lr, M as Kr, V as $r, d as ze, e as Br, f as Qr } from "./Markdown-Chb9VIBv.js";
20
+ import { M as br, c as Mr, a as _t, b as Nt, A as Cr, u as ge, h as Sr, d as y, e as Pr, F as jr, D as Rr, C as Er, P as ce, f as Ue, g as _r, i as Dt, R as Nr, S as Dr, j as Ir, k as kr, l as It, m as Ar, n as Re, o as kt, p as ft, B as $e } from "./Combination-Ce1nWgn5.js";
21
+ import { c as ue, a as b, C as Or, b as Tr, u as Fr, T as Lr, M as Kr, V as $r, d as ze, e as Br, f as Qr } from "./Markdown-h11bKkQ9.js";
22
22
  import * as c from "react";
23
- import qr, { StrictMode as At, createContext as Ot, Component as Gr, createElement as pt, isValidElement as Hr, useState as ie, useCallback as Tt, useEffect as z, Suspense as Ft, memo as Lt, useMemo as Le, useContext as Ur, Fragment as zr, useRef as Ve, forwardRef as Vr } from "react";
23
+ import qr, { StrictMode as At, createContext as Ot, Component as Gr, createElement as pt, isValidElement as Hr, useState as ie, useCallback as Tt, useEffect as z, Suspense as Ft, memo as Lt, useMemo as Fe, useContext as Ur, Fragment as zr, useRef as Ve, forwardRef as Vr } from "react";
24
24
  import { g as Ye } from "./_commonjsHelpers-BVfed4GL.js";
25
25
  import { r as Yr } from "./router-BiRCp01d.js";
26
- import { S as Qe, R as Xr, T as Wr, C as Jr } from "./index-DCJ9wEIV.js";
27
- import { S as Kt, h as $t, Q as Zr, n as E, m as mt, a as gt, b as $, e as ea, c as ta, d as na, f as ra, o as vt, r as xt, g as aa, i as yt, p as wt, s as oa, u as De, j as sa, Z as ia, k as ca, l as Bt, q as ua } from "./ZudokuContext-BQ45UjcB.js";
26
+ import { S as Be, R as Xr, T as Wr, C as Jr } from "./index-CZAFD5xN.js";
27
+ import { S as Kt, h as $t, Q as Zr, n as E, m as mt, a as gt, b as $, e as ea, c as ta, d as na, f as ra, o as vt, r as xt, g as aa, i as yt, p as wt, s as oa, u as Ne, j as sa, Z as ia, k as ca, l as Bt, q as ua } from "./ZudokuContext-BHNQL3XO.js";
28
28
  import { j as Xe } from "./joinPath-B7kNnUX4.js";
29
- import { c as Qt, P as Ie, R as la, I as da, S as Ke } from "./SidebarBadge-Ba0PhibA.js";
30
- import { S as ha } from "./Spinner-CvXZ7QK4.js";
29
+ import { c as Qt, P as De, R as la, I as da, S as Le } from "./SidebarBadge-djIXD1Pv.js";
30
+ import { S as ha } from "./Spinner-D4ifRVWf.js";
31
31
  /**
32
32
  * @license lucide-react v0.378.0 - ISC
33
33
  *
@@ -370,7 +370,7 @@ ve.createStaticRouter = _a;
370
370
  const Oa = ({
371
371
  router: e,
372
372
  hydrate: t = !1
373
- }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { children: /* @__PURE__ */ a.jsx(Qe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(gr, { router: e }) }) }) }), Ta = ({
373
+ }) => /* @__PURE__ */ a.jsx(At, { children: /* @__PURE__ */ a.jsx(jt, { children: /* @__PURE__ */ a.jsx(Be.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(gr, { router: e }) }) }) }), Ta = ({
374
374
  router: e,
375
375
  context: t,
376
376
  helmetContext: n
@@ -815,13 +815,13 @@ var w, G, H, ne, re, U, ae, oe, Pt, Ba = (Pt = class {
815
815
  f(this, w).clear(), f(this, G).clear();
816
816
  }
817
817
  }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), oe = new WeakMap(), Pt);
818
- const Qa = Ot(null), $e = {
818
+ const Qa = Ot(null), Ke = {
819
819
  didCatch: !1,
820
820
  error: null
821
821
  };
822
822
  class qa extends Gr {
823
823
  constructor(t) {
824
- super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = $e;
824
+ super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ke;
825
825
  }
826
826
  static getDerivedStateFromError(t) {
827
827
  return {
@@ -839,7 +839,7 @@ class qa extends Gr {
839
839
  (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
840
840
  args: s,
841
841
  reason: "imperative-api"
842
- }), this.setState($e);
842
+ }), this.setState(Ke);
843
843
  }
844
844
  }
845
845
  componentDidCatch(t, n) {
@@ -858,7 +858,7 @@ class qa extends Gr {
858
858
  next: o,
859
859
  prev: t.resetKeys,
860
860
  reason: "keys"
861
- }), this.setState($e);
861
+ }), this.setState(Ke);
862
862
  }
863
863
  }
864
864
  render() {
@@ -945,9 +945,9 @@ function Za({ error: e, resetErrorBoundary: t }) {
945
945
  }
946
946
  const Pe = globalThis;
947
947
  (!Pe.requestIdleCallback || !Pe.cancelIdleCallback) && (Pe.requestIdleCallback = (e) => setTimeout(e, 1), Pe.cancelIdleCallback = clearTimeout);
948
- var qe = ["Enter", " "], eo = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp", "PageDown", "End"], to = [...eo, ...Vt], no = {
949
- ltr: [...qe, "ArrowRight"],
950
- rtl: [...qe, "ArrowLeft"]
948
+ var Qe = ["Enter", " "], eo = ["ArrowDown", "PageUp", "Home"], Vt = ["ArrowUp", "PageDown", "End"], to = [...eo, ...Vt], no = {
949
+ ltr: [...Qe, "ArrowRight"],
950
+ rtl: [...Qe, "ArrowLeft"]
951
951
  }, ro = {
952
952
  ltr: ["ArrowLeft"],
953
953
  rtl: ["ArrowRight"]
@@ -998,13 +998,13 @@ var Ze = "MenuPortal", [co, Zt] = J(Ze, {
998
998
  forceMount: void 0
999
999
  }), en = (e) => {
1000
1000
  const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = V(Ze, t);
1001
- return /* @__PURE__ */ a.jsx(co, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(Ie, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Ar, { asChild: !0, container: o, children: r }) }) });
1001
+ return /* @__PURE__ */ a.jsx(co, { scope: t, forceMount: n, children: /* @__PURE__ */ a.jsx(De, { present: n || s.open, children: /* @__PURE__ */ a.jsx(Ar, { asChild: !0, container: o, children: r }) }) });
1002
1002
  };
1003
1003
  en.displayName = Ze;
1004
1004
  var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1005
1005
  (e, t) => {
1006
1006
  const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu);
1007
- return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(lo, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(ho, { ...o, ref: t }) }) }) });
1007
+ return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(De, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ a.jsx(lo, { ...o, ref: t }) : /* @__PURE__ */ a.jsx(ho, { ...o, ref: t }) }) }) });
1008
1008
  }
1009
1009
  ), lo = c.forwardRef(
1010
1010
  (e, t) => {
@@ -1059,9 +1059,9 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1059
1059
  onDismiss: v,
1060
1060
  disableOutsideScroll: x,
1061
1061
  ...M
1062
- } = e, I = V(D, n), Q = we(D, n), Y = ye(n), C = Xt(n), k = ao(n), [L, X] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), W = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), Ae = c.useRef(null), it = c.useRef("right"), Oe = c.useRef(0), or = x ? Nr : c.Fragment, sr = x ? { as: Dr, allowPinchZoom: !0 } : void 0, ir = (m) => {
1062
+ } = e, I = V(D, n), Q = we(D, n), Y = ye(n), C = Xt(n), k = ao(n), [L, X] = c.useState(null), Z = c.useRef(null), be = ge(t, Z, I.onContentChange), W = c.useRef(0), Me = c.useRef(""), ar = c.useRef(0), ke = c.useRef(null), it = c.useRef("right"), Ae = c.useRef(0), or = x ? Nr : c.Fragment, sr = x ? { as: Dr, allowPinchZoom: !0 } : void 0, ir = (m) => {
1063
1063
  var te, ut;
1064
- const _ = Me.current + m, A = k().filter((K) => !K.disabled), q = document.activeElement, Te = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Fe = A.map((K) => K.textValue), ct = So(Fe, _, Te), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1064
+ const _ = Me.current + m, A = k().filter((K) => !K.disabled), q = document.activeElement, Oe = (te = A.find((K) => K.ref.current === q)) == null ? void 0 : te.textValue, Te = A.map((K) => K.textValue), ct = So(Te, _, Oe), le = (ut = A.find((K) => K.textValue === ct)) == null ? void 0 : ut.ref.current;
1065
1065
  (function K(lt) {
1066
1066
  Me.current = lt, window.clearTimeout(W.current), lt !== "" && (W.current = window.setTimeout(() => K(""), 1e3));
1067
1067
  })(_), le && setTimeout(() => le.focus());
@@ -1069,7 +1069,7 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1069
1069
  c.useEffect(() => () => window.clearTimeout(W.current), []), Pr();
1070
1070
  const ee = c.useCallback((m) => {
1071
1071
  var A, q;
1072
- return it.current === ((A = Ae.current) == null ? void 0 : A.side) && jo(m, (q = Ae.current) == null ? void 0 : q.area);
1072
+ return it.current === ((A = ke.current) == null ? void 0 : A.side) && jo(m, (q = ke.current) == null ? void 0 : q.area);
1073
1073
  }, []);
1074
1074
  return /* @__PURE__ */ a.jsx(
1075
1075
  uo,
@@ -1097,7 +1097,7 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1097
1097
  ),
1098
1098
  pointerGraceTimerRef: ar,
1099
1099
  onPointerGraceIntentChange: c.useCallback((m) => {
1100
- Ae.current = m;
1100
+ ke.current = m;
1101
1101
  }, []),
1102
1102
  children: /* @__PURE__ */ a.jsx(or, { ...sr, children: /* @__PURE__ */ a.jsx(
1103
1103
  jr,
@@ -1146,10 +1146,10 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1146
1146
  ref: be,
1147
1147
  style: { outline: "none", ...M.style },
1148
1148
  onKeyDown: y(M.onKeyDown, (m) => {
1149
- const A = m.target.closest("[data-radix-menu-content]") === m.currentTarget, q = m.ctrlKey || m.altKey || m.metaKey, Te = m.key.length === 1;
1150
- A && (m.key === "Tab" && m.preventDefault(), !q && Te && ir(m.key));
1151
- const Fe = Z.current;
1152
- if (m.target !== Fe || !to.includes(m.key)) return;
1149
+ const A = m.target.closest("[data-radix-menu-content]") === m.currentTarget, q = m.ctrlKey || m.altKey || m.metaKey, Oe = m.key.length === 1;
1150
+ A && (m.key === "Tab" && m.preventDefault(), !q && Oe && ir(m.key));
1151
+ const Te = Z.current;
1152
+ if (m.target !== Te || !to.includes(m.key)) return;
1153
1153
  m.preventDefault();
1154
1154
  const le = k().filter((te) => !te.disabled).map((te) => te.ref.current);
1155
1155
  Vt.includes(m.key) && le.reverse(), Mo(le);
@@ -1160,10 +1160,10 @@ var D = "MenuContent", [uo, et] = J(D), tn = c.forwardRef(
1160
1160
  onPointerMove: y(
1161
1161
  e.onPointerMove,
1162
1162
  pe((m) => {
1163
- const _ = m.target, A = Oe.current !== m.clientX;
1163
+ const _ = m.target, A = Ae.current !== m.clientX;
1164
1164
  if (m.currentTarget.contains(_) && A) {
1165
- const q = m.clientX > Oe.current ? "right" : "left";
1166
- it.current = q, Oe.current = m.clientX;
1165
+ const q = m.clientX > Ae.current ? "right" : "left";
1166
+ it.current = q, Ae.current = m.clientX;
1167
1167
  }
1168
1168
  })
1169
1169
  )
@@ -1194,7 +1194,7 @@ var po = "MenuLabel", nn = c.forwardRef(
1194
1194
  }
1195
1195
  );
1196
1196
  nn.displayName = po;
1197
- var Ee = "MenuItem", Mt = "menu.itemSelect", ke = c.forwardRef(
1197
+ var Ee = "MenuItem", Mt = "menu.itemSelect", Ie = c.forwardRef(
1198
1198
  (e, t) => {
1199
1199
  const { disabled: n = !1, onSelect: r, ...o } = e, s = c.useRef(null), i = we(Ee, e.__scopeMenu), u = et(Ee, e.__scopeMenu), l = ge(t, s), g = c.useRef(!1), p = () => {
1200
1200
  const d = s.current;
@@ -1220,13 +1220,13 @@ var Ee = "MenuItem", Mt = "menu.itemSelect", ke = c.forwardRef(
1220
1220
  }),
1221
1221
  onKeyDown: y(e.onKeyDown, (d) => {
1222
1222
  const h = u.searchRef.current !== "";
1223
- n || h && d.key === " " || qe.includes(d.key) && (d.currentTarget.click(), d.preventDefault());
1223
+ n || h && d.key === " " || Qe.includes(d.key) && (d.currentTarget.click(), d.preventDefault());
1224
1224
  })
1225
1225
  }
1226
1226
  );
1227
1227
  }
1228
1228
  );
1229
- ke.displayName = Ee;
1229
+ Ie.displayName = Ee;
1230
1230
  var rn = c.forwardRef(
1231
1231
  (e, t) => {
1232
1232
  const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = et(Ee, n), u = Xt(n), l = c.useRef(null), g = ge(t, l), [p, d] = c.useState(!1), [h, v] = c.useState("");
@@ -1269,7 +1269,7 @@ var rn = c.forwardRef(
1269
1269
  (e, t) => {
1270
1270
  const { checked: n = !1, onCheckedChange: r, ...o } = e;
1271
1271
  return /* @__PURE__ */ a.jsx(ln, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ a.jsx(
1272
- ke,
1272
+ Ie,
1273
1273
  {
1274
1274
  role: "menuitemcheckbox",
1275
1275
  "aria-checked": _e(n) ? "mixed" : n,
@@ -1301,7 +1301,7 @@ var cn = "MenuRadioItem", un = c.forwardRef(
1301
1301
  (e, t) => {
1302
1302
  const { value: n, ...r } = e, o = vo(cn, e.__scopeMenu), s = n === o.value;
1303
1303
  return /* @__PURE__ */ a.jsx(ln, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ a.jsx(
1304
- ke,
1304
+ Ie,
1305
1305
  {
1306
1306
  role: "menuitemradio",
1307
1307
  "aria-checked": s,
@@ -1328,7 +1328,7 @@ var rt = "MenuItemIndicator", [ln, xo] = J(
1328
1328
  (e, t) => {
1329
1329
  const { __scopeMenu: n, forceMount: r, ...o } = e, s = xo(rt, n);
1330
1330
  return /* @__PURE__ */ a.jsx(
1331
- Ie,
1331
+ De,
1332
1332
  {
1333
1333
  present: r || _e(s.checked) || s.checked === !0,
1334
1334
  children: /* @__PURE__ */ a.jsx(
@@ -1465,7 +1465,7 @@ gn.displayName = de;
1465
1465
  var vn = "MenuSubContent", xn = c.forwardRef(
1466
1466
  (e, t) => {
1467
1467
  const n = Zt(D, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = V(D, e.__scopeMenu), i = we(D, e.__scopeMenu), u = pn(vn, e.__scopeMenu), l = c.useRef(null), g = ge(t, l);
1468
- return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Ie, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
1468
+ return /* @__PURE__ */ a.jsx(fe.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(De, { present: r || s.open, children: /* @__PURE__ */ a.jsx(fe.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
1469
1469
  tt,
1470
1470
  {
1471
1471
  id: u.contentId,
@@ -1541,7 +1541,7 @@ function jo(e, t) {
1541
1541
  function pe(e) {
1542
1542
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
1543
1543
  }
1544
- var Ro = Jt, Eo = Je, _o = en, No = tn, Do = nt, Io = nn, ko = ke, Ao = an, Oo = sn, To = un, Fo = dn, Lo = hn, Ko = fn, $o = mn, Bo = gn, Qo = xn, st = "DropdownMenu", [qo, Hs] = _t(
1544
+ var Ro = Jt, Eo = Je, _o = en, No = tn, Do = nt, Io = nn, ko = Ie, Ao = an, Oo = sn, To = un, Fo = dn, Lo = hn, Ko = fn, $o = mn, Bo = gn, Qo = xn, st = "DropdownMenu", [qo, Hs] = _t(
1545
1545
  st,
1546
1546
  [Yt]
1547
1547
  ), P = Yt(), [Go, wn] = qo(st), bn = (e) => {
@@ -1836,7 +1836,7 @@ const Xn = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
1836
1836
  ));
1837
1837
  Xn.displayName = Qn.displayName;
1838
1838
  const gs = () => {
1839
- const e = De(), [t, n] = ie(!1), r = Tt(() => n(!1), []);
1839
+ const e = Ne(), [t, n] = ie(!1), r = Tt(() => n(!1), []);
1840
1840
  z(() => {
1841
1841
  if (t)
1842
1842
  return;
@@ -1870,7 +1870,7 @@ const gs = () => {
1870
1870
  }) })
1871
1871
  ] }) : null;
1872
1872
  }, vs = () => {
1873
- const { topNavigation: e } = De();
1873
+ const { topNavigation: e } = Ne();
1874
1874
  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(
1875
1875
  je,
1876
1876
  {
@@ -1888,65 +1888,66 @@ const gs = () => {
1888
1888
  // eslint-disable-next-line react/no-array-index-key
1889
1889
  /* @__PURE__ */ a.jsx(Wn, { item: t }, n)
1890
1890
  )) }) })
1891
- ] }, e.label) : /* @__PURE__ */ a.jsx(He, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(Vn, { children: e.label }, e.label) }), Jn = Lt(function() {
1892
- const t = ft(), [n, r] = Fr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft();
1893
- Ne();
1894
- const u = De(), { page: l, plugins: g } = u, p = g.filter((h) => Ha(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ma : va;
1895
- 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: [
1896
- /* @__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: [
1897
- /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(He, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1898
- (l == null ? void 0 : l.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1899
- /* @__PURE__ */ a.jsx(
1900
- "img",
1901
- {
1902
- src: l.logo.src.light,
1903
- alt: l.logo.alt ?? l.pageTitle,
1904
- style: { width: l.logo.width },
1905
- className: b("h-10", n && "hidden"),
1906
- loading: "lazy"
1907
- }
1908
- ),
1909
- /* @__PURE__ */ a.jsx(
1910
- "img",
1911
- {
1912
- src: l.logo.src.dark,
1913
- alt: l.logo.alt ?? l.pageTitle,
1914
- style: { width: l.logo.width },
1915
- className: b("h-10", !n && "hidden"),
1916
- loading: "lazy"
1917
- }
1918
- )
1919
- ] }),
1920
- /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: l == null ? void 0 : l.pageTitle })
1921
- ] }) }) }),
1922
- /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1923
- /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center flex", children: /* @__PURE__ */ a.jsx(gs, {}) }),
1924
- /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1925
- /* @__PURE__ */ a.jsx(se, { name: "head-navigation-start" }),
1926
- i && !o ? /* @__PURE__ */ a.jsx(Be, { variant: "ghost", onClick: () => t.login(), children: "Login" }) : p.length > 0 && /* @__PURE__ */ a.jsxs(ls, { children: [
1927
- /* @__PURE__ */ a.jsx(ds, { asChild: !0, children: /* @__PURE__ */ a.jsx(Be, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
1928
- /* @__PURE__ */ a.jsxs(zn, { className: "w-56", children: [
1929
- /* @__PURE__ */ a.jsx(Yn, { children: "My Account" }),
1930
- /* @__PURE__ */ a.jsx(Xn, {}),
1931
- p
1932
- ] })
1891
+ ] }, e.label) : /* @__PURE__ */ a.jsx(Ge, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(Vn, { children: e.label }, e.label) }), Jn = Lt(function() {
1892
+ const t = ft(), [n, r] = Fr(), { isAuthenticated: o, profile: s, isAuthEnabled: i } = ft(), u = Ne(), { page: l, plugins: g } = u, p = g.filter((h) => Ha(h)).flatMap((h) => h.getProfileMenuItems(u)).map((h) => /* @__PURE__ */ a.jsx(Wn, { item: h }, h.label)), d = n ? ma : va;
1893
+ return (
1894
+ // padding-left is to prevent layout jumping when scrollbar appears/disappears
1895
+ /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 z-10 bg-background/80 backdrop-blur left-0 right-0 pl-[var(--scrollbar-width)]", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1896
+ /* @__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: [
1897
+ /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(Ge, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1898
+ (l == null ? void 0 : l.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1899
+ /* @__PURE__ */ a.jsx(
1900
+ "img",
1901
+ {
1902
+ src: l.logo.src.light,
1903
+ alt: l.logo.alt ?? l.pageTitle,
1904
+ style: { width: l.logo.width },
1905
+ className: b("h-10", n && "hidden"),
1906
+ loading: "lazy"
1907
+ }
1908
+ ),
1909
+ /* @__PURE__ */ a.jsx(
1910
+ "img",
1911
+ {
1912
+ src: l.logo.src.dark,
1913
+ alt: l.logo.alt ?? l.pageTitle,
1914
+ style: { width: l.logo.width },
1915
+ className: b("h-10", !n && "hidden"),
1916
+ loading: "lazy"
1917
+ }
1918
+ )
1933
1919
  ] }),
1934
- /* @__PURE__ */ a.jsx(
1935
- "button",
1936
- {
1937
- type: "button",
1938
- "aria-label": n ? "Switch to light mode" : "Switch to dark mode",
1939
- className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
1940
- onClick: r,
1941
- children: /* @__PURE__ */ a.jsx(d, { size: 18 })
1942
- }
1943
- ),
1944
- /* @__PURE__ */ a.jsx(se, { name: "head-navigation-end" })
1920
+ /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: l == null ? void 0 : l.pageTitle })
1921
+ ] }) }) }),
1922
+ /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1923
+ /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center flex", children: /* @__PURE__ */ a.jsx(gs, {}) }),
1924
+ /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1925
+ /* @__PURE__ */ a.jsx(se, { name: "head-navigation-start" }),
1926
+ i && !o ? /* @__PURE__ */ a.jsx($e, { variant: "ghost", onClick: () => t.login(), children: "Login" }) : p.length > 0 && /* @__PURE__ */ a.jsxs(ls, { modal: !1, children: [
1927
+ /* @__PURE__ */ a.jsx(ds, { asChild: !0, children: /* @__PURE__ */ a.jsx($e, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
1928
+ /* @__PURE__ */ a.jsxs(zn, { className: "w-56", children: [
1929
+ /* @__PURE__ */ a.jsx(Yn, { children: "My Account" }),
1930
+ /* @__PURE__ */ a.jsx(Xn, {}),
1931
+ p
1932
+ ] })
1933
+ ] }),
1934
+ /* @__PURE__ */ a.jsx(
1935
+ "button",
1936
+ {
1937
+ type: "button",
1938
+ "aria-label": n ? "Switch to light mode" : "Switch to dark mode",
1939
+ className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
1940
+ onClick: r,
1941
+ children: /* @__PURE__ */ a.jsx(d, { size: 18 })
1942
+ }
1943
+ ),
1944
+ /* @__PURE__ */ a.jsx(se, { name: "head-navigation-end" })
1945
+ ] })
1945
1946
  ] })
1946
- ] })
1947
- ] }),
1948
- /* @__PURE__ */ a.jsx(vs, {})
1949
- ] }) });
1947
+ ] }),
1948
+ /* @__PURE__ */ a.jsx(vs, {})
1949
+ ] }) })
1950
+ );
1950
1951
  }), Zn = {
1951
1952
  Header: Jn
1952
1953
  }, xs = Ot(Zn), ys = xs.Provider, ws = (e) => {
@@ -1971,10 +1972,10 @@ const gs = () => {
1971
1972
  ...t
1972
1973
  }) => {
1973
1974
  var d, h;
1974
- const n = Le(
1975
+ const n = Fe(
1975
1976
  () => ({ ...Zn, ...t.overrides }),
1976
1977
  [t.overrides]
1977
- ), r = Le(() => {
1978
+ ), r = Fe(() => {
1978
1979
  var x;
1979
1980
  return {
1980
1981
  ...(t.plugins ?? []).filter(Xa).flatMap(
@@ -1983,7 +1984,7 @@ const gs = () => {
1983
1984
  ...Kr,
1984
1985
  ...(x = t.mdx) == null ? void 0 : x.components
1985
1986
  };
1986
- }, [(d = t.mdx) == null ? void 0 : d.components, t.plugins]), { stagger: o } = Ur(Qe), [s, i] = ie(!1), u = Le(
1987
+ }, [(d = t.mdx) == null ? void 0 : d.components, t.plugins]), { stagger: o } = Ur(Be), [s, i] = ie(!1), u = Fe(
1987
1988
  () => s ? { stagger: !0 } : { stagger: o },
1988
1989
  [o, s]
1989
1990
  ), l = vr();
@@ -1995,8 +1996,8 @@ const gs = () => {
1995
1996
  return /* @__PURE__ */ a.jsx(zr, { children: (M = v.getHead) == null ? void 0 : M.call(v) }, x);
1996
1997
  });
1997
1998
  return /* @__PURE__ */ a.jsxs(ca, { client: zt, children: [
1998
- /* @__PURE__ */ a.jsx(Ge, { children: p }),
1999
- /* @__PURE__ */ a.jsx(Qe.Provider, { value: u, children: /* @__PURE__ */ a.jsx(bs, { context: g, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(ws, { children: /* @__PURE__ */ a.jsx(ys, { value: n, children: /* @__PURE__ */ a.jsx(yr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx($r, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
1999
+ /* @__PURE__ */ a.jsx(qe, { children: p }),
2000
+ /* @__PURE__ */ a.jsx(Be.Provider, { value: u, children: /* @__PURE__ */ a.jsx(bs, { context: g, children: /* @__PURE__ */ a.jsx(lr, { components: r, children: /* @__PURE__ */ a.jsx(ws, { children: /* @__PURE__ */ a.jsx(ys, { value: n, children: /* @__PURE__ */ a.jsx(yr, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx($r, { children: e ?? /* @__PURE__ */ a.jsx(Rt, {}) }) }) }) }) }) }) })
2000
2001
  ] });
2001
2002
  }, Cs = Lt(Ms), er = (e) => /* @__PURE__ */ a.jsx(qa, { FallbackComponent: Za, children: /* @__PURE__ */ a.jsx(Cs, { ...e }) });
2002
2003
  er.displayName = "DevPortal";
@@ -2118,7 +2119,7 @@ const Ss = ({
2118
2119
  to: Xe(n == null ? void 0 : n.id, e.id),
2119
2120
  children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2120
2121
  /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2121
- /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2122
+ /* @__PURE__ */ a.jsx(Le, { ...e.badge })
2122
2123
  ] }) : e.label
2123
2124
  }
2124
2125
  );
@@ -2137,7 +2138,7 @@ const Ss = ({
2137
2138
  ),
2138
2139
  children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2139
2140
  /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2140
- /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2141
+ /* @__PURE__ */ a.jsx(Le, { ...e.badge })
2141
2142
  ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
2142
2143
  }
2143
2144
  ) : e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
@@ -2165,7 +2166,7 @@ const Ss = ({
2165
2166
  to: e.href,
2166
2167
  children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2167
2168
  /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
2168
- /* @__PURE__ */ a.jsx(Ke, { ...e.badge })
2169
+ /* @__PURE__ */ a.jsx(Le, { ...e.badge })
2169
2170
  ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
2170
2171
  }
2171
2172
  );
@@ -2175,7 +2176,7 @@ const Ss = ({
2175
2176
  const n = e.getBoundingClientRect();
2176
2177
  n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
2177
2178
  }, js = () => {
2178
- const e = Ne(), { setActiveAnchor: t } = ze();
2179
+ const e = He(), { setActiveAnchor: t } = ze();
2179
2180
  z(() => {
2180
2181
  if (!e.hash) return;
2181
2182
  const n = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
@@ -2190,7 +2191,7 @@ const Ss = ({
2190
2191
  }
2191
2192
  }, [e.hash, t]);
2192
2193
  }, Rs = () => {
2193
- const e = Ne(), t = Ve(e.pathname);
2194
+ const e = He(), t = Ve(e.pathname);
2194
2195
  z(() => {
2195
2196
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
2196
2197
  }, [e.pathname]);
@@ -2224,7 +2225,7 @@ const Es = () => {
2224
2225
  }
2225
2226
  );
2226
2227
  }, _s = ({ children: e }) => {
2227
- const t = Ne(), { setActiveAnchor: n } = ze(), { meta: r, authentication: o } = De();
2228
+ const t = He(), { setActiveAnchor: n } = ze(), { meta: r, authentication: o } = Ne();
2228
2229
  js(), Rs();
2229
2230
  const s = Ve(t.pathname);
2230
2231
  return z(() => {
@@ -2233,7 +2234,7 @@ const Es = () => {
2233
2234
  t.pathname !== s.current && n(""), s.current = t.pathname;
2234
2235
  }, [t.pathname, n]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2235
2236
  !1,
2236
- /* @__PURE__ */ a.jsxs(Ge, { titleTemplate: r == null ? void 0 : r.title, children: [
2237
+ /* @__PURE__ */ a.jsxs(qe, { titleTemplate: r == null ? void 0 : r.title, children: [
2237
2238
  (r == null ? void 0 : r.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: r.description }),
2238
2239
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: r.favicon })
2239
2240
  ] }),
@@ -2264,7 +2265,7 @@ const Es = () => {
2264
2265
  }
2265
2266
  ) })
2266
2267
  ] });
2267
- }, Us = fr, zs = Qr, Vs = er, Ys = _s, Xs = He, Ws = wr, Js = xa, Zs = Oa, ei = Ta, ti = Be, ni = Ge;
2268
+ }, Us = fr, zs = Qr, Vs = er, Ys = _s, Xs = Ge, Ws = wr, Js = xa, Zs = Oa, ei = Ta, ti = $e, ni = qe;
2268
2269
  export {
2269
2270
  Zs as Bootstrap,
2270
2271
  ei as BootstrapStatic,