zudoku 0.1.1-dev.47 → 0.1.1-dev.49

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 (132) hide show
  1. package/dist/app/App.js +5 -5
  2. package/dist/app/App.js.map +1 -1
  3. package/dist/app/main.js +8 -0
  4. package/dist/app/main.js.map +1 -1
  5. package/dist/cli/common/analytics/lib.js +1 -1
  6. package/dist/cli/common/analytics/lib.js.map +1 -1
  7. package/dist/cli/common/logger.js +1 -1
  8. package/dist/lib/authentication/clerk.js +0 -1
  9. package/dist/lib/authentication/clerk.js.map +1 -1
  10. package/dist/lib/authentication/openid.js +3 -2
  11. package/dist/lib/authentication/openid.js.map +1 -1
  12. package/dist/lib/components/Header.d.ts +1 -1
  13. package/dist/lib/components/Header.js +1 -1
  14. package/dist/lib/components/Header.js.map +1 -1
  15. package/dist/lib/components/Select.js +1 -1
  16. package/dist/lib/components/Select.js.map +1 -1
  17. package/dist/lib/components/context/ComponentsContext.d.ts +1 -1
  18. package/dist/lib/components/index.d.ts +0 -1
  19. package/dist/lib/components/index.js +0 -1
  20. package/dist/lib/components/index.js.map +1 -1
  21. package/dist/lib/components/navigation/SideNavigationItem.js +1 -2
  22. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
  23. package/dist/lib/components/navigation/SideNavigationWrapper.js +3 -1
  24. package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -1
  25. package/dist/lib/core/DevPortalContext.d.ts +3 -5
  26. package/dist/lib/core/DevPortalContext.js.map +1 -1
  27. package/dist/lib/oas/graphql/index.js +2 -2
  28. package/dist/lib/oas/graphql/index.js.map +1 -1
  29. package/dist/lib/plugins/api-key/SettingsApiKeys.js +1 -1
  30. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -1
  31. package/dist/lib/plugins/api-key/index.d.ts +2 -2
  32. package/dist/lib/plugins/api-key/index.js +2 -2
  33. package/dist/lib/plugins/api-key/index.js.map +1 -1
  34. package/dist/lib/plugins/markdown/MdxPage.js +7 -7
  35. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  36. package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
  37. package/dist/lib/plugins/openapi/MakeRequest.js +4 -4
  38. package/dist/lib/plugins/openapi/MakeRequest.js.map +1 -1
  39. package/dist/lib/plugins/openapi/OperationList.js +8 -1
  40. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  41. package/dist/lib/plugins/openapi/OperationListItem.js +2 -2
  42. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  43. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  44. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  45. package/dist/lib/plugins/openapi/SchemaListView.js +6 -6
  46. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
  47. package/dist/lib/plugins/openapi/Sidecar.js +2 -2
  48. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  49. package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
  50. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  51. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  52. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +8 -0
  53. package/dist/lib/plugins/openapi/graphql/graphql.js +46 -0
  54. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  55. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -4
  56. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  57. package/dist/lib/plugins/openapi/playground/Playground.d.ts +1 -0
  58. package/dist/lib/plugins/openapi/playground/Playground.js +29 -21
  59. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  60. package/dist/lib/plugins/openapi/playground/QueryParams.js +4 -5
  61. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  62. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +0 -1
  63. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  64. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js +1 -0
  65. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +1 -1
  66. package/dist/lib/ui/Button.d.ts +3 -7
  67. package/dist/lib/ui/Button.js +3 -26
  68. package/dist/lib/ui/Button.js.map +1 -1
  69. package/dist/lib/ui/button-variants.d.ts +4 -0
  70. package/dist/lib/ui/button-variants.js +24 -0
  71. package/dist/lib/ui/button-variants.js.map +1 -0
  72. package/dist/lib/util/MdxComponents.js +7 -7
  73. package/dist/lib/util/MdxComponents.js.map +1 -1
  74. package/dist/ts.js +1 -2
  75. package/dist/ts.js.map +1 -1
  76. package/dist/vite/config.js +1 -1
  77. package/dist/vite/dev-server.js +5 -4
  78. package/dist/vite/dev-server.js.map +1 -1
  79. package/dist/vite/plugin-api.js +1 -1
  80. package/dist/vite/plugin-api.js.map +1 -1
  81. package/dist/vite/plugin-component.js +1 -1
  82. package/dist/vite/plugin-component.js.map +1 -1
  83. package/dist/vite/plugin-docs.js +1 -1
  84. package/dist/vite/plugin-docs.js.map +1 -1
  85. package/dist/vite/plugin-docs.test.js +1 -1
  86. package/dist/vite/plugin-docs.test.js.map +1 -1
  87. package/lib/{Spinner-DEkC7JSn.js → Spinner-DoNe5ql0.js} +18 -18
  88. package/lib/assets/{worker-W78u54MC.js → worker-BCcpCNJ7.js} +2 -2
  89. package/lib/zudoku.auth-clerk.js +1 -1
  90. package/lib/zudoku.components.js +278 -281
  91. package/lib/zudoku.openapi-worker.js +5 -5
  92. package/lib/zudoku.plugins.js +9963 -9732
  93. package/package.json +4 -1
  94. package/src/app/App.tsx +5 -5
  95. package/src/app/main.tsx +9 -0
  96. package/src/lib/authentication/clerk.ts +0 -1
  97. package/src/lib/authentication/openid.ts +4 -2
  98. package/src/lib/components/Header.tsx +1 -1
  99. package/src/lib/components/Select.tsx +3 -3
  100. package/src/lib/components/index.ts +0 -1
  101. package/src/lib/components/navigation/SideNavigationItem.tsx +1 -2
  102. package/src/lib/components/navigation/SideNavigationWrapper.tsx +18 -16
  103. package/src/lib/core/DevPortalContext.ts +3 -6
  104. package/src/lib/oas/graphql/index.ts +2 -2
  105. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +1 -1
  106. package/src/lib/plugins/api-key/index.tsx +4 -4
  107. package/src/lib/plugins/markdown/MdxPage.tsx +13 -8
  108. package/src/lib/plugins/openapi/ColorizedParam.tsx +1 -1
  109. package/src/lib/plugins/openapi/MakeRequest.tsx +4 -4
  110. package/src/lib/plugins/openapi/OperationList.tsx +8 -1
  111. package/src/lib/plugins/openapi/OperationListItem.tsx +2 -2
  112. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
  113. package/src/lib/plugins/openapi/SchemaListView.tsx +9 -10
  114. package/src/lib/plugins/openapi/Sidecar.tsx +3 -3
  115. package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
  116. package/src/lib/plugins/openapi/graphql/graphql.ts +54 -0
  117. package/src/lib/plugins/openapi/playground/PathParams.tsx +4 -4
  118. package/src/lib/plugins/openapi/playground/Playground.tsx +80 -36
  119. package/src/lib/plugins/openapi/playground/QueryParams.tsx +4 -6
  120. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +0 -1
  121. package/src/lib/plugins/openapi/worker/createSharedWorkerClient.ts +1 -0
  122. package/src/lib/ui/Button.tsx +11 -42
  123. package/src/lib/ui/button-variants.ts +31 -0
  124. package/src/lib/util/MdxComponents.tsx +31 -7
  125. package/dist/lib/components/DynamicIcon.d.ts +0 -6
  126. package/dist/lib/components/DynamicIcon.js +0 -6
  127. package/dist/lib/components/DynamicIcon.js.map +0 -1
  128. package/dist/lib/oas/graphql/server.d.ts +0 -1
  129. package/dist/lib/oas/graphql/server.js +0 -8
  130. package/dist/lib/oas/graphql/server.js.map +0 -1
  131. package/src/lib/components/DynamicIcon.tsx +0 -60
  132. package/src/lib/oas/graphql/server.ts +0 -10
@@ -4,35 +4,35 @@ var xe = (t) => {
4
4
  };
