soonjs 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +369 -369
- 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
|
|
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
|
|
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
|
|
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: `(?:(?!${
|
|
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
|
|
254
|
+
function _s(e) {
|
|
255
255
|
return e.replace(/([.+*?^${}()[\]|/\\])/g, "\\$1");
|
|
256
256
|
}
|
|
257
257
|
function UP(e, t) {
|
|
258
|
-
const r =
|
|
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
|
|
264
|
-
const r = new RegExp(`(?:(?!${
|
|
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 ? "$" : `(?=${
|
|
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 = `(?:(?!${
|
|
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
|
|
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
|
|
334
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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:
|
|
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,
|
|
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
|
|
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),
|
|
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%":
|
|
772
|
-
"%AsyncGenerator%":
|
|
773
|
-
"%AsyncGeneratorFunction%":
|
|
774
|
-
"%AsyncIteratorPrototype%":
|
|
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%":
|
|
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%":
|
|
821
|
+
"%SyntaxError%": Fs,
|
|
822
822
|
"%ThrowTypeError%": v_,
|
|
823
823
|
"%TypedArray%": A_,
|
|
824
|
-
"%TypeError%":
|
|
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
|
|
913
|
+
throw new Fs("invalid intrinsic syntax, expected closing `%`");
|
|
914
914
|
if (n === "%" && r !== "%")
|
|
915
|
-
throw new
|
|
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 ===
|
|
925
|
-
throw new
|
|
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
|
|
933
|
-
},
|
|
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
|
|
935
|
+
throw new bs("intrinsic name must be a non-empty string");
|
|
936
936
|
if (arguments.length > 1 && typeof r != "boolean")
|
|
937
|
-
throw new
|
|
937
|
+
throw new bs('"allowMissing" argument must be a boolean');
|
|
938
938
|
if (F_(/^%?[^%]*%?$/, t) === null)
|
|
939
|
-
throw new
|
|
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
|
|
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
|
|
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 =
|
|
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_ =
|
|
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_ =
|
|
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 =
|
|
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 =
|
|
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,
|
|
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 =
|
|
1135
|
-
return typeof t == "object" && !
|
|
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
|
|
1177
|
+
return Js(p(Number(t)));
|
|
1178
1178
|
if (ux(t))
|
|
1179
|
-
return
|
|
1179
|
+
return Js(p(zf.call(t)));
|
|
1180
1180
|
if (ox(t))
|
|
1181
|
-
return
|
|
1181
|
+
return Js(X_.call(t));
|
|
1182
1182
|
if (sx(t))
|
|
1183
|
-
return
|
|
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 (
|
|
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
|
|
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 (
|
|
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 ||
|
|
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 =
|
|
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
|
-
},
|
|
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:
|
|
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 =
|
|
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] =
|
|
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" ||
|
|
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 =
|
|
1905
|
+
i = Is.merge(i, u, r);
|
|
1906
1906
|
}
|
|
1907
|
-
return r.allowSparse === !0 ? 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 = {},
|
|
1955
|
-
Object.defineProperty(
|
|
1956
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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,
|
|
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 ?
|
|
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
|
|
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 =
|
|
2407
|
-
if (
|
|
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 =
|
|
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
|
|
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
|
|
3892
|
-
Object.defineProperty(
|
|
3893
|
-
|
|
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
|
-
|
|
3897
|
+
Ns.isString = M2;
|
|
3898
3898
|
function j2(e) {
|
|
3899
3899
|
return e === "";
|
|
3900
3900
|
}
|
|
3901
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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 =
|
|
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,
|
|
@@ -5287,7 +5287,7 @@ function aue(e) {
|
|
|
5287
5287
|
closeBundle() {
|
|
5288
5288
|
try {
|
|
5289
5289
|
const D = (e == null ? void 0 : e.entryPath) || "./dist/entry.js";
|
|
5290
|
-
e != null && e.removeEntry && t &&
|
|
5290
|
+
e != null && e.removeEntry && t && cs(D) && fE(D);
|
|
5291
5291
|
} catch {
|
|
5292
5292
|
}
|
|
5293
5293
|
},
|
|
@@ -5523,7 +5523,7 @@ var uN = class extends Error {
|
|
|
5523
5523
|
Ut(this, "name", "InvalidDocError");
|
|
5524
5524
|
this.doc = r;
|
|
5525
5525
|
}
|
|
5526
|
-
},
|
|
5526
|
+
}, Bs = uN, Oy = {};
|
|
5527
5527
|
function lN(e, t, r, n) {
|
|
5528
5528
|
const i = [e];
|
|
5529
5529
|
for (; i.length > 0; ) {
|
|
@@ -5535,7 +5535,7 @@ function lN(e, t, r, n) {
|
|
|
5535
5535
|
r && i.push(s, Oy);
|
|
5536
5536
|
const a = Xi(s);
|
|
5537
5537
|
if (!a)
|
|
5538
|
-
throw new
|
|
5538
|
+
throw new Bs(s);
|
|
5539
5539
|
if ((t == null ? void 0 : t(s)) !== !1)
|
|
5540
5540
|
switch (a) {
|
|
5541
5541
|
case _n:
|
|
@@ -5570,7 +5570,7 @@ function lN(e, t, r, n) {
|
|
|
5570
5570
|
case an:
|
|
5571
5571
|
break;
|
|
5572
5572
|
default:
|
|
5573
|
-
throw new
|
|
5573
|
+
throw new Bs(s);
|
|
5574
5574
|
}
|
|
5575
5575
|
}
|
|
5576
5576
|
}
|
|
@@ -5579,7 +5579,7 @@ var Gh = lN, cN = () => {
|
|
|
5579
5579
|
function Yu(e) {
|
|
5580
5580
|
return { type: ii, contents: e };
|
|
5581
5581
|
}
|
|
5582
|
-
function
|
|
5582
|
+
function ks(e, t) {
|
|
5583
5583
|
return { type: si, contents: t, n: e };
|
|
5584
5584
|
}
|
|
5585
5585
|
function Bb(e, t = {}) {
|
|
@@ -5594,13 +5594,13 @@ function Bb(e, t = {}) {
|
|
|
5594
5594
|
};
|
|
5595
5595
|
}
|
|
5596
5596
|
function pN(e) {
|
|
5597
|
-
return
|
|
5597
|
+
return ks(Number.NEGATIVE_INFINITY, e);
|
|
5598
5598
|
}
|
|
5599
5599
|
function hN(e) {
|
|
5600
|
-
return
|
|
5600
|
+
return ks({ type: "root" }, e);
|
|
5601
5601
|
}
|
|
5602
5602
|
function dN(e) {
|
|
5603
|
-
return
|
|
5603
|
+
return ks(-1, e);
|
|
5604
5604
|
}
|
|
5605
5605
|
function mN(e, t) {
|
|
5606
5606
|
return Bb(e[0], { ...t, expandedStates: e });
|
|
@@ -5643,7 +5643,7 @@ function CN(e, t, r) {
|
|
|
5643
5643
|
if (t > 0) {
|
|
5644
5644
|
for (let i = 0; i < Math.floor(t / r); ++i)
|
|
5645
5645
|
n = Yu(n);
|
|
5646
|
-
n =
|
|
5646
|
+
n = ks(t % r, n), n = ks(Number.NEGATIVE_INFINITY, n);
|
|
5647
5647
|
}
|
|
5648
5648
|
return n;
|
|
5649
5649
|
}
|
|
@@ -5745,7 +5745,7 @@ function Il(e, t) {
|
|
|
5745
5745
|
case an:
|
|
5746
5746
|
return t(s);
|
|
5747
5747
|
default:
|
|
5748
|
-
throw new
|
|
5748
|
+
throw new Bs(s);
|
|
5749
5749
|
}
|
|
5750
5750
|
}
|
|
5751
5751
|
}
|
|
@@ -5864,7 +5864,7 @@ function Fa(e) {
|
|
|
5864
5864
|
case an:
|
|
5865
5865
|
break;
|
|
5866
5866
|
default:
|
|
5867
|
-
throw new
|
|
5867
|
+
throw new Bs(e);
|
|
5868
5868
|
}
|
|
5869
5869
|
return e;
|
|
5870
5870
|
}
|
|
@@ -5918,7 +5918,7 @@ function HN(e) {
|
|
|
5918
5918
|
case an:
|
|
5919
5919
|
break;
|
|
5920
5920
|
default:
|
|
5921
|
-
throw new
|
|
5921
|
+
throw new Bs(e);
|
|
5922
5922
|
}
|
|
5923
5923
|
return e;
|
|
5924
5924
|
}
|
|
@@ -6349,7 +6349,7 @@ function JN(e, t) {
|
|
|
6349
6349
|
case an:
|
|
6350
6350
|
break;
|
|
6351
6351
|
default:
|
|
6352
|
-
throw new
|
|
6352
|
+
throw new Bs(d);
|
|
6353
6353
|
}
|
|
6354
6354
|
a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
|
|
6355
6355
|
}
|
|
@@ -6383,7 +6383,7 @@ var Ub = {
|
|
|
6383
6383
|
trim: bN,
|
|
6384
6384
|
indent: Yu,
|
|
6385
6385
|
indentIfBreak: gN,
|
|
6386
|
-
align:
|
|
6386
|
+
align: ks,
|
|
6387
6387
|
addAlignmentToDoc: CN,
|
|
6388
6388
|
markAsRoot: hN,
|
|
6389
6389
|
dedentToRoot: pN,
|
|
@@ -6422,7 +6422,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
6422
6422
|
return e && (t = (0, e[zh(e)[0]])(e = 0)), t;
|
|
6423
6423
|
}, ye = (e, t) => function() {
|
|
6424
6424
|
return t || (0, e[zh(e)[0]])((t = { exports: {} }).exports, t), t.exports;
|
|
6425
|
-
},
|
|
6425
|
+
}, Vs = (e, t) => {
|
|
6426
6426
|
for (var r in t)
|
|
6427
6427
|
to(e, r, { get: t[r], enumerable: !0 });
|
|
6428
6428
|
}, Kb = (e, t, r, n) => {
|
|
@@ -6437,7 +6437,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
6437
6437
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
6438
6438
|
to(r, "default", { value: e, enumerable: !0 }),
|
|
6439
6439
|
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),
|
|
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), ps = (e, t, r) => (Qh(e, t, "access private method"), r), a3 = ye({
|
|
6441
6441
|
"node_modules/fast-glob/out/utils/array.js"(e) {
|
|
6442
6442
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.splitWhen = e.flatten = void 0;
|
|
6443
6443
|
function t(n) {
|
|
@@ -8548,7 +8548,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
8548
8548
|
};
|
|
8549
8549
|
e.default = r;
|
|
8550
8550
|
}
|
|
8551
|
-
}),
|
|
8551
|
+
}), Hs = ye({
|
|
8552
8552
|
"node_modules/@nodelib/fs.stat/out/index.js"(e) {
|
|
8553
8553
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.statSync = e.stat = e.Settings = void 0;
|
|
8554
8554
|
var t = F3(), r = w3(), n = O3();
|
|
@@ -8643,7 +8643,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
8643
8643
|
}), L3 = ye({
|
|
8644
8644
|
"node_modules/@nodelib/fs.scandir/out/providers/async.js"(e) {
|
|
8645
8645
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
|
|
8646
|
-
var t =
|
|
8646
|
+
var t = Hs(), r = B3(), n = Yb(), i = Xb(), s = Jb();
|
|
8647
8647
|
function a(p, h, d) {
|
|
8648
8648
|
if (!h.stats && n.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
8649
8649
|
o(p, h, d);
|
|
@@ -8740,7 +8740,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
8740
8740
|
}), R3 = ye({
|
|
8741
8741
|
"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(e) {
|
|
8742
8742
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
|
|
8743
|
-
var t =
|
|
8743
|
+
var t = Hs(), r = Yb(), n = Xb(), i = Jb();
|
|
8744
8744
|
function s(u, l) {
|
|
8745
8745
|
return !l.stats && r.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? a(u, l) : o(u, l);
|
|
8746
8746
|
}
|
|
@@ -8796,7 +8796,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
8796
8796
|
}), j3 = ye({
|
|
8797
8797
|
"node_modules/@nodelib/fs.scandir/out/settings.js"(e) {
|
|
8798
8798
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
8799
|
-
var t = lt("path"), r =
|
|
8799
|
+
var t = lt("path"), r = Hs(), n = M3(), i = class {
|
|
8800
8800
|
constructor(s = {}) {
|
|
8801
8801
|
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
8802
|
followSymbolicLink: this.followSymbolicLinks,
|
|
@@ -9240,7 +9240,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
9240
9240
|
}), id = ye({
|
|
9241
9241
|
"node_modules/fast-glob/out/readers/reader.js"(e) {
|
|
9242
9242
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
9243
|
-
var t = lt("path"), r =
|
|
9243
|
+
var t = lt("path"), r = Hs(), n = pi(), i = class {
|
|
9244
9244
|
constructor(s) {
|
|
9245
9245
|
this._settings = s, this._fsStatSettings = new r.Settings({
|
|
9246
9246
|
followSymbolicLink: this._settings.followSymbolicLinks,
|
|
@@ -9268,7 +9268,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
9268
9268
|
}), Zb = ye({
|
|
9269
9269
|
"node_modules/fast-glob/out/readers/stream.js"(e) {
|
|
9270
9270
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
9271
|
-
var t = lt("stream"), r =
|
|
9271
|
+
var t = lt("stream"), r = Hs(), n = nd(), i = id(), s = class extends i.default {
|
|
9272
9272
|
constructor() {
|
|
9273
9273
|
super(...arguments), this._walkStream = n.walkStream, this._stat = r.stat;
|
|
9274
9274
|
}
|
|
@@ -9576,7 +9576,7 @@ var e3 = Object.create, to = Object.defineProperty, t3 = Object.getOwnPropertyDe
|
|
|
9576
9576
|
}), rB = ye({
|
|
9577
9577
|
"node_modules/fast-glob/out/readers/sync.js"(e) {
|
|
9578
9578
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
9579
|
-
var t =
|
|
9579
|
+
var t = Hs(), r = nd(), n = id(), i = class extends n.default {
|
|
9580
9580
|
constructor() {
|
|
9581
9581
|
super(...arguments), this._walkSync = r.walkSync, this._statSync = t.statSync;
|
|
9582
9582
|
}
|
|
@@ -9898,7 +9898,7 @@ function lB(e, { streamIsTTY: t, sniffFlags: r = !0 } = {}) {
|
|
|
9898
9898
|
if (Dt.TERM === "dumb")
|
|
9899
9899
|
return s;
|
|
9900
9900
|
if (en.platform === "win32") {
|
|
9901
|
-
const a =
|
|
9901
|
+
const a = js.release().split(".");
|
|
9902
9902
|
return Number(a[0]) >= 10 && Number(a[2]) >= 10586 ? Number(a[2]) >= 14931 ? 3 : 2 : 1;
|
|
9903
9903
|
}
|
|
9904
9904
|
if ("CI" in Dt)
|
|
@@ -9959,7 +9959,7 @@ var hB = Ol({
|
|
|
9959
9959
|
"node_modules/chalk/source/utilities.js"() {
|
|
9960
9960
|
}
|
|
9961
9961
|
}), tS = {};
|
|
9962
|
-
|
|
9962
|
+
Vs(tS, {
|
|
9963
9963
|
Chalk: () => rS,
|
|
9964
9964
|
backgroundColorNames: () => Ju,
|
|
9965
9965
|
backgroundColors: () => Ju,
|
|
@@ -9974,10 +9974,10 @@ Hs(tS, {
|
|
|
9974
9974
|
supportsColor: () => bu,
|
|
9975
9975
|
supportsColorStderr: () => Su
|
|
9976
9976
|
});
|
|
9977
|
-
function
|
|
9977
|
+
function Qs(e) {
|
|
9978
9978
|
return Ap(e);
|
|
9979
9979
|
}
|
|
9980
|
-
var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo,
|
|
9980
|
+
var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, Zs, Vy, Hy, nS, Sr, kl = Ol({
|
|
9981
9981
|
"node_modules/chalk/source/index.js"() {
|
|
9982
9982
|
Ly(), cB(), hB(), Ly(), { stdout: bu, stderr: Su } = eS, Oo = Symbol("GENERATOR"), Ti = Symbol("STYLER"), us = Symbol("IS_EMPTY"), Xc = [
|
|
9983
9983
|
"ansi",
|
|
@@ -9995,18 +9995,18 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
|
|
|
9995
9995
|
}
|
|
9996
9996
|
}, Ap = (e) => {
|
|
9997
9997
|
const t = (...r) => r.join(" ");
|
|
9998
|
-
return jy(t, e), Object.setPrototypeOf(t,
|
|
9999
|
-
}, Object.setPrototypeOf(
|
|
9998
|
+
return jy(t, e), Object.setPrototypeOf(t, Qs.prototype), t;
|
|
9999
|
+
}, Object.setPrototypeOf(Qs.prototype, Function.prototype);
|
|
10000
10000
|
for (const [e, t] of Object.entries(Br))
|
|
10001
10001
|
Ai[e] = {
|
|
10002
10002
|
get() {
|
|
10003
|
-
const r =
|
|
10003
|
+
const r = Zs(this, Bo(t.open, t.close, this[Ti]), this[us]);
|
|
10004
10004
|
return Object.defineProperty(this, e, { value: r }), r;
|
|
10005
10005
|
}
|
|
10006
10006
|
};
|
|
10007
10007
|
Ai.visible = {
|
|
10008
10008
|
get() {
|
|
10009
|
-
const e =
|
|
10009
|
+
const e = Zs(this, this[Ti], !0);
|
|
10010
10010
|
return Object.defineProperty(this, "visible", { value: e }), e;
|
|
10011
10011
|
}
|
|
10012
10012
|
}, 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 +10016,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
|
|
|
10016
10016
|
const { level: r } = this;
|
|
10017
10017
|
return function(...n) {
|
|
10018
10018
|
const i = Bo(No(e, Xc[r], "color", ...n), Br.color.close, this[Ti]);
|
|
10019
|
-
return
|
|
10019
|
+
return Zs(this, i, this[us]);
|
|
10020
10020
|
};
|
|
10021
10021
|
}
|
|
10022
10022
|
};
|
|
@@ -10026,7 +10026,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
|
|
|
10026
10026
|
const { level: r } = this;
|
|
10027
10027
|
return function(...n) {
|
|
10028
10028
|
const i = Bo(No(e, Xc[r], "bgColor", ...n), Br.bgColor.close, this[Ti]);
|
|
10029
|
-
return
|
|
10029
|
+
return Zs(this, i, this[us]);
|
|
10030
10030
|
};
|
|
10031
10031
|
}
|
|
10032
10032
|
};
|
|
@@ -10052,7 +10052,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
|
|
|
10052
10052
|
closeAll: i,
|
|
10053
10053
|
parent: r
|
|
10054
10054
|
};
|
|
10055
|
-
},
|
|
10055
|
+
}, Zs = (e, t, r) => {
|
|
10056
10056
|
const n = (...i) => Vy(n, i.length === 1 ? "" + i[0] : i.join(" "));
|
|
10057
10057
|
return Object.setPrototypeOf(n, Uy), n[Oo] = e, n[Ti] = t, n[us] = r, n;
|
|
10058
10058
|
}, Vy = (e, t) => {
|
|
@@ -10068,7 +10068,7 @@ var bu, Su, Oo, Ti, us, Xc, Ai, jy, rS, Ap, No, $y, Uy, Bo, ea, Vy, Hy, nS, Sr,
|
|
|
10068
10068
|
const s = t.indexOf(`
|
|
10069
10069
|
`);
|
|
10070
10070
|
return s !== -1 && (t = pB(t, i, n, s)), n + t + i;
|
|
10071
|
-
}, Object.defineProperties(
|
|
10071
|
+
}, Object.defineProperties(Qs.prototype, Ai), Hy = Qs(), nS = Qs({ level: Su ? Su.level : 0 }), Sr = Hy;
|
|
10072
10072
|
}
|
|
10073
10073
|
}), iS = ye({
|
|
10074
10074
|
"node_modules/semver/internal/debug.js"(e, t) {
|
|
@@ -13800,7 +13800,7 @@ ${C}`), y ? E.reset(C) : C;
|
|
|
13800
13800
|
t.exports = n;
|
|
13801
13801
|
}
|
|
13802
13802
|
}), cS = {};
|
|
13803
|
-
|
|
13803
|
+
Vs(cS, {
|
|
13804
13804
|
__debug: () => k4,
|
|
13805
13805
|
__internal: () => B4,
|
|
13806
13806
|
check: () => w4,
|
|
@@ -14626,7 +14626,7 @@ var DS = class extends di {
|
|
|
14626
14626
|
}
|
|
14627
14627
|
}
|
|
14628
14628
|
}, ES = {};
|
|
14629
|
-
|
|
14629
|
+
Vs(ES, {
|
|
14630
14630
|
ArgExpansionBailout: () => wk,
|
|
14631
14631
|
ConfigError: () => ud,
|
|
14632
14632
|
UndefinedParserError: () => xp
|
|
@@ -14646,7 +14646,7 @@ var ud = class extends Error {
|
|
|
14646
14646
|
super(...arguments);
|
|
14647
14647
|
Ut(this, "name", "ArgExpansionBailout");
|
|
14648
14648
|
}
|
|
14649
|
-
}, r0 = Fn(Gb()), Ik = (e) => e instanceof URL, bS = (e) => typeof e == "string" && e.startsWith("file://"), SS = (e) => Ik(e) || bS(e),
|
|
14649
|
+
}, 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
14650
|
function Ok(e, t) {
|
|
14651
14651
|
const r = [[], []];
|
|
14652
14652
|
for (const n of e)
|
|
@@ -14658,13 +14658,13 @@ async function Bk(e, t) {
|
|
|
14658
14658
|
const r = (t == null ? void 0 : t.allowSymlinks) ?? !0;
|
|
14659
14659
|
let n;
|
|
14660
14660
|
try {
|
|
14661
|
-
n = await (r ?
|
|
14661
|
+
n = await (r ? Ps.stat : Ps.lstat)(qs(e));
|
|
14662
14662
|
} catch {
|
|
14663
14663
|
return !1;
|
|
14664
14664
|
}
|
|
14665
14665
|
return n.isDirectory();
|
|
14666
14666
|
}
|
|
14667
|
-
var kk = Bk, n0 = (e) => Lu.resolve(
|
|
14667
|
+
var kk = Bk, n0 = (e) => Lu.resolve(qs(e));
|
|
14668
14668
|
function* Lk(e, t) {
|
|
14669
14669
|
e = n0(e);
|
|
14670
14670
|
const { root: r } = Lu.parse(e);
|
|
@@ -14695,7 +14695,7 @@ var Rk = Lk, Zu, el, Au, Oa, Fp, TS, Mk = class {
|
|
|
14695
14695
|
e,
|
|
14696
14696
|
Ui(this, Au)
|
|
14697
14697
|
))
|
|
14698
|
-
if (n.push(s), i = await
|
|
14698
|
+
if (n.push(s), i = await ps(this, Fp, TS).call(this, s, t), i)
|
|
14699
14699
|
break;
|
|
14700
14700
|
for (const s of n)
|
|
14701
14701
|
r.set(s, i);
|
|
@@ -14780,7 +14780,7 @@ CS.buffer = async () => {
|
|
|
14780
14780
|
return Buffer.concat(e, t);
|
|
14781
14781
|
};
|
|
14782
14782
|
function Jk(e, t) {
|
|
14783
|
-
return
|
|
14783
|
+
return Ps.writeFile(e, t);
|
|
14784
14784
|
}
|
|
14785
14785
|
var zk = {
|
|
14786
14786
|
getPrettierConfigSearchStopDirectory: () => {
|
|
@@ -14793,7 +14793,7 @@ async function Qk(e, t) {
|
|
|
14793
14793
|
const r = (t == null ? void 0 : t.allowSymlinks) ?? !0;
|
|
14794
14794
|
let n;
|
|
14795
14795
|
try {
|
|
14796
|
-
n = await (r ?
|
|
14796
|
+
n = await (r ? Ps.stat : Ps.lstat)(qs(e));
|
|
14797
14797
|
} catch {
|
|
14798
14798
|
return !1;
|
|
14799
14799
|
}
|
|
@@ -15372,7 +15372,7 @@ function Vi(e) {
|
|
|
15372
15372
|
function ir(e) {
|
|
15373
15373
|
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
15374
15374
|
}
|
|
15375
|
-
function
|
|
15375
|
+
function ms(e) {
|
|
15376
15376
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
15377
15377
|
}
|
|
15378
15378
|
function TR(e) {
|
|
@@ -15450,7 +15450,7 @@ function l0(e, t, r, n) {
|
|
|
15450
15450
|
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
15451
|
s = i[a], ei.call(t, s) || (t[s] = r[s], n[s] = !0);
|
|
15452
15452
|
}
|
|
15453
|
-
function
|
|
15453
|
+
function ys(e, t, r, n, i, s, a, o, u) {
|
|
15454
15454
|
var l, c;
|
|
15455
15455
|
if (Array.isArray(i))
|
|
15456
15456
|
for (i = Array.prototype.slice.call(i), l = 0, c = i.length; l < c; l += 1)
|
|
@@ -15500,17 +15500,17 @@ function pd(e, t) {
|
|
|
15500
15500
|
}
|
|
15501
15501
|
function xR(e, t, r) {
|
|
15502
15502
|
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) ||
|
|
15503
|
+
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
15504
|
return !1;
|
|
15505
15505
|
for (e.kind = "scalar", e.result = "", s = a = e.position, o = !1; h !== 0; ) {
|
|
15506
15506
|
if (h === 58) {
|
|
15507
|
-
if (i = e.input.charCodeAt(e.position + 1), ir(i) || r &&
|
|
15507
|
+
if (i = e.input.charCodeAt(e.position + 1), ir(i) || r && ms(i))
|
|
15508
15508
|
break;
|
|
15509
15509
|
} else if (h === 35) {
|
|
15510
15510
|
if (n = e.input.charCodeAt(e.position - 1), ir(n))
|
|
15511
15511
|
break;
|
|
15512
15512
|
} else {
|
|
15513
|
-
if (e.position === e.lineStart && Ll(e) || r &&
|
|
15513
|
+
if (e.position === e.lineStart && Ll(e) || r && ms(h))
|
|
15514
15514
|
break;
|
|
15515
15515
|
if (rn(h))
|
|
15516
15516
|
if (u = e.line, l = e.lineStart, c = e.lineIndent, It(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -15572,7 +15572,7 @@ function IR(e, t) {
|
|
|
15572
15572
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = o), y = e.input.charCodeAt(++e.position); y !== 0; ) {
|
|
15573
15573
|
if (It(e, !0, t), y = e.input.charCodeAt(e.position), y === c)
|
|
15574
15574
|
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,
|
|
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, 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
15576
|
}
|
|
15577
15577
|
Le(e, "unexpected end of the stream within a flow collection");
|
|
15578
15578
|
}
|
|
@@ -15631,7 +15631,7 @@ function c0(e, t) {
|
|
|
15631
15631
|
s.push(null), u = e.input.charCodeAt(e.position);
|
|
15632
15632
|
continue;
|
|
15633
15633
|
}
|
|
15634
|
-
if (r = e.line,
|
|
15634
|
+
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
15635
|
Le(e, "bad indentation of a sequence entry");
|
|
15636
15636
|
else if (e.lineIndent < t)
|
|
15637
15637
|
break;
|
|
@@ -15643,15 +15643,15 @@ function NR(e, t, r) {
|
|
|
15643
15643
|
if (e.firstTabInLine !== -1) return !1;
|
|
15644
15644
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = f), y = e.input.charCodeAt(e.position); y !== 0; ) {
|
|
15645
15645
|
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 && (
|
|
15646
|
+
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
15647
|
else {
|
|
15648
|
-
if (a = e.line, o = e.lineStart, u = e.position, !
|
|
15648
|
+
if (a = e.line, o = e.lineStart, u = e.position, !Ls(e, r, wS, !1, !0))
|
|
15649
15649
|
break;
|
|
15650
15650
|
if (e.line === s) {
|
|
15651
15651
|
for (y = e.input.charCodeAt(e.position); Vi(y); )
|
|
15652
15652
|
y = e.input.charCodeAt(++e.position);
|
|
15653
15653
|
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 && (
|
|
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 && (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
15655
|
else if (D)
|
|
15656
15656
|
Le(e, "can not read an implicit mapping pair; a colon is missed");
|
|
15657
15657
|
else
|
|
@@ -15661,12 +15661,12 @@ function NR(e, t, r) {
|
|
|
15661
15661
|
else
|
|
15662
15662
|
return e.tag = l, e.anchor = c, !0;
|
|
15663
15663
|
}
|
|
15664
|
-
if ((e.line === s || e.lineIndent > t) && (g && (a = e.line, o = e.lineStart, u = e.position),
|
|
15664
|
+
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
15665
|
Le(e, "bad indentation of a mapping entry");
|
|
15666
15666
|
else if (e.lineIndent < t)
|
|
15667
15667
|
break;
|
|
15668
15668
|
}
|
|
15669
|
-
return g &&
|
|
15669
|
+
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
15670
|
}
|
|
15671
15671
|
function BR(e) {
|
|
15672
15672
|
var t, r = !1, n = !1, i, s, a;
|
|
@@ -15692,18 +15692,18 @@ function BR(e) {
|
|
|
15692
15692
|
function kR(e) {
|
|
15693
15693
|
var t, r;
|
|
15694
15694
|
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) && !
|
|
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) && !ms(r); )
|
|
15696
15696
|
r = e.input.charCodeAt(++e.position);
|
|
15697
15697
|
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
15698
|
}
|
|
15699
15699
|
function LR(e) {
|
|
15700
15700
|
var t, r, n;
|
|
15701
15701
|
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) && !
|
|
15702
|
+
for (n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ir(n) && !ms(n); )
|
|
15703
15703
|
n = e.input.charCodeAt(++e.position);
|
|
15704
15704
|
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
15705
|
}
|
|
15706
|
-
function
|
|
15706
|
+
function Ls(e, t, r, n, i) {
|
|
15707
15707
|
var s, a, o, u = 1, l = !1, c = !1, f, p, h, d, m, g;
|
|
15708
15708
|
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
15709
|
for (; BR(e) || kR(e); )
|
|
@@ -15750,7 +15750,7 @@ function RR(e) {
|
|
|
15750
15750
|
}
|
|
15751
15751
|
a !== 0 && fd(e), ei.call(u0, n) ? u0[n](e, n, i) : nl(e, 'unknown document directive "' + n + '"');
|
|
15752
15752
|
}
|
|
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"),
|
|
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"), 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
15754
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, It(e, !0, -1));
|
|
15755
15755
|
return;
|
|
15756
15756
|
}
|
|
@@ -16544,7 +16544,7 @@ function oM(e, t, r) {
|
|
|
16544
16544
|
async function uM(e) {
|
|
16545
16545
|
bS(e) && (e = new URL(e));
|
|
16546
16546
|
try {
|
|
16547
|
-
return await
|
|
16547
|
+
return await Ps.readFile(e, "utf8");
|
|
16548
16548
|
} catch (t) {
|
|
16549
16549
|
if (t.code === "ENOENT")
|
|
16550
16550
|
return;
|
|
@@ -16885,14 +16885,14 @@ function TM(e) {
|
|
|
16885
16885
|
let t = Gf(e, { colors: !1 });
|
|
16886
16886
|
return t.length > 28 && (t = `${t.slice(0, 25)}...`), `type ${typeof e} (${t})`;
|
|
16887
16887
|
}
|
|
16888
|
-
var
|
|
16888
|
+
var ea = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: AM } = Vt, y0 = /* @__PURE__ */ new Map();
|
|
16889
16889
|
function KS(e, { base: t, specifier: r }) {
|
|
16890
16890
|
const n = y0.get(e);
|
|
16891
16891
|
if (n)
|
|
16892
16892
|
return n;
|
|
16893
16893
|
let i;
|
|
16894
16894
|
try {
|
|
16895
|
-
i =
|
|
16895
|
+
i = Cs.readFileSync(Oe.toNamespacedPath(e), "utf8");
|
|
16896
16896
|
} catch (a) {
|
|
16897
16897
|
const o = (
|
|
16898
16898
|
/** @type {ErrnoException} */
|
|
@@ -16926,7 +16926,7 @@ function KS(e, { base: t, specifier: r }) {
|
|
|
16926
16926
|
);
|
|
16927
16927
|
throw l.cause = u, l;
|
|
16928
16928
|
}
|
|
16929
|
-
s.exists = !0,
|
|
16929
|
+
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
16930
|
}
|
|
16931
16931
|
return y0.set(e, s), s;
|
|
16932
16932
|
}
|
|
@@ -17265,7 +17265,7 @@ function XM(e) {
|
|
|
17265
17265
|
const t = Number(e);
|
|
17266
17266
|
return `${t}` !== e ? !1 : t >= 0 && t < 4294967295;
|
|
17267
17267
|
}
|
|
17268
|
-
function
|
|
17268
|
+
function Rs(e, t, r, n, i, s, a, o, u) {
|
|
17269
17269
|
if (typeof t == "string")
|
|
17270
17270
|
return YM(
|
|
17271
17271
|
t,
|
|
@@ -17286,7 +17286,7 @@ function Ms(e, t, r, n, i, s, a, o, u) {
|
|
|
17286
17286
|
const p = l[f];
|
|
17287
17287
|
let h;
|
|
17288
17288
|
try {
|
|
17289
|
-
h =
|
|
17289
|
+
h = Rs(
|
|
17290
17290
|
e,
|
|
17291
17291
|
p,
|
|
17292
17292
|
r,
|
|
@@ -17335,7 +17335,7 @@ function Ms(e, t, r, n, i, s, a, o, u) {
|
|
|
17335
17335
|
const p = (
|
|
17336
17336
|
/** @type {unknown} */
|
|
17337
17337
|
t[f]
|
|
17338
|
-
), h =
|
|
17338
|
+
), h = Rs(
|
|
17339
17339
|
e,
|
|
17340
17340
|
p,
|
|
17341
17341
|
r,
|
|
@@ -17393,7 +17393,7 @@ function zM(e, t, r) {
|
|
|
17393
17393
|
function P0(e, t, r, n, i) {
|
|
17394
17394
|
let s = r.exports;
|
|
17395
17395
|
if (JM(s, e, n) && (s = { ".": s }), XS.call(s, t) && !t.includes("*") && !t.endsWith("/")) {
|
|
17396
|
-
const c = s[t], f =
|
|
17396
|
+
const c = s[t], f = Rs(
|
|
17397
17397
|
e,
|
|
17398
17398
|
c,
|
|
17399
17399
|
"",
|
|
@@ -17430,7 +17430,7 @@ function P0(e, t, r, n, i) {
|
|
|
17430
17430
|
const c = (
|
|
17431
17431
|
/** @type {unknown} */
|
|
17432
17432
|
s[a]
|
|
17433
|
-
), f =
|
|
17433
|
+
), f = Rs(
|
|
17434
17434
|
e,
|
|
17435
17435
|
c,
|
|
17436
17436
|
o,
|
|
@@ -17463,7 +17463,7 @@ function QM(e, t, r) {
|
|
|
17463
17463
|
const s = i.imports;
|
|
17464
17464
|
if (s)
|
|
17465
17465
|
if (XS.call(s, e) && !e.includes("*")) {
|
|
17466
|
-
const a =
|
|
17466
|
+
const a = Rs(
|
|
17467
17467
|
n,
|
|
17468
17468
|
s[e],
|
|
17469
17469
|
"",
|
|
@@ -17491,7 +17491,7 @@ function QM(e, t, r) {
|
|
|
17491
17491
|
}
|
|
17492
17492
|
}
|
|
17493
17493
|
if (a) {
|
|
17494
|
-
const c = s[a], f =
|
|
17494
|
+
const c = s[a], f = Rs(
|
|
17495
17495
|
n,
|
|
17496
17496
|
c,
|
|
17497
17497
|
o,
|
|
@@ -17756,7 +17756,7 @@ async function b6(e, t) {
|
|
|
17756
17756
|
}
|
|
17757
17757
|
async function tv(e, t) {
|
|
17758
17758
|
t = { useCache: !0, ...t };
|
|
17759
|
-
const r =
|
|
17759
|
+
const r = qs(e), [n, i] = await Promise.all([
|
|
17760
17760
|
b6(r, t),
|
|
17761
17761
|
E6(r, t)
|
|
17762
17762
|
]);
|
|
@@ -17771,7 +17771,7 @@ async function tv(e, t) {
|
|
|
17771
17771
|
)), s;
|
|
17772
17772
|
}
|
|
17773
17773
|
async function S6(e) {
|
|
17774
|
-
const t = e ? Oe.dirname(Oe.resolve(
|
|
17774
|
+
const t = e ? Oe.dirname(Oe.resolve(qs(e))) : void 0;
|
|
17775
17775
|
return await ev(t, { shouldCache: !1 }) ?? null;
|
|
17776
17776
|
}
|
|
17777
17777
|
function v6(e, t) {
|
|
@@ -17813,7 +17813,7 @@ var A6 = (e, t, r, n) => {
|
|
|
17813
17813
|
"/"
|
|
17814
17814
|
) : (e) => e;
|
|
17815
17815
|
function x6(e, t) {
|
|
17816
|
-
const r =
|
|
17816
|
+
const r = qs(t), n = SS(e) ? FP.fileURLToPath(e) : Oe.resolve(e);
|
|
17817
17817
|
return Oe.relative(
|
|
17818
17818
|
// If there's an ignore-path set, the filename must be relative to the
|
|
17819
17819
|
// ignore path, not the current working directory.
|
|
@@ -17847,7 +17847,7 @@ var I6 = Fn(KB());
|
|
|
17847
17847
|
function O6(e) {
|
|
17848
17848
|
let t;
|
|
17849
17849
|
try {
|
|
17850
|
-
t =
|
|
17850
|
+
t = Cs.openSync(e, "r");
|
|
17851
17851
|
} catch {
|
|
17852
17852
|
return;
|
|
17853
17853
|
}
|
|
@@ -17860,7 +17860,7 @@ function O6(e) {
|
|
|
17860
17860
|
return s[1];
|
|
17861
17861
|
} finally {
|
|
17862
17862
|
try {
|
|
17863
|
-
|
|
17863
|
+
Cs.closeSync(t);
|
|
17864
17864
|
} catch {
|
|
17865
17865
|
}
|
|
17866
17866
|
}
|
|
@@ -18014,7 +18014,7 @@ var K6 = class extends Error {
|
|
|
18014
18014
|
Ut(this, "name", "InvalidDocError");
|
|
18015
18015
|
this.doc = t;
|
|
18016
18016
|
}
|
|
18017
|
-
},
|
|
18017
|
+
}, Ms = K6, x0 = {};
|
|
18018
18018
|
function W6(e, t, r, n) {
|
|
18019
18019
|
const i = [e];
|
|
18020
18020
|
for (; i.length > 0; ) {
|
|
@@ -18026,7 +18026,7 @@ function W6(e, t, r, n) {
|
|
|
18026
18026
|
r && i.push(s, x0);
|
|
18027
18027
|
const a = Qi(s);
|
|
18028
18028
|
if (!a)
|
|
18029
|
-
throw new
|
|
18029
|
+
throw new Ms(s);
|
|
18030
18030
|
if ((t == null ? void 0 : t(s)) !== !1)
|
|
18031
18031
|
switch (a) {
|
|
18032
18032
|
case xn:
|
|
@@ -18061,7 +18061,7 @@ function W6(e, t, r, n) {
|
|
|
18061
18061
|
case $r:
|
|
18062
18062
|
break;
|
|
18063
18063
|
default:
|
|
18064
|
-
throw new
|
|
18064
|
+
throw new Ms(s);
|
|
18065
18065
|
}
|
|
18066
18066
|
}
|
|
18067
18067
|
}
|
|
@@ -18078,7 +18078,7 @@ function Y6(e) {
|
|
|
18078
18078
|
function w0(e) {
|
|
18079
18079
|
return { type: On, contents: e };
|
|
18080
18080
|
}
|
|
18081
|
-
var ov = { type: $r }, uv = { type: Cr, hard: !0 }, X6 = { type: Cr },
|
|
18081
|
+
var ov = { type: $r }, uv = { type: Cr, hard: !0 }, X6 = { type: Cr }, Ss = [uv, ov], I0 = { type: zi };
|
|
18082
18082
|
function J6(e, t, r) {
|
|
18083
18083
|
let n = e;
|
|
18084
18084
|
if (t > 0) {
|
|
@@ -18252,7 +18252,7 @@ function s8(e, t) {
|
|
|
18252
18252
|
case $r:
|
|
18253
18253
|
return t(s);
|
|
18254
18254
|
default:
|
|
18255
|
-
throw new
|
|
18255
|
+
throw new Ms(s);
|
|
18256
18256
|
}
|
|
18257
18257
|
}
|
|
18258
18258
|
}
|
|
@@ -18348,7 +18348,7 @@ function La(e) {
|
|
|
18348
18348
|
case $r:
|
|
18349
18349
|
break;
|
|
18350
18350
|
default:
|
|
18351
|
-
throw new
|
|
18351
|
+
throw new Ms(e);
|
|
18352
18352
|
}
|
|
18353
18353
|
return e;
|
|
18354
18354
|
}
|
|
@@ -18402,7 +18402,7 @@ function u8(e) {
|
|
|
18402
18402
|
case $r:
|
|
18403
18403
|
break;
|
|
18404
18404
|
default:
|
|
18405
|
-
throw new
|
|
18405
|
+
throw new Ms(e);
|
|
18406
18406
|
}
|
|
18407
18407
|
return e;
|
|
18408
18408
|
}
|
|
@@ -18828,7 +18828,7 @@ function Ed(e, t) {
|
|
|
18828
18828
|
case $r:
|
|
18829
18829
|
break;
|
|
18830
18830
|
default:
|
|
18831
|
-
throw new
|
|
18831
|
+
throw new Ms(d);
|
|
18832
18832
|
}
|
|
18833
18833
|
a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
|
|
18834
18834
|
}
|
|
@@ -18946,7 +18946,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
|
|
|
18946
18946
|
}
|
|
18947
18947
|
/** @type {object[]} */
|
|
18948
18948
|
get ancestors() {
|
|
18949
|
-
return [...
|
|
18949
|
+
return [...ps(this, Ii, Fu).call(this)];
|
|
18950
18950
|
}
|
|
18951
18951
|
// The name of the current property is always the penultimate element of
|
|
18952
18952
|
// this.stack, and always a string/number/symbol.
|
|
@@ -18974,7 +18974,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
|
|
|
18974
18974
|
);
|
|
18975
18975
|
}
|
|
18976
18976
|
getNode(e = 0) {
|
|
18977
|
-
const t =
|
|
18977
|
+
const t = ps(this, Ii, Mp).call(this, e);
|
|
18978
18978
|
return t === -1 ? null : this.stack[t];
|
|
18979
18979
|
}
|
|
18980
18980
|
getParentNode(e = 0) {
|
|
@@ -19012,7 +19012,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
|
|
|
19012
19012
|
* @returns {ReturnType<T>}
|
|
19013
19013
|
*/
|
|
19014
19014
|
callParent(e, t = 0) {
|
|
19015
|
-
const r =
|
|
19015
|
+
const r = ps(this, Ii, Mp).call(this, t + 1), n = this.stack.splice(r + 1);
|
|
19016
19016
|
try {
|
|
19017
19017
|
return e(this);
|
|
19018
19018
|
} finally {
|
|
@@ -19079,7 +19079,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
|
|
|
19079
19079
|
* @internal Unstable API. Don't use in plugins for now.
|
|
19080
19080
|
*/
|
|
19081
19081
|
findAncestor(e) {
|
|
19082
|
-
for (const t of
|
|
19082
|
+
for (const t of ps(this, Ii, Fu).call(this))
|
|
19083
19083
|
if (e(t))
|
|
19084
19084
|
return t;
|
|
19085
19085
|
}
|
|
@@ -19092,7 +19092,7 @@ var bd = p8, Ii, Mp, Fu, h8 = class {
|
|
|
19092
19092
|
* @internal Unstable API. Don't use in plugins for now.
|
|
19093
19093
|
*/
|
|
19094
19094
|
hasAncestor(e) {
|
|
19095
|
-
for (const t of
|
|
19095
|
+
for (const t of ps(this, Ii, Fu).call(this))
|
|
19096
19096
|
if (e(t))
|
|
19097
19097
|
return !0;
|
|
19098
19098
|
return !1;
|
|
@@ -19217,13 +19217,13 @@ function A8(e) {
|
|
|
19217
19217
|
function Sd(e, t) {
|
|
19218
19218
|
(e.comments ?? (e.comments = [])).push(t), t.printed = !1, t.nodeDescription = A8(e);
|
|
19219
19219
|
}
|
|
19220
|
-
function
|
|
19220
|
+
function gs(e, t) {
|
|
19221
19221
|
t.leading = !0, t.trailing = !1, Sd(e, t);
|
|
19222
19222
|
}
|
|
19223
19223
|
function Oi(e, t, r) {
|
|
19224
19224
|
t.leading = !1, t.trailing = !1, r && (t.marker = r), Sd(e, t);
|
|
19225
19225
|
}
|
|
19226
|
-
function
|
|
19226
|
+
function Ds(e, t) {
|
|
19227
19227
|
t.leading = !1, t.trailing = !0, Sd(e, t);
|
|
19228
19228
|
}
|
|
19229
19229
|
var lf = /* @__PURE__ */ new WeakMap();
|
|
@@ -19320,23 +19320,23 @@ function C8(e, t) {
|
|
|
19320
19320
|
} = d;
|
|
19321
19321
|
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
19322
|
if (i(m) - i(A) <= 0) {
|
|
19323
|
-
|
|
19323
|
+
gs(A, m);
|
|
19324
19324
|
continue;
|
|
19325
19325
|
}
|
|
19326
19326
|
if (s(m) - s(A) >= 0) {
|
|
19327
|
-
|
|
19327
|
+
Ds(A, m);
|
|
19328
19328
|
continue;
|
|
19329
19329
|
}
|
|
19330
19330
|
}
|
|
19331
19331
|
let w;
|
|
19332
19332
|
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 ?
|
|
19333
|
+
m.placement = "ownLine", l(...w) || (y ? gs(y, m) : g ? Ds(g, m) : Oi(D || A, m));
|
|
19334
19334
|
else if (_8(E, N, p, h))
|
|
19335
|
-
m.placement = "endOfLine", c(...w) || (g ?
|
|
19335
|
+
m.placement = "endOfLine", c(...w) || (g ? Ds(g, m) : y ? gs(y, m) : Oi(D || A, m));
|
|
19336
19336
|
else if (m.placement = "remaining", !f(...w)) if (g && y) {
|
|
19337
19337
|
const x = n.length;
|
|
19338
19338
|
x > 0 && n[x - 1].followingNode !== y && B0(n, N), n.push(d);
|
|
19339
|
-
} else g ?
|
|
19339
|
+
} else g ? Ds(g, m) : y ? gs(y, m) : Oi(D || A, m);
|
|
19340
19340
|
}
|
|
19341
19341
|
if (B0(n, t), !a)
|
|
19342
19342
|
for (const h of r)
|
|
@@ -19388,7 +19388,7 @@ function B0(e, t) {
|
|
|
19388
19388
|
break;
|
|
19389
19389
|
}
|
|
19390
19390
|
for (const [l, { comment: c }] of e.entries())
|
|
19391
|
-
l < u ?
|
|
19391
|
+
l < u ? Ds(s, c) : gs(a, c);
|
|
19392
19392
|
for (const l of [s, a])
|
|
19393
19393
|
l.comments && l.comments.length > 1 && l.comments.sort((c, f) => t.locStart(c) - t.locStart(f));
|
|
19394
19394
|
e.length = 0;
|
|
@@ -19417,15 +19417,15 @@ function F8(e, t) {
|
|
|
19417
19417
|
if ((r = s.isBlockComment) == null ? void 0 : r.call(s, n)) {
|
|
19418
19418
|
const f = zn(a, u(n)) ? zn(a, o(n), {
|
|
19419
19419
|
backwards: !0
|
|
19420
|
-
}) ?
|
|
19420
|
+
}) ? Ss : X6 : " ";
|
|
19421
19421
|
i.push(f);
|
|
19422
19422
|
} else
|
|
19423
|
-
i.push(
|
|
19423
|
+
i.push(Ss);
|
|
19424
19424
|
const c = Ki(
|
|
19425
19425
|
a,
|
|
19426
19426
|
ri(a, u(n))
|
|
19427
19427
|
);
|
|
19428
|
-
return c !== !1 && zn(a, c) && i.push(
|
|
19428
|
+
return c !== !1 && zn(a, c) && i.push(Ss), i;
|
|
19429
19429
|
}
|
|
19430
19430
|
function w8(e, t, r) {
|
|
19431
19431
|
var n;
|
|
@@ -19436,7 +19436,7 @@ function w8(e, t, r) {
|
|
|
19436
19436
|
u(i)
|
|
19437
19437
|
);
|
|
19438
19438
|
return {
|
|
19439
|
-
doc: w0([
|
|
19439
|
+
doc: w0([Ss, c ? Ss : "", s]),
|
|
19440
19440
|
isBlock: l,
|
|
19441
19441
|
hasLineSuffix: !0
|
|
19442
19442
|
};
|
|
@@ -20022,7 +20022,7 @@ async function q8(e, t = {}) {
|
|
|
20022
20022
|
...t
|
|
20023
20023
|
});
|
|
20024
20024
|
}
|
|
20025
|
-
var
|
|
20025
|
+
var Ks = q8, K8 = Fn(lS());
|
|
20026
20026
|
async function W8(e, t) {
|
|
20027
20027
|
const r = await Tv(t), n = r.preprocess ? r.preprocess(e, t) : e;
|
|
20028
20028
|
t.originalText = n;
|
|
@@ -20104,7 +20104,7 @@ async function Y8(e, t, r, n, i) {
|
|
|
20104
20104
|
}
|
|
20105
20105
|
}
|
|
20106
20106
|
async function X8(e, t, r, n) {
|
|
20107
|
-
const i = await
|
|
20107
|
+
const i = await Ks(
|
|
20108
20108
|
{
|
|
20109
20109
|
...r,
|
|
20110
20110
|
...t,
|
|
@@ -20360,7 +20360,7 @@ async function xv(e, t, r = 0) {
|
|
|
20360
20360
|
} = await io(e, t);
|
|
20361
20361
|
t.cursorOffset >= 0 && (t.cursorNode = Z8(n, t));
|
|
20362
20362
|
let s = await jl(n, t);
|
|
20363
|
-
r > 0 && (s = J6([
|
|
20363
|
+
r > 0 && (s = J6([Ss, s], r, t.tabWidth));
|
|
20364
20364
|
const a = Ed(s, t);
|
|
20365
20365
|
if (r > 0) {
|
|
20366
20366
|
const u = a.formatted.trim();
|
|
@@ -20488,7 +20488,7 @@ async function wv(e, t) {
|
|
|
20488
20488
|
hasBOM: r,
|
|
20489
20489
|
text: n,
|
|
20490
20490
|
options: i
|
|
20491
|
-
} = Fv(e, await
|
|
20491
|
+
} = Fv(e, await Ks(t));
|
|
20492
20492
|
if (i.rangeStart >= i.rangeEnd && n !== "" || i.requirePragma && !await $0(n, i))
|
|
20493
20493
|
return {
|
|
20494
20494
|
formatted: e,
|
|
@@ -20502,11 +20502,11 @@ async function f9(e, t, r) {
|
|
|
20502
20502
|
const {
|
|
20503
20503
|
text: n,
|
|
20504
20504
|
options: i
|
|
20505
|
-
} = Fv(e, await
|
|
20505
|
+
} = Fv(e, await Ks(t)), s = await io(n, i);
|
|
20506
20506
|
return r && (r.preprocessForPrint && (s.ast = await Cv(s.ast, i)), r.massage && (s.ast = t9(s.ast, i))), s;
|
|
20507
20507
|
}
|
|
20508
20508
|
async function p9(e, t) {
|
|
20509
|
-
t = await
|
|
20509
|
+
t = await Ks(t);
|
|
20510
20510
|
const r = await jl(e, t);
|
|
20511
20511
|
return Ed(r, t);
|
|
20512
20512
|
}
|
|
@@ -20520,17 +20520,17 @@ async function h9(e, t) {
|
|
|
20520
20520
|
return n;
|
|
20521
20521
|
}
|
|
20522
20522
|
async function d9(e, t) {
|
|
20523
|
-
t = await
|
|
20523
|
+
t = await Ks(t);
|
|
20524
20524
|
const {
|
|
20525
20525
|
ast: r
|
|
20526
20526
|
} = await io(e, t);
|
|
20527
20527
|
return jl(r, t);
|
|
20528
20528
|
}
|
|
20529
20529
|
async function m9(e, t) {
|
|
20530
|
-
return Ed(e, await
|
|
20530
|
+
return Ed(e, await Ks(t));
|
|
20531
20531
|
}
|
|
20532
20532
|
var Iv = {};
|
|
20533
|
-
|
|
20533
|
+
Vs(Iv, {
|
|
20534
20534
|
CATEGORY_CONFIG: () => y9,
|
|
20535
20535
|
CATEGORY_EDITOR: () => g9,
|
|
20536
20536
|
CATEGORY_FORMAT: () => D9,
|
|
@@ -20540,7 +20540,7 @@ Hs(Iv, {
|
|
|
20540
20540
|
CATEGORY_SPECIAL: () => v9
|
|
20541
20541
|
});
|
|
20542
20542
|
var y9 = "Config", g9 = "Editor", D9 = "Format", E9 = "Other", b9 = "Output", S9 = "Global", v9 = "Special", Ov = {};
|
|
20543
|
-
|
|
20543
|
+
Vs(Ov, {
|
|
20544
20544
|
languages: () => K9,
|
|
20545
20545
|
options: () => q9,
|
|
20546
20546
|
parsers: () => W9,
|
|
@@ -21529,10 +21529,10 @@ function i4(e, t) {
|
|
|
21529
21529
|
);
|
|
21530
21530
|
}
|
|
21531
21531
|
var s4 = i4, a4 = "3.3.3", Nv = {};
|
|
21532
|
-
|
|
21532
|
+
Vs(Nv, {
|
|
21533
21533
|
addDanglingComment: () => Oi,
|
|
21534
|
-
addLeadingComment: () =>
|
|
21535
|
-
addTrailingComment: () =>
|
|
21534
|
+
addLeadingComment: () => gs,
|
|
21535
|
+
addTrailingComment: () => Ds,
|
|
21536
21536
|
getAlignmentSize: () => bd,
|
|
21537
21537
|
getIndentSize: () => p4,
|
|
21538
21538
|
getMaxContinuousCount: () => m4,
|
|
@@ -21728,8 +21728,8 @@ var O4 = Kn(j6), N4 = Kn(Ad, 0), B4 = {
|
|
|
21728
21728
|
printToDoc: Kn(d9),
|
|
21729
21729
|
printDocToString: Kn(m9),
|
|
21730
21730
|
mockable: ld
|
|
21731
|
-
}, L4 = cS,
|
|
21732
|
-
Object.defineProperty(
|
|
21731
|
+
}, L4 = cS, Ws = {};
|
|
21732
|
+
Object.defineProperty(Ws, "__esModule", {
|
|
21733
21733
|
value: !0
|
|
21734
21734
|
});
|
|
21735
21735
|
function R4(e, t) {
|
|
@@ -22119,13 +22119,13 @@ const te = Object.assign({}, An(M4), An(j4), An($4), An`pipelineOperator`(V4)),
|
|
|
22119
22119
|
value: e[t]
|
|
22120
22120
|
});
|
|
22121
22121
|
};
|
|
22122
|
-
function
|
|
22122
|
+
function ta(e) {
|
|
22123
22123
|
return K0(e.loc.start, "index"), K0(e.loc.end, "index"), e;
|
|
22124
22124
|
}
|
|
22125
22125
|
var W4 = (e) => class extends e {
|
|
22126
22126
|
parse() {
|
|
22127
|
-
const r =
|
|
22128
|
-
return this.options.tokens && (r.tokens = r.tokens.map(
|
|
22127
|
+
const r = ta(super.parse());
|
|
22128
|
+
return this.options.tokens && (r.tokens = r.tokens.map(ta)), r;
|
|
22129
22129
|
}
|
|
22130
22130
|
parseRegExpLiteral({
|
|
22131
22131
|
pattern: r,
|
|
@@ -22318,13 +22318,13 @@ var W4 = (e) => class extends e {
|
|
|
22318
22318
|
return r.type === "Property" && (r.method || r.kind === "get" || r.kind === "set");
|
|
22319
22319
|
}
|
|
22320
22320
|
finishNodeAt(r, n, i) {
|
|
22321
|
-
return
|
|
22321
|
+
return ta(super.finishNodeAt(r, n, i));
|
|
22322
22322
|
}
|
|
22323
22323
|
resetStartLocation(r, n) {
|
|
22324
|
-
super.resetStartLocation(r, n),
|
|
22324
|
+
super.resetStartLocation(r, n), ta(r);
|
|
22325
22325
|
}
|
|
22326
22326
|
resetEndLocation(r, n = this.state.lastTokEndLoc) {
|
|
22327
|
-
super.resetEndLocation(r, n),
|
|
22327
|
+
super.resetEndLocation(r, n), ta(r);
|
|
22328
22328
|
}
|
|
22329
22329
|
};
|
|
22330
22330
|
class Ea {
|
|
@@ -22339,7 +22339,7 @@ const ft = {
|
|
|
22339
22339
|
j_expr: new Ea("<tag>...</tag>", !0)
|
|
22340
22340
|
};
|
|
22341
22341
|
ft.template = new Ea("`", !0);
|
|
22342
|
-
const ze = !0, Te = !0, df = !0,
|
|
22342
|
+
const ze = !0, Te = !0, df = !0, ra = !0, Mn = !0, G4 = !0;
|
|
22343
22343
|
class Lv {
|
|
22344
22344
|
constructor(t, r = {}) {
|
|
22345
22345
|
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 +22446,23 @@ const Y4 = {
|
|
|
22446
22446
|
interpreterDirective: ke("#!..."),
|
|
22447
22447
|
eq: ke("=", {
|
|
22448
22448
|
beforeExpr: ze,
|
|
22449
|
-
isAssign:
|
|
22449
|
+
isAssign: ra
|
|
22450
22450
|
}),
|
|
22451
22451
|
assign: ke("_=", {
|
|
22452
22452
|
beforeExpr: ze,
|
|
22453
|
-
isAssign:
|
|
22453
|
+
isAssign: ra
|
|
22454
22454
|
}),
|
|
22455
22455
|
slashAssign: ke("_=", {
|
|
22456
22456
|
beforeExpr: ze,
|
|
22457
|
-
isAssign:
|
|
22457
|
+
isAssign: ra
|
|
22458
22458
|
}),
|
|
22459
22459
|
xorAssign: ke("_=", {
|
|
22460
22460
|
beforeExpr: ze,
|
|
22461
|
-
isAssign:
|
|
22461
|
+
isAssign: ra
|
|
22462
22462
|
}),
|
|
22463
22463
|
moduloAssign: ke("_=", {
|
|
22464
22464
|
beforeExpr: ze,
|
|
22465
|
-
isAssign:
|
|
22465
|
+
isAssign: ra
|
|
22466
22466
|
}),
|
|
22467
22467
|
incDec: ke("++/--", {
|
|
22468
22468
|
prefix: Mn,
|
|
@@ -22846,7 +22846,7 @@ function Vp(e, t) {
|
|
|
22846
22846
|
function vn(e) {
|
|
22847
22847
|
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
22848
|
}
|
|
22849
|
-
function
|
|
22849
|
+
function vs(e) {
|
|
22850
22850
|
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
22851
|
}
|
|
22852
22852
|
const Rd = {
|
|
@@ -23048,7 +23048,7 @@ function D5(e, t) {
|
|
|
23048
23048
|
function Ka(e, t) {
|
|
23049
23049
|
e.innerComments === void 0 ? e.innerComments = t : e.innerComments.unshift(...t);
|
|
23050
23050
|
}
|
|
23051
|
-
function
|
|
23051
|
+
function na(e, t, r) {
|
|
23052
23052
|
let n = null, i = t.length;
|
|
23053
23053
|
for (; n === null && i > 0; )
|
|
23054
23054
|
n = t[--i];
|
|
@@ -23099,11 +23099,11 @@ class E5 extends g5 {
|
|
|
23099
23099
|
case "ObjectExpression":
|
|
23100
23100
|
case "ObjectPattern":
|
|
23101
23101
|
case "RecordExpression":
|
|
23102
|
-
|
|
23102
|
+
na(n, n.properties, t);
|
|
23103
23103
|
break;
|
|
23104
23104
|
case "CallExpression":
|
|
23105
23105
|
case "OptionalCallExpression":
|
|
23106
|
-
|
|
23106
|
+
na(n, n.arguments, t);
|
|
23107
23107
|
break;
|
|
23108
23108
|
case "FunctionDeclaration":
|
|
23109
23109
|
case "FunctionExpression":
|
|
@@ -23111,16 +23111,16 @@ class E5 extends g5 {
|
|
|
23111
23111
|
case "ObjectMethod":
|
|
23112
23112
|
case "ClassMethod":
|
|
23113
23113
|
case "ClassPrivateMethod":
|
|
23114
|
-
|
|
23114
|
+
na(n, n.params, t);
|
|
23115
23115
|
break;
|
|
23116
23116
|
case "ArrayExpression":
|
|
23117
23117
|
case "ArrayPattern":
|
|
23118
23118
|
case "TupleExpression":
|
|
23119
|
-
|
|
23119
|
+
na(n, n.elements, t);
|
|
23120
23120
|
break;
|
|
23121
23121
|
case "ExportNamedDeclaration":
|
|
23122
23122
|
case "ImportDeclaration":
|
|
23123
|
-
|
|
23123
|
+
na(n, n.specifiers, t);
|
|
23124
23124
|
break;
|
|
23125
23125
|
default:
|
|
23126
23126
|
Ka(n, r);
|
|
@@ -23173,7 +23173,7 @@ class E5 extends g5 {
|
|
|
23173
23173
|
}
|
|
23174
23174
|
}
|
|
23175
23175
|
const b5 = /\r\n|[\r\n\u2028\u2029]/, jo = new RegExp(b5.source, "g");
|
|
23176
|
-
function
|
|
23176
|
+
function Ts(e) {
|
|
23177
23177
|
switch (e) {
|
|
23178
23178
|
case 10:
|
|
23179
23179
|
case 13:
|
|
@@ -23186,7 +23186,7 @@ function As(e) {
|
|
|
23186
23186
|
}
|
|
23187
23187
|
function G0(e, t, r) {
|
|
23188
23188
|
for (let n = t; n < r; n++)
|
|
23189
|
-
if (
|
|
23189
|
+
if (Ts(e.charCodeAt(n)))
|
|
23190
23190
|
return !0;
|
|
23191
23191
|
return !1;
|
|
23192
23192
|
}
|
|
@@ -23525,7 +23525,7 @@ function Wv(e, t, r, n, i, s) {
|
|
|
23525
23525
|
pos: t
|
|
23526
23526
|
};
|
|
23527
23527
|
}
|
|
23528
|
-
function
|
|
23528
|
+
function ia(e, t, r) {
|
|
23529
23529
|
return new Qn(r, e - t, e);
|
|
23530
23530
|
}
|
|
23531
23531
|
const C5 = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]);
|
|
@@ -23537,7 +23537,7 @@ class Vn {
|
|
|
23537
23537
|
class P5 extends E5 {
|
|
23538
23538
|
constructor(t, r) {
|
|
23539
23539
|
super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = {
|
|
23540
|
-
invalidDigit: (n, i, s, a) => this.options.errorRecovery ? (this.raise(te.InvalidDigit,
|
|
23540
|
+
invalidDigit: (n, i, s, a) => this.options.errorRecovery ? (this.raise(te.InvalidDigit, ia(n, i, s), {
|
|
23541
23541
|
radix: a
|
|
23542
23542
|
}), !0) : !1,
|
|
23543
23543
|
numericSeparatorInEscapeSequence: this.errorBuilder(te.NumericSeparatorInEscapeSequence),
|
|
@@ -23547,15 +23547,15 @@ class P5 extends E5 {
|
|
|
23547
23547
|
invalidCodePoint: this.errorBuilder(te.InvalidCodePoint)
|
|
23548
23548
|
}), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, {
|
|
23549
23549
|
strictNumericEscape: (n, i, s) => {
|
|
23550
|
-
this.recordStrictModeErrors(te.StrictNumericEscape,
|
|
23550
|
+
this.recordStrictModeErrors(te.StrictNumericEscape, ia(n, i, s));
|
|
23551
23551
|
},
|
|
23552
23552
|
unterminated: (n, i, s) => {
|
|
23553
|
-
throw this.raise(te.UnterminatedString,
|
|
23553
|
+
throw this.raise(te.UnterminatedString, ia(n - 1, i, s));
|
|
23554
23554
|
}
|
|
23555
23555
|
}), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, {
|
|
23556
23556
|
strictNumericEscape: this.errorBuilder(te.StrictNumericEscape),
|
|
23557
23557
|
unterminated: (n, i, s) => {
|
|
23558
|
-
throw this.raise(te.UnterminatedTemplate,
|
|
23558
|
+
throw this.raise(te.UnterminatedTemplate, ia(n, i, s));
|
|
23559
23559
|
}
|
|
23560
23560
|
}), this.state = new $d(), this.state.init(t), this.input = r, this.length = r.length, this.comments = [], this.isLookahead = !1;
|
|
23561
23561
|
}
|
|
@@ -23656,7 +23656,7 @@ class P5 extends E5 {
|
|
|
23656
23656
|
this.isLookahead || (n = this.state.curPosition());
|
|
23657
23657
|
let i = this.input.charCodeAt(this.state.pos += t);
|
|
23658
23658
|
if (this.state.pos < this.length)
|
|
23659
|
-
for (; !
|
|
23659
|
+
for (; !Ts(i) && ++this.state.pos < this.length; )
|
|
23660
23660
|
i = this.input.charCodeAt(this.state.pos);
|
|
23661
23661
|
if (this.isLookahead) return;
|
|
23662
23662
|
const s = this.state.pos, o = {
|
|
@@ -23770,7 +23770,7 @@ class P5 extends E5 {
|
|
|
23770
23770
|
let t = this.input.charCodeAt(this.state.pos + 1);
|
|
23771
23771
|
if (t !== 33) return !1;
|
|
23772
23772
|
const r = this.state.pos;
|
|
23773
|
-
for (this.state.pos += 1; !
|
|
23773
|
+
for (this.state.pos += 1; !Ts(t) && ++this.state.pos < this.length; )
|
|
23774
23774
|
t = this.input.charCodeAt(this.state.pos);
|
|
23775
23775
|
const n = this.input.slice(r + 2, this.state.pos);
|
|
23776
23776
|
return this.finishToken(28, n), !0;
|
|
@@ -24024,7 +24024,7 @@ class P5 extends E5 {
|
|
|
24024
24024
|
if (s >= this.length)
|
|
24025
24025
|
throw this.raise(te.UnterminatedRegExp, Zt(t, 1));
|
|
24026
24026
|
const l = this.input.charCodeAt(s);
|
|
24027
|
-
if (
|
|
24027
|
+
if (Ts(l))
|
|
24028
24028
|
throw this.raise(te.UnterminatedRegExp, Zt(t, 1));
|
|
24029
24029
|
if (n)
|
|
24030
24030
|
n = !1;
|
|
@@ -24046,7 +24046,7 @@ class P5 extends E5 {
|
|
|
24046
24046
|
const l = this.codePointAtPos(s), c = String.fromCharCode(l);
|
|
24047
24047
|
if (C5.has(l))
|
|
24048
24048
|
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 (
|
|
24049
|
+
else if (vs(l) || l === 92)
|
|
24050
24050
|
this.raise(te.MalformedRegExpFlags, u());
|
|
24051
24051
|
else
|
|
24052
24052
|
break;
|
|
@@ -24154,11 +24154,11 @@ class P5 extends E5 {
|
|
|
24154
24154
|
let i = this.state.pos;
|
|
24155
24155
|
for (t !== void 0 && (this.state.pos += t <= 65535 ? 1 : 2); this.state.pos < this.length; ) {
|
|
24156
24156
|
const s = this.codePointAtPos(this.state.pos);
|
|
24157
|
-
if (
|
|
24157
|
+
if (vs(s))
|
|
24158
24158
|
this.state.pos += s <= 65535 ? 1 : 2;
|
|
24159
24159
|
else if (s === 92) {
|
|
24160
24160
|
this.state.containsEsc = !0, r += this.input.slice(i, this.state.pos);
|
|
24161
|
-
const a = this.state.curPosition(), o = this.state.pos === n ? vn :
|
|
24161
|
+
const a = this.state.curPosition(), o = this.state.pos === n ? vn : vs;
|
|
24162
24162
|
if (this.input.charCodeAt(++this.state.pos) !== 117) {
|
|
24163
24163
|
this.raise(te.MissingUnicodeEscape, this.state.curPosition()), i = this.state.pos - 1;
|
|
24164
24164
|
continue;
|
|
@@ -24220,7 +24220,7 @@ class P5 extends E5 {
|
|
|
24220
24220
|
}
|
|
24221
24221
|
errorBuilder(t) {
|
|
24222
24222
|
return (r, n, i) => {
|
|
24223
|
-
this.raise(t,
|
|
24223
|
+
this.raise(t, ia(r, n, i));
|
|
24224
24224
|
};
|
|
24225
24225
|
}
|
|
24226
24226
|
}
|
|
@@ -24413,7 +24413,7 @@ class B5 extends P5 {
|
|
|
24413
24413
|
const n = t + r.length;
|
|
24414
24414
|
if (this.input.slice(t, n) === r) {
|
|
24415
24415
|
const i = this.input.charCodeAt(n);
|
|
24416
|
-
return !(
|
|
24416
|
+
return !(vs(i) || (i & 64512) === 55296);
|
|
24417
24417
|
}
|
|
24418
24418
|
return !1;
|
|
24419
24419
|
}
|
|
@@ -26267,13 +26267,13 @@ const q5 = {
|
|
|
26267
26267
|
function jn(e) {
|
|
26268
26268
|
return e ? e.type === "JSXOpeningFragment" || e.type === "JSXClosingFragment" : !1;
|
|
26269
26269
|
}
|
|
26270
|
-
function
|
|
26270
|
+
function Es(e) {
|
|
26271
26271
|
if (e.type === "JSXIdentifier")
|
|
26272
26272
|
return e.name;
|
|
26273
26273
|
if (e.type === "JSXNamespacedName")
|
|
26274
26274
|
return e.namespace.name + ":" + e.name.name;
|
|
26275
26275
|
if (e.type === "JSXMemberExpression")
|
|
26276
|
-
return
|
|
26276
|
+
return Es(e.object) + "." + Es(e.property);
|
|
26277
26277
|
throw new Error("Node had unexpected type: " + e.type);
|
|
26278
26278
|
}
|
|
26279
26279
|
var K5 = (e) => class extends e {
|
|
@@ -26298,7 +26298,7 @@ var K5 = (e) => class extends e {
|
|
|
26298
26298
|
case 62:
|
|
26299
26299
|
case 125:
|
|
26300
26300
|
default:
|
|
26301
|
-
|
|
26301
|
+
Ts(i) ? (r += this.input.slice(n, this.state.pos), r += this.jsxReadNewLine(!0), n = this.state.pos) : ++this.state.pos;
|
|
26302
26302
|
}
|
|
26303
26303
|
}
|
|
26304
26304
|
}
|
|
@@ -26316,7 +26316,7 @@ var K5 = (e) => class extends e {
|
|
|
26316
26316
|
throw this.raise(te.UnterminatedString, this.state.startLoc);
|
|
26317
26317
|
const s = this.input.charCodeAt(this.state.pos);
|
|
26318
26318
|
if (s === r) break;
|
|
26319
|
-
s === 38 ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadEntity(), i = this.state.pos) :
|
|
26319
|
+
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
26320
|
}
|
|
26321
26321
|
n += this.input.slice(i, this.state.pos++), this.finishToken(133, n);
|
|
26322
26322
|
}
|
|
@@ -26346,7 +26346,7 @@ var K5 = (e) => class extends e {
|
|
|
26346
26346
|
const n = this.state.pos;
|
|
26347
26347
|
do
|
|
26348
26348
|
r = this.input.charCodeAt(++this.state.pos);
|
|
26349
|
-
while (
|
|
26349
|
+
while (vs(r) || r === 45);
|
|
26350
26350
|
this.finishToken(140, this.input.slice(n, this.state.pos));
|
|
26351
26351
|
}
|
|
26352
26352
|
jsxParseIdentifier() {
|
|
@@ -26441,9 +26441,9 @@ var K5 = (e) => class extends e {
|
|
|
26441
26441
|
this.unexpected();
|
|
26442
26442
|
}
|
|
26443
26443
|
jn(s) && !jn(a) && a !== null ? this.raise(Fi.MissingClosingTagFragment, a) : !jn(s) && jn(a) ? this.raise(Fi.MissingClosingTagElement, a, {
|
|
26444
|
-
openingTagName:
|
|
26445
|
-
}) : !jn(s) && !jn(a) &&
|
|
26446
|
-
openingTagName:
|
|
26444
|
+
openingTagName: Es(s.name)
|
|
26445
|
+
}) : !jn(s) && !jn(a) && Es(a.name) !== Es(s.name) && this.raise(Fi.MissingClosingTagElement, a, {
|
|
26446
|
+
openingTagName: Es(s.name)
|
|
26447
26447
|
});
|
|
26448
26448
|
}
|
|
26449
26449
|
if (jn(s) ? (n.openingFragment = s, n.closingFragment = a) : (n.openingElement = s, n.closingElement = a), n.children = i, this.match(47))
|
|
@@ -29791,7 +29791,7 @@ class fj extends oj {
|
|
|
29791
29791
|
if (vn(t)) {
|
|
29792
29792
|
if (Ef.lastIndex = r, Ef.test(this.input)) {
|
|
29793
29793
|
const n = this.codePointAtPos(Ef.lastIndex);
|
|
29794
|
-
if (!
|
|
29794
|
+
if (!vs(n) && n !== 92)
|
|
29795
29795
|
return !1;
|
|
29796
29796
|
}
|
|
29797
29797
|
return !0;
|
|
@@ -30800,10 +30800,10 @@ function yj(e) {
|
|
|
30800
30800
|
}
|
|
30801
30801
|
return n;
|
|
30802
30802
|
}
|
|
30803
|
-
var gj =
|
|
30804
|
-
|
|
30805
|
-
|
|
30806
|
-
var bf = {}, mt = {}, Uo = {},
|
|
30803
|
+
var gj = Ws.parse = pj;
|
|
30804
|
+
Ws.parseExpression = hj;
|
|
30805
|
+
Ws.tokTypes = mj;
|
|
30806
|
+
var bf = {}, mt = {}, Uo = {}, sa = {}, Or = {}, Qe = {};
|
|
30807
30807
|
Object.defineProperty(Qe, "__esModule", {
|
|
30808
30808
|
value: !0
|
|
30809
30809
|
});
|
|
@@ -31147,7 +31147,7 @@ var Af, og;
|
|
|
31147
31147
|
function Sj() {
|
|
31148
31148
|
if (og) return Af;
|
|
31149
31149
|
og = 1;
|
|
31150
|
-
const e =
|
|
31150
|
+
const e = js, t = Ua, r = bj(), { env: n } = process;
|
|
31151
31151
|
let i;
|
|
31152
31152
|
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
31153
|
function s() {
|
|
@@ -31352,7 +31352,7 @@ function vj() {
|
|
|
31352
31352
|
}(Ho, Ho.exports)), Ho.exports;
|
|
31353
31353
|
}
|
|
31354
31354
|
typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? qp.exports = Ej() : qp.exports = vj();
|
|
31355
|
-
var Tj = qp.exports,
|
|
31355
|
+
var Tj = qp.exports, aa = {}, oa = {}, Cf = {}, Ul = {}, Vl = {}, Hl = {}, j = {}, so = {};
|
|
31356
31356
|
Object.defineProperty(so, "__esModule", {
|
|
31357
31357
|
value: !0
|
|
31358
31358
|
});
|
|
@@ -31364,11 +31364,11 @@ function Aj(e, t) {
|
|
|
31364
31364
|
return !1;
|
|
31365
31365
|
return !0;
|
|
31366
31366
|
}
|
|
31367
|
-
var
|
|
31368
|
-
Object.defineProperty(
|
|
31367
|
+
var Gs = {};
|
|
31368
|
+
Object.defineProperty(Gs, "__esModule", {
|
|
31369
31369
|
value: !0
|
|
31370
31370
|
});
|
|
31371
|
-
|
|
31371
|
+
Gs.default = Cj;
|
|
31372
31372
|
const lg = /* @__PURE__ */ new Set();
|
|
31373
31373
|
function Cj(e, t, r = "") {
|
|
31374
31374
|
if (lg.has(e)) return;
|
|
@@ -31706,7 +31706,7 @@ j.isWhile = DH;
|
|
|
31706
31706
|
j.isWhileStatement = v7;
|
|
31707
31707
|
j.isWithStatement = T7;
|
|
31708
31708
|
j.isYieldExpression = Y7;
|
|
31709
|
-
var K = so, ao =
|
|
31709
|
+
var K = so, ao = Gs;
|
|
31710
31710
|
function _j(e, t) {
|
|
31711
31711
|
return !e || e.type !== "ArrayExpression" ? !1 : t == null || (0, K.default)(e, t);
|
|
31712
31712
|
}
|
|
@@ -33637,22 +33637,22 @@ Object.defineProperty(Hl, "__esModule", {
|
|
|
33637
33637
|
value: !0
|
|
33638
33638
|
});
|
|
33639
33639
|
Hl.default = aq;
|
|
33640
|
-
var
|
|
33640
|
+
var ua = j;
|
|
33641
33641
|
function aq(e, t, r) {
|
|
33642
|
-
if (!(0,
|
|
33642
|
+
if (!(0, ua.isMemberExpression)(e)) return !1;
|
|
33643
33643
|
const n = Array.isArray(t) ? t : t.split("."), i = [];
|
|
33644
33644
|
let s;
|
|
33645
|
-
for (s = e; (0,
|
|
33645
|
+
for (s = e; (0, ua.isMemberExpression)(s); s = s.object)
|
|
33646
33646
|
i.push(s.property);
|
|
33647
33647
|
if (i.push(s), i.length < n.length || !r && i.length > n.length) return !1;
|
|
33648
33648
|
for (let a = 0, o = i.length - 1; a < n.length; a++, o--) {
|
|
33649
33649
|
const u = i[o];
|
|
33650
33650
|
let l;
|
|
33651
|
-
if ((0,
|
|
33651
|
+
if ((0, ua.isIdentifier)(u))
|
|
33652
33652
|
l = u.name;
|
|
33653
|
-
else if ((0,
|
|
33653
|
+
else if ((0, ua.isStringLiteral)(u))
|
|
33654
33654
|
l = u.value;
|
|
33655
|
-
else if ((0,
|
|
33655
|
+
else if ((0, ua.isThisExpression)(u))
|
|
33656
33656
|
l = "this";
|
|
33657
33657
|
else
|
|
33658
33658
|
return !1;
|
|
@@ -33685,13 +33685,13 @@ function fq(e) {
|
|
|
33685
33685
|
return !!e && /^[a-z]/.test(e);
|
|
33686
33686
|
}
|
|
33687
33687
|
var qo = {}, Ko = {}, M = {}, Wo = {}, ls = {}, Pf = {};
|
|
33688
|
-
let
|
|
33688
|
+
let la = null;
|
|
33689
33689
|
function ja(e) {
|
|
33690
|
-
if (
|
|
33691
|
-
const t =
|
|
33692
|
-
return
|
|
33690
|
+
if (la !== null && typeof la.property) {
|
|
33691
|
+
const t = la;
|
|
33692
|
+
return la = ja.prototype = null, t;
|
|
33693
33693
|
}
|
|
33694
|
-
return
|
|
33694
|
+
return la = ja.prototype = e ?? /* @__PURE__ */ Object.create(null), new ja();
|
|
33695
33695
|
}
|
|
33696
33696
|
ja();
|
|
33697
33697
|
var pq = function(t) {
|
|
@@ -37122,7 +37122,7 @@ function sr() {
|
|
|
37122
37122
|
wg = 1, Object.defineProperty(M, "__esModule", {
|
|
37123
37123
|
value: !0
|
|
37124
37124
|
}), 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 =
|
|
37125
|
+
var e = $q(), t = Gs;
|
|
37126
37126
|
function r(F = []) {
|
|
37127
37127
|
return (0, e.default)({
|
|
37128
37128
|
type: "ArrayExpression",
|
|
@@ -39221,7 +39221,7 @@ V.assertWhile = jX;
|
|
|
39221
39221
|
V.assertWhileStatement = HK;
|
|
39222
39222
|
V.assertWithStatement = qK;
|
|
39223
39223
|
V.assertYieldExpression = mW;
|
|
39224
|
-
var Gq = oo(), fo =
|
|
39224
|
+
var Gq = oo(), fo = Gs;
|
|
39225
39225
|
function q(e, t, r) {
|
|
39226
39226
|
if (!(0, Gq.default)(e, t, r))
|
|
39227
39227
|
throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`);
|
|
@@ -40138,14 +40138,14 @@ function PJ(e, t) {
|
|
|
40138
40138
|
function _J(e, t) {
|
|
40139
40139
|
(0, fo.default)("assertModuleDeclaration", "assertImportOrExportDeclaration"), q("ModuleDeclaration", e, t);
|
|
40140
40140
|
}
|
|
40141
|
-
var
|
|
40141
|
+
var ca = {}, Ng;
|
|
40142
40142
|
function xJ() {
|
|
40143
|
-
if (Ng) return
|
|
40144
|
-
Ng = 1, Object.defineProperty(
|
|
40143
|
+
if (Ng) return ca;
|
|
40144
|
+
Ng = 1, Object.defineProperty(ca, "__esModule", {
|
|
40145
40145
|
value: !0
|
|
40146
|
-
}),
|
|
40146
|
+
}), ca.default = void 0;
|
|
40147
40147
|
var e = sr();
|
|
40148
|
-
|
|
40148
|
+
ca.default = t;
|
|
40149
40149
|
function t(r) {
|
|
40150
40150
|
switch (r) {
|
|
40151
40151
|
case "string":
|
|
@@ -40167,7 +40167,7 @@ function xJ() {
|
|
|
40167
40167
|
}
|
|
40168
40168
|
throw new Error("Invalid typeof value: " + r);
|
|
40169
40169
|
}
|
|
40170
|
-
return
|
|
40170
|
+
return ca;
|
|
40171
40171
|
}
|
|
40172
40172
|
var zo = {}, Wl = {};
|
|
40173
40173
|
Object.defineProperty(Wl, "__esModule", {
|
|
@@ -41856,12 +41856,12 @@ Object.defineProperty(Zl, "__esModule", {
|
|
|
41856
41856
|
value: !0
|
|
41857
41857
|
});
|
|
41858
41858
|
Zl.default = void 0;
|
|
41859
|
-
var
|
|
41859
|
+
var fa = j;
|
|
41860
41860
|
Zl.default = fz;
|
|
41861
41861
|
function fz(e) {
|
|
41862
|
-
if ((0,
|
|
41862
|
+
if ((0, fa.isExpressionStatement)(e) && (e = e.expression), (0, fa.isExpression)(e))
|
|
41863
41863
|
return e;
|
|
41864
|
-
if ((0,
|
|
41864
|
+
if ((0, fa.isClass)(e) ? e.type = "ClassExpression" : (0, fa.isFunction)(e) && (e.type = "FunctionExpression"), !(0, fa.isExpression)(e))
|
|
41865
41865
|
throw new Error(`cannot turn ${e.type} to an expression`);
|
|
41866
41866
|
return e;
|
|
41867
41867
|
}
|
|
@@ -41924,14 +41924,14 @@ Ri.uid = 0;
|
|
|
41924
41924
|
Ri.increment = function() {
|
|
41925
41925
|
return Ri.uid >= Number.MAX_SAFE_INTEGER ? Ri.uid = 0 : Ri.uid++;
|
|
41926
41926
|
};
|
|
41927
|
-
var
|
|
41927
|
+
var pa = {}, Kg;
|
|
41928
41928
|
function Sz() {
|
|
41929
|
-
if (Kg) return
|
|
41930
|
-
Kg = 1, Object.defineProperty(
|
|
41929
|
+
if (Kg) return pa;
|
|
41930
|
+
Kg = 1, Object.defineProperty(pa, "__esModule", {
|
|
41931
41931
|
value: !0
|
|
41932
|
-
}),
|
|
41932
|
+
}), pa.default = void 0;
|
|
41933
41933
|
var e = j, t = sr();
|
|
41934
|
-
|
|
41934
|
+
pa.default = r;
|
|
41935
41935
|
function r(n, i) {
|
|
41936
41936
|
if ((0, e.isStatement)(n))
|
|
41937
41937
|
return n;
|
|
@@ -41949,16 +41949,16 @@ function Sz() {
|
|
|
41949
41949
|
}
|
|
41950
41950
|
return n.type = a, n;
|
|
41951
41951
|
}
|
|
41952
|
-
return
|
|
41952
|
+
return pa;
|
|
41953
41953
|
}
|
|
41954
|
-
var
|
|
41954
|
+
var ha = {}, Wg;
|
|
41955
41955
|
function vz() {
|
|
41956
|
-
if (Wg) return
|
|
41957
|
-
Wg = 1, Object.defineProperty(
|
|
41956
|
+
if (Wg) return ha;
|
|
41957
|
+
Wg = 1, Object.defineProperty(ha, "__esModule", {
|
|
41958
41958
|
value: !0
|
|
41959
|
-
}),
|
|
41959
|
+
}), ha.default = void 0;
|
|
41960
41960
|
var e = Zi, t = sr();
|
|
41961
|
-
|
|
41961
|
+
ha.default = s;
|
|
41962
41962
|
const r = Function.call.bind(Object.prototype.toString);
|
|
41963
41963
|
function n(a) {
|
|
41964
41964
|
return r(a) === "[object RegExp]";
|
|
@@ -42004,7 +42004,7 @@ function vz() {
|
|
|
42004
42004
|
}
|
|
42005
42005
|
throw new Error("don't know how to turn this value into a node");
|
|
42006
42006
|
}
|
|
42007
|
-
return
|
|
42007
|
+
return ha;
|
|
42008
42008
|
}
|
|
42009
42009
|
var iu = {}, Gg;
|
|
42010
42010
|
function Tz() {
|
|
@@ -42088,11 +42088,11 @@ function _z(e) {
|
|
|
42088
42088
|
}
|
|
42089
42089
|
return r;
|
|
42090
42090
|
}
|
|
42091
|
-
var
|
|
42092
|
-
Object.defineProperty(
|
|
42091
|
+
var Ys = {};
|
|
42092
|
+
Object.defineProperty(Ys, "__esModule", {
|
|
42093
42093
|
value: !0
|
|
42094
42094
|
});
|
|
42095
|
-
|
|
42095
|
+
Ys.default = sm;
|
|
42096
42096
|
var cn = j;
|
|
42097
42097
|
function sm(e, t, r, n) {
|
|
42098
42098
|
const i = [].concat(e), s = /* @__PURE__ */ Object.create(null);
|
|
@@ -42172,7 +42172,7 @@ Object.defineProperty(nc, "__esModule", {
|
|
|
42172
42172
|
value: !0
|
|
42173
42173
|
});
|
|
42174
42174
|
nc.default = void 0;
|
|
42175
|
-
var Fz =
|
|
42175
|
+
var Fz = Ys;
|
|
42176
42176
|
nc.default = wz;
|
|
42177
42177
|
function wz(e, t) {
|
|
42178
42178
|
return (0, Fz.default)(e, t, !0);
|
|
@@ -42255,7 +42255,7 @@ Object.defineProperty(um, "__esModule", {
|
|
|
42255
42255
|
value: !0
|
|
42256
42256
|
});
|
|
42257
42257
|
um.default = Lz;
|
|
42258
|
-
var kz =
|
|
42258
|
+
var kz = Ys;
|
|
42259
42259
|
function Lz(e, t, r) {
|
|
42260
42260
|
if (r && e.type === "Identifier" && t.type === "ObjectProperty" && r.type === "ObjectExpression")
|
|
42261
42261
|
return !1;
|
|
@@ -42456,7 +42456,7 @@ function eQ() {
|
|
|
42456
42456
|
eD = 1, Object.defineProperty(ou, "__esModule", {
|
|
42457
42457
|
value: !0
|
|
42458
42458
|
}), ou.default = s;
|
|
42459
|
-
var e =
|
|
42459
|
+
var e = Ys, t = j, r = sr(), n = ET(), i = Bn;
|
|
42460
42460
|
function s(a, o) {
|
|
42461
42461
|
const u = [];
|
|
42462
42462
|
let l = !0;
|
|
@@ -42932,7 +42932,7 @@ function Xe() {
|
|
|
42932
42932
|
}
|
|
42933
42933
|
});
|
|
42934
42934
|
});
|
|
42935
|
-
var z = Tz(), re = nm, X = Pz(), oe = rc, ie = ec, J = Wl, Y = im, ne =
|
|
42935
|
+
var z = Tz(), re = nm, X = Pz(), oe = rc, ie = ec, J = Wl, Y = im, ne = Ys, ae = nc, ce = am, ue = om;
|
|
42936
42936
|
Object.keys(ue).forEach(function(fe) {
|
|
42937
42937
|
fe === "default" || fe === "__esModule" || Object.prototype.hasOwnProperty.call(t, fe) || fe in e && e[fe] === ue[fe] || Object.defineProperty(e, fe, {
|
|
42938
42938
|
enumerable: !0,
|
|
@@ -42950,7 +42950,7 @@ function Xe() {
|
|
|
42950
42950
|
}
|
|
42951
42951
|
});
|
|
42952
42952
|
});
|
|
42953
|
-
var qe =
|
|
42953
|
+
var qe = Gs;
|
|
42954
42954
|
e.react = {
|
|
42955
42955
|
isReactComponent: r.default,
|
|
42956
42956
|
isCompatTag: n.default,
|
|
@@ -43260,10 +43260,10 @@ function sc() {
|
|
|
43260
43260
|
}
|
|
43261
43261
|
var iD;
|
|
43262
43262
|
function MQ() {
|
|
43263
|
-
if (iD) return
|
|
43264
|
-
iD = 1, Object.defineProperty(
|
|
43263
|
+
if (iD) return oa;
|
|
43264
|
+
iD = 1, Object.defineProperty(oa, "__esModule", {
|
|
43265
43265
|
value: !0
|
|
43266
|
-
}),
|
|
43266
|
+
}), oa.default = void 0;
|
|
43267
43267
|
var e = Xe(), t = Fm(), r = sc(), n = So();
|
|
43268
43268
|
const i = {
|
|
43269
43269
|
ReferencedIdentifier({
|
|
@@ -43335,7 +43335,7 @@ function MQ() {
|
|
|
43335
43335
|
}), arguments[0] || (c.removeOwnBinding(u), c.bindings[l] = o, this.binding.identifier.name = l), p && (this.maybeConvertFromClassFunctionDeclaration(f), this.maybeConvertFromClassFunctionExpression(f));
|
|
43336
43336
|
}
|
|
43337
43337
|
}
|
|
43338
|
-
return
|
|
43338
|
+
return oa.default = s, oa;
|
|
43339
43339
|
}
|
|
43340
43340
|
var ac = {};
|
|
43341
43341
|
Object.defineProperty(ac, "__esModule", {
|
|
@@ -44984,10 +44984,10 @@ function TZ(e, t) {
|
|
|
44984
44984
|
}
|
|
44985
44985
|
var sD;
|
|
44986
44986
|
function _T() {
|
|
44987
|
-
if (sD) return
|
|
44988
|
-
sD = 1, Object.defineProperty(
|
|
44987
|
+
if (sD) return aa;
|
|
44988
|
+
sD = 1, Object.defineProperty(aa, "__esModule", {
|
|
44989
44989
|
value: !0
|
|
44990
|
-
}),
|
|
44990
|
+
}), aa.default = void 0;
|
|
44991
44991
|
var e = MQ(), t = Sc(), r = ac, n = bZ, i = Xe(), s = i, a = jt, o = sc();
|
|
44992
44992
|
const {
|
|
44993
44993
|
NOT_LOCAL_BINDING: u,
|
|
@@ -45728,7 +45728,7 @@ function _T() {
|
|
|
45728
45728
|
}
|
|
45729
45729
|
}
|
|
45730
45730
|
}
|
|
45731
|
-
return
|
|
45731
|
+
return aa.default = G, G.globals = Object.keys(n.builtin), G.contextVariables = ["arguments", "undefined", "Infinity", "NaN"], aa;
|
|
45732
45732
|
}
|
|
45733
45733
|
var oc = {}, uc = {}, zp = { exports: {} }, uu = { exports: {} }, aD;
|
|
45734
45734
|
function AZ() {
|
|
@@ -46900,11 +46900,11 @@ const {
|
|
|
46900
46900
|
isOptionalMemberExpression: LZ,
|
|
46901
46901
|
isStringLiteral: RZ
|
|
46902
46902
|
} = FZ;
|
|
46903
|
-
function
|
|
46904
|
-
return e && (Dm(e) || LZ(e) ? (
|
|
46903
|
+
function hs(e, t) {
|
|
46904
|
+
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
46905
|
}
|
|
46906
46906
|
function lD(e) {
|
|
46907
|
-
return
|
|
46907
|
+
return hs(e, {
|
|
46908
46908
|
hasCall: !1,
|
|
46909
46909
|
hasFunction: !1,
|
|
46910
46910
|
hasHelper: !1
|
|
@@ -50649,7 +50649,7 @@ var Uf, wD;
|
|
|
50649
50649
|
function Sse() {
|
|
50650
50650
|
if (wD) return Uf;
|
|
50651
50651
|
wD = 1;
|
|
50652
|
-
const e =
|
|
50652
|
+
const e = js, t = bse(), r = process.env;
|
|
50653
50653
|
let n;
|
|
50654
50654
|
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
50655
|
function i(o) {
|
|
@@ -51484,7 +51484,7 @@ function c1() {
|
|
|
51484
51484
|
VD = 1, Object.defineProperty(pn, "__esModule", {
|
|
51485
51485
|
value: !0
|
|
51486
51486
|
}), 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 =
|
|
51487
|
+
var e = yo, t = Sc(), r = ns(), n = jt, i = l1(), s = Ws, a = Xe();
|
|
51488
51488
|
const {
|
|
51489
51489
|
FUNCTION_TYPES: o,
|
|
51490
51490
|
arrowFunctionExpression: u,
|
|
@@ -52037,7 +52037,7 @@ Object.defineProperty(Dc, "__esModule", {
|
|
|
52037
52037
|
value: !0
|
|
52038
52038
|
});
|
|
52039
52039
|
Dc.default = Sae;
|
|
52040
|
-
var uae = Xe(), lae =
|
|
52040
|
+
var uae = Xe(), lae = Ws, cae = yo;
|
|
52041
52041
|
const {
|
|
52042
52042
|
isCallExpression: fae,
|
|
52043
52043
|
isExpressionStatement: pae,
|
|
@@ -53565,10 +53565,10 @@ function ns() {
|
|
|
53565
53565
|
}
|
|
53566
53566
|
var aE;
|
|
53567
53567
|
function xoe() {
|
|
53568
|
-
if (aE) return
|
|
53569
|
-
aE = 1, Object.defineProperty(
|
|
53568
|
+
if (aE) return sa;
|
|
53569
|
+
aE = 1, Object.defineProperty(sa, "__esModule", {
|
|
53570
53570
|
value: !0
|
|
53571
|
-
}),
|
|
53571
|
+
}), sa.default = void 0;
|
|
53572
53572
|
var e = ns(), t = Xe();
|
|
53573
53573
|
const {
|
|
53574
53574
|
VISITOR_KEYS: r
|
|
@@ -53639,7 +53639,7 @@ function xoe() {
|
|
|
53639
53639
|
return o ? Array.isArray(o) ? this.visitMultiple(o, s, a) : this.visitSingle(s, a) : !1;
|
|
53640
53640
|
}
|
|
53641
53641
|
}
|
|
53642
|
-
return
|
|
53642
|
+
return sa.default = n, sa;
|
|
53643
53643
|
}
|
|
53644
53644
|
var oE;
|
|
53645
53645
|
function Fm() {
|
|
@@ -53890,11 +53890,10 @@ var woe = Sc();
|
|
|
53890
53890
|
const Ioe = /* @__PURE__ */ dl(woe);
|
|
53891
53891
|
var Nt = Xe();
|
|
53892
53892
|
const Ooe = gh();
|
|
53893
|
-
function
|
|
53894
|
-
return console.log(...e);
|
|
53893
|
+
function da(...e) {
|
|
53895
53894
|
}
|
|
53896
53895
|
const $a = ["key", "property", "id"];
|
|
53897
|
-
function
|
|
53896
|
+
function As(e, t, r, n = !1) {
|
|
53898
53897
|
var a;
|
|
53899
53898
|
let i = n;
|
|
53900
53899
|
!i && e === r && (i = !0);
|
|
@@ -53903,7 +53902,7 @@ function Cs(e, t, r, n = !1) {
|
|
|
53903
53902
|
isOverBound: i,
|
|
53904
53903
|
binding: s,
|
|
53905
53904
|
name: t
|
|
53906
|
-
} : e != null && e.parent ?
|
|
53905
|
+
} : e != null && e.parent ? As(e.parent, t, r, i) : {
|
|
53907
53906
|
isOverBound: i,
|
|
53908
53907
|
binding: null,
|
|
53909
53908
|
name: t
|
|
@@ -53941,7 +53940,7 @@ function sh(e = [], t, r = [], n) {
|
|
|
53941
53940
|
Identifier(c) {
|
|
53942
53941
|
if ($a.includes(c.key) || c.listKey === "params")
|
|
53943
53942
|
return;
|
|
53944
|
-
const f =
|
|
53943
|
+
const f = As(c.scope, c.node.name, a.scope);
|
|
53945
53944
|
f.isOverBound && o.push({ ...f, identifierPath: c });
|
|
53946
53945
|
}
|
|
53947
53946
|
}), sh(o, t, r, n), (l = (u = s.binding) == null ? void 0 : u.constantViolations) == null || l.forEach((c) => {
|
|
@@ -53955,7 +53954,7 @@ function sh(e = [], t, r = [], n) {
|
|
|
53955
53954
|
Identifier(h) {
|
|
53956
53955
|
if ($a.includes(h.key) || h.listKey === "params")
|
|
53957
53956
|
return;
|
|
53958
|
-
const d =
|
|
53957
|
+
const d = As(h.scope, h.node.name, f.scope);
|
|
53959
53958
|
d.isOverBound && p.push({ ...d, identifierPath: h });
|
|
53960
53959
|
}
|
|
53961
53960
|
}), sh(p, t, r, n);
|
|
@@ -53998,10 +53997,10 @@ function Boe({
|
|
|
53998
53997
|
const _ = [];
|
|
53999
53998
|
R.traverse({
|
|
54000
53999
|
Identifier(C) {
|
|
54001
|
-
if (
|
|
54000
|
+
if (da("[staticParams]", C.node.name, t, C.node.name === t), $a.includes(C.key) || C.listKey === "params" || C.node.name === t)
|
|
54002
54001
|
return;
|
|
54003
54002
|
y.push(R);
|
|
54004
|
-
const k =
|
|
54003
|
+
const k = As(C.scope, C.node.name, o.scope);
|
|
54005
54004
|
k.isOverBound && _.push({ ...k, identifierPath: C });
|
|
54006
54005
|
}
|
|
54007
54006
|
}), o.stateInfo.statics[A] = R, sh(_, o.scope, o.stateInfo.deps, A);
|
|
@@ -54021,13 +54020,13 @@ function Boe({
|
|
|
54021
54020
|
var R, w, x, I, B, S, _;
|
|
54022
54021
|
y.some(
|
|
54023
54022
|
(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) || (
|
|
54023
|
+
) || 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
54024
|
Identifier(C) {
|
|
54026
54025
|
if ($a.includes(C.key) || C.listKey === "params")
|
|
54027
54026
|
return;
|
|
54028
|
-
|
|
54029
|
-
const k =
|
|
54030
|
-
if (
|
|
54027
|
+
da("[CallExpression Identifier]", C.node.name);
|
|
54028
|
+
const k = As(C.scope, C.node.name, o.scope);
|
|
54029
|
+
if (k.isOverBound && k.binding)
|
|
54031
54030
|
throw new Error(
|
|
54032
54031
|
`不能在 server 端调用本地方法 error: ${A.node.loc.start.line}:${A.node.loc.start.column + 1} ${A.toString()}`
|
|
54033
54032
|
);
|
|
@@ -54039,15 +54038,15 @@ function Boe({
|
|
|
54039
54038
|
(w) => Nt.isNodesEquivalent(A.node, w.node) || A.findParent((x) => Nt.isNodesEquivalent(x.node, w.node))
|
|
54040
54039
|
))
|
|
54041
54040
|
return;
|
|
54042
|
-
|
|
54043
|
-
const R =
|
|
54041
|
+
da("[Identifier]", A.node.name, A.key);
|
|
54042
|
+
const R = As(A.scope, A.node.name, o.scope);
|
|
54044
54043
|
if (R.isOverBound && R.binding && (o.stateInfo.bindings.push({ ...R, identifierPath: A }), A.key === "callee"))
|
|
54045
54044
|
throw new Error(
|
|
54046
54045
|
`不能在 server 端调用本地方法 error: ${A.parentPath.node.loc.start.line}:${A.parentPath.node.loc.start.column + 1} ${A.parentPath.toString()}`
|
|
54047
54046
|
);
|
|
54048
54047
|
o.stateInfo.bindings = y1(o.stateInfo.bindings);
|
|
54049
54048
|
}
|
|
54050
|
-
}),
|
|
54049
|
+
}), da(
|
|
54051
54050
|
"[binding]",
|
|
54052
54051
|
o.stateInfo.bindings.map((A) => A.name)
|
|
54053
54052
|
), o.stateInfo.deps = Noe(o.stateInfo.deps), a.calls.push(o);
|
|
@@ -54158,29 +54157,31 @@ export default __defineApi_for_auto__({
|
|
|
54158
54157
|
function yue(e) {
|
|
54159
54158
|
const t = process.cwd(), r = e.serverDir;
|
|
54160
54159
|
let n;
|
|
54161
|
-
const i = "soonjs/auto/client", s = "\0" + i, a = new RegExp(`${e.clientAlias}\\s*\\.(useApi\\(|service\\.)`), o =
|
|
54160
|
+
const i = "soonjs/auto/client", s = "\0" + i, a = new RegExp(`${e.clientAlias}\\s*\\.(useApi\\(|service\\.)`), o = "node_modules/.soonjs/auto";
|
|
54161
|
+
let u = "";
|
|
54162
54162
|
if (!e.projectName || !e.serverDir)
|
|
54163
54163
|
throw new Error("soonjs client plugin: options.projectName and options.serverDir are required");
|
|
54164
54164
|
return {
|
|
54165
54165
|
name: "vite-plugin-soon-client",
|
|
54166
54166
|
enforce: "post",
|
|
54167
|
-
configureServer(
|
|
54168
|
-
n =
|
|
54167
|
+
configureServer(l) {
|
|
54168
|
+
n = l, console.log(n.config.env);
|
|
54169
54169
|
},
|
|
54170
|
-
config(
|
|
54171
|
-
|
|
54172
|
-
|
|
54173
|
-
|
|
54174
|
-
|
|
54175
|
-
|
|
54170
|
+
config(l, c) {
|
|
54171
|
+
u = Oe.join(o, c.command, e.projectName);
|
|
54172
|
+
const f = Oe.join(t, "generated/auto");
|
|
54173
|
+
cs(Oe.join(t, "node_modules/.soonjs")) || SP(r, "node_modules/.soonjs", "dir"), cs(f) || vP(f, { recursive: !0 });
|
|
54174
|
+
const p = Oe.join(r, "generated/auto/auto-client.d.ts");
|
|
54175
|
+
cs(p) && Im(p, Oe.join(f, "auto-client.d.ts")), cs(u) && fE(u, { recursive: !0 }), c.command === "serve" && TP(p, (h, d) => {
|
|
54176
|
+
cs(p) && Im(p, Oe.join(f, "auto-client.d.ts"));
|
|
54176
54177
|
});
|
|
54177
54178
|
},
|
|
54178
|
-
resolveId(
|
|
54179
|
-
if (
|
|
54179
|
+
resolveId(l) {
|
|
54180
|
+
if (l === i)
|
|
54180
54181
|
return s;
|
|
54181
54182
|
},
|
|
54182
|
-
async load(
|
|
54183
|
-
if (
|
|
54183
|
+
async load(l) {
|
|
54184
|
+
if (l === s)
|
|
54184
54185
|
return `
|
|
54185
54186
|
const soonConfigStorage = {
|
|
54186
54187
|
baseUrl: "",
|
|
@@ -54223,13 +54224,13 @@ export default {
|
|
|
54223
54224
|
}
|
|
54224
54225
|
`;
|
|
54225
54226
|
},
|
|
54226
|
-
transform(
|
|
54227
|
-
if ((/\.(ts|js|tsx|jsx)$/.test(
|
|
54228
|
-
let
|
|
54229
|
-
|
|
54230
|
-
let
|
|
54227
|
+
transform(l, c) {
|
|
54228
|
+
if ((/\.(ts|js|tsx|jsx)$/.test(c) || /\.vue/.test(c)) && a.test(l)) {
|
|
54229
|
+
let f = function() {
|
|
54230
|
+
p.serverCodes.forEach(async (h) => {
|
|
54231
|
+
let d = h.serverCode;
|
|
54231
54232
|
try {
|
|
54232
|
-
|
|
54233
|
+
d = await L4.format(d, {
|
|
54233
54234
|
parser: "typescript",
|
|
54234
54235
|
tabWidth: 4,
|
|
54235
54236
|
useTabs: !1,
|
|
@@ -54244,25 +54245,24 @@ export default {
|
|
|
54244
54245
|
});
|
|
54245
54246
|
} catch {
|
|
54246
54247
|
}
|
|
54247
|
-
PP(Oe.join(
|
|
54248
|
-
|
|
54248
|
+
PP(Oe.join(u, h.callId + ".ts"), d, (m) => {
|
|
54249
|
+
m && console.error(m);
|
|
54249
54250
|
});
|
|
54250
54251
|
});
|
|
54251
54252
|
};
|
|
54252
|
-
|
|
54253
|
-
|
|
54254
|
-
|
|
54255
|
-
code: u,
|
|
54253
|
+
const p = koe({
|
|
54254
|
+
filename: Oe.relative(t, c).replace(/\\/g, "/"),
|
|
54255
|
+
code: l,
|
|
54256
54256
|
alias: e.clientAlias,
|
|
54257
54257
|
moduleName: "soonjs/auto/client"
|
|
54258
54258
|
});
|
|
54259
|
-
return AP(
|
|
54260
|
-
|
|
54261
|
-
if (
|
|
54262
|
-
throw
|
|
54263
|
-
|
|
54259
|
+
return AP(u, (h) => {
|
|
54260
|
+
h ? f() : CP(u, { recursive: !0 }, (d) => {
|
|
54261
|
+
if (d)
|
|
54262
|
+
throw d;
|
|
54263
|
+
f();
|
|
54264
54264
|
});
|
|
54265
|
-
}), { code:
|
|
54265
|
+
}), { code: p.srcCode, map: null };
|
|
54266
54266
|
}
|
|
54267
54267
|
}
|
|
54268
54268
|
};
|