nitro-nightly 3.0.1-20251212-084012-f220bbfb → 3.0.1-20251212-103723-5f37156f

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.
@@ -1371,7 +1371,7 @@ function stripLiteral(code, options) {
1371
1371
  }
1372
1372
 
1373
1373
  //#endregion
1374
- //#region node_modules/.pnpm/@pi0+vite-plugin-fullstack@0.0.5-pr-1297_vite@7.2.7_@types+node@24.10.2_jiti@2.6.1_ligh_4a0864edcdc51b1fd4dcd36007a36c09/node_modules/@pi0/vite-plugin-fullstack/dist/index.js
1374
+ //#region node_modules/.pnpm/@pi0+vite-plugin-fullstack@0.0.5-pr-1297_vite@7.2.7_@types+node@25.0.1_jiti@2.6.1_light_1d696f455baebb7c7877460175f63abd/node_modules/@pi0/vite-plugin-fullstack/dist/index.js
1375
1375
  function parseIdQuery(id) {
1376
1376
  if (!id.includes("?")) return {
1377
1377
  filename: id,
@@ -60,7 +60,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
60
60
  /**
61
61
  * POSIX Bracket Regex
62
62
  */
63
- const POSIX_REGEX_SOURCE$1 = {
63
+ const POSIX_REGEX_SOURCE = {
64
64
  alnum: "a-zA-Z0-9",
65
65
  alpha: "a-zA-Z",
66
66
  ascii: "\\x00-\\x7F",
@@ -78,7 +78,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78
78
  };
79
79
  module.exports = {
80
80
  MAX_LENGTH: 1024 * 64,
81
- POSIX_REGEX_SOURCE: POSIX_REGEX_SOURCE$1,
81
+ POSIX_REGEX_SOURCE,
82
82
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
83
83
  REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
84
84
  REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
@@ -221,7 +221,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
221
221
  //#endregion
222
222
  //#region node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
223
223
  var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
224
- const utils$3 = require_utils();
224
+ const utils = require_utils();
225
225
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
226
226
  const isPathSeparator = (code) => {
227
227
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
@@ -245,7 +245,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
245
245
  * @return {Object} Returns an object with tokens and regex source string.
246
246
  * @api public
247
247
  */
248
- const scan$1 = (input, options) => {
248
+ const scan = (input, options) => {
249
249
  const opts = options || {};
250
250
  const length = input.length - 1;
251
251
  const scanToEnd = opts.parts === true || opts.scanToEnd === true;
@@ -450,8 +450,8 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
450
450
  if (isPathSeparator(base.charCodeAt(base.length - 1))) base = base.slice(0, -1);
451
451
  }
452
452
  if (opts.unescape === true) {
453
- if (glob) glob = utils$3.removeBackslashes(glob);
454
- if (base && backslashes === true) base = utils$3.removeBackslashes(base);
453
+ if (glob) glob = utils.removeBackslashes(glob);
454
+ if (base && backslashes === true) base = utils.removeBackslashes(base);
455
455
  }
456
456
  const state = {
457
457
  prefix,
@@ -503,18 +503,18 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
503
503
  }
504
504
  return state;
505
505
  };
506
- module.exports = scan$1;
506
+ module.exports = scan;
507
507
  }));
508
508
 
509
509
  //#endregion
510
510
  //#region node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
511
511
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
512
- const constants$1 = require_constants();
513
- const utils$2 = require_utils();
512
+ const constants = require_constants();
513
+ const utils = require_utils();
514
514
  /**
515
515
  * Constants
516
516
  */
517
- const { MAX_LENGTH, POSIX_REGEX_SOURCE, REGEX_NON_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_BACKREF, REPLACEMENTS } = constants$1;
517
+ const { MAX_LENGTH, POSIX_REGEX_SOURCE, REGEX_NON_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_BACKREF, REPLACEMENTS } = constants;
518
518
  /**
519
519
  * Helpers
520
520
  */
@@ -525,7 +525,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
525
525
  try {
526
526
  new RegExp(value);
527
527
  } catch (ex) {
528
- return args.map((v) => utils$2.escapeRegex(v)).join("..");
528
+ return args.map((v) => utils.escapeRegex(v)).join("..");
529
529
  }
530
530
  return value;
531
531
  };
@@ -541,7 +541,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
541
541
  * @param {Object} options
542
542
  * @return {Object}
543
543
  */
544
- const parse$1 = (input, options) => {
544
+ const parse = (input, options) => {
545
545
  if (typeof input !== "string") throw new TypeError("Expected a string");
546
546
  input = REPLACEMENTS[input] || input;
547
547
  const opts = { ...options };
@@ -555,14 +555,14 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
555
555
  };
556
556
  const tokens = [bos];
557
557
  const capture = opts.capture ? "" : "?:";
558
- const PLATFORM_CHARS = constants$1.globChars(opts.windows);
559
- const EXTGLOB_CHARS = constants$1.extglobChars(PLATFORM_CHARS);
560
- const { DOT_LITERAL: DOT_LITERAL$1, PLUS_LITERAL: PLUS_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOT_SLASH, NO_DOTS_SLASH, QMARK: QMARK$1, QMARK_NO_DOT, STAR, START_ANCHOR: START_ANCHOR$1 } = PLATFORM_CHARS;
558
+ const PLATFORM_CHARS = constants.globChars(opts.windows);
559
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
560
+ const { DOT_LITERAL, PLUS_LITERAL, SLASH_LITERAL, ONE_CHAR, DOTS_SLASH, NO_DOT, NO_DOT_SLASH, NO_DOTS_SLASH, QMARK, QMARK_NO_DOT, STAR, START_ANCHOR } = PLATFORM_CHARS;
561
561
  const globstar = (opts$1) => {
562
- return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
562
+ return `(${capture}(?:(?!${START_ANCHOR}${opts$1.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
563
563
  };
564
564
  const nodot = opts.dot ? "" : NO_DOT;
565
- const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT;
565
+ const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
566
566
  let star = opts.bash === true ? globstar(opts) : STAR;
567
567
  if (opts.capture) star = `(${star})`;
568
568
  if (typeof opts.noext === "boolean") opts.noextglob = opts.noext;
@@ -583,7 +583,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
583
583
  globstar: false,
584
584
  tokens
585
585
  };
586
- input = utils$2.removePrefix(input, state);
586
+ input = utils.removePrefix(input, state);
587
587
  len = input.length;
588
588
  const extglobs = [];
589
589
  const braces = [];
@@ -669,7 +669,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
669
669
  push({
670
670
  type,
671
671
  value: value$1,
672
- output: state.output ? "" : ONE_CHAR$1
672
+ output: state.output ? "" : ONE_CHAR
673
673
  });
674
674
  push({
675
675
  type: "paren",
@@ -686,7 +686,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
686
686
  let extglobStar = star;
687
687
  if (token.inner && token.inner.length > 1 && token.inner.includes("/")) extglobStar = globstar(opts);
688
688
  if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) output = token.close = `)$))${extglobStar}`;
689
- if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) output = token.close = `)${parse$1(rest, {
689
+ if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) output = token.close = `)${parse(rest, {
690
690
  ...options,
691
691
  fastpaths: false
692
692
  }).output})${extglobStar})`;
@@ -711,11 +711,11 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
711
711
  return m;
712
712
  }
713
713
  if (first === "?") {
714
- if (esc) return esc + first + (rest ? QMARK$1.repeat(rest.length) : "");
715
- if (index === 0) return qmarkNoDot + (rest ? QMARK$1.repeat(rest.length) : "");
716
- return QMARK$1.repeat(chars.length);
714
+ if (esc) return esc + first + (rest ? QMARK.repeat(rest.length) : "");
715
+ if (index === 0) return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : "");
716
+ return QMARK.repeat(chars.length);
717
717
  }
