zudoku 0.41.3 → 0.41.5

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 (58) hide show
  1. package/dist/app/main.js +3 -1
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/lib/components/BuildCheck.js +18 -3
  4. package/dist/lib/components/BuildCheck.js.map +1 -1
  5. package/lib/{AuthenticationPlugin-CJOFRBk3.js → AuthenticationPlugin-DPCuR3xm.js} +3 -3
  6. package/lib/{AuthenticationPlugin-CJOFRBk3.js.map → AuthenticationPlugin-DPCuR3xm.js.map} +1 -1
  7. package/lib/{Markdown-DqDbGCj2.js → Markdown-mFpg_n9p.js} +3 -3
  8. package/lib/{Markdown-DqDbGCj2.js.map → Markdown-mFpg_n9p.js.map} +1 -1
  9. package/lib/{MdxPage-B7MyVLV5.js → MdxPage-CH19q_hk.js} +7 -7
  10. package/lib/{MdxPage-B7MyVLV5.js.map → MdxPage-CH19q_hk.js.map} +1 -1
  11. package/lib/{OasProvider-C15HpDwF.js → OasProvider-n805wUHH.js} +4 -4
  12. package/lib/{OasProvider-C15HpDwF.js.map → OasProvider-n805wUHH.js.map} +1 -1
  13. package/lib/{OperationList-j4pFeiTb.js → OperationList-BAhWsh8C.js} +10 -10
  14. package/lib/{OperationList-j4pFeiTb.js.map → OperationList-BAhWsh8C.js.map} +1 -1
  15. package/lib/{Pagination-9TA5cwCh.js → Pagination-DAjXddnj.js} +3 -3
  16. package/lib/{Pagination-9TA5cwCh.js.map → Pagination-DAjXddnj.js.map} +1 -1
  17. package/lib/{RouteGuard-BZ_VsiXc.js → RouteGuard-DRtEu9nh.js} +3 -3
  18. package/lib/{RouteGuard-BZ_VsiXc.js.map → RouteGuard-DRtEu9nh.js.map} +1 -1
  19. package/lib/{SchemaList-DRck1myS.js → SchemaList-BJ0GDIcI.js} +6 -6
  20. package/lib/{SchemaList-DRck1myS.js.map → SchemaList-BJ0GDIcI.js.map} +1 -1
  21. package/lib/{SchemaView-DwlVvFfp.js → SchemaView-J7Srn-Iy.js} +2 -2
  22. package/lib/{SchemaView-DwlVvFfp.js.map → SchemaView-J7Srn-Iy.js.map} +1 -1
  23. package/lib/{Select-Dg5R11Dx.js → Select-CT64Ou40.js} +3 -3
  24. package/lib/{Select-Dg5R11Dx.js.map → Select-CT64Ou40.js.map} +1 -1
  25. package/lib/{SlotletProvider-p4XaFFOh.js → SlotletProvider-CS_nO-XT.js} +4 -4
  26. package/lib/{SlotletProvider-p4XaFFOh.js.map → SlotletProvider-CS_nO-XT.js.map} +1 -1
  27. package/lib/{Toc-BVdRaIC0.js → Toc-D_tV8_Ri.js} +2 -2
  28. package/lib/{Toc-BVdRaIC0.js.map → Toc-D_tV8_Ri.js.map} +1 -1
  29. package/lib/{chunk-KNED5TY2-BUPjb3LQ.js → chunk-BAXFHI7N-BVBOl9s0.js} +125 -121
  30. package/lib/chunk-BAXFHI7N-BVBOl9s0.js.map +1 -0
  31. package/lib/{hook-pPrHCB6G.js → hook-CldJlP5c.js} +2 -2
  32. package/lib/{hook-pPrHCB6G.js.map → hook-CldJlP5c.js.map} +1 -1
  33. package/lib/index-BeYI7Btu.js +5031 -0
  34. package/lib/index-BeYI7Btu.js.map +1 -0
  35. package/lib/{index-Dk7l9To6.js → index-Dbvpddzr.js} +7 -7
  36. package/lib/{index-Dk7l9To6.js.map → index-Dbvpddzr.js.map} +1 -1
  37. package/lib/{mutation-Csa9eQDM.js → mutation-DBQh7AOZ.js} +2 -2
  38. package/lib/{mutation-Csa9eQDM.js.map → mutation-DBQh7AOZ.js.map} +1 -1
  39. package/lib/{useExposedProps-Dq2yUQIG.js → useExposedProps-DbIZXspi.js} +2 -2
  40. package/lib/{useExposedProps-Dq2yUQIG.js.map → useExposedProps-DbIZXspi.js.map} +1 -1
  41. package/lib/zudoku.auth-auth0.js +1 -1
  42. package/lib/zudoku.auth-clerk.js +2 -2
  43. package/lib/zudoku.auth-openid.js +3 -3
  44. package/lib/zudoku.components.js +6 -6
  45. package/lib/zudoku.hooks.js +1 -1
  46. package/lib/zudoku.plugin-api-catalog.js +5 -5
  47. package/lib/zudoku.plugin-api-keys.js +4 -4
  48. package/lib/zudoku.plugin-custom-pages.js +2 -2
  49. package/lib/zudoku.plugin-markdown.js +1 -1
  50. package/lib/zudoku.plugin-openapi.js +3 -3
  51. package/lib/zudoku.plugin-redirect.js +1 -1
  52. package/lib/zudoku.plugin-search-pagefind.js +3 -3
  53. package/package.json +4 -4
  54. package/src/app/main.tsx +7 -3
  55. package/src/lib/components/BuildCheck.tsx +20 -7
  56. package/lib/chunk-KNED5TY2-BUPjb3LQ.js.map +0 -1
  57. package/lib/index-BPmAnNGI.js +0 -2054
  58. package/lib/index-BPmAnNGI.js.map +0 -1
