zudoku 0.3.0-dev.50 → 0.3.0-dev.51

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.
@@ -14,17 +14,16 @@ var L = (t, e, r, a) => ({
14
14
  }
15
15
  });
16
16
  import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as W, e as F, f as tt, C as rt, L as at } from "./Markdown-Dbzrtopg.js";
17
- import { E as Ee, u as st, R as nt } from "./hook-DCYGmylw.js";
17
+ import { E as Ee, u as st, R as nt } from "./hook-CGFJQf_n.js";
18
18
  import { j as n, d as it, u as T, O as ot } from "./jsx-runtime-CJZJivg2.js";
19
19
  import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-CZUp-F0P.js";
20
20
  import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as he, isValidElement as ft, memo as Ce, useMemo as V, useEffect as I, Fragment as pt, useRef as K, useState as mt, forwardRef as gt, Suspense as vt } from "react";
21
21
  import { g as G } from "./_commonjsHelpers-BVfed4GL.js";
22
22
  import { r as yt } from "./router-CBw2vqJE.js";
23
23
  import { S as Oe, h as Ae, Q as bt, n as g, m as de, a as fe, b as P, e as xt, c as wt, d as Et, f as Pt, o as pe, r as me, g as jt, i as ge, p as ve, s as St, u as Z, j as Nt, D as Ct, k as Ot, l as At } from "./DevPortalProvider-Do9oJqme.js";
24
- import { c as Rt } from "./state-D36MLDHk.js";
25
- import { M as kt } from "./index-CXXn0D4E.js";
26
- import { R as Re, T as ke, C as Me, S as Mt } from "./Spinner-BSk0ImmP.js";
27
- import { c as ee, i as X, j as De, a as Dt } from "./util-_jwUlTBU.js";
24
+ import { M as Rt } from "./index-CXXn0D4E.js";
25
+ import { R as Re, T as ke, C as Me, S as kt } from "./Spinner-BSk0ImmP.js";
26
+ import { c as ee, i as X, j as De, a as Mt } from "./util-_jwUlTBU.js";
28
27
  /**
29
28
  * @license lucide-react v0.378.0 - ISC
30
29
  *
@@ -40,7 +39,7 @@ const _e = U("ChevronRight", [
40
39
  * This source code is licensed under the ISC license.
41
40
  * See the LICENSE file in the root directory of this source tree.
42
41
  */
