vite-plugin-vue-devtools 8.0.1 → 8.0.2
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/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-BKb_WVnP.js → IconTitle.vue_vue_type_script_setup_true_lang-B9Nj8PlY.js} +1 -1
- package/client/assets/{SectionBlock-CLZFQW91.js → SectionBlock-BrHcKx8P.js} +1 -1
- package/client/assets/assets-tWZ16yre.js +12 -0
- package/client/assets/{components-BvbJYQUf.js → components-EaHI7FxW.js} +1 -1
- package/client/assets/{custom-inspector-tab-view--RVvY-O-.js → custom-inspector-tab-view-CZIfhGNk.js} +1 -1
- package/client/assets/{custom-tab-view-CM9Q_lnb.js → custom-tab-view-BGjRlmIC.js} +1 -1
- package/client/assets/graph-Dvz7NSzX.js +1068 -0
- package/client/assets/{index-iOTou63J.js → index-CtdYRAx7.js} +119 -119
- package/client/assets/{index-SYP6buex.css → index-DkeGUpKU.css} +1 -1
- package/client/assets/overview-CXo9qbzV.js +1 -0
- package/client/assets/pages-BLZMWMb9.js +1 -0
- package/client/assets/{pinia-CydCddd0.js → pinia-CsnX6hr4.js} +1 -1
- package/client/assets/{router-CjEa9MSq.js → router-BZru8YYb.js} +1 -1
- package/client/assets/settings-C2YlJymx.js +1 -0
- package/client/assets/{timeline-CWTKEViw.js → timeline-B5ZeLLK0.js} +1 -1
- package/client/index.html +2 -2
- package/dist/vite.cjs +122 -156
- package/dist/vite.js +102 -146
- package/package.json +7 -7
- package/src/overlay/devtools-overlay.mjs +4 -4
- package/client/assets/assets-B7zubrMs.js +0 -12
- package/client/assets/graph-Buqn8Jbv.js +0 -1073
- package/client/assets/overview-Cm_cmE96.js +0 -1
- package/client/assets/pages-cKsoKw9g.js +0 -1
- package/client/assets/settings-Dfia6tsi.js +0 -1
package/dist/vite.js
CHANGED
|
@@ -126,7 +126,6 @@ const DIR_CLIENT = resolve(DIR_DIST, "../client");
|
|
|
126
126
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
|
|
127
127
|
var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js": ((exports) => {
|
|
128
128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
129
|
-
exports.splitWhen = exports.flatten = void 0;
|
|
130
129
|
function flatten(items) {
|
|
131
130
|
return items.reduce((collection, item) => [].concat(collection, item), []);
|
|
132
131
|
}
|
|
@@ -147,7 +146,6 @@ var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
147
146
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js
|
|
148
147
|
var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js": ((exports) => {
|
|
149
148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
150
|
-
exports.isEnoentCodeError = void 0;
|
|
151
149
|
function isEnoentCodeError(error) {
|
|
152
150
|
return error.code === "ENOENT";
|
|
153
151
|
}
|
|
@@ -158,7 +156,6 @@ var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
158
156
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js
|
|
159
157
|
var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js": ((exports) => {
|
|
160
158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
161
|
-
exports.createDirentFromStats = void 0;
|
|
162
159
|
var DirentFromStats$1 = class {
|
|
163
160
|
constructor(name, stats) {
|
|
164
161
|
this.name = name;
|
|
@@ -181,7 +178,6 @@ var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
181
178
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js
|
|
182
179
|
var require_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js": ((exports) => {
|
|
183
180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184
|
-
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
185
181
|
const os$1 = __require("os");
|
|
186
182
|
const path$10 = __require("path");
|
|
187
183
|
const IS_WINDOWS_PLATFORM = os$1.platform() === "win32";
|
|
@@ -379,8 +375,7 @@ var require_glob_parent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
379
375
|
* @returns {string}
|
|
380
376
|
*/
|
|
381
377
|
module.exports = function globParent$1(str, opts) {
|
|
382
|
-
|
|
383
|
-
if (options$1.flipBackslashes && isWin32 && str.indexOf(slash) < 0) str = str.replace(backslash, slash);
|
|
378
|
+
if (Object.assign({ flipBackslashes: true }, opts).flipBackslashes && isWin32 && str.indexOf(slash) < 0) str = str.replace(backslash, slash);
|
|
384
379
|
if (enclosure.test(str)) str += slash;
|
|
385
380
|
str += "a";
|
|
386
381
|
do
|
|
@@ -558,8 +553,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
558
553
|
state.maxLen = String(state.max).length;
|
|
559
554
|
}
|
|
560
555
|
if (a < 0) {
|
|
561
|
-
|
|
562
|
-
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
556
|
+
negatives = splitToPatterns(b < 0 ? Math.abs(b) : 1, Math.abs(a), state, opts);
|
|
563
557
|
a = state.a = 0;
|
|
564
558
|
}
|
|
565
559
|
if (b >= 0) positives = splitToPatterns(a, b, state, opts);
|
|
@@ -575,8 +569,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
575
569
|
let onlyNegative = filterPatterns(neg, pos, "-", false, options$1) || [];
|
|
576
570
|
let onlyPositive = filterPatterns(pos, neg, "", false, options$1) || [];
|
|
577
571
|
let intersected = filterPatterns(neg, pos, "-?", true, options$1) || [];
|
|
578
|
-
|
|
579
|
-
return subpatterns.join("|");
|
|
572
|
+
return onlyNegative.concat(intersected).concat(onlyPositive).join("|");
|
|
580
573
|
}
|
|
581
574
|
function splitToRanges(min, max) {
|
|
582
575
|
let nines = 1;
|
|
@@ -777,8 +770,7 @@ var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
777
770
|
});
|
|
778
771
|
let start = String.fromCharCode(a);
|
|
779
772
|
if (a === b) return start;
|
|
780
|
-
|
|
781
|
-
return `[${start}-${stop}]`;
|
|
773
|
+
return `[${start}-${String.fromCharCode(b)}]`;
|
|
782
774
|
};
|
|
783
775
|
const toRegex = (start, end, options$1) => {
|
|
784
776
|
if (Array.isArray(start)) {
|
|
@@ -1205,12 +1197,11 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1205
1197
|
*/
|
|
1206
1198
|
if (value === CHAR_LEFT_CURLY_BRACE$1) {
|
|
1207
1199
|
depth$1++;
|
|
1208
|
-
const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
|
|
1209
1200
|
const brace = {
|
|
1210
1201
|
type: "brace",
|
|
1211
1202
|
open: true,
|
|
1212
1203
|
close: false,
|
|
1213
|
-
dollar,
|
|
1204
|
+
dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === true,
|
|
1214
1205
|
depth: depth$1,
|
|
1215
1206
|
commas: 0,
|
|
1216
1207
|
ranges: 0,
|
|
@@ -1252,8 +1243,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1252
1243
|
if (value === CHAR_COMMA$1 && depth$1 > 0) {
|
|
1253
1244
|
if (block.ranges > 0) {
|
|
1254
1245
|
block.ranges = 0;
|
|
1255
|
-
|
|
1256
|
-
block.nodes = [open, {
|
|
1246
|
+
block.nodes = [block.nodes.shift(), {
|
|
1257
1247
|
type: "text",
|
|
1258
1248
|
value: stringify$1(block)
|
|
1259
1249
|
}];
|
|
@@ -1808,8 +1798,7 @@ var require_scan = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picoma
|
|
|
1808
1798
|
continue;
|
|
1809
1799
|
}
|
|
1810
1800
|
if (opts.noext !== true) {
|
|
1811
|
-
|
|
1812
|
-
if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {
|
|
1801
|
+
if ((code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK) === true && peek() === CHAR_LEFT_PARENTHESES) {
|
|
1813
1802
|
isGlob$1 = token.isGlob = true;
|
|
1814
1803
|
isExtglob$1 = token.isExtglob = true;
|
|
1815
1804
|
finished = true;
|
|
@@ -2151,13 +2140,10 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2151
2140
|
let extglobStar = star;
|
|
2152
2141
|
if (token.inner && token.inner.length > 1 && token.inner.includes("/")) extglobStar = globstar(opts);
|
|
2153
2142
|
if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) output = token.close = `)$))${extglobStar}`;
|
|
2154
|
-
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
}).output;
|
|
2159
|
-
output = token.close = `)${expression})${extglobStar})`;
|
|
2160
|
-
}
|
|
2143
|
+
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) output = token.close = `)${parse$1(rest, {
|
|
2144
|
+
...options$1,
|
|
2145
|
+
fastpaths: false
|
|
2146
|
+
}).output})${extglobStar})`;
|
|
2161
2147
|
if (token.prev.type === "bos") state.negatedExtglob = true;
|
|
2162
2148
|
}
|
|
2163
2149
|
push({
|
|
@@ -2500,8 +2486,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2500
2486
|
* Question marks
|
|
2501
2487
|
*/
|
|
2502
2488
|
if (value === "?") {
|
|
2503
|
-
|
|
2504
|
-
if (!isGroup && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
|
|
2489
|
+
if (!(prev && prev.value === "(") && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
|
|
2505
2490
|
extglobOpen("qmark", value);
|
|
2506
2491
|
continue;
|
|
2507
2492
|
}
|
|
@@ -2980,8 +2965,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
2980
2965
|
* @api public
|
|
2981
2966
|
*/
|
|
2982
2967
|
picomatch$1.matchBase = (input, glob, options$1, posix = utils$11.isWindows(options$1)) => {
|
|
2983
|
-
|
|
2984
|
-
return regex.test(path$7.basename(input));
|
|
2968
|
+
return (glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options$1)).test(path$7.basename(input));
|
|
2985
2969
|
};
|
|
2986
2970
|
/**
|
|
2987
2971
|
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
@@ -3188,8 +3172,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3188
3172
|
if (negated) negatives++;
|
|
3189
3173
|
for (let item of list) {
|
|
3190
3174
|
let matched = isMatch(item, true);
|
|
3191
|
-
|
|
3192
|
-
if (!match) continue;
|
|
3175
|
+
if (!(negated ? !matched.isMatch : matched.isMatch)) continue;
|
|
3193
3176
|
if (negated) omit.add(matched.output);
|
|
3194
3177
|
else {
|
|
3195
3178
|
omit.delete(matched.output);
|
|
@@ -3197,8 +3180,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3197
3180
|
}
|
|
3198
3181
|
}
|
|
3199
3182
|
}
|
|
3200
|
-
let
|
|
3201
|
-
let matches = result.filter((item) => !omit.has(item));
|
|
3183
|
+
let matches = (negatives === patterns.length ? [...items] : [...keep]).filter((item) => !omit.has(item));
|
|
3202
3184
|
if (options$1 && matches.length === 0) {
|
|
3203
3185
|
if (options$1.failglob === true) throw new Error(`No matches found for "${patterns.join(", ")}"`);
|
|
3204
3186
|
if (options$1.nonull === true || options$1.nullglob === true) return options$1.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
|
|
@@ -3444,11 +3426,10 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3444
3426
|
*/
|
|
3445
3427
|
micromatch$1.capture = (glob, input, options$1) => {
|
|
3446
3428
|
let posix = utils$10.isWindows(options$1);
|
|
3447
|
-
let
|
|
3429
|
+
let match = picomatch.makeRe(String(glob), {
|
|
3448
3430
|
...options$1,
|
|
3449
3431
|
capture: true
|
|
3450
|
-
});
|
|
3451
|
-
let match = regex.exec(posix ? utils$10.toPosixSlashes(input) : input);
|
|
3432
|
+
}).exec(posix ? utils$10.toPosixSlashes(input) : input);
|
|
3452
3433
|
if (match) return match.slice(1).map((v) => v === void 0 ? "" : v);
|
|
3453
3434
|
};
|
|
3454
3435
|
/**
|
|
@@ -3541,7 +3522,6 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3541
3522
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
|
|
3542
3523
|
var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js": ((exports) => {
|
|
3543
3524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3544
|
-
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
3545
3525
|
const path$6 = __require("path");
|
|
3546
3526
|
const globParent = require_glob_parent();
|
|
3547
3527
|
const micromatch = require_micromatch();
|
|
@@ -3732,8 +3712,7 @@ var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
3732
3712
|
//#endregion
|
|
3733
3713
|
//#region ../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js
|
|
3734
3714
|
var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js": ((exports, module) => {
|
|
3735
|
-
const
|
|
3736
|
-
const PassThrough = Stream.PassThrough;
|
|
3715
|
+
const PassThrough = __require("stream").PassThrough;
|
|
3737
3716
|
const slice = Array.prototype.slice;
|
|
3738
3717
|
module.exports = merge2$1;
|
|
3739
3718
|
function merge2$1() {
|
|
@@ -3815,7 +3794,6 @@ var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merg
|
|
|
3815
3794
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js
|
|
3816
3795
|
var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js": ((exports) => {
|
|
3817
3796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3818
|
-
exports.merge = void 0;
|
|
3819
3797
|
const merge2 = require_merge2();
|
|
3820
3798
|
function merge(streams) {
|
|
3821
3799
|
const mergedStream = merge2(streams);
|
|
@@ -3836,7 +3814,6 @@ var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fa
|
|
|
3836
3814
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js
|
|
3837
3815
|
var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js": ((exports) => {
|
|
3838
3816
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3839
|
-
exports.isEmpty = exports.isString = void 0;
|
|
3840
3817
|
function isString(input) {
|
|
3841
3818
|
return typeof input === "string";
|
|
3842
3819
|
}
|
|
@@ -3851,7 +3828,6 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast
|
|
|
3851
3828
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js
|
|
3852
3829
|
var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js": ((exports) => {
|
|
3853
3830
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3854
|
-
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
3855
3831
|
const array = require_array();
|
|
3856
3832
|
exports.array = array;
|
|
3857
3833
|
const errno = require_errno();
|
|
@@ -3872,7 +3848,6 @@ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
3872
3848
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js
|
|
3873
3849
|
var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js": ((exports) => {
|
|
3874
3850
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3875
|
-
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
3876
3851
|
const utils$9 = require_utils$1();
|
|
3877
3852
|
function generate(input, settings) {
|
|
3878
3853
|
const patterns = processPatterns(input, settings);
|
|
@@ -3933,19 +3908,16 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
3933
3908
|
}
|
|
3934
3909
|
exports.getPositivePatterns = getPositivePatterns;
|
|
3935
3910
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
3936
|
-
|
|
3937
|
-
const positive = negative.map(utils$9.pattern.convertToPositivePattern);
|
|
3938
|
-
return positive;
|
|
3911
|
+
return utils$9.pattern.getNegativePatterns(patterns).concat(ignore).map(utils$9.pattern.convertToPositivePattern);
|
|
3939
3912
|
}
|
|
3940
3913
|
exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
3941
3914
|
function groupPatternsByBaseDirectory(patterns) {
|
|
3942
|
-
const group = {};
|
|
3943
3915
|
return patterns.reduce((collection, pattern$1) => {
|
|
3944
3916
|
const base = utils$9.pattern.getBaseDirectory(pattern$1);
|
|
3945
3917
|
if (base in collection) collection[base].push(pattern$1);
|
|
3946
3918
|
else collection[base] = [pattern$1];
|
|
3947
3919
|
return collection;
|
|
3948
|
-
},
|
|
3920
|
+
}, {});
|
|
3949
3921
|
}
|
|
3950
3922
|
exports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
3951
3923
|
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
@@ -3970,7 +3942,6 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
3970
3942
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js
|
|
3971
3943
|
var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js": ((exports) => {
|
|
3972
3944
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3973
|
-
exports.read = void 0;
|
|
3974
3945
|
function read$3(path$11, settings, callback) {
|
|
3975
3946
|
settings.fs.lstat(path$11, (lstatError, lstat) => {
|
|
3976
3947
|
if (lstatError !== null) {
|
|
@@ -4008,7 +3979,6 @@ var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4008
3979
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js
|
|
4009
3980
|
var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js": ((exports) => {
|
|
4010
3981
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4011
|
-
exports.read = void 0;
|
|
4012
3982
|
function read$2(path$11, settings) {
|
|
4013
3983
|
const lstat = settings.fs.lstatSync(path$11);
|
|
4014
3984
|
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
|
|
@@ -4028,7 +3998,6 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4028
3998
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
|
|
4029
3999
|
var require_fs$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js": ((exports) => {
|
|
4030
4000
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4031
|
-
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4032
4001
|
const fs$6 = __require("fs");
|
|
4033
4002
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4034
4003
|
lstat: fs$6.lstat,
|
|
@@ -4067,7 +4036,6 @@ var require_settings$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4067
4036
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js
|
|
4068
4037
|
var require_out$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js": ((exports) => {
|
|
4069
4038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4070
|
-
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
4071
4039
|
const async$1 = require_async$5();
|
|
4072
4040
|
const sync$1 = require_sync$5();
|
|
4073
4041
|
const settings_1$3 = require_settings$3();
|
|
@@ -4149,7 +4117,6 @@ var require_run_parallel = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
4149
4117
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js
|
|
4150
4118
|
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js": ((exports) => {
|
|
4151
4119
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4152
|
-
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
4153
4120
|
const NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
4154
4121
|
if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
|
|
4155
4122
|
const MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
|
|
@@ -4168,7 +4135,6 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@
|
|
|
4168
4135
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js
|
|
4169
4136
|
var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js": ((exports) => {
|
|
4170
4137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4171
|
-
exports.createDirentFromStats = void 0;
|
|
4172
4138
|
var DirentFromStats = class {
|
|
4173
4139
|
constructor(name, stats) {
|
|
4174
4140
|
this.name = name;
|
|
@@ -4191,7 +4157,6 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodel
|
|
|
4191
4157
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js
|
|
4192
4158
|
var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js": ((exports) => {
|
|
4193
4159
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4194
|
-
exports.fs = void 0;
|
|
4195
4160
|
const fs$4 = require_fs$1();
|
|
4196
4161
|
exports.fs = fs$4;
|
|
4197
4162
|
}) });
|
|
@@ -4200,7 +4165,6 @@ var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
|
|
|
4200
4165
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js
|
|
4201
4166
|
var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js": ((exports) => {
|
|
4202
4167
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4203
|
-
exports.joinPathSegments = void 0;
|
|
4204
4168
|
function joinPathSegments$1(a, b, separator) {
|
|
4205
4169
|
/**
|
|
4206
4170
|
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
|
|
@@ -4215,7 +4179,6 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
|
|
|
4215
4179
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js
|
|
4216
4180
|
var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js": ((exports) => {
|
|
4217
4181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4218
|
-
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4219
4182
|
const fsStat$5 = require_out$3();
|
|
4220
4183
|
const rpl = require_run_parallel();
|
|
4221
4184
|
const constants_1$1 = require_constants();
|
|
@@ -4321,7 +4284,6 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4321
4284
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js
|
|
4322
4285
|
var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js": ((exports) => {
|
|
4323
4286
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4324
|
-
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4325
4287
|
const fsStat$4 = require_out$3();
|
|
4326
4288
|
const constants_1 = require_constants();
|
|
4327
4289
|
const utils$7 = require_utils();
|
|
@@ -4332,8 +4294,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4332
4294
|
}
|
|
4333
4295
|
exports.read = read;
|
|
4334
4296
|
function readdirWithFileTypes(directory, settings) {
|
|
4335
|
-
|
|
4336
|
-
return dirents.map((dirent) => {
|
|
4297
|
+
return settings.fs.readdirSync(directory, { withFileTypes: true }).map((dirent) => {
|
|
4337
4298
|
const entry = {
|
|
4338
4299
|
dirent,
|
|
4339
4300
|
name: dirent.name,
|
|
@@ -4350,8 +4311,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4350
4311
|
}
|
|
4351
4312
|
exports.readdirWithFileTypes = readdirWithFileTypes;
|
|
4352
4313
|
function readdir(directory, settings) {
|
|
4353
|
-
|
|
4354
|
-
return names.map((name) => {
|
|
4314
|
+
return settings.fs.readdirSync(directory).map((name) => {
|
|
4355
4315
|
const entryPath = common$3.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
4356
4316
|
const stats = fsStat$4.statSync(entryPath, settings.fsStatSettings);
|
|
4357
4317
|
const entry = {
|
|
@@ -4370,7 +4330,6 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4370
4330
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
|
|
4371
4331
|
var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js": ((exports) => {
|
|
4372
4332
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4373
|
-
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4374
4333
|
const fs$3 = __require("fs");
|
|
4375
4334
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4376
4335
|
lstat: fs$3.lstat,
|
|
@@ -4419,7 +4378,6 @@ var require_settings$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4419
4378
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js
|
|
4420
4379
|
var require_out$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js": ((exports) => {
|
|
4421
4380
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4422
|
-
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
4423
4381
|
const async = require_async$4();
|
|
4424
4382
|
const sync = require_sync$4();
|
|
4425
4383
|
const settings_1$2 = require_settings$2();
|
|
@@ -4689,7 +4647,7 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
|
|
|
4689
4647
|
return p;
|
|
4690
4648
|
}
|
|
4691
4649
|
function drained() {
|
|
4692
|
-
|
|
4650
|
+
return new Promise(function(resolve$2) {
|
|
4693
4651
|
process.nextTick(function() {
|
|
4694
4652
|
if (queue.idle()) resolve$2();
|
|
4695
4653
|
else {
|
|
@@ -4702,7 +4660,6 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
|
|
|
4702
4660
|
}
|
|
4703
4661
|
});
|
|
4704
4662
|
});
|
|
4705
|
-
return p;
|
|
4706
4663
|
}
|
|
4707
4664
|
}
|
|
4708
4665
|
module.exports = fastqueue;
|
|
@@ -4713,7 +4670,6 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
|
|
|
4713
4670
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js
|
|
4714
4671
|
var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js": ((exports) => {
|
|
4715
4672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4716
|
-
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
4717
4673
|
function isFatalError(settings, error) {
|
|
4718
4674
|
if (settings.errorFilter === null) return true;
|
|
4719
4675
|
return !settings.errorFilter(error);
|
|
@@ -5014,7 +4970,6 @@ var require_settings$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
5014
4970
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js
|
|
5015
4971
|
var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js": ((exports) => {
|
|
5016
4972
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5017
|
-
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
5018
4973
|
const async_1$2 = require_async$2();
|
|
5019
4974
|
const stream_1$4 = require_stream$2();
|
|
5020
4975
|
const sync_1$2 = require_sync$2();
|
|
@@ -5030,14 +4985,12 @@ var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
|
|
|
5030
4985
|
exports.walk = walk;
|
|
5031
4986
|
function walkSync(directory, optionsOrSettings) {
|
|
5032
4987
|
const settings = getSettings(optionsOrSettings);
|
|
5033
|
-
|
|
5034
|
-
return provider.read();
|
|
4988
|
+
return new sync_1$2.default(directory, settings).read();
|
|
5035
4989
|
}
|
|
5036
4990
|
exports.walkSync = walkSync;
|
|
5037
4991
|
function walkStream(directory, optionsOrSettings) {
|
|
5038
4992
|
const settings = getSettings(optionsOrSettings);
|
|
5039
|
-
|
|
5040
|
-
return provider.read();
|
|
4993
|
+
return new stream_1$4.default(directory, settings).read();
|
|
5041
4994
|
}
|
|
5042
4995
|
exports.walkStream = walkStream;
|
|
5043
4996
|
function getSettings(settingsOrOptions = {}) {
|
|
@@ -5188,10 +5141,8 @@ var require_matcher = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
5188
5141
|
}
|
|
5189
5142
|
}
|
|
5190
5143
|
_getPatternSegments(pattern$1) {
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
const dynamic = utils$5.pattern.isDynamicPattern(part, this._settings);
|
|
5194
|
-
if (!dynamic) return {
|
|
5144
|
+
return utils$5.pattern.getPatternParts(pattern$1, this._micromatchOptions).map((part) => {
|
|
5145
|
+
if (!utils$5.pattern.isDynamicPattern(part, this._settings)) return {
|
|
5195
5146
|
dynamic: false,
|
|
5196
5147
|
pattern: part
|
|
5197
5148
|
};
|
|
@@ -5229,13 +5180,12 @@ var require_partial = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
5229
5180
|
* ^ true/false ^ always true
|
|
5230
5181
|
*/
|
|
5231
5182
|
if (!pattern$1.complete && levels > section.length) return true;
|
|
5232
|
-
|
|
5183
|
+
if (parts.every((part, index) => {
|
|
5233
5184
|
const segment = pattern$1.segments[index];
|
|
5234
5185
|
if (segment.dynamic && segment.patternRe.test(part)) return true;
|
|
5235
5186
|
if (!segment.dynamic && segment.pattern === part) return true;
|
|
5236
5187
|
return false;
|
|
5237
|
-
});
|
|
5238
|
-
if (match) return true;
|
|
5188
|
+
})) return true;
|
|
5239
5189
|
}
|
|
5240
5190
|
return false;
|
|
5241
5191
|
}
|
|
@@ -5342,12 +5292,9 @@ var require_entry$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
5342
5292
|
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
|
5343
5293
|
}
|
|
5344
5294
|
_isMatchToPatternsSet(filepath, patterns, isDirectory) {
|
|
5345
|
-
|
|
5346
|
-
if (
|
|
5347
|
-
|
|
5348
|
-
if (isMatchedByRelativeNegative) return false;
|
|
5349
|
-
const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory);
|
|
5350
|
-
if (isMatchedByAbsoluteNegative) return false;
|
|
5295
|
+
if (!this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory)) return false;
|
|
5296
|
+
if (this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory)) return false;
|
|
5297
|
+
if (this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory)) return false;
|
|
5351
5298
|
return true;
|
|
5352
5299
|
}
|
|
5353
5300
|
_isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory) {
|
|
@@ -5476,8 +5423,7 @@ var require_async = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
5476
5423
|
async read(task) {
|
|
5477
5424
|
const root = this._getRootDirectory(task);
|
|
5478
5425
|
const options$1 = this._getReaderOptions(task);
|
|
5479
|
-
|
|
5480
|
-
return entries.map((entry) => options$1.transform(entry));
|
|
5426
|
+
return (await this.api(root, task, options$1)).map((entry) => options$1.transform(entry));
|
|
5481
5427
|
}
|
|
5482
5428
|
api(root, task, options$1) {
|
|
5483
5429
|
if (task.dynamic) return this._reader.dynamic(root, options$1);
|
|
@@ -5575,8 +5521,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5575
5521
|
read(task) {
|
|
5576
5522
|
const root = this._getRootDirectory(task);
|
|
5577
5523
|
const options$1 = this._getReaderOptions(task);
|
|
5578
|
-
|
|
5579
|
-
return entries.map(options$1.transform);
|
|
5524
|
+
return this.api(root, task, options$1).map(options$1.transform);
|
|
5580
5525
|
}
|
|
5581
5526
|
api(root, task, options$1) {
|
|
5582
5527
|
if (task.dynamic) return this._reader.dynamic(root, options$1);
|
|
@@ -5590,7 +5535,6 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5590
5535
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
|
|
5591
5536
|
var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
|
|
5592
5537
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5593
|
-
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5594
5538
|
const fs$1 = __require("fs");
|
|
5595
5539
|
const os = __require("os");
|
|
5596
5540
|
/**
|
|
@@ -5737,9 +5681,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
|
|
|
5737
5681
|
return tasks.map(provider.read, provider);
|
|
5738
5682
|
}
|
|
5739
5683
|
function assertPatternsInput(input) {
|
|
5740
|
-
|
|
5741
|
-
const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));
|
|
5742
|
-
if (!isValidSource) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
5684
|
+
if (![].concat(input).every((item) => utils.string.isString(item) && !utils.string.isEmpty(item))) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
5743
5685
|
}
|
|
5744
5686
|
module.exports = FastGlob;
|
|
5745
5687
|
}) });
|
|
@@ -5798,8 +5740,7 @@ const ICO = {
|
|
|
5798
5740
|
const reserved = readUInt16LE(input, 0);
|
|
5799
5741
|
const imageCount = readUInt16LE(input, 4);
|
|
5800
5742
|
if (reserved !== 0 || imageCount === 0) return false;
|
|
5801
|
-
|
|
5802
|
-
return imageType === TYPE_ICON;
|
|
5743
|
+
return readUInt16LE(input, 2) === TYPE_ICON;
|
|
5803
5744
|
},
|
|
5804
5745
|
calculate(input) {
|
|
5805
5746
|
const nbImages = readUInt16LE(input, 4);
|
|
@@ -5820,8 +5761,7 @@ const CUR = {
|
|
|
5820
5761
|
const reserved = readUInt16LE(input, 0);
|
|
5821
5762
|
const imageCount = readUInt16LE(input, 4);
|
|
5822
5763
|
if (reserved !== 0 || imageCount === 0) return false;
|
|
5823
|
-
|
|
5824
|
-
return imageType === TYPE_CURSOR;
|
|
5764
|
+
return readUInt16LE(input, 2) === TYPE_CURSOR;
|
|
5825
5765
|
},
|
|
5826
5766
|
calculate: (input) => ICO.calculate(input)
|
|
5827
5767
|
};
|
|
@@ -5930,11 +5870,9 @@ const BoxTypes = {
|
|
|
5930
5870
|
const calculateRREQLength = (box) => {
|
|
5931
5871
|
const unit = box[0];
|
|
5932
5872
|
let offset = 1 + 2 * unit;
|
|
5933
|
-
const
|
|
5934
|
-
const flagsLength = numStdFlags * (2 + unit);
|
|
5873
|
+
const flagsLength = readUInt16BE(box, offset) * (2 + unit);
|
|
5935
5874
|
offset = offset + 2 + flagsLength;
|
|
5936
|
-
const
|
|
5937
|
-
const featuresLength = numVendorFeatures * (16 + unit);
|
|
5875
|
+
const featuresLength = readUInt16BE(box, offset) * (16 + unit);
|
|
5938
5876
|
return offset + 2 + featuresLength;
|
|
5939
5877
|
};
|
|
5940
5878
|
const parseIHDR = (box) => {
|
|
@@ -5957,13 +5895,10 @@ const JP2 = {
|
|
|
5957
5895
|
const signatureLength = readUInt32BE(input, 0);
|
|
5958
5896
|
const ftypBoxLength = readUInt16BE(input, signatureLength + 2);
|
|
5959
5897
|
let offset = signatureLength + 4 + ftypBoxLength;
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
const MAGIC = 4;
|
|
5964
|
-
offset = offset + 4 + MAGIC + calculateRREQLength(input.slice(offset + 4));
|
|
5898
|
+
switch (toHexString(input, offset, offset + 4)) {
|
|
5899
|
+
case BoxTypes.rreq:
|
|
5900
|
+
offset = offset + 4 + 4 + calculateRREQLength(input.slice(offset + 4));
|
|
5965
5901
|
return parseIHDR(input.slice(offset + 8, offset + 24));
|
|
5966
|
-
}
|
|
5967
5902
|
case BoxTypes.jp2h: return parseIHDR(input.slice(offset + 8, offset + 24));
|
|
5968
5903
|
default: throw new TypeError("Unsupported header found: " + toUTF8String(input, offset, offset + 4));
|
|
5969
5904
|
}
|
|
@@ -5987,20 +5922,16 @@ function extractSize(input, index) {
|
|
|
5987
5922
|
};
|
|
5988
5923
|
}
|
|
5989
5924
|
function extractOrientation(exifBlock, isBigEndian) {
|
|
5990
|
-
const
|
|
5991
|
-
const offset = EXIF_HEADER_BYTES + idfOffset;
|
|
5925
|
+
const offset = EXIF_HEADER_BYTES + 8;
|
|
5992
5926
|
const idfDirectoryEntries = readUInt(exifBlock, 16, offset, isBigEndian);
|
|
5993
5927
|
for (let directoryEntryNumber = 0; directoryEntryNumber < idfDirectoryEntries; directoryEntryNumber++) {
|
|
5994
5928
|
const start = offset + NUM_DIRECTORY_ENTRIES_BYTES + directoryEntryNumber * IDF_ENTRY_BYTES;
|
|
5995
5929
|
const end = start + IDF_ENTRY_BYTES;
|
|
5996
5930
|
if (start > exifBlock.length) return;
|
|
5997
5931
|
const block = exifBlock.slice(start, end);
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
if (dataFormat !== 3) return;
|
|
6002
|
-
const numberOfComponents = readUInt(block, 32, 4, isBigEndian);
|
|
6003
|
-
if (numberOfComponents !== 1) return;
|
|
5932
|
+
if (readUInt(block, 16, 0, isBigEndian) === 274) {
|
|
5933
|
+
if (readUInt(block, 16, 2, isBigEndian) !== 3) return;
|
|
5934
|
+
if (readUInt(block, 32, 4, isBigEndian) !== 1) return;
|
|
6004
5935
|
return readUInt(block, 16, 8, isBigEndian);
|
|
6005
5936
|
}
|
|
6006
5937
|
}
|
|
@@ -6009,8 +5940,7 @@ function validateExifBlock(input, index) {
|
|
|
6009
5940
|
const exifBlock = input.slice(APP1_DATA_SIZE_BYTES, index);
|
|
6010
5941
|
const byteAlign = toHexString(exifBlock, EXIF_HEADER_BYTES, EXIF_HEADER_BYTES + TIFF_BYTE_ALIGN_BYTES);
|
|
6011
5942
|
const isBigEndian = byteAlign === BIG_ENDIAN_BYTE_ALIGN;
|
|
6012
|
-
|
|
6013
|
-
if (isBigEndian || isLittleEndian) return extractOrientation(exifBlock, isBigEndian);
|
|
5943
|
+
if (isBigEndian || byteAlign === LITTLE_ENDIAN_BYTE_ALIGN) return extractOrientation(exifBlock, isBigEndian);
|
|
6014
5944
|
}
|
|
6015
5945
|
function validateInput(input, index) {
|
|
6016
5946
|
if (index > input.length) throw new TypeError("Corrupt JPG, exceeded buffer limits");
|
|
@@ -6119,8 +6049,7 @@ const PNM = {
|
|
|
6119
6049
|
const signature = toUTF8String(input, 0, 2);
|
|
6120
6050
|
const type = PNMTypes[signature];
|
|
6121
6051
|
const lines = toUTF8String(input, 3).split(/[\n\r]+/);
|
|
6122
|
-
|
|
6123
|
-
return handler(lines);
|
|
6052
|
+
return (handlers[type] || handlers.default)(lines);
|
|
6124
6053
|
}
|
|
6125
6054
|
};
|
|
6126
6055
|
const PSD = {
|
|
@@ -6152,7 +6081,7 @@ const units = {
|
|
|
6152
6081
|
const unitsReg = /* @__PURE__ */ new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(units).join("|")})?$`);
|
|
6153
6082
|
function parseLength(len) {
|
|
6154
6083
|
const m = unitsReg.exec(len);
|
|
6155
|
-
if (!m) return
|
|
6084
|
+
if (!m) return;
|
|
6156
6085
|
return Math.round(Number(m[1]) * (units[m[2]] || 1));
|
|
6157
6086
|
}
|
|
6158
6087
|
function parseViewbox(viewbox) {
|
|
@@ -6225,8 +6154,7 @@ function readIFD(buffer, isBigEndian) {
|
|
|
6225
6154
|
}
|
|
6226
6155
|
function readValue(buffer, isBigEndian) {
|
|
6227
6156
|
const low = readUInt(buffer, 16, 8, isBigEndian);
|
|
6228
|
-
|
|
6229
|
-
return (high << 16) + low;
|
|
6157
|
+
return (readUInt(buffer, 16, 10, isBigEndian) << 16) + low;
|
|
6230
6158
|
}
|
|
6231
6159
|
function nextTag(buffer) {
|
|
6232
6160
|
if (buffer.length > 24) return buffer.slice(12);
|
|
@@ -6326,8 +6254,7 @@ const AVIF = {
|
|
|
6326
6254
|
function findBox(input, type, startOffset = 0, endOffset = input.length) {
|
|
6327
6255
|
for (let offset = startOffset; offset < endOffset;) {
|
|
6328
6256
|
const size = readUInt32BE(input, offset);
|
|
6329
|
-
|
|
6330
|
-
if (boxType === type) return {
|
|
6257
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) return {
|
|
6331
6258
|
offset,
|
|
6332
6259
|
size
|
|
6333
6260
|
};
|
|
@@ -6427,8 +6354,7 @@ const join = function(...segments) {
|
|
|
6427
6354
|
if (path$11.length > 0) {
|
|
6428
6355
|
const pathTrailing = path$11[path$11.length - 1] === "/";
|
|
6429
6356
|
const segLeading = seg[0] === "/";
|
|
6430
|
-
|
|
6431
|
-
if (both) path$11 += seg.slice(1);
|
|
6357
|
+
if (pathTrailing && segLeading) path$11 += seg.slice(1);
|
|
6432
6358
|
else path$11 += pathTrailing || segLeading ? seg : `/${seg}`;
|
|
6433
6359
|
} else path$11 += seg;
|
|
6434
6360
|
}
|
|
@@ -6519,8 +6445,26 @@ const relative = function(from, to) {
|
|
|
6519
6445
|
};
|
|
6520
6446
|
|
|
6521
6447
|
//#endregion
|
|
6522
|
-
//#region ../../node_modules/.pnpm/perfect-debounce@
|
|
6448
|
+
//#region ../../node_modules/.pnpm/perfect-debounce@2.0.0/node_modules/perfect-debounce/dist/index.mjs
|
|
6523
6449
|
const DEBOUNCE_DEFAULTS = { trailing: true };
|
|
6450
|
+
/**
|
|
6451
|
+
Debounce functions
|
|
6452
|
+
@param fn - Promise-returning/async function to debounce.
|
|
6453
|
+
@param wait - Milliseconds to wait before calling `fn`. Default value is 25ms
|
|
6454
|
+
@returns A function that delays calling `fn` until after `wait` milliseconds have elapsed since the last time it was called.
|
|
6455
|
+
@example
|
|
6456
|
+
```
|
|
6457
|
+
import { debounce } from 'perfect-debounce';
|
|
6458
|
+
const expensiveCall = async input => input;
|
|
6459
|
+
const debouncedFn = debounce(expensiveCall, 200);
|
|
6460
|
+
for (const number of [1, 2, 3]) {
|
|
6461
|
+
console.log(await debouncedFn(number));
|
|
6462
|
+
}
|
|
6463
|
+
//=> 1
|
|
6464
|
+
//=> 2
|
|
6465
|
+
//=> 3
|
|
6466
|
+
```
|
|
6467
|
+
*/
|
|
6524
6468
|
function debounce(fn, wait = 25, options$1 = {}) {
|
|
6525
6469
|
options$1 = {
|
|
6526
6470
|
...DEBOUNCE_DEFAULTS,
|
|
@@ -6544,17 +6488,16 @@ function debounce(fn, wait = 25, options$1 = {}) {
|
|
|
6544
6488
|
});
|
|
6545
6489
|
return currentPromise;
|
|
6546
6490
|
};
|
|
6547
|
-
|
|
6548
|
-
if (
|
|
6549
|
-
|
|
6550
|
-
return currentPromise;
|
|
6551
|
-
}
|
|
6491
|
+
const debounced = function(...args) {
|
|
6492
|
+
if (options$1.trailing) trailingArgs = args;
|
|
6493
|
+
if (currentPromise) return currentPromise;
|
|
6552
6494
|
return new Promise((resolve$2) => {
|
|
6553
6495
|
const shouldCallNow = !timeout && options$1.leading;
|
|
6554
6496
|
clearTimeout(timeout);
|
|
6555
6497
|
timeout = setTimeout(() => {
|
|
6556
6498
|
timeout = null;
|
|
6557
6499
|
const promise$1 = options$1.leading ? leadingValue : applyFn(this, args);
|
|
6500
|
+
trailingArgs = null;
|
|
6558
6501
|
for (const _resolve of resolveList) _resolve(promise$1);
|
|
6559
6502
|
resolveList = [];
|
|
6560
6503
|
}, wait);
|
|
@@ -6564,6 +6507,26 @@ function debounce(fn, wait = 25, options$1 = {}) {
|
|
|
6564
6507
|
} else resolveList.push(resolve$2);
|
|
6565
6508
|
});
|
|
6566
6509
|
};
|
|
6510
|
+
const _clearTimeout = (timer) => {
|
|
6511
|
+
if (timer) {
|
|
6512
|
+
clearTimeout(timer);
|
|
6513
|
+
timeout = null;
|
|
6514
|
+
}
|
|
6515
|
+
};
|
|
6516
|
+
debounced.isPending = () => !!timeout;
|
|
6517
|
+
debounced.cancel = () => {
|
|
6518
|
+
_clearTimeout(timeout);
|
|
6519
|
+
resolveList = [];
|
|
6520
|
+
trailingArgs = null;
|
|
6521
|
+
};
|
|
6522
|
+
debounced.flush = () => {
|
|
6523
|
+
_clearTimeout(timeout);
|
|
6524
|
+
if (!trailingArgs || currentPromise) return;
|
|
6525
|
+
const args = trailingArgs;
|
|
6526
|
+
trailingArgs = null;
|
|
6527
|
+
return applyFn(this, args);
|
|
6528
|
+
};
|
|
6529
|
+
return debounced;
|
|
6567
6530
|
}
|
|
6568
6531
|
async function _applyPromised(fn, _this, args) {
|
|
6569
6532
|
return await fn.apply(_this, args);
|
|
@@ -6626,8 +6589,7 @@ function getAssetsFunctions(ctx) {
|
|
|
6626
6589
|
}
|
|
6627
6590
|
async function getAssetImporters(url) {
|
|
6628
6591
|
const importers = [];
|
|
6629
|
-
const
|
|
6630
|
-
const module$1 = await moduleGraph.getModuleByUrl(url);
|
|
6592
|
+
const module$1 = await server.moduleGraph.getModuleByUrl(url);
|
|
6631
6593
|
if (module$1) for (const importer of module$1.importers) importers.push({
|
|
6632
6594
|
url: importer.url,
|
|
6633
6595
|
id: importer.id
|
|
@@ -6657,16 +6619,15 @@ function getAssetsFunctions(ctx) {
|
|
|
6657
6619
|
} catch (e) {
|
|
6658
6620
|
_imageMetaCache.set(filepath, void 0);
|
|
6659
6621
|
console.error(e);
|
|
6660
|
-
return
|
|
6622
|
+
return;
|
|
6661
6623
|
}
|
|
6662
6624
|
},
|
|
6663
6625
|
async getTextAssetContent(filepath, limit = 300) {
|
|
6664
6626
|
try {
|
|
6665
|
-
|
|
6666
|
-
return content.slice(0, limit);
|
|
6627
|
+
return (await fsp.readFile(filepath, "utf-8")).slice(0, limit);
|
|
6667
6628
|
} catch (e) {
|
|
6668
6629
|
console.error(e);
|
|
6669
|
-
return
|
|
6630
|
+
return;
|
|
6670
6631
|
}
|
|
6671
6632
|
}
|
|
6672
6633
|
};
|
|
@@ -6701,7 +6662,7 @@ function getGraphFunctions(ctx) {
|
|
|
6701
6662
|
const filteredModules = modules.filter((m) => {
|
|
6702
6663
|
return m.id.match(/\.(vue|js|ts|jsx|tsx|html|json)($|\?v=)/);
|
|
6703
6664
|
});
|
|
6704
|
-
|
|
6665
|
+
return filteredModules.map((i) => {
|
|
6705
6666
|
function searchForVueDeps(id, seen = /* @__PURE__ */ new Set()) {
|
|
6706
6667
|
if (seen.has(id)) return [];
|
|
6707
6668
|
seen.add(id);
|
|
@@ -6717,7 +6678,6 @@ function getGraphFunctions(ctx) {
|
|
|
6717
6678
|
deps: searchForVueDeps(i.id)
|
|
6718
6679
|
};
|
|
6719
6680
|
});
|
|
6720
|
-
return graph;
|
|
6721
6681
|
} };
|
|
6722
6682
|
}
|
|
6723
6683
|
|
|
@@ -6743,8 +6703,7 @@ function removeUrlQuery(url) {
|
|
|
6743
6703
|
//#endregion
|
|
6744
6704
|
//#region src/vite.ts
|
|
6745
6705
|
function getVueDevtoolsPath() {
|
|
6746
|
-
|
|
6747
|
-
return pluginPath.replace(/\/dist$/, "//src");
|
|
6706
|
+
return normalizePath(path.dirname(fileURLToPath(import.meta.url))).replace(/\/dist$/, "//src");
|
|
6748
6707
|
}
|
|
6749
6708
|
const toggleComboKeysMap = {
|
|
6750
6709
|
option: process.platform === "darwin" ? "Option(⌥)" : "Alt(⌥)",
|
|
@@ -6815,10 +6774,7 @@ function VitePluginVueDevTools(options$1) {
|
|
|
6815
6774
|
},
|
|
6816
6775
|
async resolveId(importee) {
|
|
6817
6776
|
if (importee === devtoolsOptionsImportee) return resolvedDevtoolsOptions;
|
|
6818
|
-
else if (importee.startsWith("virtual:vue-devtools-path:")) {
|
|
6819
|
-
const resolved = importee.replace("virtual:vue-devtools-path:", `${vueDevtoolsPath}/`);
|
|
6820
|
-
return `${resolved}${devtoolsNextResourceSymbol}`;
|
|
6821
|
-
}
|
|
6777
|
+
else if (importee.startsWith("virtual:vue-devtools-path:")) return `${importee.replace("virtual:vue-devtools-path:", `${vueDevtoolsPath}/`)}${devtoolsNextResourceSymbol}`;
|
|
6822
6778
|
},
|
|
6823
6779
|
async load(id) {
|
|
6824
6780
|
if (id === resolvedDevtoolsOptions) return `export default ${JSON.stringify({
|