zudoku 0.3.0-dev.30 → 0.3.0-dev.32

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 (224) hide show
  1. package/dist/app/App.d.ts +1 -0
  2. package/dist/app/App.js +2 -0
  3. package/dist/app/App.js.map +1 -0
  4. package/dist/app/demo.js +15 -11
  5. package/dist/app/demo.js.map +1 -1
  6. package/dist/app/entry.client.d.ts +5 -0
  7. package/dist/app/entry.client.js +28 -0
  8. package/dist/app/entry.client.js.map +1 -0
  9. package/dist/app/entry.server.d.ts +10 -0
  10. package/dist/app/entry.server.js +107 -0
  11. package/dist/app/entry.server.js.map +1 -0
  12. package/dist/app/main.d.ts +26 -2
  13. package/dist/app/main.js +39 -15
  14. package/dist/app/main.js.map +1 -1
  15. package/dist/app/standalone.js +14 -10
  16. package/dist/app/standalone.js.map +1 -1
  17. package/dist/app/tailwind.d.ts +1 -1
  18. package/dist/app/tailwind.js +0 -4
  19. package/dist/app/tailwind.js.map +1 -1
  20. package/dist/app/zudoku-manifest.d.ts +1 -0
  21. package/dist/app/zudoku-manifest.js +20 -0
  22. package/dist/app/zudoku-manifest.js.map +1 -0
  23. package/dist/cli/cmds/dev.js +5 -0
  24. package/dist/cli/cmds/dev.js.map +1 -1
  25. package/dist/cli/dev/handler.d.ts +1 -0
  26. package/dist/cli/dev/handler.js +3 -1
  27. package/dist/cli/dev/handler.js.map +1 -1
  28. package/dist/config/config.d.ts +5 -0
  29. package/dist/lib/authentication/providers/clerk.js +2 -0
  30. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  31. package/dist/lib/components/DevPortal.d.ts +5 -2
  32. package/dist/lib/components/DevPortal.js +11 -10
  33. package/dist/lib/components/DevPortal.js.map +1 -1
  34. package/dist/lib/components/ErrorPage.d.ts +6 -0
  35. package/dist/lib/components/ErrorPage.js +9 -0
  36. package/dist/lib/components/ErrorPage.js.map +1 -0
  37. package/dist/lib/components/InlineCode.d.ts +5 -0
  38. package/dist/lib/components/InlineCode.js +4 -0
  39. package/dist/lib/components/InlineCode.js.map +1 -0
  40. package/dist/lib/components/Layout.js +2 -1
  41. package/dist/lib/components/Layout.js.map +1 -1
  42. package/dist/lib/components/NotFoundPage.d.ts +1 -0
  43. package/dist/lib/components/NotFoundPage.js +12 -0
  44. package/dist/lib/components/NotFoundPage.js.map +1 -0
  45. package/dist/lib/components/SyntaxHighlight.d.ts +3 -2
  46. package/dist/lib/components/SyntaxHighlight.js +20 -22
  47. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  48. package/dist/lib/components/index.d.ts +4 -1
  49. package/dist/lib/errors/ErrorAlert.d.ts +3 -0
  50. package/dist/lib/errors/ErrorAlert.js +8 -0
  51. package/dist/lib/errors/ErrorAlert.js.map +1 -0
  52. package/dist/lib/errors/RouterError.d.ts +1 -0
  53. package/dist/lib/errors/RouterError.js +12 -0
  54. package/dist/lib/errors/RouterError.js.map +1 -0
  55. package/dist/lib/errors/ServerError.d.ts +3 -0
  56. package/dist/lib/errors/ServerError.js +6 -0
  57. package/dist/lib/errors/ServerError.js.map +1 -0
  58. package/dist/lib/errors/TopLevelError.d.ts +2 -0
  59. package/dist/lib/errors/TopLevelError.js +7 -0
  60. package/dist/lib/errors/TopLevelError.js.map +1 -0
  61. package/dist/lib/oas/parser/index.d.ts +1 -1
  62. package/dist/lib/oas/parser/index.js +38 -14
  63. package/dist/lib/oas/parser/index.js.map +1 -1
  64. package/dist/lib/plugins/api-keys/index.js +3 -8
  65. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  66. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  67. package/dist/lib/plugins/markdown/index.js +3 -7
  68. package/dist/lib/plugins/markdown/index.js.map +1 -1
  69. package/dist/lib/plugins/openapi/OperationList.js +11 -1
  70. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  71. package/dist/lib/plugins/openapi/OperationListItem.js +2 -1
  72. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  73. package/dist/lib/plugins/openapi/SchemaListView.js +2 -1
  74. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
  75. package/dist/lib/plugins/openapi/client/createMemoryClient.js +1 -1
  76. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -1
  77. package/dist/lib/plugins/openapi/index.js +9 -1
  78. package/dist/lib/plugins/openapi/index.js.map +1 -1
  79. package/dist/lib/plugins/redirect/index.js +2 -3
  80. package/dist/lib/plugins/redirect/index.js.map +1 -1
  81. package/dist/lib/ui/Callout.js +1 -1
  82. package/dist/lib/ui/Callout.js.map +1 -1
  83. package/dist/lib/ui/button-variants.d.ts +1 -1
  84. package/dist/lib/util/MdxComponents.js +2 -2
  85. package/dist/lib/util/MdxComponents.js.map +1 -1
  86. package/dist/lib/util/groupBy.d.ts +1 -6
  87. package/dist/lib/util/groupBy.js +10 -8
  88. package/dist/lib/util/groupBy.js.map +1 -1
  89. package/dist/vite/build.js +23 -10
  90. package/dist/vite/build.js.map +1 -1
  91. package/dist/vite/config.d.ts +2 -2
  92. package/dist/vite/config.js +36 -8
  93. package/dist/vite/config.js.map +1 -1
  94. package/dist/vite/dev-server.d.ts +1 -1
  95. package/dist/vite/dev-server.js +15 -9
  96. package/dist/vite/dev-server.js.map +1 -1
  97. package/dist/vite/html.js +5 -4
  98. package/dist/vite/html.js.map +1 -1
  99. package/dist/vite/plugin-custom-css.d.ts +6 -0
  100. package/dist/vite/plugin-custom-css.js +55 -0
  101. package/dist/vite/plugin-custom-css.js.map +1 -0
  102. package/dist/vite/plugin-docs.js +14 -5
  103. package/dist/vite/plugin-docs.js.map +1 -1
  104. package/dist/vite/plugin-openapi-worker.js +4 -1
  105. package/dist/vite/plugin-openapi-worker.js.map +1 -1
  106. package/dist/vite/plugin.js +2 -0
  107. package/dist/vite/plugin.js.map +1 -1
  108. package/dist/vite/prerender.d.ts +1 -0
  109. package/dist/vite/prerender.js +57 -0
  110. package/dist/vite/prerender.js.map +1 -0
  111. package/lib/{DevPortalProvider--xZTs0RJ.js → DevPortalProvider-BlxLX6GG.js} +230 -250
  112. package/lib/DevPortalProvider-BlxLX6GG.js.map +1 -0
  113. package/lib/{Markdown-oJFqm0uk.js → Markdown-CL8KPvJN.js} +8 -9
  114. package/lib/{Markdown-oJFqm0uk.js.map → Markdown-CL8KPvJN.js.map} +1 -1
  115. package/lib/MdxComponents-Ev_hBHb2.js +5885 -0
  116. package/lib/MdxComponents-Ev_hBHb2.js.map +1 -0
  117. package/lib/{MdxPage-BV_9ncEk.js → MdxPage-Z3HKNTrj.js} +92 -89
  118. package/lib/MdxPage-Z3HKNTrj.js.map +1 -0
  119. package/lib/{OperationList-DfG_E0Xa.js → OperationList-KoITgfDT.js} +1967 -1785
  120. package/lib/OperationList-KoITgfDT.js.map +1 -0
  121. package/lib/Route-Bf1_D_vC.js +13 -0
  122. package/lib/{Route-CHqr53jb.js.map → Route-Bf1_D_vC.js.map} +1 -1
  123. package/lib/Select-DSa3bN4t.js +4770 -0
  124. package/lib/Select-DSa3bN4t.js.map +1 -0
  125. package/lib/assets/{worker-BXS8hiSM.js → worker-BjPv-hjP.js} +3100 -2720
  126. package/lib/assets/worker-BjPv-hjP.js.map +1 -0
  127. package/lib/hook-CTmJ6CWq.js +35 -0
  128. package/lib/hook-CTmJ6CWq.js.map +1 -0
  129. package/lib/index-BdWBDosx.js +74 -0
  130. package/lib/index-BdWBDosx.js.map +1 -0
  131. package/lib/{index-B2qLeglF.js → index-BoWzKb_9.js} +57 -41
  132. package/lib/index-BoWzKb_9.js.map +1 -0
  133. package/lib/{AnchorLink-BtVKbEwm.js → index.esm-CPEExBJE.js} +156 -168
  134. package/lib/index.esm-CPEExBJE.js.map +1 -0
  135. package/lib/jsx-runtime-CM0TzjGp.js +866 -0
  136. package/lib/jsx-runtime-CM0TzjGp.js.map +1 -0
  137. package/lib/mutation-91kw0lHb.js +208 -0
  138. package/lib/mutation-91kw0lHb.js.map +1 -0
  139. package/lib/router-CcYTwKjf.js +183 -0
  140. package/lib/router-CcYTwKjf.js.map +1 -0
  141. package/lib/zudoku.auth-clerk.js.map +1 -1
  142. package/lib/zudoku.auth-openid.js +588 -441
  143. package/lib/zudoku.auth-openid.js.map +1 -1
  144. package/lib/zudoku.components.js +330 -543
  145. package/lib/zudoku.components.js.map +1 -1
  146. package/lib/zudoku.openapi-worker.js +18 -18
  147. package/lib/zudoku.plugin-api-keys.js +143 -98
  148. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  149. package/lib/zudoku.plugin-markdown.js +2 -49
  150. package/lib/zudoku.plugin-markdown.js.map +1 -1
  151. package/lib/zudoku.plugin-openapi.js +5 -3
  152. package/lib/zudoku.plugin-openapi.js.map +1 -1
  153. package/lib/zudoku.plugin-redirect.js +6 -7
  154. package/lib/zudoku.plugin-redirect.js.map +1 -1
  155. package/package.json +3 -1
  156. package/src/app/App.tsx +0 -0
  157. package/src/app/demo.tsx +18 -13
  158. package/src/app/entry.client.tsx +51 -0
  159. package/src/app/entry.server.tsx +158 -0
  160. package/src/app/main.tsx +65 -41
  161. package/src/app/standalone.tsx +15 -11
  162. package/src/app/tailwind.ts +2 -6
  163. package/src/app/zudoku-manifest.ts +22 -0
  164. package/src/lib/authentication/providers/clerk.tsx +1 -0
  165. package/src/lib/components/DevPortal.tsx +34 -33
  166. package/src/lib/components/ErrorPage.tsx +28 -0
  167. package/src/lib/components/InlineCode.tsx +19 -0
  168. package/src/lib/components/Layout.tsx +7 -4
  169. package/src/lib/components/NotFoundPage.tsx +39 -0
  170. package/src/lib/components/SyntaxHighlight.tsx +26 -22
  171. package/src/lib/errors/ErrorAlert.tsx +21 -0
  172. package/src/lib/errors/RouterError.tsx +13 -0
  173. package/src/lib/errors/ServerError.tsx +5 -0
  174. package/src/lib/errors/TopLevelError.tsx +8 -0
  175. package/src/lib/oas/parser/index.ts +41 -22
  176. package/src/lib/plugins/api-keys/index.tsx +4 -16
  177. package/src/lib/plugins/markdown/generateRoutes.tsx +1 -1
  178. package/src/lib/plugins/markdown/index.tsx +3 -7
  179. package/src/lib/plugins/openapi/OperationList.tsx +30 -0
  180. package/src/lib/plugins/openapi/OperationListItem.tsx +3 -1
  181. package/src/lib/plugins/openapi/SchemaListView.tsx +8 -10
  182. package/src/lib/plugins/openapi/client/createMemoryClient.ts +1 -1
  183. package/src/lib/plugins/openapi/index.tsx +18 -1
  184. package/src/lib/plugins/redirect/index.tsx +2 -2
  185. package/src/lib/ui/Callout.tsx +2 -2
  186. package/src/lib/util/MdxComponents.tsx +2 -11
  187. package/src/lib/util/groupBy.ts +7 -12
  188. package/dist/lib/components/Error.d.ts +0 -1
  189. package/dist/lib/components/Error.js +0 -10
  190. package/dist/lib/components/Error.js.map +0 -1
  191. package/dist/lib/components/Router.d.ts +0 -4
  192. package/dist/lib/components/Router.js +0 -21
  193. package/dist/lib/components/Router.js.map +0 -1
  194. package/lib/AnchorLink-BtVKbEwm.js.map +0 -1
  195. package/lib/DevPortalProvider--xZTs0RJ.js.map +0 -1
  196. package/lib/MdxComponents-CsU8yR42.js +0 -3019
  197. package/lib/MdxComponents-CsU8yR42.js.map +0 -1
  198. package/lib/MdxPage-BV_9ncEk.js.map +0 -1
  199. package/lib/OperationList-DfG_E0Xa.js.map +0 -1
  200. package/lib/Route-CHqr53jb.js +0 -14
  201. package/lib/Select-CNmXi4JU.js +0 -4572
  202. package/lib/Select-CNmXi4JU.js.map +0 -1
  203. package/lib/Spinner-By5opWs5.js +0 -182
  204. package/lib/Spinner-By5opWs5.js.map +0 -1
  205. package/lib/assets/worker-BXS8hiSM.js.map +0 -1
  206. package/lib/cn-DpqTslo9.js +0 -2342
  207. package/lib/cn-DpqTslo9.js.map +0 -1
  208. package/lib/hook-kVJ4gpk5.js +0 -25
  209. package/lib/hook-kVJ4gpk5.js.map +0 -1
  210. package/lib/index-B2qLeglF.js.map +0 -1
  211. package/lib/index-CUIxJAeE.js +0 -713
  212. package/lib/index-CUIxJAeE.js.map +0 -1
  213. package/lib/index-Cr3hgaqt.js +0 -412
  214. package/lib/index-Cr3hgaqt.js.map +0 -1
  215. package/lib/index-fXFJf9Ua.js +0 -464
  216. package/lib/index-fXFJf9Ua.js.map +0 -1
  217. package/lib/jsx-runtime-D7DwziLW.js +0 -3009
  218. package/lib/jsx-runtime-D7DwziLW.js.map +0 -1
  219. package/lib/loglevel-CA34MiFn.js +0 -153
  220. package/lib/loglevel-CA34MiFn.js.map +0 -1
  221. package/lib/util-DnDPBx_j.js +0 -41
  222. package/lib/util-DnDPBx_j.js.map +0 -1
  223. package/src/lib/components/Error.tsx +0 -15
  224. package/src/lib/components/Router.tsx +0 -23
