@modern-js/repo-generator 0.0.0-next-1692692387710 → 0.0.0-next-1692706973808
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +780 -715
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __pow = Math.pow;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
7
25
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
26
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
27
|
};
|
|
@@ -28,6 +46,26 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
46
|
mod
|
|
29
47
|
));
|
|
30
48
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
49
|
+
var __async = (__this, __arguments, generator) => {
|
|
50
|
+
return new Promise((resolve, reject) => {
|
|
51
|
+
var fulfilled = (value) => {
|
|
52
|
+
try {
|
|
53
|
+
step(generator.next(value));
|
|
54
|
+
} catch (e) {
|
|
55
|
+
reject(e);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var rejected = (value) => {
|
|
59
|
+
try {
|
|
60
|
+
step(generator.throw(value));
|
|
61
|
+
} catch (e) {
|
|
62
|
+
reject(e);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
66
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
67
|
+
});
|
|
68
|
+
};
|
|
31
69
|
|
|
32
70
|
// ../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js
|
|
33
71
|
var require_lodash = __commonJS({
|
|
@@ -5941,20 +5979,22 @@ var require_fs_extra = __commonJS({
|
|
|
5941
5979
|
const o = r2(17);
|
|
5942
5980
|
const c = r2(971);
|
|
5943
5981
|
const s = r2(95);
|
|
5944
|
-
const a = n(
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5982
|
+
const a = n(function emptyDir(e3) {
|
|
5983
|
+
return __async(this, null, function* () {
|
|
5984
|
+
let t3;
|
|
5985
|
+
try {
|
|
5986
|
+
t3 = yield i.readdir(e3);
|
|
5987
|
+
} catch (e4) {
|
|
5988
|
+
return c.mkdirs(e3);
|
|
5989
|
+
}
|
|
5990
|
+
return Promise.all(t3.map((t4) => s.remove(o.join(e3, t4))));
|
|
5991
|
+
});
|
|
5952
5992
|
});
|
|
5953
5993
|
function emptyDirSync(e3) {
|
|
5954
5994
|
let t3;
|
|
5955
5995
|
try {
|
|
5956
5996
|
t3 = i.readdirSync(e3);
|
|
5957
|
-
} catch {
|
|
5997
|
+
} catch (e4) {
|
|
5958
5998
|
return c.mkdirsSync(e3);
|
|
5959
5999
|
}
|
|
5960
6000
|
t3.forEach((t4) => {
|
|
@@ -6007,7 +6047,7 @@ var require_fs_extra = __commonJS({
|
|
|
6007
6047
|
let t3;
|
|
6008
6048
|
try {
|
|
6009
6049
|
t3 = o.statSync(e3);
|
|
6010
|
-
} catch {
|
|
6050
|
+
} catch (e4) {
|
|
6011
6051
|
}
|
|
6012
6052
|
if (t3 && t3.isFile())
|
|
6013
6053
|
return;
|
|
@@ -6074,7 +6114,7 @@ var require_fs_extra = __commonJS({
|
|
|
6074
6114
|
let r3;
|
|
6075
6115
|
try {
|
|
6076
6116
|
r3 = o.lstatSync(t3);
|
|
6077
|
-
} catch {
|
|
6117
|
+
} catch (e4) {
|
|
6078
6118
|
}
|
|
6079
6119
|
try {
|
|
6080
6120
|
const t4 = o.lstatSync(e3);
|
|
@@ -6169,7 +6209,7 @@ var require_fs_extra = __commonJS({
|
|
|
6169
6209
|
return t3;
|
|
6170
6210
|
try {
|
|
6171
6211
|
r3 = n.lstatSync(e3);
|
|
6172
|
-
} catch {
|
|
6212
|
+
} catch (e4) {
|
|
6173
6213
|
return "file";
|
|
6174
6214
|
}
|
|
6175
6215
|
return r3 && r3.isDirectory() ? "dir" : "file";
|
|
@@ -6232,7 +6272,7 @@ var require_fs_extra = __commonJS({
|
|
|
6232
6272
|
let n2;
|
|
6233
6273
|
try {
|
|
6234
6274
|
n2 = o.lstatSync(t3);
|
|
6235
|
-
} catch {
|
|
6275
|
+
} catch (e4) {
|
|
6236
6276
|
}
|
|
6237
6277
|
if (n2 && n2.isSymbolicLink()) {
|
|
6238
6278
|
const r4 = o.statSync(e3);
|
|
@@ -6307,7 +6347,7 @@ var require_fs_extra = __commonJS({
|
|
|
6307
6347
|
}
|
|
6308
6348
|
}, 81: (e2, t2, r2) => {
|
|
6309
6349
|
"use strict";
|
|
6310
|
-
e2.exports = {
|
|
6350
|
+
e2.exports = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, r2(812)), r2(2)), r2(708)), r2(726)), r2(779)), r2(971)), r2(511)), r2(701)), r2(725)), r2(95));
|
|
6311
6351
|
}, 779: (e2, t2, r2) => {
|
|
6312
6352
|
"use strict";
|
|
6313
6353
|
const n = r2(5).fromPromise;
|
|
@@ -6338,9 +6378,11 @@ var require_fs_extra = __commonJS({
|
|
|
6338
6378
|
"use strict";
|
|
6339
6379
|
const { stringify: n } = r2(208);
|
|
6340
6380
|
const { outputFile: i } = r2(701);
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6381
|
+
function outputJson(_0, _1) {
|
|
6382
|
+
return __async(this, arguments, function* (e3, t3, r3 = {}) {
|
|
6383
|
+
const o = n(t3, r3);
|
|
6384
|
+
yield i(e3, o, r3);
|
|
6385
|
+
});
|
|
6344
6386
|
}
|
|
6345
6387
|
e2.exports = outputJson;
|
|
6346
6388
|
}, 971: (e2, t2, r2) => {
|
|
@@ -6357,12 +6399,12 @@ var require_fs_extra = __commonJS({
|
|
|
6357
6399
|
const t3 = { mode: 511 };
|
|
6358
6400
|
if (typeof e3 === "number")
|
|
6359
6401
|
return e3;
|
|
6360
|
-
return {
|
|
6402
|
+
return __spreadValues(__spreadValues({}, t3), e3).mode;
|
|
6361
6403
|
};
|
|
6362
|
-
e2.exports.makeDir =
|
|
6404
|
+
e2.exports.makeDir = (e3, t3) => __async(exports, null, function* () {
|
|
6363
6405
|
i(e3);
|
|
6364
6406
|
return n.mkdir(e3, { mode: getMode(t3), recursive: true });
|
|
6365
|
-
};
|
|
6407
|
+
});
|
|
6366
6408
|
e2.exports.makeDirSync = (e3, t3) => {
|
|
6367
6409
|
i(e3);
|
|
6368
6410
|
return n.mkdirSync(e3, { mode: getMode(t3), recursive: true });
|
|
@@ -6780,7 +6822,7 @@ var require_fs_extra = __commonJS({
|
|
|
6780
6822
|
try {
|
|
6781
6823
|
const r4 = t3.rmdirSync(e3, t3);
|
|
6782
6824
|
return r4;
|
|
6783
|
-
} catch {
|
|
6825
|
+
} catch (e4) {
|
|
6784
6826
|
}
|
|
6785
6827
|
} while (Date.now() - r3 < 500);
|
|
6786
6828
|
} else {
|
|
@@ -7679,26 +7721,28 @@ var require_fs_extra = __commonJS({
|
|
|
7679
7721
|
}
|
|
7680
7722
|
const i = r2(5);
|
|
7681
7723
|
const { stringify: o, stripBom: c } = r2(208);
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7724
|
+
function _readFile(_0) {
|
|
7725
|
+
return __async(this, arguments, function* (e3, t3 = {}) {
|
|
7726
|
+
if (typeof t3 === "string") {
|
|
7727
|
+
t3 = { encoding: t3 };
|
|
7728
|
+
}
|
|
7729
|
+
const r3 = t3.fs || n;
|
|
7730
|
+
const o2 = "throws" in t3 ? t3.throws : true;
|
|
7731
|
+
let s2 = yield i.fromCallback(r3.readFile)(e3, t3);
|
|
7732
|
+
s2 = c(s2);
|
|
7733
|
+
let a2;
|
|
7734
|
+
try {
|
|
7735
|
+
a2 = JSON.parse(s2, t3 ? t3.reviver : null);
|
|
7736
|
+
} catch (t4) {
|
|
7737
|
+
if (o2) {
|
|
7738
|
+
t4.message = `${e3}: ${t4.message}`;
|
|
7739
|
+
throw t4;
|
|
7740
|
+
} else {
|
|
7741
|
+
return null;
|
|
7742
|
+
}
|
|
7699
7743
|
}
|
|
7700
|
-
|
|
7701
|
-
|
|
7744
|
+
return a2;
|
|
7745
|
+
});
|
|
7702
7746
|
}
|
|
7703
7747
|
const s = i.fromPromise(_readFile);
|
|
7704
7748
|
function readFileSync(e3, t3 = {}) {
|
|
@@ -7720,10 +7764,12 @@ var require_fs_extra = __commonJS({
|
|
|
7720
7764
|
}
|
|
7721
7765
|
}
|
|
7722
7766
|
}
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7767
|
+
function _writeFile(_0, _1) {
|
|
7768
|
+
return __async(this, arguments, function* (e3, t3, r3 = {}) {
|
|
7769
|
+
const c2 = r3.fs || n;
|
|
7770
|
+
const s2 = o(t3, r3);
|
|
7771
|
+
yield i.fromCallback(c2.writeFile)(e3, s2, r3);
|
|
7772
|
+
});
|
|
7727
7773
|
}
|
|
7728
7774
|
const a = i.fromPromise(_writeFile);
|
|
7729
7775
|
function writeFileSync(e3, t3, r3 = {}) {
|
|
@@ -7951,11 +7997,11 @@ var require_chalk = __commonJS({
|
|
|
7951
7997
|
} };
|
|
7952
7998
|
}
|
|
7953
7999
|
const f = Object.defineProperties(() => {
|
|
7954
|
-
}, {
|
|
8000
|
+
}, __spreadProps(__spreadValues({}, u), { level: { enumerable: true, get() {
|
|
7955
8001
|
return this._generator.level;
|
|
7956
8002
|
}, set(e3) {
|
|
7957
8003
|
this._generator.level = e3;
|
|
7958
|
-
} } });
|
|
8004
|
+
} } }));
|
|
7959
8005
|
const createStyler = (e3, t3, n3) => {
|
|
7960
8006
|
let r2;
|
|
7961
8007
|
let s2;
|
|
@@ -8266,7 +8312,7 @@ var require_chalk = __commonJS({
|
|
|
8266
8312
|
return [o2 * 100, l * 100, c * 100, s2 * 100];
|
|
8267
8313
|
};
|
|
8268
8314
|
function comparativeDistance(e3, t3) {
|
|
8269
|
-
return (e3[0] - t3[0]
|
|
8315
|
+
return __pow(e3[0] - t3[0], 2) + __pow(e3[1] - t3[1], 2) + __pow(e3[2] - t3[2], 2);
|
|
8270
8316
|
}
|
|
8271
8317
|
o.rgb.keyword = function(e3) {
|
|
8272
8318
|
const t3 = s[e3];
|
|
@@ -8292,9 +8338,9 @@ var require_chalk = __commonJS({
|
|
|
8292
8338
|
let t3 = e3[0] / 255;
|
|
8293
8339
|
let n3 = e3[1] / 255;
|
|
8294
8340
|
let r2 = e3[2] / 255;
|
|
8295
|
-
t3 = t3 > 0.04045 ? ((t3 + 0.055) / 1.055
|
|
8296
|
-
n3 = n3 > 0.04045 ? ((n3 + 0.055) / 1.055
|
|
8297
|
-
r2 = r2 > 0.04045 ? ((r2 + 0.055) / 1.055
|
|
8341
|
+
t3 = t3 > 0.04045 ? __pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92;
|
|
8342
|
+
n3 = n3 > 0.04045 ? __pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92;
|
|
8343
|
+
r2 = r2 > 0.04045 ? __pow((r2 + 0.055) / 1.055, 2.4) : r2 / 12.92;
|
|
8298
8344
|
const s2 = t3 * 0.4124 + n3 * 0.3576 + r2 * 0.1805;
|
|
8299
8345
|
const o2 = t3 * 0.2126 + n3 * 0.7152 + r2 * 0.0722;
|
|
8300
8346
|
const l = t3 * 0.0193 + n3 * 0.1192 + r2 * 0.9505;
|
|
@@ -8308,9 +8354,9 @@ var require_chalk = __commonJS({
|
|
|
8308
8354
|
n3 /= 95.047;
|
|
8309
8355
|
r2 /= 100;
|
|
8310
8356
|
s2 /= 108.883;
|
|
8311
|
-
n3 = n3 > 8856e-6 ? n3
|
|
8312
|
-
r2 = r2 > 8856e-6 ? r2
|
|
8313
|
-
s2 = s2 > 8856e-6 ? s2
|
|
8357
|
+
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
8358
|
+
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
8359
|
+
s2 = s2 > 8856e-6 ? __pow(s2, 1 / 3) : 7.787 * s2 + 16 / 116;
|
|
8314
8360
|
const l = 116 * r2 - 16;
|
|
8315
8361
|
const c = 500 * (n3 - r2);
|
|
8316
8362
|
const i = 200 * (r2 - s2);
|
|
@@ -8484,9 +8530,9 @@ var require_chalk = __commonJS({
|
|
|
8484
8530
|
s2 = t3 * 3.2406 + n3 * -1.5372 + r2 * -0.4986;
|
|
8485
8531
|
o2 = t3 * -0.9689 + n3 * 1.8758 + r2 * 0.0415;
|
|
8486
8532
|
l = t3 * 0.0557 + n3 * -0.204 + r2 * 1.057;
|
|
8487
|
-
s2 = s2 > 31308e-7 ? 1.055 * s2
|
|
8488
|
-
o2 = o2 > 31308e-7 ? 1.055 * o2
|
|
8489
|
-
l = l > 31308e-7 ? 1.055 * l
|
|
8533
|
+
s2 = s2 > 31308e-7 ? 1.055 * __pow(s2, 1 / 2.4) - 0.055 : s2 * 12.92;
|
|
8534
|
+
o2 = o2 > 31308e-7 ? 1.055 * __pow(o2, 1 / 2.4) - 0.055 : o2 * 12.92;
|
|
8535
|
+
l = l > 31308e-7 ? 1.055 * __pow(l, 1 / 2.4) - 0.055 : l * 12.92;
|
|
8490
8536
|
s2 = Math.min(Math.max(0, s2), 1);
|
|
8491
8537
|
o2 = Math.min(Math.max(0, o2), 1);
|
|
8492
8538
|
l = Math.min(Math.max(0, l), 1);
|
|
@@ -8499,9 +8545,9 @@ var require_chalk = __commonJS({
|
|
|
8499
8545
|
t3 /= 95.047;
|
|
8500
8546
|
n3 /= 100;
|
|
8501
8547
|
r2 /= 108.883;
|
|
8502
|
-
t3 = t3 > 8856e-6 ? t3
|
|
8503
|
-
n3 = n3 > 8856e-6 ? n3
|
|
8504
|
-
r2 = r2 > 8856e-6 ? r2
|
|
8548
|
+
t3 = t3 > 8856e-6 ? __pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116;
|
|
8549
|
+
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
8550
|
+
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
8505
8551
|
const s2 = 116 * n3 - 16;
|
|
8506
8552
|
const o2 = 500 * (t3 - n3);
|
|
8507
8553
|
const l = 200 * (n3 - r2);
|
|
@@ -8517,9 +8563,9 @@ var require_chalk = __commonJS({
|
|
|
8517
8563
|
o2 = (t3 + 16) / 116;
|
|
8518
8564
|
s2 = n3 / 500 + o2;
|
|
8519
8565
|
l = o2 - r2 / 200;
|
|
8520
|
-
const c = o2
|
|
8521
|
-
const i = s2
|
|
8522
|
-
const a = l
|
|
8566
|
+
const c = __pow(o2, 3);
|
|
8567
|
+
const i = __pow(s2, 3);
|
|
8568
|
+
const a = __pow(l, 3);
|
|
8523
8569
|
o2 = c > 8856e-6 ? c : (o2 - 16 / 116) / 7.787;
|
|
8524
8570
|
s2 = i > 8856e-6 ? i : (s2 - 16 / 116) / 7.787;
|
|
8525
8571
|
l = a > 8856e-6 ? a : (l - 16 / 116) / 7.787;
|
|
@@ -9775,7 +9821,7 @@ var require_ora = __commonJS({
|
|
|
9775
9821
|
if (typeof e3 === "string") {
|
|
9776
9822
|
e3 = { text: e3 };
|
|
9777
9823
|
}
|
|
9778
|
-
this.options = { text: "", color: "cyan", stream: process.stderr, discardStdin: true,
|
|
9824
|
+
this.options = __spreadValues({ text: "", color: "cyan", stream: process.stderr, discardStdin: true }, e3);
|
|
9779
9825
|
this.spinner = this.options.spinner;
|
|
9780
9826
|
this.color = this.options.color;
|
|
9781
9827
|
this.hideCursor = this.options.hideCursor !== false;
|
|
@@ -9992,14 +10038,14 @@ var require_ora = __commonJS({
|
|
|
9992
10038
|
}
|
|
9993
10039
|
const r3 = new Ora(t3);
|
|
9994
10040
|
r3.start();
|
|
9995
|
-
(
|
|
10041
|
+
(() => __async(exports, null, function* () {
|
|
9996
10042
|
try {
|
|
9997
|
-
|
|
10043
|
+
yield e3;
|
|
9998
10044
|
r3.succeed();
|
|
9999
|
-
} catch {
|
|
10045
|
+
} catch (e4) {
|
|
10000
10046
|
r3.fail();
|
|
10001
10047
|
}
|
|
10002
|
-
})();
|
|
10048
|
+
}))();
|
|
10003
10049
|
return r3;
|
|
10004
10050
|
};
|
|
10005
10051
|
}, 959: (e2) => {
|
|
@@ -18419,7 +18465,7 @@ var require_execa = __commonJS({
|
|
|
18419
18465
|
const { joinCommand: w, parseCommand: E, getEscapedCommand: I } = n2(192);
|
|
18420
18466
|
const T = 1e3 * 1e3 * 100;
|
|
18421
18467
|
const getEnv = ({ env: e3, extendEnv: t3, preferLocal: n3, localDir: r2, execPath: o2 }) => {
|
|
18422
|
-
const s2 = t3 ? {
|
|
18468
|
+
const s2 = t3 ? __spreadValues(__spreadValues({}, process.env), e3) : e3;
|
|
18423
18469
|
if (n3) {
|
|
18424
18470
|
return a.env({ env: s2, cwd: r2, execPath: o2 });
|
|
18425
18471
|
}
|
|
@@ -18430,7 +18476,7 @@ var require_execa = __commonJS({
|
|
|
18430
18476
|
e3 = o2.command;
|
|
18431
18477
|
t3 = o2.args;
|
|
18432
18478
|
n3 = o2.options;
|
|
18433
|
-
n3 = { maxBuffer: T, buffer: true, stripFinalNewline: true, extendEnv: true, preferLocal: false, localDir: n3.cwd || process.cwd(), execPath: process.execPath, encoding: "utf8", reject: true, cleanup: true, all: false, windowsHide: true,
|
|
18479
|
+
n3 = __spreadValues({ maxBuffer: T, buffer: true, stripFinalNewline: true, extendEnv: true, preferLocal: false, localDir: n3.cwd || process.cwd(), execPath: process.execPath, encoding: "utf8", reject: true, cleanup: true, all: false, windowsHide: true }, n3);
|
|
18434
18480
|
n3.env = getEnv(n3);
|
|
18435
18481
|
n3.stdio = u(n3);
|
|
18436
18482
|
if (process.platform === "win32" && r.basename(e3, ".exe") === "cmd") {
|
|
@@ -18466,8 +18512,8 @@ var require_execa = __commonJS({
|
|
|
18466
18512
|
const T2 = { isCanceled: false };
|
|
18467
18513
|
a2.kill = l.bind(null, a2.kill.bind(a2));
|
|
18468
18514
|
a2.cancel = f.bind(null, a2, T2);
|
|
18469
|
-
const handlePromise =
|
|
18470
|
-
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] =
|
|
18515
|
+
const handlePromise = () => __async(exports, null, function* () {
|
|
18516
|
+
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] = yield h(a2, r2.options, E2);
|
|
18471
18517
|
const f2 = handleOutput(r2.options, c2);
|
|
18472
18518
|
const p2 = handleOutput(r2.options, u3);
|
|
18473
18519
|
const m2 = handleOutput(r2.options, l2);
|
|
@@ -18479,7 +18525,7 @@ var require_execa = __commonJS({
|
|
|
18479
18525
|
throw c3;
|
|
18480
18526
|
}
|
|
18481
18527
|
return { command: s2, escapedCommand: i2, exitCode: 0, stdout: f2, stderr: p2, all: m2, failed: false, timedOut: false, isCanceled: false, killed: false };
|
|
18482
|
-
};
|
|
18528
|
+
});
|
|
18483
18529
|
const C = c(handlePromise);
|
|
18484
18530
|
x(a2, r2.options.input);
|
|
18485
18531
|
a2.all = y(a2, r2.options);
|
|
@@ -18524,7 +18570,7 @@ var require_execa = __commonJS({
|
|
|
18524
18570
|
const r2 = u.node(n3);
|
|
18525
18571
|
const o2 = process.execArgv.filter((e4) => !e4.startsWith("--inspect"));
|
|
18526
18572
|
const { nodePath: s2 = process.execPath, nodeOptions: i2 = o2 } = n3;
|
|
18527
|
-
return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], {
|
|
18573
|
+
return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], __spreadProps(__spreadValues({}, n3), { stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false }));
|
|
18528
18574
|
};
|
|
18529
18575
|
}, 192: (e2) => {
|
|
18530
18576
|
"use strict";
|
|
@@ -18680,7 +18726,7 @@ ${o.message}` : x;
|
|
|
18680
18726
|
throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e3}\` (${typeof e3})`);
|
|
18681
18727
|
}
|
|
18682
18728
|
};
|
|
18683
|
-
const setExitHandler =
|
|
18729
|
+
const setExitHandler = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* (e3, { cleanup: t3, detached: n3 }, r2) {
|
|
18684
18730
|
if (!t3 || n3) {
|
|
18685
18731
|
return r2;
|
|
18686
18732
|
}
|
|
@@ -18690,17 +18736,17 @@ ${o.message}` : x;
|
|
|
18690
18736
|
return r2.finally(() => {
|
|
18691
18737
|
s2();
|
|
18692
18738
|
});
|
|
18693
|
-
};
|
|
18739
|
+
});
|
|
18694
18740
|
e2.exports = { spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler };
|
|
18695
18741
|
}, 210: (e2) => {
|
|
18696
18742
|
"use strict";
|
|
18697
|
-
const t2 = (
|
|
18698
|
-
})().constructor.prototype;
|
|
18743
|
+
const t2 = (() => __async(exports, null, function* () {
|
|
18744
|
+
}))().constructor.prototype;
|
|
18699
18745
|
const n2 = ["then", "catch", "finally"].map((e3) => [e3, Reflect.getOwnPropertyDescriptor(t2, e3)]);
|
|
18700
18746
|
const mergePromise = (e3, t3) => {
|
|
18701
18747
|
for (const [r, o] of n2) {
|
|
18702
18748
|
const n3 = typeof t3 === "function" ? (...e4) => Reflect.apply(o.value, t3(), e4) : o.value.bind(t3);
|
|
18703
|
-
Reflect.defineProperty(e3, r, {
|
|
18749
|
+
Reflect.defineProperty(e3, r, __spreadProps(__spreadValues({}, o), { value: n3 }));
|
|
18704
18750
|
}
|
|
18705
18751
|
return e3;
|
|
18706
18752
|
};
|
|
@@ -18784,17 +18830,17 @@ ${o.message}` : x;
|
|
|
18784
18830
|
}
|
|
18785
18831
|
return n3;
|
|
18786
18832
|
};
|
|
18787
|
-
const getBufferedData =
|
|
18833
|
+
const getBufferedData = (e3, t3) => __async(exports, null, function* () {
|
|
18788
18834
|
if (!e3) {
|
|
18789
18835
|
return;
|
|
18790
18836
|
}
|
|
18791
18837
|
e3.destroy();
|
|
18792
18838
|
try {
|
|
18793
|
-
return
|
|
18839
|
+
return yield t3;
|
|
18794
18840
|
} catch (e4) {
|
|
18795
18841
|
return e4.bufferedData;
|
|
18796
18842
|
}
|
|
18797
|
-
};
|
|
18843
|
+
});
|
|
18798
18844
|
const getStreamPromise = (e3, { encoding: t3, buffer: n3, maxBuffer: r2 }) => {
|
|
18799
18845
|
if (!e3 || !n3) {
|
|
18800
18846
|
return;
|
|
@@ -18804,16 +18850,16 @@ ${o.message}` : x;
|
|
|
18804
18850
|
}
|
|
18805
18851
|
return o.buffer(e3, { maxBuffer: r2 });
|
|
18806
18852
|
};
|
|
18807
|
-
const getSpawnedResult =
|
|
18853
|
+
const getSpawnedResult = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* ({ stdout: e3, stderr: t3, all: n3 }, { encoding: r2, buffer: o2, maxBuffer: s2 }, i) {
|
|
18808
18854
|
const a = getStreamPromise(e3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
|
18809
18855
|
const c = getStreamPromise(t3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
|
18810
18856
|
const d = getStreamPromise(n3, { encoding: r2, buffer: o2, maxBuffer: s2 * 2 });
|
|
18811
18857
|
try {
|
|
18812
|
-
return
|
|
18858
|
+
return yield Promise.all([i, a, c, d]);
|
|
18813
18859
|
} catch (r3) {
|
|
18814
18860
|
return Promise.all([{ error: r3, signal: r3.signal, timedOut: r3.timedOut }, getBufferedData(e3, a), getBufferedData(t3, c), getBufferedData(n3, d)]);
|
|
18815
18861
|
}
|
|
18816
|
-
};
|
|
18862
|
+
});
|
|
18817
18863
|
const validateInputSync = ({ input: e3 }) => {
|
|
18818
18864
|
if (r(e3)) {
|
|
18819
18865
|
throw new TypeError("The `input` option cannot be a stream in sync mode");
|
|
@@ -18824,7 +18870,7 @@ ${o.message}` : x;
|
|
|
18824
18870
|
"use strict";
|
|
18825
18871
|
const { PassThrough: r } = n2(781);
|
|
18826
18872
|
e2.exports = (e3) => {
|
|
18827
|
-
e3 = {
|
|
18873
|
+
e3 = __spreadValues({}, e3);
|
|
18828
18874
|
const { array: t3 } = e3;
|
|
18829
18875
|
let { encoding: n3 } = e3;
|
|
18830
18876
|
const o = n3 === "buffer";
|
|
@@ -18873,39 +18919,41 @@ ${o.message}` : x;
|
|
|
18873
18919
|
this.name = "MaxBufferError";
|
|
18874
18920
|
}
|
|
18875
18921
|
}
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
e4
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18922
|
+
function getStream(e3, t3) {
|
|
18923
|
+
return __async(this, null, function* () {
|
|
18924
|
+
if (!e3) {
|
|
18925
|
+
throw new Error("Expected a stream");
|
|
18926
|
+
}
|
|
18927
|
+
t3 = __spreadValues({ maxBuffer: Infinity }, t3);
|
|
18928
|
+
const { maxBuffer: n3 } = t3;
|
|
18929
|
+
const o2 = i(t3);
|
|
18930
|
+
yield new Promise((t4, s2) => {
|
|
18931
|
+
const rejectPromise = (e4) => {
|
|
18932
|
+
if (e4 && o2.getBufferedLength() <= r.MAX_LENGTH) {
|
|
18933
|
+
e4.bufferedData = o2.getBufferedValue();
|
|
18934
|
+
}
|
|
18935
|
+
s2(e4);
|
|
18936
|
+
};
|
|
18937
|
+
(() => __async(this, null, function* () {
|
|
18938
|
+
try {
|
|
18939
|
+
yield a(e3, o2);
|
|
18940
|
+
t4();
|
|
18941
|
+
} catch (e4) {
|
|
18942
|
+
rejectPromise(e4);
|
|
18943
|
+
}
|
|
18944
|
+
}))();
|
|
18945
|
+
o2.on("data", () => {
|
|
18946
|
+
if (o2.getBufferedLength() > n3) {
|
|
18947
|
+
rejectPromise(new MaxBufferError());
|
|
18948
|
+
}
|
|
18949
|
+
});
|
|
18902
18950
|
});
|
|
18951
|
+
return o2.getBufferedValue();
|
|
18903
18952
|
});
|
|
18904
|
-
return o2.getBufferedValue();
|
|
18905
18953
|
}
|
|
18906
18954
|
e2.exports = getStream;
|
|
18907
|
-
e2.exports.buffer = (e3, t3) => getStream(e3, {
|
|
18908
|
-
e2.exports.array = (e3, t3) => getStream(e3, {
|
|
18955
|
+
e2.exports.buffer = (e3, t3) => getStream(e3, __spreadProps(__spreadValues({}, t3), { encoding: "buffer" }));
|
|
18956
|
+
e2.exports.array = (e3, t3) => getStream(e3, __spreadProps(__spreadValues({}, t3), { array: true }));
|
|
18909
18957
|
e2.exports.MaxBufferError = MaxBufferError;
|
|
18910
18958
|
}, 221: (e2, t2) => {
|
|
18911
18959
|
"use strict";
|
|
@@ -18925,7 +18973,7 @@ ${o.message}` : x;
|
|
|
18925
18973
|
return e3.reduce(getSignalByName, {});
|
|
18926
18974
|
};
|
|
18927
18975
|
const getSignalByName = function(e3, { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 }) {
|
|
18928
|
-
return {
|
|
18976
|
+
return __spreadProps(__spreadValues({}, e3), { [t3]: { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 } });
|
|
18929
18977
|
};
|
|
18930
18978
|
const i = getSignalsByName();
|
|
18931
18979
|
t2.signalsByName = i;
|
|
@@ -19157,7 +19205,7 @@ ${o.message}` : x;
|
|
|
19157
19205
|
const r = n2(17);
|
|
19158
19206
|
const o = n2(460);
|
|
19159
19207
|
const npmRunPath = (e3) => {
|
|
19160
|
-
e3 = { cwd: process.cwd(), path: process.env[o()], execPath: process.execPath,
|
|
19208
|
+
e3 = __spreadValues({ cwd: process.cwd(), path: process.env[o()], execPath: process.execPath }, e3);
|
|
19161
19209
|
let t3;
|
|
19162
19210
|
let n3 = r.resolve(e3.cwd);
|
|
19163
19211
|
const s = [];
|
|
@@ -19173,8 +19221,8 @@ ${o.message}` : x;
|
|
|
19173
19221
|
e2.exports = npmRunPath;
|
|
19174
19222
|
e2.exports["default"] = npmRunPath;
|
|
19175
19223
|
e2.exports.env = (t3) => {
|
|
19176
|
-
t3 = { env: process.env,
|
|
19177
|
-
const n3 = {
|
|
19224
|
+
t3 = __spreadValues({ env: process.env }, t3);
|
|
19225
|
+
const n3 = __spreadValues({}, t3.env);
|
|
19178
19226
|
const r2 = o({ env: n3 });
|
|
19179
19227
|
t3.path = n3[r2];
|
|
19180
19228
|
n3[r2] = e2.exports(t3);
|
|
@@ -20583,7 +20631,7 @@ var require_upath = __commonJS({
|
|
|
20583
20631
|
_.VERSION = typeof n !== "undefined" && n !== null ? n : "NO-VERSION";
|
|
20584
20632
|
p = function(e3) {
|
|
20585
20633
|
e3 = e3.replace(/\\/g, "/");
|
|
20586
|
-
e3 = e3.replace(
|
|
20634
|
+
e3 = e3.replace(new RegExp("(?<!^)\\/+", "g"), "/");
|
|
20587
20635
|
return e3;
|
|
20588
20636
|
};
|
|
20589
20637
|
for (c in o) {
|
|
@@ -20879,7 +20927,9 @@ var require_pkg_up = __commonJS({
|
|
|
20879
20927
|
};
|
|
20880
20928
|
}, 800: (e2, r2, n2) => {
|
|
20881
20929
|
const t = n2(485);
|
|
20882
|
-
e2.exports =
|
|
20930
|
+
e2.exports = (..._0) => __async(exports, [..._0], function* ({ cwd: e3 } = {}) {
|
|
20931
|
+
return t("package.json", { cwd: e3 });
|
|
20932
|
+
});
|
|
20883
20933
|
e2.exports.sync = ({ cwd: e3 } = {}) => t.sync("package.json", { cwd: e3 });
|
|
20884
20934
|
}, 147: (e2) => {
|
|
20885
20935
|
e2.exports = require("fs");
|
|
@@ -23930,7 +23980,7 @@ var require_fast_glob = __commonJS({
|
|
|
23930
23980
|
}
|
|
23931
23981
|
if (t4.nodes && t4.ranges > 0) {
|
|
23932
23982
|
let r4 = s.reduce(t4.nodes);
|
|
23933
|
-
let i2 = n(...r4, {
|
|
23983
|
+
let i2 = n(...r4, __spreadProps(__spreadValues({}, e3), { wrap: false, toRegex: true }));
|
|
23934
23984
|
if (i2.length !== 0) {
|
|
23935
23985
|
return r4.length > 1 && i2.length > 1 ? `(${i2})` : i2;
|
|
23936
23986
|
}
|
|
@@ -24356,11 +24406,13 @@ var require_fast_glob = __commonJS({
|
|
|
24356
24406
|
const a = r2(1066);
|
|
24357
24407
|
const u = r2(7190);
|
|
24358
24408
|
const c = r2(3828);
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
|
|
24363
|
-
|
|
24409
|
+
function FastGlob(t3, e3) {
|
|
24410
|
+
return __async(this, null, function* () {
|
|
24411
|
+
assertPatternsInput(t3);
|
|
24412
|
+
const r3 = getWorks(t3, i.default, e3);
|
|
24413
|
+
const n2 = yield Promise.all(r3);
|
|
24414
|
+
return c.array.flatten(n2);
|
|
24415
|
+
});
|
|
24364
24416
|
}
|
|
24365
24417
|
(function(t3) {
|
|
24366
24418
|
function sync(t4, e3) {
|
|
@@ -25531,7 +25583,7 @@ var require_fast_glob = __commonJS({
|
|
|
25531
25583
|
};
|
|
25532
25584
|
const toRange = (t3, e3, r3, n2) => {
|
|
25533
25585
|
if (r3) {
|
|
25534
|
-
return s(t3, e3, { wrap: false,
|
|
25586
|
+
return s(t3, e3, __spreadValues({ wrap: false }, n2));
|
|
25535
25587
|
}
|
|
25536
25588
|
let i = String.fromCharCode(t3);
|
|
25537
25589
|
if (t3 === e3)
|
|
@@ -25597,7 +25649,7 @@ var require_fast_glob = __commonJS({
|
|
|
25597
25649
|
g++;
|
|
25598
25650
|
}
|
|
25599
25651
|
if (n2.toRegex === true) {
|
|
25600
|
-
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null, { wrap: false,
|
|
25652
|
+
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null, __spreadValues({ wrap: false }, n2));
|
|
25601
25653
|
}
|
|
25602
25654
|
return _;
|
|
25603
25655
|
};
|
|
@@ -25639,7 +25691,7 @@ var require_fast_glob = __commonJS({
|
|
|
25639
25691
|
if (isObject4(r3)) {
|
|
25640
25692
|
return fill(t3, e3, 0, r3);
|
|
25641
25693
|
}
|
|
25642
|
-
let s2 = {
|
|
25694
|
+
let s2 = __spreadValues({}, n2);
|
|
25643
25695
|
if (s2.capture === true)
|
|
25644
25696
|
s2.wrap = true;
|
|
25645
25697
|
r3 = r3 || s2.step || 1;
|
|
@@ -25963,7 +26015,7 @@ var require_fast_glob = __commonJS({
|
|
|
25963
26015
|
}
|
|
25964
26016
|
};
|
|
25965
26017
|
for (let o3 = 0; o3 < e3.length; o3++) {
|
|
25966
|
-
let u2 = i(String(e3[o3]), {
|
|
26018
|
+
let u2 = i(String(e3[o3]), __spreadProps(__spreadValues({}, r3), { onResult }), true);
|
|
25967
26019
|
let c2 = u2.state.negated || u2.state.negatedExtglob;
|
|
25968
26020
|
if (c2)
|
|
25969
26021
|
a++;
|
|
@@ -26005,7 +26057,7 @@ var require_fast_glob = __commonJS({
|
|
|
26005
26057
|
r3.onResult(t4);
|
|
26006
26058
|
s2.push(t4.output);
|
|
26007
26059
|
};
|
|
26008
|
-
let i2 = new Set(micromatch(t3, e3, {
|
|
26060
|
+
let i2 = new Set(micromatch(t3, e3, __spreadProps(__spreadValues({}, r3), { onResult })));
|
|
26009
26061
|
for (let t4 of s2) {
|
|
26010
26062
|
if (!i2.has(t4)) {
|
|
26011
26063
|
n2.add(t4);
|
|
@@ -26028,7 +26080,7 @@ var require_fast_glob = __commonJS({
|
|
|
26028
26080
|
return true;
|
|
26029
26081
|
}
|
|
26030
26082
|
}
|
|
26031
|
-
return micromatch.isMatch(t3, e3, {
|
|
26083
|
+
return micromatch.isMatch(t3, e3, __spreadProps(__spreadValues({}, r3), { contains: true }));
|
|
26032
26084
|
};
|
|
26033
26085
|
micromatch.matchKeys = (t3, e3, r3) => {
|
|
26034
26086
|
if (!o.isObject(t3)) {
|
|
@@ -26068,7 +26120,7 @@ var require_fast_glob = __commonJS({
|
|
|
26068
26120
|
};
|
|
26069
26121
|
micromatch.capture = (t3, e3, r3) => {
|
|
26070
26122
|
let n2 = o.isWindows(r3);
|
|
26071
|
-
let s2 = i.makeRe(String(t3), {
|
|
26123
|
+
let s2 = i.makeRe(String(t3), __spreadProps(__spreadValues({}, r3), { capture: true }));
|
|
26072
26124
|
let a = s2.exec(n2 ? o.toPosixSlashes(e3) : e3);
|
|
26073
26125
|
if (a) {
|
|
26074
26126
|
return a.slice(1).map((t4) => t4 === void 0 ? "" : t4);
|
|
@@ -26096,7 +26148,7 @@ var require_fast_glob = __commonJS({
|
|
|
26096
26148
|
micromatch.braceExpand = (t3, e3) => {
|
|
26097
26149
|
if (typeof t3 !== "string")
|
|
26098
26150
|
throw new TypeError("Expected a string");
|
|
26099
|
-
return micromatch.braces(t3, {
|
|
26151
|
+
return micromatch.braces(t3, __spreadProps(__spreadValues({}, e3), { expand: true }));
|
|
26100
26152
|
};
|
|
26101
26153
|
t2.exports = micromatch;
|
|
26102
26154
|
}, 376: (t2, e2, r2) => {
|
|
@@ -26123,7 +26175,7 @@ var require_fast_glob = __commonJS({
|
|
|
26123
26175
|
const m = `[^.${c}]`;
|
|
26124
26176
|
const v = `${f}*?`;
|
|
26125
26177
|
const E = { DOT_LITERAL: o, PLUS_LITERAL: a, QMARK_LITERAL: u, SLASH_LITERAL: c, ONE_CHAR: l, QMARK: f, END_ANCHOR: p, DOTS_SLASH: d, NO_DOT: _, NO_DOTS: g, NO_DOT_SLASH: y, NO_DOTS_SLASH: S, QMARK_NO_DOT: m, STAR: v, START_ANCHOR: h };
|
|
26126
|
-
const A = {
|
|
26178
|
+
const A = __spreadProps(__spreadValues({}, E), { SLASH_LITERAL: `[${s}]`, QMARK: i, STAR: `${i}*?`, DOTS_SLASH: `${o}{1,2}(?:[${s}]|$)`, NO_DOT: `(?!${o})`, NO_DOTS: `(?!(?:^|[${s}])${o}{1,2}(?:[${s}]|$))`, NO_DOT_SLASH: `(?!${o}{0,1}(?:[${s}]|$))`, NO_DOTS_SLASH: `(?!${o}{1,2}(?:[${s}]|$))`, QMARK_NO_DOT: `[^.${s}]`, START_ANCHOR: `(?:^|[${s}])`, END_ANCHOR: `(?:[${s}]|$)` });
|
|
26127
26179
|
const b = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
26128
26180
|
t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: b, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, SEP: n.sep, extglobChars(t3) {
|
|
26129
26181
|
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
@@ -26154,7 +26206,7 @@ var require_fast_glob = __commonJS({
|
|
|
26154
26206
|
throw new TypeError("Expected a string");
|
|
26155
26207
|
}
|
|
26156
26208
|
t3 = c[t3] || t3;
|
|
26157
|
-
const r3 = {
|
|
26209
|
+
const r3 = __spreadValues({}, e3);
|
|
26158
26210
|
const l = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
|
26159
26211
|
let f = t3.length;
|
|
26160
26212
|
if (f > l) {
|
|
@@ -26246,7 +26298,7 @@ var require_fast_glob = __commonJS({
|
|
|
26246
26298
|
M = t4;
|
|
26247
26299
|
};
|
|
26248
26300
|
const extglobOpen = (t4, e4) => {
|
|
26249
|
-
const n2 = {
|
|
26301
|
+
const n2 = __spreadProps(__spreadValues({}, y[e4]), { conditions: 1, inner: "" });
|
|
26250
26302
|
n2.prev = M;
|
|
26251
26303
|
n2.parens = H.parens;
|
|
26252
26304
|
n2.output = H.output;
|
|
@@ -26268,7 +26320,7 @@ var require_fast_glob = __commonJS({
|
|
|
26268
26320
|
n2 = t4.close = `)$))${i2}`;
|
|
26269
26321
|
}
|
|
26270
26322
|
if (t4.inner.includes("*") && (s2 = remaining()) && /^\.[^\\/.]+$/.test(s2)) {
|
|
26271
|
-
const r4 = parse3(s2, {
|
|
26323
|
+
const r4 = parse3(s2, __spreadProps(__spreadValues({}, e3), { fastpaths: false })).output;
|
|
26272
26324
|
n2 = t4.close = `)${r4})${i2})`;
|
|
26273
26325
|
}
|
|
26274
26326
|
if (t4.prev.type === "bos") {
|
|
@@ -26790,7 +26842,7 @@ var require_fast_glob = __commonJS({
|
|
|
26790
26842
|
return H;
|
|
26791
26843
|
};
|
|
26792
26844
|
parse3.fastpaths = (t3, e3) => {
|
|
26793
|
-
const r3 = {
|
|
26845
|
+
const r3 = __spreadValues({}, e3);
|
|
26794
26846
|
const o2 = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
|
26795
26847
|
const a2 = t3.length;
|
|
26796
26848
|
if (a2 > o2) {
|
|
@@ -26881,7 +26933,7 @@ var require_fast_glob = __commonJS({
|
|
|
26881
26933
|
delete a2.state;
|
|
26882
26934
|
let isIgnored = () => false;
|
|
26883
26935
|
if (s2.ignore) {
|
|
26884
|
-
const t4 = {
|
|
26936
|
+
const t4 = __spreadProps(__spreadValues({}, e3), { ignore: null, onMatch: null, onResult: null });
|
|
26885
26937
|
isIgnored = picomatch(s2.ignore, t4, r3);
|
|
26886
26938
|
}
|
|
26887
26939
|
const matcher = (r4, n3 = false) => {
|
|
@@ -26943,7 +26995,7 @@ var require_fast_glob = __commonJS({
|
|
|
26943
26995
|
picomatch.parse = (t3, e3) => {
|
|
26944
26996
|
if (Array.isArray(t3))
|
|
26945
26997
|
return t3.map((t4) => picomatch.parse(t4, e3));
|
|
26946
|
-
return i(t3, {
|
|
26998
|
+
return i(t3, __spreadProps(__spreadValues({}, e3), { fastpaths: false }));
|
|
26947
26999
|
};
|
|
26948
27000
|
picomatch.scan = (t3, e3) => s(t3, e3);
|
|
26949
27001
|
picomatch.compileRe = (t3, e3, r3 = false, n2 = false) => {
|
|
@@ -27408,7 +27460,7 @@ var require_fast_glob = __commonJS({
|
|
|
27408
27460
|
if (n(e3) === false) {
|
|
27409
27461
|
throw new TypeError("toRegexRange: expected the second argument to be a number.");
|
|
27410
27462
|
}
|
|
27411
|
-
let s = { relaxZeros: true,
|
|
27463
|
+
let s = __spreadValues({ relaxZeros: true }, r3);
|
|
27412
27464
|
if (typeof s.strictZeros === "boolean") {
|
|
27413
27465
|
s.relaxZeros = s.strictZeros === false;
|
|
27414
27466
|
}
|
|
@@ -27686,19 +27738,19 @@ var require_globby = __commonJS({
|
|
|
27686
27738
|
}
|
|
27687
27739
|
return [n.posix.join(t3, "**")];
|
|
27688
27740
|
};
|
|
27689
|
-
t2.exports =
|
|
27690
|
-
e3 = { cwd: process.cwd(),
|
|
27741
|
+
t2.exports = (t3, e3) => __async(exports, null, function* () {
|
|
27742
|
+
e3 = __spreadValues({ cwd: process.cwd() }, e3);
|
|
27691
27743
|
if (typeof e3.cwd !== "string") {
|
|
27692
27744
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
|
27693
27745
|
}
|
|
27694
|
-
const r3 =
|
|
27695
|
-
const r4 =
|
|
27746
|
+
const r3 = yield Promise.all([].concat(t3).map((t4) => __async(exports, null, function* () {
|
|
27747
|
+
const r4 = yield s.isDirectory(getPath(t4, e3.cwd));
|
|
27696
27748
|
return r4 ? getGlob(t4, e3) : t4;
|
|
27697
|
-
}));
|
|
27749
|
+
})));
|
|
27698
27750
|
return [].concat.apply([], r3);
|
|
27699
|
-
};
|
|
27751
|
+
});
|
|
27700
27752
|
t2.exports.sync = (t3, e3) => {
|
|
27701
|
-
e3 = { cwd: process.cwd(),
|
|
27753
|
+
e3 = __spreadValues({ cwd: process.cwd() }, e3);
|
|
27702
27754
|
if (typeof e3.cwd !== "string") {
|
|
27703
27755
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
|
27704
27756
|
}
|
|
@@ -27743,24 +27795,24 @@ var require_globby = __commonJS({
|
|
|
27743
27795
|
return o.join(t3, e3);
|
|
27744
27796
|
};
|
|
27745
27797
|
const getIsIgnoredPredecate = (t3, e3) => (r3) => t3.ignores(a(o.relative(e3, ensureAbsolutePathForCwd(e3, r3.path || r3))));
|
|
27746
|
-
const getFile =
|
|
27798
|
+
const getFile = (t3, e3) => __async(exports, null, function* () {
|
|
27747
27799
|
const r3 = o.join(e3, t3);
|
|
27748
|
-
const n2 =
|
|
27800
|
+
const n2 = yield u(r3, "utf8");
|
|
27749
27801
|
return { cwd: e3, filePath: r3, content: n2 };
|
|
27750
|
-
};
|
|
27802
|
+
});
|
|
27751
27803
|
const getFileSync = (t3, e3) => {
|
|
27752
27804
|
const r3 = o.join(e3, t3);
|
|
27753
27805
|
const n2 = s.readFileSync(r3, "utf8");
|
|
27754
27806
|
return { cwd: e3, filePath: r3, content: n2 };
|
|
27755
27807
|
};
|
|
27756
27808
|
const normalizeOptions = ({ ignore: t3 = [], cwd: e3 = a(process.cwd()) } = {}) => ({ ignore: t3, cwd: e3 });
|
|
27757
|
-
t2.exports =
|
|
27809
|
+
t2.exports = (t3) => __async(exports, null, function* () {
|
|
27758
27810
|
t3 = normalizeOptions(t3);
|
|
27759
|
-
const e3 =
|
|
27760
|
-
const r3 =
|
|
27811
|
+
const e3 = yield i("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
|
27812
|
+
const r3 = yield Promise.all(e3.map((e4) => getFile(e4, t3.cwd)));
|
|
27761
27813
|
const n2 = reduceIgnore(r3);
|
|
27762
27814
|
return getIsIgnoredPredecate(n2, t3.cwd);
|
|
27763
|
-
};
|
|
27815
|
+
});
|
|
27764
27816
|
t2.exports.sync = (t3) => {
|
|
27765
27817
|
t3 = normalizeOptions(t3);
|
|
27766
27818
|
const e3 = i.sync("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
|
@@ -27791,7 +27843,7 @@ var require_globby = __commonJS({
|
|
|
27791
27843
|
let e3;
|
|
27792
27844
|
try {
|
|
27793
27845
|
e3 = n.statSync(t3.cwd);
|
|
27794
|
-
} catch {
|
|
27846
|
+
} catch (e4) {
|
|
27795
27847
|
return;
|
|
27796
27848
|
}
|
|
27797
27849
|
if (!e3.isDirectory()) {
|
|
@@ -27804,13 +27856,13 @@ var require_globby = __commonJS({
|
|
|
27804
27856
|
assertPatternsInput(t3);
|
|
27805
27857
|
checkCwdOption(e3);
|
|
27806
27858
|
const r3 = [];
|
|
27807
|
-
e3 = { ignore: [], expandDirectories: true,
|
|
27859
|
+
e3 = __spreadValues({ ignore: [], expandDirectories: true }, e3);
|
|
27808
27860
|
for (const [n2, s2] of t3.entries()) {
|
|
27809
27861
|
if (isNegative(s2)) {
|
|
27810
27862
|
continue;
|
|
27811
27863
|
}
|
|
27812
27864
|
const o2 = t3.slice(n2).filter((t4) => isNegative(t4)).map((t4) => t4.slice(1));
|
|
27813
|
-
const i2 = {
|
|
27865
|
+
const i2 = __spreadProps(__spreadValues({}, e3), { ignore: e3.ignore.concat(o2) });
|
|
27814
27866
|
r3.push({ pattern: s2, options: i2 });
|
|
27815
27867
|
}
|
|
27816
27868
|
return r3;
|
|
@@ -27821,9 +27873,9 @@ var require_globby = __commonJS({
|
|
|
27821
27873
|
r3.cwd = t3.options.cwd;
|
|
27822
27874
|
}
|
|
27823
27875
|
if (Array.isArray(t3.options.expandDirectories)) {
|
|
27824
|
-
r3 = {
|
|
27876
|
+
r3 = __spreadProps(__spreadValues({}, r3), { files: t3.options.expandDirectories });
|
|
27825
27877
|
} else if (typeof t3.options.expandDirectories === "object") {
|
|
27826
|
-
r3 = {
|
|
27878
|
+
r3 = __spreadValues(__spreadValues({}, r3), t3.options.expandDirectories);
|
|
27827
27879
|
}
|
|
27828
27880
|
return e3(t3.pattern, r3);
|
|
27829
27881
|
};
|
|
@@ -27836,20 +27888,22 @@ var require_globby = __commonJS({
|
|
|
27836
27888
|
}
|
|
27837
27889
|
return { pattern: e3, options: r3 };
|
|
27838
27890
|
};
|
|
27839
|
-
t2.exports =
|
|
27891
|
+
t2.exports = (t3, e3) => __async(exports, null, function* () {
|
|
27840
27892
|
const r3 = generateGlobTasks(t3, e3);
|
|
27841
|
-
const getFilter =
|
|
27842
|
-
|
|
27843
|
-
|
|
27844
|
-
|
|
27893
|
+
const getFilter = () => __async(exports, null, function* () {
|
|
27894
|
+
return e3 && e3.gitignore ? a({ cwd: e3.cwd, ignore: e3.ignore }) : DEFAULT_FILTER;
|
|
27895
|
+
});
|
|
27896
|
+
const getTasks = () => __async(exports, null, function* () {
|
|
27897
|
+
const t4 = yield Promise.all(r3.map((t5) => __async(exports, null, function* () {
|
|
27898
|
+
const e4 = yield getPattern(t5, c);
|
|
27845
27899
|
return Promise.all(e4.map(globToTask(t5)));
|
|
27846
|
-
}));
|
|
27900
|
+
})));
|
|
27847
27901
|
return s(...t4);
|
|
27848
|
-
};
|
|
27849
|
-
const [n2, o2] =
|
|
27850
|
-
const p2 =
|
|
27902
|
+
});
|
|
27903
|
+
const [n2, o2] = yield Promise.all([getFilter(), getTasks()]);
|
|
27904
|
+
const p2 = yield Promise.all(o2.map((t4) => i(t4.pattern, t4.options)));
|
|
27851
27905
|
return s(...p2).filter((t4) => !n2(getPathString(t4)));
|
|
27852
|
-
};
|
|
27906
|
+
});
|
|
27853
27907
|
t2.exports.sync = (t3, e3) => {
|
|
27854
27908
|
const r3 = generateGlobTasks(t3, e3);
|
|
27855
27909
|
const n2 = [];
|
|
@@ -28203,19 +28257,21 @@ var require_globby = __commonJS({
|
|
|
28203
28257
|
"use strict";
|
|
28204
28258
|
const { promisify: n } = r2(837);
|
|
28205
28259
|
const s = r2(147);
|
|
28206
|
-
|
|
28207
|
-
|
|
28208
|
-
|
|
28209
|
-
|
|
28210
|
-
try {
|
|
28211
|
-
const o = await n(s[t3])(r3);
|
|
28212
|
-
return o[e3]();
|
|
28213
|
-
} catch (t4) {
|
|
28214
|
-
if (t4.code === "ENOENT") {
|
|
28215
|
-
return false;
|
|
28260
|
+
function isType4(t3, e3, r3) {
|
|
28261
|
+
return __async(this, null, function* () {
|
|
28262
|
+
if (typeof r3 !== "string") {
|
|
28263
|
+
throw new TypeError(`Expected a string, got ${typeof r3}`);
|
|
28216
28264
|
}
|
|
28217
|
-
|
|
28218
|
-
|
|
28265
|
+
try {
|
|
28266
|
+
const o = yield n(s[t3])(r3);
|
|
28267
|
+
return o[e3]();
|
|
28268
|
+
} catch (t4) {
|
|
28269
|
+
if (t4.code === "ENOENT") {
|
|
28270
|
+
return false;
|
|
28271
|
+
}
|
|
28272
|
+
throw t4;
|
|
28273
|
+
}
|
|
28274
|
+
});
|
|
28219
28275
|
}
|
|
28220
28276
|
function isTypeSync(t3, e3, r3) {
|
|
28221
28277
|
if (typeof r3 !== "string") {
|
|
@@ -30590,15 +30646,15 @@ var require_gzip_size = __commonJS({
|
|
|
30590
30646
|
const i = t2(796);
|
|
30591
30647
|
const { promisify: a } = t2(837);
|
|
30592
30648
|
const s = t2(325);
|
|
30593
|
-
const getOptions = (e3) => ({ level: 9,
|
|
30649
|
+
const getOptions = (e3) => __spreadValues({ level: 9 }, e3);
|
|
30594
30650
|
const p = a(i.gzip);
|
|
30595
|
-
e2.exports =
|
|
30651
|
+
e2.exports = (e3, r3) => __async(exports, null, function* () {
|
|
30596
30652
|
if (!e3) {
|
|
30597
30653
|
return 0;
|
|
30598
30654
|
}
|
|
30599
|
-
const t3 =
|
|
30655
|
+
const t3 = yield p(e3, getOptions(r3));
|
|
30600
30656
|
return t3.length;
|
|
30601
|
-
};
|
|
30657
|
+
});
|
|
30602
30658
|
e2.exports.sync = (e3, r3) => i.gzipSync(e3, getOptions(r3)).length;
|
|
30603
30659
|
e2.exports.stream = (e3) => {
|
|
30604
30660
|
const r3 = new o.PassThrough();
|
|
@@ -30726,44 +30782,44 @@ var require_dotenv_expand = __commonJS({
|
|
|
30726
30782
|
}
|
|
30727
30783
|
});
|
|
30728
30784
|
|
|
30729
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30785
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/browsers.js
|
|
30730
30786
|
var require_browsers = __commonJS({
|
|
30731
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30787
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/browsers.js"(exports, module2) {
|
|
30732
30788
|
module2.exports = { A: "ie", B: "edge", C: "firefox", D: "chrome", E: "safari", F: "opera", G: "ios_saf", H: "op_mini", I: "android", J: "bb", K: "op_mob", L: "and_chr", M: "and_ff", N: "ie_mob", O: "and_uc", P: "samsung", Q: "and_qq", R: "baidu", S: "kaios" };
|
|
30733
30789
|
}
|
|
30734
30790
|
});
|
|
30735
30791
|
|
|
30736
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30792
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/browsers.js
|
|
30737
30793
|
var require_browsers2 = __commonJS({
|
|
30738
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30794
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/browsers.js"(exports, module2) {
|
|
30739
30795
|
module2.exports.browsers = require_browsers();
|
|
30740
30796
|
}
|
|
30741
30797
|
});
|
|
30742
30798
|
|
|
30743
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30799
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/browserVersions.js
|
|
30744
30800
|
var require_browserVersions = __commonJS({
|
|
30745
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30746
|
-
module2.exports = { "0": "
|
|
30801
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/browserVersions.js"(exports, module2) {
|
|
30802
|
+
module2.exports = { "0": "21", "1": "22", "2": "23", "3": "24", "4": "25", "5": "26", "6": "27", "7": "28", "8": "29", "9": "30", A: "10", B: "11", C: "12", D: "113", E: "7", F: "8", G: "9", H: "15", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "93", d: "94", e: "95", f: "96", g: "97", h: "98", i: "20", j: "73", k: "99", l: "100", m: "101", n: "102", o: "103", p: "104", q: "105", r: "106", s: "107", t: "108", u: "109", v: "110", w: "111", x: "112", y: "5", z: "19", AB: "31", BB: "32", CB: "33", DB: "34", EB: "35", FB: "36", GB: "37", HB: "38", IB: "39", JB: "40", KB: "41", LB: "42", MB: "43", NB: "44", OB: "45", PB: "46", QB: "47", RB: "48", SB: "49", TB: "50", UB: "51", VB: "52", WB: "53", XB: "54", YB: "55", ZB: "56", aB: "57", bB: "58", cB: "60", dB: "62", eB: "63", fB: "64", gB: "65", hB: "66", iB: "67", jB: "68", kB: "69", lB: "70", mB: "71", nB: "72", oB: "74", pB: "75", qB: "76", rB: "77", sB: "78", tB: "11.1", uB: "12.1", vB: "16.0", wB: "3", xB: "59", yB: "61", zB: "82", "0B": "114", "1B": "115", "2B": "3.2", "3B": "10.1", "4B": "13.1", "5B": "15.2-15.3", "6B": "15.4", "7B": "15.5", "8B": "15.6", "9B": "16.1", AC: "16.2", BC: "16.3", CC: "16.4", DC: "16.5", EC: "11.5", FC: "4.2-4.3", GC: "5.5", HC: "2", IC: "3.5", JC: "3.6", KC: "116", LC: "3.1", MC: "5.1", NC: "6.1", OC: "7.1", PC: "9.1", QC: "14.1", RC: "15.1", SC: "16.6", TC: "TP", UC: "9.5-9.6", VC: "10.0-10.1", WC: "10.5", XC: "10.6", YC: "11.6", ZC: "4.0-4.1", aC: "5.0-5.1", bC: "6.0-6.1", cC: "7.0-7.1", dC: "8.1-8.4", eC: "9.0-9.2", fC: "9.3", gC: "10.0-10.2", hC: "10.3", iC: "11.0-11.2", jC: "11.3-11.4", kC: "12.0-12.1", lC: "12.2-12.5", mC: "13.0-13.1", nC: "13.2", oC: "13.3", pC: "13.4-13.7", qC: "14.0-14.4", rC: "14.5-14.8", sC: "15.0-15.1", tC: "all", uC: "2.1", vC: "2.2", wC: "2.3", xC: "4.1", yC: "4.4", zC: "4.4.3-4.4.4", "0C": "13.4", "1C": "5.0-5.4", "2C": "6.2-6.4", "3C": "7.2-7.4", "4C": "8.2", "5C": "9.2", "6C": "11.1-11.2", "7C": "12.0", "8C": "13.0", "9C": "14.0", AD: "15.0", BD: "17.0", CD: "18.0", DD: "19.0", ED: "13.18", FD: "2.5", GD: "3.0-3.1" };
|
|
30747
30803
|
}
|
|
30748
30804
|
});
|
|
30749
30805
|
|
|
30750
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30806
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/browserVersions.js
|
|
30751
30807
|
var require_browserVersions2 = __commonJS({
|
|
30752
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30808
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/browserVersions.js"(exports, module2) {
|
|
30753
30809
|
module2.exports.browserVersions = require_browserVersions();
|
|
30754
30810
|
}
|
|
30755
30811
|
});
|
|
30756
30812
|
|
|
30757
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30813
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/agents.js
|
|
30758
30814
|
var require_agents = __commonJS({
|
|
30759
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30760
|
-
module2.exports = { A: { A: { K: 0, F: 0, G: 0.034985, H: 0.0466466, A: 0, B: 0.396496, JC: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "JC", "K", "F", "G", "H", "A", "B", "", "", ""], E: "IE", F: { JC: 962323200, K: 998870400, F: 1161129600, G: 1237420800, H: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { "0": 3.57315, C: 0, L: 0, M: 0, I: 4269e-6, N: 0, D: 4269e-6, O: 8538e-6, P: 0, Q: 8538e-6, R: 8538e-6, S: 8538e-6, T: 8538e-6, U: 4269e-6, V: 8538e-6, W: 8538e-6, X: 4269e-6, Y: 8538e-6, Z: 8538e-6, a: 0, b: 0.012807, c: 0, d: 0, e: 0, f: 0, g: 0, h: 0, i: 0.017076, j: 0, k: 0, o: 0, p: 0, q: 0, r: 0, s: 4269e-6, t: 8538e-6, u: 0.012807, v: 0.081111, w: 0.017076, x: 0.055497, y: 0.081111, z: 0.055497, E: 0.994677 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "L", "M", "I", "N", "D", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "E", "", "", ""], E: "Edge", F: { "0": 1685664e3, C: 1438128e3, L: 1447286400, M: 1470096e3, I: 1491868800, N: 1508198400, D: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, c: 1630627200, d: 1632441600, e: 1634774400, f: 1637539200, g: 1641427200, h: 1643932800, i: 1646265600, j: 1649635200, k: 1651190400, o: 1653955200, p: 1655942400, q: 1659657600, r: 1661990400, s: 1664755200, t: 1666915200, u: 1670198400, v: 1673481600, w: 1675900800, x: 1678665600, y: 1680825600, z: 1683158400, E: 1689897600 }, D: { C: "ms", L: "ms", M: "ms", I: "ms", N: "ms", D: "ms", O: "ms" } }, C: { A: { "0": 0.542163, "1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, KC: 0, zB: 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 8538e-6, C: 0, L: 0, M: 0, I: 0, N: 0, D: 0, O: 0, l: 0, m: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 0, MB: 0, NB: 0, OB: 8538e-6, PB: 8538e-6, QB: 0, RB: 0, SB: 0, TB: 0, UB: 0, VB: 0, WB: 0, XB: 0.046959, YB: 4269e-6, ZB: 0, aB: 0, bB: 4269e-6, cB: 0, dB: 0, "0B": 4269e-6, eB: 0, "1B": 0, fB: 0, gB: 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 4269e-6, n: 0, qB: 0, rB: 0, sB: 0, tB: 0, uB: 0.04269, P: 0, Q: 0, R: 0, "2B": 0, S: 0, T: 0, U: 0, V: 0, W: 0, X: 4269e-6, Y: 4269e-6, Z: 4269e-6, a: 4269e-6, b: 0, c: 0, d: 8538e-6, e: 0, f: 0, g: 0, h: 0, i: 0, j: 0, k: 0, o: 0.110994, p: 8538e-6, q: 0, r: 4269e-6, s: 4269e-6, t: 4269e-6, u: 8538e-6, v: 8538e-6, w: 0.012807, x: 0.021345, y: 0.068304, z: 0.038421, E: 1.37889, "3B": 8538e-6, "4B": 0, "5B": 0, LC: 0, MC: 0, NC: 0 }, B: "moz", C: ["KC", "zB", "MC", "NC", "J", "1", "K", "F", "G", "H", "A", "B", "C", "L", "M", "I", "N", "D", "O", "2", "l", "m", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "0B", "eB", "1B", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "n", "qB", "rB", "sB", "tB", "uB", "P", "Q", "R", "2B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "E", "3B", "4B", "5B", "LC"], E: "Firefox", F: { "0": 1686009600, "1": 1308614400, "2": 1357603200, "3": 1368489600, "4": 1372118400, "5": 1375747200, "6": 1379376e3, "7": 1386633600, "8": 1391472e3, "9": 1395100800, KC: 1161648e3, zB: 1213660800, MC: 124632e4, NC: 1264032e3, J: 1300752e3, K: 1313452800, F: 1317081600, G: 1317081600, H: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, L: 1335225600, M: 1338854400, I: 1342483200, N: 1346112e3, D: 1349740800, O: 1353628800, l: 1361232e3, m: 1364860800, AB: 1398729600, BB: 1402358400, CB: 1405987200, DB: 1409616e3, EB: 1413244800, FB: 1417392e3, GB: 1421107200, HB: 1424736e3, IB: 1428278400, JB: 1431475200, KB: 1435881600, LB: 1439251200, MB: 144288e4, NB: 1446508800, OB: 1450137600, PB: 1453852800, QB: 1457395200, RB: 1461628800, SB: 1465257600, TB: 1470096e3, UB: 1474329600, VB: 1479168e3, WB: 1485216e3, XB: 1488844800, YB: 149256e4, ZB: 1497312e3, aB: 1502150400, bB: 1506556800, cB: 1510617600, dB: 1516665600, "0B": 1520985600, eB: 1525824e3, "1B": 1529971200, fB: 1536105600, gB: 1540252800, hB: 1544486400, iB: 154872e4, jB: 1552953600, kB: 1558396800, lB: 1562630400, mB: 1567468800, nB: 1571788800, oB: 1575331200, pB: 1578355200, n: 1581379200, qB: 1583798400, rB: 1586304e3, sB: 1588636800, tB: 1591056e3, uB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, "2B": 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, c: 1633392e3, d: 1635811200, e: 1638835200, f: 1641859200, g: 1644364800, h: 1646697600, i: 1649116800, j: 1651536e3, k: 1653955200, o: 1656374400, p: 1658793600, q: 1661212800, r: 1663632e3, s: 1666051200, t: 1668470400, u: 1670889600, v: 1673913600, w: 1676332800, x: 1678752e3, y: 1681171200, z: 1683590400, E: 1688428800, "3B": 1690848e3, "4B": null, "5B": null, LC: null } }, D: { A: { "0": 16.3375, "1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 0, C: 0, L: 0, M: 0, I: 0, N: 0, D: 0, O: 0, l: 0, m: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 4269e-6, GB: 0, HB: 0, IB: 0, JB: 0.017076, KB: 0, LB: 0.017076, MB: 4269e-6, NB: 0, OB: 4269e-6, PB: 0, QB: 0, RB: 0, SB: 8538e-6, TB: 0.021345, UB: 0.034152, VB: 8538e-6, WB: 4269e-6, XB: 4269e-6, YB: 8538e-6, ZB: 0, aB: 4269e-6, bB: 0.051228, cB: 4269e-6, dB: 8538e-6, "0B": 0, eB: 0.021345, "1B": 0.012807, fB: 0, gB: 8538e-6, hB: 0, iB: 8538e-6, jB: 0.029883, kB: 8538e-6, lB: 0.046959, mB: 0.064035, nB: 0.064035, oB: 0.025614, pB: 0.034152, n: 0.012807, qB: 0.076842, rB: 0.068304, sB: 0.106725, tB: 0.038421, uB: 0.046959, P: 0.247602, Q: 0.072573, R: 0.068304, S: 0.153684, T: 0.04269, U: 0.102456, V: 0.102456, W: 0.110994, X: 0.068304, Y: 0.051228, Z: 0.068304, a: 0.072573, b: 0.029883, c: 0.145146, d: 0.025614, e: 0.021345, f: 0.025614, g: 0.029883, h: 0.059766, i: 0.051228, j: 0.04269, k: 0.051228, o: 0.04269, p: 0.226257, q: 0.064035, r: 0.055497, s: 0.04269, t: 0.093918, u: 0.145146, v: 1.8869, w: 0.123801, x: 0.29883, y: 0.268947, z: 0.4269, E: 2.92, "3B": 0.021345, "4B": 8538e-6, "5B": 0 }, B: "webkit", C: ["", "", "", "", "", "", "J", "1", "K", "F", "G", "H", "A", "B", "C", "L", "M", "I", "N", "D", "O", "2", "l", "m", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "0B", "eB", "1B", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "n", "qB", "rB", "sB", "tB", "uB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "E", "3B", "4B", "5B"], E: "Chrome", F: { "0": 1685404800, "1": 1274745600, "2": 1332892800, "3": 1343692800, "4": 1348531200, "5": 1352246400, "6": 1357862400, "7": 1361404800, "8": 1364428800, "9": 1369094400, J: 1264377600, K: 1283385600, F: 1287619200, G: 1291248e3, H: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, L: 1312243200, M: 1316131200, I: 1316131200, N: 1319500800, D: 1323734400, O: 1328659200, l: 133704e4, m: 1340668800, AB: 1374105600, BB: 1376956800, CB: 1384214400, DB: 1389657600, EB: 1392940800, FB: 1397001600, GB: 1400544e3, HB: 1405468800, IB: 1409011200, JB: 141264e4, KB: 1416268800, LB: 1421798400, MB: 1425513600, NB: 1429401600, OB: 143208e4, PB: 1437523200, QB: 1441152e3, RB: 1444780800, SB: 1449014400, TB: 1453248e3, UB: 1456963200, VB: 1460592e3, WB: 1464134400, XB: 1469059200, YB: 1472601600, ZB: 1476230400, aB: 1480550400, bB: 1485302400, cB: 1489017600, dB: 149256e4, "0B": 1496707200, eB: 1500940800, "1B": 1504569600, fB: 1508198400, gB: 1512518400, hB: 1516752e3, iB: 1520294400, jB: 1523923200, kB: 1527552e3, lB: 1532390400, mB: 1536019200, nB: 1539648e3, oB: 1543968e3, pB: 154872e4, n: 1552348800, qB: 1555977600, rB: 1559606400, sB: 1564444800, tB: 1568073600, uB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, c: 1630368e3, d: 1632268800, e: 1634601600, f: 1637020800, g: 1641340800, h: 1643673600, i: 1646092800, j: 1648512e3, k: 1650931200, o: 1653350400, p: 1655769600, q: 1659398400, r: 1661817600, s: 1664236800, t: 1666656e3, u: 166968e4, v: 1673308800, w: 1675728e3, x: 1678147200, y: 1680566400, z: 1682985600, E: 1689724800, "3B": null, "4B": null, "5B": null } }, E: { A: { "1": 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 0, C: 0, L: 0.017076, M: 0.102456, I: 0.021345, D: 0.017076, OC: 0, "6B": 0, PC: 8538e-6, QC: 0, RC: 0, SC: 0.204912, "7B": 0, vB: 8538e-6, wB: 0.029883, "8B": 0.149415, TC: 0.264678, UC: 0.04269, "9B": 0.034152, AC: 0.081111, xB: 0.136608, VC: 0.610467, yB: 0.192105, BC: 0.192105, CC: 0.209181, DC: 0.495204, EC: 0.183567, FC: 2.35649, GC: 0.055497, WC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "OC", "6B", "J", "1", "PC", "K", "QC", "F", "RC", "G", "H", "SC", "A", "7B", "B", "vB", "C", "wB", "L", "8B", "M", "TC", "I", "UC", "9B", "AC", "xB", "VC", "yB", "BC", "CC", "DC", "EC", "FC", "GC", "D", "WC"], E: "Safari", F: { "1": 1275868800, OC: 1205798400, "6B": 1226534400, J: 1244419200, PC: 131112e4, K: 1343174400, QC: 13824e5, F: 13824e5, RC: 1410998400, G: 1413417600, H: 1443657600, SC: 1458518400, A: 1474329600, "7B": 1490572800, B: 1505779200, vB: 1522281600, C: 1537142400, wB: 1553472e3, L: 1568851200, "8B": 1585008e3, M: 1600214400, TC: 1619395200, I: 1632096e3, UC: 1635292800, "9B": 1639353600, AC: 1647216e3, xB: 1652745600, VC: 1658275200, yB: 1662940800, BC: 1666569600, CC: 1670889600, DC: 1674432e3, EC: 1679875200, FC: 1684368e3, GC: null, D: null, WC: null } }, F: { A: { "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 8538e-6, H: 0, B: 0, C: 0, I: 0, N: 0, D: 0, O: 0, l: 0, m: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 4269e-6, MB: 0, NB: 0, OB: 0, PB: 0, QB: 0, RB: 0.017076, SB: 0, TB: 0, UB: 0, VB: 0, WB: 0, XB: 0, YB: 0, ZB: 4269e-6, aB: 4269e-6, bB: 0, cB: 0, dB: 0, eB: 0, fB: 0, gB: 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 0, n: 0, qB: 0, rB: 0, sB: 0, tB: 0, uB: 0, P: 0, Q: 0, R: 0, "2B": 0, S: 0, T: 0, U: 4269e-6, V: 0, W: 0, X: 0, Y: 0, Z: 0, a: 0, b: 0, c: 0, d: 0, e: 0.055497, f: 8538e-6, g: 0.04269, h: 8538e-6, i: 1.05871, j: 0.563508, k: 8538e-6, XC: 0, YC: 0, ZC: 0, aC: 0, vB: 0, HC: 0, bC: 0, wB: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "XC", "YC", "ZC", "aC", "B", "vB", "HC", "bC", "C", "wB", "I", "N", "D", "O", "2", "l", "m", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "n", "qB", "rB", "sB", "tB", "uB", "P", "Q", "R", "2B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "", "", ""], E: "Opera", F: { "2": 1390867200, "3": 1401753600, "4": 1405987200, "5": 1409616e3, "6": 1413331200, "7": 1417132800, "8": 1422316800, "9": 1425945600, H: 1150761600, XC: 1223424e3, YC: 1251763200, ZC: 1267488e3, aC: 1277942400, B: 1292457600, vB: 1302566400, HC: 1309219200, bC: 1323129600, C: 1323129600, wB: 1352073600, I: 1372723200, N: 1377561600, D: 1381104e3, O: 1386288e3, l: 1393891200, m: 1399334400, AB: 1430179200, BB: 1433808e3, CB: 1438646400, DB: 1442448e3, EB: 1445904e3, FB: 1449100800, GB: 1454371200, HB: 1457308800, IB: 146232e4, JB: 1465344e3, KB: 1470096e3, LB: 1474329600, MB: 1477267200, NB: 1481587200, OB: 1486425600, PB: 1490054400, QB: 1494374400, RB: 1498003200, SB: 1502236800, TB: 1506470400, UB: 1510099200, VB: 1515024e3, WB: 1517961600, XB: 1521676800, YB: 1525910400, ZB: 1530144e3, aB: 1534982400, bB: 1537833600, cB: 1543363200, dB: 1548201600, eB: 1554768e3, fB: 1561593600, gB: 1566259200, hB: 1570406400, iB: 1573689600, jB: 1578441600, kB: 1583971200, lB: 1587513600, mB: 1592956800, nB: 1595894400, oB: 1600128e3, pB: 1603238400, n: 161352e4, qB: 1612224e3, rB: 1616544e3, sB: 1619568e3, tB: 1623715200, uB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, "2B": 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3, c: 1668643200, d: 1671062400, e: 1675209600, f: 1677024e3, g: 1679529600, h: 1681948800, i: 1684195200, j: 1687219200, k: 1690329600 }, D: { H: "o", B: "o", C: "o", XC: "o", YC: "o", ZC: "o", aC: "o", vB: "o", HC: "o", bC: "o", wB: "o" } }, G: { A: { G: 0, D: 0.060132, "6B": 0, cC: 0, IC: 30066e-7, dC: 30066e-7, eC: 30066e-7, fC: 0.0120264, gC: 45099e-7, hC: 0.0105231, iC: 0.0435957, jC: 30066e-7, kC: 0.0586287, lC: 0.0315693, mC: 0.0210462, nC: 0.015033, oC: 0.281117, pC: 751649e-8, qC: 0.0105231, rC: 0.0195429, sC: 0.0616352, tC: 0.174383, uC: 0.30517, vC: 0.108238, "9B": 0.121767, AC: 0.139807, xB: 0.201442, wC: 0.481056, yB: 0.551711, BC: 1.05231, CC: 0.545697, DC: 1.15604, EC: 0.317196, FC: 8.21102, GC: 0.189416 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "6B", "cC", "IC", "dC", "eC", "fC", "G", "gC", "hC", "iC", "jC", "kC", "lC", "mC", "nC", "oC", "pC", "qC", "rC", "sC", "tC", "uC", "vC", "9B", "AC", "xB", "wC", "yB", "BC", "CC", "DC", "EC", "FC", "GC", "D", ""], E: "Safari on iOS", F: { "6B": 1270252800, cC: 1283904e3, IC: 1299628800, dC: 1331078400, eC: 1359331200, fC: 1394409600, G: 1410912e3, gC: 1413763200, hC: 1442361600, iC: 1458518400, jC: 1473724800, kC: 1490572800, lC: 1505779200, mC: 1522281600, nC: 1537142400, oC: 1553472e3, pC: 1568851200, qC: 1572220800, rC: 1580169600, sC: 1585008e3, tC: 1600214400, uC: 1619395200, vC: 1632096e3, "9B": 1639353600, AC: 1647216e3, xB: 1652659200, wC: 1658275200, yB: 1662940800, BC: 1666569600, CC: 1670889600, DC: 1674432e3, EC: 1679875200, FC: 1684368e3, GC: null, D: null } }, H: { A: { xC: 1.05241 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "xC", "", "", ""], E: "Opera Mini", F: { xC: 1426464e3 } }, I: { A: { zB: 0, J: 0.0242902, E: 0, yC: 0, zC: 809674e-8, "0C": 0, "1C": 0.0404837, IC: 0.0566772, "2C": 0, "3C": 0.242902 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yC", "zC", "0C", "zB", "J", "1C", "IC", "2C", "3C", "E", "", "", ""], E: "Android Browser", F: { yC: 1256515200, zC: 1274313600, "0C": 1291593600, zB: 1298332800, J: 1318896e3, "1C": 1341792e3, IC: 1374624e3, "2C": 1386547200, "3C": 1401667200, E: 1690243200 } }, J: { A: { F: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "A", "", "", ""], E: "Blackberry Browser", F: { F: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, n: 0, vB: 0, HC: 0, wB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "vB", "HC", "C", "wB", "n", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, vB: 1314835200, HC: 1318291200, C: 1330300800, wB: 1349740800, n: 1673827200 }, D: { n: "webkit" } }, L: { A: { E: 38.273 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "", "", ""], E: "Chrome for Android", F: { E: 1690243200 } }, M: { A: { E: 0.2865 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "", "", ""], E: "Firefox for Android", F: { E: 1688428800 } }, N: { A: { A: 0, B: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { xB: 1.02567 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "xB", "", "", ""], E: "UC Browser for Android", F: { xB: 1687132800 }, D: { xB: "webkit" } }, P: { A: { J: 0.135723, l: 0.125283, m: 1.23195, "4C": 0, "5C": 0, "6C": 0.041761, "7C": 0, "8C": 0, "7B": 0, "9C": 0.0104403, AD: 0, BD: 0.0208805, CD: 0.0208805, DD: 0.0104403, yB: 0.0313208, ED: 0.041761, FD: 0.0313208, GD: 0.0626415 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "J", "4C", "5C", "6C", "7C", "8C", "7B", "9C", "AD", "BD", "CD", "DD", "yB", "ED", "FD", "GD", "l", "m", "", "", ""], E: "Samsung Internet", F: { J: 1461024e3, "4C": 1481846400, "5C": 1509408e3, "6C": 1528329600, "7C": 1546128e3, "8C": 1554163200, "7B": 1567900800, "9C": 1582588800, AD: 1593475200, BD: 1605657600, CD: 1618531200, DD: 1629072e3, yB: 1640736e3, ED: 1651708800, FD: 1659657600, GD: 1667260800, l: 1677369600, m: 1684454400 } }, Q: { A: { "8B": 0.16617 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "8B", "", "", ""], E: "QQ Browser", F: { "8B": 1663718400 } }, R: { A: { HD: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "HD", "", "", ""], E: "Baidu Browser", F: { HD: 1663027200 } }, S: { A: { ID: 0.08595, JD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "ID", "JD", "", "", ""], E: "KaiOS Browser", F: { ID: 1527811200, JD: 1631664e3 } } };
|
|
30815
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/data/agents.js"(exports, module2) {
|
|
30816
|
+
module2.exports = { A: { A: { J: 0.0131217, E: 621152e-8, F: 0.0439988, G: 0.0527986, A: 879976e-8, B: 0.36959, GC: 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GC", "J", "E", "F", "G", "A", "B", "", "", ""], E: "IE", F: { GC: 962323200, J: 998870400, E: 1161129600, F: 1237420800, G: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 4081e-6, K: 4267e-6, L: 4268e-6, H: 4081e-6, M: 3702e-6, N: 4441e-6, O: 0.013323, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 4441e-6, U: 3861e-6, V: 3861e-6, W: 4441e-6, X: 3943e-6, Y: 4441e-6, Z: 3943e-6, a: 3943e-6, b: 8882e-6, c: 4118e-6, d: 3939e-6, e: 3943e-6, f: 3943e-6, g: 3943e-6, h: 3929e-6, k: 3901e-6, l: 0.011829, m: 4441e-6, n: 4441e-6, o: 8162e-6, p: 4081e-6, q: 4441e-6, r: 8882e-6, s: 0.017764, t: 0.031087, u: 0.093261, v: 0.075497, w: 1.38559, x: 3.15755, D: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "H", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "D", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, H: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, c: 1630627200, d: 1632441600, e: 1634774400, f: 1637539200, g: 1641427200, h: 1643932800, k: 1646265600, l: 1649635200, m: 1651190400, n: 1653955200, o: 1655942400, p: 1659657600, q: 1661990400, r: 1664755200, s: 1666915200, t: 1670198400, u: 1673481600, v: 1675900800, w: 1678665600, x: 1680825600, D: 1683158400 }, D: { C: "ms", K: "ms", L: "ms", H: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 8322e-6, "1": 0.013698, "2": 4161e-6, "3": 8786e-6, "4": 4118e-6, "5": 4317e-6, "6": 4393e-6, "7": 4418e-6, "8": 8834e-6, "9": 8322e-6, HC: 4118e-6, wB: 4271e-6, I: 0.011703, y: 4879e-6, J: 0.020136, E: 5725e-6, F: 4525e-6, G: 533e-5, A: 4283e-6, B: 8882e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, H: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, z: 4443e-6, i: 4283e-6, AB: 8928e-6, BB: 4471e-6, CB: 9284e-6, DB: 4707e-6, EB: 9076e-6, FB: 4081e-6, GB: 4783e-6, HB: 3929e-6, IB: 4783e-6, JB: 487e-5, KB: 5029e-6, LB: 47e-4, MB: 0.022205, NB: 4441e-6, OB: 3867e-6, PB: 4525e-6, QB: 4293e-6, RB: 4081e-6, SB: 4538e-6, TB: 8282e-6, UB: 0.011601, VB: 0.039969, WB: 0.011601, XB: 4441e-6, YB: 4441e-6, ZB: 4441e-6, aB: 0.011601, bB: 3939e-6, xB: 4441e-6, cB: 3929e-6, yB: 4356e-6, dB: 4425e-6, eB: 8322e-6, fB: 415e-5, gB: 4267e-6, hB: 3801e-6, iB: 4267e-6, jB: 4081e-6, kB: 415e-5, lB: 4293e-6, mB: 4425e-6, nB: 0.013323, j: 415e-5, oB: 415e-5, pB: 4318e-6, qB: 4356e-6, rB: 3974e-6, sB: 0.031087, P: 4081e-6, Q: 4081e-6, R: 4081e-6, zB: 3861e-6, S: 4441e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 8882e-6, X: 4441e-6, Y: 3943e-6, Z: 3943e-6, a: 8882e-6, b: 3801e-6, c: 7722e-6, d: 0.017764, e: 3773e-6, f: 7886e-6, g: 3901e-6, h: 3901e-6, k: 4081e-6, l: 3861e-6, m: 4081e-6, n: 0.097702, o: 0.017764, p: 4441e-6, q: 8882e-6, r: 8882e-6, s: 8882e-6, t: 0.013323, u: 0.022205, v: 0.048851, w: 1.00367, x: 0.905964, D: 8882e-6, "0B": 0, "1B": 0, IC: 8786e-6, JC: 487e-5 }, B: "moz", C: ["HC", "wB", "IC", "JC", "I", "y", "J", "E", "F", "G", "A", "B", "C", "K", "L", "H", "M", "N", "O", "z", "i", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "xB", "cB", "yB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "j", "oB", "pB", "qB", "rB", "sB", "P", "Q", "R", "zB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "D", "0B", "1B", ""], E: "Firefox", F: { "0": 1364860800, "1": 1368489600, "2": 1372118400, "3": 1375747200, "4": 1379376e3, "5": 1386633600, "6": 1391472e3, "7": 1395100800, "8": 1398729600, "9": 1402358400, HC: 1161648e3, wB: 1213660800, IC: 124632e4, JC: 1264032e3, I: 1300752e3, y: 1308614400, J: 1313452800, E: 1317081600, F: 1317081600, G: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, H: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, z: 1357603200, i: 1361232e3, AB: 1405987200, BB: 1409616e3, CB: 1413244800, DB: 1417392e3, EB: 1421107200, FB: 1424736e3, GB: 1428278400, HB: 1431475200, IB: 1435881600, JB: 1439251200, KB: 144288e4, LB: 1446508800, MB: 1450137600, NB: 1453852800, OB: 1457395200, PB: 1461628800, QB: 1465257600, RB: 1470096e3, SB: 1474329600, TB: 1479168e3, UB: 1485216e3, VB: 1488844800, WB: 149256e4, XB: 1497312e3, YB: 1502150400, ZB: 1506556800, aB: 1510617600, bB: 1516665600, xB: 1520985600, cB: 1525824e3, yB: 1529971200, dB: 1536105600, eB: 1540252800, fB: 1544486400, gB: 154872e4, hB: 1552953600, iB: 1558396800, jB: 1562630400, kB: 1567468800, lB: 1571788800, mB: 1575331200, nB: 1578355200, j: 1581379200, oB: 1583798400, pB: 1586304e3, qB: 1588636800, rB: 1591056e3, sB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, zB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, c: 1633392e3, d: 1635811200, e: 1638835200, f: 1641859200, g: 1644364800, h: 1646697600, k: 1649116800, l: 1651536e3, m: 1653955200, n: 1656374400, o: 1658793600, p: 1661212800, q: 1663632e3, r: 1666051200, s: 1668470400, t: 1670889600, u: 1673913600, v: 1676332800, w: 1678752e3, x: 1681171200, D: 1683590400, "0B": null, "1B": null } }, D: { A: { "0": 4317e-6, "1": 3901e-6, "2": 8786e-6, "3": 3939e-6, "4": 4461e-6, "5": 4141e-6, "6": 4326e-6, "7": 47e-4, "8": 4538e-6, "9": 8322e-6, I: 4706e-6, y: 4879e-6, J: 4879e-6, E: 5591e-6, F: 5591e-6, G: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, H: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, z: 8322e-6, i: 4393e-6, AB: 8596e-6, BB: 4566e-6, CB: 4118e-6, DB: 8882e-6, EB: 4441e-6, FB: 4335e-6, GB: 4464e-6, HB: 0.017764, IB: 3867e-6, JB: 0.013323, KB: 4441e-6, LB: 3974e-6, MB: 8882e-6, NB: 8882e-6, OB: 0.013323, PB: 3867e-6, QB: 8882e-6, RB: 0.017764, SB: 0.035528, TB: 4441e-6, UB: 4081e-6, VB: 4441e-6, WB: 8882e-6, XB: 3867e-6, YB: 4441e-6, ZB: 0.066615, aB: 4081e-6, bB: 4441e-6, xB: 3773e-6, cB: 0.013323, yB: 8882e-6, dB: 3773e-6, eB: 4441e-6, fB: 3943e-6, gB: 8882e-6, hB: 0.031087, iB: 8882e-6, jB: 0.013323, kB: 0.039969, lB: 0.022205, mB: 0.017764, nB: 0.026646, j: 8882e-6, oB: 0.031087, pB: 0.04441, qB: 0.04441, rB: 0.017764, sB: 0.026646, P: 0.22205, Q: 0.039969, R: 0.04441, S: 0.137671, T: 0.035528, U: 0.071056, V: 0.057733, W: 0.093261, X: 0.026646, Y: 0.035528, Z: 0.04441, a: 0.084379, b: 0.048851, c: 0.137671, d: 0.066615, e: 0.017764, f: 0.035528, g: 0.048851, h: 0.039969, k: 0.057733, l: 0.048851, m: 0.039969, n: 0.057733, o: 0.270901, p: 0.057733, q: 0.08882, r: 0.071056, s: 0.093261, t: 0.248696, u: 2.10947, v: 0.475187, w: 8.75321, x: 9.67694, D: 0.022205, "0B": 0.013323, "1B": 0, KC: 0 }, B: "webkit", C: ["", "", "", "", "", "I", "y", "J", "E", "F", "G", "A", "B", "C", "K", "L", "H", "M", "N", "O", "z", "i", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "xB", "cB", "yB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "j", "oB", "pB", "qB", "rB", "sB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "D", "0B", "1B", "KC"], E: "Chrome", F: { "0": 1340668800, "1": 1343692800, "2": 1348531200, "3": 1352246400, "4": 1357862400, "5": 1361404800, "6": 1364428800, "7": 1369094400, "8": 1374105600, "9": 1376956800, I: 1264377600, y: 1274745600, J: 1283385600, E: 1287619200, F: 1291248e3, G: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, H: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, z: 1332892800, i: 133704e4, AB: 1384214400, BB: 1389657600, CB: 1392940800, DB: 1397001600, EB: 1400544e3, FB: 1405468800, GB: 1409011200, HB: 141264e4, IB: 1416268800, JB: 1421798400, KB: 1425513600, LB: 1429401600, MB: 143208e4, NB: 1437523200, OB: 1441152e3, PB: 1444780800, QB: 1449014400, RB: 1453248e3, SB: 1456963200, TB: 1460592e3, UB: 1464134400, VB: 1469059200, WB: 1472601600, XB: 1476230400, YB: 1480550400, ZB: 1485302400, aB: 1489017600, bB: 149256e4, xB: 1496707200, cB: 1500940800, yB: 1504569600, dB: 1508198400, eB: 1512518400, fB: 1516752e3, gB: 1520294400, hB: 1523923200, iB: 1527552e3, jB: 1532390400, kB: 1536019200, lB: 1539648e3, mB: 1543968e3, nB: 154872e4, j: 1552348800, oB: 1555977600, pB: 1559606400, qB: 1564444800, rB: 1568073600, sB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, c: 1630368e3, d: 1632268800, e: 1634601600, f: 1637020800, g: 1641340800, h: 1643673600, k: 1646092800, l: 1648512e3, m: 1650931200, n: 1653350400, o: 1655769600, p: 1659398400, q: 1661817600, r: 1664236800, s: 1666656e3, t: 166968e4, u: 1673308800, v: 1675728e3, w: 1678147200, x: 1680566400, D: 1682985600, "0B": null, "1B": null, KC: null } }, E: { A: { I: 0, y: 8322e-6, J: 4656e-6, E: 4465e-6, F: 3974e-6, G: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.022205, L: 0.119907, H: 0.026646, LC: 0, "2B": 8692e-6, MC: 8882e-6, NC: 456e-5, OC: 4283e-6, PC: 0.048851, "3B": 7802e-6, tB: 8882e-6, uB: 0.039969, "4B": 0.186522, QC: 0.328634, RC: 0.048851, "5B": 0.04441, "6B": 0.111025, "7B": 0.195404, "8B": 0.830467, vB: 0.08882, "9B": 0.279783, AC: 0.408572, BC: 1.63429, CC: 0.688355, DC: 0.013323, SC: 0, TC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "LC", "2B", "I", "y", "MC", "J", "NC", "E", "OC", "F", "G", "PC", "A", "3B", "B", "tB", "C", "uB", "K", "4B", "L", "QC", "H", "RC", "5B", "6B", "7B", "8B", "vB", "9B", "AC", "BC", "CC", "DC", "SC", "TC", ""], E: "Safari", F: { LC: 1205798400, "2B": 1226534400, I: 1244419200, y: 1275868800, MC: 131112e4, J: 1343174400, NC: 13824e5, E: 13824e5, OC: 1410998400, F: 1413417600, G: 1443657600, PC: 1458518400, A: 1474329600, "3B": 1490572800, B: 1505779200, tB: 1522281600, C: 1537142400, uB: 1553472e3, K: 1568851200, "4B": 1585008e3, L: 1600214400, QC: 1619395200, H: 1632096e3, RC: 1635292800, "5B": 1639353600, "6B": 1647216e3, "7B": 1652745600, "8B": 1658275200, vB: 1662940800, "9B": 1666569600, AC: 1670889600, BC: 1674432e3, CC: 1679875200, DC: 1684368e3, SC: null, TC: null } }, F: { A: { "0": 6597e-6, "1": 6597e-6, "2": 0.013434, "3": 6702e-6, "4": 6015e-6, "5": 5595e-6, "6": 4393e-6, "7": 8882e-6, "8": 4879e-6, "9": 4879e-6, G: 82e-4, B: 0.016581, C: 4317e-6, H: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, z: 6015e-6, i: 4879e-6, AB: 4441e-6, BB: 5152e-6, CB: 5014e-6, DB: 9758e-6, EB: 4879e-6, FB: 4441e-6, GB: 4283e-6, HB: 4367e-6, IB: 4534e-6, JB: 4441e-6, KB: 4227e-6, LB: 4418e-6, MB: 4161e-6, NB: 4227e-6, OB: 4725e-6, PB: 0.013323, QB: 8942e-6, RB: 4707e-6, SB: 4827e-6, TB: 4707e-6, UB: 4707e-6, VB: 4326e-6, WB: 8922e-6, XB: 0.014349, YB: 4425e-6, ZB: 472e-5, aB: 4425e-6, bB: 4425e-6, cB: 472e-5, dB: 4532e-6, eB: 4566e-6, fB: 0.02283, gB: 867e-5, hB: 4656e-6, iB: 4642e-6, jB: 3929e-6, kB: 944e-5, lB: 4293e-6, mB: 3929e-6, nB: 4298e-6, j: 0.096692, oB: 8162e-6, pB: 4141e-6, qB: 4257e-6, rB: 3939e-6, sB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, zB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 4441e-6, V: 3855e-6, W: 3855e-6, X: 3929e-6, Y: 3861e-6, Z: 0.011703, a: 7546e-6, b: 0.011829, c: 0.069498, d: 4441e-6, e: 0.066615, f: 0.315311, g: 0.817144, h: 0.031087, UC: 685e-5, VC: 0, WC: 8392e-6, XC: 4706e-6, tB: 6229e-6, EC: 4879e-6, YC: 8786e-6, uB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "G", "UC", "VC", "WC", "XC", "B", "tB", "EC", "YC", "C", "uB", "H", "M", "N", "O", "z", "i", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "j", "oB", "pB", "qB", "rB", "sB", "P", "Q", "R", "zB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "", "", ""], E: "Opera", F: { "0": 1399334400, "1": 1401753600, "2": 1405987200, "3": 1409616e3, "4": 1413331200, "5": 1417132800, "6": 1422316800, "7": 1425945600, "8": 1430179200, "9": 1433808e3, G: 1150761600, UC: 1223424e3, VC: 1251763200, WC: 1267488e3, XC: 1277942400, B: 1292457600, tB: 1302566400, EC: 1309219200, YC: 1323129600, C: 1323129600, uB: 1352073600, H: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, z: 1390867200, i: 1393891200, AB: 1438646400, BB: 1442448e3, CB: 1445904e3, DB: 1449100800, EB: 1454371200, FB: 1457308800, GB: 146232e4, HB: 1465344e3, IB: 1470096e3, JB: 1474329600, KB: 1477267200, LB: 1481587200, MB: 1486425600, NB: 1490054400, OB: 1494374400, PB: 1498003200, QB: 1502236800, RB: 1506470400, SB: 1510099200, TB: 1515024e3, UB: 1517961600, VB: 1521676800, WB: 1525910400, XB: 1530144e3, YB: 1534982400, ZB: 1537833600, aB: 1543363200, bB: 1548201600, cB: 1554768e3, dB: 1561593600, eB: 1566259200, fB: 1570406400, gB: 1573689600, hB: 1578441600, iB: 1583971200, jB: 1587513600, kB: 1592956800, lB: 1595894400, mB: 1600128e3, nB: 1603238400, j: 161352e4, oB: 1612224e3, pB: 1616544e3, qB: 1619568e3, rB: 1623715200, sB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, zB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3, c: 1668643200, d: 1671062400, e: 1675209600, f: 1677024e3, g: 1679529600, h: 1681948800 }, D: { G: "o", B: "o", C: "o", UC: "o", VC: "o", WC: "o", XC: "o", tB: "o", EC: "o", YC: "o", uB: "o" } }, G: { A: { F: 318601e-8, "2B": 0, ZC: 0, FC: 318601e-8, aC: 477902e-8, bC: 637202e-8, cC: 0.0175231, dC: 0.0254881, eC: 0.012744, fC: 0.0541622, gC: 318601e-8, hC: 0.0684992, iC: 0.0207091, jC: 0.0223021, kC: 0.0191161, lC: 0.358426, mC: 0.011151, nC: 0.0207091, oC: 0.0302671, pC: 0.0908013, qC: 0.237358, rC: 0.430112, sC: 0.136998, "5B": 0.167266, "6B": 0.191161, "7B": 0.30745, "8B": 0.831549, vB: 0.933501, "9B": 1.93709, AC: 1.14696, BC: 5.44011, CC: 2.42455, DC: 0.0525692 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "2B", "ZC", "FC", "aC", "bC", "cC", "F", "dC", "eC", "fC", "gC", "hC", "iC", "jC", "kC", "lC", "mC", "nC", "oC", "pC", "qC", "rC", "sC", "5B", "6B", "7B", "8B", "vB", "9B", "AC", "BC", "CC", "DC", "", "", ""], E: "Safari on iOS", F: { "2B": 1270252800, ZC: 1283904e3, FC: 1299628800, aC: 1331078400, bC: 1359331200, cC: 1394409600, F: 1410912e3, dC: 1413763200, eC: 1442361600, fC: 1458518400, gC: 1473724800, hC: 1490572800, iC: 1505779200, jC: 1522281600, kC: 1537142400, lC: 1553472e3, mC: 1568851200, nC: 1572220800, oC: 1580169600, pC: 1585008e3, qC: 1600214400, rC: 1619395200, sC: 1632096e3, "5B": 1639353600, "6B": 1647216e3, "7B": 1652659200, "8B": 1658275200, vB: 1662940800, "9B": 1666569600, AC: 1670889600, BC: 1674432e3, CC: 1679875200, DC: 1684368e3 } }, H: { A: { tC: 0.994689 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "tC", "", "", ""], E: "Opera Mini", F: { tC: 1426464e3 } }, I: { A: { wB: 0, I: 0.0285433, D: 0, uC: 0, vC: 951444e-8, wC: 0, xC: 0.0190289, FC: 0.0951444, yC: 0, zC: 0.34252 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "uC", "vC", "wC", "wB", "I", "xC", "FC", "yC", "zC", "D", "", "", ""], E: "Android Browser", F: { uC: 1256515200, vC: 1274313600, wC: 1291593600, wB: 1298332800, I: 1318896e3, xC: 1341792e3, FC: 1374624e3, yC: 1386547200, zC: 1401667200, D: 1682985600 } }, J: { A: { E: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "A", "", "", ""], E: "Blackberry Browser", F: { E: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, j: 0.0111391, tB: 0, EC: 0, uB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "tB", "EC", "C", "uB", "j", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, tB: 1314835200, EC: 1318291200, C: 1330300800, uB: 1349740800, j: 1673827200 }, D: { j: "webkit" } }, L: { A: { D: 39.6882 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""], E: "Chrome for Android", F: { D: 1682985600 } }, M: { A: { D: 0.289068 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""], E: "Firefox for Android", F: { D: 1683590400 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { "0C": 0.950589 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "0C", "", "", ""], E: "UC Browser for Android", F: { "0C": 1634688e3 }, D: { "0C": "webkit" } }, P: { A: { I: 0.191027, i: 2.06946, "1C": 0.0103543, "2C": 0.010304, "3C": 0.0530632, "4C": 0.0103584, "5C": 0.0104443, "3B": 0.0105043, "6C": 0.0212253, "7C": 0.0103982, "8C": 0.0212253, "9C": 0.0106126, AD: 0.0106126, vB: 0.0530632, BD: 0.0530632, CD: 0.0530632, DD: 0.148577 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "1C", "2C", "3C", "4C", "5C", "3B", "6C", "7C", "8C", "9C", "AD", "vB", "BD", "CD", "DD", "i", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, "1C": 1481846400, "2C": 1509408e3, "3C": 1528329600, "4C": 1546128e3, "5C": 1554163200, "3B": 1567900800, "6C": 1582588800, "7C": 1593475200, "8C": 1605657600, "9C": 1618531200, AD: 1629072e3, vB: 1640736e3, BD: 1651708800, CD: 1659657600, DD: 1667260800, i: 1677369600 } }, Q: { A: { "4B": 0.127857 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "4B", "", "", ""], E: "QQ Browser", F: { "4B": 1663718400 } }, R: { A: { ED: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "ED", "", "", ""], E: "Baidu Browser", F: { ED: 1663027200 } }, S: { A: { FD: 0.066708, GD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "FD", "GD", "", "", ""], E: "KaiOS Browser", F: { FD: 1527811200, GD: 1631664e3 } } };
|
|
30761
30817
|
}
|
|
30762
30818
|
});
|
|
30763
30819
|
|
|
30764
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30820
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/agents.js
|
|
30765
30821
|
var require_agents2 = __commonJS({
|
|
30766
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30822
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/agents.js"(exports, module2) {
|
|
30767
30823
|
"use strict";
|
|
30768
30824
|
var browsers = require_browsers2().browsers;
|
|
30769
30825
|
var versions = require_browserVersions2().browserVersions;
|
|
@@ -30810,9 +30866,9 @@ var require_agents2 = __commonJS({
|
|
|
30810
30866
|
}
|
|
30811
30867
|
});
|
|
30812
30868
|
|
|
30813
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30869
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/lib/statuses.js
|
|
30814
30870
|
var require_statuses = __commonJS({
|
|
30815
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30871
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/lib/statuses.js"(exports, module2) {
|
|
30816
30872
|
module2.exports = {
|
|
30817
30873
|
1: "ls",
|
|
30818
30874
|
// WHATWG Living Standard
|
|
@@ -30832,9 +30888,9 @@ var require_statuses = __commonJS({
|
|
|
30832
30888
|
}
|
|
30833
30889
|
});
|
|
30834
30890
|
|
|
30835
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30891
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/lib/supported.js
|
|
30836
30892
|
var require_supported = __commonJS({
|
|
30837
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30893
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/lib/supported.js"(exports, module2) {
|
|
30838
30894
|
module2.exports = {
|
|
30839
30895
|
y: 1 << 0,
|
|
30840
30896
|
n: 1 << 1,
|
|
@@ -30847,9 +30903,9 @@ var require_supported = __commonJS({
|
|
|
30847
30903
|
}
|
|
30848
30904
|
});
|
|
30849
30905
|
|
|
30850
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30906
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/feature.js
|
|
30851
30907
|
var require_feature = __commonJS({
|
|
30852
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30908
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/feature.js"(exports, module2) {
|
|
30853
30909
|
"use strict";
|
|
30854
30910
|
var statuses = require_statuses();
|
|
30855
30911
|
var supported = require_supported();
|
|
@@ -30893,9 +30949,9 @@ var require_feature = __commonJS({
|
|
|
30893
30949
|
}
|
|
30894
30950
|
});
|
|
30895
30951
|
|
|
30896
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30952
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/region.js
|
|
30897
30953
|
var require_region = __commonJS({
|
|
30898
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.
|
|
30954
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001489/node_modules/caniuse-lite/dist/unpacker/region.js"(exports, module2) {
|
|
30899
30955
|
"use strict";
|
|
30900
30956
|
var browsers = require_browsers2().browsers;
|
|
30901
30957
|
function unpackRegion(packed) {
|
|
@@ -33560,10 +33616,12 @@ Expecting one of '${i3.join("', '")}'`);
|
|
|
33560
33616
|
this._parseCommand([], i3);
|
|
33561
33617
|
return this;
|
|
33562
33618
|
}
|
|
33563
|
-
|
|
33564
|
-
|
|
33565
|
-
|
|
33566
|
-
|
|
33619
|
+
parseAsync(t3, e3) {
|
|
33620
|
+
return __async(this, null, function* () {
|
|
33621
|
+
const i3 = this._prepareUserArgs(t3, e3);
|
|
33622
|
+
yield this._parseCommand([], i3);
|
|
33623
|
+
return this;
|
|
33624
|
+
});
|
|
33567
33625
|
}
|
|
33568
33626
|
_executeSubCommand(t3, e3) {
|
|
33569
33627
|
e3 = e3.slice();
|
|
@@ -42234,10 +42292,9 @@ var require_parse = __commonJS({
|
|
|
42234
42292
|
var parse_comments = (prefix) => {
|
|
42235
42293
|
const comments = [];
|
|
42236
42294
|
while (current && (is("LineComment") || is("BlockComment"))) {
|
|
42237
|
-
const comment = {
|
|
42238
|
-
...current,
|
|
42295
|
+
const comment = __spreadProps(__spreadValues({}, current), {
|
|
42239
42296
|
inline
|
|
42240
|
-
};
|
|
42297
|
+
});
|
|
42241
42298
|
comments.push(comment);
|
|
42242
42299
|
next();
|
|
42243
42300
|
}
|
|
@@ -50102,7 +50159,7 @@ var require_opts_arg = __commonJS({
|
|
|
50102
50159
|
if (!opts)
|
|
50103
50160
|
opts = { mode: 511, fs: fs3 };
|
|
50104
50161
|
else if (typeof opts === "object")
|
|
50105
|
-
opts = { mode: 511, fs: fs3,
|
|
50162
|
+
opts = __spreadValues({ mode: 511, fs: fs3 }, opts);
|
|
50106
50163
|
else if (typeof opts === "number")
|
|
50107
50164
|
opts = { mode: opts, fs: fs3 };
|
|
50108
50165
|
else if (typeof opts === "string")
|
|
@@ -58616,12 +58673,12 @@ var require_baseUI = __commonJS({
|
|
|
58616
58673
|
const ms = new MuteStream();
|
|
58617
58674
|
ms.pipe(opt.output || process.stdout);
|
|
58618
58675
|
const output2 = ms;
|
|
58619
|
-
return {
|
|
58620
|
-
terminal: true
|
|
58621
|
-
|
|
58676
|
+
return __spreadProps(__spreadValues({
|
|
58677
|
+
terminal: true
|
|
58678
|
+
}, opt), {
|
|
58622
58679
|
input,
|
|
58623
58680
|
output: output2
|
|
58624
|
-
};
|
|
58681
|
+
});
|
|
58625
58682
|
}
|
|
58626
58683
|
module2.exports = UI;
|
|
58627
58684
|
}
|
|
@@ -70079,14 +70136,14 @@ var require_prompt = __commonJS({
|
|
|
70079
70136
|
}
|
|
70080
70137
|
run(questions, answers) {
|
|
70081
70138
|
if (_.isPlainObject(answers)) {
|
|
70082
|
-
this.answers = {
|
|
70139
|
+
this.answers = __spreadValues({}, answers);
|
|
70083
70140
|
} else {
|
|
70084
70141
|
this.answers = {};
|
|
70085
70142
|
}
|
|
70086
70143
|
if (_.isPlainObject(questions)) {
|
|
70087
70144
|
questions = Object.values(questions).every(
|
|
70088
70145
|
(v) => _.isPlainObject(v) && v.name === void 0
|
|
70089
|
-
) ? Object.entries(questions).map(([name, question]) => ({ name,
|
|
70146
|
+
) ? Object.entries(questions).map(([name, question]) => __spreadValues({ name }, question)) : [questions];
|
|
70090
70147
|
}
|
|
70091
70148
|
const obs = Array.isArray(questions) ? from(questions) : questions;
|
|
70092
70149
|
this.process = obs.pipe(
|
|
@@ -70114,7 +70171,7 @@ var require_prompt = __commonJS({
|
|
|
70114
70171
|
return Promise.reject(error);
|
|
70115
70172
|
}
|
|
70116
70173
|
processQuestion(question) {
|
|
70117
|
-
question = {
|
|
70174
|
+
question = __spreadValues({}, question);
|
|
70118
70175
|
return defer(() => {
|
|
70119
70176
|
const obs = of(question);
|
|
70120
70177
|
return obs.pipe(
|
|
@@ -73072,7 +73129,7 @@ var require_conversions = __commonJS({
|
|
|
73072
73129
|
return [c * 100, m * 100, y * 100, k * 100];
|
|
73073
73130
|
};
|
|
73074
73131
|
function comparativeDistance(x, y) {
|
|
73075
|
-
return (x[0] - y[0]
|
|
73132
|
+
return __pow(x[0] - y[0], 2) + __pow(x[1] - y[1], 2) + __pow(x[2] - y[2], 2);
|
|
73076
73133
|
}
|
|
73077
73134
|
convert.rgb.keyword = function(rgb) {
|
|
73078
73135
|
const reversed = reverseKeywords[rgb];
|
|
@@ -73098,9 +73155,9 @@ var require_conversions = __commonJS({
|
|
|
73098
73155
|
let r = rgb[0] / 255;
|
|
73099
73156
|
let g = rgb[1] / 255;
|
|
73100
73157
|
let b = rgb[2] / 255;
|
|
73101
|
-
r = r > 0.04045 ? ((r + 0.055) / 1.055
|
|
73102
|
-
g = g > 0.04045 ? ((g + 0.055) / 1.055
|
|
73103
|
-
b = b > 0.04045 ? ((b + 0.055) / 1.055
|
|
73158
|
+
r = r > 0.04045 ? __pow((r + 0.055) / 1.055, 2.4) : r / 12.92;
|
|
73159
|
+
g = g > 0.04045 ? __pow((g + 0.055) / 1.055, 2.4) : g / 12.92;
|
|
73160
|
+
b = b > 0.04045 ? __pow((b + 0.055) / 1.055, 2.4) : b / 12.92;
|
|
73104
73161
|
const x = r * 0.4124 + g * 0.3576 + b * 0.1805;
|
|
73105
73162
|
const y = r * 0.2126 + g * 0.7152 + b * 0.0722;
|
|
73106
73163
|
const z = r * 0.0193 + g * 0.1192 + b * 0.9505;
|
|
@@ -73114,9 +73171,9 @@ var require_conversions = __commonJS({
|
|
|
73114
73171
|
x /= 95.047;
|
|
73115
73172
|
y /= 100;
|
|
73116
73173
|
z /= 108.883;
|
|
73117
|
-
x = x > 8856e-6 ? x
|
|
73118
|
-
y = y > 8856e-6 ? y
|
|
73119
|
-
z = z > 8856e-6 ? z
|
|
73174
|
+
x = x > 8856e-6 ? __pow(x, 1 / 3) : 7.787 * x + 16 / 116;
|
|
73175
|
+
y = y > 8856e-6 ? __pow(y, 1 / 3) : 7.787 * y + 16 / 116;
|
|
73176
|
+
z = z > 8856e-6 ? __pow(z, 1 / 3) : 7.787 * z + 16 / 116;
|
|
73120
73177
|
const l = 116 * y - 16;
|
|
73121
73178
|
const a = 500 * (x - y);
|
|
73122
73179
|
const b = 200 * (y - z);
|
|
@@ -73290,9 +73347,9 @@ var require_conversions = __commonJS({
|
|
|
73290
73347
|
r = x * 3.2406 + y * -1.5372 + z * -0.4986;
|
|
73291
73348
|
g = x * -0.9689 + y * 1.8758 + z * 0.0415;
|
|
73292
73349
|
b = x * 0.0557 + y * -0.204 + z * 1.057;
|
|
73293
|
-
r = r > 31308e-7 ? 1.055 * r
|
|
73294
|
-
g = g > 31308e-7 ? 1.055 * g
|
|
73295
|
-
b = b > 31308e-7 ? 1.055 * b
|
|
73350
|
+
r = r > 31308e-7 ? 1.055 * __pow(r, 1 / 2.4) - 0.055 : r * 12.92;
|
|
73351
|
+
g = g > 31308e-7 ? 1.055 * __pow(g, 1 / 2.4) - 0.055 : g * 12.92;
|
|
73352
|
+
b = b > 31308e-7 ? 1.055 * __pow(b, 1 / 2.4) - 0.055 : b * 12.92;
|
|
73296
73353
|
r = Math.min(Math.max(0, r), 1);
|
|
73297
73354
|
g = Math.min(Math.max(0, g), 1);
|
|
73298
73355
|
b = Math.min(Math.max(0, b), 1);
|
|
@@ -73305,9 +73362,9 @@ var require_conversions = __commonJS({
|
|
|
73305
73362
|
x /= 95.047;
|
|
73306
73363
|
y /= 100;
|
|
73307
73364
|
z /= 108.883;
|
|
73308
|
-
x = x > 8856e-6 ? x
|
|
73309
|
-
y = y > 8856e-6 ? y
|
|
73310
|
-
z = z > 8856e-6 ? z
|
|
73365
|
+
x = x > 8856e-6 ? __pow(x, 1 / 3) : 7.787 * x + 16 / 116;
|
|
73366
|
+
y = y > 8856e-6 ? __pow(y, 1 / 3) : 7.787 * y + 16 / 116;
|
|
73367
|
+
z = z > 8856e-6 ? __pow(z, 1 / 3) : 7.787 * z + 16 / 116;
|
|
73311
73368
|
const l = 116 * y - 16;
|
|
73312
73369
|
const a = 500 * (x - y);
|
|
73313
73370
|
const b = 200 * (y - z);
|
|
@@ -73323,9 +73380,9 @@ var require_conversions = __commonJS({
|
|
|
73323
73380
|
y = (l + 16) / 116;
|
|
73324
73381
|
x = a / 500 + y;
|
|
73325
73382
|
z = y - b / 200;
|
|
73326
|
-
const y2 = y
|
|
73327
|
-
const x2 = x
|
|
73328
|
-
const z2 = z
|
|
73383
|
+
const y2 = __pow(y, 3);
|
|
73384
|
+
const x2 = __pow(x, 3);
|
|
73385
|
+
const z2 = __pow(z, 3);
|
|
73329
73386
|
y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787;
|
|
73330
73387
|
x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787;
|
|
73331
73388
|
z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787;
|
|
@@ -79229,13 +79286,12 @@ var require_ora2 = __commonJS({
|
|
|
79229
79286
|
text: options
|
|
79230
79287
|
};
|
|
79231
79288
|
}
|
|
79232
|
-
this.options = {
|
|
79289
|
+
this.options = __spreadValues({
|
|
79233
79290
|
text: "",
|
|
79234
79291
|
color: "cyan",
|
|
79235
79292
|
stream: process.stderr,
|
|
79236
|
-
discardStdin: true
|
|
79237
|
-
|
|
79238
|
-
};
|
|
79293
|
+
discardStdin: true
|
|
79294
|
+
}, options);
|
|
79239
79295
|
this.spinner = this.options.spinner;
|
|
79240
79296
|
this.color = this.options.color;
|
|
79241
79297
|
this.hideCursor = this.options.hideCursor !== false;
|
|
@@ -79452,14 +79508,14 @@ var require_ora2 = __commonJS({
|
|
|
79452
79508
|
}
|
|
79453
79509
|
const spinner = new Ora(options);
|
|
79454
79510
|
spinner.start();
|
|
79455
|
-
(
|
|
79511
|
+
(() => __async(exports, null, function* () {
|
|
79456
79512
|
try {
|
|
79457
|
-
|
|
79513
|
+
yield action2;
|
|
79458
79514
|
spinner.succeed();
|
|
79459
|
-
} catch {
|
|
79515
|
+
} catch (e) {
|
|
79460
79516
|
spinner.fail();
|
|
79461
79517
|
}
|
|
79462
|
-
})();
|
|
79518
|
+
}))();
|
|
79463
79519
|
return spinner;
|
|
79464
79520
|
};
|
|
79465
79521
|
}
|
|
@@ -91039,7 +91095,7 @@ var require_prompt2 = __commonJS({
|
|
|
91039
91095
|
if (_.isPlainObject(questions)) {
|
|
91040
91096
|
questions = Object.values(questions).every(
|
|
91041
91097
|
(v) => _.isPlainObject(v) && v.name === void 0
|
|
91042
|
-
) ? Object.entries(questions).map(([name, question]) => ({ name,
|
|
91098
|
+
) ? Object.entries(questions).map(([name, question]) => __spreadValues({ name }, question)) : [questions];
|
|
91043
91099
|
}
|
|
91044
91100
|
const obs = _.isArray(questions) ? from(questions) : questions;
|
|
91045
91101
|
this.process = obs.pipe(
|
|
@@ -93741,20 +93797,22 @@ var require_fs_extra2 = __commonJS({
|
|
|
93741
93797
|
const o = r2(17);
|
|
93742
93798
|
const c = r2(971);
|
|
93743
93799
|
const s = r2(95);
|
|
93744
|
-
const a = n(
|
|
93745
|
-
|
|
93746
|
-
|
|
93747
|
-
|
|
93748
|
-
|
|
93749
|
-
|
|
93750
|
-
|
|
93751
|
-
|
|
93800
|
+
const a = n(function emptyDir(e3) {
|
|
93801
|
+
return __async(this, null, function* () {
|
|
93802
|
+
let t3;
|
|
93803
|
+
try {
|
|
93804
|
+
t3 = yield i.readdir(e3);
|
|
93805
|
+
} catch (e4) {
|
|
93806
|
+
return c.mkdirs(e3);
|
|
93807
|
+
}
|
|
93808
|
+
return Promise.all(t3.map((t4) => s.remove(o.join(e3, t4))));
|
|
93809
|
+
});
|
|
93752
93810
|
});
|
|
93753
93811
|
function emptyDirSync(e3) {
|
|
93754
93812
|
let t3;
|
|
93755
93813
|
try {
|
|
93756
93814
|
t3 = i.readdirSync(e3);
|
|
93757
|
-
} catch {
|
|
93815
|
+
} catch (e4) {
|
|
93758
93816
|
return c.mkdirsSync(e3);
|
|
93759
93817
|
}
|
|
93760
93818
|
t3.forEach((t4) => {
|
|
@@ -93807,7 +93865,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
93807
93865
|
let t3;
|
|
93808
93866
|
try {
|
|
93809
93867
|
t3 = o.statSync(e3);
|
|
93810
|
-
} catch {
|
|
93868
|
+
} catch (e4) {
|
|
93811
93869
|
}
|
|
93812
93870
|
if (t3 && t3.isFile())
|
|
93813
93871
|
return;
|
|
@@ -93874,7 +93932,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
93874
93932
|
let r3;
|
|
93875
93933
|
try {
|
|
93876
93934
|
r3 = o.lstatSync(t3);
|
|
93877
|
-
} catch {
|
|
93935
|
+
} catch (e4) {
|
|
93878
93936
|
}
|
|
93879
93937
|
try {
|
|
93880
93938
|
const t4 = o.lstatSync(e3);
|
|
@@ -93969,7 +94027,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
93969
94027
|
return t3;
|
|
93970
94028
|
try {
|
|
93971
94029
|
r3 = n.lstatSync(e3);
|
|
93972
|
-
} catch {
|
|
94030
|
+
} catch (e4) {
|
|
93973
94031
|
return "file";
|
|
93974
94032
|
}
|
|
93975
94033
|
return r3 && r3.isDirectory() ? "dir" : "file";
|
|
@@ -94032,7 +94090,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
94032
94090
|
let n2;
|
|
94033
94091
|
try {
|
|
94034
94092
|
n2 = o.lstatSync(t3);
|
|
94035
|
-
} catch {
|
|
94093
|
+
} catch (e4) {
|
|
94036
94094
|
}
|
|
94037
94095
|
if (n2 && n2.isSymbolicLink()) {
|
|
94038
94096
|
const r4 = o.statSync(e3);
|
|
@@ -94107,7 +94165,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
94107
94165
|
}
|
|
94108
94166
|
}, 81: (e2, t2, r2) => {
|
|
94109
94167
|
"use strict";
|
|
94110
|
-
e2.exports = {
|
|
94168
|
+
e2.exports = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, r2(812)), r2(2)), r2(708)), r2(726)), r2(779)), r2(971)), r2(511)), r2(701)), r2(725)), r2(95));
|
|
94111
94169
|
}, 779: (e2, t2, r2) => {
|
|
94112
94170
|
"use strict";
|
|
94113
94171
|
const n = r2(5).fromPromise;
|
|
@@ -94138,9 +94196,11 @@ var require_fs_extra2 = __commonJS({
|
|
|
94138
94196
|
"use strict";
|
|
94139
94197
|
const { stringify: n } = r2(208);
|
|
94140
94198
|
const { outputFile: i } = r2(701);
|
|
94141
|
-
|
|
94142
|
-
|
|
94143
|
-
|
|
94199
|
+
function outputJson(_0, _1) {
|
|
94200
|
+
return __async(this, arguments, function* (e3, t3, r3 = {}) {
|
|
94201
|
+
const o = n(t3, r3);
|
|
94202
|
+
yield i(e3, o, r3);
|
|
94203
|
+
});
|
|
94144
94204
|
}
|
|
94145
94205
|
e2.exports = outputJson;
|
|
94146
94206
|
}, 971: (e2, t2, r2) => {
|
|
@@ -94157,12 +94217,12 @@ var require_fs_extra2 = __commonJS({
|
|
|
94157
94217
|
const t3 = { mode: 511 };
|
|
94158
94218
|
if (typeof e3 === "number")
|
|
94159
94219
|
return e3;
|
|
94160
|
-
return {
|
|
94220
|
+
return __spreadValues(__spreadValues({}, t3), e3).mode;
|
|
94161
94221
|
};
|
|
94162
|
-
e2.exports.makeDir =
|
|
94222
|
+
e2.exports.makeDir = (e3, t3) => __async(exports, null, function* () {
|
|
94163
94223
|
i(e3);
|
|
94164
94224
|
return n.mkdir(e3, { mode: getMode(t3), recursive: true });
|
|
94165
|
-
};
|
|
94225
|
+
});
|
|
94166
94226
|
e2.exports.makeDirSync = (e3, t3) => {
|
|
94167
94227
|
i(e3);
|
|
94168
94228
|
return n.mkdirSync(e3, { mode: getMode(t3), recursive: true });
|
|
@@ -94580,7 +94640,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
94580
94640
|
try {
|
|
94581
94641
|
const r4 = t3.rmdirSync(e3, t3);
|
|
94582
94642
|
return r4;
|
|
94583
|
-
} catch {
|
|
94643
|
+
} catch (e4) {
|
|
94584
94644
|
}
|
|
94585
94645
|
} while (Date.now() - r3 < 500);
|
|
94586
94646
|
} else {
|
|
@@ -95479,26 +95539,28 @@ var require_fs_extra2 = __commonJS({
|
|
|
95479
95539
|
}
|
|
95480
95540
|
const i = r2(5);
|
|
95481
95541
|
const { stringify: o, stripBom: c } = r2(208);
|
|
95482
|
-
|
|
95483
|
-
|
|
95484
|
-
|
|
95485
|
-
|
|
95486
|
-
|
|
95487
|
-
|
|
95488
|
-
|
|
95489
|
-
|
|
95490
|
-
|
|
95491
|
-
|
|
95492
|
-
|
|
95493
|
-
|
|
95494
|
-
|
|
95495
|
-
|
|
95496
|
-
|
|
95497
|
-
|
|
95498
|
-
|
|
95542
|
+
function _readFile(_0) {
|
|
95543
|
+
return __async(this, arguments, function* (e3, t3 = {}) {
|
|
95544
|
+
if (typeof t3 === "string") {
|
|
95545
|
+
t3 = { encoding: t3 };
|
|
95546
|
+
}
|
|
95547
|
+
const r3 = t3.fs || n;
|
|
95548
|
+
const o2 = "throws" in t3 ? t3.throws : true;
|
|
95549
|
+
let s2 = yield i.fromCallback(r3.readFile)(e3, t3);
|
|
95550
|
+
s2 = c(s2);
|
|
95551
|
+
let a2;
|
|
95552
|
+
try {
|
|
95553
|
+
a2 = JSON.parse(s2, t3 ? t3.reviver : null);
|
|
95554
|
+
} catch (t4) {
|
|
95555
|
+
if (o2) {
|
|
95556
|
+
t4.message = `${e3}: ${t4.message}`;
|
|
95557
|
+
throw t4;
|
|
95558
|
+
} else {
|
|
95559
|
+
return null;
|
|
95560
|
+
}
|
|
95499
95561
|
}
|
|
95500
|
-
|
|
95501
|
-
|
|
95562
|
+
return a2;
|
|
95563
|
+
});
|
|
95502
95564
|
}
|
|
95503
95565
|
const s = i.fromPromise(_readFile);
|
|
95504
95566
|
function readFileSync(e3, t3 = {}) {
|
|
@@ -95520,10 +95582,12 @@ var require_fs_extra2 = __commonJS({
|
|
|
95520
95582
|
}
|
|
95521
95583
|
}
|
|
95522
95584
|
}
|
|
95523
|
-
|
|
95524
|
-
|
|
95525
|
-
|
|
95526
|
-
|
|
95585
|
+
function _writeFile(_0, _1) {
|
|
95586
|
+
return __async(this, arguments, function* (e3, t3, r3 = {}) {
|
|
95587
|
+
const c2 = r3.fs || n;
|
|
95588
|
+
const s2 = o(t3, r3);
|
|
95589
|
+
yield i.fromCallback(c2.writeFile)(e3, s2, r3);
|
|
95590
|
+
});
|
|
95527
95591
|
}
|
|
95528
95592
|
const a = i.fromPromise(_writeFile);
|
|
95529
95593
|
function writeFileSync(e3, t3, r3 = {}) {
|
|
@@ -95751,11 +95815,11 @@ var require_chalk2 = __commonJS({
|
|
|
95751
95815
|
} };
|
|
95752
95816
|
}
|
|
95753
95817
|
const f = Object.defineProperties(() => {
|
|
95754
|
-
}, {
|
|
95818
|
+
}, __spreadProps(__spreadValues({}, u), { level: { enumerable: true, get() {
|
|
95755
95819
|
return this._generator.level;
|
|
95756
95820
|
}, set(e3) {
|
|
95757
95821
|
this._generator.level = e3;
|
|
95758
|
-
} } });
|
|
95822
|
+
} } }));
|
|
95759
95823
|
const createStyler = (e3, t3, n3) => {
|
|
95760
95824
|
let r2;
|
|
95761
95825
|
let s2;
|
|
@@ -96066,7 +96130,7 @@ var require_chalk2 = __commonJS({
|
|
|
96066
96130
|
return [o2 * 100, l * 100, c * 100, s2 * 100];
|
|
96067
96131
|
};
|
|
96068
96132
|
function comparativeDistance(e3, t3) {
|
|
96069
|
-
return (e3[0] - t3[0]
|
|
96133
|
+
return __pow(e3[0] - t3[0], 2) + __pow(e3[1] - t3[1], 2) + __pow(e3[2] - t3[2], 2);
|
|
96070
96134
|
}
|
|
96071
96135
|
o.rgb.keyword = function(e3) {
|
|
96072
96136
|
const t3 = s[e3];
|
|
@@ -96092,9 +96156,9 @@ var require_chalk2 = __commonJS({
|
|
|
96092
96156
|
let t3 = e3[0] / 255;
|
|
96093
96157
|
let n3 = e3[1] / 255;
|
|
96094
96158
|
let r2 = e3[2] / 255;
|
|
96095
|
-
t3 = t3 > 0.04045 ? ((t3 + 0.055) / 1.055
|
|
96096
|
-
n3 = n3 > 0.04045 ? ((n3 + 0.055) / 1.055
|
|
96097
|
-
r2 = r2 > 0.04045 ? ((r2 + 0.055) / 1.055
|
|
96159
|
+
t3 = t3 > 0.04045 ? __pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92;
|
|
96160
|
+
n3 = n3 > 0.04045 ? __pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92;
|
|
96161
|
+
r2 = r2 > 0.04045 ? __pow((r2 + 0.055) / 1.055, 2.4) : r2 / 12.92;
|
|
96098
96162
|
const s2 = t3 * 0.4124 + n3 * 0.3576 + r2 * 0.1805;
|
|
96099
96163
|
const o2 = t3 * 0.2126 + n3 * 0.7152 + r2 * 0.0722;
|
|
96100
96164
|
const l = t3 * 0.0193 + n3 * 0.1192 + r2 * 0.9505;
|
|
@@ -96108,9 +96172,9 @@ var require_chalk2 = __commonJS({
|
|
|
96108
96172
|
n3 /= 95.047;
|
|
96109
96173
|
r2 /= 100;
|
|
96110
96174
|
s2 /= 108.883;
|
|
96111
|
-
n3 = n3 > 8856e-6 ? n3
|
|
96112
|
-
r2 = r2 > 8856e-6 ? r2
|
|
96113
|
-
s2 = s2 > 8856e-6 ? s2
|
|
96175
|
+
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
96176
|
+
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
96177
|
+
s2 = s2 > 8856e-6 ? __pow(s2, 1 / 3) : 7.787 * s2 + 16 / 116;
|
|
96114
96178
|
const l = 116 * r2 - 16;
|
|
96115
96179
|
const c = 500 * (n3 - r2);
|
|
96116
96180
|
const i = 200 * (r2 - s2);
|
|
@@ -96284,9 +96348,9 @@ var require_chalk2 = __commonJS({
|
|
|
96284
96348
|
s2 = t3 * 3.2406 + n3 * -1.5372 + r2 * -0.4986;
|
|
96285
96349
|
o2 = t3 * -0.9689 + n3 * 1.8758 + r2 * 0.0415;
|
|
96286
96350
|
l = t3 * 0.0557 + n3 * -0.204 + r2 * 1.057;
|
|
96287
|
-
s2 = s2 > 31308e-7 ? 1.055 * s2
|
|
96288
|
-
o2 = o2 > 31308e-7 ? 1.055 * o2
|
|
96289
|
-
l = l > 31308e-7 ? 1.055 * l
|
|
96351
|
+
s2 = s2 > 31308e-7 ? 1.055 * __pow(s2, 1 / 2.4) - 0.055 : s2 * 12.92;
|
|
96352
|
+
o2 = o2 > 31308e-7 ? 1.055 * __pow(o2, 1 / 2.4) - 0.055 : o2 * 12.92;
|
|
96353
|
+
l = l > 31308e-7 ? 1.055 * __pow(l, 1 / 2.4) - 0.055 : l * 12.92;
|
|
96290
96354
|
s2 = Math.min(Math.max(0, s2), 1);
|
|
96291
96355
|
o2 = Math.min(Math.max(0, o2), 1);
|
|
96292
96356
|
l = Math.min(Math.max(0, l), 1);
|
|
@@ -96299,9 +96363,9 @@ var require_chalk2 = __commonJS({
|
|
|
96299
96363
|
t3 /= 95.047;
|
|
96300
96364
|
n3 /= 100;
|
|
96301
96365
|
r2 /= 108.883;
|
|
96302
|
-
t3 = t3 > 8856e-6 ? t3
|
|
96303
|
-
n3 = n3 > 8856e-6 ? n3
|
|
96304
|
-
r2 = r2 > 8856e-6 ? r2
|
|
96366
|
+
t3 = t3 > 8856e-6 ? __pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116;
|
|
96367
|
+
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
96368
|
+
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
96305
96369
|
const s2 = 116 * n3 - 16;
|
|
96306
96370
|
const o2 = 500 * (t3 - n3);
|
|
96307
96371
|
const l = 200 * (n3 - r2);
|
|
@@ -96317,9 +96381,9 @@ var require_chalk2 = __commonJS({
|
|
|
96317
96381
|
o2 = (t3 + 16) / 116;
|
|
96318
96382
|
s2 = n3 / 500 + o2;
|
|
96319
96383
|
l = o2 - r2 / 200;
|
|
96320
|
-
const c = o2
|
|
96321
|
-
const i = s2
|
|
96322
|
-
const a = l
|
|
96384
|
+
const c = __pow(o2, 3);
|
|
96385
|
+
const i = __pow(s2, 3);
|
|
96386
|
+
const a = __pow(l, 3);
|
|
96323
96387
|
o2 = c > 8856e-6 ? c : (o2 - 16 / 116) / 7.787;
|
|
96324
96388
|
s2 = i > 8856e-6 ? i : (s2 - 16 / 116) / 7.787;
|
|
96325
96389
|
l = a > 8856e-6 ? a : (l - 16 / 116) / 7.787;
|
|
@@ -97575,7 +97639,7 @@ var require_ora3 = __commonJS({
|
|
|
97575
97639
|
if (typeof e3 === "string") {
|
|
97576
97640
|
e3 = { text: e3 };
|
|
97577
97641
|
}
|
|
97578
|
-
this.options = { text: "", color: "cyan", stream: process.stderr, discardStdin: true,
|
|
97642
|
+
this.options = __spreadValues({ text: "", color: "cyan", stream: process.stderr, discardStdin: true }, e3);
|
|
97579
97643
|
this.spinner = this.options.spinner;
|
|
97580
97644
|
this.color = this.options.color;
|
|
97581
97645
|
this.hideCursor = this.options.hideCursor !== false;
|
|
@@ -97792,14 +97856,14 @@ var require_ora3 = __commonJS({
|
|
|
97792
97856
|
}
|
|
97793
97857
|
const r3 = new Ora(t3);
|
|
97794
97858
|
r3.start();
|
|
97795
|
-
(
|
|
97859
|
+
(() => __async(exports, null, function* () {
|
|
97796
97860
|
try {
|
|
97797
|
-
|
|
97861
|
+
yield e3;
|
|
97798
97862
|
r3.succeed();
|
|
97799
|
-
} catch {
|
|
97863
|
+
} catch (e4) {
|
|
97800
97864
|
r3.fail();
|
|
97801
97865
|
}
|
|
97802
|
-
})();
|
|
97866
|
+
}))();
|
|
97803
97867
|
return r3;
|
|
97804
97868
|
};
|
|
97805
97869
|
}, 959: (e2) => {
|
|
@@ -106219,7 +106283,7 @@ var require_execa2 = __commonJS({
|
|
|
106219
106283
|
const { joinCommand: w, parseCommand: E, getEscapedCommand: I } = n2(192);
|
|
106220
106284
|
const T = 1e3 * 1e3 * 100;
|
|
106221
106285
|
const getEnv = ({ env: e3, extendEnv: t3, preferLocal: n3, localDir: r2, execPath: o2 }) => {
|
|
106222
|
-
const s2 = t3 ? {
|
|
106286
|
+
const s2 = t3 ? __spreadValues(__spreadValues({}, process.env), e3) : e3;
|
|
106223
106287
|
if (n3) {
|
|
106224
106288
|
return a.env({ env: s2, cwd: r2, execPath: o2 });
|
|
106225
106289
|
}
|
|
@@ -106230,7 +106294,7 @@ var require_execa2 = __commonJS({
|
|
|
106230
106294
|
e3 = o2.command;
|
|
106231
106295
|
t3 = o2.args;
|
|
106232
106296
|
n3 = o2.options;
|
|
106233
|
-
n3 = { maxBuffer: T, buffer: true, stripFinalNewline: true, extendEnv: true, preferLocal: false, localDir: n3.cwd || process.cwd(), execPath: process.execPath, encoding: "utf8", reject: true, cleanup: true, all: false, windowsHide: true,
|
|
106297
|
+
n3 = __spreadValues({ maxBuffer: T, buffer: true, stripFinalNewline: true, extendEnv: true, preferLocal: false, localDir: n3.cwd || process.cwd(), execPath: process.execPath, encoding: "utf8", reject: true, cleanup: true, all: false, windowsHide: true }, n3);
|
|
106234
106298
|
n3.env = getEnv(n3);
|
|
106235
106299
|
n3.stdio = u(n3);
|
|
106236
106300
|
if (process.platform === "win32" && r.basename(e3, ".exe") === "cmd") {
|
|
@@ -106266,8 +106330,8 @@ var require_execa2 = __commonJS({
|
|
|
106266
106330
|
const T2 = { isCanceled: false };
|
|
106267
106331
|
a2.kill = l.bind(null, a2.kill.bind(a2));
|
|
106268
106332
|
a2.cancel = f.bind(null, a2, T2);
|
|
106269
|
-
const handlePromise =
|
|
106270
|
-
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] =
|
|
106333
|
+
const handlePromise = () => __async(exports, null, function* () {
|
|
106334
|
+
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] = yield h(a2, r2.options, E2);
|
|
106271
106335
|
const f2 = handleOutput(r2.options, c2);
|
|
106272
106336
|
const p2 = handleOutput(r2.options, u3);
|
|
106273
106337
|
const m2 = handleOutput(r2.options, l2);
|
|
@@ -106279,7 +106343,7 @@ var require_execa2 = __commonJS({
|
|
|
106279
106343
|
throw c3;
|
|
106280
106344
|
}
|
|
106281
106345
|
return { command: s2, escapedCommand: i2, exitCode: 0, stdout: f2, stderr: p2, all: m2, failed: false, timedOut: false, isCanceled: false, killed: false };
|
|
106282
|
-
};
|
|
106346
|
+
});
|
|
106283
106347
|
const C = c(handlePromise);
|
|
106284
106348
|
x(a2, r2.options.input);
|
|
106285
106349
|
a2.all = y(a2, r2.options);
|
|
@@ -106324,7 +106388,7 @@ var require_execa2 = __commonJS({
|
|
|
106324
106388
|
const r2 = u.node(n3);
|
|
106325
106389
|
const o2 = process.execArgv.filter((e4) => !e4.startsWith("--inspect"));
|
|
106326
106390
|
const { nodePath: s2 = process.execPath, nodeOptions: i2 = o2 } = n3;
|
|
106327
|
-
return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], {
|
|
106391
|
+
return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], __spreadProps(__spreadValues({}, n3), { stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false }));
|
|
106328
106392
|
};
|
|
106329
106393
|
}, 192: (e2) => {
|
|
106330
106394
|
"use strict";
|
|
@@ -106480,7 +106544,7 @@ ${o.message}` : x;
|
|
|
106480
106544
|
throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e3}\` (${typeof e3})`);
|
|
106481
106545
|
}
|
|
106482
106546
|
};
|
|
106483
|
-
const setExitHandler =
|
|
106547
|
+
const setExitHandler = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* (e3, { cleanup: t3, detached: n3 }, r2) {
|
|
106484
106548
|
if (!t3 || n3) {
|
|
106485
106549
|
return r2;
|
|
106486
106550
|
}
|
|
@@ -106490,17 +106554,17 @@ ${o.message}` : x;
|
|
|
106490
106554
|
return r2.finally(() => {
|
|
106491
106555
|
s2();
|
|
106492
106556
|
});
|
|
106493
|
-
};
|
|
106557
|
+
});
|
|
106494
106558
|
e2.exports = { spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler };
|
|
106495
106559
|
}, 210: (e2) => {
|
|
106496
106560
|
"use strict";
|
|
106497
|
-
const t2 = (
|
|
106498
|
-
})().constructor.prototype;
|
|
106561
|
+
const t2 = (() => __async(exports, null, function* () {
|
|
106562
|
+
}))().constructor.prototype;
|
|
106499
106563
|
const n2 = ["then", "catch", "finally"].map((e3) => [e3, Reflect.getOwnPropertyDescriptor(t2, e3)]);
|
|
106500
106564
|
const mergePromise = (e3, t3) => {
|
|
106501
106565
|
for (const [r, o] of n2) {
|
|
106502
106566
|
const n3 = typeof t3 === "function" ? (...e4) => Reflect.apply(o.value, t3(), e4) : o.value.bind(t3);
|
|
106503
|
-
Reflect.defineProperty(e3, r, {
|
|
106567
|
+
Reflect.defineProperty(e3, r, __spreadProps(__spreadValues({}, o), { value: n3 }));
|
|
106504
106568
|
}
|
|
106505
106569
|
return e3;
|
|
106506
106570
|
};
|
|
@@ -106584,17 +106648,17 @@ ${o.message}` : x;
|
|
|
106584
106648
|
}
|
|
106585
106649
|
return n3;
|
|
106586
106650
|
};
|
|
106587
|
-
const getBufferedData =
|
|
106651
|
+
const getBufferedData = (e3, t3) => __async(exports, null, function* () {
|
|
106588
106652
|
if (!e3) {
|
|
106589
106653
|
return;
|
|
106590
106654
|
}
|
|
106591
106655
|
e3.destroy();
|
|
106592
106656
|
try {
|
|
106593
|
-
return
|
|
106657
|
+
return yield t3;
|
|
106594
106658
|
} catch (e4) {
|
|
106595
106659
|
return e4.bufferedData;
|
|
106596
106660
|
}
|
|
106597
|
-
};
|
|
106661
|
+
});
|
|
106598
106662
|
const getStreamPromise = (e3, { encoding: t3, buffer: n3, maxBuffer: r2 }) => {
|
|
106599
106663
|
if (!e3 || !n3) {
|
|
106600
106664
|
return;
|
|
@@ -106604,16 +106668,16 @@ ${o.message}` : x;
|
|
|
106604
106668
|
}
|
|
106605
106669
|
return o.buffer(e3, { maxBuffer: r2 });
|
|
106606
106670
|
};
|
|
106607
|
-
const getSpawnedResult =
|
|
106671
|
+
const getSpawnedResult = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* ({ stdout: e3, stderr: t3, all: n3 }, { encoding: r2, buffer: o2, maxBuffer: s2 }, i) {
|
|
106608
106672
|
const a = getStreamPromise(e3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
|
106609
106673
|
const c = getStreamPromise(t3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
|
106610
106674
|
const d = getStreamPromise(n3, { encoding: r2, buffer: o2, maxBuffer: s2 * 2 });
|
|
106611
106675
|
try {
|
|
106612
|
-
return
|
|
106676
|
+
return yield Promise.all([i, a, c, d]);
|
|
106613
106677
|
} catch (r3) {
|
|
106614
106678
|
return Promise.all([{ error: r3, signal: r3.signal, timedOut: r3.timedOut }, getBufferedData(e3, a), getBufferedData(t3, c), getBufferedData(n3, d)]);
|
|
106615
106679
|
}
|
|
106616
|
-
};
|
|
106680
|
+
});
|
|
106617
106681
|
const validateInputSync = ({ input: e3 }) => {
|
|
106618
106682
|
if (r(e3)) {
|
|
106619
106683
|
throw new TypeError("The `input` option cannot be a stream in sync mode");
|
|
@@ -106624,7 +106688,7 @@ ${o.message}` : x;
|
|
|
106624
106688
|
"use strict";
|
|
106625
106689
|
const { PassThrough: r } = n2(781);
|
|
106626
106690
|
e2.exports = (e3) => {
|
|
106627
|
-
e3 = {
|
|
106691
|
+
e3 = __spreadValues({}, e3);
|
|
106628
106692
|
const { array: t3 } = e3;
|
|
106629
106693
|
let { encoding: n3 } = e3;
|
|
106630
106694
|
const o = n3 === "buffer";
|
|
@@ -106673,39 +106737,41 @@ ${o.message}` : x;
|
|
|
106673
106737
|
this.name = "MaxBufferError";
|
|
106674
106738
|
}
|
|
106675
106739
|
}
|
|
106676
|
-
|
|
106677
|
-
|
|
106678
|
-
|
|
106679
|
-
|
|
106680
|
-
|
|
106681
|
-
|
|
106682
|
-
|
|
106683
|
-
|
|
106684
|
-
|
|
106685
|
-
|
|
106686
|
-
e4
|
|
106687
|
-
|
|
106688
|
-
|
|
106689
|
-
|
|
106690
|
-
|
|
106691
|
-
|
|
106692
|
-
|
|
106693
|
-
|
|
106694
|
-
|
|
106695
|
-
|
|
106696
|
-
|
|
106697
|
-
|
|
106698
|
-
|
|
106699
|
-
|
|
106700
|
-
|
|
106701
|
-
|
|
106740
|
+
function getStream(e3, t3) {
|
|
106741
|
+
return __async(this, null, function* () {
|
|
106742
|
+
if (!e3) {
|
|
106743
|
+
throw new Error("Expected a stream");
|
|
106744
|
+
}
|
|
106745
|
+
t3 = __spreadValues({ maxBuffer: Infinity }, t3);
|
|
106746
|
+
const { maxBuffer: n3 } = t3;
|
|
106747
|
+
const o2 = i(t3);
|
|
106748
|
+
yield new Promise((t4, s2) => {
|
|
106749
|
+
const rejectPromise = (e4) => {
|
|
106750
|
+
if (e4 && o2.getBufferedLength() <= r.MAX_LENGTH) {
|
|
106751
|
+
e4.bufferedData = o2.getBufferedValue();
|
|
106752
|
+
}
|
|
106753
|
+
s2(e4);
|
|
106754
|
+
};
|
|
106755
|
+
(() => __async(this, null, function* () {
|
|
106756
|
+
try {
|
|
106757
|
+
yield a(e3, o2);
|
|
106758
|
+
t4();
|
|
106759
|
+
} catch (e4) {
|
|
106760
|
+
rejectPromise(e4);
|
|
106761
|
+
}
|
|
106762
|
+
}))();
|
|
106763
|
+
o2.on("data", () => {
|
|
106764
|
+
if (o2.getBufferedLength() > n3) {
|
|
106765
|
+
rejectPromise(new MaxBufferError());
|
|
106766
|
+
}
|
|
106767
|
+
});
|
|
106702
106768
|
});
|
|
106769
|
+
return o2.getBufferedValue();
|
|
106703
106770
|
});
|
|
106704
|
-
return o2.getBufferedValue();
|
|
106705
106771
|
}
|
|
106706
106772
|
e2.exports = getStream;
|
|
106707
|
-
e2.exports.buffer = (e3, t3) => getStream(e3, {
|
|
106708
|
-
e2.exports.array = (e3, t3) => getStream(e3, {
|
|
106773
|
+
e2.exports.buffer = (e3, t3) => getStream(e3, __spreadProps(__spreadValues({}, t3), { encoding: "buffer" }));
|
|
106774
|
+
e2.exports.array = (e3, t3) => getStream(e3, __spreadProps(__spreadValues({}, t3), { array: true }));
|
|
106709
106775
|
e2.exports.MaxBufferError = MaxBufferError;
|
|
106710
106776
|
}, 221: (e2, t2) => {
|
|
106711
106777
|
"use strict";
|
|
@@ -106725,7 +106791,7 @@ ${o.message}` : x;
|
|
|
106725
106791
|
return e3.reduce(getSignalByName, {});
|
|
106726
106792
|
};
|
|
106727
106793
|
const getSignalByName = function(e3, { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 }) {
|
|
106728
|
-
return {
|
|
106794
|
+
return __spreadProps(__spreadValues({}, e3), { [t3]: { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 } });
|
|
106729
106795
|
};
|
|
106730
106796
|
const i = getSignalsByName();
|
|
106731
106797
|
t2.signalsByName = i;
|
|
@@ -106957,7 +107023,7 @@ ${o.message}` : x;
|
|
|
106957
107023
|
const r = n2(17);
|
|
106958
107024
|
const o = n2(460);
|
|
106959
107025
|
const npmRunPath = (e3) => {
|
|
106960
|
-
e3 = { cwd: process.cwd(), path: process.env[o()], execPath: process.execPath,
|
|
107026
|
+
e3 = __spreadValues({ cwd: process.cwd(), path: process.env[o()], execPath: process.execPath }, e3);
|
|
106961
107027
|
let t3;
|
|
106962
107028
|
let n3 = r.resolve(e3.cwd);
|
|
106963
107029
|
const s = [];
|
|
@@ -106973,8 +107039,8 @@ ${o.message}` : x;
|
|
|
106973
107039
|
e2.exports = npmRunPath;
|
|
106974
107040
|
e2.exports["default"] = npmRunPath;
|
|
106975
107041
|
e2.exports.env = (t3) => {
|
|
106976
|
-
t3 = { env: process.env,
|
|
106977
|
-
const n3 = {
|
|
107042
|
+
t3 = __spreadValues({ env: process.env }, t3);
|
|
107043
|
+
const n3 = __spreadValues({}, t3.env);
|
|
106978
107044
|
const r2 = o({ env: n3 });
|
|
106979
107045
|
t3.path = n3[r2];
|
|
106980
107046
|
n3[r2] = e2.exports(t3);
|
|
@@ -108383,7 +108449,7 @@ var require_upath2 = __commonJS({
|
|
|
108383
108449
|
_.VERSION = typeof n !== "undefined" && n !== null ? n : "NO-VERSION";
|
|
108384
108450
|
p = function(e3) {
|
|
108385
108451
|
e3 = e3.replace(/\\/g, "/");
|
|
108386
|
-
e3 = e3.replace(
|
|
108452
|
+
e3 = e3.replace(new RegExp("(?<!^)\\/+", "g"), "/");
|
|
108387
108453
|
return e3;
|
|
108388
108454
|
};
|
|
108389
108455
|
for (c in o) {
|
|
@@ -108679,7 +108745,9 @@ var require_pkg_up2 = __commonJS({
|
|
|
108679
108745
|
};
|
|
108680
108746
|
}, 800: (e2, r2, n2) => {
|
|
108681
108747
|
const t = n2(485);
|
|
108682
|
-
e2.exports =
|
|
108748
|
+
e2.exports = (..._0) => __async(exports, [..._0], function* ({ cwd: e3 } = {}) {
|
|
108749
|
+
return t("package.json", { cwd: e3 });
|
|
108750
|
+
});
|
|
108683
108751
|
e2.exports.sync = ({ cwd: e3 } = {}) => t.sync("package.json", { cwd: e3 });
|
|
108684
108752
|
}, 147: (e2) => {
|
|
108685
108753
|
e2.exports = require("fs");
|
|
@@ -111730,7 +111798,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
111730
111798
|
}
|
|
111731
111799
|
if (t4.nodes && t4.ranges > 0) {
|
|
111732
111800
|
let r4 = s.reduce(t4.nodes);
|
|
111733
|
-
let i2 = n(...r4, {
|
|
111801
|
+
let i2 = n(...r4, __spreadProps(__spreadValues({}, e3), { wrap: false, toRegex: true }));
|
|
111734
111802
|
if (i2.length !== 0) {
|
|
111735
111803
|
return r4.length > 1 && i2.length > 1 ? `(${i2})` : i2;
|
|
111736
111804
|
}
|
|
@@ -112156,11 +112224,13 @@ var require_fast_glob2 = __commonJS({
|
|
|
112156
112224
|
const a = r2(1066);
|
|
112157
112225
|
const u = r2(7190);
|
|
112158
112226
|
const c = r2(3828);
|
|
112159
|
-
|
|
112160
|
-
|
|
112161
|
-
|
|
112162
|
-
|
|
112163
|
-
|
|
112227
|
+
function FastGlob(t3, e3) {
|
|
112228
|
+
return __async(this, null, function* () {
|
|
112229
|
+
assertPatternsInput(t3);
|
|
112230
|
+
const r3 = getWorks(t3, i.default, e3);
|
|
112231
|
+
const n2 = yield Promise.all(r3);
|
|
112232
|
+
return c.array.flatten(n2);
|
|
112233
|
+
});
|
|
112164
112234
|
}
|
|
112165
112235
|
(function(t3) {
|
|
112166
112236
|
function sync(t4, e3) {
|
|
@@ -113331,7 +113401,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113331
113401
|
};
|
|
113332
113402
|
const toRange = (t3, e3, r3, n2) => {
|
|
113333
113403
|
if (r3) {
|
|
113334
|
-
return s(t3, e3, { wrap: false,
|
|
113404
|
+
return s(t3, e3, __spreadValues({ wrap: false }, n2));
|
|
113335
113405
|
}
|
|
113336
113406
|
let i = String.fromCharCode(t3);
|
|
113337
113407
|
if (t3 === e3)
|
|
@@ -113397,7 +113467,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113397
113467
|
g++;
|
|
113398
113468
|
}
|
|
113399
113469
|
if (n2.toRegex === true) {
|
|
113400
|
-
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null, { wrap: false,
|
|
113470
|
+
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null, __spreadValues({ wrap: false }, n2));
|
|
113401
113471
|
}
|
|
113402
113472
|
return _;
|
|
113403
113473
|
};
|
|
@@ -113439,7 +113509,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113439
113509
|
if (isObject4(r3)) {
|
|
113440
113510
|
return fill(t3, e3, 0, r3);
|
|
113441
113511
|
}
|
|
113442
|
-
let s2 = {
|
|
113512
|
+
let s2 = __spreadValues({}, n2);
|
|
113443
113513
|
if (s2.capture === true)
|
|
113444
113514
|
s2.wrap = true;
|
|
113445
113515
|
r3 = r3 || s2.step || 1;
|
|
@@ -113763,7 +113833,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113763
113833
|
}
|
|
113764
113834
|
};
|
|
113765
113835
|
for (let o3 = 0; o3 < e3.length; o3++) {
|
|
113766
|
-
let u2 = i(String(e3[o3]), {
|
|
113836
|
+
let u2 = i(String(e3[o3]), __spreadProps(__spreadValues({}, r3), { onResult }), true);
|
|
113767
113837
|
let c2 = u2.state.negated || u2.state.negatedExtglob;
|
|
113768
113838
|
if (c2)
|
|
113769
113839
|
a++;
|
|
@@ -113805,7 +113875,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113805
113875
|
r3.onResult(t4);
|
|
113806
113876
|
s2.push(t4.output);
|
|
113807
113877
|
};
|
|
113808
|
-
let i2 = new Set(micromatch(t3, e3, {
|
|
113878
|
+
let i2 = new Set(micromatch(t3, e3, __spreadProps(__spreadValues({}, r3), { onResult })));
|
|
113809
113879
|
for (let t4 of s2) {
|
|
113810
113880
|
if (!i2.has(t4)) {
|
|
113811
113881
|
n2.add(t4);
|
|
@@ -113828,7 +113898,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113828
113898
|
return true;
|
|
113829
113899
|
}
|
|
113830
113900
|
}
|
|
113831
|
-
return micromatch.isMatch(t3, e3, {
|
|
113901
|
+
return micromatch.isMatch(t3, e3, __spreadProps(__spreadValues({}, r3), { contains: true }));
|
|
113832
113902
|
};
|
|
113833
113903
|
micromatch.matchKeys = (t3, e3, r3) => {
|
|
113834
113904
|
if (!o.isObject(t3)) {
|
|
@@ -113868,7 +113938,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113868
113938
|
};
|
|
113869
113939
|
micromatch.capture = (t3, e3, r3) => {
|
|
113870
113940
|
let n2 = o.isWindows(r3);
|
|
113871
|
-
let s2 = i.makeRe(String(t3), {
|
|
113941
|
+
let s2 = i.makeRe(String(t3), __spreadProps(__spreadValues({}, r3), { capture: true }));
|
|
113872
113942
|
let a = s2.exec(n2 ? o.toPosixSlashes(e3) : e3);
|
|
113873
113943
|
if (a) {
|
|
113874
113944
|
return a.slice(1).map((t4) => t4 === void 0 ? "" : t4);
|
|
@@ -113896,7 +113966,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113896
113966
|
micromatch.braceExpand = (t3, e3) => {
|
|
113897
113967
|
if (typeof t3 !== "string")
|
|
113898
113968
|
throw new TypeError("Expected a string");
|
|
113899
|
-
return micromatch.braces(t3, {
|
|
113969
|
+
return micromatch.braces(t3, __spreadProps(__spreadValues({}, e3), { expand: true }));
|
|
113900
113970
|
};
|
|
113901
113971
|
t2.exports = micromatch;
|
|
113902
113972
|
}, 376: (t2, e2, r2) => {
|
|
@@ -113923,7 +113993,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113923
113993
|
const m = `[^.${c}]`;
|
|
113924
113994
|
const v = `${f}*?`;
|
|
113925
113995
|
const E = { DOT_LITERAL: o, PLUS_LITERAL: a, QMARK_LITERAL: u, SLASH_LITERAL: c, ONE_CHAR: l, QMARK: f, END_ANCHOR: p, DOTS_SLASH: d, NO_DOT: _, NO_DOTS: g, NO_DOT_SLASH: y, NO_DOTS_SLASH: S, QMARK_NO_DOT: m, STAR: v, START_ANCHOR: h };
|
|
113926
|
-
const A = {
|
|
113996
|
+
const A = __spreadProps(__spreadValues({}, E), { SLASH_LITERAL: `[${s}]`, QMARK: i, STAR: `${i}*?`, DOTS_SLASH: `${o}{1,2}(?:[${s}]|$)`, NO_DOT: `(?!${o})`, NO_DOTS: `(?!(?:^|[${s}])${o}{1,2}(?:[${s}]|$))`, NO_DOT_SLASH: `(?!${o}{0,1}(?:[${s}]|$))`, NO_DOTS_SLASH: `(?!${o}{1,2}(?:[${s}]|$))`, QMARK_NO_DOT: `[^.${s}]`, START_ANCHOR: `(?:^|[${s}])`, END_ANCHOR: `(?:[${s}]|$)` });
|
|
113927
113997
|
const b = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
113928
113998
|
t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: b, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, SEP: n.sep, extglobChars(t3) {
|
|
113929
113999
|
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
@@ -113954,7 +114024,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
113954
114024
|
throw new TypeError("Expected a string");
|
|
113955
114025
|
}
|
|
113956
114026
|
t3 = c[t3] || t3;
|
|
113957
|
-
const r3 = {
|
|
114027
|
+
const r3 = __spreadValues({}, e3);
|
|
113958
114028
|
const l = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
|
113959
114029
|
let f = t3.length;
|
|
113960
114030
|
if (f > l) {
|
|
@@ -114046,7 +114116,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
114046
114116
|
M = t4;
|
|
114047
114117
|
};
|
|
114048
114118
|
const extglobOpen = (t4, e4) => {
|
|
114049
|
-
const n2 = {
|
|
114119
|
+
const n2 = __spreadProps(__spreadValues({}, y[e4]), { conditions: 1, inner: "" });
|
|
114050
114120
|
n2.prev = M;
|
|
114051
114121
|
n2.parens = H.parens;
|
|
114052
114122
|
n2.output = H.output;
|
|
@@ -114068,7 +114138,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
114068
114138
|
n2 = t4.close = `)$))${i2}`;
|
|
114069
114139
|
}
|
|
114070
114140
|
if (t4.inner.includes("*") && (s2 = remaining()) && /^\.[^\\/.]+$/.test(s2)) {
|
|
114071
|
-
const r4 = parse3(s2, {
|
|
114141
|
+
const r4 = parse3(s2, __spreadProps(__spreadValues({}, e3), { fastpaths: false })).output;
|
|
114072
114142
|
n2 = t4.close = `)${r4})${i2})`;
|
|
114073
114143
|
}
|
|
114074
114144
|
if (t4.prev.type === "bos") {
|
|
@@ -114590,7 +114660,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
114590
114660
|
return H;
|
|
114591
114661
|
};
|
|
114592
114662
|
parse3.fastpaths = (t3, e3) => {
|
|
114593
|
-
const r3 = {
|
|
114663
|
+
const r3 = __spreadValues({}, e3);
|
|
114594
114664
|
const o2 = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
|
114595
114665
|
const a2 = t3.length;
|
|
114596
114666
|
if (a2 > o2) {
|
|
@@ -114681,7 +114751,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
114681
114751
|
delete a2.state;
|
|
114682
114752
|
let isIgnored = () => false;
|
|
114683
114753
|
if (s2.ignore) {
|
|
114684
|
-
const t4 = {
|
|
114754
|
+
const t4 = __spreadProps(__spreadValues({}, e3), { ignore: null, onMatch: null, onResult: null });
|
|
114685
114755
|
isIgnored = picomatch(s2.ignore, t4, r3);
|
|
114686
114756
|
}
|
|
114687
114757
|
const matcher = (r4, n3 = false) => {
|
|
@@ -114743,7 +114813,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
114743
114813
|
picomatch.parse = (t3, e3) => {
|
|
114744
114814
|
if (Array.isArray(t3))
|
|
114745
114815
|
return t3.map((t4) => picomatch.parse(t4, e3));
|
|
114746
|
-
return i(t3, {
|
|
114816
|
+
return i(t3, __spreadProps(__spreadValues({}, e3), { fastpaths: false }));
|
|
114747
114817
|
};
|
|
114748
114818
|
picomatch.scan = (t3, e3) => s(t3, e3);
|
|
114749
114819
|
picomatch.compileRe = (t3, e3, r3 = false, n2 = false) => {
|
|
@@ -115208,7 +115278,7 @@ var require_fast_glob2 = __commonJS({
|
|
|
115208
115278
|
if (n(e3) === false) {
|
|
115209
115279
|
throw new TypeError("toRegexRange: expected the second argument to be a number.");
|
|
115210
115280
|
}
|
|
115211
|
-
let s = { relaxZeros: true,
|
|
115281
|
+
let s = __spreadValues({ relaxZeros: true }, r3);
|
|
115212
115282
|
if (typeof s.strictZeros === "boolean") {
|
|
115213
115283
|
s.relaxZeros = s.strictZeros === false;
|
|
115214
115284
|
}
|
|
@@ -115486,19 +115556,19 @@ var require_globby2 = __commonJS({
|
|
|
115486
115556
|
}
|
|
115487
115557
|
return [n.posix.join(t3, "**")];
|
|
115488
115558
|
};
|
|
115489
|
-
t2.exports =
|
|
115490
|
-
e3 = { cwd: process.cwd(),
|
|
115559
|
+
t2.exports = (t3, e3) => __async(exports, null, function* () {
|
|
115560
|
+
e3 = __spreadValues({ cwd: process.cwd() }, e3);
|
|
115491
115561
|
if (typeof e3.cwd !== "string") {
|
|
115492
115562
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
|
115493
115563
|
}
|
|
115494
|
-
const r3 =
|
|
115495
|
-
const r4 =
|
|
115564
|
+
const r3 = yield Promise.all([].concat(t3).map((t4) => __async(exports, null, function* () {
|
|
115565
|
+
const r4 = yield s.isDirectory(getPath(t4, e3.cwd));
|
|
115496
115566
|
return r4 ? getGlob(t4, e3) : t4;
|
|
115497
|
-
}));
|
|
115567
|
+
})));
|
|
115498
115568
|
return [].concat.apply([], r3);
|
|
115499
|
-
};
|
|
115569
|
+
});
|
|
115500
115570
|
t2.exports.sync = (t3, e3) => {
|
|
115501
|
-
e3 = { cwd: process.cwd(),
|
|
115571
|
+
e3 = __spreadValues({ cwd: process.cwd() }, e3);
|
|
115502
115572
|
if (typeof e3.cwd !== "string") {
|
|
115503
115573
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
|
115504
115574
|
}
|
|
@@ -115543,24 +115613,24 @@ var require_globby2 = __commonJS({
|
|
|
115543
115613
|
return o.join(t3, e3);
|
|
115544
115614
|
};
|
|
115545
115615
|
const getIsIgnoredPredecate = (t3, e3) => (r3) => t3.ignores(a(o.relative(e3, ensureAbsolutePathForCwd(e3, r3.path || r3))));
|
|
115546
|
-
const getFile =
|
|
115616
|
+
const getFile = (t3, e3) => __async(exports, null, function* () {
|
|
115547
115617
|
const r3 = o.join(e3, t3);
|
|
115548
|
-
const n2 =
|
|
115618
|
+
const n2 = yield u(r3, "utf8");
|
|
115549
115619
|
return { cwd: e3, filePath: r3, content: n2 };
|
|
115550
|
-
};
|
|
115620
|
+
});
|
|
115551
115621
|
const getFileSync = (t3, e3) => {
|
|
115552
115622
|
const r3 = o.join(e3, t3);
|
|
115553
115623
|
const n2 = s.readFileSync(r3, "utf8");
|
|
115554
115624
|
return { cwd: e3, filePath: r3, content: n2 };
|
|
115555
115625
|
};
|
|
115556
115626
|
const normalizeOptions = ({ ignore: t3 = [], cwd: e3 = a(process.cwd()) } = {}) => ({ ignore: t3, cwd: e3 });
|
|
115557
|
-
t2.exports =
|
|
115627
|
+
t2.exports = (t3) => __async(exports, null, function* () {
|
|
115558
115628
|
t3 = normalizeOptions(t3);
|
|
115559
|
-
const e3 =
|
|
115560
|
-
const r3 =
|
|
115629
|
+
const e3 = yield i("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
|
115630
|
+
const r3 = yield Promise.all(e3.map((e4) => getFile(e4, t3.cwd)));
|
|
115561
115631
|
const n2 = reduceIgnore(r3);
|
|
115562
115632
|
return getIsIgnoredPredecate(n2, t3.cwd);
|
|
115563
|
-
};
|
|
115633
|
+
});
|
|
115564
115634
|
t2.exports.sync = (t3) => {
|
|
115565
115635
|
t3 = normalizeOptions(t3);
|
|
115566
115636
|
const e3 = i.sync("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
|
@@ -115591,7 +115661,7 @@ var require_globby2 = __commonJS({
|
|
|
115591
115661
|
let e3;
|
|
115592
115662
|
try {
|
|
115593
115663
|
e3 = n.statSync(t3.cwd);
|
|
115594
|
-
} catch {
|
|
115664
|
+
} catch (e4) {
|
|
115595
115665
|
return;
|
|
115596
115666
|
}
|
|
115597
115667
|
if (!e3.isDirectory()) {
|
|
@@ -115604,13 +115674,13 @@ var require_globby2 = __commonJS({
|
|
|
115604
115674
|
assertPatternsInput(t3);
|
|
115605
115675
|
checkCwdOption(e3);
|
|
115606
115676
|
const r3 = [];
|
|
115607
|
-
e3 = { ignore: [], expandDirectories: true,
|
|
115677
|
+
e3 = __spreadValues({ ignore: [], expandDirectories: true }, e3);
|
|
115608
115678
|
for (const [n2, s2] of t3.entries()) {
|
|
115609
115679
|
if (isNegative(s2)) {
|
|
115610
115680
|
continue;
|
|
115611
115681
|
}
|
|
115612
115682
|
const o2 = t3.slice(n2).filter((t4) => isNegative(t4)).map((t4) => t4.slice(1));
|
|
115613
|
-
const i2 = {
|
|
115683
|
+
const i2 = __spreadProps(__spreadValues({}, e3), { ignore: e3.ignore.concat(o2) });
|
|
115614
115684
|
r3.push({ pattern: s2, options: i2 });
|
|
115615
115685
|
}
|
|
115616
115686
|
return r3;
|
|
@@ -115621,9 +115691,9 @@ var require_globby2 = __commonJS({
|
|
|
115621
115691
|
r3.cwd = t3.options.cwd;
|
|
115622
115692
|
}
|
|
115623
115693
|
if (Array.isArray(t3.options.expandDirectories)) {
|
|
115624
|
-
r3 = {
|
|
115694
|
+
r3 = __spreadProps(__spreadValues({}, r3), { files: t3.options.expandDirectories });
|
|
115625
115695
|
} else if (typeof t3.options.expandDirectories === "object") {
|
|
115626
|
-
r3 = {
|
|
115696
|
+
r3 = __spreadValues(__spreadValues({}, r3), t3.options.expandDirectories);
|
|
115627
115697
|
}
|
|
115628
115698
|
return e3(t3.pattern, r3);
|
|
115629
115699
|
};
|
|
@@ -115636,20 +115706,22 @@ var require_globby2 = __commonJS({
|
|
|
115636
115706
|
}
|
|
115637
115707
|
return { pattern: e3, options: r3 };
|
|
115638
115708
|
};
|
|
115639
|
-
t2.exports =
|
|
115709
|
+
t2.exports = (t3, e3) => __async(exports, null, function* () {
|
|
115640
115710
|
const r3 = generateGlobTasks(t3, e3);
|
|
115641
|
-
const getFilter =
|
|
115642
|
-
|
|
115643
|
-
|
|
115644
|
-
|
|
115711
|
+
const getFilter = () => __async(exports, null, function* () {
|
|
115712
|
+
return e3 && e3.gitignore ? a({ cwd: e3.cwd, ignore: e3.ignore }) : DEFAULT_FILTER;
|
|
115713
|
+
});
|
|
115714
|
+
const getTasks = () => __async(exports, null, function* () {
|
|
115715
|
+
const t4 = yield Promise.all(r3.map((t5) => __async(exports, null, function* () {
|
|
115716
|
+
const e4 = yield getPattern(t5, c);
|
|
115645
115717
|
return Promise.all(e4.map(globToTask(t5)));
|
|
115646
|
-
}));
|
|
115718
|
+
})));
|
|
115647
115719
|
return s(...t4);
|
|
115648
|
-
};
|
|
115649
|
-
const [n2, o2] =
|
|
115650
|
-
const p2 =
|
|
115720
|
+
});
|
|
115721
|
+
const [n2, o2] = yield Promise.all([getFilter(), getTasks()]);
|
|
115722
|
+
const p2 = yield Promise.all(o2.map((t4) => i(t4.pattern, t4.options)));
|
|
115651
115723
|
return s(...p2).filter((t4) => !n2(getPathString(t4)));
|
|
115652
|
-
};
|
|
115724
|
+
});
|
|
115653
115725
|
t2.exports.sync = (t3, e3) => {
|
|
115654
115726
|
const r3 = generateGlobTasks(t3, e3);
|
|
115655
115727
|
const n2 = [];
|
|
@@ -116003,19 +116075,21 @@ var require_globby2 = __commonJS({
|
|
|
116003
116075
|
"use strict";
|
|
116004
116076
|
const { promisify: n } = r2(837);
|
|
116005
116077
|
const s = r2(147);
|
|
116006
|
-
|
|
116007
|
-
|
|
116008
|
-
|
|
116009
|
-
|
|
116010
|
-
try {
|
|
116011
|
-
const o = await n(s[t3])(r3);
|
|
116012
|
-
return o[e3]();
|
|
116013
|
-
} catch (t4) {
|
|
116014
|
-
if (t4.code === "ENOENT") {
|
|
116015
|
-
return false;
|
|
116078
|
+
function isType4(t3, e3, r3) {
|
|
116079
|
+
return __async(this, null, function* () {
|
|
116080
|
+
if (typeof r3 !== "string") {
|
|
116081
|
+
throw new TypeError(`Expected a string, got ${typeof r3}`);
|
|
116016
116082
|
}
|
|
116017
|
-
|
|
116018
|
-
|
|
116083
|
+
try {
|
|
116084
|
+
const o = yield n(s[t3])(r3);
|
|
116085
|
+
return o[e3]();
|
|
116086
|
+
} catch (t4) {
|
|
116087
|
+
if (t4.code === "ENOENT") {
|
|
116088
|
+
return false;
|
|
116089
|
+
}
|
|
116090
|
+
throw t4;
|
|
116091
|
+
}
|
|
116092
|
+
});
|
|
116019
116093
|
}
|
|
116020
116094
|
function isTypeSync(t3, e3, r3) {
|
|
116021
116095
|
if (typeof r3 !== "string") {
|
|
@@ -118390,15 +118464,15 @@ var require_gzip_size2 = __commonJS({
|
|
|
118390
118464
|
const i = t2(796);
|
|
118391
118465
|
const { promisify: a } = t2(837);
|
|
118392
118466
|
const s = t2(325);
|
|
118393
|
-
const getOptions = (e3) => ({ level: 9,
|
|
118467
|
+
const getOptions = (e3) => __spreadValues({ level: 9 }, e3);
|
|
118394
118468
|
const p = a(i.gzip);
|
|
118395
|
-
e2.exports =
|
|
118469
|
+
e2.exports = (e3, r3) => __async(exports, null, function* () {
|
|
118396
118470
|
if (!e3) {
|
|
118397
118471
|
return 0;
|
|
118398
118472
|
}
|
|
118399
|
-
const t3 =
|
|
118473
|
+
const t3 = yield p(e3, getOptions(r3));
|
|
118400
118474
|
return t3.length;
|
|
118401
|
-
};
|
|
118475
|
+
});
|
|
118402
118476
|
e2.exports.sync = (e3, r3) => i.gzipSync(e3, getOptions(r3)).length;
|
|
118403
118477
|
e2.exports.stream = (e3) => {
|
|
118404
118478
|
const r3 = new o.PassThrough();
|
|
@@ -121168,10 +121242,12 @@ Expecting one of '${i3.join("', '")}'`);
|
|
|
121168
121242
|
this._parseCommand([], i3);
|
|
121169
121243
|
return this;
|
|
121170
121244
|
}
|
|
121171
|
-
|
|
121172
|
-
|
|
121173
|
-
|
|
121174
|
-
|
|
121245
|
+
parseAsync(t3, e3) {
|
|
121246
|
+
return __async(this, null, function* () {
|
|
121247
|
+
const i3 = this._prepareUserArgs(t3, e3);
|
|
121248
|
+
yield this._parseCommand([], i3);
|
|
121249
|
+
return this;
|
|
121250
|
+
});
|
|
121175
121251
|
}
|
|
121176
121252
|
_executeSubCommand(t3, e3) {
|
|
121177
121253
|
e3 = e3.slice();
|
|
@@ -122978,11 +123054,11 @@ var require_fs = __commonJS({
|
|
|
122978
123054
|
}
|
|
122979
123055
|
return false;
|
|
122980
123056
|
};
|
|
122981
|
-
var emptyDir =
|
|
122982
|
-
if (
|
|
122983
|
-
|
|
123057
|
+
var emptyDir = (dir) => __async(exports, null, function* () {
|
|
123058
|
+
if (yield _compiled.fs.pathExists(dir)) {
|
|
123059
|
+
yield _compiled.fs.emptyDir(dir);
|
|
122984
123060
|
}
|
|
122985
|
-
};
|
|
123061
|
+
});
|
|
122986
123062
|
}
|
|
122987
123063
|
});
|
|
122988
123064
|
|
|
@@ -123394,19 +123470,19 @@ var require_project = __commonJS({
|
|
|
123394
123470
|
return false;
|
|
123395
123471
|
}
|
|
123396
123472
|
};
|
|
123397
|
-
var isApiOnly =
|
|
123398
|
-
const existApi =
|
|
123399
|
-
const existSrc =
|
|
123473
|
+
var isApiOnly = (appDirectory, entryDir, apiDir) => __async(exports, null, function* () {
|
|
123474
|
+
const existApi = yield _compiled.fs.pathExists(apiDir !== null && apiDir !== void 0 ? apiDir : _path.default.join(appDirectory, "api"));
|
|
123475
|
+
const existSrc = yield _compiled.fs.pathExists(_path.default.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src"));
|
|
123400
123476
|
const options = (0, _compiled.minimist)((0, _commands.getArgv)());
|
|
123401
123477
|
if (options["api-only"]) {
|
|
123402
123478
|
return true;
|
|
123403
123479
|
}
|
|
123404
123480
|
return existApi && !existSrc;
|
|
123405
|
-
};
|
|
123406
|
-
var isWebOnly =
|
|
123481
|
+
});
|
|
123482
|
+
var isWebOnly = () => __async(exports, null, function* () {
|
|
123407
123483
|
const options = (0, _compiled.minimist)((0, _commands.getArgv)());
|
|
123408
123484
|
return Boolean(options["web-only"]);
|
|
123409
|
-
};
|
|
123485
|
+
});
|
|
123410
123486
|
var isBeyondReact17 = (cwd) => {
|
|
123411
123487
|
const pkgPath = _pkgup.default.sync({
|
|
123412
123488
|
cwd
|
|
@@ -123415,10 +123491,7 @@ var require_project = __commonJS({
|
|
|
123415
123491
|
return false;
|
|
123416
123492
|
}
|
|
123417
123493
|
const pkgInfo = JSON.parse(_compiled.fs.readFileSync(pkgPath, "utf8"));
|
|
123418
|
-
const deps = {
|
|
123419
|
-
...pkgInfo.devDependencies,
|
|
123420
|
-
...pkgInfo.dependencies
|
|
123421
|
-
};
|
|
123494
|
+
const deps = __spreadValues(__spreadValues({}, pkgInfo.devDependencies), pkgInfo.dependencies);
|
|
123422
123495
|
if (typeof deps.react !== "string") {
|
|
123423
123496
|
return false;
|
|
123424
123497
|
}
|
|
@@ -123430,10 +123503,7 @@ var require_project = __commonJS({
|
|
|
123430
123503
|
return false;
|
|
123431
123504
|
}
|
|
123432
123505
|
const pkgInfo = JSON.parse(_compiled.fs.readFileSync(pkgPath, "utf8"));
|
|
123433
|
-
const deps = {
|
|
123434
|
-
...pkgInfo.devDependencies,
|
|
123435
|
-
...pkgInfo.dependencies
|
|
123436
|
-
};
|
|
123506
|
+
const deps = __spreadValues(__spreadValues({}, pkgInfo.devDependencies), pkgInfo.dependencies);
|
|
123437
123507
|
if (typeof deps.react !== "string") {
|
|
123438
123508
|
return false;
|
|
123439
123509
|
}
|
|
@@ -123488,47 +123558,55 @@ var require_package5 = __commonJS({
|
|
|
123488
123558
|
}
|
|
123489
123559
|
});
|
|
123490
123560
|
var _compiled = require_compiled();
|
|
123491
|
-
|
|
123492
|
-
|
|
123493
|
-
"
|
|
123494
|
-
]);
|
|
123495
|
-
return stdout;
|
|
123496
|
-
}
|
|
123497
|
-
async function canUseNpm5() {
|
|
123498
|
-
try {
|
|
123499
|
-
await (0, _compiled.execa)("npm", [
|
|
123561
|
+
function getPnpmVersion() {
|
|
123562
|
+
return __async(this, null, function* () {
|
|
123563
|
+
const { stdout } = yield (0, _compiled.execa)("pnpm", [
|
|
123500
123564
|
"--version"
|
|
123501
|
-
]
|
|
123502
|
-
|
|
123503
|
-
|
|
123504
|
-
return true;
|
|
123505
|
-
} catch (e) {
|
|
123506
|
-
return false;
|
|
123507
|
-
}
|
|
123565
|
+
]);
|
|
123566
|
+
return stdout;
|
|
123567
|
+
});
|
|
123508
123568
|
}
|
|
123509
|
-
|
|
123510
|
-
|
|
123511
|
-
|
|
123512
|
-
"
|
|
123513
|
-
|
|
123514
|
-
|
|
123515
|
-
|
|
123516
|
-
|
|
123517
|
-
|
|
123518
|
-
|
|
123519
|
-
|
|
123569
|
+
function canUseNpm5() {
|
|
123570
|
+
return __async(this, null, function* () {
|
|
123571
|
+
try {
|
|
123572
|
+
yield (0, _compiled.execa)("npm", [
|
|
123573
|
+
"--version"
|
|
123574
|
+
], {
|
|
123575
|
+
env: process.env
|
|
123576
|
+
});
|
|
123577
|
+
return true;
|
|
123578
|
+
} catch (e) {
|
|
123579
|
+
return false;
|
|
123580
|
+
}
|
|
123581
|
+
});
|
|
123520
123582
|
}
|
|
123521
|
-
|
|
123522
|
-
|
|
123523
|
-
|
|
123524
|
-
"
|
|
123525
|
-
|
|
123526
|
-
|
|
123527
|
-
|
|
123528
|
-
|
|
123529
|
-
|
|
123530
|
-
|
|
123531
|
-
|
|
123583
|
+
function canUseYarn4() {
|
|
123584
|
+
return __async(this, null, function* () {
|
|
123585
|
+
try {
|
|
123586
|
+
yield (0, _compiled.execa)("yarn", [
|
|
123587
|
+
"--version"
|
|
123588
|
+
], {
|
|
123589
|
+
env: process.env
|
|
123590
|
+
});
|
|
123591
|
+
return true;
|
|
123592
|
+
} catch (e) {
|
|
123593
|
+
return false;
|
|
123594
|
+
}
|
|
123595
|
+
});
|
|
123596
|
+
}
|
|
123597
|
+
function canUsePnpm5() {
|
|
123598
|
+
return __async(this, null, function* () {
|
|
123599
|
+
try {
|
|
123600
|
+
yield (0, _compiled.execa)("pnpm", [
|
|
123601
|
+
"--version"
|
|
123602
|
+
], {
|
|
123603
|
+
env: process.env
|
|
123604
|
+
});
|
|
123605
|
+
return true;
|
|
123606
|
+
} catch (e) {
|
|
123607
|
+
return false;
|
|
123608
|
+
}
|
|
123609
|
+
});
|
|
123532
123610
|
}
|
|
123533
123611
|
}
|
|
123534
123612
|
});
|
|
@@ -123581,29 +123659,31 @@ var require_data = __commonJS({
|
|
|
123581
123659
|
var _is = require_is();
|
|
123582
123660
|
var _package = require_package5();
|
|
123583
123661
|
var MAX_TIMES = 5;
|
|
123584
|
-
|
|
123585
|
-
|
|
123586
|
-
|
|
123587
|
-
|
|
123588
|
-
times
|
|
123589
|
-
|
|
123662
|
+
function getPackageManager2() {
|
|
123663
|
+
return __async(this, arguments, function* (cwd = process.cwd()) {
|
|
123664
|
+
let appDirectory = cwd;
|
|
123665
|
+
let times = 0;
|
|
123666
|
+
while (_os.default.homedir() !== appDirectory && times < MAX_TIMES) {
|
|
123667
|
+
times++;
|
|
123668
|
+
if (_compiled.fs.existsSync(_path.default.resolve(appDirectory, "pnpm-lock.yaml"))) {
|
|
123669
|
+
return "pnpm";
|
|
123670
|
+
}
|
|
123671
|
+
if (_compiled.fs.existsSync(_path.default.resolve(appDirectory, "yarn.lock"))) {
|
|
123672
|
+
return "yarn";
|
|
123673
|
+
}
|
|
123674
|
+
if (_compiled.fs.existsSync(_path.default.resolve(appDirectory, "package-lock.json"))) {
|
|
123675
|
+
return "npm";
|
|
123676
|
+
}
|
|
123677
|
+
appDirectory = _path.default.join(appDirectory, "..");
|
|
123678
|
+
}
|
|
123679
|
+
if (yield (0, _package.canUsePnpm)()) {
|
|
123590
123680
|
return "pnpm";
|
|
123591
123681
|
}
|
|
123592
|
-
if (
|
|
123682
|
+
if (yield (0, _package.canUseYarn)()) {
|
|
123593
123683
|
return "yarn";
|
|
123594
123684
|
}
|
|
123595
|
-
|
|
123596
|
-
|
|
123597
|
-
}
|
|
123598
|
-
appDirectory = _path.default.join(appDirectory, "..");
|
|
123599
|
-
}
|
|
123600
|
-
if (await (0, _package.canUsePnpm)()) {
|
|
123601
|
-
return "pnpm";
|
|
123602
|
-
}
|
|
123603
|
-
if (await (0, _package.canUseYarn)()) {
|
|
123604
|
-
return "yarn";
|
|
123605
|
-
}
|
|
123606
|
-
return "npm";
|
|
123685
|
+
return "npm";
|
|
123686
|
+
});
|
|
123607
123687
|
}
|
|
123608
123688
|
var getCoreJsVersion = (corejsPkgPath) => {
|
|
123609
123689
|
try {
|
|
@@ -123683,10 +123763,7 @@ var require_config3 = __commonJS({
|
|
|
123683
123763
|
if (optionsByEntry === void 0 && isMainEntry && packageName) {
|
|
123684
123764
|
optionsByEntry = getOptionsByEntryName(packageName, optionsByEntries);
|
|
123685
123765
|
}
|
|
123686
|
-
return optionsByEntry !== void 0 ? (0, _is.isPlainObject)(optionsByEntry) && (0, _is.isPlainObject)(baseOptions) ? {
|
|
123687
|
-
...baseOptions,
|
|
123688
|
-
...optionsByEntry
|
|
123689
|
-
} : optionsByEntry : baseOptions;
|
|
123766
|
+
return optionsByEntry !== void 0 ? (0, _is.isPlainObject)(optionsByEntry) && (0, _is.isPlainObject)(baseOptions) ? __spreadValues(__spreadValues({}, baseOptions), optionsByEntry) : optionsByEntry : baseOptions;
|
|
123690
123767
|
} else {
|
|
123691
123768
|
return baseOptions;
|
|
123692
123769
|
}
|
|
@@ -123724,10 +123801,10 @@ var require_get2 = __commonJS({
|
|
|
123724
123801
|
var _fs = require_fs();
|
|
123725
123802
|
_export_star._(require_data(), exports);
|
|
123726
123803
|
_export_star._(require_config3(), exports);
|
|
123727
|
-
var getServerConfig =
|
|
123804
|
+
var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
|
|
123728
123805
|
const configFilePath = (0, _fs.findExists)(_constants.CONFIG_FILE_EXTENSIONS.map((extension) => _path.default.resolve(appDirectory, `${configFile}${extension}`)));
|
|
123729
123806
|
return configFilePath;
|
|
123730
|
-
};
|
|
123807
|
+
});
|
|
123731
123808
|
var getTargetDir = (from, baseDir, targetBaseDir) => {
|
|
123732
123809
|
const relativePath = _path.default.relative(baseDir, from);
|
|
123733
123810
|
return _path.default.resolve(targetBaseDir, relativePath);
|
|
@@ -123852,14 +123929,8 @@ ${_chalk.default.grey(rest.join("\n"))}`;
|
|
|
123852
123929
|
}
|
|
123853
123930
|
constructor(options = {}) {
|
|
123854
123931
|
this.level = options.level || LOG_TYPES.log.level;
|
|
123855
|
-
this.config = {
|
|
123856
|
-
|
|
123857
|
-
...options.config || {}
|
|
123858
|
-
};
|
|
123859
|
-
this.types = {
|
|
123860
|
-
...LOG_TYPES,
|
|
123861
|
-
...options.types || {}
|
|
123862
|
-
};
|
|
123932
|
+
this.config = __spreadValues(__spreadValues({}, DEFAULT_CONFIG), options.config || {});
|
|
123933
|
+
this.types = __spreadValues(__spreadValues({}, LOG_TYPES), options.types || {});
|
|
123863
123934
|
this.longestLabel = this.getLongestLabel();
|
|
123864
123935
|
Object.keys(this.types).forEach((type) => {
|
|
123865
123936
|
this[type] = this._log.bind(this, type);
|
|
@@ -123977,10 +124048,7 @@ var require_alias = __commonJS({
|
|
|
123977
124048
|
const baseUrl = (_tsconfig = tsconfig) === null || _tsconfig === void 0 ? void 0 : (_tsconfig_compilerOptions = _tsconfig.compilerOptions) === null || _tsconfig_compilerOptions === void 0 ? void 0 : _tsconfig_compilerOptions.baseUrl;
|
|
123978
124049
|
return {
|
|
123979
124050
|
absoluteBaseUrl: baseUrl ? _path.default.join(option.appDirectory, baseUrl) : option.appDirectory,
|
|
123980
|
-
paths: {
|
|
123981
|
-
...alias,
|
|
123982
|
-
...(_tsconfig1 = tsconfig) === null || _tsconfig1 === void 0 ? void 0 : (_tsconfig_compilerOptions1 = _tsconfig1.compilerOptions) === null || _tsconfig_compilerOptions1 === void 0 ? void 0 : _tsconfig_compilerOptions1.paths
|
|
123983
|
-
},
|
|
124051
|
+
paths: __spreadValues(__spreadValues({}, alias), (_tsconfig1 = tsconfig) === null || _tsconfig1 === void 0 ? void 0 : (_tsconfig_compilerOptions1 = _tsconfig1.compilerOptions) === null || _tsconfig_compilerOptions1 === void 0 ? void 0 : _tsconfig_compilerOptions1.paths),
|
|
123984
124052
|
isTsPath: true,
|
|
123985
124053
|
isTsProject
|
|
123986
124054
|
};
|
|
@@ -124066,7 +124134,7 @@ var require_path = __commonJS({
|
|
|
124066
124134
|
try {
|
|
124067
124135
|
ret = _os.default.tmpdir();
|
|
124068
124136
|
ret = _fs.default.realpathSync(ret);
|
|
124069
|
-
} catch {
|
|
124137
|
+
} catch (e) {
|
|
124070
124138
|
}
|
|
124071
124139
|
return ret;
|
|
124072
124140
|
}
|
|
@@ -124167,10 +124235,7 @@ var require_babel = __commonJS({
|
|
|
124167
124235
|
presets.forEach((preset, index) => {
|
|
124168
124236
|
if (Array.isArray(preset)) {
|
|
124169
124237
|
if (typeof preset[0] === "string" && (0, _path1.normalizeToPosixPath)(preset[0]).includes(presetName)) {
|
|
124170
|
-
preset[1] = {
|
|
124171
|
-
...preset[1] || {},
|
|
124172
|
-
...options
|
|
124173
|
-
};
|
|
124238
|
+
preset[1] = __spreadValues(__spreadValues({}, preset[1] || {}), options);
|
|
124174
124239
|
}
|
|
124175
124240
|
} else if (typeof preset === "string" && (0, _path1.normalizeToPosixPath)(preset).includes(presetName)) {
|
|
124176
124241
|
presets[index] = [
|
|
@@ -124199,10 +124264,7 @@ var require_babel = __commonJS({
|
|
|
124199
124264
|
};
|
|
124200
124265
|
var applyUserBabelConfig = (defaultOptions, userBabelConfig, extraBabelUtils) => {
|
|
124201
124266
|
if (userBabelConfig) {
|
|
124202
|
-
const babelUtils = {
|
|
124203
|
-
...getBabelUtils(defaultOptions),
|
|
124204
|
-
...extraBabelUtils
|
|
124205
|
-
};
|
|
124267
|
+
const babelUtils = __spreadValues(__spreadValues({}, getBabelUtils(defaultOptions)), extraBabelUtils);
|
|
124206
124268
|
return (0, _applyOptionsChain.applyOptionsChain)(defaultOptions, userBabelConfig || {}, babelUtils);
|
|
124207
124269
|
}
|
|
124208
124270
|
return defaultOptions;
|
|
@@ -124275,10 +124337,7 @@ var require_monorepo = __commonJS({
|
|
|
124275
124337
|
return false;
|
|
124276
124338
|
}
|
|
124277
124339
|
const json = JSON.parse(_fs.default.readFileSync(pkgJsonPath, "utf8"));
|
|
124278
|
-
const deps = {
|
|
124279
|
-
...json.dependencies || {},
|
|
124280
|
-
...json.devDependencies || {}
|
|
124281
|
-
};
|
|
124340
|
+
const deps = __spreadValues(__spreadValues({}, json.dependencies || {}), json.devDependencies || {});
|
|
124282
124341
|
return Boolean(deps["@modern-js/monorepo-tools"]);
|
|
124283
124342
|
};
|
|
124284
124343
|
var findMonorepoRoot = (appDirectory, maxDepth = PACKAGE_MAX_DEPTH) => {
|
|
@@ -124338,7 +124397,7 @@ var require_port = __commonJS({
|
|
|
124338
124397
|
var _net = /* @__PURE__ */ _interop_require_default._(require("net"));
|
|
124339
124398
|
var _compiled = require_compiled();
|
|
124340
124399
|
var _logger = require_logger2();
|
|
124341
|
-
var getPort =
|
|
124400
|
+
var getPort = (_0, ..._1) => __async(exports, [_0, ..._1], function* (port, { tryLimits = 20, strictPort = false } = {}) {
|
|
124342
124401
|
if (typeof port === "string") {
|
|
124343
124402
|
port = parseInt(port, 10);
|
|
124344
124403
|
}
|
|
@@ -124350,7 +124409,7 @@ var require_port = __commonJS({
|
|
|
124350
124409
|
let attempts = 0;
|
|
124351
124410
|
while (!found && attempts <= tryLimits) {
|
|
124352
124411
|
try {
|
|
124353
|
-
|
|
124412
|
+
yield new Promise((resolve, reject) => {
|
|
124354
124413
|
const server = _net.default.createServer();
|
|
124355
124414
|
server.unref();
|
|
124356
124415
|
server.on("error", reject);
|
|
@@ -124378,7 +124437,7 @@ var require_port = __commonJS({
|
|
|
124378
124437
|
}
|
|
124379
124438
|
}
|
|
124380
124439
|
return port;
|
|
124381
|
-
};
|
|
124440
|
+
});
|
|
124382
124441
|
}
|
|
124383
124442
|
});
|
|
124384
124443
|
|
|
@@ -124529,14 +124588,13 @@ var require_require = __commonJS({
|
|
|
124529
124588
|
};
|
|
124530
124589
|
var dynamicImport = new Function("modulePath", "return import(modulePath)");
|
|
124531
124590
|
var requireExistModule = (filename, opt) => {
|
|
124532
|
-
const final = {
|
|
124591
|
+
const final = __spreadValues({
|
|
124533
124592
|
extensions: [
|
|
124534
124593
|
".ts",
|
|
124535
124594
|
".js"
|
|
124536
124595
|
],
|
|
124537
|
-
interop: true
|
|
124538
|
-
|
|
124539
|
-
};
|
|
124596
|
+
interop: true
|
|
124597
|
+
}, opt);
|
|
124540
124598
|
const exist = (0, _fs.findExists)(final.extensions.map((ext) => `${filename}${ext}`));
|
|
124541
124599
|
if (!exist) {
|
|
124542
124600
|
return null;
|
|
@@ -124616,7 +124674,7 @@ var require_runtimeExports = __commonJS({
|
|
|
124616
124674
|
_compiled.fs.appendFileSync(entryExportFile, `${statement}
|
|
124617
124675
|
`);
|
|
124618
124676
|
}
|
|
124619
|
-
} catch {
|
|
124677
|
+
} catch (e) {
|
|
124620
124678
|
}
|
|
124621
124679
|
};
|
|
124622
124680
|
const getPath = () => entryExportFile;
|
|
@@ -124664,29 +124722,29 @@ var require_watch = __commonJS({
|
|
|
124664
124722
|
ignored
|
|
124665
124723
|
});
|
|
124666
124724
|
watcher.on("ready", () => ready = true);
|
|
124667
|
-
watcher.on("change",
|
|
124725
|
+
watcher.on("change", (filePath) => __async(exports, null, function* () {
|
|
124668
124726
|
const changedFilePath = _path.default.resolve(filePath);
|
|
124669
|
-
|
|
124727
|
+
yield runTask({
|
|
124670
124728
|
changedFilePath,
|
|
124671
124729
|
changeType: WatchChangeType.CHANGE
|
|
124672
124730
|
});
|
|
124673
|
-
});
|
|
124674
|
-
watcher.on("add",
|
|
124731
|
+
}));
|
|
124732
|
+
watcher.on("add", (filePath) => __async(exports, null, function* () {
|
|
124675
124733
|
const changedFilePath = _path.default.resolve(filePath);
|
|
124676
124734
|
if (ready) {
|
|
124677
|
-
|
|
124735
|
+
yield runTask({
|
|
124678
124736
|
changedFilePath,
|
|
124679
124737
|
changeType: WatchChangeType.ADD
|
|
124680
124738
|
});
|
|
124681
124739
|
}
|
|
124682
|
-
});
|
|
124683
|
-
watcher.on("unlink",
|
|
124740
|
+
}));
|
|
124741
|
+
watcher.on("unlink", (filePath) => __async(exports, null, function* () {
|
|
124684
124742
|
const changedFilePath = _path.default.resolve(filePath);
|
|
124685
|
-
|
|
124743
|
+
yield runTask({
|
|
124686
124744
|
changedFilePath,
|
|
124687
124745
|
changeType: WatchChangeType.UNLINK
|
|
124688
124746
|
});
|
|
124689
|
-
});
|
|
124747
|
+
}));
|
|
124690
124748
|
watcher.on("error", (err) => {
|
|
124691
124749
|
throw err;
|
|
124692
124750
|
});
|
|
@@ -145280,39 +145338,43 @@ var localeKeys3 = i18n3.init("en", {
|
|
|
145280
145338
|
|
|
145281
145339
|
// ../../generator-utils/dist/esm/utils/package.js
|
|
145282
145340
|
var import_utils25 = __toESM(require_cjs2());
|
|
145283
|
-
|
|
145284
|
-
|
|
145285
|
-
|
|
145341
|
+
function isPackageExist(packageName, registry2) {
|
|
145342
|
+
return __async(this, null, function* () {
|
|
145343
|
+
if (yield (0, import_utils25.canUseNpm)()) {
|
|
145344
|
+
try {
|
|
145345
|
+
const args = [
|
|
145346
|
+
"view",
|
|
145347
|
+
packageName,
|
|
145348
|
+
"version"
|
|
145349
|
+
];
|
|
145350
|
+
if (registry2) {
|
|
145351
|
+
args.push(`--registry=${registry2}`);
|
|
145352
|
+
}
|
|
145353
|
+
const result = yield (0, import_utils25.execa)("npm", args);
|
|
145354
|
+
return (0, import_utils25.stripAnsi)(result.stdout);
|
|
145355
|
+
} catch (e) {
|
|
145356
|
+
return false;
|
|
145357
|
+
}
|
|
145358
|
+
}
|
|
145359
|
+
throw new Error("not found npm, please install npm before");
|
|
145360
|
+
});
|
|
145361
|
+
}
|
|
145362
|
+
function isPackageDeprecated(packageName, registry2) {
|
|
145363
|
+
return __async(this, null, function* () {
|
|
145364
|
+
if (yield (0, import_utils25.canUseNpm)()) {
|
|
145286
145365
|
const args = [
|
|
145287
145366
|
"view",
|
|
145288
145367
|
packageName,
|
|
145289
|
-
"
|
|
145368
|
+
"deprecated"
|
|
145290
145369
|
];
|
|
145291
145370
|
if (registry2) {
|
|
145292
145371
|
args.push(`--registry=${registry2}`);
|
|
145293
145372
|
}
|
|
145294
|
-
const result =
|
|
145373
|
+
const result = yield (0, import_utils25.execa)("npm", args);
|
|
145295
145374
|
return (0, import_utils25.stripAnsi)(result.stdout);
|
|
145296
|
-
} catch (e) {
|
|
145297
|
-
return false;
|
|
145298
145375
|
}
|
|
145299
|
-
|
|
145300
|
-
|
|
145301
|
-
}
|
|
145302
|
-
async function isPackageDeprecated(packageName, registry2) {
|
|
145303
|
-
if (await (0, import_utils25.canUseNpm)()) {
|
|
145304
|
-
const args = [
|
|
145305
|
-
"view",
|
|
145306
|
-
packageName,
|
|
145307
|
-
"deprecated"
|
|
145308
|
-
];
|
|
145309
|
-
if (registry2) {
|
|
145310
|
-
args.push(`--registry=${registry2}`);
|
|
145311
|
-
}
|
|
145312
|
-
const result = await (0, import_utils25.execa)("npm", args);
|
|
145313
|
-
return (0, import_utils25.stripAnsi)(result.stdout);
|
|
145314
|
-
}
|
|
145315
|
-
throw new Error("not found npm, please install npm before");
|
|
145376
|
+
throw new Error("not found npm, please install npm before");
|
|
145377
|
+
});
|
|
145316
145378
|
}
|
|
145317
145379
|
function semverDecrease(version) {
|
|
145318
145380
|
const versionObj = import_utils25.semver.parse(version, {
|
|
@@ -145331,97 +145393,103 @@ function semverDecrease(version) {
|
|
|
145331
145393
|
}
|
|
145332
145394
|
return result;
|
|
145333
145395
|
}
|
|
145334
|
-
|
|
145335
|
-
|
|
145336
|
-
|
|
145337
|
-
|
|
145338
|
-
|
|
145339
|
-
version
|
|
145340
|
-
|
|
145341
|
-
|
|
145396
|
+
function getAvailableVersion(packageName, currentVersion, registry2) {
|
|
145397
|
+
return __async(this, null, function* () {
|
|
145398
|
+
let times = 5;
|
|
145399
|
+
let version = currentVersion;
|
|
145400
|
+
while (times) {
|
|
145401
|
+
if (!(yield isPackageExist(`${packageName}@${version}`, registry2)) || (yield isPackageDeprecated(`${packageName}@${version}`, registry2))) {
|
|
145402
|
+
version = import_utils25.semver.inc(version, "patch");
|
|
145403
|
+
times--;
|
|
145404
|
+
continue;
|
|
145405
|
+
}
|
|
145406
|
+
return version;
|
|
145342
145407
|
}
|
|
145343
|
-
|
|
145344
|
-
|
|
145345
|
-
|
|
145346
|
-
|
|
145347
|
-
|
|
145348
|
-
|
|
145349
|
-
|
|
145350
|
-
|
|
145408
|
+
times = 5;
|
|
145409
|
+
while (times) {
|
|
145410
|
+
version = semverDecrease(version);
|
|
145411
|
+
if (!(yield isPackageExist(`${packageName}@${version}`, registry2)) || (yield isPackageDeprecated(`${packageName}@${version}`, registry2))) {
|
|
145412
|
+
times--;
|
|
145413
|
+
continue;
|
|
145414
|
+
}
|
|
145415
|
+
return version;
|
|
145351
145416
|
}
|
|
145352
|
-
return
|
|
145353
|
-
}
|
|
145354
|
-
return currentVersion;
|
|
145417
|
+
return currentVersion;
|
|
145418
|
+
});
|
|
145355
145419
|
}
|
|
145356
145420
|
|
|
145357
145421
|
// ../../generator-utils/dist/esm/index.js
|
|
145358
145422
|
var import_utils27 = __toESM(require_cjs2());
|
|
145359
|
-
|
|
145360
|
-
|
|
145361
|
-
|
|
145362
|
-
|
|
145363
|
-
|
|
145364
|
-
|
|
145365
|
-
|
|
145366
|
-
|
|
145367
|
-
|
|
145368
|
-
|
|
145369
|
-
|
|
145370
|
-
|
|
145371
|
-
|
|
145423
|
+
function getPackageVersion(packageName, registry2) {
|
|
145424
|
+
return __async(this, null, function* () {
|
|
145425
|
+
const spinner = (0, import_utils26.ora)({
|
|
145426
|
+
text: "Load Generator...",
|
|
145427
|
+
spinner: "runner"
|
|
145428
|
+
}).start();
|
|
145429
|
+
if (yield (0, import_utils26.canUsePnpm)()) {
|
|
145430
|
+
const args = [
|
|
145431
|
+
"info",
|
|
145432
|
+
packageName,
|
|
145433
|
+
"version"
|
|
145434
|
+
];
|
|
145435
|
+
if (registry2) {
|
|
145436
|
+
args.push(`--registry=${registry2}`);
|
|
145437
|
+
}
|
|
145438
|
+
const result = yield (0, import_utils26.execa)("pnpm", args);
|
|
145439
|
+
spinner.stop();
|
|
145440
|
+
return stripAnsi2(result.stdout);
|
|
145372
145441
|
}
|
|
145373
|
-
|
|
145374
|
-
|
|
145375
|
-
|
|
145376
|
-
|
|
145377
|
-
|
|
145378
|
-
|
|
145379
|
-
|
|
145380
|
-
|
|
145381
|
-
|
|
145382
|
-
|
|
145383
|
-
|
|
145384
|
-
|
|
145442
|
+
if (yield (0, import_utils26.canUseNpm)()) {
|
|
145443
|
+
const args = [
|
|
145444
|
+
"view",
|
|
145445
|
+
packageName,
|
|
145446
|
+
"version"
|
|
145447
|
+
];
|
|
145448
|
+
if (registry2) {
|
|
145449
|
+
args.push(`--registry=${registry2}`);
|
|
145450
|
+
}
|
|
145451
|
+
const result = yield (0, import_utils26.execa)("npm", args);
|
|
145452
|
+
spinner.stop();
|
|
145453
|
+
return stripAnsi2(result.stdout);
|
|
145385
145454
|
}
|
|
145386
|
-
const result = await (0, import_utils26.execa)("npm", args);
|
|
145387
145455
|
spinner.stop();
|
|
145388
|
-
|
|
145389
|
-
}
|
|
145390
|
-
spinner.stop();
|
|
145391
|
-
throw new Error("not found npm, please install npm before");
|
|
145456
|
+
throw new Error("not found npm, please install npm before");
|
|
145457
|
+
});
|
|
145392
145458
|
}
|
|
145393
|
-
|
|
145394
|
-
|
|
145395
|
-
|
|
145396
|
-
|
|
145397
|
-
|
|
145398
|
-
const
|
|
145399
|
-
|
|
145400
|
-
|
|
145401
|
-
|
|
145402
|
-
|
|
145403
|
-
|
|
145404
|
-
|
|
145405
|
-
|
|
145406
|
-
cwd
|
|
145407
|
-
]
|
|
145408
|
-
}), "../../..", "package.json");
|
|
145409
|
-
if (solution === Solution.Module) {
|
|
145410
|
-
pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
|
|
145459
|
+
function getModernPluginVersion(_0, _1) {
|
|
145460
|
+
return __async(this, arguments, function* (solution, packageName, options = {
|
|
145461
|
+
distTag: "latest"
|
|
145462
|
+
}) {
|
|
145463
|
+
const { cwd = process.cwd(), registry: registry2, distTag } = options;
|
|
145464
|
+
const getLatetPluginVersion = (tag) => __async(this, null, function* () {
|
|
145465
|
+
const version = yield getPackageVersion(`${packageName}@${tag || distTag || "latest"}`, registry2);
|
|
145466
|
+
return version;
|
|
145467
|
+
});
|
|
145468
|
+
if (!packageName.startsWith("@modern-js") || packageName.includes("electron") || packageName.includes("codesmith") || packageName.includes("easy-form") || packageName.startsWith("@modern-js-reduck")) {
|
|
145469
|
+
return getLatetPluginVersion("latest");
|
|
145470
|
+
}
|
|
145471
|
+
let pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
|
|
145411
145472
|
paths: [
|
|
145412
145473
|
cwd
|
|
145413
145474
|
]
|
|
145414
|
-
}), "
|
|
145415
|
-
|
|
145416
|
-
|
|
145417
|
-
|
|
145418
|
-
|
|
145419
|
-
|
|
145420
|
-
|
|
145475
|
+
}), "../../..", "package.json");
|
|
145476
|
+
if (solution === Solution.Module) {
|
|
145477
|
+
pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
|
|
145478
|
+
paths: [
|
|
145479
|
+
cwd
|
|
145480
|
+
]
|
|
145481
|
+
}), "../..", "package.json");
|
|
145421
145482
|
}
|
|
145422
|
-
|
|
145423
|
-
|
|
145424
|
-
|
|
145483
|
+
if (import_utils26.fs.existsSync(pkgPath)) {
|
|
145484
|
+
const pkgInfo = import_utils26.fs.readJSONSync(pkgPath);
|
|
145485
|
+
const modernVersion = pkgInfo.version;
|
|
145486
|
+
if (typeof modernVersion !== "string") {
|
|
145487
|
+
return getLatetPluginVersion();
|
|
145488
|
+
}
|
|
145489
|
+
return getAvailableVersion(packageName, modernVersion, registry2);
|
|
145490
|
+
}
|
|
145491
|
+
return getLatetPluginVersion();
|
|
145492
|
+
});
|
|
145425
145493
|
}
|
|
145426
145494
|
|
|
145427
145495
|
// ../../generator-plugin/dist/esm/index.js
|
|
@@ -146984,17 +147052,19 @@ function getGeneratorPath(generator, distTag) {
|
|
|
146984
147052
|
}
|
|
146985
147053
|
return generator;
|
|
146986
147054
|
}
|
|
146987
|
-
|
|
146988
|
-
|
|
146989
|
-
|
|
146990
|
-
|
|
146991
|
-
|
|
146992
|
-
|
|
147055
|
+
function usePluginNameExport(solution, options) {
|
|
147056
|
+
return __async(this, null, function* () {
|
|
147057
|
+
const solutionVersion = yield getModernPluginVersion(solution, SolutionToolsMap[Solution.MWA], options);
|
|
147058
|
+
if (import_utils30.semver.valid(solutionVersion) && import_utils30.semver.gte(solutionVersion, "2.0.0")) {
|
|
147059
|
+
return import_utils30.semver.gt(solutionVersion, "2.24.0");
|
|
147060
|
+
}
|
|
147061
|
+
return true;
|
|
147062
|
+
});
|
|
146993
147063
|
}
|
|
146994
147064
|
|
|
146995
147065
|
// ../../new-action/dist/esm/mwa.js
|
|
146996
147066
|
var import_lodash11 = __toESM(require_lodash2());
|
|
146997
|
-
var MWANewAction =
|
|
147067
|
+
var MWANewAction = (options) => __async(void 0, null, function* () {
|
|
146998
147068
|
const { locale = "zh", distTag = "", debug = false, registry: registry2 = "", config = "{}", cwd = process.cwd() } = options;
|
|
146999
147069
|
let UserConfig = {};
|
|
147000
147070
|
try {
|
|
@@ -147028,11 +147098,10 @@ var MWANewAction = async (options) => {
|
|
|
147028
147098
|
const enable = hasEnabledFunction(refactor, MWAActionRefactorDependencies, {}, {}, cwd);
|
|
147029
147099
|
refactorMap[refactor] = enable;
|
|
147030
147100
|
});
|
|
147031
|
-
const ans =
|
|
147032
|
-
...UserConfig,
|
|
147101
|
+
const ans = yield formilyAPI.getInputBySchemaFunc(getMWANewActionSchema, __spreadProps(__spreadValues({}, UserConfig), {
|
|
147033
147102
|
funcMap,
|
|
147034
147103
|
refactorMap
|
|
147035
|
-
});
|
|
147104
|
+
}));
|
|
147036
147105
|
const actionType = ans.actionType;
|
|
147037
147106
|
const action2 = ans[actionType];
|
|
147038
147107
|
const generator = getGeneratorPath(MWANewActionGenerators[actionType][action2], distTag);
|
|
@@ -147048,21 +147117,21 @@ var MWANewAction = async (options) => {
|
|
|
147048
147117
|
};
|
|
147049
147118
|
const devDependency = MWAActionFunctionsDevDependencies[action2];
|
|
147050
147119
|
const dependency = MWAActionFunctionsDependencies[action2] || MWAActionRefactorDependencies[action2];
|
|
147051
|
-
const shouldUsePluginNameExport =
|
|
147120
|
+
const shouldUsePluginNameExport = yield usePluginNameExport(Solution.MWA, {
|
|
147052
147121
|
registry: registry2,
|
|
147053
147122
|
distTag,
|
|
147054
147123
|
cwd
|
|
147055
147124
|
});
|
|
147056
147125
|
const finalConfig = (0, import_lodash11.merge)(UserConfig, ans, {
|
|
147057
147126
|
locale: UserConfig.locale || locale,
|
|
147058
|
-
packageManager: UserConfig.packageManager ||
|
|
147127
|
+
packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
|
|
147059
147128
|
distTag
|
|
147060
147129
|
}, {
|
|
147061
147130
|
devDependencies: devDependency ? {
|
|
147062
|
-
[devDependency]: `${
|
|
147131
|
+
[devDependency]: `${yield getMwaPluginVersion(devDependency)}`
|
|
147063
147132
|
} : {},
|
|
147064
147133
|
dependencies: dependency ? {
|
|
147065
|
-
[dependency]: `${
|
|
147134
|
+
[dependency]: `${yield getMwaPluginVersion(dependency)}`
|
|
147066
147135
|
} : {},
|
|
147067
147136
|
appendTypeContent: MWAActionFunctionsAppendTypeContent[action2] || MWAActionReactorAppendTypeContent[action2],
|
|
147068
147137
|
pluginName: MWANewActionPluginName[actionType][action2],
|
|
@@ -147075,18 +147144,18 @@ var MWANewAction = async (options) => {
|
|
|
147075
147144
|
config: finalConfig
|
|
147076
147145
|
}
|
|
147077
147146
|
];
|
|
147078
|
-
|
|
147147
|
+
yield smith.forge({
|
|
147079
147148
|
tasks: task.map((runner) => ({
|
|
147080
147149
|
generator: runner.name,
|
|
147081
147150
|
config: runner.config
|
|
147082
147151
|
})),
|
|
147083
147152
|
pwd: cwd
|
|
147084
147153
|
});
|
|
147085
|
-
};
|
|
147154
|
+
});
|
|
147086
147155
|
|
|
147087
147156
|
// ../../new-action/dist/esm/module.js
|
|
147088
147157
|
var import_lodash12 = __toESM(require_lodash2());
|
|
147089
|
-
var ModuleNewAction =
|
|
147158
|
+
var ModuleNewAction = (options) => __async(void 0, null, function* () {
|
|
147090
147159
|
const { locale = "zh", distTag = "", debug = false, registry: registry2 = "", config = "{}", cwd = process.cwd() } = options;
|
|
147091
147160
|
let UserConfig = {};
|
|
147092
147161
|
try {
|
|
@@ -147123,10 +147192,9 @@ var ModuleNewAction = async (options) => {
|
|
|
147123
147192
|
smith.logger.warn("no option can be enabled");
|
|
147124
147193
|
process.exit(1);
|
|
147125
147194
|
}
|
|
147126
|
-
const ans =
|
|
147127
|
-
...UserConfig,
|
|
147195
|
+
const ans = yield formilyAPI.getInputBySchemaFunc(getModuleNewActionSchema, __spreadProps(__spreadValues({}, UserConfig), {
|
|
147128
147196
|
funcMap
|
|
147129
|
-
});
|
|
147197
|
+
}));
|
|
147130
147198
|
const actionType = ans.actionType;
|
|
147131
147199
|
const action2 = ans[actionType];
|
|
147132
147200
|
const generator = getGeneratorPath(ModuleNewActionGenerators[actionType][action2], distTag);
|
|
@@ -147143,24 +147211,24 @@ var ModuleNewAction = async (options) => {
|
|
|
147143
147211
|
cwd
|
|
147144
147212
|
});
|
|
147145
147213
|
};
|
|
147146
|
-
const shouldUsePluginNameExport =
|
|
147214
|
+
const shouldUsePluginNameExport = yield usePluginNameExport(Solution.Module, {
|
|
147147
147215
|
registry: registry2,
|
|
147148
147216
|
distTag,
|
|
147149
147217
|
cwd
|
|
147150
147218
|
});
|
|
147151
147219
|
const finalConfig = (0, import_lodash12.merge)(UserConfig, ans, {
|
|
147152
147220
|
locale: UserConfig.locale || locale,
|
|
147153
|
-
packageManager: UserConfig.packageManager ||
|
|
147221
|
+
packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
|
|
147154
147222
|
distTag
|
|
147155
147223
|
}, {
|
|
147156
147224
|
devDependencies: devDependency ? {
|
|
147157
|
-
[devDependency]: `${
|
|
147225
|
+
[devDependency]: `${yield getModulePluginVersion(devDependency)}`
|
|
147158
147226
|
} : {},
|
|
147159
147227
|
dependencies: dependency ? {
|
|
147160
|
-
[dependency]: `${
|
|
147228
|
+
[dependency]: `${yield getModulePluginVersion(dependency)}`
|
|
147161
147229
|
} : {},
|
|
147162
147230
|
peerDependencies: peerDependency ? {
|
|
147163
|
-
[peerDependency]: `${
|
|
147231
|
+
[peerDependency]: `${yield getModulePluginVersion(peerDependency)}`
|
|
147164
147232
|
} : {},
|
|
147165
147233
|
pluginName: ModuleNewActionPluginName[actionType][action2],
|
|
147166
147234
|
pluginDependence: ModuleNewActionPluginDependence[actionType][action2],
|
|
@@ -147172,20 +147240,20 @@ var ModuleNewAction = async (options) => {
|
|
|
147172
147240
|
config: finalConfig
|
|
147173
147241
|
}
|
|
147174
147242
|
];
|
|
147175
|
-
|
|
147243
|
+
yield smith.forge({
|
|
147176
147244
|
tasks: task.map((runner) => ({
|
|
147177
147245
|
generator: runner.name,
|
|
147178
147246
|
config: runner.config
|
|
147179
147247
|
})),
|
|
147180
147248
|
pwd: cwd
|
|
147181
147249
|
});
|
|
147182
|
-
};
|
|
147250
|
+
});
|
|
147183
147251
|
|
|
147184
147252
|
// ../../new-action/dist/esm/monorepo.js
|
|
147185
147253
|
var import_path15 = __toESM(require("path"));
|
|
147186
147254
|
var import_lodash13 = __toESM(require_lodash2());
|
|
147187
147255
|
var REPO_GENERATOR = "@modern-js/repo-generator";
|
|
147188
|
-
var MonorepoNewAction =
|
|
147256
|
+
var MonorepoNewAction = (options) => __async(void 0, null, function* () {
|
|
147189
147257
|
const { locale = "zh", distTag = "", debug = false, registry: registry2 = "", config = "{}", plugin = [], cwd = process.cwd() } = options;
|
|
147190
147258
|
let UserConfig = {};
|
|
147191
147259
|
try {
|
|
@@ -147216,7 +147284,7 @@ var MonorepoNewAction = async (options) => {
|
|
|
147216
147284
|
});
|
|
147217
147285
|
const finalConfig = (0, import_lodash13.merge)(UserConfig, {
|
|
147218
147286
|
locale: UserConfig.locale || locale,
|
|
147219
|
-
packageManager: UserConfig.packageManager ||
|
|
147287
|
+
packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
|
|
147220
147288
|
isMonorepo: true,
|
|
147221
147289
|
distTag,
|
|
147222
147290
|
plugins
|
|
@@ -147233,14 +147301,14 @@ var MonorepoNewAction = async (options) => {
|
|
|
147233
147301
|
config: finalConfig
|
|
147234
147302
|
}
|
|
147235
147303
|
];
|
|
147236
|
-
|
|
147304
|
+
yield smith.forge({
|
|
147237
147305
|
tasks: task.map((runner) => ({
|
|
147238
147306
|
generator: runner.name,
|
|
147239
147307
|
config: runner.config
|
|
147240
147308
|
})),
|
|
147241
147309
|
pwd: cwd
|
|
147242
147310
|
});
|
|
147243
|
-
};
|
|
147311
|
+
});
|
|
147244
147312
|
|
|
147245
147313
|
// ../../generator-plugin/dist/esm/context/new.js
|
|
147246
147314
|
var PluginNewAPI = /* @__PURE__ */ function() {
|
|
@@ -148136,16 +148204,15 @@ var getNeedRunPlugin = (context, generatorPlugin) => {
|
|
|
148136
148204
|
(_a2 = customPlugin[pluginSolution]) == null ? void 0 : _a2.find((plugin) => plugin.key === scenes)
|
|
148137
148205
|
);
|
|
148138
148206
|
};
|
|
148139
|
-
var handleTemplateFile =
|
|
148207
|
+
var handleTemplateFile = (context, generator, appApi, generatorPlugin) => __async(void 0, null, function* () {
|
|
148140
148208
|
const { isMonorepo } = context.config;
|
|
148141
|
-
const { solution } =
|
|
148209
|
+
const { solution } = yield appApi.getInputBySchemaFunc(
|
|
148142
148210
|
isMonorepo ? getMonorepoNewActionSchema : getSolutionSchema,
|
|
148143
|
-
{
|
|
148144
|
-
...context.config,
|
|
148211
|
+
__spreadProps(__spreadValues({}, context.config), {
|
|
148145
148212
|
customPlugin: generatorPlugin == null ? void 0 : generatorPlugin.customPlugin
|
|
148146
|
-
}
|
|
148213
|
+
})
|
|
148147
148214
|
);
|
|
148148
|
-
|
|
148215
|
+
yield appApi.getInputBySchemaFunc(getScenesSchema, context.config);
|
|
148149
148216
|
const solutionGenerator = (
|
|
148150
148217
|
// eslint-disable-next-line no-nested-ternary
|
|
148151
148218
|
solution === "custom" ? BaseGenerator : isMonorepo ? SubSolutionGenerator[solution] : SolutionGenerator[solution]
|
|
@@ -148153,35 +148220,33 @@ var handleTemplateFile = async (context, generator, appApi, generatorPlugin) =>
|
|
|
148153
148220
|
if (!solution || !solutionGenerator) {
|
|
148154
148221
|
generator.logger.error("solution is not valid ");
|
|
148155
148222
|
}
|
|
148156
|
-
|
|
148223
|
+
yield appApi.runSubGenerator(
|
|
148157
148224
|
getGeneratorPath2(solutionGenerator, context.config.distTag),
|
|
148158
148225
|
void 0,
|
|
148159
|
-
{
|
|
148160
|
-
...isMonorepo ? MonorepoNewActionConfig[solution] || {} : {},
|
|
148161
|
-
...context.config,
|
|
148226
|
+
__spreadProps(__spreadValues(__spreadValues({}, isMonorepo ? MonorepoNewActionConfig[solution] || {} : {}), context.config), {
|
|
148162
148227
|
hasPlugin: getNeedRunPlugin(context, generatorPlugin),
|
|
148163
148228
|
generatorPlugin
|
|
148164
|
-
}
|
|
148229
|
+
})
|
|
148165
148230
|
);
|
|
148166
|
-
};
|
|
148167
|
-
var handlePlugin =
|
|
148231
|
+
});
|
|
148232
|
+
var handlePlugin = (context, generator) => __async(void 0, null, function* () {
|
|
148168
148233
|
const { plugins, registry: registry2, locale } = context.config;
|
|
148169
148234
|
const generatorPlugin = new GeneratorPlugin(
|
|
148170
148235
|
generator.logger,
|
|
148171
148236
|
generator.event,
|
|
148172
148237
|
locale
|
|
148173
148238
|
);
|
|
148174
|
-
|
|
148239
|
+
yield generatorPlugin.setupPlugin(plugins, registry2);
|
|
148175
148240
|
return generatorPlugin;
|
|
148176
|
-
};
|
|
148177
|
-
var src_default =
|
|
148241
|
+
});
|
|
148242
|
+
var src_default = (context, generator) => __async(void 0, null, function* () {
|
|
148178
148243
|
var _a2;
|
|
148179
148244
|
process.setMaxListeners(20);
|
|
148180
148245
|
const appApi = new AppAPI(context, generator);
|
|
148181
148246
|
const { locale } = context.config;
|
|
148182
148247
|
i18n2.changeLanguage({ locale });
|
|
148183
148248
|
appApi.i18n.changeLanguage({ locale });
|
|
148184
|
-
if (!
|
|
148249
|
+
if (!(yield appApi.checkEnvironment())) {
|
|
148185
148250
|
process.exit(1);
|
|
148186
148251
|
}
|
|
148187
148252
|
generator.logger.debug(`start run @modern-js/repo-generator`);
|
|
@@ -148190,16 +148255,16 @@ var src_default = async (context, generator) => {
|
|
|
148190
148255
|
mergeDefaultConfig(context);
|
|
148191
148256
|
let generatorPlugin;
|
|
148192
148257
|
if (((_a2 = context.config.plugins) == null ? void 0 : _a2.length) > 0) {
|
|
148193
|
-
generatorPlugin =
|
|
148258
|
+
generatorPlugin = yield handlePlugin(context, generator);
|
|
148194
148259
|
}
|
|
148195
148260
|
try {
|
|
148196
|
-
|
|
148261
|
+
yield handleTemplateFile(context, generator, appApi, generatorPlugin);
|
|
148197
148262
|
} catch (e) {
|
|
148198
148263
|
generator.logger.error(e);
|
|
148199
148264
|
process.exit(1);
|
|
148200
148265
|
}
|
|
148201
148266
|
generator.logger.debug(`forge @modern-js/repo-generator succeed `);
|
|
148202
|
-
};
|
|
148267
|
+
});
|
|
148203
148268
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
148204
148269
|
/*!
|
|
148205
148270
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|