zudoku 0.3.0-dev.23 → 0.3.0-dev.24

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 (85) hide show
  1. package/dist/lib/authentication/Callback.js +1 -1
  2. package/dist/lib/authentication/Callback.js.map +1 -1
  3. package/dist/lib/authentication/providers/openid.d.ts +1 -1
  4. package/dist/lib/components/DevPortal.d.ts +1 -1
  5. package/dist/lib/components/DevPortal.js +2 -2
  6. package/dist/lib/components/DevPortal.js.map +1 -1
  7. package/dist/lib/components/Layout.js +1 -1
  8. package/dist/lib/components/Layout.js.map +1 -1
  9. package/dist/lib/components/index.d.ts +10 -5
  10. package/dist/lib/components/index.js +8 -5
  11. package/dist/lib/components/index.js.map +1 -1
  12. package/dist/lib/plugins/markdown/MdxPage.js +2 -2
  13. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  14. package/dist/lib/plugins/markdown/Toc.js +1 -1
  15. package/dist/lib/plugins/markdown/Toc.js.map +1 -1
  16. package/dist/lib/plugins/markdown/generateRoutes.d.ts +1 -1
  17. package/dist/lib/plugins/markdown/generateRoutes.js +1 -1
  18. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  19. package/dist/lib/plugins/openapi/Route.js +1 -1
  20. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  21. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  22. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  23. package/dist/lib/plugins/openapi/index.js +1 -1
  24. package/dist/lib/plugins/openapi/index.js.map +1 -1
  25. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
  26. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  27. package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
  28. package/dist/lib/ui/Callout.js +1 -1
  29. package/dist/lib/ui/Callout.js.map +1 -1
  30. package/dist/lib/util/MdxComponents.js.map +1 -1
  31. package/lib/{AnchorLink-DIUlXlf0.js → AnchorLink-BzDjVML_.js} +183 -183
  32. package/lib/{DevPortalProvider-gzyAGqHT.js → DevPortalProvider-DssVwuLz.js} +2 -2
  33. package/lib/{Markdown-BjA7peYW.js → Markdown-BX9FqDM4.js} +3 -3
  34. package/lib/{MdxComponents-W-fE1ISO.js → MdxComponents-DiOAVA3z.js} +2 -2
  35. package/lib/{MdxPage-DQ7lZBzE.js → MdxPage-C9wmWulr.js} +21 -21
  36. package/lib/{OperationList-DuIBqFNA.js → OperationList-CmWB9QNy.js} +9 -9
  37. package/lib/{Route-B98Y2MdH.js → Route-QN8KKlcN.js} +2 -2
  38. package/lib/{Select-DczD5e29.js → Select-BK8C7kpB.js} +4 -4
  39. package/lib/{Spinner-CSoij67T.js → Spinner-CQiMiphN.js} +3 -3
  40. package/lib/{hook-CBXxHulF.js → hook-Rc146Fwy.js} +1 -1
  41. package/lib/{index-Cg6lXS1z.js → index-B5n-zpzS.js} +3 -3
  42. package/lib/{index-ClDDiRmC.js → index-B7upi2sn.js} +11 -11
  43. package/lib/{index-CKvOcM7w.js → index-Bf5lvKIp.js} +169 -169
  44. package/lib/{index-C7O9D7f6.js → index-DbU_G5RQ.js} +2 -2
  45. package/lib/{router-DibNxKUP.js → jsx-runtime-D7DwziLW.js} +2843 -2843
  46. package/lib/{util-CaVongBq.js → util-DnDPBx_j.js} +1 -1
  47. package/lib/zudoku.auth-openid.js +2 -2
  48. package/lib/zudoku.components.js +107 -109
  49. package/lib/zudoku.plugin-api-keys.js +6 -6
  50. package/lib/zudoku.plugin-markdown.js +5 -5
  51. package/lib/zudoku.plugin-openapi.js +2 -2
  52. package/lib/zudoku.plugin-redirect.js +2 -2
  53. package/package.json +1 -1
  54. package/src/lib/authentication/Callback.tsx +1 -1
  55. package/src/lib/authentication/providers/openid.tsx +1 -1
  56. package/src/lib/components/DevPortal.tsx +2 -2
  57. package/src/lib/components/Layout.tsx +1 -1
  58. package/src/lib/components/index.ts +8 -5
  59. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  60. package/src/lib/plugins/markdown/Toc.tsx +1 -1
  61. package/src/lib/plugins/markdown/generateRoutes.tsx +1 -1
  62. package/src/lib/plugins/openapi/Route.tsx +1 -1
  63. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  64. package/src/lib/plugins/openapi/index.tsx +1 -1
  65. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  66. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
  67. package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
  68. package/src/lib/ui/Callout.tsx +2 -2
  69. package/src/lib/util/MdxComponents.tsx +0 -1
  70. package/dist/lib/components/Link.d.ts +0 -1
  71. package/dist/lib/components/Link.js +0 -2
  72. package/dist/lib/components/Link.js.map +0 -1
  73. package/dist/lib/core/helmet.d.ts +0 -4
  74. package/dist/lib/core/helmet.js +0 -5
  75. package/dist/lib/core/helmet.js.map +0 -1
  76. package/dist/lib/core/icons.d.ts +0 -1
  77. package/dist/lib/core/icons.js +0 -2
  78. package/dist/lib/core/icons.js.map +0 -1
  79. package/dist/lib/core/router.d.ts +0 -1
  80. package/dist/lib/core/router.js +0 -2
  81. package/dist/lib/core/router.js.map +0 -1
  82. package/src/lib/components/Link.tsx +0 -1
  83. package/src/lib/core/helmet.ts +0 -5
  84. package/src/lib/core/icons.tsx +0 -1
  85. package/src/lib/core/router.tsx +0 -1
