@arcgis/create 5.1.0-next.26 → 5.1.0-next.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/init.js +282 -284
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -2,15 +2,15 @@ import Ea from "node:events";
2
2
  import Ca from "node:child_process";
3
3
  import Aa from "node:path";
4
4
  import La from "node:fs";
5
- import le, { stdin as yo, stdout as Nn } from "node:process";
5
+ import le, { stdout as Nn, stdin as yo } from "node:process";
6
6
  import * as st from "node:readline";
7
7
  import Oa from "node:readline";
8
8
  import Zn, { ReadStream as es } from "node:tty";
9
- import $a from "node:os";
9
+ import _a from "node:os";
10
10
  import ne from "fs/promises";
11
11
  import Je from "path";
12
12
  import Ae from "process";
13
- import _a from "child_process";
13
+ import $a from "child_process";
14
14
  import Na, { promisify as Pa } from "util";
15
15
  import Ia from "node:url";
16
16
  import Ta from "url";
@@ -970,8 +970,8 @@ function Ma() {
970
970
  command(r, b, w) {
971
971
  let y = b, S = w;
972
972
  typeof y == "object" && y !== null && (S = y, y = null), S = S || {};
973
- const [, E, C] = r.match(/([^ ]+) *(.*)/), $ = this.createCommand(E);
974
- return y && ($.description(y), $._executableHandler = !0), S.isDefault && (this._defaultCommandName = $._name), $._hidden = !!(S.noHelp || S.hidden), $._executableFile = S.executableFile || null, C && $.arguments(C), this._registerCommand($), $.parent = this, $.copyInheritedSettings(this), y ? this : $;
973
+ const [, E, C] = r.match(/([^ ]+) *(.*)/), _ = this.createCommand(E);
974
+ return y && (_.description(y), _._executableHandler = !0), S.isDefault && (this._defaultCommandName = _._name), _._hidden = !!(S.noHelp || S.hidden), _._executableFile = S.executableFile || null, C && _.arguments(C), this._registerCommand(_), _.parent = this, _.copyInheritedSettings(this), y ? this : _;
975
975
  }
976
976
  /**
977
977
  * Factory routine to create a new unattached command.
@@ -1316,8 +1316,8 @@ Expecting one of '${w.join("', '")}'`);
1316
1316
  } else r.defaultValue !== void 0 && this.setOptionValueWithSource(w, r.defaultValue, "default");
1317
1317
  const y = (S, E, C) => {
1318
1318
  S == null && r.presetArg !== void 0 && (S = r.presetArg);
1319
- const $ = this.getOptionValue(w);
1320
- S !== null && r.parseArg ? S = this._callParseArg(r, S, $, E) : S !== null && r.variadic && (S = r._collectValue(S, $)), S == null && (r.negate ? S = !1 : r.isBoolean() || r.optional ? S = !0 : S = ""), this.setOptionValueWithSource(w, S, C);
1319
+ const _ = this.getOptionValue(w);
1320
+ S !== null && r.parseArg ? S = this._callParseArg(r, S, _, E) : S !== null && r.variadic && (S = r._collectValue(S, _)), S == null && (r.negate ? S = !1 : r.isBoolean() || r.optional ? S = !0 : S = ""), this.setOptionValueWithSource(w, S, C);
1321
1321
  };
1322
1322
  return this.on("option:" + b, (S) => {
1323
1323
  const E = `error: option '${r.flags}' argument '${S}' is invalid.`;
@@ -1343,9 +1343,9 @@ Expecting one of '${w.join("', '")}'`);
1343
1343
  E.default(S).argParser(y);
1344
1344
  else if (y instanceof RegExp) {
1345
1345
  const C = y;
1346
- y = ($, _) => {
1347
- const N = C.exec($);
1348
- return N ? N[0] : _;
1346
+ y = (_, $) => {
1347
+ const N = C.exec(_);
1348
+ return N ? N[0] : $;
1349
1349
  }, E.default(S).argParser(y);
1350
1350
  } else
1351
1351
  E.default(y);
@@ -1711,26 +1711,26 @@ Expecting one of '${w.join("', '")}'`);
1711
1711
  E = N || E;
1712
1712
  }
1713
1713
  w = y.includes(m.extname(E));
1714
- let $;
1715
- f.platform !== "win32" ? w ? (b.unshift(E), b = u(f.execArgv).concat(b), $ = h.spawn(f.argv[0], b, { stdio: "inherit" })) : $ = h.spawn(E, b, { stdio: "inherit" }) : (this._checkForMissingExecutable(
1714
+ let _;
1715
+ f.platform !== "win32" ? w ? (b.unshift(E), b = u(f.execArgv).concat(b), _ = h.spawn(f.argv[0], b, { stdio: "inherit" })) : _ = h.spawn(E, b, { stdio: "inherit" }) : (this._checkForMissingExecutable(
1716
1716
  E,
1717
1717
  C,
1718
1718
  r._name
1719
- ), b.unshift(E), b = u(f.execArgv).concat(b), $ = h.spawn(f.execPath, b, { stdio: "inherit" })), $.killed || ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"].forEach((P) => {
1719
+ ), b.unshift(E), b = u(f.execArgv).concat(b), _ = h.spawn(f.execPath, b, { stdio: "inherit" })), _.killed || ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"].forEach((P) => {
1720
1720
  f.on(P, () => {
1721
- $.killed === !1 && $.exitCode === null && $.kill(P);
1721
+ _.killed === !1 && _.exitCode === null && _.kill(P);
1722
1722
  });
1723
1723
  });
1724
- const _ = this._exitCallback;
1725
- $.on("close", (N) => {
1726
- N = N ?? 1, _ ? _(
1724
+ const $ = this._exitCallback;
1725
+ _.on("close", (N) => {
1726
+ N = N ?? 1, $ ? $(
1727
1727
  new a(
1728
1728
  N,
1729
1729
  "commander.executeSubCommandAsync",
1730
1730
  "(close)"
1731
1731
  )
1732
1732
  ) : f.exit(N);
1733
- }), $.on("error", (N) => {
1733
+ }), _.on("error", (N) => {
1734
1734
  if (N.code === "ENOENT")
1735
1735
  this._checkForMissingExecutable(
1736
1736
  E,
@@ -1739,7 +1739,7 @@ Expecting one of '${w.join("', '")}'`);
1739
1739
  );
1740
1740
  else if (N.code === "EACCES")
1741
1741
  throw new Error(`'${E}' not executable`);
1742
- if (!_)
1742
+ if (!$)
1743
1743
  f.exit(1);
1744
1744
  else {
1745
1745
  const P = new a(
@@ -1747,9 +1747,9 @@ Expecting one of '${w.join("', '")}'`);
1747
1747
  "commander.executeSubCommandAsync",
1748
1748
  "(error)"
1749
1749
  );
1750
- P.nestedError = N, _(P);
1750
+ P.nestedError = N, $(P);
1751
1751
  }
1752
- }), this.runningCommand = $;
1752
+ }), this.runningCommand = _;
1753
1753
  }
1754
1754
  /**
1755
1755
  * @private
@@ -1994,11 +1994,11 @@ Expecting one of '${w.join("', '")}'`);
1994
1994
  const E = (N) => /^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(N) ? !this._getCommandAndAncestors().some(
1995
1995
  (P) => P.options.map((R) => R.short).some((R) => /^-\d$/.test(R))
1996
1996
  ) : !1;
1997
- let C = null, $ = null, _ = 0;
1998
- for (; _ < r.length || $; ) {
1999
- const N = $ ?? r[_++];
2000
- if ($ = null, N === "--") {
2001
- y === w && y.push(N), y.push(...r.slice(_));
1997
+ let C = null, _ = null, $ = 0;
1998
+ for (; $ < r.length || _; ) {
1999
+ const N = _ ?? r[$++];
2000
+ if (_ = null, N === "--") {
2001
+ y === w && y.push(N), y.push(...r.slice($));
2002
2002
  break;
2003
2003
  }
2004
2004
  if (C && (!S(N) || E(N))) {
@@ -2009,11 +2009,11 @@ Expecting one of '${w.join("', '")}'`);
2009
2009
  const P = this._findOption(N);
2010
2010
  if (P) {
2011
2011
  if (P.required) {
2012
- const R = r[_++];
2012
+ const R = r[$++];
2013
2013
  R === void 0 && this.optionMissingArgument(P), this.emit(`option:${P.name()}`, R);
2014
2014
  } else if (P.optional) {
2015
2015
  let R = null;
2016
- _ < r.length && (!S(r[_]) || E(r[_])) && (R = r[_++]), this.emit(`option:${P.name()}`, R);
2016
+ $ < r.length && (!S(r[$]) || E(r[$])) && (R = r[$++]), this.emit(`option:${P.name()}`, R);
2017
2017
  } else
2018
2018
  this.emit(`option:${P.name()}`);
2019
2019
  C = P.variadic ? P : null;
@@ -2023,7 +2023,7 @@ Expecting one of '${w.join("', '")}'`);
2023
2023
  if (N.length > 2 && N[0] === "-" && N[1] !== "-") {
2024
2024
  const P = this._findOption(`-${N[1]}`);
2025
2025
  if (P) {
2026
- P.required || P.optional && this._combineFlagAndOptionalValue ? this.emit(`option:${P.name()}`, N.slice(2)) : (this.emit(`option:${P.name()}`), $ = `-${N.slice(2)}`);
2026
+ P.required || P.optional && this._combineFlagAndOptionalValue ? this.emit(`option:${P.name()}`, N.slice(2)) : (this.emit(`option:${P.name()}`), _ = `-${N.slice(2)}`);
2027
2027
  continue;
2028
2028
  }
2029
2029
  }
@@ -2036,18 +2036,18 @@ Expecting one of '${w.join("', '")}'`);
2036
2036
  }
2037
2037
  if (y === b && S(N) && !(this.commands.length === 0 && E(N)) && (y = w), (this._enablePositionalOptions || this._passThroughOptions) && b.length === 0 && w.length === 0) {
2038
2038
  if (this._findCommand(N)) {
2039
- b.push(N), w.push(...r.slice(_));
2039
+ b.push(N), w.push(...r.slice($));
2040
2040
  break;
2041
2041
  } else if (this._getHelpCommand() && N === this._getHelpCommand().name()) {
2042
- b.push(N, ...r.slice(_));
2042
+ b.push(N, ...r.slice($));
2043
2043
  break;
2044
2044
  } else if (this._defaultCommandName) {
2045
- w.push(N, ...r.slice(_));
2045
+ w.push(N, ...r.slice($));
2046
2046
  break;
2047
2047
  }
2048
2048
  }
2049
2049
  if (this._passThroughOptions) {
2050
- y.push(N, ...r.slice(_));
2050
+ y.push(N, ...r.slice($));
2051
2051
  break;
2052
2052
  }
2053
2053
  y.push(N);
@@ -2177,15 +2177,15 @@ Expecting one of '${w.join("', '")}'`);
2177
2177
  */
2178
2178
  _conflictingOption(r, b) {
2179
2179
  const w = (E) => {
2180
- const C = E.attributeName(), $ = this.getOptionValue(C), _ = this.options.find(
2180
+ const C = E.attributeName(), _ = this.getOptionValue(C), $ = this.options.find(
2181
2181
  (P) => P.negate && C === P.attributeName()
2182
2182
  ), N = this.options.find(
2183
2183
  (P) => !P.negate && C === P.attributeName()
2184
2184
  );
2185
- return _ && (_.presetArg === void 0 && $ === !1 || _.presetArg !== void 0 && $ === _.presetArg) ? _ : N || E;
2185
+ return $ && ($.presetArg === void 0 && _ === !1 || $.presetArg !== void 0 && _ === $.presetArg) ? $ : N || E;
2186
2186
  }, y = (E) => {
2187
- const C = w(E), $ = C.attributeName();
2188
- return this.getOptionValueSource($) === "env" ? `environment variable '${C.envVar}'` : `option '${C.flags}'`;
2187
+ const C = w(E), _ = C.attributeName();
2188
+ return this.getOptionValueSource(_) === "env" ? `environment variable '${C.envVar}'` : `option '${C.flags}'`;
2189
2189
  }, S = `error: ${y(r)} cannot be used with ${y(b)}`;
2190
2190
  this.error(S, { code: "commander.conflictingOption" });
2191
2191
  }
@@ -2612,7 +2612,7 @@ const Ga = /* @__PURE__ */ Mt(Ba), {
2612
2612
  Argument: Gf,
2613
2613
  Option: qf,
2614
2614
  Help: jf
2615
- } = Ga, ja = "5.1.0-next.26", Ua = {
2615
+ } = Ga, ja = "5.1.0-next.27", Ua = {
2616
2616
  version: ja
2617
2617
  }, D = {
2618
2618
  react: "react",
@@ -2703,9 +2703,7 @@ const Ga = /* @__PURE__ */ Mt(Ba), {
2703
2703
  [D.aiComponentsCustomAgentHilReact]: re.appSample,
2704
2704
  [D.luminaComponents]: re.codeSample
2705
2705
  }, Ya = {
2706
- [D.luminaComponents]: !0,
2707
- [D.aiComponentsCustomAgentToolsReact]: !0,
2708
- [D.aiComponentsCustomAgentHilReact]: !0
2706
+ [D.luminaComponents]: !0
2709
2707
  };
2710
2708
  var ft = { exports: {} }, cs;
2711
2709
  function Ka() {
@@ -2821,28 +2819,28 @@ function Tt(e, h, m) {
2821
2819
  }
2822
2820
  const Xa = (e) => e === 161 || e === 164 || e === 167 || e === 168 || e === 170 || e === 173 || e === 174 || e >= 176 && e <= 180 || e >= 182 && e <= 186 || e >= 188 && e <= 191 || e === 198 || e === 208 || e === 215 || e === 216 || e >= 222 && e <= 225 || e === 230 || e >= 232 && e <= 234 || e === 236 || e === 237 || e === 240 || e === 242 || e === 243 || e >= 247 && e <= 250 || e === 252 || e === 254 || e === 257 || e === 273 || e === 275 || e === 283 || e === 294 || e === 295 || e === 299 || e >= 305 && e <= 307 || e === 312 || e >= 319 && e <= 322 || e === 324 || e >= 328 && e <= 331 || e === 333 || e === 338 || e === 339 || e === 358 || e === 359 || e === 363 || e === 462 || e === 464 || e === 466 || e === 468 || e === 470 || e === 472 || e === 474 || e === 476 || e === 593 || e === 609 || e === 708 || e === 711 || e >= 713 && e <= 715 || e === 717 || e === 720 || e >= 728 && e <= 731 || e === 733 || e === 735 || e >= 768 && e <= 879 || e >= 913 && e <= 929 || e >= 931 && e <= 937 || e >= 945 && e <= 961 || e >= 963 && e <= 969 || e === 1025 || e >= 1040 && e <= 1103 || e === 1105 || e === 8208 || e >= 8211 && e <= 8214 || e === 8216 || e === 8217 || e === 8220 || e === 8221 || e >= 8224 && e <= 8226 || e >= 8228 && e <= 8231 || e === 8240 || e === 8242 || e === 8243 || e === 8245 || e === 8251 || e === 8254 || e === 8308 || e === 8319 || e >= 8321 && e <= 8324 || e === 8364 || e === 8451 || e === 8453 || e === 8457 || e === 8467 || e === 8470 || e === 8481 || e === 8482 || e === 8486 || e === 8491 || e === 8531 || e === 8532 || e >= 8539 && e <= 8542 || e >= 8544 && e <= 8555 || e >= 8560 && e <= 8569 || e === 8585 || e >= 8592 && e <= 8601 || e === 8632 || e === 8633 || e === 8658 || e === 8660 || e === 8679 || e === 8704 || e === 8706 || e === 8707 || e === 8711 || e === 8712 || e === 8715 || e === 8719 || e === 8721 || e === 8725 || e === 8730 || e >= 8733 && e <= 8736 || e === 8739 || e === 8741 || e >= 8743 && e <= 8748 || e === 8750 || e >= 8756 && e <= 8759 || e === 8764 || e === 8765 || e === 8776 || e === 8780 || e === 8786 || e === 8800 || e === 8801 || e >= 8804 && e <= 8807 || e === 8810 || e === 8811 || e === 8814 || e === 8815 || e === 8834 || e === 8835 || e === 8838 || e === 8839 || e === 8853 || e === 8857 || e === 8869 || e === 8895 || e === 8978 || e >= 9312 && e <= 9449 || e >= 9451 && e <= 9547 || e >= 9552 && e <= 9587 || e >= 9600 && e <= 9615 || e >= 9618 && e <= 9621 || e === 9632 || e === 9633 || e >= 9635 && e <= 9641 || e === 9650 || e === 9651 || e === 9654 || e === 9655 || e === 9660 || e === 9661 || e === 9664 || e === 9665 || e >= 9670 && e <= 9672 || e === 9675 || e >= 9678 && e <= 9681 || e >= 9698 && e <= 9701 || e === 9711 || e === 9733 || e === 9734 || e === 9737 || e === 9742 || e === 9743 || e === 9756 || e === 9758 || e === 9792 || e === 9794 || e === 9824 || e === 9825 || e >= 9827 && e <= 9829 || e >= 9831 && e <= 9834 || e === 9836 || e === 9837 || e === 9839 || e === 9886 || e === 9887 || e === 9919 || e >= 9926 && e <= 9933 || e >= 9935 && e <= 9939 || e >= 9941 && e <= 9953 || e === 9955 || e === 9960 || e === 9961 || e >= 9963 && e <= 9969 || e === 9972 || e >= 9974 && e <= 9977 || e === 9979 || e === 9980 || e === 9982 || e === 9983 || e === 10045 || e >= 10102 && e <= 10111 || e >= 11094 && e <= 11097 || e >= 12872 && e <= 12879 || e >= 57344 && e <= 63743 || e >= 65024 && e <= 65039 || e === 65533 || e >= 127232 && e <= 127242 || e >= 127248 && e <= 127277 || e >= 127280 && e <= 127337 || e >= 127344 && e <= 127373 || e === 127375 || e === 127376 || e >= 127387 && e <= 127404 || e >= 917760 && e <= 917999 || e >= 983040 && e <= 1048573 || e >= 1048576 && e <= 1114109, Qa = (e) => e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510, Za = (e) => e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 || e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9800 && e <= 9811 || e === 9855 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e === 9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e === 10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 || e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 || e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 || e >= 12593 && e <= 12686 || e >= 12688 && e <= 12771 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 19903 || e >= 19968 && e <= 42124 || e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e === 94192 || e === 94193 || e >= 94208 && e <= 100343 || e >= 100352 && e <= 101589 || e >= 101632 && e <= 101640 || e >= 110576 && e <= 110579 || e >= 110581 && e <= 110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >= 110948 && e <= 110951 || e >= 110960 && e <= 111355 || e === 126980 || e === 127183 || e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e === 127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 || e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >= 127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 && e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 || e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128727 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >= 128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 && e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129672 || e >= 129680 && e <= 129725 || e >= 129727 && e <= 129733 || e >= 129742 && e <= 129755 || e >= 129760 && e <= 129768 || e >= 129776 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141, Zt = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, ht = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, pt = /\t{1,1000}/y, ei = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu"), dt = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, el = new RegExp("\\p{M}+", "gu"), tl = { limit: 1 / 0, ellipsis: "" }, Eo = (e, h = {}, m = {}) => {
2823
2821
  const g = h.limit ?? 1 / 0, f = h.ellipsis ?? "", i = h?.ellipsisWidth ?? (f ? Eo(f, tl, m).width : 0), s = m.ansiWidth ?? 0, a = m.controlWidth ?? 0, o = m.tabWidth ?? 8, p = m.ambiguousWidth ?? 1, n = m.emojiWidth ?? 2, t = m.fullWidthWidth ?? 2, l = m.regularWidth ?? 1, c = m.wideWidth ?? 2;
2824
- let u = 0, d = 0, v = e.length, r = 0, b = !1, w = v, y = Math.max(0, g - i), S = 0, E = 0, C = 0, $ = 0;
2822
+ let u = 0, d = 0, v = e.length, r = 0, b = !1, w = v, y = Math.max(0, g - i), S = 0, E = 0, C = 0, _ = 0;
2825
2823
  e: for (; ; ) {
2826
2824
  if (E > S || d >= v && d > u) {
2827
- const _ = e.slice(S, E) || e.slice(u, d);
2825
+ const $ = e.slice(S, E) || e.slice(u, d);
2828
2826
  r = 0;
2829
- for (const N of _.replaceAll(el, "")) {
2827
+ for (const N of $.replaceAll(el, "")) {
2830
2828
  const P = N.codePointAt(0) || 0;
2831
- if (Qa(P) ? $ = t : Za(P) ? $ = c : p !== l && Xa(P) ? $ = p : $ = l, C + $ > y && (w = Math.min(w, Math.max(S, u) + r)), C + $ > g) {
2829
+ if (Qa(P) ? _ = t : Za(P) ? _ = c : p !== l && Xa(P) ? _ = p : _ = l, C + _ > y && (w = Math.min(w, Math.max(S, u) + r)), C + _ > g) {
2832
2830
  b = !0;
2833
2831
  break e;
2834
2832
  }
2835
- r += N.length, C += $;
2833
+ r += N.length, C += _;
2836
2834
  }
2837
2835
  S = E = 0;
2838
2836
  }
2839
2837
  if (d >= v) break;
2840
2838
  if (dt.lastIndex = d, dt.test(e)) {
2841
- if (r = dt.lastIndex - d, $ = r * l, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / l))), C + $ > g) {
2839
+ if (r = dt.lastIndex - d, _ = r * l, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / l))), C + _ > g) {
2842
2840
  b = !0;
2843
2841
  break;
2844
2842
  }
2845
- C += $, S = u, E = d, d = u = dt.lastIndex;
2843
+ C += _, S = u, E = d, d = u = dt.lastIndex;
2846
2844
  continue;
2847
2845
  }
2848
2846
  if (Zt.lastIndex = d, Zt.test(e)) {
@@ -2854,19 +2852,19 @@ const Xa = (e) => e === 161 || e === 164 || e === 167 || e === 168 || e === 170
2854
2852
  continue;
2855
2853
  }
2856
2854
  if (ht.lastIndex = d, ht.test(e)) {
2857
- if (r = ht.lastIndex - d, $ = r * a, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / a))), C + $ > g) {
2855
+ if (r = ht.lastIndex - d, _ = r * a, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / a))), C + _ > g) {
2858
2856
  b = !0;
2859
2857
  break;
2860
2858
  }