@@ -1,58 +1,33 @@
1
- var Ie = Object.defineProperty;
2
- var se = (t) => {
1
+ var ye = Object.defineProperty;
2
+ var V = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var Ee = (t, e, s) => e in t ? Ie(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
- var g = (t, e, s) => Ee(t, typeof e != "symbol" ? e + "" : e, s), ae = (t, e, s) => e.has(t) || se("Cannot " + s);
7
- var i = (t, e, s) => (ae(t, e, "read from private field"), s ? s.call(t) : e.get(t)), v = (t, e, s) => e.has(t) ? se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), u = (t, e, s, a) => (ae(t, e, "write to private field"), a ? a.call(t, s) : e.set(t, s), s);
8
- var S = (t, e, s, a) => ({
9
- set _(r) {
10
- u(t, e, r, s);
5
+ var pe = (t, e, s) => e in t ? ye(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
+ var g = (t, e, s) => pe(t, typeof e != "symbol" ? e + "" : e, s), X = (t, e, s) => e.has(t) || V("Cannot " + s);
7
+ var n = (t, e, s) => (X(t, e, "read from private field"), s ? s.call(t) : e.get(t)), y = (t, e, s) => e.has(t) ? V("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), c = (t, e, s, r) => (X(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s);
8
+ var q = (t, e, s, r) => ({
9
+ set _(a) {
10
+ c(t, e, a, s);
11
11
  },
12
12
  get _() {
13
- return i(t, e, a);
13
+ return n(t, e, r);
14
14
  }
15
15
  });
16
- import { c as z, N as B, a as Se, b as Re, d as Fe, R as He, L as Le } from "./index-CUIxJAeE.js";
17
- import { u as ze, a as $, M as Ke, T as _e, V as Be, C as Ve } from "./MdxComponents-CsU8yR42.js";
18
- import { j as n } from "./jsx-runtime-D7DwziLW.js";
19
- import { S as pe, h as me, Q as $e, n as m, m as ne, a as re, b as j, e as Ue, c as We, d as Xe, f as Ge, o as ie, r as oe, g as Je, i as le, p as ce, s as Ye, u as U, j as Ze, k as et, l as tt, D as st } from "./DevPortalProvider--xZTs0RJ.js";
20
- import { memo as ge, createContext as at, useEffect as I, useRef as K, useState as nt, forwardRef as rt, Suspense as ve, useMemo as H, Fragment as it } from "react";
21
- import { A as ot, H as ye, a as lt, M as ct, u as ht } from "./AnchorLink-BtVKbEwm.js";
22
- import { c as ut } from "./state-Ds_OxRHP.js";
23
- import { M as dt } from "./index-Cr3hgaqt.js";
24
- import { u as ft } from "./hook-kVJ4gpk5.js";
25
- import { u as T, O as pt, a as mt } from "./index-fXFJf9Ua.js";
26
- import { R as xe, T as be, C as je, S as gt } from "./Spinner-By5opWs5.js";
27
- import { c as L } from "./cn-DpqTslo9.js";
28
- import { c as W, i as V, j as Pe, a as vt } from "./util-DnDPBx_j.js";
16
+ import { c as ae, N as ve, a as be, u as Pe, M as xe, T as Me, V as Ce, C as we, L as Qe } from "./MdxComponents-Ev_hBHb2.js";
17
+ import { j as i } from "./jsx-runtime-CM0TzjGp.js";
18
+ import { S as ne, h as ie, Q as Oe, n as m, m as G, a as J, b, e as Ee, c as ke, d as De, f as je, o as W, r as Y, g as Ae, i as Z, p as $, s as Ne, u as oe, j as qe, D as Fe } from "./DevPortalProvider-BlxLX6GG.js";
19
+ import { createContext as ue, Component as Te, createElement as _, isValidElement as Se, memo as le, useMemo as S, useEffect as Ie, Fragment as He } from "react";
20
+ import { H as Ke, M as Be, u as ze } from "./index.esm-CPEExBJE.js";
21
+ import { c as Le } from "./state-Ds_OxRHP.js";
22
+ import { M as Re } from "./mutation-91kw0lHb.js";
23
+ import { E as Ue, u as Ve } from "./hook-CTmJ6CWq.js";
29
24
  /**
30
25
  * @license lucide-react v0.378.0 - ISC
31
26
  *
32
27
  * This source code is licensed under the ISC license.
33
28
  * See the LICENSE file in the root directory of this source tree.
34
29
  */
35
- const we = z("ChevronRight", [
36
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
37
- ]);
38
- /**
39
- * @license lucide-react v0.378.0 - ISC
40
- *
41
- * This source code is licensed under the ISC license.
42
- * See the LICENSE file in the root directory of this source tree.
43
- */
44
- const yt = z("ExternalLink", [
45
- ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
46
- ["path", { d: "M10 14 21 3", key: "gplh6r" }],
47
- ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
48
- ]);
49
- /**
50
- * @license lucide-react v0.378.0 - ISC
51
- *
52
- * This source code is licensed under the ISC license.
53
- * See the LICENSE file in the root directory of this source tree.
54
- */
55
- const xt = z("MoonStar", [
30
+ const Xe = ae("MoonStar", [
56
31
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
57
32
  ["path", { d: "M20 3v4", key: "1olli1" }],
58
33
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -63,7 +38,7 @@ const xt = z("MoonStar", [
63
38
  * This source code is licensed under the ISC license.
64
39
  * See the LICENSE file in the root directory of this source tree.
65
40
  */
66
- const bt = z("Sun", [
41
+ const Ge = ae("Sun", [
67
42
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
68
43
  ["path", { d: "M12 2v2", key: "tus03m" }],
69
44
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -74,33 +49,33 @@ const bt = z("Sun", [
74
49
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
75
50
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
76
51
  ]);
77
- var x, ue, jt = (ue = class extends pe {
52
+ var v, te, Je = (te = class extends ne {
78
53
  constructor(e = {}) {
79
54
  super();
80
- v(this, x);
81
- this.config = e, u(this, x, /* @__PURE__ */ new Map());
55
+ y(this, v);
56
+ this.config = e, c(this, v, /* @__PURE__ */ new Map());
82
57
  }
83
- build(e, s, a) {
84
- const r = s.queryKey, o = s.queryHash ?? me(r, s);
85
- let l = this.get(o);
86
- return l || (l = new $e({
58
+ build(e, s, r) {
59
+ const a = s.queryKey, o = s.queryHash ?? ie(a, s);
60
+ let u = this.get(o);
61
+ return u || (u = new Oe({
87
62
  cache: this,
88
- queryKey: r,
63
+ queryKey: a,
89
64
  queryHash: o,
90
65
  options: e.defaultQueryOptions(s),
91
- state: a,
92
- defaultOptions: e.getQueryDefaults(r)
93
- }), this.add(l)), l;
66
+ state: r,
67
+ defaultOptions: e.getQueryDefaults(a)
68
+ }), this.add(u)), u;
94
69
  }
95
70
  add(e) {
96
- i(this, x).has(e.queryHash) || (i(this, x).set(e.queryHash, e), this.notify({
71
+ n(this, v).has(e.queryHash) || (n(this, v).set(e.queryHash, e), this.notify({
97
72
  type: "added",
98
73
  query: e
99
74
  }));
100
75
  }
101
76
  remove(e) {
102
- const s = i(this, x).get(e.queryHash);
103
- s && (e.destroy(), s === e && i(this, x).delete(e.queryHash), this.notify({ type: "removed", query: e }));
77
+ const s = n(this, v).get(e.queryHash);
78
+ s && (e.destroy(), s === e && n(this, v).delete(e.queryHash), this.notify({ type: "removed", query: e }));
104
79
  }
105
80
  clear() {
106
81
  m.batch(() => {
@@ -110,20 +85,20 @@ var x, ue, jt = (ue = class extends pe {
110
85
  });
111
86
  }
112
87
  get(e) {
113
- return i(this, x).get(e);
88
+ return n(this, v).get(e);
114
89
  }
115
90
  getAll() {
116
- return [...i(this, x).values()];
91
+ return [...n(this, v).values()];
117
92
  }
118
93
  find(e) {
119
94
  const s = { exact: !0, ...e };
120
95
  return this.getAll().find(
121
- (a) => ne(s, a)
96
+ (r) => G(s, r)
122
97
  );
123
98
  }
124
99
  findAll(e = {}) {
125
100
  const s = this.getAll();
126
- return Object.keys(e).length > 0 ? s.filter((a) => ne(e, a)) : s;
101
+ return Object.keys(e).length > 0 ? s.filter((r) => G(e, r)) : s;
127
102
  }
128
103
  notify(e) {
129
104
  m.batch(() => {
@@ -146,43 +121,43 @@ var x, ue, jt = (ue = class extends pe {
146
121
  });
147
122
  });
148
123
  }
149
- }, x = new WeakMap(), ue), p, q, de, Pt = (de = class extends pe {
124
+ }, v = new WeakMap(), te), f, A, se, We = (se = class extends ne {
150
125
  constructor(e = {}) {
151
126
  super();
152
- v(this, p);
153
- v(this, q);
154
- this.config = e, u(this, p, /* @__PURE__ */ new Map()), u(this, q, Date.now());
127
+ y(this, f);
128
+ y(this, A);
129
+ this.config = e, c(this, f, /* @__PURE__ */ new Map()), c(this, A, Date.now());
155
130
  }
156
- build(e, s, a) {
157
- const r = new dt({
131
+ build(e, s, r) {
132
+ const a = new Re({
158
133
  mutationCache: this,
159
- mutationId: ++S(this, q)._,
134
+ mutationId: ++q(this, A)._,
160
135
  options: e.defaultMutationOptions(s),
161
- state: a
136
+ state: r
162
137
  });
163
- return this.add(r), r;
138
+ return this.add(a), a;
164
139
  }
165
140
  add(e) {
166
- const s = R(e), a = i(this, p).get(s) ?? [];
167
- a.push(e), i(this, p).set(s, a), this.notify({ type: "added", mutation: e });
141
+ const s = F(e), r = n(this, f).get(s) ?? [];
142
+ r.push(e), n(this, f).set(s, r), this.notify({ type: "added", mutation: e });
168
143
  }
169
144
  remove(e) {
170
- var a;
171
- const s = R(e);
172
- if (i(this, p).has(s)) {
173
- const r = (a = i(this, p).get(s)) == null ? void 0 : a.filter((o) => o !== e);
174
- r && (r.length === 0 ? i(this, p).delete(s) : i(this, p).set(s, r));
145
+ var r;
146
+ const s = F(e);
147
+ if (n(this, f).has(s)) {
148
+ const a = (r = n(this, f).get(s)) == null ? void 0 : r.filter((o) => o !== e);
149
+ a && (a.length === 0 ? n(this, f).delete(s) : n(this, f).set(s, a));
175
150
  }
176
151
  this.notify({ type: "removed", mutation: e });
177
152
  }
178
153
  canRun(e) {
179
- var a;
180
- const s = (a = i(this, p).get(R(e))) == null ? void 0 : a.find((r) => r.state.status === "pending");
154
+ var r;
155
+ const s = (r = n(this, f).get(F(e))) == null ? void 0 : r.find((a) => a.state.status === "pending");
181
156
  return !s || s === e;
182
157
  }
183
158
  runNext(e) {
184
- var a;
185
- const s = (a = i(this, p).get(R(e))) == null ? void 0 : a.find((r) => r !== e && r.state.isPaused);
159
+ var r;
160
+ const s = (r = n(this, f).get(F(e))) == null ? void 0 : r.find((a) => a !== e && a.state.isPaused);
186
161
  return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
187
162
  }
188
163
  clear() {
@@ -193,16 +168,16 @@ var x, ue, jt = (ue = class extends pe {
193
168
  });
194
169
  }
195
170
  getAll() {
196
- return [...i(this, p).values()].flat();
171
+ return [...n(this, f).values()].flat();
197
172
  }
198
173
  find(e) {
199
174
  const s = { exact: !0, ...e };
200
175
  return this.getAll().find(
201
- (a) => re(s, a)
176
+ (r) => J(s, r)
202
177
  );
203
178
  }
204
179
  findAll(e = {}) {
205
- return this.getAll().filter((s) => re(e, s));
180
+ return this.getAll().filter((s) => J(e, s));
206
181
  }
207
182
  notify(e) {
208
183
  m.batch(() => {
@@ -215,74 +190,74 @@ var x, ue, jt = (ue = class extends pe {
215
190
  const e = this.getAll().filter((s) => s.state.isPaused);
216
191
  return m.batch(
217
192
  () => Promise.all(
218
- e.map((s) => s.continue().catch(j))
193
+ e.map((s) => s.continue().catch(b))
219
194
  )
220
195
  );
221
196
  }
222
- }, p = new WeakMap(), q = new WeakMap(), de);
223
- function R(t) {
197
+ }, f = new WeakMap(), A = new WeakMap(), se);
198
+ function F(t) {
224
199
  var e;
225
200
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
226
201
  }
227
- function wt(t) {
202
+ function Ye(t) {
228
203
  return {
229
204
  onFetch: (e, s) => {
230
- const a = async () => {
231
- var X, G, J, Y, Z;
232
- const r = e.options, o = (J = (G = (X = e.fetchOptions) == null ? void 0 : X.meta) == null ? void 0 : G.fetchMore) == null ? void 0 : J.direction, l = ((Y = e.state.data) == null ? void 0 : Y.pages) || [], h = ((Z = e.state.data) == null ? void 0 : Z.pageParams) || [], d = { pages: [], pageParams: [] };
233
- let b = !1;
234
- const f = (y) => {
235
- Object.defineProperty(y, "signal", {
205
+ const r = async () => {
206
+ var H, K, B, z, L;
207
+ const a = e.options, o = (B = (K = (H = e.fetchOptions) == null ? void 0 : H.meta) == null ? void 0 : K.fetchMore) == null ? void 0 : B.direction, u = ((z = e.state.data) == null ? void 0 : z.pages) || [], d = ((L = e.state.data) == null ? void 0 : L.pageParams) || [], h = { pages: [], pageParams: [] };
208
+ let P = !1;
209
+ const fe = (p) => {
210
+ Object.defineProperty(p, "signal", {
236
211
  enumerable: !0,
237
- get: () => (e.signal.aborted ? b = !0 : e.signal.addEventListener("abort", () => {
238
- b = !0;
212
+ get: () => (e.signal.aborted ? P = !0 : e.signal.addEventListener("abort", () => {
213
+ P = !0;
239
214
  }), e.signal)
240
215
  });
241
- }, Te = Ue(e.options, e.fetchOptions), _ = async (y, P, k) => {
242
- if (b)
216
+ }, me = Ee(e.options, e.fetchOptions), T = async (p, x, Q) => {
217
+ if (P)
243
218
  return Promise.reject();
244
- if (P == null && y.pages.length)
245
- return Promise.resolve(y);
246
- const E = {
219
+ if (x == null && p.pages.length)
220
+ return Promise.resolve(p);
221
+ const N = {
247
222
  queryKey: e.queryKey,
248
- pageParam: P,
249
- direction: k ? "backward" : "forward",
223
+ pageParam: x,
224
+ direction: Q ? "backward" : "forward",
250
225
  meta: e.options.meta
251
226
  };
252
- f(E);
253
- const qe = await Te(
254
- E
255
- ), { maxPages: ee } = e.options, te = k ? We : Xe;
227
+ fe(N);
228
+ const ge = await me(
229
+ N
230
+ ), { maxPages: R } = e.options, U = Q ? ke : De;
256
231
  return {
257
- pages: te(y.pages, qe, ee),
258
- pageParams: te(y.pageParams, P, ee)
232
+ pages: U(p.pages, ge, R),
233
+ pageParams: U(p.pageParams, x, R)
259
234
  };
260
235
  };
261
- let M;
262
- if (o && l.length) {
263
- const y = o === "backward", P = y ? Nt : he, k = {
264
- pages: l,
265
- pageParams: h
266
- }, E = P(r, k);
267
- M = await _(k, E, y);
236
+ let O;
237
+ if (o && u.length) {
238
+ const p = o === "backward", x = p ? Ze : ee, Q = {
239
+ pages: u,
240
+ pageParams: d
241
+ }, N = x(a, Q);
242
+ O = await T(Q, N, p);
268
243
  } else {
269
- M = await _(
270
- d,
271
- h[0] ?? r.initialPageParam
244
+ O = await T(
245
+ h,
246
+ d[0] ?? a.initialPageParam
272
247
  );
273
- const y = t ?? l.length;
274
- for (let P = 1; P < y; P++) {
275
- const k = he(r, M);
276
- M = await _(M, k);
248
+ const p = t ?? u.length;
249
+ for (let x = 1; x < p; x++) {
250
+ const Q = ee(a, O);
251
+ O = await T(O, Q);
277
252
  }
278
253
  }
279
- return M;
254
+ return O;
280
255
  };
281
256
  e.options.persister ? e.fetchFn = () => {
282
- var r, o;
283
- return (o = (r = e.options).persister) == null ? void 0 : o.call(
284
- r,
257
+ var a, o;
258
+ return (o = (a = e.options).persister) == null ? void 0 : o.call(
285
259
  a,
260
+ r,
286
261
  {
287
262
  queryKey: e.queryKey,
288
263
  meta: e.options.meta,
@@ -290,22 +265,22 @@ function wt(t) {
290
265
  },
291
266
  s
292
267
  );
293
- } : e.fetchFn = a;
268
+ } : e.fetchFn = r;
294
269
  }
295
270
  };
296
271
  }
297
- function he(t, { pages: e, pageParams: s }) {
298
- const a = e.length - 1;
272
+ function ee(t, { pages: e, pageParams: s }) {
273
+ const r = e.length - 1;
299
274
  return t.getNextPageParam(
300
- e[a],
275
+ e[r],
301
276
  e,
302
- s[a],
277
+ s[r],
303
278
  s
304
279
  );
305
280
  }
306
- function Nt(t, { pages: e, pageParams: s }) {
307
- var a;
308
- return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
281
+ function Ze(t, { pages: e, pageParams: s }) {
282
+ var r;
283
+ return (r = t.getPreviousPageParam) == null ? void 0 : r.call(
309
284
  t,
310
285
  e[0],
311
286
  e,
@@ -313,77 +288,77 @@ function Nt(t, { pages: e, pageParams: s }) {
313
288
  s
314
289
  );
315
290
  }
316
- var c, w, N, O, A, C, Q, D, fe, Ct = (fe = class {
291
+ var l, M, C, E, k, w, D, j, re, $e = (re = class {
317
292
  constructor(t = {}) {
318
- v(this, c);
319
- v(this, w);
320
- v(this, N);
321
- v(this, O);
322
- v(this, A);
323
- v(this, C);
324
- v(this, Q);
325
- v(this, D);
326
- u(this, c, t.queryCache || new jt()), u(this, w, t.mutationCache || new Pt()), u(this, N, t.defaultOptions || {}), u(this, O, /* @__PURE__ */ new Map()), u(this, A, /* @__PURE__ */ new Map()), u(this, C, 0);
293
+ y(this, l);
294
+ y(this, M);
295
+ y(this, C);
296
+ y(this, E);
297
+ y(this, k);
298
+ y(this, w);
299
+ y(this, D);
300
+ y(this, j);
301
+ c(this, l, t.queryCache || new Je()), c(this, M, t.mutationCache || new We()), c(this, C, t.defaultOptions || {}), c(this, E, /* @__PURE__ */ new Map()), c(this, k, /* @__PURE__ */ new Map()), c(this, w, 0);
327
302
  }
328
303
  mount() {
329
- S(this, C)._++, i(this, C) === 1 && (u(this, Q, Ge.subscribe(async (t) => {
330
- t && (await this.resumePausedMutations(), i(this, c).onFocus());
331
- })), u(this, D, ie.subscribe(async (t) => {
332
- t && (await this.resumePausedMutations(), i(this, c).onOnline());
304
+ q(this, w)._++, n(this, w) === 1 && (c(this, D, je.subscribe(async (t) => {
305
+ t && (await this.resumePausedMutations(), n(this, l).onFocus());
306
+ })), c(this, j, W.subscribe(async (t) => {
307
+ t && (await this.resumePausedMutations(), n(this, l).onOnline());
333
308
  })));
334
309
  }
335
310
  unmount() {
336
311
  var t, e;
337
- S(this, C)._--, i(this, C) === 0 && ((t = i(this, Q)) == null || t.call(this), u(this, Q, void 0), (e = i(this, D)) == null || e.call(this), u(this, D, void 0));
312
+ q(this, w)._--, n(this, w) === 0 && ((t = n(this, D)) == null || t.call(this), c(this, D, void 0), (e = n(this, j)) == null || e.call(this), c(this, j, void 0));
338
313
  }
339
314
  isFetching(t) {
340
- return i(this, c).findAll({ ...t, fetchStatus: "fetching" }).length;
315
+ return n(this, l).findAll({ ...t, fetchStatus: "fetching" }).length;
341
316
  }
342
317
  isMutating(t) {
343
- return i(this, w).findAll({ ...t, status: "pending" }).length;
318
+ return n(this, M).findAll({ ...t, status: "pending" }).length;
344
319
  }
345
320
  getQueryData(t) {
346
321
  var s;
347
322
  const e = this.defaultQueryOptions({ queryKey: t });
348
- return (s = i(this, c).get(e.queryHash)) == null ? void 0 : s.state.data;
323
+ return (s = n(this, l).get(e.queryHash)) == null ? void 0 : s.state.data;
349
324
  }
350
325
  ensureQueryData(t) {
351
326
  const e = this.getQueryData(t.queryKey);
352
327
  if (e === void 0)
353
328
  return this.fetchQuery(t);
354
329
  {
355
- const s = this.defaultQueryOptions(t), a = i(this, c).build(this, s);
356
- return t.revalidateIfStale && a.isStaleByTime(oe(s.staleTime, a)) && this.prefetchQuery(s), Promise.resolve(e);
330
+ const s = this.defaultQueryOptions(t), r = n(this, l).build(this, s);
331
+ return t.revalidateIfStale && r.isStaleByTime(Y(s.staleTime, r)) && this.prefetchQuery(s), Promise.resolve(e);
357
332
  }
358
333
  }
359
334
  getQueriesData(t) {
360
- return i(this, c).findAll(t).map(({ queryKey: e, state: s }) => {
361
- const a = s.data;
362
- return [e, a];
335
+ return n(this, l).findAll(t).map(({ queryKey: e, state: s }) => {
336
+ const r = s.data;
337
+ return [e, r];
363
338
  });
364
339
  }
365
340
  setQueryData(t, e, s) {
366
- const a = this.defaultQueryOptions({ queryKey: t }), r = i(this, c).get(
367
- a.queryHash
368
- ), o = r == null ? void 0 : r.state.data, l = Je(e, o);
369
- if (l !== void 0)
370
- return i(this, c).build(this, a).setData(l, { ...s, manual: !0 });
341
+ const r = this.defaultQueryOptions({ queryKey: t }), a = n(this, l).get(
342
+ r.queryHash
343
+ ), o = a == null ? void 0 : a.state.data, u = Ae(e, o);
344
+ if (u !== void 0)
345
+ return n(this, l).build(this, r).setData(u, { ...s, manual: !0 });
371
346
  }
372
347
  setQueriesData(t, e, s) {
373
348
  return m.batch(
374
- () => i(this, c).findAll(t).map(({ queryKey: a }) => [
375
- a,
376
- this.setQueryData(a, e, s)
349
+ () => n(this, l).findAll(t).map(({ queryKey: r }) => [
350
+ r,
351
+ this.setQueryData(r, e, s)
377
352
  ])
378
353
  );
379
354
  }
380
355
  getQueryState(t) {
381
356
  var s;
382
357
  const e = this.defaultQueryOptions({ queryKey: t });
383
- return (s = i(this, c).get(e.queryHash)) == null ? void 0 : s.state;
358
+ return (s = n(this, l).get(e.queryHash)) == null ? void 0 : s.state;
384
359
  }
385
360
  removeQueries(t) {
386
- const e = i(this, c);
361
+ const e = n(this, l);
387
362
  m.batch(() => {
388
363
  e.findAll(t).forEach((s) => {
389
364
  e.remove(s);
@@ -391,24 +366,24 @@ var c, w, N, O, A, C, Q, D, fe, Ct = (fe = class {
391
366
  });
392
367
  }
393
368
  resetQueries(t, e) {
394
- const s = i(this, c), a = {
369
+ const s = n(this, l), r = {
395
370
  type: "active",
396
371
  ...t
397
372
  };
398
- return m.batch(() => (s.findAll(t).forEach((r) => {
399
- r.reset();
400
- }), this.refetchQueries(a, e)));
373
+ return m.batch(() => (s.findAll(t).forEach((a) => {
374
+ a.reset();
375
+ }), this.refetchQueries(r, e)));
401
376
  }
402
377
  cancelQueries(t = {}, e = {}) {
403
- const s = { revert: !0, ...e }, a = m.batch(
404
- () => i(this, c).findAll(t).map((r) => r.cancel(s))
378
+ const s = { revert: !0, ...e }, r = m.batch(
379
+ () => n(this, l).findAll(t).map((a) => a.cancel(s))
405
380
  );
406
- return Promise.all(a).then(j).catch(j);
381
+ return Promise.all(r).then(b).catch(b);
407
382
  }
408
383
  invalidateQueries(t = {}, e = {}) {
409
384
  return m.batch(() => {
410
- if (i(this, c).findAll(t).forEach((a) => {
411
- a.invalidate();
385
+ if (n(this, l).findAll(t).forEach((r) => {
386
+ r.invalidate();
412
387
  }), t.refetchType === "none")
413
388
  return Promise.resolve();
414
389
  const s = {
@@ -422,100 +397,184 @@ var c, w, N, O, A, C, Q, D, fe, Ct = (fe = class {
422
397
  const s = {
423
398
  ...e,
424
399
  cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
425
- }, a = m.batch(
426
- () => i(this, c).findAll(t).filter((r) => !r.isDisabled()).map((r) => {
427
- let o = r.fetch(void 0, s);
428
- return s.throwOnError || (o = o.catch(j)), r.state.fetchStatus === "paused" ? Promise.resolve() : o;
400
+ }, r = m.batch(
401
+ () => n(this, l).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
402
+ let o = a.fetch(void 0, s);
403
+ return s.throwOnError || (o = o.catch(b)), a.state.fetchStatus === "paused" ? Promise.resolve() : o;
429
404
  })
430
405
  );
431
- return Promise.all(a).then(j);
406
+ return Promise.all(r).then(b);
432
407
  }
433
408
  fetchQuery(t) {
434
409
  const e = this.defaultQueryOptions(t);
435
410
  e.retry === void 0 && (e.retry = !1);
436
- const s = i(this, c).build(this, e);
411
+ const s = n(this, l).build(this, e);
437
412
  return s.isStaleByTime(
438
- oe(e.staleTime, s)
413
+ Y(e.staleTime, s)
439
414
  ) ? s.fetch(e) : Promise.resolve(s.state.data);
440
415
  }
441
416
  prefetchQuery(t) {
442
- return this.fetchQuery(t).then(j).catch(j);
417
+ return this.fetchQuery(t).then(b).catch(b);
443
418
  }
444
419
  fetchInfiniteQuery(t) {
445
- return t.behavior = wt(t.pages), this.fetchQuery(t);
420
+ return t.behavior = Ye(t.pages), this.fetchQuery(t);
446
421
  }
447
422
  prefetchInfiniteQuery(t) {
448
- return this.fetchInfiniteQuery(t).then(j).catch(j);
423
+ return this.fetchInfiniteQuery(t).then(b).catch(b);
449
424
  }
450
425
  resumePausedMutations() {
451
- return ie.isOnline() ? i(this, w).resumePausedMutations() : Promise.resolve();
426
+ return W.isOnline() ? n(this, M).resumePausedMutations() : Promise.resolve();
452
427
  }
453
428
  getQueryCache() {
454
- return i(this, c);
429
+ return n(this, l);
455
430
  }
456
431
  getMutationCache() {
457
- return i(this, w);
432
+ return n(this, M);
458
433
  }
459
434
  getDefaultOptions() {
460
- return i(this, N);
435
+ return n(this, C);
461
436
  }
462
437
  setDefaultOptions(t) {
463
- u(this, N, t);
438
+ c(this, C, t);
464
439
  }
465
440
  setQueryDefaults(t, e) {
466
- i(this, O).set(le(t), {
441
+ n(this, E).set(Z(t), {
467
442
  queryKey: t,
468
443
  defaultOptions: e
469
444
  });
470
445
  }
471
446
  getQueryDefaults(t) {
472
- const e = [...i(this, O).values()];
447
+ const e = [...n(this, E).values()];
473
448
  let s = {};
474
- return e.forEach((a) => {
475
- ce(t, a.queryKey) && (s = { ...s, ...a.defaultOptions });
449
+ return e.forEach((r) => {
450
+ $(t, r.queryKey) && (s = { ...s, ...r.defaultOptions });
476
451
  }), s;
477
452
  }
478
453
  setMutationDefaults(t, e) {
479
- i(this, A).set(le(t), {
454
+ n(this, k).set(Z(t), {
480
455
  mutationKey: t,
481
456
  defaultOptions: e
482
457
  });
483
458
  }
484
459
  getMutationDefaults(t) {
485
- const e = [...i(this, A).values()];
460
+ const e = [...n(this, k).values()];
486
461
  let s = {};
487
- return e.forEach((a) => {
488
- ce(t, a.mutationKey) && (s = { ...s, ...a.defaultOptions });
462
+ return e.forEach((r) => {
463
+ $(t, r.mutationKey) && (s = { ...s, ...r.defaultOptions });
489
464
  }), s;
490
465
  }
491
466
  defaultQueryOptions(t) {
492
467
  if (t._defaulted)
493
468
  return t;
494
469
  const e = {
495
- ...i(this, N).queries,
470
+ ...n(this, C).queries,
496
471
  ...this.getQueryDefaults(t.queryKey),
497
472
  ...t,
498
473
  _defaulted: !0
499
474
  };
500
- return e.queryHash || (e.queryHash = me(
475
+ return e.queryHash || (e.queryHash = ie(
501
476
  e.queryKey,
502
477
  e
503
- )), 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.enabled !== !0 && e.queryFn === Ye && (e.enabled = !1), 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.enabled !== !0 && e.queryFn === Ne && (e.enabled = !1), e;
504
479
  }
505
480
  defaultMutationOptions(t) {
506
481
  return t != null && t._defaulted ? t : {
507
- ...i(this, N).mutations,
482
+ ...n(this, C).mutations,
508
483
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
509
484
  ...t,
510
485
  _defaulted: !0
511
486
  };
512
487
  }
513
488
  clear() {
514
- i(this, c).clear(), i(this, w).clear();
489
+ n(this, l).clear(), n(this, M).clear();
515
490
  }
516
- }, c = new WeakMap(), w = new WeakMap(), N = new WeakMap(), O = new WeakMap(), A = new WeakMap(), C = new WeakMap(), Q = new WeakMap(), D = new WeakMap(), fe);
517
- const Ne = (t) => "getRoutes" in t && typeof t.getRoutes == "function", kt = (t) => "initialize" in t && typeof t.initialize == "function", Mt = (t) => "getHead" in t && typeof t.getHead == "function", Ot = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ce = new Ct(), At = ut(() => ({}));
518
- class Qt {
491
+ }, l = new WeakMap(), M = new WeakMap(), C = new WeakMap(), E = new WeakMap(), k = new WeakMap(), w = new WeakMap(), D = new WeakMap(), j = new WeakMap(), re);
492
+ const _e = ue(null), I = {
493
+ didCatch: !1,
494
+ error: null
495
+ };
496
+ class et extends Te {
497
+ constructor(e) {
498
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = I;
499
+ }
500
+ static getDerivedStateFromError(e) {
501
+ return {
502
+ didCatch: !0,
503
+ error: e
504
+ };
505
+ }
506
+ resetErrorBoundary() {
507
+ const {
508
+ error: e
509
+ } = this.state;
510
+ if (e !== null) {
511
+ for (var s, r, a = arguments.length, o = new Array(a), u = 0; u < a; u++)
512
+ o[u] = arguments[u];
513
+ (s = (r = this.props).onReset) === null || s === void 0 || s.call(r, {
514
+ args: o,
515
+ reason: "imperative-api"
516
+ }), this.setState(I);
517
+ }
518
+ }
519
+ componentDidCatch(e, s) {
520
+ var r, a;
521
+ (r = (a = this.props).onError) === null || r === void 0 || r.call(a, e, s);
522
+ }
523
+ componentDidUpdate(e, s) {
524
+ const {
525
+ didCatch: r
526
+ } = this.state, {
527
+ resetKeys: a
528
+ } = this.props;
529
+ if (r && s.error !== null && tt(e.resetKeys, a)) {
530
+ var o, u;
531
+ (o = (u = this.props).onReset) === null || o === void 0 || o.call(u, {
532
+ next: a,
533
+ prev: e.resetKeys,
534
+ reason: "keys"
535
+ }), this.setState(I);
536
+ }
537
+ }
538
+ render() {
539
+ const {
540
+ children: e,
541
+ fallbackRender: s,
542
+ FallbackComponent: r,
543
+ fallback: a
544
+ } = this.props, {
545
+ didCatch: o,
546
+ error: u
547
+ } = this.state;
548
+ let d = e;
549
+ if (o) {
550
+ const h = {
551
+ error: u,
552
+ resetErrorBoundary: this.resetErrorBoundary
553
+ };
554
+ if (typeof s == "function")
555
+ d = s(h);
556
+ else if (r)
557
+ d = _(r, h);
558
+ else if (a === null || Se(a))
559
+ d = a;
560
+ else
561
+ throw u;
562
+ }
563
+ return _(_e.Provider, {
564
+ value: {
565
+ didCatch: o,
566
+ error: u,
567
+ resetErrorBoundary: this.resetErrorBoundary
568
+ }
569
+ }, d);
570
+ }
571
+ }
572
+ function tt() {
573
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
574
+ return t.length !== e.length || t.some((s, r) => !Object.is(s, e[r]));
575
+ }
576
+ const st = (t) => "getRoutes" in t && typeof t.getRoutes == "function", rt = (t) => "initialize" in t && typeof t.initialize == "function", at = (t) => "getHead" in t && typeof t.getHead == "function", nt = (t) => "getIdentities" in t && typeof t.getIdentities == "function", ce = new $e(), it = Le(() => ({}));
577
+ class ot {
519
578
  constructor(e) {
520
579
  g(this, "plugins", []);
521
580
  g(this, "navigationPlugins");
@@ -526,27 +585,27 @@ class Qt {
526
585
  g(this, "state");
527
586
  g(this, "initialize", async () => {
528
587
  await Promise.all([
529
- this.plugins.filter(kt).map((e) => {
588
+ this.plugins.filter(rt).map((e) => {
530
589
  var s;
531
590
  return (s = e.initialize) == null ? void 0 : s.call(e, this);
532
591
  })
533
592
  ]);
534
593
  });
535
594
  g(this, "invalidateCache", async (e) => {
536
- await Ce.invalidateQueries({ queryKey: e });
595
+ await ce.invalidateQueries({ queryKey: e });
537
596
  });
538
597
  g(this, "getApiIdentities", async () => (await Promise.all(
539
- this.plugins.filter(Ot).map((s) => s.getIdentities(this))
598
+ this.plugins.filter(nt).map((s) => s.getIdentities(this))
540
599
  )).flat());
541
600
  g(this, "getNavigation", async (e) => (await Promise.all(
542
601
  this.navigationPlugins.map(
543
- async (a) => {
544
- var r;
545
- return (r = a.getNavigation) == null ? void 0 : r.call(a, e);
602
+ async (r) => {
603
+ var a;
604
+ return (a = r.getNavigation) == null ? void 0 : a.call(r, e);
546
605
  }
547
606
  )
548
- )).flatMap((a) => a ?? []));
549
- this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Ne), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = At;
607
+ )).flatMap((r) => r ?? []));
608
+ this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(st), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = it;
550
609
  }
551
610
  async signRequest(e) {
552
611
  if (!this.authentication)
@@ -555,12 +614,15 @@ class Qt {
555
614
  return e.headers.set("Authorization", `Bearer ${s}`), e;
556
615
  }
557
616
  }
558
- const Dt = () => {
559
- const { navigation: t } = U();
560
- return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
561
- B,
617
+ function ut({ error: t, resetErrorBoundary: e }) {
618
+ return /* @__PURE__ */ i.jsx(Ue, { error: t });
619
+ }
620
+ const lt = () => {
621
+ const { navigation: t } = oe();
622
+ return t.length <= 1 ? null : /* @__PURE__ */ i.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ i.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
623
+ ve,
562
624
  {
563
- className: ({ isActive: s }) => Se(
625
+ className: ({ isActive: s }) => be(
564
626
  "block py-3.5 font-medium -mb-px border-b-2",
565
627
  s ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
566
628
  ),
@@ -568,355 +630,80 @@ const Dt = () => {
568
630
  children: e.label
569
631
  }
570
632
  ) }, e.label)) }) });
571
- }, ke = ge(function() {
572
- const [e, s] = ze(), { isAuthenticated: a, profile: r, isAuthEnabled: o, login: l, logout: h } = ft(), { page: d } = U(), b = e ? xt : bt;
573
- return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
574
- /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
575
- /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
576
- (d == null ? void 0 : d.logo) && /* @__PURE__ */ n.jsx("img", { src: d.logo, alt: d.pageTitle, className: "h-10" }),
577
- /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: d == null ? void 0 : d.pageTitle })
633
+ }, ct = le(function() {
634
+ const [e, s] = Pe(), { isAuthenticated: r, profile: a, isAuthEnabled: o, login: u, logout: d } = Ve(), { page: h } = oe(), P = e ? Xe : Ge;
635
+ return /* @__PURE__ */ i.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ i.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
636
+ /* @__PURE__ */ i.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
637
+ /* @__PURE__ */ i.jsxs("div", { className: "flex items-center gap-3.5", children: [
638
+ (h == null ? void 0 : h.logo) && /* @__PURE__ */ i.jsx("img", { src: h.logo, alt: h.pageTitle, className: "h-10" }),
639
+ /* @__PURE__ */ i.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: h == null ? void 0 : h.pageTitle })
578
640
  ] }),
579
- /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
580
- /* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose" }),
581
- /* @__PURE__ */ n.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
582
- o && /* @__PURE__ */ n.jsx(n.Fragment, { children: a ? /* @__PURE__ */ n.jsxs(
641
+ /* @__PURE__ */ i.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
642
+ /* @__PURE__ */ i.jsx("div", { className: "w-full max-w-prose" }),
643
+ /* @__PURE__ */ i.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
644
+ o && /* @__PURE__ */ i.jsx(i.Fragment, { children: r ? /* @__PURE__ */ i.jsxs(
583
645
  "button",
584
646
  {
585
647
  className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
586
- onClick: h,
648
+ onClick: d,
587
649
  children: [
588
650
  "Logout ",
589
- r != null && r.email ? `(${r.email})` : null
651
+ a != null && a.email ? `(${a.email})` : null
590
652
  ]
591
653
  }
592
- ) : /* @__PURE__ */ n.jsx(
654
+ ) : /* @__PURE__ */ i.jsx(
593
655
  "button",
594
656
  {
595
657
  className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded",
596
- onClick: l,
658
+ onClick: u,
597
659
  children: "Login"
598
660
  }
599
661
  ) }),
600
- /* @__PURE__ */ n.jsx(
662
+ /* @__PURE__ */ i.jsx(
601
663
  "button",
602
664
  {
603
665
  className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
604
666
  onClick: s,
605
- children: /* @__PURE__ */ n.jsx(b, { size: 18 })
667
+ children: /* @__PURE__ */ i.jsx(P, { size: 18 })
606
668
  }
607
669
  )
608
670
  ] })
609
671
  ] })
610
672
  ] }),
611
- /* @__PURE__ */ n.jsx(Dt, {})
673
+ /* @__PURE__ */ i.jsx(lt, {})
612
674
  ] }) });
613
- }), Me = {
614
- Header: ke
615
- }, Tt = at(Me), qt = Tt.Provider, It = () => {
616
- const t = T(), { setActiveAnchor: e } = $();
617
- I(() => {
618
- if (!t.hash) return;
619
- const s = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(s));
620
- if (a) {
621
- requestAnimationFrame(() => {
622
- a.scrollIntoView(), requestIdleCallback(() => e(s));
623
- });
624
- return;
625
- }
626
- const r = new MutationObserver((o, l) => {
627
- const h = document.getElementById(decodeURIComponent(s));
628
- h && (h.scrollIntoView(), requestIdleCallback(() => e(s)), l.disconnect());
629
- });
630
- return r.observe(document.body, { childList: !0, subtree: !0 }), () => r.disconnect();
631
- }, [t.hash, e]);
632
- }, Et = () => {
633
- const t = T(), e = K(t.pathname);
634
- I(() => {
635
- e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
636
- }, [t.pathname]);
637
- }, Oe = ({
638
- item: t,
639
- defaultOpen: e,
640
- path: s
641
- }) => {
642
- const [a, r] = nt(e), o = T(), l = K(o.pathname);
643
- return I(() => {
644
- !a && l.current !== o.pathname && r(W(t, o.pathname, s)), l.current = o.pathname;
645
- }, [a, t, s, o.pathname]), [a, r];
646
- }, F = Re(
647
- "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
648
- {
649
- variants: {
650
- isActive: {
651
- true: "text-primary font-medium",
652
- false: "text-foreground/80"
653
- },
654
- isMuted: {
655
- true: "text-foreground/30",
656
- false: ""
657
- }
658
- }
659
- }
660
- ), St = "data-anchor", Ae = ({
661
- category: t,
662
- item: e,
663
- activeAnchor: s,
664
- currentTopNavItem: a,
665
- basePath: r = ""
675
+ }), he = {
676
+ Header: ct
677
+ }, ht = ue(he), dt = ht.Provider, ft = ({
678
+ children: t,
679
+ ...e
666
680
  }) => {
667
- const o = V(e) ? Pe(r, e.path) : "", l = T(), [h, d] = Oe({
668
- item: e,
669
- path: o,
670
- defaultOpen: () => W(e, l.pathname, o)
671
- });
672
- if (vt(e)) {
673
- const f = L(
674
- "flex items-center gap-2",
675
- F({
676
- isActive: e.href === l.pathname
677
- })
678
- );
679
- return e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
680
- "a",
681
- {
682
- className: f,
683
- href: e.href,
684
- target: "_blank",
685
- rel: "noopener noreferrer",
686
- children: [
687
- e.label,
688
- /* @__PURE__ */ n.jsx(yt, { size: 14 })
689
- ]
690
- }
691
- ) : /* @__PURE__ */ n.jsx(B, { className: f, to: e.href, children: e.label });
692
- }
693
- const b = /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between w-full", children: [
694
- /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
695
- e.icon,
696
- typeof e.label != "string" ? e.label : /* @__PURE__ */ n.jsx("span", { className: "truncate", children: e.label })
697
- ] }),
698
- e.children && /* @__PURE__ */ n.jsx(
699
- we,
700
- {
701
- size: 16,
702
- className: "transition shrink-0 group-data-[state=open]:rotate-90"
703
- }
704
- )
705
- ] });
706
- return /* @__PURE__ */ n.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ n.jsxs(
707
- xe,
708
- {
709
- open: h,
710
- onOpenChange: () => d((f) => !f),
711
- className: "flex flex-col",
712
- children: [
713
- /* @__PURE__ */ n.jsx(
714
- be,
715
- {
716
- className: L(
717
- "group text-start",
718
- F({ isActive: !1 })
719
- ),
720
- children: b
721
- }
722
- ),
723
- /* @__PURE__ */ n.jsx(je, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((f) => /* @__PURE__ */ n.jsx(
724
- Ae,
725
- {
726
- category: t,
727
- item: f,
728
- activeAnchor: s,
729
- currentTopNavItem: a,
730
- basePath: o
731
- },
732
- V(f) ? f.path : f.href
733
- )) }) })
734
- ]
735
- }
736
- ) : e.path.startsWith("#") ? /* @__PURE__ */ n.jsx(
737
- ot,
738
- {
739
- to: e.path,
740
- [St]: e.path,
741
- className: F({
742
- isActive: e.path.slice(1) === s,
743
- isMuted: e.muted
744
- }),
745
- children: b
746
- }
747
- ) : /* @__PURE__ */ n.jsx(
748
- B,
749
- {
750
- className: ({ isActive: f }) => F({ isActive: f }),
751
- to: o,
752
- children: b
753
- }
754
- ) });
755
- }, Rt = ({
756
- category: t
757
- }) => {
758
- const { activeAnchor: e } = $(), s = Ze(), a = T(), r = t.collapsible ?? !0, [o, l] = Oe({
759
- item: t,
760
- path: (s == null ? void 0 : s.path) ?? "",
761
- defaultOpen: () => !r || t.expanded || W(t, a.pathname, (s == null ? void 0 : s.path) ?? "")
762
- });
763
- return /* @__PURE__ */ n.jsxs(
764
- xe,
765
- {
766
- open: o,
767
- onOpenChange: () => l((h) => !h),
768
- children: [
769
- t.label.length > 0 ? /* @__PURE__ */ n.jsx(be, { asChild: r, disabled: !r, children: /* @__PURE__ */ n.jsxs(
770
- "h5",
771
- {
772
- className: L(
773
- "flex group items-center justify-between cursor-pointer font-semibold text-foreground/90 px-[--padding-nav-item] py-1.5 rounded-lg transition-colors duration-300 -mx-[--padding-nav-item]",
774
- r ? "hover:bg-accent" : "cursor-auto"
775
- ),
776
- children: [
777
- t.label,
778
- r && /* @__PURE__ */ n.jsx(
779
- we,
780
- {
781
- className: "group-data-[state=open]:rotate-90 transition",
782
- size: 16
783
- }
784
- )
785
- ]
786
- }
787
- ) }) : "Endpoints",
788
- /* @__PURE__ */ n.jsx(je, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((h) => /* @__PURE__ */ n.jsx(
789
- Ae,
790
- {
791
- category: t,
792
- item: h,
793
- activeAnchor: e,
794
- currentTopNavItem: s,
795
- basePath: Pe(s == null ? void 0 : s.path, t.path)
796
- },
797
- V(h) ? h.path + h.label : h.href
798
- )) }) })
799
- ]
800
- },
801
- t.label
802
- );
803
- }, Ft = rt(function({ children: e, className: s, pushMainContent: a }, r) {
804
- return /* @__PURE__ */ n.jsx(
805
- "nav",
806
- {
807
- "data-navigation": String(a),
808
- className: L(
809
- "peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 p-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 pt-[--padding-content-top] w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
810
- s
811
- ),
812
- ref: r,
813
- children: e
814
- }
815
- );
816
- }), Ht = () => {
817
- const t = K(null), e = et();
818
- return /* @__PURE__ */ n.jsx(
819
- Ft,
820
- {
821
- ref: t,
822
- pushMainContent: e.data.items.length > 0,
823
- children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(Rt, { category: s }, s.label))
824
- }
825
- );
826
- }, Qe = ({ children: t }) => {
827
- const e = T(), { setActiveAnchor: s } = $(), { meta: a } = U();
828
- It(), Et();
829
- const r = K(e.pathname);
830
- return I(() => {
831
- e.pathname !== r.current && s(""), r.current = e.pathname;
832
- }, [e.pathname, s]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
833
- /* @__PURE__ */ n.jsxs(ye, { titleTemplate: a == null ? void 0 : a.title, children: [
834
- (a == null ? void 0 : a.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: a.description }),
835
- (a == null ? void 0 : a.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: a.favicon })
836
- ] }),
837
- /* @__PURE__ */ n.jsx(ke, {}),
838
- /* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
839
- ve,
840
- {
841
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(gt, {}) }),
842
- children: [
843
- /* @__PURE__ */ n.jsx(Ht, {}),
844
- /* @__PURE__ */ n.jsx(
845
- "main",
846
- {
847
- className: `dark:border-white/10 translate-x-0 h-full
848
- lg:overflow-visible
849
- lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
850
- lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
851
- children: t ?? /* @__PURE__ */ n.jsx(pt, {})
852
- }
853
- )
854
- ]
855
- }
856
- ) })
857
- ] });
858
- };
859
- function Lt() {
860
- const t = mt();
861
- return console.error(t), /* @__PURE__ */ n.jsx(Qe, { children: /* @__PURE__ */ n.jsx("div", { className: "h-[75vh] flex items-center justify-center", children: "Error, look at the console" }) });
862
- }
863
- function zt({ plugins: t }) {
864
- const e = H(() => {
865
- const s = (t ?? []).flatMap(
866
- (a) => Ne(a) ? a.getRoutes() : []
867
- );
868
- return Fe([
869
- {
870
- path: "/",
871
- element: /* @__PURE__ */ n.jsx(Qe, {}),
872
- errorElement: /* @__PURE__ */ n.jsx(Lt, {}),
873
- children: s
874
- }
875
- ]);
876
- }, [t]);
877
- return /* @__PURE__ */ n.jsx(He, { router: e });
878
- }
879
- const Kt = (t) => {
880
- var o;
881
- const e = H(
882
- () => ({ ...Me, ...t.overrides }),
883
- [t.overrides]
884
- ), s = H(
885
- () => ({ ...Ke, ...t.mdxComponents }),
886
- [t.mdxComponents]
887
- ), a = H(() => new Qt(t), [t]);
888
- I(() => {
681
+ var u;
682
+ const s = S(
683
+ () => ({ ...he, ...e.overrides }),
684
+ [e.overrides]
685
+ ), r = S(
686
+ () => ({ ...xe, ...e.mdxComponents }),
687
+ [e.mdxComponents]
688
+ ), a = S(() => new ot(e), [e]);
689
+ Ie(() => {
889
690
  a.initialize();
890
691
  }, [a]);
891
- const r = (o = t.plugins) == null ? void 0 : o.filter(Mt).map((l, h) => {
892
- var d;
893
- return /* @__PURE__ */ n.jsx(it, { children: (d = l.getHead) == null ? void 0 : d.call(l) }, h);
692
+ const o = (u = e.plugins) == null ? void 0 : u.filter(at).map((d, h) => {
693
+ var P;
694
+ return /* @__PURE__ */ i.jsx(He, { children: (P = d.getHead) == null ? void 0 : P.call(d) }, h);
894
695
  });
895
- return /* @__PURE__ */ n.jsx(tt, { client: Ce, children: /* @__PURE__ */ n.jsxs(lt, { children: [
896
- /* @__PURE__ */ n.jsx(ye, { children: r }),
897
- /* @__PURE__ */ n.jsx(st, { value: a, children: /* @__PURE__ */ n.jsx(ct, { components: s, children: /* @__PURE__ */ n.jsx(_e, { children: /* @__PURE__ */ n.jsx(qt, { value: e, children: /* @__PURE__ */ n.jsx(Be, { children: /* @__PURE__ */ n.jsx(
898
- ve,
899
- {
900
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
901
- children: /* @__PURE__ */ n.jsx(
902
- zt,
903
- {
904
- plugins: [
905
- ...t.plugins ?? [],
906
- ...t.authentication ? [t.authentication] : []
907
- ]
908
- }
909
- )
910
- }
911
- ) }) }) }) }) })
912
- ] }) });
913
- }, De = ge(Kt);
914
- De.displayName = "DevPortal";
915
- const as = ht, ns = Ve, rs = De, is = Le;
696
+ return /* @__PURE__ */ i.jsxs(qe, { client: ce, children: [
697
+ /* @__PURE__ */ i.jsx(Ke, { children: o }),
698
+ /* @__PURE__ */ i.jsx(Fe, { value: a, children: /* @__PURE__ */ i.jsx(Be, { components: r, children: /* @__PURE__ */ i.jsx(Me, { children: /* @__PURE__ */ i.jsx(dt, { value: s, children: /* @__PURE__ */ i.jsx(Ce, { children: t }) }) }) }) })
699
+ ] });
700
+ }, mt = le(ft), de = (t) => /* @__PURE__ */ i.jsx(et, { FallbackComponent: ut, children: /* @__PURE__ */ i.jsx(mt, { ...t }) });
701
+ de.displayName = "DevPortal";
702
+ const wt = ze, Qt = we, Ot = de, Et = Qe;
916
703
  export {
917
- ns as Callout,
918
- rs as DevPortal,
919
- is as Link,
920
- as as useMDXComponents
704
+ Qt as Callout,
705
+ Ot as DevPortal,
706
+ Et as Link,
707
+ wt as useMDXComponents
921
708
  };
922
709
  //# sourceMappingURL=zudoku.components.js.map