@vuetify/cli 0.0.8 → 0.0.10-beta.10
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";
|
|
@@ -316,12 +316,12 @@ var require_isFunction = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnp
|
|
|
316
316
|
* _.isFunction(/abc/);
|
|
317
317
|
* // => false
|
|
318
318
|
*/
|
|
319
|
-
function isFunction$
|
|
319
|
+
function isFunction$4(value) {
|
|
320
320
|
if (!isObject$12(value)) return false;
|
|
321
321
|
var tag = baseGetTag$4(value);
|
|
322
322
|
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
323
323
|
}
|
|
324
|
-
module.exports = isFunction$
|
|
324
|
+
module.exports = isFunction$4;
|
|
325
325
|
}) });
|
|
326
326
|
|
|
327
327
|
//#endregion
|
|
@@ -383,7 +383,7 @@ var require__toSource = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
383
383
|
//#endregion
|
|
384
384
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js
|
|
385
385
|
var require__baseIsNative = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js": ((exports, module) => {
|
|
386
|
-
var isFunction$
|
|
386
|
+
var isFunction$3 = require_isFunction(), isMasked = require__isMasked(), isObject$11 = require_isObject(), toSource$1 = require__toSource();
|
|
387
387
|
/**
|
|
388
388
|
* Used to match `RegExp`
|
|
389
389
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -409,7 +409,7 @@ var require__baseIsNative = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.
|
|
|
409
409
|
*/
|
|
410
410
|
function baseIsNative$1(value) {
|
|
411
411
|
if (!isObject$11(value) || isMasked(value)) return false;
|
|
412
|
-
return (isFunction$
|
|
412
|
+
return (isFunction$3(value) ? reIsNative : reIsHostCtor).test(toSource$1(value));
|
|
413
413
|
}
|
|
414
414
|
module.exports = baseIsNative$1;
|
|
415
415
|
}) });
|
|
@@ -1873,7 +1873,7 @@ var require__initCloneObject = /* @__PURE__ */ __commonJS$1({ "../../node_module
|
|
|
1873
1873
|
//#endregion
|
|
1874
1874
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js
|
|
1875
1875
|
var require_isArrayLike = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js": ((exports, module) => {
|
|
1876
|
-
var isFunction$
|
|
1876
|
+
var isFunction$2 = require_isFunction(), isLength$1 = require_isLength();
|
|
1877
1877
|
/**
|
|
1878
1878
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
1879
1879
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -1900,7 +1900,7 @@ var require_isArrayLike = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pn
|
|
|
1900
1900
|
* // => false
|
|
1901
1901
|
*/
|
|
1902
1902
|
function isArrayLike$6(value) {
|
|
1903
|
-
return value != null && isLength$1(value.length) && !isFunction$
|
|
1903
|
+
return value != null && isLength$1(value.length) && !isFunction$2(value);
|
|
1904
1904
|
}
|
|
1905
1905
|
module.exports = isArrayLike$6;
|
|
1906
1906
|
}) });
|
|
@@ -2360,7 +2360,7 @@ var require_toPlainObject = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.
|
|
|
2360
2360
|
//#endregion
|
|
2361
2361
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js
|
|
2362
2362
|
var require__baseMergeDeep = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js": ((exports, module) => {
|
|
2363
|
-
var assignMergeValue$1 = require__assignMergeValue(), cloneBuffer = require__cloneBuffer(), cloneTypedArray = require__cloneTypedArray(), copyArray = require__copyArray(), initCloneObject = require__initCloneObject(), isArguments$1 = require_isArguments(), isArray$9 = require_isArray(), isArrayLikeObject = require_isArrayLikeObject(), isBuffer$1 = require_isBuffer(), isFunction = require_isFunction(), isObject$8 = require_isObject(), isPlainObject$3 = require_isPlainObject(), isTypedArray$1 = require_isTypedArray(), safeGet$1 = require__safeGet(), toPlainObject = require_toPlainObject();
|
|
2363
|
+
var assignMergeValue$1 = require__assignMergeValue(), cloneBuffer = require__cloneBuffer(), cloneTypedArray = require__cloneTypedArray(), copyArray = require__copyArray(), initCloneObject = require__initCloneObject(), isArguments$1 = require_isArguments(), isArray$9 = require_isArray(), isArrayLikeObject = require_isArrayLikeObject(), isBuffer$1 = require_isBuffer(), isFunction$1 = require_isFunction(), isObject$8 = require_isObject(), isPlainObject$3 = require_isPlainObject(), isTypedArray$1 = require_isTypedArray(), safeGet$1 = require__safeGet(), toPlainObject = require_toPlainObject();
|
|
2364
2364
|
/**
|
|
2365
2365
|
* A specialized version of `baseMerge` for arrays and objects which performs
|
|
2366
2366
|
* deep merges and tracks traversed objects enabling objects with circular
|
|
@@ -2399,7 +2399,7 @@ var require__baseMergeDeep = /* @__PURE__ */ __commonJS$1({ "../../node_modules/
|
|
|
2399
2399
|
else if (isPlainObject$3(srcValue) || isArguments$1(srcValue)) {
|
|
2400
2400
|
newValue = objValue;
|
|
2401
2401
|
if (isArguments$1(objValue)) newValue = toPlainObject(objValue);
|
|
2402
|
-
else if (!isObject$8(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
|
|
2402
|
+
else if (!isObject$8(objValue) || isFunction$1(objValue)) newValue = initCloneObject(srcValue);
|
|
2403
2403
|
} else isCommon = false;
|
|
2404
2404
|
}
|
|
2405
2405
|
if (isCommon) {
|
|
@@ -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));
|
|
@@ -8234,6 +8234,12 @@ var en_default = {
|
|
|
8234
8234
|
"current": "Currently",
|
|
8235
8235
|
"need_to": "We need to %{actions}."
|
|
8236
8236
|
},
|
|
8237
|
+
"mcp": {
|
|
8238
|
+
"description": "Install %{pkg} to enable MCP integration with Vuetify.",
|
|
8239
|
+
"action": { "install": "install %{pkg}" },
|
|
8240
|
+
"current": "Currently",
|
|
8241
|
+
"need_to": "We need to %{action}."
|
|
8242
|
+
},
|
|
8237
8243
|
"init": {
|
|
8238
8244
|
"v0": "Initialize a Vuetify0 project",
|
|
8239
8245
|
"description": "Initialize a Vuetify project",
|
|
@@ -8291,6 +8297,11 @@ var en_default = {
|
|
|
8291
8297
|
"create": "No ESLint config found. Do you want to create one?",
|
|
8292
8298
|
"scripts": "Do you want to add lint scripts to package.json?"
|
|
8293
8299
|
},
|
|
8300
|
+
"mcp": {
|
|
8301
|
+
"overwrite": "Found %{file}. Overwrite?",
|
|
8302
|
+
"create": "Create Ruler config files?",
|
|
8303
|
+
"scripts": "Add mcp scripts to package.json?"
|
|
8304
|
+
},
|
|
8294
8305
|
"directory": {
|
|
8295
8306
|
"name": "Project name",
|
|
8296
8307
|
"overwrite": "Directory \"%{dir}\" already exists. Do you want to overwrite it?",
|
|
@@ -8373,6 +8384,10 @@ var en_default = {
|
|
|
8373
8384
|
"eslint": {
|
|
8374
8385
|
"setup_config": "Setting up ESLint config...",
|
|
8375
8386
|
"complete": "ESLint config setup complete!"
|
|
8387
|
+
},
|
|
8388
|
+
"mcp": {
|
|
8389
|
+
"setup_config": "Setting up Ruler config...",
|
|
8390
|
+
"complete": "Ruler setup complete"
|
|
8376
8391
|
}
|
|
8377
8392
|
},
|
|
8378
8393
|
messages: {
|
|
@@ -8425,6 +8440,12 @@ var ru_default = {
|
|
|
8425
8440
|
"current": "Сейчас",
|
|
8426
8441
|
"need_to": "Нужно %{actions}."
|
|
8427
8442
|
},
|
|
8443
|
+
"mcp": {
|
|
8444
|
+
"description": "Установим %{configPkg}, чтобы включить интеграцию MCP с Vuetify.",
|
|
8445
|
+
"action": { "install": "установить %{pkgs}" },
|
|
8446
|
+
"current": "Сейчас",
|
|
8447
|
+
"need_to": "Нужно %{actions}."
|
|
8448
|
+
},
|
|
8428
8449
|
"init": {
|
|
8429
8450
|
"v0": "Инициализировать проект Vuetify0",
|
|
8430
8451
|
"description": "Инициализировать проект Vuetify",
|
|
@@ -8778,11 +8799,11 @@ var require_src = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/siste
|
|
|
8778
8799
|
//#region ../../node_modules/.pnpm/@clack+core@1.0.0-alpha.7/node_modules/@clack/core/dist/index.mjs
|
|
8779
8800
|
var import_picocolors$1 = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
8780
8801
|
var import_src$1 = require_src();
|
|
8781
|
-
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 = {
|
|
8782
8803
|
limit: Infinity,
|
|
8783
8804
|
ellipsis: ""
|
|
8784
8805
|
}, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
|
|
8785
|
-
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;
|
|
8786
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;
|
|
8787
8808
|
t: for (;;) {
|
|
8788
8809
|
if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
|
|
@@ -8831,12 +8852,12 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8831
8852
|
c$8 += F$6, C$5 = h$6, B$2 = u$8, u$8 = h$6 = M$4.lastIndex;
|
|
8832
8853
|
continue;
|
|
8833
8854
|
}
|
|
8834
|
-
if (P$
|
|
8835
|
-
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) {
|
|
8836
8857
|
p$3 = !0;
|
|
8837
8858
|
break;
|
|
8838
8859
|
}
|
|
8839
|
-
c$8 += g$
|
|
8860
|
+
c$8 += g$5, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
|
|
8840
8861
|
continue;
|
|
8841
8862
|
}
|
|
8842
8863
|
u$8 += 1;
|
|
@@ -8863,10 +8884,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8863
8884
|
if (t$9 === 0) return 0;
|
|
8864
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) => {
|
|
8865
8886
|
const i$9 = e$8[Symbol.iterator]();
|
|
8866
|
-
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;
|
|
8867
8888
|
for (; !l$3.done;) {
|
|
8868
8889
|
const m$5 = l$3.value, A$2 = S$6(m$5);
|
|
8869
|
-
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;
|
|
8870
8891
|
}
|
|
8871
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());
|
|
8872
8893
|
}, vt$1 = (t$9) => {
|
|
@@ -8902,8 +8923,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8902
8923
|
}
|
|
8903
8924
|
s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
|
|
8904
8925
|
const E$5 = l$3.join(`
|
|
8905
|
-
`), g$
|
|
8906
|
-
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;
|
|
8907
8928
|
for (; !m$5.done;) {
|
|
8908
8929
|
const h$6 = m$5.value, u$8 = A$2.value;
|
|
8909
8930
|
if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
|
|
@@ -8917,7 +8938,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8917
8938
|
const f$7 = r$4 ? mt$1(r$4) : void 0;
|
|
8918
8939
|
u$8 === `
|
|
8919
8940
|
` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
|
|
8920
|
-
` && (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();
|
|
8921
8942
|
}
|
|
8922
8943
|
return i$9;
|
|
8923
8944
|
};
|
|
@@ -8996,8 +9017,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
|
|
|
8996
9017
|
return;
|
|
8997
9018
|
}
|
|
8998
9019
|
if (!s$9) return;
|
|
8999
|
-
const g$
|
|
9000
|
-
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, () => {
|
|
9001
9022
|
k$5.clearLine(e$8, 1, () => {
|
|
9002
9023
|
t$9.once("keypress", n$6);
|
|
9003
9024
|
});
|
|
@@ -9436,7 +9457,7 @@ var $t = class extends x$4 {
|
|
|
9436
9457
|
var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
9437
9458
|
var import_src = require_src();
|
|
9438
9459
|
function ht$1() {
|
|
9439
|
-
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";
|
|
9440
9461
|
}
|
|
9441
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) => {
|
|
9442
9463
|
switch (e$8) {
|
|
@@ -9458,7 +9479,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9458
9479
|
limit: Infinity,
|
|
9459
9480
|
ellipsis: ""
|
|
9460
9481
|
}, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
|
|
9461
|
-
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;
|
|
9462
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;
|
|
9463
9484
|
e: for (;;) {
|
|
9464
9485
|
if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
|
|
@@ -9508,11 +9529,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9508
9529
|
continue;
|
|
9509
9530
|
}
|
|
9510
9531
|
if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
|
|
9511
|
-
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) {
|
|
9512
9533
|
f$7 = !0;
|
|
9513
9534
|
break;
|
|
9514
9535
|
}
|
|
9515
|
-
A$2 += g$
|
|
9536
|
+
A$2 += g$5, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
|
|
9516
9537
|
continue;
|
|
9517
9538
|
}
|
|
9518
9539
|
m$5 += 1;
|
|
@@ -9539,10 +9560,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9539
9560
|
if (e$8 === 0) return 0;
|
|
9540
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) => {
|
|
9541
9562
|
const i$9 = r$4[Symbol.iterator]();
|
|
9542
|
-
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;
|
|
9543
9564
|
for (; !a$13.done;) {
|
|
9544
9565
|
const E$5 = a$13.value, p$3 = M$3(E$5);
|
|
9545
|
-
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;
|
|
9546
9567
|
}
|
|
9547
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());
|
|
9548
9569
|
}, wt = (e$8) => {
|
|
@@ -9578,8 +9599,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9578
9599
|
}
|
|
9579
9600
|
s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
|
|
9580
9601
|
const c$8 = a$13.join(`
|
|
9581
|
-
`), g$
|
|
9582
|
-
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;
|
|
9583
9604
|
for (; !E$5.done;) {
|
|
9584
9605
|
const $$2 = E$5.value, m$5 = p$3.value;
|
|
9585
9606
|
if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
|
|
@@ -9593,7 +9614,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9593
9614
|
const d$5 = n$6 ? At(n$6) : void 0;
|
|
9594
9615
|
m$5 === `
|
|
9595
9616
|
` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
|
|
9596
|
-
` && (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();
|
|
9597
9618
|
}
|
|
9598
9619
|
return i$9;
|
|
9599
9620
|
};
|
|
@@ -9615,7 +9636,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9615
9636
|
removals: u$8
|
|
9616
9637
|
};
|
|
9617
9638
|
}, J$4 = (e$8) => {
|
|
9618
|
-
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);
|
|
9619
9640
|
let $$2 = 0;
|
|
9620
9641
|
r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
|
|
9621
9642
|
let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
|
|
@@ -9637,9 +9658,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9637
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));
|
|
9638
9659
|
}
|
|
9639
9660
|
const b$11 = [];
|
|
9640
|
-
m$5 && b$11.push(g$
|
|
9661
|
+
m$5 && b$11.push(g$5);
|
|
9641
9662
|
for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
|
|
9642
|
-
return d$5 && b$11.push(g$
|
|
9663
|
+
return d$5 && b$11.push(g$5), b$11;
|
|
9643
9664
|
};
|
|
9644
9665
|
function Ke(e$8) {
|
|
9645
9666
|
return e$8.label ?? String(e$8.value ?? "");
|
|
@@ -9685,8 +9706,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9685
9706
|
const d$5 = u$8 ? l$3 : s$9;
|
|
9686
9707
|
c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
|
|
9687
9708
|
} else c$8 = ` ${this.userInputWithCursor}`;
|
|
9688
|
-
const g$
|
|
9689
|
-
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);
|
|
9690
9711
|
const y$7 = [
|
|
9691
9712
|
`${import_picocolors.default.dim("↑/↓")} to select`,
|
|
9692
9713
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
@@ -9714,8 +9735,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9714
9735
|
}
|
|
9715
9736
|
}).prompt(), bt = (e$8) => {
|
|
9716
9737
|
const r$4 = (i$9, n$6, l$3, u$8) => {
|
|
9717
|
-
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$
|
|
9718
|
-
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)}`;
|
|
9719
9740
|
}, s$9 = new Vt({
|
|
9720
9741
|
options: e$8.options,
|
|
9721
9742
|
multiple: !0,
|
|
@@ -9735,18 +9756,18 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9735
9756
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
|
|
9736
9757
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
|
|
9737
9758
|
default: {
|
|
9738
|
-
const g$
|
|
9759
|
+
const g$5 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
|
|
9739
9760
|
`${import_picocolors.default.dim("↑/↓")} to navigate`,
|
|
9740
9761
|
`${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
|
|
9741
9762
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
9742
9763
|
`${import_picocolors.default.dim("Type:")} to search`
|
|
9743
|
-
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$
|
|
9744
|
-
...`${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(`
|
|
9745
9766
|
`),
|
|
9746
|
-
`${g$
|
|
9767
|
+
`${g$5(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
|
|
9747
9768
|
...p$3,
|
|
9748
9769
|
...y$7
|
|
9749
|
-
], 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({
|
|
9750
9771
|
cursor: this.cursor,
|
|
9751
9772
|
options: this.filteredOptions,
|
|
9752
9773
|
style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
|
|
@@ -9756,7 +9777,7 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9756
9777
|
});
|
|
9757
9778
|
return [
|
|
9758
9779
|
...$$2,
|
|
9759
|
-
...d$5.map((F$6) => `${g$
|
|
9780
|
+
...d$5.map((F$6) => `${g$5(h$5)} ${F$6}`),
|
|
9760
9781
|
...m$5
|
|
9761
9782
|
].join(`
|
|
9762
9783
|
`);
|
|
@@ -9781,7 +9802,7 @@ function Xe(e$8, r$4, s$9, i$9) {
|
|
|
9781
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];
|
|
9782
9803
|
}
|
|
9783
9804
|
const Dt = (e$8) => e$8, Tt = (e$8 = "", r$4 = "", s$9) => {
|
|
9784
|
-
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;
|
|
9785
9806
|
let F$6 = Math.floor(n$6 * a$13) - $$2;
|
|
9786
9807
|
if (s$9?.width === "auto") {
|
|
9787
9808
|
const _$7 = e$8.split(`
|
|
@@ -9848,7 +9869,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9848
9869
|
return s$9;
|
|
9849
9870
|
}, Ot = (e$8) => {
|
|
9850
9871
|
const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
|
|
9851
|
-
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} ` : " " : "";
|
|
9852
9873
|
let y$7 = "";
|
|
9853
9874
|
if (s$9 > 0 && !c$8) {
|
|
9854
9875
|
const m$5 = `
|
|
@@ -9899,19 +9920,19 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
|
9899
9920
|
const o$7 = this.error.split(`
|
|
9900
9921
|
`).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
|
|
9901
9922
|
`);
|
|
9902
|
-
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) => {
|
|
9903
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;
|
|
9904
|
-
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);
|
|
9905
9926
|
}).join(`
|
|
9906
9927
|
${import_picocolors.default.yellow(h$5)} `)}
|
|
9907
9928
|
${o$7}
|
|
9908
9929
|
`;
|
|
9909
9930
|
}
|
|
9910
9931
|
default: {
|
|
9911
|
-
const o$7 = this.options.map((c$8, g$
|
|
9912
|
-
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;
|
|
9913
9934
|
let m$5 = "";
|
|
9914
|
-
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(`
|
|
9915
9936
|
`) ? " " : ""}${m$5}`;
|
|
9916
9937
|
}).join(`
|
|
9917
9938
|
${import_picocolors.default.cyan(h$5)}`), a$13 = o$7.startsWith(`
|
|
@@ -9925,14 +9946,14 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9925
9946
|
}).prompt();
|
|
9926
9947
|
}, R = {
|
|
9927
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 } = {}) => {
|
|
9928
|
-
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} ` : "";
|
|
9929
9950
|
for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
|
|
9930
9951
|
const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
|
|
9931
9952
|
`);
|
|
9932
9953
|
if (E$5.length > 0) {
|
|
9933
9954
|
const [p$3, ...y$7] = E$5;
|
|
9934
9955
|
p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
|
|
9935
|
-
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);
|
|
9936
9957
|
}
|
|
9937
9958
|
i$9.write(`${u$8.join(`
|
|
9938
9959
|
`)}
|
|
@@ -10025,7 +10046,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10025
10046
|
const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
|
|
10026
10047
|
`).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
|
|
10027
10048
|
`), c$8 = n$6.split(`
|
|
10028
|
-
`).length, g$
|
|
10049
|
+
`).length, g$5 = a$13.split(`
|
|
10029
10050
|
`).length + 1;
|
|
10030
10051
|
return `${n$6}${o$7}${J$4({
|
|
10031
10052
|
output: e$8.output,
|
|
@@ -10033,7 +10054,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10033
10054
|
cursor: this.cursor,
|
|
10034
10055
|
maxItems: e$8.maxItems,
|
|
10035
10056
|
columnPadding: o$7.length,
|
|
10036
|
-
rowPadding: c$8 + g$
|
|
10057
|
+
rowPadding: c$8 + g$5,
|
|
10037
10058
|
style: u$8
|
|
10038
10059
|
}).join(`
|
|
10039
10060
|
${o$7}`)}
|
|
@@ -10067,7 +10088,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10067
10088
|
`), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
|
|
10068
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);
|
|
10069
10090
|
}, kt$1 = (e$8 = "", r$4 = "", s$9) => {
|
|
10070
|
-
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 = [
|
|
10071
10092
|
"",
|
|
10072
10093
|
...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
|
|
10073
10094
|
`).map(l$3),
|
|
@@ -10076,9 +10097,9 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10076
10097
|
const $$2 = M$3(y$7);
|
|
10077
10098
|
return $$2 > p$3 ? $$2 : p$3;
|
|
10078
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(`
|
|
10079
|
-
`), g$
|
|
10100
|
+
`), g$5 = n$6 ? `${import_picocolors.default.gray(h$5)}
|
|
10080
10101
|
` : "", E$5 = n$6 ? Ne$1 : pe$1;
|
|
10081
|
-
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)}
|
|
10082
10103
|
${c$8}
|
|
10083
10104
|
${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
|
|
10084
10105
|
`);
|
|
@@ -10156,7 +10177,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10156
10177
|
"0"
|
|
10157
10178
|
], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
|
|
10158
10179
|
const c$8 = ue$1();
|
|
10159
|
-
let g$
|
|
10180
|
+
let g$5, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
|
|
10160
10181
|
const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
|
|
10161
10182
|
const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
|
|
10162
10183
|
y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
|
|
@@ -10178,7 +10199,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10178
10199
|
const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
|
|
10179
10200
|
return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
|
|
10180
10201
|
}, T$8 = (S$7 = "") => {
|
|
10181
|
-
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)}
|
|
10182
10203
|
`);
|
|
10183
10204
|
let O$9 = 0, N$6 = 0;
|
|
10184
10205
|
b$11(), E$5 = setInterval(() => {
|
|
@@ -10204,7 +10225,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10204
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);
|
|
10205
10226
|
$$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
|
|
10206
10227
|
`) : s$9.write(`${N$6} ${$$2}
|
|
10207
|
-
`), A$2(), g$
|
|
10228
|
+
`), A$2(), g$5();
|
|
10208
10229
|
};
|
|
10209
10230
|
return {
|
|
10210
10231
|
start: T$8,
|
|
@@ -10345,7 +10366,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
|
|
|
10345
10366
|
full: ""
|
|
10346
10367
|
}];
|
|
10347
10368
|
let c$8 = !1;
|
|
10348
|
-
const g$
|
|
10369
|
+
const g$5 = (d$5) => {
|
|
10349
10370
|
if (a$13.length === 0) return;
|
|
10350
10371
|
let F$6 = 0;
|
|
10351
10372
|
d$5 && (F$6 += n$6 + 2);
|
|
@@ -10382,7 +10403,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10382
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);
|
|
10383
10404
|
}
|
|
10384
10405
|
}, y$7 = (d$5, F$6, f$7) => {
|
|
10385
|
-
if (g$
|
|
10406
|
+
if (g$5(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
|
|
10386
10407
|
`), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
|
|
10387
10408
|
const v$5 = d$5.value.split(`
|
|
10388
10409
|
`), I$4 = v$5.length - e$8.limit;
|
|
@@ -10407,7 +10428,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10407
10428
|
spacing: 0
|
|
10408
10429
|
}) : d$5.value !== "" && E$5(d$5, 0);
|
|
10409
10430
|
}, m$5 = (d$5, F$6) => {
|
|
10410
|
-
g$
|
|
10431
|
+
g$5(!1), d$5.result = F$6, o$7 && $$2();
|
|
10411
10432
|
};
|
|
10412
10433
|
return {
|
|
10413
10434
|
message(d$5, F$6) {
|
|
@@ -10438,14 +10459,14 @@ ${d$5.value}` : d$5.value;
|
|
|
10438
10459
|
};
|
|
10439
10460
|
},
|
|
10440
10461
|
error(d$5, F$6) {
|
|
10441
|
-
g$
|
|
10462
|
+
g$5(!0), R.error(d$5, {
|
|
10442
10463
|
output: r$4,
|
|
10443
10464
|
secondarySymbol: i$9,
|
|
10444
10465
|
spacing: 1
|
|
10445
10466
|
}), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
|
|
10446
10467
|
},
|
|
10447
10468
|
success(d$5, F$6) {
|
|
10448
|
-
g$
|
|
10469
|
+
g$5(!0), R.success(d$5, {
|
|
10449
10470
|
output: r$4,
|
|
10450
10471
|
secondarySymbol: i$9,
|
|
10451
10472
|
spacing: 1
|
|
@@ -11257,7 +11278,7 @@ l$2.name;
|
|
|
11257
11278
|
function n$5(e$8) {
|
|
11258
11279
|
return e$8 ? e$8 !== "false" : false;
|
|
11259
11280
|
}
|
|
11260
|
-
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);
|
|
11261
11282
|
n$5(o$6.MINIMAL);
|
|
11262
11283
|
const A$1 = /^win/i.test(I$2);
|
|
11263
11284
|
!n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
|
|
@@ -11338,9 +11359,9 @@ function stringWidth$1(string, options$1 = {}) {
|
|
|
11338
11359
|
return width;
|
|
11339
11360
|
}
|
|
11340
11361
|
function isUnicodeSupported() {
|
|
11341
|
-
const { env: env$2 } =
|
|
11362
|
+
const { env: env$2 } = g$1;
|
|
11342
11363
|
const { TERM, TERM_PROGRAM } = env$2;
|
|
11343
|
-
if (
|
|
11364
|
+
if (g$1.platform !== "win32") return TERM !== "linux";
|
|
11344
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";
|
|
11345
11366
|
}
|
|
11346
11367
|
const TYPE_COLOR_MAP = {
|
|
@@ -11427,13 +11448,13 @@ function createConsola$1(options$1 = {}) {
|
|
|
11427
11448
|
defaults: { level },
|
|
11428
11449
|
stdout: process.stdout,
|
|
11429
11450
|
stderr: process.stderr,
|
|
11430
|
-
prompt: (...args$2) => import("./prompt-
|
|
11451
|
+
prompt: (...args$2) => import("./prompt-BIVRMyOv.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
11431
11452
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
|
|
11432
11453
|
...options$1
|
|
11433
11454
|
});
|
|
11434
11455
|
}
|
|
11435
11456
|
function _getDefaultLogLevel() {
|
|
11436
|
-
if (g$
|
|
11457
|
+
if (g$4) return LogLevels.debug;
|
|
11437
11458
|
if (R$6) return LogLevels.warn;
|
|
11438
11459
|
return LogLevels.info;
|
|
11439
11460
|
}
|
|
@@ -11823,7 +11844,7 @@ const black = kolorist(30, 39);
|
|
|
11823
11844
|
const red = kolorist(31, 39);
|
|
11824
11845
|
const green = kolorist(32, 39);
|
|
11825
11846
|
const yellow = kolorist(33, 39);
|
|
11826
|
-
const blue$
|
|
11847
|
+
const blue$3 = kolorist(34, 39);
|
|
11827
11848
|
const magenta = kolorist(35, 39);
|
|
11828
11849
|
const cyan = kolorist(36, 39);
|
|
11829
11850
|
const white = kolorist(97, 39);
|
|
@@ -12299,12 +12320,12 @@ async function pathExists(path2, type) {
|
|
|
12299
12320
|
}
|
|
12300
12321
|
}
|
|
12301
12322
|
function getUserAgent() {
|
|
12302
|
-
const userAgent =
|
|
12323
|
+
const userAgent = g$1.env.npm_config_user_agent;
|
|
12303
12324
|
if (!userAgent) return null;
|
|
12304
12325
|
const name = userAgent.split("/")[0];
|
|
12305
12326
|
return AGENTS.includes(name) ? name : null;
|
|
12306
12327
|
}
|
|
12307
|
-
function* lookup(cwd$2 =
|
|
12328
|
+
function* lookup(cwd$2 = g$1.cwd()) {
|
|
12308
12329
|
let directory = path.resolve(cwd$2);
|
|
12309
12330
|
const { root: root$3 } = path.parse(directory);
|
|
12310
12331
|
while (directory && directory !== root$3) {
|
|
@@ -12723,7 +12744,7 @@ const colorfulBanner = ` [38;5;8m [38;5;111m\`[38;5;111m$[38;5;111m$[38;5;1
|
|
|
12723
12744
|
[38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;25m [38;5;25m\`[38;5;25mT[38;5;33m:[38;5;33m [38;5;7m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;7m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m [38;5;8m
|
|
12724
12745
|
[0m`;
|
|
12725
12746
|
const unstyledBanner = stripColors(colorfulBanner);
|
|
12726
|
-
const coloredBanner = blue$
|
|
12747
|
+
const coloredBanner = blue$3(unstyledBanner);
|
|
12727
12748
|
function createBanner() {
|
|
12728
12749
|
if (!options.enabled) return unstyledBanner;
|
|
12729
12750
|
else if (options.supportLevel < 2) return coloredBanner;
|
|
@@ -12919,7 +12940,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
12919
12940
|
//#endregion
|
|
12920
12941
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
12921
12942
|
const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
|
|
12922
|
-
function g$
|
|
12943
|
+
function g$3(e$8, t$9) {
|
|
12923
12944
|
const n$6 = /* @__PURE__ */ new Map();
|
|
12924
12945
|
let s$9 = 0, o$7, i$9;
|
|
12925
12946
|
for (const c$8 of e$8.split(/\n/g)) {
|
|
@@ -12960,8 +12981,8 @@ function S$4(e$8, t$9) {
|
|
|
12960
12981
|
}
|
|
12961
12982
|
function _$4(e$8) {
|
|
12962
12983
|
if (typeof e$8 != "string") throw new TypeError("Expected a string");
|
|
12963
|
-
let t$9 = g$
|
|
12964
|
-
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));
|
|
12965
12986
|
const n$6 = E$4(t$9);
|
|
12966
12987
|
let s$9, o$7 = 0, i$9 = "";
|
|
12967
12988
|
return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
|
|
@@ -13044,17 +13065,17 @@ function uu() {
|
|
|
13044
13065
|
Z$2 = 1;
|
|
13045
13066
|
const C$5 = T$4();
|
|
13046
13067
|
let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
|
|
13047
|
-
q$4 = function(a$13, g$
|
|
13068
|
+
q$4 = function(a$13, g$5) {
|
|
13048
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;
|
|
13049
13070
|
do
|
|
13050
13071
|
f$7 = E$5(), Q$4[s$9]();
|
|
13051
13072
|
while (f$7.type !== "eof");
|
|
13052
|
-
return typeof g$
|
|
13073
|
+
return typeof g$5 == "function" ? v$5({ "": m$5 }, "", g$5) : m$5;
|
|
13053
13074
|
};
|
|
13054
|
-
function v$5(D$4, a$13, g$
|
|
13075
|
+
function v$5(D$4, a$13, g$5) {
|
|
13055
13076
|
const y$7 = D$4[a$13];
|
|
13056
|
-
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$
|
|
13057
|
-
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);
|
|
13058
13079
|
H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
|
|
13059
13080
|
value: H$8,
|
|
13060
13081
|
writable: !0,
|
|
@@ -13062,16 +13083,16 @@ function uu() {
|
|
|
13062
13083
|
configurable: !0
|
|
13063
13084
|
});
|
|
13064
13085
|
}
|
|
13065
|
-
else for (const P$
|
|
13066
|
-
const I$4 = v$5(y$7, P$
|
|
13067
|
-
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, {
|
|
13068
13089
|
value: I$4,
|
|
13069
13090
|
writable: !0,
|
|
13070
13091
|
enumerable: !0,
|
|
13071
13092
|
configurable: !0
|
|
13072
13093
|
});
|
|
13073
13094
|
}
|
|
13074
|
-
return g$
|
|
13095
|
+
return g$5.call(D$4, a$13, y$7);
|
|
13075
13096
|
}
|
|
13076
13097
|
let t$9, e$8, x$5, w$7, A$2;
|
|
13077
13098
|
function E$5() {
|
|
@@ -13510,8 +13531,8 @@ function uu() {
|
|
|
13510
13531
|
function $$2() {
|
|
13511
13532
|
let D$4 = "", a$13 = 4;
|
|
13512
13533
|
for (; a$13-- > 0;) {
|
|
13513
|
-
const g$
|
|
13514
|
-
if (!C$5.isHexDigit(g$
|
|
13534
|
+
const g$5 = n$6();
|
|
13535
|
+
if (!C$5.isHexDigit(g$5)) throw B$2(u$8());
|
|
13515
13536
|
D$4 += u$8();
|
|
13516
13537
|
}
|
|
13517
13538
|
return String.fromCodePoint(parseInt(D$4, 16));
|
|
@@ -13639,8 +13660,8 @@ function uu() {
|
|
|
13639
13660
|
};
|
|
13640
13661
|
if (a$13[D$4]) return a$13[D$4];
|
|
13641
13662
|
if (D$4 < " ") {
|
|
13642
|
-
const g$
|
|
13643
|
-
return "\\x" + ("00" + g$
|
|
13663
|
+
const g$5 = D$4.charCodeAt(0).toString(16);
|
|
13664
|
+
return "\\x" + ("00" + g$5).substring(g$5.length);
|
|
13644
13665
|
}
|
|
13645
13666
|
return D$4;
|
|
13646
13667
|
}
|
|
@@ -13796,7 +13817,7 @@ function Au(C$5, r$4) {
|
|
|
13796
13817
|
//#endregion
|
|
13797
13818
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
13798
13819
|
function $$1(n$6, l$3 = !1) {
|
|
13799
|
-
const g$
|
|
13820
|
+
const g$5 = n$6.length;
|
|
13800
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;
|
|
13801
13822
|
function I$4(i$9, T$8) {
|
|
13802
13823
|
let s$9 = 0, c$8 = 0;
|
|
@@ -13829,7 +13850,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13829
13850
|
function a$13() {
|
|
13830
13851
|
let i$9 = "", T$8 = e$8;
|
|
13831
13852
|
for (;;) {
|
|
13832
|
-
if (e$8 >= g$
|
|
13853
|
+
if (e$8 >= g$5) {
|
|
13833
13854
|
i$9 += n$6.substring(T$8, e$8), b$11 = 2;
|
|
13834
13855
|
break;
|
|
13835
13856
|
}
|
|
@@ -13839,7 +13860,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13839
13860
|
break;
|
|
13840
13861
|
}
|
|
13841
13862
|
if (s$9 === 92) {
|
|
13842
|
-
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) {
|
|
13843
13864
|
b$11 = 2;
|
|
13844
13865
|
break;
|
|
13845
13866
|
}
|
|
@@ -13887,7 +13908,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13887
13908
|
return i$9;
|
|
13888
13909
|
}
|
|
13889
13910
|
function w$7() {
|
|
13890
|
-
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;
|
|
13891
13912
|
let i$9 = n$6.charCodeAt(e$8);
|
|
13892
13913
|
if (J$2(i$9)) {
|
|
13893
13914
|
do
|
|
@@ -13908,12 +13929,12 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13908
13929
|
case 47:
|
|
13909
13930
|
const T$8 = e$8 - 1;
|
|
13910
13931
|
if (n$6.charCodeAt(e$8 + 1) === 47) {
|
|
13911
|
-
for (e$8 += 2; e$8 < g$
|
|
13932
|
+
for (e$8 += 2; e$8 < g$5 && !r(n$6.charCodeAt(e$8));) e$8++;
|
|
13912
13933
|
return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
|
|
13913
13934
|
}
|
|
13914
13935
|
if (n$6.charCodeAt(e$8 + 1) === 42) {
|
|
13915
13936
|
e$8 += 2;
|
|
13916
|
-
const s$9 = g$
|
|
13937
|
+
const s$9 = g$5 - 1;
|
|
13917
13938
|
let c$8 = !1;
|
|
13918
13939
|
for (; e$8 < s$9;) {
|
|
13919
13940
|
const t$9 = n$6.charCodeAt(e$8);
|
|
@@ -13926,7 +13947,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13926
13947
|
return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
|
|
13927
13948
|
}
|
|
13928
13949
|
return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
|
|
13929
|
-
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;
|
|
13930
13951
|
case 48:
|
|
13931
13952
|
case 49:
|
|
13932
13953
|
case 50:
|
|
@@ -13938,7 +13959,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13938
13959
|
case 56:
|
|
13939
13960
|
case 57: return u$8 += F$6(), k$6 = 11;
|
|
13940
13961
|
default:
|
|
13941
|
-
for (; e$8 < g$
|
|
13962
|
+
for (; e$8 < g$5 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
|
|
13942
13963
|
if (p$3 !== e$8) {
|
|
13943
13964
|
switch (u$8 = n$6.substring(p$3, e$8), u$8) {
|
|
13944
13965
|
case "true": return k$6 = 8;
|
|
@@ -14007,13 +14028,13 @@ var U$2;
|
|
|
14007
14028
|
(function(n$6) {
|
|
14008
14029
|
n$6.DEFAULT = { allowTrailingComma: !1 };
|
|
14009
14030
|
})(U$2 || (U$2 = {}));
|
|
14010
|
-
function S$3(n$6, l$3 = [], g$
|
|
14031
|
+
function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
|
|
14011
14032
|
let e$8 = null, u$8 = [];
|
|
14012
14033
|
const p$3 = [];
|
|
14013
14034
|
function k$6(o$7) {
|
|
14014
14035
|
Array.isArray(u$8) ? u$8.push(o$7) : e$8 !== null && (u$8[e$8] = o$7);
|
|
14015
14036
|
}
|
|
14016
|
-
return P$
|
|
14037
|
+
return P$4(n$6, {
|
|
14017
14038
|
onObjectBegin: () => {
|
|
14018
14039
|
const o$7 = {};
|
|
14019
14040
|
k$6(o$7), p$3.push(u$8), u$8 = o$7, e$8 = null;
|
|
@@ -14039,9 +14060,9 @@ function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
|
|
|
14039
14060
|
length: B$2
|
|
14040
14061
|
});
|
|
14041
14062
|
}
|
|
14042
|
-
}, g$
|
|
14063
|
+
}, g$5), u$8[0];
|
|
14043
14064
|
}
|
|
14044
|
-
function P$
|
|
14065
|
+
function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
14045
14066
|
const e$8 = $$1(n$6, !1), u$8 = [];
|
|
14046
14067
|
let p$3 = 0;
|
|
14047
14068
|
function k$6(f$7) {
|
|
@@ -14063,7 +14084,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14063
14084
|
p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
|
|
14064
14085
|
} : () => !0;
|
|
14065
14086
|
}
|
|
14066
|
-
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;
|
|
14067
14088
|
function c$8() {
|
|
14068
14089
|
for (;;) {
|
|
14069
14090
|
const f$7 = e$8.scan();
|
|
@@ -14170,7 +14191,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14170
14191
|
default: return G$5();
|
|
14171
14192
|
}
|
|
14172
14193
|
}
|
|
14173
|
-
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);
|
|
14174
14195
|
}
|
|
14175
14196
|
var W$2;
|
|
14176
14197
|
(function(n$6) {
|
|
@@ -14186,16 +14207,16 @@ var q$3;
|
|
|
14186
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";
|
|
14187
14208
|
})(q$3 || (q$3 = {}));
|
|
14188
14209
|
function x$1(n$6, l$3) {
|
|
14189
|
-
const g$
|
|
14190
|
-
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;
|
|
14191
14212
|
}
|
|
14192
14213
|
function z$2(n$6, l$3) {
|
|
14193
|
-
const g$
|
|
14194
|
-
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;
|
|
14195
14216
|
}
|
|
14196
14217
|
function h$2(n$6, l$3) {
|
|
14197
|
-
const g$
|
|
14198
|
-
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;
|
|
14199
14220
|
}
|
|
14200
14221
|
|
|
14201
14222
|
//#endregion
|
|
@@ -14847,13 +14868,13 @@ function yi(e$8, n$6) {
|
|
|
14847
14868
|
h$3(e$8, "unexpected end of the stream within a double quoted scalar");
|
|
14848
14869
|
}
|
|
14849
14870
|
function Ci(e$8, n$6) {
|
|
14850
|
-
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;
|
|
14851
14872
|
if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
|
|
14852
14873
|
else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
|
|
14853
14874
|
else return !1;
|
|
14854
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;) {
|
|
14855
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;
|
|
14856
|
-
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;
|
|
14857
14878
|
}
|
|
14858
14879
|
h$3(e$8, "unexpected end of the stream within a flow collection");
|
|
14859
14880
|
}
|
|
@@ -14908,21 +14929,21 @@ function we(e$8, n$6) {
|
|
|
14908
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;
|
|
14909
14930
|
}
|
|
14910
14931
|
function wi(e$8, n$6, i$9) {
|
|
14911
|
-
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;
|
|
14912
14933
|
if (e$8.firstTabInLine !== -1) return !1;
|
|
14913
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;) {
|
|
14914
|
-
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;
|
|
14915
14936
|
else {
|
|
14916
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;
|
|
14917
14938
|
if (e$8.line === u$8) {
|
|
14918
14939
|
for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
|
|
14919
|
-
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;
|
|
14920
14941
|
else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
|
|
14921
14942
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14922
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");
|
|
14923
14944
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14924
14945
|
}
|
|
14925
|
-
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");
|
|
14926
14947
|
else if (e$8.lineIndent < n$6) break;
|
|
14927
14948
|
}
|
|
14928
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;
|
|
@@ -14960,9 +14981,9 @@ function Si(e$8) {
|
|
|
14960
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;
|
|
14961
14982
|
}
|
|
14962
14983
|
function R$4(e$8, n$6, i$9, l$3, r$4) {
|
|
14963
|
-
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;
|
|
14964
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;
|
|
14965
|
-
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);
|
|
14966
14987
|
else if (e$8.tag === "?") {
|
|
14967
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)) {
|
|
14968
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);
|
|
@@ -15074,18 +15095,18 @@ function er(e$8, n$6) {
|
|
|
15074
15095
|
function W$1(e$8) {
|
|
15075
15096
|
return e$8 === Ri || e$8 === Li;
|
|
15076
15097
|
}
|
|
15077
|
-
function P$
|
|
15098
|
+
function P$3(e$8) {
|
|
15078
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;
|
|
15079
15100
|
}
|
|
15080
15101
|
function Le(e$8) {
|
|
15081
|
-
return P$
|
|
15102
|
+
return P$3(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
|
|
15082
15103
|
}
|
|
15083
15104
|
function Ne(e$8, n$6, i$9) {
|
|
15084
15105
|
var l$3 = Le(e$8), r$4 = l$3 && !W$1(e$8);
|
|
15085
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;
|
|
15086
15107
|
}
|
|
15087
15108
|
function nr(e$8) {
|
|
15088
|
-
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;
|
|
15089
15110
|
}
|
|
15090
15111
|
function ir(e$8) {
|
|
15091
15112
|
return !W$1(e$8) && e$8 !== G$2;
|
|
@@ -15099,20 +15120,20 @@ function Re$1(e$8) {
|
|
|
15099
15120
|
}
|
|
15100
15121
|
var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
|
|
15101
15122
|
function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
|
|
15102
|
-
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));
|
|
15103
15124
|
if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15104
|
-
if (a$13 = j$3(e$8, c$8), !P$
|
|
15105
|
-
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;
|
|
15106
15127
|
}
|
|
15107
15128
|
else {
|
|
15108
15129
|
for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15109
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);
|
|
15110
|
-
else if (!P$
|
|
15111
|
-
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;
|
|
15112
15133
|
}
|
|
15113
15134
|
d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
|
|
15114
15135
|
}
|
|
15115
|
-
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;
|
|
15116
15137
|
}
|
|
15117
15138
|
function lr(e$8, n$6, i$9, l$3, r$4) {
|
|
15118
15139
|
e$8.dump = function() {
|
|
@@ -15166,7 +15187,7 @@ function je(e$8, n$6) {
|
|
|
15166
15187
|
` + e$8.slice(o$7 + 1) : c$8 += e$8.slice(r$4), c$8.slice(1);
|
|
15167
15188
|
}
|
|
15168
15189
|
function ur(e$8) {
|
|
15169
|
-
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);
|
|
15170
15191
|
return n$6;
|
|
15171
15192
|
}
|
|
15172
15193
|
function fr(e$8, n$6, i$9) {
|
|
@@ -15681,19 +15702,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
15681
15702
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
15682
15703
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
15683
15704
|
function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
|
|
15684
|
-
if (
|
|
15705
|
+
if (g$1.noDeprecation) return;
|
|
15685
15706
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
15686
15707
|
const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
|
|
15687
|
-
|
|
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");
|
|
15688
15709
|
}
|
|
15689
15710
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
|
|
15690
|
-
if (
|
|
15711
|
+
if (g$1.noDeprecation) return;
|
|
15691
15712
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
15692
15713
|
const urlPath = fileURLToPath(url.href);
|
|
15693
15714
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
15694
15715
|
const basePath = fileURLToPath(base);
|
|
15695
|
-
if (!main$1)
|
|
15696
|
-
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");
|
|
15697
15718
|
}
|
|
15698
15719
|
function tryStatSync(path$1) {
|
|
15699
15720
|
try {
|
|
@@ -15901,11 +15922,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
|
|
|
15901
15922
|
return isConditionalSugar;
|
|
15902
15923
|
}
|
|
15903
15924
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
15904
|
-
if (
|
|
15925
|
+
if (g$1.noDeprecation) return;
|
|
15905
15926
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
15906
15927
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
15907
15928
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
15908
|
-
|
|
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");
|
|
15909
15930
|
}
|
|
15910
15931
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
15911
15932
|
let exports$1 = packageConfig.exports;
|
|
@@ -16390,7 +16411,7 @@ var f$4 = Object.getOwnPropertyNames;
|
|
|
16390
16411
|
var p$1 = Object.getPrototypeOf;
|
|
16391
16412
|
var m$3 = Object.prototype.hasOwnProperty;
|
|
16392
16413
|
var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
|
|
16393
|
-
var g$
|
|
16414
|
+
var g$2 = (e$8, t$9, n$6, r$4) => {
|
|
16394
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++) {
|
|
16395
16416
|
s$9 = i$9[a$13];
|
|
16396
16417
|
if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
|
|
@@ -16400,7 +16421,7 @@ var g$1 = (e$8, t$9, n$6, r$4) => {
|
|
|
16400
16421
|
}
|
|
16401
16422
|
return e$8;
|
|
16402
16423
|
};
|
|
16403
|
-
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", {
|
|
16404
16425
|
value: e$8,
|
|
16405
16426
|
enumerable: true
|
|
16406
16427
|
}) : n$6, e$8));
|
|
@@ -16693,7 +16714,7 @@ var N = h$1((exports$1, t$9) => {
|
|
|
16693
16714
|
return i$9 ? `${a$13} ${i$9}` : a$13;
|
|
16694
16715
|
};
|
|
16695
16716
|
});
|
|
16696
|
-
var P$
|
|
16717
|
+
var P$2 = h$1((exports$1, t$9) => {
|
|
16697
16718
|
const n$6 = v$2("fs");
|
|
16698
16719
|
const r$4 = N();
|
|
16699
16720
|
function i$9(e$8) {
|
|
@@ -16713,7 +16734,7 @@ var F$3 = h$1((exports$1, t$9) => {
|
|
|
16713
16734
|
const n$6 = v$2("path");
|
|
16714
16735
|
const r$4 = A();
|
|
16715
16736
|
const i$9 = j$2();
|
|
16716
|
-
const a$13 = P$
|
|
16737
|
+
const a$13 = P$2();
|
|
16717
16738
|
const o$7 = process.platform === "win32";
|
|
16718
16739
|
const s$9 = /\.(?:com|exe)$/i;
|
|
16719
16740
|
const c$8 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -28923,19 +28944,19 @@ ${p$3}`;
|
|
|
28923
28944
|
process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A$2);
|
|
28924
28945
|
}
|
|
28925
28946
|
e$6(H$3, "H"), s$7(H$3, "debug");
|
|
28926
|
-
function P$
|
|
28947
|
+
function P$1(A$2, k$6) {
|
|
28927
28948
|
if (!k$6) return !1;
|
|
28928
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;
|
|
28929
28950
|
return !1;
|
|
28930
28951
|
}
|
|
28931
|
-
e$6(P$
|
|
28952
|
+
e$6(P$1, "P"), s$7(P$1, "bypassProxy");
|
|
28932
28953
|
const g = (fe = class extends undiciExports.ProxyAgent {
|
|
28933
28954
|
constructor(k$6) {
|
|
28934
28955
|
super(k$6), this._options = k$6, i$7(this, "_agent"), this._agent = new undiciExports.Agent();
|
|
28935
28956
|
}
|
|
28936
28957
|
dispatch(k$6, c$8) {
|
|
28937
28958
|
const B$2 = new require$$1$1.URL(k$6.origin).hostname;
|
|
28938
|
-
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);
|
|
28939
28960
|
}
|
|
28940
28961
|
}, e$6(fe, "g"), fe);
|
|
28941
28962
|
s$7(g, "UndiciProxyAgent");
|
|
@@ -28954,7 +28975,7 @@ ${p$3}`;
|
|
|
28954
28975
|
}
|
|
28955
28976
|
connect(k$6, c$8) {
|
|
28956
28977
|
const B$2 = k$6.getHeader("upgrade") === "websocket", t$9 = c$8.secureEndpoint ? B$2 ? "wss:" : "https:" : B$2 ? "ws:" : "http:";
|
|
28957
|
-
if (P$
|
|
28978
|
+
if (P$1(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
|
|
28958
28979
|
const R$7 = `${t$9}+${this._options.uri}`;
|
|
28959
28980
|
let F$6 = this.cache.get(R$7);
|
|
28960
28981
|
if (!F$6) {
|
|
@@ -29079,13 +29100,13 @@ function w$1() {
|
|
|
29079
29100
|
if (i$5) return f$3;
|
|
29080
29101
|
i$5 = 1;
|
|
29081
29102
|
const v$5 = (e$8, r$4) => {
|
|
29082
|
-
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);
|
|
29083
29104
|
else throw Error("cannot encode number outside of javascript safe integer range");
|
|
29084
29105
|
return r$4;
|
|
29085
29106
|
}, p$3 = (e$8, r$4) => {
|
|
29086
29107
|
r$4[0] = 128;
|
|
29087
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);
|
|
29088
|
-
}, g$
|
|
29109
|
+
}, g$5 = (e$8, r$4) => {
|
|
29089
29110
|
r$4[0] = 255;
|
|
29090
29111
|
var o$7 = false;
|
|
29091
29112
|
e$8 = e$8 * -1;
|
|
@@ -29120,14 +29141,14 @@ var k, w;
|
|
|
29120
29141
|
function E() {
|
|
29121
29142
|
if (w) return k;
|
|
29122
29143
|
w = 1;
|
|
29123
|
-
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");
|
|
29124
29145
|
class B$2 {
|
|
29125
29146
|
constructor(e$8, t$9, i$9, h$6) {
|
|
29126
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);
|
|
29127
29148
|
}
|
|
29128
29149
|
decode(e$8, t$9, i$9, h$6) {
|
|
29129
29150
|
if (t$9 || (t$9 = 0), !e$8 || !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29130
|
-
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;
|
|
29131
29152
|
else {
|
|
29132
29153
|
const n$6 = d$5(e$8, t$9 + 345, 130);
|
|
29133
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);
|
|
@@ -29137,13 +29158,13 @@ function E() {
|
|
|
29137
29158
|
for (let n$6 = t$9 + 156; n$6 < t$9 + 512; n$6++) l$3 += e$8[n$6];
|
|
29138
29159
|
this.cksumValid = l$3 === this.cksum, this.cksum === null && l$3 === 256 && (this.nullBlock = true);
|
|
29139
29160
|
}
|
|
29140
|
-
[P$
|
|
29161
|
+
[P$6](e$8, t$9) {
|
|
29141
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]);
|
|
29142
29163
|
}
|
|
29143
29164
|
encode(e$8, t$9) {
|
|
29144
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");
|
|
29145
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];
|
|
29146
|
-
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);
|
|
29147
29168
|
let S$7 = 256;
|
|
29148
29169
|
for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
|
|
29149
29170
|
for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
|
|
@@ -29193,7 +29214,7 @@ function E() {
|
|
|
29193
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 = {
|
|
29194
29215
|
12: 8589934591,
|
|
29195
29216
|
8: 2097151
|
|
29196
|
-
}, 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);
|
|
29197
29218
|
return k = B$2, k;
|
|
29198
29219
|
}
|
|
29199
29220
|
var e$3, t$3$1;
|
|
@@ -29345,7 +29366,7 @@ function ft() {
|
|
|
29345
29366
|
const H$8 = typeof process == "object" && process ? process : {
|
|
29346
29367
|
stdout: null,
|
|
29347
29368
|
stderr: null
|
|
29348
|
-
}, 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);
|
|
29349
29370
|
class z$6 {
|
|
29350
29371
|
constructor(t$9, e$8, s$9) {
|
|
29351
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);
|
|
@@ -29368,7 +29389,7 @@ function ft() {
|
|
|
29368
29389
|
}
|
|
29369
29390
|
class F$6 extends q$6 {
|
|
29370
29391
|
constructor(t$9) {
|
|
29371
|
-
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]());
|
|
29372
29393
|
}
|
|
29373
29394
|
get bufferLength() {
|
|
29374
29395
|
return this[n$6];
|
|
@@ -29470,7 +29491,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29470
29491
|
}
|
|
29471
29492
|
on(t$9, e$8) {
|
|
29472
29493
|
const s$9 = super.on(t$9, e$8);
|
|
29473
|
-
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;
|
|
29474
29495
|
}
|
|
29475
29496
|
get emittedEnd() {
|
|
29476
29497
|
return this[y$7];
|
|
@@ -29487,7 +29508,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29487
29508
|
const u$8 = super.emit("close");
|
|
29488
29509
|
return this.removeAllListeners("close"), u$8;
|
|
29489
29510
|
} else if (t$9 === "error") {
|
|
29490
|
-
this[g$
|
|
29511
|
+
this[g$5] = e$8, super.emit(P$6, e$8);
|
|
29491
29512
|
const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
|
|
29492
29513
|
return this[d$5](), u$8;
|
|
29493
29514
|
} else if (t$9 === "resume") {
|
|
@@ -29572,12 +29593,12 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29572
29593
|
}
|
|
29573
29594
|
[W$5]() {
|
|
29574
29595
|
let t$9 = false;
|
|
29575
|
-
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 = () => {
|
|
29576
29597
|
if (t$9) return e$8();
|
|
29577
29598
|
const l$3 = this.read();
|
|
29578
29599
|
return l$3 === null ? e$8() : { value: l$3 };
|
|
29579
29600
|
};
|
|
29580
|
-
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), {
|
|
29581
29602
|
next: s$9,
|
|
29582
29603
|
throw: e$8,
|
|
29583
29604
|
return: e$8,
|
|
@@ -29819,7 +29840,7 @@ function tt$1() {
|
|
|
29819
29840
|
const I$4 = typeof process == "object" && process ? process : {
|
|
29820
29841
|
stdout: null,
|
|
29821
29842
|
stderr: null
|
|
29822
|
-
}, 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);
|
|
29823
29844
|
class U$5 {
|
|
29824
29845
|
constructor(t$9, e$8, i$9) {
|
|
29825
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);
|
|
@@ -29881,10 +29902,10 @@ function tt$1() {
|
|
|
29881
29902
|
if (this[n$6]) return null;
|
|
29882
29903
|
if (this[s$9] === 0 || t$9 === 0 || t$9 > this[s$9]) return this[a$13](), null;
|
|
29883
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])]);
|
|
29884
|
-
const e$8 = this[P$
|
|
29905
|
+
const e$8 = this[P$6](t$9 || null, this.buffer[0]);
|
|
29885
29906
|
return this[a$13](), e$8;
|
|
29886
29907
|
}
|
|
29887
|
-
[P$
|
|
29908
|
+
[P$6](t$9, e$8) {
|
|
29888
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;
|
|
29889
29910
|
}
|
|
29890
29911
|
end(t$9, e$8, i$9) {
|
|
@@ -30011,18 +30032,18 @@ while (this[_$7](this[B$2]()));
|
|
|
30011
30032
|
});
|
|
30012
30033
|
if (this[u$8]) return Promise.resolve({ done: true });
|
|
30013
30034
|
let i$9 = null, l$3 = null;
|
|
30014
|
-
const f$7 = (g$
|
|
30015
|
-
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$
|
|
30016
|
-
}, 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) => {
|
|
30017
30038
|
this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
|
|
30018
|
-
value: g$
|
|
30039
|
+
value: g$5,
|
|
30019
30040
|
done: !!this[u$8]
|
|
30020
30041
|
});
|
|
30021
30042
|
}, O$9 = () => {
|
|
30022
30043
|
this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
|
|
30023
30044
|
}, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
|
|
30024
|
-
return new Promise((g$
|
|
30025
|
-
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);
|
|
30026
30047
|
});
|
|
30027
30048
|
} };
|
|
30028
30049
|
}
|
|
@@ -30047,7 +30068,7 @@ var C;
|
|
|
30047
30068
|
function J() {
|
|
30048
30069
|
if (C) return i$3;
|
|
30049
30070
|
C = 1;
|
|
30050
|
-
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");
|
|
30051
30072
|
class d$5 extends Error {
|
|
30052
30073
|
constructor(s$9) {
|
|
30053
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);
|
|
@@ -30056,11 +30077,11 @@ function J() {
|
|
|
30056
30077
|
return "ZlibError";
|
|
30057
30078
|
}
|
|
30058
30079
|
}
|
|
30059
|
-
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");
|
|
30060
30081
|
class x$5 extends L$5 {
|
|
30061
30082
|
constructor(s$9, e$8) {
|
|
30062
30083
|
if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
30063
|
-
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;
|
|
30064
30085
|
try {
|
|
30065
30086
|
this[t$9] = new z$6[e$8](s$9);
|
|
30066
30087
|
} catch (i$9) {
|
|
@@ -30080,10 +30101,10 @@ function J() {
|
|
|
30080
30101
|
this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
|
|
30081
30102
|
}
|
|
30082
30103
|
end(s$9, e$8, i$9) {
|
|
30083
|
-
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);
|
|
30084
30105
|
}
|
|
30085
30106
|
get ended() {
|
|
30086
|
-
return this[g$
|
|
30107
|
+
return this[g$5];
|
|
30087
30108
|
}
|
|
30088
30109
|
write(s$9, e$8, i$9) {
|
|
30089
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;
|
|
@@ -30201,8 +30222,8 @@ var O$1, F$2;
|
|
|
30201
30222
|
function rt() {
|
|
30202
30223
|
if (F$2) return O$1;
|
|
30203
30224
|
F$2 = 1;
|
|
30204
|
-
const P$
|
|
30205
|
-
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 {
|
|
30206
30227
|
constructor(t$9) {
|
|
30207
30228
|
t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
|
|
30208
30229
|
(this[h$6] === "begin" || this[E$1$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
|
@@ -30338,17 +30359,17 @@ while (this[U$5](this[f$7].shift()));
|
|
|
30338
30359
|
if (this[N$6] = true, this[n$6]) {
|
|
30339
30360
|
this[D$4](t$9);
|
|
30340
30361
|
const i$9 = this[n$6];
|
|
30341
|
-
this[n$6] = null, this[g$
|
|
30342
|
-
} else this[g$
|
|
30362
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30363
|
+
} else this[g$5](t$9);
|
|
30343
30364
|
for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
|
|
30344
30365
|
const i$9 = this[n$6];
|
|
30345
|
-
this[n$6] = null, this[g$
|
|
30366
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30346
30367
|
}
|
|
30347
30368
|
this[N$6] = false;
|
|
30348
30369
|
}
|
|
30349
30370
|
(!this[n$6] || this[u$8]) && this[M$5]();
|
|
30350
30371
|
}
|
|
30351
|
-
[g$
|
|
30372
|
+
[g$5](t$9) {
|
|
30352
30373
|
let i$9 = 0;
|
|
30353
30374
|
const s$9 = t$9.length;
|
|
30354
30375
|
for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
|
|
@@ -30386,7 +30407,7 @@ function X() {
|
|
|
30386
30407
|
j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
|
|
30387
30408
|
};
|
|
30388
30409
|
}
|
|
30389
|
-
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");
|
|
30390
30411
|
class D$4 extends H$8 {
|
|
30391
30412
|
constructor(t$9, e$8) {
|
|
30392
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");
|
|
@@ -30449,7 +30470,7 @@ function X() {
|
|
|
30449
30470
|
}
|
|
30450
30471
|
}
|
|
30451
30472
|
}
|
|
30452
|
-
class P$
|
|
30473
|
+
class P$6 extends D$4 {
|
|
30453
30474
|
[a$13]() {
|
|
30454
30475
|
let t$9 = true;
|
|
30455
30476
|
try {
|
|
@@ -30483,7 +30504,7 @@ function X() {
|
|
|
30483
30504
|
}
|
|
30484
30505
|
class O$9 extends I$4 {
|
|
30485
30506
|
constructor(t$9, e$8) {
|
|
30486
|
-
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;
|
|
30487
30508
|
const i$9 = this[u$8] !== null ? "r+" : "w";
|
|
30488
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]();
|
|
30489
30510
|
}
|
|
@@ -30510,19 +30531,19 @@ function X() {
|
|
|
30510
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]());
|
|
30511
30532
|
}
|
|
30512
30533
|
end(t$9, e$8) {
|
|
30513
|
-
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;
|
|
30514
30535
|
}
|
|
30515
30536
|
write(t$9, e$8) {
|
|
30516
|
-
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);
|
|
30517
30538
|
}
|
|
30518
30539
|
[C$5](t$9) {
|
|
30519
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));
|
|
30520
30541
|
}
|
|
30521
30542
|
[_$7](t$9, e$8) {
|
|
30522
|
-
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"))));
|
|
30523
30544
|
}
|
|
30524
30545
|
[x$5]() {
|
|
30525
|
-
if (this[n$6].length === 0) this[g$
|
|
30546
|
+
if (this[n$6].length === 0) this[g$5] && this[_$7](null, 0);
|
|
30526
30547
|
else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
|
|
30527
30548
|
else {
|
|
30528
30549
|
const t$9 = this[n$6];
|
|
@@ -30565,7 +30586,7 @@ function X() {
|
|
|
30565
30586
|
}
|
|
30566
30587
|
}
|
|
30567
30588
|
}
|
|
30568
|
-
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;
|
|
30569
30590
|
}
|
|
30570
30591
|
var r$1 = { exports: {} };
|
|
30571
30592
|
var i$2, m$2;
|
|
@@ -30798,7 +30819,7 @@ var R$2;
|
|
|
30798
30819
|
function H() {
|
|
30799
30820
|
if (R$2) return r$1.exports;
|
|
30800
30821
|
R$2 = 1;
|
|
30801
|
-
const g$
|
|
30822
|
+
const g$5 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
|
|
30802
30823
|
class D$4 extends Error {
|
|
30803
30824
|
constructor(e$8, s$9) {
|
|
30804
30825
|
super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
|
|
@@ -30827,7 +30848,7 @@ function H() {
|
|
|
30827
30848
|
};
|
|
30828
30849
|
if (h$6 && v$5(h$6, n$6) === true) return w$7();
|
|
30829
30850
|
if (n$6 === d$5) return I$4(n$6, w$7);
|
|
30830
|
-
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);
|
|
30831
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);
|
|
30832
30853
|
};
|
|
30833
30854
|
const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
|
|
@@ -30865,7 +30886,7 @@ function H() {
|
|
|
30865
30886
|
};
|
|
30866
30887
|
if (m$5 && v$5(m$5, n$6) === true) return d$5();
|
|
30867
30888
|
if (n$6 === h$6) return L$5(h$6), d$5();
|
|
30868
|
-
if (a$13) return d$5(g$
|
|
30889
|
+
if (a$13) return d$5(g$5.sync(n$6, r$4));
|
|
30869
30890
|
const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
|
|
30870
30891
|
let S$7 = null;
|
|
30871
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 {
|
|
@@ -30918,7 +30939,7 @@ var u$1, f$1;
|
|
|
30918
30939
|
function z() {
|
|
30919
30940
|
if (f$1) return u$1;
|
|
30920
30941
|
f$1 = 1;
|
|
30921
|
-
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";
|
|
30922
30943
|
return u$1 = () => {
|
|
30923
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) => {
|
|
30924
30945
|
const s$9 = c$8.get(e$8);
|
|
@@ -30944,7 +30965,7 @@ function z() {
|
|
|
30944
30965
|
return {
|
|
30945
30966
|
check: h$6,
|
|
30946
30967
|
reserve: (e$8, s$9) => {
|
|
30947
|
-
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());
|
|
30948
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)));
|
|
30949
30970
|
return c$8.set(s$9, {
|
|
30950
30971
|
dirs: o$7,
|
|
@@ -30985,7 +31006,7 @@ var G, y;
|
|
|
30985
31006
|
function Os() {
|
|
30986
31007
|
if (y) return G;
|
|
30987
31008
|
y = 1;
|
|
30988
|
-
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) => {
|
|
30989
31010
|
if (!C$5) return r$4.unlink(a$13, s$9);
|
|
30990
31011
|
const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
|
|
30991
31012
|
r$4.rename(a$13, i$9, (e$8) => {
|
|
@@ -31008,8 +31029,8 @@ function Os() {
|
|
|
31008
31029
|
class L$5 extends is {
|
|
31009
31030
|
constructor(s$9) {
|
|
31010
31031
|
if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
|
|
31011
|
-
this[P$
|
|
31012
|
-
}, 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") {
|
|
31013
31034
|
if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
|
|
31014
31035
|
if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
31015
31036
|
this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
|
|
@@ -31020,7 +31041,7 @@ function Os() {
|
|
|
31020
31041
|
return (s$9 === "TAR_BAD_ARCHIVE" || s$9 === "TAR_ABORT") && (e$8.recoverable = false), super.warn(s$9, i$9, e$8);
|
|
31021
31042
|
}
|
|
31022
31043
|
[A$2]() {
|
|
31023
|
-
this[P$
|
|
31044
|
+
this[P$6] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
|
|
31024
31045
|
}
|
|
31025
31046
|
[j$6](s$9) {
|
|
31026
31047
|
const i$9 = l$3(s$9.path), e$8 = i$9.split("/");
|
|
@@ -31200,7 +31221,7 @@ function Os() {
|
|
|
31200
31221
|
this[m$5](h$6, s$9), e$8();
|
|
31201
31222
|
return;
|
|
31202
31223
|
}
|
|
31203
|
-
this[g$
|
|
31224
|
+
this[g$5] = true, o$7();
|
|
31204
31225
|
});
|
|
31205
31226
|
}, o$7 = () => {
|
|
31206
31227
|
if (s$9.absolute !== this.cwd) {
|
|
@@ -31232,7 +31253,7 @@ function Os() {
|
|
|
31232
31253
|
as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
|
|
31233
31254
|
});
|
|
31234
31255
|
};
|
|
31235
|
-
this[g$
|
|
31256
|
+
this[g$5] ? o$7() : t$9();
|
|
31236
31257
|
}
|
|
31237
31258
|
[d$5](s$9, i$9, e$8) {
|
|
31238
31259
|
if (s$9) {
|
|
@@ -31267,10 +31288,10 @@ function Os() {
|
|
|
31267
31288
|
return super[d$5](s$9, i$9, () => {});
|
|
31268
31289
|
}
|
|
31269
31290
|
[q$6](s$9) {
|
|
31270
|
-
if (this[v$5](s$9), !this[g$
|
|
31291
|
+
if (this[v$5](s$9), !this[g$5]) {
|
|
31271
31292
|
const o$7 = this[b$11](this.cwd, this.dmode);
|
|
31272
31293
|
if (o$7) return this[m$5](o$7, s$9);
|
|
31273
|
-
this[g$
|
|
31294
|
+
this[g$5] = true;
|
|
31274
31295
|
}
|
|
31275
31296
|
if (s$9.absolute !== this.cwd) {
|
|
31276
31297
|
const o$7 = l$3(w$7.dirname(s$9.absolute));
|
|
@@ -44492,7 +44513,7 @@ function typesPlugin(_fork) {
|
|
|
44492
44513
|
return type;
|
|
44493
44514
|
}
|
|
44494
44515
|
const isString$2 = defBuiltInType("string", "truthy");
|
|
44495
|
-
const isFunction$
|
|
44516
|
+
const isFunction$5 = defBuiltInType("function", function() {});
|
|
44496
44517
|
const isArray$4$1 = defBuiltInType("array", []);
|
|
44497
44518
|
const isObject$4$1 = defBuiltInType("object", {});
|
|
44498
44519
|
const isRegExp = defBuiltInType("RegExp", /./);
|
|
@@ -44503,7 +44524,7 @@ function typesPlugin(_fork) {
|
|
|
44503
44524
|
const isUndefined = defBuiltInType("undefined", void 0);
|
|
44504
44525
|
const builtInTypes$1 = {
|
|
44505
44526
|
string: isString$2,
|
|
44506
|
-
function: isFunction$
|
|
44527
|
+
function: isFunction$5,
|
|
44507
44528
|
array: isArray$4$1,
|
|
44508
44529
|
object: isObject$4$1,
|
|
44509
44530
|
RegExp: isRegExp,
|
|
@@ -44662,7 +44683,7 @@ function typesPlugin(_fork) {
|
|
|
44662
44683
|
var old = nodePrototype[name];
|
|
44663
44684
|
if (isUndefined.check(func)) delete nodePrototype[name];
|
|
44664
44685
|
else {
|
|
44665
|
-
isFunction$
|
|
44686
|
+
isFunction$5.assert(func);
|
|
44666
44687
|
Object.defineProperty(nodePrototype, name, {
|
|
44667
44688
|
enumerable: true,
|
|
44668
44689
|
configurable: true,
|
|
@@ -45447,7 +45468,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45447
45468
|
var NodePath$1 = fork.use(nodePathPlugin);
|
|
45448
45469
|
var isArray$4$1 = types$1.builtInTypes.array;
|
|
45449
45470
|
var isObject$4$1 = types$1.builtInTypes.object;
|
|
45450
|
-
var isFunction$
|
|
45471
|
+
var isFunction$5 = types$1.builtInTypes.function;
|
|
45451
45472
|
var undefined$1;
|
|
45452
45473
|
const PathVisitor$1 = function PathVisitor$2() {
|
|
45453
45474
|
if (!(this instanceof PathVisitor$2)) throw new Error("PathVisitor constructor cannot be invoked without 'new'");
|
|
@@ -45468,7 +45489,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45468
45489
|
for (var i$9 = 0; i$9 < typeNameCount; ++i$9) {
|
|
45469
45490
|
var typeName = typeNameKeys[i$9];
|
|
45470
45491
|
methodName = "visit" + supertypeTable[typeName];
|
|
45471
|
-
if (isFunction$
|
|
45492
|
+
if (isFunction$5.check(visitor[methodName])) methodNameTable[typeName] = methodName;
|
|
45472
45493
|
}
|
|
45473
45494
|
return methodNameTable;
|
|
45474
45495
|
}
|
|
@@ -45483,8 +45504,8 @@ function pathVisitorPlugin(fork) {
|
|
|
45483
45504
|
Vp.constructor = Visitor;
|
|
45484
45505
|
extend(Vp, methods);
|
|
45485
45506
|
extend(Visitor, PathVisitor$1);
|
|
45486
|
-
isFunction$
|
|
45487
|
-
isFunction$
|
|
45507
|
+
isFunction$5.assert(Visitor.fromMethodsObject);
|
|
45508
|
+
isFunction$5.assert(Visitor.visit);
|
|
45488
45509
|
return new Visitor();
|
|
45489
45510
|
};
|
|
45490
45511
|
function extend(target, source) {
|
|
@@ -52664,6 +52685,30 @@ export default withNuxt(
|
|
|
52664
52685
|
`;
|
|
52665
52686
|
}
|
|
52666
52687
|
|
|
52688
|
+
//#endregion
|
|
52689
|
+
//#region ../shared/src/utils/magicast.ts
|
|
52690
|
+
/**
|
|
52691
|
+
* Adds a statement to a function body using AST manipulation.
|
|
52692
|
+
* magicast's $body.push() doesn't work for function-expression types,
|
|
52693
|
+
* so we need to manipulate the AST directly.
|
|
52694
|
+
*/
|
|
52695
|
+
function addStatementToFunctionBody(fn$1, statement) {
|
|
52696
|
+
if (!fn$1 || !fn$1.$ast?.body?.body) return false;
|
|
52697
|
+
const newStatement = {
|
|
52698
|
+
type: "ExpressionStatement",
|
|
52699
|
+
expression: parseExpression(statement).$ast,
|
|
52700
|
+
loc: null
|
|
52701
|
+
};
|
|
52702
|
+
fn$1.$ast.body.body.push(newStatement);
|
|
52703
|
+
return true;
|
|
52704
|
+
}
|
|
52705
|
+
/**
|
|
52706
|
+
* Checks if the export is a function (either 'function' or 'function-expression')
|
|
52707
|
+
*/
|
|
52708
|
+
function isFunction(fn$1) {
|
|
52709
|
+
return fn$1 && (fn$1.$type === "function" || fn$1.$type === "function-expression");
|
|
52710
|
+
}
|
|
52711
|
+
|
|
52667
52712
|
//#endregion
|
|
52668
52713
|
//#region ../shared/src/features/i18n.ts
|
|
52669
52714
|
const i18n$1 = {
|
|
@@ -52697,7 +52742,7 @@ const i18n$1 = {
|
|
|
52697
52742
|
local: "i18n"
|
|
52698
52743
|
});
|
|
52699
52744
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52700
|
-
if (registerPlugins
|
|
52745
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(i18n)");
|
|
52701
52746
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52702
52747
|
}
|
|
52703
52748
|
}
|
|
@@ -52744,21 +52789,7 @@ function getNuxtI18nConfig(_ts) {
|
|
|
52744
52789
|
}
|
|
52745
52790
|
|
|
52746
52791
|
//#endregion
|
|
52747
|
-
//#region ../shared/src/
|
|
52748
|
-
const mcp = {
|
|
52749
|
-
name: "mcp",
|
|
52750
|
-
apply: async ({ cwd: cwd$2, pkg }) => {
|
|
52751
|
-
pkg.devDependencies = pkg.devDependencies || {};
|
|
52752
|
-
pkg.devDependencies["@intellectronica/ruler"] = dependencies["@intellectronica/ruler"];
|
|
52753
|
-
pkg.scripts = pkg.scripts || {};
|
|
52754
|
-
pkg.scripts["mcp"] = "ruler apply";
|
|
52755
|
-
pkg.scripts["mcp:revert"] = "ruler revert";
|
|
52756
|
-
const rulerDir = join(cwd$2, ".ruler");
|
|
52757
|
-
await mkdir(rulerDir, { recursive: true });
|
|
52758
|
-
await writeFile(join(rulerDir, "ruler.toml"), getRulerToml());
|
|
52759
|
-
await writeFile(join(rulerDir, "AGENTS.md"), getAgentsMd());
|
|
52760
|
-
}
|
|
52761
|
-
};
|
|
52792
|
+
//#region ../shared/src/utils/mcp.ts
|
|
52762
52793
|
function getRulerToml() {
|
|
52763
52794
|
return `# For a complete example, see: https://okigu.com/ruler#complete-example
|
|
52764
52795
|
|
|
@@ -52781,6 +52812,23 @@ function getAgentsMd() {
|
|
|
52781
52812
|
`;
|
|
52782
52813
|
}
|
|
52783
52814
|
|
|
52815
|
+
//#endregion
|
|
52816
|
+
//#region ../shared/src/features/mcp.ts
|
|
52817
|
+
const mcp = {
|
|
52818
|
+
name: "mcp",
|
|
52819
|
+
apply: async ({ cwd: cwd$2, pkg }) => {
|
|
52820
|
+
pkg.devDependencies = pkg.devDependencies || {};
|
|
52821
|
+
pkg.devDependencies["@intellectronica/ruler"] = dependencies["@intellectronica/ruler"];
|
|
52822
|
+
pkg.scripts = pkg.scripts || {};
|
|
52823
|
+
pkg.scripts["mcp"] = "ruler apply";
|
|
52824
|
+
pkg.scripts["mcp:revert"] = "ruler revert";
|
|
52825
|
+
const rulerDir = join(cwd$2, ".ruler");
|
|
52826
|
+
await mkdir(rulerDir, { recursive: true });
|
|
52827
|
+
await writeFile(join(rulerDir, "ruler.toml"), getRulerToml());
|
|
52828
|
+
await writeFile(join(rulerDir, "AGENTS.md"), getAgentsMd());
|
|
52829
|
+
}
|
|
52830
|
+
};
|
|
52831
|
+
|
|
52784
52832
|
//#endregion
|
|
52785
52833
|
//#region ../shared/src/features/pinia.ts
|
|
52786
52834
|
const pinia = {
|
|
@@ -52815,7 +52863,7 @@ const pinia = {
|
|
|
52815
52863
|
imported: "createPinia"
|
|
52816
52864
|
});
|
|
52817
52865
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52818
|
-
if (registerPlugins
|
|
52866
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(createPinia())");
|
|
52819
52867
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52820
52868
|
}
|
|
52821
52869
|
}
|
|
@@ -52834,8 +52882,8 @@ export const useAppStore = defineStore('app', {
|
|
|
52834
52882
|
|
|
52835
52883
|
//#endregion
|
|
52836
52884
|
//#region ../shared/src/utils/installFeature.ts
|
|
52837
|
-
async function installFeature(feature, cwd$2) {
|
|
52838
|
-
const templateName =
|
|
52885
|
+
async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
52886
|
+
const templateName = `${type === "vuetify0" ? "vuetify0" : "vue"}/${feature}`;
|
|
52839
52887
|
if (process.env.VUETIFY_CLI_TEMPLATES_PATH) {
|
|
52840
52888
|
const templatePath = join(process.env.VUETIFY_CLI_TEMPLATES_PATH, templateName);
|
|
52841
52889
|
if (existsSync(templatePath)) cpSync(templatePath, cwd$2, { recursive: true });
|
|
@@ -52857,8 +52905,8 @@ async function installFeature(feature, cwd$2) {
|
|
|
52857
52905
|
//#region ../shared/src/features/router.ts
|
|
52858
52906
|
const router = {
|
|
52859
52907
|
name: "router",
|
|
52860
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52861
|
-
await installFeature("router", cwd$2);
|
|
52908
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52909
|
+
await installFeature("router", cwd$2, type);
|
|
52862
52910
|
const ext = isTypescript ? "ts" : "js";
|
|
52863
52911
|
pkg.dependencies = pkg.dependencies || {};
|
|
52864
52912
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52873,14 +52921,14 @@ const router = {
|
|
|
52873
52921
|
local: "router"
|
|
52874
52922
|
});
|
|
52875
52923
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52876
|
-
if (registerPlugins
|
|
52924
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52877
52925
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52878
52926
|
}
|
|
52879
52927
|
};
|
|
52880
52928
|
const fileRouter = {
|
|
52881
52929
|
name: "file-router",
|
|
52882
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52883
|
-
await installFeature("file-router", cwd$2);
|
|
52930
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52931
|
+
await installFeature("file-router", cwd$2, type);
|
|
52884
52932
|
const ext = isTypescript ? "ts" : "js";
|
|
52885
52933
|
pkg.dependencies = pkg.dependencies || {};
|
|
52886
52934
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52897,7 +52945,7 @@ const fileRouter = {
|
|
|
52897
52945
|
local: "router"
|
|
52898
52946
|
});
|
|
52899
52947
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52900
|
-
if (registerPlugins
|
|
52948
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52901
52949
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52902
52950
|
const viteConfigPath = join(cwd$2, `vite.config.m${ext}`);
|
|
52903
52951
|
if (existsSync(viteConfigPath)) {
|
|
@@ -52925,7 +52973,7 @@ import { createRouter, createWebHistory } from 'vue-router'
|
|
|
52925
52973
|
import Index from '@/pages/index.vue'
|
|
52926
52974
|
|
|
52927
52975
|
const router = createRouter({
|
|
52928
|
-
history: createWebHistory(
|
|
52976
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
52929
52977
|
routes: [
|
|
52930
52978
|
{
|
|
52931
52979
|
path: '/',
|
|
@@ -52945,10 +52993,12 @@ function getFileRouterContent(ts) {
|
|
|
52945
52993
|
*/
|
|
52946
52994
|
|
|
52947
52995
|
// Composables
|
|
52948
|
-
import { createRouter, createWebHistory } from 'vue-router
|
|
52996
|
+
import { createRouter, createWebHistory } from 'vue-router'
|
|
52997
|
+
import { routes } from 'vue-router/auto-routes'
|
|
52949
52998
|
|
|
52950
52999
|
const router = createRouter({
|
|
52951
|
-
history: createWebHistory(
|
|
53000
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
53001
|
+
routes,
|
|
52952
53002
|
})
|
|
52953
53003
|
|
|
52954
53004
|
export default router
|
|
@@ -52998,14 +53048,15 @@ const features = {
|
|
|
52998
53048
|
mcp,
|
|
52999
53049
|
"vuetify-nuxt-module": vuetifyNuxtModule
|
|
53000
53050
|
};
|
|
53001
|
-
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints) {
|
|
53051
|
+
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints, type) {
|
|
53002
53052
|
for (const name of featureNames) {
|
|
53003
53053
|
const feature = features[name];
|
|
53004
53054
|
if (feature) await feature.apply({
|
|
53005
53055
|
cwd: cwd$2,
|
|
53006
53056
|
pkg,
|
|
53007
53057
|
isTypescript,
|
|
53008
|
-
clientHints
|
|
53058
|
+
clientHints,
|
|
53059
|
+
type
|
|
53009
53060
|
});
|
|
53010
53061
|
}
|
|
53011
53062
|
}
|
|
@@ -53212,7 +53263,7 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
53212
53263
|
let pkg;
|
|
53213
53264
|
pkg = await readPackageJSON(join(projectRoot, "package.json"));
|
|
53214
53265
|
callbacks.onConfigStart?.();
|
|
53215
|
-
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints);
|
|
53266
|
+
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints, type);
|
|
53216
53267
|
if (platform$2 === "nuxt" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53217
53268
|
cwd: projectRoot,
|
|
53218
53269
|
pkg,
|
|
@@ -53354,7 +53405,7 @@ function isInsideContainer() {
|
|
|
53354
53405
|
//#endregion
|
|
53355
53406
|
//#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
|
|
53356
53407
|
const isWsl = () => {
|
|
53357
|
-
if (
|
|
53408
|
+
if (g$1.platform !== "linux") return false;
|
|
53358
53409
|
if (os.release().toLowerCase().includes("microsoft")) {
|
|
53359
53410
|
if (isInsideContainer()) return false;
|
|
53360
53411
|
return true;
|
|
@@ -53365,12 +53416,12 @@ const isWsl = () => {
|
|
|
53365
53416
|
return false;
|
|
53366
53417
|
}
|
|
53367
53418
|
};
|
|
53368
|
-
var is_wsl_default =
|
|
53419
|
+
var is_wsl_default = g$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
53369
53420
|
|
|
53370
53421
|
//#endregion
|
|
53371
53422
|
//#region ../../node_modules/.pnpm/powershell-utils@0.1.0/node_modules/powershell-utils/index.js
|
|
53372
53423
|
const execFile$2 = promisify(childProcess.execFile);
|
|
53373
|
-
const powerShellPath$1 = () => `${
|
|
53424
|
+
const powerShellPath$1 = () => `${g$1.env.SYSTEMROOT || g$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
53374
53425
|
const executePowerShell = async (command, options$1 = {}) => {
|
|
53375
53426
|
const { powerShellPath: psPath, ...execFileOptions } = options$1;
|
|
53376
53427
|
const encodedCommand = executePowerShell.encodeCommand(command);
|
|
@@ -53471,7 +53522,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
53471
53522
|
//#region ../../node_modules/.pnpm/default-browser-id@5.0.0/node_modules/default-browser-id/index.js
|
|
53472
53523
|
const execFileAsync$3 = promisify(execFile);
|
|
53473
53524
|
async function defaultBrowserId() {
|
|
53474
|
-
if (
|
|
53525
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53475
53526
|
const { stdout: stdout$1 } = await execFileAsync$3("defaults", [
|
|
53476
53527
|
"read",
|
|
53477
53528
|
"com.apple.LaunchServices/com.apple.launchservices.secure",
|
|
@@ -53484,7 +53535,7 @@ async function defaultBrowserId() {
|
|
|
53484
53535
|
//#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
53485
53536
|
const execFileAsync$2 = promisify(execFile);
|
|
53486
53537
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
53487
|
-
if (
|
|
53538
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53488
53539
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
53489
53540
|
const execOptions = {};
|
|
53490
53541
|
if (signal) execOptions.signal = signal;
|
|
@@ -53593,14 +53644,14 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
|
|
|
53593
53644
|
const execFileAsync = promisify(execFile);
|
|
53594
53645
|
const titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x$5) => x$5.toUpperCase());
|
|
53595
53646
|
async function defaultBrowser() {
|
|
53596
|
-
if (
|
|
53647
|
+
if (g$1.platform === "darwin") {
|
|
53597
53648
|
const id = await defaultBrowserId();
|
|
53598
53649
|
return {
|
|
53599
53650
|
name: await bundleName(id),
|
|
53600
53651
|
id
|
|
53601
53652
|
};
|
|
53602
53653
|
}
|
|
53603
|
-
if (
|
|
53654
|
+
if (g$1.platform === "linux") {
|
|
53604
53655
|
const { stdout: stdout$1 } = await execFileAsync("xdg-mime", [
|
|
53605
53656
|
"query",
|
|
53606
53657
|
"default",
|
|
@@ -53612,13 +53663,13 @@ async function defaultBrowser() {
|
|
|
53612
53663
|
id
|
|
53613
53664
|
};
|
|
53614
53665
|
}
|
|
53615
|
-
if (
|
|
53666
|
+
if (g$1.platform === "win32") return defaultBrowser$1();
|
|
53616
53667
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
53617
53668
|
}
|
|
53618
53669
|
|
|
53619
53670
|
//#endregion
|
|
53620
53671
|
//#region ../../node_modules/.pnpm/is-in-ssh@1.0.0/node_modules/is-in-ssh/index.js
|
|
53621
|
-
const isInSsh = Boolean(
|
|
53672
|
+
const isInSsh = Boolean(g$1.env.SSH_CONNECTION || g$1.env.SSH_CLIENT || g$1.env.SSH_TTY);
|
|
53622
53673
|
var is_in_ssh_default = isInSsh;
|
|
53623
53674
|
|
|
53624
53675
|
//#endregion
|
|
@@ -53626,7 +53677,7 @@ var is_in_ssh_default = isInSsh;
|
|
|
53626
53677
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
53627
53678
|
const __dirname$1 = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
53628
53679
|
const localXdgOpenPath = path.join(__dirname$1, "xdg-open");
|
|
53629
|
-
const { platform, arch } =
|
|
53680
|
+
const { platform, arch } = g$1;
|
|
53630
53681
|
const tryEachApp = async (apps$1, opener) => {
|
|
53631
53682
|
if (apps$1.length === 0) return;
|
|
53632
53683
|
const errors$1 = [];
|
|
@@ -53739,7 +53790,7 @@ const baseOpen = async (options$1) => {
|
|
|
53739
53790
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
53740
53791
|
exeLocalXdgOpen = true;
|
|
53741
53792
|
} catch {}
|
|
53742
|
-
command =
|
|
53793
|
+
command = g$1.versions.electron ?? (platform === "android" || isBundled || !exeLocalXdgOpen) ? "xdg-open" : localXdgOpenPath;
|
|
53743
53794
|
}
|
|
53744
53795
|
if (appArguments.length > 0) cliArguments.push(...appArguments);
|
|
53745
53796
|
if (!options$1.wait) {
|
|
@@ -53931,15 +53982,11 @@ const LINKS = {
|
|
|
53931
53982
|
[ESLINT_CONFIG]: link(ESLINT_CONFIG, "https://npmjs.org/package/eslint-config-vuetify"),
|
|
53932
53983
|
[NUXT_ESLINT]: link(NUXT_ESLINT, "https://npmjs.org/package/@nuxt/eslint")
|
|
53933
53984
|
};
|
|
53934
|
-
const configData = `import vuetify from 'eslint-config-vuetify'
|
|
53935
|
-
|
|
53936
|
-
export default vuetify()
|
|
53937
|
-
`;
|
|
53938
53985
|
|
|
53939
53986
|
//#endregion
|
|
53940
53987
|
//#region ../shared/src/functions/eslint.ts
|
|
53941
|
-
const blue$
|
|
53942
|
-
const description = i18n.t("commands.eslint.description", { configPkg: blue$
|
|
53988
|
+
const blue$2 = ansi256(33);
|
|
53989
|
+
const description$1 = i18n.t("commands.eslint.description", { configPkg: blue$2(ESLINT_CONFIG) });
|
|
53943
53990
|
async function getEslintStatus() {
|
|
53944
53991
|
const nuxtConfigUrl = tryResolveFilePath("./nuxt.config", { extensions: [
|
|
53945
53992
|
".ts",
|
|
@@ -54002,10 +54049,10 @@ function getActionMessage(status) {
|
|
|
54002
54049
|
return i18n.t("commands.eslint.need_to", { actions: actions.join(" ") });
|
|
54003
54050
|
}
|
|
54004
54051
|
async function addEslint() {
|
|
54005
|
-
Nt(description);
|
|
54052
|
+
Nt(description$1);
|
|
54006
54053
|
const status = await getEslintStatus();
|
|
54007
54054
|
const { packagesToInstall, packagesToUpgrade, isEslintSupportsConcurrency, isNuxt, nuxtConfigUrl } = status;
|
|
54008
|
-
tryResolveFilePath("tsconfig.json");
|
|
54055
|
+
const isTypescript = !!tryResolveFilePath("tsconfig.json");
|
|
54009
54056
|
const configUrl = tryResolveFilePath("./eslint.config", { extensions: [
|
|
54010
54057
|
".js",
|
|
54011
54058
|
".mjs",
|
|
@@ -54042,6 +54089,7 @@ async function addEslint() {
|
|
|
54042
54089
|
let overwriteConfig = false;
|
|
54043
54090
|
overwriteConfig = await (configUrl ? Mt({ message: i18n.t("prompts.eslint.overwrite", { file: underline(relative(process.cwd(), configUrl)) }) }) : Mt({ message: i18n.t("prompts.eslint.create") }));
|
|
54044
54091
|
if (overwriteConfig === true) {
|
|
54092
|
+
const configData = isNuxt ? getNuxtEslintContent(isTypescript) : getVueEslintContent(isTypescript);
|
|
54045
54093
|
const s$9 = Se();
|
|
54046
54094
|
s$9.start(i18n.t("spinners.eslint.setup_config"));
|
|
54047
54095
|
await writeFile(configUrl ?? "eslint.config.mjs", configData);
|
|
@@ -54058,6 +54106,45 @@ async function addEslint() {
|
|
|
54058
54106
|
Wt(i18n.t("messages.all_done"));
|
|
54059
54107
|
}
|
|
54060
54108
|
|
|
54109
|
+
//#endregion
|
|
54110
|
+
//#region ../shared/src/functions/mcp.ts
|
|
54111
|
+
const RULER_PKG = "@intellectronica/ruler";
|
|
54112
|
+
const blue$1 = ansi256(33);
|
|
54113
|
+
const description = i18n.t("commands.mcp.description", { pkg: blue$1(RULER_PKG) });
|
|
54114
|
+
async function addMcp() {
|
|
54115
|
+
Nt(description);
|
|
54116
|
+
if (await tryResolvePackage(RULER_PKG)) R.info(i18n.t("messages.eslint.deps_already_installed"));
|
|
54117
|
+
else {
|
|
54118
|
+
R.info(i18n.t("commands.mcp.need_to", { action: i18n.t("commands.mcp.action.install", { pkg: RULER_PKG }) }));
|
|
54119
|
+
if (await Mt({ message: i18n.t("prompts.proceed") }) === true) {
|
|
54120
|
+
const s$9 = Se();
|
|
54121
|
+
s$9.start(i18n.t("spinners.dependencies.installing"));
|
|
54122
|
+
await addDevDependency(RULER_PKG, { silent: true });
|
|
54123
|
+
s$9.stop(i18n.t("spinners.dependencies.installed"));
|
|
54124
|
+
}
|
|
54125
|
+
}
|
|
54126
|
+
const rulerDir = join(process.cwd(), ".ruler");
|
|
54127
|
+
const rulerTomlPath = join(rulerDir, "ruler.toml");
|
|
54128
|
+
const agentsMdPath = join(rulerDir, "AGENTS.md");
|
|
54129
|
+
if (await Mt({ message: existsSync(rulerDir) && existsSync(rulerTomlPath) && existsSync(agentsMdPath) ? i18n.t("prompts.mcp.overwrite", { file: ".ruler" }) : i18n.t("prompts.mcp.create") }) === true) {
|
|
54130
|
+
const s$9 = Se();
|
|
54131
|
+
s$9.start(i18n.t("spinners.mcp.setup_config"));
|
|
54132
|
+
await mkdir(rulerDir, { recursive: true });
|
|
54133
|
+
await writeFile(rulerTomlPath, getRulerToml());
|
|
54134
|
+
await writeFile(agentsMdPath, getAgentsMd());
|
|
54135
|
+
s$9.stop(i18n.t("spinners.mcp.complete"));
|
|
54136
|
+
}
|
|
54137
|
+
const filename = await findPackage();
|
|
54138
|
+
const packageJson = await readPackage(filename);
|
|
54139
|
+
if ((packageJson.scripts?.mcp && packageJson.scripts?.["mcp:revert"] ? false : await Mt({ message: i18n.t("prompts.mcp.scripts") })) === true) updatePackage(filename, (pkg) => {
|
|
54140
|
+
pkg.scripts ??= {};
|
|
54141
|
+
pkg.scripts["mcp"] = "ruler apply";
|
|
54142
|
+
pkg.scripts["mcp:revert"] = "ruler revert";
|
|
54143
|
+
return pkg;
|
|
54144
|
+
});
|
|
54145
|
+
Wt(i18n.t("messages.all_done"));
|
|
54146
|
+
}
|
|
54147
|
+
|
|
54061
54148
|
//#endregion
|
|
54062
54149
|
//#region ../../node_modules/.pnpm/ini@4.1.1/node_modules/ini/lib/ini.js
|
|
54063
54150
|
var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4.1.1/node_modules/ini/lib/ini.js": ((exports, module) => {
|
|
@@ -54219,51 +54306,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
|
|
|
54219
54306
|
//#endregion
|
|
54220
54307
|
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
54221
54308
|
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
54222
|
-
const isWindows =
|
|
54309
|
+
const isWindows = g$1.platform === "win32";
|
|
54223
54310
|
const readRc = (filePath) => {
|
|
54224
54311
|
try {
|
|
54225
54312
|
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
54226
54313
|
} catch {}
|
|
54227
54314
|
};
|
|
54228
|
-
const getEnvNpmPrefix = () => Object.keys(
|
|
54315
|
+
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);
|
|
54229
54316
|
const getGlobalNpmrc = () => {
|
|
54230
|
-
if (isWindows &&
|
|
54231
|
-
if (
|
|
54232
|
-
const homebrewPrefix =
|
|
54317
|
+
if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
|
|
54318
|
+
if (g$1.execPath.includes("/Cellar/node")) {
|
|
54319
|
+
const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
|
|
54233
54320
|
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
54234
54321
|
}
|
|
54235
|
-
if (
|
|
54236
|
-
const installDir = path.dirname(path.dirname(
|
|
54322
|
+
if (g$1.execPath.endsWith("/bin/node")) {
|
|
54323
|
+
const installDir = path.dirname(path.dirname(g$1.execPath));
|
|
54237
54324
|
return path.join(installDir, "/etc/npmrc");
|
|
54238
54325
|
}
|
|
54239
54326
|
};
|
|
54240
54327
|
const getDefaultNpmPrefix = () => {
|
|
54241
54328
|
if (isWindows) {
|
|
54242
|
-
const { APPDATA } =
|
|
54243
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(
|
|
54329
|
+
const { APPDATA } = g$1.env;
|
|
54330
|
+
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
|
|
54244
54331
|
}
|
|
54245
|
-
return path.dirname(path.dirname(
|
|
54332
|
+
return path.dirname(path.dirname(g$1.execPath));
|
|
54246
54333
|
};
|
|
54247
54334
|
const getNpmPrefix = () => {
|
|
54248
54335
|
const envPrefix = getEnvNpmPrefix();
|
|
54249
54336
|
if (envPrefix) return envPrefix;
|
|
54250
54337
|
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
54251
54338
|
if (homePrefix) return homePrefix;
|
|
54252
|
-
if (
|
|
54339
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54253
54340
|
const globalPrefix = readRc(getGlobalNpmrc());
|
|
54254
54341
|
if (globalPrefix) return globalPrefix;
|
|
54255
54342
|
return getDefaultNpmPrefix();
|
|
54256
54343
|
};
|
|
54257
54344
|
const npmPrefix = path.resolve(getNpmPrefix());
|
|
54258
54345
|
const getYarnWindowsDirectory = () => {
|
|
54259
|
-
if (isWindows &&
|
|
54260
|
-
const dir = path.join(
|
|
54346
|
+
if (isWindows && g$1.env.LOCALAPPDATA) {
|
|
54347
|
+
const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
|
|
54261
54348
|
if (fs.existsSync(dir)) return dir;
|
|
54262
54349
|
}
|
|
54263
54350
|
return false;
|
|
54264
54351
|
};
|
|
54265
54352
|
const getYarnPrefix = () => {
|
|
54266
|
-
if (
|
|
54353
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54267
54354
|
const windowsPrefix = getYarnWindowsDirectory();
|
|
54268
54355
|
if (windowsPrefix) return windowsPrefix;
|
|
54269
54356
|
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
@@ -54326,7 +54413,7 @@ async function upgradeSelf(pkgName) {
|
|
|
54326
54413
|
|
|
54327
54414
|
//#endregion
|
|
54328
54415
|
//#region ../shared/src/commands/add.ts
|
|
54329
|
-
const choices = ["eslint"];
|
|
54416
|
+
const choices = ["eslint", "mcp"];
|
|
54330
54417
|
const add = defineCommand({
|
|
54331
54418
|
meta: {
|
|
54332
54419
|
name: "add",
|
|
@@ -54363,6 +54450,9 @@ const add = defineCommand({
|
|
|
54363
54450
|
case "eslint":
|
|
54364
54451
|
await addEslint();
|
|
54365
54452
|
break;
|
|
54453
|
+
case "mcp":
|
|
54454
|
+
await addMcp();
|
|
54455
|
+
break;
|
|
54366
54456
|
}
|
|
54367
54457
|
}
|
|
54368
54458
|
});
|
|
@@ -55965,7 +56055,7 @@ function commandUpgradeFabric(pkgName) {
|
|
|
55965
56055
|
|
|
55966
56056
|
//#endregion
|
|
55967
56057
|
//#region package.json
|
|
55968
|
-
var version = "0.0.
|
|
56058
|
+
var version = "0.0.10-beta.10";
|
|
55969
56059
|
|
|
55970
56060
|
//#endregion
|
|
55971
56061
|
//#region src/commands/docs.ts
|