zudoku 0.27.0 → 0.28.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 (152) hide show
  1. package/dist/app/main.js +1 -2
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
  4. package/dist/lib/components/PathRenderer.d.ts +11 -0
  5. package/dist/lib/components/PathRenderer.js +25 -0
  6. package/dist/lib/components/PathRenderer.js.map +1 -0
  7. package/dist/lib/components/ThemeSwitch.js +4 -4
  8. package/dist/lib/components/ThemeSwitch.js.map +1 -1
  9. package/dist/lib/components/index.d.ts +1 -0
  10. package/dist/lib/components/index.js +4 -2
  11. package/dist/lib/components/index.js.map +1 -1
  12. package/dist/lib/components/navigation/SidebarCategory.js +17 -15
  13. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  14. package/dist/lib/oas/graphql/circular.js +17 -6
  15. package/dist/lib/oas/graphql/circular.js.map +1 -1
  16. package/dist/lib/oas/graphql/index.d.ts +1 -0
  17. package/dist/lib/oas/graphql/index.js +41 -23
  18. package/dist/lib/oas/graphql/index.js.map +1 -1
  19. package/dist/lib/plugins/openapi/ColorizedParam.js +3 -1
  20. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  21. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  22. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  23. package/dist/lib/plugins/openapi/{Route.d.ts → OpenApiRoute.d.ts} +2 -1
  24. package/dist/lib/plugins/openapi/{Route.js → OpenApiRoute.js} +3 -4
  25. package/dist/lib/plugins/openapi/OpenApiRoute.js.map +1 -0
  26. package/dist/lib/plugins/openapi/OperationList.d.ts +4 -1
  27. package/dist/lib/plugins/openapi/OperationList.js +20 -14
  28. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  29. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  30. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  31. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  32. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  33. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +1 -1
  34. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +2 -0
  35. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  36. package/dist/lib/plugins/openapi/Sidecar.js +6 -11
  37. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  38. package/dist/lib/plugins/openapi/SidecarExamples.js +17 -14
  39. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  40. package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -2
  41. package/dist/lib/plugins/openapi/graphql/gql.js +3 -2
  42. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  43. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +47 -26
  44. package/dist/lib/plugins/openapi/graphql/graphql.js +20 -16
  45. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  46. package/dist/lib/plugins/openapi/index.js +97 -54
  47. package/dist/lib/plugins/openapi/index.js.map +1 -1
  48. package/dist/lib/plugins/openapi/interfaces.d.ts +1 -0
  49. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  50. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  51. package/dist/lib/plugins/openapi/playground/Playground.js +7 -15
  52. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  53. package/dist/lib/plugins/openapi/schema/{SchemaComponents.js → SchemaPropertyItem.js} +10 -8
  54. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  55. package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
  56. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  57. package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
  58. package/dist/lib/plugins/openapi/schema/utils.js +2 -0
  59. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  60. package/dist/lib/util/joinUrl.js +1 -1
  61. package/dist/lib/util/joinUrl.js.map +1 -1
  62. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  63. package/dist/lib/util/joinUrl.test.js +43 -0
  64. package/dist/lib/util/joinUrl.test.js.map +1 -0
  65. package/dist/vite/plugin-api.js +9 -1
  66. package/dist/vite/plugin-api.js.map +1 -1
  67. package/dist/vite/prerender.js +0 -1
  68. package/dist/vite/prerender.js.map +1 -1
  69. package/lib/{AuthenticationPlugin-CO_YCd2x.js → AuthenticationPlugin-Du8cLBSr.js} +2 -2
  70. package/lib/{AuthenticationPlugin-CO_YCd2x.js.map → AuthenticationPlugin-Du8cLBSr.js.map} +1 -1
  71. package/lib/{Markdown-B8o9Qz4q.js → Markdown-Cyrx_JrO.js} +8 -9
  72. package/lib/{Markdown-B8o9Qz4q.js.map → Markdown-Cyrx_JrO.js.map} +1 -1
  73. package/lib/{MdxPage-BxRt3Ly7.js → MdxPage-BuG8Tuwc.js} +5 -5
  74. package/lib/{MdxPage-BxRt3Ly7.js.map → MdxPage-BuG8Tuwc.js.map} +1 -1
  75. package/lib/OpenApiRoute-UrC_t0e5.js +36 -0
  76. package/lib/OpenApiRoute-UrC_t0e5.js.map +1 -0
  77. package/lib/{OperationList-DH-zIgtq.js → OperationList-CDt1xdc4.js} +1312 -1303
  78. package/lib/OperationList-CDt1xdc4.js.map +1 -0
  79. package/lib/{Select-B7UXR0SB.js → Select-CnCZ4WhS.js} +3 -3
  80. package/lib/{Select-B7UXR0SB.js.map → Select-CnCZ4WhS.js.map} +1 -1
  81. package/lib/{SlotletProvider-CtIp8rP3.js → SlotletProvider-mQiPDQIH.js} +2 -2
  82. package/lib/{SlotletProvider-CtIp8rP3.js.map → SlotletProvider-mQiPDQIH.js.map} +1 -1
  83. package/lib/{SyntaxHighlight-C1w1QPdY.js → SyntaxHighlight-B0L4SC_N.js} +11 -5
  84. package/lib/SyntaxHighlight-B0L4SC_N.js.map +1 -0
  85. package/lib/{ZudokuContext-8jts0fF3.js → ZudokuContext-BTUJPpQl.js} +21 -21
  86. package/lib/{ZudokuContext-8jts0fF3.js.map → ZudokuContext-BTUJPpQl.js.map} +1 -1
  87. package/lib/{circular-Dgpd6AN-.js → circular-DxaIIlWD.js} +251 -239
  88. package/lib/{circular-Dgpd6AN-.js.map → circular-DxaIIlWD.js.map} +1 -1
  89. package/lib/{createServer-BV0tHzLK.js → createServer-CjNktZzL.js} +821 -808
  90. package/lib/{createServer-BV0tHzLK.js.map → createServer-CjNktZzL.js.map} +1 -1
  91. package/lib/{hook-BG02esyv.js → hook-FT3SJLe_.js} +2 -2
  92. package/lib/{hook-BG02esyv.js.map → hook-FT3SJLe_.js.map} +1 -1
  93. package/lib/{index-LNp6rxyU.js → index-CjJS0l4l.js} +2 -2
  94. package/lib/{index-LNp6rxyU.js.map → index-CjJS0l4l.js.map} +1 -1
  95. package/lib/{index-DmqsUPcm.js → index-Eb1oiHbM.js} +881 -799
  96. package/lib/index-Eb1oiHbM.js.map +1 -0
  97. package/lib/{joinUrl-BTy9bvoK.js → joinUrl-nLx9pD-Z.js} +2 -2
  98. package/lib/joinUrl-nLx9pD-Z.js.map +1 -0
  99. package/lib/{useScrollToAnchor-Bl6mz9_x.js → useScrollToAnchor-BZsGmBng.js} +86 -90
  100. package/lib/useScrollToAnchor-BZsGmBng.js.map +1 -0
  101. package/lib/zudoku.auth-clerk.js +1 -1
  102. package/lib/zudoku.auth-openid.js +3 -3
  103. package/lib/zudoku.components.js +364 -348
  104. package/lib/zudoku.components.js.map +1 -1
  105. package/lib/zudoku.plugin-api-catalog.js +3 -3
  106. package/lib/zudoku.plugin-api-keys.js +4 -4
  107. package/lib/zudoku.plugin-custom-pages.js +1 -1
  108. package/lib/zudoku.plugin-markdown.js +1 -1
  109. package/lib/zudoku.plugin-openapi.js +6 -5
  110. package/lib/zudoku.plugin-openapi.js.map +1 -1
  111. package/package.json +1 -1
  112. package/src/app/main.tsx +1 -2
  113. package/src/lib/components/PathRenderer.tsx +59 -0
  114. package/src/lib/components/ThemeSwitch.tsx +15 -14
  115. package/src/lib/components/index.ts +7 -5
  116. package/src/lib/components/navigation/SidebarCategory.tsx +44 -41
  117. package/src/lib/oas/graphql/circular.ts +27 -6
  118. package/src/lib/oas/graphql/index.ts +63 -35
  119. package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -3
  120. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  121. package/src/lib/plugins/openapi/{Route.tsx → OpenApiRoute.tsx} +3 -3
  122. package/src/lib/plugins/openapi/OperationList.tsx +34 -12
  123. package/src/lib/plugins/openapi/OperationListItem.tsx +6 -1
  124. package/src/lib/plugins/openapi/ParameterListItem.tsx +1 -1
  125. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -0
  126. package/src/lib/plugins/openapi/Sidecar.tsx +18 -27
  127. package/src/lib/plugins/openapi/SidecarExamples.tsx +24 -24
  128. package/src/lib/plugins/openapi/graphql/gql.ts +12 -4
  129. package/src/lib/plugins/openapi/graphql/graphql.ts +66 -43
  130. package/src/lib/plugins/openapi/index.tsx +125 -67
  131. package/src/lib/plugins/openapi/interfaces.ts +1 -0
  132. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  133. package/src/lib/plugins/openapi/playground/Playground.tsx +23 -33
  134. package/src/lib/plugins/openapi/schema/{SchemaComponents.tsx → SchemaPropertyItem.tsx} +10 -6
  135. package/src/lib/plugins/openapi/schema/SchemaView.tsx +4 -1
  136. package/src/lib/plugins/openapi/schema/utils.ts +4 -0
  137. package/src/lib/util/joinUrl.test.ts +62 -0
  138. package/src/lib/util/joinUrl.ts +1 -1
  139. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  140. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  141. package/lib/OperationList-DH-zIgtq.js.map +0 -1
  142. package/lib/Route-DJ0ZlVq1.js +0 -35
  143. package/lib/Route-DJ0ZlVq1.js.map +0 -1
  144. package/lib/StaggeredRender-DgsamH_G.js +0 -17
  145. package/lib/StaggeredRender-DgsamH_G.js.map +0 -1
  146. package/lib/SyntaxHighlight-C1w1QPdY.js.map +0 -1
  147. package/lib/index-Bn6Lc9tq.js +0 -9
  148. package/lib/index-Bn6Lc9tq.js.map +0 -1
  149. package/lib/index-DmqsUPcm.js.map +0 -1
  150. package/lib/joinUrl-BTy9bvoK.js.map +0 -1
  151. package/lib/useScrollToAnchor-Bl6mz9_x.js.map +0 -1
  152. /package/dist/lib/plugins/openapi/schema/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +0 -0
