@gql.tada/cli-utils 1.7.4 → 1.8.1

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.
@@ -1,6 +1,6 @@
1
- var D = require("node:process");
1
+ var e = require("node:process");
2
2
 
3
- var e = require("node:readline");
3
+ var D = require("node:readline");
4
4
 
5
5
  var r = require("node:tty");
6
6
 
@@ -34,60 +34,60 @@ var g = require("./index-chunk.js");
34
34
 
35
35
  var B = require("@gql.tada/internal");
36
36
 
37
- function _interopNamespaceDefault(D) {
38
- var e = Object.create(null);
39
- if (D) {
40
- Object.keys(D).forEach((function(r) {
37
+ function _interopNamespaceDefault(e) {
38
+ var D = Object.create(null);
39
+ if (e) {
40
+ Object.keys(e).forEach((function(r) {
41
41
  if ("default" !== r) {
42
- var t = Object.getOwnPropertyDescriptor(D, r);
43
- Object.defineProperty(e, r, t.get ? t : {
42
+ var t = Object.getOwnPropertyDescriptor(e, r);
43
+ Object.defineProperty(D, r, t.get ? t : {
44
44
  enumerable: !0,
45
45
  get: function() {
46
- return D[r];
46
+ return e[r];
47
47
  }
48
48
  });
49
49
  }
50
50
  }));
51
51
  }
52
- e.default = D;
53
- return e;
52
+ D.default = e;
53
+ return D;
54
54
  }
55
55
 
56
- var b = _interopNamespaceDefault(e);
56
+ var b = _interopNamespaceDefault(D);
57
57
 
58
- function getDefaultExportFromCjs(D) {
59
- return D && D.__esModule && Object.prototype.hasOwnProperty.call(D, "default") ? D.default : D;
58
+ function getDefaultExportFromCjs(e) {
59
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
60
60
  }
61
61
 
62
62
  var w = "[";
63
63
 
64
64
  var S = {
65
- to(D, e) {
66
- if (!e) {
67
- return `${w}${D + 1}G`;
65
+ to(e, D) {
66
+ if (!D) {
67
+ return `${w}${e + 1}G`;
68
68
  }
69
- return `${w}${e + 1};${D + 1}H`;
69
+ return `${w}${D + 1};${e + 1}H`;
70
70
  },
71
- move(D, e) {
71
+ move(e, D) {
72
72
  var r = "";
73
- if (D < 0) {
74
- r += `${w}${-D}D`;
75
- } else if (D > 0) {
76
- r += `${w}${D}C`;
77
- }
78
73
  if (e < 0) {
79
- r += `${w}${-e}A`;
74
+ r += `${w}${-e}D`;
80
75
  } else if (e > 0) {
81
- r += `${w}${e}B`;
76
+ r += `${w}${e}C`;
77
+ }
78
+ if (D < 0) {
79
+ r += `${w}${-D}A`;
80
+ } else if (D > 0) {
81
+ r += `${w}${D}B`;
82
82
  }
83
83
  return r;
84
84
  },
85
- up: (D = 1) => `${w}${D}A`,
86
- down: (D = 1) => `${w}${D}B`,
87
- forward: (D = 1) => `${w}${D}C`,
88
- backward: (D = 1) => `${w}${D}D`,
89
- nextLine: (D = 1) => `${w}E`.repeat(D),
90
- prevLine: (D = 1) => `${w}F`.repeat(D),
85
+ up: (e = 1) => `${w}${e}A`,
86
+ down: (e = 1) => `${w}${e}B`,
87
+ forward: (e = 1) => `${w}${e}C`,
88
+ backward: (e = 1) => `${w}${e}D`,
89
+ nextLine: (e = 1) => `${w}E`.repeat(e),
90
+ prevLine: (e = 1) => `${w}F`.repeat(e),
91
91
  left: `${w}G`,
92
92
  hide: `${w}?25l`,
93
93
  show: `${w}?25h`,
@@ -96,26 +96,26 @@ var S = {
96
96
  };
97
97
 
98
98
  var I = {
99
- up: (D = 1) => `${w}S`.repeat(D),
100
- down: (D = 1) => `${w}T`.repeat(D)
99
+ up: (e = 1) => `${w}S`.repeat(e),
100
+ down: (e = 1) => `${w}T`.repeat(e)
101
101
  };
102
102
 
103
103
  var O = {
104
104
  screen: `${w}2J`,
105
- up: (D = 1) => `${w}1J`.repeat(D),
106
- down: (D = 1) => `${w}J`.repeat(D),
105
+ up: (e = 1) => `${w}1J`.repeat(e),
106
+ down: (e = 1) => `${w}J`.repeat(e),
107
107
  line: `${w}2K`,
108
108
  lineEnd: `${w}K`,
109
109
  lineStart: `${w}1K`,
110
- lines(D) {
111
- var e = "";
112
- for (var r = 0; r < D; r++) {
113
- e += this.line + (r < D - 1 ? S.up() : "");
110
+ lines(e) {
111
+ var D = "";
112
+ for (var r = 0; r < e; r++) {
113
+ D += this.line + (r < e - 1 ? S.up() : "");
114
114
  }
115
- if (D) {
116
- e += S.left;
115
+ if (e) {
116
+ D += S.left;
117
117
  }
118
- return e;
118
+ return D;
119
119
  }
120
120
  };
121
121
 
@@ -169,18 +169,18 @@ G.exports.createColors = create;
169
169
 
170
170
  var _ = getDefaultExportFromCjs(G.exports);
171
171
 
172
- function S$1(D) {
173
- if ("string" != typeof D) {
174
- throw new TypeError(`Expected a \`string\`, got \`${typeof D}\``);
172
+ function S$1(e) {
173
+ if ("string" != typeof e) {
174
+ throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
175
175
  }
176
- return D.replace(function q$1({onlyFirst: D = !1} = {}) {
177
- var e = [ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" ].join("|");
178
- return new RegExp(e, D ? void 0 : "g");
176
+ return e.replace(function q$1({onlyFirst: e = !1} = {}) {
177
+ var D = [ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" ].join("|");
178
+ return new RegExp(D, e ? void 0 : "g");
179
179
  }(), "");
180
180
  }
181
181
 
182
- function j(D) {
183
- return D && D.__esModule && Object.prototype.hasOwnProperty.call(D, "default") ? D.default : D;
182
+ function j(e) {
183
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
184
184
  }
185
185
 
186
186
  var U = {
@@ -188,27 +188,27 @@ var U = {
188
188
  };
189
189
 
190
190
  !function() {
191
- var D = {};
192
- U.exports = D, D.eastAsianWidth = function(D) {
193
- var e = D.charCodeAt(0), r = 2 == D.length ? D.charCodeAt(1) : 0, t = e;
194
- return 55296 <= e && e <= 56319 && 56320 <= r && r <= 57343 && (t = (e &= 1023) << 10 | (r &= 1023),
191
+ var e = {};
192
+ U.exports = e, e.eastAsianWidth = function(e) {
193
+ var D = e.charCodeAt(0), r = 2 == e.length ? e.charCodeAt(1) : 0, t = D;
194
+ return 55296 <= D && D <= 56319 && 56320 <= r && r <= 57343 && (t = (D &= 1023) << 10 | (r &= 1023),
195
195
  t += 65536), 12288 == t || 65281 <= t && t <= 65376 || 65504 <= t && t <= 65510 ? "F" : 8361 == t || 65377 <= t && t <= 65470 || 65474 <= t && t <= 65479 || 65482 <= t && t <= 65487 || 65490 <= t && t <= 65495 || 65498 <= t && t <= 65500 || 65512 <= t && t <= 65518 ? "H" : 4352 <= t && t <= 4447 || 4515 <= t && t <= 4519 || 4602 <= t && t <= 4607 || 9001 <= t && t <= 9002 || 11904 <= t && t <= 11929 || 11931 <= t && t <= 12019 || 12032 <= t && t <= 12245 || 12272 <= t && t <= 12283 || 12289 <= t && t <= 12350 || 12353 <= t && t <= 12438 || 12441 <= t && t <= 12543 || 12549 <= t && t <= 12589 || 12593 <= t && t <= 12686 || 12688 <= t && t <= 12730 || 12736 <= t && t <= 12771 || 12784 <= t && t <= 12830 || 12832 <= t && t <= 12871 || 12880 <= t && t <= 13054 || 13056 <= t && t <= 19903 || 19968 <= t && t <= 42124 || 42128 <= t && t <= 42182 || 43360 <= t && t <= 43388 || 44032 <= t && t <= 55203 || 55216 <= t && t <= 55238 || 55243 <= t && t <= 55291 || 63744 <= t && t <= 64255 || 65040 <= t && t <= 65049 || 65072 <= t && t <= 65106 || 65108 <= t && t <= 65126 || 65128 <= t && t <= 65131 || 110592 <= t && t <= 110593 || 127488 <= t && t <= 127490 || 127504 <= t && t <= 127546 || 127552 <= t && t <= 127560 || 127568 <= t && t <= 127569 || 131072 <= t && t <= 194367 || 177984 <= t && t <= 196605 || 196608 <= t && t <= 262141 ? "W" : 32 <= t && t <= 126 || 162 <= t && t <= 163 || 165 <= t && t <= 166 || 172 == t || 175 == t || 10214 <= t && t <= 10221 || 10629 <= t && t <= 10630 ? "Na" : 161 == t || 164 == t || 167 <= t && t <= 168 || 170 == t || 173 <= t && t <= 174 || 176 <= t && t <= 180 || 182 <= t && t <= 186 || 188 <= t && t <= 191 || 198 == t || 208 == t || 215 <= t && t <= 216 || 222 <= t && t <= 225 || 230 == t || 232 <= t && t <= 234 || 236 <= t && t <= 237 || 240 == t || 242 <= t && t <= 243 || 247 <= t && t <= 250 || 252 == t || 254 == t || 257 == t || 273 == t || 275 == t || 283 == t || 294 <= t && t <= 295 || 299 == t || 305 <= t && t <= 307 || 312 == t || 319 <= t && t <= 322 || 324 == t || 328 <= t && t <= 331 || 333 == t || 338 <= t && t <= 339 || 358 <= t && t <= 359 || 363 == t || 462 == t || 464 == t || 466 == t || 468 == t || 470 == t || 472 == t || 474 == t || 476 == t || 593 == t || 609 == t || 708 == t || 711 == t || 713 <= t && t <= 715 || 717 == t || 720 == t || 728 <= t && t <= 731 || 733 == t || 735 == t || 768 <= t && t <= 879 || 913 <= t && t <= 929 || 931 <= t && t <= 937 || 945 <= t && t <= 961 || 963 <= t && t <= 969 || 1025 == t || 1040 <= t && t <= 1103 || 1105 == t || 8208 == t || 8211 <= t && t <= 8214 || 8216 <= t && t <= 8217 || 8220 <= t && t <= 8221 || 8224 <= t && t <= 8226 || 8228 <= t && t <= 8231 || 8240 == t || 8242 <= t && t <= 8243 || 8245 == t || 8251 == t || 8254 == t || 8308 == t || 8319 == t || 8321 <= t && t <= 8324 || 8364 == t || 8451 == t || 8453 == t || 8457 == t || 8467 == t || 8470 == t || 8481 <= t && t <= 8482 || 8486 == t || 8491 == t || 8531 <= t && t <= 8532 || 8539 <= t && t <= 8542 || 8544 <= t && t <= 8555 || 8560 <= t && t <= 8569 || 8585 == t || 8592 <= t && t <= 8601 || 8632 <= t && t <= 8633 || 8658 == t || 8660 == t || 8679 == t || 8704 == t || 8706 <= t && t <= 8707 || 8711 <= t && t <= 8712 || 8715 == t || 8719 == t || 8721 == t || 8725 == t || 8730 == t || 8733 <= t && t <= 8736 || 8739 == t || 8741 == t || 8743 <= t && t <= 8748 || 8750 == t || 8756 <= t && t <= 8759 || 8764 <= t && t <= 8765 || 8776 == t || 8780 == t || 8786 == t || 8800 <= t && t <= 8801 || 8804 <= t && t <= 8807 || 8810 <= t && t <= 8811 || 8814 <= t && t <= 8815 || 8834 <= t && t <= 8835 || 8838 <= t && t <= 8839 || 8853 == t || 8857 == t || 8869 == t || 8895 == t || 8978 == t || 9312 <= t && t <= 9449 || 9451 <= t && t <= 9547 || 9552 <= t && t <= 9587 || 9600 <= t && t <= 9615 || 9618 <= t && t <= 9621 || 9632 <= t && t <= 9633 || 9635 <= t && t <= 9641 || 9650 <= t && t <= 9651 || 9654 <= t && t <= 9655 || 9660 <= t && t <= 9661 || 9664 <= t && t <= 9665 || 9670 <= t && t <= 9672 || 9675 == t || 9678 <= t && t <= 9681 || 9698 <= t && t <= 9701 || 9711 == t || 9733 <= t && t <= 9734 || 9737 == t || 9742 <= t && t <= 9743 || 9748 <= t && t <= 9749 || 9756 == t || 9758 == t || 9792 == t || 9794 == t || 9824 <= t && t <= 9825 || 9827 <= t && t <= 9829 || 9831 <= t && t <= 9834 || 9836 <= t && t <= 9837 || 9839 == t || 9886 <= t && t <= 9887 || 9918 <= t && t <= 9919 || 9924 <= t && t <= 9933 || 9935 <= t && t <= 9953 || 9955 == t || 9960 <= t && t <= 9983 || 10045 == t || 10071 == t || 10102 <= t && t <= 10111 || 11093 <= t && t <= 11097 || 12872 <= t && t <= 12879 || 57344 <= t && t <= 63743 || 65024 <= t && t <= 65039 || 65533 == t || 127232 <= t && t <= 127242 || 127248 <= t && t <= 127277 || 127280 <= t && t <= 127337 || 127344 <= t && t <= 127386 || 917760 <= t && t <= 917999 || 983040 <= t && t <= 1048573 || 1048576 <= t && t <= 1114109 ? "A" : "N";
196
- }, D.characterLength = function(D) {
197
- var e = this.eastAsianWidth(D);
198
- return "F" == e || "W" == e || "A" == e ? 2 : 1;
196
+ }, e.characterLength = function(e) {
197
+ var D = this.eastAsianWidth(e);
198
+ return "F" == D || "W" == D || "A" == D ? 2 : 1;
199
199
  };
200
- function F(D) {
201
- return D.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
200
+ function F(e) {
201
+ return e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
202
202
  }
203
- D.length = function(D) {
204
- for (var e = F(D), r = 0, t = 0; t < e.length; t++) {
205
- r += this.characterLength(e[t]);
203
+ e.length = function(e) {
204
+ for (var D = F(e), r = 0, t = 0; t < D.length; t++) {
205
+ r += this.characterLength(D[t]);
206
206
  }
207
207
  return r;
208
- }, D.slice = function(e, r, t) {
209
- textLen = D.length(e), t = t || 1, (r = r || 0) < 0 && (r = textLen + r), t < 0 && (t = textLen + t);
210
- for (var n = "", i = 0, a = F(e), s = 0; s < a.length; s++) {
211
- var c = a[s], l = D.length(c);
208
+ }, e.slice = function(D, r, t) {
209
+ textLen = e.length(D), t = t || 1, (r = r || 0) < 0 && (r = textLen + r), t < 0 && (t = textLen + t);
210
+ for (var n = "", i = 0, a = F(D), s = 0; s < a.length; s++) {
211
+ var c = a[s], l = e.length(c);
212
212
  if (i >= r - (2 == l ? 1 : 0)) {
213
213
  if (i + l <= t) {
214
214
  n += c;
@@ -228,17 +228,17 @@ var V = j((function() {
228
228
  return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
229
229
  }));
230
230
 
231
- function A(D, e = {}) {
232
- if ("string" != typeof D || 0 === D.length || (e = {
231
+ function A(e, D = {}) {
232
+ if ("string" != typeof e || 0 === e.length || (D = {
233
233
  ambiguousIsNarrow: !0,
234
- ...e
235
- }, 0 === (D = S$1(D)).length)) {
234
+ ...D
235
+ }, 0 === (e = S$1(e)).length)) {
236
236
  return 0;
237
237
  }
238
- D = D.replace(V(), " ");
239
- var r = e.ambiguousIsNarrow ? 1 : 2;
238
+ e = e.replace(V(), " ");
239
+ var r = D.ambiguousIsNarrow ? 1 : 2;
240
240
  var t = 0;
241
- for (var n of D) {
241
+ for (var n of e) {
242
242
  var i = n.codePointAt(0);
243
243
  if (i <= 31 || i >= 127 && i <= 159 || i >= 768 && i <= 879) {
244
244
  continue;
@@ -260,7 +260,7 @@ function A(D, e = {}) {
260
260
  return t;
261
261
  }
262
262
 
263
- var T = (D = 0) => e => `[${e + D}m`, P = (D = 0) => e => `[${38 + D};5;${e}m`, W = (D = 0) => (e, r, t) => `[${38 + D};2;${e};${r};${t}m`, K = {
263
+ var T = (e = 0) => D => `[${D + e}m`, P = (e = 0) => D => `[${38 + e};5;${D}m`, W = (e = 0) => (D, r, t) => `[${38 + e};2;${D};${r};${t}m`, K = {
264
264
  modifier: {
265
265
  reset: [ 0, 0 ],
266
266
  bold: [ 1, 22 ],
@@ -319,129 +319,129 @@ Object.keys(K.modifier);
319
319
  Object.keys(K.color), Object.keys(K.bgColor);
320
320
 
321
321
  var H = function tD() {
322
- var D = new Map;
323
- for (var [e, r] of Object.entries(K)) {
322
+ var e = new Map;
323
+ for (var [D, r] of Object.entries(K)) {
324
324
  for (var [t, n] of Object.entries(r)) {
325
325
  K[t] = {
326
326
  open: `[${n[0]}m`,
327
327
  close: `[${n[1]}m`
328
- }, r[t] = K[t], D.set(n[0], n[1]);
328
+ }, r[t] = K[t], e.set(n[0], n[1]);
329
329
  }
330
- Object.defineProperty(K, e, {
330
+ Object.defineProperty(K, D, {
331
331
  value: r,
332
332
  enumerable: !1
333
333
  });
334
334
  }
335
335
  return Object.defineProperty(K, "codes", {
336
- value: D,
336
+ value: e,
337
337
  enumerable: !1
338
338
  }), K.color.close = "", K.bgColor.close = "", K.color.ansi = T(), K.color.ansi256 = P(),
339
339
  K.color.ansi16m = W(), K.bgColor.ansi = T(10), K.bgColor.ansi256 = P(10), K.bgColor.ansi16m = W(10),
340
340
  Object.defineProperties(K, {
341
341
  rgbToAnsi256: {
342
- value: (D, e, r) => D === e && e === r ? D < 8 ? 16 : D > 248 ? 231 : Math.round((D - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(D / 255 * 5) + 6 * Math.round(e / 255 * 5) + Math.round(r / 255 * 5),
342
+ value: (e, D, r) => e === D && D === r ? e < 8 ? 16 : e > 248 ? 231 : Math.round((e - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(e / 255 * 5) + 6 * Math.round(D / 255 * 5) + Math.round(r / 255 * 5),
343
343
  enumerable: !1
344
344
  },
345
345
  hexToRgb: {
346
- value: D => {
347
- var e = /[a-f\d]{6}|[a-f\d]{3}/i.exec(D.toString(16));
348
- if (!e) {
346
+ value: e => {
347
+ var D = /[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));
348
+ if (!D) {
349
349
  return [ 0, 0, 0 ];
350
350
  }
351
- var [r] = e;
352
- 3 === r.length && (r = [ ...r ].map((D => D + D)).join(""));
351
+ var [r] = D;
352
+ 3 === r.length && (r = [ ...r ].map((e => e + e)).join(""));
353
353
  var t = Number.parseInt(r, 16);
354
354
  return [ t >> 16 & 255, t >> 8 & 255, 255 & t ];
355
355
  },
356
356
  enumerable: !1
357
357
  },
358
358
  hexToAnsi256: {
359
- value: D => K.rgbToAnsi256(...K.hexToRgb(D)),
359
+ value: e => K.rgbToAnsi256(...K.hexToRgb(e)),
360
360
  enumerable: !1
361
361
  },
362
362
  ansi256ToAnsi: {
363
- value: D => {
364
- if (D < 8) {
365
- return 30 + D;
363
+ value: e => {
364
+ if (e < 8) {
365
+ return 30 + e;
366
366
  }
367
- if (D < 16) {
368
- return D - 8 + 90;
367
+ if (e < 16) {
368
+ return e - 8 + 90;
369
369
  }
370
- var e, r, t;
371
- if (D >= 232) {
372
- r = e = (10 * (D - 232) + 8) / 255, t = e;
370
+ var D, r, t;
371
+ if (e >= 232) {
372
+ r = D = (10 * (e - 232) + 8) / 255, t = D;
373
373
  } else {
374
- var n = (D -= 16) % 36;
375
- e = Math.floor(D / 36) / 5, r = Math.floor(n / 6) / 5, t = n % 6 / 5;
374
+ var n = (e -= 16) % 36;
375
+ D = Math.floor(e / 36) / 5, r = Math.floor(n / 6) / 5, t = n % 6 / 5;
376
376
  }
377
- var i = 2 * Math.max(e, r, t);
377
+ var i = 2 * Math.max(D, r, t);
378
378
  if (0 === i) {
379
379
  return 30;
380
380
  }
381
- var a = 30 + (Math.round(t) << 2 | Math.round(r) << 1 | Math.round(e));
381
+ var a = 30 + (Math.round(t) << 2 | Math.round(r) << 1 | Math.round(D));
382
382
  return 2 === i && (a += 60), a;
383
383
  },
384
384
  enumerable: !1
385
385
  },
386
386
  rgbToAnsi: {
387
- value: (D, e, r) => K.ansi256ToAnsi(K.rgbToAnsi256(D, e, r)),
387
+ value: (e, D, r) => K.ansi256ToAnsi(K.rgbToAnsi256(e, D, r)),
388
388
  enumerable: !1
389
389
  },
390
390
  hexToAnsi: {
391
- value: D => K.ansi256ToAnsi(K.hexToAnsi256(D)),
391
+ value: e => K.ansi256ToAnsi(K.hexToAnsi256(e)),
392
392
  enumerable: !1
393
393
  }
394
394
  }), K;
395
- }(), Y = new Set([ "", "›" ]), J = "]8;;", N = D => `${Y.values().next().value}[${D}m`, L = D => `${Y.values().next().value}${J}${D}`, y$1 = (D, e, r) => {
396
- var t = [ ...e ];
397
- var n = !1, i = !1, a = A(S$1(D[D.length - 1]));
395
+ }(), Y = new Set([ "", "›" ]), J = "]8;;", N = e => `${Y.values().next().value}[${e}m`, L = e => `${Y.values().next().value}${J}${e}`, y$1 = (e, D, r) => {
396
+ var t = [ ...D ];
397
+ var n = !1, i = !1, a = A(S$1(e[e.length - 1]));
398
398
  for (var [s, c] of t.entries()) {
399
399
  var l = A(c);
400
- if (a + l <= r ? D[D.length - 1] += c : (D.push(c), a = 0), Y.has(c) && (n = !0,
400
+ if (a + l <= r ? e[e.length - 1] += c : (e.push(c), a = 0), Y.has(c) && (n = !0,
401
401
  i = t.slice(s + 1).join("").startsWith(J)), n) {
402
402
  i ? "" === c && (n = !1, i = !1) : "m" === c && (n = !1);
403
403
  continue;
404
404
  }
405
- (a += l) === r && s < t.length - 1 && (D.push(""), a = 0);
405
+ (a += l) === r && s < t.length - 1 && (e.push(""), a = 0);
406
406
  }
407
- !a && D[D.length - 1].length > 0 && D.length > 1 && (D[D.length - 2] += D.pop());
408
- }, ED = (D, e, r = {}) => {
409
- if (!1 !== r.trim && "" === D.trim()) {
407
+ !a && e[e.length - 1].length > 0 && e.length > 1 && (e[e.length - 2] += e.pop());
408
+ }, ED = (e, D, r = {}) => {
409
+ if (!1 !== r.trim && "" === e.trim()) {
410
410
  return "";
411
411
  }
412
412
  var t, n, i = "";
413
- var a = (D => D.split(" ").map((D => A(D))))(D);
413
+ var a = (e => e.split(" ").map((e => A(e))))(e);
414
414
  var s = [ "" ];
415
- for (var [c, l] of D.split(" ").entries()) {
415
+ for (var [c, l] of e.split(" ").entries()) {
416
416
  !1 !== r.trim && (s[s.length - 1] = s[s.length - 1].trimStart());
417
417
  var d = A(s[s.length - 1]);
418
- if (0 !== c && (d >= e && (!1 === r.wordWrap || !1 === r.trim) && (s.push(""), d = 0),
419
- (d > 0 || !1 === r.trim) && (s[s.length - 1] += " ", d++)), r.hard && a[c] > e) {
420
- var p = 1 + Math.floor((a[c] - (e - d) - 1) / e);
421
- Math.floor((a[c] - 1) / e) < p && s.push(""), y$1(s, l, e);
418
+ if (0 !== c && (d >= D && (!1 === r.wordWrap || !1 === r.trim) && (s.push(""), d = 0),
419
+ (d > 0 || !1 === r.trim) && (s[s.length - 1] += " ", d++)), r.hard && a[c] > D) {
420
+ var p = 1 + Math.floor((a[c] - (D - d) - 1) / D);
421
+ Math.floor((a[c] - 1) / D) < p && s.push(""), y$1(s, l, D);
422
422
  continue;
423
423
  }
424
- if (d + a[c] > e && d > 0 && a[c] > 0) {
425
- if (!1 === r.wordWrap && d < e) {
426
- y$1(s, l, e);
424
+ if (d + a[c] > D && d > 0 && a[c] > 0) {
425
+ if (!1 === r.wordWrap && d < D) {
426
+ y$1(s, l, D);
427
427
  continue;
428
428
  }
429
429
  s.push("");
430
430
  }
431
- if (d + a[c] > e && !1 === r.wordWrap) {
432
- y$1(s, l, e);
431
+ if (d + a[c] > D && !1 === r.wordWrap) {
432
+ y$1(s, l, D);
433
433
  continue;
434
434
  }
435
435
  s[s.length - 1] += l;
436
436
  }
437
- !1 !== r.trim && (s = s.map((D => (D => {
438
- var e = D.split(" ");
439
- var r = e.length;
440
- for (;r > 0 && !(A(e[r - 1]) > 0); ) {
437
+ !1 !== r.trim && (s = s.map((e => (e => {
438
+ var D = e.split(" ");
439
+ var r = D.length;
440
+ for (;r > 0 && !(A(D[r - 1]) > 0); ) {
441
441
  r--;
442
442
  }
443
- return r === e.length ? D : e.slice(0, r).join(" ") + e.slice(r).join("");
444
- })(D))));
443
+ return r === D.length ? e : D.slice(0, r).join(" ") + D.slice(r).join("");
444
+ })(e))));
445
445
  var E = [ ...s.join("\n") ];
446
446
  for (var [f, h] of E.entries()) {
447
447
  if (i += h, Y.has(h)) {
@@ -462,80 +462,80 @@ var H = function tD() {
462
462
  return i;
463
463
  };
464
464
 
465
- function R(D, e, r) {
466
- return String(D).normalize().replace(/\r\n/g, "\n").split("\n").map((D => ED(D, e, r))).join("\n");
465
+ function R(e, D, r) {
466
+ return String(e).normalize().replace(/\r\n/g, "\n").split("\n").map((e => ED(e, D, r))).join("\n");
467
467
  }
468
468
 
469
- var X = Object.defineProperty, a$1 = (D, e, r) => (((D, e, r) => {
470
- e in D ? X(D, e, {
469
+ var X = Object.defineProperty, a$1 = (e, D, r) => (((e, D, r) => {
470
+ D in e ? X(e, D, {
471
471
  enumerable: !0,
472
472
  configurable: !0,
473
473
  writable: !0,
474
474
  value: r
475
- }) : D[e] = r;
476
- })(D, "symbol" != typeof e ? e + "" : e, r), r);
475
+ }) : e[D] = r;
476
+ })(e, "symbol" != typeof D ? D + "" : D, r), r);
477
477
 
478
478
  var Z = Symbol("clack:cancel");
479
479
 
480
- function hD(D) {
481
- return D === Z;
480
+ function hD(e) {
481
+ return e === Z;
482
482
  }
483
483
 
484
- function v(D, e) {
485
- D.isTTY && D.setRawMode(e);
484
+ function v(e, D) {
485
+ e.isTTY && e.setRawMode(D);
486
486
  }
487
487
 
488
488
  var Q = new Map([ [ "k", "up" ], [ "j", "down" ], [ "h", "left" ], [ "l", "right" ] ]), uu = new Set([ "up", "down", "left", "right", "space", "enter" ]);
489
489
 
490
- let Du = class x {
491
- constructor({render: e, input: r = D.stdin, output: t = D.stdout, ...n}, i = !0) {
490
+ let eu = class x {
491
+ constructor({render: D, input: r = e.stdin, output: t = e.stdout, ...n}, i = !0) {
492
492
  a$1(this, "input"), a$1(this, "output"), a$1(this, "rl"), a$1(this, "opts"), a$1(this, "_track", !1),
493
493
  a$1(this, "_render"), a$1(this, "_cursor", 0), a$1(this, "state", "initial"), a$1(this, "value"),
494
494
  a$1(this, "error", ""), a$1(this, "subscribers", new Map), a$1(this, "_prevFrame", ""),
495
495
  this.opts = n, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this),
496
- this.render = this.render.bind(this), this._render = e.bind(this), this._track = i,
496
+ this.render = this.render.bind(this), this._render = D.bind(this), this._track = i,
497
497
  this.input = r, this.output = t;
498
498
  }
499
499
  prompt() {
500
- var D = new r.WriteStream(0);
501
- return D._write = (D, e, r) => {
500
+ var e = new r.WriteStream(0);
501
+ return e._write = (e, D, r) => {
502
502
  this._track && (this.value = this.rl.line.replace(/\t/g, ""), this._cursor = this.rl.cursor,
503
503
  this.emit("value", this.value)), r();
504
- }, this.input.pipe(D), this.rl = e.createInterface({
504
+ }, this.input.pipe(e), this.rl = D.createInterface({
505
505
  input: this.input,
506
- output: D,
506
+ output: e,
507
507
  tabSize: 2,
508
508
  prompt: "",
509
509
  escapeCodeTimeout: 50
510
- }), e.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue),
510
+ }), D.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue),
511
511
  this.input.on("keypress", this.onKeypress), v(this.input, !0), this.output.on("resize", this.render),
512
- this.render(), new Promise(((D, e) => {
512
+ this.render(), new Promise(((e, D) => {
513
513
  this.once("submit", (() => {
514
514
  this.output.write(k.cursor.show), this.output.off("resize", this.render), v(this.input, !1),
515
- D(this.value);
515
+ e(this.value);
516
516
  })), this.once("cancel", (() => {
517
517
  this.output.write(k.cursor.show), this.output.off("resize", this.render), v(this.input, !1),
518
- D(Z);
518
+ e(Z);
519
519
  }));
520
520
  }));
521
521
  }
522
- on(D, e) {
523
- var r = this.subscribers.get(D) ?? [];
522
+ on(e, D) {
523
+ var r = this.subscribers.get(e) ?? [];
524
524
  r.push({
525
- cb: e
526
- }), this.subscribers.set(D, r);
525
+ cb: D
526
+ }), this.subscribers.set(e, r);
527
527
  }
528
- once(D, e) {
529
- var r = this.subscribers.get(D) ?? [];
528
+ once(e, D) {
529
+ var r = this.subscribers.get(e) ?? [];
530
530
  r.push({
531
- cb: e,
531
+ cb: D,
532
532
  once: !0
533
- }), this.subscribers.set(D, r);
533
+ }), this.subscribers.set(e, r);
534
534
  }
535
- emit(D, ...e) {
536
- var r = this.subscribers.get(D) ?? [], t = [];
537
- var _loop = function(D) {
538
- D.cb(...e), D.once && t.push((() => r.splice(r.indexOf(D), 1)));
535
+ emit(e, ...D) {
536
+ var r = this.subscribers.get(e) ?? [], t = [];
537
+ var _loop = function(e) {
538
+ e.cb(...D), e.once && t.push((() => r.splice(r.indexOf(e), 1)));
539
539
  };
540
540
  for (var n of r) {
541
541
  _loop(n);
@@ -547,19 +547,19 @@ let Du = class x {
547
547
  unsubscribe() {
548
548
  this.subscribers.clear();
549
549
  }
550
- onKeypress(D, e) {
551
- if ("error" === this.state && (this.state = "active"), e?.name && !this._track && Q.has(e.name) && this.emit("cursor", Q.get(e.name)),
552
- e?.name && uu.has(e.name) && this.emit("cursor", e.name), D && ("y" === D.toLowerCase() || "n" === D.toLowerCase()) && this.emit("confirm", "y" === D.toLowerCase()),
553
- "\t" === D && this.opts.placeholder && (this.value || (this.rl.write(this.opts.placeholder),
554
- this.emit("value", this.opts.placeholder))), D && this.emit("key", D.toLowerCase()),
555
- "return" === e?.name) {
550
+ onKeypress(e, D) {
551
+ if ("error" === this.state && (this.state = "active"), D?.name && !this._track && Q.has(D.name) && this.emit("cursor", Q.get(D.name)),
552
+ D?.name && uu.has(D.name) && this.emit("cursor", D.name), e && ("y" === e.toLowerCase() || "n" === e.toLowerCase()) && this.emit("confirm", "y" === e.toLowerCase()),
553
+ "\t" === e && this.opts.placeholder && (this.value || (this.rl.write(this.opts.placeholder),
554
+ this.emit("value", this.opts.placeholder))), e && this.emit("key", e.toLowerCase()),
555
+ "return" === D?.name) {
556
556
  if (this.opts.validate) {
557
557
  var r = this.opts.validate(this.value);
558
558
  r && (this.error = r, this.state = "error", this.rl.write(this.value));
559
559
  }
560
560
  "error" !== this.state && (this.state = "submit");
561
561
  }
562
- "" === D && (this.state = "cancel"), ("submit" === this.state || "cancel" === this.state) && this.emit("finalize"),
562
+ "" === e && (this.state = "cancel"), ("submit" === this.state || "cancel" === this.state) && this.emit("finalize"),
563
563
  this.render(), ("submit" === this.state || "cancel" === this.state) && this.close();
564
564
  }
565
565
  close() {
@@ -567,61 +567,61 @@ let Du = class x {
567
567
  v(this.input, !1), this.rl.close(), this.emit(`${this.state}`, this.value), this.unsubscribe();
568
568
  }
569
569
  restoreCursor() {
570
- var D = R(this._prevFrame, process.stdout.columns, {
570
+ var e = R(this._prevFrame, process.stdout.columns, {
571
571
  hard: !0
572
572
  }).split("\n").length - 1;
573
- this.output.write(k.cursor.move(-999, -1 * D));
573
+ this.output.write(k.cursor.move(-999, -1 * e));
574
574
  }
575
575
  render() {
576
- var D = R(this._render(this) ?? "", process.stdout.columns, {
576
+ var e = R(this._render(this) ?? "", process.stdout.columns, {
577
577
  hard: !0
578
578
  });
579
- if (D !== this._prevFrame) {
579
+ if (e !== this._prevFrame) {
580
580
  if ("initial" === this.state) {
581
581
  this.output.write(k.cursor.hide);
582
582
  } else {
583
- var e = function aD(D, e) {
584
- if (D === e) {
583
+ var D = function aD(e, D) {
584
+ if (e === D) {
585
585
  return;
586
586
  }
587
- var r = D.split("\n"), t = e.split("\n"), n = [];
587
+ var r = e.split("\n"), t = D.split("\n"), n = [];
588
588
  for (var i = 0; i < Math.max(r.length, t.length); i++) {
589
589
  r[i] !== t[i] && n.push(i);
590
590
  }
591
591
  return n;
592
- }(this._prevFrame, D);
593
- if (this.restoreCursor(), e && 1 === e?.length) {
594
- var r = e[0];
592
+ }(this._prevFrame, e);
593
+ if (this.restoreCursor(), D && 1 === D?.length) {
594
+ var r = D[0];
595
595
  this.output.write(k.cursor.move(0, r)), this.output.write(k.erase.lines(1));
596
- var t = D.split("\n");
597
- this.output.write(t[r]), this._prevFrame = D, this.output.write(k.cursor.move(0, t.length - r - 1));
596
+ var t = e.split("\n");
597
+ this.output.write(t[r]), this._prevFrame = e, this.output.write(k.cursor.move(0, t.length - r - 1));
598
598
  return;
599
- } else if (e && e?.length > 1) {
600
- var n = e[0];
599
+ } else if (D && D?.length > 1) {
600
+ var n = D[0];
601
601
  this.output.write(k.cursor.move(0, n)), this.output.write(k.erase.down());
602
- var i = D.split("\n").slice(n);
603
- this.output.write(i.join("\n")), this._prevFrame = D;
602
+ var i = e.split("\n").slice(n);
603
+ this.output.write(i.join("\n")), this._prevFrame = e;
604
604
  return;
605
605
  }
606
606
  this.output.write(k.erase.down());
607
607
  }
608
- this.output.write(D), "initial" === this.state && (this.state = "active"), this._prevFrame = D;
608
+ this.output.write(e), "initial" === this.state && (this.state = "active"), this._prevFrame = e;
609
609
  }
610
610
  }
611
611
  };
612
612
 
613
- class xD extends Du {
613
+ class xD extends eu {
614
614
  get cursor() {
615
615
  return this.value ? 0 : 1;
616
616
  }
617
617
  get _value() {
618
618
  return 0 === this.cursor;
619
619
  }
620
- constructor(D) {
621
- super(D, !1), this.value = !!D.initialValue, this.on("value", (() => {
620
+ constructor(e) {
621
+ super(e, !1), this.value = !!e.initialValue, this.on("value", (() => {
622
622
  this.value = this._value;
623
- })), this.on("confirm", (D => {
624
- this.output.write(k.cursor.move(0, -1)), this.value = D, this.state = "submit",
623
+ })), this.on("confirm", (e => {
624
+ this.output.write(k.cursor.move(0, -1)), this.value = e, this.state = "submit",
625
625
  this.close();
626
626
  })), this.on("cursor", (() => {
627
627
  this.value = !this.value;
@@ -629,25 +629,25 @@ class xD extends Du {
629
629
  }
630
630
  }
631
631
 
632
- var eu = Object.defineProperty, MD = (D, e, r) => (((D, e, r) => {
633
- e in D ? eu(D, e, {
632
+ var Du = Object.defineProperty, MD = (e, D, r) => (((e, D, r) => {
633
+ D in e ? Du(e, D, {
634
634
  enumerable: !0,
635
635
  configurable: !0,
636
636
  writable: !0,
637
637
  value: r
638
- }) : D[e] = r;
639
- })(D, e + "", r), r);
638
+ }) : e[D] = r;
639
+ })(e, D + "", r), r);
640
640
 
641
- class TD extends Du {
642
- constructor(D) {
643
- super(D), MD(this, "valueWithCursor", ""), this.on("finalize", (() => {
644
- this.value || (this.value = D.defaultValue), this.valueWithCursor = this.value;
641
+ class TD extends eu {
642
+ constructor(e) {
643
+ super(e), MD(this, "valueWithCursor", ""), this.on("finalize", (() => {
644
+ this.value || (this.value = e.defaultValue), this.valueWithCursor = this.value;
645
645
  })), this.on("value", (() => {
646
646
  if (this.cursor >= this.value.length) {
647
647
  this.valueWithCursor = `${this.value}${_.inverse(_.hidden("_"))}`;
648
648
  } else {
649
- var D = this.value.slice(0, this.cursor), e = this.value.slice(this.cursor);
650
- this.valueWithCursor = `${D}${_.inverse(e[0])}${e.slice(1)}`;
649
+ var e = this.value.slice(0, this.cursor), D = this.value.slice(this.cursor);
650
+ this.valueWithCursor = `${e}${_.inverse(D[0])}${D.slice(1)}`;
651
651
  }
652
652
  }));
653
653
  }
@@ -659,9 +659,9 @@ class TD extends Du {
659
659
  var ru = globalThis.process.platform.startsWith("win");
660
660
 
661
661
  var tu = function q() {
662
- return "win32" !== D.platform ? "linux" !== D.env.TERM : Boolean(D.env.CI) || Boolean(D.env.WT_SESSION) || Boolean(D.env.TERMINUS_SUBLIME) || "{cmd::Cmder}" === D.env.ConEmuTask || "Terminus-Sublime" === D.env.TERM_PROGRAM || "vscode" === D.env.TERM_PROGRAM || "xterm-256color" === D.env.TERM || "alacritty" === D.env.TERM || "JetBrains-JediTerm" === D.env.TERMINAL_EMULATOR;
663
- }(), o = (D, e) => tu ? D : e, nu = o("◆", "*"), iu = o("■", "x"), au = o("▲", "x"), su = o("◇", "o"), ou = o("┌", "T"), cu = o("│", "|"), Fu = o("└", "—"), lu = o("●", ">"), du = o("○", " "), y = D => {
664
- switch (D) {
662
+ return "win32" !== e.platform ? "linux" !== e.env.TERM : Boolean(e.env.CI) || Boolean(e.env.WT_SESSION) || Boolean(e.env.TERMINUS_SUBLIME) || "{cmd::Cmder}" === e.env.ConEmuTask || "Terminus-Sublime" === e.env.TERM_PROGRAM || "vscode" === e.env.TERM_PROGRAM || "xterm-256color" === e.env.TERM || "alacritty" === e.env.TERM || "JetBrains-JediTerm" === e.env.TERMINAL_EMULATOR;
663
+ }(), o = (e, D) => tu ? e : D, nu = o("◆", "*"), iu = o("■", "x"), au = o("▲", "x"), su = o("◇", "o"), ou = o("┌", "T"), cu = o("│", "|"), Fu = o("└", "—"), lu = o("●", ">"), du = o("○", " "), y = e => {
664
+ switch (e) {
665
665
  case "initial":
666
666
  case "active":
667
667
  return _.cyan(nu);
@@ -675,35 +675,35 @@ var tu = function q() {
675
675
  case "submit":
676
676
  return _.green(su);
677
677
  }
678
- }, te = D => new TD({
679
- validate: D.validate,
680
- placeholder: D.placeholder,
681
- defaultValue: D.defaultValue,
682
- initialValue: D.initialValue,
678
+ }, te = e => new TD({
679
+ validate: e.validate,
680
+ placeholder: e.placeholder,
681
+ defaultValue: e.defaultValue,
682
+ initialValue: e.initialValue,
683
683
  render() {
684
- var e = `${_.gray(cu)}\n${y(this.state)} ${D.message}\n`, r = D.placeholder ? _.inverse(D.placeholder[0]) + _.dim(D.placeholder.slice(1)) : _.inverse(_.hidden("_")), t = this.value ? this.valueWithCursor : r;
684
+ var D = `${_.gray(cu)}\n${y(this.state)} ${e.message}\n`, r = e.placeholder ? _.inverse(e.placeholder[0]) + _.dim(e.placeholder.slice(1)) : _.inverse(_.hidden("_")), t = this.value ? this.valueWithCursor : r;
685
685
  switch (this.state) {
686
686
  case "error":
687
- return `${e.trim()}\n${_.yellow(cu)} ${t}\n${_.yellow(Fu)} ${_.yellow(this.error)}\n`;
687
+ return `${D.trim()}\n${_.yellow(cu)} ${t}\n${_.yellow(Fu)} ${_.yellow(this.error)}\n`;
688
688
 
689
689
  case "submit":
690
- return `${e}${_.gray(cu)} ${_.dim(this.value || D.placeholder)}`;
690
+ return `${D}${_.gray(cu)} ${_.dim(this.value || e.placeholder)}`;
691
691
 
692
692
  case "cancel":
693
- return `${e}${_.gray(cu)} ${_.strikethrough(_.dim(this.value ?? ""))}${this.value?.trim() ? "\n" + _.gray(cu) : ""}`;
693
+ return `${D}${_.gray(cu)} ${_.strikethrough(_.dim(this.value ?? ""))}${this.value?.trim() ? "\n" + _.gray(cu) : ""}`;
694
694
 
695
695
  default:
696
- return `${e}${_.cyan(cu)} ${t}\n${_.cyan(Fu)}\n`;
696
+ return `${D}${_.cyan(cu)} ${t}\n${_.cyan(Fu)}\n`;
697
697
  }
698
698
  }
699
- }).prompt(), se = D => {
700
- var e = D.active ?? "Yes", r = D.inactive ?? "No";
699
+ }).prompt(), se = e => {
700
+ var D = e.active ?? "Yes", r = e.inactive ?? "No";
701
701
  return new xD({
702
- active: e,
702
+ active: D,
703
703
  inactive: r,
704
- initialValue: D.initialValue ?? !0,
704
+ initialValue: e.initialValue ?? !0,
705
705
  render() {
706
- var t = `${_.gray(cu)}\n${y(this.state)} ${D.message}\n`, n = this.value ? e : r;
706
+ var t = `${_.gray(cu)}\n${y(this.state)} ${e.message}\n`, n = this.value ? D : r;
707
707
  switch (this.state) {
708
708
  case "submit":
709
709
  return `${t}${_.gray(cu)} ${_.dim(n)}`;
@@ -712,60 +712,60 @@ var tu = function q() {
712
712
  return `${t}${_.gray(cu)} ${_.strikethrough(_.dim(n))}\n${_.gray(cu)}`;
713
713
 
714
714
  default:
715
- return `${t}${_.cyan(cu)} ${this.value ? `${_.green(lu)} ${e}` : `${_.dim(du)} ${_.dim(e)}`} ${_.dim("/")} ${this.value ? `${_.dim(du)} ${_.dim(r)}` : `${_.green(lu)} ${r}`}\n${_.cyan(Fu)}\n`;
715
+ return `${t}${_.cyan(cu)} ${this.value ? `${_.green(lu)} ${D}` : `${_.dim(du)} ${_.dim(D)}`} ${_.dim("/")} ${this.value ? `${_.dim(du)} ${_.dim(r)}` : `${_.green(lu)} ${r}`}\n${_.cyan(Fu)}\n`;
716
716
  }
717
717
  }
718
718
  }).prompt();
719
- }, ue = (D = "") => {
720
- process.stdout.write(`${_.gray(Fu)} ${_.red(D)}\n\n`);
719
+ }, ue = (e = "") => {
720
+ process.stdout.write(`${_.gray(Fu)} ${_.red(e)}\n\n`);
721
721
  }, de = () => {
722
- var e = tu ? [ "◒", "◐", "◓", "◑" ] : [ "•", "o", "O", "0" ], r = tu ? 80 : 120;
722
+ var D = tu ? [ "◒", "◐", "◓", "◑" ] : [ "•", "o", "O", "0" ], r = tu ? 80 : 120;
723
723
  var t, n, i = !1, a = "";
724
- var u = (D = "", e = 0) => {
725
- a = D ?? a, i = !1, clearInterval(n);
726
- var r = 0 === e ? _.green(su) : 1 === e ? _.red(iu) : _.red(au);
724
+ var u = (e = "", D = 0) => {
725
+ a = e ?? a, i = !1, clearInterval(n);
726
+ var r = 0 === D ? _.green(su) : 1 === D ? _.red(iu) : _.red(au);
727
727
  process.stdout.write(k.cursor.move(-999, 0)), process.stdout.write(k.erase.down(1)),
728
728
  process.stdout.write(`${r} ${a}\n`), t();
729
- }, $ = D => {
730
- i && u(D > 1 ? "Something went wrong" : "Canceled", D);
729
+ }, $ = e => {
730
+ i && u(e > 1 ? "Something went wrong" : "Canceled", e);
731
731
  };
732
732
  return process.on("uncaughtExceptionMonitor", (() => $(2))), process.on("unhandledRejection", (() => $(2))),
733
733
  process.on("SIGINT", (() => $(1))), process.on("SIGTERM", (() => $(1))), process.on("exit", $),
734
734
  {
735
735
  start: (s = "") => {
736
- i = !0, t = function WD({input: e = D.stdin, output: r = D.stdout, overwrite: t = !0, hideCursor: n = !0} = {}) {
736
+ i = !0, t = function WD({input: D = e.stdin, output: r = e.stdout, overwrite: t = !0, hideCursor: n = !0} = {}) {
737
737
  var i = b.createInterface({
738
- input: e,
738
+ input: D,
739
739
  output: r,
740
740
  prompt: "",
741
741
  tabSize: 1
742
742
  });
743
- b.emitKeypressEvents(e, i), e.isTTY && e.setRawMode(!0);
744
- var C = (D, {name: n}) => {
745
- if ("" === String(D) && process.exit(0), !t) {
743
+ b.emitKeypressEvents(D, i), D.isTTY && D.setRawMode(!0);
744
+ var C = (e, {name: n}) => {
745
+ if ("" === String(e) && process.exit(0), !t) {
746
746
  return;
747
747
  }
748
748
  b.moveCursor(r, "return" === n ? 0 : -1, "return" === n ? -1 : 0, (() => {
749
749
  b.clearLine(r, 1, (() => {
750
- e.once("keypress", C);
750
+ D.once("keypress", C);
751
751
  }));
752
752
  }));
753
753
  };
754
- return n && process.stdout.write(k.cursor.hide), e.once("keypress", C), () => {
755
- e.off("keypress", C), n && process.stdout.write(k.cursor.show), e.isTTY && !ru && e.setRawMode(!1),
754
+ return n && process.stdout.write(k.cursor.hide), D.once("keypress", C), () => {
755
+ D.off("keypress", C), n && process.stdout.write(k.cursor.show), D.isTTY && !ru && D.setRawMode(!1),
756
756
  i.terminal = !1, i.close();
757
757
  };
758
758
  }(), a = s.replace(/\.+$/, ""), process.stdout.write(`${_.gray(cu)}\n`);
759
759
  var c = 0, l = 0;
760
760
  n = setInterval((() => {
761
- var D = _.magenta(e[c]), r = ".".repeat(Math.floor(l)).slice(0, 3);
761
+ var e = _.magenta(D[c]), r = ".".repeat(Math.floor(l)).slice(0, 3);
762
762
  process.stdout.write(k.cursor.move(-999, 0)), process.stdout.write(k.erase.down(1)),
763
- process.stdout.write(`${D} ${a}${r}`), c = c + 1 < e.length ? c + 1 : 0, l = l < e.length ? l + .125 : 0;
763
+ process.stdout.write(`${e} ${a}${r}`), c = c + 1 < D.length ? c + 1 : 0, l = l < D.length ? l + .125 : 0;
764
764
  }), r);
765
765
  },
766
766
  stop: u,
767
- message: (D = "") => {
768
- a = D ?? a;
767
+ message: (e = "") => {
768
+ a = e ?? a;
769
769
  }
770
770
  };
771
771
  };
@@ -780,27 +780,27 @@ var Eu;
780
780
 
781
781
  var fu;
782
782
 
783
- var hu;
784
-
785
783
  var vu;
786
784
 
785
+ var hu;
786
+
787
787
  if ("win32" === process.platform || global.TESTING_WINDOWS) {
788
- vu = function requireWindows() {
788
+ hu = function requireWindows() {
789
789
  if (Eu) {
790
790
  return pu;
791
791
  }
792
792
  Eu = 1;
793
793
  pu = isexe;
794
- isexe.sync = function sync(e, r) {
795
- return checkStat(D.statSync(e), e, r);
794
+ isexe.sync = function sync(D, r) {
795
+ return checkStat(e.statSync(D), D, r);
796
796
  };
797
- var D = s;
798
- function checkStat(D, e, r) {
799
- if (!D.isSymbolicLink() && !D.isFile()) {
797
+ var e = s;
798
+ function checkStat(e, D, r) {
799
+ if (!e.isSymbolicLink() && !e.isFile()) {
800
800
  return !1;
801
801
  }
802
- return function checkPathExt(D, e) {
803
- var r = void 0 !== e.pathExt ? e.pathExt : process.env.PATHEXT;
802
+ return function checkPathExt(e, D) {
803
+ var r = void 0 !== D.pathExt ? D.pathExt : process.env.PATHEXT;
804
804
  if (!r) {
805
805
  return !0;
806
806
  }
@@ -809,47 +809,47 @@ if ("win32" === process.platform || global.TESTING_WINDOWS) {
809
809
  }
810
810
  for (var t = 0; t < r.length; t++) {
811
811
  var n = r[t].toLowerCase();
812
- if (n && D.substr(-n.length).toLowerCase() === n) {
812
+ if (n && e.substr(-n.length).toLowerCase() === n) {
813
813
  return !0;
814
814
  }
815
815
  }
816
816
  return !1;
817
- }(e, r);
817
+ }(D, r);
818
818
  }
819
- function isexe(e, r, t) {
820
- D.stat(e, (function(D, n) {
821
- t(D, D ? !1 : checkStat(n, e, r));
819
+ function isexe(D, r, t) {
820
+ e.stat(D, (function(e, n) {
821
+ t(e, e ? !1 : checkStat(n, D, r));
822
822
  }));
823
823
  }
824
824
  return pu;
825
825
  }();
826
826
  } else {
827
- vu = function requireMode() {
828
- if (hu) {
827
+ hu = function requireMode() {
828
+ if (vu) {
829
829
  return fu;
830
830
  }
831
- hu = 1;
831
+ vu = 1;
832
832
  fu = isexe;
833
- isexe.sync = function sync(e, r) {
834
- return checkStat(D.statSync(e), r);
833
+ isexe.sync = function sync(D, r) {
834
+ return checkStat(e.statSync(D), r);
835
835
  };
836
- var D = s;
837
- function isexe(e, r, t) {
838
- D.stat(e, (function(D, e) {
839
- t(D, D ? !1 : checkStat(e, r));
836
+ var e = s;
837
+ function isexe(D, r, t) {
838
+ e.stat(D, (function(e, D) {
839
+ t(e, e ? !1 : checkStat(D, r));
840
840
  }));
841
841
  }
842
- function checkStat(D, e) {
843
- return D.isFile() && function checkMode(D, e) {
844
- var r = D.mode;
845
- var t = D.uid;
846
- var n = D.gid;
847
- var i = void 0 !== e.uid ? e.uid : process.getuid && process.getuid();
848
- var a = void 0 !== e.gid ? e.gid : process.getgid && process.getgid();
842
+ function checkStat(e, D) {
843
+ return e.isFile() && function checkMode(e, D) {
844
+ var r = e.mode;
845
+ var t = e.uid;
846
+ var n = e.gid;
847
+ var i = void 0 !== D.uid ? D.uid : process.getuid && process.getuid();
848
+ var a = void 0 !== D.gid ? D.gid : process.getgid && process.getgid();
849
849
  var s = parseInt("100", 8);
850
850
  var c = parseInt("010", 8);
851
851
  return r & parseInt("001", 8) || r & c && n === a || r & s && t === i || r & (s | c) && 0 === i;
852
- }(D, e);
852
+ }(e, D);
853
853
  }
854
854
  return fu;
855
855
  }();
@@ -857,45 +857,45 @@ if ("win32" === process.platform || global.TESTING_WINDOWS) {
857
857
 
858
858
  var mu = isexe$1;
859
859
 
860
- isexe$1.sync = function sync(D, e) {
860
+ isexe$1.sync = function sync(e, D) {
861
861
  try {
862
- return vu.sync(D, e || {});
863
- } catch (D) {
864
- if (e && e.ignoreErrors || "EACCES" === D.code) {
862
+ return hu.sync(e, D || {});
863
+ } catch (e) {
864
+ if (D && D.ignoreErrors || "EACCES" === e.code) {
865
865
  return !1;
866
866
  } else {
867
- throw D;
867
+ throw e;
868
868
  }
869
869
  }
870
870
  };
871
871
 
872
- function isexe$1(D, e, r) {
873
- if ("function" == typeof e) {
874
- r = e;
875
- e = {};
872
+ function isexe$1(e, D, r) {
873
+ if ("function" == typeof D) {
874
+ r = D;
875
+ D = {};
876
876
  }
877
877
  if (!r) {
878
878
  if ("function" != typeof Promise) {
879
879
  throw new TypeError("callback not provided");
880
880
  }
881
881
  return new Promise((function(r, t) {
882
- isexe$1(D, e || {}, (function(D, e) {
883
- if (D) {
884
- t(D);
882
+ isexe$1(e, D || {}, (function(e, D) {
883
+ if (e) {
884
+ t(e);
885
885
  } else {
886
- r(e);
886
+ r(D);
887
887
  }
888
888
  }));
889
889
  }));
890
890
  }
891
- vu(D, e || {}, (function(D, t) {
892
- if (D) {
893
- if ("EACCES" === D.code || e && e.ignoreErrors) {
894
- D = null;
891
+ hu(e, D || {}, (function(e, t) {
892
+ if (e) {
893
+ if ("EACCES" === e.code || D && D.ignoreErrors) {
894
+ e = null;
895
895
  t = !1;
896
896
  }
897
897
  }
898
- r(D, t);
898
+ r(e, t);
899
899
  }));
900
900
  }
901
901
 
@@ -907,17 +907,17 @@ var bu = gu ? ";" : ":";
907
907
 
908
908
  var yu = mu;
909
909
 
910
- var getNotFoundError = D => Object.assign(new Error(`not found: ${D}`), {
910
+ var getNotFoundError = e => Object.assign(new Error(`not found: ${e}`), {
911
911
  code: "ENOENT"
912
912
  });
913
913
 
914
- var getPathInfo = (D, e) => {
915
- var r = e.colon || bu;
916
- var t = D.match(/\//) || gu && D.match(/\\/) ? [ "" ] : [ ...gu ? [ process.cwd() ] : [], ...(e.path || process.env.PATH || "").split(r) ];
917
- var n = gu ? e.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
914
+ var getPathInfo = (e, D) => {
915
+ var r = D.colon || bu;
916
+ var t = e.match(/\//) || gu && e.match(/\\/) ? [ "" ] : [ ...gu ? [ process.cwd() ] : [], ...(D.path || process.env.PATH || "").split(r) ];
917
+ var n = gu ? D.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
918
918
  var i = gu ? n.split(r) : [ "" ];
919
919
  if (gu) {
920
- if (-1 !== D.indexOf(".") && "" !== i[0]) {
920
+ if (-1 !== e.indexOf(".") && "" !== i[0]) {
921
921
  i.unshift("");
922
922
  }
923
923
  }
@@ -928,92 +928,92 @@ var getPathInfo = (D, e) => {
928
928
  };
929
929
  };
930
930
 
931
- var which$1 = (D, e, r) => {
932
- if ("function" == typeof e) {
933
- r = e;
934
- e = {};
931
+ var which$1 = (e, D, r) => {
932
+ if ("function" == typeof D) {
933
+ r = D;
934
+ D = {};
935
935
  }
936
- if (!e) {
937
- e = {};
936
+ if (!D) {
937
+ D = {};
938
938
  }
939
- var {pathEnv: t, pathExt: n, pathExtExe: i} = getPathInfo(D, e);
939
+ var {pathEnv: t, pathExt: n, pathExtExe: i} = getPathInfo(e, D);
940
940
  var a = [];
941
941
  var step = r => new Promise(((n, i) => {
942
942
  if (r === t.length) {
943
- return e.all && a.length ? n(a) : i(getNotFoundError(D));
943
+ return D.all && a.length ? n(a) : i(getNotFoundError(e));
944
944
  }
945
945
  var s = t[r];
946
946
  var c = /^".*"$/.test(s) ? s.slice(1, -1) : s;
947
- var l = Bu.join(c, D);
948
- var d = !c && /^\.[\\\/]/.test(D) ? D.slice(0, 2) + l : l;
947
+ var l = Bu.join(c, e);
948
+ var d = !c && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + l : l;
949
949
  n(subStep(d, r, 0));
950
950
  }));
951
- var subStep = (D, r, t) => new Promise(((s, c) => {
951
+ var subStep = (e, r, t) => new Promise(((s, c) => {
952
952
  if (t === n.length) {
953
953
  return s(step(r + 1));
954
954
  }
955
955
  var l = n[t];
956
- yu(D + l, {
956
+ yu(e + l, {
957
957
  pathExt: i
958
958
  }, ((n, i) => {
959
959
  if (!n && i) {
960
- if (e.all) {
961
- a.push(D + l);
960
+ if (D.all) {
961
+ a.push(e + l);
962
962
  } else {
963
- return s(D + l);
963
+ return s(e + l);
964
964
  }
965
965
  }
966
- return s(subStep(D, r, t + 1));
966
+ return s(subStep(e, r, t + 1));
967
967
  }));
968
968
  }));
969
- return r ? step(0).then((D => r(null, D)), r) : step(0);
969
+ return r ? step(0).then((e => r(null, e)), r) : step(0);
970
970
  };
971
971
 
972
972
  var Au = which$1;
973
973
 
974
- which$1.sync = (D, e) => {
975
- e = e || {};
976
- var {pathEnv: r, pathExt: t, pathExtExe: n} = getPathInfo(D, e);
974
+ which$1.sync = (e, D) => {
975
+ D = D || {};
976
+ var {pathEnv: r, pathExt: t, pathExtExe: n} = getPathInfo(e, D);
977
977
  var i = [];
978
978
  for (var a = 0; a < r.length; a++) {
979
979
  var s = r[a];
980
980
  var c = /^".*"$/.test(s) ? s.slice(1, -1) : s;
981
- var l = Bu.join(c, D);
982
- var d = !c && /^\.[\\\/]/.test(D) ? D.slice(0, 2) + l : l;
981
+ var l = Bu.join(c, e);
982
+ var d = !c && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + l : l;
983
983
  for (var p = 0; p < t.length; p++) {
984
984
  var E = d + t[p];
985
985
  try {
986
986
  if (yu.sync(E, {
987
987
  pathExt: n
988
988
  })) {
989
- if (e.all) {
989
+ if (D.all) {
990
990
  i.push(E);
991
991
  } else {
992
992
  return E;
993
993
  }
994
994
  }
995
- } catch (D) {}
995
+ } catch (e) {}
996
996
  }
997
997
  }
998
- if (e.all && i.length) {
998
+ if (D.all && i.length) {
999
999
  return i;
1000
1000
  }
1001
- if (e.nothrow) {
1001
+ if (D.nothrow) {
1002
1002
  return null;
1003
1003
  }
1004
- throw getNotFoundError(D);
1004
+ throw getNotFoundError(e);
1005
1005
  };
1006
1006
 
1007
1007
  var wu = {
1008
1008
  exports: {}
1009
1009
  };
1010
1010
 
1011
- var pathKey$1 = (D = {}) => {
1012
- var e = D.env || process.env;
1013
- if ("win32" !== (D.platform || process.platform)) {
1011
+ var pathKey$1 = (e = {}) => {
1012
+ var D = e.env || process.env;
1013
+ if ("win32" !== (e.platform || process.platform)) {
1014
1014
  return "PATH";
1015
1015
  }
1016
- return Object.keys(e).reverse().find((D => "PATH" === D.toUpperCase())) || "Path";
1016
+ return Object.keys(D).reverse().find((e => "PATH" === e.toUpperCase())) || "Path";
1017
1017
  };
1018
1018
 
1019
1019
  wu.exports = pathKey$1;
@@ -1026,65 +1026,65 @@ var Su = Au;
1026
1026
 
1027
1027
  var $u = wu.exports;
1028
1028
 
1029
- function resolveCommandAttempt(D, e) {
1030
- var r = D.options.env || process.env;
1029
+ function resolveCommandAttempt(e, D) {
1030
+ var r = e.options.env || process.env;
1031
1031
  var t = process.cwd();
1032
- var n = null != D.options.cwd;
1032
+ var n = null != e.options.cwd;
1033
1033
  var i = n && void 0 !== process.chdir && !process.chdir.disabled;
1034
1034
  if (i) {
1035
1035
  try {
1036
- process.chdir(D.options.cwd);
1037
- } catch (D) {}
1036
+ process.chdir(e.options.cwd);
1037
+ } catch (e) {}
1038
1038
  }
1039
1039
  var a;
1040
1040
  try {
1041
- a = Su.sync(D.command, {
1041
+ a = Su.sync(e.command, {
1042
1042
  path: r[$u({
1043
1043
  env: r
1044
1044
  })],
1045
- pathExt: e ? xu.delimiter : void 0
1045
+ pathExt: D ? xu.delimiter : void 0
1046
1046
  });
1047
- } catch (D) {} finally {
1047
+ } catch (e) {} finally {
1048
1048
  if (i) {
1049
1049
  process.chdir(t);
1050
1050
  }
1051
1051
  }
1052
1052
  if (a) {
1053
- a = xu.resolve(n ? D.options.cwd : "", a);
1053
+ a = xu.resolve(n ? e.options.cwd : "", a);
1054
1054
  }
1055
1055
  return a;
1056
1056
  }
1057
1057
 
1058
- var Tu = function resolveCommand$1(D) {
1059
- return resolveCommandAttempt(D) || resolveCommandAttempt(D, !0);
1058
+ var Tu = function resolveCommand$1(e) {
1059
+ return resolveCommandAttempt(e) || resolveCommandAttempt(e, !0);
1060
1060
  };
1061
1061
 
1062
1062
  var Iu = {};
1063
1063
 
1064
1064
  var Ou = /([()\][%!^"`<>&|;, *?])/g;
1065
1065
 
1066
- Iu.command = function escapeCommand(D) {
1067
- return D = D.replace(Ou, "^$1");
1066
+ Iu.command = function escapeCommand(e) {
1067
+ return e = e.replace(Ou, "^$1");
1068
1068
  };
1069
1069
 
1070
- Iu.argument = function escapeArgument(D, e) {
1071
- D = (D = `"${D = (D = (D = `${D}`).replace(/(\\*)"/g, '$1$1\\"')).replace(/(\\*)$/, "$1$1")}"`).replace(Ou, "^$1");
1072
- if (e) {
1073
- D = D.replace(Ou, "^$1");
1070
+ Iu.argument = function escapeArgument(e, D) {
1071
+ e = (e = `"${e = (e = (e = `${e}`).replace(/(\\*)"/g, '$1$1\\"')).replace(/(\\*)$/, "$1$1")}"`).replace(Ou, "^$1");
1072
+ if (D) {
1073
+ e = e.replace(Ou, "^$1");
1074
1074
  }
1075
- return D;
1075
+ return e;
1076
1076
  };
1077
1077
 
1078
1078
  var ku = /^#!(.*)/;
1079
1079
 
1080
- var Pu = s;
1080
+ var ju = s;
1081
1081
 
1082
- var shebangCommand = (D = "") => {
1083
- var e = D.match(ku);
1084
- if (!e) {
1082
+ var shebangCommand = (e = "") => {
1083
+ var D = e.match(ku);
1084
+ if (!D) {
1085
1085
  return null;
1086
1086
  }
1087
- var [r, t] = e[0].replace(/#! ?/, "").split(" ");
1087
+ var [r, t] = D[0].replace(/#! ?/, "").split(" ");
1088
1088
  var n = r.split("/").pop();
1089
1089
  if ("env" === n) {
1090
1090
  return t;
@@ -1092,21 +1092,21 @@ var shebangCommand = (D = "") => {
1092
1092
  return t ? `${n} ${t}` : n;
1093
1093
  };
1094
1094
 
1095
- var ju = c;
1095
+ var Pu = c;
1096
1096
 
1097
1097
  var Gu = Tu;
1098
1098
 
1099
1099
  var Ru = Iu;
1100
1100
 
1101
- var Lu = function readShebang$1(D) {
1102
- var e = Buffer.alloc(150);
1101
+ var Lu = function readShebang$1(e) {
1102
+ var D = Buffer.alloc(150);
1103
1103
  var r;
1104
1104
  try {
1105
- r = Pu.openSync(D, "r");
1106
- Pu.readSync(r, e, 0, 150, 0);
1107
- Pu.closeSync(r);
1108
- } catch (D) {}
1109
- return shebangCommand(e.toString());
1105
+ r = ju.openSync(e, "r");
1106
+ ju.readSync(r, D, 0, 150, 0);
1107
+ ju.closeSync(r);
1108
+ } catch (e) {}
1109
+ return shebangCommand(D.toString());
1110
1110
  };
1111
1111
 
1112
1112
  var Mu = "win32" === process.platform;
@@ -1115,73 +1115,73 @@ var _u = /\.(?:com|exe)$/i;
1115
1115
 
1116
1116
  var Nu = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
1117
1117
 
1118
- function parseNonShell(D) {
1118
+ function parseNonShell(e) {
1119
1119
  if (!Mu) {
1120
- return D;
1120
+ return e;
1121
1121
  }
1122
- var e = function detectShebang(D) {
1123
- D.file = Gu(D);
1124
- var e = D.file && Lu(D.file);
1125
- if (e) {
1126
- D.args.unshift(D.file);
1127
- D.command = e;
1128
- return Gu(D);
1129
- }
1130
- return D.file;
1131
- }(D);
1132
- var r = !_u.test(e);
1133
- if (D.options.forceShell || r) {
1134
- var t = Nu.test(e);
1135
- D.command = ju.normalize(D.command);
1136
- D.command = Ru.command(D.command);
1137
- D.args = D.args.map((D => Ru.argument(D, t)));
1138
- var n = [ D.command ].concat(D.args).join(" ");
1139
- D.args = [ "/d", "/s", "/c", `"${n}"` ];
1140
- D.command = process.env.comspec || "cmd.exe";
1141
- D.options.windowsVerbatimArguments = !0;
1122
+ var D = function detectShebang(e) {
1123
+ e.file = Gu(e);
1124
+ var D = e.file && Lu(e.file);
1125
+ if (D) {
1126
+ e.args.unshift(e.file);
1127
+ e.command = D;
1128
+ return Gu(e);
1129
+ }
1130
+ return e.file;
1131
+ }(e);
1132
+ var r = !_u.test(D);
1133
+ if (e.options.forceShell || r) {
1134
+ var t = Nu.test(D);
1135
+ e.command = Pu.normalize(e.command);
1136
+ e.command = Ru.command(e.command);
1137
+ e.args = e.args.map((e => Ru.argument(e, t)));
1138
+ var n = [ e.command ].concat(e.args).join(" ");
1139
+ e.args = [ "/d", "/s", "/c", `"${n}"` ];
1140
+ e.command = process.env.comspec || "cmd.exe";
1141
+ e.options.windowsVerbatimArguments = !0;
1142
1142
  }
1143
- return D;
1143
+ return e;
1144
1144
  }
1145
1145
 
1146
1146
  var Wu = "win32" === process.platform;
1147
1147
 
1148
- function notFoundError(D, e) {
1149
- return Object.assign(new Error(`${e} ${D.command} ENOENT`), {
1148
+ function notFoundError(e, D) {
1149
+ return Object.assign(new Error(`${D} ${e.command} ENOENT`), {
1150
1150
  code: "ENOENT",
1151
1151
  errno: "ENOENT",
1152
- syscall: `${e} ${D.command}`,
1153
- path: D.command,
1154
- spawnargs: D.args
1152
+ syscall: `${D} ${e.command}`,
1153
+ path: e.command,
1154
+ spawnargs: e.args
1155
1155
  });
1156
1156
  }
1157
1157
 
1158
- function verifyENOENT(D, e) {
1159
- if (Wu && 1 === D && !e.file) {
1160
- return notFoundError(e.original, "spawn");
1158
+ function verifyENOENT(e, D) {
1159
+ if (Wu && 1 === e && !D.file) {
1160
+ return notFoundError(D.original, "spawn");
1161
1161
  }
1162
1162
  return null;
1163
1163
  }
1164
1164
 
1165
1165
  var Uu = {
1166
- hookChildProcess: function hookChildProcess(D, e) {
1166
+ hookChildProcess: function hookChildProcess(e, D) {
1167
1167
  if (!Wu) {
1168
1168
  return;
1169
1169
  }
1170
- var r = D.emit;
1171
- D.emit = function(t, n) {
1170
+ var r = e.emit;
1171
+ e.emit = function(t, n) {
1172
1172
  if ("exit" === t) {
1173
- var i = verifyENOENT(n, e);
1173
+ var i = verifyENOENT(n, D);
1174
1174
  if (i) {
1175
- return r.call(D, "error", i);
1175
+ return r.call(e, "error", i);
1176
1176
  }
1177
1177
  }
1178
- return r.apply(D, arguments);
1178
+ return r.apply(e, arguments);
1179
1179
  };
1180
1180
  },
1181
1181
  verifyENOENT,
1182
- verifyENOENTSync: function verifyENOENTSync(D, e) {
1183
- if (Wu && 1 === D && !e.file) {
1184
- return notFoundError(e.original, "spawnSync");
1182
+ verifyENOENTSync: function verifyENOENTSync(e, D) {
1183
+ if (Wu && 1 === e && !D.file) {
1184
+ return notFoundError(D.original, "spawnSync");
1185
1185
  }
1186
1186
  return null;
1187
1187
  },
@@ -1190,19 +1190,19 @@ var Uu = {
1190
1190
 
1191
1191
  var qu = l;
1192
1192
 
1193
- var zu = function parse$1(D, e, r) {
1194
- if (e && !Array.isArray(e)) {
1195
- r = e;
1196
- e = null;
1193
+ var zu = function parse$1(e, D, r) {
1194
+ if (D && !Array.isArray(D)) {
1195
+ r = D;
1196
+ D = null;
1197
1197
  }
1198
1198
  var t = {
1199
- command: D,
1200
- args: e = e ? e.slice(0) : [],
1199
+ command: e,
1200
+ args: D = D ? D.slice(0) : [],
1201
1201
  options: r = Object.assign({}, r),
1202
1202
  file: void 0,
1203
1203
  original: {
1204
- command: D,
1205
- args: e
1204
+ command: e,
1205
+ args: D
1206
1206
  }
1207
1207
  };
1208
1208
  return r.shell ? t : parseNonShell(t);
@@ -1210,8 +1210,8 @@ var zu = function parse$1(D, e, r) {
1210
1210
 
1211
1211
  var Vu = Uu;
1212
1212
 
1213
- function spawn(D, e, r) {
1214
- var t = zu(D, e, r);
1213
+ function spawn(e, D, r) {
1214
+ var t = zu(e, D, r);
1215
1215
  var n = qu.spawn(t.command, t.args, t.options);
1216
1216
  Vu.hookChildProcess(n, t);
1217
1217
  return n;
@@ -1221,8 +1221,8 @@ Cu.exports = spawn;
1221
1221
 
1222
1222
  Cu.exports.spawn = spawn;
1223
1223
 
1224
- Cu.exports.sync = function spawnSync(D, e, r) {
1225
- var t = zu(D, e, r);
1224
+ Cu.exports.sync = function spawnSync(e, D, r) {
1225
+ var t = zu(e, D, r);
1226
1226
  var n = qu.spawnSync(t.command, t.args, t.options);
1227
1227
  n.error = n.error || Vu.verifyENOENTSync(n.status, t);
1228
1228
  return n;
@@ -1234,37 +1234,37 @@ Cu.exports._enoent = Vu;
1234
1234
 
1235
1235
  var Ku = getDefaultExportFromCjs(Cu.exports);
1236
1236
 
1237
- function pathKey(D = {}) {
1238
- var {env: e = process.env, platform: r = process.platform} = D;
1237
+ function pathKey(e = {}) {
1238
+ var {env: D = process.env, platform: r = process.platform} = e;
1239
1239
  if ("win32" !== r) {
1240
1240
  return "PATH";
1241
1241
  }
1242
- return Object.keys(e).reverse().find((D => "PATH" === D.toUpperCase())) || "Path";
1242
+ return Object.keys(D).reverse().find((e => "PATH" === e.toUpperCase())) || "Path";
1243
1243
  }
1244
1244
 
1245
- var applyPreferLocal = (D, e) => {
1245
+ var applyPreferLocal = (e, D) => {
1246
1246
  var r;
1247
- while (r !== e) {
1248
- D.push(n.join(e, "node_modules/.bin"));
1249
- r = e;
1250
- e = n.resolve(e, "..");
1247
+ while (r !== D) {
1248
+ e.push(n.join(D, "node_modules/.bin"));
1249
+ r = D;
1250
+ D = n.resolve(D, "..");
1251
1251
  }
1252
1252
  };
1253
1253
 
1254
- var applyExecPath = (D, e, r) => {
1255
- var t = e instanceof URL ? d.fileURLToPath(e) : e;
1256
- D.push(n.resolve(r, t, ".."));
1254
+ var applyExecPath = (e, D, r) => {
1255
+ var t = D instanceof URL ? d.fileURLToPath(D) : D;
1256
+ e.push(n.resolve(r, t, ".."));
1257
1257
  };
1258
1258
 
1259
- var npmRunPathEnv = ({env: e = D.env, ...r} = {}) => {
1259
+ var npmRunPathEnv = ({env: D = e.env, ...r} = {}) => {
1260
1260
  var t = pathKey({
1261
- env: e = {
1262
- ...e
1261
+ env: D = {
1262
+ ...D
1263
1263
  }
1264
1264
  });
1265
- r.path = e[t];
1266
- e[t] = (({cwd: e = D.cwd(), path: r = D.env[pathKey()], preferLocal: t = !0, execPath: i = D.execPath, addExecPath: a = !0} = {}) => {
1267
- var s = e instanceof URL ? d.fileURLToPath(e) : e;
1265
+ r.path = D[t];
1266
+ D[t] = (({cwd: D = e.cwd(), path: r = e.env[pathKey()], preferLocal: t = !0, execPath: i = e.execPath, addExecPath: a = !0} = {}) => {
1267
+ var s = D instanceof URL ? d.fileURLToPath(D) : D;
1268
1268
  var c = n.resolve(s);
1269
1269
  var l = [];
1270
1270
  if (t) {
@@ -1275,92 +1275,92 @@ var npmRunPathEnv = ({env: e = D.env, ...r} = {}) => {
1275
1275
  }
1276
1276
  return [ ...l, r ].join(n.delimiter);
1277
1277
  })(r);
1278
- return e;
1278
+ return D;
1279
1279
  };
1280
1280
 
1281
- var copyProperty = (D, e, r, t) => {
1281
+ var copyProperty = (e, D, r, t) => {
1282
1282
  if ("length" === r || "prototype" === r) {
1283
1283
  return;
1284
1284
  }
1285
1285
  if ("arguments" === r || "caller" === r) {
1286
1286
  return;
1287
1287
  }
1288
- var n = Object.getOwnPropertyDescriptor(D, r);
1289
- var i = Object.getOwnPropertyDescriptor(e, r);
1288
+ var n = Object.getOwnPropertyDescriptor(e, r);
1289
+ var i = Object.getOwnPropertyDescriptor(D, r);
1290
1290
  if (!canCopyProperty(n, i) && t) {
1291
1291
  return;
1292
1292
  }
1293
- Object.defineProperty(D, r, i);
1293
+ Object.defineProperty(e, r, i);
1294
1294
  };
1295
1295
 
1296
- var canCopyProperty = function(D, e) {
1297
- return void 0 === D || D.configurable || D.writable === e.writable && D.enumerable === e.enumerable && D.configurable === e.configurable && (D.writable || D.value === e.value);
1296
+ var canCopyProperty = function(e, D) {
1297
+ return void 0 === e || e.configurable || e.writable === D.writable && e.enumerable === D.enumerable && e.configurable === D.configurable && (e.writable || e.value === D.value);
1298
1298
  };
1299
1299
 
1300
- var wrappedToString = (D, e) => `/* Wrapped ${D}*/\n${e}`;
1300
+ var wrappedToString = (e, D) => `/* Wrapped ${e}*/\n${D}`;
1301
1301
 
1302
1302
  var Hu = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
1303
1303
 
1304
1304
  var Yu = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
1305
1305
 
1306
- function mimicFunction(D, e, {ignoreNonConfigurable: r = !1} = {}) {
1307
- var {name: t} = D;
1308
- for (var n of Reflect.ownKeys(e)) {
1309
- copyProperty(D, e, n, r);
1306
+ function mimicFunction(e, D, {ignoreNonConfigurable: r = !1} = {}) {
1307
+ var {name: t} = e;
1308
+ for (var n of Reflect.ownKeys(D)) {
1309
+ copyProperty(e, D, n, r);
1310
1310
  }
1311
- ((D, e) => {
1312
- var r = Object.getPrototypeOf(e);
1313
- if (r === Object.getPrototypeOf(D)) {
1311
+ ((e, D) => {
1312
+ var r = Object.getPrototypeOf(D);
1313
+ if (r === Object.getPrototypeOf(e)) {
1314
1314
  return;
1315
1315
  }
1316
- Object.setPrototypeOf(D, r);
1317
- })(D, e);
1318
- ((D, e, r) => {
1316
+ Object.setPrototypeOf(e, r);
1317
+ })(e, D);
1318
+ ((e, D, r) => {
1319
1319
  var t = "" === r ? "" : `with ${r.trim()}() `;
1320
- var n = wrappedToString.bind(null, t, e.toString());
1320
+ var n = wrappedToString.bind(null, t, D.toString());
1321
1321
  Object.defineProperty(n, "name", Yu);
1322
- Object.defineProperty(D, "toString", {
1322
+ Object.defineProperty(e, "toString", {
1323
1323
  ...Hu,
1324
1324
  value: n
1325
1325
  });
1326
- })(D, e, t);
1327
- return D;
1326
+ })(e, D, t);
1327
+ return e;
1328
1328
  }
1329
1329
 
1330
1330
  var Ju = new WeakMap;
1331
1331
 
1332
- var onetime = (D, e = {}) => {
1333
- if ("function" != typeof D) {
1332
+ var onetime = (e, D = {}) => {
1333
+ if ("function" != typeof e) {
1334
1334
  throw new TypeError("Expected a function");
1335
1335
  }
1336
1336
  var r;
1337
1337
  var t = 0;
1338
- var n = D.displayName || D.name || "<anonymous>";
1338
+ var n = e.displayName || e.name || "<anonymous>";
1339
1339
  var onetime = function(...i) {
1340
1340
  Ju.set(onetime, ++t);
1341
1341
  if (1 === t) {
1342
- r = D.apply(this, i);
1343
- D = null;
1344
- } else if (!0 === e.throw) {
1342
+ r = e.apply(this, i);
1343
+ e = null;
1344
+ } else if (!0 === D.throw) {
1345
1345
  throw new Error(`Function \`${n}\` can only be called once`);
1346
1346
  }
1347
1347
  return r;
1348
1348
  };
1349
- mimicFunction(onetime, D);
1349
+ mimicFunction(onetime, e);
1350
1350
  Ju.set(onetime, t);
1351
1351
  return onetime;
1352
1352
  };
1353
1353
 
1354
- onetime.callCount = D => {
1355
- if (!Ju.has(D)) {
1356
- throw new Error(`The given function \`${D.name}\` is not wrapped by the \`onetime\` package`);
1354
+ onetime.callCount = e => {
1355
+ if (!Ju.has(e)) {
1356
+ throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);
1357
1357
  }
1358
- return Ju.get(D);
1358
+ return Ju.get(e);
1359
1359
  };
1360
1360
 
1361
- var getRealtimeSignal = (D, e) => ({
1362
- name: `SIGRT${e + 1}`,
1363
- number: Xu + e,
1361
+ var getRealtimeSignal = (e, D) => ({
1362
+ name: `SIGRT${D + 1}`,
1363
+ number: Xu + D,
1364
1364
  action: "terminate",
1365
1365
  description: "Application-specific signal (realtime)",
1366
1366
  standard: "posix"
@@ -1604,18 +1604,18 @@ var Qu = [ {
1604
1604
  } ];
1605
1605
 
1606
1606
  var getSignals = () => {
1607
- var D = Array.from({
1607
+ var e = Array.from({
1608
1608
  length: Zu - Xu + 1
1609
1609
  }, getRealtimeSignal);
1610
- return [ ...Qu, ...D ].map(normalizeSignal);
1610
+ return [ ...Qu, ...e ].map(normalizeSignal);
1611
1611
  };
1612
1612
 
1613
- var normalizeSignal = ({name: D, number: e, description: r, action: t, forced: n = !1, standard: i}) => {
1614
- var {signals: {[D]: a}} = p.constants;
1613
+ var normalizeSignal = ({name: e, number: D, description: r, action: t, forced: n = !1, standard: i}) => {
1614
+ var {signals: {[e]: a}} = p.constants;
1615
1615
  var s = void 0 !== a;
1616
1616
  return {
1617
- name: D,
1618
- number: s ? a : e,
1617
+ name: e,
1618
+ number: s ? a : D,
1619
1619
  description: r,
1620
1620
  supported: s,
1621
1621
  action: t,
@@ -1624,9 +1624,9 @@ var normalizeSignal = ({name: D, number: e, description: r, action: t, forced: n
1624
1624
  };
1625
1625
  };
1626
1626
 
1627
- var getSignalByName = ({name: D, number: e, description: r, supported: t, action: n, forced: i, standard: a}) => [ D, {
1628
- name: D,
1629
- number: e,
1627
+ var getSignalByName = ({name: e, number: D, description: r, supported: t, action: n, forced: i, standard: a}) => [ e, {
1628
+ name: e,
1629
+ number: D,
1630
1630
  description: r,
1631
1631
  supported: t,
1632
1632
  action: n,
@@ -1634,21 +1634,21 @@ var getSignalByName = ({name: D, number: e, description: r, supported: t, action
1634
1634
  standard: a
1635
1635
  } ];
1636
1636
 
1637
- var uD = (() => {
1638
- var D = getSignals();
1639
- return Object.fromEntries(D.map(getSignalByName));
1637
+ var ee = (() => {
1638
+ var e = getSignals();
1639
+ return Object.fromEntries(e.map(getSignalByName));
1640
1640
  })();
1641
1641
 
1642
- var getSignalByNumber = (D, e) => {
1643
- var r = findSignalByNumber(D, e);
1642
+ var getSignalByNumber = (e, D) => {
1643
+ var r = findSignalByNumber(e, D);
1644
1644
  if (void 0 === r) {
1645
1645
  return {};
1646
1646
  }
1647
1647
  var {name: t, description: n, supported: i, action: a, forced: s, standard: c} = r;
1648
1648
  return {
1649
- [D]: {
1649
+ [e]: {
1650
1650
  name: t,
1651
- number: D,
1651
+ number: e,
1652
1652
  description: n,
1653
1653
  supported: i,
1654
1654
  action: a,
@@ -1658,27 +1658,27 @@ var getSignalByNumber = (D, e) => {
1658
1658
  };
1659
1659
  };
1660
1660
 
1661
- var findSignalByNumber = (D, e) => {
1662
- var r = e.find((({name: e}) => p.constants.signals[e] === D));
1661
+ var findSignalByNumber = (e, D) => {
1662
+ var r = D.find((({name: D}) => p.constants.signals[D] === e));
1663
1663
  if (void 0 !== r) {
1664
1664
  return r;
1665
1665
  }
1666
- return e.find((e => e.number === D));
1666
+ return D.find((D => D.number === e));
1667
1667
  };
1668
1668
 
1669
1669
  (() => {
1670
- var D = getSignals();
1671
- var e = Array.from({
1670
+ var e = getSignals();
1671
+ var D = Array.from({
1672
1672
  length: Zu + 1
1673
- }, ((e, r) => getSignalByNumber(r, D)));
1674
- Object.assign({}, ...e);
1673
+ }, ((D, r) => getSignalByNumber(r, e)));
1674
+ Object.assign({}, ...D);
1675
1675
  })();
1676
1676
 
1677
- var makeError = ({stdout: e, stderr: r, all: t, error: n, signal: i, exitCode: a, command: s, escapedCommand: c, timedOut: l, isCanceled: d, killed: p, parsed: {options: {timeout: E, cwd: f = D.cwd()}}}) => {
1678
- var h = void 0 === (i = null === i ? void 0 : i) ? void 0 : uD[i].description;
1679
- var m = (({timedOut: D, timeout: e, errorCode: r, signal: t, signalDescription: n, exitCode: i, isCanceled: a}) => {
1680
- if (D) {
1681
- return `timed out after ${e} milliseconds`;
1677
+ var makeError = ({stdout: D, stderr: r, all: t, error: n, signal: i, exitCode: a, command: s, escapedCommand: c, timedOut: l, isCanceled: d, killed: p, parsed: {options: {timeout: E, cwd: f = e.cwd()}}}) => {
1678
+ var h = void 0 === (i = null === i ? void 0 : i) ? void 0 : ee[i].description;
1679
+ var m = (({timedOut: e, timeout: D, errorCode: r, signal: t, signalDescription: n, exitCode: i, isCanceled: a}) => {
1680
+ if (e) {
1681
+ return `timed out after ${D} milliseconds`;
1682
1682
  }
1683
1683
  if (a) {
1684
1684
  return "was canceled";
@@ -1705,7 +1705,7 @@ var makeError = ({stdout: e, stderr: r, all: t, error: n, signal: i, exitCode: a
1705
1705
  var g = `Command ${m}: ${s}`;
1706
1706
  var B = "[object Error]" === Object.prototype.toString.call(n);
1707
1707
  var b = B ? `${g}\n${n.message}` : g;
1708
- var w = [ b, r, e ].filter(Boolean).join("\n");
1708
+ var w = [ b, r, D ].filter(Boolean).join("\n");
1709
1709
  if (B) {
1710
1710
  n.originalMessage = n.message;
1711
1711
  n.message = w;
@@ -1718,7 +1718,7 @@ var makeError = ({stdout: e, stderr: r, all: t, error: n, signal: i, exitCode: a
1718
1718
  n.exitCode = a;
1719
1719
  n.signal = i;
1720
1720
  n.signalDescription = h;
1721
- n.stdout = e;
1721
+ n.stdout = D;
1722
1722
  n.stderr = r;
1723
1723
  n.cwd = f;
1724
1724
  if (void 0 !== t) {
@@ -1734,50 +1734,50 @@ var makeError = ({stdout: e, stderr: r, all: t, error: n, signal: i, exitCode: a
1734
1734
  return n;
1735
1735
  };
1736
1736
 
1737
- var DD = [ "stdin", "stdout", "stderr" ];
1737
+ var De = [ "stdin", "stdout", "stderr" ];
1738
1738
 
1739
- var normalizeStdio = D => {
1740
- if (!D) {
1739
+ var normalizeStdio = e => {
1740
+ if (!e) {
1741
1741
  return;
1742
1742
  }
1743
- var {stdio: e} = D;
1744
- if (void 0 === e) {
1745
- return DD.map((e => D[e]));
1743
+ var {stdio: D} = e;
1744
+ if (void 0 === D) {
1745
+ return De.map((D => e[D]));
1746
1746
  }
1747
- if ((D => DD.some((e => void 0 !== D[e])))(D)) {
1748
- throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${DD.map((D => `\`${D}\``)).join(", ")}`);
1747
+ if ((e => De.some((D => void 0 !== e[D])))(e)) {
1748
+ throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${De.map((e => `\`${e}\``)).join(", ")}`);
1749
1749
  }
1750
- if ("string" == typeof e) {
1751
- return e;
1750
+ if ("string" == typeof D) {
1751
+ return D;
1752
1752
  }
1753
- if (!Array.isArray(e)) {
1754
- throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof e}\``);
1753
+ if (!Array.isArray(D)) {
1754
+ throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof D}\``);
1755
1755
  }
1756
- var r = Math.max(e.length, DD.length);
1756
+ var r = Math.max(D.length, De.length);
1757
1757
  return Array.from({
1758
1758
  length: r
1759
- }, ((D, r) => e[r]));
1759
+ }, ((e, r) => D[r]));
1760
1760
  };
1761
1761
 
1762
- var eD = [];
1762
+ var re = [];
1763
1763
 
1764
- eD.push("SIGHUP", "SIGINT", "SIGTERM");
1764
+ re.push("SIGHUP", "SIGINT", "SIGTERM");
1765
1765
 
1766
1766
  if ("win32" !== process.platform) {
1767
- eD.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
1767
+ re.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
1768
1768
  }
1769
1769
 
1770
1770
  if ("linux" === process.platform) {
1771
- eD.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
1771
+ re.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
1772
1772
  }
1773
1773
 
1774
- var processOk = D => !!D && "object" == typeof D && "function" == typeof D.removeListener && "function" == typeof D.emit && "function" == typeof D.reallyExit && "function" == typeof D.listeners && "function" == typeof D.kill && "number" == typeof D.pid && "function" == typeof D.on;
1774
+ var processOk = e => !!e && "object" == typeof e && "function" == typeof e.removeListener && "function" == typeof e.emit && "function" == typeof e.reallyExit && "function" == typeof e.listeners && "function" == typeof e.kill && "number" == typeof e.pid && "function" == typeof e.on;
1775
1775
 
1776
- var rD = Symbol.for("signal-exit emitter");
1776
+ var ne = Symbol.for("signal-exit emitter");
1777
1777
 
1778
- var nD = globalThis;
1778
+ var ie = globalThis;
1779
1779
 
1780
- var iD = Object.defineProperty.bind(Object);
1780
+ var ae = Object.defineProperty.bind(Object);
1781
1781
 
1782
1782
  class Emitter {
1783
1783
  emitted={
@@ -1791,22 +1791,22 @@ class Emitter {
1791
1791
  count=0;
1792
1792
  id=Math.random();
1793
1793
  constructor() {
1794
- if (nD[rD]) {
1795
- return nD[rD];
1794
+ if (ie[ne]) {
1795
+ return ie[ne];
1796
1796
  }
1797
- iD(nD, rD, {
1797
+ ae(ie, ne, {
1798
1798
  value: this,
1799
1799
  writable: !1,
1800
1800
  enumerable: !1,
1801
1801
  configurable: !1
1802
1802
  });
1803
1803
  }
1804
- on(D, e) {
1805
- this.listeners[D].push(e);
1804
+ on(e, D) {
1805
+ this.listeners[e].push(D);
1806
1806
  }
1807
- removeListener(D, e) {
1808
- var r = this.listeners[D];
1809
- var t = r.indexOf(e);
1807
+ removeListener(e, D) {
1808
+ var r = this.listeners[e];
1809
+ var t = r.indexOf(D);
1810
1810
  if (-1 === t) {
1811
1811
  return;
1812
1812
  }
@@ -1816,17 +1816,17 @@ class Emitter {
1816
1816
  r.splice(t, 1);
1817
1817
  }
1818
1818
  }
1819
- emit(D, e, r) {
1820
- if (this.emitted[D]) {
1819
+ emit(e, D, r) {
1820
+ if (this.emitted[e]) {
1821
1821
  return !1;
1822
1822
  }
1823
- this.emitted[D] = !0;
1823
+ this.emitted[e] = !0;
1824
1824
  var t = !1;
1825
- for (var n of this.listeners[D]) {
1826
- t = !0 === n(e, r) || t;
1825
+ for (var n of this.listeners[e]) {
1826
+ t = !0 === n(D, r) || t;
1827
1827
  }
1828
- if ("exit" === D) {
1829
- t = this.emit("afterExit", e, r) || t;
1828
+ if ("exit" === e) {
1829
+ t = this.emit("afterExit", D, r) || t;
1830
1830
  }
1831
1831
  return t;
1832
1832
  }
@@ -1834,57 +1834,57 @@ class Emitter {
1834
1834
 
1835
1835
  class SignalExitBase {}
1836
1836
 
1837
- var sD = globalThis.process;
1837
+ var oe = globalThis.process;
1838
1838
 
1839
- var {onExit: oD} = (cD = processOk(sD) ? new class SignalExit extends SignalExitBase {
1840
- #u="win32" === sD.platform ? "SIGINT" : "SIGHUP";
1841
- #D=new Emitter;
1842
- #e;
1839
+ var {onExit: ce} = (Fe = processOk(oe) ? new class SignalExit extends SignalExitBase {
1840
+ #u="win32" === oe.platform ? "SIGINT" : "SIGHUP";
1841
+ #e=new Emitter;
1842
+ #D;
1843
1843
  #r;
1844
1844
  #t;
1845
1845
  #n={};
1846
1846
  #i=!1;
1847
- constructor(D) {
1848
- var e;
1847
+ constructor(e) {
1848
+ var D;
1849
1849
  super();
1850
- e = this;
1851
- this.#e = D;
1850
+ D = this;
1851
+ this.#D = e;
1852
1852
  this.#n = {};
1853
1853
  var _loop = function(r) {
1854
- e.#n[r] = () => {
1855
- var t = e.#e.listeners(r);
1856
- var {count: n} = e.#D;
1857
- if ("object" == typeof D.__signal_exit_emitter__ && "number" == typeof D.__signal_exit_emitter__.count) {
1858
- n += D.__signal_exit_emitter__.count;
1854
+ D.#n[r] = () => {
1855
+ var t = D.#D.listeners(r);
1856
+ var {count: n} = D.#e;
1857
+ if ("object" == typeof e.__signal_exit_emitter__ && "number" == typeof e.__signal_exit_emitter__.count) {
1858
+ n += e.__signal_exit_emitter__.count;
1859
1859
  }
1860
1860
  if (t.length === n) {
1861
- e.unload();
1862
- var i = e.#D.emit("exit", null, r);
1863
- var a = "SIGHUP" === r ? e.#u : r;
1861
+ D.unload();
1862
+ var i = D.#e.emit("exit", null, r);
1863
+ var a = "SIGHUP" === r ? D.#u : r;
1864
1864
  if (!i) {
1865
- D.kill(D.pid, a);
1865
+ e.kill(e.pid, a);
1866
1866
  }
1867
1867
  }
1868
1868
  };
1869
1869
  };
1870
- for (var r of eD) {
1870
+ for (var r of re) {
1871
1871
  _loop(r);
1872
1872
  }
1873
- this.#t = D.reallyExit;
1874
- this.#r = D.emit;
1873
+ this.#t = e.reallyExit;
1874
+ this.#r = e.emit;
1875
1875
  }
1876
- onExit(D, e) {
1877
- if (!processOk(this.#e)) {
1876
+ onExit(e, D) {
1877
+ if (!processOk(this.#D)) {
1878
1878
  return () => {};
1879
1879
  }
1880
1880
  if (!1 === this.#i) {
1881
1881
  this.load();
1882
1882
  }
1883
- var r = e?.alwaysLast ? "afterExit" : "exit";
1884
- this.#D.on(r, D);
1883
+ var r = D?.alwaysLast ? "afterExit" : "exit";
1884
+ this.#e.on(r, e);
1885
1885
  return () => {
1886
- this.#D.removeListener(r, D);
1887
- if (0 === this.#D.listeners.exit.length && 0 === this.#D.listeners.afterExit.length) {
1886
+ this.#e.removeListener(r, e);
1887
+ if (0 === this.#e.listeners.exit.length && 0 === this.#e.listeners.afterExit.length) {
1888
1888
  this.unload();
1889
1889
  }
1890
1890
  };
@@ -1894,125 +1894,125 @@ var {onExit: oD} = (cD = processOk(sD) ? new class SignalExit extends SignalExit
1894
1894
  return;
1895
1895
  }
1896
1896
  this.#i = !0;
1897
- this.#D.count += 1;
1898
- for (var D of eD) {
1897
+ this.#e.count += 1;
1898
+ for (var e of re) {
1899
1899
  try {
1900
- var e = this.#n[D];
1901
- if (e) {
1902
- this.#e.on(D, e);
1900
+ var D = this.#n[e];
1901
+ if (D) {
1902
+ this.#D.on(e, D);
1903
1903
  }
1904
- } catch (D) {}
1904
+ } catch (e) {}
1905
1905
  }
1906
- this.#e.emit = (D, ...e) => this.#a(D, ...e);
1907
- this.#e.reallyExit = D => this.#s(D);
1906
+ this.#D.emit = (e, ...D) => this.#a(e, ...D);
1907
+ this.#D.reallyExit = e => this.#s(e);
1908
1908
  }
1909
1909
  unload() {
1910
1910
  if (!this.#i) {
1911
1911
  return;
1912
1912
  }
1913
1913
  this.#i = !1;
1914
- eD.forEach((D => {
1915
- var e = this.#n[D];
1916
- if (!e) {
1917
- throw new Error("Listener not defined for signal: " + D);
1914
+ re.forEach((e => {
1915
+ var D = this.#n[e];
1916
+ if (!D) {
1917
+ throw new Error("Listener not defined for signal: " + e);
1918
1918
  }
1919
1919
  try {
1920
- this.#e.removeListener(D, e);
1921
- } catch (D) {}
1920
+ this.#D.removeListener(e, D);
1921
+ } catch (e) {}
1922
1922
  }));
1923
- this.#e.emit = this.#r;
1924
- this.#e.reallyExit = this.#t;
1925
- this.#D.count -= 1;
1923
+ this.#D.emit = this.#r;
1924
+ this.#D.reallyExit = this.#t;
1925
+ this.#e.count -= 1;
1926
1926
  }
1927
- #s(D) {
1928
- if (!processOk(this.#e)) {
1927
+ #s(e) {
1928
+ if (!processOk(this.#D)) {
1929
1929
  return 0;
1930
1930
  }
1931
- this.#e.exitCode = D || 0;
1932
- this.#D.emit("exit", this.#e.exitCode, null);
1933
- return this.#t.call(this.#e, this.#e.exitCode);
1931
+ this.#D.exitCode = e || 0;
1932
+ this.#e.emit("exit", this.#D.exitCode, null);
1933
+ return this.#t.call(this.#D, this.#D.exitCode);
1934
1934
  }
1935
- #a(D, ...e) {
1935
+ #a(e, ...D) {
1936
1936
  var r = this.#r;
1937
- if ("exit" === D && processOk(this.#e)) {
1938
- if ("number" == typeof e[0]) {
1939
- this.#e.exitCode = e[0];
1937
+ if ("exit" === e && processOk(this.#D)) {
1938
+ if ("number" == typeof D[0]) {
1939
+ this.#D.exitCode = D[0];
1940
1940
  }
1941
- var t = r.call(this.#e, D, ...e);
1942
- this.#D.emit("exit", this.#e.exitCode, null);
1941
+ var t = r.call(this.#D, e, ...D);
1942
+ this.#e.emit("exit", this.#D.exitCode, null);
1943
1943
  return t;
1944
1944
  } else {
1945
- return r.call(this.#e, D, ...e);
1945
+ return r.call(this.#D, e, ...D);
1946
1946
  }
1947
1947
  }
1948
- }(sD) : new class SignalExitFallback extends SignalExitBase {
1948
+ }(oe) : new class SignalExitFallback extends SignalExitBase {
1949
1949
  onExit() {
1950
1950
  return () => {};
1951
1951
  }
1952
1952
  load() {}
1953
1953
  unload() {}
1954
1954
  }, {
1955
- onExit: (D, e) => cD.onExit(D, e),
1956
- load: () => cD.load(),
1957
- unload: () => cD.unload()
1955
+ onExit: (e, D) => Fe.onExit(e, D),
1956
+ load: () => Fe.load(),
1957
+ unload: () => Fe.unload()
1958
1958
  });
1959
1959
 
1960
- var cD;
1960
+ var Fe;
1961
1961
 
1962
- var spawnedKill = (D, e = "SIGTERM", r = {}) => {
1963
- var t = D(e);
1964
- setKillTimeout(D, e, r, t);
1962
+ var spawnedKill = (e, D = "SIGTERM", r = {}) => {
1963
+ var t = e(D);
1964
+ setKillTimeout(e, D, r, t);
1965
1965
  return t;
1966
1966
  };
1967
1967
 
1968
- var setKillTimeout = (D, e, r, t) => {
1969
- if (!shouldForceKill(e, r, t)) {
1968
+ var setKillTimeout = (e, D, r, t) => {
1969
+ if (!shouldForceKill(D, r, t)) {
1970
1970
  return;
1971
1971
  }
1972
1972
  var n = getForceKillAfterTimeout(r);
1973
1973
  var i = setTimeout((() => {
1974
- D("SIGKILL");
1974
+ e("SIGKILL");
1975
1975
  }), n);
1976
1976
  if (i.unref) {
1977
1977
  i.unref();
1978
1978
  }
1979
1979
  };
1980
1980
 
1981
- var shouldForceKill = (D, {forceKillAfterTimeout: e}, r) => isSigterm(D) && !1 !== e && r;
1981
+ var shouldForceKill = (e, {forceKillAfterTimeout: D}, r) => isSigterm(e) && !1 !== D && r;
1982
1982
 
1983
- var isSigterm = D => D === p.constants.signals.SIGTERM || "string" == typeof D && "SIGTERM" === D.toUpperCase();
1983
+ var isSigterm = e => e === p.constants.signals.SIGTERM || "string" == typeof e && "SIGTERM" === e.toUpperCase();
1984
1984
 
1985
- var getForceKillAfterTimeout = ({forceKillAfterTimeout: D = !0}) => {
1986
- if (!0 === D) {
1985
+ var getForceKillAfterTimeout = ({forceKillAfterTimeout: e = !0}) => {
1986
+ if (!0 === e) {
1987
1987
  return 5e3;
1988
1988
  }
1989
- if (!Number.isFinite(D) || D < 0) {
1990
- throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${D}\` (${typeof D})`);
1989
+ if (!Number.isFinite(e) || e < 0) {
1990
+ throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);
1991
1991
  }
1992
- return D;
1992
+ return e;
1993
1993
  };
1994
1994
 
1995
- var spawnedCancel = (D, e) => {
1996
- if (D.kill()) {
1997
- e.isCanceled = !0;
1995
+ var spawnedCancel = (e, D) => {
1996
+ if (e.kill()) {
1997
+ D.isCanceled = !0;
1998
1998
  }
1999
1999
  };
2000
2000
 
2001
- var setupTimeout = (D, {timeout: e, killSignal: r = "SIGTERM"}, t) => {
2002
- if (0 === e || void 0 === e) {
2001
+ var setupTimeout = (e, {timeout: D, killSignal: r = "SIGTERM"}, t) => {
2002
+ if (0 === D || void 0 === D) {
2003
2003
  return t;
2004
2004
  }
2005
2005
  var n;
2006
2006
  var i = new Promise(((t, i) => {
2007
2007
  n = setTimeout((() => {
2008
- ((D, e, r) => {
2009
- D.kill(e);
2008
+ ((e, D, r) => {
2009
+ e.kill(D);
2010
2010
  r(Object.assign(new Error("Timed out"), {
2011
2011
  timedOut: !0,
2012
- signal: e
2012
+ signal: D
2013
2013
  }));
2014
- })(D, r, i);
2015
- }), e);
2014
+ })(e, r, i);
2015
+ }), D);
2016
2016
  }));
2017
2017
  var a = t.finally((() => {
2018
2018
  clearTimeout(n);
@@ -2020,71 +2020,71 @@ var setupTimeout = (D, {timeout: e, killSignal: r = "SIGTERM"}, t) => {
2020
2020
  return Promise.race([ i, a ]);
2021
2021
  };
2022
2022
 
2023
- var validateTimeout = ({timeout: D}) => {
2024
- if (void 0 !== D && (!Number.isFinite(D) || D < 0)) {
2025
- throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${D}\` (${typeof D})`);
2023
+ var validateTimeout = ({timeout: e}) => {
2024
+ if (void 0 !== e && (!Number.isFinite(e) || e < 0)) {
2025
+ throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);
2026
2026
  }
2027
2027
  };
2028
2028
 
2029
- var setExitHandler = async (D, {cleanup: e, detached: r}, t) => {
2030
- if (!e || r) {
2029
+ var setExitHandler = async (e, {cleanup: D, detached: r}, t) => {
2030
+ if (!D || r) {
2031
2031
  return t;
2032
2032
  }
2033
- var n = oD((() => {
2034
- D.kill();
2033
+ var n = ce((() => {
2034
+ e.kill();
2035
2035
  }));
2036
2036
  return t.finally((() => {
2037
2037
  n();
2038
2038
  }));
2039
2039
  };
2040
2040
 
2041
- function isStream(D) {
2042
- return null !== D && "object" == typeof D && "function" == typeof D.pipe;
2041
+ function isStream(e) {
2042
+ return null !== e && "object" == typeof e && "function" == typeof e.pipe;
2043
2043
  }
2044
2044
 
2045
- function isWritableStream(D) {
2046
- return isStream(D) && !1 !== D.writable && "function" == typeof D._write && "object" == typeof D._writableState;
2045
+ function isWritableStream(e) {
2046
+ return isStream(e) && !1 !== e.writable && "function" == typeof e._write && "object" == typeof e._writableState;
2047
2047
  }
2048
2048
 
2049
- var pipeToTarget = (D, e, r) => {
2049
+ var pipeToTarget = (e, D, r) => {
2050
2050
  if ("string" == typeof r) {
2051
- D[e].pipe(E.createWriteStream(r));
2052
- return D;
2051
+ e[D].pipe(E.createWriteStream(r));
2052
+ return e;
2053
2053
  }
2054
2054
  if (isWritableStream(r)) {
2055
- D[e].pipe(r);
2056
- return D;
2055
+ e[D].pipe(r);
2056
+ return e;
2057
2057
  }
2058
- if (!(D => D instanceof a.ChildProcess && "function" == typeof D.then)(r)) {
2058
+ if (!(e => e instanceof a.ChildProcess && "function" == typeof e.then)(r)) {
2059
2059
  throw new TypeError("The second argument must be a string, a stream or an Execa child process.");
2060
2060
  }
2061
2061
  if (!isWritableStream(r.stdin)) {
2062
2062
  throw new TypeError("The target child process's stdin must be available.");
2063
2063
  }
2064
- D[e].pipe(r.stdin);
2064
+ e[D].pipe(r.stdin);
2065
2065
  return r;
2066
2066
  };
2067
2067
 
2068
- var addPipeMethods = D => {
2069
- if (null !== D.stdout) {
2070
- D.pipeStdout = pipeToTarget.bind(void 0, D, "stdout");
2068
+ var addPipeMethods = e => {
2069
+ if (null !== e.stdout) {
2070
+ e.pipeStdout = pipeToTarget.bind(void 0, e, "stdout");
2071
2071
  }
2072
- if (null !== D.stderr) {
2073
- D.pipeStderr = pipeToTarget.bind(void 0, D, "stderr");
2072
+ if (null !== e.stderr) {
2073
+ e.pipeStderr = pipeToTarget.bind(void 0, e, "stderr");
2074
2074
  }
2075
- if (void 0 !== D.all) {
2076
- D.pipeAll = pipeToTarget.bind(void 0, D, "all");
2075
+ if (void 0 !== e.all) {
2076
+ e.pipeAll = pipeToTarget.bind(void 0, e, "all");
2077
2077
  }
2078
2078
  };
2079
2079
 
2080
- var getStreamContents = async (D, {init: e, convertChunk: r, getSize: t, truncateChunk: n, addChunk: i, getFinalChunk: a, finalize: s}, {maxBuffer: c = Number.POSITIVE_INFINITY} = {}) => {
2081
- if (!isAsyncIterable(D)) {
2080
+ var getStreamContents = async (e, {init: D, convertChunk: r, getSize: t, truncateChunk: n, addChunk: i, getFinalChunk: a, finalize: s}, {maxBuffer: c = Number.POSITIVE_INFINITY} = {}) => {
2081
+ if (!isAsyncIterable(e)) {
2082
2082
  throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");
2083
2083
  }
2084
- var l = e();
2084
+ var l = D();
2085
2085
  l.length = 0;
2086
2086
  try {
2087
- for await (var d of D) {
2087
+ for await (var d of e) {
2088
2088
  var p = r[getChunkType(d)](d, l);
2089
2089
  appendChunk({
2090
2090
  convertedChunk: p,
@@ -2105,19 +2105,19 @@ var getStreamContents = async (D, {init: e, convertChunk: r, getSize: t, truncat
2105
2105
  maxBuffer: c
2106
2106
  });
2107
2107
  return s(l);
2108
- } catch (D) {
2109
- D.bufferedData = s(l);
2110
- throw D;
2108
+ } catch (e) {
2109
+ e.bufferedData = s(l);
2110
+ throw e;
2111
2111
  }
2112
2112
  };
2113
2113
 
2114
- var appendFinalChunk = ({state: D, getSize: e, truncateChunk: r, addChunk: t, getFinalChunk: n, maxBuffer: i}) => {
2115
- var a = n(D);
2114
+ var appendFinalChunk = ({state: e, getSize: D, truncateChunk: r, addChunk: t, getFinalChunk: n, maxBuffer: i}) => {
2115
+ var a = n(e);
2116
2116
  if (void 0 !== a) {
2117
2117
  appendChunk({
2118
2118
  convertedChunk: a,
2119
- state: D,
2120
- getSize: e,
2119
+ state: e,
2120
+ getSize: D,
2121
2121
  truncateChunk: r,
2122
2122
  addChunk: t,
2123
2123
  maxBuffer: i
@@ -2125,52 +2125,52 @@ var appendFinalChunk = ({state: D, getSize: e, truncateChunk: r, addChunk: t, ge
2125
2125
  }
2126
2126
  };
2127
2127
 
2128
- var appendChunk = ({convertedChunk: D, state: e, getSize: r, truncateChunk: t, addChunk: n, maxBuffer: i}) => {
2129
- var a = r(D);
2130
- var s = e.length + a;
2128
+ var appendChunk = ({convertedChunk: e, state: D, getSize: r, truncateChunk: t, addChunk: n, maxBuffer: i}) => {
2129
+ var a = r(e);
2130
+ var s = D.length + a;
2131
2131
  if (s <= i) {
2132
- addNewChunk(D, e, n, s);
2132
+ addNewChunk(e, D, n, s);
2133
2133
  return;
2134
2134
  }
2135
- var c = t(D, i - e.length);
2135
+ var c = t(e, i - D.length);
2136
2136
  if (void 0 !== c) {
2137
- addNewChunk(c, e, n, i);
2137
+ addNewChunk(c, D, n, i);
2138
2138
  }
2139
2139
  throw new MaxBufferError;
2140
2140
  };
2141
2141
 
2142
- var addNewChunk = (D, e, r, t) => {
2143
- e.contents = r(D, e, t);
2144
- e.length = t;
2142
+ var addNewChunk = (e, D, r, t) => {
2143
+ D.contents = r(e, D, t);
2144
+ D.length = t;
2145
2145
  };
2146
2146
 
2147
- var isAsyncIterable = D => "object" == typeof D && null !== D && "function" == typeof D[Symbol.asyncIterator];
2147
+ var isAsyncIterable = e => "object" == typeof e && null !== e && "function" == typeof e[Symbol.asyncIterator];
2148
2148
 
2149
- var getChunkType = D => {
2150
- var e = typeof D;
2151
- if ("string" === e) {
2149
+ var getChunkType = e => {
2150
+ var D = typeof e;
2151
+ if ("string" === D) {
2152
2152
  return "string";
2153
2153
  }
2154
- if ("object" !== e || null === D) {
2154
+ if ("object" !== D || null === e) {
2155
2155
  return "others";
2156
2156
  }
2157
- if (globalThis.Buffer?.isBuffer(D)) {
2157
+ if (globalThis.Buffer?.isBuffer(e)) {
2158
2158
  return "buffer";
2159
2159
  }
2160
- var r = FD.call(D);
2160
+ var r = le.call(e);
2161
2161
  if ("[object ArrayBuffer]" === r) {
2162
2162
  return "arrayBuffer";
2163
2163
  }
2164
2164
  if ("[object DataView]" === r) {
2165
2165
  return "dataView";
2166
2166
  }
2167
- if (Number.isInteger(D.byteLength) && Number.isInteger(D.byteOffset) && "[object ArrayBuffer]" === FD.call(D.buffer)) {
2167
+ if (Number.isInteger(e.byteLength) && Number.isInteger(e.byteOffset) && "[object ArrayBuffer]" === le.call(e.buffer)) {
2168
2168
  return "typedArray";
2169
2169
  }
2170
2170
  return "others";
2171
2171
  };
2172
2172
 
2173
- var {toString: FD} = Object.prototype;
2173
+ var {toString: le} = Object.prototype;
2174
2174
 
2175
2175
  class MaxBufferError extends Error {
2176
2176
  name="MaxBufferError";
@@ -2179,51 +2179,51 @@ class MaxBufferError extends Error {
2179
2179
  }
2180
2180
  }
2181
2181
 
2182
- var throwObjectStream = D => {
2183
- throw new Error(`Streams in object mode are not supported: ${String(D)}`);
2182
+ var throwObjectStream = e => {
2183
+ throw new Error(`Streams in object mode are not supported: ${String(e)}`);
2184
2184
  };
2185
2185
 
2186
- var getLengthProp = D => D.length;
2186
+ var getLengthProp = e => e.length;
2187
2187
 
2188
- var lD = new TextEncoder;
2188
+ var Ce = new TextEncoder;
2189
2189
 
2190
- var useUint8Array = D => new Uint8Array(D);
2190
+ var useUint8Array = e => new Uint8Array(e);
2191
2191
 
2192
- var useUint8ArrayWithOffset = D => new Uint8Array(D.buffer, D.byteOffset, D.byteLength);
2192
+ var useUint8ArrayWithOffset = e => new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
2193
2193
 
2194
- var resizeArrayBufferSlow = (D, e) => {
2195
- if (e <= D.byteLength) {
2196
- return D;
2194
+ var resizeArrayBufferSlow = (e, D) => {
2195
+ if (D <= e.byteLength) {
2196
+ return e;
2197
2197
  }
2198
- var r = new ArrayBuffer(getNewContentsLength(e));
2199
- new Uint8Array(r).set(new Uint8Array(D), 0);
2198
+ var r = new ArrayBuffer(getNewContentsLength(D));
2199
+ new Uint8Array(r).set(new Uint8Array(e), 0);
2200
2200
  return r;
2201
2201
  };
2202
2202
 
2203
- var resizeArrayBuffer = (D, e) => {
2204
- if (e <= D.maxByteLength) {
2205
- D.resize(e);
2206
- return D;
2203
+ var resizeArrayBuffer = (e, D) => {
2204
+ if (D <= e.maxByteLength) {
2205
+ e.resize(D);
2206
+ return e;
2207
2207
  }
2208
- var r = new ArrayBuffer(e, {
2209
- maxByteLength: getNewContentsLength(e)
2208
+ var r = new ArrayBuffer(D, {
2209
+ maxByteLength: getNewContentsLength(D)
2210
2210
  });
2211
- new Uint8Array(r).set(new Uint8Array(D), 0);
2211
+ new Uint8Array(r).set(new Uint8Array(e), 0);
2212
2212
  return r;
2213
2213
  };
2214
2214
 
2215
- var getNewContentsLength = D => dD ** Math.ceil(Math.log(D) / Math.log(dD));
2215
+ var getNewContentsLength = e => pe ** Math.ceil(Math.log(e) / Math.log(pe));
2216
2216
 
2217
- var dD = 2;
2217
+ var pe = 2;
2218
2218
 
2219
2219
  var hasArrayBufferResize = () => "resize" in ArrayBuffer.prototype;
2220
2220
 
2221
- var CD = {
2221
+ var Ee = {
2222
2222
  init: () => ({
2223
2223
  contents: new ArrayBuffer(0)
2224
2224
  }),
2225
2225
  convertChunk: {
2226
- string: D => lD.encode(D),
2226
+ string: e => Ce.encode(e),
2227
2227
  buffer: useUint8Array,
2228
2228
  arrayBuffer: useUint8Array,
2229
2229
  dataView: useUint8ArrayWithOffset,
@@ -2231,45 +2231,45 @@ var CD = {
2231
2231
  others: throwObjectStream
2232
2232
  },
2233
2233
  getSize: getLengthProp,
2234
- truncateChunk: (D, e) => D.slice(0, e),
2235
- addChunk: (D, {contents: e, length: r}, t) => {
2236
- var n = hasArrayBufferResize() ? resizeArrayBuffer(e, t) : resizeArrayBufferSlow(e, t);
2237
- new Uint8Array(n).set(D, r);
2234
+ truncateChunk: (e, D) => e.slice(0, D),
2235
+ addChunk: (e, {contents: D, length: r}, t) => {
2236
+ var n = hasArrayBufferResize() ? resizeArrayBuffer(D, t) : resizeArrayBufferSlow(D, t);
2237
+ new Uint8Array(n).set(e, r);
2238
2238
  return n;
2239
2239
  },
2240
2240
  getFinalChunk: () => {},
2241
- finalize: ({contents: D, length: e}) => hasArrayBufferResize() ? D : D.slice(0, e)
2241
+ finalize: ({contents: e, length: D}) => hasArrayBufferResize() ? e : e.slice(0, D)
2242
2242
  };
2243
2243
 
2244
- async function getStreamAsBuffer(D, e) {
2244
+ async function getStreamAsBuffer(e, D) {
2245
2245
  if (!("Buffer" in globalThis)) {
2246
2246
  throw new Error("getStreamAsBuffer() is only supported in Node.js");
2247
2247
  }
2248
2248
  try {
2249
- return arrayBufferToNodeBuffer(await async function getStreamAsArrayBuffer(D, e) {
2250
- return getStreamContents(D, CD, e);
2251
- }(D, e));
2252
- } catch (D) {
2253
- if (void 0 !== D.bufferedData) {
2254
- D.bufferedData = arrayBufferToNodeBuffer(D.bufferedData);
2249
+ return arrayBufferToNodeBuffer(await async function getStreamAsArrayBuffer(e, D) {
2250
+ return getStreamContents(e, Ee, D);
2251
+ }(e, D));
2252
+ } catch (e) {
2253
+ if (void 0 !== e.bufferedData) {
2254
+ e.bufferedData = arrayBufferToNodeBuffer(e.bufferedData);
2255
2255
  }
2256
- throw D;
2256
+ throw e;
2257
2257
  }
2258
2258
  }
2259
2259
 
2260
- var arrayBufferToNodeBuffer = D => globalThis.Buffer.from(D);
2260
+ var arrayBufferToNodeBuffer = e => globalThis.Buffer.from(e);
2261
2261
 
2262
- var useTextDecoder = (D, {textDecoder: e}) => e.decode(D, {
2262
+ var useTextDecoder = (e, {textDecoder: D}) => D.decode(e, {
2263
2263
  stream: !0
2264
2264
  });
2265
2265
 
2266
- var pD = {
2266
+ var fe = {
2267
2267
  init: () => ({
2268
2268
  contents: "",
2269
2269
  textDecoder: new TextDecoder
2270
2270
  }),
2271
2271
  convertChunk: {
2272
- string: D => D,
2272
+ string: e => e,
2273
2273
  buffer: useTextDecoder,
2274
2274
  arrayBuffer: useTextDecoder,
2275
2275
  dataView: useTextDecoder,
@@ -2277,133 +2277,133 @@ var pD = {
2277
2277
  others: throwObjectStream
2278
2278
  },
2279
2279
  getSize: getLengthProp,
2280
- truncateChunk: (D, e) => D.slice(0, e),
2281
- addChunk: (D, {contents: e}) => e + D,
2282
- getFinalChunk: ({textDecoder: D}) => {
2283
- var e = D.decode();
2284
- return "" === e ? void 0 : e;
2280
+ truncateChunk: (e, D) => e.slice(0, D),
2281
+ addChunk: (e, {contents: D}) => D + e,
2282
+ getFinalChunk: ({textDecoder: e}) => {
2283
+ var D = e.decode();
2284
+ return "" === D ? void 0 : D;
2285
2285
  },
2286
- finalize: ({contents: D}) => D
2286
+ finalize: ({contents: e}) => e
2287
2287
  };
2288
2288
 
2289
- var {PassThrough: fD} = h;
2289
+ var {PassThrough: ve} = h;
2290
2290
 
2291
- var vD = getDefaultExportFromCjs((function() {
2292
- var D = [];
2293
- var e = new fD({
2291
+ var he = getDefaultExportFromCjs((function() {
2292
+ var e = [];
2293
+ var D = new ve({
2294
2294
  objectMode: !0
2295
2295
  });
2296
- e.setMaxListeners(0);
2297
- e.add = add;
2298
- e.isEmpty = function isEmpty() {
2299
- return 0 == D.length;
2296
+ D.setMaxListeners(0);
2297
+ D.add = add;
2298
+ D.isEmpty = function isEmpty() {
2299
+ return 0 == e.length;
2300
2300
  };
2301
- e.on("unpipe", remove);
2301
+ D.on("unpipe", remove);
2302
2302
  Array.prototype.slice.call(arguments).forEach(add);
2303
- return e;
2303
+ return D;
2304
2304
  function add(r) {
2305
2305
  if (Array.isArray(r)) {
2306
2306
  r.forEach(add);
2307
2307
  return this;
2308
2308
  }
2309
- D.push(r);
2309
+ e.push(r);
2310
2310
  r.once("end", remove.bind(null, r));
2311
- r.once("error", e.emit.bind(e, "error"));
2312
- r.pipe(e, {
2311
+ r.once("error", D.emit.bind(D, "error"));
2312
+ r.pipe(D, {
2313
2313
  end: !1
2314
2314
  });
2315
2315
  return this;
2316
2316
  }
2317
2317
  function remove(r) {
2318
- if (!(D = D.filter((function(D) {
2319
- return D !== r;
2320
- }))).length && e.readable) {
2321
- e.end();
2318
+ if (!(e = e.filter((function(e) {
2319
+ return e !== r;
2320
+ }))).length && D.readable) {
2321
+ D.end();
2322
2322
  }
2323
2323
  }
2324
2324
  }));
2325
2325
 
2326
- var getInput = ({input: D, inputFile: e}) => {
2327
- if ("string" != typeof e) {
2328
- return D;
2326
+ var getInput = ({input: e, inputFile: D}) => {
2327
+ if ("string" != typeof D) {
2328
+ return e;
2329
2329
  }
2330
- (D => {
2331
- if (void 0 !== D) {
2330
+ (e => {
2331
+ if (void 0 !== e) {
2332
2332
  throw new TypeError("The `input` and `inputFile` options cannot be both set.");
2333
2333
  }
2334
- })(D);
2335
- return E.createReadStream(e);
2334
+ })(e);
2335
+ return E.createReadStream(D);
2336
2336
  };
2337
2337
 
2338
- var handleInput = (D, e) => {
2339
- var r = getInput(e);
2338
+ var handleInput = (e, D) => {
2339
+ var r = getInput(D);
2340
2340
  if (void 0 === r) {
2341
2341
  return;
2342
2342
  }
2343
2343
  if (isStream(r)) {
2344
- r.pipe(D.stdin);
2344
+ r.pipe(e.stdin);
2345
2345
  } else {
2346
- D.stdin.end(r);
2346
+ e.stdin.end(r);
2347
2347
  }
2348
2348
  };
2349
2349
 
2350
- var makeAllStream = (D, {all: e}) => {
2351
- if (!e || !D.stdout && !D.stderr) {
2350
+ var makeAllStream = (e, {all: D}) => {
2351
+ if (!D || !e.stdout && !e.stderr) {
2352
2352
  return;
2353
2353
  }
2354
- var r = vD();
2355
- if (D.stdout) {
2356
- r.add(D.stdout);
2354
+ var r = he();
2355
+ if (e.stdout) {
2356
+ r.add(e.stdout);
2357
2357
  }
2358
- if (D.stderr) {
2359
- r.add(D.stderr);
2358
+ if (e.stderr) {
2359
+ r.add(e.stderr);
2360
2360
  }
2361
2361
  return r;
2362
2362
  };
2363
2363
 
2364
- var getBufferedData = async (D, e) => {
2365
- if (!D || void 0 === e) {
2364
+ var getBufferedData = async (e, D) => {
2365
+ if (!e || void 0 === D) {
2366
2366
  return;
2367
2367
  }
2368
2368
  await f.setTimeout(0);
2369
- D.destroy();
2369
+ e.destroy();
2370
2370
  try {
2371
- return await e;
2372
- } catch (D) {
2373
- return D.bufferedData;
2371
+ return await D;
2372
+ } catch (e) {
2373
+ return e.bufferedData;
2374
2374
  }
2375
2375
  };
2376
2376
 
2377
- var getStreamPromise = (D, {encoding: e, buffer: r, maxBuffer: t}) => {
2378
- if (!D || !r) {
2377
+ var getStreamPromise = (e, {encoding: D, buffer: r, maxBuffer: t}) => {
2378
+ if (!e || !r) {
2379
2379
  return;
2380
2380
  }
2381
- if ("utf8" === e || "utf-8" === e) {
2382
- return async function getStreamAsString(D, e) {
2383
- return getStreamContents(D, pD, e);
2384
- }(D, {
2381
+ if ("utf8" === D || "utf-8" === D) {
2382
+ return async function getStreamAsString(e, D) {
2383
+ return getStreamContents(e, fe, D);
2384
+ }(e, {
2385
2385
  maxBuffer: t
2386
2386
  });
2387
2387
  }
2388
- if (null === e || "buffer" === e) {
2389
- return getStreamAsBuffer(D, {
2388
+ if (null === D || "buffer" === D) {
2389
+ return getStreamAsBuffer(e, {
2390
2390
  maxBuffer: t
2391
2391
  });
2392
2392
  }
2393
- return applyEncoding(D, t, e);
2393
+ return applyEncoding(e, t, D);
2394
2394
  };
2395
2395
 
2396
- var applyEncoding = async (D, e, r) => (await getStreamAsBuffer(D, {
2397
- maxBuffer: e
2396
+ var applyEncoding = async (e, D, r) => (await getStreamAsBuffer(e, {
2397
+ maxBuffer: D
2398
2398
  })).toString(r);
2399
2399
 
2400
- var getSpawnedResult = async ({stdout: D, stderr: e, all: r}, {encoding: t, buffer: n, maxBuffer: i}, a) => {
2401
- var s = getStreamPromise(D, {
2400
+ var getSpawnedResult = async ({stdout: e, stderr: D, all: r}, {encoding: t, buffer: n, maxBuffer: i}, a) => {
2401
+ var s = getStreamPromise(e, {
2402
2402
  encoding: t,
2403
2403
  buffer: n,
2404
2404
  maxBuffer: i
2405
2405
  });
2406
- var c = getStreamPromise(e, {
2406
+ var c = getStreamPromise(D, {
2407
2407
  encoding: t,
2408
2408
  buffer: n,
2409
2409
  maxBuffer: i
@@ -2420,77 +2420,77 @@ var getSpawnedResult = async ({stdout: D, stderr: e, all: r}, {encoding: t, buff
2420
2420
  error: t,
2421
2421
  signal: t.signal,
2422
2422
  timedOut: t.timedOut
2423
- }, getBufferedData(D, s), getBufferedData(e, c), getBufferedData(r, l) ]);
2423
+ }, getBufferedData(e, s), getBufferedData(D, c), getBufferedData(r, l) ]);
2424
2424
  }
2425
2425
  };
2426
2426
 
2427
- var mD = (async () => {})().constructor.prototype;
2427
+ var me = (async () => {})().constructor.prototype;
2428
2428
 
2429
- var gD = [ "then", "catch", "finally" ].map((D => [ D, Reflect.getOwnPropertyDescriptor(mD, D) ]));
2429
+ var ge = [ "then", "catch", "finally" ].map((e => [ e, Reflect.getOwnPropertyDescriptor(me, e) ]));
2430
2430
 
2431
- var mergePromise = (D, e) => {
2431
+ var mergePromise = (e, D) => {
2432
2432
  var _loop = function(t) {
2433
- var n = "function" == typeof e ? (...D) => Reflect.apply(t.value, e(), D) : t.value.bind(e);
2434
- Reflect.defineProperty(D, r, {
2433
+ var n = "function" == typeof D ? (...e) => Reflect.apply(t.value, D(), e) : t.value.bind(D);
2434
+ Reflect.defineProperty(e, r, {
2435
2435
  ...t,
2436
2436
  value: n
2437
2437
  });
2438
2438
  };
2439
- for (var [r, t] of gD) {
2439
+ for (var [r, t] of ge) {
2440
2440
  _loop(t);
2441
2441
  }
2442
2442
  };
2443
2443
 
2444
- var getSpawnedPromise = D => new Promise(((e, r) => {
2445
- D.on("exit", ((D, r) => {
2446
- e({
2447
- exitCode: D,
2444
+ var getSpawnedPromise = e => new Promise(((D, r) => {
2445
+ e.on("exit", ((e, r) => {
2446
+ D({
2447
+ exitCode: e,
2448
2448
  signal: r
2449
2449
  });
2450
2450
  }));
2451
- D.on("error", (D => {
2452
- r(D);
2451
+ e.on("error", (e => {
2452
+ r(e);
2453
2453
  }));
2454
- if (D.stdin) {
2455
- D.stdin.on("error", (D => {
2456
- r(D);
2454
+ if (e.stdin) {
2455
+ e.stdin.on("error", (e => {
2456
+ r(e);
2457
2457
  }));
2458
2458
  }
2459
2459
  }));
2460
2460
 
2461
- var normalizeArgs = (D, e = []) => {
2462
- if (!Array.isArray(e)) {
2463
- return [ D ];
2461
+ var normalizeArgs = (e, D = []) => {
2462
+ if (!Array.isArray(D)) {
2463
+ return [ e ];
2464
2464
  }
2465
- return [ D, ...e ];
2465
+ return [ e, ...D ];
2466
2466
  };
2467
2467
 
2468
- var BD = /^[\w.-]+$/;
2468
+ var Be = /^[\w.-]+$/;
2469
2469
 
2470
- var joinCommand = (D, e) => normalizeArgs(D, e).join(" ");
2470
+ var joinCommand = (e, D) => normalizeArgs(e, D).join(" ");
2471
2471
 
2472
- var getEscapedCommand = (D, e) => normalizeArgs(D, e).map((D => (D => {
2473
- if ("string" != typeof D || BD.test(D)) {
2474
- return D;
2472
+ var getEscapedCommand = (e, D) => normalizeArgs(e, D).map((e => (e => {
2473
+ if ("string" != typeof e || Be.test(e)) {
2474
+ return e;
2475
2475
  }
2476
- return `"${D.replaceAll('"', '\\"')}"`;
2477
- })(D))).join(" ");
2476
+ return `"${e.replaceAll('"', '\\"')}"`;
2477
+ })(e))).join(" ");
2478
2478
 
2479
- var bD = m.debuglog("execa").enabled;
2479
+ var be = m.debuglog("execa").enabled;
2480
2480
 
2481
- var padField = (D, e) => String(D).padStart(e, "0");
2481
+ var padField = (e, D) => String(e).padStart(D, "0");
2482
2482
 
2483
- var logCommand = (e, {verbose: r}) => {
2483
+ var logCommand = (D, {verbose: r}) => {
2484
2484
  if (!r) {
2485
2485
  return;
2486
2486
  }
2487
- D.stderr.write(`[${t = new Date, `${padField(t.getHours(), 2)}:${padField(t.getMinutes(), 2)}:${padField(t.getSeconds(), 2)}.${padField(t.getMilliseconds(), 3)}`}] ${e}\n`);
2487
+ e.stderr.write(`[${t = new Date, `${padField(t.getHours(), 2)}:${padField(t.getMinutes(), 2)}:${padField(t.getSeconds(), 2)}.${padField(t.getMilliseconds(), 3)}`}] ${D}\n`);
2488
2488
  var t;
2489
2489
  };
2490
2490
 
2491
- var handleArguments = (e, r, t = {}) => {
2492
- var i = Ku._parse(e, r, t);
2493
- e = i.command;
2491
+ var handleArguments = (D, r, t = {}) => {
2492
+ var i = Ku._parse(D, r, t);
2493
+ D = i.command;
2494
2494
  r = i.args;
2495
2495
  (t = {
2496
2496
  maxBuffer: 1e8,
@@ -2498,20 +2498,20 @@ var handleArguments = (e, r, t = {}) => {
2498
2498
  stripFinalNewline: !0,
2499
2499
  extendEnv: !0,
2500
2500
  preferLocal: !1,
2501
- localDir: (t = i.options).cwd || D.cwd(),
2502
- execPath: D.execPath,
2501
+ localDir: (t = i.options).cwd || e.cwd(),
2502
+ execPath: e.execPath,
2503
2503
  encoding: "utf8",
2504
2504
  reject: !0,
2505
2505
  cleanup: !0,
2506
2506
  all: !1,
2507
2507
  windowsHide: !0,
2508
- verbose: bD,
2508
+ verbose: be,
2509
2509
  ...t
2510
- }).env = (({env: e, extendEnv: r, preferLocal: t, localDir: n, execPath: i}) => {
2510
+ }).env = (({env: D, extendEnv: r, preferLocal: t, localDir: n, execPath: i}) => {
2511
2511
  var a = r ? {
2512
- ...D.env,
2513
- ...e
2514
- } : e;
2512
+ ...e.env,
2513
+ ...D
2514
+ } : D;
2515
2515
  if (t) {
2516
2516
  return npmRunPathEnv({
2517
2517
  env: a,
@@ -2522,50 +2522,50 @@ var handleArguments = (e, r, t = {}) => {
2522
2522
  return a;
2523
2523
  })(t);
2524
2524
  t.stdio = normalizeStdio(t);
2525
- if ("win32" === D.platform && "cmd" === n.basename(e, ".exe")) {
2525
+ if ("win32" === e.platform && "cmd" === n.basename(D, ".exe")) {
2526
2526
  r.unshift("/q");
2527
2527
  }
2528
2528
  return {
2529
- file: e,
2529
+ file: D,
2530
2530
  args: r,
2531
2531
  options: t,
2532
2532
  parsed: i
2533
2533
  };
2534
2534
  };
2535
2535
 
2536
- var handleOutput = (D, e, r) => {
2537
- if ("string" != typeof e && !i.Buffer.isBuffer(e)) {
2536
+ var handleOutput = (e, D, r) => {
2537
+ if ("string" != typeof D && !i.Buffer.isBuffer(D)) {
2538
2538
  return void 0 === r ? void 0 : "";
2539
2539
  }
2540
- if (D.stripFinalNewline) {
2541
- return function stripFinalNewline(D) {
2542
- var e = "string" == typeof D ? "\n" : "\n".charCodeAt();
2543
- var r = "string" == typeof D ? "\r" : "\r".charCodeAt();
2544
- if (D[D.length - 1] === e) {
2545
- D = D.slice(0, -1);
2540
+ if (e.stripFinalNewline) {
2541
+ return function stripFinalNewline(e) {
2542
+ var D = "string" == typeof e ? "\n" : "\n".charCodeAt();
2543
+ var r = "string" == typeof e ? "\r" : "\r".charCodeAt();
2544
+ if (e[e.length - 1] === D) {
2545
+ e = e.slice(0, -1);
2546
2546
  }
2547
- if (D[D.length - 1] === r) {
2548
- D = D.slice(0, -1);
2547
+ if (e[e.length - 1] === r) {
2548
+ e = e.slice(0, -1);
2549
2549
  }
2550
- return D;
2551
- }(e);
2550
+ return e;
2551
+ }(D);
2552
2552
  }
2553
- return e;
2553
+ return D;
2554
2554
  };
2555
2555
 
2556
- function execa(D, e, r) {
2557
- var t = handleArguments(D, e, r);
2558
- var n = joinCommand(D, e);
2559
- var i = getEscapedCommand(D, e);
2556
+ function execa(e, D, r) {
2557
+ var t = handleArguments(e, D, r);
2558
+ var n = joinCommand(e, D);
2559
+ var i = getEscapedCommand(e, D);
2560
2560
  logCommand(i, t.options);
2561
2561
  validateTimeout(t.options);
2562
2562
  var s;
2563
2563
  try {
2564
2564
  s = a.spawn(t.file, t.args, t.options);
2565
- } catch (D) {
2565
+ } catch (e) {
2566
2566
  var c = new a.ChildProcess;
2567
2567
  var l = Promise.reject(makeError({
2568
- error: D,
2568
+ error: e,
2569
2569
  stdout: "",
2570
2570
  stderr: "",
2571
2571
  all: "",
@@ -2587,14 +2587,14 @@ function execa(D, e, r) {
2587
2587
  isCanceled: !1
2588
2588
  });
2589
2589
  var f = onetime((async () => {
2590
- var [{error: D, exitCode: e, signal: r, timedOut: a}, c, l, d] = await getSpawnedResult(s, t.options, E);
2590
+ var [{error: e, exitCode: D, signal: r, timedOut: a}, c, l, d] = await getSpawnedResult(s, t.options, E);
2591
2591
  var p = handleOutput(t.options, c);
2592
2592
  var f = handleOutput(t.options, l);
2593
2593
  var h = handleOutput(t.options, d);
2594
- if (D || 0 !== e || null !== r) {
2594
+ if (e || 0 !== D || null !== r) {
2595
2595
  var m = makeError({
2596
- error: D,
2597
- exitCode: e,
2596
+ error: e,
2597
+ exitCode: D,
2598
2598
  signal: r,
2599
2599
  stdout: p,
2600
2600
  stderr: f,
@@ -2631,61 +2631,61 @@ function execa(D, e, r) {
2631
2631
  return s;
2632
2632
  }
2633
2633
 
2634
- var question = async (D, e, r) => {
2634
+ var question = async (e, D, r) => {
2635
2635
  var t = "";
2636
2636
  var n = !1;
2637
2637
  while (!n) {
2638
2638
  if (hD(t = await te({
2639
- message: D
2639
+ message: e
2640
2640
  }))) {
2641
2641
  n = !0;
2642
2642
  ue("Operation cancelled.");
2643
2643
  process.exit(0);
2644
- } else if (await e(t)) {
2644
+ } else if (await D(t)) {
2645
2645
  n = !0;
2646
2646
  }
2647
2647
  }
2648
2648
  return t;
2649
2649
  };
2650
2650
 
2651
- exports.run = async function run(D) {
2652
- var e = de();
2653
- ((D = "") => {
2654
- process.stdout.write(`${_.gray(ou)} ${D}\n`);
2651
+ exports.run = async function run(e) {
2652
+ var D = de();
2653
+ ((e = "") => {
2654
+ process.stdout.write(`${_.gray(ou)} ${e}\n`);
2655
2655
  })("GQL.Tada");
2656
2656
  var r = await question("Where can we get your schema? Point us at an introspection JSON-file, a GraphQL schema file or an endpoint", (async r => {
2657
2657
  try {
2658
2658
  var i = new URL(r);
2659
- e.start("Validating the URL.");
2659
+ D.start("Validating the URL.");
2660
2660
  try {
2661
2661
  var a = await fetch(i.toString());
2662
2662
  if (!a.ok) {
2663
- e.stop("Validated the URL.");
2663
+ D.stop("Validated the URL.");
2664
2664
  return !!await se({
2665
2665
  message: `Got ${a.status} from ${i.toString()}, continue anyway? You can add headers later.`
2666
2666
  });
2667
2667
  }
2668
- } catch (D) {
2669
- e.stop("Validated the URL.");
2668
+ } catch (e) {
2669
+ D.stop("Validated the URL.");
2670
2670
  return !!await se({
2671
- message: `Got ${D.message} from ${i.toString()}, continue anyway? You can add headers later.`
2671
+ message: `Got ${e.message} from ${i.toString()}, continue anyway? You can add headers later.`
2672
2672
  });
2673
2673
  }
2674
- e.stop("Validated the URL.");
2674
+ D.stop("Validated the URL.");
2675
2675
  return !0;
2676
- } catch (D) {}
2676
+ } catch (e) {}
2677
2677
  if (!(r.endsWith(".json") || r.endsWith(".graphql"))) {
2678
2678
  return !1;
2679
2679
  }
2680
- var s = n.resolve(D, r);
2680
+ var s = n.resolve(e, r);
2681
2681
  var c = !!await t.readFile(s);
2682
2682
  if (!c) {
2683
2683
  console.log(`\nCould not find "${s}"`);
2684
2684
  }
2685
2685
  return c;
2686
2686
  }));
2687
- var i = await question("What directory do you want us to write the tadaOutputFile to?", (async e => {
2688
- var r = n.resolve(D, e);
2687
+ var i = await question("What directory do you want us to write the tadaOutputFile to?", (async D => {
2688
+ var r = n.resolve(e, D);
2689
2689
  var i = !!await t.stat(r);
2690
2690
  if (!i) {
2691
2691
  console.log(`\nCould not find "${r}"`);
@@ -2707,45 +2707,45 @@ exports.run = async function run(D) {
2707
2707
  var s = !1;
2708
2708
  var c;
2709
2709
  try {
2710
- var l = n.resolve(D, "package.json");
2710
+ var l = n.resolve(e, "package.json");
2711
2711
  var d = await t.readFile(l, "utf-8");
2712
2712
  c = JSON.parse(d);
2713
2713
  var p = Object.entries({
2714
2714
  ...c.dependencies,
2715
2715
  ...c.devDependencies
2716
- }).find((D => "typescript" === D[0]));
2716
+ }).find((e => "typescript" === e[0]));
2717
2717
  if (p && "string" == typeof p[1]) {
2718
2718
  s = g.semverComply(p[1], g.MINIMUM_VERSIONS.typescript_embed_lsp);
2719
2719
  }
2720
- } catch (D) {}
2720
+ } catch (e) {}
2721
2721
  if (a) {
2722
- e.start("Installing packages.");
2723
- await async function installPackages(D, e, r) {
2722
+ D.start("Installing packages.");
2723
+ await async function installPackages(e, D, r) {
2724
2724
  if (r) {
2725
- await execa(D, [ "yarn" === D ? "add" : "install", "-D", "@0no-co/graphqlsp" ], {
2725
+ await execa(e, [ "yarn" === e ? "add" : "install", "-D", "@0no-co/graphqlsp" ], {
2726
2726
  stdio: "ignore",
2727
- cwd: e
2727
+ cwd: D
2728
2728
  });
2729
2729
  }
2730
- await execa(D, [ "yarn" === D ? "add" : "install", "gql.tada" ], {
2730
+ await execa(e, [ "yarn" === e ? "add" : "install", "gql.tada" ], {
2731
2731
  stdio: "ignore",
2732
- cwd: e
2732
+ cwd: D
2733
2733
  });
2734
2734
  }(function getPkgManager() {
2735
- var D = process.env.npm_config_user_agent || "";
2736
- if (D.startsWith("yarn")) {
2735
+ var e = process.env.npm_config_user_agent || "";
2736
+ if (e.startsWith("yarn")) {
2737
2737
  return "yarn";
2738
2738
  }
2739
- if (D.startsWith("pnpm")) {
2739
+ if (e.startsWith("pnpm")) {
2740
2740
  return "pnpm";
2741
2741
  }
2742
2742
  return "npm";
2743
- }(), D, !s);
2744
- e.stop("Installed packages.");
2743
+ }(), e, !s);
2744
+ D.stop("Installed packages.");
2745
2745
  } else {
2746
- e.start("Writing to package.json.");
2746
+ D.start("Writing to package.json.");
2747
2747
  try {
2748
- var E = n.resolve(D, "package.json");
2748
+ var E = n.resolve(e, "package.json");
2749
2749
  var f = await t.readFile(E, "utf-8");
2750
2750
  if (!(c = JSON.parse(f)).dependencies) {
2751
2751
  c.dependencies = {};
@@ -2762,29 +2762,61 @@ exports.run = async function run(D) {
2762
2762
  }
2763
2763
  }
2764
2764
  await t.writeFile(E, JSON.stringify(c, null, 2));
2765
- e.stop("Written to package.json.");
2766
- } catch (D) {
2767
- e.stop('Failed to write to package.json, you can try adding "gql.tada" and "@0no-co/graphqlsp" yourself.');
2765
+ D.stop("Written to package.json.");
2766
+ } catch (e) {
2767
+ D.stop('Failed to write to package.json, you can try adding "gql.tada" and "@0no-co/graphqlsp" yourself.');
2768
2768
  }
2769
2769
  }
2770
- e.start("Writing to tsconfig.json.");
2770
+ D.start("Writing to tsconfig.json.");
2771
+ var h = "tsconfig.json";
2771
2772
  try {
2772
- var h = n.resolve(D, "tsconfig.json");
2773
- var m = await B.readTSConfigFile(h);
2774
- var b = r.endsWith(".json") || r.endsWith(".graphql");
2775
- m.compilerOptions = {
2776
- ...m.compilerOptions,
2773
+ var m = n.resolve(e, "tsconfig.json");
2774
+ var b = await B.readTSConfigFile(m);
2775
+ if (Array.isArray(b.references) && Array.isArray(b.files) && !b.files.length && !b.include) {
2776
+ var w;
2777
+ var S;
2778
+ for (var I of b.references) {
2779
+ if (!I || "string" != typeof I.path) {
2780
+ continue;
2781
+ }
2782
+ var O = n.resolve(e, I.path);
2783
+ if (".json" !== n.extname(O)) {
2784
+ O = n.join(O, "tsconfig.json");
2785
+ }
2786
+ try {
2787
+ await t.access(O);
2788
+ } catch (e) {
2789
+ continue;
2790
+ }
2791
+ if ("tsconfig.app.json" === n.basename(O)) {
2792
+ S = O;
2793
+ break;
2794
+ } else if (!w) {
2795
+ w = O;
2796
+ }
2797
+ }
2798
+ var k = S || w;
2799
+ if (k) {
2800
+ m = k;
2801
+ b = await B.readTSConfigFile(m);
2802
+ h = n.relative(e, m);
2803
+ }
2804
+ }
2805
+ var G = r.endsWith(".json") || r.endsWith(".graphql");
2806
+ var M = n.dirname(m);
2807
+ b.compilerOptions = {
2808
+ ...b.compilerOptions,
2777
2809
  plugins: [ {
2778
2810
  name: s ? "gql.tada/ts-plugin" : "@0no-co/graphqlsp",
2779
- schema: b ? n.relative(D, r) : r,
2780
- tadaOutputLocation: n.relative(D, i)
2811
+ schema: G ? n.relative(M, n.resolve(e, r)) : r,
2812
+ tadaOutputLocation: n.relative(M, i)
2781
2813
  } ]
2782
2814
  };
2783
- await t.writeFile(h, JSON.stringify(m, null, 2));
2784
- } catch (D) {}
2785
- e.stop("Written to tsconfig.json.");
2786
- ((D = "") => {
2787
- process.stdout.write(`${_.gray(cu)}\n${_.gray(Fu)} ${D}\n\n`);
2815
+ await t.writeFile(m, JSON.stringify(b, null, 2));
2816
+ } catch (e) {}
2817
+ D.stop(`Written to ${h}.`);
2818
+ ((e = "") => {
2819
+ process.stdout.write(`${_.gray(cu)}\n${_.gray(Fu)} ${e}\n\n`);
2788
2820
  })("Off to the races!");
2789
2821
  };
2790
2822
  //# sourceMappingURL=runner-chunk.js.map