2861
- C += $, S = u, E = d, d = u = ht.lastIndex;
2859
+ C += _, S = u, E = d, d = u = ht.lastIndex;
2862
2860
  continue;
2863
2861
  }
2864
2862
  if (pt.lastIndex = d, pt.test(e)) {
2865
- if (r = pt.lastIndex - d, $ = r * o, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / o))), C + $ > g) {
2863
+ if (r = pt.lastIndex - d, _ = r * o, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / o))), C + _ > g) {
2866
2864
  b = !0;
2867
2865
  break;
2868
2866
  }
2869
- C += $, S = u, E = d, d = u = pt.lastIndex;
2867
+ C += _, S = u, E = d, d = u = pt.lastIndex;
2870
2868
  continue;
2871
2869
  }
2872
2870
  if (ei.lastIndex = d, ei.test(e)) {
@@ -3000,7 +2998,7 @@ function hl({ input: e = yo, output: h = Nn, overwrite: m = !0, hideCursor: g =
3000
2998
  e.off("keypress", i), g && h.write(oe.cursor.show), e instanceof es && e.isTTY && !fl && e.setRawMode(!1), f.terminal = !1, f.close();
3001
2999
  };
3002
3000
  }
3003
- const Mn = (e) => "columns" in e && typeof e.columns == "number" ? e.columns : 80, $o = (e) => "rows" in e && typeof e.rows == "number" ? e.rows : 20;
3001
+ const Mn = (e) => "columns" in e && typeof e.columns == "number" ? e.columns : 80, _o = (e) => "rows" in e && typeof e.rows == "number" ? e.rows : 20;
3004
3002
  function ii(e, h, m, g = m) {
3005
3003
  const f = Mn(e ?? Nn);
3006
3004
  return Sn(h, f - m.length, { hard: !0, trim: !1 }).split(`
@@ -3095,7 +3093,7 @@ let Dn = class {
3095
3093
  if (h !== this._prevFrame) {
3096
3094
  if (this.state === "initial") this.output.write(oe.cursor.hide);
3097
3095
  else {
3098
- const m = ul(this._prevFrame, h), g = $o(this.output);
3096
+ const m = ul(this._prevFrame, h), g = _o(this.output);
3099
3097
  if (this.restoreCursor(), m) {
3100
3098
  const f = Math.max(0, m.numLinesAfter - g), i = Math.max(0, m.numLinesBefore - g);
3101
3099
  let s = m.lines.find((a) => a >= f);
@@ -3201,13 +3199,13 @@ let ml = class extends Dn {
3201
3199
  function gl() {
3202
3200
  return le.platform !== "win32" ? le.env.TERM !== "linux" : !!le.env.CI || !!le.env.WT_SESSION || !!le.env.TERMINUS_SUBLIME || le.env.ConEmuTask === "{cmd::Cmder}" || le.env.TERM_PROGRAM === "Terminus-Sublime" || le.env.TERM_PROGRAM === "vscode" || le.env.TERM === "xterm-256color" || le.env.TERM === "alacritty" || le.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
3203
3201
  }
3204
- const En = gl(), yl = () => process.env.CI === "true", he = (e, h) => En ? e : h, bl = he("◆", "*"), _o = he("■", "x"), No = he("▲", "x"), Fn = he("◇", "o"), vl = he("┌", "T"), J = he("│", "|"), Oe = he("└", "—"), Sl = he("●", ">"), ds = he("○", " "), wl = he("▪", "•"), El = he("●", "•"), Cl = he("◆", "*"), Al = he("▲", "!"), Ll = he("■", "x"), Bn = (e) => {
3202
+ const En = gl(), yl = () => process.env.CI === "true", he = (e, h) => En ? e : h, bl = he("◆", "*"), $o = he("■", "x"), No = he("▲", "x"), Fn = he("◇", "o"), vl = he("┌", "T"), J = he("│", "|"), Oe = he("└", "—"), Sl = he("●", ">"), ds = he("○", " "), wl = he("▪", "•"), El = he("●", "•"), Cl = he("◆", "*"), Al = he("▲", "!"), Ll = he("■", "x"), Bn = (e) => {
3205
3203
  switch (e) {
3206
3204
  case "initial":
3207
3205
  case "active":
3208
3206
  return x.cyan(bl);
3209
3207
  case "cancel":
3210
- return x.red(_o);
3208
+ return x.red($o);
3211
3209
  case "error":
3212
3210
  return x.yellow(No);
3213
3211
  case "submit":
@@ -3225,30 +3223,30 @@ const En = gl(), yl = () => process.env.CI === "true", he = (e, h) => En ? e : h
3225
3223
  case "submit":
3226
3224
  return x.green(J);
3227
3225
  }
3228
- }, $l = (e) => e === 161 || e === 164 || e === 167 || e === 168 || e === 170 || e === 173 || e === 174 || e >= 176 && e <= 180 || e >= 182 && e <= 186 || e >= 188 && e <= 191 || e === 198 || e === 208 || e === 215 || e === 216 || e >= 222 && e <= 225 || e === 230 || e >= 232 && e <= 234 || e === 236 || e === 237 || e === 240 || e === 242 || e === 243 || e >= 247 && e <= 250 || e === 252 || e === 254 || e === 257 || e === 273 || e === 275 || e === 283 || e === 294 || e === 295 || e === 299 || e >= 305 && e <= 307 || e === 312 || e >= 319 && e <= 322 || e === 324 || e >= 328 && e <= 331 || e === 333 || e === 338 || e === 339 || e === 358 || e === 359 || e === 363 || e === 462 || e === 464 || e === 466 || e === 468 || e === 470 || e === 472 || e === 474 || e === 476 || e === 593 || e === 609 || e === 708 || e === 711 || e >= 713 && e <= 715 || e === 717 || e === 720 || e >= 728 && e <= 731 || e === 733 || e === 735 || e >= 768 && e <= 879 || e >= 913 && e <= 929 || e >= 931 && e <= 937 || e >= 945 && e <= 961 || e >= 963 && e <= 969 || e === 1025 || e >= 1040 && e <= 1103 || e === 1105 || e === 8208 || e >= 8211 && e <= 8214 || e === 8216 || e === 8217 || e === 8220 || e === 8221 || e >= 8224 && e <= 8226 || e >= 8228 && e <= 8231 || e === 8240 || e === 8242 || e === 8243 || e === 8245 || e === 8251 || e === 8254 || e === 8308 || e === 8319 || e >= 8321 && e <= 8324 || e === 8364 || e === 8451 || e === 8453 || e === 8457 || e === 8467 || e === 8470 || e === 8481 || e === 8482 || e === 8486 || e === 8491 || e === 8531 || e === 8532 || e >= 8539 && e <= 8542 || e >= 8544 && e <= 8555 || e >= 8560 && e <= 8569 || e === 8585 || e >= 8592 && e <= 8601 || e === 8632 || e === 8633 || e === 8658 || e === 8660 || e === 8679 || e === 8704 || e === 8706 || e === 8707 || e === 8711 || e === 8712 || e === 8715 || e === 8719 || e === 8721 || e === 8725 || e === 8730 || e >= 8733 && e <= 8736 || e === 8739 || e === 8741 || e >= 8743 && e <= 8748 || e === 8750 || e >= 8756 && e <= 8759 || e === 8764 || e === 8765 || e === 8776 || e === 8780 || e === 8786 || e === 8800 || e === 8801 || e >= 8804 && e <= 8807 || e === 8810 || e === 8811 || e === 8814 || e === 8815 || e === 8834 || e === 8835 || e === 8838 || e === 8839 || e === 8853 || e === 8857 || e === 8869 || e === 8895 || e === 8978 || e >= 9312 && e <= 9449 || e >= 9451 && e <= 9547 || e >= 9552 && e <= 9587 || e >= 9600 && e <= 9615 || e >= 9618 && e <= 9621 || e === 9632 || e === 9633 || e >= 9635 && e <= 9641 || e === 9650 || e === 9651 || e === 9654 || e === 9655 || e === 9660 || e === 9661 || e === 9664 || e === 9665 || e >= 9670 && e <= 9672 || e === 9675 || e >= 9678 && e <= 9681 || e >= 9698 && e <= 9701 || e === 9711 || e === 9733 || e === 9734 || e === 9737 || e === 9742 || e === 9743 || e === 9756 || e === 9758 || e === 9792 || e === 9794 || e === 9824 || e === 9825 || e >= 9827 && e <= 9829 || e >= 9831 && e <= 9834 || e === 9836 || e === 9837 || e === 9839 || e === 9886 || e === 9887 || e === 9919 || e >= 9926 && e <= 9933 || e >= 9935 && e <= 9939 || e >= 9941 && e <= 9953 || e === 9955 || e === 9960 || e === 9961 || e >= 9963 && e <= 9969 || e === 9972 || e >= 9974 && e <= 9977 || e === 9979 || e === 9980 || e === 9982 || e === 9983 || e === 10045 || e >= 10102 && e <= 10111 || e >= 11094 && e <= 11097 || e >= 12872 && e <= 12879 || e >= 57344 && e <= 63743 || e >= 65024 && e <= 65039 || e === 65533 || e >= 127232 && e <= 127242 || e >= 127248 && e <= 127277 || e >= 127280 && e <= 127337 || e >= 127344 && e <= 127373 || e === 127375 || e === 127376 || e >= 127387 && e <= 127404 || e >= 917760 && e <= 917999 || e >= 983040 && e <= 1048573 || e >= 1048576 && e <= 1114109, _l = (e) => e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510, Nl = (e) => e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 || e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9800 && e <= 9811 || e === 9855 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e === 9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e === 10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 || e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 || e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 || e >= 12593 && e <= 12686 || e >= 12688 && e <= 12771 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 19903 || e >= 19968 && e <= 42124 || e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e === 94192 || e === 94193 || e >= 94208 && e <= 100343 || e >= 100352 && e <= 101589 || e >= 101632 && e <= 101640 || e >= 110576 && e <= 110579 || e >= 110581 && e <= 110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >= 110948 && e <= 110951 || e >= 110960 && e <= 111355 || e === 126980 || e === 127183 || e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e === 127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 || e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >= 127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 && e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 || e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128727 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >= 128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 && e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129672 || e >= 129680 && e <= 129725 || e >= 129727 && e <= 129733 || e >= 129742 && e <= 129755 || e >= 129760 && e <= 129768 || e >= 129776 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141, ni = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, gt = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, yt = /\t{1,1000}/y, si = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu"), bt = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, Pl = new RegExp("\\p{M}+", "gu"), Il = { limit: 1 / 0, ellipsis: "" }, Po = (e, h = {}, m = {}) => {
3226
+ }, _l = (e) => e === 161 || e === 164 || e === 167 || e === 168 || e === 170 || e === 173 || e === 174 || e >= 176 && e <= 180 || e >= 182 && e <= 186 || e >= 188 && e <= 191 || e === 198 || e === 208 || e === 215 || e === 216 || e >= 222 && e <= 225 || e === 230 || e >= 232 && e <= 234 || e === 236 || e === 237 || e === 240 || e === 242 || e === 243 || e >= 247 && e <= 250 || e === 252 || e === 254 || e === 257 || e === 273 || e === 275 || e === 283 || e === 294 || e === 295 || e === 299 || e >= 305 && e <= 307 || e === 312 || e >= 319 && e <= 322 || e === 324 || e >= 328 && e <= 331 || e === 333 || e === 338 || e === 339 || e === 358 || e === 359 || e === 363 || e === 462 || e === 464 || e === 466 || e === 468 || e === 470 || e === 472 || e === 474 || e === 476 || e === 593 || e === 609 || e === 708 || e === 711 || e >= 713 && e <= 715 || e === 717 || e === 720 || e >= 728 && e <= 731 || e === 733 || e === 735 || e >= 768 && e <= 879 || e >= 913 && e <= 929 || e >= 931 && e <= 937 || e >= 945 && e <= 961 || e >= 963 && e <= 969 || e === 1025 || e >= 1040 && e <= 1103 || e === 1105 || e === 8208 || e >= 8211 && e <= 8214 || e === 8216 || e === 8217 || e === 8220 || e === 8221 || e >= 8224 && e <= 8226 || e >= 8228 && e <= 8231 || e === 8240 || e === 8242 || e === 8243 || e === 8245 || e === 8251 || e === 8254 || e === 8308 || e === 8319 || e >= 8321 && e <= 8324 || e === 8364 || e === 8451 || e === 8453 || e === 8457 || e === 8467 || e === 8470 || e === 8481 || e === 8482 || e === 8486 || e === 8491 || e === 8531 || e === 8532 || e >= 8539 && e <= 8542 || e >= 8544 && e <= 8555 || e >= 8560 && e <= 8569 || e === 8585 || e >= 8592 && e <= 8601 || e === 8632 || e === 8633 || e === 8658 || e === 8660 || e === 8679 || e === 8704 || e === 8706 || e === 8707 || e === 8711 || e === 8712 || e === 8715 || e === 8719 || e === 8721 || e === 8725 || e === 8730 || e >= 8733 && e <= 8736 || e === 8739 || e === 8741 || e >= 8743 && e <= 8748 || e === 8750 || e >= 8756 && e <= 8759 || e === 8764 || e === 8765 || e === 8776 || e === 8780 || e === 8786 || e === 8800 || e === 8801 || e >= 8804 && e <= 8807 || e === 8810 || e === 8811 || e === 8814 || e === 8815 || e === 8834 || e === 8835 || e === 8838 || e === 8839 || e === 8853 || e === 8857 || e === 8869 || e === 8895 || e === 8978 || e >= 9312 && e <= 9449 || e >= 9451 && e <= 9547 || e >= 9552 && e <= 9587 || e >= 9600 && e <= 9615 || e >= 9618 && e <= 9621 || e === 9632 || e === 9633 || e >= 9635 && e <= 9641 || e === 9650 || e === 9651 || e === 9654 || e === 9655 || e === 9660 || e === 9661 || e === 9664 || e === 9665 || e >= 9670 && e <= 9672 || e === 9675 || e >= 9678 && e <= 9681 || e >= 9698 && e <= 9701 || e === 9711 || e === 9733 || e === 9734 || e === 9737 || e === 9742 || e === 9743 || e === 9756 || e === 9758 || e === 9792 || e === 9794 || e === 9824 || e === 9825 || e >= 9827 && e <= 9829 || e >= 9831 && e <= 9834 || e === 9836 || e === 9837 || e === 9839 || e === 9886 || e === 9887 || e === 9919 || e >= 9926 && e <= 9933 || e >= 9935 && e <= 9939 || e >= 9941 && e <= 9953 || e === 9955 || e === 9960 || e === 9961 || e >= 9963 && e <= 9969 || e === 9972 || e >= 9974 && e <= 9977 || e === 9979 || e === 9980 || e === 9982 || e === 9983 || e === 10045 || e >= 10102 && e <= 10111 || e >= 11094 && e <= 11097 || e >= 12872 && e <= 12879 || e >= 57344 && e <= 63743 || e >= 65024 && e <= 65039 || e === 65533 || e >= 127232 && e <= 127242 || e >= 127248 && e <= 127277 || e >= 127280 && e <= 127337 || e >= 127344 && e <= 127373 || e === 127375 || e === 127376 || e >= 127387 && e <= 127404 || e >= 917760 && e <= 917999 || e >= 983040 && e <= 1048573 || e >= 1048576 && e <= 1114109, $l = (e) => e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510, Nl = (e) => e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 || e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9800 && e <= 9811 || e === 9855 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e === 9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e === 10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 || e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 || e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 || e >= 12593 && e <= 12686 || e >= 12688 && e <= 12771 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 19903 || e >= 19968 && e <= 42124 || e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e === 94192 || e === 94193 || e >= 94208 && e <= 100343 || e >= 100352 && e <= 101589 || e >= 101632 && e <= 101640 || e >= 110576 && e <= 110579 || e >= 110581 && e <= 110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >= 110948 && e <= 110951 || e >= 110960 && e <= 111355 || e === 126980 || e === 127183 || e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e === 127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 || e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >= 127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 && e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 || e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128727 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >= 128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 && e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129672 || e >= 129680 && e <= 129725 || e >= 129727 && e <= 129733 || e >= 129742 && e <= 129755 || e >= 129760 && e <= 129768 || e >= 129776 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141, ni = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, gt = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, yt = /\t{1,1000}/y, si = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu"), bt = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, Pl = new RegExp("\\p{M}+", "gu"), Il = { limit: 1 / 0, ellipsis: "" }, Po = (e, h = {}, m = {}) => {
3229
3227
  const g = h.limit ?? 1 / 0, f = h.ellipsis ?? "", i = h?.ellipsisWidth ?? (f ? Po(f, Il, m).width : 0), s = m.ansiWidth ?? 0, a = m.controlWidth ?? 0, o = m.tabWidth ?? 8, p = m.ambiguousWidth ?? 1, n = m.emojiWidth ?? 2, t = m.fullWidthWidth ?? 2, l = m.regularWidth ?? 1, c = m.wideWidth ?? 2;
3230
- let u = 0, d = 0, v = e.length, r = 0, b = !1, w = v, y = Math.max(0, g - i), S = 0, E = 0, C = 0, $ = 0;
3228
+ let u = 0, d = 0, v = e.length, r = 0, b = !1, w = v, y = Math.max(0, g - i), S = 0, E = 0, C = 0, _ = 0;
3231
3229
  e: for (; ; ) {
3232
3230
  if (E > S || d >= v && d > u) {
3233
- const _ = e.slice(S, E) || e.slice(u, d);
3231
+ const $ = e.slice(S, E) || e.slice(u, d);
3234
3232
  r = 0;
3235
- for (const N of _.replaceAll(Pl, "")) {
3233
+ for (const N of $.replaceAll(Pl, "")) {
3236
3234
  const P = N.codePointAt(0) || 0;
3237
- if (_l(P) ? $ = t : Nl(P) ? $ = c : p !== l && $l(P) ? $ = p : $ = l, C + $ > y && (w = Math.min(w, Math.max(S, u) + r)), C + $ > g) {
3235
+ if ($l(P) ? _ = t : Nl(P) ? _ = c : p !== l && _l(P) ? _ = p : _ = l, C + _ > y && (w = Math.min(w, Math.max(S, u) + r)), C + _ > g) {
3238
3236
  b = !0;
3239
3237
  break e;
3240
3238
  }
3241
- r += N.length, C += $;
3239
+ r += N.length, C += _;
3242
3240
  }
3243
3241
  S = E = 0;
3244
3242
  }
3245
3243
  if (d >= v) break;
3246
3244
  if (bt.lastIndex = d, bt.test(e)) {
3247
- if (r = bt.lastIndex - d, $ = r * l, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / l))), C + $ > g) {
3245
+ if (r = bt.lastIndex - d, _ = r * l, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / l))), C + _ > g) {
3248
3246
  b = !0;
3249
3247
  break;
3250
3248
  }
3251
- C += $, S = u, E = d, d = u = bt.lastIndex;
3249
+ C += _, S = u, E = d, d = u = bt.lastIndex;
3252
3250
  continue;
3253
3251
  }
3254
3252
  if (ni.lastIndex = d, ni.test(e)) {
@@ -3260,19 +3258,19 @@ const En = gl(), yl = () => process.env.CI === "true", he = (e, h) => En ? e : h
3260
3258
  continue;
3261
3259
  }
3262
3260
  if (gt.lastIndex = d, gt.test(e)) {
3263
- if (r = gt.lastIndex - d, $ = r * a, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / a))), C + $ > g) {
3261
+ if (r = gt.lastIndex - d, _ = r * a, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / a))), C + _ > g) {
3264
3262
  b = !0;
3265
3263
  break;
3266
3264
  }
3267
- C += $, S = u, E = d, d = u = gt.lastIndex;
3265
+ C += _, S = u, E = d, d = u = gt.lastIndex;
3268
3266
  continue;
3269
3267
  }
3270
3268
  if (yt.lastIndex = d, yt.test(e)) {
3271
- if (r = yt.lastIndex - d, $ = r * o, C + $ > y && (w = Math.min(w, d + Math.floor((y - C) / o))), C + $ > g) {
3269
+ if (r = yt.lastIndex - d, _ = r * o, C + _ > y && (w = Math.min(w, d + Math.floor((y - C) / o))), C + _ > g) {
3272
3270
  b = !0;
3273
3271
  break;
3274
3272
  }
3275
- C += $, S = u, E = d, d = u = yt.lastIndex;
3273
+ C += _, S = u, E = d, d = u = yt.lastIndex;
3276
3274
  continue;
3277
3275
  }
3278
3276
  if (si.lastIndex = d, si.test(e)) {
@@ -3371,7 +3369,7 @@ const Bl = (e, h, m, g, f) => {
3371
3369
  }
3372
3370
  return { lineCount: i, removals: s };
3373
3371
  }, Gl = (e) => {
3374
- const { cursor: h, options: m, style: g } = e, f = e.output ?? process.stdout, i = Mn(f), s = e.columnPadding ?? 0, a = e.rowPadding ?? 4, o = i - s, p = $o(f), n = x.dim("..."), t = e.maxItems ?? Number.POSITIVE_INFINITY, l = Math.max(p - a, 0), c = Math.max(Math.min(t, l), 5);
3372
+ const { cursor: h, options: m, style: g } = e, f = e.output ?? process.stdout, i = Mn(f), s = e.columnPadding ?? 0, a = e.rowPadding ?? 4, o = i - s, p = _o(f), n = x.dim("..."), t = e.maxItems ?? Number.POSITIVE_INFINITY, l = Math.max(p - a, 0), c = Math.max(Math.min(t, l), 5);
3375
3373
  let u = 0;
3376
3374
  h >= c - 3 && (u = Math.max(Math.min(h - c + 3, m.length - c), 0));
3377
3375
  let d = c < m.length && u > 0, v = c < m.length && u + c < m.length;
@@ -3380,18 +3378,18 @@ const Bl = (e, h, m, g, f) => {
3380
3378
  d && w++, v && w++;
3381
3379
  const y = u + (d ? 1 : 0), S = r - (v ? 1 : 0);
3382
3380
  for (let C = y; C < S; C++) {
3383
- const $ = Cn(g(m[C], C === h), o, { hard: !0, trim: !1 }).split(`
3381
+ const _ = Cn(g(m[C], C === h), o, { hard: !0, trim: !1 }).split(`
3384
3382
  `);
3385
- b.push($), w += $.length;
3383
+ b.push(_), w += _.length;
3386
3384
  }
3387
3385
  if (w > l) {
3388
- let C = 0, $ = 0, _ = w;
3389
- const N = h - y, P = (R, G) => Bl(b, _, R, G, l);
3390
- d ? ({ lineCount: _, removals: C } = P(0, N), _ > l && ({ lineCount: _, removals: $ } = P(N + 1, b.length))) : ({ lineCount: _, removals: $ } = P(N + 1, b.length), _ > l && ({ lineCount: _, removals: C } = P(0, N))), C > 0 && (d = !0, b.splice(0, C)), $ > 0 && (v = !0, b.splice(b.length - $, $));
3386
+ let C = 0, _ = 0, $ = w;
3387
+ const N = h - y, P = (R, G) => Bl(b, $, R, G, l);
3388
+ d ? ({ lineCount: $, removals: C } = P(0, N), $ > l && ({ lineCount: $, removals: _ } = P(N + 1, b.length))) : ({ lineCount: $, removals: _ } = P(N + 1, b.length), $ > l && ({ lineCount: $, removals: C } = P(0, N))), C > 0 && (d = !0, b.splice(0, C)), _ > 0 && (v = !0, b.splice(b.length - _, _));
3391
3389
  }
3392
3390
  const E = [];
3393
3391
  d && E.push(n);
3394
- for (const C of b) for (const $ of C) E.push($);
3392
+ for (const C of b) for (const _ of C) E.push(_);
3395
3393
  return v && E.push(n), E;
3396
3394
  }, ql = async (e, h) => {
3397
3395
  const m = {}, g = Object.keys(e);
@@ -3481,23 +3479,23 @@ ${s}
3481
3479
  process.on("uncaughtExceptionMonitor", y), process.on("unhandledRejection", y), process.on("SIGINT", S), process.on("SIGTERM", S), process.on("exit", w), a && a.addEventListener("abort", S);
3482
3480
  }, C = () => {
3483
3481
  process.removeListener("uncaughtExceptionMonitor", y), process.removeListener("unhandledRejection", y), process.removeListener("SIGINT", S), process.removeListener("SIGTERM", S), process.removeListener("exit", w), a && a.removeEventListener("abort", S);
3484
- }, $ = () => {
3482
+ }, _ = () => {
3485
3483
  if (d === void 0) return;
3486
3484
  p && m.write(`
3487
3485
  `);
3488
3486
  const F = Cn(d, r, { hard: !0, trim: !1 }).split(`
3489
3487
  `);
3490
3488
  F.length > 1 && m.write(oe.cursor.up(F.length - 1)), m.write(oe.cursor.to(0)), m.write(oe.erase.down());
3491
- }, _ = (F) => F.replace(/\.+$/, ""), N = (F) => {
3489
+ }, $ = (F) => F.replace(/\.+$/, ""), N = (F) => {
3492
3490
  const B = (performance.now() - F) / 1e3, q = Math.floor(B / 60), T = Math.floor(B % 60);
3493
3491
  return q > 0 ? `[${q}m ${T}s]` : `[${T}s]`;
3494
3492
  }, P = o.withGuide ?? Se.withGuide, R = (F = "") => {
3495
- l = !0, n = hl({ output: m }), u = _(F), v = performance.now(), P && m.write(`${x.gray(J)}
3493
+ l = !0, n = hl({ output: m }), u = $(F), v = performance.now(), P && m.write(`${x.gray(J)}
3496
3494
  `);
3497
3495
  let B = 0, q = 0;
3498
3496
  E(), t = setInterval(() => {
3499
3497
  if (p && u === d) return;
3500
- $(), d = u;
3498
+ _(), d = u;
3501
3499
  const T = b(i[B]);
3502
3500
  let Y;
3503
3501
  if (p) Y = `${T} ${u}...`;
@@ -3511,14 +3509,14 @@ ${s}
3511
3509
  }, s);
3512
3510
  }, G = (F = "", B = 0, q = !1) => {
3513
3511
  if (!l) return;
3514
- l = !1, clearInterval(t), $();
3515
- const T = B === 0 ? x.green(Fn) : B === 1 ? x.red(_o) : x.red(No);
3512
+ l = !1, clearInterval(t), _();
3513
+ const T = B === 0 ? x.green(Fn) : B === 1 ? x.red($o) : x.red(No);
3516
3514
  u = F ?? u, q || (e === "timer" ? m.write(`${T} ${u} ${N(v)}
3517
3515
  `) : m.write(`${T} ${u}
3518
3516
  `)), C(), n();
3519
3517
  };
3520
3518
  return { start: R, stop: (F = "") => G(F, 0), message: (F = "") => {
3521
- u = _(F ?? u);
3519
+ u = $(F ?? u);
3522
3520
  }, cancel: (F = "") => G(F, 1), error: (F = "") => G(F, 2), clear: () => G("", 0, !0), get isCancelled() {
3523
3521
  return c;
3524
3522
  } };
@@ -3775,7 +3773,7 @@ function Zl(e, { streamIsTTY: h, sniffFlags: m = !0 } = {}) {
3775
3773
  if (Q.TERM === "dumb")
3776
3774
  return i;
3777
3775
  if (le.platform === "win32") {
3778
- const s = $a.release().split(".");
3776
+ const s = _a.release().split(".");
3779
3777
  return Number(s[0]) >= 10 && Number(s[2]) >= 10586 ? Number(s[2]) >= 14931 ? 3 : 2 : 1;
3780
3778
  }
3781
3779
  if ("CI" in Q)
@@ -4084,7 +4082,7 @@ function cc() {
4084
4082
  return O.apply(null, [this].concat([].slice.call(L)));
4085
4083
  },
4086
4084
  analogous: function() {
4087
- return this._applyCombination(_, arguments);
4085
+ return this._applyCombination($, arguments);
4088
4086
  },
4089
4087
  complement: function() {
4090
4088
  return this._applyCombination(E, arguments);
@@ -4093,7 +4091,7 @@ function cc() {
4093
4091
  return this._applyCombination(N, arguments);
4094
4092
  },
4095
4093
  splitcomplement: function() {
4096
- return this._applyCombination($, arguments);
4094
+ return this._applyCombination(_, arguments);
4097
4095
  },
4098
4096
  // Disabled until https://github.com/bgrins/TinyColor/issues/254
4099
4097
  // polyad: function (number) {
@@ -4282,7 +4280,7 @@ function cc() {
4282
4280
  }));
4283
4281
  return I;
4284
4282
  }
4285
- function $(A) {
4283
+ function _(A) {
4286
4284
  var O = i(A).toHsl(), L = O.h;
4287
4285
  return [i(A), i({
4288
4286
  h: (L + 72) % 360,
@@ -4294,7 +4292,7 @@ function cc() {
4294
4292
  l: O.l
4295
4293
  })];
4296
4294
  }
4297
- function _(A, O, L) {
4295
+ function $(A, O, L) {
4298
4296
  O = O || 6, L = L || 30;
4299
4297
  var I = i(A).toHsl(), M = 360 / L, k = [i(A)];
4300
4298
  for (I.h = (I.h - (M * O >> 1) + 720) % 360; --O; )
@@ -4869,16 +4867,16 @@ function uc() {
4869
4867
  }, ai;
4870
4868
  }
4871
4869
  var fc = uc();
4872
- const $s = /* @__PURE__ */ Mt(fc), ce = (...e) => {
4870
+ const _s = /* @__PURE__ */ Mt(fc), ce = (...e) => {
4873
4871
  let h, m;
4874
4872
  if (e.length === 0)
4875
4873
  throw new Error("Missing gradient colors");
4876
4874
  if (Array.isArray(e[0]))
4877
- h = $s(e[0]), m = Un(e[1]);
4875
+ h = _s(e[0]), m = Un(e[1]);
4878
4876
  else {
4879
4877
  if (e.length === 1)
4880
4878
  throw new Error(`Expected an array of colors, received ${JSON.stringify(e[0])}`);
4881
- h = $s(...e);
4879
+ h = _s(...e);
4882
4880
  }
4883
4881
  const g = (f, i) => hc(f ? f.toString() : "", h, i ?? m);
4884
4882
  return g.multiline = (f, i) => pc(f ? f.toString() : "", h, i ?? m), g;
@@ -4935,13 +4933,13 @@ function me(e) {
4935
4933
  const h = (m) => ce(...e.colors)(m, e.options);
4936
4934
  return h.multiline = (m = "") => ce(...e.colors).multiline(m, e.options), h;
4937
4935
  }
4938
- const dc = me(de.atlas), mc = me(de.cristal), gc = me(de.teen), yc = me(de.mind), bc = me(de.morning), $n = me(de.vice), vc = me(de.passion), Sc = me(de.fruit), wc = me(de.instagram), Ec = me(de.retro), Cc = me(de.summer), Ac = me(de.rainbow), Lc = me(de.pastel);
4936
+ const dc = me(de.atlas), mc = me(de.cristal), gc = me(de.teen), yc = me(de.mind), bc = me(de.morning), _n = me(de.vice), vc = me(de.passion), Sc = me(de.fruit), wc = me(de.instagram), Ec = me(de.retro), Cc = me(de.summer), Ac = me(de.rainbow), Lc = me(de.pastel);
4939
4937
  ce.atlas = dc;
4940
4938
  ce.cristal = mc;
4941
4939
  ce.teen = gc;
4942
4940
  ce.mind = yc;
4943
4941
  ce.morning = bc;
4944
- ce.vice = $n;
4942
+ ce.vice = _n;
4945
4943
  ce.passion = vc;
4946
4944
  ce.fruit = Sc;
4947
4945
  ce.instagram = wc;
@@ -4964,17 +4962,17 @@ async function Do() {
4964
4962
  }
4965
4963
  });
4966
4964
  }
4967
- async function $c() {
4965
+ async function _c() {
4968
4966
  const e = Object.entries(D).filter(([, h]) => !Ya[h]).map(([, h]) => ({ value: h, label: h }));
4969
4967
  return await Wl({
4970
4968
  message: "Which template would you like to use?",
4971
4969
  options: e
4972
4970
  });
4973
4971
  }
4974
- function _n() {
4972
+ function $n() {
4975
4973
  jn(ie.greenBright("Your new project is ready!"));
4976
4974
  }
4977
- function _c() {
4975
+ function $c() {
4978
4976
  jn(
4979
4977
  ie.greenBright(
4980
4978
  "Configuration files created: .npmrc, eslint.config.js, prettier.config.js, and lint-staged.config.js. If you are in a monorepo, you will need to manually integrate these files with your project configuration."
@@ -4997,9 +4995,9 @@ async function Nc(e) {
4997
4995
  }
4998
4996
  });
4999
4997
  }
5000
- var li, _s;
4998
+ var li, $s;
5001
4999
  function Fo() {
5002
- return _s || (_s = 1, li = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...h) => console.error("SEMVER", ...h) : () => {
5000
+ return $s || ($s = 1, li = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...h) => console.error("SEMVER", ...h) : () => {
5003
5001
  }), li;
5004
5002
  }
5005
5003
  var ci, Ns;
@@ -5776,8 +5774,8 @@ function Gc() {
5776
5774
  vi = function(r, b) {
5777
5775
  b = b || {};
5778
5776
  var w = b.upgrade === void 0 ? !0 : !!b.upgrade;
5779
- function y($) {
5780
- return w ? v($) : $;
5777
+ function y(_) {
5778
+ return w ? v(_) : _;
5781
5779
  }
5782
5780
  var S = typeof r == "string" && r.trim().length !== 0;
5783
5781
  if (!S)
@@ -5788,8 +5786,8 @@ function Gc() {
5788
5786
  if (m(E))
5789
5787
  return y(E);
5790
5788
  var C = c(r);
5791
- return C !== null || (C = d(r, function($) {
5792
- return m($) ? $ : c($);
5789
+ return C !== null || (C = d(r, function(_) {
5790
+ return m(_) ? _ : c(_);
5793
5791
  }), C !== null) || (C = u(r), C !== null) || (C = d(r, u), C !== null) ? y(C) : null;
5794
5792
  };
5795
5793
  function v(r) {
@@ -6108,13 +6106,13 @@ function jc() {
6108
6106
  return this.#g;
6109
6107
  }
6110
6108
  constructor(c) {
6111
- const { max: u = 0, ttl: d, ttlResolution: v = 1, ttlAutopurge: r, updateAgeOnGet: b, updateAgeOnHas: w, allowStale: y, dispose: S, disposeAfter: E, noDisposeOnSet: C, noUpdateTTL: $, maxSize: _ = 0, maxEntrySize: N = 0, sizeCalculation: P, fetchMethod: R, memoMethod: G, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: B, allowStaleOnFetchRejection: q, allowStaleOnFetchAbort: T, ignoreFetchAbort: Y } = c;
6109
+ const { max: u = 0, ttl: d, ttlResolution: v = 1, ttlAutopurge: r, updateAgeOnGet: b, updateAgeOnHas: w, allowStale: y, dispose: S, disposeAfter: E, noDisposeOnSet: C, noUpdateTTL: _, maxSize: $ = 0, maxEntrySize: N = 0, sizeCalculation: P, fetchMethod: R, memoMethod: G, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: B, allowStaleOnFetchRejection: q, allowStaleOnFetchAbort: T, ignoreFetchAbort: Y } = c;
6112
6110
  if (u !== 0 && !a(u))
6113
6111
  throw new TypeError("max option must be a nonnegative integer");
6114
6112
  const j = u ? o(u) : Array;
6115
6113
  if (!j)
6116
6114
  throw new Error("invalid max value: " + u);
6117
- if (this.#s = u, this.#c = _, this.maxEntrySize = N || this.#c, this.sizeCalculation = P, this.sizeCalculation) {
6115
+ if (this.#s = u, this.#c = $, this.maxEntrySize = N || this.#c, this.sizeCalculation = P, this.sizeCalculation) {
6118
6116
  if (!this.#c && !this.maxEntrySize)
6119
6117
  throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
6120
6118
  if (typeof this.sizeCalculation != "function")
@@ -6124,7 +6122,7 @@ function jc() {
6124
6122
  throw new TypeError("memoMethod must be a function if defined");
6125
6123
  if (this.#I = G, R !== void 0 && typeof R != "function")
6126
6124
  throw new TypeError("fetchMethod must be a function if specified");
6127
- if (this.#P = R, this.#O = !!R, this.#r = /* @__PURE__ */ new Map(), this.#n = new Array(u).fill(void 0), this.#e = new Array(u).fill(void 0), this.#f = new j(u), this.#p = new j(u), this.#u = 0, this.#a = 0, this.#b = n.create(u), this.#o = 0, this.#y = 0, typeof S == "function" && (this.#t = S), typeof E == "function" ? (this.#g = E, this.#l = []) : (this.#g = void 0, this.#l = void 0), this.#w = !!this.#t, this.#h = !!this.#g, this.noDisposeOnSet = !!C, this.noUpdateTTL = !!$, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!q, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
6125
+ if (this.#P = R, this.#O = !!R, this.#r = /* @__PURE__ */ new Map(), this.#n = new Array(u).fill(void 0), this.#e = new Array(u).fill(void 0), this.#f = new j(u), this.#p = new j(u), this.#u = 0, this.#a = 0, this.#b = n.create(u), this.#o = 0, this.#y = 0, typeof S == "function" && (this.#t = S), typeof E == "function" ? (this.#g = E, this.#l = []) : (this.#g = void 0, this.#l = void 0), this.#w = !!this.#t, this.#h = !!this.#g, this.noDisposeOnSet = !!C, this.noUpdateTTL = !!_, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!q, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
6128
6126
  if (this.#c !== 0 && !a(this.#c))
6129
6127
  throw new TypeError("maxSize must be a positive integer if specified");
6130
6128
  if (!a(this.maxEntrySize))
@@ -6159,7 +6157,7 @@ function jc() {
6159
6157
  }, b + 1);
6160
6158
  y.unref && y.unref();
6161
6159
  }
6162
- }, this.#$ = (r) => {
6160
+ }, this.#_ = (r) => {
6163
6161
  u[r] = c[r] !== 0 ? e.now() : 0;
6164
6162
  }, this.#L = (r, b) => {
6165
6163
  if (c[b]) {
@@ -6196,7 +6194,7 @@ function jc() {
6196
6194
  };
6197
6195
  }
6198
6196
  // conditionally set private methods related to TTL
6199
- #$ = () => {
6197
+ #_ = () => {
6200
6198
  };
6201
6199
  #L = () => {
6202
6200
  };
@@ -6206,7 +6204,7 @@ function jc() {
6206
6204
  #m = () => !1;
6207
6205
  #q() {
6208
6206
  const c = new p(this.#s);
6209
- this.#y = 0, this.#v = c, this.#_ = (u) => {
6207
+ this.#y = 0, this.#v = c, this.#$ = (u) => {
6210
6208
  this.#y -= c[u], c[u] = 0;
6211
6209
  }, this.#D = (u, d, v, r) => {
6212
6210
  if (this.#i(d))
@@ -6229,7 +6227,7 @@ function jc() {
6229
6227
  this.#y += c[u], v && (v.entrySize = d, v.totalCalculatedSize = this.#y);
6230
6228
  };
6231
6229
  }
6232
- #_ = (c) => {
6230
+ #$ = (c) => {
6233
6231
  };
6234
6232
  #T = (c, u, d) => {
6235
6233
  };
@@ -6490,25 +6488,25 @@ function jc() {
6490
6488
  C = this.#o === 0 ? this.#a : this.#b.length !== 0 ? this.#b.pop() : this.#o === this.#s ? this.#k(!1) : this.#o, this.#n[C] = c, this.#e[C] = u, this.#r.set(c, C), this.#f[this.#a] = C, this.#p[C] = this.#a, this.#a = C, this.#o++, this.#T(C, E, y), y && (y.set = "add"), S = !1;
6491
6489
  else {
6492
6490
  this.#N(C);
6493
- const $ = this.#e[C];
6494
- if (u !== $) {
6495
- if (this.#O && this.#i($)) {
6496
- $.__abortController.abort(new Error("replaced"));
6497
- const { __staleWhileFetching: _ } = $;
6498
- _ !== void 0 && !b && (this.#w && this.#t?.(_, c, "set"), this.#h && this.#l?.push([_, c, "set"]));
6499
- } else b || (this.#w && this.#t?.($, c, "set"), this.#h && this.#l?.push([$, c, "set"]));
6500
- if (this.#_(C), this.#T(C, E, y), this.#e[C] = u, y) {
6491
+ const _ = this.#e[C];
6492
+ if (u !== _) {
6493
+ if (this.#O && this.#i(_)) {
6494
+ _.__abortController.abort(new Error("replaced"));
6495
+ const { __staleWhileFetching: $ } = _;
6496
+ $ !== void 0 && !b && (this.#w && this.#t?.($, c, "set"), this.#h && this.#l?.push([$, c, "set"]));
6497
+ } else b || (this.#w && this.#t?.(_, c, "set"), this.#h && this.#l?.push([_, c, "set"]));
6498
+ if (this.#$(C), this.#T(C, E, y), this.#e[C] = u, y) {
6501
6499
  y.set = "replace";
6502
- const _ = $ && this.#i($) ? $.__staleWhileFetching : $;
6503
- _ !== void 0 && (y.oldValue = _);
6500
+ const $ = _ && this.#i(_) ? _.__staleWhileFetching : _;
6501
+ $ !== void 0 && (y.oldValue = $);
6504
6502
  }
6505
6503
  } else y && (y.set = "update");
6506
6504
  }
6507
6505
  if (v !== 0 && !this.#d && this.#R(), this.#d && (S || this.#M(C, v, r), y && this.#L(y, C)), !b && this.#h && this.#l) {
6508
- const $ = this.#l;
6509
- let _;
6510
- for (; _ = $?.shift(); )
6511
- this.#g?.(..._);
6506
+ const _ = this.#l;
6507
+ let $;
6508
+ for (; $ = _?.shift(); )
6509
+ this.#g?.(...$);
6512
6510
  }
6513
6511
  return this;
6514
6512
  }
@@ -6537,7 +6535,7 @@ function jc() {
6537
6535
  }
6538
6536
  #k(c) {
6539
6537
  const u = this.#u, d = this.#n[u], v = this.#e[u];
6540
- return this.#O && this.#i(v) ? v.__abortController.abort(new Error("evicted")) : (this.#w || this.#h) && (this.#w && this.#t?.(v, d, "evict"), this.#h && this.#l?.push([v, d, "evict"])), this.#_(u), c && (this.#n[u] = void 0, this.#e[u] = void 0, this.#b.push(u)), this.#o === 1 ? (this.#u = this.#a = 0, this.#b.length = 0) : this.#u = this.#f[u], this.#r.delete(d), this.#o--, u;
6538
+ return this.#O && this.#i(v) ? v.__abortController.abort(new Error("evicted")) : (this.#w || this.#h) && (this.#w && this.#t?.(v, d, "evict"), this.#h && this.#l?.push([v, d, "evict"])), this.#$(u), c && (this.#n[u] = void 0, this.#e[u] = void 0, this.#b.push(u)), this.#o === 1 ? (this.#u = this.#a = 0, this.#b.length = 0) : this.#u = this.#f[u], this.#r.delete(d), this.#o--, u;
6541
6539
  }
6542
6540
  /**
6543
6541
  * Check if a key is in the cache, without updating the recency of use.
@@ -6563,7 +6561,7 @@ function jc() {
6563
6561
  return !1;
6564
6562
  if (this.#m(r))
6565
6563
  v && (v.has = "stale", this.#L(v, r));
6566
- else return d && this.#$(r), v && (v.has = "hit", this.#L(v, r)), !0;
6564
+ else return d && this.#_(r), v && (v.has = "hit", this.#L(v, r)), !0;
6567
6565
  } else v && (v.has = "miss");
6568
6566
  return !1;
6569
6567
  }
@@ -6597,22 +6595,22 @@ function jc() {
6597
6595
  const { aborted: G } = b.signal, F = d.ignoreFetchAbort && P !== void 0;
6598
6596
  if (d.status && (G && !R ? (d.status.fetchAborted = !0, d.status.fetchError = b.signal.reason, F && (d.status.fetchAbortIgnored = !0)) : d.status.fetchResolved = !0), G && !F && !R)
6599
6597
  return C(b.signal.reason);
6600
- const B = _;
6601
- return this.#e[u] === _ && (P === void 0 ? B.__staleWhileFetching ? this.#e[u] = B.__staleWhileFetching : this.#A(c, "fetch") : (d.status && (d.status.fetchUpdated = !0), this.set(c, P, y.options))), P;
6598
+ const B = $;
6599
+ return this.#e[u] === $ && (P === void 0 ? B.__staleWhileFetching ? this.#e[u] = B.__staleWhileFetching : this.#A(c, "fetch") : (d.status && (d.status.fetchUpdated = !0), this.set(c, P, y.options))), P;
6602
6600
  }, E = (P) => (d.status && (d.status.fetchRejected = !0, d.status.fetchError = P), C(P)), C = (P) => {
6603
- const { aborted: R } = b.signal, G = R && d.allowStaleOnFetchAbort, F = G || d.allowStaleOnFetchRejection, B = F || d.noDeleteOnFetchRejection, q = _;
6604
- if (this.#e[u] === _ && (!B || q.__staleWhileFetching === void 0 ? this.#A(c, "fetch") : G || (this.#e[u] = q.__staleWhileFetching)), F)
6601
+ const { aborted: R } = b.signal, G = R && d.allowStaleOnFetchAbort, F = G || d.allowStaleOnFetchRejection, B = F || d.noDeleteOnFetchRejection, q = $;
6602
+ if (this.#e[u] === $ && (!B || q.__staleWhileFetching === void 0 ? this.#A(c, "fetch") : G || (this.#e[u] = q.__staleWhileFetching)), F)
6605
6603
  return d.status && q.__staleWhileFetching !== void 0 && (d.status.returnedStale = !0), q.__staleWhileFetching;
6606
6604
  if (q.__returned === q)
6607
6605
  throw P;
6608
- }, $ = (P, R) => {
6606
+ }, _ = (P, R) => {
6609
6607
  const G = this.#P?.(c, r, y);
6610
6608
  G && G instanceof Promise && G.then((F) => P(F === void 0 ? void 0 : F), R), b.signal.addEventListener("abort", () => {
6611
6609
  (!d.ignoreFetchAbort || d.allowStaleOnFetchAbort) && (P(void 0), d.allowStaleOnFetchAbort && (P = (F) => S(F, !0)));
6612
6610
  });
6613
6611
  };
6614
6612
  d.status && (d.status.fetchDispatched = !0);
6615
- const _ = new Promise($).then(S, E), N = Object.assign(_, {
6613
+ const $ = new Promise(_).then(S, E), N = Object.assign($, {
6616
6614
  __abortController: b,
6617
6615
  __staleWhileFetching: r,
6618
6616
  __returned: void 0
@@ -6639,8 +6637,8 @@ function jc() {
6639
6637
  noUpdateTTL: E = this.noUpdateTTL,
6640
6638
  // fetch exclusive options
6641
6639
  noDeleteOnFetchRejection: C = this.noDeleteOnFetchRejection,
6642
- allowStaleOnFetchRejection: $ = this.allowStaleOnFetchRejection,
6643
- ignoreFetchAbort: _ = this.ignoreFetchAbort,
6640
+ allowStaleOnFetchRejection: _ = this.allowStaleOnFetchRejection,
6641
+ ignoreFetchAbort: $ = this.ignoreFetchAbort,
6644
6642
  allowStaleOnFetchAbort: N = this.allowStaleOnFetchAbort,
6645
6643
  context: P,
6646
6644
  forceRefresh: R = !1,
@@ -6664,9 +6662,9 @@ function jc() {
6664
6662
  sizeCalculation: S,
6665
6663
  noUpdateTTL: E,
6666
6664
  noDeleteOnFetchRejection: C,
6667
- allowStaleOnFetchRejection: $,
6665
+ allowStaleOnFetchRejection: _,
6668
6666
  allowStaleOnFetchAbort: N,
6669
- ignoreFetchAbort: _,
6667
+ ignoreFetchAbort: $,
6670
6668
  status: G,
6671
6669
  signal: F
6672
6670
  };
@@ -6683,7 +6681,7 @@ function jc() {
6683
6681
  }
6684
6682
  const Y = this.#m(q);
6685
6683
  if (!R && !Y)
6686
- return G && (G.fetch = "hit"), this.#N(q), v && this.#$(q), G && this.#L(G, q), T;
6684
+ return G && (G.fetch = "hit"), this.#N(q), v && this.#_(q), G && this.#L(G, q), T;
6687
6685
  const j = this.#x(c, q, B, P), se = j.__staleWhileFetching !== void 0 && d;
6688
6686
  return G && (G.fetch = Y ? "stale" : "refresh", se && Y && (G.returnedStale = !0)), se ? j.__staleWhileFetching : j.__returned = j;
6689
6687
  }
@@ -6717,7 +6715,7 @@ function jc() {
6717
6715
  const { allowStale: d = this.allowStale, updateAgeOnGet: v = this.updateAgeOnGet, noDeleteOnStaleGet: r = this.noDeleteOnStaleGet, status: b } = u, w = this.#r.get(c);
6718
6716
  if (w !== void 0) {
6719
6717
  const y = this.#e[w], S = this.#i(y);
6720
- return b && this.#L(b, w), this.#m(w) ? (b && (b.get = "stale"), S ? (b && d && y.__staleWhileFetching !== void 0 && (b.returnedStale = !0), d ? y.__staleWhileFetching : void 0) : (r || this.#A(c, "expire"), b && d && (b.returnedStale = !0), d ? y : void 0)) : (b && (b.get = "hit"), S ? y.__staleWhileFetching : (this.#N(w), v && this.#$(w), y));
6718
+ return b && this.#L(b, w), this.#m(w) ? (b && (b.get = "stale"), S ? (b && d && y.__staleWhileFetching !== void 0 && (b.returnedStale = !0), d ? y.__staleWhileFetching : void 0) : (r || this.#A(c, "expire"), b && d && (b.returnedStale = !0), d ? y : void 0)) : (b && (b.get = "hit"), S ? y.__staleWhileFetching : (this.#N(w), v && this.#_(w), y));
6721
6719
  } else b && (b.get = "miss");
6722
6720
  }
6723
6721
  #B(c, u) {
@@ -6742,7 +6740,7 @@ function jc() {
6742
6740
  if (d = !0, this.#o === 1)
6743
6741
  this.#G(u);
6744
6742
  else {
6745
- this.#_(v);
6743
+ this.#$(v);
6746
6744
  const r = this.#e[v];
6747
6745
  if (this.#i(r) ? r.__abortController.abort(new Error("deleted")) : (this.#w || this.#h) && (this.#w && this.#t?.(r, c, u), this.#h && this.#l?.push([r, c, u])), this.#r.delete(c), this.#n[v] = void 0, this.#e[v] = void 0, v === this.#a)
6748
6746
  this.#a = this.#p[v];
@@ -7214,8 +7212,8 @@ function Xc() {
7214
7212
  Object.keys(y[S]).forEach(function(E) {
7215
7213
  var C = y[S][E];
7216
7214
  typeof C != "string" && (this.warn("nonStringDependency", E, JSON.stringify(C)), delete y[S][E]);
7217
- var $ = f.fromUrl(y[S][E]);
7218
- $ && (y[S][E] = $.toString());
7215
+ var _ = f.fromUrl(y[S][E]);
7216
+ _ && (y[S][E] = _.toString());
7219
7217
  }, this);
7220
7218
  }
7221
7219
  }, this);
@@ -7313,14 +7311,14 @@ function Xc() {
7313
7311
  function u(y) {
7314
7312
  if (typeof y == "string")
7315
7313
  return y;
7316
- var S = y.name || "", E = y.url || y.web, C = E ? " (" + E + ")" : "", $ = y.email || y.mail, _ = $ ? " <" + $ + ">" : "";
7317
- return S + _ + C;
7314
+ var S = y.name || "", E = y.url || y.web, C = E ? " (" + E + ")" : "", _ = y.email || y.mail, $ = _ ? " <" + _ + ">" : "";
7315
+ return S + $ + C;
7318
7316
  }
7319
7317
  function d(y) {
7320
7318
  if (typeof y != "string")
7321
7319
  return y;
7322
- var S = y.match(/^([^(<]+)/), E = y.match(/\(([^()]+)\)/), C = y.match(/<([^<>]+)>/), $ = {};
7323
- return S && S[0].trim() && ($.name = S[0].trim()), C && ($.email = C[1]), E && ($.url = E[1]), $;
7320
+ var S = y.match(/^([^(<]+)/), E = y.match(/\(([^()]+)\)/), C = y.match(/<([^<>]+)>/), _ = {};
7321
+ return S && S[0].trim() && (_.name = S[0].trim()), C && (_.email = C[1]), E && (_.url = E[1]), _;
7324
7322
  }
7325
7323
  function v(y) {
7326
7324
  var S = y.optionalDependencies;
@@ -7338,12 +7336,12 @@ function Xc() {
7338
7336
  return y;
7339
7337
  E("deprecatedArrayDependencies", S);
7340
7338
  var C = {};
7341
- return y.filter(function($) {
7342
- return typeof $ == "string";
7343
- }).forEach(function($) {
7344
- $ = $.trim().split(/(:?[@\s><=])/);
7345
- var _ = $.shift(), N = $.join("");
7346
- N = N.trim(), N = N.replace(/^@/, ""), C[_] = N;
7339
+ return y.filter(function(_) {
7340
+ return typeof _ == "string";
7341
+ }).forEach(function(_) {
7342
+ _ = _.trim().split(/(:?[@\s><=])/);
7343
+ var $ = _.shift(), N = _.join("");
7344
+ N = N.trim(), N = N.replace(/^@/, ""), C[$] = N;
7347
7345
  }), C;
7348
7346
  }
7349
7347
  function b(y, S) {
@@ -7388,12 +7386,12 @@ const Qc = "'repositories' (plural) Not supported. Please pick one as the 'repos
7388
7386
  invalidLicense: Au,
7389
7387
  typo: Lu
7390
7388
  };
7391
- var $i, Js;
7392
- function $u() {
7393
- if (Js) return $i;
7389
+ var _i, Js;
7390
+ function _u() {
7391
+ if (Js) return _i;
7394
7392
  Js = 1;
7395
7393
  var e = Na, h = Ou;
7396
- $i = function() {
7394
+ _i = function() {
7397
7395
  var g = Array.prototype.slice.call(arguments, 0), f = g.shift();
7398
7396
  if (f === "typo")
7399
7397
  return m.apply(null, g);
@@ -7403,15 +7401,15 @@ function $u() {
7403
7401
  function m(g, f, i) {
7404
7402
  return i && (g = i + "['" + g + "']", f = i + "['" + f + "']"), e.format(h.typo, g, f);
7405
7403
  }
7406
- return $i;
7404
+ return _i;
7407
7405
  }
7408
- var _i, zs;
7409
- function _u() {
7410
- if (zs) return _i;
7411
- zs = 1, _i = i;
7406
+ var $i, zs;
7407
+ function $u() {
7408
+ if (zs) return $i;
7409
+ zs = 1, $i = i;
7412
7410
  var e = Xc();
7413
7411
  i.fixer = e;
7414
- var h = $u(), m = [
7412
+ var h = _u(), m = [
7415
7413
  "name",
7416
7414
  "version",
7417
7415
  "description",
@@ -7441,9 +7439,9 @@ function _u() {
7441
7439
  function s(a) {
7442
7440
  return a.charAt(0).toUpperCase() + a.slice(1);
7443
7441
  }
7444
- return _i;
7442
+ return $i;
7445
7443
  }
7446
- var Nu = _u();
7444
+ var Nu = $u();
7447
7445
  const Pu = /* @__PURE__ */ Mt(Nu);
7448
7446
  var W = {}, Ni = {}, Pi = {}, te = {}, Xs;
7449
7447
  function H() {
@@ -7806,7 +7804,7 @@ function Vo() {
7806
7804
  return xi.applyReviver = e, xi;
7807
7805
  }
7808
7806
  var Ri = {}, ir;
7809
- function $e() {
7807
+ function _e() {
7810
7808
  if (ir) return Ri;
7811
7809
  ir = 1;
7812
7810
  var e = H();
@@ -7831,7 +7829,7 @@ var nr;
7831
7829
  function Vn() {
7832
7830
  if (nr) return ki;
7833
7831
  nr = 1;
7834
- var e = Vo(), h = H(), m = $e();
7832
+ var e = Vo(), h = H(), m = _e();
7835
7833
  class g {
7836
7834
  constructor(i) {
7837
7835
  Object.defineProperty(this, h.NODE_TYPE, { value: i });
@@ -7865,7 +7863,7 @@ var sr;
7865
7863
  function qt() {
7866
7864
  if (sr) return Ti;
7867
7865
  sr = 1;
7868
- var e = Hn(), h = Gt(), m = H(), g = Vn(), f = $e();
7866
+ var e = Hn(), h = Gt(), m = H(), g = Vn(), f = _e();
7869
7867
  let i = class extends g.NodeBase {
7870
7868
  constructor(o) {
7871
7869
  super(m.ALIAS), this.source = o, Object.defineProperty(this, "tag", {
@@ -7948,7 +7946,7 @@ var Ge = {}, Mi = {}, Et = {}, rr;
7948
7946
  function ee() {
7949
7947
  if (rr) return Et;
7950
7948
  rr = 1;
7951
- var e = H(), h = Vn(), m = $e();
7949
+ var e = H(), h = Vn(), m = _e();
7952
7950
  const g = (i) => !i || typeof i != "function" && typeof i != "object";
7953
7951
  let f = class extends h.NodeBase {
7954
7952
  constructor(s) {
@@ -8162,8 +8160,8 @@ function Iu() {
8162
8160
  typeof o == "number" && (o > p - Math.max(2, n) ? u.push(0) : v = p - o);
8163
8161
  let r, b, w = !1, y = -1, S = -1, E = -1;
8164
8162
  a === h && (y = f(i, y, s.length), y !== -1 && (v = y + c));
8165
- for (let $; $ = i[y += 1]; ) {
8166
- if (a === m && $ === "\\") {
8163
+ for (let _; _ = i[y += 1]; ) {
8164
+ if (a === m && _ === "\\") {
8167
8165
  switch (S = y, i[y + 1]) {
8168
8166
  case "x":
8169
8167
  y += 3;
@@ -8179,40 +8177,40 @@ function Iu() {
8179
8177
  }
8180
8178
  E = y;
8181
8179
  }
8182
- if ($ === `
8180
+ if (_ === `
8183
8181
  `)
8184
8182
  a === h && (y = f(i, y, s.length)), v = y + s.length + c, r = void 0;
8185
8183
  else {
8186
- if ($ === " " && b && b !== " " && b !== `
8184
+ if (_ === " " && b && b !== " " && b !== `
8187
8185
  ` && b !== " ") {
8188
- const _ = i[y + 1];
8189
- _ && _ !== " " && _ !== `
8190
- ` && _ !== " " && (r = y);
8186
+ const $ = i[y + 1];
8187
+ $ && $ !== " " && $ !== `
8188
+ ` && $ !== " " && (r = y);
8191
8189
  }
8192
8190
  if (y >= v)
8193
8191
  if (r)
8194
8192
  u.push(r), v = r + c, r = void 0;
8195
8193
  else if (a === m) {
8196
8194
  for (; b === " " || b === " "; )
8197
- b = $, $ = i[y += 1], w = !0;
8198
- const _ = y > E + 1 ? y - 2 : S - 1;
8199
- if (d[_])
8195
+ b = _, _ = i[y += 1], w = !0;
8196
+ const $ = y > E + 1 ? y - 2 : S - 1;
8197
+ if (d[$])
8200
8198
  return i;
8201
- u.push(_), d[_] = !0, v = _ + c, r = void 0;
8199
+ u.push($), d[$] = !0, v = $ + c, r = void 0;
8202
8200
  } else
8203
8201
  w = !0;
8204
8202
  }
8205
- b = $;
8203
+ b = _;
8206
8204
  }
8207
8205
  if (w && l && l(), u.length === 0)
8208
8206
  return i;
8209
8207
  t && t();
8210
8208
  let C = i.slice(0, u[0]);
8211
- for (let $ = 0; $ < u.length; ++$) {
8212
- const _ = u[$], N = u[$ + 1] || i.length;
8213
- _ === 0 ? C = `
8214
- ${s}${i.slice(0, N)}` : (a === m && d[_] && (C += `${i[_]}\\`), C += `
8215
- ${s}${i.slice(_ + 1, N)}`);
8209
+ for (let _ = 0; _ < u.length; ++_) {
8210
+ const $ = u[_], N = u[_ + 1] || i.length;
8211
+ $ === 0 ? C = `
8212
+ ${s}${i.slice(0, N)}` : (a === m && d[$] && (C += `${i[$]}\\`), C += `
8213
+ ${s}${i.slice($ + 1, N)}`);
8216
8214
  }
8217
8215
  return C;
8218
8216
  }
@@ -8356,18 +8354,18 @@ ${u}`) + "'";
8356
8354
  return E ? `|
8357
8355
  ` : `>
8358
8356
  `;
8359
- let C, $;
8360
- for ($ = u.length; $ > 0; --$) {
8361
- const T = u[$ - 1];
8357
+ let C, _;
8358
+ for (_ = u.length; _ > 0; --_) {
8359
+ const T = u[_ - 1];
8362
8360
  if (T !== `
8363
8361
  ` && T !== " " && T !== " ")
8364
8362
  break;
8365
8363
  }
8366
- let _ = u.substring($);
8367
- const N = _.indexOf(`
8364
+ let $ = u.substring(_);
8365
+ const N = $.indexOf(`
8368
8366
  `);
8369
- N === -1 ? C = "-" : u === _ || N !== _.length - 1 ? (C = "+", r && r()) : C = "", _ && (u = u.slice(0, -_.length), _[_.length - 1] === `
8370
- ` && (_ = _.slice(0, -1)), _ = _.replace(o, `$&${S}`));
8367
+ N === -1 ? C = "-" : u === $ || N !== $.length - 1 ? (C = "+", r && r()) : C = "", $ && (u = u.slice(0, -$.length), $[$.length - 1] === `
8368
+ ` && ($ = $.slice(0, -1)), $ = $.replace(o, `$&${S}`));
8371
8369
  let P = !1, R, G = -1;
8372
8370
  for (R = 0; R < u.length; ++R) {
8373
8371
  const T = u[R];
@@ -8390,13 +8388,13 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/
8390
8388
  b !== "folded" && c !== e.Scalar.BLOCK_FOLDED && (j.onOverflow = () => {
8391
8389
  Y = !0;
8392
8390
  });
8393
- const U = h.foldFlowLines(`${F}${T}${_}`, S, h.FOLD_BLOCK, j);
8391
+ const U = h.foldFlowLines(`${F}${T}${$}`, S, h.FOLD_BLOCK, j);
8394
8392
  if (!Y)
8395
8393
  return `>${q}
8396
8394
  ${S}${U}`;
8397
8395
  }
8398
8396
  return u = u.replace(/\n+/g, `$&${S}`), `|${q}
8399
- ${S}${F}${u}${_}`;
8397
+ ${S}${F}${u}${$}`;
8400
8398
  }
8401
8399
  function n(l, c, u, d) {
8402
8400
  const { type: v, value: r } = l, { actualString: b, implicitKey: w, indent: y, indentStep: S, inFlow: E } = c;
@@ -8418,8 +8416,8 @@ ${S}${F}${u}${_}`;
8418
8416
  const C = r.replace(/\n+/g, `$&
8419
8417
  ${y}`);
8420
8418
  if (b) {
8421
- const $ = (P) => P.default && P.tag !== "tag:yaml.org,2002:str" && P.test?.test(C), { compat: _, tags: N } = c.doc.schema;
8422
- if (N.some($) || _?.some($))
8419
+ const _ = (P) => P.default && P.tag !== "tag:yaml.org,2002:str" && P.test?.test(C), { compat: $, tags: N } = c.doc.schema;
8420
+ if (N.some(_) || $?.some(_))
8423
8421
  return a(r, c);
8424
8422
  }
8425
8423
  return w ? C : h.foldFlowLines(C, y, h.FOLD_FLOW, m(c, !1));
@@ -8445,9 +8443,9 @@ ${y}`);
8445
8443
  };
8446
8444
  let S = y(w);
8447
8445
  if (S === null) {
8448
- const { defaultKeyType: E, defaultStringType: C } = c.options, $ = v && E || C;
8449
- if (S = y($), S === null)
8450
- throw new Error(`Unsupported default string type ${$}`);
8446
+ const { defaultKeyType: E, defaultStringType: C } = c.options, _ = v && E || C;
8447
+ if (S = y(_), S === null)
8448
+ throw new Error(`Unsupported default string type ${_}`);
8451
8449
  }
8452
8450
  return S;
8453
8451
  }
@@ -8586,10 +8584,10 @@ function Tu() {
8586
8584
  return S = `? ${S}`, r && !w ? S += g.lineComment(S, a.indent, u(r)) : y && p && p(), S;
8587
8585
  w && (r = null), b ? (r && (S += g.lineComment(S, a.indent, u(r))), S = `? ${S}
8588
8586
  ${l}:`) : (S = `${S}:`, r && (S += g.lineComment(S, a.indent, u(r))));
8589
- let E, C, $;
8590
- e.isNode(s) ? (E = !!s.spaceBefore, C = s.commentBefore, $ = s.comment) : (E = !1, C = null, $ = null, s && typeof s == "object" && (s = t.createNode(s))), a.implicitKey = !1, !b && !r && e.isScalar(s) && (a.indentAtStart = S.length + 1), y = !1, !d && c.length >= 2 && !a.inFlow && !b && e.isSeq(s) && !s.flow && !s.tag && !s.anchor && (a.indent = a.indent.substring(2));
8591
- let _ = !1;
8592
- const N = m.stringify(s, a, () => _ = !0, () => y = !0);
8587
+ let E, C, _;
8588
+ e.isNode(s) ? (E = !!s.spaceBefore, C = s.commentBefore, _ = s.comment) : (E = !1, C = null, _ = null, s && typeof s == "object" && (s = t.createNode(s))), a.implicitKey = !1, !b && !r && e.isScalar(s) && (a.indentAtStart = S.length + 1), y = !1, !d && c.length >= 2 && !a.inFlow && !b && e.isSeq(s) && !s.flow && !s.tag && !s.anchor && (a.indent = a.indent.substring(2));
8589
+ let $ = !1;
8590
+ const N = m.stringify(s, a, () => $ = !0, () => y = !0);
8593
8591
  let P = " ";
8594
8592
  if (r || E || C) {
8595
8593
  if (P = E ? `
@@ -8599,7 +8597,7 @@ ${l}:`) : (S = `${S}:`, r && (S += g.lineComment(S, a.indent, u(r))));
8599
8597
  ${g.indentComment(R, a.indent)}`;
8600
8598
  }
8601
8599
  N === "" && !a.inFlow ? P === `
8602
- ` && $ && (P = `
8600
+ ` && _ && (P = `
8603
8601
 
8604
8602
  `) : P += `
8605
8603
  ${a.indent}`;
@@ -8617,7 +8615,7 @@ ${a.indent}`);
8617
8615
  }
8618
8616
  } else (N === "" || N[0] === `
8619
8617
  `) && (P = "");
8620
- return S += P + N, a.inFlow ? _ && o && o() : $ && !_ ? S += g.lineComment(S, a.indent, u($)) : y && p && p(), S;
8618
+ return S += P + N, a.inFlow ? $ && o && o() : _ && !$ ? S += g.lineComment(S, a.indent, u(_)) : y && p && p(), S;
8621
8619
  }
8622
8620
  return Di.stringifyPair = f, Di;
8623
8621
  }