718
- if (first === ".") return DOT_LITERAL$1.repeat(chars.length);
718
+ if (first === ".") return DOT_LITERAL.repeat(chars.length);
719
719
  if (first === "*") {
720
720
  if (esc) return esc + first + (rest ? star : "");
721
721
  return star;
@@ -730,7 +730,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
730
730
  state.output = input;
731
731
  return state;
732
732
  }
733
- state.output = utils$2.wrapOutput(output, state, options);
733
+ state.output = utils.wrapOutput(output, state, options);
734
734
  return state;
735
735
  }
736
736
  /**
@@ -788,7 +788,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
788
788
  prev.value = pre + posix$1;
789
789
  state.backtrack = true;
790
790
  advance();
791
- if (!bos.output && tokens.indexOf(prev) === 1) bos.output = ONE_CHAR$1;
791
+ if (!bos.output && tokens.indexOf(prev) === 1) bos.output = ONE_CHAR;
792
792
  continue;
793
793
  }
794
794
  }
@@ -806,7 +806,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
806
806
  * until we reach the closing double quote.
807
807
  */
808
808
  if (state.quotes === 1 && value !== "\"") {
809
- value = utils$2.escapeRegex(value);
809
+ value = utils.escapeRegex(value);
810
810
  prev.value += value;
811
811
  append({ value });
812
812
  continue;
@@ -885,8 +885,8 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
885
885
  if (prev.posix !== true && prevValue[0] === "^" && !prevValue.includes("/")) value = `/${value}`;
886
886
  prev.value += value;
887
887
  append({ value });
888
- if (opts.literalBrackets === false || utils$2.hasRegexChars(prevValue)) continue;
889
- const escaped = utils$2.escapeRegex(prev.value);
888
+ if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) continue;
889
+ const escaped = utils.escapeRegex(prev.value);
890
890
  state.output = state.output.slice(0, -prev.value.length);