@@ -1,2054 +0,0 @@
1
- var nr = Object.defineProperty;
2
- var _e = (t) => {
3
- throw TypeError(t);
4
- };
5
- var ar = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var A = (t, e, r) => ar(t, typeof e != "symbol" ? e + "" : e, r), De = (t, e, r) => e.has(t) || _e("Cannot " + r);
7
- var d = (t, e, r) => (De(t, e, "read from private field"), r ? r.call(t) : e.get(t)), k = (t, e, r) => e.has(t) ? _e("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), M = (t, e, r, n) => (De(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
8
- var ce = (t, e, r, n) => ({
9
- set _(a) {
10
- M(t, e, a, r);
11
- },
12
- get _() {
13
- return d(t, e, n);
14
- }
15
- });
16
- import { B as ot, a as it, H as Ee, R as or } from "./RouteGuard-BZ_VsiXc.js";
17
- import { z as ct, J as ir } from "./index-DwT-v3zK.js";
18
- import { R as cr, S as lr, u as pe, f as ge, g as ur, L as Te, O as lt } from "./chunk-KNED5TY2-BUPjb3LQ.js";
19
- import { S as ut, v as dt, Q as dr, n as R, w as qe, x as $e, y as B, z as fr, A as hr, B as mr, C as pr, D as Ie, E as Fe, F as gr, h as Qe, G as ze, H as xr, g as ft, I as ht, m as vr, e as F, l as ae, J as mt, K as yr, f as ee, u as br, j as jr, d as wr, Z as Pr, L as Sr, M as Cr } from "./hook-pPrHCB6G.js";
20
- import { E as pt, S as _, a as Nr, R as Er } from "./SlotletProvider-p4XaFFOh.js";
21
- import { j as s } from "./jsx-runtime-C5mzlN2N.js";
22
- import { Button as gt } from "./ui/Button.js";
23
- import { Callout as Tr } from "./ui/Callout.js";
24
- import { M as Mr } from "./mutation-Csa9eQDM.js";
25
- import * as K from "react";
26
- import he, { createContext as Me, StrictMode as xt, useRef as G, useEffect as Q, useState as J, useCallback as W, Suspense as Oe, memo as vt, Component as Or, createElement as Le, useMemo as be, useContext as Ar } from "react";
27
- import * as kr from "react-dom";
28
- import { CircleFadingArrowUpIcon as Rr, LoaderCircleIcon as _r, ExternalLink as Dr, CircleXIcon as qr, ChevronRightIcon as $r, SearchIcon as Ir, SunIcon as Fr, MoonIcon as Qr, MenuIcon as zr, PanelLeftIcon as Lr } from "lucide-react";
29
- import { C as xe } from "./ClientOnly-E7hGysn1.js";
30
- import { c as O } from "./cn-qaFjX9_3.js";
31
- import { A as Br, s as Hr, a as Be, b as Kr, H as Ur, P as Yr, c as Zr, V as Vr, M as Wr } from "./Markdown-DqDbGCj2.js";
32
- import { S as yt } from "./Spinner-mNLZ6awP.js";
33
- import { C as Gr } from "./CategoryHeading-D06WK_Wo.js";
34
- import { isSearchPlugin as Xr, isProfileMenuPlugin as Jr, isNavigationPlugin as es, isEventConsumerPlugin as ts, needsInitialization as rs, isApiIdentityPlugin as ss, isMdxProviderPlugin as ns, hasHead as as } from "./zudoku.plugins.js";
35
- import { o as os } from "./objectEntries-yMIkr2mI.js";
36
- import { B as Se } from "./Button-BBNrKpQd.js";
37
- import { DropdownMenu as is, DropdownMenuTrigger as cs, DropdownMenuContent as ls, DropdownMenuLabel as us, DropdownMenuSeparator as je, DropdownMenuSub as ds, DropdownMenuSubTrigger as fs, DropdownMenuPortal as hs, DropdownMenuSubContent as ms, DropdownMenuItem as ps } from "./ui/DropdownMenu.js";
38
- import { VisuallyHidden as bt } from "@radix-ui/react-visually-hidden";
39
- import { D as gs, a as xs, b as jt, c as wt, d as z } from "./Drawer-CEwbkLDb.js";
40
- import { a as vs } from "./index-CPNSgwSb.js";
41
- const Ce = {}, Pt = he.createContext(Ce);
42
- function St(t) {
43
- const e = he.useContext(Pt);
44
- return he.useMemo(
45
- function() {
46
- return typeof t == "function" ? t(e) : { ...e, ...t };
47
- },
48
- [e, t]
49
- );
50
- }
51
- function ys(t) {
52
- let e;
53
- return t.disableParentContext ? e = typeof t.components == "function" ? t.components(Ce) : t.components || Ce : e = St(t.components), he.createElement(
54
- Pt.Provider,
55
- { value: e },
56
- t.children
57
- );
58
- }
59
- var I, st, bs = (st = class extends ut {
60
- constructor(e = {}) {
61
- super();
62
- k(this, I);
63
- this.config = e, M(this, I, /* @__PURE__ */ new Map());
64
- }
65
- build(e, r, n) {
66
- const a = r.queryKey, i = r.queryHash ?? dt(a, r);
67
- let o = this.get(i);
68
- return o || (o = new dr({
69
- client: e,
70
- queryKey: a,
71
- queryHash: i,
72
- options: e.defaultQueryOptions(r),
73
- state: n,
74
- defaultOptions: e.getQueryDefaults(a)
75
- }), this.add(o)), o;
76
- }
77
- add(e) {
78
- d(this, I).has(e.queryHash) || (d(this, I).set(e.queryHash, e), this.notify({
79
- type: "added",
80
- query: e
81
- }));
82
- }
83
- remove(e) {
84
- const r = d(this, I).get(e.queryHash);
85
- r && (e.destroy(), r === e && d(this, I).delete(e.queryHash), this.notify({ type: "removed", query: e }));
86
- }
87
- clear() {
88
- R.batch(() => {
89
- this.getAll().forEach((e) => {
90
- this.remove(e);
91
- });
92
- });
93
- }
94
- get(e) {
95
- return d(this, I).get(e);
96
- }
97
- getAll() {
98
- return [...d(this, I).values()];
99
- }
100
- find(e) {
101
- const r = { exact: !0, ...e };
102
- return this.getAll().find(
103
- (n) => qe(r, n)
104
- );
105
- }
106
- findAll(e = {}) {
107
- const r = this.getAll();
108
- return Object.keys(e).length > 0 ? r.filter((n) => qe(e, n)) : r;
109
- }
110
- notify(e) {
111
- R.batch(() => {
112
- this.listeners.forEach((r) => {
113
- r(e);
114
- });
115
- });
116
- }
117
- onFocus() {
118
- R.batch(() => {
119
- this.getAll().forEach((e) => {
120
- e.onFocus();
121
- });
122
- });
123
- }
124
- onOnline() {
125
- R.batch(() => {
126
- this.getAll().forEach((e) => {
127
- e.onOnline();
128
- });
129
- });
130
- }
131
- }, I = new WeakMap(), st), H, $, oe, nt, js = (nt = class extends ut {
132
- constructor(e = {}) {
133
- super();
134
- k(this, H);
135
- k(this, $);
136
- k(this, oe);
137
- this.config = e, M(this, H, /* @__PURE__ */ new Set()), M(this, $, /* @__PURE__ */ new Map()), M(this, oe, 0);
138
- }
139
- build(e, r, n) {
140
- const a = new Mr({
141
- mutationCache: this,
142
- mutationId: ++ce(this, oe)._,
143
- options: e.defaultMutationOptions(r),
144
- state: n
145
- });
146
- return this.add(a), a;
147
- }
148
- add(e) {
149
- d(this, H).add(e);
150
- const r = le(e);
151
- if (typeof r == "string") {
152
- const n = d(this, $).get(r);
153
- n ? n.push(e) : d(this, $).set(r, [e]);
154
- }
155
- this.notify({ type: "added", mutation: e });
156
- }
157
- remove(e) {
158
- if (d(this, H).delete(e)) {
159
- const r = le(e);
160
- if (typeof r == "string") {
161
- const n = d(this, $).get(r);
162
- if (n)
163
- if (n.length > 1) {
164
- const a = n.indexOf(e);
165
- a !== -1 && n.splice(a, 1);
166
- } else n[0] === e && d(this, $).delete(r);
167
- }
168
- }
169
- this.notify({ type: "removed", mutation: e });
170
- }
171
- canRun(e) {
172
- const r = le(e);
173
- if (typeof r == "string") {
174
- const n = d(this, $).get(r), a = n == null ? void 0 : n.find(
175
- (i) => i.state.status === "pending"
176
- );
177
- return !a || a === e;
178
- } else
179
- return !0;
180
- }
181
- runNext(e) {
182
- var n;
183
- const r = le(e);
184
- if (typeof r == "string") {
185
- const a = (n = d(this, $).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
186
- return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
187
- } else
188
- return Promise.resolve();
189
- }
190
- clear() {
191
- R.batch(() => {
192
- d(this, H).forEach((e) => {
193
- this.notify({ type: "removed", mutation: e });
194
- }), d(this, H).clear(), d(this, $).clear();
195
- });
196
- }
197
- getAll() {
198
- return Array.from(d(this, H));
199
- }
200
- find(e) {
201
- const r = { exact: !0, ...e };
202
- return this.getAll().find(
203
- (n) => $e(r, n)
204
- );
205
- }
206
- findAll(e = {}) {
207
- return this.getAll().filter((r) => $e(e, r));
208
- }
209
- notify(e) {
210
- R.batch(() => {
211
- this.listeners.forEach((r) => {
212
- r(e);
213
- });
214
- });
215
- }
216
- resumePausedMutations() {
217
- const e = this.getAll().filter((r) => r.state.isPaused);
218
- return R.batch(
219
- () => Promise.all(
220
- e.map((r) => r.continue().catch(B))
221
- )
222
- );
223
- }
224
- }, H = new WeakMap(), $ = new WeakMap(), oe = new WeakMap(), nt);
225
- function le(t) {
226
- var e;
227
- return (e = t.options.scope) == null ? void 0 : e.id;
228
- }
229
- function He(t) {
230
- return {
231
- onFetch: (e, r) => {
232
- var b, v, g, y, m;
233
- const n = e.options, a = (g = (v = (b = e.fetchOptions) == null ? void 0 : b.meta) == null ? void 0 : v.fetchMore) == null ? void 0 : g.direction, i = ((y = e.state.data) == null ? void 0 : y.pages) || [], o = ((m = e.state.data) == null ? void 0 : m.pageParams) || [];
234
- let f = { pages: [], pageParams: [] }, h = 0;
235
- const l = async () => {
236
- let p = !1;
237
- const C = (x) => {
238
- Object.defineProperty(x, "signal", {
239
- enumerable: !0,
240
- get: () => (e.signal.aborted ? p = !0 : e.signal.addEventListener("abort", () => {
241
- p = !0;
242
- }), e.signal)
243
- });
244
- }, E = fr(e.options, e.fetchOptions), T = async (x, j, c) => {
245
- if (p)
246
- return Promise.reject();
247
- if (j == null && x.pages.length)
248
- return Promise.resolve(x);
249
- const S = {
250
- client: e.client,
251
- queryKey: e.queryKey,
252
- pageParam: j,
253
- direction: c ? "backward" : "forward",
254
- meta: e.options.meta
255
- };
256
- C(S);
257
- const D = await E(
258
- S
259
- ), { maxPages: q } = e.options, L = c ? hr : mr;
260
- return {
261
- pages: L(x.pages, D, q),
262
- pageParams: L(x.pageParams, j, q)
263
- };
264
- };
265
- if (a && i.length) {
266
- const x = a === "backward", j = x ? ws : Ke, c = {
267
- pages: i,
268
- pageParams: o
269
- }, S = j(n, c);
270
- f = await T(c, S, x);
271
- } else {
272
- const x = t ?? i.length;
273
- do {
274
- const j = h === 0 ? o[0] ?? n.initialPageParam : Ke(n, f);
275
- if (h > 0 && j == null)
276
- break;
277
- f = await T(f, j), h++;
278
- } while (h < x);
279
- }
280
- return f;
281
- };
282
- e.options.persister ? e.fetchFn = () => {
283
- var p, C;
284
- return (C = (p = e.options).persister) == null ? void 0 : C.call(
285
- p,
286
- l,
287
- {
288
- client: e.client,
289
- queryKey: e.queryKey,
290
- meta: e.options.meta,
291
- signal: e.signal
292
- },
293
- r
294
- );
295
- } : e.fetchFn = l;
296
- }
297
- };
298
- }
299
- function Ke(t, { pages: e, pageParams: r }) {
300
- const n = e.length - 1;
301
- return e.length > 0 ? t.getNextPageParam(
302
- e[n],
303
- e,
304
- r[n],
305
- r
306
- ) : void 0;
307
- }
308
- function ws(t, { pages: e, pageParams: r }) {
309
- var n;
310
- return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
311
- }
312
- var N, Y, Z, te, re, V, se, ne, at, Ps = (at = class {
313
- constructor(t = {}) {
314
- k(this, N);
315
- k(this, Y);
316
- k(this, Z);
317
- k(this, te);
318
- k(this, re);
319
- k(this, V);
320
- k(this, se);
321
- k(this, ne);
322
- M(this, N, t.queryCache || new bs()), M(this, Y, t.mutationCache || new js()), M(this, Z, t.defaultOptions || {}), M(this, te, /* @__PURE__ */ new Map()), M(this, re, /* @__PURE__ */ new Map()), M(this, V, 0);
323
- }
324
- mount() {
325
- ce(this, V)._++, d(this, V) === 1 && (M(this, se, pr.subscribe(async (t) => {
326
- t && (await this.resumePausedMutations(), d(this, N).onFocus());
327
- })), M(this, ne, Ie.subscribe(async (t) => {
328
- t && (await this.resumePausedMutations(), d(this, N).onOnline());
329
- })));
330
- }
331
- unmount() {
332
- var t, e;
333
- ce(this, V)._--, d(this, V) === 0 && ((t = d(this, se)) == null || t.call(this), M(this, se, void 0), (e = d(this, ne)) == null || e.call(this), M(this, ne, void 0));
334
- }
335
- isFetching(t) {
336
- return d(this, N).findAll({ ...t, fetchStatus: "fetching" }).length;
337
- }
338
- isMutating(t) {
339
- return d(this, Y).findAll({ ...t, status: "pending" }).length;
340
- }
341
- /**
342
- * Imperative (non-reactive) way to retrieve data for a QueryKey.
343
- * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
344
- *
345
- * Hint: Do not use this function inside a component, because it won't receive updates.
346
- * Use `useQuery` to create a `QueryObserver` that subscribes to changes.
347
- */
348
- getQueryData(t) {
349
- var r;
350
- const e = this.defaultQueryOptions({ queryKey: t });
351
- return (r = d(this, N).get(e.queryHash)) == null ? void 0 : r.state.data;
352
- }
353
- ensureQueryData(t) {
354
- const e = this.defaultQueryOptions(t), r = d(this, N).build(this, e), n = r.state.data;
355
- return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(Fe(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(n));
356
- }
357
- getQueriesData(t) {
358
- return d(this, N).findAll(t).map(({ queryKey: e, state: r }) => {
359
- const n = r.data;
360
- return [e, n];
361
- });
362
- }
363
- setQueryData(t, e, r) {
364
- const n = this.defaultQueryOptions({ queryKey: t }), a = d(this, N).get(
365
- n.queryHash
366
- ), i = a == null ? void 0 : a.state.data, o = gr(e, i);
367
- if (o !== void 0)
368
- return d(this, N).build(this, n).setData(o, { ...r, manual: !0 });
369
- }
370
- setQueriesData(t, e, r) {
371
- return R.batch(
372
- () => d(this, N).findAll(t).map(({ queryKey: n }) => [
373
- n,
374
- this.setQueryData(n, e, r)
375
- ])
376
- );
377
- }
378
- getQueryState(t) {
379
- var r;
380
- const e = this.defaultQueryOptions({ queryKey: t });
381
- return (r = d(this, N).get(
382
- e.queryHash
383
- )) == null ? void 0 : r.state;
384
- }
385
- removeQueries(t) {
386
- const e = d(this, N);
387
- R.batch(() => {
388
- e.findAll(t).forEach((r) => {
389
- e.remove(r);
390
- });
391
- });
392
- }
393
- resetQueries(t, e) {
394
- const r = d(this, N);
395
- return R.batch(() => (r.findAll(t).forEach((n) => {
396
- n.reset();
397
- }), this.refetchQueries(
398
- {
399
- type: "active",
400
- ...t
401
- },
402
- e
403
- )));
404
- }
405
- cancelQueries(t, e = {}) {
406
- const r = { revert: !0, ...e }, n = R.batch(
407
- () => d(this, N).findAll(t).map((a) => a.cancel(r))
408
- );
409
- return Promise.all(n).then(B).catch(B);
410
- }
411
- invalidateQueries(t, e = {}) {
412
- return R.batch(() => (d(this, N).findAll(t).forEach((r) => {
413
- r.invalidate();
414
- }), (t == null ? void 0 : t.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
415
- {
416
- ...t,
417
- type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
418
- },
419
- e
420
- )));
421
- }
422
- refetchQueries(t, e = {}) {
423
- const r = {
424
- ...e,
425
- cancelRefetch: e.cancelRefetch ?? !0
426
- }, n = R.batch(
427
- () => d(this, N).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
428
- let i = a.fetch(void 0, r);
429
- return r.throwOnError || (i = i.catch(B)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
430
- })
431
- );
432
- return Promise.all(n).then(B);
433
- }
434
- fetchQuery(t) {
435
- const e = this.defaultQueryOptions(t);
436
- e.retry === void 0 && (e.retry = !1);
437
- const r = d(this, N).build(this, e);
438
- return r.isStaleByTime(
439
- Fe(e.staleTime, r)
440
- ) ? r.fetch(e) : Promise.resolve(r.state.data);
441
- }
442
- prefetchQuery(t) {
443
- return this.fetchQuery(t).then(B).catch(B);
444
- }
445
- fetchInfiniteQuery(t) {
446
- return t.behavior = He(t.pages), this.fetchQuery(t);
447
- }
448
- prefetchInfiniteQuery(t) {
449
- return this.fetchInfiniteQuery(t).then(B).catch(B);
450
- }
451
- ensureInfiniteQueryData(t) {
452
- return t.behavior = He(t.pages), this.ensureQueryData(t);
453
- }
454
- resumePausedMutations() {
455
- return Ie.isOnline() ? d(this, Y).resumePausedMutations() : Promise.resolve();
456
- }
457
- getQueryCache() {
458
- return d(this, N);
459
- }
460
- getMutationCache() {
461
- return d(this, Y);
462
- }
463
- getDefaultOptions() {
464
- return d(this, Z);
465
- }
466
- setDefaultOptions(t) {
467
- M(this, Z, t);
468
- }
469
- setQueryDefaults(t, e) {
470
- d(this, te).set(Qe(t), {
471
- queryKey: t,
472
- defaultOptions: e
473
- });
474
- }
475
- getQueryDefaults(t) {
476
- const e = [...d(this, te).values()], r = {};
477
- return e.forEach((n) => {
478
- ze(t, n.queryKey) && Object.assign(r, n.defaultOptions);
479
- }), r;
480
- }
481
- setMutationDefaults(t, e) {
482
- d(this, re).set(Qe(t), {
483
- mutationKey: t,
484
- defaultOptions: e
485
- });
486
- }
487
- getMutationDefaults(t) {
488
- const e = [...d(this, re).values()], r = {};
489
- return e.forEach((n) => {
490
- ze(t, n.mutationKey) && Object.assign(r, n.defaultOptions);
491
- }), r;
492
- }
493
- defaultQueryOptions(t) {
494
- if (t._defaulted)
495
- return t;
496
- const e = {
497
- ...d(this, Z).queries,
498
- ...this.getQueryDefaults(t.queryKey),
499
- ...t,
500
- _defaulted: !0
501
- };
502
- return e.queryHash || (e.queryHash = dt(
503
- e.queryKey,
504
- e
505
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === xr && (e.enabled = !1), e;
506
- }
507
- defaultMutationOptions(t) {
508
- return t != null && t._defaulted ? t : {
509
- ...d(this, Z).mutations,
510
- ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
511
- ...t,
512
- _defaulted: !0
513
- };
514
- }
515
- clear() {
516
- d(this, N).clear(), d(this, Y).clear();
517
- }
518
- }, N = new WeakMap(), Y = new WeakMap(), Z = new WeakMap(), te = new WeakMap(), re = new WeakMap(), V = new WeakMap(), se = new WeakMap(), ne = new WeakMap(), at);
519
- function Ss(t) {
520
- return t;
521
- }
522
- function Ue(t, e, r) {
523
- var h, l;
524
- if (typeof e != "object" || e === null)
525
- return;
526
- const n = t.getMutationCache(), a = t.getQueryCache(), i = ((h = r == null ? void 0 : r.defaultOptions) == null ? void 0 : h.deserializeData) ?? ((l = t.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? Ss, o = e.mutations || [], f = e.queries || [];
527
- o.forEach(({ state: b, ...v }) => {
528
- var g, y;
529
- n.build(
530
- t,
531
- {
532
- ...(g = t.getDefaultOptions().hydrate) == null ? void 0 : g.mutations,
533
- ...(y = r == null ? void 0 : r.defaultOptions) == null ? void 0 : y.mutations,
534
- ...v
535
- },
536
- b
537
- );
538
- }), f.forEach(({ queryKey: b, state: v, queryHash: g, meta: y, promise: m }) => {
539
- var E, T;
540
- let p = a.get(g);
541
- const C = v.data === void 0 ? v.data : i(v.data);
542
- if (p) {
543
- if (p.state.dataUpdatedAt < v.dataUpdatedAt) {
544
- const { fetchStatus: x, ...j } = v;
545
- p.setState({
546
- ...j,
547
- data: C
548
- });
549
- }
550
- } else
551
- p = a.build(
552
- t,
553
- {
554
- ...(E = t.getDefaultOptions().hydrate) == null ? void 0 : E.queries,
555
- ...(T = r == null ? void 0 : r.defaultOptions) == null ? void 0 : T.queries,
556
- queryKey: b,
557
- queryHash: g,
558
- meta: y
559
- },
560
- // Reset fetch status to idle to avoid
561
- // query being stuck in fetching state upon hydration
562
- {
563
- ...v,
564
- data: C,
565
- fetchStatus: "idle"
566
- }
567
- );
568
- if (m) {
569
- const x = Promise.resolve(m).then(i);
570
- p.fetch(void 0, { initialPromise: x });
571
- }
572
- });
573
- }
574
- var Ye = (t, e) => typeof t == "object" && t !== null && e in t, Cs = ({
575
- children: t,
576
- options: e = {},
577
- state: r,
578
- queryClient: n
579
- }) => {
580
- const a = ft(n), [i, o] = K.useState(), f = K.useRef(e);
581
- return f.current = e, K.useMemo(() => {
582
- if (r) {
583
- if (typeof r != "object")
584
- return;
585
- const h = a.getQueryCache(), l = r.queries || [], b = [], v = [];
586
- for (const g of l) {
587
- const y = h.get(g.queryHash);
588
- if (!y)
589
- b.push(g);
590
- else {
591
- const m = g.state.dataUpdatedAt > y.state.dataUpdatedAt || // RSC special serialized then-able chunks
592
- Ye(g.promise, "status") && Ye(y.promise, "status") && g.promise.status !== y.promise.status, p = i == null ? void 0 : i.find(
593
- (C) => C.queryHash === g.queryHash
594
- );
595
- m && (!p || g.state.dataUpdatedAt > p.state.dataUpdatedAt) && v.push(g);
596
- }
597
- }
598
- b.length > 0 && Ue(a, { queries: b }, f.current), v.length > 0 && o(
599
- (g) => g ? [...g, ...v] : v
600
- );
601
- }
602
- }, [a, i, r]), K.useEffect(() => {
603
- i && (Ue(a, { queries: i }, f.current), o(void 0));
604
- }, [a, i]), t;
605
- };
606
- function Ns({ error: t }) {
607
- return /* @__PURE__ */ s.jsx(pt, { error: t });
608
- }
609
- /**
610
- * react-router v7.5.0
611
- *
612
- * Copyright (c) Remix Software Inc.
613
- *
614
- * This source code is licensed under the MIT license found in the
615
- * LICENSE.md file in the root directory of this source tree.
616
- *
617
- * @license MIT
618
- */
619
- function Es(t) {
620
- return /* @__PURE__ */ K.createElement(cr, { flushSync: kr.flushSync, ...t });
621
- }
622
- const Ne = Me({ stagger: !1 }), Ts = new Ps({
623
- defaultOptions: {
624
- queries: {
625
- staleTime: 1e3 * 60 * 5
626
- }
627
- }
628
- }), Ms = ({
629
- router: t,
630
- hydrate: e = !1
631
- }) => /* @__PURE__ */ s.jsx(xt, { children: /* @__PURE__ */ s.jsx(ht, { client: Ts, children: /* @__PURE__ */ s.jsx(Cs, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ s.jsx(ot, { value: !1, children: /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsx(Ne.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ s.jsx(Es, { router: t }) }) }) }) }) }) }), Os = ({
632
- router: t,
633
- context: e,
634
- queryClient: r,
635
- helmetContext: n,
636
- bypassProtection: a = !1
637
- }) => /* @__PURE__ */ s.jsx(xt, { children: /* @__PURE__ */ s.jsx(ht, { client: r, children: /* @__PURE__ */ s.jsx(it, { context: n, children: /* @__PURE__ */ s.jsx(ot, { value: a, children: /* @__PURE__ */ s.jsx(lr, { router: t, context: e }) }) }) }) }), As = ({
638
- buildId: t,
639
- endpoint: e = "/__zuplo/docs"
640
- }) => {
641
- var a, i;
642
- const r = vr({
643
- queryKey: ["zuplo-build-check", t, e],
644
- refetchInterval: 2e3,
645
- enabled: !!t,
646
- queryFn: () => fetch(e).then((o) => o.json())
647
- });
648
- if (((a = r.data) == null ? void 0 : a.buildId) === t)
649
- return null;
650
- const n = ((i = r.data) == null ? void 0 : i.status) === "completed";
651
- return /* @__PURE__ */ s.jsxs("div", { className: "fixed flex flex-col gap-3 p-4 rounded-xl w-96 border z-20 bg-background left-0 right-0 top-4 mx-auto shadow-lg", children: [
652
- n ? /* @__PURE__ */ s.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
653
- /* @__PURE__ */ s.jsx(Rr, { size: 16 }),
654
- /* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "New version available" })
655
- ] }) : /* @__PURE__ */ s.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
656
- /* @__PURE__ */ s.jsx(_r, { size: 16, className: "animate-spin" }),
657
- /* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Building new version..." })
658
- ] }),
659
- /* @__PURE__ */ s.jsx("span", { className: "text-xs", children: n ? "To see the new version, reload the page now." : "A new version of the developer portal will be available soon." }),
660
- /* @__PURE__ */ s.jsx(
661
- gt,
662
- {
663
- variant: "outline",
664
- size: "sm",
665
- className: "w-full",
666
- onClick: () => {
667
- window.location.reload();
668
- },
669
- children: "Reload"
670
- }
671
- )
672
- ] });
673
- }, ks = () => {
674
- const t = pe(), e = G(t.pathname);
675
- Q(() => {
676
- const r = e.current !== t.pathname, n = t.hash !== "";
677
- r && !n && window.scrollTo(0, 0), e.current = t.pathname;
678
- }, [t.pathname, t.hash]);
679
- }, Rs = ({
680
- icon: t
681
- }) => typeof t == "string" ? /* @__PURE__ */ s.jsx(
682
- "img",
683
- {
684
- src: `https://cdn.simpleicons.org/${t}/000000/ffffff`,
685
- className: "size-5",
686
- alt: t
687
- }
688
- ) : t, _s = (t) => /^https?:/.test(t), Ds = () => {
689
- var r;
690
- const { page: t } = Pn(), e = t == null ? void 0 : t.footer;
691
- return e ? /* @__PURE__ */ s.jsx("footer", { className: "border-t bg-background", children: /* @__PURE__ */ s.jsxs("div", { className: "mx-auto max-w-screen-2xl px-4 lg:px-8 py-8 pt-20", children: [
692
- /* @__PURE__ */ s.jsxs(
693
- "div",
694
- {
695
- className: O("flex flex-row gap-8", {
696
- "justify-center": !e.position || e.position === "center",
697
- "justify-start": e.position === "start",
698
- "justify-end": e.position === "end"
699
- }),
700
- children: [
701
- /* @__PURE__ */ s.jsx(_, { name: "footer-before" }),
702
- e.columns && /* @__PURE__ */ s.jsx(
703
- "div",
704
- {
705
- className: "w-full md:max-w-screen-md grid grid-cols-[1fr_1fr] gap-8 md:grid-cols-[repeat(var(--columns),minmax(0,1fr))]",
706
- style: { "--columns": e.columns.length },
707
- children: e.columns.map((n) => /* @__PURE__ */ s.jsxs(
708
- "div",
709
- {
710
- className: O({
711
- "justify-self-center": !n.position || n.position === "center",
712
- "justify-self-start": n.position === "start",
713
- "justify-self-end": n.position === "end"
714
- }),
715
- children: [
716
- /* @__PURE__ */ s.jsx("span", { className: "text-sm font-semibold", children: n.title }),
717
- /* @__PURE__ */ s.jsx("ul", { className: "mt-4 space-y-2", children: n.links.map((a, i) => {
718
- const o = "flex flex-row gap-1 items-center text-sm text-muted-foreground hover:text-accent-foreground";
719
- return /* @__PURE__ */ s.jsx("li", { children: _s(a.href) ? /* @__PURE__ */ s.jsxs(
720
- "a",
721
- {
722
- href: a.href,
723
- target: "_blank",
724
- rel: "noopener noreferrer",
725
- className: o,
726
- children: [
727
- /* @__PURE__ */ s.jsx("span", { children: a.label }),
728
- /* @__PURE__ */ s.jsx(Dr, { size: 12 })
729
- ]
730
- }
731
- ) : /* @__PURE__ */ s.jsx(
732
- Br,
733
- {
734
- to: a.href + i,
735
- className: o,
736
- children: /* @__PURE__ */ s.jsx("span", { children: a.label })
737
- }
738
- ) }, a.href + i);
739
- }) })
740
- ]
741
- },
742
- n.title
743
- ))
744
- }
745
- ),
746
- /* @__PURE__ */ s.jsx(_, { name: "footer-after" })
747
- ]
748
- }
749
- ),
750
- /* @__PURE__ */ s.jsxs(
751
- "div",
752
- {
753
- className: O(
754
- "flex items-center justify-between",
755
- e.columns && "border-t mt-8 pt-8"
756
- ),
757
- children: [
758
- e.logo && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
759
- /* @__PURE__ */ s.jsx(
760
- "img",
761
- {
762
- src: e.logo.src.light,
763
- alt: e.logo.alt,
764
- className: "w-8 dark:hidden",
765
- style: { width: e.logo.width }
766
- }
767
- ),
768
- /* @__PURE__ */ s.jsx(
769
- "img",
770
- {
771
- src: e.logo.src.dark,
772
- alt: e.logo.alt,
773
- className: "w-8 hidden dark:block",
774
- style: { width: e.logo.width }
775
- }
776
- )
777
- ] }),
778
- e.copyright && /* @__PURE__ */ s.jsx("p", { className: "text-sm text-muted-foreground", children: e.copyright }),
779
- /* @__PURE__ */ s.jsx("div", { className: "flex items-center gap-2", children: (r = e.social) == null ? void 0 : r.map((n) => /* @__PURE__ */ s.jsxs(
780
- "a",
781
- {
782
- href: n.href,
783
- target: "_blank",
784
- rel: "noopener noreferrer",
785
- className: "w-auto gap-2 flex text-muted-foreground hover:text-accent-foreground",
786
- children: [
787
- /* @__PURE__ */ s.jsx(Rs, { icon: n.icon }),
788
- n.label
789
- ]
790
- },
791
- n.href
792
- )) })
793
- ]
794
- }
795
- )
796
- ] }) }) : null;
797
- };
798
- function qs({
799
- className: t,
800
- ...e
801
- }) {
802
- return /* @__PURE__ */ s.jsx(
803
- "div",
804
- {
805
- className: O("animate-pulse rounded-md bg-muted", t),
806
- ...e
807
- }
808
- );
809
- }
810
- const Ze = {
811
- info: "bg-blue-500",
812
- note: "bg-gray-500",
813
- tip: "bg-green-600",
814
- caution: "bg-orange-500",
815
- danger: "bg-rose-500"
816
- }, $s = () => {
817
- const { page: t } = F(), [e, r] = J(!0);
818
- if (!(t != null && t.banner) || !e)
819
- return /* @__PURE__ */ s.jsx("style", { children: ":root { --banner-height: 0px; }" });
820
- const n = t.banner.color && t.banner.color in Ze ? Ze[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = n ? {} : { backgroundColor: t.banner.color };
821
- return /* @__PURE__ */ s.jsxs(
822
- "div",
823
- {
824
- className: O(
825
- "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
826
- n
827
- ),
828
- "data-pagefind-ignore": "all",
829
- style: a,
830
- children: [
831
- /* @__PURE__ */ s.jsx("div", { className: "w-full", children: t.banner.message }),
832
- t.banner.dismissible && /* @__PURE__ */ s.jsx(
833
- "button",
834
- {
835
- type: "button",
836
- className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
837
- onClick: () => r(!1),
838
- children: /* @__PURE__ */ s.jsx(qr, { size: 16 })
839
- }
840
- )
841
- ]
842
- }
843
- );
844
- }, Ct = (t) => /* @__PURE__ */ s.jsxs(
845
- "svg",
846
- {
847
- xmlns: "http://www.w3.org/2000/svg",
848
- viewBox: "0 0 132 100",
849
- fill: "none",
850
- ...t,
851
- children: [
852
- /* @__PURE__ */ s.jsx(
853
- "path",
854
- {
855
- fill: "currentColor",
856
- fillRule: "evenodd",
857
- d: "M80.092 2.963A4.66 4.66 0 0 1 84.449 0h34.049c6.325 0 10.835 6.135 8.948 12.172L116.653 46.71a4.688 4.688 0 0 1-4.474 3.29H75c-5.178 0-7.813 4.687-9.375 9.374-1.288 3.864-11.07 28.963-14.467 37.662A4.66 4.66 0 0 1 46.801 100H12.75c-6.324 0-10.834-6.134-8.947-12.171l10.793-34.54A4.688 4.688 0 0 1 19.071 50H56.25c5.178 0 7.813-4.687 9.375-9.375 1.288-3.864 11.07-28.962 14.467-37.662Z",
858
- clipRule: "evenodd"
859
- }
860
- ),
861
- /* @__PURE__ */ s.jsx(
862
- "path",
863
- {
864
- fill: "currentColor",
865
- d: "M83.54 57.813a7.813 7.813 0 0 0-7.316 5.07L63.888 95.777c-.766 2.043.744 4.222 2.926 4.222h36.828c5.211 0 9.875-3.232 11.704-8.11l8.821-23.522c1.915-5.107-1.861-10.555-7.315-10.555H83.539ZM29.17 0a12.5 12.5 0 0 0-11.704 8.111l-8.82 23.521c-1.915 5.107 1.86 10.556 7.315 10.556h33.312a7.813 7.813 0 0 0 7.316-5.07L68.924 4.223C69.691 2.18 68.18 0 65.998 0H29.17Z"
866
- }
867
- )
868
- ]
869
- }
870
- );
871
- Ct.displayName = "ZudokuLogo";
872
- const Nt = ({ className: t }) => /* @__PURE__ */ s.jsxs(
873
- "a",
874
- {
875
- href: "https://zudoku.dev",
876
- target: "_blank",
877
- rel: "noopener noreferrer",
878
- className: O(
879
- "flex justify-between items-center w-full border border-transparent hover:border-border rounded-full hover:shadow-sm h-7 px-3 text-nowrap hover:bg-muted/80 transition-all",
880
- t
881
- ),
882
- children: [
883
- /* @__PURE__ */ s.jsxs("div", { className: "opacity-70 hover:opacity-100 transition-opacity gap-1.5 text-[11px] font-medium rounded-full h-7 flex items-center text-nowrap", children: [
884
- /* @__PURE__ */ s.jsx(Ct, { className: "w-3.5 h-3.5 dark:fill-white" }),
885
- "powered by ",
886
- "Zudoku"
887
- ] }),
888
- /* @__PURE__ */ s.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ s.jsx($r, { size: 12, absoluteStrokeWidth: !0, strokeWidth: 1.5 }) })
889
- ]
890
- }
891
- );
892
- function Is() {
893
- const t = navigator.userAgent.toLowerCase();
894
- if (t.includes("win")) return "Windows";
895
- if (t.includes("mac")) return "macOS";
896
- if (t.includes("linux")) return "Linux";
897
- }
898
- const Et = ({ className: t }) => {
899
- const e = F(), [r, n] = J(!1), a = W(() => n(!1), []);
900
- Q(() => {
901
- if (r)
902
- return;
903
- function o(f) {
904
- f.key === "k" && (f.metaKey || f.ctrlKey) && (f.preventDefault(), n(!0));
905
- }
906
- return window.addEventListener("keydown", o), () => {
907
- window.removeEventListener("keydown", o);
908
- };
909
- }, [r, n]);
910
- const i = e.plugins.find(Xr);
911
- return i ? /* @__PURE__ */ s.jsxs("div", { className: t, children: [
912
- /* @__PURE__ */ s.jsxs(
913
- "button",
914
- {
915
- type: "button",
916
- onClick: () => n(!0),
917
- className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
918
- children: [
919
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
920
- /* @__PURE__ */ s.jsx(Ir, { size: 14 }),
921
- "Search"
922
- ] }),
923
- /* @__PURE__ */ s.jsx(xe, { children: /* @__PURE__ */ s.jsx(Fs, {}) })
924
- ]
925
- }
926
- ),
927
- /* @__PURE__ */ s.jsx(Oe, { fallback: null, children: i.renderSearch({
928
- isOpen: r,
929
- onClose: a
930
- }) })
931
- ] }) : null;
932
- }, Fs = () => {
933
- const t = Is();
934
- return /* @__PURE__ */ s.jsxs("kbd", { className: "absolute right-1.5 hidden h-5 select-none items-center gap-1 rounded-sm border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: [
935
- t === "macOS" ? "⌘" : "Ctrl",
936
- "+K"
937
- ] });
938
- }, Tt = () => {
939
- const { resolvedTheme: t, setTheme: e } = ct();
940
- return /* @__PURE__ */ s.jsx(xe, { fallback: /* @__PURE__ */ s.jsx(Se, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ s.jsxs(
941
- "button",
942
- {
943
- type: "button",
944
- className: "flex rounded-full border p-0.5 gap-0.5 group",
945
- onClick: () => e(t === "dark" ? "light" : "dark"),
946
- "aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
947
- children: [
948
- /* @__PURE__ */ s.jsx(
949
- "div",
950
- {
951
- className: O(
952
- "border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
953
- t === "light" && "border-border bg-muted",
954
- t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
955
- ),
956
- children: /* @__PURE__ */ s.jsx(Fr, { size: 16 })
957
- }
958
- ),
959
- /* @__PURE__ */ s.jsx(
960
- "div",
961
- {
962
- className: O(
963
- "border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
964
- t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
965
- t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
966
- ),
967
- children: /* @__PURE__ */ s.jsx(Qr, { size: 16 })
968
- }
969
- )
970
- ]
971
- }
972
- ) });
973
- };
974
- function me() {
975
- return me = Object.assign ? Object.assign.bind() : function(t) {
976
- for (var e = 1; e < arguments.length; e++) {
977
- var r = arguments[e];
978
- for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
979
- }
980
- return t;
981
- }, me.apply(null, arguments);
982
- }
983
- var ue = { exports: {} }, w = {};
984
- /** @license React v16.13.1
985
- * react-is.production.min.js
986
- *
987
- * Copyright (c) Facebook, Inc. and its affiliates.
988
- *
989
- * This source code is licensed under the MIT license found in the
990
- * LICENSE file in the root directory of this source tree.
991
- */
992
- var Ve;
993
- function Qs() {
994
- if (Ve) return w;
995
- Ve = 1;
996
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, v = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, E = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
997
- function x(c) {
998
- if (typeof c == "object" && c !== null) {
999
- var S = c.$$typeof;
1000
- switch (S) {
1001
- case e:
1002
- switch (c = c.type, c) {
1003
- case h:
1004
- case l:
1005
- case n:
1006
- case i:
1007
- case a:
1008
- case v:
1009
- return c;
1010
- default:
1011
- switch (c = c && c.$$typeof, c) {
1012
- case f:
1013
- case b:
1014
- case m:
1015
- case y:
1016
- case o:
1017
- return c;
1018
- default:
1019
- return S;
1020
- }
1021
- }
1022
- case r:
1023
- return S;
1024
- }
1025
- }
1026
- }
1027
- function j(c) {
1028
- return x(c) === l;
1029
- }
1030
- return w.AsyncMode = h, w.ConcurrentMode = l, w.ContextConsumer = f, w.ContextProvider = o, w.Element = e, w.ForwardRef = b, w.Fragment = n, w.Lazy = m, w.Memo = y, w.Portal = r, w.Profiler = i, w.StrictMode = a, w.Suspense = v, w.isAsyncMode = function(c) {
1031
- return j(c) || x(c) === h;
1032
- }, w.isConcurrentMode = j, w.isContextConsumer = function(c) {
1033
- return x(c) === f;
1034
- }, w.isContextProvider = function(c) {
1035
- return x(c) === o;
1036
- }, w.isElement = function(c) {
1037
- return typeof c == "object" && c !== null && c.$$typeof === e;
1038
- }, w.isForwardRef = function(c) {
1039
- return x(c) === b;
1040
- }, w.isFragment = function(c) {
1041
- return x(c) === n;
1042
- }, w.isLazy = function(c) {
1043
- return x(c) === m;
1044
- }, w.isMemo = function(c) {
1045
- return x(c) === y;
1046
- }, w.isPortal = function(c) {
1047
- return x(c) === r;
1048
- }, w.isProfiler = function(c) {
1049
- return x(c) === i;
1050
- }, w.isStrictMode = function(c) {
1051
- return x(c) === a;
1052
- }, w.isSuspense = function(c) {
1053
- return x(c) === v;
1054
- }, w.isValidElementType = function(c) {
1055
- return typeof c == "string" || typeof c == "function" || c === n || c === l || c === i || c === a || c === v || c === g || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === y || c.$$typeof === o || c.$$typeof === f || c.$$typeof === b || c.$$typeof === C || c.$$typeof === E || c.$$typeof === T || c.$$typeof === p);
1056
- }, w.typeOf = x, w;
1057
- }
1058
- var P = {};
1059
- /** @license React v16.13.1
1060
- * react-is.development.js
1061
- *
1062
- * Copyright (c) Facebook, Inc. and its affiliates.
1063
- *
1064
- * This source code is licensed under the MIT license found in the
1065
- * LICENSE file in the root directory of this source tree.
1066
- */
1067
- var We;
1068
- function zs() {
1069
- return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
1070
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, v = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, E = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
1071
- function x(u) {
1072
- return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1073
- u === n || u === l || u === i || u === a || u === v || u === g || typeof u == "object" && u !== null && (u.$$typeof === m || u.$$typeof === y || u.$$typeof === o || u.$$typeof === f || u.$$typeof === b || u.$$typeof === C || u.$$typeof === E || u.$$typeof === T || u.$$typeof === p);
1074
- }
1075
- function j(u) {
1076
- if (typeof u == "object" && u !== null) {
1077
- var ye = u.$$typeof;
1078
- switch (ye) {
1079
- case e:
1080
- var ie = u.type;
1081
- switch (ie) {
1082
- case h:
1083
- case l:
1084
- case n:
1085
- case i:
1086
- case a:
1087
- case v:
1088
- return ie;
1089
- default:
1090
- var Re = ie && ie.$$typeof;
1091
- switch (Re) {
1092
- case f:
1093
- case b:
1094
- case m:
1095
- case y:
1096
- case o:
1097
- return Re;
1098
- default:
1099
- return ye;
1100
- }
1101
- }
1102
- case r:
1103
- return ye;
1104
- }
1105
- }
1106
- }
1107
- var c = h, S = l, D = f, q = o, L = e, U = b, ve = n, X = m, zt = y, Lt = r, Bt = i, Ht = a, Kt = v, Ae = !1;
1108
- function Ut(u) {
1109
- return Ae || (Ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ke(u) || j(u) === h;
1110
- }
1111
- function ke(u) {
1112
- return j(u) === l;
1113
- }
1114
- function Yt(u) {
1115
- return j(u) === f;
1116
- }
1117
- function Zt(u) {
1118
- return j(u) === o;
1119
- }
1120
- function Vt(u) {
1121
- return typeof u == "object" && u !== null && u.$$typeof === e;
1122
- }
1123
- function Wt(u) {
1124
- return j(u) === b;
1125
- }
1126
- function Gt(u) {
1127
- return j(u) === n;
1128
- }
1129
- function Xt(u) {
1130
- return j(u) === m;
1131
- }
1132
- function Jt(u) {
1133
- return j(u) === y;
1134
- }
1135
- function er(u) {
1136
- return j(u) === r;
1137
- }
1138
- function tr(u) {
1139
- return j(u) === i;
1140
- }
1141
- function rr(u) {
1142
- return j(u) === a;
1143
- }
1144
- function sr(u) {
1145
- return j(u) === v;
1146
- }
1147
- P.AsyncMode = c, P.ConcurrentMode = S, P.ContextConsumer = D, P.ContextProvider = q, P.Element = L, P.ForwardRef = U, P.Fragment = ve, P.Lazy = X, P.Memo = zt, P.Portal = Lt, P.Profiler = Bt, P.StrictMode = Ht, P.Suspense = Kt, P.isAsyncMode = Ut, P.isConcurrentMode = ke, P.isContextConsumer = Yt, P.isContextProvider = Zt, P.isElement = Vt, P.isForwardRef = Wt, P.isFragment = Gt, P.isLazy = Xt, P.isMemo = Jt, P.isPortal = er, P.isProfiler = tr, P.isStrictMode = rr, P.isSuspense = sr, P.isValidElementType = x, P.typeOf = j;
1148
- }()), P;
1149
- }
1150
- var Ge;
1151
- function Ls() {
1152
- return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? ue.exports = Qs() : ue.exports = zs()), ue.exports;
1153
- }
1154
- var we, Xe;
1155
- function Bs() {
1156
- if (Xe) return we;
1157
- Xe = 1;
1158
- var t = Ls(), e = {
1159
- childContextTypes: !0,
1160
- contextType: !0,
1161
- contextTypes: !0,
1162
- defaultProps: !0,
1163
- displayName: !0,
1164
- getDefaultProps: !0,
1165
- getDerivedStateFromError: !0,
1166
- getDerivedStateFromProps: !0,
1167
- mixins: !0,
1168
- propTypes: !0,
1169
- type: !0
1170
- }, r = {
1171
- name: !0,
1172
- length: !0,
1173
- prototype: !0,
1174
- caller: !0,
1175
- callee: !0,
1176
- arguments: !0,
1177
- arity: !0
1178
- }, n = {
1179
- $$typeof: !0,
1180
- render: !0,
1181
- defaultProps: !0,
1182
- displayName: !0,
1183
- propTypes: !0
1184
- }, a = {
1185
- $$typeof: !0,
1186
- compare: !0,
1187
- defaultProps: !0,
1188
- displayName: !0,
1189
- propTypes: !0,
1190
- type: !0
1191
- }, i = {};
1192
- i[t.ForwardRef] = n, i[t.Memo] = a;
1193
- function o(m) {
1194
- return t.isMemo(m) ? a : i[m.$$typeof] || e;
1195
- }
1196
- var f = Object.defineProperty, h = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, b = Object.getOwnPropertyDescriptor, v = Object.getPrototypeOf, g = Object.prototype;
1197
- function y(m, p, C) {
1198
- if (typeof p != "string") {
1199
- if (g) {
1200
- var E = v(p);
1201
- E && E !== g && y(m, E, C);
1202
- }
1203
- var T = h(p);
1204
- l && (T = T.concat(l(p)));
1205
- for (var x = o(m), j = o(p), c = 0; c < T.length; ++c) {
1206
- var S = T[c];
1207
- if (!r[S] && !(C && C[S]) && !(j && j[S]) && !(x && x[S])) {
1208
- var D = b(p, S);
1209
- try {
1210
- f(m, S, D);
1211
- } catch {
1212
- }
1213
- }
1214
- }
1215
- }
1216
- return m;
1217
- }
1218
- return we = y, we;
1219
- }
1220
- Bs();
1221
- var Mt = function(e, r, n) {
1222
- return e = e <= n ? e : n, e = e >= r ? e : r, e;
1223
- }, Hs = function() {
1224
- var e = !1, r = [], n = function() {
1225
- e = !0;
1226
- var f = r.shift();
1227
- if (f)
1228
- return f(n);
1229
- e = !1;
1230
- }, a = function() {
1231
- e = !1, r = [];
1232
- }, i = function(f) {
1233
- r.push(f), !e && r.length === 1 && n();
1234
- };
1235
- return {
1236
- clear: a,
1237
- enqueue: i
1238
- };
1239
- }, Ks = function() {
1240
- var e, r = function() {
1241
- e && window.cancelAnimationFrame(e);
1242
- }, n = function(i, o) {
1243
- var f, h, l = function(v) {
1244
- if (h = h || v, f = v - h, f > o) {
1245
- i();
1246
- return;
1247
- }
1248
- e = window.requestAnimationFrame(l);
1249
- };
1250
- e = window.requestAnimationFrame(l);
1251
- };
1252
- return {
1253
- cancel: r,
1254
- schedule: n
1255
- };
1256
- }, Us = function(e) {
1257
- var r = 0;
1258
- return e >= 0 && e < 0.2 ? r = 0.1 : e >= 0.2 && e < 0.5 ? r = 0.04 : e >= 0.5 && e < 0.8 ? r = 0.02 : e >= 0.8 && e < 0.99 && (r = 5e-3), Mt(e + r, 0, 0.994);
1259
- }, Je = function(e) {
1260
- Q(e, []);
1261
- }, Ys = function(e) {
1262
- return ++e % 1e6;
1263
- }, Zs = function() {
1264
- var e = J(0), r = e[1];
1265
- return W(function() {
1266
- return r(Ys);
1267
- }, []);
1268
- }, Vs = function(e) {
1269
- e === void 0 && (e = {});
1270
- var r = Zs(), n = G(me({}, e)), a = W(function() {
1271
- return n.current;
1272
- }, []), i = W(function(o) {
1273
- o && (Object.assign(n.current, o), r());
1274
- }, []);
1275
- return [a, i];
1276
- }, Ws = function() {
1277
- var e = G(!0);
1278
- return e.current ? (e.current = !1, !0) : e.current;
1279
- }, et = function(e, r) {
1280
- var n = Ws();
1281
- Q(function() {
1282
- if (!n)
1283
- return e();
1284
- }, r);
1285
- }, Ot = function() {
1286
- }, tt = {
1287
- isFinished: !0,
1288
- progress: 0,
1289
- sideEffect: Ot
1290
- }, Gs = function(e) {
1291
- var r = e === void 0 ? {} : e, n = r.animationDuration, a = n === void 0 ? 200 : n, i = r.incrementDuration, o = i === void 0 ? 800 : i, f = r.isAnimating, h = f === void 0 ? !1 : f, l = r.minimum, b = l === void 0 ? 0.08 : l, v = Vs(tt), g = v[0], y = v[1], m = G(null), p = G(null);
1292
- Je(function() {
1293
- m.current = Hs(), p.current = Ks();
1294
- });
1295
- var C = W(function() {
1296
- var S, D;
1297
- (S = p.current) == null || S.cancel(), (D = m.current) == null || D.clear();
1298
- }, []), E = W(function(S) {
1299
- var D;
1300
- if (S = Mt(S, b, 1), S === 1) {
1301
- var q, L;
1302
- C(), (q = m.current) == null || q.enqueue(function(U) {
1303
- y({
1304
- progress: S,
1305
- sideEffect: function() {
1306
- var X;
1307
- return (X = p.current) == null ? void 0 : X.schedule(U, a);
1308
- }
1309
- });
1310
- }), (L = m.current) == null || L.enqueue(function() {
1311
- y({
1312
- isFinished: !0,
1313
- sideEffect: C
1314
- });
1315
- });
1316
- return;
1317
- }
1318
- (D = m.current) == null || D.enqueue(function(U) {
1319
- y({
1320
- isFinished: !1,
1321
- progress: S,
1322
- sideEffect: function() {
1323
- var X;
1324
- return (X = p.current) == null ? void 0 : X.schedule(U, a);
1325
- }
1326
- });
1327
- });
1328
- }, [a, C, b, m, y, p]), T = W(function() {
1329
- E(Us(g().progress));
1330
- }, [g, E]), x = W(function() {
1331
- var S = function() {
1332
- var q;
1333
- T(), (q = m.current) == null || q.enqueue(function(L) {
1334
- var U;
1335
- (U = p.current) == null || U.schedule(function() {
1336
- S(), L();
1337
- }, o);
1338
- });
1339
- };
1340
- S();
1341
- }, [o, m, p, T]), j = G(Ot), c = g().sideEffect;
1342
- return Q(function() {
1343
- j.current = T;
1344
- }), Je(function() {
1345
- return h && x(), C;
1346
- }), et(function() {
1347
- g().sideEffect();
1348
- }, [g, c]), et(function() {
1349
- h ? y(me({}, tt, {
1350
- sideEffect: x
1351
- })) : E(1);
1352
- }, [h, E, y, x]), {
1353
- animationDuration: a,
1354
- isFinished: g().isFinished,
1355
- progress: g().progress
1356
- };
1357
- };
1358
- const At = (t) => (e) => e.display === "hide" ? !1 : e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", kt = () => {
1359
- const e = ge().state === "loading", [r, n] = J(!1);
1360
- Q(() => {
1361
- const o = setTimeout(() => n(e), 100);
1362
- return () => clearTimeout(o);
1363
- }, [e]);
1364
- const { isFinished: a, progress: i } = Gs({ isAnimating: r });
1365
- return /* @__PURE__ */ s.jsx(
1366
- "div",
1367
- {
1368
- className: "absolute w-0 left-0 right-0 bottom-[-1px] h-[2px] bg-primary transition-all duration-300 ease-in-out",
1369
- style: {
1370
- opacity: a ? 0 : 1,
1371
- width: a ? 0 : `${i * 100}%`
1372
- }
1373
- }
1374
- );
1375
- }, Xs = () => {
1376
- const { topNavigation: t } = F(), { isAuthenticated: e } = ae(), r = t.filter(At(e));
1377
- return r.length === 0 ? /* @__PURE__ */ s.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ s.jsxs(Oe, { children: [
1378
- /* @__PURE__ */ s.jsxs("div", { className: "items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm relative", children: [
1379
- /* @__PURE__ */ s.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: r.map((n) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Rt, { ...n }) }, n.id)) }) }),
1380
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-side" })
1381
- ] }),
1382
- /* @__PURE__ */ s.jsx(kt, {})
1383
- ] });
1384
- }, Rt = ({
1385
- id: t,
1386
- label: e,
1387
- default: r
1388
- }) => {
1389
- var l;
1390
- const { sidebars: n } = F(), a = n[t], i = mt(), o = !!ge().location, f = ((l = i.topNavItem) == null ? void 0 : l.id) === t && !o, h = r ?? (a ? yr(a, (b) => {
1391
- if (b.type === "doc") return ee(b.id);
1392
- }) : ee(t)) ?? ee(t);
1393
- return (
1394
- // We don't use isActive here because it has to be inside the sidebar,
1395
- // the top nav id doesn't necessarily start with the sidebar id
1396
- /* @__PURE__ */ s.jsx(
1397
- ur,
1398
- {
1399
- className: ({ isPending: b }) => vs(
1400
- "block lg:py-3.5 font-medium -mb-px",
1401
- f || b ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1402
- ),
1403
- to: h,
1404
- children: e
1405
- }
1406
- )
1407
- );
1408
- }, Js = () => {
1409
- var i;
1410
- const { topNavigation: t, options: e } = F(), { isAuthenticated: r } = ae(), [n, a] = J(!1);
1411
- return /* @__PURE__ */ s.jsxs(
1412
- gs,
1413
- {
1414
- direction: "right",
1415
- open: n,
1416
- onOpenChange: (o) => a(o),
1417
- children: [
1418
- /* @__PURE__ */ s.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
1419
- /* @__PURE__ */ s.jsx(xs, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(zr, { size: 22 }) }),
1420
- /* @__PURE__ */ s.jsx(kt, {})
1421
- ] }),
1422
- /* @__PURE__ */ s.jsx(
1423
- jt,
1424
- {
1425
- className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
1426
- "aria-describedby": void 0,
1427
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
1428
- /* @__PURE__ */ s.jsxs("div", { children: [
1429
- /* @__PURE__ */ s.jsx(bt, { children: /* @__PURE__ */ s.jsx(wt, { children: "Navigation" }) }),
1430
- /* @__PURE__ */ s.jsx(Et, { className: "flex p-4" }),
1431
- /* @__PURE__ */ s.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
1432
- /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Tt, {}) }),
1433
- t.filter(At(r)).map((o) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { type: "button", onClick: () => a(!1), children: /* @__PURE__ */ s.jsx(Rt, { ...o }) }) }, o.label))
1434
- ] })
1435
- ] }),
1436
- ((i = e.page) == null ? void 0 : i.showPoweredBy) !== !1 && /* @__PURE__ */ s.jsx(Nt, { className: "flex-grow-0 justify-center gap-1" })
1437
- ] })
1438
- }
1439
- )
1440
- ]
1441
- }
1442
- );
1443
- }, fe = ({ item: t }) => t.children ? /* @__PURE__ */ s.jsxs(ds, { children: [
1444
- /* @__PURE__ */ s.jsx(fs, { children: t.label }),
1445
- /* @__PURE__ */ s.jsx(hs, { children: /* @__PURE__ */ s.jsx(ms, { children: t.children.map((e, r) => (
1446
- // eslint-disable-next-line react/no-array-index-key
1447
- /* @__PURE__ */ s.jsx(fe, { item: e }, r)
1448
- )) }) })
1449
- ] }, t.label) : /* @__PURE__ */ s.jsx(Te, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(ps, { className: "flex gap-2", children: [
1450
- t.icon && /* @__PURE__ */ s.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
1451
- t.label
1452
- ] }, t.label) }), _t = vt(function() {
1453
- const e = ae(), { isAuthenticated: r, profile: n, isAuthEnabled: a } = ae(), i = F(), { page: o, plugins: f } = i, h = f.filter((l) => Jr(l)).flatMap((l) => l.getProfileMenuItems(i)).sort((l) => l.weight ?? 0);
1454
- return /* @__PURE__ */ s.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
1455
- /* @__PURE__ */ s.jsx($s, {}),
1456
- /* @__PURE__ */ s.jsx("div", { className: "border-b", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height] border-transparent", children: [
1457
- /* @__PURE__ */ s.jsx("div", { className: "flex", children: /* @__PURE__ */ s.jsx(Te, { to: "/", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3.5", children: [
1458
- (o == null ? void 0 : o.logo) && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1459
- /* @__PURE__ */ s.jsx(
1460
- "img",
1461
- {
1462
- src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : ee(
1463
- "/",
1464
- o.logo.src.light
1465
- ),
1466
- alt: o.logo.alt ?? o.pageTitle,
1467
- style: { width: o.logo.width },
1468
- className: "h-10 dark:hidden",
1469
- loading: "lazy"
1470
- }
1471
- ),
1472
- /* @__PURE__ */ s.jsx(
1473
- "img",
1474
- {
1475
- src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : ee(
1476
- "/",
1477
- o.logo.src.dark
1478
- ),
1479
- alt: o.logo.alt ?? o.pageTitle,
1480
- style: { width: o.logo.width },
1481
- className: "h-10 hidden dark:block",
1482
- loading: "lazy"
1483
- }
1484
- )
1485
- ] }),
1486
- /* @__PURE__ */ s.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
1487
- ] }) }) }),
1488
- /* @__PURE__ */ s.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ s.jsx(Et, { className: "pointer-events-auto" }) }),
1489
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-8", children: [
1490
- /* @__PURE__ */ s.jsx(Js, {}),
1491
- /* @__PURE__ */ s.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
1492
- /* @__PURE__ */ s.jsx(_, { name: "head-navigation-start" }),
1493
- a && /* @__PURE__ */ s.jsx(
1494
- xe,
1495
- {
1496
- fallback: /* @__PURE__ */ s.jsx(qs, { className: "rounded h-5 w-24 mr-4" }),
1497
- children: r ? Object.values(h).length > 0 && /* @__PURE__ */ s.jsxs(is, { modal: !1, children: [
1498
- /* @__PURE__ */ s.jsx(cs, { asChild: !0, children: /* @__PURE__ */ s.jsx(Se, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
1499
- /* @__PURE__ */ s.jsxs(ls, { className: "w-56", children: [
1500
- /* @__PURE__ */ s.jsxs(us, { children: [
1501
- n != null && n.name ? `${n.name}` : "My Account",
1502
- (n == null ? void 0 : n.email) && /* @__PURE__ */ s.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
1503
- ] }),
1504
- h.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ s.jsx(je, {}),
1505
- h.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label)),
1506
- h.filter(
1507
- (l) => !l.category || l.category === "middle"
1508
- ).length > 0 && /* @__PURE__ */ s.jsx(je, {}),
1509
- h.filter(
1510
- (l) => !l.category || l.category === "middle"
1511
- ).map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label)),
1512
- h.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ s.jsx(je, {}),
1513
- h.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label))
1514
- ] })
1515
- ] }) : /* @__PURE__ */ s.jsx(Se, { variant: "ghost", onClick: () => e.login(), children: "Login" })
1516
- }
1517
- ),
1518
- /* @__PURE__ */ s.jsx(_, { name: "head-navigation-end" }),
1519
- /* @__PURE__ */ s.jsx(Tt, {})
1520
- ] })
1521
- ] })
1522
- ] }) }),
1523
- /* @__PURE__ */ s.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto border-transparent", children: [
1524
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-before" }),
1525
- /* @__PURE__ */ s.jsx(Xs, {}),
1526
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-after" })
1527
- ] }) })
1528
- ] });
1529
- }), Dt = ({
1530
- shouldScaleBackground: t = !0,
1531
- ...e
1532
- }) => /* @__PURE__ */ s.jsx(
1533
- z.Root,
1534
- {
1535
- shouldScaleBackground: t,
1536
- ...e
1537
- }
1538
- );
1539
- Dt.displayName = "Drawer";
1540
- const en = z.Trigger, tn = z.Portal, qt = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1541
- z.Overlay,
1542
- {
1543
- ref: r,
1544
- className: O("fixed inset-0 z-50 bg-black/80", t),
1545
- ...e
1546
- }
1547
- ));
1548
- qt.displayName = z.Overlay.displayName;
1549
- const rn = K.forwardRef(
1550
- ({ className: t, children: e, hideBar: r = !0, ...n }, a) => /* @__PURE__ */ s.jsxs(tn, { children: [
1551
- /* @__PURE__ */ s.jsx(qt, {}),
1552
- /* @__PURE__ */ s.jsxs(
1553
- z.Content,
1554
- {
1555
- ref: a,
1556
- className: O(
1557
- "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
1558
- t
1559
- ),
1560
- ...n,
1561
- children: [
1562
- !r && /* @__PURE__ */ s.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
1563
- e
1564
- ]
1565
- }
1566
- )
1567
- ] })
1568
- );
1569
- rn.displayName = "DrawerContent";
1570
- const sn = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1571
- z.Title,
1572
- {
1573
- ref: r,
1574
- className: O(
1575
- "text-lg font-semibold leading-none tracking-tight",
1576
- t
1577
- ),
1578
- ...e
1579
- }
1580
- ));
1581
- sn.displayName = z.Title.displayName;
1582
- const nn = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1583
- z.Description,
1584
- {
1585
- ref: r,
1586
- className: O("text-sm text-muted-foreground", t),
1587
- ...e
1588
- }
1589
- ));
1590
- nn.displayName = z.Description.displayName;
1591
- const $t = ({
1592
- children: t,
1593
- className: e
1594
- }) => {
1595
- var a;
1596
- const { options: r } = F(), n = G(null);
1597
- return Q(() => {
1598
- var o;
1599
- const i = (o = n.current) == null ? void 0 : o.querySelector('[aria-current="page"]');
1600
- Hr(i ?? null);
1601
- }, []), /* @__PURE__ */ s.jsxs("div", { className: "grid sticky top-[--header-height] lg:h-[calc(100vh-var(--header-height))] grid-rows-[1fr_min-content] border-r", children: [
1602
- /* @__PURE__ */ s.jsx(
1603
- "nav",
1604
- {
1605
- ref: n,
1606
- className: O(
1607
- "hidden max-w-[calc(var(--side-nav-width)+var(--padding-nav-item))] lg:flex scrollbar flex-col overflow-y-auto shrink-0 text-sm pe-3 ps-4 lg:ps-8",
1608
- "-mx-[--padding-nav-item] pb-[8vh] pt-[--padding-content-top] scroll-pt-2 gap-1",
1609
- // Revert the padding/margin on the first child
1610
- "-mt-2.5",
1611
- e
1612
- ),
1613
- style: {
1614
- maskImage: "linear-gradient(180deg, transparent 1%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) 90%, transparent 99%)"
1615
- },
1616
- children: t
1617
- }
1618
- ),
1619
- /* @__PURE__ */ s.jsx("div", { className: "bg-background border-t p-2 mx-5 gap-2 items-center mt-2 drop-shadow-[0_-3px_1px_rgba(0,0,0,0.015)] hidden lg:[&:has(>_:nth-child(1):last-child)]:flex", children: ((a = r.page) == null ? void 0 : a.showPoweredBy) !== !1 && /* @__PURE__ */ s.jsx(Nt, {}) })
1620
- ] });
1621
- };
1622
- $t.displayName = "SidebarWrapper";
1623
- const an = ({
1624
- onRequestClose: t,
1625
- sidebar: e
1626
- }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1627
- /* @__PURE__ */ s.jsxs($t, { children: [
1628
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-before-navigation" }),
1629
- e.map((r) => /* @__PURE__ */ s.jsx(
1630
- Be,
1631
- {
1632
- item: r
1633
- },
1634
- ("id" in r ? r.id : "") + ("href" in r ? r.href : "") + r.label
1635
- )),
1636
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-after-navigation" })
1637
- ] }),
1638
- /* @__PURE__ */ s.jsx(
1639
- jt,
1640
- {
1641
- className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
1642
- "aria-describedby": void 0,
1643
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
1644
- /* @__PURE__ */ s.jsx(bt, { children: /* @__PURE__ */ s.jsx(wt, { children: "Sidebar" }) }),
1645
- e.map((r) => /* @__PURE__ */ s.jsx(
1646
- Be,
1647
- {
1648
- item: r,
1649
- onRequestClose: t
1650
- },
1651
- r.label
1652
- ))
1653
- ] })
1654
- }
1655
- )
1656
- ] }), on = ({ children: t }) => {
1657
- const [e, r] = J(!1), { sidebar: n } = mt(), a = n.length > 0, i = ge().state === "loading";
1658
- return /* @__PURE__ */ s.jsxs(
1659
- Dt,
1660
- {
1661
- direction: "left",
1662
- open: e,
1663
- onOpenChange: (o) => r(o),
1664
- children: [
1665
- a && /* @__PURE__ */ s.jsx(
1666
- an,
1667
- {
1668
- onRequestClose: () => r(!1),
1669
- sidebar: n
1670
- }
1671
- ),
1672
- a && /* @__PURE__ */ s.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ s.jsxs(en, { className: "flex items-center gap-2 px-4", children: [
1673
- /* @__PURE__ */ s.jsx(Lr, { size: 16, strokeWidth: 1.5 }),
1674
- /* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Menu" })
1675
- ] }) }),
1676
- /* @__PURE__ */ s.jsxs(
1677
- "main",
1678
- {
1679
- "data-pagefind-body": !0,
1680
- className: O(
1681
- "px-4 lg:pe-8 lg:px-8",
1682
- !a && "col-span-full",
1683
- i && "animate-pulse"
1684
- ),
1685
- children: [
1686
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-before-content" }),
1687
- t,
1688
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-after-content" })
1689
- ]
1690
- }
1691
- )
1692
- ]
1693
- }
1694
- );
1695
- }, cn = () => /* @__PURE__ */ s.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ s.jsx(yt, {}) }), ln = ({ children: t }) => {
1696
- const { meta: e, authentication: r, options: n } = F(), a = pe();
1697
- return Kr(), ks(), Q(() => {
1698
- var i;
1699
- (i = r == null ? void 0 : r.onPageLoad) == null || i.call(r);
1700
- }, [r]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1701
- !1,
1702
- /* @__PURE__ */ s.jsxs(Ee, { titleTemplate: e == null ? void 0 : e.title, children: [
1703
- n.canonicalUrlOrigin && /* @__PURE__ */ s.jsx(
1704
- "link",
1705
- {
1706
- rel: "canonical",
1707
- href: ee(
1708
- n.canonicalUrlOrigin,
1709
- n.basePath,
1710
- a.pathname
1711
- )
1712
- }
1713
- ),
1714
- (e == null ? void 0 : e.description) && /* @__PURE__ */ s.jsx("meta", { name: "description", content: e.description }),
1715
- (e == null ? void 0 : e.favicon) && /* @__PURE__ */ s.jsx("link", { rel: "icon", href: e.favicon })
1716
- ] }),
1717
- /* @__PURE__ */ s.jsx(_, { name: "layout-before-head" }),
1718
- /* @__PURE__ */ s.jsx(_t, {}),
1719
- /* @__PURE__ */ s.jsx(_, { name: "layout-after-head" }),
1720
- /* @__PURE__ */ s.jsx(
1721
- "div",
1722
- {
1723
- className: O(
1724
- "grid max-w-screen-2xl w-full lg:mx-auto",
1725
- "has-[:only-child]:grid-rows-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr]",
1726
- "grid-cols-1 lg:grid-cols-[var(--side-nav-width)_1fr]"
1727
- ),
1728
- children: /* @__PURE__ */ s.jsx(Oe, { fallback: /* @__PURE__ */ s.jsx(cn, {}), children: /* @__PURE__ */ s.jsx(on, { children: t ?? /* @__PURE__ */ s.jsx(lt, {}) }) })
1729
- }
1730
- ),
1731
- /* @__PURE__ */ s.jsx(Ds, {})
1732
- ] });
1733
- }, un = ({
1734
- title: t = "An error occurred",
1735
- message: e,
1736
- category: r
1737
- }) => /* @__PURE__ */ s.jsxs("div", { className: Yr + " h-full pt-[--padding-content-top]", children: [
1738
- r && /* @__PURE__ */ s.jsx(Gr, { children: r }),
1739
- t && /* @__PURE__ */ s.jsx(Ur, { level: 1, className: "flex gap-3.5 items-center", children: t }),
1740
- /* @__PURE__ */ s.jsx("p", { children: e })
1741
- ] }), dn = (t) => {
1742
- switch (t) {
1743
- case 400:
1744
- return {
1745
- title: "Bad Request",
1746
- message: "The request could not be understood by the server due to malformed syntax."
1747
- };
1748
- case 403:
1749
- return {
1750
- title: "Forbidden",
1751
- message: "You don't have permission to access this resource."
1752
- };
1753
- case 404:
1754
- return {
1755
- title: "Not Found",
1756
- message: "The requested resource could not be found."
1757
- };
1758
- case 405:
1759
- return {
1760
- title: "Method Not Allowed",
1761
- message: "The request method is not supported for the requested resource."
1762
- };
1763
- case 414:
1764
- return {
1765
- title: "Request URI Too Large",
1766
- message: "The request URI is too large."
1767
- };
1768
- case 416:
1769
- return {
1770
- title: "Range Not Satisfiable",
1771
- message: "The server cannot satisfy the request range."
1772
- };
1773
- case 500:
1774
- return {
1775
- title: "Internal Server Error",
1776
- message: "An unexpected error occurred while processing your request."
1777
- };
1778
- case 501:
1779
- return {
1780
- title: "Not Implemented",
1781
- message: "The server does not support the functionality required to fulfill the request."
1782
- };
1783
- case 502:
1784
- return {
1785
- title: "Bad Gateway",
1786
- message: "The server received an invalid response from the upstream server."
1787
- };
1788
- case 503:
1789
- return {
1790
- title: "Service Unavailable",
1791
- message: "The server is temporarily unable to handle the request."
1792
- };
1793
- case 504:
1794
- return {
1795
- title: "Gateway Timeout",
1796
- message: "The server did not receive a timely response from the upstream server."
1797
- };
1798
- default:
1799
- return {
1800
- title: "An error occurred",
1801
- message: "Something went wrong while processing your request."
1802
- };
1803
- }
1804
- }, fn = ({ statusCode: t, message: e }) => {
1805
- const r = dn(t);
1806
- return /* @__PURE__ */ s.jsx(
1807
- un,
1808
- {
1809
- title: r.title,
1810
- message: e ?? r.message,
1811
- category: t
1812
- }
1813
- );
1814
- }, hn = Me(null), Pe = {
1815
- didCatch: !1,
1816
- error: null
1817
- };
1818
- class mn extends Or {
1819
- constructor(e) {
1820
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Pe;
1821
- }
1822
- static getDerivedStateFromError(e) {
1823
- return {
1824
- didCatch: !0,
1825
- error: e
1826
- };
1827
- }
1828
- resetErrorBoundary() {
1829
- const {
1830
- error: e
1831
- } = this.state;
1832
- if (e !== null) {
1833
- for (var r, n, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
1834
- i[o] = arguments[o];
1835
- (r = (n = this.props).onReset) === null || r === void 0 || r.call(n, {
1836
- args: i,
1837
- reason: "imperative-api"
1838
- }), this.setState(Pe);
1839
- }
1840
- }
1841
- componentDidCatch(e, r) {
1842
- var n, a;
1843
- (n = (a = this.props).onError) === null || n === void 0 || n.call(a, e, r);
1844
- }
1845
- componentDidUpdate(e, r) {
1846
- const {
1847
- didCatch: n
1848
- } = this.state, {
1849
- resetKeys: a
1850
- } = this.props;
1851
- if (n && r.error !== null && pn(e.resetKeys, a)) {
1852
- var i, o;
1853
- (i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
1854
- next: a,
1855
- prev: e.resetKeys,
1856
- reason: "keys"
1857
- }), this.setState(Pe);
1858
- }
1859
- }
1860
- render() {
1861
- const {
1862
- children: e,
1863
- fallbackRender: r,
1864
- FallbackComponent: n,
1865
- fallback: a
1866
- } = this.props, {
1867
- didCatch: i,
1868
- error: o
1869
- } = this.state;
1870
- let f = e;
1871
- if (i) {
1872
- const h = {
1873
- error: o,
1874
- resetErrorBoundary: this.resetErrorBoundary
1875
- };
1876
- if (typeof r == "function")
1877
- f = r(h);
1878
- else if (n)
1879
- f = Le(n, h);
1880
- else if (a !== void 0)
1881
- f = a;
1882
- else
1883
- throw o;
1884
- }
1885
- return Le(hn.Provider, {
1886
- value: {
1887
- didCatch: i,
1888
- error: o,
1889
- resetErrorBoundary: this.resetErrorBoundary
1890
- }
1891
- }, f);
1892
- }
1893
- }
1894
- function pn() {
1895
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1896
- return t.length !== e.length || t.some((r, n) => !Object.is(r, e[n]));
1897
- }
1898
- let gn = () => ({
1899
- emit(t, ...e) {
1900
- for (let r = this.events[t] || [], n = 0, a = r.length; n < a; n++)
1901
- r[n](...e);
1902
- },
1903
- events: {},
1904
- on(t, e) {
1905
- var r;
1906
- return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
1907
- var n;
1908
- this.events[t] = (n = this.events[t]) == null ? void 0 : n.filter((a) => e !== a);
1909
- };
1910
- }
1911
- });
1912
- class xn {
1913
- constructor(e, r) {
1914
- A(this, "plugins");
1915
- A(this, "sidebars");
1916
- A(this, "topNavigation");
1917
- A(this, "meta");
1918
- A(this, "page");
1919
- A(this, "authentication");
1920
- A(this, "navigationPlugins");
1921
- A(this, "emitter", gn());
1922
- A(this, "initialize", async () => {
1923
- await Promise.all(
1924
- this.plugins.filter(rs).map((e) => {
1925
- var r;
1926
- return (r = e.initialize) == null ? void 0 : r.call(e, this);
1927
- })
1928
- );
1929
- });
1930
- A(this, "getApiIdentities", async () => (await Promise.all(
1931
- this.plugins.filter(ss).map((r) => r.getIdentities(this))
1932
- )).flat());
1933
- A(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
1934
- A(this, "getPluginSidebar", async (e) => (await Promise.all(
1935
- this.navigationPlugins.map(
1936
- (n) => {
1937
- var a;
1938
- return (a = n.getSidebar) == null ? void 0 : a.call(n, jr(e), this);
1939
- }
1940
- )
1941
- )).flatMap((n) => n ?? []));
1942
- A(this, "signRequest", async (e) => {
1943
- if (!this.authentication)
1944
- throw new Error("No authentication provider configured");
1945
- return await this.authentication.signRequest(e);
1946
- });
1947
- this.options = e, this.queryClient = r, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(es), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((n) => {
1948
- ts(n) && os(n.events).forEach(([a, i]) => {
1949
- this.emitter.on(a, i);
1950
- });
1951
- }), br.subscribe((n, a) => {
1952
- this.emitEvent("auth", {
1953
- prev: a,
1954
- next: n
1955
- });
1956
- });
1957
- }
1958
- addEventListener(e, r) {
1959
- return this.emitter.on(e, r);
1960
- }
1961
- }
1962
- function vn({ error: t, resetErrorBoundary: e }) {
1963
- return /* @__PURE__ */ s.jsx(pt, { error: t });
1964
- }
1965
- const de = globalThis;
1966
- (!de.requestIdleCallback || !de.cancelIdleCallback) && (de.requestIdleCallback = (t) => setTimeout(t, 1), de.cancelIdleCallback = clearTimeout);
1967
- const It = {
1968
- Header: _t
1969
- }, yn = Me(It), bn = yn.Provider, jn = () => {
1970
- const t = pe(), e = F(), r = G(void 0);
1971
- return Q(() => {
1972
- e.emitEvent("location", {
1973
- from: r.current,
1974
- to: t
1975
- }), r.current = t;
1976
- }, [e, t]), null;
1977
- }, wn = ({
1978
- children: t,
1979
- context: e
1980
- }) => (wr({
1981
- queryFn: async () => (await e.initialize(), !0),
1982
- queryKey: ["zudoku-initialize"]
1983
- }), /* @__PURE__ */ s.jsx(Pr.Provider, { value: e, children: t }));
1984
- let rt;
1985
- const Ft = vt(
1986
- ({ children: t, ...e }) => {
1987
- var g, y;
1988
- const r = be(
1989
- () => ({ ...It, ...e.overrides }),
1990
- [e.overrides]
1991
- ), n = pe(), a = be(() => {
1992
- var p;
1993
- return {
1994
- ...(e.plugins ?? []).filter(ns).flatMap(
1995
- (C) => C.getMdxComponents ? [C.getMdxComponents()] : []
1996
- ).reduce(
1997
- (C, E) => ({ ...C, ...E }),
1998
- {}
1999
- ),
2000
- ...Zr,
2001
- ...(p = e.mdx) == null ? void 0 : p.components
2002
- };
2003
- }, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: i } = Ar(Ne), [o, f] = J(!1), h = be(
2004
- () => o ? { stagger: !0 } : { stagger: i },
2005
- [i, o]
2006
- ), l = ge(), b = ft();
2007
- Q(() => {
2008
- o || f(!0);
2009
- }, [o, l.location]), rt ?? (rt = new xn(e, b));
2010
- const v = (y = e.plugins) == null ? void 0 : y.flatMap(
2011
- (m) => {
2012
- var p;
2013
- return as(m) ? ((p = m.getHead) == null ? void 0 : p.call(m, { location: n })) ?? [] : [];
2014
- }
2015
- ).map((m, p) => /* @__PURE__ */ s.jsx(Ee, { children: m }, p));
2016
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2017
- v,
2018
- /* @__PURE__ */ s.jsx(Ne.Provider, { value: h, children: /* @__PURE__ */ s.jsxs(wn, { context: rt, children: [
2019
- /* @__PURE__ */ s.jsx(jn, {}),
2020
- /* @__PURE__ */ s.jsx(ys, { components: a, children: /* @__PURE__ */ s.jsx(ir, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ s.jsx(bn, { value: r, children: /* @__PURE__ */ s.jsx(Nr, { slotlets: e.slotlets, children: /* @__PURE__ */ s.jsx(Vr, { children: t ?? /* @__PURE__ */ s.jsx(lt, {}) }) }) }) }) })
2021
- ] }) })
2022
- ] });
2023
- }
2024
- );
2025
- Ft.displayName = "ZudokoInner";
2026
- const Qt = (t) => /* @__PURE__ */ s.jsx(mn, { FallbackComponent: vn, children: /* @__PURE__ */ s.jsx(Ft, { ...t }) });
2027
- Qt.displayName = "Zudoku";
2028
- const Zn = St, Vn = ln, Wn = Er, Gn = Ns, Xn = Ms, Jn = Os, ea = or, ta = Ee, Pn = F, ra = ae, sa = Sr, na = Cr, aa = Qt, oa = fn, ia = Tr, ca = Wr, la = yt, ua = xe, da = gt, fa = Te, ha = ct, ma = As;
2029
- export {
2030
- da as B,
2031
- na as C,
2032
- ta as H,
2033
- fa as L,
2034
- ca as M,
2035
- Wn as R,
2036
- Gn as S,
2037
- aa as Z,
2038
- ra as a,
2039
- Pn as b,
2040
- Zn as c,
2041
- Vn as d,
2042
- Xn as e,
2043
- Jn as f,
2044
- ea as g,
2045
- sa as h,
2046
- oa as i,
2047
- ia as j,
2048
- la as k,
2049
- ua as l,
2050
- ha as m,
2051
- ma as n,
2052
- St as u
2053
- };
2054
- //# sourceMappingURL=index-BPmAnNGI.js.map