zudoku 0.0.0-eff6f9b → 0.0.0-f5761c9

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 (88) hide show
  1. package/dist/config/config.d.ts +2 -1
  2. package/dist/config/validators/InputSidebarSchema.d.ts +1 -0
  3. package/dist/index.d.ts +1 -1
  4. package/dist/lib/oas/graphql/index.d.ts +2 -1
  5. package/dist/lib/oas/graphql/index.js +11 -9
  6. package/dist/lib/oas/graphql/index.js.map +1 -1
  7. package/dist/lib/plugins/markdown/MdxPage.js +2 -2
  8. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  9. package/dist/lib/plugins/openapi/index.js +2 -1
  10. package/dist/lib/plugins/openapi/index.js.map +1 -1
  11. package/dist/lib/plugins/openapi/playground/createUrl.js +3 -1
  12. package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
  13. package/dist/vite/config.d.ts +1 -1
  14. package/dist/vite/config.js +7 -3
  15. package/dist/vite/config.js.map +1 -1
  16. package/dist/vite/dev-server.js +1 -1
  17. package/dist/vite/dev-server.js.map +1 -1
  18. package/dist/vite/plugin-api.js +4 -7
  19. package/dist/vite/plugin-api.js.map +1 -1
  20. package/dist/vite/plugin-config-reload.js +9 -4
  21. package/dist/vite/plugin-config-reload.js.map +1 -1
  22. package/lib/{AuthenticationPlugin-gtf8JS3V.js → AuthenticationPlugin-Bx9FK124.js} +2 -2
  23. package/lib/{AuthenticationPlugin-gtf8JS3V.js.map → AuthenticationPlugin-Bx9FK124.js.map} +1 -1
  24. package/lib/{CategoryHeading-XnFqN2lJ.js → CategoryHeading-EN3W3xEN.js} +2 -2
  25. package/lib/{CategoryHeading-XnFqN2lJ.js.map → CategoryHeading-EN3W3xEN.js.map} +1 -1
  26. package/lib/{DeveloperHint-FBb2uXJe.js → DeveloperHint-CZ4VwuKw.js} +2 -2
  27. package/lib/{DeveloperHint-FBb2uXJe.js.map → DeveloperHint-CZ4VwuKw.js.map} +1 -1
  28. package/lib/{ErrorPage-knunPbKI.js → ErrorPage-C5Pnyfbg.js} +3 -3
  29. package/lib/{ErrorPage-knunPbKI.js.map → ErrorPage-C5Pnyfbg.js.map} +1 -1
  30. package/lib/{Input-B1kkVL1R.js → Input-DulGxZh-.js} +4 -4
  31. package/lib/{Input-B1kkVL1R.js.map → Input-DulGxZh-.js.map} +1 -1
  32. package/lib/{Markdown-B4aR03g6.js → Markdown-BUUIyZbc.js} +788 -792
  33. package/lib/Markdown-BUUIyZbc.js.map +1 -0
  34. package/lib/{MdxPage-BcftTg5g.js → MdxPage-COBmXj_4.js} +23 -23
  35. package/lib/MdxPage-COBmXj_4.js.map +1 -0
  36. package/lib/{OperationList-Da36LrGl.js → OperationList-BwJXexkA.js} +8 -8
  37. package/lib/{OperationList-Da36LrGl.js.map → OperationList-BwJXexkA.js.map} +1 -1
  38. package/lib/{Route-CWj1ECzh.js → Route-CX_-Q1HO.js} +2 -2
  39. package/lib/{Route-CWj1ECzh.js.map → Route-CX_-Q1HO.js.map} +1 -1
  40. package/lib/{SidebarBadge-DdvT2qep.js → SidebarBadge-gvlvsv3E.js} +3 -3
  41. package/lib/{SidebarBadge-DdvT2qep.js.map → SidebarBadge-gvlvsv3E.js.map} +1 -1
  42. package/lib/{SlotletProvider-DJMaOUDs.js → SlotletProvider-CULK8zmk.js} +4 -4
  43. package/lib/{SlotletProvider-DJMaOUDs.js.map → SlotletProvider-CULK8zmk.js.map} +1 -1
  44. package/lib/{ZudokuContext-em1gHkIY.js → ZudokuContext-cr-pTRY1.js} +4 -4
  45. package/lib/{ZudokuContext-em1gHkIY.js.map → ZudokuContext-cr-pTRY1.js.map} +1 -1
  46. package/lib/assets/{worker-TYRbYl6N.js → worker-DgVH8VJc.js} +3411 -1341
  47. package/lib/assets/worker-DgVH8VJc.js.map +1 -0
  48. package/lib/{index-BoXX7LeD.js → index-BfA1oLPP.js} +3 -3
  49. package/lib/{index-BoXX7LeD.js.map → index-BfA1oLPP.js.map} +1 -1
  50. package/lib/index-Bn6Lc9tq.js +9 -0
  51. package/lib/index-Bn6Lc9tq.js.map +1 -0
  52. package/lib/{index-DIkaYL-l.js → index-BuA1OA5H.js} +422 -418
  53. package/lib/index-BuA1OA5H.js.map +1 -0
  54. package/lib/index-LNp6rxyU.js +2094 -0
  55. package/lib/index-LNp6rxyU.js.map +1 -0
  56. package/lib/{index-B_9xr661.js → index-Q0TPJvr8.js} +3 -3
  57. package/lib/{index-B_9xr661.js.map → index-Q0TPJvr8.js.map} +1 -1
  58. package/lib/joinPath-B7kNnUX4.js +8 -0
  59. package/lib/joinPath-B7kNnUX4.js.map +1 -0
  60. package/lib/{utils-DtEHoAvg.js → utils-ByIc_KIM.js} +100 -103
  61. package/lib/utils-ByIc_KIM.js.map +1 -0
  62. package/lib/zudoku.auth-clerk.js +1 -1
  63. package/lib/zudoku.auth-openid.js +4 -4
  64. package/lib/zudoku.components.js +41 -40
  65. package/lib/zudoku.components.js.map +1 -1
  66. package/lib/zudoku.openapi-worker.js +282 -283
  67. package/lib/zudoku.openapi-worker.js.map +1 -1
  68. package/lib/zudoku.plugin-api-keys.js +6 -6
  69. package/lib/zudoku.plugin-custom-page.js +1 -1
  70. package/lib/zudoku.plugin-markdown.js +1 -1
  71. package/lib/zudoku.plugin-openapi.js +7 -6
  72. package/lib/zudoku.plugin-openapi.js.map +1 -1
  73. package/package.json +3 -3
  74. package/src/lib/oas/graphql/index.ts +20 -12
  75. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  76. package/src/lib/plugins/openapi/index.tsx +2 -1
  77. package/src/lib/plugins/openapi/playground/createUrl.ts +6 -1
  78. package/dist/lib/util/slugify.d.ts +0 -2
  79. package/dist/lib/util/slugify.js +0 -3
  80. package/dist/lib/util/slugify.js.map +0 -1
  81. package/lib/Markdown-B4aR03g6.js.map +0 -1
  82. package/lib/MdxPage-BcftTg5g.js.map +0 -1
  83. package/lib/assets/worker-TYRbYl6N.js.map +0 -1
  84. package/lib/index-DIkaYL-l.js.map +0 -1
  85. package/lib/slugify-DbLhpSPt.js +0 -28
  86. package/lib/slugify-DbLhpSPt.js.map +0 -1
  87. package/lib/utils-DtEHoAvg.js.map +0 -1
  88. package/src/lib/util/slugify.ts +0 -3