891
891
  if (opts.literalBrackets === true) {
892
892
  state.output += escaped;
@@ -995,7 +995,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
995
995
  push({
996
996
  type: "slash",
997
997
  value,
998
- output: SLASH_LITERAL$1
998
+ output: SLASH_LITERAL
999
999
  });
1000
1000
  continue;
1001
1001
  }
@@ -1004,7 +1004,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1004
1004
  */
1005
1005
  if (value === ".") {
1006
1006
  if (state.braces > 0 && prev.type === "dot") {
1007
- if (prev.value === ".") prev.output = DOT_LITERAL$1;
1007
+ if (prev.value === ".") prev.output = DOT_LITERAL;
1008
1008
  const brace = braces[braces.length - 1];
1009
1009
  prev.type = "dots";
1010
1010
  prev.output += value;
@@ -1016,14 +1016,14 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1016
1016
  push({
1017
1017
  type: "text",
1018
1018
  value,
1019
- output: DOT_LITERAL$1
1019
+ output: DOT_LITERAL
1020
1020
  });
1021
1021
  continue;
1022
1022
  }
1023
1023
  push({
1024
1024
  type: "dot",
1025
1025
  value,
1026
- output: DOT_LITERAL$1
1026
+ output: DOT_LITERAL
1027
1027
  });
1028
1028
  continue;
1029
1029
  }
@@ -1057,7 +1057,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1057
1057
  push({
1058
1058
  type: "qmark",
1059
1059
  value,
1060
- output: QMARK$1
1060
+ output: QMARK
1061
1061
  });
1062
1062
  continue;
1063
1063
  }
@@ -1088,7 +1088,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1088
1088
  push({
1089
1089
  type: "plus",
1090
1090
  value,
1091
- output: PLUS_LITERAL$1
1091
+ output: PLUS_LITERAL
1092
1092
  });
1093
1093
  continue;
1094
1094
  }
@@ -1101,7 +1101,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1101
1101
  }
1102
1102
  push({
1103
1103
  type: "plus",
1104
- value: PLUS_LITERAL$1
1104
+ value: PLUS_LITERAL
1105
1105
  });
1106
1106
  continue;
1107
1107
  }
@@ -1216,7 +1216,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1216
1216
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
1217
1217
  prior.output = `(?:${prior.output}`;
1218
1218
  prev.type = "globstar";