@@ -1,90 +1,8 @@
1
1
  import * as s from "react";
2
2
  import { forwardRef as te, createElement as W } from "react";
3
3
  import * as de from "react-dom";
4
- import { c as I, d as me, a as ne, u as M, e as j, D as re, f as he, R as pe, m as ve, g as ae, h as we, i as ye } from "./index-ClDDiRmC.js";
5
- import { s as P, w as H, c as z, i as k, a as be, m as G, b as ge, d as Se, E as Ee } from "./router-DibNxKUP.js";
6
- /**
7
- * @license lucide-react v0.378.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */
12
- const Re = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ie = (...e) => e.filter((n, t, a) => !!n && a.indexOf(n) === t).join(" ");
13
- /**
14
- * @license lucide-react v0.378.0 - ISC
15
- *
16
- * This source code is licensed under the ISC license.
17
- * See the LICENSE file in the root directory of this source tree.
18
- */
19
- var Ce = {
20
- xmlns: "http://www.w3.org/2000/svg",
21
- width: 24,
22
- height: 24,
23
- viewBox: "0 0 24 24",
24
- fill: "none",
25
- stroke: "currentColor",
26
- strokeWidth: 2,
27
- strokeLinecap: "round",
28
- strokeLinejoin: "round"
29
- };
30
- /**
31
- * @license lucide-react v0.378.0 - ISC
32
- *
33
- * This source code is licensed under the ISC license.
34
- * See the LICENSE file in the root directory of this source tree.
35
- */
36
- const _e = te(
37
- ({
38
- color: e = "currentColor",
39
- size: n = 24,
40
- strokeWidth: t = 2,
41
- absoluteStrokeWidth: a,
42
- className: r = "",
43
- children: i,
44
- iconNode: l,
45
- ...u
46
- }, f) => W(
47
- "svg",
48
- {
49
- ref: f,
50
- ...Ce,
51
- width: n,
52
- height: n,
53
- stroke: e,
54
- strokeWidth: a ? Number(t) * 24 / Number(n) : t,
55
- className: ie("lucide", r),
56
- ...u
57
- },
58
- [
59
- ...l.map(([o, c]) => W(o, c)),
60
- ...Array.isArray(i) ? i : [i]
61
- ]
62
- )
63
- );
64
- /**
65
- * @license lucide-react v0.378.0 - ISC
66
- *
67
- * This source code is licensed under the ISC license.
68
- * See the LICENSE file in the root directory of this source tree.
69
- */
70
- const Le = (e, n) => {
71
- const t = te(
72
- ({ className: a, ...r }, i) => W(_e, {
73
- ref: i,
74
- iconNode: n,
75
- className: ie(`lucide-${Re(e)}`, a),
76
- ...r
77
- })
78
- );
79
- return t.displayName = `${e}`, t;
80
- };
81
- /**
82
- * @license lucide-react v0.378.0 - ISC
83
- *
84
- * This source code is licensed under the ISC license.
85
- * See the LICENSE file in the root directory of this source tree.
86
- */
87
- const ut = Le("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
4
+ import { c as I, d as me, e as M, u as j, D as ne, a as re, m as he, f as ae, R as pe, g as ve, h as we, i as ye } from "./index-B7upi2sn.js";
5
+ import { s as P, w as H, c as z, i as k, m as G, a as be, b as ge, E as Se, d as Ee } from "./jsx-runtime-D7DwziLW.js";
88
6
  /**
89
7
  * React Router DOM v6.24.1
90
8
  *
@@ -116,22 +34,22 @@ const V = "get", F = "application/x-www-form-urlencoded";
116
34
  function B(e) {
117
35
  return e != null && typeof e.tagName == "string";
118
36
  }
119
- function Te(e) {
37
+ function Re(e) {
120
38
  return B(e) && e.tagName.toLowerCase() === "button";
121
39
  }
122
- function Ne(e) {
40
+ function Ce(e) {
123
41
  return B(e) && e.tagName.toLowerCase() === "form";
124
42
  }
125
- function xe(e) {
43
+ function _e(e) {
126
44
  return B(e) && e.tagName.toLowerCase() === "input";
127
45
  }
128
- function Pe(e) {
46
+ function Le(e) {
129
47
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
130
48
  }
131
- function ke(e, n) {
49
+ function Te(e, n) {
132
50
  return e.button === 0 && // Ignore everything but left clicks
133
51
  (!n || n === "_self") && // Let browser handle "target=_blank" etc.
134
- !Pe(e);
52
+ !Le(e);
135
53
  }
136
54
  function $(e) {
137
55
  return e === void 0 && (e = ""), new URLSearchParams(typeof e == "string" || Array.isArray(e) || e instanceof URLSearchParams ? e : Object.keys(e).reduce((n, t) => {
@@ -139,7 +57,7 @@ function $(e) {
139
57
  return n.concat(Array.isArray(a) ? a.map((r) => [t, r]) : [[t, a]]);
140
58
  }, []));
141
59
  }
142
- function De(e, n) {
60
+ function Ne(e, n) {
143
61
  let t = $(e);
144
62
  return n && n.forEach((a, r) => {
145
63
  t.has(r) || n.getAll(r).forEach((i) => {
@@ -148,7 +66,7 @@ function De(e, n) {
148
66
  }), t;
149
67
  }
150
68
  let A = null;
151
- function Oe() {
69
+ function xe() {
152
70
  if (A === null)
153
71
  try {
154
72
  new FormData(
@@ -161,21 +79,21 @@ function Oe() {
161
79
  }
162
80
  return A;
163
81
  }
164
- const Ae = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
82
+ const Pe = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
165
83
  function K(e) {
166
- return e != null && !Ae.has(e) ? (process.env.NODE_ENV !== "production" && H(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + F + '"')), null) : e;
84
+ return e != null && !Pe.has(e) ? (process.env.NODE_ENV !== "production" && H(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + F + '"')), null) : e;
167
85
  }
168
- function Ve(e, n) {
86
+ function ke(e, n) {
169
87
  let t, a, r, i, l;
170
- if (Ne(e)) {
88
+ if (Ce(e)) {
171
89
  let u = e.getAttribute("action");
172
90
  a = u ? P(u, n) : null, t = e.getAttribute("method") || V, r = K(e.getAttribute("enctype")) || F, i = new FormData(e);
173
- } else if (Te(e) || xe(e) && (e.type === "submit" || e.type === "image")) {
91
+ } else if (Re(e) || _e(e) && (e.type === "submit" || e.type === "image")) {
174
92
  let u = e.form;
175
93
  if (u == null)
176
94
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
177
95
  let f = e.getAttribute("formaction") || u.getAttribute("action");
178
- if (a = f ? P(f, n) : null, t = e.getAttribute("formmethod") || u.getAttribute("method") || V, r = K(e.getAttribute("formenctype")) || K(u.getAttribute("enctype")) || F, i = new FormData(u, e), !Oe()) {
96
+ if (a = f ? P(f, n) : null, t = e.getAttribute("formmethod") || u.getAttribute("method") || V, r = K(e.getAttribute("formenctype")) || K(u.getAttribute("enctype")) || F, i = new FormData(u, e), !xe()) {
179
97
  let {
180
98
  name: o,
181
99
  type: c,
@@ -199,41 +117,41 @@ function Ve(e, n) {
199
117
  body: l
200
118
  };
201
119
  }
202
- const Fe = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], Ue = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], Ie = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], Me = "6";
120
+ const De = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], Oe = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], Ae = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], Ve = "6";
203
121
  try {
204
- window.__reactRouterVersion = Me;
122
+ window.__reactRouterVersion = Ve;
205
123
  } catch {
206
124
  }
207
- function ct(e, n) {
208
- return ge({
125
+ function ut(e, n) {
126
+ return be({
209
127
  basename: void 0,
210
128
  future: T({}, void 0, {
211
129
  v7_prependBasename: !0
212
130
  }),
213
- history: Se({
131
+ history: ge({
214
132
  window: void 0
215
133
  }),
216
- hydrationData: je(),
134
+ hydrationData: Fe(),
217
135
  routes: e,
218
- mapRouteProperties: ve,
136
+ mapRouteProperties: he,
219
137
  unstable_dataStrategy: void 0,
220
138
  unstable_patchRoutesOnMiss: void 0,
221
139
  window: void 0
222
140
  }).initialize();
223
141
  }
224
- function je() {
142
+ function Fe() {
225
143
  var e;
226
144
  let n = (e = window) == null ? void 0 : e.__staticRouterHydrationData;
227
145
  return n && n.errors && (n = T({}, n, {
228
- errors: He(n.errors)
146
+ errors: Ue(n.errors)
229
147
  })), n;
230
148
  }
231
- function He(e) {
149
+ function Ue(e) {
232
150
  if (!e) return null;
233
151
  let n = Object.entries(e), t = {};
234
152
  for (let [a, r] of n)
235
153
  if (r && r.__type === "RouteErrorResponse")
236
- t[a] = new Ee(r.status, r.statusText, r.data, r.internal === !0);
154
+ t[a] = new Se(r.status, r.statusText, r.data, r.internal === !0);
237
155
  else if (r && r.__type === "Error") {
238
156
  if (r.__subType) {
239
157
  let i = window[r.__subType];
@@ -256,16 +174,16 @@ const q = /* @__PURE__ */ s.createContext({
256
174
  isTransitioning: !1
257
175
  });
258
176
  process.env.NODE_ENV !== "production" && (q.displayName = "ViewTransition");
259
- const oe = /* @__PURE__ */ s.createContext(/* @__PURE__ */ new Map());
260
- process.env.NODE_ENV !== "production" && (oe.displayName = "Fetchers");
261
- const Be = "startTransition", X = s[Be], Ke = "flushSync", Z = de[Ke];
262
- function We(e) {
177
+ const ie = /* @__PURE__ */ s.createContext(/* @__PURE__ */ new Map());
178
+ process.env.NODE_ENV !== "production" && (ie.displayName = "Fetchers");
179
+ const Ie = "startTransition", X = s[Ie], Me = "flushSync", Z = de[Me];
180
+ function je(e) {
263
181
  X ? X(e) : e();
264
182
  }
265
183
  function O(e) {
266
184
  Z ? Z(e) : e();
267
185
  }
268
- class ze {
186
+ class He {
269
187
  constructor() {
270
188
  this.status = "pending", this.promise = new Promise((n, t) => {
271
189
  this.resolve = (a) => {
@@ -276,7 +194,7 @@ class ze {
276
194
  });
277
195
  }
278
196
  }
279
- function ft(e) {
197
+ function ct(e) {
280
198
  let {
281
199
  fallbackElement: n,
282
200
  router: t,
@@ -286,7 +204,7 @@ function ft(e) {
286
204
  }), [c, p] = s.useState(), [d, S] = s.useState(), [y, g] = s.useState(), b = s.useRef(/* @__PURE__ */ new Map()), {
287
205
  v7_startTransition: C
288
206
  } = a || {}, m = s.useCallback((w) => {
289
- C ? We(w) : w();
207
+ C ? je(w) : w();
290
208
  }, [C]), v = s.useCallback((w, R) => {
291
209
  let {
292
210
  deletedFetchers: E,
@@ -334,7 +252,7 @@ function ft(e) {
334
252
  }));
335
253
  }, [t.window, d, c, b, m]);
336
254
  s.useLayoutEffect(() => t.subscribe(v), [t, v]), s.useEffect(() => {
337
- f.isTransitioning && !f.flushSync && p(new ze());
255
+ f.isTransitioning && !f.flushSync && p(new He());
338
256
  }, [f]), s.useEffect(() => {
339
257
  if (c && l && t.window) {
340
258
  let w = l, R = c.promise, E = t.window.document.startViewTransition(async () => {
@@ -379,13 +297,13 @@ function ft(e) {
379
297
  }), [t, h, L]);
380
298
  return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(ae.Provider, {
381
299
  value: D
382
- }, /* @__PURE__ */ s.createElement(re.Provider, {
300
+ }, /* @__PURE__ */ s.createElement(ne.Provider, {
383
301
  value: r
384
- }, /* @__PURE__ */ s.createElement(oe.Provider, {
302
+ }, /* @__PURE__ */ s.createElement(ie.Provider, {
385
303
  value: b.current
386
304
  }, /* @__PURE__ */ s.createElement(q.Provider, {
387
305
  value: f
388
- }, /* @__PURE__ */ s.createElement(we, {
306
+ }, /* @__PURE__ */ s.createElement(pe, {
389
307
  basename: L,
390
308
  location: r.location,
391
309
  navigationType: r.historyAction,
@@ -393,22 +311,22 @@ function ft(e) {
393
311
  future: {
394
312
  v7_relativeSplatPath: t.future.v7_relativeSplatPath
395
313
  }
396
- }, r.initialized || t.future.v7_partialHydration ? /* @__PURE__ */ s.createElement($e, {
314
+ }, r.initialized || t.future.v7_partialHydration ? /* @__PURE__ */ s.createElement(Be, {
397
315
  routes: t.routes,
398
316
  future: t.future,
399
317
  state: r
400
318
  }) : n))))), null);
401
319
  }
402
- function $e(e) {
320
+ function Be(e) {
403
321
  let {
404
322
  routes: n,
405
323
  future: t,
406
324
  state: a
407
325
  } = e;
408
- return ye(n, void 0, a, t);
326
+ return ve(n, void 0, a, t);
409
327
  }
410
328
  process.env.NODE_ENV;
411
- const Ye = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", qe = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, se = /* @__PURE__ */ s.forwardRef(function(n, t) {
329
+ const Ke = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", We = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, oe = /* @__PURE__ */ s.forwardRef(function(n, t) {
412
330
  let {
413
331
  onClick: a,
414
332
  relative: r,
@@ -419,10 +337,10 @@ const Ye = typeof window < "u" && typeof window.document < "u" && typeof window.
419
337
  to: o,
420
338
  preventScrollReset: c,
421
339
  unstable_viewTransition: p
422
- } = n, d = Y(n, Fe), {
340
+ } = n, d = Y(n, De), {
423
341
  basename: S
424
342
  } = s.useContext(I), y, g = !1;
425
- if (typeof o == "string" && qe.test(o) && (y = o, Ye))
343
+ if (typeof o == "string" && We.test(o) && (y = o, Ke))
426
344
  try {
427
345
  let v = new URL(window.location.href), h = o.startsWith("//") ? new URL(v.protocol + o) : new URL(o), L = P(h.pathname, S);
428
346
  h.origin === v.origin && L != null ? o = L + h.search + h.hash : g = !0;
@@ -431,7 +349,7 @@ const Ye = typeof window < "u" && typeof window.document < "u" && typeof window.
431
349
  }
432
350
  let b = me(o, {
433
351
  relative: r
434
- }), C = Je(o, {
352
+ }), C = qe(o, {
435
353
  replace: l,
436
354
  state: u,
437
355
  target: f,
@@ -452,8 +370,8 @@ const Ye = typeof window < "u" && typeof window.document < "u" && typeof window.
452
370
  }))
453
371
  );
454
372
  });
455
- process.env.NODE_ENV !== "production" && (se.displayName = "Link");
456
- const Ge = /* @__PURE__ */ s.forwardRef(function(n, t) {
373
+ process.env.NODE_ENV !== "production" && (oe.displayName = "Link");
374
+ const ze = /* @__PURE__ */ s.forwardRef(function(n, t) {
457
375
  let {
458
376
  "aria-current": a = "page",
459
377
  caseSensitive: r = !1,
@@ -463,14 +381,14 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(n, t) {
463
381
  to: f,
464
382
  unstable_viewTransition: o,
465
383
  children: c
466
- } = n, p = Y(n, Ue), d = j(f, {
384
+ } = n, p = Y(n, Oe), d = M(f, {
467
385
  relative: p.relative
468
- }), S = M(), y = s.useContext(re), {
386
+ }), S = j(), y = s.useContext(ne), {
469
387
  navigator: g,
470
388
  basename: b
471
389
  } = s.useContext(I), C = y != null && // Conditional usage is OK here because the usage of a data router is static
472
390
  // eslint-disable-next-line react-hooks/rules-of-hooks
473
- at(d) && o === !0, m = g.encodeLocation ? g.encodeLocation(d).pathname : d.pathname, v = S.pathname, h = y && y.navigation && y.navigation.location ? y.navigation.location.pathname : null;
391
+ et(d) && o === !0, m = g.encodeLocation ? g.encodeLocation(d).pathname : d.pathname, v = S.pathname, h = y && y.navigation && y.navigation.location ? y.navigation.location.pathname : null;
474
392
  r || (v = v.toLowerCase(), h = h ? h.toLowerCase() : null, m = m.toLowerCase()), h && b && (h = P(h, b) || h);
475
393
  const L = m !== "/" && m.endsWith("/") ? m.length - 1 : m.length;
476
394
  let D = v === m || !l && v.startsWith(m) && v.charAt(L) === "/", w = h != null && (h === m || !l && h.startsWith(m) && h.charAt(m.length) === "/"), R = {
@@ -480,7 +398,7 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(n, t) {
480
398
  }, E = D ? a : void 0, x;
481
399
  typeof i == "function" ? x = i(R) : x = [i, D ? "active" : null, w ? "pending" : null, C ? "transitioning" : null].filter(Boolean).join(" ");
482
400
  let _ = typeof u == "function" ? u(R) : u;
483
- return /* @__PURE__ */ s.createElement(se, T({}, p, {
401
+ return /* @__PURE__ */ s.createElement(oe, T({}, p, {
484
402
  "aria-current": E,
485
403
  className: x,
486
404
  ref: t,
@@ -489,8 +407,8 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(n, t) {
489
407
  unstable_viewTransition: o
490
408
  }), typeof c == "function" ? c(R) : c);
491
409
  });
492
- process.env.NODE_ENV !== "production" && (Ge.displayName = "NavLink");
493
- const Xe = /* @__PURE__ */ s.forwardRef((e, n) => {
410
+ process.env.NODE_ENV !== "production" && (ze.displayName = "NavLink");
411
+ const $e = /* @__PURE__ */ s.forwardRef((e, n) => {
494
412
  let {
495
413
  fetcherKey: t,
496
414
  navigate: a,
@@ -503,7 +421,7 @@ const Xe = /* @__PURE__ */ s.forwardRef((e, n) => {
503
421
  relative: c,
504
422
  preventScrollReset: p,
505
423
  unstable_viewTransition: d
506
- } = e, S = Y(e, Ie), y = nt(), g = rt(f, {
424
+ } = e, S = Y(e, Ae), y = Je(), g = Qe(f, {
507
425
  relative: c
508
426
  }), b = u.toLowerCase() === "get" ? "get" : "post", C = (m) => {
509
427
  if (o && o(m), m.defaultPrevented) return;
@@ -527,7 +445,7 @@ const Xe = /* @__PURE__ */ s.forwardRef((e, n) => {
527
445
  onSubmit: r ? o : C
528
446
  }, S));
529
447
  });
530
- process.env.NODE_ENV !== "production" && (Xe.displayName = "Form");
448
+ process.env.NODE_ENV !== "production" && ($e.displayName = "Form");
531
449
  process.env.NODE_ENV;
532
450
  var U;
533
451
  (function(e) {
@@ -537,14 +455,14 @@ var J;
537
455
  (function(e) {
538
456
  e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
539
457
  })(J || (J = {}));
540
- function Ze(e) {
458
+ function Ye(e) {
541
459
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
542
460
  }
543
- function le(e) {
461
+ function se(e) {
544
462
  let n = s.useContext(ae);
545
- return n || (process.env.NODE_ENV !== "production" ? k(!1, Ze(e)) : k(!1)), n;
463
+ return n || (process.env.NODE_ENV !== "production" ? k(!1, Ye(e)) : k(!1)), n;
546
464
  }
547
- function Je(e, n) {
465
+ function qe(e, n) {
548
466
  let {
549
467
  target: t,
550
468
  replace: a,
@@ -552,11 +470,11 @@ function Je(e, n) {
552
470
  preventScrollReset: i,
553
471
  relative: l,
554
472
  unstable_viewTransition: u
555
- } = n === void 0 ? {} : n, f = ne(), o = M(), c = j(e, {
473
+ } = n === void 0 ? {} : n, f = re(), o = j(), c = M(e, {
556
474
  relative: l
557
475
  });
558
476
  return s.useCallback((p) => {
559
- if (ke(p, t)) {
477
+ if (Te(p, t)) {
560
478
  p.preventDefault();
561
479
  let d = a !== void 0 ? a : z(o) === z(c);
562
480
  f(e, {
@@ -569,41 +487,41 @@ function Je(e, n) {
569
487
  }
570
488
  }, [o, f, c, a, r, t, e, i, l, u]);
571
489
  }
572
- function dt(e) {
490
+ function ft(e) {
573
491
  process.env.NODE_ENV !== "production" && H(typeof URLSearchParams < "u", "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
574
- let n = s.useRef($(e)), t = s.useRef(!1), a = M(), r = s.useMemo(() => (
492
+ let n = s.useRef($(e)), t = s.useRef(!1), a = j(), r = s.useMemo(() => (
575
493
  // Only merge in the defaults if we haven't yet called setSearchParams.
576
494
  // Once we call that we want those to take precedence, otherwise you can't
577
495
  // remove a param with setSearchParams({}) if it has an initial value
578
- De(a.search, t.current ? null : n.current)
579
- ), [a.search]), i = ne(), l = s.useCallback((u, f) => {
496
+ Ne(a.search, t.current ? null : n.current)
497
+ ), [a.search]), i = re(), l = s.useCallback((u, f) => {
580
498
  const o = $(typeof u == "function" ? u(r) : u);
581
499
  t.current = !0, i("?" + o, f);
582
500
  }, [i, r]);
583
501
  return [r, l];
584
502
  }
585
- function Qe() {
503
+ function Ge() {
586
504
  if (typeof document > "u")
587
505
  throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
588
506
  }
589
- let et = 0, tt = () => "__" + String(++et) + "__";
590
- function nt() {
507
+ let Xe = 0, Ze = () => "__" + String(++Xe) + "__";
508
+ function Je() {
591
509
  let {
592
510
  router: e
593
- } = le(U.UseSubmit), {
511
+ } = se(U.UseSubmit), {
594
512
  basename: n
595
- } = s.useContext(I), t = he();
513
+ } = s.useContext(I), t = we();
596
514
  return s.useCallback(function(a, r) {
597
- r === void 0 && (r = {}), Qe();
515
+ r === void 0 && (r = {}), Ge();
598
516
  let {
599
517
  action: i,
600
518
  method: l,
601
519
  encType: u,
602
520
  formData: f,
603
521
  body: o
604
- } = Ve(a, n);
522
+ } = ke(a, n);
605
523
  if (r.navigate === !1) {
606
- let c = r.fetcherKey || tt();
524
+ let c = r.fetcherKey || Ze();
607
525
  e.fetch(c, t, r.action || i, {
608
526
  preventScrollReset: r.preventScrollReset,
609
527
  formData: f,
@@ -627,30 +545,30 @@ function nt() {
627
545
  });
628
546
  }, [e, n, t]);
629
547
  }
630
- function rt(e, n) {
548
+ function Qe(e, n) {
631
549
  let {
632
550
  relative: t
633
551
  } = n === void 0 ? {} : n, {
634
552
  basename: a
635
- } = s.useContext(I), r = s.useContext(pe);
553
+ } = s.useContext(I), r = s.useContext(ye);
636
554
  r || (process.env.NODE_ENV !== "production" ? k(!1, "useFormAction must be used inside a RouteContext") : k(!1));
637
- let [i] = r.matches.slice(-1), l = T({}, j(e || ".", {
555
+ let [i] = r.matches.slice(-1), l = T({}, M(e || ".", {
638
556
  relative: t
639
- })), u = M();
557
+ })), u = j();
640
558
  if (e == null) {
641
559
  l.search = u.search;
642
560
  let f = new URLSearchParams(l.search);
643
561
  f.has("index") && f.get("index") === "" && (f.delete("index"), l.search = f.toString() ? "?" + f.toString() : "");
644
562
  }
645
- return (!e || e === ".") && i.route.index && (l.search = l.search ? l.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (l.pathname = l.pathname === "/" ? a : be([a, l.pathname])), z(l);
563
+ return (!e || e === ".") && i.route.index && (l.search = l.search ? l.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (l.pathname = l.pathname === "/" ? a : Ee([a, l.pathname])), z(l);
646
564
  }
647
- function at(e, n) {
565
+ function et(e, n) {
648
566
  n === void 0 && (n = {});
649
567
  let t = s.useContext(q);
650
568
  t == null && (process.env.NODE_ENV !== "production" ? k(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : k(!1));
651
569
  let {
652
570
  basename: a
653
- } = le(U.useViewTransitionState), r = j(e, {
571
+ } = se(U.useViewTransitionState), r = M(e, {
654
572
  relative: n.relative
655
573
  });
656
574
  if (!t.isTransitioning)
@@ -658,6 +576,88 @@ function at(e, n) {
658
576
  let i = P(t.currentLocation.pathname, a) || t.currentLocation.pathname, l = P(t.nextLocation.pathname, a) || t.nextLocation.pathname;
659
577
  return G(r.pathname, l) != null || G(r.pathname, i) != null;
660
578
  }
579
+ /**
580
+ * @license lucide-react v0.378.0 - ISC
581
+ *
582
+ * This source code is licensed under the ISC license.
583
+ * See the LICENSE file in the root directory of this source tree.
584
+ */
585
+ const tt = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), le = (...e) => e.filter((n, t, a) => !!n && a.indexOf(n) === t).join(" ");
586
+ /**
587
+ * @license lucide-react v0.378.0 - ISC
588
+ *
589
+ * This source code is licensed under the ISC license.
590
+ * See the LICENSE file in the root directory of this source tree.
591
+ */
592
+ var nt = {
593
+ xmlns: "http://www.w3.org/2000/svg",
594
+ width: 24,
595
+ height: 24,
596
+ viewBox: "0 0 24 24",
597
+ fill: "none",
598
+ stroke: "currentColor",
599
+ strokeWidth: 2,
600
+ strokeLinecap: "round",
601
+ strokeLinejoin: "round"
602
+ };
603
+ /**
604
+ * @license lucide-react v0.378.0 - ISC
605
+ *
606
+ * This source code is licensed under the ISC license.
607
+ * See the LICENSE file in the root directory of this source tree.
608
+ */
609
+ const rt = te(
610
+ ({
611
+ color: e = "currentColor",
612
+ size: n = 24,
613
+ strokeWidth: t = 2,
614
+ absoluteStrokeWidth: a,
615
+ className: r = "",
616
+ children: i,
617
+ iconNode: l,
618
+ ...u
619
+ }, f) => W(
620
+ "svg",
621
+ {
622
+ ref: f,
623
+ ...nt,
624
+ width: n,
625
+ height: n,
626
+ stroke: e,
627
+ strokeWidth: a ? Number(t) * 24 / Number(n) : t,
628
+ className: le("lucide", r),
629
+ ...u
630
+ },
631
+ [
632
+ ...l.map(([o, c]) => W(o, c)),
633
+ ...Array.isArray(i) ? i : [i]
634
+ ]
635
+ )
636
+ );
637
+ /**
638
+ * @license lucide-react v0.378.0 - ISC
639
+ *
640
+ * This source code is licensed under the ISC license.
641
+ * See the LICENSE file in the root directory of this source tree.
642
+ */
643
+ const at = (e, n) => {
644
+ const t = te(
645
+ ({ className: a, ...r }, i) => W(rt, {
646
+ ref: i,
647
+ iconNode: n,
648
+ className: le(`lucide-${tt(e)}`, a),
649
+ ...r
650
+ })
651
+ );
652
+ return t.displayName = `${e}`, t;
653
+ };
654
+ /**
655
+ * @license lucide-react v0.378.0 - ISC
656
+ *
657
+ * This source code is licensed under the ISC license.
658
+ * See the LICENSE file in the root directory of this source tree.
659
+ */
660
+ const dt = at("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
661
661
  function ue(e) {
662
662
  var n, t, a = "";
663
663
  if (typeof e == "string" || typeof e == "number") a += e;
@@ -700,13 +700,13 @@ const Q = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ee =
700
700
  return ee(e, l, f, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
701
701
  };
702
702
  export {
703
- ut as C,
704
- se as L,
705
- Ge as N,
706
- ft as R,
703
+ dt as C,
704
+ oe as L,
705
+ ze as N,
706
+ ct as R,
707
707
  ee as a,
708
708
  mt as b,
709
- Le as c,
710
- ct as d,
711
- dt as u
709
+ at as c,
710
+ ut as d,
711
+ ft as u
712
712
  };
@@ -3,9 +3,9 @@ var W = (e) => {
3
3
  };
4
4
  var N = (e, t, s) => t.has(e) || W("Cannot " + s);
5
5
  var c = (e, t, s) => (N(e, t, "read from private field"), s ? s.call(e) : t.get(e)), b = (e, t, s) => t.has(e) ? W("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), E = (e, t, s, n) => (N(e, t, "write to private field"), n ? n.call(e, s) : t.set(e, s), s), C = (e, t, s) => (N(e, t, "access private method"), s);
6
- import { R as L, z, n as Z } from "./DevPortalProvider-gzyAGqHT.js";
6
+ import { R as L, z, n as Z } from "./DevPortalProvider-DssVwuLz.js";
7
7
  import * as r from "react";
8
- import { j as P } from "./router-DibNxKUP.js";
8
+ import { j as P } from "./jsx-runtime-D7DwziLW.js";
9
9
  import * as q from "react-dom";
10
10
  var y, h, w, x, S, k, ct = (k = class extends L {
11
11
  constructor(t) {