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.
Files changed (25) hide show
  1. 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
  2. package/client/assets/{SectionBlock-CLZFQW91.js → SectionBlock-BrHcKx8P.js} +1 -1
  3. package/client/assets/assets-tWZ16yre.js +12 -0
  4. package/client/assets/{components-BvbJYQUf.js → components-EaHI7FxW.js} +1 -1
  5. package/client/assets/{custom-inspector-tab-view--RVvY-O-.js → custom-inspector-tab-view-CZIfhGNk.js} +1 -1
  6. package/client/assets/{custom-tab-view-CM9Q_lnb.js → custom-tab-view-BGjRlmIC.js} +1 -1
  7. package/client/assets/graph-Dvz7NSzX.js +1068 -0
  8. package/client/assets/{index-iOTou63J.js → index-CtdYRAx7.js} +119 -119
  9. package/client/assets/{index-SYP6buex.css → index-DkeGUpKU.css} +1 -1
  10. package/client/assets/overview-CXo9qbzV.js +1 -0
  11. package/client/assets/pages-BLZMWMb9.js +1 -0
  12. package/client/assets/{pinia-CydCddd0.js → pinia-CsnX6hr4.js} +1 -1
  13. package/client/assets/{router-CjEa9MSq.js → router-BZru8YYb.js} +1 -1
  14. package/client/assets/settings-C2YlJymx.js +1 -0
  15. package/client/assets/{timeline-CWTKEViw.js → timeline-B5ZeLLK0.js} +1 -1
  16. package/client/index.html +2 -2
  17. package/dist/vite.cjs +122 -156
  18. package/dist/vite.js +102 -146
  19. package/package.json +7 -7
  20. package/src/overlay/devtools-overlay.mjs +4 -4
  21. package/client/assets/assets-B7zubrMs.js +0 -12
  22. package/client/assets/graph-Buqn8Jbv.js +0 -1073
  23. package/client/assets/overview-Cm_cmE96.js +0 -1
  24. package/client/assets/pages-cKsoKw9g.js +0 -1
  25. package/client/assets/settings-Dfia6tsi.js +0 -1
package/dist/vite.cjs CHANGED
@@ -24,16 +24,26 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  }) : target, mod));
25
25
 
26
26
  //#endregion
27
- const node_fs = __toESM(require("node:fs"));
28
- const node_path = __toESM(require("node:path"));
29
- const node_url = __toESM(require("node:url"));
30
- const __vue_devtools_core = __toESM(require("@vue/devtools-core"));
31
- const __vue_devtools_kit = __toESM(require("@vue/devtools-kit"));
32
- const sirv = __toESM(require("sirv"));
33
- const vite = __toESM(require("vite"));
34
- const vite_plugin_inspect = __toESM(require("vite-plugin-inspect"));
35
- const vite_plugin_vue_inspector = __toESM(require("vite-plugin-vue-inspector"));
36
- const node_fs_promises = __toESM(require("node:fs/promises"));
27
+ let node_fs = require("node:fs");
28
+ node_fs = __toESM(node_fs);
29
+ let node_path = require("node:path");
30
+ node_path = __toESM(node_path);
31
+ let node_url = require("node:url");
32
+ node_url = __toESM(node_url);
33
+ let __vue_devtools_core = require("@vue/devtools-core");
34
+ __vue_devtools_core = __toESM(__vue_devtools_core);
35
+ let __vue_devtools_kit = require("@vue/devtools-kit");
36
+ __vue_devtools_kit = __toESM(__vue_devtools_kit);
37
+ let sirv = require("sirv");
38
+ sirv = __toESM(sirv);
39
+ let vite = require("vite");
40
+ vite = __toESM(vite);
41
+ let vite_plugin_inspect = require("vite-plugin-inspect");
42
+ vite_plugin_inspect = __toESM(vite_plugin_inspect);
43
+ let vite_plugin_vue_inspector = require("vite-plugin-vue-inspector");
44
+ vite_plugin_vue_inspector = __toESM(vite_plugin_vue_inspector);
45
+ let node_fs_promises = require("node:fs/promises");
46
+ node_fs_promises = __toESM(node_fs_promises);
37
47
 
38
48
  //#region ../../node_modules/.pnpm/kolorist@1.8.0/node_modules/kolorist/dist/esm/index.mjs
39
49
  let enabled = true;
@@ -124,7 +134,6 @@ const DIR_CLIENT = (0, node_path.resolve)(DIR_DIST, "../client");
124
134
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
125
135
  var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js": ((exports) => {
126
136
  Object.defineProperty(exports, "__esModule", { value: true });
127
- exports.splitWhen = exports.flatten = void 0;
128
137
  function flatten(items) {
129
138
  return items.reduce((collection, item) => [].concat(collection, item), []);
130
139
  }
@@ -145,7 +154,6 @@ var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
145
154
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js
146
155
  var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js": ((exports) => {
147
156
  Object.defineProperty(exports, "__esModule", { value: true });
148
- exports.isEnoentCodeError = void 0;
149
157
  function isEnoentCodeError(error) {
150
158
  return error.code === "ENOENT";
151
159
  }
@@ -156,7 +164,6 @@ var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
156
164
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js
157
165
  var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js": ((exports) => {
158
166
  Object.defineProperty(exports, "__esModule", { value: true });