1219
- prev.output = `${globstar(opts)}${SLASH_LITERAL$1}|${SLASH_LITERAL$1}${end})`;
1219
+ prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;
1220
1220
  prev.value += value;
1221
1221
  state.output += prior.output + prev.output;
1222
1222
  state.globstar = true;
@@ -1231,7 +1231,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1231
1231
  if (prior.type === "bos" && rest[0] === "/") {
1232
1232
  prev.type = "globstar";
1233
1233
  prev.value += value;
1234
- prev.output = `(?:^|${SLASH_LITERAL$1}|${globstar(opts)}${SLASH_LITERAL$1})`;
1234
+ prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;
1235
1235
  state.output = prev.output;
1236
1236
  state.globstar = true;
1237
1237
  consume(value + advance());
@@ -1279,31 +1279,31 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1279
1279
  prev.output += nodot;
1280
1280
  }
1281
1281
  if (peek() !== "*") {
1282
- state.output += ONE_CHAR$1;
1283
- prev.output += ONE_CHAR$1;
1282
+ state.output += ONE_CHAR;
1283
+ prev.output += ONE_CHAR;
1284
1284
  }
1285
1285
  }
1286
1286
  push(token);
1287
1287
  }
1288
1288
  while (state.brackets > 0) {
1289
1289
  if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
1290
- state.output = utils$2.escapeLast(state.output, "[");
1290
+ state.output = utils.escapeLast(state.output, "[");
1291
1291
  decrement("brackets");
1292
1292
  }
1293
1293
  while (state.parens > 0) {
1294
1294
  if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1295
- state.output = utils$2.escapeLast(state.output, "(");
1295
+ state.output = utils.escapeLast(state.output, "(");
1296
1296
  decrement("parens");
1297
1297
  }
1298
1298
  while (state.braces > 0) {
1299
1299
  if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1300
- state.output = utils$2.escapeLast(state.output, "{");
1300
+ state.output = utils.escapeLast(state.output, "{");
1301
1301
  decrement("braces");
1302
1302
  }
1303
1303
  if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) push({
1304
1304
  type: "maybe_slash",
1305
1305
  value: "",
1306
- output: `${SLASH_LITERAL$1}?`
1306
+ output: `${SLASH_LITERAL}?`
1307
1307
  });
1308
1308
  if (state.backtrack === true) {
1309
1309
  state.output = "";
@@ -1319,13 +1319,13 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1319
1319
  * This can significantly speed up processing and has very little downside
1320
1320
  * impact when none of the fast paths match.
1321
1321
  */
1322
- parse$1.fastpaths = (input, options) => {
1322
+ parse.fastpaths = (input, options) => {
1323
1323
  const opts = { ...options };
1324
1324
  const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1325
1325
  const len = input.length;
1326
1326
  if (len > max) throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
1327
1327
  input = REPLACEMENTS[input] || input;
1328
- const { DOT_LITERAL: DOT_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOTS, NO_DOTS_SLASH, STAR, START_ANCHOR: START_ANCHOR$1 } = constants$1.globChars(opts.windows);
1328
+ const { DOT_LITERAL, SLASH_LITERAL, ONE_CHAR, DOTS_SLASH, NO_DOT, NO_DOTS, NO_DOTS_SLASH, STAR, START_ANCHOR } = constants.globChars(opts.windows);
1329
1329
  const nodot = opts.dot ? NO_DOTS : NO_DOT;
1330
1330
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
1331
1331
  const capture = opts.capture ? "" : "?:";
@@ -1337,32 +1337,32 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1337
1337
  if (opts.capture) star = `(${star})`;
1338
1338
  const globstar = (opts$1) => {
1339
1339
  if (opts$1.noglobstar === true) return star;
1340
- return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
1340
+ return `(${capture}(?:(?!${START_ANCHOR}${opts$1.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
1341
1341
  };
1342
1342
  const create = (str) => {
1343
1343
  switch (str) {
1344
- case "*": return `${nodot}${ONE_CHAR$1}${star}`;
1345
- case ".*": return `${DOT_LITERAL$1}${ONE_CHAR$1}${star}`;
1346
- case "*.*": return `${nodot}${star}${DOT_LITERAL$1}${ONE_CHAR$1}${star}`;
1347
- case "*/*": return `${nodot}${star}${SLASH_LITERAL$1}${ONE_CHAR$1}${slashDot}${star}`;
1344
+ case "*": return `${nodot}${ONE_CHAR}${star}`;
1345
+ case ".*": return `${DOT_LITERAL}${ONE_CHAR}${star}`;
1346
+ case "*.*": return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
1347
+ case "*/*": return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;
1348
1348
  case "**": return nodot + globstar(opts);
1349
- case "**/*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL$1})?${slashDot}${ONE_CHAR$1}${star}`;
1350
- case "**/*.*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL$1})?${slashDot}${star}${DOT_LITERAL$1}${ONE_CHAR$1}${star}`;
1351
- case "**/.*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL$1})?${DOT_LITERAL$1}${ONE_CHAR$1}${star}`;
1349
+ case "**/*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;
1350
+ case "**/*.*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
1351
+ case "**/.*": return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
1352
1352
  default: {
1353
1353
  const match = /^(.*?)\.(\w+)$/.exec(str);
1354
1354
  if (!match) return;
1355
1355
  const source$1 = create(match[1]);
1356
1356
  if (!source$1) return;
1357
- return source$1 + DOT_LITERAL$1 + match[2];
1357
+ return source$1 + DOT_LITERAL + match[2];
1358
1358
  }
1359
1359
  }
1360
1360
  };
1361
- let source = create(utils$2.removePrefix(input, state));
1362
- if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL$1}?`;
1361
+ let source = create(utils.removePrefix(input, state));
1362
+ if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL}?`;
1363
1363
  return source;
1364
1364
  };
