create-rstack 1.3.1 → 1.4.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.
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__ from "node:util";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__ from "node:process";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__ from "node:readline";
9
- import * as __WEBPACK_EXTERNAL_MODULE_node_tty_c64aab7e__ from "node:tty";
9
+ import * as __WEBPACK_EXTERNAL_MODULE_node_stream_444d1c2b__ from "node:stream";
10
10
  import * as __WEBPACK_EXTERNAL_MODULE_process__ from "process";
11
11
  import * as __WEBPACK_EXTERNAL_MODULE_os__ from "os";
12
12
  import * as __WEBPACK_EXTERNAL_MODULE_tty__ from "tty";
@@ -207,12 +207,11 @@ var __webpack_modules__ = {
207
207
  } else if (/^--.+/.test(arg)) {
208
208
  key = arg.match(/^--(.+)/)[1];
209
209
  next = args[i + 1];
210
- if (void 0 === next || /^(-|--)[^-]/.test(next) || flags.bools[key] || flags.allBools || (aliases[key] ? aliasIsBoolean(key) : false)) {
211
- if (/^(true|false)$/.test(next)) {
212
- setArg(key, 'true' === next, arg);
213
- i += 1;
214
- } else setArg(key, flags.strings[key] ? '' : true, arg);
215
- } else {
210
+ if (void 0 === next || /^(-|--)[^-]/.test(next) || flags.bools[key] || flags.allBools || (aliases[key] ? aliasIsBoolean(key) : false)) if (/^(true|false)$/.test(next)) {
211
+ setArg(key, 'true' === next, arg);
212
+ i += 1;
213
+ } else setArg(key, flags.strings[key] ? '' : true, arg);
214
+ else {
216
215
  setArg(key, next, arg);
217
216
  i += 1;
218
217
  }
@@ -243,16 +242,13 @@ var __webpack_modules__ = {
243
242
  setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg);
244
243
  }
245
244
  key = arg.slice(-1)[0];
246
- if (!broken && '-' !== key) {
247
- if (!args[i + 1] || /^(-|--)[^-]/.test(args[i + 1]) || flags.bools[key] || (aliases[key] ? aliasIsBoolean(key) : false)) {
248
- if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
249
- setArg(key, 'true' === args[i + 1], arg);
250
- i += 1;
251
- } else setArg(key, flags.strings[key] ? '' : true, arg);
252
- } else {
253
- setArg(key, args[i + 1], arg);
254
- i += 1;
255
- }
245
+ if (!broken && '-' !== key) if (!args[i + 1] || /^(-|--)[^-]/.test(args[i + 1]) || flags.bools[key] || (aliases[key] ? aliasIsBoolean(key) : false)) if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
246
+ setArg(key, 'true' === args[i + 1], arg);
247
+ i += 1;
248
+ } else setArg(key, flags.strings[key] ? '' : true, arg);
249
+ else {
250
+ setArg(key, args[i + 1], arg);
251
+ i += 1;
256
252
  }
257
253
  } else {
258
254
  if (!flags.unknownFn || false !== flags.unknownFn(arg)) argv._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg));
@@ -409,12 +405,8 @@ function __webpack_require__(moduleId) {
409
405
  return module.exports;
410
406
  }