@@ -3,8 +3,8 @@ var yo = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
5
  var Nl = (t, e, n) => e in t ? Ol(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var Y = (t, e, n) => Nl(t, typeof e != "symbol" ? e + "" : e, n), Yr = (t, e, n) => e.has(t) || yo("Cannot " + n);
7
- var l = (t, e, n) => (Yr(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Q = (t, e, n) => e.has(t) ? yo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), $ = (t, e, n, i) => (Yr(t, e, "write to private field"), i ? i.call(t, n) : e.set(t, n), n), k = (t, e, n) => (Yr(t, e, "access private method"), n);
6
+ var H = (t, e, n) => Nl(t, typeof e != "symbol" ? e + "" : e, n), Hr = (t, e, n) => e.has(t) || yo("Cannot " + n);
7
+ var l = (t, e, n) => (Hr(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Q = (t, e, n) => e.has(t) ? yo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), $ = (t, e, n, i) => (Hr(t, e, "write to private field"), i ? i.call(t, n) : e.set(t, n), n), k = (t, e, n) => (Hr(t, e, "access private method"), n);
8
8
  var vn = (t, e, n, i) => ({
9
9
  set _(r) {
10
10
  $(t, e, r, n);
@@ -14,8 +14,8 @@ var vn = (t, e, n, i) => ({
14
14
  }
15
15
  });
16
16
  import { C as Ua, c as Va, m as Ba, f as Ga } from "./urql-YhcsXYy8.js";
17
- import { g as Al } from "./_commonjsHelpers-BkfeUUK-.js";
18
- import { s as xl } from "./slugify-DbLhpSPt.js";
17
+ import { a as Al } from "./index-LNp6rxyU.js";
18
+ import { g as xl } from "./_commonjsHelpers-BkfeUUK-.js";
19
19
  function Fl(t, e) {
20
20
  for (var n = 0; n < e.length; n++) {
21
21
  const i = e[n];
@@ -32,7 +32,7 @@ function Fl(t, e) {
32
32
  }
33
33
  return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
34
34
  }
35
- function Hr(t) {
35
+ function Yr(t) {
36
36
  if (!$s(t))
37
37
  throw new Error("Parameter was not an error");
38
38
  }
@@ -71,16 +71,16 @@ class ft extends Error {
71
71
  }
72
72
  }
73
73
  static cause(e) {
74
- return Hr(e), e._cause && $s(e._cause) ? e._cause : null;
74
+ return Yr(e), e._cause && $s(e._cause) ? e._cause : null;
75
75
  }
76
76
  static fullStack(e) {
77
- Hr(e);
77
+ Yr(e);
78
78
  const n = ft.cause(e);
79
79
  return n ? `${e.stack}
80
80
  caused by: ${ft.fullStack(n)}` : e.stack;
81
81
  }
82
82
  static info(e) {
83
- Hr(e);
83
+ Yr(e);
84
84
  const n = {}, i = ft.cause(e);
85
85
  return i && Object.assign(n, ft.info(i)), e._info && Object.assign(n, e._info), n;
86
86
  }
@@ -647,11 +647,11 @@ function Wl({ plugins: t }) {
647
647
  contextFactory: S
648
648
  };
649
649
  }
650
- function Yl(t) {
650
+ function Hl(t) {
651
651
  return t != null;
652
652
  }
653
- function Hl(t) {
654
- const e = t.plugins.filter(Yl), n = Wl({
653
+ function Yl(t) {
654
+ const e = t.plugins.filter(Hl), n = Wl({
655
655
  plugins: e
656
656
  }), i = (r = {}) => {
657
657
  const s = n;
@@ -785,7 +785,7 @@ function ae(t, e) {
785
785
  function uc(t) {
786
786
  return typeof (t == null ? void 0 : t.then) == "function";
787
787
  }
788
- function Ht(t) {
788
+ function Yt(t) {
789
789
  return typeof t == "object" && t !== null;
790
790
  }
791
791
  function Wt(t, e) {
@@ -900,7 +900,7 @@ let j = class Qa extends Error {
900
900
  (i = this.nodes) === null || i === void 0 ? void 0 : i.map((w) => w.loc).filter((w) => w != null)
901
901
  );
902
902
  this.source = a ?? (m == null || (r = m[0]) === null || r === void 0 ? void 0 : r.source), this.positions = u ?? (m == null ? void 0 : m.map((w) => w.start)), this.locations = u && a ? u.map((w) => cs(a, w)) : m == null ? void 0 : m.map((w) => cs(w.source, w.start));
903
- const S = Ht(
903
+ const S = Yt(
904
904
  f == null ? void 0 : f.extensions
905
905
  ) ? f == null ? void 0 : f.extensions : void 0;
906
906
  this.extensions = (s = p ?? S) !== null && s !== void 0 ? s : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
@@ -1037,7 +1037,7 @@ class Wa {
1037
1037
  };
1038
1038
  }
1039
1039
  }
1040
- const Ya = {
1040
+ const Ha = {
1041
1041
  Name: [],
1042
1042
  Document: ["definitions"],
1043
1043
  OperationDefinition: [
@@ -1111,7 +1111,7 @@ const Ya = {
1111
1111
  UnionTypeExtension: ["name", "directives", "types"],
1112
1112
  EnumTypeExtension: ["name", "directives", "values"],
1113
1113
  InputObjectTypeExtension: ["name", "directives", "fields"]
1114
- }, hc = new Set(Object.keys(Ya));
1114
+ }, hc = new Set(Object.keys(Ha));
1115
1115
  function fs(t) {
1116
1116
  const e = t == null ? void 0 : t.kind;
1117
1117
  return typeof e == "string" && hc.has(e);
@@ -1134,15 +1134,15 @@ function ds(t) {
1134
1134
  function Fi(t) {
1135
1135
  return t >= 48 && t <= 57;
1136
1136
  }
1137
- function Ha(t) {
1137
+ function Ya(t) {
1138
1138
  return t >= 97 && t <= 122 || // A-Z
1139
1139
  t >= 65 && t <= 90;
1140
1140
  }
1141
1141
  function js(t) {
1142
- return Ha(t) || t === 95;
1142
+ return Ya(t) || t === 95;
1143
1143
  }
1144
1144
  function Ja(t) {
1145
- return Ha(t) || Fi(t) || t === 95;
1145
+ return Ya(t) || Fi(t) || t === 95;
1146
1146
  }
1147
1147
  function pc(t) {
1148
1148
  var e;
@@ -2849,15 +2849,15 @@ function ji(t, e) {
2849
2849
  let n = 0, i = 0;
2850
2850
  for (; n < t.length && i < e.length; ) {
2851
2851
  let r = t.charCodeAt(n), s = e.charCodeAt(i);
2852
- if (Yi(r) && Yi(s)) {
2852
+ if (Hi(r) && Hi(s)) {
2853
2853
  let o = 0;
2854
2854
  do
2855
2855
  ++n, o = o * 10 + r - hs, r = t.charCodeAt(n);
2856
- while (Yi(r) && o > 0);
2856
+ while (Hi(r) && o > 0);
2857
2857
  let a = 0;
2858
2858
  do
2859
2859
  ++i, a = a * 10 + s - hs, s = e.charCodeAt(i);
2860
- while (Yi(s) && a > 0);
2860
+ while (Hi(s) && a > 0);
2861
2861
  if (o < a)
2862
2862
  return -1;
2863
2863
  if (o > a)
@@ -2873,7 +2873,7 @@ function ji(t, e) {
2873
2873
  return t.length - e.length;
2874
2874
  }
2875
2875
  const hs = 48, Mc = 57;
2876
- function Yi(t) {
2876
+ function Hi(t) {
2877
2877
  return !isNaN(t) && hs <= t && t <= Mc;
2878
2878
  }
2879
2879
  function kn(t, e) {
@@ -3128,7 +3128,7 @@ const qc = [
3128
3128
  "\\u009E",
3129
3129
  "\\u009F"
3130
3130
  ], bi = Object.freeze({});
3131
- function Ps(t, e, n = Ya) {
3131
+ function Ps(t, e, n = Ha) {
3132
3132
  const i = /* @__PURE__ */ new Map();
3133
3133
  for (const b of Object.values(_))
3134
3134
  i.set(b, Er(e, b));
@@ -3550,7 +3550,7 @@ function qt(t) {
3550
3550
  );
3551
3551
  return t;
3552
3552
  }
3553
- function Yc(t) {
3553
+ function Hc(t) {
3554
3554
  if (t === "true" || t === "false" || t === "null")
3555
3555
  throw new j(`Enum values cannot be named: ${t}`);
3556
3556
  return qt(t);
@@ -3613,7 +3613,7 @@ class Ue {
3613
3613
  }
3614
3614
  class ne {
3615
3615
  constructor(e) {
3616
- Hc(e) || ae(
3616
+ Yc(e) || ae(
3617
3617
  !1,
3618
3618
  `Expected ${V(e)} to be a GraphQL nullable type.`
3619
3619
  ), this.ofType = e;
@@ -3631,7 +3631,7 @@ class ne {
3631
3631
  function Us(t) {
3632
3632
  return je(t) || re(t);
3633
3633
  }
3634
- function Hc(t) {
3634
+ function Yc(t) {
3635
3635
  return Ms(t) && !re(t);
3636
3636
  }
3637
3637
  function nu(t) {
@@ -3782,7 +3782,7 @@ function au(t) {
3782
3782
  }));
3783
3783
  }
3784
3784
  function Wn(t) {
3785
- return Ht(t) && !Array.isArray(t);
3785
+ return Yt(t) && !Array.isArray(t);
3786
3786
  }
3787
3787
  function uu(t) {
3788
3788
  return kr(t, (e) => ({
@@ -3918,13 +3918,13 @@ class ri {
3918
3918
  if (typeof e != "string") {
3919
3919
  const i = V(e);
3920
3920
  throw new j(
3921
- `Enum "${this.name}" cannot represent non-string value: ${i}.` + Hi(this, i)
3921
+ `Enum "${this.name}" cannot represent non-string value: ${i}.` + Yi(this, i)
3922
3922
  );
3923
3923
  }
3924
3924
  const n = this.getValue(e);
3925
3925
  if (n == null)
3926
3926
  throw new j(
3927
- `Value "${e}" does not exist in "${this.name}" enum.` + Hi(this, e)
3927
+ `Value "${e}" does not exist in "${this.name}" enum.` + Yi(this, e)
3928
3928
  );
3929
3929
  return n.value;
3930
3930
  }
@@ -3932,7 +3932,7 @@ class ri {
3932
3932
  if (e.kind !== _.ENUM) {
3933
3933
  const r = be(e);
3934
3934
  throw new j(
3935
- `Enum "${this.name}" cannot represent non-enum value: ${r}.` + Hi(this, r),
3935
+ `Enum "${this.name}" cannot represent non-enum value: ${r}.` + Yi(this, r),
3936
3936
  {
3937
3937
  nodes: e
3938
3938
  }
@@ -3942,7 +3942,7 @@ class ri {
3942
3942
  if (i == null) {
3943
3943
  const r = be(e);
3944
3944
  throw new j(
3945
- `Value "${r}" does not exist in "${this.name}" enum.` + Hi(this, r),
3945
+ `Value "${r}" does not exist in "${this.name}" enum.` + Yi(this, r),
3946
3946
  {
3947
3947
  nodes: e
3948
3948
  }
@@ -3978,7 +3978,7 @@ class ri {
3978
3978
  return this.toString();
3979
3979
  }
3980
3980
  }
3981
- function Hi(t, e) {
3981
+ function Yi(t, e) {
3982
3982
  const n = t.getValues().map((r) => r.name), i = kn(e, n);
3983
3983
  return gn("the enum value", i);
3984
3984
  }
@@ -3990,7 +3990,7 @@ function ko(t, e) {
3990
3990
  !1,
3991
3991
  `${t}.${n} must refer to an object with a "value" key representing an internal value but got: ${V(i)}.`
3992
3992
  ), {
3993
- name: Yc(n),
3993
+ name: Hc(n),
3994
3994
  description: i.description,
3995
3995
  value: i.value !== void 0 ? i.value : n,
3996
3996
  deprecationReason: i.deprecationReason,
@@ -4059,8 +4059,8 @@ function cu(t) {
4059
4059
  function gs(t, e) {
4060
4060
  return t === e ? !0 : re(t) && re(e) || je(t) && je(e) ? gs(t.ofType, e.ofType) : !1;
4061
4061
  }
4062
- function Yn(t, e, n) {
4063
- return e === n ? !0 : re(n) ? re(e) ? Yn(t, e.ofType, n.ofType) : !1 : re(e) ? Yn(t, e.ofType, n) : je(n) ? je(e) ? Yn(t, e.ofType, n.ofType) : !1 : je(e) ? !1 : tn(n) && (we(e) || pe(e)) && t.isSubType(n, e);
4062
+ function Hn(t, e, n) {
4063
+ return e === n ? !0 : re(n) ? re(e) ? Hn(t, e.ofType, n.ofType) : !1 : re(e) ? Hn(t, e.ofType, n) : je(n) ? je(e) ? Hn(t, e.ofType, n.ofType) : !1 : je(e) ? !1 : tn(n) && (we(e) || pe(e)) && t.isSubType(n, e);
4064
4064
  }
4065
4065
  function Do(t, e, n) {
4066
4066
  return e === n ? !0 : tn(e) ? tn(n) ? t.getPossibleTypes(e).some((i) => t.isSubType(n, i)) : t.isSubType(e, n) : tn(n) ? t.isSubType(n, e) : !1;
@@ -4241,10 +4241,10 @@ const Xr = 2147483647, Zr = -2147483648, Mi = new Ut({
4241
4241
  Ui
4242
4242
  ]);
4243
4243
  function Vi(t) {
4244
- if (Ht(t)) {
4244
+ if (Yt(t)) {
4245
4245
  if (typeof t.valueOf == "function") {
4246
4246
  const e = t.valueOf();
4247
- if (!Ht(e))
4247
+ if (!Yt(e))
4248
4248
  return e;
4249
4249
  }
4250
4250
  if (typeof t.toJSON == "function")
@@ -4260,7 +4260,7 @@ class nn {
4260
4260
  var n, i;
4261
4261
  this.name = qt(e.name), this.description = e.description, this.locations = e.locations, this.isRepeatable = (n = e.isRepeatable) !== null && n !== void 0 ? n : !1, this.extensions = mt(e.extensions), this.astNode = e.astNode, Array.isArray(e.locations) || ae(!1, `@${e.name} locations must be an Array.`);
4262
4262
  const r = (i = e.args) !== null && i !== void 0 ? i : {};
4263
- Ht(r) && !Array.isArray(r) || ae(
4263
+ Yt(r) && !Array.isArray(r) || ae(
4264
4264
  !1,
4265
4265
  `@${e.name} args must be an object with argument names as keys.`
4266
4266
  ), this.args = au(r);
@@ -4382,7 +4382,7 @@ function wi(t, e) {
4382
4382
  return wi(t, n);
4383
4383
  }
4384
4384
  if (ze(e)) {
4385
- if (!Ht(t))
4385
+ if (!Yt(t))
4386
4386
  return null;
4387
4387
  const n = [];
4388
4388
  for (const i of Object.values(e.getFields())) {
@@ -4902,7 +4902,7 @@ class qs {
4902
4902
  // Used as a cache for validateSchema().
4903
4903
  constructor(e) {
4904
4904
  var n, i;
4905
- this.__validationErrors = e.assumeValid === !0 ? [] : void 0, Ht(e) || ae(!1, "Must provide configuration object."), !e.types || Array.isArray(e.types) || ae(
4905
+ this.__validationErrors = e.assumeValid === !0 ? [] : void 0, Yt(e) || ae(!1, "Must provide configuration object."), !e.types || Array.isArray(e.types) || ae(
4906
4906
  !1,
4907
4907
  `"types" must be Array if provided but got: ${V(e.types)}.`
4908
4908
  ), !e.directives || Array.isArray(e.directives) || ae(
@@ -5249,7 +5249,7 @@ function cf(t, e, n) {
5249
5249
  );
5250
5250
  continue;
5251
5251
  }
5252
- if (!Yn(t.schema, f.type, u.type)) {
5252
+ if (!Hn(t.schema, f.type, u.type)) {
5253
5253
  var r, s;
5254
5254
  t.reportError(
5255
5255
  `Interface field ${n.name}.${c} expects type ${V(u.type)} but ${e.name}.${c} is type ${V(f.type)}.`,
@@ -6117,7 +6117,7 @@ function Ou(t) {
6117
6117
  ).join(" and ") : t;
6118
6118
  }
6119
6119
  function Bf(t) {
6120
- const e = new Yf(), n = /* @__PURE__ */ new Map();
6120
+ const e = new Hf(), n = /* @__PURE__ */ new Map();
6121
6121
  return {
6122
6122
  SelectionSet(i) {
6123
6123
  const r = Gf(
@@ -6188,7 +6188,7 @@ function _r(t, e, n, i, r, s, o) {
6188
6188
  a
6189
6189
  );
6190
6190
  if (s !== u) {
6191
- Ys(
6191
+ Hs(
6192
6192
  t,
6193
6193
  e,
6194
6194
  n,
@@ -6237,7 +6237,7 @@ function Ir(t, e, n, i, r, s, o) {
6237
6237
  n,
6238
6238
  u
6239
6239
  );
6240
- Ys(
6240
+ Hs(
6241
6241
  t,
6242
6242
  e,
6243
6243
  n,
@@ -6279,7 +6279,7 @@ function qf(t, e, n, i, r, s, o, a) {
6279
6279
  o,
6280
6280
  a
6281
6281
  );
6282
- Ys(
6282
+ Hs(
6283
6283
  t,
6284
6284
  u,
6285
6285
  e,
@@ -6339,7 +6339,7 @@ function zf(t, e, n, i, r) {
6339
6339
  c && e.push(c);
6340
6340
  }
6341
6341
  }
6342
- function Ys(t, e, n, i, r, s, o) {
6342
+ function Hs(t, e, n, i, r, s, o) {
6343
6343
  for (const [a, u] of Object.entries(s)) {
6344
6344
  const c = o[a];
6345
6345
  if (c)
@@ -6482,7 +6482,7 @@ function Wf(t, e, n, i) {
6482
6482
  [i, ...t.map(([, , r]) => r).flat()]
6483
6483
  ];
6484
6484
  }
6485
- class Yf {
6485
+ class Hf {
6486
6486
  constructor() {
6487
6487
  this._data = /* @__PURE__ */ new Map();
6488
6488
  }
@@ -6496,7 +6496,7 @@ class Yf {
6496
6496
  o === void 0 ? this._data.set(r, /* @__PURE__ */ new Map([[s, i]])) : o.set(s, i);
6497
6497
  }
6498
6498
  }
6499
- function Hf(t) {
6499
+ function Yf(t) {
6500
6500
  return {
6501
6501
  InlineFragment(e) {
6502
6502
  const n = t.getType(), i = t.getParentType();
@@ -6695,7 +6695,7 @@ function Ei(t, e, n, i) {
6695
6695
  }) : [Ei(t, r, n, i)];
6696
6696
  }
6697
6697
  if (ze(e)) {
6698
- if (!Ht(t)) {
6698
+ if (!Yt(t)) {
6699
6699
  n(
6700
6700
  Kt(i),
6701
6701
  t,
@@ -7405,9 +7405,9 @@ function wd(t, e, n, i, r) {
7405
7405
  if (!(n != null && n.kind !== _.NULL) && !(r !== void 0))
7406
7406
  return !1;
7407
7407
  const a = i.ofType;
7408
- return Yn(t, e, a);
7408
+ return Hn(t, e, a);
7409
7409
  }
7410
- return Yn(t, e, i);
7410
+ return Hn(t, e, i);
7411
7411
  }
7412
7412
  const Ed = Object.freeze([$f]), Fu = Object.freeze([
7413
7413
  vf,
@@ -7422,7 +7422,7 @@ const Ed = Object.freeze([$f]), Fu = Object.freeze([
7422
7422
  fd,
7423
7423
  Cf,
7424
7424
  Mf,
7425
- Hf,
7425
+ Yf,
7426
7426
  jf,
7427
7427
  pd,
7428
7428
  Pf,
@@ -7610,7 +7610,7 @@ function Od(t) {
7610
7610
  return Array.isArray(t.path);
7611
7611
  }
7612
7612
  const zo = function(t, e, n, i) {
7613
- if (Ht(t) && typeof t.__typename == "string")
7613
+ if (Yt(t) && typeof t.__typename == "string")
7614
7614
  return t.__typename;
7615
7615
  const r = n.schema.getPossibleTypes(i), s = [];
7616
7616
  for (let o = 0; o < r.length; o++) {
@@ -7630,12 +7630,12 @@ const zo = function(t, e, n, i) {
7630
7630
  return r[a].name;
7631
7631
  });
7632
7632
  }, cr = function(t, e, n, i) {
7633
- if (Ht(t) || typeof t == "function") {
7633
+ if (Yt(t) || typeof t == "function") {
7634
7634
  const r = t[i.fieldName];
7635
7635
  return typeof r == "function" ? t[i.fieldName](e, n, i) : r;
7636
7636
  }
7637
7637
  };
7638
- function Hs(t, e) {
7638
+ function Ys(t, e) {
7639
7639
  let n = null;
7640
7640
  for (const r of t.definitions)
7641
7641
  if (r.kind === _.OPERATION_DEFINITION) {
@@ -8485,10 +8485,10 @@ function is(t, e, n) {
8485
8485
  writable: !0
8486
8486
  }) : t[e] = n, t;
8487
8487
  }
8488
- let Yd = qi;
8489
- class Hd extends Ne {
8488
+ let Hd = qi;
8489
+ class Yd extends Ne {
8490
8490
  constructor(e, n) {
8491
- super(e, n), is(this, "kind", void 0), is(this, "$inferInput", void 0), is(this, Yd, void 0), this.kind = e;
8491
+ super(e, n), is(this, "kind", void 0), is(this, "$inferInput", void 0), is(this, Hd, void 0), this.kind = e;
8492
8492
  }
8493
8493
  }
8494
8494
  function Ki(t, e, n) {
@@ -8609,7 +8609,7 @@ class Zd {
8609
8609
  const n = this.typeConfigs.get(e);
8610
8610
  if (n.graphqlKind !== "InputObject" && n.graphqlKind !== "Enum" && n.graphqlKind !== "Scalar")
8611
8611
  throw new ie(`Expected ${n.name} to be an input type but got ${n.graphqlKind}`);
8612
- const i = new Hd(n.graphqlKind, n.name);
8612
+ const i = new Yd(n.graphqlKind, n.name);
8613
8613
  return this.refsToName.set(i, n.name), i;
8614
8614
  }
8615
8615
  }
@@ -9555,10 +9555,10 @@ let Js = class {
9555
9555
  qn(Js, "plugins", {});
9556
9556
  qn(Js, "allowPluginReRegistration", !1);
9557
9557
  const Eh = Js;
9558
- function Yo(t) {
9558
+ function Ho(t) {
9559
9559
  return t;
9560
9560
  }
9561
- function Ho(t) {
9561
+ function Yo(t) {
9562
9562
  if (typeof t != "object" || t === null || Array.isArray(t))
9563
9563
  throw new TypeError("JSONObject cannot represent non-object value: " + t);
9564
9564
  return t;
@@ -9595,8 +9595,8 @@ var vh = new Ut({
9595
9595
  name: "JSON",
9596
9596
  description: "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",
9597
9597
  specifiedByUrl: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf",
9598
- serialize: Yo,
9599
- parseValue: Yo,
9598
+ serialize: Ho,
9599
+ parseValue: Ho,
9600
9600
  parseLiteral: function(e, n) {
9601
9601
  return Ks("JSON", e, n);
9602
9602
  }
@@ -9604,8 +9604,8 @@ var vh = new Ut({
9604
9604
  name: "JSONObject",
9605
9605
  description: "The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",
9606
9606
  specifiedByUrl: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf",
9607
- serialize: Ho,
9608
- parseValue: Ho,
9607
+ serialize: Yo,
9608
+ parseValue: Yo,
9609
9609
  parseLiteral: function(e, n) {
9610
9610
  if (e.kind !== _.OBJECT)
9611
9611
  throw new TypeError("JSONObject cannot represent non-object value: " + be(e));
@@ -9690,8 +9690,8 @@ const Nh = [
9690
9690
  function Ah(t) {
9691
9691
  return t != null && typeof t == "object" && Object.keys(t).every((e) => Nh.includes(e));
9692
9692
  }
9693
- function H(t, e) {
9694
- return e != null && e.originalError && !(e.originalError instanceof Error) && Ah(e.originalError) && (e.originalError = H(e.originalError.message, e.originalError)), ac.major >= 17 ? new j(t, e) : new j(t, e == null ? void 0 : e.nodes, e == null ? void 0 : e.source, e == null ? void 0 : e.positions, e == null ? void 0 : e.path, e == null ? void 0 : e.originalError, e == null ? void 0 : e.extensions);
9693
+ function Y(t, e) {
9694
+ return e != null && e.originalError && !(e.originalError instanceof Error) && Ah(e.originalError) && (e.originalError = Y(e.originalError.message, e.originalError)), ac.major >= 17 ? new j(t, e) : new j(t, e == null ? void 0 : e.nodes, e == null ? void 0 : e.source, e == null ? void 0 : e.positions, e == null ? void 0 : e.path, e == null ? void 0 : e.originalError, e == null ? void 0 : e.extensions);
9695
9695
  }
9696
9696
  function xh(t) {
9697
9697
  return t != null && typeof t == "object" && Symbol.iterator in t;
@@ -9722,7 +9722,7 @@ function Vu(t, e, n = {}) {
9722
9722
  if (u !== void 0)
9723
9723
  i[o] = u;
9724
9724
  else if (re(a))
9725
- throw H(`Argument "${o}" of required type "${tt(a)}" was not provided.`, {
9725
+ throw Y(`Argument "${o}" of required type "${tt(a)}" was not provided.`, {
9726
9726
  nodes: [e]
9727
9727
  });
9728
9728
  continue;
@@ -9735,7 +9735,7 @@ function Vu(t, e, n = {}) {
9735
9735
  if (u !== void 0)
9736
9736
  i[o] = u;
9737
9737
  else if (re(a))
9738
- throw H(`Argument "${o}" of required type "${tt(a)}" was provided the variable "$${S}" which was not provided a runtime value.`, {
9738
+ throw Y(`Argument "${o}" of required type "${tt(a)}" was provided the variable "$${S}" which was not provided a runtime value.`, {
9739
9739
  nodes: [f]
9740
9740
  });
9741
9741
  continue;
@@ -9743,12 +9743,12 @@ function Vu(t, e, n = {}) {
9743
9743
  p = n[S] == null;
9744
9744
  }
9745
9745
  if (p && re(a))
9746
- throw H(`Argument "${o}" of non-null type "${tt(a)}" must not be null.`, {
9746
+ throw Y(`Argument "${o}" of non-null type "${tt(a)}" must not be null.`, {
9747
9747
  nodes: [f]
9748
9748
  });
9749
9749
  const m = Nn(f, a, n);
9750
9750
  if (m === void 0)
9751
- throw H(`Argument "${o}" has invalid value ${be(f)}.`, {
9751
+ throw Y(`Argument "${o}" has invalid value ${be(f)}.`, {
9752
9752
  nodes: [f]
9753
9753
  });
9754
9754
  i[o] = m;
@@ -9841,7 +9841,7 @@ function Rh(t) {
9841
9841
  function Lh(t, e, n) {
9842
9842
  const r = kh(t).get(e);
9843
9843
  if (r == null)
9844
- throw H(`Schema is not configured to execute ${e} operation.`, {
9844
+ throw Y(`Schema is not configured to execute ${e} operation.`, {
9845
9845
  nodes: n
9846
9846
  });
9847
9847
  return r;
@@ -10054,20 +10054,20 @@ function dr(t, e, n) {
10054
10054
  }
10055
10055
  else if (e) {
10056
10056
  const r = e.maskError(t, e.errorMessage, e.isDev);
10057
- r !== t && n.error(t), i.add(oi(r) ? r : H(r.message, {
10057
+ r !== t && n.error(t), i.add(oi(r) ? r : Y(r.message, {
10058
10058
  originalError: r
10059
10059
  }));
10060
- } else oi(t) ? i.add(t) : t instanceof Error ? i.add(H(t.message, {
10060
+ } else oi(t) ? i.add(t) : t instanceof Error ? i.add(Y(t.message, {
10061
10061
  originalError: t
10062
- })) : typeof t == "string" ? i.add(H(t, {
10062
+ })) : typeof t == "string" ? i.add(Y(t, {
10063
10063
  extensions: {
10064
10064
  unexpected: !0
10065
10065
  }
10066
- })) : Vh(t) ? i.add(H(t.toString(), {
10066
+ })) : Vh(t) ? i.add(Y(t.toString(), {
10067
10067
  extensions: {
10068
10068
  unexpected: !0
10069
10069
  }
10070
- })) : (n.error(t), i.add(H("Unexpected error.", {
10070
+ })) : (n.error(t), i.add(Y("Unexpected error.", {
10071
10071
  extensions: {
10072
10072
  http: {
10073
10073
  unexpected: !0
@@ -10119,23 +10119,23 @@ const bn = {
10119
10119
  error: n > gi.error ? sr : Qh
10120
10120
  };
10121
10121
  }, Wh = '<!doctype html><html lang=en><head><meta charset=utf-8><title>__TITLE__</title><link rel=icon href=https://raw.githubusercontent.com/dotansimha/graphql-yoga/main/website/public/favicon.ico><link rel=stylesheet href=https://unpkg.com/@graphql-yoga/graphiql@4.2.1/dist/style.css></head><body id=body class=no-focus-outline><noscript>You need to enable JavaScript to run this app.</noscript><div id=root></div><script type=module>import{renderYogaGraphiQL}from"https://unpkg.com/@graphql-yoga/graphiql@4.2.1/dist/yoga-graphiql.es.js";renderYogaGraphiQL(root,__OPTS__)<\/script></body></html>';
10122
- function Yh({ headers: t, method: e }) {
10122
+ function Hh({ headers: t, method: e }) {
10123
10123
  var n;
10124
10124
  return e === "GET" && !!((n = t == null ? void 0 : t.get("accept")) != null && n.includes("text/html"));
10125
10125
  }
10126
- const Hh = (t) => Wh.replace("__TITLE__", (t == null ? void 0 : t.title) || "Yoga GraphiQL").replace("__OPTS__", JSON.stringify(t ?? {}));
10126
+ const Yh = (t) => Wh.replace("__TITLE__", (t == null ? void 0 : t.title) || "Yoga GraphiQL").replace("__OPTS__", JSON.stringify(t ?? {}));
10127
10127
  function Jh(t) {
10128
10128
  const e = t.logger ?? console;
10129
10129
  let n;
10130
10130
  typeof (t == null ? void 0 : t.options) == "function" ? n = t == null ? void 0 : t.options : typeof (t == null ? void 0 : t.options) == "object" ? n = () => t == null ? void 0 : t.options : (t == null ? void 0 : t.options) === !1 ? n = () => !1 : n = () => ({});
10131
- const i = (t == null ? void 0 : t.render) ?? Hh;
10131
+ const i = (t == null ? void 0 : t.render) ?? Yh;
10132
10132
  let r;
10133
10133
  const s = ({ URLPattern: o }) => (r || (r = new o({
10134
10134
  pathname: t.graphqlEndpoint
10135
10135
  })), r);
10136
10136
  return {
10137
10137
  async onRequest({ request: o, serverContext: a, fetchAPI: u, endResponse: c, url: f }) {
10138
- if (Yh(o) && (o.url.endsWith(t.graphqlEndpoint) || o.url.endsWith(`${t.graphqlEndpoint}/`) || f.pathname === t.graphqlEndpoint || f.pathname === `${t.graphqlEndpoint}/` || s(u).test(f))) {
10138
+ if (Hh(o) && (o.url.endsWith(t.graphqlEndpoint) || o.url.endsWith(`${t.graphqlEndpoint}/`) || f.pathname === t.graphqlEndpoint || f.pathname === `${t.graphqlEndpoint}/` || s(u).test(f))) {
10139
10139
  e.debug("Rendering GraphiQL");
10140
10140
  const p = await n(o, a);
10141
10141
  if (p) {
@@ -10210,7 +10210,7 @@ const Zh = (t) => {
10210
10210
  };
10211
10211
  class ht {
10212
10212
  constructor(e) {
10213
- Y(this, "state");
10213
+ H(this, "state");
10214
10214
  let n;
10215
10215
  try {
10216
10216
  n = e();
@@ -10325,7 +10325,7 @@ function tp(t, e, n, i) {
10325
10325
  try {
10326
10326
  const o = np(t, e, n, (a) => {
10327
10327
  if (s != null && r.length >= s)
10328
- throw H("Too many errors processing variables, error limit reached. Execution aborted.");
10328
+ throw Y("Too many errors processing variables, error limit reached. Execution aborted.");
10329
10329
  r.push(a);
10330
10330
  });
10331
10331
  if (r.length === 0)
@@ -10341,7 +10341,7 @@ function np(t, e, n, i) {
10341
10341
  const o = s.variable.name.value, a = nt(t, s.type);
10342
10342
  if (!jt(a)) {
10343
10343
  const c = be(s.type);
10344
- i(H(`Variable "$${o}" expected value of type "${c}" which cannot be used as an input type.`, { nodes: s.type }));
10344
+ i(Y(`Variable "$${o}" expected value of type "${c}" which cannot be used as an input type.`, { nodes: s.type }));
10345
10345
  continue;
10346
10346
  }
10347
10347
  if (!Uu(n, o)) {
@@ -10349,7 +10349,7 @@ function np(t, e, n, i) {
10349
10349
  r[o] = Nn(s.defaultValue, a);
10350
10350
  else if (re(a)) {
10351
10351
  const c = tt(a);
10352
- i(H(`Variable "$${o}" of required type "${c}" was not provided.`, {
10352
+ i(Y(`Variable "$${o}" of required type "${c}" was not provided.`, {
10353
10353
  nodes: s
10354
10354
  }));
10355
10355
  }
@@ -10358,14 +10358,14 @@ function np(t, e, n, i) {
10358
10358
  const u = n[o];
10359
10359
  if (u === null && re(a)) {
10360
10360
  const c = tt(a);
10361
- i(H(`Variable "$${o}" of non-null type "${c}" must not be null.`, {
10361
+ i(Y(`Variable "$${o}" of non-null type "${c}" must not be null.`, {
10362
10362
  nodes: s
10363
10363
  }));
10364
10364
  continue;
10365
10365
  }
10366
10366
  r[o] = nd(u, a, (c, f, p) => {
10367
10367
  let m = `Variable "$${o}" got invalid value ` + tt(f);
10368
- c.length > 0 && (m += ` at "${o}${Mh(c)}"`), i(H(m + "; " + p.message, {
10368
+ c.length > 0 && (m += ` at "${o}${Mh(c)}"`), i(Y(m + "; " + p.message, {
10369
10369
  nodes: s,
10370
10370
  originalError: p.originalError
10371
10371
  }));
@@ -10424,14 +10424,14 @@ function Wu(t) {
10424
10424
  if (o == null) {
10425
10425
  if (m !== void 0)
10426
10426
  return [
10427
- H("Must provide operation name if query contains multiple operations.")
10427
+ Y("Must provide operation name if query contains multiple operations.")
10428
10428
  ];
10429
10429
  m = E;
10430
10430
  } else ((C = E.name) == null ? void 0 : C.value) === o && (m = E);
10431
10431
  break;
10432
10432
  }
10433
10433
  if (m == null)
10434
- return o != null ? [H(`Unknown operation named "${o}".`)] : [H("Must provide an operation.")];
10434
+ return o != null ? [Y(`Unknown operation named "${o}".`)] : [Y("Must provide an operation.")];
10435
10435
  const S = m.variableDefinitions ?? [], w = tp(e, S, s ?? {}, {
10436
10436
  maxErrors: 50
10437
10437
  });
@@ -10460,7 +10460,7 @@ function op(t, e) {
10460
10460
  }
10461
10461
  function ap(t) {
10462
10462
  const { operation: e, schema: n, fragments: i, variableValues: r, rootValue: s } = t, o = Lh(n, e.operation, [e]);
10463
- o == null && H(`Schema is not configured to execute ${e.operation} operation.`, {
10463
+ o == null && Y(`Schema is not configured to execute ${e.operation} operation.`, {
10464
10464
  nodes: e
10465
10465
  });
10466
10466
  const { fields: a, patches: u } = qu(n, i, r, o, e.selectionSet), c = void 0;
@@ -10477,9 +10477,9 @@ function up(t, e, n, i, r) {
10477
10477
  return Fh(r, (o, [a, u]) => {
10478
10478
  var f;
10479
10479
  const c = li(i, a, e.name);
10480
- return (f = t.signal) != null && f.aborted ? (o[a] = null, o) : new ht(() => Yu(t, e, n, u, c)).then((p) => {
10480
+ return (f = t.signal) != null && f.aborted ? (o[a] = null, o) : new ht(() => Hu(t, e, n, u, c)).then((p) => {
10481
10481
  var m, S;
10482
- return p === void 0 || (o[a] = p, (m = t.signal) != null && m.aborted && !s && (t.errors.push(H("Execution aborted", {
10482
+ return p === void 0 || (o[a] = p, (m = t.signal) != null && m.aborted && !s && (t.errors.push(Y("Execution aborted", {
10483
10483
  nodes: u,
10484
10484
  path: Me(c),
10485
10485
  originalError: (S = t.signal) == null ? void 0 : S.reason
@@ -10497,8 +10497,8 @@ function Zs(t, e, n, i, r, s) {
10497
10497
  o[m] = null;
10498
10498
  continue;
10499
10499
  }
10500
- const w = li(i, m, e.name), C = Yu(t, e, n, S, w, s);
10501
- C !== void 0 && (o[m] = C, Pe(C) && (a = !0)), (f = t.signal) != null && f.aborted && !u && (t.errors.push(H("Execution aborted", {
10500
+ const w = li(i, m, e.name), C = Hu(t, e, n, S, w, s);
10501
+ C !== void 0 && (o[m] = C, Pe(C) && (a = !0)), (f = t.signal) != null && f.aborted && !u && (t.errors.push(Y("Execution aborted", {
10502
10502
  nodes: S,
10503
10503
  path: Me(w),
10504
10504
  originalError: (p = t.signal) == null ? void 0 : p.reason
@@ -10513,24 +10513,24 @@ function Zs(t, e, n, i, r, s) {
10513
10513
  }
10514
10514
  return a ? aa(o, t.signal) : o;
10515
10515
  }
10516
- function Yu(t, e, n, i, r, s) {
10516
+ function Hu(t, e, n, i, r, s) {
10517
10517
  const o = (s == null ? void 0 : s.errors) ?? t.errors, a = tl(t.schema, e, i[0]);
10518
10518
  if (!a)
10519
10519
  return;
10520
- const u = a.type, c = a.resolve ?? t.fieldResolver, f = Hu(t, a, i, e, r);
10520
+ const u = a.type, c = a.resolve ?? t.fieldResolver, f = Yu(t, a, i, e, r);
10521
10521
  try {
10522
10522
  const p = Vu(a, i[0], t.variableValues), m = t.contextValue, S = c(n, p, m, f);
10523
10523
  let w;
10524
10524
  return Pe(S) ? w = S.then((C) => wn(t, u, i, f, r, C, s)) : w = wn(t, u, i, f, r, S, s), Pe(w) ? w.then(void 0, (C) => {
10525
- const E = gt(C, i, Me(r)), b = Yt(E, u, o);
10525
+ const E = gt(C, i, Me(r)), b = Ht(E, u, o);
10526
10526
  return pt(t, r, s), b;
10527
10527
  }) : w;
10528
10528
  } catch (p) {
10529
- const m = gt(p, i, Me(r)), S = Yt(m, u, o);
10529
+ const m = gt(p, i, Me(r)), S = Ht(m, u, o);
10530
10530
  return pt(t, r, s), S;
10531
10531
  }
10532
10532
  }
10533
- function Hu(t, e, n, i, r) {
10533
+ function Yu(t, e, n, i, r) {
10534
10534
  return {
10535
10535
  fieldName: e.name,
10536
10536
  fieldNodes: n,
@@ -10544,7 +10544,7 @@ function Hu(t, e, n, i, r) {
10544
10544
  variableValues: t.variableValues
10545
10545
  };
10546
10546
  }
10547
- function Yt(t, e, n) {
10547
+ function Ht(t, e, n) {
10548
10548
  if (re(e))
10549
10549
  throw t;
10550
10550
  return n.push(t), null;
@@ -10584,7 +10584,7 @@ async function lp(t, e, n, i, r, s, o) {
10584
10584
  var m;
10585
10585
  (m = t.signal) == null || m.addEventListener("abort", () => {
10586
10586
  var S, w;
10587
- (S = s.return) == null || S.call(s), t.errors.push(H("Execution aborted", {
10587
+ (S = s.return) == null || S.call(s), t.errors.push(Y("Execution aborted", {
10588
10588
  nodes: n,
10589
10589
  path: Me(r),
10590
10590
  originalError: (w = t.signal) == null ? void 0 : w.reason
@@ -10606,7 +10606,7 @@ async function lp(t, e, n, i, r, s, o) {
10606
10606
  break;
10607
10607
  } catch (C) {
10608
10608
  const E = gt(C, n, Me(S));
10609
- f.push(Yt(E, e, a));
10609
+ f.push(Ht(E, e, a));
10610
10610
  break;
10611
10611
  }
10612
10612
  Ku(w.value, f, a, t, e, n, i, S, o) && (c = !0), p += 1;
@@ -10620,7 +10620,7 @@ function cp(t, e, n, i, r, s, o) {
10620
10620
  return lp(t, a, n, i, r, w, o);
10621
10621
  }
10622
10622
  if (!xh(s))
10623
- throw H(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);
10623
+ throw Y(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);
10624
10624
  const c = Ju(t, n, r);
10625
10625
  let f = !1, p = o;
10626
10626
  const m = [];
@@ -10640,12 +10640,12 @@ function Ku(t, e, n, i, r, s, o, a, u) {
10640
10640
  let c;
10641
10641
  if (Pe(t) ? c = t.then((f) => wn(i, r, s, o, a, f, u)) : c = wn(i, r, s, o, a, t, u), Pe(c))
10642
10642
  return e.push(c.then(void 0, (f) => {
10643
- const p = gt(f, s, Me(a)), m = Yt(p, r, n);
10643
+ const p = gt(f, s, Me(a)), m = Ht(p, r, n);
10644
10644
  return pt(i, a, u), m;
10645
10645
  })), !0;
10646
10646
  e.push(c);
10647
10647
  } catch (c) {
10648
- const f = gt(c, s, Me(a)), p = Yt(f, r, n);
10648
+ const f = gt(c, s, Me(a)), p = Ht(f, r, n);
10649
10649
  pt(i, a, u), e.push(p);
10650
10650
  }
10651
10651
  return !1;
@@ -10667,18 +10667,18 @@ function dp(t, e, n, i, r, s, o) {
10667
10667
  }
10668
10668
  function la(t, e, n, i, r, s) {
10669
10669
  if (t == null)
10670
- throw H(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`, { nodes: i });
10670
+ throw Y(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`, { nodes: i });
10671
10671
  if (pe(t))
10672
- throw H("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");
10672
+ throw Y("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");
10673
10673
  if (typeof t != "string")
10674
- throw H(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${tt(s)}, received "${tt(t)}".`);
10674
+ throw Y(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${tt(s)}, received "${tt(t)}".`);
10675
10675
  const o = e.schema.getType(t);
10676
10676
  if (o == null)
10677
- throw H(`Abstract type "${n.name}" was resolved to a type "${t}" that does not exist inside the schema.`, { nodes: i });
10677
+ throw Y(`Abstract type "${n.name}" was resolved to a type "${t}" that does not exist inside the schema.`, { nodes: i });
10678
10678
  if (!pe(o))
10679
- throw H(`Abstract type "${n.name}" was resolved to a non-object type "${t}".`, { nodes: i });
10679
+ throw Y(`Abstract type "${n.name}" was resolved to a non-object type "${t}".`, { nodes: i });
10680
10680
  if (!e.schema.isSubType(n, o))
10681
- throw H(`Runtime Object type "${o.name}" is not a possible type for "${n.name}".`, { nodes: i });
10681
+ throw Y(`Runtime Object type "${o.name}" is not a possible type for "${n.name}".`, { nodes: i });
10682
10682
  return o;
10683
10683
  }
10684
10684
  function _s(t, e, n, i, r, s, o) {
@@ -10696,7 +10696,7 @@ function _s(t, e, n, i, r, s, o) {
10696
10696
  return fa(t, e, n, r, s, o);
10697
10697
  }
10698
10698
  function ca(t, e, n) {
10699
- return H(`Expected value of type "${t.name}" but got: ${tt(e)}.`, {
10699
+ return Y(`Expected value of type "${t.name}" but got: ${tt(e)}.`, {
10700
10700
  nodes: n
10701
10701
  });
10702
10702
  }
@@ -10786,7 +10786,7 @@ async function* gp(t, e) {
10786
10786
  }
10787
10787
  function ha(t, e) {
10788
10788
  return Vr(e) ? ep(Gu(e[Symbol.asyncIterator](), async (n) => gp(await Qu(op(t, n)), t.signal), (n) => {
10789
- throw H(n.message, {
10789
+ throw Y(n.message, {
10790
10790
  originalError: n,
10791
10791
  nodes: [t.operation]
10792
10792
  });
@@ -10803,15 +10803,15 @@ function mp(t) {
10803
10803
  function yp(t) {
10804
10804
  const { schema: e, fragments: n, operation: i, variableValues: r, rootValue: s } = t, o = e.getSubscriptionType();
10805
10805
  if (o == null)
10806
- throw H("Schema is not configured to execute subscription operation.", {
10806
+ throw Y("Schema is not configured to execute subscription operation.", {
10807
10807
  nodes: i
10808
10808
  });
10809
10809
  const { fields: a } = qu(e, n, r, o, i.selectionSet), [u, c] = [...a.entries()][0], f = c[0].name.value, p = tl(e, o, c[0]);
10810
10810
  if (!p)
10811
- throw H(`The subscription field "${f}" is not defined.`, {
10811
+ throw Y(`The subscription field "${f}" is not defined.`, {
10812
10812
  nodes: c
10813
10813
  });
10814
- const m = li(void 0, u, o.name), S = Hu(t, p, c, o, m);
10814
+ const m = li(void 0, u, o.name), S = Yu(t, p, c, o, m);
10815
10815
  try {
10816
10816
  const w = Vu(p, c[0], r), C = t.contextValue, b = (p.subscribe ?? t.subscribeFieldResolver)(s, w, C, S);
10817
10817
  return Pe(b) ? b.then(pa).then(void 0, (O) => {
@@ -10825,7 +10825,7 @@ function pa(t, e) {
10825
10825
  if (t instanceof Error)
10826
10826
  throw t;
10827
10827
  if (!Vr(t))
10828
- throw H(`Subscription field must return Async Iterable. Received: ${tt(t)}.`);
10828
+ throw Y(`Subscription field must return Async Iterable. Received: ${tt(t)}.`);
10829
10829
  return {
10830
10830
  [Symbol.asyncIterator]() {
10831
10831
  const n = t[Symbol.asyncIterator]();
@@ -10862,12 +10862,12 @@ function bp(t, e, n, i, r, s, o, a, u) {
10862
10862
  try {
10863
10863
  try {
10864
10864
  Pe(n) ? f = n.then((m) => wn(i, o, r, s, e, m, c)) : f = wn(i, o, r, s, e, n, c), Pe(f) && (f = f.then(void 0, (m) => {
10865
- const S = gt(m, r, Me(e)), w = Yt(S, o, c.errors);
10865
+ const S = gt(m, r, Me(e)), w = Ht(S, o, c.errors);
10866
10866
  return pt(i, e, c), w;
10867
10867
  }));
10868
10868
  } catch (m) {
10869
10869
  const S = gt(m, r, Me(e));
10870
- f = Yt(S, o, c.errors), pt(i, e, c);
10870
+ f = Ht(S, o, c.errors), pt(i, e, c);
10871
10871
  }
10872
10872
  } catch (m) {
10873
10873
  return c.errors.push(m), pt(i, t, c), c.addItems(null), c;
@@ -10884,16 +10884,16 @@ async function wp(t, e, n, i, r, s, o) {
10884
10884
  a = c;
10885
10885
  } catch (c) {
10886
10886
  const f = gt(c, n, Me(o));
10887
- return { done: !0, value: Yt(f, r, s.errors) };
10887
+ return { done: !0, value: Ht(f, r, s.errors) };
10888
10888
  }
10889
10889
  let u;
10890
10890
  try {
10891
10891
  return u = wn(e, r, n, i, o, a, s), Pe(u) && (u = u.then(void 0, (c) => {
10892
- const f = gt(c, n, Me(o)), p = Yt(f, r, s.errors);
10892
+ const f = gt(c, n, Me(o)), p = Ht(f, r, s.errors);
10893
10893
  return pt(e, o, s), p;
10894
10894
  })), { done: !1, value: u };
10895
10895
  } catch (c) {
10896
- const f = gt(c, n, Me(o)), p = Yt(f, r, s.errors);
10896
+ const f = gt(c, n, Me(o)), p = Ht(f, r, s.errors);
10897
10897
  return pt(e, o, s), { done: !1, value: p };
10898
10898
  }
10899
10899
  }
@@ -11038,7 +11038,7 @@ function tl(t, e, n) {
11038
11038
  return i === vr.name && t.getQueryType() === e ? vr : i === Tr.name && t.getQueryType() === e ? Tr : i === Sr.name ? Sr : e.getFields()[i];
11039
11039
  }
11040
11040
  function ga(t) {
11041
- const e = Hs(t.document, t.operationName);
11041
+ const e = Ys(t.document, t.operationName);
11042
11042
  if (e == null)
11043
11043
  throw new Error("Must provide an operation.");
11044
11044
  return e.operation === "subscription" ? pp(t) : new ht(() => rp(t)).then((n) => "initialResult" in n ? Xu(n, t.signal) : n).resolve();
@@ -11269,7 +11269,7 @@ function ba(t, e, n) {
11269
11269
  if (sl(s))
11270
11270
  return Wp(e, s);
11271
11271
  }
11272
- function Yp(t) {
11272
+ function Hp(t) {
11273
11273
  return t != null && typeof t == "object" && ("body" in t || "cache" in t || "credentials" in t || "headers" in t || "integrity" in t || "keepalive" in t || "method" in t || "mode" in t || "redirect" in t || "referrer" in t || "referrerPolicy" in t || "signal" in t || "window" in t);
11274
11274
  }
11275
11275
  function or(...t) {
@@ -11351,7 +11351,7 @@ function Ea(t, e) {
11351
11351
  }
11352
11352
  });
11353
11353
  }
11354
- function Hp() {
11354
+ function Yp() {
11355
11355
  let t, e;
11356
11356
  return {
11357
11357
  promise: new Promise(function(r, s) {
@@ -11367,7 +11367,7 @@ function Hp() {
11367
11367
  }
11368
11368
  function va(t, e) {
11369
11369
  if (dn(t) && e) {
11370
- const n = Hp();
11370
+ const n = Yp();
11371
11371
  return e.addEventListener("abort", function() {
11372
11372
  n.reject(new DOMException("Aborted", "AbortError"));
11373
11373
  }), t.then(function(r) {
@@ -11591,7 +11591,7 @@ function ng(t, e) {
11591
11591
  const m = (E, ...b) => {
11592
11592
  if (typeof E == "string" || "href" in E) {
11593
11593
  const [x, ...A] = b;
11594
- if (Yp(x)) {
11594
+ if (Hp(x)) {
11595
11595
  const T = new n.Request(E, x), N = p(T, ...A);
11596
11596
  return va(N, x == null ? void 0 : x.signal);
11597
11597
  }
@@ -11782,12 +11782,12 @@ async function mg(t) {
11782
11782
  throw i instanceof Error && (r.originalError = {
11783
11783
  name: i.name,
11784
11784
  message: i.message
11785
- }), H("POST body sent invalid JSON.", {
11785
+ }), Y("POST body sent invalid JSON.", {
11786
11786
  extensions: r
11787
11787
  });
11788
11788
  }
11789
11789
  if (e == null)
11790
- throw H(`POST body is expected to be object but received ${e}`, {
11790
+ throw Y(`POST body is expected to be object but received ${e}`, {
11791
11791
  extensions: {
11792
11792
  http: {
11793
11793
  status: 400
@@ -11796,7 +11796,7 @@ async function mg(t) {
11796
11796
  });
11797
11797
  const n = typeof e;
11798
11798
  if (n !== "object")
11799
- throw H(`POST body is expected to be object but received ${n}`, {
11799
+ throw Y(`POST body is expected to be object but received ${n}`, {
11800
11800
  extensions: {
11801
11801
  http: {
11802
11802
  status: 400
@@ -11818,7 +11818,7 @@ async function wg(t) {
11818
11818
  try {
11819
11819
  e = await t.formData();
11820
11820
  } catch (s) {
11821
- throw s instanceof Error && s.message.startsWith("File size limit exceeded: ") ? H(s.message, {
11821
+ throw s instanceof Error && s.message.startsWith("File size limit exceeded: ") ? Y(s.message, {
11822
11822
  extensions: {
11823
11823
  http: {
11824
11824
  status: 413
@@ -11828,24 +11828,24 @@ async function wg(t) {
11828
11828
  }
11829
11829
  const n = e.get("operations");
11830
11830
  if (!n)
11831
- throw H('Missing multipart form field "operations"');
11831
+ throw Y('Missing multipart form field "operations"');
11832
11832
  if (typeof n != "string")
11833
- throw H('Multipart form field "operations" must be a string');
11833
+ throw Y('Multipart form field "operations" must be a string');
11834
11834
  let i;
11835
11835
  try {
11836
11836
  i = JSON.parse(n);
11837
11837
  } catch {
11838
- throw H('Multipart form field "operations" must be a valid JSON string');
11838
+ throw Y('Multipart form field "operations" must be a valid JSON string');
11839
11839
  }
11840
11840
  const r = e.get("map");
11841
11841
  if (r != null) {
11842
11842
  if (typeof r != "string")
11843
- throw H('Multipart form field "map" must be a string');
11843
+ throw Y('Multipart form field "map" must be a string');
11844
11844
  let s;
11845
11845
  try {
11846
11846
  s = JSON.parse(r);
11847
11847
  } catch {
11848
- throw H('Multipart form field "map" must be a valid JSON string');
11848
+ throw Y('Multipart form field "map" must be a valid JSON string');
11849
11849
  }
11850
11850
  for (const o in s) {
11851
11851
  const a = e.get(o), u = s[o];
@@ -11858,7 +11858,7 @@ async function wg(t) {
11858
11858
  const Eg = /* @__PURE__ */ new Set(["query", "variables", "operationName", "extensions"]);
11859
11859
  function vg(t) {
11860
11860
  if (t == null || typeof t != "object")
11861
- throw H('Invalid "params" in the request body', {
11861
+ throw Y('Invalid "params" in the request body', {
11862
11862
  extensions: {
11863
11863
  http: {
11864
11864
  spec: !0,
@@ -11868,7 +11868,7 @@ function vg(t) {
11868
11868
  });
11869
11869
  for (const e in t)
11870
11870
  if (t[e] != null && !Eg.has(e))
11871
- throw H(`Unexpected parameter "${e}" in the request body.`, {
11871
+ throw Y(`Unexpected parameter "${e}" in the request body.`, {
11872
11872
  extensions: {
11873
11873
  http: {
11874
11874
  status: 400
@@ -11878,7 +11878,7 @@ function vg(t) {
11878
11878
  }
11879
11879
  function Tg(t) {
11880
11880
  if (!_g(t))
11881
- throw H(`Expected params to be an object but given ${Si(t)}.`, {
11881
+ throw Y(`Expected params to be an object but given ${Si(t)}.`, {
11882
11882
  extensions: {
11883
11883
  http: {
11884
11884
  status: 400,
@@ -11889,7 +11889,7 @@ function Tg(t) {
11889
11889
  }
11890
11890
  });
11891
11891
  if (vg(t), t.query == null)
11892
- throw H("Must provide query string.", {
11892
+ throw Y("Must provide query string.", {
11893
11893
  extensions: {
11894
11894
  http: {
11895
11895
  spec: !0,
@@ -11902,7 +11902,7 @@ function Tg(t) {
11902
11902
  });
11903
11903
  const e = Si(t.query);
11904
11904
  if (e !== "string")
11905
- throw H(`Expected "query" param to be a string, but given ${e}.`, {
11905
+ throw Y(`Expected "query" param to be a string, but given ${e}.`, {
11906
11906
  extensions: {
11907
11907
  http: {
11908
11908
  status: 400,
@@ -11914,7 +11914,7 @@ function Tg(t) {
11914
11914
  });
11915
11915
  const n = Si(t.variables);
11916
11916
  if (!["object", "null", "undefined"].includes(n))
11917
- throw H(`Expected "variables" param to be empty or an object, but given ${n}.`, {
11917
+ throw Y(`Expected "variables" param to be empty or an object, but given ${n}.`, {
11918
11918
  extensions: {
11919
11919
  http: {
11920
11920
  status: 400,
@@ -11926,7 +11926,7 @@ function Tg(t) {
11926
11926
  });
11927
11927
  const i = Si(t.extensions);
11928
11928
  if (!["object", "null", "undefined"].includes(i))
11929
- throw H(`Expected "extensions" param to be empty or an object, but given ${i}.`, {
11929
+ throw Y(`Expected "extensions" param to be empty or an object, but given ${i}.`, {
11930
11930
  extensions: {
11931
11931
  http: {
11932
11932
  status: 400,
@@ -11958,7 +11958,7 @@ function Og() {
11958
11958
  return {
11959
11959
  onRequestParse({ request: t }) {
11960
11960
  if (!Ig(t.method))
11961
- throw H("GraphQL only supports GET and POST requests.", {
11961
+ throw Y("GraphQL only supports GET and POST requests.", {
11962
11962
  extensions: {
11963
11963
  http: {
11964
11964
  status: 405,
@@ -11994,7 +11994,7 @@ function Ag(t) {
11994
11994
  onRequestParseDone({ requestParserResult: e }) {
11995
11995
  if (Array.isArray(e)) {
11996
11996
  if (!t)
11997
- throw H("Batching is not supported.", {
11997
+ throw Y("Batching is not supported.", {
11998
11998
  extensions: {
11999
11999
  http: {
12000
12000
  status: 400
@@ -12002,7 +12002,7 @@ function Ag(t) {
12002
12002
  }
12003
12003
  });
12004
12004
  if (e.length > t)
12005
- throw H(`Batching is limited to ${t} operations per request.`, {
12005
+ throw Y(`Batching is limited to ${t} operations per request.`, {
12006
12006
  extensions: {
12007
12007
  http: {
12008
12008
  status: 413
@@ -12016,9 +12016,9 @@ function Ag(t) {
12016
12016
  };
12017
12017
  }
12018
12018
  function xg(t, e, n) {
12019
- const i = e ? Hs(e, n) ?? void 0 : void 0;
12019
+ const i = e ? Ys(e, n) ?? void 0 : void 0;
12020
12020
  if (!i)
12021
- throw H("Could not determine what operation to execute.", {
12021
+ throw Y("Could not determine what operation to execute.", {
12022
12022
  extensions: {
12023
12023
  http: {
12024
12024
  status: 400
@@ -12026,7 +12026,7 @@ function xg(t, e, n) {
12026
12026
  }
12027
12027
  });
12028
12028
  if (i.operation === "mutation" && t === "GET")
12029
- throw H("Can only perform a mutation operation from a POST request.", {
12029
+ throw Y("Can only perform a mutation operation from a POST request.", {
12030
12030
  extensions: {
12031
12031
  http: {
12032
12032
  status: 405,
@@ -12082,17 +12082,17 @@ var ka;
12082
12082
  if (typeof xr > "u") {
12083
12083
  Sa = class {
12084
12084
  constructor() {
12085
- Y(this, "onabort");
12086
- Y(this, "_onabort", []);
12087
- Y(this, "reason");
12088
- Y(this, "aborted", !1);
12085
+ H(this, "onabort");
12086
+ H(this, "_onabort", []);
12087
+ H(this, "reason");
12088
+ H(this, "aborted", !1);
12089
12089
  }
12090
12090
  addEventListener(i, r) {
12091
12091
  this._onabort.push(r);
12092
12092
  }
12093
12093
  }, xr = class {
12094
12094
  constructor() {
12095
- Y(this, "signal", new Sa());
12095
+ H(this, "signal", new Sa());
12096
12096
  e();
12097
12097
  }
12098
12098
  abort(i) {
@@ -12116,12 +12116,12 @@ let pr = class extends Array {
12116
12116
  super(e), this.fill(0);
12117
12117
  }
12118
12118
  };
12119
- var Qt, Hn;
12119
+ var Qt, Yn;
12120
12120
  let Lg = (Qt = class {
12121
12121
  constructor(e, n) {
12122
- Y(this, "heap");
12123
- Y(this, "length");
12124
- if (!l(Qt, Hn))
12122
+ H(this, "heap");
12123
+ H(this, "length");
12124
+ if (!l(Qt, Yn))
12125
12125
  throw new TypeError("instantiate Stack using Stack.create(n)");
12126
12126
  this.heap = new n(e), this.length = 0;
12127
12127
  }
@@ -12129,9 +12129,9 @@ let Lg = (Qt = class {
12129
12129
  const n = cl(e);
12130
12130
  if (!n)
12131
12131
  return [];
12132
- $(Qt, Hn, !0);
12132
+ $(Qt, Yn, !0);
12133
12133
  const i = new Qt(e, n);
12134
- return $(Qt, Hn, !1), i;
12134
+ return $(Qt, Yn, !1), i;
12135
12135
  }
12136
12136
  push(e) {
12137
12137
  this.heap[this.length++] = e;
@@ -12139,8 +12139,8 @@ let Lg = (Qt = class {
12139
12139
  pop() {
12140
12140
  return this.heap[--this.length];
12141
12141
  }
12142
- }, Hn = new WeakMap(), // private constructor
12143
- Q(Qt, Hn, !1), Qt);
12142
+ }, Yn = new WeakMap(), // private constructor
12143
+ Q(Qt, Yn, !1), Qt);
12144
12144
  var Da, $a, Et, it, vt, Tt, Jn, Ie, St, ve, de, ee, Qe, rt, Ge, Fe, _t, Ce, It, Ot, st, Nt, hn, We, z, Os, An, Zt, Li, ot, fl, xn, Kn, ki, sn, on, Ns, gr, mr, ce, As, _i, Xn;
12145
12145
  let kg = (Xn = class {
12146
12146
  constructor(e) {
@@ -12156,63 +12156,63 @@ let kg = (Xn = class {
12156
12156
  /**
12157
12157
  * {@link LRUCache.OptionsBase.ttl}
12158
12158
  */
12159
- Y(this, "ttl");
12159
+ H(this, "ttl");
12160
12160
  /**
12161
12161
  * {@link LRUCache.OptionsBase.ttlResolution}
12162
12162
  */
12163
- Y(this, "ttlResolution");
12163
+ H(this, "ttlResolution");
12164
12164
  /**
12165
12165
  * {@link LRUCache.OptionsBase.ttlAutopurge}
12166
12166
  */
12167
- Y(this, "ttlAutopurge");
12167
+ H(this, "ttlAutopurge");
12168
12168
  /**
12169
12169
  * {@link LRUCache.OptionsBase.updateAgeOnGet}
12170
12170
  */
12171
- Y(this, "updateAgeOnGet");
12171
+ H(this, "updateAgeOnGet");
12172
12172
  /**
12173
12173
  * {@link LRUCache.OptionsBase.updateAgeOnHas}
12174
12174
  */
12175
- Y(this, "updateAgeOnHas");
12175
+ H(this, "updateAgeOnHas");
12176
12176
  /**
12177
12177
  * {@link LRUCache.OptionsBase.allowStale}
12178
12178
  */
12179
- Y(this, "allowStale");
12179
+ H(this, "allowStale");
12180
12180
  /**
12181
12181
  * {@link LRUCache.OptionsBase.noDisposeOnSet}
12182
12182
  */
12183
- Y(this, "noDisposeOnSet");
12183
+ H(this, "noDisposeOnSet");
12184
12184
  /**
12185
12185
  * {@link LRUCache.OptionsBase.noUpdateTTL}
12186
12186
  */
12187
- Y(this, "noUpdateTTL");
12187
+ H(this, "noUpdateTTL");
12188
12188
  /**
12189
12189
  * {@link LRUCache.OptionsBase.maxEntrySize}
12190
12190
  */
12191
- Y(this, "maxEntrySize");
12191
+ H(this, "maxEntrySize");
12192
12192
  /**
12193
12193
  * {@link LRUCache.OptionsBase.sizeCalculation}
12194
12194
  */
12195
- Y(this, "sizeCalculation");
12195
+ H(this, "sizeCalculation");
12196
12196
  /**
12197
12197
  * {@link LRUCache.OptionsBase.noDeleteOnFetchRejection}
12198
12198
  */
12199
- Y(this, "noDeleteOnFetchRejection");
12199
+ H(this, "noDeleteOnFetchRejection");
12200
12200
  /**
12201
12201
  * {@link LRUCache.OptionsBase.noDeleteOnStaleGet}
12202
12202
  */
12203
- Y(this, "noDeleteOnStaleGet");
12203
+ H(this, "noDeleteOnStaleGet");
12204
12204
  /**
12205
12205
  * {@link LRUCache.OptionsBase.allowStaleOnFetchAbort}
12206
12206
  */
12207
- Y(this, "allowStaleOnFetchAbort");
12207
+ H(this, "allowStaleOnFetchAbort");
12208
12208
  /**
12209
12209
  * {@link LRUCache.OptionsBase.allowStaleOnFetchRejection}
12210
12210
  */
12211
- Y(this, "allowStaleOnFetchRejection");
12211
+ H(this, "allowStaleOnFetchRejection");
12212
12212
  /**
12213
12213
  * {@link LRUCache.OptionsBase.ignoreFetchAbort}
12214
12214
  */
12215
- Y(this, "ignoreFetchAbort");
12215
+ H(this, "ignoreFetchAbort");
12216
12216
  // computed properties
12217
12217
  Q(this, Ie);
12218
12218
  Q(this, St);
@@ -12253,7 +12253,7 @@ let kg = (Xn = class {
12253
12253
  * A String value that is used in the creation of the default string description of an object.
12254
12254
  * Called by the built-in method Object.prototype.toString.
12255
12255
  */
12256
- Y(this, Da, "LRUCache");
12256
+ H(this, Da, "LRUCache");
12257
12257
  const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: E, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: O, allowStaleOnFetchRejection: x, allowStaleOnFetchAbort: A, ignoreFetchAbort: L } = e;
12258
12258
  if (n !== 0 && !rn(n))
12259
12259
  throw new TypeError("max option must be a nonnegative integer");
@@ -13007,7 +13007,7 @@ function _a(t) {
13007
13007
  function dl(t) {
13008
13008
  if (oi(t)) {
13009
13009
  const e = "toJSON" in t && typeof t.toJSON == "function" ? t.toJSON() : Object(t), { http: n, unexpected: i, ...r } = e.extensions || {};
13010
- return H(t.message, {
13010
+ return Y(t.message, {
13011
13011
  nodes: t.nodes,
13012
13012
  source: t.source,
13013
13013
  positions: t.positions,
@@ -13186,7 +13186,7 @@ const yoga = createYoga({
13186
13186
  })
13187
13187
  </code>
13188
13188
  </pre></section></main></body></html>`;
13189
- function Yg(t) {
13189
+ function Hg(t) {
13190
13190
  let e;
13191
13191
  function n({ URLPattern: i }) {
13192
13192
  return e || (e = new i({
@@ -13240,7 +13240,7 @@ async function Oa({ request: t, result: e, fetchAPI: n, onResultProcessHooks: i
13240
13240
  }
13241
13241
  });
13242
13242
  }
13243
- async function Hg({ params: t, enveloped: e }) {
13243
+ async function Yg({ params: t, enveloped: e }) {
13244
13244
  const n = e.parse(t.query), i = e.validate(e.schema, n);
13245
13245
  if (i.length > 0)
13246
13246
  return { errors: i };
@@ -13250,7 +13250,7 @@ async function Hg({ params: t, enveloped: e }) {
13250
13250
  contextValue: r,
13251
13251
  variableValues: t.variables,
13252
13252
  operationName: t.operationName
13253
- }, o = Hs(n, t.operationName);
13253
+ }, o = Ys(n, t.operationName);
13254
13254
  return ((o == null ? void 0 : o.operation) === "subscription" ? e.subscribe : e.execute)(s);
13255
13255
  }
13256
13256
  const Jg = (t, e, n = ((r) => (r = ((i) => (i = globalThis.process) == null ? void 0 : i.env)()) == null ? void 0 : r.NODE_ENV)() === "development") => {
@@ -13265,7 +13265,7 @@ const Jg = (t, e, n = ((r) => (r = ((i) => (i = globalThis.process) == null ? vo
13265
13265
  return n && (s.originalError = {
13266
13266
  message: t.originalError.message,
13267
13267
  stack: t.originalError.stack
13268
- }), H(e, {
13268
+ }), Y(e, {
13269
13269
  nodes: t.nodes,
13270
13270
  source: t.source,
13271
13271
  positions: t.positions,
@@ -13275,7 +13275,7 @@ const Jg = (t, e, n = ((r) => (r = ((i) => (i = globalThis.process) == null ? vo
13275
13275
  }
13276
13276
  return t;
13277
13277
  }
13278
- return H(e, {
13278
+ return Y(e, {
13279
13279
  extensions: {
13280
13280
  unexpected: !0,
13281
13281
  originalError: n ? t instanceof Error ? {
@@ -13290,17 +13290,17 @@ class Kg {
13290
13290
  /**
13291
13291
  * Instance of envelop
13292
13292
  */
13293
- Y(this, "getEnveloped");
13294
- Y(this, "logger");
13295
- Y(this, "graphqlEndpoint");
13296
- Y(this, "fetchAPI");
13297
- Y(this, "plugins");
13298
- Y(this, "onRequestParseHooks");
13299
- Y(this, "onParamsHooks");
13300
- Y(this, "onResultProcessHooks");
13301
- Y(this, "maskedErrorsOpts");
13302
- Y(this, "id");
13303
- Y(this, "handle", async (e, n) => {
13293
+ H(this, "getEnveloped");
13294
+ H(this, "logger");
13295
+ H(this, "graphqlEndpoint");
13296
+ H(this, "fetchAPI");
13297
+ H(this, "plugins");
13298
+ H(this, "onRequestParseHooks");
13299
+ H(this, "onParamsHooks");
13300
+ H(this, "onResultProcessHooks");
13301
+ H(this, "maskedErrorsOpts");
13302
+ H(this, "id");
13303
+ H(this, "handle", async (e, n) => {
13304
13304
  let i = new Proxy({}, {
13305
13305
  get: (u, c, f) => (i = new this.fetchAPI.URL(e.url, "http://localhost"), Reflect.get(i, c, i))
13306
13306
  }), r;
@@ -13436,7 +13436,7 @@ class Kg {
13436
13436
  jg(!(e != null && e.parserAndValidationCache) || (e == null ? void 0 : e.parserAndValidationCache) === !0 ? {} : e == null ? void 0 : e.parserAndValidationCache)
13437
13437
  ), u(Ag(o)), u(Sg()), u(
13438
13438
  // @ts-expect-error Add plugins has context but this hook doesn't care
13439
- Yg({
13439
+ Hg({
13440
13440
  graphqlEndpoint: a,
13441
13441
  showLandingPage: (e == null ? void 0 : e.landingPage) ?? !0
13442
13442
  })
@@ -13446,7 +13446,7 @@ class Kg {
13446
13446
  );
13447
13447
  }
13448
13448
  }
13449
- ], this.getEnveloped = Hl({
13449
+ ], this.getEnveloped = Yl({
13450
13450
  plugins: this.plugins
13451
13451
  }), this.plugins = this.getEnveloped._plugins, this.onRequestParseHooks = [], this.onParamsHooks = [], this.onResultProcessHooks = [];
13452
13452
  for (const u of this.plugins)
@@ -13477,7 +13477,7 @@ class Kg {
13477
13477
  request: n,
13478
13478
  params: e
13479
13479
  }, u = r[0] ? i ? Object.assign({}, r[0], a) : Object.assign(r[0], a) : a, c = this.getEnveloped(u);
13480
- this.logger.debug("Processing GraphQL Parameters"), o = await Hg({
13480
+ this.logger.debug("Processing GraphQL Parameters"), o = await Yg({
13481
13481
  params: e,
13482
13482
  enveloped: c
13483
13483
  }), this.logger.debug("Processing GraphQL Parameters done.");
@@ -13511,17 +13511,17 @@ var ja;
13511
13511
  if (typeof Fr > "u") {
13512
13512
  Na = class {
13513
13513
  constructor() {
13514
- Y(this, "onabort");
13515
- Y(this, "_onabort", []);
13516
- Y(this, "reason");
13517
- Y(this, "aborted", !1);
13514
+ H(this, "onabort");
13515
+ H(this, "_onabort", []);
13516
+ H(this, "reason");
13517
+ H(this, "aborted", !1);
13518
13518
  }
13519
13519
  addEventListener(i, r) {
13520
13520
  this._onabort.push(r);
13521
13521
  }
13522
13522
  }, Fr = class {
13523
13523
  constructor() {
13524
- Y(this, "signal", new Na());
13524
+ H(this, "signal", new Na());
13525
13525
  e();
13526
13526
  }
13527
13527
  abort(i) {
@@ -13548,8 +13548,8 @@ class yr extends Array {
13548
13548
  var Zn;
13549
13549
  const In = class In {
13550
13550
  constructor(e, n) {
13551
- Y(this, "heap");
13552
- Y(this, "length");
13551
+ H(this, "heap");
13552
+ H(this, "length");
13553
13553
  if (!l(In, Zn))
13554
13554
  throw new TypeError("instantiate Stack using Stack.create(n)");
13555
13555
  this.heap = new n(e), this.length = 0;
@@ -13572,7 +13572,7 @@ const In = class In {
13572
13572
  Zn = new WeakMap(), // private constructor
13573
13573
  Q(In, Zn, !1);
13574
13574
  let Fs = In;
13575
- var Pa, Ma, At, at, xt, Ft, ei, ti, Oe, Ct, Te, he, te, Ye, ut, qe, Re, Rt, Le, Lt, kt, lt, Dt, pn, He, U, Rs, Fn, en, Di, ct, ml, Cn, ni, $i, un, ln, Ls, br, wr, fe, ks, Ii, cn, Ds;
13575
+ var Pa, Ma, At, at, xt, Ft, ei, ti, Oe, Ct, Te, he, te, He, ut, qe, Re, Rt, Le, Lt, kt, lt, Dt, pn, Ye, U, Rs, Fn, en, Di, ct, ml, Cn, ni, $i, un, ln, Ls, br, wr, fe, ks, Ii, cn, Ds;
13576
13576
  const fo = class fo {
13577
13577
  constructor(e) {
13578
13578
  Q(this, U);
@@ -13586,70 +13586,70 @@ const fo = class fo {
13586
13586
  /**
13587
13587
  * {@link LRUCache.OptionsBase.ttl}
13588
13588
  */
13589
- Y(this, "ttl");
13589
+ H(this, "ttl");
13590
13590
  /**
13591
13591
  * {@link LRUCache.OptionsBase.ttlResolution}
13592
13592
  */
13593
- Y(this, "ttlResolution");
13593
+ H(this, "ttlResolution");
13594
13594
  /**
13595
13595
  * {@link LRUCache.OptionsBase.ttlAutopurge}
13596
13596
  */
13597
- Y(this, "ttlAutopurge");
13597
+ H(this, "ttlAutopurge");
13598
13598
  /**
13599
13599
  * {@link LRUCache.OptionsBase.updateAgeOnGet}
13600
13600
  */
13601
- Y(this, "updateAgeOnGet");
13601
+ H(this, "updateAgeOnGet");
13602
13602
  /**
13603
13603
  * {@link LRUCache.OptionsBase.updateAgeOnHas}
13604
13604
  */
13605
- Y(this, "updateAgeOnHas");
13605
+ H(this, "updateAgeOnHas");
13606
13606
  /**
13607
13607
  * {@link LRUCache.OptionsBase.allowStale}
13608
13608
  */
13609
- Y(this, "allowStale");
13609
+ H(this, "allowStale");
13610
13610
  /**
13611
13611
  * {@link LRUCache.OptionsBase.noDisposeOnSet}
13612
13612
  */
13613
- Y(this, "noDisposeOnSet");
13613
+ H(this, "noDisposeOnSet");
13614
13614
  /**
13615
13615
  * {@link LRUCache.OptionsBase.noUpdateTTL}
13616
13616
  */
13617
- Y(this, "noUpdateTTL");
13617
+ H(this, "noUpdateTTL");
13618
13618
  /**
13619
13619
  * {@link LRUCache.OptionsBase.maxEntrySize}
13620
13620
  */
13621
- Y(this, "maxEntrySize");
13621
+ H(this, "maxEntrySize");
13622
13622
  /**
13623
13623
  * {@link LRUCache.OptionsBase.sizeCalculation}
13624
13624
  */
13625
- Y(this, "sizeCalculation");
13625
+ H(this, "sizeCalculation");
13626
13626
  /**
13627
13627
  * {@link LRUCache.OptionsBase.noDeleteOnFetchRejection}
13628
13628
  */
13629
- Y(this, "noDeleteOnFetchRejection");
13629
+ H(this, "noDeleteOnFetchRejection");
13630
13630
  /**
13631
13631
  * {@link LRUCache.OptionsBase.noDeleteOnStaleGet}
13632
13632
  */
13633
- Y(this, "noDeleteOnStaleGet");
13633
+ H(this, "noDeleteOnStaleGet");
13634
13634
  /**
13635
13635
  * {@link LRUCache.OptionsBase.allowStaleOnFetchAbort}
13636
13636
  */
13637
- Y(this, "allowStaleOnFetchAbort");
13637
+ H(this, "allowStaleOnFetchAbort");
13638
13638
  /**
13639
13639
  * {@link LRUCache.OptionsBase.allowStaleOnFetchRejection}
13640
13640
  */
13641
- Y(this, "allowStaleOnFetchRejection");
13641
+ H(this, "allowStaleOnFetchRejection");
13642
13642
  /**
13643
13643
  * {@link LRUCache.OptionsBase.ignoreFetchAbort}
13644
13644
  */
13645
- Y(this, "ignoreFetchAbort");
13645
+ H(this, "ignoreFetchAbort");
13646
13646
  // computed properties
13647
13647
  Q(this, Oe);
13648
13648
  Q(this, Ct);
13649
13649
  Q(this, Te);
13650
13650
  Q(this, he);
13651
13651
  Q(this, te);
13652
- Q(this, Ye);
13652
+ Q(this, He);
13653
13653
  Q(this, ut);
13654
13654
  Q(this, qe);
13655
13655
  Q(this, Re);
@@ -13660,7 +13660,7 @@ const fo = class fo {
13660
13660
  Q(this, lt);
13661
13661
  Q(this, Dt);
13662
13662
  Q(this, pn);
13663
- Q(this, He);
13663
+ Q(this, Ye);
13664
13664
  // conditionally set private methods related to TTL
13665
13665
  Q(this, Fn, () => {
13666
13666
  });
@@ -13684,7 +13684,7 @@ const fo = class fo {
13684
13684
  * description of an object. Called by the built-in method
13685
13685
  * `Object.prototype.toString`.
13686
13686
  */
13687
- Y(this, Pa, "LRUCache");
13687
+ H(this, Pa, "LRUCache");
13688
13688
  const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: E, memoMethod: b, noDeleteOnFetchRejection: O, noDeleteOnStaleGet: x, allowStaleOnFetchRejection: A, allowStaleOnFetchAbort: L, ignoreFetchAbort: T } = e;
13689
13689
  if (n !== 0 && !an(n))
13690
13690
  throw new TypeError("max option must be a nonnegative integer");
@@ -13701,7 +13701,7 @@ const fo = class fo {
13701
13701
  throw new TypeError("memoMethod must be a function if defined");
13702
13702
  if ($(this, ti, b), E !== void 0 && typeof E != "function")
13703
13703
  throw new TypeError("fetchMethod must be a function if specified");
13704
- if ($(this, ei, E), $(this, pn, !!E), $(this, Te, /* @__PURE__ */ new Map()), $(this, he, new Array(n).fill(void 0)), $(this, te, new Array(n).fill(void 0)), $(this, Ye, new N(n)), $(this, ut, new N(n)), $(this, qe, 0), $(this, Re, 0), $(this, Rt, Fs.create(n)), $(this, Oe, 0), $(this, Ct, 0), typeof c == "function" && $(this, xt, c), typeof f == "function" ? ($(this, Ft, f), $(this, Le, [])) : ($(this, Ft, void 0), $(this, Le, void 0)), $(this, Dt, !!l(this, xt)), $(this, He, !!l(this, Ft)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!O, this.allowStaleOnFetchRejection = !!A, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!T, this.maxEntrySize !== 0) {
13704
+ if ($(this, ei, E), $(this, pn, !!E), $(this, Te, /* @__PURE__ */ new Map()), $(this, he, new Array(n).fill(void 0)), $(this, te, new Array(n).fill(void 0)), $(this, He, new N(n)), $(this, ut, new N(n)), $(this, qe, 0), $(this, Re, 0), $(this, Rt, Fs.create(n)), $(this, Oe, 0), $(this, Ct, 0), typeof c == "function" && $(this, xt, c), typeof f == "function" ? ($(this, Ft, f), $(this, Le, [])) : ($(this, Ft, void 0), $(this, Le, void 0)), $(this, Dt, !!l(this, xt)), $(this, Ye, !!l(this, Ft)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!O, this.allowStaleOnFetchRejection = !!A, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!T, this.maxEntrySize !== 0) {
13705
13705
  if (l(this, at) !== 0 && !an(l(this, at)))
13706
13706
  throw new TypeError("maxSize must be a positive integer if specified");
13707
13707
  if (!an(this.maxEntrySize))
@@ -13738,7 +13738,7 @@ const fo = class fo {
13738
13738
  keyMap: l(e, Te),
13739
13739
  keyList: l(e, he),
13740
13740
  valList: l(e, te),
13741
- next: l(e, Ye),
13741
+ next: l(e, He),
13742
13742
  prev: l(e, ut),
13743
13743
  get head() {
13744
13744
  return l(e, qe);
@@ -14058,7 +14058,7 @@ const fo = class fo {
14058
14058
  return u && (u.set = "miss", u.maxEntrySizeExceeded = !0), k(this, U, cn).call(this, e, "set"), this;
14059
14059
  let p = l(this, Oe) === 0 ? void 0 : l(this, Te).get(e);
14060
14060
  if (p === void 0)
14061
- p = l(this, Oe) === 0 ? l(this, Re) : l(this, Rt).length !== 0 ? l(this, Rt).pop() : l(this, Oe) === l(this, At) ? k(this, U, br).call(this, !1) : l(this, Oe), l(this, he)[p] = e, l(this, te)[p] = n, l(this, Te).set(e, p), l(this, Ye)[l(this, Re)] = p, l(this, ut)[p] = l(this, Re), $(this, Re, p), vn(this, Oe)._++, l(this, ni).call(this, p, f, u), u && (u.set = "add"), c = !1;
14061
+ p = l(this, Oe) === 0 ? l(this, Re) : l(this, Rt).length !== 0 ? l(this, Rt).pop() : l(this, Oe) === l(this, At) ? k(this, U, br).call(this, !1) : l(this, Oe), l(this, he)[p] = e, l(this, te)[p] = n, l(this, Te).set(e, p), l(this, He)[l(this, Re)] = p, l(this, ut)[p] = l(this, Re), $(this, Re, p), vn(this, Oe)._++, l(this, ni).call(this, p, f, u), u && (u.set = "add"), c = !1;
14062
14062
  else {
14063
14063
  k(this, U, Ii).call(this, p);
14064
14064
  const b = l(this, te)[p];
@@ -14066,8 +14066,8 @@ const fo = class fo {
14066
14066
  if (l(this, pn) && k(this, U, fe).call(this, b)) {
14067
14067
  b.__abortController.abort(new Error("replaced"));
14068
14068
  const { __staleWhileFetching: O } = b;
14069
- O !== void 0 && !o && (l(this, Dt) && ((m = l(this, xt)) == null || m.call(this, O, e, "set")), l(this, He) && ((S = l(this, Le)) == null || S.push([O, e, "set"])));
14070
- } else o || (l(this, Dt) && ((w = l(this, xt)) == null || w.call(this, b, e, "set")), l(this, He) && ((C = l(this, Le)) == null || C.push([b, e, "set"])));
14069
+ O !== void 0 && !o && (l(this, Dt) && ((m = l(this, xt)) == null || m.call(this, O, e, "set")), l(this, Ye) && ((S = l(this, Le)) == null || S.push([O, e, "set"])));
14070
+ } else o || (l(this, Dt) && ((w = l(this, xt)) == null || w.call(this, b, e, "set")), l(this, Ye) && ((C = l(this, Le)) == null || C.push([b, e, "set"])));
14071
14071
  if (l(this, Cn).call(this, p), l(this, ni).call(this, p, f, u), l(this, te)[p] = n, u) {
14072
14072
  u.set = "replace";
14073
14073
  const O = b && k(this, U, fe).call(this, b) ? b.__staleWhileFetching : b;
@@ -14075,7 +14075,7 @@ const fo = class fo {
14075
14075
  }
14076
14076
  } else u && (u.set = "update");
14077
14077
  }
14078
- if (r !== 0 && !l(this, lt) && k(this, U, Rs).call(this), l(this, lt) && (c || l(this, Di).call(this, p, r, s), u && l(this, en).call(this, u, p)), !o && l(this, He) && l(this, Le)) {
14078
+ if (r !== 0 && !l(this, lt) && k(this, U, Rs).call(this), l(this, lt) && (c || l(this, Di).call(this, p, r, s), u && l(this, en).call(this, u, p)), !o && l(this, Ye) && l(this, Le)) {
14079
14079
  const b = l(this, Le);
14080
14080
  let O;
14081
14081
  for (; O = b == null ? void 0 : b.shift(); )
@@ -14099,7 +14099,7 @@ const fo = class fo {
14099
14099
  return n;
14100
14100
  }
14101
14101
  } finally {
14102
- if (l(this, He) && l(this, Le)) {
14102
+ if (l(this, Ye) && l(this, Le)) {
14103
14103
  const n = l(this, Le);
14104
14104
  let i;
14105
14105
  for (; i = n == null ? void 0 : n.shift(); )
@@ -14259,7 +14259,7 @@ const fo = class fo {
14259
14259
  return k(this, U, Ds).call(this, "delete");
14260
14260
  }
14261
14261
  };
14262
- At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(), ei = new WeakMap(), ti = new WeakMap(), Oe = new WeakMap(), Ct = new WeakMap(), Te = new WeakMap(), he = new WeakMap(), te = new WeakMap(), Ye = new WeakMap(), ut = new WeakMap(), qe = new WeakMap(), Re = new WeakMap(), Rt = new WeakMap(), Le = new WeakMap(), Lt = new WeakMap(), kt = new WeakMap(), lt = new WeakMap(), Dt = new WeakMap(), pn = new WeakMap(), He = new WeakMap(), U = new WeakSet(), Rs = function() {
14262
+ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(), ei = new WeakMap(), ti = new WeakMap(), Oe = new WeakMap(), Ct = new WeakMap(), Te = new WeakMap(), he = new WeakMap(), te = new WeakMap(), He = new WeakMap(), ut = new WeakMap(), qe = new WeakMap(), Re = new WeakMap(), Rt = new WeakMap(), Le = new WeakMap(), Lt = new WeakMap(), kt = new WeakMap(), lt = new WeakMap(), Dt = new WeakMap(), pn = new WeakMap(), Ye = new WeakMap(), U = new WeakSet(), Rs = function() {
14263
14263
  const e = new yr(l(this, At)), n = new yr(l(this, At));
14264
14264
  $(this, lt, e), $(this, kt, n), $(this, Di, (s, o, a = Bn.now()) => {
14265
14265
  if (n[s] = o !== 0 ? a : 0, e[s] = o, o !== 0 && this.ttlAutopurge) {
@@ -14334,13 +14334,13 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14334
14334
  }, ln = function* ({ allowStale: e = this.allowStale } = {}) {
14335
14335
  if (l(this, Oe))
14336
14336
  for (let n = l(this, qe); !(!k(this, U, Ls).call(this, n) || ((e || !l(this, ct).call(this, n)) && (yield n), n === l(this, Re))); )
14337
- n = l(this, Ye)[n];
14337
+ n = l(this, He)[n];
14338
14338
  }, Ls = function(e) {
14339
14339
  return e !== void 0 && l(this, Te).get(l(this, he)[e]) === e;
14340
14340
  }, br = function(e) {
14341
14341
  var s, o;
14342
14342
  const n = l(this, qe), i = l(this, he)[n], r = l(this, te)[n];
14343
- return l(this, pn) && k(this, U, fe).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Dt) || l(this, He)) && (l(this, Dt) && ((s = l(this, xt)) == null || s.call(this, r, i, "evict")), l(this, He) && ((o = l(this, Le)) == null || o.push([r, i, "evict"]))), l(this, Cn).call(this, n), e && (l(this, he)[n] = void 0, l(this, te)[n] = void 0, l(this, Rt).push(n)), l(this, Oe) === 1 ? ($(this, qe, $(this, Re, 0)), l(this, Rt).length = 0) : $(this, qe, l(this, Ye)[n]), l(this, Te).delete(i), vn(this, Oe)._--, n;
14343
+ return l(this, pn) && k(this, U, fe).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Dt) || l(this, Ye)) && (l(this, Dt) && ((s = l(this, xt)) == null || s.call(this, r, i, "evict")), l(this, Ye) && ((o = l(this, Le)) == null || o.push([r, i, "evict"]))), l(this, Cn).call(this, n), e && (l(this, he)[n] = void 0, l(this, te)[n] = void 0, l(this, Rt).push(n)), l(this, Oe) === 1 ? ($(this, qe, $(this, Re, 0)), l(this, Rt).length = 0) : $(this, qe, l(this, He)[n]), l(this, Te).delete(i), vn(this, Oe)._--, n;
14344
14344
  }, wr = function(e, n, i, r) {
14345
14345
  const s = n === void 0 ? void 0 : l(this, te)[n];
14346
14346
  if (k(this, U, fe).call(this, s))
@@ -14385,9 +14385,9 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14385
14385
  const n = e;
14386
14386
  return !!n && n instanceof Promise && n.hasOwnProperty("__staleWhileFetching") && n.__abortController instanceof Fr;
14387
14387
  }, ks = function(e, n) {
14388
- l(this, ut)[n] = e, l(this, Ye)[e] = n;
14388
+ l(this, ut)[n] = e, l(this, He)[e] = n;
14389
14389
  }, Ii = function(e) {
14390
- e !== l(this, Re) && (e === l(this, qe) ? $(this, qe, l(this, Ye)[e]) : k(this, U, ks).call(this, l(this, ut)[e], l(this, Ye)[e]), k(this, U, ks).call(this, l(this, Re), e), $(this, Re, e));
14390
+ e !== l(this, Re) && (e === l(this, qe) ? $(this, qe, l(this, He)[e]) : k(this, U, ks).call(this, l(this, ut)[e], l(this, He)[e]), k(this, U, ks).call(this, l(this, Re), e), $(this, Re, e));
14391
14391
  }, cn = function(e, n) {
14392
14392
  var r, s, o, a;
14393
14393
  let i = !1;
@@ -14399,20 +14399,20 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14399
14399
  else {
14400
14400
  l(this, Cn).call(this, u);
14401
14401
  const c = l(this, te)[u];
14402
- if (k(this, U, fe).call(this, c) ? c.__abortController.abort(new Error("deleted")) : (l(this, Dt) || l(this, He)) && (l(this, Dt) && ((r = l(this, xt)) == null || r.call(this, c, e, n)), l(this, He) && ((s = l(this, Le)) == null || s.push([c, e, n]))), l(this, Te).delete(e), l(this, he)[u] = void 0, l(this, te)[u] = void 0, u === l(this, Re))
14402
+ if (k(this, U, fe).call(this, c) ? c.__abortController.abort(new Error("deleted")) : (l(this, Dt) || l(this, Ye)) && (l(this, Dt) && ((r = l(this, xt)) == null || r.call(this, c, e, n)), l(this, Ye) && ((s = l(this, Le)) == null || s.push([c, e, n]))), l(this, Te).delete(e), l(this, he)[u] = void 0, l(this, te)[u] = void 0, u === l(this, Re))
14403
14403
  $(this, Re, l(this, ut)[u]);
14404
14404
  else if (u === l(this, qe))
14405
- $(this, qe, l(this, Ye)[u]);
14405
+ $(this, qe, l(this, He)[u]);
14406
14406
  else {
14407
14407
  const f = l(this, ut)[u];
14408
- l(this, Ye)[f] = l(this, Ye)[u];
14409
- const p = l(this, Ye)[u];
14408
+ l(this, He)[f] = l(this, He)[u];
14409
+ const p = l(this, He)[u];
14410
14410
  l(this, ut)[p] = l(this, ut)[u];
14411
14411
  }
14412
14412
  vn(this, Oe)._--, l(this, Rt).push(u);
14413
14413
  }
14414
14414
  }
14415
- if (l(this, He) && ((o = l(this, Le)) != null && o.length)) {
14415
+ if (l(this, Ye) && ((o = l(this, Le)) != null && o.length)) {
14416
14416
  const u = l(this, Le);
14417
14417
  let c;
14418
14418
  for (; c = u == null ? void 0 : u.shift(); )
@@ -14427,10 +14427,10 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14427
14427
  o.__abortController.abort(new Error("deleted"));
14428
14428
  else {
14429
14429
  const a = l(this, he)[s];
14430
- l(this, Dt) && ((n = l(this, xt)) == null || n.call(this, o, a, e)), l(this, He) && ((i = l(this, Le)) == null || i.push([o, a, e]));
14430
+ l(this, Dt) && ((n = l(this, xt)) == null || n.call(this, o, a, e)), l(this, Ye) && ((i = l(this, Le)) == null || i.push([o, a, e]));
14431
14431
  }
14432
14432
  }
14433
- if (l(this, Te).clear(), l(this, te).fill(void 0), l(this, he).fill(void 0), l(this, lt) && l(this, kt) && (l(this, lt).fill(0), l(this, kt).fill(0)), l(this, Lt) && l(this, Lt).fill(0), $(this, qe, 0), $(this, Re, 0), l(this, Rt).length = 0, $(this, Ct, 0), $(this, Oe, 0), l(this, He) && l(this, Le)) {
14433
+ if (l(this, Te).clear(), l(this, te).fill(void 0), l(this, he).fill(void 0), l(this, lt) && l(this, kt) && (l(this, lt).fill(0), l(this, kt).fill(0)), l(this, Lt) && l(this, Lt).fill(0), $(this, qe, 0), $(this, Re, 0), l(this, Rt).length = 0, $(this, Ct, 0), $(this, Oe, 0), l(this, Ye) && l(this, Le)) {
14434
14434
  const s = l(this, Le);
14435
14435
  let o;
14436
14436
  for (; o = s == null ? void 0 : s.shift(); )
@@ -15217,7 +15217,7 @@ list should be an Array.`), h.length === 0) return new E(0);
15217
15217
  });
15218
15218
  })(yl);
15219
15219
  var em = yl.exports;
15220
- const tm = /* @__PURE__ */ Al(em);
15220
+ const tm = /* @__PURE__ */ xl(em);
15221
15221
  var _n = {}, En = {}, ro = {};
15222
15222
  Object.defineProperty(ro, "__esModule", {
15223
15223
  value: !0
@@ -15688,11 +15688,10 @@ const Rm = (t) => {
15688
15688
  throw new _n.GraphQLError("OpenAPI version is not defined");
15689
15689
  const n = await Cm(e);
15690
15690
  return Rm(n);
15691
- }, $m = (t, e) => {
15692
- const n = (t.summary ?? "") + (t.operationId ? "-" + t.operationId.slice(0, (t.summary, 1 / 0)) : "");
15693
- return xl(
15694
- (e ? e + "-" : "") + (n || `${t.method}-${t.path}`),
15695
- { lower: !0, trim: !0 }
15691
+ }, $m = (t, e, n) => {
15692
+ const i = (e.summary ?? "") + (e.operationId ? "-" + e.operationId.slice(0, (e.summary, 1 / 0)) : "");
15693
+ return t(
15694
+ (n ? n + "-" : "") + (i || `${e.method}-${e.path}`)
15696
15695
  );
15697
15696
  }, ls = new Cs({
15698
15697
  ttl: 60 * 10 * 1e3,
@@ -15704,36 +15703,36 @@ const Rm = (t) => {
15704
15703
  (r) => !e.some((s) => s.name === r)
15705
15704
  );
15706
15705
  return [...e, ...i.map((r) => ({ name: r }))];
15707
- }, Tl = (t, e) => Object.entries(t ?? {}).flatMap(
15708
- ([n, i]) => Lm.flatMap((r) => {
15709
- if (!(i != null && i[r])) return [];
15710
- const s = i[r], o = i.parameters ?? [], a = s.parameters ?? [], u = [
15711
- ...o.filter(
15712
- // remove path parameters that are already defined in the operation
15713
- (c) => !a.some(
15714
- (f) => f.name === c.name && f.in === c.in
15715
- )
15716
- ),
15717
- ...a
15718
- ];
15719
- return {
15720
- ...s,
15721
- method: r,
15722
- path: n,
15723
- parameters: u,
15724
- tags: s.tags ?? [],
15725
- slug: $m(
15726
- {
15727
- summary: s.summary,
15728
- operationId: s.operationId,
15729
- path: n,
15730
- method: r
15731
- },
15732
- e
15733
- )
15734
- };
15735
- })
15736
- ), Pm = Ve.objectRef("SchemaTag").implement({
15706
+ }, Tl = (t, e) => {
15707
+ const n = Al();
15708
+ return Object.entries(t ?? {}).flatMap(
15709
+ ([i, r]) => Lm.flatMap((s) => {
15710
+ if (!(r != null && r[s])) return [];
15711
+ const o = r[s], a = r.parameters ?? [], u = o.parameters ?? [], c = [
15712
+ ...a.filter(
15713
+ // remove path parameters that are already defined in the operation
15714
+ (p) => !u.some(
15715
+ (m) => m.name === p.name && m.in === p.in
15716
+ )
15717
+ ),
15718
+ ...u
15719
+ ], f = {
15720
+ summary: o.summary,
15721
+ operationId: o.operationId,
15722
+ path: i,
15723
+ method: s
15724
+ };
15725
+ return {
15726
+ ...o,
15727
+ method: s,
15728
+ path: i,
15729
+ parameters: c,
15730
+ tags: o.tags ?? [],
15731
+ slug: $m(n, f, e)
15732
+ };
15733
+ })
15734
+ );
15735
+ }, Pm = Ve.objectRef("SchemaTag").implement({
15737
15736
  fields: (t) => ({
15738
15737
  name: t.exposeString("name", { nullable: !0 }),
15739
15738
  description: t.exposeString("description", { nullable: !0 }),
@@ -15948,7 +15947,7 @@ const Rm = (t) => {
15948
15947
  return ls.get(e);
15949
15948
  const n = Dm(t);
15950
15949
  return ls.set(e, n), n;
15951
- }, Ym = Ve.enumType("SchemaType", {
15950
+ }, Hm = Ve.enumType("SchemaType", {
15952
15951
  values: ["url", "file", "raw"]
15953
15952
  });
15954
15953
  Ve.queryType({
@@ -15957,7 +15956,7 @@ Ve.queryType({
15957
15956
  schema: t.field({
15958
15957
  type: Qm,
15959
15958
  args: {
15960
- type: t.arg({ type: Ym, required: !0 }),
15959
+ type: t.arg({ type: Hm, required: !0 }),
15961
15960
  input: t.arg({ type: Ri, required: !0 })
15962
15961
  },
15963
15962
  resolve: async (e, n, i) => {
@@ -15967,7 +15966,7 @@ Ve.queryType({
15967
15966
  })
15968
15967
  })
15969
15968
  });
15970
- const Hm = Ve.toSchema(), Jm = (t) => Xg({ schema: Hm, ...t }), Km = () => Jm({
15969
+ const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
15971
15970
  plugins: [
15972
15971
  // eslint-disable-next-line react-hooks/rules-of-hooks
15973
15972
  Jl({
@@ -16007,7 +16006,7 @@ const Hm = Ve.toSchema(), Jm = (t) => Xg({ schema: Hm, ...t }), Km = () => Jm({
16007
16006
  return Zm();
16008
16007
  const e = new SharedWorker(new URL(
16009
16008
  /* @vite-ignore */
16010
- "./assets/worker-TYRbYl6N.js",
16009
+ "./assets/worker-DgVH8VJc.js",
16011
16010
  import.meta.url
16012
16011
  ), {
16013
16012
  type: "module"