1365
- module.exports = parse$1;
1365
+ module.exports = parse;
1366
1366
  }));
1367
1367
 
1368
1368
  //#endregion
@@ -1370,7 +1370,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1370
1370
  var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1371
1371
  const scan = require_scan();
1372
1372
  const parse = require_parse();
1373
- const utils$1 = require_utils();
1373
+ const utils = require_utils();
1374
1374
  const constants = require_constants();
1375
1375
  const isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
1376
1376
  /**
@@ -1394,9 +1394,9 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1394
1394
  * @return {Function=} Returns a matcher function.
1395
1395
  * @api public
1396
1396
  */
1397
- const picomatch$1 = (glob, options, returnState = false) => {
1397
+ const picomatch = (glob, options, returnState = false) => {
1398
1398
  if (Array.isArray(glob)) {
1399
- const fns = glob.map((input) => picomatch$1(input, options, returnState));
1399
+ const fns = glob.map((input) => picomatch(input, options, returnState));
1400
1400
  const arrayMatcher = (str) => {
1401
1401
  for (const isMatch of fns) {
1402
1402
  const state$1 = isMatch(str);
@@ -1410,7 +1410,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1410
1410
  if (glob === "" || typeof glob !== "string" && !isState) throw new TypeError("Expected pattern to be a non-empty string");
1411
1411
  const opts = options || {};
1412
1412
  const posix$1 = opts.windows;
1413
- const regex = isState ? picomatch$1.compileRe(glob, options) : picomatch$1.makeRe(glob, options, false, true);
1413
+ const regex = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true);
1414
1414
  const state = regex.state;
1415
1415
  delete regex.state;
1416
1416
  let isIgnored = () => false;
@@ -1421,10 +1421,10 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1421
1421
  onMatch: null,
1422
1422
  onResult: null
1423
1423
  };
1424
- isIgnored = picomatch$1(opts.ignore, ignoreOpts, returnState);
1424
+ isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
1425
1425
  }
1426
1426
  const matcher = (input, returnObject = false) => {
1427
- const { isMatch, match, output } = picomatch$1.test(input, regex, options, {
1427
+ const { isMatch, match, output } = picomatch.test(input, regex, options, {
1428
1428
  glob,
1429
1429
  posix: posix$1
1430
1430
  });
@@ -1470,21 +1470,21 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1470
1470
  * @return {Object} Returns an object with matching info.
1471
1471
  * @api public
1472
1472
  */
1473
- picomatch$1.test = (input, regex, options, { glob, posix: posix$1 } = {}) => {
1473
+ picomatch.test = (input, regex, options, { glob, posix: posix$1 } = {}) => {
1474
1474
  if (typeof input !== "string") throw new TypeError("Expected input to be a string");
1475
1475
  if (input === "") return {
1476
1476
  isMatch: false,
1477
1477
  output: ""
1478
1478
  };
1479
1479
  const opts = options || {};
1480
- const format = opts.format || (posix$1 ? utils$1.toPosixSlashes : null);
1480
+ const format = opts.format || (posix$1 ? utils.toPosixSlashes : null);
1481
1481
  let match = input === glob;
1482
1482
  let output = match && format ? format(input) : input;
1483
1483
  if (match === false) {
1484
1484
  output = format ? format(input) : input;
1485
1485
  match = output === glob;
1486
1486
  }
1487
- if (match === false || opts.capture === true) if (opts.matchBase === true || opts.basename === true) match = picomatch$1.matchBase(input, regex, options, posix$1);
1487
+ if (match === false || opts.capture === true) if (opts.matchBase === true || opts.basename === true) match = picomatch.matchBase(input, regex, options, posix$1);
1488
1488
  else match = regex.exec(output);
1489
1489
  return {
1490
1490
  isMatch: Boolean(match),
@@ -1505,8 +1505,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1505
1505
  * @return {Boolean}
1506
1506
  * @api public
1507
1507
  */
1508
- picomatch$1.matchBase = (input, glob, options) => {
1509
- return (glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options)).test(utils$1.basename(input));
1508
+ picomatch.matchBase = (input, glob, options) => {
1509
+ return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
1510
1510
  };
1511
1511
  /**
1512
1512
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
@@ -1524,7 +1524,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1524
1524
  * @return {Boolean} Returns true if any patterns match `str`
1525
1525
  * @api public
1526
1526
  */
1527
- picomatch$1.isMatch = (str, patterns, options) => picomatch$1(patterns, options)(str);
1527
+ picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
1528
1528
  /**
1529
1529
  * Parse a glob pattern to create the source string for a regular
1530
1530
  * expression.
@@ -1538,8 +1538,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1538
1538
  * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
1539
1539
  * @api public
1540
1540
  */
1541
- picomatch$1.parse = (pattern, options) => {
1542
- if (Array.isArray(pattern)) return pattern.map((p) => picomatch$1.parse(p, options));
1541
+ picomatch.parse = (pattern, options) => {
1542
+ if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
1543
1543
  return parse(pattern, {
1544
1544
  ...options,
1545
1545
  fastpaths: false
@@ -1571,7 +1571,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1571
1571
  * @return {Object} Returns an object with
1572
1572
  * @api public
1573
1573
  */
1574
- picomatch$1.scan = (input, options) => scan(input, options);
1574
+ picomatch.scan = (input, options) => scan(input, options);
1575
1575
  /**
1576
1576
  * Compile a regular expression from the `state` object returned by the
1577
1577
  * [parse()](#parse) method.
@@ -1583,14 +1583,14 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1583
1583
  * @return {RegExp}
1584
1584
  * @api public
1585
1585
  */
1586
- picomatch$1.compileRe = (state, options, returnOutput = false, returnState = false) => {
1586
+ picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
1587
1587
  if (returnOutput === true) return state.output;
1588
1588
  const opts = options || {};
1589
1589
  const prepend = opts.contains ? "" : "^";
1590
1590
  const append = opts.contains ? "" : "$";
1591
1591
  let source = `${prepend}(?:${state.output})${append}`;
1592
1592
  if (state && state.negated === true) source = `^(?!${source}).*$`;
1593
- const regex = picomatch$1.toRegex(source, options);
1593
+ const regex = picomatch.toRegex(source, options);
1594
1594
  if (returnState === true) regex.state = state;
1595
1595
  return regex;
1596
1596
  };
@@ -1612,7 +1612,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1612
1612
  * @return {RegExp} Returns a regex created from the given pattern.
1613
1613
  * @api public
1614
1614
  */
1615
- picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
1615
+ picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
1616
1616
  if (!input || typeof input !== "string") throw new TypeError("Expected a non-empty string");
1617
1617
  let parsed = {
1618
1618
  negated: false,
@@ -1620,7 +1620,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1620
1620
  };
1621
1621
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) parsed.output = parse.fastpaths(input, options);
1622
1622
  if (!parsed.output) parsed = parse(input, options);
1623
- return picomatch$1.compileRe(parsed, options, returnOutput, returnState);
1623
+ return picomatch.compileRe(parsed, options, returnOutput, returnState);
1624
1624
  };
1625
1625
  /**
1626
1626
  * Create a regular expression from the given regex source string.
@@ -1638,7 +1638,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1638
1638
  * @return {RegExp}
1639
1639
  * @api public
1640
1640
  */
1641
- picomatch$1.toRegex = (source, options) => {
1641
+ picomatch.toRegex = (source, options) => {
1642
1642
  try {
1643
1643
  const opts = options || {};
1644
1644
  return new RegExp(source, opts.flags || (opts.nocase ? "i" : ""));
@@ -1651,11 +1651,11 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1651
1651
  * Picomatch constants.
1652
1652
  * @return {Object}
1653
1653
  */
1654
- picomatch$1.constants = constants;
1654
+ picomatch.constants = constants;
1655
1655
  /**
1656
1656
  * Expose "picomatch"
1657
1657
  */
1658
- module.exports = picomatch$1;
1658
+ module.exports = picomatch;
1659
1659
  }));
1660
1660
 
1661
1661
  //#endregion
@@ -1814,14 +1814,14 @@ function build$2(options, isSynchronous) {
1814
1814
  function isRecursive(path$2, resolved, state) {
1815
1815
  if (state.options.useRealPaths) return isRecursiveUsingRealPaths(resolved, state);
1816
1816
  let parent = dirname(path$2);
1817
- let depth$1 = 1;
1818
- while (parent !== state.root && depth$1 < 2) {
1817
+ let depth = 1;
1818
+ while (parent !== state.root && depth < 2) {
1819
1819
  const resolvedPath = state.symlinks.get(parent);
1820
- if (!!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath))) depth$1++;
1820
+ if (!!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath))) depth++;
1821
1821
  else parent = dirname(parent);
1822
1822
  }
1823
1823
  state.symlinks.set(path$2, resolved);
1824
- return depth$1 > 1;
1824
+ return depth > 1;
1825
1825
  }
1826
1826
  function isRecursiveUsingRealPaths(resolved, state) {
1827
1827
  return state.visited.includes(resolved + state.options.pathSeparator);
@@ -1991,7 +1991,7 @@ var Walker = class {
1991
1991
  this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk);
1992
1992
  return this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
1993
1993
  }
1994
- walk = (entries, directoryPath, depth$1) => {
1994
+ walk = (entries, directoryPath, depth) => {
1995
1995
  const { paths, options: { filters, resolveSymlinks: resolveSymlinks$1, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
1996
1996
  if (controller.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles) return;
1997
1997
  const files = this.getArray(this.state.paths);
@@ -2004,14 +2004,14 @@ var Walker = class {
2004
2004
  let path$2 = joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
2005
2005
  if (exclude && exclude(entry.name, path$2)) continue;
2006
2006
  this.pushDirectory(path$2, paths, filters);
2007
- this.walkDirectory(this.state, path$2, path$2, depth$1 - 1, this.walk);
2007
+ this.walkDirectory(this.state, path$2, path$2, depth - 1, this.walk);
2008
2008
  } else if (this.resolveSymlink && entry.isSymbolicLink()) {
2009
2009
  let path$2 = joinPathWithBasePath(entry.name, directoryPath);
2010
2010
  this.resolveSymlink(path$2, this.state, (stat$1, resolvedPath) => {
2011
2011
  if (stat$1.isDirectory()) {
2012
2012
  resolvedPath = normalizePath$1(resolvedPath, this.state.options);
2013
2013
  if (exclude && exclude(entry.name, useRealPaths ? resolvedPath : path$2 + pathSeparator)) return;
2014
- this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path$2 + pathSeparator, depth$1 - 1, this.walk);
2014
+ this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path$2 + pathSeparator, depth - 1, this.walk);
2015
2015
  } else {
2016
2016
  resolvedPath = useRealPaths ? resolvedPath : path$2;
2017
2017
  const filename = basename(resolvedPath);
@@ -2096,8 +2096,8 @@ var Builder = class {
2096
2096
  this.options.includeDirs = true;
2097
2097
  return this;
2098
2098
  }
2099
- withMaxDepth(depth$1) {
2100
- this.options.maxDepth = depth$1;
2099
+ withMaxDepth(depth) {
2100
+ this.options.maxDepth = depth;
2101
2101
  return this;
2102
2102
  }
2103
2103
  withMaxFiles(limit) {
@@ -2616,9 +2616,9 @@ var import_commondir = /* @__PURE__ */ __toESM(require_commondir(), 1);
2616
2616
  var import_is_reference = /* @__PURE__ */ __toESM(require_is_reference(), 1);
2617
2617
  var version = "29.0.0";
2618
2618
  var peerDependencies = { rollup: "^2.68.0||^3.0.0||^4.0.0" };
2619
- function tryParse(parse$2, code, id) {
2619
+ function tryParse(parse, code, id) {
2620
2620
  try {
2621
- return parse$2(code, { allowReturnOutsideFunction: true });
2621
+ return parse(code, { allowReturnOutsideFunction: true });
2622
2622
  } catch (err) {
2623
2623
  err.message += ` in ${id}`;
2624
2624
  throw err;
@@ -2629,8 +2629,8 @@ const firstpassNoGlobal = /\b(?:require|module|exports)\b/;
2629
2629
  function hasCjsKeywords(code, ignoreGlobal) {
2630
2630
  return (ignoreGlobal ? firstpassNoGlobal : firstpassGlobal).test(code);
2631
2631
  }
2632
- function analyzeTopLevelStatements(parse$2, code, id) {
2633
- const ast = tryParse(parse$2, code, id);
2632
+ function analyzeTopLevelStatements(parse, code, id) {
2633
+ const ast = tryParse(parse, code, id);
2634
2634
  let isEsModule = false;
2635
2635
  let hasDefaultExport = false;
2636
2636
  let hasNamedExports = false;
@@ -3430,8 +3430,8 @@ function getGenerateRequireName() {
3430
3430
  }
3431
3431
  const exportsPattern = /^(?:module\.)?exports(?:\.([a-zA-Z_$][a-zA-Z_$0-9]*))?$/;
3432
3432
  const functionType = /^(?:FunctionDeclaration|FunctionExpression|ArrowFunctionExpression)$/;
3433
- async function transformCommonjs(parse$2, code, id, isEsModule, ignoreGlobal, ignoreRequire, ignoreDynamicRequires, getIgnoreTryCatchRequireStatementMode, sourceMap, isDynamicRequireModulesEnabled, dynamicRequireModules, commonDir, astCache, defaultIsModuleExports, needsRequireWrapper, resolveRequireSourcesAndUpdateMeta, isRequired, checkDynamicRequire, commonjsMeta) {
3434
- const ast = astCache || tryParse(parse$2, code, id);
3433
+ async function transformCommonjs(parse, code, id, isEsModule, ignoreGlobal, ignoreRequire, ignoreDynamicRequires, getIgnoreTryCatchRequireStatementMode, sourceMap, isDynamicRequireModulesEnabled, dynamicRequireModules, commonDir, astCache, defaultIsModuleExports, needsRequireWrapper, resolveRequireSourcesAndUpdateMeta, isRequired, checkDynamicRequire, commonjsMeta) {
3434
+ const ast = astCache || tryParse(parse, code, id);
3435
3435
  const magicString = new MagicString(code);
3436
3436
  const uses = {
3437
3437
  module: false,