storybook 10.1.0-alpha.9 → 10.1.0-beta.0

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 (198) hide show
  1. package/dist/_browser-chunks/Color-FTG7SQDA.js +1097 -0
  2. package/dist/_browser-chunks/WithTooltip-LMROHDUP.js +1651 -0
  3. package/dist/_browser-chunks/chunk-2FRVAXCZ.js +7 -0
  4. package/dist/_browser-chunks/{chunk-FDWKXLBI.js → chunk-2XZMBGTA.js} +44 -109
  5. package/dist/_browser-chunks/chunk-3IAH5M2U.js +171 -0
  6. package/dist/_browser-chunks/chunk-3OXGAGBE.js +779 -0
  7. package/dist/_browser-chunks/{chunk-TMDZCWME.js → chunk-3PJE6VLG.js} +1 -3
  8. package/dist/_browser-chunks/{chunk-VAMFPZY3.js → chunk-45UGUKRX.js} +2 -7
  9. package/dist/_browser-chunks/chunk-6XWLIJQL.js +11 -0
  10. package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
  11. package/dist/_browser-chunks/chunk-AIOS4NGK.js +252 -0
  12. package/dist/_browser-chunks/chunk-AS2HQEYC.js +14 -0
  13. package/dist/_browser-chunks/chunk-AXG2BOBL.js +836 -0
  14. package/dist/_browser-chunks/{chunk-MH6AXFXB.js → chunk-CHUV5WSW.js} +0 -5
  15. package/dist/_browser-chunks/chunk-EUVGDK4H.js +93 -0
  16. package/dist/_browser-chunks/chunk-EZSQOHRI.js +18 -0
  17. package/dist/_browser-chunks/{chunk-CADGRH3P.js → chunk-FNXWN6IK.js} +3 -8
  18. package/dist/_browser-chunks/chunk-FQ7SLVLR.js +66 -0
  19. package/dist/_browser-chunks/chunk-GFLS4VP3.js +64 -0
  20. package/dist/_browser-chunks/chunk-GFY5R5EY.js +47 -0
  21. package/dist/_browser-chunks/{chunk-L2D73C6Z.js → chunk-H6XK3RSC.js} +13 -21
  22. package/dist/_browser-chunks/chunk-IPA5A322.js +71 -0
  23. package/dist/_browser-chunks/chunk-JP7NCOJX.js +37 -0
  24. package/dist/_browser-chunks/chunk-KJHJLCBK.js +11 -0
  25. package/dist/_browser-chunks/{chunk-OWPZQM2D.js → chunk-L4RMQ7D7.js} +60 -110
  26. package/dist/_browser-chunks/chunk-P4F4UVXX.js +951 -0
  27. package/dist/_browser-chunks/{chunk-AB7OOPUX.js → chunk-QKODTO7K.js} +0 -5
  28. package/dist/_browser-chunks/chunk-RP5RXKFU.js +2491 -0
  29. package/dist/_browser-chunks/chunk-SL75JR6Y.js +9 -0
  30. package/dist/_browser-chunks/chunk-SS2NHR7W.js +2969 -0
  31. package/dist/_browser-chunks/chunk-UD6FQLAF.js +1481 -0
  32. package/dist/_browser-chunks/chunk-VYJQ7RU5.js +2853 -0
  33. package/dist/_browser-chunks/chunk-WJYERY3R.js +136 -0
  34. package/dist/_browser-chunks/chunk-XJNX76GA.js +85 -0
  35. package/dist/_browser-chunks/{chunk-F4Q6SGTB.js → chunk-YKE5S47A.js} +177 -399
  36. package/dist/_browser-chunks/{chunk-SN4J4IQ3.js → chunk-ZUWEVLDX.js} +1 -7
  37. package/dist/_browser-chunks/{formatter-OMEEQ6HG.js → formatter-QJ4M4OGQ.js} +4 -9
  38. package/dist/_browser-chunks/{syntaxhighlighter-CAVLW7PM.js → syntaxhighlighter-IQDEPFLK.js} +704 -1848
  39. package/dist/_node-chunks/{builder-manager-SM3UWERX.js → builder-manager-BDAQHXFI.js} +510 -1019
  40. package/dist/_node-chunks/camelcase-3C7DZZPX.js +37 -0
  41. package/dist/_node-chunks/chunk-2IIQTGNE.js +6024 -0
  42. package/dist/_node-chunks/chunk-56U5LEMP.js +3043 -0
  43. package/dist/_node-chunks/chunk-7LIRCAQE.js +20 -0
  44. package/dist/_node-chunks/chunk-7RN6TXKP.js +603 -0
  45. package/dist/_node-chunks/chunk-7SJ7PZNL.js +4523 -0
  46. package/dist/_node-chunks/{chunk-HHSTA6QS.js → chunk-BG4RDXG7.js} +8 -10
  47. package/dist/_node-chunks/chunk-CBQKMXLQ.js +18 -0
  48. package/dist/_node-chunks/chunk-CN2IW2KQ.js +1564 -0
  49. package/dist/_node-chunks/chunk-CQMAU6UQ.js +943 -0
  50. package/dist/_node-chunks/{chunk-EBUEXRH5.js → chunk-D6ND3TVY.js} +116 -276
  51. package/dist/_node-chunks/chunk-DC355CYB.js +61 -0
  52. package/dist/_node-chunks/{chunk-SGM3ZCCT.js → chunk-EVK2SBW5.js} +292 -688
  53. package/dist/_node-chunks/chunk-IXWEUXJ2.js +119 -0
  54. package/dist/_node-chunks/{chunk-F6EFOEC7.js → chunk-KVRF22SH.js} +469 -983
  55. package/dist/_node-chunks/chunk-LEDP4QQW.js +919 -0
  56. package/dist/_node-chunks/{chunk-GHIBZRKD.js → chunk-MMVV6DGG.js} +8133 -8887
  57. package/dist/_node-chunks/chunk-O5CGEVRI.js +29 -0
  58. package/dist/_node-chunks/chunk-OZZO56XN.js +299 -0
  59. package/dist/_node-chunks/chunk-POT2EVGD.js +78 -0
  60. package/dist/_node-chunks/chunk-R5YGFSTV.js +3781 -0
  61. package/dist/_node-chunks/chunk-SQCTM2OS.js +23 -0
  62. package/dist/_node-chunks/chunk-UFOFO5H7.js +54 -0
  63. package/dist/_node-chunks/chunk-VBF7ALJF.js +72 -0
  64. package/dist/_node-chunks/chunk-W6MAMTUF.js +70 -0
  65. package/dist/_node-chunks/chunk-WURL4XOT.js +46662 -0
  66. package/dist/_node-chunks/chunk-XGK6MVKR.js +61 -0
  67. package/dist/_node-chunks/chunk-YV3GDSDT.js +765 -0
  68. package/dist/_node-chunks/{chunk-ATDHMMIZ.js → chunk-YWV55YW3.js} +15 -24
  69. package/dist/_node-chunks/dist-KEP4IFRN.js +121 -0
  70. package/dist/_node-chunks/globby-4WUBTDCN.js +3452 -0
  71. package/dist/_node-chunks/lib-JVOEKTYM.js +366 -0
  72. package/dist/_node-chunks/mdx-N42X6CFJ-C5WFYYXR.js +14329 -0
  73. package/dist/_node-chunks/p-limit-LDY632RS.js +116 -0
  74. package/dist/actions/decorator.js +21 -42
  75. package/dist/actions/index.js +3 -3
  76. package/dist/babel/index.d.ts +671 -335
  77. package/dist/babel/index.js +10 -11
  78. package/dist/bin/core.js +601 -1548
  79. package/dist/bin/dispatcher.js +36 -36
  80. package/dist/bin/loader.js +24 -38
  81. package/dist/channels/index.js +98 -234
  82. package/dist/cli/index.d.ts +1479 -133
  83. package/dist/cli/index.js +30 -8540
  84. package/dist/client-logger/index.js +31 -61
  85. package/dist/common/index.d.ts +139 -62
  86. package/dist/common/index.js +66 -51
  87. package/dist/components/index.d.ts +575 -273
  88. package/dist/components/index.js +14863 -4313
  89. package/dist/core-events/index.js +2 -66
  90. package/dist/core-server/index.d.ts +3 -2
  91. package/dist/core-server/index.js +2908 -8518
  92. package/dist/core-server/presets/common-manager.css +2 -2
  93. package/dist/core-server/presets/common-manager.js +2521 -5233
  94. package/dist/core-server/presets/common-override-preset.js +31 -60
  95. package/dist/core-server/presets/common-preset.js +663 -962
  96. package/dist/csf/index.js +534 -1179
  97. package/dist/csf-tools/index.js +9 -9
  98. package/dist/docs-tools/index.js +6 -6
  99. package/dist/highlight/index.js +2 -2
  100. package/dist/instrumenter/index.js +199 -415
  101. package/dist/manager/globals-runtime.js +59044 -67141
  102. package/dist/manager/globals.js +2 -3
  103. package/dist/manager/manager-stores.d.ts +1 -0
  104. package/dist/manager/manager-stores.js +23 -0
  105. package/dist/manager/runtime.js +11511 -10953
  106. package/dist/manager-api/index.d.ts +1811 -2
  107. package/dist/manager-api/index.js +1348 -2401
  108. package/dist/manager-errors.d.ts +9 -0
  109. package/dist/manager-errors.js +3 -3
  110. package/dist/mocking-utils/index.d.ts +1126 -0
  111. package/dist/mocking-utils/index.js +1181 -0
  112. package/dist/node-logger/index.d.ts +192 -24
  113. package/dist/node-logger/index.js +23 -4471
  114. package/dist/preview/globals.js +2 -3
  115. package/dist/preview/runtime.js +10799 -22393
  116. package/dist/preview-api/index.d.ts +68 -69
  117. package/dist/preview-api/index.js +13 -13
  118. package/dist/preview-errors.d.ts +9 -0
  119. package/dist/preview-errors.js +4 -4
  120. package/dist/router/index.js +347 -899
  121. package/dist/server-errors.d.ts +34 -1
  122. package/dist/server-errors.js +17 -10
  123. package/dist/telemetry/index.d.ts +24 -3
  124. package/dist/telemetry/index.js +25 -24
  125. package/dist/test/index.js +6131 -11916
  126. package/dist/theming/create.d.ts +1 -0
  127. package/dist/theming/create.js +4 -4
  128. package/dist/theming/index.d.ts +3366 -2599
  129. package/dist/theming/index.js +501 -1091
  130. package/dist/types/index.d.ts +72 -8
  131. package/dist/types/index.js +27 -12
  132. package/dist/viewport/index.js +3 -3
  133. package/package.json +26 -17
  134. package/dist/_browser-chunks/Color-7ZNS6F6B.js +0 -1676
  135. package/dist/_browser-chunks/WithTooltip-SK46ZJ2J.js +0 -13
  136. package/dist/_browser-chunks/chunk-6A7OIVEL.js +0 -66
  137. package/dist/_browser-chunks/chunk-B4A3ADP3.js +0 -3816
  138. package/dist/_browser-chunks/chunk-BOOOPFZF.js +0 -2335
  139. package/dist/_browser-chunks/chunk-FSBVR7H5.js +0 -106
  140. package/dist/_browser-chunks/chunk-FUOHXXZT.js +0 -23
  141. package/dist/_browser-chunks/chunk-GTKOCWCT.js +0 -17
  142. package/dist/_browser-chunks/chunk-HHW4FUMO.js +0 -12
  143. package/dist/_browser-chunks/chunk-JVSKG4YS.js +0 -4052
  144. package/dist/_browser-chunks/chunk-LASUB7TL.js +0 -76
  145. package/dist/_browser-chunks/chunk-LYCSRYYR.js +0 -101
  146. package/dist/_browser-chunks/chunk-NVV6MIOE.js +0 -243
  147. package/dist/_browser-chunks/chunk-OBXWFEPB.js +0 -852
  148. package/dist/_browser-chunks/chunk-OPCDBBL3.js +0 -48
  149. package/dist/_browser-chunks/chunk-PB6FZ3WE.js +0 -130
  150. package/dist/_browser-chunks/chunk-RNE2IUTB.js +0 -1300
  151. package/dist/_browser-chunks/chunk-RW5PKMWM.js +0 -4182
  152. package/dist/_browser-chunks/chunk-SYS437NN.js +0 -122
  153. package/dist/_browser-chunks/chunk-U46RQHA4.js +0 -12
  154. package/dist/_browser-chunks/chunk-UTNZYD2N.js +0 -311
  155. package/dist/_browser-chunks/chunk-VUAFL5XK.js +0 -20
  156. package/dist/_browser-chunks/chunk-XDGMHOV7.js +0 -2197
  157. package/dist/_browser-chunks/chunk-XW6KSYKF.js +0 -16
  158. package/dist/_browser-chunks/chunk-Y3M7TW6K.js +0 -1041
  159. package/dist/_browser-chunks/chunk-ZNRFDIVA.js +0 -233
  160. package/dist/_node-chunks/camelcase-H5QSGQLK.js +0 -18
  161. package/dist/_node-chunks/chunk-3THWHQOC.js +0 -61
  162. package/dist/_node-chunks/chunk-45YUOLTU.js +0 -69
  163. package/dist/_node-chunks/chunk-4QSNCPAU.js +0 -64656
  164. package/dist/_node-chunks/chunk-744PQSOU.js +0 -79
  165. package/dist/_node-chunks/chunk-74Z2U7QG.js +0 -1544
  166. package/dist/_node-chunks/chunk-7MB7TFPO.js +0 -1198
  167. package/dist/_node-chunks/chunk-A7GS4RFT.js +0 -697
  168. package/dist/_node-chunks/chunk-BIA3A5UM.js +0 -61
  169. package/dist/_node-chunks/chunk-C5G7CLWX.js +0 -1657
  170. package/dist/_node-chunks/chunk-DLFUKMYJ.js +0 -1531
  171. package/dist/_node-chunks/chunk-EMRGRXKT.js +0 -111
  172. package/dist/_node-chunks/chunk-EX46EHHY.js +0 -420
  173. package/dist/_node-chunks/chunk-F76QKNOJ.js +0 -304
  174. package/dist/_node-chunks/chunk-HDCRUTEF.js +0 -220
  175. package/dist/_node-chunks/chunk-HUYAOIPH.js +0 -90
  176. package/dist/_node-chunks/chunk-IBJZQZJC.js +0 -101
  177. package/dist/_node-chunks/chunk-KZN2RDDT.js +0 -6712
  178. package/dist/_node-chunks/chunk-LYUNFU3F.js +0 -4741
  179. package/dist/_node-chunks/chunk-N44SIS6K.js +0 -28
  180. package/dist/_node-chunks/chunk-NILZM6KR.js +0 -18
  181. package/dist/_node-chunks/chunk-PC4ZRP6W.js +0 -34
  182. package/dist/_node-chunks/chunk-TJNGOQUH.js +0 -4272
  183. package/dist/_node-chunks/chunk-UBSYLHIL.js +0 -1250
  184. package/dist/_node-chunks/chunk-UTCLXPOC.js +0 -1518
  185. package/dist/_node-chunks/chunk-WOXXODXP.js +0 -5029
  186. package/dist/_node-chunks/chunk-XC4MEUA6.js +0 -1586
  187. package/dist/_node-chunks/chunk-YRXXMKRR.js +0 -2256
  188. package/dist/_node-chunks/dist-SL73W244.js +0 -175
  189. package/dist/_node-chunks/globby-ZSHAUQZ5.js +0 -5222
  190. package/dist/_node-chunks/lib-U2VIPUTI.js +0 -518
  191. package/dist/_node-chunks/mdx-N42X6CFJ-ZLHD33JK.js +0 -22017
  192. package/dist/_node-chunks/p-limit-K5BS5MSV.js +0 -168
  193. package/dist/_node-chunks/plugin-5PD4YIUH.js +0 -129
  194. package/dist/_node-chunks/plugin-MONDT2WL.js +0 -159
  195. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-EUZJRG3W.js +0 -69102
  196. package/dist/_node-chunks/webpack-mock-plugin-T4LDXEHE.js +0 -124
  197. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +0 -36
  198. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +0 -33