159
- exports.createDirentFromStats = void 0;
160
167
  var DirentFromStats$1 = class {
161
168
  constructor(name, stats) {
162
169
  this.name = name;
@@ -179,7 +186,6 @@ var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
179
186
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js
180
187
  var require_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js": ((exports) => {
181
188
  Object.defineProperty(exports, "__esModule", { value: true });
182
- exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
183
189
  const os$1 = require("os");
184
190
  const path$10 = require("path");
185
191
  const IS_WINDOWS_PLATFORM = os$1.platform() === "win32";
@@ -377,8 +383,7 @@ var require_glob_parent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
377
383
  * @returns {string}
378
384
  */
379
385
  module.exports = function globParent$1(str, opts) {
380
- var options$1 = Object.assign({ flipBackslashes: true }, opts);
381
- if (options$1.flipBackslashes && isWin32 && str.indexOf(slash) < 0) str = str.replace(backslash, slash);
386
+ if (Object.assign({ flipBackslashes: true }, opts).flipBackslashes && isWin32 && str.indexOf(slash) < 0) str = str.replace(backslash, slash);
382
387
  if (enclosure.test(str)) str += slash;
383
388
  str += "a";
384
389
  do
@@ -556,8 +561,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
556
561
  state.maxLen = String(state.max).length;
557
562
  }
558
563
  if (a < 0) {
559
- let newMin = b < 0 ? Math.abs(b) : 1;
560
- negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
564
+ negatives = splitToPatterns(b < 0 ? Math.abs(b) : 1, Math.abs(a), state, opts);
561
565
  a = state.a = 0;
562
566
  }
563
567
  if (b >= 0) positives = splitToPatterns(a, b, state, opts);
@@ -573,8 +577,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
573
577
  let onlyNegative = filterPatterns(neg, pos, "-", false, options$1) || [];
574
578
  let onlyPositive = filterPatterns(pos, neg, "", false, options$1) || [];
575
579
  let intersected = filterPatterns(neg, pos, "-?", true, options$1) || [];
576
- let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
577
- return subpatterns.join("|");
580
+ return onlyNegative.concat(intersected).concat(onlyPositive).join("|");
578
581
  }
579
582
  function splitToRanges(min, max) {
580
583
  let nines = 1;
@@ -775,8 +778,7 @@ var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
775
778
  });
776
779
  let start = String.fromCharCode(a);
777
780
  if (a === b) return start;
778
- let stop = String.fromCharCode(b);
779
- return `[${start}-${stop}]`;
781
+ return `[${start}-${String.fromCharCode(b)}]`;
780
782
  };
