zudoku 0.1.1-dev.32 → 0.1.1-dev.34

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 (47) hide show
  1. package/dist/app/App.js +2 -0
  2. package/dist/app/App.js.map +1 -1
  3. package/dist/config/config.d.ts +2 -0
  4. package/dist/lib/components/Layout.js +1 -2
  5. package/dist/lib/components/Layout.js.map +1 -1
  6. package/dist/lib/components/navigation/SideNavigationItem.d.ts +1 -1
  7. package/dist/lib/components/navigation/SideNavigationItem.js +6 -6
  8. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
  9. package/dist/lib/plugins/api-key/SettingsApiKeys.js +6 -1
  10. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -1
  11. package/dist/lib/plugins/api-key/index.d.ts +1 -0
  12. package/dist/lib/plugins/api-key/index.js +13 -17
  13. package/dist/lib/plugins/api-key/index.js.map +1 -1
  14. package/dist/lib/plugins/index.js +0 -1
  15. package/dist/lib/plugins/index.js.map +1 -1
  16. package/dist/lib/plugins/openapi/MakeRequest.js +21 -16
  17. package/dist/lib/plugins/openapi/MakeRequest.js.map +1 -1
  18. package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +1 -0
  19. package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -1
  20. package/dist/lib/plugins/openapi/playground/Playground.js +4 -3
  21. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  22. package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
  23. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  24. package/dist/lib/plugins/redirect/index.d.ts +1 -2
  25. package/dist/lib/util/createVariantComponent.d.ts +4 -3
  26. package/dist/lib/util/createVariantComponent.js +9 -5
  27. package/dist/lib/util/createVariantComponent.js.map +1 -1
  28. package/dist/vite/plugin-redirect.d.ts +4 -0
  29. package/dist/vite/plugin-redirect.js +32 -0
  30. package/dist/vite/plugin-redirect.js.map +1 -0
  31. package/dist/vite/plugin.js +2 -0
  32. package/dist/vite/plugin.js.map +1 -1
  33. package/lib/{util-CJko6Ria.js → util-BJVAslZ-.js} +358 -351
  34. package/lib/zudoku.components.js +103 -106
  35. package/lib/zudoku.plugins.js +2691 -2681
  36. package/package.json +1 -1
  37. package/src/app/App.tsx +2 -0
  38. package/src/lib/components/Layout.tsx +8 -9
  39. package/src/lib/components/navigation/SideNavigationItem.tsx +10 -7
  40. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +9 -3
  41. package/src/lib/plugins/api-key/index.tsx +17 -19
  42. package/src/lib/plugins/index.ts +0 -1
  43. package/src/lib/plugins/openapi/MakeRequest.tsx +32 -25
  44. package/src/lib/plugins/openapi/playground/Playground.tsx +8 -8
  45. package/src/lib/plugins/openapi/playground/QueryParams.tsx +8 -3
  46. package/src/lib/plugins/redirect/index.tsx +1 -1
  47. package/src/lib/util/createVariantComponent.tsx +11 -8
@@ -1,9 +1,9 @@
1
- var gt = Object.defineProperty;
1
+ var vt = Object.defineProperty;
2
2
  var Ce = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var yt = (t, e, n) => e in t ? gt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var j = (t, e, n) => yt(t, typeof e != "symbol" ? e + "" : e, n), je = (t, e, n) => e.has(t) || Ce("Cannot " + n);