5
5
  var at = (t, e, n) => e in t ? st(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
6
  var j = (t, e, n) => at(t, typeof e != "symbol" ? e + "" : e, n), Se = (t, e, n) => e.has(t) || xe("Cannot " + n);
7
- var i = (t, e, n) => (Se(t, e, "read from private field"), n ? n.call(t) : e.get(t)), N = (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), P = (t, e, n, r) => (Se(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
7
+ var i = (t, e, n) => (Se(t, e, "read from private field"), n ? n.call(t) : e.get(t)), C = (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), P = (t, e, n, r) => (Se(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
8
8
  var X = (t, e, n, r) => ({
9
- set _(a) {
10
- P(t, e, a, n);
9
+ set _(s) {
10
+ P(t, e, s, n);
11
11
  },
12
12
  get _() {
13
13
  return i(t, e, r);
14
14
  }
15
15
  });
16
- import { S as Ve, h as He, Q as it, n as C, m as be, M as ot, a as Oe, b as L, e as ut, c as ct, d as lt, f as dt, o as _e, r as Ee, g as ht, i as we, p as je, s as ft, j as pt, k as G, u as ve, l as s, N as he, q as mt, t as vt, v as B, w as ge, x as ye, y as fe, z as Fe, A as gt, B as te, R as Ke, T as Be, C as ze, D as yt, E as xt, F as St, G as bt, H as Ot, I as _t, O as Et, J as wt, K as jt, L as Pt, P as At, U as Dt, V as Ct, W as Nt, X as Mt, Y as Tt } from "./Spinner-DEkC7JSn.js";
17
- import { _ as An, Z as Dn } from "./Spinner-DEkC7JSn.js";
18
- import $, { memo as We, createContext as Rt, useEffect as K, useRef as ne, useState as Lt, forwardRef as It, Suspense as Ue, useMemo as ee } from "react";
19
- var T, ke, kt = (ke = class extends Ve {
16
+ import { S as Ve, h as He, Q as it, n as N, m as be, M as ot, a as Oe, b as L, e as ut, c as ct, d as lt, f as dt, o as _e, r as Ee, g as ht, i as we, p as je, s as ft, j as pt, k as G, u as me, l as a, N as he, q as vt, t as mt, v as B, w as ge, x as ye, y as fe, z as Fe, A as gt, B as te, R as Ke, T as Be, C as ze, D as yt, E as xt, F as St, G as bt, H as Ot, I as _t, O as Et, J as wt, K as jt, L as Pt, P as At, U as Dt, V as Nt, W as Ct, X as Mt, Y as Tt } from "./Spinner-DoNe5ql0.js";
17
+ import { _ as jn, Z as Pn } from "./Spinner-DoNe5ql0.js";
18
+ import $, { memo as We, createContext as Rt, useEffect as K, useRef as ne, useState as Lt, forwardRef as kt, Suspense as Ue, useMemo as ee } from "react";
19
+ var T, Ie, It = (Ie = class extends Ve {
20
20
  constructor(e = {}) {
21
21
  super();
22
- N(this, T);
22
+ C(this, T);
23
23
  this.config = e, P(this, T, /* @__PURE__ */ new Map());
24
24
  }
25
25
  build(e, n, r) {
26
- const a = n.queryKey, o = n.queryHash ?? He(a, n);
27
- let l = this.get(o);
28
- return l || (l = new it({
26
+ const s = n.queryKey, o = n.queryHash ?? He(s, n);
27
+ let p = this.get(o);
28
+ return p || (p = new it({
29
29
  cache: this,
30
- queryKey: a,
30
+ queryKey: s,
31
31
  queryHash: o,
32
32
  options: e.defaultQueryOptions(n),
33
33
  state: r,
34
- defaultOptions: e.getQueryDefaults(a)
35
- }), this.add(l)), l;
34
+ defaultOptions: e.getQueryDefaults(s)
35
+ }), this.add(p)), p;
36
36
  }
37
37
  add(e) {
38
38
  i(this, T).has(e.queryHash) || (i(this, T).set(e.queryHash, e), this.notify({
@@ -45,7 +45,7 @@ var T, ke, kt = (ke = class extends Ve {
45
45
  n && (e.destroy(), n === e && i(this, T).delete(e.queryHash), this.notify({ type: "removed", query: e }));
46
46
  }
47
47
  clear() {
48
- C.batch(() => {
48
+ N.batch(() => {
49
49
  this.getAll().forEach((e) => {
50
50
  this.remove(e);
51
51
  });
@@ -68,41 +68,41 @@ var T, ke, kt = (ke = class extends Ve {
68
68
  return Object.keys(e).length > 0 ? n.filter((r) => be(e, r)) : n;
69
69
  }
70
70
  notify(e) {
71
- C.batch(() => {
71
+ N.batch(() => {
72
72
  this.listeners.forEach((n) => {
73
73
  n(e);
74
74
  });
75
75
  });
76
76
  }
77
77
  onFocus() {
78
- C.batch(() => {
78
+ N.batch(() => {
79
79
  this.getAll().forEach((e) => {
80
80
  e.onFocus();
81
81
  });
82
82
  });
83
83
  }
84
84
  onOnline() {
85
- C.batch(() => {
85
+ N.batch(() => {
86
86
  this.getAll().forEach((e) => {
87
87
  e.onOnline();
88
88
  });
89
89
  });
90
90
  }
91
- }, T = new WeakMap(), ke), D, U, qe, qt = (qe = class extends Ve {
91
+ }, T = new WeakMap(), Ie), D, U, qe, qt = (qe = class extends Ve {
92
92
  constructor(e = {}) {
93
93
  super();
94
- N(this, D);
95
- N(this, U);
94
+ C(this, D);
95
+ C(this, U);
96
96
  this.config = e, P(this, D, /* @__PURE__ */ new Map()), P(this, U, Date.now());
97
97
  }
98
98
  build(e, n, r) {
99
- const a = new ot({
99
+ const s = new ot({
100
100
  mutationCache: this,
101
101
  mutationId: ++X(this, U)._,
102
102
  options: e.defaultMutationOptions(n),
103
103
  state: r
104
104
  });
105
- return this.add(a), a;
105
+ return this.add(s), s;
106
106
  }
107
107
  add(e) {
108
108
  const n = Y(e), r = i(this, D).get(n) ?? [];
@@ -112,23 +112,23 @@ var T, ke, kt = (ke = class extends Ve {
112
112
  var r;
113
113
  const n = Y(e);
114
114
  if (i(this, D).has(n)) {
115
- const a = (r = i(this, D).get(n)) == null ? void 0 : r.filter((o) => o !== e);
116
- a && (a.length === 0 ? i(this, D).delete(n) : i(this, D).set(n, a));
115
+ const s = (r = i(this, D).get(n)) == null ? void 0 : r.filter((o) => o !== e);
116
+ s && (s.length === 0 ? i(this, D).delete(n) : i(this, D).set(n, s));
117
117
  }
118
118
  this.notify({ type: "removed", mutation: e });
119
119
  }
120
120
  canRun(e) {
121
121
  var r;
122
- const n = (r = i(this, D).get(Y(e))) == null ? void 0 : r.find((a) => a.state.status === "pending");
122
+ const n = (r = i(this, D).get(Y(e))) == null ? void 0 : r.find((s) => s.state.status === "pending");
123
123
  return !n || n === e;
124
124
  }
125
125
  runNext(e) {
126
126
  var r;
127
- const n = (r = i(this, D).get(Y(e))) == null ? void 0 : r.find((a) => a !== e && a.state.isPaused);
127
+ const n = (r = i(this, D).get(Y(e))) == null ? void 0 : r.find((s) => s !== e && s.state.isPaused);
128
128
  return (n == null ? void 0 : n.continue()) ?? Promise.resolve();
129
129
  }
130
130
  clear() {
131
- C.batch(() => {
131
+ N.batch(() => {
132
132
  this.getAll().forEach((e) => {
133
133
  this.remove(e);
134
134
  });
@@ -147,7 +147,7 @@ var T, ke, kt = (ke = class extends Ve {
147
147
  return this.getAll().filter((n) => Oe(e, n));
148
148
  }
149
149
  notify(e) {
150
- C.batch(() => {
150
+ N.batch(() => {
151
151
  this.listeners.forEach((n) => {
152
152
  n(e);
153
153
  });
@@ -155,7 +155,7 @@ var T, ke, kt = (ke = class extends Ve {
155
155
  }
156
156
  resumePausedMutations() {
157
157
  const e = this.getAll().filter((n) => n.state.isPaused);
158
- return C.batch(
158
+ return N.batch(
159
159
  () => Promise.all(
160
160
  e.map((n) => n.continue().catch(L))
161
161
  )
@@ -171,59 +171,59 @@ function Qt(t) {
171
171
  onFetch: (e, n) => {
172
172
  const r = async () => {
173
173
  var S, g, O, M, R;
174
- const a = e.options, o = (O = (g = (S = e.fetchOptions) == null ? void 0 : S.meta) == null ? void 0 : g.fetchMore) == null ? void 0 : O.direction, l = ((M = e.state.data) == null ? void 0 : M.pages) || [], v = ((R = e.state.data) == null ? void 0 : R.pageParams) || [], E = { pages: [], pageParams: [] };
174
+ const s = e.options, o = (O = (g = (S = e.fetchOptions) == null ? void 0 : S.meta) == null ? void 0 : g.fetchMore) == null ? void 0 : O.direction, p = ((M = e.state.data) == null ? void 0 : M.pages) || [], v = ((R = e.state.data) == null ? void 0 : R.pageParams) || [], E = { pages: [], pageParams: [] };
175
175
  let x = !1;
176
- const u = (h) => {
177
- Object.defineProperty(h, "signal", {
176
+ const u = (d) => {
177
+ Object.defineProperty(d, "signal", {
178
178
  enumerable: !0,
179
179
  get: () => (e.signal.aborted ? x = !0 : e.signal.addEventListener("abort", () => {
180
180
  x = !0;
181
181
  }), e.signal)
182
182
  });
183
- }, d = ut(e.options, e.fetchOptions), f = async (h, c, y) => {
183
+ }, l = ut(e.options, e.fetchOptions), h = async (d, c, y) => {
184
184
  if (x)
185
185
  return Promise.reject();
186
- if (c == null && h.pages.length)
187
- return Promise.resolve(h);
188
- const p = {
186
+ if (c == null && d.pages.length)
187
+ return Promise.resolve(d);
188
+ const f = {
189
189
  queryKey: e.queryKey,
190
190
  pageParam: c,
191
191
  direction: y ? "backward" : "forward",
192
192
  meta: e.options.meta
193
193
  };
194
- u(p);
195
- const _ = await d(
196
- p
194
+ u(f);
195
+ const _ = await l(
196
+ f
197
197
  ), { maxPages: A } = e.options, w = y ? ct : lt;
198
198
  return {
199
- pages: w(h.pages, _, A),
200
- pageParams: w(h.pageParams, c, A)
199
+ pages: w(d.pages, _, A),
200
+ pageParams: w(d.pageParams, c, A)
201
201
  };
202
202
  };
203
203
  let m;
204
- if (o && l.length) {
205
- const h = o === "backward", c = h ? Vt : Pe, y = {
206
- pages: l,
204
+ if (o && p.length) {
205
+ const d = o === "backward", c = d ? Vt : Pe, y = {
206
+ pages: p,
207
207
  pageParams: v
208
- }, p = c(a, y);
209
- m = await f(y, p, h);
208
+ }, f = c(s, y);
209
+ m = await h(y, f, d);
210
210
  } else {
211
- m = await f(
211
+ m = await h(
212
212
  E,
213
- v[0] ?? a.initialPageParam
213
+ v[0] ?? s.initialPageParam
214
214
  );
215
- const h = t ?? l.length;
216
- for (let c = 1; c < h; c++) {
217
- const y = Pe(a, m);
218
- m = await f(m, y);
215
+ const d = t ?? p.length;
216
+ for (let c = 1; c < d; c++) {
217
+ const y = Pe(s, m);
218
+ m = await h(m, y);
219
219
  }
220
220
  }
221
221
  return m;
222
222
  };
223
223
  e.options.persister ? e.fetchFn = () => {
224
- var a, o;
225
- return (o = (a = e.options).persister) == null ? void 0 : o.call(
226
- a,
224
+ var s, o;
225
+ return (o = (s = e.options).persister) == null ? void 0 : o.call(
226
+ s,
227
227
  r,
228
228
  {
229
229
  queryKey: e.queryKey,
@@ -255,17 +255,17 @@ function Vt(t, { pages: e, pageParams: n }) {
255
255
  n
256
256
  );
257
257
  }
258
- var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
258
+ var b, k, I, Q, V, q, H, F, Qe, Ht = (Qe = class {
259
259
  constructor(t = {}) {
260
- N(this, b);
261
- N(this, I);
262
- N(this, k);
263
- N(this, Q);
264
- N(this, V);
265
- N(this, q);
266
- N(this, H);
267
- N(this, F);
268
- P(this, b, t.queryCache || new kt()), P(this, I, t.mutationCache || new qt()), P(this, k, t.defaultOptions || {}), P(this, Q, /* @__PURE__ */ new Map()), P(this, V, /* @__PURE__ */ new Map()), P(this, q, 0);
260
+ C(this, b);
261
+ C(this, k);
262
+ C(this, I);
263
+ C(this, Q);
264
+ C(this, V);
265
+ C(this, q);
266
+ C(this, H);
267
+ C(this, F);
268
+ P(this, b, t.queryCache || new It()), P(this, k, t.mutationCache || new qt()), P(this, I, t.defaultOptions || {}), P(this, Q, /* @__PURE__ */ new Map()), P(this, V, /* @__PURE__ */ new Map()), P(this, q, 0);
269
269
  }
270
270
  mount() {
271
271
  X(this, q)._++, i(this, q) === 1 && (P(this, H, dt.subscribe(async (t) => {
@@ -282,7 +282,7 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
282
282
  return i(this, b).findAll({ ...t, fetchStatus: "fetching" }).length;
283
283
  }
284
284
  isMutating(t) {
285
- return i(this, I).findAll({ ...t, status: "pending" }).length;
285
+ return i(this, k).findAll({ ...t, status: "pending" }).length;
286
286
  }
287
287
  getQueryData(t) {
288
288
  var n;
@@ -305,14 +305,14 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
305
305
  });
306
306
  }
307
307
  setQueryData(t, e, n) {
308
- const r = this.defaultQueryOptions({ queryKey: t }), a = i(this, b).get(
308
+ const r = this.defaultQueryOptions({ queryKey: t }), s = i(this, b).get(
309
309
  r.queryHash
310
- ), o = a == null ? void 0 : a.state.data, l = ht(e, o);
311
- if (l !== void 0)
312
- return i(this, b).build(this, r).setData(l, { ...n, manual: !0 });
310
+ ), o = s == null ? void 0 : s.state.data, p = ht(e, o);
311
+ if (p !== void 0)
312
+ return i(this, b).build(this, r).setData(p, { ...n, manual: !0 });
313
313
  }
314
314
  setQueriesData(t, e, n) {
315
- return C.batch(
315
+ return N.batch(
316
316
  () => i(this, b).findAll(t).map(({ queryKey: r }) => [
317
317
  r,
318
318
  this.setQueryData(r, e, n)
@@ -326,7 +326,7 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
326
326
  }
327
327
  removeQueries(t) {
328
328
  const e = i(this, b);
329
- C.batch(() => {
329
+ N.batch(() => {
330
330
  e.findAll(t).forEach((n) => {
331
331
  e.remove(n);
332
332
  });
@@ -337,18 +337,18 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
337
337
  type: "active",
338
338
  ...t
339
339
  };
340
- return C.batch(() => (n.findAll(t).forEach((a) => {
341
- a.reset();
340
+ return N.batch(() => (n.findAll(t).forEach((s) => {
341
+ s.reset();
342
342
  }), this.refetchQueries(r, e)));
343
343
  }
344
344
  cancelQueries(t = {}, e = {}) {
345
- const n = { revert: !0, ...e }, r = C.batch(
346
- () => i(this, b).findAll(t).map((a) => a.cancel(n))
345
+ const n = { revert: !0, ...e }, r = N.batch(
346
+ () => i(this, b).findAll(t).map((s) => s.cancel(n))
347
347
  );
348
348
  return Promise.all(r).then(L).catch(L);
349
349
  }
350
350
  invalidateQueries(t = {}, e = {}) {
351
- return C.batch(() => {
351
+ return N.batch(() => {
352
352
  if (i(this, b).findAll(t).forEach((r) => {
353
353
  r.invalidate();
354
354
  }), t.refetchType === "none")
@@ -364,10 +364,10 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
364
364
  const n = {
365
365
  ...e,
366
366
  cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
367
- }, r = C.batch(
368
- () => i(this, b).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
369
- let o = a.fetch(void 0, n);
370
- return n.throwOnError || (o = o.catch(L)), a.state.fetchStatus === "paused" ? Promise.resolve() : o;
367
+ }, r = N.batch(
368
+ () => i(this, b).findAll(t).filter((s) => !s.isDisabled()).map((s) => {
369
+ let o = s.fetch(void 0, n);
370
+ return n.throwOnError || (o = o.catch(L)), s.state.fetchStatus === "paused" ? Promise.resolve() : o;
371
371
  })
372
372
  );
373
373
  return Promise.all(r).then(L);
@@ -390,19 +390,19 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
390
390
  return this.fetchInfiniteQuery(t).then(L).catch(L);
391
391
  }
392
392
  resumePausedMutations() {
393
- return _e.isOnline() ? i(this, I).resumePausedMutations() : Promise.resolve();
393
+ return _e.isOnline() ? i(this, k).resumePausedMutations() : Promise.resolve();
394
394
  }
395
395
  getQueryCache() {
396
396
  return i(this, b);
397
397
  }
398
398
  getMutationCache() {
399
- return i(this, I);
399
+ return i(this, k);
400
400
  }
401
401
  getDefaultOptions() {
402
- return i(this, k);
402
+ return i(this, I);
403
403
  }
404
404
  setDefaultOptions(t) {
405
- P(this, k, t);
405
+ P(this, I, t);
406
406
  }
407
407
  setQueryDefaults(t, e) {
408
408
  i(this, Q).set(we(t), {
@@ -434,7 +434,7 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
434
434
  if (t._defaulted)
435
435
  return t;
436
436
  const e = {
437
- ...i(this, k).queries,
437
+ ...i(this, I).queries,
438
438
  ...this.getQueryDefaults(t.queryKey),
439
439
  ...t,
440
440
  _defaulted: !0
@@ -446,29 +446,29 @@ var b, I, k, Q, V, q, H, F, Qe, Ht = (Qe = class {
446
446
  }
447
447
  defaultMutationOptions(t) {
448
448
  return t != null && t._defaulted ? t : {
449
- ...i(this, k).mutations,
449
+ ...i(this, I).mutations,
450
450
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
451
451
  ...t,
452
452
  _defaulted: !0
453
453
  };
454
454
  }
455
455
  clear() {
456
- i(this, b).clear(), i(this, I).clear();
456
+ i(this, b).clear(), i(this, k).clear();
457
457
  }
458
- }, b = new WeakMap(), I = new WeakMap(), k = new WeakMap(), Q = new WeakMap(), V = new WeakMap(), q = new WeakMap(), H = new WeakMap(), F = new WeakMap(), Qe), Ft = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
458
+ }, b = new WeakMap(), k = new WeakMap(), I = new WeakMap(), Q = new WeakMap(), V = new WeakMap(), q = new WeakMap(), H = new WeakMap(), F = new WeakMap(), Qe), Ft = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
459
459
  const Ae = (t) => {
460
460
  let e;
461
- const n = /* @__PURE__ */ new Set(), r = (u, d) => {
462
- const f = typeof u == "function" ? u(e) : u;
463
- if (!Object.is(f, e)) {
461
+ const n = /* @__PURE__ */ new Set(), r = (u, l) => {
462
+ const h = typeof u == "function" ? u(e) : u;
463
+ if (!Object.is(h, e)) {
464
464
  const m = e;
465
- e = d ?? (typeof f != "object" || f === null) ? f : Object.assign({}, e, f), n.forEach((S) => S(e, m));
465
+ e = l ?? (typeof h != "object" || h === null) ? h : Object.assign({}, e, h), n.forEach((S) => S(e, m));
466
466
  }
467
- }, a = () => e, E = { setState: r, getState: a, getInitialState: () => x, subscribe: (u) => (n.add(u), () => n.delete(u)), destroy: () => {
467
+ }, s = () => e, E = { setState: r, getState: s, getInitialState: () => x, subscribe: (u) => (n.add(u), () => n.delete(u)), destroy: () => {
468
468
  (Ft ? "production" : void 0) !== "production" && console.warn(
469
469
  "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
470
470
  ), n.clear();
471
- } }, x = e = t(r, a, E);
471
+ } }, x = e = t(r, s, E);
472
472
  return E;
473
473
  }, Kt = (t) => t ? Ae(t) : Ae;
474
474
  var pe = { exports: {} }, ue = {}, J = { exports: {} }, ce = {};
@@ -486,32 +486,32 @@ function Bt() {
486
486
  if (De) return ce;
487
487
  De = 1;
488
488
  var t = $;
489
- function e(d, f) {
490
- return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
489
+ function e(l, h) {
490
+ return l === h && (l !== 0 || 1 / l === 1 / h) || l !== l && h !== h;
491
491
  }
492
- var n = typeof Object.is == "function" ? Object.is : e, r = t.useState, a = t.useEffect, o = t.useLayoutEffect, l = t.useDebugValue;
493
- function v(d, f) {
494
- var m = f(), S = r({ inst: { value: m, getSnapshot: f } }), g = S[0].inst, O = S[1];
492
+ var n = typeof Object.is == "function" ? Object.is : e, r = t.useState, s = t.useEffect, o = t.useLayoutEffect, p = t.useDebugValue;
493
+ function v(l, h) {
494
+ var m = h(), S = r({ inst: { value: m, getSnapshot: h } }), g = S[0].inst, O = S[1];
495
495
  return o(function() {
496
- g.value = m, g.getSnapshot = f, E(g) && O({ inst: g });
497
- }, [d, m, f]), a(function() {
498
- return E(g) && O({ inst: g }), d(function() {
496
+ g.value = m, g.getSnapshot = h, E(g) && O({ inst: g });
497
+ }, [l, m, h]), s(function() {
498
+ return E(g) && O({ inst: g }), l(function() {
499
499
  E(g) && O({ inst: g });
500
500
  });
501
- }, [d]), l(m), m;
501
+ }, [l]), p(m), m;
502
502
  }
503
- function E(d) {
504
- var f = d.getSnapshot;
505
- d = d.value;
503
+ function E(l) {
504
+ var h = l.getSnapshot;
505
+ l = l.value;
506
506
  try {
507
- var m = f();
508
- return !n(d, m);
507
+ var m = h();
508
+ return !n(l, m);
509
509
  } catch {
510
510
  return !0;
511
511
  }
512
512
  }
513
- function x(d, f) {
514
- return f();
513
+ function x(l, h) {
514
+ return h();
515
515
  }
516
516
  var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? x : v;
517
517
  return ce.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : u, ce;
@@ -526,50 +526,50 @@ var le = {};
526
526
  * This source code is licensed under the MIT license found in the
527
527
  * LICENSE file in the root directory of this source tree.
528
528
  */
529
- var Ce;
529
+ var Ne;
530
530
  function zt() {
531
- return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && function() {
531
+ return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
532
532
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
533
533
  var t = $, e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
534
- function n(h) {
534
+ function n(d) {
535
535
  {
536
- for (var c = arguments.length, y = new Array(c > 1 ? c - 1 : 0), p = 1; p < c; p++)
537
- y[p - 1] = arguments[p];
538
- r("error", h, y);
536
+ for (var c = arguments.length, y = new Array(c > 1 ? c - 1 : 0), f = 1; f < c; f++)
537
+ y[f - 1] = arguments[f];
538
+ r("error", d, y);
539
539
  }
540
540
  }
541
- function r(h, c, y) {
541
+ function r(d, c, y) {
542
542
  {
543
- var p = e.ReactDebugCurrentFrame, _ = p.getStackAddendum();
543
+ var f = e.ReactDebugCurrentFrame, _ = f.getStackAddendum();
544
544
  _ !== "" && (c += "%s", y = y.concat([_]));
545
545
  var A = y.map(function(w) {
546
546
  return String(w);
547
547
  });
548
- A.unshift("Warning: " + c), Function.prototype.apply.call(console[h], console, A);
548
+ A.unshift("Warning: " + c), Function.prototype.apply.call(console[d], console, A);
549
549
  }
550
550
  }
551
- function a(h, c) {
552
- return h === c && (h !== 0 || 1 / h === 1 / c) || h !== h && c !== c;
551
+ function s(d, c) {
552
+ return d === c && (d !== 0 || 1 / d === 1 / c) || d !== d && c !== c;
553
553
  }
554
- var o = typeof Object.is == "function" ? Object.is : a, l = t.useState, v = t.useEffect, E = t.useLayoutEffect, x = t.useDebugValue, u = !1, d = !1;
555
- function f(h, c, y) {
554
+ var o = typeof Object.is == "function" ? Object.is : s, p = t.useState, v = t.useEffect, E = t.useLayoutEffect, x = t.useDebugValue, u = !1, l = !1;
555
+ function h(d, c, y) {
556
556
  u || t.startTransition !== void 0 && (u = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
557
- var p = c();
558
- if (!d) {
557
+ var f = c();
558
+ if (!l) {
559
559
  var _ = c();
560
- o(p, _) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0);
560
+ o(f, _) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), l = !0);
561
561
  }
562
- var A = l({
562
+ var A = p({
563
563
  inst: {
564
- value: p,
564
+ value: f,
565
565
  getSnapshot: c
566
566
  }
567
567
  }), w = A[0].inst, z = A[1];
568
568
  return E(function() {
569
- w.value = p, w.getSnapshot = c, m(w) && z({
569
+ w.value = f, w.getSnapshot = c, m(w) && z({
570
570
  inst: w
571
571
  });
572
- }, [h, p, c]), v(function() {
572
+ }, [d, f, c]), v(function() {
573
573
  m(w) && z({
574
574
  inst: w
575
575
  });
@@ -578,28 +578,28 @@ function zt() {
578
578
  inst: w
579
579
  });
580
580
  };
581
- return h(re);
582
- }, [h]), x(p), p;
581
+ return d(re);
582
+ }, [d]), x(f), f;
583
583
  }
584
- function m(h) {
585
- var c = h.getSnapshot, y = h.value;
584
+ function m(d) {
585
+ var c = d.getSnapshot, y = d.value;
586
586
  try {
587
- var p = c();
588
- return !o(y, p);
587
+ var f = c();
588
+ return !o(y, f);
589
589
  } catch {
590
590
  return !0;
591
591
  }
592
592
  }
593
- function S(h, c, y) {
593
+ function S(d, c, y) {
594
594
  return c();
595
595
  }
596
- var g = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", O = !g, M = O ? S : f, R = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : M;
596
+ var g = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", O = !g, M = O ? S : h, R = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : M;
597
597
  le.useSyncExternalStore = R, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
598
598
  }()), le;
599
599
  }
600
- var Ne;
600
+ var Ce;
601
601
  function Ge() {
602
- return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? J.exports = Bt() : J.exports = zt()), J.exports;
602
+ return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? J.exports = Bt() : J.exports = zt()), J.exports;
603
603
  }
604
604
  /**
605
605
  * @license React
@@ -618,35 +618,35 @@ function Wt() {
618
618
  function n(x, u) {
619
619
  return x === u && (x !== 0 || 1 / x === 1 / u) || x !== x && u !== u;
620
620
  }
621
- var r = typeof Object.is == "function" ? Object.is : n, a = e.useSyncExternalStore, o = t.useRef, l = t.useEffect, v = t.useMemo, E = t.useDebugValue;
622
- return ue.useSyncExternalStoreWithSelector = function(x, u, d, f, m) {
621
+ var r = typeof Object.is == "function" ? Object.is : n, s = e.useSyncExternalStore, o = t.useRef, p = t.useEffect, v = t.useMemo, E = t.useDebugValue;
622
+ return ue.useSyncExternalStoreWithSelector = function(x, u, l, h, m) {
623
623
  var S = o(null);
624
624
  if (S.current === null) {
625
625
  var g = { hasValue: !1, value: null };
626
626
  S.current = g;
627
627
  } else g = S.current;
628
628
  S = v(function() {
629
- function M(p) {
629
+ function M(f) {
630
630
  if (!R) {
631
- if (R = !0, h = p, p = f(p), m !== void 0 && g.hasValue) {
631
+ if (R = !0, d = f, f = h(f), m !== void 0 && g.hasValue) {
632
632
  var _ = g.value;
633
- if (m(_, p)) return c = _;
633
+ if (m(_, f)) return c = _;
634
634
  }
635
- return c = p;
635
+ return c = f;
636
636
  }
637
- if (_ = c, r(h, p)) return _;
638
- var A = f(p);
639
- return m !== void 0 && m(_, A) ? _ : (h = p, c = A);
637
+ if (_ = c, r(d, f)) return _;
638
+ var A = h(f);
639
+ return m !== void 0 && m(_, A) ? _ : (d = f, c = A);
640
640
  }
641
- var R = !1, h, c, y = d === void 0 ? null : d;
641
+ var R = !1, d, c, y = l === void 0 ? null : l;
642
642
  return [function() {
643
643
  return M(u());
644
644
  }, y === null ? void 0 : function() {
645
645
  return M(y());
646
646
  }];
647
- }, [u, d, f, m]);
648
- var O = a(x, S[0], S[1]);
649
- return l(function() {
647
+ }, [u, l, h, m]);
648
+ var O = s(x, S[0], S[1]);
649
+ return p(function() {
650
650
  g.hasValue = !0, g.value = O;
651
651
  }, [O]), E(O), O;
652
652
  }, ue;
@@ -666,20 +666,20 @@ function Ut() {
666
666
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
667
667
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
668
668
  var t = $, e = Ge();
669
- function n(u, d) {
670
- return u === d && (u !== 0 || 1 / u === 1 / d) || u !== u && d !== d;
669
+ function n(u, l) {
670
+ return u === l && (u !== 0 || 1 / u === 1 / l) || u !== u && l !== l;
671
671
  }
672
- var r = typeof Object.is == "function" ? Object.is : n, a = e.useSyncExternalStore, o = t.useRef, l = t.useEffect, v = t.useMemo, E = t.useDebugValue;
673
- function x(u, d, f, m, S) {
672
+ var r = typeof Object.is == "function" ? Object.is : n, s = e.useSyncExternalStore, o = t.useRef, p = t.useEffect, v = t.useMemo, E = t.useDebugValue;
673
+ function x(u, l, h, m, S) {
674
674
  var g = o(null), O;
675
675
  g.current === null ? (O = {
676
676
  hasValue: !1,
677
677
  value: null
678
678
  }, g.current = O) : O = g.current;
679
679
  var M = v(function() {
680
- var y = !1, p, _, A = function(W) {
680
+ var y = !1, f, _, A = function(W) {
681
681
  if (!y) {
682
- y = !0, p = W;
682
+ y = !0, f = W;
683
683
  var se = m(W);
684
684
  if (S !== void 0 && O.hasValue) {
685
685
  var ae = O.value;
@@ -688,19 +688,19 @@ function Ut() {
688
688
  }
689
689
  return _ = se, se;
690
690
  }
691
- var rt = p, ie = _;
691
+ var rt = f, ie = _;
692
692
  if (r(rt, W))
693
693
  return ie;
694
694
  var oe = m(W);
695
- return S !== void 0 && S(ie, oe) ? ie : (p = W, _ = oe, oe);
696
- }, w = f === void 0 ? null : f, z = function() {
697
- return A(d());
695
+ return S !== void 0 && S(ie, oe) ? ie : (f = W, _ = oe, oe);
696
+ }, w = h === void 0 ? null : h, z = function() {
697
+ return A(l());
698
698
  }, re = w === null ? void 0 : function() {
699
699
  return A(w());
700
700
  };
701
701
  return [z, re];
702
- }, [d, f, m, S]), R = M[0], h = M[1], c = a(u, R, h);
703
- return l(function() {
702
+ }, [l, h, m, S]), R = M[0], d = M[1], c = s(u, R, d);
703
+ return p(function() {
704
704
  O.hasValue = !0, O.value = c;
705
705
  }, [c]), E(c), c;
706
706
  }
@@ -731,9 +731,9 @@ const Le = (t) => {
731
731
  ($e ? "production" : void 0) !== "production" && typeof t != "function" && console.warn(
732
732
  "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
733
733
  );
734
- const e = typeof t == "function" ? Kt(t) : t, n = (r, a) => Zt(e, r, a);
734
+ const e = typeof t == "function" ? Kt(t) : t, n = (r, s) => Zt(e, r, s);
735
735
  return Object.assign(n, e), n;
736
- }, en = (t) => t ? Le(t) : Le, Xe = (t) => "getRoutes" in t && typeof t.getRoutes == "function", tn = (t) => "initialize" in t && typeof t.initialize == "function", nn = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ye = new Ht(), me = en(
736
+ }, en = (t) => t ? Le(t) : Le, Xe = (t) => "getRoutes" in t && typeof t.getRoutes == "function", tn = (t) => "initialize" in t && typeof t.initialize == "function", nn = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ye = new Ht(), ve = en(
737
737
  () => ({
738
738
  isLoggedIn: !1
739
739
  })
@@ -750,7 +750,7 @@ class rn {
750
750
  var e;
751
751
  this.plugins.filter(tn).forEach((n) => n.initialize(this)), (e = this.authentication) == null || e.initialize(this);
752
752
  });
753
- j(this, "setUserProfile", async (e) => me.setState(e));
753
+ j(this, "setUserProfile", async (e) => ve.setState(e));
754
754
  j(this, "invalidateCache", async (e) => {
755
755
  Ye.invalidateQueries({ queryKey: e });
756
756
  });
@@ -774,8 +774,8 @@ class rn {
774
774
  j(this, "getNavigation", async (e) => (await Promise.all(
775
775
  this.navigationPlugins.map(
776
776
  async (r) => {
777
- var a;
778
- return (a = r.getNavigation) == null ? void 0 : a.call(r, e);
777
+ var s;
778
+ return (s = r.getNavigation) == null ? void 0 : s.call(r, e);
779
779
  }
780
780
  )
781
781
  )).flatMap((r) => r ?? []));
@@ -785,7 +785,7 @@ class rn {
785
785
  },
786
786
  set: async (e, n) => localStorage.setItem(`session-${e}`, n)
787
787
  });
788
- this.config = e, this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Xe), this.authentication = e.authentication, this.meta = e.meta, this.state = me;
788
+ this.config = e, this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Xe), this.authentication = e.authentication, this.meta = e.meta, this.state = ve;
789
789
  }
790
790
  }
791
791
  /**
@@ -846,11 +846,11 @@ const un = G("Sun", [
846
846
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
847
847
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
848
848
  ]), cn = () => {
849
- const { navigation: t } = ve();
850
- return /* @__PURE__ */ s.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
849
+ const { navigation: t } = me();
850
+ return /* @__PURE__ */ a.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
851
851
  he,
852
852
  {
853
- className: ({ isActive: n }) => mt(
853
+ className: ({ isActive: n }) => vt(
854
854
  "block py-3.5 font-medium -mb-px border-b-2",
855
855
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
856
856
  ),
@@ -858,53 +858,53 @@ const un = G("Sun", [
858
858
  children: e.label
859
859
  }
860
860
  ) }, e.label)) }) });
861
- }, Ze = We(() => {
862
- const [t, e] = vt(), { isLoggedIn: n, email: r } = me(), { login: a, logout: o, meta: l } = ve(), v = t ? an : un;
863
- return /* @__PURE__ */ s.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
864
- /* @__PURE__ */ s.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: [
865
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3.5", children: [
866
- (l == null ? void 0 : l.logo) && /* @__PURE__ */ s.jsx("img", { src: l.logo, alt: "My Dev Portal", className: "h-10" }),
867
- /* @__PURE__ */ s.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: l == null ? void 0 : l.headerTitle })
861
+ }, Ze = We(function() {
862
+ const [e, n] = mt(), { isLoggedIn: r, email: s } = ve(), { login: o, logout: p, meta: v } = me(), E = e ? an : un;
863
+ return /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
864
+ /* @__PURE__ */ a.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: [
865
+ /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
866
+ (v == null ? void 0 : v.logo) && /* @__PURE__ */ a.jsx("img", { src: v.logo, alt: "My Dev Portal", className: "h-10" }),
867
+ /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: v == null ? void 0 : v.headerTitle })
868
868
  ] }),
869
- /* @__PURE__ */ s.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
870
- /* @__PURE__ */ s.jsx("div", { className: "w-full max-w-prose", children: /* @__PURE__ */ s.jsxs("button", { 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-40 sm:w-72", children: [
871
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
872
- /* @__PURE__ */ s.jsx(on, { size: 14 }),
869
+ /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
870
+ /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-prose", children: /* @__PURE__ */ a.jsxs("button", { 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-40 sm:w-72", children: [
871
+ /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
872
+ /* @__PURE__ */ a.jsx(on, { size: 14 }),
873
873
  "Search"
874
874
  ] }),
875
- /* @__PURE__ */ s.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
875
+ /* @__PURE__ */ a.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
876
876
  ] }) }),
877
- /* @__PURE__ */ s.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
878
- n ? /* @__PURE__ */ s.jsxs(
877
+ /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
878
+ r ? /* @__PURE__ */ a.jsxs(
879
879
  "button",
880
880
  {
881
881
  className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
882
- onClick: o,
882
+ onClick: p,
883
883
  children: [
884
884
  "Logout ",
885
- r ? `(${r})` : null
885
+ s ? `(${s})` : null
886
886
  ]
887
887
  }
888
- ) : /* @__PURE__ */ s.jsx(
888
+ ) : /* @__PURE__ */ a.jsx(
889
889
  "button",
890
890
  {
891
891
  className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded",
892
- onClick: a,
892
+ onClick: o,
893
893
  children: "Login"
894
894
  }
895
895
  ),
896
- /* @__PURE__ */ s.jsx(
896
+ /* @__PURE__ */ a.jsx(
897
897
  "button",
898
898
  {
899
899
  className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
900
- onClick: e,
901
- children: /* @__PURE__ */ s.jsx(v, { size: 18 })
900
+ onClick: n,
901
+ children: /* @__PURE__ */ a.jsx(E, { size: 18 })
902
902
  }
903
903
  )
904
904
  ] })
905
905
  ] })
906
906
  ] }),
907
- /* @__PURE__ */ s.jsx(cn, {})
907
+ /* @__PURE__ */ a.jsx(cn, {})
908
908
  ] }) });
909
909
  }), et = {
910
910
  Header: Ze
@@ -919,30 +919,26 @@ const un = G("Sun", [
919
919
  });
920
920
  return;
921
921
  }
922
- const a = new MutationObserver((o, l) => {
922
+ const s = new MutationObserver((o, p) => {
923
923
  const v = document.getElementById(decodeURIComponent(n));
924
- v && (v.scrollIntoView(), requestIdleCallback(() => e(n)), l.disconnect());
924
+ v && (v.scrollIntoView(), requestIdleCallback(() => e(n)), p.disconnect());
925
925
  });
926
- return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
926
+ return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
927
927
  }, [t.hash, e]);
928
928
  }, fn = () => {
929
929
  const t = B(), e = ne(t.pathname);
930
930
  K(() => {
931
931
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
932
932
  }, [t.pathname]);
933
- };
934
- function pn(t) {
935
- return !0;
936
- }
937
- const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
933
+ }, tt = ({
938
934
  item: t,
939
935
  defaultOpen: e,
940
936
  path: n
941
937
  }) => {
942
- const [r, a] = Lt(e), o = B(), l = ne(o.pathname);
938
+ const [r, s] = Lt(e), o = B(), p = ne(o.pathname);
943
939
  return K(() => {
944
- !r && l.current !== o.pathname && a(ye(t, o.pathname, n)), l.current = o.pathname;
945
- }, [r, t, n, o.pathname]), [r, a];
940
+ !r && p.current !== o.pathname && s(ye(t, o.pathname, n)), p.current = o.pathname;
941
+ }, [r, t, n, o.pathname]), [r, s];
946
942
  }, Z = xt(
947
943
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
948
944
  {
@@ -957,26 +953,26 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
957
953
  }
958
954
  }
959
955
  }
960
- ), vn = "data-anchor", nt = ({
956
+ ), pn = "data-anchor", nt = ({
961
957
  category: t,
962
958
  item: e,
963
959
  activeAnchor: n,
964
960
  currentTopNavItem: r,
965
- basePath: a = ""
961
+ basePath: s = ""
966
962
  }) => {
967
- const o = fe(e) ? Fe(a, e.path) : "", l = B(), [v, E] = tt({
963
+ const o = fe(e) ? Fe(s, e.path) : "", p = B(), [v, E] = tt({
968
964
  item: e,
969
965
  path: o,
970
- defaultOpen: () => ye(e, l.pathname, o)
966
+ defaultOpen: () => ye(e, p.pathname, o)
971
967
  });
972
968
  if (gt(e)) {
973
969
  const u = te(
974
970
  "flex items-center gap-2",
975
971
  Z({
976
- isActive: e.href === l.pathname
972
+ isActive: e.href === p.pathname
977
973
  })
978
974
  );
979
- return e.href.startsWith("http") ? /* @__PURE__ */ s.jsxs(
975
+ return e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
980
976
  "a",
981
977
  {
982
978
  className: u,
@@ -985,17 +981,17 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
985
981
  rel: "noopener noreferrer",
986
982
  children: [
987
983
  e.label,
988
- /* @__PURE__ */ s.jsx(sn, { size: 14 })
984
+ /* @__PURE__ */ a.jsx(sn, { size: 14 })
989
985
  ]
990
986
  }
991
- ) : /* @__PURE__ */ s.jsx(he, { className: u, to: e.href, children: e.label });
987
+ ) : /* @__PURE__ */ a.jsx(he, { className: u, to: e.href, children: e.label });
992
988
  }
993
- const x = /* @__PURE__ */ s.jsxs("div", { className: "flex justify-between w-full", children: [
994
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
995
- pn(e.icon) && /* @__PURE__ */ s.jsx(mn, { name: e.icon, size: 16 }),
996
- typeof e.label != "string" ? e.label : /* @__PURE__ */ s.jsx("span", { className: "truncate", children: e.label })
989
+ const x = /* @__PURE__ */ a.jsxs("div", { className: "flex justify-between w-full", children: [
990
+ /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
991
+ e.icon,
992
+ typeof e.label != "string" ? e.label : /* @__PURE__ */ a.jsx("span", { className: "truncate", children: e.label })
997
993
  ] }),
998
- e.children && /* @__PURE__ */ s.jsx(
994
+ e.children && /* @__PURE__ */ a.jsx(
999
995
  Je,
1000
996
  {
1001
997
  size: 16,
@@ -1003,14 +999,14 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1003
999
  }
1004
1000
  )
1005
1001
  ] });
1006
- return /* @__PURE__ */ s.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ s.jsxs(
1002
+ return /* @__PURE__ */ a.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ a.jsxs(
1007
1003
  Ke,
1008
1004
  {
1009
1005
  open: v,
1010
1006
  onOpenChange: () => E((u) => !u),
1011
1007
  className: "flex flex-col",
1012
1008
  children: [
1013
- /* @__PURE__ */ s.jsx(
1009
+ /* @__PURE__ */ a.jsx(
1014
1010
  Be,
1015
1011
  {
1016
1012
  className: te(
@@ -1020,7 +1016,7 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1020
1016
  children: x
1021
1017
  }
1022
1018
  ),
1023
- /* @__PURE__ */ s.jsx(ze, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ s.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((u) => /* @__PURE__ */ s.jsx(
1019
+ /* @__PURE__ */ a.jsx(ze, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ a.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((u) => /* @__PURE__ */ a.jsx(
1024
1020
  nt,
1025
1021
  {
1026
1022
  category: t,
@@ -1033,18 +1029,18 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1033
1029
  )) }) })
1034
1030
  ]
1035
1031
  }
1036
- ) : e.path.startsWith("#") ? /* @__PURE__ */ s.jsx(
1032
+ ) : e.path.startsWith("#") ? /* @__PURE__ */ a.jsx(
1037
1033
  yt,
1038
1034
  {
1039
1035
  to: e.path,
1040
- [vn]: e.path,
1036
+ [pn]: e.path,
1041
1037
  className: Z({
1042
1038
  isActive: e.path.slice(1) === n,
1043
1039
  isMuted: e.muted
1044
1040
  }),
1045
1041
  children: x
1046
1042
  }
1047
- ) : /* @__PURE__ */ s.jsx(
1043
+ ) : /* @__PURE__ */ a.jsx(
1048
1044
  he,
1049
1045
  {
1050
1046
  className: ({ isActive: u }) => Z({ isActive: u }),
@@ -1052,30 +1048,30 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1052
1048
  children: x
1053
1049
  }
1054
1050
  ) });
1055
- }, gn = ({
1051
+ }, vn = ({
1056
1052
  category: t
1057
1053
  }) => {
1058
- const { activeAnchor: e } = ge(), n = St(), r = B(), a = t.collapsible ?? !0, [o, l] = tt({
1054
+ const { activeAnchor: e } = ge(), n = St(), r = B(), s = t.collapsible ?? !0, [o, p] = tt({
1059
1055
  item: t,
1060
1056
  path: (n == null ? void 0 : n.path) ?? "",
1061
- defaultOpen: () => !a || t.expanded || ye(t, r.pathname, (n == null ? void 0 : n.path) ?? "")
1057
+ defaultOpen: () => !s || t.expanded || ye(t, r.pathname, (n == null ? void 0 : n.path) ?? "")
1062
1058
  });
1063
- return /* @__PURE__ */ s.jsxs(
1059
+ return /* @__PURE__ */ a.jsxs(
1064
1060
  Ke,
1065
1061
  {
1066
1062
  open: o,
1067
- onOpenChange: () => l((v) => !v),
1063
+ onOpenChange: () => p((v) => !v),
1068
1064
  children: [
1069
- t.label.length > 0 ? /* @__PURE__ */ s.jsx(Be, { asChild: a, disabled: !a, children: /* @__PURE__ */ s.jsxs(
1065
+ t.label.length > 0 ? /* @__PURE__ */ a.jsx(Be, { asChild: s, disabled: !s, children: /* @__PURE__ */ a.jsxs(
1070
1066
  "h5",
1071
1067
  {
1072
1068
  className: te(
1073
1069
  "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]",
1074
- a ? "hover:bg-accent" : "cursor-auto"
1070
+ s ? "hover:bg-accent" : "cursor-auto"
1075
1071
  ),
1076
1072
  children: [
1077
1073
  t.label,
1078
- a && /* @__PURE__ */ s.jsx(
1074
+ s && /* @__PURE__ */ a.jsx(
1079
1075
  Je,
1080
1076
  {
1081
1077
  className: "group-data-[state=open]:rotate-90 transition",
@@ -1085,7 +1081,7 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1085
1081
  ]
1086
1082
  }
1087
1083
  ) }) : "Endpoints",
1088
- /* @__PURE__ */ s.jsx(ze, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ s.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((v) => /* @__PURE__ */ s.jsx(
1084
+ /* @__PURE__ */ a.jsx(ze, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ a.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((v) => /* @__PURE__ */ a.jsx(
1089
1085
  nt,
1090
1086
  {
1091
1087
  category: t,
@@ -1100,56 +1096,58 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1100
1096
  },
1101
1097
  t.label
1102
1098
  );
1103
- }, yn = It(({ children: t, className: e, pushMainContent: n }, r) => /* @__PURE__ */ s.jsx(
1104
- "nav",
1105
- {
1106
- "data-navigation": String(n),
1107
- className: te(
1108
- "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",
1109
- e
1110
- ),
1111
- ref: r,
1112
- children: t
1113
- }
1114
- )), xn = () => {
1099
+ }, mn = kt(function({ children: e, className: n, pushMainContent: r }, s) {
1100
+ return /* @__PURE__ */ a.jsx(
1101
+ "nav",
1102
+ {
1103
+ "data-navigation": String(r),
1104
+ className: te(
1105
+ "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",
1106
+ n
1107
+ ),
1108
+ ref: s,
1109
+ children: e
1110
+ }
1111
+ );
1112
+ }), gn = () => {
1115
1113
  const t = ne(null), e = bt();
1116
- return /* @__PURE__ */ s.jsx(
1117
- yn,
1114
+ return /* @__PURE__ */ a.jsx(
1115
+ mn,
1118
1116
  {
1119
1117
  ref: t,
1120
1118
  pushMainContent: e.data.items.length > 0,
1121
- children: e.data.items.map((n) => /* @__PURE__ */ s.jsx(gn, { category: n }, n.label))
1119
+ children: e.data.items.map((n) => /* @__PURE__ */ a.jsx(vn, { category: n }, n.label))
1122
1120
  }
1123
1121
  );
1124
- }, Ie = ({ children: t }) => {
1125
- const e = B(), { setActiveAnchor: n } = ge(), { meta: r, handleAuthenticationResponse: a } = ve();
1122
+ }, ke = ({ children: t }) => {
1123
+ const e = B(), { setActiveAnchor: n } = ge(), { meta: r, handleAuthenticationResponse: s } = me();
1126
1124
  K(() => {
1127
- a(e);
1128
- }, [a, e]), hn(), fn();
1125
+ s(e);
1126
+ }, [s, e]), hn(), fn();
1129
1127
  const o = ne(e.pathname);
1130
1128
  return K(() => {
1131
1129
  e.pathname !== o.current && n(""), o.current = e.pathname;
1132
- }, [e.pathname, n]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1133
- /* @__PURE__ */ s.jsxs(Ot, { titleTemplate: r == null ? void 0 : r.pageTitle, children: [
1134
- /* @__PURE__ */ s.jsx("title", { children: "Home" }),
1135
- (r == null ? void 0 : r.description) && /* @__PURE__ */ s.jsx("meta", { name: "description", content: r.description }),
1136
- (r == null ? void 0 : r.favicon) && /* @__PURE__ */ s.jsx("link", { rel: "icon", href: r.favicon })
1130
+ }, [e.pathname, n]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1131
+ /* @__PURE__ */ a.jsxs(Ot, { titleTemplate: r == null ? void 0 : r.pageTitle, children: [
1132
+ /* @__PURE__ */ a.jsx("title", { children: "Home" }),
1133
+ (r == null ? void 0 : r.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: r.description }),
1134
+ (r == null ? void 0 : r.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: r.favicon })
1137
1135
  ] }),
1138
- /* @__PURE__ */ s.jsx(Ze, {}),
1139
- /* @__PURE__ */ s.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ s.jsxs(
1136
+ /* @__PURE__ */ a.jsx(Ze, {}),
1137
+ /* @__PURE__ */ a.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ a.jsxs(
1140
1138
  Ue,
1141
1139
  {
1142
- fallback: /* @__PURE__ */ s.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ s.jsx(_t, {}) }),
1140
+ fallback: /* @__PURE__ */ a.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ a.jsx(_t, {}) }),
1143
1141
  children: [
1144
- /* @__PURE__ */ s.jsx(xn, {}),
1145
- /* @__PURE__ */ s.jsx(
1142
+ /* @__PURE__ */ a.jsx(gn, {}),
1143
+ /* @__PURE__ */ a.jsx(
1146
1144
  "main",
1147
1145
  {
1148
1146
  className: `dark:border-white/10 translate-x-0
1149
1147
  lg:overflow-visible
1150
1148
  lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
1151
1149
  lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
1152
- children: t ?? /* @__PURE__ */ s.jsx(Et, {})
1150
+ children: t ?? /* @__PURE__ */ a.jsx(Et, {})
1153
1151
  }
1154
1152
  )
1155
1153
  ]
@@ -1157,7 +1155,7 @@ const mn = (t) => /* @__PURE__ */ s.jsx("div", {}), tt = ({
1157
1155
  ) })
1158
1156
  ] });
1159
1157
  };
1160
- function Sn({ plugins: t }) {
1158
+ function yn({ plugins: t }) {
1161
1159
  const e = ee(() => {
1162
1160
  const n = (t ?? []).flatMap(
1163
1161
  (r) => Xe(r) ? r.getRoutes() : []
@@ -1165,15 +1163,15 @@ function Sn({ plugins: t }) {
1165
1163
  return wt([
1166
1164
  {
1167
1165
  path: "/",
1168
- element: /* @__PURE__ */ s.jsx(Ie, {}),
1169
- errorElement: /* @__PURE__ */ s.jsx(Ie, { children: /* @__PURE__ */ s.jsx("div", { className: "h-[75vh] flex items-center justify-center", children: "Error, look at the console" }) }),
1166
+ element: /* @__PURE__ */ a.jsx(ke, {}),
1167
+ errorElement: /* @__PURE__ */ a.jsx(ke, { children: /* @__PURE__ */ a.jsx("div", { className: "h-[75vh] flex items-center justify-center", children: "Error, look at the console" }) }),
1170
1168
  children: n
1171
1169
  }
1172
1170
  ]);
1173
1171
  }, [t]);
1174
- return /* @__PURE__ */ s.jsx(jt, { router: e });
1172
+ return /* @__PURE__ */ a.jsx(jt, { router: e });
1175
1173
  }
1176
- const bn = (t) => {
1174
+ const xn = (t) => {
1177
1175
  const e = ee(
1178
1176
  () => ({ ...et, ...t.overrides }),
1179
1177
  [t.overrides]
@@ -1183,18 +1181,17 @@ const bn = (t) => {
1183
1181
  ), r = ee(() => new rn(t), [t]);
1184
1182
  return K(() => {
1185
1183
  r.initialize();
1186
- }, [r]), /* @__PURE__ */ s.jsx(At, { client: Ye, children: /* @__PURE__ */ s.jsx(Dt, { children: /* @__PURE__ */ s.jsx(Ct, { value: r, children: /* @__PURE__ */ s.jsx(Nt, { components: n, children: /* @__PURE__ */ s.jsx(Mt, { children: /* @__PURE__ */ s.jsx(dn, { value: e, children: /* @__PURE__ */ s.jsx(Tt, { children: /* @__PURE__ */ s.jsx(
1184
+ }, [r]), /* @__PURE__ */ a.jsx(At, { client: Ye, children: /* @__PURE__ */ a.jsx(Dt, { children: /* @__PURE__ */ a.jsx(Nt, { value: r, children: /* @__PURE__ */ a.jsx(Ct, { components: n, children: /* @__PURE__ */ a.jsx(Mt, { children: /* @__PURE__ */ a.jsx(dn, { value: e, children: /* @__PURE__ */ a.jsx(Tt, { children: /* @__PURE__ */ a.jsx(
1187
1185
  Ue,
1188
1186
  {
1189
- fallback: /* @__PURE__ */ s.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
1190
- children: /* @__PURE__ */ s.jsx(Sn, { plugins: t.plugins })
1187
+ fallback: /* @__PURE__ */ a.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
1188
+ children: /* @__PURE__ */ a.jsx(yn, { plugins: t.plugins })
1191
1189
  }
1192
1190
  ) }) }) }) }) }) }) });
1193
- }, On = We(bn);
1194
- On.displayName = "DevPortal";
1191
+ }, Sn = We(xn);
1192
+ Sn.displayName = "DevPortal";
1195
1193
  export {
1196
- On as DevPortal,
1197
- mn as DynamicIcon,
1198
- An as Link,
1199
- Dn as useMDXComponents
1194
+ Sn as DevPortal,
1195
+ jn as Link,
1196
+ Pn as useMDXComponents
1200
1197
  };