storybook 10.0.0-beta.3 → 10.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/_browser-chunks/Color-KPLIACXP.js +1569 -0
  2. package/dist/_browser-chunks/{chunk-YY5GICNT.js → chunk-6E2SHJSL.js} +175 -32
  3. package/dist/_browser-chunks/{chunk-MZNYTCNT.js → chunk-AM4PZYVQ.js} +10 -63
  4. package/dist/_browser-chunks/{chunk-YWDKX534.js → chunk-FA42P6MO.js} +49 -4
  5. package/dist/_browser-chunks/chunk-G33S6YM3.js +521 -0
  6. package/dist/_browser-chunks/chunk-GJ67EE65.js +67 -0
  7. package/dist/_browser-chunks/{chunk-4QPX7WIQ.js → chunk-JJZMHC3A.js} +57 -166
  8. package/dist/_browser-chunks/{chunk-MD2FTHCZ.js → chunk-JVSKG4YS.js} +3 -16
  9. package/dist/_browser-chunks/{chunk-E7VLET3C.js → chunk-KSCAWCCE.js} +3947 -4291
  10. package/dist/_browser-chunks/chunk-QK3L5AXO.js +372 -0
  11. package/dist/_browser-chunks/chunk-VUAFL5XK.js +20 -0
  12. package/dist/_browser-chunks/{chunk-T7RCAJIX.js → chunk-Y3M7TW6K.js} +43 -47
  13. package/dist/_browser-chunks/{chunk-PYK5ZTFK.js → chunk-YQV3EGQ5.js} +5 -5
  14. package/dist/_browser-chunks/{syntaxhighlighter-YYAA4CS4.js → syntaxhighlighter-RJW7FE3A.js} +3 -2
  15. package/dist/_node-chunks/{builder-manager-DXAEQZJB.js → builder-manager-ZTS4EIKQ.js} +18 -13
  16. package/dist/_node-chunks/camelcase-K3BM7RII.js +18 -0
  17. package/dist/_node-chunks/{chunk-XRAB2RZN.js → chunk-2VMDKLSW.js} +6 -6
  18. package/dist/_node-chunks/{chunk-EI44VA3U.js → chunk-3VVGIILJ.js} +8 -8
  19. package/dist/_node-chunks/{chunk-KQXC7XVZ.js → chunk-4KRR46V2.js} +50 -89
  20. package/dist/_node-chunks/{chunk-EVY6P65U.js → chunk-4VDRH7SM.js} +7 -7
  21. package/dist/_node-chunks/chunk-7LG5CLCT.js +18 -0
  22. package/dist/_node-chunks/{chunk-DNOOZ2LS.js → chunk-ACUNHBEO.js} +552 -717
  23. package/dist/_node-chunks/{camelcase-CMMT6PHY.js → chunk-AK5PHLUA.js} +9 -8
  24. package/dist/_node-chunks/{chunk-RUCPXDO3.js → chunk-D7SDB4XE.js} +223 -243
  25. package/dist/_node-chunks/chunk-DWJ7TV2O.js +62 -0
  26. package/dist/_node-chunks/chunk-DZJNLBBL.js +79 -0
  27. package/dist/_node-chunks/{chunk-5XVEWBRA.js → chunk-EIHJ5J3O.js} +8 -8
  28. package/dist/_node-chunks/{chunk-3SUJKLRV.js → chunk-F3WE3456.js} +7 -7
  29. package/dist/_node-chunks/{chunk-QI3AVWUV.js → chunk-F7YW5W6B.js} +12 -12
  30. package/dist/_node-chunks/{chunk-6Z44ODDR.js → chunk-H52PBBSK.js} +7 -7
  31. package/dist/_node-chunks/{chunk-WRSYICUI.js → chunk-J3DQMIO4.js} +7 -7
  32. package/dist/_node-chunks/{chunk-PA26PSV2.js → chunk-K4YETNYJ.js} +30 -21
  33. package/dist/_node-chunks/{chunk-LRQFELIZ.js → chunk-KU3JBNPY.js} +8 -8
  34. package/dist/_node-chunks/{chunk-4TGAX5W7.js → chunk-KZB7ELL6.js} +162 -103
  35. package/dist/_node-chunks/{chunk-PAZJQ2GH.js → chunk-OC3TVLYU.js} +7 -7
  36. package/dist/_node-chunks/{chunk-7EGB7ALG.js → chunk-P3TWEOO5.js} +7 -7
  37. package/dist/_node-chunks/{chunk-BV4J7FF6.js → chunk-P7YMEOXF.js} +7 -7
  38. package/dist/_node-chunks/{chunk-CNKVQCQJ.js → chunk-PIKDGR3O.js} +7 -7
  39. package/dist/_node-chunks/{chunk-R6TLLF24.js → chunk-QHIU5I7C.js} +6 -6
  40. package/dist/_node-chunks/{chunk-AKW5OJ2T.js → chunk-SW3VZAH7.js} +9 -9
  41. package/dist/_node-chunks/chunk-TBWOUVTA.js +4967 -0
  42. package/dist/_node-chunks/{chunk-TL5RNPZW.js → chunk-TKN5TEZV.js} +583 -180
  43. package/dist/_node-chunks/{chunk-SHXAIHPO.js → chunk-TVKUJ3SE.js} +623 -750
  44. package/dist/_node-chunks/{chunk-MVPVYHBT.js → chunk-UTCFHTQH.js} +8 -8
  45. package/dist/_node-chunks/{chunk-PK6SVDYW.js → chunk-VQN4WAIA.js} +7 -7
  46. package/dist/_node-chunks/{chunk-IA7M33LK.js → chunk-VWSUFVUF.js} +7 -7
  47. package/dist/_node-chunks/{chunk-ICETGZAR.js → chunk-VX5P3IYA.js} +7 -7
  48. package/dist/_node-chunks/{chunk-ICFGNVW7.js → chunk-WCSHG2QT.js} +7 -7
  49. package/dist/_node-chunks/{default-browser-id-2X5XLPPS.js → default-browser-id-4RZZMHJE.js} +7 -7
  50. package/dist/_node-chunks/{dist-JSBOOVQK.js → dist-OGRBL76N.js} +9 -9
  51. package/dist/_node-chunks/{globby-YYTLHNUO.js → globby-65LOULA6.js} +9 -9
  52. package/dist/_node-chunks/{lib-DJHADRPZ.js → lib-TF7JCT3A.js} +36 -12
  53. package/dist/_node-chunks/{mdx-N42X6CFJ-WT6XCDU6.js → mdx-N42X6CFJ-6ZJEUZMZ.js} +8 -8
  54. package/dist/_node-chunks/{p-limit-HTXI4SGX.js → p-limit-PF7JSPDT.js} +76 -10
  55. package/dist/_node-chunks/{plugin-NNRMQ2YK.js → plugin-A6XAWMXN.js} +10 -10
  56. package/dist/_node-chunks/{plugin-W22F3FQV.js → plugin-LGHGAC6J.js} +10 -10
  57. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-VFNVWMAM.js → webpack-inject-mocker-runtime-plugin-HDSEOU3Z.js} +1307 -847
  58. package/dist/_node-chunks/{webpack-mock-plugin-Q4ED2M25.js → webpack-mock-plugin-ZJJVMJUS.js} +9 -9
  59. package/dist/babel/index.d.ts +1 -1
  60. package/dist/babel/index.js +11 -11
  61. package/dist/bin/core.js +638 -187
  62. package/dist/bin/dispatcher.js +11 -11
  63. package/dist/bin/loader.js +8 -8
  64. package/dist/cli/index.d.ts +62 -75
  65. package/dist/cli/index.js +60 -54
  66. package/dist/common/index.d.ts +3 -1
  67. package/dist/common/index.js +23 -22
  68. package/dist/components/index.js +24 -20
  69. package/dist/core-server/index.js +3544 -3220
  70. package/dist/core-server/presets/common-manager.js +440 -720
  71. package/dist/core-server/presets/common-override-preset.js +9 -9
  72. package/dist/core-server/presets/common-preset.js +22 -22
  73. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  74. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  75. package/dist/csf/index.js +6 -6
  76. package/dist/csf-tools/index.js +9 -9
  77. package/dist/docs-tools/index.js +4 -4
  78. package/dist/instrumenter/index.js +1 -1
  79. package/dist/manager/globals-runtime.js +8910 -18107
  80. package/dist/manager/runtime.js +3256 -2945
  81. package/dist/manager-api/index.js +23 -20
  82. package/dist/node-logger/index.d.ts +1 -1
  83. package/dist/node-logger/index.js +1136 -662
  84. package/dist/preview/runtime.js +12061 -21584
  85. package/dist/preview-api/index.js +6 -6
  86. package/dist/router/index.js +2 -2
  87. package/dist/server-errors.js +10 -10
  88. package/dist/telemetry/index.js +24 -25
  89. package/dist/test/index.js +1872 -4023
  90. package/dist/theming/index.d.ts +2 -2
  91. package/dist/theming/index.js +6 -6
  92. package/package.json +4 -8
  93. package/dist/_browser-chunks/Color-SFYJJKWL.js +0 -605
  94. package/dist/_browser-chunks/chunk-DHO2SA6L.js +0 -12
  95. package/dist/_browser-chunks/chunk-WPHPDNUA.js +0 -974
  96. package/dist/_node-chunks/chunk-ALWVSNSK.js +0 -62
  97. package/dist/_node-chunks/chunk-MHNUEOON.js +0 -87
  98. package/dist/_node-chunks/chunk-VDFQYNPZ.js +0 -266
  99. package/dist/_node-chunks/chunk-WELIADWR.js +0 -2377
  100. package/dist/_node-chunks/chunk-YRXKNGPR.js +0 -18
@@ -1,112 +1,37 @@
1
- import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_0oz6lpav6bgq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_0oz6lpav6bgq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_0oz6lpav6bgq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_0oz6lpav6bgq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_0oz6lpav6bgq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_0oz6lpav6bgq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
+ import {
13
+ camelCase
14
+ } from "./chunk-AK5PHLUA.js";
12
15
  import {
13
16
  __commonJS,
14
17
  __name,
15
18
  __toESM
16
- } from "./chunk-XRAB2RZN.js";
19
+ } from "./chunk-2VMDKLSW.js";
17
20
 