411
407
  (()=>{
412
- __webpack_require__.n = function(module) {
413
- var getter = module && module.__esModule ? function() {
414
- return module['default'];
415
- } : function() {
416
- return module;
417
- };
408
+ __webpack_require__.n = (module)=>{
409
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
418
410
  __webpack_require__.d(getter, {
419
411
  a: getter
420
412
  });
@@ -422,7 +414,7 @@ function __webpack_require__(moduleId) {
422
414
  };
423
415
  })();
424
416
  (()=>{
425
- __webpack_require__.d = function(exports, definition) {
417
+ __webpack_require__.d = (exports, definition)=>{
426
418
  for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
427
419
  enumerable: true,
428
420
  get: definition[key]
@@ -430,87 +422,83 @@ function __webpack_require__(moduleId) {
430
422
  };
431
423
  })();
432
424
  (()=>{
433
- __webpack_require__.o = function(obj, prop) {
434
- return Object.prototype.hasOwnProperty.call(obj, prop);
435
- };
425
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
436
426
  })();
437
427
  var src = __webpack_require__("./node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js");
438
428
  var picocolors = __webpack_require__("./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
439
429
  var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
440
- function J({ onlyFirst: t = !1 } = {}) {
441
- const F = "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))";
442
- return new RegExp(F, t ? void 0 : "g");
430
+ function DD({ onlyFirst: e = !1 } = {}) {
431
+ const t = "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))";
432
+ return new RegExp(t, e ? void 0 : "g");
443
433
  }
444
- const Q = J();
445
- function T(t) {
446
- if ("string" != typeof t) throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);
447
- return t.replace(Q, "");
434
+ const uD = DD();
435
+ function P(e) {
436
+ if ("string" != typeof e) throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
437
+ return e.replace(uD, "");
448
438
  }
449
- function dist_O(t) {
450
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
439
+ function L(e) {
440
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
451
441
  }
452
- var P = {
442
+ var W = {
453
443
  exports: {}
454
444
  };
455
- (function(t) {
445
+ (function(e) {
456
446
  var u = {};
457
- t.exports = u, u.eastAsianWidth = function(e) {
458
- var s = e.charCodeAt(0), i = 2 == e.length ? e.charCodeAt(1) : 0, D = s;
447
+ e.exports = u, u.eastAsianWidth = function(F) {
448
+ var s = F.charCodeAt(0), i = 2 == F.length ? F.charCodeAt(1) : 0, D = s;
459
449
  return 55296 <= s && s <= 56319 && 56320 <= i && i <= 57343 && (s &= 1023, i &= 1023, D = s << 10 | i, D += 65536), 12288 == D || 65281 <= D && D <= 65376 || 65504 <= D && D <= 65510 ? "F" : 8361 == D || 65377 <= D && D <= 65470 || 65474 <= D && D <= 65479 || 65482 <= D && D <= 65487 || 65490 <= D && D <= 65495 || 65498 <= D && D <= 65500 || 65512 <= D && D <= 65518 ? "H" : 4352 <= D && D <= 4447 || 4515 <= D && D <= 4519 || 4602 <= D && D <= 4607 || 9001 <= D && D <= 9002 || 11904 <= D && D <= 11929 || 11931 <= D && D <= 12019 || 12032 <= D && D <= 12245 || 12272 <= D && D <= 12283 || 12289 <= D && D <= 12350 || 12353 <= D && D <= 12438 || 12441 <= D && D <= 12543 || 12549 <= D && D <= 12589 || 12593 <= D && D <= 12686 || 12688 <= D && D <= 12730 || 12736 <= D && D <= 12771 || 12784 <= D && D <= 12830 || 12832 <= D && D <= 12871 || 12880 <= D && D <= 13054 || 13056 <= D && D <= 19903 || 19968 <= D && D <= 42124 || 42128 <= D && D <= 42182 || 43360 <= D && D <= 43388 || 44032 <= D && D <= 55203 || 55216 <= D && D <= 55238 || 55243 <= D && D <= 55291 || 63744 <= D && D <= 64255 || 65040 <= D && D <= 65049 || 65072 <= D && D <= 65106 || 65108 <= D && D <= 65126 || 65128 <= D && D <= 65131 || 110592 <= D && D <= 110593 || 127488 <= D && D <= 127490 || 127504 <= D && D <= 127546 || 127552 <= D && D <= 127560 || 127568 <= D && D <= 127569 || 131072 <= D && D <= 194367 || 177984 <= D && D <= 196605 || 196608 <= D && D <= 262141 ? "W" : 32 <= D && D <= 126 || 162 <= D && D <= 163 || 165 <= D && D <= 166 || 172 == D || 175 == D || 10214 <= D && D <= 10221 || 10629 <= D && D <= 10630 ? "Na" : 161 == D || 164 == D || 167 <= D && D <= 168 || 170 == D || 173 <= D && D <= 174 || 176 <= D && D <= 180 || 182 <= D && D <= 186 || 188 <= D && D <= 191 || 198 == D || 208 == D || 215 <= D && D <= 216 || 222 <= D && D <= 225 || 230 == D || 232 <= D && D <= 234 || 236 <= D && D <= 237 || 240 == D || 242 <= D && D <= 243 || 247 <= D && D <= 250 || 252 == D || 254 == D || 257 == D || 273 == D || 275 == D || 283 == D || 294 <= D && D <= 295 || 299 == D || 305 <= D && D <= 307 || 312 == D || 319 <= D && D <= 322 || 324 == D || 328 <= D && D <= 331 || 333 == D || 338 <= D && D <= 339 || 358 <= D && D <= 359 || 363 == D || 462 == D || 464 == D || 466 == D || 468 == D || 470 == D || 472 == D || 474 == D || 476 == D || 593 == D || 609 == D || 708 == D || 711 == D || 713 <= D && D <= 715 || 717 == D || 720 == D || 728 <= D && D <= 731 || 733 == D || 735 == D || 768 <= D && D <= 879 || 913 <= D && D <= 929 || 931 <= D && D <= 937 || 945 <= D && D <= 961 || 963 <= D && D <= 969 || 1025 == D || 1040 <= D && D <= 1103 || 1105 == D || 8208 == D || 8211 <= D && D <= 8214 || 8216 <= D && D <= 8217 || 8220 <= D && D <= 8221 || 8224 <= D && D <= 8226 || 8228 <= D && D <= 8231 || 8240 == D || 8242 <= D && D <= 8243 || 8245 == D || 8251 == D || 8254 == D || 8308 == D || 8319 == D || 8321 <= D && D <= 8324 || 8364 == D || 8451 == D || 8453 == D || 8457 == D || 8467 == D || 8470 == D || 8481 <= D && D <= 8482 || 8486 == D || 8491 == D || 8531 <= D && D <= 8532 || 8539 <= D && D <= 8542 || 8544 <= D && D <= 8555 || 8560 <= D && D <= 8569 || 8585 == D || 8592 <= D && D <= 8601 || 8632 <= D && D <= 8633 || 8658 == D || 8660 == D || 8679 == D || 8704 == D || 8706 <= D && D <= 8707 || 8711 <= D && D <= 8712 || 8715 == D || 8719 == D || 8721 == D || 8725 == D || 8730 == D || 8733 <= D && D <= 8736 || 8739 == D || 8741 == D || 8743 <= D && D <= 8748 || 8750 == D || 8756 <= D && D <= 8759 || 8764 <= D && D <= 8765 || 8776 == D || 8780 == D || 8786 == D || 8800 <= D && D <= 8801 || 8804 <= D && D <= 8807 || 8810 <= D && D <= 8811 || 8814 <= D && D <= 8815 || 8834 <= D && D <= 8835 || 8838 <= D && D <= 8839 || 8853 == D || 8857 == D || 8869 == D || 8895 == D || 8978 == D || 9312 <= D && D <= 9449 || 9451 <= D && D <= 9547 || 9552 <= D && D <= 9587 || 9600 <= D && D <= 9615 || 9618 <= D && D <= 9621 || 9632 <= D && D <= 9633 || 9635 <= D && D <= 9641 || 9650 <= D && D <= 9651 || 9654 <= D && D <= 9655 || 9660 <= D && D <= 9661 || 9664 <= D && D <= 9665 || 9670 <= D && D <= 9672 || 9675 == D || 9678 <= D && D <= 9681 || 9698 <= D && D <= 9701 || 9711 == D || 9733 <= D && D <= 9734 || 9737 == D || 9742 <= D && D <= 9743 || 9748 <= D && D <= 9749 || 9756 == D || 9758 == D || 9792 == D || 9794 == D || 9824 <= D && D <= 9825 || 9827 <= D && D <= 9829 || 9831 <= D && D <= 9834 || 9836 <= D && D <= 9837 || 9839 == D || 9886 <= D && D <= 9887 || 9918 <= D && D <= 9919 || 9924 <= D && D <= 9933 || 9935 <= D && D <= 9953 || 9955 == D || 9960 <= D && D <= 9983 || 10045 == D || 10071 == D || 10102 <= D && D <= 10111 || 11093 <= D && D <= 11097 || 12872 <= D && D <= 12879 || 57344 <= D && D <= 63743 || 65024 <= D && D <= 65039 || 65533 == D || 127232 <= D && D <= 127242 || 127248 <= D && D <= 127277 || 127280 <= D && D <= 127337 || 127344 <= D && D <= 127386 || 917760 <= D && D <= 917999 || 983040 <= D && D <= 1048573 || 1048576 <= D && D <= 1114109 ? "A" : "N";
460
- }, u.characterLength = function(e) {
461
- var s = this.eastAsianWidth(e);
450
+ }, u.characterLength = function(F) {
451
+ var s = this.eastAsianWidth(F);
462
452
  return "F" == s || "W" == s || "A" == s ? 2 : 1;
463
453
  };
464
- function F(e) {
465
- return e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
454
+ function t(F) {
455
+ return F.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
466
456
  }
467
- u.length = function(e) {
468
- for(var s = F(e), i = 0, D = 0; D < s.length; D++)i += this.characterLength(s[D]);
457
+ u.length = function(F) {
458
+ for(var s = t(F), i = 0, D = 0; D < s.length; D++)i += this.characterLength(s[D]);
469
459
  return i;
470
- }, u.slice = function(e, s, i) {
471
- textLen = u.length(e), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
472
- for(var D = "", C = 0, o = F(e), E = 0; E < o.length; E++){
473
- var a = o[E], n = u.length(a);
474
- if (C >= s - (2 == n ? 1 : 0)) {
475
- if (C + n <= i) D += a;
476
- else break;
477
- }
478
- C += n;
460
+ }, u.slice = function(F, s, i) {
461
+ textLen = u.length(F), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
462
+ for(var D = "", r = 0, n = t(F), E = 0; E < n.length; E++){
463
+ var a = n[E], o = u.length(a);
464
+ if (r >= s - (2 == o ? 1 : 0)) if (r + o <= i) D += a;
465
+ else break;
466
+ r += o;
479
467
  }
480
468
  return D;
481
469
  };
482
- })(P);
483
- var dist_X = P.exports;
484
- const DD = dist_O(dist_X);
485
- var uD = function() {
470
+ })(W);
471
+ var tD = W.exports;
472
+ const eD = L(tD);
473
+ var FD = function() {
486
474
  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;
487
475
  };
488
- const FD = dist_O(uD);
489
- function A(t, u = {}) {
490
- if ("string" != typeof t || 0 === t.length || (u = {
476
+ const sD = L(FD);
477
+ function dist_p(e, u = {}) {
478
+ if ("string" != typeof e || 0 === e.length || (u = {
491
479
  ambiguousIsNarrow: !0,
492
480
  ...u
493
- }, t = T(t), 0 === t.length)) return 0;
494
- t = t.replace(FD(), " ");
495
- const F = u.ambiguousIsNarrow ? 1 : 2;
496
- let e = 0;
497
- for (const s of t){
481
+ }, e = P(e), 0 === e.length)) return 0;
482
+ e = e.replace(sD(), " ");
483
+ const t = u.ambiguousIsNarrow ? 1 : 2;
484
+ let F = 0;
485
+ for (const s of e){
498
486
  const i = s.codePointAt(0);
499
- if (!(i <= 31) && (!(i >= 127) || !(i <= 159)) && (!(i >= 768) || !(i <= 879))) switch(DD.eastAsianWidth(s)){
487
+ if (!(i <= 31) && (!(i >= 127) || !(i <= 159)) && (!(i >= 768) || !(i <= 879))) switch(eD.eastAsianWidth(s)){
500
488
  case "F":
501
489
  case "W":
502
- e += 2;
490
+ F += 2;
503
491
  break;
504
492
  case "A":
505
- e += F;
493
+ F += t;
506
494
  break;
507
495
  default:
508
- e += 1;
496
+ F += 1;
509
497
  }
510
498
  }
511
- return e;
499
+ return F;
512
500
  }
513
- const dist_m = 10, L = (t = 0)=>(u)=>`\x1B[${u + t}m`, dist_N = (t = 0)=>(u)=>`\x1B[${38 + t};5;${u}m`, dist_I = (t = 0)=>(u, F, e)=>`\x1B[${38 + t};2;${u};${F};${e}m`, dist_r = {
501
+ const dist_w = 10, dist_N = (e = 0)=>(u)=>`\x1B[${u + e}m`, dist_I = (e = 0)=>(u)=>`\x1B[${38 + e};5;${u}m`, dist_R = (e = 0)=>(u, t, F)=>`\x1B[${38 + e};2;${u};${t};${F}m`, C = {
514
502
  modifier: {
515
503
  reset: [
516
504
  0,
@@ -698,45 +686,45 @@ const dist_m = 10, L = (t = 0)=>(u)=>`\x1B[${u + t}m`, dist_N = (t = 0)=>(u)=>`\
698
686
  ]
699
687
  }
700
688
  };
701
- Object.keys(dist_r.modifier);
702
- const tD = Object.keys(dist_r.color), eD = Object.keys(dist_r.bgColor);
689
+ Object.keys(C.modifier);
690
+ const iD = Object.keys(C.color), rD = Object.keys(C.bgColor);
703
691
  [
704
- ...tD,
705
- ...eD
692
+ ...iD,
693
+ ...rD
706
694
  ];
707
- function sD() {
708
- const t = new Map;
709
- for (const [u, F] of Object.entries(dist_r)){
710
- for (const [e, s] of Object.entries(F))dist_r[e] = {
695
+ function CD() {
696
+ const e = new Map;
697
+ for (const [u, t] of Object.entries(C)){
698
+ for (const [F, s] of Object.entries(t))C[F] = {
711
699
  open: `\x1B[${s[0]}m`,
712
700
  close: `\x1B[${s[1]}m`
713
- }, F[e] = dist_r[e], t.set(s[0], s[1]);
714
- Object.defineProperty(dist_r, u, {
715
- value: F,
701
+ }, t[F] = C[F], e.set(s[0], s[1]);
702
+ Object.defineProperty(C, u, {
703
+ value: t,
716
704
  enumerable: !1
717
705
  });
718
706
  }
719
- return Object.defineProperty(dist_r, "codes", {
720
- value: t,
707
+ return Object.defineProperty(C, "codes", {
708
+ value: e,
721
709
  enumerable: !1
722
- }), dist_r.color.close = "\x1B[39m", dist_r.bgColor.close = "\x1B[49m", dist_r.color.ansi = L(), dist_r.color.ansi256 = dist_N(), dist_r.color.ansi16m = dist_I(), dist_r.bgColor.ansi = L(dist_m), dist_r.bgColor.ansi256 = dist_N(dist_m), dist_r.bgColor.ansi16m = dist_I(dist_m), Object.defineProperties(dist_r, {
710
+ }), C.color.close = "\x1B[39m", C.bgColor.close = "\x1B[49m", C.color.ansi = dist_N(), C.color.ansi256 = dist_I(), C.color.ansi16m = dist_R(), C.bgColor.ansi = dist_N(dist_w), C.bgColor.ansi256 = dist_I(dist_w), C.bgColor.ansi16m = dist_R(dist_w), Object.defineProperties(C, {
723
711
  rgbToAnsi256: {
724
- value: (u, F, e)=>u === F && F === e ? u < 8 ? 16 : u > 248 ? 231 : Math.round((u - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u / 255 * 5) + 6 * Math.round(F / 255 * 5) + Math.round(e / 255 * 5),
712
+ value: (u, t, F)=>u === t && t === F ? u < 8 ? 16 : u > 248 ? 231 : Math.round((u - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u / 255 * 5) + 6 * Math.round(t / 255 * 5) + Math.round(F / 255 * 5),
725
713
  enumerable: !1
726
714
  },
727
715
  hexToRgb: {
728
716
  value: (u)=>{
729
- const F = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));
730
- if (!F) return [
717
+ const t = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));
718
+ if (!t) return [
731
719
  0,
732
720
  0,
733
721
  0
734
722
  ];
735
- let [e] = F;
736
- 3 === e.length && (e = [
737
- ...e
723
+ let [F] = t;
724
+ 3 === F.length && (F = [
725
+ ...F
738
726
  ].map((i)=>i + i).join(""));
739
- const s = Number.parseInt(e, 16);
727
+ const s = Number.parseInt(F, 16);
740
728
  return [
741
729
  s >> 16 & 255,
742
730
  s >> 8 & 255,
@@ -746,116 +734,116 @@ function sD() {
746
734
  enumerable: !1
747
735
  },
748
736
  hexToAnsi256: {
749
- value: (u)=>dist_r.rgbToAnsi256(...dist_r.hexToRgb(u)),
737
+ value: (u)=>C.rgbToAnsi256(...C.hexToRgb(u)),
750
738
  enumerable: !1
751
739
  },
752
740
  ansi256ToAnsi: {
753
741
  value: (u)=>{
754
742
  if (u < 8) return 30 + u;
755
743
  if (u < 16) return 90 + (u - 8);
756
- let F, e, s;
757
- if (u >= 232) F = ((u - 232) * 10 + 8) / 255, e = F, s = F;
744
+ let t, F, s;
745
+ if (u >= 232) t = ((u - 232) * 10 + 8) / 255, F = t, s = t;
758
746
  else {
759
747
  u -= 16;
760
- const C = u % 36;
761
- F = Math.floor(u / 36) / 5, e = Math.floor(C / 6) / 5, s = C % 6 / 5;
748
+ const r = u % 36;
749
+ t = Math.floor(u / 36) / 5, F = Math.floor(r / 6) / 5, s = r % 6 / 5;
762
750
  }
763
- const i = 2 * Math.max(F, e, s);
751
+ const i = 2 * Math.max(t, F, s);
764
752
  if (0 === i) return 30;
765
- let D = 30 + (Math.round(s) << 2 | Math.round(e) << 1 | Math.round(F));
753
+ let D = 30 + (Math.round(s) << 2 | Math.round(F) << 1 | Math.round(t));
766
754
  return 2 === i && (D += 60), D;
767
755
  },
768
756
  enumerable: !1
769
757
  },
770
758
  rgbToAnsi: {
771
- value: (u, F, e)=>dist_r.ansi256ToAnsi(dist_r.rgbToAnsi256(u, F, e)),
759
+ value: (u, t, F)=>C.ansi256ToAnsi(C.rgbToAnsi256(u, t, F)),
772
760
  enumerable: !1
773
761
  },
774
762
  hexToAnsi: {
775
- value: (u)=>dist_r.ansi256ToAnsi(dist_r.hexToAnsi256(u)),
763
+ value: (u)=>C.ansi256ToAnsi(C.hexToAnsi256(u)),
776
764
  enumerable: !1
777
765
  }
778
- }), dist_r;
766
+ }), C;
779
767
  }
780
- const iD = sD(), dist_v = new Set([
768
+ const ED = CD(), d = new Set([
781
769
  "\x1B",
782
770
  "\x9B"
783
- ]), CD = 39, w = "\x07", W = "[", rD = "]", dist_R = "m", dist_y = `${rD}8;;`, V = (t)=>`${dist_v.values().next().value}${W}${t}${dist_R}`, dist_z = (t)=>`${dist_v.values().next().value}${dist_y}${t}${w}`, ED = (t)=>t.split(" ").map((u)=>A(u)), _ = (t, u, F)=>{
784
- const e = [
771
+ ]), oD = 39, y = "\x07", V = "[", nD = "]", G = "m", _ = `${nD}8;;`, dist_z = (e)=>`${d.values().next().value}${V}${e}${G}`, K = (e)=>`${d.values().next().value}${_}${e}${y}`, aD = (e)=>e.split(" ").map((u)=>dist_p(u)), k = (e, u, t)=>{
772
+ const F = [
785
773
  ...u
786
774
  ];
787
- let s = !1, i = !1, D = A(T(t[t.length - 1]));
788
- for (const [C, o] of e.entries()){
789
- const E = A(o);
790
- if (D + E <= F ? t[t.length - 1] += o : (t.push(o), D = 0), dist_v.has(o) && (s = !0, i = e.slice(C + 1).join("").startsWith(dist_y)), s) {
791
- i ? o === w && (s = !1, i = !1) : o === dist_R && (s = !1);
775
+ let s = !1, i = !1, D = dist_p(P(e[e.length - 1]));
776
+ for (const [r, n] of F.entries()){
777
+ const E = dist_p(n);
778
+ if (D + E <= t ? e[e.length - 1] += n : (e.push(n), D = 0), d.has(n) && (s = !0, i = F.slice(r + 1).join("").startsWith(_)), s) {
779
+ i ? n === y && (s = !1, i = !1) : n === G && (s = !1);
792
780
  continue;
793
781
  }
794
- D += E, D === F && C < e.length - 1 && (t.push(""), D = 0);
782
+ D += E, D === t && r < F.length - 1 && (e.push(""), D = 0);
795
783
  }
796
- !D && t[t.length - 1].length > 0 && t.length > 1 && (t[t.length - 2] += t.pop());
797
- }, nD = (t)=>{
798
- const u = t.split(" ");
799
- let F = u.length;
800
- for(; F > 0 && !(A(u[F - 1]) > 0);)F--;
801
- return F === u.length ? t : u.slice(0, F).join(" ") + u.slice(F).join("");
802
- }, oD = (t, u, F = {})=>{
803
- if (!1 !== F.trim && "" === t.trim()) return "";
804
- let e = "", s, i;
805
- const D = ED(t);
806
- let C = [
784
+ !D && e[e.length - 1].length > 0 && e.length > 1 && (e[e.length - 2] += e.pop());
785
+ }, hD = (e)=>{
786
+ const u = e.split(" ");
787
+ let t = u.length;
788
+ for(; t > 0 && !(dist_p(u[t - 1]) > 0);)t--;
789
+ return t === u.length ? e : u.slice(0, t).join(" ") + u.slice(t).join("");
790
+ }, lD = (e, u, t = {})=>{
791
+ if (!1 !== t.trim && "" === e.trim()) return "";
792
+ let F = "", s, i;
793
+ const D = aD(e);
794
+ let r = [
807
795
  ""
808
796
  ];
809
- for (const [E, a] of t.split(" ").entries()){
810
- !1 !== F.trim && (C[C.length - 1] = C[C.length - 1].trimStart());
811
- let n = A(C[C.length - 1]);
812
- if (0 !== E && (n >= u && (!1 === F.wordWrap || !1 === F.trim) && (C.push(""), n = 0), (n > 0 || !1 === F.trim) && (C[C.length - 1] += " ", n++)), F.hard && D[E] > u) {
813
- const B = u - n, p = 1 + Math.floor((D[E] - B - 1) / u);
814
- Math.floor((D[E] - 1) / u) < p && C.push(""), _(C, a, u);
797
+ for (const [E, a] of e.split(" ").entries()){
798
+ !1 !== t.trim && (r[r.length - 1] = r[r.length - 1].trimStart());
799
+ let o = dist_p(r[r.length - 1]);
800
+ if (0 !== E && (o >= u && (!1 === t.wordWrap || !1 === t.trim) && (r.push(""), o = 0), (o > 0 || !1 === t.trim) && (r[r.length - 1] += " ", o++)), t.hard && D[E] > u) {
801
+ const c = u - o, f = 1 + Math.floor((D[E] - c - 1) / u);
802
+ Math.floor((D[E] - 1) / u) < f && r.push(""), k(r, a, u);
815
803
  continue;
816
804
  }
817
- if (n + D[E] > u && n > 0 && D[E] > 0) {
818
- if (!1 === F.wordWrap && n < u) {
819
- _(C, a, u);
805
+ if (o + D[E] > u && o > 0 && D[E] > 0) {
806
+ if (!1 === t.wordWrap && o < u) {
807
+ k(r, a, u);
820
808
  continue;
821
809
  }
822
- C.push("");
810
+ r.push("");
823
811
  }
824
- if (n + D[E] > u && !1 === F.wordWrap) {
825
- _(C, a, u);
812
+ if (o + D[E] > u && !1 === t.wordWrap) {
813
+ k(r, a, u);
826
814
  continue;
827
815
  }
828
- C[C.length - 1] += a;
816
+ r[r.length - 1] += a;
829
817
  }
830
- !1 !== F.trim && (C = C.map((E)=>nD(E)));
831
- const o = [
832
- ...C.join(`
818
+ !1 !== t.trim && (r = r.map((E)=>hD(E)));
819
+ const n = [
820
+ ...r.join(`
833
821
  `)
834
822
  ];
835
- for (const [E, a] of o.entries()){
836
- if (e += a, dist_v.has(a)) {
837
- const { groups: B } = new RegExp(`(?:\\${W}(?<code>\\d+)m|\\${dist_y}(?<uri>.*)${w})`).exec(o.slice(E).join("")) || {
823
+ for (const [E, a] of n.entries()){
824
+ if (F += a, d.has(a)) {
825
+ const { groups: c } = new RegExp(`(?:\\${V}(?<code>\\d+)m|\\${_}(?<uri>.*)${y})`).exec(n.slice(E).join("")) || {
838
826
  groups: {}
839
827
  };
840
- if (void 0 !== B.code) {
841
- const p = Number.parseFloat(B.code);
842
- s = p === CD ? void 0 : p;
843
- } else void 0 !== B.uri && (i = 0 === B.uri.length ? void 0 : B.uri);
828
+ if (void 0 !== c.code) {
829
+ const f = Number.parseFloat(c.code);
830
+ s = f === oD ? void 0 : f;
831
+ } else void 0 !== c.uri && (i = 0 === c.uri.length ? void 0 : c.uri);
844
832
  }
845
- const n = iD.codes.get(Number(s));
846
- o[E + 1] === `
847
- ` ? (i && (e += dist_z("")), s && n && (e += V(n))) : a === `
848
- ` && (s && n && (e += V(s)), i && (e += dist_z(i)));
833
+ const o = ED.codes.get(Number(s));
834
+ n[E + 1] === `
835
+ ` ? (i && (F += K("")), s && o && (F += dist_z(o))) : a === `
836
+ ` && (s && o && (F += dist_z(s)), i && (F += K(i)));
849
837
  }
850
- return e;
838
+ return F;
851
839
  };
852
- function dist_G(t, u, F) {
853
- return String(t).normalize().replace(/\r\n/g, `
840
+ function Y(e, u, t) {
841
+ return String(e).normalize().replace(/\r\n/g, `
854
842
  `).split(`
855
- `).map((e)=>oD(e, u, F)).join(`
843
+ `).map((F)=>lD(F, u, t)).join(`
856
844
  `);
857
845
  }
858
- const aD = [
846
+ const xD = [
859
847
  "up",
860
848
  "down",
861
849
  "left",
@@ -863,8 +851,8 @@ const aD = [
863
851
  "space",
864
852
  "enter",
865
853
  "cancel"
866
- ], dist_c = {
867
- actions: new Set(aD),
854
+ ], dist_B = {
855
+ actions: new Set(xD),
868
856
  aliases: new Map([
869
857
  [
870
858
  "k",
@@ -892,65 +880,65 @@ const aD = [
892
880
  ]
893
881
  ])
894
882
  };
895
- function k(t, u) {
896
- if ("string" == typeof t) return dist_c.aliases.get(t) === u;
897
- for (const F of t)if (void 0 !== F && k(F, u)) return !0;
883
+ function dist_$(e, u) {
884
+ if ("string" == typeof e) return dist_B.aliases.get(e) === u;
885
+ for (const t of e)if (void 0 !== t && dist_$(t, u)) return !0;
898
886
  return !1;
899
887
  }
900
- function lD(t, u) {
901
- if (t === u) return;
902
- const F = t.split(`
903
- `), e = u.split(`
888
+ function BD(e, u) {
889
+ if (e === u) return;
890
+ const t = e.split(`
891
+ `), F = u.split(`
904
892
  `), s = [];
905
- for(let i = 0; i < Math.max(F.length, e.length); i++)F[i] !== e[i] && s.push(i);
893
+ for(let i = 0; i < Math.max(t.length, F.length); i++)t[i] !== F[i] && s.push(i);
906
894
  return s;
907
895
  }
908
896
  globalThis.process.platform.startsWith("win");
909
897
  const dist_S = Symbol("clack:cancel");
910
- function BD(t) {
911
- return t === dist_S;
898
+ function pD(e) {
899
+ return e === dist_S;
912
900
  }
913
- function d(t, u) {
914
- const F = t;
915
- F.isTTY && F.setRawMode(u);
901
+ function dist_m(e, u) {
902
+ const t = e;
903
+ t.isTTY && t.setRawMode(u);
916
904
  }
917
- var AD = Object.defineProperty, pD = (t, u, F)=>u in t ? AD(t, u, {
905
+ var gD = Object.defineProperty, vD = (e, u, t)=>u in e ? gD(e, u, {
918
906
  enumerable: !0,
919
907
  configurable: !0,
920
908
  writable: !0,
921
- value: F
922
- }) : t[u] = F, dist_h = (t, u, F)=>(pD(t, "symbol" != typeof u ? u + "" : u, F), F);
923
- class dist_x {
924
- constructor(u, F = !0){
909
+ value: t
910
+ }) : e[u] = t, dist_h = (e, u, t)=>(vD(e, "symbol" != typeof u ? u + "" : u, t), t);
911
+ class x {
912
+ constructor(u, t = !0){
925
913
  dist_h(this, "input"), dist_h(this, "output"), dist_h(this, "_abortSignal"), dist_h(this, "rl"), dist_h(this, "opts"), dist_h(this, "_render"), dist_h(this, "_track", !1), dist_h(this, "_prevFrame", ""), dist_h(this, "_subscribers", new Map), dist_h(this, "_cursor", 0), dist_h(this, "state", "initial"), dist_h(this, "error", ""), dist_h(this, "value");
926
- const { input: e = __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__.stdin, output: s = __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__.stdout, render: i, signal: D, ...C } = u;
927
- this.opts = C, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = i.bind(this), this._track = F, this._abortSignal = D, this.input = e, this.output = s;
914
+ const { input: F = __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__.stdin, output: s = __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__.stdout, render: i, signal: D, ...r } = u;
915
+ this.opts = r, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = i.bind(this), this._track = t, this._abortSignal = D, this.input = F, this.output = s;
928
916
  }
929
917
  unsubscribe() {
930
918
  this._subscribers.clear();
931
919
  }
932
- setSubscriber(u, F) {
933
- const e = this._subscribers.get(u) ?? [];
934
- e.push(F), this._subscribers.set(u, e);
920
+ setSubscriber(u, t) {
921
+ const F = this._subscribers.get(u) ?? [];
922
+ F.push(t), this._subscribers.set(u, F);
935
923
  }
936
- on(u, F) {
924
+ on(u, t) {
937
925
  this.setSubscriber(u, {
938
- cb: F
926
+ cb: t
939
927
  });
940
928
  }
941
- once(u, F) {
929
+ once(u, t) {
942
930
  this.setSubscriber(u, {
943
- cb: F,
931
+ cb: t,
944
932
  once: !0
945
933
  });
946
934
  }
947
- emit(u, ...F) {
948
- const e = this._subscribers.get(u) ?? [], s = [];
949
- for (const i of e)i.cb(...F), i.once && s.push(()=>e.splice(e.indexOf(i), 1));
935
+ emit(u, ...t) {
936
+ const F = this._subscribers.get(u) ?? [], s = [];
937
+ for (const i of F)i.cb(...t), i.once && s.push(()=>F.splice(F.indexOf(i), 1));
950
938
  for (const i of s)i();
951
939
  }
952
940
  prompt() {
953
- return new Promise((u, F)=>{
941
+ return new Promise((u, t)=>{
954
942
  if (this._abortSignal) {
955
943
  if (this._abortSignal.aborted) return this.state = "cancel", this.close(), u(dist_S);
956
944
  this._abortSignal.addEventListener("abort", ()=>{
@@ -959,68 +947,69 @@ class dist_x {
959
947
  once: !0
960
948
  });
961
949
  }
962
- const e = new __WEBPACK_EXTERNAL_MODULE_node_tty_c64aab7e__.WriteStream(0);
963
- e._write = (s, i, D)=>{
950
+ const F = new __WEBPACK_EXTERNAL_MODULE_node_stream_444d1c2b__.Writable;
951
+ F._write = (s, i, D)=>{
964
952
  this._track && (this.value = this.rl?.line.replace(/\t/g, ""), this._cursor = this.rl?.cursor ?? 0, this.emit("value", this.value)), D();
965
- }, this.input.pipe(e), this.rl = __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].createInterface({
953
+ }, this.input.pipe(F), this.rl = __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].createInterface({
966
954
  input: this.input,
967
- output: e,
955
+ output: F,
968
956
  tabSize: 2,
969
957
  prompt: "",
970
- escapeCodeTimeout: 50
971
- }), __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), d(this.input, !0), this.output.on("resize", this.render), this.render(), this.once("submit", ()=>{
972
- this.output.write(src.cursor.show), this.output.off("resize", this.render), d(this.input, !1), u(this.value);
958
+ escapeCodeTimeout: 50,
959
+ terminal: !0
960
+ }), __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), dist_m(this.input, !0), this.output.on("resize", this.render), this.render(), this.once("submit", ()=>{
961
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), dist_m(this.input, !1), u(this.value);
973
962
  }), this.once("cancel", ()=>{
974
- this.output.write(src.cursor.show), this.output.off("resize", this.render), d(this.input, !1), u(dist_S);
963
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), dist_m(this.input, !1), u(dist_S);
975
964
  });
976
965
  });
977
966
  }
978
- onKeypress(u, F) {
979
- if ("error" === this.state && (this.state = "active"), F?.name && (!this._track && dist_c.aliases.has(F.name) && this.emit("cursor", dist_c.aliases.get(F.name)), dist_c.actions.has(F.name) && this.emit("cursor", F.name)), u && ("y" === u.toLowerCase() || "n" === u.toLowerCase()) && this.emit("confirm", "y" === u.toLowerCase()), " " === u && this.opts.placeholder && (this.value || (this.rl?.write(this.opts.placeholder), this.emit("value", this.opts.placeholder))), u && this.emit("key", u.toLowerCase()), F?.name === "return") {
980
- if (this.opts.validate) {
981
- const e = this.opts.validate(this.value);
982
- e && (this.error = e instanceof Error ? e.message : e, this.state = "error", this.rl?.write(this.value));
967
+ onKeypress(u, t) {
968
+ if ("error" === this.state && (this.state = "active"), t?.name && (!this._track && dist_B.aliases.has(t.name) && this.emit("cursor", dist_B.aliases.get(t.name)), dist_B.actions.has(t.name) && this.emit("cursor", t.name)), u && ("y" === u.toLowerCase() || "n" === u.toLowerCase()) && this.emit("confirm", "y" === u.toLowerCase()), " " === u && this.opts.placeholder && (this.value || (this.rl?.write(this.opts.placeholder), this.emit("value", this.opts.placeholder))), u && this.emit("key", u.toLowerCase()), t?.name === "return") {
969
+ if (!this.value && this.opts.placeholder && (this.rl?.write(this.opts.placeholder), this.emit("value", this.opts.placeholder)), this.opts.validate) {
970
+ const F = this.opts.validate(this.value);
971
+ F && (this.error = F instanceof Error ? F.message : F, this.state = "error", this.rl?.write(this.value));
983
972
  }
984
973
  "error" !== this.state && (this.state = "submit");
985
974
  }
986
- k([
975
+ dist_$([
987
976
  u,
988
- F?.name,
989
- F?.sequence
977
+ t?.name,
978
+ t?.sequence
990
979
  ], "cancel") && (this.state = "cancel"), ("submit" === this.state || "cancel" === this.state) && this.emit("finalize"), this.render(), ("submit" === this.state || "cancel" === this.state) && this.close();
991
980
  }
992
981
  close() {
993
982
  this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
994
- `), d(this.input, !1), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
983
+ `), dist_m(this.input, !1), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
995
984
  }
996
985
  restoreCursor() {
997
- const u = dist_G(this._prevFrame, process.stdout.columns, {
986
+ const u = Y(this._prevFrame, process.stdout.columns, {
998
987
  hard: !0
999
988
  }).split(`
1000
989
  `).length - 1;
1001
990
  this.output.write(src.cursor.move(-999, -1 * u));
1002
991
  }
1003
992
  render() {
1004
- const u = dist_G(this._render(this) ?? "", process.stdout.columns, {
993
+ const u = Y(this._render(this) ?? "", process.stdout.columns, {
1005
994
  hard: !0
1006
995
  });
1007
996
  if (u !== this._prevFrame) {
1008
997
  if ("initial" === this.state) this.output.write(src.cursor.hide);
1009
998
  else {
1010
- const F = lD(this._prevFrame, u);
1011
- if (this.restoreCursor(), F && F?.length === 1) {
1012
- const e = F[0];
1013
- this.output.write(src.cursor.move(0, e)), this.output.write(src.erase.lines(1));
999
+ const t = BD(this._prevFrame, u);
1000
+ if (this.restoreCursor(), t && t?.length === 1) {
1001
+ const F = t[0];
1002
+ this.output.write(src.cursor.move(0, F)), this.output.write(src.erase.lines(1));
1014
1003
  const s = u.split(`
1015
1004
  `);
1016
- this.output.write(s[e]), this._prevFrame = u, this.output.write(src.cursor.move(0, s.length - e - 1));
1005
+ this.output.write(s[F]), this._prevFrame = u, this.output.write(src.cursor.move(0, s.length - F - 1));
1017
1006
  return;
1018
1007
  }
1019
- if (F && F?.length > 1) {
1020
- const e = F[0];
1021
- this.output.write(src.cursor.move(0, e)), this.output.write(src.erase.down());
1008
+ if (t && t?.length > 1) {
1009
+ const F = t[0];
1010
+ this.output.write(src.cursor.move(0, F)), this.output.write(src.erase.down());
1022
1011
  const s = u.split(`
1023
- `).slice(e);
1012
+ `).slice(F);
1024
1013
  this.output.write(s.join(`
1025
1014
  `)), this._prevFrame = u;
1026
1015
  return;
@@ -1031,20 +1020,21 @@ class dist_x {
1031
1020
  }
1032
1021
  }
1033
1022
  }
1034
- var bD = Object.defineProperty, mD = (t, u, F)=>u in t ? bD(t, u, {
1023
+ new WeakMap;
1024
+ var kD = Object.defineProperty, $D = (e, u, t)=>u in e ? kD(e, u, {
1035
1025
  enumerable: !0,
1036
1026
  configurable: !0,
1037
1027
  writable: !0,
1038
- value: F
1039
- }) : t[u] = F, Y = (t, u, F)=>(mD(t, "symbol" != typeof u ? u + "" : u, F), F);
1040
- let wD = class extends dist_x {
1028
+ value: t
1029
+ }) : e[u] = t, dist_H = (e, u, t)=>($D(e, "symbol" != typeof u ? u + "" : u, t), t);
1030
+ let SD = class extends x {
1041
1031
  constructor(u){
1042
- super(u, !1), Y(this, "options"), Y(this, "cursor", 0), this.options = u.options, this.value = [
1032
+ super(u, !1), dist_H(this, "options"), dist_H(this, "cursor", 0), this.options = u.options, this.value = [
1043
1033
  ...u.initialValues ?? []
1044
- ], this.cursor = Math.max(this.options.findIndex(({ value: F })=>F === u.cursorAt), 0), this.on("key", (F)=>{
1045
- "a" === F && this.toggleAll();
1046
- }), this.on("cursor", (F)=>{
1047
- switch(F){
1034
+ ], this.cursor = Math.max(this.options.findIndex(({ value: t })=>t === u.cursorAt), 0), this.on("key", (t)=>{
1035
+ "a" === t && this.toggleAll();
1036
+ }), this.on("cursor", (t)=>{
1037
+ switch(t){
1048
1038
  case "left":
1049
1039
  case "up":
1050
1040
  this.cursor = 0 === this.cursor ? this.options.length - 1 : this.cursor - 1;
@@ -1064,26 +1054,26 @@ let wD = class extends dist_x {
1064
1054
  }
1065
1055
  toggleAll() {
1066
1056
  const u = this.value.length === this.options.length;
1067
- this.value = u ? [] : this.options.map((F)=>F.value);
1057
+ this.value = u ? [] : this.options.map((t)=>t.value);
1068
1058
  }
1069
1059
  toggleValue() {
1070
1060
  const u = this.value.includes(this._value);
1071
- this.value = u ? this.value.filter((F)=>F !== this._value) : [
1061
+ this.value = u ? this.value.filter((t)=>t !== this._value) : [
1072
1062
  ...this.value,
1073
1063
  this._value
1074
1064
  ];
1075
1065
  }
1076
1066
  };
1077
- var SD = Object.defineProperty, $D = (t, u, F)=>u in t ? SD(t, u, {
1067
+ var OD = Object.defineProperty, PD = (e, u, t)=>u in e ? OD(e, u, {
1078
1068
  enumerable: !0,
1079
1069
  configurable: !0,
1080
1070
  writable: !0,
1081
- value: F
1082
- }) : t[u] = F, q = (t, u, F)=>($D(t, "symbol" != typeof u ? u + "" : u, F), F);
1083
- class jD extends dist_x {
1071
+ value: t
1072
+ }) : e[u] = t, J = (e, u, t)=>(PD(e, "symbol" != typeof u ? u + "" : u, t), t);
1073
+ class LD extends x {
1084
1074
  constructor(u){
1085
- super(u, !1), q(this, "options"), q(this, "cursor", 0), this.options = u.options, this.cursor = this.options.findIndex(({ value: F })=>F === u.initialValue), -1 === this.cursor && (this.cursor = 0), this.changeValue(), this.on("cursor", (F)=>{
1086
- switch(F){
1075
+ super(u, !1), J(this, "options"), J(this, "cursor", 0), this.options = u.options, this.cursor = this.options.findIndex(({ value: t })=>t === u.initialValue), -1 === this.cursor && (this.cursor = 0), this.changeValue(), this.on("cursor", (t)=>{
1076
+ switch(t){
1087
1077
  case "left":
1088
1078
  case "up":
1089
1079
  this.cursor = 0 === this.cursor ? this.options.length - 1 : this.cursor - 1;
@@ -1103,12 +1093,12 @@ class jD extends dist_x {
1103
1093
  this.value = this._value.value;
1104
1094
  }
1105
1095
  }
1106
- class PD extends dist_x {
1096
+ class RD extends x {
1107
1097
  get valueWithCursor() {
1108
1098
  if ("submit" === this.state) return this.value;
1109
1099
  if (this.cursor >= this.value.length) return `${this.value}\u2588`;
1110
- const u = this.value.slice(0, this.cursor), [F, ...e] = this.value.slice(this.cursor);
1111
- return `${u}${picocolors.inverse(F)}${e.join("")}`;
1100
+ const u = this.value.slice(0, this.cursor), [t, ...F] = this.value.slice(this.cursor);
1101
+ return `${u}${picocolors.inverse(t)}${F.join("")}`;
1112
1102
  }
1113
1103
  get cursor() {
1114
1104
  return this._cursor;
@@ -1122,7 +1112,7 @@ class PD extends dist_x {
1122
1112
  function ce() {
1123
1113
  return "win32" !== __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].platform ? "linux" !== __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM : !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.CI || !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.WT_SESSION || !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERMINUS_SUBLIME || "{cmd::Cmder}" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.ConEmuTask || "Terminus-Sublime" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM_PROGRAM || "vscode" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM_PROGRAM || "xterm-256color" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM || "alacritty" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM || "JetBrains-JediTerm" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERMINAL_EMULATOR;
1124
1114
  }
1125
- const dist_V = ce(), dist_u = (t, n)=>dist_V ? t : n, le = dist_u("\u25C6", "*"), dist_L = dist_u("\u25A0", "x"), dist_W = dist_u("\u25B2", "x"), dist_C = dist_u("\u25C7", "o"), dist_o = (dist_u("\u250C", "T"), dist_u("\u2502", "|")), dist_d = dist_u("\u2514", "\u2014"), dist_k = dist_u("\u25CF", ">"), dist_P = dist_u("\u25CB", " "), dist_A = dist_u("\u25FB", "[\u2022]"), dist_T = dist_u("\u25FC", "[+]"), dist_F = dist_u("\u25FB", "[ ]"), dist_ = (dist_u("\u25AA", "\u2022"), dist_u("\u2500", "-")), me = dist_u("\u256E", "+"), de = dist_u("\u251C", "+"), pe = dist_u("\u256F", "+"), dist_w = (dist_u("\u25CF", "\u2022"), dist_u("\u25C6", "*"), dist_u("\u25B2", "!"), dist_u("\u25A0", "x"), (t)=>{
1115
+ const dist_V = ce(), dist_u = (t, n)=>dist_V ? t : n, le = dist_u("\u25C6", "*"), dist_L = dist_u("\u25A0", "x"), dist_W = dist_u("\u25B2", "x"), dist_C = dist_u("\u25C7", "o"), dist_o = (dist_u("\u250C", "T"), dist_u("\u2502", "|")), dist_d = dist_u("\u2514", "\u2014"), dist_k = dist_u("\u25CF", ">"), dist_P = dist_u("\u25CB", " "), dist_A = dist_u("\u25FB", "[\u2022]"), dist_T = dist_u("\u25FC", "[+]"), dist_F = dist_u("\u25FB", "[ ]"), dist_ = (dist_u("\u25AA", "\u2022"), dist_u("\u2500", "-")), me = dist_u("\u256E", "+"), de = dist_u("\u251C", "+"), pe = dist_u("\u256F", "+"), dist_b = (dist_u("\u25CF", "\u2022"), dist_u("\u25C6", "*"), dist_u("\u25B2", "!"), dist_u("\u25A0", "x"), (t)=>{
1126
1116
  switch(t){
1127
1117
  case "initial":
1128
1118
  case "active":
@@ -1134,28 +1124,28 @@ const dist_V = ce(), dist_u = (t, n)=>dist_V ? t : n, le = dist_u("\u25C6", "*")
1134
1124
  case "submit":
1135
1125
  return picocolors.green(dist_C);
1136
1126
  }
1137
- }), dist_B = (t)=>{
1138
- const { cursor: n, options: s, style: r } = t, i = t.maxItems ?? Number.POSITIVE_INFINITY, a = Math.max(process.stdout.rows - 4, 0), c = Math.min(a, Math.max(i, 5));
1127
+ }), dist_G = (t)=>{
1128
+ const { cursor: n, options: r, style: i } = t, s = t.maxItems ?? Number.POSITIVE_INFINITY, c = Math.max(process.stdout.rows - 4, 0), a = Math.min(c, Math.max(s, 5));
1139
1129
  let l = 0;
1140
- n >= l + c - 3 ? l = Math.max(Math.min(n - c + 3, s.length - c), 0) : n < l + 2 && (l = Math.max(n - 2, 0));
1141
- const $ = c < s.length && l > 0, p = c < s.length && l + c < s.length;
1142
- return s.slice(l, l + c).map((M, v, x)=>{
1143
- const j = 0 === v && $, E = v === x.length - 1 && p;
1144
- return j || E ? picocolors.dim("...") : r(M, v + l === n);
1130
+ n >= l + a - 3 ? l = Math.max(Math.min(n - a + 3, r.length - a), 0) : n < l + 2 && (l = Math.max(n - 2, 0));
1131
+ const $ = a < r.length && l > 0, g = a < r.length && l + a < r.length;
1132
+ return r.slice(l, l + a).map((p, v, f)=>{
1133
+ const j = 0 === v && $, E = v === f.length - 1 && g;
1134
+ return j || E ? picocolors.dim("...") : i(p, v + l === n);
1145
1135
  });
1146
- }, he = (t)=>new PD({
1136
+ }, he = (t)=>new RD({
1147
1137
  validate: t.validate,
1148
1138
  placeholder: t.placeholder,
1149
1139
  defaultValue: t.defaultValue,
1150
1140
  initialValue: t.initialValue,
1151
1141
  render () {
1152
1142
  const n = `${picocolors.gray(dist_o)}
1153
- ${dist_w(this.state)} ${t.message}
1154
- `, s = t.placeholder ? picocolors.inverse(t.placeholder[0]) + picocolors.dim(t.placeholder.slice(1)) : picocolors.inverse(picocolors.hidden("_")), r = this.value ? this.valueWithCursor : s;
1143
+ ${dist_b(this.state)} ${t.message}
1144
+ `, r = t.placeholder ? picocolors.inverse(t.placeholder[0]) + picocolors.dim(t.placeholder.slice(1)) : picocolors.inverse(picocolors.hidden("_")), i = this.value ? this.valueWithCursor : r;
1155
1145
  switch(this.state){
1156
1146
  case "error":
1157
1147
  return `${n.trim()}
1158
- ${picocolors.yellow(dist_o)} ${r}
1148
+ ${picocolors.yellow(dist_o)} ${i}
1159
1149
  ${picocolors.yellow(dist_d)} ${picocolors.yellow(this.error)}
1160
1150
  `;
1161
1151
  case "submit":
@@ -1164,44 +1154,44 @@ ${picocolors.yellow(dist_d)} ${picocolors.yellow(this.error)}
1164
1154
  return `${n}${picocolors.gray(dist_o)} ${picocolors.strikethrough(picocolors.dim(this.value ?? ""))}${this.value?.trim() ? `
1165
1155
  ${picocolors.gray(dist_o)}` : ""}`;
1166
1156
  default:
1167
- return `${n}${picocolors.cyan(dist_o)} ${r}
1157
+ return `${n}${picocolors.cyan(dist_o)} ${i}
1168
1158
  ${picocolors.cyan(dist_d)}
1169
1159
  `;
1170
1160
  }
1171
1161
  }
1172
1162
  }).prompt(), ve = (t)=>{
1173
- const n = (s, r)=>{
1174
- const i = s.label ?? String(s.value);
1175
- switch(r){
1163
+ const n = (r, i)=>{
1164
+ const s = r.label ?? String(r.value);
1165
+ switch(i){
1176
1166
  case "selected":
1177
- return `${picocolors.dim(i)}`;
1167
+ return `${picocolors.dim(s)}`;
1178
1168
  case "active":
1179
- return `${picocolors.green(dist_k)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}`;
1169
+ return `${picocolors.green(dist_k)} ${s} ${r.hint ? picocolors.dim(`(${r.hint})`) : ""}`;
1180
1170
  case "cancelled":
1181
- return `${picocolors.strikethrough(picocolors.dim(i))}`;
1171
+ return `${picocolors.strikethrough(picocolors.dim(s))}`;
1182
1172
  default:
1183
- return `${picocolors.dim(dist_P)} ${picocolors.dim(i)}`;
1173
+ return `${picocolors.dim(dist_P)} ${picocolors.dim(s)}`;
1184
1174
  }
1185
1175
  };
1186
- return new jD({
1176
+ return new LD({
1187
1177
  options: t.options,
1188
1178
  initialValue: t.initialValue,
1189
1179
  render () {
1190
- const s = `${picocolors.gray(dist_o)}
1191
- ${dist_w(this.state)} ${t.message}
1180
+ const r = `${picocolors.gray(dist_o)}
1181
+ ${dist_b(this.state)} ${t.message}
1192
1182
  `;
1193
1183
  switch(this.state){
1194
1184
  case "submit":
1195
- return `${s}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "selected")}`;
1185
+ return `${r}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "selected")}`;
1196
1186
  case "cancel":
1197
- return `${s}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "cancelled")}
1187
+ return `${r}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "cancelled")}
1198
1188
  ${picocolors.gray(dist_o)}`;
1199
1189
  default:
1200
- return `${s}${picocolors.cyan(dist_o)} ${dist_B({
1190
+ return `${r}${picocolors.cyan(dist_o)} ${dist_G({
1201
1191
  cursor: this.cursor,
1202
1192
  options: this.options,
1203
1193
  maxItems: t.maxItems,
1204
- style: (r, i)=>n(r, i ? "active" : "inactive")
1194
+ style: (i, s)=>n(i, s ? "active" : "inactive")
1205
1195
  }).join(`
1206
1196
  ${picocolors.cyan(dist_o)} `)}
1207
1197
  ${picocolors.cyan(dist_d)}
@@ -1210,56 +1200,56 @@ ${picocolors.cyan(dist_d)}
1210
1200
  }
1211
1201
  }).prompt();
1212
1202
  }, fe = (t)=>{
1213
- const n = (s, r)=>{
1214
- const i = s.label ?? String(s.value);
1215
- return "active" === r ? `${picocolors.cyan(dist_A)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}` : "selected" === r ? `${picocolors.green(dist_T)} ${picocolors.dim(i)}` : "cancelled" === r ? `${picocolors.strikethrough(picocolors.dim(i))}` : "active-selected" === r ? `${picocolors.green(dist_T)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}` : "submitted" === r ? `${picocolors.dim(i)}` : `${picocolors.dim(dist_F)} ${picocolors.dim(i)}`;
1203
+ const n = (r, i)=>{
1204
+ const s = r.label ?? String(r.value);
1205
+ return "active" === i ? `${picocolors.cyan(dist_A)} ${s} ${r.hint ? picocolors.dim(`(${r.hint})`) : ""}` : "selected" === i ? `${picocolors.green(dist_T)} ${picocolors.dim(s)} ${r.hint ? picocolors.dim(`(${r.hint})`) : ""}` : "cancelled" === i ? `${picocolors.strikethrough(picocolors.dim(s))}` : "active-selected" === i ? `${picocolors.green(dist_T)} ${s} ${r.hint ? picocolors.dim(`(${r.hint})`) : ""}` : "submitted" === i ? `${picocolors.dim(s)}` : `${picocolors.dim(dist_F)} ${picocolors.dim(s)}`;
1216
1206
  };
1217
- return new wD({
1207
+ return new SD({
1218
1208
  options: t.options,
1219
1209
  initialValues: t.initialValues,
1220
1210
  required: t.required ?? !0,
1221
1211
  cursorAt: t.cursorAt,
1222
- validate (s) {
1223
- if (this.required && 0 === s.length) return `Please select at least one option.
1212
+ validate (r) {
1213
+ if (this.required && 0 === r.length) return `Please select at least one option.
1224
1214
  ${picocolors.reset(picocolors.dim(`Press ${picocolors.gray(picocolors.bgWhite(picocolors.inverse(" space ")))} to select, ${picocolors.gray(picocolors.bgWhite(picocolors.inverse(" enter ")))} to submit`))}`;
1225
1215
  },
1226
1216
  render () {
1227
- const s = `${picocolors.gray(dist_o)}
1228
- ${dist_w(this.state)} ${t.message}
1229
- `, r = (i, a)=>{
1230
- const c = this.value.includes(i.value);
1231
- return a && c ? n(i, "active-selected") : c ? n(i, "selected") : n(i, a ? "active" : "inactive");
1217
+ const r = `${picocolors.gray(dist_o)}
1218
+ ${dist_b(this.state)} ${t.message}
1219
+ `, i = (s, c)=>{
1220
+ const a = this.value.includes(s.value);
1221
+ return c && a ? n(s, "active-selected") : a ? n(s, "selected") : n(s, c ? "active" : "inactive");
1232
1222
  };
1233
1223
  switch(this.state){
1234
1224
  case "submit":
1235
- return `${s}${picocolors.gray(dist_o)} ${this.options.filter(({ value: i })=>this.value.includes(i)).map((i)=>n(i, "submitted")).join(picocolors.dim(", ")) || picocolors.dim("none")}`;
1225
+ return `${r}${picocolors.gray(dist_o)} ${this.options.filter(({ value: s })=>this.value.includes(s)).map((s)=>n(s, "submitted")).join(picocolors.dim(", ")) || picocolors.dim("none")}`;
1236
1226
  case "cancel":
1237
1227
  {
1238
- const i = this.options.filter(({ value: a })=>this.value.includes(a)).map((a)=>n(a, "cancelled")).join(picocolors.dim(", "));
1239
- return `${s}${picocolors.gray(dist_o)} ${i.trim() ? `${i}
1228
+ const s = this.options.filter(({ value: c })=>this.value.includes(c)).map((c)=>n(c, "cancelled")).join(picocolors.dim(", "));
1229
+ return `${r}${picocolors.gray(dist_o)} ${s.trim() ? `${s}
1240
1230
  ${picocolors.gray(dist_o)}` : ""}`;
1241
1231
  }
1242
1232
  case "error":
1243
1233
  {
1244
- const i = this.error.split(`
1245
- `).map((a, c)=>0 === c ? `${picocolors.yellow(dist_d)} ${picocolors.yellow(a)}` : ` ${a}`).join(`
1234
+ const s = this.error.split(`
1235
+ `).map((c, a)=>0 === a ? `${picocolors.yellow(dist_d)} ${picocolors.yellow(c)}` : ` ${c}`).join(`
1246
1236
  `);
1247
- return `${s + picocolors.yellow(dist_o)} ${dist_B({
1237
+ return `${r + picocolors.yellow(dist_o)} ${dist_G({
1248
1238
  options: this.options,
1249
1239
  cursor: this.cursor,
1250
1240
  maxItems: t.maxItems,
1251
- style: r
1241
+ style: i
1252
1242
  }).join(`
1253
1243
  ${picocolors.yellow(dist_o)} `)}
1254
- ${i}
1244
+ ${s}
1255
1245
  `;
1256
1246
  }
1257
1247
  default:
1258
- return `${s}${picocolors.cyan(dist_o)} ${dist_B({
1248
+ return `${r}${picocolors.cyan(dist_o)} ${dist_G({
1259
1249
  options: this.options,
1260
1250
  cursor: this.cursor,
1261
1251
  maxItems: t.maxItems,
1262
- style: r
1252
+ style: i
1263
1253
  }).join(`
1264
1254
  ${picocolors.cyan(dist_o)} `)}
1265
1255
  ${picocolors.cyan(dist_d)}
@@ -1268,18 +1258,18 @@ ${picocolors.cyan(dist_d)}
1268
1258
  }
1269
1259
  }).prompt();
1270
1260
  }, Me = (t = "", n = "")=>{
1271
- const s = `
1261
+ const r = `
1272
1262
  ${t}
1273
1263
  `.split(`
1274
- `), r = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(n).length, i = Math.max(s.reduce((c, l)=>{
1264
+ `), i = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(n).length, s = Math.max(r.reduce((a, l)=>{
1275
1265
  const $ = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(l);
1276
- return $.length > c ? $.length : c;
1277
- }, 0), r) + 2, a = s.map((c)=>`${picocolors.gray(dist_o)} ${picocolors.dim(c)}${" ".repeat(i - (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(c).length)}${picocolors.gray(dist_o)}`).join(`
1266
+ return $.length > a ? $.length : a;
1267
+ }, 0), i) + 2, c = r.map((a)=>`${picocolors.gray(dist_o)} ${picocolors.dim(a)}${" ".repeat(s - (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(a).length)}${picocolors.gray(dist_o)}`).join(`
1278
1268
  `);
1279
1269
  process.stdout.write(`${picocolors.gray(dist_o)}
1280
- ${picocolors.green(dist_C)} ${picocolors.reset(n)} ${picocolors.gray(dist_.repeat(Math.max(i - r - 1, 1)) + me)}
1281
- ${a}
1282
- ${picocolors.gray(de + dist_.repeat(i + 2) + pe)}
1270
+ ${picocolors.green(dist_C)} ${picocolors.reset(n)} ${picocolors.gray(dist_.repeat(Math.max(s - i - 1, 1)) + me)}
1271
+ ${c}
1272
+ ${picocolors.gray(de + dist_.repeat(s + 2) + pe)}
1283
1273
  `);
1284
1274
  }, xe = (t = "")=>{
1285
1275
  process.stdout.write(`${picocolors.gray(dist_d)} ${picocolors.red(t)}
@@ -1500,14 +1490,13 @@ var createLogger = (options = {})=>{
1500
1490
  label = (logType.label || "").padEnd(7);
1501
1491
  label = bold(logType.color ? logType.color(label) : label);
1502
1492
  }
1503
- if (message instanceof Error) {
1504
- if (message.stack) {
1505
- let [name, ...rest] = message.stack.split("\n");
1506
- if (name.startsWith("Error: ")) name = name.slice(7);
1507
- text = `${name}
1493
+ if (message instanceof Error) if (message.stack) {
1494
+ let [name, ...rest] = message.stack.split("\n");
1495
+ if (name.startsWith("Error: ")) name = name.slice(7);
1496
+ text = `${name}
1508
1497
  ${gray(rest.join("\n"))}`;
1509
- } else text = message.message;
1510
- } else if ("error" === logType.level && "string" == typeof message) {
1498
+ } else text = message.message;
1499
+ else if ("error" === logType.level && "string" == typeof message) {
1511
1500
  let lines = message.split("\n");
1512
1501
  text = lines.map((line)=>isErrorStackMessage(line) ? gray(line) : line).join("\n");
1513
1502
  } else text = `${message}`;
@@ -1538,7 +1527,7 @@ function cancelAndExit() {
1538
1527
  process.exit(0);
1539
1528
  }
1540
1529
  function checkCancel(value) {
1541
- if (BD(value)) cancelAndExit();
1530
+ if (pD(value)) cancelAndExit();
1542
1531
  return value;
1543
1532
  }
1544
1533
  function formatProjectName(input) {
@@ -1583,6 +1572,7 @@ async function getTools({ tools, dir, template }) {
1583
1572
  tools
1584
1573
  ];
1585
1574
  if (dir && template) return [];
1575
+ if ('' === tools) return [];
1586
1576
  return checkCancel(await fe({
1587
1577
  message: 'Select additional tools (Use <space> to select, <enter> to continue)',
1588
1578
  options: [
@@ -1616,11 +1606,8 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1616
1606
  }
1617
1607
  });
1618
1608
  console.log('');
1619
- logger.greet(`◆ Create ${upperFirst(name)} Project`);
1620
- if (argv.help) {
1621
- logHelpMessage(name, templates);
1622
- return;
1623
- }
1609
+ logger.greet(`\u{25C6} Create ${upperFirst(name)} Project`);
1610
+ if (argv.help) return void logHelpMessage(name, templates);
1624
1611
  const cwd = process.cwd();
1625
1612
  const pkgInfo = pkgFromUserAgent(process.env.npm_config_user_agent);
1626
1613
  const pkgManager = pkgInfo ? pkgInfo.name : 'npm';