@@ -1,1586 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_jpweijb0qqj from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_jpweijb0qqj from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_jpweijb0qqj from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_jpweijb0qqj.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_jpweijb0qqj.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_jpweijb0qqj.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- camelCase
14
- } from "./chunk-IBJZQZJC.js";
15
- import {
16
- __commonJS,
17
- __name,
18
- __toESM
19
- } from "./chunk-3THWHQOC.js";
20
-
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;
26
- };
27
- }
28
- });
29
-
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;
35
- };
36
- }
37
- });
38
-
39
- // ../node_modules/cli-boxes/boxes.json
40
- var require_boxes = __commonJS({
41
- "../node_modules/cli-boxes/boxes.json"(exports, module) {
42
- module.exports = {
43
- single: {
44
- topLeft: "\u250C",
45
- top: "\u2500",
46
- topRight: "\u2510",
47
- right: "\u2502",
48
- bottomRight: "\u2518",
49
- bottom: "\u2500",
50
- bottomLeft: "\u2514",
51
- left: "\u2502"
52
- },
53
- double: {
54
- topLeft: "\u2554",
55
- top: "\u2550",
56
- topRight: "\u2557",
57
- right: "\u2551",
58
- bottomRight: "\u255D",
59
- bottom: "\u2550",
60
- bottomLeft: "\u255A",
61
- left: "\u2551"
62
- },
63
- round: {
64
- topLeft: "\u256D",
65
- top: "\u2500",
66
- topRight: "\u256E",
67
- right: "\u2502",
68
- bottomRight: "\u256F",
69
- bottom: "\u2500",
70
- bottomLeft: "\u2570",
71
- left: "\u2502"
72
- },
73
- bold: {
74
- topLeft: "\u250F",
75
- top: "\u2501",
76
- topRight: "\u2513",
77
- right: "\u2503",
78
- bottomRight: "\u251B",
79
- bottom: "\u2501",
80
- bottomLeft: "\u2517",
81
- left: "\u2503"
82
- },
83
- singleDouble: {
84
- topLeft: "\u2553",
85
- top: "\u2500",
86
- topRight: "\u2556",
87
- right: "\u2551",
88
- bottomRight: "\u255C",
89
- bottom: "\u2500",
90
- bottomLeft: "\u2559",
91
- left: "\u2551"
92
- },
93
- doubleSingle: {
94
- topLeft: "\u2552",
95
- top: "\u2550",
96
- topRight: "\u2555",
97
- right: "\u2502",
98
- bottomRight: "\u255B",
99
- bottom: "\u2550",
100
- bottomLeft: "\u2558",
101
- left: "\u2502"
102
- },
103
- classic: {
104
- topLeft: "+",
105
- top: "-",
106
- topRight: "+",
107
- right: "|",
108
- bottomRight: "+",
109
- bottom: "-",
110
- bottomLeft: "+",
111
- left: "|"
112
- },
113
- arrow: {
114
- topLeft: "\u2198",
115
- top: "\u2193",
116
- topRight: "\u2199",
117
- right: "\u2190",
118
- bottomRight: "\u2196",
119
- bottom: "\u2191",
120
- bottomLeft: "\u2197",
121
- left: "\u2192"
122
- }
123
- };
124
- }
125
- });
126
-
127
- // ../node_modules/cli-boxes/index.js
128
- var require_cli_boxes = __commonJS({
129
- "../node_modules/cli-boxes/index.js"(exports, module) {
130
- "use strict";
131
- var cliBoxes2 = require_boxes();
132
- module.exports = cliBoxes2;
133
- module.exports.default = cliBoxes2;
134
- }
135
- });
136
-
137
- // ../node_modules/string-width/node_modules/ansi-regex/index.js
138
- var require_ansi_regex = __commonJS({
139
- "../node_modules/string-width/node_modules/ansi-regex/index.js"(exports, module) {
140
- "use strict";
141
- module.exports = ({ onlyFirst = false } = {}) => {
142
- const pattern = [
143
- "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
144
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
145
- ].join("|");
146
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
147
- };
148
- }
149
- });
150
-
151
- // ../node_modules/string-width/node_modules/strip-ansi/index.js
152
- var require_strip_ansi = __commonJS({
153
- "../node_modules/string-width/node_modules/strip-ansi/index.js"(exports, module) {
154
- "use strict";
155
- var ansiRegex2 = require_ansi_regex();
156
- module.exports = (string) => typeof string === "string" ? string.replace(ansiRegex2(), "") : string;
157
- }
158
- });
159
-
160
- // ../node_modules/is-fullwidth-code-point/index.js
161
- var require_is_fullwidth_code_point = __commonJS({
162
- "../node_modules/is-fullwidth-code-point/index.js"(exports, module) {
163
- "use strict";
164
- var isFullwidthCodePoint = /* @__PURE__ */ __name((codePoint) => {
165
- if (Number.isNaN(codePoint)) {
166
- return false;
167
- }
168
- if (codePoint >= 4352 && (codePoint <= 4447 || // Hangul Jamo
169
- codePoint === 9001 || // LEFT-POINTING ANGLE BRACKET
170
- codePoint === 9002 || // RIGHT-POINTING ANGLE BRACKET
171
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
172
- 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
173
- 12880 <= codePoint && codePoint <= 19903 || // CJK Unified Ideographs .. Yi Radicals
174
- 19968 <= codePoint && codePoint <= 42182 || // Hangul Jamo Extended-A
175
- 43360 <= codePoint && codePoint <= 43388 || // Hangul Syllables
176
- 44032 <= codePoint && codePoint <= 55203 || // CJK Compatibility Ideographs
177
- 63744 <= codePoint && codePoint <= 64255 || // Vertical Forms
178
- 65040 <= codePoint && codePoint <= 65049 || // CJK Compatibility Forms .. Small Form Variants
179
- 65072 <= codePoint && codePoint <= 65131 || // Halfwidth and Fullwidth Forms
180
- 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || // Kana Supplement
181
- 110592 <= codePoint && codePoint <= 110593 || // Enclosed Ideographic Supplement
182
- 127488 <= codePoint && codePoint <= 127569 || // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
183
- 131072 <= codePoint && codePoint <= 262141)) {
184
- return true;
185
- }
186
- return false;
187
- }, "isFullwidthCodePoint");
188
- module.exports = isFullwidthCodePoint;
189
- module.exports.default = isFullwidthCodePoint;
190
- }
191
- });
192
-
193
- // ../node_modules/string-width/node_modules/emoji-regex/index.js
194
- var require_emoji_regex3 = __commonJS({
195
- "../node_modules/string-width/node_modules/emoji-regex/index.js"(exports, module) {
196
- "use strict";
197
- module.exports = function() {
198
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\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\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])|\uD83C[\uDF3E\uDF73\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\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])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\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\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*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\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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\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[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
199
- };
200
- }
201
- });
202
-
203
- // ../node_modules/string-width/index.js
204
- var require_string_width = __commonJS({
205
- "../node_modules/string-width/index.js"(exports, module) {
206
- "use strict";
207
- var stripAnsi2 = require_strip_ansi();
208
- var isFullwidthCodePoint = require_is_fullwidth_code_point();
209
- var emojiRegex3 = require_emoji_regex3();
210
- var stringWidth3 = /* @__PURE__ */ __name((string) => {
211
- if (typeof string !== "string" || string.length === 0) {
212
- return 0;
213
- }
214
- string = stripAnsi2(string);
215
- if (string.length === 0) {
216
- return 0;
217
- }
218
- string = string.replace(emojiRegex3(), " ");
219
- let width = 0;
220
- for (let i = 0; i < string.length; i++) {
221
- const code = string.codePointAt(i);
222
- if (code <= 31 || code >= 127 && code <= 159) {
223
- continue;
224
- }
225
- if (code >= 768 && code <= 879) {
226
- continue;
227
- }
228
- if (code > 65535) {
229
- i++;
230
- }
231
- width += isFullwidthCodePoint(code) ? 2 : 1;
232
- }
233
- return width;
234
- }, "stringWidth");
235
- module.exports = stringWidth3;
236
- module.exports.default = stringWidth3;
237
- }
238
- });
239
-
240
- // ../node_modules/ansi-align/index.js
241
- var require_ansi_align = __commonJS({
242
- "../node_modules/ansi-align/index.js"(exports, module) {
243
- "use strict";
244
- var stringWidth3 = require_string_width();
245
- function ansiAlign2(text, opts) {
246
- if (!text) return text;
247
- opts = opts || {};
248
- const align = opts.align || "center";
249
- if (align === "left") return text;
250
- const split = opts.split || "\n";
251
- const pad = opts.pad || " ";
252
- const widthDiffFn = align !== "right" ? halfDiff : fullDiff;
253
- let returnString = false;
254
- if (!Array.isArray(text)) {
255
- returnString = true;
256
- text = String(text).split(split);
257
- }
258
- let width;
259
- let maxWidth = 0;
260
- text = text.map(function(str) {
261
- str = String(str);
262
- width = stringWidth3(str);
263
- maxWidth = Math.max(width, maxWidth);
264
- return {
265
- str,
266
- width
267
- };
268
- }).map(function(obj) {
269
- return new Array(widthDiffFn(maxWidth, obj.width) + 1).join(pad) + obj.str;
270
- });
271
- return returnString ? text.join(split) : text;
272
- }
273
- __name(ansiAlign2, "ansiAlign");
274
- ansiAlign2.left = /* @__PURE__ */ __name(function left(text) {
275
- return ansiAlign2(text, { align: "left" });
276
- }, "left");
277
- ansiAlign2.center = /* @__PURE__ */ __name(function center(text) {
278
- return ansiAlign2(text, { align: "center" });
279
- }, "center");
280
- ansiAlign2.right = /* @__PURE__ */ __name(function right(text) {
281
- return ansiAlign2(text, { align: "right" });
282
- }, "right");
283
- module.exports = ansiAlign2;
284
- function halfDiff(maxWidth, curWidth) {
285
- return Math.floor((maxWidth - curWidth) / 2);
286
- }
287
- __name(halfDiff, "halfDiff");
288
- function fullDiff(maxWidth, curWidth) {
289
- return maxWidth - curWidth;
290
- }
291
- __name(fullDiff, "fullDiff");
292
- }
293
- });
294
-
295
- // ../node_modules/boxen/index.js
296
- import process2 from "node:process";
297
-
298
- // ../node_modules/ansi-regex/index.js
299
- function ansiRegex({ onlyFirst = false } = {}) {
300
- const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
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}`;
304
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
305
- }
306
- __name(ansiRegex, "ansiRegex");
307
-
308
- // ../node_modules/strip-ansi/index.js
309
- var regex = ansiRegex();
310
- function stripAnsi(string) {
311
- if (typeof string !== "string") {
312
- throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
313
- }
314
- return string.replace(regex, "");
315
- }
316
- __name(stripAnsi, "stripAnsi");
317
-
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
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;
352
- function stringWidth(string, options = {}) {
353
- if (typeof string !== "string" || string.length === 0) {
354
- return 0;
355
- }
356
- const {
357
- ambiguousIsNarrow = true,
358
- countAnsiEscapeCodes = false
359
- } = options;
360
- if (!countAnsiEscapeCodes) {
361
- string = stripAnsi(string);
362
- }
363
- if (string.length === 0) {
364
- return 0;
365
- }
366
- let width = 0;
367
- const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
368
- for (const { segment: character } of segmenter.segment(string)) {
369
- const codePoint = character.codePointAt(0);
370
- if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
371
- continue;
372
- }
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)) {
386
- continue;
387
- }
388
- if ((0, import_emoji_regex.default)().test(character)) {
389
- width += 2;
390
- continue;
391
- }
392
- width += eastAsianWidth(codePoint, eastAsianWidthOptions);
393
- }
394
- return width;
395
- }
396
- __name(stringWidth, "stringWidth");
397
-
398
- // ../node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.js
399
- var ANSI_BACKGROUND_OFFSET = 10;
400
- var wrapAnsi16 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${code + offset}m`, "wrapAnsi16");
401
- var wrapAnsi256 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, "wrapAnsi256");
402
- var wrapAnsi16m = /* @__PURE__ */ __name((offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, "wrapAnsi16m");
403
- var styles = {
404
- modifier: {
405
- reset: [0, 0],
406
- // 21 isn't widely supported and 22 does the same thing
407
- bold: [1, 22],
408
- dim: [2, 22],
409
- italic: [3, 23],
410
- underline: [4, 24],
411
- overline: [53, 55],
412
- inverse: [7, 27],
413
- hidden: [8, 28],
414
- strikethrough: [9, 29]
415
- },
416
- color: {
417
- black: [30, 39],
418
- red: [31, 39],
419
- green: [32, 39],
420
- yellow: [33, 39],
421
- blue: [34, 39],
422
- magenta: [35, 39],
423
- cyan: [36, 39],
424
- white: [37, 39],
425
- // Bright color
426
- blackBright: [90, 39],
427
- gray: [90, 39],
428
- // Alias of `blackBright`
429
- grey: [90, 39],
430
- // Alias of `blackBright`
431
- redBright: [91, 39],
432
- greenBright: [92, 39],
433
- yellowBright: [93, 39],
434
- blueBright: [94, 39],
435
- magentaBright: [95, 39],
436
- cyanBright: [96, 39],
437
- whiteBright: [97, 39]
438
- },
439
- bgColor: {
440
- bgBlack: [40, 49],
441
- bgRed: [41, 49],
442
- bgGreen: [42, 49],
443
- bgYellow: [43, 49],
444
- bgBlue: [44, 49],
445
- bgMagenta: [45, 49],
446
- bgCyan: [46, 49],
447
- bgWhite: [47, 49],
448
- // Bright color
449
- bgBlackBright: [100, 49],
450
- bgGray: [100, 49],
451
- // Alias of `bgBlackBright`
452
- bgGrey: [100, 49],
453
- // Alias of `bgBlackBright`
454
- bgRedBright: [101, 49],
455
- bgGreenBright: [102, 49],
456
- bgYellowBright: [103, 49],
457
- bgBlueBright: [104, 49],
458
- bgMagentaBright: [105, 49],
459
- bgCyanBright: [106, 49],
460
- bgWhiteBright: [107, 49]
461
- }
462
- };
463
- var modifierNames = Object.keys(styles.modifier);
464
- var foregroundColorNames = Object.keys(styles.color);
465
- var backgroundColorNames = Object.keys(styles.bgColor);
466
- var colorNames = [...foregroundColorNames, ...backgroundColorNames];
467
- function assembleStyles() {
468
- const codes = /* @__PURE__ */ new Map();
469
- for (const [groupName, group] of Object.entries(styles)) {
470
- for (const [styleName, style] of Object.entries(group)) {
471
- styles[styleName] = {
472
- open: `\x1B[${style[0]}m`,
473
- close: `\x1B[${style[1]}m`
474
- };
475
- group[styleName] = styles[styleName];
476
- codes.set(style[0], style[1]);
477
- }
478
- Object.defineProperty(styles, groupName, {
479
- value: group,
480
- enumerable: false
481
- });
482
- }
483
- Object.defineProperty(styles, "codes", {
484
- value: codes,
485
- enumerable: false
486
- });
487
- styles.color.close = "\x1B[39m";
488
- styles.bgColor.close = "\x1B[49m";
489
- styles.color.ansi = wrapAnsi16();
490
- styles.color.ansi256 = wrapAnsi256();
491
- styles.color.ansi16m = wrapAnsi16m();
492
- styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
493
- styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
494
- styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
495
- Object.defineProperties(styles, {
496
- rgbToAnsi256: {
497
- value(red, green, blue) {
498
- if (red === green && green === blue) {
499
- if (red < 8) {
500
- return 16;
501
- }
502
- if (red > 248) {
503
- return 231;
504
- }
505
- return Math.round((red - 8) / 247 * 24) + 232;
506
- }
507
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
508
- },
509
- enumerable: false
510
- },
511
- hexToRgb: {
512
- value(hex) {
513
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
514
- if (!matches) {
515
- return [0, 0, 0];
516
- }
517
- let [colorString] = matches;
518
- if (colorString.length === 3) {
519
- colorString = [...colorString].map((character) => character + character).join("");
520
- }
521
- const integer = Number.parseInt(colorString, 16);
522
- return [
523
- /* eslint-disable no-bitwise */
524
- integer >> 16 & 255,
525
- integer >> 8 & 255,
526
- integer & 255
527
- /* eslint-enable no-bitwise */
528
- ];
529
- },
530
- enumerable: false
531
- },
532
- hexToAnsi256: {
533
- value: /* @__PURE__ */ __name((hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)), "value"),
534
- enumerable: false
535
- },
536
- ansi256ToAnsi: {
537
- value(code) {
538
- if (code < 8) {
539
- return 30 + code;
540
- }
541
- if (code < 16) {
542
- return 90 + (code - 8);
543
- }
544
- let red;
545
- let green;
546
- let blue;
547
- if (code >= 232) {
548
- red = ((code - 232) * 10 + 8) / 255;
549
- green = red;
550
- blue = red;
551
- } else {
552
- code -= 16;
553
- const remainder = code % 36;
554
- red = Math.floor(code / 36) / 5;
555
- green = Math.floor(remainder / 6) / 5;
556
- blue = remainder % 6 / 5;
557
- }
558
- const value = Math.max(red, green, blue) * 2;
559
- if (value === 0) {
560
- return 30;
561
- }
562
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
563
- if (value === 2) {
564
- result += 60;
565
- }
566
- return result;
567
- },
568
- enumerable: false
569
- },
570
- rgbToAnsi: {
571
- value: /* @__PURE__ */ __name((red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)), "value"),
572
- enumerable: false
573
- },
574
- hexToAnsi: {
575
- value: /* @__PURE__ */ __name((hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)), "value"),
576
- enumerable: false
577
- }
578
- });
579
- return styles;
580
- }
581
- __name(assembleStyles, "assembleStyles");
582
- var ansiStyles = assembleStyles();
583
- var ansi_styles_default = ansiStyles;
584
-
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;
607
- }
608
- if (env.FORCE_COLOR === "false") {
609
- return 0;
610
- }
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;
639
- }
640
- if (hasFlag("color=256")) {
641
- return 2;
642
- }
643
- }
644
- if ("TF_BUILD" in env && "AGENT_NAME" in env) {
645
- return 1;
646
- }
647
- if (haveStream && !streamIsTTY && forceColor === void 0) {
648
- return 0;
649
- }
650
- const min = forceColor || 0;
651
- if (env.TERM === "dumb") {
652
- return min;
653
- }
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;
660
- }
661
- if ("CI" in env) {
662
- if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
663
- return 3;
664
- }
665
- if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
666
- return 1;
667
- }
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;
690
- }
691
- case "Apple_Terminal": {
692
- return 2;
693
- }
694
- }
695
- }
696
- if (/-256(color)?$/i.test(env.TERM)) {
697
- return 2;
698
- }
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;
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);
737
- return returnValue;
738
- }
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");
753
-
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;
901
-
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;
906
- function stringWidth2(string, options = {}) {
907
- if (typeof string !== "string" || string.length === 0) {
908
- return 0;
909
- }
910
- const {
911
- ambiguousIsNarrow = true,
912
- countAnsiEscapeCodes = false
913
- } = options;
914
- if (!countAnsiEscapeCodes) {
915
- string = stripAnsi(string);
916
- }
917
- if (string.length === 0) {
918
- return 0;
919
- }
920
- let width = 0;
921
- const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
922
- for (const { segment: character } of segmenter2.segment(string)) {
923
- const codePoint = character.codePointAt(0);
924
- if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
925
- continue;
926
- }
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)) {
940
- continue;
941
- }
942
- if ((0, import_emoji_regex2.default)().test(character)) {
943
- width += 2;
944
- continue;
945
- }
946
- width += eastAsianWidth(codePoint, eastAsianWidthOptions);
947
- }
948
- return width;
949
- }
950
- __name(stringWidth2, "stringWidth");
951
-
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
967
- var ANSI_BACKGROUND_OFFSET2 = 10;
968
- var wrapAnsi162 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${code + offset}m`, "wrapAnsi16");
969
- var wrapAnsi2562 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, "wrapAnsi256");
970
- var wrapAnsi16m2 = /* @__PURE__ */ __name((offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, "wrapAnsi16m");
971
- var styles3 = {
972
- modifier: {
973
- reset: [0, 0],
974
- // 21 isn't widely supported and 22 does the same thing
975
- bold: [1, 22],
976
- dim: [2, 22],
977
- italic: [3, 23],
978
- underline: [4, 24],
979
- overline: [53, 55],
980
- inverse: [7, 27],
981
- hidden: [8, 28],
982
- strikethrough: [9, 29]
983
- },
984
- color: {
985
- black: [30, 39],
986
- red: [31, 39],
987
- green: [32, 39],
988
- yellow: [33, 39],
989
- blue: [34, 39],
990
- magenta: [35, 39],
991
- cyan: [36, 39],
992
- white: [37, 39],
993
- // Bright color
994
- blackBright: [90, 39],
995
- gray: [90, 39],
996
- // Alias of `blackBright`
997
- grey: [90, 39],
998
- // Alias of `blackBright`
999
- redBright: [91, 39],
1000
- greenBright: [92, 39],
1001
- yellowBright: [93, 39],
1002
- blueBright: [94, 39],
1003
- magentaBright: [95, 39],
1004
- cyanBright: [96, 39],
1005
- whiteBright: [97, 39]
1006
- },
1007
- bgColor: {
1008
- bgBlack: [40, 49],
1009
- bgRed: [41, 49],
1010
- bgGreen: [42, 49],
1011
- bgYellow: [43, 49],
1012
- bgBlue: [44, 49],
1013
- bgMagenta: [45, 49],
1014
- bgCyan: [46, 49],
1015
- bgWhite: [47, 49],
1016
- // Bright color
1017
- bgBlackBright: [100, 49],
1018
- bgGray: [100, 49],
1019
- // Alias of `bgBlackBright`
1020
- bgGrey: [100, 49],
1021
- // Alias of `bgBlackBright`
1022
- bgRedBright: [101, 49],
1023
- bgGreenBright: [102, 49],
1024
- bgYellowBright: [103, 49],
1025
- bgBlueBright: [104, 49],
1026
- bgMagentaBright: [105, 49],
1027
- bgCyanBright: [106, 49],
1028
- bgWhiteBright: [107, 49]
1029
- }
1030
- };
1031
- var modifierNames2 = Object.keys(styles3.modifier);
1032
- var foregroundColorNames2 = Object.keys(styles3.color);
1033
- var backgroundColorNames2 = Object.keys(styles3.bgColor);
1034
- var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
1035
- function assembleStyles2() {
1036
- const codes = /* @__PURE__ */ new Map();
1037
- for (const [groupName, group] of Object.entries(styles3)) {
1038
- for (const [styleName, style] of Object.entries(group)) {
1039
- styles3[styleName] = {
1040
- open: `\x1B[${style[0]}m`,
1041
- close: `\x1B[${style[1]}m`
1042
- };
1043
- group[styleName] = styles3[styleName];
1044
- codes.set(style[0], style[1]);
1045
- }
1046
- Object.defineProperty(styles3, groupName, {
1047
- value: group,
1048
- enumerable: false
1049
- });
1050
- }
1051
- Object.defineProperty(styles3, "codes", {
1052
- value: codes,
1053
- enumerable: false
1054
- });
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, {
1064
- rgbToAnsi256: {
1065
- value(red, green, blue) {
1066
- if (red === green && green === blue) {
1067
- if (red < 8) {
1068
- return 16;
1069
- }
1070
- if (red > 248) {
1071
- return 231;
1072
- }
1073
- return Math.round((red - 8) / 247 * 24) + 232;
1074
- }
1075
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
1076
- },
1077
- enumerable: false
1078
- },
1079
- hexToRgb: {
1080
- value(hex) {
1081
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
1082
- if (!matches) {
1083
- return [0, 0, 0];
1084
- }
1085
- let [colorString] = matches;
1086
- if (colorString.length === 3) {
1087
- colorString = [...colorString].map((character) => character + character).join("");
1088
- }
1089
- const integer = Number.parseInt(colorString, 16);
1090
- return [
1091
- /* eslint-disable no-bitwise */
1092
- integer >> 16 & 255,
1093
- integer >> 8 & 255,
1094
- integer & 255
1095
- /* eslint-enable no-bitwise */
1096
- ];
1097
- },
1098
- enumerable: false
1099
- },
1100
- hexToAnsi256: {
1101
- value: /* @__PURE__ */ __name((hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)), "value"),
1102
- enumerable: false
1103
- },
1104
- ansi256ToAnsi: {
1105
- value(code) {
1106
- if (code < 8) {
1107
- return 30 + code;
1108
- }
1109
- if (code < 16) {
1110
- return 90 + (code - 8);
1111
- }
1112
- let red;
1113
- let green;
1114
- let blue;
1115
- if (code >= 232) {
1116
- red = ((code - 232) * 10 + 8) / 255;
1117
- green = red;
1118
- blue = red;
1119
- } else {
1120
- code -= 16;
1121
- const remainder = code % 36;
1122
- red = Math.floor(code / 36) / 5;
1123
- green = Math.floor(remainder / 6) / 5;
1124
- blue = remainder % 6 / 5;
1125
- }
1126
- const value = Math.max(red, green, blue) * 2;
1127
- if (value === 0) {
1128
- return 30;
1129
- }
1130
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
1131
- if (value === 2) {
1132
- result += 60;
1133
- }
1134
- return result;
1135
- },
1136
- enumerable: false
1137
- },
1138
- rgbToAnsi: {
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
1145
- }
1146
- });
1147
- return styles3;
1148
- }
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;
1179
- }
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;
1184
- }
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;
1195
- }
1196
- visible += characterLength;
1197
- if (visible === columns && index < characters.length - 1) {
1198
- rows.push("");
1199
- visible = 0;
1200
- }
1201
- }
1202
- if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
1203
- rows[rows.length - 2] += rows.pop();
1204
- }
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;
1212
- }
1213
- last--;
1214
- }
1215
- if (last === words.length) {
1216
- return string;
1217
- }
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() === "") {
1222
- return "";
1223
- }
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;
1264
- }
1265
- rows[rows.length - 1] += word;
1266
- }
1267
- if (options.trim !== false) {
1268
- rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
1269
- }
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;
1301
- }
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");
1306
- }
1307
- __name(wrapAnsi, "wrapAnsi");
1308
-
1309
- // ../node_modules/boxen/index.js
1310
- var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
1311
- var NEWLINE = "\n";
1312
- var PAD = " ";
1313
- var NONE = "none";
1314
- var terminalColumns = /* @__PURE__ */ __name(() => {
1315
- const { env: env2, stdout, stderr } = process2;
1316
- if (stdout?.columns) {
1317
- return stdout.columns;
1318
- }
1319
- if (stderr?.columns) {
1320
- return stderr.columns;
1321
- }
1322
- if (env2.COLUMNS) {
1323
- return Number.parseInt(env2.COLUMNS, 10);
1324
- }
1325
- return 80;
1326
- }, "terminalColumns");
1327
- var getObject = /* @__PURE__ */ __name((detail) => typeof detail === "number" ? {
1328
- top: detail,
1329
- right: detail * 3,
1330
- bottom: detail,
1331
- left: detail * 3
1332
- } : {
1333
- top: 0,
1334
- right: 0,
1335
- bottom: 0,
1336
- left: 0,
1337
- ...detail
1338
- }, "getObject");
1339
- var getBorderWidth = /* @__PURE__ */ __name((borderStyle) => borderStyle === NONE ? 0 : 2, "getBorderWidth");
1340
- var getBorderChars = /* @__PURE__ */ __name((borderStyle) => {
1341
- const sides = [
1342
- "topLeft",
1343
- "topRight",
1344
- "bottomRight",
1345
- "bottomLeft",
1346
- "left",
1347
- "right",
1348
- "top",
1349
- "bottom"
1350
- ];
1351
- let characters;
1352
- if (borderStyle === NONE) {
1353
- borderStyle = {};
1354
- for (const side of sides) {
1355
- borderStyle[side] = "";
1356
- }
1357
- }
1358
- if (typeof borderStyle === "string") {
1359
- characters = import_cli_boxes.default[borderStyle];
1360
- if (!characters) {
1361
- throw new TypeError(`Invalid border style: ${borderStyle}`);
1362
- }
1363
- } else {
1364
- if (typeof borderStyle?.vertical === "string") {
1365
- borderStyle.left = borderStyle.vertical;
1366
- borderStyle.right = borderStyle.vertical;
1367
- }
1368
- if (typeof borderStyle?.horizontal === "string") {
1369
- borderStyle.top = borderStyle.horizontal;
1370
- borderStyle.bottom = borderStyle.horizontal;
1371
- }
1372
- for (const side of sides) {
1373
- if (borderStyle[side] === null || typeof borderStyle[side] !== "string") {
1374
- throw new TypeError(`Invalid border style: ${side}`);
1375
- }
1376
- }
1377
- characters = borderStyle;
1378
- }
1379
- return characters;
1380
- }, "getBorderChars");
1381
- var makeTitle = /* @__PURE__ */ __name((text, horizontal, alignment) => {
1382
- let title = "";
1383
- const textWidth = stringWidth(text);
1384
- switch (alignment) {
1385
- case "left": {
1386
- title = text + horizontal.slice(textWidth);
1387
- break;
1388
- }
1389
- case "right": {
1390
- title = horizontal.slice(textWidth) + text;
1391
- break;
1392
- }
1393
- default: {
1394
- horizontal = horizontal.slice(textWidth);
1395
- if (horizontal.length % 2 === 1) {
1396
- horizontal = horizontal.slice(Math.floor(horizontal.length / 2));
1397
- title = horizontal.slice(1) + text + horizontal;
1398
- } else {
1399
- horizontal = horizontal.slice(horizontal.length / 2);
1400
- title = horizontal + text + horizontal;
1401
- }
1402
- break;
1403
- }
1404
- }
1405
- return title;
1406
- }, "makeTitle");
1407
- var makeContentText = /* @__PURE__ */ __name((text, { padding, width, textAlignment, height }) => {
1408
- text = (0, import_ansi_align.default)(text, { align: textAlignment });
1409
- let lines = text.split(NEWLINE);
1410
- const textWidth = widestLine(text);
1411
- const max = width - padding.left - padding.right;
1412
- if (textWidth > max) {
1413
- const newLines = [];
1414
- for (const line of lines) {
1415
- const createdLines = wrapAnsi(line, max, { hard: true });
1416
- const alignedLines = (0, import_ansi_align.default)(createdLines, { align: textAlignment });
1417
- const alignedLinesArray = alignedLines.split("\n");
1418
- const longestLength = Math.max(...alignedLinesArray.map((s) => stringWidth(s)));
1419
- for (const alignedLine of alignedLinesArray) {
1420
- let paddedLine;
1421
- switch (textAlignment) {
1422
- case "center": {
1423
- paddedLine = PAD.repeat((max - longestLength) / 2) + alignedLine;
1424
- break;
1425
- }
1426
- case "right": {
1427
- paddedLine = PAD.repeat(max - longestLength) + alignedLine;
1428
- break;
1429
- }
1430
- default: {
1431
- paddedLine = alignedLine;
1432
- break;
1433
- }
1434
- }
1435
- newLines.push(paddedLine);
1436
- }
1437
- }
1438
- lines = newLines;
1439
- }
1440
- if (textAlignment === "center" && textWidth < max) {
1441
- lines = lines.map((line) => PAD.repeat((max - textWidth) / 2) + line);
1442
- } else if (textAlignment === "right" && textWidth < max) {
1443
- lines = lines.map((line) => PAD.repeat(max - textWidth) + line);
1444
- }
1445
- const paddingLeft = PAD.repeat(padding.left);
1446
- const paddingRight = PAD.repeat(padding.right);
1447
- lines = lines.map((line) => {
1448
- const newLine = paddingLeft + line + paddingRight;
1449
- return newLine + PAD.repeat(width - stringWidth(newLine));
1450
- });
1451
- if (padding.top > 0) {
1452
- lines = [...Array.from({ length: padding.top }).fill(PAD.repeat(width)), ...lines];
1453
- }
1454
- if (padding.bottom > 0) {
1455
- lines = [...lines, ...Array.from({ length: padding.bottom }).fill(PAD.repeat(width))];
1456
- }
1457
- if (height && lines.length > height) {
1458
- lines = lines.slice(0, height);
1459
- } else if (height && lines.length < height) {
1460
- lines = [...lines, ...Array.from({ length: height - lines.length }).fill(PAD.repeat(width))];
1461
- }
1462
- return lines.join(NEWLINE);
1463
- }, "makeContentText");
1464
- var boxContent = /* @__PURE__ */ __name((content, contentWidth, options) => {
1465
- const colorizeBorder = /* @__PURE__ */ __name((border) => {
1466
- const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
1467
- return options.dimBorder ? source_default.dim(newBorder) : newBorder;
1468
- }, "colorizeBorder");
1469
- const colorizeContent = /* @__PURE__ */ __name((content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2, "colorizeContent");
1470
- const chars = getBorderChars(options.borderStyle);
1471
- const columns = terminalColumns();
1472
- let marginLeft = PAD.repeat(options.margin.left);
1473
- if (options.float === "center") {
1474
- const marginWidth = Math.max((columns - contentWidth - getBorderWidth(options.borderStyle)) / 2, 0);
1475
- marginLeft = PAD.repeat(marginWidth);
1476
- } else if (options.float === "right") {
1477
- const marginWidth = Math.max(columns - contentWidth - options.margin.right - getBorderWidth(options.borderStyle), 0);
1478
- marginLeft = PAD.repeat(marginWidth);
1479
- }
1480
- let result = "";
1481
- if (options.margin.top) {
1482
- result += NEWLINE.repeat(options.margin.top);
1483
- }
1484
- if (options.borderStyle !== NONE || options.title) {
1485
- result += colorizeBorder(marginLeft + chars.topLeft + (options.title ? makeTitle(options.title, chars.top.repeat(contentWidth), options.titleAlignment) : chars.top.repeat(contentWidth)) + chars.topRight) + NEWLINE;
1486
- }
1487
- const lines = content.split(NEWLINE);
1488
- result += lines.map((line) => marginLeft + colorizeBorder(chars.left) + colorizeContent(line) + colorizeBorder(chars.right)).join(NEWLINE);
1489
- if (options.borderStyle !== NONE) {
1490
- result += NEWLINE + colorizeBorder(marginLeft + chars.bottomLeft + chars.bottom.repeat(contentWidth) + chars.bottomRight);
1491
- }
1492
- if (options.margin.bottom) {
1493
- result += NEWLINE.repeat(options.margin.bottom);
1494
- }
1495
- return result;
1496
- }, "boxContent");
1497
- var sanitizeOptions = /* @__PURE__ */ __name((options) => {
1498
- if (options.fullscreen && process2?.stdout) {
1499
- let newDimensions = [process2.stdout.columns, process2.stdout.rows];
1500
- if (typeof options.fullscreen === "function") {
1501
- newDimensions = options.fullscreen(...newDimensions);
1502
- }
1503
- options.width ||= newDimensions[0];
1504
- options.height ||= newDimensions[1];
1505
- }
1506
- options.width &&= Math.max(1, options.width - getBorderWidth(options.borderStyle));
1507
- options.height &&= Math.max(1, options.height - getBorderWidth(options.borderStyle));
1508
- return options;
1509
- }, "sanitizeOptions");
1510
- var formatTitle = /* @__PURE__ */ __name((title, borderStyle) => borderStyle === NONE ? title : ` ${title} `, "formatTitle");
1511
- var determineDimensions = /* @__PURE__ */ __name((text, options) => {
1512
- options = sanitizeOptions(options);
1513
- const widthOverride = options.width !== void 0;
1514
- const columns = terminalColumns();
1515
- const borderWidth = getBorderWidth(options.borderStyle);
1516
- const maxWidth = columns - options.margin.left - options.margin.right - borderWidth;
1517
- const widest = widestLine(wrapAnsi(text, columns - borderWidth, { hard: true, trim: false })) + options.padding.left + options.padding.right;
1518
- if (options.title && widthOverride) {
1519
- options.title = options.title.slice(0, Math.max(0, options.width - 2));
1520
- options.title &&= formatTitle(options.title, options.borderStyle);
1521
- } else if (options.title) {
1522
- options.title = options.title.slice(0, Math.max(0, maxWidth - 2));
1523
- if (options.title) {
1524
- options.title = formatTitle(options.title, options.borderStyle);
1525
- if (stringWidth(options.title) > widest) {
1526
- options.width = stringWidth(options.title);
1527
- }
1528
- }
1529
- }
1530
- options.width ||= widest;
1531
- if (!widthOverride) {
1532
- if (options.margin.left && options.margin.right && options.width > maxWidth) {
1533
- const spaceForMargins = columns - options.width - borderWidth;
1534
- const multiplier = spaceForMargins / (options.margin.left + options.margin.right);
1535
- options.margin.left = Math.max(0, Math.floor(options.margin.left * multiplier));
1536
- options.margin.right = Math.max(0, Math.floor(options.margin.right * multiplier));
1537
- }
1538
- options.width = Math.min(options.width, columns - borderWidth - options.margin.left - options.margin.right);
1539
- }
1540
- if (options.width - (options.padding.left + options.padding.right) <= 0) {
1541
- options.padding.left = 0;
1542
- options.padding.right = 0;
1543
- }
1544
- if (options.height && options.height - (options.padding.top + options.padding.bottom) <= 0) {
1545
- options.padding.top = 0;
1546
- options.padding.bottom = 0;
1547
- }
1548
- return options;
1549
- }, "determineDimensions");
1550
- var isHex = /* @__PURE__ */ __name((color) => color.match(/^#(?:[0-f]{3}){1,2}$/i), "isHex");
1551
- var isColorValid = /* @__PURE__ */ __name((color) => typeof color === "string" && (source_default[color] ?? isHex(color)), "isColorValid");
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");
1554
- function boxen(text, options) {
1555
- options = {
1556
- padding: 0,
1557
- borderStyle: "single",
1558
- dimBorder: false,
1559
- textAlignment: "left",
1560
- float: "left",
1561
- titleAlignment: "left",
1562
- ...options
1563
- };
1564
- if (options.align) {
1565
- options.textAlignment = options.align;
1566
- }
1567
- if (options.borderColor && !isColorValid(options.borderColor)) {
1568
- throw new Error(`${options.borderColor} is not a valid borderColor`);
1569
- }
1570
- if (options.backgroundColor && !isColorValid(options.backgroundColor)) {
1571
- throw new Error(`${options.backgroundColor} is not a valid backgroundColor`);
1572
- }
1573
- options.padding = getObject(options.padding);
1574
- options.margin = getObject(options.margin);
1575
- options = determineDimensions(text, options);
1576
- text = makeContentText(text, options);
1577
- return boxContent(text, options.width, options);
1578
- }
1579
- __name(boxen, "boxen");
1580
-
1581
- export {
1582
- require_string_width,
1583
- stripAnsi,
1584
- ansi_styles_default2 as ansi_styles_default,
1585
- boxen
1586
- };