soonjs 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +372 -369
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,16 +4,16 @@ var Ut = (e, t, r) => yP(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import pl, { PassThrough as gP } from "stream";
5
5
  import hl, { format as DP, inspect as Gf } from "util";
6
6
  import { randomInt as cE, createHash as EP } from "crypto";
7
- import Ps, { existsSync as fs, rmSync as fE, realpathSync as bP, statSync as pE, symlinkSync as SP, mkdirSync as vP, copyFileSync as Im, watchFile as TP, exists as AP, mkdir as CP, writeFile as PP } from "fs";
7
+ import Cs, { existsSync as cs, rmSync as fE, realpathSync as bP, statSync as pE, symlinkSync as SP, mkdirSync as vP, copyFileSync as Im, watchFile as TP, exists as AP, mkdir as CP, writeFile as PP } from "fs";
8
8
  import * as Lu from "path";
9
9
  import Oe, { dirname as _P } from "path";
10
- import $s from "os";
10
+ import js from "os";
11
11
  import xP from "events";
12
12
  import { createRequire as hE, builtinModules as ah } from "module";
13
13
  import FP, { fileURLToPath as it, pathToFileURL as qi, URL as vt } from "url";
14
14
  import en from "process";
15
15
  import Ua from "tty";
16
- import _s from "fs/promises";
16
+ import Ps from "fs/promises";
17
17
  import vr from "assert";
18
18
  import wP from "v8";
19
19
  var nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -145,7 +145,7 @@ function ml(e, t = {}) {
145
145
  if (s.tryConsume("*")) {
146
146
  i.push({
147
147
  name: String(a++),
148
- pattern: `(?:(?!${xs(n)}).)*`,
148
+ pattern: `(?:(?!${_s(n)}).)*`,
149
149
  modifier: "*",
150
150
  separator: n
151
151
  });
@@ -251,17 +251,17 @@ function $P(e, t = {}) {
251
251
  return { path: p, index: h, params: d };
252
252
  };
253
253
  }
254
- function xs(e) {
254
+ function _s(e) {
255
255
  return e.replace(/([.+*?^${}()[\]|/\\])/g, "\\$1");
256
256
  }
257
257
  function UP(e, t) {
258
- const r = xs(e);
258
+ const r = _s(e);
259
259
  return t ? `(?:${r})+(?!${r})` : r;
260
260
  }
261
261
  function uh(e, t) {
262
262
  if (!e)
263
- return xs;
264
- const r = new RegExp(`(?:(?!${xs(t)}).)+|(.)`, "g");
263
+ return _s;
264
+ const r = new RegExp(`(?:(?!${_s(t)}).)+|(.)`, "g");
265
265
  return (n) => n.replace(r, UP);
266
266
  }
267
267
  function dE(e) {
@@ -270,10 +270,10 @@ function dE(e) {
270
270
  function mE(e, t, r) {
271
271
  const { trailing: n = !0, loose: i = !0, start: s = !0, end: a = !0, strict: o = !1 } = r, u = dE(r), l = uh(i, e.delimiter), c = yE(e, l, t, u, o);
272
272
  let f = s ? "^" : "";
273
- return f += c.join(""), n && (f += `(?:${l(e.delimiter)})?`), f += a ? "$" : `(?=${xs(e.delimiter)}|$)`, new RegExp(f, u);
273
+ return f += c.join(""), n && (f += `(?:${l(e.delimiter)})?`), f += a ? "$" : `(?=${_s(e.delimiter)}|$)`, new RegExp(f, u);
274
274
  }
275
275
  function yE(e, t, r, n, i) {
276
- const s = `(?:(?!${xs(e.delimiter)}).)+?`;
276
+ const s = `(?:(?!${_s(e.delimiter)}).)+?`;
277
277
  let a = "", o = !0;
278
278
  return e.tokens.map((u, l) => {
279
279
  if (typeof u == "string")
@@ -323,15 +323,15 @@ function Ru(e, t) {
323
323
  return r;
324
324
  }
325
325
  }
326
- function Js(e) {
326
+ function Xs(e) {
327
327
  let t = e.constructor;
328
328
  return t !== void 0 && (t = t[DE], t === null && (t = void 0)), t !== void 0 ? t : gl;
329
329
  }
330
330
  function KP(e) {
331
331
  return e instanceof gl;
332
332
  }
333
- function Fs(e) {
334
- Fs.log ? Fs.log(e) : setTimeout(() => {
333
+ function xs(e) {
334
+ xs.log ? xs.log(e) : setTimeout(() => {
335
335
  throw e;
336
336
  });
337
337
  }
@@ -340,7 +340,7 @@ function hu(e) {
340
340
  try {
341
341
  e();
342
342
  } catch (t) {
343
- Fs(t);
343
+ xs(t);
344
344
  }
345
345
  });
346
346
  }
@@ -355,7 +355,7 @@ function EE(e) {
355
355
  r && r.call(t);
356
356
  }
357
357
  } catch (r) {
358
- Fs(r);
358
+ xs(r);
359
359
  }
360
360
  }
361
361
  function Xf(e) {
@@ -387,7 +387,7 @@ function bE(e, t, r) {
387
387
  break;
388
388
  }
389
389
  } catch (i) {
390
- Fs(i);
390
+ xs(i);
391
391
  }
392
392
  e._state === "closed" ? EE(e) : e._state === "running" && (e._state = "ready");
393
393
  }
@@ -478,7 +478,7 @@ let gl = class du {
478
478
  }
479
479
  map(t) {
480
480
  if (typeof t != "function") throw new TypeError(t + " is not a function");
481
- let r = Js(this);
481
+ let r = Xs(this);
482
482
  return new r((n) => this.subscribe({
483
483
  next(i) {
484
484
  try {
@@ -498,7 +498,7 @@ let gl = class du {
498
498
  }
499
499
  filter(t) {
500
500
  if (typeof t != "function") throw new TypeError(t + " is not a function");
501
- let r = Js(this);
501
+ let r = Xs(this);
502
502
  return new r((n) => this.subscribe({
503
503
  next(i) {
504
504
  try {
@@ -518,7 +518,7 @@ let gl = class du {
518
518
  }
519
519
  reduce(t) {
520
520
  if (typeof t != "function") throw new TypeError(t + " is not a function");
521
- let r = Js(this), n = arguments.length > 1, i = !1, a = arguments[1];
521
+ let r = Xs(this), n = arguments.length > 1, i = !1, a = arguments[1];
522
522
  return new r((o) => this.subscribe({
523
523
  next(u) {
524
524
  let l = !i;
@@ -545,7 +545,7 @@ let gl = class du {
545
545
  return await this.forEach((r) => t.push(r)), t;
546
546
  }
547
547
  concat(...t) {
548
- let r = Js(this);
548
+ let r = Xs(this);
549
549
  return new r((n) => {
550
550
  let i, s = 0;
551
551
  function a(o) {
@@ -568,7 +568,7 @@ let gl = class du {
568
568
  }
569
569
  flatMap(t) {
570
570
  if (typeof t != "function") throw new TypeError(t + " is not a function");
571
- let r = Js(this);
571
+ let r = Xs(this);
572
572
  return new r((n) => {
573
573
  let i = [], s = this.subscribe({
574
574
  next(o) {
@@ -661,7 +661,7 @@ yl.Observable = gl;
661
661
  Object.defineProperty(gl, Symbol("extensions"), {
662
662
  value: {
663
663
  symbol: Yf,
664
- hostReportError: Fs
664
+ hostReportError: xs
665
665
  },
666
666
  configurable: !0
667
667
  });
@@ -735,7 +735,7 @@ var XP = Error, JP = EvalError, zP = RangeError, QP = ReferenceError, vE = Synta
735
735
  l.prototype = r.prototype, i.prototype = new l(), l.prototype = null;
736
736
  }
737
737
  return i;
738
- }, p_ = f_, ch = Function.prototype.bind || p_, h_ = Function.prototype.call, d_ = Object.prototype.hasOwnProperty, m_ = ch, y_ = m_.call(h_, d_), tt, g_ = XP, D_ = JP, E_ = zP, b_ = QP, ws = vE, Ss = Ga, S_ = ZP, TE = Function, Pc = function(e) {
738
+ }, p_ = f_, ch = Function.prototype.bind || p_, h_ = Function.prototype.call, d_ = Object.prototype.hasOwnProperty, m_ = ch, y_ = m_.call(h_, d_), tt, g_ = XP, D_ = JP, E_ = zP, b_ = QP, Fs = vE, bs = Ga, S_ = ZP, TE = Function, Pc = function(e) {
739
739
  try {
740
740
  return TE('"use strict"; return (' + e + ").constructor;")();
741
741
  } catch {
@@ -748,7 +748,7 @@ if (Mi)
748
748
  Mi = null;
749
749
  }
750
750
  var _c = function() {
751
- throw new Ss();
751
+ throw new bs();
752
752
  }, v_ = Mi ? function() {
753
753
  try {
754
754
  return arguments.callee, _c;
@@ -761,17 +761,17 @@ var _c = function() {
761
761
  }
762
762
  }() : _c, is = r_(), T_ = i_(), Rt = Object.getPrototypeOf || (T_ ? function(e) {
763
763
  return e.__proto__;
764
- } : null), ps = {}, A_ = typeof Uint8Array > "u" || !Rt ? tt : Rt(Uint8Array), ji = {
764
+ } : null), fs = {}, A_ = typeof Uint8Array > "u" || !Rt ? tt : Rt(Uint8Array), ji = {
765
765
  __proto__: null,
766
766
  "%AggregateError%": typeof AggregateError > "u" ? tt : AggregateError,
767
767
  "%Array%": Array,
768
768
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? tt : ArrayBuffer,
769
769
  "%ArrayIteratorPrototype%": is && Rt ? Rt([][Symbol.iterator]()) : tt,
770
770
  "%AsyncFromSyncIteratorPrototype%": tt,
771
- "%AsyncFunction%": ps,
772
- "%AsyncGenerator%": ps,
773
- "%AsyncGeneratorFunction%": ps,
774
- "%AsyncIteratorPrototype%": ps,
771
+ "%AsyncFunction%": fs,
772
+ "%AsyncGenerator%": fs,
773
+ "%AsyncGeneratorFunction%": fs,
774
+ "%AsyncIteratorPrototype%": fs,
775
775
  "%Atomics%": typeof Atomics > "u" ? tt : Atomics,
776
776
  "%BigInt%": typeof BigInt > "u" ? tt : BigInt,
777
777
  "%BigInt64Array%": typeof BigInt64Array > "u" ? tt : BigInt64Array,
@@ -791,7 +791,7 @@ var _c = function() {
791
791
  "%Float64Array%": typeof Float64Array > "u" ? tt : Float64Array,
792
792
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? tt : FinalizationRegistry,
793
793
  "%Function%": TE,
794
- "%GeneratorFunction%": ps,
794
+ "%GeneratorFunction%": fs,
795
795
  "%Int8Array%": typeof Int8Array > "u" ? tt : Int8Array,
796
796
  "%Int16Array%": typeof Int16Array > "u" ? tt : Int16Array,
797
797
  "%Int32Array%": typeof Int32Array > "u" ? tt : Int32Array,
@@ -818,10 +818,10 @@ var _c = function() {
818
818
  "%String%": String,
819
819
  "%StringIteratorPrototype%": is && Rt ? Rt(""[Symbol.iterator]()) : tt,
820
820
  "%Symbol%": is ? Symbol : tt,
821
- "%SyntaxError%": ws,
821
+ "%SyntaxError%": Fs,
822
822
  "%ThrowTypeError%": v_,
823
823
  "%TypedArray%": A_,
824
- "%TypeError%": Ss,
824
+ "%TypeError%": bs,
825
825
  "%Uint8Array%": typeof Uint8Array > "u" ? tt : Uint8Array,
826
826
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? tt : Uint8ClampedArray,
827
827
  "%Uint16Array%": typeof Uint16Array > "u" ? tt : Uint16Array,
@@ -910,9 +910,9 @@ var P_ = function e(t) {
910
910
  }, Ya = ch, Mu = y_, __ = Ya.call(Function.call, Array.prototype.concat), x_ = Ya.call(Function.apply, Array.prototype.splice), km = Ya.call(Function.call, String.prototype.replace), ju = Ya.call(Function.call, String.prototype.slice), F_ = Ya.call(Function.call, RegExp.prototype.exec), w_ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, I_ = /\\(\\)?/g, O_ = function(t) {
911
911
  var r = ju(t, 0, 1), n = ju(t, -1);
912
912
  if (r === "%" && n !== "%")
913
- throw new ws("invalid intrinsic syntax, expected closing `%`");
913
+ throw new Fs("invalid intrinsic syntax, expected closing `%`");
914
914
  if (n === "%" && r !== "%")
915
- throw new ws("invalid intrinsic syntax, expected opening `%`");
915
+ throw new Fs("invalid intrinsic syntax, expected opening `%`");
916
916
  var i = [];
917
917
  return km(t, w_, function(s, a, o, u) {
918
918
  i[i.length] = o ? km(u, I_, "$1") : a || s;
@@ -921,34 +921,34 @@ var P_ = function e(t) {
921
921
  var n = t, i;
922
922
  if (Mu(Bm, n) && (i = Bm[n], n = "%" + i[0] + "%"), Mu(ji, n)) {
923
923
  var s = ji[n];
924
- if (s === ps && (s = P_(n)), typeof s > "u" && !r)
925
- throw new Ss("intrinsic " + t + " exists, but is not available. Please file an issue!");
924
+ if (s === fs && (s = P_(n)), typeof s > "u" && !r)
925
+ throw new bs("intrinsic " + t + " exists, but is not available. Please file an issue!");
926
926
  return {
927
927
  alias: i,
928
928
  name: n,
929
929
  value: s
930
930
  };
931
931
  }
932
- throw new ws("intrinsic " + t + " does not exist!");
933
- }, Us = function(t, r) {
932
+ throw new Fs("intrinsic " + t + " does not exist!");
933
+ }, $s = function(t, r) {
934
934
  if (typeof t != "string" || t.length === 0)
935
- throw new Ss("intrinsic name must be a non-empty string");
935
+ throw new bs("intrinsic name must be a non-empty string");
936
936
  if (arguments.length > 1 && typeof r != "boolean")
937
- throw new Ss('"allowMissing" argument must be a boolean');
937
+ throw new bs('"allowMissing" argument must be a boolean');
938
938
  if (F_(/^%?[^%]*%?$/, t) === null)
939
- throw new ws("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
939
+ throw new Fs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
940
940
  var n = O_(t), i = n.length > 0 ? n[0] : "", s = N_("%" + i + "%", r), a = s.name, o = s.value, u = !1, l = s.alias;
941
941
  l && (i = l[0], x_(n, __([0, 1], l)));
942
942
  for (var c = 1, f = !0; c < n.length; c += 1) {
943
943
  var p = n[c], h = ju(p, 0, 1), d = ju(p, -1);
944
944
  if ((h === '"' || h === "'" || h === "`" || d === '"' || d === "'" || d === "`") && h !== d)
945
- throw new ws("property names with quotes must have matching quotes");
945
+ throw new Fs("property names with quotes must have matching quotes");
946
946
  if ((p === "constructor" || !f) && (u = !0), i += "." + p, a = "%" + i + "%", Mu(ji, a))
947
947
  o = ji[a];
948
948
  else if (o != null) {
949
949
  if (!(p in o)) {
950
950
  if (!r)
951
- throw new Ss("base intrinsic for " + t + " exists, but the property is not available.");
951
+ throw new bs("base intrinsic for " + t + " exists, but the property is not available.");
952
952
  return;
953
953
  }
954
954
  if (Mi && c + 1 >= n.length) {
@@ -964,7 +964,7 @@ var P_ = function e(t) {
964
964
  function fh() {
965
965
  if (Lm) return xc;
966
966
  Lm = 1;
967
- var e = Us, t = e("%Object.defineProperty%", !0) || !1;
967
+ var e = $s, t = e("%Object.defineProperty%", !0) || !1;
968
968
  if (t)
969
969
  try {
970
970
  t({}, "a", { value: 1 });
@@ -973,7 +973,7 @@ function fh() {
973
973
  }
974
974
  return xc = t, xc;
975
975
  }
976
- var B_ = Us, mu = B_("%Object.getOwnPropertyDescriptor%", !0);
976
+ var B_ = $s, mu = B_("%Object.getOwnPropertyDescriptor%", !0);
977
977
  if (mu)
978
978
  try {
979
979
  mu([], "length");
@@ -1017,7 +1017,7 @@ PE.hasArrayLengthDefineBug = function() {
1017
1017
  return !0;
1018
1018
  }
1019
1019
  };
1020
- var R_ = PE, M_ = Us, jm = L_, j_ = R_(), $m = CE, Um = Ga, $_ = M_("%Math.floor%"), U_ = function(t, r) {
1020
+ var R_ = PE, M_ = $s, jm = L_, j_ = R_(), $m = CE, Um = Ga, $_ = M_("%Math.floor%"), U_ = function(t, r) {
1021
1021
  if (typeof t != "function")
1022
1022
  throw new Um("`fn` is not a function");
1023
1023
  if (typeof r != "number" || r < 0 || r > 4294967295 || $_(r) !== r)
@@ -1042,7 +1042,7 @@ var R_ = PE, M_ = Us, jm = L_, j_ = R_(), $m = CE, Um = Ga, $_ = M_("%Math.floor
1042
1042
  )), t;
1043
1043
  };
1044
1044
  (function(e) {
1045
- var t = ch, r = Us, n = U_, i = Ga, s = r("%Function.prototype.apply%"), a = r("%Function.prototype.call%"), o = r("%Reflect.apply%", !0) || t.call(a, s), u = fh(), l = r("%Math.max%");
1045
+ var t = ch, r = $s, n = U_, i = Ga, s = r("%Function.prototype.apply%"), a = r("%Function.prototype.call%"), o = r("%Reflect.apply%", !0) || t.call(a, s), u = fh(), l = r("%Math.max%");
1046
1046
  e.exports = function(p) {
1047
1047
  if (typeof p != "function")
1048
1048
  throw new i("a function is required");
@@ -1058,10 +1058,10 @@ var R_ = PE, M_ = Us, jm = L_, j_ = R_(), $m = CE, Um = Ga, $_ = M_("%Math.floor
1058
1058
  };
1059
1059
  u ? u(e.exports, "apply", { value: c }) : e.exports.apply = c;
1060
1060
  })(AE);
1061
- var V_ = AE.exports, _E = Us, xE = V_, H_ = xE(_E("String.prototype.indexOf")), q_ = function(t, r) {
1061
+ var V_ = AE.exports, _E = $s, xE = V_, H_ = xE(_E("String.prototype.indexOf")), q_ = function(t, r) {
1062
1062
  var n = _E(t, !!r);
1063
1063
  return typeof n == "function" && H_(t, ".prototype.") > -1 ? xE(n) : n;
1064
- }, K_ = hl.inspect, ph = typeof Map == "function" && Map.prototype, Fc = Object.getOwnPropertyDescriptor && ph ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, $u = ph && Fc && typeof Fc.get == "function" ? Fc.get : null, Vm = ph && Map.prototype.forEach, hh = typeof Set == "function" && Set.prototype, wc = Object.getOwnPropertyDescriptor && hh ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Uu = hh && wc && typeof wc.get == "function" ? wc.get : null, Hm = hh && Set.prototype.forEach, W_ = typeof WeakMap == "function" && WeakMap.prototype, Ca = W_ ? WeakMap.prototype.has : null, G_ = typeof WeakSet == "function" && WeakSet.prototype, Pa = G_ ? WeakSet.prototype.has : null, Y_ = typeof WeakRef == "function" && WeakRef.prototype, qm = Y_ ? WeakRef.prototype.deref : null, X_ = Boolean.prototype.valueOf, J_ = Object.prototype.toString, z_ = Function.prototype.toString, Q_ = String.prototype.match, dh = String.prototype.slice, Wn = String.prototype.replace, Z_ = String.prototype.toUpperCase, Km = String.prototype.toLowerCase, FE = RegExp.prototype.test, Wm = Array.prototype.concat, Zr = Array.prototype.join, ex = Array.prototype.slice, Gm = Math.floor, zf = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ic = Object.getOwnPropertySymbols, Qf = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Is = typeof Symbol == "function" && typeof Symbol.iterator == "object", Wt = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Is || !0) ? Symbol.toStringTag : null, wE = Object.prototype.propertyIsEnumerable, Ym = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
1064
+ }, K_ = hl.inspect, ph = typeof Map == "function" && Map.prototype, Fc = Object.getOwnPropertyDescriptor && ph ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, $u = ph && Fc && typeof Fc.get == "function" ? Fc.get : null, Vm = ph && Map.prototype.forEach, hh = typeof Set == "function" && Set.prototype, wc = Object.getOwnPropertyDescriptor && hh ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Uu = hh && wc && typeof wc.get == "function" ? wc.get : null, Hm = hh && Set.prototype.forEach, W_ = typeof WeakMap == "function" && WeakMap.prototype, Ca = W_ ? WeakMap.prototype.has : null, G_ = typeof WeakSet == "function" && WeakSet.prototype, Pa = G_ ? WeakSet.prototype.has : null, Y_ = typeof WeakRef == "function" && WeakRef.prototype, qm = Y_ ? WeakRef.prototype.deref : null, X_ = Boolean.prototype.valueOf, J_ = Object.prototype.toString, z_ = Function.prototype.toString, Q_ = String.prototype.match, dh = String.prototype.slice, Wn = String.prototype.replace, Z_ = String.prototype.toUpperCase, Km = String.prototype.toLowerCase, FE = RegExp.prototype.test, Wm = Array.prototype.concat, Zr = Array.prototype.join, ex = Array.prototype.slice, Gm = Math.floor, zf = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ic = Object.getOwnPropertySymbols, Qf = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ws = typeof Symbol == "function" && typeof Symbol.iterator == "object", Wt = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ws || !0) ? Symbol.toStringTag : null, wE = Object.prototype.propertyIsEnumerable, Ym = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
1065
1065
  return e.__proto__;
1066
1066
  } : null);
1067
1067
  function Xm(e, t) {
@@ -1131,8 +1131,8 @@ var Zf = K_, Jm = Zf.custom, zm = OE(Jm) ? Jm : null, tx = function e(t, r, n, i
1131
1131
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (d.length > 0 ? " { " + Zr.call(d, ", ") + " }" : "");
1132
1132
  }
1133
1133
  if (OE(t)) {
1134
- var m = Is ? Wn.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : Qf.call(t);
1135
- return typeof t == "object" && !Is ? zs(m) : m;
1134
+ var m = ws ? Wn.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : Qf.call(t);
1135
+ return typeof t == "object" && !ws ? Js(m) : m;
1136
1136
  }
1137
1137
  if (yx(t)) {
1138
1138
  for (var g = "<" + Km.call(String(t.nodeName)), D = t.attributes || [], y = 0; y < D.length; y++)
@@ -1174,13 +1174,13 @@ var Zf = K_, Jm = Zf.custom, zm = OE(Jm) ? Jm : null, tx = function e(t, r, n, i
1174
1174
  if (hx(t))
1175
1175
  return Oc("WeakRef");
1176
1176
  if (ax(t))
1177
- return zs(p(Number(t)));
1177
+ return Js(p(Number(t)));
1178
1178
  if (ux(t))
1179
- return zs(p(zf.call(t)));
1179
+ return Js(p(zf.call(t)));
1180
1180
  if (ox(t))
1181
- return zs(X_.call(t));
1181
+ return Js(X_.call(t));
1182
1182
  if (sx(t))
1183
- return zs(p(String(t)));
1183
+ return Js(p(String(t)));
1184
1184
  if (typeof window < "u" && t === window)
1185
1185
  return "{ [object Window] }";
1186
1186
  if (typeof globalThis < "u" && t === globalThis || typeof nn < "u" && t === nn)
@@ -1220,7 +1220,7 @@ function ox(e) {
1220
1220
  return ni(e) === "[object Boolean]" && (!Wt || !(typeof e == "object" && Wt in e));
1221
1221
  }
1222
1222
  function OE(e) {
1223
- if (Is)
1223
+ if (ws)
1224
1224
  return e && typeof e == "object" && e instanceof Symbol;
1225
1225
  if (typeof e == "symbol")
1226
1226
  return !0;
@@ -1354,7 +1354,7 @@ function gx(e) {
1354
1354
  }[t];
1355
1355
  return r ? "\\" + r : "\\x" + (t < 16 ? "0" : "") + Z_.call(t.toString(16));
1356
1356
  }
1357
- function zs(e) {
1357
+ function Js(e) {
1358
1358
  return "Object(" + e + ")";
1359
1359
  }
1360
1360
  function Oc(e) {
@@ -1400,19 +1400,19 @@ function Ao(e, t) {
1400
1400
  n[i] = Hn(e, i) ? t(e[i], e) : "";
1401
1401
  }
1402
1402
  var s = typeof Ic == "function" ? Ic(e) : [], a;
1403
- if (Is) {
1403
+ if (ws) {
1404
1404
  a = {};
1405
1405
  for (var o = 0; o < s.length; o++)
1406
1406
  a["$" + s[o]] = s[o];
1407
1407
  }
1408
1408
  for (var u in e)
1409
- Hn(e, u) && (r && String(Number(u)) === u && u < e.length || Is && a["$" + u] instanceof Symbol || (FE.call(/[^\w$]/, u) ? n.push(t(u, e) + ": " + t(e[u], e)) : n.push(u + ": " + t(e[u], e))));
1409
+ Hn(e, u) && (r && String(Number(u)) === u && u < e.length || ws && a["$" + u] instanceof Symbol || (FE.call(/[^\w$]/, u) ? n.push(t(u, e) + ": " + t(e[u], e)) : n.push(u + ": " + t(e[u], e))));
1410
1410
  if (typeof Ic == "function")
1411
1411
  for (var l = 0; l < s.length; l++)
1412
1412
  wE.call(e, s[l]) && n.push("[" + t(s[l]) + "]: " + t(e[s[l]], e));
1413
1413
  return n;
1414
1414
  }
1415
- var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%", !0), vx = Vs("WeakMap.prototype.get", !0), Tx = Vs("WeakMap.prototype.set", !0), Ax = Vs("WeakMap.prototype.has", !0), Cx = Vs("Map.prototype.get", !0), Px = Vs("Map.prototype.set", !0), _x = Vs("Map.prototype.has", !0), mh = function(e, t) {
1415
+ var kE = $s, Us = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%", !0), vx = Us("WeakMap.prototype.get", !0), Tx = Us("WeakMap.prototype.set", !0), Ax = Us("WeakMap.prototype.has", !0), Cx = Us("Map.prototype.get", !0), Px = Us("Map.prototype.set", !0), _x = Us("Map.prototype.has", !0), mh = function(e, t) {
1416
1416
  for (var r = e, n; (n = r.next) !== null; r = n)
1417
1417
  if (n.key === t)
1418
1418
  return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
@@ -1778,7 +1778,7 @@ var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%
1778
1778
  }
1779
1779
  var p = a.join(n.delimiter), h = n.addQueryPrefix === !0 ? "?" : "";
1780
1780
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? h += "utf8=%26%2310003%3B&" : h += "utf8=%E2%9C%93&"), p.length > 0 ? h + p : "";
1781
- }, Os = RE, rp = Object.prototype.hasOwnProperty, Qx = Array.isArray, At = {
1781
+ }, Is = RE, rp = Object.prototype.hasOwnProperty, Qx = Array.isArray, At = {
1782
1782
  allowDots: !1,
1783
1783
  allowEmptyArrays: !1,
1784
1784
  allowPrototypes: !1,
@@ -1788,7 +1788,7 @@ var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%
1788
1788
  charsetSentinel: !1,
1789
1789
  comma: !1,
1790
1790
  decodeDotInKeys: !1,
1791
- decoder: Os.decode,
1791
+ decoder: Is.decode,
1792
1792
  delimiter: "&",
1793
1793
  depth: 5,
1794
1794
  duplicates: "combine",
@@ -1815,14 +1815,14 @@ var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%
1815
1815
  for (u = 0; u < a.length; ++u)
1816
1816
  if (u !== o) {
1817
1817
  var c = a[u], f = c.indexOf("]="), p = f === -1 ? c.indexOf("=") : f + 1, h, d;
1818
- p === -1 ? (h = r.decoder(c, At.decoder, l, "key"), d = r.strictNullHandling ? null : "") : (h = r.decoder(c.slice(0, p), At.decoder, l, "key"), d = Os.maybeMap(
1818
+ p === -1 ? (h = r.decoder(c, At.decoder, l, "key"), d = r.strictNullHandling ? null : "") : (h = r.decoder(c.slice(0, p), At.decoder, l, "key"), d = Is.maybeMap(
1819
1819
  UE(c.slice(p + 1), r),
1820
1820
  function(g) {
1821
1821
  return r.decoder(g, At.decoder, l, "value");
1822
1822
  }
1823
1823
  )), d && r.interpretNumericEntities && l === "iso-8859-1" && (d = Zx(d)), c.indexOf("[]=") > -1 && (d = Qx(d) ? [d] : d);
1824
1824
  var m = rp.call(n, h);
1825
- m && r.duplicates === "combine" ? n[h] = Os.combine(n[h], d) : (!m || r.duplicates === "last") && (n[h] = d);
1825
+ m && r.duplicates === "combine" ? n[h] = Is.combine(n[h], d) : (!m || r.duplicates === "last") && (n[h] = d);
1826
1826
  }
1827
1827
  return n;
1828
1828
  }, nF = function(e, t, r, n) {
@@ -1884,7 +1884,7 @@ var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%
1884
1884
  comma: typeof t.comma == "boolean" ? t.comma : At.comma,
1885
1885
  decodeDotInKeys: typeof t.decodeDotInKeys == "boolean" ? t.decodeDotInKeys : At.decodeDotInKeys,
1886
1886
  decoder: typeof t.decoder == "function" ? t.decoder : At.decoder,
1887
- delimiter: typeof t.delimiter == "string" || Os.isRegExp(t.delimiter) ? t.delimiter : At.delimiter,
1887
+ delimiter: typeof t.delimiter == "string" || Is.isRegExp(t.delimiter) ? t.delimiter : At.delimiter,
1888
1888
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1889
1889
  depth: typeof t.depth == "number" || t.depth === !1 ? +t.depth : At.depth,
1890
1890
  duplicates: n,
@@ -1902,9 +1902,9 @@ var kE = Us, Vs = q_, bx = tx, Sx = Ga, Co = kE("%WeakMap%", !0), Po = kE("%Map%
1902
1902
  return r.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1903
1903
  for (var n = typeof e == "string" ? rF(e, r) : e, i = r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, s = Object.keys(n), a = 0; a < s.length; ++a) {
1904
1904
  var o = s[a], u = iF(o, n[o], r, typeof e == "string");
1905
- i = Os.merge(i, u, r);
1905
+ i = Is.merge(i, u, r);
1906
1906
  }
1907
- return r.allowSparse === !0 ? i : Os.compact(i);
1907
+ return r.allowSparse === !0 ? i : Is.compact(i);
1908
1908
  }, oF = zx, uF = aF, lF = yh, cF = {
1909
1909
  formats: lF,
1910
1910
  parse: uF,
@@ -1951,13 +1951,13 @@ function gh({ workerId: e, isFixedLength: t = !1, prefix: r = "" } = {}) {
1951
1951
  return m > l && g(), d + (m++).toString(36);
1952
1952
  };
1953
1953
  }
1954
- var qt = {}, St = {}, Ns = {};
1955
- Object.defineProperty(Ns, "__esModule", { value: !0 });
1956
- Ns.splitWhen = Ns.flatten = void 0;
1954
+ var qt = {}, St = {}, Os = {};
1955
+ Object.defineProperty(Os, "__esModule", { value: !0 });
1956
+ Os.splitWhen = Os.flatten = void 0;
1957
1957
  function dF(e) {
1958
1958
  return e.reduce((t, r) => [].concat(t, r), []);
1959
1959
  }
1960
- Ns.flatten = dF;
1960
+ Os.flatten = dF;
1961
1961
  function mF(e, t) {
1962
1962
  const r = [[]];
1963
1963
  let n = 0;
@@ -1965,7 +1965,7 @@ function mF(e, t) {
1965
1965
  t(i) ? (n++, r[n] = []) : r[n].push(i);
1966
1966
  return r;
1967
1967
  }
1968
- Ns.splitWhen = mF;
1968
+ Os.splitWhen = mF;
1969
1969
  var Dl = {};
1970
1970
  Object.defineProperty(Dl, "__esModule", { value: !0 });
1971
1971
  Dl.isEnoentCodeError = void 0;
@@ -1988,7 +1988,7 @@ El.createDirentFromStats = DF;
1988
1988
  var wt = {};
1989
1989
  Object.defineProperty(wt, "__esModule", { value: !0 });
1990
1990
  wt.convertPosixPathToPattern = wt.convertWindowsPathToPattern = wt.convertPathToPattern = wt.escapePosixPath = wt.escapeWindowsPath = wt.escape = wt.removeLeadingDotSegment = wt.makeAbsolute = wt.unixify = void 0;
1991
- const EF = $s, bF = Oe, VE = EF.platform() === "win32", SF = 2, vF = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, TF = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, AF = /^\\\\([.?])/, CF = /\\(?![!()+@[\]{}])/g;
1991
+ const EF = js, bF = Oe, VE = EF.platform() === "win32", SF = 2, vF = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, TF = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, AF = /^\\\\([.?])/, CF = /\\(?![!()+@[\]{}])/g;
1992
1992
  function PF(e) {
1993
1993
  return e.replace(/\\/g, "/");
1994
1994
  }
@@ -2093,7 +2093,7 @@ var wF = FF, KE = { "{": "}", "(": ")", "[": "]" }, IF = function(e) {
2093
2093
  return !0;
2094
2094
  var n = IF;
2095
2095
  return r && r.strict === !1 && (n = OF), n(t);
2096
- }, BF = NF, kF = Oe.posix.dirname, LF = $s.platform() === "win32", Rc = "/", RF = /\\/g, MF = /[\{\[].*[\}\]]$/, jF = /(^|[^\\])([\{\[]|\([^\)]+$)/, $F = /\\([\!\*\?\|\[\]\(\)\{\}])/g, UF = function(t, r) {
2096
+ }, BF = NF, kF = Oe.posix.dirname, LF = js.platform() === "win32", Rc = "/", RF = /\\/g, MF = /[\{\[].*[\}\]]$/, jF = /(^|[^\\])([\{\[]|\([^\)]+$)/, $F = /\\([\!\*\?\|\[\]\(\)\{\}])/g, UF = function(t, r) {
2097
2097
  var n = Object.assign({ flipBackslashes: !0 }, r);
2098
2098
  n.flipBackslashes && LF && t.indexOf(Rc) < 0 && (t = t.replace(RF, Rc)), MF.test(t) && (t += Rc), t += "a";
2099
2099
  do
@@ -2375,11 +2375,11 @@ const sw = zE, cy = bl, aw = (e, t = {}) => {
2375
2375
  return r(e);
2376
2376
  };
2377
2377
  var ow = aw;
2378
- const uw = zE, fy = bh, ms = bl, Bi = (e = "", t = "", r = !1) => {
2378
+ const uw = zE, fy = bh, ds = bl, Bi = (e = "", t = "", r = !1) => {
2379
2379
  const n = [];
2380
2380
  if (e = [].concat(e), t = [].concat(t), !t.length) return e;
2381
2381
  if (!e.length)
2382
- return r ? ms.flatten(t).map((i) => `{${i}}`) : t;
2382
+ return r ? ds.flatten(t).map((i) => `{${i}}`) : t;
2383
2383
  for (const i of e)
2384
2384
  if (Array.isArray(i))
2385
2385
  for (const s of i)
@@ -2387,7 +2387,7 @@ const uw = zE, fy = bh, ms = bl, Bi = (e = "", t = "", r = !1) => {
2387
2387
  else
2388
2388
  for (let s of t)
2389
2389
  r === !0 && typeof s == "string" && (s = `{${s}}`), n.push(Array.isArray(s) ? Bi(i, s, r) : i + s);
2390
- return ms.flatten(n);
2390
+ return ds.flatten(n);
2391
2391
  }, lw = (e, t = {}) => {
2392
2392
  const r = t.rangeLimit === void 0 ? 1e3 : t.rangeLimit, n = (i, s = {}) => {
2393
2393
  i.queue = [];
@@ -2403,14 +2403,14 @@ const uw = zE, fy = bh, ms = bl, Bi = (e = "", t = "", r = !1) => {
2403
2403
  return;
2404
2404
  }
2405
2405
  if (i.nodes && i.ranges > 0) {
2406
- const f = ms.reduce(i.nodes);
2407
- if (ms.exceedsLimit(...f, t.step, r))
2406
+ const f = ds.reduce(i.nodes);
2407
+ if (ds.exceedsLimit(...f, t.step, r))
2408
2408
  throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
2409
2409
  let p = uw(...f, t);
2410
2410
  p.length === 0 && (p = fy(i, t)), o.push(Bi(o.pop(), p)), i.nodes = [];
2411
2411
  return;
2412
2412
  }
2413
- const u = ms.encloseBrace(i);
2413
+ const u = ds.encloseBrace(i);
2414
2414
  let l = i.queue, c = i;
2415
2415
  for (; c.type !== "brace" && c.type !== "root" && c.parent; )
2416
2416
  c = c.parent, l = c.queue;
@@ -2432,7 +2432,7 @@ const uw = zE, fy = bh, ms = bl, Bi = (e = "", t = "", r = !1) => {
2432
2432
  }
2433
2433
  return l;
2434
2434
  };
2435
- return ms.flatten(n(e));
2435
+ return ds.flatten(n(e));
2436
2436
  };
2437
2437
  var cw = lw, fw = {
2438
2438
  MAX_LENGTH: 1e4,
@@ -3888,20 +3888,20 @@ Al.merge = R2;
3888
3888
  function Ty(e) {
3889
3889
  e.forEach((t) => t.emit("close"));
3890
3890
  }
3891
- var Bs = {};
3892
- Object.defineProperty(Bs, "__esModule", { value: !0 });
3893
- Bs.isEmpty = Bs.isString = void 0;
3891
+ var Ns = {};
3892
+ Object.defineProperty(Ns, "__esModule", { value: !0 });
3893
+ Ns.isEmpty = Ns.isString = void 0;
3894
3894
  function M2(e) {
3895
3895
  return typeof e == "string";
3896
3896
  }
3897
- Bs.isString = M2;
3897
+ Ns.isString = M2;
3898
3898
  function j2(e) {
3899
3899
  return e === "";
3900
3900
  }
3901
- Bs.isEmpty = j2;
3901
+ Ns.isEmpty = j2;
3902
3902
  Object.defineProperty(St, "__esModule", { value: !0 });
3903
3903
  St.string = St.stream = St.pattern = St.path = St.fs = St.errno = St.array = void 0;
3904
- const $2 = Ns;
3904
+ const $2 = Os;
3905
3905
  St.array = $2;
3906
3906
  const U2 = Dl;
3907
3907
  St.errno = U2;
@@ -3913,7 +3913,7 @@ const q2 = He;
3913
3913
  St.pattern = q2;
3914
3914
  const K2 = Al;
3915
3915
  St.stream = K2;
3916
- const W2 = Bs;
3916
+ const W2 = Ns;
3917
3917
  St.string = W2;
3918
3918
  Object.defineProperty(qt, "__esModule", { value: !0 });
3919
3919
  qt.convertPatternGroupToTask = qt.convertPatternGroupsToTasks = qt.groupPatternsByBaseDirectory = qt.getNegativePatternsAsPositive = qt.getPositivePatterns = qt.convertPatternsToTasks = qt.generate = void 0;
@@ -4025,7 +4025,7 @@ _l.read = X2;
4025
4025
  var Ih = {}, yb = {};
4026
4026
  (function(e) {
4027
4027
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
4028
- const t = Ps;
4028
+ const t = Cs;
4029
4029
  e.FILE_SYSTEM_ADAPTER = {
4030
4030
  lstat: t.lstat,
4031
4031
  stat: t.stat,
@@ -4265,7 +4265,7 @@ Yn.readdir = _b;
4265
4265
  var Oh = {}, xb = {};
4266
4266
  (function(e) {
4267
4267
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
4268
- const t = Ps;
4268
+ const t = Cs;
4269
4269
  e.FILE_SYSTEM_ADAPTER = {
4270
4270
  lstat: t.lstat,
4271
4271
  stat: t.stat,
@@ -4784,7 +4784,7 @@ class SO extends EO.default {
4784
4784
  Fh.default = SO;
4785
4785
  var eo = {}, Mh = {}, jh = {}, $h = {};
4786
4786
  Object.defineProperty($h, "__esModule", { value: !0 });
4787
- const Qs = St;
4787
+ const zs = St;
4788
4788
  class vO {
4789
4789
  constructor(t, r, n) {
4790
4790
  this._patterns = t, this._settings = r, this._micromatchOptions = n, this._storage = [], this._fillStorage();
@@ -4801,17 +4801,17 @@ class vO {
4801
4801
  }
4802
4802
  }
4803
4803
  _getPatternSegments(t) {
4804
- return Qs.pattern.getPatternParts(t, this._micromatchOptions).map((n) => Qs.pattern.isDynamicPattern(n, this._settings) ? {
4804
+ return zs.pattern.getPatternParts(t, this._micromatchOptions).map((n) => zs.pattern.isDynamicPattern(n, this._settings) ? {
4805
4805
  dynamic: !0,
4806
4806
  pattern: n,
4807
- patternRe: Qs.pattern.makeRe(n, this._micromatchOptions)
4807
+ patternRe: zs.pattern.makeRe(n, this._micromatchOptions)
4808
4808
  } : {
4809
4809
  dynamic: !1,
4810
4810
  pattern: n
4811
4811
  });
4812
4812
  }
4813
4813
  _splitSegmentsIntoSections(t) {
4814
- return Qs.array.splitWhen(t, (r) => r.dynamic && Qs.pattern.hasGlobStar(r.pattern));
4814
+ return zs.array.splitWhen(t, (r) => r.dynamic && zs.pattern.hasGlobStar(r.pattern));
4815
4815
  }
4816
4816
  }
4817
4817
  $h.default = vO;
@@ -5071,7 +5071,7 @@ Kh.default = JO;
5071
5071
  var wb = {};
5072
5072
  (function(e) {
5073
5073
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
5074
- const t = Ps, n = Math.max($s.cpus().length, 1);
5074
+ const t = Cs, n = Math.max(js.cpus().length, 1);
5075
5075
  e.DEFAULT_FILE_SYSTEM_ADAPTER = {
5076
5076
  lstat: t.lstat,
5077
5077
  lstatSync: t.lstatSync,
@@ -5166,6 +5166,8 @@ const Yc = /* @__PURE__ */ dl(Du), eN = `declare module 'soonjs/auto/client' {
5166
5166
  import type { Context, SoonFetchOptions, Meta } from '.soonjs/node_modules/soonjs';
5167
5167
  import { z, ZodType } from 'zod';
5168
5168
 
5169
+ export { type SoonFetchOptions };
5170
+
5169
5171
  type NonUndefined<A> = A extends undefined ? never : A;
5170
5172
  type ReturnRealType<T extends (...args: any) => any | Promise<(...args: any) => any>, R = ReturnType<T>> = R extends Promise<infer U> ? U : R;
5171
5173
 
@@ -5175,6 +5177,7 @@ const Yc = /* @__PURE__ */ dl(Du), eN = `declare module 'soonjs/auto/client' {
5175
5177
  * ============================================
5176
5178
  */
5177
5179
  $$$apis$$$
5180
+ export { type apis as soonApis }
5178
5181
  /**
5179
5182
  * 调用服务端 api
5180
5183
  */
@@ -5287,7 +5290,7 @@ function aue(e) {
5287
5290
  closeBundle() {
5288
5291
  try {
5289
5292
  const D = (e == null ? void 0 : e.entryPath) || "./dist/entry.js";
5290
- e != null && e.removeEntry && t && fs(D) && fE(D);
5293
+ e != null && e.removeEntry && t && cs(D) && fE(D);
5291
5294
  } catch {
5292
5295
  }
5293
5296
  },
@@ -5523,7 +5526,7 @@ var uN = class extends Error {
5523
5526
  Ut(this, "name", "InvalidDocError");
5524
5527
  this.doc = r;
5525
5528
  }
5526
- }, ks = uN, Oy = {};
5529
+ }, Bs = uN, Oy = {};
5527
5530
  function lN(e, t, r, n) {
5528
5531
  const i = [e];
5529
5532
  for (; i.length > 0; ) {
@@ -5535,7 +5538,7 @@ function lN(e, t, r, n) {
5535
5538
  r && i.push(s, Oy);
5536
5539
  const a = Xi(s);
5537
5540
  if (!a)
5538
- throw new ks(s);
5541
+ throw new Bs(s);
5539
5542
  if ((t == null ? void 0 : t(s)) !== !1)
5540
5543
  switch (a) {
5541
5544
  case _n:
@@ -5570,7 +5573,7 @@ function lN(e, t, r, n) {
5570
5573
  case an:
5571
5574
  break;
5572
5575
  default:
5573
- throw new ks(s);
5576
+ throw new Bs(s);
5574
5577
  }
5575
5578
  }
5576
5579
  }
@@ -5579,7 +5582,7 @@ var Gh = lN, cN = () => {
5579
5582
  function Yu(e) {
5580
5583
  return { type: ii, contents: e };
5581
5584
  }
5582
- function Ls(e, t) {
5585
+ function ks(e, t) {
5583
5586
  return { type: si, contents: t, n: e };
5584
5587
  }
5585
5588
  function Bb(e, t = {}) {
@@ -5594,13 +5597,13 @@ function Bb(e, t = {}) {
5594
5597
  };
5595
5598
  }
5596
5599
  function pN(e) {
5597
- return Ls(Number.NEGATIVE_INFINITY, e);
5600
+ return ks(Number.NEGATIVE_INFINITY, e);
5598
5601
  }
5599
5602
  function hN(e) {
5600
- return Ls({ type: "root" }, e);
5603
+ return ks({ type: "root" }, e);
5601
5604
  }
5602
5605
  function dN(e) {
5603
- return Ls(-1, e);
5606
+ return ks(-1, e);
5604
5607
  }
5605
5608
  function mN(e, t) {
5606
5609
  return Bb(e[0], { ...t, expandedStates: e });
@@ -5643,7 +5646,7 @@ function CN(e, t, r) {
5643
5646
  if (t > 0) {
5644
5647
  for (let i = 0; i < Math.floor(t / r); ++i)
5645
5648
  n = Yu(n);
5646
- n = Ls(t % r, n), n = Ls(Number.NEGATIVE_INFINITY, n);
5649
+ n = ks(t % r, n), n = ks(Number.NEGATIVE_INFINITY, n);
5647
5650
  }
5648
5651
  return n;
5649
5652
  }
@@ -5745,7 +5748,7 @@ function Il(e, t) {
5745
5748
  case an:
5746
5749
  return t(s);
5747
5750
  default:
5748
- throw new ks(s);
5751
+ throw new Bs(s);
5749
5752
  }
5750
5753
  }
5751
5754
  }
@@ -5864,7 +5867,7 @@ function Fa(e) {
5864
5867
  case an:
5865
5868
  break;
5866
5869
  default:
5867
- throw new ks(e);
5870
+ throw new Bs(e);
5868
5871
  }
5869
5872
  return e;
5870
5873
  }
@@ -5918,7 +5921,7 @@ function HN(e) {
5918
5921
  case an:
5919
5922
  break;
5920
5923
  default:
5921
- throw new ks(e);
5924
+ throw new Bs(e);
5922
5925
  }
5923
5926
  return e;
5924
5927
  }
@@ -6349,7 +6352,7 @@ function JN(e, t) {
6349
6352
  case an:
6350
6353
  break;
6351
6354
  default:
6352
- throw new ks(d);
6355
+ throw new Bs(d);
6353
6356
  }
6354
6357
  a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
6355
6358
  }
@@ -6383,7 +6386,7 @@ var Ub = {
6383
6386
  trim: bN,
6384
6387
  indent: Yu,
6385
6388
  indentIfBreak: gN,
6386
- align: Ls,
6389
+ align: ks,
6387
6390
  addAlignmentToDoc: CN,
6388
6391
  markAsRoot: hN,
6389
6392
  dedentToRoot: pN,
@@ -6422,7 +6425,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
6422
6425
  return e && (t = (0, e[zh(e)[0]])(e = 0)), t;
6423
6426
  }, ye = (e, t) => function() {
6424
6427
  return t || (0, e[zh(e)[0]])((t = { exports: {} }).exports, t), t.exports;
6425
- }, Hs = (e, t) => {
6428
+ }, Vs = (e, t) => {
6426
6429
  for (var r in t)
6427
6430
  to(e, r, { get: t[r], enumerable: !0 });
6428
6431
  }, Kb = (e, t, r, n) => {
@@ -6437,7 +6440,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
6437
6440
  // "default" to the CommonJS "module.exports" for node compatibility.
6438
6441
  to(r, "default", { value: e, enumerable: !0 }),
6439
6442
  e
6440
- )), s3 = (e) => Kb(to({}, "__esModule", { value: !0 }), e), Io = (e, t, r) => i3(e, typeof t != "symbol" ? t + "" : t, r), Qh = (e, t, r) => t.has(e) || qb("Cannot " + r), Ui = (e, t, r) => (Qh(e, t, "read from private field"), t.get(e)), ki = (e, t, r) => t.has(e) ? qb("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Ia = (e, t, r, n) => (Qh(e, t, "write to private field"), t.set(e, r), r), hs = (e, t, r) => (Qh(e, t, "access private method"), r), a3 = ye({
6443
+ )), s3 = (e) => Kb(to({}, "__esModule", { value: !0 }), e), Io = (e, t, r) => i3(e, typeof t != "symbol" ? t + "" : t, r), Qh = (e, t, r) => t.has(e) || qb("Cannot " + r), Ui = (e, t, r) => (Qh(e, t, "read from private field"), t.get(e)), ki = (e, t, r) => t.has(e) ? qb("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Ia = (e, t, r, n) => (Qh(e, t, "write to private field"), t.set(e, r), r), ps = (e, t, r) => (Qh(e, t, "access private method"), r), a3 = ye({
6441
6444
  "node_modules/fast-glob/out/utils/array.js"(e) {
6442
6445
  Object.defineProperty(e, "__esModule", { value: !0 }), e.splitWhen = e.flatten = void 0;
6443
6446
  function t(n) {
@@ -8548,7 +8551,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
8548
8551
  };
8549
8552
  e.default = r;
8550
8553
  }
8551
- }), qs = ye({
8554
+ }), Hs = ye({
8552
8555
  "node_modules/@nodelib/fs.stat/out/index.js"(e) {
8553
8556
  Object.defineProperty(e, "__esModule", { value: !0 }), e.statSync = e.stat = e.Settings = void 0;
8554
8557
  var t = F3(), r = w3(), n = O3();
@@ -8643,7 +8646,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
8643
8646
  }), L3 = ye({
8644
8647
  "node_modules/@nodelib/fs.scandir/out/providers/async.js"(e) {
8645
8648
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
8646
- var t = qs(), r = B3(), n = Yb(), i = Xb(), s = Jb();
8649
+ var t = Hs(), r = B3(), n = Yb(), i = Xb(), s = Jb();
8647
8650
  function a(p, h, d) {
8648
8651
  if (!h.stats && n.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
8649
8652
  o(p, h, d);
@@ -8740,7 +8743,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
8740
8743
  }), R3 = ye({
8741
8744
  "node_modules/@nodelib/fs.scandir/out/providers/sync.js"(e) {
8742
8745
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
8743
- var t = qs(), r = Yb(), n = Xb(), i = Jb();
8746
+ var t = Hs(), r = Yb(), n = Xb(), i = Jb();
8744
8747
  function s(u, l) {
8745
8748
  return !l.stats && r.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? a(u, l) : o(u, l);
8746
8749
  }
@@ -8796,7 +8799,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
8796
8799
  }), j3 = ye({
8797
8800
  "node_modules/@nodelib/fs.scandir/out/settings.js"(e) {
8798
8801
  Object.defineProperty(e, "__esModule", { value: !0 });
8799
- var t = lt("path"), r = qs(), n = M3(), i = class {
8802
+ var t = lt("path"), r = Hs(), n = M3(), i = class {
8800
8803
  constructor(s = {}) {
8801
8804
  this._options = s, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = n.createFileSystemAdapter(this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, t.sep), this.stats = this._getValue(this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this.fsStatSettings = new r.Settings({
8802
8805
  followSymbolicLink: this.followSymbolicLinks,
@@ -9240,7 +9243,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
9240
9243
  }), id = ye({
9241
9244
  "node_modules/fast-glob/out/readers/reader.js"(e) {
9242
9245
  Object.defineProperty(e, "__esModule", { value: !0 });
9243
- var t = lt("path"), r = qs(), n = pi(), i = class {
9246
+ var t = lt("path"), r = Hs(), n = pi(), i = class {
9244
9247
  constructor(s) {
9245
9248
  this._settings = s, this._fsStatSettings = new r.Settings({
9246
9249
  followSymbolicLink: this._settings.followSymbolicLinks,
@@ -9268,7 +9271,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
9268
9271
  }), Zb = ye({
9269
9272
  "node_modules/fast-glob/out/readers/stream.js"(e) {
9270
9273
  Object.defineProperty(e, "__esModule", { value: !0 });
9271
- var t = lt("stream"), r = qs(), n = nd(), i = id(), s = class extends i.default {
9274
+ var t = lt("stream"), r = Hs(), n = nd(), i = id(), s = class extends i.default {
9272
9275
  constructor() {
9273
9276
  super(...arguments), this._walkStream = n.walkStream, this._stat = r.stat;
9274
9277
  }
@@ -9576,7 +9579,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
9576
9579
  }), rB = ye({
9577
9580
  "node_modules/fast-glob/out/readers/sync.js"(e) {
9578
9581
  Object.defineProperty(e, "__esModule", { value: !0 });
9579
- var t = qs(), r = nd(), n = id(), i = class extends n.default {
9582
+ var t = Hs(), r = nd(), n = id(), i = class extends n.default {
9580
9583
  constructor() {
9581
9584
  super(...arguments), this._walkSync = r.walkSync, this._statSync = t.statSync;
9582
9585
  }
@@ -9898,7 +9901,7 @@ function lB(e, { streamIsTTY: t, sniffFlags: r = !0 } = {}) {
9898
9901
  if (Dt.TERM === "dumb")
9899
9902
  return s;
9900
9903
  if (en.platform === "win32") {
9901
- const a = $s.release().split(".");
9904
+ const a = js.release().split(".");
9902
9905
  return Number(a[0]) >= 10 && Number(a[2]) >= 10586 ? Number(a[2]) >= 14931 ? 3 : 2 : 1;
9903
9906
  }
9904
9907
  if ("CI" in Dt)
@@ -9959,7 +9962,7 @@ var hB = Ol({
9959
9962
  "node_modules/chalk/source/utilities.js"() {
9960
9963
  }
9961
9964
  }), tS = {};
9962
- Hs(tS, {
9965
+ Vs(tS, {
9963
9966
  Chalk: () => rS,
9964
9967
  backgroundColorNames: () => Ju,
9965
9968
  backgroundColors: () => Ju,
@@ -9974,10 +9977,10 @@ Hs(tS, {
9974
9977
  supportsColor: () => bu,
9975
9978
  supportsColorStderr: () => Su
9976
9979
  });
9977
- function Zs(e) {
9980
+ function Qs(e) {
9978
9981
  return Ap(e);
9979
9982
  }
9980
- var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr, kl = Ol({
9983
+ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, Zs, Vy, Hy, nS, Sr, kl = Ol({
9981
9984
  "node_modules/chalk/source/index.js"() {
9982
9985
  Ly(), cB(), hB(), Ly(), { stdout: bu, stderr: Su } = eS, Oo = Symbol("GENERATOR"), Ti = Symbol("STYLER"), us = Symbol("IS_EMPTY"), Xc = [
9983
9986
  "ansi",
@@ -9995,18 +9998,18 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
9995
9998
  }
9996
9999
  }, Ap = (e) => {
9997
10000
  const t = (...r) => r.join(" ");
9998
- return jy(t, e), Object.setPrototypeOf(t, Zs.prototype), t;
9999
- }, Object.setPrototypeOf(Zs.prototype, Function.prototype);
10001
+ return jy(t, e), Object.setPrototypeOf(t, Qs.prototype), t;
10002
+ }, Object.setPrototypeOf(Qs.prototype, Function.prototype);
10000
10003
  for (const [e, t] of Object.entries(Br))
10001
10004
  Ai[e] = {
10002
10005
  get() {
10003
- const r = ea(this, Bo(t.open, t.close, this[Ti]), this[us]);
10006
+ const r = Zs(this, Bo(t.open, t.close, this[Ti]), this[us]);
10004
10007
  return Object.defineProperty(this, e, { value: r }), r;
10005
10008
  }
10006
10009
  };
10007
10010
  Ai.visible = {
10008
10011
  get() {
10009
- const e = ea(this, this[Ti], !0);
10012
+ const e = Zs(this, this[Ti], !0);
10010
10013
  return Object.defineProperty(this, "visible", { value: e }), e;
10011
10014
  }
10012
10015
  }, No = (e, t, r, ...n) => e === "rgb" ? t === "ansi16m" ? Br[r].ansi16m(...n) : t === "ansi256" ? Br[r].ansi256(Br.rgbToAnsi256(...n)) : Br[r].ansi(Br.rgbToAnsi(...n)) : e === "hex" ? No("rgb", t, r, ...Br.hexToRgb(...n)) : Br[r][e](...n), $y = ["rgb", "hex", "ansi256"];
@@ -10016,7 +10019,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
10016
10019
  const { level: r } = this;
10017
10020
  return function(...n) {
10018
10021
  const i = Bo(No(e, Xc[r], "color", ...n), Br.color.close, this[Ti]);
10019
- return ea(this, i, this[us]);
10022
+ return Zs(this, i, this[us]);
10020
10023
  };
10021
10024
  }
10022
10025
  };
@@ -10026,7 +10029,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
10026
10029
  const { level: r } = this;
10027
10030
  return function(...n) {
10028
10031
  const i = Bo(No(e, Xc[r], "bgColor", ...n), Br.bgColor.close, this[Ti]);
10029
- return ea(this, i, this[us]);
10032
+ return Zs(this, i, this[us]);
10030
10033
  };
10031
10034
  }
10032
10035
  };
@@ -10052,7 +10055,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
10052
10055
  closeAll: i,
10053
10056
  parent: r
10054
10057
  };
10055
- }, ea = (e, t, r) => {
10058
+ }, Zs = (e, t, r) => {
10056
10059
  const n = (...i) => Vy(n, i.length === 1 ? "" + i[0] : i.join(" "));
10057
10060
  return Object.setPrototypeOf(n, Uy), n[Oo] = e, n[Ti] = t, n[us] = r, n;
10058
10061
  }, Vy = (e, t) => {
@@ -10068,7 +10071,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
10068
10071
  const s = t.indexOf(`
10069
10072
  `);
10070
10073
  return s !== -1 && (t = pB(t, i, n, s)), n + t + i;
10071
- }, Object.defineProperties(Zs.prototype, Ai), Hy = Zs(), nS = Zs({ level: Su ? Su.level : 0 }), Sr = Hy;
10074
+ }, Object.defineProperties(Qs.prototype, Ai), Hy = Qs(), nS = Qs({ level: Su ? Su.level : 0 }), Sr = Hy;
10072
10075
  }
10073
10076
  }), iS = ye({
10074
10077
  "node_modules/semver/internal/debug.js"(e, t) {
@@ -13800,7 +13803,7 @@ ${C}`), y ? E.reset(C) : C;
13800
13803
  t.exports = n;
13801
13804
  }
13802
13805
  }), cS = {};
13803
- Hs(cS, {
13806
+ Vs(cS, {
13804
13807
  __debug: () => k4,
13805
13808
  __internal: () => B4,
13806
13809
  check: () => w4,
@@ -14626,7 +14629,7 @@ var DS = class extends di {
14626
14629
  }
14627
14630
  }
14628
14631
  }, ES = {};
14629
- Hs(ES, {
14632
+ Vs(ES, {
14630
14633
  ArgExpansionBailout: () => wk,
14631
14634
  ConfigError: () => ud,
14632
14635
  UndefinedParserError: () => xp
@@ -14646,7 +14649,7 @@ var ud = class extends Error {
14646
14649
  super(...arguments);
14647
14650
  Ut(this, "name", "ArgExpansionBailout");
14648
14651
  }
14649
- }, r0 = Fn(Gb()), Ik = (e) => e instanceof URL, bS = (e) => typeof e == "string" && e.startsWith("file://"), SS = (e) => Ik(e) || bS(e), Ks = (e) => SS(e) ? it(e) : e;
14652
+ }, r0 = Fn(Gb()), Ik = (e) => e instanceof URL, bS = (e) => typeof e == "string" && e.startsWith("file://"), SS = (e) => Ik(e) || bS(e), qs = (e) => SS(e) ? it(e) : e;
14650
14653
  function Ok(e, t) {
14651
14654
  const r = [[], []];
14652
14655
  for (const n of e)
@@ -14658,13 +14661,13 @@ async function Bk(e, t) {
14658
14661
  const r = (t == null ? void 0 : t.allowSymlinks) ?? !0;
14659
14662
  let n;
14660
14663
  try {
14661
- n = await (r ? _s.stat : _s.lstat)(Ks(e));
14664
+ n = await (r ? Ps.stat : Ps.lstat)(qs(e));
14662
14665
  } catch {
14663
14666
  return !1;
14664
14667
  }
14665
14668
  return n.isDirectory();
14666
14669
  }
14667
- var kk = Bk, n0 = (e) => Lu.resolve(Ks(e));
14670
+ var kk = Bk, n0 = (e) => Lu.resolve(qs(e));
14668
14671
  function* Lk(e, t) {
14669
14672
  e = n0(e);
14670
14673
  const { root: r } = Lu.parse(e);
@@ -14695,7 +14698,7 @@ var Rk = Lk, Zu, el, Au, Oa, Fp, TS, Mk = class {
14695
14698
  e,
14696
14699
  Ui(this, Au)
14697
14700
  ))
14698
- if (n.push(s), i = await hs(this, Fp, TS).call(this, s, t), i)
14701
+ if (n.push(s), i = await ps(this, Fp, TS).call(this, s, t), i)
14699
14702
  break;
14700
14703
  for (const s of n)
14701
14704
  r.set(s, i);
@@ -14780,7 +14783,7 @@ CS.buffer = async () => {
14780
14783
  return Buffer.concat(e, t);
14781
14784
  };
14782
14785
  function Jk(e, t) {
14783
- return _s.writeFile(e, t);
14786
+ return Ps.writeFile(e, t);
14784
14787
  }
14785
14788
  var zk = {
14786
14789
  getPrettierConfigSearchStopDirectory: () => {
@@ -14793,7 +14796,7 @@ async function Qk(e, t) {
14793
14796
  const r = (t == null ? void 0 : t.allowSymlinks) ?? !0;
14794
14797
  let n;
14795
14798
  try {
14796
- n = await (r ? _s.stat : _s.lstat)(Ks(e));
14799
+ n = await (r ? Ps.stat : Ps.lstat)(qs(e));
14797
14800
  } catch {
14798
14801
  return !1;
14799
14802
  }
@@ -15372,7 +15375,7 @@ function Vi(e) {
15372
15375
  function ir(e) {
15373
15376
  return e === 9 || e === 32 || e === 10 || e === 13;
15374
15377
  }
15375
- function ys(e) {
15378
+ function ms(e) {
15376
15379
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
15377
15380
  }
15378
15381
  function TR(e) {
@@ -15450,7 +15453,7 @@ function l0(e, t, r, n) {
15450
15453
  for (zt.isObject(r) || Le(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(r), a = 0, o = i.length; a < o; a += 1)
15451
15454
  s = i[a], ei.call(t, s) || (t[s] = r[s], n[s] = !0);
15452
15455
  }
15453
- function gs(e, t, r, n, i, s, a, o, u) {
15456
+ function ys(e, t, r, n, i, s, a, o, u) {
15454
15457
  var l, c;
15455
15458
  if (Array.isArray(i))
15456
15459
  for (i = Array.prototype.slice.call(i), l = 0, c = i.length; l < c; l += 1)
@@ -15500,17 +15503,17 @@ function pd(e, t) {
15500
15503
  }
15501
15504
  function xR(e, t, r) {
15502
15505
  var n, i, s, a, o, u, l, c, f = e.kind, p = e.result, h;
15503
- if (h = e.input.charCodeAt(e.position), ir(h) || ys(h) || h === 35 || h === 38 || h === 42 || h === 33 || h === 124 || h === 62 || h === 39 || h === 34 || h === 37 || h === 64 || h === 96 || (h === 63 || h === 45) && (i = e.input.charCodeAt(e.position + 1), ir(i) || r && ys(i)))
15506
+ if (h = e.input.charCodeAt(e.position), ir(h) || ms(h) || h === 35 || h === 38 || h === 42 || h === 33 || h === 124 || h === 62 || h === 39 || h === 34 || h === 37 || h === 64 || h === 96 || (h === 63 || h === 45) && (i = e.input.charCodeAt(e.position + 1), ir(i) || r && ms(i)))
15504
15507
  return !1;
15505
15508
  for (e.kind = "scalar", e.result = "", s = a = e.position, o = !1; h !== 0; ) {
15506
15509
  if (h === 58) {
15507
- if (i = e.input.charCodeAt(e.position + 1), ir(i) || r && ys(i))
15510
+ if (i = e.input.charCodeAt(e.position + 1), ir(i) || r && ms(i))
15508
15511
  break;
15509
15512
  } else if (h === 35) {
15510
15513
  if (n = e.input.charCodeAt(e.position - 1), ir(n))
15511
15514
  break;
15512
15515
  } else {
15513
- if (e.position === e.lineStart && Ll(e) || r && ys(h))
15516
+ if (e.position === e.lineStart && Ll(e) || r && ms(h))
15514
15517
  break;
15515
15518
  if (rn(h))
15516
15519
  if (u = e.line, l = e.lineStart, c = e.lineIndent, It(e, !1, -1), e.lineIndent >= t) {
@@ -15572,7 +15575,7 @@ function IR(e, t) {
15572
15575
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), y = e.input.charCodeAt(++e.position); y !== 0; ) {
15573
15576
  if (It(e, !0, t), y = e.input.charCodeAt(e.position), y === c)
15574
15577
  return e.position++, e.tag = a, e.anchor = u, e.kind = h ? "mapping" : "sequence", e.result = o, !0;
15575
- r ? y === 44 && Le(e, "expected the node content, but found ','") : Le(e, "missed comma between flow collection entries"), g = m = D = null, f = p = !1, y === 63 && (l = e.input.charCodeAt(e.position + 1), ir(l) && (f = p = !0, e.position++, It(e, !0, t))), n = e.line, i = e.lineStart, s = e.position, Rs(e, t, tl, !1, !0), g = e.tag, m = e.result, It(e, !0, t), y = e.input.charCodeAt(e.position), (p || e.line === n) && y === 58 && (f = !0, y = e.input.charCodeAt(++e.position), It(e, !0, t), Rs(e, t, tl, !1, !0), D = e.result), h ? gs(e, o, d, g, m, D, n, i, s) : f ? o.push(gs(e, null, d, g, m, D, n, i, s)) : o.push(m), It(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (r = !0, y = e.input.charCodeAt(++e.position)) : r = !1;
15578
+ r ? y === 44 && Le(e, "expected the node content, but found ','") : Le(e, "missed comma between flow collection entries"), g = m = D = null, f = p = !1, y === 63 && (l = e.input.charCodeAt(e.position + 1), ir(l) && (f = p = !0, e.position++, It(e, !0, t))), n = e.line, i = e.lineStart, s = e.position, Ls(e, t, tl, !1, !0), g = e.tag, m = e.result, It(e, !0, t), y = e.input.charCodeAt(e.position), (p || e.line === n) && y === 58 && (f = !0, y = e.input.charCodeAt(++e.position), It(e, !0, t), Ls(e, t, tl, !1, !0), D = e.result), h ? ys(e, o, d, g, m, D, n, i, s) : f ? o.push(ys(e, null, d, g, m, D, n, i, s)) : o.push(m), It(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (r = !0, y = e.input.charCodeAt(++e.position)) : r = !1;
15576
15579
  }
15577
15580
  Le(e, "unexpected end of the stream within a flow collection");
15578
15581
  }
@@ -15631,7 +15634,7 @@ function c0(e, t) {
15631
15634
  s.push(null), u = e.input.charCodeAt(e.position);
15632
15635
  continue;
15633
15636
  }
15634
- if (r = e.line, Rs(e, t, IS, !1, !0), s.push(e.result), It(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && u !== 0)
15637
+ if (r = e.line, Ls(e, t, IS, !1, !0), s.push(e.result), It(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && u !== 0)
15635
15638
  Le(e, "bad indentation of a sequence entry");
15636
15639
  else if (e.lineIndent < t)
15637
15640
  break;
@@ -15643,15 +15646,15 @@ function NR(e, t, r) {
15643
15646
  if (e.firstTabInLine !== -1) return !1;
15644
15647
  for (e.anchor !== null && (e.anchorMap[e.anchor] = f), y = e.input.charCodeAt(e.position); y !== 0; ) {
15645
15648
  if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, Le(e, "tab characters must not be used in indentation")), n = e.input.charCodeAt(e.position + 1), s = e.line, (y === 63 || y === 58) && ir(n))
15646
- y === 63 ? (g && (gs(e, f, p, h, d, null, a, o, u), h = d = m = null), D = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : Le(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = n;
15649
+ y === 63 ? (g && (ys(e, f, p, h, d, null, a, o, u), h = d = m = null), D = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : Le(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = n;
15647
15650
  else {
15648
- if (a = e.line, o = e.lineStart, u = e.position, !Rs(e, r, wS, !1, !0))
15651
+ if (a = e.line, o = e.lineStart, u = e.position, !Ls(e, r, wS, !1, !0))
15649
15652
  break;
15650
15653
  if (e.line === s) {
15651
15654
  for (y = e.input.charCodeAt(e.position); Vi(y); )
15652
15655
  y = e.input.charCodeAt(++e.position);
15653
15656
  if (y === 58)
15654
- y = e.input.charCodeAt(++e.position), ir(y) || Le(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (gs(e, f, p, h, d, null, a, o, u), h = d = m = null), D = !0, g = !1, i = !1, h = e.tag, d = e.result;
15657
+ y = e.input.charCodeAt(++e.position), ir(y) || Le(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (ys(e, f, p, h, d, null, a, o, u), h = d = m = null), D = !0, g = !1, i = !1, h = e.tag, d = e.result;
15655
15658
  else if (D)
15656
15659
  Le(e, "can not read an implicit mapping pair; a colon is missed");
15657
15660
  else
@@ -15661,12 +15664,12 @@ function NR(e, t, r) {
15661
15664
  else
15662
15665
  return e.tag = l, e.anchor = c, !0;
15663
15666
  }
15664
- if ((e.line === s || e.lineIndent > t) && (g && (a = e.line, o = e.lineStart, u = e.position), Rs(e, t, rl, !0, i) && (g ? d = e.result : m = e.result), g || (gs(e, f, p, h, d, m, a, o, u), h = d = m = null), It(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === s || e.lineIndent > t) && y !== 0)
15667
+ if ((e.line === s || e.lineIndent > t) && (g && (a = e.line, o = e.lineStart, u = e.position), Ls(e, t, rl, !0, i) && (g ? d = e.result : m = e.result), g || (ys(e, f, p, h, d, m, a, o, u), h = d = m = null), It(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === s || e.lineIndent > t) && y !== 0)
15665
15668
  Le(e, "bad indentation of a mapping entry");
15666
15669
  else if (e.lineIndent < t)
15667
15670
  break;
15668
15671
  }
15669
- return g && gs(e, f, p, h, d, null, a, o, u), D && (e.tag = l, e.anchor = c, e.kind = "mapping", e.result = f), D;
15672
+ return g && ys(e, f, p, h, d, null, a, o, u), D && (e.tag = l, e.anchor = c, e.kind = "mapping", e.result = f), D;
15670
15673
  }
15671
15674
  function BR(e) {
15672
15675
  var t, r = !1, n = !1, i, s, a;
@@ -15692,18 +15695,18 @@ function BR(e) {
15692
15695
  function kR(e) {
15693
15696
  var t, r;
15694
15697
  if (r = e.input.charCodeAt(e.position), r !== 38) return !1;
15695
- for (e.anchor !== null && Le(e, "duplication of an anchor property"), r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ir(r) && !ys(r); )
15698
+ for (e.anchor !== null && Le(e, "duplication of an anchor property"), r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ir(r) && !ms(r); )
15696
15699
  r = e.input.charCodeAt(++e.position);
15697
15700
  return e.position === t && Le(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
15698
15701
  }
15699
15702
  function LR(e) {
15700
15703
  var t, r, n;
15701
15704
  if (n = e.input.charCodeAt(e.position), n !== 42) return !1;
15702
- for (n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ir(n) && !ys(n); )
15705
+ for (n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ir(n) && !ms(n); )
15703
15706
  n = e.input.charCodeAt(++e.position);
15704
15707
  return e.position === t && Le(e, "name of an alias node must contain at least one character"), r = e.input.slice(t, e.position), ei.call(e.anchorMap, r) || Le(e, 'unidentified alias "' + r + '"'), e.result = e.anchorMap[r], It(e, !0, -1), !0;
15705
15708
  }
15706
- function Rs(e, t, r, n, i) {
15709
+ function Ls(e, t, r, n, i) {
15707
15710
  var s, a, o, u = 1, l = !1, c = !1, f, p, h, d, m, g;
15708
15711
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = a = o = rl === r || IS === r, n && It(e, !0, -1) && (l = !0, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)), u === 1)
15709
15712
  for (; BR(e) || kR(e); )
@@ -15750,7 +15753,7 @@ function RR(e) {
15750
15753
  }
15751
15754
  a !== 0 && fd(e), ei.call(u0, n) ? u0[n](e, n, i) : nl(e, 'unknown document directive "' + n + '"');
15752
15755
  }
15753
- if (It(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, It(e, !0, -1)) : s && Le(e, "directives end mark is expected"), Rs(e, e.lineIndent - 1, rl, !1, !0), It(e, !0, -1), e.checkLineBreaks && SR.test(e.input.slice(t, e.position)) && nl(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ll(e)) {
15756
+ if (It(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, It(e, !0, -1)) : s && Le(e, "directives end mark is expected"), Ls(e, e.lineIndent - 1, rl, !1, !0), It(e, !0, -1), e.checkLineBreaks && SR.test(e.input.slice(t, e.position)) && nl(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ll(e)) {
15754
15757
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, It(e, !0, -1));
15755
15758
  return;
15756
15759
  }
@@ -16544,7 +16547,7 @@ function oM(e, t, r) {
16544
16547
  async function uM(e) {
16545
16548
  bS(e) && (e = new URL(e));
16546
16549
  try {
16547
- return await _s.readFile(e, "utf8");
16550
+ return await Ps.readFile(e, "utf8");
16548
16551
  } catch (t) {
16549
16552
  if (t.code === "ENOENT")
16550
16553
  return;
@@ -16885,14 +16888,14 @@ function TM(e) {
16885
16888
  let t = Gf(e, { colors: !1 });
16886
16889
  return t.length > 28 && (t = `${t.slice(0, 25)}...`), `type ${typeof e} (${t})`;
16887
16890
  }
16888
- var ta = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: AM } = Vt, y0 = /* @__PURE__ */ new Map();
16891
+ var ea = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: AM } = Vt, y0 = /* @__PURE__ */ new Map();
16889
16892
  function KS(e, { base: t, specifier: r }) {
16890
16893
  const n = y0.get(e);
16891
16894
  if (n)
16892
16895
  return n;
16893
16896
  let i;
16894
16897
  try {
16895
- i = Ps.readFileSync(Oe.toNamespacedPath(e), "utf8");
16898
+ i = Cs.readFileSync(Oe.toNamespacedPath(e), "utf8");
16896
16899
  } catch (a) {
16897
16900
  const o = (
16898
16901
  /** @type {ErrnoException} */
@@ -16926,7 +16929,7 @@ function KS(e, { base: t, specifier: r }) {
16926
16929
  );
16927
16930
  throw l.cause = u, l;
16928
16931
  }
16929
- s.exists = !0, ta.call(a, "name") && typeof a.name == "string" && (s.name = a.name), ta.call(a, "main") && typeof a.main == "string" && (s.main = a.main), ta.call(a, "exports") && (s.exports = a.exports), ta.call(a, "imports") && (s.imports = a.imports), ta.call(a, "type") && (a.type === "commonjs" || a.type === "module") && (s.type = a.type);
16932
+ s.exists = !0, ea.call(a, "name") && typeof a.name == "string" && (s.name = a.name), ea.call(a, "main") && typeof a.main == "string" && (s.main = a.main), ea.call(a, "exports") && (s.exports = a.exports), ea.call(a, "imports") && (s.imports = a.imports), ea.call(a, "type") && (a.type === "commonjs" || a.type === "module") && (s.type = a.type);
16930
16933
  }
16931
16934
  return y0.set(e, s), s;
16932
16935
  }
@@ -17265,7 +17268,7 @@ function XM(e) {
17265
17268
  const t = Number(e);
17266
17269
  return `${t}` !== e ? !1 : t >= 0 && t < 4294967295;
17267
17270
  }
17268
- function Ms(e, t, r, n, i, s, a, o, u) {
17271
+ function Rs(e, t, r, n, i, s, a, o, u) {
17269
17272
  if (typeof t == "string")
17270
17273
  return YM(
17271
17274
  t,
@@ -17286,7 +17289,7 @@ function Ms(e, t, r, n, i, s, a, o, u) {
17286
17289
  const p = l[f];
17287
17290
  let h;
17288
17291
  try {
17289
- h = Ms(
17292
+ h = Rs(
17290
17293
  e,
17291
17294
  p,
17292
17295
  r,
@@ -17335,7 +17338,7 @@ function Ms(e, t, r, n, i, s, a, o, u) {
17335
17338
  const p = (
17336
17339
  /** @type {unknown} */
17337
17340
  t[f]
17338
- ), h = Ms(
17341
+ ), h = Rs(
17339
17342
  e,
17340
17343
  p,
17341
17344
  r,
@@ -17393,7 +17396,7 @@ function zM(e, t, r) {
17393
17396
  function P0(e, t, r, n, i) {
17394
17397
  let s = r.exports;
17395
17398
  if (JM(s, e, n) && (s = { ".": s }), XS.call(s, t) && !t.includes("*") && !t.endsWith("/")) {
17396
- const c = s[t], f = Ms(
17399
+ const c = s[t], f = Rs(
17397
17400
  e,
17398
17401
  c,
17399
17402
  "",
@@ -17430,7 +17433,7 @@ function P0(e, t, r, n, i) {
17430
17433
  const c = (
17431
17434
  /** @type {unknown} */
17432
17435
  s[a]
17433
- ), f = Ms(
17436
+ ), f = Rs(
17434
17437
  e,
17435
17438
  c,
17436
17439
  o,
@@ -17463,7 +17466,7 @@ function QM(e, t, r) {
17463
17466
  const s = i.imports;
17464
17467
  if (s)
17465
17468
  if (XS.call(s, e) && !e.includes("*")) {
17466
- const a = Ms(
17469
+ const a = Rs(
17467
17470
  n,
17468
17471
  s[e],
17469
17472
  "",
@@ -17491,7 +17494,7 @@ function QM(e, t, r) {
17491
17494
  }
17492
17495
  }
17493
17496
  if (a) {
17494
- const c = s[a], f = Ms(
17497
+ const c = s[a], f = Rs(
17495
17498
  n,
17496
17499
  c,
17497
17500
  o,
@@ -17756,7 +17759,7 @@ async function b6(e, t) {
17756
17759
  }
17757
17760
  async function tv(e, t) {
17758
17761
  t = { useCache: !0, ...t };
17759
- const r = Ks(e), [n, i] = await Promise.all([
17762
+ const r = qs(e), [n, i] = await Promise.all([
17760
17763
  b6(r, t),
17761
17764
  E6(r, t)
17762
17765
  ]);
@@ -17771,7 +17774,7 @@ async function tv(e, t) {
17771
17774
  )), s;
17772
17775
  }
17773
17776
  async function S6(e) {
17774
- const t = e ? Oe.dirname(Oe.resolve(Ks(e))) : void 0;
17777
+ const t = e ? Oe.dirname(Oe.resolve(qs(e))) : void 0;
17775
17778
  return await ev(t, { shouldCache: !1 }) ?? null;
17776
17779
  }
17777
17780
  function v6(e, t) {
@@ -17813,7 +17816,7 @@ var A6 = (e, t, r, n) => {
17813
17816
  "/"
17814
17817
  ) : (e) => e;
17815
17818
  function x6(e, t) {
17816
- const r = Ks(t), n = SS(e) ? FP.fileURLToPath(e) : Oe.resolve(e);
17819
+ const r = qs(t), n = SS(e) ? FP.fileURLToPath(e) : Oe.resolve(e);
17817
17820
  return Oe.relative(
17818
17821
  // If there's an ignore-path set, the filename must be relative to the
17819
17822
  // ignore path, not the current working directory.
@@ -17847,7 +17850,7 @@ var I6 = Fn(KB());
17847
17850
  function O6(e) {
17848
17851
  let t;
17849
17852
  try {
17850
- t = Ps.openSync(e, "r");
17853
+ t = Cs.openSync(e, "r");
17851
17854
  } catch {
17852
17855
  return;
17853
17856
  }
@@ -17860,7 +17863,7 @@ function O6(e) {
17860
17863
  return s[1];
17861
17864
  } finally {
17862
17865
  try {
17863
- Ps.closeSync(t);
17866
+ Cs.closeSync(t);
17864
17867
  } catch {
17865
17868
  }
17866
17869
  }
@@ -18014,7 +18017,7 @@ var K6 = class extends Error {
18014
18017
  Ut(this, "name", "InvalidDocError");
18015
18018
  this.doc = t;
18016
18019
  }
18017
- }, js = K6, x0 = {};
18020
+ }, Ms = K6, x0 = {};
18018
18021
  function W6(e, t, r, n) {
18019
18022
  const i = [e];
18020
18023
  for (; i.length > 0; ) {
@@ -18026,7 +18029,7 @@ function W6(e, t, r, n) {
18026
18029
  r && i.push(s, x0);
18027
18030
  const a = Qi(s);
18028
18031
  if (!a)
18029
- throw new js(s);
18032
+ throw new Ms(s);
18030
18033
  if ((t == null ? void 0 : t(s)) !== !1)
18031
18034
  switch (a) {
18032
18035
  case xn:
@@ -18061,7 +18064,7 @@ function W6(e, t, r, n) {
18061
18064
  case $r:
18062
18065
  break;
18063
18066
  default:
18064
- throw new js(s);
18067
+ throw new Ms(s);
18065
18068
  }
18066
18069
  }
18067
18070
  }
@@ -18078,7 +18081,7 @@ function Y6(e) {
18078
18081
  function w0(e) {
18079
18082
  return { type: On, contents: e };
18080
18083
  }
18081
- var ov = { type: $r }, uv = { type: Cr, hard: !0 }, X6 = { type: Cr }, vs = [uv, ov], I0 = { type: zi };
18084
+ var ov = { type: $r }, uv = { type: Cr, hard: !0 }, X6 = { type: Cr }, Ss = [uv, ov], I0 = { type: zi };
18082
18085
  function J6(e, t, r) {
18083
18086
  let n = e;
18084
18087
  if (t > 0) {
@@ -18252,7 +18255,7 @@ function s8(e, t) {
18252
18255
  case $r:
18253
18256
  return t(s);
18254
18257
  default:
18255
- throw new js(s);
18258
+ throw new Ms(s);
18256
18259
  }
18257
18260
  }
18258
18261
  }
@@ -18348,7 +18351,7 @@ function La(e) {
18348
18351
  case $r:
18349
18352
  break;
18350
18353
  default:
18351
- throw new js(e);
18354
+ throw new Ms(e);
18352
18355
  }
18353
18356
  return e;
18354
18357
  }
@@ -18402,7 +18405,7 @@ function u8(e) {
18402
18405
  case $r:
18403
18406
  break;
18404
18407
  default:
18405
- throw new js(e);
18408
+ throw new Ms(e);
18406
18409
  }
18407
18410
  return e;
18408
18411
  }
@@ -18828,7 +18831,7 @@ function Ed(e, t) {
18828
18831
  case $r:
18829
18832
  break;
18830
18833
  default:
18831
- throw new js(d);
18834
+ throw new Ms(d);
18832
18835
  }
18833
18836
  a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
18834
18837
  }
@@ -18946,7 +18949,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
18946
18949
  }
18947
18950
  /** @type {object[]} */
18948
18951
  get ancestors() {
18949
- return [...hs(this, Ii, Fu).call(this)];
18952
+ return [...ps(this, Ii, Fu).call(this)];
18950
18953
  }
18951
18954
  // The name of the current property is always the penultimate element of
18952
18955
  // this.stack, and always a string/number/symbol.
@@ -18974,7 +18977,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
18974
18977
  );
18975
18978
  }
18976
18979
  getNode(e = 0) {
18977
- const t = hs(this, Ii, Mp).call(this, e);
18980
+ const t = ps(this, Ii, Mp).call(this, e);
18978
18981
  return t === -1 ? null : this.stack[t];
18979
18982
  }
18980
18983
  getParentNode(e = 0) {
@@ -19012,7 +19015,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
19012
19015
  * @returns {ReturnType<T>}
19013
19016
  */
19014
19017
  callParent(e, t = 0) {
19015
- const r = hs(this, Ii, Mp).call(this, t + 1), n = this.stack.splice(r + 1);
19018
+ const r = ps(this, Ii, Mp).call(this, t + 1), n = this.stack.splice(r + 1);
19016
19019
  try {
19017
19020
  return e(this);
19018
19021
  } finally {
@@ -19079,7 +19082,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
19079
19082
  * @internal Unstable API. Don't use in plugins for now.
19080
19083
  */
19081
19084
  findAncestor(e) {
19082
- for (const t of hs(this, Ii, Fu).call(this))
19085
+ for (const t of ps(this, Ii, Fu).call(this))
19083
19086
  if (e(t))
19084
19087
  return t;
19085
19088
  }
@@ -19092,7 +19095,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
19092
19095
  * @internal Unstable API. Don't use in plugins for now.
19093
19096
  */
19094
19097
  hasAncestor(e) {
19095
- for (const t of hs(this, Ii, Fu).call(this))
19098
+ for (const t of ps(this, Ii, Fu).call(this))
19096
19099
  if (e(t))
19097
19100
  return !0;
19098
19101
  return !1;
@@ -19217,13 +19220,13 @@ function A8(e) {
19217
19220
  function Sd(e, t) {
19218
19221
  (e.comments ?? (e.comments = [])).push(t), t.printed = !1, t.nodeDescription = A8(e);
19219
19222
  }
19220
- function Ds(e, t) {
19223
+ function gs(e, t) {
19221
19224
  t.leading = !0, t.trailing = !1, Sd(e, t);
19222
19225
  }
19223
19226
  function Oi(e, t, r) {
19224
19227
  t.leading = !1, t.trailing = !1, r && (t.marker = r), Sd(e, t);
19225
19228
  }
19226
- function Es(e, t) {
19229
+ function Ds(e, t) {
19227
19230
  t.leading = !1, t.trailing = !0, Sd(e, t);
19228
19231
  }
19229
19232
  var lf = /* @__PURE__ */ new WeakMap();
@@ -19320,23 +19323,23 @@ function C8(e, t) {
19320
19323
  } = d;
19321
19324
  if (N.parser === "json" || N.parser === "json5" || N.parser === "jsonc" || N.parser === "__js_expression" || N.parser === "__ts_expression" || N.parser === "__vue_expression" || N.parser === "__vue_ts_expression") {
19322
19325
  if (i(m) - i(A) <= 0) {
19323
- Ds(A, m);
19326
+ gs(A, m);
19324
19327
  continue;
19325
19328
  }
19326
19329
  if (s(m) - s(A) >= 0) {
19327
- Es(A, m);
19330
+ Ds(A, m);
19328
19331
  continue;
19329
19332
  }
19330
19333
  }
19331
19334
  let w;
19332
19335
  if (a ? w = [d] : (m.enclosingNode = D, m.precedingNode = g, m.followingNode = y, w = [m, E, N, A, R]), P8(E, N, p, h))
19333
- m.placement = "ownLine", l(...w) || (y ? Ds(y, m) : g ? Es(g, m) : Oi(D || A, m));
19336
+ m.placement = "ownLine", l(...w) || (y ? gs(y, m) : g ? Ds(g, m) : Oi(D || A, m));
19334
19337
  else if (_8(E, N, p, h))
19335
- m.placement = "endOfLine", c(...w) || (g ? Es(g, m) : y ? Ds(y, m) : Oi(D || A, m));
19338
+ m.placement = "endOfLine", c(...w) || (g ? Ds(g, m) : y ? gs(y, m) : Oi(D || A, m));
19336
19339
  else if (m.placement = "remaining", !f(...w)) if (g && y) {
19337
19340
  const x = n.length;
19338
19341
  x > 0 && n[x - 1].followingNode !== y && B0(n, N), n.push(d);
19339
- } else g ? Es(g, m) : y ? Ds(y, m) : Oi(D || A, m);
19342
+ } else g ? Ds(g, m) : y ? gs(y, m) : Oi(D || A, m);
19340
19343
  }
19341
19344
  if (B0(n, t), !a)
19342
19345
  for (const h of r)
@@ -19388,7 +19391,7 @@ function B0(e, t) {
19388
19391
  break;
19389
19392
  }
19390
19393
  for (const [l, { comment: c }] of e.entries())
19391
- l < u ? Es(s, c) : Ds(a, c);
19394
+ l < u ? Ds(s, c) : gs(a, c);
19392
19395
  for (const l of [s, a])
19393
19396
  l.comments && l.comments.length > 1 && l.comments.sort((c, f) => t.locStart(c) - t.locStart(f));
19394
19397
  e.length = 0;
@@ -19417,15 +19420,15 @@ function F8(e, t) {
19417
19420
  if ((r = s.isBlockComment) == null ? void 0 : r.call(s, n)) {
19418
19421
  const f = zn(a, u(n)) ? zn(a, o(n), {
19419
19422
  backwards: !0
19420
- }) ? vs : X6 : " ";
19423
+ }) ? Ss : X6 : " ";
19421
19424
  i.push(f);
19422
19425
  } else
19423
- i.push(vs);
19426
+ i.push(Ss);
19424
19427
  const c = Ki(
19425
19428
  a,
19426
19429
  ri(a, u(n))
19427
19430
  );
19428
- return c !== !1 && zn(a, c) && i.push(vs), i;
19431
+ return c !== !1 && zn(a, c) && i.push(Ss), i;
19429
19432
  }
19430
19433
  function w8(e, t, r) {
19431
19434
  var n;
@@ -19436,7 +19439,7 @@ function w8(e, t, r) {
19436
19439
  u(i)
19437
19440
  );
19438
19441
  return {
19439
- doc: w0([vs, c ? vs : "", s]),
19442
+ doc: w0([Ss, c ? Ss : "", s]),
19440
19443
  isBlock: l,
19441
19444
  hasLineSuffix: !0
19442
19445
  };
@@ -20022,7 +20025,7 @@ async function q8(e, t = {}) {
20022
20025
  ...t
20023
20026
  });
20024
20027
  }
20025
- var Ws = q8, K8 = Fn(lS());
20028
+ var Ks = q8, K8 = Fn(lS());
20026
20029
  async function W8(e, t) {
20027
20030
  const r = await Tv(t), n = r.preprocess ? r.preprocess(e, t) : e;
20028
20031
  t.originalText = n;
@@ -20104,7 +20107,7 @@ async function Y8(e, t, r, n, i) {
20104
20107
  }
20105
20108
  }
20106
20109
  async function X8(e, t, r, n) {
20107
- const i = await Ws(
20110
+ const i = await Ks(
20108
20111
  {
20109
20112
  ...r,
20110
20113
  ...t,
@@ -20360,7 +20363,7 @@ async function xv(e, t, r = 0) {
20360
20363
  } = await io(e, t);
20361
20364
  t.cursorOffset >= 0 && (t.cursorNode = Z8(n, t));
20362
20365
  let s = await jl(n, t);
20363
- r > 0 && (s = J6([vs, s], r, t.tabWidth));
20366
+ r > 0 && (s = J6([Ss, s], r, t.tabWidth));
20364
20367
  const a = Ed(s, t);
20365
20368
  if (r > 0) {
20366
20369
  const u = a.formatted.trim();
@@ -20488,7 +20491,7 @@ async function wv(e, t) {
20488
20491
  hasBOM: r,
20489
20492
  text: n,
20490
20493
  options: i
20491
- } = Fv(e, await Ws(t));
20494
+ } = Fv(e, await Ks(t));
20492
20495
  if (i.rangeStart >= i.rangeEnd && n !== "" || i.requirePragma && !await $0(n, i))
20493
20496
  return {
20494
20497
  formatted: e,
@@ -20502,11 +20505,11 @@ async function f9(e, t, r) {
20502
20505
  const {
20503
20506
  text: n,
20504
20507
  options: i
20505
- } = Fv(e, await Ws(t)), s = await io(n, i);
20508
+ } = Fv(e, await Ks(t)), s = await io(n, i);
20506
20509
  return r && (r.preprocessForPrint && (s.ast = await Cv(s.ast, i)), r.massage && (s.ast = t9(s.ast, i))), s;
20507
20510
  }
20508
20511
  async function p9(e, t) {
20509
- t = await Ws(t);
20512
+ t = await Ks(t);
20510
20513
  const r = await jl(e, t);
20511
20514
  return Ed(r, t);
20512
20515
  }
@@ -20520,17 +20523,17 @@ async function h9(e, t) {
20520
20523
  return n;
20521
20524
  }
20522
20525
  async function d9(e, t) {
20523
- t = await Ws(t);
20526
+ t = await Ks(t);
20524
20527
  const {
20525
20528
  ast: r
20526
20529
  } = await io(e, t);
20527
20530
  return jl(r, t);
20528
20531
  }
20529
20532
  async function m9(e, t) {
20530
- return Ed(e, await Ws(t));
20533
+ return Ed(e, await Ks(t));
20531
20534
  }
20532
20535
  var Iv = {};
20533
- Hs(Iv, {
20536
+ Vs(Iv, {
20534
20537
  CATEGORY_CONFIG: () => y9,
20535
20538
  CATEGORY_EDITOR: () => g9,
20536
20539
  CATEGORY_FORMAT: () => D9,
@@ -20540,7 +20543,7 @@ Hs(Iv, {
20540
20543
  CATEGORY_SPECIAL: () => v9
20541
20544
  });
20542
20545
  var y9 = "Config", g9 = "Editor", D9 = "Format", E9 = "Other", b9 = "Output", S9 = "Global", v9 = "Special", Ov = {};
20543
- Hs(Ov, {
20546
+ Vs(Ov, {
20544
20547
  languages: () => K9,
20545
20548
  options: () => q9,
20546
20549
  parsers: () => W9,
@@ -21529,10 +21532,10 @@ function i4(e, t) {
21529
21532
  );
21530
21533
  }
21531
21534
  var s4 = i4, a4 = "3.3.3", Nv = {};
21532
- Hs(Nv, {
21535
+ Vs(Nv, {
21533
21536
  addDanglingComment: () => Oi,
21534
- addLeadingComment: () => Ds,
21535
- addTrailingComment: () => Es,
21537
+ addLeadingComment: () => gs,
21538
+ addTrailingComment: () => Ds,
21536
21539
  getAlignmentSize: () => bd,
21537
21540
  getIndentSize: () => p4,
21538
21541
  getMaxContinuousCount: () => m4,
@@ -21728,8 +21731,8 @@ var O4 = Kn(j6), N4 = Kn(Ad, 0), B4 = {
21728
21731
  printToDoc: Kn(d9),
21729
21732
  printDocToString: Kn(m9),
21730
21733
  mockable: ld
21731
- }, L4 = cS, Gs = {};
21732
- Object.defineProperty(Gs, "__esModule", {
21734
+ }, L4 = cS, Ws = {};
21735
+ Object.defineProperty(Ws, "__esModule", {
21733
21736
  value: !0
21734
21737
  });
21735
21738
  function R4(e, t) {
@@ -22119,13 +22122,13 @@ const te = Object.assign({}, An(M4), An(j4), An($4), An`pipelineOperator`(V4)),
22119
22122
  value: e[t]
22120
22123
  });
22121
22124
  };
22122
- function ra(e) {
22125
+ function ta(e) {
22123
22126
  return K0(e.loc.start, "index"), K0(e.loc.end, "index"), e;
22124
22127
  }
22125
22128
  var W4 = (e) => class extends e {
22126
22129
  parse() {
22127
- const r = ra(super.parse());
22128
- return this.options.tokens && (r.tokens = r.tokens.map(ra)), r;
22130
+ const r = ta(super.parse());
22131
+ return this.options.tokens && (r.tokens = r.tokens.map(ta)), r;
22129
22132
  }
22130
22133
  parseRegExpLiteral({
22131
22134
  pattern: r,
@@ -22318,13 +22321,13 @@ var W4 = (e) => class extends e {
22318
22321
  return r.type === "Property" && (r.method || r.kind === "get" || r.kind === "set");
22319
22322
  }
22320
22323
  finishNodeAt(r, n, i) {
22321
- return ra(super.finishNodeAt(r, n, i));
22324
+ return ta(super.finishNodeAt(r, n, i));
22322
22325
  }
22323
22326
  resetStartLocation(r, n) {
22324
- super.resetStartLocation(r, n), ra(r);
22327
+ super.resetStartLocation(r, n), ta(r);
22325
22328
  }
22326
22329
  resetEndLocation(r, n = this.state.lastTokEndLoc) {
22327
- super.resetEndLocation(r, n), ra(r);
22330
+ super.resetEndLocation(r, n), ta(r);
22328
22331
  }
22329
22332
  };
22330
22333
  class Ea {
@@ -22339,7 +22342,7 @@ const ft = {
22339
22342
  j_expr: new Ea("<tag>...</tag>", !0)
22340
22343
  };
22341
22344
  ft.template = new Ea("`", !0);
22342
- const ze = !0, Te = !0, df = !0, na = !0, Mn = !0, G4 = !0;
22345
+ const ze = !0, Te = !0, df = !0, ra = !0, Mn = !0, G4 = !0;
22343
22346
  class Lv {
22344
22347
  constructor(t, r = {}) {
22345
22348
  this.label = void 0, this.keyword = void 0, this.beforeExpr = void 0, this.startsExpr = void 0, this.rightAssociative = void 0, this.isLoop = void 0, this.isAssign = void 0, this.prefix = void 0, this.postfix = void 0, this.binop = void 0, this.label = t, this.keyword = r.keyword, this.beforeExpr = !!r.beforeExpr, this.startsExpr = !!r.startsExpr, this.rightAssociative = !!r.rightAssociative, this.isLoop = !!r.isLoop, this.isAssign = !!r.isAssign, this.prefix = !!r.prefix, this.postfix = !!r.postfix, this.binop = r.binop != null ? r.binop : null, this.updateContext = null;
@@ -22446,23 +22449,23 @@ const Y4 = {
22446
22449
  interpreterDirective: ke("#!..."),
22447
22450
  eq: ke("=", {
22448
22451
  beforeExpr: ze,
22449
- isAssign: na
22452
+ isAssign: ra
22450
22453
  }),
22451
22454
  assign: ke("_=", {
22452
22455
  beforeExpr: ze,
22453
- isAssign: na
22456
+ isAssign: ra
22454
22457
  }),
22455
22458
  slashAssign: ke("_=", {
22456
22459
  beforeExpr: ze,
22457
- isAssign: na
22460
+ isAssign: ra
22458
22461
  }),
22459
22462
  xorAssign: ke("_=", {
22460
22463
  beforeExpr: ze,
22461
- isAssign: na
22464
+ isAssign: ra
22462
22465
  }),
22463
22466
  moduloAssign: ke("_=", {
22464
22467
  beforeExpr: ze,
22465
- isAssign: na
22468
+ isAssign: ra
22466
22469
  }),
22467
22470
  incDec: ke("++/--", {
22468
22471
  prefix: Mn,
@@ -22846,7 +22849,7 @@ function Vp(e, t) {
22846
22849
  function vn(e) {
22847
22850
  return e < 65 ? e === 36 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && s5.test(String.fromCharCode(e)) : Vp(e, jv);
22848
22851
  }
22849
- function Ts(e) {
22852
+ function vs(e) {
22850
22853
  return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && a5.test(String.fromCharCode(e)) : Vp(e, jv) || Vp(e, o5);
22851
22854
  }
22852
22855
  const Rd = {
@@ -23048,7 +23051,7 @@ function D5(e, t) {
23048
23051
  function Ka(e, t) {
23049
23052
  e.innerComments === void 0 ? e.innerComments = t : e.innerComments.unshift(...t);
23050
23053
  }
23051
- function ia(e, t, r) {
23054
+ function na(e, t, r) {
23052
23055
  let n = null, i = t.length;
23053
23056
  for (; n === null && i > 0; )
23054
23057
  n = t[--i];
@@ -23099,11 +23102,11 @@ class E5 extends g5 {
23099
23102
  case "ObjectExpression":
23100
23103
  case "ObjectPattern":
23101
23104
  case "RecordExpression":
23102
- ia(n, n.properties, t);
23105
+ na(n, n.properties, t);
23103
23106
  break;
23104
23107
  case "CallExpression":
23105
23108
  case "OptionalCallExpression":
23106
- ia(n, n.arguments, t);
23109
+ na(n, n.arguments, t);
23107
23110
  break;
23108
23111
  case "FunctionDeclaration":
23109
23112
  case "FunctionExpression":
@@ -23111,16 +23114,16 @@ class E5 extends g5 {
23111
23114
  case "ObjectMethod":
23112
23115
  case "ClassMethod":
23113
23116
  case "ClassPrivateMethod":
23114
- ia(n, n.params, t);
23117
+ na(n, n.params, t);
23115
23118
  break;
23116
23119
  case "ArrayExpression":
23117
23120
  case "ArrayPattern":
23118
23121
  case "TupleExpression":
23119
- ia(n, n.elements, t);
23122
+ na(n, n.elements, t);
23120
23123
  break;
23121
23124
  case "ExportNamedDeclaration":
23122
23125
  case "ImportDeclaration":
23123
- ia(n, n.specifiers, t);
23126
+ na(n, n.specifiers, t);
23124
23127
  break;
23125
23128
  default:
23126
23129
  Ka(n, r);
@@ -23173,7 +23176,7 @@ class E5 extends g5 {
23173
23176
  }
23174
23177
  }
23175
23178
  const b5 = /\r\n|[\r\n\u2028\u2029]/, jo = new RegExp(b5.source, "g");
23176
- function As(e) {
23179
+ function Ts(e) {
23177
23180
  switch (e) {
23178
23181
  case 10:
23179
23182
  case 13:
@@ -23186,7 +23189,7 @@ function As(e) {
23186
23189
  }
23187
23190
  function G0(e, t, r) {
23188
23191
  for (let n = t; n < r; n++)
23189
- if (As(e.charCodeAt(n)))
23192
+ if (Ts(e.charCodeAt(n)))
23190
23193
  return !0;
23191
23194
  return !1;
23192
23195
  }
@@ -23525,7 +23528,7 @@ function Wv(e, t, r, n, i, s) {
23525
23528
  pos: t
23526
23529
  };
23527
23530
  }
23528
- function sa(e, t, r) {
23531
+ function ia(e, t, r) {
23529
23532
  return new Qn(r, e - t, e);
23530
23533
  }
23531
23534
  const C5 = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]);
@@ -23537,7 +23540,7 @@ class Vn {
23537
23540
  class P5 extends E5 {
23538
23541
  constructor(t, r) {
23539
23542
  super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = {
23540
- invalidDigit: (n, i, s, a) => this.options.errorRecovery ? (this.raise(te.InvalidDigit, sa(n, i, s), {
23543
+ invalidDigit: (n, i, s, a) => this.options.errorRecovery ? (this.raise(te.InvalidDigit, ia(n, i, s), {
23541
23544
  radix: a
23542
23545
  }), !0) : !1,
23543
23546
  numericSeparatorInEscapeSequence: this.errorBuilder(te.NumericSeparatorInEscapeSequence),
@@ -23547,15 +23550,15 @@ class P5 extends E5 {
23547
23550
  invalidCodePoint: this.errorBuilder(te.InvalidCodePoint)
23548
23551
  }), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, {
23549
23552
  strictNumericEscape: (n, i, s) => {
23550
- this.recordStrictModeErrors(te.StrictNumericEscape, sa(n, i, s));
23553
+ this.recordStrictModeErrors(te.StrictNumericEscape, ia(n, i, s));
23551
23554
  },
23552
23555
  unterminated: (n, i, s) => {
23553
- throw this.raise(te.UnterminatedString, sa(n - 1, i, s));
23556
+ throw this.raise(te.UnterminatedString, ia(n - 1, i, s));
23554
23557
  }
23555
23558
  }), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, {
23556
23559
  strictNumericEscape: this.errorBuilder(te.StrictNumericEscape),
23557
23560
  unterminated: (n, i, s) => {
23558
- throw this.raise(te.UnterminatedTemplate, sa(n, i, s));
23561
+ throw this.raise(te.UnterminatedTemplate, ia(n, i, s));
23559
23562
  }
23560
23563
  }), this.state = new $d(), this.state.init(t), this.input = r, this.length = r.length, this.comments = [], this.isLookahead = !1;
23561
23564
  }
@@ -23656,7 +23659,7 @@ class P5 extends E5 {
23656
23659
  this.isLookahead || (n = this.state.curPosition());
23657
23660
  let i = this.input.charCodeAt(this.state.pos += t);
23658
23661
  if (this.state.pos < this.length)
23659
- for (; !As(i) && ++this.state.pos < this.length; )
23662
+ for (; !Ts(i) && ++this.state.pos < this.length; )
23660
23663
  i = this.input.charCodeAt(this.state.pos);
23661
23664
  if (this.isLookahead) return;
23662
23665
  const s = this.state.pos, o = {
@@ -23770,7 +23773,7 @@ class P5 extends E5 {
23770
23773
  let t = this.input.charCodeAt(this.state.pos + 1);
23771
23774
  if (t !== 33) return !1;
23772
23775
  const r = this.state.pos;
23773
- for (this.state.pos += 1; !As(t) && ++this.state.pos < this.length; )
23776
+ for (this.state.pos += 1; !Ts(t) && ++this.state.pos < this.length; )
23774
23777
  t = this.input.charCodeAt(this.state.pos);
23775
23778
  const n = this.input.slice(r + 2, this.state.pos);
23776
23779
  return this.finishToken(28, n), !0;
@@ -24024,7 +24027,7 @@ class P5 extends E5 {
24024
24027
  if (s >= this.length)
24025
24028
  throw this.raise(te.UnterminatedRegExp, Zt(t, 1));
24026
24029
  const l = this.input.charCodeAt(s);
24027
- if (As(l))
24030
+ if (Ts(l))
24028
24031
  throw this.raise(te.UnterminatedRegExp, Zt(t, 1));
24029
24032
  if (n)
24030
24033
  n = !1;
@@ -24046,7 +24049,7 @@ class P5 extends E5 {
24046
24049
  const l = this.codePointAtPos(s), c = String.fromCharCode(l);
24047
24050
  if (C5.has(l))
24048
24051
  l === 118 ? o.includes("u") && this.raise(te.IncompatibleRegExpUVFlags, u()) : l === 117 && o.includes("v") && this.raise(te.IncompatibleRegExpUVFlags, u()), o.includes(c) && this.raise(te.DuplicateRegExpFlags, u());
24049
- else if (Ts(l) || l === 92)
24052
+ else if (vs(l) || l === 92)
24050
24053
  this.raise(te.MalformedRegExpFlags, u());
24051
24054
  else
24052
24055
  break;
@@ -24154,11 +24157,11 @@ class P5 extends E5 {
24154
24157
  let i = this.state.pos;
24155
24158
  for (t !== void 0 && (this.state.pos += t <= 65535 ? 1 : 2); this.state.pos < this.length; ) {
24156
24159
  const s = this.codePointAtPos(this.state.pos);
24157
- if (Ts(s))
24160
+ if (vs(s))
24158
24161
  this.state.pos += s <= 65535 ? 1 : 2;
24159
24162
  else if (s === 92) {
24160
24163
  this.state.containsEsc = !0, r += this.input.slice(i, this.state.pos);
24161
- const a = this.state.curPosition(), o = this.state.pos === n ? vn : Ts;
24164
+ const a = this.state.curPosition(), o = this.state.pos === n ? vn : vs;
24162
24165
  if (this.input.charCodeAt(++this.state.pos) !== 117) {
24163
24166
  this.raise(te.MissingUnicodeEscape, this.state.curPosition()), i = this.state.pos - 1;
24164
24167
  continue;
@@ -24220,7 +24223,7 @@ class P5 extends E5 {
24220
24223
  }
24221
24224
  errorBuilder(t) {
24222
24225
  return (r, n, i) => {
24223
- this.raise(t, sa(r, n, i));
24226
+ this.raise(t, ia(r, n, i));
24224
24227
  };
24225
24228
  }
24226
24229
  }
@@ -24413,7 +24416,7 @@ class B5 extends P5 {
24413
24416
  const n = t + r.length;
24414
24417
  if (this.input.slice(t, n) === r) {
24415
24418
  const i = this.input.charCodeAt(n);
24416
- return !(Ts(i) || (i & 64512) === 55296);
24419
+ return !(vs(i) || (i & 64512) === 55296);
24417
24420
  }
24418
24421
  return !1;
24419
24422
  }
@@ -26267,13 +26270,13 @@ const q5 = {
26267
26270
  function jn(e) {
26268
26271
  return e ? e.type === "JSXOpeningFragment" || e.type === "JSXClosingFragment" : !1;
26269
26272
  }
26270
- function bs(e) {
26273
+ function Es(e) {
26271
26274
  if (e.type === "JSXIdentifier")
26272
26275
  return e.name;
26273
26276
  if (e.type === "JSXNamespacedName")
26274
26277
  return e.namespace.name + ":" + e.name.name;
26275
26278
  if (e.type === "JSXMemberExpression")
26276
- return bs(e.object) + "." + bs(e.property);
26279
+ return Es(e.object) + "." + Es(e.property);
26277
26280
  throw new Error("Node had unexpected type: " + e.type);
26278
26281
  }
26279
26282
  var K5 = (e) => class extends e {
@@ -26298,7 +26301,7 @@ var K5 = (e) => class extends e {
26298
26301
  case 62:
26299
26302
  case 125:
26300
26303
  default:
26301
- As(i) ? (r += this.input.slice(n, this.state.pos), r += this.jsxReadNewLine(!0), n = this.state.pos) : ++this.state.pos;
26304
+ Ts(i) ? (r += this.input.slice(n, this.state.pos), r += this.jsxReadNewLine(!0), n = this.state.pos) : ++this.state.pos;
26302
26305
  }
26303
26306
  }
26304
26307
  }
@@ -26316,7 +26319,7 @@ var K5 = (e) => class extends e {
26316
26319
  throw this.raise(te.UnterminatedString, this.state.startLoc);
26317
26320
  const s = this.input.charCodeAt(this.state.pos);
26318
26321
  if (s === r) break;
26319
- s === 38 ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadEntity(), i = this.state.pos) : As(s) ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadNewLine(!1), i = this.state.pos) : ++this.state.pos;
26322
+ s === 38 ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadEntity(), i = this.state.pos) : Ts(s) ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadNewLine(!1), i = this.state.pos) : ++this.state.pos;
26320
26323
  }
26321
26324
  n += this.input.slice(i, this.state.pos++), this.finishToken(133, n);
26322
26325
  }
@@ -26346,7 +26349,7 @@ var K5 = (e) => class extends e {
26346
26349
  const n = this.state.pos;
26347
26350
  do
26348
26351
  r = this.input.charCodeAt(++this.state.pos);
26349
- while (Ts(r) || r === 45);
26352
+ while (vs(r) || r === 45);
26350
26353
  this.finishToken(140, this.input.slice(n, this.state.pos));
26351
26354
  }
26352
26355
  jsxParseIdentifier() {
@@ -26441,9 +26444,9 @@ var K5 = (e) => class extends e {
26441
26444
  this.unexpected();
26442
26445
  }
26443
26446
  jn(s) && !jn(a) && a !== null ? this.raise(Fi.MissingClosingTagFragment, a) : !jn(s) && jn(a) ? this.raise(Fi.MissingClosingTagElement, a, {
26444
- openingTagName: bs(s.name)
26445
- }) : !jn(s) && !jn(a) && bs(a.name) !== bs(s.name) && this.raise(Fi.MissingClosingTagElement, a, {
26446
- openingTagName: bs(s.name)
26447
+ openingTagName: Es(s.name)
26448
+ }) : !jn(s) && !jn(a) && Es(a.name) !== Es(s.name) && this.raise(Fi.MissingClosingTagElement, a, {
26449
+ openingTagName: Es(s.name)
26447
26450
  });
26448
26451
  }
26449
26452
  if (jn(s) ? (n.openingFragment = s, n.closingFragment = a) : (n.openingElement = s, n.closingElement = a), n.children = i, this.match(47))
@@ -29791,7 +29794,7 @@ class fj extends oj {
29791
29794
  if (vn(t)) {
29792
29795
  if (Ef.lastIndex = r, Ef.test(this.input)) {
29793
29796
  const n = this.codePointAtPos(Ef.lastIndex);
29794
- if (!Ts(n) && n !== 92)
29797
+ if (!vs(n) && n !== 92)
29795
29798
  return !1;
29796
29799
  }
29797
29800
  return !0;
@@ -30800,10 +30803,10 @@ function yj(e) {
30800
30803
  }
30801
30804
  return n;
30802
30805
  }
30803
- var gj = Gs.parse = pj;
30804
- Gs.parseExpression = hj;
30805
- Gs.tokTypes = mj;
30806
- var bf = {}, mt = {}, Uo = {}, aa = {}, Or = {}, Qe = {};
30806
+ var gj = Ws.parse = pj;
30807
+ Ws.parseExpression = hj;
30808
+ Ws.tokTypes = mj;
30809
+ var bf = {}, mt = {}, Uo = {}, sa = {}, Or = {}, Qe = {};
30807
30810
  Object.defineProperty(Qe, "__esModule", {
30808
30811
  value: !0
30809
30812
  });
@@ -31147,7 +31150,7 @@ var Af, og;
31147
31150
  function Sj() {
31148
31151
  if (og) return Af;
31149
31152
  og = 1;
31150
- const e = $s, t = Ua, r = bj(), { env: n } = process;
31153
+ const e = js, t = Ua, r = bj(), { env: n } = process;
31151
31154
  let i;
31152
31155
  r("no-color") || r("no-colors") || r("color=false") || r("color=never") ? i = 0 : (r("color") || r("colors") || r("color=true") || r("color=always")) && (i = 1);
31153
31156
  function s() {
@@ -31352,7 +31355,7 @@ function vj() {
31352
31355
  }(Ho, Ho.exports)), Ho.exports;
31353
31356
  }
31354
31357
  typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? qp.exports = Ej() : qp.exports = vj();
31355
- var Tj = qp.exports, oa = {}, ua = {}, Cf = {}, Ul = {}, Vl = {}, Hl = {}, j = {}, so = {};
31358
+ var Tj = qp.exports, aa = {}, oa = {}, Cf = {}, Ul = {}, Vl = {}, Hl = {}, j = {}, so = {};
31356
31359
  Object.defineProperty(so, "__esModule", {
31357
31360
  value: !0
31358
31361
  });
@@ -31364,11 +31367,11 @@ function Aj(e, t) {
31364
31367
  return !1;
31365
31368
  return !0;
31366
31369
  }
31367
- var Ys = {};
31368
- Object.defineProperty(Ys, "__esModule", {
31370
+ var Gs = {};
31371
+ Object.defineProperty(Gs, "__esModule", {
31369
31372
  value: !0
31370
31373
  });
31371
- Ys.default = Cj;
31374
+ Gs.default = Cj;
31372
31375
  const lg = /* @__PURE__ */ new Set();
31373
31376
  function Cj(e, t, r = "") {
31374
31377
  if (lg.has(e)) return;
@@ -31706,7 +31709,7 @@ j.isWhile = DH;
31706
31709
  j.isWhileStatement = v7;
31707
31710
  j.isWithStatement = T7;
31708
31711
  j.isYieldExpression = Y7;
31709
- var K = so, ao = Ys;
31712
+ var K = so, ao = Gs;
31710
31713
  function _j(e, t) {
31711
31714
  return !e || e.type !== "ArrayExpression" ? !1 : t == null || (0, K.default)(e, t);
31712
31715
  }
@@ -33637,22 +33640,22 @@ Object.defineProperty(Hl, "__esModule", {
33637
33640
  value: !0
33638
33641
  });
33639
33642
  Hl.default = aq;
33640
- var la = j;
33643
+ var ua = j;
33641
33644
  function aq(e, t, r) {
33642
- if (!(0, la.isMemberExpression)(e)) return !1;
33645
+ if (!(0, ua.isMemberExpression)(e)) return !1;
33643
33646
  const n = Array.isArray(t) ? t : t.split("."), i = [];
33644
33647
  let s;
33645
- for (s = e; (0, la.isMemberExpression)(s); s = s.object)
33648
+ for (s = e; (0, ua.isMemberExpression)(s); s = s.object)
33646
33649
  i.push(s.property);
33647
33650
  if (i.push(s), i.length < n.length || !r && i.length > n.length) return !1;
33648
33651
  for (let a = 0, o = i.length - 1; a < n.length; a++, o--) {
33649
33652
  const u = i[o];
33650
33653
  let l;
33651
- if ((0, la.isIdentifier)(u))
33654
+ if ((0, ua.isIdentifier)(u))
33652
33655
  l = u.name;
33653
- else if ((0, la.isStringLiteral)(u))
33656
+ else if ((0, ua.isStringLiteral)(u))
33654
33657
  l = u.value;
33655
- else if ((0, la.isThisExpression)(u))
33658
+ else if ((0, ua.isThisExpression)(u))
33656
33659
  l = "this";
33657
33660
  else
33658
33661
  return !1;
@@ -33685,13 +33688,13 @@ function fq(e) {
33685
33688
  return !!e && /^[a-z]/.test(e);
33686
33689
  }
33687
33690
  var qo = {}, Ko = {}, M = {}, Wo = {}, ls = {}, Pf = {};
33688
- let ca = null;
33691
+ let la = null;
33689
33692
  function ja(e) {
33690
- if (ca !== null && typeof ca.property) {
33691
- const t = ca;
33692
- return ca = ja.prototype = null, t;
33693
+ if (la !== null && typeof la.property) {
33694
+ const t = la;
33695
+ return la = ja.prototype = null, t;
33693
33696
  }
33694
- return ca = ja.prototype = e ?? /* @__PURE__ */ Object.create(null), new ja();
33697
+ return la = ja.prototype = e ?? /* @__PURE__ */ Object.create(null), new ja();
33695
33698
  }
33696
33699
  ja();
33697
33700
  var pq = function(t) {
@@ -37122,7 +37125,7 @@ function sr() {
37122
37125
  wg = 1, Object.defineProperty(M, "__esModule", {
37123
37126
  value: !0
37124
37127
  }), M.anyTypeAnnotation = To, M.argumentPlaceholder = jA, M.arrayExpression = r, M.arrayPattern = Se, M.arrayTypeAnnotation = De, M.arrowFunctionExpression = xe, M.assignmentExpression = n, M.assignmentPattern = Ie, M.awaitExpression = ht, M.bigIntLiteral = un, M.binaryExpression = i, M.bindExpression = $A, M.blockStatement = u, M.booleanLiteral = C, M.booleanLiteralTypeAnnotation = wm, M.booleanTypeAnnotation = Pt, M.breakStatement = l, M.callExpression = c, M.catchClause = f, M.classAccessorProperty = Hr, M.classBody = ot, M.classDeclaration = Ve, M.classExpression = de, M.classImplements = st, M.classMethod = fe, M.classPrivateMethod = bi, M.classPrivateProperty = Ln, M.classProperty = $t, M.conditionalExpression = p, M.continueStatement = h, M.debuggerStatement = d, M.decimalLiteral = GA, M.declareClass = hr, M.declareExportAllDeclaration = C1, M.declareExportDeclaration = A1, M.declareFunction = ar, M.declareInterface = D1, M.declareModule = E1, M.declareModuleExports = b1, M.declareOpaqueType = v1, M.declareTypeAlias = S1, M.declareVariable = T1, M.declaredPredicate = P1, M.decorator = VA, M.directive = a, M.directiveLiteral = o, M.doExpression = HA, M.doWhileStatement = m, M.emptyStatement = g, M.emptyTypeAnnotation = R1, M.enumBooleanBody = fA, M.enumBooleanMember = mA, M.enumDeclaration = cA, M.enumDefaultedMember = DA, M.enumNumberBody = pA, M.enumNumberMember = yA, M.enumStringBody = hA, M.enumStringMember = gA, M.enumSymbolBody = dA, M.existsTypeAnnotation = _1, M.exportAllDeclaration = ee, M.exportDefaultDeclaration = G, M.exportDefaultSpecifier = qA, M.exportNamedDeclaration = H, M.exportNamespaceSpecifier = wr, M.exportSpecifier = P, M.expressionStatement = D, M.file = y, M.forInStatement = E, M.forOfStatement = $, M.forStatement = N, M.functionDeclaration = A, M.functionExpression = R, M.functionTypeAnnotation = x1, M.functionTypeParam = F1, M.genericTypeAnnotation = w1, M.identifier = w, M.ifStatement = x, M.import = Fr, M.importAttribute = UA, M.importDeclaration = Z, M.importDefaultSpecifier = se, M.importExpression = Fe, M.importNamespaceSpecifier = le, M.importSpecifier = he, M.indexedAccessType = EA, M.inferredPredicate = I1, M.interfaceDeclaration = N1, M.interfaceExtends = O1, M.interfaceTypeAnnotation = B1, M.interpreterDirective = s, M.intersectionTypeAnnotation = k1, M.jSXAttribute = M.jsxAttribute = SA, M.jSXClosingElement = M.jsxClosingElement = vA, M.jSXClosingFragment = M.jsxClosingFragment = kA, M.jSXElement = M.jsxElement = TA, M.jSXEmptyExpression = M.jsxEmptyExpression = AA, M.jSXExpressionContainer = M.jsxExpressionContainer = CA, M.jSXFragment = M.jsxFragment = NA, M.jSXIdentifier = M.jsxIdentifier = _A, M.jSXMemberExpression = M.jsxMemberExpression = xA, M.jSXNamespacedName = M.jsxNamespacedName = FA, M.jSXOpeningElement = M.jsxOpeningElement = wA, M.jSXOpeningFragment = M.jsxOpeningFragment = BA, M.jSXSpreadAttribute = M.jsxSpreadAttribute = IA, M.jSXSpreadChild = M.jsxSpreadChild = PA, M.jSXText = M.jsxText = OA, M.labeledStatement = I, M.logicalExpression = b, M.memberExpression = T, M.metaProperty = qe, M.mixedTypeAnnotation = L1, M.moduleExpression = YA, M.newExpression = U, M.noop = LA, M.nullLiteral = _, M.nullLiteralTypeAnnotation = ve, M.nullableTypeAnnotation = M1, M.numberLiteral = cP, M.numberLiteralTypeAnnotation = j1, M.numberTypeAnnotation = $1, M.numericLiteral = S, M.objectExpression = O, M.objectMethod = L, M.objectPattern = $e, M.objectProperty = z, M.objectTypeAnnotation = U1, M.objectTypeCallProperty = H1, M.objectTypeIndexer = q1, M.objectTypeInternalSlot = V1, M.objectTypeProperty = K1, M.objectTypeSpreadProperty = W1, M.opaqueType = G1, M.optionalCallExpression = pr, M.optionalIndexedAccessType = bA, M.optionalMemberExpression = Ir, M.parenthesizedExpression = ie, M.pipelineBareFunction = zA, M.pipelinePrimaryTopicReference = QA, M.pipelineTopicExpression = JA, M.placeholder = RA, M.privateName = Rn, M.program = v, M.qualifiedTypeIdentifier = Y1, M.recordExpression = KA, M.regExpLiteral = k, M.regexLiteral = fP, M.restElement = re, M.restProperty = pP, M.returnStatement = X, M.sequenceExpression = oe, M.spreadElement = Ke, M.spreadProperty = hP, M.staticBlock = vo, M.stringLiteral = B, M.stringLiteralTypeAnnotation = X1, M.stringTypeAnnotation = J1, M.super = Ge, M.switchCase = J, M.switchStatement = Y, M.symbolTypeAnnotation = z1, M.taggedTemplateExpression = Me, M.templateElement = W, M.templateLiteral = Ae, M.thisExpression = ne, M.thisTypeAnnotation = Q1, M.throwStatement = ae, M.topicReference = XA, M.tryStatement = ce, M.tSAnyKeyword = M.tsAnyKeyword = uC, M.tSArrayType = M.tsArrayType = xC, M.tSAsExpression = M.tsAsExpression = GC, M.tSBigIntKeyword = M.tsBigIntKeyword = cC, M.tSBooleanKeyword = M.tsBooleanKeyword = lC, M.tSCallSignatureDeclaration = M.tsCallSignatureDeclaration = nC, M.tSConditionalType = M.tsConditionalType = kC, M.tSConstructSignatureDeclaration = M.tsConstructSignatureDeclaration = iC, M.tSConstructorType = M.tsConstructorType = TC, M.tSDeclareFunction = M.tsDeclareFunction = eC, M.tSDeclareMethod = M.tsDeclareMethod = tC, M.tSEnumDeclaration = M.tsEnumDeclaration = JC, M.tSEnumMember = M.tsEnumMember = zC, M.tSExportAssignment = M.tsExportAssignment = iP, M.tSExpressionWithTypeArguments = M.tsExpressionWithTypeArguments = VC, M.tSExternalModuleReference = M.tsExternalModuleReference = rP, M.tSFunctionType = M.tsFunctionType = vC, M.tSImportEqualsDeclaration = M.tsImportEqualsDeclaration = tP, M.tSImportType = M.tsImportType = eP, M.tSIndexSignature = M.tsIndexSignature = oC, M.tSIndexedAccessType = M.tsIndexedAccessType = jC, M.tSInferType = M.tsInferType = LC, M.tSInstantiationExpression = M.tsInstantiationExpression = WC, M.tSInterfaceBody = M.tsInterfaceBody = qC, M.tSInterfaceDeclaration = M.tsInterfaceDeclaration = HC, M.tSIntersectionType = M.tsIntersectionType = BC, M.tSIntrinsicKeyword = M.tsIntrinsicKeyword = fC, M.tSLiteralType = M.tsLiteralType = UC, M.tSMappedType = M.tsMappedType = $C, M.tSMethodSignature = M.tsMethodSignature = aC, M.tSModuleBlock = M.tsModuleBlock = ZC, M.tSModuleDeclaration = M.tsModuleDeclaration = QC, M.tSNamedTupleMember = M.tsNamedTupleMember = OC, M.tSNamespaceExportDeclaration = M.tsNamespaceExportDeclaration = sP, M.tSNeverKeyword = M.tsNeverKeyword = pC, M.tSNonNullExpression = M.tsNonNullExpression = nP, M.tSNullKeyword = M.tsNullKeyword = hC, M.tSNumberKeyword = M.tsNumberKeyword = dC, M.tSObjectKeyword = M.tsObjectKeyword = mC, M.tSOptionalType = M.tsOptionalType = wC, M.tSParameterProperty = M.tsParameterProperty = ZA, M.tSParenthesizedType = M.tsParenthesizedType = RC, M.tSPropertySignature = M.tsPropertySignature = sC, M.tSQualifiedName = M.tsQualifiedName = rC, M.tSRestType = M.tsRestType = IC, M.tSSatisfiesExpression = M.tsSatisfiesExpression = YC, M.tSStringKeyword = M.tsStringKeyword = yC, M.tSSymbolKeyword = M.tsSymbolKeyword = gC, M.tSThisType = M.tsThisType = SC, M.tSTupleType = M.tsTupleType = FC, M.tSTypeAliasDeclaration = M.tsTypeAliasDeclaration = KC, M.tSTypeAnnotation = M.tsTypeAnnotation = aP, M.tSTypeAssertion = M.tsTypeAssertion = XC, M.tSTypeLiteral = M.tsTypeLiteral = _C, M.tSTypeOperator = M.tsTypeOperator = MC, M.tSTypeParameter = M.tsTypeParameter = lP, M.tSTypeParameterDeclaration = M.tsTypeParameterDeclaration = uP, M.tSTypeParameterInstantiation = M.tsTypeParameterInstantiation = oP, M.tSTypePredicate = M.tsTypePredicate = CC, M.tSTypeQuery = M.tsTypeQuery = PC, M.tSTypeReference = M.tsTypeReference = AC, M.tSUndefinedKeyword = M.tsUndefinedKeyword = DC, M.tSUnionType = M.tsUnionType = NC, M.tSUnknownKeyword = M.tsUnknownKeyword = EC, M.tSVoidKeyword = M.tsVoidKeyword = bC, M.tupleExpression = WA, M.tupleTypeAnnotation = Z1, M.typeAlias = tA, M.typeAnnotation = rA, M.typeCastExpression = nA, M.typeParameter = iA, M.typeParameterDeclaration = sA, M.typeParameterInstantiation = aA, M.typeofTypeAnnotation = eA, M.unaryExpression = ue, M.unionTypeAnnotation = oA, M.updateExpression = be, M.v8IntrinsicIdentifier = MA, M.variableDeclaration = Ee, M.variableDeclarator = Ce, M.variance = uA, M.voidTypeAnnotation = lA, M.whileStatement = Be, M.withStatement = _e, M.yieldExpression = Ze;
37125
- var e = $q(), t = Ys;
37128
+ var e = $q(), t = Gs;
37126
37129
  function r(F = []) {
37127
37130
  return (0, e.default)({
37128
37131
  type: "ArrayExpression",
@@ -39221,7 +39224,7 @@ V.assertWhile = jX;
39221
39224
  V.assertWhileStatement = HK;
39222
39225
  V.assertWithStatement = qK;
39223
39226
  V.assertYieldExpression = mW;
39224
- var Gq = oo(), fo = Ys;
39227
+ var Gq = oo(), fo = Gs;
39225
39228
  function q(e, t, r) {
39226
39229
  if (!(0, Gq.default)(e, t, r))
39227
39230
  throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`);
@@ -40138,14 +40141,14 @@ function PJ(e, t) {
40138
40141
  function _J(e, t) {
40139
40142
  (0, fo.default)("assertModuleDeclaration", "assertImportOrExportDeclaration"), q("ModuleDeclaration", e, t);
40140
40143
  }
40141
- var fa = {}, Ng;
40144
+ var ca = {}, Ng;
40142
40145
  function xJ() {
40143
- if (Ng) return fa;
40144
- Ng = 1, Object.defineProperty(fa, "__esModule", {
40146
+ if (Ng) return ca;
40147
+ Ng = 1, Object.defineProperty(ca, "__esModule", {
40145
40148
  value: !0
40146
- }), fa.default = void 0;
40149
+ }), ca.default = void 0;
40147
40150
  var e = sr();
40148
- fa.default = t;
40151
+ ca.default = t;
40149
40152
  function t(r) {
40150
40153
  switch (r) {
40151
40154
  case "string":
@@ -40167,7 +40170,7 @@ function xJ() {
40167
40170
  }
40168
40171
  throw new Error("Invalid typeof value: " + r);
40169
40172
  }
40170
- return fa;
40173
+ return ca;
40171
40174
  }
40172
40175
  var zo = {}, Wl = {};
40173
40176
  Object.defineProperty(Wl, "__esModule", {
@@ -41856,12 +41859,12 @@ Object.defineProperty(Zl, "__esModule", {
41856
41859
  value: !0
41857
41860
  });
41858
41861
  Zl.default = void 0;
41859
- var pa = j;
41862
+ var fa = j;
41860
41863
  Zl.default = fz;
41861
41864
  function fz(e) {
41862
- if ((0, pa.isExpressionStatement)(e) && (e = e.expression), (0, pa.isExpression)(e))
41865
+ if ((0, fa.isExpressionStatement)(e) && (e = e.expression), (0, fa.isExpression)(e))
41863
41866
  return e;
41864
- if ((0, pa.isClass)(e) ? e.type = "ClassExpression" : (0, pa.isFunction)(e) && (e.type = "FunctionExpression"), !(0, pa.isExpression)(e))
41867
+ if ((0, fa.isClass)(e) ? e.type = "ClassExpression" : (0, fa.isFunction)(e) && (e.type = "FunctionExpression"), !(0, fa.isExpression)(e))
41865
41868
  throw new Error(`cannot turn ${e.type} to an expression`);
41866
41869
  return e;
41867
41870
  }
@@ -41924,14 +41927,14 @@ Ri.uid = 0;
41924
41927
  Ri.increment = function() {
41925
41928
  return Ri.uid >= Number.MAX_SAFE_INTEGER ? Ri.uid = 0 : Ri.uid++;
41926
41929
  };
41927
- var ha = {}, Kg;
41930
+ var pa = {}, Kg;
41928
41931
  function Sz() {
41929
- if (Kg) return ha;
41930
- Kg = 1, Object.defineProperty(ha, "__esModule", {
41932
+ if (Kg) return pa;
41933
+ Kg = 1, Object.defineProperty(pa, "__esModule", {
41931
41934
  value: !0
41932
- }), ha.default = void 0;
41935
+ }), pa.default = void 0;
41933
41936
  var e = j, t = sr();
41934
- ha.default = r;
41937
+ pa.default = r;
41935
41938
  function r(n, i) {
41936
41939
  if ((0, e.isStatement)(n))
41937
41940
  return n;
@@ -41949,16 +41952,16 @@ function Sz() {
41949
41952
  }
41950
41953
  return n.type = a, n;
41951
41954
  }
41952
- return ha;
41955
+ return pa;
41953
41956
  }
41954
- var da = {}, Wg;
41957
+ var ha = {}, Wg;
41955
41958
  function vz() {
41956
- if (Wg) return da;
41957
- Wg = 1, Object.defineProperty(da, "__esModule", {
41959
+ if (Wg) return ha;
41960
+ Wg = 1, Object.defineProperty(ha, "__esModule", {
41958
41961
  value: !0
41959
- }), da.default = void 0;
41962
+ }), ha.default = void 0;
41960
41963
  var e = Zi, t = sr();
41961
- da.default = s;
41964
+ ha.default = s;
41962
41965
  const r = Function.call.bind(Object.prototype.toString);
41963
41966
  function n(a) {
41964
41967
  return r(a) === "[object RegExp]";
@@ -42004,7 +42007,7 @@ function vz() {
42004
42007
  }
42005
42008
  throw new Error("don't know how to turn this value into a node");
42006
42009
  }
42007
- return da;
42010
+ return ha;
42008
42011
  }
42009
42012
  var iu = {}, Gg;
42010
42013
  function Tz() {
@@ -42088,11 +42091,11 @@ function _z(e) {
42088
42091
  }
42089
42092
  return r;
42090
42093
  }
42091
- var Xs = {};
42092
- Object.defineProperty(Xs, "__esModule", {
42094
+ var Ys = {};
42095
+ Object.defineProperty(Ys, "__esModule", {
42093
42096
  value: !0
42094
42097
  });
42095
- Xs.default = sm;
42098
+ Ys.default = sm;
42096
42099
  var cn = j;
42097
42100
  function sm(e, t, r, n) {
42098
42101
  const i = [].concat(e), s = /* @__PURE__ */ Object.create(null);
@@ -42172,7 +42175,7 @@ Object.defineProperty(nc, "__esModule", {
42172
42175
  value: !0
42173
42176
  });
42174
42177
  nc.default = void 0;
42175
- var Fz = Xs;
42178
+ var Fz = Ys;
42176
42179
  nc.default = wz;
42177
42180
  function wz(e, t) {
42178
42181
  return (0, Fz.default)(e, t, !0);
@@ -42255,7 +42258,7 @@ Object.defineProperty(um, "__esModule", {
42255
42258
  value: !0
42256
42259
  });
42257
42260
  um.default = Lz;
42258
- var kz = Xs;
42261
+ var kz = Ys;
42259
42262
  function Lz(e, t, r) {
42260
42263
  if (r && e.type === "Identifier" && t.type === "ObjectProperty" && r.type === "ObjectExpression")
42261
42264
  return !1;
@@ -42456,7 +42459,7 @@ function eQ() {
42456
42459
  eD = 1, Object.defineProperty(ou, "__esModule", {
42457
42460
  value: !0
42458
42461
  }), ou.default = s;
42459
- var e = Xs, t = j, r = sr(), n = ET(), i = Bn;
42462
+ var e = Ys, t = j, r = sr(), n = ET(), i = Bn;
42460
42463
  function s(a, o) {
42461
42464
  const u = [];
42462
42465
  let l = !0;
@@ -42932,7 +42935,7 @@ function Xe() {
42932
42935
  }
42933
42936
  });
42934
42937
  });
42935
- var z = Tz(), re = nm, X = Pz(), oe = rc, ie = ec, J = Wl, Y = im, ne = Xs, ae = nc, ce = am, ue = om;
42938
+ var z = Tz(), re = nm, X = Pz(), oe = rc, ie = ec, J = Wl, Y = im, ne = Ys, ae = nc, ce = am, ue = om;
42936
42939
  Object.keys(ue).forEach(function(fe) {
42937
42940
  fe === "default" || fe === "__esModule" || Object.prototype.hasOwnProperty.call(t, fe) || fe in e && e[fe] === ue[fe] || Object.defineProperty(e, fe, {
42938
42941
  enumerable: !0,
@@ -42950,7 +42953,7 @@ function Xe() {
42950
42953
  }
42951
42954
  });
42952
42955
  });
42953
- var qe = Ys;
42956
+ var qe = Gs;
42954
42957
  e.react = {
42955
42958
  isReactComponent: r.default,
42956
42959
  isCompatTag: n.default,
@@ -43260,10 +43263,10 @@ function sc() {
43260
43263
  }
43261
43264
  var iD;
43262
43265
  function MQ() {
43263
- if (iD) return ua;
43264
- iD = 1, Object.defineProperty(ua, "__esModule", {
43266
+ if (iD) return oa;
43267
+ iD = 1, Object.defineProperty(oa, "__esModule", {
43265
43268
  value: !0
43266
- }), ua.default = void 0;
43269
+ }), oa.default = void 0;
43267
43270
  var e = Xe(), t = Fm(), r = sc(), n = So();
43268
43271
  const i = {
43269
43272
  ReferencedIdentifier({
@@ -43335,7 +43338,7 @@ function MQ() {
43335
43338
  }), arguments[0] || (c.removeOwnBinding(u), c.bindings[l] = o, this.binding.identifier.name = l), p && (this.maybeConvertFromClassFunctionDeclaration(f), this.maybeConvertFromClassFunctionExpression(f));
43336
43339
  }
43337
43340
  }
43338
- return ua.default = s, ua;
43341
+ return oa.default = s, oa;
43339
43342
  }
43340
43343
  var ac = {};
43341
43344
  Object.defineProperty(ac, "__esModule", {
@@ -44984,10 +44987,10 @@ function TZ(e, t) {
44984
44987
  }
44985
44988
  var sD;
44986
44989
  function _T() {
44987
- if (sD) return oa;
44988
- sD = 1, Object.defineProperty(oa, "__esModule", {
44990
+ if (sD) return aa;
44991
+ sD = 1, Object.defineProperty(aa, "__esModule", {
44989
44992
  value: !0
44990
- }), oa.default = void 0;
44993
+ }), aa.default = void 0;
44991
44994
  var e = MQ(), t = Sc(), r = ac, n = bZ, i = Xe(), s = i, a = jt, o = sc();
44992
44995
  const {
44993
44996
  NOT_LOCAL_BINDING: u,
@@ -45728,7 +45731,7 @@ function _T() {
45728
45731
  }
45729
45732
  }
45730
45733
  }
45731
- return oa.default = G, G.globals = Object.keys(n.builtin), G.contextVariables = ["arguments", "undefined", "Infinity", "NaN"], oa;
45734
+ return aa.default = G, G.globals = Object.keys(n.builtin), G.contextVariables = ["arguments", "undefined", "Infinity", "NaN"], aa;
45732
45735
  }
45733
45736
  var oc = {}, uc = {}, zp = { exports: {} }, uu = { exports: {} }, aD;
45734
45737
  function AZ() {
@@ -46900,11 +46903,11 @@ const {
46900
46903
  isOptionalMemberExpression: LZ,
46901
46904
  isStringLiteral: RZ
46902
46905
  } = FZ;
46903
- function ds(e, t) {
46904
- return e && (Dm(e) || LZ(e) ? (ds(e.object, t), e.computed && ds(e.property, t)) : IT(e) || wT(e) ? (ds(e.left, t), ds(e.right, t)) : OT(e) || kZ(e) ? (t.hasCall = !0, ds(e.callee, t)) : Ta(e) ? t.hasFunction = !0 : cl(e) && (t.hasHelper = t.hasHelper || e.callee && Tn(e.callee))), t;
46906
+ function hs(e, t) {
46907
+ return e && (Dm(e) || LZ(e) ? (hs(e.object, t), e.computed && hs(e.property, t)) : IT(e) || wT(e) ? (hs(e.left, t), hs(e.right, t)) : OT(e) || kZ(e) ? (t.hasCall = !0, hs(e.callee, t)) : Ta(e) ? t.hasFunction = !0 : cl(e) && (t.hasHelper = t.hasHelper || e.callee && Tn(e.callee))), t;
46905
46908
  }
46906
46909
  function lD(e) {
46907
- return ds(e, {
46910
+ return hs(e, {
46908
46911
  hasCall: !1,
46909
46912
  hasFunction: !1,
46910
46913
  hasHelper: !1
@@ -50649,7 +50652,7 @@ var Uf, wD;
50649
50652
  function Sse() {
50650
50653
  if (wD) return Uf;
50651
50654
  wD = 1;
50652
- const e = $s, t = bse(), r = process.env;
50655
+ const e = js, t = bse(), r = process.env;
50653
50656
  let n;
50654
50657
  t("no-color") || t("no-colors") || t("color=false") ? n = !1 : (t("color") || t("colors") || t("color=true") || t("color=always")) && (n = !0), "FORCE_COLOR" in r && (n = r.FORCE_COLOR.length === 0 || parseInt(r.FORCE_COLOR, 10) !== 0);
50655
50658
  function i(o) {
@@ -51484,7 +51487,7 @@ function c1() {
51484
51487
  VD = 1, Object.defineProperty(pn, "__esModule", {
51485
51488
  value: !0
51486
51489
  }), pn._replaceWith = re, pn.replaceExpressionWithStatements = X, pn.replaceInline = ie, pn.replaceWith = z, pn.replaceWithMultiple = O, pn.replaceWithSourceString = L;
51487
- var e = yo, t = Sc(), r = ns(), n = jt, i = l1(), s = Gs, a = Xe();
51490
+ var e = yo, t = Sc(), r = ns(), n = jt, i = l1(), s = Ws, a = Xe();
51488
51491
  const {
51489
51492
  FUNCTION_TYPES: o,
51490
51493
  arrowFunctionExpression: u,
@@ -52037,7 +52040,7 @@ Object.defineProperty(Dc, "__esModule", {
52037
52040
  value: !0
52038
52041
  });
52039
52042
  Dc.default = Sae;
52040
- var uae = Xe(), lae = Gs, cae = yo;
52043
+ var uae = Xe(), lae = Ws, cae = yo;
52041
52044
  const {
52042
52045
  isCallExpression: fae,
52043
52046
  isExpressionStatement: pae,
@@ -53565,10 +53568,10 @@ function ns() {
53565
53568
  }
53566
53569
  var aE;
53567
53570
  function xoe() {
53568
- if (aE) return aa;
53569
- aE = 1, Object.defineProperty(aa, "__esModule", {
53571
+ if (aE) return sa;
53572
+ aE = 1, Object.defineProperty(sa, "__esModule", {
53570
53573
  value: !0
53571
- }), aa.default = void 0;
53574
+ }), sa.default = void 0;
53572
53575
  var e = ns(), t = Xe();
53573
53576
  const {
53574
53577
  VISITOR_KEYS: r
@@ -53639,7 +53642,7 @@ function xoe() {
53639
53642
  return o ? Array.isArray(o) ? this.visitMultiple(o, s, a) : this.visitSingle(s, a) : !1;
53640
53643
  }
53641
53644
  }
53642
- return aa.default = n, aa;
53645
+ return sa.default = n, sa;
53643
53646
  }
53644
53647
  var oE;
53645
53648
  function Fm() {
@@ -53890,11 +53893,10 @@ var woe = Sc();
53890
53893
  const Ioe = /* @__PURE__ */ dl(woe);
53891
53894
  var Nt = Xe();
53892
53895
  const Ooe = gh();
53893
- function cs(...e) {
53894
- return console.log(...e);
53896
+ function da(...e) {
53895
53897
  }
53896
53898
  const $a = ["key", "property", "id"];
53897
- function Cs(e, t, r, n = !1) {
53899
+ function As(e, t, r, n = !1) {
53898
53900
  var a;
53899
53901
  let i = n;
53900
53902
  !i && e === r && (i = !0);
@@ -53903,7 +53905,7 @@ function Cs(e, t, r, n = !1) {
53903
53905
  isOverBound: i,
53904
53906
  binding: s,
53905
53907
  name: t
53906
- } : e != null && e.parent ? Cs(e.parent, t, r, i) : {
53908
+ } : e != null && e.parent ? As(e.parent, t, r, i) : {
53907
53909
  isOverBound: i,
53908
53910
  binding: null,
53909
53911
  name: t
@@ -53941,7 +53943,7 @@ function sh(e = [], t, r = [], n) {
53941
53943
  Identifier(c) {
53942
53944
  if ($a.includes(c.key) || c.listKey === "params")
53943
53945
  return;
53944
- const f = Cs(c.scope, c.node.name, a.scope);
53946
+ const f = As(c.scope, c.node.name, a.scope);
53945
53947
  f.isOverBound && o.push({ ...f, identifierPath: c });
53946
53948
  }
53947
53949
  }), sh(o, t, r, n), (l = (u = s.binding) == null ? void 0 : u.constantViolations) == null || l.forEach((c) => {
@@ -53955,7 +53957,7 @@ function sh(e = [], t, r = [], n) {
53955
53957
  Identifier(h) {
53956
53958
  if ($a.includes(h.key) || h.listKey === "params")
53957
53959
  return;
53958
- const d = Cs(h.scope, h.node.name, f.scope);
53960
+ const d = As(h.scope, h.node.name, f.scope);
53959
53961
  d.isOverBound && p.push({ ...d, identifierPath: h });
53960
53962
  }
53961
53963
  }), sh(p, t, r, n);
@@ -53998,10 +54000,10 @@ function Boe({
53998
54000
  const _ = [];
53999
54001
  R.traverse({
54000
54002
  Identifier(C) {
54001
- if (cs("[staticParams]", C.node.name, t, C.node.name === t), $a.includes(C.key) || C.listKey === "params" || C.node.name === t)
54003
+ if (da("[staticParams]", C.node.name, t, C.node.name === t), $a.includes(C.key) || C.listKey === "params" || C.node.name === t)
54002
54004
  return;
54003
54005
  y.push(R);
54004
- const k = Cs(C.scope, C.node.name, o.scope);
54006
+ const k = As(C.scope, C.node.name, o.scope);
54005
54007
  k.isOverBound && _.push({ ...k, identifierPath: C });
54006
54008
  }
54007
54009
  }), o.stateInfo.statics[A] = R, sh(_, o.scope, o.stateInfo.deps, A);
@@ -54021,13 +54023,13 @@ function Boe({
54021
54023
  var R, w, x, I, B, S, _;
54022
54024
  y.some(
54023
54025
  (C) => Nt.isNodesEquivalent(A.node, C.node) || A.findParent((k) => Nt.isNodesEquivalent(k.node, C.node))
54024
- ) || A.node.callee.type === "MemberExpression" && i.test(A.get("callee").toString()) && (!A.scope.hasBinding(t) || ((x = (w = (R = A.scope.getBinding(t)) == null ? void 0 : R.path) == null ? void 0 : w.parent) == null ? void 0 : x.type) === "ImportDeclaration" && ((_ = (S = (B = (I = A.scope.getBinding(t)) == null ? void 0 : I.path) == null ? void 0 : B.parent) == null ? void 0 : S.source) == null ? void 0 : _.value) === r) || (cs("[CallExpression]", A.toString(), A.node), A.get("callee").traverse({
54026
+ ) || A.node.callee.type === "MemberExpression" && i.test(A.get("callee").toString()) && (!A.scope.hasBinding(t) || ((x = (w = (R = A.scope.getBinding(t)) == null ? void 0 : R.path) == null ? void 0 : w.parent) == null ? void 0 : x.type) === "ImportDeclaration" && ((_ = (S = (B = (I = A.scope.getBinding(t)) == null ? void 0 : I.path) == null ? void 0 : B.parent) == null ? void 0 : S.source) == null ? void 0 : _.value) === r) || (da("[CallExpression]", A.toString(), A.node), A.get("callee").traverse({
54025
54027
  Identifier(C) {
54026
54028
  if ($a.includes(C.key) || C.listKey === "params")
54027
54029
  return;
54028
- cs("[CallExpression Identifier]", C.node.name);
54029
- const k = Cs(C.scope, C.node.name, o.scope);
54030
- if (cs("[bindingInfo]", k), k.isOverBound && k.binding)
54030
+ da("[CallExpression Identifier]", C.node.name);
54031
+ const k = As(C.scope, C.node.name, o.scope);
54032
+ if (k.isOverBound && k.binding)
54031
54033
  throw new Error(
54032
54034
  `不能在 server 端调用本地方法 error: ${A.node.loc.start.line}:${A.node.loc.start.column + 1} ${A.toString()}`
54033
54035
  );
@@ -54039,15 +54041,15 @@ function Boe({
54039
54041
  (w) => Nt.isNodesEquivalent(A.node, w.node) || A.findParent((x) => Nt.isNodesEquivalent(x.node, w.node))
54040
54042
  ))
54041
54043
  return;
54042
- cs("[Identifier]", A.node.name, A.key);
54043
- const R = Cs(A.scope, A.node.name, o.scope);
54044
+ da("[Identifier]", A.node.name, A.key);
54045
+ const R = As(A.scope, A.node.name, o.scope);
54044
54046
  if (R.isOverBound && R.binding && (o.stateInfo.bindings.push({ ...R, identifierPath: A }), A.key === "callee"))
54045
54047
  throw new Error(
54046
54048
  `不能在 server 端调用本地方法 error: ${A.parentPath.node.loc.start.line}:${A.parentPath.node.loc.start.column + 1} ${A.parentPath.toString()}`
54047
54049
  );
54048
54050
  o.stateInfo.bindings = y1(o.stateInfo.bindings);
54049
54051
  }
54050
- }), cs(
54052
+ }), da(
54051
54053
  "[binding]",
54052
54054
  o.stateInfo.bindings.map((A) => A.name)
54053
54055
  ), o.stateInfo.deps = Noe(o.stateInfo.deps), a.calls.push(o);
@@ -54158,29 +54160,31 @@ export default __defineApi_for_auto__({
54158
54160
  function yue(e) {
54159
54161
  const t = process.cwd(), r = e.serverDir;
54160
54162
  let n;
54161
- const i = "soonjs/auto/client", s = "\0" + i, a = new RegExp(`${e.clientAlias}\\s*\\.(useApi\\(|service\\.)`), o = Oe.join("node_modules/.soonjs/auto", e.projectName);
54163
+ const i = "soonjs/auto/client", s = "\0" + i, a = new RegExp(`${e.clientAlias}\\s*\\.(useApi\\(|service\\.)`), o = "node_modules/.soonjs/auto";
54164
+ let u = "";
54162
54165
  if (!e.projectName || !e.serverDir)
54163
54166
  throw new Error("soonjs client plugin: options.projectName and options.serverDir are required");
54164
54167
  return {
54165
54168
  name: "vite-plugin-soon-client",
54166
54169
  enforce: "post",
54167
- configureServer(u) {
54168
- n = u, console.log(n.config.env);
54170
+ configureServer(l) {
54171
+ n = l, console.log(n.config.env);
54169
54172
  },
54170
- config(u, l) {
54171
- const c = Oe.join(t, "generated/auto");
54172
- fs(Oe.join(t, "node_modules/.soonjs")) || SP(r, "node_modules/.soonjs", "dir"), fs(c) || vP(c, { recursive: !0 });
54173
- const f = Oe.join(r, "generated/auto/auto-client.d.ts");
54174
- fs(f) && Im(f, Oe.join(c, "auto-client.d.ts")), fs(o) && fE(o, { recursive: !0 }), l.command === "serve" && TP(f, (p, h) => {
54175
- fs(f) && Im(f, Oe.join(c, "auto-client.d.ts"));
54173
+ config(l, c) {
54174
+ u = Oe.join(o, c.command, e.projectName);
54175
+ const f = Oe.join(t, "generated/auto");
54176
+ cs(Oe.join(t, "node_modules/.soonjs")) || SP(r, "node_modules/.soonjs", "dir"), cs(f) || vP(f, { recursive: !0 });
54177
+ const p = Oe.join(r, "generated/auto/auto-client.d.ts");
54178
+ cs(p) && Im(p, Oe.join(f, "auto-client.d.ts")), cs(u) && fE(u, { recursive: !0 }), c.command === "serve" && TP(p, (h, d) => {
54179
+ cs(p) && Im(p, Oe.join(f, "auto-client.d.ts"));
54176
54180
  });
54177
54181
  },
54178
- resolveId(u) {
54179
- if (u === i)
54182
+ resolveId(l) {
54183
+ if (l === i)
54180
54184
  return s;
54181
54185
  },
54182
- async load(u) {
54183
- if (u === s)
54186
+ async load(l) {
54187
+ if (l === s)
54184
54188
  return `
54185
54189
  const soonConfigStorage = {
54186
54190
  baseUrl: "",
@@ -54223,13 +54227,13 @@ export default {
54223
54227
  }
54224
54228
  `;
54225
54229
  },
54226
- transform(u, l) {
54227
- if ((/\.(ts|js|tsx|jsx)$/.test(l) || /\.vue/.test(l)) && a.test(u)) {
54228
- let c = function() {
54229
- f.serverCodes.forEach(async (p) => {
54230
- let h = p.serverCode;
54230
+ transform(l, c) {
54231
+ if ((/\.(ts|js|tsx|jsx)$/.test(c) || /\.vue/.test(c)) && a.test(l)) {
54232
+ let f = function() {
54233
+ p.serverCodes.forEach(async (h) => {
54234
+ let d = h.serverCode;
54231
54235
  try {
54232
- h = await L4.format(h, {
54236
+ d = await L4.format(d, {
54233
54237
  parser: "typescript",
54234
54238
  tabWidth: 4,
54235
54239
  useTabs: !1,
@@ -54244,25 +54248,24 @@ export default {
54244
54248
  });
54245
54249
  } catch {
54246
54250
  }
54247
- PP(Oe.join(o, p.callId + ".ts"), h, (d) => {
54248
- d && console.error(d);
54251
+ PP(Oe.join(u, h.callId + ".ts"), d, (m) => {
54252
+ m && console.error(m);
54249
54253
  });
54250
54254
  });
54251
54255
  };
54252
- console.log("transform", Date.now(), l);
54253
- const f = koe({
54254
- filename: Oe.relative(t, l).replace(/\\/g, "/"),
54255
- code: u,
54256
+ const p = koe({
54257
+ filename: Oe.relative(t, c).replace(/\\/g, "/"),
54258
+ code: l,
54256
54259
  alias: e.clientAlias,
54257
54260
  moduleName: "soonjs/auto/client"
54258
54261
  });
54259
- return AP(o, (p) => {
54260
- p ? c() : CP(o, { recursive: !0 }, (h) => {
54261
- if (h)
54262
- throw h;
54263
- c();
54262
+ return AP(u, (h) => {
54263
+ h ? f() : CP(u, { recursive: !0 }, (d) => {
54264
+ if (d)
54265
+ throw d;
54266
+ f();
54264
54267
  });
54265
- }), { code: f.srcCode, map: null };
54268
+ }), { code: p.srcCode, map: null };
54266
54269
  }
54267
54270
  }
54268
54271
  };