@vuetify/cli 0.0.9 → 0.0.10-beta.11
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,13 +1,13 @@
|
|
|
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";
|
|
8
8
|
import { ReadStream } from "node:tty";
|
|
9
9
|
import fs, { appendFileSync, cpSync, createWriteStream, existsSync, lstatSync, mkdirSync, mkdtempSync, promises, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
10
|
-
import path, { delimiter, dirname, isAbsolute, join, normalize, resolve, sep } from "node:path";
|
|
10
|
+
import path, { delimiter, dirname, isAbsolute, join, normalize, relative, resolve, sep } from "node:path";
|
|
11
11
|
import { format, formatWithOptions, inspect, promisify, stripVTControlCharacters } from "node:util";
|
|
12
12
|
import fs$1, { constants, mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
13
13
|
import { createRequire as createRequire$1 } from "module";
|
|
@@ -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));
|
|
@@ -8311,7 +8311,8 @@ var en_default = {
|
|
|
8311
8311
|
"project": {
|
|
8312
8312
|
"name": "Project name:",
|
|
8313
8313
|
"invalid": "Invalid project name: %{error}",
|
|
8314
|
-
"overwrite": "The project path: %{path} already exists, would you like to overwrite this directory?"
|
|
8314
|
+
"overwrite": "The project path: %{path} already exists, would you like to overwrite this directory?",
|
|
8315
|
+
"cancel": "Use the different name for the project."
|
|
8315
8316
|
},
|
|
8316
8317
|
"framework": {
|
|
8317
8318
|
"select": "Which framework would you like to use?",
|
|
@@ -8335,30 +8336,24 @@ var en_default = {
|
|
|
8335
8336
|
},
|
|
8336
8337
|
"features": {
|
|
8337
8338
|
"select": "Select features to install: %{hint}",
|
|
8338
|
-
"pinia": {
|
|
8339
|
-
"label": "Pinia",
|
|
8340
|
-
"hint": "Intuitive, type safe and flexible Store for Vue"
|
|
8341
|
-
},
|
|
8339
|
+
"pinia": { "label": "Pinia" },
|
|
8342
8340
|
"eslint": {
|
|
8343
8341
|
"label": "ESLint",
|
|
8344
|
-
"hint": "
|
|
8345
|
-
},
|
|
8346
|
-
"i18n": {
|
|
8347
|
-
"label": "I18n",
|
|
8348
|
-
"hint": "Internationalization support for Vue"
|
|
8342
|
+
"hint": "with eslint-config-vuetify"
|
|
8349
8343
|
},
|
|
8344
|
+
"i18n": { "label": "I18n" },
|
|
8350
8345
|
"vuetify_nuxt_module": {
|
|
8351
8346
|
"label": "Vuetify Nuxt Module",
|
|
8352
8347
|
"hint": "Use vuetify-nuxt-module instead of local plugin"
|
|
8353
8348
|
},
|
|
8354
8349
|
"mcp": {
|
|
8355
8350
|
"label": "MCP",
|
|
8356
|
-
"hint": "
|
|
8351
|
+
"hint": "with @vuetify/mcp and @intellectronica/ruler"
|
|
8357
8352
|
}
|
|
8358
8353
|
},
|
|
8359
8354
|
"client_hints": { "enable": "Enable Client Hints? (Requires SSR)" },
|
|
8360
8355
|
"package_manager": { "select": "Which package manager would you like to use?" },
|
|
8361
|
-
"cancel": "
|
|
8356
|
+
"cancel": "Setup cancelled. You can run this command again anytime."
|
|
8362
8357
|
},
|
|
8363
8358
|
spinners: {
|
|
8364
8359
|
"template": {
|
|
@@ -8512,7 +8507,8 @@ var ru_default = {
|
|
|
8512
8507
|
"project": {
|
|
8513
8508
|
"name": "Название проекта:",
|
|
8514
8509
|
"invalid": "Некорректное название проекта: %{error}",
|
|
8515
|
-
"overwrite": "Папка проекта: %{path} уже существует, хотите перезаписать её?"
|
|
8510
|
+
"overwrite": "Папка проекта: %{path} уже существует, хотите перезаписать её?",
|
|
8511
|
+
"cancel": "Используйте другое название для проекта."
|
|
8516
8512
|
},
|
|
8517
8513
|
"framework": {
|
|
8518
8514
|
"select": "Какой фреймворк вы хотите использовать?",
|
|
@@ -8536,29 +8532,23 @@ var ru_default = {
|
|
|
8536
8532
|
},
|
|
8537
8533
|
"features": {
|
|
8538
8534
|
"select": "Выберите функции для установки: %{hint}",
|
|
8539
|
-
"pinia": {
|
|
8540
|
-
"label": "Pinia",
|
|
8541
|
-
"hint": "Интуитивный, типобезопасный и гибкий Store для Vue"
|
|
8542
|
-
},
|
|
8535
|
+
"pinia": { "label": "Pinia" },
|
|
8543
8536
|
"eslint": {
|
|
8544
8537
|
"label": "ESLint",
|
|
8545
|
-
"hint": "
|
|
8546
|
-
},
|
|
8547
|
-
"i18n": {
|
|
8548
|
-
"label": "I18n",
|
|
8549
|
-
"hint": "Поддержка i18n для Vue"
|
|
8538
|
+
"hint": "с eslint-config-vuetify"
|
|
8550
8539
|
},
|
|
8540
|
+
"i18n": { "label": "I18n" },
|
|
8551
8541
|
"vuetify_nuxt_module": {
|
|
8552
8542
|
"label": "Vuetify Nuxt Module",
|
|
8553
8543
|
"hint": "Использовать vuetify-nuxt-module вместо локального плагина"
|
|
8554
8544
|
},
|
|
8555
8545
|
"mcp": {
|
|
8556
8546
|
"label": "MCP",
|
|
8557
|
-
"hint": "
|
|
8547
|
+
"hint": "с @vuetify/mcp и @intellectronica/ruler"
|
|
8558
8548
|
}
|
|
8559
8549
|
},
|
|
8560
8550
|
"package_manager": { "select": "Какой менеджер пакетов вы хотите использовать?" },
|
|
8561
|
-
"cancel": "
|
|
8551
|
+
"cancel": "Создание проекта отменено. Вы можете запустить команду снова в любое время."
|
|
8562
8552
|
},
|
|
8563
8553
|
spinners: {
|
|
8564
8554
|
"template": {
|
|
@@ -8799,11 +8789,11 @@ var require_src = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/siste
|
|
|
8799
8789
|
//#region ../../node_modules/.pnpm/@clack+core@1.0.0-alpha.7/node_modules/@clack/core/dist/index.mjs
|
|
8800
8790
|
var import_picocolors$1 = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
8801
8791
|
var import_src$1 = require_src();
|
|
8802
|
-
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$
|
|
8792
|
+
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$5 = /[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy, L$4 = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, ct = /\p{M}+/gu, Ft$1 = {
|
|
8803
8793
|
limit: Infinity,
|
|
8804
8794
|
ellipsis: ""
|
|
8805
8795
|
}, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
|
|
8806
|
-
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$
|
|
8796
|
+
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, m$5 = s$9.fullWidthWidth ?? 2, A$2 = s$9.regularWidth ?? 1, V$4 = s$9.wideWidth ?? 2;
|
|
8807
8797
|
let h$6 = 0, u$8 = 0, f$7 = t$9.length, v$5 = 0, p$3 = !1, d$5 = f$7, b$11 = Math.max(0, i$9 - n$6), C$5 = 0, B$2 = 0, c$8 = 0, F$6 = 0;
|
|
8808
8798
|
t: for (;;) {
|
|
8809
8799
|
if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
|
|
@@ -8852,12 +8842,12 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8852
8842
|
c$8 += F$6, C$5 = h$6, B$2 = u$8, u$8 = h$6 = M$4.lastIndex;
|
|
8853
8843
|
continue;
|
|
8854
8844
|
}
|
|
8855
|
-
if (P$
|
|
8856
|
-
if (c$8 + g$
|
|
8845
|
+
if (P$5.lastIndex = u$8, P$5.test(t$9)) {
|
|
8846
|
+
if (c$8 + g$5 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$5 > i$9) {
|
|
8857
8847
|
p$3 = !0;
|
|
8858
8848
|
break;
|
|
8859
8849
|
}
|
|
8860
|
-
c$8 += g$
|
|
8850
|
+
c$8 += g$5, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
|
|
8861
8851
|
continue;
|
|
8862
8852
|
}
|
|
8863
8853
|
u$8 += 1;
|
|
@@ -8884,10 +8874,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8884
8874
|
if (t$9 === 0) return 0;
|
|
8885
8875
|
}, st = (t$9) => `${W$4}${Q$3}${t$9}${tt$2}`, it = (t$9) => `${W$4}${U$4}${t$9}${j$5}`, gt$6 = (t$9) => t$9.map((e$8) => S$6(e$8)), G$4 = (t$9, e$8, s$9) => {
|
|
8886
8876
|
const i$9 = e$8[Symbol.iterator]();
|
|
8887
|
-
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$
|
|
8877
|
+
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$5 = 0;
|
|
8888
8878
|
for (; !l$3.done;) {
|
|
8889
8879
|
const m$5 = l$3.value, A$2 = S$6(m$5);
|
|
8890
|
-
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$
|
|
8880
|
+
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$5 + 1)), r$4 ? n$6 ? m$5 === j$5 && (r$4 = !1, n$6 = !1) : m$5 === tt$2 && (r$4 = !1) : (a$13 += A$2, a$13 === s$9 && !E$5.done && (t$9.push(""), a$13 = 0)), l$3 = E$5, E$5 = i$9.next(), g$5 += m$5.length;
|
|
8891
8881
|
}
|
|
8892
8882
|
o$7 = t$9.at(-1), !a$13 && o$7 !== void 0 && o$7.length > 0 && t$9.length > 1 && (t$9[t$9.length - 2] += t$9.pop());
|
|
8893
8883
|
}, vt$1 = (t$9) => {
|
|
@@ -8923,8 +8913,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8923
8913
|
}
|
|
8924
8914
|
s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
|
|
8925
8915
|
const E$5 = l$3.join(`
|
|
8926
|
-
`), g$
|
|
8927
|
-
let m$5 = g$
|
|
8916
|
+
`), g$5 = E$5[Symbol.iterator]();
|
|
8917
|
+
let m$5 = g$5.next(), A$2 = g$5.next(), V$4 = 0;
|
|
8928
8918
|
for (; !m$5.done;) {
|
|
8929
8919
|
const h$6 = m$5.value, u$8 = A$2.value;
|
|
8930
8920
|
if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
|
|
@@ -8938,7 +8928,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8938
8928
|
const f$7 = r$4 ? mt$1(r$4) : void 0;
|
|
8939
8929
|
u$8 === `
|
|
8940
8930
|
` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
|
|
8941
|
-
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$
|
|
8931
|
+
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$5.next();
|
|
8942
8932
|
}
|
|
8943
8933
|
return i$9;
|
|
8944
8934
|
};
|
|
@@ -9017,8 +9007,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
|
|
|
9017
9007
|
return;
|
|
9018
9008
|
}
|
|
9019
9009
|
if (!s$9) return;
|
|
9020
|
-
const g$
|
|
9021
|
-
k$5.moveCursor(e$8, g$
|
|
9010
|
+
const g$5 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
|
|
9011
|
+
k$5.moveCursor(e$8, g$5, m$5, () => {
|
|
9022
9012
|
k$5.clearLine(e$8, 1, () => {
|
|
9023
9013
|
t$9.once("keypress", n$6);
|
|
9024
9014
|
});
|
|
@@ -9457,7 +9447,7 @@ var $t = class extends x$4 {
|
|
|
9457
9447
|
var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
9458
9448
|
var import_src = require_src();
|
|
9459
9449
|
function ht$1() {
|
|
9460
|
-
return
|
|
9450
|
+
return g$1.platform !== "win32" ? g$1.env.TERM !== "linux" : !!g$1.env.CI || !!g$1.env.WT_SESSION || !!g$1.env.TERMINUS_SUBLIME || g$1.env.ConEmuTask === "{cmd::Cmder}" || g$1.env.TERM_PROGRAM === "Terminus-Sublime" || g$1.env.TERM_PROGRAM === "vscode" || g$1.env.TERM === "xterm-256color" || g$1.env.TERM === "alacritty" || g$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
9461
9451
|
}
|
|
9462
9452
|
const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8.isTTY === !0, w$5 = (e$8, r$4) => ee$2 ? e$8 : r$4, Me$1 = w$5("◆", "*"), ce$1 = w$5("■", "x"), de$2 = w$5("▲", "x"), j$4 = w$5("◇", "o"), $e$1 = w$5("┌", "T"), h$5 = w$5("│", "|"), x$3 = w$5("└", "—"), Re$2 = w$5("┐", "T"), Oe$1 = w$5("┘", "—"), Y$2 = w$5("●", ">"), K$4 = w$5("○", " "), te$1 = w$5("◻", "[•]"), V$3 = w$5("◼", "[+]"), z$4 = w$5("◻", "[ ]"), Pe$1 = w$5("▪", "•"), se$1 = w$5("─", "-"), he$1 = w$5("╮", "+"), Ne$1 = w$5("├", "+"), me$1 = w$5("╯", "+"), pe$1 = w$5("╰", "+"), We$1 = w$5("╭", "+"), ge$1 = w$5("●", "•"), fe$2 = w$5("◆", "*"), Fe$1 = w$5("▲", "!"), ye$1 = w$5("■", "x"), W$3 = (e$8) => {
|
|
9463
9453
|
switch (e$8) {
|
|
@@ -9479,7 +9469,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9479
9469
|
limit: Infinity,
|
|
9480
9470
|
ellipsis: ""
|
|
9481
9471
|
}, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
|
|
9482
|
-
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$
|
|
9472
|
+
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, E$5 = s$9.fullWidthWidth ?? 2, p$3 = s$9.regularWidth ?? 1, y$7 = s$9.wideWidth ?? 2;
|
|
9483
9473
|
let $$2 = 0, m$5 = 0, d$5 = e$8.length, F$6 = 0, f$7 = !1, v$5 = d$5, I$4 = Math.max(0, i$9 - l$3), B$2 = 0, b$11 = 0, A$2 = 0, C$5 = 0;
|
|
9484
9474
|
e: for (;;) {
|
|
9485
9475
|
if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
|
|
@@ -9529,11 +9519,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9529
9519
|
continue;
|
|
9530
9520
|
}
|
|
9531
9521
|
if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
|
|
9532
|
-
if (A$2 + g$
|
|
9522
|
+
if (A$2 + g$5 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$5 > i$9) {
|
|
9533
9523
|
f$7 = !0;
|
|
9534
9524
|
break;
|
|
9535
9525
|
}
|
|
9536
|
-
A$2 += g$
|
|
9526
|
+
A$2 += g$5, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
|
|
9537
9527
|
continue;
|
|
9538
9528
|
}
|
|
9539
9529
|
m$5 += 1;
|
|
@@ -9560,10 +9550,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9560
9550
|
if (e$8 === 0) return 0;
|
|
9561
9551
|
}, He$1 = (e$8) => `${ae$1}${Ve$1}${e$8}${ke$2}`, Ue$1 = (e$8) => `${ae$1}${we$1}${e$8}${Ce$1}`, Ct$1 = (e$8) => e$8.map((r$4) => M$3(r$4)), Ie$1 = (e$8, r$4, s$9) => {
|
|
9562
9552
|
const i$9 = r$4[Symbol.iterator]();
|
|
9563
|
-
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$
|
|
9553
|
+
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$5 = 0;
|
|
9564
9554
|
for (; !a$13.done;) {
|
|
9565
9555
|
const E$5 = a$13.value, p$3 = M$3(E$5);
|
|
9566
|
-
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$
|
|
9556
|
+
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$5 + 1)), n$6 ? l$3 ? E$5 === Ce$1 && (n$6 = !1, l$3 = !1) : E$5 === ke$2 && (n$6 = !1) : (o$7 += p$3, o$7 === s$9 && !c$8.done && (e$8.push(""), o$7 = 0)), a$13 = c$8, c$8 = i$9.next(), g$5 += E$5.length;
|
|
9567
9557
|
}
|
|
9568
9558
|
u$8 = e$8.at(-1), !o$7 && u$8 !== void 0 && u$8.length > 0 && e$8.length > 1 && (e$8[e$8.length - 2] += e$8.pop());
|
|
9569
9559
|
}, wt = (e$8) => {
|
|
@@ -9599,8 +9589,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9599
9589
|
}
|
|
9600
9590
|
s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
|
|
9601
9591
|
const c$8 = a$13.join(`
|
|
9602
|
-
`), g$
|
|
9603
|
-
let E$5 = g$
|
|
9592
|
+
`), g$5 = c$8[Symbol.iterator]();
|
|
9593
|
+
let E$5 = g$5.next(), p$3 = g$5.next(), y$7 = 0;
|
|
9604
9594
|
for (; !E$5.done;) {
|
|
9605
9595
|
const $$2 = E$5.value, m$5 = p$3.value;
|
|
9606
9596
|
if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
|
|
@@ -9614,7 +9604,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9614
9604
|
const d$5 = n$6 ? At(n$6) : void 0;
|
|
9615
9605
|
m$5 === `
|
|
9616
9606
|
` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
|
|
9617
|
-
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$
|
|
9607
|
+
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$5.next();
|
|
9618
9608
|
}
|
|
9619
9609
|
return i$9;
|
|
9620
9610
|
};
|
|
@@ -9636,7 +9626,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9636
9626
|
removals: u$8
|
|
9637
9627
|
};
|
|
9638
9628
|
}, J$4 = (e$8) => {
|
|
9639
|
-
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$
|
|
9629
|
+
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$5 = import_picocolors.default.dim("..."), E$5 = e$8.maxItems ?? Number.POSITIVE_INFINITY, p$3 = Math.max(c$8 - o$7, 0), y$7 = Math.max(Math.min(E$5, p$3), 5);
|
|
9640
9630
|
let $$2 = 0;
|
|
9641
9631
|
r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
|
|
9642
9632
|
let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
|
|
@@ -9658,9 +9648,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9658
9648
|
m$5 ? ({lineCount: _$7, removals: A$2} = T$8(0, D$4), _$7 > p$3 && ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length))) : ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length), _$7 > p$3 && ({lineCount: _$7, removals: A$2} = T$8(0, D$4))), A$2 > 0 && (m$5 = !0, f$7.splice(0, A$2)), C$5 > 0 && (d$5 = !0, f$7.splice(f$7.length - C$5, C$5));
|
|
9659
9649
|
}
|
|
9660
9650
|
const b$11 = [];
|
|
9661
|
-
m$5 && b$11.push(g$
|
|
9651
|
+
m$5 && b$11.push(g$5);
|
|
9662
9652
|
for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
|
|
9663
|
-
return d$5 && b$11.push(g$
|
|
9653
|
+
return d$5 && b$11.push(g$5), b$11;
|
|
9664
9654
|
};
|
|
9665
9655
|
function Ke(e$8) {
|
|
9666
9656
|
return e$8.label ?? String(e$8.value ?? "");
|
|
@@ -9706,8 +9696,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9706
9696
|
const d$5 = u$8 ? l$3 : s$9;
|
|
9707
9697
|
c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
|
|
9708
9698
|
} else c$8 = ` ${this.userInputWithCursor}`;
|
|
9709
|
-
const g$
|
|
9710
|
-
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$
|
|
9699
|
+
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)}`] : [];
|
|
9700
|
+
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$5}`, ...E$5, ...p$3);
|
|
9711
9701
|
const y$7 = [
|
|
9712
9702
|
`${import_picocolors.default.dim("↑/↓")} to select`,
|
|
9713
9703
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
@@ -9735,8 +9725,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9735
9725
|
}
|
|
9736
9726
|
}).prompt(), bt = (e$8) => {
|
|
9737
9727
|
const r$4 = (i$9, n$6, l$3, u$8) => {
|
|
9738
|
-
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$
|
|
9739
|
-
return n$6 ? `${g$
|
|
9728
|
+
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);
|
|
9729
|
+
return n$6 ? `${g$5} ${a$13}${c$8}` : `${g$5} ${import_picocolors.default.dim(a$13)}`;
|
|
9740
9730
|
}, s$9 = new Vt({
|
|
9741
9731
|
options: e$8.options,
|
|
9742
9732
|
multiple: !0,
|
|
@@ -9756,18 +9746,18 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9756
9746
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
|
|
9757
9747
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
|
|
9758
9748
|
default: {
|
|
9759
|
-
const g$
|
|
9749
|
+
const g$5 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
|
|
9760
9750
|
`${import_picocolors.default.dim("↑/↓")} to navigate`,
|
|
9761
9751
|
`${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
|
|
9762
9752
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
9763
9753
|
`${import_picocolors.default.dim("Type:")} to search`
|
|
9764
|
-
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$
|
|
9765
|
-
...`${i$9}${g$
|
|
9754
|
+
], 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 = [
|
|
9755
|
+
...`${i$9}${g$5(h$5)}`.split(`
|
|
9766
9756
|
`),
|
|
9767
|
-
`${g$
|
|
9757
|
+
`${g$5(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
|
|
9768
9758
|
...p$3,
|
|
9769
9759
|
...y$7
|
|
9770
|
-
], m$5 = [`${g$
|
|
9760
|
+
], m$5 = [`${g$5(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$5(x$3)}`], d$5 = J$4({
|
|
9771
9761
|
cursor: this.cursor,
|
|
9772
9762
|
options: this.filteredOptions,
|
|
9773
9763
|
style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
|
|
@@ -9777,7 +9767,7 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9777
9767
|
});
|
|
9778
9768
|
return [
|
|
9779
9769
|
...$$2,
|
|
9780
|
-
...d$5.map((F$6) => `${g$
|
|
9770
|
+
...d$5.map((F$6) => `${g$5(h$5)} ${F$6}`),
|
|
9781
9771
|
...m$5
|
|
9782
9772
|
].join(`
|
|
9783
9773
|
`);
|
|
@@ -9802,7 +9792,7 @@ function Xe(e$8, r$4, s$9, i$9) {
|
|
|
9802
9792
|
return i$9 === "center" ? n$6 = Math.floor((r$4 - e$8) / 2) : i$9 === "right" && (n$6 = r$4 - e$8 - s$9), l$3 = r$4 - n$6 - e$8, [n$6, l$3];
|
|
9803
9793
|
}
|
|
9804
9794
|
const Dt = (e$8) => e$8, Tt = (e$8 = "", r$4 = "", s$9) => {
|
|
9805
|
-
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$
|
|
9795
|
+
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$5 = s$9?.formatBorder ?? Dt, E$5 = (s$9?.rounded ? xt$1 : _t).map(g$5), p$3 = g$5(se$1), y$7 = g$5(h$5), $$2 = M$3(c$8), m$5 = M$3(r$4), d$5 = n$6 - $$2;
|
|
9806
9796
|
let F$6 = Math.floor(n$6 * a$13) - $$2;
|
|
9807
9797
|
if (s$9?.width === "auto") {
|
|
9808
9798
|
const _$7 = e$8.split(`
|
|
@@ -9869,7 +9859,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9869
9859
|
return s$9;
|
|
9870
9860
|
}, Ot = (e$8) => {
|
|
9871
9861
|
const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
|
|
9872
|
-
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$
|
|
9862
|
+
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$5 = c$8 && (o$7[o$7.indexOf(l$3) + 1] ?? { group: !0 }), E$5 = c$8 && g$5 && g$5.group === !0, p$3 = c$8 ? r$4 ? `${E$5 ? x$3 : h$5} ` : " " : "";
|
|
9873
9863
|
let y$7 = "";
|
|
9874
9864
|
if (s$9 > 0 && !c$8) {
|
|
9875
9865
|
const m$5 = `
|
|
@@ -9920,19 +9910,19 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
|
9920
9910
|
const o$7 = this.error.split(`
|
|
9921
9911
|
`).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
|
|
9922
9912
|
`);
|
|
9923
|
-
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$
|
|
9913
|
+
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$5) => {
|
|
9924
9914
|
const E$5 = u$8.includes(a$13.value) || a$13.group === !0 && this.isGroupSelected(`${a$13.value}`), p$3 = c$8 === this.cursor;
|
|
9925
|
-
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$
|
|
9915
|
+
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$5) : p$3 && E$5 ? i$9(a$13, "active-selected", g$5) : E$5 ? i$9(a$13, "selected", g$5) : i$9(a$13, p$3 ? "active" : "inactive", g$5);
|
|
9926
9916
|
}).join(`
|
|
9927
9917
|
${import_picocolors.default.yellow(h$5)} `)}
|
|
9928
9918
|
${o$7}
|
|
9929
9919
|
`;
|
|
9930
9920
|
}
|
|
9931
9921
|
default: {
|
|
9932
|
-
const o$7 = this.options.map((c$8, g$
|
|
9933
|
-
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$
|
|
9922
|
+
const o$7 = this.options.map((c$8, g$5, E$5) => {
|
|
9923
|
+
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$5 === this.cursor, $$2 = !y$7 && typeof c$8.group == "string" && this.options[this.cursor].value === c$8.group;
|
|
9934
9924
|
let m$5 = "";
|
|
9935
|
-
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$
|
|
9925
|
+
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$5 !== 0 && !m$5.startsWith(`
|
|
9936
9926
|
`) ? " " : ""}${m$5}`;
|
|
9937
9927
|
}).join(`
|
|
9938
9928
|
${import_picocolors.default.cyan(h$5)}`), a$13 = o$7.startsWith(`
|
|
@@ -9946,14 +9936,14 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9946
9936
|
}).prompt();
|
|
9947
9937
|
}, R = {
|
|
9948
9938
|
message: (e$8 = [], { symbol: r$4 = import_picocolors.default.gray(h$5), secondarySymbol: s$9 = import_picocolors.default.gray(h$5), output: i$9 = process.stdout, spacing: n$6 = 1, withGuide: l$3 } = {}) => {
|
|
9949
|
-
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$
|
|
9939
|
+
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$5 = o$7 ? `${s$9} ` : "";
|
|
9950
9940
|
for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
|
|
9951
9941
|
const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
|
|
9952
9942
|
`);
|
|
9953
9943
|
if (E$5.length > 0) {
|
|
9954
9944
|
const [p$3, ...y$7] = E$5;
|
|
9955
9945
|
p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
|
|
9956
|
-
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$
|
|
9946
|
+
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$5}${$$2}`) : u$8.push(o$7 ? "" : s$9);
|
|
9957
9947
|
}
|
|
9958
9948
|
i$9.write(`${u$8.join(`
|
|
9959
9949
|
`)}
|
|
@@ -10046,7 +10036,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10046
10036
|
const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
|
|
10047
10037
|
`).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
|
|
10048
10038
|
`), c$8 = n$6.split(`
|
|
10049
|
-
`).length, g$
|
|
10039
|
+
`).length, g$5 = a$13.split(`
|
|
10050
10040
|
`).length + 1;
|
|
10051
10041
|
return `${n$6}${o$7}${J$4({
|
|
10052
10042
|
output: e$8.output,
|
|
@@ -10054,7 +10044,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10054
10044
|
cursor: this.cursor,
|
|
10055
10045
|
maxItems: e$8.maxItems,
|
|
10056
10046
|
columnPadding: o$7.length,
|
|
10057
|
-
rowPadding: c$8 + g$
|
|
10047
|
+
rowPadding: c$8 + g$5,
|
|
10058
10048
|
style: u$8
|
|
10059
10049
|
}).join(`
|
|
10060
10050
|
${o$7}`)}
|
|
@@ -10088,7 +10078,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10088
10078
|
`), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
|
|
10089
10079
|
return q$5(e$8, r$4 - (n$6.map(s$9).reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0) - l$3), i$9);
|
|
10090
10080
|
}, kt$1 = (e$8 = "", r$4 = "", s$9) => {
|
|
10091
|
-
const i$9 = s$9?.output ??
|
|
10081
|
+
const i$9 = s$9?.output ?? g$1.stdout, n$6 = (s$9?.withGuide ?? _$6.withGuide) !== !1, l$3 = s$9?.format ?? jt, u$8 = [
|
|
10092
10082
|
"",
|
|
10093
10083
|
...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
|
|
10094
10084
|
`).map(l$3),
|
|
@@ -10097,9 +10087,9 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10097
10087
|
const $$2 = M$3(y$7);
|
|
10098
10088
|
return $$2 > p$3 ? $$2 : p$3;
|
|
10099
10089
|
}, 0), o$7) + 2, c$8 = u$8.map((p$3) => `${import_picocolors.default.gray(h$5)} ${p$3}${" ".repeat(a$13 - M$3(p$3))}${import_picocolors.default.gray(h$5)}`).join(`
|
|
10100
|
-
`), g$
|
|
10090
|
+
`), g$5 = n$6 ? `${import_picocolors.default.gray(h$5)}
|
|
10101
10091
|
` : "", E$5 = n$6 ? Ne$1 : pe$1;
|
|
10102
|
-
i$9.write(`${g$
|
|
10092
|
+
i$9.write(`${g$5}${import_picocolors.default.green(j$4)} ${import_picocolors.default.reset(r$4)} ${import_picocolors.default.gray(se$1.repeat(Math.max(a$13 - o$7 - 1, 1)) + he$1)}
|
|
10103
10093
|
${c$8}
|
|
10104
10094
|
${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
|
|
10105
10095
|
`);
|
|
@@ -10177,7 +10167,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10177
10167
|
"0"
|
|
10178
10168
|
], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
|
|
10179
10169
|
const c$8 = ue$1();
|
|
10180
|
-
let g$
|
|
10170
|
+
let g$5, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
|
|
10181
10171
|
const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
|
|
10182
10172
|
const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
|
|
10183
10173
|
y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
|
|
@@ -10199,7 +10189,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10199
10189
|
const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
|
|
10200
10190
|
return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
|
|
10201
10191
|
}, T$8 = (S$7 = "") => {
|
|
10202
|
-
p$3 = !0, g$
|
|
10192
|
+
p$3 = !0, g$5 = xt({ output: s$9 }), $$2 = _$7(S$7), d$5 = performance.now(), s$9.write(`${import_picocolors.default.gray(h$5)}
|
|
10203
10193
|
`);
|
|
10204
10194
|
let O$9 = 0, N$6 = 0;
|
|
10205
10195
|
b$11(), E$5 = setInterval(() => {
|
|
@@ -10225,7 +10215,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10225
10215
|
const N$6 = O$9 === 0 ? import_picocolors.default.green(j$4) : O$9 === 1 ? import_picocolors.default.red(ce$1) : import_picocolors.default.red(de$2);
|
|
10226
10216
|
$$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
|
|
10227
10217
|
`) : s$9.write(`${N$6} ${$$2}
|
|
10228
|
-
`), A$2(), g$
|
|
10218
|
+
`), A$2(), g$5();
|
|
10229
10219
|
};
|
|
10230
10220
|
return {
|
|
10231
10221
|
start: T$8,
|
|
@@ -10366,7 +10356,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
|
|
|
10366
10356
|
full: ""
|
|
10367
10357
|
}];
|
|
10368
10358
|
let c$8 = !1;
|
|
10369
|
-
const g$
|
|
10359
|
+
const g$5 = (d$5) => {
|
|
10370
10360
|
if (a$13.length === 0) return;
|
|
10371
10361
|
let F$6 = 0;
|
|
10372
10362
|
d$5 && (F$6 += n$6 + 2);
|
|
@@ -10403,7 +10393,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10403
10393
|
(F$6 === void 0 || F$6.length === 0) && f$7.length === 0 || E$5(d$5, void 0, u$8 === !0 && v$5.length > 0);
|
|
10404
10394
|
}
|
|
10405
10395
|
}, y$7 = (d$5, F$6, f$7) => {
|
|
10406
|
-
if (g$
|
|
10396
|
+
if (g$5(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
|
|
10407
10397
|
`), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
|
|
10408
10398
|
const v$5 = d$5.value.split(`
|
|
10409
10399
|
`), I$4 = v$5.length - e$8.limit;
|
|
@@ -10428,7 +10418,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10428
10418
|
spacing: 0
|
|
10429
10419
|
}) : d$5.value !== "" && E$5(d$5, 0);
|
|
10430
10420
|
}, m$5 = (d$5, F$6) => {
|
|
10431
|
-
g$
|
|
10421
|
+
g$5(!1), d$5.result = F$6, o$7 && $$2();
|
|
10432
10422
|
};
|
|
10433
10423
|
return {
|
|
10434
10424
|
message(d$5, F$6) {
|
|
@@ -10459,14 +10449,14 @@ ${d$5.value}` : d$5.value;
|
|
|
10459
10449
|
};
|
|
10460
10450
|
},
|
|
10461
10451
|
error(d$5, F$6) {
|
|
10462
|
-
g$
|
|
10452
|
+
g$5(!0), R.error(d$5, {
|
|
10463
10453
|
output: r$4,
|
|
10464
10454
|
secondarySymbol: i$9,
|
|
10465
10455
|
spacing: 1
|
|
10466
10456
|
}), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
|
|
10467
10457
|
},
|
|
10468
10458
|
success(d$5, F$6) {
|
|
10469
|
-
g$
|
|
10459
|
+
g$5(!0), R.success(d$5, {
|
|
10470
10460
|
output: r$4,
|
|
10471
10461
|
secondarySymbol: i$9,
|
|
10472
10462
|
spacing: 1
|
|
@@ -11278,7 +11268,7 @@ l$2.name;
|
|
|
11278
11268
|
function n$5(e$8) {
|
|
11279
11269
|
return e$8 ? e$8 !== "false" : false;
|
|
11280
11270
|
}
|
|
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$
|
|
11271
|
+
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$4 = n$5(o$6.DEBUG), R$6 = t$7 === "test" || n$5(o$6.TEST);
|
|
11282
11272
|
n$5(o$6.MINIMAL);
|
|
11283
11273
|
const A$1 = /^win/i.test(I$2);
|
|
11284
11274
|
!n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
|
|
@@ -11359,9 +11349,9 @@ function stringWidth$1(string, options$1 = {}) {
|
|
|
11359
11349
|
return width;
|
|
11360
11350
|
}
|
|
11361
11351
|
function isUnicodeSupported() {
|
|
11362
|
-
const { env: env$2 } =
|
|
11352
|
+
const { env: env$2 } = g$1;
|
|
11363
11353
|
const { TERM, TERM_PROGRAM } = env$2;
|
|
11364
|
-
if (
|
|
11354
|
+
if (g$1.platform !== "win32") return TERM !== "linux";
|
|
11365
11355
|
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
11366
11356
|
}
|
|
11367
11357
|
const TYPE_COLOR_MAP = {
|
|
@@ -11448,13 +11438,13 @@ function createConsola$1(options$1 = {}) {
|
|
|
11448
11438
|
defaults: { level },
|
|
11449
11439
|
stdout: process.stdout,
|
|
11450
11440
|
stderr: process.stderr,
|
|
11451
|
-
prompt: (...args$2) => import("./prompt-
|
|
11441
|
+
prompt: (...args$2) => import("./prompt-BIVRMyOv.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
11452
11442
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
|
|
11453
11443
|
...options$1
|
|
11454
11444
|
});
|
|
11455
11445
|
}
|
|
11456
11446
|
function _getDefaultLogLevel() {
|
|
11457
|
-
if (g$
|
|
11447
|
+
if (g$4) return LogLevels.debug;
|
|
11458
11448
|
if (R$6) return LogLevels.warn;
|
|
11459
11449
|
return LogLevels.info;
|
|
11460
11450
|
}
|
|
@@ -12320,12 +12310,12 @@ async function pathExists(path2, type) {
|
|
|
12320
12310
|
}
|
|
12321
12311
|
}
|
|
12322
12312
|
function getUserAgent() {
|
|
12323
|
-
const userAgent =
|
|
12313
|
+
const userAgent = g$1.env.npm_config_user_agent;
|
|
12324
12314
|
if (!userAgent) return null;
|
|
12325
12315
|
const name = userAgent.split("/")[0];
|
|
12326
12316
|
return AGENTS.includes(name) ? name : null;
|
|
12327
12317
|
}
|
|
12328
|
-
function* lookup(cwd$2 =
|
|
12318
|
+
function* lookup(cwd$2 = g$1.cwd()) {
|
|
12329
12319
|
let directory = path.resolve(cwd$2);
|
|
12330
12320
|
const { root: root$3 } = path.parse(directory);
|
|
12331
12321
|
while (directory && directory !== root$3) {
|
|
@@ -12513,17 +12503,21 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12513
12503
|
}
|
|
12514
12504
|
});
|
|
12515
12505
|
},
|
|
12516
|
-
force: ({ results }) => {
|
|
12506
|
+
force: async ({ results }) => {
|
|
12517
12507
|
const projectRoot = join(cwd$2, results.name || args$2.name);
|
|
12518
12508
|
if (existsSync(projectRoot) && readdirSync(projectRoot).length > 0) {
|
|
12519
|
-
if (args$2.force) return
|
|
12520
|
-
if (!args$2.interactive) return
|
|
12521
|
-
|
|
12509
|
+
if (args$2.force) return true;
|
|
12510
|
+
if (!args$2.interactive) return false;
|
|
12511
|
+
const overwrite = await Mt({
|
|
12522
12512
|
message: i18n.t("prompts.project.overwrite", { path: projectRoot }),
|
|
12523
12513
|
initialValue: false
|
|
12524
12514
|
});
|
|
12515
|
+
if (overwrite === false || typeof overwrite !== "boolean") {
|
|
12516
|
+
Pt(i18n.t("prompts.project.cancel"));
|
|
12517
|
+
process.exit(0);
|
|
12518
|
+
}
|
|
12525
12519
|
}
|
|
12526
|
-
return
|
|
12520
|
+
return args$2.force || false;
|
|
12527
12521
|
},
|
|
12528
12522
|
platform: () => {
|
|
12529
12523
|
if (args$2.platform) return Promise.resolve(args$2.platform);
|
|
@@ -12599,7 +12593,9 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12599
12593
|
features: ({ results }) => {
|
|
12600
12594
|
if (args$2.features) return Promise.resolve(args$2.features.filter((f$7) => f$7 !== "router" && f$7 !== "file-router"));
|
|
12601
12595
|
if (!args$2.interactive) return Promise.resolve([]);
|
|
12602
|
-
|
|
12596
|
+
const platform$2 = results.platform || args$2.platform;
|
|
12597
|
+
const type = results.type || args$2.type;
|
|
12598
|
+
return platform$2 === "vue" ? Lt({
|
|
12603
12599
|
message: i18n.t("prompts.features.select", { hint: dim("↑/↓ to navigate, space to select, a to toggle all, enter to confirm") }),
|
|
12604
12600
|
options: [
|
|
12605
12601
|
{
|
|
@@ -12614,13 +12610,11 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12614
12610
|
},
|
|
12615
12611
|
{
|
|
12616
12612
|
label: i18n.t("prompts.features.pinia.label"),
|
|
12617
|
-
value: "pinia"
|
|
12618
|
-
hint: i18n.t("prompts.features.pinia.hint")
|
|
12613
|
+
value: "pinia"
|
|
12619
12614
|
},
|
|
12620
12615
|
{
|
|
12621
12616
|
label: i18n.t("prompts.features.i18n.label"),
|
|
12622
|
-
value: "i18n"
|
|
12623
|
-
hint: i18n.t("prompts.features.i18n.hint")
|
|
12617
|
+
value: "i18n"
|
|
12624
12618
|
}
|
|
12625
12619
|
],
|
|
12626
12620
|
initialValues: ["eslint", "mcp"],
|
|
@@ -12633,11 +12627,11 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12633
12627
|
value: "eslint",
|
|
12634
12628
|
hint: i18n.t("prompts.features.eslint.hint")
|
|
12635
12629
|
},
|
|
12636
|
-
{
|
|
12630
|
+
...type === "vuetify0" ? [] : [{
|
|
12637
12631
|
label: i18n.t("prompts.features.vuetify_nuxt_module.label"),
|
|
12638
12632
|
value: "vuetify-nuxt-module",
|
|
12639
12633
|
hint: i18n.t("prompts.features.vuetify_nuxt_module.hint")
|
|
12640
|
-
},
|
|
12634
|
+
}],
|
|
12641
12635
|
{
|
|
12642
12636
|
label: i18n.t("prompts.features.mcp.label"),
|
|
12643
12637
|
value: "mcp",
|
|
@@ -12645,18 +12639,16 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12645
12639
|
},
|
|
12646
12640
|
{
|
|
12647
12641
|
label: i18n.t("prompts.features.pinia.label"),
|
|
12648
|
-
value: "pinia"
|
|
12649
|
-
hint: i18n.t("prompts.features.pinia.hint")
|
|
12642
|
+
value: "pinia"
|
|
12650
12643
|
},
|
|
12651
12644
|
{
|
|
12652
12645
|
label: i18n.t("prompts.features.i18n.label"),
|
|
12653
|
-
value: "i18n"
|
|
12654
|
-
hint: i18n.t("prompts.features.i18n.hint")
|
|
12646
|
+
value: "i18n"
|
|
12655
12647
|
}
|
|
12656
12648
|
],
|
|
12657
12649
|
initialValues: [
|
|
12658
12650
|
"eslint",
|
|
12659
|
-
"vuetify-nuxt-module",
|
|
12651
|
+
...type === "vuetify0" ? [] : ["vuetify-nuxt-module"],
|
|
12660
12652
|
"mcp"
|
|
12661
12653
|
],
|
|
12662
12654
|
required: false
|
|
@@ -12866,7 +12858,7 @@ function normalizeString(path$1, allowAboveRoot) {
|
|
|
12866
12858
|
const isAbsolute$1 = function(p$3) {
|
|
12867
12859
|
return _IS_ABSOLUTE_RE.test(p$3);
|
|
12868
12860
|
};
|
|
12869
|
-
const relative = function(from, to) {
|
|
12861
|
+
const relative$1 = function(from, to) {
|
|
12870
12862
|
const _from = resolve$1(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
12871
12863
|
const _to = resolve$1(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
12872
12864
|
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) return _to.join("/");
|
|
@@ -12940,7 +12932,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
12940
12932
|
//#endregion
|
|
12941
12933
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
12942
12934
|
const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
|
|
12943
|
-
function g$
|
|
12935
|
+
function g$3(e$8, t$9) {
|
|
12944
12936
|
const n$6 = /* @__PURE__ */ new Map();
|
|
12945
12937
|
let s$9 = 0, o$7, i$9;
|
|
12946
12938
|
for (const c$8 of e$8.split(/\n/g)) {
|
|
@@ -12981,8 +12973,8 @@ function S$4(e$8, t$9) {
|
|
|
12981
12973
|
}
|
|
12982
12974
|
function _$4(e$8) {
|
|
12983
12975
|
if (typeof e$8 != "string") throw new TypeError("Expected a string");
|
|
12984
|
-
let t$9 = g$
|
|
12985
|
-
t$9.size === 0 && (t$9 = g$
|
|
12976
|
+
let t$9 = g$3(e$8, !0);
|
|
12977
|
+
t$9.size === 0 && (t$9 = g$3(e$8, !1));
|
|
12986
12978
|
const n$6 = E$4(t$9);
|
|
12987
12979
|
let s$9, o$7 = 0, i$9 = "";
|
|
12988
12980
|
return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
|
|
@@ -13065,17 +13057,17 @@ function uu() {
|
|
|
13065
13057
|
Z$2 = 1;
|
|
13066
13058
|
const C$5 = T$4();
|
|
13067
13059
|
let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
|
|
13068
|
-
q$4 = function(a$13, g$
|
|
13060
|
+
q$4 = function(a$13, g$5) {
|
|
13069
13061
|
r$4 = String(a$13), s$9 = "start", c$8 = [], d$5 = 0, h$6 = 1, o$7 = 0, f$7 = void 0, S$7 = void 0, m$5 = void 0;
|
|
13070
13062
|
do
|
|
13071
13063
|
f$7 = E$5(), Q$4[s$9]();
|
|
13072
13064
|
while (f$7.type !== "eof");
|
|
13073
|
-
return typeof g$
|
|
13065
|
+
return typeof g$5 == "function" ? v$5({ "": m$5 }, "", g$5) : m$5;
|
|
13074
13066
|
};
|
|
13075
|
-
function v$5(D$4, a$13, g$
|
|
13067
|
+
function v$5(D$4, a$13, g$5) {
|
|
13076
13068
|
const y$7 = D$4[a$13];
|
|
13077
|
-
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$
|
|
13078
|
-
const I$4 = String(P$
|
|
13069
|
+
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++) {
|
|
13070
|
+
const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$5);
|
|
13079
13071
|
H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
|
|
13080
13072
|
value: H$8,
|
|
13081
13073
|
writable: !0,
|
|
@@ -13083,16 +13075,16 @@ function uu() {
|
|
|
13083
13075
|
configurable: !0
|
|
13084
13076
|
});
|
|
13085
13077
|
}
|
|
13086
|
-
else for (const P$
|
|
13087
|
-
const I$4 = v$5(y$7, P$
|
|
13088
|
-
I$4 === void 0 ? delete y$7[P$
|
|
13078
|
+
else for (const P$6 in y$7) {
|
|
13079
|
+
const I$4 = v$5(y$7, P$6, g$5);
|
|
13080
|
+
I$4 === void 0 ? delete y$7[P$6] : Object.defineProperty(y$7, P$6, {
|
|
13089
13081
|
value: I$4,
|
|
13090
13082
|
writable: !0,
|
|
13091
13083
|
enumerable: !0,
|
|
13092
13084
|
configurable: !0
|
|
13093
13085
|
});
|
|
13094
13086
|
}
|
|
13095
|
-
return g$
|
|
13087
|
+
return g$5.call(D$4, a$13, y$7);
|
|
13096
13088
|
}
|
|
13097
13089
|
let t$9, e$8, x$5, w$7, A$2;
|
|
13098
13090
|
function E$5() {
|
|
@@ -13531,8 +13523,8 @@ function uu() {
|
|
|
13531
13523
|
function $$2() {
|
|
13532
13524
|
let D$4 = "", a$13 = 4;
|
|
13533
13525
|
for (; a$13-- > 0;) {
|
|
13534
|
-
const g$
|
|
13535
|
-
if (!C$5.isHexDigit(g$
|
|
13526
|
+
const g$5 = n$6();
|
|
13527
|
+
if (!C$5.isHexDigit(g$5)) throw B$2(u$8());
|
|
13536
13528
|
D$4 += u$8();
|
|
13537
13529
|
}
|
|
13538
13530
|
return String.fromCodePoint(parseInt(D$4, 16));
|
|
@@ -13660,8 +13652,8 @@ function uu() {
|
|
|
13660
13652
|
};
|
|
13661
13653
|
if (a$13[D$4]) return a$13[D$4];
|
|
13662
13654
|
if (D$4 < " ") {
|
|
13663
|
-
const g$
|
|
13664
|
-
return "\\x" + ("00" + g$
|
|
13655
|
+
const g$5 = D$4.charCodeAt(0).toString(16);
|
|
13656
|
+
return "\\x" + ("00" + g$5).substring(g$5.length);
|
|
13665
13657
|
}
|
|
13666
13658
|
return D$4;
|
|
13667
13659
|
}
|
|
@@ -13817,7 +13809,7 @@ function Au(C$5, r$4) {
|
|
|
13817
13809
|
//#endregion
|
|
13818
13810
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
13819
13811
|
function $$1(n$6, l$3 = !1) {
|
|
13820
|
-
const g$
|
|
13812
|
+
const g$5 = n$6.length;
|
|
13821
13813
|
let e$8 = 0, u$8 = "", p$3 = 0, k$6 = 16, A$2 = 0, o$7 = 0, O$9 = 0, B$2 = 0, b$11 = 0;
|
|
13822
13814
|
function I$4(i$9, T$8) {
|
|
13823
13815
|
let s$9 = 0, c$8 = 0;
|
|
@@ -13850,7 +13842,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13850
13842
|
function a$13() {
|
|
13851
13843
|
let i$9 = "", T$8 = e$8;
|
|
13852
13844
|
for (;;) {
|
|
13853
|
-
if (e$8 >= g$
|
|
13845
|
+
if (e$8 >= g$5) {
|
|
13854
13846
|
i$9 += n$6.substring(T$8, e$8), b$11 = 2;
|
|
13855
13847
|
break;
|
|
13856
13848
|
}
|
|
@@ -13860,7 +13852,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13860
13852
|
break;
|
|
13861
13853
|
}
|
|
13862
13854
|
if (s$9 === 92) {
|
|
13863
|
-
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$
|
|
13855
|
+
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$5) {
|
|
13864
13856
|
b$11 = 2;
|
|
13865
13857
|
break;
|
|
13866
13858
|
}
|
|
@@ -13908,7 +13900,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13908
13900
|
return i$9;
|
|
13909
13901
|
}
|
|
13910
13902
|
function w$7() {
|
|
13911
|
-
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$
|
|
13903
|
+
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$5) return p$3 = g$5, k$6 = 17;
|
|
13912
13904
|
let i$9 = n$6.charCodeAt(e$8);
|
|
13913
13905
|
if (J$2(i$9)) {
|
|
13914
13906
|
do
|
|
@@ -13929,12 +13921,12 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13929
13921
|
case 47:
|
|
13930
13922
|
const T$8 = e$8 - 1;
|
|
13931
13923
|
if (n$6.charCodeAt(e$8 + 1) === 47) {
|
|
13932
|
-
for (e$8 += 2; e$8 < g$
|
|
13924
|
+
for (e$8 += 2; e$8 < g$5 && !r(n$6.charCodeAt(e$8));) e$8++;
|
|
13933
13925
|
return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
|
|
13934
13926
|
}
|
|
13935
13927
|
if (n$6.charCodeAt(e$8 + 1) === 42) {
|
|
13936
13928
|
e$8 += 2;
|
|
13937
|
-
const s$9 = g$
|
|
13929
|
+
const s$9 = g$5 - 1;
|
|
13938
13930
|
let c$8 = !1;
|
|
13939
13931
|
for (; e$8 < s$9;) {
|
|
13940
13932
|
const t$9 = n$6.charCodeAt(e$8);
|
|
@@ -13947,7 +13939,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13947
13939
|
return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
|
|
13948
13940
|
}
|
|
13949
13941
|
return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
|
|
13950
|
-
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$
|
|
13942
|
+
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$5 || !L$2(n$6.charCodeAt(e$8))) return k$6 = 16;
|
|
13951
13943
|
case 48:
|
|
13952
13944
|
case 49:
|
|
13953
13945
|
case 50:
|
|
@@ -13959,7 +13951,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13959
13951
|
case 56:
|
|
13960
13952
|
case 57: return u$8 += F$6(), k$6 = 11;
|
|
13961
13953
|
default:
|
|
13962
|
-
for (; e$8 < g$
|
|
13954
|
+
for (; e$8 < g$5 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
|
|
13963
13955
|
if (p$3 !== e$8) {
|
|
13964
13956
|
switch (u$8 = n$6.substring(p$3, e$8), u$8) {
|
|
13965
13957
|
case "true": return k$6 = 8;
|
|
@@ -14028,13 +14020,13 @@ var U$2;
|
|
|
14028
14020
|
(function(n$6) {
|
|
14029
14021
|
n$6.DEFAULT = { allowTrailingComma: !1 };
|
|
14030
14022
|
})(U$2 || (U$2 = {}));
|
|
14031
|
-
function S$3(n$6, l$3 = [], g$
|
|
14023
|
+
function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
|
|
14032
14024
|
let e$8 = null, u$8 = [];
|
|
14033
14025
|
const p$3 = [];
|
|
14034
14026
|
function k$6(o$7) {
|
|
14035
14027
|
Array.isArray(u$8) ? u$8.push(o$7) : e$8 !== null && (u$8[e$8] = o$7);
|
|
14036
14028
|
}
|
|
14037
|
-
return P$
|
|
14029
|
+
return P$4(n$6, {
|
|
14038
14030
|
onObjectBegin: () => {
|
|
14039
14031
|
const o$7 = {};
|
|
14040
14032
|
k$6(o$7), p$3.push(u$8), u$8 = o$7, e$8 = null;
|
|
@@ -14060,9 +14052,9 @@ function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
|
|
|
14060
14052
|
length: B$2
|
|
14061
14053
|
});
|
|
14062
14054
|
}
|
|
14063
|
-
}, g$
|
|
14055
|
+
}, g$5), u$8[0];
|
|
14064
14056
|
}
|
|
14065
|
-
function P$
|
|
14057
|
+
function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
14066
14058
|
const e$8 = $$1(n$6, !1), u$8 = [];
|
|
14067
14059
|
let p$3 = 0;
|
|
14068
14060
|
function k$6(f$7) {
|
|
@@ -14084,7 +14076,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14084
14076
|
p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
|
|
14085
14077
|
} : () => !0;
|
|
14086
14078
|
}
|
|
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$
|
|
14079
|
+
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$5 && g$5.disallowComments, s$9 = g$5 && g$5.allowTrailingComma;
|
|
14088
14080
|
function c$8() {
|
|
14089
14081
|
for (;;) {
|
|
14090
14082
|
const f$7 = e$8.scan();
|
|
@@ -14191,7 +14183,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14191
14183
|
default: return G$5();
|
|
14192
14184
|
}
|
|
14193
14185
|
}
|
|
14194
|
-
return c$8(), e$8.getToken() === 17 ? g$
|
|
14186
|
+
return c$8(), e$8.getToken() === 17 ? g$5.allowEmptyContent ? !0 : (t$9(4, [], []), !1) : E$5() ? (e$8.getToken() !== 17 && t$9(9, [], []), !0) : (t$9(4, [], []), !1);
|
|
14195
14187
|
}
|
|
14196
14188
|
var W$2;
|
|
14197
14189
|
(function(n$6) {
|
|
@@ -14207,16 +14199,16 @@ var q$3;
|
|
|
14207
14199
|
n$6[n$6.InvalidSymbol = 1] = "InvalidSymbol", n$6[n$6.InvalidNumberFormat = 2] = "InvalidNumberFormat", n$6[n$6.PropertyNameExpected = 3] = "PropertyNameExpected", n$6[n$6.ValueExpected = 4] = "ValueExpected", n$6[n$6.ColonExpected = 5] = "ColonExpected", n$6[n$6.CommaExpected = 6] = "CommaExpected", n$6[n$6.CloseBraceExpected = 7] = "CloseBraceExpected", n$6[n$6.CloseBracketExpected = 8] = "CloseBracketExpected", n$6[n$6.EndOfFileExpected = 9] = "EndOfFileExpected", n$6[n$6.InvalidCommentToken = 10] = "InvalidCommentToken", n$6[n$6.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n$6[n$6.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n$6[n$6.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n$6[n$6.InvalidUnicode = 14] = "InvalidUnicode", n$6[n$6.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n$6[n$6.InvalidCharacter = 16] = "InvalidCharacter";
|
|
14208
14200
|
})(q$3 || (q$3 = {}));
|
|
14209
14201
|
function x$1(n$6, l$3) {
|
|
14210
|
-
const g$
|
|
14211
|
-
return N$1(n$6, g$
|
|
14202
|
+
const g$5 = JSON.parse(n$6, l$3?.reviver);
|
|
14203
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14212
14204
|
}
|
|
14213
14205
|
function z$2(n$6, l$3) {
|
|
14214
|
-
const g$
|
|
14215
|
-
return g$
|
|
14206
|
+
const g$5 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$5.indent);
|
|
14207
|
+
return g$5.whitespace.start + e$8 + g$5.whitespace.end;
|
|
14216
14208
|
}
|
|
14217
14209
|
function h$2(n$6, l$3) {
|
|
14218
|
-
const g$
|
|
14219
|
-
return N$1(n$6, g$
|
|
14210
|
+
const g$5 = K$2(n$6, l$3?.errors, l$3);
|
|
14211
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14220
14212
|
}
|
|
14221
14213
|
|
|
14222
14214
|
//#endregion
|
|
@@ -14868,13 +14860,13 @@ function yi(e$8, n$6) {
|
|
|
14868
14860
|
h$3(e$8, "unexpected end of the stream within a double quoted scalar");
|
|
14869
14861
|
}
|
|
14870
14862
|
function Ci(e$8, n$6) {
|
|
14871
|
-
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$
|
|
14863
|
+
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$5, A$2, b$11, m$5;
|
|
14872
14864
|
if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
|
|
14873
14865
|
else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
|
|
14874
14866
|
else return !1;
|
|
14875
14867
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = f$7), m$5 = e$8.input.charCodeAt(++e$8.position); m$5 !== 0;) {
|
|
14876
14868
|
if (v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === t$9) return e$8.position++, e$8.tag = o$7, e$8.anchor = c$8, e$8.kind = s$9 ? "mapping" : "sequence", e$8.result = f$7, !0;
|
|
14877
|
-
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$
|
|
14869
|
+
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$5 = b$11 = null, p$3 = d$5 = !1, m$5 === 63 && (a$13 = e$8.input.charCodeAt(e$8.position + 1), F$4(a$13) && (p$3 = d$5 = !0, e$8.position++, v$3(e$8, !0, n$6))), l$3 = e$8.line, r$4 = e$8.lineStart, u$8 = e$8.position, R$4(e$8, n$6, H$5, !1, !0), A$2 = e$8.tag, g$5 = e$8.result, v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), (d$5 || e$8.line === l$3) && m$5 === 58 && (p$3 = !0, m$5 = e$8.input.charCodeAt(++e$8.position), v$3(e$8, !0, n$6), R$4(e$8, n$6, H$5, !1, !0), b$11 = e$8.result), s$9 ? N$2(e$8, f$7, x$5, A$2, g$5, b$11, l$3, r$4, u$8) : p$3 ? f$7.push(N$2(e$8, null, x$5, A$2, g$5, b$11, l$3, r$4, u$8)) : f$7.push(g$5), v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 44 ? (i$9 = !0, m$5 = e$8.input.charCodeAt(++e$8.position)) : i$9 = !1;
|
|
14878
14870
|
}
|
|
14879
14871
|
h$3(e$8, "unexpected end of the stream within a flow collection");
|
|
14880
14872
|
}
|
|
@@ -14929,21 +14921,21 @@ function we(e$8, n$6) {
|
|
|
14929
14921
|
return f$7 ? (e$8.tag = l$3, e$8.anchor = r$4, e$8.kind = "sequence", e$8.result = u$8, !0) : !1;
|
|
14930
14922
|
}
|
|
14931
14923
|
function wi(e$8, n$6, i$9) {
|
|
14932
|
-
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$
|
|
14924
|
+
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$5 = null, A$2 = !1, b$11 = !1, m$5;
|
|
14933
14925
|
if (e$8.firstTabInLine !== -1) return !1;
|
|
14934
14926
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = p$3), m$5 = e$8.input.charCodeAt(e$8.position); m$5 !== 0;) {
|
|
14935
|
-
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14927
|
+
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !0, r$4 = !0) : A$2 ? (A$2 = !1, r$4 = !0) : h$3(e$8, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e$8.position += 1, m$5 = l$3;
|
|
14936
14928
|
else {
|
|
14937
14929
|
if (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position, !R$4(e$8, i$9, te, !1, !0)) break;
|
|
14938
14930
|
if (e$8.line === u$8) {
|
|
14939
14931
|
for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
|
|
14940
|
-
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14932
|
+
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !1, r$4 = !1, s$9 = e$8.tag, x$5 = e$8.result;
|
|
14941
14933
|
else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
|
|
14942
14934
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14943
14935
|
} else if (b$11) h$3(e$8, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
14944
14936
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14945
14937
|
}
|
|
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$
|
|
14938
|
+
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$5 = e$8.result), A$2 || (N$2(e$8, p$3, d$5, s$9, x$5, g$5, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), v$3(e$8, !0, -1), m$5 = e$8.input.charCodeAt(e$8.position)), (e$8.line === u$8 || e$8.lineIndent > n$6) && m$5 !== 0) h$3(e$8, "bad indentation of a mapping entry");
|
|
14947
14939
|
else if (e$8.lineIndent < n$6) break;
|
|
14948
14940
|
}
|
|
14949
14941
|
return A$2 && N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), b$11 && (e$8.tag = a$13, e$8.anchor = t$9, e$8.kind = "mapping", e$8.result = p$3), b$11;
|
|
@@ -14981,9 +14973,9 @@ function Si(e$8) {
|
|
|
14981
14973
|
return e$8.position === n$6 && h$3(e$8, "name of an alias node must contain at least one character"), i$9 = e$8.input.slice(n$6, e$8.position), T$3.call(e$8.anchorMap, i$9) || h$3(e$8, "unidentified alias \"" + i$9 + "\""), e$8.result = e$8.anchorMap[i$9], v$3(e$8, !0, -1), !0;
|
|
14982
14974
|
}
|
|
14983
14975
|
function R$4(e$8, n$6, i$9, l$3, r$4) {
|
|
14984
|
-
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$
|
|
14976
|
+
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$5, A$2;
|
|
14985
14977
|
if (e$8.listener !== null && e$8.listener("open", e$8), e$8.tag = null, e$8.anchor = null, e$8.kind = null, e$8.result = null, u$8 = o$7 = f$7 = U$1 === i$9 || he === i$9, l$3 && v$3(e$8, !0, -1) && (a$13 = !0, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)), c$8 === 1) for (; Fi(e$8) || bi(e$8);) v$3(e$8, !0, -1) ? (a$13 = !0, f$7 = u$8, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)) : f$7 = !1;
|
|
14986
|
-
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$
|
|
14978
|
+
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$5 = n$6 : g$5 = n$6 + 1, A$2 = e$8.position - e$8.lineStart, c$8 === 1 ? f$7 && (we(e$8, A$2) || wi(e$8, A$2, g$5)) || Ci(e$8, g$5) ? t$9 = !0 : (o$7 && _i(e$8, g$5) || vi(e$8, g$5) || yi(e$8, g$5) ? t$9 = !0 : Si(e$8) ? (t$9 = !0, (e$8.tag !== null || e$8.anchor !== null) && h$3(e$8, "alias node should not have any properties")) : Ai(e$8, g$5, H$5 === i$9) && (t$9 = !0, e$8.tag === null && (e$8.tag = "?")), e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result)) : c$8 === 0 && (t$9 = f$7 && we(e$8, A$2))), e$8.tag === null) e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
14987
14979
|
else if (e$8.tag === "?") {
|
|
14988
14980
|
for (e$8.result !== null && e$8.kind !== "scalar" && h$3(e$8, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e$8.kind + "\""), p$3 = 0, d$5 = e$8.implicitTypes.length; p$3 < d$5; p$3 += 1) if (x$5 = e$8.implicitTypes[p$3], x$5.resolve(e$8.result)) {
|
|
14989
14981
|
e$8.result = x$5.construct(e$8.result), e$8.tag = x$5.tag, e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
@@ -15095,18 +15087,18 @@ function er(e$8, n$6) {
|
|
|
15095
15087
|
function W$1(e$8) {
|
|
15096
15088
|
return e$8 === Ri || e$8 === Li;
|
|
15097
15089
|
}
|
|
15098
|
-
function P$
|
|
15090
|
+
function P$3(e$8) {
|
|
15099
15091
|
return 32 <= e$8 && e$8 <= 126 || 161 <= e$8 && e$8 <= 55295 && e$8 !== 8232 && e$8 !== 8233 || 57344 <= e$8 && e$8 <= 65533 && e$8 !== ee$1 || 65536 <= e$8 && e$8 <= 1114111;
|
|
15100
15092
|
}
|
|
15101
15093
|
function Le(e$8) {
|
|
15102
|
-
return P$
|
|
15094
|
+
return P$3(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
|
|
15103
15095
|
}
|
|
15104
15096
|
function Ne(e$8, n$6, i$9) {
|
|
15105
15097
|
var l$3 = Le(e$8), r$4 = l$3 && !W$1(e$8);
|
|
15106
15098
|
return (i$9 ? l$3 : l$3 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie) && e$8 !== ne && !(n$6 === G$2 && !r$4) || Le(n$6) && !W$1(n$6) && e$8 === ne || n$6 === G$2 && r$4;
|
|
15107
15099
|
}
|
|
15108
15100
|
function nr(e$8) {
|
|
15109
|
-
return P$
|
|
15101
|
+
return P$3(e$8) && e$8 !== ee$1 && !W$1(e$8) && e$8 !== Hi && e$8 !== qi && e$8 !== G$2 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie && e$8 !== ne && e$8 !== Bi && e$8 !== ji && e$8 !== Di && e$8 !== $i && e$8 !== Ui && e$8 !== Ki && e$8 !== Pi && e$8 !== Mi && e$8 !== Yi && e$8 !== Gi && e$8 !== Wi;
|
|
15110
15102
|
}
|
|
15111
15103
|
function ir(e$8) {
|
|
15112
15104
|
return !W$1(e$8) && e$8 !== G$2;
|
|
@@ -15120,20 +15112,20 @@ function Re$1(e$8) {
|
|
|
15120
15112
|
}
|
|
15121
15113
|
var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
|
|
15122
15114
|
function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
|
|
15123
|
-
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$
|
|
15115
|
+
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$5 = nr(j$3(e$8, 0)) && ir(j$3(e$8, e$8.length - 1));
|
|
15124
15116
|
if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15125
|
-
if (a$13 = j$3(e$8, c$8), !P$
|
|
15126
|
-
g$
|
|
15117
|
+
if (a$13 = j$3(e$8, c$8), !P$3(a$13)) return D$1;
|
|
15118
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15127
15119
|
}
|
|
15128
15120
|
else {
|
|
15129
15121
|
for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15130
15122
|
if (a$13 = j$3(e$8, c$8), a$13 === Y) p$3 = !0, s$9 && (d$5 = d$5 || c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ", x$5 = c$8);
|
|
15131
|
-
else if (!P$
|
|
15132
|
-
g$
|
|
15123
|
+
else if (!P$3(a$13)) return D$1;
|
|
15124
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15133
15125
|
}
|
|
15134
15126
|
d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
|
|
15135
15127
|
}
|
|
15136
|
-
return !p$3 && !d$5 ? g$
|
|
15128
|
+
return !p$3 && !d$5 ? g$5 && !o$7 && !r$4(e$8) ? De : u$8 === B$1 ? D$1 : re$5 : i$9 > 9 && Re$1(e$8) ? D$1 : o$7 ? u$8 === B$1 ? D$1 : re$5 : d$5 ? Ye$1 : Me;
|
|
15137
15129
|
}
|
|
15138
15130
|
function lr(e$8, n$6, i$9, l$3, r$4) {
|
|
15139
15131
|
e$8.dump = function() {
|
|
@@ -15187,7 +15179,7 @@ function je(e$8, n$6) {
|
|
|
15187
15179
|
` + e$8.slice(o$7 + 1) : c$8 += e$8.slice(r$4), c$8.slice(1);
|
|
15188
15180
|
}
|
|
15189
15181
|
function ur(e$8) {
|
|
15190
|
-
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$
|
|
15182
|
+
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$3(i$9) ? (n$6 += e$8[r$4], i$9 >= 65536 && (n$6 += e$8[r$4 + 1])) : n$6 += l$3 || Zi(i$9);
|
|
15191
15183
|
return n$6;
|
|
15192
15184
|
}
|
|
15193
15185
|
function fr(e$8, n$6, i$9) {
|
|
@@ -15702,19 +15694,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
15702
15694
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
15703
15695
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
15704
15696
|
function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
|
|
15705
|
-
if (
|
|
15697
|
+
if (g$1.noDeprecation) return;
|
|
15706
15698
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
15707
15699
|
const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
|
|
15708
|
-
|
|
15700
|
+
g$1.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request$2}" ${request$2 === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
15709
15701
|
}
|
|
15710
15702
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
|
|
15711
|
-
if (
|
|
15703
|
+
if (g$1.noDeprecation) return;
|
|
15712
15704
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
15713
15705
|
const urlPath = fileURLToPath(url.href);
|
|
15714
15706
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
15715
15707
|
const basePath = fileURLToPath(base);
|
|
15716
|
-
if (!main$1)
|
|
15717
|
-
else if (path.resolve(packagePath, main$1) !== urlPath)
|
|
15708
|
+
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");
|
|
15709
|
+
else if (path.resolve(packagePath, main$1) !== urlPath) g$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main$1}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15718
15710
|
}
|
|
15719
15711
|
function tryStatSync(path$1) {
|
|
15720
15712
|
try {
|
|
@@ -15922,11 +15914,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
|
|
|
15922
15914
|
return isConditionalSugar;
|
|
15923
15915
|
}
|
|
15924
15916
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
15925
|
-
if (
|
|
15917
|
+
if (g$1.noDeprecation) return;
|
|
15926
15918
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
15927
15919
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
15928
15920
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
15929
|
-
|
|
15921
|
+
g$1.emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
15930
15922
|
}
|
|
15931
15923
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
15932
15924
|
let exports$1 = packageConfig.exports;
|
|
@@ -16411,7 +16403,7 @@ var f$4 = Object.getOwnPropertyNames;
|
|
|
16411
16403
|
var p$1 = Object.getPrototypeOf;
|
|
16412
16404
|
var m$3 = Object.prototype.hasOwnProperty;
|
|
16413
16405
|
var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
|
|
16414
|
-
var g$
|
|
16406
|
+
var g$2 = (e$8, t$9, n$6, r$4) => {
|
|
16415
16407
|
if (t$9 && typeof t$9 === "object" || typeof t$9 === "function") for (var i$9 = f$4(t$9), a$13 = 0, o$7 = i$9.length, s$9; a$13 < o$7; a$13++) {
|
|
16416
16408
|
s$9 = i$9[a$13];
|
|
16417
16409
|
if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
|
|
@@ -16421,7 +16413,7 @@ var g$1 = (e$8, t$9, n$6, r$4) => {
|
|
|
16421
16413
|
}
|
|
16422
16414
|
return e$8;
|
|
16423
16415
|
};
|
|
16424
|
-
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$
|
|
16416
|
+
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$2(t$9 || !e$8 || !e$8.__esModule ? u$6(n$6, "default", {
|
|
16425
16417
|
value: e$8,
|
|
16426
16418
|
enumerable: true
|
|
16427
16419
|
}) : n$6, e$8));
|
|
@@ -16714,7 +16706,7 @@ var N = h$1((exports$1, t$9) => {
|
|
|
16714
16706
|
return i$9 ? `${a$13} ${i$9}` : a$13;
|
|
16715
16707
|
};
|
|
16716
16708
|
});
|
|
16717
|
-
var P$
|
|
16709
|
+
var P$2 = h$1((exports$1, t$9) => {
|
|
16718
16710
|
const n$6 = v$2("fs");
|
|
16719
16711
|
const r$4 = N();
|
|
16720
16712
|
function i$9(e$8) {
|
|
@@ -16734,7 +16726,7 @@ var F$3 = h$1((exports$1, t$9) => {
|
|
|
16734
16726
|
const n$6 = v$2("path");
|
|
16735
16727
|
const r$4 = A();
|
|
16736
16728
|
const i$9 = j$2();
|
|
16737
|
-
const a$13 = P$
|
|
16729
|
+
const a$13 = P$2();
|
|
16738
16730
|
const o$7 = process.platform === "win32";
|
|
16739
16731
|
const s$9 = /\.(?:com|exe)$/i;
|
|
16740
16732
|
const c$8 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -28944,19 +28936,19 @@ ${p$3}`;
|
|
|
28944
28936
|
process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A$2);
|
|
28945
28937
|
}
|
|
28946
28938
|
e$6(H$3, "H"), s$7(H$3, "debug");
|
|
28947
|
-
function P$
|
|
28939
|
+
function P$1(A$2, k$6) {
|
|
28948
28940
|
if (!k$6) return !1;
|
|
28949
28941
|
for (const c$8 of k$6) if (c$8 === A$2 || c$8[0] === "." && A$2.endsWith(c$8.slice(1))) return !0;
|
|
28950
28942
|
return !1;
|
|
28951
28943
|
}
|
|
28952
|
-
e$6(P$
|
|
28944
|
+
e$6(P$1, "P"), s$7(P$1, "bypassProxy");
|
|
28953
28945
|
const g = (fe = class extends undiciExports.ProxyAgent {
|
|
28954
28946
|
constructor(k$6) {
|
|
28955
28947
|
super(k$6), this._options = k$6, i$7(this, "_agent"), this._agent = new undiciExports.Agent();
|
|
28956
28948
|
}
|
|
28957
28949
|
dispatch(k$6, c$8) {
|
|
28958
28950
|
const B$2 = new require$$1$1.URL(k$6.origin).hostname;
|
|
28959
|
-
return P$
|
|
28951
|
+
return P$1(B$2, this._options.noProxy) ? (H$3(`Bypassing proxy for: ${B$2}`), this._agent.dispatch(k$6, c$8)) : super.dispatch(k$6, c$8);
|
|
28960
28952
|
}
|
|
28961
28953
|
}, e$6(fe, "g"), fe);
|
|
28962
28954
|
s$7(g, "UndiciProxyAgent");
|
|
@@ -28975,7 +28967,7 @@ ${p$3}`;
|
|
|
28975
28967
|
}
|
|
28976
28968
|
connect(k$6, c$8) {
|
|
28977
28969
|
const B$2 = k$6.getHeader("upgrade") === "websocket", t$9 = c$8.secureEndpoint ? B$2 ? "wss:" : "https:" : B$2 ? "ws:" : "http:";
|
|
28978
|
-
if (P$
|
|
28970
|
+
if (P$1(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
|
|
28979
28971
|
const R$7 = `${t$9}+${this._options.uri}`;
|
|
28980
28972
|
let F$6 = this.cache.get(R$7);
|
|
28981
28973
|
if (!F$6) {
|
|
@@ -29100,13 +29092,13 @@ function w$1() {
|
|
|
29100
29092
|
if (i$5) return f$3;
|
|
29101
29093
|
i$5 = 1;
|
|
29102
29094
|
const v$5 = (e$8, r$4) => {
|
|
29103
|
-
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$
|
|
29095
|
+
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$5(e$8, r$4) : p$3(e$8, r$4);
|
|
29104
29096
|
else throw Error("cannot encode number outside of javascript safe integer range");
|
|
29105
29097
|
return r$4;
|
|
29106
29098
|
}, p$3 = (e$8, r$4) => {
|
|
29107
29099
|
r$4[0] = 128;
|
|
29108
29100
|
for (var o$7 = r$4.length; o$7 > 1; o$7--) r$4[o$7 - 1] = e$8 & 255, e$8 = Math.floor(e$8 / 256);
|
|
29109
|
-
}, g$
|
|
29101
|
+
}, g$5 = (e$8, r$4) => {
|
|
29110
29102
|
r$4[0] = 255;
|
|
29111
29103
|
var o$7 = false;
|
|
29112
29104
|
e$8 = e$8 * -1;
|
|
@@ -29141,14 +29133,14 @@ var k, w;
|
|
|
29141
29133
|
function E() {
|
|
29142
29134
|
if (w) return k;
|
|
29143
29135
|
w = 1;
|
|
29144
|
-
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$
|
|
29136
|
+
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$6 = Symbol("slurp"), a$13 = Symbol("type");
|
|
29145
29137
|
class B$2 {
|
|
29146
29138
|
constructor(e$8, t$9, i$9, h$6) {
|
|
29147
29139
|
this.cksumValid = false, this.needPax = false, this.nullBlock = false, this.block = null, this.path = null, this.mode = null, this.uid = null, this.gid = null, this.size = null, this.mtime = null, this.cksum = null, this[a$13] = "0", this.linkpath = null, this.uname = null, this.gname = null, this.devmaj = 0, this.devmin = 0, this.atime = null, this.ctime = null, Buffer.isBuffer(e$8) ? this.decode(e$8, t$9 || 0, i$9, h$6) : e$8 && this.set(e$8);
|
|
29148
29140
|
}
|
|
29149
29141
|
decode(e$8, t$9, i$9, h$6) {
|
|
29150
29142
|
if (t$9 || (t$9 = 0), !e$8 || !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29151
|
-
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$
|
|
29143
|
+
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$6](i$9), this[P$6](h$6, true), this[a$13] = d$5(e$8, t$9 + 156, 1), this[a$13] === "" && (this[a$13] = "0"), this[a$13] === "0" && this.path.slice(-1) === "/" && (this[a$13] = "5"), this[a$13] === "5" && (this.size = 0), this.linkpath = d$5(e$8, t$9 + 157, 100), e$8.slice(t$9 + 257, t$9 + 265).toString() === "ustar\x0000") if (this.uname = d$5(e$8, t$9 + 265, 32), this.gname = d$5(e$8, t$9 + 297, 32), this.devmaj = r$4(e$8, t$9 + 329, 8), this.devmin = r$4(e$8, t$9 + 337, 8), e$8[t$9 + 475] !== 0) this.path = d$5(e$8, t$9 + 345, 155) + "/" + this.path;
|
|
29152
29144
|
else {
|
|
29153
29145
|
const n$6 = d$5(e$8, t$9 + 345, 130);
|
|
29154
29146
|
n$6 && (this.path = n$6 + "/" + this.path), this.atime = o$7(e$8, t$9 + 476, 12), this.ctime = o$7(e$8, t$9 + 488, 12);
|
|
@@ -29158,13 +29150,13 @@ function E() {
|
|
|
29158
29150
|
for (let n$6 = t$9 + 156; n$6 < t$9 + 512; n$6++) l$3 += e$8[n$6];
|
|
29159
29151
|
this.cksumValid = l$3 === this.cksum, this.cksum === null && l$3 === 256 && (this.nullBlock = true);
|
|
29160
29152
|
}
|
|
29161
|
-
[P$
|
|
29153
|
+
[P$6](e$8, t$9) {
|
|
29162
29154
|
for (const i$9 in e$8) e$8[i$9] !== null && e$8[i$9] !== void 0 && !(t$9 && i$9 === "path") && (this[i$9] = e$8[i$9]);
|
|
29163
29155
|
}
|
|
29164
29156
|
encode(e$8, t$9) {
|
|
29165
29157
|
if (e$8 || (e$8 = this.block = Buffer.alloc(512), t$9 = 0), t$9 || (t$9 = 0), !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29166
29158
|
const i$9 = this.ctime || this.atime ? 130 : 155, h$6 = L$5(this.path || "", i$9), l$3 = h$6[0], n$6 = h$6[1];
|
|
29167
|
-
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$
|
|
29159
|
+
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$5(e$8, t$9 + 136, 12, this.mtime) || this.needPax, e$8[t$9 + 156] = this[a$13].charCodeAt(0), this.needPax = m$5(e$8, t$9 + 157, 100, this.linkpath) || this.needPax, e$8.write("ustar\x0000", t$9 + 257, 8), this.needPax = m$5(e$8, t$9 + 265, 32, this.uname) || this.needPax, this.needPax = m$5(e$8, t$9 + 297, 32, this.gname) || this.needPax, this.needPax = c$8(e$8, t$9 + 329, 8, this.devmaj) || this.needPax, this.needPax = c$8(e$8, t$9 + 337, 8, this.devmin) || this.needPax, this.needPax = m$5(e$8, t$9 + 345, i$9, n$6) || this.needPax, e$8[t$9 + 475] !== 0 ? this.needPax = m$5(e$8, t$9 + 345, 155, n$6) || this.needPax : (this.needPax = m$5(e$8, t$9 + 345, 130, n$6) || this.needPax, this.needPax = g$5(e$8, t$9 + 476, 12, this.atime) || this.needPax, this.needPax = g$5(e$8, t$9 + 488, 12, this.ctime) || this.needPax);
|
|
29168
29160
|
let S$7 = 256;
|
|
29169
29161
|
for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
|
|
29170
29162
|
for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
|
|
@@ -29214,7 +29206,7 @@ function E() {
|
|
|
29214
29206
|
}, d$5 = (s$9, e$8, t$9) => s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*/, ""), o$7 = (s$9, e$8, t$9) => N$6(r$4(s$9, e$8, t$9)), N$6 = (s$9) => s$9 === null ? null : /* @__PURE__ */ new Date(s$9 * 1e3), r$4 = (s$9, e$8, t$9) => s$9[e$8] & 128 ? y$7.parse(s$9.slice(e$8, e$8 + t$9)) : j$6(s$9, e$8, t$9), q$6 = (s$9) => isNaN(s$9) ? null : s$9, j$6 = (s$9, e$8, t$9) => q$6(parseInt(s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v$5 = {
|
|
29215
29207
|
12: 8589934591,
|
|
29216
29208
|
8: 2097151
|
|
29217
|
-
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$
|
|
29209
|
+
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : c$8(s$9, e$8, t$9, i$9.getTime() / 1e3), A$2 = new Array(156).join("\0"), m$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : (s$9.write(i$9 + A$2, e$8, t$9, "utf8"), i$9.length !== Buffer.byteLength(i$9) || i$9.length > t$9);
|
|
29218
29210
|
return k = B$2, k;
|
|
29219
29211
|
}
|
|
29220
29212
|
var e$3, t$3$1;
|
|
@@ -29366,7 +29358,7 @@ function ft() {
|
|
|
29366
29358
|
const H$8 = typeof process == "object" && process ? process : {
|
|
29367
29359
|
stdout: null,
|
|
29368
29360
|
stderr: null
|
|
29369
|
-
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$
|
|
29361
|
+
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$5 = Symbol("emittedError"), B$2 = Symbol("closed"), Y$3 = Symbol("read"), T$8 = Symbol("flush"), $$2 = Symbol("flushChunk"), f$7 = Symbol("encoding"), c$8 = Symbol("decoder"), M$5 = Symbol("flowing"), S$7 = Symbol("paused"), b$11 = Symbol("resume"), i$9 = Symbol("buffer"), a$13 = Symbol("pipes"), n$6 = Symbol("bufferLength"), j$6 = Symbol("bufferPush"), I$4 = Symbol("bufferShift"), o$7 = Symbol("objectMode"), r$4 = Symbol("destroyed"), P$6 = Symbol("error"), x$5 = Symbol("emitData"), V$4 = Symbol("emitEnd"), N$6 = Symbol("emitEnd2"), p$3 = Symbol("async"), _$7 = Symbol("abort"), O$9 = Symbol("aborted"), E$5 = Symbol("signal"), w$7 = (h$6) => Promise.resolve().then(h$6), J$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K$6 = J$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W$5 = J$5 && Symbol.iterator || Symbol("iterator not implemented"), k$6 = (h$6) => h$6 === "end" || h$6 === "finish" || h$6 === "prefinish", tt$3 = (h$6) => h$6 instanceof ArrayBuffer || typeof h$6 == "object" && h$6.constructor && h$6.constructor.name === "ArrayBuffer" && h$6.byteLength >= 0, et$1 = (h$6) => !Buffer.isBuffer(h$6) && ArrayBuffer.isView(h$6);
|
|
29370
29362
|
class z$6 {
|
|
29371
29363
|
constructor(t$9, e$8, s$9) {
|
|
29372
29364
|
this.src = t$9, this.dest = e$8, this.opts = s$9, this.ondrain = () => t$9[b$11](), e$8.on("drain", this.ondrain);
|
|
@@ -29389,7 +29381,7 @@ function ft() {
|
|
|
29389
29381
|
}
|
|
29390
29382
|
class F$6 extends q$6 {
|
|
29391
29383
|
constructor(t$9) {
|
|
29392
|
-
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$
|
|
29384
|
+
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$5] = null, this.writable = true, this.readable = true, this[n$6] = 0, this[r$4] = false, t$9 && t$9.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i$9] }), t$9 && t$9.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a$13] }), this[E$5] = t$9 && t$9.signal, this[O$9] = false, this[E$5] && (this[E$5].addEventListener("abort", () => this[_$7]()), this[E$5].aborted && this[_$7]());
|
|
29393
29385
|
}
|
|
29394
29386
|
get bufferLength() {
|
|
29395
29387
|
return this[n$6];
|
|
@@ -29491,7 +29483,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29491
29483
|
}
|
|
29492
29484
|
on(t$9, e$8) {
|
|
29493
29485
|
const s$9 = super.on(t$9, e$8);
|
|
29494
|
-
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$
|
|
29486
|
+
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$5] && (this[p$3] ? w$7(() => e$8.call(this, this[g$5])) : e$8.call(this, this[g$5])), s$9;
|
|
29495
29487
|
}
|
|
29496
29488
|
get emittedEnd() {
|
|
29497
29489
|
return this[y$7];
|
|
@@ -29508,7 +29500,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29508
29500
|
const u$8 = super.emit("close");
|
|
29509
29501
|
return this.removeAllListeners("close"), u$8;
|
|
29510
29502
|
} else if (t$9 === "error") {
|
|
29511
|
-
this[g$
|
|
29503
|
+
this[g$5] = e$8, super.emit(P$6, e$8);
|
|
29512
29504
|
const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
|
|
29513
29505
|
return this[d$5](), u$8;
|
|
29514
29506
|
} else if (t$9 === "resume") {
|
|
@@ -29593,12 +29585,12 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29593
29585
|
}
|
|
29594
29586
|
[W$5]() {
|
|
29595
29587
|
let t$9 = false;
|
|
29596
|
-
const e$8 = () => (this.pause(), this.removeListener(P$
|
|
29588
|
+
const e$8 = () => (this.pause(), this.removeListener(P$6, e$8), this.removeListener(r$4, e$8), this.removeListener("end", e$8), t$9 = true, { done: true }), s$9 = () => {
|
|
29597
29589
|
if (t$9) return e$8();
|
|
29598
29590
|
const l$3 = this.read();
|
|
29599
29591
|
return l$3 === null ? e$8() : { value: l$3 };
|
|
29600
29592
|
};
|
|
29601
|
-
return this.once("end", e$8), this.once(P$
|
|
29593
|
+
return this.once("end", e$8), this.once(P$6, e$8), this.once(r$4, e$8), {
|
|
29602
29594
|
next: s$9,
|
|
29603
29595
|
throw: e$8,
|
|
29604
29596
|
return: e$8,
|
|
@@ -29840,7 +29832,7 @@ function tt$1() {
|
|
|
29840
29832
|
const I$4 = typeof process == "object" && process ? process : {
|
|
29841
29833
|
stdout: null,
|
|
29842
29834
|
stderr: null
|
|
29843
|
-
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$
|
|
29835
|
+
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$6 = Symbol("read"), L$5 = Symbol("flush"), _$7 = Symbol("flushChunk"), h$6 = Symbol("encoding"), m$5 = Symbol("decoder"), M$5 = Symbol("flowing"), y$7 = Symbol("paused"), p$3 = Symbol("resume"), s$9 = Symbol("bufferLength"), T$8 = Symbol("bufferPush"), B$2 = Symbol("bufferShift"), r$4 = Symbol("objectMode"), n$6 = Symbol("destroyed"), D$4 = Symbol("emitData"), F$6 = Symbol("emitEnd"), R$7 = Symbol("emitEnd2"), d$5 = Symbol("async"), b$11 = (o$7) => Promise.resolve().then(o$7), C$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $$2 = C$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G$5 = C$5 && Symbol.iterator || Symbol("iterator not implemented"), V$4 = (o$7) => o$7 === "end" || o$7 === "finish" || o$7 === "prefinish", v$5 = (o$7) => o$7 instanceof ArrayBuffer || typeof o$7 == "object" && o$7.constructor && o$7.constructor.name === "ArrayBuffer" && o$7.byteLength >= 0, J$5 = (o$7) => !Buffer.isBuffer(o$7) && ArrayBuffer.isView(o$7);
|
|
29844
29836
|
class U$5 {
|
|
29845
29837
|
constructor(t$9, e$8, i$9) {
|
|
29846
29838
|
this.src = t$9, this.dest = e$8, this.opts = i$9, this.ondrain = () => t$9[p$3](), e$8.on("drain", this.ondrain);
|
|
@@ -29902,10 +29894,10 @@ function tt$1() {
|
|
|
29902
29894
|
if (this[n$6]) return null;
|
|
29903
29895
|
if (this[s$9] === 0 || t$9 === 0 || t$9 > this[s$9]) return this[a$13](), null;
|
|
29904
29896
|
this[r$4] && (t$9 = null), this.buffer.length > 1 && !this[r$4] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[s$9])]);
|
|
29905
|
-
const e$8 = this[P$
|
|
29897
|
+
const e$8 = this[P$6](t$9 || null, this.buffer[0]);
|
|
29906
29898
|
return this[a$13](), e$8;
|
|
29907
29899
|
}
|
|
29908
|
-
[P$
|
|
29900
|
+
[P$6](t$9, e$8) {
|
|
29909
29901
|
return t$9 === e$8.length || t$9 === null ? this[B$2]() : (this.buffer[0] = e$8.slice(t$9), e$8 = e$8.slice(0, t$9), this[s$9] -= t$9), this.emit("data", e$8), !this.buffer.length && !this[u$8] && this.emit("drain"), e$8;
|
|
29910
29902
|
}
|
|
29911
29903
|
end(t$9, e$8, i$9) {
|
|
@@ -30032,18 +30024,18 @@ while (this[_$7](this[B$2]()));
|
|
|
30032
30024
|
});
|
|
30033
30025
|
if (this[u$8]) return Promise.resolve({ done: true });
|
|
30034
30026
|
let i$9 = null, l$3 = null;
|
|
30035
|
-
const f$7 = (g$
|
|
30036
|
-
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$
|
|
30037
|
-
}, A$2 = (g$
|
|
30027
|
+
const f$7 = (g$5) => {
|
|
30028
|
+
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$5);
|
|
30029
|
+
}, A$2 = (g$5) => {
|
|
30038
30030
|
this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
|
|
30039
|
-
value: g$
|
|
30031
|
+
value: g$5,
|
|
30040
30032
|
done: !!this[u$8]
|
|
30041
30033
|
});
|
|
30042
30034
|
}, O$9 = () => {
|
|
30043
30035
|
this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
|
|
30044
30036
|
}, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
|
|
30045
|
-
return new Promise((g$
|
|
30046
|
-
l$3 = z$6, i$9 = g$
|
|
30037
|
+
return new Promise((g$5, z$6) => {
|
|
30038
|
+
l$3 = z$6, i$9 = g$5, this.once(n$6, W$5), this.once("error", f$7), this.once("end", O$9), this.once("data", A$2);
|
|
30047
30039
|
});
|
|
30048
30040
|
} };
|
|
30049
30041
|
}
|
|
@@ -30068,7 +30060,7 @@ var C;
|
|
|
30068
30060
|
function J() {
|
|
30069
30061
|
if (C) return i$3;
|
|
30070
30062
|
C = 1;
|
|
30071
|
-
const w$7 = j$1, n$6 = P
|
|
30063
|
+
const w$7 = j$1, n$6 = P.Buffer, z$6 = O$2, u$8 = i$3.constants = T(), L$5 = tt$1(), E$5 = n$6.concat, c$8 = Symbol("_superWrite");
|
|
30072
30064
|
class d$5 extends Error {
|
|
30073
30065
|
constructor(s$9) {
|
|
30074
30066
|
super("zlib: " + s$9.message), this.code = s$9.code, this.errno = s$9.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + s$9.message, Error.captureStackTrace(this, this.constructor);
|
|
@@ -30077,11 +30069,11 @@ function J() {
|
|
|
30077
30069
|
return "ZlibError";
|
|
30078
30070
|
}
|
|
30079
30071
|
}
|
|
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$
|
|
30072
|
+
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$5 = Symbol("ended");
|
|
30081
30073
|
class x$5 extends L$5 {
|
|
30082
30074
|
constructor(s$9, e$8) {
|
|
30083
30075
|
if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
30084
|
-
super(s$9), this[f$7] = false, this[g$
|
|
30076
|
+
super(s$9), this[f$7] = false, this[g$5] = false, this[Z$4] = s$9, this[p$3] = s$9.flush, this[I$4] = s$9.finishFlush;
|
|
30085
30077
|
try {
|
|
30086
30078
|
this[t$9] = new z$6[e$8](s$9);
|
|
30087
30079
|
} catch (i$9) {
|
|
@@ -30101,10 +30093,10 @@ function J() {
|
|
|
30101
30093
|
this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
|
|
30102
30094
|
}
|
|
30103
30095
|
end(s$9, e$8, i$9) {
|
|
30104
|
-
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$
|
|
30096
|
+
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$5] = true, super.end(null, null, i$9);
|
|
30105
30097
|
}
|
|
30106
30098
|
get ended() {
|
|
30107
|
-
return this[g$
|
|
30099
|
+
return this[g$5];
|
|
30108
30100
|
}
|
|
30109
30101
|
write(s$9, e$8, i$9) {
|
|
30110
30102
|
if (typeof e$8 == "function" && (i$9 = e$8, e$8 = "utf8"), typeof s$9 == "string" && (s$9 = n$6.from(s$9, e$8)), this[f$7]) return;
|
|
@@ -30222,8 +30214,8 @@ var O$1, F$2;
|
|
|
30222
30214
|
function rt() {
|
|
30223
30215
|
if (F$2) return O$1;
|
|
30224
30216
|
F$2 = 1;
|
|
30225
|
-
const P$
|
|
30226
|
-
return O$1 = P$
|
|
30217
|
+
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;
|
|
30218
|
+
return O$1 = P$6(class extends v$5 {
|
|
30227
30219
|
constructor(t$9) {
|
|
30228
30220
|
t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
|
|
30229
30221
|
(this[h$6] === "begin" || this[E$1$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
|
@@ -30359,17 +30351,17 @@ while (this[U$5](this[f$7].shift()));
|
|
|
30359
30351
|
if (this[N$6] = true, this[n$6]) {
|
|
30360
30352
|
this[D$4](t$9);
|
|
30361
30353
|
const i$9 = this[n$6];
|
|
30362
|
-
this[n$6] = null, this[g$
|
|
30363
|
-
} else this[g$
|
|
30354
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30355
|
+
} else this[g$5](t$9);
|
|
30364
30356
|
for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
|
|
30365
30357
|
const i$9 = this[n$6];
|
|
30366
|
-
this[n$6] = null, this[g$
|
|
30358
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30367
30359
|
}
|
|
30368
30360
|
this[N$6] = false;
|
|
30369
30361
|
}
|
|
30370
30362
|
(!this[n$6] || this[u$8]) && this[M$5]();
|
|
30371
30363
|
}
|
|
30372
|
-
[g$
|
|
30364
|
+
[g$5](t$9) {
|
|
30373
30365
|
let i$9 = 0;
|
|
30374
30366
|
const s$9 = t$9.length;
|
|
30375
30367
|
for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
|
|
@@ -30407,7 +30399,7 @@ function X() {
|
|
|
30407
30399
|
j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
|
|
30408
30400
|
};
|
|
30409
30401
|
}
|
|
30410
|
-
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$
|
|
30402
|
+
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$5 = Symbol("_ended"), s$9 = Symbol("_fd"), B$2 = Symbol("_finished"), o$7 = Symbol("_flags"), x$5 = Symbol("_flush"), z$6 = Symbol("_handleChunk"), T$8 = Symbol("_makeBuf"), q$6 = Symbol("_mode"), E$5 = Symbol("_needDrain"), d$5 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$5 = Symbol("_onread"), _$7 = Symbol("_onwrite"), a$13 = Symbol("_open"), l$3 = Symbol("_path"), u$8 = Symbol("_pos"), n$6 = Symbol("_queue"), S$7 = Symbol("_read"), M$5 = Symbol("_readSize"), f$7 = Symbol("_reading"), k$6 = Symbol("_remain"), N$6 = Symbol("_size"), C$5 = Symbol("_write"), b$11 = Symbol("_writing"), F$6 = Symbol("_defaultFlag"), p$3 = Symbol("_errored");
|
|
30411
30403
|
class D$4 extends H$8 {
|
|
30412
30404
|
constructor(t$9, e$8) {
|
|
30413
30405
|
if (e$8 = e$8 || {}, super(e$8), this.readable = true, this.writable = false, typeof t$9 != "string") throw new TypeError("path must be a string");
|
|
@@ -30470,7 +30462,7 @@ function X() {
|
|
|
30470
30462
|
}
|
|
30471
30463
|
}
|
|
30472
30464
|
}
|
|
30473
|
-
class P$
|
|
30465
|
+
class P$6 extends D$4 {
|
|
30474
30466
|
[a$13]() {
|
|
30475
30467
|
let t$9 = true;
|
|
30476
30468
|
try {
|
|
@@ -30504,7 +30496,7 @@ function X() {
|
|
|
30504
30496
|
}
|
|
30505
30497
|
class O$9 extends I$4 {
|
|
30506
30498
|
constructor(t$9, e$8) {
|
|
30507
|
-
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$
|
|
30499
|
+
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$5] = false, this[E$5] = false, this[n$6] = [], this[l$3] = t$9, this[s$9] = typeof e$8.fd == "number" ? e$8.fd : null, this[q$6] = e$8.mode === void 0 ? 438 : e$8.mode, this[u$8] = typeof e$8.start == "number" ? e$8.start : null, this[m$5] = typeof e$8.autoClose == "boolean" ? e$8.autoClose : true;
|
|
30508
30500
|
const i$9 = this[u$8] !== null ? "r+" : "w";
|
|
30509
30501
|
this[F$6] = e$8.flags === void 0, this[o$7] = this[F$6] ? i$9 : e$8.flags, this[s$9] === null && this[a$13]();
|
|
30510
30502
|
}
|
|
@@ -30531,19 +30523,19 @@ function X() {
|
|
|
30531
30523
|
this[F$6] && this[o$7] === "r+" && t$9 && t$9.code === "ENOENT" ? (this[o$7] = "w", this[a$13]()) : t$9 ? this[d$5](t$9) : (this[s$9] = e$8, this.emit("open", e$8), this[x$5]());
|
|
30532
30524
|
}
|
|
30533
30525
|
end(t$9, e$8) {
|
|
30534
|
-
return t$9 && this.write(t$9, e$8), this[g$
|
|
30526
|
+
return t$9 && this.write(t$9, e$8), this[g$5] = true, !this[b$11] && !this[n$6].length && typeof this[s$9] == "number" && this[_$7](null, 0), this;
|
|
30535
30527
|
}
|
|
30536
30528
|
write(t$9, e$8) {
|
|
30537
|
-
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$
|
|
30529
|
+
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$5] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), false) : this[s$9] === null || this[b$11] || this[n$6].length ? (this[n$6].push(t$9), this[E$5] = true, false) : (this[b$11] = true, this[C$5](t$9), true);
|
|
30538
30530
|
}
|
|
30539
30531
|
[C$5](t$9) {
|
|
30540
30532
|
r$4.write(this[s$9], t$9, 0, t$9.length, this[u$8], (e$8, i$9) => this[_$7](e$8, i$9));
|
|
30541
30533
|
}
|
|
30542
30534
|
[_$7](t$9, e$8) {
|
|
30543
|
-
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$
|
|
30535
|
+
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$5] && !this[B$2] ? (this[B$2] = true, this[h$6](), this.emit("finish")) : this[E$5] && (this[E$5] = false, this.emit("drain"))));
|
|
30544
30536
|
}
|
|
30545
30537
|
[x$5]() {
|
|
30546
|
-
if (this[n$6].length === 0) this[g$
|
|
30538
|
+
if (this[n$6].length === 0) this[g$5] && this[_$7](null, 0);
|
|
30547
30539
|
else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
|
|
30548
30540
|
else {
|
|
30549
30541
|
const t$9 = this[n$6];
|
|
@@ -30586,7 +30578,7 @@ function X() {
|
|
|
30586
30578
|
}
|
|
30587
30579
|
}
|
|
30588
30580
|
}
|
|
30589
|
-
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$
|
|
30581
|
+
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$6, s$4.WriteStream = O$9, s$4.WriteStreamSync = U$5, s$4;
|
|
30590
30582
|
}
|
|
30591
30583
|
var r$1 = { exports: {} };
|
|
30592
30584
|
var i$2, m$2;
|
|
@@ -30819,7 +30811,7 @@ var R$2;
|
|
|
30819
30811
|
function H() {
|
|
30820
30812
|
if (R$2) return r$1.exports;
|
|
30821
30813
|
R$2 = 1;
|
|
30822
|
-
const g$
|
|
30814
|
+
const g$5 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
|
|
30823
30815
|
class D$4 extends Error {
|
|
30824
30816
|
constructor(e$8, s$9) {
|
|
30825
30817
|
super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
|
|
@@ -30848,7 +30840,7 @@ function H() {
|
|
|
30848
30840
|
};
|
|
30849
30841
|
if (h$6 && v$5(h$6, n$6) === true) return w$7();
|
|
30850
30842
|
if (n$6 === d$5) return I$4(n$6, w$7);
|
|
30851
|
-
if (u$8) return g$
|
|
30843
|
+
if (u$8) return g$5(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
|
|
30852
30844
|
C$5(d$5, y$7(p$3.relative(d$5, n$6)).split("/"), c$8, h$6, m$5, d$5, null, w$7);
|
|
30853
30845
|
};
|
|
30854
30846
|
const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
|
|
@@ -30886,7 +30878,7 @@ function H() {
|
|
|
30886
30878
|
};
|
|
30887
30879
|
if (m$5 && v$5(m$5, n$6) === true) return d$5();
|
|
30888
30880
|
if (n$6 === h$6) return L$5(h$6), d$5();
|
|
30889
|
-
if (a$13) return d$5(g$
|
|
30881
|
+
if (a$13) return d$5(g$5.sync(n$6, r$4));
|
|
30890
30882
|
const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
|
|
30891
30883
|
let S$7 = null;
|
|
30892
30884
|
for (let k$6 = $$2.shift(), o$7 = h$6; k$6 && (o$7 += "/" + k$6); k$6 = $$2.shift()) if (o$7 = y$7(p$3.resolve(o$7)), !v$5(m$5, o$7)) try {
|
|
@@ -30939,7 +30931,7 @@ var u$1, f$1;
|
|
|
30939
30931
|
function z() {
|
|
30940
30932
|
if (f$1) return u$1;
|
|
30941
30933
|
f$1 = 1;
|
|
30942
|
-
const l$3 = j$1, m$5 = a$1(), g$
|
|
30934
|
+
const l$3 = j$1, m$5 = a$1(), g$5 = s(), { join: d$5 } = H$2, q$6 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
|
30943
30935
|
return u$1 = () => {
|
|
30944
30936
|
const i$9 = /* @__PURE__ */ new Map(), c$8 = /* @__PURE__ */ new Map(), v$5 = (e$8) => e$8.split("/").slice(0, -1).reduce((o$7, r$4) => (o$7.length && (r$4 = d$5(o$7[o$7.length - 1], r$4)), o$7.push(r$4 || "/"), o$7), []), a$13 = /* @__PURE__ */ new Set(), w$7 = (e$8) => {
|
|
30945
30937
|
const s$9 = c$8.get(e$8);
|
|
@@ -30965,7 +30957,7 @@ function z() {
|
|
|
30965
30957
|
return {
|
|
30966
30958
|
check: h$6,
|
|
30967
30959
|
reserve: (e$8, s$9) => {
|
|
30968
|
-
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$
|
|
30960
|
+
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$5(d$5(m$5(r$4))).toLowerCase());
|
|
30969
30961
|
const o$7 = new Set(e$8.map((r$4) => v$5(r$4)).reduce((r$4, t$9) => r$4.concat(t$9)));
|
|
30970
30962
|
return c$8.set(s$9, {
|
|
30971
30963
|
dirs: o$7,
|
|
@@ -31006,7 +30998,7 @@ var G, y;
|
|
|
31006
30998
|
function Os() {
|
|
31007
30999
|
if (y) return G;
|
|
31008
31000
|
y = 1;
|
|
31009
|
-
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$
|
|
31001
|
+
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$6 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$5 = Symbol("checkedCwd"), X$1$1 = Ds, J$5 = F(), C$5 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a$13, s$9) => {
|
|
31010
31002
|
if (!C$5) return r$4.unlink(a$13, s$9);
|
|
31011
31003
|
const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
|
|
31012
31004
|
r$4.rename(a$13, i$9, (e$8) => {
|
|
@@ -31029,8 +31021,8 @@ function Os() {
|
|
|
31029
31021
|
class L$5 extends is {
|
|
31030
31022
|
constructor(s$9) {
|
|
31031
31023
|
if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
|
|
31032
|
-
this[P$
|
|
31033
|
-
}, super(s$9), this[g$
|
|
31024
|
+
this[P$6] = true, this[A$2]();
|
|
31025
|
+
}, super(s$9), this[g$5] = false, this.reservations = ts(), this.transform = typeof s$9.transform == "function" ? s$9.transform : null, this.writable = true, this.readable = false, this[$$2] = 0, this[P$6] = false, this.dirCache = s$9.dirCache || /* @__PURE__ */ new Map(), typeof s$9.uid == "number" || typeof s$9.gid == "number") {
|
|
31034
31026
|
if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
|
|
31035
31027
|
if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
31036
31028
|
this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
|
|
@@ -31041,7 +31033,7 @@ function Os() {
|
|
|
31041
31033
|
return (s$9 === "TAR_BAD_ARCHIVE" || s$9 === "TAR_ABORT") && (e$8.recoverable = false), super.warn(s$9, i$9, e$8);
|
|
31042
31034
|
}
|
|
31043
31035
|
[A$2]() {
|
|
31044
|
-
this[P$
|
|
31036
|
+
this[P$6] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
|
|
31045
31037
|
}
|
|
31046
31038
|
[j$6](s$9) {
|
|
31047
31039
|
const i$9 = l$3(s$9.path), e$8 = i$9.split("/");
|
|
@@ -31221,7 +31213,7 @@ function Os() {
|
|
|
31221
31213
|
this[m$5](h$6, s$9), e$8();
|
|
31222
31214
|
return;
|
|
31223
31215
|
}
|
|
31224
|
-
this[g$
|
|
31216
|
+
this[g$5] = true, o$7();
|
|
31225
31217
|
});
|
|
31226
31218
|
}, o$7 = () => {
|
|
31227
31219
|
if (s$9.absolute !== this.cwd) {
|
|
@@ -31253,7 +31245,7 @@ function Os() {
|
|
|
31253
31245
|
as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
|
|
31254
31246
|
});
|
|
31255
31247
|
};
|
|
31256
|
-
this[g$
|
|
31248
|
+
this[g$5] ? o$7() : t$9();
|
|
31257
31249
|
}
|
|
31258
31250
|
[d$5](s$9, i$9, e$8) {
|
|
31259
31251
|
if (s$9) {
|
|
@@ -31288,10 +31280,10 @@ function Os() {
|
|
|
31288
31280
|
return super[d$5](s$9, i$9, () => {});
|
|
31289
31281
|
}
|
|
31290
31282
|
[q$6](s$9) {
|
|
31291
|
-
if (this[v$5](s$9), !this[g$
|
|
31283
|
+
if (this[v$5](s$9), !this[g$5]) {
|
|
31292
31284
|
const o$7 = this[b$11](this.cwd, this.dmode);
|
|
31293
31285
|
if (o$7) return this[m$5](o$7, s$9);
|
|
31294
|
-
this[g$
|
|
31286
|
+
this[g$5] = true;
|
|
31295
31287
|
}
|
|
31296
31288
|
if (s$9.absolute !== this.cwd) {
|
|
31297
31289
|
const o$7 = l$3(w$7.dirname(s$9.absolute));
|
|
@@ -44513,7 +44505,7 @@ function typesPlugin(_fork) {
|
|
|
44513
44505
|
return type;
|
|
44514
44506
|
}
|
|
44515
44507
|
const isString$2 = defBuiltInType("string", "truthy");
|
|
44516
|
-
const isFunction$
|
|
44508
|
+
const isFunction$5 = defBuiltInType("function", function() {});
|
|
44517
44509
|
const isArray$4$1 = defBuiltInType("array", []);
|
|
44518
44510
|
const isObject$4$1 = defBuiltInType("object", {});
|
|
44519
44511
|
const isRegExp = defBuiltInType("RegExp", /./);
|
|
@@ -44524,7 +44516,7 @@ function typesPlugin(_fork) {
|
|
|
44524
44516
|
const isUndefined = defBuiltInType("undefined", void 0);
|
|
44525
44517
|
const builtInTypes$1 = {
|
|
44526
44518
|
string: isString$2,
|
|
44527
|
-
function: isFunction$
|
|
44519
|
+
function: isFunction$5,
|
|
44528
44520
|
array: isArray$4$1,
|
|
44529
44521
|
object: isObject$4$1,
|
|
44530
44522
|
RegExp: isRegExp,
|
|
@@ -44683,7 +44675,7 @@ function typesPlugin(_fork) {
|
|
|
44683
44675
|
var old = nodePrototype[name];
|
|
44684
44676
|
if (isUndefined.check(func)) delete nodePrototype[name];
|
|
44685
44677
|
else {
|
|
44686
|
-
isFunction$
|
|
44678
|
+
isFunction$5.assert(func);
|
|
44687
44679
|
Object.defineProperty(nodePrototype, name, {
|
|
44688
44680
|
enumerable: true,
|
|
44689
44681
|
configurable: true,
|
|
@@ -45468,7 +45460,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45468
45460
|
var NodePath$1 = fork.use(nodePathPlugin);
|
|
45469
45461
|
var isArray$4$1 = types$1.builtInTypes.array;
|
|
45470
45462
|
var isObject$4$1 = types$1.builtInTypes.object;
|
|
45471
|
-
var isFunction$
|
|
45463
|
+
var isFunction$5 = types$1.builtInTypes.function;
|
|
45472
45464
|
var undefined$1;
|
|
45473
45465
|
const PathVisitor$1 = function PathVisitor$2() {
|
|
45474
45466
|
if (!(this instanceof PathVisitor$2)) throw new Error("PathVisitor constructor cannot be invoked without 'new'");
|
|
@@ -45489,7 +45481,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45489
45481
|
for (var i$9 = 0; i$9 < typeNameCount; ++i$9) {
|
|
45490
45482
|
var typeName = typeNameKeys[i$9];
|
|
45491
45483
|
methodName = "visit" + supertypeTable[typeName];
|
|
45492
|
-
if (isFunction$
|
|
45484
|
+
if (isFunction$5.check(visitor[methodName])) methodNameTable[typeName] = methodName;
|
|
45493
45485
|
}
|
|
45494
45486
|
return methodNameTable;
|
|
45495
45487
|
}
|
|
@@ -45504,8 +45496,8 @@ function pathVisitorPlugin(fork) {
|
|
|
45504
45496
|
Vp.constructor = Visitor;
|
|
45505
45497
|
extend(Vp, methods);
|
|
45506
45498
|
extend(Visitor, PathVisitor$1);
|
|
45507
|
-
isFunction$
|
|
45508
|
-
isFunction$
|
|
45499
|
+
isFunction$5.assert(Visitor.fromMethodsObject);
|
|
45500
|
+
isFunction$5.assert(Visitor.visit);
|
|
45509
45501
|
return new Visitor();
|
|
45510
45502
|
};
|
|
45511
45503
|
function extend(target, source) {
|
|
@@ -46684,7 +46676,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
46684
46676
|
* @param aRoot The root path or URL.
|
|
46685
46677
|
* @param aPath The path or URL to be made relative to aRoot.
|
|
46686
46678
|
*/
|
|
46687
|
-
function relative$
|
|
46679
|
+
function relative$2(aRoot, aPath) {
|
|
46688
46680
|
if (aRoot === "") aRoot = ".";
|
|
46689
46681
|
aRoot = aRoot.replace(/\/$/, "");
|
|
46690
46682
|
var level = 0;
|
|
@@ -46697,7 +46689,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
46697
46689
|
}
|
|
46698
46690
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
46699
46691
|
}
|
|
46700
|
-
exports$1.relative = relative$
|
|
46692
|
+
exports$1.relative = relative$2;
|
|
46701
46693
|
var supportsNullProto = function() {
|
|
46702
46694
|
return !("__proto__" in Object.create(null));
|
|
46703
46695
|
}();
|
|
@@ -52685,6 +52677,30 @@ export default withNuxt(
|
|
|
52685
52677
|
`;
|
|
52686
52678
|
}
|
|
52687
52679
|
|
|
52680
|
+
//#endregion
|
|
52681
|
+
//#region ../shared/src/utils/magicast.ts
|
|
52682
|
+
/**
|
|
52683
|
+
* Adds a statement to a function body using AST manipulation.
|
|
52684
|
+
* magicast's $body.push() doesn't work for function-expression types,
|
|
52685
|
+
* so we need to manipulate the AST directly.
|
|
52686
|
+
*/
|
|
52687
|
+
function addStatementToFunctionBody(fn$1, statement) {
|
|
52688
|
+
if (!fn$1 || !fn$1.$ast?.body?.body) return false;
|
|
52689
|
+
const newStatement = {
|
|
52690
|
+
type: "ExpressionStatement",
|
|
52691
|
+
expression: parseExpression(statement).$ast,
|
|
52692
|
+
loc: null
|
|
52693
|
+
};
|
|
52694
|
+
fn$1.$ast.body.body.push(newStatement);
|
|
52695
|
+
return true;
|
|
52696
|
+
}
|
|
52697
|
+
/**
|
|
52698
|
+
* Checks if the export is a function (either 'function' or 'function-expression')
|
|
52699
|
+
*/
|
|
52700
|
+
function isFunction(fn$1) {
|
|
52701
|
+
return fn$1 && (fn$1.$type === "function" || fn$1.$type === "function-expression");
|
|
52702
|
+
}
|
|
52703
|
+
|
|
52688
52704
|
//#endregion
|
|
52689
52705
|
//#region ../shared/src/features/i18n.ts
|
|
52690
52706
|
const i18n$1 = {
|
|
@@ -52700,7 +52716,10 @@ const i18n$1 = {
|
|
|
52700
52716
|
if (options$1) {
|
|
52701
52717
|
options$1.modules ||= [];
|
|
52702
52718
|
options$1.modules.push("@nuxtjs/i18n");
|
|
52703
|
-
options$1.i18n = {
|
|
52719
|
+
options$1.i18n = {
|
|
52720
|
+
defaultLocale: "en",
|
|
52721
|
+
vueI18n: "./i18n.config.ts"
|
|
52722
|
+
};
|
|
52704
52723
|
}
|
|
52705
52724
|
await writeFile(configPath, mod.generate().code);
|
|
52706
52725
|
await writeFile(join(cwd$2, `i18n.config.${ext}`), getNuxtI18nConfig(isTypescript));
|
|
@@ -52718,7 +52737,7 @@ const i18n$1 = {
|
|
|
52718
52737
|
local: "i18n"
|
|
52719
52738
|
});
|
|
52720
52739
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52721
|
-
if (registerPlugins
|
|
52740
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(i18n)");
|
|
52722
52741
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52723
52742
|
}
|
|
52724
52743
|
}
|
|
@@ -52839,7 +52858,7 @@ const pinia = {
|
|
|
52839
52858
|
imported: "createPinia"
|
|
52840
52859
|
});
|
|
52841
52860
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52842
|
-
if (registerPlugins
|
|
52861
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(createPinia())");
|
|
52843
52862
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52844
52863
|
}
|
|
52845
52864
|
}
|
|
@@ -52858,8 +52877,8 @@ export const useAppStore = defineStore('app', {
|
|
|
52858
52877
|
|
|
52859
52878
|
//#endregion
|
|
52860
52879
|
//#region ../shared/src/utils/installFeature.ts
|
|
52861
|
-
async function installFeature(feature, cwd$2) {
|
|
52862
|
-
const templateName =
|
|
52880
|
+
async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
52881
|
+
const templateName = `${type === "vuetify0" ? "vuetify0" : "vue"}/${feature}`;
|
|
52863
52882
|
if (process.env.VUETIFY_CLI_TEMPLATES_PATH) {
|
|
52864
52883
|
const templatePath = join(process.env.VUETIFY_CLI_TEMPLATES_PATH, templateName);
|
|
52865
52884
|
if (existsSync(templatePath)) cpSync(templatePath, cwd$2, { recursive: true });
|
|
@@ -52881,8 +52900,8 @@ async function installFeature(feature, cwd$2) {
|
|
|
52881
52900
|
//#region ../shared/src/features/router.ts
|
|
52882
52901
|
const router = {
|
|
52883
52902
|
name: "router",
|
|
52884
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52885
|
-
await installFeature("router", cwd$2);
|
|
52903
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52904
|
+
await installFeature("router", cwd$2, type);
|
|
52886
52905
|
const ext = isTypescript ? "ts" : "js";
|
|
52887
52906
|
pkg.dependencies = pkg.dependencies || {};
|
|
52888
52907
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52897,14 +52916,14 @@ const router = {
|
|
|
52897
52916
|
local: "router"
|
|
52898
52917
|
});
|
|
52899
52918
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52900
|
-
if (registerPlugins
|
|
52919
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52901
52920
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52902
52921
|
}
|
|
52903
52922
|
};
|
|
52904
52923
|
const fileRouter = {
|
|
52905
52924
|
name: "file-router",
|
|
52906
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52907
|
-
await installFeature("file-router", cwd$2);
|
|
52925
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52926
|
+
await installFeature("file-router", cwd$2, type);
|
|
52908
52927
|
const ext = isTypescript ? "ts" : "js";
|
|
52909
52928
|
pkg.dependencies = pkg.dependencies || {};
|
|
52910
52929
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52921,7 +52940,7 @@ const fileRouter = {
|
|
|
52921
52940
|
local: "router"
|
|
52922
52941
|
});
|
|
52923
52942
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52924
|
-
if (registerPlugins
|
|
52943
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52925
52944
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52926
52945
|
const viteConfigPath = join(cwd$2, `vite.config.m${ext}`);
|
|
52927
52946
|
if (existsSync(viteConfigPath)) {
|
|
@@ -52949,7 +52968,7 @@ import { createRouter, createWebHistory } from 'vue-router'
|
|
|
52949
52968
|
import Index from '@/pages/index.vue'
|
|
52950
52969
|
|
|
52951
52970
|
const router = createRouter({
|
|
52952
|
-
history: createWebHistory(
|
|
52971
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
52953
52972
|
routes: [
|
|
52954
52973
|
{
|
|
52955
52974
|
path: '/',
|
|
@@ -52969,10 +52988,12 @@ function getFileRouterContent(ts) {
|
|
|
52969
52988
|
*/
|
|
52970
52989
|
|
|
52971
52990
|
// Composables
|
|
52972
|
-
import { createRouter, createWebHistory } from 'vue-router
|
|
52991
|
+
import { createRouter, createWebHistory } from 'vue-router'
|
|
52992
|
+
import { routes } from 'vue-router/auto-routes'
|
|
52973
52993
|
|
|
52974
52994
|
const router = createRouter({
|
|
52975
|
-
history: createWebHistory(
|
|
52995
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
52996
|
+
routes,
|
|
52976
52997
|
})
|
|
52977
52998
|
|
|
52978
52999
|
export default router
|
|
@@ -53022,14 +53043,15 @@ const features = {
|
|
|
53022
53043
|
mcp,
|
|
53023
53044
|
"vuetify-nuxt-module": vuetifyNuxtModule
|
|
53024
53045
|
};
|
|
53025
|
-
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints) {
|
|
53046
|
+
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints, type) {
|
|
53026
53047
|
for (const name of featureNames) {
|
|
53027
53048
|
const feature = features[name];
|
|
53028
53049
|
if (feature) await feature.apply({
|
|
53029
53050
|
cwd: cwd$2,
|
|
53030
53051
|
pkg,
|
|
53031
53052
|
isTypescript,
|
|
53032
|
-
clientHints
|
|
53053
|
+
clientHints,
|
|
53054
|
+
type
|
|
53033
53055
|
});
|
|
53034
53056
|
}
|
|
53035
53057
|
}
|
|
@@ -53236,8 +53258,8 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
53236
53258
|
let pkg;
|
|
53237
53259
|
pkg = await readPackageJSON(join(projectRoot, "package.json"));
|
|
53238
53260
|
callbacks.onConfigStart?.();
|
|
53239
|
-
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints);
|
|
53240
|
-
if (platform$2 === "nuxt" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53261
|
+
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints, type);
|
|
53262
|
+
if (platform$2 === "nuxt" && type !== "vuetify0" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53241
53263
|
cwd: projectRoot,
|
|
53242
53264
|
pkg,
|
|
53243
53265
|
isTypescript: !!typescript$1
|
|
@@ -53318,8 +53340,8 @@ async function createVuetify(options$1) {
|
|
|
53318
53340
|
onConvertEnd: () => {
|
|
53319
53341
|
s$9.stop(i18n.t("spinners.convert.done"));
|
|
53320
53342
|
},
|
|
53321
|
-
onInstallStart: (pm) => {
|
|
53322
|
-
s$9.start(i18n.t("spinners.dependencies.installing_with", { pm }));
|
|
53343
|
+
onInstallStart: (pm$1) => {
|
|
53344
|
+
s$9.start(i18n.t("spinners.dependencies.installing_with", { pm: pm$1 }));
|
|
53323
53345
|
},
|
|
53324
53346
|
onInstallEnd: () => {
|
|
53325
53347
|
s$9.stop(i18n.t("spinners.dependencies.installed"));
|
|
@@ -53330,10 +53352,19 @@ async function createVuetify(options$1) {
|
|
|
53330
53352
|
console.error(`Failed to create project: ${error}`);
|
|
53331
53353
|
throw error;
|
|
53332
53354
|
}
|
|
53355
|
+
const relativePath = relative(cwd$2, projectRoot);
|
|
53356
|
+
const pm = (context.packageManager === "none" ? getUserAgent() : context.packageManager) || "npm";
|
|
53357
|
+
const lines = [];
|
|
53358
|
+
if (relativePath) lines.push(`cd ${relativePath}`);
|
|
53359
|
+
if (!context.install) lines.push(`${pm} install`);
|
|
53360
|
+
lines.push(`${pm} ${pm === "npm" ? "run " : ""}dev`);
|
|
53333
53361
|
Wt(i18n.t("messages.create.generated", {
|
|
53334
53362
|
name: context.name,
|
|
53335
|
-
path:
|
|
53363
|
+
path: relativePath
|
|
53336
53364
|
}));
|
|
53365
|
+
Tt(lines.join("\n"), "Next steps", { withGuide: false });
|
|
53366
|
+
const blue$4 = ansi256(33);
|
|
53367
|
+
console.log(`${blue$4(link("Docs", "https://0.vuetifyjs.com/guide"))} ⸱ ${blue$4(link("Discord", "https://discord.gg/vK6T89eNP7"))} ⸱ ${blue$4(link("Support Us", "https://opencollective.com/vuetify"))}\n`);
|
|
53337
53368
|
}
|
|
53338
53369
|
|
|
53339
53370
|
//#endregion
|
|
@@ -53378,7 +53409,7 @@ function isInsideContainer() {
|
|
|
53378
53409
|
//#endregion
|
|
53379
53410
|
//#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
|
|
53380
53411
|
const isWsl = () => {
|
|
53381
|
-
if (
|
|
53412
|
+
if (g$1.platform !== "linux") return false;
|
|
53382
53413
|
if (os.release().toLowerCase().includes("microsoft")) {
|
|
53383
53414
|
if (isInsideContainer()) return false;
|
|
53384
53415
|
return true;
|
|
@@ -53389,12 +53420,12 @@ const isWsl = () => {
|
|
|
53389
53420
|
return false;
|
|
53390
53421
|
}
|
|
53391
53422
|
};
|
|
53392
|
-
var is_wsl_default =
|
|
53423
|
+
var is_wsl_default = g$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
53393
53424
|
|
|
53394
53425
|
//#endregion
|
|
53395
53426
|
//#region ../../node_modules/.pnpm/powershell-utils@0.1.0/node_modules/powershell-utils/index.js
|
|
53396
53427
|
const execFile$2 = promisify(childProcess.execFile);
|
|
53397
|
-
const powerShellPath$1 = () => `${
|
|
53428
|
+
const powerShellPath$1 = () => `${g$1.env.SYSTEMROOT || g$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
53398
53429
|
const executePowerShell = async (command, options$1 = {}) => {
|
|
53399
53430
|
const { powerShellPath: psPath, ...execFileOptions } = options$1;
|
|
53400
53431
|
const encodedCommand = executePowerShell.encodeCommand(command);
|
|
@@ -53495,7 +53526,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
53495
53526
|
//#region ../../node_modules/.pnpm/default-browser-id@5.0.0/node_modules/default-browser-id/index.js
|
|
53496
53527
|
const execFileAsync$3 = promisify(execFile);
|
|
53497
53528
|
async function defaultBrowserId() {
|
|
53498
|
-
if (
|
|
53529
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53499
53530
|
const { stdout: stdout$1 } = await execFileAsync$3("defaults", [
|
|
53500
53531
|
"read",
|
|
53501
53532
|
"com.apple.LaunchServices/com.apple.launchservices.secure",
|
|
@@ -53508,7 +53539,7 @@ async function defaultBrowserId() {
|
|
|
53508
53539
|
//#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
53509
53540
|
const execFileAsync$2 = promisify(execFile);
|
|
53510
53541
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
53511
|
-
if (
|
|
53542
|
+
if (g$1.platform !== "darwin") throw new Error("macOS only");
|
|
53512
53543
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
53513
53544
|
const execOptions = {};
|
|
53514
53545
|
if (signal) execOptions.signal = signal;
|
|
@@ -53617,14 +53648,14 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
|
|
|
53617
53648
|
const execFileAsync = promisify(execFile);
|
|
53618
53649
|
const titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x$5) => x$5.toUpperCase());
|
|
53619
53650
|
async function defaultBrowser() {
|
|
53620
|
-
if (
|
|
53651
|
+
if (g$1.platform === "darwin") {
|
|
53621
53652
|
const id = await defaultBrowserId();
|
|
53622
53653
|
return {
|
|
53623
53654
|
name: await bundleName(id),
|
|
53624
53655
|
id
|
|
53625
53656
|
};
|
|
53626
53657
|
}
|
|
53627
|
-
if (
|
|
53658
|
+
if (g$1.platform === "linux") {
|
|
53628
53659
|
const { stdout: stdout$1 } = await execFileAsync("xdg-mime", [
|
|
53629
53660
|
"query",
|
|
53630
53661
|
"default",
|
|
@@ -53636,13 +53667,13 @@ async function defaultBrowser() {
|
|
|
53636
53667
|
id
|
|
53637
53668
|
};
|
|
53638
53669
|
}
|
|
53639
|
-
if (
|
|
53670
|
+
if (g$1.platform === "win32") return defaultBrowser$1();
|
|
53640
53671
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
53641
53672
|
}
|
|
53642
53673
|
|
|
53643
53674
|
//#endregion
|
|
53644
53675
|
//#region ../../node_modules/.pnpm/is-in-ssh@1.0.0/node_modules/is-in-ssh/index.js
|
|
53645
|
-
const isInSsh = Boolean(
|
|
53676
|
+
const isInSsh = Boolean(g$1.env.SSH_CONNECTION || g$1.env.SSH_CLIENT || g$1.env.SSH_TTY);
|
|
53646
53677
|
var is_in_ssh_default = isInSsh;
|
|
53647
53678
|
|
|
53648
53679
|
//#endregion
|
|
@@ -53650,7 +53681,7 @@ var is_in_ssh_default = isInSsh;
|
|
|
53650
53681
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
53651
53682
|
const __dirname$1 = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
53652
53683
|
const localXdgOpenPath = path.join(__dirname$1, "xdg-open");
|
|
53653
|
-
const { platform, arch } =
|
|
53684
|
+
const { platform, arch } = g$1;
|
|
53654
53685
|
const tryEachApp = async (apps$1, opener) => {
|
|
53655
53686
|
if (apps$1.length === 0) return;
|
|
53656
53687
|
const errors$1 = [];
|
|
@@ -53763,7 +53794,7 @@ const baseOpen = async (options$1) => {
|
|
|
53763
53794
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
53764
53795
|
exeLocalXdgOpen = true;
|
|
53765
53796
|
} catch {}
|
|
53766
|
-
command =
|
|
53797
|
+
command = g$1.versions.electron ?? (platform === "android" || isBundled || !exeLocalXdgOpen) ? "xdg-open" : localXdgOpenPath;
|
|
53767
53798
|
}
|
|
53768
53799
|
if (appArguments.length > 0) cliArguments.push(...appArguments);
|
|
53769
53800
|
if (!options$1.wait) {
|
|
@@ -53955,10 +53986,6 @@ const LINKS = {
|
|
|
53955
53986
|
[ESLINT_CONFIG]: link(ESLINT_CONFIG, "https://npmjs.org/package/eslint-config-vuetify"),
|
|
53956
53987
|
[NUXT_ESLINT]: link(NUXT_ESLINT, "https://npmjs.org/package/@nuxt/eslint")
|
|
53957
53988
|
};
|
|
53958
|
-
const configData = `import vuetify from 'eslint-config-vuetify'
|
|
53959
|
-
|
|
53960
|
-
export default vuetify()
|
|
53961
|
-
`;
|
|
53962
53989
|
|
|
53963
53990
|
//#endregion
|
|
53964
53991
|
//#region ../shared/src/functions/eslint.ts
|
|
@@ -54029,7 +54056,7 @@ async function addEslint() {
|
|
|
54029
54056
|
Nt(description$1);
|
|
54030
54057
|
const status = await getEslintStatus();
|
|
54031
54058
|
const { packagesToInstall, packagesToUpgrade, isEslintSupportsConcurrency, isNuxt, nuxtConfigUrl } = status;
|
|
54032
|
-
tryResolveFilePath("tsconfig.json");
|
|
54059
|
+
const isTypescript = !!tryResolveFilePath("tsconfig.json");
|
|
54033
54060
|
const configUrl = tryResolveFilePath("./eslint.config", { extensions: [
|
|
54034
54061
|
".js",
|
|
54035
54062
|
".mjs",
|
|
@@ -54064,8 +54091,9 @@ async function addEslint() {
|
|
|
54064
54091
|
}
|
|
54065
54092
|
}
|
|
54066
54093
|
let overwriteConfig = false;
|
|
54067
|
-
overwriteConfig = await (configUrl ? Mt({ message: i18n.t("prompts.eslint.overwrite", { file: underline(relative(process.cwd(), configUrl)) }) }) : Mt({ message: i18n.t("prompts.eslint.create") }));
|
|
54094
|
+
overwriteConfig = await (configUrl ? Mt({ message: i18n.t("prompts.eslint.overwrite", { file: underline(relative$1(process.cwd(), configUrl)) }) }) : Mt({ message: i18n.t("prompts.eslint.create") }));
|
|
54068
54095
|
if (overwriteConfig === true) {
|
|
54096
|
+
const configData = isNuxt ? getNuxtEslintContent(isTypescript) : getVueEslintContent(isTypescript);
|
|
54069
54097
|
const s$9 = Se();
|
|
54070
54098
|
s$9.start(i18n.t("spinners.eslint.setup_config"));
|
|
54071
54099
|
await writeFile(configUrl ?? "eslint.config.mjs", configData);
|
|
@@ -54282,51 +54310,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
|
|
|
54282
54310
|
//#endregion
|
|
54283
54311
|
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
54284
54312
|
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
54285
|
-
const isWindows =
|
|
54313
|
+
const isWindows = g$1.platform === "win32";
|
|
54286
54314
|
const readRc = (filePath) => {
|
|
54287
54315
|
try {
|
|
54288
54316
|
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
54289
54317
|
} catch {}
|
|
54290
54318
|
};
|
|
54291
|
-
const getEnvNpmPrefix = () => Object.keys(
|
|
54319
|
+
const getEnvNpmPrefix = () => Object.keys(g$1.env).reduce((prefix$1, name) => /^npm_config_prefix$/i.test(name) ? g$1.env[name] : prefix$1, void 0);
|
|
54292
54320
|
const getGlobalNpmrc = () => {
|
|
54293
|
-
if (isWindows &&
|
|
54294
|
-
if (
|
|
54295
|
-
const homebrewPrefix =
|
|
54321
|
+
if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
|
|
54322
|
+
if (g$1.execPath.includes("/Cellar/node")) {
|
|
54323
|
+
const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
|
|
54296
54324
|
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
54297
54325
|
}
|
|
54298
|
-
if (
|
|
54299
|
-
const installDir = path.dirname(path.dirname(
|
|
54326
|
+
if (g$1.execPath.endsWith("/bin/node")) {
|
|
54327
|
+
const installDir = path.dirname(path.dirname(g$1.execPath));
|
|
54300
54328
|
return path.join(installDir, "/etc/npmrc");
|
|
54301
54329
|
}
|
|
54302
54330
|
};
|
|
54303
54331
|
const getDefaultNpmPrefix = () => {
|
|
54304
54332
|
if (isWindows) {
|
|
54305
|
-
const { APPDATA } =
|
|
54306
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(
|
|
54333
|
+
const { APPDATA } = g$1.env;
|
|
54334
|
+
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
|
|
54307
54335
|
}
|
|
54308
|
-
return path.dirname(path.dirname(
|
|
54336
|
+
return path.dirname(path.dirname(g$1.execPath));
|
|
54309
54337
|
};
|
|
54310
54338
|
const getNpmPrefix = () => {
|
|
54311
54339
|
const envPrefix = getEnvNpmPrefix();
|
|
54312
54340
|
if (envPrefix) return envPrefix;
|
|
54313
54341
|
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
54314
54342
|
if (homePrefix) return homePrefix;
|
|
54315
|
-
if (
|
|
54343
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54316
54344
|
const globalPrefix = readRc(getGlobalNpmrc());
|
|
54317
54345
|
if (globalPrefix) return globalPrefix;
|
|
54318
54346
|
return getDefaultNpmPrefix();
|
|
54319
54347
|
};
|
|
54320
54348
|
const npmPrefix = path.resolve(getNpmPrefix());
|
|
54321
54349
|
const getYarnWindowsDirectory = () => {
|
|
54322
|
-
if (isWindows &&
|
|
54323
|
-
const dir = path.join(
|
|
54350
|
+
if (isWindows && g$1.env.LOCALAPPDATA) {
|
|
54351
|
+
const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
|
|
54324
54352
|
if (fs.existsSync(dir)) return dir;
|
|
54325
54353
|
}
|
|
54326
54354
|
return false;
|
|
54327
54355
|
};
|
|
54328
54356
|
const getYarnPrefix = () => {
|
|
54329
|
-
if (
|
|
54357
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
54330
54358
|
const windowsPrefix = getYarnWindowsDirectory();
|
|
54331
54359
|
if (windowsPrefix) return windowsPrefix;
|
|
54332
54360
|
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
@@ -56031,7 +56059,7 @@ function commandUpgradeFabric(pkgName) {
|
|
|
56031
56059
|
|
|
56032
56060
|
//#endregion
|
|
56033
56061
|
//#region package.json
|
|
56034
|
-
var version = "0.0.
|
|
56062
|
+
var version = "0.0.10-beta.11";
|
|
56035
56063
|
|
|
56036
56064
|
//#endregion
|
|
56037
56065
|
//#region src/commands/docs.ts
|