781
783
  const toRegex = (start, end, options$1) => {
782
784
  if (Array.isArray(start)) {
@@ -1203,12 +1205,11 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
1203
1205
  */
1204
1206
  if (value === CHAR_LEFT_CURLY_BRACE$1) {
1205
1207
  depth$1++;
1206
- const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
1207
1208
  const brace = {
1208
1209
  type: "brace",
1209
1210
  open: true,
1210
1211
  close: false,
1211
- dollar,
1212
+ dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === true,
1212
1213
  depth: depth$1,
1213
1214
  commas: 0,
1214
1215
  ranges: 0,
@@ -1250,8 +1251,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
1250
1251
  if (value === CHAR_COMMA$1 && depth$1 > 0) {
1251
1252
  if (block.ranges > 0) {
1252
1253
  block.ranges = 0;
1253
- const open = block.nodes.shift();
1254
- block.nodes = [open, {
1254
+ block.nodes = [block.nodes.shift(), {
1255
1255
  type: "text",
1256
1256
  value: stringify$1(block)
1257
1257
  }];
@@ -1806,8 +1806,7 @@ var require_scan = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picoma
1806
1806
  continue;
1807
1807
  }
1808
1808
  if (opts.noext !== true) {
1809
- const isExtglobChar = code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK;
1810
- if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {
1809
+ if ((code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK) === true && peek() === CHAR_LEFT_PARENTHESES) {
1811
1810
  isGlob$1 = token.isGlob = true;
1812
1811
  isExtglob$1 = token.isExtglob = true;
1813
1812
  finished = true;
@@ -2149,13 +2148,10 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2149
2148
  let extglobStar = star;
2150
2149
  if (token.inner && token.inner.length > 1 && token.inner.includes("/")) extglobStar = globstar(opts);
2151
2150
  if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) output = token.close = `)$))${extglobStar}`;
2152
- if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
2153
- const expression = parse$1(rest, {
2154
- ...options$1,
2155
- fastpaths: false
2156
- }).output;
2157
- output = token.close = `)${expression})${extglobStar})`;
2158
- }
2151
+ if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) output = token.close = `)${parse$1(rest, {
2152
+ ...options$1,
2153
+ fastpaths: false
2154
+ }).output})${extglobStar})`;
2159
2155
  if (token.prev.type === "bos") state.negatedExtglob = true;
2160
2156
  }
2161
2157
  push({
@@ -2498,8 +2494,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2498
2494
  * Question marks
2499
2495
  */
2500
2496
  if (value === "?") {
2501
- const isGroup = prev && prev.value === "(";
2502
- if (!isGroup && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
2497
+ if (!(prev && prev.value === "(") && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
2503
2498
  extglobOpen("qmark", value);
2504
2499
  continue;
2505
2500
  }
@@ -2978,8 +2973,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
2978
2973
  * @api public
2979
2974
  */
2980
2975
  picomatch$1.matchBase = (input, glob, options$1, posix = utils$11.isWindows(options$1)) => {
2981
- const regex = glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options$1);
2982
- return regex.test(path$7.basename(input));
2976
+ return (glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options$1)).test(path$7.basename(input));
2983
2977
  };
2984
2978
  /**
2985
2979
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
@@ -3186,8 +3180,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3186
3180
  if (negated) negatives++;
3187
3181
  for (let item of list) {
3188
3182
  let matched = isMatch(item, true);
3189
- let match = negated ? !matched.isMatch : matched.isMatch;
3190
- if (!match) continue;
3183
+ if (!(negated ? !matched.isMatch : matched.isMatch)) continue;
3191
3184
  if (negated) omit.add(matched.output);
3192
3185
  else {
3193
3186
  omit.delete(matched.output);
@@ -3195,8 +3188,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3195
3188
  }
3196
3189
  }
3197
3190
  }
3198
- let result = negatives === patterns.length ? [...items] : [...keep];
3199
- let matches = result.filter((item) => !omit.has(item));
3191
+ let matches = (negatives === patterns.length ? [...items] : [...keep]).filter((item) => !omit.has(item));
3200
3192
  if (options$1 && matches.length === 0) {
3201
3193
  if (options$1.failglob === true) throw new Error(`No matches found for "${patterns.join(", ")}"`);
3202
3194
  if (options$1.nonull === true || options$1.nullglob === true) return options$1.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
@@ -3442,11 +3434,10 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3442
3434
  */
3443
3435
  micromatch$1.capture = (glob, input, options$1) => {
3444
3436
  let posix = utils$10.isWindows(options$1);
3445
- let regex = picomatch.makeRe(String(glob), {
3437
+ let match = picomatch.makeRe(String(glob), {
3446
3438
  ...options$1,
3447
3439
  capture: true
3448
- });
3449
- let match = regex.exec(posix ? utils$10.toPosixSlashes(input) : input);
3440
+ }).exec(posix ? utils$10.toPosixSlashes(input) : input);
3450
3441
  if (match) return match.slice(1).map((v) => v === void 0 ? "" : v);
3451
3442
  };
3452
3443
  /**
@@ -3539,7 +3530,6 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3539
3530
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
3540
3531
  var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js": ((exports) => {
3541
3532
  Object.defineProperty(exports, "__esModule", { value: true });
3542
- 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;
3543
3533
  const path$6 = require("path");
3544
3534
  const globParent = require_glob_parent();
3545
3535
  const micromatch = require_micromatch();
@@ -3730,8 +3720,7 @@ var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
3730
3720
  //#endregion
3731
3721
  //#region ../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js
3732
3722
  var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js": ((exports, module) => {
3733
- const Stream = require("stream");
3734
- const PassThrough = Stream.PassThrough;
3723
+ const PassThrough = require("stream").PassThrough;
3735
3724
  const slice = Array.prototype.slice;
3736
3725
  module.exports = merge2$1;
3737
3726
  function merge2$1() {
@@ -3813,7 +3802,6 @@ var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merg
3813
3802
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js
3814
3803
  var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js": ((exports) => {
3815
3804
  Object.defineProperty(exports, "__esModule", { value: true });
3816
- exports.merge = void 0;
3817
3805
  const merge2 = require_merge2();
3818
3806
  function merge(streams) {
3819
3807
  const mergedStream = merge2(streams);
@@ -3834,7 +3822,6 @@ var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fa
3834
3822
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js
3835
3823
  var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js": ((exports) => {
3836
3824
  Object.defineProperty(exports, "__esModule", { value: true });
3837
- exports.isEmpty = exports.isString = void 0;
3838
3825
  function isString(input) {
3839
3826
  return typeof input === "string";
3840
3827
  }
@@ -3849,7 +3836,6 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast
3849
3836
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js
3850
3837
  var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js": ((exports) => {
3851
3838
  Object.defineProperty(exports, "__esModule", { value: true });
3852
- exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
3853
3839
  const array = require_array();
3854
3840
  exports.array = array;
3855
3841
  const errno = require_errno();
@@ -3870,7 +3856,6 @@ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
3870
3856
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js
3871
3857
  var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js": ((exports) => {
3872
3858
  Object.defineProperty(exports, "__esModule", { value: true });
3873
- exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
3874
3859
  const utils$9 = require_utils$1();
3875
3860
  function generate(input, settings) {
3876
3861
  const patterns = processPatterns(input, settings);
@@ -3931,19 +3916,16 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
3931
3916
  }
3932
3917
  exports.getPositivePatterns = getPositivePatterns;
3933
3918
  function getNegativePatternsAsPositive(patterns, ignore) {
3934
- const negative = utils$9.pattern.getNegativePatterns(patterns).concat(ignore);
3935
- const positive = negative.map(utils$9.pattern.convertToPositivePattern);
3936
- return positive;
3919
+ return utils$9.pattern.getNegativePatterns(patterns).concat(ignore).map(utils$9.pattern.convertToPositivePattern);
3937
3920
  }
3938
3921
  exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
3939
3922
  function groupPatternsByBaseDirectory(patterns) {
3940
- const group = {};
3941
3923
  return patterns.reduce((collection, pattern$1) => {
3942
3924
  const base = utils$9.pattern.getBaseDirectory(pattern$1);
3943
3925
  if (base in collection) collection[base].push(pattern$1);
3944
3926
  else collection[base] = [pattern$1];
3945
3927
  return collection;
3946
- }, group);
3928
+ }, {});
3947
3929
  }
3948
3930
  exports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
3949
3931
  function convertPatternGroupsToTasks(positive, negative, dynamic) {
@@ -3968,7 +3950,6 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
3968
3950
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js
3969
3951
  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) => {
3970
3952
  Object.defineProperty(exports, "__esModule", { value: true });
3971
- exports.read = void 0;
3972
3953
  function read$3(path$11, settings, callback) {
3973
3954
  settings.fs.lstat(path$11, (lstatError, lstat) => {
3974
3955
  if (lstatError !== null) {
@@ -4006,7 +3987,6 @@ var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
4006
3987
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js
4007
3988
  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) => {
4008
3989
  Object.defineProperty(exports, "__esModule", { value: true });
4009
- exports.read = void 0;
4010
3990
  function read$2(path$11, settings) {
4011
3991
  const lstat = settings.fs.lstatSync(path$11);
4012
3992
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
@@ -4026,7 +4006,6 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4026
4006
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
4027
4007
  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) => {
4028
4008
  Object.defineProperty(exports, "__esModule", { value: true });
4029
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4030
4009
  const fs$6 = require("fs");
4031
4010
  exports.FILE_SYSTEM_ADAPTER = {
4032
4011
  lstat: fs$6.lstat,
@@ -4065,7 +4044,6 @@ var require_settings$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
4065
4044
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js
4066
4045
  var require_out$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js": ((exports) => {
4067
4046
  Object.defineProperty(exports, "__esModule", { value: true });
4068
- exports.statSync = exports.stat = exports.Settings = void 0;
4069
4047
  const async$1 = require_async$5();
4070
4048
  const sync$1 = require_sync$5();
4071
4049
  const settings_1$3 = require_settings$3();
@@ -4147,7 +4125,6 @@ var require_run_parallel = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
4147
4125
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js
4148
4126
  var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js": ((exports) => {
4149
4127
  Object.defineProperty(exports, "__esModule", { value: true });
4150
- exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
4151
4128
  const NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
4152
4129
  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}`);
4153
4130
  const MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
@@ -4166,7 +4143,6 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@
4166
4143
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js
4167
4144
  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) => {
4168
4145
  Object.defineProperty(exports, "__esModule", { value: true });
4169
- exports.createDirentFromStats = void 0;
4170
4146
  var DirentFromStats = class {
4171
4147
  constructor(name, stats) {
4172
4148
  this.name = name;
@@ -4189,7 +4165,6 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodel
4189
4165
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js
4190
4166
  var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js": ((exports) => {
4191
4167
  Object.defineProperty(exports, "__esModule", { value: true });
4192
- exports.fs = void 0;
4193
4168
  const fs$4 = require_fs$1();
4194
4169
  exports.fs = fs$4;
4195
4170
  }) });
@@ -4198,7 +4173,6 @@ var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
4198
4173
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js
4199
4174
  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) => {
4200
4175
  Object.defineProperty(exports, "__esModule", { value: true });
4201
- exports.joinPathSegments = void 0;
4202
4176
  function joinPathSegments$1(a, b, separator) {
4203
4177
  /**
4204
4178
  * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
@@ -4213,7 +4187,6 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
4213
4187
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js
4214
4188
  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) => {
4215
4189
  Object.defineProperty(exports, "__esModule", { value: true });
4216
- exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4217
4190
  const fsStat$5 = require_out$3();
4218
4191
  const rpl = require_run_parallel();
4219
4192
  const constants_1$1 = require_constants();
@@ -4319,7 +4292,6 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
4319
4292
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js
4320
4293
  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) => {
4321
4294
  Object.defineProperty(exports, "__esModule", { value: true });
4322
- exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4323
4295
  const fsStat$4 = require_out$3();
4324
4296
  const constants_1 = require_constants();
4325
4297
  const utils$7 = require_utils();
@@ -4330,8 +4302,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4330
4302
  }
4331
4303
  exports.read = read;
4332
4304
  function readdirWithFileTypes(directory, settings) {
4333
- const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });
4334
- return dirents.map((dirent) => {
4305
+ return settings.fs.readdirSync(directory, { withFileTypes: true }).map((dirent) => {
4335
4306
  const entry = {
4336
4307
  dirent,
4337
4308
  name: dirent.name,
@@ -4348,8 +4319,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4348
4319
  }
4349
4320
  exports.readdirWithFileTypes = readdirWithFileTypes;
4350
4321
  function readdir(directory, settings) {
4351
- const names = settings.fs.readdirSync(directory);
4352
- return names.map((name) => {
4322
+ return settings.fs.readdirSync(directory).map((name) => {
4353
4323
  const entryPath = common$3.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4354
4324
  const stats = fsStat$4.statSync(entryPath, settings.fsStatSettings);
4355
4325
  const entry = {
@@ -4368,7 +4338,6 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4368
4338
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
4369
4339
  var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js": ((exports) => {
4370
4340
  Object.defineProperty(exports, "__esModule", { value: true });
4371
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4372
4341
  const fs$3 = require("fs");
4373
4342
  exports.FILE_SYSTEM_ADAPTER = {
4374
4343
  lstat: fs$3.lstat,
@@ -4417,7 +4386,6 @@ var require_settings$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
4417
4386
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js
4418
4387
  var require_out$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js": ((exports) => {
4419
4388
  Object.defineProperty(exports, "__esModule", { value: true });
4420
- exports.Settings = exports.scandirSync = exports.scandir = void 0;
4421
4389
  const async = require_async$4();
4422
4390
  const sync = require_sync$4();
4423
4391
  const settings_1$2 = require_settings$2();
@@ -4687,7 +4655,7 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
4687
4655
  return p;
4688
4656
  }
4689
4657
  function drained() {
4690
- var p = new Promise(function(resolve$2) {
4658
+ return new Promise(function(resolve$2) {
4691
4659
  process.nextTick(function() {
4692
4660
  if (queue.idle()) resolve$2();
4693
4661
  else {
@@ -4700,7 +4668,6 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
4700
4668
  }
4701
4669
  });
4702
4670
  });
4703
- return p;
4704
4671
  }
4705
4672
  }
4706
4673
  module.exports = fastqueue;
@@ -4711,7 +4678,6 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
4711
4678
  //#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js
4712
4679
  var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js": ((exports) => {
4713
4680
  Object.defineProperty(exports, "__esModule", { value: true });
4714
- exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
4715
4681
  function isFatalError(settings, error) {
4716
4682
  if (settings.errorFilter === null) return true;
4717
4683
  return !settings.errorFilter(error);
@@ -5012,7 +4978,6 @@ var require_settings$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
5012
4978
  //#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js
5013
4979
  var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js": ((exports) => {
5014
4980
  Object.defineProperty(exports, "__esModule", { value: true });
5015
- exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
5016
4981
  const async_1$2 = require_async$2();
5017
4982
  const stream_1$4 = require_stream$2();
5018
4983
  const sync_1$2 = require_sync$2();
@@ -5028,14 +4993,12 @@ var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
5028
4993
  exports.walk = walk;
5029
4994
  function walkSync(directory, optionsOrSettings) {
5030
4995
  const settings = getSettings(optionsOrSettings);
5031
- const provider = new sync_1$2.default(directory, settings);
5032
- return provider.read();
4996
+ return new sync_1$2.default(directory, settings).read();
5033
4997
  }
5034
4998
  exports.walkSync = walkSync;
5035
4999
  function walkStream(directory, optionsOrSettings) {
5036
5000
  const settings = getSettings(optionsOrSettings);
5037
- const provider = new stream_1$4.default(directory, settings);
5038
- return provider.read();
5001
+ return new stream_1$4.default(directory, settings).read();
5039
5002
  }
5040
5003
  exports.walkStream = walkStream;
5041
5004
  function getSettings(settingsOrOptions = {}) {
@@ -5186,10 +5149,8 @@ var require_matcher = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
5186
5149
  }
5187
5150
  }
5188
5151
  _getPatternSegments(pattern$1) {
5189
- const parts = utils$5.pattern.getPatternParts(pattern$1, this._micromatchOptions);
5190
- return parts.map((part) => {
5191
- const dynamic = utils$5.pattern.isDynamicPattern(part, this._settings);
5192
- if (!dynamic) return {
5152
+ return utils$5.pattern.getPatternParts(pattern$1, this._micromatchOptions).map((part) => {
5153
+ if (!utils$5.pattern.isDynamicPattern(part, this._settings)) return {
5193
5154
  dynamic: false,
5194
5155
  pattern: part
5195
5156
  };
@@ -5227,13 +5188,12 @@ var require_partial = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
5227
5188
  * ^ true/false ^ always true
5228
5189
  */
5229
5190
  if (!pattern$1.complete && levels > section.length) return true;
5230
- const match = parts.every((part, index) => {
5191
+ if (parts.every((part, index) => {
5231
5192
  const segment = pattern$1.segments[index];
5232
5193
  if (segment.dynamic && segment.patternRe.test(part)) return true;
5233
5194
  if (!segment.dynamic && segment.pattern === part) return true;
5234
5195
  return false;
5235
- });
5236
- if (match) return true;
5196
+ })) return true;
5237
5197
  }
5238
5198
  return false;
5239
5199
  }
@@ -5340,12 +5300,9 @@ var require_entry$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
5340
5300
  return this._settings.onlyDirectories && !entry.dirent.isDirectory();
5341
5301
  }
5342
5302
  _isMatchToPatternsSet(filepath, patterns, isDirectory) {
5343
- const isMatched = this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory);
5344
- if (!isMatched) return false;
5345
- const isMatchedByRelativeNegative = this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory);
5346
- if (isMatchedByRelativeNegative) return false;
5347
- const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory);
5348
- if (isMatchedByAbsoluteNegative) return false;
5303
+ if (!this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory)) return false;
5304
+ if (this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory)) return false;
5305
+ if (this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory)) return false;
5349
5306
  return true;