5
+ var gt = (t, e, n) => e in t ? vt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
+ var j = (t, e, n) => gt(t, typeof e != "symbol" ? e + "" : e, n), je = (t, e, n) => e.has(t) || Ce("Cannot " + n);
7
7
  var o = (t, e, n) => (je(t, e, "read from private field"), n ? n.call(t) : e.get(t)), M = (t, e, n) => e.has(t) ? Ce("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), P = (t, e, n, r) => (je(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
8
8
  var Y = (t, e, n, r) => ({
9
9
  set _(s) {
@@ -13,12 +13,12 @@ var Y = (t, e, n, r) => ({
13
13
  return o(t, e, r);
14
14
  }
15
15
  });
16
- import { S as Ue, h as Ge, Q as xt, n as D, m as Pe, M as bt, a as Ae, b as I, e as St, c as Ot, d as _t, f as Et, o as Ne, r as Re, g as wt, i as De, p as Me, s as Ct, j as jt, k as X, u as ye, l as a, N as fe, q as Pt, t as At, v as W, w as xe, x as Nt, y as Rt, z as Dt, P as be, A as Mt, B as Tt, C as Lt, D as It, E as Se, F as pe, G as $e, H as kt, I as ne, J as qt, K as Qt, L as Vt, O as Ft, R as Ht, T as Kt, U as Bt, V as zt, W as Wt, X as Ut, Y as Gt, Z as $t, _ as Xt, $ as Yt } from "./util-CJko6Ria.js";
17
- import { a0 as Yn } from "./util-CJko6Ria.js";
16
+ import { S as Ue, h as Ge, Q as yt, n as D, m as Pe, M as xt, a as Ae, b as I, e as bt, c as St, d as Ot, f as _t, o as Ne, r as Re, g as Et, i as De, p as Me, s as wt, j as Ct, k as X, u as ye, l as a, N as fe, q as jt, t as Pt, v as W, w as xe, x as At, y as Nt, z as Rt, P as be, A as Dt, B as Mt, C as Tt, D as Lt, E as Se, F as pe, G as $e, H as It, I as ne, J as kt, K as qt, L as Qt, O as Vt, R as Ft, T as Ht, U as Kt, V as Bt, W as zt, X as Wt, Y as Ut, Z as Gt, _ as $t, $ as Xt } from "./util-BJVAslZ-.js";
17
+ import { a0 as Yn } from "./util-BJVAslZ-.js";
18
18
  import * as T from "react";
19
- import k, { memo as Xe, createContext as Jt, useEffect as z, useRef as re, useState as Zt, forwardRef as en, Suspense as Ye, useMemo as te } from "react";
19
+ import k, { memo as Xe, createContext as Yt, useEffect as z, useRef as re, useState as Jt, forwardRef as Zt, Suspense as Ye, useMemo as te } from "react";
20
20
  const me = {}, Je = k.createContext(me);
21
- function tn(t) {
21
+ function en(t) {
22
22
  const e = k.useContext(Je);
23
23
  return k.useMemo(
24
24
  function() {
@@ -27,15 +27,15 @@ function tn(t) {
27
27
  [e, t]
28
28
  );
29
29
  }
30
- function nn(t) {
30
+ function tn(t) {
31
31
  let e;
32
- return t.disableParentContext ? e = typeof t.components == "function" ? t.components(me) : t.components || me : e = tn(t.components), k.createElement(
32
+ return t.disableParentContext ? e = typeof t.components == "function" ? t.components(me) : t.components || me : e = en(t.components), k.createElement(
33
33
  Je.Provider,
34
34
  { value: e },
35
35
  t.children
36
36
  );
37
37
  }
38
- var L, Be, rn = (Be = class extends Ue {
38
+ var L, Be, nn = (Be = class extends Ue {
39
39
  constructor(e = {}) {
40
40
  super();
41
41
  M(this, L);
@@ -44,7 +44,7 @@ var L, Be, rn = (Be = class extends Ue {
44
44
  build(e, n, r) {
45
45
  const s = n.queryKey, i = n.queryHash ?? Ge(s, n);
46
46
  let c = this.get(i);
47
- return c || (c = new xt({
47
+ return c || (c = new yt({
48
48
  cache: this,
49
49
  queryKey: s,
50
50
  queryHash: i,
@@ -107,7 +107,7 @@ var L, Be, rn = (Be = class extends Ue {
107
107
  });
108
108
  });
109
109
  }
110
- }, L = new WeakMap(), Be), R, $, ze, sn = (ze = class extends Ue {
110
+ }, L = new WeakMap(), Be), R, $, ze, rn = (ze = class extends Ue {
111
111
  constructor(e = {}) {
112
112
  super();
113
113
  M(this, R);
@@ -115,7 +115,7 @@ var L, Be, rn = (Be = class extends Ue {
115
115
  this.config = e, P(this, R, /* @__PURE__ */ new Map()), P(this, $, Date.now());
116
116
  }
117
117
  build(e, n, r) {
118
- const s = new bt({
118
+ const s = new xt({
119
119
  mutationCache: this,
120
120
  mutationId: ++Y(this, $)._,
121
121
  options: e.defaultMutationOptions(n),
@@ -185,7 +185,7 @@ function J(t) {
185
185
  var e;
186
186
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
187
187
  }
188
- function an(t) {
188
+ function sn(t) {
189
189
  return {
190
190
  onFetch: (e, n) => {
191
191
  const r = async () => {
@@ -199,7 +199,7 @@ function an(t) {
199
199
  g = !0;
200
200
  }), e.signal)
201
201
  });
202
- }, d = St(e.options, e.fetchOptions), f = async (h, u, S) => {
202
+ }, d = bt(e.options, e.fetchOptions), f = async (h, u, S) => {
203
203
  if (g)
204
204
  return Promise.reject();
205
205
  if (u == null && h.pages.length)
@@ -213,7 +213,7 @@ function an(t) {
213
213
  l(m);
214
214
  const w = await d(
215
215
  m
216
- ), { maxPages: N } = e.options, C = S ? Ot : _t;
216
+ ), { maxPages: N } = e.options, C = S ? St : Ot;
217
217
  return {
218
218
  pages: C(h.pages, w, N),
219
219
  pageParams: C(h.pageParams, u, N)
@@ -221,7 +221,7 @@ function an(t) {
221
221
  };
222
222
  let p;
223
223
  if (i && c.length) {
224
- const h = i === "backward", u = h ? on : Te, S = {
224
+ const h = i === "backward", u = h ? an : Te, S = {
225
225
  pages: c,
226
226
  pageParams: v
227
227
  }, m = u(s, S);
@@ -264,7 +264,7 @@ function Te(t, { pages: e, pageParams: n }) {
264
264
  n
265
265
  );
266
266
  }
267
- function on(t, { pages: e, pageParams: n }) {
267
+ function an(t, { pages: e, pageParams: n }) {
268
268
  var r;
269
269
  return (r = t.getPreviousPageParam) == null ? void 0 : r.call(
270
270
  t,
@@ -274,7 +274,7 @@ function on(t, { pages: e, pageParams: n }) {
274
274
  n
275
275
  );
276
276
  }
277
- var O, q, Q, F, H, V, K, B, We, cn = (We = class {
277
+ var O, q, Q, F, H, V, K, B, We, on = (We = class {
278
278
  constructor(t = {}) {
279
279
  M(this, O);
280
280
  M(this, q);
@@ -284,10 +284,10 @@ var O, q, Q, F, H, V, K, B, We, cn = (We = class {
284
284
  M(this, V);
285
285
  M(this, K);
286
286
  M(this, B);
287
- P(this, O, t.queryCache || new rn()), P(this, q, t.mutationCache || new sn()), P(this, Q, t.defaultOptions || {}), P(this, F, /* @__PURE__ */ new Map()), P(this, H, /* @__PURE__ */ new Map()), P(this, V, 0);
287
+ P(this, O, t.queryCache || new nn()), P(this, q, t.mutationCache || new rn()), P(this, Q, t.defaultOptions || {}), P(this, F, /* @__PURE__ */ new Map()), P(this, H, /* @__PURE__ */ new Map()), P(this, V, 0);
288
288
  }
289
289
  mount() {
290
- Y(this, V)._++, o(this, V) === 1 && (P(this, K, Et.subscribe(async (t) => {
290
+ Y(this, V)._++, o(this, V) === 1 && (P(this, K, _t.subscribe(async (t) => {
291
291
  t && (await this.resumePausedMutations(), o(this, O).onFocus());
292
292
  })), P(this, B, Ne.subscribe(async (t) => {
293
293
  t && (await this.resumePausedMutations(), o(this, O).onOnline());
@@ -326,7 +326,7 @@ var O, q, Q, F, H, V, K, B, We, cn = (We = class {
326
326
  setQueryData(t, e, n) {
327
327
  const r = this.defaultQueryOptions({ queryKey: t }), s = o(this, O).get(
328
328
  r.queryHash
329
- ), i = s == null ? void 0 : s.state.data, c = wt(e, i);
329
+ ), i = s == null ? void 0 : s.state.data, c = Et(e, i);
330
330
  if (c !== void 0)
331
331
  return o(this, O).build(this, r).setData(c, { ...n, manual: !0 });
332
332
  }
@@ -403,7 +403,7 @@ var O, q, Q, F, H, V, K, B, We, cn = (We = class {
403
403
  return this.fetchQuery(t).then(I).catch(I);
404
404
  }
405
405
  fetchInfiniteQuery(t) {
406
- return t.behavior = an(t.pages), this.fetchQuery(t);
406
+ return t.behavior = sn(t.pages), this.fetchQuery(t);
407
407
  }
408
408
  prefetchInfiniteQuery(t) {
409
409
  return this.fetchInfiniteQuery(t).then(I).catch(I);
@@ -461,7 +461,7 @@ var O, q, Q, F, H, V, K, B, We, cn = (We = class {
461
461
  return e.queryHash || (e.queryHash = Ge(
462
462
  e.queryKey,
463
463
  e
464
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === Ct && (e.enabled = !1), e;
464
+ )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === wt && (e.enabled = !1), e;
465
465
  }
466
466
  defaultMutationOptions(t) {
467
467
  return t != null && t._defaulted ? t : {
@@ -474,7 +474,7 @@ var O, q, Q, F, H, V, K, B, We, cn = (We = class {
474
474
  clear() {
475
475
  o(this, O).clear(), o(this, q).clear();
476
476
  }
477
- }, O = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), F = new WeakMap(), H = new WeakMap(), V = new WeakMap(), K = new WeakMap(), B = new WeakMap(), We), ln = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
477
+ }, O = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), F = new WeakMap(), H = new WeakMap(), V = new WeakMap(), K = new WeakMap(), B = new WeakMap(), We), cn = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
478
478
  const Le = (t) => {
479
479
  let e;
480
480
  const n = /* @__PURE__ */ new Set(), r = (l, d) => {
@@ -484,12 +484,12 @@ const Le = (t) => {
484
484
  e = d ?? (typeof f != "object" || f === null) ? f : Object.assign({}, e, f), n.forEach((x) => x(e, p));
485
485
  }
486
486
  }, s = () => e, _ = { setState: r, getState: s, getInitialState: () => g, subscribe: (l) => (n.add(l), () => n.delete(l)), destroy: () => {
487
- (ln ? "production" : void 0) !== "production" && console.warn(
487
+ (cn ? "production" : void 0) !== "production" && console.warn(
488
488
  "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
489
489
  ), n.clear();
490
490
  } }, g = e = t(r, s, _);
491
491
  return _;
492
- }, un = (t) => t ? Le(t) : Le;
492
+ }, ln = (t) => t ? Le(t) : Le;
493
493
  var ve = { exports: {} }, le = {}, Z = { exports: {} }, ue = {};
494
494
  /**
495
495
  * @license React
@@ -501,7 +501,7 @@ var ve = { exports: {} }, le = {}, Z = { exports: {} }, ue = {};
501
501
  * LICENSE file in the root directory of this source tree.
502
502
  */
503
503
  var Ie;
504
- function dn() {
504
+ function un() {
505
505
  if (Ie) return ue;
506
506
  Ie = 1;
507
507
  var t = k;
@@ -546,7 +546,7 @@ var de = {};
546
546
  * LICENSE file in the root directory of this source tree.
547
547
  */
548
548
  var ke;
549
- function hn() {
549
+ function dn() {
550
550
  return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
551
551
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
552
552
  var t = k, e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -618,7 +618,7 @@ function hn() {
618
618
  }
619
619
  var qe;
620
620
  function Ze() {
621
- return qe || (qe = 1, process.env.NODE_ENV === "production" ? Z.exports = dn() : Z.exports = hn()), Z.exports;
621
+ return qe || (qe = 1, process.env.NODE_ENV === "production" ? Z.exports = un() : Z.exports = dn()), Z.exports;
622
622
  }
623
623
  /**
624
624
  * @license React
@@ -630,7 +630,7 @@ function Ze() {
630
630
  * LICENSE file in the root directory of this source tree.
631
631
  */
632
632
  var Qe;
633
- function fn() {
633
+ function hn() {
634
634
  if (Qe) return le;
635
635
  Qe = 1;
636
636
  var t = k, e = Ze();
@@ -681,7 +681,7 @@ var he = {};
681
681
  * LICENSE file in the root directory of this source tree.
682
682
  */
683
683
  var Ve;
684
- function pn() {
684
+ function fn() {
685
685
  return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
686
686
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
687
687
  var t = k, e = Ze();
@@ -707,8 +707,8 @@ function pn() {
707
707
  }
708
708
  return w = ae, ae;
709
709
  }
710
- var vt = m, oe = w;
711
- if (r(vt, G))
710
+ var mt = m, oe = w;
711
+ if (r(mt, G))
712
712
  return oe;
713
713
  var ce = p(G);
714
714
  return x !== void 0 && x(oe, ce) ? oe : (m = G, w = ce, ce);
@@ -726,38 +726,38 @@ function pn() {
726
726
  he.useSyncExternalStoreWithSelector = g, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
727
727
  }()), he;
728
728
  }
729
- process.env.NODE_ENV === "production" ? ve.exports = fn() : ve.exports = pn();
730
- var mn = ve.exports;
731
- const vn = /* @__PURE__ */ jt(mn);
729
+ process.env.NODE_ENV === "production" ? ve.exports = hn() : ve.exports = fn();
730
+ var pn = ve.exports;
731
+ const mn = /* @__PURE__ */ Ct(pn);
732
732
  var et = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
733
- const { useDebugValue: gn } = k, { useSyncExternalStoreWithSelector: yn } = vn;
733
+ const { useDebugValue: vn } = k, { useSyncExternalStoreWithSelector: gn } = mn;
734
734
  let Fe = !1;
735
- const xn = (t) => t;
736
- function bn(t, e = xn, n) {
735
+ const yn = (t) => t;
736
+ function xn(t, e = yn, n) {
737
737
  (et ? "production" : void 0) !== "production" && n && !Fe && (console.warn(
738
738
  "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
739
739
  ), Fe = !0);
740
- const r = yn(
740
+ const r = gn(
741
741
  t.subscribe,
742
742
  t.getState,
743
743
  t.getServerState || t.getInitialState,
744
744
  e,
745
745
  n
746
746
  );
747
- return gn(r), r;
747
+ return vn(r), r;
748
748
  }
749
749
  const He = (t) => {
750
750
  (et ? "production" : void 0) !== "production" && typeof t != "function" && console.warn(
751
751
  "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
752
752
  );
753
- const e = typeof t == "function" ? un(t) : t, n = (r, s) => bn(e, r, s);
753
+ const e = typeof t == "function" ? ln(t) : t, n = (r, s) => xn(e, r, s);
754
754
  return Object.assign(n, e), n;
755
- }, Sn = (t) => t ? He(t) : He, tt = (t) => "getRoutes" in t && typeof t.getRoutes == "function", On = (t) => "initialize" in t && typeof t.initialize == "function", _n = (t) => "getIdentities" in t && typeof t.getIdentities == "function", nt = new cn(), ge = Sn(
755
+ }, bn = (t) => t ? He(t) : He, tt = (t) => "getRoutes" in t && typeof t.getRoutes == "function", Sn = (t) => "initialize" in t && typeof t.initialize == "function", On = (t) => "getIdentities" in t && typeof t.getIdentities == "function", nt = new on(), ge = bn(
756
756
  () => ({
757
757
  isLoggedIn: !1
758
758
  })
759
759
  );
760
- class En {
760
+ class _n {
761
761
  constructor(e) {
762
762
  j(this, "plugins", []);
763
763
  j(this, "navigationPlugins");
@@ -767,14 +767,14 @@ class En {
767
767
  j(this, "state");
768
768
  j(this, "initialize", async () => {
769
769
  var e;
770
- this.plugins.filter(On).forEach((n) => n.initialize(this)), (e = this.authentication) == null || e.initialize(this);
770
+ this.plugins.filter(Sn).forEach((n) => n.initialize(this)), (e = this.authentication) == null || e.initialize(this);
771
771
  });
772
772
  j(this, "setUserProfile", async (e) => ge.setState(e));
773
773
  j(this, "invalidateCache", async (e) => {
774
774
  nt.invalidateQueries({ queryKey: e });
775
775
  });
776
776
  j(this, "getApiIdentities", async () => (await Promise.all(
777
- this.plugins.filter(_n).map((n) => n.getIdentities(this))
777
+ this.plugins.filter(On).map((n) => n.getIdentities(this))
778
778
  )).flat());
779
779
  j(this, "login", async () => {
780
780
  if (!this.authentication)
@@ -822,7 +822,7 @@ const rt = X("ChevronRight", [
822
822
  * This source code is licensed under the ISC license.
823
823
  * See the LICENSE file in the root directory of this source tree.
824
824
  */
825
- const wn = X("ExternalLink", [
825
+ const En = X("ExternalLink", [
826
826
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
827
827
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
828
828
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
@@ -833,7 +833,7 @@ const wn = X("ExternalLink", [
833
833
  * This source code is licensed under the ISC license.
834
834
  * See the LICENSE file in the root directory of this source tree.
835
835
  */
836
- const Cn = X("MoonStar", [
836
+ const wn = X("MoonStar", [
837
837
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
838
838
  ["path", { d: "M20 3v4", key: "1olli1" }],
839
839
  ["path", { d: "M22 5h-4", key: "1gvqau" }]
@@ -844,7 +844,7 @@ const Cn = X("MoonStar", [
844
844
  * This source code is licensed under the ISC license.
845
845
  * See the LICENSE file in the root directory of this source tree.
846
846
  */
847
- const jn = X("Search", [
847
+ const Cn = X("Search", [
848
848
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
849
849
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
850
850
  ]);
@@ -854,7 +854,7 @@ const jn = X("Search", [
854
854
  * This source code is licensed under the ISC license.
855
855
  * See the LICENSE file in the root directory of this source tree.
856
856
  */
857
- const Pn = X("Sun", [
857
+ const jn = X("Sun", [
858
858
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
859
859
  ["path", { d: "M12 2v2", key: "tus03m" }],
860
860
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -864,12 +864,12 @@ const Pn = X("Sun", [
864
864
  ["path", { d: "M20 12h2", key: "1q8mjw" }],
865
865
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
866
866
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
867
- ]), An = () => {
867
+ ]), Pn = () => {
868
868
  const { navigation: t } = ye();
869
869
  return /* @__PURE__ */ a.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
870
870
  fe,
871
871
  {
872
- className: ({ isActive: n }) => Pt(
872
+ className: ({ isActive: n }) => jt(
873
873
  "block py-3.5 font-medium -mb-px border-b-2",
874
874
  n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
875
875
  ),
@@ -878,7 +878,7 @@ const Pn = X("Sun", [
878
878
  }
879
879
  ) }, e.label)) }) });
880
880
  }, st = Xe(() => {
881
- const [t, e] = At(), { isLoggedIn: n, email: r } = ge(), { login: s, logout: i, meta: c } = ye(), v = t ? Cn : Pn;
881
+ const [t, e] = Pt(), { isLoggedIn: n, email: r } = ge(), { login: s, logout: i, meta: c } = ye(), v = t ? wn : jn;
882
882
  return /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
883
883
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
884
884
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
@@ -888,7 +888,7 @@ const Pn = X("Sun", [
888
888
  /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
889
889
  /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-prose", children: /* @__PURE__ */ a.jsxs("button", { className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-40 sm:w-72", children: [
890
890
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
891
- /* @__PURE__ */ a.jsx(jn, { size: 14 }),
891
+ /* @__PURE__ */ a.jsx(Cn, { size: 14 }),
892
892
  "Search"
893
893
  ] }),
894
894
  /* @__PURE__ */ a.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
@@ -923,11 +923,11 @@ const Pn = X("Sun", [
923
923
  ] })
924
924
  ] })
925
925
  ] }),
926
- /* @__PURE__ */ a.jsx(An, {})
926
+ /* @__PURE__ */ a.jsx(Pn, {})
927
927
  ] }) });
928
928
  }), at = {
929
929
  Header: st
930
- }, Nn = Jt(at), Rn = Nn.Provider, Dn = () => {
930
+ }, An = Yt(at), Nn = An.Provider, Rn = () => {
931
931
  const t = W(), { setActiveAnchor: e } = xe();
932
932
  z(() => {
933
933
  if (!t.hash) return;
@@ -944,13 +944,13 @@ const Pn = X("Sun", [
944
944
  });
945
945
  return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
946
946
  }, [t.hash, e]);
947
- }, Mn = () => {
947
+ }, Dn = () => {
948
948
  const t = W(), e = re(t.pathname);
949
949
  z(() => {
950
950
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
951
951
  }, [t.pathname]);
952
952
  };
953
- var Oe = "Collapsible", [Tn, Gn] = Nt(Oe), [Ln, _e] = Tn(Oe), it = T.forwardRef(
953
+ var Oe = "Collapsible", [Mn, Gn] = At(Oe), [Tn, _e] = Mn(Oe), it = T.forwardRef(
954
954
  (t, e) => {
955
955
  const {
956
956
  __scopeCollapsible: n,
@@ -959,17 +959,17 @@ var Oe = "Collapsible", [Tn, Gn] = Nt(Oe), [Ln, _e] = Tn(Oe), it = T.forwardRef(
959
959
  disabled: i,
960
960
  onOpenChange: c,
961
961
  ...v
962
- } = t, [_ = !1, g] = Rt({
962
+ } = t, [_ = !1, g] = Nt({
963
963
  prop: r,
964
964
  defaultProp: s,
965
965
  onChange: c
966
966
  });
967
967
  return /* @__PURE__ */ a.jsx(
968
- Ln,
968
+ Tn,
969
969
  {
970
970
  scope: n,
971
971
  disabled: i,
972
- contentId: Dt(),
972
+ contentId: Rt(),
973
973
  open: _,
974
974
  onOpenToggle: T.useCallback(() => g((l) => !l), [g]),
975
975
  children: /* @__PURE__ */ a.jsx(
@@ -1000,7 +1000,7 @@ var ot = "CollapsibleTrigger", ct = T.forwardRef(
1000
1000
  disabled: s.disabled,
1001
1001
  ...r,
1002
1002
  ref: e,
1003
- onClick: Mt(t.onClick, s.onOpenToggle)
1003
+ onClick: Dt(t.onClick, s.onOpenToggle)
1004
1004
  }
1005
1005
  );
1006
1006
  }
@@ -1009,16 +1009,16 @@ ct.displayName = ot;
1009
1009
  var Ee = "CollapsibleContent", lt = T.forwardRef(
1010
1010
  (t, e) => {
1011
1011
  const { forceMount: n, ...r } = t, s = _e(Ee, t.__scopeCollapsible);
1012
- return /* @__PURE__ */ a.jsx(Tt, { present: n || s.open, children: ({ present: i }) => /* @__PURE__ */ a.jsx(In, { ...r, ref: e, present: i }) });
1012
+ return /* @__PURE__ */ a.jsx(Mt, { present: n || s.open, children: ({ present: i }) => /* @__PURE__ */ a.jsx(Ln, { ...r, ref: e, present: i }) });
1013
1013
  }
1014
1014
  );
1015
1015
  lt.displayName = Ee;
1016
- var In = T.forwardRef((t, e) => {
1017
- const { __scopeCollapsible: n, present: r, children: s, ...i } = t, c = _e(Ee, n), [v, _] = T.useState(r), g = T.useRef(null), l = Lt(e, g), d = T.useRef(0), f = d.current, p = T.useRef(0), x = p.current, y = c.open || v, b = T.useRef(y), A = T.useRef();
1016
+ var Ln = T.forwardRef((t, e) => {
1017
+ const { __scopeCollapsible: n, present: r, children: s, ...i } = t, c = _e(Ee, n), [v, _] = T.useState(r), g = T.useRef(null), l = Tt(e, g), d = T.useRef(0), f = d.current, p = T.useRef(0), x = p.current, y = c.open || v, b = T.useRef(y), A = T.useRef();
1018
1018
  return T.useEffect(() => {
1019
1019
  const E = requestAnimationFrame(() => b.current = !1);
1020
1020
  return () => cancelAnimationFrame(E);
1021
- }, []), It(() => {
1021
+ }, []), Lt(() => {
1022
1022
  const E = g.current;
1023
1023
  if (E) {
1024
1024
  A.current = A.current || {
@@ -1050,19 +1050,19 @@ function we(t) {
1050
1050
  return t ? "open" : "closed";
1051
1051
  }
1052
1052
  var ut = it, dt = ct, ht = lt;
1053
- function kn(t) {
1053
+ function In(t) {
1054
1054
  return !0;
1055
1055
  }
1056
- const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1056
+ const kn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1057
1057
  item: t,
1058
1058
  defaultOpen: e,
1059
1059
  path: n
1060
1060
  }) => {
1061
- const [r, s] = Zt(e), i = W(), c = re(i.pathname);
1061
+ const [r, s] = Jt(e), i = W(), c = re(i.pathname);
1062
1062
  return z(() => {
1063
1063
  !r && c.current !== i.pathname && s(Se(t, i.pathname, n)), c.current = i.pathname;
1064
1064
  }, [r, t, n, i.pathname]), [r, s];
1065
- }, ee = Qt(
1065
+ }, ee = qt(
1066
1066
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
1067
1067
  {
1068
1068
  variants: {
@@ -1071,12 +1071,12 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1071
1071
  false: "text-foreground/80"
1072
1072
  },
1073
1073
  isMuted: {
1074
- true: "opacity-60",
1074
+ true: "text-foreground/30",
1075
1075
  false: ""
1076
1076
  }
1077
1077
  }
1078
1078
  }
1079
- ), Qn = "data-anchor", pt = ({
1079
+ ), qn = "data-anchor", pt = ({
1080
1080
  category: t,
1081
1081
  item: e,
1082
1082
  activeAnchor: n,
@@ -1088,12 +1088,11 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1088
1088
  path: i,
1089
1089
  defaultOpen: () => Se(e, c.pathname, i)
1090
1090
  });
1091
- if (kt(e)) {
1091
+ if (It(e)) {
1092
1092
  const l = ne(
1093
1093
  "flex items-center gap-2",
1094
1094
  ee({
1095
- isActive: e.href === c.pathname,
1096
- isMuted: !0
1095
+ isActive: e.href === c.pathname
1097
1096
  })
1098
1097
  );
1099
1098
  return e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
@@ -1105,14 +1104,14 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1105
1104
  rel: "noopener noreferrer",
1106
1105
  children: [
1107
1106
  e.label,
1108
- /* @__PURE__ */ a.jsx(wn, { size: 14 })
1107
+ /* @__PURE__ */ a.jsx(En, { size: 14 })
1109
1108
  ]
1110
1109
  }
1111
1110
  ) : /* @__PURE__ */ a.jsx(fe, { className: l, to: e.href, children: e.label });
1112
1111
  }
1113
1112
  const g = /* @__PURE__ */ a.jsxs("div", { className: "flex justify-between w-full", children: [
1114
1113
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
1115
- kn(e.icon) && /* @__PURE__ */ a.jsx(qn, { name: e.icon, size: 16 }),
1114
+ In(e.icon) && /* @__PURE__ */ a.jsx(kn, { name: e.icon, size: 16 }),
1116
1115
  typeof e.label != "string" ? e.label : /* @__PURE__ */ a.jsx("span", { className: "truncate", children: e.label })
1117
1116
  ] }),
1118
1117
  e.children && /* @__PURE__ */ a.jsx(
@@ -1133,7 +1132,10 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1133
1132
  /* @__PURE__ */ a.jsx(
1134
1133
  dt,
1135
1134
  {
1136
- className: ne("group text-start", ee({ isActive: !1 })),
1135
+ className: ne(
1136
+ "group text-start",
1137
+ ee({ isActive: !1 })
1138
+ ),
1137
1139
  children: g
1138
1140
  }
1139
1141
  ),
@@ -1151,12 +1153,13 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1151
1153
  ]
1152
1154
  }
1153
1155
  ) : e.path.startsWith("#") ? /* @__PURE__ */ a.jsx(
1154
- qt,
1156
+ kt,
1155
1157
  {
1156
1158
  to: e.path,
1157
- [Qn]: e.path,
1159
+ [qn]: e.path,
1158
1160
  className: ee({
1159
- isActive: e.path.slice(1) === n
1161
+ isActive: e.path.slice(1) === n,
1162
+ isMuted: e.muted
1160
1163
  }),
1161
1164
  children: g
1162
1165
  }
@@ -1168,10 +1171,10 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1168
1171
  children: g
1169
1172
  }
1170
1173
  ) });
1171
- }, Vn = ({
1174
+ }, Qn = ({
1172
1175
  category: t
1173
1176
  }) => {
1174
- const { activeAnchor: e } = xe(), n = Vt(), r = W(), s = t.collapsible ?? !0, [i, c] = ft({
1177
+ const { activeAnchor: e } = xe(), n = Qt(), r = W(), s = t.collapsible ?? !0, [i, c] = ft({
1175
1178
  item: t,
1176
1179
  path: (n == null ? void 0 : n.path) ?? "",
1177
1180
  defaultOpen: () => !s || t.expanded || Se(t, r.pathname, (n == null ? void 0 : n.path) ?? "")
@@ -1216,7 +1219,7 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1216
1219
  },
1217
1220
  t.label
1218
1221
  );
1219
- }, mt = en(({ children: t, className: e, data: n }, r) => /* @__PURE__ */ a.jsx(
1222
+ }, Vn = Zt(({ children: t, className: e, data: n }, r) => /* @__PURE__ */ a.jsx(
1220
1223
  "nav",
1221
1224
  {
1222
1225
  "data-navigation": n,
@@ -1228,38 +1231,32 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1228
1231
  children: t
1229
1232
  }
1230
1233
  )), Fn = () => {
1231
- const t = re(null), e = Ft();
1234
+ const t = re(null), e = Vt();
1232
1235
  return /* @__PURE__ */ a.jsx(
1233
- mt,
1236
+ Vn,
1234
1237
  {
1235
1238
  ref: t,
1236
1239
  data: e.data.items.length > 0 ? "true" : "false",
1237
- children: e.data.items.map((n) => /* @__PURE__ */ a.jsx(Vn, { category: n }, n.label))
1240
+ children: e.data.items.map((n) => /* @__PURE__ */ a.jsx(Qn, { category: n }, n.label))
1238
1241
  }
1239
1242
  );
1240
1243
  }, Ke = ({ children: t }) => {
1241
1244
  const e = W(), { setActiveAnchor: n } = xe(), { meta: r, handleAuthenticationResponse: s } = ye();
1242
1245
  z(() => {
1243
1246
  s(e);
1244
- }, [s, e]), Dn(), Mn();
1247
+ }, [s, e]), Rn(), Dn();
1245
1248
  const i = re(e.pathname);
1246
1249
  return z(() => {
1247
1250
  e.pathname !== i.current && n(""), i.current = e.pathname;
1248
1251
  }, [e.pathname, n]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1249
- /* @__PURE__ */ a.jsxs(Ht, { titleTemplate: r == null ? void 0 : r.pageTitle, children: [
1252
+ /* @__PURE__ */ a.jsxs(Ft, { titleTemplate: r == null ? void 0 : r.pageTitle, children: [
1250
1253
  /* @__PURE__ */ a.jsx("title", { children: "Home" }),
1251
1254
  (r == null ? void 0 : r.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: r.description }),
1252
1255
  (r == null ? void 0 : r.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: r.favicon })
1253
1256
  ] }),
1254
1257
  /* @__PURE__ */ a.jsx(st, {}),
1255
- /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12", children: [
1256
- /* @__PURE__ */ a.jsx(
1257
- Ye,
1258
- {
1259
- fallback: /* @__PURE__ */ a.jsx(mt, { children: "Loading..." }),
1260
- children: /* @__PURE__ */ a.jsx(Fn, {})
1261
- }
1262
- ),
1258
+ /* @__PURE__ */ a.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12", children: /* @__PURE__ */ a.jsxs(Ye, { fallback: /* @__PURE__ */ a.jsx("div", { className: "top-48", children: "Warte kurz..." }), children: [
1259
+ /* @__PURE__ */ a.jsx(Fn, {}),
1263
1260
  /* @__PURE__ */ a.jsx(
1264
1261
  "main",
1265
1262
  {
@@ -1267,10 +1264,10 @@ const qn = (t) => /* @__PURE__ */ a.jsx("div", {}), ft = ({
1267
1264
  lg:overflow-visible
1268
1265
  lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
1269
1266
  lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
1270
- children: t ?? /* @__PURE__ */ a.jsx(Kt, {})
1267
+ children: t ?? /* @__PURE__ */ a.jsx(Ht, {})
1271
1268
  }
1272
1269
  )
1273
- ] })
1270
+ ] }) })
1274
1271
  ] });
1275
1272
  };
1276
1273
  function Hn({ plugins: t }) {
@@ -1278,7 +1275,7 @@ function Hn({ plugins: t }) {
1278
1275
  const n = (t ?? []).flatMap(
1279
1276
  (r) => tt(r) ? r.getRoutes() : []
1280
1277
  );
1281
- return Bt([
1278
+ return Kt([
1282
1279
  {
1283
1280
  path: "/",
1284
1281
  element: /* @__PURE__ */ a.jsx(Ke, {}),
@@ -1287,19 +1284,19 @@ function Hn({ plugins: t }) {
1287
1284
  }
1288
1285
  ]);
1289
1286
  }, [t]);
1290
- return /* @__PURE__ */ a.jsx(zt, { router: e });
1287
+ return /* @__PURE__ */ a.jsx(Bt, { router: e });
1291
1288
  }
1292
1289
  const Kn = (t) => {
1293
1290
  const e = te(
1294
1291
  () => ({ ...at, ...t.overrides }),
1295
1292
  [t.overrides]
1296
1293
  ), n = te(
1297
- () => ({ ...Wt, ...t.mdxComponents }),
1294
+ () => ({ ...zt, ...t.mdxComponents }),
1298
1295
  [t.mdxComponents]
1299
- ), r = te(() => new En(t), [t]);
1296
+ ), r = te(() => new _n(t), [t]);
1300
1297
  return z(() => {
1301
1298
  r.initialize();
1302
- }, [r]), /* @__PURE__ */ a.jsx(Ut, { client: nt, children: /* @__PURE__ */ a.jsx(Gt, { children: /* @__PURE__ */ a.jsx($t, { value: r, children: /* @__PURE__ */ a.jsx(nn, { components: n, children: /* @__PURE__ */ a.jsx(Xt, { children: /* @__PURE__ */ a.jsx(Rn, { value: e, children: /* @__PURE__ */ a.jsx(Yt, { children: /* @__PURE__ */ a.jsx(
1299
+ }, [r]), /* @__PURE__ */ a.jsx(Wt, { client: nt, children: /* @__PURE__ */ a.jsx(Ut, { children: /* @__PURE__ */ a.jsx(Gt, { value: r, children: /* @__PURE__ */ a.jsx(tn, { components: n, children: /* @__PURE__ */ a.jsx($t, { children: /* @__PURE__ */ a.jsx(Nn, { value: e, children: /* @__PURE__ */ a.jsx(Xt, { children: /* @__PURE__ */ a.jsx(
1303
1300
  Ye,
1304
1301
  {
1305
1302
  fallback: /* @__PURE__ */ a.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
@@ -1310,6 +1307,6 @@ const Kn = (t) => {
1310
1307
  Bn.displayName = "DevPortal";
1311
1308
  export {
1312
1309
  Bn as DevPortal,
1313
- qn as DynamicIcon,
1310
+ kn as DynamicIcon,
1314
1311
  Yn as Link
1315
1312
  };