@vuetify/cli 0.0.9 → 0.0.10-beta.3
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.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as __toESM$1, i as __require, n as require_node_fetch_native_DhEqb06g, r as __commonJS$1, t as require_node } from "./node-CcjDTqtN.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
|
-
import
|
|
4
|
+
import g$1, { cwd, stdin, stdout } from "node:process";
|
|
5
5
|
import * as k$5 from "node:readline";
|
|
6
6
|
import c from "node:readline";
|
|
7
7
|
import * as tty from "node:tty";
|
|
@@ -16,7 +16,7 @@ import H$2 from "path";
|
|
|
16
16
|
import nt from "events";
|
|
17
17
|
import ot from "stream";
|
|
18
18
|
import ht from "string_decoder";
|
|
19
|
-
import P
|
|
19
|
+
import P from "buffer";
|
|
20
20
|
import O$2 from "zlib";
|
|
21
21
|
import nt$1 from "process";
|
|
22
22
|
import V from "fs";
|
|
@@ -4392,7 +4392,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
4392
4392
|
0x9184e72a000
|
|
4393
4393
|
], SQRT_BASE = 1e7, MAX = 1e9;
|
|
4394
4394
|
function clone(configObject) {
|
|
4395
|
-
var div, convertBase, parseNumeric, P$
|
|
4395
|
+
var div, convertBase, parseNumeric, P$6 = BigNumber$1.prototype = {
|
|
4396
4396
|
constructor: BigNumber$1,
|
|
4397
4397
|
toString: null,
|
|
4398
4398
|
valueOf: null
|
|
@@ -5031,15 +5031,15 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5031
5031
|
str = e$8 <= TO_EXP_NEG || e$8 >= TO_EXP_POS ? toExponential(str, e$8) : toFixedPoint(str, e$8, "0");
|
|
5032
5032
|
return n$6.s < 0 ? "-" + str : str;
|
|
5033
5033
|
}
|
|
5034
|
-
P$
|
|
5034
|
+
P$6.absoluteValue = P$6.abs = function() {
|
|
5035
5035
|
var x$5 = new BigNumber$1(this);
|
|
5036
5036
|
if (x$5.s < 0) x$5.s = 1;
|
|
5037
5037
|
return x$5;
|
|
5038
5038
|
};
|
|
5039
|
-
P$
|
|
5039
|
+
P$6.comparedTo = function(y$7, b$11) {
|
|
5040
5040
|
return compare$12(this, new BigNumber$1(y$7, b$11));
|
|
5041
5041
|
};
|
|
5042
|
-
P$
|
|
5042
|
+
P$6.decimalPlaces = P$6.dp = function(dp, rm$1) {
|
|
5043
5043
|
var c$8, n$6, v$5, x$5 = this;
|
|
5044
5044
|
if (dp != null) {
|
|
5045
5045
|
intCheck(dp, 0, MAX);
|
|
@@ -5053,13 +5053,13 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5053
5053
|
if (n$6 < 0) n$6 = 0;
|
|
5054
5054
|
return n$6;
|
|
5055
5055
|
};
|
|
5056
|
-
P$
|
|
5056
|
+
P$6.dividedBy = P$6.div = function(y$7, b$11) {
|
|
5057
5057
|
return div(this, new BigNumber$1(y$7, b$11), DECIMAL_PLACES, ROUNDING_MODE);
|
|
5058
5058
|
};
|
|
5059
|
-
P$
|
|
5059
|
+
P$6.dividedToIntegerBy = P$6.idiv = function(y$7, b$11) {
|
|
5060
5060
|
return div(this, new BigNumber$1(y$7, b$11), 0, 1);
|
|
5061
5061
|
};
|
|
5062
|
-
P$
|
|
5062
|
+
P$6.exponentiatedBy = P$6.pow = function(n$6, m$5) {
|
|
5063
5063
|
var half, isModExp, i$9, k$6, more, nIsBig, nIsNeg, nIsOdd, y$7, x$5 = this;
|
|
5064
5064
|
n$6 = new BigNumber$1(n$6);
|
|
5065
5065
|
if (n$6.c && !n$6.isInteger()) throw Error(bignumberError + "Exponent not an integer: " + valueOf(n$6));
|
|
@@ -5119,46 +5119,46 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5119
5119
|
if (nIsNeg) y$7 = ONE.div(y$7);
|
|
5120
5120
|
return m$5 ? y$7.mod(m$5) : k$6 ? round(y$7, POW_PRECISION, ROUNDING_MODE, more) : y$7;
|
|
5121
5121
|
};
|
|
5122
|
-
P$
|
|
5122
|
+
P$6.integerValue = function(rm$1) {
|
|
5123
5123
|
var n$6 = new BigNumber$1(this);
|
|
5124
5124
|
if (rm$1 == null) rm$1 = ROUNDING_MODE;
|
|
5125
5125
|
else intCheck(rm$1, 0, 8);
|
|
5126
5126
|
return round(n$6, n$6.e + 1, rm$1);
|
|
5127
5127
|
};
|
|
5128
|
-
P$
|
|
5128
|
+
P$6.isEqualTo = P$6.eq = function(y$7, b$11) {
|
|
5129
5129
|
return compare$12(this, new BigNumber$1(y$7, b$11)) === 0;
|
|
5130
5130
|
};
|
|
5131
|
-
P$
|
|
5131
|
+
P$6.isFinite = function() {
|
|
5132
5132
|
return !!this.c;
|
|
5133
5133
|
};
|
|
5134
|
-
P$
|
|
5134
|
+
P$6.isGreaterThan = P$6.gt = function(y$7, b$11) {
|
|
5135
5135
|
return compare$12(this, new BigNumber$1(y$7, b$11)) > 0;
|
|
5136
5136
|
};
|
|
5137
|
-
P$
|
|
5137
|
+
P$6.isGreaterThanOrEqualTo = P$6.gte = function(y$7, b$11) {
|
|
5138
5138
|
return (b$11 = compare$12(this, new BigNumber$1(y$7, b$11))) === 1 || b$11 === 0;
|
|
5139
5139
|
};
|
|
5140
|
-
P$
|
|
5140
|
+
P$6.isInteger = function() {
|
|
5141
5141
|
return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
|
|
5142
5142
|
};
|
|
5143
|
-
P$
|
|
5143
|
+
P$6.isLessThan = P$6.lt = function(y$7, b$11) {
|
|
5144
5144
|
return compare$12(this, new BigNumber$1(y$7, b$11)) < 0;
|
|
5145
5145
|
};
|
|
5146
|
-
P$
|
|
5146
|
+
P$6.isLessThanOrEqualTo = P$6.lte = function(y$7, b$11) {
|
|
5147
5147
|
return (b$11 = compare$12(this, new BigNumber$1(y$7, b$11))) === -1 || b$11 === 0;
|
|
5148
5148
|
};
|
|
5149
|
-
P$
|
|
5149
|
+
P$6.isNaN = function() {
|
|
5150
5150
|
return !this.s;
|
|
5151
5151
|
};
|
|
5152
|
-
P$
|
|
5152
|
+
P$6.isNegative = function() {
|
|
5153
5153
|
return this.s < 0;
|
|
5154
5154
|
};
|
|
5155
|
-
P$
|
|
5155
|
+
P$6.isPositive = function() {
|
|
5156
5156
|
return this.s > 0;
|
|
5157
5157
|
};
|
|
5158
|
-
P$
|
|
5158
|
+
P$6.isZero = function() {
|
|
5159
5159
|
return !!this.c && this.c[0] == 0;
|
|
5160
5160
|
};
|
|
5161
|
-
P$
|
|
5161
|
+
P$6.minus = function(y$7, b$11) {
|
|
5162
5162
|
var i$9, j$6, t$9, xLTy, x$5 = this, a$13 = x$5.s;
|
|
5163
5163
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5164
5164
|
b$11 = y$7.s;
|
|
@@ -5218,7 +5218,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5218
5218
|
}
|
|
5219
5219
|
return normalise(y$7, xc, ye$2);
|
|
5220
5220
|
};
|
|
5221
|
-
P$
|
|
5221
|
+
P$6.modulo = P$6.mod = function(y$7, b$11) {
|
|
5222
5222
|
var q$6, s$9, x$5 = this;
|
|
5223
5223
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5224
5224
|
if (!x$5.c || !y$7.s || y$7.c && !y$7.c[0]) return new BigNumber$1(NaN);
|
|
@@ -5234,7 +5234,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5234
5234
|
if (!y$7.c[0] && MODULO_MODE == 1) y$7.s = x$5.s;
|
|
5235
5235
|
return y$7;
|
|
5236
5236
|
};
|
|
5237
|
-
P$
|
|
5237
|
+
P$6.multipliedBy = P$6.times = function(y$7, b$11) {
|
|
5238
5238
|
var c$8, e$8, i$9, j$6, k$6, m$5, xcL, xlo, xhi, ycL, ylo, yhi, zc, base, sqrtBase, x$5 = this, xc = x$5.c, yc = (y$7 = new BigNumber$1(y$7, b$11)).c;
|
|
5239
5239
|
if (!xc || !yc || !xc[0] || !yc[0]) {
|
|
5240
5240
|
if (!x$5.s || !y$7.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) y$7.c = y$7.e = y$7.s = null;
|
|
@@ -5281,12 +5281,12 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5281
5281
|
else zc.splice(0, 1);
|
|
5282
5282
|
return normalise(y$7, zc, e$8);
|
|
5283
5283
|
};
|
|
5284
|
-
P$
|
|
5284
|
+
P$6.negated = function() {
|
|
5285
5285
|
var x$5 = new BigNumber$1(this);
|
|
5286
5286
|
x$5.s = -x$5.s || null;
|
|
5287
5287
|
return x$5;
|
|
5288
5288
|
};
|
|
5289
|
-
P$
|
|
5289
|
+
P$6.plus = function(y$7, b$11) {
|
|
5290
5290
|
var t$9, x$5 = this, a$13 = x$5.s;
|
|
5291
5291
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5292
5292
|
b$11 = y$7.s;
|
|
@@ -5333,7 +5333,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5333
5333
|
}
|
|
5334
5334
|
return normalise(y$7, xc, ye$2);
|
|
5335
5335
|
};
|
|
5336
|
-
P$
|
|
5336
|
+
P$6.precision = P$6.sd = function(sd, rm$1) {
|
|
5337
5337
|
var c$8, n$6, v$5, x$5 = this;
|
|
5338
5338
|
if (sd != null && sd !== !!sd) {
|
|
5339
5339
|
intCheck(sd, 1, MAX);
|
|
@@ -5351,11 +5351,11 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5351
5351
|
if (sd && x$5.e + 1 > n$6) n$6 = x$5.e + 1;
|
|
5352
5352
|
return n$6;
|
|
5353
5353
|
};
|
|
5354
|
-
P$
|
|
5354
|
+
P$6.shiftedBy = function(k$6) {
|
|
5355
5355
|
intCheck(k$6, -MAX_SAFE_INTEGER$5, MAX_SAFE_INTEGER$5);
|
|
5356
5356
|
return this.times("1e" + k$6);
|
|
5357
5357
|
};
|
|
5358
|
-
P$
|
|
5358
|
+
P$6.squareRoot = P$6.sqrt = function() {
|
|
5359
5359
|
var m$5, n$6, r$4, rep, t$9, x$5 = this, c$8 = x$5.c, s$9 = x$5.s, e$8 = x$5.e, dp = DECIMAL_PLACES + 4, half = new BigNumber$1("0.5");
|
|
5360
5360
|
if (s$9 !== 1 || !c$8 || !c$8[0]) return new BigNumber$1(!s$9 || s$9 < 0 && (!c$8 || c$8[0]) ? NaN : c$8 ? x$5 : Infinity);
|
|
5361
5361
|
s$9 = Math.sqrt(+valueOf(x$5));
|
|
@@ -5404,21 +5404,21 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5404
5404
|
}
|
|
5405
5405
|
return round(r$4, r$4.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m$5);
|
|
5406
5406
|
};
|
|
5407
|
-
P$
|
|
5407
|
+
P$6.toExponential = function(dp, rm$1) {
|
|
5408
5408
|
if (dp != null) {
|
|
5409
5409
|
intCheck(dp, 0, MAX);
|
|
5410
5410
|
dp++;
|
|
5411
5411
|
}
|
|
5412
5412
|
return format$1(this, dp, rm$1, 1);
|
|
5413
5413
|
};
|
|
5414
|
-
P$
|
|
5414
|
+
P$6.toFixed = function(dp, rm$1) {
|
|
5415
5415
|
if (dp != null) {
|
|
5416
5416
|
intCheck(dp, 0, MAX);
|
|
5417
5417
|
dp = dp + this.e + 1;
|
|
5418
5418
|
}
|
|
5419
5419
|
return format$1(this, dp, rm$1);
|
|
5420
5420
|
};
|
|
5421
|
-
P$
|
|
5421
|
+
P$6.toFormat = function(dp, rm$1, format$2) {
|
|
5422
5422
|
var str, x$5 = this;
|
|
5423
5423
|
if (format$2 == null) if (dp != null && rm$1 && typeof rm$1 == "object") {
|
|
5424
5424
|
format$2 = rm$1;
|
|
@@ -5448,7 +5448,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5448
5448
|
}
|
|
5449
5449
|
return (format$2.prefix || "") + str + (format$2.suffix || "");
|
|
5450
5450
|
};
|
|
5451
|
-
P$
|
|
5451
|
+
P$6.toFraction = function(md) {
|
|
5452
5452
|
var d$5, d0, d1, d2, e$8, exp, n$6, n0, n1, q$6, r$4, s$9, x$5 = this, xc = x$5.c;
|
|
5453
5453
|
if (md != null) {
|
|
5454
5454
|
n$6 = new BigNumber$1(md);
|
|
@@ -5486,14 +5486,14 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5486
5486
|
MAX_EXP = exp;
|
|
5487
5487
|
return r$4;
|
|
5488
5488
|
};
|
|
5489
|
-
P$
|
|
5489
|
+
P$6.toNumber = function() {
|
|
5490
5490
|
return +valueOf(this);
|
|
5491
5491
|
};
|
|
5492
|
-
P$
|
|
5492
|
+
P$6.toPrecision = function(sd, rm$1) {
|
|
5493
5493
|
if (sd != null) intCheck(sd, 1, MAX);
|
|
5494
5494
|
return format$1(this, sd, rm$1, 2);
|
|
5495
5495
|
};
|
|
5496
|
-
P$
|
|
5496
|
+
P$6.toString = function(b$11) {
|
|
5497
5497
|
var str, n$6 = this, s$9 = n$6.s, e$8 = n$6.e;
|
|
5498
5498
|
if (e$8 === null) if (s$9) {
|
|
5499
5499
|
str = "Infinity";
|
|
@@ -5512,10 +5512,10 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5512
5512
|
}
|
|
5513
5513
|
return str;
|
|
5514
5514
|
};
|
|
5515
|
-
P$
|
|
5515
|
+
P$6.valueOf = P$6.toJSON = function() {
|
|
5516
5516
|
return valueOf(this);
|
|
5517
5517
|
};
|
|
5518
|
-
P$
|
|
5518
|
+
P$6._isBigNumber = true;
|
|
5519
5519
|
if (configObject != null) BigNumber$1.set(configObject);
|
|
5520
5520
|
return BigNumber$1;
|
|
5521
5521
|
}
|
|
@@ -7823,13 +7823,13 @@ var require_MissingTranslation = /* @__PURE__ */ __commonJS$1({ "../../node_modu
|
|
|
7823
7823
|
//#endregion
|
|
7824
7824
|
//#region ../../node_modules/.pnpm/i18n-js@4.5.1/node_modules/i18n-js/dist/require/I18n.js
|
|
7825
7825
|
var require_I18n = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/i18n-js@4.5.1/node_modules/i18n-js/dist/require/I18n.js": ((exports) => {
|
|
7826
|
-
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P$
|
|
7826
|
+
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P$6, generator) {
|
|
7827
7827
|
function adopt(value) {
|
|
7828
|
-
return value instanceof P$
|
|
7828
|
+
return value instanceof P$6 ? value : new P$6(function(resolve$2) {
|
|
7829
7829
|
resolve$2(value);
|
|
7830
7830
|
});
|
|
7831
7831
|
}
|
|
7832
|
-
return new (P$
|
|
7832
|
+
return new (P$6 || (P$6 = Promise))(function(resolve$2, reject) {
|
|
7833
7833
|
function fulfilled(value) {
|
|
7834
7834
|
try {
|
|
7835
7835
|
step(generator.next(value));
|
|
@@ -8799,11 +8799,11 @@ var require_src = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/siste
|
|
|
8799
8799
|
//#region ../../node_modules/.pnpm/@clack+core@1.0.0-alpha.7/node_modules/@clack/core/dist/index.mjs
|
|
8800
8800
|
var import_picocolors$1 = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
8801
8801
|
var import_src$1 = require_src();
|
|
8802
|
-
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$
|
|
8802
|
+
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$5 = /[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy, L$4 = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, ct = /\p{M}+/gu, Ft$1 = {
|
|
8803
8803
|
limit: Infinity,
|
|
8804
8804
|
ellipsis: ""
|
|
8805
8805
|
}, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
|
|
8806
|
-
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$
|
|
8806
|
+
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, m$5 = s$9.fullWidthWidth ?? 2, A$2 = s$9.regularWidth ?? 1, V$4 = s$9.wideWidth ?? 2;
|
|
8807
8807
|
let h$6 = 0, u$8 = 0, f$7 = t$9.length, v$5 = 0, p$3 = !1, d$5 = f$7, b$11 = Math.max(0, i$9 - n$6), C$5 = 0, B$2 = 0, c$8 = 0, F$6 = 0;
|
|
8808
8808
|
t: for (;;) {
|
|
8809
8809
|
if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
|
|
@@ -8852,12 +8852,12 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8852
8852
|
c$8 += F$6, C$5 = h$6, B$2 = u$8, u$8 = h$6 = M$4.lastIndex;
|
|
8853
8853
|
continue;
|
|
8854
8854
|
}
|
|
8855
|
-
if (P$
|
|
8856
|
-
if (c$8 + g$
|
|
8855
|
+
if (P$5.lastIndex = u$8, P$5.test(t$9)) {
|
|
8856
|
+
if (c$8 + g$5 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$5 > i$9) {
|
|
8857
8857
|
p$3 = !0;
|
|
8858
8858
|
break;
|
|
8859
8859
|
}
|
|
8860
|
-
c$8 += g$
|
|
8860
|
+
c$8 += g$5, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
|
|
8861
8861
|
continue;
|
|
8862
8862
|
}
|
|
8863
8863
|
u$8 += 1;
|
|
@@ -8884,10 +8884,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8884
8884
|
if (t$9 === 0) return 0;
|
|
8885
8885
|
}, st = (t$9) => `${W$4}${Q$3}${t$9}${tt$2}`, it = (t$9) => `${W$4}${U$4}${t$9}${j$5}`, gt$6 = (t$9) => t$9.map((e$8) => S$6(e$8)), G$4 = (t$9, e$8, s$9) => {
|
|
8886
8886
|
const i$9 = e$8[Symbol.iterator]();
|
|
8887
|
-
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$
|
|
8887
|
+
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$5 = 0;
|
|
8888
8888
|
for (; !l$3.done;) {
|
|
8889
8889
|
const m$5 = l$3.value, A$2 = S$6(m$5);
|
|
8890
|
-
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$
|
|
8890
|
+
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$5 + 1)), r$4 ? n$6 ? m$5 === j$5 && (r$4 = !1, n$6 = !1) : m$5 === tt$2 && (r$4 = !1) : (a$13 += A$2, a$13 === s$9 && !E$5.done && (t$9.push(""), a$13 = 0)), l$3 = E$5, E$5 = i$9.next(), g$5 += m$5.length;
|
|
8891
8891
|
}
|
|
8892
8892
|
o$7 = t$9.at(-1), !a$13 && o$7 !== void 0 && o$7.length > 0 && t$9.length > 1 && (t$9[t$9.length - 2] += t$9.pop());
|
|
8893
8893
|
}, vt$1 = (t$9) => {
|
|
@@ -8923,8 +8923,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8923
8923
|
}
|
|
8924
8924
|
s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
|
|
8925
8925
|
const E$5 = l$3.join(`
|
|
8926
|
-
`), g$
|
|
8927
|
-
let m$5 = g$
|
|
8926
|
+
`), g$5 = E$5[Symbol.iterator]();
|
|
8927
|
+
let m$5 = g$5.next(), A$2 = g$5.next(), V$4 = 0;
|
|
8928
8928
|
for (; !m$5.done;) {
|
|
8929
8929
|
const h$6 = m$5.value, u$8 = A$2.value;
|
|
8930
8930
|
if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
|
|
@@ -8938,7 +8938,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8938
8938
|
const f$7 = r$4 ? mt$1(r$4) : void 0;
|
|
8939
8939
|
u$8 === `
|
|
8940
8940
|
` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
|
|
8941
|
-
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$
|
|
8941
|
+
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$5.next();
|
|
8942
8942
|
}
|
|
8943
8943
|
return i$9;
|
|
8944
8944
|
};
|
|
@@ -9017,8 +9017,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
|
|
|
9017
9017
|
return;
|
|
9018
9018
|
}
|
|
9019
9019
|
if (!s$9) return;
|
|
9020
|
-
const g$
|
|
9021
|
-
k$5.moveCursor(e$8, g$
|
|
9020
|
+
const g$5 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
|
|
9021
|
+
k$5.moveCursor(e$8, g$5, m$5, () => {
|
|
9022
9022
|
k$5.clearLine(e$8, 1, () => {
|
|
9023
9023
|
t$9.once("keypress", n$6);
|
|
9024
9024
|
});
|
|
@@ -9457,7 +9457,7 @@ var $t = class extends x$4 {
|
|
|
9457
9457
|
var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
9458
9458
|
var import_src = require_src();
|
|
9459
9459
|
function ht$1() {
|
|
9460
|
-
return
|
|
9460
|
+
return g$1.platform !== "win32" ? g$1.env.TERM !== "linux" : !!g$1.env.CI || !!g$1.env.WT_SESSION || !!g$1.env.TERMINUS_SUBLIME || g$1.env.ConEmuTask === "{cmd::Cmder}" || g$1.env.TERM_PROGRAM === "Terminus-Sublime" || g$1.env.TERM_PROGRAM === "vscode" || g$1.env.TERM === "xterm-256color" || g$1.env.TERM === "alacritty" || g$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
9461
9461
|
}
|
|
9462
9462
|
const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8.isTTY === !0, w$5 = (e$8, r$4) => ee$2 ? e$8 : r$4, Me$1 = w$5("◆", "*"), ce$1 = w$5("■", "x"), de$2 = w$5("▲", "x"), j$4 = w$5("◇", "o"), $e$1 = w$5("┌", "T"), h$5 = w$5("│", "|"), x$3 = w$5("└", "—"), Re$2 = w$5("┐", "T"), Oe$1 = w$5("┘", "—"), Y$2 = w$5("●", ">"), K$4 = w$5("○", " "), te$1 = w$5("◻", "[•]"), V$3 = w$5("◼", "[+]"), z$4 = w$5("◻", "[ ]"), Pe$1 = w$5("▪", "•"), se$1 = w$5("─", "-"), he$1 = w$5("╮", "+"), Ne$1 = w$5("├", "+"), me$1 = w$5("╯", "+"), pe$1 = w$5("╰", "+"), We$1 = w$5("╭", "+"), ge$1 = w$5("●", "•"), fe$2 = w$5("◆", "*"), Fe$1 = w$5("▲", "!"), ye$1 = w$5("■", "x"), W$3 = (e$8) => {
|
|
9463
9463
|
switch (e$8) {
|
|
@@ -9479,7 +9479,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9479
9479
|
limit: Infinity,
|
|
9480
9480
|
ellipsis: ""
|
|
9481
9481
|
}, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
|
|
9482
|
-
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$
|
|
9482
|
+
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, E$5 = s$9.fullWidthWidth ?? 2, p$3 = s$9.regularWidth ?? 1, y$7 = s$9.wideWidth ?? 2;
|
|
9483
9483
|
let $$2 = 0, m$5 = 0, d$5 = e$8.length, F$6 = 0, f$7 = !1, v$5 = d$5, I$4 = Math.max(0, i$9 - l$3), B$2 = 0, b$11 = 0, A$2 = 0, C$5 = 0;
|
|
9484
9484
|
e: for (;;) {
|
|
9485
9485
|
if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
|
|
@@ -9529,11 +9529,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9529
9529
|
continue;
|
|
9530
9530
|
}
|
|
9531
9531
|
if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
|
|
9532
|
-
if (A$2 + g$
|
|
9532
|
+
if (A$2 + g$5 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$5 > i$9) {
|
|
9533
9533
|
f$7 = !0;
|
|
9534
9534
|
break;
|
|
9535
9535
|
}
|
|
9536
|
-
A$2 += g$
|
|
9536
|
+
A$2 += g$5, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
|
|
9537
9537
|
continue;
|
|
9538
9538
|
}
|
|
9539
9539
|
m$5 += 1;
|
|
@@ -9560,10 +9560,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9560
9560
|
if (e$8 === 0) return 0;
|
|
9561
9561
|
}, He$1 = (e$8) => `${ae$1}${Ve$1}${e$8}${ke$2}`, Ue$1 = (e$8) => `${ae$1}${we$1}${e$8}${Ce$1}`, Ct$1 = (e$8) => e$8.map((r$4) => M$3(r$4)), Ie$1 = (e$8, r$4, s$9) => {
|
|
9562
9562
|
const i$9 = r$4[Symbol.iterator]();
|
|
9563
|
-
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$
|
|
9563
|
+
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$5 = 0;
|
|
9564
9564
|
for (; !a$13.done;) {
|
|
9565
9565
|
const E$5 = a$13.value, p$3 = M$3(E$5);
|
|
9566
|
-
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$
|
|
9566
|
+
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$5 + 1)), n$6 ? l$3 ? E$5 === Ce$1 && (n$6 = !1, l$3 = !1) : E$5 === ke$2 && (n$6 = !1) : (o$7 += p$3, o$7 === s$9 && !c$8.done && (e$8.push(""), o$7 = 0)), a$13 = c$8, c$8 = i$9.next(), g$5 += E$5.length;
|
|
9567
9567
|
}
|
|
9568
9568
|
u$8 = e$8.at(-1), !o$7 && u$8 !== void 0 && u$8.length > 0 && e$8.length > 1 && (e$8[e$8.length - 2] += e$8.pop());
|
|
9569
9569
|
}, wt = (e$8) => {
|
|
@@ -9599,8 +9599,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9599
9599
|
}
|
|
9600
9600
|
s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
|
|
9601
9601
|
const c$8 = a$13.join(`
|
|
9602
|
-
`), g$
|
|
9603
|
-
let E$5 = g$
|
|
9602
|
+
`), g$5 = c$8[Symbol.iterator]();
|
|
9603
|
+
let E$5 = g$5.next(), p$3 = g$5.next(), y$7 = 0;
|
|
9604
9604
|
for (; !E$5.done;) {
|
|
9605
9605
|
const $$2 = E$5.value, m$5 = p$3.value;
|
|
9606
9606
|
if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
|
|
@@ -9614,7 +9614,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9614
9614
|
const d$5 = n$6 ? At(n$6) : void 0;
|
|
9615
9615
|
m$5 === `
|
|
9616
9616
|
` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
|
|
9617
|
-
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$
|
|
9617
|
+
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$5.next();
|
|
9618
9618
|
}
|
|
9619
9619
|
return i$9;
|
|
9620
9620
|
};
|
|
@@ -9636,7 +9636,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9636
9636
|
removals: u$8
|
|
9637
9637
|
};
|
|
9638
9638
|
}, J$4 = (e$8) => {
|
|
9639
|
-
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$
|
|
9639
|
+
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$5 = import_picocolors.default.dim("..."), E$5 = e$8.maxItems ?? Number.POSITIVE_INFINITY, p$3 = Math.max(c$8 - o$7, 0), y$7 = Math.max(Math.min(E$5, p$3), 5);
|
|
9640
9640
|
let $$2 = 0;
|
|
9641
9641
|
r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
|
|
9642
9642
|
let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
|
|
@@ -9658,9 +9658,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9658
9658
|
m$5 ? ({lineCount: _$7, removals: A$2} = T$8(0, D$4), _$7 > p$3 && ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length))) : ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length), _$7 > p$3 && ({lineCount: _$7, removals: A$2} = T$8(0, D$4))), A$2 > 0 && (m$5 = !0, f$7.splice(0, A$2)), C$5 > 0 && (d$5 = !0, f$7.splice(f$7.length - C$5, C$5));
|
|
9659
9659
|
}
|
|
9660
9660
|
const b$11 = [];
|
|
9661
|
-
m$5 && b$11.push(g$
|
|
9661
|
+
m$5 && b$11.push(g$5);
|
|
9662
9662
|
for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
|
|
9663
|
-
return d$5 && b$11.push(g$
|
|
9663
|
+
return d$5 && b$11.push(g$5), b$11;
|
|
9664
9664
|
};
|
|
9665
9665
|
function Ke(e$8) {
|
|
9666
9666
|
return e$8.label ?? String(e$8.value ?? "");
|
|
@@ -9706,8 +9706,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9706
9706
|
const d$5 = u$8 ? l$3 : s$9;
|
|
9707
9707
|
c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
|
|
9708
9708
|
} else c$8 = ` ${this.userInputWithCursor}`;
|
|
9709
|
-
const g$
|
|
9710
|
-
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$
|
|
9709
|
+
const g$5 = this.filteredOptions.length !== n$6.length ? import_picocolors.default.dim(` (${this.filteredOptions.length} match${this.filteredOptions.length === 1 ? "" : "es"})`) : "", E$5 = this.filteredOptions.length === 0 && s$9 ? [`${o$7}${import_picocolors.default.yellow("No matches found")}`] : [], p$3 = this.state === "error" ? [`${o$7}${import_picocolors.default.yellow(this.error)}`] : [];
|
|
9710
|
+
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$5}`, ...E$5, ...p$3);
|
|
9711
9711
|
const y$7 = [
|
|
9712
9712
|
`${import_picocolors.default.dim("↑/↓")} to select`,
|
|
9713
9713
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
@@ -9735,8 +9735,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9735
9735
|
}
|
|
9736
9736
|
}).prompt(), bt = (e$8) => {
|
|
9737
9737
|
const r$4 = (i$9, n$6, l$3, u$8) => {
|
|
9738
|
-
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$
|
|
9739
|
-
return n$6 ? `${g$
|
|
9738
|
+
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$5 = o$7 ? import_picocolors.default.green(V$3) : import_picocolors.default.dim(z$4);
|
|
9739
|
+
return n$6 ? `${g$5} ${a$13}${c$8}` : `${g$5} ${import_picocolors.default.dim(a$13)}`;
|
|
9740
9740
|
}, s$9 = new Vt({
|
|
9741
9741
|
options: e$8.options,
|
|
9742
9742
|
multiple: !0,
|
|
@@ -9756,18 +9756,18 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9756
9756
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
|
|
9757
9757
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
|
|
9758
9758
|
default: {
|
|
9759
|
-
const g$
|
|
9759
|
+
const g$5 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
|
|
9760
9760
|
`${import_picocolors.default.dim("↑/↓")} to navigate`,
|
|
9761
9761
|
`${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
|
|
9762
9762
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
9763
9763
|
`${import_picocolors.default.dim("Type:")} to search`
|
|
9764
|
-
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$
|
|
9765
|
-
...`${i$9}${g$
|
|
9764
|
+
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$5(h$5)} ${import_picocolors.default.yellow("No matches found")}`] : [], y$7 = this.state === "error" ? [`${g$5(h$5)} ${import_picocolors.default.yellow(this.error)}`] : [], $$2 = [
|
|
9765
|
+
...`${i$9}${g$5(h$5)}`.split(`
|
|
9766
9766
|
`),
|
|
9767
|
-
`${g$
|
|
9767
|
+
`${g$5(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
|
|
9768
9768
|
...p$3,
|
|
9769
9769
|
...y$7
|
|
9770
|
-
], m$5 = [`${g$
|
|
9770
|
+
], m$5 = [`${g$5(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$5(x$3)}`], d$5 = J$4({
|
|
9771
9771
|
cursor: this.cursor,
|
|
9772
9772
|
options: this.filteredOptions,
|
|
9773
9773
|
style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
|
|
@@ -9777,7 +9777,7 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9777
9777
|
});
|
|
9778
9778
|
return [
|
|
9779
9779
|
...$$2,
|
|
9780
|
-
...d$5.map((F$6) => `${g$
|
|
9780
|
+
...d$5.map((F$6) => `${g$5(h$5)} ${F$6}`),
|
|
9781
9781
|
...m$5
|
|
9782
9782
|
].join(`
|
|
9783
9783
|
`);
|
|
@@ -9802,7 +9802,7 @@ function Xe(e$8, r$4, s$9, i$9) {
|
|
|
9802
9802
|
return i$9 === "center" ? n$6 = Math.floor((r$4 - e$8) / 2) : i$9 === "right" && (n$6 = r$4 - e$8 - s$9), l$3 = r$4 - n$6 - e$8, [n$6, l$3];
|
|
9803
9803
|
}
|
|
9804
9804
|
const Dt = (e$8) => e$8, Tt = (e$8 = "", r$4 = "", s$9) => {
|
|
9805
|
-
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$
|
|
9805
|
+
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$5 = s$9?.formatBorder ?? Dt, E$5 = (s$9?.rounded ? xt$1 : _t).map(g$5), p$3 = g$5(se$1), y$7 = g$5(h$5), $$2 = M$3(c$8), m$5 = M$3(r$4), d$5 = n$6 - $$2;
|
|
9806
9806
|
let F$6 = Math.floor(n$6 * a$13) - $$2;
|
|
9807
9807
|
if (s$9?.width === "auto") {
|
|
9808
9808
|
const _$7 = e$8.split(`
|
|
@@ -9869,7 +9869,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9869
9869
|
return s$9;
|
|
9870
9870
|
}, Ot = (e$8) => {
|
|
9871
9871
|
const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
|
|
9872
|
-
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$
|
|
9872
|
+
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$5 = c$8 && (o$7[o$7.indexOf(l$3) + 1] ?? { group: !0 }), E$5 = c$8 && g$5 && g$5.group === !0, p$3 = c$8 ? r$4 ? `${E$5 ? x$3 : h$5} ` : " " : "";
|
|
9873
9873
|
let y$7 = "";
|
|
9874
9874
|
if (s$9 > 0 && !c$8) {
|
|
9875
9875
|
const m$5 = `
|
|
@@ -9920,19 +9920,19 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
|
9920
9920
|
const o$7 = this.error.split(`
|
|
9921
9921
|
`).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
|
|
9922
9922
|
`);
|
|
9923
|
-
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$
|
|
9923
|
+
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$5) => {
|
|
9924
9924
|
const E$5 = u$8.includes(a$13.value) || a$13.group === !0 && this.isGroupSelected(`${a$13.value}`), p$3 = c$8 === this.cursor;
|
|
9925
|
-
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$
|
|
9925
|
+
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$5) : p$3 && E$5 ? i$9(a$13, "active-selected", g$5) : E$5 ? i$9(a$13, "selected", g$5) : i$9(a$13, p$3 ? "active" : "inactive", g$5);
|
|
9926
9926
|
}).join(`
|
|
9927
9927
|
${import_picocolors.default.yellow(h$5)} `)}
|
|
9928
9928
|
${o$7}
|
|
9929
9929
|
`;
|
|
9930
9930
|
}
|
|
9931
9931
|
default: {
|
|
9932
|
-
const o$7 = this.options.map((c$8, g$
|
|
9933
|
-
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$
|
|
9932
|
+
const o$7 = this.options.map((c$8, g$5, E$5) => {
|
|
9933
|
+
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$5 === this.cursor, $$2 = !y$7 && typeof c$8.group == "string" && this.options[this.cursor].value === c$8.group;
|
|
9934
9934
|
let m$5 = "";
|
|
9935
|
-
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$
|
|
9935
|
+
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$5 !== 0 && !m$5.startsWith(`
|
|
9936
9936
|
`) ? " " : ""}${m$5}`;
|
|
9937
9937
|
}).join(`
|
|
9938
9938
|
${import_picocolors.default.cyan(h$5)}`), a$13 = o$7.startsWith(`
|
|
@@ -9946,14 +9946,14 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9946
9946
|
}).prompt();
|
|
9947
9947
|
}, R = {
|
|
9948
9948
|
message: (e$8 = [], { symbol: r$4 = import_picocolors.default.gray(h$5), secondarySymbol: s$9 = import_picocolors.default.gray(h$5), output: i$9 = process.stdout, spacing: n$6 = 1, withGuide: l$3 } = {}) => {
|
|
9949
|
-
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$
|
|
9949
|
+
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$5 = o$7 ? `${s$9} ` : "";
|
|
9950
9950
|
for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
|
|
9951
9951
|
const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
|
|
9952
9952
|
`);
|
|
9953
9953
|
if (E$5.length > 0) {
|
|
9954
9954
|
const [p$3, ...y$7] = E$5;
|
|
9955
9955
|
p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
|
|
9956
|
-
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$
|
|
9956
|
+
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$5}${$$2}`) : u$8.push(o$7 ? "" : s$9);
|
|
9957
9957
|
}
|
|
9958
9958
|
i$9.write(`${u$8.join(`
|
|
9959
9959
|
`)}
|
|
@@ -10046,7 +10046,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10046
10046
|
const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
|
|
10047
10047
|
`).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
|
|
10048
10048
|
`), c$8 = n$6.split(`
|
|
10049
|
-
`).length, g$
|
|
10049
|
+
`).length, g$5 = a$13.split(`
|
|
10050
10050
|
`).length + 1;
|
|
10051
10051
|
return `${n$6}${o$7}${J$4({
|
|
10052
10052
|
output: e$8.output,
|
|
@@ -10054,7 +10054,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10054
10054
|
cursor: this.cursor,
|
|
10055
10055
|
maxItems: e$8.maxItems,
|
|
10056
10056
|
columnPadding: o$7.length,
|
|
10057
|
-
rowPadding: c$8 + g$
|
|
10057
|
+
rowPadding: c$8 + g$5,
|
|
10058
10058
|
style: u$8
|
|
10059
10059
|
}).join(`
|
|
10060
10060
|
${o$7}`)}
|
|
@@ -10088,7 +10088,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10088
10088
|
`), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
|
|
10089
10089
|
return q$5(e$8, r$4 - (n$6.map(s$9).reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0) - l$3), i$9);
|
|
10090
10090
|
}, kt$1 = (e$8 = "", r$4 = "", s$9) => {
|
|
10091
|
-
const i$9 = s$9?.output ??
|
|
10091
|
+
const i$9 = s$9?.output ?? g$1.stdout, n$6 = (s$9?.withGuide ?? _$6.withGuide) !== !1, l$3 = s$9?.format ?? jt, u$8 = [
|
|
10092
10092
|
"",
|
|
10093
10093
|
...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
|
|
10094
10094
|
`).map(l$3),
|
|
@@ -10097,9 +10097,9 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10097
10097
|
const $$2 = M$3(y$7);
|
|
10098
10098
|
return $$2 > p$3 ? $$2 : p$3;
|
|
10099
10099
|
}, 0), o$7) + 2, c$8 = u$8.map((p$3) => `${import_picocolors.default.gray(h$5)} ${p$3}${" ".repeat(a$13 - M$3(p$3))}${import_picocolors.default.gray(h$5)}`).join(`
|
|
10100
|
-
`), g$
|
|
10100
|
+
`), g$5 = n$6 ? `${import_picocolors.default.gray(h$5)}
|
|
10101
10101
|
` : "", E$5 = n$6 ? Ne$1 : pe$1;
|
|
10102
|
-
i$9.write(`${g$
|
|
10102
|
+
i$9.write(`${g$5}${import_picocolors.default.green(j$4)} ${import_picocolors.default.reset(r$4)} ${import_picocolors.default.gray(se$1.repeat(Math.max(a$13 - o$7 - 1, 1)) + he$1)}
|
|
10103
10103
|
${c$8}
|
|
10104
10104
|
${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
|
|
10105
10105
|
`);
|
|
@@ -10177,7 +10177,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10177
10177
|
"0"
|
|
10178
10178
|
], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
|
|
10179
10179
|
const c$8 = ue$1();
|
|
10180
|
-
let g$
|
|
10180
|
+
let g$5, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
|
|
10181
10181
|
const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
|
|
10182
10182
|
const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
|
|
10183
10183
|
y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
|
|
@@ -10199,7 +10199,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10199
10199
|
const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
|
|
10200
10200
|
return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
|
|
10201
10201
|
}, T$8 = (S$7 = "") => {
|
|
10202
|
-
p$3 = !0, g$
|
|
10202
|
+
p$3 = !0, g$5 = xt({ output: s$9 }), $$2 = _$7(S$7), d$5 = performance.now(), s$9.write(`${import_picocolors.default.gray(h$5)}
|
|
10203
10203
|
`);
|
|
10204
10204
|
let O$9 = 0, N$6 = 0;
|
|
10205
10205
|
b$11(), E$5 = setInterval(() => {
|
|
@@ -10225,7 +10225,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10225
10225
|
const N$6 = O$9 === 0 ? import_picocolors.default.green(j$4) : O$9 === 1 ? import_picocolors.default.red(ce$1) : import_picocolors.default.red(de$2);
|
|
10226
10226
|
$$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
|
|
10227
10227
|
`) : s$9.write(`${N$6} ${$$2}
|
|
10228
|
-
`), A$2(), g$
|
|
10228
|
+
`), A$2(), g$5();
|
|
10229
10229
|
};
|
|
10230
10230
|
return {
|
|
10231
10231
|
start: T$8,
|
|
@@ -10366,7 +10366,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
|
|
|
10366
10366
|
full: ""
|
|
10367
10367
|
}];
|
|
10368
10368
|
let c$8 = !1;
|
|
10369
|
-
const g$
|
|
10369
|
+
const g$5 = (d$5) => {
|
|
10370
10370
|
if (a$13.length === 0) return;
|
|
10371
10371
|
let F$6 = 0;
|
|
10372
10372
|
d$5 && (F$6 += n$6 + 2);
|
|
@@ -10403,7 +10403,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10403
10403
|
(F$6 === void 0 || F$6.length === 0) && f$7.length === 0 || E$5(d$5, void 0, u$8 === !0 && v$5.length > 0);
|
|
10404
10404
|
}
|
|
10405
10405
|
}, y$7 = (d$5, F$6, f$7) => {
|
|
10406
|
-
if (g$
|
|
10406
|
+
if (g$5(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
|
|
10407
10407
|
`), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
|
|
10408
10408
|
const v$5 = d$5.value.split(`
|
|
10409
10409
|
`), I$4 = v$5.length - e$8.limit;
|
|
@@ -10428,7 +10428,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10428
10428
|
spacing: 0
|
|
10429
10429
|
}) : d$5.value !== "" && E$5(d$5, 0);
|
|
10430
10430
|
}, m$5 = (d$5, F$6) => {
|
|
10431
|
-
g$
|
|
10431
|
+
g$5(!1), d$5.result = F$6, o$7 && $$2();
|
|
10432
10432
|
};
|
|
10433
10433
|
return {
|
|
10434
10434
|
message(d$5, F$6) {
|
|
@@ -10459,14 +10459,14 @@ ${d$5.value}` : d$5.value;
|
|
|
10459
10459
|
};
|
|
10460
10460
|
},
|
|
10461
10461
|
error(d$5, F$6) {
|
|
10462
|
-
g$
|
|
10462
|
+
g$5(!0), R.error(d$5, {
|
|
10463
10463
|
output: r$4,
|
|
10464
10464
|
secondarySymbol: i$9,
|
|
10465
10465
|
spacing: 1
|
|
10466
10466
|
}), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
|
|
10467
10467
|
},
|
|
10468
10468
|
success(d$5, F$6) {
|
|
10469
|
-
g$
|
|
10469
|
+
g$5(!0), R.success(d$5, {
|
|
10470
10470
|
output: r$4,
|
|
10471
10471
|
secondarySymbol: i$9,
|
|
10472
10472
|
spacing: 1
|
|
@@ -11278,7 +11278,7 @@ l$2.name;
|
|
|
11278
11278
|
function n$5(e$8) {
|
|
11279
11279
|
return e$8 ? e$8 !== "false" : false;
|
|
11280
11280
|
}
|
|
11281
|
-
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$
|
|
11281
|
+
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$4 = n$5(o$6.DEBUG), R$6 = t$7 === "test" || n$5(o$6.TEST);
|
|
11282
11282
|
n$5(o$6.MINIMAL);
|
|
11283
11283
|
const A$1 = /^win/i.test(I$2);
|
|
11284
11284
|
!n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
|
|
@@ -11359,9 +11359,9 @@ function stringWidth$1(string, options$1 = {}) {
|
|
|
11359
11359
|
return width;
|
|
11360
11360
|
}
|
|
11361
11361
|
function isUnicodeSupported() {
|
|
11362
|
-
const { env: env$2 } =
|
|
11362
|
+
const { env: env$2 } = g$1;
|
|
11363
11363
|
const { TERM, TERM_PROGRAM } = env$2;
|
|
11364
|
-
if (
|
|
11364
|
+
if (g$1.platform !== "win32") return TERM !== "linux";
|
|
11365
11365
|
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
11366
11366
|
}
|
|
11367
11367
|
const TYPE_COLOR_MAP = {
|
|
@@ -11448,13 +11448,13 @@ function createConsola$1(options$1 = {}) {
|
|
|
11448
11448
|
defaults: { level },
|
|
11449
11449
|
stdout: process.stdout,
|
|
11450
11450
|
stderr: process.stderr,
|
|
11451
|
-
prompt: (...args$2) => import("./prompt-
|
|
11451
|
+
prompt: (...args$2) => import("./prompt-BIVRMyOv.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
11452
11452
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
|
|
11453
11453
|
...options$1
|
|
11454
11454
|
});
|
|
11455
11455
|
}
|
|
11456
11456
|
function _getDefaultLogLevel() {
|
|
11457
|
-
if (g$
|
|
11457
|
+
if (g$4) return LogLevels.debug;
|
|
11458
11458
|
if (R$6) return LogLevels.warn;
|
|
11459
11459
|
return LogLevels.info;
|
|
11460
11460
|
}
|
|
@@ -12320,12 +12320,12 @@ async function pathExists(path2, type) {
|
|
|
12320
12320
|
}
|
|
12321
12321
|
}
|
|
12322
12322
|
function getUserAgent() {
|
|
12323
|
-
const userAgent =
|
|
12323
|
+
const userAgent = g$1.env.npm_config_user_agent;
|
|
12324
12324
|
if (!userAgent) return null;
|
|
12325
12325
|
const name = userAgent.split("/")[0];
|
|
12326
12326
|
return AGENTS.includes(name) ? name : null;
|
|
12327
12327
|
}
|
|
12328
|
-
function* lookup(cwd$2 =
|
|
12328
|
+
function* lookup(cwd$2 = g$1.cwd()) {
|
|
12329
12329
|
let directory = path.resolve(cwd$2);
|
|
12330
12330
|
const { root: root$3 } = path.parse(directory);
|
|
12331
12331
|
while (directory && directory !== root$3) {
|
|
@@ -12940,7 +12940,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
12940
12940
|
//#endregion
|
|
12941
12941
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
12942
12942
|
const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
|
|
12943
|
-
function g$
|
|
12943
|
+
function g$3(e$8, t$9) {
|
|
12944
12944
|
const n$6 = /* @__PURE__ */ new Map();
|
|
12945
12945
|
let s$9 = 0, o$7, i$9;
|
|
12946
12946
|
for (const c$8 of e$8.split(/\n/g)) {
|
|
@@ -12981,8 +12981,8 @@ function S$4(e$8, t$9) {
|
|
|
12981
12981
|
}
|
|
12982
12982
|
function _$4(e$8) {
|
|
12983
12983
|
if (typeof e$8 != "string") throw new TypeError("Expected a string");
|
|
12984
|
-
let t$9 = g$
|
|
12985
|
-
t$9.size === 0 && (t$9 = g$
|
|
12984
|
+
let t$9 = g$3(e$8, !0);
|
|
12985
|
+
t$9.size === 0 && (t$9 = g$3(e$8, !1));
|
|
12986
12986
|
const n$6 = E$4(t$9);
|
|
12987
12987
|
let s$9, o$7 = 0, i$9 = "";
|
|
12988
12988
|
return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
|
|
@@ -13065,17 +13065,17 @@ function uu() {
|
|
|
13065
13065
|
Z$2 = 1;
|
|
13066
13066
|
const C$5 = T$4();
|
|
13067
13067
|
let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
|
|
13068
|
-
q$4 = function(a$13, g$
|
|
13068
|
+
q$4 = function(a$13, g$5) {
|
|
13069
13069
|
r$4 = String(a$13), s$9 = "start", c$8 = [], d$5 = 0, h$6 = 1, o$7 = 0, f$7 = void 0, S$7 = void 0, m$5 = void 0;
|
|
13070
13070
|
do
|
|
13071
13071
|
f$7 = E$5(), Q$4[s$9]();
|
|
13072
13072
|
while (f$7.type !== "eof");
|
|
13073
|
-
return typeof g$
|
|
13073
|
+
return typeof g$5 == "function" ? v$5({ "": m$5 }, "", g$5) : m$5;
|
|
13074
13074
|
};
|
|
13075
|
-
function v$5(D$4, a$13, g$
|
|
13075
|
+
function v$5(D$4, a$13, g$5) {
|
|
13076
13076
|
const y$7 = D$4[a$13];
|
|
13077
|
-
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$
|
|
13078
|
-
const I$4 = String(P$
|
|
13077
|
+
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$6 = 0; P$6 < y$7.length; P$6++) {
|
|
13078
|
+
const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$5);
|
|
13079
13079
|
H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
|
|
13080
13080
|
value: H$8,
|
|
13081
13081
|
writable: !0,
|
|
@@ -13083,16 +13083,16 @@ function uu() {
|
|
|
13083
13083
|
configurable: !0
|
|
13084
13084
|
});
|
|
13085
13085
|
}
|
|
13086
|
-
else for (const P$
|
|
13087
|
-
const I$4 = v$5(y$7, P$
|
|
13088
|
-
I$4 === void 0 ? delete y$7[P$
|
|
13086
|
+
else for (const P$6 in y$7) {
|
|
13087
|
+
const I$4 = v$5(y$7, P$6, g$5);
|
|
13088
|
+
I$4 === void 0 ? delete y$7[P$6] : Object.defineProperty(y$7, P$6, {
|
|
13089
13089
|
value: I$4,
|
|
13090
13090
|
writable: !0,
|
|
13091
13091
|
enumerable: !0,
|
|
13092
13092
|
configurable: !0
|
|
13093
13093
|
});
|
|
13094
13094
|
}
|
|
13095
|
-
return g$
|
|
13095
|
+
return g$5.call(D$4, a$13, y$7);
|
|
13096
13096
|
}
|
|
13097
13097
|
let t$9, e$8, x$5, w$7, A$2;
|
|
13098
13098
|
function E$5() {
|
|
@@ -13531,8 +13531,8 @@ function uu() {
|
|
|
13531
13531
|
function $$2() {
|
|
13532
13532
|
let D$4 = "", a$13 = 4;
|
|
13533
13533
|
for (; a$13-- > 0;) {
|
|
13534
|
-
const g$
|
|
13535
|
-
if (!C$5.isHexDigit(g$
|
|
13534
|
+
const g$5 = n$6();
|
|
13535
|
+
if (!C$5.isHexDigit(g$5)) throw B$2(u$8());
|
|
13536
13536
|
D$4 += u$8();
|
|
13537
13537
|
}
|
|
13538
13538
|
return String.fromCodePoint(parseInt(D$4, 16));
|
|
@@ -13660,8 +13660,8 @@ function uu() {
|
|
|
13660
13660
|
};
|
|
13661
13661
|
if (a$13[D$4]) return a$13[D$4];
|
|
13662
13662
|
if (D$4 < " ") {
|
|
13663
|
-
const g$
|
|
13664
|
-
return "\\x" + ("00" + g$
|
|
13663
|
+
const g$5 = D$4.charCodeAt(0).toString(16);
|
|
13664
|
+
return "\\x" + ("00" + g$5).substring(g$5.length);
|
|
13665
13665
|
}
|
|
13666
13666
|
return D$4;
|
|
13667
13667
|
}
|
|
@@ -13817,7 +13817,7 @@ function Au(C$5, r$4) {
|
|
|
13817
13817
|
//#endregion
|
|
13818
13818
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
13819
13819
|
function $$1(n$6, l$3 = !1) {
|
|
13820
|
-
const g$
|
|
13820
|
+
const g$5 = n$6.length;
|
|
13821
13821
|
let e$8 = 0, u$8 = "", p$3 = 0, k$6 = 16, A$2 = 0, o$7 = 0, O$9 = 0, B$2 = 0, b$11 = 0;
|
|
13822
13822
|
function I$4(i$9, T$8) {
|
|
13823
13823
|
let s$9 = 0, c$8 = 0;
|
|
@@ -13850,7 +13850,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13850
13850
|
function a$13() {
|
|
13851
13851
|
let i$9 = "", T$8 = e$8;
|
|
13852
13852
|
for (;;) {
|
|
13853
|
-
if (e$8 >= g$
|
|
13853
|
+
if (e$8 >= g$5) {
|
|
13854
13854
|
i$9 += n$6.substring(T$8, e$8), b$11 = 2;
|
|
13855
13855
|
break;
|
|
13856
13856
|
}
|
|
@@ -13860,7 +13860,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13860
13860
|
break;
|
|
13861
13861
|
}
|
|
13862
13862
|
if (s$9 === 92) {
|
|
13863
|
-
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$
|
|
13863
|
+
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$5) {
|
|
13864
13864
|
b$11 = 2;
|
|
13865
13865
|
break;
|
|
13866
13866
|
}
|
|
@@ -13908,7 +13908,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13908
13908
|
return i$9;
|
|
13909
13909
|
}
|
|
13910
13910
|
function w$7() {
|
|
13911
|
-
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$
|
|
13911
|
+
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$5) return p$3 = g$5, k$6 = 17;
|
|
13912
13912
|
let i$9 = n$6.charCodeAt(e$8);
|
|
13913
13913
|
if (J$2(i$9)) {
|
|
13914
13914
|
do
|
|
@@ -13929,12 +13929,12 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13929
13929
|
case 47:
|
|
13930
13930
|
const T$8 = e$8 - 1;
|
|
13931
13931
|
if (n$6.charCodeAt(e$8 + 1) === 47) {
|
|
13932
|
-
for (e$8 += 2; e$8 < g$
|
|
13932
|
+
for (e$8 += 2; e$8 < g$5 && !r(n$6.charCodeAt(e$8));) e$8++;
|
|
13933
13933
|
return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
|
|
13934
13934
|
}
|
|
13935
13935
|
if (n$6.charCodeAt(e$8 + 1) === 42) {
|
|
13936
13936
|
e$8 += 2;
|
|
13937
|
-
const s$9 = g$
|
|
13937
|
+
const s$9 = g$5 - 1;
|
|
13938
13938
|
let c$8 = !1;
|
|
13939
13939
|
for (; e$8 < s$9;) {
|
|
13940
13940
|
const t$9 = n$6.charCodeAt(e$8);
|
|
@@ -13947,7 +13947,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13947
13947
|
return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
|
|
13948
13948
|
}
|
|
13949
13949
|
return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
|
|
13950
|
-
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$
|
|
13950
|
+
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$5 || !L$2(n$6.charCodeAt(e$8))) return k$6 = 16;
|
|
13951
13951
|
case 48:
|
|
13952
13952
|
case 49:
|
|
13953
13953
|
case 50:
|
|
@@ -13959,7 +13959,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13959
13959
|
case 56:
|
|
13960
13960
|
case 57: return u$8 += F$6(), k$6 = 11;
|
|
13961
13961
|
default:
|
|
13962
|
-
for (; e$8 < g$
|
|
13962
|
+
for (; e$8 < g$5 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
|
|
13963
13963
|
if (p$3 !== e$8) {
|
|
13964
13964
|
switch (u$8 = n$6.substring(p$3, e$8), u$8) {
|
|
13965
13965
|
case "true": return k$6 = 8;
|
|
@@ -14028,13 +14028,13 @@ var U$2;
|
|
|
14028
14028
|
(function(n$6) {
|
|
14029
14029
|
n$6.DEFAULT = { allowTrailingComma: !1 };
|
|
14030
14030
|
})(U$2 || (U$2 = {}));
|
|
14031
|
-
function S$3(n$6, l$3 = [], g$
|
|
14031
|
+
function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
|
|
14032
14032
|
let e$8 = null, u$8 = [];
|
|
14033
14033
|
const p$3 = [];
|
|
14034
14034
|
function k$6(o$7) {
|
|
14035
14035
|
Array.isArray(u$8) ? u$8.push(o$7) : e$8 !== null && (u$8[e$8] = o$7);
|
|
14036
14036
|
}
|
|
14037
|
-
return P$
|
|
14037
|
+
return P$4(n$6, {
|
|
14038
14038
|
onObjectBegin: () => {
|
|
14039
14039
|
const o$7 = {};
|
|
14040
14040
|
k$6(o$7), p$3.push(u$8), u$8 = o$7, e$8 = null;
|
|
@@ -14060,9 +14060,9 @@ function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
|
|
|
14060
14060
|
length: B$2
|
|
14061
14061
|
});
|
|
14062
14062
|
}
|
|
14063
|
-
}, g$
|
|
14063
|
+
}, g$5), u$8[0];
|
|
14064
14064
|
}
|
|
14065
|
-
function P$
|
|
14065
|
+
function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
14066
14066
|
const e$8 = $$1(n$6, !1), u$8 = [];
|
|
14067
14067
|
let p$3 = 0;
|
|
14068
14068
|
function k$6(f$7) {
|
|
@@ -14084,7 +14084,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14084
14084
|
p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
|
|
14085
14085
|
} : () => !0;
|
|
14086
14086
|
}
|
|
14087
|
-
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$
|
|
14087
|
+
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$5 && g$5.disallowComments, s$9 = g$5 && g$5.allowTrailingComma;
|
|
14088
14088
|
function c$8() {
|
|
14089
14089
|
for (;;) {
|
|
14090
14090
|
const f$7 = e$8.scan();
|
|
@@ -14191,7 +14191,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14191
14191
|
default: return G$5();
|
|
14192
14192
|
}
|
|
14193
14193
|
}
|
|
14194
|
-
return c$8(), e$8.getToken() === 17 ? g$
|
|
14194
|
+
return c$8(), e$8.getToken() === 17 ? g$5.allowEmptyContent ? !0 : (t$9(4, [], []), !1) : E$5() ? (e$8.getToken() !== 17 && t$9(9, [], []), !0) : (t$9(4, [], []), !1);
|
|
14195
14195
|
}
|
|
14196
14196
|
var W$2;
|
|
14197
14197
|
(function(n$6) {
|
|
@@ -14207,16 +14207,16 @@ var q$3;
|
|
|
14207
14207
|
n$6[n$6.InvalidSymbol = 1] = "InvalidSymbol", n$6[n$6.InvalidNumberFormat = 2] = "InvalidNumberFormat", n$6[n$6.PropertyNameExpected = 3] = "PropertyNameExpected", n$6[n$6.ValueExpected = 4] = "ValueExpected", n$6[n$6.ColonExpected = 5] = "ColonExpected", n$6[n$6.CommaExpected = 6] = "CommaExpected", n$6[n$6.CloseBraceExpected = 7] = "CloseBraceExpected", n$6[n$6.CloseBracketExpected = 8] = "CloseBracketExpected", n$6[n$6.EndOfFileExpected = 9] = "EndOfFileExpected", n$6[n$6.InvalidCommentToken = 10] = "InvalidCommentToken", n$6[n$6.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n$6[n$6.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n$6[n$6.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n$6[n$6.InvalidUnicode = 14] = "InvalidUnicode", n$6[n$6.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n$6[n$6.InvalidCharacter = 16] = "InvalidCharacter";
|
|
14208
14208
|
})(q$3 || (q$3 = {}));
|
|
14209
14209
|
function x$1(n$6, l$3) {
|
|
14210
|
-
const g$
|
|
14211
|
-
return N$1(n$6, g$
|
|
14210
|
+
const g$5 = JSON.parse(n$6, l$3?.reviver);
|
|
14211
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14212
14212
|
}
|
|
14213
14213
|
function z$2(n$6, l$3) {
|
|
14214
|
-
const g$
|
|
14215
|
-
return g$
|
|
14214
|
+
const g$5 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$5.indent);
|
|
14215
|
+
return g$5.whitespace.start + e$8 + g$5.whitespace.end;
|
|
14216
14216
|
}
|
|
14217
14217
|
function h$2(n$6, l$3) {
|
|
14218
|
-
const g$
|
|
14219
|
-
return N$1(n$6, g$
|
|
14218
|
+
const g$5 = K$2(n$6, l$3?.errors, l$3);
|
|
14219
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14220
14220
|
}
|
|
14221
14221
|
|
|
14222
14222
|
//#endregion
|
|
@@ -14868,13 +14868,13 @@ function yi(e$8, n$6) {
|
|
|
14868
14868
|
h$3(e$8, "unexpected end of the stream within a double quoted scalar");
|
|
14869
14869
|
}
|
|
14870
14870
|
function Ci(e$8, n$6) {
|
|
14871
|
-
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$
|
|
14871
|
+
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$5, A$2, b$11, m$5;
|
|
14872
14872
|
if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
|
|
14873
14873
|
else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
|
|
14874
14874
|
else return !1;
|
|
14875
14875
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = f$7), m$5 = e$8.input.charCodeAt(++e$8.position); m$5 !== 0;) {
|
|
14876
14876
|
if (v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === t$9) return e$8.position++, e$8.tag = o$7, e$8.anchor = c$8, e$8.kind = s$9 ? "mapping" : "sequence", e$8.result = f$7, !0;
|
|
14877
|
-
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$
|
|
14877
|
+
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$5 = b$11 = null, p$3 = d$5 = !1, m$5 === 63 && (a$13 = e$8.input.charCodeAt(e$8.position + 1), F$4(a$13) && (p$3 = d$5 = !0, e$8.position++, v$3(e$8, !0, n$6))), l$3 = e$8.line, r$4 = e$8.lineStart, u$8 = e$8.position, R$4(e$8, n$6, H$5, !1, !0), A$2 = e$8.tag, g$5 = e$8.result, v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), (d$5 || e$8.line === l$3) && m$5 === 58 && (p$3 = !0, m$5 = e$8.input.charCodeAt(++e$8.position), v$3(e$8, !0, n$6), R$4(e$8, n$6, H$5, !1, !0), b$11 = e$8.result), s$9 ? N$2(e$8, f$7, x$5, A$2, g$5, b$11, l$3, r$4, u$8) : p$3 ? f$7.push(N$2(e$8, null, x$5, A$2, g$5, b$11, l$3, r$4, u$8)) : f$7.push(g$5), v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 44 ? (i$9 = !0, m$5 = e$8.input.charCodeAt(++e$8.position)) : i$9 = !1;
|
|
14878
14878
|
}
|
|
14879
14879
|
h$3(e$8, "unexpected end of the stream within a flow collection");
|
|
14880
14880
|
}
|
|
@@ -14929,21 +14929,21 @@ function we(e$8, n$6) {
|
|
|
14929
14929
|
return f$7 ? (e$8.tag = l$3, e$8.anchor = r$4, e$8.kind = "sequence", e$8.result = u$8, !0) : !1;
|
|
14930
14930
|
}
|
|
14931
14931
|
function wi(e$8, n$6, i$9) {
|
|
14932
|
-
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$
|
|
14932
|
+
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$5 = null, A$2 = !1, b$11 = !1, m$5;
|
|
14933
14933
|
if (e$8.firstTabInLine !== -1) return !1;
|
|
14934
14934
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = p$3), m$5 = e$8.input.charCodeAt(e$8.position); m$5 !== 0;) {
|
|
14935
|
-
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14935
|
+
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !0, r$4 = !0) : A$2 ? (A$2 = !1, r$4 = !0) : h$3(e$8, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e$8.position += 1, m$5 = l$3;
|
|
14936
14936
|
else {
|
|
14937
14937
|
if (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position, !R$4(e$8, i$9, te, !1, !0)) break;
|
|
14938
14938
|
if (e$8.line === u$8) {
|
|
14939
14939
|
for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
|
|
14940
|
-
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14940
|
+
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !1, r$4 = !1, s$9 = e$8.tag, x$5 = e$8.result;
|
|
14941
14941
|
else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
|
|
14942
14942
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14943
14943
|
} else if (b$11) h$3(e$8, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
14944
14944
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14945
14945
|
}
|
|
14946
|
-
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$
|
|
14946
|
+
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$5 = e$8.result), A$2 || (N$2(e$8, p$3, d$5, s$9, x$5, g$5, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), v$3(e$8, !0, -1), m$5 = e$8.input.charCodeAt(e$8.position)), (e$8.line === u$8 || e$8.lineIndent > n$6) && m$5 !== 0) h$3(e$8, "bad indentation of a mapping entry");
|
|
14947
14947
|
else if (e$8.lineIndent < n$6) break;
|
|
14948
14948
|
}
|
|
14949
14949
|
return A$2 && N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), b$11 && (e$8.tag = a$13, e$8.anchor = t$9, e$8.kind = "mapping", e$8.result = p$3), b$11;
|
|
@@ -14981,9 +14981,9 @@ function Si(e$8) {
|
|
|
14981
14981
|
return e$8.position === n$6 && h$3(e$8, "name of an alias node must contain at least one character"), i$9 = e$8.input.slice(n$6, e$8.position), T$3.call(e$8.anchorMap, i$9) || h$3(e$8, "unidentified alias \"" + i$9 + "\""), e$8.result = e$8.anchorMap[i$9], v$3(e$8, !0, -1), !0;
|
|
14982
14982
|
}
|
|
14983
14983
|
function R$4(e$8, n$6, i$9, l$3, r$4) {
|
|
14984
|
-
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$
|
|
14984
|
+
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$5, A$2;
|
|
14985
14985
|
if (e$8.listener !== null && e$8.listener("open", e$8), e$8.tag = null, e$8.anchor = null, e$8.kind = null, e$8.result = null, u$8 = o$7 = f$7 = U$1 === i$9 || he === i$9, l$3 && v$3(e$8, !0, -1) && (a$13 = !0, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)), c$8 === 1) for (; Fi(e$8) || bi(e$8);) v$3(e$8, !0, -1) ? (a$13 = !0, f$7 = u$8, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)) : f$7 = !1;
|
|
14986
|
-
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$
|
|
14986
|
+
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$5 = n$6 : g$5 = n$6 + 1, A$2 = e$8.position - e$8.lineStart, c$8 === 1 ? f$7 && (we(e$8, A$2) || wi(e$8, A$2, g$5)) || Ci(e$8, g$5) ? t$9 = !0 : (o$7 && _i(e$8, g$5) || vi(e$8, g$5) || yi(e$8, g$5) ? t$9 = !0 : Si(e$8) ? (t$9 = !0, (e$8.tag !== null || e$8.anchor !== null) && h$3(e$8, "alias node should not have any properties")) : Ai(e$8, g$5, H$5 === i$9) && (t$9 = !0, e$8.tag === null && (e$8.tag = "?")), e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result)) : c$8 === 0 && (t$9 = f$7 && we(e$8, A$2))), e$8.tag === null) e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
14987
14987
|
else if (e$8.tag === "?") {
|
|
14988
14988
|
for (e$8.result !== null && e$8.kind !== "scalar" && h$3(e$8, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e$8.kind + "\""), p$3 = 0, d$5 = e$8.implicitTypes.length; p$3 < d$5; p$3 += 1) if (x$5 = e$8.implicitTypes[p$3], x$5.resolve(e$8.result)) {
|
|
14989
14989
|
e$8.result = x$5.construct(e$8.result), e$8.tag = x$5.tag, e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
@@ -15095,18 +15095,18 @@ function er(e$8, n$6) {
|
|
|
15095
15095
|
function W$1(e$8) {
|
|
15096
15096
|
return e$8 === Ri || e$8 === Li;
|
|
15097
15097
|
}
|
|
15098
|
-
function P$
|
|
15098
|
+
function P$3(e$8) {
|
|
15099
15099
|
return 32 <= e$8 && e$8 <= 126 || 161 <= e$8 && e$8 <= 55295 && e$8 !== 8232 && e$8 !== 8233 || 57344 <= e$8 && e$8 <= 65533 && e$8 !== ee$1 || 65536 <= e$8 && e$8 <= 1114111;
|
|
15100
15100
|
}
|
|
15101
15101
|
function Le(e$8) {
|
|
15102
|
-
return P$
|
|
15102
|
+
return P$3(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
|
|
15103
15103
|
}
|
|
15104
15104
|
function Ne(e$8, n$6, i$9) {
|
|
15105
15105
|
var l$3 = Le(e$8), r$4 = l$3 && !W$1(e$8);
|
|
15106
15106
|
return (i$9 ? l$3 : l$3 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie) && e$8 !== ne && !(n$6 === G$2 && !r$4) || Le(n$6) && !W$1(n$6) && e$8 === ne || n$6 === G$2 && r$4;
|
|
15107
15107
|
}
|
|
15108
15108
|
function nr(e$8) {
|
|
15109
|
-
return P$
|
|
15109
|
+
return P$3(e$8) && e$8 !== ee$1 && !W$1(e$8) && e$8 !== Hi && e$8 !== qi && e$8 !== G$2 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie && e$8 !== ne && e$8 !== Bi && e$8 !== ji && e$8 !== Di && e$8 !== $i && e$8 !== Ui && e$8 !== Ki && e$8 !== Pi && e$8 !== Mi && e$8 !== Yi && e$8 !== Gi && e$8 !== Wi;
|
|
15110
15110
|
}
|
|
15111
15111
|
function ir(e$8) {
|
|
15112
15112
|
return !W$1(e$8) && e$8 !== G$2;
|
|
@@ -15120,20 +15120,20 @@ function Re$1(e$8) {
|
|
|
15120
15120
|
}
|
|
15121
15121
|
var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
|
|
15122
15122
|
function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
|
|
15123
|
-
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$
|
|
15123
|
+
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$5 = nr(j$3(e$8, 0)) && ir(j$3(e$8, e$8.length - 1));
|
|
15124
15124
|
if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15125
|
-
if (a$13 = j$3(e$8, c$8), !P$
|
|
15126
|
-
g$
|
|
15125
|
+
if (a$13 = j$3(e$8, c$8), !P$3(a$13)) return D$1;
|
|
15126
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15127
15127
|
}
|
|
15128
15128
|
else {
|
|
15129
15129
|
for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15130
15130
|
if (a$13 = j$3(e$8, c$8), a$13 === Y) p$3 = !0, s$9 && (d$5 = d$5 || c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ", x$5 = c$8);
|
|
15131
|
-
else if (!P$
|
|
15132
|
-
g$
|
|
15131
|
+
else if (!P$3(a$13)) return D$1;
|
|
15132
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15133
15133
|
}
|
|
15134
15134
|
d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
|
|
15135
15135
|
}
|
|
15136
|
-
return !p$3 && !d$5 ? g$
|
|
15136
|
+
return !p$3 && !d$5 ? g$5 && !o$7 && !r$4(e$8) ? De : u$8 === B$1 ? D$1 : re$5 : i$9 > 9 && Re$1(e$8) ? D$1 : o$7 ? u$8 === B$1 ? D$1 : re$5 : d$5 ? Ye$1 : Me;
|
|
15137
15137
|
}
|
|
15138
15138
|
function lr(e$8, n$6, i$9, l$3, r$4) {
|
|
15139
15139
|
e$8.dump = function() {
|
|
@@ -15187,7 +15187,7 @@ function je(e$8, n$6) {
|
|
|
15187
15187
|
` + e$8.slice(o$7 + 1) : c$8 += e$8.slice(r$4), c$8.slice(1);
|
|
15188
15188
|
}
|
|
15189
15189
|
function ur(e$8) {
|
|
15190
|
-
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$
|
|
15190
|
+
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$3(i$9) ? (n$6 += e$8[r$4], i$9 >= 65536 && (n$6 += e$8[r$4 + 1])) : n$6 += l$3 || Zi(i$9);
|
|
15191
15191
|
return n$6;
|
|
15192
15192
|
}
|
|
15193
15193
|
function fr(e$8, n$6, i$9) {
|
|
@@ -15702,19 +15702,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
15702
15702
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
15703
15703
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
15704
15704
|
function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
|
|
15705
|
-
if (
|
|
15705
|
+
if (g$1.noDeprecation) return;
|
|
15706
15706
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
15707
15707
|
const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
|
|
15708
|
-
|
|
15708
|
+
g$1.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request$2}" ${request$2 === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
15709
15709
|
}
|
|
15710
15710
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
|
|
15711
|
-
if (
|
|
15711
|
+
if (g$1.noDeprecation) return;
|
|
15712
15712
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
15713
15713
|
const urlPath = fileURLToPath(url.href);
|
|
15714
15714
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
15715
15715
|
const basePath = fileURLToPath(base);
|
|
15716
|
-
if (!main$1)
|
|
15717
|
-
else if (path.resolve(packagePath, main$1) !== urlPath)
|
|
15716
|
+
if (!main$1) g$1.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15717
|
+
else if (path.resolve(packagePath, main$1) !== urlPath) g$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main$1}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15718
15718
|
}
|
|
15719
15719
|
function tryStatSync(path$1) {
|
|
15720
15720
|
try {
|
|
@@ -15922,11 +15922,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
|
|
|
15922
15922
|
return isConditionalSugar;
|
|
15923
15923
|
}
|
|
15924
15924
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
15925
|
-
if (
|
|
15925
|
+
if (g$1.noDeprecation) return;
|
|
15926
15926
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
15927
15927
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
15928
15928
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
15929
|
-
|
|
15929
|
+
g$1.emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
15930
15930
|
}
|
|
15931
15931
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
15932
15932
|
let exports$1 = packageConfig.exports;
|
|
@@ -16411,7 +16411,7 @@ var f$4 = Object.getOwnPropertyNames;
|
|
|
16411
16411
|
var p$1 = Object.getPrototypeOf;
|
|
16412
16412
|
var m$3 = Object.prototype.hasOwnProperty;
|
|
16413
16413
|
var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
|
|
16414
|
-
var g$
|
|
16414
|
+
var g$2 = (e$8, t$9, n$6, r$4) => {
|
|
16415
16415
|
if (t$9 && typeof t$9 === "object" || typeof t$9 === "function") for (var i$9 = f$4(t$9), a$13 = 0, o$7 = i$9.length, s$9; a$13 < o$7; a$13++) {
|
|
16416
16416
|
s$9 = i$9[a$13];
|
|
16417
16417
|
if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
|
|
@@ -16421,7 +16421,7 @@ var g$1 = (e$8, t$9, n$6, r$4) => {
|
|
|
16421
16421
|
}
|
|
16422
16422
|
return e$8;
|
|
16423
16423
|
};
|
|
16424
|
-
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$
|
|
16424
|
+
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$2(t$9 || !e$8 || !e$8.__esModule ? u$6(n$6, "default", {
|
|
16425
16425
|
value: e$8,
|
|
16426
16426
|
enumerable: true
|
|
16427
16427
|
}) : n$6, e$8));
|
|
@@ -16714,7 +16714,7 @@ var N = h$1((exports$1, t$9) => {
|
|
|
16714
16714
|
return i$9 ? `${a$13} ${i$9}` : a$13;
|
|
16715
16715
|
};
|
|
16716
16716
|
});
|
|
16717
|
-
var P$
|
|
16717
|
+
var P$2 = h$1((exports$1, t$9) => {
|
|
16718
16718
|
const n$6 = v$2("fs");
|
|
16719
16719
|
const r$4 = N();
|
|
16720
16720
|
function i$9(e$8) {
|
|
@@ -16734,7 +16734,7 @@ var F$3 = h$1((exports$1, t$9) => {
|
|
|
16734
16734
|
const n$6 = v$2("path");
|
|
16735
16735
|
const r$4 = A();
|
|
16736
16736
|
const i$9 = j$2();
|
|
16737
|
-
const a$13 = P$
|
|
16737
|
+
const a$13 = P$2();
|
|
16738
16738
|
const o$7 = process.platform === "win32";
|
|
16739
16739
|
const s$9 = /\.(?:com|exe)$/i;
|
|
16740
16740
|
const c$8 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -28944,19 +28944,19 @@ ${p$3}`;
|
|
|
28944
28944
|
process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A$2);
|
|
28945
28945
|
}
|
|
28946
28946
|
e$6(H$3, "H"), s$7(H$3, "debug");
|
|
28947
|
-
function P$
|
|
28947
|
+
function P$1(A$2, k$6) {
|
|
28948
28948
|
if (!k$6) return !1;
|
|
28949
28949
|
for (const c$8 of k$6) if (c$8 === A$2 || c$8[0] === "." && A$2.endsWith(c$8.slice(1))) return !0;
|
|
28950
28950
|
return !1;
|
|
28951
28951
|
}
|
|
28952
|
-
e$6(P$
|
|
28952
|
+
e$6(P$1, "P"), s$7(P$1, "bypassProxy");
|
|
28953
28953
|
const g = (fe = class extends undiciExports.ProxyAgent {
|
|
28954
28954
|
constructor(k$6) {
|
|
28955
28955
|
super(k$6), this._options = k$6, i$7(this, "_agent"), this._agent = new undiciExports.Agent();
|
|
28956
28956
|
}
|
|
28957
28957
|
dispatch(k$6, c$8) {
|
|
28958
28958
|
const B$2 = new require$$1$1.URL(k$6.origin).hostname;
|
|
28959
|
-
return P$
|
|
28959
|
+
return P$1(B$2, this._options.noProxy) ? (H$3(`Bypassing proxy for: ${B$2}`), this._agent.dispatch(k$6, c$8)) : super.dispatch(k$6, c$8);
|
|
28960
28960
|
}
|
|
28961
28961
|
}, e$6(fe, "g"), fe);
|
|
28962
28962
|
s$7(g, "UndiciProxyAgent");
|
|
@@ -28975,7 +28975,7 @@ ${p$3}`;
|
|
|
28975
28975
|
}
|
|
28976
28976
|
connect(k$6, c$8) {
|
|
28977
28977
|
const B$2 = k$6.getHeader("upgrade") === "websocket", t$9 = c$8.secureEndpoint ? B$2 ? "wss:" : "https:" : B$2 ? "ws:" : "http:";
|
|
28978
|
-
if (P$
|
|
28978
|
+
if (P$1(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
|
|
28979
28979
|
const R$7 = `${t$9}+${this._options.uri}`;
|
|
28980
28980
|
let F$6 = this.cache.get(R$7);
|
|
28981
28981
|
if (!F$6) {
|
|
@@ -29100,13 +29100,13 @@ function w$1() {
|
|
|
29100
29100
|
if (i$5) return f$3;
|
|
29101
29101
|
i$5 = 1;
|
|
29102
29102
|
const v$5 = (e$8, r$4) => {
|
|
29103
|
-
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$
|
|
29103
|
+
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$5(e$8, r$4) : p$3(e$8, r$4);
|
|
29104
29104
|
else throw Error("cannot encode number outside of javascript safe integer range");
|
|
29105
29105
|
return r$4;
|
|
29106
29106
|
}, p$3 = (e$8, r$4) => {
|
|
29107
29107
|
r$4[0] = 128;
|
|
29108
29108
|
for (var o$7 = r$4.length; o$7 > 1; o$7--) r$4[o$7 - 1] = e$8 & 255, e$8 = Math.floor(e$8 / 256);
|
|
29109
|
-
}, g$
|
|
29109
|
+
}, g$5 = (e$8, r$4) => {
|
|
29110
29110
|
r$4[0] = 255;
|
|
29111
29111
|
var o$7 = false;
|
|
29112
29112
|
e$8 = e$8 * -1;
|
|
@@ -29141,14 +29141,14 @@ var k, w;
|
|
|
29141
29141
|
function E() {
|
|
29142
29142
|
if (w) return k;
|
|
29143
29143
|
w = 1;
|
|
29144
|
-
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$
|
|
29144
|
+
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$6 = Symbol("slurp"), a$13 = Symbol("type");
|
|
29145
29145
|
class B$2 {
|
|
29146
29146
|
constructor(e$8, t$9, i$9, h$6) {
|
|
29147
29147
|
this.cksumValid = false, this.needPax = false, this.nullBlock = false, this.block = null, this.path = null, this.mode = null, this.uid = null, this.gid = null, this.size = null, this.mtime = null, this.cksum = null, this[a$13] = "0", this.linkpath = null, this.uname = null, this.gname = null, this.devmaj = 0, this.devmin = 0, this.atime = null, this.ctime = null, Buffer.isBuffer(e$8) ? this.decode(e$8, t$9 || 0, i$9, h$6) : e$8 && this.set(e$8);
|
|
29148
29148
|
}
|
|
29149
29149
|
decode(e$8, t$9, i$9, h$6) {
|
|
29150
29150
|
if (t$9 || (t$9 = 0), !e$8 || !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29151
|
-
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$
|
|
29151
|
+
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$6](i$9), this[P$6](h$6, true), this[a$13] = d$5(e$8, t$9 + 156, 1), this[a$13] === "" && (this[a$13] = "0"), this[a$13] === "0" && this.path.slice(-1) === "/" && (this[a$13] = "5"), this[a$13] === "5" && (this.size = 0), this.linkpath = d$5(e$8, t$9 + 157, 100), e$8.slice(t$9 + 257, t$9 + 265).toString() === "ustar\x0000") if (this.uname = d$5(e$8, t$9 + 265, 32), this.gname = d$5(e$8, t$9 + 297, 32), this.devmaj = r$4(e$8, t$9 + 329, 8), this.devmin = r$4(e$8, t$9 + 337, 8), e$8[t$9 + 475] !== 0) this.path = d$5(e$8, t$9 + 345, 155) + "/" + this.path;
|
|
29152
29152
|
else {
|
|
29153
29153
|
const n$6 = d$5(e$8, t$9 + 345, 130);
|
|
29154
29154
|
n$6 && (this.path = n$6 + "/" + this.path), this.atime = o$7(e$8, t$9 + 476, 12), this.ctime = o$7(e$8, t$9 + 488, 12);
|
|
@@ -29158,13 +29158,13 @@ function E() {
|
|
|
29158
29158
|
for (let n$6 = t$9 + 156; n$6 < t$9 + 512; n$6++) l$3 += e$8[n$6];
|
|
29159
29159
|
this.cksumValid = l$3 === this.cksum, this.cksum === null && l$3 === 256 && (this.nullBlock = true);
|
|
29160
29160
|
}
|
|
29161
|
-
[P$
|
|
29161
|
+
[P$6](e$8, t$9) {
|
|
29162
29162
|
for (const i$9 in e$8) e$8[i$9] !== null && e$8[i$9] !== void 0 && !(t$9 && i$9 === "path") && (this[i$9] = e$8[i$9]);
|
|
29163
29163
|
}
|
|
29164
29164
|
encode(e$8, t$9) {
|
|
29165
29165
|
if (e$8 || (e$8 = this.block = Buffer.alloc(512), t$9 = 0), t$9 || (t$9 = 0), !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29166
29166
|
const i$9 = this.ctime || this.atime ? 130 : 155, h$6 = L$5(this.path || "", i$9), l$3 = h$6[0], n$6 = h$6[1];
|
|
29167
|
-
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$
|
|
29167
|
+
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$5(e$8, t$9 + 136, 12, this.mtime) || this.needPax, e$8[t$9 + 156] = this[a$13].charCodeAt(0), this.needPax = m$5(e$8, t$9 + 157, 100, this.linkpath) || this.needPax, e$8.write("ustar\x0000", t$9 + 257, 8), this.needPax = m$5(e$8, t$9 + 265, 32, this.uname) || this.needPax, this.needPax = m$5(e$8, t$9 + 297, 32, this.gname) || this.needPax, this.needPax = c$8(e$8, t$9 + 329, 8, this.devmaj) || this.needPax, this.needPax = c$8(e$8, t$9 + 337, 8, this.devmin) || this.needPax, this.needPax = m$5(e$8, t$9 + 345, i$9, n$6) || this.needPax, e$8[t$9 + 475] !== 0 ? this.needPax = m$5(e$8, t$9 + 345, 155, n$6) || this.needPax : (this.needPax = m$5(e$8, t$9 + 345, 130, n$6) || this.needPax, this.needPax = g$5(e$8, t$9 + 476, 12, this.atime) || this.needPax, this.needPax = g$5(e$8, t$9 + 488, 12, this.ctime) || this.needPax);
|
|
29168
29168
|
let S$7 = 256;
|
|
29169
29169
|
for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
|
|
29170
29170
|
for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
|
|
@@ -29214,7 +29214,7 @@ function E() {
|
|
|
29214
29214
|
}, d$5 = (s$9, e$8, t$9) => s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*/, ""), o$7 = (s$9, e$8, t$9) => N$6(r$4(s$9, e$8, t$9)), N$6 = (s$9) => s$9 === null ? null : /* @__PURE__ */ new Date(s$9 * 1e3), r$4 = (s$9, e$8, t$9) => s$9[e$8] & 128 ? y$7.parse(s$9.slice(e$8, e$8 + t$9)) : j$6(s$9, e$8, t$9), q$6 = (s$9) => isNaN(s$9) ? null : s$9, j$6 = (s$9, e$8, t$9) => q$6(parseInt(s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v$5 = {
|
|
29215
29215
|
12: 8589934591,
|
|
29216
29216
|
8: 2097151
|
|
29217
|
-
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$
|
|
29217
|
+
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : c$8(s$9, e$8, t$9, i$9.getTime() / 1e3), A$2 = new Array(156).join("\0"), m$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : (s$9.write(i$9 + A$2, e$8, t$9, "utf8"), i$9.length !== Buffer.byteLength(i$9) || i$9.length > t$9);
|
|
29218
29218
|
return k = B$2, k;
|
|
29219
29219
|
}
|
|
29220
29220
|
var e$3, t$3$1;
|
|
@@ -29366,7 +29366,7 @@ function ft() {
|
|
|
29366
29366
|
const H$8 = typeof process == "object" && process ? process : {
|
|
29367
29367
|
stdout: null,
|
|
29368
29368
|
stderr: null
|
|
29369
|
-
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$
|
|
29369
|
+
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$5 = Symbol("emittedError"), B$2 = Symbol("closed"), Y$3 = Symbol("read"), T$8 = Symbol("flush"), $$2 = Symbol("flushChunk"), f$7 = Symbol("encoding"), c$8 = Symbol("decoder"), M$5 = Symbol("flowing"), S$7 = Symbol("paused"), b$11 = Symbol("resume"), i$9 = Symbol("buffer"), a$13 = Symbol("pipes"), n$6 = Symbol("bufferLength"), j$6 = Symbol("bufferPush"), I$4 = Symbol("bufferShift"), o$7 = Symbol("objectMode"), r$4 = Symbol("destroyed"), P$6 = Symbol("error"), x$5 = Symbol("emitData"), V$4 = Symbol("emitEnd"), N$6 = Symbol("emitEnd2"), p$3 = Symbol("async"), _$7 = Symbol("abort"), O$9 = Symbol("aborted"), E$5 = Symbol("signal"), w$7 = (h$6) => Promise.resolve().then(h$6), J$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K$6 = J$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W$5 = J$5 && Symbol.iterator || Symbol("iterator not implemented"), k$6 = (h$6) => h$6 === "end" || h$6 === "finish" || h$6 === "prefinish", tt$3 = (h$6) => h$6 instanceof ArrayBuffer || typeof h$6 == "object" && h$6.constructor && h$6.constructor.name === "ArrayBuffer" && h$6.byteLength >= 0, et$1 = (h$6) => !Buffer.isBuffer(h$6) && ArrayBuffer.isView(h$6);
|
|
29370
29370
|
class z$6 {
|
|
29371
29371
|
constructor(t$9, e$8, s$9) {
|
|
29372
29372
|
this.src = t$9, this.dest = e$8, this.opts = s$9, this.ondrain = () => t$9[b$11](), e$8.on("drain", this.ondrain);
|
|
@@ -29389,7 +29389,7 @@ function ft() {
|
|
|
29389
29389
|
}
|
|
29390
29390
|
class F$6 extends q$6 {
|
|
29391
29391
|
constructor(t$9) {
|
|
29392
|
-
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$
|
|
29392
|
+
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$5] = null, this.writable = true, this.readable = true, this[n$6] = 0, this[r$4] = false, t$9 && t$9.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i$9] }), t$9 && t$9.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a$13] }), this[E$5] = t$9 && t$9.signal, this[O$9] = false, this[E$5] && (this[E$5].addEventListener("abort", () => this[_$7]()), this[E$5].aborted && this[_$7]());
|
|
29393
29393
|
}
|
|
29394
29394
|
get bufferLength() {
|
|
29395
29395
|
return this[n$6];
|
|
@@ -29491,7 +29491,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29491
29491
|
}
|
|
29492
29492
|
on(t$9, e$8) {
|
|
29493
29493
|
const s$9 = super.on(t$9, e$8);
|
|
29494
|
-
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$
|
|
29494
|
+
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$5] && (this[p$3] ? w$7(() => e$8.call(this, this[g$5])) : e$8.call(this, this[g$5])), s$9;
|
|
29495
29495
|
}
|
|
29496
29496
|
get emittedEnd() {
|
|
29497
29497
|
return this[y$7];
|
|
@@ -29508,7 +29508,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29508
29508
|
const u$8 = super.emit("close");
|
|
29509
29509
|
return this.removeAllListeners("close"), u$8;
|
|
29510
29510
|
} else if (t$9 === "error") {
|
|
29511
|
-
this[g$
|
|
29511
|
+
this[g$5] = e$8, super.emit(P$6, e$8);
|
|
29512
29512
|
const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
|
|
29513
29513
|
return this[d$5](), u$8;
|
|
29514
29514
|
} else if (t$9 === "resume") {
|
|
@@ -29593,12 +29593,12 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29593
29593
|
}
|
|
29594
29594
|
[W$5]() {
|
|
29595
29595
|
let t$9 = false;
|
|
29596
|
-
const e$8 = () => (this.pause(), this.removeListener(P$
|
|
29596
|
+
const e$8 = () => (this.pause(), this.removeListener(P$6, e$8), this.removeListener(r$4, e$8), this.removeListener("end", e$8), t$9 = true, { done: true }), s$9 = () => {
|
|
29597
29597
|
if (t$9) return e$8();
|
|
29598
29598
|
const l$3 = this.read();
|
|
29599
29599
|
return l$3 === null ? e$8() : { value: l$3 };
|
|
29600
29600
|
};
|
|
29601
|
-
return this.once("end", e$8), this.once(P$
|
|
29601
|
+
return this.once("end", e$8), this.once(P$6, e$8), this.once(r$4, e$8), {
|
|
29602
29602
|
next: s$9,
|
|
29603
29603
|
throw: e$8,
|
|
29604
29604
|
return: e$8,
|
|
@@ -29840,7 +29840,7 @@ function tt$1() {
|
|
|
29840
29840
|
const I$4 = typeof process == "object" && process ? process : {
|
|
29841
29841
|
stdout: null,
|
|
29842
29842
|
stderr: null
|
|
29843
|
-
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$
|
|
29843
|
+
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$6 = Symbol("read"), L$5 = Symbol("flush"), _$7 = Symbol("flushChunk"), h$6 = Symbol("encoding"), m$5 = Symbol("decoder"), M$5 = Symbol("flowing"), y$7 = Symbol("paused"), p$3 = Symbol("resume"), s$9 = Symbol("bufferLength"), T$8 = Symbol("bufferPush"), B$2 = Symbol("bufferShift"), r$4 = Symbol("objectMode"), n$6 = Symbol("destroyed"), D$4 = Symbol("emitData"), F$6 = Symbol("emitEnd"), R$7 = Symbol("emitEnd2"), d$5 = Symbol("async"), b$11 = (o$7) => Promise.resolve().then(o$7), C$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $$2 = C$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G$5 = C$5 && Symbol.iterator || Symbol("iterator not implemented"), V$4 = (o$7) => o$7 === "end" || o$7 === "finish" || o$7 === "prefinish", v$5 = (o$7) => o$7 instanceof ArrayBuffer || typeof o$7 == "object" && o$7.constructor && o$7.constructor.name === "ArrayBuffer" && o$7.byteLength >= 0, J$5 = (o$7) => !Buffer.isBuffer(o$7) && ArrayBuffer.isView(o$7);
|
|
29844
29844
|
class U$5 {
|
|
29845
29845
|
constructor(t$9, e$8, i$9) {
|
|
29846
29846
|
this.src = t$9, this.dest = e$8, this.opts = i$9, this.ondrain = () => t$9[p$3](), e$8.on("drain", this.ondrain);
|
|
@@ -29902,10 +29902,10 @@ function tt$1() {
|
|
|
29902
29902
|
if (this[n$6]) return null;
|
|
29903
29903
|
if (this[s$9] === 0 || t$9 === 0 || t$9 > this[s$9]) return this[a$13](), null;
|
|
29904
29904
|
this[r$4] && (t$9 = null), this.buffer.length > 1 && !this[r$4] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[s$9])]);
|
|
29905
|
-
const e$8 = this[P$
|
|
29905
|
+
const e$8 = this[P$6](t$9 || null, this.buffer[0]);
|
|
29906
29906
|
return this[a$13](), e$8;
|
|
29907
29907
|
}
|
|
29908
|
-
[P$
|
|
29908
|
+
[P$6](t$9, e$8) {
|
|
29909
29909
|
return t$9 === e$8.length || t$9 === null ? this[B$2]() : (this.buffer[0] = e$8.slice(t$9), e$8 = e$8.slice(0, t$9), this[s$9] -= t$9), this.emit("data", e$8), !this.buffer.length && !this[u$8] && this.emit("drain"), e$8;
|
|
29910
29910
|
}
|
|
29911
29911
|
end(t$9, e$8, i$9) {
|
|
@@ -30032,18 +30032,18 @@ while (this[_$7](this[B$2]()));
|
|
|
30032
30032
|
});
|
|
30033
30033
|
if (this[u$8]) return Promise.resolve({ done: true });
|
|
30034
30034
|
let i$9 = null, l$3 = null;
|
|
30035
|
-
const f$7 = (g$
|
|
30036
|
-
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$
|
|
30037
|
-
}, A$2 = (g$
|
|
30035
|
+
const f$7 = (g$5) => {
|
|
30036
|
+
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$5);
|
|
30037
|
+
}, A$2 = (g$5) => {
|
|
30038
30038
|
this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
|
|
30039
|
-
value: g$
|
|
30039
|
+
value: g$5,
|
|
30040
30040
|
done: !!this[u$8]
|
|
30041
30041
|
});
|
|
30042
30042
|
}, O$9 = () => {
|
|
30043
30043
|
this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
|
|
30044
30044
|
}, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
|
|
30045
|
-
return new Promise((g$
|
|
30046
|
-
l$3 = z$6, i$9 = g$
|
|
30045
|
+
return new Promise((g$5, z$6) => {
|
|
30046
|
+
l$3 = z$6, i$9 = g$5, this.once(n$6, W$5), this.once("error", f$7), this.once("end", O$9), this.once("data", A$2);
|
|
30047
30047
|
});
|
|
30048
30048
|
} };
|
|
30049
30049
|
}
|
|
@@ -30068,7 +30068,7 @@ var C;
|
|
|
30068
30068
|
function J() {
|
|
30069
30069
|
if (C) return i$3;
|
|
30070
30070
|
C = 1;
|
|
30071
|
-
const w$7 = j$1, n$6 = P
|
|
30071
|
+
const w$7 = j$1, n$6 = P.Buffer, z$6 = O$2, u$8 = i$3.constants = T(), L$5 = tt$1(), E$5 = n$6.concat, c$8 = Symbol("_superWrite");
|
|
30072
30072
|
class d$5 extends Error {
|
|
30073
30073
|
constructor(s$9) {
|
|
30074
30074
|
super("zlib: " + s$9.message), this.code = s$9.code, this.errno = s$9.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + s$9.message, Error.captureStackTrace(this, this.constructor);
|
|
@@ -30077,11 +30077,11 @@ function J() {
|
|
|
30077
30077
|
return "ZlibError";
|
|
30078
30078
|
}
|
|
30079
30079
|
}
|
|
30080
|
-
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$
|
|
30080
|
+
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$5 = Symbol("ended");
|
|
30081
30081
|
class x$5 extends L$5 {
|
|
30082
30082
|
constructor(s$9, e$8) {
|
|
30083
30083
|
if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
30084
|
-
super(s$9), this[f$7] = false, this[g$
|
|
30084
|
+
super(s$9), this[f$7] = false, this[g$5] = false, this[Z$4] = s$9, this[p$3] = s$9.flush, this[I$4] = s$9.finishFlush;
|
|
30085
30085
|
try {
|
|
30086
30086
|
this[t$9] = new z$6[e$8](s$9);
|
|
30087
30087
|
} catch (i$9) {
|
|
@@ -30101,10 +30101,10 @@ function J() {
|
|
|
30101
30101
|
this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
|
|
30102
30102
|
}
|
|
30103
30103
|
end(s$9, e$8, i$9) {
|
|
30104
|
-
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$
|
|
30104
|
+
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$5] = true, super.end(null, null, i$9);
|
|
30105
30105
|
}
|
|
30106
30106
|
get ended() {
|
|
30107
|
-
return this[g$
|
|
30107
|
+
return this[g$5];
|
|
30108
30108
|
}
|
|
30109
30109
|
write(s$9, e$8, i$9) {
|
|
30110
30110
|
if (typeof e$8 == "function" && (i$9 = e$8, e$8 = "utf8"), typeof s$9 == "string" && (s$9 = n$6.from(s$9, e$8)), this[f$7]) return;
|
|
@@ -30222,8 +30222,8 @@ var O$1, F$2;
|
|
|
30222
30222
|
function rt() {
|
|
30223
30223
|
if (F$2) return O$1;
|
|
30224
30224
|
F$2 = 1;
|
|
30225
|
-
const P$
|
|
30226
|
-
return O$1 = P$
|
|
30225
|
+
const P$6 = c$4(), $$2 = E(), v$5 = nt, W$5 = c$3(), G$5 = 1024 * 1024, k$6 = u$3(), C$5 = f$2(), x$5 = J(), { nextTick: j$6 } = nt$1, B$2 = Buffer.from([31, 139]), h$6 = Symbol("state"), d$5 = Symbol("writeEntry"), a$13 = Symbol("readEntry"), I$4 = Symbol("nextEntry"), U$5 = Symbol("processEntry"), l$3 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$8 = Symbol("meta"), H$8 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$7 = Symbol("queue"), u$8 = Symbol("ended"), L$5 = Symbol("emittedEnd"), b$11 = Symbol("emit"), r$4 = Symbol("unzip"), _$7 = Symbol("consumeChunk"), g$5 = Symbol("consumeChunkSub"), q$6 = Symbol("consumeBody"), z$6 = Symbol("consumeMeta"), Y$3 = Symbol("consumeHeader"), N$6 = Symbol("consuming"), D$4 = Symbol("bufferConcat"), M$5 = Symbol("maybeEnd"), S$7 = Symbol("writing"), m$5 = Symbol("aborted"), T$8 = Symbol("onDone"), E$1$1 = Symbol("sawValidEntry"), R$7 = Symbol("sawNullBlock"), A$2 = Symbol("sawEOF"), V$4 = Symbol("closeStream"), K$6 = (X$4) => true;
|
|
30226
|
+
return O$1 = P$6(class extends v$5 {
|
|
30227
30227
|
constructor(t$9) {
|
|
30228
30228
|
t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
|
|
30229
30229
|
(this[h$6] === "begin" || this[E$1$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
|
@@ -30359,17 +30359,17 @@ while (this[U$5](this[f$7].shift()));
|
|
|
30359
30359
|
if (this[N$6] = true, this[n$6]) {
|
|
30360
30360
|
this[D$4](t$9);
|
|
30361
30361
|
const i$9 = this[n$6];
|
|
30362
|
-
this[n$6] = null, this[g$
|
|
30363
|
-
} else this[g$
|
|
30362
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30363
|
+
} else this[g$5](t$9);
|
|
30364
30364
|
for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
|
|
30365
30365
|
const i$9 = this[n$6];
|
|
30366
|
-
this[n$6] = null, this[g$
|
|
30366
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30367
30367
|
}
|
|
30368
30368
|
this[N$6] = false;
|
|
30369
30369
|
}
|
|
30370
30370
|
(!this[n$6] || this[u$8]) && this[M$5]();
|
|
30371
30371
|
}
|
|
30372
|
-
[g$
|
|
30372
|
+
[g$5](t$9) {
|
|
30373
30373
|
let i$9 = 0;
|
|
30374
30374
|
const s$9 = t$9.length;
|
|
30375
30375
|
for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
|
|
@@ -30407,7 +30407,7 @@ function X() {
|
|
|
30407
30407
|
j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
|
|
30408
30408
|
};
|
|
30409
30409
|
}
|
|
30410
|
-
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$
|
|
30410
|
+
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$5 = Symbol("_ended"), s$9 = Symbol("_fd"), B$2 = Symbol("_finished"), o$7 = Symbol("_flags"), x$5 = Symbol("_flush"), z$6 = Symbol("_handleChunk"), T$8 = Symbol("_makeBuf"), q$6 = Symbol("_mode"), E$5 = Symbol("_needDrain"), d$5 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$5 = Symbol("_onread"), _$7 = Symbol("_onwrite"), a$13 = Symbol("_open"), l$3 = Symbol("_path"), u$8 = Symbol("_pos"), n$6 = Symbol("_queue"), S$7 = Symbol("_read"), M$5 = Symbol("_readSize"), f$7 = Symbol("_reading"), k$6 = Symbol("_remain"), N$6 = Symbol("_size"), C$5 = Symbol("_write"), b$11 = Symbol("_writing"), F$6 = Symbol("_defaultFlag"), p$3 = Symbol("_errored");
|
|
30411
30411
|
class D$4 extends H$8 {
|
|
30412
30412
|
constructor(t$9, e$8) {
|
|
30413
30413
|
if (e$8 = e$8 || {}, super(e$8), this.readable = true, this.writable = false, typeof t$9 != "string") throw new TypeError("path must be a string");
|
|
@@ -30470,7 +30470,7 @@ function X() {
|
|
|
30470
30470
|
}
|
|
30471
30471
|
}
|
|
30472
30472
|
}
|
|
30473
|
-
class P$
|
|
30473
|
+
class P$6 extends D$4 {
|
|
30474
30474
|
[a$13]() {
|
|
30475
30475
|
let t$9 = true;
|
|
30476
30476
|
try {
|
|
@@ -30504,7 +30504,7 @@ function X() {
|
|
|
30504
30504
|
}
|
|
30505
30505
|
class O$9 extends I$4 {
|
|
30506
30506
|
constructor(t$9, e$8) {
|
|
30507
|
-
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$
|
|
30507
|
+
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$5] = false, this[E$5] = false, this[n$6] = [], this[l$3] = t$9, this[s$9] = typeof e$8.fd == "number" ? e$8.fd : null, this[q$6] = e$8.mode === void 0 ? 438 : e$8.mode, this[u$8] = typeof e$8.start == "number" ? e$8.start : null, this[m$5] = typeof e$8.autoClose == "boolean" ? e$8.autoClose : true;
|
|
30508
30508
|
const i$9 = this[u$8] !== null ? "r+" : "w";
|
|
30509
30509
|
this[F$6] = e$8.flags === void 0, this[o$7] = this[F$6] ? i$9 : e$8.flags, this[s$9] === null && this[a$13]();
|
|
30510
30510
|
}
|
|
@@ -30531,19 +30531,19 @@ function X() {
|
|
|
30531
30531
|
this[F$6] && this[o$7] === "r+" && t$9 && t$9.code === "ENOENT" ? (this[o$7] = "w", this[a$13]()) : t$9 ? this[d$5](t$9) : (this[s$9] = e$8, this.emit("open", e$8), this[x$5]());
|
|
30532
30532
|
}
|
|
30533
30533
|
end(t$9, e$8) {
|
|
30534
|
-
return t$9 && this.write(t$9, e$8), this[g$
|
|
30534
|
+
return t$9 && this.write(t$9, e$8), this[g$5] = true, !this[b$11] && !this[n$6].length && typeof this[s$9] == "number" && this[_$7](null, 0), this;
|
|
30535
30535
|
}
|
|
30536
30536
|
write(t$9, e$8) {
|
|
30537
|
-
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$
|
|
30537
|
+
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$5] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), false) : this[s$9] === null || this[b$11] || this[n$6].length ? (this[n$6].push(t$9), this[E$5] = true, false) : (this[b$11] = true, this[C$5](t$9), true);
|
|
30538
30538
|
}
|
|
30539
30539
|
[C$5](t$9) {
|
|
30540
30540
|
r$4.write(this[s$9], t$9, 0, t$9.length, this[u$8], (e$8, i$9) => this[_$7](e$8, i$9));
|
|
30541
30541
|
}
|
|
30542
30542
|
[_$7](t$9, e$8) {
|
|
30543
|
-
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$
|
|
30543
|
+
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$5] && !this[B$2] ? (this[B$2] = true, this[h$6](), this.emit("finish")) : this[E$5] && (this[E$5] = false, this.emit("drain"))));
|
|
30544
30544
|
}
|
|
30545
30545
|
[x$5]() {
|
|
30546
|
-
if (this[n$6].length === 0) this[g$
|
|
30546
|
+
if (this[n$6].length === 0) this[g$5] && this[_$7](null, 0);
|
|
30547
30547
|
else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
|
|
30548
30548
|
else {
|
|
30549
30549
|
const t$9 = this[n$6];
|
|
@@ -30586,7 +30586,7 @@ function X() {
|
|
|
30586
30586
|
}
|
|
30587
30587
|
}
|
|
30588
30588
|
}
|
|
30589
|
-
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$
|
|
30589
|
+
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$6, s$4.WriteStream = O$9, s$4.WriteStreamSync = U$5, s$4;
|
|
30590
30590
|
}
|
|
30591
30591
|
var r$1 = { exports: {} };
|
|
30592
30592
|
var i$2, m$2;
|
|
@@ -30819,7 +30819,7 @@ var R$2;
|
|
|
30819
30819
|
function H() {
|
|
30820
30820
|
if (R$2) return r$1.exports;
|
|
30821
30821
|
R$2 = 1;
|
|
30822
|
-
const g$
|
|
30822
|
+
const g$5 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
|
|
30823
30823
|
class D$4 extends Error {
|
|
30824
30824
|
constructor(e$8, s$9) {
|
|
30825
30825
|
super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
|
|
@@ -30848,7 +30848,7 @@ function H() {
|
|
|
30848
30848
|
};
|
|
30849
30849
|
if (h$6 && v$5(h$6, n$6) === true) return w$7();
|
|
30850
30850
|
if (n$6 === d$5) return I$4(n$6, w$7);
|
|
30851
|
-
if (u$8) return g$
|
|
30851
|
+
if (u$8) return g$5(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
|
|
30852
30852
|
C$5(d$5, y$7(p$3.relative(d$5, n$6)).split("/"), c$8, h$6, m$5, d$5, null, w$7);
|
|
30853
30853
|
};
|
|
30854
30854
|
const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
|
|
@@ -30886,7 +30886,7 @@ function H() {
|
|
|
30886
30886
|
};
|
|
30887
30887
|
if (m$5 && v$5(m$5, n$6) === true) return d$5();
|
|
30888
30888
|
if (n$6 === h$6) return L$5(h$6), d$5();
|
|
30889
|
-
if (a$13) return d$5(g$
|
|
30889
|
+
if (a$13) return d$5(g$5.sync(n$6, r$4));
|
|
30890
30890
|
const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
|
|
30891
30891
|
let S$7 = null;
|
|
30892
30892
|
for (let k$6 = $$2.shift(), o$7 = h$6; k$6 && (o$7 += "/" + k$6); k$6 = $$2.shift()) if (o$7 = y$7(p$3.resolve(o$7)), !v$5(m$5, o$7)) try {
|
|
@@ -30939,7 +30939,7 @@ var u$1, f$1;
|
|
|
30939
30939
|
function z() {
|
|
30940
30940
|
if (f$1) return u$1;
|
|
30941
30941
|
f$1 = 1;
|
|
30942
|
-
const l$3 = j$1, m$5 = a$1(), g$
|
|
30942
|
+
const l$3 = j$1, m$5 = a$1(), g$5 = s(), { join: d$5 } = H$2, q$6 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
|
30943
30943
|
return u$1 = () => {
|
|
30944
30944
|
const i$9 = /* @__PURE__ */ new Map(), c$8 = /* @__PURE__ */ new Map(), v$5 = (e$8) => e$8.split("/").slice(0, -1).reduce((o$7, r$4) => (o$7.length && (r$4 = d$5(o$7[o$7.length - 1], r$4)), o$7.push(r$4 || "/"), o$7), []), a$13 = /* @__PURE__ */ new Set(), w$7 = (e$8) => {
|
|
30945
30945
|
const s$9 = c$8.get(e$8);
|
|
@@ -30965,7 +30965,7 @@ function z() {
|
|
|
30965
30965
|
return {
|
|
30966
30966
|
check: h$6,
|
|
30967
30967
|
reserve: (e$8, s$9) => {
|
|
30968
|
-
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$
|
|
30968
|
+
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$5(d$5(m$5(r$4))).toLowerCase());
|
|
30969
30969
|
const o$7 = new Set(e$8.map((r$4) => v$5(r$4)).reduce((r$4, t$9) => r$4.concat(t$9)));
|
|
30970
30970
|
return c$8.set(s$9, {
|
|
30971
30971
|
dirs: o$7,
|
|
@@ -31006,7 +31006,7 @@ var G, y;
|
|
|
31006
31006
|
function Os() {
|
|
31007
31007
|
if (y) return G;
|
|
31008
31008
|
y = 1;
|
|
31009
|
-
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$
|
|
31009
|
+
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$6 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$5 = Symbol("checkedCwd"), X$1$1 = Ds, J$5 = F(), C$5 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a$13, s$9) => {
|
|
31010
31010
|
if (!C$5) return r$4.unlink(a$13, s$9);
|
|
31011
31011
|
const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
|
|
31012
31012
|
r$4.rename(a$13, i$9, (e$8) => {
|
|
@@ -31029,8 +31029,8 @@ function Os() {
|
|
|
31029
31029
|
class L$5 extends is {
|
|
31030
31030
|
constructor(s$9) {
|
|
31031
31031
|
if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
|
|
31032
|
-
this[P$
|
|
31033
|
-
}, super(s$9), this[g$
|
|
31032
|
+
this[P$6] = true, this[A$2]();
|
|
31033
|
+
}, super(s$9), this[g$5] = false, this.reservations = ts(), this.transform = typeof s$9.transform == "function" ? s$9.transform : null, this.writable = true, this.readable = false, this[$$2] = 0, this[P$6] = false, this.dirCache = s$9.dirCache || /* @__PURE__ */ new Map(), typeof s$9.uid == "number" || typeof s$9.gid == "number") {
|
|
31034
31034
|
if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
|
|
31035
31035
|
if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
31036
31036
|
this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
|
|
@@ -31041,7 +31041,7 @@ function Os() {
|
|
|
31041
31041
|
return (s$9 === "TAR_BAD_ARCHIVE" || s$9 === "TAR_ABORT") && (e$8.recoverable = false), super.warn(s$9, i$9, e$8);
|
|
31042
31042
|
}
|
|
31043
31043
|
[A$2]() {
|
|
31044
|
-
this[P$
|
|
31044
|
+
this[P$6] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
|
|
31045
31045
|
}
|
|
31046
31046
|
[j$6](s$9) {
|
|
31047
31047
|
const i$9 = l$3(s$9.path), e$8 = i$9.split("/");
|
|
@@ -31221,7 +31221,7 @@ function Os() {
|
|
|
31221
31221
|
this[m$5](h$6, s$9), e$8();
|
|
31222
31222
|
return;
|
|
31223
31223
|
}
|
|
31224
|
-
this[g$
|
|
31224
|
+
this[g$5] = true, o$7();
|
|
31225
31225
|
});
|
|
31226
31226
|
}, o$7 = () => {
|
|
31227
31227
|
if (s$9.absolute !== this.cwd) {
|
|
@@ -31253,7 +31253,7 @@ function Os() {
|
|
|
31253
31253
|
as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
|
|
31254
31254
|
});
|
|
31255
31255
|
};
|
|
31256
|
-
this[g$
|
|
31256
|
+
this[g$5] ? o$7() : t$9();
|
|
31257
31257
|
}
|
|
31258
31258
|
[d$5](s$9, i$9, e$8) {
|
|
31259
31259
|
if (s$9) {
|
|
@@ -31288,10 +31288,10 @@ function Os() {
|
|
|
31288
31288
|
return super[d$5](s$9, i$9, () => {});
|
|
31289
31289
|
}
|
|
31290
31290
|
[q$6](s$9) {
|
|
31291
|
-
if (this[v$5](s$9), !this[g$
|
|
31291
|
+
if (this[v$5](s$9), !this[g$5]) {
|
|
31292
31292
|
const o$7 = this[b$11](this.cwd, this.dmode);
|
|
31293
31293
|
if (o$7) return this[m$5](o$7, s$9);
|
|
31294
|
-
this[g$
|
|
31294
|
+
this[g$5] = true;
|
|
31295
31295
|
}
|
|
31296
31296
|
if (s$9.absolute !== this.cwd) {
|
|
31297
31297
|
const o$7 = l$3(w$7.dirname(s$9.absolute));
|
|
@@ -52858,8 +52858,8 @@ export const useAppStore = defineStore('app', {
|
|
|
52858
52858
|
|
|
52859
52859
|
//#endregion
|
|
52860
52860
|
//#region ../shared/src/utils/installFeature.ts
|
|
52861
|
-
async function installFeature(feature, cwd$2) {
|
|
52862
|
-
const templateName =
|
|
52861
|
+
async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
52862
|
+
const templateName = `${type === "vuetify0" ? "vuetify0" : "vue"}/${feature}`;
|
|
52863
52863
|
if (process.env.VUETIFY_CLI_TEMPLATES_PATH) {
|
|
52864
52864
|
const templatePath = join(process.env.VUETIFY_CLI_TEMPLATES_PATH, templateName);
|
|
52865
52865
|
if (existsSync(templatePath)) cpSync(templatePath, cwd$2, { recursive: true });
|
|
@@ -52881,8 +52881,8 @@ async function installFeature(feature, cwd$2) {
|
|
|
52881
52881
|
//#region ../shared/src/features/router.ts
|
|
52882
52882
|
const router = {
|
|
52883
52883
|
name: "router",
|
|
52884
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52885
|
-
await installFeature("router", cwd$2);
|
|
52884
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52885
|
+
await installFeature("router", cwd$2, type);
|
|
52886
52886
|
const ext = isTypescript ? "ts" : "js";
|
|
52887
52887
|
pkg.dependencies = pkg.dependencies || {};
|
|
52888
52888
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52903,8 +52903,8 @@ const router = {
|
|
|
52903
52903
|
};
|
|
52904
52904
|
const fileRouter = {
|
|
52905
52905
|
name: "file-router",
|
|
52906
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52907
|
-
await installFeature("file-router", cwd$2);
|
|
52906
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52907
|
+
await installFeature("file-router", cwd$2, type);
|
|
52908
52908
|
const ext = isTypescript ? "ts" : "js";
|
|
52909
52909
|
pkg.dependencies = pkg.dependencies || {};
|
|
52910
52910
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -53022,14 +53022,15 @@ const features = {
|
|
|
53022
53022
|
mcp,
|
|
53023
53023
|
"vuetify-nuxt-module": vuetifyNuxtModule
|
|
53024
53024
|
};
|
|
53025
|
-
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints) {
|
|
53025
|
+
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints, type) {
|
|
53026
53026
|
for (const name of featureNames) {
|
|
53027
53027
|
const feature = features[name];
|
|
53028
53028
|
if (feature) await feature.apply({
|
|
53029
53029
|
cwd: cwd$2,
|
|
53030
53030
|
pkg,
|
|
53031
53031
|
isTypescript,
|
|
53032
|
-
clientHints
|
|
53032
|
+
clientHints,
|
|
53033
|
+
type
|
|
53033
53034
|
});
|
|
53034
53035
|
}
|
|
53035
53036
|
}
|
|
@@ -53236,7 +53237,7 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
53236
53237
|
let pkg;
|
|
53237
53238
|
pkg = await readPackageJSON(join(projectRoot, "package.json"));
|
|
53238
53239
|
callbacks.onConfigStart?.();
|
|
53239
|
-
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints);
|
|
53240
|
+
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints, type);
|
|
53240
53241
|
if (platform$2 === "nuxt" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53241
53242
|
cwd: projectRoot,
|
|
53242
53243
|
pkg,
|
|
@@ -53378,7 +53379,7 @@ function isInsideContainer() {
|
|
|
53378
53379
|
//#endregion
|
|
53379
53380
|
//#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
|
|
53380
53381
|
const isWsl = () => {
|
|
53381
|
-
if (
|
|
53382
|
+
if (g$1.platform !== "linux") return false;
|
|
53382
53383
|
if (os.release().toLowerCase().includes("microsoft")) {
|
|
53383
53384
|
if (isInsideContainer()) return false;
|
|
53384
53385
|
return true;
|
|
@@ -53389,12 +53390,12 @@ const isWsl = () => {
|
|
|
53389
53390
|
return false;
|
|
53390
53391
|
}
|
|
53391
53392
|
};
|
|
53392
|
-
var is_wsl_default =
|
|
53393
|
+
var is_wsl_default = g$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
53393
53394
|
|
|
53394
53395
|
//#endregion
|
|
53395
53396
|
//#region ../../node_modules/.pnpm/powershell-utils@0.1.0/node_modules/powershell-utils/index.js
|
|
53396
53397
|
const execFile$2 = promisify(childProcess.execFile);
|
|
53397
|
-
const powerShellPath$1 = () => `${
|
|
53398
|
+
const powerShellPath$1 = () => `${g$1.env.SYSTEMROOT || g$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
53398
53399
|
const executePowerShell = async (command, options$1 = {}) => {
|
|
53399
53400
|
const { powerShellPath: psPath, ...execFileOptions } = options$1;
|
|
53400
53401
|
const encodedCommand = executePowerShell.encodeCommand(command);
|
|
@@ -53495,7 +53496,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
53495
53496
|
//#region ../../node_modules/.pnpm/default-browser-id@5.0.0/node_modules/default-browser-id/index.js
|
|
53496
53497
|
const execFileAsync$3 = promisify(execFile);
|
|
53497
53498
|
async function defaultBrowserId() {
|
|
53498
|
-
if (
|
|
53499
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53499
53500
|
const { stdout: stdout$1 } = await execFileAsync$3("defaults", [
|
|
53500
53501
|
"read",
|
|
53501
53502
|
"com.apple.LaunchServices/com.apple.launchservices.secure",
|
|
@@ -53508,7 +53509,7 @@ async function defaultBrowserId() {
|
|
|
53508
53509
|
//#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
53509
53510
|
const execFileAsync$2 = promisify(execFile);
|
|
53510
53511
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
53511
|
-
if (
|
|
53512
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53512
53513
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
53513
53514
|
const execOptions = {};
|
|
53514
53515
|
if (signal) execOptions.signal = signal;
|
|
@@ -53617,14 +53618,14 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
|
|
|
53617
53618
|
const execFileAsync = promisify(execFile);
|
|
53618
53619
|
const titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x$5) => x$5.toUpperCase());
|
|
53619
53620
|
async function defaultBrowser() {
|
|
53620
|
-
if (
|
|
53621
|
+
if (g$1.platform === "darwin") {
|
|
53621
53622
|
const id = await defaultBrowserId();
|
|
53622
53623
|
return {
|
|
53623
53624
|
name: await bundleName(id),
|
|
53624
53625
|
id
|
|
53625
53626
|
};
|
|
53626
53627
|
}
|
|
53627
|
-
if (
|
|
53628
|
+
if (g$1.platform === "linux") {
|
|
53628
53629
|
const { stdout: stdout$1 } = await execFileAsync("xdg-mime", [
|
|
53629
53630
|
"query",
|
|
53630
53631
|
"default",
|
|
@@ -53636,13 +53637,13 @@ async function defaultBrowser() {
|
|
|
53636
53637
|
id
|
|
53637
53638
|
};
|
|
53638
53639
|
}
|
|
53639
|
-
if (
|
|
53640
|
+
if (g$1.platform === "win32") return defaultBrowser$1();
|
|
53640
53641
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
53641
53642
|
}
|
|
53642
53643
|
|
|
53643
53644
|
//#endregion
|
|
53644
53645
|
//#region ../../node_modules/.pnpm/is-in-ssh@1.0.0/node_modules/is-in-ssh/index.js
|
|
53645
|
-
const isInSsh = Boolean(
|
|
53646
|
+
const isInSsh = Boolean(g$1.env.SSH_CONNECTION || g$1.env.SSH_CLIENT || g$1.env.SSH_TTY);
|
|
53646
53647
|
var is_in_ssh_default = isInSsh;
|
|
53647
53648
|
|
|
53648
53649
|
//#endregion
|
|
@@ -53650,7 +53651,7 @@ var is_in_ssh_default = isInSsh;
|
|
|
53650
53651
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
53651
53652
|
const __dirname$1 = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
53652
53653
|
const localXdgOpenPath = path.join(__dirname$1, "xdg-open");
|
|
53653
|
-
const { platform, arch } =
|
|
53654
|
+
const { platform, arch } = g$1;
|
|
53654
53655
|
const tryEachApp = async (apps$1, opener) => {
|
|
53655
53656
|
if (apps$1.length === 0) return;
|
|
53656
53657
|
const errors$1 = [];
|
|
@@ -53763,7 +53764,7 @@ const baseOpen = async (options$1) => {
|
|
|
53763
53764
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
53764
53765
|
exeLocalXdgOpen = true;
|
|
53765
53766
|
} catch {}
|
|
53766
|
-
command =
|
|
53767
|
+
command = g$1.versions.electron ?? (platform === "android" || isBundled || !exeLocalXdgOpen) ? "xdg-open" : localXdgOpenPath;
|
|
53767
53768
|
}
|
|
53768
53769
|
if (appArguments.length > 0) cliArguments.push(...appArguments);
|
|
53769
53770
|
if (!options$1.wait) {
|
|
@@ -54282,51 +54283,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
|
|
|
54282
54283
|
//#endregion
|
|
54283
54284
|
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
54284
54285
|
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
54285
|
-
const isWindows =
|
|
54286
|
+
const isWindows = g$1.platform === "win32";
|
|
54286
54287
|
const readRc = (filePath) => {
|
|
54287
54288
|
try {
|
|
54288
54289
|
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
54289
54290
|
} catch {}
|
|
54290
54291
|
};
|
|
54291
|
-
const getEnvNpmPrefix = () => Object.keys(
|
|
54292
|
+
const getEnvNpmPrefix = () => Object.keys(g$1.env).reduce((prefix$1, name) => /^npm_config_prefix$/i.test(name) ? g$1.env[name] : prefix$1, void 0);
|
|
54292
54293
|
const getGlobalNpmrc = () => {
|
|
54293
|
-
if (isWindows &&
|
|
54294
|
-
if (
|
|
54295
|
-
const homebrewPrefix =
|
|
54294
|
+
if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
|
|
54295
|
+
if (g$1.execPath.includes("/Cellar/node")) {
|
|
54296
|
+
const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
|
|
54296
54297
|
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
54297
54298
|
}
|
|
54298
|
-
if (
|
|
54299
|
-
const installDir = path.dirname(path.dirname(
|
|
54299
|
+
if (g$1.execPath.endsWith("/bin/node")) {
|
|
54300
|
+
const installDir = path.dirname(path.dirname(g$1.execPath));
|
|
54300
54301
|
return path.join(installDir, "/etc/npmrc");
|
|
54301
54302
|
}
|
|
54302
54303
|
};
|
|
54303
54304
|
const getDefaultNpmPrefix = () => {
|
|
54304
54305
|
if (isWindows) {
|
|
54305
|
-
const { APPDATA } =
|
|
54306
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(
|
|
54306
|
+
const { APPDATA } = g$1.env;
|
|
54307
|
+
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
|
|
54307
54308
|
}
|
|
54308
|
-
return path.dirname(path.dirname(
|
|
54309
|
+
return path.dirname(path.dirname(g$1.execPath));
|
|
54309
54310
|
};
|
|
54310
54311
|
const getNpmPrefix = () => {
|
|
54311
54312
|
const envPrefix = getEnvNpmPrefix();
|
|
54312
54313
|
if (envPrefix) return envPrefix;
|
|
54313
54314
|
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
54314
54315
|
if (homePrefix) return homePrefix;
|
|
54315
|
-
if (
|
|
54316
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54316
54317
|
const globalPrefix = readRc(getGlobalNpmrc());
|
|
54317
54318
|
if (globalPrefix) return globalPrefix;
|
|
54318
54319
|
return getDefaultNpmPrefix();
|
|
54319
54320
|
};
|
|
54320
54321
|
const npmPrefix = path.resolve(getNpmPrefix());
|
|
54321
54322
|
const getYarnWindowsDirectory = () => {
|
|
54322
|
-
if (isWindows &&
|
|
54323
|
-
const dir = path.join(
|
|
54323
|
+
if (isWindows && g$1.env.LOCALAPPDATA) {
|
|
54324
|
+
const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
|
|
54324
54325
|
if (fs.existsSync(dir)) return dir;
|
|
54325
54326
|
}
|
|
54326
54327
|
return false;
|
|
54327
54328
|
};
|
|
54328
54329
|
const getYarnPrefix = () => {
|
|
54329
|
-
if (
|
|
54330
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54330
54331
|
const windowsPrefix = getYarnWindowsDirectory();
|
|
54331
54332
|
if (windowsPrefix) return windowsPrefix;
|
|
54332
54333
|
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
@@ -56031,7 +56032,7 @@ function commandUpgradeFabric(pkgName) {
|
|
|
56031
56032
|
|
|
56032
56033
|
//#endregion
|
|
56033
56034
|
//#region package.json
|
|
56034
|
-
var version = "0.0.
|
|
56035
|
+
var version = "0.0.10-beta.3";
|
|
56035
56036
|
|
|
56036
56037
|
//#endregion
|
|
56037
56038
|
//#region src/commands/docs.ts
|