zudoku 0.1.1-dev.42 → 0.1.1-dev.44

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 (34) hide show
  1. package/dist/lib/components/DevPortal.d.ts +1 -2
  2. package/dist/lib/components/DevPortal.js +2 -2
  3. package/dist/lib/components/DevPortal.js.map +1 -1
  4. package/dist/lib/components/Layout.js +2 -1
  5. package/dist/lib/components/Layout.js.map +1 -1
  6. package/dist/lib/components/Spinner.d.ts +3 -0
  7. package/dist/lib/components/Spinner.js +4 -0
  8. package/dist/lib/components/Spinner.js.map +1 -0
  9. package/dist/lib/components/navigation/SideNavigation.js +1 -1
  10. package/dist/lib/components/navigation/SideNavigation.js.map +1 -1
  11. package/dist/lib/components/navigation/SideNavigationWrapper.d.ts +1 -1
  12. package/dist/lib/components/navigation/SideNavigationWrapper.js +1 -1
  13. package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -1
  14. package/dist/lib/plugins/openapi/OperationList.js +2 -0
  15. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  16. package/dist/lib/plugins/openapi/OperationListItem.js +3 -3
  17. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  18. package/dist/lib/plugins/openapi/playground/Playground.js +3 -2
  19. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  20. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +0 -1
  21. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  22. package/lib/{util-CnHdxZvn.js → Spinner-Zry2k_pD.js} +278 -268
  23. package/lib/zudoku.components.js +91 -85
  24. package/lib/zudoku.plugins.js +162 -149
  25. package/package.json +1 -1
  26. package/src/lib/components/DevPortal.tsx +2 -2
  27. package/src/lib/components/Layout.tsx +9 -3
  28. package/src/lib/components/Spinner.tsx +5 -0
  29. package/src/lib/components/navigation/SideNavigation.tsx +1 -1
  30. package/src/lib/components/navigation/SideNavigationWrapper.tsx +7 -3
  31. package/src/lib/plugins/openapi/OperationList.tsx +3 -0
  32. package/src/lib/plugins/openapi/OperationListItem.tsx +14 -4
  33. package/src/lib/plugins/openapi/playground/Playground.tsx +2 -1
  34. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +0 -1
@@ -3,21 +3,21 @@ var Oo = (e) => {
3
3
  };
4
4
  var ii = (e, n, t) => n.has(e) || Oo("Cannot " + t);