18
- // ../node_modules/eastasianwidth/eastasianwidth.js
19
- var require_eastasianwidth = __commonJS({
20
- "../node_modules/eastasianwidth/eastasianwidth.js"(exports, module) {
21
- var eaw = {};
22
- if ("undefined" == typeof module) {
23
- window.eastasianwidth = eaw;
24
- } else {
25
- module.exports = eaw;
26
- }
27
- eaw.eastAsianWidth = function(character) {
28
- var x = character.charCodeAt(0);
29
- var y = character.length == 2 ? character.charCodeAt(1) : 0;
30
- var codePoint = x;
31
- if (55296 <= x && x <= 56319 && (56320 <= y && y <= 57343)) {
32
- x &= 1023;
33
- y &= 1023;
34
- codePoint = x << 10 | y;
35
- codePoint += 65536;
36
- }
37
- if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) {
38
- return "F";
39
- }
40
- if (8361 == codePoint || 65377 <= codePoint && codePoint <= 65470 || 65474 <= codePoint && codePoint <= 65479 || 65482 <= codePoint && codePoint <= 65487 || 65490 <= codePoint && codePoint <= 65495 || 65498 <= codePoint && codePoint <= 65500 || 65512 <= codePoint && codePoint <= 65518) {
41
- return "H";
42
- }
43
- if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) {
44
- return "W";
45
- }
46
- if (32 <= codePoint && codePoint <= 126 || 162 <= codePoint && codePoint <= 163 || 165 <= codePoint && codePoint <= 166 || 172 == codePoint || 175 == codePoint || 10214 <= codePoint && codePoint <= 10221 || 10629 <= codePoint && codePoint <= 10630) {
47
- return "Na";
48
- }
49
- if (161 == codePoint || 164 == codePoint || 167 <= codePoint && codePoint <= 168 || 170 == codePoint || 173 <= codePoint && codePoint <= 174 || 176 <= codePoint && codePoint <= 180 || 182 <= codePoint && codePoint <= 186 || 188 <= codePoint && codePoint <= 191 || 198 == codePoint || 208 == codePoint || 215 <= codePoint && codePoint <= 216 || 222 <= codePoint && codePoint <= 225 || 230 == codePoint || 232 <= codePoint && codePoint <= 234 || 236 <= codePoint && codePoint <= 237 || 240 == codePoint || 242 <= codePoint && codePoint <= 243 || 247 <= codePoint && codePoint <= 250 || 252 == codePoint || 254 == codePoint || 257 == codePoint || 273 == codePoint || 275 == codePoint || 283 == codePoint || 294 <= codePoint && codePoint <= 295 || 299 == codePoint || 305 <= codePoint && codePoint <= 307 || 312 == codePoint || 319 <= codePoint && codePoint <= 322 || 324 == codePoint || 328 <= codePoint && codePoint <= 331 || 333 == codePoint || 338 <= codePoint && codePoint <= 339 || 358 <= codePoint && codePoint <= 359 || 363 == codePoint || 462 == codePoint || 464 == codePoint || 466 == codePoint || 468 == codePoint || 470 == codePoint || 472 == codePoint || 474 == codePoint || 476 == codePoint || 593 == codePoint || 609 == codePoint || 708 == codePoint || 711 == codePoint || 713 <= codePoint && codePoint <= 715 || 717 == codePoint || 720 == codePoint || 728 <= codePoint && codePoint <= 731 || 733 == codePoint || 735 == codePoint || 768 <= codePoint && codePoint <= 879 || 913 <= codePoint && codePoint <= 929 || 931 <= codePoint && codePoint <= 937 || 945 <= codePoint && codePoint <= 961 || 963 <= codePoint && codePoint <= 969 || 1025 == codePoint || 1040 <= codePoint && codePoint <= 1103 || 1105 == codePoint || 8208 == codePoint || 8211 <= codePoint && codePoint <= 8214 || 8216 <= codePoint && codePoint <= 8217 || 8220 <= codePoint && codePoint <= 8221 || 8224 <= codePoint && codePoint <= 8226 || 8228 <= codePoint && codePoint <= 8231 || 8240 == codePoint || 8242 <= codePoint && codePoint <= 8243 || 8245 == codePoint || 8251 == codePoint || 8254 == codePoint || 8308 == codePoint || 8319 == codePoint || 8321 <= codePoint && codePoint <= 8324 || 8364 == codePoint || 8451 == codePoint || 8453 == codePoint || 8457 == codePoint || 8467 == codePoint || 8470 == codePoint || 8481 <= codePoint && codePoint <= 8482 || 8486 == codePoint || 8491 == codePoint || 8531 <= codePoint && codePoint <= 8532 || 8539 <= codePoint && codePoint <= 8542 || 8544 <= codePoint && codePoint <= 8555 || 8560 <= codePoint && codePoint <= 8569 || 8585 == codePoint || 8592 <= codePoint && codePoint <= 8601 || 8632 <= codePoint && codePoint <= 8633 || 8658 == codePoint || 8660 == codePoint || 8679 == codePoint || 8704 == codePoint || 8706 <= codePoint && codePoint <= 8707 || 8711 <= codePoint && codePoint <= 8712 || 8715 == codePoint || 8719 == codePoint || 8721 == codePoint || 8725 == codePoint || 8730 == codePoint || 8733 <= codePoint && codePoint <= 8736 || 8739 == codePoint || 8741 == codePoint || 8743 <= codePoint && codePoint <= 8748 || 8750 == codePoint || 8756 <= codePoint && codePoint <= 8759 || 8764 <= codePoint && codePoint <= 8765 || 8776 == codePoint || 8780 == codePoint || 8786 == codePoint || 8800 <= codePoint && codePoint <= 8801 || 8804 <= codePoint && codePoint <= 8807 || 8810 <= codePoint && codePoint <= 8811 || 8814 <= codePoint && codePoint <= 8815 || 8834 <= codePoint && codePoint <= 8835 || 8838 <= codePoint && codePoint <= 8839 || 8853 == codePoint || 8857 == codePoint || 8869 == codePoint || 8895 == codePoint || 8978 == codePoint || 9312 <= codePoint && codePoint <= 9449 || 9451 <= codePoint && codePoint <= 9547 || 9552 <= codePoint && codePoint <= 9587 || 9600 <= codePoint && codePoint <= 9615 || 9618 <= codePoint && codePoint <= 9621 || 9632 <= codePoint && codePoint <= 9633 || 9635 <= codePoint && codePoint <= 9641 || 9650 <= codePoint && codePoint <= 9651 || 9654 <= codePoint && codePoint <= 9655 || 9660 <= codePoint && codePoint <= 9661 || 9664 <= codePoint && codePoint <= 9665 || 9670 <= codePoint && codePoint <= 9672 || 9675 == codePoint || 9678 <= codePoint && codePoint <= 9681 || 9698 <= codePoint && codePoint <= 9701 || 9711 == codePoint || 9733 <= codePoint && codePoint <= 9734 || 9737 == codePoint || 9742 <= codePoint && codePoint <= 9743 || 9748 <= codePoint && codePoint <= 9749 || 9756 == codePoint || 9758 == codePoint || 9792 == codePoint || 9794 == codePoint || 9824 <= codePoint && codePoint <= 9825 || 9827 <= codePoint && codePoint <= 9829 || 9831 <= codePoint && codePoint <= 9834 || 9836 <= codePoint && codePoint <= 9837 || 9839 == codePoint || 9886 <= codePoint && codePoint <= 9887 || 9918 <= codePoint && codePoint <= 9919 || 9924 <= codePoint && codePoint <= 9933 || 9935 <= codePoint && codePoint <= 9953 || 9955 == codePoint || 9960 <= codePoint && codePoint <= 9983 || 10045 == codePoint || 10071 == codePoint || 10102 <= codePoint && codePoint <= 10111 || 11093 <= codePoint && codePoint <= 11097 || 12872 <= codePoint && codePoint <= 12879 || 57344 <= codePoint && codePoint <= 63743 || 65024 <= codePoint && codePoint <= 65039 || 65533 == codePoint || 127232 <= codePoint && codePoint <= 127242 || 127248 <= codePoint && codePoint <= 127277 || 127280 <= codePoint && codePoint <= 127337 || 127344 <= codePoint && codePoint <= 127386 || 917760 <= codePoint && codePoint <= 917999 || 983040 <= codePoint && codePoint <= 1048573 || 1048576 <= codePoint && codePoint <= 1114109) {
50
- return "A";
51
- }
52
- return "N";
53
- };
54
- eaw.characterLength = function(character) {
55
- var code = this.eastAsianWidth(character);
56
- if (code == "F" || code == "W" || code == "A") {
57
- return 2;
58
- } else {
59
- return 1;
60
- }
61
- };
62
- function stringToArray(string) {
63
- return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
64
- }
65
- __name(stringToArray, "stringToArray");
66
- eaw.length = function(string) {
67
- var characters = stringToArray(string);
68
- var len = 0;
69
- for (var i = 0; i < characters.length; i++) {
70
- len = len + this.characterLength(characters[i]);
71
- }
72
- return len;
73
- };
74
- eaw.slice = function(text, start, end) {
75
- textLen = eaw.length(text);
76
- start = start ? start : 0;
77
- end = end ? end : 1;
78
- if (start < 0) {
79
- start = textLen + start;
80
- }
81
- if (end < 0) {
82
- end = textLen + end;
83
- }
84
- var result = "";
85
- var eawLen = 0;
86
- var chars = stringToArray(text);
87
- for (var i = 0; i < chars.length; i++) {
88
- var char = chars[i];
89
- var charLen = eaw.length(char);
90
- if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
91
- if (eawLen + charLen <= end) {
92
- result += char;
93
- } else {
94
- break;
95
- }
96
- }
97
- eawLen += charLen;
98
- }
99
- return result;
21
+ // ../node_modules/boxen/node_modules/emoji-regex/index.js
22
+ var require_emoji_regex = __commonJS({
23
+ "../node_modules/boxen/node_modules/emoji-regex/index.js"(exports, module) {
24
+ module.exports = () => {
25
+ return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
100
26
  };
101
27
  }
102
28
  });
103
29
 
104
- // ../node_modules/emoji-regex/index.js
105
- var require_emoji_regex = __commonJS({
106
- "../node_modules/emoji-regex/index.js"(exports, module) {
107
- "use strict";
108
- module.exports = function() {
109
- 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;
30
+ // ../node_modules/widest-line/node_modules/emoji-regex/index.js
31
+ var require_emoji_regex2 = __commonJS({
32
+ "../node_modules/widest-line/node_modules/emoji-regex/index.js"(exports, module) {
33
+ module.exports = () => {
34
+ return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
110
35
  };
111
36
  }
112
37
  });
@@ -266,7 +191,7 @@ var require_is_fullwidth_code_point = __commonJS({
266
191
  });
267
192
 
268
193
  // ../node_modules/string-width/node_modules/emoji-regex/index.js
269
- var require_emoji_regex2 = __commonJS({
194
+ var require_emoji_regex3 = __commonJS({
270
195
  "../node_modules/string-width/node_modules/emoji-regex/index.js"(exports, module) {
271
196
  "use strict";
272
197
  module.exports = function() {
@@ -281,7 +206,7 @@ var require_string_width = __commonJS({
281
206
  "use strict";
282
207
  var stripAnsi2 = require_strip_ansi();
283
208
  var isFullwidthCodePoint = require_is_fullwidth_code_point();
284
- var emojiRegex3 = require_emoji_regex2();
209
+ var emojiRegex3 = require_emoji_regex3();
285
210
  var stringWidth3 = /* @__PURE__ */ __name((string) => {
286
211
  if (typeof string !== "string" || string.length === 0) {
287
212
  return 0;
@@ -367,13 +292,15 @@ var require_ansi_align = __commonJS({
367
292
  }
368
293
  });
369
294
 
295
+ // ../node_modules/boxen/index.js
296
+ import process2 from "node:process";
297
+
370
298
  // ../node_modules/ansi-regex/index.js
371
299
  function ansiRegex({ onlyFirst = false } = {}) {
372
300
  const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
373
- const pattern = [
374
- `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
375
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
376
- ].join("|");
301
+ const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
302
+ const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
303
+ const pattern = `${osc}|${csi}`;
377
304
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
378
305
  }
379
306
  __name(ansiRegex, "ansiRegex");
@@ -388,50 +315,87 @@ function stripAnsi(string) {
388
315
  }
389
316
  __name(stripAnsi, "stripAnsi");
390
317
 
391
- // ../node_modules/wrap-ansi/node_modules/string-width/index.js
392
- var import_eastasianwidth = __toESM(require_eastasianwidth(), 1);
318
+ // ../node_modules/get-east-asian-width/lookup.js
319
+ function isAmbiguous(x) {
320
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
321
+ }
322
+ __name(isAmbiguous, "isAmbiguous");
323
+ function isFullWidth(x) {
324
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
325
+ }
326
+ __name(isFullWidth, "isFullWidth");
327
+ function isWide(x) {
328
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
329
+ }
330
+ __name(isWide, "isWide");
331
+
332
+ // ../node_modules/get-east-asian-width/index.js
333
+ function validate(codePoint) {
334
+ if (!Number.isSafeInteger(codePoint)) {
335
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
336
+ }
337
+ }
338
+ __name(validate, "validate");
339
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
340
+ validate(codePoint);
341
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
342
+ return 2;
343
+ }
344
+ return 1;
345
+ }
346
+ __name(eastAsianWidth, "eastAsianWidth");
347
+
348
+ // ../node_modules/boxen/node_modules/string-width/index.js
393
349
  var import_emoji_regex = __toESM(require_emoji_regex(), 1);
350
+ var segmenter = new Intl.Segmenter();
351
+ var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
394
352
  function stringWidth(string, options = {}) {
395
353
  if (typeof string !== "string" || string.length === 0) {
396
354
  return 0;
397
355
  }
398
- options = {
399
- ambiguousIsNarrow: true,
400
- ...options
401
- };
402
- string = stripAnsi(string);
356
+ const {
357
+ ambiguousIsNarrow = true,
358
+ countAnsiEscapeCodes = false
359
+ } = options;
360
+ if (!countAnsiEscapeCodes) {
361
+ string = stripAnsi(string);
362
+ }
403
363
  if (string.length === 0) {
404
364
  return 0;
405
365
  }
406
- string = string.replace((0, import_emoji_regex.default)(), " ");
407
- const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
408
366
  let width = 0;
409
- for (const character of string) {
367
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
368
+ for (const { segment: character } of segmenter.segment(string)) {
410
369
  const codePoint = character.codePointAt(0);
411
370
  if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
412
371
  continue;
413
372
  }
414
- if (codePoint >= 768 && codePoint <= 879) {
373
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
374
+ continue;
375
+ }
376
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
377
+ continue;
378
+ }
379
+ if (codePoint >= 55296 && codePoint <= 57343) {
380
+ continue;
381
+ }
382
+ if (codePoint >= 65024 && codePoint <= 65039) {
383
+ continue;
384
+ }
385
+ if (defaultIgnorableCodePointRegex.test(character)) {
415
386
  continue;
416
387
  }
417
- const code = import_eastasianwidth.default.eastAsianWidth(character);
418
- switch (code) {
419
- case "F":
420
- case "W":
421
- width += 2;
422
- break;
423
- case "A":
424
- width += ambiguousCharacterWidth;
425
- break;
426
- default:
427
- width += 1;
388
+ if ((0, import_emoji_regex.default)().test(character)) {
389
+ width += 2;
390
+ continue;
428
391
  }
392
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
429
393
  }
430
394
  return width;
431
395
  }
432
396
  __name(stringWidth, "stringWidth");
433
397
 
434
- // ../node_modules/wrap-ansi/node_modules/ansi-styles/index.js
398
+ // ../node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.js
435
399
  var ANSI_BACKGROUND_OFFSET = 10;
436
400
  var wrapAnsi16 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${code + offset}m`, "wrapAnsi16");
437
401
  var wrapAnsi256 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, "wrapAnsi256");
@@ -530,7 +494,7 @@ function assembleStyles() {
530
494
  styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
531
495
  Object.defineProperties(styles, {
532
496
  rgbToAnsi256: {
533
- value: /* @__PURE__ */ __name((red, green, blue) => {
497
+ value(red, green, blue) {
534
498
  if (red === green && green === blue) {
535
499
  if (red < 8) {
536
500
  return 16;
@@ -541,11 +505,11 @@ function assembleStyles() {
541
505
  return Math.round((red - 8) / 247 * 24) + 232;
542
506
  }
543
507
  return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
544
- }, "value"),
508
+ },
545
509
  enumerable: false
546
510
  },
547
511
  hexToRgb: {
548
- value: /* @__PURE__ */ __name((hex) => {
512
+ value(hex) {
549
513
  const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
550
514
  if (!matches) {
551
515
  return [0, 0, 0];
@@ -562,7 +526,7 @@ function assembleStyles() {
562
526
  integer & 255
563
527
  /* eslint-enable no-bitwise */
564
528
  ];
565
- }, "value"),
529
+ },
566
530
  enumerable: false
567
531
  },
568
532
  hexToAnsi256: {
@@ -570,7 +534,7 @@ function assembleStyles() {
570
534
  enumerable: false
571
535
  },
572
536
  ansi256ToAnsi: {
573
- value: /* @__PURE__ */ __name((code) => {
537
+ value(code) {
574
538
  if (code < 8) {
575
539
  return 30 + code;
576
540
  }
@@ -600,7 +564,7 @@ function assembleStyles() {
600
564
  result += 60;
601
565
  }
602
566
  return result;
603
- }, "value"),
567
+ },
604
568
  enumerable: false
605
569
  },
606
570
  rgbToAnsi: {
@@ -618,210 +582,393 @@ __name(assembleStyles, "assembleStyles");
618
582
  var ansiStyles = assembleStyles();
619
583
  var ansi_styles_default = ansiStyles;
620
584
 
621
- // ../node_modules/wrap-ansi/index.js
622
- var ESCAPES = /* @__PURE__ */ new Set([
623
- "\x1B",
624
- "\x9B"
625
- ]);
626
- var END_CODE = 39;
627
- var ANSI_ESCAPE_BELL = "\x07";
628
- var ANSI_CSI = "[";
629
- var ANSI_OSC = "]";
630
- var ANSI_SGR_TERMINATOR = "m";
631
- var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
632
- var wrapAnsiCode = /* @__PURE__ */ __name((code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`, "wrapAnsiCode");
633
- var wrapAnsiHyperlink = /* @__PURE__ */ __name((uri) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`, "wrapAnsiHyperlink");
634
- var wordLengths = /* @__PURE__ */ __name((string) => string.split(" ").map((character) => stringWidth(character)), "wordLengths");
635
- var wrapWord = /* @__PURE__ */ __name((rows, word, columns) => {
636
- const characters = [...word];
637
- let isInsideEscape = false;
638
- let isInsideLinkEscape = false;
639
- let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
640
- for (const [index, character] of characters.entries()) {
641
- const characterLength = stringWidth(character);
642
- if (visible + characterLength <= columns) {
643
- rows[rows.length - 1] += character;
644
- } else {
645
- rows.push(character);
646
- visible = 0;
585
+ // ../node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.js
586
+ import process from "node:process";
587
+ import os from "node:os";
588
+ import tty from "node:tty";
589
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
590
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
591
+ const position = argv.indexOf(prefix + flag);
592
+ const terminatorPosition = argv.indexOf("--");
593
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
594
+ }
595
+ __name(hasFlag, "hasFlag");
596
+ var { env } = process;
597
+ var flagForceColor;
598
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
599
+ flagForceColor = 0;
600
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
601
+ flagForceColor = 1;
602
+ }
603
+ function envForceColor() {
604
+ if ("FORCE_COLOR" in env) {
605
+ if (env.FORCE_COLOR === "true") {
606
+ return 1;
647
607
  }
648
- if (ESCAPES.has(character)) {
649
- isInsideEscape = true;
650
- isInsideLinkEscape = characters.slice(index + 1).join("").startsWith(ANSI_ESCAPE_LINK);
608
+ if (env.FORCE_COLOR === "false") {
609
+ return 0;
651
610
  }
652
- if (isInsideEscape) {
653
- if (isInsideLinkEscape) {
654
- if (character === ANSI_ESCAPE_BELL) {
655
- isInsideEscape = false;
656
- isInsideLinkEscape = false;
657
- }
658
- } else if (character === ANSI_SGR_TERMINATOR) {
659
- isInsideEscape = false;
660
- }
661
- continue;
611
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
612
+ }
613
+ }
614
+ __name(envForceColor, "envForceColor");
615
+ function translateLevel(level) {
616
+ if (level === 0) {
617
+ return false;
618
+ }
619
+ return {
620
+ level,
621
+ hasBasic: true,
622
+ has256: level >= 2,
623
+ has16m: level >= 3
624
+ };
625
+ }
626
+ __name(translateLevel, "translateLevel");
627
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
628
+ const noFlagForceColor = envForceColor();
629
+ if (noFlagForceColor !== void 0) {
630
+ flagForceColor = noFlagForceColor;
631
+ }
632
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
633
+ if (forceColor === 0) {
634
+ return 0;
635
+ }
636
+ if (sniffFlags) {
637
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
638
+ return 3;
662
639
  }
663
- visible += characterLength;
664
- if (visible === columns && index < characters.length - 1) {
665
- rows.push("");
666
- visible = 0;
640
+ if (hasFlag("color=256")) {
641
+ return 2;
667
642
  }
668
643
  }
669
- if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
670
- rows[rows.length - 2] += rows.pop();
644
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
645
+ return 1;
671
646
  }
672
- }, "wrapWord");
673
- var stringVisibleTrimSpacesRight = /* @__PURE__ */ __name((string) => {
674
- const words = string.split(" ");
675
- let last = words.length;
676
- while (last > 0) {
677
- if (stringWidth(words[last - 1]) > 0) {
678
- break;
679
- }
680
- last--;
647
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
648
+ return 0;
681
649
  }
682
- if (last === words.length) {
683
- return string;
650
+ const min = forceColor || 0;
651
+ if (env.TERM === "dumb") {
652
+ return min;
684
653
  }
685
- return words.slice(0, last).join(" ") + words.slice(last).join("");
686
- }, "stringVisibleTrimSpacesRight");
687
- var exec = /* @__PURE__ */ __name((string, columns, options = {}) => {
688
- if (options.trim !== false && string.trim() === "") {
689
- return "";
654
+ if (process.platform === "win32") {
655
+ const osRelease = os.release().split(".");
656
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
657
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
658
+ }
659
+ return 1;
690
660
  }
691
- let returnValue = "";
692
- let escapeCode;
693
- let escapeUrl;
694
- const lengths = wordLengths(string);
695
- let rows = [""];
696
- for (const [index, word] of string.split(" ").entries()) {
697
- if (options.trim !== false) {
698
- rows[rows.length - 1] = rows[rows.length - 1].trimStart();
661
+ if ("CI" in env) {
662
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
663
+ return 3;
699
664
  }
700
- let rowLength = stringWidth(rows[rows.length - 1]);
701
- if (index !== 0) {
702
- if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
703
- rows.push("");
704
- rowLength = 0;
705
- }
706
- if (rowLength > 0 || options.trim === false) {
707
- rows[rows.length - 1] += " ";
708
- rowLength++;
709
- }
665
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
666
+ return 1;
710
667
  }
711
- if (options.hard && lengths[index] > columns) {
712
- const remainingColumns = columns - rowLength;
713
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
714
- const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
715
- if (breaksStartingNextLine < breaksStartingThisLine) {
716
- rows.push("");
668
+ return min;
669
+ }
670
+ if ("TEAMCITY_VERSION" in env) {
671
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
672
+ }
673
+ if (env.COLORTERM === "truecolor") {
674
+ return 3;
675
+ }
676
+ if (env.TERM === "xterm-kitty") {
677
+ return 3;
678
+ }
679
+ if (env.TERM === "xterm-ghostty") {
680
+ return 3;
681
+ }
682
+ if (env.TERM === "wezterm") {
683
+ return 3;
684
+ }
685
+ if ("TERM_PROGRAM" in env) {
686
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
687
+ switch (env.TERM_PROGRAM) {
688
+ case "iTerm.app": {
689
+ return version >= 3 ? 3 : 2;
717
690
  }
718
- wrapWord(rows, word, columns);
719
- continue;
720
- }
721
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
722
- if (options.wordWrap === false && rowLength < columns) {
723
- wrapWord(rows, word, columns);
724
- continue;
691
+ case "Apple_Terminal": {
692
+ return 2;
725
693
  }
726
- rows.push("");
727
- }
728
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
729
- wrapWord(rows, word, columns);
730
- continue;
731
694
  }
732
- rows[rows.length - 1] += word;
733
695
  }
734
- if (options.trim !== false) {
735
- rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
696
+ if (/-256(color)?$/i.test(env.TERM)) {
697
+ return 2;
736
698
  }
737
- const pre = [...rows.join("\n")];
738
- for (const [index, character] of pre.entries()) {
739
- returnValue += character;
740
- if (ESCAPES.has(character)) {
741
- const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join("")) || { groups: {} };
742
- if (groups.code !== void 0) {
743
- const code2 = Number.parseFloat(groups.code);
744
- escapeCode = code2 === END_CODE ? void 0 : code2;
745
- } else if (groups.uri !== void 0) {
746
- escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
747
- }
748
- }
749
- const code = ansi_styles_default.codes.get(Number(escapeCode));
750
- if (pre[index + 1] === "\n") {
751
- if (escapeUrl) {
752
- returnValue += wrapAnsiHyperlink("");
753
- }
754
- if (escapeCode && code) {
755
- returnValue += wrapAnsiCode(code);
756
- }
757
- } else if (character === "\n") {
758
- if (escapeCode && code) {
759
- returnValue += wrapAnsiCode(escapeCode);
760
- }
761
- if (escapeUrl) {
762
- returnValue += wrapAnsiHyperlink(escapeUrl);
763
- }
764
- }
699
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
700
+ return 1;
701
+ }
702
+ if ("COLORTERM" in env) {
703
+ return 1;
704
+ }
705
+ return min;
706
+ }
707
+ __name(_supportsColor, "_supportsColor");
708
+ function createSupportsColor(stream, options = {}) {
709
+ const level = _supportsColor(stream, {
710
+ streamIsTTY: stream && stream.isTTY,
711
+ ...options
712
+ });
713
+ return translateLevel(level);
714
+ }
715
+ __name(createSupportsColor, "createSupportsColor");
716
+ var supportsColor = {
717
+ stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
718
+ stderr: createSupportsColor({ isTTY: tty.isatty(2) })
719
+ };
720
+ var supports_color_default = supportsColor;
721
+
722
+ // ../node_modules/boxen/node_modules/chalk/source/utilities.js
723
+ function stringReplaceAll(string, substring, replacer) {
724
+ let index = string.indexOf(substring);
725
+ if (index === -1) {
726
+ return string;
765
727
  }
728
+ const substringLength = substring.length;
729
+ let endIndex = 0;
730
+ let returnValue = "";
731
+ do {
732
+ returnValue += string.slice(endIndex, index) + substring + replacer;
733
+ endIndex = index + substringLength;
734
+ index = string.indexOf(substring, endIndex);
735
+ } while (index !== -1);
736
+ returnValue += string.slice(endIndex);
766
737
  return returnValue;
767
- }, "exec");
768
- function wrapAnsi(string, columns, options) {
769
- return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
770
738
  }
771
- __name(wrapAnsi, "wrapAnsi");
739
+ __name(stringReplaceAll, "stringReplaceAll");
740
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
741
+ let endIndex = 0;
742
+ let returnValue = "";
743
+ do {
744
+ const gotCR = string[index - 1] === "\r";
745
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
746
+ endIndex = index + 1;
747
+ index = string.indexOf("\n", endIndex);
748
+ } while (index !== -1);
749
+ returnValue += string.slice(endIndex);
750
+ return returnValue;
751
+ }
752
+ __name(stringEncaseCRLFWithFirstIndex, "stringEncaseCRLFWithFirstIndex");
772
753
 
773
- // ../node_modules/boxen/index.js
774
- import process2 from "node:process";
754
+ // ../node_modules/boxen/node_modules/chalk/source/index.js
755
+ var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
756
+ var GENERATOR = Symbol("GENERATOR");
757
+ var STYLER = Symbol("STYLER");
758
+ var IS_EMPTY = Symbol("IS_EMPTY");
759
+ var levelMapping = [
760
+ "ansi",
761
+ "ansi",
762
+ "ansi256",
763
+ "ansi16m"
764
+ ];
765
+ var styles2 = /* @__PURE__ */ Object.create(null);
766
+ var applyOptions = /* @__PURE__ */ __name((object, options = {}) => {
767
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
768
+ throw new Error("The `level` option should be an integer from 0 to 3");
769
+ }
770
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
771
+ object.level = options.level === void 0 ? colorLevel : options.level;
772
+ }, "applyOptions");
773
+ var chalkFactory = /* @__PURE__ */ __name((options) => {
774
+ const chalk2 = /* @__PURE__ */ __name((...strings) => strings.join(" "), "chalk");
775
+ applyOptions(chalk2, options);
776
+ Object.setPrototypeOf(chalk2, createChalk.prototype);
777
+ return chalk2;
778
+ }, "chalkFactory");
779
+ function createChalk(options) {
780
+ return chalkFactory(options);
781
+ }
782
+ __name(createChalk, "createChalk");
783
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
784
+ for (const [styleName, style] of Object.entries(ansi_styles_default)) {
785
+ styles2[styleName] = {
786
+ get() {
787
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
788
+ Object.defineProperty(this, styleName, { value: builder });
789
+ return builder;
790
+ }
791
+ };
792
+ }
793
+ styles2.visible = {
794
+ get() {
795
+ const builder = createBuilder(this, this[STYLER], true);
796
+ Object.defineProperty(this, "visible", { value: builder });
797
+ return builder;
798
+ }
799
+ };
800
+ var getModelAnsi = /* @__PURE__ */ __name((model, level, type, ...arguments_) => {
801
+ if (model === "rgb") {
802
+ if (level === "ansi16m") {
803
+ return ansi_styles_default[type].ansi16m(...arguments_);
804
+ }
805
+ if (level === "ansi256") {
806
+ return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
807
+ }
808
+ return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
809
+ }
810
+ if (model === "hex") {
811
+ return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
812
+ }
813
+ return ansi_styles_default[type][model](...arguments_);
814
+ }, "getModelAnsi");
815
+ var usedModels = ["rgb", "hex", "ansi256"];
816
+ for (const model of usedModels) {
817
+ styles2[model] = {
818
+ get() {
819
+ const { level } = this;
820
+ return function(...arguments_) {
821
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
822
+ return createBuilder(this, styler, this[IS_EMPTY]);
823
+ };
824
+ }
825
+ };
826
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
827
+ styles2[bgModel] = {
828
+ get() {
829
+ const { level } = this;
830
+ return function(...arguments_) {
831
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
832
+ return createBuilder(this, styler, this[IS_EMPTY]);
833
+ };
834
+ }
835
+ };
836
+ }
837
+ var proto = Object.defineProperties(() => {
838
+ }, {
839
+ ...styles2,
840
+ level: {
841
+ enumerable: true,
842
+ get() {
843
+ return this[GENERATOR].level;
844
+ },
845
+ set(level) {
846
+ this[GENERATOR].level = level;
847
+ }
848
+ }
849
+ });
850
+ var createStyler = /* @__PURE__ */ __name((open, close, parent) => {
851
+ let openAll;
852
+ let closeAll;
853
+ if (parent === void 0) {
854
+ openAll = open;
855
+ closeAll = close;
856
+ } else {
857
+ openAll = parent.openAll + open;
858
+ closeAll = close + parent.closeAll;
859
+ }
860
+ return {
861
+ open,
862
+ close,
863
+ openAll,
864
+ closeAll,
865
+ parent
866
+ };
867
+ }, "createStyler");
868
+ var createBuilder = /* @__PURE__ */ __name((self, _styler, _isEmpty) => {
869
+ const builder = /* @__PURE__ */ __name((...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" ")), "builder");
870
+ Object.setPrototypeOf(builder, proto);
871
+ builder[GENERATOR] = self;
872
+ builder[STYLER] = _styler;
873
+ builder[IS_EMPTY] = _isEmpty;
874
+ return builder;
875
+ }, "createBuilder");
876
+ var applyStyle = /* @__PURE__ */ __name((self, string) => {
877
+ if (self.level <= 0 || !string) {
878
+ return self[IS_EMPTY] ? "" : string;
879
+ }
880
+ let styler = self[STYLER];
881
+ if (styler === void 0) {
882
+ return string;
883
+ }
884
+ const { openAll, closeAll } = styler;
885
+ if (string.includes("\x1B")) {
886
+ while (styler !== void 0) {
887
+ string = stringReplaceAll(string, styler.close, styler.open);
888
+ styler = styler.parent;
889
+ }
890
+ }
891
+ const lfIndex = string.indexOf("\n");
892
+ if (lfIndex !== -1) {
893
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
894
+ }
895
+ return openAll + string + closeAll;
896
+ }, "applyStyle");
897
+ Object.defineProperties(createChalk.prototype, styles2);
898
+ var chalk = createChalk();
899
+ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
900
+ var source_default = chalk;
775
901
 
776
- // ../node_modules/boxen/node_modules/string-width/index.js
777
- var import_eastasianwidth2 = __toESM(require_eastasianwidth(), 1);
778
- var import_emoji_regex2 = __toESM(require_emoji_regex(), 1);
902
+ // ../node_modules/widest-line/node_modules/string-width/index.js
903
+ var import_emoji_regex2 = __toESM(require_emoji_regex2(), 1);
904
+ var segmenter2 = new Intl.Segmenter();
905
+ var defaultIgnorableCodePointRegex2 = /^\p{Default_Ignorable_Code_Point}$/u;
779
906
  function stringWidth2(string, options = {}) {
780
907
  if (typeof string !== "string" || string.length === 0) {
781
908
  return 0;
782
909
  }
783
- options = {
784
- ambiguousIsNarrow: true,
785
- ...options
786
- };
787
- string = stripAnsi(string);
910
+ const {
911
+ ambiguousIsNarrow = true,
912
+ countAnsiEscapeCodes = false
913
+ } = options;
914
+ if (!countAnsiEscapeCodes) {
915
+ string = stripAnsi(string);
916
+ }
788
917
  if (string.length === 0) {
789
918
  return 0;
790
919
  }
791
- string = string.replace((0, import_emoji_regex2.default)(), " ");
792
- const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
793
920
  let width = 0;
794
- for (const character of string) {
921
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
922
+ for (const { segment: character } of segmenter2.segment(string)) {
795
923
  const codePoint = character.codePointAt(0);
796
924
  if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
797
925
  continue;
798
926
  }
799
- if (codePoint >= 768 && codePoint <= 879) {
927
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
928
+ continue;
929
+ }
930
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
931
+ continue;
932
+ }
933
+ if (codePoint >= 55296 && codePoint <= 57343) {
934
+ continue;
935
+ }
936
+ if (codePoint >= 65024 && codePoint <= 65039) {
937
+ continue;
938
+ }
939
+ if (defaultIgnorableCodePointRegex2.test(character)) {
800
940
  continue;
801
941
  }
802
- const code = import_eastasianwidth2.default.eastAsianWidth(character);
803
- switch (code) {
804
- case "F":
805
- case "W":
806
- width += 2;
807
- break;
808
- case "A":
809
- width += ambiguousCharacterWidth;
810
- break;
811
- default:
812
- width += 1;
942
+ if ((0, import_emoji_regex2.default)().test(character)) {
943
+ width += 2;
944
+ continue;
813
945
  }
946
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
814
947
  }
815
948
  return width;
816
949
  }
817
950
  __name(stringWidth2, "stringWidth");
818
951
 
819
- // ../node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.js
952
+ // ../node_modules/widest-line/index.js
953
+ function widestLine(string) {
954
+ let lineWidth = 0;
955
+ for (const line of string.split("\n")) {
956
+ lineWidth = Math.max(lineWidth, stringWidth2(line));
957
+ }
958
+ return lineWidth;
959
+ }
960
+ __name(widestLine, "widestLine");
961
+
962
+ // ../node_modules/boxen/index.js
963
+ var import_cli_boxes = __toESM(require_cli_boxes(), 1);
964
+ var import_ansi_align = __toESM(require_ansi_align(), 1);
965
+
966
+ // ../node_modules/ansi-styles/index.js
820
967
  var ANSI_BACKGROUND_OFFSET2 = 10;
821
968
  var wrapAnsi162 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${code + offset}m`, "wrapAnsi16");
822
969
  var wrapAnsi2562 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, "wrapAnsi256");
823
970
  var wrapAnsi16m2 = /* @__PURE__ */ __name((offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, "wrapAnsi16m");
824
- var styles2 = {
971
+ var styles3 = {
825
972
  modifier: {
826
973
  reset: [0, 0],
827
974
  // 21 isn't widely supported and 22 does the same thing
@@ -881,39 +1028,39 @@ var styles2 = {
881
1028
  bgWhiteBright: [107, 49]
882
1029
  }
883
1030
  };
884
- var modifierNames2 = Object.keys(styles2.modifier);
885
- var foregroundColorNames2 = Object.keys(styles2.color);
886
- var backgroundColorNames2 = Object.keys(styles2.bgColor);
1031
+ var modifierNames2 = Object.keys(styles3.modifier);
1032
+ var foregroundColorNames2 = Object.keys(styles3.color);
1033
+ var backgroundColorNames2 = Object.keys(styles3.bgColor);
887
1034
  var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
888
1035
  function assembleStyles2() {
889
1036
  const codes = /* @__PURE__ */ new Map();
890
- for (const [groupName, group] of Object.entries(styles2)) {
1037
+ for (const [groupName, group] of Object.entries(styles3)) {
891
1038
  for (const [styleName, style] of Object.entries(group)) {
892
- styles2[styleName] = {
1039
+ styles3[styleName] = {
893
1040
  open: `\x1B[${style[0]}m`,
894
1041
  close: `\x1B[${style[1]}m`
895
1042
  };
896
- group[styleName] = styles2[styleName];
1043
+ group[styleName] = styles3[styleName];
897
1044
  codes.set(style[0], style[1]);
898
1045
  }
899
- Object.defineProperty(styles2, groupName, {
1046
+ Object.defineProperty(styles3, groupName, {
900
1047
  value: group,
901
1048
  enumerable: false
902
1049
  });
903
1050
  }
904
- Object.defineProperty(styles2, "codes", {
1051
+ Object.defineProperty(styles3, "codes", {
905
1052
  value: codes,
906
1053
  enumerable: false
907
1054
  });
908
- styles2.color.close = "\x1B[39m";
909
- styles2.bgColor.close = "\x1B[49m";
910
- styles2.color.ansi = wrapAnsi162();
911
- styles2.color.ansi256 = wrapAnsi2562();
912
- styles2.color.ansi16m = wrapAnsi16m2();
913
- styles2.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
914
- styles2.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
915
- styles2.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
916
- Object.defineProperties(styles2, {
1055
+ styles3.color.close = "\x1B[39m";
1056
+ styles3.bgColor.close = "\x1B[49m";
1057
+ styles3.color.ansi = wrapAnsi162();
1058
+ styles3.color.ansi256 = wrapAnsi2562();
1059
+ styles3.color.ansi16m = wrapAnsi16m2();
1060
+ styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
1061
+ styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
1062
+ styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
1063
+ Object.defineProperties(styles3, {
917
1064
  rgbToAnsi256: {
918
1065
  value(red, green, blue) {
919
1066
  if (red === green && green === blue) {
@@ -951,7 +1098,7 @@ function assembleStyles2() {
951
1098
  enumerable: false
952
1099
  },
953
1100
  hexToAnsi256: {
954
- value: /* @__PURE__ */ __name((hex) => styles2.rgbToAnsi256(...styles2.hexToRgb(hex)), "value"),
1101
+ value: /* @__PURE__ */ __name((hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)), "value"),
955
1102
  enumerable: false
956
1103
  },
957
1104
  ansi256ToAnsi: {
@@ -989,429 +1136,177 @@ function assembleStyles2() {
989
1136
  enumerable: false
990
1137
  },
991
1138
  rgbToAnsi: {
992
- value: /* @__PURE__ */ __name((red, green, blue) => styles2.ansi256ToAnsi(styles2.rgbToAnsi256(red, green, blue)), "value"),
993
- enumerable: false
994
- },
995
- hexToAnsi: {
996
- value: /* @__PURE__ */ __name((hex) => styles2.ansi256ToAnsi(styles2.hexToAnsi256(hex)), "value"),
997
- enumerable: false
998
- }
999
- });
1000
- return styles2;
1001
- }
1002
- __name(assembleStyles2, "assembleStyles");
1003
- var ansiStyles2 = assembleStyles2();
1004
- var ansi_styles_default2 = ansiStyles2;
1005
-
1006
- // ../node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.js
1007
- import process from "node:process";
1008
- import os from "node:os";
1009
- import tty from "node:tty";
1010
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
1011
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
1012
- const position = argv.indexOf(prefix + flag);
1013
- const terminatorPosition = argv.indexOf("--");
1014
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
1015
- }
1016
- __name(hasFlag, "hasFlag");
1017
- var { env } = process;
1018
- var flagForceColor;
1019
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
1020
- flagForceColor = 0;
1021
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
1022
- flagForceColor = 1;
1023
- }
1024
- function envForceColor() {
1025
- if ("FORCE_COLOR" in env) {
1026
- if (env.FORCE_COLOR === "true") {
1027
- return 1;
1028
- }
1029
- if (env.FORCE_COLOR === "false") {
1030
- return 0;
1031
- }
1032
- return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
1033
- }
1034
- }
1035
- __name(envForceColor, "envForceColor");
1036
- function translateLevel(level) {
1037
- if (level === 0) {
1038
- return false;
1039
- }
1040
- return {
1041
- level,
1042
- hasBasic: true,
1043
- has256: level >= 2,
1044
- has16m: level >= 3
1045
- };
1046
- }
1047
- __name(translateLevel, "translateLevel");
1048
- function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
1049
- const noFlagForceColor = envForceColor();
1050
- if (noFlagForceColor !== void 0) {
1051
- flagForceColor = noFlagForceColor;
1052
- }
1053
- const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
1054
- if (forceColor === 0) {
1055
- return 0;
1056
- }
1057
- if (sniffFlags) {
1058
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
1059
- return 3;
1060
- }
1061
- if (hasFlag("color=256")) {
1062
- return 2;
1063
- }
1064
- }
1065
- if ("TF_BUILD" in env && "AGENT_NAME" in env) {
1066
- return 1;
1067
- }
1068
- if (haveStream && !streamIsTTY && forceColor === void 0) {
1069
- return 0;
1070
- }
1071
- const min = forceColor || 0;
1072
- if (env.TERM === "dumb") {
1073
- return min;
1074
- }
1075
- if (process.platform === "win32") {
1076
- const osRelease = os.release().split(".");
1077
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
1078
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
1079
- }
1080
- return 1;
1081
- }
1082
- if ("CI" in env) {
1083
- if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
1084
- return 3;
1085
- }
1086
- if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
1087
- return 1;
1088
- }
1089
- return min;
1090
- }
1091
- if ("TEAMCITY_VERSION" in env) {
1092
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
1093
- }
1094
- if (env.COLORTERM === "truecolor") {
1095
- return 3;
1096
- }
1097
- if (env.TERM === "xterm-kitty") {
1098
- return 3;
1099
- }
1100
- if ("TERM_PROGRAM" in env) {
1101
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1102
- switch (env.TERM_PROGRAM) {
1103
- case "iTerm.app": {
1104
- return version >= 3 ? 3 : 2;
1105
- }
1106
- case "Apple_Terminal": {
1107
- return 2;
1108
- }
1109
- }
1110
- }
1111
- if (/-256(color)?$/i.test(env.TERM)) {
1112
- return 2;
1113
- }
1114
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
1115
- return 1;
1116
- }
1117
- if ("COLORTERM" in env) {
1118
- return 1;
1119
- }
1120
- return min;
1121
- }
1122
- __name(_supportsColor, "_supportsColor");
1123
- function createSupportsColor(stream, options = {}) {
1124
- const level = _supportsColor(stream, {
1125
- streamIsTTY: stream && stream.isTTY,
1126
- ...options
1127
- });
1128
- return translateLevel(level);
1129
- }
1130
- __name(createSupportsColor, "createSupportsColor");
1131
- var supportsColor = {
1132
- stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
1133
- stderr: createSupportsColor({ isTTY: tty.isatty(2) })
1134
- };
1135
- var supports_color_default = supportsColor;
1136
-
1137
- // ../node_modules/boxen/node_modules/chalk/source/utilities.js
1138
- function stringReplaceAll(string, substring, replacer) {
1139
- let index = string.indexOf(substring);
1140
- if (index === -1) {
1141
- return string;
1142
- }
1143
- const substringLength = substring.length;
1144
- let endIndex = 0;
1145
- let returnValue = "";
1146
- do {
1147
- returnValue += string.slice(endIndex, index) + substring + replacer;
1148
- endIndex = index + substringLength;
1149
- index = string.indexOf(substring, endIndex);
1150
- } while (index !== -1);
1151
- returnValue += string.slice(endIndex);
1152
- return returnValue;
1153
- }
1154
- __name(stringReplaceAll, "stringReplaceAll");
1155
- function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
1156
- let endIndex = 0;
1157
- let returnValue = "";
1158
- do {
1159
- const gotCR = string[index - 1] === "\r";
1160
- returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
1161
- endIndex = index + 1;
1162
- index = string.indexOf("\n", endIndex);
1163
- } while (index !== -1);
1164
- returnValue += string.slice(endIndex);
1165
- return returnValue;
1166
- }
1167
- __name(stringEncaseCRLFWithFirstIndex, "stringEncaseCRLFWithFirstIndex");
1168
-
1169
- // ../node_modules/boxen/node_modules/chalk/source/index.js
1170
- var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
1171
- var GENERATOR = Symbol("GENERATOR");
1172
- var STYLER = Symbol("STYLER");
1173
- var IS_EMPTY = Symbol("IS_EMPTY");
1174
- var levelMapping = [
1175
- "ansi",
1176
- "ansi",
1177
- "ansi256",
1178
- "ansi16m"
1179
- ];
1180
- var styles3 = /* @__PURE__ */ Object.create(null);
1181
- var applyOptions = /* @__PURE__ */ __name((object, options = {}) => {
1182
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
1183
- throw new Error("The `level` option should be an integer from 0 to 3");
1184
- }
1185
- const colorLevel = stdoutColor ? stdoutColor.level : 0;
1186
- object.level = options.level === void 0 ? colorLevel : options.level;
1187
- }, "applyOptions");
1188
- var chalkFactory = /* @__PURE__ */ __name((options) => {
1189
- const chalk2 = /* @__PURE__ */ __name((...strings) => strings.join(" "), "chalk");
1190
- applyOptions(chalk2, options);
1191
- Object.setPrototypeOf(chalk2, createChalk.prototype);
1192
- return chalk2;
1193
- }, "chalkFactory");
1194
- function createChalk(options) {
1195
- return chalkFactory(options);
1196
- }
1197
- __name(createChalk, "createChalk");
1198
- Object.setPrototypeOf(createChalk.prototype, Function.prototype);
1199
- for (const [styleName, style] of Object.entries(ansi_styles_default2)) {
1200
- styles3[styleName] = {
1201
- get() {
1202
- const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
1203
- Object.defineProperty(this, styleName, { value: builder });
1204
- return builder;
1139
+ value: /* @__PURE__ */ __name((red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)), "value"),
1140
+ enumerable: false
1141
+ },
1142
+ hexToAnsi: {
1143
+ value: /* @__PURE__ */ __name((hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)), "value"),
1144
+ enumerable: false
1205
1145
  }
1206
- };
1146
+ });
1147
+ return styles3;
1207
1148
  }
1208
- styles3.visible = {
1209
- get() {
1210
- const builder = createBuilder(this, this[STYLER], true);
1211
- Object.defineProperty(this, "visible", { value: builder });
1212
- return builder;
1213
- }
1214
- };
1215
- var getModelAnsi = /* @__PURE__ */ __name((model, level, type, ...arguments_) => {
1216
- if (model === "rgb") {
1217
- if (level === "ansi16m") {
1218
- return ansi_styles_default2[type].ansi16m(...arguments_);
1219
- }
1220
- if (level === "ansi256") {
1221
- return ansi_styles_default2[type].ansi256(ansi_styles_default2.rgbToAnsi256(...arguments_));
1222
- }
1223
- return ansi_styles_default2[type].ansi(ansi_styles_default2.rgbToAnsi(...arguments_));
1224
- }
1225
- if (model === "hex") {
1226
- return getModelAnsi("rgb", level, type, ...ansi_styles_default2.hexToRgb(...arguments_));
1227
- }
1228
- return ansi_styles_default2[type][model](...arguments_);
1229
- }, "getModelAnsi");
1230
- var usedModels = ["rgb", "hex", "ansi256"];
1231
- for (const model of usedModels) {
1232
- styles3[model] = {
1233
- get() {
1234
- const { level } = this;
1235
- return function(...arguments_) {
1236
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default2.color.close, this[STYLER]);
1237
- return createBuilder(this, styler, this[IS_EMPTY]);
1238
- };
1149
+ __name(assembleStyles2, "assembleStyles");
1150
+ var ansiStyles2 = assembleStyles2();
1151
+ var ansi_styles_default2 = ansiStyles2;
1152
+
1153
+ // ../node_modules/boxen/node_modules/wrap-ansi/index.js
1154
+ var ESCAPES = /* @__PURE__ */ new Set([
1155
+ "\x1B",
1156
+ "\x9B"
1157
+ ]);
1158
+ var END_CODE = 39;
1159
+ var ANSI_ESCAPE_BELL = "\x07";
1160
+ var ANSI_CSI = "[";
1161
+ var ANSI_OSC = "]";
1162
+ var ANSI_SGR_TERMINATOR = "m";
1163
+ var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
1164
+ var wrapAnsiCode = /* @__PURE__ */ __name((code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`, "wrapAnsiCode");
1165
+ var wrapAnsiHyperlink = /* @__PURE__ */ __name((url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`, "wrapAnsiHyperlink");
1166
+ var wordLengths = /* @__PURE__ */ __name((string) => string.split(" ").map((character) => stringWidth(character)), "wordLengths");
1167
+ var wrapWord = /* @__PURE__ */ __name((rows, word, columns) => {
1168
+ const characters = [...word];
1169
+ let isInsideEscape = false;
1170
+ let isInsideLinkEscape = false;
1171
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
1172
+ for (const [index, character] of characters.entries()) {
1173
+ const characterLength = stringWidth(character);
1174
+ if (visible + characterLength <= columns) {
1175
+ rows[rows.length - 1] += character;
1176
+ } else {
1177
+ rows.push(character);
1178
+ visible = 0;
1239
1179
  }
1240
- };
1241
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
1242
- styles3[bgModel] = {
1243
- get() {
1244
- const { level } = this;
1245
- return function(...arguments_) {
1246
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default2.bgColor.close, this[STYLER]);
1247
- return createBuilder(this, styler, this[IS_EMPTY]);
1248
- };
1180
+ if (ESCAPES.has(character)) {
1181
+ isInsideEscape = true;
1182
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
1183
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
1249
1184
  }
1250
- };
1251
- }
1252
- var proto = Object.defineProperties(() => {
1253
- }, {
1254
- ...styles3,
1255
- level: {
1256
- enumerable: true,
1257
- get() {
1258
- return this[GENERATOR].level;
1259
- },
1260
- set(level) {
1261
- this[GENERATOR].level = level;
1185
+ if (isInsideEscape) {
1186
+ if (isInsideLinkEscape) {
1187
+ if (character === ANSI_ESCAPE_BELL) {
1188
+ isInsideEscape = false;
1189
+ isInsideLinkEscape = false;
1190
+ }
1191
+ } else if (character === ANSI_SGR_TERMINATOR) {
1192
+ isInsideEscape = false;
1193
+ }
1194
+ continue;
1262
1195
  }
1263
- }
1264
- });
1265
- var createStyler = /* @__PURE__ */ __name((open, close, parent) => {
1266
- let openAll;
1267
- let closeAll;
1268
- if (parent === void 0) {
1269
- openAll = open;
1270
- closeAll = close;
1271
- } else {
1272
- openAll = parent.openAll + open;
1273
- closeAll = close + parent.closeAll;
1274
- }
1275
- return {
1276
- open,
1277
- close,
1278
- openAll,
1279
- closeAll,
1280
- parent
1281
- };
1282
- }, "createStyler");
1283
- var createBuilder = /* @__PURE__ */ __name((self, _styler, _isEmpty) => {
1284
- const builder = /* @__PURE__ */ __name((...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" ")), "builder");
1285
- Object.setPrototypeOf(builder, proto);
1286
- builder[GENERATOR] = self;
1287
- builder[STYLER] = _styler;
1288
- builder[IS_EMPTY] = _isEmpty;
1289
- return builder;
1290
- }, "createBuilder");
1291
- var applyStyle = /* @__PURE__ */ __name((self, string) => {
1292
- if (self.level <= 0 || !string) {
1293
- return self[IS_EMPTY] ? "" : string;
1294
- }
1295
- let styler = self[STYLER];
1296
- if (styler === void 0) {
1297
- return string;
1298
- }
1299
- const { openAll, closeAll } = styler;
1300
- if (string.includes("\x1B")) {
1301
- while (styler !== void 0) {
1302
- string = stringReplaceAll(string, styler.close, styler.open);
1303
- styler = styler.parent;
1196
+ visible += characterLength;
1197
+ if (visible === columns && index < characters.length - 1) {
1198
+ rows.push("");
1199
+ visible = 0;
1304
1200
  }
1305
1201
  }
1306
- const lfIndex = string.indexOf("\n");
1307
- if (lfIndex !== -1) {
1308
- string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
1309
- }
1310
- return openAll + string + closeAll;
1311
- }, "applyStyle");
1312
- Object.defineProperties(createChalk.prototype, styles3);
1313
- var chalk = createChalk();
1314
- var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
1315
- var source_default = chalk;
1316
-
1317
- // ../node_modules/boxen/node_modules/widest-line/index.js
1318
- function widestLine(string) {
1319
- let lineWidth = 0;
1320
- for (const line of string.split("\n")) {
1321
- lineWidth = Math.max(lineWidth, stringWidth2(line));
1202
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
1203
+ rows[rows.length - 2] += rows.pop();
1322
1204
  }
1323
- return lineWidth;
1324
- }
1325
- __name(widestLine, "widestLine");
1326
-
1327
- // ../node_modules/boxen/index.js
1328
- var import_cli_boxes = __toESM(require_cli_boxes(), 1);
1329
-
1330
- // ../node_modules/boxen/node_modules/camelcase/index.js
1331
- var UPPERCASE = /[\p{Lu}]/u;
1332
- var LOWERCASE = /[\p{Ll}]/u;
1333
- var LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
1334
- var IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
1335
- var SEPARATORS = /[_.\- ]+/;
1336
- var LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source);
1337
- var SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu");
1338
- var NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu");
1339
- var preserveCamelCase = /* @__PURE__ */ __name((string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
1340
- let isLastCharLower = false;
1341
- let isLastCharUpper = false;
1342
- let isLastLastCharUpper = false;
1343
- let isLastLastCharPreserved = false;
1344
- for (let index = 0; index < string.length; index++) {
1345
- const character = string[index];
1346
- isLastLastCharPreserved = index > 2 ? string[index - 3] === "-" : true;
1347
- if (isLastCharLower && UPPERCASE.test(character)) {
1348
- string = string.slice(0, index) + "-" + string.slice(index);
1349
- isLastCharLower = false;
1350
- isLastLastCharUpper = isLastCharUpper;
1351
- isLastCharUpper = true;
1352
- index++;
1353
- } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) {
1354
- string = string.slice(0, index - 1) + "-" + string.slice(index - 1);
1355
- isLastLastCharUpper = isLastCharUpper;
1356
- isLastCharUpper = false;
1357
- isLastCharLower = true;
1358
- } else {
1359
- isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;
1360
- isLastLastCharUpper = isLastCharUpper;
1361
- isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;
1205
+ }, "wrapWord");
1206
+ var stringVisibleTrimSpacesRight = /* @__PURE__ */ __name((string) => {
1207
+ const words = string.split(" ");
1208
+ let last = words.length;
1209
+ while (last > 0) {
1210
+ if (stringWidth(words[last - 1]) > 0) {
1211
+ break;
1362
1212
  }
1213
+ last--;
1363
1214
  }
1364
- return string;
1365
- }, "preserveCamelCase");
1366
- var preserveConsecutiveUppercase = /* @__PURE__ */ __name((input, toLowerCase) => {
1367
- LEADING_CAPITAL.lastIndex = 0;
1368
- return input.replace(LEADING_CAPITAL, (m1) => toLowerCase(m1));
1369
- }, "preserveConsecutiveUppercase");
1370
- var postProcess = /* @__PURE__ */ __name((input, toUpperCase) => {
1371
- SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
1372
- NUMBERS_AND_IDENTIFIER.lastIndex = 0;
1373
- return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier)).replace(NUMBERS_AND_IDENTIFIER, (m) => toUpperCase(m));
1374
- }, "postProcess");
1375
- function camelCase(input, options) {
1376
- if (!(typeof input === "string" || Array.isArray(input))) {
1377
- throw new TypeError("Expected the input to be `string | string[]`");
1378
- }
1379
- options = {
1380
- pascalCase: false,
1381
- preserveConsecutiveUppercase: false,
1382
- ...options
1383
- };
1384
- if (Array.isArray(input)) {
1385
- input = input.map((x) => x.trim()).filter((x) => x.length).join("-");
1386
- } else {
1387
- input = input.trim();
1215
+ if (last === words.length) {
1216
+ return string;
1388
1217
  }
1389
- if (input.length === 0) {
1218
+ return words.slice(0, last).join(" ") + words.slice(last).join("");
1219
+ }, "stringVisibleTrimSpacesRight");
1220
+ var exec = /* @__PURE__ */ __name((string, columns, options = {}) => {
1221
+ if (options.trim !== false && string.trim() === "") {
1390
1222
  return "";
1391
1223
  }
1392
- const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale);
1393
- const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);
1394
- if (input.length === 1) {
1395
- if (SEPARATORS.test(input)) {
1396
- return "";
1224
+ let returnValue = "";
1225
+ let escapeCode;
1226
+ let escapeUrl;
1227
+ const lengths = wordLengths(string);
1228
+ let rows = [""];
1229
+ for (const [index, word] of string.split(" ").entries()) {
1230
+ if (options.trim !== false) {
1231
+ rows[rows.length - 1] = rows.at(-1).trimStart();
1232
+ }
1233
+ let rowLength = stringWidth(rows.at(-1));
1234
+ if (index !== 0) {
1235
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
1236
+ rows.push("");
1237
+ rowLength = 0;
1238
+ }
1239
+ if (rowLength > 0 || options.trim === false) {
1240
+ rows[rows.length - 1] += " ";
1241
+ rowLength++;
1242
+ }
1243
+ }
1244
+ if (options.hard && lengths[index] > columns) {
1245
+ const remainingColumns = columns - rowLength;
1246
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
1247
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
1248
+ if (breaksStartingNextLine < breaksStartingThisLine) {
1249
+ rows.push("");
1250
+ }
1251
+ wrapWord(rows, word, columns);
1252
+ continue;
1253
+ }
1254
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
1255
+ if (options.wordWrap === false && rowLength < columns) {
1256
+ wrapWord(rows, word, columns);
1257
+ continue;
1258
+ }
1259
+ rows.push("");
1260
+ }
1261
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
1262
+ wrapWord(rows, word, columns);
1263
+ continue;
1397
1264
  }
1398
- return options.pascalCase ? toUpperCase(input) : toLowerCase(input);
1265
+ rows[rows.length - 1] += word;
1399
1266
  }
1400
- const hasUpperCase = input !== toLowerCase(input);
1401
- if (hasUpperCase) {
1402
- input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase);
1267
+ if (options.trim !== false) {
1268
+ rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
1403
1269
  }
1404
- input = input.replace(LEADING_SEPARATORS, "");
1405
- input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input);
1406
- if (options.pascalCase) {
1407
- input = toUpperCase(input.charAt(0)) + input.slice(1);
1270
+ const preString = rows.join("\n");
1271
+ const pre = [...preString];
1272
+ let preStringIndex = 0;
1273
+ for (const [index, character] of pre.entries()) {
1274
+ returnValue += character;
1275
+ if (ESCAPES.has(character)) {
1276
+ const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
1277
+ if (groups.code !== void 0) {
1278
+ const code2 = Number.parseFloat(groups.code);
1279
+ escapeCode = code2 === END_CODE ? void 0 : code2;
1280
+ } else if (groups.uri !== void 0) {
1281
+ escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
1282
+ }
1283
+ }
1284
+ const code = ansi_styles_default2.codes.get(Number(escapeCode));
1285
+ if (pre[index + 1] === "\n") {
1286
+ if (escapeUrl) {
1287
+ returnValue += wrapAnsiHyperlink("");
1288
+ }
1289
+ if (escapeCode && code) {
1290
+ returnValue += wrapAnsiCode(code);
1291
+ }
1292
+ } else if (character === "\n") {
1293
+ if (escapeCode && code) {
1294
+ returnValue += wrapAnsiCode(escapeCode);
1295
+ }
1296
+ if (escapeUrl) {
1297
+ returnValue += wrapAnsiHyperlink(escapeUrl);
1298
+ }
1299
+ }
1300
+ preStringIndex += character.length;
1408
1301
  }
1409
- return postProcess(input, toUpperCase);
1302
+ return returnValue;
1303
+ }, "exec");
1304
+ function wrapAnsi(string, columns, options) {
1305
+ return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
1410
1306
  }
1411
- __name(camelCase, "camelCase");
1307
+ __name(wrapAnsi, "wrapAnsi");
1412
1308
 
1413
1309
  // ../node_modules/boxen/index.js
1414
- var import_ansi_align = __toESM(require_ansi_align(), 1);
1415
1310
  var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
1416
1311
  var NEWLINE = "\n";
1417
1312
  var PAD = " ";
@@ -1485,7 +1380,7 @@ var getBorderChars = /* @__PURE__ */ __name((borderStyle) => {
1485
1380
  }, "getBorderChars");
1486
1381
  var makeTitle = /* @__PURE__ */ __name((text, horizontal, alignment) => {
1487
1382
  let title = "";
1488
- const textWidth = stringWidth2(text);
1383
+ const textWidth = stringWidth(text);
1489
1384
  switch (alignment) {
1490
1385
  case "left": {
1491
1386
  title = text + horizontal.slice(textWidth);
@@ -1520,7 +1415,7 @@ var makeContentText = /* @__PURE__ */ __name((text, { padding, width, textAlignm
1520
1415
  const createdLines = wrapAnsi(line, max, { hard: true });
1521
1416
  const alignedLines = (0, import_ansi_align.default)(createdLines, { align: textAlignment });
1522
1417
  const alignedLinesArray = alignedLines.split("\n");
1523
- const longestLength = Math.max(...alignedLinesArray.map((s) => stringWidth2(s)));
1418
+ const longestLength = Math.max(...alignedLinesArray.map((s) => stringWidth(s)));
1524
1419
  for (const alignedLine of alignedLinesArray) {
1525
1420
  let paddedLine;
1526
1421
  switch (textAlignment) {
@@ -1549,22 +1444,9 @@ var makeContentText = /* @__PURE__ */ __name((text, { padding, width, textAlignm
1549
1444
  }
1550
1445
  const paddingLeft = PAD.repeat(padding.left);
1551
1446
  const paddingRight = PAD.repeat(padding.right);
1552
- lines = lines.map((line) => paddingLeft + line + paddingRight);
1553
1447
  lines = lines.map((line) => {
1554
- if (width - stringWidth2(line) > 0) {
1555
- switch (textAlignment) {
1556
- case "center": {
1557
- return line + PAD.repeat(width - stringWidth2(line));
1558
- }
1559
- case "right": {
1560
- return line + PAD.repeat(width - stringWidth2(line));
1561
- }
1562
- default: {
1563
- return line + PAD.repeat(width - stringWidth2(line));
1564
- }
1565
- }
1566
- }
1567
- return line;
1448
+ const newLine = paddingLeft + line + paddingRight;
1449
+ return newLine + PAD.repeat(width - stringWidth(newLine));
1568
1450
  });
1569
1451
  if (padding.top > 0) {
1570
1452
  lines = [...Array.from({ length: padding.top }).fill(PAD.repeat(width)), ...lines];
@@ -1581,10 +1463,10 @@ var makeContentText = /* @__PURE__ */ __name((text, { padding, width, textAlignm
1581
1463
  }, "makeContentText");
1582
1464
  var boxContent = /* @__PURE__ */ __name((content, contentWidth, options) => {
1583
1465
  const colorizeBorder = /* @__PURE__ */ __name((border) => {
1584
- const newBorder = options.borderColor ? getColorFn(options.borderColor)(border) : border;
1466
+ const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
1585
1467
  return options.dimBorder ? source_default.dim(newBorder) : newBorder;
1586
1468
  }, "colorizeBorder");
1587
- const colorizeContent = /* @__PURE__ */ __name((content2) => options.backgroundColor ? getBGColorFn(options.backgroundColor)(content2) : content2, "colorizeContent");
1469
+ const colorizeContent = /* @__PURE__ */ __name((content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2, "colorizeContent");
1588
1470
  const chars = getBorderChars(options.borderStyle);
1589
1471
  const columns = terminalColumns();
1590
1472
  let marginLeft = PAD.repeat(options.margin.left);
@@ -1618,19 +1500,11 @@ var sanitizeOptions = /* @__PURE__ */ __name((options) => {
1618
1500
  if (typeof options.fullscreen === "function") {
1619
1501
  newDimensions = options.fullscreen(...newDimensions);
1620
1502
  }
1621
- if (!options.width) {
1622
- options.width = newDimensions[0];
1623
- }
1624
- if (!options.height) {
1625
- options.height = newDimensions[1];
1626
- }
1627
- }
1628
- if (options.width) {
1629
- options.width = Math.max(1, options.width - getBorderWidth(options.borderStyle));
1630
- }
1631
- if (options.height) {
1632
- options.height = Math.max(1, options.height - getBorderWidth(options.borderStyle));
1503
+ options.width ||= newDimensions[0];
1504
+ options.height ||= newDimensions[1];
1633
1505
  }
1506
+ options.width &&= Math.max(1, options.width - getBorderWidth(options.borderStyle));
1507
+ options.height &&= Math.max(1, options.height - getBorderWidth(options.borderStyle));
1634
1508
  return options;
1635
1509
  }, "sanitizeOptions");
1636
1510
  var formatTitle = /* @__PURE__ */ __name((title, borderStyle) => borderStyle === NONE ? title : ` ${title} `, "formatTitle");
@@ -1643,19 +1517,17 @@ var determineDimensions = /* @__PURE__ */ __name((text, options) => {
1643
1517
  const widest = widestLine(wrapAnsi(text, columns - borderWidth, { hard: true, trim: false })) + options.padding.left + options.padding.right;
1644
1518
  if (options.title && widthOverride) {
1645
1519
  options.title = options.title.slice(0, Math.max(0, options.width - 2));
1646
- if (options.title) {
1647
- options.title = formatTitle(options.title, options.borderStyle);
1648
- }
1520
+ options.title &&= formatTitle(options.title, options.borderStyle);
1649
1521
  } else if (options.title) {
1650
1522
  options.title = options.title.slice(0, Math.max(0, maxWidth - 2));
1651
1523
  if (options.title) {
1652
1524
  options.title = formatTitle(options.title, options.borderStyle);
1653
- if (stringWidth2(options.title) > widest) {
1654
- options.width = stringWidth2(options.title);
1525
+ if (stringWidth(options.title) > widest) {
1526
+ options.width = stringWidth(options.title);
1655
1527
  }
1656
1528
  }
1657
1529
  }
1658
- options.width = options.width ? options.width : widest;
1530
+ options.width ||= widest;
1659
1531
  if (!widthOverride) {
1660
1532
  if (options.margin.left && options.margin.right && options.width > maxWidth) {
1661
1533
  const spaceForMargins = columns - options.width - borderWidth;
@@ -1677,8 +1549,8 @@ var determineDimensions = /* @__PURE__ */ __name((text, options) => {
1677
1549
  }, "determineDimensions");
1678
1550
  var isHex = /* @__PURE__ */ __name((color) => color.match(/^#(?:[0-f]{3}){1,2}$/i), "isHex");
1679
1551
  var isColorValid = /* @__PURE__ */ __name((color) => typeof color === "string" && (source_default[color] ?? isHex(color)), "isColorValid");
1680
- var getColorFn = /* @__PURE__ */ __name((color) => isHex(color) ? source_default.hex(color) : source_default[color], "getColorFn");
1681
- var getBGColorFn = /* @__PURE__ */ __name((color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])], "getBGColorFn");
1552
+ var getColorFunction = /* @__PURE__ */ __name((color) => isHex(color) ? source_default.hex(color) : source_default[color], "getColorFunction");
1553
+ var getBGColorFunction = /* @__PURE__ */ __name((color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])], "getBGColorFunction");
1682
1554
  function boxen(text, options) {
1683
1555
  options = {
1684
1556
  padding: 0,
@@ -1708,6 +1580,7 @@ __name(boxen, "boxen");
1708
1580
 
1709
1581
  export {
1710
1582
  require_string_width,
1711
- wrapAnsi,
1583
+ stripAnsi,
1584
+ ansi_styles_default2 as ansi_styles_default,
1712
1585
  boxen
1713
1586
  };