@awsless/cli 0.1.45 → 0.1.46

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.
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
18
18
  return cached;
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
- const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
22
  if (mod && typeof mod === "object" || typeof mod === "function") {
23
23
  for (let key of __getOwnPropNames(mod))
24
24
  if (!__hasOwnProp.call(to, key))
@@ -171,8 +171,8 @@ var require_string_width = __commonJS(function(exports, module) {
171
171
  }
172
172
  string = string.replace(emojiRegex(), " ");
173
173
  let width = 0;
174
- for (let i = 0;i < string.length; i++) {
175
- const code = string.codePointAt(i);
174
+ for (let i2 = 0;i2 < string.length; i2++) {
175
+ const code = string.codePointAt(i2);
176
176
  if (code <= 31 || code >= 127 && code <= 159) {
177
177
  continue;
178
178
  }
@@ -180,7 +180,7 @@ var require_string_width = __commonJS(function(exports, module) {
180
180
  continue;
181
181
  }
182
182
  if (code > 65535) {
183
- i++;
183
+ i2++;
184
184
  }
185
185
  width += isFullwidthCodePoint(code) ? 2 : 1;
186
186
  }
@@ -208,23 +208,23 @@ var require_utils = __commonJS(function(exports, module) {
208
208
  function repeat(str, times) {
209
209
  return Array(times + 1).join(str);
210
210
  }
211
- function pad(str, len, pad, dir) {
211
+ function pad(str, len, pad2, dir) {
212
212
  let length = strlen(str);
213
213
  if (len + 1 >= length) {
214
214
  let padlen = len - length;
215
215
  switch (dir) {
216
216
  case "right": {
217
- str = repeat(pad, padlen) + str;
217
+ str = repeat(pad2, padlen) + str;
218
218
  break;
219
219
  }
220
220
  case "center": {
221
221
  let right = Math.ceil(padlen / 2);
222
222
  let left = padlen - right;
223
- str = repeat(pad, left) + str + repeat(pad, right);
223
+ str = repeat(pad2, left) + str + repeat(pad2, right);
224
224
  break;
225
225
  }
226
226
  default: {
227
- str = str + repeat(pad, padlen);
227
+ str = str + repeat(pad2, padlen);
228
228
  break;
229
229
  }
230
230
  }
@@ -255,9 +255,9 @@ var require_utils = __commonJS(function(exports, module) {
255
255
  return;
256
256
  }
257
257
  if (controlCode === 0) {
258
- for (let i in state) {
259
- if (Object.prototype.hasOwnProperty.call(state, i)) {
260
- delete state[i];
258
+ for (let i2 in state) {
259
+ if (Object.prototype.hasOwnProperty.call(state, i2)) {
260
+ delete state[i2];
261
261
  }
262
262
  }
263
263
  return;
@@ -412,8 +412,8 @@ var require_utils = __commonJS(function(exports, module) {
412
412
  let line = [];
413
413
  let lineLength = 0;
414
414
  let whitespace;
415
- for (let i = 0;i < split.length; i += 2) {
416
- let word = split[i];
415
+ for (let i2 = 0;i2 < split.length; i2 += 2) {
416
+ let word = split[i2];
417
417
  let newLength = lineLength + strlen(word);
418
418
  if (lineLength > 0 && whitespace) {
419
419
  newLength += whitespace.length;
@@ -428,7 +428,7 @@ var require_utils = __commonJS(function(exports, module) {
428
428
  line.push(whitespace || "", word);
429
429
  lineLength = newLength;
430
430
  }
431
- whitespace = split[i + 1];
431
+ whitespace = split[i2 + 1];
432
432
  }
433
433
  if (lineLength) {
434
434
  lines.push(line.join(""));
@@ -448,8 +448,8 @@ var require_utils = __commonJS(function(exports, module) {
448
448
  }
449
449
  }
450
450
  let split = input.split(/(\s+)/g);
451
- for (let i = 0;i < split.length; i += 2) {
452
- pushLine(split[i], i && split[i - 1]);
451
+ for (let i2 = 0;i2 < split.length; i2 += 2) {
452
+ pushLine(split[i2], i2 && split[i2 - 1]);
453
453
  }
454
454
  if (line.length)
455
455
  lines.push(line);
@@ -460,16 +460,16 @@ var require_utils = __commonJS(function(exports, module) {
460
460
  input = input.split(`
461
461
  `);
462
462
  const handler = wrapOnWordBoundary ? wordWrap : textWrap;
463
- for (let i = 0;i < input.length; i++) {
464
- output.push.apply(output, handler(maxLength, input[i]));
463
+ for (let i2 = 0;i2 < input.length; i2++) {
464
+ output.push.apply(output, handler(maxLength, input[i2]));
465
465
  }
466
466
  return output;
467
467
  }
468
468
  function colorizeLines(input) {
469
469
  let state = {};
470
470
  let output = [];
471
- for (let i = 0;i < input.length; i++) {
472
- let line = rewindState(state, input[i]);
471
+ for (let i2 = 0;i2 < input.length; i2++) {
472
+ let line = rewindState(state, input[i2]);
473
473
  state = readState(line);
474
474
  let temp = Object.assign({}, state);
475
475
  output.push(unwindState(temp, line));
@@ -855,33 +855,33 @@ var require_zalgo = __commonJS(function(exports, module) {
855
855
  };
856
856
  var all = [].concat(soul.up, soul.down, soul.mid);
857
857
  function randomNumber(range) {
858
- var r = Math.floor(Math.random() * range);
859
- return r;
858
+ var r2 = Math.floor(Math.random() * range);
859
+ return r2;
860
860
  }
861
861
  function isChar(character) {
862
862
  var bool = false;
863
- all.filter(function(i) {
864
- bool = i === character;
863
+ all.filter(function(i2) {
864
+ bool = i2 === character;
865
865
  });
866
866
  return bool;
867
867
  }
868
- function heComes(text, options) {
868
+ function heComes(text2, options2) {
869
869
  var result = "";
870
870
  var counts;
871
871
  var l;
872
- options = options || {};
873
- options["up"] = typeof options["up"] !== "undefined" ? options["up"] : true;
874
- options["mid"] = typeof options["mid"] !== "undefined" ? options["mid"] : true;
875
- options["down"] = typeof options["down"] !== "undefined" ? options["down"] : true;
876
- options["size"] = typeof options["size"] !== "undefined" ? options["size"] : "maxi";
877
- text = text.split("");
878
- for (l in text) {
872
+ options2 = options2 || {};
873
+ options2["up"] = typeof options2["up"] !== "undefined" ? options2["up"] : true;
874
+ options2["mid"] = typeof options2["mid"] !== "undefined" ? options2["mid"] : true;
875
+ options2["down"] = typeof options2["down"] !== "undefined" ? options2["down"] : true;
876
+ options2["size"] = typeof options2["size"] !== "undefined" ? options2["size"] : "maxi";
877
+ text2 = text2.split("");
878
+ for (l in text2) {
879
879
  if (isChar(l)) {
880
880
  continue;
881
881
  }
882
- result = result + text[l];
882
+ result = result + text2[l];
883
883
  counts = { up: 0, down: 0, mid: 0 };
884
- switch (options.size) {
884
+ switch (options2.size) {
885
885
  case "mini":
886
886
  counts.up = randomNumber(8);
887
887
  counts.mid = randomNumber(2);
@@ -901,8 +901,8 @@ var require_zalgo = __commonJS(function(exports, module) {
901
901
  var arr = ["up", "mid", "down"];
902
902
  for (var d in arr) {
903
903
  var index = arr[d];
904
- for (var i = 0;i <= counts[index]; i++) {
905
- if (options[index]) {
904
+ for (var i2 = 0;i2 <= counts[index]; i2++) {
905
+ if (options2[index]) {
906
906
  result = result + soul[index][randomNumber(soul[index].length)];
907
907
  }
908
908
  }
@@ -917,10 +917,10 @@ var require_zalgo = __commonJS(function(exports, module) {
917
917
  // ../../node_modules/.pnpm/@colors+colors@1.5.0/node_modules/@colors/colors/lib/maps/america.js
918
918
  var require_america = __commonJS(function(exports, module) {
919
919
  module["exports"] = function(colors) {
920
- return function(letter, i, exploded) {
920
+ return function(letter, i2, exploded) {
921
921
  if (letter === " ")
922
922
  return letter;
923
- switch (i % 3) {
923
+ switch (i2 % 3) {
924
924
  case 0:
925
925
  return colors.red(letter);
926
926
  case 1:
@@ -935,8 +935,8 @@ var require_america = __commonJS(function(exports, module) {
935
935
  // ../../node_modules/.pnpm/@colors+colors@1.5.0/node_modules/@colors/colors/lib/maps/zebra.js
936
936
  var require_zebra = __commonJS(function(exports, module) {
937
937
  module["exports"] = function(colors) {
938
- return function(letter, i, exploded) {
939
- return i % 2 === 0 ? letter : colors.inverse(letter);
938
+ return function(letter, i2, exploded) {
939
+ return i2 % 2 === 0 ? letter : colors.inverse(letter);
940
940
  };
941
941
  };
942
942
  });
@@ -945,11 +945,11 @@ var require_zebra = __commonJS(function(exports, module) {
945
945
  var require_rainbow = __commonJS(function(exports, module) {
946
946
  module["exports"] = function(colors) {
947
947
  var rainbowColors = ["red", "yellow", "green", "blue", "magenta"];
948
- return function(letter, i, exploded) {
948
+ return function(letter, i2, exploded) {
949
949
  if (letter === " ") {
950
950
  return letter;
951
951
  } else {
952
- return colors[rainbowColors[i++ % rainbowColors.length]](letter);
952
+ return colors[rainbowColors[i2++ % rainbowColors.length]](letter);
953
953
  }
954
954
  };
955
955
  };
@@ -977,7 +977,7 @@ var require_random = __commonJS(function(exports, module) {
977
977
  "brightCyan",
978
978
  "brightMagenta"
979
979
  ];
980
- return function(letter, i, exploded) {
980
+ return function(letter, i2, exploded) {
981
981
  return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 2))]](letter);
982
982
  };
983
983
  };
@@ -1005,7 +1005,7 @@ var require_colors = __commonJS(function(exports, module) {
1005
1005
  colors.stripColors = colors.strip = function(str) {
1006
1006
  return ("" + str).replace(/\x1B\[\d+m/g, "");
1007
1007
  };
1008
- var stylize = colors.stylize = function stylize(str, style) {
1008
+ var stylize = colors.stylize = function stylize2(str, style) {
1009
1009
  if (!colors.enabled) {
1010
1010
  return str + "";
1011
1011
  }
@@ -1023,8 +1023,8 @@ var require_colors = __commonJS(function(exports, module) {
1023
1023
  return str.replace(matchOperatorsRe, "\\$&");
1024
1024
  };
1025
1025
  function build(_styles) {
1026
- var builder = function builder() {
1027
- return applyStyle.apply(builder, arguments);
1026
+ var builder = function builder2() {
1027
+ return applyStyle.apply(builder2, arguments);
1028
1028
  };
1029
1029
  builder._styles = _styles;
1030
1030
  builder.__proto__ = proto;
@@ -1043,7 +1043,7 @@ var require_colors = __commonJS(function(exports, module) {
1043
1043
  });
1044
1044
  return ret;
1045
1045
  }();
1046
- var proto = defineProps(function colors() {}, styles);
1046
+ var proto = defineProps(function colors2() {}, styles);
1047
1047
  function applyStyle() {
1048
1048
  var args = Array.prototype.slice.call(arguments);
1049
1049
  var str = args.map(function(arg) {
@@ -1059,9 +1059,9 @@ var require_colors = __commonJS(function(exports, module) {
1059
1059
  var newLinesPresent = str.indexOf(`
1060
1060
  `) != -1;
1061
1061
  var nestedStyles = this._styles;
1062
- var i = nestedStyles.length;
1063
- while (i--) {
1064
- var code = ansiStyles[nestedStyles[i]];
1062
+ var i2 = nestedStyles.length;
1063
+ while (i2--) {
1064
+ var code = ansiStyles[nestedStyles[i2]];
1065
1065
  str = code.open + str.replace(code.closeRe, code.open) + code.close;
1066
1066
  if (newLinesPresent) {
1067
1067
  str = str.replace(newLineRegex, function(match) {
@@ -1077,16 +1077,16 @@ var require_colors = __commonJS(function(exports, module) {
1077
1077
  return;
1078
1078
  }
1079
1079
  for (var style in theme) {
1080
- (function(style) {
1081
- colors[style] = function(str) {
1082
- if (typeof theme[style] === "object") {
1080
+ (function(style2) {
1081
+ colors[style2] = function(str) {
1082
+ if (typeof theme[style2] === "object") {
1083
1083
  var out = str;
1084
- for (var i in theme[style]) {
1085
- out = colors[theme[style][i]](out);
1084
+ for (var i2 in theme[style2]) {
1085
+ out = colors[theme[style2][i2]](out);
1086
1086
  }
1087
1087
  return out;
1088
1088
  }
1089
- return colors[theme[style]](str);
1089
+ return colors[theme[style2]](str);
1090
1090
  };
1091
1091
  })(style);
1092
1092
  }
@@ -1102,9 +1102,9 @@ var require_colors = __commonJS(function(exports, module) {
1102
1102
  });
1103
1103
  return ret;
1104
1104
  }
1105
- var sequencer = function sequencer(map, str) {
1105
+ var sequencer = function sequencer2(map2, str) {
1106
1106
  var exploded = str.split("");
1107
- exploded = exploded.map(map);
1107
+ exploded = exploded.map(map2);
1108
1108
  return exploded.join("");
1109
1109
  };
1110
1110
  colors.trap = require_trap();
@@ -1115,9 +1115,9 @@ var require_colors = __commonJS(function(exports, module) {
1115
1115
  colors.maps.rainbow = require_rainbow()(colors);
1116
1116
  colors.maps.random = require_random()(colors);
1117
1117
  for (map in colors.maps) {
1118
- (function(map) {
1119
- colors[map] = function(str) {
1120
- return sequencer(colors.maps[map], str);
1118
+ (function(map2) {
1119
+ colors[map2] = function(str) {
1120
+ return sequencer(colors.maps[map2], str);
1121
1121
  };
1122
1122
  })(map);
1123
1123
  }
@@ -1188,14 +1188,14 @@ var require_cell = __commonJS(function(exports, module) {
1188
1188
  }
1189
1189
  computeLines(tableOptions) {
1190
1190
  const tableWordWrap = tableOptions.wordWrap || tableOptions.textWrap;
1191
- const { wordWrap: wordWrap2 = tableWordWrap } = this.options;
1192
- if (this.fixedWidth && wordWrap2) {
1191
+ const { wordWrap = tableWordWrap } = this.options;
1192
+ if (this.fixedWidth && wordWrap) {
1193
1193
  this.fixedWidth -= this.paddingLeft + this.paddingRight;
1194
1194
  if (this.colSpan) {
1195
- let i = 1;
1196
- while (i < this.colSpan) {
1197
- this.fixedWidth += tableOptions.colWidths[this.x + i];
1198
- i++;
1195
+ let i2 = 1;
1196
+ while (i2 < this.colSpan) {
1197
+ this.fixedWidth += tableOptions.colWidths[this.x + i2];
1198
+ i2++;
1199
1199
  }
1200
1200
  }
1201
1201
  const { wrapOnWordBoundary: tableWrapOnWordBoundary = true } = tableOptions;
@@ -1282,11 +1282,11 @@ var require_cell = __commonJS(function(exports, module) {
1282
1282
  leftChar = offset == 0 ? "topMid" : "mid";
1283
1283
  }
1284
1284
  if (offset == 0) {
1285
- let i = 1;
1286
- while (this.cells[this.y][x - i] instanceof Cell.ColSpanCell) {
1287
- i++;
1285
+ let i2 = 1;
1286
+ while (this.cells[this.y][x - i2] instanceof Cell.ColSpanCell) {
1287
+ i2++;
1288
1288
  }
1289
- if (this.cells[this.y][x - i] instanceof Cell.RowSpanCell) {
1289
+ if (this.cells[this.y][x - i2] instanceof Cell.RowSpanCell) {
1290
1290
  leftChar = "leftMid";
1291
1291
  }
1292
1292
  }
@@ -1299,8 +1299,8 @@ var require_cell = __commonJS(function(exports, module) {
1299
1299
  if (this[styleProperty] && this[styleProperty].length) {
1300
1300
  try {
1301
1301
  let colors = require_safe();
1302
- for (let i = this[styleProperty].length - 1;i >= 0; i--) {
1303
- colors = colors[this[styleProperty][i]];
1302
+ for (let i2 = this[styleProperty].length - 1;i2 >= 0; i2--) {
1303
+ colors = colors[this[styleProperty][i2]];
1304
1304
  }
1305
1305
  return colors(content);
1306
1306
  } catch (e) {
@@ -1413,13 +1413,13 @@ var require_cell = __commonJS(function(exports, module) {
1413
1413
  }
1414
1414
  function findDimension(dimensionTable, startingIndex, span) {
1415
1415
  let ret = dimensionTable[startingIndex];
1416
- for (let i = 1;i < span; i++) {
1417
- ret += 1 + dimensionTable[startingIndex + i];
1416
+ for (let i2 = 1;i2 < span; i2++) {
1417
+ ret += 1 + dimensionTable[startingIndex + i2];
1418
1418
  }
1419
1419
  return ret;
1420
1420
  }
1421
- function sumPlusOne(a, b) {
1422
- return a + b + 1;
1421
+ function sumPlusOne(a2, b) {
1422
+ return a2 + b + 1;
1423
1423
  }
1424
1424
  var CHAR_NAMES = [
1425
1425
  "top",
@@ -1506,8 +1506,8 @@ var require_layout_manager = __commonJS(function(exports, module) {
1506
1506
  function conflictExists(rows, x, y) {
1507
1507
  let i_max = Math.min(rows.length - 1, y);
1508
1508
  let cell = { x, y };
1509
- for (let i = 0;i <= i_max; i++) {
1510
- let row = rows[i];
1509
+ for (let i2 = 0;i2 <= i_max; i2++) {
1510
+ let row = rows[i2];
1511
1511
  for (let j = 0;j < row.length; j++) {
1512
1512
  if (cellsConflict(cell, row[j])) {
1513
1513
  return true;
@@ -1527,12 +1527,12 @@ var require_layout_manager = __commonJS(function(exports, module) {
1527
1527
  function addRowSpanCells(table) {
1528
1528
  table.forEach(function(row, rowIndex) {
1529
1529
  row.forEach(function(cell) {
1530
- for (let i = 1;i < cell.rowSpan; i++) {
1530
+ for (let i2 = 1;i2 < cell.rowSpan; i2++) {
1531
1531
  let rowSpanCell = new RowSpanCell(cell);
1532
1532
  rowSpanCell.x = cell.x;
1533
- rowSpanCell.y = cell.y + i;
1533
+ rowSpanCell.y = cell.y + i2;
1534
1534
  rowSpanCell.colSpan = cell.colSpan;
1535
- insertCell(rowSpanCell, table[rowIndex + i]);
1535
+ insertCell(rowSpanCell, table[rowIndex + i2]);
1536
1536
  }
1537
1537
  });
1538
1538
  });
@@ -1646,9 +1646,9 @@ var require_layout_manager = __commonJS(function(exports, module) {
1646
1646
  let existingWidth = result[col];
1647
1647
  let editableCols = typeof vals[col] === "number" ? 0 : 1;
1648
1648
  if (typeof existingWidth === "number") {
1649
- for (let i = 1;i < span; i++) {
1650
- existingWidth += 1 + result[col + i];
1651
- if (typeof vals[col + i] !== "number") {
1649
+ for (let i2 = 1;i2 < span; i2++) {
1650
+ existingWidth += 1 + result[col + i2];
1651
+ if (typeof vals[col + i2] !== "number") {
1652
1652
  editableCols++;
1653
1653
  }
1654
1654
  }
@@ -1659,15 +1659,15 @@ var require_layout_manager = __commonJS(function(exports, module) {
1659
1659
  }
1660
1660
  }
1661
1661
  if (cell[desiredWidth] > existingWidth) {
1662
- let i = 0;
1662
+ let i2 = 0;
1663
1663
  while (editableCols > 0 && cell[desiredWidth] > existingWidth) {
1664
- if (typeof vals[col + i] !== "number") {
1664
+ if (typeof vals[col + i2] !== "number") {
1665
1665
  let dif = Math.round((cell[desiredWidth] - existingWidth) / editableCols);
1666
1666
  existingWidth += dif;
1667
- result[col + i] += dif;
1667
+ result[col + i2] += dif;
1668
1668
  editableCols--;
1669
1669
  }
1670
- i++;
1670
+ i2++;
1671
1671
  }
1672
1672
  }
1673
1673
  }
@@ -1944,8 +1944,8 @@ var require_utils2 = __commonJS(function(exports) {
1944
1944
  return false;
1945
1945
  };
1946
1946
  exports.removeBackslashes = (str) => {
1947
- return str.replace(REGEX_REMOVE_BACKSLASH, (match) => {
1948
- return match === "\\" ? "" : match;
1947
+ return str.replace(REGEX_REMOVE_BACKSLASH, (match2) => {
1948
+ return match2 === "\\" ? "" : match2;
1949
1949
  });
1950
1950
  };
1951
1951
  exports.escapeLast = (input, char, lastIdx) => {
@@ -1973,8 +1973,8 @@ var require_utils2 = __commonJS(function(exports) {
1973
1973
  }
1974
1974
  return output;
1975
1975
  };
1976
- exports.basename = (path, { windows } = {}) => {
1977
- const segs = path.split(windows ? /[\\/]/ : "/");
1976
+ exports.basename = (path2, { windows } = {}) => {
1977
+ const segs = path2.split(windows ? /[\\/]/ : "/");
1978
1978
  const last = segs[segs.length - 1];
1979
1979
  if (last === "") {
1980
1980
  return segs[segs.length - 2];
@@ -2263,9 +2263,9 @@ var require_scan = __commonJS(function(exports, module) {
2263
2263
  if (opts.parts === true || opts.tokens === true) {
2264
2264
  let prevIndex;
2265
2265
  for (let idx = 0;idx < slashes.length; idx++) {
2266
- const n = prevIndex ? prevIndex + 1 : start;
2267
- const i = slashes[idx];
2268
- const value = input.slice(n, i);
2266
+ const n2 = prevIndex ? prevIndex + 1 : start;
2267
+ const i2 = slashes[idx];
2268
+ const value = input.slice(n2, i2);
2269
2269
  if (opts.tokens) {
2270
2270
  if (idx === 0 && start !== 0) {
2271
2271
  tokens[idx].isPrefix = true;
@@ -2279,7 +2279,7 @@ var require_scan = __commonJS(function(exports, module) {
2279
2279
  if (idx !== 0 || value !== "") {
2280
2280
  parts.push(value);
2281
2281
  }
2282
- prevIndex = i;
2282
+ prevIndex = i2;
2283
2283
  }
2284
2284
  if (prevIndex && prevIndex + 1 < input.length) {
2285
2285
  const value = input.slice(prevIndex + 1);
@@ -2404,15 +2404,15 @@ var require_parse = __commonJS(function(exports, module) {
2404
2404
  };
2405
2405
  var hasRepeatedCharPrefixOverlap = (branches) => {
2406
2406
  const values = branches.map(normalizeSimpleBranch).filter(Boolean);
2407
- for (let i = 0;i < values.length; i++) {
2408
- for (let j = i + 1;j < values.length; j++) {
2409
- const a = values[i];
2407
+ for (let i2 = 0;i2 < values.length; i2++) {
2408
+ for (let j = i2 + 1;j < values.length; j++) {
2409
+ const a2 = values[i2];
2410
2410
  const b = values[j];
2411
- const char = a[0];
2412
- if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
2411
+ const char = a2[0];
2412
+ if (!char || a2 !== char.repeat(a2.length) || b !== char.repeat(b.length)) {
2413
2413
  continue;
2414
2414
  }
2415
- if (a === b || a.startsWith(b) || b.startsWith(a)) {
2415
+ if (a2 === b || a2.startsWith(b) || b.startsWith(a2)) {
2416
2416
  return true;
2417
2417
  }
2418
2418
  }
@@ -2427,8 +2427,8 @@ var require_parse = __commonJS(function(exports, module) {
2427
2427
  let paren = 0;
2428
2428
  let quote = 0;
2429
2429
  let escaped = false;
2430
- for (let i = 1;i < pattern.length; i++) {
2431
- const ch = pattern[i];
2430
+ for (let i2 = 1;i2 < pattern.length; i2++) {
2431
+ const ch = pattern[i2];
2432
2432
  if (escaped === true) {
2433
2433
  escaped = false;
2434
2434
  continue;
@@ -2462,13 +2462,13 @@ var require_parse = __commonJS(function(exports, module) {
2462
2462
  if (ch === ")") {
2463
2463
  paren--;
2464
2464
  if (paren === 0) {
2465
- if (requireEnd === true && i !== pattern.length - 1) {
2465
+ if (requireEnd === true && i2 !== pattern.length - 1) {
2466
2466
  return;
2467
2467
  }
2468
2468
  return {
2469
2469
  type: pattern[0],
2470
- body: pattern.slice(2, i),
2471
- end: i
2470
+ body: pattern.slice(2, i2),
2471
+ end: i2
2472
2472
  };
2473
2473
  }
2474
2474
  }
@@ -2482,11 +2482,11 @@ var require_parse = __commonJS(function(exports, module) {
2482
2482
  let index = 0;
2483
2483
  const chars = [];
2484
2484
  while (index < pattern.length) {
2485
- const match = parseRepeatedExtglob(pattern.slice(index), false);
2486
- if (!match || match.type !== "*") {
2485
+ const match2 = parseRepeatedExtglob(pattern.slice(index), false);
2486
+ if (!match2 || match2.type !== "*") {
2487
2487
  return;
2488
2488
  }
2489
- const branches = splitTopLevel(match.body).map((branch) => branch.trim());
2489
+ const branches = splitTopLevel(match2.body).map((branch2) => branch2.trim());
2490
2490
  if (branches.length !== 1) {
2491
2491
  return;
2492
2492
  }
@@ -2495,7 +2495,7 @@ var require_parse = __commonJS(function(exports, module) {
2495
2495
  return;
2496
2496
  }
2497
2497
  chars.push(branch);
2498
- index += match.end + 1;
2498
+ index += match2.end + 1;
2499
2499
  }
2500
2500
  if (chars.length < 1) {
2501
2501
  return;
@@ -2505,11 +2505,11 @@ var require_parse = __commonJS(function(exports, module) {
2505
2505
  var repeatedExtglobRecursion = (pattern) => {
2506
2506
  let depth = 0;
2507
2507
  let value = pattern.trim();
2508
- let match = parseRepeatedExtglob(value);
2509
- while (match) {
2508
+ let match2 = parseRepeatedExtglob(value);
2509
+ while (match2) {
2510
2510
  depth++;
2511
- value = match.body.trim();
2512
- match = parseRepeatedExtglob(value);
2511
+ value = match2.body.trim();
2512
+ match2 = parseRepeatedExtglob(value);
2513
2513
  }
2514
2514
  return depth;
2515
2515
  };
@@ -2579,14 +2579,14 @@ var require_parse = __commonJS(function(exports, module) {
2579
2579
  STAR,
2580
2580
  START_ANCHOR
2581
2581
  } = PLATFORM_CHARS;
2582
- const globstar = (opts) => {
2583
- return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
2582
+ const globstar = (opts2) => {
2583
+ return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
2584
2584
  };
2585
2585
  const nodot = opts.dot ? "" : NO_DOT;
2586
2586
  const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
2587
- let star = opts.bash === true ? globstar(opts) : STAR;
2587
+ let star3 = opts.bash === true ? globstar(opts) : STAR;
2588
2588
  if (opts.capture) {
2589
- star = `(${star})`;
2589
+ star3 = `(${star3})`;
2590
2590
  }
2591
2591
  if (typeof opts.noext === "boolean") {
2592
2592
  opts.noextglob = opts.noext;
@@ -2616,11 +2616,11 @@ var require_parse = __commonJS(function(exports, module) {
2616
2616
  let prev = bos;
2617
2617
  let value;
2618
2618
  const eos = () => state.index === len - 1;
2619
- const peek = state.peek = (n = 1) => input[state.index + n];
2619
+ const peek = state.peek = (n2 = 1) => input[state.index + n2];
2620
2620
  const advance = state.advance = () => input[++state.index] || "";
2621
2621
  const remaining = () => input.slice(state.index + 1);
2622
- const consume = (value = "", num = 0) => {
2623
- state.consumed += value;
2622
+ const consume = (value2 = "", num = 0) => {
2623
+ state.consumed += value2;
2624
2624
  state.index += num;
2625
2625
  };
2626
2626
  const append = (token) => {
@@ -2657,7 +2657,7 @@ var require_parse = __commonJS(function(exports, module) {
2657
2657
  state.output = state.output.slice(0, -prev.output.length);
2658
2658
  prev.type = "star";
2659
2659
  prev.value = "*";
2660
- prev.output = star;
2660
+ prev.output = star3;
2661
2661
  state.output += prev.output;
2662
2662
  }
2663
2663
  }
@@ -2675,8 +2675,8 @@ var require_parse = __commonJS(function(exports, module) {
2675
2675
  tokens.push(tok);
2676
2676
  prev = tok;
2677
2677
  };
2678
- const extglobOpen = (type, value) => {
2679
- const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: "" };
2678
+ const extglobOpen = (type, value2) => {
2679
+ const token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" };
2680
2680
  token.prev = prev;
2681
2681
  token.parens = state.parens;
2682
2682
  token.output = state.output;
@@ -2684,7 +2684,7 @@ var require_parse = __commonJS(function(exports, module) {
2684
2684
  token.tokensIndex = tokens.length;
2685
2685
  const output = (opts.capture ? "(" : "") + token.open;
2686
2686
  increment("parens");
2687
- push({ type, value, output: state.output ? "" : ONE_CHAR });
2687
+ push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
2688
2688
  push({ type: "paren", extglob: true, value: advance(), output });
2689
2689
  extglobs.push(token);
2690
2690
  };
@@ -2698,10 +2698,10 @@ var require_parse = __commonJS(function(exports, module) {
2698
2698
  open.type = "text";
2699
2699
  open.value = literal;
2700
2700
  open.output = safeOutput || utils.escapeRegex(literal);
2701
- for (let i = token.tokensIndex + 1;i < tokens.length; i++) {
2702
- tokens[i].value = "";
2703
- tokens[i].output = "";
2704
- delete tokens[i].suffix;
2701
+ for (let i2 = token.tokensIndex + 1;i2 < tokens.length; i2++) {
2702
+ tokens[i2].value = "";
2703
+ tokens[i2].output = "";
2704
+ delete tokens[i2].suffix;
2705
2705
  }
2706
2706
  state.output = token.output + open.output;
2707
2707
  state.backtrack = true;
@@ -2712,11 +2712,11 @@ var require_parse = __commonJS(function(exports, module) {
2712
2712
  let output = token.close + (opts.capture ? ")" : "");
2713
2713
  let rest;
2714
2714
  if (token.type === "negate") {
2715
- let extglobStar = star;
2715
+ let extglobStar = star3;
2716
2716
  if (token.inner && token.inner.length > 1 && token.inner.includes("/")) {
2717
2717
  extglobStar = globstar(opts);
2718
2718
  }
2719
- if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) {
2719
+ if (extglobStar !== star3 || eos() || /^\)+$/.test(remaining())) {
2720
2720
  output = token.close = `)$))${extglobStar}`;
2721
2721
  }
2722
2722
  if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
@@ -2751,9 +2751,9 @@ var require_parse = __commonJS(function(exports, module) {
2751
2751
  }
2752
2752
  if (first === "*") {
2753
2753
  if (esc) {
2754
- return esc + first + (rest ? star : "");
2754
+ return esc + first + (rest ? star3 : "");
2755
2755
  }
2756
- return star;
2756
+ return star3;
2757
2757
  }
2758
2758
  return esc ? m : `\\${m}`;
2759
2759
  });
@@ -2791,10 +2791,10 @@ var require_parse = __commonJS(function(exports, module) {
2791
2791
  push({ type: "text", value });
2792
2792
  continue;
2793
2793
  }
2794
- const match = /^\\+/.exec(remaining());
2794
+ const match2 = /^\\+/.exec(remaining());
2795
2795
  let slashes = 0;
2796
- if (match && match[0].length > 2) {
2797
- slashes = match[0].length;
2796
+ if (match2 && match2[0].length > 2) {
2797
+ slashes = match2[0].length;
2798
2798
  state.index += slashes;
2799
2799
  if (slashes % 2 !== 0) {
2800
2800
  value += "\\";
@@ -2818,8 +2818,8 @@ var require_parse = __commonJS(function(exports, module) {
2818
2818
  if (inner.includes(":")) {
2819
2819
  const idx = prev.value.lastIndexOf("[");
2820
2820
  const pre = prev.value.slice(0, idx);
2821
- const rest = prev.value.slice(idx + 2);
2822
- const posix = POSIX_REGEX_SOURCE[rest];
2821
+ const rest2 = prev.value.slice(idx + 2);
2822
+ const posix = POSIX_REGEX_SOURCE[rest2];
2823
2823
  if (posix) {
2824
2824
  prev.value = pre + posix;
2825
2825
  state.backtrack = true;
@@ -2943,17 +2943,17 @@ var require_parse = __commonJS(function(exports, module) {
2943
2943
  let output = ")";
2944
2944
  if (brace.dots === true) {
2945
2945
  const arr = tokens.slice();
2946
- const range = [];
2947
- for (let i = arr.length - 1;i >= 0; i--) {
2946
+ const range2 = [];
2947
+ for (let i2 = arr.length - 1;i2 >= 0; i2--) {
2948
2948
  tokens.pop();
2949
- if (arr[i].type === "brace") {
2949
+ if (arr[i2].type === "brace") {
2950
2950
  break;
2951
2951
  }
2952
- if (arr[i].type !== "dots") {
2953
- range.unshift(arr[i].value);
2952
+ if (arr[i2].type !== "dots") {
2953
+ range2.unshift(arr[i2].value);
2954
2954
  }
2955
2955
  }
2956
- output = expandRange(range, opts);
2956
+ output = expandRange(range2, opts);
2957
2957
  state.backtrack = true;
2958
2958
  }
2959
2959
  if (brace.comma !== true && brace.dots !== true) {
@@ -2962,8 +2962,8 @@ var require_parse = __commonJS(function(exports, module) {
2962
2962
  brace.value = brace.output = "\\{";
2963
2963
  value = output = "\\}";
2964
2964
  state.output = out;
2965
- for (const t of toks) {
2966
- state.output += t.output || t.value;
2965
+ for (const t2 of toks) {
2966
+ state.output += t2.output || t2.value;
2967
2967
  }
2968
2968
  }
2969
2969
  push({ type: "brace", value, output });
@@ -3080,10 +3080,10 @@ var require_parse = __commonJS(function(exports, module) {
3080
3080
  if (value === "$" || value === "^") {
3081
3081
  value = `\\${value}`;
3082
3082
  }
3083
- const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());
3084
- if (match) {
3085
- value += match[0];
3086
- state.index += match[0].length;
3083
+ const match2 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
3084
+ if (match2) {
3085
+ value += match2[0];
3086
+ state.index += match2[0].length;
3087
3087
  }
3088
3088
  push({ type: "text", value });
3089
3089
  continue;
@@ -3092,7 +3092,7 @@ var require_parse = __commonJS(function(exports, module) {
3092
3092
  prev.type = "star";
3093
3093
  prev.star = true;
3094
3094
  prev.value += value;
3095
- prev.output = star;
3095
+ prev.output = star3;
3096
3096
  state.backtrack = true;
3097
3097
  state.globstar = true;
3098
3098
  consume(value);
@@ -3182,7 +3182,7 @@ var require_parse = __commonJS(function(exports, module) {
3182
3182
  consume(value);
3183
3183
  continue;
3184
3184
  }
3185
- const token = { type: "star", value, output: star };
3185
+ const token = { type: "star", value, output: star3 };
3186
3186
  if (opts.bash === true) {
3187
3187
  token.output = ".*?";
3188
3188
  if (prev.type === "bos" || prev.type === "slash") {
@@ -3269,41 +3269,41 @@ var require_parse = __commonJS(function(exports, module) {
3269
3269
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
3270
3270
  const capture = opts.capture ? "" : "?:";
3271
3271
  const state = { negated: false, prefix: "" };
3272
- let star = opts.bash === true ? ".*?" : STAR;
3272
+ let star3 = opts.bash === true ? ".*?" : STAR;
3273
3273
  if (opts.capture) {
3274
- star = `(${star})`;
3274
+ star3 = `(${star3})`;
3275
3275
  }
3276
- const globstar = (opts) => {
3277
- if (opts.noglobstar === true)
3278
- return star;
3279
- return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
3276
+ const globstar = (opts2) => {
3277
+ if (opts2.noglobstar === true)
3278
+ return star3;
3279
+ return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
3280
3280
  };
3281
3281
  const create = (str) => {
3282
3282
  switch (str) {
3283
3283
  case "*":
3284
- return `${nodot}${ONE_CHAR}${star}`;
3284
+ return `${nodot}${ONE_CHAR}${star3}`;
3285
3285
  case ".*":
3286
- return `${DOT_LITERAL}${ONE_CHAR}${star}`;
3286
+ return `${DOT_LITERAL}${ONE_CHAR}${star3}`;
3287
3287
  case "*.*":
3288
- return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
3288
+ return `${nodot}${star3}${DOT_LITERAL}${ONE_CHAR}${star3}`;
3289
3289
  case "*/*":
3290
- return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;
3290
+ return `${nodot}${star3}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star3}`;
3291
3291
  case "**":
3292
3292
  return nodot + globstar(opts);
3293
3293
  case "**/*":
3294
- return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;
3294
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star3}`;
3295
3295
  case "**/*.*":
3296
- return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
3296
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star3}${DOT_LITERAL}${ONE_CHAR}${star3}`;
3297
3297
  case "**/.*":
3298
- return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
3298
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star3}`;
3299
3299
  default: {
3300
- const match = /^(.*?)\.(\w+)$/.exec(str);
3301
- if (!match)
3300
+ const match2 = /^(.*?)\.(\w+)$/.exec(str);
3301
+ if (!match2)
3302
3302
  return;
3303
- const source = create(match[1]);
3304
- if (!source)
3303
+ const source2 = create(match2[1]);
3304
+ if (!source2)
3305
3305
  return;
3306
- return source + DOT_LITERAL + match[2];
3306
+ return source2 + DOT_LITERAL + match2[2];
3307
3307
  }
3308
3308
  }
3309
3309
  };
@@ -3329,9 +3329,9 @@ var require_picomatch = __commonJS(function(exports, module) {
3329
3329
  const fns = glob.map((input) => picomatch(input, options, returnState));
3330
3330
  const arrayMatcher = (str) => {
3331
3331
  for (const isMatch of fns) {
3332
- const state = isMatch(str);
3333
- if (state)
3334
- return state;
3332
+ const state2 = isMatch(str);
3333
+ if (state2)
3334
+ return state2;
3335
3335
  }
3336
3336
  return false;
3337
3337
  };
@@ -3352,8 +3352,8 @@ var require_picomatch = __commonJS(function(exports, module) {
3352
3352
  isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
3353
3353
  }
3354
3354
  const matcher = (input, returnObject = false) => {
3355
- const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });
3356
- const result = { glob, state, regex, posix, input, output, match, isMatch };
3355
+ const { isMatch, match: match2, output } = picomatch.test(input, regex, options, { glob, posix });
3356
+ const result = { glob, state, regex, posix, input, output, match: match2, isMatch };
3357
3357
  if (typeof opts.onResult === "function") {
3358
3358
  opts.onResult(result);
3359
3359
  }
@@ -3387,20 +3387,20 @@ var require_picomatch = __commonJS(function(exports, module) {
3387
3387
  }
3388
3388
  const opts = options || {};
3389
3389
  const format = opts.format || (posix ? utils.toPosixSlashes : null);
3390
- let match = input === glob;
3391
- let output = match && format ? format(input) : input;
3392
- if (match === false) {
3390
+ let match2 = input === glob;
3391
+ let output = match2 && format ? format(input) : input;
3392
+ if (match2 === false) {
3393
3393
  output = format ? format(input) : input;
3394
- match = output === glob;
3394
+ match2 = output === glob;
3395
3395
  }
3396
- if (match === false || opts.capture === true) {
3396
+ if (match2 === false || opts.capture === true) {
3397
3397
  if (opts.matchBase === true || opts.basename === true) {
3398
- match = picomatch.matchBase(input, regex, options, posix);
3398
+ match2 = picomatch.matchBase(input, regex, options, posix);
3399
3399
  } else {
3400
- match = regex.exec(output);
3400
+ match2 = regex.exec(output);
3401
3401
  }
3402
3402
  }
3403
- return { isMatch: Boolean(match), match, output };
3403
+ return { isMatch: Boolean(match2), match: match2, output };
3404
3404
  };
3405
3405
  picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
3406
3406
  const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
@@ -3840,50 +3840,50 @@ import { readFile } from "fs/promises";
3840
3840
  import { dirname, extname as extname2, join as join2 } from "path";
3841
3841
 
3842
3842
  // ../../node_modules/.pnpm/balanced-match@4.0.4/node_modules/balanced-match/dist/esm/index.js
3843
- var balanced = (a, b, str) => {
3844
- const ma = a instanceof RegExp ? maybeMatch(a, str) : a;
3843
+ var balanced = (a2, b, str) => {
3844
+ const ma = a2 instanceof RegExp ? maybeMatch(a2, str) : a2;
3845
3845
  const mb = b instanceof RegExp ? maybeMatch(b, str) : b;
3846
- const r = ma !== null && mb != null && range(ma, mb, str);
3847
- return r && {
3848
- start: r[0],
3849
- end: r[1],
3850
- pre: str.slice(0, r[0]),
3851
- body: str.slice(r[0] + ma.length, r[1]),
3852
- post: str.slice(r[1] + mb.length)
3846
+ const r2 = ma !== null && mb != null && range(ma, mb, str);
3847
+ return r2 && {
3848
+ start: r2[0],
3849
+ end: r2[1],
3850
+ pre: str.slice(0, r2[0]),
3851
+ body: str.slice(r2[0] + ma.length, r2[1]),
3852
+ post: str.slice(r2[1] + mb.length)
3853
3853
  };
3854
3854
  };
3855
3855
  var maybeMatch = (reg, str) => {
3856
3856
  const m = str.match(reg);
3857
3857
  return m ? m[0] : null;
3858
3858
  };
3859
- var range = (a, b, str) => {
3859
+ var range = (a2, b, str) => {
3860
3860
  let begs, beg, left, right = undefined, result;
3861
- let ai = str.indexOf(a);
3861
+ let ai = str.indexOf(a2);
3862
3862
  let bi = str.indexOf(b, ai + 1);
3863
- let i = ai;
3863
+ let i2 = ai;
3864
3864
  if (ai >= 0 && bi > 0) {
3865
- if (a === b) {
3865
+ if (a2 === b) {
3866
3866
  return [ai, bi];
3867
3867
  }
3868
3868
  begs = [];
3869
3869
  left = str.length;
3870
- while (i >= 0 && !result) {
3871
- if (i === ai) {
3872
- begs.push(i);
3873
- ai = str.indexOf(a, i + 1);
3870
+ while (i2 >= 0 && !result) {
3871
+ if (i2 === ai) {
3872
+ begs.push(i2);
3873
+ ai = str.indexOf(a2, i2 + 1);
3874
3874
  } else if (begs.length === 1) {
3875
- const r = begs.pop();
3876
- if (r !== undefined)
3877
- result = [r, bi];
3875
+ const r2 = begs.pop();
3876
+ if (r2 !== undefined)
3877
+ result = [r2, bi];
3878
3878
  } else {
3879
3879
  beg = begs.pop();
3880
3880
  if (beg !== undefined && beg < left) {
3881
3881
  left = beg;
3882
3882
  right = bi;
3883
3883
  }
3884
- bi = str.indexOf(b, i + 1);
3884
+ bi = str.indexOf(b, i2 + 1);
3885
3885
  }
3886
- i = ai < bi && ai >= 0 ? ai : bi;
3886
+ i2 = ai < bi && ai >= 0 ? ai : bi;
3887
3887
  }
3888
3888
  if (begs.length && right !== undefined) {
3889
3889
  result = [left, right];
@@ -3955,20 +3955,20 @@ function embrace(str) {
3955
3955
  function isPadded(el) {
3956
3956
  return /^-?0\d/.test(el);
3957
3957
  }
3958
- function lte(i, y) {
3959
- return i <= y;
3958
+ function lte(i2, y) {
3959
+ return i2 <= y;
3960
3960
  }
3961
- function gte(i, y) {
3962
- return i >= y;
3961
+ function gte(i2, y) {
3962
+ return i2 >= y;
3963
3963
  }
3964
3964
  function combine(acc, pre, values, max, maxLength, dropEmpties) {
3965
3965
  const out = [];
3966
3966
  let length = 0;
3967
- for (let a = 0;a < acc.length; a++) {
3967
+ for (let a2 = 0;a2 < acc.length; a2++) {
3968
3968
  for (let v = 0;v < values.length; v++) {
3969
3969
  if (out.length >= max)
3970
3970
  return out;
3971
- const expansion = acc[a] + pre + values[v];
3971
+ const expansion = acc[a2] + pre + values[v];
3972
3972
  if (dropEmpties && !expansion)
3973
3973
  continue;
3974
3974
  if (length + expansion.length > maxLength)
@@ -3980,37 +3980,37 @@ function combine(acc, pre, values, max, maxLength, dropEmpties) {
3980
3980
  return out;
3981
3981
  }
3982
3982
  function expandSequence(body, isAlphaSequence, max, maxLength) {
3983
- const n = body.split(/\.\./);
3983
+ const n2 = body.split(/\.\./);
3984
3984
  const N = [];
3985
- if (n[0] === undefined || n[1] === undefined) {
3985
+ if (n2[0] === undefined || n2[1] === undefined) {
3986
3986
  return N;
3987
3987
  }
3988
- const x = numeric(n[0]);
3989
- const y = numeric(n[1]);
3990
- const width = Math.max(n[0].length, n[1].length);
3991
- let incr = n.length === 3 && n[2] !== undefined ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
3988
+ const x = numeric(n2[0]);
3989
+ const y = numeric(n2[1]);
3990
+ const width = Math.max(n2[0].length, n2[1].length);
3991
+ let incr = n2.length === 3 && n2[2] !== undefined ? Math.max(Math.abs(numeric(n2[2])), 1) : 1;
3992
3992
  let test = lte;
3993
3993
  const reverse = y < x;
3994
3994
  if (reverse) {
3995
3995
  incr *= -1;
3996
3996
  test = gte;
3997
3997
  }
3998
- const pad = n.some(isPadded);
3998
+ const pad = n2.some(isPadded);
3999
3999
  let length = 0;
4000
- for (let i = x;test(i, y) && N.length < max; i += incr) {
4000
+ for (let i2 = x;test(i2, y) && N.length < max; i2 += incr) {
4001
4001
  let c;
4002
4002
  if (isAlphaSequence) {
4003
- c = String.fromCharCode(i);
4003
+ c = String.fromCharCode(i2);
4004
4004
  if (c === "\\") {
4005
4005
  c = "";
4006
4006
  }
4007
4007
  } else {
4008
- c = String(i);
4008
+ c = String(i2);
4009
4009
  if (pad) {
4010
4010
  const need = width - c.length;
4011
4011
  if (need > 0) {
4012
4012
  const z = new Array(need + 1).join("0");
4013
- if (i < 0) {
4013
+ if (i2 < 0) {
4014
4014
  c = "-" + z + c.slice(1);
4015
4015
  } else {
4016
4016
  c = z + c;
@@ -4063,11 +4063,11 @@ function expand_(str, max, maxLength, isTop) {
4063
4063
  if (isSequence) {
4064
4064
  values = expandSequence(m.body, isAlphaSequence, max, maxLength);
4065
4065
  } else {
4066
- let n = parseCommaParts(m.body);
4067
- if (n.length === 1 && n[0] !== undefined) {
4068
- n = expand_(n[0], max, maxLength, false).map(embrace);
4069
- if (n.length === 1) {
4070
- acc = combine(acc, pre + n[0], [""], max, maxLength, dropEmpties && !m.post.length);
4066
+ let n2 = parseCommaParts(m.body);
4067
+ if (n2.length === 1 && n2[0] !== undefined) {
4068
+ n2 = expand_(n2[0], max, maxLength, false).map(embrace);
4069
+ if (n2.length === 1) {
4070
+ acc = combine(acc, pre + n2[0], [""], max, maxLength, dropEmpties && !m.post.length);
4071
4071
  if (!m.post.length)
4072
4072
  break;
4073
4073
  str = m.post;
@@ -4083,8 +4083,8 @@ function expand_(str, max, maxLength, isTop) {
4083
4083
  values = [];
4084
4084
  let valuesLength = 0;
4085
4085
  outer:
4086
- for (let j = 0;j < n.length; j++) {
4087
- const expanded = expand_(n[j], max, maxLength, false);
4086
+ for (let j = 0;j < n2.length; j++) {
4087
+ const expanded = expand_(n2[j], max, maxLength, false);
4088
4088
  for (let k = 0;k < expanded.length; k++) {
4089
4089
  const v = expanded[k];
4090
4090
  if (dropsEmpties && !v)
@@ -4143,7 +4143,7 @@ var parseClass = (glob, position) => {
4143
4143
  }
4144
4144
  const ranges = [];
4145
4145
  const negs = [];
4146
- let i = pos + 1;
4146
+ let i2 = pos + 1;
4147
4147
  let sawStart = false;
4148
4148
  let uflag = false;
4149
4149
  let escaping = false;
@@ -4151,37 +4151,37 @@ var parseClass = (glob, position) => {
4151
4151
  let endPos = pos;
4152
4152
  let rangeStart = "";
4153
4153
  WHILE:
4154
- while (i < glob.length) {
4155
- const c = glob.charAt(i);
4156
- if ((c === "!" || c === "^") && i === pos + 1) {
4154
+ while (i2 < glob.length) {
4155
+ const c = glob.charAt(i2);
4156
+ if ((c === "!" || c === "^") && i2 === pos + 1) {
4157
4157
  negate = true;
4158
- i++;
4158
+ i2++;
4159
4159
  continue;
4160
4160
  }
4161
4161
  if (c === "]" && sawStart && !escaping) {
4162
- endPos = i + 1;
4162
+ endPos = i2 + 1;
4163
4163
  break;
4164
4164
  }
4165
4165
  sawStart = true;
4166
4166
  if (c === "\\") {
4167
4167
  if (!escaping) {
4168
4168
  escaping = true;
4169
- i++;
4169
+ i2++;
4170
4170
  continue;
4171
4171
  }
4172
4172
  }
4173
4173
  if (c === "[" && !escaping) {
4174
- for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
4175
- if (glob.startsWith(cls, i)) {
4174
+ for (const [cls, [unip, u3, neg]] of Object.entries(posixClasses)) {
4175
+ if (glob.startsWith(cls, i2)) {
4176
4176
  if (rangeStart) {
4177
4177
  return ["$.", false, glob.length - pos, true];
4178
4178
  }
4179
- i += cls.length;
4179
+ i2 += cls.length;
4180
4180
  if (neg)
4181
4181
  negs.push(unip);
4182
4182
  else
4183
4183
  ranges.push(unip);
4184
- uflag = uflag || u;
4184
+ uflag = uflag || u3;
4185
4185
  continue WHILE;
4186
4186
  }
4187
4187
  }
@@ -4194,31 +4194,31 @@ var parseClass = (glob, position) => {
4194
4194
  ranges.push(braceEscape(c));
4195
4195
  }
4196
4196
  rangeStart = "";
4197
- i++;
4197
+ i2++;
4198
4198
  continue;
4199
4199
  }
4200
- if (glob.startsWith("-]", i + 1)) {
4200
+ if (glob.startsWith("-]", i2 + 1)) {
4201
4201
  ranges.push(braceEscape(c + "-"));
4202
- i += 2;
4202
+ i2 += 2;
4203
4203
  continue;
4204
4204
  }
4205
- if (glob.startsWith("-", i + 1)) {
4205
+ if (glob.startsWith("-", i2 + 1)) {
4206
4206
  rangeStart = c;
4207
- i += 2;
4207
+ i2 += 2;
4208
4208
  continue;
4209
4209
  }
4210
4210
  ranges.push(braceEscape(c));
4211
- i++;
4211
+ i2++;
4212
4212
  }
4213
- if (endPos < i) {
4213
+ if (endPos < i2) {
4214
4214
  return ["", false, 0, false];
4215
4215
  }
4216
4216
  if (!ranges.length && !negs.length) {
4217
4217
  return ["$.", false, glob.length - pos, true];
4218
4218
  }
4219
4219
  if (negs.length === 0 && ranges.length === 1 && /^\\?.$/.test(ranges[0]) && !negate) {
4220
- const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
4221
- return [regexpEscape(r), false, endPos - pos, false];
4220
+ const r2 = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
4221
+ return [regexpEscape(r2), false, endPos - pos, false];
4222
4222
  }
4223
4223
  const sranges = "[" + (negate ? "^" : "") + rangesToString(ranges) + "]";
4224
4224
  const snegs = "[" + (negate ? "" : "^") + rangesToString(negs) + "]";
@@ -4358,19 +4358,19 @@ class AST {
4358
4358
  return this;
4359
4359
  this.toString();
4360
4360
  this.#filledNegs = true;
4361
- let n;
4362
- while (n = this.#negs.pop()) {
4363
- if (n.type !== "!")
4361
+ let n2;
4362
+ while (n2 = this.#negs.pop()) {
4363
+ if (n2.type !== "!")
4364
4364
  continue;
4365
- let p = n;
4365
+ let p = n2;
4366
4366
  let pp = p.#parent;
4367
4367
  while (pp) {
4368
- for (let i = p.#parentIndex + 1;!pp.type && i < pp.#parts.length; i++) {
4369
- for (const part of n.#parts) {
4368
+ for (let i2 = p.#parentIndex + 1;!pp.type && i2 < pp.#parts.length; i2++) {
4369
+ for (const part of n2.#parts) {
4370
4370
  if (typeof part === "string") {
4371
4371
  throw new Error("string part in extglob AST??");
4372
4372
  }
4373
- part.copyIn(pp.#parts[i]);
4373
+ part.copyIn(pp.#parts[i2]);
4374
4374
  }
4375
4375
  }
4376
4376
  p = pp;
@@ -4406,8 +4406,8 @@ class AST {
4406
4406
  if (this.#parentIndex === 0)
4407
4407
  return true;
4408
4408
  const p = this.#parent;
4409
- for (let i = 0;i < this.#parentIndex; i++) {
4410
- const pp = p.#parts[i];
4409
+ for (let i2 = 0;i2 < this.#parentIndex; i2++) {
4410
+ const pp = p.#parts[i2];
4411
4411
  if (!(pp instanceof _a && pp.type === "!")) {
4412
4412
  return false;
4413
4413
  }
@@ -4446,82 +4446,82 @@ class AST {
4446
4446
  let braceStart = -1;
4447
4447
  let braceNeg = false;
4448
4448
  if (ast.type === null) {
4449
- let i = pos;
4450
- let acc = "";
4451
- while (i < str.length) {
4452
- const c = str.charAt(i++);
4449
+ let i3 = pos;
4450
+ let acc2 = "";
4451
+ while (i3 < str.length) {
4452
+ const c = str.charAt(i3++);
4453
4453
  if (escaping || c === "\\") {
4454
4454
  escaping = !escaping;
4455
- acc += c;
4455
+ acc2 += c;
4456
4456
  continue;
4457
4457
  }
4458
4458
  if (inBrace) {
4459
- if (i === braceStart + 1) {
4459
+ if (i3 === braceStart + 1) {
4460
4460
  if (c === "^" || c === "!") {
4461
4461
  braceNeg = true;
4462
4462
  }
4463
- } else if (c === "]" && !(i === braceStart + 2 && braceNeg)) {
4463
+ } else if (c === "]" && !(i3 === braceStart + 2 && braceNeg)) {
4464
4464
  inBrace = false;
4465
4465
  }
4466
- acc += c;
4466
+ acc2 += c;
4467
4467
  continue;
4468
4468
  } else if (c === "[") {
4469
4469
  inBrace = true;
4470
- braceStart = i;
4470
+ braceStart = i3;
4471
4471
  braceNeg = false;
4472
- acc += c;
4472
+ acc2 += c;
4473
4473
  continue;
4474
4474
  }
4475
- const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i) === "(" && extDepth <= maxDepth;
4475
+ const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i3) === "(" && extDepth <= maxDepth;
4476
4476
  if (doRecurse) {
4477
- ast.push(acc);
4478
- acc = "";
4477
+ ast.push(acc2);
4478
+ acc2 = "";
4479
4479
  const ext = new _a(c, ast);
4480
- i = _a.#parseAST(str, ext, i, opt, extDepth + 1);
4480
+ i3 = _a.#parseAST(str, ext, i3, opt, extDepth + 1);
4481
4481
  ast.push(ext);
4482
4482
  continue;
4483
4483
  }
4484
- acc += c;
4484
+ acc2 += c;
4485
4485
  }
4486
- ast.push(acc);
4487
- return i;
4486
+ ast.push(acc2);
4487
+ return i3;
4488
4488
  }
4489
- let i = pos + 1;
4489
+ let i2 = pos + 1;
4490
4490
  let part = new _a(null, ast);
4491
4491
  const parts = [];
4492
4492
  let acc = "";
4493
- while (i < str.length) {
4494
- const c = str.charAt(i++);
4493
+ while (i2 < str.length) {
4494
+ const c = str.charAt(i2++);
4495
4495
  if (escaping || c === "\\") {
4496
4496
  escaping = !escaping;
4497
4497
  acc += c;
4498
4498
  continue;
4499
4499
  }
4500
4500
  if (inBrace) {
4501
- if (i === braceStart + 1) {
4501
+ if (i2 === braceStart + 1) {
4502
4502
  if (c === "^" || c === "!") {
4503
4503
  braceNeg = true;
4504
4504
  }
4505
- } else if (c === "]" && !(i === braceStart + 2 && braceNeg)) {
4505
+ } else if (c === "]" && !(i2 === braceStart + 2 && braceNeg)) {
4506
4506
  inBrace = false;
4507
4507
  }
4508
4508
  acc += c;
4509
4509
  continue;
4510
4510
  } else if (c === "[") {
4511
4511
  inBrace = true;
4512
- braceStart = i;
4512
+ braceStart = i2;
4513
4513
  braceNeg = false;
4514
4514
  acc += c;
4515
4515
  continue;
4516
4516
  }
4517
- const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i) === "(" && (extDepth <= maxDepth || ast && ast.#canAdoptType(c));
4517
+ const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i2) === "(" && (extDepth <= maxDepth || ast && ast.#canAdoptType(c));
4518
4518
  if (doRecurse) {
4519
4519
  const depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1;
4520
4520
  part.push(acc);
4521
4521
  acc = "";
4522
4522
  const ext = new _a(c, part);
4523
4523
  part.push(ext);
4524
- i = _a.#parseAST(str, ext, i, opt, extDepth + depthAdd);
4524
+ i2 = _a.#parseAST(str, ext, i2, opt, extDepth + depthAdd);
4525
4525
  continue;
4526
4526
  }
4527
4527
  if (c === "|") {
@@ -4538,14 +4538,14 @@ class AST {
4538
4538
  part.push(acc);
4539
4539
  acc = "";
4540
4540
  ast.push(...parts, part);
4541
- return i;
4541
+ return i2;
4542
4542
  }
4543
4543
  acc += c;
4544
4544
  }
4545
4545
  ast.type = null;
4546
4546
  ast.#hasMagic = undefined;
4547
4547
  ast.#parts = [str.substring(pos - 1)];
4548
- return i;
4548
+ return i2;
4549
4549
  }
4550
4550
  #canAdoptWithSpace(child) {
4551
4551
  return this.#canAdopt(child, adoptionWithSpaceMap);
@@ -4646,7 +4646,7 @@ class AST {
4646
4646
  this.#uflag = this.#uflag || uflag;
4647
4647
  return re;
4648
4648
  }).join("");
4649
- let start = "";
4649
+ let start2 = "";
4650
4650
  if (this.isStart()) {
4651
4651
  if (typeof this.#parts[0] === "string") {
4652
4652
  const dotTravAllowed = this.#parts.length === 1 && justDots.has(this.#parts[0]);
@@ -4654,7 +4654,7 @@ class AST {
4654
4654
  const aps = addPatternStart;
4655
4655
  const needNoTrav = dot && aps.has(src.charAt(0)) || src.startsWith("\\.") && aps.has(src.charAt(2)) || src.startsWith("\\.\\.") && aps.has(src.charAt(4));
4656
4656
  const needNoDot = !dot && !allowDot && aps.has(src.charAt(0));
4657
- start = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : "";
4657
+ start2 = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : "";
4658
4658
  }
4659
4659
  }
4660
4660
  }
@@ -4662,9 +4662,9 @@ class AST {
4662
4662
  if (this.isEnd() && this.#root.#filledNegs && this.#parent?.type === "!") {
4663
4663
  end = "(?:$|\\/)";
4664
4664
  }
4665
- const final = start + src + end;
4665
+ const final2 = start2 + src + end;
4666
4666
  return [
4667
- final,
4667
+ final2,
4668
4668
  unescape(src),
4669
4669
  this.#hasMagic = !!this.#hasMagic,
4670
4670
  this.#uflag
@@ -4714,16 +4714,16 @@ class AST {
4714
4714
  let done = false;
4715
4715
  do {
4716
4716
  done = true;
4717
- for (let i = 0;i < this.#parts.length; i++) {
4718
- const c = this.#parts[i];
4717
+ for (let i2 = 0;i2 < this.#parts.length; i2++) {
4718
+ const c = this.#parts[i2];
4719
4719
  if (typeof c === "object") {
4720
4720
  c.#flatten();
4721
4721
  if (this.#canAdopt(c)) {
4722
4722
  done = false;
4723
- this.#adopt(c, i);
4723
+ this.#adopt(c, i2);
4724
4724
  } else if (this.#canAdoptWithSpace(c)) {
4725
4725
  done = false;
4726
- this.#adoptWithSpace(c, i);
4726
+ this.#adoptWithSpace(c, i2);
4727
4727
  } else if (this.#canUsurp(c)) {
4728
4728
  done = false;
4729
4729
  this.#usurp(c);
@@ -4749,8 +4749,8 @@ class AST {
4749
4749
  let re = "";
4750
4750
  let uflag = false;
4751
4751
  let inStar = false;
4752
- for (let i = 0;i < glob.length; i++) {
4753
- const c = glob.charAt(i);
4752
+ for (let i2 = 0;i2 < glob.length; i2++) {
4753
+ const c = glob.charAt(i2);
4754
4754
  if (escaping) {
4755
4755
  escaping = false;
4756
4756
  re += (reSpecials.has(c) ? "\\" : "") + c;
@@ -4767,7 +4767,7 @@ class AST {
4767
4767
  inStar = false;
4768
4768
  }
4769
4769
  if (c === "\\") {
4770
- if (i === glob.length - 1) {
4770
+ if (i2 === glob.length - 1) {
4771
4771
  re += "\\\\";
4772
4772
  } else {
4773
4773
  escaping = true;
@@ -4775,11 +4775,11 @@ class AST {
4775
4775
  continue;
4776
4776
  }
4777
4777
  if (c === "[") {
4778
- const [src, needUflag, consumed, magic] = parseClass(glob, i);
4778
+ const [src, needUflag, consumed, magic] = parseClass(glob, i2);
4779
4779
  if (consumed) {
4780
4780
  re += src;
4781
4781
  uflag = uflag || needUflag;
4782
- i += consumed - 1;
4782
+ i2 += consumed - 1;
4783
4783
  hasMagic = hasMagic || magic;
4784
4784
  continue;
4785
4785
  }
@@ -4877,7 +4877,7 @@ var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
4877
4877
  var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
4878
4878
  var filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
4879
4879
  minimatch.filter = filter;
4880
- var ext = (a, b = {}) => Object.assign({}, a, b);
4880
+ var ext = (a2, b = {}) => Object.assign({}, a2, b);
4881
4881
  var defaults = (def) => {
4882
4882
  if (!def || typeof def !== "object" || !Object.keys(def).length) {
4883
4883
  return minimatch;
@@ -5032,9 +5032,9 @@ class Minimatch {
5032
5032
  this.debug(this.pattern, set);
5033
5033
  this.set = set.filter((s) => s.indexOf(false) === -1);
5034
5034
  if (this.isWindows) {
5035
- for (let i = 0;i < this.set.length; i++) {
5036
- const p = this.set[i];
5037
- if (p[0] === "" && p[1] === "" && this.globParts[i][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) {
5035
+ for (let i2 = 0;i2 < this.set.length; i2++) {
5036
+ const p = this.set[i2];
5037
+ if (p[0] === "" && p[1] === "" && this.globParts[i2][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) {
5038
5038
  p[2] = "?";
5039
5039
  }
5040
5040
  }
@@ -5066,12 +5066,12 @@ class Minimatch {
5066
5066
  return globParts.map((parts) => {
5067
5067
  let gs = -1;
5068
5068
  while ((gs = parts.indexOf("**", gs + 1)) !== -1) {
5069
- let i = gs;
5070
- while (parts[i + 1] === "**") {
5071
- i++;
5069
+ let i2 = gs;
5070
+ while (parts[i2 + 1] === "**") {
5071
+ i2++;
5072
5072
  }
5073
- if (i !== gs) {
5074
- parts.splice(gs, i - gs);
5073
+ if (i2 !== gs) {
5074
+ parts.splice(gs, i2 - gs);
5075
5075
  }
5076
5076
  }
5077
5077
  return parts;
@@ -5104,14 +5104,14 @@ class Minimatch {
5104
5104
  do {
5105
5105
  didSomething = false;
5106
5106
  if (!this.preserveMultipleSlashes) {
5107
- for (let i = 1;i < parts.length - 1; i++) {
5108
- const p = parts[i];
5109
- if (i === 1 && p === "" && parts[0] === "")
5107
+ for (let i2 = 1;i2 < parts.length - 1; i2++) {
5108
+ const p = parts[i2];
5109
+ if (i2 === 1 && p === "" && parts[0] === "")
5110
5110
  continue;
5111
5111
  if (p === "." || p === "") {
5112
5112
  didSomething = true;
5113
- parts.splice(i, 1);
5114
- i--;
5113
+ parts.splice(i2, 1);
5114
+ i2--;
5115
5115
  }
5116
5116
  }
5117
5117
  if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
@@ -5161,14 +5161,14 @@ class Minimatch {
5161
5161
  gs--;
5162
5162
  }
5163
5163
  if (!this.preserveMultipleSlashes) {
5164
- for (let i = 1;i < parts.length - 1; i++) {
5165
- const p = parts[i];
5166
- if (i === 1 && p === "" && parts[0] === "")
5164
+ for (let i2 = 1;i2 < parts.length - 1; i2++) {
5165
+ const p = parts[i2];
5166
+ if (i2 === 1 && p === "" && parts[0] === "")
5167
5167
  continue;
5168
5168
  if (p === "." || p === "") {
5169
5169
  didSomething = true;
5170
- parts.splice(i, 1);
5171
- i--;
5170
+ parts.splice(i2, 1);
5171
+ i2--;
5172
5172
  }
5173
5173
  }
5174
5174
  if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
@@ -5194,11 +5194,11 @@ class Minimatch {
5194
5194
  return globParts;
5195
5195
  }
5196
5196
  secondPhasePreProcess(globParts) {
5197
- for (let i = 0;i < globParts.length - 1; i++) {
5198
- for (let j = i + 1;j < globParts.length; j++) {
5199
- const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
5197
+ for (let i2 = 0;i2 < globParts.length - 1; i2++) {
5198
+ for (let j = i2 + 1;j < globParts.length; j++) {
5199
+ const matched = this.partsMatch(globParts[i2], globParts[j], !this.preserveMultipleSlashes);
5200
5200
  if (matched) {
5201
- globParts[i] = [];
5201
+ globParts[i2] = [];
5202
5202
  globParts[j] = matched;
5203
5203
  break;
5204
5204
  }
@@ -5206,30 +5206,30 @@ class Minimatch {
5206
5206
  }
5207
5207
  return globParts.filter((gs) => gs.length);
5208
5208
  }
5209
- partsMatch(a, b, emptyGSMatch = false) {
5209
+ partsMatch(a2, b, emptyGSMatch = false) {
5210
5210
  let ai = 0;
5211
5211
  let bi = 0;
5212
5212
  let result = [];
5213
5213
  let which = "";
5214
- while (ai < a.length && bi < b.length) {
5215
- if (a[ai] === b[bi]) {
5216
- result.push(which === "b" ? b[bi] : a[ai]);
5214
+ while (ai < a2.length && bi < b.length) {
5215
+ if (a2[ai] === b[bi]) {
5216
+ result.push(which === "b" ? b[bi] : a2[ai]);
5217
5217
  ai++;
5218
5218
  bi++;
5219
- } else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
5220
- result.push(a[ai]);
5219
+ } else if (emptyGSMatch && a2[ai] === "**" && b[bi] === a2[ai + 1]) {
5220
+ result.push(a2[ai]);
5221
5221
  ai++;
5222
- } else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
5222
+ } else if (emptyGSMatch && b[bi] === "**" && a2[ai] === b[bi + 1]) {
5223
5223
  result.push(b[bi]);
5224
5224
  bi++;
5225
- } else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
5225
+ } else if (a2[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
5226
5226
  if (which === "b")
5227
5227
  return false;
5228
5228
  which = "a";
5229
- result.push(a[ai]);
5229
+ result.push(a2[ai]);
5230
5230
  ai++;
5231
5231
  bi++;
5232
- } else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
5232
+ } else if (b[bi] === "*" && a2[ai] && (this.options.dot || !a2[ai].startsWith(".")) && a2[ai] !== "**") {
5233
5233
  if (which === "a")
5234
5234
  return false;
5235
5235
  which = "b";
@@ -5240,7 +5240,7 @@ class Minimatch {
5240
5240
  return false;
5241
5241
  }
5242
5242
  }
5243
- return a.length === b.length && result;
5243
+ return a2.length === b.length && result;
5244
5244
  }
5245
5245
  parseNegate() {
5246
5246
  if (this.nonegate)
@@ -5248,7 +5248,7 @@ class Minimatch {
5248
5248
  const pattern = this.pattern;
5249
5249
  let negate = false;
5250
5250
  let negateOffset = 0;
5251
- for (let i = 0;i < pattern.length && pattern.charAt(i) === "!"; i++) {
5251
+ for (let i2 = 0;i2 < pattern.length && pattern.charAt(i2) === "!"; i2++) {
5252
5252
  negate = !negate;
5253
5253
  negateOffset++;
5254
5254
  }
@@ -5327,8 +5327,8 @@ class Minimatch {
5327
5327
  }
5328
5328
  if (!body.length) {
5329
5329
  let sawSome = !!fileTailMatch;
5330
- for (let i = fileIndex;i < file.length - fileTailMatch; i++) {
5331
- const f = String(file[i]);
5330
+ for (let i3 = fileIndex;i3 < file.length - fileTailMatch; i3++) {
5331
+ const f = String(file[i3]);
5332
5332
  sawSome = true;
5333
5333
  if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
5334
5334
  return false;
@@ -5350,19 +5350,19 @@ class Minimatch {
5350
5350
  nonGsParts++;
5351
5351
  }
5352
5352
  }
5353
- let i = bodySegments.length - 1;
5353
+ let i2 = bodySegments.length - 1;
5354
5354
  const fileLength = file.length - fileTailMatch;
5355
5355
  for (const b of bodySegments) {
5356
- b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
5356
+ b[1] = fileLength - (nonGsPartsSums[i2--] + b[0].length);
5357
5357
  }
5358
5358
  return !!this.#matchGlobStarBodySections(file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
5359
5359
  }
5360
5360
  #matchGlobStarBodySections(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
5361
5361
  const bs = bodySegments[bodyIndex];
5362
5362
  if (!bs) {
5363
- for (let i = fileIndex;i < file.length; i++) {
5363
+ for (let i2 = fileIndex;i2 < file.length; i2++) {
5364
5364
  sawTail = true;
5365
- const f = file[i];
5365
+ const f = file[i2];
5366
5366
  if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
5367
5367
  return false;
5368
5368
  }
@@ -5468,30 +5468,30 @@ class Minimatch {
5468
5468
  }
5469
5469
  return typeof p === "string" ? regExpEscape2(p) : p === GLOBSTAR ? GLOBSTAR : p._src;
5470
5470
  });
5471
- pp.forEach((p, i) => {
5472
- const next = pp[i + 1];
5473
- const prev = pp[i - 1];
5471
+ pp.forEach((p, i2) => {
5472
+ const next = pp[i2 + 1];
5473
+ const prev = pp[i2 - 1];
5474
5474
  if (p !== GLOBSTAR || prev === GLOBSTAR) {
5475
5475
  return;
5476
5476
  }
5477
5477
  if (prev === undefined) {
5478
5478
  if (next !== undefined && next !== GLOBSTAR) {
5479
- pp[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + next;
5479
+ pp[i2 + 1] = "(?:\\/|" + twoStar + "\\/)?" + next;
5480
5480
  } else {
5481
- pp[i] = twoStar;
5481
+ pp[i2] = twoStar;
5482
5482
  }
5483
5483
  } else if (next === undefined) {
5484
- pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + ")?";
5484
+ pp[i2 - 1] = prev + "(?:\\/|\\/" + twoStar + ")?";
5485
5485
  } else if (next !== GLOBSTAR) {
5486
- pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
5487
- pp[i + 1] = GLOBSTAR;
5486
+ pp[i2 - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
5487
+ pp[i2 + 1] = GLOBSTAR;
5488
5488
  }
5489
5489
  });
5490
5490
  const filtered = pp.filter((p) => p !== GLOBSTAR);
5491
5491
  if (this.partial && filtered.length >= 1) {
5492
5492
  const prefixes = [];
5493
- for (let i = 1;i <= filtered.length; i++) {
5494
- prefixes.push(filtered.slice(0, i).join("/"));
5493
+ for (let i2 = 1;i2 <= filtered.length; i2++) {
5494
+ prefixes.push(filtered.slice(0, i2).join("/"));
5495
5495
  }
5496
5496
  return "(?:" + prefixes.join("|") + ")";
5497
5497
  }
@@ -5541,8 +5541,8 @@ class Minimatch {
5541
5541
  this.debug(this.pattern, "set", set);
5542
5542
  let filename = ff[ff.length - 1];
5543
5543
  if (!filename) {
5544
- for (let i = ff.length - 2;!filename && i >= 0; i--) {
5545
- filename = ff[i];
5544
+ for (let i2 = ff.length - 2;!filename && i2 >= 0; i2--) {
5545
+ filename = ff[i2];
5546
5546
  }
5547
5547
  }
5548
5548
  for (const pattern of set) {
@@ -5589,7 +5589,7 @@ function ensureArray(thing) {
5589
5589
  return [thing];
5590
5590
  }
5591
5591
  var normalizePathRegExp = new RegExp(`\\${win32.sep}`, "g");
5592
- var normalizePath = function normalizePath(filename) {
5592
+ var normalizePath = function normalizePath2(filename) {
5593
5593
  return filename.replace(normalizePathRegExp, posix.sep);
5594
5594
  };
5595
5595
  function getMatcherString(id, resolutionBase) {
@@ -5599,7 +5599,7 @@ function getMatcherString(id, resolutionBase) {
5599
5599
  const basePath = normalizePath(resolve(resolutionBase || "")).replace(/[-^$*+?.()|[\]{}]/g, "\\$&");
5600
5600
  return posix.join(basePath, normalizePath(id));
5601
5601
  }
5602
- var createFilter = function createFilter(include, exclude, options) {
5602
+ var createFilter = function createFilter2(include, exclude, options) {
5603
5603
  const resolutionBase = options && options.resolve;
5604
5604
  const getMatcher = (id) => id instanceof RegExp ? id : {
5605
5605
  test: (what) => {
@@ -5619,16 +5619,16 @@ var createFilter = function createFilter(include, exclude, options) {
5619
5619
  if (id.includes("\x00"))
5620
5620
  return false;
5621
5621
  const pathId = normalizePath(id);
5622
- for (let i = 0;i < excludeMatchers.length; ++i) {
5623
- const matcher = excludeMatchers[i];
5622
+ for (let i2 = 0;i2 < excludeMatchers.length; ++i2) {
5623
+ const matcher = excludeMatchers[i2];
5624
5624
  if (matcher instanceof RegExp) {
5625
5625
  matcher.lastIndex = 0;
5626
5626
  }
5627
5627
  if (matcher.test(pathId))
5628
5628
  return false;
5629
5629
  }
5630
- for (let i = 0;i < includeMatchers.length; ++i) {
5631
- const matcher = includeMatchers[i];
5630
+ for (let i2 = 0;i2 < includeMatchers.length; ++i2) {
5631
+ const matcher = includeMatchers[i2];
5632
5632
  if (matcher instanceof RegExp) {
5633
5633
  matcher.lastIndex = 0;
5634
5634
  }
@@ -5647,11 +5647,11 @@ var hasStringIsWellFormed = "isWellFormed" in String.prototype;
5647
5647
  // ../../node_modules/.pnpm/rollup-plugin-string-import@1.2.6_rollup@4.62.4/node_modules/rollup-plugin-string-import/dist/index.js
5648
5648
  function importAsString(options) {
5649
5649
  const { include, exclude, transform = (content) => content } = options;
5650
- const filter = createFilter(include, exclude);
5650
+ const filter2 = createFilter(include, exclude);
5651
5651
  return {
5652
5652
  name: "importAsString",
5653
5653
  transform(code, id) {
5654
- if (filter(id)) {
5654
+ if (filter2(id)) {
5655
5655
  const content = transform(code, id).replaceAll("\\", "\\\\").replaceAll("`", "\\`").replaceAll("${", "\\${");
5656
5656
  return {
5657
5657
  code: `export default \`${content}\`;`,
@@ -5705,12 +5705,12 @@ var createModuleMatcher = (patterns = []) => {
5705
5705
  return new Minimatch(pattern.replaceAll("\\", "/"), { dot: true });
5706
5706
  });
5707
5707
  return (id) => {
5708
- const path = id.replaceAll("\\", "/");
5709
- return globs.some((glob) => glob.match(path));
5708
+ const path2 = id.replaceAll("\\", "/");
5709
+ return globs.some((glob) => glob.match(path2));
5710
5710
  };
5711
5711
  };
5712
5712
  var bundleTypeScriptInProcess = async (props) => {
5713
- const { format = "esm", minify = true } = props;
5713
+ const { format: format2 = "esm", minify = true } = props;
5714
5714
  const hasModuleSideEffects = createModuleMatcher(props.moduleSideEffects);
5715
5715
  const bundle = await rolldown({
5716
5716
  input: props.file,
@@ -5739,11 +5739,11 @@ var bundleTypeScriptInProcess = async (props) => {
5739
5739
  }) : undefined
5740
5740
  ]
5741
5741
  });
5742
- const extension = format === "esm" ? "mjs" : "js";
5742
+ const extension = format2 === "esm" ? "mjs" : "js";
5743
5743
  let result;
5744
5744
  try {
5745
5745
  result = await bundle.generate({
5746
- format,
5746
+ format: format2,
5747
5747
  sourcemap: "hidden",
5748
5748
  exports: "auto",
5749
5749
  minify,
@@ -5787,13 +5787,13 @@ var routeModulePlugin = () => ({
5787
5787
  return source.includes(ROUTE_MODULE_QUERY) ? source : undefined;
5788
5788
  },
5789
5789
  async load(id) {
5790
- const [file, routeKey] = id.split(ROUTE_MODULE_QUERY);
5791
- if (!file || !routeKey) {
5790
+ const [file2, routeKey] = id.split(ROUTE_MODULE_QUERY);
5791
+ if (!file2 || !routeKey) {
5792
5792
  return;
5793
5793
  }
5794
- const extension = extname2(file);
5794
+ const extension = extname2(file2);
5795
5795
  return {
5796
- code: await readFile(file, "utf8"),
5796
+ code: await readFile(file2, "utf8"),
5797
5797
  moduleType: extension === ".tsx" ? "tsx" : extension === ".jsx" ? "jsx" : "ts"
5798
5798
  };
5799
5799
  }
@@ -5805,16 +5805,16 @@ process.stdin.on("data", (chunk) => chunks.push(chunk));
5805
5805
  process.stdin.on("end", async () => {
5806
5806
  let output;
5807
5807
  try {
5808
- const { root, props } = JSON.parse(Buffer.concat(chunks).toString());
5809
- setRoot(root);
5808
+ const { root: root2, props } = JSON.parse(Buffer.concat(chunks).toString());
5809
+ setRoot(root2);
5810
5810
  const result = await bundleTypeScriptInProcess(props);
5811
5811
  output = JSON.stringify({
5812
5812
  ok: true,
5813
5813
  hash: result.hash,
5814
- files: result.files.map((file) => ({
5815
- name: file.name,
5816
- code: file.code.toString("base64"),
5817
- map: file.map?.toString("base64")
5814
+ files: result.files.map((file2) => ({
5815
+ name: file2.name,
5816
+ code: file2.code.toString("base64"),
5817
+ map: file2.map?.toString("base64")
5818
5818
  }))
5819
5819
  });
5820
5820
  } catch (error) {