5
5
  var be = (e, n, t) => (ii(e, n, "read from private field"), t ? t.call(e) : n.get(e)), Zt = (e, n, t) => n.has(e) ? Oo("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), en = (e, n, t, r) => (ii(e, n, "write to private field"), r ? r.call(e, t) : n.set(e, t), t), tn = (e, n, t) => (ii(e, n, "access private method"), t);
6
- import { S as qf, a3 as zf, i as jo, a4 as Bf, n as Nl, a5 as Pl, a6 as Uf, a7 as Vf, k as St, l as y, I as le, K as Hf, a8 as Dn, u as $l, a9 as Wf, a2 as Sr, aa as Kf, q as Gf, ab as Vt, j as Ra, W as Jf, w as Qf, J as Yf, L as Fl, v as Xf, ac as ea, F as ta, R as Zf, ad as Kt, a1 as ed, ae as Rl, t as td, af as xn, C as wt, P as He, A as Re, ag as nd, D as rd, x as Vr, B as Hr, ah as id, y as Ia, z as Pn, ai as ad, aj as Wr, ak as od, al as sd, T as ld } from "./util-CnHdxZvn.js";
6
+ import { S as qf, a4 as zf, i as jo, a5 as Bf, n as Nl, a6 as Pl, a7 as Uf, a8 as Vf, k as Ft, l as y, I as le, K as Hf, a9 as Dn, u as $l, aa as Wf, a3 as Sr, ab as Kf, q as Gf, ac as Vt, j as Ra, X as Jf, w as Qf, J as Yf, L as Fl, v as Xf, ad as ea, F as ta, R as Zf, ae as Kt, a2 as ed, af as Rl, t as td, ag as xn, C as wt, P as He, A as Re, ah as nd, D as rd, x as Vr, B as Hr, ai as id, y as Ia, z as Pn, aj as ad, ak as Wr, T as od, al as sd, am as ld, U as ud } from "./Spinner-Zry2k_pD.js";
7
7
  import * as P from "react";
8
- import Q, { useState as Qt, useRef as Il, useEffect as _a, useMemo as _l, forwardRef as ud, Fragment as cr, createContext as cd, useContext as fd } from "react";
9
- import dd from "react-dom";
10
- import { u as pd, a as hd, C as md, c as yd, f as gd, P as bd } from "./urql-DMlBWUKL.js";
11
- import { createSharedWorkerClient as xd } from "virtual:zudoku-openapi-worker";
12
- var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
8
+ import Q, { useState as Qt, useRef as Il, useEffect as _a, useMemo as _l, forwardRef as cd, Fragment as cr, createContext as fd, useContext as dd } from "react";
9
+ import pd from "react-dom";
10
+ import { u as hd, a as md, C as yd, c as gd, f as bd, P as xd } from "./urql-DMlBWUKL.js";
11
+ import { createSharedWorkerClient as vd } from "virtual:zudoku-openapi-worker";
12
+ var jt, Nt, Ge, xt, kt, fr, na, jl, kd = (jl = class extends qf {
13
13
  constructor(t, r) {
14
14
  super();
15
15
  Zt(this, kt);
16
+ Zt(this, jt);
16
17
  Zt(this, Nt);
17
- Zt(this, Pt);
18
18
  Zt(this, Ge);
19
19
  Zt(this, xt);
20
- en(this, Nt, t), this.setOptions(r), this.bindMethods(), tn(this, kt, fr).call(this);
20
+ en(this, jt, t), this.setOptions(r), this.bindMethods(), tn(this, kt, fr).call(this);
21
21
  }
22
22
  bindMethods() {
23
23
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -25,7 +25,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
25
25
  setOptions(t) {
26
26
  var i;
27
27
  const r = this.options;
28
- this.options = be(this, Nt).defaultMutationOptions(t), zf(this.options, r) || be(this, Nt).getMutationCache().notify({
28
+ this.options = be(this, jt).defaultMutationOptions(t), zf(this.options, r) || be(this, jt).getMutationCache().notify({
29
29
  type: "observerOptionsUpdated",
30
30
  mutation: be(this, Ge),
31
31
  observer: this
@@ -39,7 +39,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
39
39
  tn(this, kt, fr).call(this), tn(this, kt, na).call(this, t);
40
40
  }
41
41
  getCurrentResult() {
42
- return be(this, Pt);
42
+ return be(this, Nt);
43
43
  }
44
44
  reset() {
45
45
  var t;
@@ -47,12 +47,12 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
47
47
  }
48
48
  mutate(t, r) {
49
49
  var i;
50
- return en(this, xt, r), (i = be(this, Ge)) == null || i.removeObserver(this), en(this, Ge, be(this, Nt).getMutationCache().build(be(this, Nt), this.options)), be(this, Ge).addObserver(this), be(this, Ge).execute(t);
50
+ return en(this, xt, r), (i = be(this, Ge)) == null || i.removeObserver(this), en(this, Ge, be(this, jt).getMutationCache().build(be(this, jt), this.options)), be(this, Ge).addObserver(this), be(this, Ge).execute(t);
51
51
  }
52
- }, Nt = new WeakMap(), Pt = new WeakMap(), Ge = new WeakMap(), xt = new WeakMap(), kt = new WeakSet(), fr = function() {
52
+ }, jt = new WeakMap(), Nt = new WeakMap(), Ge = new WeakMap(), xt = new WeakMap(), kt = new WeakSet(), fr = function() {
53
53
  var r;
54
54
  const t = ((r = be(this, Ge)) == null ? void 0 : r.state) ?? Bf();
55
- en(this, Pt, {
55
+ en(this, Nt, {
56
56
  ...t,
57
57
  isPending: t.status === "pending",
58
58
  isSuccess: t.status === "success",
@@ -65,7 +65,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
65
65
  Nl.batch(() => {
66
66
  var r, i, o, a, s, l, u, c;
67
67
  if (be(this, xt) && this.hasListeners()) {
68
- const f = be(this, Pt).variables, d = be(this, Pt).context;
68
+ const f = be(this, Nt).variables, d = be(this, Nt).context;
69
69
  (t == null ? void 0 : t.type) === "success" ? ((i = (r = be(this, xt)).onSuccess) == null || i.call(r, t.data, f, d), (a = (o = be(this, xt)).onSettled) == null || a.call(o, t.data, null, f, d)) : (t == null ? void 0 : t.type) === "error" && ((l = (s = be(this, xt)).onError) == null || l.call(s, t.error, f, d), (c = (u = be(this, xt)).onSettled) == null || c.call(
70
70
  u,
71
71
  void 0,
@@ -75,13 +75,13 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
75
75
  ));
76
76
  }
77
77
  this.listeners.forEach((f) => {
78
- f(be(this, Pt));
78
+ f(be(this, Nt));
79
79
  });
80
80
  });
81
81
  }, jl);
82
82
  function La(e, n) {
83
83
  const t = Pl(), [r] = P.useState(
84
- () => new vd(
84
+ () => new kd(
85
85
  t,
86
86
  e
87
87
  )
@@ -112,7 +112,7 @@ function La(e, n) {
112
112
  * This source code is licensed under the ISC license.
113
113
  * See the LICENSE file in the root directory of this source tree.
114
114
  */
115
- const kd = St("ChevronsUpDown", [
115
+ const wd = Ft("ChevronsUpDown", [
116
116
  ["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
117
117
  ["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
118
118
  ]);
@@ -122,7 +122,7 @@ const kd = St("ChevronsUpDown", [
122
122
  * This source code is licensed under the ISC license.
123
123
  * See the LICENSE file in the root directory of this source tree.
124
124
  */
125
- const wd = St("CirclePlay", [
125
+ const Sd = Ft("CirclePlay", [
126
126
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
127
127
  ["polygon", { points: "10 8 16 12 10 16 10 8", key: "1cimsy" }]
128
128
  ]);
@@ -132,7 +132,7 @@ const wd = St("CirclePlay", [
132
132
  * This source code is licensed under the ISC license.
133
133
  * See the LICENSE file in the root directory of this source tree.
134
134
  */
135
- const Sd = St("EyeOff", [
135
+ const Cd = Ft("EyeOff", [
136
136
  ["path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24", key: "1jxqfv" }],
137
137
  [
138
138
  "path",
@@ -153,7 +153,7 @@ const Sd = St("EyeOff", [
153
153
  * This source code is licensed under the ISC license.
154
154
  * See the LICENSE file in the root directory of this source tree.
155
155
  */
156
- const Cd = St("Eye", [
156
+ const Ed = Ft("Eye", [
157
157
  ["path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z", key: "rwhkz3" }],
158
158
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
159
159
  ]);
@@ -163,7 +163,7 @@ const Cd = St("Eye", [
163
163
  * This source code is licensed under the ISC license.
164
164
  * See the LICENSE file in the root directory of this source tree.
165
165
  */
166
- const Ed = St("ListTree", [
166
+ const Td = Ft("ListTree", [
167
167
  ["path", { d: "M21 12h-8", key: "1bmf0i" }],
168
168
  ["path", { d: "M21 6H8", key: "1pqkrb" }],
169
169
  ["path", { d: "M21 18h-8", key: "1tm79t" }],
@@ -176,16 +176,7 @@ const Ed = St("ListTree", [
176
176
  * This source code is licensed under the ISC license.
177
177
  * See the LICENSE file in the root directory of this source tree.
178
178
  */
179
- const Td = St("LoaderCircle", [
180
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
181
- ]);
182
- /**
183
- * @license lucide-react v0.378.0 - ISC
184
- *
185
- * This source code is licensed under the ISC license.
186
- * See the LICENSE file in the root directory of this source tree.
187
- */
188
- const Ad = St("RotateCw", [
179
+ const Ad = Ft("RotateCw", [
189
180
  ["path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8", key: "1p45f6" }],
190
181
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }]
191
182
  ]);
@@ -195,7 +186,7 @@ const Ad = St("RotateCw", [
195
186
  * This source code is licensed under the ISC license.
196
187
  * See the LICENSE file in the root directory of this source tree.
197
188
  */
198
- const Od = St("Trash", [
189
+ const Od = Ft("Trash", [
199
190
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
200
191
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
201
192
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
@@ -206,7 +197,7 @@ const Od = St("Trash", [
206
197
  * This source code is licensed under the ISC license.
207
198
  * See the LICENSE file in the root directory of this source tree.
208
199
  */
209
- const Da = St("X", [
200
+ const Da = Ft("X", [
210
201
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
211
202
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
212
203
  ]), jd = Hf(
@@ -365,7 +356,7 @@ const Id = ({
365
356
  variant: "outline",
366
357
  onClick: () => t((r) => !r),
367
358
  size: "icon",
368
- children: n ? /* @__PURE__ */ y.jsx(Sd, { size: 16 }) : /* @__PURE__ */ y.jsx(Cd, { size: 16 })
359
+ children: n ? /* @__PURE__ */ y.jsx(Cd, { size: 16 }) : /* @__PURE__ */ y.jsx(Ed, { size: 16 })
369
360
  }
370
361
  )
371
362
  ] });
@@ -607,7 +598,7 @@ var Bd = (e, n, t, r, i) => n ? {
607
598
  ...t[e] && t[e].types ? t[e].types : {},
608
599
  [r]: i || !0
609
600
  }
610
- } : {}, Tt = () => {
601
+ } : {}, Et = () => {
611
602
  const e = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
612
603
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (n) => {
613
604
  const t = (Math.random() * 16 + e) % 16 | 0;
@@ -638,7 +629,7 @@ const hn = (e, n, t, r) => {
638
629
  var Kl = (e, n, t) => {
639
630
  const r = Qe(D(e, t));
640
631
  return ce(r, "root", n[t]), ce(e, t, r), e;
641
- }, za = (e) => e.type === "file", $t = (e) => typeof e == "function", Tr = (e) => {
632
+ }, za = (e) => e.type === "file", Pt = (e) => typeof e == "function", Tr = (e) => {
642
633
  if (!Ma)
643
634
  return !1;
644
635
  const n = e ? e.ownerDocument : 0;
@@ -734,7 +725,7 @@ var nn = (e) => je(e) && !Ar(e) ? e : {
734
725
  return j(M), C;
735
726
  }
736
727
  if (p) {
737
- if ($t(p)) {
728
+ if (Pt(p)) {
738
729
  const R = await p(g, n), M = Fo(R, w);
739
730
  if (M && (C[h] = {
740
731
  ...M,
@@ -805,12 +796,12 @@ function Ce(e, n) {
805
796
  }
806
797
  var Ro = (e, n, t) => (e[n] = t, e);
807
798
  function Ua(e) {
808
- const n = Wn(), { control: t = n.control, name: r, keyName: i = "id", shouldUnregister: o } = e, [a, s] = Q.useState(t._getFieldArray(r)), l = Q.useRef(t._getFieldArray(r).map(Tt)), u = Q.useRef(a), c = Q.useRef(r), f = Q.useRef(!1);
799
+ const n = Wn(), { control: t = n.control, name: r, keyName: i = "id", shouldUnregister: o } = e, [a, s] = Q.useState(t._getFieldArray(r)), l = Q.useRef(t._getFieldArray(r).map(Et)), u = Q.useRef(a), c = Q.useRef(r), f = Q.useRef(!1);
809
800
  c.current = r, u.current = a, t._names.array.add(r), e.rules && t.register(r, e.rules), Kr({
810
801
  next: ({ values: C, name: k }) => {
811
802
  if (k === c.current || !k) {
812
803
  const N = D(C, c.current);
813
- Array.isArray(N) && (s(N), l.current = N.map(Tt));
804
+ Array.isArray(N) && (s(N), l.current = N.map(Et));
814
805
  }
815
806
  },
816
807
  subject: t._subjects.array
@@ -819,12 +810,12 @@ function Ua(e) {
819
810
  f.current = !0, t._updateFieldArray(r, C);
820
811
  }, [t, r]), p = (C, k) => {
821
812
  const N = Qe(Oe(C)), F = oi(t._getFieldArray(r), N);
822
- t._names.focus = ai(r, F.length - 1, k), l.current = oi(l.current, N.map(Tt)), d(F), s(F), t._updateFieldArray(r, F, oi, {
813
+ t._names.focus = ai(r, F.length - 1, k), l.current = oi(l.current, N.map(Et)), d(F), s(F), t._updateFieldArray(r, F, oi, {
823
814
  argA: si(C)
824
815
  });
825
816
  }, h = (C, k) => {
826
817
  const N = Qe(Oe(C)), F = ci(t._getFieldArray(r), N);
827
- t._names.focus = ai(r, 0, k), l.current = ci(l.current, N.map(Tt)), d(F), s(F), t._updateFieldArray(r, F, ci, {
818
+ t._names.focus = ai(r, 0, k), l.current = ci(l.current, N.map(Et)), d(F), s(F), t._updateFieldArray(r, F, ci, {
828
819
  argA: si(C)
829
820
  });
830
821
  }, m = (C) => {
@@ -834,7 +825,7 @@ function Ua(e) {
834
825
  });
835
826
  }, b = (C, k, N) => {
836
827
  const F = Qe(Oe(k)), q = li(t._getFieldArray(r), C, F);
837
- t._names.focus = ai(r, C, N), l.current = li(l.current, C, F.map(Tt)), d(q), s(q), t._updateFieldArray(r, q, li, {
828
+ t._names.focus = ai(r, C, N), l.current = li(l.current, C, F.map(Et)), d(q), s(q), t._updateFieldArray(r, q, li, {
838
829
  argA: C,
839
830
  argB: si(k)
840
831
  });
@@ -852,13 +843,13 @@ function Ua(e) {
852
843
  }, !1);
853
844
  }, w = (C, k) => {
854
845
  const N = Oe(k), F = Ro(t._getFieldArray(r), C, N);
855
- l.current = [...F].map((q, T) => !q || T === C ? Tt() : l.current[T]), d(F), s([...F]), t._updateFieldArray(r, F, Ro, {
846
+ l.current = [...F].map((q, T) => !q || T === C ? Et() : l.current[T]), d(F), s([...F]), t._updateFieldArray(r, F, Ro, {
856
847
  argA: C,
857
848
  argB: N
858
849
  }, !0, !1);
859
850
  }, j = (C) => {
860
851
  const k = Qe(Oe(C));
861
- l.current = k.map(Tt), d([...k]), s([...k]), t._updateFieldArray(r, [...k], (N) => N, {}, !0, !1);
852
+ l.current = k.map(Et), d([...k]), s([...k]), t._updateFieldArray(r, [...k], (N) => N, {}, !0, !1);
862
853
  };
863
854
  return Q.useEffect(() => {
864
855
  if (t._state.action = !1, ia(r, t._names) && t._subjects.state.next({
@@ -897,7 +888,7 @@ function Ua(e) {
897
888
  replace: Q.useCallback(j, [d, r, t]),
898
889
  fields: Q.useMemo(() => a.map((C, k) => ({
899
890
  ...C,
900
- [i]: l.current[k] || Tt()
891
+ [i]: l.current[k] || Et()
901
892
  })), [a, i])
902
893
  };
903
894
  }
@@ -943,7 +934,7 @@ function Ut(e, n) {
943
934
  }
944
935
  var Ql = (e) => e.type === "select-multiple", Wd = (e) => Ba(e) || Vn(e), hi = (e) => Tr(e) && e.isConnected, Yl = (e) => {
945
936
  for (const n in e)
946
- if ($t(e[n]))
937
+ if (Pt(e[n]))
947
938
  return !0;
948
939
  return !1;
949
940
  };
@@ -1016,7 +1007,7 @@ function Xd(e = {}) {
1016
1007
  }, t = {
1017
1008
  submitCount: 0,
1018
1009
  isDirty: !1,
1019
- isLoading: $t(n.defaultValues),
1010
+ isLoading: Pt(n.defaultValues),
1020
1011
  isValidating: !1,
1021
1012
  isSubmitted: !1,
1022
1013
  isSubmitting: !1,
@@ -1221,10 +1212,10 @@ function Xd(e = {}) {
1221
1212
  }), ue)
1222
1213
  return c.isValid && b(), it && f.state.next({ name: $, ...Be ? {} : rt });
1223
1214
  if (!Z && Be && f.state.next({ ...t }), n.resolver) {
1224
- const { errors: Et } = await F([$]);
1215
+ const { errors: Ct } = await F([$]);
1225
1216
  if (W(K), U) {
1226
- const Lt = Io(t.errors, r, $), Le = Io(Et, r, Lt.name || $);
1227
- A = Le.error, $ = Le.name, I = Je(Et);
1217
+ const Lt = Io(t.errors, r, $), Le = Io(Ct, r, Lt.name || $);
1218
+ A = Le.error, $ = Le.name, I = Je(Ct);
1228
1219
  }
1229
1220
  } else
1230
1221
  x([$], !0), A = (await aa(z, o, h, n.shouldUseNativeValidation))[$], x([$]), W(K), U && (A ? I = !1 : c.isValid && (I = await T(r, !0)));
@@ -1274,7 +1265,7 @@ function Xd(e = {}) {
1274
1265
  errors: t.errors,
1275
1266
  isValid: !1
1276
1267
  }), $ && $.shouldFocus && U && U.focus && U.focus();
1277
- }, me = (E, O) => $t(E) ? f.values.subscribe({
1268
+ }, me = (E, O) => Pt(E) ? f.values.subscribe({
1278
1269
  next: ($) => E(M(void 0, O), $)
1279
1270
  }) : M(E, O, !0), ne = (E, O = {}) => {
1280
1271
  for (const $ of E ? Qe(E) : s.mount)
@@ -1427,7 +1418,7 @@ function Xd(e = {}) {
1427
1418
  isSubmitSuccessful: O.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
1428
1419
  isSubmitting: !1
1429
1420
  });
1430
- }, We = (E, O) => _e($t(E) ? E(o) : E, O);
1421
+ }, We = (E, O) => _e(Pt(E) ? E(o) : E, O);
1431
1422
  return {
1432
1423
  control: {
1433
1424
  register: ye,
@@ -1444,7 +1435,7 @@ function Xd(e = {}) {
1444
1435
  _updateDisabledField: xe,
1445
1436
  _getFieldArray: H,
1446
1437
  _reset: _e,
1447
- _resetDefaultValues: () => $t(n.defaultValues) && n.defaultValues().then((E) => {
1438
+ _resetDefaultValues: () => Pt(n.defaultValues) && n.defaultValues().then((E) => {
1448
1439
  We(E, n.resetOptions), f.state.next({
1449
1440
  isLoading: !1
1450
1441
  });
@@ -1521,7 +1512,7 @@ function eu(e = {}) {
1521
1512
  const n = Q.useRef(), t = Q.useRef(), [r, i] = Q.useState({
1522
1513
  isDirty: !1,
1523
1514
  isValidating: !1,
1524
- isLoading: $t(e.defaultValues),
1515
+ isLoading: Pt(e.defaultValues),
1525
1516
  isSubmitted: !1,
1526
1517
  isSubmitting: !1,
1527
1518
  isSubmitSuccessful: !1,
@@ -1532,7 +1523,7 @@ function eu(e = {}) {
1532
1523
  validatingFields: {},
1533
1524
  errors: e.errors || {},
1534
1525
  disabled: e.disabled || !1,
1535
- defaultValues: $t(e.defaultValues) ? void 0 : e.defaultValues
1526
+ defaultValues: Pt(e.defaultValues) ? void 0 : e.defaultValues
1536
1527
  });
1537
1528
  n.current || (n.current = {
1538
1529
  ...Xd(e),
@@ -1651,7 +1642,7 @@ const Zd = ({
1651
1642
  }
1652
1643
  })).json() : [];
1653
1644
  }
1654
- }), p0 = (e) => {
1645
+ }), h0 = (e) => {
1655
1646
  const n = "endpoint" in e ? e.endpoint : tp, t = "getKeys" in e ? e : np(n);
1656
1647
  return {
1657
1648
  getIdentities: async (r) => (await t.getKeys(r)).map((o) => ({
@@ -5767,14 +5758,14 @@ function ry(e) {
5767
5758
  (Be[1] || rs).call(K, void 0, Be[0]);
5768
5759
  }
5769
5760
  for (I.position = {
5770
- start: At(
5761
+ start: Tt(
5771
5762
  A.length > 0 ? A[0][1].start : {
5772
5763
  line: 1,
5773
5764
  column: 1,
5774
5765
  offset: 0
5775
5766
  }
5776
5767
  ),
5777
- end: At(
5768
+ end: Tt(
5778
5769
  A.length > 0 ? A[A.length - 2][1].end : {
5779
5770
  line: 1,
5780
5771
  column: 1,
@@ -5786,7 +5777,7 @@ function ry(e) {
5786
5777
  return I;
5787
5778
  }
5788
5779
  function i(A, I, K) {
5789
- let Z = I - 1, ue = -1, Be = !1, rt, it, Et, Lt;
5780
+ let Z = I - 1, ue = -1, Be = !1, rt, it, Ct, Lt;
5790
5781
  for (; ++Z <= K; ) {
5791
5782
  const Le = A[Z];
5792
5783
  switch (Le[1].type) {
@@ -5797,7 +5788,7 @@ function ry(e) {
5797
5788
  break;
5798
5789
  }
5799
5790
  case "lineEndingBlank": {
5800
- Le[0] === "enter" && (rt && !Lt && !ue && !Et && (Et = Z), Lt = void 0);
5791
+ Le[0] === "enter" && (rt && !Lt && !ue && !Ct && (Ct = Z), Lt = void 0);
5801
5792
  break;
5802
5793
  }
5803
5794
  case "linePrefix":
@@ -5819,7 +5810,7 @@ function ry(e) {
5819
5810
  it && (A[it][1].type = "lineEndingBlank", Be = !0), gt[1].type = "lineEnding", it = Xt;
5820
5811
  } else if (!(gt[1].type === "linePrefix" || gt[1].type === "blockQuotePrefix" || gt[1].type === "blockQuotePrefixWhitespace" || gt[1].type === "blockQuoteMarker" || gt[1].type === "listItemIndent")) break;
5821
5812
  }
5822
- Et && (!it || Et < it) && (rt._spread = !0), rt.end = Object.assign(
5813
+ Ct && (!it || Ct < it) && (rt._spread = !0), rt.end = Object.assign(
5823
5814
  {},
5824
5815
  it ? A[it][1].start : Le[1].end
5825
5816
  ), A.splice(it || Z, 0, ["exit", rt, Le[2]]), Z++, K++;
@@ -5832,7 +5823,7 @@ function ry(e) {
5832
5823
  // @ts-expect-error: we’ll add `end` in a second.
5833
5824
  end: void 0
5834
5825
  };
5835
- rt = Xt, A.splice(Z, 0, ["enter", Xt, Le[2]]), Z++, K++, Et = void 0, Lt = !0;
5826
+ rt = Xt, A.splice(Z, 0, ["enter", Xt, Le[2]]), Z++, K++, Ct = void 0, Lt = !0;
5836
5827
  }
5837
5828
  }
5838
5829
  }
@@ -5852,7 +5843,7 @@ function ry(e) {
5852
5843
  }
5853
5844
  function s(A, I, K) {
5854
5845
  this.stack[this.stack.length - 1].children.push(A), this.stack.push(A), this.tokenStack.push([I, K]), A.position = {
5855
- start: At(I.start),
5846
+ start: Tt(I.start),
5856
5847
  // @ts-expect-error: `end` will be patched later.
5857
5848
  end: void 0
5858
5849
  };
@@ -5873,7 +5864,7 @@ function ry(e) {
5873
5864
  end: A.end
5874
5865
  }) + "): it’s not open"
5875
5866
  );
5876
- K.position.end = At(A.end);
5867
+ K.position.end = Tt(A.end);
5877
5868
  }
5878
5869
  function c() {
5879
5870
  return Qa(this.stack.pop());
@@ -5941,20 +5932,20 @@ function ry(e) {
5941
5932
  const K = this.stack[this.stack.length - 1].children;
5942
5933
  let Z = K[K.length - 1];
5943
5934
  (!Z || Z.type !== "text") && (Z = L(), Z.position = {
5944
- start: At(A.start),
5935
+ start: Tt(A.start),
5945
5936
  // @ts-expect-error: we’ll add `end` later.
5946
5937
  end: void 0
5947
5938
  }, K.push(Z)), this.stack.push(Z);
5948
5939
  }
5949
5940
  function T(A) {
5950
5941
  const I = this.stack.pop();
5951
- I.value += this.sliceSerialize(A), I.position.end = At(A.end);
5942
+ I.value += this.sliceSerialize(A), I.position.end = Tt(A.end);
5952
5943
  }
5953
5944
  function B(A) {
5954
5945
  const I = this.stack[this.stack.length - 1];
5955
5946
  if (this.data.atHardBreak) {
5956
5947
  const K = I.children[I.children.length - 1];
5957
- K.position.end = At(A.end), this.data.atHardBreak = void 0;
5948
+ K.position.end = Tt(A.end), this.data.atHardBreak = void 0;
5958
5949
  return;
5959
5950
  }
5960
5951
  !this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(I.type) && (q.call(this, A), T.call(this, A));
@@ -6035,7 +6026,7 @@ function ry(e) {
6035
6026
  K === "characterReferenceMarkerNumeric" ? 10 : 16
6036
6027
  ), this.data.characterReferenceType = void 0) : Z = Ya(I);
6037
6028
  const ue = this.stack.pop();
6038
- ue.value += Z, ue.position.end = At(A.end);
6029
+ ue.value += Z, ue.position.end = Tt(A.end);
6039
6030
  }
6040
6031
  function xe(A) {
6041
6032
  T.call(this, A);
@@ -6158,7 +6149,7 @@ function ry(e) {
6158
6149
  };
6159
6150
  }
6160
6151
  }
6161
- function At(e) {
6152
+ function Tt(e) {
6162
6153
  return {
6163
6154
  line: e.line,
6164
6155
  column: e.column,
@@ -9509,7 +9500,7 @@ const tx = {
9509
9500
  }, rc = {
9510
9501
  tokenize: ox,
9511
9502
  previous: ac
9512
- }, Ct = {
9503
+ }, St = {
9513
9504
  tokenize: ix,
9514
9505
  previous: oc
9515
9506
  }, yt = {};
@@ -9520,15 +9511,15 @@ function rx() {
9520
9511
  }
9521
9512
  let Dt = 48;
9522
9513
  for (; Dt < 123; )
9523
- yt[Dt] = Ct, Dt++, Dt === 58 ? Dt = 65 : Dt === 91 && (Dt = 97);
9524
- yt[43] = Ct;
9525
- yt[45] = Ct;
9526
- yt[46] = Ct;
9527
- yt[95] = Ct;
9528
- yt[72] = [Ct, rc];
9529
- yt[104] = [Ct, rc];
9530
- yt[87] = [Ct, nc];
9531
- yt[119] = [Ct, nc];
9514
+ yt[Dt] = St, Dt++, Dt === 58 ? Dt = 65 : Dt === 91 && (Dt = 97);
9515
+ yt[43] = St;
9516
+ yt[45] = St;
9517
+ yt[46] = St;
9518
+ yt[95] = St;
9519
+ yt[72] = [St, rc];
9520
+ yt[104] = [St, rc];
9521
+ yt[87] = [St, nc];
9522
+ yt[119] = [St, nc];
9532
9523
  function ix(e, n, t) {
9533
9524
  const r = this;
9534
9525
  let i, o;
@@ -10353,7 +10344,7 @@ const Mx = /* @__PURE__ */ Ra(Dx), lc = "data-active", Ps = ({
10353
10344
  });
10354
10345
  }, [n]), /* @__PURE__ */ y.jsxs("aside", { className: "sticky top-[--header-height] h-[calc(100vh-var(--header-height))] pt-[--padding-content-top] pb-[--padding-content-bottom] overflow-y-auto ps-1 text-sm", children: [
10355
10346
  /* @__PURE__ */ y.jsxs("div", { className: "flex items-center gap-2 font-medium mb-2", children: [
10356
- /* @__PURE__ */ y.jsx(Ed, { size: 16 }),
10347
+ /* @__PURE__ */ y.jsx(Td, { size: 16 }),
10357
10348
  "On this page"
10358
10349
  ] }),
10359
10350
  /* @__PURE__ */ y.jsx(
@@ -10492,7 +10483,7 @@ const Mx = /* @__PURE__ */ Ra(Dx), lc = "data-active", Ps = ({
10492
10483
  if (!("children" in n || !ta(n)))
10493
10484
  return /* @__PURE__ */ y.jsx(Rl, { to: t, replace: !0 });
10494
10485
  }) : null;
10495
- }, h0 = ({
10486
+ }, m0 = ({
10496
10487
  markdownFiles: e
10497
10488
  }) => ({
10498
10489
  getRoutes() {
@@ -10774,15 +10765,15 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
10774
10765
  let m = function(w) {
10775
10766
  if (p.paused || !s) return;
10776
10767
  const j = w.target;
10777
- s.contains(j) ? f.current = j : Ot(f.current, { select: !0 });
10768
+ s.contains(j) ? f.current = j : At(f.current, { select: !0 });
10778
10769
  }, b = function(w) {
10779
10770
  if (p.paused || !s) return;
10780
10771
  const j = w.relatedTarget;
10781
- j !== null && (s.contains(j) || Ot(f.current, { select: !0 }));
10772
+ j !== null && (s.contains(j) || At(f.current, { select: !0 }));
10782
10773
  }, x = function(w) {
10783
10774
  if (document.activeElement === document.body)
10784
10775
  for (const C of w)
10785
- C.removedNodes.length > 0 && Ot(s);
10776
+ C.removedNodes.length > 0 && At(s);
10786
10777
  };
10787
10778
  document.addEventListener("focusin", m), document.addEventListener("focusout", b);
10788
10779
  const g = new MutationObserver(x);
@@ -10796,12 +10787,12 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
10796
10787
  const m = document.activeElement;
10797
10788
  if (!s.contains(m)) {
10798
10789
  const x = new CustomEvent(Fi, Is);
10799
- s.addEventListener(Fi, u), s.dispatchEvent(x), x.defaultPrevented || (sv(dv(hc(s)), { select: !0 }), document.activeElement === m && Ot(s));
10790
+ s.addEventListener(Fi, u), s.dispatchEvent(x), x.defaultPrevented || (sv(dv(hc(s)), { select: !0 }), document.activeElement === m && At(s));
10800
10791
  }
10801
10792
  return () => {
10802
10793
  s.removeEventListener(Fi, u), setTimeout(() => {
10803
10794
  const x = new CustomEvent(Ri, Is);
10804
- s.addEventListener(Ri, c), s.dispatchEvent(x), x.defaultPrevented || Ot(m ?? document.body, { select: !0 }), s.removeEventListener(Ri, c), Ls.remove(p);
10795
+ s.addEventListener(Ri, c), s.dispatchEvent(x), x.defaultPrevented || At(m ?? document.body, { select: !0 }), s.removeEventListener(Ri, c), Ls.remove(p);
10805
10796
  }, 0);
10806
10797
  };
10807
10798
  }
@@ -10812,7 +10803,7 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
10812
10803
  const b = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, x = document.activeElement;
10813
10804
  if (b && x) {
10814
10805
  const g = m.currentTarget, [w, j] = lv(g);
10815
- w && j ? !m.shiftKey && x === j ? (m.preventDefault(), t && Ot(w, { select: !0 })) : m.shiftKey && x === w && (m.preventDefault(), t && Ot(j, { select: !0 })) : x === g && m.preventDefault();
10806
+ w && j ? !m.shiftKey && x === j ? (m.preventDefault(), t && At(w, { select: !0 })) : m.shiftKey && x === w && (m.preventDefault(), t && At(j, { select: !0 })) : x === g && m.preventDefault();
10816
10807
  }
10817
10808
  },
10818
10809
  [t, r, p.paused]
@@ -10823,7 +10814,7 @@ pc.displayName = ov;
10823
10814
  function sv(e, { select: n = !1 } = {}) {
10824
10815
  const t = document.activeElement;
10825
10816
  for (const r of e)
10826
- if (Ot(r, { select: n }), document.activeElement !== t) return;
10817
+ if (At(r, { select: n }), document.activeElement !== t) return;
10827
10818
  }
10828
10819
  function lv(e) {
10829
10820
  const n = hc(e), t = _s(n, e), r = _s(n.reverse(), e);
@@ -10855,7 +10846,7 @@ function uv(e, { upTo: n }) {
10855
10846
  function cv(e) {
10856
10847
  return e instanceof HTMLInputElement && "select" in e;
10857
10848
  }
10858
- function Ot(e, { select: n = !1 } = {}) {
10849
+ function At(e, { select: n = !1 } = {}) {
10859
10850
  if (e && e.focus) {
10860
10851
  const t = document.activeElement;
10861
10852
  e.focus({ preventScroll: !0 }), e !== t && cv(e) && n && e.select();
@@ -10887,7 +10878,7 @@ var pv = "Portal", mc = P.forwardRef((e, n) => {
10887
10878
  const { container: t, ...r } = e, [i, o] = P.useState(!1);
10888
10879
  rd(() => o(!0), []);
10889
10880
  const a = t || i && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
10890
- return a ? dd.createPortal(/* @__PURE__ */ y.jsx(He.div, { ...r, ref: n }), a) : null;
10881
+ return a ? pd.createPortal(/* @__PURE__ */ y.jsx(He.div, { ...r, ref: n }), a) : null;
10891
10882
  });
10892
10883
  mc.displayName = pv;
10893
10884
  var Ii = 0;
@@ -11417,7 +11408,7 @@ var Yv = function(e) {
11417
11408
  return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live]"))), Zv(r, i, t, "aria-hidden")) : function() {
11418
11409
  return null;
11419
11410
  };
11420
- }, lo = "Dialog", [Ec, m0] = Vr(lo), [tk, st] = Ec(lo), Tc = (e) => {
11411
+ }, lo = "Dialog", [Ec, y0] = Vr(lo), [tk, st] = Ec(lo), Tc = (e) => {
11421
11412
  const {
11422
11413
  __scopeDialog: n,
11423
11414
  children: t,
@@ -11621,7 +11612,7 @@ Dc.displayName = Lc;
11621
11612
  function fo(e) {
11622
11613
  return e ? "open" : "closed";
11623
11614
  }
11624
- var Mc = "DialogTitleWarning", [y0, qc] = id(Mc, {
11615
+ var Mc = "DialogTitleWarning", [g0, qc] = id(Mc, {
11625
11616
  contentName: Jt,
11626
11617
  titleName: co,
11627
11618
  docsSlug: "dialog"
@@ -11903,7 +11894,7 @@ function Zc(e, n = !1) {
11903
11894
  function jk(e, n) {
11904
11895
  return e.map((t, r) => e[(n + r) % e.length]);
11905
11896
  }
11906
- var Nk = Qc, Pk = Xc, po = "Tabs", [$k, g0] = Vr(po, [
11897
+ var Nk = Qc, Pk = Xc, po = "Tabs", [$k, b0] = Vr(po, [
11907
11898
  Jc
11908
11899
  ]), ef = Jc(), [Fk, ho] = $k(po), tf = P.forwardRef(
11909
11900
  (e, n) => {
@@ -12231,7 +12222,7 @@ const Ik = (e, n) => {
12231
12222
  },
12232
12223
  t.id
12233
12224
  ));
12234
- }, Mk = ud(
12225
+ }, Mk = cd(
12235
12226
  ({ part: e, className: n, ...t }, r) => {
12236
12227
  const i = uc(e);
12237
12228
  return /* @__PURE__ */ y.jsx(
@@ -12386,7 +12377,7 @@ const Uk = {
12386
12377
  ] }, C.name));
12387
12378
  return /* @__PURE__ */ y.jsxs(pk, { children: [
12388
12379
  /* @__PURE__ */ y.jsx(hk, { asChild: !0, children: /* @__PURE__ */ y.jsx(
12389
- wd,
12380
+ Sd,
12390
12381
  {
12391
12382
  className: "cursor-pointer text-primary hover:text-primary/80",
12392
12383
  size: 16
@@ -12495,7 +12486,7 @@ const Uk = {
12495
12486
  ] }, C))
12496
12487
  ] }) })
12497
12488
  ] })
12498
- ] }) : /* @__PURE__ */ y.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ y.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: p.isPending ? /* @__PURE__ */ y.jsx(Td, { size: 18, className: "animate-spin" }) : "Send a request first to see the response here" }) }) })
12489
+ ] }) : /* @__PURE__ */ y.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ y.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: p.isPending ? /* @__PURE__ */ y.jsx(od, {}) : "Send a request first to see the response here" }) }) })
12499
12490
  ] })
12500
12491
  }
12501
12492
  ) }) })
@@ -13051,7 +13042,7 @@ const Yk = ni(
13051
13042
  operation: e
13052
13043
  }) => {
13053
13044
  var s, l, u, c, f, d, p, h;
13054
- const n = Mf(), [t] = pd({ query: Yk, variables: n }), r = (l = (s = e.parameters) == null ? void 0 : s.filter((m) => m.in === "header")) == null ? void 0 : l.map((m) => ({
13045
+ const n = Mf(), [t] = hd({ query: Yk, variables: n }), r = (l = (s = e.parameters) == null ? void 0 : s.filter((m) => m.in === "header")) == null ? void 0 : l.map((m) => ({
13055
13046
  name: m.name,
13056
13047
  value: ""
13057
13048
  })), i = (c = (u = e.parameters) == null ? void 0 : u.filter((m) => m.in === "query")) == null ? void 0 : c.map((m) => ({
@@ -13089,7 +13080,7 @@ const Yk = ni(
13089
13080
  children: t.map((r) => /* @__PURE__ */ y.jsx("option", { value: r.value, children: r.label }, r.value))
13090
13081
  }
13091
13082
  ),
13092
- /* @__PURE__ */ y.jsx("div", { className: "row-start-1 col-start-1 self-center justify-self-end relative end-2 pointer-events-none", children: /* @__PURE__ */ y.jsx(kd, { size: 14 }) })
13083
+ /* @__PURE__ */ y.jsx("div", { className: "row-start-1 col-start-1 self-center justify-self-end relative end-2 pointer-events-none", children: /* @__PURE__ */ y.jsx(wd, { size: 14 }) })
13093
13084
  ] }), mo = ({ children: e, className: n }) => /* @__PURE__ */ y.jsx(
13094
13085
  "div",
13095
13086
  {
@@ -13114,7 +13105,7 @@ const Yk = ni(
13114
13105
  className: le("bg-zinc-50 dark:bg-zinc-800 overflow-auto p-2", n),
13115
13106
  children: e
13116
13107
  }
13117
- ), Zk = (e) => typeof e == "object" && e !== null && !Array.isArray(e), zn = (e, n) => e.example !== void 0 ? e.example : e.default !== void 0 ? e.default : e.examples && Zk(e.examples) ? Object.values(e.examples)[0] : ew(e, n);
13108
+ ), Zk = (e) => typeof e == "object" && e !== null && !Array.isArray(e), zn = (e, n) => e.example !== void 0 ? e.example : e.default !== void 0 ? e.default : e.examples && Zk(e.examples) ? Object.values(e.examples)[0] : ew(e);
13118
13109
  function ew(e, n) {
13119
13110
  const t = Object.entries(e.properties ?? {}).concat(
13120
13111
  Object.entries(e.additionalProperties ?? {})
@@ -13122,12 +13113,11 @@ function ew(e, n) {
13122
13113
  if (e.type === "object" && t.length > 0) {
13123
13114
  const r = {};
13124
13115
  return t.forEach(([i, o]) => {
13125
- const a = zn(o, i);
13116
+ const a = zn(o);
13126
13117
  a !== void 0 && (r[i] = a);
13127
13118
  }), r;
13128
13119
  } else if (e.type === "array" && e.items) {
13129
- console.log(n, "array", e.items, e);
13130
- const r = zn(e.items, n);
13120
+ const r = zn(e.items);
13131
13121
  return r !== void 0 ? [r] : [];
13132
13122
  }
13133
13123
  }
@@ -15674,8 +15664,8 @@ var pS = vf.exports, Sf = Tn, Cf = pS, hS = Cf(Sf("String.prototype.indexOf")),
15674
15664
  const yS = {}, gS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15675
15665
  __proto__: null,
15676
15666
  default: yS
15677
- }, Symbol.toStringTag, { value: "Module" })), bS = /* @__PURE__ */ od(gS);
15678
- var ko = typeof Map == "function" && Map.prototype, Wi = Object.getOwnPropertyDescriptor && ko ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Br = ko && Wi && typeof Wi.get == "function" ? Wi.get : null, dl = ko && Map.prototype.forEach, wo = typeof Set == "function" && Set.prototype, Ki = Object.getOwnPropertyDescriptor && wo ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ur = wo && Ki && typeof Ki.get == "function" ? Ki.get : null, pl = wo && Set.prototype.forEach, xS = typeof WeakMap == "function" && WeakMap.prototype, In = xS ? WeakMap.prototype.has : null, vS = typeof WeakSet == "function" && WeakSet.prototype, _n = vS ? WeakSet.prototype.has : null, kS = typeof WeakRef == "function" && WeakRef.prototype, hl = kS ? WeakRef.prototype.deref : null, wS = Boolean.prototype.valueOf, SS = Object.prototype.toString, CS = Function.prototype.toString, ES = String.prototype.match, So = String.prototype.slice, Ft = String.prototype.replace, TS = String.prototype.toUpperCase, ml = String.prototype.toLowerCase, Ef = RegExp.prototype.test, yl = Array.prototype.concat, ft = Array.prototype.join, AS = Array.prototype.slice, gl = Math.floor, Ca = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Gi = Object.getOwnPropertySymbols, Ea = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, wn = typeof Symbol == "function" && typeof Symbol.iterator == "object", qe = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === wn || !0) ? Symbol.toStringTag : null, Tf = Object.prototype.propertyIsEnumerable, bl = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
15667
+ }, Symbol.toStringTag, { value: "Module" })), bS = /* @__PURE__ */ sd(gS);
15668
+ var ko = typeof Map == "function" && Map.prototype, Wi = Object.getOwnPropertyDescriptor && ko ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Br = ko && Wi && typeof Wi.get == "function" ? Wi.get : null, dl = ko && Map.prototype.forEach, wo = typeof Set == "function" && Set.prototype, Ki = Object.getOwnPropertyDescriptor && wo ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ur = wo && Ki && typeof Ki.get == "function" ? Ki.get : null, pl = wo && Set.prototype.forEach, xS = typeof WeakMap == "function" && WeakMap.prototype, In = xS ? WeakMap.prototype.has : null, vS = typeof WeakSet == "function" && WeakSet.prototype, _n = vS ? WeakSet.prototype.has : null, kS = typeof WeakRef == "function" && WeakRef.prototype, hl = kS ? WeakRef.prototype.deref : null, wS = Boolean.prototype.valueOf, SS = Object.prototype.toString, CS = Function.prototype.toString, ES = String.prototype.match, So = String.prototype.slice, $t = String.prototype.replace, TS = String.prototype.toUpperCase, ml = String.prototype.toLowerCase, Ef = RegExp.prototype.test, yl = Array.prototype.concat, ft = Array.prototype.join, AS = Array.prototype.slice, gl = Math.floor, Ca = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Gi = Object.getOwnPropertySymbols, Ea = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, wn = typeof Symbol == "function" && typeof Symbol.iterator == "object", qe = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === wn || !0) ? Symbol.toStringTag : null, Tf = Object.prototype.propertyIsEnumerable, bl = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
15679
15669
  return e.__proto__;
15680
15670
  } : null);
15681
15671
  function xl(e, n) {
@@ -15686,23 +15676,23 @@ function xl(e, n) {
15686
15676
  var r = e < 0 ? -gl(-e) : gl(e);
15687
15677
  if (r !== e) {
15688
15678
  var i = String(r), o = So.call(n, i.length + 1);
15689
- return Ft.call(i, t, "$&_") + "." + Ft.call(Ft.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
15679
+ return $t.call(i, t, "$&_") + "." + $t.call($t.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
15690
15680
  }
15691
15681
  }
15692
- return Ft.call(n, t, "$&_");
15682
+ return $t.call(n, t, "$&_");
15693
15683
  }
15694
15684
  var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i) {
15695
15685
  var o = t || {};
15696
- if (jt(o, "quoteStyle") && o.quoteStyle !== "single" && o.quoteStyle !== "double")
15686
+ if (Ot(o, "quoteStyle") && o.quoteStyle !== "single" && o.quoteStyle !== "double")
15697
15687
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
15698
- if (jt(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
15688
+ if (Ot(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
15699
15689
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
15700
- var a = jt(o, "customInspect") ? o.customInspect : !0;
15690
+ var a = Ot(o, "customInspect") ? o.customInspect : !0;
15701
15691
  if (typeof a != "boolean" && a !== "symbol")
15702
15692
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
15703
- if (jt(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
15693
+ if (Ot(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
15704
15694
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
15705
- if (jt(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
15695
+ if (Ot(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
15706
15696
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
15707
15697
  var s = o.numericSeparator;
15708
15698
  if (typeof n > "u")
@@ -15736,7 +15726,7 @@ var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i
15736
15726
  var Y = {
15737
15727
  depth: o.depth
15738
15728
  };
15739
- return jt(o, "quoteStyle") && (Y.quoteStyle = o.quoteStyle), e(M, Y, r + 1, i);
15729
+ return Ot(o, "quoteStyle") && (Y.quoteStyle = o.quoteStyle), e(M, Y, r + 1, i);
15740
15730
  }
15741
15731
  return e(M, o, r + 1, i);
15742
15732
  }
@@ -15745,7 +15735,7 @@ var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i
15745
15735
  return "[Function" + (p ? ": " + p : " (anonymous)") + "]" + (h.length > 0 ? " { " + ft.call(h, ", ") + " }" : "");
15746
15736
  }
15747
15737
  if (Of(n)) {
15748
- var m = wn ? Ft.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ea.call(n);
15738
+ var m = wn ? $t.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ea.call(n);
15749
15739
  return typeof n == "object" && !wn ? Nn(m) : m;
15750
15740
  }
15751
15741
  if (US(n)) {
@@ -15810,7 +15800,7 @@ function Af(e, n, t) {
15810
15800
  return r + e + r;
15811
15801
  }
15812
15802
  function jS(e) {
15813
- return Ft.call(String(e), /"/g, "&quot;");
15803
+ return $t.call(String(e), /"/g, "&quot;");
15814
15804
  }
15815
15805
  function Aa(e) {
15816
15806
  return It(e) === "[object Array]" && (!qe || !(typeof e == "object" && qe in e));
@@ -15858,7 +15848,7 @@ function IS(e) {
15858
15848
  var _S = Object.prototype.hasOwnProperty || function(e) {
15859
15849
  return e in this;
15860
15850
  };
15861
- function jt(e, n) {
15851
+ function Ot(e, n) {
15862
15852
  return _S.call(e, n);
15863
15853
  }
15864
15854
  function It(e) {
@@ -15955,7 +15945,7 @@ function Nf(e, n) {
15955
15945
  var t = e.length - n.maxStringLength, r = "... " + t + " more character" + (t > 1 ? "s" : "");
15956
15946
  return Nf(So.call(e, 0, n.maxStringLength), n) + r;
15957
15947
  }
15958
- var i = Ft.call(Ft.call(e, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, VS);
15948
+ var i = $t.call($t.call(e, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, VS);
15959
15949
  return Af(i, "single", n);
15960
15950
  }
15961
15951
  function VS(e) {
@@ -16011,7 +16001,7 @@ function sr(e, n) {
16011
16001
  if (t) {
16012
16002
  r.length = e.length;
16013
16003
  for (var i = 0; i < e.length; i++)
16014
- r[i] = jt(e, i) ? n(e[i], e) : "";
16004
+ r[i] = Ot(e, i) ? n(e[i], e) : "";
16015
16005
  }
16016
16006
  var o = typeof Gi == "function" ? Gi(e) : [], a;
16017
16007
  if (wn) {
@@ -16020,7 +16010,7 @@ function sr(e, n) {
16020
16010
  a["$" + o[s]] = o[s];
16021
16011
  }
16022
16012
  for (var l in e)
16023
- jt(e, l) && (t && String(Number(l)) === l && l < e.length || wn && a["$" + l] instanceof Symbol || (Ef.call(/[^\w$]/, l) ? r.push(n(l, e) + ": " + n(e[l], e)) : r.push(l + ": " + n(e[l], e))));
16013
+ Ot(e, l) && (t && String(Number(l)) === l && l < e.length || wn && a["$" + l] instanceof Symbol || (Ef.call(/[^\w$]/, l) ? r.push(n(l, e) + ": " + n(e[l], e)) : r.push(l + ": " + n(e[l], e))));
16024
16014
  if (typeof Gi == "function")
16025
16015
  for (var u = 0; u < o.length; u++)
16026
16016
  Tf.call(e, o[u]) && r.push("[" + n(o[u]) + "]: " + n(e[o[u]], e));
@@ -17017,17 +17007,31 @@ const QC = (e, n) => {
17017
17007
  ) : [];
17018
17008
  }
17019
17009
  ) }),
17020
- /* @__PURE__ */ y.jsx(Kt, { level: 3, className: "capitalize", children: "Repsonses" }),
17010
+ /* @__PURE__ */ y.jsx(Kt, { level: 3, className: "capitalize", children: "Responses" }),
17021
17011
  /* @__PURE__ */ y.jsxs(va, { defaultValue: `${r == null ? void 0 : r.statusCode}${r == null ? void 0 : r.description}`, children: [
17022
- /* @__PURE__ */ y.jsx(Lr, { children: n.responses.map((i) => /* @__PURE__ */ y.jsxs(qt, { value: i.statusCode + i.description, children: [
17023
- i.description,
17024
- " (",
17025
- i.statusCode,
17026
- ")"
17027
- ] })) }),
17012
+ /* @__PURE__ */ y.jsx(Lr, { children: n.responses.map((i) => /* @__PURE__ */ y.jsxs(
17013
+ qt,
17014
+ {
17015
+ value: i.statusCode + i.description,
17016
+ children: [
17017
+ i.description,
17018
+ " (",
17019
+ i.statusCode,
17020
+ ")"
17021
+ ]
17022
+ },
17023
+ i.statusCode
17024
+ )) }),
17028
17025
  /* @__PURE__ */ y.jsx("ul", { className: "list-none m-0 px-0 overflow-hidden", children: n.responses.map((i) => {
17029
17026
  var o, a;
17030
- return /* @__PURE__ */ y.jsx(zt, { value: i.statusCode + i.description, children: /* @__PURE__ */ y.jsx(Fa, { schema: (a = (o = i.content) == null ? void 0 : o.at(0)) == null ? void 0 : a.schema, name: "" }) });
17027
+ return /* @__PURE__ */ y.jsx(
17028
+ zt,
17029
+ {
17030
+ value: i.statusCode + i.description,
17031
+ children: /* @__PURE__ */ y.jsx(Fa, { schema: (a = (o = i.content) == null ? void 0 : o.at(0)) == null ? void 0 : a.schema, name: "" })
17032
+ },
17033
+ i.statusCode
17034
+ );
17031
17035
  }) })
17032
17036
  ] })
17033
17037
  ] }),
@@ -17086,12 +17090,20 @@ const QC = (e, n) => {
17086
17090
  ),
17087
17091
  u.enum && /* @__PURE__ */ y.jsxs("span", { className: "text-sm text-muted-foreground flex gap-1 flex-wrap items-center", children: [
17088
17092
  /* @__PURE__ */ y.jsx("span", { children: "Possible values" }),
17089
- u.enum.filter((f) => f).map((f) => /* @__PURE__ */ y.jsx("span", { className: "font-mono text-xs border-border border bg-muted rounded px-1", children: f }))
17093
+ u.enum.filter((f) => f).map((f) => /* @__PURE__ */ y.jsx(
17094
+ "span",
17095
+ {
17096
+ className: "font-mono text-xs border-border border bg-muted rounded px-1",
17097
+ children: f
17098
+ },
17099
+ f
17100
+ ))
17090
17101
  ] }),
17091
17102
  u.type === "object" && /* @__PURE__ */ y.jsx("div", { className: "mt-2.5", children: /* @__PURE__ */ y.jsx(Fa, { schema: u, level: t + 1 }) }),
17092
17103
  u.type === "array" && u.items.type === "object" && /* @__PURE__ */ y.jsx("div", { className: "mt-2.5", children: /* @__PURE__ */ y.jsx(Fa, { schema: u.items, level: t + 1 }) })
17093
17104
  ]
17094
- }
17105
+ },
17106
+ l
17095
17107
  );
17096
17108
  }) })
17097
17109
  ]
@@ -17161,11 +17173,12 @@ const QC = (e, n) => {
17161
17173
  }
17162
17174
  }
17163
17175
  `
17164
- ), n0 = () => {
17176
+ ), n0 = { suspense: !0 }, r0 = () => {
17165
17177
  var r;
17166
- const { type: e, input: n } = Mf(), [t] = hd({
17178
+ const { type: e, input: n } = Mf(), [t] = md({
17167
17179
  query: t0,
17168
- variables: { type: e, input: n }
17180
+ variables: { type: e, input: n },
17181
+ context: n0
17169
17182
  });
17170
17183
  return t.data ? /* @__PURE__ */ y.jsxs("div", { className: "pt-[--padding-content-top]", children: [
17171
17184
  /* @__PURE__ */ y.jsxs("div", { className: le(Ir, "mb-16"), children: [
@@ -17191,17 +17204,17 @@ const QC = (e, n) => {
17191
17204
  )) })
17192
17205
  ] }, i.name))
17193
17206
  ] }) : null;
17194
- }, Df = cd(
17207
+ }, Df = fd(
17195
17208
  void 0
17196
- ), r0 = Df.Provider, Mf = () => {
17197
- const e = fd(Df);
17209
+ ), i0 = Df.Provider, Mf = () => {
17210
+ const e = dd(Df);
17198
17211
  if (!e)
17199
17212
  throw new Error("useOasConfig must be used within a OasConfigProvider");
17200
17213
  return e.config;
17201
- }, i0 = ({
17214
+ }, a0 = ({
17202
17215
  config: e,
17203
17216
  client: n
17204
- }) => /* @__PURE__ */ y.jsx(bd, { value: n, children: /* @__PURE__ */ y.jsx(r0, { value: { config: e }, children: /* @__PURE__ */ y.jsx(ld, {}) }) }), a0 = ni(`
17217
+ }) => /* @__PURE__ */ y.jsx(xd, { value: n, children: /* @__PURE__ */ y.jsx(i0, { value: { config: e }, children: /* @__PURE__ */ y.jsx(ud, {}) }) }), o0 = ni(`
17205
17218
  query GetCategories($input: JSON!, $type: SchemaType!) {
17206
17219
  schema(input: $input, type: $type) {
17207
17220
  tags {
@@ -17219,16 +17232,16 @@ const QC = (e, n) => {
17219
17232
  }
17220
17233
  }
17221
17234
  }
17222
- `), b0 = (e) => {
17223
- const n = e.path ?? "/reference", t = e.server ? new md({
17235
+ `), x0 = (e) => {
17236
+ const n = e.path ?? "/reference", t = e.server ? new yd({
17224
17237
  url: e.server,
17225
- exchanges: [yd, gd]
17226
- }) : xd();
17238
+ exchanges: [gd, bd]
17239
+ }) : vd();
17227
17240
  return {
17228
17241
  getNavigation: async (r) => {
17229
- if (!sd({ path: n, end: !1 }, r))
17242
+ if (!ld({ path: n, end: !1 }, r))
17230
17243
  return [];
17231
- const { data: i } = await t.query(a0, {
17244
+ const { data: i } = await t.query(o0, {
17232
17245
  input: e.input,
17233
17246
  type: e.type
17234
17247
  });
@@ -17256,25 +17269,25 @@ const QC = (e, n) => {
17256
17269
  },
17257
17270
  getRoutes: () => [
17258
17271
  {
17259
- element: /* @__PURE__ */ y.jsx(i0, { config: e, client: t }),
17272
+ element: /* @__PURE__ */ y.jsx(a0, { config: e, client: t }),
17260
17273
  children: [
17261
17274
  {
17262
17275
  path: n,
17263
- children: [{ index: !0, element: /* @__PURE__ */ y.jsx(n0, {}) }]
17276
+ children: [{ index: !0, element: /* @__PURE__ */ y.jsx(r0, {}) }]
17264
17277
  }
17265
17278
  ]
17266
17279
  }
17267
17280
  ]
17268
17281
  };
17269
- }, x0 = (e) => ({
17282
+ }, v0 = (e) => ({
17270
17283
  getRoutes: () => e.redirects.map(({ from: n, to: t, replace: r }) => ({
17271
17284
  path: n,
17272
17285
  element: /* @__PURE__ */ y.jsx(Rl, { to: t, replace: r })
17273
17286
  }))
17274
17287
  });
17275
17288
  export {
17276
- p0 as apiKeyPlugin,
17277
- h0 as markdownPlugin,
17278
- b0 as openApiPlugin,
17279
- x0 as redirectPlugin
17289
+ h0 as apiKeyPlugin,
17290
+ m0 as markdownPlugin,
17291
+ x0 as openApiPlugin,
17292
+ v0 as redirectPlugin
17280
17293
  };