zudoku 0.3.0-dev.61 → 0.3.0-dev.62

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.
@@ -21,7 +21,7 @@ export const Header = memo(function HeaderInner() {
21
21
  const context = useDevPortal();
22
22
  const { page, plugins } = context;
23
23
  const ThemeIcon = isDark ? MoonStarIcon : SunIcon;
24
- return (_jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: _jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [_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: [_jsxs("div", { className: "flex items-center gap-3.5", children: [page?.logo && (_jsxs(_Fragment, { children: [_jsx("img", { src: page.logo.src.light, alt: page.logo.alt ?? page.pageTitle, style: { width: page.logo.width }, className: cn("h-10", isDark && "hidden"), loading: "lazy" }), _jsx("img", { src: page.logo.src.dark, alt: page.logo.alt ?? page.pageTitle, style: { width: page.logo.width }, className: cn("h-10", !isDark && "hidden"), loading: "lazy" })] })), _jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: page?.pageTitle })] }), _jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [_jsx("div", { className: "w-full max-w-prose" }), _jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [isAuthEnabled && !isAuthenticated ? (_jsx(Button, { variant: "ghost", asChild: true, children: _jsx(Link, { to: "/signin", children: "Login" }) })) : (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", children: profile?.email ? `${profile.email}` : "My Account" }) }), _jsxs(DropdownMenuContent, { className: "w-56", children: [_jsx(DropdownMenuLabel, { children: "My Account" }), _jsx(DropdownMenuSeparator, {}), plugins
24
+ return (_jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: _jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [_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: [_jsx("div", { className: "flex", children: _jsx(Link, { to: "/", children: _jsxs("div", { className: "flex items-center gap-3.5", children: [page?.logo && (_jsxs(_Fragment, { children: [_jsx("img", { src: page.logo.src.light, alt: page.logo.alt ?? page.pageTitle, style: { width: page.logo.width }, className: cn("h-10", isDark && "hidden"), loading: "lazy" }), _jsx("img", { src: page.logo.src.dark, alt: page.logo.alt ?? page.pageTitle, style: { width: page.logo.width }, className: cn("h-10", !isDark && "hidden"), loading: "lazy" })] })), _jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: page?.pageTitle })] }) }) }), _jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [_jsx("div", { className: "w-full max-w-prose" }), _jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [isAuthEnabled && !isAuthenticated ? (_jsx(Button, { variant: "ghost", asChild: true, children: _jsx(Link, { to: "/signin", children: "Login" }) })) : (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", children: profile?.email ? `${profile.email}` : "My Account" }) }), _jsxs(DropdownMenuContent, { className: "w-56", children: [_jsx(DropdownMenuLabel, { children: "My Account" }), _jsx(DropdownMenuSeparator, {}), plugins
25
25
  .filter((p) => isProfileMenuPlugin(p))
26
26
  .flatMap((p) => p.getProfileMenuItems(context))
27
27
  .map((i) => (_jsx(RecursiveMenu, { item: i }, i.label)))] })] })), _jsx("button", { type: "button", "aria-label": isDark ? "Switch to light mode" : "Switch to dark mode", className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full", onClick: toggleTheme, children: _jsx(ThemeIcon, { size: 18 }) })] })] })] }), _jsx(TopNavigation, {})] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../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CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;6DAC9C,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACV,KAAC,aAAa,IAAe,IAAI,EAAE,CAAC,IAAhB,CAAC,CAAC,KAAK,CAAa,CACzC,CAAC,IACgB,IACT,CAChB,EAED,iBACE,IAAI,EAAC,QAAQ,gBAEX,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,qBAAqB,EAEzD,SAAS,EAAC,6DAA6D,EACvE,OAAO,EAAE,WAAW,YAEpB,KAAC,SAAS,IAAC,IAAI,EAAE,EAAE,GAAI,GAChB,IACL,IACF,IACF,EACN,KAAC,aAAa,KAAG,IACb,GACC,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,8 +1,4 @@
1
1
  import type { NavigationCategory, NavigationCategoryItem, NavigationItem } from "../../core/DevPortalContext.js";
2
- export declare const navigationListItem: (props?: ({
3
- isActive?: boolean | null | undefined;
4
- isMuted?: boolean | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
2
  export declare const DATA_ANCHOR_ATTR = "data-anchor";
7
3
  export declare const SideNavigationItem: ({ category, item, activeAnchor, currentTopNavItem, basePath, }: {
8
4
  category: NavigationCategory;
@@ -8,7 +8,7 @@ import { joinPath } from "../../util/joinPath.js";
8
8
  import { AnchorLink } from "../AnchorLink.js";
9
9
  import { useNavigationCollapsibleState } from "./useNavigationCollapsibleState.js";
10
10
  import { checkHasActiveItem, isLinkItem, isPathItem } from "./util.js";
11
- export const navigationListItem = cva("flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300", {
11
+ const navigationListItem = cva("flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300", {
12
12
  variants: {
13
13
  isActive: {
14
14
  true: "text-primary font-medium",
@@ -27,7 +27,7 @@ export const SideNavigationItem = ({ category, item, activeAnchor, currentTopNav
27
27
  const [isOpen, setIsOpen] = useNavigationCollapsibleState({
28
28
  item,
29
29
  path: currentPath,
30
- defaultOpen: () => checkHasActiveItem(item, location.pathname, currentPath),
30
+ defaultOpen: () => checkHasActiveItem(item, location.pathname, basePath),
31
31
  });
32
32
  if (isLinkItem(item)) {
33
33
  const classes = cn("flex items-center gap-2", navigationListItem({
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigationItem.js","sourceRoot":"","sources":["../../../../src/lib/components/navigation/SideNavigationItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAOxD,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvE,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,+FAA+F,EAC/F;IACE,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,IAAI,EAAE,0BAA0B;YAChC,KAAK,EAAE,oBAAoB;SAC5B;QACD,OAAO,EAAE;YACP,IAAI,EAAE,oBAAoB;YAC1B,KAAK,EAAE,EAAE;SACV;KACF;CACF,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAE9C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,iBAAiB,EACjB,QAAQ,GAAG,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G,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5B,KAAC,kBAAkB,IAEjB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,KAAK,EACX,YAAY,EAAE,YAAY,EAC1B,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,WAAW,IALhB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAMhD,CACH,CAAC,GACC,GACe,IACL,CACpB,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAC9B,KAAC,UAAU,IACT,EAAE,EAAE,IAAI,CAAC,IAAI,EACP,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,IAAI,EACnC,SAAS,EAAE,kBAAkB,CAAC;gBAC5B,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,YAAY;gBAC7C,OAAO,EAAE,IAAI,CAAC,KAAK;aACpB,CAAC,YAED,WAAW,GACD,CACd,CAAC,CAAC,CAAC,CACF,KAAC,OAAO,IACN,SAAS,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC,EAC7D,EAAE,EAAE,WAAW,YAEd,WAAW,GACJ,CACX,GACE,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -13,16 +13,16 @@ var Me = (t, e, n, r) => ({
13
13
  return f(t, e, r);
14
14
  }
15
15
  });
16
- import { H as Ct, a as $e, M as sr, A as ir, u as cr } from "./AnchorLink-Bj1hwDuD.js";
17
- import { c as pe, d as ur, R as lr, a as P, C as dr, N as ke, b as hr, u as pr, L as Be, M as fr, T as mr, V as gr, e as Qe, f as vr, g as xr } from "./Markdown-BjRJKl_E.js";
16
+ import { H as Ct, a as Be, M as sr, A as ir, u as cr } from "./AnchorLink-Bj1hwDuD.js";
17
+ import { c as pe, d as ur, R as lr, a as P, C as dr, N as Fe, b as hr, u as pr, L as Re, M as fr, T as mr, V as gr, e as Qe, f as vr, g as xr } from "./Markdown-BjRJKl_E.js";
18
18
  import { E as Pt, u as yr, R as wr } from "./hook-BY1NP0kj.js";
19
19
  import { j as o, d as Mr, u as br, a as se, O as Cr } from "./jsx-runtime-BIr0WBt_.js";
20
- import { M as Pr, c as Rr, a as Rt, b as _t, A as _r, u as fe, h as Er, d as y, e as Sr, F as Nr, D as jr, C as Dr, P as ie, f as Ue, g as Ir, i as Et, R as Ar, S as Or, j as Tr, k as kr, l as St, m as Fr, n as Re, o as Nt, B as Fe } from "./Combination-lAFQBd6U.js";
20
+ import { M as Pr, c as Rr, a as Rt, b as _t, A as _r, u as fe, h as Er, d as y, e as Sr, F as Nr, D as jr, C as Dr, P as ie, f as Ue, g as Ir, i as Et, R as Ar, S as Or, j as Tr, k as kr, l as St, m as Fr, n as _e, o as Nt, B as Le } from "./Combination-lAFQBd6U.js";
21
21
  import * as c from "react";
22
- import Lr, { StrictMode as jt, createContext as Dt, Component as Kr, createElement as lt, isValidElement as $r, memo as It, useMemo as be, useContext as Br, useState as At, useEffect as oe, Fragment as Qr, useRef as Se, forwardRef as Ur, Suspense as Gr } from "react";
22
+ import Lr, { StrictMode as jt, createContext as Dt, Component as Kr, createElement as lt, isValidElement as $r, memo as It, useMemo as be, useContext as Br, useState as At, useEffect as oe, Fragment as Qr, useRef as Ne, forwardRef as Ur, Suspense as Gr } from "react";
23
23
  import { g as Ge } from "./_commonjsHelpers-BVfed4GL.js";
24
24
  import { r as Hr } from "./router-BiRCp01d.js";
25
- import { S as Le, c as Ot, P as Ne, R as qr, I as zr, a as Tt, T as kt, C as Ft, b as Vr } from "./Spinner-Ciq_pWU7.js";
25
+ import { S as Ke, c as Ot, P as je, R as qr, I as zr, a as Tt, T as kt, C as Ft, b as Vr } from "./Spinner-Ciq_pWU7.js";
26
26
  import { S as Lt, h as Kt, Q as Yr, n as E, m as dt, a as ht, b as $, e as Xr, c as Wr, d as Jr, f as Zr, o as pt, r as ft, g as ea, i as mt, p as gt, s as ta, u as He, j as na, D as ra, k as qe, l as vt, q as $t, t as aa, v as oa, w as sa } from "./DevPortalProvider-BBhQ8kgI.js";
27
27
  /**
28
28
  * @license lucide-react v0.378.0 - ISC
@@ -356,7 +356,7 @@ me.createStaticRouter = ba;
356
356
  const Sa = ({
357
357
  router: t,
358
358
  hydrate: e = !1
359
- }) => /* @__PURE__ */ o.jsx(jt, { children: /* @__PURE__ */ o.jsx(Ct, { children: /* @__PURE__ */ o.jsx(Le.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ o.jsx(lr, { router: t }) }) }) }), Na = ({
359
+ }) => /* @__PURE__ */ o.jsx(jt, { children: /* @__PURE__ */ o.jsx(Ct, { children: /* @__PURE__ */ o.jsx(Ke.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ o.jsx(lr, { router: t }) }) }) }), Na = ({
360
360
  router: t,
361
361
  context: e,
362
362
  helmetContext: n
@@ -801,13 +801,13 @@ var w, G, H, te, ne, q, re, ae, bt, Oa = (bt = class {
801
801
  f(this, w).clear(), f(this, G).clear();
802
802
  }
803
803
  }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), q = new WeakMap(), re = new WeakMap(), ae = new WeakMap(), bt);
804
- const Ta = Dt(null), Te = {
804
+ const Ta = Dt(null), ke = {
805
805
  didCatch: !1,
806
806
  error: null
807
807
  };
808
808
  class ka extends Kr {
809
809
  constructor(e) {
810
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Te;
810
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ke;
811
811
  }
812
812
  static getDerivedStateFromError(e) {
813
813
  return {
@@ -825,7 +825,7 @@ class ka extends Kr {
825
825
  (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
826
826
  args: s,
827
827
  reason: "imperative-api"
828
- }), this.setState(Te);
828
+ }), this.setState(ke);
829
829
  }
830
830
  }
831
831
  componentDidCatch(e, n) {
@@ -844,7 +844,7 @@ class ka extends Kr {
844
844
  next: a,
845
845
  prev: e.resetKeys,
846
846
  reason: "keys"
847
- }), this.setState(Te);
847
+ }), this.setState(ke);
848
848
  }
849
849
  }
850
850
  render() {
@@ -928,9 +928,9 @@ class Ua {
928
928
  function Ga({ error: t, resetErrorBoundary: e }) {
929
929
  return /* @__PURE__ */ o.jsx(Pt, { error: t });
930
930
  }
931
- var Ke = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp", "PageDown", "End"], qa = [...Ha, ...Ht], za = {
932
- ltr: [...Ke, "ArrowRight"],
933
- rtl: [...Ke, "ArrowLeft"]
931
+ var $e = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp", "PageDown", "End"], qa = [...Ha, ...Ht], za = {
932
+ ltr: [...$e, "ArrowRight"],
933
+ rtl: [...$e, "ArrowLeft"]
934
934
  }, Va = {
935
935
  ltr: ["ArrowLeft"],
936
936
  rtl: ["ArrowRight"]
@@ -981,13 +981,13 @@ var Xe = "MenuPortal", [Za, Xt] = W(Xe, {
981
981
  forceMount: void 0
982
982
  }), Wt = (t) => {
983
983
  const { __scopeMenu: e, forceMount: n, children: r, container: a } = t, s = z(Xe, e);
984
- return /* @__PURE__ */ o.jsx(Za, { scope: e, forceMount: n, children: /* @__PURE__ */ o.jsx(Ne, { present: n || s.open, children: /* @__PURE__ */ o.jsx(Fr, { asChild: !0, container: a, children: r }) }) });
984
+ return /* @__PURE__ */ o.jsx(Za, { scope: e, forceMount: n, children: /* @__PURE__ */ o.jsx(je, { present: n || s.open, children: /* @__PURE__ */ o.jsx(Fr, { asChild: !0, container: a, children: r }) }) });
985
985
  };
986
986
  Wt.displayName = Xe;
987
987
  var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
988
988
  (t, e) => {
989
989
  const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu);
990
- return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(Ne, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(to, { ...a, ref: e }) : /* @__PURE__ */ o.jsx(no, { ...a, ref: e }) }) }) });
990
+ return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(je, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(to, { ...a, ref: e }) : /* @__PURE__ */ o.jsx(no, { ...a, ref: e }) }) }) });
991
991
  }
992
992
  ), to = c.forwardRef(
993
993
  (t, e) => {
@@ -1042,9 +1042,9 @@ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
1042
1042
  onDismiss: v,
1043
1043
  disableOutsideScroll: x,
1044
1044
  ...R
1045
- } = t, F = z(D, n), Q = xe(D, n), V = ve(n), M = zt(n), I = Ya(n), [L, Y] = c.useState(null), J = c.useRef(null), ye = fe(e, J, F.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), De = c.useRef(null), at = c.useRef("right"), Ie = c.useRef(0), tr = x ? Ar : c.Fragment, nr = x ? { as: Or, allowPinchZoom: !0 } : void 0, rr = (g) => {
1045
+ } = t, F = z(D, n), Q = xe(D, n), V = ve(n), M = zt(n), I = Ya(n), [L, Y] = c.useState(null), J = c.useRef(null), ye = fe(e, J, F.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), Ie = c.useRef(null), at = c.useRef("right"), Ae = c.useRef(0), tr = x ? Ar : c.Fragment, nr = x ? { as: Or, allowPinchZoom: !0 } : void 0, rr = (g) => {
1046
1046
  var ee, st;
1047
- const S = we.current + g, A = I().filter((K) => !K.disabled), U = document.activeElement, Ae = (ee = A.find((K) => K.ref.current === U)) == null ? void 0 : ee.textValue, Oe = A.map((K) => K.textValue), ot = mo(Oe, S, Ae), ce = (st = A.find((K) => K.textValue === ot)) == null ? void 0 : st.ref.current;
1047
+ const S = we.current + g, A = I().filter((K) => !K.disabled), U = document.activeElement, Oe = (ee = A.find((K) => K.ref.current === U)) == null ? void 0 : ee.textValue, Te = A.map((K) => K.textValue), ot = mo(Te, S, Oe), ce = (st = A.find((K) => K.textValue === ot)) == null ? void 0 : st.ref.current;
1048
1048
  (function K(it) {
1049
1049
  we.current = it, window.clearTimeout(X.current), it !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1050
1050
  })(S), ce && setTimeout(() => ce.focus());
@@ -1052,7 +1052,7 @@ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
1052
1052
  c.useEffect(() => () => window.clearTimeout(X.current), []), Sr();
1053
1053
  const Z = c.useCallback((g) => {
1054
1054
  var A, U;
1055
- return at.current === ((A = De.current) == null ? void 0 : A.side) && vo(g, (U = De.current) == null ? void 0 : U.area);
1055
+ return at.current === ((A = Ie.current) == null ? void 0 : A.side) && vo(g, (U = Ie.current) == null ? void 0 : U.area);
1056
1056
  }, []);
1057
1057
  return /* @__PURE__ */ o.jsx(
1058
1058
  eo,
@@ -1080,7 +1080,7 @@ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
1080
1080
  ),
1081
1081
  pointerGraceTimerRef: er,
1082
1082
  onPointerGraceIntentChange: c.useCallback((g) => {
1083
- De.current = g;
1083
+ Ie.current = g;
1084
1084
  }, []),
1085
1085
  children: /* @__PURE__ */ o.jsx(tr, { ...nr, children: /* @__PURE__ */ o.jsx(
1086
1086
  Nr,
@@ -1129,10 +1129,10 @@ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
1129
1129
  ref: ye,
1130
1130
  style: { outline: "none", ...R.style },
1131
1131
  onKeyDown: y(R.onKeyDown, (g) => {
1132
- const A = g.target.closest("[data-radix-menu-content]") === g.currentTarget, U = g.ctrlKey || g.altKey || g.metaKey, Ae = g.key.length === 1;
1133
- A && (g.key === "Tab" && g.preventDefault(), !U && Ae && rr(g.key));
1134
- const Oe = J.current;
1135
- if (g.target !== Oe || !qa.includes(g.key)) return;
1132
+ const A = g.target.closest("[data-radix-menu-content]") === g.currentTarget, U = g.ctrlKey || g.altKey || g.metaKey, Oe = g.key.length === 1;
1133
+ A && (g.key === "Tab" && g.preventDefault(), !U && Oe && rr(g.key));
1134
+ const Te = J.current;
1135
+ if (g.target !== Te || !qa.includes(g.key)) return;
1136
1136
  g.preventDefault();
1137
1137
  const ce = I().filter((ee) => !ee.disabled).map((ee) => ee.ref.current);
1138
1138
  Ht.includes(g.key) && ce.reverse(), po(ce);
@@ -1143,10 +1143,10 @@ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
1143
1143
  onPointerMove: y(
1144
1144
  t.onPointerMove,
1145
1145
  de((g) => {
1146
- const S = g.target, A = Ie.current !== g.clientX;
1146
+ const S = g.target, A = Ae.current !== g.clientX;
1147
1147
  if (g.currentTarget.contains(S) && A) {
1148
- const U = g.clientX > Ie.current ? "right" : "left";
1149
- at.current = U, Ie.current = g.clientX;
1148
+ const U = g.clientX > Ae.current ? "right" : "left";
1149
+ at.current = U, Ae.current = g.clientX;
1150
1150
  }
1151
1151
  })
1152
1152
  )
@@ -1177,9 +1177,9 @@ var ao = "MenuLabel", Zt = c.forwardRef(
1177
1177
  }
1178
1178
  );
1179
1179
  Zt.displayName = ao;
1180
- var _e = "MenuItem", yt = "menu.itemSelect", je = c.forwardRef(
1180
+ var Ee = "MenuItem", yt = "menu.itemSelect", De = c.forwardRef(
1181
1181
  (t, e) => {
1182
- const { disabled: n = !1, onSelect: r, ...a } = t, s = c.useRef(null), i = xe(_e, t.__scopeMenu), u = We(_e, t.__scopeMenu), d = fe(e, s), h = c.useRef(!1), p = () => {
1182
+ const { disabled: n = !1, onSelect: r, ...a } = t, s = c.useRef(null), i = xe(Ee, t.__scopeMenu), u = We(Ee, t.__scopeMenu), d = fe(e, s), h = c.useRef(!1), p = () => {
1183
1183
  const l = s.current;
1184
1184
  if (!n && l) {
1185
1185
  const m = new CustomEvent(yt, { bubbles: !0, cancelable: !0 });
@@ -1203,16 +1203,16 @@ var _e = "MenuItem", yt = "menu.itemSelect", je = c.forwardRef(
1203
1203
  }),
1204
1204
  onKeyDown: y(t.onKeyDown, (l) => {
1205
1205
  const m = u.searchRef.current !== "";
1206
- n || m && l.key === " " || Ke.includes(l.key) && (l.currentTarget.click(), l.preventDefault());
1206
+ n || m && l.key === " " || $e.includes(l.key) && (l.currentTarget.click(), l.preventDefault());
1207
1207
  })
1208
1208
  }
1209
1209
  );
1210
1210
  }
1211
1211
  );
1212
- je.displayName = _e;
1212
+ De.displayName = Ee;
1213
1213
  var en = c.forwardRef(
1214
1214
  (t, e) => {
1215
- const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = t, i = We(_e, n), u = zt(n), d = c.useRef(null), h = fe(e, d), [p, l] = c.useState(!1), [m, v] = c.useState("");
1215
+ const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = t, i = We(Ee, n), u = zt(n), d = c.useRef(null), h = fe(e, d), [p, l] = c.useState(!1), [m, v] = c.useState("");
1216
1216
  return c.useEffect(() => {
1217
1217
  const x = d.current;
1218
1218
  x && v((x.textContent ?? "").trim());
@@ -1252,16 +1252,16 @@ var en = c.forwardRef(
1252
1252
  (t, e) => {
1253
1253
  const { checked: n = !1, onCheckedChange: r, ...a } = t;
1254
1254
  return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1255
- je,
1255
+ De,
1256
1256
  {
1257
1257
  role: "menuitemcheckbox",
1258
- "aria-checked": Ee(n) ? "mixed" : n,
1258
+ "aria-checked": Se(n) ? "mixed" : n,
1259
1259
  ...a,
1260
1260
  ref: e,
1261
1261
  "data-state": nt(n),
1262
1262
  onSelect: y(
1263
1263
  a.onSelect,
1264
- () => r == null ? void 0 : r(Ee(n) ? !0 : !n),
1264
+ () => r == null ? void 0 : r(Se(n) ? !0 : !n),
1265
1265
  { checkForDefaultPrevented: !1 }
1266
1266
  )
1267
1267
  }
@@ -1284,7 +1284,7 @@ var an = "MenuRadioItem", on = c.forwardRef(
1284
1284
  (t, e) => {
1285
1285
  const { value: n, ...r } = t, a = io(an, t.__scopeMenu), s = n === a.value;
1286
1286
  return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1287
- je,
1287
+ De,
1288
1288
  {
1289
1289
  role: "menuitemradio",
1290
1290
  "aria-checked": s,
@@ -1311,9 +1311,9 @@ var et = "MenuItemIndicator", [sn, co] = W(
1311
1311
  (t, e) => {
1312
1312
  const { __scopeMenu: n, forceMount: r, ...a } = t, s = co(et, n);
1313
1313
  return /* @__PURE__ */ o.jsx(
1314
- Ne,
1314
+ je,
1315
1315
  {
1316
- present: r || Ee(s.checked) || s.checked === !0,
1316
+ present: r || Se(s.checked) || s.checked === !0,
1317
1317
  children: /* @__PURE__ */ o.jsx(
1318
1318
  ie.span,
1319
1319
  {
@@ -1363,8 +1363,8 @@ var tt = "MenuSub", [ho, dn] = W(tt), hn = (t) => {
1363
1363
  ho,
1364
1364
  {
1365
1365
  scope: e,
1366
- contentId: Re(),
1367
- triggerId: Re(),
1366
+ contentId: _e(),
1367
+ triggerId: _e(),
1368
1368
  trigger: u,
1369
1369
  onTriggerChange: d,
1370
1370
  children: n
@@ -1448,7 +1448,7 @@ pn.displayName = ue;
1448
1448
  var fn = "MenuSubContent", mn = c.forwardRef(
1449
1449
  (t, e) => {
1450
1450
  const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu), u = dn(fn, t.__scopeMenu), d = c.useRef(null), h = fe(e, d);
1451
- return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(Ne, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(
1451
+ return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(je, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(
1452
1452
  Je,
1453
1453
  {
1454
1454
  id: u.contentId,
@@ -1484,11 +1484,11 @@ mn.displayName = fn;
1484
1484
  function gn(t) {
1485
1485
  return t ? "open" : "closed";
1486
1486
  }
1487
- function Ee(t) {
1487
+ function Se(t) {
1488
1488
  return t === "indeterminate";
1489
1489
  }
1490
1490
  function nt(t) {
1491
- return Ee(t) ? "indeterminate" : t ? "checked" : "unchecked";
1491
+ return Se(t) ? "indeterminate" : t ? "checked" : "unchecked";
1492
1492
  }
1493
1493
  function po(t) {
1494
1494
  const e = document.activeElement;
@@ -1524,7 +1524,7 @@ function vo(t, e) {
1524
1524
  function de(t) {
1525
1525
  return (e) => e.pointerType === "mouse" ? t(e) : void 0;
1526
1526
  }
1527
- var xo = Yt, yo = Ye, wo = Wt, Mo = Jt, bo = Ze, Co = Zt, Po = je, Ro = tn, _o = rn, Eo = on, So = cn, No = un, jo = ln, Do = hn, Io = pn, Ao = mn, rt = "DropdownMenu", [Oo, js] = Rt(
1527
+ var xo = Yt, yo = Ye, wo = Wt, Mo = Jt, bo = Ze, Co = Zt, Po = De, Ro = tn, _o = rn, Eo = on, So = cn, No = un, jo = ln, Do = hn, Io = pn, Ao = mn, rt = "DropdownMenu", [Oo, js] = Rt(
1528
1528
  rt,
1529
1529
  [qt]
1530
1530
  ), C = qt(), [To, vn] = Oo(rt), xn = (t) => {
@@ -1545,9 +1545,9 @@ var xo = Yt, yo = Ye, wo = Wt, Mo = Jt, bo = Ze, Co = Zt, Po = je, Ro = tn, _o =
1545
1545
  To,
1546
1546
  {
1547
1547
  scope: e,
1548
- triggerId: Re(),
1548
+ triggerId: _e(),
1549
1549
  triggerRef: h,
1550
- contentId: Re(),
1550
+ contentId: _e(),
1551
1551
  open: p,
1552
1552
  onOpenChange: l,
1553
1553
  onOpenToggle: c.useCallback(() => l((m) => !m), [l]),
@@ -1821,7 +1821,7 @@ zn.displayName = Kn.displayName;
1821
1821
  const is = () => {
1822
1822
  const { navigation: t } = He();
1823
1823
  return t.length <= 1 ? null : /* @__PURE__ */ o.jsx("nav", { className: "border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ o.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
1824
- ke,
1824
+ Fe,
1825
1825
  {
1826
1826
  className: ({ isActive: n }) => hr(
1827
1827
  "block py-3.5 font-medium -mb-px border-b-2",
@@ -1837,11 +1837,11 @@ const is = () => {
1837
1837
  // eslint-disable-next-line react/no-array-index-key
1838
1838
  /* @__PURE__ */ o.jsx(Vn, { item: e }, n)
1839
1839
  )) }) })
1840
- ] }, t.label) : /* @__PURE__ */ o.jsx(Be, { to: t.path ?? "", children: /* @__PURE__ */ o.jsx(Hn, { children: t.label }, t.label) }), Yn = It(function() {
1840
+ ] }, t.label) : /* @__PURE__ */ o.jsx(Re, { to: t.path ?? "", children: /* @__PURE__ */ o.jsx(Hn, { children: t.label }, t.label) }), Yn = It(function() {
1841
1841
  const [e, n] = pr(), { isAuthenticated: r, profile: a, isAuthEnabled: s, login: i, logout: u } = yr(), d = He(), { page: h, plugins: p } = d, l = e ? ua : la;
1842
1842
  return /* @__PURE__ */ o.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ o.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1843
1843
  /* @__PURE__ */ o.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: [
1844
- /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-3.5", children: [
1844
+ /* @__PURE__ */ o.jsx("div", { className: "flex", children: /* @__PURE__ */ o.jsx(Re, { to: "/", children: /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-3.5", children: [
1845
1845
  (h == null ? void 0 : h.logo) && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1846
1846
  /* @__PURE__ */ o.jsx(
1847
1847
  "img",
@@ -1865,12 +1865,12 @@ const is = () => {
1865
1865
  )
1866
1866
  ] }),
1867
1867
  /* @__PURE__ */ o.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: h == null ? void 0 : h.pageTitle })
1868
- ] }),
1868
+ ] }) }) }),
1869
1869
  /* @__PURE__ */ o.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1870
1870
  /* @__PURE__ */ o.jsx("div", { className: "w-full max-w-prose" }),
1871
1871
  /* @__PURE__ */ o.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1872
- s && !r ? /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Be, { to: "/signin", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ts, { children: [
1873
- /* @__PURE__ */ o.jsx(ns, { asChild: !0, children: /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
1872
+ s && !r ? /* @__PURE__ */ o.jsx(Le, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Re, { to: "/signin", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ts, { children: [
1873
+ /* @__PURE__ */ o.jsx(ns, { asChild: !0, children: /* @__PURE__ */ o.jsx(Le, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
1874
1874
  /* @__PURE__ */ o.jsxs(Gn, { className: "w-56", children: [
1875
1875
  /* @__PURE__ */ o.jsx(qn, { children: "My Account" }),
1876
1876
  /* @__PURE__ */ o.jsx(zn, {}),
@@ -1908,7 +1908,7 @@ const is = () => {
1908
1908
  return { ...fr, ...(v = e.mdx) == null ? void 0 : v.components };
1909
1909
  },
1910
1910
  [(l = e.mdx) == null ? void 0 : l.components]
1911
- ), { stagger: a } = Br(Le), [s, i] = At(!1), u = be(
1911
+ ), { stagger: a } = Br(Ke), [s, i] = At(!1), u = be(
1912
1912
  () => s ? { stagger: !0 } : { stagger: a },
1913
1913
  [a, s]
1914
1914
  ), d = br();
@@ -1924,8 +1924,8 @@ const is = () => {
1924
1924
  return /* @__PURE__ */ o.jsx(Qr, { children: (R = v.getHead) == null ? void 0 : R.call(v) }, x);
1925
1925
  });
1926
1926
  return /* @__PURE__ */ o.jsxs(na, { client: Gt, children: [
1927
- /* @__PURE__ */ o.jsx($e, { children: p }),
1928
- /* @__PURE__ */ o.jsx(Le.Provider, { value: u, children: /* @__PURE__ */ o.jsx(ra, { value: h, children: /* @__PURE__ */ o.jsx(sr, { components: r, children: /* @__PURE__ */ o.jsx(mr, { children: /* @__PURE__ */ o.jsx(us, { value: n, children: /* @__PURE__ */ o.jsx(gr, { children: t }) }) }) }) }) })
1927
+ /* @__PURE__ */ o.jsx(Be, { children: p }),
1928
+ /* @__PURE__ */ o.jsx(Ke.Provider, { value: u, children: /* @__PURE__ */ o.jsx(ra, { value: h, children: /* @__PURE__ */ o.jsx(sr, { components: r, children: /* @__PURE__ */ o.jsx(mr, { children: /* @__PURE__ */ o.jsx(us, { value: n, children: /* @__PURE__ */ o.jsx(gr, { children: t }) }) }) }) }) })
1929
1929
  ] });
1930
1930
  }, ds = It(ls), Wn = (t) => /* @__PURE__ */ o.jsx(ka, { FallbackComponent: Ga, children: /* @__PURE__ */ o.jsx(ds, { ...t }) });
1931
1931
  Wn.displayName = "DevPortal";
@@ -1947,7 +1947,7 @@ const hs = () => {
1947
1947
  return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
1948
1948
  }, [t.hash, e]);
1949
1949
  }, ps = () => {
1950
- const t = se(), e = Se(t.pathname);
1950
+ const t = se(), e = Ne(t.pathname);
1951
1951
  oe(() => {
1952
1952
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
1953
1953
  }, [t.pathname]);
@@ -1956,7 +1956,7 @@ const hs = () => {
1956
1956
  defaultOpen: e,
1957
1957
  path: n
1958
1958
  }) => {
1959
- const [r, a] = At(e), s = se(), i = Se(s.pathname);
1959
+ const [r, a] = At(e), s = se(), i = Ne(s.pathname);
1960
1960
  return oe(() => {
1961
1961
  !r && i.current !== s.pathname && a(qe(t, s.pathname, n)), i.current = s.pathname;
1962
1962
  }, [r, t, n, s.pathname]), [r, a];
@@ -1984,7 +1984,7 @@ const hs = () => {
1984
1984
  const s = vt(e) ? $t(a, e.path) : "", i = se(), [u, d] = Jn({
1985
1985
  item: e,
1986
1986
  path: s,
1987
- defaultOpen: () => qe(e, i.pathname, s)
1987
+ defaultOpen: () => qe(e, i.pathname, a)
1988
1988
  });
1989
1989
  if (aa(e)) {
1990
1990
  const p = P(
@@ -2005,7 +2005,7 @@ const hs = () => {
2005
2005
  /* @__PURE__ */ o.jsx(ca, { size: 14 })
2006
2006
  ]
2007
2007
  }
2008
- ) : /* @__PURE__ */ o.jsx(ke, { className: p, to: e.href, children: e.label });
2008
+ ) : /* @__PURE__ */ o.jsx(Fe, { className: p, to: e.href, children: e.label });
2009
2009
  }
2010
2010
  const h = /* @__PURE__ */ o.jsxs("div", { className: "flex justify-between w-full", children: [
2011
2011
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
@@ -2062,7 +2062,7 @@ const hs = () => {
2062
2062
  children: h
2063
2063
  }
2064
2064
  ) : /* @__PURE__ */ o.jsx(
2065
- ke,
2065
+ Fe,
2066
2066
  {
2067
2067
  className: ({ isActive: p }) => Pe({ isActive: p }),
2068
2068
  to: s,
@@ -2131,7 +2131,7 @@ const hs = () => {
2131
2131
  }
2132
2132
  );
2133
2133
  }), vs = () => {
2134
- const t = Se(null), e = sa();
2134
+ const t = Ne(null), e = sa();
2135
2135
  return /* @__PURE__ */ o.jsx(
2136
2136
  gs,
2137
2137
  {
@@ -2143,11 +2143,11 @@ const hs = () => {
2143
2143
  }, xs = ({ children: t }) => {
2144
2144
  const e = se(), { setActiveAnchor: n } = Qe(), { meta: r } = He();
2145
2145
  hs(), ps();
2146
- const a = Se(e.pathname);
2146
+ const a = Ne(e.pathname);
2147
2147
  return oe(() => {
2148
2148
  e.pathname !== a.current && n(""), a.current = e.pathname;
2149
2149
  }, [e.pathname, n]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2150
- /* @__PURE__ */ o.jsxs($e, { titleTemplate: r == null ? void 0 : r.title, children: [
2150
+ /* @__PURE__ */ o.jsxs(Be, { titleTemplate: r == null ? void 0 : r.title, children: [
2151
2151
  (r == null ? void 0 : r.description) && /* @__PURE__ */ o.jsx("meta", { name: "description", content: r.description }),
2152
2152
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ o.jsx("link", { rel: "icon", href: r.favicon })
2153
2153
  ] }),
@@ -2174,7 +2174,7 @@ const hs = () => {
2174
2174
  }
2175
2175
  ) })
2176
2176
  ] });
2177
- }, Ds = cr, Is = xr, As = Wn, Os = xs, Ts = Be, ks = wr, Fs = da, Ls = Sa, Ks = Na, $s = Fe, Bs = $e;
2177
+ }, Ds = cr, Is = xr, As = Wn, Os = xs, Ts = Re, ks = wr, Fs = da, Ls = Sa, Ks = Na, $s = Le, Bs = Be;
2178
2178
  export {
2179
2179
  Ls as Bootstrap,
2180
2180
  Ks as BootstrapStatic,