@@ -1,10 +1,10 @@
1
- var ot = Object.defineProperty;
2
- var fe = (t) => {
1
+ var lt = Object.defineProperty;
2
+ var xe = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var lt = (t, e, n) => e in t ? ot(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var P = (t, e, n) => lt(t, typeof e != "symbol" ? e + "" : e, n), me = (t, e, n) => e.has(t) || fe("Cannot " + n);
7
- var l = (t, e, n) => (me(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? fe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), y = (t, e, n, s) => (me(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n);
5
+ var ct = (t, e, n) => e in t ? lt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
+ var P = (t, e, n) => ct(t, typeof e != "symbol" ? e + "" : e, n), ye = (t, e, n) => e.has(t) || xe("Cannot " + n);
7
+ var l = (t, e, n) => (ye(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? xe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), y = (t, e, n, s) => (ye(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n);
8
8
  var _ = (t, e, n, s) => ({
9
9
  set _(a) {
10
10
  y(t, e, a, n);
@@ -13,48 +13,47 @@ var _ = (t, e, n, s) => ({
13
13
  return l(t, e, s);
14
14
  }
15
15
  });
16
- import { a as Qe, H as ie } from "./index.esm-9-TF9KQB.js";
17
- import { R as ct, S as ut, u as Ie, h as oe, N as dt, L as le, O as Te } from "./chunk-SYFQ2XB5-BPvC-soB.js";
18
- import { M as ht, u as Z } from "./hook-BG02esyv.js";
19
- import { E as qe, S as M, a as ft, R as mt } from "./SlotletProvider-CtIp8rP3.js";
16
+ import { a as Re, H as ie } from "./index.esm-9-TF9KQB.js";
17
+ import { u as oe, m as ut, O as le, R as dt, S as ht, h as ce, N as ft, L as ue } from "./chunk-SYFQ2XB5-BPvC-soB.js";
18
+ import { M as gt, u as z } from "./hook-FT3SJLe_.js";
20
19
  import { j as r } from "./jsx-runtime-Bdg6XQ1m.js";
21
- import { Button as gt } from "./ui/Button.js";
22
- import { Callout as pt } from "./ui/Callout.js";
23
- import { S as Re, k as Fe, Q as xt, n as w, m as ge, l as pe, o as N, p as yt, q as vt, r as bt, t as jt, v as xe, w as ye, x as wt, h as ve, y as be, z as Pt, e as Ct, A as ze, a as I, B as Be, C as St, j as se, u as kt, Z as Dt, D as Mt, E as Nt } from "./ZudokuContext-8jts0fF3.js";
24
- import * as K from "react";
25
- import Ot, { StrictMode as He, useRef as ce, useEffect as U, useState as z, useCallback as Et, Suspense as ue, memo as Le, forwardRef as At, createContext as Ke, Component as Qt, createElement as je, useMemo as ee, useContext as It, Fragment as Tt } from "react";
26
- import * as qt from "react-dom";
27
- import { S as re } from "./StaggeredRender-DgsamH_G.js";
28
- import { C as $e } from "./ClientOnly-E7hGysn1.js";
29
- import { CircleXIcon as Rt, SearchIcon as Ft, MoonStarIcon as zt, SunIcon as Bt, MenuIcon as Ht, PanelLeftIcon as Lt } from "lucide-react";
30
- import { Drawer as Ze, DrawerTrigger as Ue, DrawerContent as Ye, DrawerTitle as Xe } from "./ui/Drawer.js";
31
- import { c as B } from "./cn-qaFjX9_3.js";
32
- import { S as we, a as Kt, M as $t, u as Zt } from "./useScrollToAnchor-Bl6mz9_x.js";
33
- import { u as Ut, a as Yt, V as Xt, M as Vt } from "./Markdown-B8o9Qz4q.js";
34
- import { B as ae, S as Ve } from "./Spinner-BlzrEEk1.js";
35
- import { DropdownMenu as _t, DropdownMenuTrigger as Wt, DropdownMenuContent as Jt, DropdownMenuLabel as Gt, DropdownMenuSeparator as te, DropdownMenuSub as en, DropdownMenuSubTrigger as tn, DropdownMenuPortal as nn, DropdownMenuSubContent as sn, DropdownMenuItem as rn } from "./ui/DropdownMenu.js";
36
- import { j as Pe } from "./joinUrl-BTy9bvoK.js";
37
- import { VisuallyHidden as _e } from "@radix-ui/react-visually-hidden";
38
- import { z as an, J as on } from "./SyntaxHighlight-C1w1QPdY.js";
39
- import { a as ln } from "./index-Djenk2Hj.js";
40
- import { Z as cn } from "./invariant-Caa8-XvF.js";
41
- var D, Oe, un = (Oe = class extends Re {
20
+ import * as $ from "react";
21
+ import mt, { useEffect as B, createContext as de, StrictMode as Fe, useRef as he, useState as H, useCallback as pt, Suspense as fe, memo as ze, forwardRef as xt, Component as yt, createElement as ve, useMemo as te, useContext as vt, Fragment as bt } from "react";
22
+ import { S as Be, m as He, Q as jt, n as w, o as be, p as je, q as N, r as wt, t as Pt, v as Ct, w as kt, x as we, y as Pe, z as St, h as Ce, A as ke, B as Dt, e as Mt, a as E, C as Le, D as Ke, E as Nt, j as re, u as Ot, Z as Et, F as At, G as Qt } from "./ZudokuContext-BTUJPpQl.js";
23
+ import { Z as $e } from "./invariant-Caa8-XvF.js";
24
+ import { E as Ze, S as M, a as It, R as Tt } from "./SlotletProvider-mQiPDQIH.js";
25
+ import { Button as qt } from "./ui/Button.js";
26
+ import { Callout as Rt } from "./ui/Callout.js";
27
+ import * as Ft from "react-dom";
28
+ import { C as ge } from "./ClientOnly-E7hGysn1.js";
29
+ import { CircleXIcon as zt, SearchIcon as Bt, MoonStarIcon as Ht, SunIcon as Lt, MenuIcon as Kt, PanelLeftIcon as $t } from "lucide-react";
30
+ import { Drawer as Ue, DrawerTrigger as Ye, DrawerContent as Xe, DrawerTitle as Ve } from "./ui/Drawer.js";
31
+ import { c as U } from "./cn-qaFjX9_3.js";
32
+ import { S as Se, a as Zt, M as Ut, u as Yt } from "./useScrollToAnchor-BZsGmBng.js";
33
+ import { u as Xt, a as Vt, V as _t, M as Wt } from "./Markdown-Cyrx_JrO.js";
34
+ import { B as ee, S as _e } from "./Spinner-BlzrEEk1.js";
35
+ import { DropdownMenu as Gt, DropdownMenuTrigger as Jt, DropdownMenuContent as en, DropdownMenuLabel as tn, DropdownMenuSeparator as ne, DropdownMenuSub as nn, DropdownMenuSubTrigger as sn, DropdownMenuPortal as rn, DropdownMenuSubContent as an, DropdownMenuItem as on } from "./ui/DropdownMenu.js";
36
+ import { j as De } from "./joinUrl-nLx9pD-Z.js";
37
+ import { VisuallyHidden as We } from "@radix-ui/react-visually-hidden";
38
+ import { z as ln, J as cn } from "./SyntaxHighlight-B0L4SC_N.js";
39
+ import { a as un } from "./index-Djenk2Hj.js";
40
+ var D, Ie, dn = (Ie = class extends Be {
42
41
  constructor(e = {}) {
43
42
  super();
44
43
  j(this, D);
45
44
  this.config = e, y(this, D, /* @__PURE__ */ new Map());
46
45
  }
47
46
  build(e, n, s) {
48
- const a = n.queryKey, o = n.queryHash ?? Fe(a, n);
49
- let i = this.get(o);
50
- return i || (i = new xt({
47
+ const a = n.queryKey, i = n.queryHash ?? He(a, n);
48
+ let o = this.get(i);
49
+ return o || (o = new jt({
51
50
  cache: this,
52
51
  queryKey: a,
53
- queryHash: o,
52
+ queryHash: i,
54
53
  options: e.defaultQueryOptions(n),
55
54
  state: s,
56
55
  defaultOptions: e.getQueryDefaults(a)
57
- }), this.add(i)), i;
56
+ }), this.add(o)), o;
58
57
  }
59
58
  add(e) {
60
59
  l(this, D).has(e.queryHash) || (l(this, D).set(e.queryHash, e), this.notify({
@@ -82,12 +81,12 @@ var D, Oe, un = (Oe = class extends Re {
82
81
  find(e) {
83
82
  const n = { exact: !0, ...e };
84
83
  return this.getAll().find(
85
- (s) => ge(n, s)
84
+ (s) => be(n, s)
86
85
  );
87
86
  }
88
87
  findAll(e = {}) {
89
88
  const n = this.getAll();
90
- return Object.keys(e).length > 0 ? n.filter((s) => ge(e, s)) : n;
89
+ return Object.keys(e).length > 0 ? n.filter((s) => be(e, s)) : n;
91
90
  }
92
91
  notify(e) {
93
92
  w.batch(() => {
@@ -110,16 +109,16 @@ var D, Oe, un = (Oe = class extends Re {
110
109
  });
111
110
  });
112
111
  }
113
- }, D = new WeakMap(), Oe), O, S, Y, Ee, dn = (Ee = class extends Re {
112
+ }, D = new WeakMap(), Ie), O, k, Y, Te, hn = (Te = class extends Be {
114
113
  constructor(e = {}) {
115
114
  super();
116
115
  j(this, O);
117
- j(this, S);
116
+ j(this, k);
118
117
  j(this, Y);
119
- this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, S, /* @__PURE__ */ new Map()), y(this, Y, 0);
118
+ this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, k, /* @__PURE__ */ new Map()), y(this, Y, 0);
120
119
  }
121
120
  build(e, n, s) {
122
- const a = new ht({
121
+ const a = new gt({
123
122
  mutationCache: this,
124
123
  mutationId: ++_(this, Y)._,
125
124
  options: e.defaultMutationOptions(n),
@@ -131,8 +130,8 @@ var D, Oe, un = (Oe = class extends Re {
131
130
  l(this, O).add(e);
132
131
  const n = W(e);
133
132
  if (typeof n == "string") {
134
- const s = l(this, S).get(n);
135
- s ? s.push(e) : l(this, S).set(n, [e]);
133
+ const s = l(this, k).get(n);
134
+ s ? s.push(e) : l(this, k).set(n, [e]);
136
135
  }
137
136
  this.notify({ type: "added", mutation: e });
138
137
  }
@@ -140,12 +139,12 @@ var D, Oe, un = (Oe = class extends Re {
140
139
  if (l(this, O).delete(e)) {
141
140
  const n = W(e);
142
141
  if (typeof n == "string") {
143
- const s = l(this, S).get(n);
142
+ const s = l(this, k).get(n);
144
143
  if (s)
145
144
  if (s.length > 1) {
146
145
  const a = s.indexOf(e);
147
146
  a !== -1 && s.splice(a, 1);
148
- } else s[0] === e && l(this, S).delete(n);
147
+ } else s[0] === e && l(this, k).delete(n);
149
148
  }
150
149
  }
151
150
  this.notify({ type: "removed", mutation: e });
@@ -153,8 +152,8 @@ var D, Oe, un = (Oe = class extends Re {
153
152
  canRun(e) {
154
153
  const n = W(e);
155
154
  if (typeof n == "string") {
156
- const s = l(this, S).get(n), a = s == null ? void 0 : s.find(
157
- (o) => o.state.status === "pending"
155
+ const s = l(this, k).get(n), a = s == null ? void 0 : s.find(
156
+ (i) => i.state.status === "pending"
158
157
  );
159
158
  return !a || a === e;
160
159
  } else
@@ -164,7 +163,7 @@ var D, Oe, un = (Oe = class extends Re {
164
163
  var s;
165
164
  const n = W(e);
166
165
  if (typeof n == "string") {
167
- const a = (s = l(this, S).get(n)) == null ? void 0 : s.find((o) => o !== e && o.state.isPaused);
166
+ const a = (s = l(this, k).get(n)) == null ? void 0 : s.find((i) => i !== e && i.state.isPaused);
168
167
  return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
169
168
  } else
170
169
  return Promise.resolve();
@@ -173,7 +172,7 @@ var D, Oe, un = (Oe = class extends Re {
173
172
  w.batch(() => {
174
173
  l(this, O).forEach((e) => {
175
174
  this.notify({ type: "removed", mutation: e });
176
- }), l(this, O).clear(), l(this, S).clear();
175
+ }), l(this, O).clear(), l(this, k).clear();
177
176
  });
178
177
  }
179
178
  getAll() {
@@ -182,11 +181,11 @@ var D, Oe, un = (Oe = class extends Re {
182
181
  find(e) {
183
182
  const n = { exact: !0, ...e };
184
183
  return this.getAll().find(
185
- (s) => pe(n, s)
184
+ (s) => je(n, s)
186
185
  );
187
186
  }
188
187
  findAll(e = {}) {
189
- return this.getAll().filter((n) => pe(e, n));
188
+ return this.getAll().filter((n) => je(e, n));
190
189
  }
191
190
  notify(e) {
192
191
  w.batch(() => {
@@ -203,67 +202,67 @@ var D, Oe, un = (Oe = class extends Re {
203
202
  )
204
203
  );
205
204
  }
206
- }, O = new WeakMap(), S = new WeakMap(), Y = new WeakMap(), Ee);
205
+ }, O = new WeakMap(), k = new WeakMap(), Y = new WeakMap(), Te);
207
206
  function W(t) {
208
207
  var e;
209
208
  return (e = t.options.scope) == null ? void 0 : e.id;
210
209
  }
211
- function Ce(t) {
210
+ function Me(t) {
212
211
  return {
213
212
  onFetch: (e, n) => {
214
- var m, f, h, x, v;
215
- const s = e.options, a = (h = (f = (m = e.fetchOptions) == null ? void 0 : m.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : h.direction, o = ((x = e.state.data) == null ? void 0 : x.pages) || [], i = ((v = e.state.data) == null ? void 0 : v.pageParams) || [];
213
+ var g, f, h, x, v;
214
+ const s = e.options, a = (h = (f = (g = e.fetchOptions) == null ? void 0 : g.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : h.direction, i = ((x = e.state.data) == null ? void 0 : x.pages) || [], o = ((v = e.state.data) == null ? void 0 : v.pageParams) || [];
216
215
  let u = { pages: [], pageParams: [] }, d = 0;
217
216
  const c = async () => {
218
- let g = !1;
217
+ let m = !1;
219
218
  const C = (b) => {
220
219
  Object.defineProperty(b, "signal", {
221
220
  enumerable: !0,
222
- get: () => (e.signal.aborted ? g = !0 : e.signal.addEventListener("abort", () => {
223
- g = !0;
221
+ get: () => (e.signal.aborted ? m = !0 : e.signal.addEventListener("abort", () => {
222
+ m = !0;
224
223
  }), e.signal)
225
224
  });
226
- }, X = yt(e.options, e.fetchOptions), H = async (b, k, L) => {
227
- if (g)
225
+ }, X = wt(e.options, e.fetchOptions), L = async (b, S, K) => {
226
+ if (m)
228
227
  return Promise.reject();
229
- if (k == null && b.pages.length)
228
+ if (S == null && b.pages.length)
230
229
  return Promise.resolve(b);
231
230
  const V = {
232
231
  queryKey: e.queryKey,
233
- pageParam: k,
234
- direction: L ? "backward" : "forward",
232
+ pageParam: S,
233
+ direction: K ? "backward" : "forward",
235
234
  meta: e.options.meta
236
235
  };
237
236
  C(V);
238
- const it = await X(
237
+ const ot = await X(
239
238
  V
240
- ), { maxPages: de } = e.options, he = L ? vt : bt;
239
+ ), { maxPages: me } = e.options, pe = K ? Pt : Ct;
241
240
  return {
242
- pages: he(b.pages, it, de),
243
- pageParams: he(b.pageParams, k, de)
241
+ pages: pe(b.pages, ot, me),
242
+ pageParams: pe(b.pageParams, S, me)
244
243
  };
245
244
  };
246
- if (a && o.length) {
247
- const b = a === "backward", k = b ? hn : Se, L = {
248
- pages: o,
249
- pageParams: i
250
- }, V = k(s, L);
251
- u = await H(L, V, b);
245
+ if (a && i.length) {
246
+ const b = a === "backward", S = b ? fn : Ne, K = {
247
+ pages: i,
248
+ pageParams: o
249
+ }, V = S(s, K);
250
+ u = await L(K, V, b);
252
251
  } else {
253
- const b = t ?? o.length;
252
+ const b = t ?? i.length;
254
253
  do {
255
- const k = d === 0 ? i[0] ?? s.initialPageParam : Se(s, u);
256
- if (d > 0 && k == null)
254
+ const S = d === 0 ? o[0] ?? s.initialPageParam : Ne(s, u);
255
+ if (d > 0 && S == null)
257
256
  break;
258
- u = await H(u, k), d++;
257
+ u = await L(u, S), d++;
259
258
  } while (d < b);
260
259
  }
261
260
  return u;
262
261
  };
263
262
  e.options.persister ? e.fetchFn = () => {
264
- var g, C;
265
- return (C = (g = e.options).persister) == null ? void 0 : C.call(
266
- g,
263
+ var m, C;
264
+ return (C = (m = e.options).persister) == null ? void 0 : C.call(
265
+ m,
267
266
  c,
268
267
  {
269
268
  queryKey: e.queryKey,
@@ -276,7 +275,7 @@ function Ce(t) {
276
275
  }
277
276
  };
278
277
  }
279
- function Se(t, { pages: e, pageParams: n }) {
278
+ function Ne(t, { pages: e, pageParams: n }) {
280
279
  const s = e.length - 1;
281
280
  return e.length > 0 ? t.getNextPageParam(
282
281
  e[s],
@@ -285,38 +284,38 @@ function Se(t, { pages: e, pageParams: n }) {
285
284
  n
286
285
  ) : void 0;
287
286
  }
288
- function hn(t, { pages: e, pageParams: n }) {
287
+ function fn(t, { pages: e, pageParams: n }) {
289
288
  var s;
290
289
  return e.length > 0 ? (s = t.getPreviousPageParam) == null ? void 0 : s.call(t, e[0], e, n[0], n) : void 0;
291
290
  }
292
- var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
291
+ var p, A, Q, T, q, I, R, F, qe, gn = (qe = class {
293
292
  constructor(t = {}) {
294
293
  j(this, p);
295
- j(this, E);
296
294
  j(this, A);
295
+ j(this, Q);
297
296
  j(this, T);
298
297
  j(this, q);
299
- j(this, Q);
298
+ j(this, I);
300
299
  j(this, R);
301
300
  j(this, F);
302
- y(this, p, t.queryCache || new un()), y(this, E, t.mutationCache || new dn()), y(this, A, t.defaultOptions || {}), y(this, T, /* @__PURE__ */ new Map()), y(this, q, /* @__PURE__ */ new Map()), y(this, Q, 0);
301
+ y(this, p, t.queryCache || new dn()), y(this, A, t.mutationCache || new hn()), y(this, Q, t.defaultOptions || {}), y(this, T, /* @__PURE__ */ new Map()), y(this, q, /* @__PURE__ */ new Map()), y(this, I, 0);
303
302
  }
304
303
  mount() {
305
- _(this, Q)._++, l(this, Q) === 1 && (y(this, R, jt.subscribe(async (t) => {
304
+ _(this, I)._++, l(this, I) === 1 && (y(this, R, kt.subscribe(async (t) => {
306
305
  t && (await this.resumePausedMutations(), l(this, p).onFocus());
307
- })), y(this, F, xe.subscribe(async (t) => {
306
+ })), y(this, F, we.subscribe(async (t) => {
308
307
  t && (await this.resumePausedMutations(), l(this, p).onOnline());
309
308
  })));
310
309
  }
311
310
  unmount() {
312
311
  var t, e;
313
- _(this, Q)._--, l(this, Q) === 0 && ((t = l(this, R)) == null || t.call(this), y(this, R, void 0), (e = l(this, F)) == null || e.call(this), y(this, F, void 0));
312
+ _(this, I)._--, l(this, I) === 0 && ((t = l(this, R)) == null || t.call(this), y(this, R, void 0), (e = l(this, F)) == null || e.call(this), y(this, F, void 0));
314
313
  }
315
314
  isFetching(t) {
316
315
  return l(this, p).findAll({ ...t, fetchStatus: "fetching" }).length;
317
316
  }
318
317
  isMutating(t) {
319
- return l(this, E).findAll({ ...t, status: "pending" }).length;
318
+ return l(this, A).findAll({ ...t, status: "pending" }).length;
320
319
  }
321
320
  getQueryData(t) {
322
321
  var n;
@@ -325,7 +324,7 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
325
324
  }
326
325
  ensureQueryData(t) {
327
326
  const e = this.defaultQueryOptions(t), n = l(this, p).build(this, e), s = n.state.data;
328
- return s === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && n.isStaleByTime(ye(e.staleTime, n)) && this.prefetchQuery(e), Promise.resolve(s));
327
+ return s === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && n.isStaleByTime(Pe(e.staleTime, n)) && this.prefetchQuery(e), Promise.resolve(s));
329
328
  }
330
329
  getQueriesData(t) {
331
330
  return l(this, p).findAll(t).map(({ queryKey: e, state: n }) => {
@@ -336,9 +335,9 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
336
335
  setQueryData(t, e, n) {
337
336
  const s = this.defaultQueryOptions({ queryKey: t }), a = l(this, p).get(
338
337
  s.queryHash
339
- ), o = a == null ? void 0 : a.state.data, i = wt(e, o);
340
- if (i !== void 0)
341
- return l(this, p).build(this, s).setData(i, { ...n, manual: !0 });
338
+ ), i = a == null ? void 0 : a.state.data, o = St(e, i);
339
+ if (o !== void 0)
340
+ return l(this, p).build(this, s).setData(o, { ...n, manual: !0 });
342
341
  }
343
342
  setQueriesData(t, e, n) {
344
343
  return w.batch(
@@ -397,8 +396,8 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
397
396
  cancelRefetch: e.cancelRefetch ?? !0
398
397
  }, s = w.batch(
399
398
  () => l(this, p).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
400
- let o = a.fetch(void 0, n);
401
- return n.throwOnError || (o = o.catch(N)), a.state.fetchStatus === "paused" ? Promise.resolve() : o;
399
+ let i = a.fetch(void 0, n);
400
+ return n.throwOnError || (i = i.catch(N)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
402
401
  })
403
402
  );
404
403
  return Promise.all(s).then(N);
@@ -408,38 +407,38 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
408
407
  e.retry === void 0 && (e.retry = !1);
409
408
  const n = l(this, p).build(this, e);
410
409
  return n.isStaleByTime(
411
- ye(e.staleTime, n)
410
+ Pe(e.staleTime, n)
412
411
  ) ? n.fetch(e) : Promise.resolve(n.state.data);
413
412
  }
414
413
  prefetchQuery(t) {
415
414
  return this.fetchQuery(t).then(N).catch(N);
416
415
  }
417
416
  fetchInfiniteQuery(t) {
418
- return t.behavior = Ce(t.pages), this.fetchQuery(t);
417
+ return t.behavior = Me(t.pages), this.fetchQuery(t);
419
418
  }
420
419
  prefetchInfiniteQuery(t) {
421
420
  return this.fetchInfiniteQuery(t).then(N).catch(N);
422
421
  }
423
422
  ensureInfiniteQueryData(t) {
424
- return t.behavior = Ce(t.pages), this.ensureQueryData(t);
423
+ return t.behavior = Me(t.pages), this.ensureQueryData(t);
425
424
  }
426
425
  resumePausedMutations() {
427
- return xe.isOnline() ? l(this, E).resumePausedMutations() : Promise.resolve();
426
+ return we.isOnline() ? l(this, A).resumePausedMutations() : Promise.resolve();
428
427
  }
429
428
  getQueryCache() {
430
429
  return l(this, p);
431
430
  }
432
431
  getMutationCache() {
433
- return l(this, E);
432
+ return l(this, A);
434
433
  }
435
434
  getDefaultOptions() {
436
- return l(this, A);
435
+ return l(this, Q);
437
436
  }
438
437
  setDefaultOptions(t) {
439
- y(this, A, t);
438
+ y(this, Q, t);
440
439
  }
441
440
  setQueryDefaults(t, e) {
442
- l(this, T).set(ve(t), {
441
+ l(this, T).set(Ce(t), {
443
442
  queryKey: t,
444
443
  defaultOptions: e
445
444
  });
@@ -447,11 +446,11 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
447
446
  getQueryDefaults(t) {
448
447
  const e = [...l(this, T).values()], n = {};
449
448
  return e.forEach((s) => {
450
- be(t, s.queryKey) && Object.assign(n, s.defaultOptions);
449
+ ke(t, s.queryKey) && Object.assign(n, s.defaultOptions);
451
450
  }), n;
452
451
  }
453
452
  setMutationDefaults(t, e) {
454
- l(this, q).set(ve(t), {
453
+ l(this, q).set(Ce(t), {
455
454
  mutationKey: t,
456
455
  defaultOptions: e
457
456
  });
@@ -460,44 +459,44 @@ var p, E, A, T, q, Q, R, F, Ae, fn = (Ae = class {
460
459
  const e = [...l(this, q).values()];
461
460
  let n = {};
462
461
  return e.forEach((s) => {
463
- be(t, s.mutationKey) && (n = { ...n, ...s.defaultOptions });
462
+ ke(t, s.mutationKey) && (n = { ...n, ...s.defaultOptions });
464
463
  }), n;
465
464
  }
466
465
  defaultQueryOptions(t) {
467
466
  if (t._defaulted)
468
467
  return t;
469
468
  const e = {
470
- ...l(this, A).queries,
469
+ ...l(this, Q).queries,
471
470
  ...this.getQueryDefaults(t.queryKey),
472
471
  ...t,
473
472
  _defaulted: !0
474
473
  };
475
- return e.queryHash || (e.queryHash = Fe(
474
+ return e.queryHash || (e.queryHash = He(
476
475
  e.queryKey,
477
476
  e
478
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Pt && (e.enabled = !1), e;
477
+ )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Dt && (e.enabled = !1), e;
479
478
  }
480
479
  defaultMutationOptions(t) {
481
480
  return t != null && t._defaulted ? t : {
482
- ...l(this, A).mutations,
481
+ ...l(this, Q).mutations,
483
482
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
484
483
  ...t,
485
484
  _defaulted: !0
486
485
  };
487
486
  }
488
487
  clear() {
489
- l(this, p).clear(), l(this, E).clear();
488
+ l(this, p).clear(), l(this, A).clear();
490
489
  }
491
- }, p = new WeakMap(), E = new WeakMap(), A = new WeakMap(), T = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), R = new WeakMap(), F = new WeakMap(), Ae);
490
+ }, p = new WeakMap(), A = new WeakMap(), Q = new WeakMap(), T = new WeakMap(), q = new WeakMap(), I = new WeakMap(), R = new WeakMap(), F = new WeakMap(), qe);
492
491
  function mn(t) {
493
492
  return t;
494
493
  }
495
- function ke(t, e, n) {
494
+ function Oe(t, e, n) {
496
495
  var d, c;
497
496
  if (typeof e != "object" || e === null)
498
497
  return;
499
- const s = t.getMutationCache(), a = t.getQueryCache(), o = ((d = n == null ? void 0 : n.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? mn, i = e.mutations || [], u = e.queries || [];
500
- i.forEach(({ state: m, ...f }) => {
498
+ const s = t.getMutationCache(), a = t.getQueryCache(), i = ((d = n == null ? void 0 : n.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? mn, o = e.mutations || [], u = e.queries || [];
499
+ o.forEach(({ state: g, ...f }) => {
501
500
  var h, x;
502
501
  s.build(
503
502
  t,
@@ -506,27 +505,27 @@ function ke(t, e, n) {
506
505
  ...(x = n == null ? void 0 : n.defaultOptions) == null ? void 0 : x.mutations,
507
506
  ...f
508
507
  },
509
- m
508
+ g
510
509
  );
511
- }), u.forEach(({ queryKey: m, state: f, queryHash: h, meta: x, promise: v }) => {
512
- var X, H;
513
- let g = a.get(h);
514
- const C = f.data === void 0 ? f.data : o(f.data);
515
- if (g) {
516
- if (g.state.dataUpdatedAt < f.dataUpdatedAt) {
517
- const { fetchStatus: b, ...k } = f;
518
- g.setState({
519
- ...k,
510
+ }), u.forEach(({ queryKey: g, state: f, queryHash: h, meta: x, promise: v }) => {
511
+ var X, L;
512
+ let m = a.get(h);
513
+ const C = f.data === void 0 ? f.data : i(f.data);
514
+ if (m) {
515
+ if (m.state.dataUpdatedAt < f.dataUpdatedAt) {
516
+ const { fetchStatus: b, ...S } = f;
517
+ m.setState({
518
+ ...S,
520
519
  data: C
521
520
  });
522
521
  }
523
522
  } else
524
- g = a.build(
523
+ m = a.build(
525
524
  t,
526
525
  {
527
526
  ...(X = t.getDefaultOptions().hydrate) == null ? void 0 : X.queries,
528
- ...(H = n == null ? void 0 : n.defaultOptions) == null ? void 0 : H.queries,
529
- queryKey: m,
527
+ ...(L = n == null ? void 0 : n.defaultOptions) == null ? void 0 : L.queries,
528
+ queryKey: g,
530
529
  queryHash: h,
531
530
  meta: x
532
531
  },
@@ -539,44 +538,61 @@ function ke(t, e, n) {
539
538
  }
540
539
  );
541
540
  if (v) {
542
- const b = Promise.resolve(v).then(o);
543
- g.fetch(void 0, { initialPromise: b });
541
+ const b = Promise.resolve(v).then(i);
542
+ m.fetch(void 0, { initialPromise: b });
544
543
  }
545
544
  });
546
545
  }
547
- var gn = ({
546
+ var pn = ({
548
547
  children: t,
549
548
  options: e = {},
550
549
  state: n,
551
550
  queryClient: s
552
551
  }) => {
553
- const a = Ct(s), [o, i] = K.useState(), u = K.useRef(e);
554
- return u.current = e, K.useMemo(() => {
552
+ const a = Mt(s), [i, o] = $.useState(), u = $.useRef(e);
553
+ return u.current = e, $.useMemo(() => {
555
554
  if (n) {
556
555
  if (typeof n != "object")
557
556
  return;
558
- const d = a.getQueryCache(), c = n.queries || [], m = [], f = [];
557
+ const d = a.getQueryCache(), c = n.queries || [], g = [], f = [];
559
558
  for (const h of c) {
560
559
  const x = d.get(h.queryHash);
561
560
  if (!x)
562
- m.push(h);
561
+ g.push(h);
563
562
  else {
564
- const v = h.state.dataUpdatedAt > x.state.dataUpdatedAt, g = o == null ? void 0 : o.find(
563
+ const v = h.state.dataUpdatedAt > x.state.dataUpdatedAt, m = i == null ? void 0 : i.find(
565
564
  (C) => C.queryHash === h.queryHash
566
565
  );
567
- v && (!g || h.state.dataUpdatedAt > g.state.dataUpdatedAt) && f.push(h);
566
+ v && (!m || h.state.dataUpdatedAt > m.state.dataUpdatedAt) && f.push(h);
568
567
  }
569
568
  }
570
- m.length > 0 && ke(a, { queries: m }, u.current), f.length > 0 && i(
569
+ g.length > 0 && Oe(a, { queries: g }, u.current), f.length > 0 && o(
571
570
  (h) => h ? [...h, ...f] : f
572
571
  );
573
572
  }
574
- }, [a, o, n]), K.useEffect(() => {
575
- o && (ke(a, { queries: o }, u.current), i(void 0));
576
- }, [a, o]), t;
573
+ }, [a, i, n]), $.useEffect(() => {
574
+ i && (Oe(a, { queries: i }, u.current), o(void 0));
575
+ }, [a, i]), t;
577
576
  };
578
- function pn({ error: t }) {
579
- return /* @__PURE__ */ r.jsx(qe, { error: t });
577
+ const xn = () => {
578
+ var a;
579
+ const t = z(), e = E(), n = oe(), s = (a = e.options.protectedRoutes) == null ? void 0 : a.some(
580
+ (i) => ut({ path: i, end: !0 }, n.pathname)
581
+ );
582
+ if (B(() => {
583
+ var i;
584
+ s && !t.isAuthenticated && ((i = e.authentication) == null || i.signIn());
585
+ }, [s, t.isAuthenticated, e.authentication]), s && !t.isAuthenticated)
586
+ return null;
587
+ if (s && !t.isAuthEnabled)
588
+ throw new $e("Authentication is not enabled", {
589
+ title: "Authentication is not enabled",
590
+ developerHint: "To use protectedRoutes you need authentication to be enabled"
591
+ });
592
+ return /* @__PURE__ */ r.jsx(le, {});
593
+ };
594
+ function yn({ error: t }) {
595
+ return /* @__PURE__ */ r.jsx(Ze, { error: t });
580
596
  }
581
597
  /**
582
598
  * react-router v7.1.3
@@ -588,44 +604,44 @@ function pn({ error: t }) {
588
604
  *
589
605
  * @license MIT
590
606
  */
591
- function xn(t) {
592
- return /* @__PURE__ */ K.createElement(ct, { flushSync: qt.flushSync, ...t });
607
+ function vn(t) {
608
+ return /* @__PURE__ */ $.createElement(dt, { flushSync: Ft.flushSync, ...t });
593
609
  }
594
- const yn = new fn({
610
+ const ae = de({ stagger: !1 }), bn = new gn({
595
611
  defaultOptions: {
596
612
  queries: {
597
613
  staleTime: 1e3 * 60 * 5
598
614
  }
599
615
  }
600
- }), vn = ({
616
+ }), jn = ({
601
617
  router: t,
602
618
  hydrate: e = !1
603
- }) => /* @__PURE__ */ r.jsx(He, { children: /* @__PURE__ */ r.jsx(ze, { client: yn, children: /* @__PURE__ */ r.jsx(gn, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ r.jsx(Qe, { children: /* @__PURE__ */ r.jsx(re.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ r.jsx(xn, { router: t }) }) }) }) }) }), bn = ({
619
+ }) => /* @__PURE__ */ r.jsx(Fe, { children: /* @__PURE__ */ r.jsx(Le, { client: bn, children: /* @__PURE__ */ r.jsx(pn, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ r.jsx(Re, { children: /* @__PURE__ */ r.jsx(ae.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ r.jsx(vn, { router: t }) }) }) }) }) }), wn = ({
604
620
  router: t,
605
621
  context: e,
606
622
  queryClient: n,
607
623
  helmetContext: s
608
- }) => /* @__PURE__ */ r.jsx(He, { children: /* @__PURE__ */ r.jsx(ze, { client: n, children: /* @__PURE__ */ r.jsx(Qe, { context: s, children: /* @__PURE__ */ r.jsx(ut, { router: t, context: e }) }) }) });
609
- var $ = { exports: {} }, jn = $.exports, De;
610
- function wn() {
611
- return De || (De = 1, function(t, e) {
624
+ }) => /* @__PURE__ */ r.jsx(Fe, { children: /* @__PURE__ */ r.jsx(Le, { client: n, children: /* @__PURE__ */ r.jsx(Re, { context: s, children: /* @__PURE__ */ r.jsx(ht, { router: t, context: e }) }) }) });
625
+ var Z = { exports: {} }, Pn = Z.exports, Ee;
626
+ function Cn() {
627
+ return Ee || (Ee = 1, function(t, e) {
612
628
  (function(n, s) {
613
- s(e, Ot);
614
- })(jn, function(n, s) {
629
+ s(e, mt);
630
+ })(Pn, function(n, s) {
615
631
  const a = {
616
632
  delay: 500,
617
633
  minDuration: 200,
618
634
  ssr: !0
619
635
  };
620
- function o() {
636
+ function i() {
621
637
  const [u, d] = s.useState(!0);
622
638
  return s.useEffect(() => {
623
639
  d(!1);
624
640
  }, []), u;
625
641
  }
626
- function i(u, d) {
642
+ function o(u, d) {
627
643
  d = Object.assign({}, a, d);
628
- const c = o() && d.ssr, m = c && u ? "DISPLAY" : "IDLE", [f, h] = s.useState(m), x = s.useRef(null);
644
+ const c = i() && d.ssr, g = c && u ? "DISPLAY" : "IDLE", [f, h] = s.useState(g), x = s.useRef(null);
629
645
  return s.useEffect(() => {
630
646
  if (u && (f === "IDLE" || c)) {
631
647
  clearTimeout(x.current);
@@ -641,44 +657,44 @@ function wn() {
641
657
  !u && f !== "DISPLAY" && (clearTimeout(x.current), h("IDLE"));
642
658
  }, [u, f, d.delay, d.minDuration, c]), s.useEffect(() => () => clearTimeout(x.current), []), f === "DISPLAY" || f === "EXPIRE";
643
659
  }
644
- n.defaultOptions = a, n.useSpinDelay = i;
660
+ n.defaultOptions = a, n.useSpinDelay = o;
645
661
  });
646
- }($, $.exports)), $.exports;
662
+ }(Z, Z.exports)), Z.exports;
647
663
  }
648
- var Pn = wn();
649
- const Cn = () => {
650
- const t = Ie(), e = ce(t.pathname);
651
- U(() => {
664
+ var kn = Cn();
665
+ const Sn = () => {
666
+ const t = oe(), e = he(t.pathname);
667
+ B(() => {
652
668
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
653
669
  }, [t.pathname]);
654
670
  };
655
- function Sn({
671
+ function Dn({
656
672
  className: t,
657
673
  ...e
658
674
  }) {
659
675
  return /* @__PURE__ */ r.jsx(
660
676
  "div",
661
677
  {
662
- className: B("animate-pulse rounded-md bg-muted", t),
678
+ className: U("animate-pulse rounded-md bg-muted", t),
663
679
  ...e
664
680
  }
665
681
  );
666
682
  }
667
- const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", Dn = (t) => "getRoutes" in t && typeof t.getRoutes == "function", Mn = (t) => "renderSearch" in t && typeof t.renderSearch == "function", Nn = (t) => "initialize" in t && typeof t.initialize == "function", On = (t) => "getHead" in t && typeof t.getHead == "function", En = (t) => "getMdxComponents" in t && typeof t.getMdxComponents == "function", An = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Me = {
683
+ const Mn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", Nn = (t) => "getRoutes" in t && typeof t.getRoutes == "function", On = (t) => "renderSearch" in t && typeof t.renderSearch == "function", En = (t) => "initialize" in t && typeof t.initialize == "function", An = (t) => "getHead" in t && typeof t.getHead == "function", Qn = (t) => "getMdxComponents" in t && typeof t.getMdxComponents == "function", In = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ae = {
668
684
  info: "bg-blue-500",
669
685
  note: "bg-gray-500",
670
686
  tip: "bg-green-600",
671
687
  caution: "bg-orange-500",
672
688
  danger: "bg-rose-500"
673
- }, Qn = () => {
674
- const { page: t } = I(), [e, n] = z(!0);
689
+ }, Tn = () => {
690
+ const { page: t } = E(), [e, n] = H(!0);
675
691
  if (!(t != null && t.banner) || !e)
676
692
  return /* @__PURE__ */ r.jsx("style", { children: ":root { --banner-height: 0px; }" });
677
- const s = t.banner.color && t.banner.color in Me ? Me[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = s ? {} : { backgroundColor: t.banner.color };
693
+ const s = t.banner.color && t.banner.color in Ae ? Ae[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = s ? {} : { backgroundColor: t.banner.color };
678
694
  return /* @__PURE__ */ r.jsxs(
679
695
  "div",
680
696
  {
681
- className: B(
697
+ className: U(
682
698
  "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
683
699
  s
684
700
  ),
@@ -691,26 +707,26 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
691
707
  type: "button",
692
708
  className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
693
709
  onClick: () => n(!1),
694
- children: /* @__PURE__ */ r.jsx(Rt, { size: 16 })
710
+ children: /* @__PURE__ */ r.jsx(zt, { size: 16 })
695
711
  }
696
712
  )
697
713
  ]
698
714
  }
699
715
  );
700
- }, We = ({ className: t }) => {
701
- const e = I(), [n, s] = z(!1), a = Et(() => s(!1), []);
702
- U(() => {
716
+ }, Ge = ({ className: t }) => {
717
+ const e = E(), [n, s] = H(!1), a = pt(() => s(!1), []);
718
+ B(() => {
703
719
  if (n)
704
720
  return;
705
- function i(u) {
721
+ function o(u) {
706
722
  u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), s(!0));
707
723
  }
708
- return window.addEventListener("keydown", i), () => {
709
- window.removeEventListener("keydown", i);
724
+ return window.addEventListener("keydown", o), () => {
725
+ window.removeEventListener("keydown", o);
710
726
  };
711
727
  }, [n, s]);
712
- const o = e.plugins.find(Mn);
713
- return o ? /* @__PURE__ */ r.jsxs("div", { className: t, children: [
728
+ const i = e.plugins.find(On);
729
+ return i ? /* @__PURE__ */ r.jsxs("div", { className: t, children: [
714
730
  /* @__PURE__ */ r.jsxs(
715
731
  "button",
716
732
  {
@@ -719,83 +735,82 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
719
735
  className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
720
736
  children: [
721
737
  /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
722
- /* @__PURE__ */ r.jsx(Ft, { size: 14 }),
738
+ /* @__PURE__ */ r.jsx(Bt, { size: 14 }),
723
739
  "Search"
724
740
  ] }),
725
741
  /* @__PURE__ */ r.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
726
742
  ]
727
743
  }
728
744
  ),
729
- /* @__PURE__ */ r.jsx(ue, { fallback: null, children: o.renderSearch({
745
+ /* @__PURE__ */ r.jsx(fe, { fallback: null, children: i.renderSearch({
730
746
  isOpen: n,
731
747
  onClose: a
732
748
  }) })
733
749
  ] }) : null;
734
750
  }, Je = () => {
735
- const { resolvedTheme: t, setTheme: e } = an(), n = t === "dark" ? zt : Bt;
736
- return /* @__PURE__ */ r.jsx(
737
- ae,
751
+ const { resolvedTheme: t, setTheme: e } = ln(), n = t === "dark" ? Ht : Lt;
752
+ return /* @__PURE__ */ r.jsx(ge, { fallback: /* @__PURE__ */ r.jsx(ee, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ r.jsx(
753
+ ee,
738
754
  {
739
755
  variant: "ghost",
740
756
  size: "icon",
741
757
  "aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
742
- className: B(t ? "opacity-100" : "opacity-0"),
743
758
  onClick: () => e(t === "dark" ? "light" : "dark"),
744
759
  children: /* @__PURE__ */ r.jsx(n, { size: 18 })
745
760
  }
746
- );
747
- }, Ge = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", In = () => {
748
- const { topNavigation: t } = I(), { isAuthenticated: e } = Z();
749
- return t.length <= 1 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(ue, { children: /* @__PURE__ */ r.jsx("nav", { className: "hidden lg:block text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(Ge(e)).map((n) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(et, { ...n }) }, n.id)) }) }) });
750
- }, et = ({
761
+ ) });
762
+ }, et = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", qn = () => {
763
+ const { topNavigation: t } = E(), { isAuthenticated: e } = z();
764
+ return t.length <= 1 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(fe, { children: /* @__PURE__ */ r.jsx("nav", { className: "hidden lg:block text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(et(e)).map((n) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(tt, { ...n }) }, n.id)) }) }) });
765
+ }, tt = ({
751
766
  id: t,
752
767
  label: e,
753
768
  default: n
754
769
  }) => {
755
770
  var c;
756
- const { sidebars: s } = I(), a = s[t], o = Be(), i = !!oe().location, u = ((c = o.topNavItem) == null ? void 0 : c.id) === t && !i, d = n ?? (a ? St(a, (m) => {
757
- if (m.type === "doc") return se(m.id);
758
- }) : se(t));
771
+ const { sidebars: s } = E(), a = s[t], i = Ke(), o = !!ce().location, u = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, d = n ?? (a ? Nt(a, (g) => {
772
+ if (g.type === "doc") return re(g.id);
773
+ }) : re(t));
759
774
  if (!d)
760
- throw new cn("Page not found.", {
775
+ throw new $e("Page not found.", {
761
776
  developerHint: `No links found in top navigation for '${t}'. Check that the sidebar isn't empty or that a default link is set.`
762
777
  });
763
778
  return (
764
779
  // We don't use isActive here because it has to be inside the sidebar,
765
780
  // the top nav id doesn't necessarily start with the sidebar id
766
781
  /* @__PURE__ */ r.jsx(
767
- dt,
782
+ ft,
768
783
  {
769
- className: ({ isPending: m }) => ln(
784
+ className: ({ isPending: g }) => un(
770
785
  "block lg:py-3.5 font-medium -mb-px",
771
- u || m ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
786
+ u || g ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
772
787
  ),
773
788
  to: d,
774
789
  children: e
775
790
  }
776
791
  )
777
792
  );
778
- }, Tn = () => {
779
- const { topNavigation: t } = I(), { isAuthenticated: e } = Z(), [n, s] = z(!1);
793
+ }, Rn = () => {
794
+ const { topNavigation: t } = E(), { isAuthenticated: e } = z(), [n, s] = H(!1);
780
795
  return /* @__PURE__ */ r.jsxs(
781
- Ze,
796
+ Ue,
782
797
  {
783
798
  direction: "right",
784
799
  open: n,
785
800
  onOpenChange: (a) => s(a),
786
801
  children: [
787
- /* @__PURE__ */ r.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ r.jsx(Ue, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Ht, { size: 22 }) }) }),
802
+ /* @__PURE__ */ r.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ r.jsx(Ye, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Kt, { size: 22 }) }) }),
788
803
  /* @__PURE__ */ r.jsx(
789
- Ye,
804
+ Xe,
790
805
  {
791
806
  className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
792
807
  "aria-describedby": void 0,
793
808
  children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
794
- /* @__PURE__ */ r.jsx(_e, { children: /* @__PURE__ */ r.jsx(Xe, { children: "Navigation" }) }),
795
- /* @__PURE__ */ r.jsx(We, { className: "flex p-4" }),
809
+ /* @__PURE__ */ r.jsx(We, { children: /* @__PURE__ */ r.jsx(Ve, { children: "Navigation" }) }),
810
+ /* @__PURE__ */ r.jsx(Ge, { className: "flex p-4" }),
796
811
  /* @__PURE__ */ r.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
797
812
  /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Je, {}) }),
798
- t.filter(Ge(e)).map((a) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ r.jsx(et, { ...a }) }) }, a.label))
813
+ t.filter(et(e)).map((a) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ r.jsx(tt, { ...a }) }) }, a.label))
799
814
  ] })
800
815
  ] })
801
816
  }
@@ -803,31 +818,31 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
803
818
  ]
804
819
  }
805
820
  );
806
- }, G = ({ item: t }) => t.children ? /* @__PURE__ */ r.jsxs(en, { children: [
807
- /* @__PURE__ */ r.jsx(tn, { children: t.label }),
808
- /* @__PURE__ */ r.jsx(nn, { children: /* @__PURE__ */ r.jsx(sn, { children: t.children.map((e, n) => (
821
+ }, J = ({ item: t }) => t.children ? /* @__PURE__ */ r.jsxs(nn, { children: [
822
+ /* @__PURE__ */ r.jsx(sn, { children: t.label }),
823
+ /* @__PURE__ */ r.jsx(rn, { children: /* @__PURE__ */ r.jsx(an, { children: t.children.map((e, n) => (
809
824
  // eslint-disable-next-line react/no-array-index-key
810
- /* @__PURE__ */ r.jsx(G, { item: e }, n)
825
+ /* @__PURE__ */ r.jsx(J, { item: e }, n)
811
826
  )) }) })
812
- ] }, t.label) : /* @__PURE__ */ r.jsx(le, { to: t.path ?? "", children: /* @__PURE__ */ r.jsxs(rn, { className: "flex gap-2", children: [
827
+ ] }, t.label) : /* @__PURE__ */ r.jsx(ue, { to: t.path ?? "", children: /* @__PURE__ */ r.jsxs(on, { className: "flex gap-2", children: [
813
828
  t.icon && /* @__PURE__ */ r.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
814
829
  t.label
815
- ] }, t.label) }), tt = Le(function() {
816
- const e = Z(), { isAuthenticated: n, profile: s, isAuthEnabled: a } = Z(), o = I(), { page: i, plugins: u } = o, d = u.filter((c) => kn(c)).flatMap((c) => c.getProfileMenuItems(o)).sort((c) => c.weight ?? 0);
830
+ ] }, t.label) }), nt = ze(function() {
831
+ const e = z(), { isAuthenticated: n, profile: s, isAuthEnabled: a } = z(), i = E(), { page: o, plugins: u } = i, d = u.filter((c) => Mn(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
817
832
  return /* @__PURE__ */ r.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
818
- /* @__PURE__ */ r.jsx(Qn, {}),
833
+ /* @__PURE__ */ r.jsx(Tn, {}),
819
834
  /* @__PURE__ */ r.jsx("div", { className: "border-b", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl border-l border-r mx-auto grid grid-cols-[1fr_auto] lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center px-4 lg:px-12 h-[--top-header-height]", children: [
820
- /* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(le, { to: "/", children: /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3.5", children: [
821
- (i == null ? void 0 : i.logo) && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
835
+ /* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(ue, { to: "/", children: /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3.5", children: [
836
+ (o == null ? void 0 : o.logo) && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
822
837
  /* @__PURE__ */ r.jsx(
823
838
  "img",
824
839
  {
825
- src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : Pe(
840
+ src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : De(
826
841
  "/",
827
- i.logo.src.light
842
+ o.logo.src.light
828
843
  ),
829
- alt: i.logo.alt ?? i.pageTitle,
830
- style: { width: i.logo.width },
844
+ alt: o.logo.alt ?? o.pageTitle,
845
+ style: { width: o.logo.width },
831
846
  className: "h-10 dark:hidden",
832
847
  loading: "lazy"
833
848
  }
@@ -835,47 +850,47 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
835
850
  /* @__PURE__ */ r.jsx(
836
851
  "img",
837
852
  {
838
- src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : Pe(
853
+ src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : De(
839
854
  "/",
840
- i.logo.src.dark
855
+ o.logo.src.dark
841
856
  ),
842
- alt: i.logo.alt ?? i.pageTitle,
843
- style: { width: i.logo.width },
857
+ alt: o.logo.alt ?? o.pageTitle,
858
+ style: { width: o.logo.width },
844
859
  className: "h-10 hidden dark:block",
845
860
  loading: "lazy"
846
861
  }
847
862
  )
848
863
  ] }),
849
- /* @__PURE__ */ r.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: i == null ? void 0 : i.pageTitle })
864
+ /* @__PURE__ */ r.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
850
865
  ] }) }) }),
851
866
  /* @__PURE__ */ r.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
852
- /* @__PURE__ */ r.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ r.jsx(We, {}) }),
853
- /* @__PURE__ */ r.jsx(Tn, {}),
867
+ /* @__PURE__ */ r.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ r.jsx(Ge, {}) }),
868
+ /* @__PURE__ */ r.jsx(Rn, {}),
854
869
  /* @__PURE__ */ r.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
855
870
  /* @__PURE__ */ r.jsx(M, { name: "head-navigation-start" }),
856
871
  a && /* @__PURE__ */ r.jsx(
857
- $e,
872
+ ge,
858
873
  {
859
- fallback: /* @__PURE__ */ r.jsx(Sn, { className: "rounded h-5 w-24 mr-4" }),
860
- children: n ? Object.values(d).length > 0 && /* @__PURE__ */ r.jsxs(_t, { modal: !1, children: [
861
- /* @__PURE__ */ r.jsx(Wt, { asChild: !0, children: /* @__PURE__ */ r.jsx(ae, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
862
- /* @__PURE__ */ r.jsxs(Jt, { className: "w-56", children: [
863
- /* @__PURE__ */ r.jsxs(Gt, { children: [
874
+ fallback: /* @__PURE__ */ r.jsx(Dn, { className: "rounded h-5 w-24 mr-4" }),
875
+ children: n ? Object.values(d).length > 0 && /* @__PURE__ */ r.jsxs(Gt, { modal: !1, children: [
876
+ /* @__PURE__ */ r.jsx(Jt, { asChild: !0, children: /* @__PURE__ */ r.jsx(ee, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
877
+ /* @__PURE__ */ r.jsxs(en, { className: "w-56", children: [
878
+ /* @__PURE__ */ r.jsxs(tn, { children: [
864
879
  s != null && s.name ? `${s.name}` : "My Account",
865
880
  (s == null ? void 0 : s.email) && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
866
881
  ] }),
867
- d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ r.jsx(te, {}),
868
- d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ r.jsx(G, { item: c }, c.label)),
882
+ d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
883
+ d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label)),
869
884
  d.filter(
870
885
  (c) => !c.category || c.category === "middle"
871
- ).length > 0 && /* @__PURE__ */ r.jsx(te, {}),
886
+ ).length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
872
887
  d.filter(
873
888
  (c) => !c.category || c.category === "middle"
874
- ).map((c) => /* @__PURE__ */ r.jsx(G, { item: c }, c.label)),
875
- d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(te, {}),
876
- d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ r.jsx(G, { item: c }, c.label))
889
+ ).map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label)),
890
+ d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
891
+ d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ r.jsx(J, { item: c }, c.label))
877
892
  ] })
878
- ] }) : /* @__PURE__ */ r.jsx(ae, { variant: "ghost", onClick: () => e.login(), children: "Login" })
893
+ ] }) : /* @__PURE__ */ r.jsx(ee, { variant: "ghost", onClick: () => e.login(), children: "Login" })
879
894
  }
880
895
  ),
881
896
  /* @__PURE__ */ r.jsx(M, { name: "head-navigation-end" }),
@@ -885,15 +900,15 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
885
900
  ] }) }),
886
901
  /* @__PURE__ */ r.jsx("div", { className: "border-b", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto border-l border-r", children: [
887
902
  /* @__PURE__ */ r.jsx(M, { name: "top-navigation-before" }),
888
- /* @__PURE__ */ r.jsx(In, {}),
903
+ /* @__PURE__ */ r.jsx(qn, {}),
889
904
  /* @__PURE__ */ r.jsx(M, { name: "top-navigation-after" })
890
905
  ] }) })
891
906
  ] });
892
- }), nt = At(({ children: t, className: e, pushMainContent: n }, s) => /* @__PURE__ */ r.jsx(
907
+ }), st = xt(({ children: t, className: e, pushMainContent: n }, s) => /* @__PURE__ */ r.jsx(
893
908
  "nav",
894
909
  {
895
910
  "data-navigation": String(n),
896
- className: B(
911
+ className: U(
897
912
  "scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 border-r pr-10",
898
913
  "-mx-[--padding-nav-item] pb-20 pt-[--padding-content-top]",
899
914
  "w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
@@ -904,33 +919,33 @@ const kn = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems ==
904
919
  children: t
905
920
  }
906
921
  ));
907
- nt.displayName = "SidebarWrapper";
908
- const qn = ({
922
+ st.displayName = "SidebarWrapper";
923
+ const Fn = ({
909
924
  onRequestClose: t
910
925
  }) => {
911
- const e = ce(null), n = Be();
926
+ const e = he(null), n = Ke();
912
927
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
913
928
  /* @__PURE__ */ r.jsxs(
914
- nt,
929
+ st,
915
930
  {
916
931
  ref: e,
917
932
  pushMainContent: n.sidebar.length > 0,
918
933
  children: [
919
934
  /* @__PURE__ */ r.jsx(M, { name: "zudoku-before-navigation" }),
920
- n.sidebar.map((s) => /* @__PURE__ */ r.jsx(we, { item: s }, s.label)),
935
+ n.sidebar.map((s) => /* @__PURE__ */ r.jsx(Se, { item: s }, s.label)),
921
936
  /* @__PURE__ */ r.jsx(M, { name: "zudoku-after-navigation" })
922
937
  ]
923
938
  }
924
939
  ),
925
940
  /* @__PURE__ */ r.jsx(
926
- Ye,
941
+ Xe,
927
942
  {
928
943
  className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
929
944
  "aria-describedby": void 0,
930
945
  children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
931
- /* @__PURE__ */ r.jsx(_e, { children: /* @__PURE__ */ r.jsx(Xe, { children: "Sidebar" }) }),
946
+ /* @__PURE__ */ r.jsx(We, { children: /* @__PURE__ */ r.jsx(Ve, { children: "Sidebar" }) }),
932
947
  n.sidebar.map((s) => /* @__PURE__ */ r.jsx(
933
- we,
948
+ Se,
934
949
  {
935
950
  item: s,
936
951
  onRequestClose: t
@@ -941,20 +956,20 @@ const qn = ({
941
956
  }
942
957
  )
943
958
  ] });
944
- }, Ne = () => /* @__PURE__ */ r.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ r.jsx(Ve, {}) }), Rn = ({ children: t }) => {
945
- const e = Ie(), { setActiveAnchor: n } = Ut(), { meta: s, authentication: a } = I();
946
- Kt(), Cn();
947
- const o = ce(e.pathname);
948
- U(() => {
949
- var m;
950
- (m = a == null ? void 0 : a.onPageLoad) == null || m.call(a);
951
- }, [a]), U(() => {
952
- e.pathname !== o.current && n(""), o.current = e.pathname;
959
+ }, Qe = () => /* @__PURE__ */ r.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ r.jsx(_e, {}) }), zn = ({ children: t }) => {
960
+ const e = oe(), { setActiveAnchor: n } = Xt(), { meta: s, authentication: a } = E();
961
+ Zt(), Sn();
962
+ const i = he(e.pathname);
963
+ B(() => {
964
+ var g;
965
+ (g = a == null ? void 0 : a.onPageLoad) == null || g.call(a);
966
+ }, [a]), B(() => {
967
+ e.pathname !== i.current && n(""), i.current = e.pathname;
953
968
  }, [e.pathname, n]);
954
- const i = !!oe().location, u = Pn.useSpinDelay(i, {
969
+ const o = !!ce().location, u = kn.useSpinDelay(o, {
955
970
  delay: 300,
956
971
  minDuration: 500
957
- }), [d, c] = z(!1);
972
+ }), [d, c] = H(!1);
958
973
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
959
974
  !1,
960
975
  /* @__PURE__ */ r.jsxs(ie, { titleTemplate: s == null ? void 0 : s.title, children: [
@@ -962,25 +977,25 @@ const qn = ({
962
977
  (s == null ? void 0 : s.favicon) && /* @__PURE__ */ r.jsx("link", { rel: "icon", href: s.favicon })
963
978
  ] }),
964
979
  /* @__PURE__ */ r.jsx(M, { name: "layout-before-head" }),
965
- /* @__PURE__ */ r.jsx(tt, {}),
980
+ /* @__PURE__ */ r.jsx(nt, {}),
966
981
  /* @__PURE__ */ r.jsx(M, { name: "layout-after-head" }),
967
- /* @__PURE__ */ r.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-4 lg:px-12 border-l border-r", children: u ? /* @__PURE__ */ r.jsx(Ne, {}) : /* @__PURE__ */ r.jsx(ue, { fallback: /* @__PURE__ */ r.jsx(Ne, {}), children: /* @__PURE__ */ r.jsxs(
968
- Ze,
982
+ /* @__PURE__ */ r.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-4 lg:px-12 border-l border-r", children: u ? /* @__PURE__ */ r.jsx(Qe, {}) : /* @__PURE__ */ r.jsx(fe, { fallback: /* @__PURE__ */ r.jsx(Qe, {}), children: /* @__PURE__ */ r.jsxs(
983
+ Ue,
969
984
  {
970
985
  direction: "left",
971
986
  open: d,
972
- onOpenChange: (m) => c(m),
987
+ onOpenChange: (g) => c(g),
973
988
  children: [
974
- /* @__PURE__ */ r.jsx(qn, { onRequestClose: () => c(!1) }),
989
+ /* @__PURE__ */ r.jsx(Fn, { onRequestClose: () => c(!1) }),
975
990
  /* @__PURE__ */ r.jsx(
976
991
  "div",
977
992
  {
978
- className: B(
993
+ className: U(
979
994
  "lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
980
995
  "peer-data-[navigation=false]:hidden"
981
996
  ),
982
- children: /* @__PURE__ */ r.jsxs(Ue, { className: "flex items-center gap-2", children: [
983
- /* @__PURE__ */ r.jsx(Lt, { size: 16, strokeWidth: 1.5 }),
997
+ children: /* @__PURE__ */ r.jsxs(Ye, { className: "flex items-center gap-2", children: [
998
+ /* @__PURE__ */ r.jsx($t, { size: 16, strokeWidth: 1.5 }),
984
999
  /* @__PURE__ */ r.jsx("span", { className: "text-sm", children: "Menu" })
985
1000
  ] })
986
1001
  }
@@ -988,7 +1003,7 @@ const qn = ({
988
1003
  /* @__PURE__ */ r.jsxs(
989
1004
  "main",
990
1005
  {
991
- className: B(
1006
+ className: U(
992
1007
  "h-full dark:border-white/10 translate-x-0",
993
1008
  "lg:overflow-visible",
994
1009
  // This works in tandem with the `SidebarWrapper` component
@@ -997,7 +1012,7 @@ const qn = ({
997
1012
  ),
998
1013
  children: [
999
1014
  /* @__PURE__ */ r.jsx(M, { name: "zudoku-before-content" }),
1000
- t ?? /* @__PURE__ */ r.jsx(Te, {}),
1015
+ t ?? /* @__PURE__ */ r.jsx(le, {}),
1001
1016
  /* @__PURE__ */ r.jsx(M, { name: "zudoku-after-content" })
1002
1017
  ]
1003
1018
  }
@@ -1006,13 +1021,13 @@ const qn = ({
1006
1021
  }
1007
1022
  ) }) })
1008
1023
  ] });
1009
- }, Fn = Ke(null), ne = {
1024
+ }, Bn = de(null), se = {
1010
1025
  didCatch: !1,
1011
1026
  error: null
1012
1027
  };
1013
- class zn extends Qt {
1028
+ class Hn extends yt {
1014
1029
  constructor(e) {
1015
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ne;
1030
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = se;
1016
1031
  }
1017
1032
  static getDerivedStateFromError(e) {
1018
1033
  return {
@@ -1025,12 +1040,12 @@ class zn extends Qt {
1025
1040
  error: e
1026
1041
  } = this.state;
1027
1042
  if (e !== null) {
1028
- for (var n, s, a = arguments.length, o = new Array(a), i = 0; i < a; i++)
1029
- o[i] = arguments[i];
1043
+ for (var n, s, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
1044
+ i[o] = arguments[o];
1030
1045
  (n = (s = this.props).onReset) === null || n === void 0 || n.call(s, {
1031
- args: o,
1046
+ args: i,
1032
1047
  reason: "imperative-api"
1033
- }), this.setState(ne);
1048
+ }), this.setState(se);
1034
1049
  }
1035
1050
  }
1036
1051
  componentDidCatch(e, n) {
@@ -1043,13 +1058,13 @@ class zn extends Qt {
1043
1058
  } = this.state, {
1044
1059
  resetKeys: a
1045
1060
  } = this.props;
1046
- if (s && n.error !== null && Bn(e.resetKeys, a)) {
1047
- var o, i;
1048
- (o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
1061
+ if (s && n.error !== null && Ln(e.resetKeys, a)) {
1062
+ var i, o;
1063
+ (i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
1049
1064
  next: a,
1050
1065
  prev: e.resetKeys,
1051
1066
  reason: "keys"
1052
- }), this.setState(ne);
1067
+ }), this.setState(se);
1053
1068
  }
1054
1069
  }
1055
1070
  render() {
@@ -1059,38 +1074,38 @@ class zn extends Qt {
1059
1074
  FallbackComponent: s,
1060
1075
  fallback: a
1061
1076
  } = this.props, {
1062
- didCatch: o,
1063
- error: i
1077
+ didCatch: i,
1078
+ error: o
1064
1079
  } = this.state;
1065
1080
  let u = e;
1066
- if (o) {
1081
+ if (i) {
1067
1082
  const d = {
1068
- error: i,
1083
+ error: o,
1069
1084
  resetErrorBoundary: this.resetErrorBoundary
1070
1085
  };
1071
1086
  if (typeof n == "function")
1072
1087
  u = n(d);
1073
1088
  else if (s)
1074
- u = je(s, d);
1089
+ u = ve(s, d);
1075
1090
  else if (a !== void 0)
1076
1091
  u = a;
1077
1092
  else
1078
- throw i;
1093
+ throw o;
1079
1094
  }
1080
- return je(Fn.Provider, {
1095
+ return ve(Bn.Provider, {
1081
1096
  value: {
1082
- didCatch: o,
1083
- error: i,
1097
+ didCatch: i,
1098
+ error: o,
1084
1099
  resetErrorBoundary: this.resetErrorBoundary
1085
1100
  }
1086
1101
  }, u);
1087
1102
  }
1088
1103
  }
1089
- function Bn() {
1104
+ function Ln() {
1090
1105
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1091
1106
  return t.length !== e.length || t.some((n, s) => !Object.is(n, e[s]));
1092
1107
  }
1093
- class Hn {
1108
+ class Kn {
1094
1109
  constructor(e) {
1095
1110
  P(this, "plugins");
1096
1111
  P(this, "sidebars");
@@ -1101,20 +1116,20 @@ class Hn {
1101
1116
  P(this, "navigationPlugins");
1102
1117
  P(this, "initialize", async () => {
1103
1118
  await Promise.all(
1104
- this.plugins.filter(Nn).map((e) => {
1119
+ this.plugins.filter(En).map((e) => {
1105
1120
  var n;
1106
1121
  return (n = e.initialize) == null ? void 0 : n.call(e, this);
1107
1122
  })
1108
1123
  );
1109
1124
  });
1110
1125
  P(this, "getApiIdentities", async () => (await Promise.all(
1111
- this.plugins.filter(An).map((n) => n.getIdentities(this))
1126
+ this.plugins.filter(In).map((n) => n.getIdentities(this))
1112
1127
  )).flat());
1113
1128
  P(this, "getPluginSidebar", async (e) => (await Promise.all(
1114
1129
  this.navigationPlugins.map(
1115
1130
  (s) => {
1116
1131
  var a;
1117
- return (a = s.getSidebar) == null ? void 0 : a.call(s, se(e));
1132
+ return (a = s.getSidebar) == null ? void 0 : a.call(s, re(e));
1118
1133
  }
1119
1134
  )
1120
1135
  )).flatMap((s) => s ?? []));
@@ -1124,79 +1139,80 @@ class Hn {
1124
1139
  const n = await this.authentication.getAccessToken();
1125
1140
  return e.headers.set("Authorization", `Bearer ${n}`), e;
1126
1141
  });
1127
- this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Dn), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
1142
+ this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Nn), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
1128
1143
  }
1129
1144
  }
1130
- function Ln({ error: t, resetErrorBoundary: e }) {
1131
- return /* @__PURE__ */ r.jsx(qe, { error: t });
1145
+ function $n({ error: t, resetErrorBoundary: e }) {
1146
+ return /* @__PURE__ */ r.jsx(Ze, { error: t });
1132
1147
  }
1133
- const J = globalThis;
1134
- (!J.requestIdleCallback || !J.cancelIdleCallback) && (J.requestIdleCallback = (t) => setTimeout(t, 1), J.cancelIdleCallback = clearTimeout);
1135
- const st = {
1136
- Header: tt
1137
- }, Kn = Ke(st), $n = Kn.Provider, Zn = ({
1148
+ const G = globalThis;
1149
+ (!G.requestIdleCallback || !G.cancelIdleCallback) && (G.requestIdleCallback = (t) => setTimeout(t, 1), G.cancelIdleCallback = clearTimeout);
1150
+ const rt = {
1151
+ Header: nt
1152
+ }, Zn = de(rt), Un = Zn.Provider, Yn = ({
1138
1153
  children: t,
1139
1154
  context: e
1140
- }) => (kt({
1155
+ }) => (Ot({
1141
1156
  queryFn: async () => (await e.initialize(), !0),
1142
1157
  queryKey: ["zudoku-initialize"]
1143
- }), /* @__PURE__ */ r.jsx(Dt.Provider, { value: e, children: t })), rt = Le(
1158
+ }), /* @__PURE__ */ r.jsx(Et.Provider, { value: e, children: t })), at = ze(
1144
1159
  ({ children: t, ...e }) => {
1145
1160
  var f, h;
1146
- const n = ee(
1147
- () => ({ ...st, ...e.overrides }),
1161
+ const n = te(
1162
+ () => ({ ...rt, ...e.overrides }),
1148
1163
  [e.overrides]
1149
- ), s = ee(() => {
1164
+ ), s = te(() => {
1150
1165
  var v;
1151
1166
  return {
1152
- ...(e.plugins ?? []).filter(En).flatMap(
1153
- (g) => g.getMdxComponents ? [g.getMdxComponents()] : []
1167
+ ...(e.plugins ?? []).filter(Qn).flatMap(
1168
+ (m) => m.getMdxComponents ? [m.getMdxComponents()] : []
1154
1169
  ).reduce(
1155
- (g, C) => ({ ...g, ...C }),
1170
+ (m, C) => ({ ...m, ...C }),
1156
1171
  {}
1157
1172
  ),
1158
- ...Yt,
1173
+ ...Vt,
1159
1174
  ...(v = e.mdx) == null ? void 0 : v.components
1160
1175
  };
1161
- }, [(f = e.mdx) == null ? void 0 : f.components, e.plugins]), { stagger: a } = It(re), [o, i] = z(!1), u = ee(
1162
- () => o ? { stagger: !0 } : { stagger: a },
1163
- [a, o]
1164
- ), d = oe();
1165
- U(() => {
1166
- o || i(!0);
1167
- }, [o, d.location]);
1168
- const [c] = z(() => new Hn(e)), m = (h = e.plugins) == null ? void 0 : h.filter(On).map((x, v) => {
1169
- var g;
1170
- return /* @__PURE__ */ r.jsx(Tt, { children: (g = x.getHead) == null ? void 0 : g.call(x) }, v);
1176
+ }, [(f = e.mdx) == null ? void 0 : f.components, e.plugins]), { stagger: a } = vt(ae), [i, o] = H(!1), u = te(
1177
+ () => i ? { stagger: !0 } : { stagger: a },
1178
+ [a, i]
1179
+ ), d = ce();
1180
+ B(() => {
1181
+ i || o(!0);
1182
+ }, [i, d.location]);
1183
+ const [c] = H(() => new Kn(e)), g = (h = e.plugins) == null ? void 0 : h.filter(An).map((x, v) => {
1184
+ var m;
1185
+ return /* @__PURE__ */ r.jsx(bt, { children: (m = x.getHead) == null ? void 0 : m.call(x) }, v);
1171
1186
  });
1172
1187
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1173
- /* @__PURE__ */ r.jsx(ie, { children: m }),
1174
- /* @__PURE__ */ r.jsx(re.Provider, { value: u, children: /* @__PURE__ */ r.jsx(Zn, { context: c, children: /* @__PURE__ */ r.jsx($t, { components: s, children: /* @__PURE__ */ r.jsx(on, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx($n, { value: n, children: /* @__PURE__ */ r.jsx(ft, { slotlets: e.slotlets, children: /* @__PURE__ */ r.jsx(Xt, { children: t ?? /* @__PURE__ */ r.jsx(Te, {}) }) }) }) }) }) }) })
1188
+ /* @__PURE__ */ r.jsx(ie, { children: g }),
1189
+ /* @__PURE__ */ r.jsx(ae.Provider, { value: u, children: /* @__PURE__ */ r.jsx(Yn, { context: c, children: /* @__PURE__ */ r.jsx(Ut, { components: s, children: /* @__PURE__ */ r.jsx(cn, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx(Un, { value: n, children: /* @__PURE__ */ r.jsx(It, { slotlets: e.slotlets, children: /* @__PURE__ */ r.jsx(_t, { children: t ?? /* @__PURE__ */ r.jsx(le, {}) }) }) }) }) }) }) })
1175
1190
  ] });
1176
1191
  }
1177
1192
  );
1178
- rt.displayName = "ZudokoInner";
1179
- const at = (t) => /* @__PURE__ */ r.jsx(zn, { FallbackComponent: Ln, children: /* @__PURE__ */ r.jsx(rt, { ...t }) });
1180
- at.displayName = "Zudoku";
1181
- const ps = Zt, xs = Rn, ys = mt, vs = pn, bs = vn, js = bn, ws = ie, Ps = I, Cs = Z, Ss = Mt, ks = Nt, Ds = at, Ms = pt, Ns = Vt, Os = Ve, Es = $e, As = gt, Qs = le;
1193
+ at.displayName = "ZudokoInner";
1194
+ const it = (t) => /* @__PURE__ */ r.jsx(Hn, { FallbackComponent: $n, children: /* @__PURE__ */ r.jsx(at, { ...t }) });
1195
+ it.displayName = "Zudoku";
1196
+ const xs = Yt, ys = zn, vs = Tt, bs = yn, js = jn, ws = wn, Ps = xn, Cs = ie, ks = E, Ss = z, Ds = At, Ms = Qt, Ns = it, Os = Rt, Es = Wt, As = _e, Qs = ge, Is = qt, Ts = ue;
1182
1197
  export {
1183
- bs as Bootstrap,
1184
- js as BootstrapStatic,
1185
- As as Button,
1186
- ks as CACHE_KEYS,
1187
- Ms as Callout,
1188
- Es as ClientOnly,
1189
- ws as Head,
1190
- xs as Layout,
1191
- Qs as Link,
1192
- Ns as Markdown,
1193
- ys as RouterError,
1194
- vs as ServerError,
1195
- Os as Spinner,
1196
- Ds as Zudoku,
1197
- Cs as useAuth,
1198
- Ss as useCache,
1199
- ps as useMDXComponents,
1200
- Ps as useZudoku
1198
+ js as Bootstrap,
1199
+ ws as BootstrapStatic,
1200
+ Is as Button,
1201
+ Ms as CACHE_KEYS,
1202
+ Os as Callout,
1203
+ Qs as ClientOnly,
1204
+ Cs as Head,
1205
+ ys as Layout,
1206
+ Ts as Link,
1207
+ Es as Markdown,
1208
+ Ps as RouteGuard,
1209
+ vs as RouterError,
1210
+ bs as ServerError,
1211
+ As as Spinner,
1212
+ Ns as Zudoku,
1213
+ Ss as useAuth,
1214
+ Ds as useCache,
1215
+ xs as useMDXComponents,
1216
+ ks as useZudoku
1201
1217
  };
1202
1218
  //# sourceMappingURL=zudoku.components.js.map