@modern-js/repo-generator 0.0.0-next-b71d66058 → 0.0.0-next-1f210c066
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 +396 -1794
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -44658,9 +44658,9 @@ var require_src2 = __commonJS({
|
|
|
44658
44658
|
}
|
|
44659
44659
|
});
|
|
44660
44660
|
|
|
44661
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44661
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
|
|
44662
44662
|
var require_env = __commonJS({
|
|
44663
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44663
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
|
|
44664
44664
|
"use strict";
|
|
44665
44665
|
Object.defineProperty(exports, "__esModule", {
|
|
44666
44666
|
value: true
|
|
@@ -44722,9 +44722,9 @@ var require_env = __commonJS({
|
|
|
44722
44722
|
}
|
|
44723
44723
|
});
|
|
44724
44724
|
|
|
44725
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44725
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
|
|
44726
44726
|
var require_install = __commonJS({
|
|
44727
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44727
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
|
|
44728
44728
|
"use strict";
|
|
44729
44729
|
Object.defineProperty(exports, "__esModule", {
|
|
44730
44730
|
value: true
|
|
@@ -44876,9 +44876,9 @@ var require_install = __commonJS({
|
|
|
44876
44876
|
}
|
|
44877
44877
|
});
|
|
44878
44878
|
|
|
44879
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44879
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
|
|
44880
44880
|
var require_utils = __commonJS({
|
|
44881
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44881
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
|
|
44882
44882
|
"use strict";
|
|
44883
44883
|
Object.defineProperty(exports, "__esModule", {
|
|
44884
44884
|
value: true
|
|
@@ -44942,9 +44942,9 @@ var require_utils = __commonJS({
|
|
|
44942
44942
|
}
|
|
44943
44943
|
});
|
|
44944
44944
|
|
|
44945
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44945
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
|
|
44946
44946
|
var require_node = __commonJS({
|
|
44947
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44947
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
|
|
44948
44948
|
"use strict";
|
|
44949
44949
|
Object.defineProperty(exports, "__esModule", {
|
|
44950
44950
|
value: true
|
|
@@ -45019,9 +45019,9 @@ var require_node = __commonJS({
|
|
|
45019
45019
|
}
|
|
45020
45020
|
});
|
|
45021
45021
|
|
|
45022
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45022
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
|
|
45023
45023
|
var require_utils2 = __commonJS({
|
|
45024
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45024
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
|
|
45025
45025
|
"use strict";
|
|
45026
45026
|
Object.defineProperty(exports, "__esModule", {
|
|
45027
45027
|
value: true
|
|
@@ -45096,9 +45096,9 @@ var require_utils2 = __commonJS({
|
|
|
45096
45096
|
}
|
|
45097
45097
|
});
|
|
45098
45098
|
|
|
45099
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45099
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
|
|
45100
45100
|
var require_node2 = __commonJS({
|
|
45101
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45101
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
|
|
45102
45102
|
"use strict";
|
|
45103
45103
|
Object.defineProperty(exports, "__esModule", {
|
|
45104
45104
|
value: true
|
|
@@ -45177,9 +45177,9 @@ var require_node2 = __commonJS({
|
|
|
45177
45177
|
}
|
|
45178
45178
|
});
|
|
45179
45179
|
|
|
45180
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45180
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
|
|
45181
45181
|
var require_constants2 = __commonJS({
|
|
45182
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45182
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
|
|
45183
45183
|
"use strict";
|
|
45184
45184
|
Object.defineProperty(exports, "__esModule", {
|
|
45185
45185
|
value: true
|
|
@@ -45200,9 +45200,9 @@ var require_constants2 = __commonJS({
|
|
|
45200
45200
|
}
|
|
45201
45201
|
});
|
|
45202
45202
|
|
|
45203
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45203
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
|
|
45204
45204
|
var require_logger2 = __commonJS({
|
|
45205
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45205
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
|
|
45206
45206
|
"use strict";
|
|
45207
45207
|
Object.defineProperty(exports, "__esModule", {
|
|
45208
45208
|
value: true
|
|
@@ -45270,9 +45270,9 @@ var require_logger2 = __commonJS({
|
|
|
45270
45270
|
}
|
|
45271
45271
|
});
|
|
45272
45272
|
|
|
45273
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45273
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
|
|
45274
45274
|
var require_constants3 = __commonJS({
|
|
45275
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45275
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
|
|
45276
45276
|
"use strict";
|
|
45277
45277
|
Object.defineProperty(exports, "__esModule", {
|
|
45278
45278
|
value: true
|
|
@@ -45283,9 +45283,9 @@ var require_constants3 = __commonJS({
|
|
|
45283
45283
|
}
|
|
45284
45284
|
});
|
|
45285
45285
|
|
|
45286
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45286
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
|
|
45287
45287
|
var require_FsResource = __commonJS({
|
|
45288
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45288
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
|
|
45289
45289
|
"use strict";
|
|
45290
45290
|
Object.defineProperty(exports, "__esModule", {
|
|
45291
45291
|
value: true
|
|
@@ -45336,9 +45336,9 @@ var require_FsResource = __commonJS({
|
|
|
45336
45336
|
}
|
|
45337
45337
|
});
|
|
45338
45338
|
|
|
45339
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45339
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
|
|
45340
45340
|
var require_FsMaterial = __commonJS({
|
|
45341
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45341
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
|
|
45342
45342
|
"use strict";
|
|
45343
45343
|
Object.defineProperty(exports, "__esModule", {
|
|
45344
45344
|
value: true
|
|
@@ -45390,9 +45390,9 @@ var require_FsMaterial = __commonJS({
|
|
|
45390
45390
|
}
|
|
45391
45391
|
});
|
|
45392
45392
|
|
|
45393
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45393
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
|
|
45394
45394
|
var require_nodeRequire = __commonJS({
|
|
45395
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45395
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
|
|
45396
45396
|
"use strict";
|
|
45397
45397
|
Object.defineProperty(exports, "__esModule", {
|
|
45398
45398
|
value: true
|
|
@@ -45417,9 +45417,9 @@ var require_nodeRequire = __commonJS({
|
|
|
45417
45417
|
}
|
|
45418
45418
|
});
|
|
45419
45419
|
|
|
45420
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45420
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
|
|
45421
45421
|
var require_fsExists = __commonJS({
|
|
45422
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45422
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
|
|
45423
45423
|
"use strict";
|
|
45424
45424
|
Object.defineProperty(exports, "__esModule", {
|
|
45425
45425
|
value: true
|
|
@@ -45439,9 +45439,9 @@ var require_fsExists = __commonJS({
|
|
|
45439
45439
|
}
|
|
45440
45440
|
});
|
|
45441
45441
|
|
|
45442
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45442
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
|
|
45443
45443
|
var require_getGeneratorDir = __commonJS({
|
|
45444
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45444
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
|
|
45445
45445
|
"use strict";
|
|
45446
45446
|
Object.defineProperty(exports, "__esModule", {
|
|
45447
45447
|
value: true
|
|
@@ -45475,9 +45475,9 @@ var require_getGeneratorDir = __commonJS({
|
|
|
45475
45475
|
}
|
|
45476
45476
|
});
|
|
45477
45477
|
|
|
45478
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45478
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
|
|
45479
45479
|
var require_generator = __commonJS({
|
|
45480
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45480
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
|
|
45481
45481
|
"use strict";
|
|
45482
45482
|
Object.defineProperty(exports, "__esModule", {
|
|
45483
45483
|
value: true
|
|
@@ -45725,9 +45725,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
|
|
|
45725
45725
|
}
|
|
45726
45726
|
});
|
|
45727
45727
|
|
|
45728
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45728
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
|
|
45729
45729
|
var require_packageManager = __commonJS({
|
|
45730
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45730
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
|
|
45731
45731
|
"use strict";
|
|
45732
45732
|
Object.defineProperty(exports, "__esModule", {
|
|
45733
45733
|
value: true
|
|
@@ -45805,9 +45805,9 @@ var require_packageManager = __commonJS({
|
|
|
45805
45805
|
}
|
|
45806
45806
|
});
|
|
45807
45807
|
|
|
45808
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45808
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
|
|
45809
45809
|
var require_timeoutPromise = __commonJS({
|
|
45810
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45810
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
|
|
45811
45811
|
"use strict";
|
|
45812
45812
|
Object.defineProperty(exports, "__esModule", {
|
|
45813
45813
|
value: true
|
|
@@ -53633,9 +53633,9 @@ var require_tar = __commonJS({
|
|
|
53633
53633
|
}
|
|
53634
53634
|
});
|
|
53635
53635
|
|
|
53636
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53636
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
|
|
53637
53637
|
var require_constants5 = __commonJS({
|
|
53638
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53638
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
|
|
53639
53639
|
"use strict";
|
|
53640
53640
|
Object.defineProperty(exports, "__esModule", {
|
|
53641
53641
|
value: true
|
|
@@ -53648,9 +53648,9 @@ var require_constants5 = __commonJS({
|
|
|
53648
53648
|
}
|
|
53649
53649
|
});
|
|
53650
53650
|
|
|
53651
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53651
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
|
|
53652
53652
|
var require_getNpmTarballUrl = __commonJS({
|
|
53653
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53653
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
|
|
53654
53654
|
"use strict";
|
|
53655
53655
|
Object.defineProperty(exports, "__esModule", {
|
|
53656
53656
|
value: true
|
|
@@ -53684,9 +53684,9 @@ var require_getNpmTarballUrl = __commonJS({
|
|
|
53684
53684
|
}
|
|
53685
53685
|
});
|
|
53686
53686
|
|
|
53687
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53687
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
|
|
53688
53688
|
var require_getNpmVersion = __commonJS({
|
|
53689
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53689
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
|
|
53690
53690
|
"use strict";
|
|
53691
53691
|
Object.defineProperty(exports, "__esModule", {
|
|
53692
53692
|
value: true
|
|
@@ -53722,9 +53722,9 @@ var require_getNpmVersion = __commonJS({
|
|
|
53722
53722
|
}
|
|
53723
53723
|
});
|
|
53724
53724
|
|
|
53725
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53725
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
|
|
53726
53726
|
var require_downloadPackage = __commonJS({
|
|
53727
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53727
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
|
|
53728
53728
|
"use strict";
|
|
53729
53729
|
Object.defineProperty(exports, "__esModule", {
|
|
53730
53730
|
value: true
|
|
@@ -53826,9 +53826,9 @@ var require_downloadPackage = __commonJS({
|
|
|
53826
53826
|
}
|
|
53827
53827
|
});
|
|
53828
53828
|
|
|
53829
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53829
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
|
|
53830
53830
|
var require_getPackageInfo = __commonJS({
|
|
53831
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53831
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
|
|
53832
53832
|
"use strict";
|
|
53833
53833
|
Object.defineProperty(exports, "__esModule", {
|
|
53834
53834
|
value: true
|
|
@@ -53860,9 +53860,9 @@ var require_getPackageInfo = __commonJS({
|
|
|
53860
53860
|
}
|
|
53861
53861
|
});
|
|
53862
53862
|
|
|
53863
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53863
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
|
|
53864
53864
|
var require_utils4 = __commonJS({
|
|
53865
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53865
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
|
|
53866
53866
|
"use strict";
|
|
53867
53867
|
Object.defineProperty(exports, "__esModule", {
|
|
53868
53868
|
value: true
|
|
@@ -53938,9 +53938,9 @@ var require_utils4 = __commonJS({
|
|
|
53938
53938
|
}
|
|
53939
53939
|
});
|
|
53940
53940
|
|
|
53941
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53941
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
|
|
53942
53942
|
var require_materials = __commonJS({
|
|
53943
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53943
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
|
|
53944
53944
|
"use strict";
|
|
53945
53945
|
Object.defineProperty(exports, "__esModule", {
|
|
53946
53946
|
value: true
|
|
@@ -53998,9 +53998,9 @@ var require_materials = __commonJS({
|
|
|
53998
53998
|
}
|
|
53999
53999
|
});
|
|
54000
54000
|
|
|
54001
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54001
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
|
|
54002
54002
|
var require_codesmith = __commonJS({
|
|
54003
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54003
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
|
|
54004
54004
|
"use strict";
|
|
54005
54005
|
Object.defineProperty(exports, "__esModule", {
|
|
54006
54006
|
value: true
|
|
@@ -54076,9 +54076,9 @@ var require_codesmith = __commonJS({
|
|
|
54076
54076
|
}
|
|
54077
54077
|
});
|
|
54078
54078
|
|
|
54079
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54079
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
|
|
54080
54080
|
var require_node3 = __commonJS({
|
|
54081
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54081
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
|
|
54082
54082
|
"use strict";
|
|
54083
54083
|
Object.defineProperty(exports, "__esModule", {
|
|
54084
54084
|
value: true
|
|
@@ -60032,9 +60032,9 @@ var require_lib = __commonJS({
|
|
|
60032
60032
|
}
|
|
60033
60033
|
});
|
|
60034
60034
|
|
|
60035
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60035
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
|
|
60036
60036
|
var require_renderString = __commonJS({
|
|
60037
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60037
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
|
|
60038
60038
|
"use strict";
|
|
60039
60039
|
Object.defineProperty(exports, "__esModule", {
|
|
60040
60040
|
value: true
|
|
@@ -60083,9 +60083,9 @@ var require_renderString = __commonJS({
|
|
|
60083
60083
|
}
|
|
60084
60084
|
});
|
|
60085
60085
|
|
|
60086
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60086
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
|
|
60087
60087
|
var require_utils6 = __commonJS({
|
|
60088
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60088
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
|
|
60089
60089
|
"use strict";
|
|
60090
60090
|
Object.defineProperty(exports, "__esModule", {
|
|
60091
60091
|
value: true
|
|
@@ -60100,9 +60100,9 @@ var require_utils6 = __commonJS({
|
|
|
60100
60100
|
}
|
|
60101
60101
|
});
|
|
60102
60102
|
|
|
60103
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60103
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
|
|
60104
60104
|
var require_node4 = __commonJS({
|
|
60105
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60105
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
|
|
60106
60106
|
"use strict";
|
|
60107
60107
|
Object.defineProperty(exports, "__esModule", {
|
|
60108
60108
|
value: true
|
|
@@ -60116,6 +60116,27 @@ var require_node4 = __commonJS({
|
|
|
60116
60116
|
});
|
|
60117
60117
|
var _codesmith = require_node3();
|
|
60118
60118
|
var _utils = require_utils6();
|
|
60119
|
+
function ownKeys7(object, enumerableOnly) {
|
|
60120
|
+
var keys = Object.keys(object);
|
|
60121
|
+
if (Object.getOwnPropertySymbols) {
|
|
60122
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
60123
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
60124
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
60125
|
+
})), keys.push.apply(keys, symbols);
|
|
60126
|
+
}
|
|
60127
|
+
return keys;
|
|
60128
|
+
}
|
|
60129
|
+
function _objectSpread10(target) {
|
|
60130
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
60131
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
60132
|
+
i % 2 ? ownKeys7(Object(source), true).forEach(function(key) {
|
|
60133
|
+
_defineProperty14(target, key, source[key]);
|
|
60134
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys7(Object(source)).forEach(function(key) {
|
|
60135
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
60136
|
+
});
|
|
60137
|
+
}
|
|
60138
|
+
return target;
|
|
60139
|
+
}
|
|
60119
60140
|
function _defineProperty14(obj, key, value) {
|
|
60120
60141
|
if (key in obj) {
|
|
60121
60142
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
@@ -60134,6 +60155,16 @@ var require_node4 = __commonJS({
|
|
|
60134
60155
|
partials: {}
|
|
60135
60156
|
};
|
|
60136
60157
|
}
|
|
60158
|
+
registerHelp(helpers) {
|
|
60159
|
+
return __async(this, null, function* () {
|
|
60160
|
+
this.registers.helpers = _objectSpread10(_objectSpread10({}, this.registers.helpers), helpers);
|
|
60161
|
+
});
|
|
60162
|
+
}
|
|
60163
|
+
registerPartials(partials) {
|
|
60164
|
+
return __async(this, null, function* () {
|
|
60165
|
+
this.registers.partials = _objectSpread10(_objectSpread10({}, this.registers.partials), partials);
|
|
60166
|
+
});
|
|
60167
|
+
}
|
|
60137
60168
|
renderTemplate(_0, _1) {
|
|
60138
60169
|
return __async(this, arguments, function* (templateResource, target, parameters = {}) {
|
|
60139
60170
|
if (templateResource._type !== _codesmith.FS_RESOURCE) {
|
|
@@ -60875,9 +60906,9 @@ var require_ejs = __commonJS({
|
|
|
60875
60906
|
}
|
|
60876
60907
|
});
|
|
60877
60908
|
|
|
60878
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60909
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
|
|
60879
60910
|
var require_renderString2 = __commonJS({
|
|
60880
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60911
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
|
|
60881
60912
|
"use strict";
|
|
60882
60913
|
Object.defineProperty(exports, "__esModule", {
|
|
60883
60914
|
value: true
|
|
@@ -60893,9 +60924,9 @@ var require_renderString2 = __commonJS({
|
|
|
60893
60924
|
}
|
|
60894
60925
|
});
|
|
60895
60926
|
|
|
60896
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60927
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
|
|
60897
60928
|
var require_utils8 = __commonJS({
|
|
60898
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60929
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
|
|
60899
60930
|
"use strict";
|
|
60900
60931
|
Object.defineProperty(exports, "__esModule", {
|
|
60901
60932
|
value: true
|
|
@@ -60910,9 +60941,9 @@ var require_utils8 = __commonJS({
|
|
|
60910
60941
|
}
|
|
60911
60942
|
});
|
|
60912
60943
|
|
|
60913
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60944
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
|
|
60914
60945
|
var require_node5 = __commonJS({
|
|
60915
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60946
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
|
|
60916
60947
|
"use strict";
|
|
60917
60948
|
Object.defineProperty(exports, "__esModule", {
|
|
60918
60949
|
value: true
|
|
@@ -60970,9 +61001,9 @@ var require_node5 = __commonJS({
|
|
|
60970
61001
|
}
|
|
60971
61002
|
});
|
|
60972
61003
|
|
|
60973
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61004
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
|
|
60974
61005
|
var require_constant = __commonJS({
|
|
60975
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61006
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
|
|
60976
61007
|
"use strict";
|
|
60977
61008
|
Object.defineProperty(exports, "__esModule", {
|
|
60978
61009
|
value: true
|
|
@@ -60983,9 +61014,9 @@ var require_constant = __commonJS({
|
|
|
60983
61014
|
}
|
|
60984
61015
|
});
|
|
60985
61016
|
|
|
60986
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61017
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
|
|
60987
61018
|
var require_node6 = __commonJS({
|
|
60988
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61019
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
|
|
60989
61020
|
"use strict";
|
|
60990
61021
|
Object.defineProperty(exports, "__esModule", {
|
|
60991
61022
|
value: true
|
|
@@ -65320,10 +65351,10 @@ var init_esm3 = __esm({
|
|
|
65320
65351
|
}
|
|
65321
65352
|
});
|
|
65322
65353
|
|
|
65323
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65354
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/shared.js
|
|
65324
65355
|
var REVA_ACTIONS_KEY, SchemaNestedMap, SchemaStateMap, SchemaValidatorMap, SchemaNormalKeys, SchemaValidatorKeys, hasOwnProperty4, traverse, traverseSchema, isNoNeedCompileObject, createDataSource, patchStateFormSchema;
|
|
65325
65356
|
var init_shared2 = __esm({
|
|
65326
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65357
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/shared.js"() {
|
|
65327
65358
|
init_esm2();
|
|
65328
65359
|
init_esm3();
|
|
65329
65360
|
init_schema();
|
|
@@ -65515,10 +65546,10 @@ var init_shared2 = __esm({
|
|
|
65515
65546
|
}
|
|
65516
65547
|
});
|
|
65517
65548
|
|
|
65518
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65549
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/compiler.js
|
|
65519
65550
|
var ExpRE, Registry, silent, registerCompiler, shallowCompile, compile, patchCompile, patchSchemaCompile;
|
|
65520
65551
|
var init_compiler = __esm({
|
|
65521
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65552
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/compiler.js"() {
|
|
65522
65553
|
init_esm2();
|
|
65523
65554
|
init_esm3();
|
|
65524
65555
|
init_shared2();
|
|
@@ -70507,10 +70538,10 @@ var init_esm5 = __esm({
|
|
|
70507
70538
|
}
|
|
70508
70539
|
});
|
|
70509
70540
|
|
|
70510
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70541
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/transformer.js
|
|
70511
70542
|
var __read7, FieldEffects, DefaultFieldEffects, getDependencyValue, getDependencies, setSchemaFieldState, getBaseScope, getBaseReactions, getUserReactions, transformFieldProps;
|
|
70512
70543
|
var init_transformer = __esm({
|
|
70513
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70544
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/transformer.js"() {
|
|
70514
70545
|
init_esm3();
|
|
70515
70546
|
init_esm2();
|
|
70516
70547
|
init_esm5();
|
|
@@ -70715,10 +70746,10 @@ var init_transformer = __esm({
|
|
|
70715
70746
|
}
|
|
70716
70747
|
});
|
|
70717
70748
|
|
|
70718
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70749
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/patches.js
|
|
70719
70750
|
var __assign9, patches, polyfills, reducePatches, registerPatches, registerPolyfills, enablePolyfills;
|
|
70720
70751
|
var init_patches = __esm({
|
|
70721
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70752
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/patches.js"() {
|
|
70722
70753
|
init_esm2();
|
|
70723
70754
|
__assign9 = function() {
|
|
70724
70755
|
__assign9 = Object.assign || function(t) {
|
|
@@ -70770,10 +70801,10 @@ var init_patches = __esm({
|
|
|
70770
70801
|
}
|
|
70771
70802
|
});
|
|
70772
70803
|
|
|
70773
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70804
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
70774
70805
|
var __assign10, __read8, __spreadArray7, VOID_COMPONENTS, TYPE_DEFAULT_COMPONENTS, transformCondition, transformXLinkage, SpecificationV1Polyfill, registerVoidComponents, registerTypeDefaultComponents;
|
|
70775
70806
|
var init_SPECIFICATION_1_0 = __esm({
|
|
70776
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70807
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js"() {
|
|
70777
70808
|
init_patches();
|
|
70778
70809
|
init_esm2();
|
|
70779
70810
|
__assign10 = function() {
|
|
@@ -70934,17 +70965,17 @@ var init_SPECIFICATION_1_0 = __esm({
|
|
|
70934
70965
|
}
|
|
70935
70966
|
});
|
|
70936
70967
|
|
|
70937
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70968
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/index.js
|
|
70938
70969
|
var init_polyfills = __esm({
|
|
70939
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70970
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/index.js"() {
|
|
70940
70971
|
init_SPECIFICATION_1_0();
|
|
70941
70972
|
}
|
|
70942
70973
|
});
|
|
70943
70974
|
|
|
70944
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70975
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/schema.js
|
|
70945
70976
|
var Schema;
|
|
70946
70977
|
var init_schema = __esm({
|
|
70947
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70978
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/schema.js"() {
|
|
70948
70979
|
init_esm2();
|
|
70949
70980
|
init_compiler();
|
|
70950
70981
|
init_transformer();
|
|
@@ -70972,1473 +71003,235 @@ var init_schema = __esm({
|
|
|
70972
71003
|
for (var key in properties) {
|
|
70973
71004
|
_this.addProperty(key, properties[key]);
|
|
70974
71005
|
}
|
|
70975
|
-
return _this;
|
|
70976
|
-
};
|
|
70977
|
-
this.addPatternProperty = function(key, schema) {
|
|
70978
|
-
if (!schema)
|
|
70979
|
-
return;
|
|
70980
|
-
_this.patternProperties = _this.patternProperties || {};
|
|
70981
|
-
_this.patternProperties[key] = new Schema2(schema, _this);
|
|
70982
|
-
_this.patternProperties[key].name = key;
|
|
70983
|
-
return _this.patternProperties[key];
|
|
70984
|
-
};
|
|
70985
|
-
this.removePatternProperty = function(key) {
|
|
70986
|
-
var schema = _this.patternProperties[key];
|
|
70987
|
-
delete _this.patternProperties[key];
|
|
70988
|
-
return schema;
|
|
70989
|
-
};
|
|
70990
|
-
this.setPatternProperties = function(properties) {
|
|
70991
|
-
if (!properties)
|
|
70992
|
-
return _this;
|
|
70993
|
-
for (var key in properties) {
|
|
70994
|
-
_this.addPatternProperty(key, properties[key]);
|
|
70995
|
-
}
|
|
70996
|
-
return _this;
|
|
70997
|
-
};
|
|
70998
|
-
this.setAdditionalProperties = function(properties) {
|
|
70999
|
-
if (!properties)
|
|
71000
|
-
return;
|
|
71001
|
-
_this.additionalProperties = new Schema2(properties);
|
|
71002
|
-
return _this.additionalProperties;
|
|
71003
|
-
};
|
|
71004
|
-
this.setItems = function(schema) {
|
|
71005
|
-
if (!schema)
|
|
71006
|
-
return;
|
|
71007
|
-
if (Array.isArray(schema)) {
|
|
71008
|
-
_this.items = schema.map(function(item) {
|
|
71009
|
-
return new Schema2(item, _this);
|
|
71010
|
-
});
|
|
71011
|
-
} else {
|
|
71012
|
-
_this.items = new Schema2(schema, _this);
|
|
71013
|
-
}
|
|
71014
|
-
return _this.items;
|
|
71015
|
-
};
|
|
71016
|
-
this.setAdditionalItems = function(items) {
|
|
71017
|
-
if (!items)
|
|
71018
|
-
return;
|
|
71019
|
-
_this.additionalItems = new Schema2(items, _this);
|
|
71020
|
-
return _this.additionalItems;
|
|
71021
|
-
};
|
|
71022
|
-
this.findDefinitions = function(ref2) {
|
|
71023
|
-
if (!ref2 || !_this.root || !isStr(ref2))
|
|
71024
|
-
return;
|
|
71025
|
-
if (ref2.indexOf("#/") !== 0)
|
|
71026
|
-
return;
|
|
71027
|
-
return Path.getIn(_this.root, ref2.substring(2).split("/"));
|
|
71028
|
-
};
|
|
71029
|
-
this.mapProperties = function(callback) {
|
|
71030
|
-
return Schema2.getOrderProperties(_this).map(function(_a2, index) {
|
|
71031
|
-
var schema = _a2.schema, key = _a2.key;
|
|
71032
|
-
return callback(schema, key, index);
|
|
71033
|
-
});
|
|
71034
|
-
};
|
|
71035
|
-
this.mapPatternProperties = function(callback) {
|
|
71036
|
-
return Schema2.getOrderProperties(_this, "patternProperties").map(function(_a2, index) {
|
|
71037
|
-
var schema = _a2.schema, key = _a2.key;
|
|
71038
|
-
return callback(schema, key, index);
|
|
71039
|
-
});
|
|
71040
|
-
};
|
|
71041
|
-
this.reduceProperties = function(callback, predicate) {
|
|
71042
|
-
var results = predicate;
|
|
71043
|
-
Schema2.getOrderProperties(_this, "properties").forEach(function(_a2, index) {
|
|
71044
|
-
var schema = _a2.schema, key = _a2.key;
|
|
71045
|
-
results = callback(results, schema, key, index);
|
|
71046
|
-
});
|
|
71047
|
-
return results;
|
|
71048
|
-
};
|
|
71049
|
-
this.reducePatternProperties = function(callback, predicate) {
|
|
71050
|
-
var results = predicate;
|
|
71051
|
-
Schema2.getOrderProperties(_this, "patternProperties").forEach(function(_a2, index) {
|
|
71052
|
-
var schema = _a2.schema, key = _a2.key;
|
|
71053
|
-
results = callback(results, schema, key, index);
|
|
71054
|
-
});
|
|
71055
|
-
return results;
|
|
71056
|
-
};
|
|
71057
|
-
this.compile = function(scope) {
|
|
71058
|
-
var schema = new Schema2({}, _this.parent);
|
|
71059
|
-
each(_this, function(value, key) {
|
|
71060
|
-
if (isFn(value) && !key.includes("x-"))
|
|
71061
|
-
return;
|
|
71062
|
-
if (key === "parent" || key === "root")
|
|
71063
|
-
return;
|
|
71064
|
-
if (!SchemaNestedMap[key]) {
|
|
71065
|
-
schema[key] = value ? compile(value, scope) : value;
|
|
71066
|
-
} else {
|
|
71067
|
-
schema[key] = value ? shallowCompile(value, scope) : value;
|
|
71068
|
-
}
|
|
71069
|
-
});
|
|
71070
|
-
return schema;
|
|
71071
|
-
};
|
|
71072
|
-
this.fromJSON = function(json2) {
|
|
71073
|
-
if (!json2)
|
|
71074
|
-
return _this;
|
|
71075
|
-
if (Schema2.isSchemaInstance(json2))
|
|
71076
|
-
return json2;
|
|
71077
|
-
each(reducePatches(json2), function(value, key) {
|
|
71078
|
-
if (isFn(value) && !key.includes("x-"))
|
|
71079
|
-
return;
|
|
71080
|
-
if (key === "properties") {
|
|
71081
|
-
_this.setProperties(value);
|
|
71082
|
-
} else if (key === "patternProperties") {
|
|
71083
|
-
_this.setPatternProperties(value);
|
|
71084
|
-
} else if (key === "additionalProperties") {
|
|
71085
|
-
_this.setAdditionalProperties(value);
|
|
71086
|
-
} else if (key === "items") {
|
|
71087
|
-
_this.setItems(value);
|
|
71088
|
-
} else if (key === "additionalItems") {
|
|
71089
|
-
_this.setAdditionalItems(value);
|
|
71090
|
-
} else if (key === "$ref") {
|
|
71091
|
-
_this.fromJSON(_this.findDefinitions(value));
|
|
71092
|
-
} else {
|
|
71093
|
-
_this[key] = value;
|
|
71094
|
-
}
|
|
71095
|
-
});
|
|
71096
|
-
return _this;
|
|
71097
|
-
};
|
|
71098
|
-
this.toJSON = function(recursion) {
|
|
71099
|
-
if (recursion === void 0) {
|
|
71100
|
-
recursion = true;
|
|
71101
|
-
}
|
|
71102
|
-
var results = {};
|
|
71103
|
-
each(_this, function(value, key) {
|
|
71104
|
-
var _a2, _b;
|
|
71105
|
-
if (isFn(value) && !key.includes("x-") || key === "parent" || key === "root")
|
|
71106
|
-
return;
|
|
71107
|
-
if (key === "properties" || key === "patternProperties") {
|
|
71108
|
-
if (!recursion)
|
|
71109
|
-
return;
|
|
71110
|
-
results[key] = map(value, function(item) {
|
|
71111
|
-
var _a3;
|
|
71112
|
-
return (_a3 = item === null || item === void 0 ? void 0 : item.toJSON) === null || _a3 === void 0 ? void 0 : _a3.call(item);
|
|
71113
|
-
});
|
|
71114
|
-
} else if (key === "additionalProperties" || key === "additionalItems") {
|
|
71115
|
-
if (!recursion)
|
|
71116
|
-
return;
|
|
71117
|
-
results[key] = (_a2 = value === null || value === void 0 ? void 0 : value.toJSON) === null || _a2 === void 0 ? void 0 : _a2.call(value);
|
|
71118
|
-
} else if (key === "items") {
|
|
71119
|
-
if (!recursion)
|
|
71120
|
-
return;
|
|
71121
|
-
if (Array.isArray(value)) {
|
|
71122
|
-
results[key] = value.map(function(item) {
|
|
71123
|
-
var _a3;
|
|
71124
|
-
return (_a3 = item === null || item === void 0 ? void 0 : item.toJSON) === null || _a3 === void 0 ? void 0 : _a3.call(item);
|
|
71125
|
-
});
|
|
71126
|
-
} else {
|
|
71127
|
-
results[key] = (_b = value === null || value === void 0 ? void 0 : value.toJSON) === null || _b === void 0 ? void 0 : _b.call(value);
|
|
71128
|
-
}
|
|
71129
|
-
} else {
|
|
71130
|
-
results[key] = value;
|
|
71131
|
-
}
|
|
71132
|
-
});
|
|
71133
|
-
return results;
|
|
71134
|
-
};
|
|
71135
|
-
this.toFieldProps = function(options) {
|
|
71136
|
-
return transformFieldProps(_this, options);
|
|
71137
|
-
};
|
|
71138
|
-
if (parent) {
|
|
71139
|
-
this.parent = parent;
|
|
71140
|
-
this.root = parent.root;
|
|
71141
|
-
} else {
|
|
71142
|
-
this.root = this;
|
|
71143
|
-
}
|
|
71144
|
-
return this.fromJSON(json);
|
|
71145
|
-
}
|
|
71146
|
-
Schema2.getOrderProperties = function(schema, propertiesName) {
|
|
71147
|
-
if (schema === void 0) {
|
|
71148
|
-
schema = {};
|
|
71149
|
-
}
|
|
71150
|
-
if (propertiesName === void 0) {
|
|
71151
|
-
propertiesName = "properties";
|
|
71152
|
-
}
|
|
71153
|
-
var orderProperties = [];
|
|
71154
|
-
var unorderProperties = [];
|
|
71155
|
-
for (var key in schema[propertiesName]) {
|
|
71156
|
-
var item = schema[propertiesName][key];
|
|
71157
|
-
var index = item["x-index"];
|
|
71158
|
-
if (!isNaN(index)) {
|
|
71159
|
-
orderProperties[index] = { schema: item, key };
|
|
71160
|
-
} else {
|
|
71161
|
-
unorderProperties.push({ schema: item, key });
|
|
71162
|
-
}
|
|
71163
|
-
}
|
|
71164
|
-
return orderProperties.concat(unorderProperties).filter(function(item2) {
|
|
71165
|
-
return !!item2;
|
|
71166
|
-
});
|
|
71167
|
-
};
|
|
71168
|
-
Schema2.compile = function(expression, scope) {
|
|
71169
|
-
return compile(expression, scope);
|
|
71170
|
-
};
|
|
71171
|
-
Schema2.shallowCompile = function(expression, scope) {
|
|
71172
|
-
return shallowCompile(expression, scope);
|
|
71173
|
-
};
|
|
71174
|
-
Schema2.isSchemaInstance = function(value) {
|
|
71175
|
-
return instOf(value, Schema2);
|
|
71176
|
-
};
|
|
71177
|
-
Schema2.registerCompiler = registerCompiler;
|
|
71178
|
-
Schema2.registerPatches = registerPatches;
|
|
71179
|
-
Schema2.registerVoidComponents = registerVoidComponents;
|
|
71180
|
-
Schema2.registerTypeDefaultComponents = registerTypeDefaultComponents;
|
|
71181
|
-
Schema2.registerPolyfills = registerPolyfills;
|
|
71182
|
-
Schema2.enablePolyfills = enablePolyfills;
|
|
71183
|
-
Schema2.silent = silent;
|
|
71184
|
-
return Schema2;
|
|
71185
|
-
}();
|
|
71186
|
-
}
|
|
71187
|
-
});
|
|
71188
|
-
|
|
71189
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/types.js
|
|
71190
|
-
var init_types6 = __esm({
|
|
71191
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/types.js"() {
|
|
71192
|
-
}
|
|
71193
|
-
});
|
|
71194
|
-
|
|
71195
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/index.js
|
|
71196
|
-
var esm_exports2 = {};
|
|
71197
|
-
__export(esm_exports2, {
|
|
71198
|
-
Schema: () => Schema
|
|
71199
|
-
});
|
|
71200
|
-
var init_esm6 = __esm({
|
|
71201
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/index.js"() {
|
|
71202
|
-
init_schema();
|
|
71203
|
-
init_types6();
|
|
71204
|
-
}
|
|
71205
|
-
});
|
|
71206
|
-
|
|
71207
|
-
// ../../../../node_modules/.pnpm/@modern-js+utils@1.22.7/node_modules/@modern-js/utils/compiled/chalk/index.js
|
|
71208
|
-
var require_chalk2 = __commonJS({
|
|
71209
|
-
"../../../../node_modules/.pnpm/@modern-js+utils@1.22.7/node_modules/@modern-js/utils/compiled/chalk/index.js"(exports, module2) {
|
|
71210
|
-
(() => {
|
|
71211
|
-
var e = { 44: (e2, t2, n2) => {
|
|
71212
|
-
"use strict";
|
|
71213
|
-
e2 = n2.nmd(e2);
|
|
71214
|
-
const wrapAnsi16 = (e3, t3) => (...n3) => {
|
|
71215
|
-
const r2 = e3(...n3);
|
|
71216
|
-
return `\x1B[${r2 + t3}m`;
|
|
71217
|
-
};
|
|
71218
|
-
const wrapAnsi256 = (e3, t3) => (...n3) => {
|
|
71219
|
-
const r2 = e3(...n3);
|
|
71220
|
-
return `\x1B[${38 + t3};5;${r2}m`;
|
|
71221
|
-
};
|
|
71222
|
-
const wrapAnsi16m = (e3, t3) => (...n3) => {
|
|
71223
|
-
const r2 = e3(...n3);
|
|
71224
|
-
return `\x1B[${38 + t3};2;${r2[0]};${r2[1]};${r2[2]}m`;
|
|
71225
|
-
};
|
|
71226
|
-
const ansi2ansi = (e3) => e3;
|
|
71227
|
-
const rgb2rgb = (e3, t3, n3) => [e3, t3, n3];
|
|
71228
|
-
const setLazyProperty = (e3, t3, n3) => {
|
|
71229
|
-
Object.defineProperty(e3, t3, { get: () => {
|
|
71230
|
-
const r2 = n3();
|
|
71231
|
-
Object.defineProperty(e3, t3, { value: r2, enumerable: true, configurable: true });
|
|
71232
|
-
return r2;
|
|
71233
|
-
}, enumerable: true, configurable: true });
|
|
71234
|
-
};
|
|
71235
|
-
let r;
|
|
71236
|
-
const makeDynamicStyles = (e3, t3, s, o) => {
|
|
71237
|
-
if (r === void 0) {
|
|
71238
|
-
r = n2(767);
|
|
71239
|
-
}
|
|
71240
|
-
const l = o ? 10 : 0;
|
|
71241
|
-
const c = {};
|
|
71242
|
-
for (const [n3, o2] of Object.entries(r)) {
|
|
71243
|
-
const r2 = n3 === "ansi16" ? "ansi" : n3;
|
|
71244
|
-
if (n3 === t3) {
|
|
71245
|
-
c[r2] = e3(s, l);
|
|
71246
|
-
} else if (typeof o2 === "object") {
|
|
71247
|
-
c[r2] = e3(o2[t3], l);
|
|
71248
|
-
}
|
|
71249
|
-
}
|
|
71250
|
-
return c;
|
|
71251
|
-
};
|
|
71252
|
-
function assembleStyles() {
|
|
71253
|
-
const e3 = /* @__PURE__ */ new Map();
|
|
71254
|
-
const t3 = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
|
|
71255
|
-
t3.color.gray = t3.color.blackBright;
|
|
71256
|
-
t3.bgColor.bgGray = t3.bgColor.bgBlackBright;
|
|
71257
|
-
t3.color.grey = t3.color.blackBright;
|
|
71258
|
-
t3.bgColor.bgGrey = t3.bgColor.bgBlackBright;
|
|
71259
|
-
for (const [n3, r2] of Object.entries(t3)) {
|
|
71260
|
-
for (const [n4, s] of Object.entries(r2)) {
|
|
71261
|
-
t3[n4] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` };
|
|
71262
|
-
r2[n4] = t3[n4];
|
|
71263
|
-
e3.set(s[0], s[1]);
|
|
71264
|
-
}
|
|
71265
|
-
Object.defineProperty(t3, n3, { value: r2, enumerable: false });
|
|
71266
|
-
}
|
|
71267
|
-
Object.defineProperty(t3, "codes", { value: e3, enumerable: false });
|
|
71268
|
-
t3.color.close = "\x1B[39m";
|
|
71269
|
-
t3.bgColor.close = "\x1B[49m";
|
|
71270
|
-
setLazyProperty(t3.color, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, false));
|
|
71271
|
-
setLazyProperty(t3.color, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, false));
|
|
71272
|
-
setLazyProperty(t3.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, false));
|
|
71273
|
-
setLazyProperty(t3.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, true));
|
|
71274
|
-
setLazyProperty(t3.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, true));
|
|
71275
|
-
setLazyProperty(t3.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, true));
|
|
71276
|
-
return t3;
|
|
71277
|
-
}
|
|
71278
|
-
Object.defineProperty(e2, "exports", { enumerable: true, get: assembleStyles });
|
|
71279
|
-
}, 584: (e2, t2, n2) => {
|
|
71280
|
-
"use strict";
|
|
71281
|
-
const r = n2(44);
|
|
71282
|
-
const { stdout: s, stderr: o } = n2(242);
|
|
71283
|
-
const { stringReplaceAll: l, stringEncaseCRLFWithFirstIndex: c } = n2(905);
|
|
71284
|
-
const { isArray: i } = Array;
|
|
71285
|
-
const a = ["ansi", "ansi", "ansi256", "ansi16m"];
|
|
71286
|
-
const u = /* @__PURE__ */ Object.create(null);
|
|
71287
|
-
const applyOptions = (e3, t3 = {}) => {
|
|
71288
|
-
if (t3.level && !(Number.isInteger(t3.level) && t3.level >= 0 && t3.level <= 3)) {
|
|
71289
|
-
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
71290
|
-
}
|
|
71291
|
-
const n3 = s ? s.level : 0;
|
|
71292
|
-
e3.level = t3.level === void 0 ? n3 : t3.level;
|
|
71293
|
-
};
|
|
71294
|
-
class ChalkClass {
|
|
71295
|
-
constructor(e3) {
|
|
71296
|
-
return chalkFactory(e3);
|
|
71297
|
-
}
|
|
71298
|
-
}
|
|
71299
|
-
const chalkFactory = (e3) => {
|
|
71300
|
-
const t3 = {};
|
|
71301
|
-
applyOptions(t3, e3);
|
|
71302
|
-
t3.template = (...e4) => chalkTag(t3.template, ...e4);
|
|
71303
|
-
Object.setPrototypeOf(t3, Chalk.prototype);
|
|
71304
|
-
Object.setPrototypeOf(t3.template, t3);
|
|
71305
|
-
t3.template.constructor = () => {
|
|
71306
|
-
throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
|
|
71307
|
-
};
|
|
71308
|
-
t3.template.Instance = ChalkClass;
|
|
71309
|
-
return t3.template;
|
|
71310
|
-
};
|
|
71311
|
-
function Chalk(e3) {
|
|
71312
|
-
return chalkFactory(e3);
|
|
71313
|
-
}
|
|
71314
|
-
for (const [e3, t3] of Object.entries(r)) {
|
|
71315
|
-
u[e3] = { get() {
|
|
71316
|
-
const n3 = createBuilder(this, createStyler(t3.open, t3.close, this._styler), this._isEmpty);
|
|
71317
|
-
Object.defineProperty(this, e3, { value: n3 });
|
|
71318
|
-
return n3;
|
|
71319
|
-
} };
|
|
71320
|
-
}
|
|
71321
|
-
u.visible = { get() {
|
|
71322
|
-
const e3 = createBuilder(this, this._styler, true);
|
|
71323
|
-
Object.defineProperty(this, "visible", { value: e3 });
|
|
71324
|
-
return e3;
|
|
71325
|
-
} };
|
|
71326
|
-
const h = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
|
|
71327
|
-
for (const e3 of h) {
|
|
71328
|
-
u[e3] = { get() {
|
|
71329
|
-
const { level: t3 } = this;
|
|
71330
|
-
return function(...n3) {
|
|
71331
|
-
const s2 = createStyler(r.color[a[t3]][e3](...n3), r.color.close, this._styler);
|
|
71332
|
-
return createBuilder(this, s2, this._isEmpty);
|
|
71333
|
-
};
|
|
71334
|
-
} };
|
|
71335
|
-
}
|
|
71336
|
-
for (const e3 of h) {
|
|
71337
|
-
const t3 = "bg" + e3[0].toUpperCase() + e3.slice(1);
|
|
71338
|
-
u[t3] = { get() {
|
|
71339
|
-
const { level: t4 } = this;
|
|
71340
|
-
return function(...n3) {
|
|
71341
|
-
const s2 = createStyler(r.bgColor[a[t4]][e3](...n3), r.bgColor.close, this._styler);
|
|
71342
|
-
return createBuilder(this, s2, this._isEmpty);
|
|
71343
|
-
};
|
|
71344
|
-
} };
|
|
71345
|
-
}
|
|
71346
|
-
const f = Object.defineProperties(() => {
|
|
71347
|
-
}, __spreadProps(__spreadValues({}, u), { level: { enumerable: true, get() {
|
|
71348
|
-
return this._generator.level;
|
|
71349
|
-
}, set(e3) {
|
|
71350
|
-
this._generator.level = e3;
|
|
71351
|
-
} } }));
|
|
71352
|
-
const createStyler = (e3, t3, n3) => {
|
|
71353
|
-
let r2;
|
|
71354
|
-
let s2;
|
|
71355
|
-
if (n3 === void 0) {
|
|
71356
|
-
r2 = e3;
|
|
71357
|
-
s2 = t3;
|
|
71358
|
-
} else {
|
|
71359
|
-
r2 = n3.openAll + e3;
|
|
71360
|
-
s2 = t3 + n3.closeAll;
|
|
71361
|
-
}
|
|
71362
|
-
return { open: e3, close: t3, openAll: r2, closeAll: s2, parent: n3 };
|
|
71363
|
-
};
|
|
71364
|
-
const createBuilder = (e3, t3, n3) => {
|
|
71365
|
-
const builder = (...e4) => {
|
|
71366
|
-
if (i(e4[0]) && i(e4[0].raw)) {
|
|
71367
|
-
return applyStyle(builder, chalkTag(builder, ...e4));
|
|
71368
|
-
}
|
|
71369
|
-
return applyStyle(builder, e4.length === 1 ? "" + e4[0] : e4.join(" "));
|
|
71370
|
-
};
|
|
71371
|
-
Object.setPrototypeOf(builder, f);
|
|
71372
|
-
builder._generator = e3;
|
|
71373
|
-
builder._styler = t3;
|
|
71374
|
-
builder._isEmpty = n3;
|
|
71375
|
-
return builder;
|
|
71376
|
-
};
|
|
71377
|
-
const applyStyle = (e3, t3) => {
|
|
71378
|
-
if (e3.level <= 0 || !t3) {
|
|
71379
|
-
return e3._isEmpty ? "" : t3;
|
|
71380
|
-
}
|
|
71381
|
-
let n3 = e3._styler;
|
|
71382
|
-
if (n3 === void 0) {
|
|
71383
|
-
return t3;
|
|
71384
|
-
}
|
|
71385
|
-
const { openAll: r2, closeAll: s2 } = n3;
|
|
71386
|
-
if (t3.indexOf("\x1B") !== -1) {
|
|
71387
|
-
while (n3 !== void 0) {
|
|
71388
|
-
t3 = l(t3, n3.close, n3.open);
|
|
71389
|
-
n3 = n3.parent;
|
|
71390
|
-
}
|
|
71391
|
-
}
|
|
71392
|
-
const o2 = t3.indexOf("\n");
|
|
71393
|
-
if (o2 !== -1) {
|
|
71394
|
-
t3 = c(t3, s2, r2, o2);
|
|
71395
|
-
}
|
|
71396
|
-
return r2 + t3 + s2;
|
|
71397
|
-
};
|
|
71398
|
-
let g;
|
|
71399
|
-
const chalkTag = (e3, ...t3) => {
|
|
71400
|
-
const [r2] = t3;
|
|
71401
|
-
if (!i(r2) || !i(r2.raw)) {
|
|
71402
|
-
return t3.join(" ");
|
|
71403
|
-
}
|
|
71404
|
-
const s2 = t3.slice(1);
|
|
71405
|
-
const o2 = [r2.raw[0]];
|
|
71406
|
-
for (let e4 = 1; e4 < r2.length; e4++) {
|
|
71407
|
-
o2.push(String(s2[e4 - 1]).replace(/[{}\\]/g, "\\$&"), String(r2.raw[e4]));
|
|
71408
|
-
}
|
|
71409
|
-
if (g === void 0) {
|
|
71410
|
-
g = n2(654);
|
|
71411
|
-
}
|
|
71412
|
-
return g(e3, o2.join(""));
|
|
71413
|
-
};
|
|
71414
|
-
Object.defineProperties(Chalk.prototype, u);
|
|
71415
|
-
const b = Chalk();
|
|
71416
|
-
b.supportsColor = s;
|
|
71417
|
-
b.stderr = Chalk({ level: o ? o.level : 0 });
|
|
71418
|
-
b.stderr.supportsColor = o;
|
|
71419
|
-
e2.exports = b;
|
|
71420
|
-
}, 654: (e2) => {
|
|
71421
|
-
"use strict";
|
|
71422
|
-
const t2 = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
71423
|
-
const n2 = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
71424
|
-
const r = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
71425
|
-
const s = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
71426
|
-
const o = /* @__PURE__ */ new Map([["n", "\n"], ["r", "\r"], ["t", " "], ["b", "\b"], ["f", "\f"], ["v", "\v"], ["0", "\0"], ["\\", "\\"], ["e", "\x1B"], ["a", "\x07"]]);
|
|
71427
|
-
function unescape2(e3) {
|
|
71428
|
-
const t3 = e3[0] === "u";
|
|
71429
|
-
const n3 = e3[1] === "{";
|
|
71430
|
-
if (t3 && !n3 && e3.length === 5 || e3[0] === "x" && e3.length === 3) {
|
|
71431
|
-
return String.fromCharCode(parseInt(e3.slice(1), 16));
|
|
71432
|
-
}
|
|
71433
|
-
if (t3 && n3) {
|
|
71434
|
-
return String.fromCodePoint(parseInt(e3.slice(2, -1), 16));
|
|
71435
|
-
}
|
|
71436
|
-
return o.get(e3) || e3;
|
|
71437
|
-
}
|
|
71438
|
-
function parseArguments(e3, t3) {
|
|
71439
|
-
const n3 = [];
|
|
71440
|
-
const o2 = t3.trim().split(/\s*,\s*/g);
|
|
71441
|
-
let l;
|
|
71442
|
-
for (const t4 of o2) {
|
|
71443
|
-
const o3 = Number(t4);
|
|
71444
|
-
if (!Number.isNaN(o3)) {
|
|
71445
|
-
n3.push(o3);
|
|
71446
|
-
} else if (l = t4.match(r)) {
|
|
71447
|
-
n3.push(l[2].replace(s, (e4, t5, n4) => t5 ? unescape2(t5) : n4));
|
|
71448
|
-
} else {
|
|
71449
|
-
throw new Error(`Invalid Chalk template style argument: ${t4} (in style '${e3}')`);
|
|
71450
|
-
}
|
|
71451
|
-
}
|
|
71452
|
-
return n3;
|
|
71453
|
-
}
|
|
71454
|
-
function parseStyle(e3) {
|
|
71455
|
-
n2.lastIndex = 0;
|
|
71456
|
-
const t3 = [];
|
|
71457
|
-
let r2;
|
|
71458
|
-
while ((r2 = n2.exec(e3)) !== null) {
|
|
71459
|
-
const e4 = r2[1];
|
|
71460
|
-
if (r2[2]) {
|
|
71461
|
-
const n3 = parseArguments(e4, r2[2]);
|
|
71462
|
-
t3.push([e4].concat(n3));
|
|
71463
|
-
} else {
|
|
71464
|
-
t3.push([e4]);
|
|
71465
|
-
}
|
|
71466
|
-
}
|
|
71467
|
-
return t3;
|
|
71468
|
-
}
|
|
71469
|
-
function buildStyle(e3, t3) {
|
|
71470
|
-
const n3 = {};
|
|
71471
|
-
for (const e4 of t3) {
|
|
71472
|
-
for (const t4 of e4.styles) {
|
|
71473
|
-
n3[t4[0]] = e4.inverse ? null : t4.slice(1);
|
|
71474
|
-
}
|
|
71475
|
-
}
|
|
71476
|
-
let r2 = e3;
|
|
71477
|
-
for (const [e4, t4] of Object.entries(n3)) {
|
|
71478
|
-
if (!Array.isArray(t4)) {
|
|
71479
|
-
continue;
|
|
71480
|
-
}
|
|
71481
|
-
if (!(e4 in r2)) {
|
|
71482
|
-
throw new Error(`Unknown Chalk style: ${e4}`);
|
|
71483
|
-
}
|
|
71484
|
-
r2 = t4.length > 0 ? r2[e4](...t4) : r2[e4];
|
|
71485
|
-
}
|
|
71486
|
-
return r2;
|
|
71487
|
-
}
|
|
71488
|
-
e2.exports = (e3, n3) => {
|
|
71489
|
-
const r2 = [];
|
|
71490
|
-
const s2 = [];
|
|
71491
|
-
let o2 = [];
|
|
71492
|
-
n3.replace(t2, (t3, n4, l, c, i, a) => {
|
|
71493
|
-
if (n4) {
|
|
71494
|
-
o2.push(unescape2(n4));
|
|
71495
|
-
} else if (c) {
|
|
71496
|
-
const t4 = o2.join("");
|
|
71497
|
-
o2 = [];
|
|
71498
|
-
s2.push(r2.length === 0 ? t4 : buildStyle(e3, r2)(t4));
|
|
71499
|
-
r2.push({ inverse: l, styles: parseStyle(c) });
|
|
71500
|
-
} else if (i) {
|
|
71501
|
-
if (r2.length === 0) {
|
|
71502
|
-
throw new Error("Found extraneous } in Chalk template literal");
|
|
71503
|
-
}
|
|
71504
|
-
s2.push(buildStyle(e3, r2)(o2.join("")));
|
|
71505
|
-
o2 = [];
|
|
71506
|
-
r2.pop();
|
|
71507
|
-
} else {
|
|
71508
|
-
o2.push(a);
|
|
71509
|
-
}
|
|
71510
|
-
});
|
|
71511
|
-
s2.push(o2.join(""));
|
|
71512
|
-
if (r2.length > 0) {
|
|
71513
|
-
const e4 = `Chalk template literal is missing ${r2.length} closing bracket${r2.length === 1 ? "" : "s"} (\`}\`)`;
|
|
71514
|
-
throw new Error(e4);
|
|
71515
|
-
}
|
|
71516
|
-
return s2.join("");
|
|
71517
|
-
};
|
|
71518
|
-
}, 905: (e2) => {
|
|
71519
|
-
"use strict";
|
|
71520
|
-
const stringReplaceAll = (e3, t2, n2) => {
|
|
71521
|
-
let r = e3.indexOf(t2);
|
|
71522
|
-
if (r === -1) {
|
|
71523
|
-
return e3;
|
|
71524
|
-
}
|
|
71525
|
-
const s = t2.length;
|
|
71526
|
-
let o = 0;
|
|
71527
|
-
let l = "";
|
|
71528
|
-
do {
|
|
71529
|
-
l += e3.substr(o, r - o) + t2 + n2;
|
|
71530
|
-
o = r + s;
|
|
71531
|
-
r = e3.indexOf(t2, o);
|
|
71532
|
-
} while (r !== -1);
|
|
71533
|
-
l += e3.substr(o);
|
|
71534
|
-
return l;
|
|
71535
|
-
};
|
|
71536
|
-
const stringEncaseCRLFWithFirstIndex = (e3, t2, n2, r) => {
|
|
71537
|
-
let s = 0;
|
|
71538
|
-
let o = "";
|
|
71539
|
-
do {
|
|
71540
|
-
const l = e3[r - 1] === "\r";
|
|
71541
|
-
o += e3.substr(s, (l ? r - 1 : r) - s) + t2 + (l ? "\r\n" : "\n") + n2;
|
|
71542
|
-
s = r + 1;
|
|
71543
|
-
r = e3.indexOf("\n", s);
|
|
71544
|
-
} while (r !== -1);
|
|
71545
|
-
o += e3.substr(s);
|
|
71546
|
-
return o;
|
|
71547
|
-
};
|
|
71548
|
-
e2.exports = { stringReplaceAll, stringEncaseCRLFWithFirstIndex };
|
|
71549
|
-
}, 226: (e2, t2, n2) => {
|
|
71550
|
-
const r = n2(866);
|
|
71551
|
-
const s = {};
|
|
71552
|
-
for (const e3 of Object.keys(r)) {
|
|
71553
|
-
s[r[e3]] = e3;
|
|
71554
|
-
}
|
|
71555
|
-
const o = { rgb: { channels: 3, labels: "rgb" }, hsl: { channels: 3, labels: "hsl" }, hsv: { channels: 3, labels: "hsv" }, hwb: { channels: 3, labels: "hwb" }, cmyk: { channels: 4, labels: "cmyk" }, xyz: { channels: 3, labels: "xyz" }, lab: { channels: 3, labels: "lab" }, lch: { channels: 3, labels: "lch" }, hex: { channels: 1, labels: ["hex"] }, keyword: { channels: 1, labels: ["keyword"] }, ansi16: { channels: 1, labels: ["ansi16"] }, ansi256: { channels: 1, labels: ["ansi256"] }, hcg: { channels: 3, labels: ["h", "c", "g"] }, apple: { channels: 3, labels: ["r16", "g16", "b16"] }, gray: { channels: 1, labels: ["gray"] } };
|
|
71556
|
-
e2.exports = o;
|
|
71557
|
-
for (const e3 of Object.keys(o)) {
|
|
71558
|
-
if (!("channels" in o[e3])) {
|
|
71559
|
-
throw new Error("missing channels property: " + e3);
|
|
71560
|
-
}
|
|
71561
|
-
if (!("labels" in o[e3])) {
|
|
71562
|
-
throw new Error("missing channel labels property: " + e3);
|
|
71563
|
-
}
|
|
71564
|
-
if (o[e3].labels.length !== o[e3].channels) {
|
|
71565
|
-
throw new Error("channel and label counts mismatch: " + e3);
|
|
71566
|
-
}
|
|
71567
|
-
const { channels: t3, labels: n3 } = o[e3];
|
|
71568
|
-
delete o[e3].channels;
|
|
71569
|
-
delete o[e3].labels;
|
|
71570
|
-
Object.defineProperty(o[e3], "channels", { value: t3 });
|
|
71571
|
-
Object.defineProperty(o[e3], "labels", { value: n3 });
|
|
71572
|
-
}
|
|
71573
|
-
o.rgb.hsl = function(e3) {
|
|
71574
|
-
const t3 = e3[0] / 255;
|
|
71575
|
-
const n3 = e3[1] / 255;
|
|
71576
|
-
const r2 = e3[2] / 255;
|
|
71577
|
-
const s2 = Math.min(t3, n3, r2);
|
|
71578
|
-
const o2 = Math.max(t3, n3, r2);
|
|
71579
|
-
const l = o2 - s2;
|
|
71580
|
-
let c;
|
|
71581
|
-
let i;
|
|
71582
|
-
if (o2 === s2) {
|
|
71583
|
-
c = 0;
|
|
71584
|
-
} else if (t3 === o2) {
|
|
71585
|
-
c = (n3 - r2) / l;
|
|
71586
|
-
} else if (n3 === o2) {
|
|
71587
|
-
c = 2 + (r2 - t3) / l;
|
|
71588
|
-
} else if (r2 === o2) {
|
|
71589
|
-
c = 4 + (t3 - n3) / l;
|
|
71590
|
-
}
|
|
71591
|
-
c = Math.min(c * 60, 360);
|
|
71592
|
-
if (c < 0) {
|
|
71593
|
-
c += 360;
|
|
71594
|
-
}
|
|
71595
|
-
const a = (s2 + o2) / 2;
|
|
71596
|
-
if (o2 === s2) {
|
|
71597
|
-
i = 0;
|
|
71598
|
-
} else if (a <= 0.5) {
|
|
71599
|
-
i = l / (o2 + s2);
|
|
71600
|
-
} else {
|
|
71601
|
-
i = l / (2 - o2 - s2);
|
|
71602
|
-
}
|
|
71603
|
-
return [c, i * 100, a * 100];
|
|
71604
|
-
};
|
|
71605
|
-
o.rgb.hsv = function(e3) {
|
|
71606
|
-
let t3;
|
|
71607
|
-
let n3;
|
|
71608
|
-
let r2;
|
|
71609
|
-
let s2;
|
|
71610
|
-
let o2;
|
|
71611
|
-
const l = e3[0] / 255;
|
|
71612
|
-
const c = e3[1] / 255;
|
|
71613
|
-
const i = e3[2] / 255;
|
|
71614
|
-
const a = Math.max(l, c, i);
|
|
71615
|
-
const u = a - Math.min(l, c, i);
|
|
71616
|
-
const diffc = function(e4) {
|
|
71617
|
-
return (a - e4) / 6 / u + 1 / 2;
|
|
71618
|
-
};
|
|
71619
|
-
if (u === 0) {
|
|
71620
|
-
s2 = 0;
|
|
71621
|
-
o2 = 0;
|
|
71622
|
-
} else {
|
|
71623
|
-
o2 = u / a;
|
|
71624
|
-
t3 = diffc(l);
|
|
71625
|
-
n3 = diffc(c);
|
|
71626
|
-
r2 = diffc(i);
|
|
71627
|
-
if (l === a) {
|
|
71628
|
-
s2 = r2 - n3;
|
|
71629
|
-
} else if (c === a) {
|
|
71630
|
-
s2 = 1 / 3 + t3 - r2;
|
|
71631
|
-
} else if (i === a) {
|
|
71632
|
-
s2 = 2 / 3 + n3 - t3;
|
|
71633
|
-
}
|
|
71634
|
-
if (s2 < 0) {
|
|
71635
|
-
s2 += 1;
|
|
71636
|
-
} else if (s2 > 1) {
|
|
71637
|
-
s2 -= 1;
|
|
71638
|
-
}
|
|
71639
|
-
}
|
|
71640
|
-
return [s2 * 360, o2 * 100, a * 100];
|
|
71641
|
-
};
|
|
71642
|
-
o.rgb.hwb = function(e3) {
|
|
71643
|
-
const t3 = e3[0];
|
|
71644
|
-
const n3 = e3[1];
|
|
71645
|
-
let r2 = e3[2];
|
|
71646
|
-
const s2 = o.rgb.hsl(e3)[0];
|
|
71647
|
-
const l = 1 / 255 * Math.min(t3, Math.min(n3, r2));
|
|
71648
|
-
r2 = 1 - 1 / 255 * Math.max(t3, Math.max(n3, r2));
|
|
71649
|
-
return [s2, l * 100, r2 * 100];
|
|
71650
|
-
};
|
|
71651
|
-
o.rgb.cmyk = function(e3) {
|
|
71652
|
-
const t3 = e3[0] / 255;
|
|
71653
|
-
const n3 = e3[1] / 255;
|
|
71654
|
-
const r2 = e3[2] / 255;
|
|
71655
|
-
const s2 = Math.min(1 - t3, 1 - n3, 1 - r2);
|
|
71656
|
-
const o2 = (1 - t3 - s2) / (1 - s2) || 0;
|
|
71657
|
-
const l = (1 - n3 - s2) / (1 - s2) || 0;
|
|
71658
|
-
const c = (1 - r2 - s2) / (1 - s2) || 0;
|
|
71659
|
-
return [o2 * 100, l * 100, c * 100, s2 * 100];
|
|
71660
|
-
};
|
|
71661
|
-
function comparativeDistance(e3, t3) {
|
|
71662
|
-
return __pow(e3[0] - t3[0], 2) + __pow(e3[1] - t3[1], 2) + __pow(e3[2] - t3[2], 2);
|
|
71663
|
-
}
|
|
71664
|
-
o.rgb.keyword = function(e3) {
|
|
71665
|
-
const t3 = s[e3];
|
|
71666
|
-
if (t3) {
|
|
71667
|
-
return t3;
|
|
71668
|
-
}
|
|
71669
|
-
let n3 = Infinity;
|
|
71670
|
-
let o2;
|
|
71671
|
-
for (const t4 of Object.keys(r)) {
|
|
71672
|
-
const s2 = r[t4];
|
|
71673
|
-
const l = comparativeDistance(e3, s2);
|
|
71674
|
-
if (l < n3) {
|
|
71675
|
-
n3 = l;
|
|
71676
|
-
o2 = t4;
|
|
71677
|
-
}
|
|
71678
|
-
}
|
|
71679
|
-
return o2;
|
|
71680
|
-
};
|
|
71681
|
-
o.keyword.rgb = function(e3) {
|
|
71682
|
-
return r[e3];
|
|
71683
|
-
};
|
|
71684
|
-
o.rgb.xyz = function(e3) {
|
|
71685
|
-
let t3 = e3[0] / 255;
|
|
71686
|
-
let n3 = e3[1] / 255;
|
|
71687
|
-
let r2 = e3[2] / 255;
|
|
71688
|
-
t3 = t3 > 0.04045 ? __pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92;
|
|
71689
|
-
n3 = n3 > 0.04045 ? __pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92;
|
|
71690
|
-
r2 = r2 > 0.04045 ? __pow((r2 + 0.055) / 1.055, 2.4) : r2 / 12.92;
|
|
71691
|
-
const s2 = t3 * 0.4124 + n3 * 0.3576 + r2 * 0.1805;
|
|
71692
|
-
const o2 = t3 * 0.2126 + n3 * 0.7152 + r2 * 0.0722;
|
|
71693
|
-
const l = t3 * 0.0193 + n3 * 0.1192 + r2 * 0.9505;
|
|
71694
|
-
return [s2 * 100, o2 * 100, l * 100];
|
|
71695
|
-
};
|
|
71696
|
-
o.rgb.lab = function(e3) {
|
|
71697
|
-
const t3 = o.rgb.xyz(e3);
|
|
71698
|
-
let n3 = t3[0];
|
|
71699
|
-
let r2 = t3[1];
|
|
71700
|
-
let s2 = t3[2];
|
|
71701
|
-
n3 /= 95.047;
|
|
71702
|
-
r2 /= 100;
|
|
71703
|
-
s2 /= 108.883;
|
|
71704
|
-
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
71705
|
-
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
71706
|
-
s2 = s2 > 8856e-6 ? __pow(s2, 1 / 3) : 7.787 * s2 + 16 / 116;
|
|
71707
|
-
const l = 116 * r2 - 16;
|
|
71708
|
-
const c = 500 * (n3 - r2);
|
|
71709
|
-
const i = 200 * (r2 - s2);
|
|
71710
|
-
return [l, c, i];
|
|
71711
|
-
};
|
|
71712
|
-
o.hsl.rgb = function(e3) {
|
|
71713
|
-
const t3 = e3[0] / 360;
|
|
71714
|
-
const n3 = e3[1] / 100;
|
|
71715
|
-
const r2 = e3[2] / 100;
|
|
71716
|
-
let s2;
|
|
71717
|
-
let o2;
|
|
71718
|
-
let l;
|
|
71719
|
-
if (n3 === 0) {
|
|
71720
|
-
l = r2 * 255;
|
|
71721
|
-
return [l, l, l];
|
|
71722
|
-
}
|
|
71723
|
-
if (r2 < 0.5) {
|
|
71724
|
-
s2 = r2 * (1 + n3);
|
|
71725
|
-
} else {
|
|
71726
|
-
s2 = r2 + n3 - r2 * n3;
|
|
71727
|
-
}
|
|
71728
|
-
const c = 2 * r2 - s2;
|
|
71729
|
-
const i = [0, 0, 0];
|
|
71730
|
-
for (let e4 = 0; e4 < 3; e4++) {
|
|
71731
|
-
o2 = t3 + 1 / 3 * -(e4 - 1);
|
|
71732
|
-
if (o2 < 0) {
|
|
71733
|
-
o2++;
|
|
71734
|
-
}
|
|
71735
|
-
if (o2 > 1) {
|
|
71736
|
-
o2--;
|
|
71737
|
-
}
|
|
71738
|
-
if (6 * o2 < 1) {
|
|
71739
|
-
l = c + (s2 - c) * 6 * o2;
|
|
71740
|
-
} else if (2 * o2 < 1) {
|
|
71741
|
-
l = s2;
|
|
71742
|
-
} else if (3 * o2 < 2) {
|
|
71743
|
-
l = c + (s2 - c) * (2 / 3 - o2) * 6;
|
|
71744
|
-
} else {
|
|
71745
|
-
l = c;
|
|
71746
|
-
}
|
|
71747
|
-
i[e4] = l * 255;
|
|
71748
|
-
}
|
|
71749
|
-
return i;
|
|
71750
|
-
};
|
|
71751
|
-
o.hsl.hsv = function(e3) {
|
|
71752
|
-
const t3 = e3[0];
|
|
71753
|
-
let n3 = e3[1] / 100;
|
|
71754
|
-
let r2 = e3[2] / 100;
|
|
71755
|
-
let s2 = n3;
|
|
71756
|
-
const o2 = Math.max(r2, 0.01);
|
|
71757
|
-
r2 *= 2;
|
|
71758
|
-
n3 *= r2 <= 1 ? r2 : 2 - r2;
|
|
71759
|
-
s2 *= o2 <= 1 ? o2 : 2 - o2;
|
|
71760
|
-
const l = (r2 + n3) / 2;
|
|
71761
|
-
const c = r2 === 0 ? 2 * s2 / (o2 + s2) : 2 * n3 / (r2 + n3);
|
|
71762
|
-
return [t3, c * 100, l * 100];
|
|
71763
|
-
};
|
|
71764
|
-
o.hsv.rgb = function(e3) {
|
|
71765
|
-
const t3 = e3[0] / 60;
|
|
71766
|
-
const n3 = e3[1] / 100;
|
|
71767
|
-
let r2 = e3[2] / 100;
|
|
71768
|
-
const s2 = Math.floor(t3) % 6;
|
|
71769
|
-
const o2 = t3 - Math.floor(t3);
|
|
71770
|
-
const l = 255 * r2 * (1 - n3);
|
|
71771
|
-
const c = 255 * r2 * (1 - n3 * o2);
|
|
71772
|
-
const i = 255 * r2 * (1 - n3 * (1 - o2));
|
|
71773
|
-
r2 *= 255;
|
|
71774
|
-
switch (s2) {
|
|
71775
|
-
case 0:
|
|
71776
|
-
return [r2, i, l];
|
|
71777
|
-
case 1:
|
|
71778
|
-
return [c, r2, l];
|
|
71779
|
-
case 2:
|
|
71780
|
-
return [l, r2, i];
|
|
71781
|
-
case 3:
|
|
71782
|
-
return [l, c, r2];
|
|
71783
|
-
case 4:
|
|
71784
|
-
return [i, l, r2];
|
|
71785
|
-
case 5:
|
|
71786
|
-
return [r2, l, c];
|
|
71787
|
-
}
|
|
71788
|
-
};
|
|
71789
|
-
o.hsv.hsl = function(e3) {
|
|
71790
|
-
const t3 = e3[0];
|
|
71791
|
-
const n3 = e3[1] / 100;
|
|
71792
|
-
const r2 = e3[2] / 100;
|
|
71793
|
-
const s2 = Math.max(r2, 0.01);
|
|
71794
|
-
let o2;
|
|
71795
|
-
let l;
|
|
71796
|
-
l = (2 - n3) * r2;
|
|
71797
|
-
const c = (2 - n3) * s2;
|
|
71798
|
-
o2 = n3 * s2;
|
|
71799
|
-
o2 /= c <= 1 ? c : 2 - c;
|
|
71800
|
-
o2 = o2 || 0;
|
|
71801
|
-
l /= 2;
|
|
71802
|
-
return [t3, o2 * 100, l * 100];
|
|
71803
|
-
};
|
|
71804
|
-
o.hwb.rgb = function(e3) {
|
|
71805
|
-
const t3 = e3[0] / 360;
|
|
71806
|
-
let n3 = e3[1] / 100;
|
|
71807
|
-
let r2 = e3[2] / 100;
|
|
71808
|
-
const s2 = n3 + r2;
|
|
71809
|
-
let o2;
|
|
71810
|
-
if (s2 > 1) {
|
|
71811
|
-
n3 /= s2;
|
|
71812
|
-
r2 /= s2;
|
|
71813
|
-
}
|
|
71814
|
-
const l = Math.floor(6 * t3);
|
|
71815
|
-
const c = 1 - r2;
|
|
71816
|
-
o2 = 6 * t3 - l;
|
|
71817
|
-
if ((l & 1) !== 0) {
|
|
71818
|
-
o2 = 1 - o2;
|
|
71819
|
-
}
|
|
71820
|
-
const i = n3 + o2 * (c - n3);
|
|
71821
|
-
let a;
|
|
71822
|
-
let u;
|
|
71823
|
-
let h;
|
|
71824
|
-
switch (l) {
|
|
71825
|
-
default:
|
|
71826
|
-
case 6:
|
|
71827
|
-
case 0:
|
|
71828
|
-
a = c;
|
|
71829
|
-
u = i;
|
|
71830
|
-
h = n3;
|
|
71831
|
-
break;
|
|
71832
|
-
case 1:
|
|
71833
|
-
a = i;
|
|
71834
|
-
u = c;
|
|
71835
|
-
h = n3;
|
|
71836
|
-
break;
|
|
71837
|
-
case 2:
|
|
71838
|
-
a = n3;
|
|
71839
|
-
u = c;
|
|
71840
|
-
h = i;
|
|
71841
|
-
break;
|
|
71842
|
-
case 3:
|
|
71843
|
-
a = n3;
|
|
71844
|
-
u = i;
|
|
71845
|
-
h = c;
|
|
71846
|
-
break;
|
|
71847
|
-
case 4:
|
|
71848
|
-
a = i;
|
|
71849
|
-
u = n3;
|
|
71850
|
-
h = c;
|
|
71851
|
-
break;
|
|
71852
|
-
case 5:
|
|
71853
|
-
a = c;
|
|
71854
|
-
u = n3;
|
|
71855
|
-
h = i;
|
|
71856
|
-
break;
|
|
71857
|
-
}
|
|
71858
|
-
return [a * 255, u * 255, h * 255];
|
|
71859
|
-
};
|
|
71860
|
-
o.cmyk.rgb = function(e3) {
|
|
71861
|
-
const t3 = e3[0] / 100;
|
|
71862
|
-
const n3 = e3[1] / 100;
|
|
71863
|
-
const r2 = e3[2] / 100;
|
|
71864
|
-
const s2 = e3[3] / 100;
|
|
71865
|
-
const o2 = 1 - Math.min(1, t3 * (1 - s2) + s2);
|
|
71866
|
-
const l = 1 - Math.min(1, n3 * (1 - s2) + s2);
|
|
71867
|
-
const c = 1 - Math.min(1, r2 * (1 - s2) + s2);
|
|
71868
|
-
return [o2 * 255, l * 255, c * 255];
|
|
71869
|
-
};
|
|
71870
|
-
o.xyz.rgb = function(e3) {
|
|
71871
|
-
const t3 = e3[0] / 100;
|
|
71872
|
-
const n3 = e3[1] / 100;
|
|
71873
|
-
const r2 = e3[2] / 100;
|
|
71874
|
-
let s2;
|
|
71875
|
-
let o2;
|
|
71876
|
-
let l;
|
|
71877
|
-
s2 = t3 * 3.2406 + n3 * -1.5372 + r2 * -0.4986;
|
|
71878
|
-
o2 = t3 * -0.9689 + n3 * 1.8758 + r2 * 0.0415;
|
|
71879
|
-
l = t3 * 0.0557 + n3 * -0.204 + r2 * 1.057;
|
|
71880
|
-
s2 = s2 > 31308e-7 ? 1.055 * __pow(s2, 1 / 2.4) - 0.055 : s2 * 12.92;
|
|
71881
|
-
o2 = o2 > 31308e-7 ? 1.055 * __pow(o2, 1 / 2.4) - 0.055 : o2 * 12.92;
|
|
71882
|
-
l = l > 31308e-7 ? 1.055 * __pow(l, 1 / 2.4) - 0.055 : l * 12.92;
|
|
71883
|
-
s2 = Math.min(Math.max(0, s2), 1);
|
|
71884
|
-
o2 = Math.min(Math.max(0, o2), 1);
|
|
71885
|
-
l = Math.min(Math.max(0, l), 1);
|
|
71886
|
-
return [s2 * 255, o2 * 255, l * 255];
|
|
71887
|
-
};
|
|
71888
|
-
o.xyz.lab = function(e3) {
|
|
71889
|
-
let t3 = e3[0];
|
|
71890
|
-
let n3 = e3[1];
|
|
71891
|
-
let r2 = e3[2];
|
|
71892
|
-
t3 /= 95.047;
|
|
71893
|
-
n3 /= 100;
|
|
71894
|
-
r2 /= 108.883;
|
|
71895
|
-
t3 = t3 > 8856e-6 ? __pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116;
|
|
71896
|
-
n3 = n3 > 8856e-6 ? __pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116;
|
|
71897
|
-
r2 = r2 > 8856e-6 ? __pow(r2, 1 / 3) : 7.787 * r2 + 16 / 116;
|
|
71898
|
-
const s2 = 116 * n3 - 16;
|
|
71899
|
-
const o2 = 500 * (t3 - n3);
|
|
71900
|
-
const l = 200 * (n3 - r2);
|
|
71901
|
-
return [s2, o2, l];
|
|
71902
|
-
};
|
|
71903
|
-
o.lab.xyz = function(e3) {
|
|
71904
|
-
const t3 = e3[0];
|
|
71905
|
-
const n3 = e3[1];
|
|
71906
|
-
const r2 = e3[2];
|
|
71907
|
-
let s2;
|
|
71908
|
-
let o2;
|
|
71909
|
-
let l;
|
|
71910
|
-
o2 = (t3 + 16) / 116;
|
|
71911
|
-
s2 = n3 / 500 + o2;
|
|
71912
|
-
l = o2 - r2 / 200;
|
|
71913
|
-
const c = __pow(o2, 3);
|
|
71914
|
-
const i = __pow(s2, 3);
|
|
71915
|
-
const a = __pow(l, 3);
|
|
71916
|
-
o2 = c > 8856e-6 ? c : (o2 - 16 / 116) / 7.787;
|
|
71917
|
-
s2 = i > 8856e-6 ? i : (s2 - 16 / 116) / 7.787;
|
|
71918
|
-
l = a > 8856e-6 ? a : (l - 16 / 116) / 7.787;
|
|
71919
|
-
s2 *= 95.047;
|
|
71920
|
-
o2 *= 100;
|
|
71921
|
-
l *= 108.883;
|
|
71922
|
-
return [s2, o2, l];
|
|
71923
|
-
};
|
|
71924
|
-
o.lab.lch = function(e3) {
|
|
71925
|
-
const t3 = e3[0];
|
|
71926
|
-
const n3 = e3[1];
|
|
71927
|
-
const r2 = e3[2];
|
|
71928
|
-
let s2;
|
|
71929
|
-
const o2 = Math.atan2(r2, n3);
|
|
71930
|
-
s2 = o2 * 360 / 2 / Math.PI;
|
|
71931
|
-
if (s2 < 0) {
|
|
71932
|
-
s2 += 360;
|
|
71933
|
-
}
|
|
71934
|
-
const l = Math.sqrt(n3 * n3 + r2 * r2);
|
|
71935
|
-
return [t3, l, s2];
|
|
71936
|
-
};
|
|
71937
|
-
o.lch.lab = function(e3) {
|
|
71938
|
-
const t3 = e3[0];
|
|
71939
|
-
const n3 = e3[1];
|
|
71940
|
-
const r2 = e3[2];
|
|
71941
|
-
const s2 = r2 / 360 * 2 * Math.PI;
|
|
71942
|
-
const o2 = n3 * Math.cos(s2);
|
|
71943
|
-
const l = n3 * Math.sin(s2);
|
|
71944
|
-
return [t3, o2, l];
|
|
71945
|
-
};
|
|
71946
|
-
o.rgb.ansi16 = function(e3, t3 = null) {
|
|
71947
|
-
const [n3, r2, s2] = e3;
|
|
71948
|
-
let l = t3 === null ? o.rgb.hsv(e3)[2] : t3;
|
|
71949
|
-
l = Math.round(l / 50);
|
|
71950
|
-
if (l === 0) {
|
|
71951
|
-
return 30;
|
|
71952
|
-
}
|
|
71953
|
-
let c = 30 + (Math.round(s2 / 255) << 2 | Math.round(r2 / 255) << 1 | Math.round(n3 / 255));
|
|
71954
|
-
if (l === 2) {
|
|
71955
|
-
c += 60;
|
|
71956
|
-
}
|
|
71957
|
-
return c;
|
|
71958
|
-
};
|
|
71959
|
-
o.hsv.ansi16 = function(e3) {
|
|
71960
|
-
return o.rgb.ansi16(o.hsv.rgb(e3), e3[2]);
|
|
71961
|
-
};
|
|
71962
|
-
o.rgb.ansi256 = function(e3) {
|
|
71963
|
-
const t3 = e3[0];
|
|
71964
|
-
const n3 = e3[1];
|
|
71965
|
-
const r2 = e3[2];
|
|
71966
|
-
if (t3 === n3 && n3 === r2) {
|
|
71967
|
-
if (t3 < 8) {
|
|
71968
|
-
return 16;
|
|
71969
|
-
}
|
|
71970
|
-
if (t3 > 248) {
|
|
71971
|
-
return 231;
|
|
71972
|
-
}
|
|
71973
|
-
return Math.round((t3 - 8) / 247 * 24) + 232;
|
|
71974
|
-
}
|
|
71975
|
-
const s2 = 16 + 36 * Math.round(t3 / 255 * 5) + 6 * Math.round(n3 / 255 * 5) + Math.round(r2 / 255 * 5);
|
|
71976
|
-
return s2;
|
|
71977
|
-
};
|
|
71978
|
-
o.ansi16.rgb = function(e3) {
|
|
71979
|
-
let t3 = e3 % 10;
|
|
71980
|
-
if (t3 === 0 || t3 === 7) {
|
|
71981
|
-
if (e3 > 50) {
|
|
71982
|
-
t3 += 3.5;
|
|
71983
|
-
}
|
|
71984
|
-
t3 = t3 / 10.5 * 255;
|
|
71985
|
-
return [t3, t3, t3];
|
|
71986
|
-
}
|
|
71987
|
-
const n3 = (~~(e3 > 50) + 1) * 0.5;
|
|
71988
|
-
const r2 = (t3 & 1) * n3 * 255;
|
|
71989
|
-
const s2 = (t3 >> 1 & 1) * n3 * 255;
|
|
71990
|
-
const o2 = (t3 >> 2 & 1) * n3 * 255;
|
|
71991
|
-
return [r2, s2, o2];
|
|
71992
|
-
};
|
|
71993
|
-
o.ansi256.rgb = function(e3) {
|
|
71994
|
-
if (e3 >= 232) {
|
|
71995
|
-
const t4 = (e3 - 232) * 10 + 8;
|
|
71996
|
-
return [t4, t4, t4];
|
|
71997
|
-
}
|
|
71998
|
-
e3 -= 16;
|
|
71999
|
-
let t3;
|
|
72000
|
-
const n3 = Math.floor(e3 / 36) / 5 * 255;
|
|
72001
|
-
const r2 = Math.floor((t3 = e3 % 36) / 6) / 5 * 255;
|
|
72002
|
-
const s2 = t3 % 6 / 5 * 255;
|
|
72003
|
-
return [n3, r2, s2];
|
|
72004
|
-
};
|
|
72005
|
-
o.rgb.hex = function(e3) {
|
|
72006
|
-
const t3 = ((Math.round(e3[0]) & 255) << 16) + ((Math.round(e3[1]) & 255) << 8) + (Math.round(e3[2]) & 255);
|
|
72007
|
-
const n3 = t3.toString(16).toUpperCase();
|
|
72008
|
-
return "000000".substring(n3.length) + n3;
|
|
72009
|
-
};
|
|
72010
|
-
o.hex.rgb = function(e3) {
|
|
72011
|
-
const t3 = e3.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
|
|
72012
|
-
if (!t3) {
|
|
72013
|
-
return [0, 0, 0];
|
|
72014
|
-
}
|
|
72015
|
-
let n3 = t3[0];
|
|
72016
|
-
if (t3[0].length === 3) {
|
|
72017
|
-
n3 = n3.split("").map((e4) => e4 + e4).join("");
|
|
72018
|
-
}
|
|
72019
|
-
const r2 = parseInt(n3, 16);
|
|
72020
|
-
const s2 = r2 >> 16 & 255;
|
|
72021
|
-
const o2 = r2 >> 8 & 255;
|
|
72022
|
-
const l = r2 & 255;
|
|
72023
|
-
return [s2, o2, l];
|
|
72024
|
-
};
|
|
72025
|
-
o.rgb.hcg = function(e3) {
|
|
72026
|
-
const t3 = e3[0] / 255;
|
|
72027
|
-
const n3 = e3[1] / 255;
|
|
72028
|
-
const r2 = e3[2] / 255;
|
|
72029
|
-
const s2 = Math.max(Math.max(t3, n3), r2);
|
|
72030
|
-
const o2 = Math.min(Math.min(t3, n3), r2);
|
|
72031
|
-
const l = s2 - o2;
|
|
72032
|
-
let c;
|
|
72033
|
-
let i;
|
|
72034
|
-
if (l < 1) {
|
|
72035
|
-
c = o2 / (1 - l);
|
|
72036
|
-
} else {
|
|
72037
|
-
c = 0;
|
|
72038
|
-
}
|
|
72039
|
-
if (l <= 0) {
|
|
72040
|
-
i = 0;
|
|
72041
|
-
} else if (s2 === t3) {
|
|
72042
|
-
i = (n3 - r2) / l % 6;
|
|
72043
|
-
} else if (s2 === n3) {
|
|
72044
|
-
i = 2 + (r2 - t3) / l;
|
|
72045
|
-
} else {
|
|
72046
|
-
i = 4 + (t3 - n3) / l;
|
|
72047
|
-
}
|
|
72048
|
-
i /= 6;
|
|
72049
|
-
i %= 1;
|
|
72050
|
-
return [i * 360, l * 100, c * 100];
|
|
72051
|
-
};
|
|
72052
|
-
o.hsl.hcg = function(e3) {
|
|
72053
|
-
const t3 = e3[1] / 100;
|
|
72054
|
-
const n3 = e3[2] / 100;
|
|
72055
|
-
const r2 = n3 < 0.5 ? 2 * t3 * n3 : 2 * t3 * (1 - n3);
|
|
72056
|
-
let s2 = 0;
|
|
72057
|
-
if (r2 < 1) {
|
|
72058
|
-
s2 = (n3 - 0.5 * r2) / (1 - r2);
|
|
72059
|
-
}
|
|
72060
|
-
return [e3[0], r2 * 100, s2 * 100];
|
|
72061
|
-
};
|
|
72062
|
-
o.hsv.hcg = function(e3) {
|
|
72063
|
-
const t3 = e3[1] / 100;
|
|
72064
|
-
const n3 = e3[2] / 100;
|
|
72065
|
-
const r2 = t3 * n3;
|
|
72066
|
-
let s2 = 0;
|
|
72067
|
-
if (r2 < 1) {
|
|
72068
|
-
s2 = (n3 - r2) / (1 - r2);
|
|
72069
|
-
}
|
|
72070
|
-
return [e3[0], r2 * 100, s2 * 100];
|
|
72071
|
-
};
|
|
72072
|
-
o.hcg.rgb = function(e3) {
|
|
72073
|
-
const t3 = e3[0] / 360;
|
|
72074
|
-
const n3 = e3[1] / 100;
|
|
72075
|
-
const r2 = e3[2] / 100;
|
|
72076
|
-
if (n3 === 0) {
|
|
72077
|
-
return [r2 * 255, r2 * 255, r2 * 255];
|
|
72078
|
-
}
|
|
72079
|
-
const s2 = [0, 0, 0];
|
|
72080
|
-
const o2 = t3 % 1 * 6;
|
|
72081
|
-
const l = o2 % 1;
|
|
72082
|
-
const c = 1 - l;
|
|
72083
|
-
let i = 0;
|
|
72084
|
-
switch (Math.floor(o2)) {
|
|
72085
|
-
case 0:
|
|
72086
|
-
s2[0] = 1;
|
|
72087
|
-
s2[1] = l;
|
|
72088
|
-
s2[2] = 0;
|
|
72089
|
-
break;
|
|
72090
|
-
case 1:
|
|
72091
|
-
s2[0] = c;
|
|
72092
|
-
s2[1] = 1;
|
|
72093
|
-
s2[2] = 0;
|
|
72094
|
-
break;
|
|
72095
|
-
case 2:
|
|
72096
|
-
s2[0] = 0;
|
|
72097
|
-
s2[1] = 1;
|
|
72098
|
-
s2[2] = l;
|
|
72099
|
-
break;
|
|
72100
|
-
case 3:
|
|
72101
|
-
s2[0] = 0;
|
|
72102
|
-
s2[1] = c;
|
|
72103
|
-
s2[2] = 1;
|
|
72104
|
-
break;
|
|
72105
|
-
case 4:
|
|
72106
|
-
s2[0] = l;
|
|
72107
|
-
s2[1] = 0;
|
|
72108
|
-
s2[2] = 1;
|
|
72109
|
-
break;
|
|
72110
|
-
default:
|
|
72111
|
-
s2[0] = 1;
|
|
72112
|
-
s2[1] = 0;
|
|
72113
|
-
s2[2] = c;
|
|
72114
|
-
}
|
|
72115
|
-
i = (1 - n3) * r2;
|
|
72116
|
-
return [(n3 * s2[0] + i) * 255, (n3 * s2[1] + i) * 255, (n3 * s2[2] + i) * 255];
|
|
72117
|
-
};
|
|
72118
|
-
o.hcg.hsv = function(e3) {
|
|
72119
|
-
const t3 = e3[1] / 100;
|
|
72120
|
-
const n3 = e3[2] / 100;
|
|
72121
|
-
const r2 = t3 + n3 * (1 - t3);
|
|
72122
|
-
let s2 = 0;
|
|
72123
|
-
if (r2 > 0) {
|
|
72124
|
-
s2 = t3 / r2;
|
|
72125
|
-
}
|
|
72126
|
-
return [e3[0], s2 * 100, r2 * 100];
|
|
72127
|
-
};
|
|
72128
|
-
o.hcg.hsl = function(e3) {
|
|
72129
|
-
const t3 = e3[1] / 100;
|
|
72130
|
-
const n3 = e3[2] / 100;
|
|
72131
|
-
const r2 = n3 * (1 - t3) + 0.5 * t3;
|
|
72132
|
-
let s2 = 0;
|
|
72133
|
-
if (r2 > 0 && r2 < 0.5) {
|
|
72134
|
-
s2 = t3 / (2 * r2);
|
|
72135
|
-
} else if (r2 >= 0.5 && r2 < 1) {
|
|
72136
|
-
s2 = t3 / (2 * (1 - r2));
|
|
72137
|
-
}
|
|
72138
|
-
return [e3[0], s2 * 100, r2 * 100];
|
|
72139
|
-
};
|
|
72140
|
-
o.hcg.hwb = function(e3) {
|
|
72141
|
-
const t3 = e3[1] / 100;
|
|
72142
|
-
const n3 = e3[2] / 100;
|
|
72143
|
-
const r2 = t3 + n3 * (1 - t3);
|
|
72144
|
-
return [e3[0], (r2 - t3) * 100, (1 - r2) * 100];
|
|
72145
|
-
};
|
|
72146
|
-
o.hwb.hcg = function(e3) {
|
|
72147
|
-
const t3 = e3[1] / 100;
|
|
72148
|
-
const n3 = e3[2] / 100;
|
|
72149
|
-
const r2 = 1 - n3;
|
|
72150
|
-
const s2 = r2 - t3;
|
|
72151
|
-
let o2 = 0;
|
|
72152
|
-
if (s2 < 1) {
|
|
72153
|
-
o2 = (r2 - s2) / (1 - s2);
|
|
72154
|
-
}
|
|
72155
|
-
return [e3[0], s2 * 100, o2 * 100];
|
|
72156
|
-
};
|
|
72157
|
-
o.apple.rgb = function(e3) {
|
|
72158
|
-
return [e3[0] / 65535 * 255, e3[1] / 65535 * 255, e3[2] / 65535 * 255];
|
|
72159
|
-
};
|
|
72160
|
-
o.rgb.apple = function(e3) {
|
|
72161
|
-
return [e3[0] / 255 * 65535, e3[1] / 255 * 65535, e3[2] / 255 * 65535];
|
|
72162
|
-
};
|
|
72163
|
-
o.gray.rgb = function(e3) {
|
|
72164
|
-
return [e3[0] / 100 * 255, e3[0] / 100 * 255, e3[0] / 100 * 255];
|
|
72165
|
-
};
|
|
72166
|
-
o.gray.hsl = function(e3) {
|
|
72167
|
-
return [0, 0, e3[0]];
|
|
72168
|
-
};
|
|
72169
|
-
o.gray.hsv = o.gray.hsl;
|
|
72170
|
-
o.gray.hwb = function(e3) {
|
|
72171
|
-
return [0, 100, e3[0]];
|
|
72172
|
-
};
|
|
72173
|
-
o.gray.cmyk = function(e3) {
|
|
72174
|
-
return [0, 0, 0, e3[0]];
|
|
72175
|
-
};
|
|
72176
|
-
o.gray.lab = function(e3) {
|
|
72177
|
-
return [e3[0], 0, 0];
|
|
72178
|
-
};
|
|
72179
|
-
o.gray.hex = function(e3) {
|
|
72180
|
-
const t3 = Math.round(e3[0] / 100 * 255) & 255;
|
|
72181
|
-
const n3 = (t3 << 16) + (t3 << 8) + t3;
|
|
72182
|
-
const r2 = n3.toString(16).toUpperCase();
|
|
72183
|
-
return "000000".substring(r2.length) + r2;
|
|
72184
|
-
};
|
|
72185
|
-
o.rgb.gray = function(e3) {
|
|
72186
|
-
const t3 = (e3[0] + e3[1] + e3[2]) / 3;
|
|
72187
|
-
return [t3 / 255 * 100];
|
|
72188
|
-
};
|
|
72189
|
-
}, 767: (e2, t2, n2) => {
|
|
72190
|
-
const r = n2(226);
|
|
72191
|
-
const s = n2(392);
|
|
72192
|
-
const o = {};
|
|
72193
|
-
const l = Object.keys(r);
|
|
72194
|
-
function wrapRaw(e3) {
|
|
72195
|
-
const wrappedFn = function(...t3) {
|
|
72196
|
-
const n3 = t3[0];
|
|
72197
|
-
if (n3 === void 0 || n3 === null) {
|
|
72198
|
-
return n3;
|
|
72199
|
-
}
|
|
72200
|
-
if (n3.length > 1) {
|
|
72201
|
-
t3 = n3;
|
|
72202
|
-
}
|
|
72203
|
-
return e3(t3);
|
|
72204
|
-
};
|
|
72205
|
-
if ("conversion" in e3) {
|
|
72206
|
-
wrappedFn.conversion = e3.conversion;
|
|
72207
|
-
}
|
|
72208
|
-
return wrappedFn;
|
|
72209
|
-
}
|
|
72210
|
-
function wrapRounded(e3) {
|
|
72211
|
-
const wrappedFn = function(...t3) {
|
|
72212
|
-
const n3 = t3[0];
|
|
72213
|
-
if (n3 === void 0 || n3 === null) {
|
|
72214
|
-
return n3;
|
|
72215
|
-
}
|
|
72216
|
-
if (n3.length > 1) {
|
|
72217
|
-
t3 = n3;
|
|
72218
|
-
}
|
|
72219
|
-
const r2 = e3(t3);
|
|
72220
|
-
if (typeof r2 === "object") {
|
|
72221
|
-
for (let e4 = r2.length, t4 = 0; t4 < e4; t4++) {
|
|
72222
|
-
r2[t4] = Math.round(r2[t4]);
|
|
72223
|
-
}
|
|
72224
|
-
}
|
|
72225
|
-
return r2;
|
|
72226
|
-
};
|
|
72227
|
-
if ("conversion" in e3) {
|
|
72228
|
-
wrappedFn.conversion = e3.conversion;
|
|
72229
|
-
}
|
|
72230
|
-
return wrappedFn;
|
|
72231
|
-
}
|
|
72232
|
-
l.forEach((e3) => {
|
|
72233
|
-
o[e3] = {};
|
|
72234
|
-
Object.defineProperty(o[e3], "channels", { value: r[e3].channels });
|
|
72235
|
-
Object.defineProperty(o[e3], "labels", { value: r[e3].labels });
|
|
72236
|
-
const t3 = s(e3);
|
|
72237
|
-
const n3 = Object.keys(t3);
|
|
72238
|
-
n3.forEach((n4) => {
|
|
72239
|
-
const r2 = t3[n4];
|
|
72240
|
-
o[e3][n4] = wrapRounded(r2);
|
|
72241
|
-
o[e3][n4].raw = wrapRaw(r2);
|
|
72242
|
-
});
|
|
72243
|
-
});
|
|
72244
|
-
e2.exports = o;
|
|
72245
|
-
}, 392: (e2, t2, n2) => {
|
|
72246
|
-
const r = n2(226);
|
|
72247
|
-
function buildGraph() {
|
|
72248
|
-
const e3 = {};
|
|
72249
|
-
const t3 = Object.keys(r);
|
|
72250
|
-
for (let n3 = t3.length, r2 = 0; r2 < n3; r2++) {
|
|
72251
|
-
e3[t3[r2]] = { distance: -1, parent: null };
|
|
72252
|
-
}
|
|
72253
|
-
return e3;
|
|
72254
|
-
}
|
|
72255
|
-
function deriveBFS(e3) {
|
|
72256
|
-
const t3 = buildGraph();
|
|
72257
|
-
const n3 = [e3];
|
|
72258
|
-
t3[e3].distance = 0;
|
|
72259
|
-
while (n3.length) {
|
|
72260
|
-
const e4 = n3.pop();
|
|
72261
|
-
const s = Object.keys(r[e4]);
|
|
72262
|
-
for (let r2 = s.length, o = 0; o < r2; o++) {
|
|
72263
|
-
const r3 = s[o];
|
|
72264
|
-
const l = t3[r3];
|
|
72265
|
-
if (l.distance === -1) {
|
|
72266
|
-
l.distance = t3[e4].distance + 1;
|
|
72267
|
-
l.parent = e4;
|
|
72268
|
-
n3.unshift(r3);
|
|
72269
|
-
}
|
|
72270
|
-
}
|
|
72271
|
-
}
|
|
72272
|
-
return t3;
|
|
72273
|
-
}
|
|
72274
|
-
function link(e3, t3) {
|
|
72275
|
-
return function(n3) {
|
|
72276
|
-
return t3(e3(n3));
|
|
72277
|
-
};
|
|
72278
|
-
}
|
|
72279
|
-
function wrapConversion(e3, t3) {
|
|
72280
|
-
const n3 = [t3[e3].parent, e3];
|
|
72281
|
-
let s = r[t3[e3].parent][e3];
|
|
72282
|
-
let o = t3[e3].parent;
|
|
72283
|
-
while (t3[o].parent) {
|
|
72284
|
-
n3.unshift(t3[o].parent);
|
|
72285
|
-
s = link(r[t3[o].parent][o], s);
|
|
72286
|
-
o = t3[o].parent;
|
|
72287
|
-
}
|
|
72288
|
-
s.conversion = n3;
|
|
72289
|
-
return s;
|
|
72290
|
-
}
|
|
72291
|
-
e2.exports = function(e3) {
|
|
72292
|
-
const t3 = deriveBFS(e3);
|
|
72293
|
-
const n3 = {};
|
|
72294
|
-
const r2 = Object.keys(t3);
|
|
72295
|
-
for (let e4 = r2.length, s = 0; s < e4; s++) {
|
|
72296
|
-
const e5 = r2[s];
|
|
72297
|
-
const o = t3[e5];
|
|
72298
|
-
if (o.parent === null) {
|
|
72299
|
-
continue;
|
|
72300
|
-
}
|
|
72301
|
-
n3[e5] = wrapConversion(e5, t3);
|
|
71006
|
+
return _this;
|
|
71007
|
+
};
|
|
71008
|
+
this.addPatternProperty = function(key, schema) {
|
|
71009
|
+
if (!schema)
|
|
71010
|
+
return;
|
|
71011
|
+
_this.patternProperties = _this.patternProperties || {};
|
|
71012
|
+
_this.patternProperties[key] = new Schema2(schema, _this);
|
|
71013
|
+
_this.patternProperties[key].name = key;
|
|
71014
|
+
return _this.patternProperties[key];
|
|
71015
|
+
};
|
|
71016
|
+
this.removePatternProperty = function(key) {
|
|
71017
|
+
var schema = _this.patternProperties[key];
|
|
71018
|
+
delete _this.patternProperties[key];
|
|
71019
|
+
return schema;
|
|
71020
|
+
};
|
|
71021
|
+
this.setPatternProperties = function(properties) {
|
|
71022
|
+
if (!properties)
|
|
71023
|
+
return _this;
|
|
71024
|
+
for (var key in properties) {
|
|
71025
|
+
_this.addPatternProperty(key, properties[key]);
|
|
72302
71026
|
}
|
|
72303
|
-
return
|
|
71027
|
+
return _this;
|
|
72304
71028
|
};
|
|
72305
|
-
|
|
72306
|
-
|
|
72307
|
-
|
|
72308
|
-
|
|
72309
|
-
|
|
72310
|
-
e2.exports = (e3, t2 = process.argv) => {
|
|
72311
|
-
const n2 = e3.startsWith("-") ? "" : e3.length === 1 ? "-" : "--";
|
|
72312
|
-
const r = t2.indexOf(n2 + e3);
|
|
72313
|
-
const s = t2.indexOf("--");
|
|
72314
|
-
return r !== -1 && (s === -1 || r < s);
|
|
71029
|
+
this.setAdditionalProperties = function(properties) {
|
|
71030
|
+
if (!properties)
|
|
71031
|
+
return;
|
|
71032
|
+
_this.additionalProperties = new Schema2(properties);
|
|
71033
|
+
return _this.additionalProperties;
|
|
72315
71034
|
};
|
|
72316
|
-
|
|
72317
|
-
|
|
72318
|
-
|
|
72319
|
-
|
|
72320
|
-
|
|
72321
|
-
|
|
72322
|
-
|
|
72323
|
-
if (o("no-color") || o("no-colors") || o("color=false") || o("color=never")) {
|
|
72324
|
-
c = 0;
|
|
72325
|
-
} else if (o("color") || o("colors") || o("color=true") || o("color=always")) {
|
|
72326
|
-
c = 1;
|
|
72327
|
-
}
|
|
72328
|
-
if ("FORCE_COLOR" in l) {
|
|
72329
|
-
if (l.FORCE_COLOR === "true") {
|
|
72330
|
-
c = 1;
|
|
72331
|
-
} else if (l.FORCE_COLOR === "false") {
|
|
72332
|
-
c = 0;
|
|
71035
|
+
this.setItems = function(schema) {
|
|
71036
|
+
if (!schema)
|
|
71037
|
+
return;
|
|
71038
|
+
if (Array.isArray(schema)) {
|
|
71039
|
+
_this.items = schema.map(function(item) {
|
|
71040
|
+
return new Schema2(item, _this);
|
|
71041
|
+
});
|
|
72333
71042
|
} else {
|
|
72334
|
-
|
|
72335
|
-
}
|
|
72336
|
-
}
|
|
72337
|
-
function translateLevel(e3) {
|
|
72338
|
-
if (e3 === 0) {
|
|
72339
|
-
return false;
|
|
72340
|
-
}
|
|
72341
|
-
return { level: e3, hasBasic: true, has256: e3 >= 2, has16m: e3 >= 3 };
|
|
72342
|
-
}
|
|
72343
|
-
function supportsColor(e3, t3) {
|
|
72344
|
-
if (c === 0) {
|
|
72345
|
-
return 0;
|
|
72346
|
-
}
|
|
72347
|
-
if (o("color=16m") || o("color=full") || o("color=truecolor")) {
|
|
72348
|
-
return 3;
|
|
72349
|
-
}
|
|
72350
|
-
if (o("color=256")) {
|
|
72351
|
-
return 2;
|
|
72352
|
-
}
|
|
72353
|
-
if (e3 && !t3 && c === void 0) {
|
|
72354
|
-
return 0;
|
|
72355
|
-
}
|
|
72356
|
-
const n3 = c || 0;
|
|
72357
|
-
if (l.TERM === "dumb") {
|
|
72358
|
-
return n3;
|
|
71043
|
+
_this.items = new Schema2(schema, _this);
|
|
72359
71044
|
}
|
|
72360
|
-
|
|
72361
|
-
|
|
72362
|
-
|
|
72363
|
-
|
|
71045
|
+
return _this.items;
|
|
71046
|
+
};
|
|
71047
|
+
this.setAdditionalItems = function(items) {
|
|
71048
|
+
if (!items)
|
|
71049
|
+
return;
|
|
71050
|
+
_this.additionalItems = new Schema2(items, _this);
|
|
71051
|
+
return _this.additionalItems;
|
|
71052
|
+
};
|
|
71053
|
+
this.findDefinitions = function(ref2) {
|
|
71054
|
+
if (!ref2 || !_this.root || !isStr(ref2))
|
|
71055
|
+
return;
|
|
71056
|
+
if (ref2.indexOf("#/") !== 0)
|
|
71057
|
+
return;
|
|
71058
|
+
return Path.getIn(_this.root, ref2.substring(2).split("/"));
|
|
71059
|
+
};
|
|
71060
|
+
this.mapProperties = function(callback) {
|
|
71061
|
+
return Schema2.getOrderProperties(_this).map(function(_a2, index) {
|
|
71062
|
+
var schema = _a2.schema, key = _a2.key;
|
|
71063
|
+
return callback(schema, key, index);
|
|
71064
|
+
});
|
|
71065
|
+
};
|
|
71066
|
+
this.mapPatternProperties = function(callback) {
|
|
71067
|
+
return Schema2.getOrderProperties(_this, "patternProperties").map(function(_a2, index) {
|
|
71068
|
+
var schema = _a2.schema, key = _a2.key;
|
|
71069
|
+
return callback(schema, key, index);
|
|
71070
|
+
});
|
|
71071
|
+
};
|
|
71072
|
+
this.reduceProperties = function(callback, predicate) {
|
|
71073
|
+
var results = predicate;
|
|
71074
|
+
Schema2.getOrderProperties(_this, "properties").forEach(function(_a2, index) {
|
|
71075
|
+
var schema = _a2.schema, key = _a2.key;
|
|
71076
|
+
results = callback(results, schema, key, index);
|
|
71077
|
+
});
|
|
71078
|
+
return results;
|
|
71079
|
+
};
|
|
71080
|
+
this.reducePatternProperties = function(callback, predicate) {
|
|
71081
|
+
var results = predicate;
|
|
71082
|
+
Schema2.getOrderProperties(_this, "patternProperties").forEach(function(_a2, index) {
|
|
71083
|
+
var schema = _a2.schema, key = _a2.key;
|
|
71084
|
+
results = callback(results, schema, key, index);
|
|
71085
|
+
});
|
|
71086
|
+
return results;
|
|
71087
|
+
};
|
|
71088
|
+
this.compile = function(scope) {
|
|
71089
|
+
var schema = new Schema2({}, _this.parent);
|
|
71090
|
+
each(_this, function(value, key) {
|
|
71091
|
+
if (isFn(value) && !key.includes("x-"))
|
|
71092
|
+
return;
|
|
71093
|
+
if (key === "parent" || key === "root")
|
|
71094
|
+
return;
|
|
71095
|
+
if (!SchemaNestedMap[key]) {
|
|
71096
|
+
schema[key] = value ? compile(value, scope) : value;
|
|
71097
|
+
} else {
|
|
71098
|
+
schema[key] = value ? shallowCompile(value, scope) : value;
|
|
72364
71099
|
}
|
|
72365
|
-
|
|
72366
|
-
|
|
72367
|
-
|
|
72368
|
-
|
|
72369
|
-
|
|
71100
|
+
});
|
|
71101
|
+
return schema;
|
|
71102
|
+
};
|
|
71103
|
+
this.fromJSON = function(json2) {
|
|
71104
|
+
if (!json2)
|
|
71105
|
+
return _this;
|
|
71106
|
+
if (Schema2.isSchemaInstance(json2))
|
|
71107
|
+
return json2;
|
|
71108
|
+
each(reducePatches(json2), function(value, key) {
|
|
71109
|
+
if (isFn(value) && !key.includes("x-"))
|
|
71110
|
+
return;
|
|
71111
|
+
if (key === "properties") {
|
|
71112
|
+
_this.setProperties(value);
|
|
71113
|
+
} else if (key === "patternProperties") {
|
|
71114
|
+
_this.setPatternProperties(value);
|
|
71115
|
+
} else if (key === "additionalProperties") {
|
|
71116
|
+
_this.setAdditionalProperties(value);
|
|
71117
|
+
} else if (key === "items") {
|
|
71118
|
+
_this.setItems(value);
|
|
71119
|
+
} else if (key === "additionalItems") {
|
|
71120
|
+
_this.setAdditionalItems(value);
|
|
71121
|
+
} else if (key === "$ref") {
|
|
71122
|
+
_this.fromJSON(_this.findDefinitions(value));
|
|
71123
|
+
} else {
|
|
71124
|
+
_this[key] = value;
|
|
72370
71125
|
}
|
|
72371
|
-
|
|
72372
|
-
|
|
72373
|
-
|
|
72374
|
-
|
|
72375
|
-
|
|
72376
|
-
|
|
72377
|
-
return 3;
|
|
71126
|
+
});
|
|
71127
|
+
return _this;
|
|
71128
|
+
};
|
|
71129
|
+
this.toJSON = function(recursion) {
|
|
71130
|
+
if (recursion === void 0) {
|
|
71131
|
+
recursion = true;
|
|
72378
71132
|
}
|
|
72379
|
-
|
|
72380
|
-
|
|
72381
|
-
|
|
72382
|
-
|
|
72383
|
-
|
|
72384
|
-
|
|
72385
|
-
|
|
71133
|
+
var results = {};
|
|
71134
|
+
each(_this, function(value, key) {
|
|
71135
|
+
var _a2, _b;
|
|
71136
|
+
if (isFn(value) && !key.includes("x-") || key === "parent" || key === "root")
|
|
71137
|
+
return;
|
|
71138
|
+
if (key === "properties" || key === "patternProperties") {
|
|
71139
|
+
if (!recursion)
|
|
71140
|
+
return;
|
|
71141
|
+
results[key] = map(value, function(item) {
|
|
71142
|
+
var _a3;
|
|
71143
|
+
return (_a3 = item === null || item === void 0 ? void 0 : item.toJSON) === null || _a3 === void 0 ? void 0 : _a3.call(item);
|
|
71144
|
+
});
|
|
71145
|
+
} else if (key === "additionalProperties" || key === "additionalItems") {
|
|
71146
|
+
if (!recursion)
|
|
71147
|
+
return;
|
|
71148
|
+
results[key] = (_a2 = value === null || value === void 0 ? void 0 : value.toJSON) === null || _a2 === void 0 ? void 0 : _a2.call(value);
|
|
71149
|
+
} else if (key === "items") {
|
|
71150
|
+
if (!recursion)
|
|
71151
|
+
return;
|
|
71152
|
+
if (Array.isArray(value)) {
|
|
71153
|
+
results[key] = value.map(function(item) {
|
|
71154
|
+
var _a3;
|
|
71155
|
+
return (_a3 = item === null || item === void 0 ? void 0 : item.toJSON) === null || _a3 === void 0 ? void 0 : _a3.call(item);
|
|
71156
|
+
});
|
|
71157
|
+
} else {
|
|
71158
|
+
results[key] = (_b = value === null || value === void 0 ? void 0 : value.toJSON) === null || _b === void 0 ? void 0 : _b.call(value);
|
|
71159
|
+
}
|
|
71160
|
+
} else {
|
|
71161
|
+
results[key] = value;
|
|
72386
71162
|
}
|
|
72387
|
-
}
|
|
72388
|
-
|
|
72389
|
-
|
|
72390
|
-
|
|
72391
|
-
|
|
72392
|
-
|
|
72393
|
-
|
|
72394
|
-
|
|
72395
|
-
|
|
72396
|
-
|
|
72397
|
-
|
|
71163
|
+
});
|
|
71164
|
+
return results;
|
|
71165
|
+
};
|
|
71166
|
+
this.toFieldProps = function(options) {
|
|
71167
|
+
return transformFieldProps(_this, options);
|
|
71168
|
+
};
|
|
71169
|
+
if (parent) {
|
|
71170
|
+
this.parent = parent;
|
|
71171
|
+
this.root = parent.root;
|
|
71172
|
+
} else {
|
|
71173
|
+
this.root = this;
|
|
72398
71174
|
}
|
|
72399
|
-
|
|
72400
|
-
|
|
72401
|
-
|
|
71175
|
+
return this.fromJSON(json);
|
|
71176
|
+
}
|
|
71177
|
+
Schema2.getOrderProperties = function(schema, propertiesName) {
|
|
71178
|
+
if (schema === void 0) {
|
|
71179
|
+
schema = {};
|
|
72402
71180
|
}
|
|
72403
|
-
|
|
72404
|
-
|
|
72405
|
-
"use strict";
|
|
72406
|
-
e2.exports = require("os");
|
|
72407
|
-
}, 224: (e2) => {
|
|
72408
|
-
"use strict";
|
|
72409
|
-
e2.exports = require("tty");
|
|
72410
|
-
} };
|
|
72411
|
-
var t = {};
|
|
72412
|
-
function __nccwpck_require__(n2) {
|
|
72413
|
-
var r = t[n2];
|
|
72414
|
-
if (r !== void 0) {
|
|
72415
|
-
return r.exports;
|
|
71181
|
+
if (propertiesName === void 0) {
|
|
71182
|
+
propertiesName = "properties";
|
|
72416
71183
|
}
|
|
72417
|
-
var
|
|
72418
|
-
var
|
|
72419
|
-
|
|
72420
|
-
|
|
72421
|
-
|
|
72422
|
-
|
|
72423
|
-
|
|
72424
|
-
|
|
71184
|
+
var orderProperties = [];
|
|
71185
|
+
var unorderProperties = [];
|
|
71186
|
+
for (var key in schema[propertiesName]) {
|
|
71187
|
+
var item = schema[propertiesName][key];
|
|
71188
|
+
var index = item["x-index"];
|
|
71189
|
+
if (!isNaN(index)) {
|
|
71190
|
+
orderProperties[index] = { schema: item, key };
|
|
71191
|
+
} else {
|
|
71192
|
+
unorderProperties.push({ schema: item, key });
|
|
71193
|
+
}
|
|
72425
71194
|
}
|
|
72426
|
-
|
|
72427
|
-
|
|
72428
|
-
|
|
72429
|
-
|
|
72430
|
-
|
|
72431
|
-
|
|
72432
|
-
|
|
72433
|
-
|
|
72434
|
-
|
|
72435
|
-
|
|
72436
|
-
|
|
72437
|
-
|
|
72438
|
-
|
|
72439
|
-
|
|
72440
|
-
|
|
72441
|
-
|
|
71195
|
+
return orderProperties.concat(unorderProperties).filter(function(item2) {
|
|
71196
|
+
return !!item2;
|
|
71197
|
+
});
|
|
71198
|
+
};
|
|
71199
|
+
Schema2.compile = function(expression, scope) {
|
|
71200
|
+
return compile(expression, scope);
|
|
71201
|
+
};
|
|
71202
|
+
Schema2.shallowCompile = function(expression, scope) {
|
|
71203
|
+
return shallowCompile(expression, scope);
|
|
71204
|
+
};
|
|
71205
|
+
Schema2.isSchemaInstance = function(value) {
|
|
71206
|
+
return instOf(value, Schema2);
|
|
71207
|
+
};
|
|
71208
|
+
Schema2.registerCompiler = registerCompiler;
|
|
71209
|
+
Schema2.registerPatches = registerPatches;
|
|
71210
|
+
Schema2.registerVoidComponents = registerVoidComponents;
|
|
71211
|
+
Schema2.registerTypeDefaultComponents = registerTypeDefaultComponents;
|
|
71212
|
+
Schema2.registerPolyfills = registerPolyfills;
|
|
71213
|
+
Schema2.enablePolyfills = enablePolyfills;
|
|
71214
|
+
Schema2.silent = silent;
|
|
71215
|
+
return Schema2;
|
|
71216
|
+
}();
|
|
71217
|
+
}
|
|
71218
|
+
});
|
|
71219
|
+
|
|
71220
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/types.js
|
|
71221
|
+
var init_types6 = __esm({
|
|
71222
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/types.js"() {
|
|
71223
|
+
}
|
|
71224
|
+
});
|
|
71225
|
+
|
|
71226
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/index.js
|
|
71227
|
+
var esm_exports2 = {};
|
|
71228
|
+
__export(esm_exports2, {
|
|
71229
|
+
Schema: () => Schema
|
|
71230
|
+
});
|
|
71231
|
+
var init_esm6 = __esm({
|
|
71232
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/index.js"() {
|
|
71233
|
+
init_schema();
|
|
71234
|
+
init_types6();
|
|
72442
71235
|
}
|
|
72443
71236
|
});
|
|
72444
71237
|
|
|
@@ -72606,7 +71399,7 @@ var require_figures = __commonJS({
|
|
|
72606
71399
|
var require_separator = __commonJS({
|
|
72607
71400
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/objects/separator.js"(exports, module2) {
|
|
72608
71401
|
"use strict";
|
|
72609
|
-
var chalk3 =
|
|
71402
|
+
var chalk3 = require_chalk();
|
|
72610
71403
|
var figures = require_figures();
|
|
72611
71404
|
var Separator = class {
|
|
72612
71405
|
constructor(line) {
|
|
@@ -92171,7 +90964,7 @@ var require_ora2 = __commonJS({
|
|
|
92171
90964
|
"../../../../node_modules/.pnpm/ora@5.4.1/node_modules/ora/index.js"(exports, module2) {
|
|
92172
90965
|
"use strict";
|
|
92173
90966
|
var readline = require("readline");
|
|
92174
|
-
var chalk3 =
|
|
90967
|
+
var chalk3 = require_chalk();
|
|
92175
90968
|
var cliCursor = require_cli_cursor();
|
|
92176
90969
|
var cliSpinners = require_cli_spinners();
|
|
92177
90970
|
var logSymbols = require_browser2();
|
|
@@ -92622,7 +91415,7 @@ var require_base3 = __commonJS({
|
|
|
92622
91415
|
defaults: require_defaults2(),
|
|
92623
91416
|
clone: require_clone()
|
|
92624
91417
|
};
|
|
92625
|
-
var chalk3 =
|
|
91418
|
+
var chalk3 = require_chalk();
|
|
92626
91419
|
var runAsync = require_run_async();
|
|
92627
91420
|
var { filter, flatMap, share, take, takeUntil } = require_operators();
|
|
92628
91421
|
var Choices = require_choices();
|
|
@@ -92808,7 +91601,7 @@ var require_events = __commonJS({
|
|
|
92808
91601
|
var require_paginator = __commonJS({
|
|
92809
91602
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/utils/paginator.js"(exports, module2) {
|
|
92810
91603
|
"use strict";
|
|
92811
|
-
var chalk3 =
|
|
91604
|
+
var chalk3 = require_chalk();
|
|
92812
91605
|
var Paginator = class {
|
|
92813
91606
|
/**
|
|
92814
91607
|
* @param {import("./screen-manager")} [screen]
|
|
@@ -92889,7 +91682,7 @@ var require_incrementListIndex = __commonJS({
|
|
|
92889
91682
|
var require_list2 = __commonJS({
|
|
92890
91683
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/list.js"(exports, module2) {
|
|
92891
91684
|
"use strict";
|
|
92892
|
-
var chalk3 =
|
|
91685
|
+
var chalk3 = require_chalk();
|
|
92893
91686
|
var figures = require_figures();
|
|
92894
91687
|
var cliCursor = require_cli_cursor();
|
|
92895
91688
|
var runAsync = require_run_async();
|
|
@@ -93039,7 +91832,7 @@ var require_list2 = __commonJS({
|
|
|
93039
91832
|
var require_input = __commonJS({
|
|
93040
91833
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/input.js"(exports, module2) {
|
|
93041
91834
|
"use strict";
|
|
93042
|
-
var chalk3 =
|
|
91835
|
+
var chalk3 = require_chalk();
|
|
93043
91836
|
var { map: map2, takeUntil } = require_operators();
|
|
93044
91837
|
var Base = require_base3();
|
|
93045
91838
|
var observe2 = require_events();
|
|
@@ -93143,7 +91936,7 @@ var require_number = __commonJS({
|
|
|
93143
91936
|
var require_confirm = __commonJS({
|
|
93144
91937
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/confirm.js"(exports, module2) {
|
|
93145
91938
|
"use strict";
|
|
93146
|
-
var chalk3 =
|
|
91939
|
+
var chalk3 = require_chalk();
|
|
93147
91940
|
var { take, takeUntil } = require_operators();
|
|
93148
91941
|
var Base = require_base3();
|
|
93149
91942
|
var observe2 = require_events();
|
|
@@ -93217,7 +92010,7 @@ var require_confirm = __commonJS({
|
|
|
93217
92010
|
var require_rawlist = __commonJS({
|
|
93218
92011
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/rawlist.js"(exports, module2) {
|
|
93219
92012
|
"use strict";
|
|
93220
|
-
var chalk3 =
|
|
92013
|
+
var chalk3 = require_chalk();
|
|
93221
92014
|
var { map: map2, takeUntil } = require_operators();
|
|
93222
92015
|
var Base = require_base3();
|
|
93223
92016
|
var Separator = require_separator();
|
|
@@ -93385,7 +92178,7 @@ var require_rawlist = __commonJS({
|
|
|
93385
92178
|
var require_expand2 = __commonJS({
|
|
93386
92179
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/expand.js"(exports, module2) {
|
|
93387
92180
|
"use strict";
|
|
93388
|
-
var chalk3 =
|
|
92181
|
+
var chalk3 = require_chalk();
|
|
93389
92182
|
var { map: map2, takeUntil } = require_operators();
|
|
93390
92183
|
var Base = require_base3();
|
|
93391
92184
|
var Separator = require_separator();
|
|
@@ -93592,7 +92385,7 @@ var require_expand2 = __commonJS({
|
|
|
93592
92385
|
var require_checkbox = __commonJS({
|
|
93593
92386
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/checkbox.js"(exports, module2) {
|
|
93594
92387
|
"use strict";
|
|
93595
|
-
var chalk3 =
|
|
92388
|
+
var chalk3 = require_chalk();
|
|
93596
92389
|
var cliCursor = require_cli_cursor();
|
|
93597
92390
|
var figures = require_figures();
|
|
93598
92391
|
var { map: map2, takeUntil } = require_operators();
|
|
@@ -93782,7 +92575,7 @@ var require_checkbox = __commonJS({
|
|
|
93782
92575
|
var require_password = __commonJS({
|
|
93783
92576
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/password.js"(exports, module2) {
|
|
93784
92577
|
"use strict";
|
|
93785
|
-
var chalk3 =
|
|
92578
|
+
var chalk3 = require_chalk();
|
|
93786
92579
|
var { map: map2, takeUntil } = require_operators();
|
|
93787
92580
|
var Base = require_base3();
|
|
93788
92581
|
var observe2 = require_events();
|
|
@@ -103457,7 +102250,7 @@ var require_main = __commonJS({
|
|
|
103457
102250
|
var require_editor = __commonJS({
|
|
103458
102251
|
"../../../../node_modules/.pnpm/inquirer@8.2.2/node_modules/inquirer/lib/prompts/editor.js"(exports, module2) {
|
|
103459
102252
|
"use strict";
|
|
103460
|
-
var chalk3 =
|
|
102253
|
+
var chalk3 = require_chalk();
|
|
103461
102254
|
var { editAsync } = require_main();
|
|
103462
102255
|
var Base = require_base3();
|
|
103463
102256
|
var observe2 = require_events();
|
|
@@ -103582,9 +102375,9 @@ var require_inquirer = __commonJS({
|
|
|
103582
102375
|
}
|
|
103583
102376
|
});
|
|
103584
102377
|
|
|
103585
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102378
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
|
|
103586
102379
|
var require_transform = __commonJS({
|
|
103587
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102380
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
|
|
103588
102381
|
"use strict";
|
|
103589
102382
|
Object.defineProperty(exports, "__esModule", {
|
|
103590
102383
|
value: true
|
|
@@ -103753,9 +102546,9 @@ var require_transform = __commonJS({
|
|
|
103753
102546
|
}
|
|
103754
102547
|
});
|
|
103755
102548
|
|
|
103756
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102549
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
|
|
103757
102550
|
var require_prompt2 = __commonJS({
|
|
103758
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102551
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
|
|
103759
102552
|
"use strict";
|
|
103760
102553
|
Object.defineProperty(exports, "__esModule", {
|
|
103761
102554
|
value: true
|
|
@@ -103893,9 +102686,9 @@ var require_prompt2 = __commonJS({
|
|
|
103893
102686
|
}
|
|
103894
102687
|
});
|
|
103895
102688
|
|
|
103896
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102689
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
|
|
103897
102690
|
var require_inquirer2 = __commonJS({
|
|
103898
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102691
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
|
|
103899
102692
|
"use strict";
|
|
103900
102693
|
Object.defineProperty(exports, "__esModule", {
|
|
103901
102694
|
value: true
|
|
@@ -103967,9 +102760,9 @@ var require_inquirer2 = __commonJS({
|
|
|
103967
102760
|
}
|
|
103968
102761
|
});
|
|
103969
102762
|
|
|
103970
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102763
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
|
|
103971
102764
|
var require_node7 = __commonJS({
|
|
103972
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102765
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
|
|
103973
102766
|
"use strict";
|
|
103974
102767
|
Object.defineProperty(exports, "__esModule", {
|
|
103975
102768
|
value: true
|
|
@@ -104041,7 +102834,7 @@ var require_node7 = __commonJS({
|
|
|
104041
102834
|
var require_separator2 = __commonJS({
|
|
104042
102835
|
"../../../../node_modules/.pnpm/inquirer@8.1.3/node_modules/inquirer/lib/objects/separator.js"(exports, module2) {
|
|
104043
102836
|
"use strict";
|
|
104044
|
-
var chalk3 =
|
|
102837
|
+
var chalk3 = require_chalk();
|
|
104045
102838
|
var figures = require_figures();
|
|
104046
102839
|
var Separator = class {
|
|
104047
102840
|
constructor(line) {
|
|
@@ -105095,7 +103888,7 @@ var require_base4 = __commonJS({
|
|
|
105095
103888
|
defaults: require_defaults2(),
|
|
105096
103889
|
clone: require_clone()
|
|
105097
103890
|
};
|
|
105098
|
-
var chalk3 =
|
|
103891
|
+
var chalk3 = require_chalk();
|
|
105099
103892
|
var runAsync = require_run_async();
|
|
105100
103893
|
var { filter, flatMap, share, take, takeUntil } = require_operators();
|
|
105101
103894
|
var Choices = require_choices2();
|
|
@@ -105314,7 +104107,7 @@ var require_paginator2 = __commonJS({
|
|
|
105314
104107
|
sum: require_sum(),
|
|
105315
104108
|
flatten: require_flatten()
|
|
105316
104109
|
};
|
|
105317
|
-
var chalk3 =
|
|
104110
|
+
var chalk3 = require_chalk();
|
|
105318
104111
|
var Paginator = class {
|
|
105319
104112
|
constructor(screen, options = {}) {
|
|
105320
104113
|
const { isInfinite = true } = options;
|
|
@@ -105396,7 +104189,7 @@ var require_list3 = __commonJS({
|
|
|
105396
104189
|
findIndex: require_findIndex2(),
|
|
105397
104190
|
isString: require_isString()
|
|
105398
104191
|
};
|
|
105399
|
-
var chalk3 =
|
|
104192
|
+
var chalk3 = require_chalk();
|
|
105400
104193
|
var figures = require_figures();
|
|
105401
104194
|
var cliCursor = require_cli_cursor();
|
|
105402
104195
|
var runAsync = require_run_async();
|
|
@@ -105549,7 +104342,7 @@ var require_list3 = __commonJS({
|
|
|
105549
104342
|
var require_input2 = __commonJS({
|
|
105550
104343
|
"../../../../node_modules/.pnpm/inquirer@8.1.3/node_modules/inquirer/lib/prompts/input.js"(exports, module2) {
|
|
105551
104344
|
"use strict";
|
|
105552
|
-
var chalk3 =
|
|
104345
|
+
var chalk3 = require_chalk();
|
|
105553
104346
|
var { map: map2, takeUntil } = require_operators();
|
|
105554
104347
|
var Base = require_base4();
|
|
105555
104348
|
var observe2 = require_events2();
|
|
@@ -105670,7 +104463,7 @@ var require_confirm2 = __commonJS({
|
|
|
105670
104463
|
extend: require_extend(),
|
|
105671
104464
|
isBoolean: require_isBoolean()
|
|
105672
104465
|
};
|
|
105673
|
-
var chalk3 =
|
|
104466
|
+
var chalk3 = require_chalk();
|
|
105674
104467
|
var { take, takeUntil } = require_operators();
|
|
105675
104468
|
var Base = require_base4();
|
|
105676
104469
|
var observe2 = require_events2();
|
|
@@ -105749,7 +104542,7 @@ var require_rawlist2 = __commonJS({
|
|
|
105749
104542
|
isNumber: require_isNumber(),
|
|
105750
104543
|
findIndex: require_findIndex2()
|
|
105751
104544
|
};
|
|
105752
|
-
var chalk3 =
|
|
104545
|
+
var chalk3 = require_chalk();
|
|
105753
104546
|
var { map: map2, takeUntil } = require_operators();
|
|
105754
104547
|
var Base = require_base4();
|
|
105755
104548
|
var Separator = require_separator2();
|
|
@@ -106070,7 +104863,7 @@ var require_expand3 = __commonJS({
|
|
|
106070
104863
|
isNumber: require_isNumber(),
|
|
106071
104864
|
findIndex: require_findIndex2()
|
|
106072
104865
|
};
|
|
106073
|
-
var chalk3 =
|
|
104866
|
+
var chalk3 = require_chalk();
|
|
106074
104867
|
var { map: map2, takeUntil } = require_operators();
|
|
106075
104868
|
var Base = require_base4();
|
|
106076
104869
|
var Separator = require_separator2();
|
|
@@ -106285,7 +105078,7 @@ var require_checkbox2 = __commonJS({
|
|
|
106285
105078
|
map: require_map2(),
|
|
106286
105079
|
isString: require_isString()
|
|
106287
105080
|
};
|
|
106288
|
-
var chalk3 =
|
|
105081
|
+
var chalk3 = require_chalk();
|
|
106289
105082
|
var cliCursor = require_cli_cursor();
|
|
106290
105083
|
var figures = require_figures();
|
|
106291
105084
|
var { map: map2, takeUntil } = require_operators();
|
|
@@ -106476,7 +105269,7 @@ var require_checkbox2 = __commonJS({
|
|
|
106476
105269
|
var require_password2 = __commonJS({
|
|
106477
105270
|
"../../../../node_modules/.pnpm/inquirer@8.1.3/node_modules/inquirer/lib/prompts/password.js"(exports, module2) {
|
|
106478
105271
|
"use strict";
|
|
106479
|
-
var chalk3 =
|
|
105272
|
+
var chalk3 = require_chalk();
|
|
106480
105273
|
var { map: map2, takeUntil } = require_operators();
|
|
106481
105274
|
var Base = require_base4();
|
|
106482
105275
|
var observe2 = require_events2();
|
|
@@ -106568,7 +105361,7 @@ var require_password2 = __commonJS({
|
|
|
106568
105361
|
var require_editor2 = __commonJS({
|
|
106569
105362
|
"../../../../node_modules/.pnpm/inquirer@8.1.3/node_modules/inquirer/lib/prompts/editor.js"(exports, module2) {
|
|
106570
105363
|
"use strict";
|
|
106571
|
-
var chalk3 =
|
|
105364
|
+
var chalk3 = require_chalk();
|
|
106572
105365
|
var { editAsync } = require_main();
|
|
106573
105366
|
var Base = require_base4();
|
|
106574
105367
|
var observe2 = require_events2();
|
|
@@ -106782,9 +105575,9 @@ var require_node8 = __commonJS({
|
|
|
106782
105575
|
}
|
|
106783
105576
|
});
|
|
106784
105577
|
|
|
106785
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105578
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
|
|
106786
105579
|
var require_zh = __commonJS({
|
|
106787
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105580
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
|
|
106788
105581
|
"use strict";
|
|
106789
105582
|
Object.defineProperty(exports, "__esModule", {
|
|
106790
105583
|
value: true
|
|
@@ -106819,9 +105612,9 @@ var require_zh = __commonJS({
|
|
|
106819
105612
|
}
|
|
106820
105613
|
});
|
|
106821
105614
|
|
|
106822
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105615
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
|
|
106823
105616
|
var require_en = __commonJS({
|
|
106824
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105617
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
|
|
106825
105618
|
"use strict";
|
|
106826
105619
|
Object.defineProperty(exports, "__esModule", {
|
|
106827
105620
|
value: true
|
|
@@ -106856,9 +105649,9 @@ var require_en = __commonJS({
|
|
|
106856
105649
|
}
|
|
106857
105650
|
});
|
|
106858
105651
|
|
|
106859
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105652
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
|
|
106860
105653
|
var require_locale = __commonJS({
|
|
106861
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105654
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
|
|
106862
105655
|
"use strict";
|
|
106863
105656
|
Object.defineProperty(exports, "__esModule", {
|
|
106864
105657
|
value: true
|
|
@@ -106883,9 +105676,9 @@ var require_locale = __commonJS({
|
|
|
106883
105676
|
}
|
|
106884
105677
|
});
|
|
106885
105678
|
|
|
106886
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105679
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
|
|
106887
105680
|
var require_transform2 = __commonJS({
|
|
106888
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105681
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
|
|
106889
105682
|
"use strict";
|
|
106890
105683
|
Object.defineProperty(exports, "__esModule", {
|
|
106891
105684
|
value: true
|
|
@@ -106920,9 +105713,9 @@ var require_transform2 = __commonJS({
|
|
|
106920
105713
|
}
|
|
106921
105714
|
});
|
|
106922
105715
|
|
|
106923
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105716
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
|
|
106924
105717
|
var require_checkUseNvm = __commonJS({
|
|
106925
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105718
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
|
|
106926
105719
|
"use strict";
|
|
106927
105720
|
Object.defineProperty(exports, "__esModule", {
|
|
106928
105721
|
value: true
|
|
@@ -106985,9 +105778,9 @@ var require_checkUseNvm = __commonJS({
|
|
|
106985
105778
|
}
|
|
106986
105779
|
});
|
|
106987
105780
|
|
|
106988
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105781
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
|
|
106989
105782
|
var require_node9 = __commonJS({
|
|
106990
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105783
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
|
|
106991
105784
|
"use strict";
|
|
106992
105785
|
Object.defineProperty(exports, "__esModule", {
|
|
106993
105786
|
value: true
|
|
@@ -107041,13 +105834,13 @@ var require_node9 = __commonJS({
|
|
|
107041
105834
|
var AppAPI2 = class {
|
|
107042
105835
|
constructor(generatorContext, generatorCore) {
|
|
107043
105836
|
_defineProperty14(this, "i18n", _locale.i18n);
|
|
107044
|
-
_defineProperty14(this, "generatorCore", void 0);
|
|
107045
|
-
_defineProperty14(this, "generatorContext", void 0);
|
|
107046
105837
|
_defineProperty14(this, "npmApi", void 0);
|
|
107047
105838
|
_defineProperty14(this, "gitApi", void 0);
|
|
107048
105839
|
_defineProperty14(this, "handlebarsAPI", void 0);
|
|
107049
105840
|
_defineProperty14(this, "ejsAPI", void 0);
|
|
107050
105841
|
_defineProperty14(this, "fsAPI", void 0);
|
|
105842
|
+
_defineProperty14(this, "generatorCore", void 0);
|
|
105843
|
+
_defineProperty14(this, "generatorContext", void 0);
|
|
107051
105844
|
this.generatorCore = generatorCore;
|
|
107052
105845
|
this.generatorContext = generatorContext;
|
|
107053
105846
|
this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
|
|
@@ -107107,6 +105900,7 @@ var require_node9 = __commonJS({
|
|
|
107107
105900
|
yield intallPromise;
|
|
107108
105901
|
this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
|
|
107109
105902
|
} catch (e) {
|
|
105903
|
+
this.generatorCore.logger.warn(e);
|
|
107110
105904
|
this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
|
|
107111
105905
|
command: command || `${packageManager} install`
|
|
107112
105906
|
}));
|
|
@@ -109621,7 +108415,7 @@ var require_fs_extra2 = __commonJS({
|
|
|
109621
108415
|
});
|
|
109622
108416
|
|
|
109623
108417
|
// ../../../toolkit/utils/compiled/chalk/index.js
|
|
109624
|
-
var
|
|
108418
|
+
var require_chalk2 = __commonJS({
|
|
109625
108419
|
"../../../toolkit/utils/compiled/chalk/index.js"(exports, module2) {
|
|
109626
108420
|
(() => {
|
|
109627
108421
|
var e = { 44: (e2, t2, n2) => {
|
|
@@ -114560,7 +113354,7 @@ var require_ora3 = __commonJS({
|
|
|
114560
113354
|
}
|
|
114561
113355
|
}, 234: (e2) => {
|
|
114562
113356
|
"use strict";
|
|
114563
|
-
e2.exports =
|
|
113357
|
+
e2.exports = require_chalk2();
|
|
114564
113358
|
}, 286: (e2) => {
|
|
114565
113359
|
"use strict";
|
|
114566
113360
|
e2.exports = require_strip_ansi3();
|
|
@@ -131815,7 +130609,7 @@ var require_signale2 = __commonJS({
|
|
|
131815
130609
|
};
|
|
131816
130610
|
}, 234: (e2) => {
|
|
131817
130611
|
"use strict";
|
|
131818
|
-
e2.exports =
|
|
130612
|
+
e2.exports = require_chalk2();
|
|
131819
130613
|
}, 684: (e2) => {
|
|
131820
130614
|
"use strict";
|
|
131821
130615
|
e2.exports = require_package4();
|
|
@@ -132538,198 +131332,6 @@ var require_dotenv_expand2 = __commonJS({
|
|
|
132538
131332
|
}
|
|
132539
131333
|
});
|
|
132540
131334
|
|
|
132541
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browsers.js
|
|
132542
|
-
var require_browsers3 = __commonJS({
|
|
132543
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browsers.js"(exports, module2) {
|
|
132544
|
-
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" };
|
|
132545
|
-
}
|
|
132546
|
-
});
|
|
132547
|
-
|
|
132548
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browsers.js
|
|
132549
|
-
var require_browsers4 = __commonJS({
|
|
132550
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browsers.js"(exports, module2) {
|
|
132551
|
-
module2.exports.browsers = require_browsers3();
|
|
132552
|
-
}
|
|
132553
|
-
});
|
|
132554
|
-
|
|
132555
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browserVersions.js
|
|
132556
|
-
var require_browserVersions3 = __commonJS({
|
|
132557
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browserVersions.js"(exports, module2) {
|
|
132558
|
-
module2.exports = { "0": "24", "1": "25", "2": "26", "3": "27", "4": "28", "5": "29", "6": "30", "7": "31", "8": "32", "9": "33", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "110", 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: "109", g: "20", h: "73", i: "96", j: "97", k: "98", l: "99", m: "100", n: "101", o: "102", p: "103", q: "104", r: "105", s: "106", t: "107", u: "108", v: "5", w: "19", x: "21", y: "22", z: "23", AB: "34", BB: "35", CB: "36", DB: "37", EB: "38", FB: "39", GB: "40", HB: "41", IB: "42", JB: "43", KB: "44", LB: "45", MB: "46", NB: "47", OB: "48", PB: "49", QB: "50", RB: "51", SB: "52", TB: "53", UB: "54", VB: "55", WB: "56", XB: "57", YB: "58", ZB: "60", aB: "62", bB: "63", cB: "64", dB: "65", eB: "66", fB: "67", gB: "68", hB: "69", iB: "70", jB: "71", kB: "72", lB: "74", mB: "75", nB: "76", oB: "77", pB: "78", qB: "11.1", rB: "12.1", sB: "16.0", tB: "3", uB: "59", vB: "61", wB: "82", xB: "111", yB: "112", zB: "3.2", "0B": "10.1", "1B": "13.1", "2B": "15.2-15.3", "3B": "15.4", "4B": "15.5", "5B": "15.6", "6B": "16.1", "7B": "16.2", "8B": "16.3", "9B": "16.4", AC: "11.5", BC: "4.2-4.3", CC: "5.5", DC: "2", EC: "3.5", FC: "3.6", GC: "113", HC: "3.1", IC: "5.1", JC: "6.1", KC: "7.1", LC: "9.1", MC: "14.1", NC: "15.1", OC: "TP", PC: "9.5-9.6", QC: "10.0-10.1", RC: "10.5", SC: "10.6", TC: "11.6", UC: "4.0-4.1", VC: "5.0-5.1", WC: "6.0-6.1", XC: "7.0-7.1", YC: "8.1-8.4", ZC: "9.0-9.2", aC: "9.3", bC: "10.0-10.2", cC: "10.3", dC: "11.0-11.2", eC: "11.3-11.4", fC: "12.0-12.1", gC: "12.2-12.5", hC: "13.0-13.1", iC: "13.2", jC: "13.3", kC: "13.4-13.7", lC: "14.0-14.4", mC: "14.5-14.8", nC: "15.0-15.1", oC: "all", pC: "2.1", qC: "2.2", rC: "2.3", sC: "4.1", tC: "4.4", uC: "4.4.3-4.4.4", vC: "13.4", wC: "5.0-5.4", xC: "6.2-6.4", yC: "7.2-7.4", zC: "8.2", "0C": "9.2", "1C": "11.1-11.2", "2C": "12.0", "3C": "13.0", "4C": "14.0", "5C": "15.0", "6C": "17.0", "7C": "18.0", "8C": "19.0", "9C": "13.18", AD: "2.5", BD: "3.0-3.1" };
|
|
132559
|
-
}
|
|
132560
|
-
});
|
|
132561
|
-
|
|
132562
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browserVersions.js
|
|
132563
|
-
var require_browserVersions4 = __commonJS({
|
|
132564
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browserVersions.js"(exports, module2) {
|
|
132565
|
-
module2.exports.browserVersions = require_browserVersions3();
|
|
132566
|
-
}
|
|
132567
|
-
});
|
|
132568
|
-
|
|
132569
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/agents.js
|
|
132570
|
-
var require_agents3 = __commonJS({
|
|
132571
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/agents.js"(exports, module2) {
|
|
132572
|
-
module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0478029, F: 0.0573634, A: 956057e-8, B: 0.487589, CC: 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "CC", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { CC: 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 3861e-6, K: 4267e-6, L: 4268e-6, G: 3861e-6, M: 3702e-6, N: 3861e-6, O: 0.015444, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 7722e-6, U: 3861e-6, V: 3861e-6, W: 3861e-6, X: 3943e-6, Y: 7722e-6, Z: 3943e-6, a: 3943e-6, b: 7722e-6, c: 4118e-6, d: 3939e-6, e: 3943e-6, i: 3943e-6, j: 3943e-6, k: 3929e-6, l: 3901e-6, m: 0.011829, n: 7886e-6, o: 3943e-6, p: 7722e-6, q: 3861e-6, r: 7722e-6, s: 0.011583, t: 0.073359, u: 0.111969, f: 1.66023, H: 2.23552 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 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, i: 1637539200, j: 1641427200, k: 1643932800, l: 1646265600, m: 1649635200, n: 1651190400, o: 1653955200, p: 1655942400, q: 1659657600, r: 1661990400, s: 1664755200, t: 1666915200, u: 1670198400, f: 1673481600, H: 1675900800 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 8786e-6, "1": 4118e-6, "2": 4317e-6, "3": 4393e-6, "4": 4418e-6, "5": 8834e-6, "6": 8322e-6, "7": 8928e-6, "8": 4471e-6, "9": 9284e-6, DC: 4118e-6, tB: 4271e-6, I: 0.011703, v: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7722e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, w: 4443e-6, g: 4283e-6, x: 8322e-6, y: 0.013698, z: 4161e-6, AB: 4707e-6, BB: 9076e-6, CB: 3861e-6, DB: 4783e-6, EB: 3929e-6, FB: 4783e-6, GB: 487e-5, HB: 5029e-6, IB: 47e-4, JB: 0.019305, KB: 3861e-6, LB: 3867e-6, MB: 4525e-6, NB: 4293e-6, OB: 3861e-6, PB: 4538e-6, QB: 8282e-6, RB: 0.011601, SB: 0.046332, TB: 0.011601, UB: 3929e-6, VB: 3974e-6, WB: 3861e-6, XB: 0.011601, YB: 3939e-6, uB: 3861e-6, ZB: 3929e-6, vB: 4356e-6, aB: 4425e-6, bB: 8322e-6, cB: 415e-5, dB: 4267e-6, eB: 3801e-6, fB: 4267e-6, gB: 3861e-6, hB: 415e-5, iB: 4293e-6, jB: 4425e-6, kB: 3861e-6, h: 415e-5, lB: 415e-5, mB: 4318e-6, nB: 4356e-6, oB: 3974e-6, pB: 0.034749, P: 3861e-6, Q: 3861e-6, R: 3861e-6, wB: 3861e-6, S: 3861e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 0.015444, X: 7722e-6, Y: 3943e-6, Z: 3943e-6, a: 0.011583, b: 3801e-6, c: 7722e-6, d: 0.011583, e: 3773e-6, i: 7886e-6, j: 3901e-6, k: 3901e-6, l: 3861e-6, m: 3861e-6, n: 3861e-6, o: 0.096525, p: 0.042471, q: 7722e-6, r: 0.011583, s: 0.015444, t: 0.019305, u: 0.069498, f: 1.22008, H: 0.814671, xB: 7722e-6, yB: 0, EC: 8786e-6, FC: 487e-5 }, B: "moz", C: ["DC", "tB", "EC", "FC", "I", "v", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "w", "g", "x", "y", "z", "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", "uB", "ZB", "vB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "wB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "xB", "yB", ""], E: "Firefox", F: { "0": 1375747200, "1": 1379376e3, "2": 1386633600, "3": 1391472e3, "4": 1395100800, "5": 1398729600, "6": 1402358400, "7": 1405987200, "8": 1409616e3, "9": 1413244800, DC: 1161648e3, tB: 1213660800, EC: 124632e4, FC: 1264032e3, I: 1300752e3, v: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, w: 1357603200, g: 1361232e3, x: 1364860800, y: 1368489600, z: 1372118400, AB: 1417392e3, BB: 1421107200, CB: 1424736e3, DB: 1428278400, EB: 1431475200, FB: 1435881600, GB: 1439251200, HB: 144288e4, IB: 1446508800, JB: 1450137600, KB: 1453852800, LB: 1457395200, MB: 1461628800, NB: 1465257600, OB: 1470096e3, PB: 1474329600, QB: 1479168e3, RB: 1485216e3, SB: 1488844800, TB: 149256e4, UB: 1497312e3, VB: 1502150400, WB: 1506556800, XB: 1510617600, YB: 1516665600, uB: 1520985600, ZB: 1525824e3, vB: 1529971200, aB: 1536105600, bB: 1540252800, cB: 1544486400, dB: 154872e4, eB: 1552953600, fB: 1558396800, gB: 1562630400, hB: 1567468800, iB: 1571788800, jB: 1575331200, kB: 1578355200, h: 1581379200, lB: 1583798400, mB: 1586304e3, nB: 1588636800, oB: 1591056e3, pB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, wB: 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, i: 1641859200, j: 1644364800, k: 1646697600, l: 1649116800, m: 1651536e3, n: 1653955200, o: 1656374400, p: 1658793600, q: 1661212800, r: 1663632e3, s: 1666051200, t: 1668470400, u: 1670889600, f: 1673913600, H: 1676332800, xB: null, yB: null } }, D: { A: { "0": 3939e-6, "1": 4461e-6, "2": 4141e-6, "3": 4326e-6, "4": 47e-4, "5": 4538e-6, "6": 8322e-6, "7": 8596e-6, "8": 4566e-6, "9": 4118e-6, I: 4706e-6, v: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, w: 8322e-6, g: 4393e-6, x: 4317e-6, y: 3901e-6, z: 8786e-6, AB: 3861e-6, BB: 3861e-6, CB: 4335e-6, DB: 4464e-6, EB: 0.015444, FB: 3867e-6, GB: 0.015444, HB: 3773e-6, IB: 3974e-6, JB: 7722e-6, KB: 7948e-6, LB: 3974e-6, MB: 3867e-6, NB: 7722e-6, OB: 0.019305, PB: 0.03861, QB: 3867e-6, RB: 3929e-6, SB: 7722e-6, TB: 7722e-6, UB: 3867e-6, VB: 7722e-6, WB: 0.069498, XB: 3861e-6, YB: 0.015772, uB: 3773e-6, ZB: 0.015444, vB: 7722e-6, aB: 3773e-6, bB: 7722e-6, cB: 3943e-6, dB: 7722e-6, eB: 0.027027, fB: 7722e-6, gB: 0.011583, hB: 0.054054, iB: 0.019305, jB: 0.015444, kB: 0.023166, h: 0.011583, lB: 0.042471, mB: 0.046332, nB: 0.042471, oB: 0.015444, pB: 0.030888, P: 0.127413, Q: 0.03861, R: 0.042471, S: 0.073359, T: 0.042471, U: 0.088803, V: 0.07722, W: 0.081081, X: 0.027027, Y: 0.03861, Z: 0.046332, a: 0.084942, b: 0.050193, c: 0.065637, d: 0.046332, e: 0.019305, i: 0.03861, j: 0.050193, k: 0.092664, l: 0.050193, m: 0.057915, n: 0.061776, o: 0.084942, p: 0.235521, q: 0.084942, r: 0.131274, s: 0.100386, t: 0.19305, u: 0.984555, f: 12.4054, H: 7.25482, xB: 0.015444, yB: 0.019305, GC: 0 }, B: "webkit", C: ["", "", "", "", "", "I", "v", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "w", "g", "x", "y", "z", "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", "uB", "ZB", "vB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "xB", "yB", "GC"], E: "Chrome", F: { "0": 1352246400, "1": 1357862400, "2": 1361404800, "3": 1364428800, "4": 1369094400, "5": 1374105600, "6": 1376956800, "7": 1384214400, "8": 1389657600, "9": 1392940800, I: 1264377600, v: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, w: 1332892800, g: 133704e4, x: 1340668800, y: 1343692800, z: 1348531200, AB: 1397001600, BB: 1400544e3, CB: 1405468800, DB: 1409011200, EB: 141264e4, FB: 1416268800, GB: 1421798400, HB: 1425513600, IB: 1429401600, JB: 143208e4, KB: 1437523200, LB: 1441152e3, MB: 1444780800, NB: 1449014400, OB: 1453248e3, PB: 1456963200, QB: 1460592e3, RB: 1464134400, SB: 1469059200, TB: 1472601600, UB: 1476230400, VB: 1480550400, WB: 1485302400, XB: 1489017600, YB: 149256e4, uB: 1496707200, ZB: 1500940800, vB: 1504569600, aB: 1508198400, bB: 1512518400, cB: 1516752e3, dB: 1520294400, eB: 1523923200, fB: 1527552e3, gB: 1532390400, hB: 1536019200, iB: 1539648e3, jB: 1543968e3, kB: 154872e4, h: 1552348800, lB: 1555977600, mB: 1559606400, nB: 1564444800, oB: 1568073600, pB: 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, i: 1637020800, j: 1641340800, k: 1643673600, l: 1646092800, m: 1648512e3, n: 1650931200, o: 1653350400, p: 1655769600, q: 1659398400, r: 1661817600, s: 1664236800, t: 1666656e3, u: 166968e4, f: 1673308800, H: 1675728e3, xB: null, yB: null, GC: null } }, E: { A: { I: 0, v: 8322e-6, J: 4656e-6, D: 4465e-6, E: 3974e-6, F: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.019305, L: 0.096525, G: 0.023166, HC: 0, zB: 8692e-6, IC: 7722e-6, JC: 456e-5, KC: 4283e-6, LC: 0.057915, "0B": 7802e-6, qB: 7722e-6, rB: 0.030888, "1B": 0.169884, MC: 0.258687, NC: 0.042471, "2B": 0.034749, "3B": 0.088803, "4B": 0.169884, "5B": 0.857142, sB: 0.088803, "6B": 0.293436, "7B": 0.922779, "8B": 0.621621, "9B": 0, OC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "HC", "zB", "I", "v", "IC", "J", "JC", "D", "KC", "E", "F", "LC", "A", "0B", "B", "qB", "C", "rB", "K", "1B", "L", "MC", "G", "NC", "2B", "3B", "4B", "5B", "sB", "6B", "7B", "8B", "9B", "OC", ""], E: "Safari", F: { HC: 1205798400, zB: 1226534400, I: 1244419200, v: 1275868800, IC: 131112e4, J: 1343174400, JC: 13824e5, D: 13824e5, KC: 1410998400, E: 1413417600, F: 1443657600, LC: 1458518400, A: 1474329600, "0B": 1490572800, B: 1505779200, qB: 1522281600, C: 1537142400, rB: 1553472e3, K: 1568851200, "1B": 1585008e3, L: 1600214400, MC: 1619395200, G: 1632096e3, NC: 1635292800, "2B": 1639353600, "3B": 1647216e3, "4B": 1652745600, "5B": 1658275200, sB: 1662940800, "6B": 1666569600, "7B": 1670889600, "8B": 1674432e3, "9B": null, OC: null } }, F: { A: { "0": 6702e-6, "1": 6015e-6, "2": 5595e-6, "3": 4393e-6, "4": 3861e-6, "5": 4879e-6, "6": 4879e-6, "7": 3861e-6, "8": 5152e-6, "9": 5014e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, w: 6015e-6, g: 4879e-6, x: 6597e-6, y: 6597e-6, z: 0.013434, AB: 9758e-6, BB: 4879e-6, CB: 7722e-6, DB: 4283e-6, EB: 4367e-6, FB: 4534e-6, GB: 3861e-6, HB: 4227e-6, IB: 4418e-6, JB: 4161e-6, KB: 4227e-6, LB: 4725e-6, MB: 0.011583, NB: 8942e-6, OB: 4707e-6, PB: 4827e-6, QB: 4707e-6, RB: 4707e-6, SB: 4326e-6, TB: 8922e-6, UB: 0.014349, VB: 4425e-6, WB: 472e-5, XB: 4425e-6, YB: 4425e-6, ZB: 472e-5, aB: 4532e-6, bB: 4566e-6, cB: 0.02283, dB: 867e-5, eB: 4656e-6, fB: 4642e-6, gB: 3929e-6, hB: 944e-5, iB: 4293e-6, jB: 3929e-6, kB: 4298e-6, h: 0.096692, lB: 4201e-6, mB: 4141e-6, nB: 4257e-6, oB: 3939e-6, pB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, wB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 7722e-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: 0.648648, e: 0.370656, PC: 685e-5, QC: 0, RC: 8392e-6, SC: 4706e-6, qB: 6229e-6, AC: 4879e-6, TC: 8786e-6, rB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "PC", "QC", "RC", "SC", "B", "qB", "AC", "TC", "C", "rB", "G", "M", "N", "O", "w", "g", "x", "y", "z", "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", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "wB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "", "", ""], E: "Opera", F: { "0": 1409616e3, "1": 1413331200, "2": 1417132800, "3": 1422316800, "4": 1425945600, "5": 1430179200, "6": 1433808e3, "7": 1438646400, "8": 1442448e3, "9": 1445904e3, F: 1150761600, PC: 1223424e3, QC: 1251763200, RC: 1267488e3, SC: 1277942400, B: 1292457600, qB: 1302566400, AC: 1309219200, TC: 1323129600, C: 1323129600, rB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, w: 1390867200, g: 1393891200, x: 1399334400, y: 1401753600, z: 1405987200, AB: 1449100800, BB: 1454371200, CB: 1457308800, DB: 146232e4, EB: 1465344e3, FB: 1470096e3, GB: 1474329600, HB: 1477267200, IB: 1481587200, JB: 1486425600, KB: 1490054400, LB: 1494374400, MB: 1498003200, NB: 1502236800, OB: 1506470400, PB: 1510099200, QB: 1515024e3, RB: 1517961600, SB: 1521676800, TB: 1525910400, UB: 1530144e3, VB: 1534982400, WB: 1537833600, XB: 1543363200, YB: 1548201600, ZB: 1554768e3, aB: 1561593600, bB: 1566259200, cB: 1570406400, dB: 1573689600, eB: 1578441600, fB: 1583971200, gB: 1587513600, hB: 1592956800, iB: 1595894400, jB: 1600128e3, kB: 1603238400, h: 161352e4, lB: 1612224e3, mB: 1616544e3, nB: 1619568e3, oB: 1623715200, pB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, wB: 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 }, D: { F: "o", B: "o", C: "o", PC: "o", QC: "o", RC: "o", SC: "o", qB: "o", AC: "o", TC: "o", rB: "o" } }, G: { A: { E: 0, zB: 0, UC: 0, BC: 156679e-8, VC: 313358e-8, WC: 313358e-8, XC: 0.0125343, YC: 626717e-8, ZC: 0.0172347, aC: 0.0564045, bC: 470038e-8, cC: 0.0987079, dC: 0.0250687, eC: 0.0235019, fC: 0.0219351, gC: 0.394832, hC: 0.0156679, iC: 0.0360362, jC: 0.0344694, kC: 0.108109, lC: 0.282023, mC: 0.532709, nC: 0.153546, "2B": 0.195849, "3B": 0.233452, "4B": 0.412066, "5B": 1.40071, sB: 1.43988, "6B": 3.51431, "7B": 3.62556, "8B": 2.04623, "9B": 940075e-8 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zB", "UC", "BC", "VC", "WC", "XC", "E", "YC", "ZC", "aC", "bC", "cC", "dC", "eC", "fC", "gC", "hC", "iC", "jC", "kC", "lC", "mC", "nC", "2B", "3B", "4B", "5B", "sB", "6B", "7B", "8B", "9B", "", ""], E: "Safari on iOS", F: { zB: 1270252800, UC: 1283904e3, BC: 1299628800, VC: 1331078400, WC: 1359331200, XC: 1394409600, E: 1410912e3, YC: 1413763200, ZC: 1442361600, aC: 1458518400, bC: 1473724800, cC: 1490572800, dC: 1505779200, eC: 1522281600, fC: 1537142400, gC: 1553472e3, hC: 1568851200, iC: 1572220800, jC: 1580169600, kC: 1585008e3, lC: 1600214400, mC: 1619395200, nC: 1632096e3, "2B": 1639353600, "3B": 1647216e3, "4B": 1652659200, "5B": 1658275200, sB: 1662940800, "6B": 1666569600, "7B": 1670889600, "8B": 1674432e3, "9B": null } }, H: { A: { oC: 0.993853 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "oC", "", "", ""], E: "Opera Mini", F: { oC: 1426464e3 } }, I: { A: { tB: 0, I: 0.019696, f: 0, pC: 0, qC: 0, rC: 0, sC: 0.0787838, BC: 0.0689359, tC: 0, uC: 0.305287 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "pC", "qC", "rC", "tB", "I", "sC", "BC", "tC", "uC", "f", "", "", ""], E: "Android Browser", F: { pC: 1256515200, qC: 1274313600, rC: 1291593600, tB: 1298332800, I: 1318896e3, sC: 1341792e3, BC: 1374624e3, tC: 1386547200, uC: 1401667200, f: 1673568e3 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, h: 0.0111391, qB: 0, AC: 0, rB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "qB", "AC", "C", "rB", "h", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, qB: 1314835200, AC: 1318291200, C: 1330300800, rB: 1349740800, h: 1673827200 }, D: { h: "webkit" } }, L: { A: { H: 42.629 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1675728e3 } }, M: { A: { H: 0.294672 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Firefox for Android", F: { H: 1676332800 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { vC: 0.896294 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "vC", "", "", ""], E: "UC Browser for Android", F: { vC: 1634688e3 }, D: { vC: "webkit" } }, P: { A: { I: 0.166372, g: 0, wC: 0.0103543, xC: 0.010304, yC: 0.0519911, zC: 0.0103584, "0C": 0.0104443, "0B": 0.0105043, "1C": 0.0311947, "2C": 0.0103982, "3C": 0.0311947, "4C": 0.0311947, "5C": 0.0207965, sB: 0.0727876, "6C": 0.0727876, "7C": 0.0935841, "8C": 1.32057 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "wC", "xC", "yC", "zC", "0C", "0B", "1C", "2C", "3C", "4C", "5C", "sB", "6C", "7C", "8C", "g", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, wC: 1481846400, xC: 1509408e3, yC: 1528329600, zC: 1546128e3, "0C": 1554163200, "0B": 1567900800, "1C": 1582588800, "2C": 1593475200, "3C": 1605657600, "4C": 1618531200, "5C": 1629072e3, sB: 1640736e3, "6C": 1651708800, "7C": 1659657600, "8C": 1667260800, g: 1677369600 } }, Q: { A: { "1B": 0.12278 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "1B", "", "", ""], E: "QQ Browser", F: { "1B": 1663718400 } }, R: { A: { "9C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "9C", "", "", ""], E: "Baidu Browser", F: { "9C": 1663027200 } }, S: { A: { AD: 0.079807, BD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "AD", "BD", "", "", ""], E: "KaiOS Browser", F: { AD: 1527811200, BD: 1631664e3 } } };
|
|
132573
|
-
}
|
|
132574
|
-
});
|
|
132575
|
-
|
|
132576
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/agents.js
|
|
132577
|
-
var require_agents4 = __commonJS({
|
|
132578
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/agents.js"(exports, module2) {
|
|
132579
|
-
"use strict";
|
|
132580
|
-
var browsers = require_browsers4().browsers;
|
|
132581
|
-
var versions = require_browserVersions4().browserVersions;
|
|
132582
|
-
var agentsData = require_agents3();
|
|
132583
|
-
function unpackBrowserVersions(versionsData) {
|
|
132584
|
-
return Object.keys(versionsData).reduce((usage, version) => {
|
|
132585
|
-
usage[versions[version]] = versionsData[version];
|
|
132586
|
-
return usage;
|
|
132587
|
-
}, {});
|
|
132588
|
-
}
|
|
132589
|
-
module2.exports.agents = Object.keys(agentsData).reduce((map2, key) => {
|
|
132590
|
-
let versionsData = agentsData[key];
|
|
132591
|
-
map2[browsers[key]] = Object.keys(versionsData).reduce((data, entry) => {
|
|
132592
|
-
if (entry === "A") {
|
|
132593
|
-
data.usage_global = unpackBrowserVersions(versionsData[entry]);
|
|
132594
|
-
} else if (entry === "C") {
|
|
132595
|
-
data.versions = versionsData[entry].reduce((list, version) => {
|
|
132596
|
-
if (version === "") {
|
|
132597
|
-
list.push(null);
|
|
132598
|
-
} else {
|
|
132599
|
-
list.push(versions[version]);
|
|
132600
|
-
}
|
|
132601
|
-
return list;
|
|
132602
|
-
}, []);
|
|
132603
|
-
} else if (entry === "D") {
|
|
132604
|
-
data.prefix_exceptions = unpackBrowserVersions(versionsData[entry]);
|
|
132605
|
-
} else if (entry === "E") {
|
|
132606
|
-
data.browser = versionsData[entry];
|
|
132607
|
-
} else if (entry === "F") {
|
|
132608
|
-
data.release_date = Object.keys(versionsData[entry]).reduce(
|
|
132609
|
-
(map22, key2) => {
|
|
132610
|
-
map22[versions[key2]] = versionsData[entry][key2];
|
|
132611
|
-
return map22;
|
|
132612
|
-
},
|
|
132613
|
-
{}
|
|
132614
|
-
);
|
|
132615
|
-
} else {
|
|
132616
|
-
data.prefix = versionsData[entry];
|
|
132617
|
-
}
|
|
132618
|
-
return data;
|
|
132619
|
-
}, {});
|
|
132620
|
-
return map2;
|
|
132621
|
-
}, {});
|
|
132622
|
-
}
|
|
132623
|
-
});
|
|
132624
|
-
|
|
132625
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/statuses.js
|
|
132626
|
-
var require_statuses2 = __commonJS({
|
|
132627
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/statuses.js"(exports, module2) {
|
|
132628
|
-
module2.exports = {
|
|
132629
|
-
1: "ls",
|
|
132630
|
-
// WHATWG Living Standard
|
|
132631
|
-
2: "rec",
|
|
132632
|
-
// W3C Recommendation
|
|
132633
|
-
3: "pr",
|
|
132634
|
-
// W3C Proposed Recommendation
|
|
132635
|
-
4: "cr",
|
|
132636
|
-
// W3C Candidate Recommendation
|
|
132637
|
-
5: "wd",
|
|
132638
|
-
// W3C Working Draft
|
|
132639
|
-
6: "other",
|
|
132640
|
-
// Non-W3C, but reputable
|
|
132641
|
-
7: "unoff"
|
|
132642
|
-
// Unofficial, Editor's Draft or W3C "Note"
|
|
132643
|
-
};
|
|
132644
|
-
}
|
|
132645
|
-
});
|
|
132646
|
-
|
|
132647
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/supported.js
|
|
132648
|
-
var require_supported2 = __commonJS({
|
|
132649
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/supported.js"(exports, module2) {
|
|
132650
|
-
module2.exports = {
|
|
132651
|
-
y: 1 << 0,
|
|
132652
|
-
n: 1 << 1,
|
|
132653
|
-
a: 1 << 2,
|
|
132654
|
-
p: 1 << 3,
|
|
132655
|
-
u: 1 << 4,
|
|
132656
|
-
x: 1 << 5,
|
|
132657
|
-
d: 1 << 6
|
|
132658
|
-
};
|
|
132659
|
-
}
|
|
132660
|
-
});
|
|
132661
|
-
|
|
132662
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/feature.js
|
|
132663
|
-
var require_feature2 = __commonJS({
|
|
132664
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/feature.js"(exports, module2) {
|
|
132665
|
-
"use strict";
|
|
132666
|
-
var statuses = require_statuses2();
|
|
132667
|
-
var supported = require_supported2();
|
|
132668
|
-
var browsers = require_browsers4().browsers;
|
|
132669
|
-
var versions = require_browserVersions4().browserVersions;
|
|
132670
|
-
var MATH2LOG = Math.log(2);
|
|
132671
|
-
function unpackSupport(cipher) {
|
|
132672
|
-
let stats = Object.keys(supported).reduce((list, support) => {
|
|
132673
|
-
if (cipher & supported[support])
|
|
132674
|
-
list.push(support);
|
|
132675
|
-
return list;
|
|
132676
|
-
}, []);
|
|
132677
|
-
let notes = cipher >> 7;
|
|
132678
|
-
let notesArray = [];
|
|
132679
|
-
while (notes) {
|
|
132680
|
-
let note = Math.floor(Math.log(notes) / MATH2LOG) + 1;
|
|
132681
|
-
notesArray.unshift(`#${note}`);
|
|
132682
|
-
notes -= Math.pow(2, note - 1);
|
|
132683
|
-
}
|
|
132684
|
-
return stats.concat(notesArray).join(" ");
|
|
132685
|
-
}
|
|
132686
|
-
function unpackFeature(packed) {
|
|
132687
|
-
let unpacked = { status: statuses[packed.B], title: packed.C };
|
|
132688
|
-
unpacked.stats = Object.keys(packed.A).reduce((browserStats, key) => {
|
|
132689
|
-
let browser = packed.A[key];
|
|
132690
|
-
browserStats[browsers[key]] = Object.keys(browser).reduce(
|
|
132691
|
-
(stats, support) => {
|
|
132692
|
-
let packedVersions = browser[support].split(" ");
|
|
132693
|
-
let unpacked2 = unpackSupport(support);
|
|
132694
|
-
packedVersions.forEach((v) => stats[versions[v]] = unpacked2);
|
|
132695
|
-
return stats;
|
|
132696
|
-
},
|
|
132697
|
-
{}
|
|
132698
|
-
);
|
|
132699
|
-
return browserStats;
|
|
132700
|
-
}, {});
|
|
132701
|
-
return unpacked;
|
|
132702
|
-
}
|
|
132703
|
-
module2.exports = unpackFeature;
|
|
132704
|
-
module2.exports.default = unpackFeature;
|
|
132705
|
-
}
|
|
132706
|
-
});
|
|
132707
|
-
|
|
132708
|
-
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/region.js
|
|
132709
|
-
var require_region2 = __commonJS({
|
|
132710
|
-
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/region.js"(exports, module2) {
|
|
132711
|
-
"use strict";
|
|
132712
|
-
var browsers = require_browsers4().browsers;
|
|
132713
|
-
function unpackRegion(packed) {
|
|
132714
|
-
return Object.keys(packed).reduce((list, browser) => {
|
|
132715
|
-
let data = packed[browser];
|
|
132716
|
-
list[browsers[browser]] = Object.keys(data).reduce((memo, key) => {
|
|
132717
|
-
let stats = data[key];
|
|
132718
|
-
if (key === "_") {
|
|
132719
|
-
stats.split(" ").forEach((version) => memo[version] = null);
|
|
132720
|
-
} else {
|
|
132721
|
-
memo[key] = stats;
|
|
132722
|
-
}
|
|
132723
|
-
return memo;
|
|
132724
|
-
}, {});
|
|
132725
|
-
return list;
|
|
132726
|
-
}, {});
|
|
132727
|
-
}
|
|
132728
|
-
module2.exports = unpackRegion;
|
|
132729
|
-
module2.exports.default = unpackRegion;
|
|
132730
|
-
}
|
|
132731
|
-
});
|
|
132732
|
-
|
|
132733
131335
|
// ../../../toolkit/utils/compiled/browserslist/index.js
|
|
132734
131336
|
var require_browserslist2 = __commonJS({
|
|
132735
131337
|
"../../../toolkit/utils/compiled/browserslist/index.js"(exports, module2) {
|
|
@@ -133913,13 +132515,13 @@ var require_browserslist2 = __commonJS({
|
|
|
133913
132515
|
e2.exports = webpackEmptyContext;
|
|
133914
132516
|
}, 768: (e2) => {
|
|
133915
132517
|
"use strict";
|
|
133916
|
-
e2.exports =
|
|
132518
|
+
e2.exports = require_agents2();
|
|
133917
132519
|
}, 711: (e2) => {
|
|
133918
132520
|
"use strict";
|
|
133919
|
-
e2.exports =
|
|
132521
|
+
e2.exports = require_feature();
|
|
133920
132522
|
}, 225: (e2) => {
|
|
133921
132523
|
"use strict";
|
|
133922
|
-
e2.exports =
|
|
132524
|
+
e2.exports = require_region();
|
|
133923
132525
|
}, 147: (e2) => {
|
|
133924
132526
|
"use strict";
|
|
133925
132527
|
e2.exports = require("fs");
|
|
@@ -136449,7 +135051,7 @@ var require_compiled2 = __commonJS({
|
|
|
136449
135051
|
var import_ora = __toESM2(require_ora3());
|
|
136450
135052
|
var import_glob = __toESM2(require_glob2());
|
|
136451
135053
|
var import_js_yaml = __toESM2(require_js_yaml2());
|
|
136452
|
-
var import_chalk = __toESM2(
|
|
135054
|
+
var import_chalk = __toESM2(require_chalk2());
|
|
136453
135055
|
var import_debug = __toESM2(require_debug4());
|
|
136454
135056
|
var import_slash = __toESM2(require_slash2());
|
|
136455
135057
|
var import_execa = __toESM2(require_execa2());
|
|
@@ -136679,7 +135281,7 @@ var require_logger4 = __commonJS({
|
|
|
136679
135281
|
logger: () => logger2
|
|
136680
135282
|
});
|
|
136681
135283
|
module2.exports = __toCommonJS2(logger_exports);
|
|
136682
|
-
var import_chalk = __toESM2(
|
|
135284
|
+
var import_chalk = __toESM2(require_chalk2());
|
|
136683
135285
|
var LOG_LEVEL = {
|
|
136684
135286
|
error: 0,
|
|
136685
135287
|
warn: 1,
|
|
@@ -140833,9 +139435,9 @@ var require_dist3 = __commonJS({
|
|
|
140833
139435
|
}
|
|
140834
139436
|
});
|
|
140835
139437
|
|
|
140836
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
139438
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
|
|
140837
139439
|
var require_utils12 = __commonJS({
|
|
140838
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
139440
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
|
|
140839
139441
|
"use strict";
|
|
140840
139442
|
Object.defineProperty(exports, "__esModule", {
|
|
140841
139443
|
value: true
|
|
@@ -140857,9 +139459,9 @@ var require_utils12 = __commonJS({
|
|
|
140857
139459
|
}
|
|
140858
139460
|
});
|
|
140859
139461
|
|
|
140860
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
139462
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
|
|
140861
139463
|
var require_node10 = __commonJS({
|
|
140862
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
139464
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
|
|
140863
139465
|
"use strict";
|
|
140864
139466
|
Object.defineProperty(exports, "__esModule", {
|
|
140865
139467
|
value: true
|
|
@@ -141087,7 +139689,7 @@ var ZH_LOCALE = {
|
|
|
141087
139689
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
141088
139690
|
proxy: "启用「全局代理」",
|
|
141089
139691
|
swc: "启用「SWC 编译」",
|
|
141090
|
-
rspack: "启用「
|
|
139692
|
+
rspack: "启用「Rspack 构建」(实验性)"
|
|
141091
139693
|
},
|
|
141092
139694
|
element: {
|
|
141093
139695
|
self: "创建工程元素",
|
|
@@ -141141,7 +139743,7 @@ var ZH_LOCALE = {
|
|
|
141141
139743
|
buildTools: {
|
|
141142
139744
|
self: "请选择构建工具",
|
|
141143
139745
|
webpack: "webpack",
|
|
141144
|
-
rspack: "
|
|
139746
|
+
rspack: "Rspack (实验性)"
|
|
141145
139747
|
}
|
|
141146
139748
|
};
|
|
141147
139749
|
|
|
@@ -141184,7 +139786,7 @@ var EN_LOCALE = {
|
|
|
141184
139786
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
141185
139787
|
proxy: "Enable Global Proxy",
|
|
141186
139788
|
swc: "Enable SWC Compile",
|
|
141187
|
-
rspack: "Enable
|
|
139789
|
+
rspack: "Enable Rspack Build (experimental)"
|
|
141188
139790
|
},
|
|
141189
139791
|
element: {
|
|
141190
139792
|
self: "Create project element",
|
|
@@ -144066,14 +142668,14 @@ function getGeneratorPath(generator, distTag) {
|
|
|
144066
142668
|
var import_lodash6 = __toESM(require_lodash2());
|
|
144067
142669
|
var import_codesmith2 = __toESM(require_node3());
|
|
144068
142670
|
|
|
144069
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
142671
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
|
|
144070
142672
|
var import_lodash5 = __toESM(require_lodash3());
|
|
144071
142673
|
|
|
144072
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
142674
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
|
|
144073
142675
|
init_esm6();
|
|
144074
142676
|
var import_inquirer = __toESM(require_inquirer());
|
|
144075
142677
|
|
|
144076
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
142678
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/transform.js
|
|
144077
142679
|
var import_lodash4 = __toESM(require_lodash3());
|
|
144078
142680
|
init_esm4();
|
|
144079
142681
|
var _excluded = ["type", "title", "default", "enum", "x-validate"];
|
|
@@ -144234,7 +142836,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
144234
142836
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
144235
142837
|
}
|
|
144236
142838
|
|
|
144237
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
142839
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
|
|
144238
142840
|
function ownKeys3(object, enumerableOnly) {
|
|
144239
142841
|
var keys = Object.keys(object);
|
|
144240
142842
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -144359,7 +142961,7 @@ function prompt(_0) {
|
|
|
144359
142961
|
});
|
|
144360
142962
|
}
|
|
144361
142963
|
|
|
144362
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
142964
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/inquirer.js
|
|
144363
142965
|
function ownKeys4(object, enumerableOnly) {
|
|
144364
142966
|
var keys = Object.keys(object);
|
|
144365
142967
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -144422,7 +143024,7 @@ var CLIReader = class {
|
|
|
144422
143024
|
}
|
|
144423
143025
|
};
|
|
144424
143026
|
|
|
144425
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
143027
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
|
|
144426
143028
|
init_esm4();
|
|
144427
143029
|
function _defineProperty10(obj, key, value) {
|
|
144428
143030
|
if (key in obj) {
|