@scalar/api-reference 1.22.31 → 1.22.33

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.
@@ -3,8 +3,8 @@ var vr = (t, e, a) => e in t ? yr(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var ca = (t, e, a) => (vr(t, typeof e != "symbol" ? e + "" : e, a), a);
4
4
  import { ref as F, watch as Se, onBeforeUnmount as wr, toValue as q, computed as x, defineComponent as w, toRef as ce, openBlock as Q, createElementBlock as P, normalizeClass as J, unref as m, createElementVNode as u, toDisplayString as X, createTextVNode as U, Fragment as j, renderList as fe, createBlock as v, createStaticVNode as Nt, createCommentVNode as M, createVNode as Z, withCtx as b, pushScopeId as ut, popScopeId as ht, renderSlot as E, withDirectives as pe, vModelText as Me, vModelCheckbox as kr, vShow as sO, normalizeStyle as Tr, toRaw as Xr, withKeys as xr } from "vue";
5
5
  import { Disclosure as _r, DisclosureButton as Wr, DisclosurePanel as Yr, TabGroup as Rr, TabList as qr, Tab as da, TabPanels as Cr, TabPanel as pa } from "@headlessui/vue";
6
- import { E as N, c as oe, a as L, b as C, C as Wt, s as Oe, P as iO, k as et, F as oO, d as Ur, S as Mt, e as jr, g as nO, V as zr, l as Yt, f as re, M as Rt, R as Vr, h as Gr, i as lO, D as Ar, A as Er, T as Hr, j as Br, m as cO, n as ft, W as Ir, o as Dr, p as Nr, q as Mr, r as Lr, N as Fr, t as Jr, u as Kr, v as Lt, w as Le, I as Ft, x as Ue, y as p, L as je, z as ze, B as Ve, G as $e, H as Ge, J as mt, K as dO, O as es, Q as ts, U as qt, X as pO, Y as as, Z as Os, _ as rs, $ as ss, a0 as is, a1 as os, a2 as ns, a3 as ls, a4 as cs, a5 as ds, a6 as R, a7 as ps, a8 as uO, a9 as Ct, aa as Jt, ab as hO, ac as K, ad as us, ae as hs, af as fs, ag as fO, ah as ms, ai as Qs, aj as gs, ak as ua, al as Ss, am as Ps, an as $s, ao as bs } from "./index-B9rrkLvw.js";
7
- import { av as fp, aw as mp, ap as Qp, aq as gp, ar as Sp, as as Pp, at as $p, az as bp, ay as Zp, au as yp, ax as vp } from "./index-B9rrkLvw.js";
6
+ import { E as N, c as ie, a as L, b as C, C as Wt, s as Oe, P as oO, k as et, F as iO, d as Ur, S as Mt, e as jr, g as nO, V as zr, l as Yt, f as re, M as Rt, R as Vr, h as Gr, i as lO, D as Ar, A as Er, T as Hr, j as Br, m as cO, n as ft, W as Ir, o as Dr, p as Nr, q as Mr, r as Lr, N as Fr, t as Jr, u as Kr, v as Lt, w as Le, I as Ft, x as Ue, y as p, L as je, z as ze, B as Ve, G as $e, H as Ge, J as mt, K as dO, O as es, Q as ts, U as qt, X as pO, Y as as, Z as Os, _ as rs, $ as ss, a0 as os, a1 as is, a2 as ns, a3 as ls, a4 as cs, a5 as ds, a6 as R, a7 as ps, a8 as uO, a9 as Ct, aa as Jt, ab as hO, ac as K, ad as us, ae as hs, af as fs, ag as fO, ah as ms, ai as Qs, aj as gs, ak as ua, al as Ss, am as Ps, an as $s, ao as bs } from "./index-C2FyGBjr.js";
7
+ import { av as Qp, aw as gp, ap as Sp, aq as Pp, ar as $p, as as bp, at as Zp, az as yp, ay as vp, au as wp, ax as kp } from "./index-C2FyGBjr.js";
8
8
  import { useMagicKeys as mO, whenever as Ut, useMediaQuery as Zs } from "@vueuse/core";
9
9
  import ys from "axios";
10
10
  const vs = [
@@ -811,8 +811,8 @@ class QO {
811
811
  cursor.
812
812
  */
813
813
  matchBefore(e) {
814
- let a = this.state.doc.lineAt(this.pos), O = Math.max(a.from, this.pos - 250), r = a.text.slice(O - a.from, this.pos - a.from), i = r.search(SO(e, !1));
815
- return i < 0 ? null : { from: O + i, to: this.pos, text: r.slice(i) };
814
+ let a = this.state.doc.lineAt(this.pos), O = Math.max(a.from, this.pos - 250), r = a.text.slice(O - a.from, this.pos - a.from), o = r.search(SO(e, !1));
815
+ return o < 0 ? null : { from: O + o, to: this.pos, text: r.slice(o) };
816
816
  }
817
817
  /**
818
818
  Yields true when the query has been aborted. Can be useful in
@@ -838,8 +838,8 @@ function ks(t) {
838
838
  let e = /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
839
839
  for (let { label: r } of t) {
840
840
  e[r[0]] = !0;
841
- for (let i = 1; i < r.length; i++)
842
- a[r[i]] = !0;
841
+ for (let o = 1; o < r.length; o++)
842
+ a[r[o]] = !0;
843
843
  }
844
844
  let O = ha(e) + ha(a) + "*$";
845
845
  return [new RegExp("^" + O), new RegExp(O)];
@@ -847,8 +847,8 @@ function ks(t) {
847
847
  function gO(t) {
848
848
  let e = t.map((r) => typeof r == "string" ? { label: r } : r), [a, O] = e.every((r) => /^\w+$/.test(r.label)) ? [/\w*$/, /\w+$/] : ks(e);
849
849
  return (r) => {
850
- let i = r.matchBefore(O);
851
- return i || r.explicit ? { from: i ? i.from : r.pos, options: e, validFor: a } : null;
850
+ let o = r.matchBefore(O);
851
+ return o || r.explicit ? { from: o ? o.from : r.pos, options: e, validFor: a } : null;
852
852
  };
853
853
  }
854
854
  function Ts(t, e) {
@@ -872,15 +872,15 @@ function ne(t) {
872
872
  }
873
873
  function SO(t, e) {
874
874
  var a;
875
- let { source: O } = t, r = e && O[0] != "^", i = O[O.length - 1] != "$";
876
- return !r && !i ? t : new RegExp(`${r ? "^" : ""}(?:${O})${i ? "$" : ""}`, (a = t.flags) !== null && a !== void 0 ? a : t.ignoreCase ? "i" : "");
875
+ let { source: O } = t, r = e && O[0] != "^", o = O[O.length - 1] != "$";
876
+ return !r && !o ? t : new RegExp(`${r ? "^" : ""}(?:${O})${o ? "$" : ""}`, (a = t.flags) !== null && a !== void 0 ? a : t.ignoreCase ? "i" : "");
877
877
  }
878
878
  const PO = /* @__PURE__ */ Er.define();
879
879
  function Xs(t, e, a, O) {
880
- let { main: r } = t.selection, i = a - r.from, s = O - r.from;
881
- return Object.assign(Object.assign({}, t.changeByRange((o) => o != r && a != O && t.sliceDoc(o.from + i, o.from + s) != t.sliceDoc(a, O) ? { range: o } : {
882
- changes: { from: o.from + i, to: O == r.from ? o.to : o.from + s, insert: e },
883
- range: C.cursor(o.from + i + e.length)
880
+ let { main: r } = t.selection, o = a - r.from, s = O - r.from;
881
+ return Object.assign(Object.assign({}, t.changeByRange((i) => i != r && a != O && t.sliceDoc(i.from + o, i.from + s) != t.sliceDoc(a, O) ? { range: i } : {
882
+ changes: { from: i.from + o, to: O == r.from ? i.to : i.from + s, insert: e },
883
+ range: C.cursor(i.from + o + e.length)
884
884
  })), { scrollIntoView: !0, userEvent: "input.complete" });
885
885
  }
886
886
  const ma = /* @__PURE__ */ new WeakMap();
@@ -895,10 +895,10 @@ class _s {
895
895
  constructor(e) {
896
896
  this.pattern = e, this.chars = [], this.folded = [], this.any = [], this.precise = [], this.byWord = [], this.score = 0, this.matched = [];
897
897
  for (let a = 0; a < e.length; ) {
898
- let O = L(e, a), r = oe(O);
898
+ let O = L(e, a), r = ie(O);
899
899
  this.chars.push(O);
900
- let i = e.slice(a, a + r), s = i.toUpperCase();
901
- this.folded.push(L(s == i ? i.toLowerCase() : s, 0)), a += r;
900
+ let o = e.slice(a, a + r), s = o.toUpperCase();
901
+ this.folded.push(L(s == o ? o.toLowerCase() : s, 0)), a += r;
902
902
  }
903
903
  this.astral = e.length != this.chars.length;
904
904
  }
@@ -917,9 +917,9 @@ class _s {
917
917
  return this.ret(-100, []);
918
918
  if (e.length < this.pattern.length)
919
919
  return !1;
920
- let { chars: a, folded: O, any: r, precise: i, byWord: s } = this;
920
+ let { chars: a, folded: O, any: r, precise: o, byWord: s } = this;
921
921
  if (a.length == 1) {
922
- let $ = L(e, 0), k = oe($), H = k == e.length ? 0 : -100;
922
+ let $ = L(e, 0), k = ie($), H = k == e.length ? 0 : -100;
923
923
  if ($ != a[0])
924
924
  if ($ == O[0])
925
925
  H += -200;
@@ -927,14 +927,14 @@ class _s {
927
927
  return !1;
928
928
  return this.ret(H, [0, k]);
929
929
  }
930
- let o = e.indexOf(this.pattern);
931
- if (o == 0)
930
+ let i = e.indexOf(this.pattern);
931
+ if (i == 0)
932
932
  return this.ret(e.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
933
933
  let n = a.length, l = 0;
934
- if (o < 0) {
934
+ if (i < 0) {
935
935
  for (let $ = 0, k = Math.min(e.length, 200); $ < k && l < n; ) {
936
936
  let H = L(e, $);
937
- (H == a[l] || H == O[l]) && (r[l++] = $), $ += oe(H);
937
+ (H == a[l] || H == O[l]) && (r[l++] = $), $ += ie(H);
938
938
  }
939
939
  if (l < n)
940
940
  return !1;
@@ -942,22 +942,22 @@ class _s {
942
942
  let c = 0, d = 0, h = !1, f = 0, g = -1, y = -1, _ = /[a-z]/.test(e), W = !0;
943
943
  for (let $ = 0, k = Math.min(e.length, 200), H = 0; $ < k && d < n; ) {
944
944
  let T = L(e, $);
945
- o < 0 && (c < n && T == a[c] && (i[c++] = $), f < n && (T == a[f] || T == O[f] ? (f == 0 && (g = $), y = $ + 1, f++) : f = 0));
945
+ i < 0 && (c < n && T == a[c] && (o[c++] = $), f < n && (T == a[f] || T == O[f] ? (f == 0 && (g = $), y = $ + 1, f++) : f = 0));
946
946
  let V, me = T < 255 ? T >= 48 && T <= 57 || T >= 97 && T <= 122 ? 2 : T >= 65 && T <= 90 ? 1 : 0 : (V = lO(T)) != V.toLowerCase() ? 1 : V != V.toUpperCase() ? 2 : 0;
947
- (!$ || me == 1 && _ || H == 0 && me != 0) && (a[d] == T || O[d] == T && (h = !0) ? s[d++] = $ : s.length && (W = !1)), H = me, $ += oe(T);
947
+ (!$ || me == 1 && _ || H == 0 && me != 0) && (a[d] == T || O[d] == T && (h = !0) ? s[d++] = $ : s.length && (W = !1)), H = me, $ += ie(T);
948
948
  }
949
- return d == n && s[0] == 0 && W ? this.result(-100 + (h ? -200 : 0), s, e) : f == n && g == 0 ? this.ret(-200 - e.length + (y == e.length ? 0 : -100), [0, y]) : o > -1 ? this.ret(-700 - e.length, [o, o + this.pattern.length]) : f == n ? this.ret(-900 - e.length, [g, y]) : d == n ? this.result(-100 + (h ? -200 : 0) + -700 + (W ? 0 : -1100), s, e) : a.length == 2 ? !1 : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
949
+ return d == n && s[0] == 0 && W ? this.result(-100 + (h ? -200 : 0), s, e) : f == n && g == 0 ? this.ret(-200 - e.length + (y == e.length ? 0 : -100), [0, y]) : i > -1 ? this.ret(-700 - e.length, [i, i + this.pattern.length]) : f == n ? this.ret(-900 - e.length, [g, y]) : d == n ? this.result(-100 + (h ? -200 : 0) + -700 + (W ? 0 : -1100), s, e) : a.length == 2 ? !1 : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
950
950
  }
951
951
  result(e, a, O) {
952
- let r = [], i = 0;
952
+ let r = [], o = 0;
953
953
  for (let s of a) {
954
- let o = s + (this.astral ? oe(L(O, s)) : 1);
955
- i && r[i - 1] == s ? r[i - 1] = o : (r[i++] = s, r[i++] = o);
954
+ let i = s + (this.astral ? ie(L(O, s)) : 1);
955
+ o && r[o - 1] == s ? r[o - 1] = i : (r[o++] = s, r[o++] = i);
956
956
  }
957
957
  return this.ret(e - O.length, r);
958
958
  }
959
959
  }
960
- const Y = /* @__PURE__ */ oO.define({
960
+ const Y = /* @__PURE__ */ iO.define({
961
961
  combine(t) {
962
962
  return Ur(t, {
963
963
  activateOnTyping: !0,
@@ -989,10 +989,10 @@ const Y = /* @__PURE__ */ oO.define({
989
989
  function Qa(t, e) {
990
990
  return t ? e ? t + " " + e : t : e;
991
991
  }
992
- function Ws(t, e, a, O, r, i) {
993
- let s = t.textDirection == Ar.RTL, o = s, n = !1, l = "top", c, d, h = e.left - r.left, f = r.right - e.right, g = O.right - O.left, y = O.bottom - O.top;
994
- if (o && h < Math.min(g, f) ? o = !1 : !o && f < Math.min(g, h) && (o = !0), g <= (o ? h : f))
995
- c = Math.max(r.top, Math.min(a.top, r.bottom - y)) - e.top, d = Math.min(400, o ? h : f);
992
+ function Ws(t, e, a, O, r, o) {
993
+ let s = t.textDirection == Ar.RTL, i = s, n = !1, l = "top", c, d, h = e.left - r.left, f = r.right - e.right, g = O.right - O.left, y = O.bottom - O.top;
994
+ if (i && h < Math.min(g, f) ? i = !1 : !i && f < Math.min(g, h) && (i = !0), g <= (i ? h : f))
995
+ c = Math.max(r.top, Math.min(a.top, r.bottom - y)) - e.top, d = Math.min(400, i ? h : f);
996
996
  else {
997
997
  n = !0, d = Math.min(
998
998
  400,
@@ -1002,10 +1002,10 @@ function Ws(t, e, a, O, r, i) {
1002
1002
  let $ = r.bottom - e.bottom;
1003
1003
  $ >= y || $ > e.top ? c = a.bottom - e.top : (l = "bottom", c = e.bottom - a.top);
1004
1004
  }
1005
- let _ = (e.bottom - e.top) / i.offsetHeight, W = (e.right - e.left) / i.offsetWidth;
1005
+ let _ = (e.bottom - e.top) / o.offsetHeight, W = (e.right - e.left) / o.offsetWidth;
1006
1006
  return {
1007
1007
  style: `${l}: ${c / _}px; max-width: ${d / W}px`,
1008
- class: "cm-completionInfo-" + (n ? s ? "left-narrow" : "right-narrow" : o ? "left" : "right")
1008
+ class: "cm-completionInfo-" + (n ? s ? "left-narrow" : "right-narrow" : i ? "left" : "right")
1009
1009
  };
1010
1010
  }
1011
1011
  function Ys(t) {
@@ -1017,17 +1017,17 @@ function Ys(t) {
1017
1017
  },
1018
1018
  position: 20
1019
1019
  }), e.push({
1020
- render(a, O, r, i) {
1020
+ render(a, O, r, o) {
1021
1021
  let s = document.createElement("span");
1022
1022
  s.className = "cm-completionLabel";
1023
- let o = a.displayLabel || a.label, n = 0;
1024
- for (let l = 0; l < i.length; ) {
1025
- let c = i[l++], d = i[l++];
1026
- c > n && s.appendChild(document.createTextNode(o.slice(n, c)));
1023
+ let i = a.displayLabel || a.label, n = 0;
1024
+ for (let l = 0; l < o.length; ) {
1025
+ let c = o[l++], d = o[l++];
1026
+ c > n && s.appendChild(document.createTextNode(i.slice(n, c)));
1027
1027
  let h = s.appendChild(document.createElement("span"));
1028
- h.appendChild(document.createTextNode(o.slice(c, d))), h.className = "cm-completionMatchedText", n = d;
1028
+ h.appendChild(document.createTextNode(i.slice(c, d))), h.className = "cm-completionMatchedText", n = d;
1029
1029
  }
1030
- return n < o.length && s.appendChild(document.createTextNode(o.slice(n))), s;
1030
+ return n < i.length && s.appendChild(document.createTextNode(i.slice(n))), s;
1031
1031
  },
1032
1032
  position: 50
1033
1033
  }, {
@@ -1057,8 +1057,8 @@ class Rs {
1057
1057
  write: (n) => this.placeInfo(n),
1058
1058
  key: this
1059
1059
  }, this.space = null, this.currentClass = "";
1060
- let r = e.state.field(a), { options: i, selected: s } = r.open, o = e.state.facet(Y);
1061
- this.optionContent = Ys(o), this.optionClass = o.optionClass, this.tooltipClass = o.tooltipClass, this.range = St(i.length, s, o.maxRenderedOptions), this.dom = document.createElement("div"), this.dom.className = "cm-tooltip-autocomplete", this.updateTooltipClass(e.state), this.dom.addEventListener("mousedown", (n) => {
1060
+ let r = e.state.field(a), { options: o, selected: s } = r.open, i = e.state.facet(Y);
1061
+ this.optionContent = Ys(i), this.optionClass = i.optionClass, this.tooltipClass = i.tooltipClass, this.range = St(o.length, s, i.maxRenderedOptions), this.dom = document.createElement("div"), this.dom.className = "cm-tooltip-autocomplete", this.updateTooltipClass(e.state), this.dom.addEventListener("mousedown", (n) => {
1062
1062
  let { options: l } = e.state.field(a).open;
1063
1063
  for (let c = n.target, d; c && c != this.dom; c = c.parentNode)
1064
1064
  if (c.nodeName == "LI" && (d = /-(\d+)$/.exec(c.id)) && +d[1] < l.length) {
@@ -1068,7 +1068,7 @@ class Rs {
1068
1068
  }), this.dom.addEventListener("focusout", (n) => {
1069
1069
  let l = e.state.field(this.stateField, !1);
1070
1070
  l && l.tooltip && e.state.facet(Y).closeOnBlur && n.relatedTarget != e.contentDOM && e.dispatch({ effects: We.of(null) });
1071
- }), this.showOptions(i, r.id);
1071
+ }), this.showOptions(o, r.id);
1072
1072
  }
1073
1073
  mount() {
1074
1074
  this.updateSel();
@@ -1082,8 +1082,8 @@ class Rs {
1082
1082
  var a;
1083
1083
  let O = e.state.field(this.stateField), r = e.startState.field(this.stateField);
1084
1084
  if (this.updateTooltipClass(e.state), O != r) {
1085
- let { options: i, selected: s, disabled: o } = O.open;
1086
- (!r.open || r.open.options != i) && (this.range = St(i.length, s, e.state.facet(Y).maxRenderedOptions), this.showOptions(i, O.id)), this.updateSel(), o != ((a = r.open) === null || a === void 0 ? void 0 : a.disabled) && this.dom.classList.toggle("cm-tooltip-autocomplete-disabled", !!o);
1085
+ let { options: o, selected: s, disabled: i } = O.open;
1086
+ (!r.open || r.open.options != o) && (this.range = St(o.length, s, e.state.facet(Y).maxRenderedOptions), this.showOptions(o, O.id)), this.updateSel(), i != ((a = r.open) === null || a === void 0 ? void 0 : a.disabled) && this.dom.classList.toggle("cm-tooltip-autocomplete-disabled", !!i);
1087
1087
  }
1088
1088
  }
1089
1089
  updateTooltipClass(e) {
@@ -1106,12 +1106,12 @@ class Rs {
1106
1106
  let { completion: O } = a.options[a.selected], { info: r } = O;
1107
1107
  if (!r)
1108
1108
  return;
1109
- let i = typeof r == "string" ? document.createTextNode(r) : r(O);
1110
- if (!i)
1109
+ let o = typeof r == "string" ? document.createTextNode(r) : r(O);
1110
+ if (!o)
1111
1111
  return;
1112
- "then" in i ? i.then((s) => {
1112
+ "then" in o ? o.then((s) => {
1113
1113
  s && this.view.state.field(this.stateField, !1) == e && this.addInfoPane(s, O);
1114
- }).catch((s) => Yt(this.view.state, s, "completion info")) : this.addInfoPane(i, O);
1114
+ }).catch((s) => Yt(this.view.state, s, "completion info")) : this.addInfoPane(o, O);
1115
1115
  }
1116
1116
  }
1117
1117
  addInfoPane(e, a) {
@@ -1120,8 +1120,8 @@ class Rs {
1120
1120
  if (O.className = "cm-tooltip cm-completionInfo", e.nodeType != null)
1121
1121
  O.appendChild(e), this.infoDestroy = null;
1122
1122
  else {
1123
- let { dom: r, destroy: i } = e;
1124
- O.appendChild(r), this.infoDestroy = i || null;
1123
+ let { dom: r, destroy: o } = e;
1124
+ O.appendChild(r), this.infoDestroy = o || null;
1125
1125
  }
1126
1126
  this.dom.appendChild(O), this.view.requestMeasure(this.placeInfoReq);
1127
1127
  }
@@ -1135,12 +1135,12 @@ class Rs {
1135
1135
  let e = this.dom.querySelector("[aria-selected]");
1136
1136
  if (!e || !this.info)
1137
1137
  return null;
1138
- let a = this.dom.getBoundingClientRect(), O = this.info.getBoundingClientRect(), r = e.getBoundingClientRect(), i = this.space;
1139
- if (!i) {
1138
+ let a = this.dom.getBoundingClientRect(), O = this.info.getBoundingClientRect(), r = e.getBoundingClientRect(), o = this.space;
1139
+ if (!o) {
1140
1140
  let s = this.dom.ownerDocument.defaultView || window;
1141
- i = { left: 0, top: 0, right: s.innerWidth, bottom: s.innerHeight };
1141
+ o = { left: 0, top: 0, right: s.innerWidth, bottom: s.innerHeight };
1142
1142
  }
1143
- return r.top > Math.min(i.bottom, a.bottom) - 10 || r.bottom < Math.max(i.top, a.top) + 10 ? null : this.view.state.facet(Y).positionInfo(this.view, a, r, O, i, this.dom);
1143
+ return r.top > Math.min(o.bottom, a.bottom) - 10 || r.bottom < Math.max(o.top, a.top) + 10 ? null : this.view.state.facet(Y).positionInfo(this.view, a, r, O, o, this.dom);
1144
1144
  }
1145
1145
  placeInfo(e) {
1146
1146
  this.info && (e ? (e.style && (this.info.style.cssText = e.style), this.info.className = "cm-tooltip cm-completionInfo " + (e.class || "")) : this.info.style.cssText = "top: -1e6px");
@@ -1148,13 +1148,13 @@ class Rs {
1148
1148
  createListBox(e, a, O) {
1149
1149
  const r = document.createElement("ul");
1150
1150
  r.id = a, r.setAttribute("role", "listbox"), r.setAttribute("aria-expanded", "true"), r.setAttribute("aria-label", this.view.state.phrase("Completions"));
1151
- let i = null;
1151
+ let o = null;
1152
1152
  for (let s = O.from; s < O.to; s++) {
1153
- let { completion: o, match: n } = e[s], { section: l } = o;
1153
+ let { completion: i, match: n } = e[s], { section: l } = i;
1154
1154
  if (l) {
1155
1155
  let h = typeof l == "string" ? l : l.name;
1156
- if (h != i && (s > O.from || O.from == 0))
1157
- if (i = h, typeof l != "string" && l.header)
1156
+ if (h != o && (s > O.from || O.from == 0))
1157
+ if (o = h, typeof l != "string" && l.header)
1158
1158
  r.appendChild(l.header(l));
1159
1159
  else {
1160
1160
  let f = r.appendChild(document.createElement("completion-section"));
@@ -1163,10 +1163,10 @@ class Rs {
1163
1163
  }
1164
1164
  const c = r.appendChild(document.createElement("li"));
1165
1165
  c.id = a + "-" + s, c.setAttribute("role", "option");
1166
- let d = this.optionClass(o);
1166
+ let d = this.optionClass(i);
1167
1167
  d && (c.className = d);
1168
1168
  for (let h of this.optionContent) {
1169
- let f = h(o, this.view.state, this.view, n);
1169
+ let f = h(i, this.view.state, this.view, n);
1170
1170
  f && c.appendChild(f);
1171
1171
  }
1172
1172
  }
@@ -1226,41 +1226,41 @@ function Us(t, e) {
1226
1226
  h && (d.score += n[typeof h == "string" ? h : h.name]);
1227
1227
  }
1228
1228
  }
1229
- let i = [], s = null, o = e.facet(Y).compareCompletions;
1230
- for (let n of a.sort((l, c) => c.score - l.score || o(l.completion, c.completion))) {
1229
+ let o = [], s = null, i = e.facet(Y).compareCompletions;
1230
+ for (let n of a.sort((l, c) => c.score - l.score || i(l.completion, c.completion))) {
1231
1231
  let l = n.completion;
1232
- !s || s.label != l.label || s.detail != l.detail || s.type != null && l.type != null && s.type != l.type || s.apply != l.apply || s.boost != l.boost ? i.push(n) : ga(n.completion) > ga(s) && (i[i.length - 1] = n), s = n.completion;
1232
+ !s || s.label != l.label || s.detail != l.detail || s.type != null && l.type != null && s.type != l.type || s.apply != l.apply || s.boost != l.boost ? o.push(n) : ga(n.completion) > ga(s) && (o[o.length - 1] = n), s = n.completion;
1233
1233
  }
1234
- return i;
1234
+ return o;
1235
1235
  }
1236
1236
  class Pe {
1237
- constructor(e, a, O, r, i, s) {
1238
- this.options = e, this.attrs = a, this.tooltip = O, this.timestamp = r, this.selected = i, this.disabled = s;
1237
+ constructor(e, a, O, r, o, s) {
1238
+ this.options = e, this.attrs = a, this.tooltip = O, this.timestamp = r, this.selected = o, this.disabled = s;
1239
1239
  }
1240
1240
  setSelected(e, a) {
1241
1241
  return e == this.selected || e >= this.options.length ? this : new Pe(this.options, Sa(a, e), this.tooltip, this.timestamp, e, this.disabled);
1242
1242
  }
1243
- static build(e, a, O, r, i) {
1243
+ static build(e, a, O, r, o) {
1244
1244
  let s = Us(e, a);
1245
1245
  if (!s.length)
1246
1246
  return r && e.some(
1247
1247
  (n) => n.state == 1
1248
1248
  /* State.Pending */
1249
1249
  ) ? new Pe(r.options, r.attrs, r.tooltip, r.timestamp, r.selected, !0) : null;
1250
- let o = a.facet(Y).selectOnOpen ? 0 : -1;
1251
- if (r && r.selected != o && r.selected != -1) {
1250
+ let i = a.facet(Y).selectOnOpen ? 0 : -1;
1251
+ if (r && r.selected != i && r.selected != -1) {
1252
1252
  let n = r.options[r.selected].completion;
1253
1253
  for (let l = 0; l < s.length; l++)
1254
1254
  if (s[l].completion == n) {
1255
- o = l;
1255
+ i = l;
1256
1256
  break;
1257
1257
  }
1258
1258
  }
1259
- return new Pe(s, Sa(O, o), {
1259
+ return new Pe(s, Sa(O, i), {
1260
1260
  pos: e.reduce((n, l) => l.hasResult() ? Math.min(n, l.from) : n, 1e8),
1261
1261
  create: As,
1262
- above: i.aboveCursor
1263
- }, r ? r.timestamp : Date.now(), o, !1);
1262
+ above: o.aboveCursor
1263
+ }, r ? r.timestamp : Date.now(), i, !1);
1264
1264
  }
1265
1265
  map(e) {
1266
1266
  return new Pe(this.options, this.attrs, Object.assign(Object.assign({}, this.tooltip), { pos: e.mapPos(this.tooltip.pos) }), this.timestamp, this.selected, this.disabled);
@@ -1274,30 +1274,30 @@ class at {
1274
1274
  return new at(Vs, "cm-ac-" + Math.floor(Math.random() * 2e6).toString(36), null);
1275
1275
  }
1276
1276
  update(e) {
1277
- let { state: a } = e, O = a.facet(Y), i = (O.override || a.languageDataAt("autocomplete", ne(a)).map(xs)).map((o) => (this.active.find((l) => l.source == o) || new A(
1278
- o,
1277
+ let { state: a } = e, O = a.facet(Y), o = (O.override || a.languageDataAt("autocomplete", ne(a)).map(xs)).map((i) => (this.active.find((l) => l.source == i) || new A(
1278
+ i,
1279
1279
  this.active.some(
1280
1280
  (l) => l.state != 0
1281
1281
  /* State.Inactive */
1282
1282
  ) ? 1 : 0
1283
1283
  /* State.Inactive */
1284
1284
  )).update(e, O));
1285
- i.length == this.active.length && i.every((o, n) => o == this.active[n]) && (i = this.active);
1285
+ o.length == this.active.length && o.every((i, n) => i == this.active[n]) && (o = this.active);
1286
1286
  let s = this.open;
1287
- s && e.docChanged && (s = s.map(e.changes)), e.selection || i.some((o) => o.hasResult() && e.changes.touchesRange(o.from, o.to)) || !js(i, this.active) ? s = Pe.build(i, a, this.id, s, O) : s && s.disabled && !i.some(
1288
- (o) => o.state == 1
1287
+ s && e.docChanged && (s = s.map(e.changes)), e.selection || o.some((i) => i.hasResult() && e.changes.touchesRange(i.from, i.to)) || !js(o, this.active) ? s = Pe.build(o, a, this.id, s, O) : s && s.disabled && !o.some(
1288
+ (i) => i.state == 1
1289
1289
  /* State.Pending */
1290
- ) && (s = null), !s && i.every(
1291
- (o) => o.state != 1
1290
+ ) && (s = null), !s && o.every(
1291
+ (i) => i.state != 1
1292
1292
  /* State.Pending */
1293
- ) && i.some((o) => o.hasResult()) && (i = i.map((o) => o.hasResult() ? new A(
1294
- o.source,
1293
+ ) && o.some((i) => i.hasResult()) && (o = o.map((i) => i.hasResult() ? new A(
1294
+ i.source,
1295
1295
  0
1296
1296
  /* State.Inactive */
1297
- ) : o));
1298
- for (let o of e.effects)
1299
- o.is(bO) && (s = s && s.setSelected(o.value, this.id));
1300
- return i == this.active && s == this.open ? this : new at(i, this.id, s);
1297
+ ) : i));
1298
+ for (let i of e.effects)
1299
+ i.is(bO) && (s = s && s.setSelected(i.value, this.id));
1300
+ return o == this.active && s == this.open ? this : new at(o, this.id, s);
1301
1301
  }
1302
1302
  get tooltip() {
1303
1303
  return this.open ? this.open.tooltip : null;
@@ -1314,9 +1314,9 @@ function js(t, e) {
1314
1314
  a++;
1315
1315
  for (; O < e.length && !e[O].hasResult; )
1316
1316
  O++;
1317
- let r = a == t.length, i = O == e.length;
1318
- if (r || i)
1319
- return r == i;
1317
+ let r = a == t.length, o = O == e.length;
1318
+ if (r || o)
1319
+ return r == o;
1320
1320
  if (t[a++].result != e[O++].result)
1321
1321
  return !1;
1322
1322
  }
@@ -1350,17 +1350,17 @@ class A {
1350
1350
  0
1351
1351
  /* State.Inactive */
1352
1352
  ));
1353
- for (let i of e.effects)
1354
- if (i.is(tt))
1355
- r = new A(r.source, 1, i.value ? ne(e.state) : -1);
1356
- else if (i.is(We))
1353
+ for (let o of e.effects)
1354
+ if (o.is(tt))
1355
+ r = new A(r.source, 1, o.value ? ne(e.state) : -1);
1356
+ else if (o.is(We))
1357
1357
  r = new A(
1358
1358
  r.source,
1359
1359
  0
1360
1360
  /* State.Inactive */
1361
1361
  );
1362
- else if (i.is($O))
1363
- for (let s of i.value)
1362
+ else if (o.is($O))
1363
+ for (let s of o.value)
1364
1364
  s.source == r.source && (r = s);
1365
1365
  return r;
1366
1366
  }
@@ -1383,23 +1383,23 @@ class A {
1383
1383
  }
1384
1384
  }
1385
1385
  class be extends A {
1386
- constructor(e, a, O, r, i) {
1387
- super(e, 2, a), this.result = O, this.from = r, this.to = i;
1386
+ constructor(e, a, O, r, o) {
1387
+ super(e, 2, a), this.result = O, this.from = r, this.to = o;
1388
1388
  }
1389
1389
  hasResult() {
1390
1390
  return !0;
1391
1391
  }
1392
1392
  handleUserEvent(e, a, O) {
1393
1393
  var r;
1394
- let i = e.changes.mapPos(this.from), s = e.changes.mapPos(this.to, 1), o = ne(e.state);
1395
- if ((this.explicitPos < 0 ? o <= i : o < this.from) || o > s || a == "delete" && ne(e.startState) == this.from)
1394
+ let o = e.changes.mapPos(this.from), s = e.changes.mapPos(this.to, 1), i = ne(e.state);
1395
+ if ((this.explicitPos < 0 ? i <= o : i < this.from) || i > s || a == "delete" && ne(e.startState) == this.from)
1396
1396
  return new A(
1397
1397
  this.source,
1398
1398
  a == "input" && O.activateOnTyping ? 1 : 0
1399
1399
  /* State.Inactive */
1400
1400
  );
1401
1401
  let n = this.explicitPos < 0 ? -1 : e.changes.mapPos(this.explicitPos), l;
1402
- return Gs(this.result.validFor, e.state, i, s) ? new be(this.source, n, this.result, i, s) : this.result.update && (l = this.result.update(this.result, i, s, new QO(e.state, o, n >= 0))) ? new be(this.source, n, l, l.from, (r = l.to) !== null && r !== void 0 ? r : ne(e.state)) : new A(this.source, 1, n);
1402
+ return Gs(this.result.validFor, e.state, o, s) ? new be(this.source, n, this.result, o, s) : this.result.update && (l = this.result.update(this.result, o, s, new QO(e.state, i, n >= 0))) ? new be(this.source, n, l, l.from, (r = l.to) !== null && r !== void 0 ? r : ne(e.state)) : new A(this.source, 1, n);
1403
1403
  }
1404
1404
  handleChange(e) {
1405
1405
  return e.changes.touchesRange(this.from, this.to) ? new A(
@@ -1445,10 +1445,10 @@ function Be(t, e = "option") {
1445
1445
  let O = a.state.field(D, !1);
1446
1446
  if (!O || !O.open || O.open.disabled || Date.now() - O.open.timestamp < a.state.facet(Y).interactionDelay)
1447
1447
  return !1;
1448
- let r = 1, i;
1449
- e == "page" && (i = nO(a, O.open.tooltip)) && (r = Math.max(2, Math.floor(i.dom.offsetHeight / i.dom.querySelector("li").offsetHeight) - 1));
1450
- let { length: s } = O.open.options, o = O.open.selected > -1 ? O.open.selected + r * (t ? 1 : -1) : t ? 0 : s - 1;
1451
- return o < 0 ? o = e == "page" ? 0 : s - 1 : o >= s && (o = e == "page" ? s - 1 : 0), a.dispatch({ effects: bO.of(o) }), !0;
1448
+ let r = 1, o;
1449
+ e == "page" && (o = nO(a, O.open.tooltip)) && (r = Math.max(2, Math.floor(o.dom.offsetHeight / o.dom.querySelector("li").offsetHeight) - 1));
1450
+ let { length: s } = O.open.options, i = O.open.selected > -1 ? O.open.selected + r * (t ? 1 : -1) : t ? 0 : s - 1;
1451
+ return i < 0 ? i = e == "page" ? 0 : s - 1 : i >= s && (i = e == "page" ? s - 1 : 0), a.dispatch({ effects: bO.of(i) }), !0;
1452
1452
  };
1453
1453
  }
1454
1454
  const Es = (t) => {
@@ -1478,21 +1478,21 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
1478
1478
  return;
1479
1479
  let a = t.transactions.some((r) => (r.selection || r.docChanged) && !jt(r));
1480
1480
  for (let r = 0; r < this.running.length; r++) {
1481
- let i = this.running[r];
1482
- if (a || i.updates.length + t.transactions.length > Ds && Date.now() - i.time > Ns) {
1483
- for (let s of i.context.abortListeners)
1481
+ let o = this.running[r];
1482
+ if (a || o.updates.length + t.transactions.length > Ds && Date.now() - o.time > Ns) {
1483
+ for (let s of o.context.abortListeners)
1484
1484
  try {
1485
1485
  s();
1486
- } catch (o) {
1487
- Yt(this.view.state, o);
1486
+ } catch (i) {
1487
+ Yt(this.view.state, i);
1488
1488
  }
1489
- i.context.abortListeners = null, this.running.splice(r--, 1);
1489
+ o.context.abortListeners = null, this.running.splice(r--, 1);
1490
1490
  } else
1491
- i.updates.push(...t.transactions);
1491
+ o.updates.push(...t.transactions);
1492
1492
  }
1493
- this.debounceUpdate > -1 && clearTimeout(this.debounceUpdate), t.transactions.some((r) => r.effects.some((i) => i.is(tt))) && (this.pendingStart = !0);
1493
+ this.debounceUpdate > -1 && clearTimeout(this.debounceUpdate), t.transactions.some((r) => r.effects.some((o) => o.is(tt))) && (this.pendingStart = !0);
1494
1494
  let O = this.pendingStart ? 50 : t.state.facet(Y).activateOnTypingDelay;
1495
- if (this.debounceUpdate = e.active.some((r) => r.state == 1 && !this.running.some((i) => i.active.source == r.source)) ? setTimeout(() => this.startUpdate(), O) : -1, this.composing != 0)
1495
+ if (this.debounceUpdate = e.active.some((r) => r.state == 1 && !this.running.some((o) => o.active.source == r.source)) ? setTimeout(() => this.startUpdate(), O) : -1, this.composing != 0)
1496
1496
  for (let r of t.transactions)
1497
1497
  jt(r) == "input" ? this.composing = 2 : this.composing == 2 && r.selection && (this.composing = 3);
1498
1498
  }
@@ -1504,10 +1504,10 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
1504
1504
  }
1505
1505
  startQuery(t) {
1506
1506
  let { state: e } = this.view, a = ne(e), O = new QO(e, a, t.explicitPos == a), r = new Is(t, O);
1507
- this.running.push(r), Promise.resolve(t.source(O)).then((i) => {
1508
- r.context.aborted || (r.done = i || null, this.scheduleAccept());
1509
- }, (i) => {
1510
- this.view.dispatch({ effects: We.of(null) }), Yt(this.view.state, i);
1507
+ this.running.push(r), Promise.resolve(t.source(O)).then((o) => {
1508
+ r.context.aborted || (r.done = o || null, this.scheduleAccept());
1509
+ }, (o) => {
1510
+ this.view.dispatch({ effects: We.of(null) }), Yt(this.view.state, o);
1511
1511
  });
1512
1512
  }
1513
1513
  scheduleAccept() {
@@ -1525,26 +1525,26 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
1525
1525
  continue;
1526
1526
  if (this.running.splice(O--, 1), r.done) {
1527
1527
  let s = new be(r.active.source, r.active.explicitPos, r.done, r.done.from, (t = r.done.to) !== null && t !== void 0 ? t : ne(r.updates.length ? r.updates[0].startState : this.view.state));
1528
- for (let o of r.updates)
1529
- s = s.update(o, a);
1528
+ for (let i of r.updates)
1529
+ s = s.update(i, a);
1530
1530
  if (s.hasResult()) {
1531
1531
  e.push(s);
1532
1532
  continue;
1533
1533
  }
1534
1534
  }
1535
- let i = this.view.state.field(D).active.find((s) => s.source == r.active.source);
1536
- if (i && i.state == 1)
1535
+ let o = this.view.state.field(D).active.find((s) => s.source == r.active.source);
1536
+ if (o && o.state == 1)
1537
1537
  if (r.done == null) {
1538
1538
  let s = new A(
1539
1539
  r.active.source,
1540
1540
  0
1541
1541
  /* State.Inactive */
1542
1542
  );
1543
- for (let o of r.updates)
1544
- s = s.update(o, a);
1543
+ for (let i of r.updates)
1544
+ s = s.update(i, a);
1545
1545
  s.state != 1 && e.push(s);
1546
1546
  } else
1547
- this.startQuery(i);
1547
+ this.startQuery(o);
1548
1548
  }
1549
1549
  e.length && this.view.dispatch({ effects: $O.of(e) });
1550
1550
  }
@@ -1706,7 +1706,7 @@ class ea {
1706
1706
  this.lines = e, this.fieldPositions = a;
1707
1707
  }
1708
1708
  instantiate(e, a) {
1709
- let O = [], r = [a], i = e.doc.lineAt(a), s = /^\s*/.exec(i.text)[0];
1709
+ let O = [], r = [a], o = e.doc.lineAt(a), s = /^\s*/.exec(o.text)[0];
1710
1710
  for (let n of this.lines) {
1711
1711
  if (O.length) {
1712
1712
  let l = s, c = /^\t*/.exec(n)[0].length;
@@ -1716,30 +1716,30 @@ class ea {
1716
1716
  }
1717
1717
  O.push(n), a += n.length + 1;
1718
1718
  }
1719
- let o = this.fieldPositions.map((n) => new Kt(n.field, r[n.line] + n.from, r[n.line] + n.to));
1720
- return { text: O, ranges: o };
1719
+ let i = this.fieldPositions.map((n) => new Kt(n.field, r[n.line] + n.from, r[n.line] + n.to));
1720
+ return { text: O, ranges: i };
1721
1721
  }
1722
1722
  static parse(e) {
1723
- let a = [], O = [], r = [], i;
1723
+ let a = [], O = [], r = [], o;
1724
1724
  for (let s of e.split(/\r\n?|\n/)) {
1725
- for (; i = /[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s); ) {
1726
- let o = i[1] ? +i[1] : null, n = i[2] || i[3] || "", l = -1;
1725
+ for (; o = /[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s); ) {
1726
+ let i = o[1] ? +o[1] : null, n = o[2] || o[3] || "", l = -1;
1727
1727
  for (let c = 0; c < a.length; c++)
1728
- (o != null ? a[c].seq == o : n && a[c].name == n) && (l = c);
1728
+ (i != null ? a[c].seq == i : n && a[c].name == n) && (l = c);
1729
1729
  if (l < 0) {
1730
1730
  let c = 0;
1731
- for (; c < a.length && (o == null || a[c].seq != null && a[c].seq < o); )
1731
+ for (; c < a.length && (i == null || a[c].seq != null && a[c].seq < i); )
1732
1732
  c++;
1733
- a.splice(c, 0, { seq: o, name: n }), l = c;
1733
+ a.splice(c, 0, { seq: i, name: n }), l = c;
1734
1734
  for (let d of r)
1735
1735
  d.field >= l && d.field++;
1736
1736
  }
1737
- r.push(new Ls(l, O.length, i.index, i.index + n.length)), s = s.slice(0, i.index) + n + s.slice(i.index + i[0].length);
1737
+ r.push(new Ls(l, O.length, o.index, o.index + n.length)), s = s.slice(0, o.index) + n + s.slice(o.index + o[0].length);
1738
1738
  }
1739
- for (let o; o = /\\([{}])/.exec(s); ) {
1740
- s = s.slice(0, o.index) + o[1] + s.slice(o.index + o[0].length);
1739
+ for (let i; i = /\\([{}])/.exec(s); ) {
1740
+ s = s.slice(0, i.index) + i[1] + s.slice(i.index + i[0].length);
1741
1741
  for (let n of r)
1742
- n.line == O.length && n.from > o.index && (n.from--, n.to--);
1742
+ n.line == O.length && n.from > i.index && (n.from--, n.to--);
1743
1743
  }
1744
1744
  O.push(s);
1745
1745
  }
@@ -1795,17 +1795,17 @@ const Ae = /* @__PURE__ */ re.define({
1795
1795
  function ta(t, e) {
1796
1796
  return C.create(t.filter((a) => a.field == e).map((a) => C.range(a.from, a.to)));
1797
1797
  }
1798
- function ei(t) {
1798
+ function eo(t) {
1799
1799
  let e = ea.parse(t);
1800
- return (a, O, r, i) => {
1801
- let { text: s, ranges: o } = e.instantiate(a.state, r), n = {
1802
- changes: { from: r, to: i, insert: Hr.of(s) },
1800
+ return (a, O, r, o) => {
1801
+ let { text: s, ranges: i } = e.instantiate(a.state, r), n = {
1802
+ changes: { from: r, to: o, insert: Hr.of(s) },
1803
1803
  scrollIntoView: !0,
1804
1804
  annotations: O ? [PO.of(O), Br.userEvent.of("input.complete")] : void 0
1805
1805
  };
1806
- if (o.length && (n.selection = ta(o, 0)), o.some((l) => l.field > 0)) {
1807
- let l = new ke(o, 0), c = n.effects = [Ae.of(l)];
1808
- a.state.field(Ye, !1) === void 0 && c.push(re.appendConfig.of([Ye, si, ii, yO]));
1806
+ if (i.length && (n.selection = ta(i, 0)), i.some((l) => l.field > 0)) {
1807
+ let l = new ke(i, 0), c = n.effects = [Ae.of(l)];
1808
+ a.state.field(Ye, !1) === void 0 && c.push(re.appendConfig.of([Ye, so, oo, yO]));
1809
1809
  }
1810
1810
  a.dispatch(a.state.update(n));
1811
1811
  };
@@ -1815,34 +1815,34 @@ function vO(t) {
1815
1815
  let O = e.field(Ye, !1);
1816
1816
  if (!O || t < 0 && O.active == 0)
1817
1817
  return !1;
1818
- let r = O.active + t, i = t > 0 && !O.ranges.some((s) => s.field == r + t);
1818
+ let r = O.active + t, o = t > 0 && !O.ranges.some((s) => s.field == r + t);
1819
1819
  return a(e.update({
1820
1820
  selection: ta(O.ranges, r),
1821
- effects: Ae.of(i ? null : new ke(O.ranges, r)),
1821
+ effects: Ae.of(o ? null : new ke(O.ranges, r)),
1822
1822
  scrollIntoView: !0
1823
1823
  })), !0;
1824
1824
  };
1825
1825
  }
1826
- const ti = ({ state: t, dispatch: e }) => t.field(Ye, !1) ? (e(t.update({ effects: Ae.of(null) })), !0) : !1, ai = /* @__PURE__ */ vO(1), Oi = /* @__PURE__ */ vO(-1), ri = [
1827
- { key: "Tab", run: ai, shift: Oi },
1828
- { key: "Escape", run: ti }
1829
- ], Pa = /* @__PURE__ */ oO.define({
1826
+ const to = ({ state: t, dispatch: e }) => t.field(Ye, !1) ? (e(t.update({ effects: Ae.of(null) })), !0) : !1, ao = /* @__PURE__ */ vO(1), Oo = /* @__PURE__ */ vO(-1), ro = [
1827
+ { key: "Tab", run: ao, shift: Oo },
1828
+ { key: "Escape", run: to }
1829
+ ], Pa = /* @__PURE__ */ iO.define({
1830
1830
  combine(t) {
1831
- return t.length ? t[0] : ri;
1831
+ return t.length ? t[0] : ro;
1832
1832
  }
1833
- }), si = /* @__PURE__ */ iO.highest(/* @__PURE__ */ et.compute([Pa], (t) => t.facet(Pa)));
1833
+ }), so = /* @__PURE__ */ oO.highest(/* @__PURE__ */ et.compute([Pa], (t) => t.facet(Pa)));
1834
1834
  function G(t, e) {
1835
- return Object.assign(Object.assign({}, e), { apply: ei(t) });
1835
+ return Object.assign(Object.assign({}, e), { apply: eo(t) });
1836
1836
  }
1837
- const ii = /* @__PURE__ */ N.domEventHandlers({
1837
+ const oo = /* @__PURE__ */ N.domEventHandlers({
1838
1838
  mousedown(t, e) {
1839
1839
  let a = e.state.field(Ye, !1), O;
1840
1840
  if (!a || (O = e.posAtCoords({ x: t.clientX, y: t.clientY })) == null)
1841
1841
  return !1;
1842
- let r = a.ranges.find((i) => i.from <= O && i.to >= O);
1842
+ let r = a.ranges.find((o) => o.from <= O && o.to >= O);
1843
1843
  return !r || r.field == a.active ? !1 : (e.dispatch({
1844
1844
  selection: ta(a.ranges, r.field),
1845
- effects: Ae.of(a.ranges.some((i) => i.field > r.field) ? new ke(a.ranges, r.field) : null),
1845
+ effects: Ae.of(a.ranges.some((o) => o.field > r.field) ? new ke(a.ranges, r.field) : null),
1846
1846
  scrollIntoView: !0
1847
1847
  }), !0);
1848
1848
  }
@@ -1873,8 +1873,8 @@ const wO = /* @__PURE__ */ Mt.define({
1873
1873
  return t;
1874
1874
  }
1875
1875
  });
1876
- function oi() {
1877
- return [li, wO];
1876
+ function io() {
1877
+ return [lo, wO];
1878
1878
  }
1879
1879
  const Pt = "()[]{}<>";
1880
1880
  function kO(t) {
@@ -1886,22 +1886,22 @@ function kO(t) {
1886
1886
  function TO(t, e) {
1887
1887
  return t.languageDataAt("closeBrackets", e)[0] || Re;
1888
1888
  }
1889
- const ni = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), li = /* @__PURE__ */ N.inputHandler.of((t, e, a, O) => {
1890
- if ((ni ? t.composing : t.compositionStarted) || t.state.readOnly)
1889
+ const no = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), lo = /* @__PURE__ */ N.inputHandler.of((t, e, a, O) => {
1890
+ if ((no ? t.composing : t.compositionStarted) || t.state.readOnly)
1891
1891
  return !1;
1892
1892
  let r = t.state.selection.main;
1893
- if (O.length > 2 || O.length == 2 && oe(L(O, 0)) == 1 || e != r.from || a != r.to)
1893
+ if (O.length > 2 || O.length == 2 && ie(L(O, 0)) == 1 || e != r.from || a != r.to)
1894
1894
  return !1;
1895
- let i = pi(t.state, O);
1896
- return i ? (t.dispatch(i), !0) : !1;
1897
- }), ci = ({ state: t, dispatch: e }) => {
1895
+ let o = uo(t.state, O);
1896
+ return o ? (t.dispatch(o), !0) : !1;
1897
+ }), co = ({ state: t, dispatch: e }) => {
1898
1898
  if (t.readOnly)
1899
1899
  return !1;
1900
- let O = TO(t, t.selection.main.head).brackets || Re.brackets, r = null, i = t.changeByRange((s) => {
1900
+ let O = TO(t, t.selection.main.head).brackets || Re.brackets, r = null, o = t.changeByRange((s) => {
1901
1901
  if (s.empty) {
1902
- let o = ui(t.doc, s.head);
1902
+ let i = ho(t.doc, s.head);
1903
1903
  for (let n of O)
1904
- if (n == o && Qt(t.doc, s.head) == kO(L(n, 0)))
1904
+ if (n == i && Qt(t.doc, s.head) == kO(L(n, 0)))
1905
1905
  return {
1906
1906
  changes: { from: s.head - n.length, to: s.head + n.length },
1907
1907
  range: C.cursor(s.head - n.length)
@@ -1909,18 +1909,18 @@ const ni = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
1909
1909
  }
1910
1910
  return { range: r = s };
1911
1911
  });
1912
- return r || e(t.update(i, { scrollIntoView: !0, userEvent: "delete.backward" })), !r;
1913
- }, di = [
1914
- { key: "Backspace", run: ci }
1912
+ return r || e(t.update(o, { scrollIntoView: !0, userEvent: "delete.backward" })), !r;
1913
+ }, po = [
1914
+ { key: "Backspace", run: co }
1915
1915
  ];
1916
- function pi(t, e) {
1916
+ function uo(t, e) {
1917
1917
  let a = TO(t, t.selection.main.head), O = a.brackets || Re.brackets;
1918
1918
  for (let r of O) {
1919
- let i = kO(L(r, 0));
1919
+ let o = kO(L(r, 0));
1920
1920
  if (e == r)
1921
- return i == r ? mi(t, r, O.indexOf(r + r + r) > -1, a) : hi(t, r, i, a.before || Re.before);
1922
- if (e == i && XO(t, t.selection.main.from))
1923
- return fi(t, r, i);
1921
+ return o == r ? Qo(t, r, O.indexOf(r + r + r) > -1, a) : fo(t, r, o, a.before || Re.before);
1922
+ if (e == o && XO(t, t.selection.main.from))
1923
+ return mo(t, r, o);
1924
1924
  }
1925
1925
  return null;
1926
1926
  }
@@ -1932,51 +1932,51 @@ function XO(t, e) {
1932
1932
  }
1933
1933
  function Qt(t, e) {
1934
1934
  let a = t.sliceString(e, e + 2);
1935
- return a.slice(0, oe(L(a, 0)));
1935
+ return a.slice(0, ie(L(a, 0)));
1936
1936
  }
1937
- function ui(t, e) {
1937
+ function ho(t, e) {
1938
1938
  let a = t.sliceString(e - 2, e);
1939
- return oe(L(a, 0)) == a.length ? a : a.slice(1);
1939
+ return ie(L(a, 0)) == a.length ? a : a.slice(1);
1940
1940
  }
1941
- function hi(t, e, a, O) {
1942
- let r = null, i = t.changeByRange((s) => {
1941
+ function fo(t, e, a, O) {
1942
+ let r = null, o = t.changeByRange((s) => {
1943
1943
  if (!s.empty)
1944
1944
  return {
1945
1945
  changes: [{ insert: e, from: s.from }, { insert: a, from: s.to }],
1946
1946
  effects: ue.of(s.to + e.length),
1947
1947
  range: C.range(s.anchor + e.length, s.head + e.length)
1948
1948
  };
1949
- let o = Qt(t.doc, s.head);
1950
- return !o || /\s/.test(o) || O.indexOf(o) > -1 ? {
1949
+ let i = Qt(t.doc, s.head);
1950
+ return !i || /\s/.test(i) || O.indexOf(i) > -1 ? {
1951
1951
  changes: { insert: e + a, from: s.head },
1952
1952
  effects: ue.of(s.head + e.length),
1953
1953
  range: C.cursor(s.head + e.length)
1954
1954
  } : { range: r = s };
1955
1955
  });
1956
- return r ? null : t.update(i, {
1956
+ return r ? null : t.update(o, {
1957
1957
  scrollIntoView: !0,
1958
1958
  userEvent: "input.type"
1959
1959
  });
1960
1960
  }
1961
- function fi(t, e, a) {
1962
- let O = null, r = t.changeByRange((i) => i.empty && Qt(t.doc, i.head) == a ? {
1963
- changes: { from: i.head, to: i.head + a.length, insert: a },
1964
- range: C.cursor(i.head + a.length)
1965
- } : O = { range: i });
1961
+ function mo(t, e, a) {
1962
+ let O = null, r = t.changeByRange((o) => o.empty && Qt(t.doc, o.head) == a ? {
1963
+ changes: { from: o.head, to: o.head + a.length, insert: a },
1964
+ range: C.cursor(o.head + a.length)
1965
+ } : O = { range: o });
1966
1966
  return O ? null : t.update(r, {
1967
1967
  scrollIntoView: !0,
1968
1968
  userEvent: "input.type"
1969
1969
  });
1970
1970
  }
1971
- function mi(t, e, a, O) {
1972
- let r = O.stringPrefixes || Re.stringPrefixes, i = null, s = t.changeByRange((o) => {
1973
- if (!o.empty)
1971
+ function Qo(t, e, a, O) {
1972
+ let r = O.stringPrefixes || Re.stringPrefixes, o = null, s = t.changeByRange((i) => {
1973
+ if (!i.empty)
1974
1974
  return {
1975
- changes: [{ insert: e, from: o.from }, { insert: e, from: o.to }],
1976
- effects: ue.of(o.to + e.length),
1977
- range: C.range(o.anchor + e.length, o.head + e.length)
1975
+ changes: [{ insert: e, from: i.from }, { insert: e, from: i.to }],
1976
+ effects: ue.of(i.to + e.length),
1977
+ range: C.range(i.anchor + e.length, i.head + e.length)
1978
1978
  };
1979
- let n = o.head, l = Qt(t.doc, n), c;
1979
+ let n = i.head, l = Qt(t.doc, n), c;
1980
1980
  if (l == e) {
1981
1981
  if ($a(t, n))
1982
1982
  return {
@@ -1998,16 +1998,16 @@ function mi(t, e, a, O) {
1998
1998
  effects: ue.of(n + e.length),
1999
1999
  range: C.cursor(n + e.length)
2000
2000
  };
2001
- if (t.charCategorizer(n)(l) != Wt.Word && ba(t, n, r) > -1 && !Qi(t, n, e, r))
2001
+ if (t.charCategorizer(n)(l) != Wt.Word && ba(t, n, r) > -1 && !go(t, n, e, r))
2002
2002
  return {
2003
2003
  changes: { insert: e + e, from: n },
2004
2004
  effects: ue.of(n + e.length),
2005
2005
  range: C.cursor(n + e.length)
2006
2006
  };
2007
2007
  }
2008
- return { range: i = o };
2008
+ return { range: o = i };
2009
2009
  });
2010
- return i ? null : t.update(s, {
2010
+ return o ? null : t.update(s, {
2011
2011
  scrollIntoView: !0,
2012
2012
  userEvent: "input.type"
2013
2013
  });
@@ -2016,11 +2016,11 @@ function $a(t, e) {
2016
2016
  let a = Oe(t).resolveInner(e + 1);
2017
2017
  return a.parent && a.from == e;
2018
2018
  }
2019
- function Qi(t, e, a, O) {
2020
- let r = Oe(t).resolveInner(e, -1), i = O.reduce((s, o) => Math.max(s, o.length), 0);
2019
+ function go(t, e, a, O) {
2020
+ let r = Oe(t).resolveInner(e, -1), o = O.reduce((s, i) => Math.max(s, i.length), 0);
2021
2021
  for (let s = 0; s < 5; s++) {
2022
- let o = t.sliceDoc(r.from, Math.min(r.to, r.from + a.length + i)), n = o.indexOf(a);
2023
- if (!n || n > -1 && O.indexOf(o.slice(0, n)) > -1) {
2022
+ let i = t.sliceDoc(r.from, Math.min(r.to, r.from + a.length + o)), n = i.indexOf(a);
2023
+ if (!n || n > -1 && O.indexOf(i.slice(0, n)) > -1) {
2024
2024
  let c = r.firstChild;
2025
2025
  for (; c && c.from == r.from && c.to - c.from > a.length + n; ) {
2026
2026
  if (t.sliceDoc(c.to - a.length, c.to) == a)
@@ -2041,18 +2041,18 @@ function ba(t, e, a) {
2041
2041
  if (O(t.sliceDoc(e - 1, e)) != Wt.Word)
2042
2042
  return e;
2043
2043
  for (let r of a) {
2044
- let i = e - r.length;
2045
- if (t.sliceDoc(i, e) == r && O(t.sliceDoc(i - 1, i)) != Wt.Word)
2046
- return i;
2044
+ let o = e - r.length;
2045
+ if (t.sliceDoc(o, e) == r && O(t.sliceDoc(o - 1, o)) != Wt.Word)
2046
+ return o;
2047
2047
  }
2048
2048
  return -1;
2049
2049
  }
2050
- function gi(t = {}) {
2050
+ function So(t = {}) {
2051
2051
  return [
2052
2052
  D,
2053
2053
  Y.of(t),
2054
2054
  Ms,
2055
- Si,
2055
+ Po,
2056
2056
  yO
2057
2057
  ];
2058
2058
  }
@@ -2064,39 +2064,39 @@ const xO = [
2064
2064
  { key: "PageDown", run: /* @__PURE__ */ Be(!0, "page") },
2065
2065
  { key: "PageUp", run: /* @__PURE__ */ Be(!1, "page") },
2066
2066
  { key: "Enter", run: Es }
2067
- ], Si = /* @__PURE__ */ iO.highest(/* @__PURE__ */ et.computeN([Y], (t) => t.facet(Y).defaultKeymap ? [xO] : []));
2067
+ ], Po = /* @__PURE__ */ oO.highest(/* @__PURE__ */ et.computeN([Y], (t) => t.facet(Y).defaultKeymap ? [xO] : []));
2068
2068
  function _O(t, e) {
2069
2069
  let a = -1;
2070
2070
  return t.changeByRange((O) => {
2071
2071
  let r = [];
2072
2072
  for (let s = O.from; s <= O.to; ) {
2073
- let o = t.doc.lineAt(s);
2074
- o.number > a && (O.empty || O.to > o.from) && (e(o, r, O), a = o.number), s = o.to + 1;
2073
+ let i = t.doc.lineAt(s);
2074
+ i.number > a && (O.empty || O.to > i.from) && (e(i, r, O), a = i.number), s = i.to + 1;
2075
2075
  }
2076
- let i = t.changes(r);
2076
+ let o = t.changes(r);
2077
2077
  return {
2078
2078
  changes: r,
2079
- range: C.range(i.mapPos(O.anchor, 1), i.mapPos(O.head, 1))
2079
+ range: C.range(o.mapPos(O.anchor, 1), o.mapPos(O.head, 1))
2080
2080
  };
2081
2081
  });
2082
2082
  }
2083
- const Pi = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
2083
+ const $o = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
2084
2084
  O.push({ from: a.from, insert: t.facet(cO) });
2085
- }), { userEvent: "input.indent" })), !0), $i = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
2085
+ }), { userEvent: "input.indent" })), !0), bo = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
2086
2086
  let r = /^\s*/.exec(a.text)[0];
2087
2087
  if (!r)
2088
2088
  return;
2089
- let i = Dr(r, t.tabSize), s = 0, o = Nr(t, Math.max(0, i - Mr(t)));
2090
- for (; s < r.length && s < o.length && r.charCodeAt(s) == o.charCodeAt(s); )
2089
+ let o = Dr(r, t.tabSize), s = 0, i = Nr(t, Math.max(0, o - Mr(t)));
2090
+ for (; s < r.length && s < i.length && r.charCodeAt(s) == i.charCodeAt(s); )
2091
2091
  s++;
2092
- O.push({ from: a.from + s, to: a.from + r.length, insert: o.slice(s) });
2093
- }), { userEvent: "delete.dedent" })), !0), bi = { key: "Tab", run: Pi, shift: $i };
2092
+ O.push({ from: a.from + s, to: a.from + r.length, insert: i.slice(s) });
2093
+ }), { userEvent: "delete.dedent" })), !0), Zo = { key: "Tab", run: $o, shift: bo };
2094
2094
  class Ot {
2095
2095
  /**
2096
2096
  @internal
2097
2097
  */
2098
- constructor(e, a, O, r, i, s, o, n, l, c = 0, d) {
2099
- this.p = e, this.stack = a, this.state = O, this.reducePos = r, this.pos = i, this.score = s, this.buffer = o, this.bufferBase = n, this.curContext = l, this.lookAhead = c, this.parent = d;
2098
+ constructor(e, a, O, r, o, s, i, n, l, c = 0, d) {
2099
+ this.p = e, this.stack = a, this.state = O, this.reducePos = r, this.pos = o, this.score = s, this.buffer = i, this.bufferBase = n, this.curContext = l, this.lookAhead = c, this.parent = d;
2100
2100
  }
2101
2101
  /**
2102
2102
  @internal
@@ -2135,16 +2135,16 @@ class Ot {
2135
2135
  */
2136
2136
  reduce(e) {
2137
2137
  var a;
2138
- let O = e >> 19, r = e & 65535, { parser: i } = this.p, s = i.dynamicPrecedence(r);
2138
+ let O = e >> 19, r = e & 65535, { parser: o } = this.p, s = o.dynamicPrecedence(r);
2139
2139
  if (s && (this.score += s), O == 0) {
2140
- this.pushState(i.getGoto(this.state, r, !0), this.reducePos), r < i.minRepeatTerm && this.storeNode(r, this.reducePos, this.reducePos, 4, !0), this.reduceContext(r, this.reducePos);
2140
+ this.pushState(o.getGoto(this.state, r, !0), this.reducePos), r < o.minRepeatTerm && this.storeNode(r, this.reducePos, this.reducePos, 4, !0), this.reduceContext(r, this.reducePos);
2141
2141
  return;
2142
2142
  }
2143
- let o = this.stack.length - (O - 1) * 3 - (e & 262144 ? 6 : 0), n = o ? this.stack[o - 2] : this.p.ranges[0].from, l = this.reducePos - n;
2143
+ let i = this.stack.length - (O - 1) * 3 - (e & 262144 ? 6 : 0), n = i ? this.stack[i - 2] : this.p.ranges[0].from, l = this.reducePos - n;
2144
2144
  l >= 2e3 && !(!((a = this.p.parser.nodeSet.types[r]) === null || a === void 0) && a.isAnonymous) && (n == this.p.lastBigReductionStart ? (this.p.bigReductionCount++, this.p.lastBigReductionSize = l) : this.p.lastBigReductionSize < l && (this.p.bigReductionCount = 1, this.p.lastBigReductionStart = n, this.p.lastBigReductionSize = l));
2145
- let c = o ? this.stack[o - 1] : 0, d = this.bufferBase + this.buffer.length - c;
2146
- if (r < i.minRepeatTerm || e & 131072) {
2147
- let h = i.stateFlag(
2145
+ let c = i ? this.stack[i - 1] : 0, d = this.bufferBase + this.buffer.length - c;
2146
+ if (r < o.minRepeatTerm || e & 131072) {
2147
+ let h = o.stateFlag(
2148
2148
  this.state,
2149
2149
  1
2150
2150
  /* StateFlag.Skipped */
@@ -2152,12 +2152,12 @@ class Ot {
2152
2152
  this.storeNode(r, n, h, d + 4, !0);
2153
2153
  }
2154
2154
  if (e & 262144)
2155
- this.state = this.stack[o];
2155
+ this.state = this.stack[i];
2156
2156
  else {
2157
- let h = this.stack[o - 3];
2158
- this.state = i.getGoto(h, r, !0);
2157
+ let h = this.stack[i - 3];
2158
+ this.state = o.getGoto(h, r, !0);
2159
2159
  }
2160
- for (; this.stack.length > o; )
2160
+ for (; this.stack.length > i; )
2161
2161
  this.stack.pop();
2162
2162
  this.reduceContext(r, n);
2163
2163
  }
@@ -2165,19 +2165,19 @@ class Ot {
2165
2165
  /**
2166
2166
  @internal
2167
2167
  */
2168
- storeNode(e, a, O, r = 4, i = !1) {
2168
+ storeNode(e, a, O, r = 4, o = !1) {
2169
2169
  if (e == 0 && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
2170
- let s = this, o = this.buffer.length;
2171
- if (o == 0 && s.parent && (o = s.bufferBase - s.parent.bufferBase, s = s.parent), o > 0 && s.buffer[o - 4] == 0 && s.buffer[o - 1] > -1) {
2170
+ let s = this, i = this.buffer.length;
2171
+ if (i == 0 && s.parent && (i = s.bufferBase - s.parent.bufferBase, s = s.parent), i > 0 && s.buffer[i - 4] == 0 && s.buffer[i - 1] > -1) {
2172
2172
  if (a == O)
2173
2173
  return;
2174
- if (s.buffer[o - 2] >= a) {
2175
- s.buffer[o - 2] = O;
2174
+ if (s.buffer[i - 2] >= a) {
2175
+ s.buffer[i - 2] = O;
2176
2176
  return;
2177
2177
  }
2178
2178
  }
2179
2179
  }
2180
- if (!i || this.pos == O)
2180
+ if (!o || this.pos == O)
2181
2181
  this.buffer.push(e, a, O, r);
2182
2182
  else {
2183
2183
  let s = this.buffer.length;
@@ -2197,12 +2197,12 @@ class Ot {
2197
2197
  else if (e & 262144)
2198
2198
  this.pos = r, this.shiftContext(a, O), a <= this.p.parser.maxNode && this.buffer.push(a, O, r, 4);
2199
2199
  else {
2200
- let i = e, { parser: s } = this.p;
2200
+ let o = e, { parser: s } = this.p;
2201
2201
  (r > this.pos || a <= s.maxNode) && (this.pos = r, s.stateFlag(
2202
- i,
2202
+ o,
2203
2203
  1
2204
2204
  /* StateFlag.Skipped */
2205
- ) || (this.reducePos = r)), this.pushState(i, O), this.shiftContext(a, O), a <= s.maxNode && this.buffer.push(a, O, r, 4);
2205
+ ) || (this.reducePos = r)), this.pushState(o, O), this.shiftContext(a, O), a <= s.maxNode && this.buffer.push(a, O, r, 4);
2206
2206
  }
2207
2207
  }
2208
2208
  // Apply an action
@@ -2258,7 +2258,7 @@ class Ot {
2258
2258
  given token when it applies.
2259
2259
  */
2260
2260
  canShift(e) {
2261
- for (let a = new Zi(this); ; ) {
2261
+ for (let a = new yo(this); ; ) {
2262
2262
  let O = this.p.parser.stateSlot(
2263
2263
  a.state,
2264
2264
  4
@@ -2282,22 +2282,22 @@ class Ot {
2282
2282
  let a = this.p.parser.nextStates(this.state);
2283
2283
  if (a.length > 8 || this.stack.length >= 120) {
2284
2284
  let r = [];
2285
- for (let i = 0, s; i < a.length; i += 2)
2286
- (s = a[i + 1]) != this.state && this.p.parser.hasAction(s, e) && r.push(a[i], s);
2285
+ for (let o = 0, s; o < a.length; o += 2)
2286
+ (s = a[o + 1]) != this.state && this.p.parser.hasAction(s, e) && r.push(a[o], s);
2287
2287
  if (this.stack.length < 120)
2288
- for (let i = 0; r.length < 8 && i < a.length; i += 2) {
2289
- let s = a[i + 1];
2290
- r.some((o, n) => n & 1 && o == s) || r.push(a[i], s);
2288
+ for (let o = 0; r.length < 8 && o < a.length; o += 2) {
2289
+ let s = a[o + 1];
2290
+ r.some((i, n) => n & 1 && i == s) || r.push(a[o], s);
2291
2291
  }
2292
2292
  a = r;
2293
2293
  }
2294
2294
  let O = [];
2295
2295
  for (let r = 0; r < a.length && O.length < 4; r += 2) {
2296
- let i = a[r + 1];
2297
- if (i == this.state)
2296
+ let o = a[r + 1];
2297
+ if (o == this.state)
2298
2298
  continue;
2299
2299
  let s = this.split();
2300
- s.pushState(i, this.pos), s.storeNode(0, s.pos, s.pos, 4, !0), s.shiftContext(a[r], this.pos), s.reducePos = this.pos, s.score -= 200, O.push(s);
2300
+ s.pushState(o, this.pos), s.storeNode(0, s.pos, s.pos, 4, !0), s.shiftContext(a[r], this.pos), s.reducePos = this.pos, s.score -= 200, O.push(s);
2301
2301
  }
2302
2302
  return O;
2303
2303
  }
@@ -2315,8 +2315,8 @@ class Ot {
2315
2315
  if (!(a & 65536))
2316
2316
  return !1;
2317
2317
  if (!e.validAction(this.state, a)) {
2318
- let O = a >> 19, r = a & 65535, i = this.stack.length - O * 3;
2319
- if (i < 0 || e.getGoto(this.stack[i], r, !1) < 0) {
2318
+ let O = a >> 19, r = a & 65535, o = this.stack.length - O * 3;
2319
+ if (o < 0 || e.getGoto(this.stack[o], r, !1) < 0) {
2320
2320
  let s = this.findForcedReduction();
2321
2321
  if (s == null)
2322
2322
  return !1;
@@ -2332,21 +2332,21 @@ class Ot {
2332
2332
  isn't a valid action. @internal
2333
2333
  */
2334
2334
  findForcedReduction() {
2335
- let { parser: e } = this.p, a = [], O = (r, i) => {
2335
+ let { parser: e } = this.p, a = [], O = (r, o) => {
2336
2336
  if (!a.includes(r))
2337
2337
  return a.push(r), e.allActions(r, (s) => {
2338
2338
  if (!(s & 393216))
2339
2339
  if (s & 65536) {
2340
- let o = (s >> 19) - i;
2341
- if (o > 1) {
2342
- let n = s & 65535, l = this.stack.length - o * 3;
2340
+ let i = (s >> 19) - o;
2341
+ if (i > 1) {
2342
+ let n = s & 65535, l = this.stack.length - i * 3;
2343
2343
  if (l >= 0 && e.getGoto(this.stack[l], n, !1) >= 0)
2344
- return o << 19 | 65536 | n;
2344
+ return i << 19 | 65536 | n;
2345
2345
  }
2346
2346
  } else {
2347
- let o = O(s, i + 1);
2348
- if (o != null)
2349
- return o;
2347
+ let i = O(s, o + 1);
2348
+ if (i != null)
2349
+ return i;
2350
2350
  }
2351
2351
  });
2352
2352
  };
@@ -2462,7 +2462,7 @@ class Za {
2462
2462
  this.tracker = e, this.context = a, this.hash = e.strict ? e.hash(a) : 0;
2463
2463
  }
2464
2464
  }
2465
- class Zi {
2465
+ class yo {
2466
2466
  constructor(e) {
2467
2467
  this.start = e, this.state = e.state, this.stack = e.stack, this.base = this.stack.length;
2468
2468
  }
@@ -2508,20 +2508,20 @@ function xe(t, e = Uint16Array) {
2508
2508
  return t;
2509
2509
  let a = null;
2510
2510
  for (let O = 0, r = 0; O < t.length; ) {
2511
- let i = 0;
2511
+ let o = 0;
2512
2512
  for (; ; ) {
2513
- let s = t.charCodeAt(O++), o = !1;
2513
+ let s = t.charCodeAt(O++), i = !1;
2514
2514
  if (s == 126) {
2515
- i = 65535;
2515
+ o = 65535;
2516
2516
  break;
2517
2517
  }
2518
2518
  s >= 92 && s--, s >= 34 && s--;
2519
2519
  let n = s - 32;
2520
- if (n >= 46 && (n -= 46, o = !0), i += n, o)
2520
+ if (n >= 46 && (n -= 46, i = !0), o += n, i)
2521
2521
  break;
2522
- i *= 46;
2522
+ o *= 46;
2523
2523
  }
2524
- a ? a[r++] = i : a = new e(i);
2524
+ a ? a[r++] = o : a = new e(o);
2525
2525
  }
2526
2526
  return a;
2527
2527
  }
@@ -2531,7 +2531,7 @@ class Fe {
2531
2531
  }
2532
2532
  }
2533
2533
  const ya = new Fe();
2534
- class yi {
2534
+ class vo {
2535
2535
  /**
2536
2536
  @internal
2537
2537
  */
@@ -2542,20 +2542,20 @@ class yi {
2542
2542
  @internal
2543
2543
  */
2544
2544
  resolveOffset(e, a) {
2545
- let O = this.range, r = this.rangeIndex, i = this.pos + e;
2546
- for (; i < O.from; ) {
2545
+ let O = this.range, r = this.rangeIndex, o = this.pos + e;
2546
+ for (; o < O.from; ) {
2547
2547
  if (!r)
2548
2548
  return null;
2549
2549
  let s = this.ranges[--r];
2550
- i -= O.from - s.to, O = s;
2550
+ o -= O.from - s.to, O = s;
2551
2551
  }
2552
- for (; a < 0 ? i > O.to : i >= O.to; ) {
2552
+ for (; a < 0 ? o > O.to : o >= O.to; ) {
2553
2553
  if (r == this.ranges.length - 1)
2554
2554
  return null;
2555
2555
  let s = this.ranges[++r];
2556
- i += s.from - O.to, O = s;
2556
+ o += s.from - O.to, O = s;
2557
2557
  }
2558
- return i;
2558
+ return o;
2559
2559
  }
2560
2560
  /**
2561
2561
  @internal
@@ -2584,16 +2584,16 @@ class yi {
2584
2584
  if (a >= 0 && a < this.chunk.length)
2585
2585
  O = this.pos + e, r = this.chunk.charCodeAt(a);
2586
2586
  else {
2587
- let i = this.resolveOffset(e, 1);
2588
- if (i == null)
2587
+ let o = this.resolveOffset(e, 1);
2588
+ if (o == null)
2589
2589
  return -1;
2590
- if (O = i, O >= this.chunk2Pos && O < this.chunk2Pos + this.chunk2.length)
2590
+ if (O = o, O >= this.chunk2Pos && O < this.chunk2Pos + this.chunk2.length)
2591
2591
  r = this.chunk2.charCodeAt(O - this.chunk2Pos);
2592
2592
  else {
2593
- let s = this.rangeIndex, o = this.range;
2594
- for (; o.to <= O; )
2595
- o = this.ranges[++s];
2596
- this.chunk2 = this.input.chunk(this.chunk2Pos = O), O + this.chunk2.length > o.to && (this.chunk2 = this.chunk2.slice(0, o.to - O)), r = this.chunk2.charCodeAt(0);
2593
+ let s = this.rangeIndex, i = this.range;
2594
+ for (; i.to <= O; )
2595
+ i = this.ranges[++s];
2596
+ this.chunk2 = this.input.chunk(this.chunk2Pos = O), O + this.chunk2.length > i.to && (this.chunk2 = this.chunk2.slice(0, i.to - O)), r = this.chunk2.charCodeAt(0);
2597
2597
  }
2598
2598
  }
2599
2599
  return O >= this.token.lookAhead && (this.token.lookAhead = O + 1), r;
@@ -2694,12 +2694,12 @@ class st {
2694
2694
  token(e, a) {
2695
2695
  let O = e.pos, r = 0;
2696
2696
  for (; ; ) {
2697
- let i = e.next < 0, s = e.resolveOffset(1, 1);
2697
+ let o = e.next < 0, s = e.resolveOffset(1, 1);
2698
2698
  if (WO(this.data, e, a, 0, this.data, this.precTable), e.token.value > -1)
2699
2699
  break;
2700
2700
  if (this.elseToken == null)
2701
2701
  return;
2702
- if (i || r++, s == null)
2702
+ if (o || r++, s == null)
2703
2703
  break;
2704
2704
  e.reset(s, e.token);
2705
2705
  }
@@ -2719,15 +2719,15 @@ class z {
2719
2719
  this.token = e, this.contextual = !!a.contextual, this.fallback = !!a.fallback, this.extend = !!a.extend;
2720
2720
  }
2721
2721
  }
2722
- function WO(t, e, a, O, r, i) {
2723
- let s = 0, o = 1 << O, { dialect: n } = a.p.parser;
2722
+ function WO(t, e, a, O, r, o) {
2723
+ let s = 0, i = 1 << O, { dialect: n } = a.p.parser;
2724
2724
  e:
2725
- for (; o & t[s]; ) {
2725
+ for (; i & t[s]; ) {
2726
2726
  let l = t[s + 1];
2727
2727
  for (let f = s + 3; f < l; f += 2)
2728
- if ((t[f + 1] & o) > 0) {
2728
+ if ((t[f + 1] & i) > 0) {
2729
2729
  let g = t[f];
2730
- if (n.allows(g) && (e.token.value == -1 || e.token.value == g || vi(g, e.token.value, r, i))) {
2730
+ if (n.allows(g) && (e.token.value == -1 || e.token.value == g || wo(g, e.token.value, r, o))) {
2731
2731
  e.acceptToken(g);
2732
2732
  break;
2733
2733
  }
@@ -2757,7 +2757,7 @@ function va(t, e, a) {
2757
2757
  return O - e;
2758
2758
  return -1;
2759
2759
  }
2760
- function vi(t, e, a, O) {
2760
+ function wo(t, e, a, O) {
2761
2761
  let r = va(a, O, e);
2762
2762
  return r < 0 || va(a, O, t) < r;
2763
2763
  }
@@ -2784,7 +2784,7 @@ function wa(t, e, a) {
2784
2784
  return a < 0 ? 0 : t.length;
2785
2785
  }
2786
2786
  }
2787
- class wi {
2787
+ class ko {
2788
2788
  constructor(e, a) {
2789
2789
  this.fragments = e, this.nodeSet = a, this.i = 0, this.fragment = null, this.safeFrom = -1, this.safeTo = -1, this.trees = [], this.start = [], this.index = [], this.nextFragment();
2790
2790
  }
@@ -2814,41 +2814,41 @@ class wi {
2814
2814
  this.trees.pop(), this.start.pop(), this.index.pop();
2815
2815
  continue;
2816
2816
  }
2817
- let i = O.children[r], s = this.start[a] + O.positions[r];
2817
+ let o = O.children[r], s = this.start[a] + O.positions[r];
2818
2818
  if (s > e)
2819
2819
  return this.nextStart = s, null;
2820
- if (i instanceof Le) {
2820
+ if (o instanceof Le) {
2821
2821
  if (s == e) {
2822
2822
  if (s < this.safeFrom)
2823
2823
  return null;
2824
- let o = s + i.length;
2825
- if (o <= this.safeTo) {
2826
- let n = i.prop(Lt.lookAhead);
2827
- if (!n || o + n < this.fragment.to)
2828
- return i;
2824
+ let i = s + o.length;
2825
+ if (i <= this.safeTo) {
2826
+ let n = o.prop(Lt.lookAhead);
2827
+ if (!n || i + n < this.fragment.to)
2828
+ return o;
2829
2829
  }
2830
2830
  }
2831
- this.index[a]++, s + i.length >= Math.max(this.safeFrom, e) && (this.trees.push(i), this.start.push(s), this.index.push(0));
2831
+ this.index[a]++, s + o.length >= Math.max(this.safeFrom, e) && (this.trees.push(o), this.start.push(s), this.index.push(0));
2832
2832
  } else
2833
- this.index[a]++, this.nextStart = s + i.length;
2833
+ this.index[a]++, this.nextStart = s + o.length;
2834
2834
  }
2835
2835
  }
2836
2836
  }
2837
- class ki {
2837
+ class To {
2838
2838
  constructor(e, a) {
2839
2839
  this.stream = a, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e.tokenizers.map((O) => new Fe());
2840
2840
  }
2841
2841
  getActions(e) {
2842
- let a = 0, O = null, { parser: r } = e.p, { tokenizers: i } = r, s = r.stateSlot(
2842
+ let a = 0, O = null, { parser: r } = e.p, { tokenizers: o } = r, s = r.stateSlot(
2843
2843
  e.state,
2844
2844
  3
2845
2845
  /* ParseState.TokenizerMask */
2846
- ), o = e.curContext ? e.curContext.hash : 0, n = 0;
2847
- for (let l = 0; l < i.length; l++) {
2846
+ ), i = e.curContext ? e.curContext.hash : 0, n = 0;
2847
+ for (let l = 0; l < o.length; l++) {
2848
2848
  if (!(1 << l & s))
2849
2849
  continue;
2850
- let c = i[l], d = this.tokens[l];
2851
- if (!(O && !c.fallback) && ((c.contextual || d.start != e.pos || d.mask != s || d.context != o) && (this.updateCachedToken(d, c, e), d.mask = s, d.context = o), d.lookAhead > d.end + 25 && (n = Math.max(d.lookAhead, n)), d.value != 0)) {
2850
+ let c = o[l], d = this.tokens[l];
2851
+ if (!(O && !c.fallback) && ((c.contextual || d.start != e.pos || d.mask != s || d.context != i) && (this.updateCachedToken(d, c, e), d.mask = s, d.context = i), d.lookAhead > d.end + 25 && (n = Math.max(d.lookAhead, n)), d.value != 0)) {
2852
2852
  let h = a;
2853
2853
  if (d.extended > -1 && (a = this.addActions(e, d.extended, d.end, a)), a = this.addActions(e, d.value, d.end, a), !c.extend && (O = d, a > h))
2854
2854
  break;
@@ -2867,12 +2867,12 @@ class ki {
2867
2867
  updateCachedToken(e, a, O) {
2868
2868
  let r = this.stream.clipPos(O.pos);
2869
2869
  if (a.token(this.stream.reset(r, e), O), e.value > -1) {
2870
- let { parser: i } = O.p;
2871
- for (let s = 0; s < i.specialized.length; s++)
2872
- if (i.specialized[s] == e.value) {
2873
- let o = i.specializers[s](this.stream.read(e.start, e.end), O);
2874
- if (o >= 0 && O.p.parser.dialect.allows(o >> 1)) {
2875
- o & 1 ? e.extended = o >> 1 : e.value = o >> 1;
2870
+ let { parser: o } = O.p;
2871
+ for (let s = 0; s < o.specialized.length; s++)
2872
+ if (o.specialized[s] == e.value) {
2873
+ let i = o.specializers[s](this.stream.read(e.start, e.end), O);
2874
+ if (i >= 0 && O.p.parser.dialect.allows(i >> 1)) {
2875
+ i & 1 ? e.extended = i >> 1 : e.value = i >> 1;
2876
2876
  break;
2877
2877
  }
2878
2878
  }
@@ -2880,36 +2880,36 @@ class ki {
2880
2880
  e.value = 0, e.end = this.stream.clipPos(r + 1);
2881
2881
  }
2882
2882
  putAction(e, a, O, r) {
2883
- for (let i = 0; i < r; i += 3)
2884
- if (this.actions[i] == e)
2883
+ for (let o = 0; o < r; o += 3)
2884
+ if (this.actions[o] == e)
2885
2885
  return r;
2886
2886
  return this.actions[r++] = e, this.actions[r++] = a, this.actions[r++] = O, r;
2887
2887
  }
2888
2888
  addActions(e, a, O, r) {
2889
- let { state: i } = e, { parser: s } = e.p, { data: o } = s;
2889
+ let { state: o } = e, { parser: s } = e.p, { data: i } = s;
2890
2890
  for (let n = 0; n < 2; n++)
2891
2891
  for (let l = s.stateSlot(
2892
- i,
2892
+ o,
2893
2893
  n ? 2 : 1
2894
2894
  /* ParseState.Actions */
2895
2895
  ); ; l += 3) {
2896
- if (o[l] == 65535)
2897
- if (o[l + 1] == 1)
2898
- l = te(o, l + 2);
2896
+ if (i[l] == 65535)
2897
+ if (i[l + 1] == 1)
2898
+ l = te(i, l + 2);
2899
2899
  else {
2900
- r == 0 && o[l + 1] == 2 && (r = this.putAction(te(o, l + 2), a, O, r));
2900
+ r == 0 && i[l + 1] == 2 && (r = this.putAction(te(i, l + 2), a, O, r));
2901
2901
  break;
2902
2902
  }
2903
- o[l] == a && (r = this.putAction(te(o, l + 1), a, O, r));
2903
+ i[l] == a && (r = this.putAction(te(i, l + 1), a, O, r));
2904
2904
  }
2905
2905
  return r;
2906
2906
  }
2907
2907
  }
2908
- class Ti {
2908
+ class Xo {
2909
2909
  constructor(e, a, O, r) {
2910
- this.parser = e, this.input = a, this.ranges = r, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new yi(a, r), this.tokens = new ki(e, this.stream), this.topTerm = e.top[1];
2911
- let { from: i } = r[0];
2912
- this.stacks = [Ot.start(this, e.top[0], i)], this.fragments = O.length && this.stream.end - i > e.bufferLength * 4 ? new wi(O, e.nodeSet) : null;
2910
+ this.parser = e, this.input = a, this.ranges = r, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new vo(a, r), this.tokens = new To(e, this.stream), this.topTerm = e.top[1];
2911
+ let { from: o } = r[0];
2912
+ this.stacks = [Ot.start(this, e.top[0], o)], this.fragments = O.length && this.stream.end - o > e.bufferLength * 4 ? new ko(O, e.nodeSet) : null;
2913
2913
  }
2914
2914
  get parsedPos() {
2915
2915
  return this.minStackPos;
@@ -2921,7 +2921,7 @@ class Ti {
2921
2921
  // When the parse is finished, this will return a syntax tree. When
2922
2922
  // not, it returns `null`.
2923
2923
  advance() {
2924
- let e = this.stacks, a = this.minStackPos, O = this.stacks = [], r, i;
2924
+ let e = this.stacks, a = this.minStackPos, O = this.stacks = [], r, o;
2925
2925
  if (this.bigReductionCount > 300 && e.length == 1) {
2926
2926
  let [s] = e;
2927
2927
  for (; s.forceReduce() && s.stack.length && s.stack[s.stack.length - 2] >= this.lastBigReductionStart; )
@@ -2929,24 +2929,24 @@ class Ti {
2929
2929
  this.bigReductionCount = this.lastBigReductionSize = 0;
2930
2930
  }
2931
2931
  for (let s = 0; s < e.length; s++) {
2932
- let o = e[s];
2932
+ let i = e[s];
2933
2933
  for (; ; ) {
2934
- if (this.tokens.mainToken = null, o.pos > a)
2935
- O.push(o);
2934
+ if (this.tokens.mainToken = null, i.pos > a)
2935
+ O.push(i);
2936
2936
  else {
2937
- if (this.advanceStack(o, O, e))
2937
+ if (this.advanceStack(i, O, e))
2938
2938
  continue;
2939
2939
  {
2940
- r || (r = [], i = []), r.push(o);
2941
- let n = this.tokens.getMainToken(o);
2942
- i.push(n.value, n.end);
2940
+ r || (r = [], o = []), r.push(i);
2941
+ let n = this.tokens.getMainToken(i);
2942
+ o.push(n.value, n.end);
2943
2943
  }
2944
2944
  }
2945
2945
  break;
2946
2946
  }
2947
2947
  }
2948
2948
  if (!O.length) {
2949
- let s = r && xi(r);
2949
+ let s = r && _o(r);
2950
2950
  if (s)
2951
2951
  return B && console.log("Finish with " + this.stackID(s)), this.stackToTree(s);
2952
2952
  if (this.parser.strict)
@@ -2954,24 +2954,24 @@ class Ti {
2954
2954
  this.recovering || (this.recovering = 5);
2955
2955
  }
2956
2956
  if (this.recovering && r) {
2957
- let s = this.stoppedAt != null && r[0].pos > this.stoppedAt ? r[0] : this.runRecovery(r, i, O);
2957
+ let s = this.stoppedAt != null && r[0].pos > this.stoppedAt ? r[0] : this.runRecovery(r, o, O);
2958
2958
  if (s)
2959
2959
  return B && console.log("Force-finish " + this.stackID(s)), this.stackToTree(s.forceAll());
2960
2960
  }
2961
2961
  if (this.recovering) {
2962
2962
  let s = this.recovering == 1 ? 1 : this.recovering * 3;
2963
2963
  if (O.length > s)
2964
- for (O.sort((o, n) => n.score - o.score); O.length > s; )
2964
+ for (O.sort((i, n) => n.score - i.score); O.length > s; )
2965
2965
  O.pop();
2966
- O.some((o) => o.reducePos > a) && this.recovering--;
2966
+ O.some((i) => i.reducePos > a) && this.recovering--;
2967
2967
  } else if (O.length > 1) {
2968
2968
  e:
2969
2969
  for (let s = 0; s < O.length - 1; s++) {
2970
- let o = O[s];
2970
+ let i = O[s];
2971
2971
  for (let n = s + 1; n < O.length; n++) {
2972
2972
  let l = O[n];
2973
- if (o.sameState(l) || o.buffer.length > 500 && l.buffer.length > 500)
2974
- if ((o.score - l.score || o.buffer.length - l.buffer.length) > 0)
2973
+ if (i.sameState(l) || i.buffer.length > 500 && l.buffer.length > 500)
2974
+ if ((i.score - l.score || i.buffer.length - l.buffer.length) > 0)
2975
2975
  O.splice(n--, 1);
2976
2976
  else {
2977
2977
  O.splice(s--, 1);
@@ -3000,15 +3000,15 @@ class Ti {
3000
3000
  // given, stacks split off by ambiguous operations will be pushed to
3001
3001
  // `split`, or added to `stacks` if they move `pos` forward.
3002
3002
  advanceStack(e, a, O) {
3003
- let r = e.pos, { parser: i } = this, s = B ? this.stackID(e) + " -> " : "";
3003
+ let r = e.pos, { parser: o } = this, s = B ? this.stackID(e) + " -> " : "";
3004
3004
  if (this.stoppedAt != null && r > this.stoppedAt)
3005
3005
  return e.forceReduce() ? e : null;
3006
3006
  if (this.fragments) {
3007
3007
  let l = e.curContext && e.curContext.tracker.strict, c = l ? e.curContext.hash : 0;
3008
3008
  for (let d = this.fragments.nodeAt(r); d; ) {
3009
- let h = this.parser.nodeSet.types[d.type.id] == d.type ? i.getGoto(e.state, d.type.id) : -1;
3009
+ let h = this.parser.nodeSet.types[d.type.id] == d.type ? o.getGoto(e.state, d.type.id) : -1;
3010
3010
  if (h > -1 && d.length && (!l || (d.prop(Lt.contextHash) || 0) == c))
3011
- return e.useNode(d, h), B && console.log(s + this.stackID(e) + ` (via reuse of ${i.getName(d.type.id)})`), !0;
3011
+ return e.useNode(d, h), B && console.log(s + this.stackID(e) + ` (via reuse of ${o.getName(d.type.id)})`), !0;
3012
3012
  if (!(d instanceof Le) || d.children.length == 0 || d.positions[0] > 0)
3013
3013
  break;
3014
3014
  let f = d.children[0];
@@ -3018,14 +3018,14 @@ class Ti {
3018
3018
  break;
3019
3019
  }
3020
3020
  }
3021
- let o = i.stateSlot(
3021
+ let i = o.stateSlot(
3022
3022
  e.state,
3023
3023
  4
3024
3024
  /* ParseState.DefaultReduce */
3025
3025
  );
3026
- if (o > 0)
3027
- return e.reduce(o), B && console.log(s + this.stackID(e) + ` (via always-reduce ${i.getName(
3028
- o & 65535
3026
+ if (i > 0)
3027
+ return e.reduce(i), B && console.log(s + this.stackID(e) + ` (via always-reduce ${o.getName(
3028
+ i & 65535
3029
3029
  /* Action.ValueMask */
3030
3030
  )})`), !0;
3031
3031
  if (e.stack.length >= 8400)
@@ -3034,10 +3034,10 @@ class Ti {
3034
3034
  let n = this.tokens.getActions(e);
3035
3035
  for (let l = 0; l < n.length; ) {
3036
3036
  let c = n[l++], d = n[l++], h = n[l++], f = l == n.length || !O, g = f ? e : e.split(), y = this.tokens.mainToken;
3037
- if (g.apply(c, d, y ? y.start : g.pos, h), B && console.log(s + this.stackID(g) + ` (via ${c & 65536 ? `reduce of ${i.getName(
3037
+ if (g.apply(c, d, y ? y.start : g.pos, h), B && console.log(s + this.stackID(g) + ` (via ${c & 65536 ? `reduce of ${o.getName(
3038
3038
  c & 65535
3039
3039
  /* Action.ValueMask */
3040
- )}` : "shift"} for ${i.getName(d)} @ ${r}${g == e ? "" : ", split"})`), f)
3040
+ )}` : "shift"} for ${o.getName(d)} @ ${r}${g == e ? "" : ", split"})`), f)
3041
3041
  return !0;
3042
3042
  g.pos > r ? a.push(g) : O.push(g);
3043
3043
  }
@@ -3056,17 +3056,17 @@ class Ti {
3056
3056
  }
3057
3057
  }
3058
3058
  runRecovery(e, a, O) {
3059
- let r = null, i = !1;
3059
+ let r = null, o = !1;
3060
3060
  for (let s = 0; s < e.length; s++) {
3061
- let o = e[s], n = a[s << 1], l = a[(s << 1) + 1], c = B ? this.stackID(o) + " -> " : "";
3062
- if (o.deadEnd && (i || (i = !0, o.restart(), B && console.log(c + this.stackID(o) + " (restarted)"), this.advanceFully(o, O))))
3061
+ let i = e[s], n = a[s << 1], l = a[(s << 1) + 1], c = B ? this.stackID(i) + " -> " : "";
3062
+ if (i.deadEnd && (o || (o = !0, i.restart(), B && console.log(c + this.stackID(i) + " (restarted)"), this.advanceFully(i, O))))
3063
3063
  continue;
3064
- let d = o.split(), h = c;
3064
+ let d = i.split(), h = c;
3065
3065
  for (let f = 0; d.forceReduce() && f < 10 && (B && console.log(h + this.stackID(d) + " (via force-reduce)"), !this.advanceFully(d, O)); f++)
3066
3066
  B && (h = this.stackID(d) + " -> ");
3067
- for (let f of o.recoverByInsert(n))
3067
+ for (let f of i.recoverByInsert(n))
3068
3068
  B && console.log(c + this.stackID(f) + " (via recover-insert)"), this.advanceFully(f, O);
3069
- this.stream.end > o.pos ? (l == o.pos && (l++, n = 0), o.recoverByDelete(n, l), B && console.log(c + this.stackID(o) + ` (via recover-delete ${this.parser.getName(n)})`), ka(o, O)) : (!r || r.score < o.score) && (r = o);
3069
+ this.stream.end > i.pos ? (l == i.pos && (l++, n = 0), i.recoverByDelete(n, l), B && console.log(c + this.stackID(i) + ` (via recover-delete ${this.parser.getName(n)})`), ka(i, O)) : (!r || r.score < i.score) && (r = i);
3070
3070
  }
3071
3071
  return r;
3072
3072
  }
@@ -3098,7 +3098,7 @@ function ka(t, e) {
3098
3098
  }
3099
3099
  e.push(t);
3100
3100
  }
3101
- class Xi {
3101
+ class xo {
3102
3102
  constructor(e, a, O) {
3103
3103
  this.source = e, this.flags = a, this.disabled = O;
3104
3104
  }
@@ -3124,32 +3124,32 @@ class le extends Lr {
3124
3124
  throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);
3125
3125
  let a = e.nodeNames.split(" ");
3126
3126
  this.minRepeatTerm = a.length;
3127
- for (let o = 0; o < e.repeatNodeCount; o++)
3127
+ for (let i = 0; i < e.repeatNodeCount; i++)
3128
3128
  a.push("");
3129
- let O = Object.keys(e.topRules).map((o) => e.topRules[o][1]), r = [];
3130
- for (let o = 0; o < a.length; o++)
3129
+ let O = Object.keys(e.topRules).map((i) => e.topRules[i][1]), r = [];
3130
+ for (let i = 0; i < a.length; i++)
3131
3131
  r.push([]);
3132
- function i(o, n, l) {
3133
- r[o].push([n, n.deserialize(String(l))]);
3132
+ function o(i, n, l) {
3133
+ r[i].push([n, n.deserialize(String(l))]);
3134
3134
  }
3135
3135
  if (e.nodeProps)
3136
- for (let o of e.nodeProps) {
3137
- let n = o[0];
3136
+ for (let i of e.nodeProps) {
3137
+ let n = i[0];
3138
3138
  typeof n == "string" && (n = Lt[n]);
3139
- for (let l = 1; l < o.length; ) {
3140
- let c = o[l++];
3139
+ for (let l = 1; l < i.length; ) {
3140
+ let c = i[l++];
3141
3141
  if (c >= 0)
3142
- i(c, n, o[l++]);
3142
+ o(c, n, i[l++]);
3143
3143
  else {
3144
- let d = o[l + -c];
3144
+ let d = i[l + -c];
3145
3145
  for (let h = -c; h > 0; h--)
3146
- i(o[l++], n, d);
3146
+ o(i[l++], n, d);
3147
3147
  l++;
3148
3148
  }
3149
3149
  }
3150
3150
  }
3151
- this.nodeSet = new Fr(a.map((o, n) => Jr.define({
3152
- name: n >= this.minRepeatTerm ? void 0 : o,
3151
+ this.nodeSet = new Fr(a.map((i, n) => Jr.define({
3152
+ name: n >= this.minRepeatTerm ? void 0 : i,
3153
3153
  id: n,
3154
3154
  props: r[n],
3155
3155
  top: O.indexOf(n) > -1,
@@ -3158,14 +3158,14 @@ class le extends Lr {
3158
3158
  }))), e.propSources && (this.nodeSet = this.nodeSet.extend(...e.propSources)), this.strict = !1, this.bufferLength = Kr;
3159
3159
  let s = xe(e.tokenData);
3160
3160
  this.context = e.context, this.specializerSpecs = e.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
3161
- for (let o = 0; o < this.specializerSpecs.length; o++)
3162
- this.specialized[o] = this.specializerSpecs[o].term;
3163
- this.specializers = this.specializerSpecs.map(Ta), this.states = xe(e.states, Uint32Array), this.data = xe(e.stateData), this.goto = xe(e.goto), this.maxTerm = e.maxTerm, this.tokenizers = e.tokenizers.map((o) => typeof o == "number" ? new Ze(s, o) : o), this.topRules = e.topRules, this.dialects = e.dialects || {}, this.dynamicPrecedences = e.dynamicPrecedences || null, this.tokenPrecTable = e.tokenPrec, this.termNames = e.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
3161
+ for (let i = 0; i < this.specializerSpecs.length; i++)
3162
+ this.specialized[i] = this.specializerSpecs[i].term;
3163
+ this.specializers = this.specializerSpecs.map(Ta), this.states = xe(e.states, Uint32Array), this.data = xe(e.stateData), this.goto = xe(e.goto), this.maxTerm = e.maxTerm, this.tokenizers = e.tokenizers.map((i) => typeof i == "number" ? new Ze(s, i) : i), this.topRules = e.topRules, this.dialects = e.dialects || {}, this.dynamicPrecedences = e.dynamicPrecedences || null, this.tokenPrecTable = e.tokenPrec, this.termNames = e.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
3164
3164
  }
3165
3165
  createParse(e, a, O) {
3166
- let r = new Ti(this, e, a, O);
3167
- for (let i of this.wrappers)
3168
- r = i(r, e, a, O);
3166
+ let r = new Xo(this, e, a, O);
3167
+ for (let o of this.wrappers)
3168
+ r = o(r, e, a, O);
3169
3169
  return r;
3170
3170
  }
3171
3171
  /**
@@ -3175,14 +3175,14 @@ class le extends Lr {
3175
3175
  let r = this.goto;
3176
3176
  if (a >= r[0])
3177
3177
  return -1;
3178
- for (let i = r[a + 1]; ; ) {
3179
- let s = r[i++], o = s & 1, n = r[i++];
3180
- if (o && O)
3178
+ for (let o = r[a + 1]; ; ) {
3179
+ let s = r[o++], i = s & 1, n = r[o++];
3180
+ if (i && O)
3181
3181
  return n;
3182
- for (let l = i + (s >> 1); i < l; i++)
3183
- if (r[i] == e)
3182
+ for (let l = o + (s >> 1); o < l; o++)
3183
+ if (r[o] == e)
3184
3184
  return n;
3185
- if (o)
3185
+ if (i)
3186
3186
  return -1;
3187
3187
  }
3188
3188
  }
@@ -3192,21 +3192,21 @@ class le extends Lr {
3192
3192
  hasAction(e, a) {
3193
3193
  let O = this.data;
3194
3194
  for (let r = 0; r < 2; r++)
3195
- for (let i = this.stateSlot(
3195
+ for (let o = this.stateSlot(
3196
3196
  e,
3197
3197
  r ? 2 : 1
3198
3198
  /* ParseState.Actions */
3199
- ), s; ; i += 3) {
3200
- if ((s = O[i]) == 65535)
3201
- if (O[i + 1] == 1)
3202
- s = O[i = te(O, i + 2)];
3199
+ ), s; ; o += 3) {
3200
+ if ((s = O[o]) == 65535)
3201
+ if (O[o + 1] == 1)
3202
+ s = O[o = te(O, o + 2)];
3203
3203
  else {
3204
- if (O[i + 1] == 2)
3205
- return te(O, i + 2);
3204
+ if (O[o + 1] == 2)
3205
+ return te(O, o + 2);
3206
3206
  break;
3207
3207
  }
3208
3208
  if (s == a || s == 0)
3209
- return te(O, i + 1);
3209
+ return te(O, o + 1);
3210
3210
  }
3211
3211
  return 0;
3212
3212
  }
@@ -3241,17 +3241,17 @@ class le extends Lr {
3241
3241
  4
3242
3242
  /* ParseState.DefaultReduce */
3243
3243
  ), r = O ? a(O) : void 0;
3244
- for (let i = this.stateSlot(
3244
+ for (let o = this.stateSlot(
3245
3245
  e,
3246
3246
  1
3247
3247
  /* ParseState.Actions */
3248
- ); r == null; i += 3) {
3249
- if (this.data[i] == 65535)
3250
- if (this.data[i + 1] == 1)
3251
- i = te(this.data, i + 2);
3248
+ ); r == null; o += 3) {
3249
+ if (this.data[o] == 65535)
3250
+ if (this.data[o + 1] == 1)
3251
+ o = te(this.data, o + 2);
3252
3252
  else
3253
3253
  break;
3254
- r = a(te(this.data, i + 1));
3254
+ r = a(te(this.data, o + 1));
3255
3255
  }
3256
3256
  return r;
3257
3257
  }
@@ -3273,7 +3273,7 @@ class le extends Lr {
3273
3273
  break;
3274
3274
  if (!(this.data[O + 2] & 1)) {
3275
3275
  let r = this.data[O + 1];
3276
- a.some((i, s) => s & 1 && i == r) || a.push(this.data[O], r);
3276
+ a.some((o, s) => s & 1 && o == r) || a.push(this.data[O], r);
3277
3277
  }
3278
3278
  }
3279
3279
  return a;
@@ -3292,13 +3292,13 @@ class le extends Lr {
3292
3292
  a.top = O;
3293
3293
  }
3294
3294
  return e.tokenizers && (a.tokenizers = this.tokenizers.map((O) => {
3295
- let r = e.tokenizers.find((i) => i.from == O);
3295
+ let r = e.tokenizers.find((o) => o.from == O);
3296
3296
  return r ? r.to : O;
3297
3297
  })), e.specializers && (a.specializers = this.specializers.slice(), a.specializerSpecs = this.specializerSpecs.map((O, r) => {
3298
- let i = e.specializers.find((o) => o.from == O.external);
3299
- if (!i)
3298
+ let o = e.specializers.find((i) => i.from == O.external);
3299
+ if (!o)
3300
3300
  return O;
3301
- let s = Object.assign(Object.assign({}, O), { external: i.to });
3301
+ let s = Object.assign(Object.assign({}, O), { external: o.to });
3302
3302
  return a.specializers[r] = Ta(s), s;
3303
3303
  })), e.contextTracker && (a.context = e.contextTracker), e.dialect && (a.dialect = this.parseDialect(e.dialect)), e.strict != null && (a.strict = e.strict), e.wrap && (a.wrappers = a.wrappers.concat(e.wrap)), e.bufferLength != null && (a.bufferLength = e.bufferLength), a;
3304
3304
  }
@@ -3344,16 +3344,16 @@ class le extends Lr {
3344
3344
  parseDialect(e) {
3345
3345
  let a = Object.keys(this.dialects), O = a.map(() => !1);
3346
3346
  if (e)
3347
- for (let i of e.split(" ")) {
3348
- let s = a.indexOf(i);
3347
+ for (let o of e.split(" ")) {
3348
+ let s = a.indexOf(o);
3349
3349
  s >= 0 && (O[s] = !0);
3350
3350
  }
3351
3351
  let r = null;
3352
- for (let i = 0; i < a.length; i++)
3353
- if (!O[i])
3354
- for (let s = this.dialects[a[i]], o; (o = this.data[s++]) != 65535; )
3355
- (r || (r = new Uint8Array(this.maxTerm + 1)))[o] = 1;
3356
- return new Xi(e, O, r);
3352
+ for (let o = 0; o < a.length; o++)
3353
+ if (!O[o])
3354
+ for (let s = this.dialects[a[o]], i; (i = this.data[s++]) != 65535; )
3355
+ (r || (r = new Uint8Array(this.maxTerm + 1)))[i] = 1;
3356
+ return new xo(e, O, r);
3357
3357
  }
3358
3358
  /**
3359
3359
  Used by the output of the parser generator. Not available to
@@ -3366,7 +3366,7 @@ class le extends Lr {
3366
3366
  function te(t, e) {
3367
3367
  return t[e] | t[e + 1] << 16;
3368
3368
  }
3369
- function xi(t) {
3369
+ function _o(t) {
3370
3370
  let e = null;
3371
3371
  for (let a of t) {
3372
3372
  let O = a.p.stoppedAt;
@@ -3385,7 +3385,7 @@ function Ta(t) {
3385
3385
  }
3386
3386
  return t.get;
3387
3387
  }
3388
- const _i = 99, Xa = 1, Wi = 100, Yi = 101, xa = 2, YO = [
3388
+ const Wo = 99, Xa = 1, Yo = 100, Ro = 101, xa = 2, YO = [
3389
3389
  9,
3390
3390
  10,
3391
3391
  11,
@@ -3411,41 +3411,41 @@ const _i = 99, Xa = 1, Wi = 100, Yi = 101, xa = 2, YO = [
3411
3411
  8239,
3412
3412
  8287,
3413
3413
  12288
3414
- ], Ri = 58, qi = 40, RO = 95, Ci = 91, Je = 45, Ui = 46, ji = 35, zi = 37, Vi = 38, Gi = 92, Ai = 10;
3414
+ ], qo = 58, Co = 40, RO = 95, Uo = 91, Je = 45, jo = 46, zo = 35, Vo = 37, Go = 38, Ao = 92, Eo = 10;
3415
3415
  function qe(t) {
3416
3416
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 161;
3417
3417
  }
3418
3418
  function qO(t) {
3419
3419
  return t >= 48 && t <= 57;
3420
3420
  }
3421
- const Ei = new z((t, e) => {
3421
+ const Ho = new z((t, e) => {
3422
3422
  for (let a = !1, O = 0, r = 0; ; r++) {
3423
- let { next: i } = t;
3424
- if (qe(i) || i == Je || i == RO || a && qO(i))
3425
- !a && (i != Je || r > 0) && (a = !0), O === r && i == Je && O++, t.advance();
3426
- else if (i == Gi && t.peek(1) != Ai)
3423
+ let { next: o } = t;
3424
+ if (qe(o) || o == Je || o == RO || a && qO(o))
3425
+ !a && (o != Je || r > 0) && (a = !0), O === r && o == Je && O++, t.advance();
3426
+ else if (o == Ao && t.peek(1) != Eo)
3427
3427
  t.advance(), t.next > -1 && t.advance(), a = !0;
3428
3428
  else {
3429
- a && t.acceptToken(i == qi ? Wi : O == 2 && e.canShift(xa) ? xa : Yi);
3429
+ a && t.acceptToken(o == Co ? Yo : O == 2 && e.canShift(xa) ? xa : Ro);
3430
3430
  break;
3431
3431
  }
3432
3432
  }
3433
- }), Hi = new z((t) => {
3433
+ }), Bo = new z((t) => {
3434
3434
  if (YO.includes(t.peek(-1))) {
3435
3435
  let { next: e } = t;
3436
- (qe(e) || e == RO || e == ji || e == Ui || e == Ci || e == Ri && qe(t.peek(1)) || e == Je || e == Vi) && t.acceptToken(_i);
3436
+ (qe(e) || e == RO || e == zo || e == jo || e == Uo || e == qo && qe(t.peek(1)) || e == Je || e == Go) && t.acceptToken(Wo);
3437
3437
  }
3438
- }), Bi = new z((t) => {
3438
+ }), Io = new z((t) => {
3439
3439
  if (!YO.includes(t.peek(-1))) {
3440
3440
  let { next: e } = t;
3441
- if (e == zi && (t.advance(), t.acceptToken(Xa)), qe(e)) {
3441
+ if (e == Vo && (t.advance(), t.acceptToken(Xa)), qe(e)) {
3442
3442
  do
3443
3443
  t.advance();
3444
3444
  while (qe(t.next) || qO(t.next));
3445
3445
  t.acceptToken(Xa);
3446
3446
  }
3447
3447
  }
3448
- }), Ii = Ue({
3448
+ }), Do = Ue({
3449
3449
  "AtKeyword import charset namespace keyframes media supports": p.definitionKeyword,
3450
3450
  "from to selector": p.keyword,
3451
3451
  NamespaceName: p.namespace,
@@ -3478,7 +3478,7 @@ const Ei = new z((t, e) => {
3478
3478
  "( )": p.paren,
3479
3479
  "[ ]": p.squareBracket,
3480
3480
  "{ }": p.brace
3481
- }), Di = { __proto__: null, lang: 32, "nth-child": 32, "nth-last-child": 32, "nth-of-type": 32, "nth-last-of-type": 32, dir: 32, "host-context": 32, url: 60, "url-prefix": 60, domain: 60, regexp: 60, selector: 138 }, Ni = { __proto__: null, "@import": 118, "@media": 142, "@charset": 146, "@namespace": 150, "@keyframes": 156, "@supports": 168 }, Mi = { __proto__: null, not: 132, only: 132 }, Li = le.deserialize({
3481
+ }), No = { __proto__: null, lang: 32, "nth-child": 32, "nth-last-child": 32, "nth-of-type": 32, "nth-last-of-type": 32, dir: 32, "host-context": 32, url: 60, "url-prefix": 60, domain: 60, regexp: 60, selector: 138 }, Mo = { __proto__: null, "@import": 118, "@media": 142, "@charset": 146, "@namespace": 150, "@keyframes": 156, "@supports": 168 }, Lo = { __proto__: null, not: 132, only: 132 }, Fo = le.deserialize({
3482
3482
  version: 14,
3483
3483
  states: ":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQW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S;=`%o<%lO%^`JZP;=`<%l$}",
3497
- tokenizers: [Hi, Bi, Ei, 1, 2, 3, 4, new st("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~", 28, 105)],
3497
+ tokenizers: [Bo, Io, Ho, 1, 2, 3, 4, new st("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~", 28, 105)],
3498
3498
  topRules: { StyleSheet: [0, 4], Styles: [1, 86] },
3499
- specialized: [{ term: 100, get: (t) => Di[t] || -1 }, { term: 58, get: (t) => Ni[t] || -1 }, { term: 101, get: (t) => Mi[t] || -1 }],
3499
+ specialized: [{ term: 100, get: (t) => No[t] || -1 }, { term: 58, get: (t) => Mo[t] || -1 }, { term: 101, get: (t) => Lo[t] || -1 }],
3500
3500
  tokenPrec: 1200
3501
3501
  });
3502
3502
  let Zt = null;
@@ -4136,7 +4136,7 @@ const _a = /* @__PURE__ */ [
4136
4136
  "whitesmoke",
4137
4137
  "yellow",
4138
4138
  "yellowgreen"
4139
- ].map((t) => ({ type: "constant", label: t }))), Fi = /* @__PURE__ */ [
4139
+ ].map((t) => ({ type: "constant", label: t }))), Jo = /* @__PURE__ */ [
4140
4140
  "a",
4141
4141
  "abbr",
4142
4142
  "address",
@@ -4215,16 +4215,16 @@ const _a = /* @__PURE__ */ [
4215
4215
  "tr",
4216
4216
  "u",
4217
4217
  "ul"
4218
- ].map((t) => ({ type: "type", label: t })), ie = /^(\w[\w-]*|-\w[\w-]*|)$/, Ji = /^-(-[\w-]*)?$/;
4219
- function Ki(t, e) {
4218
+ ].map((t) => ({ type: "type", label: t })), oe = /^(\w[\w-]*|-\w[\w-]*|)$/, Ko = /^-(-[\w-]*)?$/;
4219
+ function ei(t, e) {
4220
4220
  var a;
4221
4221
  if ((t.name == "(" || t.type.isError) && (t = t.parent || t), t.name != "ArgList")
4222
4222
  return !1;
4223
4223
  let O = (a = t.parent) === null || a === void 0 ? void 0 : a.firstChild;
4224
4224
  return (O == null ? void 0 : O.name) != "Callee" ? !1 : e.sliceString(O.from, O.to) == "var";
4225
4225
  }
4226
- const Ya = /* @__PURE__ */ new dO(), eo = ["Declaration"];
4227
- function to(t) {
4226
+ const Ya = /* @__PURE__ */ new dO(), ti = ["Declaration"];
4227
+ function ai(t) {
4228
4228
  for (let e = t; ; ) {
4229
4229
  if (e.type.isTop)
4230
4230
  return e;
@@ -4237,51 +4237,51 @@ function CO(t, e, a) {
4237
4237
  let O = Ya.get(e);
4238
4238
  if (O)
4239
4239
  return O;
4240
- let r = [], i = /* @__PURE__ */ new Set(), s = e.cursor(Ft.IncludeAnonymous);
4240
+ let r = [], o = /* @__PURE__ */ new Set(), s = e.cursor(Ft.IncludeAnonymous);
4241
4241
  if (s.firstChild())
4242
4242
  do
4243
- for (let o of CO(t, s.node, a))
4244
- i.has(o.label) || (i.add(o.label), r.push(o));
4243
+ for (let i of CO(t, s.node, a))
4244
+ o.has(i.label) || (o.add(i.label), r.push(i));
4245
4245
  while (s.nextSibling());
4246
4246
  return Ya.set(e, r), r;
4247
4247
  } else {
4248
4248
  let O = [], r = /* @__PURE__ */ new Set();
4249
- return e.cursor().iterate((i) => {
4249
+ return e.cursor().iterate((o) => {
4250
4250
  var s;
4251
- if (a(i) && i.matchContext(eo) && ((s = i.node.nextSibling) === null || s === void 0 ? void 0 : s.name) == ":") {
4252
- let o = t.sliceString(i.from, i.to);
4253
- r.has(o) || (r.add(o), O.push({ label: o, type: "variable" }));
4251
+ if (a(o) && o.matchContext(ti) && ((s = o.node.nextSibling) === null || s === void 0 ? void 0 : s.name) == ":") {
4252
+ let i = t.sliceString(o.from, o.to);
4253
+ r.has(i) || (r.add(i), O.push({ label: i, type: "variable" }));
4254
4254
  }
4255
4255
  }), O;
4256
4256
  }
4257
4257
  }
4258
- const ao = (t) => (e) => {
4259
- let { state: a, pos: O } = e, r = Oe(a).resolveInner(O, -1), i = r.type.isError && r.from == r.to - 1 && a.doc.sliceString(r.from, r.to) == "-";
4260
- if (r.name == "PropertyName" || (i || r.name == "TagName") && /^(Block|Styles)$/.test(r.resolve(r.to).name))
4261
- return { from: r.from, options: yt(), validFor: ie };
4258
+ const Oi = (t) => (e) => {
4259
+ let { state: a, pos: O } = e, r = Oe(a).resolveInner(O, -1), o = r.type.isError && r.from == r.to - 1 && a.doc.sliceString(r.from, r.to) == "-";
4260
+ if (r.name == "PropertyName" || (o || r.name == "TagName") && /^(Block|Styles)$/.test(r.resolve(r.to).name))
4261
+ return { from: r.from, options: yt(), validFor: oe };
4262
4262
  if (r.name == "ValueName")
4263
- return { from: r.from, options: Wa, validFor: ie };
4263
+ return { from: r.from, options: Wa, validFor: oe };
4264
4264
  if (r.name == "PseudoClassName")
4265
- return { from: r.from, options: _a, validFor: ie };
4266
- if (t(r) || (e.explicit || i) && Ki(r, a.doc))
4265
+ return { from: r.from, options: _a, validFor: oe };
4266
+ if (t(r) || (e.explicit || o) && ei(r, a.doc))
4267
4267
  return {
4268
- from: t(r) || i ? r.from : O,
4269
- options: CO(a.doc, to(r), t),
4270
- validFor: Ji
4268
+ from: t(r) || o ? r.from : O,
4269
+ options: CO(a.doc, ai(r), t),
4270
+ validFor: Ko
4271
4271
  };
4272
4272
  if (r.name == "TagName") {
4273
4273
  for (let { parent: n } = r; n; n = n.parent)
4274
4274
  if (n.name == "Block")
4275
- return { from: r.from, options: yt(), validFor: ie };
4276
- return { from: r.from, options: Fi, validFor: ie };
4275
+ return { from: r.from, options: yt(), validFor: oe };
4276
+ return { from: r.from, options: Jo, validFor: oe };
4277
4277
  }
4278
4278
  if (!e.explicit)
4279
4279
  return null;
4280
- let s = r.resolve(O), o = s.childBefore(O);
4281
- return o && o.name == ":" && s.name == "PseudoClassSelector" ? { from: O, options: _a, validFor: ie } : o && o.name == ":" && s.name == "Declaration" || s.name == "ArgList" ? { from: O, options: Wa, validFor: ie } : s.name == "Block" || s.name == "Styles" ? { from: O, options: yt(), validFor: ie } : null;
4282
- }, Oo = /* @__PURE__ */ ao((t) => t.name == "VariableName"), it = /* @__PURE__ */ ze.define({
4280
+ let s = r.resolve(O), i = s.childBefore(O);
4281
+ return i && i.name == ":" && s.name == "PseudoClassSelector" ? { from: O, options: _a, validFor: oe } : i && i.name == ":" && s.name == "Declaration" || s.name == "ArgList" ? { from: O, options: Wa, validFor: oe } : s.name == "Block" || s.name == "Styles" ? { from: O, options: yt(), validFor: oe } : null;
4282
+ }, ri = /* @__PURE__ */ Oi((t) => t.name == "VariableName"), ot = /* @__PURE__ */ ze.define({
4283
4283
  name: "css",
4284
- parser: /* @__PURE__ */ Li.configure({
4284
+ parser: /* @__PURE__ */ Fo.configure({
4285
4285
  props: [
4286
4286
  /* @__PURE__ */ Ve.add({
4287
4287
  Declaration: /* @__PURE__ */ $e()
@@ -4298,9 +4298,9 @@ const ao = (t) => (e) => {
4298
4298
  }
4299
4299
  });
4300
4300
  function UO() {
4301
- return new je(it, it.data.of({ autocomplete: Oo }));
4301
+ return new je(ot, ot.data.of({ autocomplete: ri }));
4302
4302
  }
4303
- const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3, Ra = 4, co = 5, ot = 6, jO = 7, zO = 8, VO = 9, GO = 10, po = 11, uo = 12, ho = 13, vt = 57, fo = 14, qa = 58, AO = 20, mo = 22, EO = 23, Qo = 24, zt = 26, HO = 27, go = 28, So = 31, Po = 34, $o = 36, bo = 37, Zo = 0, yo = 1, vo = {
4303
+ const si = 54, oi = 1, ii = 55, ni = 2, li = 56, ci = 3, Ra = 4, di = 5, it = 6, jO = 7, zO = 8, VO = 9, GO = 10, pi = 11, ui = 12, hi = 13, vt = 57, fi = 14, qa = 58, AO = 20, mi = 22, EO = 23, Qi = 24, zt = 26, HO = 27, gi = 28, Si = 31, Pi = 34, $i = 36, bi = 37, Zi = 0, yi = 1, vi = {
4304
4304
  area: !0,
4305
4305
  base: !0,
4306
4306
  br: !0,
@@ -4319,7 +4319,7 @@ const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3, Ra = 4, co = 5, ot = 6,
4319
4319
  track: !0,
4320
4320
  wbr: !0,
4321
4321
  menuitem: !0
4322
- }, wo = {
4322
+ }, wi = {
4323
4323
  dd: !0,
4324
4324
  li: !0,
4325
4325
  optgroup: !0,
@@ -4376,7 +4376,7 @@ const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3, Ra = 4, co = 5, ot = 6,
4376
4376
  thead: { tbody: !0, tfoot: !0 },
4377
4377
  tr: { tr: !0 }
4378
4378
  };
4379
- function ko(t) {
4379
+ function ki(t) {
4380
4380
  return t == 45 || t == 46 || t == 58 || t >= 65 && t <= 90 || t == 95 || t >= 97 && t <= 122 || t >= 161;
4381
4381
  }
4382
4382
  function BO(t) {
@@ -4391,33 +4391,33 @@ function Vt(t, e) {
4391
4391
  for (; BO(O); )
4392
4392
  O = t.peek(++e);
4393
4393
  let r = "";
4394
- for (; ko(O); )
4394
+ for (; ki(O); )
4395
4395
  r += String.fromCharCode(O), O = t.peek(++e);
4396
- return ja = t, za = a, Ua = r ? r.toLowerCase() : O == To || O == Xo ? void 0 : null;
4396
+ return ja = t, za = a, Ua = r ? r.toLowerCase() : O == Ti || O == Xi ? void 0 : null;
4397
4397
  }
4398
- const IO = 60, nt = 62, ra = 47, To = 63, Xo = 33, xo = 45;
4398
+ const IO = 60, nt = 62, ra = 47, Ti = 63, Xi = 33, xi = 45;
4399
4399
  function Va(t, e) {
4400
4400
  this.name = t, this.parent = e, this.hash = e ? e.hash : 0;
4401
4401
  for (let a = 0; a < t.length; a++)
4402
4402
  this.hash += (this.hash << 4) + t.charCodeAt(a) + (t.charCodeAt(a) << 8);
4403
4403
  }
4404
- const _o = [ot, GO, jO, zO, VO], Wo = new Oa({
4404
+ const _i = [it, GO, jO, zO, VO], Wi = new Oa({
4405
4405
  start: null,
4406
4406
  shift(t, e, a, O) {
4407
- return _o.indexOf(e) > -1 ? new Va(Vt(O, 1) || "", t) : t;
4407
+ return _i.indexOf(e) > -1 ? new Va(Vt(O, 1) || "", t) : t;
4408
4408
  },
4409
4409
  reduce(t, e) {
4410
4410
  return e == AO && t ? t.parent : t;
4411
4411
  },
4412
4412
  reuse(t, e, a, O) {
4413
4413
  let r = e.type.id;
4414
- return r == ot || r == $o ? new Va(Vt(O, 1) || "", t) : t;
4414
+ return r == it || r == $i ? new Va(Vt(O, 1) || "", t) : t;
4415
4415
  },
4416
4416
  hash(t) {
4417
4417
  return t ? t.hash : 0;
4418
4418
  },
4419
4419
  strict: !1
4420
- }), Yo = new z((t, e) => {
4420
+ }), Yi = new z((t, e) => {
4421
4421
  if (t.next != IO) {
4422
4422
  t.next < 0 && e.context && t.acceptToken(vt);
4423
4423
  return;
@@ -4429,19 +4429,19 @@ const _o = [ot, GO, jO, zO, VO], Wo = new Oa({
4429
4429
  if (O === void 0)
4430
4430
  return;
4431
4431
  if (!O)
4432
- return t.acceptToken(a ? fo : ot);
4432
+ return t.acceptToken(a ? fi : it);
4433
4433
  let r = e.context ? e.context.name : null;
4434
4434
  if (a) {
4435
4435
  if (O == r)
4436
- return t.acceptToken(po);
4437
- if (r && wo[r])
4436
+ return t.acceptToken(pi);
4437
+ if (r && wi[r])
4438
4438
  return t.acceptToken(vt, -2);
4439
- if (e.dialectEnabled(Zo))
4440
- return t.acceptToken(uo);
4441
- for (let i = e.context; i; i = i.parent)
4442
- if (i.name == O)
4439
+ if (e.dialectEnabled(Zi))
4440
+ return t.acceptToken(ui);
4441
+ for (let o = e.context; o; o = o.parent)
4442
+ if (o.name == O)
4443
4443
  return;
4444
- t.acceptToken(ho);
4444
+ t.acceptToken(hi);
4445
4445
  } else {
4446
4446
  if (O == "script")
4447
4447
  return t.acceptToken(jO);
@@ -4449,17 +4449,17 @@ const _o = [ot, GO, jO, zO, VO], Wo = new Oa({
4449
4449
  return t.acceptToken(zO);
4450
4450
  if (O == "textarea")
4451
4451
  return t.acceptToken(VO);
4452
- if (vo.hasOwnProperty(O))
4452
+ if (vi.hasOwnProperty(O))
4453
4453
  return t.acceptToken(GO);
4454
- r && Ca[r] && Ca[r][O] ? t.acceptToken(vt, -1) : t.acceptToken(ot);
4454
+ r && Ca[r] && Ca[r][O] ? t.acceptToken(vt, -1) : t.acceptToken(it);
4455
4455
  }
4456
- }, { contextual: !0 }), Ro = new z((t) => {
4456
+ }, { contextual: !0 }), Ri = new z((t) => {
4457
4457
  for (let e = 0, a = 0; ; a++) {
4458
4458
  if (t.next < 0) {
4459
4459
  a && t.acceptToken(qa);
4460
4460
  break;
4461
4461
  }
4462
- if (t.next == xo)
4462
+ if (t.next == xi)
4463
4463
  e++;
4464
4464
  else if (t.next == nt && e >= 2) {
4465
4465
  a >= 3 && t.acceptToken(qa, -2);
@@ -4469,44 +4469,44 @@ const _o = [ot, GO, jO, zO, VO], Wo = new Oa({
4469
4469
  t.advance();
4470
4470
  }
4471
4471
  });
4472
- function qo(t) {
4472
+ function qi(t) {
4473
4473
  for (; t; t = t.parent)
4474
4474
  if (t.name == "svg" || t.name == "math")
4475
4475
  return !0;
4476
4476
  return !1;
4477
4477
  }
4478
- const Co = new z((t, e) => {
4478
+ const Ci = new z((t, e) => {
4479
4479
  if (t.next == ra && t.peek(1) == nt) {
4480
- let a = e.dialectEnabled(yo) || qo(e.context);
4481
- t.acceptToken(a ? co : Ra, 2);
4480
+ let a = e.dialectEnabled(yi) || qi(e.context);
4481
+ t.acceptToken(a ? di : Ra, 2);
4482
4482
  } else
4483
4483
  t.next == nt && t.acceptToken(Ra, 1);
4484
4484
  });
4485
4485
  function sa(t, e, a) {
4486
4486
  let O = 2 + t.length;
4487
4487
  return new z((r) => {
4488
- for (let i = 0, s = 0, o = 0; ; o++) {
4488
+ for (let o = 0, s = 0, i = 0; ; i++) {
4489
4489
  if (r.next < 0) {
4490
- o && r.acceptToken(e);
4490
+ i && r.acceptToken(e);
4491
4491
  break;
4492
4492
  }
4493
- if (i == 0 && r.next == IO || i == 1 && r.next == ra || i >= 2 && i < O && r.next == t.charCodeAt(i - 2))
4494
- i++, s++;
4495
- else if ((i == 2 || i == O) && BO(r.next))
4493
+ if (o == 0 && r.next == IO || o == 1 && r.next == ra || o >= 2 && o < O && r.next == t.charCodeAt(o - 2))
4494
+ o++, s++;
4495
+ else if ((o == 2 || o == O) && BO(r.next))
4496
4496
  s++;
4497
- else if (i == O && r.next == nt) {
4498
- o > s ? r.acceptToken(e, -s) : r.acceptToken(a, -(s - 2));
4497
+ else if (o == O && r.next == nt) {
4498
+ i > s ? r.acceptToken(e, -s) : r.acceptToken(a, -(s - 2));
4499
4499
  break;
4500
- } else if ((r.next == 10 || r.next == 13) && o) {
4500
+ } else if ((r.next == 10 || r.next == 13) && i) {
4501
4501
  r.acceptToken(e, 1);
4502
4502
  break;
4503
4503
  } else
4504
- i = s = 0;
4504
+ o = s = 0;
4505
4505
  r.advance();
4506
4506
  }
4507
4507
  });
4508
4508
  }
4509
- const Uo = sa("script", ro, so), jo = sa("style", io, oo), zo = sa("textarea", no, lo), Vo = Ue({
4509
+ const Ui = sa("script", si, oi), ji = sa("style", ii, ni), zi = sa("textarea", li, ci), Vi = Ue({
4510
4510
  "Text RawText": p.content,
4511
4511
  "StartTag StartCloseTag SelfClosingEndTag EndTag": p.angleBracket,
4512
4512
  TagName: p.tagName,
@@ -4518,25 +4518,25 @@ const Uo = sa("script", ro, so), jo = sa("style", io, oo), zo = sa("textarea", n
4518
4518
  Comment: p.blockComment,
4519
4519
  ProcessingInst: p.processingInstruction,
4520
4520
  DoctypeDecl: p.documentMeta
4521
- }), Go = le.deserialize({
4521
+ }), Gi = le.deserialize({
4522
4522
  version: 14,
4523
4523
  states: ",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59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POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",
4525
4525
  goto: "%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
4526
4526
  nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
4527
4527
  maxTerm: 67,
4528
- context: Wo,
4528
+ context: Wi,
4529
4529
  nodeProps: [
4530
4530
  ["closedBy", -10, 1, 2, 3, 7, 8, 9, 10, 11, 12, 13, "EndTag", 6, "EndTag SelfClosingEndTag", -4, 21, 30, 33, 36, "CloseTag"],
4531
4531
  ["openedBy", 4, "StartTag StartCloseTag", 5, "StartTag", -4, 29, 32, 35, 37, "OpenTag"],
4532
4532
  ["group", -9, 14, 17, 18, 19, 20, 39, 40, 41, 42, "Entity", 16, "Entity TextContent", -3, 28, 31, 34, "TextContent Entity"],
4533
4533
  ["isolate", -11, 21, 29, 30, 32, 33, 35, 36, 37, 38, 41, 42, "ltr", -3, 26, 27, 39, ""]
4534
4534
  ],
4535
- propSources: [Vo],
4535
+ propSources: [Vi],
4536
4536
  skippedNodes: [0],
4537
4537
  repeatNodeCount: 9,
4538
4538
  tokenData: "!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP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*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",
4539
- tokenizers: [Uo, jo, zo, Co, Yo, Ro, 0, 1, 2, 3, 4, 5],
4539
+ tokenizers: [Ui, ji, zi, Ci, Yi, Ri, 0, 1, 2, 3, 4, 5],
4540
4540
  topRules: { Document: [0, 15] },
4541
4541
  dialects: { noMatch: 0, selfClosing: 509 },
4542
4542
  tokenPrec: 511
@@ -4544,13 +4544,13 @@ const Uo = sa("script", ro, so), jo = sa("style", io, oo), zo = sa("textarea", n
4544
4544
  function DO(t, e) {
4545
4545
  let a = /* @__PURE__ */ Object.create(null);
4546
4546
  for (let O of t.getChildren(EO)) {
4547
- let r = O.getChild(Qo), i = O.getChild(zt) || O.getChild(HO);
4548
- r && (a[e.read(r.from, r.to)] = i ? i.type.id == zt ? e.read(i.from + 1, i.to - 1) : e.read(i.from, i.to) : "");
4547
+ let r = O.getChild(Qi), o = O.getChild(zt) || O.getChild(HO);
4548
+ r && (a[e.read(r.from, r.to)] = o ? o.type.id == zt ? e.read(o.from + 1, o.to - 1) : e.read(o.from, o.to) : "");
4549
4549
  }
4550
4550
  return a;
4551
4551
  }
4552
4552
  function Ga(t, e) {
4553
- let a = t.getChild(mo);
4553
+ let a = t.getChild(mi);
4554
4554
  return a ? e.read(a.from, a.to) : " ";
4555
4555
  }
4556
4556
  function wt(t, e, a) {
@@ -4561,33 +4561,33 @@ function wt(t, e, a) {
4561
4561
  return null;
4562
4562
  }
4563
4563
  function NO(t = [], e = []) {
4564
- let a = [], O = [], r = [], i = [];
4565
- for (let o of t)
4566
- (o.tag == "script" ? a : o.tag == "style" ? O : o.tag == "textarea" ? r : i).push(o);
4564
+ let a = [], O = [], r = [], o = [];
4565
+ for (let i of t)
4566
+ (i.tag == "script" ? a : i.tag == "style" ? O : i.tag == "textarea" ? r : o).push(i);
4567
4567
  let s = e.length ? /* @__PURE__ */ Object.create(null) : null;
4568
- for (let o of e)
4569
- (s[o.name] || (s[o.name] = [])).push(o);
4570
- return es((o, n) => {
4571
- let l = o.type.id;
4572
- if (l == go)
4573
- return wt(o, n, a);
4574
- if (l == So)
4575
- return wt(o, n, O);
4576
- if (l == Po)
4577
- return wt(o, n, r);
4578
- if (l == AO && i.length) {
4579
- let c = o.node, d = c.firstChild, h = d && Ga(d, n), f;
4568
+ for (let i of e)
4569
+ (s[i.name] || (s[i.name] = [])).push(i);
4570
+ return es((i, n) => {
4571
+ let l = i.type.id;
4572
+ if (l == gi)
4573
+ return wt(i, n, a);
4574
+ if (l == Si)
4575
+ return wt(i, n, O);
4576
+ if (l == Pi)
4577
+ return wt(i, n, r);
4578
+ if (l == AO && o.length) {
4579
+ let c = i.node, d = c.firstChild, h = d && Ga(d, n), f;
4580
4580
  if (h) {
4581
- for (let g of i)
4581
+ for (let g of o)
4582
4582
  if (g.tag == h && (!g.attrs || g.attrs(f || (f = DO(c, n))))) {
4583
- let y = c.lastChild, _ = y.type.id == bo ? y.from : c.to;
4583
+ let y = c.lastChild, _ = y.type.id == bi ? y.from : c.to;
4584
4584
  if (_ > d.to)
4585
4585
  return { parser: g.parser, overlay: [{ from: d.to, to: _ }] };
4586
4586
  }
4587
4587
  }
4588
4588
  }
4589
4589
  if (s && l == EO) {
4590
- let c = o.node, d;
4590
+ let c = i.node, d;
4591
4591
  if (d = c.firstChild) {
4592
4592
  let h = s[n.read(d.from, d.to)];
4593
4593
  if (h)
@@ -4607,7 +4607,7 @@ function NO(t = [], e = []) {
4607
4607
  return null;
4608
4608
  });
4609
4609
  }
4610
- const Ao = 309, Aa = 1, Eo = 2, Ho = 3, Bo = 310, Io = 312, Do = 313, No = 4, Mo = 5, Lo = 0, Gt = [
4610
+ const Ai = 309, Aa = 1, Ei = 2, Hi = 3, Bi = 310, Ii = 312, Di = 313, Ni = 4, Mi = 5, Li = 0, Gt = [
4611
4611
  9,
4612
4612
  10,
4613
4613
  11,
@@ -4633,31 +4633,31 @@ const Ao = 309, Aa = 1, Eo = 2, Ho = 3, Bo = 310, Io = 312, Do = 313, No = 4, Mo
4633
4633
  8239,
4634
4634
  8287,
4635
4635
  12288
4636
- ], MO = 125, Fo = 59, At = 47, Jo = 42, Ko = 43, en = 45, tn = 60, an = 44, On = new Oa({
4636
+ ], MO = 125, Fi = 59, At = 47, Ji = 42, Ki = 43, en = 45, tn = 60, an = 44, On = new Oa({
4637
4637
  start: !1,
4638
4638
  shift(t, e) {
4639
- return e == No || e == Mo || e == Io ? t : e == Do;
4639
+ return e == Ni || e == Mi || e == Ii ? t : e == Di;
4640
4640
  },
4641
4641
  strict: !1
4642
4642
  }), rn = new z((t, e) => {
4643
4643
  let { next: a } = t;
4644
- (a == MO || a == -1 || e.context) && t.acceptToken(Bo);
4644
+ (a == MO || a == -1 || e.context) && t.acceptToken(Bi);
4645
4645
  }, { contextual: !0, fallback: !0 }), sn = new z((t, e) => {
4646
4646
  let { next: a } = t, O;
4647
- Gt.indexOf(a) > -1 || a == At && ((O = t.peek(1)) == At || O == Jo) || a != MO && a != Fo && a != -1 && !e.context && t.acceptToken(Ao);
4647
+ Gt.indexOf(a) > -1 || a == At && ((O = t.peek(1)) == At || O == Ji) || a != MO && a != Fi && a != -1 && !e.context && t.acceptToken(Ai);
4648
4648
  }, { contextual: !0 }), on = new z((t, e) => {
4649
4649
  let { next: a } = t;
4650
- if ((a == Ko || a == en) && (t.advance(), a == t.next)) {
4650
+ if ((a == Ki || a == en) && (t.advance(), a == t.next)) {
4651
4651
  t.advance();
4652
4652
  let O = !e.context && e.canShift(Aa);
4653
- t.acceptToken(O ? Aa : Eo);
4653
+ t.acceptToken(O ? Aa : Ei);
4654
4654
  }
4655
4655
  }, { contextual: !0 });
4656
4656
  function kt(t, e) {
4657
4657
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t == 95 || t >= 192 || !e && t >= 48 && t <= 57;
4658
4658
  }
4659
4659
  const nn = new z((t, e) => {
4660
- if (t.next != tn || !e.dialectEnabled(Lo) || (t.advance(), t.next == At))
4660
+ if (t.next != tn || !e.dialectEnabled(Li) || (t.advance(), t.next == At))
4661
4661
  return;
4662
4662
  let a = 0;
4663
4663
  for (; Gt.indexOf(t.next) > -1; )
@@ -4680,7 +4680,7 @@ const nn = new z((t, e) => {
4680
4680
  t.advance(), a++;
4681
4681
  }
4682
4682
  }
4683
- t.acceptToken(Ho, -a);
4683
+ t.acceptToken(Hi, -a);
4684
4684
  }), ln = Ue({
4685
4685
  "get set async static": p.modifier,
4686
4686
  "for while do if else switch try catch finally return throw break continue default case": p.controlKeyword,
@@ -4880,20 +4880,20 @@ function JO(t, e) {
4880
4880
  if (a)
4881
4881
  return a;
4882
4882
  let O = [], r = !0;
4883
- function i(s, o) {
4883
+ function o(s, i) {
4884
4884
  let n = t.sliceString(s.from, s.to);
4885
- O.push({ label: n, type: o });
4885
+ O.push({ label: n, type: i });
4886
4886
  }
4887
4887
  return e.cursor(Ft.IncludeAnonymous).iterate((s) => {
4888
4888
  if (r)
4889
4889
  r = !1;
4890
4890
  else if (s.name) {
4891
- let o = mn[s.name];
4892
- if (o && o(s, i) || FO.has(s.name))
4891
+ let i = mn[s.name];
4892
+ if (i && i(s, o) || FO.has(s.name))
4893
4893
  return !1;
4894
4894
  } else if (s.to - s.from > 8192) {
4895
- for (let o of JO(t, s.node))
4896
- O.push(o);
4895
+ for (let i of JO(t, s.node))
4896
+ O.push(i);
4897
4897
  return !1;
4898
4898
  }
4899
4899
  }), Ea.set(e, O), O;
@@ -5014,7 +5014,7 @@ function Ba(t, e, a = t.length) {
5014
5014
  const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), bn = /* @__PURE__ */ N.inputHandler.of((t, e, a, O, r) => {
5015
5015
  if (($n ? t.composing : t.compositionStarted) || t.state.readOnly || e != a || O != ">" && O != "/" || !ee.isActiveAt(t.state, e, -1))
5016
5016
  return !1;
5017
- let i = r(), { state: s } = i, o = s.changeByRange((n) => {
5017
+ let o = r(), { state: s } = o, i = s.changeByRange((n) => {
5018
5018
  var l;
5019
5019
  let { head: c } = n, d = Oe(s).resolveInner(c - 1, -1), h;
5020
5020
  if (d.name == "JSXStartTag" && (d = d.parent), !(s.doc.sliceString(c - 1, c) != O || d.name == "JSXAttributeValue" && d.to > c)) {
@@ -5034,9 +5034,9 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
5034
5034
  }
5035
5035
  return { range: n };
5036
5036
  });
5037
- return o.changes.empty ? !1 : (t.dispatch([
5038
- i,
5039
- s.update(o, { userEvent: "input.complete", scrollIntoView: !0 })
5037
+ return i.changes.empty ? !1 : (t.dispatch([
5038
+ o,
5039
+ s.update(i, { userEvent: "input.complete", scrollIntoView: !0 })
5040
5040
  ]), !0);
5041
5041
  }), Xe = ["_blank", "_self", "_top", "_parent"], Tt = ["ascii", "utf-8", "utf-16", "latin1", "latin1"], Xt = ["get", "post", "put", "delete"], xt = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], I = ["true", "false"], S = {}, Zn = {
5042
5042
  a: {
@@ -5396,7 +5396,7 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
5396
5396
  }
5397
5397
  },
5398
5398
  wbr: S
5399
- }, ir = {
5399
+ }, or = {
5400
5400
  accesskey: null,
5401
5401
  class: null,
5402
5402
  contenteditable: I,
@@ -5456,12 +5456,12 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
5456
5456
  "aria-valuemin": null,
5457
5457
  "aria-valuenow": null,
5458
5458
  "aria-valuetext": null
5459
- }, or = /* @__PURE__ */ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((t) => "on" + t);
5460
- for (let t of or)
5461
- ir[t] = null;
5459
+ }, ir = /* @__PURE__ */ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((t) => "on" + t);
5460
+ for (let t of ir)
5461
+ or[t] = null;
5462
5462
  class lt {
5463
5463
  constructor(e, a) {
5464
- this.tags = Object.assign(Object.assign({}, Zn), e), this.globalAttrs = Object.assign(Object.assign({}, ir), a), this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
5464
+ this.tags = Object.assign(Object.assign({}, Zn), e), this.globalAttrs = Object.assign(Object.assign({}, or), a), this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
5465
5465
  }
5466
5466
  }
5467
5467
  lt.default = /* @__PURE__ */ new lt();
@@ -5484,7 +5484,7 @@ function nr(t, e, a) {
5484
5484
  let O = a.tags[ye(t, ve(e))];
5485
5485
  return (O == null ? void 0 : O.children) || a.allTags;
5486
5486
  }
5487
- function ia(t, e) {
5487
+ function oa(t, e) {
5488
5488
  let a = [];
5489
5489
  for (let O = ve(e); O && !O.type.isTop; O = ve(O.parent)) {
5490
5490
  let r = ye(t, O);
@@ -5496,13 +5496,13 @@ function ia(t, e) {
5496
5496
  }
5497
5497
  const lr = /^[:\-\.\w\u00b7-\uffff]*$/;
5498
5498
  function Ia(t, e, a, O, r) {
5499
- let i = /\s*>/.test(t.sliceDoc(r, r + 5)) ? "" : ">", s = ve(a, !0);
5499
+ let o = /\s*>/.test(t.sliceDoc(r, r + 5)) ? "" : ">", s = ve(a, !0);
5500
5500
  return {
5501
5501
  from: O,
5502
5502
  to: r,
5503
- options: nr(t.doc, s, e).map((o) => ({ label: o, type: "type" })).concat(ia(t.doc, a).map((o, n) => ({
5504
- label: "/" + o,
5505
- apply: "/" + o + i,
5503
+ options: nr(t.doc, s, e).map((i) => ({ label: i, type: "type" })).concat(oa(t.doc, a).map((i, n) => ({
5504
+ label: "/" + i,
5505
+ apply: "/" + i + o,
5506
5506
  type: "type",
5507
5507
  boost: 99 - n
5508
5508
  }))),
@@ -5514,20 +5514,20 @@ function Da(t, e, a, O) {
5514
5514
  return {
5515
5515
  from: a,
5516
5516
  to: O,
5517
- options: ia(t.doc, e).map((i, s) => ({ label: i, apply: i + r, type: "type", boost: 99 - s })),
5517
+ options: oa(t.doc, e).map((o, s) => ({ label: o, apply: o + r, type: "type", boost: 99 - s })),
5518
5518
  validFor: lr
5519
5519
  };
5520
5520
  }
5521
5521
  function yn(t, e, a, O) {
5522
- let r = [], i = 0;
5522
+ let r = [], o = 0;
5523
5523
  for (let s of nr(t.doc, a, e))
5524
5524
  r.push({ label: "<" + s, type: "type" });
5525
- for (let s of ia(t.doc, a))
5526
- r.push({ label: "</" + s + ">", type: "type", boost: 99 - i++ });
5525
+ for (let s of oa(t.doc, a))
5526
+ r.push({ label: "</" + s + ">", type: "type", boost: 99 - o++ });
5527
5527
  return { from: O, to: O, options: r, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
5528
5528
  }
5529
5529
  function vn(t, e, a, O, r) {
5530
- let i = ve(a), s = i ? e.tags[ye(t.doc, i)] : null, o = s && s.attrs ? Object.keys(s.attrs) : [], n = s && s.globalAttrs === !1 ? o : o.length ? o.concat(e.globalAttrNames) : e.globalAttrNames;
5530
+ let o = ve(a), s = o ? e.tags[ye(t.doc, o)] : null, i = s && s.attrs ? Object.keys(s.attrs) : [], n = s && s.globalAttrs === !1 ? i : i.length ? i.concat(e.globalAttrNames) : e.globalAttrNames;
5531
5531
  return {
5532
5532
  from: O,
5533
5533
  to: r,
@@ -5536,8 +5536,8 @@ function vn(t, e, a, O, r) {
5536
5536
  };
5537
5537
  }
5538
5538
  function wn(t, e, a, O, r) {
5539
- var i;
5540
- let s = (i = a.parent) === null || i === void 0 ? void 0 : i.getChild("AttributeName"), o = [], n;
5539
+ var o;
5540
+ let s = (o = a.parent) === null || o === void 0 ? void 0 : o.getChild("AttributeName"), i = [], n;
5541
5541
  if (s) {
5542
5542
  let l = t.sliceDoc(s.from, s.to), c = e.globalAttrs[l];
5543
5543
  if (!c) {
@@ -5548,20 +5548,20 @@ function wn(t, e, a, O, r) {
5548
5548
  let d = t.sliceDoc(O, r).toLowerCase(), h = '"', f = '"';
5549
5549
  /^['"]/.test(d) ? (n = d[0] == '"' ? /^[^"]*$/ : /^[^']*$/, h = "", f = t.sliceDoc(r, r + 1) == d[0] ? "" : d[0], d = d.slice(1), O++) : n = /^[^\s<>='"]*$/;
5550
5550
  for (let g of c)
5551
- o.push({ label: g, apply: h + g + f, type: "constant" });
5551
+ i.push({ label: g, apply: h + g + f, type: "constant" });
5552
5552
  }
5553
5553
  }
5554
- return { from: O, to: r, options: o, validFor: n };
5554
+ return { from: O, to: r, options: i, validFor: n };
5555
5555
  }
5556
5556
  function kn(t, e) {
5557
- let { state: a, pos: O } = e, r = Oe(a).resolveInner(O, -1), i = r.resolve(O);
5558
- for (let s = O, o; i == r && (o = r.childBefore(s)); ) {
5559
- let n = o.lastChild;
5557
+ let { state: a, pos: O } = e, r = Oe(a).resolveInner(O, -1), o = r.resolve(O);
5558
+ for (let s = O, i; o == r && (i = r.childBefore(s)); ) {
5559
+ let n = i.lastChild;
5560
5560
  if (!n || !n.type.isError || n.from < n.to)
5561
5561
  break;
5562
- i = r = o, s = n.from;
5562
+ o = r = i, s = n.from;
5563
5563
  }
5564
- return r.name == "TagName" ? r.parent && /CloseTag$/.test(r.parent.name) ? Da(a, r, r.from, O) : Ia(a, t, r, r.from, O) : r.name == "StartTag" ? Ia(a, t, r, O, O) : r.name == "StartCloseTag" || r.name == "IncompleteCloseTag" ? Da(a, r, O, O) : r.name == "OpenTag" || r.name == "SelfClosingTag" || r.name == "AttributeName" ? vn(a, t, r, r.name == "AttributeName" ? r.from : O, O) : r.name == "Is" || r.name == "AttributeValue" || r.name == "UnquotedAttributeValue" ? wn(a, t, r, r.name == "Is" ? O : r.from, O) : e.explicit && (i.name == "Element" || i.name == "Text" || i.name == "Document") ? yn(a, t, r, O) : null;
5564
+ return r.name == "TagName" ? r.parent && /CloseTag$/.test(r.parent.name) ? Da(a, r, r.from, O) : Ia(a, t, r, r.from, O) : r.name == "StartTag" ? Ia(a, t, r, O, O) : r.name == "StartCloseTag" || r.name == "IncompleteCloseTag" ? Da(a, r, O, O) : r.name == "OpenTag" || r.name == "SelfClosingTag" || r.name == "AttributeName" ? vn(a, t, r, r.name == "AttributeName" ? r.from : O, O) : r.name == "Is" || r.name == "AttributeValue" || r.name == "UnquotedAttributeValue" ? wn(a, t, r, r.name == "Is" ? O : r.from, O) : e.explicit && (o.name == "Element" || o.name == "Text" || o.name == "Document") ? yn(a, t, r, O) : null;
5565
5565
  }
5566
5566
  function Tn(t) {
5567
5567
  let { extraTags: e, extraGlobalAttributes: a } = t, O = a || e ? new lt(e, a) : lt.default;
@@ -5602,16 +5602,16 @@ const Xn = /* @__PURE__ */ ee.parser.configure({ top: "SingleExpression" }), cr
5602
5602
  attrs(t) {
5603
5603
  return (!t.lang || t.lang == "css") && (!t.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type));
5604
5604
  },
5605
- parser: it.parser
5605
+ parser: ot.parser
5606
5606
  }
5607
5607
  ], dr = /* @__PURE__ */ [
5608
5608
  {
5609
5609
  name: "style",
5610
- parser: /* @__PURE__ */ it.parser.configure({ top: "Styles" })
5610
+ parser: /* @__PURE__ */ ot.parser.configure({ top: "Styles" })
5611
5611
  }
5612
- ].concat(/* @__PURE__ */ or.map((t) => ({ name: t, parser: ee.parser }))), pr = /* @__PURE__ */ ze.define({
5612
+ ].concat(/* @__PURE__ */ ir.map((t) => ({ name: t, parser: ee.parser }))), pr = /* @__PURE__ */ ze.define({
5613
5613
  name: "html",
5614
- parser: /* @__PURE__ */ Go.configure({
5614
+ parser: /* @__PURE__ */ Gi.configure({
5615
5615
  props: [
5616
5616
  /* @__PURE__ */ Ve.add({
5617
5617
  Element(t) {
@@ -5667,7 +5667,7 @@ function xn(t = {}) {
5667
5667
  const Na = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), _n = /* @__PURE__ */ N.inputHandler.of((t, e, a, O, r) => {
5668
5668
  if (t.composing || t.state.readOnly || e != a || O != ">" && O != "/" || !Ke.isActiveAt(t.state, e, -1))
5669
5669
  return !1;
5670
- let i = r(), { state: s } = i, o = s.changeByRange((n) => {
5670
+ let o = r(), { state: s } = o, i = s.changeByRange((n) => {
5671
5671
  var l, c, d;
5672
5672
  let h = s.doc.sliceString(n.from - 1, n.to) == O, { head: f } = n, g = Oe(s).resolveInner(f - 1, -1), y;
5673
5673
  if ((g.name == "TagName" || g.name == "StartTag") && (g = g.parent), h && O == ">" && g.name == "OpenTag") {
@@ -5687,9 +5687,9 @@ const Na = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
5687
5687
  }
5688
5688
  return { range: n };
5689
5689
  });
5690
- return o.changes.empty ? !1 : (t.dispatch([
5691
- i,
5692
- s.update(o, {
5690
+ return i.changes.empty ? !1 : (t.dispatch([
5691
+ o,
5692
+ s.update(i, {
5693
5693
  userEvent: "input.complete",
5694
5694
  scrollIntoView: !0
5695
5695
  })
@@ -5743,7 +5743,7 @@ const Na = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
5743
5743
  function qn() {
5744
5744
  return new je(Rn);
5745
5745
  }
5746
- const ge = 63, Ma = 64, Cn = 1, Un = 2, ur = 3, jn = 4, hr = 5, zn = 6, Vn = 7, fr = 65, Gn = 66, An = 8, En = 9, Hn = 10, Bn = 11, In = 12, mr = 13, Dn = 19, Nn = 20, Mn = 29, Ln = 33, Fn = 34, Jn = 47, Kn = 0, oa = 1, Et = 2, Ce = 3, Ht = 4, pt = class pt {
5746
+ const ge = 63, Ma = 64, Cn = 1, Un = 2, ur = 3, jn = 4, hr = 5, zn = 6, Vn = 7, fr = 65, Gn = 66, An = 8, En = 9, Hn = 10, Bn = 11, In = 12, mr = 13, Dn = 19, Nn = 20, Mn = 29, Ln = 33, Fn = 34, Jn = 47, Kn = 0, ia = 1, Et = 2, Ce = 3, Ht = 4, pt = class pt {
5747
5747
  constructor(e, a, O) {
5748
5748
  this.parent = e, this.depth = a, this.type = O, this.hash = (e ? e.hash + e.hash << 8 : 0) + a + (a << 4) + O;
5749
5749
  }
@@ -5776,7 +5776,7 @@ const el = new Oa({
5776
5776
  },
5777
5777
  shift(t, e, a, O) {
5778
5778
  if (e == ur)
5779
- return new de(t, _e(O, O.pos), oa);
5779
+ return new de(t, _e(O, O.pos), ia);
5780
5780
  if (e == fr || e == hr)
5781
5781
  return new de(t, _e(O, O.pos), Et);
5782
5782
  if (e == ge)
@@ -5825,7 +5825,7 @@ const tl = new z((t, e) => {
5825
5825
  let O = 0;
5826
5826
  for (; t.next == 32; )
5827
5827
  O++, t.advance();
5828
- (O < e.context.depth || O == e.context.depth && e.context.type == oa && (t.next != 45 || !he(t.peek(1)))) && // Not blank
5828
+ (O < e.context.depth || O == e.context.depth && e.context.type == ia && (t.next != 45 || !he(t.peek(1)))) && // Not blank
5829
5829
  t.next != -1 && !ae(t.next) && t.next != 35 && t.acceptToken(ge, -O);
5830
5830
  }
5831
5831
  }, { contextual: !0 }), al = new z((t, e) => {
@@ -5834,7 +5834,7 @@ const tl = new z((t, e) => {
5834
5834
  return;
5835
5835
  }
5836
5836
  if (t.next == 45)
5837
- t.advance(), he(t.next) && t.acceptToken(e.context.type == oa && e.context.depth == _e(t, t.pos - 1) ? jn : ur);
5837
+ t.advance(), he(t.next) && t.acceptToken(e.context.type == ia && e.context.depth == _e(t, t.pos - 1) ? jn : ur);
5838
5838
  else if (t.next == 63)
5839
5839
  t.advance(), he(t.next) && t.acceptToken(e.context.type == Et && e.context.depth == _e(t, t.pos - 1) ? zn : hr);
5840
5840
  else {
@@ -5900,20 +5900,20 @@ function It(t) {
5900
5900
  function na(t, e) {
5901
5901
  let a = t.next, O = !1, r = t.pos;
5902
5902
  for (t.advance(); ; ) {
5903
- let i = t.next;
5904
- if (i < 0)
5903
+ let o = t.next;
5904
+ if (o < 0)
5905
5905
  break;
5906
- if (t.advance(), i == a)
5907
- if (i == 39)
5906
+ if (t.advance(), o == a)
5907
+ if (o == 39)
5908
5908
  if (t.next == 39)
5909
5909
  t.advance();
5910
5910
  else
5911
5911
  break;
5912
5912
  else
5913
5913
  break;
5914
- else if (i == 92 && a == 34)
5914
+ else if (o == 92 && a == 34)
5915
5915
  t.next >= 0 && t.advance();
5916
- else if (ae(i)) {
5916
+ else if (ae(o)) {
5917
5917
  if (e)
5918
5918
  return !1;
5919
5919
  O = !0;
@@ -5955,19 +5955,19 @@ function Sr(t, e, a, O) {
5955
5955
  return !1;
5956
5956
  let r = t.pos;
5957
5957
  for (; ; ) {
5958
- let i = t.next, s = 0, o = O + 1;
5959
- for (; Qr(i); ) {
5960
- if (ae(i)) {
5958
+ let o = t.next, s = 0, i = O + 1;
5959
+ for (; Qr(o); ) {
5960
+ if (ae(o)) {
5961
5961
  if (e)
5962
5962
  return !1;
5963
- o = 0;
5963
+ i = 0;
5964
5964
  } else
5965
- o++;
5966
- i = t.peek(++s);
5965
+ i++;
5966
+ o = t.peek(++s);
5967
5967
  }
5968
- if (!(i >= 0 && (i == 58 ? _t(t.peek(s + 1), a) : i == 35 ? t.peek(s - 1) != 32 : _t(i, a))) || !a && o <= O || o == 0 && !a && (we(t, 45, s) || we(t, 46, s)))
5968
+ if (!(o >= 0 && (o == 58 ? _t(t.peek(s + 1), a) : o == 35 ? t.peek(s - 1) != 32 : _t(o, a))) || !a && i <= O || i == 0 && !a && (we(t, 45, s) || we(t, 46, s)))
5969
5969
  break;
5970
- if (e && ct(i) == "f")
5970
+ if (e && ct(o) == "f")
5971
5971
  return !1;
5972
5972
  for (let l = s; l >= 0; l--)
5973
5973
  t.advance();
@@ -5976,7 +5976,7 @@ function Sr(t, e, a, O) {
5976
5976
  }
5977
5977
  return !0;
5978
5978
  }
5979
- const il = new z((t, e) => {
5979
+ const ol = new z((t, e) => {
5980
5980
  if (t.next == 33)
5981
5981
  gr(t), t.acceptToken(In);
5982
5982
  else if (t.next == 38 || t.next == 42) {
@@ -5984,14 +5984,14 @@ const il = new z((t, e) => {
5984
5984
  It(t), t.acceptToken(a);
5985
5985
  } else
5986
5986
  t.next == 39 || t.next == 34 ? (na(t, !1), t.acceptToken(En)) : Sr(t, !1, e.context.type == Ce, e.context.depth) && t.acceptToken(An);
5987
- }), ol = new z((t, e) => {
5987
+ }), il = new z((t, e) => {
5988
5988
  let a = e.context.type == Ht ? e.context.depth : -1, O = t.pos;
5989
5989
  e:
5990
5990
  for (; ; ) {
5991
- let r = 0, i = t.next;
5992
- for (; i == 32; )
5993
- i = t.peek(++r);
5994
- if (!r && (we(t, 45, r) || we(t, 46, r)) || !ae(i) && (a < 0 && (a = Math.max(e.context.depth + 1, r)), r < a))
5991
+ let r = 0, o = t.next;
5992
+ for (; o == 32; )
5993
+ o = t.peek(++r);
5994
+ if (!r && (we(t, 45, r) || we(t, 46, r)) || !ae(o) && (a < 0 && (a = Math.max(e.context.depth + 1, r)), r < a))
5995
5995
  break;
5996
5996
  for (; ; ) {
5997
5997
  if (t.next < 0)
@@ -6036,7 +6036,7 @@ const il = new z((t, e) => {
6036
6036
  skippedNodes: [0],
6037
6037
  repeatNodeCount: 6,
6038
6038
  tokenData: "-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",
6039
- tokenizers: [tl, al, il, ol, 0, 1],
6039
+ tokenizers: [tl, al, ol, il, 0, 1],
6040
6040
  topRules: { Stream: [0, 15] },
6041
6041
  tokenPrec: 0
6042
6042
  }), cl = /* @__PURE__ */ ze.define({
@@ -6092,19 +6092,19 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
6092
6092
  Se(
6093
6093
  t.codeMirrorRef,
6094
6094
  () => {
6095
- var i;
6096
- (i = e.value) == null || i.destroy(), a();
6095
+ var o;
6096
+ (o = e.value) == null || o.destroy(), a();
6097
6097
  },
6098
6098
  { immediate: !0 }
6099
6099
  ), wr(() => {
6100
- var i;
6101
- return (i = e.value) == null ? void 0 : i.destroy();
6100
+ var o;
6101
+ return (o = e.value) == null ? void 0 : o.destroy();
6102
6102
  });
6103
6103
  function a() {
6104
6104
  if (t.codeMirrorRef.value) {
6105
- const i = Qe(t) ? q(t.provider) : null, s = Ka({
6105
+ const o = Qe(t) ? q(t.provider) : null, s = Ka({
6106
6106
  ...O.value,
6107
- provider: i
6107
+ provider: o
6108
6108
  });
6109
6109
  e.value = new N({
6110
6110
  parent: t.codeMirrorRef.value,
@@ -6128,16 +6128,16 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
6128
6128
  Se(
6129
6129
  () => Qe(t) ? q(t.provider) : null,
6130
6130
  () => {
6131
- var i;
6132
- Qe(t) && ((i = e.value) == null || i.destroy(), a());
6131
+ var o;
6132
+ Qe(t) && ((o = e.value) == null || o.destroy(), a());
6133
6133
  }
6134
6134
  ), Se(
6135
6135
  O,
6136
6136
  () => {
6137
6137
  if (e.value) {
6138
- const i = Qe(t) ? q(t.provider) : null, s = Ka({
6138
+ const o = Qe(t) ? q(t.provider) : null, s = Ka({
6139
6139
  ...O.value,
6140
- provider: i
6140
+ provider: o
6141
6141
  });
6142
6142
  e.value.dispatch({
6143
6143
  effects: re.reconfigure.of(s)
@@ -6147,17 +6147,17 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
6147
6147
  },
6148
6148
  { immediate: !0 }
6149
6149
  );
6150
- const r = (i = "") => {
6151
- e.value && e.value.state.doc.toString() !== i && e.value.dispatch({
6150
+ const r = (o = "") => {
6151
+ e.value && e.value.state.doc.toString() !== o && e.value.dispatch({
6152
6152
  changes: {
6153
6153
  from: 0,
6154
6154
  to: e.value.state.doc.length,
6155
- insert: i
6155
+ insert: o
6156
6156
  },
6157
6157
  selection: {
6158
6158
  anchor: Math.min(
6159
6159
  e.value.state.selection.main.anchor,
6160
- i.length
6160
+ o.length
6161
6161
  )
6162
6162
  }
6163
6163
  });
@@ -6186,9 +6186,9 @@ function Ka({
6186
6186
  onFocus: a,
6187
6187
  provider: O,
6188
6188
  language: r,
6189
- classes: i = [],
6189
+ classes: o = [],
6190
6190
  readOnly: s = !1,
6191
- lineNumbers: o = !1,
6191
+ lineNumbers: i = !1,
6192
6192
  withVariables: n = !1,
6193
6193
  disableEnter: l = !1,
6194
6194
  withoutTheme: c = !1,
@@ -6218,21 +6218,21 @@ function Ka({
6218
6218
  }
6219
6219
  }),
6220
6220
  // Add Classes
6221
- N.editorAttributes.of({ class: i.join(" ") }),
6221
+ N.editorAttributes.of({ class: o.join(" ") }),
6222
6222
  ...d
6223
6223
  ];
6224
- return O && h.push(O), c || h.push(is), s ? h.push(N.editable.of(!1)) : h.push(
6225
- os(),
6224
+ return O && h.push(O), c || h.push(os), s ? h.push(N.editable.of(!1)) : h.push(
6225
+ is(),
6226
6226
  ns(),
6227
- gi(),
6228
- oi(),
6227
+ So(),
6228
+ io(),
6229
6229
  et.of([
6230
6230
  ...xO,
6231
- ...di,
6232
- bi,
6231
+ ...po,
6232
+ Zo,
6233
6233
  pl
6234
6234
  ])
6235
- ), r && Ja[r] && h.push(Ja[r]()), o && h.push(ls()), n && h.push(cs()), l && h.push(
6235
+ ), r && Ja[r] && h.push(Ja[r]()), i && h.push(ls()), n && h.push(cs()), l && h.push(
6236
6236
  et.of([
6237
6237
  {
6238
6238
  key: "Enter",
@@ -6272,16 +6272,16 @@ const hl = /* @__PURE__ */ w({
6272
6272
  lineNumbers: ce(() => a.lineNumbers),
6273
6273
  withoutTheme: ce(() => a.withoutTheme),
6274
6274
  disableEnter: ce(() => a.disableEnter),
6275
- onChange: (i) => O("change", i || ""),
6275
+ onChange: (o) => O("change", o || ""),
6276
6276
  codeMirrorRef: r,
6277
6277
  classes: ["codemirror"]
6278
- }), (i, s) => (Q(), P("div", {
6278
+ }), (o, s) => (Q(), P("div", {
6279
6279
  ref_key: "codeMirrorRef",
6280
6280
  ref: r,
6281
6281
  class: "codemirror-container"
6282
6282
  }, null, 512));
6283
6283
  }
6284
- }), Pr = /* @__PURE__ */ R(hl, [["__scopeId", "data-v-c045d592"]]), fl = (t, e) => {
6284
+ }), Pr = /* @__PURE__ */ R(hl, [["__scopeId", "data-v-0abaf2d9"]]), fl = (t, e) => {
6285
6285
  if (typeof e != "string" || !e.length)
6286
6286
  return t;
6287
6287
  const a = t.endsWith("/") ? t : `${t}/`, O = e.startsWith("/") ? e.slice(1) : e;
@@ -6302,8 +6302,8 @@ function ml(t) {
6302
6302
  const r = Math.floor(O / 24);
6303
6303
  if (r < 30)
6304
6304
  return `${r} day${r === 1 ? "" : "s"} ago`;
6305
- const i = Math.floor(r / 30);
6306
- return i < 12 ? `${i} month${i === 1 ? "" : "s"} ago` : "more than a year ago";
6305
+ const o = Math.floor(r / 30);
6306
+ return o < 12 ? `${o} month${o === 1 ? "" : "s"} ago` : "more than a year ago";
6307
6307
  }
6308
6308
  function Ie(t, e, a) {
6309
6309
  const O = {};
@@ -6341,23 +6341,23 @@ function Ne(t) {
6341
6341
  return (t ?? []).map((e) => ({ ...e, enabled: !0 }));
6342
6342
  }
6343
6343
  const Pl = (t) => {
6344
- var s, o;
6344
+ var s, i;
6345
6345
  const { request: e } = t, { authentication: a } = Jt(), {
6346
6346
  openApi: { operation: O, globalSecurity: r }
6347
- } = hO(), i = uO(
6347
+ } = hO(), o = uO(
6348
6348
  a,
6349
6349
  ((s = O == null ? void 0 : O.information) == null ? void 0 : s.security) ?? r
6350
6350
  );
6351
6351
  return e.headers = [
6352
6352
  ...e.headers ?? [],
6353
- ...Ne(i.headers)
6353
+ ...Ne(o.headers)
6354
6354
  ], e.cookies = [
6355
6355
  ...e.cookies ?? [],
6356
- ...Ne(i.cookies)
6356
+ ...Ne(o.cookies)
6357
6357
  ], e.query = [
6358
6358
  ...e.query ?? [],
6359
- ...Ne(i.queryString)
6360
- ], e.body && Ct(e.body) && ((o = e.headers) != null && o.some(
6359
+ ...Ne(o.queryString)
6360
+ ], e.body && Ct(e.body) && ((i = e.headers) != null && i.some(
6361
6361
  (l) => l.name.toLowerCase() === "content-type"
6362
6362
  ) || (e.headers = [
6363
6363
  ...e.headers ?? [],
@@ -6383,9 +6383,9 @@ async function yl(t, e) {
6383
6383
  (t.headers ?? []).filter(($) => $.enabled),
6384
6384
  "name",
6385
6385
  "value"
6386
- ), r = Sl(t.url), i = Ql(t.path), [s, ...o] = fl(
6386
+ ), r = Sl(t.url), o = Ql(t.path), [s, ...i] = fl(
6387
6387
  r,
6388
- i
6388
+ o
6389
6389
  ).split("?"), n = $l(
6390
6390
  s,
6391
6391
  Ie(
@@ -6394,7 +6394,7 @@ async function yl(t, e) {
6394
6394
  "value"
6395
6395
  )
6396
6396
  ), l = [];
6397
- o.forEach(($) => {
6397
+ i.forEach(($) => {
6398
6398
  new URLSearchParams($ ?? "").forEach((k, H) => {
6399
6399
  l.push({
6400
6400
  name: H,
@@ -6466,7 +6466,7 @@ async function yl(t, e) {
6466
6466
  ...t,
6467
6467
  type: a,
6468
6468
  url: r,
6469
- path: i
6469
+ path: o
6470
6470
  },
6471
6471
  response: {
6472
6472
  ..._,
@@ -6531,17 +6531,17 @@ function dt(t, e) {
6531
6531
  const a = e.bits ? e.binary ? Tl : kl : e.binary ? wl : vl, O = e.space ? " " : "";
6532
6532
  if (e.signed && t === 0)
6533
6533
  return ` 0${O}${a[0]}`;
6534
- const r = t < 0, i = r ? "-" : e.signed ? "+" : "";
6534
+ const r = t < 0, o = r ? "-" : e.signed ? "+" : "";
6535
6535
  r && (t = -t);
6536
6536
  let s;
6537
6537
  if (e.minimumFractionDigits !== void 0 && (s = { minimumFractionDigits: e.minimumFractionDigits }), e.maximumFractionDigits !== void 0 && (s = { maximumFractionDigits: e.maximumFractionDigits, ...s }), t < 1) {
6538
6538
  const c = eO(t, e.locale, s);
6539
- return i + c + O + a[0];
6539
+ return o + c + O + a[0];
6540
6540
  }
6541
- const o = Math.min(Math.floor(e.binary ? Math.log(t) / Math.log(1024) : Math.log10(t) / 3), a.length - 1);
6542
- t /= (e.binary ? 1024 : 1e3) ** o, s || (t = t.toPrecision(3));
6543
- const n = eO(Number(t), e.locale, s), l = a[o];
6544
- return i + n + O + l;
6541
+ const i = Math.min(Math.floor(e.binary ? Math.log(t) / Math.log(1024) : Math.log10(t) / 3), a.length - 1);
6542
+ t /= (e.binary ? 1024 : 1e3) ** i, s || (t = t.toPrecision(3));
6543
+ const n = eO(Number(t), e.locale, s), l = a[i];
6544
+ return o + n + O + l;
6545
6545
  }
6546
6546
  function Xl(t) {
6547
6547
  if (typeof t != "number")
@@ -6562,10 +6562,10 @@ function $r(t, e = {}) {
6562
6562
  if (!Number.isFinite(t))
6563
6563
  throw new TypeError("Expected a finite number");
6564
6564
  e.colonNotation && (e.compact = !1, e.formatSubMilliseconds = !1, e.separateMilliseconds = !1, e.verbose = !1), e.compact && (e.secondsDecimalDigits = 0, e.millisecondsDecimalDigits = 0);
6565
- const a = [], O = (s, o) => {
6566
- const n = Math.floor(s * 10 ** o + _l);
6567
- return (Math.round(n) / 10 ** o).toFixed(o);
6568
- }, r = (s, o, n, l) => {
6565
+ const a = [], O = (s, i) => {
6566
+ const n = Math.floor(s * 10 ** i + _l);
6567
+ return (Math.round(n) / 10 ** i).toFixed(i);
6568
+ }, r = (s, i, n, l) => {
6569
6569
  if ((a.length === 0 || !e.colonNotation) && s === 0 && !(e.colonNotation && n === "m"))
6570
6570
  return;
6571
6571
  l = (l || s || "0").toString();
@@ -6575,14 +6575,14 @@ function $r(t, e = {}) {
6575
6575
  const h = l.includes(".") ? l.split(".")[0].length : l.length, f = a.length > 0 ? 2 : 1;
6576
6576
  l = "0".repeat(Math.max(0, f - h)) + l;
6577
6577
  } else
6578
- c = "", d = e.verbose ? " " + xl(o, s) : n;
6578
+ c = "", d = e.verbose ? " " + xl(i, s) : n;
6579
6579
  a.push(c + l + d);
6580
- }, i = Xl(t);
6581
- if (r(Math.trunc(i.days / 365), "year", "y"), r(i.days % 365, "day", "d"), r(i.hours, "hour", "h"), r(i.minutes, "minute", "m"), e.separateMilliseconds || e.formatSubMilliseconds || !e.colonNotation && t < 1e3)
6582
- if (r(i.seconds, "second", "s"), e.formatSubMilliseconds)
6583
- r(i.milliseconds, "millisecond", "ms"), r(i.microseconds, "microsecond", "µs"), r(i.nanoseconds, "nanosecond", "ns");
6580
+ }, o = Xl(t);
6581
+ if (r(Math.trunc(o.days / 365), "year", "y"), r(o.days % 365, "day", "d"), r(o.hours, "hour", "h"), r(o.minutes, "minute", "m"), e.separateMilliseconds || e.formatSubMilliseconds || !e.colonNotation && t < 1e3)
6582
+ if (r(o.seconds, "second", "s"), e.formatSubMilliseconds)
6583
+ r(o.milliseconds, "millisecond", "ms"), r(o.microseconds, "microsecond", "µs"), r(o.nanoseconds, "nanosecond", "ns");
6584
6584
  else {
6585
- const s = i.milliseconds + i.microseconds / 1e3 + i.nanoseconds / 1e6, o = typeof e.millisecondsDecimalDigits == "number" ? e.millisecondsDecimalDigits : 0, n = s >= 1 ? Math.round(s) : Math.ceil(s), l = o ? s.toFixed(o) : n;
6585
+ const s = o.milliseconds + o.microseconds / 1e3 + o.nanoseconds / 1e6, i = typeof e.millisecondsDecimalDigits == "number" ? e.millisecondsDecimalDigits : 0, n = s >= 1 ? Math.round(s) : Math.ceil(s), l = i ? s.toFixed(i) : n;
6586
6586
  r(
6587
6587
  Number.parseFloat(l),
6588
6588
  "millisecond",
@@ -6591,7 +6591,7 @@ function $r(t, e = {}) {
6591
6591
  );
6592
6592
  }
6593
6593
  else {
6594
- const s = t / 1e3 % 60, o = typeof e.secondsDecimalDigits == "number" ? e.secondsDecimalDigits : 1, n = O(s, o), l = e.keepDecimalsOnWholeSeconds ? n : n.replace(/\.0+$/, "");
6594
+ const s = t / 1e3 % 60, i = typeof e.secondsDecimalDigits == "number" ? e.secondsDecimalDigits : 1, n = O(s, i), l = e.keepDecimalsOnWholeSeconds ? n : n.replace(/\.0+$/, "");
6595
6595
  r(Number.parseFloat(l), "second", "s", l);
6596
6596
  }
6597
6597
  if (a.length === 0)
@@ -6610,37 +6610,37 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6610
6610
  history: {}
6611
6611
  },
6612
6612
  setup(t) {
6613
- const { requestHistory: e, activeRequestId: a, setActiveResponse: O } = K(), r = (i) => {
6613
+ const { requestHistory: e, activeRequestId: a, setActiveResponse: O } = K(), r = (o) => {
6614
6614
  var s;
6615
- return (s = i == null ? void 0 : i.headers) != null && s["X-API-Client-Content-Length"] ? dt(
6616
- parseFloat(i.headers["X-API-Client-Content-Length"])
6615
+ return (s = o == null ? void 0 : o.headers) != null && s["X-API-Client-Content-Length"] ? dt(
6616
+ parseFloat(o.headers["X-API-Client-Content-Length"])
6617
6617
  ) : dt(0);
6618
6618
  };
6619
- return (i, s) => (Q(), P("div", {
6620
- class: J(["navtable-item", { "navtable-item__active": m(a) === i.history }]),
6621
- onClick: s[0] || (s[0] = (o) => m(O)(i.history))
6619
+ return (o, s) => (Q(), P("div", {
6620
+ class: J(["navtable-item", { "navtable-item__active": m(a) === o.history }]),
6621
+ onClick: s[0] || (s[0] = (i) => m(O)(o.history))
6622
6622
  }, [
6623
6623
  u("div", Wl, [
6624
6624
  u("button", {
6625
- class: J(["radio", m(e)[i.history].request.type.toLowerCase()]),
6625
+ class: J(["radio", m(e)[o.history].request.type.toLowerCase()]),
6626
6626
  type: "button"
6627
6627
  }, null, 2),
6628
6628
  u("span", null, [
6629
- u("em", null, X(m(e)[i.history].request.type), 1),
6630
- U(" " + X(m(e)[i.history].request.url), 1)
6629
+ u("em", null, X(m(e)[o.history].request.type), 1),
6630
+ U(" " + X(m(e)[o.history].request.url), 1)
6631
6631
  ])
6632
6632
  ]),
6633
6633
  u("div", Yl, [
6634
- u("span", null, X(m($r)(m(e)[i.history].response.duration)), 1),
6634
+ u("span", null, X(m($r)(m(e)[o.history].response.duration)), 1),
6635
6635
  u("span", {
6636
6636
  class: J(`scalar-api-client__status--${String(
6637
- m(e)[i.history].response.statusCode
6637
+ m(e)[o.history].response.statusCode
6638
6638
  ).charAt(0)}xx`)
6639
- }, X(m(e)[i.history].response.statusCode), 3),
6640
- u("span", null, X(r(m(e)[i.history].response)), 1)
6639
+ }, X(m(e)[o.history].response.statusCode), 3),
6640
+ u("span", null, X(r(m(e)[o.history].response)), 1)
6641
6641
  ]),
6642
6642
  u("div", Rl, [
6643
- u("span", null, X(m(ml)(m(e)[i.history].sentTime)), 1)
6643
+ u("span", null, X(m(ml)(m(e)[o.history].sentTime)), 1)
6644
6644
  ])
6645
6645
  ], 2));
6646
6646
  }
@@ -6701,7 +6701,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6701
6701
  ], 40, Bl)
6702
6702
  ]));
6703
6703
  }
6704
- }), Nl = /* @__PURE__ */ R(Dl, [["__scopeId", "data-v-9e096eb8"]]), Ee = (t) => (ut("data-v-7b70ccb4"), t = t(), ht(), t), Ml = {
6704
+ }), Nl = /* @__PURE__ */ R(Dl, [["__scopeId", "data-v-9e096eb8"]]), Ee = (t) => (ut("data-v-377e9615"), t = t(), ht(), t), Ml = {
6705
6705
  key: 0,
6706
6706
  class: "loader"
6707
6707
  }, Ll = { class: "url-form" }, Fl = { class: "url-form-field" }, Jl = { class: "url-form-input-wrapper cm-scroller" }, Kl = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("div", { class: "url-form-input-fade__left" }, null, -1)), ec = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("div", { class: "url-form-input-fade__right" }, null, -1)), tc = {
@@ -6748,9 +6748,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6748
6748
  "fill-rule": "evenodd"
6749
6749
  })
6750
6750
  ])
6751
- ], -1)), ic = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("span", null, "Send", -1)), oc = [
6751
+ ], -1)), oc = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("span", null, "Send", -1)), ic = [
6752
6752
  sc,
6753
- ic
6753
+ oc
6754
6754
  ], nc = { class: "address-bar-content" }, lc = /* @__PURE__ */ w({
6755
6755
  __name: "AddressBar",
6756
6756
  props: {
@@ -6760,34 +6760,34 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6760
6760
  setup(t, { emit: e }) {
6761
6761
  const a = t, O = e, r = mO();
6762
6762
  Ut(us() ? r.meta_enter : r.ctrl_enter, $);
6763
- const i = F(!1), s = F(!1), {
6764
- activeRequest: o,
6763
+ const o = F(!1), s = F(!1), {
6764
+ activeRequest: i,
6765
6765
  addRequestToHistory: n,
6766
6766
  requestHistory: l,
6767
6767
  requestHistoryOrder: c,
6768
6768
  readOnly: d,
6769
6769
  setActiveRequest: h
6770
- } = K(), f = hs(), g = x(() => o.url), y = x(() => o.type), _ = x(() => o.path), W = x(() => `${g.value}${_.value}`);
6770
+ } = K(), f = hs(), g = x(() => i.url), y = x(() => i.type), _ = x(() => i.path), W = x(() => `${g.value}${_.value}`);
6771
6771
  async function $() {
6772
6772
  const T = Pl({
6773
- request: { ...o }
6773
+ request: { ...i }
6774
6774
  });
6775
6775
  s.value = !0, O("onSend");
6776
6776
  const V = await yl(T, a.proxyUrl);
6777
6777
  V && n(V), s.value = !1;
6778
6778
  }
6779
6779
  const k = (T) => {
6780
- d.value || o.url + o.path !== T && h({ ...o, url: T, path: "" });
6780
+ d.value || i.url + i.path !== T && h({ ...i, url: T, path: "" });
6781
6781
  }, H = (T) => {
6782
6782
  T && h({
6783
- ...o,
6783
+ ...i,
6784
6784
  type: T.toLocaleLowerCase()
6785
6785
  });
6786
6786
  };
6787
6787
  return (T, V) => (Q(), P(j, null, [
6788
6788
  s.value ? (Q(), P("div", Ml)) : M("", !0),
6789
6789
  u("div", {
6790
- class: J(["address-bar", { "address-bar--with-history": i.value }])
6790
+ class: J(["address-bar", { "address-bar--with-history": o.value }])
6791
6791
  }, [
6792
6792
  u("div", Ll, [
6793
6793
  u("div", Fl, [
@@ -6820,12 +6820,12 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6820
6820
  disabled: !W.value.trim().length,
6821
6821
  type: "submit",
6822
6822
  onClick: $
6823
- }, oc, 8, rc)
6823
+ }, ic, 8, rc)
6824
6824
  ])
6825
6825
  ]),
6826
6826
  u("div", {
6827
6827
  class: "address-bar-close",
6828
- onClick: V[1] || (V[1] = (me) => i.value = !1)
6828
+ onClick: V[1] || (V[1] = (me) => o.value = !1)
6829
6829
  }),
6830
6830
  u("div", nc, [
6831
6831
  Z(m(fs), {
@@ -6835,8 +6835,8 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6835
6835
  }, {
6836
6836
  default: b(() => [
6837
6837
  Z(El, {
6838
- showHistory: i.value,
6839
- onToggle: V[2] || (V[2] = (me) => i.value = !i.value)
6838
+ showHistory: o.value,
6839
+ onToggle: V[2] || (V[2] = (me) => o.value = !o.value)
6840
6840
  }, null, 8, ["showHistory"])
6841
6841
  ]),
6842
6842
  _: 1
@@ -6845,22 +6845,22 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6845
6845
  ], 2)
6846
6846
  ], 64));
6847
6847
  }
6848
- }), cc = /* @__PURE__ */ R(lc, [["__scopeId", "data-v-7b70ccb4"]]), dc = /* @__PURE__ */ u("svg", {
6848
+ }), cc = /* @__PURE__ */ R(lc, [["__scopeId", "data-v-377e9615"]]), dc = { class: "scalar-api-client__toggle-container" }, pc = { class: "scalar-api-client__item__title" }, uc = {
6849
+ key: 0,
6850
+ class: "scalar-api-client__item__options"
6851
+ }, hc = /* @__PURE__ */ u("svg", {
6849
6852
  class: "scalar-api-client__toggle__icon",
6850
- height: "10",
6851
- viewBox: "0 0 5 10",
6852
- width: "5",
6853
- xmlns: "http://www.w3.org/2000/svg"
6853
+ xmlns: "http://www.w3.org/2000/svg",
6854
+ fill: "none",
6855
+ viewBox: "0 0 12 12"
6854
6856
  }, [
6855
6857
  /* @__PURE__ */ u("path", {
6856
- d: "M0 10l5-5-5-5z",
6857
- fill: "currentColor",
6858
- "fill-rule": "nonzero"
6858
+ stroke: "currentColor",
6859
+ "stroke-linecap": "round",
6860
+ "stroke-linejoin": "round",
6861
+ d: "M2.2 4.1 6 7.9l3.8-3.8"
6859
6862
  })
6860
- ], -1), pc = { class: "scalar-api-client__item__title" }, uc = {
6861
- key: 0,
6862
- class: "scalar-api-client__item__options"
6863
- }, hc = { class: "scalar-api-client__item__content" }, se = /* @__PURE__ */ w({
6863
+ ], -1), fc = { class: "scalar-api-client__item__content" }, se = /* @__PURE__ */ w({
6864
6864
  __name: "CollapsibleSection",
6865
6865
  props: {
6866
6866
  title: {},
@@ -6870,18 +6870,18 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6870
6870
  const e = t, a = F(null), O = F(null), r = F(e.defaultOpen);
6871
6871
  return Se(
6872
6872
  () => e.defaultOpen,
6873
- (i, s) => {
6874
- var o;
6875
- i !== s && i !== r.value && ((o = a.value) == null || o.el.click());
6873
+ (o, s) => {
6874
+ var i;
6875
+ o !== s && o !== r.value && ((i = a.value) == null || i.el.click());
6876
6876
  }
6877
- ), (i, s) => (Q(), v(m(_r), {
6877
+ ), (o, s) => (Q(), v(m(_r), {
6878
6878
  ref_key: "disclosureButton",
6879
6879
  ref: O,
6880
- defaultOpen: i.defaultOpen
6880
+ defaultOpen: o.defaultOpen
6881
6881
  }, {
6882
- default: b(({ open: o }) => [
6882
+ default: b(({ open: i }) => [
6883
6883
  u("div", {
6884
- class: J(["scalar-api-client__item", { "scalar-api-client__item--open": o }])
6884
+ class: J(["scalar-api-client__item", { "scalar-api-client__item--open": i }])
6885
6885
  }, [
6886
6886
  Z(m(Wr), {
6887
6887
  ref_key: "collapseButton",
@@ -6890,18 +6890,20 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6890
6890
  onClick: s[0] || (s[0] = (n) => r.value = !r.value)
6891
6891
  }, {
6892
6892
  default: b(() => [
6893
- dc,
6894
- u("span", pc, X(i.title), 1),
6895
- i.$slots.options && o ? (Q(), P("div", uc, [
6896
- E(i.$slots, "options")
6897
- ])) : M("", !0)
6893
+ u("div", dc, [
6894
+ u("span", pc, X(o.title), 1),
6895
+ o.$slots.options && i ? (Q(), P("div", uc, [
6896
+ E(o.$slots, "options")
6897
+ ])) : M("", !0)
6898
+ ]),
6899
+ hc
6898
6900
  ]),
6899
6901
  _: 2
6900
6902
  }, 1536),
6901
6903
  Z(m(Yr), null, {
6902
6904
  default: b(() => [
6903
- u("div", hc, [
6904
- E(i.$slots, "default")
6905
+ u("div", fc, [
6906
+ E(o.$slots, "default")
6905
6907
  ])
6906
6908
  ]),
6907
6909
  _: 3
@@ -6911,13 +6913,13 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6911
6913
  _: 3
6912
6914
  }, 8, ["defaultOpen"]));
6913
6915
  }
6914
- }), fc = {
6916
+ }), mc = {
6915
6917
  key: 0,
6916
6918
  class: "preferred-security-scheme"
6917
- }, mc = {
6919
+ }, Qc = {
6918
6920
  key: 1,
6919
6921
  class: "security-scheme-empty-state"
6920
- }, Qc = /* @__PURE__ */ w({
6922
+ }, gc = /* @__PURE__ */ w({
6921
6923
  __name: "RequestAuthentication",
6922
6924
  setup(t) {
6923
6925
  const e = F(null);
@@ -6929,10 +6931,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6929
6931
  block: "center"
6930
6932
  });
6931
6933
  });
6932
- const { authentication: a, setAuthentication: O } = Jt(), r = (i) => {
6934
+ const { authentication: a, setAuthentication: O } = Jt(), r = (o) => {
6933
6935
  O({
6934
6936
  customSecurity: !0,
6935
- preferredSecurityScheme: i,
6937
+ preferredSecurityScheme: o,
6936
6938
  securitySchemes: {
6937
6939
  apiKey: { type: "apiKey", name: "apiKey", in: "header" },
6938
6940
  httpBasic: { type: "http", scheme: "basic" },
@@ -6941,7 +6943,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6941
6943
  }
6942
6944
  });
6943
6945
  };
6944
- return (i, s) => (Q(), P("div", {
6946
+ return (o, s) => (Q(), P("div", {
6945
6947
  ref_key: "requestAuthenticationRef",
6946
6948
  ref: e
6947
6949
  }, [
@@ -6952,14 +6954,14 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6952
6954
  }, null, 8, ["value"])
6953
6955
  ]),
6954
6956
  default: b(() => {
6955
- var o;
6957
+ var i;
6956
6958
  return [
6957
- m(a).preferredSecurityScheme ? (Q(), P("div", fc, [
6959
+ m(a).preferredSecurityScheme ? (Q(), P("div", mc, [
6958
6960
  Z(Qs, {
6959
- value: (o = m(a).securitySchemes) == null ? void 0 : o[m(a).preferredSecurityScheme]
6961
+ value: (i = m(a).securitySchemes) == null ? void 0 : i[m(a).preferredSecurityScheme]
6960
6962
  }, null, 8, ["value"])
6961
6963
  ])) : M("", !0),
6962
- m(a).securitySchemes ? M("", !0) : (Q(), P("div", mc, [
6964
+ m(a).securitySchemes ? M("", !0) : (Q(), P("div", Qc, [
6963
6965
  u("div", {
6964
6966
  class: "scalar-api-client-add",
6965
6967
  variant: "outlined",
@@ -6982,31 +6984,31 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
6982
6984
  })
6983
6985
  ], 512));
6984
6986
  }
6985
- }), gc = /* @__PURE__ */ R(Qc, [["__scopeId", "data-v-b8475d60"]]), Sc = { class: "table-row" }, Pc = { class: "table-row-item" }, $c = { class: "table-row-item" }, bc = {
6987
+ }), Sc = /* @__PURE__ */ R(gc, [["__scopeId", "data-v-26557457"]]), Pc = { class: "table-row" }, $c = { class: "table-row-item" }, bc = { class: "table-row-item" }, Zc = {
6986
6988
  key: 0,
6987
6989
  class: "table-row-item"
6988
- }, Zc = { class: "table-row-meta" }, yc = /* @__PURE__ */ w({
6990
+ }, yc = { class: "table-row-meta" }, vc = /* @__PURE__ */ w({
6989
6991
  __name: "GridRow",
6990
6992
  props: {
6991
6993
  showDescription: { type: Boolean }
6992
6994
  },
6993
6995
  setup(t) {
6994
- return (e, a) => (Q(), P("div", Sc, [
6995
- u("div", Pc, [
6996
+ return (e, a) => (Q(), P("div", Pc, [
6997
+ u("div", $c, [
6996
6998
  E(e.$slots, "key", {}, void 0, !0)
6997
6999
  ]),
6998
- u("div", $c, [
7000
+ u("div", bc, [
6999
7001
  E(e.$slots, "value", {}, void 0, !0)
7000
7002
  ]),
7001
- e.showDescription ? (Q(), P("div", bc, [
7003
+ e.showDescription ? (Q(), P("div", Zc, [
7002
7004
  E(e.$slots, "description", {}, void 0, !0)
7003
7005
  ])) : M("", !0),
7004
- u("div", Zc, [
7006
+ u("div", yc, [
7005
7007
  E(e.$slots, "meta", {}, void 0, !0)
7006
7008
  ])
7007
7009
  ]));
7008
7010
  }
7009
- }), la = /* @__PURE__ */ R(yc, [["__scopeId", "data-v-65b233b7"]]), gt = (t) => (ut("data-v-1678900e"), t = t(), ht(), t), vc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Key", -1)), wc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Value", -1)), kc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Description", -1)), Tc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("svg", {
7011
+ }), la = /* @__PURE__ */ R(vc, [["__scopeId", "data-v-d7973491"]]), gt = (t) => (ut("data-v-9c8918c7"), t = t(), ht(), t), wc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Key", -1)), kc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Value", -1)), Tc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Description", -1)), Xc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("svg", {
7010
7012
  fill: "currentColor",
7011
7013
  height: "12",
7012
7014
  viewBox: "0 0 18 12",
@@ -7017,7 +7019,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7017
7019
  d: "M0 12h12v-2H0v2zM0 0v2h18V0H0zm0 7h18V5H0v2z",
7018
7020
  "fill-rule": "nonzero"
7019
7021
  })
7020
- ], -1)), Xc = /* @__PURE__ */ w({
7022
+ ], -1)), xc = /* @__PURE__ */ w({
7021
7023
  __name: "GridHeader",
7022
7024
  props: {
7023
7025
  showDescription: { type: Boolean }
@@ -7026,13 +7028,13 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7026
7028
  setup(t) {
7027
7029
  return (e, a) => (Q(), v(la, { showDescription: e.showDescription }, {
7028
7030
  key: b(() => [
7029
- vc
7031
+ wc
7030
7032
  ]),
7031
7033
  value: b(() => [
7032
- wc
7034
+ kc
7033
7035
  ]),
7034
7036
  description: b(() => [
7035
- kc
7037
+ Tc
7036
7038
  ]),
7037
7039
  meta: b(() => [
7038
7040
  Z(m(gs), {
@@ -7041,7 +7043,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7041
7043
  onClick: a[0] || (a[0] = (O) => e.$emit("update:showDescription", !e.showDescription))
7042
7044
  }, {
7043
7045
  default: b(() => [
7044
- Tc
7046
+ Xc
7045
7047
  ]),
7046
7048
  _: 1
7047
7049
  })
@@ -7049,7 +7051,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7049
7051
  _: 1
7050
7052
  }, 8, ["showDescription"]));
7051
7053
  }
7052
- }), xc = /* @__PURE__ */ R(Xc, [["__scopeId", "data-v-1678900e"]]), br = (t) => (ut("data-v-017a5949"), t = t(), ht(), t), _c = { class: "meta-check" }, Wc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("span", { class: "meta-checkmark" }, null, -1)), Yc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("svg", {
7054
+ }), _c = /* @__PURE__ */ R(xc, [["__scopeId", "data-v-9c8918c7"]]), br = (t) => (ut("data-v-de8f9d11"), t = t(), ht(), t), Wc = { class: "meta-check" }, Yc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("span", { class: "meta-checkmark" }, null, -1)), Rc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("svg", {
7053
7055
  fill: "none",
7054
7056
  height: "10",
7055
7057
  viewBox: "-0.5 -0.5 10 10",
@@ -7070,9 +7072,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7070
7072
  "stroke-linejoin": "round",
7071
7073
  "stroke-width": "1.5"
7072
7074
  })
7073
- ], -1)), Rc = [
7074
- Yc
7075
- ], qc = /* @__PURE__ */ w({
7075
+ ], -1)), qc = [
7076
+ Rc
7077
+ ], Cc = /* @__PURE__ */ w({
7076
7078
  __name: "GridRowEditable",
7077
7079
  props: {
7078
7080
  name: {},
@@ -7088,7 +7090,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7088
7090
  set: (n) => {
7089
7091
  O("update:enabled", !0), O("update:name", n);
7090
7092
  }
7091
- }), i = x({
7093
+ }), o = x({
7092
7094
  get: () => `${a.value}`,
7093
7095
  set: (n) => {
7094
7096
  O("update:enabled", !0), O("update:value", n);
@@ -7096,7 +7098,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7096
7098
  }), s = x({
7097
7099
  get: () => a.description ?? "",
7098
7100
  set: (n) => O("update:description", n)
7099
- }), o = x({
7101
+ }), i = x({
7100
7102
  get: () => a.enabled,
7101
7103
  set: (n) => O("update:enabled", n)
7102
7104
  });
@@ -7113,10 +7115,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7113
7115
  ]),
7114
7116
  value: b(() => [
7115
7117
  pe(u("input", {
7116
- "onUpdate:modelValue": l[1] || (l[1] = (c) => i.value = c),
7118
+ "onUpdate:modelValue": l[1] || (l[1] = (c) => o.value = c),
7117
7119
  placeholder: "Value"
7118
7120
  }, null, 512), [
7119
- [Me, i.value]
7121
+ [Me, o.value]
7120
7122
  ])
7121
7123
  ]),
7122
7124
  description: b(() => [
@@ -7128,29 +7130,29 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7128
7130
  ])
7129
7131
  ]),
7130
7132
  meta: b(() => [
7131
- u("label", _c, [
7133
+ u("label", Wc, [
7132
7134
  pe(u("input", {
7133
- "onUpdate:modelValue": l[3] || (l[3] = (c) => o.value = c),
7135
+ "onUpdate:modelValue": l[3] || (l[3] = (c) => i.value = c),
7134
7136
  type: "checkbox"
7135
7137
  }, null, 512), [
7136
- [kr, o.value]
7138
+ [kr, i.value]
7137
7139
  ]),
7138
- Wc
7140
+ Yc
7139
7141
  ]),
7140
7142
  n.required ? M("", !0) : (Q(), P("button", {
7141
7143
  key: 0,
7142
7144
  class: "meta-delete",
7143
7145
  type: "button",
7144
7146
  onClick: l[4] || (l[4] = (c) => n.$emit("delete"))
7145
- }, Rc))
7147
+ }, qc))
7146
7148
  ]),
7147
7149
  _: 1
7148
7150
  }, 8, ["class"]));
7149
7151
  }
7150
- }), Cc = /* @__PURE__ */ R(qc, [["__scopeId", "data-v-017a5949"]]), Uc = (t) => (ut("data-v-aba8c9d5"), t = t(), ht(), t), jc = ["value"], zc = ["value"], Vc = /* @__PURE__ */ Uc(() => /* @__PURE__ */ u("input", {
7152
+ }), Uc = /* @__PURE__ */ R(Cc, [["__scopeId", "data-v-de8f9d11"]]), jc = (t) => (ut("data-v-aba8c9d5"), t = t(), ht(), t), zc = ["value"], Vc = ["value"], Gc = /* @__PURE__ */ jc(() => /* @__PURE__ */ u("input", {
7151
7153
  disabled: "",
7152
7154
  value: "Read-only"
7153
- }, null, -1)), Gc = /* @__PURE__ */ w({
7155
+ }, null, -1)), Ac = /* @__PURE__ */ w({
7154
7156
  __name: "GridRowGenerated",
7155
7157
  props: {
7156
7158
  item: {}
@@ -7162,7 +7164,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7162
7164
  disabled: "",
7163
7165
  placeholder: "key",
7164
7166
  value: e.item.name
7165
- }, null, 8, jc)
7167
+ }, null, 8, zc)
7166
7168
  ]),
7167
7169
  value: b(() => [
7168
7170
  u("input", {
@@ -7170,15 +7172,15 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7170
7172
  placeholder: "value",
7171
7173
  type: "password",
7172
7174
  value: e.item.value
7173
- }, null, 8, zc)
7175
+ }, null, 8, Vc)
7174
7176
  ]),
7175
7177
  description: b(() => [
7176
- Vc
7178
+ Gc
7177
7179
  ]),
7178
7180
  _: 1
7179
7181
  }));
7180
7182
  }
7181
- }), Ac = /* @__PURE__ */ R(Gc, [["__scopeId", "data-v-aba8c9d5"]]), Ec = { class: "table" }, Hc = { class: "meta-actions" }, Bc = { class: "meta-actions-item-icon" }, Ic = { class: "meta-actions-item-icon" }, Dc = /* @__PURE__ */ w({
7183
+ }), Ec = /* @__PURE__ */ R(Ac, [["__scopeId", "data-v-aba8c9d5"]]), Hc = { class: "table" }, Bc = { class: "meta-actions" }, Ic = { class: "meta-actions-item-icon" }, Dc = { class: "meta-actions-item-icon" }, Nc = /* @__PURE__ */ w({
7182
7184
  __name: "Grid",
7183
7185
  props: {
7184
7186
  items: {},
@@ -7189,21 +7191,21 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7189
7191
  emits: ["deleteIndex", "addAnother"],
7190
7192
  setup(t, { emit: e }) {
7191
7193
  const a = e, O = F(!1), r = F(!1);
7192
- function i() {
7194
+ function o() {
7193
7195
  a("addAnother"), r.value = !0;
7194
7196
  }
7195
- return (s, o) => (Q(), P("div", Ec, [
7196
- Z(xc, {
7197
+ return (s, i) => (Q(), P("div", Hc, [
7198
+ Z(_c, {
7197
7199
  showDescription: O.value,
7198
- "onUpdate:showDescription": o[0] || (o[0] = (n) => O.value = n)
7200
+ "onUpdate:showDescription": i[0] || (i[0] = (n) => O.value = n)
7199
7201
  }, null, 8, ["showDescription"]),
7200
- (Q(!0), P(j, null, fe(s.generatedItems, (n) => (Q(), v(Ac, {
7202
+ (Q(!0), P(j, null, fe(s.generatedItems, (n) => (Q(), v(Ec, {
7201
7203
  key: n.name,
7202
7204
  item: n,
7203
7205
  showDescription: O.value,
7204
- onClick: o[1] || (o[1] = (l) => m(fO).emit())
7206
+ onClick: i[1] || (i[1] = (l) => m(fO).emit())
7205
7207
  }, null, 8, ["item", "showDescription"]))), 128)),
7206
- (Q(!0), P(j, null, fe(s.items, (n, l) => pe((Q(), v(Cc, {
7208
+ (Q(!0), P(j, null, fe(s.items, (n, l) => pe((Q(), v(Uc, {
7207
7209
  key: l,
7208
7210
  description: n.description,
7209
7211
  "onUpdate:description": (c) => n.description = c,
@@ -7219,14 +7221,14 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7219
7221
  }, null, 8, ["description", "onUpdate:description", "enabled", "onUpdate:enabled", "name", "onUpdate:name", "value", "onUpdate:value", "required", "showDescription", "onDelete"])), [
7220
7222
  [sO, !s.showMoreFilter || s.showMoreFilter && l < 5 || r.value]
7221
7223
  ])), 128)),
7222
- u("div", Hc, [
7224
+ u("div", Bc, [
7223
7225
  s.addLabel ? (Q(), P("button", {
7224
7226
  key: 0,
7225
7227
  class: "meta-actions-item",
7226
7228
  type: "button",
7227
- onClick: i
7229
+ onClick: o
7228
7230
  }, [
7229
- u("i", Bc, [
7231
+ u("i", Ic, [
7230
7232
  Z(m(ua), { icon: "Add" })
7231
7233
  ]),
7232
7234
  U(" " + X(s.addLabel), 1)
@@ -7235,40 +7237,40 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7235
7237
  key: 1,
7236
7238
  class: "meta-actions-item",
7237
7239
  type: "button",
7238
- onClick: o[2] || (o[2] = (n) => r.value = !0)
7240
+ onClick: i[2] || (i[2] = (n) => r.value = !0)
7239
7241
  }, [
7240
7242
  U(" Show More "),
7241
- u("i", Ic, [
7243
+ u("i", Dc, [
7242
7244
  Z(m(ua), { icon: "ChevronDown" })
7243
7245
  ])
7244
7246
  ])) : M("", !0)
7245
7247
  ])
7246
7248
  ]));
7247
7249
  }
7248
- }), He = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-7b4a39aa"]]), Nc = { class: "navtable simpletable" }, Mc = { class: "navtable-table" }, Lc = /* @__PURE__ */ Nt('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>', 1), Fc = { class: "navtable-item-33" }, Jc = { class: "navtable-item-66" }, Kc = /* @__PURE__ */ w({
7250
+ }), He = /* @__PURE__ */ R(Nc, [["__scopeId", "data-v-a7446374"]]), Mc = { class: "navtable simpletable" }, Lc = { class: "navtable-table" }, Fc = /* @__PURE__ */ Nt('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>', 1), Jc = { class: "navtable-item-33" }, Kc = { class: "navtable-item-66" }, ed = /* @__PURE__ */ w({
7249
7251
  __name: "SimpleGrid",
7250
7252
  props: {
7251
7253
  items: {}
7252
7254
  },
7253
7255
  setup(t) {
7254
- return (e, a) => (Q(), P("div", Nc, [
7255
- u("div", Mc, [
7256
- Lc,
7256
+ return (e, a) => (Q(), P("div", Mc, [
7257
+ u("div", Lc, [
7258
+ Fc,
7257
7259
  (Q(!0), P(j, null, fe(e.items, (O) => (Q(), P("div", {
7258
7260
  key: O.id,
7259
7261
  class: "navtable-item"
7260
7262
  }, [
7261
- u("div", Fc, [
7263
+ u("div", Jc, [
7262
7264
  u("p", null, X(O.name), 1)
7263
7265
  ]),
7264
- u("div", Jc, [
7266
+ u("div", Kc, [
7265
7267
  u("p", null, X(O.value), 1)
7266
7268
  ])
7267
7269
  ]))), 128))
7268
7270
  ])
7269
7271
  ]));
7270
7272
  }
7271
- }), ed = /* @__PURE__ */ R(Kc, [["__scopeId", "data-v-af627a74"]]), td = { key: 0 }, ad = /* @__PURE__ */ w({
7273
+ }), td = /* @__PURE__ */ R(ed, [["__scopeId", "data-v-af627a74"]]), ad = { key: 0 }, Od = /* @__PURE__ */ w({
7272
7274
  __name: "RequestBody",
7273
7275
  props: {
7274
7276
  body: {},
@@ -7281,9 +7283,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7281
7283
  body: r
7282
7284
  });
7283
7285
  };
7284
- return (r, i) => (Q(), v(m(se), { title: "Body" }, {
7286
+ return (r, o) => (Q(), v(m(se), { title: "Body" }, {
7285
7287
  default: b(() => [
7286
- r.body && r.body.length === 0 && r.formData && r.formData.length === 0 ? (Q(), P("span", td, "No Body")) : r.formData && r.formData.length > 0 ? (Q(), v(m(He), {
7288
+ r.body && r.body.length === 0 && r.formData && r.formData.length === 0 ? (Q(), P("span", ad, "No Body")) : r.formData && r.formData.length > 0 ? (Q(), v(m(He), {
7287
7289
  key: 1,
7288
7290
  items: r.formData
7289
7291
  }, null, 8, ["items"])) : (Q(), v(m(Pr), {
@@ -7297,10 +7299,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7297
7299
  _: 1
7298
7300
  }));
7299
7301
  }
7300
- }), Od = {
7302
+ }), rd = {
7301
7303
  key: 0,
7302
7304
  class: "scalar-api-client__empty-state"
7303
- }, rd = /* @__PURE__ */ u("svg", {
7305
+ }, sd = /* @__PURE__ */ u("svg", {
7304
7306
  class: "flow-icon",
7305
7307
  "data-v-aa4fbd2d": "",
7306
7308
  height: "100%",
@@ -7316,7 +7318,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7316
7318
  "stroke-width": "3.429",
7317
7319
  xmlns: "http://www.w3.org/2000/svg"
7318
7320
  })
7319
- ], -1), sd = /* @__PURE__ */ w({
7321
+ ], -1), od = /* @__PURE__ */ w({
7320
7322
  __name: "RequestCookies",
7321
7323
  props: {
7322
7324
  cookies: {},
@@ -7325,36 +7327,36 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7325
7327
  setup(t) {
7326
7328
  const e = t, { activeRequest: a } = K();
7327
7329
  function O(s) {
7328
- var o;
7329
- (o = a.cookies) == null || o.splice(s, 1);
7330
+ var i;
7331
+ (i = a.cookies) == null || i.splice(s, 1);
7330
7332
  }
7331
7333
  function r() {
7332
7334
  var s;
7333
7335
  a.cookies === void 0 && (a.cookies = []), (s = a.cookies) == null || s.push({ name: "", value: "", enabled: !0 });
7334
7336
  }
7335
- const i = x(() => {
7336
- var s, o;
7337
- return !!((s = e.cookies) != null && s.length || (o = e.generatedCookies) != null && o.length);
7337
+ const o = x(() => {
7338
+ var s, i;
7339
+ return !!((s = e.cookies) != null && s.length || (i = e.generatedCookies) != null && i.length);
7338
7340
  });
7339
- return (s, o) => (Q(), v(m(se), {
7340
- defaultOpen: i.value,
7341
+ return (s, i) => (Q(), v(m(se), {
7342
+ defaultOpen: o.value,
7341
7343
  title: "Cookies"
7342
7344
  }, {
7343
7345
  default: b(() => [
7344
- i.value ? (Q(), v(m(He), {
7346
+ o.value ? (Q(), v(m(He), {
7345
7347
  key: 1,
7346
7348
  addLabel: "Cookie",
7347
7349
  generatedItems: s.generatedCookies,
7348
7350
  items: s.cookies,
7349
7351
  onAddAnother: r,
7350
7352
  onDeleteIndex: O
7351
- }, null, 8, ["generatedItems", "items"])) : (Q(), P("div", Od, [
7353
+ }, null, 8, ["generatedItems", "items"])) : (Q(), P("div", rd, [
7352
7354
  u("button", {
7353
7355
  class: "scalar-api-client-add",
7354
7356
  type: "button",
7355
7357
  onClick: r
7356
7358
  }, [
7357
- rd,
7359
+ sd,
7358
7360
  U(" Cookies ")
7359
7361
  ])
7360
7362
  ]))
@@ -7365,7 +7367,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7365
7367
  }), id = {
7366
7368
  key: 0,
7367
7369
  class: "scalar-api-client__empty-state"
7368
- }, od = /* @__PURE__ */ u("svg", {
7370
+ }, nd = /* @__PURE__ */ u("svg", {
7369
7371
  class: "flow-icon",
7370
7372
  "data-v-aa4fbd2d": "",
7371
7373
  height: "100%",
@@ -7381,7 +7383,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7381
7383
  "stroke-width": "3.429",
7382
7384
  xmlns: "http://www.w3.org/2000/svg"
7383
7385
  })
7384
- ], -1), nd = /* @__PURE__ */ w({
7386
+ ], -1), ld = /* @__PURE__ */ w({
7385
7387
  __name: "RequestHeaders",
7386
7388
  props: {
7387
7389
  headers: {},
@@ -7390,23 +7392,23 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7390
7392
  setup(t) {
7391
7393
  const e = t, { activeRequest: a } = K();
7392
7394
  function O(s) {
7393
- var o;
7394
- (o = a.headers) == null || o.splice(s, 1);
7395
+ var i;
7396
+ (i = a.headers) == null || i.splice(s, 1);
7395
7397
  }
7396
7398
  function r() {
7397
7399
  var s;
7398
7400
  a.headers === void 0 && (a.headers = []), (s = a.headers) == null || s.push({ name: "", value: "", enabled: !0 });
7399
7401
  }
7400
- const i = x(() => {
7401
- var s, o;
7402
- return !!((s = e.headers) != null && s.length || (o = e.generatedHeaders) != null && o.length);
7402
+ const o = x(() => {
7403
+ var s, i;
7404
+ return !!((s = e.headers) != null && s.length || (i = e.generatedHeaders) != null && i.length);
7403
7405
  });
7404
- return (s, o) => (Q(), v(m(se), {
7405
- defaultOpen: i.value,
7406
+ return (s, i) => (Q(), v(m(se), {
7407
+ defaultOpen: o.value,
7406
7408
  title: "Headers"
7407
7409
  }, {
7408
7410
  default: b(() => [
7409
- i.value ? (Q(), v(m(He), {
7411
+ o.value ? (Q(), v(m(He), {
7410
7412
  key: 1,
7411
7413
  addLabel: "Header",
7412
7414
  generatedItems: s.generatedHeaders,
@@ -7419,7 +7421,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7419
7421
  type: "button",
7420
7422
  onClick: r
7421
7423
  }, [
7422
- od,
7424
+ nd,
7423
7425
  U(" Headers ")
7424
7426
  ])
7425
7427
  ]))
@@ -7427,10 +7429,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7427
7429
  _: 1
7428
7430
  }, 8, ["defaultOpen"]));
7429
7431
  }
7430
- }), ld = {
7432
+ }), cd = {
7431
7433
  key: 0,
7432
7434
  class: "scalar-api-client__empty-state"
7433
- }, cd = /* @__PURE__ */ u("svg", {
7435
+ }, dd = /* @__PURE__ */ u("svg", {
7434
7436
  class: "flow-icon",
7435
7437
  "data-v-aa4fbd2d": "",
7436
7438
  height: "100%",
@@ -7446,7 +7448,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7446
7448
  "stroke-width": "3.429",
7447
7449
  xmlns: "http://www.w3.org/2000/svg"
7448
7450
  })
7449
- ], -1), dd = /* @__PURE__ */ w({
7451
+ ], -1), pd = /* @__PURE__ */ w({
7450
7452
  __name: "RequestQuery",
7451
7453
  props: {
7452
7454
  queries: {},
@@ -7455,23 +7457,23 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7455
7457
  setup(t) {
7456
7458
  const e = t, { activeRequest: a } = K();
7457
7459
  function O(s) {
7458
- var o;
7459
- (o = a.query) == null || o.splice(s, 1);
7460
+ var i;
7461
+ (i = a.query) == null || i.splice(s, 1);
7460
7462
  }
7461
7463
  function r() {
7462
7464
  var s;
7463
7465
  a.query === void 0 && (a.query = []), (s = a.query) == null || s.push({ name: "", value: "", enabled: !0 });
7464
7466
  }
7465
- const i = x(() => {
7466
- var s, o;
7467
- return !!((s = e.queries) != null && s.length || (o = e.generatedQueries) != null && o.length);
7467
+ const o = x(() => {
7468
+ var s, i;
7469
+ return !!((s = e.queries) != null && s.length || (i = e.generatedQueries) != null && i.length);
7468
7470
  });
7469
- return (s, o) => (Q(), v(m(se), {
7470
- defaultOpen: i.value,
7471
+ return (s, i) => (Q(), v(m(se), {
7472
+ defaultOpen: o.value,
7471
7473
  title: "Query Parameters"
7472
7474
  }, {
7473
7475
  default: b(() => [
7474
- i.value ? (Q(), v(m(He), {
7476
+ o.value ? (Q(), v(m(He), {
7475
7477
  key: 1,
7476
7478
  addLabel: "Query Parameter",
7477
7479
  generatedItems: s.generatedQueries,
@@ -7479,13 +7481,13 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7479
7481
  showMoreFilter: !0,
7480
7482
  onAddAnother: r,
7481
7483
  onDeleteIndex: O
7482
- }, null, 8, ["generatedItems", "items"])) : (Q(), P("div", ld, [
7484
+ }, null, 8, ["generatedItems", "items"])) : (Q(), P("div", cd, [
7483
7485
  u("button", {
7484
7486
  class: "scalar-api-client-add",
7485
7487
  type: "button",
7486
7488
  onClick: r
7487
7489
  }, [
7488
- cd,
7490
+ dd,
7489
7491
  U(" Query Parameter ")
7490
7492
  ])
7491
7493
  ]))
@@ -7493,10 +7495,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7493
7495
  _: 1
7494
7496
  }, 8, ["defaultOpen"]));
7495
7497
  }
7496
- }), pd = {
7498
+ }), ud = {
7497
7499
  key: 0,
7498
7500
  class: "scalar-api-client__empty-state"
7499
- }, ud = /* @__PURE__ */ u("svg", {
7501
+ }, hd = /* @__PURE__ */ u("svg", {
7500
7502
  class: "flow-icon",
7501
7503
  "data-v-aa4fbd2d": "",
7502
7504
  height: "100%",
@@ -7512,7 +7514,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7512
7514
  "stroke-width": "3.429",
7513
7515
  xmlns: "http://www.w3.org/2000/svg"
7514
7516
  })
7515
- ], -1), hd = /* @__PURE__ */ w({
7517
+ ], -1), fd = /* @__PURE__ */ w({
7516
7518
  __name: "RequestVariables",
7517
7519
  props: {
7518
7520
  variables: {}
@@ -7520,25 +7522,25 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7520
7522
  setup(t) {
7521
7523
  const { activeRequest: e } = K();
7522
7524
  function a(r) {
7523
- var i;
7524
- (i = e.variables) == null || i.splice(r, 1);
7525
+ var o;
7526
+ (o = e.variables) == null || o.splice(r, 1);
7525
7527
  }
7526
7528
  function O() {
7527
7529
  var r;
7528
7530
  e.variables === void 0 && (e.variables = []), (r = e.variables) == null || r.push({ name: "", value: "", enabled: !0 });
7529
7531
  }
7530
- return (r, i) => (Q(), v(m(se), {
7532
+ return (r, o) => (Q(), v(m(se), {
7531
7533
  defaultOpen: m(e).variables && m(e).variables.length > 0,
7532
7534
  title: "Variables"
7533
7535
  }, {
7534
7536
  default: b(() => [
7535
- !r.variables || r.variables.length === 0 ? (Q(), P("div", pd, [
7537
+ !r.variables || r.variables.length === 0 ? (Q(), P("div", ud, [
7536
7538
  u("button", {
7537
7539
  class: "scalar-api-client-add",
7538
7540
  type: "button",
7539
7541
  onClick: O
7540
7542
  }, [
7541
- ud,
7543
+ hd,
7542
7544
  U(" Variable ")
7543
7545
  ])
7544
7546
  ])) : (Q(), v(m(He), {
@@ -7553,33 +7555,33 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7553
7555
  _: 1
7554
7556
  }, 8, ["defaultOpen"]));
7555
7557
  }
7556
- }), fd = { class: "scalar-api-client__main__left custom-scroll" }, md = { class: "scalar-api-client__main__content" }, Qd = { class: "scalar-api-client__main__content__header" }, gd = /* @__PURE__ */ u("label", null, "Request", -1), Sd = { class: "meta" }, Pd = { class: "meta-item meta-item__input" }, $d = { class: "scalar-api-client__main__content__body" }, bd = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), Zd = !0, tO = /* @__PURE__ */ w({
7558
+ }), md = { class: "scalar-api-client__main__left custom-scroll" }, Qd = { class: "scalar-api-client__main__content" }, gd = { class: "scalar-api-client__main__content__header" }, Sd = /* @__PURE__ */ u("label", null, "Request", -1), Pd = { class: "meta" }, $d = { class: "meta-item meta-item__input" }, bd = { class: "scalar-api-client__main__content__body" }, Zd = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), yd = !0, tO = /* @__PURE__ */ w({
7557
7559
  __name: "Request",
7558
7560
  setup(t) {
7559
7561
  const { activeRequest: e } = K(), { authentication: a } = Jt(), {
7560
7562
  openApi: { operation: O, globalSecurity: r }
7561
- } = hO(), i = x(
7563
+ } = hO(), o = x(
7562
7564
  () => {
7563
- var o;
7565
+ var i;
7564
7566
  return uO(
7565
7567
  a,
7566
- ((o = O == null ? void 0 : O.information) == null ? void 0 : o.security) ?? r
7568
+ ((i = O == null ? void 0 : O.information) == null ? void 0 : i.security) ?? r
7567
7569
  );
7568
7570
  }
7569
7571
  ), s = x(() => {
7570
- const o = e.type.toLowerCase();
7571
- return o === "put" || o === "post" || o === "patch";
7572
+ const i = e.type.toLowerCase();
7573
+ return i === "put" || i === "post" || i === "patch";
7572
7574
  });
7573
- return (o, n) => (Q(), P("div", fd, [
7574
- u("div", md, [
7575
- u("div", Qd, [
7576
- gd,
7577
- u("div", Sd, [
7578
- u("div", Pd, [
7575
+ return (i, n) => (Q(), P("div", md, [
7576
+ u("div", Qd, [
7577
+ u("div", gd, [
7578
+ Sd,
7579
+ u("div", Pd, [
7580
+ u("div", $d, [
7579
7581
  pe(u("input", {
7580
7582
  "onUpdate:modelValue": n[0] || (n[0] = (l) => m(e).name = l),
7581
7583
  class: "scalar-api-client__request-name",
7582
- disabled: Zd,
7584
+ disabled: yd,
7583
7585
  placeholder: "Request Name",
7584
7586
  type: "text"
7585
7587
  }, null, 512), [
@@ -7588,35 +7590,35 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7588
7590
  ])
7589
7591
  ])
7590
7592
  ]),
7591
- u("div", $d, [
7592
- Z(hd, {
7593
+ u("div", bd, [
7594
+ Z(fd, {
7593
7595
  variables: m(e).variables
7594
7596
  }, null, 8, ["variables"]),
7595
- Z(m(gc)),
7596
- Z(sd, {
7597
+ Z(m(Sc)),
7598
+ Z(od, {
7597
7599
  cookies: m(e).cookies,
7598
- generatedCookies: i.value.cookies
7600
+ generatedCookies: o.value.cookies
7599
7601
  }, null, 8, ["cookies", "generatedCookies"]),
7600
- Z(nd, {
7601
- generatedHeaders: i.value.headers,
7602
+ Z(ld, {
7603
+ generatedHeaders: o.value.headers,
7602
7604
  headers: m(e).headers
7603
7605
  }, null, 8, ["generatedHeaders", "headers"]),
7604
- Z(dd, {
7605
- generatedQueries: i.value.queryString,
7606
+ Z(pd, {
7607
+ generatedQueries: o.value.queryString,
7606
7608
  queries: m(e).query
7607
7609
  }, null, 8, ["generatedQueries", "queries"]),
7608
- s.value ? (Q(), v(ad, {
7610
+ s.value ? (Q(), v(Od, {
7609
7611
  key: 0,
7610
7612
  body: m(e).body,
7611
7613
  formData: m(e).formData,
7612
7614
  requestBody: m(e).body
7613
7615
  }, null, 8, ["body", "formData", "requestBody"])) : M("", !0),
7614
- bd
7616
+ Zd
7615
7617
  ])
7616
7618
  ])
7617
7619
  ]));
7618
7620
  }
7619
- }), yd = ` .,,uod8B8bou,,.
7621
+ }), vd = ` .,,uod8B8bou,,.
7620
7622
  ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
7621
7623
  ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,
7622
7624
  |||| '""^^!!||||||||||TFPRBBBVT!:...!
@@ -7646,7 +7648,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7646
7648
  '"^!|Tf998888888889!\` WBBBBbo.
7647
7649
  '"^!|Tf9989!\` YBBBP^'
7648
7650
  '"^!\` \`
7649
- `, vd = { class: "ascii-art" }, wd = { class: "ascii-art-line" }, kd = /* @__PURE__ */ w({
7651
+ `, wd = { class: "ascii-art" }, kd = { class: "ascii-art-line" }, Td = /* @__PURE__ */ w({
7650
7652
  __name: "ScalarAsciiArt",
7651
7653
  props: {
7652
7654
  art: {}
@@ -7654,23 +7656,23 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7654
7656
  setup(t) {
7655
7657
  const e = t, a = x(() => e.art.split(`
7656
7658
  `));
7657
- return (O, r) => (Q(), P("div", vd, [
7658
- (Q(!0), P(j, null, fe(a.value, (i, s) => (Q(), P("span", {
7659
+ return (O, r) => (Q(), P("div", wd, [
7660
+ (Q(!0), P(j, null, fe(a.value, (o, s) => (Q(), P("span", {
7659
7661
  key: s,
7660
7662
  class: "ascii-art-line-wrapper",
7661
- style: Tr({ width: `calc(${i.length + 1}ch)` })
7663
+ style: Tr({ width: `calc(${o.length + 1}ch)` })
7662
7664
  }, [
7663
- u("span", wd, X(i), 1)
7665
+ u("span", kd, X(o), 1)
7664
7666
  ], 4))), 128))
7665
7667
  ]));
7666
7668
  }
7667
- }), Td = /* @__PURE__ */ R(kd, [["__scopeId", "data-v-b15ff222"]]), Xd = {
7669
+ }), Xd = /* @__PURE__ */ R(Td, [["__scopeId", "data-v-b15ff222"]]), xd = {
7668
7670
  key: 1,
7669
7671
  class: "scalar-api-client__empty-state"
7670
- }, xd = {
7672
+ }, _d = {
7671
7673
  key: 1,
7672
7674
  class: "scalar-api-client__empty-state"
7673
- }, _d = /* @__PURE__ */ w({
7675
+ }, Wd = /* @__PURE__ */ w({
7674
7676
  __name: "ResponseBody",
7675
7677
  props: {
7676
7678
  active: { type: Boolean, default: !1 },
@@ -7680,7 +7682,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7680
7682
  setup(t) {
7681
7683
  const e = t, a = x(() => {
7682
7684
  const r = e.headers.find(
7683
- (i) => i.name.toLowerCase() === "content-type"
7685
+ (o) => o.name.toLowerCase() === "content-type"
7684
7686
  );
7685
7687
  if (!r)
7686
7688
  return null;
@@ -7690,7 +7692,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7690
7692
  return null;
7691
7693
  }
7692
7694
  }), O = x(() => a.value === "application/json" || a.value === "application/problem+json" || a.value === "application/vnd.api+json" ? "json" : a.value === "text/html" || a.value === "text/plain" ? "html" : null);
7693
- return (r, i) => (Q(), v(m(se), { title: "Body" }, {
7695
+ return (r, o) => (Q(), v(m(se), { title: "Body" }, {
7694
7696
  default: b(() => [
7695
7697
  r.active ? (Q(), P(j, { key: 0 }, [
7696
7698
  O.value ? (Q(), v(m(Ps), {
@@ -7698,19 +7700,19 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7698
7700
  class: "custom-scroll",
7699
7701
  content: r.data,
7700
7702
  lang: O.value
7701
- }, null, 8, ["content", "lang"])) : (Q(), P("div", Xd, [
7703
+ }, null, 8, ["content", "lang"])) : (Q(), P("div", xd, [
7702
7704
  a.value ? (Q(), P(j, { key: 0 }, [
7703
7705
  U(" No Preview Available (" + X(a.value) + ") ", 1)
7704
7706
  ], 64)) : (Q(), P(j, { key: 1 }, [
7705
7707
  U(" Can’t render a preview. The Content-Type header is missing or unknown. ")
7706
7708
  ], 64))
7707
7709
  ]))
7708
- ], 64)) : (Q(), P("div", xd, " No Response "))
7710
+ ], 64)) : (Q(), P("div", _d, " No Response "))
7709
7711
  ]),
7710
7712
  _: 1
7711
7713
  }));
7712
7714
  }
7713
- }), Wd = ["href"], Yd = /* @__PURE__ */ w({
7715
+ }), Yd = ["href"], Rd = /* @__PURE__ */ w({
7714
7716
  __name: "HelpfulLink",
7715
7717
  props: {
7716
7718
  href: {}
@@ -7722,9 +7724,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7722
7724
  target: "_blank"
7723
7725
  }, [
7724
7726
  E(e.$slots, "default", {}, void 0, !0)
7725
- ], 8, Wd));
7727
+ ], 8, Yd));
7726
7728
  }
7727
- }), Zr = /* @__PURE__ */ R(Yd, [["__scopeId", "data-v-faae4ad2"]]), Rd = /* @__PURE__ */ w({
7729
+ }), Zr = /* @__PURE__ */ R(Rd, [["__scopeId", "data-v-faae4ad2"]]), qd = /* @__PURE__ */ w({
7728
7730
  __name: "SimpleCell",
7729
7731
  props: {
7730
7732
  wrap: { type: Boolean, default: !0 },
@@ -7746,7 +7748,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7746
7748
  }, 8, ["href"])) : E(e.$slots, "default", { key: 1 }, void 0, !0)
7747
7749
  ], 2));
7748
7750
  }
7749
- }), Dt = /* @__PURE__ */ R(Rd, [["__scopeId", "data-v-fdd1d4be"]]), qd = /* @__PURE__ */ w({
7751
+ }), Dt = /* @__PURE__ */ R(qd, [["__scopeId", "data-v-9c33264d"]]), Cd = /* @__PURE__ */ w({
7750
7752
  __name: "SimpleHeader",
7751
7753
  setup(t) {
7752
7754
  return (e, a) => (Q(), v(Dt, {
@@ -7759,22 +7761,24 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
7759
7761
  _: 3
7760
7762
  }));
7761
7763
  }
7762
- }), aO = /* @__PURE__ */ R(qd, [["__scopeId", "data-v-f5dc899e"]]), Cd = {}, Ud = { class: "simple-row" };
7763
- function jd(t, e) {
7764
- return Q(), P("tr", Ud, [
7764
+ }), aO = /* @__PURE__ */ R(Cd, [["__scopeId", "data-v-b34bb849"]]), Ud = {}, jd = { class: "simple-row" };
7765
+ function zd(t, e) {
7766
+ return Q(), P("tr", jd, [
7765
7767
  E(t.$slots, "default", {}, void 0, !0)
7766
7768
  ]);
7767
7769
  }
7768
- const OO = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-cf784a82"]]), zd = {}, Vd = { class: "simple-table" };
7769
- function Gd(t, e) {
7770
- return Q(), P("table", Vd, [
7771
- E(t.$slots, "default", {}, void 0, !0)
7770
+ const OO = /* @__PURE__ */ R(Ud, [["render", zd], ["__scopeId", "data-v-cf784a82"]]), Vd = {}, Gd = { class: "simple-table-container" }, Ad = { class: "simple-table" };
7771
+ function Ed(t, e) {
7772
+ return Q(), P("div", Gd, [
7773
+ u("table", Ad, [
7774
+ E(t.$slots, "default", {}, void 0, !0)
7775
+ ])
7772
7776
  ]);
7773
7777
  }
7774
- const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840"]]), Ed = {
7778
+ const Hd = /* @__PURE__ */ R(Vd, [["render", Ed], ["__scopeId", "data-v-bd46659a"]]), Bd = {
7775
7779
  key: 1,
7776
7780
  class: "scalar-api-client__empty-state"
7777
- }, Hd = /* @__PURE__ */ w({
7781
+ }, Id = /* @__PURE__ */ w({
7778
7782
  __name: "ResponseHeaders",
7779
7783
  props: {
7780
7784
  headers: {}
@@ -7782,11 +7786,11 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7782
7786
  setup(t) {
7783
7787
  const e = (O) => {
7784
7788
  var r;
7785
- return (r = vs.find((i) => i.name.toLowerCase() === O.toLowerCase())) == null ? void 0 : r.url;
7789
+ return (r = vs.find((o) => o.name.toLowerCase() === O.toLowerCase())) == null ? void 0 : r.url;
7786
7790
  }, a = (O) => O.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("-");
7787
7791
  return (O, r) => (Q(), v(m(se), { title: "Headers" }, {
7788
7792
  default: b(() => [
7789
- O.headers.length > 0 ? (Q(), v(m(Ad), { key: 0 }, {
7793
+ O.headers.length > 0 ? (Q(), v(m(Hd), { key: 0 }, {
7790
7794
  default: b(() => [
7791
7795
  Z(m(OO), null, {
7792
7796
  default: b(() => [
@@ -7805,23 +7809,23 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7805
7809
  ]),
7806
7810
  _: 1
7807
7811
  }),
7808
- (Q(!0), P(j, null, fe(O.headers, (i) => (Q(), v(m(OO), {
7809
- key: i.name
7812
+ (Q(!0), P(j, null, fe(O.headers, (o) => (Q(), v(m(OO), {
7813
+ key: o.name
7810
7814
  }, {
7811
7815
  default: b(() => [
7812
7816
  Z(m(Dt), {
7813
- href: e(i.name),
7817
+ href: e(o.name),
7814
7818
  strong: !0,
7815
7819
  wrap: !1
7816
7820
  }, {
7817
7821
  default: b(() => [
7818
- U(X(a(i.name)), 1)
7822
+ U(X(a(o.name)), 1)
7819
7823
  ]),
7820
7824
  _: 2
7821
7825
  }, 1032, ["href"]),
7822
7826
  Z(m(Dt), null, {
7823
7827
  default: b(() => [
7824
- U(X(i.value), 1)
7828
+ U(X(o.value), 1)
7825
7829
  ]),
7826
7830
  _: 2
7827
7831
  }, 1024)
@@ -7830,20 +7834,20 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7830
7834
  }, 1024))), 128))
7831
7835
  ]),
7832
7836
  _: 1
7833
- })) : (Q(), P("div", Ed, "No Headers"))
7837
+ })) : (Q(), P("div", Bd, "No Headers"))
7834
7838
  ]),
7835
7839
  _: 1
7836
7840
  }));
7837
7841
  }
7838
- }), Bd = { class: "meta-item" }, Id = { class: "meta-item" }, Dd = { class: "meta-item" }, Nd = /* @__PURE__ */ w({
7842
+ }), Dd = { class: "meta-item" }, Nd = { class: "meta-item" }, Md = { class: "meta-item" }, Ld = /* @__PURE__ */ w({
7839
7843
  __name: "ResponseMetaInformation",
7840
7844
  props: {
7841
7845
  response: {}
7842
7846
  },
7843
7847
  setup(t) {
7844
7848
  const e = t, a = (r) => {
7845
- var i;
7846
- return (i = r == null ? void 0 : r.headers) != null && i["X-API-Client-Content-Length"] ? dt(
7849
+ var o;
7850
+ return (o = r == null ? void 0 : r.headers) != null && o["X-API-Client-Content-Length"] ? dt(
7847
7851
  parseFloat(r.headers["X-API-Client-Content-Length"])
7848
7852
  ) : dt(0);
7849
7853
  }, O = x(() => {
@@ -7851,16 +7855,16 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7851
7855
  if (r)
7852
7856
  return ws[r] ?? void 0;
7853
7857
  });
7854
- return (r, i) => {
7855
- var s, o;
7858
+ return (r, o) => {
7859
+ var s, i;
7856
7860
  return Q(), P(j, null, [
7857
- u("div", Bd, [
7861
+ u("div", Dd, [
7858
7862
  u("span", null, X(m($r)(r.response.duration)), 1)
7859
7863
  ]),
7860
- u("div", Id, [
7864
+ u("div", Nd, [
7861
7865
  u("span", null, X(a(r.response)), 1)
7862
7866
  ]),
7863
- u("div", Dd, [
7867
+ u("div", Md, [
7864
7868
  u("span", {
7865
7869
  class: J(`scalar-api-client__status scalar-api-client__status--${String(
7866
7870
  r.response.statusCode
@@ -7875,31 +7879,31 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7875
7879
  ]),
7876
7880
  _: 1
7877
7881
  }, 8, ["href"])) : (Q(), P(j, { key: 1 }, [
7878
- U(X(r.response.statusCode) + " " + X((o = O.value) == null ? void 0 : o.name), 1)
7882
+ U(X(r.response.statusCode) + " " + X((i = O.value) == null ? void 0 : i.name), 1)
7879
7883
  ], 64))
7880
7884
  ], 2)
7881
7885
  ])
7882
7886
  ], 64);
7883
7887
  };
7884
7888
  }
7885
- }), Md = { class: "scalar-api-client__main__right custom-scroll" }, Ld = { class: "scalar-api-client__main__content" }, Fd = { class: "scalar-api-client__main__content__header" }, Jd = /* @__PURE__ */ u("label", null, "Response", -1), Kd = {
7889
+ }), Fd = { class: "scalar-api-client__main__right custom-scroll" }, Jd = { class: "scalar-api-client__main__content" }, Kd = { class: "scalar-api-client__main__content__header" }, ep = /* @__PURE__ */ u("label", null, "Response", -1), tp = {
7886
7890
  key: 0,
7887
7891
  class: "meta"
7888
- }, ep = {
7892
+ }, ap = {
7889
7893
  key: 0,
7890
7894
  class: "scalar-api-client__main__content__body"
7891
- }, tp = {
7895
+ }, Op = {
7892
7896
  key: 0,
7893
7897
  class: "scalar-api-client__empty-state"
7894
- }, ap = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), Op = {
7898
+ }, rp = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), sp = {
7895
7899
  key: 1,
7896
7900
  class: "scalar-api-client__main__content empty-state"
7897
- }, rp = /* @__PURE__ */ u("p", null, "Fill the void and send your request", -1), rO = /* @__PURE__ */ w({
7901
+ }, op = /* @__PURE__ */ u("p", null, "Fill the void and send your request", -1), rO = /* @__PURE__ */ w({
7898
7902
  __name: "Response",
7899
7903
  setup(t) {
7900
7904
  const { activeResponse: e, activeRequestId: a } = K(), O = x(() => {
7901
- var o;
7902
- const s = (o = e.value) == null ? void 0 : o.headers;
7905
+ var i;
7906
+ const s = (i = e.value) == null ? void 0 : i.headers;
7903
7907
  return s ? Object.keys(s).map((n) => ({ name: n, value: s[n] })).filter(
7904
7908
  (n) => ![
7905
7909
  "rest-api-client-content-length",
@@ -7907,47 +7911,47 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7907
7911
  ].includes(n.name)
7908
7912
  ) : [];
7909
7913
  }), r = x(() => {
7910
- var o;
7911
- const s = (o = e.value) == null ? void 0 : o.cookies;
7914
+ var i;
7915
+ const s = (i = e.value) == null ? void 0 : i.cookies;
7912
7916
  return s ? Object.keys(s).map((n) => ({ name: n, value: s[n] })) : [];
7913
- }), i = x(() => {
7914
- var o;
7915
- const s = (o = e.value) == null ? void 0 : o.data;
7917
+ }), o = x(() => {
7918
+ var i;
7919
+ const s = (i = e.value) == null ? void 0 : i.data;
7916
7920
  return s && Ct(s) ? JSON.stringify(JSON.parse(s), null, 2) : s && typeof Xr(s) == "object" || s && !Ct(s) ? JSON.stringify(s, null, 2) : s;
7917
7921
  });
7918
- return (s, o) => (Q(), P("div", Md, [
7919
- u("div", Ld, [
7920
- u("div", Fd, [
7921
- Jd,
7922
- m(a) && m(e) ? (Q(), P("div", Kd, [
7923
- Z(Nd, { response: m(e) }, null, 8, ["response"])
7922
+ return (s, i) => (Q(), P("div", Fd, [
7923
+ u("div", Jd, [
7924
+ u("div", Kd, [
7925
+ ep,
7926
+ m(a) && m(e) ? (Q(), P("div", tp, [
7927
+ Z(Ld, { response: m(e) }, null, 8, ["response"])
7924
7928
  ])) : M("", !0)
7925
7929
  ]),
7926
- m(a) && m(e) ? (Q(), P("div", ep, [
7927
- Z(_d, {
7930
+ m(a) && m(e) ? (Q(), P("div", ap, [
7931
+ Z(Wd, {
7928
7932
  active: !!m(e),
7929
- data: i.value,
7933
+ data: o.value,
7930
7934
  headers: O.value
7931
7935
  }, null, 8, ["active", "data", "headers"]),
7932
- Z(Hd, { headers: O.value }, null, 8, ["headers"]),
7936
+ Z(Id, { headers: O.value }, null, 8, ["headers"]),
7933
7937
  Z(m(se), { title: "Cookies" }, {
7934
7938
  default: b(() => [
7935
- pe(Z(m(ed), { items: r.value }, null, 8, ["items"]), [
7939
+ pe(Z(m(td), { items: r.value }, null, 8, ["items"]), [
7936
7940
  [sO, r.value.length > 0]
7937
7941
  ]),
7938
- r.value.length === 0 ? (Q(), P("div", tp, "No Cookies")) : M("", !0)
7942
+ r.value.length === 0 ? (Q(), P("div", Op, "No Cookies")) : M("", !0)
7939
7943
  ]),
7940
7944
  _: 1
7941
7945
  }),
7942
- ap
7943
- ])) : (Q(), P("div", Op, [
7944
- Z(Td, { art: m(yd) }, null, 8, ["art"]),
7945
7946
  rp
7947
+ ])) : (Q(), P("div", sp, [
7948
+ Z(Xd, { art: m(vd) }, null, 8, ["art"]),
7949
+ op
7946
7950
  ]))
7947
7951
  ])
7948
7952
  ]));
7949
7953
  }
7950
- }), sp = { class: "scalar-api-client__main" }, pp = /* @__PURE__ */ w({
7954
+ }), ip = { class: "scalar-api-client__main" }, hp = /* @__PURE__ */ w({
7951
7955
  __name: "ApiClient",
7952
7956
  props: {
7953
7957
  proxyUrl: {},
@@ -7960,7 +7964,7 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7960
7964
  setup(t, { emit: e }) {
7961
7965
  const a = t, O = e, r = mO();
7962
7966
  Ut(r.escape, () => O("escapeKeyPress")), Ut(r.meta_b, () => O("toggleSidebar"));
7963
- const { activeRequest: i, readOnly: s } = K(), o = Zs("(max-width: 820px)"), n = F(0), l = {
7967
+ const { activeRequest: o, readOnly: s } = K(), i = Zs("(max-width: 820px)"), n = F(0), l = {
7964
7968
  Request: 0,
7965
7969
  Response: 1
7966
7970
  };
@@ -7980,7 +7984,7 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7980
7984
  }, null, 8, ["id", "withDefaultFonts"]),
7981
7985
  Z(bs, {
7982
7986
  class: "scalar-api-client",
7983
- method: m(i).type ?? "get",
7987
+ method: m(o).type ?? "get",
7984
7988
  property: "--scalar-api-client-color",
7985
7989
  onKeydown: h[1] || (h[1] = xr((f) => O("escapeKeyPress"), ["esc"]))
7986
7990
  }, {
@@ -7992,9 +7996,9 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
7992
7996
  onOnSend: h[0] || (h[0] = (f) => c(l.Response))
7993
7997
  }, null, 8, ["proxyUrl"])
7994
7998
  ]),
7995
- u("div", sp, [
7999
+ u("div", ip, [
7996
8000
  d.showSideBar ? E(d.$slots, "sidebar", { key: 0 }) : M("", !0),
7997
- m(o) ? (Q(), v(m(Rr), {
8001
+ m(i) ? (Q(), v(m(Rr), {
7998
8002
  key: 2,
7999
8003
  selectedIndex: n.value,
8000
8004
  onChange: c
@@ -8056,20 +8060,20 @@ const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840
8056
8060
  }
8057
8061
  });
8058
8062
  export {
8059
- pp as ApiClient,
8063
+ hp as ApiClient,
8060
8064
  bs as HttpMethod,
8061
- gc as RequestAuthentication,
8065
+ Sc as RequestAuthentication,
8062
8066
  Qs as SecurityScheme,
8063
8067
  ms as SecuritySchemeSelector,
8064
8068
  fl as concatenateUrlAndPath,
8065
- fp as createEmptyAuthenticationState,
8066
- mp as createEmptyOpenApiState,
8067
- Qp as createPlaceholderRequest,
8068
- gp as encodeStringAsBase64,
8069
- Sp as findVariables,
8070
- Pp as getBase64Token,
8069
+ Qp as createEmptyAuthenticationState,
8070
+ gp as createEmptyOpenApiState,
8071
+ Sp as createPlaceholderRequest,
8072
+ Pp as encodeStringAsBase64,
8073
+ $p as findVariables,
8074
+ bp as getBase64Token,
8071
8075
  uO as getRequestFromAuthentication,
8072
- $p as getSecretCredentialsFromAuthentication,
8076
+ Zp as getSecretCredentialsFromAuthentication,
8073
8077
  vs as httpHeaders,
8074
8078
  ws as httpStatusCodes,
8075
8079
  ml as humanDiff,
@@ -8080,12 +8084,12 @@ export {
8080
8084
  Sl as normalizeUrl,
8081
8085
  Pl as prepareClientRequestConfig,
8082
8086
  $l as replaceVariables,
8083
- bp as requestMethodAbbreviations,
8084
- Zp as requestMethodColors,
8087
+ yp as requestMethodAbbreviations,
8088
+ vp as requestMethodColors,
8085
8089
  yl as sendRequest,
8086
- yp as useApiClientStore,
8090
+ wp as useApiClientStore,
8087
8091
  Jt as useAuthenticationStore,
8088
8092
  hO as useOpenApiStore,
8089
8093
  K as useRequestStore,
8090
- vp as validRequestMethods
8094
+ kp as validRequestMethods
8091
8095
  };