5350
5307
  }
5351
5308
  _isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory) {
@@ -5474,8 +5431,7 @@ var require_async = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
5474
5431
  async read(task) {
5475
5432
  const root = this._getRootDirectory(task);
5476
5433
  const options$1 = this._getReaderOptions(task);
5477
- const entries = await this.api(root, task, options$1);
5478
- return entries.map((entry) => options$1.transform(entry));
5434
+ return (await this.api(root, task, options$1)).map((entry) => options$1.transform(entry));
5479
5435
  }
5480
5436
  api(root, task, options$1) {
5481
5437
  if (task.dynamic) return this._reader.dynamic(root, options$1);
@@ -5573,8 +5529,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
5573
5529
  read(task) {
5574
5530
  const root = this._getRootDirectory(task);
5575
5531
  const options$1 = this._getReaderOptions(task);
5576
- const entries = this.api(root, task, options$1);
5577
- return entries.map(options$1.transform);
5532
+ return this.api(root, task, options$1).map(options$1.transform);
5578
5533
  }
5579
5534
  api(root, task, options$1) {
5580
5535
  if (task.dynamic) return this._reader.dynamic(root, options$1);
@@ -5588,7 +5543,6 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
5588
5543
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
5589
5544
  var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
5590
5545
  Object.defineProperty(exports, "__esModule", { value: true });
5591
- exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
5592
5546
  const fs$1 = require("fs");
5593
5547
  const os = require("os");
5594
5548
  /**
@@ -5735,9 +5689,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
5735
5689
  return tasks.map(provider.read, provider);
5736
5690
  }
5737
5691
  function assertPatternsInput(input) {
5738
- const source = [].concat(input);
5739
- const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));
5740
- if (!isValidSource) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
5692
+ 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");
5741
5693
  }
5742
5694
  module.exports = FastGlob;
5743
5695
  }) });
@@ -5796,8 +5748,7 @@ const ICO = {
5796
5748
  const reserved = readUInt16LE(input, 0);
5797
5749
  const imageCount = readUInt16LE(input, 4);
5798
5750
  if (reserved !== 0 || imageCount === 0) return false;
5799
- const imageType = readUInt16LE(input, 2);
5800
- return imageType === TYPE_ICON;
5751
+ return readUInt16LE(input, 2) === TYPE_ICON;
5801
5752
  },
5802
5753
  calculate(input) {
5803
5754
  const nbImages = readUInt16LE(input, 4);
@@ -5818,8 +5769,7 @@ const CUR = {
5818
5769
  const reserved = readUInt16LE(input, 0);
5819
5770
  const imageCount = readUInt16LE(input, 4);
5820
5771
  if (reserved !== 0 || imageCount === 0) return false;
5821
- const imageType = readUInt16LE(input, 2);
5822
- return imageType === TYPE_CURSOR;
5772
+ return readUInt16LE(input, 2) === TYPE_CURSOR;
5823
5773
  },
5824
5774
  calculate: (input) => ICO.calculate(input)
5825
5775
  };
@@ -5928,11 +5878,9 @@ const BoxTypes = {
5928
5878
  const calculateRREQLength = (box) => {
5929
5879
  const unit = box[0];
5930
5880
  let offset = 1 + 2 * unit;
5931
- const numStdFlags = readUInt16BE(box, offset);
5932
- const flagsLength = numStdFlags * (2 + unit);
5881
+ const flagsLength = readUInt16BE(box, offset) * (2 + unit);
5933
5882
  offset = offset + 2 + flagsLength;
5934
- const numVendorFeatures = readUInt16BE(box, offset);
5935
- const featuresLength = numVendorFeatures * (16 + unit);
5883
+ const featuresLength = readUInt16BE(box, offset) * (16 + unit);
5936
5884
  return offset + 2 + featuresLength;
5937
5885
  };
5938
5886
  const parseIHDR = (box) => {
@@ -5955,13 +5903,10 @@ const JP2 = {
5955
5903
  const signatureLength = readUInt32BE(input, 0);
5956
5904
  const ftypBoxLength = readUInt16BE(input, signatureLength + 2);
5957
5905
  let offset = signatureLength + 4 + ftypBoxLength;
5958
- const nextBoxType = toHexString(input, offset, offset + 4);
5959
- switch (nextBoxType) {
5960
- case BoxTypes.rreq: {
5961
- const MAGIC = 4;
5962
- offset = offset + 4 + MAGIC + calculateRREQLength(input.slice(offset + 4));
5906
+ switch (toHexString(input, offset, offset + 4)) {
5907
+ case BoxTypes.rreq:
5908
+ offset = offset + 4 + 4 + calculateRREQLength(input.slice(offset + 4));
5963
5909
  return parseIHDR(input.slice(offset + 8, offset + 24));
5964
- }
5965
5910
  case BoxTypes.jp2h: return parseIHDR(input.slice(offset + 8, offset + 24));
5966
5911
  default: throw new TypeError("Unsupported header found: " + toUTF8String(input, offset, offset + 4));
5967
5912
  }
@@ -5985,20 +5930,16 @@ function extractSize(input, index) {
5985
5930
  };
5986
5931
  }
5987
5932
  function extractOrientation(exifBlock, isBigEndian) {
5988
- const idfOffset = 8;
5989
- const offset = EXIF_HEADER_BYTES + idfOffset;
5933
+ const offset = EXIF_HEADER_BYTES + 8;
5990
5934
  const idfDirectoryEntries = readUInt(exifBlock, 16, offset, isBigEndian);
5991
5935
  for (let directoryEntryNumber = 0; directoryEntryNumber < idfDirectoryEntries; directoryEntryNumber++) {
5992
5936
  const start = offset + NUM_DIRECTORY_ENTRIES_BYTES + directoryEntryNumber * IDF_ENTRY_BYTES;
5993
5937
  const end = start + IDF_ENTRY_BYTES;
5994
5938
  if (start > exifBlock.length) return;
5995
5939
  const block = exifBlock.slice(start, end);
5996
- const tagNumber = readUInt(block, 16, 0, isBigEndian);
5997
- if (tagNumber === 274) {
5998
- const dataFormat = readUInt(block, 16, 2, isBigEndian);
5999
- if (dataFormat !== 3) return;
6000
- const numberOfComponents = readUInt(block, 32, 4, isBigEndian);
6001
- if (numberOfComponents !== 1) return;
5940
+ if (readUInt(block, 16, 0, isBigEndian) === 274) {
5941
+ if (readUInt(block, 16, 2, isBigEndian) !== 3) return;
5942
+ if (readUInt(block, 32, 4, isBigEndian) !== 1) return;
6002
5943
  return readUInt(block, 16, 8, isBigEndian);
6003
5944
  }
6004
5945
  }
@@ -6007,8 +5948,7 @@ function validateExifBlock(input, index) {
6007
5948
  const exifBlock = input.slice(APP1_DATA_SIZE_BYTES, index);
6008
5949
  const byteAlign = toHexString(exifBlock, EXIF_HEADER_BYTES, EXIF_HEADER_BYTES + TIFF_BYTE_ALIGN_BYTES);
6009
5950
  const isBigEndian = byteAlign === BIG_ENDIAN_BYTE_ALIGN;
6010
- const isLittleEndian = byteAlign === LITTLE_ENDIAN_BYTE_ALIGN;
6011
- if (isBigEndian || isLittleEndian) return extractOrientation(exifBlock, isBigEndian);
5951
+ if (isBigEndian || byteAlign === LITTLE_ENDIAN_BYTE_ALIGN) return extractOrientation(exifBlock, isBigEndian);
6012
5952
  }
6013
5953
  function validateInput(input, index) {
6014
5954
  if (index > input.length) throw new TypeError("Corrupt JPG, exceeded buffer limits");
@@ -6117,8 +6057,7 @@ const PNM = {
6117
6057
  const signature = toUTF8String(input, 0, 2);
6118
6058
  const type = PNMTypes[signature];
6119
6059
  const lines = toUTF8String(input, 3).split(/[\n\r]+/);
6120
- const handler = handlers[type] || handlers.default;
6121
- return handler(lines);
6060
+ return (handlers[type] || handlers.default)(lines);
6122
6061
  }
6123
6062
  };
6124
6063
  const PSD = {
@@ -6150,7 +6089,7 @@ const units = {
6150
6089
  const unitsReg = /* @__PURE__ */ new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(units).join("|")})?$`);
6151
6090
  function parseLength(len) {
6152
6091
  const m = unitsReg.exec(len);
6153
- if (!m) return void 0;
6092
+ if (!m) return;
6154
6093
  return Math.round(Number(m[1]) * (units[m[2]] || 1));
6155
6094
  }
6156
6095
  function parseViewbox(viewbox) {
@@ -6223,8 +6162,7 @@ function readIFD(buffer, isBigEndian) {
6223
6162
  }
6224
6163
  function readValue(buffer, isBigEndian) {
6225
6164
  const low = readUInt(buffer, 16, 8, isBigEndian);
6226
- const high = readUInt(buffer, 16, 10, isBigEndian);
6227
- return (high << 16) + low;
6165
+ return (readUInt(buffer, 16, 10, isBigEndian) << 16) + low;
6228
6166
  }
6229
6167
  function nextTag(buffer) {
6230
6168
  if (buffer.length > 24) return buffer.slice(12);
@@ -6324,8 +6262,7 @@ const AVIF = {
6324
6262
  function findBox(input, type, startOffset = 0, endOffset = input.length) {
6325
6263
  for (let offset = startOffset; offset < endOffset;) {
6326
6264
  const size = readUInt32BE(input, offset);
6327
- const boxType = toUTF8String(input, offset + 4, offset + 8);
6328
- if (boxType === type) return {
6265
+ if (toUTF8String(input, offset + 4, offset + 8) === type) return {
6329
6266
  offset,
6330
6267
  size
6331
6268
  };
@@ -6425,8 +6362,7 @@ const join = function(...segments) {
6425
6362
  if (path$11.length > 0) {
6426
6363
  const pathTrailing = path$11[path$11.length - 1] === "/";
6427
6364
  const segLeading = seg[0] === "/";
6428
- const both = pathTrailing && segLeading;
6429
- if (both) path$11 += seg.slice(1);
6365
+ if (pathTrailing && segLeading) path$11 += seg.slice(1);
6430
6366
  else path$11 += pathTrailing || segLeading ? seg : `/${seg}`;
6431
6367
  } else path$11 += seg;
6432
6368
  }
@@ -6517,8 +6453,26 @@ const relative = function(from, to) {
6517
6453
  };
6518
6454
 
6519
6455
  //#endregion
6520
- //#region ../../node_modules/.pnpm/perfect-debounce@1.0.0/node_modules/perfect-debounce/dist/index.mjs
6456
+ //#region ../../node_modules/.pnpm/perfect-debounce@2.0.0/node_modules/perfect-debounce/dist/index.mjs
6521
6457
  const DEBOUNCE_DEFAULTS = { trailing: true };
6458
+ /**
6459
+ Debounce functions
6460
+ @param fn - Promise-returning/async function to debounce.
6461
+ @param wait - Milliseconds to wait before calling `fn`. Default value is 25ms
6462
+ @returns A function that delays calling `fn` until after `wait` milliseconds have elapsed since the last time it was called.
6463
+ @example
6464
+ ```
6465
+ import { debounce } from 'perfect-debounce';
6466
+ const expensiveCall = async input => input;
6467
+ const debouncedFn = debounce(expensiveCall, 200);
6468
+ for (const number of [1, 2, 3]) {
6469
+ console.log(await debouncedFn(number));
6470
+ }
6471
+ //=> 1
6472
+ //=> 2
6473
+ //=> 3
6474
+ ```
6475
+ */
6522
6476
  function debounce(fn, wait = 25, options$1 = {}) {
6523
6477
  options$1 = {
6524
6478
  ...DEBOUNCE_DEFAULTS,
@@ -6542,17 +6496,16 @@ function debounce(fn, wait = 25, options$1 = {}) {
6542
6496
  });
6543
6497
  return currentPromise;
6544
6498
  };
6545
- return function(...args) {
6546
- if (currentPromise) {
6547
- if (options$1.trailing) trailingArgs = args;
6548
- return currentPromise;
6549
- }
6499
+ const debounced = function(...args) {
6500
+ if (options$1.trailing) trailingArgs = args;
6501
+ if (currentPromise) return currentPromise;
6550
6502
  return new Promise((resolve$2) => {
6551
6503
  const shouldCallNow = !timeout && options$1.leading;
6552
6504
  clearTimeout(timeout);
6553
6505
  timeout = setTimeout(() => {
6554
6506
  timeout = null;
6555
6507
  const promise$1 = options$1.leading ? leadingValue : applyFn(this, args);
6508
+ trailingArgs = null;
6556
6509
  for (const _resolve of resolveList) _resolve(promise$1);
6557
6510
  resolveList = [];
6558
6511
  }, wait);
@@ -6562,6 +6515,26 @@ function debounce(fn, wait = 25, options$1 = {}) {
6562
6515
  } else resolveList.push(resolve$2);
6563
6516
  });
6564
6517
  };
6518
+ const _clearTimeout = (timer) => {
6519
+ if (timer) {
6520
+ clearTimeout(timer);
6521
+ timeout = null;
6522
+ }
6523
+ };
6524
+ debounced.isPending = () => !!timeout;
6525
+ debounced.cancel = () => {
6526
+ _clearTimeout(timeout);
6527
+ resolveList = [];
6528
+ trailingArgs = null;
6529
+ };
6530
+ debounced.flush = () => {
6531
+ _clearTimeout(timeout);
6532
+ if (!trailingArgs || currentPromise) return;
6533
+ const args = trailingArgs;
6534
+ trailingArgs = null;
6535
+ return applyFn(this, args);
6536
+ };
6537
+ return debounced;
6565
6538
  }
6566
6539
  async function _applyPromised(fn, _this, args) {
6567
6540
  return await fn.apply(_this, args);
@@ -6624,8 +6597,7 @@ function getAssetsFunctions(ctx) {
6624
6597
  }
6625
6598
  async function getAssetImporters(url) {
6626
6599
  const importers = [];
6627
- const moduleGraph = server.moduleGraph;
6628
- const module$1 = await moduleGraph.getModuleByUrl(url);
6600
+ const module$1 = await server.moduleGraph.getModuleByUrl(url);
6629
6601
  if (module$1) for (const importer of module$1.importers) importers.push({
6630
6602
  url: importer.url,
6631
6603
  id: importer.id
@@ -6655,16 +6627,15 @@ function getAssetsFunctions(ctx) {
6655
6627
  } catch (e) {
6656
6628
  _imageMetaCache.set(filepath, void 0);
6657
6629
  console.error(e);
6658
- return void 0;
6630
+ return;
6659
6631
  }
6660
6632
  },
6661
6633
  async getTextAssetContent(filepath, limit = 300) {
6662
6634
  try {
6663
- const content = await node_fs_promises.default.readFile(filepath, "utf-8");
6664
- return content.slice(0, limit);
6635
+ return (await node_fs_promises.default.readFile(filepath, "utf-8")).slice(0, limit);
6665
6636
  } catch (e) {
6666
6637
  console.error(e);
6667
- return void 0;
6638
+ return;
6668
6639
  }
6669
6640
  }
6670
6641
  };
@@ -6699,7 +6670,7 @@ function getGraphFunctions(ctx) {
6699
6670
  const filteredModules = modules.filter((m) => {
6700
6671
  return m.id.match(/\.(vue|js|ts|jsx|tsx|html|json)($|\?v=)/);
6701
6672
  });
6702
- const graph = filteredModules.map((i) => {
6673
+ return filteredModules.map((i) => {
6703
6674
  function searchForVueDeps(id, seen = /* @__PURE__ */ new Set()) {
6704
6675
  if (seen.has(id)) return [];
6705
6676
  seen.add(id);
@@ -6715,7 +6686,6 @@ function getGraphFunctions(ctx) {
6715
6686
  deps: searchForVueDeps(i.id)
6716
6687
  };
6717
6688
  });
6718
- return graph;
6719
6689
  } };
6720
6690
  }
6721
6691
 
@@ -6741,8 +6711,7 @@ function removeUrlQuery(url) {
6741
6711
  //#endregion
6742
6712
  //#region src/vite.ts
6743
6713
  function getVueDevtoolsPath() {
6744
- const pluginPath = (0, vite.normalizePath)(node_path.default.dirname((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href)));
6745
- return pluginPath.replace(/\/dist$/, "//src");
6714
+ return (0, vite.normalizePath)(node_path.default.dirname((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href))).replace(/\/dist$/, "//src");
6746
6715
  }
6747
6716
  const toggleComboKeysMap = {
6748
6717
  option: process.platform === "darwin" ? "Option(⌥)" : "Alt(⌥)",
@@ -6813,10 +6782,7 @@ function VitePluginVueDevTools(options$1) {
6813
6782
  },
6814
6783
  async resolveId(importee) {
6815
6784
  if (importee === devtoolsOptionsImportee) return resolvedDevtoolsOptions;
6816
- else if (importee.startsWith("virtual:vue-devtools-path:")) {
6817
- const resolved = importee.replace("virtual:vue-devtools-path:", `${vueDevtoolsPath}/`);
6818
- return `${resolved}${devtoolsNextResourceSymbol}`;
6819
- }
6785
+ else if (importee.startsWith("virtual:vue-devtools-path:")) return `${importee.replace("virtual:vue-devtools-path:", `${vueDevtoolsPath}/`)}${devtoolsNextResourceSymbol}`;
6820
6786
  },
6821
6787
  async load(id) {
6822
6788
  if (id === resolvedDevtoolsOptions) return `export default ${JSON.stringify({