@scalar/api-reference 1.20.15 → 1.20.16

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.
package/dist/index.js CHANGED
@@ -549,11 +549,11 @@ function yd(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
549
549
  const c = [], d = {};
550
550
  let u = s - e.length;
551
551
  typeof n == "number" && (n > s - Math.max(2, i) ? c.push(0) : u = s - n);
552
- let h, f, p = !1, O = -1, m = -1, g = -1;
552
+ let h, f, p = !1, O = -1, g = -1, m = -1;
553
553
  t === vh && (O = Zg(r, O, e.length), O !== -1 && (u = O + l));
554
554
  for (let b; b = r[O += 1]; ) {
555
555
  if (t === rc && b === "\\") {
556
- switch (m = O, r[O + 1]) {
556
+ switch (g = O, r[O + 1]) {
557
557
  case "x":
558
558
  O += 3;
559
559
  break;
@@ -566,7 +566,7 @@ function yd(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
566
566
  default:
567
567
  O += 1;
568
568
  }
569
- g = O;
569
+ m = O;
570
570
  }
571
571
  if (b === `
572
572
  `)
@@ -584,7 +584,7 @@ function yd(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
584
584
  else if (t === rc) {
585
585
  for (; f === " " || f === " "; )
586
586
  f = b, b = r[O += 1], p = !0;
587
- const v = O > g + 1 ? O - 2 : m - 1;
587
+ const v = O > m + 1 ? O - 2 : g - 1;
588
588
  if (d[v])
589
589
  return r;
590
590
  c.push(v), d[v] = !0, u = v + l, h = void 0;
@@ -750,18 +750,18 @@ function nc({ comment: r, type: e, value: t }, n, s, i) {
750
750
  `);
751
751
  p === -1 ? u = "-" : t === f || p !== f.length - 1 ? (u = "+", i && i()) : u = "", f && (t = t.slice(0, -f.length), f[f.length - 1] === `
752
752
  ` && (f = f.slice(0, -1)), f = f.replace(Sh, `$&${c}`));
753
- let O = !1, m, g = -1;
754
- for (m = 0; m < t.length; ++m) {
755
- const S = t[m];
753
+ let O = !1, g, m = -1;
754
+ for (g = 0; g < t.length; ++g) {
755
+ const S = t[g];
756
756
  if (S === " ")
757
757
  O = !0;
758
758
  else if (S === `
759
759
  `)
760
- g = m;
760
+ m = g;
761
761
  else
762
762
  break;
763
763
  }
764
- let y = t.substring(0, g < m ? g + 1 : m);
764
+ let y = t.substring(0, m < g ? m + 1 : g);
765
765
  y && (t = t.substring(y.length), y = y.replace(/\n+/g, `$&${c}`));
766
766
  let v = (d ? "|" : ">") + (O ? c ? "2" : "1" : "") + u;
767
767
  if (r && (v += " " + a(r.replace(/ ?[\r\n]+/g, " ")), s && s()), d)
@@ -794,8 +794,8 @@ function l_(r, e, t, n) {
794
794
  ${l}`);
795
795
  if (o) {
796
796
  const h = (O) => {
797
- var m;
798
- return O.default && O.tag !== "tag:yaml.org,2002:str" && ((m = O.test) == null ? void 0 : m.test(u));
797
+ var g;
798
+ return O.default && O.tag !== "tag:yaml.org,2002:str" && ((g = O.test) == null ? void 0 : g.test(u));
799
799
  }, { compat: f, tags: p } = e.doc.schema;
800
800
  if (p.some(h) || f != null && f.some(h))
801
801
  return $i(i, e);
@@ -938,26 +938,26 @@ function f_({ key: r, value: e }, t, n, s) {
938
938
  implicitKey: !f && (u || !i),
939
939
  indent: a + l
940
940
  });
941
- let p = !1, O = !1, m = Pc(r, t, () => p = !0, () => O = !0);
942
- if (!f && !t.inFlow && m.length > 1024) {
941
+ let p = !1, O = !1, g = Pc(r, t, () => p = !0, () => O = !0);
942
+ if (!f && !t.inFlow && g.length > 1024) {
943
943
  if (u)
944
944
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
945
945
  f = !0;
946
946
  }
947
947
  if (t.inFlow) {
948
948
  if (i || e == null)
949
- return p && n && n(), m === "" ? "?" : f ? `? ${m}` : m;
949
+ return p && n && n(), g === "" ? "?" : f ? `? ${g}` : g;
950
950
  } else if (i && !u || e == null && f)
951
- return m = `? ${m}`, h && !p ? m += ki(m, t.indent, c(h)) : O && s && s(), m;
952
- p && (h = null), f ? (h && (m += ki(m, t.indent, c(h))), m = `? ${m}
953
- ${a}:`) : (m = `${m}:`, h && (m += ki(m, t.indent, c(h))));
954
- let g, y, b;
955
- Ut(e) ? (g = !!e.spaceBefore, y = e.commentBefore, b = e.comment) : (g = !1, y = null, b = null, e && typeof e == "object" && (e = o.createNode(e))), t.implicitKey = !1, !f && !h && mt(e) && (t.indentAtStart = m.length + 1), O = !1, !d && l.length >= 2 && !t.inFlow && !f && hp(e) && !e.flow && !e.tag && !e.anchor && (t.indent = t.indent.substring(2));
951
+ return g = `? ${g}`, h && !p ? g += ki(g, t.indent, c(h)) : O && s && s(), g;
952
+ p && (h = null), f ? (h && (g += ki(g, t.indent, c(h))), g = `? ${g}
953
+ ${a}:`) : (g = `${g}:`, h && (g += ki(g, t.indent, c(h))));
954
+ let m, y, b;
955
+ Ut(e) ? (m = !!e.spaceBefore, y = e.commentBefore, b = e.comment) : (m = !1, y = null, b = null, e && typeof e == "object" && (e = o.createNode(e))), t.implicitKey = !1, !f && !h && mt(e) && (t.indentAtStart = g.length + 1), O = !1, !d && l.length >= 2 && !t.inFlow && !f && hp(e) && !e.flow && !e.tag && !e.anchor && (t.indent = t.indent.substring(2));
956
956
  let v = !1;
957
957
  const P = Pc(e, t, () => v = !0, () => O = !0);
958
958
  let S = " ";
959
- if (h || g || y) {
960
- if (S = g ? `
959
+ if (h || m || y) {
960
+ if (S = m ? `
961
961
  ` : "", y) {
962
962
  const $ = c(y);
963
963
  S += `
@@ -983,7 +983,7 @@ ${t.indent}`);
983
983
  } else
984
984
  (P === "" || P[0] === `
985
985
  `) && (S = "");
986
- return m += S + P, t.inFlow ? v && n && n() : b && !v ? m += ki(m, t.indent, c(b)) : O && s && s(), m;
986
+ return g += S + P, t.inFlow ? v && n && n() : b && !v ? g += ki(g, t.indent, c(b)) : O && s && s(), g;
987
987
  }
988
988
  function p_(r, e) {
989
989
  (r === "debug" || r === "warn") && (typeof process < "u" && process.emitWarning ? process.emitWarning(e) : console.warn(e));
@@ -1081,16 +1081,16 @@ function O_({ comment: r, items: e }, t, { blockItemPrefix: n, flowChars: s, ite
1081
1081
  const h = [];
1082
1082
  for (let p = 0; p < e.length; ++p) {
1083
1083
  const O = e[p];
1084
- let m = null;
1084
+ let g = null;
1085
1085
  if (Ut(O))
1086
- !u && O.spaceBefore && h.push(""), _c(t, h, O.commentBefore, u), O.comment && (m = O.comment);
1086
+ !u && O.spaceBefore && h.push(""), _c(t, h, O.commentBefore, u), O.comment && (g = O.comment);
1087
1087
  else if ($t(O)) {
1088
1088
  const y = Ut(O.key) ? O.key : null;
1089
1089
  y && (!u && y.spaceBefore && h.push(""), _c(t, h, y.commentBefore, u));
1090
1090
  }
1091
1091
  u = !1;
1092
- let g = Pc(O, d, () => m = null, () => u = !0);
1093
- m && (g += ki(g, i, c(m))), u && m && (u = !1), h.push(n + g);
1092
+ let m = Pc(O, d, () => g = null, () => u = !0);
1093
+ g && (m += ki(m, i, c(g))), u && g && (u = !1), h.push(n + m);
1094
1094
  }
1095
1095
  let f;
1096
1096
  if (h.length === 0)
@@ -1119,25 +1119,25 @@ function y_({ items: r }, e, { flowChars: t, itemIndent: n }) {
1119
1119
  const u = [];
1120
1120
  for (let p = 0; p < r.length; ++p) {
1121
1121
  const O = r[p];
1122
- let m = null;
1122
+ let g = null;
1123
1123
  if (Ut(O))
1124
- O.spaceBefore && u.push(""), _c(e, u, O.commentBefore, !1), O.comment && (m = O.comment);
1124
+ O.spaceBefore && u.push(""), _c(e, u, O.commentBefore, !1), O.comment && (g = O.comment);
1125
1125
  else if ($t(O)) {
1126
1126
  const y = Ut(O.key) ? O.key : null;
1127
1127
  y && (y.spaceBefore && u.push(""), _c(e, u, y.commentBefore, !1), y.comment && (c = !0));
1128
1128
  const b = Ut(O.value) ? O.value : null;
1129
- b ? (b.comment && (m = b.comment), b.commentBefore && (c = !0)) : O.value == null && (y != null && y.comment) && (m = y.comment);
1129
+ b ? (b.comment && (g = b.comment), b.commentBefore && (c = !0)) : O.value == null && (y != null && y.comment) && (g = y.comment);
1130
1130
  }
1131
- m && (c = !0);
1132
- let g = Pc(O, l, () => m = null);
1133
- p < r.length - 1 && (g += ","), m && (g += ki(g, n, a(m))), !c && (u.length > d || g.includes(`
1134
- `)) && (c = !0), u.push(g), d = u.length;
1131
+ g && (c = !0);
1132
+ let m = Pc(O, l, () => g = null);
1133
+ p < r.length - 1 && (m += ","), g && (m += ki(m, n, a(g))), !c && (u.length > d || m.includes(`
1134
+ `)) && (c = !0), u.push(m), d = u.length;
1135
1135
  }
1136
1136
  const { start: h, end: f } = t;
1137
1137
  if (u.length === 0)
1138
1138
  return h + f;
1139
1139
  if (!c) {
1140
- const p = u.reduce((O, m) => O + m.length + 2, 2);
1140
+ const p = u.reduce((O, g) => O + g.length + 2, 2);
1141
1141
  c = e.options.lineWidth > 0 && p > e.options.lineWidth;
1142
1142
  }
1143
1143
  if (c) {
@@ -1683,7 +1683,7 @@ const Qc = (r) => {
1683
1683
  }
1684
1684
  };
1685
1685
  function S_(r, e) {
1686
- var u, h, f, p, O, m, g, y;
1686
+ var u, h, f, p, O, g, m, y;
1687
1687
  const n = [
1688
1688
  "application/json",
1689
1689
  "application/octet-stream",
@@ -1731,7 +1731,7 @@ function S_(r, e) {
1731
1731
  return {
1732
1732
  postData: void 0
1733
1733
  };
1734
- const l = (y = (g = (m = r.information) == null ? void 0 : m.requestBody) == null ? void 0 : g.content) == null ? void 0 : y[n], c = [
1734
+ const l = (y = (m = (g = r.information) == null ? void 0 : g.requestBody) == null ? void 0 : m.content) == null ? void 0 : y[n], c = [
1735
1735
  {
1736
1736
  name: "Content-Type",
1737
1737
  value: n
@@ -3988,7 +3988,7 @@ class ic {
3988
3988
  let f, p = h.config.address[i];
3989
3989
  if (p != null) {
3990
3990
  let O = Cc(h, p);
3991
- if (this.dependencies.every((m) => m instanceof me ? h.facet(m) === u.facet(m) : m instanceof Ir ? h.field(m, !1) == u.field(m, !1) : !0) || (a ? Xg(f = n(u), O, s) : s(f = n(u), O)))
3991
+ if (this.dependencies.every((g) => g instanceof me ? h.facet(g) === u.facet(g) : g instanceof Ir ? h.field(g, !1) == u.field(g, !1) : !0) || (a ? Xg(f = n(u), O, s) : s(f = n(u), O)))
3992
3992
  return u.values[o] = O, 0;
3993
3993
  } else
3994
3994
  f = n(u);
@@ -4179,19 +4179,19 @@ class Tc {
4179
4179
  for (let h in i) {
4180
4180
  let f = i[h], p = f[0].facet, O = d && d[h] || [];
4181
4181
  if (f.every(
4182
- (m) => m.type == 0
4182
+ (g) => g.type == 0
4183
4183
  /* Provider.Static */
4184
4184
  ))
4185
4185
  if (a[p.id] = l.length << 1 | 1, wp(O, f))
4186
4186
  l.push(n.facet(p));
4187
4187
  else {
4188
- let m = p.combine(f.map((g) => g.value));
4189
- l.push(n && p.compare(m, n.facet(p)) ? n.facet(p) : m);
4188
+ let g = p.combine(f.map((m) => m.value));
4189
+ l.push(n && p.compare(g, n.facet(p)) ? n.facet(p) : g);
4190
4190
  }
4191
4191
  else {
4192
- for (let m of f)
4193
- m.type == 0 ? (a[m.id] = l.length << 1 | 1, l.push(m.value)) : (a[m.id] = c.length << 1, c.push((g) => m.dynamicSlot(g)));
4194
- a[p.id] = c.length << 1, c.push((m) => V_(m, p, f));
4192
+ for (let g of f)
4193
+ g.type == 0 ? (a[g.id] = l.length << 1 | 1, l.push(g.value)) : (a[g.id] = c.length << 1, c.push((m) => g.dynamicSlot(m)));
4194
+ a[p.id] = c.length << 1, c.push((g) => V_(g, p, f));
4195
4195
  }
4196
4196
  }
4197
4197
  let u = c.map((h) => h(a));
@@ -5425,7 +5425,7 @@ class ts {
5425
5425
  let p = a[f];
5426
5426
  if (/&/.test(f))
5427
5427
  i(
5428
- f.split(/,\s*/).map((O) => o.map((m) => O.replace(/&/, m))).reduce((O, m) => O.concat(m)),
5428
+ f.split(/,\s*/).map((O) => o.map((g) => O.replace(/&/, g))).reduce((O, g) => O.concat(g)),
5429
5429
  p,
5430
5430
  l
5431
5431
  );
@@ -5700,32 +5700,32 @@ function lx(r, e, t, n, s, i, o, a) {
5700
5700
  bottom: y.top + d.clientHeight * O
5701
5701
  };
5702
5702
  }
5703
- let m = 0, g = 0;
5703
+ let g = 0, m = 0;
5704
5704
  if (s == "nearest")
5705
- e.top < h.top ? (g = -(h.top - e.top + o), t > 0 && e.bottom > h.bottom + g && (g = e.bottom - h.bottom + g + o)) : e.bottom > h.bottom && (g = e.bottom - h.bottom + o, t < 0 && e.top - g < h.top && (g = -(h.top + g - e.top + o)));
5705
+ e.top < h.top ? (m = -(h.top - e.top + o), t > 0 && e.bottom > h.bottom + m && (m = e.bottom - h.bottom + m + o)) : e.bottom > h.bottom && (m = e.bottom - h.bottom + o, t < 0 && e.top - m < h.top && (m = -(h.top + m - e.top + o)));
5706
5706
  else {
5707
5707
  let y = e.bottom - e.top, b = h.bottom - h.top;
5708
- g = (s == "center" && y <= b ? e.top + y / 2 - b / 2 : s == "start" || s == "center" && t < 0 ? e.top - o : e.bottom - b + o) - h.top;
5708
+ m = (s == "center" && y <= b ? e.top + y / 2 - b / 2 : s == "start" || s == "center" && t < 0 ? e.top - o : e.bottom - b + o) - h.top;
5709
5709
  }
5710
- if (n == "nearest" ? e.left < h.left ? (m = -(h.left - e.left + i), t > 0 && e.right > h.right + m && (m = e.right - h.right + m + i)) : e.right > h.right && (m = e.right - h.right + i, t < 0 && e.left < h.left + m && (m = -(h.left + m - e.left + i))) : m = (n == "center" ? e.left + (e.right - e.left) / 2 - (h.right - h.left) / 2 : n == "start" == a ? e.left - i : e.right - (h.right - h.left) + i) - h.left, m || g)
5710
+ if (n == "nearest" ? e.left < h.left ? (g = -(h.left - e.left + i), t > 0 && e.right > h.right + g && (g = e.right - h.right + g + i)) : e.right > h.right && (g = e.right - h.right + i, t < 0 && e.left < h.left + g && (g = -(h.left + g - e.left + i))) : g = (n == "center" ? e.left + (e.right - e.left) / 2 - (h.right - h.left) / 2 : n == "start" == a ? e.left - i : e.right - (h.right - h.left) + i) - h.left, g || m)
5711
5711
  if (f)
5712
- c.scrollBy(m, g);
5712
+ c.scrollBy(g, m);
5713
5713
  else {
5714
5714
  let y = 0, b = 0;
5715
- if (g) {
5715
+ if (m) {
5716
5716
  let v = d.scrollTop;
5717
- d.scrollTop += g / O, b = (d.scrollTop - v) * O;
5717
+ d.scrollTop += m / O, b = (d.scrollTop - v) * O;
5718
5718
  }
5719
- if (m) {
5719
+ if (g) {
5720
5720
  let v = d.scrollLeft;
5721
- d.scrollLeft += m / p, y = (d.scrollLeft - v) * p;
5721
+ d.scrollLeft += g / p, y = (d.scrollLeft - v) * p;
5722
5722
  }
5723
5723
  e = {
5724
5724
  left: e.left - y,
5725
5725
  top: e.top - b,
5726
5726
  right: e.right - y,
5727
5727
  bottom: e.bottom - b
5728
- }, y && Math.abs(y - m) < 1 && (n = "nearest"), b && Math.abs(b - g) < 1 && (s = "nearest");
5728
+ }, y && Math.abs(y - g) < 1 && (n = "nearest"), b && Math.abs(b - m) < 1 && (s = "nearest");
5729
5729
  }
5730
5730
  if (f)
5731
5731
  break;
@@ -6940,8 +6940,8 @@ function Sx(r, e, t, n, s) {
6940
6940
  if (f < 0) {
6941
6941
  for (let O = a - 3; O >= 0; O -= 3)
6942
6942
  if (Wr[O + 1] == -f) {
6943
- let m = Wr[O + 2], g = m & 2 ? s : m & 4 ? m & 1 ? i : s : 0;
6944
- g && (qe[u] = qe[Wr[O]] = g), a = O;
6943
+ let g = Wr[O + 2], m = g & 2 ? s : g & 4 ? g & 1 ? i : s : 0;
6944
+ m && (qe[u] = qe[Wr[O]] = m), a = O;
6945
6945
  break;
6946
6946
  }
6947
6947
  } else {
@@ -6952,16 +6952,16 @@ function Sx(r, e, t, n, s) {
6952
6952
  else if ((p = qe[u]) == 2 || p == 1) {
6953
6953
  let O = p == s;
6954
6954
  l = O ? 0 : 1;
6955
- for (let m = a - 3; m >= 0; m -= 3) {
6956
- let g = Wr[m + 2];
6957
- if (g & 2)
6955
+ for (let g = a - 3; g >= 0; g -= 3) {
6956
+ let m = Wr[g + 2];
6957
+ if (m & 2)
6958
6958
  break;
6959
6959
  if (O)
6960
- Wr[m + 2] |= 2;
6960
+ Wr[g + 2] |= 2;
6961
6961
  else {
6962
- if (g & 4)
6962
+ if (m & 4)
6963
6963
  break;
6964
- Wr[m + 2] |= 4;
6964
+ Wr[g + 2] |= 4;
6965
6965
  }
6966
6966
  }
6967
6967
  }
@@ -6984,8 +6984,8 @@ function kx(r, e, t, n) {
6984
6984
  else
6985
6985
  break;
6986
6986
  let u = i == 1, h = (d < e ? qe[d] : n) == 1, f = u == h ? u ? 1 : 2 : n;
6987
- for (let p = d, O = s, m = O ? t[O - 1].to : r; p > l; )
6988
- p == m && (p = t[--O].from, m = O ? t[O - 1].to : r), qe[--p] = f;
6987
+ for (let p = d, O = s, g = O ? t[O - 1].to : r; p > l; )
6988
+ p == g && (p = t[--O].from, g = O ? t[O - 1].to : r), qe[--p] = f;
6989
6989
  l = d;
6990
6990
  } else
6991
6991
  i = c, l++;
@@ -7009,13 +7009,13 @@ function Bh(r, e, t, n, s, i, o) {
7009
7009
  break e;
7010
7010
  let O = i[c];
7011
7011
  if (!d)
7012
- for (let m = O.to, g = c + 1; ; ) {
7013
- if (m == t)
7012
+ for (let g = O.to, m = c + 1; ; ) {
7013
+ if (g == t)
7014
7014
  break e;
7015
- if (g < i.length && i[g].from == m)
7016
- m = i[g++].to;
7015
+ if (m < i.length && i[m].from == g)
7016
+ g = i[m++].to;
7017
7017
  else {
7018
- if (qe[m] == a)
7018
+ if (qe[g] == a)
7019
7019
  break e;
7020
7020
  break;
7021
7021
  }
@@ -7024,8 +7024,8 @@ function Bh(r, e, t, n, s, i, o) {
7024
7024
  h.push(O);
7025
7025
  else {
7026
7026
  O.from > l && o.push(new Hn(l, O.from, f));
7027
- let m = O.direction == Ys != !(f % 2);
7028
- Hh(r, m ? n + 1 : n, s, O.inner, O.from, O.to, o), l = O.to;
7027
+ let g = O.direction == Ys != !(f % 2);
7028
+ Hh(r, g ? n + 1 : n, s, O.inner, O.from, O.to, o), l = O.to;
7029
7029
  }
7030
7030
  p = O.to;
7031
7031
  } else {
@@ -7050,13 +7050,13 @@ function Bh(r, e, t, n, s, i, o) {
7050
7050
  break e;
7051
7051
  let O = i[--c];
7052
7052
  if (!d)
7053
- for (let m = O.from, g = c; ; ) {
7054
- if (m == e)
7053
+ for (let g = O.from, m = c; ; ) {
7054
+ if (g == e)
7055
7055
  break e;
7056
- if (g && i[g - 1].to == m)
7057
- m = i[--g].from;
7056
+ if (m && i[m - 1].to == g)
7057
+ g = i[--m].from;
7058
7058
  else {
7059
- if (qe[m - 1] == a)
7059
+ if (qe[g - 1] == a)
7060
7060
  break e;
7061
7061
  break;
7062
7062
  }
@@ -7065,8 +7065,8 @@ function Bh(r, e, t, n, s, i, o) {
7065
7065
  h.push(O);
7066
7066
  else {
7067
7067
  O.to < l && o.push(new Hn(O.to, l, f));
7068
- let m = O.direction == Ys != !(f % 2);
7069
- Hh(r, m ? n + 1 : n, s, O.inner, O.from, O.to, o), l = O.from;
7068
+ let g = O.direction == Ys != !(f % 2);
7069
+ Hh(r, g ? n + 1 : n, s, O.inner, O.from, O.to, o), l = O.from;
7070
7070
  }
7071
7071
  p = O.from;
7072
7072
  } else {
@@ -7399,8 +7399,8 @@ class nO extends Ke {
7399
7399
  P.breakAtStart ? S.breakAfter = 1 : P.content.length && S.merge(S.length, S.length, P.content[0], !1, P.openStart, 0) && (S.breakAfter = P.content[0].breakAfter, P.content.shift()), v.content.length && S.merge(0, 0, v.content[v.content.length - 1], !0, 0, v.openEnd) && v.content.pop(), h = v.content.concat(S).concat(P.content);
7400
7400
  } else
7401
7401
  ({ content: h, breakAtStart: f, openStart: p, openEnd: O } = ha.build(this.view.state.doc, d, u, this.decorations, this.dynamicDecorationMap));
7402
- let { i: m, off: g } = i.findPos(c, 1), { i: y, off: b } = i.findPos(l, -1);
7403
- Jb(this, y, b, m, g, h, f, p, O);
7402
+ let { i: g, off: m } = i.findPos(c, 1), { i: y, off: b } = i.findPos(l, -1);
7403
+ Jb(this, y, b, g, m, h, f, p, O);
7404
7404
  }
7405
7405
  n && this.fixCompositionDOM(n);
7406
7406
  }
@@ -7580,8 +7580,8 @@ class nO extends Ke {
7580
7580
  if (t.push(f.height), o) {
7581
7581
  let p = u.dom.lastChild, O = p ? _a(p) : [];
7582
7582
  if (O.length) {
7583
- let m = O[O.length - 1], g = l ? m.right - f.left : f.right - m.left;
7584
- g > a && (a = g, this.minWidth = i, this.minWidthFrom = c, this.minWidthTo = h);
7583
+ let g = O[O.length - 1], m = l ? g.right - f.left : f.right - g.left;
7584
+ m > a && (a = m, this.minWidth = i, this.minWidthFrom = c, this.minWidthTo = h);
7585
7585
  }
7586
7586
  }
7587
7587
  }
@@ -7820,18 +7820,18 @@ function Fh(r, e, t) {
7820
7820
  let n, s, i, o, a = !1, l, c, d, u;
7821
7821
  for (let p = r.firstChild; p; p = p.nextSibling) {
7822
7822
  let O = _a(p);
7823
- for (let m = 0; m < O.length; m++) {
7824
- let g = O[m];
7825
- s && Pu(s, g) && (g = iO(oO(g, s.bottom), s.top));
7826
- let y = Nx(e, g), b = Mx(t, g);
7823
+ for (let g = 0; g < O.length; g++) {
7824
+ let m = O[g];
7825
+ s && Pu(s, m) && (m = iO(oO(m, s.bottom), s.top));
7826
+ let y = Nx(e, m), b = Mx(t, m);
7827
7827
  if (y == 0 && b == 0)
7828
7828
  return p.nodeType == 3 ? aO(p, e, t) : Fh(p, e, t);
7829
7829
  if (!n || o > b || o == b && i > y) {
7830
- n = p, s = g, i = y, o = b;
7831
- let v = b ? t < g.top ? -1 : 1 : y ? e < g.left ? -1 : 1 : 0;
7832
- a = !v || (v > 0 ? m < O.length - 1 : m > 0);
7830
+ n = p, s = m, i = y, o = b;
7831
+ let v = b ? t < m.top ? -1 : 1 : y ? e < m.left ? -1 : 1 : 0;
7832
+ a = !v || (v > 0 ? g < O.length - 1 : g > 0);
7833
7833
  }
7834
- y == 0 ? t > g.bottom && (!d || d.bottom < g.bottom) ? (l = p, d = g) : t < g.top && (!u || u.top > g.top) && (c = p, u = g) : d && Pu(d, g) ? d = oO(d, g.bottom) : u && Pu(u, g) && (u = iO(u, g.top));
7834
+ y == 0 ? t > m.bottom && (!d || d.bottom < m.bottom) ? (l = p, d = m) : t < m.top && (!u || u.top > m.top) && (c = p, u = m) : d && Pu(d, m) ? d = oO(d, m.bottom) : u && Pu(u, m) && (u = iO(u, m.top));
7835
7835
  }
7836
7836
  }
7837
7837
  if (d && d.bottom >= t ? (n = l, s = d) : u && u.top <= t && (n = c, s = u), !n)
@@ -7883,32 +7883,32 @@ function _v(r, e, t, n = -1) {
7883
7883
  return r.viewport.from == 0 ? 0 : t ? null : lO(r, o, l, d, u);
7884
7884
  if (f > r.viewport.to)
7885
7885
  return r.viewport.to == r.state.doc.length ? r.state.doc.length : t ? null : lO(r, o, l, d, u);
7886
- let p = r.dom.ownerDocument, O = r.root.elementFromPoint ? r.root : p, m = O.elementFromPoint(d, u);
7887
- m && !r.contentDOM.contains(m) && (m = null), m || (d = Math.max(o.left + 1, Math.min(o.right - 1, d)), m = O.elementFromPoint(d, u), m && !r.contentDOM.contains(m) && (m = null));
7888
- let g, y = -1;
7889
- if (m && ((s = r.docView.nearest(m)) === null || s === void 0 ? void 0 : s.isEditable) != !1) {
7886
+ let p = r.dom.ownerDocument, O = r.root.elementFromPoint ? r.root : p, g = O.elementFromPoint(d, u);
7887
+ g && !r.contentDOM.contains(g) && (g = null), g || (d = Math.max(o.left + 1, Math.min(o.right - 1, d)), g = O.elementFromPoint(d, u), g && !r.contentDOM.contains(g) && (g = null));
7888
+ let m, y = -1;
7889
+ if (g && ((s = r.docView.nearest(g)) === null || s === void 0 ? void 0 : s.isEditable) != !1) {
7890
7890
  if (p.caretPositionFromPoint) {
7891
7891
  let v = p.caretPositionFromPoint(d, u);
7892
- v && ({ offsetNode: g, offset: y } = v);
7892
+ v && ({ offsetNode: m, offset: y } = v);
7893
7893
  } else if (p.caretRangeFromPoint) {
7894
7894
  let v = p.caretRangeFromPoint(d, u);
7895
- v && ({ startContainer: g, startOffset: y } = v, (!r.contentDOM.contains(g) || le.safari && Dx(g, y, d) || le.chrome && Xx(g, y, d)) && (g = void 0));
7895
+ v && ({ startContainer: m, startOffset: y } = v, (!r.contentDOM.contains(m) || le.safari && Dx(m, y, d) || le.chrome && Xx(m, y, d)) && (m = void 0));
7896
7896
  }
7897
7897
  }
7898
- if (!g || !r.docView.dom.contains(g)) {
7898
+ if (!m || !r.docView.dom.contains(m)) {
7899
7899
  let v = pt.find(r.docView, f);
7900
7900
  if (!v)
7901
7901
  return h > l.top + l.height / 2 ? l.to : l.from;
7902
- ({ node: g, offset: y } = Fh(v.dom, d, u));
7902
+ ({ node: m, offset: y } = Fh(v.dom, d, u));
7903
7903
  }
7904
- let b = r.docView.nearest(g);
7904
+ let b = r.docView.nearest(m);
7905
7905
  if (!b)
7906
7906
  return null;
7907
7907
  if (b.isWidget && ((i = b.dom) === null || i === void 0 ? void 0 : i.nodeType) == 1) {
7908
7908
  let v = b.dom.getBoundingClientRect();
7909
7909
  return e.y < v.top || e.y <= v.bottom && e.x <= (v.left + v.right) / 2 ? b.posAtStart : b.posAtEnd;
7910
7910
  } else
7911
- return b.localPosFromDOM(g, y) + b.posAtStart;
7911
+ return b.localPosFromDOM(m, y) + b.posAtStart;
7912
7912
  }
7913
7913
  function lO(r, e, t, n, s) {
7914
7914
  let i = Math.round((n - e.left) * r.defaultCharacterWidth);
@@ -8006,8 +8006,8 @@ function zx(r, e, t, n) {
8006
8006
  for (let f = 0; ; f += 10) {
8007
8007
  let p = a + (h + f) * i, O = _v(r, { x: u, y: p }, !1, i);
8008
8008
  if (p < l.top || p > l.bottom || (i < 0 ? O < s : O > s)) {
8009
- let m = r.docView.coordsForChar(O), g = !m || p < m.top ? -1 : 1;
8010
- return se.cursor(O, g, void 0, o);
8009
+ let g = r.docView.coordsForChar(O), m = !g || p < g.top ? -1 : 1;
8010
+ return se.cursor(O, m, void 0, o);
8011
8011
  }
8012
8012
  }
8013
8013
  }
@@ -9057,10 +9057,10 @@ class wO {
9057
9057
  (this.paddingTop != u || this.paddingBottom != h) && (this.paddingTop = u, this.paddingBottom = h, c |= 10), this.editorWidth != e.scrollDOM.clientWidth && (s.lineWrapping && (l = !0), this.editorWidth = e.scrollDOM.clientWidth, c |= 8);
9058
9058
  let f = e.scrollDOM.scrollTop * this.scaleY;
9059
9059
  this.scrollTop != f && (this.scrollAnchorHeight = -1, this.scrollTop = f), this.scrolledToBottom = Fb(e.scrollDOM);
9060
- let p = (this.printing ? m2 : p2)(t, this.paddingTop), O = p.top - this.pixelViewport.top, m = p.bottom - this.pixelViewport.bottom;
9060
+ let p = (this.printing ? m2 : p2)(t, this.paddingTop), O = p.top - this.pixelViewport.top, g = p.bottom - this.pixelViewport.bottom;
9061
9061
  this.pixelViewport = p;
9062
- let g = this.pixelViewport.bottom > this.pixelViewport.top && this.pixelViewport.right > this.pixelViewport.left;
9063
- if (g != this.inView && (this.inView = g, g && (l = !0)), !this.inView && !this.scrollTarget)
9062
+ let m = this.pixelViewport.bottom > this.pixelViewport.top && this.pixelViewport.right > this.pixelViewport.left;
9063
+ if (m != this.inView && (this.inView = m, m && (l = !0)), !this.inView && !this.scrollTarget)
9064
9064
  return 0;
9065
9065
  let y = a.width;
9066
9066
  if ((this.contentDOMWidth != y || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = a.width, this.editorHeight = e.scrollDOM.clientHeight, c |= 8), l) {
@@ -9069,7 +9069,7 @@ class wO {
9069
9069
  let { lineHeight: P, charWidth: S, textHeight: $ } = e.docView.measureTextSize();
9070
9070
  o = P > 0 && s.refresh(i, P, S, $, y / S, v), o && (e.docView.minWidth = 0, c |= 8);
9071
9071
  }
9072
- O > 0 && m > 0 ? d = Math.max(O, m) : O < 0 && m < 0 && (d = Math.min(O, m)), s.heightChanged = !1;
9072
+ O > 0 && g > 0 ? d = Math.max(O, g) : O < 0 && g < 0 && (d = Math.min(O, g)), s.heightChanged = !1;
9073
9073
  for (let P of this.viewports) {
9074
9074
  let S = P.from == this.viewport.from ? v : e.docView.measureVisibleLineHeights(P);
9075
9075
  this.heightMap = (o ? jt.empty().applyChanges(this.stateDeco, Me.empty, this.heightOracle, [new hr(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(s, 0, o, new c2(P.from, S));
@@ -9140,16 +9140,16 @@ class wO {
9140
9140
  return;
9141
9141
  let f = this.state.selection.main, p = [f.from];
9142
9142
  f.empty || p.push(f.to);
9143
- for (let m of p)
9144
- if (m > c && m < d) {
9145
- l(c, m - 10, u, h), l(m + 10, d, u, h);
9143
+ for (let g of p)
9144
+ if (g > c && g < d) {
9145
+ l(c, g - 10, u, h), l(g + 10, d, u, h);
9146
9146
  return;
9147
9147
  }
9148
- let O = y2(e, (m) => m.from >= u.from && m.to <= u.to && Math.abs(m.from - c) < i && Math.abs(m.to - d) < i && !p.some((g) => m.from < g && m.to > g));
9148
+ let O = y2(e, (g) => g.from >= u.from && g.to <= u.to && Math.abs(g.from - c) < i && Math.abs(g.to - d) < i && !p.some((m) => g.from < m && g.to > m));
9149
9149
  if (!O) {
9150
- if (d < u.to && t && n && t.visibleRanges.some((m) => m.from <= d && m.to >= d)) {
9151
- let m = t.moveToLineBoundary(se.cursor(d), !1, !0).head;
9152
- m > c && (d = m);
9150
+ if (d < u.to && t && n && t.visibleRanges.some((g) => g.from <= d && g.to >= d)) {
9151
+ let g = t.moveToLineBoundary(se.cursor(d), !1, !0).head;
9152
+ g > c && (d = g);
9153
9153
  }
9154
9154
  O = new xu(c, d, this.gapSize(u, c, d, h));
9155
9155
  }
@@ -9163,21 +9163,21 @@ class wO {
9163
9163
  continue;
9164
9164
  let u = this.scrollTarget ? this.scrollTarget.range.head : null, h, f;
9165
9165
  if (n) {
9166
- let p = s / this.heightOracle.lineLength * this.heightOracle.lineHeight, O, m;
9166
+ let p = s / this.heightOracle.lineLength * this.heightOracle.lineHeight, O, g;
9167
9167
  if (u != null) {
9168
- let g = Cl(d, u), y = ((this.visibleBottom - this.visibleTop) / 2 + p) / c.height;
9169
- O = g - y, m = g + y;
9168
+ let m = Cl(d, u), y = ((this.visibleBottom - this.visibleTop) / 2 + p) / c.height;
9169
+ O = m - y, g = m + y;
9170
9170
  } else
9171
- O = (this.visibleTop - c.top - p) / c.height, m = (this.visibleBottom - c.top + p) / c.height;
9172
- h = Tl(d, O), f = Tl(d, m);
9171
+ O = (this.visibleTop - c.top - p) / c.height, g = (this.visibleBottom - c.top + p) / c.height;
9172
+ h = Tl(d, O), f = Tl(d, g);
9173
9173
  } else {
9174
- let p = d.total * this.heightOracle.charWidth, O = s * this.heightOracle.charWidth, m, g;
9174
+ let p = d.total * this.heightOracle.charWidth, O = s * this.heightOracle.charWidth, g, m;
9175
9175
  if (u != null) {
9176
9176
  let y = Cl(d, u), b = ((this.pixelViewport.right - this.pixelViewport.left) / 2 + O) / p;
9177
- m = y - b, g = y + b;
9177
+ g = y - b, m = y + b;
9178
9178
  } else
9179
- m = (this.pixelViewport.left - O) / p, g = (this.pixelViewport.right + O) / p;
9180
- h = Tl(d, m), f = Tl(d, g);
9179
+ g = (this.pixelViewport.left - O) / p, m = (this.pixelViewport.right + O) / p;
9180
+ h = Tl(d, g), f = Tl(d, m);
9181
9181
  }
9182
9182
  h > c.from && l(c.from, h, c, d), f < c.to && l(f, c.to, c, d);
9183
9183
  }
@@ -9725,17 +9725,17 @@ function $2(r, e, t) {
9725
9725
  n = s.changeByRange((p) => {
9726
9726
  if (p.from == i.from && p.to == i.to)
9727
9727
  return { changes: a, range: l || p.map(a) };
9728
- let O = p.to - h, m = O - c.length;
9729
- if (p.to - p.from != f || r.state.sliceDoc(m, O) != c || // Unfortunately, there's no way to make multiple
9728
+ let O = p.to - h, g = O - c.length;
9729
+ if (p.to - p.from != f || r.state.sliceDoc(g, O) != c || // Unfortunately, there's no way to make multiple
9730
9730
  // changes in the same node work without aborting
9731
9731
  // composition, so cursors in the composition range are
9732
9732
  // ignored.
9733
9733
  p.to >= d.from && p.from <= d.to)
9734
9734
  return { range: p };
9735
- let g = s.changes({ from: m, to: O, insert: e.insert }), y = p.to - i.to;
9735
+ let m = s.changes({ from: g, to: O, insert: e.insert }), y = p.to - i.to;
9736
9736
  return {
9737
- changes: g,
9738
- range: l ? se.range(Math.max(0, l.anchor + y), Math.max(0, l.head + y)) : p.map(g)
9737
+ changes: m,
9738
+ range: l ? se.range(Math.max(0, l.anchor + y), Math.max(0, l.head + y)) : p.map(m)
9739
9739
  };
9740
9740
  });
9741
9741
  } else
@@ -10816,9 +10816,9 @@ function N2(r, e = E2) {
10816
10816
  throw new Error("Key binding " + o + " is used both as a regular binding and as a multi-stroke prefix");
10817
10817
  }, i = (o, a, l, c, d) => {
10818
10818
  var u, h;
10819
- let f = t[o] || (t[o] = /* @__PURE__ */ Object.create(null)), p = a.split(/ (?!$)/).map((g) => R2(g, e));
10820
- for (let g = 1; g < p.length; g++) {
10821
- let y = p.slice(0, g).join(" ");
10819
+ let f = t[o] || (t[o] = /* @__PURE__ */ Object.create(null)), p = a.split(/ (?!$)/).map((m) => R2(m, e));
10820
+ for (let m = 1; m < p.length; m++) {
10821
+ let y = p.slice(0, m).join(" ");
10822
10822
  s(y, !0), f[y] || (f[y] = {
10823
10823
  preventDefault: !0,
10824
10824
  stopPropagation: !1,
@@ -10832,12 +10832,12 @@ function N2(r, e = E2) {
10832
10832
  }
10833
10833
  let O = p.join(" ");
10834
10834
  s(O, !1);
10835
- let m = f[O] || (f[O] = {
10835
+ let g = f[O] || (f[O] = {
10836
10836
  preventDefault: !1,
10837
10837
  stopPropagation: !1,
10838
10838
  run: ((h = (u = f._any) === null || u === void 0 ? void 0 : u.run) === null || h === void 0 ? void 0 : h.slice()) || []
10839
10839
  });
10840
- l && m.run.push(l), c && (m.preventDefault = !0), d && (m.stopPropagation = !0);
10840
+ l && g.run.push(l), c && (g.preventDefault = !0), d && (g.stopPropagation = !0);
10841
10841
  };
10842
10842
  for (let o of r) {
10843
10843
  let a = o.scope ? o.scope.split(" ") : ["editor"];
@@ -10858,12 +10858,12 @@ function N2(r, e = E2) {
10858
10858
  function M2(r, e, t, n) {
10859
10859
  let s = ix(e), i = xt(s, 0), o = _r(i) == s.length && s != " ", a = "", l = !1, c = !1, d = !1;
10860
10860
  Yn && Yn.view == t && Yn.scope == n && (a = Yn.prefix + " ", Qv.indexOf(e.keyCode) < 0 && (c = !0, Yn = null));
10861
- let u = /* @__PURE__ */ new Set(), h = (m) => {
10862
- if (m) {
10863
- for (let g of m.run)
10864
- if (!u.has(g) && (u.add(g), g(t, e)))
10865
- return m.stopPropagation && (d = !0), !0;
10866
- m.preventDefault && (m.stopPropagation && (d = !0), c = !0);
10861
+ let u = /* @__PURE__ */ new Set(), h = (g) => {
10862
+ if (g) {
10863
+ for (let m of g.run)
10864
+ if (!u.has(m) && (u.add(m), m(t, e)))
10865
+ return g.stopPropagation && (d = !0), !0;
10866
+ g.preventDefault && (g.stopPropagation && (d = !0), c = !0);
10867
10867
  }
10868
10868
  return !1;
10869
10869
  }, f = r[n], p, O;
@@ -10953,13 +10953,13 @@ class Wv {
10953
10953
  break;
10954
10954
  }
10955
10955
  }
10956
- let h = [], f, p = (O, m, g) => h.push(g.range(O, m));
10956
+ let h = [], f, p = (O, g, m) => h.push(m.range(O, g));
10957
10957
  if (l == c)
10958
10958
  for (this.regexp.lastIndex = d - l.from; (f = this.regexp.exec(l.text)) && f.index < u - l.from; )
10959
10959
  this.addMatch(f, e, f.index + l.from, p);
10960
10960
  else
10961
- CO(e.state.doc, this.regexp, d, u, (O, m) => this.addMatch(m, e, O, p));
10962
- t = t.update({ filterFrom: d, filterTo: u, filter: (O, m) => O < d || m > u, add: h });
10961
+ CO(e.state.doc, this.regexp, d, u, (O, g) => this.addMatch(g, e, O, p));
10962
+ t = t.update({ filterFrom: d, filterTo: u, filter: (O, g) => O < d || g > u, add: h });
10963
10963
  }
10964
10964
  }
10965
10965
  return t;
@@ -11232,26 +11232,26 @@ const Cu = /* @__PURE__ */ me.define({
11232
11232
  d.style.top = Wo;
11233
11233
  continue;
11234
11234
  }
11235
- let f = l.arrow ? c.dom.querySelector(".cm-tooltip-arrow") : null, p = f ? 7 : 0, O = h.right - h.left, m = (e = EO.get(c)) !== null && e !== void 0 ? e : h.bottom - h.top, g = c.offset || J2, y = this.view.textDirection == ut.LTR, b = h.width > n.right - n.left ? y ? n.left : n.right - h.width : y ? Math.min(u.left - (f ? 14 : 0) + g.x, n.right - O) : Math.max(n.left, u.left - O + (f ? 14 : 0) - g.x), v = this.above[a];
11236
- !l.strictSide && (v ? u.top - (h.bottom - h.top) - g.y < n.top : u.bottom + (h.bottom - h.top) + g.y > n.bottom) && v == n.bottom - u.bottom > u.top - n.top && (v = this.above[a] = !v);
11235
+ let f = l.arrow ? c.dom.querySelector(".cm-tooltip-arrow") : null, p = f ? 7 : 0, O = h.right - h.left, g = (e = EO.get(c)) !== null && e !== void 0 ? e : h.bottom - h.top, m = c.offset || J2, y = this.view.textDirection == ut.LTR, b = h.width > n.right - n.left ? y ? n.left : n.right - h.width : y ? Math.min(u.left - (f ? 14 : 0) + m.x, n.right - O) : Math.max(n.left, u.left - O + (f ? 14 : 0) - m.x), v = this.above[a];
11236
+ !l.strictSide && (v ? u.top - (h.bottom - h.top) - m.y < n.top : u.bottom + (h.bottom - h.top) + m.y > n.bottom) && v == n.bottom - u.bottom > u.top - n.top && (v = this.above[a] = !v);
11237
11237
  let P = (v ? u.top - n.top : n.bottom - u.bottom) - p;
11238
- if (P < m && c.resize !== !1) {
11238
+ if (P < g && c.resize !== !1) {
11239
11239
  if (P < this.view.defaultLineHeight) {
11240
11240
  d.style.top = Wo;
11241
11241
  continue;
11242
11242
  }
11243
- EO.set(c, m), d.style.height = (m = P) / i + "px";
11243
+ EO.set(c, g), d.style.height = (g = P) / i + "px";
11244
11244
  } else
11245
11245
  d.style.height && (d.style.height = "");
11246
- let S = v ? u.top - m - p - g.y : u.bottom + p + g.y, $ = b + O;
11246
+ let S = v ? u.top - g - p - m.y : u.bottom + p + m.y, $ = b + O;
11247
11247
  if (c.overlap !== !0)
11248
11248
  for (let E of o)
11249
- E.left < $ && E.right > b && E.top < S + m && E.bottom > S && (S = v ? E.top - m - 2 - p : E.bottom + p + 2);
11249
+ E.left < $ && E.right > b && E.top < S + g && E.bottom > S && (S = v ? E.top - g - 2 - p : E.bottom + p + 2);
11250
11250
  if (this.position == "absolute" ? (d.style.top = (S - r.parent.top) / i + "px", d.style.left = (b - r.parent.left) / s + "px") : (d.style.top = S / i + "px", d.style.left = b / s + "px"), f) {
11251
- let E = u.left + (y ? g.x : -g.x) - (b + 14 - 7);
11251
+ let E = u.left + (y ? m.x : -m.x) - (b + 14 - 7);
11252
11252
  f.style.left = E / s + "px";
11253
11253
  }
11254
- c.overlap !== !0 && o.push({ left: b, top: S, right: $, bottom: S + m }), d.classList.toggle("cm-tooltip-above", v), d.classList.toggle("cm-tooltip-below", !v), c.positioned && c.positioned(r.space);
11254
+ c.overlap !== !0 && o.push({ left: b, top: S, right: $, bottom: S + g }), d.classList.toggle("cm-tooltip-above", v), d.classList.toggle("cm-tooltip-below", !v), c.positioned && c.positioned(r.space);
11255
11255
  }
11256
11256
  }
11257
11257
  maybeMeasure() {
@@ -12715,10 +12715,10 @@ function hQ(r) {
12715
12715
  } else
12716
12716
  throw new RangeError(`Unrecognized record size: ${oe}`);
12717
12717
  let Ze = l[Y], Oe, xe, Pe = D - P;
12718
- if (ue - D <= s && (xe = m(a.pos - S, R))) {
12718
+ if (ue - D <= s && (xe = g(a.pos - S, R))) {
12719
12719
  let F = new Uint16Array(xe.size - xe.skip), M = a.pos - xe.size, V = F.length;
12720
12720
  for (; a.pos > M; )
12721
- V = g(xe.start, F, V);
12721
+ V = m(xe.start, F, V);
12722
12722
  Oe = new ss(F, ue - xe.start, n), Pe = xe.start - P;
12723
12723
  } else {
12724
12724
  let F = a.pos - oe;
@@ -12781,7 +12781,7 @@ function hQ(r) {
12781
12781
  }
12782
12782
  return new tt(P, S, $, E, W);
12783
12783
  }
12784
- function m(P, S) {
12784
+ function g(P, S) {
12785
12785
  let $ = a.fork(), E = 0, R = 0, W = 0, Y = $.end - s, D = { size: 0, start: 0, skip: 0 };
12786
12786
  e:
12787
12787
  for (let ue = $.pos - P; $.pos > ue; ) {
@@ -12808,14 +12808,14 @@ function hQ(r) {
12808
12808
  }
12809
12809
  return (S < 0 || E == P) && (D.size = E, D.start = R, D.skip = W), D.size > 4 ? D : void 0;
12810
12810
  }
12811
- function g(P, S, $) {
12811
+ function m(P, S, $) {
12812
12812
  let { id: E, start: R, end: W, size: Y } = a;
12813
12813
  if (a.next(), Y >= 0 && E < o) {
12814
12814
  let D = $;
12815
12815
  if (Y > 4) {
12816
12816
  let ue = a.pos - (Y - 4);
12817
12817
  for (; a.pos > ue; )
12818
- $ = g(P, S, $);
12818
+ $ = m(P, S, $);
12819
12819
  }
12820
12820
  S[--$] = D, S[--$] = W - P, S[--$] = R - P, S[--$] = E;
12821
12821
  } else
@@ -12854,10 +12854,10 @@ function Zp(r, e, t, n, s, i, o, a, l) {
12854
12854
  c * 1.5 / 8
12855
12855
  /* Balance.BranchFactor */
12856
12856
  ), u = [], h = [];
12857
- function f(p, O, m, g, y) {
12858
- for (let b = m; b < g; ) {
12857
+ function f(p, O, g, m, y) {
12858
+ for (let b = g; b < m; ) {
12859
12859
  let v = b, P = O[b], S = uc(r, p[b]);
12860
- for (b++; b < g; b++) {
12860
+ for (b++; b < m; b++) {
12861
12861
  let $ = uc(r, p[b]);
12862
12862
  if (S + $ >= d)
12863
12863
  break;
@@ -13154,12 +13154,12 @@ function yQ(r) {
13154
13154
  while (!r.tree);
13155
13155
  let s = r.tree, i = s.children.indexOf(n), o = s.children[i], a = o.buffer, l = [i];
13156
13156
  function c(d, u, h, f, p, O) {
13157
- let m = t[O], g = [], y = [];
13158
- WO(o, d, m, g, y, f);
13159
- let b = a[m + 1], v = a[m + 2];
13160
- l.push(g.length);
13161
- let P = O ? c(m + 4, a[m + 3], o.set.types[a[m]], b, v - b, O - 1) : e.toTree();
13162
- return g.push(P), y.push(b - f), WO(o, a[m + 3], u, g, y, f), new tt(h, g, y, p);
13157
+ let g = t[O], m = [], y = [];
13158
+ WO(o, d, g, m, y, f);
13159
+ let b = a[g + 1], v = a[g + 2];
13160
+ l.push(m.length);
13161
+ let P = O ? c(g + 4, a[g + 3], o.set.types[a[g]], b, v - b, O - 1) : e.toTree();
13162
+ return m.push(P), y.push(b - f), WO(o, a[g + 3], u, m, y, f), new tt(h, m, y, p);
13163
13163
  }
13164
13164
  s.children[i] = c(0, a.length, Nt.none, 0, o.length, t.length - 1);
13165
13165
  for (let d of l) {
@@ -13463,15 +13463,15 @@ class xQ {
13463
13463
  return;
13464
13464
  let h = e.tree && e.tree.prop(Ae.mounted);
13465
13465
  if (h && h.overlay) {
13466
- let f = e.node.enter(h.overlay[0].from + a, 1), p = this.highlighters.filter((m) => !m.scope || m.scope(h.tree.type)), O = e.firstChild();
13467
- for (let m = 0, g = a; ; m++) {
13468
- let y = m < h.overlay.length ? h.overlay[m] : null, b = y ? y.from + a : l, v = Math.max(t, g), P = Math.min(n, b);
13466
+ let f = e.node.enter(h.overlay[0].from + a, 1), p = this.highlighters.filter((g) => !g.scope || g.scope(h.tree.type)), O = e.firstChild();
13467
+ for (let g = 0, m = a; ; g++) {
13468
+ let y = g < h.overlay.length ? h.overlay[g] : null, b = y ? y.from + a : l, v = Math.max(t, m), P = Math.min(n, b);
13469
13469
  if (v < P && O)
13470
13470
  for (; e.from < P && (this.highlightRange(e, v, P, s, i), this.startSpan(Math.min(P, e.to), c), !(e.to >= b || !e.nextSibling())); )
13471
13471
  ;
13472
13472
  if (!y || b > n)
13473
13473
  break;
13474
- g = y.to + a, g > t && (this.highlightRange(f.cursor(), Math.max(t, y.from + a), Math.min(n, g), "", p), this.startSpan(Math.min(n, g), c));
13474
+ m = y.to + a, m > t && (this.highlightRange(f.cursor(), Math.max(t, y.from + a), Math.min(n, m), "", p), this.startSpan(Math.min(n, m), c));
13475
13475
  }
13476
13476
  O && e.parent();
13477
13477
  } else if (e.firstChild()) {
@@ -14815,14 +14815,14 @@ function JQ(r, e, t, n, s, i, o) {
14815
14815
  let f = d.value;
14816
14816
  t < 0 && (h += f.length);
14817
14817
  let p = e + h * t;
14818
- for (let O = t > 0 ? 0 : f.length - 1, m = t > 0 ? f.length : -1; O != m; O += t) {
14819
- let g = o.indexOf(f[O]);
14820
- if (!(g < 0 || n.resolveInner(p + O, 1).type != s))
14821
- if (g % 2 == 0 == t > 0)
14818
+ for (let O = t > 0 ? 0 : f.length - 1, g = t > 0 ? f.length : -1; O != g; O += t) {
14819
+ let m = o.indexOf(f[O]);
14820
+ if (!(m < 0 || n.resolveInner(p + O, 1).type != s))
14821
+ if (m % 2 == 0 == t > 0)
14822
14822
  u++;
14823
14823
  else {
14824
14824
  if (u == 1)
14825
- return { start: c, end: { from: p + O, to: p + O + 1 }, matched: g >> 1 == l >> 1 };
14825
+ return { start: c, end: { from: p + O, to: p + O + 1 }, matched: m >> 1 == l >> 1 };
14826
14826
  u--;
14827
14827
  }
14828
14828
  }
@@ -15030,14 +15030,14 @@ class aT {
15030
15030
  if (c < l)
15031
15031
  return !1;
15032
15032
  }
15033
- let d = 0, u = 0, h = !1, f = 0, p = -1, O = -1, m = /[a-z]/.test(e), g = !0;
15033
+ let d = 0, u = 0, h = !1, f = 0, p = -1, O = -1, g = /[a-z]/.test(e), m = !0;
15034
15034
  for (let y = 0, b = Math.min(e.length, 200), v = 0; y < b && u < l; ) {
15035
15035
  let P = xt(e, y);
15036
15036
  a < 0 && (d < l && P == t[d] && (i[d++] = y), f < l && (P == t[f] || P == n[f] ? (f == 0 && (p = y), O = y + 1, f++) : f = 0));
15037
15037
  let S, $ = P < 255 ? P >= 48 && P <= 57 || P >= 97 && P <= 122 ? 2 : P >= 65 && P <= 90 ? 1 : 0 : (S = Zb(P)) != S.toLowerCase() ? 1 : S != S.toUpperCase() ? 2 : 0;
15038
- (!y || $ == 1 && m || v == 0 && $ != 0) && (t[u] == P || n[u] == P && (h = !0) ? o[u++] = y : o.length && (g = !1)), v = $, y += _r(P);
15038
+ (!y || $ == 1 && g || v == 0 && $ != 0) && (t[u] == P || n[u] == P && (h = !0) ? o[u++] = y : o.length && (m = !1)), v = $, y += _r(P);
15039
15039
  }
15040
- return u == l && o[0] == 0 && g ? this.result(-100 + (h ? -200 : 0), o, e) : f == l && p == 0 ? this.ret(-200 - e.length + (O == e.length ? 0 : -100), [0, O]) : a > -1 ? this.ret(-700 - e.length, [a, a + this.pattern.length]) : f == l ? this.ret(-900 - e.length, [p, O]) : u == l ? this.result(-100 + (h ? -200 : 0) + -700 + (g ? 0 : -1100), o, e) : t.length == 2 ? !1 : this.result((s[0] ? -700 : 0) + -200 + -1100, s, e);
15040
+ return u == l && o[0] == 0 && m ? this.result(-100 + (h ? -200 : 0), o, e) : f == l && p == 0 ? this.ret(-200 - e.length + (O == e.length ? 0 : -100), [0, O]) : a > -1 ? this.ret(-700 - e.length, [a, a + this.pattern.length]) : f == l ? this.ret(-900 - e.length, [p, O]) : u == l ? this.result(-100 + (h ? -200 : 0) + -700 + (m ? 0 : -1100), o, e) : t.length == 2 ? !1 : this.result((s[0] ? -700 : 0) + -200 + -1100, s, e);
15041
15041
  }
15042
15042
  result(e, t, n) {
15043
15043
  let s = [], i = 0;
@@ -15093,9 +15093,9 @@ function lT(r, e, t, n, s, i) {
15093
15093
  let y = s.bottom - e.bottom;
15094
15094
  y >= O || y > e.top ? d = t.bottom - e.top : (c = "bottom", d = e.bottom - t.top);
15095
15095
  }
15096
- let m = (e.bottom - e.top) / i.offsetHeight, g = (e.right - e.left) / i.offsetWidth;
15096
+ let g = (e.bottom - e.top) / i.offsetHeight, m = (e.right - e.left) / i.offsetWidth;
15097
15097
  return {
15098
- style: `${c}: ${d / m}px; max-width: ${u / g}px`,
15098
+ style: `${c}: ${d / g}px; max-width: ${u / m}px`,
15099
15099
  class: "cm-completionInfo-" + (l ? o ? "left-narrow" : "right-narrow" : a ? "left" : "right")
15100
15100
  };
15101
15101
  }
@@ -16829,10 +16829,10 @@ function T1(r, e, t, n, s, i) {
16829
16829
  continue e;
16830
16830
  }
16831
16831
  for (; u < h; ) {
16832
- let f = u + h >> 1, p = c + f + (f << 1), O = r[p], m = r[p + 1] || 65536;
16832
+ let f = u + h >> 1, p = c + f + (f << 1), O = r[p], g = r[p + 1] || 65536;
16833
16833
  if (d < O)
16834
16834
  h = f;
16835
- else if (d >= m)
16835
+ else if (d >= g)
16836
16836
  u = f + 1;
16837
16837
  else {
16838
16838
  o = r[p + 2], e.advance();
@@ -18671,9 +18671,9 @@ function U1(r = [], e = []) {
18671
18671
  if (h) {
18672
18672
  for (let p of i)
18673
18673
  if (p.tag == h && (!p.attrs || p.attrs(f || (f = z1(d, l))))) {
18674
- let O = d.lastChild, m = O.type.id == FC ? O.from : d.to;
18675
- if (m > u.to)
18676
- return { parser: p.parser, overlay: [{ from: u.to, to: m }] };
18674
+ let O = d.lastChild, g = O.type.id == FC ? O.from : d.to;
18675
+ if (g > u.to)
18676
+ return { parser: p.parser, overlay: [{ from: u.to, to: g }] };
18677
18677
  }
18678
18678
  }
18679
18679
  }
@@ -18687,9 +18687,9 @@ function U1(r = [], e = []) {
18687
18687
  continue;
18688
18688
  let p = d.lastChild;
18689
18689
  if (p.type.id == pf) {
18690
- let O = p.from + 1, m = p.lastChild, g = p.to - (m && m.isError ? 0 : 1);
18691
- if (g > O)
18692
- return { parser: f.parser, overlay: [{ from: O, to: g }] };
18690
+ let O = p.from + 1, g = p.lastChild, m = p.to - (g && g.isError ? 0 : 1);
18691
+ if (m > O)
18692
+ return { parser: f.parser, overlay: [{ from: O, to: m }] };
18693
18693
  } else if (p.type.id == W1)
18694
18694
  return { parser: f.parser, overlay: [{ from: p.from, to: p.to }] };
18695
18695
  }
@@ -19763,16 +19763,16 @@ const E0 = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
19763
19763
  let h = o.doc.sliceString(l.from - 1, l.to) == n, { head: f } = l, p = Et(o).resolveInner(f - 1, -1), O;
19764
19764
  if ((p.name == "TagName" || p.name == "StartTag") && (p = p.parent), h && n == ">" && p.name == "OpenTag") {
19765
19765
  if (((d = (c = p.parent) === null || c === void 0 ? void 0 : c.lastChild) === null || d === void 0 ? void 0 : d.name) != "CloseTag" && (O = Fi(o.doc, p.parent, f)) && !E0.has(O)) {
19766
- let m = f + (o.doc.sliceString(f, f + 1) === ">" ? 1 : 0), g = `</${O}>`;
19767
- return { range: l, changes: { from: f, to: m, insert: g } };
19766
+ let g = f + (o.doc.sliceString(f, f + 1) === ">" ? 1 : 0), m = `</${O}>`;
19767
+ return { range: l, changes: { from: f, to: g, insert: m } };
19768
19768
  }
19769
19769
  } else if (h && n == "/" && p.name == "IncompleteCloseTag") {
19770
- let m = p.parent;
19771
- if (p.from == f - 2 && ((u = m.lastChild) === null || u === void 0 ? void 0 : u.name) != "CloseTag" && (O = Fi(o.doc, m, f)) && !E0.has(O)) {
19772
- let g = f + (o.doc.sliceString(f, f + 1) === ">" ? 1 : 0), y = `${O}>`;
19770
+ let g = p.parent;
19771
+ if (p.from == f - 2 && ((u = g.lastChild) === null || u === void 0 ? void 0 : u.name) != "CloseTag" && (O = Fi(o.doc, g, f)) && !E0.has(O)) {
19772
+ let m = f + (o.doc.sliceString(f, f + 1) === ">" ? 1 : 0), y = `${O}>`;
19773
19773
  return {
19774
19774
  range: se.cursor(f + y.length, -1),
19775
- changes: { from: f, to: g, insert: y }
19775
+ changes: { from: f, to: m, insert: y }
19776
19776
  };
19777
19777
  }
19778
19778
  }
@@ -20758,7 +20758,7 @@ let iE = (r = 21) => {
20758
20758
  return e;
20759
20759
  };
20760
20760
  async function oE(r, e) {
20761
- var g;
20761
+ var m;
20762
20762
  const t = eE(r.type), n = Dl(
20763
20763
  (r.headers ?? []).filter((y) => y.enabled),
20764
20764
  "name",
@@ -20796,7 +20796,7 @@ async function oE(r, e) {
20796
20796
  ).toString(), u = `${l}${d ? "?" + d : ""}`, h = {
20797
20797
  type: "none"
20798
20798
  }, f = Date.now();
20799
- if (r.cookies && ((g = r.cookies) == null ? void 0 : g.length) > 0) {
20799
+ if (r.cookies && ((m = r.cookies) == null ? void 0 : m.length) > 0) {
20800
20800
  const y = Dl(
20801
20801
  (r.cookies ?? []).filter((b) => b.enabled),
20802
20802
  "name",
@@ -20821,7 +20821,7 @@ async function oE(r, e) {
20821
20821
  data: p.data
20822
20822
  };
20823
20823
  n.cookies && (O.withCredentials = !0), console.info(e ? `${p.method} ${e} → ${p.url}` : `${p.method} ${p.url}`);
20824
- const m = await iP(O).then((y) => e ? {
20824
+ const g = await iP(O).then((y) => e ? {
20825
20825
  ...y.data,
20826
20826
  error: !1
20827
20827
  } : {
@@ -20849,7 +20849,7 @@ async function oE(r, e) {
20849
20849
  path: i
20850
20850
  },
20851
20851
  response: {
20852
- ...m,
20852
+ ...g,
20853
20853
  duration: Date.now() - f
20854
20854
  },
20855
20855
  responseId: iE()
@@ -21148,7 +21148,7 @@ const pE = { class: "navtable-item-40 navtable-item-request" }, mE = { class: "n
21148
21148
  requestHistoryOrder: d,
21149
21149
  readOnly: u,
21150
21150
  setActiveRequest: h
21151
- } = yr(), f = bw(), p = ie(() => a.url), O = ie(() => a.type), m = ie(() => a.path), g = ie(() => `${p.value}${m.value}`);
21151
+ } = yr(), f = bw(), p = ie(() => a.url), O = ie(() => a.type), g = ie(() => a.path), m = ie(() => `${p.value}${g.value}`);
21152
21152
  async function y() {
21153
21153
  const S = rE({
21154
21154
  request: { ...a }
@@ -21182,7 +21182,7 @@ const pE = { class: "navtable-item-40 navtable-item-request" }, mE = { class: "n
21182
21182
  }, null, 8, ["readOnly", "requestMethod"]),
21183
21183
  I(w(Ow), {
21184
21184
  class: "url-form-input",
21185
- content: g.value,
21185
+ content: m.value,
21186
21186
  disableEnter: "",
21187
21187
  readOnly: w(u),
21188
21188
  withoutTheme: "",
@@ -21192,7 +21192,7 @@ const pE = { class: "navtable-item-40 navtable-item-request" }, mE = { class: "n
21192
21192
  ]),
21193
21193
  A("button", {
21194
21194
  class: "send-button",
21195
- disabled: !g.value.trim().length,
21195
+ disabled: !m.value.trim().length,
21196
21196
  type: "submit",
21197
21197
  onClick: y
21198
21198
  }, NE, 8, ZE)
@@ -21500,14 +21500,14 @@ const fR = async (r, e, t) => {
21500
21500
  } = q0(c, n, l), h = n, f = {}, p = 0;
21501
21501
  for (let O = 0; O < a.length; O++) {
21502
21502
  const {
21503
- name: m,
21504
- fn: g
21503
+ name: g,
21504
+ fn: m
21505
21505
  } = a[O], {
21506
21506
  x: y,
21507
21507
  y: b,
21508
21508
  data: v,
21509
21509
  reset: P
21510
- } = await g({
21510
+ } = await m({
21511
21511
  x: d,
21512
21512
  y: u,
21513
21513
  initialPlacement: n,
@@ -21523,8 +21523,8 @@ const fR = async (r, e, t) => {
21523
21523
  });
21524
21524
  d = y ?? d, u = b ?? u, f = {
21525
21525
  ...f,
21526
- [m]: {
21527
- ...f[m],
21526
+ [g]: {
21527
+ ...f[g],
21528
21528
  ...v
21529
21529
  }
21530
21530
  }, P && p <= 50 && (p++, typeof P == "object" && (P.placement && (h = P.placement), P.rects && (c = P.rects === !0 ? await o.getElementRects({
@@ -21560,8 +21560,8 @@ async function xw(r, e) {
21560
21560
  elementContext: u = "floating",
21561
21561
  altBoundary: h = !1,
21562
21562
  padding: f = 0
21563
- } = Ad(e, r), p = hR(f), m = a[h ? u === "floating" ? "reference" : "floating" : u], g = Kc(await i.getClippingRect({
21564
- element: (t = await (i.isElement == null ? void 0 : i.isElement(m))) == null || t ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(a.floating)),
21563
+ } = Ad(e, r), p = hR(f), g = a[h ? u === "floating" ? "reference" : "floating" : u], m = Kc(await i.getClippingRect({
21564
+ element: (t = await (i.isElement == null ? void 0 : i.isElement(g))) == null || t ? g : g.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(a.floating)),
21565
21565
  boundary: c,
21566
21566
  rootBoundary: d,
21567
21567
  strategy: l
@@ -21582,10 +21582,10 @@ async function xw(r, e) {
21582
21582
  strategy: l
21583
21583
  }) : y);
21584
21584
  return {
21585
- top: (g.top - P.top + p.top) / v.y,
21586
- bottom: (P.bottom - g.bottom + p.bottom) / v.y,
21587
- left: (g.left - P.left + p.left) / v.x,
21588
- right: (P.right - g.right + p.right) / v.x
21585
+ top: (m.top - P.top + p.top) / v.y,
21586
+ bottom: (P.bottom - m.bottom + p.bottom) / v.y,
21587
+ left: (m.left - P.left + p.left) / v.x,
21588
+ right: (P.right - m.right + p.right) / v.x
21589
21589
  };
21590
21590
  }
21591
21591
  const pR = function(r) {
@@ -21608,15 +21608,15 @@ const pR = function(r) {
21608
21608
  fallbackStrategy: f = "bestFit",
21609
21609
  fallbackAxisSideDirection: p = "none",
21610
21610
  flipAlignment: O = !0,
21611
- ...m
21611
+ ...g
21612
21612
  } = Ad(r, e);
21613
21613
  if ((t = i.arrow) != null && t.alignmentOffset)
21614
21614
  return {};
21615
- const g = Bs(s), y = Bs(a) === a, b = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), v = h || (y || !O ? [Fc(a)] : lR(a));
21615
+ const m = Bs(s), y = Bs(a) === a, b = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), v = h || (y || !O ? [Fc(a)] : lR(a));
21616
21616
  !h && p !== "none" && v.push(...dR(a, O, p, b));
21617
- const P = [a, ...v], S = await xw(e, m), $ = [];
21617
+ const P = [a, ...v], S = await xw(e, g), $ = [];
21618
21618
  let E = ((n = i.flip) == null ? void 0 : n.overflows) || [];
21619
- if (d && $.push(S[g]), u) {
21619
+ if (d && $.push(S[m]), u) {
21620
21620
  const D = aR(s, o, b);
21621
21621
  $.push(S[D[0]], S[D[1]]);
21622
21622
  }
@@ -21723,13 +21723,13 @@ const gR = function(r) {
21723
21723
  mainAxis: i = !0,
21724
21724
  crossAxis: o = !1,
21725
21725
  limiter: a = {
21726
- fn: (m) => {
21726
+ fn: (g) => {
21727
21727
  let {
21728
- x: g,
21728
+ x: m,
21729
21729
  y
21730
- } = m;
21730
+ } = g;
21731
21731
  return {
21732
- x: g,
21732
+ x: m,
21733
21733
  y
21734
21734
  };
21735
21735
  }
@@ -21741,11 +21741,11 @@ const gR = function(r) {
21741
21741
  }, d = await xw(e, l), u = Rd(Bs(s)), h = $w(u);
21742
21742
  let f = c[h], p = c[u];
21743
21743
  if (i) {
21744
- const m = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", y = f + d[m], b = f - d[g];
21744
+ const g = h === "y" ? "top" : "left", m = h === "y" ? "bottom" : "right", y = f + d[g], b = f - d[m];
21745
21745
  f = W0(y, f, b);
21746
21746
  }
21747
21747
  if (o) {
21748
- const m = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", y = p + d[m], b = p - d[g];
21748
+ const g = u === "y" ? "top" : "left", m = u === "y" ? "bottom" : "right", y = p + d[g], b = p - d[m];
21749
21749
  p = W0(y, p, b);
21750
21750
  }
21751
21751
  const O = a.fn({
@@ -21901,8 +21901,8 @@ function Hs(r, e, t, n) {
21901
21901
  const h = rr(i), f = n && Qn(n) ? rr(n) : n;
21902
21902
  let p = h, O = p.frameElement;
21903
21903
  for (; O && n && f !== p; ) {
21904
- const m = Wi(O), g = O.getBoundingClientRect(), y = gr(O), b = g.left + (O.clientLeft + parseFloat(y.paddingLeft)) * m.x, v = g.top + (O.clientTop + parseFloat(y.paddingTop)) * m.y;
21905
- l *= m.x, c *= m.y, d *= m.x, u *= m.y, l += b, c += v, p = rr(O), O = p.frameElement;
21904
+ const g = Wi(O), m = O.getBoundingClientRect(), y = gr(O), b = m.left + (O.clientLeft + parseFloat(y.paddingLeft)) * g.x, v = m.top + (O.clientTop + parseFloat(y.paddingTop)) * g.y;
21905
+ l *= g.x, c *= g.y, d *= g.x, u *= g.y, l += b, c += v, p = rr(O), O = p.frameElement;
21906
21906
  }
21907
21907
  }
21908
21908
  return Kc({
@@ -22128,8 +22128,8 @@ function IR(r, e) {
22128
22128
  } = r.getBoundingClientRect();
22129
22129
  if (a || e(), !u || !h)
22130
22130
  return;
22131
- const f = ql(d), p = ql(s.clientWidth - (c + u)), O = ql(s.clientHeight - (d + h)), m = ql(c), y = {
22132
- rootMargin: -f + "px " + -p + "px " + -O + "px " + -m + "px",
22131
+ const f = ql(d), p = ql(s.clientWidth - (c + u)), O = ql(s.clientHeight - (d + h)), g = ql(c), y = {
22132
+ rootMargin: -f + "px " + -p + "px " + -O + "px " + -g + "px",
22133
22133
  threshold: qs(0, Hc(1, l)) || 1
22134
22134
  };
22135
22135
  let b = !0;
@@ -22166,31 +22166,31 @@ function jR(r, e, t, n) {
22166
22166
  layoutShift: a = typeof IntersectionObserver == "function",
22167
22167
  animationFrame: l = !1
22168
22168
  } = n, c = Fp(r), d = s || i ? [...c ? Na(c) : [], ...Na(e)] : [];
22169
- d.forEach((g) => {
22170
- s && g.addEventListener("scroll", t, {
22169
+ d.forEach((m) => {
22170
+ s && m.addEventListener("scroll", t, {
22171
22171
  passive: !0
22172
- }), i && g.addEventListener("resize", t);
22172
+ }), i && m.addEventListener("resize", t);
22173
22173
  });
22174
22174
  const u = c && a ? IR(c, t) : null;
22175
22175
  let h = -1, f = null;
22176
- o && (f = new ResizeObserver((g) => {
22177
- let [y] = g;
22176
+ o && (f = new ResizeObserver((m) => {
22177
+ let [y] = m;
22178
22178
  y && y.target === c && f && (f.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
22179
22179
  var b;
22180
22180
  (b = f) == null || b.observe(e);
22181
22181
  })), t();
22182
22182
  }), c && !l && f.observe(c), f.observe(e));
22183
22183
  let p, O = l ? Hs(r) : null;
22184
- l && m();
22185
- function m() {
22186
- const g = Hs(r);
22187
- O && (g.x !== O.x || g.y !== O.y || g.width !== O.width || g.height !== O.height) && t(), O = g, p = requestAnimationFrame(m);
22184
+ l && g();
22185
+ function g() {
22186
+ const m = Hs(r);
22187
+ O && (m.x !== O.x || m.y !== O.y || m.width !== O.width || m.height !== O.height) && t(), O = m, p = requestAnimationFrame(g);
22188
22188
  }
22189
22189
  return t(), () => {
22190
- var g;
22190
+ var m;
22191
22191
  d.forEach((y) => {
22192
22192
  s && y.removeEventListener("scroll", t), i && y.removeEventListener("resize", t);
22193
- }), u == null || u(), (g = f) == null || g.disconnect(), f = null, l && cancelAnimationFrame(p);
22193
+ }), u == null || u(), (m = f) == null || m.disconnect(), f = null, l && cancelAnimationFrame(p);
22194
22194
  };
22195
22195
  }
22196
22196
  const NR = OR, MR = pR, DR = (r, e, t) => {
@@ -22237,7 +22237,7 @@ function WR(r, e, t) {
22237
22237
  }), l = ie(() => {
22238
22238
  var $;
22239
22239
  return ($ = w(t.transform)) != null ? $ : !0;
22240
- }), c = ie(() => Y0(r.value)), d = ie(() => Y0(e.value)), u = ce(0), h = ce(0), f = ce(a.value), p = ce(o.value), O = A$({}), m = ce(!1), g = ie(() => {
22240
+ }), c = ie(() => Y0(r.value)), d = ie(() => Y0(e.value)), u = ce(0), h = ce(0), f = ce(a.value), p = ce(o.value), O = A$({}), g = ce(!1), m = ie(() => {
22241
22241
  const $ = {
22242
22242
  position: f.value,
22243
22243
  left: "0",
@@ -22265,7 +22265,7 @@ function WR(r, e, t) {
22265
22265
  placement: o.value,
22266
22266
  strategy: a.value
22267
22267
  }).then(($) => {
22268
- u.value = $.x, h.value = $.y, f.value = $.strategy, p.value = $.placement, O.value = $.middlewareData, m.value = !0;
22268
+ u.value = $.x, h.value = $.y, f.value = $.strategy, p.value = $.placement, O.value = $.middlewareData, g.value = !0;
22269
22269
  });
22270
22270
  }
22271
22271
  function v() {
@@ -22282,7 +22282,7 @@ function WR(r, e, t) {
22282
22282
  }
22283
22283
  }
22284
22284
  function S() {
22285
- s.value || (m.value = !1);
22285
+ s.value || (g.value = !1);
22286
22286
  }
22287
22287
  return De([i, o, a], b, {
22288
22288
  flush: "sync"
@@ -22296,8 +22296,8 @@ function WR(r, e, t) {
22296
22296
  strategy: ui(f),
22297
22297
  placement: ui(p),
22298
22298
  middlewareData: ui(O),
22299
- isPositioned: ui(m),
22300
- floatingStyles: g,
22299
+ isPositioned: ui(g),
22300
+ floatingStyles: m,
22301
22301
  update: b
22302
22302
  };
22303
22303
  }
@@ -22347,9 +22347,9 @@ const B0 = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, qR =
22347
22347
  let [p, O] = f;
22348
22348
  return typeof O > "u" ? h : { ...h, [p]: O };
22349
22349
  }, {}) }, u = s == null || (o = s.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((h, f) => {
22350
- let { class: p, className: O, ...m } = f;
22351
- return Object.entries(m).every((g) => {
22352
- let [y, b] = g;
22350
+ let { class: p, className: O, ...g } = f;
22351
+ return Object.entries(g).every((m) => {
22352
+ let [y, b] = m;
22353
22353
  const v = d[y];
22354
22354
  return Array.isArray(b) ? b.includes(v) : v === b;
22355
22355
  }) ? [...h, p, O] : h;
@@ -22482,18 +22482,18 @@ function HR(r) {
22482
22482
  const a = [];
22483
22483
  let l = 0, c = 0, d;
22484
22484
  for (let O = 0; O < o.length; O++) {
22485
- let m = o[O];
22485
+ let g = o[O];
22486
22486
  if (l === 0) {
22487
- if (m === n && (t || o.slice(O, O + s) === e)) {
22487
+ if (g === n && (t || o.slice(O, O + s) === e)) {
22488
22488
  a.push(o.slice(c, O)), c = O + s;
22489
22489
  continue;
22490
22490
  }
22491
- if (m === "/") {
22491
+ if (g === "/") {
22492
22492
  d = O;
22493
22493
  continue;
22494
22494
  }
22495
22495
  }
22496
- m === "[" ? l++ : m === "]" && l--;
22496
+ g === "[" ? l++ : g === "]" && l--;
22497
22497
  }
22498
22498
  const u = a.length === 0 ? o : o.substring(c), h = u.startsWith(Mw), f = h ? u.substring(1) : u, p = d && d > c ? d - c : void 0;
22499
22499
  return {
@@ -22661,7 +22661,7 @@ function OZ(r) {
22661
22661
  return aZ.test(r);
22662
22662
  }
22663
22663
  function K0() {
22664
- const r = He("colors"), e = He("spacing"), t = He("blur"), n = He("brightness"), s = He("borderColor"), i = He("borderRadius"), o = He("borderSpacing"), a = He("borderWidth"), l = He("contrast"), c = He("grayscale"), d = He("hueRotate"), u = He("invert"), h = He("gap"), f = He("gradientColorStops"), p = He("gradientColorStopPositions"), O = He("inset"), m = He("margin"), g = He("opacity"), y = He("padding"), b = He("saturate"), v = He("scale"), P = He("sepia"), S = He("skew"), $ = He("space"), E = He("translate"), R = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], Y = () => ["auto", _e, e], D = () => [_e, e], ue = () => ["", hn, Zn], oe = () => ["auto", js, _e], ke = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ze = () => ["solid", "dashed", "dotted", "double", "none"], Oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Pe = () => ["", "0", _e], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [js, Vl], V = () => [js, _e];
22664
+ const r = He("colors"), e = He("spacing"), t = He("blur"), n = He("brightness"), s = He("borderColor"), i = He("borderRadius"), o = He("borderSpacing"), a = He("borderWidth"), l = He("contrast"), c = He("grayscale"), d = He("hueRotate"), u = He("invert"), h = He("gap"), f = He("gradientColorStops"), p = He("gradientColorStopPositions"), O = He("inset"), g = He("margin"), m = He("opacity"), y = He("padding"), b = He("saturate"), v = He("scale"), P = He("sepia"), S = He("skew"), $ = He("space"), E = He("translate"), R = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], Y = () => ["auto", _e, e], D = () => [_e, e], ue = () => ["", hn, Zn], oe = () => ["auto", js, _e], ke = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ze = () => ["solid", "dashed", "dotted", "double", "none"], Oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Pe = () => ["", "0", _e], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [js, Vl], V = () => [js, _e];
22665
22665
  return {
22666
22666
  cacheSize: 500,
22667
22667
  separator: ":",
@@ -23192,63 +23192,63 @@ function K0() {
23192
23192
  * @see https://tailwindcss.com/docs/margin
23193
23193
  */
23194
23194
  m: [{
23195
- m: [m]
23195
+ m: [g]
23196
23196
  }],
23197
23197
  /**
23198
23198
  * Margin X
23199
23199
  * @see https://tailwindcss.com/docs/margin
23200
23200
  */
23201
23201
  mx: [{
23202
- mx: [m]
23202
+ mx: [g]
23203
23203
  }],
23204
23204
  /**
23205
23205
  * Margin Y
23206
23206
  * @see https://tailwindcss.com/docs/margin
23207
23207
  */
23208
23208
  my: [{
23209
- my: [m]
23209
+ my: [g]
23210
23210
  }],
23211
23211
  /**
23212
23212
  * Margin Start
23213
23213
  * @see https://tailwindcss.com/docs/margin
23214
23214
  */
23215
23215
  ms: [{
23216
- ms: [m]
23216
+ ms: [g]
23217
23217
  }],
23218
23218
  /**
23219
23219
  * Margin End
23220
23220
  * @see https://tailwindcss.com/docs/margin
23221
23221
  */
23222
23222
  me: [{
23223
- me: [m]
23223
+ me: [g]
23224
23224
  }],
23225
23225
  /**
23226
23226
  * Margin Top
23227
23227
  * @see https://tailwindcss.com/docs/margin
23228
23228
  */
23229
23229
  mt: [{
23230
- mt: [m]
23230
+ mt: [g]
23231
23231
  }],
23232
23232
  /**
23233
23233
  * Margin Right
23234
23234
  * @see https://tailwindcss.com/docs/margin
23235
23235
  */
23236
23236
  mr: [{
23237
- mr: [m]
23237
+ mr: [g]
23238
23238
  }],
23239
23239
  /**
23240
23240
  * Margin Bottom
23241
23241
  * @see https://tailwindcss.com/docs/margin
23242
23242
  */
23243
23243
  mb: [{
23244
- mb: [m]
23244
+ mb: [g]
23245
23245
  }],
23246
23246
  /**
23247
23247
  * Margin Left
23248
23248
  * @see https://tailwindcss.com/docs/margin
23249
23249
  */
23250
23250
  ml: [{
23251
- ml: [m]
23251
+ ml: [g]
23252
23252
  }],
23253
23253
  /**
23254
23254
  * Space Between X
@@ -23443,7 +23443,7 @@ function K0() {
23443
23443
  * @see https://tailwindcss.com/docs/placeholder-opacity
23444
23444
  */
23445
23445
  "placeholder-opacity": [{
23446
- "placeholder-opacity": [g]
23446
+ "placeholder-opacity": [m]
23447
23447
  }],
23448
23448
  /**
23449
23449
  * Text Alignment
@@ -23464,7 +23464,7 @@ function K0() {
23464
23464
  * @see https://tailwindcss.com/docs/text-opacity
23465
23465
  */
23466
23466
  "text-opacity": [{
23467
- "text-opacity": [g]
23467
+ "text-opacity": [m]
23468
23468
  }],
23469
23469
  /**
23470
23470
  * Text Decoration
@@ -23579,7 +23579,7 @@ function K0() {
23579
23579
  * @see https://tailwindcss.com/docs/background-opacity
23580
23580
  */
23581
23581
  "bg-opacity": [{
23582
- "bg-opacity": [g]
23582
+ "bg-opacity": [m]
23583
23583
  }],
23584
23584
  /**
23585
23585
  * Background Origin
@@ -23843,7 +23843,7 @@ function K0() {
23843
23843
  * @see https://tailwindcss.com/docs/border-opacity
23844
23844
  */
23845
23845
  "border-opacity": [{
23846
- "border-opacity": [g]
23846
+ "border-opacity": [m]
23847
23847
  }],
23848
23848
  /**
23849
23849
  * Border Style
@@ -23881,7 +23881,7 @@ function K0() {
23881
23881
  * @see https://tailwindcss.com/docs/divide-opacity
23882
23882
  */
23883
23883
  "divide-opacity": [{
23884
- "divide-opacity": [g]
23884
+ "divide-opacity": [m]
23885
23885
  }],
23886
23886
  /**
23887
23887
  * Divide Style
@@ -23998,7 +23998,7 @@ function K0() {
23998
23998
  * @see https://tailwindcss.com/docs/ring-opacity
23999
23999
  */
24000
24000
  "ring-opacity": [{
24001
- "ring-opacity": [g]
24001
+ "ring-opacity": [m]
24002
24002
  }],
24003
24003
  /**
24004
24004
  * Ring Offset Width
@@ -24034,7 +24034,7 @@ function K0() {
24034
24034
  * @see https://tailwindcss.com/docs/opacity
24035
24035
  */
24036
24036
  opacity: [{
24037
- opacity: [g]
24037
+ opacity: [m]
24038
24038
  }],
24039
24039
  /**
24040
24040
  * Mix Blend Mode
@@ -24177,7 +24177,7 @@ function K0() {
24177
24177
  * @see https://tailwindcss.com/docs/backdrop-opacity
24178
24178
  */
24179
24179
  "backdrop-opacity": [{
24180
- "backdrop-opacity": [g]
24180
+ "backdrop-opacity": [m]
24181
24181
  }],
24182
24182
  /**
24183
24183
  * Backdrop Saturate
@@ -25402,12 +25402,12 @@ var qw = { exports: {} };
25402
25402
  }, !1)), a;
25403
25403
  var O = a.util.currentScript();
25404
25404
  O && (a.filename = O.src, O.hasAttribute("data-manual") && (a.manual = !0));
25405
- function m() {
25405
+ function g() {
25406
25406
  a.manual || a.highlightAll();
25407
25407
  }
25408
25408
  if (!a.manual) {
25409
- var g = document.readyState;
25410
- g === "loading" || g === "interactive" && O && O.defer ? document.addEventListener("DOMContentLoaded", m) : window.requestAnimationFrame ? window.requestAnimationFrame(m) : window.setTimeout(m, 16);
25409
+ var m = document.readyState;
25410
+ m === "loading" || m === "interactive" && O && O.defer ? document.addEventListener("DOMContentLoaded", g) : window.requestAnimationFrame ? window.requestAnimationFrame(g) : window.setTimeout(g, 16);
25411
25411
  }
25412
25412
  return a;
25413
25413
  }(e);
@@ -25789,8 +25789,8 @@ var qw = { exports: {} };
25789
25789
  if (typeof t > "u" || typeof document > "u")
25790
25790
  return;
25791
25791
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
25792
- var n = "Loading…", s = function(O, m) {
25793
- return "✖ Error " + O + " while fetching file: " + m;
25792
+ var n = "Loading…", s = function(O, g) {
25793
+ return "✖ Error " + O + " while fetching file: " + g;
25794
25794
  }, i = "✖ Error: File does not exist or is empty", o = {
25795
25795
  js: "javascript",
25796
25796
  py: "python",
@@ -25802,51 +25802,51 @@ var qw = { exports: {} };
25802
25802
  h: "c",
25803
25803
  tex: "latex"
25804
25804
  }, a = "data-src-status", l = "loading", c = "loaded", d = "failed", u = "pre[data-src]:not([" + a + '="' + c + '"]):not([' + a + '="' + l + '"])';
25805
- function h(O, m, g) {
25805
+ function h(O, g, m) {
25806
25806
  var y = new XMLHttpRequest();
25807
25807
  y.open("GET", O, !0), y.onreadystatechange = function() {
25808
- y.readyState == 4 && (y.status < 400 && y.responseText ? m(y.responseText) : y.status >= 400 ? g(s(y.status, y.statusText)) : g(i));
25808
+ y.readyState == 4 && (y.status < 400 && y.responseText ? g(y.responseText) : y.status >= 400 ? m(s(y.status, y.statusText)) : m(i));
25809
25809
  }, y.send(null);
25810
25810
  }
25811
25811
  function f(O) {
25812
- var m = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(O || "");
25813
- if (m) {
25814
- var g = Number(m[1]), y = m[2], b = m[3];
25815
- return y ? b ? [g, Number(b)] : [g, void 0] : [g, g];
25812
+ var g = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(O || "");
25813
+ if (g) {
25814
+ var m = Number(g[1]), y = g[2], b = g[3];
25815
+ return y ? b ? [m, Number(b)] : [m, void 0] : [m, m];
25816
25816
  }
25817
25817
  }
25818
25818
  t.hooks.add("before-highlightall", function(O) {
25819
25819
  O.selector += ", " + u;
25820
25820
  }), t.hooks.add("before-sanity-check", function(O) {
25821
- var m = (
25821
+ var g = (
25822
25822
  /** @type {HTMLPreElement} */
25823
25823
  O.element
25824
25824
  );
25825
- if (m.matches(u)) {
25826
- O.code = "", m.setAttribute(a, l);
25827
- var g = m.appendChild(document.createElement("CODE"));
25828
- g.textContent = n;
25829
- var y = m.getAttribute("data-src"), b = O.language;
25825
+ if (g.matches(u)) {
25826
+ O.code = "", g.setAttribute(a, l);
25827
+ var m = g.appendChild(document.createElement("CODE"));
25828
+ m.textContent = n;
25829
+ var y = g.getAttribute("data-src"), b = O.language;
25830
25830
  if (b === "none") {
25831
25831
  var v = (/\.(\w+)$/.exec(y) || [, "none"])[1];
25832
25832
  b = o[v] || v;
25833
25833
  }
25834
- t.util.setLanguage(g, b), t.util.setLanguage(m, b);
25834
+ t.util.setLanguage(m, b), t.util.setLanguage(g, b);
25835
25835
  var P = t.plugins.autoloader;
25836
25836
  P && P.loadLanguages(b), h(
25837
25837
  y,
25838
25838
  function(S) {
25839
- m.setAttribute(a, c);
25840
- var $ = f(m.getAttribute("data-range"));
25839
+ g.setAttribute(a, c);
25840
+ var $ = f(g.getAttribute("data-range"));
25841
25841
  if ($) {
25842
25842
  var E = S.split(/\r\n?|\n/g), R = $[0], W = $[1] == null ? E.length : $[1];
25843
25843
  R < 0 && (R += E.length), R = Math.max(0, Math.min(R - 1, E.length)), W < 0 && (W += E.length), W = Math.max(0, Math.min(W, E.length)), S = E.slice(R, W).join(`
25844
- `), m.hasAttribute("data-start") || m.setAttribute("data-start", String(R + 1));
25844
+ `), g.hasAttribute("data-start") || g.setAttribute("data-start", String(R + 1));
25845
25845
  }
25846
- g.textContent = S, t.highlightElement(g);
25846
+ m.textContent = S, t.highlightElement(m);
25847
25847
  },
25848
25848
  function(S) {
25849
- m.setAttribute(a, d), g.textContent = S;
25849
+ g.setAttribute(a, d), m.textContent = S;
25850
25850
  }
25851
25851
  );
25852
25852
  }
@@ -25858,8 +25858,8 @@ var qw = { exports: {} };
25858
25858
  *
25859
25859
  * @param {ParentNode} [container=document]
25860
25860
  */
25861
- highlight: function(m) {
25862
- for (var g = (m || document).querySelectorAll(u), y = 0, b; b = g[y++]; )
25861
+ highlight: function(g) {
25862
+ for (var m = (g || document).querySelectorAll(u), y = 0, b; b = m[y++]; )
25863
25863
  t.highlightElement(b);
25864
25864
  }
25865
25865
  };
@@ -26657,12 +26657,12 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
26657
26657
  const p = setInterval(function() {
26658
26658
  var O;
26659
26659
  try {
26660
- const g = new URLSearchParams(f.location.href).get("access_token");
26661
- if (f.closed || g) {
26660
+ const m = new URLSearchParams(f.location.href).get("access_token");
26661
+ if (f.closed || m) {
26662
26662
  clearInterval(p);
26663
26663
  const y = (O = f.location.href.match(/state=([^&]*)/)) == null ? void 0 : O[1];
26664
- g && e.oAuth2.state === y && t({
26665
- oAuth2: { ...e.oAuth2, accessToken: g }
26664
+ m && e.oAuth2.state === y && t({
26665
+ oAuth2: { ...e.oAuth2, accessToken: m }
26666
26666
  }), f.close();
26667
26667
  }
26668
26668
  } catch {
@@ -26809,34 +26809,34 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
26809
26809
  },
26810
26810
  emits: ["input"],
26811
26811
  setup(r, { emit: e }) {
26812
- const t = r, n = e, { authentication: s, setAuthentication: i } = hs(), o = (m) => {
26813
- a(m.target.value);
26812
+ const t = r, n = e, { authentication: s, setAuthentication: i } = hs(), o = (g) => {
26813
+ a(g.target.value);
26814
26814
  };
26815
26815
  Cn(() => {
26816
26816
  s.preferredSecurityScheme || a(Object.keys(t.value ?? {})[0] ?? null);
26817
26817
  });
26818
- const a = (m) => {
26818
+ const a = (g) => {
26819
26819
  i({
26820
- preferredSecurityScheme: m
26821
- }), n("input", m);
26820
+ preferredSecurityScheme: g
26821
+ }), n("input", g);
26822
26822
  };
26823
26823
  ei(
26824
26824
  () => a(Object.keys(t.value ?? {})[0] ?? null)
26825
26825
  );
26826
- const l = (m) => !(m != null && m.type), c = (m) => m.type.toLowerCase() === "apikey", d = (m) => m.type === "http" && m.scheme.toLowerCase() === "basic" || m.type.toLowerCase() === "basic", u = (m) => m.type === "http" && m.scheme.toLowerCase() === "bearer", h = (m) => m.type.toLowerCase() === "oauth2", f = (m, g) => `${p(m)} (${g})`, p = (m) => l(m) ? "No Authentication" : c(m) ? "API Key" : d(m) ? "Basic Authentication" : u(m) ? "Bearer Authentication" : h(m) ? "OAuth 2.0" : `${m.type} (not yet supported)`, O = ie(() => Object.keys(t.value ?? {}));
26827
- return (m, g) => {
26826
+ const l = (g) => !(g != null && g.type), c = (g) => g.type.toLowerCase() === "apikey", d = (g) => g.type === "http" && g.scheme.toLowerCase() === "basic" || g.type.toLowerCase() === "basic", u = (g) => g.type === "http" && g.scheme.toLowerCase() === "bearer", h = (g) => g.type.toLowerCase() === "oauth2", f = (g, m) => `${p(g)} (${m})`, p = (g) => l(g) ? "No Authentication" : c(g) ? "API Key" : d(g) ? "Basic Authentication" : u(g) ? "Bearer Authentication" : h(g) ? "OAuth 2.0" : `${g.type} (not yet supported)`, O = ie(() => Object.keys(t.value ?? {}));
26827
+ return (g, m) => {
26828
26828
  var y, b;
26829
26829
  return O.value.length === 1 ? (k(), Q(J, { key: 0 }, [
26830
- G(K(f((y = m.value) == null ? void 0 : y[O.value[0]], O.value[0])), 1)
26830
+ G(K(f((y = g.value) == null ? void 0 : y[O.value[0]], O.value[0])), 1)
26831
26831
  ], 64)) : O.value.length > 1 ? (k(), Q("div", KZ, [
26832
26832
  A("span", null, K(w(s).preferredSecurityScheme ? f(
26833
- (b = m.value) == null ? void 0 : b[w(s).preferredSecurityScheme],
26833
+ (b = g.value) == null ? void 0 : b[w(s).preferredSecurityScheme],
26834
26834
  w(s).preferredSecurityScheme
26835
26835
  ) : "None"), 1),
26836
26836
  I(w(ot), { icon: "ChevronDown" }),
26837
26837
  A("select", {
26838
26838
  value: w(s).preferredSecurityScheme,
26839
- onClick: g[0] || (g[0] = Ua(() => {
26839
+ onClick: m[0] || (m[0] = Ua(() => {
26840
26840
  }, ["prevent"])),
26841
26841
  onInput: o
26842
26842
  }, [
@@ -26846,7 +26846,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
26846
26846
  return k(), Q("option", {
26847
26847
  key: v,
26848
26848
  value: v ?? null
26849
- }, K(f((P = m.value) == null ? void 0 : P[v], v)), 9, tI);
26849
+ }, K(f((P = g.value) == null ? void 0 : P[v], v)), 9, tI);
26850
26850
  }), 128))
26851
26851
  ], 40, JZ)
26852
26852
  ])) : B("", !0);
@@ -28061,7 +28061,7 @@ var Cf = { exports: {} }, eS = {};
28061
28061
  "relative-json-pointer": /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,
28062
28062
  // the following formats are used by the openapi specification: https://spec.openapis.org/oas/v3.0.0#data-types
28063
28063
  // byte: https://github.com/miguelmota/is-base64
28064
- byte: g,
28064
+ byte: m,
28065
28065
  // signed 32 bit integer
28066
28066
  int32: { type: "number", validate: v },
28067
28067
  // signed 64 bit integer
@@ -28133,9 +28133,9 @@ var Cf = { exports: {} }, eS = {};
28133
28133
  function O(R) {
28134
28134
  return f.test(R) && p.test(R);
28135
28135
  }
28136
- const m = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;
28137
- function g(R) {
28138
- return m.lastIndex = 0, m.test(R);
28136
+ const g = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;
28137
+ function m(R) {
28138
+ return g.lastIndex = 0, g.test(R);
28139
28139
  }
28140
28140
  const y = -(2 ** 31), b = 2 ** 31 - 1;
28141
28141
  function v(R) {
@@ -28204,80 +28204,80 @@ var tS = {}, Af = { exports: {} }, Vs = {}, fr = {}, to = {}, rl = {}, we = {},
28204
28204
  }
28205
28205
  }
28206
28206
  r._Code = n, r.nil = new n("");
28207
- function s(g, ...y) {
28208
- const b = [g[0]];
28207
+ function s(m, ...y) {
28208
+ const b = [m[0]];
28209
28209
  let v = 0;
28210
28210
  for (; v < y.length; )
28211
- a(b, y[v]), b.push(g[++v]);
28211
+ a(b, y[v]), b.push(m[++v]);
28212
28212
  return new n(b);
28213
28213
  }
28214
28214
  r._ = s;
28215
28215
  const i = new n("+");
28216
- function o(g, ...y) {
28217
- const b = [f(g[0])];
28216
+ function o(m, ...y) {
28217
+ const b = [f(m[0])];
28218
28218
  let v = 0;
28219
28219
  for (; v < y.length; )
28220
- b.push(i), a(b, y[v]), b.push(i, f(g[++v]));
28220
+ b.push(i), a(b, y[v]), b.push(i, f(m[++v]));
28221
28221
  return l(b), new n(b);
28222
28222
  }
28223
28223
  r.str = o;
28224
- function a(g, y) {
28225
- y instanceof n ? g.push(...y._items) : y instanceof t ? g.push(y) : g.push(u(y));
28224
+ function a(m, y) {
28225
+ y instanceof n ? m.push(...y._items) : y instanceof t ? m.push(y) : m.push(u(y));
28226
28226
  }
28227
28227
  r.addCodeArg = a;
28228
- function l(g) {
28228
+ function l(m) {
28229
28229
  let y = 1;
28230
- for (; y < g.length - 1; ) {
28231
- if (g[y] === i) {
28232
- const b = c(g[y - 1], g[y + 1]);
28230
+ for (; y < m.length - 1; ) {
28231
+ if (m[y] === i) {
28232
+ const b = c(m[y - 1], m[y + 1]);
28233
28233
  if (b !== void 0) {
28234
- g.splice(y - 1, 3, b);
28234
+ m.splice(y - 1, 3, b);
28235
28235
  continue;
28236
28236
  }
28237
- g[y++] = "+";
28237
+ m[y++] = "+";
28238
28238
  }
28239
28239
  y++;
28240
28240
  }
28241
28241
  }
28242
- function c(g, y) {
28242
+ function c(m, y) {
28243
28243
  if (y === '""')
28244
- return g;
28245
- if (g === '""')
28244
+ return m;
28245
+ if (m === '""')
28246
28246
  return y;
28247
- if (typeof g == "string")
28248
- return y instanceof t || g[g.length - 1] !== '"' ? void 0 : typeof y != "string" ? `${g.slice(0, -1)}${y}"` : y[0] === '"' ? g.slice(0, -1) + y.slice(1) : void 0;
28249
- if (typeof y == "string" && y[0] === '"' && !(g instanceof t))
28250
- return `"${g}${y.slice(1)}`;
28247
+ if (typeof m == "string")
28248
+ return y instanceof t || m[m.length - 1] !== '"' ? void 0 : typeof y != "string" ? `${m.slice(0, -1)}${y}"` : y[0] === '"' ? m.slice(0, -1) + y.slice(1) : void 0;
28249
+ if (typeof y == "string" && y[0] === '"' && !(m instanceof t))
28250
+ return `"${m}${y.slice(1)}`;
28251
28251
  }
28252
- function d(g, y) {
28253
- return y.emptyStr() ? g : g.emptyStr() ? y : o`${g}${y}`;
28252
+ function d(m, y) {
28253
+ return y.emptyStr() ? m : m.emptyStr() ? y : o`${m}${y}`;
28254
28254
  }
28255
28255
  r.strConcat = d;
28256
- function u(g) {
28257
- return typeof g == "number" || typeof g == "boolean" || g === null ? g : f(Array.isArray(g) ? g.join(",") : g);
28256
+ function u(m) {
28257
+ return typeof m == "number" || typeof m == "boolean" || m === null ? m : f(Array.isArray(m) ? m.join(",") : m);
28258
28258
  }
28259
- function h(g) {
28260
- return new n(f(g));
28259
+ function h(m) {
28260
+ return new n(f(m));
28261
28261
  }
28262
28262
  r.stringify = h;
28263
- function f(g) {
28264
- return JSON.stringify(g).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
28263
+ function f(m) {
28264
+ return JSON.stringify(m).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
28265
28265
  }
28266
28266
  r.safeStringify = f;
28267
- function p(g) {
28268
- return typeof g == "string" && r.IDENTIFIER.test(g) ? new n(`.${g}`) : s`[${g}]`;
28267
+ function p(m) {
28268
+ return typeof m == "string" && r.IDENTIFIER.test(m) ? new n(`.${m}`) : s`[${m}]`;
28269
28269
  }
28270
28270
  r.getProperty = p;
28271
- function O(g) {
28272
- if (typeof g == "string" && r.IDENTIFIER.test(g))
28273
- return new n(`${g}`);
28274
- throw new Error(`CodeGen: invalid export name: ${g}, use explicit $id name mapping`);
28271
+ function O(m) {
28272
+ if (typeof m == "string" && r.IDENTIFIER.test(m))
28273
+ return new n(`${m}`);
28274
+ throw new Error(`CodeGen: invalid export name: ${m}, use explicit $id name mapping`);
28275
28275
  }
28276
28276
  r.getEsmExportName = O;
28277
- function m(g) {
28278
- return new n(g.toString());
28277
+ function g(m) {
28278
+ return new n(m.toString());
28279
28279
  }
28280
- r.regexpCode = m;
28280
+ r.regexpCode = g;
28281
28281
  })(Ma);
28282
28282
  var Ef = {};
28283
28283
  (function(r) {
@@ -28351,8 +28351,8 @@ var Ef = {};
28351
28351
  } else
28352
28352
  O = this._values[f] = /* @__PURE__ */ new Map();
28353
28353
  O.set(p, h);
28354
- const m = this._scope[f] || (this._scope[f] = []), g = m.length;
28355
- return m[g] = d.ref, h.setValue(d, { property: f, itemIndex: g }), h;
28354
+ const g = this._scope[f] || (this._scope[f] = []), m = g.length;
28355
+ return g[m] = d.ref, h.setValue(d, { property: f, itemIndex: m }), h;
28356
28356
  }
28357
28357
  getValue(c, d) {
28358
28358
  const u = this._values[c];
@@ -28379,20 +28379,20 @@ var Ef = {};
28379
28379
  const O = c[p];
28380
28380
  if (!O)
28381
28381
  continue;
28382
- const m = u[p] = u[p] || /* @__PURE__ */ new Map();
28383
- O.forEach((g) => {
28384
- if (m.has(g))
28382
+ const g = u[p] = u[p] || /* @__PURE__ */ new Map();
28383
+ O.forEach((m) => {
28384
+ if (g.has(m))
28385
28385
  return;
28386
- m.set(g, n.Started);
28387
- let y = d(g);
28386
+ g.set(m, n.Started);
28387
+ let y = d(m);
28388
28388
  if (y) {
28389
28389
  const b = this.opts.es5 ? r.varKinds.var : r.varKinds.const;
28390
- f = (0, e._)`${f}${b} ${g} = ${y};${this.opts._n}`;
28391
- } else if (y = h == null ? void 0 : h(g))
28390
+ f = (0, e._)`${f}${b} ${m} = ${y};${this.opts._n}`;
28391
+ } else if (y = h == null ? void 0 : h(m))
28392
28392
  f = (0, e._)`${f}${y}${this.opts._n}`;
28393
28393
  else
28394
- throw new t(g);
28395
- m.set(g, n.Completed);
28394
+ throw new t(m);
28395
+ g.set(m, n.Completed);
28396
28396
  });
28397
28397
  }
28398
28398
  return f;
@@ -28570,10 +28570,10 @@ var Ef = {};
28570
28570
  }
28571
28571
  class O extends f {
28572
28572
  }
28573
- class m extends p {
28574
- }
28575
- m.kind = "else";
28576
28573
  class g extends p {
28574
+ }
28575
+ g.kind = "else";
28576
+ class m extends p {
28577
28577
  constructor(_, j) {
28578
28578
  super(j), this.condition = _;
28579
28579
  }
@@ -28589,10 +28589,10 @@ var Ef = {};
28589
28589
  let j = this.else;
28590
28590
  if (j) {
28591
28591
  const z = j.optimizeNodes();
28592
- j = this.else = Array.isArray(z) ? new m(z) : z;
28592
+ j = this.else = Array.isArray(z) ? new g(z) : z;
28593
28593
  }
28594
28594
  if (j)
28595
- return _ === !1 ? j instanceof g ? j : j.nodes : this.nodes.length ? this : new g(Ze(_), j instanceof g ? [j] : j.nodes);
28595
+ return _ === !1 ? j instanceof m ? j : j.nodes : this.nodes.length ? this : new m(Ze(_), j instanceof m ? [j] : j.nodes);
28596
28596
  if (!(_ === !1 || !this.nodes.length))
28597
28597
  return this;
28598
28598
  }
@@ -28606,7 +28606,7 @@ var Ef = {};
28606
28606
  return ue(_, this.condition), this.else && D(_, this.else.names), _;
28607
28607
  }
28608
28608
  }
28609
- g.kind = "if";
28609
+ m.kind = "if";
28610
28610
  class y extends p {
28611
28611
  }
28612
28612
  y.kind = "for";
@@ -28770,7 +28770,7 @@ var Ef = {};
28770
28770
  }
28771
28771
  // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
28772
28772
  if(_, j, z) {
28773
- if (this._blockNode(new g(_)), j && z)
28773
+ if (this._blockNode(new m(_)), j && z)
28774
28774
  this.code(j).else().code(z).endIf();
28775
28775
  else if (j)
28776
28776
  this.code(j).endIf();
@@ -28780,15 +28780,15 @@ var Ef = {};
28780
28780
  }
28781
28781
  // `else if` clause - invalid without `if` or after `else` clauses
28782
28782
  elseIf(_) {
28783
- return this._elseNode(new g(_));
28783
+ return this._elseNode(new m(_));
28784
28784
  }
28785
28785
  // `else` clause - only valid after `if` or `else if` clauses
28786
28786
  else() {
28787
- return this._elseNode(new m());
28787
+ return this._elseNode(new g());
28788
28788
  }
28789
28789
  // end `if` statement (needed if gen.if was used only with condition)
28790
28790
  endIf() {
28791
- return this._endBlockNode(g, m);
28791
+ return this._endBlockNode(m, g);
28792
28792
  }
28793
28793
  _for(_, j) {
28794
28794
  return this._blockNode(_), j && this.code(j).endFor(), this;
@@ -28895,7 +28895,7 @@ var Ef = {};
28895
28895
  }
28896
28896
  _elseNode(_) {
28897
28897
  const j = this._currNode;
28898
- if (!(j instanceof g))
28898
+ if (!(j instanceof m))
28899
28899
  throw new Error('CodeGen: "else" without "if"');
28900
28900
  return this._currNode = j.else = _, this;
28901
28901
  }
@@ -29047,7 +29047,7 @@ var Ee = {};
29047
29047
  S.if((0, e._)`${$} === true`, () => S.assign(E, !0), () => S.assign(E, (0, e._)`${E} || {}`).code((0, e._)`Object.assign(${E}, ${$})`));
29048
29048
  }),
29049
29049
  mergeToName: (S, $, E) => S.if((0, e._)`${E} !== true`, () => {
29050
- $ === !0 ? S.assign(E, !0) : (S.assign(E, (0, e._)`${E} || {}`), m(S, E, $));
29050
+ $ === !0 ? S.assign(E, !0) : (S.assign(E, (0, e._)`${E} || {}`), g(S, E, $));
29051
29051
  }),
29052
29052
  mergeValues: (S, $) => S === !0 ? !0 : { ...S, ...$ },
29053
29053
  resultToName: O
@@ -29063,18 +29063,18 @@ var Ee = {};
29063
29063
  if ($ === !0)
29064
29064
  return S.var("props", !0);
29065
29065
  const E = S.var("props", (0, e._)`{}`);
29066
- return $ !== void 0 && m(S, E, $), E;
29066
+ return $ !== void 0 && g(S, E, $), E;
29067
29067
  }
29068
29068
  r.evaluatedPropsToName = O;
29069
- function m(S, $, E) {
29069
+ function g(S, $, E) {
29070
29070
  Object.keys(E).forEach((R) => S.assign((0, e._)`${$}${(0, e.getProperty)(R)}`, !0));
29071
29071
  }
29072
- r.setEvaluated = m;
29073
- const g = {};
29072
+ r.setEvaluated = g;
29073
+ const m = {};
29074
29074
  function y(S, $) {
29075
29075
  return S.scopeValue("func", {
29076
29076
  ref: $,
29077
- code: g[$.code] || (g[$.code] = new t._Code($.code))
29077
+ code: m[$.code] || (m[$.code] = new t._Code($.code))
29078
29078
  });
29079
29079
  }
29080
29080
  r.useFunc = y;
@@ -29129,40 +29129,40 @@ nr.default = O3;
29129
29129
  Object.defineProperty(r, "__esModule", { value: !0 }), r.extendErrors = r.resetErrorsCount = r.reportExtraError = r.reportError = r.keyword$DataError = r.keywordError = void 0;
29130
29130
  const e = we, t = Ee, n = nr;
29131
29131
  r.keywordError = {
29132
- message: ({ keyword: m }) => (0, e.str)`must pass "${m}" keyword validation`
29132
+ message: ({ keyword: g }) => (0, e.str)`must pass "${g}" keyword validation`
29133
29133
  }, r.keyword$DataError = {
29134
- message: ({ keyword: m, schemaType: g }) => g ? (0, e.str)`"${m}" keyword must be ${g} ($data)` : (0, e.str)`"${m}" keyword is invalid ($data)`
29134
+ message: ({ keyword: g, schemaType: m }) => m ? (0, e.str)`"${g}" keyword must be ${m} ($data)` : (0, e.str)`"${g}" keyword is invalid ($data)`
29135
29135
  };
29136
- function s(m, g = r.keywordError, y, b) {
29137
- const { it: v } = m, { gen: P, compositeRule: S, allErrors: $ } = v, E = u(m, g, y);
29136
+ function s(g, m = r.keywordError, y, b) {
29137
+ const { it: v } = g, { gen: P, compositeRule: S, allErrors: $ } = v, E = u(g, m, y);
29138
29138
  b ?? (S || $) ? l(P, E) : c(v, (0, e._)`[${E}]`);
29139
29139
  }
29140
29140
  r.reportError = s;
29141
- function i(m, g = r.keywordError, y) {
29142
- const { it: b } = m, { gen: v, compositeRule: P, allErrors: S } = b, $ = u(m, g, y);
29141
+ function i(g, m = r.keywordError, y) {
29142
+ const { it: b } = g, { gen: v, compositeRule: P, allErrors: S } = b, $ = u(g, m, y);
29143
29143
  l(v, $), P || S || c(b, n.default.vErrors);
29144
29144
  }
29145
29145
  r.reportExtraError = i;
29146
- function o(m, g) {
29147
- m.assign(n.default.errors, g), m.if((0, e._)`${n.default.vErrors} !== null`, () => m.if(g, () => m.assign((0, e._)`${n.default.vErrors}.length`, g), () => m.assign(n.default.vErrors, null)));
29146
+ function o(g, m) {
29147
+ g.assign(n.default.errors, m), g.if((0, e._)`${n.default.vErrors} !== null`, () => g.if(m, () => g.assign((0, e._)`${n.default.vErrors}.length`, m), () => g.assign(n.default.vErrors, null)));
29148
29148
  }
29149
29149
  r.resetErrorsCount = o;
29150
- function a({ gen: m, keyword: g, schemaValue: y, data: b, errsCount: v, it: P }) {
29150
+ function a({ gen: g, keyword: m, schemaValue: y, data: b, errsCount: v, it: P }) {
29151
29151
  if (v === void 0)
29152
29152
  throw new Error("ajv implementation error");
29153
- const S = m.name("err");
29154
- m.forRange("i", v, n.default.errors, ($) => {
29155
- m.const(S, (0, e._)`${n.default.vErrors}[${$}]`), m.if((0, e._)`${S}.instancePath === undefined`, () => m.assign((0, e._)`${S}.instancePath`, (0, e.strConcat)(n.default.instancePath, P.errorPath))), m.assign((0, e._)`${S}.schemaPath`, (0, e.str)`${P.errSchemaPath}/${g}`), P.opts.verbose && (m.assign((0, e._)`${S}.schema`, y), m.assign((0, e._)`${S}.data`, b));
29153
+ const S = g.name("err");
29154
+ g.forRange("i", v, n.default.errors, ($) => {
29155
+ g.const(S, (0, e._)`${n.default.vErrors}[${$}]`), g.if((0, e._)`${S}.instancePath === undefined`, () => g.assign((0, e._)`${S}.instancePath`, (0, e.strConcat)(n.default.instancePath, P.errorPath))), g.assign((0, e._)`${S}.schemaPath`, (0, e.str)`${P.errSchemaPath}/${m}`), P.opts.verbose && (g.assign((0, e._)`${S}.schema`, y), g.assign((0, e._)`${S}.data`, b));
29156
29156
  });
29157
29157
  }
29158
29158
  r.extendErrors = a;
29159
- function l(m, g) {
29160
- const y = m.const("err", g);
29161
- m.if((0, e._)`${n.default.vErrors} === null`, () => m.assign(n.default.vErrors, (0, e._)`[${y}]`), (0, e._)`${n.default.vErrors}.push(${y})`), m.code((0, e._)`${n.default.errors}++`);
29159
+ function l(g, m) {
29160
+ const y = g.const("err", m);
29161
+ g.if((0, e._)`${n.default.vErrors} === null`, () => g.assign(n.default.vErrors, (0, e._)`[${y}]`), (0, e._)`${n.default.vErrors}.push(${y})`), g.code((0, e._)`${n.default.errors}++`);
29162
29162
  }
29163
- function c(m, g) {
29164
- const { gen: y, validateName: b, schemaEnv: v } = m;
29165
- v.$async ? y.throw((0, e._)`new ${m.ValidationError}(${g})`) : (y.assign((0, e._)`${b}.errors`, g), y.return(!1));
29163
+ function c(g, m) {
29164
+ const { gen: y, validateName: b, schemaEnv: v } = g;
29165
+ v.$async ? y.throw((0, e._)`new ${g.ValidationError}(${m})`) : (y.assign((0, e._)`${b}.errors`, m), y.return(!1));
29166
29166
  }
29167
29167
  const d = {
29168
29168
  keyword: new e.Name("keyword"),
@@ -29173,28 +29173,28 @@ nr.default = O3;
29173
29173
  schema: new e.Name("schema"),
29174
29174
  parentSchema: new e.Name("parentSchema")
29175
29175
  };
29176
- function u(m, g, y) {
29177
- const { createErrors: b } = m.it;
29178
- return b === !1 ? (0, e._)`{}` : h(m, g, y);
29176
+ function u(g, m, y) {
29177
+ const { createErrors: b } = g.it;
29178
+ return b === !1 ? (0, e._)`{}` : h(g, m, y);
29179
29179
  }
29180
- function h(m, g, y = {}) {
29181
- const { gen: b, it: v } = m, P = [
29180
+ function h(g, m, y = {}) {
29181
+ const { gen: b, it: v } = g, P = [
29182
29182
  f(v, y),
29183
- p(m, y)
29183
+ p(g, y)
29184
29184
  ];
29185
- return O(m, g, P), b.object(...P);
29185
+ return O(g, m, P), b.object(...P);
29186
29186
  }
29187
- function f({ errorPath: m }, { instancePath: g }) {
29188
- const y = g ? (0, e.str)`${m}${(0, t.getErrorPath)(g, t.Type.Str)}` : m;
29187
+ function f({ errorPath: g }, { instancePath: m }) {
29188
+ const y = m ? (0, e.str)`${g}${(0, t.getErrorPath)(m, t.Type.Str)}` : g;
29189
29189
  return [n.default.instancePath, (0, e.strConcat)(n.default.instancePath, y)];
29190
29190
  }
29191
- function p({ keyword: m, it: { errSchemaPath: g } }, { schemaPath: y, parentSchema: b }) {
29192
- let v = b ? g : (0, e.str)`${g}/${m}`;
29191
+ function p({ keyword: g, it: { errSchemaPath: m } }, { schemaPath: y, parentSchema: b }) {
29192
+ let v = b ? m : (0, e.str)`${m}/${g}`;
29193
29193
  return y && (v = (0, e.str)`${v}${(0, t.getErrorPath)(y, t.Type.Str)}`), [d.schemaPath, v];
29194
29194
  }
29195
- function O(m, { params: g, message: y }, b) {
29196
- const { keyword: v, data: P, schemaValue: S, it: $ } = m, { opts: E, propertyName: R, topSchemaRef: W, schemaPath: Y } = $;
29197
- b.push([d.keyword, v], [d.params, typeof g == "function" ? g(m) : g || (0, e._)`{}`]), E.messages && b.push([d.message, typeof y == "function" ? y(m) : y]), E.verbose && b.push([d.schema, S], [d.parentSchema, (0, e._)`${W}${Y}`], [n.default.data, P]), R && b.push([d.propertyName, R]);
29195
+ function O(g, { params: m, message: y }, b) {
29196
+ const { keyword: v, data: P, schemaValue: S, it: $ } = g, { opts: E, propertyName: R, topSchemaRef: W, schemaPath: Y } = $;
29197
+ b.push([d.keyword, v], [d.params, typeof m == "function" ? m(g) : m || (0, e._)`{}`]), E.messages && b.push([d.message, typeof y == "function" ? y(g) : y]), E.verbose && b.push([d.schema, S], [d.parentSchema, (0, e._)`${W}${Y}`], [n.default.data, P]), R && b.push([d.propertyName, R]);
29198
29198
  }
29199
29199
  })(rl);
29200
29200
  Object.defineProperty(to, "__esModule", { value: !0 });
@@ -29298,7 +29298,7 @@ vn.shouldUseRule = sS;
29298
29298
  if (R) {
29299
29299
  const W = O(v, S, $.strictNumbers, o.Wrong);
29300
29300
  P.if(W, () => {
29301
- E.length ? h(b, v, E) : g(b);
29301
+ E.length ? h(b, v, E) : m(b);
29302
29302
  });
29303
29303
  }
29304
29304
  return R;
@@ -29313,7 +29313,7 @@ vn.shouldUseRule = sS;
29313
29313
  E.coerceTypes === "array" && S.if((0, s._)`${R} == 'object' && Array.isArray(${$}) && ${$}.length == 1`, () => S.assign($, (0, s._)`${$}[0]`).assign(R, (0, s._)`typeof ${$}`).if(O(v, $, E.strictNumbers), () => S.assign(W, $))), S.if((0, s._)`${W} !== undefined`);
29314
29314
  for (const D of P)
29315
29315
  (d.has(D) || D === "array" && E.coerceTypes === "array") && Y(D);
29316
- S.else(), g(b), S.endIf(), S.if((0, s._)`${W} !== undefined`, () => {
29316
+ S.else(), m(b), S.endIf(), S.if((0, s._)`${W} !== undefined`, () => {
29317
29317
  S.assign($, W), f(b, W);
29318
29318
  });
29319
29319
  function Y(D) {
@@ -29387,15 +29387,15 @@ vn.shouldUseRule = sS;
29387
29387
  return $;
29388
29388
  }
29389
29389
  r.checkDataTypes = O;
29390
- const m = {
29390
+ const g = {
29391
29391
  message: ({ schema: b }) => `must be ${b}`,
29392
29392
  params: ({ schema: b, schemaValue: v }) => typeof b == "string" ? (0, s._)`{type: ${b}}` : (0, s._)`{type: ${v}}`
29393
29393
  };
29394
- function g(b) {
29394
+ function m(b) {
29395
29395
  const v = y(b);
29396
- (0, n.reportError)(v, m);
29396
+ (0, n.reportError)(v, g);
29397
29397
  }
29398
- r.reportTypeError = g;
29398
+ r.reportTypeError = m;
29399
29399
  function y(b) {
29400
29400
  const { gen: v, data: P, schema: S } = b, $ = (0, i.schemaRefOrVal)(b, S, "type");
29401
29401
  return {
@@ -29567,27 +29567,27 @@ function U3(r, e) {
29567
29567
  r.block$data(u, h), r.ok((t = e.valid) !== null && t !== void 0 ? t : u);
29568
29568
  function h() {
29569
29569
  if (e.errors === !1)
29570
- O(), e.modifying && uy(r), m(() => r.error());
29570
+ O(), e.modifying && uy(r), g(() => r.error());
29571
29571
  else {
29572
- const g = e.async ? f() : p();
29573
- e.modifying && uy(r), m(() => Y3(r, g));
29572
+ const m = e.async ? f() : p();
29573
+ e.modifying && uy(r), g(() => Y3(r, m));
29574
29574
  }
29575
29575
  }
29576
29576
  function f() {
29577
- const g = n.let("ruleErrs", null);
29578
- return n.try(() => O((0, Rt._)`await `), (y) => n.assign(u, !1).if((0, Rt._)`${y} instanceof ${l.ValidationError}`, () => n.assign(g, (0, Rt._)`${y}.errors`), () => n.throw(y))), g;
29577
+ const m = n.let("ruleErrs", null);
29578
+ return n.try(() => O((0, Rt._)`await `), (y) => n.assign(u, !1).if((0, Rt._)`${y} instanceof ${l.ValidationError}`, () => n.assign(m, (0, Rt._)`${y}.errors`), () => n.throw(y))), m;
29579
29579
  }
29580
29580
  function p() {
29581
- const g = (0, Rt._)`${d}.errors`;
29582
- return n.assign(g, null), O(Rt.nil), g;
29581
+ const m = (0, Rt._)`${d}.errors`;
29582
+ return n.assign(m, null), O(Rt.nil), m;
29583
29583
  }
29584
- function O(g = e.async ? (0, Rt._)`await ` : Rt.nil) {
29584
+ function O(m = e.async ? (0, Rt._)`await ` : Rt.nil) {
29585
29585
  const y = l.opts.passContext ? xs.default.this : xs.default.self, b = !("compile" in e && !a || e.schema === !1);
29586
- n.assign(u, (0, Rt._)`${g}${(0, q3.callValidateCode)(r, d, y, b)}`, e.modifying);
29586
+ n.assign(u, (0, Rt._)`${m}${(0, q3.callValidateCode)(r, d, y, b)}`, e.modifying);
29587
29587
  }
29588
- function m(g) {
29588
+ function g(m) {
29589
29589
  var y;
29590
- n.if((0, Rt.not)((y = e.valid) !== null && y !== void 0 ? y : u), g);
29590
+ n.if((0, Rt.not)((y = e.valid) !== null && y !== void 0 ? y : u), m);
29591
29591
  }
29592
29592
  }
29593
29593
  en.funcKeywordCode = U3;
@@ -29867,11 +29867,11 @@ function dN(r, e) {
29867
29867
  if (p === void 0)
29868
29868
  return;
29869
29869
  const O = o + h;
29870
- let m = i[p];
29871
- typeof u[t] == "string" && (m = g.call(this, u[t])), y.call(this, u.$anchor), y.call(this, u.$dynamicAnchor), i[h] = m;
29872
- function g(b) {
29870
+ let g = i[p];
29871
+ typeof u[t] == "string" && (g = m.call(this, u[t])), y.call(this, u.$anchor), y.call(this, u.$dynamicAnchor), i[h] = g;
29872
+ function m(b) {
29873
29873
  const v = this.opts.uriResolver.resolve;
29874
- if (b = qi(m ? v(m, b) : b), l.has(b))
29874
+ if (b = qi(g ? v(g, b) : b), l.has(b))
29875
29875
  throw d(b);
29876
29876
  l.add(b);
29877
29877
  let P = this.refs[b];
@@ -29881,7 +29881,7 @@ function dN(r, e) {
29881
29881
  if (typeof b == "string") {
29882
29882
  if (!cN.test(b))
29883
29883
  throw new Error(`invalid anchor "${b}"`);
29884
- g.call(this, `#${b}`);
29884
+ m.call(this, `#${b}`);
29885
29885
  }
29886
29886
  }
29887
29887
  }), a;
@@ -30488,11 +30488,11 @@ var dm = {}, Zf = { exports: {} };
30488
30488
  return N;
30489
30489
  } else
30490
30490
  return Array.from(x);
30491
- }, p = 2147483647, O = 36, m = 1, g = 26, y = 38, b = 700, v = 72, P = 128, S = "-", $ = /^xn--/, E = /[^\0-\x7E]/, R = /[\x2E\u3002\uFF0E\uFF61]/g, W = {
30491
+ }, p = 2147483647, O = 36, g = 1, m = 26, y = 38, b = 700, v = 72, P = 128, S = "-", $ = /^xn--/, E = /[^\0-\x7E]/, R = /[\x2E\u3002\uFF0E\uFF61]/g, W = {
30492
30492
  overflow: "Overflow: input needs wider integers to process",
30493
30493
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
30494
30494
  "invalid-input": "Invalid input"
30495
- }, Y = O - m, D = Math.floor, ue = String.fromCharCode;
30495
+ }, Y = O - g, D = Math.floor, ue = String.fromCharCode;
30496
30496
  function oe(x) {
30497
30497
  throw new RangeError(W[x]);
30498
30498
  }
@@ -30529,7 +30529,7 @@ var dm = {}, Zf = { exports: {} };
30529
30529
  for (
30530
30530
  x = N ? D(x / b) : x >> 1, x += D(x / Z);
30531
30531
  /* no initialization */
30532
- x > Y * g >> 1;
30532
+ x > Y * m >> 1;
30533
30533
  U += O
30534
30534
  )
30535
30535
  x = D(x / Y);
@@ -30549,7 +30549,7 @@ var dm = {}, Zf = { exports: {} };
30549
30549
  at >= N && oe("invalid-input");
30550
30550
  var rt = Pe(x.charCodeAt(at++));
30551
30551
  (rt >= O || rt > D((p - U) / Re)) && oe("overflow"), U += rt * Re;
30552
- var Se = Be <= ge ? m : Be >= ge + g ? g : Be - ge;
30552
+ var Se = Be <= ge ? g : Be >= ge + m ? m : Be - ge;
30553
30553
  if (rt < Se)
30554
30554
  break;
30555
30555
  var lt = O - Se;
@@ -30609,7 +30609,7 @@ var dm = {}, Zf = { exports: {} };
30609
30609
  /* no condition */
30610
30610
  bl += O
30611
30611
  ) {
30612
- var vl = bl <= ge ? m : bl >= ge + g ? g : bl - ge;
30612
+ var vl = bl <= ge ? g : bl >= ge + m ? m : bl - ge;
30613
30613
  if (yl < vl)
30614
30614
  break;
30615
30615
  var Tg = yl - vl, Cg = O - vl;
@@ -30990,7 +30990,7 @@ dm.default = _S;
30990
30990
  "func",
30991
30991
  "obj",
30992
30992
  "Error"
30993
- ]), m = {
30993
+ ]), g = {
30994
30994
  errorDataPath: "",
30995
30995
  format: "`validateFormats: false` can be used instead.",
30996
30996
  nullable: '"nullable" keyword is supported by default.',
@@ -31006,7 +31006,7 @@ dm.default = _S;
31006
31006
  cache: "Map is used as cache, schema object as key.",
31007
31007
  serialize: "Map is used as cache, schema object as key.",
31008
31008
  ajvErrors: "It is default now."
31009
- }, g = {
31009
+ }, m = {
31010
31010
  ignoreKeywordsWithRef: "",
31011
31011
  jsPropertySyntax: "",
31012
31012
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
@@ -31041,7 +31041,7 @@ dm.default = _S;
31041
31041
  const { es5: V, lines: X } = this.opts.code;
31042
31042
  this.scope = new a.ValueScope({ scope: {}, prefixes: O, es5: V, lines: X }), this.logger = D(M.logger);
31043
31043
  const _ = M.validateFormats;
31044
- M.validateFormats = !1, this.RULES = (0, i.getRules)(), P.call(this, m, M, "NOT SUPPORTED"), P.call(this, g, M, "DEPRECATED", "warn"), this._metaOpts = W.call(this), M.formats && E.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), M.keywords && R.call(this, M.keywords), typeof M.meta == "object" && this.addMetaSchema(M.meta), $.call(this), M.validateFormats = _;
31044
+ M.validateFormats = !1, this.RULES = (0, i.getRules)(), P.call(this, g, M, "NOT SUPPORTED"), P.call(this, m, M, "DEPRECATED", "warn"), this._metaOpts = W.call(this), M.formats && E.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), M.keywords && R.call(this, M.keywords), typeof M.meta == "object" && this.addMetaSchema(M.meta), $.call(this), M.validateFormats = _;
31045
31045
  }
31046
31046
  _addVocabularies() {
31047
31047
  this.addKeyword("$async");
@@ -31430,14 +31430,14 @@ const KN = mo, Oy = Ce, qt = we, gi = nr, yy = It, Ul = Ee, JN = {
31430
31430
  Oc(r, O, p, p.$async);
31431
31431
  }
31432
31432
  function f(p) {
31433
- const O = e.scopeValue("schema", a.code.source === !0 ? { ref: p, code: (0, qt.stringify)(p) } : { ref: p }), m = e.name("valid"), g = r.subschema({
31433
+ const O = e.scopeValue("schema", a.code.source === !0 ? { ref: p, code: (0, qt.stringify)(p) } : { ref: p }), g = e.name("valid"), m = r.subschema({
31434
31434
  schema: p,
31435
31435
  dataTypes: [],
31436
31436
  schemaPath: qt.nil,
31437
31437
  topSchemaRef: O,
31438
31438
  errSchemaPath: t
31439
- }, m);
31440
- r.mergeEvaluated(g), r.ok(m);
31439
+ }, g);
31440
+ r.mergeEvaluated(m), r.ok(g);
31441
31441
  }
31442
31442
  }
31443
31443
  };
@@ -31470,20 +31470,20 @@ function Oc(r, e, t, n) {
31470
31470
  var O;
31471
31471
  if (!i.opts.unevaluated)
31472
31472
  return;
31473
- const m = (O = t == null ? void 0 : t.validate) === null || O === void 0 ? void 0 : O.evaluated;
31473
+ const g = (O = t == null ? void 0 : t.validate) === null || O === void 0 ? void 0 : O.evaluated;
31474
31474
  if (i.props !== !0)
31475
- if (m && !m.dynamicProps)
31476
- m.props !== void 0 && (i.props = Ul.mergeEvaluated.props(s, m.props, i.props));
31475
+ if (g && !g.dynamicProps)
31476
+ g.props !== void 0 && (i.props = Ul.mergeEvaluated.props(s, g.props, i.props));
31477
31477
  else {
31478
- const g = s.var("props", (0, qt._)`${p}.evaluated.props`);
31479
- i.props = Ul.mergeEvaluated.props(s, g, i.props, qt.Name);
31478
+ const m = s.var("props", (0, qt._)`${p}.evaluated.props`);
31479
+ i.props = Ul.mergeEvaluated.props(s, m, i.props, qt.Name);
31480
31480
  }
31481
31481
  if (i.items !== !0)
31482
- if (m && !m.dynamicItems)
31483
- m.items !== void 0 && (i.items = Ul.mergeEvaluated.items(s, m.items, i.items));
31482
+ if (g && !g.dynamicItems)
31483
+ g.items !== void 0 && (i.items = Ul.mergeEvaluated.items(s, g.items, i.items));
31484
31484
  else {
31485
- const g = s.var("items", (0, qt._)`${p}.evaluated.items`);
31486
- i.items = Ul.mergeEvaluated.items(s, g, i.items, qt.Name);
31485
+ const m = s.var("items", (0, qt._)`${p}.evaluated.items`);
31486
+ i.items = Ul.mergeEvaluated.items(s, m, i.items, qt.Name);
31487
31487
  }
31488
31488
  }
31489
31489
  }
@@ -31627,8 +31627,8 @@ const Ho = Ce, Oa = we, g4 = Ee, O4 = {
31627
31627
  const f = r.parentSchema.properties, { definedProperties: p } = r.it;
31628
31628
  for (const O of t)
31629
31629
  if ((f == null ? void 0 : f[O]) === void 0 && !p.has(O)) {
31630
- const m = o.schemaEnv.baseId + o.errSchemaPath, g = `required property "${O}" is not defined at "${m}" (strictRequired)`;
31631
- (0, g4.checkStrictMode)(o, g, o.opts.strictRequired);
31630
+ const g = o.schemaEnv.baseId + o.errSchemaPath, m = `required property "${O}" is not defined at "${g}" (strictRequired)`;
31631
+ (0, g4.checkStrictMode)(o, m, o.opts.strictRequired);
31632
31632
  }
31633
31633
  }
31634
31634
  function c() {
@@ -31710,17 +31710,17 @@ const rh = nl, Ot = we, w4 = Ee, S4 = sl, k4 = {
31710
31710
  return c.length > 0 && !c.some((p) => p === "object" || p === "array");
31711
31711
  }
31712
31712
  function h(p, O) {
31713
- const m = e.name("item"), g = (0, rh.checkDataTypes)(c, m, a.opts.strictNumbers, rh.DataType.Wrong), y = e.const("indices", (0, Ot._)`{}`);
31713
+ const g = e.name("item"), m = (0, rh.checkDataTypes)(c, g, a.opts.strictNumbers, rh.DataType.Wrong), y = e.const("indices", (0, Ot._)`{}`);
31714
31714
  e.for((0, Ot._)`;${p}--;`, () => {
31715
- e.let(m, (0, Ot._)`${t}[${p}]`), e.if(g, (0, Ot._)`continue`), c.length > 1 && e.if((0, Ot._)`typeof ${m} == "string"`, (0, Ot._)`${m} += "_"`), e.if((0, Ot._)`typeof ${y}[${m}] == "number"`, () => {
31716
- e.assign(O, (0, Ot._)`${y}[${m}]`), r.error(), e.assign(l, !1).break();
31717
- }).code((0, Ot._)`${y}[${m}] = ${p}`);
31715
+ e.let(g, (0, Ot._)`${t}[${p}]`), e.if(m, (0, Ot._)`continue`), c.length > 1 && e.if((0, Ot._)`typeof ${g} == "string"`, (0, Ot._)`${g} += "_"`), e.if((0, Ot._)`typeof ${y}[${g}] == "number"`, () => {
31716
+ e.assign(O, (0, Ot._)`${y}[${g}]`), r.error(), e.assign(l, !1).break();
31717
+ }).code((0, Ot._)`${y}[${g}] = ${p}`);
31718
31718
  });
31719
31719
  }
31720
31720
  function f(p, O) {
31721
- const m = (0, w4.useFunc)(e, S4.default), g = e.name("outer");
31722
- e.label(g).for((0, Ot._)`;${p}--;`, () => e.for((0, Ot._)`${O} = ${p}; ${O}--;`, () => e.if((0, Ot._)`${m}(${t}[${p}], ${t}[${O}])`, () => {
31723
- r.error(), e.assign(l, !1).break(g);
31721
+ const g = (0, w4.useFunc)(e, S4.default), m = e.name("outer");
31722
+ e.label(m).for((0, Ot._)`;${p}--;`, () => e.for((0, Ot._)`${O} = ${p}; ${O}--;`, () => e.if((0, Ot._)`${g}(${t}[${p}], ${t}[${O}])`, () => {
31723
+ r.error(), e.assign(l, !1).break(m);
31724
31724
  })));
31725
31725
  }
31726
31726
  }
@@ -31867,8 +31867,8 @@ function AS(r, e, t = r.schema) {
31867
31867
  function d(u) {
31868
31868
  const { opts: h, errSchemaPath: f } = a, p = t.length, O = p === u.minItems && (p === u.maxItems || u[e] === !1);
31869
31869
  if (h.strictTuples && !O) {
31870
- const m = `"${o}" is ${p}-tuple, but minItems or maxItems/${e} are not specified or different at path "${f}"`;
31871
- (0, yc.checkStrictMode)(a, m, h.strictTuples);
31870
+ const g = `"${o}" is ${p}-tuple, but minItems or maxItems/${e} are not specified or different at path "${f}"`;
31871
+ (0, yc.checkStrictMode)(a, g, h.strictTuples);
31872
31872
  }
31873
31873
  }
31874
31874
  }
@@ -31935,17 +31935,17 @@ const cr = we, Yl = Ee, tM = {
31935
31935
  const u = e.name("valid");
31936
31936
  a === void 0 && o === 1 ? f(u, () => e.if(u, () => e.break())) : o === 0 ? (e.let(u, !0), a !== void 0 && e.if((0, cr._)`${s}.length > 0`, h)) : (e.let(u, !1), h()), r.result(u, () => r.reset());
31937
31937
  function h() {
31938
- const O = e.name("_valid"), m = e.let("count", 0);
31939
- f(O, () => e.if(O, () => p(m)));
31938
+ const O = e.name("_valid"), g = e.let("count", 0);
31939
+ f(O, () => e.if(O, () => p(g)));
31940
31940
  }
31941
- function f(O, m) {
31942
- e.forRange("i", 0, d, (g) => {
31941
+ function f(O, g) {
31942
+ e.forRange("i", 0, d, (m) => {
31943
31943
  r.subschema({
31944
31944
  keyword: "contains",
31945
- dataProp: g,
31945
+ dataProp: m,
31946
31946
  dataPropType: Yl.Type.Num,
31947
31947
  compositeRule: !0
31948
- }, O), m();
31948
+ }, O), g();
31949
31949
  });
31950
31950
  }
31951
31951
  function p(O) {
@@ -31998,15 +31998,15 @@ var Kd = {};
31998
31998
  const O = c[p];
31999
31999
  if (O.length === 0)
32000
32000
  continue;
32001
- const m = (0, n.propertyInData)(d, u, p, h.opts.ownProperties);
32001
+ const g = (0, n.propertyInData)(d, u, p, h.opts.ownProperties);
32002
32002
  l.setParams({
32003
32003
  property: p,
32004
32004
  depsCount: O.length,
32005
32005
  deps: O.join(", ")
32006
- }), h.allErrors ? d.if(m, () => {
32007
- for (const g of O)
32008
- (0, n.checkReportMissingProp)(l, g);
32009
- }) : (d.if((0, e._)`${m} && (${(0, n.checkMissingProp)(l, O, f)})`), (0, n.reportMissingProp)(l, f), d.else());
32006
+ }), h.allErrors ? d.if(g, () => {
32007
+ for (const m of O)
32008
+ (0, n.checkReportMissingProp)(l, m);
32009
+ }) : (d.if((0, e._)`${g} && (${(0, n.checkMissingProp)(l, O, f)})`), (0, n.reportMissingProp)(l, f), d.else());
32010
32010
  }
32011
32011
  }
32012
32012
  r.validatePropertyDeps = o;
@@ -32016,8 +32016,8 @@ var Kd = {};
32016
32016
  (0, t.alwaysValidSchema)(f, c[O]) || (d.if(
32017
32017
  (0, n.propertyInData)(d, u, O, f.opts.ownProperties),
32018
32018
  () => {
32019
- const m = l.subschema({ keyword: h, schemaProp: O }, p);
32020
- l.mergeValidEvaluated(m, p);
32019
+ const g = l.subschema({ keyword: h, schemaProp: O }, p);
32020
+ l.mergeValidEvaluated(g, p);
32021
32021
  },
32022
32022
  () => d.var(p, !0)
32023
32023
  // TODO var
@@ -32076,49 +32076,49 @@ const Ll = Ce, wr = we, oM = nr, Bl = Ee, aM = {
32076
32076
  const c = (0, Ll.allSchemaProperties)(n.properties), d = (0, Ll.allSchemaProperties)(n.patternProperties);
32077
32077
  u(), r.ok((0, wr._)`${i} === ${oM.default.errors}`);
32078
32078
  function u() {
32079
- e.forIn("key", s, (m) => {
32080
- !c.length && !d.length ? p(m) : e.if(h(m), () => p(m));
32079
+ e.forIn("key", s, (g) => {
32080
+ !c.length && !d.length ? p(g) : e.if(h(g), () => p(g));
32081
32081
  });
32082
32082
  }
32083
- function h(m) {
32084
- let g;
32083
+ function h(g) {
32084
+ let m;
32085
32085
  if (c.length > 8) {
32086
32086
  const y = (0, Bl.schemaRefOrVal)(o, n.properties, "properties");
32087
- g = (0, Ll.isOwnProperty)(e, y, m);
32087
+ m = (0, Ll.isOwnProperty)(e, y, g);
32088
32088
  } else
32089
- c.length ? g = (0, wr.or)(...c.map((y) => (0, wr._)`${m} === ${y}`)) : g = wr.nil;
32090
- return d.length && (g = (0, wr.or)(g, ...d.map((y) => (0, wr._)`${(0, Ll.usePattern)(r, y)}.test(${m})`))), (0, wr.not)(g);
32089
+ c.length ? m = (0, wr.or)(...c.map((y) => (0, wr._)`${g} === ${y}`)) : m = wr.nil;
32090
+ return d.length && (m = (0, wr.or)(m, ...d.map((y) => (0, wr._)`${(0, Ll.usePattern)(r, y)}.test(${g})`))), (0, wr.not)(m);
32091
32091
  }
32092
- function f(m) {
32093
- e.code((0, wr._)`delete ${s}[${m}]`);
32092
+ function f(g) {
32093
+ e.code((0, wr._)`delete ${s}[${g}]`);
32094
32094
  }
32095
- function p(m) {
32095
+ function p(g) {
32096
32096
  if (l.removeAdditional === "all" || l.removeAdditional && t === !1) {
32097
- f(m);
32097
+ f(g);
32098
32098
  return;
32099
32099
  }
32100
32100
  if (t === !1) {
32101
- r.setParams({ additionalProperty: m }), r.error(), a || e.break();
32101
+ r.setParams({ additionalProperty: g }), r.error(), a || e.break();
32102
32102
  return;
32103
32103
  }
32104
32104
  if (typeof t == "object" && !(0, Bl.alwaysValidSchema)(o, t)) {
32105
- const g = e.name("valid");
32106
- l.removeAdditional === "failing" ? (O(m, g, !1), e.if((0, wr.not)(g), () => {
32107
- r.reset(), f(m);
32108
- })) : (O(m, g), a || e.if((0, wr.not)(g), () => e.break()));
32105
+ const m = e.name("valid");
32106
+ l.removeAdditional === "failing" ? (O(g, m, !1), e.if((0, wr.not)(m), () => {
32107
+ r.reset(), f(g);
32108
+ })) : (O(g, m), a || e.if((0, wr.not)(m), () => e.break()));
32109
32109
  }
32110
32110
  }
32111
- function O(m, g, y) {
32111
+ function O(g, m, y) {
32112
32112
  const b = {
32113
32113
  keyword: "additionalProperties",
32114
- dataProp: m,
32114
+ dataProp: g,
32115
32115
  dataPropType: Bl.Type.Str
32116
32116
  };
32117
32117
  y === !1 && Object.assign(b, {
32118
32118
  compositeRule: !0,
32119
32119
  createErrors: !1,
32120
32120
  allErrors: !1
32121
- }), r.subschema(b, g);
32121
+ }), r.subschema(b, m);
32122
32122
  }
32123
32123
  }
32124
32124
  };
@@ -32174,19 +32174,19 @@ const ky = Ce, Hl = we, $y = Ee, Py = Ee, uM = {
32174
32174
  c && f(O), i.allErrors ? p(O) : (e.var(d, !0), p(O), e.if(d));
32175
32175
  }
32176
32176
  function f(O) {
32177
- for (const m in c)
32178
- new RegExp(O).test(m) && (0, $y.checkStrictMode)(i, `property ${m} matches pattern ${O} (use allowMatchingProperties)`);
32177
+ for (const g in c)
32178
+ new RegExp(O).test(g) && (0, $y.checkStrictMode)(i, `property ${g} matches pattern ${O} (use allowMatchingProperties)`);
32179
32179
  }
32180
32180
  function p(O) {
32181
- e.forIn("key", n, (m) => {
32182
- e.if((0, Hl._)`${(0, ky.usePattern)(r, O)}.test(${m})`, () => {
32183
- const g = l.includes(O);
32184
- g || r.subschema({
32181
+ e.forIn("key", n, (g) => {
32182
+ e.if((0, Hl._)`${(0, ky.usePattern)(r, O)}.test(${g})`, () => {
32183
+ const m = l.includes(O);
32184
+ m || r.subschema({
32185
32185
  keyword: "patternProperties",
32186
32186
  schemaProp: O,
32187
- dataProp: m,
32187
+ dataProp: g,
32188
32188
  dataPropType: Py.Type.Str
32189
- }, d), i.opts.unevaluated && u !== !0 ? e.assign((0, Hl._)`${u}[${m}]`, !0) : !g && !i.allErrors && e.if((0, Hl.not)(d), () => e.break());
32189
+ }, d), i.opts.unevaluated && u !== !0 ? e.assign((0, Hl._)`${u}[${g}]`, !0) : !m && !i.allErrors && e.if((0, Hl.not)(d), () => e.break());
32190
32190
  });
32191
32191
  });
32192
32192
  }
@@ -32374,14 +32374,14 @@ const nt = we, qM = {
32374
32374
  const p = t.scopeValue("formats", {
32375
32375
  ref: u.formats,
32376
32376
  code: l.code.formats
32377
- }), O = t.const("fDef", (0, nt._)`${p}[${o}]`), m = t.let("fType"), g = t.let("format");
32378
- t.if((0, nt._)`typeof ${O} == "object" && !(${O} instanceof RegExp)`, () => t.assign(m, (0, nt._)`${O}.type || "string"`).assign(g, (0, nt._)`${O}.validate`), () => t.assign(m, (0, nt._)`"string"`).assign(g, O)), r.fail$data((0, nt.or)(y(), b()));
32377
+ }), O = t.const("fDef", (0, nt._)`${p}[${o}]`), g = t.let("fType"), m = t.let("format");
32378
+ t.if((0, nt._)`typeof ${O} == "object" && !(${O} instanceof RegExp)`, () => t.assign(g, (0, nt._)`${O}.type || "string"`).assign(m, (0, nt._)`${O}.validate`), () => t.assign(g, (0, nt._)`"string"`).assign(m, O)), r.fail$data((0, nt.or)(y(), b()));
32379
32379
  function y() {
32380
- return l.strictSchema === !1 ? nt.nil : (0, nt._)`${o} && !${g}`;
32380
+ return l.strictSchema === !1 ? nt.nil : (0, nt._)`${o} && !${m}`;
32381
32381
  }
32382
32382
  function b() {
32383
- const v = d.$async ? (0, nt._)`(${O}.async ? await ${g}(${n}) : ${g}(${n}))` : (0, nt._)`${g}(${n})`, P = (0, nt._)`(typeof ${g} == "function" ? ${v} : ${g}.test(${n}))`;
32384
- return (0, nt._)`${g} && ${g} !== true && ${m} === ${e} && !${P}`;
32383
+ const v = d.$async ? (0, nt._)`(${O}.async ? await ${m}(${n}) : ${m}(${n}))` : (0, nt._)`${m}(${n})`, P = (0, nt._)`(typeof ${m} == "function" ? ${v} : ${m}.test(${n}))`;
32384
+ return (0, nt._)`${m} && ${m} !== true && ${g} === ${e} && !${P}`;
32385
32385
  }
32386
32386
  }
32387
32387
  function f() {
@@ -32392,7 +32392,7 @@ const nt = we, qM = {
32392
32392
  }
32393
32393
  if (p === !0)
32394
32394
  return;
32395
- const [O, m, g] = b(p);
32395
+ const [O, g, m] = b(p);
32396
32396
  O === e && r.pass(v());
32397
32397
  function y() {
32398
32398
  if (l.strictSchema === !1) {
@@ -32412,9 +32412,9 @@ const nt = we, qM = {
32412
32412
  if (typeof p == "object" && !(p instanceof RegExp) && p.async) {
32413
32413
  if (!d.$async)
32414
32414
  throw new Error("async format in sync schema");
32415
- return (0, nt._)`await ${g}(${n})`;
32415
+ return (0, nt._)`await ${m}(${n})`;
32416
32416
  }
32417
- return typeof m == "function" ? (0, nt._)`${g}(${n})` : (0, nt._)`${g}.test(${n})`;
32417
+ return typeof g == "function" ? (0, nt._)`${m}(${n})` : (0, nt._)`${m}.test(${n})`;
32418
32418
  }
32419
32419
  }
32420
32420
  }
@@ -32491,20 +32491,20 @@ const wi = we, Nf = ZS, Qy = It, FM = Ee, KM = {
32491
32491
  }
32492
32492
  function h() {
32493
32493
  var f;
32494
- const p = {}, O = g(s);
32495
- let m = !0;
32494
+ const p = {}, O = m(s);
32495
+ let g = !0;
32496
32496
  for (let v = 0; v < o.length; v++) {
32497
32497
  let P = o[v];
32498
32498
  P != null && P.$ref && !(0, FM.schemaHasRulesButRef)(P, i.self.RULES) && (P = Qy.resolveRef.call(i.self, i.schemaEnv.root, i.baseId, P == null ? void 0 : P.$ref), P instanceof Qy.SchemaEnv && (P = P.schema));
32499
32499
  const S = (f = P == null ? void 0 : P.properties) === null || f === void 0 ? void 0 : f[a];
32500
32500
  if (typeof S != "object")
32501
32501
  throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${a}"`);
32502
- m = m && (O || g(P)), y(S, v);
32502
+ g = g && (O || m(P)), y(S, v);
32503
32503
  }
32504
- if (!m)
32504
+ if (!g)
32505
32505
  throw new Error(`discriminator: "${a}" must be required`);
32506
32506
  return p;
32507
- function g({ required: v }) {
32507
+ function m({ required: v }) {
32508
32508
  return Array.isArray(v) && v.includes(a);
32509
32509
  }
32510
32510
  function y(v, P) {
@@ -32834,15 +32834,15 @@ var aD = Af.exports;
32834
32834
  if (!f.validateFormats)
32835
32835
  return;
32836
32836
  const O = new e.KeywordCxt(h, p.RULES.all.format.definition, "format");
32837
- O.$data ? m() : g();
32838
- function m() {
32837
+ O.$data ? g() : m();
32838
+ function g() {
32839
32839
  const b = l.scopeValue("formats", {
32840
32840
  ref: p.formats,
32841
32841
  code: f.code.formats
32842
32842
  }), v = l.const("fmt", t._`${b}[${O.schemaCode}]`);
32843
32843
  a.fail$data(t.or(t._`typeof ${v} != "object"`, t._`${v} instanceof RegExp`, t._`typeof ${v}.compare != "function"`, y(v)));
32844
32844
  }
32845
- function g() {
32845
+ function m() {
32846
32846
  const b = O.schema, v = p.formats[b];
32847
32847
  if (!v || v === !0)
32848
32848
  return;
@@ -34630,11 +34630,11 @@ function ru(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
34630
34630
  const c = [], d = {};
34631
34631
  let u = s - e.length;
34632
34632
  typeof n == "number" && (n > s - Math.max(2, i) ? c.push(0) : u = s - n);
34633
- let h, f, p = !1, O = -1, m = -1, g = -1;
34633
+ let h, f, p = !1, O = -1, g = -1, m = -1;
34634
34634
  t === Uf && (O = Ny(r, O, e.length), O !== -1 && (u = O + l));
34635
34635
  for (let b; b = r[O += 1]; ) {
34636
34636
  if (t === wc && b === "\\") {
34637
- switch (m = O, r[O + 1]) {
34637
+ switch (g = O, r[O + 1]) {
34638
34638
  case "x":
34639
34639
  O += 3;
34640
34640
  break;
@@ -34647,7 +34647,7 @@ function ru(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
34647
34647
  default:
34648
34648
  O += 1;
34649
34649
  }
34650
- g = O;
34650
+ m = O;
34651
34651
  }
34652
34652
  if (b === `
34653
34653
  `)
@@ -34665,7 +34665,7 @@ function ru(r, e, t = "flow", { indentAtStart: n, lineWidth: s = 80, minContentW
34665
34665
  else if (t === wc) {
34666
34666
  for (; f === " " || f === " "; )
34667
34667
  f = b, b = r[O += 1], p = !0;
34668
- const v = O > g + 1 ? O - 2 : m - 1;
34668
+ const v = O > m + 1 ? O - 2 : g - 1;
34669
34669
  if (d[v])
34670
34670
  return r;
34671
34671
  c.push(v), d[v] = !0, u = v + l, h = void 0;
@@ -34831,18 +34831,18 @@ function Sc({ comment: r, type: e, value: t }, n, s, i) {
34831
34831
  `);
34832
34832
  p === -1 ? u = "-" : t === f || p !== f.length - 1 ? (u = "+", i && i()) : u = "", f && (t = t.slice(0, -f.length), f[f.length - 1] === `
34833
34833
  ` && (f = f.slice(0, -1)), f = f.replace(Lf, `$&${c}`));
34834
- let O = !1, m, g = -1;
34835
- for (m = 0; m < t.length; ++m) {
34836
- const P = t[m];
34834
+ let O = !1, g, m = -1;
34835
+ for (g = 0; g < t.length; ++g) {
34836
+ const P = t[g];
34837
34837
  if (P === " ")
34838
34838
  O = !0;
34839
34839
  else if (P === `
34840
34840
  `)
34841
- g = m;
34841
+ m = g;
34842
34842
  else
34843
34843
  break;
34844
34844
  }
34845
- let y = t.substring(0, g < m ? g + 1 : m);
34845
+ let y = t.substring(0, m < g ? m + 1 : g);
34846
34846
  y && (t = t.substring(y.length), y = y.replace(/\n+/g, `$&${c}`));
34847
34847
  let b = (d ? "|" : ">") + (O ? c ? "2" : "1" : "") + u;
34848
34848
  if (r && (b += " " + a(r.replace(/ ?[\r\n]+/g, " ")), s && s()), d)
@@ -34875,8 +34875,8 @@ function gW(r, e, t, n) {
34875
34875
  ${l}`);
34876
34876
  if (o) {
34877
34877
  const h = (O) => {
34878
- var m;
34879
- return O.default && O.tag !== "tag:yaml.org,2002:str" && ((m = O.test) == null ? void 0 : m.test(u));
34878
+ var g;
34879
+ return O.default && O.tag !== "tag:yaml.org,2002:str" && ((g = O.test) == null ? void 0 : g.test(u));
34880
34880
  }, { compat: f, tags: p } = e.doc.schema;
34881
34881
  if (p.some(h) || f != null && f.some(h))
34882
34882
  return Ai(i, e);
@@ -35019,26 +35019,26 @@ function bW({ key: r, value: e }, t, n, s) {
35019
35019
  implicitKey: !f && (u || !i),
35020
35020
  indent: a + l
35021
35021
  });
35022
- let p = !1, O = !1, m = ro(r, t, () => p = !0, () => O = !0);
35023
- if (!f && !t.inFlow && m.length > 1024) {
35022
+ let p = !1, O = !1, g = ro(r, t, () => p = !0, () => O = !0);
35023
+ if (!f && !t.inFlow && g.length > 1024) {
35024
35024
  if (u)
35025
35025
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
35026
35026
  f = !0;
35027
35027
  }
35028
35028
  if (t.inFlow) {
35029
35029
  if (i || e == null)
35030
- return p && n && n(), m === "" ? "?" : f ? `? ${m}` : m;
35030
+ return p && n && n(), g === "" ? "?" : f ? `? ${g}` : g;
35031
35031
  } else if (i && !u || e == null && f)
35032
- return m = `? ${m}`, h && !p ? m += Ns(m, t.indent, c(h)) : O && s && s(), m;
35033
- p && (h = null), f ? (h && (m += Ns(m, t.indent, c(h))), m = `? ${m}
35034
- ${a}:`) : (m = `${m}:`, h && (m += Ns(m, t.indent, c(h))));
35035
- let g, y, b;
35036
- it(e) ? (g = !!e.spaceBefore, y = e.commentBefore, b = e.comment) : (g = !1, y = null, b = null, e && typeof e == "object" && (e = o.createNode(e))), t.implicitKey = !1, !f && !h && Le(e) && (t.indentAtStart = m.length + 1), O = !1, !d && l.length >= 2 && !t.inFlow && !f && ko(e) && !e.flow && !e.tag && !e.anchor && (t.indent = t.indent.substring(2));
35032
+ return g = `? ${g}`, h && !p ? g += Ns(g, t.indent, c(h)) : O && s && s(), g;
35033
+ p && (h = null), f ? (h && (g += Ns(g, t.indent, c(h))), g = `? ${g}
35034
+ ${a}:`) : (g = `${g}:`, h && (g += Ns(g, t.indent, c(h))));
35035
+ let m, y, b;
35036
+ it(e) ? (m = !!e.spaceBefore, y = e.commentBefore, b = e.comment) : (m = !1, y = null, b = null, e && typeof e == "object" && (e = o.createNode(e))), t.implicitKey = !1, !f && !h && Le(e) && (t.indentAtStart = g.length + 1), O = !1, !d && l.length >= 2 && !t.inFlow && !f && ko(e) && !e.flow && !e.tag && !e.anchor && (t.indent = t.indent.substring(2));
35037
35037
  let v = !1;
35038
35038
  const P = ro(e, t, () => v = !0, () => O = !0);
35039
35039
  let S = " ";
35040
- if (h || g || y) {
35041
- if (S = g ? `
35040
+ if (h || m || y) {
35041
+ if (S = m ? `
35042
35042
  ` : "", y) {
35043
35043
  const $ = c(y);
35044
35044
  S += `
@@ -35064,7 +35064,7 @@ ${t.indent}`);
35064
35064
  } else
35065
35065
  (P === "" || P[0] === `
35066
35066
  `) && (S = "");
35067
- return m += S + P, t.inFlow ? v && n && n() : b && !v ? m += Ns(m, t.indent, c(b)) : O && s && s(), m;
35067
+ return g += S + P, t.inFlow ? v && n && n() : b && !v ? g += Ns(g, t.indent, c(b)) : O && s && s(), g;
35068
35068
  }
35069
35069
  function GS(r, e) {
35070
35070
  (r === "debug" || r === "warn") && (typeof process < "u" && process.emitWarning ? process.emitWarning(e) : console.warn(e));
@@ -35162,16 +35162,16 @@ function SW({ comment: r, items: e }, t, { blockItemPrefix: n, flowChars: s, ite
35162
35162
  const h = [];
35163
35163
  for (let p = 0; p < e.length; ++p) {
35164
35164
  const O = e[p];
35165
- let m = null;
35165
+ let g = null;
35166
35166
  if (it(O))
35167
- !u && O.spaceBefore && h.push(""), od(t, h, O.commentBefore, u), O.comment && (m = O.comment);
35167
+ !u && O.spaceBefore && h.push(""), od(t, h, O.commentBefore, u), O.comment && (g = O.comment);
35168
35168
  else if (Je(O)) {
35169
35169
  const y = it(O.key) ? O.key : null;
35170
35170
  y && (!u && y.spaceBefore && h.push(""), od(t, h, y.commentBefore, u));
35171
35171
  }
35172
35172
  u = !1;
35173
- let g = ro(O, d, () => m = null, () => u = !0);
35174
- m && (g += Ns(g, i, c(m))), u && m && (u = !1), h.push(n + g);
35173
+ let m = ro(O, d, () => g = null, () => u = !0);
35174
+ g && (m += Ns(m, i, c(g))), u && g && (u = !1), h.push(n + m);
35175
35175
  }
35176
35176
  let f;
35177
35177
  if (h.length === 0)
@@ -35200,25 +35200,25 @@ function kW({ items: r }, e, { flowChars: t, itemIndent: n }) {
35200
35200
  const u = [];
35201
35201
  for (let p = 0; p < r.length; ++p) {
35202
35202
  const O = r[p];
35203
- let m = null;
35203
+ let g = null;
35204
35204
  if (it(O))
35205
- O.spaceBefore && u.push(""), od(e, u, O.commentBefore, !1), O.comment && (m = O.comment);
35205
+ O.spaceBefore && u.push(""), od(e, u, O.commentBefore, !1), O.comment && (g = O.comment);
35206
35206
  else if (Je(O)) {
35207
35207
  const y = it(O.key) ? O.key : null;
35208
35208
  y && (y.spaceBefore && u.push(""), od(e, u, y.commentBefore, !1), y.comment && (c = !0));
35209
35209
  const b = it(O.value) ? O.value : null;
35210
- b ? (b.comment && (m = b.comment), b.commentBefore && (c = !0)) : O.value == null && y != null && y.comment && (m = y.comment);
35210
+ b ? (b.comment && (g = b.comment), b.commentBefore && (c = !0)) : O.value == null && y != null && y.comment && (g = y.comment);
35211
35211
  }
35212
- m && (c = !0);
35213
- let g = ro(O, l, () => m = null);
35214
- p < r.length - 1 && (g += ","), m && (g += Ns(g, n, a(m))), !c && (u.length > d || g.includes(`
35215
- `)) && (c = !0), u.push(g), d = u.length;
35212
+ g && (c = !0);
35213
+ let m = ro(O, l, () => g = null);
35214
+ p < r.length - 1 && (m += ","), g && (m += Ns(m, n, a(g))), !c && (u.length > d || m.includes(`
35215
+ `)) && (c = !0), u.push(m), d = u.length;
35216
35216
  }
35217
35217
  const { start: h, end: f } = t;
35218
35218
  if (u.length === 0)
35219
35219
  return h + f;
35220
35220
  if (!c) {
35221
- const p = u.reduce((O, m) => O + m.length + 2, 2);
35221
+ const p = u.reduce((O, g) => O + g.length + 2, 2);
35222
35222
  c = e.options.lineWidth > 0 && p > e.options.lineWidth;
35223
35223
  }
35224
35224
  if (c) {
@@ -36160,8 +36160,8 @@ class _o {
36160
36160
  if (typeof t == "function")
36161
36161
  e = t.call({ "": e }, "", e), s = t;
36162
36162
  else if (Array.isArray(t)) {
36163
- const m = (y) => typeof y == "number" || y instanceof String || y instanceof Number, g = t.filter(m).map(String);
36164
- g.length > 0 && (t = t.concat(g)), s = t;
36163
+ const g = (y) => typeof y == "number" || y instanceof String || y instanceof Number, m = t.filter(g).map(String);
36164
+ m.length > 0 && (t = t.concat(m)), s = t;
36165
36165
  } else
36166
36166
  n === void 0 && t && (n = t, t = void 0);
36167
36167
  const { aliasDuplicateObjects: i, anchorPrefix: o, flow: a, keepUndefined: l, onTagObj: c, tag: d } = n ?? {}, { onAnchor: u, setAnchors: h, sourceObjects: f } = uW(
@@ -36360,7 +36360,7 @@ ${c}
36360
36360
  }
36361
36361
  };
36362
36362
  function no(r, { flow: e, indicator: t, next: n, offset: s, onError: i, startOnNewline: o }) {
36363
- let a = !1, l = o, c = o, d = "", u = "", h = !1, f = !1, p = !1, O = null, m = null, g = null, y = null, b = null;
36363
+ let a = !1, l = o, c = o, d = "", u = "", h = !1, f = !1, p = !1, O = null, g = null, m = null, y = null, b = null;
36364
36364
  for (const S of r)
36365
36365
  switch (p && (S.type !== "space" && S.type !== "newline" && S.type !== "comma" && i(S.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), p = !1), S.type) {
36366
36366
  case "space":
@@ -36373,21 +36373,21 @@ function no(r, { flow: e, indicator: t, next: n, offset: s, onError: i, startOnN
36373
36373
  break;
36374
36374
  }
36375
36375
  case "newline":
36376
- l ? d ? d += S.source : a = !0 : u += S.source, l = !0, h = !0, (O || m) && (f = !0), c = !0;
36376
+ l ? d ? d += S.source : a = !0 : u += S.source, l = !0, h = !0, (O || g) && (f = !0), c = !0;
36377
36377
  break;
36378
36378
  case "anchor":
36379
36379
  O && i(S, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), S.source.endsWith(":") && i(S.offset + S.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), O = S, b === null && (b = S.offset), l = !1, c = !1, p = !0;
36380
36380
  break;
36381
36381
  case "tag": {
36382
- m && i(S, "MULTIPLE_TAGS", "A node can have at most one tag"), m = S, b === null && (b = S.offset), l = !1, c = !1, p = !0;
36382
+ g && i(S, "MULTIPLE_TAGS", "A node can have at most one tag"), g = S, b === null && (b = S.offset), l = !1, c = !1, p = !0;
36383
36383
  break;
36384
36384
  }
36385
36385
  case t:
36386
- (O || m) && i(S, "BAD_PROP_ORDER", `Anchors and tags must be after the ${S.source} indicator`), y && i(S, "UNEXPECTED_TOKEN", `Unexpected ${S.source} in ${e ?? "collection"}`), y = S, l = !1, c = !1;
36386
+ (O || g) && i(S, "BAD_PROP_ORDER", `Anchors and tags must be after the ${S.source} indicator`), y && i(S, "UNEXPECTED_TOKEN", `Unexpected ${S.source} in ${e ?? "collection"}`), y = S, l = !1, c = !1;
36387
36387
  break;
36388
36388
  case "comma":
36389
36389
  if (e) {
36390
- g && i(S, "UNEXPECTED_TOKEN", `Unexpected , in ${e}`), g = S, l = !1, c = !1;
36390
+ m && i(S, "UNEXPECTED_TOKEN", `Unexpected , in ${e}`), m = S, l = !1, c = !1;
36391
36391
  break;
36392
36392
  }
36393
36393
  default:
@@ -36395,14 +36395,14 @@ function no(r, { flow: e, indicator: t, next: n, offset: s, onError: i, startOnN
36395
36395
  }
36396
36396
  const v = r[r.length - 1], P = v ? v.offset + v.source.length : s;
36397
36397
  return p && n && n.type !== "space" && n.type !== "newline" && n.type !== "comma" && (n.type !== "scalar" || n.source !== "") && i(n.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), {
36398
- comma: g,
36398
+ comma: m,
36399
36399
  found: y,
36400
36400
  spaceBefore: a,
36401
36401
  comment: d,
36402
36402
  hasNewline: h,
36403
36403
  hasNewlineAfterProp: f,
36404
36404
  anchor: O,
36405
- tag: m,
36405
+ tag: g,
36406
36406
  end: P,
36407
36407
  start: b ?? P
36408
36408
  };
@@ -36462,23 +36462,23 @@ function MW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36462
36462
  t.atRoot && (t.atRoot = !1);
36463
36463
  let c = n.offset, d = null;
36464
36464
  for (const u of n.items) {
36465
- const { start: h, key: f, sep: p, value: O } = u, m = no(h, {
36465
+ const { start: h, key: f, sep: p, value: O } = u, g = no(h, {
36466
36466
  indicator: "explicit-key-ind",
36467
36467
  next: f ?? (p == null ? void 0 : p[0]),
36468
36468
  offset: c,
36469
36469
  onError: s,
36470
36470
  startOnNewline: !0
36471
- }), g = !m.found;
36472
- if (g) {
36473
- if (f && (f.type === "block-seq" ? s(c, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in f && f.indent !== n.indent && s(c, "BAD_INDENT", Vy)), !m.anchor && !m.tag && !p) {
36474
- d = m.end, m.comment && (l.comment ? l.comment += `
36475
- ` + m.comment : l.comment = m.comment);
36471
+ }), m = !g.found;
36472
+ if (m) {
36473
+ if (f && (f.type === "block-seq" ? s(c, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in f && f.indent !== n.indent && s(c, "BAD_INDENT", Vy)), !g.anchor && !g.tag && !p) {
36474
+ d = g.end, g.comment && (l.comment ? l.comment += `
36475
+ ` + g.comment : l.comment = g.comment);
36476
36476
  continue;
36477
36477
  }
36478
- (m.hasNewlineAfterProp || Xa(f)) && s(f ?? h[h.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
36478
+ (g.hasNewlineAfterProp || Xa(f)) && s(f ?? h[h.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
36479
36479
  } else
36480
- ((o = m.found) == null ? void 0 : o.indent) !== n.indent && s(c, "BAD_INDENT", Vy);
36481
- const y = m.end, b = f ? r(t, f, m, s) : e(t, y, h, null, m, s);
36480
+ ((o = g.found) == null ? void 0 : o.indent) !== n.indent && s(c, "BAD_INDENT", Vy);
36481
+ const y = g.end, b = f ? r(t, f, g, s) : e(t, y, h, null, g, s);
36482
36482
  t.schema.compat && Bf(n.indent, f, s), mk(t, l.items, b) && s(y, "DUPLICATE_KEY", "Map keys must be unique");
36483
36483
  const v = no(p ?? [], {
36484
36484
  indicator: "map-value-ind",
@@ -36488,13 +36488,13 @@ function MW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36488
36488
  startOnNewline: !f || f.type === "block-scalar"
36489
36489
  });
36490
36490
  if (c = v.end, v.found) {
36491
- g && ((O == null ? void 0 : O.type) === "block-map" && !v.hasNewline && s(c, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), t.options.strict && m.start < v.found.offset - 1024 && s(b.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
36491
+ m && ((O == null ? void 0 : O.type) === "block-map" && !v.hasNewline && s(c, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), t.options.strict && g.start < v.found.offset - 1024 && s(b.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
36492
36492
  const P = O ? r(t, O, v, s) : e(t, c, p, null, v, s);
36493
36493
  t.schema.compat && Bf(n.indent, O, s), c = P.range[2];
36494
36494
  const S = new At(b, P);
36495
36495
  t.options.keepSourceTokens && (S.srcToken = u), l.items.push(S);
36496
36496
  } else {
36497
- g && s(b.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), v.comment && (b.comment ? b.comment += `
36497
+ m && s(b.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), v.comment && (b.comment ? b.comment += `
36498
36498
  ` + v.comment : b.comment = v.comment);
36499
36499
  const P = new At(b);
36500
36500
  t.options.keepSourceTokens && (P.srcToken = u), l.items.push(P);
@@ -36560,8 +36560,8 @@ function XW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36560
36560
  const d = t.atRoot;
36561
36561
  d && (t.atRoot = !1);
36562
36562
  let u = n.offset + n.start.source.length;
36563
- for (let m = 0; m < n.items.length; ++m) {
36564
- const g = n.items[m], { start: y, key: b, sep: v, value: P } = g, S = no(y, {
36563
+ for (let g = 0; g < n.items.length; ++g) {
36564
+ const m = n.items[g], { start: y, key: b, sep: v, value: P } = m, S = no(y, {
36565
36565
  flow: a,
36566
36566
  indicator: "explicit-key-ind",
36567
36567
  next: b ?? (v == null ? void 0 : v[0]),
@@ -36571,7 +36571,7 @@ function XW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36571
36571
  });
36572
36572
  if (!S.found) {
36573
36573
  if (!S.anchor && !S.tag && !v && !P) {
36574
- m === 0 && S.comma ? s(S.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${a}`) : m < n.items.length - 1 && s(S.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${a}`), S.comment && (c.comment ? c.comment += `
36574
+ g === 0 && S.comma ? s(S.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${a}`) : g < n.items.length - 1 && s(S.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${a}`), S.comment && (c.comment ? c.comment += `
36575
36575
  ` + S.comment : c.comment = S.comment), u = S.end;
36576
36576
  continue;
36577
36577
  }
@@ -36582,7 +36582,7 @@ function XW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36582
36582
  "Implicit keys of flow sequence pairs need to be on a single line"
36583
36583
  );
36584
36584
  }
36585
- if (m === 0)
36585
+ if (g === 0)
36586
36586
  S.comma && s(S.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${a}`);
36587
36587
  else if (S.comma || s(S.start, "MISSING_CHAR", `Missing , between ${a} items`), S.comment) {
36588
36588
  let $ = "";
@@ -36637,7 +36637,7 @@ function XW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36637
36637
  W ? lh(P) && s(W.range, "BLOCK_IN_FLOW", ah) : R.comment && (E.comment ? E.comment += `
36638
36638
  ` + R.comment : E.comment = R.comment);
36639
36639
  const Y = new At(E, W);
36640
- if (t.options.keepSourceTokens && (Y.srcToken = g), o) {
36640
+ if (t.options.keepSourceTokens && (Y.srcToken = m), o) {
36641
36641
  const D = c;
36642
36642
  mk(t, D.items, E) && s($, "DUPLICATE_KEY", "Map keys must be unique"), D.items.push(Y);
36643
36643
  } else {
@@ -36652,13 +36652,13 @@ function XW({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
36652
36652
  if (f && f.source === h)
36653
36653
  O = f.offset + f.source.length;
36654
36654
  else {
36655
- const m = a[0].toUpperCase() + a.substring(1), g = d ? `${m} must end with a ${h}` : `${m} in block collection must be sufficiently indented and end with a ${h}`;
36656
- s(u, d ? "MISSING_CHAR" : "BAD_INDENT", g), f && f.source.length !== 1 && p.unshift(f);
36655
+ const g = a[0].toUpperCase() + a.substring(1), m = d ? `${g} must end with a ${h}` : `${g} in block collection must be sufficiently indented and end with a ${h}`;
36656
+ s(u, d ? "MISSING_CHAR" : "BAD_INDENT", m), f && f.source.length !== 1 && p.unshift(f);
36657
36657
  }
36658
36658
  if (p.length > 0) {
36659
- const m = dl(p, O, t.options.strict, s);
36660
- m.comment && (c.comment ? c.comment += `
36661
- ` + m.comment : c.comment = m.comment), c.range = [n.offset, O, m.offset];
36659
+ const g = dl(p, O, t.options.strict, s);
36660
+ g.comment && (c.comment ? c.comment += `
36661
+ ` + g.comment : c.comment = g.comment), c.range = [n.offset, O, g.offset];
36662
36662
  } else
36663
36663
  c.range = [n.offset, O, O];
36664
36664
  return c;
@@ -36690,8 +36690,8 @@ function gk(r, e, t) {
36690
36690
  const i = s.mode === ">" ? $e.BLOCK_FOLDED : $e.BLOCK_LITERAL, o = r.source ? VW(r.source) : [];
36691
36691
  let a = o.length;
36692
36692
  for (let O = o.length - 1; O >= 0; --O) {
36693
- const m = o[O][1];
36694
- if (m === "" || m === "\r")
36693
+ const g = o[O][1];
36694
+ if (g === "" || g === "\r")
36695
36695
  a = O;
36696
36696
  else
36697
36697
  break;
@@ -36699,19 +36699,19 @@ function gk(r, e, t) {
36699
36699
  if (a === 0) {
36700
36700
  const O = s.chomp === "+" && o.length > 0 ? `
36701
36701
  `.repeat(Math.max(1, o.length - 1)) : "";
36702
- let m = n + s.length;
36703
- return r.source && (m += r.source.length), { value: O, type: i, comment: s.comment, range: [n, m, m] };
36702
+ let g = n + s.length;
36703
+ return r.source && (g += r.source.length), { value: O, type: i, comment: s.comment, range: [n, g, g] };
36704
36704
  }
36705
36705
  let l = r.indent + s.indent, c = r.offset + s.length, d = 0;
36706
36706
  for (let O = 0; O < a; ++O) {
36707
- const [m, g] = o[O];
36708
- if (g === "" || g === "\r")
36709
- s.indent === 0 && m.length > l && (l = m.length);
36707
+ const [g, m] = o[O];
36708
+ if (m === "" || m === "\r")
36709
+ s.indent === 0 && g.length > l && (l = g.length);
36710
36710
  else {
36711
- m.length < l && t(c + m.length, "MISSING_CHAR", "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"), s.indent === 0 && (l = m.length), d = O;
36711
+ g.length < l && t(c + g.length, "MISSING_CHAR", "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"), s.indent === 0 && (l = g.length), d = O;
36712
36712
  break;
36713
36713
  }
36714
- c += m.length + g.length + 1;
36714
+ c += g.length + m.length + 1;
36715
36715
  }
36716
36716
  for (let O = o.length - 1; O >= a; --O)
36717
36717
  o[O][0].length > l && (a = O + 1);
@@ -36720,23 +36720,23 @@ function gk(r, e, t) {
36720
36720
  u += o[O][0].slice(l) + `
36721
36721
  `;
36722
36722
  for (let O = d; O < a; ++O) {
36723
- let [m, g] = o[O];
36724
- c += m.length + g.length + 1;
36725
- const y = g[g.length - 1] === "\r";
36726
- if (y && (g = g.slice(0, -1)), g && m.length < l) {
36723
+ let [g, m] = o[O];
36724
+ c += g.length + m.length + 1;
36725
+ const y = m[m.length - 1] === "\r";
36726
+ if (y && (m = m.slice(0, -1)), m && g.length < l) {
36727
36727
  const b = `Block scalar lines must not be less indented than their ${s.indent ? "explicit indentation indicator" : "first line"}`;
36728
- t(c - g.length - (y ? 2 : 1), "BAD_INDENT", b), m = "";
36728
+ t(c - m.length - (y ? 2 : 1), "BAD_INDENT", b), g = "";
36729
36729
  }
36730
- i === $e.BLOCK_LITERAL ? (u += h + m.slice(l) + g, h = `
36731
- `) : m.length > l || g[0] === " " ? (h === " " ? h = `
36730
+ i === $e.BLOCK_LITERAL ? (u += h + g.slice(l) + m, h = `
36731
+ `) : g.length > l || m[0] === " " ? (h === " " ? h = `
36732
36732
  ` : !f && h === `
36733
36733
  ` && (h = `
36734
36734
 
36735
- `), u += h + m.slice(l) + g, h = `
36736
- `, f = !0) : g === "" ? h === `
36735
+ `), u += h + g.slice(l) + m, h = `
36736
+ `, f = !0) : m === "" ? h === `
36737
36737
  ` ? u += `
36738
36738
  ` : h = `
36739
- ` : (u += h + g, h = " ", f = !1);
36739
+ ` : (u += h + m, h = " ", f = !1);
36740
36740
  }
36741
36741
  switch (s.chomp) {
36742
36742
  case "-":
@@ -38952,13 +38952,13 @@ function qq(r, e) {
38952
38952
  });
38953
38953
  let t = -1, n = 1, s = 0, i = !1;
38954
38954
  const o = [];
38955
- function a(g, y, b, v) {
38955
+ function a(m, y, b, v) {
38956
38956
  const P = b.offset + y.length;
38957
38957
  let S = e.ranges ? {
38958
38958
  range: [b.offset, P]
38959
38959
  } : void 0;
38960
38960
  return {
38961
- type: g,
38961
+ type: m,
38962
38962
  loc: {
38963
38963
  start: b,
38964
38964
  end: v || {
@@ -38971,10 +38971,10 @@ function qq(r, e) {
38971
38971
  };
38972
38972
  }
38973
38973
  function l() {
38974
- let g = r.charAt(++t);
38975
- return i ? (n++, s = 1, i = !1) : s++, g === "\r" ? (i = !0, r.charAt(t + 1) === `
38976
- ` && t++) : g === `
38977
- ` && (i = !0), g;
38974
+ let m = r.charAt(++t);
38975
+ return i ? (n++, s = 1, i = !1) : s++, m === "\r" ? (i = !0, r.charAt(t + 1) === `
38976
+ ` && t++) : m === `
38977
+ ` && (i = !0), m;
38978
38978
  }
38979
38979
  function c() {
38980
38980
  return {
@@ -38983,100 +38983,100 @@ function qq(r, e) {
38983
38983
  offset: t
38984
38984
  };
38985
38985
  }
38986
- function d(g) {
38987
- let y = Rq.get(g);
38986
+ function d(m) {
38987
+ let y = Rq.get(m);
38988
38988
  if (r.slice(t, t + y.length) === y)
38989
38989
  return t += y.length - 1, s += y.length - 1, { value: y, c: l() };
38990
38990
  for (let b = 1; b < y.length; b++)
38991
38991
  y[b] !== r.charAt(t + b) && p(l());
38992
38992
  }
38993
- function u(g) {
38994
- let y = g;
38995
- for (g = l(); g && g !== Hy; ) {
38996
- if (g === "\\")
38997
- if (y += g, g = l(), Gf.has(g))
38998
- y += g;
38999
- else if (g === "u") {
39000
- y += g;
38993
+ function u(m) {
38994
+ let y = m;
38995
+ for (m = l(); m && m !== Hy; ) {
38996
+ if (m === "\\")
38997
+ if (y += m, m = l(), Gf.has(m))
38998
+ y += m;
38999
+ else if (m === "u") {
39000
+ y += m;
39001
39001
  for (let b = 0; b < 4; b++)
39002
- g = l(), Mq(g) ? y += g : p(g);
39002
+ m = l(), Mq(m) ? y += m : p(m);
39003
39003
  } else
39004
- p(g);
39004
+ p(m);
39005
39005
  else
39006
- y += g;
39007
- g = l();
39006
+ y += m;
39007
+ m = l();
39008
39008
  }
39009
- return g || O(), y += g, { value: y, c: l() };
39009
+ return m || O(), y += m, { value: y, c: l() };
39010
39010
  }
39011
- function h(g) {
39011
+ function h(m) {
39012
39012
  let y = "";
39013
- if (g === "-" && (y += g, g = l(), Un(g) || p(g)), g === "0")
39014
- y += g, g = l(), Un(g) && p(g);
39013
+ if (m === "-" && (y += m, m = l(), Un(m) || p(m)), m === "0")
39014
+ y += m, m = l(), Un(m) && p(m);
39015
39015
  else {
39016
- Dq(g) || p(g);
39016
+ Dq(m) || p(m);
39017
39017
  do
39018
- y += g, g = l();
39019
- while (Un(g));
39018
+ y += m, m = l();
39019
+ while (Un(m));
39020
39020
  }
39021
- if (g === ".")
39021
+ if (m === ".")
39022
39022
  do
39023
- y += g, g = l();
39024
- while (Un(g));
39025
- if (g === "e" || g === "E")
39026
- for (y += g, g = l(), (g === "+" || g === "-") && (y += g, g = l()), g || O(), Un(g) || p(g); Un(g); )
39027
- y += g, g = l();
39028
- return { value: y, c: g };
39029
- }
39030
- function f(g) {
39031
- let y = g;
39032
- if (g = l(), g === "/") {
39023
+ y += m, m = l();
39024
+ while (Un(m));
39025
+ if (m === "e" || m === "E")
39026
+ for (y += m, m = l(), (m === "+" || m === "-") && (y += m, m = l()), m || O(), Un(m) || p(m); Un(m); )
39027
+ y += m, m = l();
39028
+ return { value: y, c: m };
39029
+ }
39030
+ function f(m) {
39031
+ let y = m;
39032
+ if (m = l(), m === "/") {
39033
39033
  do
39034
- y += g, g = l();
39035
- while (g && g !== "\r" && g !== `
39034
+ y += m, m = l();
39035
+ while (m && m !== "\r" && m !== `
39036
39036
  `);
39037
- return { value: y, c: g };
39037
+ return { value: y, c: m };
39038
39038
  }
39039
- if (g === Fy) {
39040
- for (; g; )
39041
- if (y += g, g = l(), g === Fy && (y += g, g = l(), g === Gy))
39042
- return y += g, g = l(), { value: y, c: g };
39039
+ if (m === Fy) {
39040
+ for (; m; )
39041
+ if (y += m, m = l(), m === Fy && (y += m, m = l(), m === Gy))
39042
+ return y += m, m = l(), { value: y, c: m };
39043
39043
  O();
39044
39044
  }
39045
- p(g);
39045
+ p(m);
39046
39046
  }
39047
- function p(g) {
39048
- throw new Zq(g, c());
39047
+ function p(m) {
39048
+ throw new Zq(m, c());
39049
39049
  }
39050
39050
  function O() {
39051
39051
  throw new Iq(c());
39052
39052
  }
39053
- let m = l();
39053
+ let g = l();
39054
39054
  for (; t < r.length; ) {
39055
- for (; Nq(m); )
39056
- m = l();
39057
- if (!m)
39055
+ for (; Nq(g); )
39056
+ g = l();
39057
+ if (!g)
39058
39058
  break;
39059
- const g = c();
39060
- if (fh.has(m))
39061
- o.push(a(fh.get(m), m, g)), m = l();
39062
- else if (Xq(m)) {
39063
- const y = d(m);
39059
+ const m = c();
39060
+ if (fh.has(g))
39061
+ o.push(a(fh.get(g), g, m)), g = l();
39062
+ else if (Xq(g)) {
39063
+ const y = d(g);
39064
39064
  let b = y.value;
39065
- m = y.c, o.push(a(fh.get(b), b, g));
39066
- } else if (Wq(m)) {
39067
- const y = h(m);
39065
+ g = y.c, o.push(a(fh.get(b), b, m));
39066
+ } else if (Wq(g)) {
39067
+ const y = h(g);
39068
39068
  let b = y.value;
39069
- m = y.c, o.push(a("Number", b, g));
39070
- } else if (m === Hy) {
39071
- const y = u(m);
39069
+ g = y.c, o.push(a("Number", b, m));
39070
+ } else if (g === Hy) {
39071
+ const y = u(g);
39072
39072
  let b = y.value;
39073
- m = y.c, o.push(a("String", b, g));
39074
- } else if (m === Gy && e.mode === "jsonc") {
39075
- const y = f(m);
39073
+ g = y.c, o.push(a("String", b, m));
39074
+ } else if (g === Gy && e.mode === "jsonc") {
39075
+ const y = f(g);
39076
39076
  let b = y.value;
39077
- m = y.c, o.push(a(b.startsWith("//") ? "LineComment" : "BlockComment", b, g, c()));
39077
+ g = y.c, o.push(a(b.startsWith("//") ? "LineComment" : "BlockComment", b, m, c()));
39078
39078
  } else
39079
- p(m);
39079
+ p(g);
39080
39080
  }
39081
39081
  return o;
39082
39082
  }
@@ -39415,10 +39415,10 @@ function Yq(r, e) {
39415
39415
  throw new ph(y);
39416
39416
  }
39417
39417
  }
39418
- const O = p(), m = o();
39419
- if (m)
39420
- throw new ph(m);
39421
- const g = {
39418
+ const O = p(), g = o();
39419
+ if (g)
39420
+ throw new ph(g);
39421
+ const m = {
39422
39422
  loc: {
39423
39423
  start: {
39424
39424
  line: 1,
@@ -39430,10 +39430,10 @@ function Yq(r, e) {
39430
39430
  }
39431
39431
  }
39432
39432
  };
39433
- return e.tokens && (g.tokens = t), e.ranges && (g.range = [
39434
- g.loc.start.offset,
39435
- g.loc.end.offset
39436
- ]), fn.document(O, g);
39433
+ return e.tokens && (m.tokens = t), e.ranges && (m.range = [
39434
+ m.loc.start.offset,
39435
+ m.loc.end.offset
39436
+ ]), fn.document(O, m);
39437
39437
  }
39438
39438
  const Lq = (r) => (e) => r === e, Bq = (r) => (e) => !r(e), Hq = (r) => Object.values(r), Gq = (r) => r !== void 0, ag = (r) => (e) => e.keyword === r, Fq = ag("required"), Kq = ag("anyOf"), Mk = ag("enum"), ia = (r) => r && r.errors || [], Dk = (r) => r && Hq(r.children) || [], Jq = (r) => (e) => Dk(r).filter(Bq(Lq(e))), Ky = (
39439
39439
  /* ::<T> */
@@ -40099,8 +40099,8 @@ const S7 = (r) => new Promise(async (e, t) => {
40099
40099
  p >= 0 && ((f = r.tags[p]) == null || f.operations.push(a));
40100
40100
  } else
40101
40101
  o.tags.forEach((p) => {
40102
- var g, y, b;
40103
- const O = (g = r.tags) == null ? void 0 : g.findIndex(
40102
+ var m, y, b;
40103
+ const O = (m = r.tags) == null ? void 0 : m.findIndex(
40104
40104
  // @ts-expect-error TODO: The types are just screwed, needs refactoring
40105
40105
  (v) => v.name === p
40106
40106
  );
@@ -40108,11 +40108,11 @@ const S7 = (r) => new Promise(async (e, t) => {
40108
40108
  name: p,
40109
40109
  description: ""
40110
40110
  }));
40111
- const m = O !== -1 ? O : (
40111
+ const g = O !== -1 ? O : (
40112
40112
  // @ts-expect-error TODO: The types are just screwed, needs refactoring
40113
40113
  r.tags.length - 1
40114
40114
  );
40115
- typeof ((b = r.tags[m]) == null ? void 0 : b.operations) > "u" && (r.tags[m].operations = []), r.tags[m].operations.push(a);
40115
+ typeof ((b = r.tags[g]) == null ? void 0 : b.operations) > "u" && (r.tags[g].operations = []), r.tags[g].operations.push(a);
40116
40116
  });
40117
40117
  });
40118
40118
  });
@@ -40367,7 +40367,7 @@ const Kk = ce([]), U7 = async (r) => {
40367
40367
  const e = await Jc(r), t = Gw(e);
40368
40368
  return e.filter((n) => n.depth === t);
40369
40369
  }, Jk = ie(() => {
40370
- var d, u, h, f, p, O, m, g, y, b, v, P, S;
40370
+ var d, u, h, f, p, O, g, m, y, b, v, P, S;
40371
40371
  const { state: r } = cp(), e = {}, {
40372
40372
  openApi: { globalSecurity: t }
40373
40373
  } = wd(), n = Kk.value.map(($) => ({
@@ -40395,7 +40395,7 @@ const Kk = ce([]), U7 = async (r) => {
40395
40395
  };
40396
40396
  })
40397
40397
  };
40398
- }) : (m = s == null ? void 0 : s.operations) == null ? void 0 : m.map(($) => {
40398
+ }) : (g = s == null ? void 0 : s.operations) == null ? void 0 : g.map(($) => {
40399
40399
  var W;
40400
40400
  const E = nb($, s), R = $.name ?? $.path;
40401
40401
  return e[E] = R, {
@@ -40414,7 +40414,7 @@ const Kk = ce([]), U7 = async (r) => {
40414
40414
  title: "MODELS",
40415
40415
  show: !r.showApiClient,
40416
40416
  children: Object.keys(
40417
- ((y = (g = ht.value) == null ? void 0 : g.components) == null ? void 0 : y.schemas) ?? {}
40417
+ ((y = (m = ht.value) == null ? void 0 : m.components) == null ? void 0 : y.schemas) ?? {}
40418
40418
  ).map(($) => {
40419
40419
  var R, W, Y;
40420
40420
  const E = rb($);
@@ -40618,12 +40618,12 @@ const B7 = ["id"], H7 = {
40618
40618
  !n.value || l.value || c(d);
40619
40619
  });
40620
40620
  const c = (d) => {
40621
- var f, p, O, m;
40621
+ var f, p, O, g;
40622
40622
  const u = document.getElementById(`sidebar-${d}`);
40623
40623
  if (!u || !a.value)
40624
40624
  return;
40625
40625
  let h = s9;
40626
- u.getAttribute("data-sidebar-type") === "heading" ? h += u.offsetTop + ((f = u.getElementsByClassName("sidebar-heading")) == null ? void 0 : f[0]).offsetHeight : h += u.offsetTop + (((p = u.parentElement) == null ? void 0 : p.offsetTop) ?? 0) + (((m = (O = u.parentElement) == null ? void 0 : O.parentElement) == null ? void 0 : m.offsetTop) ?? 0), a.value.scrollTo({ top: h, behavior: "smooth" });
40626
+ u.getAttribute("data-sidebar-type") === "heading" ? h += u.offsetTop + ((f = u.getElementsByClassName("sidebar-heading")) == null ? void 0 : f[0]).offsetHeight : h += u.offsetTop + (((p = u.parentElement) == null ? void 0 : p.offsetTop) ?? 0) + (((g = (O = u.parentElement) == null ? void 0 : O.parentElement) == null ? void 0 : g.offsetTop) ?? 0), a.value.scrollTo({ top: h, behavior: "smooth" });
40627
40627
  };
40628
40628
  return Cn(() => {
40629
40629
  setTimeout(() => {
@@ -42164,7 +42164,7 @@ const ml = /* @__PURE__ */ te(QV, [["render", CV], ["__scopeId", "data-v-b630668
42164
42164
  ]);
42165
42165
  };
42166
42166
  }
42167
- }), Pz = /* @__PURE__ */ te($z, [["__scopeId", "data-v-030ceccc"]]), _z = (r) => (Yt("data-v-6412eacb"), r = r(), Lt(), r), xz = {
42167
+ }), Pz = /* @__PURE__ */ te($z, [["__scopeId", "data-v-030ceccc"]]), _z = (r) => (Yt("data-v-ca3a59c4"), r = r(), Lt(), r), xz = {
42168
42168
  key: 0,
42169
42169
  class: "property-description"
42170
42170
  }, Qz = {
@@ -42212,90 +42212,92 @@ const ml = /* @__PURE__ */ te(QV, [["render", CV], ["__scopeId", "data-v-b630668
42212
42212
  byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
42213
42213
  binary: "binary data, used to describe files"
42214
42214
  }
42215
- }, t = function(i) {
42216
- return !i || !e[i.type] ? null : e[i.type][i.format || "_default"];
42217
- }, n = function(i) {
42218
- var o;
42219
- return (i == null ? void 0 : i.enum) || ((o = i == null ? void 0 : i.items) == null ? void 0 : o.enum) || null;
42220
- }, s = ["oneOf", "anyOf", "allOf", "not"];
42221
- return (i, o) => {
42222
- var a, l, c, d, u, h, f, p, O, m, g;
42215
+ }, t = function(o, a) {
42216
+ return a != null && a.properties ? null : o || (a == null ? void 0 : a.description) || null;
42217
+ }, n = function(o) {
42218
+ return !o || !e[o.type] ? null : e[o.type][o.format || "_default"];
42219
+ }, s = function(o) {
42220
+ var a;
42221
+ return (o == null ? void 0 : o.enum) || ((a = o == null ? void 0 : o.items) == null ? void 0 : a.enum) || null;
42222
+ }, i = ["oneOf", "anyOf", "allOf", "not"];
42223
+ return (o, a) => {
42224
+ var l, c, d, u, h, f, p, O, g;
42223
42225
  return k(), Q("div", {
42224
42226
  class: pe(["property", [
42225
- `property--level-${i.level}`,
42227
+ `property--level-${o.level}`,
42226
42228
  {
42227
- "property--compact": i.compact,
42228
- "property--deprecated": (a = i.value) == null ? void 0 : a.deprecated
42229
+ "property--compact": o.compact,
42230
+ "property--deprecated": (l = o.value) == null ? void 0 : l.deprecated
42229
42231
  }
42230
42232
  ]])
42231
42233
  }, [
42232
42234
  I(Pz, {
42233
- enum: !!n(i.value),
42234
- required: i.required,
42235
- value: i.value
42235
+ enum: !!s(o.value),
42236
+ required: o.required,
42237
+ value: o.value
42236
42238
  }, op({ _: 2 }, [
42237
- i.name ? {
42239
+ o.name ? {
42238
42240
  name: "name",
42239
42241
  fn: C(() => [
42240
- G(K(i.name), 1)
42242
+ G(K(o.name), 1)
42241
42243
  ]),
42242
42244
  key: "0"
42243
42245
  } : void 0
42244
42246
  ]), 1032, ["enum", "required", "value"]),
42245
- i.description || (l = i.value) != null && l.description ? (k(), Q("div", xz, [
42247
+ t(o.description, o.value) ? (k(), Q("div", xz, [
42246
42248
  I(w(Zr), {
42247
- value: i.description || ((c = i.value) == null ? void 0 : c.description)
42249
+ value: t(o.description, o.value)
42248
42250
  }, null, 8, ["value"])
42249
- ])) : t(i.value) ? (k(), Q("div", Qz, [
42251
+ ])) : n(o.value) ? (k(), Q("div", Qz, [
42250
42252
  I(w(Zr), {
42251
- value: t(i.value) || ""
42253
+ value: n(o.value) || ""
42252
42254
  }, null, 8, ["value"])
42253
42255
  ])) : B("", !0),
42254
- (d = i.value) != null && d.example || (h = (u = i.value) == null ? void 0 : u.items) != null && h.example ? (k(), Q("div", Tz, [
42256
+ (c = o.value) != null && c.example || (u = (d = o.value) == null ? void 0 : d.items) != null && u.example ? (k(), Q("div", Tz, [
42255
42257
  Cz,
42256
- A("code", Az, K(i.value.example || ((f = i.value) == null ? void 0 : f.items.example)), 1)
42258
+ A("code", Az, K(o.value.example || ((h = o.value) == null ? void 0 : h.items.example)), 1)
42257
42259
  ])) : B("", !0),
42258
- n(i.value) ? (k(), Q("div", Ez, [
42260
+ s(o.value) ? (k(), Q("div", Ez, [
42259
42261
  A("ul", Rz, [
42260
- (k(!0), Q(J, null, be(n(i.value), (y) => (k(), Q("li", {
42261
- key: y,
42262
+ (k(!0), Q(J, null, be(s(o.value), (m) => (k(), Q("li", {
42263
+ key: m,
42262
42264
  class: "property-enum-value"
42263
- }, K(y), 1))), 128))
42265
+ }, K(m), 1))), 128))
42264
42266
  ])
42265
42267
  ])) : B("", !0),
42266
- ((p = i.value) == null ? void 0 : p.type) === "object" && ((O = i.value) != null && O.properties || (m = i.value) != null && m.additionalProperties) ? (k(), Q("div", Zz, [
42268
+ ((f = o.value) == null ? void 0 : f.type) === "object" && ((p = o.value) != null && p.properties || (O = o.value) != null && O.additionalProperties) ? (k(), Q("div", Zz, [
42267
42269
  I(Xs, {
42268
- compact: i.compact,
42269
- level: i.level + 1,
42270
- value: i.value
42270
+ compact: o.compact,
42271
+ level: o.level + 1,
42272
+ value: o.value
42271
42273
  }, null, 8, ["compact", "level", "value"])
42272
42274
  ])) : B("", !0),
42273
- (g = i.value) != null && g.items ? (k(), Q(J, { key: 5 }, [
42274
- ["object"].includes(i.value.items.type) ? (k(), Q("div", Iz, [
42275
+ (g = o.value) != null && g.items ? (k(), Q(J, { key: 5 }, [
42276
+ ["object"].includes(o.value.items.type) ? (k(), Q("div", Iz, [
42275
42277
  I(Xs, {
42276
- compact: i.compact,
42277
- level: i.level + 1,
42278
- value: i.value.items
42278
+ compact: o.compact,
42279
+ level: o.level + 1,
42280
+ value: o.value.items
42279
42281
  }, null, 8, ["compact", "level", "value"])
42280
42282
  ])) : B("", !0)
42281
42283
  ], 64)) : B("", !0),
42282
- (k(), Q(J, null, be(s, (y) => {
42283
- var b, v, P;
42284
- return k(), Q(J, { key: y }, [
42285
- (b = i.value) != null && b[y] ? (k(), Q("div", jz, [
42286
- (k(!0), Q(J, null, be(i.value[y], (S, $) => (k(), q(Xs, {
42287
- key: $,
42288
- compact: i.compact,
42289
- level: i.level + 1,
42290
- value: S
42284
+ (k(), Q(J, null, be(i, (m) => {
42285
+ var y, b, v;
42286
+ return k(), Q(J, { key: m }, [
42287
+ (y = o.value) != null && y[m] ? (k(), Q("div", jz, [
42288
+ (k(!0), Q(J, null, be(o.value[m], (P, S) => (k(), q(Xs, {
42289
+ key: S,
42290
+ compact: o.compact,
42291
+ level: o.level + 1,
42292
+ value: P
42291
42293
  }, null, 8, ["compact", "level", "value"]))), 128))
42292
42294
  ])) : B("", !0),
42293
- (P = (v = i.value) == null ? void 0 : v.items) != null && P[y] && i.level < 3 ? (k(), Q("div", Nz, [
42294
- (k(!0), Q(J, null, be(i.value.items[y], (S, $) => (k(), q(Xs, {
42295
- key: $,
42296
- compact: i.compact,
42297
- level: i.level + 1,
42298
- value: S
42295
+ (v = (b = o.value) == null ? void 0 : b.items) != null && v[m] && o.level < 3 ? (k(), Q("div", Nz, [
42296
+ (k(!0), Q(J, null, be(o.value.items[m], (P, S) => (k(), q(Xs, {
42297
+ key: S,
42298
+ compact: o.compact,
42299
+ level: o.level + 1,
42300
+ value: P
42299
42301
  }, null, 8, ["compact", "level", "value"]))), 128))
42300
42302
  ])) : B("", !0)
42301
42303
  ], 64);
@@ -42303,7 +42305,7 @@ const ml = /* @__PURE__ */ te(QV, [["render", CV], ["__scopeId", "data-v-b630668
42303
42305
  ], 2);
42304
42306
  };
42305
42307
  }
42306
- }), za = /* @__PURE__ */ te(Mz, [["__scopeId", "data-v-6412eacb"]]), Dz = (r) => (Yt("data-v-8d81362f"), r = r(), Lt(), r), Xz = {
42308
+ }), za = /* @__PURE__ */ te(Mz, [["__scopeId", "data-v-ca3a59c4"]]), Dz = (r) => (Yt("data-v-68362ef2"), r = r(), Lt(), r), Xz = {
42307
42309
  key: 0,
42308
42310
  class: "schema-card-description"
42309
42311
  }, Wz = /* @__PURE__ */ Dz(() => /* @__PURE__ */ A("polygon", {
@@ -42418,7 +42420,7 @@ const ml = /* @__PURE__ */ te(QV, [["render", CV], ["__scopeId", "data-v-b630668
42418
42420
  _: 1
42419
42421
  }, 8, ["defaultOpen"])) : B("", !0);
42420
42422
  }
42421
- }), Xs = /* @__PURE__ */ te(Vz, [["__scopeId", "data-v-8d81362f"]]), zz = { class: "parameter-item" }, Uz = { class: "parameter-item-container" }, Yz = /* @__PURE__ */ H({
42423
+ }), Xs = /* @__PURE__ */ te(Vz, [["__scopeId", "data-v-68362ef2"]]), zz = { class: "parameter-item" }, Uz = { class: "parameter-item-container" }, Yz = /* @__PURE__ */ H({
42422
42424
  __name: "ParameterItem",
42423
42425
  props: {
42424
42426
  parameter: {},
@@ -42820,13 +42822,13 @@ const hU = /* @__PURE__ */ H({
42820
42822
  setup(r) {
42821
42823
  const e = r, t = ce(""), n = ce(), { copyToClipboard: s } = Qo(), { httpClient: i, setHttpClient: o, httpTargetTitle: a, httpClientTitle: l } = pg(), { availableTargets: c } = pl(), { server: d } = Nd(), { authentication: u } = hs(), h = ie(
42822
42824
  () => {
42823
- var O, m, g, y, b, v, P;
42824
- return ((y = (g = (m = (O = e.operation.information) == null ? void 0 : O.requestBody) == null ? void 0 : m.content) == null ? void 0 : g["application/json"]) == null ? void 0 : y.examples) && Object.keys(
42825
+ var O, g, m, y, b, v, P;
42826
+ return ((y = (m = (g = (O = e.operation.information) == null ? void 0 : O.requestBody) == null ? void 0 : g.content) == null ? void 0 : m["application/json"]) == null ? void 0 : y.examples) && Object.keys(
42825
42827
  (P = (v = (b = e.operation.information) == null ? void 0 : b.requestBody) == null ? void 0 : v.content) == null ? void 0 : P["application/json"].examples
42826
42828
  ).length > 1;
42827
42829
  }
42828
42830
  ), f = lb(rm), p = async () => {
42829
- var m;
42831
+ var g;
42830
42832
  const O = _b(
42831
42833
  {
42832
42834
  url: xf(d) ?? window.location.origin
@@ -42840,7 +42842,7 @@ const hU = /* @__PURE__ */ H({
42840
42842
  ),
42841
42843
  Cd(
42842
42844
  u,
42843
- ((m = e.operation.information) == null ? void 0 : m.security) ?? (f == null ? void 0 : f())
42845
+ ((g = e.operation.information) == null ? void 0 : g.security) ?? (f == null ? void 0 : f())
42844
42846
  )
42845
42847
  );
42846
42848
  try {
@@ -42857,8 +42859,8 @@ const hU = /* @__PURE__ */ H({
42857
42859
  i.targetKey,
42858
42860
  i.clientKey
42859
42861
  );
42860
- } catch (g) {
42861
- return console.error("[ExampleRequest]", g), "";
42862
+ } catch (m) {
42863
+ return console.error("[ExampleRequest]", m), "";
42862
42864
  }
42863
42865
  };
42864
42866
  return De(
@@ -42884,25 +42886,25 @@ const hU = /* @__PURE__ */ H({
42884
42886
  authenticationState: u,
42885
42887
  operation: e.operation,
42886
42888
  globalSecurity: f == null ? void 0 : f()
42887
- })), (O, m) => (k(), q(w(ni), { class: "dark-mode" }, {
42889
+ })), (O, g) => (k(), q(w(ni), { class: "dark-mode" }, {
42888
42890
  default: C(() => [
42889
42891
  I(w(si), { muted: "" }, {
42890
42892
  actions: C(() => [
42891
42893
  I(Og, {
42892
42894
  class: "request-client-picker",
42893
42895
  modelValue: JSON.stringify(w(i)),
42894
- options: w(c).map((g) => ({
42895
- value: g.key,
42896
- label: g.title,
42897
- options: g.clients.map((y) => ({
42896
+ options: w(c).map((m) => ({
42897
+ value: m.key,
42898
+ label: m.title,
42899
+ options: m.clients.map((y) => ({
42898
42900
  value: JSON.stringify({
42899
- targetKey: g.key,
42901
+ targetKey: m.key,
42900
42902
  clientKey: y.key
42901
42903
  }),
42902
42904
  label: y.title
42903
42905
  }))
42904
42906
  })),
42905
- "onUpdate:modelValue": m[0] || (m[0] = (g) => w(o)(JSON.parse(g)))
42907
+ "onUpdate:modelValue": g[0] || (g[0] = (m) => w(o)(JSON.parse(m)))
42906
42908
  }, {
42907
42909
  default: C(() => [
42908
42910
  G(K(w(a)) + " " + K(w(l)), 1)
@@ -42912,7 +42914,7 @@ const hU = /* @__PURE__ */ H({
42912
42914
  A("button", {
42913
42915
  class: "copy-button",
42914
42916
  type: "button",
42915
- onClick: m[1] || (m[1] = (g) => w(s)(t.value))
42917
+ onClick: g[1] || (g[1] = (m) => w(s)(t.value))
42916
42918
  }, [
42917
42919
  I(w(ot), {
42918
42920
  icon: "Clipboard",
@@ -42955,13 +42957,13 @@ const hU = /* @__PURE__ */ H({
42955
42957
  contrast: ""
42956
42958
  }, {
42957
42959
  default: C(() => {
42958
- var g, y, b, v;
42960
+ var m, y, b, v;
42959
42961
  return [
42960
42962
  h.value ? (k(), Q("div", mU, [
42961
42963
  I(c$, {
42962
42964
  class: "request-example-selector",
42963
- examples: ((v = (b = (y = (g = O.operation.information) == null ? void 0 : g.requestBody) == null ? void 0 : y.content) == null ? void 0 : b["application/json"]) == null ? void 0 : v.examples) ?? [],
42964
- "onUpdate:modelValue": m[2] || (m[2] = (P) => n.value = P)
42965
+ examples: ((v = (b = (y = (m = O.operation.information) == null ? void 0 : m.requestBody) == null ? void 0 : y.content) == null ? void 0 : b["application/json"]) == null ? void 0 : v.examples) ?? [],
42966
+ "onUpdate:modelValue": g[2] || (g[2] = (P) => n.value = P)
42965
42967
  }, null, 8, ["examples"])
42966
42968
  ])) : B("", !0),
42967
42969
  ee(O.$slots, "footer", {}, void 0, !0)
@@ -43008,7 +43010,7 @@ const hU = /* @__PURE__ */ H({
43008
43010
  lang: "json"
43009
43011
  }, null, 8, ["content"])) : B("", !0),
43010
43012
  (k(), Q(J, null, be(e, (h) => {
43011
- var f, p, O, m, g, y;
43013
+ var f, p, O, g, m, y;
43012
43014
  return k(), Q(J, { key: h }, [
43013
43015
  (f = n.response) != null && f.schema[h] && (((p = n.response) == null ? void 0 : p.schema[h].length) > 1 || h === "not") ? (k(), Q("div", bU, [
43014
43016
  A("div", vU, K(h), 1),
@@ -43026,7 +43028,7 @@ const hU = /* @__PURE__ */ H({
43026
43028
  }, null, 8, ["content"])
43027
43029
  ]))), 128))
43028
43030
  ])
43029
- ])) : (m = n.response) != null && m.schema[h] && ((g = n.response) == null ? void 0 : g.schema[h].length) === 1 ? (k(), q(w(mn), {
43031
+ ])) : (g = n.response) != null && g.schema[h] && ((m = n.response) == null ? void 0 : m.schema[h].length) === 1 ? (k(), q(w(mn), {
43030
43032
  key: 1,
43031
43033
  content: w(ft)((y = n.response) == null ? void 0 : y.schema[h][0], {
43032
43034
  emptyString: "…",
@@ -43076,10 +43078,10 @@ const hU = /* @__PURE__ */ H({
43076
43078
  return (p = (f = e.operation.information) == null ? void 0 : f.responses) == null ? void 0 : p[h];
43077
43079
  }), l = ie(
43078
43080
  () => {
43079
- var h, f, p, O, m, g, y, b;
43081
+ var h, f, p, O, g, m, y, b;
43080
43082
  return (
43081
43083
  // OpenAPI 3.x
43082
- ((f = (h = a.value) == null ? void 0 : h.content) == null ? void 0 : f["application/json"]) ?? ((O = (p = a.value) == null ? void 0 : p.content) == null ? void 0 : O["application/json; charset=utf-8"]) ?? ((g = (m = a.value) == null ? void 0 : m.content) == null ? void 0 : g["application/problem+json"]) ?? ((b = (y = a.value) == null ? void 0 : y.content) == null ? void 0 : b["application/vnd.api+json"]) ?? // Swagger 2.0
43084
+ ((f = (h = a.value) == null ? void 0 : h.content) == null ? void 0 : f["application/json"]) ?? ((O = (p = a.value) == null ? void 0 : p.content) == null ? void 0 : O["application/json; charset=utf-8"]) ?? ((m = (g = a.value) == null ? void 0 : g.content) == null ? void 0 : m["application/problem+json"]) ?? ((b = (y = a.value) == null ? void 0 : y.content) == null ? void 0 : b["application/vnd.api+json"]) ?? // Swagger 2.0
43083
43085
  a.value
43084
43086
  );
43085
43087
  }
@@ -43099,15 +43101,15 @@ const hU = /* @__PURE__ */ H({
43099
43101
  onChange: d
43100
43102
  }, {
43101
43103
  actions: C(() => {
43102
- var O, m;
43104
+ var O, g;
43103
43105
  return [
43104
43106
  (O = l.value) != null && O.example ? (k(), Q("button", {
43105
43107
  key: 0,
43106
43108
  class: "code-copy",
43107
43109
  type: "button",
43108
43110
  onClick: f[0] || (f[0] = () => {
43109
- var g;
43110
- return w(t)((g = l.value) == null ? void 0 : g.example);
43111
+ var m;
43112
+ return w(t)((m = l.value) == null ? void 0 : m.example);
43111
43113
  })
43112
43114
  }, [
43113
43115
  I(w(ot), {
@@ -43116,10 +43118,10 @@ const hU = /* @__PURE__ */ H({
43116
43118
  x: "asd"
43117
43119
  })
43118
43120
  ])) : B("", !0),
43119
- (m = l.value) != null && m.schema ? (k(), Q("label", PU, [
43121
+ (g = l.value) != null && g.schema ? (k(), Q("label", PU, [
43120
43122
  G(" Show Schema "),
43121
43123
  ct(A("input", {
43122
- "onUpdate:modelValue": f[1] || (f[1] = (g) => u.value = g),
43124
+ "onUpdate:modelValue": f[1] || (f[1] = (m) => u.value = m),
43123
43125
  class: "scalar-card-checkbox-input",
43124
43126
  type: "checkbox"
43125
43127
  }, null, 512), [
@@ -43168,14 +43170,14 @@ const hU = /* @__PURE__ */ H({
43168
43170
  muted: ""
43169
43171
  }, {
43170
43172
  default: C(() => {
43171
- var O, m;
43173
+ var O, g;
43172
43174
  return [
43173
43175
  i.value ? (k(), q(c$, {
43174
43176
  key: 0,
43175
43177
  class: "response-example-selector",
43176
43178
  examples: (O = l.value) == null ? void 0 : O.examples,
43177
- "onUpdate:modelValue": f[2] || (f[2] = (g) => n.value = g)
43178
- }, null, 8, ["examples"])) : (m = a.value) != null && m.description ? (k(), Q("div", QU, [
43179
+ "onUpdate:modelValue": f[2] || (f[2] = (m) => n.value = m)
43180
+ }, null, 8, ["examples"])) : (g = a.value) != null && g.description ? (k(), Q("div", QU, [
43179
43181
  I(w(Zr), {
43180
43182
  class: "markdown",
43181
43183
  value: a.value.description
@@ -43667,18 +43669,18 @@ const hU = /* @__PURE__ */ H({
43667
43669
  return (h = e.parsedSpec.tags) == null ? void 0 : h.length;
43668
43670
  },
43669
43671
  (h) => {
43670
- var p, O, m;
43672
+ var p, O, g;
43671
43673
  if (!c.value || typeof h != "number" || !e.parsedSpec.tags)
43672
43674
  return;
43673
43675
  const f = a();
43674
43676
  if (f.startsWith("tag")) {
43675
- let g = 0;
43677
+ let m = 0;
43676
43678
  const y = ((p = e.parsedSpec.tags) == null ? void 0 : p.findIndex(
43677
43679
  (P) => l(P) === f
43678
43680
  )) ?? 0, b = c.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
43679
43681
  if ((b == null ? void 0 : b.length) === 4) {
43680
43682
  const P = b[2], S = "/" + b[3];
43681
- g = (O = e.parsedSpec.tags[y]) == null ? void 0 : O.operations.findIndex(
43683
+ m = (O = e.parsedSpec.tags[y]) == null ? void 0 : O.operations.findIndex(
43682
43684
  ({ httpVerb: $, path: E }) => P === $ && S === E
43683
43685
  );
43684
43686
  }
@@ -43688,15 +43690,15 @@ const hU = /* @__PURE__ */ H({
43688
43690
  v.name !== "default" && (t.value = f !== c.value && f.startsWith("tag")), s.value.push({
43689
43691
  ...v,
43690
43692
  lazyOperations: v.operations.slice(
43691
- g,
43692
- g + 2
43693
+ m,
43694
+ m + 2
43693
43695
  )
43694
43696
  });
43695
43697
  } else {
43696
- const g = Object.keys(((m = e.parsedSpec.components) == null ? void 0 : m.schemas) ?? {}), [, y] = c.value.toLowerCase().split("/"), b = c.value === "models" ? 0 : g.findIndex((v) => v.toLowerCase() === y);
43698
+ const m = Object.keys(((g = e.parsedSpec.components) == null ? void 0 : g.schemas) ?? {}), [, y] = c.value.toLowerCase().split("/"), b = c.value === "models" ? 0 : m.findIndex((v) => v.toLowerCase() === y);
43697
43699
  if (b === -1)
43698
43700
  return;
43699
- i.value = g.slice(b, b + 3);
43701
+ i.value = m.slice(b, b + 3);
43700
43702
  }
43701
43703
  },
43702
43704
  { immediate: !0 }
@@ -43741,11 +43743,11 @@ const hU = /* @__PURE__ */ H({
43741
43743
  label: p
43742
43744
  }, {
43743
43745
  default: C(() => {
43744
- var O, m;
43746
+ var O, g;
43745
43747
  return [
43746
- (m = (O = h.parsedSpec.components) == null ? void 0 : O.schemas) != null && m[p] ? (k(), q(w(Co), { key: 0 }, {
43748
+ (g = (O = h.parsedSpec.components) == null ? void 0 : O.schemas) != null && g[p] ? (k(), q(w(Co), { key: 0 }, {
43747
43749
  default: C(() => {
43748
- var g, y;
43750
+ var m, y;
43749
43751
  return [
43750
43752
  I(w(ps), { level: 2 }, {
43751
43753
  default: C(() => [
@@ -43766,7 +43768,7 @@ const hU = /* @__PURE__ */ H({
43766
43768
  I(w(Xs), {
43767
43769
  name: p,
43768
43770
  noncollapsible: "",
43769
- value: (y = (g = h.parsedSpec.components) == null ? void 0 : g.schemas) == null ? void 0 : y[p]
43771
+ value: (y = (m = h.parsedSpec.components) == null ? void 0 : m.schemas) == null ? void 0 : y[p]
43770
43772
  }, null, 8, ["name", "value"])
43771
43773
  ];
43772
43774
  }),
@@ -45403,12 +45405,12 @@ const hU = /* @__PURE__ */ H({
45403
45405
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
45404
45406
  setup(r) {
45405
45407
  const e = r, { initializeToasts: t } = Hk();
45406
- t((g) => {
45407
- mP(g);
45408
+ t((m) => {
45409
+ mP(m);
45408
45410
  });
45409
45411
  const n = gd("(min-width: 1150px)"), s = ce("100dvh"), i = ce(null);
45410
- nP(i, (g) => {
45411
- s.value = g[0].contentRect.height + "px";
45412
+ nP(i, (m) => {
45413
+ s.value = m[0].contentRect.height + "px";
45412
45414
  });
45413
45415
  const {
45414
45416
  breadcrumb: o,
@@ -45422,40 +45424,40 @@ const hU = /* @__PURE__ */ H({
45422
45424
  top: 0,
45423
45425
  left: 0
45424
45426
  });
45425
- const g = (v = e.parsedSpec.tags) == null ? void 0 : v[0];
45427
+ const m = (v = e.parsedSpec.tags) == null ? void 0 : v[0];
45426
45428
  let y = null;
45427
- f.value ? y = u(f.value) : g && (y = h(g)), y && c(y, !0), Lk.on(() => _7(e.rawSpec));
45429
+ f.value ? y = u(f.value) : m && (y = h(m)), y && c(y, !0), Lk.on(() => _7(e.rawSpec));
45428
45430
  });
45429
45431
  const p = ie(
45430
45432
  () => n.value || !e.configuration.isEditable
45431
- ), O = sP((g) => {
45432
- (g.target.scrollTop ?? 0) < 50 && (window.history.replaceState(
45433
+ ), O = sP((m) => {
45434
+ (m.target.scrollTop ?? 0) < 50 && (window.history.replaceState(
45433
45435
  {},
45434
45436
  "",
45435
45437
  window.location.pathname + window.location.search
45436
45438
  ), f.value = "");
45437
- }), m = ie(() => ({
45439
+ }), g = ie(() => ({
45438
45440
  breadcrumb: o.value,
45439
45441
  spec: e.parsedSpec
45440
45442
  }));
45441
45443
  return ei(() => {
45442
45444
  var b;
45443
- const g = (b = e.parsedSpec.tags) == null ? void 0 : b[0];
45444
- g && c(h(g), !0);
45445
+ const m = (b = e.parsedSpec.tags) == null ? void 0 : b[0];
45446
+ m && c(h(m), !0);
45445
45447
  const y = ip();
45446
45448
  y && (y.scalarState || (y.scalarState = $h()), y.scalarState["useSidebarContent-collapsedSidebarItems"] = a);
45447
45449
  }), J$(() => {
45448
45450
  var v;
45449
- const g = W$(), y = "scalar-instance-id";
45450
- if (!g)
45451
+ const m = W$(), y = "scalar-instance-id";
45452
+ if (!m)
45451
45453
  return y;
45452
- let b = g.uid;
45453
- return typeof window > "u" ? (g.attrs || (g.attrs = {}), g.attrs[y] = b) : (v = g.vnode.el) != null && v.getAttribute && (b = g.vnode.el.getAttribute(y)), `${y}-${b}`;
45454
- }), q$(rm, () => e.parsedSpec.security), (g, y) => {
45454
+ let b = m.uid;
45455
+ return typeof window > "u" ? (m.attrs || (m.attrs = {}), m.attrs[y] = b) : (v = m.vnode.el) != null && v.getAttribute && (b = m.vnode.el.getAttribute(y)), `${y}-${b}`;
45456
+ }), q$(rm, () => e.parsedSpec.security), (m, y) => {
45455
45457
  var b;
45456
45458
  return k(), Q(J, null, [
45457
45459
  I(w(pb), {
45458
- id: (b = g.configuration) == null ? void 0 : b.theme
45460
+ id: (b = m.configuration) == null ? void 0 : b.theme
45459
45461
  }, null, 8, ["id"]),
45460
45462
  I(w(gb), null, {
45461
45463
  default: C(({ styles: v }) => [
@@ -45468,30 +45470,30 @@ const hU = /* @__PURE__ */ H({
45468
45470
  ref: i,
45469
45471
  class: pe(["scalar-api-reference references-layout", [
45470
45472
  {
45471
- "references-editable": g.configuration.isEditable,
45472
- "references-sidebar": g.configuration.showSidebar,
45473
+ "references-editable": m.configuration.isEditable,
45474
+ "references-sidebar": m.configuration.showSidebar,
45473
45475
  "references-sidebar-mobile-open": w(l),
45474
- "references-classic": g.configuration.layout === "classic"
45476
+ "references-classic": m.configuration.layout === "classic"
45475
45477
  },
45476
45478
  v,
45477
45479
  P,
45478
- g.$attrs.class
45480
+ m.$attrs.class
45479
45481
  ]]),
45480
45482
  style: oo({ "--full-height": s.value }),
45481
45483
  onScrollPassive: y[4] || (y[4] = //@ts-ignore
45482
45484
  (...E) => w(O) && w(O)(...E))
45483
45485
  }, [
45484
45486
  A("div", CY, [
45485
- ee(g.$slots, "header", Sr(kr(m.value)), void 0, !0)
45487
+ ee(m.$slots, "header", Sr(kr(g.value)), void 0, !0)
45486
45488
  ]),
45487
- g.configuration.showSidebar ? (k(), Q("aside", AY, [
45489
+ m.configuration.showSidebar ? (k(), Q("aside", AY, [
45488
45490
  A("div", EY, [
45489
- I(w(Jf), { parsedSpec: g.parsedSpec }, {
45491
+ I(w(Jf), { parsedSpec: m.parsedSpec }, {
45490
45492
  "sidebar-start": C(() => [
45491
- ee(g.$slots, "sidebar-start", Sr(kr(m.value)), void 0, !0)
45493
+ ee(m.$slots, "sidebar-start", Sr(kr(g.value)), void 0, !0)
45492
45494
  ]),
45493
45495
  "sidebar-end": C(() => [
45494
- ee(g.$slots, "sidebar-end", Sr(kr(m.value)), void 0, !0)
45496
+ ee(m.$slots, "sidebar-end", Sr(kr(g.value)), void 0, !0)
45495
45497
  ]),
45496
45498
  _: 3
45497
45499
  }, 8, ["parsedSpec"])
@@ -45499,36 +45501,36 @@ const hU = /* @__PURE__ */ H({
45499
45501
  ])) : B("", !0),
45500
45502
  ct(A("div", RY, [
45501
45503
  A("div", ZY, [
45502
- ee(g.$slots, "editor", Sr(kr(m.value)), void 0, !0)
45504
+ ee(m.$slots, "editor", Sr(kr(g.value)), void 0, !0)
45503
45505
  ])
45504
45506
  ], 512), [
45505
- [Fr, g.configuration.isEditable]
45507
+ [Fr, m.configuration.isEditable]
45506
45508
  ]),
45507
45509
  p.value ? (k(), Q(J, { key: 1 }, [
45508
45510
  A("div", IY, [
45509
45511
  I(w(pY), {
45510
- layout: g.configuration.layout === "classic" ? "accordion" : "default",
45511
- parsedSpec: g.parsedSpec
45512
+ layout: m.configuration.layout === "classic" ? "accordion" : "default",
45513
+ parsedSpec: m.parsedSpec
45512
45514
  }, op({
45513
45515
  start: C(() => [
45514
- ee(g.$slots, "content-start", Sr(kr(m.value)), void 0, !0)
45516
+ ee(m.$slots, "content-start", Sr(kr(g.value)), void 0, !0)
45515
45517
  ]),
45516
45518
  end: C(() => [
45517
- ee(g.$slots, "content-end", Sr(kr(m.value)), void 0, !0)
45519
+ ee(m.$slots, "content-end", Sr(kr(g.value)), void 0, !0)
45518
45520
  ]),
45519
45521
  _: 2
45520
45522
  }, [
45521
- (S = g.configuration) != null && S.isEditable ? {
45523
+ (S = m.configuration) != null && S.isEditable ? {
45522
45524
  name: "empty-state",
45523
45525
  fn: C(() => {
45524
45526
  var E;
45525
45527
  return [
45526
45528
  I(TY, {
45527
- theme: ((E = g.configuration) == null ? void 0 : E.theme) || "default",
45528
- onChangeTheme: y[0] || (y[0] = (R) => g.$emit("changeTheme", R)),
45529
- onLinkSwaggerFile: y[1] || (y[1] = (R) => g.$emit("linkSwaggerFile")),
45530
- onLoadSwaggerFile: y[2] || (y[2] = (R) => g.$emit("loadSwaggerFile")),
45531
- onUpdateContent: y[3] || (y[3] = (R) => g.$emit("updateContent", R))
45529
+ theme: ((E = m.configuration) == null ? void 0 : E.theme) || "default",
45530
+ onChangeTheme: y[0] || (y[0] = (R) => m.$emit("changeTheme", R)),
45531
+ onLinkSwaggerFile: y[1] || (y[1] = (R) => m.$emit("linkSwaggerFile")),
45532
+ onLoadSwaggerFile: y[2] || (y[2] = (R) => m.$emit("loadSwaggerFile")),
45533
+ onUpdateContent: y[3] || (y[3] = (R) => m.$emit("updateContent", R))
45532
45534
  }, null, 8, ["theme"])
45533
45535
  ];
45534
45536
  }),
@@ -45536,19 +45538,19 @@ const hU = /* @__PURE__ */ H({
45536
45538
  } : void 0
45537
45539
  ]), 1032, ["layout", "parsedSpec"])
45538
45540
  ]),
45539
- g.$slots.footer ? (k(), Q("div", jY, [
45540
- ee(g.$slots, "footer", Sr(kr(m.value)), void 0, !0)
45541
+ m.$slots.footer ? (k(), Q("div", jY, [
45542
+ ee(m.$slots, "footer", Sr(kr(g.value)), void 0, !0)
45541
45543
  ])) : B("", !0)
45542
45544
  ], 64)) : B("", !0),
45543
45545
  I(h9, {
45544
- parsedSpec: g.parsedSpec,
45545
- proxyUrl: ($ = g.configuration) == null ? void 0 : $.proxy
45546
+ parsedSpec: m.parsedSpec,
45547
+ proxyUrl: ($ = m.configuration) == null ? void 0 : $.proxy
45546
45548
  }, {
45547
45549
  "sidebar-start": C(() => [
45548
- ee(g.$slots, "sidebar-start", Sr(kr(m.value)), void 0, !0)
45550
+ ee(m.$slots, "sidebar-start", Sr(kr(g.value)), void 0, !0)
45549
45551
  ]),
45550
45552
  "sidebar-end": C(() => [
45551
- ee(g.$slots, "sidebar-end", Sr(kr(m.value)), void 0, !0)
45553
+ ee(m.$slots, "sidebar-end", Sr(kr(g.value)), void 0, !0)
45552
45554
  ]),
45553
45555
  _: 3
45554
45556
  }, 8, ["parsedSpec", "proxyUrl"])
@@ -45680,8 +45682,8 @@ const r6 = (r) => (Yt("data-v-d95fdf00"), r = r(), Lt(), r), n6 = {
45680
45682
  }), d = () => {
45681
45683
  o.value = 0, i.value = c.search(a.value);
45682
45684
  }, u = ie(
45683
- () => g.value[o.value]
45684
- ), { getHeadingId: h, getWebhookId: f, getModelId: p, getOperationId: O, getTagId: m } = Dt();
45685
+ () => m.value[o.value]
45686
+ ), { getHeadingId: h, getWebhookId: f, getModelId: p, getOperationId: O, getTagId: g } = Dt();
45685
45687
  De(
45686
45688
  () => e.modalState.open,
45687
45689
  (P) => {
@@ -45710,7 +45712,7 @@ const r6 = (r) => (Yt("data-v-d95fdf00"), r = r(), Lt(), r), n6 = {
45710
45712
  }), s.value = s.value.concat(P)), (ke = e.parsedSpec.tags) == null || ke.forEach((Oe) => {
45711
45713
  const xe = {
45712
45714
  title: Oe.name,
45713
- href: `#${m(Oe)}`,
45715
+ href: `#${g(Oe)}`,
45714
45716
  description: Oe.description,
45715
45717
  type: "req",
45716
45718
  tag: Oe.name,
@@ -45768,18 +45770,18 @@ const r6 = (r) => (Yt("data-v-d95fdf00"), r = r(), Lt(), r), n6 = {
45768
45770
  e.modalState.open && window && (v(u.value), window.location.hash = u.value.item.href, e.modalState.hide());
45769
45771
  }), Ei(n.ArrowDown, () => {
45770
45772
  var P;
45771
- e.modalState.open && window && (o.value < g.value.length - 1 ? o.value++ : o.value = 0, (P = document.getElementById(u.value.item.href)) == null || P.scrollIntoView({
45773
+ e.modalState.open && window && (o.value < m.value.length - 1 ? o.value++ : o.value = 0, (P = document.getElementById(u.value.item.href)) == null || P.scrollIntoView({
45772
45774
  behavior: "smooth",
45773
45775
  block: "center"
45774
45776
  }));
45775
45777
  }), Ei(n.ArrowUp, () => {
45776
45778
  var P;
45777
- e.modalState.open && window && (o.value > 0 ? o.value-- : o.value = g.value.length - 1, (P = document.getElementById(u.value.item.href)) == null || P.scrollIntoView({
45779
+ e.modalState.open && window && (o.value > 0 ? o.value-- : o.value = m.value.length - 1, (P = document.getElementById(u.value.item.href)) == null || P.scrollIntoView({
45778
45780
  behavior: "smooth",
45779
45781
  block: "center"
45780
45782
  }));
45781
45783
  });
45782
- const g = ie(
45784
+ const m = ie(
45783
45785
  () => a.value.length === 0 ? s.value.map((P) => ({
45784
45786
  item: P
45785
45787
  })) : i.value
@@ -45812,8 +45814,8 @@ const r6 = (r) => (Yt("data-v-d95fdf00"), r = r(), Lt(), r), n6 = {
45812
45814
  [$s, a.value]
45813
45815
  ])
45814
45816
  ], 512),
45815
- g.value.length ? (k(), Q("div", n6, [
45816
- (k(!0), Q(J, null, be(g.value, ($, E) => (k(), Q("a", {
45817
+ m.value.length ? (k(), Q("div", n6, [
45818
+ (k(!0), Q(J, null, be(m.value, ($, E) => (k(), Q("a", {
45817
45819
  id: $.item.href,
45818
45820
  key: $.refIndex,
45819
45821
  class: pe(["item-entry", {
@@ -46058,7 +46060,7 @@ const r6 = (r) => (Yt("data-v-d95fdf00"), r = r(), Lt(), r), n6 = {
46058
46060
  parsedSpec: w(l),
46059
46061
  rawSpec: w(c),
46060
46062
  onToggleDarkMode: f[0] || (f[0] = () => w(t)()),
46061
- onUpdateContent: f[1] || (f[1] = (m) => h.$emit("updateContent", m))
46063
+ onUpdateContent: f[1] || (f[1] = (g) => h.$emit("updateContent", g))
46062
46064
  }, {
46063
46065
  footer: C(() => [
46064
46066
  ee(h.$slots, "footer")