43
- const _t = U("ExternalLink", [
42
+ const Dt = U("ExternalLink", [
44
43
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
45
44
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
46
45
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -51,7 +50,7 @@ const _t = U("ExternalLink", [
51
50
  * This source code is licensed under the ISC license.
52
51
  * See the LICENSE file in the root directory of this source tree.
53
52
  */
54
- const Tt = U("MoonStar", [
53
+ const _t = U("MoonStar", [
55
54
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
56
55
  ["path", { d: "M20 3v4", key: "1olli1" }],
57
56
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -62,7 +61,7 @@ const Tt = U("MoonStar", [
62
61
  * This source code is licensed under the ISC license.
63
62
  * See the LICENSE file in the root directory of this source tree.
64
63
  */
65
- const Ft = U("Sun", [
64
+ const Tt = U("Sun", [
66
65
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
67
66
  ["path", { d: "M12 2v2", key: "tus03m" }],
68
67
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -73,14 +72,14 @@ const Ft = U("Sun", [
73
72
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
74
73
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
75
74
  ]);
76
- function Qt({ error: t }) {
75
+ function Ft({ error: t }) {
77
76
  return /* @__PURE__ */ n.jsx(Ee, { error: t });
78
77
  }
79
78
  var q = {};
80
- const It = /* @__PURE__ */ G(yt), qt = /* @__PURE__ */ G(it), Ht = /* @__PURE__ */ G(Ye);
79
+ const Qt = /* @__PURE__ */ G(yt), It = /* @__PURE__ */ G(it), qt = /* @__PURE__ */ G(Ye);
81
80
  Object.defineProperty(q, "__esModule", { value: !0 });
82
- var Lt = ht, E = It, te = qt, j = Ht;
83
- function Bt(t) {
81
+ var Ht = ht, E = Qt, te = It, j = qt;
82
+ function Lt(t) {
84
83
  if (t && t.__esModule) return t;
85
84
  var e = /* @__PURE__ */ Object.create(null);
86
85
  return t && Object.keys(t).forEach(function(r) {
@@ -95,8 +94,8 @@ function Bt(t) {
95
94
  }
96
95
  }), e.default = t, Object.freeze(e);
97
96
  }
98
- var x = /* @__PURE__ */ Bt(Lt);
99
- function zt({
97
+ var x = /* @__PURE__ */ Lt(Ht);
98
+ function Bt({
100
99
  basename: t,
101
100
  children: e,
102
101
  location: r = "/",
@@ -120,7 +119,7 @@ function zt({
120
119
  static: !0
121
120
  });
122
121
  }
123
- function Ut({
122
+ function zt({
124
123
  context: t,
125
124
  router: e,
126
125
  hydrate: r = !0,
@@ -138,9 +137,9 @@ function Ut({
138
137
  let u = {
139
138
  loaderData: t.loaderData,
140
139
  actionData: t.actionData,
141
- errors: $t(t.errors)
140
+ errors: Kt(t.errors)
142
141
  };
143
- i = `window.__staticRouterHydrationData = JSON.parse(${Gt(JSON.stringify(JSON.stringify(u)))});`;
142
+ i = `window.__staticRouterHydrationData = JSON.parse(${Wt(JSON.stringify(JSON.stringify(u)))});`;
144
143
  }
145
144
  let {
146
145
  state: c
@@ -164,7 +163,7 @@ function Ut({
164
163
  future: {
165
164
  v7_relativeSplatPath: e.future.v7_relativeSplatPath
166
165
  }
167
- }, /* @__PURE__ */ x.createElement(Kt, {
166
+ }, /* @__PURE__ */ x.createElement(Ut, {
168
167
  routes: e.routes,
169
168
  future: e.future,
170
169
  state: c
@@ -176,14 +175,14 @@ function Ut({
176
175
  }
177
176
  }) : null);
178
177
  }
179
- function Kt({
178
+ function Ut({
180
179
  routes: t,
181
180
  future: e,
182
181
  state: r
183
182
  }) {
184
183
  return te.UNSAFE_useRoutesImpl(t, void 0, r, e);
185
184
  }
186
- function $t(t) {
185
+ function Kt(t) {
187
186
  if (!t) return null;
188
187
  let e = Object.entries(t), r = {};
189
188
  for (let [a, s] of e)
@@ -222,13 +221,13 @@ function Te() {
222
221
  }
223
222
  };
224
223
  }
225
- function Vt(t, e) {
224
+ function $t(t, e) {
226
225
  return E.createStaticHandler(t, {
227
226
  ...e,
228
227
  mapRouteProperties: te.UNSAFE_mapRouteProperties
229
228
  });
230
229
  }
231
- function Yt(t, e, r = {}) {
230
+ function Vt(t, e, r = {}) {
232
231
  let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, te.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((c) => {
233
232
  let u = a[c.route.id] || c.route;
234
233
  return {
@@ -324,35 +323,35 @@ function Fe(t) {
324
323
  function Qe(t) {
325
324
  let e = typeof t == "string" ? t : j.createPath(t);
326
325
  e = e.replace(/ $/, "%20");
327
- let r = Jt.test(e) ? new URL(e) : new URL(e, "http://localhost");
326
+ let r = Yt.test(e) ? new URL(e) : new URL(e, "http://localhost");
328
327
  return {
329
328
  pathname: r.pathname,
330
329
  search: r.search,
331
330
  hash: r.hash
332
331
  };
333
332
  }
334
- const Jt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Xt = {
333
+ const Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Jt = {
335
334
  "&": "\\u0026",
336
335
  ">": "\\u003e",
337
336
  "<": "\\u003c",
338
337
  "\u2028": "\\u2028",
339
338
  "\u2029": "\\u2029"
340
- }, Wt = /[&><\u2028\u2029]/g;
341
- function Gt(t) {
342
- return t.replace(Wt, (e) => Xt[e]);
339
+ }, Xt = /[&><\u2028\u2029]/g;
340
+ function Wt(t) {
341
+ return t.replace(Xt, (e) => Jt[e]);
343
342
  }
344
- q.StaticRouter = zt;
345
- var Zt = q.StaticRouterProvider = Ut;
346
- q.createStaticHandler = Vt;
347
- q.createStaticRouter = Yt;
348
- const er = ({
343
+ q.StaticRouter = Bt;
344
+ var Gt = q.StaticRouterProvider = zt;
345
+ q.createStaticHandler = $t;
346
+ q.createStaticRouter = Vt;
347
+ const Zt = ({
349
348
  router: t
350
- }) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { children: /* @__PURE__ */ n.jsx(Je, { router: t }) }) }), tr = ({
349
+ }) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { children: /* @__PURE__ */ n.jsx(Je, { router: t }) }) }), er = ({
351
350
  router: t,
352
351
  context: e,
353
352
  helmetContext: r
354
- }) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { context: r, children: /* @__PURE__ */ n.jsx(Zt, { router: t, context: e }) }) });
355
- var w, be, rr = (be = class extends Oe {
353
+ }) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { context: r, children: /* @__PURE__ */ n.jsx(Gt, { router: t, context: e }) }) });
354
+ var w, be, tr = (be = class extends Oe {
356
355
  constructor(e = {}) {
357
356
  super();
358
357
  y(this, w);
@@ -424,7 +423,7 @@ var w, be, rr = (be = class extends Oe {
424
423
  });
425
424
  });
426
425
  }
427
- }, w = new WeakMap(), be), m, Q, xe, ar = (xe = class extends Oe {
426
+ }, w = new WeakMap(), be), m, Q, xe, rr = (xe = class extends Oe {
428
427
  constructor(e = {}) {
429
428
  super();
430
429
  y(this, m);
@@ -432,7 +431,7 @@ var w, be, rr = (be = class extends Oe {
432
431
  this.config = e, d(this, m, /* @__PURE__ */ new Map()), d(this, Q, Date.now());
433
432
  }
434
433
  build(e, r, a) {
435
- const s = new kt({
434
+ const s = new Rt({
436
435
  mutationCache: this,
437
436
  mutationId: ++L(this, Q)._,
438
437
  options: e.defaultMutationOptions(r),
@@ -502,7 +501,7 @@ function B(t) {
502
501
  var e;
503
502
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
504
503
  }
505
- function sr(t) {
504
+ function ar(t) {
506
505
  return {
507
506
  onFetch: (e, r) => {
508
507
  const a = async () => {
@@ -538,7 +537,7 @@ function sr(t) {
538
537
  };
539
538
  let R;
540
539
  if (o && i.length) {
541
- const b = o === "backward", S = b ? nr : ye, A = {
540
+ const b = o === "backward", S = b ? sr : ye, A = {
542
541
  pages: i,
543
542
  pageParams: c
544
543
  }, H = S(s, A);
@@ -581,7 +580,7 @@ function ye(t, { pages: e, pageParams: r }) {
581
580
  r
582
581
  );
583
582
  }
584
- function nr(t, { pages: e, pageParams: r }) {
583
+ function sr(t, { pages: e, pageParams: r }) {
585
584
  var a;
586
585
  return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
587
586
  t,
@@ -591,7 +590,7 @@ function nr(t, { pages: e, pageParams: r }) {
591
590
  r
592
591
  );
593
592
  }
594
- var h, N, C, k, M, O, D, _, we, ir = (we = class {
593
+ var h, N, C, k, M, O, D, _, we, nr = (we = class {
595
594
  constructor(t = {}) {
596
595
  y(this, h);
597
596
  y(this, N);
@@ -601,7 +600,7 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
601
600
  y(this, O);
602
601
  y(this, D);
603
602
  y(this, _);
604
- d(this, h, t.queryCache || new rr()), d(this, N, t.mutationCache || new ar()), d(this, C, t.defaultOptions || {}), d(this, k, /* @__PURE__ */ new Map()), d(this, M, /* @__PURE__ */ new Map()), d(this, O, 0);
603
+ d(this, h, t.queryCache || new tr()), d(this, N, t.mutationCache || new rr()), d(this, C, t.defaultOptions || {}), d(this, k, /* @__PURE__ */ new Map()), d(this, M, /* @__PURE__ */ new Map()), d(this, O, 0);
605
604
  }
606
605
  mount() {
607
606
  L(this, O)._++, l(this, O) === 1 && (d(this, D, Pt.subscribe(async (t) => {
@@ -720,7 +719,7 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
720
719
  return this.fetchQuery(t).then(P).catch(P);
721
720
  }
722
721
  fetchInfiniteQuery(t) {
723
- return t.behavior = sr(t.pages), this.fetchQuery(t);
722
+ return t.behavior = ar(t.pages), this.fetchQuery(t);
724
723
  }
725
724
  prefetchInfiniteQuery(t) {
726
725
  return this.fetchInfiniteQuery(t).then(P).catch(P);
@@ -792,11 +791,11 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
792
791
  l(this, h).clear(), l(this, N).clear();
793
792
  }
794
793
  }, h = new WeakMap(), N = new WeakMap(), C = new WeakMap(), k = new WeakMap(), M = new WeakMap(), O = new WeakMap(), D = new WeakMap(), _ = new WeakMap(), we);
795
- const or = Ne(null), Y = {
794
+ const ir = Ne(null), Y = {
796
795
  didCatch: !1,
797
796
  error: null
798
797
  };
799
- class lr extends dt {
798
+ class or extends dt {
800
799
  constructor(e) {
801
800
  super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Y;
802
801
  }
@@ -829,7 +828,7 @@ class lr extends dt {
829
828
  } = this.state, {
830
829
  resetKeys: s
831
830
  } = this.props;
832
- if (a && r.error !== null && cr(e.resetKeys, s)) {
831
+ if (a && r.error !== null && lr(e.resetKeys, s)) {
833
832
  var o, i;
834
833
  (o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
835
834
  next: s,
@@ -863,7 +862,7 @@ class lr extends dt {
863
862
  else
864
863
  throw i;
865
864
  }
866
- return he(or.Provider, {
865
+ return he(ir.Provider, {
867
866
  value: {
868
867
  didCatch: o,
869
868
  error: i,
@@ -872,23 +871,22 @@ class lr extends dt {
872
871
  }, c);
873
872
  }
874
873
  }
875
- function cr() {
874
+ function lr() {
876
875
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
877
876
  return t.length !== e.length || t.some((r, a) => !Object.is(r, e[a]));
878
877
  }
879
- const ur = (t) => "getRoutes" in t && typeof t.getRoutes == "function", hr = (t) => "initialize" in t && typeof t.initialize == "function", dr = (t) => "getHead" in t && typeof t.getHead == "function", fr = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ie = new ir(), pr = Rt(() => ({}));
880
- class mr {
878
+ const cr = (t) => "getRoutes" in t && typeof t.getRoutes == "function", ur = (t) => "initialize" in t && typeof t.initialize == "function", hr = (t) => "getHead" in t && typeof t.getHead == "function", dr = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ie = new nr();
879
+ class fr {
881
880
  constructor(e) {
882
881
  v(this, "plugins", []);
883
882
  v(this, "navigation");
884
883
  v(this, "meta");
885
884
  v(this, "page");
886
885
  v(this, "authentication");
887
- v(this, "state");
888
886
  v(this, "navigationPlugins");
889
887
  v(this, "initialize", async () => {
890
888
  await Promise.all([
891
- this.plugins.filter(hr).map((e) => {
889
+ this.plugins.filter(ur).map((e) => {
892
890
  var r;
893
891
  return (r = e.initialize) == null ? void 0 : r.call(e, this);
894
892
  })
@@ -898,7 +896,7 @@ class mr {
898
896
  await Ie.invalidateQueries({ queryKey: e });
899
897
  });
900
898
  v(this, "getApiIdentities", async () => (await Promise.all(
901
- this.plugins.filter(fr).map((r) => r.getIdentities(this))
899
+ this.plugins.filter(dr).map((r) => r.getIdentities(this))
902
900
  )).flat());
903
901
  v(this, "getNavigation", async (e) => (await Promise.all(
904
902
  this.navigationPlugins.map(
@@ -908,19 +906,19 @@ class mr {
908
906
  }
909
907
  )
910
908
  )).flatMap((a) => a ?? []));
911
- this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(ur), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = pr;
912
- }
913
- async signRequest(e) {
914
- if (!this.authentication)
915
- throw new Error("No authentication provider configured");
916
- const r = await this.authentication.getAccessToken();
917
- return e.headers.set("Authorization", `Bearer ${r}`), e;
909
+ v(this, "signRequest", async (e) => {
910
+ if (!this.authentication)
911
+ throw new Error("No authentication provider configured");
912
+ const r = await this.authentication.getAccessToken();
913
+ return e.headers.set("Authorization", `Bearer ${r}`), e;
914
+ });
915
+ this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(cr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
918
916
  }
919
917
  }
920
- function gr({ error: t, resetErrorBoundary: e }) {
918
+ function pr({ error: t, resetErrorBoundary: e }) {
921
919
  return /* @__PURE__ */ n.jsx(Ee, { error: t });
922
920
  }
923
- const vr = () => {
921
+ const mr = () => {
924
922
  const { navigation: t } = Z();
925
923
  return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
926
924
  J,
@@ -934,7 +932,7 @@ const vr = () => {
934
932
  }
935
933
  ) }, e.label)) }) });
936
934
  }, qe = Ce(function() {
937
- const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = Z(), f = e ? Tt : Ft;
935
+ const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = Z(), f = e ? _t : Tt;
938
936
  return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
939
937
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
940
938
  /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
@@ -977,11 +975,11 @@ const vr = () => {
977
975
  ] })
978
976
  ] })
979
977
  ] }),
980
- /* @__PURE__ */ n.jsx(vr, {})
978
+ /* @__PURE__ */ n.jsx(mr, {})
981
979
  ] }) });
982
980
  }), He = {
983
981
  Header: qe
984
- }, yr = Ne(He), br = yr.Provider, xr = ({
982
+ }, gr = Ne(He), vr = gr.Provider, yr = ({
985
983
  children: t,
986
984
  ...e
987
985
  }) => {
@@ -992,21 +990,21 @@ const vr = () => {
992
990
  ), a = V(
993
991
  () => ({ ...Ge, ...e.mdxComponents }),
994
992
  [e.mdxComponents]
995
- ), s = V(() => new mr(e), [e]);
993
+ ), s = V(() => new fr(e), [e]);
996
994
  I(() => {
997
995
  s.initialize();
998
996
  }, [s]);
999
- const o = (i = e.plugins) == null ? void 0 : i.filter(dr).map((c, u) => {
997
+ const o = (i = e.plugins) == null ? void 0 : i.filter(hr).map((c, u) => {
1000
998
  var f;
1001
999
  return /* @__PURE__ */ n.jsx(pt, { children: (f = c.getHead) == null ? void 0 : f.call(c) }, u);
1002
1000
  });
1003
1001
  return /* @__PURE__ */ n.jsxs(Nt, { client: Ie, children: [
1004
1002
  /* @__PURE__ */ n.jsx(je, { children: o }),
1005
- /* @__PURE__ */ n.jsx(Ct, { value: s, children: /* @__PURE__ */ n.jsx(lt, { components: a, children: /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(br, { value: r, children: /* @__PURE__ */ n.jsx(et, { children: t }) }) }) }) })
1003
+ /* @__PURE__ */ n.jsx(Ct, { value: s, children: /* @__PURE__ */ n.jsx(lt, { components: a, children: /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(vr, { value: r, children: /* @__PURE__ */ n.jsx(et, { children: t }) }) }) }) })
1006
1004
  ] });
1007
- }, wr = Ce(xr), Le = (t) => /* @__PURE__ */ n.jsx(lr, { FallbackComponent: gr, children: /* @__PURE__ */ n.jsx(wr, { ...t }) });
1005
+ }, br = Ce(yr), Le = (t) => /* @__PURE__ */ n.jsx(or, { FallbackComponent: pr, children: /* @__PURE__ */ n.jsx(br, { ...t }) });
1008
1006
  Le.displayName = "DevPortal";
1009
- const Er = () => {
1007
+ const xr = () => {
1010
1008
  const t = T(), { setActiveAnchor: e } = W();
1011
1009
  I(() => {
1012
1010
  if (!t.hash) return;
@@ -1023,7 +1021,7 @@ const Er = () => {
1023
1021
  });
1024
1022
  return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
1025
1023
  }, [t.hash, e]);
1026
- }, Pr = () => {
1024
+ }, wr = () => {
1027
1025
  const t = T(), e = K(t.pathname);
1028
1026
  I(() => {
1029
1027
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
@@ -1051,7 +1049,7 @@ const Er = () => {
1051
1049
  }
1052
1050
  }
1053
1051
  }
1054
- ), jr = "data-anchor", ze = ({
1052
+ ), Er = "data-anchor", ze = ({
1055
1053
  category: t,
1056
1054
  item: e,
1057
1055
  activeAnchor: r,
@@ -1063,7 +1061,7 @@ const Er = () => {
1063
1061
  path: o,
1064
1062
  defaultOpen: () => ee(e, i.pathname, o)
1065
1063
  });
1066
- if (Dt(e)) {
1064
+ if (Mt(e)) {
1067
1065
  const p = F(
1068
1066
  "flex items-center gap-2",
1069
1067
  z({
@@ -1079,7 +1077,7 @@ const Er = () => {
1079
1077
  rel: "noopener noreferrer",
1080
1078
  children: [
1081
1079
  e.label,
1082
- /* @__PURE__ */ n.jsx(_t, { size: 14 })
1080
+ /* @__PURE__ */ n.jsx(Dt, { size: 14 })
1083
1081
  ]
1084
1082
  }
1085
1083
  ) : /* @__PURE__ */ n.jsx(J, { className: p, to: e.href, children: e.label });
@@ -1131,7 +1129,7 @@ const Er = () => {
1131
1129
  ct,
1132
1130
  {
1133
1131
  to: e.path,
1134
- [jr]: e.path,
1132
+ [Er]: e.path,
1135
1133
  className: z({
1136
1134
  isActive: e.path.slice(1) === r,
1137
1135
  isMuted: e.muted
@@ -1146,7 +1144,7 @@ const Er = () => {
1146
1144
  children: f
1147
1145
  }
1148
1146
  ) });
1149
- }, Sr = ({
1147
+ }, Pr = ({
1150
1148
  category: t
1151
1149
  }) => {
1152
1150
  const { activeAnchor: e } = W(), r = Ot(), a = T(), s = t.collapsible ?? !0, [o, i] = Be({
@@ -1194,7 +1192,7 @@ const Er = () => {
1194
1192
  },
1195
1193
  t.label
1196
1194
  );
1197
- }, Nr = gt(function({ children: e, className: r, pushMainContent: a }, s) {
1195
+ }, jr = gt(function({ children: e, className: r, pushMainContent: a }, s) {
1198
1196
  return /* @__PURE__ */ n.jsx(
1199
1197
  "nav",
1200
1198
  {
@@ -1207,19 +1205,19 @@ const Er = () => {
1207
1205
  children: e
1208
1206
  }
1209
1207
  );
1210
- }), Cr = () => {
1208
+ }), Sr = () => {
1211
1209
  const t = K(null), e = At();
1212
1210
  return /* @__PURE__ */ n.jsx(
1213
- Nr,
1211
+ jr,
1214
1212
  {
1215
1213
  ref: t,
1216
1214
  pushMainContent: e.data.items.length > 0,
1217
- children: e.data.items.map((r) => /* @__PURE__ */ n.jsx(Sr, { category: r }, r.label))
1215
+ children: e.data.items.map((r) => /* @__PURE__ */ n.jsx(Pr, { category: r }, r.label))
1218
1216
  }
1219
1217
  );
1220
- }, Or = ({ children: t }) => {
1218
+ }, Nr = ({ children: t }) => {
1221
1219
  const e = T(), { setActiveAnchor: r } = W(), { meta: a } = Z();
1222
- Er(), Pr();
1220
+ xr(), wr();
1223
1221
  const s = K(e.pathname);
1224
1222
  return I(() => {
1225
1223
  e.pathname !== s.current && r(""), s.current = e.pathname;
@@ -1232,9 +1230,9 @@ const Er = () => {
1232
1230
  /* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
1233
1231
  vt,
1234
1232
  {
1235
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(Mt, {}) }),
1233
+ fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(kt, {}) }),
1236
1234
  children: [
1237
- /* @__PURE__ */ n.jsx(Cr, {}),
1235
+ /* @__PURE__ */ n.jsx(Sr, {}),
1238
1236
  /* @__PURE__ */ n.jsx(
1239
1237
  "main",
1240
1238
  {
@@ -1251,16 +1249,16 @@ const Er = () => {
1251
1249
  }
1252
1250
  ) })
1253
1251
  ] });
1254
- }, Br = ut, zr = rt, Ur = Le, Kr = Or, $r = at, Vr = nt, Yr = Qt, Jr = er, Xr = tr;
1252
+ }, qr = ut, Hr = rt, Lr = Le, Br = Nr, zr = at, Ur = nt, Kr = Ft, $r = Zt, Vr = er;
1255
1253
  export {
1256
- Jr as Bootstrap,
1257
- Xr as BootstrapStatic,
1258
- zr as Callout,
1259
- Ur as DevPortal,
1260
- Kr as Layout,
1261
- $r as Link,
1262
- Vr as RouterError,
1263
- Yr as ServerError,
1264
- Br as useMDXComponents
1254
+ $r as Bootstrap,
1255
+ Vr as BootstrapStatic,
1256
+ Hr as Callout,
1257
+ Lr as DevPortal,
1258
+ Br as Layout,
1259
+ zr as Link,
1260
+ Ur as RouterError,
1261
+ Kr as ServerError,
1262
+ qr as useMDXComponents
1265
1263
  };
1266
1264
  //# sourceMappingURL=zudoku.components.js.map