@@ -8679,7 +8677,7 @@ var mr;
8679
8677
  function Yo() {
8680
8678
  if (mr) return Bi;
8681
8679
  mr = 1;
8682
- var e = Wo(), h = Yn(), m = Vt(), g = H(), f = $e();
8680
+ var e = Wo(), h = Yn(), m = Vt(), g = H(), f = _e();
8683
8681
  function i(a, o, { key: p, value: n }) {
8684
8682
  if (g.isNode(p) && p.addToJSMap)
8685
8683
  p.addToJSMap(a, o, n);
@@ -8726,7 +8724,7 @@ function Yo() {
8726
8724
  return Bi.addPairToJSMap = i, Bi;
8727
8725
  }
8728
8726
  var gr;
8729
- function _e() {
8727
+ function $e() {
8730
8728
  if (gr) return Ct;
8731
8729
  gr = 1;
8732
8730
  var e = jt(), h = Tu(), m = Yo(), g = H();
@@ -8770,12 +8768,12 @@ function Jo() {
8770
8768
  if (e.isNode(E))
8771
8769
  !b && E.spaceBefore && w.push(""), s(p, w, E.commentBefore, b), E.comment && (C = E.comment);
8772
8770
  else if (e.isPair(E)) {
8773
- const _ = e.isNode(E.key) ? E.key : null;
8774
- _ && (!b && _.spaceBefore && w.push(""), s(p, w, _.commentBefore, b));
8771
+ const $ = e.isNode(E.key) ? E.key : null;
8772
+ $ && (!b && $.spaceBefore && w.push(""), s(p, w, $.commentBefore, b));
8775
8773
  }
8776
8774
  b = !1;
8777
- let $ = h.stringify(E, r, () => C = null, () => b = !0);
8778
- C && ($ += m.lineComment($, l, v(C))), b && C && (b = !1), w.push(n + $);
8775
+ let _ = h.stringify(E, r, () => C = null, () => b = !0);
8776
+ C && (_ += m.lineComment(_, l, v(C))), b && C && (b = !1), w.push(n + _);
8779
8777
  }
8780
8778
  let y;
8781
8779
  if (w.length === 0)
@@ -8808,15 +8806,15 @@ ${d}${E}` : `
8808
8806
  if (e.isNode(E))
8809
8807
  E.spaceBefore && b.push(""), s(o, b, E.commentBefore, !1), E.comment && (C = E.comment);
8810
8808
  else if (e.isPair(E)) {
8811
- const _ = e.isNode(E.key) ? E.key : null;
8812
- _ && (_.spaceBefore && b.push(""), s(o, b, _.commentBefore, !1), _.comment && (v = !0));
8809
+ const $ = e.isNode(E.key) ? E.key : null;
8810
+ $ && ($.spaceBefore && b.push(""), s(o, b, $.commentBefore, !1), $.comment && (v = !0));
8813
8811
  const N = e.isNode(E.value) ? E.value : null;
8814
- N ? (N.comment && (C = N.comment), N.commentBefore && (v = !0)) : E.value == null && _?.comment && (C = _.comment);
8812
+ N ? (N.comment && (C = N.comment), N.commentBefore && (v = !0)) : E.value == null && $?.comment && (C = $.comment);
8815
8813
  }
8816
8814
  C && (v = !0);
8817
- let $ = h.stringify(E, d, () => C = null);
8818
- S < a.length - 1 && ($ += ","), C && ($ += m.lineComment($, n, u(C))), !v && (b.length > r || $.includes(`
8819
- `)) && (v = !0), b.push($), r = b.length;
8815
+ let _ = h.stringify(E, d, () => C = null);
8816
+ S < a.length - 1 && (_ += ","), C && (_ += m.lineComment(_, n, u(C))), !v && (b.length > r || _.includes(`
8817
+ `)) && (v = !0), b.push(_), r = b.length;
8820
8818
  }
8821
8819
  const { start: w, end: y } = p;
8822
8820
  if (b.length === 0)
@@ -8848,7 +8846,7 @@ var br;
8848
8846
  function Ne() {
8849
8847
  if (br) return Ot;
8850
8848
  br = 1;
8851
- var e = Jo(), h = Yo(), m = Wn(), g = H(), f = _e(), i = ee();
8849
+ var e = Jo(), h = Yo(), m = Wn(), g = H(), f = $e(), i = ee();
8852
8850
  function s(o, p) {
8853
8851
  const n = g.isScalar(p) ? p.value : p;
8854
8852
  for (const t of o)
@@ -8966,7 +8964,7 @@ var Ui = {}, Hi = {}, Sr;
8966
8964
  function Pe() {
8967
8965
  if (Sr) return Hi;
8968
8966
  Sr = 1;
8969
- var e = jt(), h = Jo(), m = Wn(), g = H(), f = ee(), i = $e();
8967
+ var e = jt(), h = Jo(), m = Wn(), g = H(), f = ee(), i = _e();
8970
8968
  let s = class extends m.Collection {
8971
8969
  static get tagName() {
8972
8970
  return "tag:yaml.org,2002:seq";
@@ -9091,7 +9089,7 @@ function Wt() {
9091
9089
  };
9092
9090
  return Vi.string = h, Vi;
9093
9091
  }
9094
- var $t = {}, Wi = {}, Cr;
9092
+ var _t = {}, Wi = {}, Cr;
9095
9093
  function Kn() {
9096
9094
  if (Cr) return Wi;
9097
9095
  Cr = 1;
@@ -9187,10 +9185,10 @@ function Xo() {
9187
9185
  };
9188
9186
  return Ue.float = f, Ue.floatExp = g, Ue.floatNaN = m, Ue;
9189
9187
  }
9190
- var He = {}, $r;
9188
+ var He = {}, _r;
9191
9189
  function Qo() {
9192
- if ($r) return He;
9193
- $r = 1;
9190
+ if (_r) return He;
9191
+ _r = 1;
9194
9192
  var e = it();
9195
9193
  const h = (a) => typeof a == "bigint" || Number.isInteger(a), m = (a, o, p, { intAsBigInt: n }) => n ? BigInt(a) : parseInt(a.substring(o), p);
9196
9194
  function g(a, o, p) {
@@ -9223,10 +9221,10 @@ function Qo() {
9223
9221
  };
9224
9222
  return He.int = i, He.intHex = s, He.intOct = f, He;
9225
9223
  }
9226
- var Ji = {}, _r;
9224
+ var Ji = {}, $r;
9227
9225
  function ku() {
9228
- if (_r) return Ji;
9229
- _r = 1;
9226
+ if ($r) return Ji;
9227
+ $r = 1;
9230
9228
  var e = et(), h = Kn(), m = tt(), g = Wt(), f = zo(), i = Xo(), s = Qo();
9231
9229
  const a = [
9232
9230
  e.map,
@@ -9357,11 +9355,11 @@ function Zo() {
9357
9355
  };
9358
9356
  return Xi.binary = g, Xi;
9359
9357
  }
9360
- var _t = {}, Ve = {}, Ir;
9358
+ var $t = {}, Ve = {}, Ir;
9361
9359
  function Jn() {
9362
9360
  if (Ir) return Ve;
9363
9361
  Ir = 1;
9364
- var e = H(), h = _e(), m = ee(), g = Pe();
9362
+ var e = H(), h = $e(), m = ee(), g = Pe();
9365
9363
  function f(a, o) {
9366
9364
  if (e.isSeq(a))
9367
9365
  for (let p = 0; p < a.items.length; ++p) {
@@ -9421,9 +9419,9 @@ ${l.comment}` : n.comment;
9421
9419
  }
9422
9420
  var Tr;
9423
9421
  function ea() {
9424
- if (Tr) return _t;
9422
+ if (Tr) return $t;
9425
9423
  Tr = 1;
9426
- var e = H(), h = $e(), m = Ne(), g = Pe(), f = Jn();
9424
+ var e = H(), h = _e(), m = Ne(), g = Pe(), f = Jn();
9427
9425
  class i extends g.YAMLSeq {
9428
9426
  constructor() {
9429
9427
  super(), this.add = m.YAMLMap.prototype.add.bind(this), this.delete = m.YAMLMap.prototype.delete.bind(this), this.get = m.YAMLMap.prototype.get.bind(this), this.has = m.YAMLMap.prototype.has.bind(this), this.set = m.YAMLMap.prototype.set.bind(this), this.tag = i.tag;
@@ -9465,7 +9463,7 @@ function ea() {
9465
9463
  },
9466
9464
  createNode: (a, o, p) => i.from(a, o, p)
9467
9465
  };
9468
- return _t.YAMLOMap = i, _t.omap = s, _t;
9466
+ return $t.YAMLOMap = i, $t.omap = s, $t;
9469
9467
  }
9470
9468
  var Qi = {}, Nt = {}, kr;
9471
9469
  function Ru() {
@@ -9604,7 +9602,7 @@ var Pt = {}, Mr;
9604
9602
  function ta() {
9605
9603
  if (Mr) return Pt;
9606
9604
  Mr = 1;
9607
- var e = H(), h = _e(), m = Ne();
9605
+ var e = H(), h = $e(), m = Ne();
9608
9606
  class g extends m.YAMLMap {
9609
9607
  constructor(s) {
9610
9608
  super(s), this.tag = g.tag;
@@ -9758,7 +9756,7 @@ function Fu() {
9758
9756
  }
9759
9757
  var Br;
9760
9758
  function Bu() {
9761
- if (Br) return $t;
9759
+ if (Br) return _t;
9762
9760
  Br = 1;
9763
9761
  var e = et(), h = Kn(), m = tt(), g = Wt(), f = zo(), i = Xo(), s = Qo(), a = ku(), o = xu(), p = Zo(), n = Yn(), t = ea(), l = Jn(), c = Fu(), u = ta(), d = ia();
9764
9762
  const v = /* @__PURE__ */ new Map([
@@ -9798,28 +9796,28 @@ function Bu() {
9798
9796
  const C = v.get(S);
9799
9797
  if (C && !y)
9800
9798
  return E && !C.includes(n.merge) ? C.concat(n.merge) : C.slice();
9801
- let $ = C;
9802
- if (!$)
9799
+ let _ = C;
9800
+ if (!_)
9803
9801
  if (Array.isArray(y))
9804
- $ = [];
9802
+ _ = [];
9805
9803
  else {
9806
- const _ = Array.from(v.keys()).filter((N) => N !== "yaml11").map((N) => JSON.stringify(N)).join(", ");
9807
- throw new Error(`Unknown schema "${S}"; use one of ${_} or define customTags array`);
9804
+ const $ = Array.from(v.keys()).filter((N) => N !== "yaml11").map((N) => JSON.stringify(N)).join(", ");
9805
+ throw new Error(`Unknown schema "${S}"; use one of ${$} or define customTags array`);
9808
9806
  }
9809
9807
  if (Array.isArray(y))
9810
- for (const _ of y)
9811
- $ = $.concat(_);
9812
- else typeof y == "function" && ($ = y($.slice()));
9813
- return E && ($ = $.concat(n.merge)), $.reduce((_, N) => {
9808
+ for (const $ of y)
9809
+ _ = _.concat($);
9810
+ else typeof y == "function" && (_ = y(_.slice()));
9811
+ return E && (_ = _.concat(n.merge)), _.reduce(($, N) => {
9814
9812
  const P = typeof N == "string" ? r[N] : N;
9815
9813
  if (!P) {
9816
9814
  const R = JSON.stringify(N), G = Object.keys(r).map((F) => JSON.stringify(F)).join(", ");
9817
9815
  throw new Error(`Unknown custom tag ${R}; use one of ${G}`);
9818
9816
  }
9819
- return _.includes(P) || _.push(P), _;
9817
+ return $.includes(P) || $.push(P), $;
9820
9818
  }, []);
9821
9819
  }
9822
- return $t.coreKnownTags = b, $t.getTags = w, $t;
9820
+ return _t.coreKnownTags = b, _t.getTags = w, _t;
9823
9821
  }
9824
9822
  var Gr;
9825
9823
  function sa() {
@@ -9892,7 +9890,7 @@ var jr;
9892
9890
  function Yt() {
9893
9891
  if (jr) return Ii;
9894
9892
  jr = 1;
9895
- var e = qt(), h = Wn(), m = H(), g = _e(), f = $e(), i = sa(), s = Gu(), a = Hn(), o = Vo(), p = jt(), n = Ho();
9893
+ var e = qt(), h = Wn(), m = H(), g = $e(), f = _e(), i = sa(), s = Gu(), a = Hn(), o = Vo(), p = jt(), n = Ho();
9896
9894
  let t = class ra {
9897
9895
  constructor(u, d, v) {
9898
9896
  this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, m.NODE_TYPE, { value: m.DOC });
@@ -9956,20 +9954,20 @@ function Yt() {
9956
9954
  const G = (B) => typeof B == "number" || B instanceof String || B instanceof Number, F = d.filter(G).map(String);
9957
9955
  F.length > 0 && (d = d.concat(F)), r = d;
9958
9956
  } else v === void 0 && d && (v = d, d = void 0);
9959
- const { aliasDuplicateObjects: b, anchorPrefix: w, flow: y, keepUndefined: S, onTagObj: E, tag: C } = v ?? {}, { onAnchor: $, setAnchors: _, sourceObjects: N } = a.createNodeAnchors(
9957
+ const { aliasDuplicateObjects: b, anchorPrefix: w, flow: y, keepUndefined: S, onTagObj: E, tag: C } = v ?? {}, { onAnchor: _, setAnchors: $, sourceObjects: N } = a.createNodeAnchors(
9960
9958
  this,
9961
9959
  // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
9962
9960
  w || "a"
9963
9961
  ), P = {
9964
9962
  aliasDuplicateObjects: b ?? !0,
9965
9963
  keepUndefined: S ?? !1,
9966
- onAnchor: $,
9964
+ onAnchor: _,
9967
9965
  onTagObj: E,
9968
9966
  replacer: r,
9969
9967
  schema: this.schema,
9970
9968
  sourceObjects: N
9971
9969
  }, R = p.createNode(u, C, P);
9972
- return y && m.isCollection(R) && (R.flow = !0), _(), R;
9970
+ return y && m.isCollection(R) && (R.flow = !0), $(), R;
9973
9971
  }
9974
9972
  /**
9975
9973
  * Convert a key and a value into a `Pair` using the current schema,
@@ -10165,40 +10163,40 @@ function Jt() {
10165
10163
  Hr = 1;
10166
10164
  function e(h, { flow: m, indicator: g, next: f, offset: i, onError: s, parentIndent: a, startOnNewline: o }) {
10167
10165
  let p = !1, n = o, t = o, l = "", c = "", u = !1, d = !1, v = null, r = null, b = null, w = null, y = null, S = null, E = null;
10168
- for (const _ of h)
10169
- switch (d && (_.type !== "space" && _.type !== "newline" && _.type !== "comma" && s(_.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), d = !1), v && (n && _.type !== "comment" && _.type !== "newline" && s(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), v = null), _.type) {
10166
+ for (const $ of h)
10167
+ switch (d && ($.type !== "space" && $.type !== "newline" && $.type !== "comma" && s($.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), d = !1), v && (n && $.type !== "comment" && $.type !== "newline" && s(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), v = null), $.type) {
10170
10168
  case "space":
10171
- !m && (g !== "doc-start" || f?.type !== "flow-collection") && _.source.includes(" ") && (v = _), t = !0;
10169
+ !m && (g !== "doc-start" || f?.type !== "flow-collection") && $.source.includes(" ") && (v = $), t = !0;
10172
10170
  break;
10173
10171
  case "comment": {
10174
- t || s(_, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
10175
- const N = _.source.substring(1) || " ";
10172
+ t || s($, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
10173
+ const N = $.source.substring(1) || " ";
10176
10174
  l ? l += c + N : l = N, c = "", n = !1;
10177
10175
  break;
10178
10176
  }
10179
10177
  case "newline":
10180
- n ? l ? l += _.source : (!S || g !== "seq-item-ind") && (p = !0) : c += _.source, n = !0, u = !0, (r || b) && (w = _), t = !0;
10178
+ n ? l ? l += $.source : (!S || g !== "seq-item-ind") && (p = !0) : c += $.source, n = !0, u = !0, (r || b) && (w = $), t = !0;
10181
10179
  break;
10182
10180
  case "anchor":
10183
- r && s(_, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), _.source.endsWith(":") && s(_.offset + _.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), r = _, E ?? (E = _.offset), n = !1, t = !1, d = !0;
10181
+ r && s($, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), $.source.endsWith(":") && s($.offset + $.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), r = $, E ?? (E = $.offset), n = !1, t = !1, d = !0;
10184
10182
  break;
10185
10183
  case "tag": {
10186
- b && s(_, "MULTIPLE_TAGS", "A node can have at most one tag"), b = _, E ?? (E = _.offset), n = !1, t = !1, d = !0;
10184
+ b && s($, "MULTIPLE_TAGS", "A node can have at most one tag"), b = $, E ?? (E = $.offset), n = !1, t = !1, d = !0;
10187
10185
  break;
10188
10186
  }
10189
10187
  case g:
10190
- (r || b) && s(_, "BAD_PROP_ORDER", `Anchors and tags must be after the ${_.source} indicator`), S && s(_, "UNEXPECTED_TOKEN", `Unexpected ${_.source} in ${m ?? "collection"}`), S = _, n = g === "seq-item-ind" || g === "explicit-key-ind", t = !1;
10188
+ (r || b) && s($, "BAD_PROP_ORDER", `Anchors and tags must be after the ${$.source} indicator`), S && s($, "UNEXPECTED_TOKEN", `Unexpected ${$.source} in ${m ?? "collection"}`), S = $, n = g === "seq-item-ind" || g === "explicit-key-ind", t = !1;
10191
10189
  break;
10192
10190
  case "comma":
10193
10191
  if (m) {
10194
- y && s(_, "UNEXPECTED_TOKEN", `Unexpected , in ${m}`), y = _, n = !1, t = !1;
10192
+ y && s($, "UNEXPECTED_TOKEN", `Unexpected , in ${m}`), y = $, n = !1, t = !1;
10195
10193
  break;
10196
10194
  }
10197
10195
  // else fallthrough
10198
10196
  default:
10199
- s(_, "UNEXPECTED_TOKEN", `Unexpected ${_.type} token`), n = !1, t = !1;
10197
+ s($, "UNEXPECTED_TOKEN", `Unexpected ${$.type} token`), n = !1, t = !1;
10200
10198
  }
10201
- const C = h[h.length - 1], $ = C ? C.offset + C.source.length : i;
10199
+ const C = h[h.length - 1], _ = C ? C.offset + C.source.length : i;
10202
10200
  return d && f && f.type !== "space" && f.type !== "newline" && f.type !== "comma" && (f.type !== "scalar" || f.source !== "") && s(f.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), v && (n && v.indent <= a || f?.type === "block-map" || f?.type === "block-seq") && s(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), {
10203
10201
  comma: y,
10204
10202
  found: S,
@@ -10208,8 +10206,8 @@ function Jt() {
10208
10206
  anchor: r,
10209
10207
  tag: b,
10210
10208
  newlineAfterProp: w,
10211
- end: $,
10212
- start: E ?? $
10209
+ end: _,
10210
+ start: E ?? _
10213
10211
  };
10214
10212
  }
10215
10213
  return sn.resolveProps = e, sn;
@@ -10286,7 +10284,7 @@ var Kr;
10286
10284
  function qu() {
10287
10285
  if (Kr) return nn;
10288
10286
  Kr = 1;
10289
- var e = _e(), h = Ne(), m = Jt(), g = zn(), f = oa(), i = aa();
10287
+ var e = $e(), h = Ne(), m = Jt(), g = zn(), f = oa(), i = aa();
10290
10288
  const s = "All mapping items must start at the same column";
10291
10289
  function a({ composeNode: o, composeEmptyNode: p }, n, t, l, c) {
10292
10290
  const u = c?.nodeClass ?? h.YAMLMap, d = new u(n.schema);
@@ -10300,8 +10298,8 @@ function qu() {
10300
10298
  onError: l,
10301
10299
  parentIndent: t.indent,
10302
10300
  startOnNewline: !0
10303
- }), $ = !C.found;
10304
- if ($) {
10301
+ }), _ = !C.found;
10302
+ if (_) {
10305
10303
  if (y && (y.type === "block-seq" ? l(v, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in y && y.indent !== t.indent && l(v, "BAD_INDENT", s)), !C.anchor && !C.tag && !S) {
10306
10304
  r = C.end, C.comment && (d.comment ? d.comment += `
10307
10305
  ` + C.comment : d.comment = C.comment);
@@ -10310,8 +10308,8 @@ function qu() {
10310
10308
  (C.newlineAfterProp || g.containsNewline(y)) && l(y ?? w[w.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
10311
10309
  } else C.found?.indent !== t.indent && l(v, "BAD_INDENT", s);
10312
10310
  n.atKey = !0;
10313
- const _ = C.end, N = y ? o(n, y, C, l) : p(n, _, w, null, C, l);
10314
- n.schema.compat && f.flowIndentCheck(t.indent, y, l), n.atKey = !1, i.mapIncludes(n, d.items, N) && l(_, "DUPLICATE_KEY", "Map keys must be unique");
10311
+ const $ = C.end, N = y ? o(n, y, C, l) : p(n, $, w, null, C, l);
10312
+ n.schema.compat && f.flowIndentCheck(t.indent, y, l), n.atKey = !1, i.mapIncludes(n, d.items, N) && l($, "DUPLICATE_KEY", "Map keys must be unique");
10315
10313
  const P = m.resolveProps(S ?? [], {
10316
10314
  indicator: "map-value-ind",
10317
10315
  next: E,
@@ -10321,13 +10319,13 @@ function qu() {
10321
10319
  startOnNewline: !y || y.type === "block-scalar"
10322
10320
  });
10323
10321
  if (v = P.end, P.found) {
10324
- $ && (E?.type === "block-map" && !P.hasNewline && l(v, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), n.options.strict && C.start < P.found.offset - 1024 && l(N.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
10322
+ _ && (E?.type === "block-map" && !P.hasNewline && l(v, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), n.options.strict && C.start < P.found.offset - 1024 && l(N.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
10325
10323
  const R = E ? o(n, E, P, l) : p(n, v, S, null, P, l);
10326
10324
  n.schema.compat && f.flowIndentCheck(t.indent, E, l), v = R.range[2];
10327
10325
  const G = new e.Pair(N, R);
10328
10326
  n.options.keepSourceTokens && (G.srcToken = b), d.items.push(G);
10329
10327
  } else {
10330
- $ && l(N.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), P.comment && (N.comment ? N.comment += `
10328
+ _ && l(N.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), P.comment && (N.comment ? N.comment += `
10331
10329
  ` + P.comment : N.comment = P.comment);
10332
10330
  const R = new e.Pair(N);
10333
10331
  n.options.keepSourceTokens && (R.srcToken = b), d.items.push(R);
@@ -10406,7 +10404,7 @@ var Xr;
10406
10404
  function Uu() {
10407
10405
  if (Xr) return cn;
10408
10406
  Xr = 1;
10409
- var e = H(), h = _e(), m = Ne(), g = Pe(), f = nt(), i = Jt(), s = zn(), a = aa();
10407
+ var e = H(), h = $e(), m = Ne(), g = Pe(), f = nt(), i = Jt(), s = zn(), a = aa();
10410
10408
  const o = "Block collections are not allowed within flow collections", p = (t) => t && (t.type === "block-map" || t.type === "block-seq");
10411
10409
  function n({ composeNode: t, composeEmptyNode: l }, c, u, d, v) {
10412
10410
  const r = u.start.source === "{", b = r ? "flow map" : "flow sequence", w = v?.nodeClass ?? (r ? m.YAMLMap : g.YAMLSeq), y = new w(c.schema);
@@ -10504,16 +10502,16 @@ function Uu() {
10504
10502
  E = se ? se.range[2] : U.end;
10505
10503
  }
10506
10504
  }
10507
- const C = r ? "}" : "]", [$, ..._] = u.end;
10505
+ const C = r ? "}" : "]", [_, ...$] = u.end;
10508
10506
  let N = E;
10509
- if ($?.source === C)
10510
- N = $.offset + $.source.length;
10507
+ if (_?.source === C)
10508
+ N = _.offset + _.source.length;
10511
10509
  else {
10512
10510
  const P = b[0].toUpperCase() + b.substring(1), R = S ? `${P} must end with a ${C}` : `${P} in block collection must be sufficiently indented and end with a ${C}`;
10513
- d(E, S ? "MISSING_CHAR" : "BAD_INDENT", R), $ && $.source.length !== 1 && _.unshift($);
10511
+ d(E, S ? "MISSING_CHAR" : "BAD_INDENT", R), _ && _.source.length !== 1 && $.unshift(_);
10514
10512
  }
10515
- if (_.length > 0) {
10516
- const P = f.resolveEnd(_, N, c.options.strict, d);
10513
+ if ($.length > 0) {
10514
+ const P = f.resolveEnd($, N, c.options.strict, d);
10517
10515
  P.comment && (y.comment ? y.comment += `
10518
10516
  ` + P.comment : y.comment = P.comment), y.range = [u.offset, N, P.offset];
10519
10517
  } else
@@ -10599,8 +10597,8 @@ function la() {
10599
10597
  c += y.length + S.length + 1;
10600
10598
  const E = S[S.length - 1] === "\r";
10601
10599
  if (E && (S = S.slice(0, -1)), S && y.length < l) {
10602
- const $ = `Block scalar lines must not be less indented than their ${o.indent ? "explicit indentation indicator" : "first line"}`;
10603
- s(c - S.length - (E ? 2 : 1), "BAD_INDENT", $), y = "";
10600
+ const _ = `Block scalar lines must not be less indented than their ${o.indent ? "explicit indentation indicator" : "first line"}`;
10601
+ s(c - S.length - (E ? 2 : 1), "BAD_INDENT", _), y = "";
10604
10602
  }
10605
10603
  p === e.Scalar.BLOCK_LITERAL ? (d += v + y.slice(l) + S, v = `
10606
10604
  `) : y.length > l || S[0] === " " ? (v === " " ? v = `
@@ -10689,7 +10687,7 @@ function ca() {
10689
10687
  function m(n, t, l) {
10690
10688
  const { offset: c, type: u, source: d, end: v } = n;
10691
10689
  let r, b;
10692
- const w = (E, C, $) => l(c + E, C, $);
10690
+ const w = (E, C, _) => l(c + E, C, _);
10693
10691
  switch (u) {
10694
10692
  case "scalar":
10695
10693
  r = e.Scalar.PLAIN, b = g(d, w);
@@ -12683,7 +12681,7 @@ var mo;
12683
12681
  function Zu() {
12684
12682
  if (mo) return W;
12685
12683
  mo = 1;
12686
- var e = ua(), h = Yt(), m = sa(), g = Kt(), f = qt(), i = H(), s = _e(), a = ee(), o = Ne(), p = Pe(), n = Xn(), t = fa(), l = ha(), c = pa(), u = Qu(), d = Gt();
12684
+ var e = ua(), h = Yt(), m = sa(), g = Kt(), f = qt(), i = H(), s = $e(), a = ee(), o = Ne(), p = Pe(), n = Xn(), t = fa(), l = ha(), c = pa(), u = Qu(), d = Gt();
12687
12685
  return W.Composer = e.Composer, W.Document = h.Document, W.Schema = m.Schema, W.YAMLError = g.YAMLError, W.YAMLParseError = g.YAMLParseError, W.YAMLWarning = g.YAMLWarning, W.Alias = f.Alias, W.isAlias = i.isAlias, W.isCollection = i.isCollection, W.isDocument = i.isDocument, W.isMap = i.isMap, W.isNode = i.isNode, W.isPair = i.isPair, W.isScalar = i.isScalar, W.isSeq = i.isSeq, W.Pair = s.Pair, W.Scalar = a.Scalar, W.YAMLMap = o.YAMLMap, W.YAMLSeq = p.YAMLSeq, W.CST = n, W.Lexer = t.Lexer, W.LineCounter = l.LineCounter, W.Parser = c.Parser, W.parse = u.parse, W.parseAllDocuments = u.parseAllDocuments, W.parseDocument = u.parseDocument, W.stringify = u.stringify, W.visit = d.visit, W.visitAsync = d.visitAsync, W;
12688
12686
  }
12689
12687
  var ef = Zu();
@@ -12757,7 +12755,7 @@ function Qn(e) {
12757
12755
  }
12758
12756
  };
12759
12757
  }
12760
- const be = Pa(_a.exec), zt = (e) => typeof e == "object" && e !== null && "code" in e;
12758
+ const be = Pa($a.exec), zt = (e) => typeof e == "object" && e !== null && "code" in e;
12761
12759
  async function da() {
12762
12760
  try {
12763
12761
  await be("git --version");
@@ -12949,7 +12947,7 @@ async function pf(e) {
12949
12947
  const m = await ql(
12950
12948
  {
12951
12949
  projectName: e.name ? async () => await Promise.resolve(e.name) : Do,
12952
- projectTemplate: e.template ? async () => await Promise.resolve(e.template) : $c
12950
+ projectTemplate: e.template ? async () => await Promise.resolve(e.template) : _c
12953
12951
  },
12954
12952
  {
12955
12953
  // On Cancel callback that wraps the group
@@ -12982,18 +12980,18 @@ async function pf(e) {
12982
12980
  throw a;
12983
12981
  }
12984
12982
  ), m.projectTemplate === D.cdn) {
12985
- _n(), console.log(
12983
+ $n(), console.log(
12986
12984
  ie.magenta(
12987
12985
  `To get started, open the index.html file in the ${ie.bold(m.projectName)} folder.`
12988
12986
  )
12989
- ), console.log($n(`
12987
+ ), console.log(_n(`
12990
12988
 
12991
12989
  Happy mapping!`));
12992
12990
  return;
12993
12991
  }
12994
12992
  const i = await ga(m.projectName), s = af(i);
12995
- _n(), console.log(ie.magenta(`To get started, run the following commands:
12996
- `)), console.log(ie.grey(`$ cd ${m.projectName}`)), console.log(ie.grey("$ npm install")), console.log(ie.grey(`$ npm run ${s}`)), console.log($n(`
12993
+ $n(), console.log(ie.magenta(`To get started, run the following commands:
12994
+ `)), console.log(ie.grey(`$ cd ${m.projectName}`)), console.log(ie.grey("$ npm install")), console.log(ie.grey(`$ npm run ${s}`)), console.log(_n(`
12997
12995
 
12998
12996
  Happy mapping!`));
12999
12997
  } catch (m) {
@@ -13057,7 +13055,7 @@ async function df(e) {
13057
13055
  ...b ? { pnpm: { overrides: b } } : {},
13058
13056
  ...r ? { files: r } : {}
13059
13057
  };
13060
- rf(p, w), ff(v, w), await of(f, w), _n(), _c(), console.log(ie.magenta(`To get started, run the following commands:
13058
+ rf(p, w), ff(v, w), await of(f, w), $n(), $c(), console.log(ie.magenta(`To get started, run the following commands:
13061
13059
  `)), console.log(ie.grey(`$ cd ${f}`)), console.log(ie.grey("$ pnpm install")), console.log(ie.grey("$ pnpm start"));
13062
13060
  } catch (f) {
13063
13061
  await g.doCleanup(f);