dwkim 0.1.1 → 0.2.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.
package/dist/index.js CHANGED
@@ -1,1614 +1,65 @@
1
1
  #!/usr/bin/env node
2
- "use strict";
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJS = (cb, mod) => function __require() {
10
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
-
29
- // node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
30
- var require_boxes = __commonJS({
31
- "node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
32
- module2.exports = {
33
- single: {
34
- topLeft: "\u250C",
35
- top: "\u2500",
36
- topRight: "\u2510",
37
- right: "\u2502",
38
- bottomRight: "\u2518",
39
- bottom: "\u2500",
40
- bottomLeft: "\u2514",
41
- left: "\u2502"
42
- },
43
- double: {
44
- topLeft: "\u2554",
45
- top: "\u2550",
46
- topRight: "\u2557",
47
- right: "\u2551",
48
- bottomRight: "\u255D",
49
- bottom: "\u2550",
50
- bottomLeft: "\u255A",
51
- left: "\u2551"
52
- },
53
- round: {
54
- topLeft: "\u256D",
55
- top: "\u2500",
56
- topRight: "\u256E",
57
- right: "\u2502",
58
- bottomRight: "\u256F",
59
- bottom: "\u2500",
60
- bottomLeft: "\u2570",
61
- left: "\u2502"
62
- },
63
- bold: {
64
- topLeft: "\u250F",
65
- top: "\u2501",
66
- topRight: "\u2513",
67
- right: "\u2503",
68
- bottomRight: "\u251B",
69
- bottom: "\u2501",
70
- bottomLeft: "\u2517",
71
- left: "\u2503"
72
- },
73
- singleDouble: {
74
- topLeft: "\u2553",
75
- top: "\u2500",
76
- topRight: "\u2556",
77
- right: "\u2551",
78
- bottomRight: "\u255C",
79
- bottom: "\u2500",
80
- bottomLeft: "\u2559",
81
- left: "\u2551"
82
- },
83
- doubleSingle: {
84
- topLeft: "\u2552",
85
- top: "\u2550",
86
- topRight: "\u2555",
87
- right: "\u2502",
88
- bottomRight: "\u255B",
89
- bottom: "\u2550",
90
- bottomLeft: "\u2558",
91
- left: "\u2502"
92
- },
93
- classic: {
94
- topLeft: "+",
95
- top: "-",
96
- topRight: "+",
97
- right: "|",
98
- bottomRight: "+",
99
- bottom: "-",
100
- bottomLeft: "+",
101
- left: "|"
102
- },
103
- arrow: {
104
- topLeft: "\u2198",
105
- top: "\u2193",
106
- topRight: "\u2199",
107
- right: "\u2190",
108
- bottomRight: "\u2196",
109
- bottom: "\u2191",
110
- bottomLeft: "\u2197",
111
- left: "\u2192"
112
- }
113
- };
114
- }
115
- });
116
-
117
- // node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
118
- var require_cli_boxes = __commonJS({
119
- "node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(exports2, module2) {
120
- "use strict";
121
- var cliBoxes2 = require_boxes();
122
- module2.exports = cliBoxes2;
123
- module2.exports.default = cliBoxes2;
124
- }
125
- });
126
-
127
- // node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
128
- var require_ansi_regex = __commonJS({
129
- "node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
130
- "use strict";
131
- module2.exports = ({ onlyFirst = false } = {}) => {
132
- const pattern = [
133
- "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
134
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
135
- ].join("|");
136
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
137
- };
138
- }
139
- });
140
-
141
- // node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js
142
- var require_strip_ansi = __commonJS({
143
- "node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports2, module2) {
144
- "use strict";
145
- var ansiRegex2 = require_ansi_regex();
146
- module2.exports = (string) => typeof string === "string" ? string.replace(ansiRegex2(), "") : string;
147
- }
148
- });
149
-
150
- // node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js
151
- var require_is_fullwidth_code_point = __commonJS({
152
- "node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports2, module2) {
153
- "use strict";
154
- var isFullwidthCodePoint = (codePoint) => {
155
- if (Number.isNaN(codePoint)) {
156
- return false;
157
- }
158
- if (codePoint >= 4352 && (codePoint <= 4447 || // Hangul Jamo
159
- codePoint === 9001 || // LEFT-POINTING ANGLE BRACKET
160
- codePoint === 9002 || // RIGHT-POINTING ANGLE BRACKET
161
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
162
- 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
163
- 12880 <= codePoint && codePoint <= 19903 || // CJK Unified Ideographs .. Yi Radicals
164
- 19968 <= codePoint && codePoint <= 42182 || // Hangul Jamo Extended-A
165
- 43360 <= codePoint && codePoint <= 43388 || // Hangul Syllables
166
- 44032 <= codePoint && codePoint <= 55203 || // CJK Compatibility Ideographs
167
- 63744 <= codePoint && codePoint <= 64255 || // Vertical Forms
168
- 65040 <= codePoint && codePoint <= 65049 || // CJK Compatibility Forms .. Small Form Variants
169
- 65072 <= codePoint && codePoint <= 65131 || // Halfwidth and Fullwidth Forms
170
- 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || // Kana Supplement
171
- 110592 <= codePoint && codePoint <= 110593 || // Enclosed Ideographic Supplement
172
- 127488 <= codePoint && codePoint <= 127569 || // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
173
- 131072 <= codePoint && codePoint <= 262141)) {
174
- return true;
175
- }
176
- return false;
177
- };
178
- module2.exports = isFullwidthCodePoint;
179
- module2.exports.default = isFullwidthCodePoint;
180
- }
181
- });
182
-
183
- // node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
184
- var require_emoji_regex = __commonJS({
185
- "node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
186
- "use strict";
187
- module2.exports = function() {
188
- 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;
189
- };
190
- }
191
- });
192
-
193
- // node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js
194
- var require_string_width = __commonJS({
195
- "node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports2, module2) {
196
- "use strict";
197
- var stripAnsi2 = require_strip_ansi();
198
- var isFullwidthCodePoint = require_is_fullwidth_code_point();
199
- var emojiRegex = require_emoji_regex();
200
- var stringWidth2 = (string) => {
201
- if (typeof string !== "string" || string.length === 0) {
202
- return 0;
203
- }
204
- string = stripAnsi2(string);
205
- if (string.length === 0) {
206
- return 0;
207
- }
208
- string = string.replace(emojiRegex(), " ");
209
- let width = 0;
210
- for (let i = 0; i < string.length; i++) {
211
- const code = string.codePointAt(i);
212
- if (code <= 31 || code >= 127 && code <= 159) {
213
- continue;
214
- }
215
- if (code >= 768 && code <= 879) {
216
- continue;
217
- }
218
- if (code > 65535) {
219
- i++;
220
- }
221
- width += isFullwidthCodePoint(code) ? 2 : 1;
222
- }
223
- return width;
224
- };
225
- module2.exports = stringWidth2;
226
- module2.exports.default = stringWidth2;
227
- }
228
- });
229
-
230
- // node_modules/.pnpm/ansi-align@3.0.1/node_modules/ansi-align/index.js
231
- var require_ansi_align = __commonJS({
232
- "node_modules/.pnpm/ansi-align@3.0.1/node_modules/ansi-align/index.js"(exports2, module2) {
233
- "use strict";
234
- var stringWidth2 = require_string_width();
235
- function ansiAlign2(text, opts) {
236
- if (!text) return text;
237
- opts = opts || {};
238
- const align = opts.align || "center";
239
- if (align === "left") return text;
240
- const split = opts.split || "\n";
241
- const pad = opts.pad || " ";
242
- const widthDiffFn = align !== "right" ? halfDiff : fullDiff;
243
- let returnString = false;
244
- if (!Array.isArray(text)) {
245
- returnString = true;
246
- text = String(text).split(split);
247
- }
248
- let width;
249
- let maxWidth = 0;
250
- text = text.map(function(str) {
251
- str = String(str);
252
- width = stringWidth2(str);
253
- maxWidth = Math.max(width, maxWidth);
254
- return {
255
- str,
256
- width
257
- };
258
- }).map(function(obj) {
259
- return new Array(widthDiffFn(maxWidth, obj.width) + 1).join(pad) + obj.str;
260
- });
261
- return returnString ? text.join(split) : text;
262
- }
263
- ansiAlign2.left = function left(text) {
264
- return ansiAlign2(text, { align: "left" });
265
- };
266
- ansiAlign2.center = function center(text) {
267
- return ansiAlign2(text, { align: "center" });
268
- };
269
- ansiAlign2.right = function right(text) {
270
- return ansiAlign2(text, { align: "right" });
271
- };
272
- module2.exports = ansiAlign2;
273
- function halfDiff(maxWidth, curWidth) {
274
- return Math.floor((maxWidth - curWidth) / 2);
275
- }
276
- function fullDiff(maxWidth, curWidth) {
277
- return maxWidth - curWidth;
278
- }
279
- }
280
- });
281
-
282
- // node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
283
- var import_node_process2 = __toESM(require("process"), 1);
284
-
285
- // node_modules/.pnpm/ansi-regex@6.1.0/node_modules/ansi-regex/index.js
286
- function ansiRegex({ onlyFirst = false } = {}) {
287
- const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
288
- const pattern = [
289
- `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
290
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
291
- ].join("|");
292
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
293
- }
294
-
295
- // node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
296
- var regex = ansiRegex();
297
- function stripAnsi(string) {
298
- if (typeof string !== "string") {
299
- throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
300
- }
301
- return string.replace(regex, "");
302
- }
303
-
304
- // node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/lookup.js
305
- function isAmbiguous(x) {
306
- 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;
307
- }
308
- function isFullWidth(x) {
309
- return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
310
- }
311
- function isWide(x) {
312
- 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 === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101631 && x <= 101640 || 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 <= 128727 || 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 <= 129673 || x >= 129679 && x <= 129734 || x >= 129742 && x <= 129756 || x >= 129759 && x <= 129769 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
313
- }
314
-
315
- // node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/index.js
316
- function validate(codePoint) {
317
- if (!Number.isSafeInteger(codePoint)) {
318
- throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
319
- }
320
- }
321
- function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
322
- validate(codePoint);
323
- if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
324
- return 2;
325
- }
326
- return 1;
327
- }
328
-
329
- // node_modules/.pnpm/emoji-regex@10.4.0/node_modules/emoji-regex/index.mjs
330
- var emoji_regex_default = () => {
331
- 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\uDC70\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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;
332
- };
333
-
334
- // node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
335
- var segmenter = new Intl.Segmenter();
336
- var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
337
- function stringWidth(string, options = {}) {
338
- if (typeof string !== "string" || string.length === 0) {
339
- return 0;
340
- }
341
- const {
342
- ambiguousIsNarrow = true,
343
- countAnsiEscapeCodes = false
344
- } = options;
345
- if (!countAnsiEscapeCodes) {
346
- string = stripAnsi(string);
347
- }
348
- if (string.length === 0) {
349
- return 0;
350
- }
351
- let width = 0;
352
- const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
353
- for (const { segment: character } of segmenter.segment(string)) {
354
- const codePoint = character.codePointAt(0);
355
- if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
356
- continue;
357
- }
358
- if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
359
- continue;
360
- }
361
- if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
362
- continue;
363
- }
364
- if (codePoint >= 55296 && codePoint <= 57343) {
365
- continue;
366
- }
367
- if (codePoint >= 65024 && codePoint <= 65039) {
368
- continue;
369
- }
370
- if (defaultIgnorableCodePointRegex.test(character)) {
371
- continue;
372
- }
373
- if (emoji_regex_default().test(character)) {
374
- width += 2;
375
- continue;
376
- }
377
- width += eastAsianWidth(codePoint, eastAsianWidthOptions);
378
- }
379
- return width;
380
- }
381
-
382
- // node_modules/.pnpm/chalk@5.4.1/node_modules/chalk/source/vendor/ansi-styles/index.js
383
- var ANSI_BACKGROUND_OFFSET = 10;
384
- var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
385
- var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
386
- var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
387
- var styles = {
388
- modifier: {
389
- reset: [0, 0],
390
- // 21 isn't widely supported and 22 does the same thing
391
- bold: [1, 22],
392
- dim: [2, 22],
393
- italic: [3, 23],
394
- underline: [4, 24],
395
- overline: [53, 55],
396
- inverse: [7, 27],
397
- hidden: [8, 28],
398
- strikethrough: [9, 29]
399
- },
400
- color: {
401
- black: [30, 39],
402
- red: [31, 39],
403
- green: [32, 39],
404
- yellow: [33, 39],
405
- blue: [34, 39],
406
- magenta: [35, 39],
407
- cyan: [36, 39],
408
- white: [37, 39],
409
- // Bright color
410
- blackBright: [90, 39],
411
- gray: [90, 39],
412
- // Alias of `blackBright`
413
- grey: [90, 39],
414
- // Alias of `blackBright`
415
- redBright: [91, 39],
416
- greenBright: [92, 39],
417
- yellowBright: [93, 39],
418
- blueBright: [94, 39],
419
- magentaBright: [95, 39],
420
- cyanBright: [96, 39],
421
- whiteBright: [97, 39]
422
- },
423
- bgColor: {
424
- bgBlack: [40, 49],
425
- bgRed: [41, 49],
426
- bgGreen: [42, 49],
427
- bgYellow: [43, 49],
428
- bgBlue: [44, 49],
429
- bgMagenta: [45, 49],
430
- bgCyan: [46, 49],
431
- bgWhite: [47, 49],
432
- // Bright color
433
- bgBlackBright: [100, 49],
434
- bgGray: [100, 49],
435
- // Alias of `bgBlackBright`
436
- bgGrey: [100, 49],
437
- // Alias of `bgBlackBright`
438
- bgRedBright: [101, 49],
439
- bgGreenBright: [102, 49],
440
- bgYellowBright: [103, 49],
441
- bgBlueBright: [104, 49],
442
- bgMagentaBright: [105, 49],
443
- bgCyanBright: [106, 49],
444
- bgWhiteBright: [107, 49]
445
- }
446
- };
447
- var modifierNames = Object.keys(styles.modifier);
448
- var foregroundColorNames = Object.keys(styles.color);
449
- var backgroundColorNames = Object.keys(styles.bgColor);
450
- var colorNames = [...foregroundColorNames, ...backgroundColorNames];
451
- function assembleStyles() {
452
- const codes = /* @__PURE__ */ new Map();
453
- for (const [groupName, group] of Object.entries(styles)) {
454
- for (const [styleName, style] of Object.entries(group)) {
455
- styles[styleName] = {
456
- open: `\x1B[${style[0]}m`,
457
- close: `\x1B[${style[1]}m`
458
- };
459
- group[styleName] = styles[styleName];
460
- codes.set(style[0], style[1]);
461
- }
462
- Object.defineProperty(styles, groupName, {
463
- value: group,
464
- enumerable: false
465
- });
466
- }
467
- Object.defineProperty(styles, "codes", {
468
- value: codes,
469
- enumerable: false
470
- });
471
- styles.color.close = "\x1B[39m";
472
- styles.bgColor.close = "\x1B[49m";
473
- styles.color.ansi = wrapAnsi16();
474
- styles.color.ansi256 = wrapAnsi256();
475
- styles.color.ansi16m = wrapAnsi16m();
476
- styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
477
- styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
478
- styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
479
- Object.defineProperties(styles, {
480
- rgbToAnsi256: {
481
- value(red, green, blue) {
482
- if (red === green && green === blue) {
483
- if (red < 8) {
484
- return 16;
485
- }
486
- if (red > 248) {
487
- return 231;
488
- }
489
- return Math.round((red - 8) / 247 * 24) + 232;
490
- }
491
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
492
- },
493
- enumerable: false
494
- },
495
- hexToRgb: {
496
- value(hex) {
497
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
498
- if (!matches) {
499
- return [0, 0, 0];
500
- }
501
- let [colorString] = matches;
502
- if (colorString.length === 3) {
503
- colorString = [...colorString].map((character) => character + character).join("");
504
- }
505
- const integer = Number.parseInt(colorString, 16);
506
- return [
507
- /* eslint-disable no-bitwise */
508
- integer >> 16 & 255,
509
- integer >> 8 & 255,
510
- integer & 255
511
- /* eslint-enable no-bitwise */
512
- ];
513
- },
514
- enumerable: false
515
- },
516
- hexToAnsi256: {
517
- value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
518
- enumerable: false
519
- },
520
- ansi256ToAnsi: {
521
- value(code) {
522
- if (code < 8) {
523
- return 30 + code;
524
- }
525
- if (code < 16) {
526
- return 90 + (code - 8);
527
- }
528
- let red;
529
- let green;
530
- let blue;
531
- if (code >= 232) {
532
- red = ((code - 232) * 10 + 8) / 255;
533
- green = red;
534
- blue = red;
535
- } else {
536
- code -= 16;
537
- const remainder = code % 36;
538
- red = Math.floor(code / 36) / 5;
539
- green = Math.floor(remainder / 6) / 5;
540
- blue = remainder % 6 / 5;
541
- }
542
- const value = Math.max(red, green, blue) * 2;
543
- if (value === 0) {
544
- return 30;
545
- }
546
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
547
- if (value === 2) {
548
- result += 60;
549
- }
550
- return result;
551
- },
552
- enumerable: false
553
- },
554
- rgbToAnsi: {
555
- value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
556
- enumerable: false
557
- },
558
- hexToAnsi: {
559
- value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
560
- enumerable: false
561
- }
562
- });
563
- return styles;
564
- }
565
- var ansiStyles = assembleStyles();
566
- var ansi_styles_default = ansiStyles;
567
-
568
- // node_modules/.pnpm/chalk@5.4.1/node_modules/chalk/source/vendor/supports-color/index.js
569
- var import_node_process = __toESM(require("process"), 1);
570
- var import_node_os = __toESM(require("os"), 1);
571
- var import_node_tty = __toESM(require("tty"), 1);
572
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
573
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
574
- const position = argv.indexOf(prefix + flag);
575
- const terminatorPosition = argv.indexOf("--");
576
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
577
- }
578
- var { env } = import_node_process.default;
579
- var flagForceColor;
580
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
581
- flagForceColor = 0;
582
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
583
- flagForceColor = 1;
584
- }
585
- function envForceColor() {
586
- if ("FORCE_COLOR" in env) {
587
- if (env.FORCE_COLOR === "true") {
588
- return 1;
589
- }
590
- if (env.FORCE_COLOR === "false") {
591
- return 0;
592
- }
593
- return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
594
- }
595
- }
596
- function translateLevel(level) {
597
- if (level === 0) {
598
- return false;
599
- }
600
- return {
601
- level,
602
- hasBasic: true,
603
- has256: level >= 2,
604
- has16m: level >= 3
605
- };
606
- }
607
- function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
608
- const noFlagForceColor = envForceColor();
609
- if (noFlagForceColor !== void 0) {
610
- flagForceColor = noFlagForceColor;
611
- }
612
- const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
613
- if (forceColor === 0) {
614
- return 0;
615
- }
616
- if (sniffFlags) {
617
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
618
- return 3;
619
- }
620
- if (hasFlag("color=256")) {
621
- return 2;
622
- }
623
- }
624
- if ("TF_BUILD" in env && "AGENT_NAME" in env) {
625
- return 1;
626
- }
627
- if (haveStream && !streamIsTTY && forceColor === void 0) {
628
- return 0;
629
- }
630
- const min = forceColor || 0;
631
- if (env.TERM === "dumb") {
632
- return min;
633
- }
634
- if (import_node_process.default.platform === "win32") {
635
- const osRelease = import_node_os.default.release().split(".");
636
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
637
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
638
- }
639
- return 1;
640
- }
641
- if ("CI" in env) {
642
- if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
643
- return 3;
644
- }
645
- if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
646
- return 1;
647
- }
648
- return min;
649
- }
650
- if ("TEAMCITY_VERSION" in env) {
651
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
652
- }
653
- if (env.COLORTERM === "truecolor") {
654
- return 3;
655
- }
656
- if (env.TERM === "xterm-kitty") {
657
- return 3;
658
- }
659
- if ("TERM_PROGRAM" in env) {
660
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
661
- switch (env.TERM_PROGRAM) {
662
- case "iTerm.app": {
663
- return version >= 3 ? 3 : 2;
664
- }
665
- case "Apple_Terminal": {
666
- return 2;
667
- }
668
- }
669
- }
670
- if (/-256(color)?$/i.test(env.TERM)) {
671
- return 2;
672
- }
673
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
674
- return 1;
675
- }
676
- if ("COLORTERM" in env) {
677
- return 1;
678
- }
679
- return min;
680
- }
681
- function createSupportsColor(stream, options = {}) {
682
- const level = _supportsColor(stream, {
683
- streamIsTTY: stream && stream.isTTY,
684
- ...options
685
- });
686
- return translateLevel(level);
687
- }
688
- var supportsColor = {
689
- stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
690
- stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
691
- };
692
- var supports_color_default = supportsColor;
693
-
694
- // node_modules/.pnpm/chalk@5.4.1/node_modules/chalk/source/utilities.js
695
- function stringReplaceAll(string, substring, replacer) {
696
- let index = string.indexOf(substring);
697
- if (index === -1) {
698
- return string;
699
- }
700
- const substringLength = substring.length;
701
- let endIndex = 0;
702
- let returnValue = "";
703
- do {
704
- returnValue += string.slice(endIndex, index) + substring + replacer;
705
- endIndex = index + substringLength;
706
- index = string.indexOf(substring, endIndex);
707
- } while (index !== -1);
708
- returnValue += string.slice(endIndex);
709
- return returnValue;
710
- }
711
- function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
712
- let endIndex = 0;
713
- let returnValue = "";
714
- do {
715
- const gotCR = string[index - 1] === "\r";
716
- returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
717
- endIndex = index + 1;
718
- index = string.indexOf("\n", endIndex);
719
- } while (index !== -1);
720
- returnValue += string.slice(endIndex);
721
- return returnValue;
722
- }
723
-
724
- // node_modules/.pnpm/chalk@5.4.1/node_modules/chalk/source/index.js
725
- var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
726
- var GENERATOR = Symbol("GENERATOR");
727
- var STYLER = Symbol("STYLER");
728
- var IS_EMPTY = Symbol("IS_EMPTY");
729
- var levelMapping = [
730
- "ansi",
731
- "ansi",
732
- "ansi256",
733
- "ansi16m"
734
- ];
735
- var styles2 = /* @__PURE__ */ Object.create(null);
736
- var applyOptions = (object, options = {}) => {
737
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
738
- throw new Error("The `level` option should be an integer from 0 to 3");
739
- }
740
- const colorLevel = stdoutColor ? stdoutColor.level : 0;
741
- object.level = options.level === void 0 ? colorLevel : options.level;
742
- };
743
- var chalkFactory = (options) => {
744
- const chalk2 = (...strings) => strings.join(" ");
745
- applyOptions(chalk2, options);
746
- Object.setPrototypeOf(chalk2, createChalk.prototype);
747
- return chalk2;
748
- };
749
- function createChalk(options) {
750
- return chalkFactory(options);
751
- }
752
- Object.setPrototypeOf(createChalk.prototype, Function.prototype);
753
- for (const [styleName, style] of Object.entries(ansi_styles_default)) {
754
- styles2[styleName] = {
755
- get() {
756
- const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
757
- Object.defineProperty(this, styleName, { value: builder });
758
- return builder;
759
- }
760
- };
761
- }
762
- styles2.visible = {
763
- get() {
764
- const builder = createBuilder(this, this[STYLER], true);
765
- Object.defineProperty(this, "visible", { value: builder });
766
- return builder;
767
- }
768
- };
769
- var getModelAnsi = (model, level, type, ...arguments_) => {
770
- if (model === "rgb") {
771
- if (level === "ansi16m") {
772
- return ansi_styles_default[type].ansi16m(...arguments_);
773
- }
774
- if (level === "ansi256") {
775
- return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
776
- }
777
- return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
778
- }
779
- if (model === "hex") {
780
- return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
781
- }
782
- return ansi_styles_default[type][model](...arguments_);
783
- };
784
- var usedModels = ["rgb", "hex", "ansi256"];
785
- for (const model of usedModels) {
786
- styles2[model] = {
787
- get() {
788
- const { level } = this;
789
- return function(...arguments_) {
790
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
791
- return createBuilder(this, styler, this[IS_EMPTY]);
792
- };
793
- }
794
- };
795
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
796
- styles2[bgModel] = {
797
- get() {
798
- const { level } = this;
799
- return function(...arguments_) {
800
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
801
- return createBuilder(this, styler, this[IS_EMPTY]);
802
- };
803
- }
804
- };
805
- }
806
- var proto = Object.defineProperties(() => {
807
- }, {
808
- ...styles2,
809
- level: {
810
- enumerable: true,
811
- get() {
812
- return this[GENERATOR].level;
813
- },
814
- set(level) {
815
- this[GENERATOR].level = level;
816
- }
817
- }
818
- });
819
- var createStyler = (open, close, parent) => {
820
- let openAll;
821
- let closeAll;
822
- if (parent === void 0) {
823
- openAll = open;
824
- closeAll = close;
825
- } else {
826
- openAll = parent.openAll + open;
827
- closeAll = close + parent.closeAll;
828
- }
829
- return {
830
- open,
831
- close,
832
- openAll,
833
- closeAll,
834
- parent
835
- };
836
- };
837
- var createBuilder = (self, _styler, _isEmpty) => {
838
- const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
839
- Object.setPrototypeOf(builder, proto);
840
- builder[GENERATOR] = self;
841
- builder[STYLER] = _styler;
842
- builder[IS_EMPTY] = _isEmpty;
843
- return builder;
844
- };
845
- var applyStyle = (self, string) => {
846
- if (self.level <= 0 || !string) {
847
- return self[IS_EMPTY] ? "" : string;
848
- }
849
- let styler = self[STYLER];
850
- if (styler === void 0) {
851
- return string;
852
- }
853
- const { openAll, closeAll } = styler;
854
- if (string.includes("\x1B")) {
855
- while (styler !== void 0) {
856
- string = stringReplaceAll(string, styler.close, styler.open);
857
- styler = styler.parent;
858
- }
859
- }
860
- const lfIndex = string.indexOf("\n");
861
- if (lfIndex !== -1) {
862
- string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
863
- }
864
- return openAll + string + closeAll;
865
- };
866
- Object.defineProperties(createChalk.prototype, styles2);
867
- var chalk = createChalk();
868
- var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
869
- var source_default = chalk;
870
-
871
- // node_modules/.pnpm/widest-line@5.0.0/node_modules/widest-line/index.js
872
- function widestLine(string) {
873
- let lineWidth = 0;
874
- for (const line of string.split("\n")) {
875
- lineWidth = Math.max(lineWidth, stringWidth(line));
876
- }
877
- return lineWidth;
878
- }
879
-
880
- // node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
881
- var import_cli_boxes = __toESM(require_cli_boxes(), 1);
882
-
883
- // node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
884
- var UPPERCASE = /[\p{Lu}]/u;
885
- var LOWERCASE = /[\p{Ll}]/u;
886
- var LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
887
- var IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
888
- var SEPARATORS = /[_.\- ]+/;
889
- var LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source);
890
- var SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu");
891
- var NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu");
892
- var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
893
- let isLastCharLower = false;
894
- let isLastCharUpper = false;
895
- let isLastLastCharUpper = false;
896
- let isLastLastCharPreserved = false;
897
- for (let index = 0; index < string.length; index++) {
898
- const character = string[index];
899
- isLastLastCharPreserved = index > 2 ? string[index - 3] === "-" : true;
900
- if (isLastCharLower && UPPERCASE.test(character)) {
901
- string = string.slice(0, index) + "-" + string.slice(index);
902
- isLastCharLower = false;
903
- isLastLastCharUpper = isLastCharUpper;
904
- isLastCharUpper = true;
905
- index++;
906
- } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) {
907
- string = string.slice(0, index - 1) + "-" + string.slice(index - 1);
908
- isLastLastCharUpper = isLastCharUpper;
909
- isLastCharUpper = false;
910
- isLastCharLower = true;
911
- } else {
912
- isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;
913
- isLastLastCharUpper = isLastCharUpper;
914
- isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;
915
- }
916
- }
917
- return string;
918
- };
919
- var preserveConsecutiveUppercase = (input, toLowerCase) => {
920
- LEADING_CAPITAL.lastIndex = 0;
921
- return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));
922
- };
923
- var postProcess = (input, toUpperCase) => {
924
- SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
925
- NUMBERS_AND_IDENTIFIER.lastIndex = 0;
926
- return input.replaceAll(NUMBERS_AND_IDENTIFIER, (match, pattern, offset) => ["_", "-"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match)).replaceAll(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier));
927
- };
928
- function camelCase(input, options) {
929
- if (!(typeof input === "string" || Array.isArray(input))) {
930
- throw new TypeError("Expected the input to be `string | string[]`");
931
- }
932
- options = {
933
- pascalCase: false,
934
- preserveConsecutiveUppercase: false,
935
- ...options
936
- };
937
- if (Array.isArray(input)) {
938
- input = input.map((x) => x.trim()).filter((x) => x.length).join("-");
939
- } else {
940
- input = input.trim();
941
- }
942
- if (input.length === 0) {
943
- return "";
944
- }
945
- const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale);
946
- const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);
947
- if (input.length === 1) {
948
- if (SEPARATORS.test(input)) {
949
- return "";
950
- }
951
- return options.pascalCase ? toUpperCase(input) : toLowerCase(input);
952
- }
953
- const hasUpperCase = input !== toLowerCase(input);
954
- if (hasUpperCase) {
955
- input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase);
956
- }
957
- input = input.replace(LEADING_SEPARATORS, "");
958
- input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input);
959
- if (options.pascalCase) {
960
- input = toUpperCase(input.charAt(0)) + input.slice(1);
961
- }
962
- return postProcess(input, toUpperCase);
963
- }
964
-
965
- // node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
966
- var import_ansi_align = __toESM(require_ansi_align(), 1);
967
-
968
- // node_modules/.pnpm/ansi-styles@6.2.1/node_modules/ansi-styles/index.js
969
- var ANSI_BACKGROUND_OFFSET2 = 10;
970
- var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
971
- var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
972
- var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
973
- var styles3 = {
974
- modifier: {
975
- reset: [0, 0],
976
- // 21 isn't widely supported and 22 does the same thing
977
- bold: [1, 22],
978
- dim: [2, 22],
979
- italic: [3, 23],
980
- underline: [4, 24],
981
- overline: [53, 55],
982
- inverse: [7, 27],
983
- hidden: [8, 28],
984
- strikethrough: [9, 29]
985
- },
986
- color: {
987
- black: [30, 39],
988
- red: [31, 39],
989
- green: [32, 39],
990
- yellow: [33, 39],
991
- blue: [34, 39],
992
- magenta: [35, 39],
993
- cyan: [36, 39],
994
- white: [37, 39],
995
- // Bright color
996
- blackBright: [90, 39],
997
- gray: [90, 39],
998
- // Alias of `blackBright`
999
- grey: [90, 39],
1000
- // Alias of `blackBright`
1001
- redBright: [91, 39],
1002
- greenBright: [92, 39],
1003
- yellowBright: [93, 39],
1004
- blueBright: [94, 39],
1005
- magentaBright: [95, 39],
1006
- cyanBright: [96, 39],
1007
- whiteBright: [97, 39]
1008
- },
1009
- bgColor: {
1010
- bgBlack: [40, 49],
1011
- bgRed: [41, 49],
1012
- bgGreen: [42, 49],
1013
- bgYellow: [43, 49],
1014
- bgBlue: [44, 49],
1015
- bgMagenta: [45, 49],
1016
- bgCyan: [46, 49],
1017
- bgWhite: [47, 49],
1018
- // Bright color
1019
- bgBlackBright: [100, 49],
1020
- bgGray: [100, 49],
1021
- // Alias of `bgBlackBright`
1022
- bgGrey: [100, 49],
1023
- // Alias of `bgBlackBright`
1024
- bgRedBright: [101, 49],
1025
- bgGreenBright: [102, 49],
1026
- bgYellowBright: [103, 49],
1027
- bgBlueBright: [104, 49],
1028
- bgMagentaBright: [105, 49],
1029
- bgCyanBright: [106, 49],
1030
- bgWhiteBright: [107, 49]
1031
- }
1032
- };
1033
- var modifierNames2 = Object.keys(styles3.modifier);
1034
- var foregroundColorNames2 = Object.keys(styles3.color);
1035
- var backgroundColorNames2 = Object.keys(styles3.bgColor);
1036
- var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
1037
- function assembleStyles2() {
1038
- const codes = /* @__PURE__ */ new Map();
1039
- for (const [groupName, group] of Object.entries(styles3)) {
1040
- for (const [styleName, style] of Object.entries(group)) {
1041
- styles3[styleName] = {
1042
- open: `\x1B[${style[0]}m`,
1043
- close: `\x1B[${style[1]}m`
1044
- };
1045
- group[styleName] = styles3[styleName];
1046
- codes.set(style[0], style[1]);
1047
- }
1048
- Object.defineProperty(styles3, groupName, {
1049
- value: group,
1050
- enumerable: false
1051
- });
1052
- }
1053
- Object.defineProperty(styles3, "codes", {
1054
- value: codes,
1055
- enumerable: false
1056
- });
1057
- styles3.color.close = "\x1B[39m";
1058
- styles3.bgColor.close = "\x1B[49m";
1059
- styles3.color.ansi = wrapAnsi162();
1060
- styles3.color.ansi256 = wrapAnsi2562();
1061
- styles3.color.ansi16m = wrapAnsi16m2();
1062
- styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
1063
- styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
1064
- styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
1065
- Object.defineProperties(styles3, {
1066
- rgbToAnsi256: {
1067
- value: (red, green, blue) => {
1068
- if (red === green && green === blue) {
1069
- if (red < 8) {
1070
- return 16;
1071
- }
1072
- if (red > 248) {
1073
- return 231;
1074
- }
1075
- return Math.round((red - 8) / 247 * 24) + 232;
1076
- }
1077
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
1078
- },
1079
- enumerable: false
1080
- },
1081
- hexToRgb: {
1082
- value: (hex) => {
1083
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
1084
- if (!matches) {
1085
- return [0, 0, 0];
1086
- }
1087
- let [colorString] = matches;
1088
- if (colorString.length === 3) {
1089
- colorString = [...colorString].map((character) => character + character).join("");
1090
- }
1091
- const integer = Number.parseInt(colorString, 16);
1092
- return [
1093
- /* eslint-disable no-bitwise */
1094
- integer >> 16 & 255,
1095
- integer >> 8 & 255,
1096
- integer & 255
1097
- /* eslint-enable no-bitwise */
1098
- ];
1099
- },
1100
- enumerable: false
1101
- },
1102
- hexToAnsi256: {
1103
- value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
1104
- enumerable: false
1105
- },
1106
- ansi256ToAnsi: {
1107
- value: (code) => {
1108
- if (code < 8) {
1109
- return 30 + code;
1110
- }
1111
- if (code < 16) {
1112
- return 90 + (code - 8);
1113
- }
1114
- let red;
1115
- let green;
1116
- let blue;
1117
- if (code >= 232) {
1118
- red = ((code - 232) * 10 + 8) / 255;
1119
- green = red;
1120
- blue = red;
1121
- } else {
1122
- code -= 16;
1123
- const remainder = code % 36;
1124
- red = Math.floor(code / 36) / 5;
1125
- green = Math.floor(remainder / 6) / 5;
1126
- blue = remainder % 6 / 5;
1127
- }
1128
- const value = Math.max(red, green, blue) * 2;
1129
- if (value === 0) {
1130
- return 30;
1131
- }
1132
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
1133
- if (value === 2) {
1134
- result += 60;
1135
- }
1136
- return result;
1137
- },
1138
- enumerable: false
1139
- },
1140
- rgbToAnsi: {
1141
- value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
1142
- enumerable: false
1143
- },
1144
- hexToAnsi: {
1145
- value: (hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)),
1146
- enumerable: false
1147
- }
1148
- });
1149
- return styles3;
1150
- }
1151
- var ansiStyles2 = assembleStyles2();
1152
- var ansi_styles_default2 = ansiStyles2;
1153
-
1154
- // node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
1155
- var ESCAPES = /* @__PURE__ */ new Set([
1156
- "\x1B",
1157
- "\x9B"
1158
- ]);
1159
- var END_CODE = 39;
1160
- var ANSI_ESCAPE_BELL = "\x07";
1161
- var ANSI_CSI = "[";
1162
- var ANSI_OSC = "]";
1163
- var ANSI_SGR_TERMINATOR = "m";
1164
- var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
1165
- var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
1166
- var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
1167
- var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
1168
- var wrapWord = (rows, word, columns) => {
1169
- const characters = [...word];
1170
- let isInsideEscape = false;
1171
- let isInsideLinkEscape = false;
1172
- let visible = stringWidth(stripAnsi(rows.at(-1)));
1173
- for (const [index, character] of characters.entries()) {
1174
- const characterLength = stringWidth(character);
1175
- if (visible + characterLength <= columns) {
1176
- rows[rows.length - 1] += character;
1177
- } else {
1178
- rows.push(character);
1179
- visible = 0;
1180
- }
1181
- if (ESCAPES.has(character)) {
1182
- isInsideEscape = true;
1183
- const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
1184
- isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
1185
- }
1186
- if (isInsideEscape) {
1187
- if (isInsideLinkEscape) {
1188
- if (character === ANSI_ESCAPE_BELL) {
1189
- isInsideEscape = false;
1190
- isInsideLinkEscape = false;
1191
- }
1192
- } else if (character === ANSI_SGR_TERMINATOR) {
1193
- isInsideEscape = false;
1194
- }
1195
- continue;
1196
- }
1197
- visible += characterLength;
1198
- if (visible === columns && index < characters.length - 1) {
1199
- rows.push("");
1200
- visible = 0;
1201
- }
1202
- }
1203
- if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
1204
- rows[rows.length - 2] += rows.pop();
1205
- }
1206
- };
1207
- var stringVisibleTrimSpacesRight = (string) => {
1208
- const words = string.split(" ");
1209
- let last = words.length;
1210
- while (last > 0) {
1211
- if (stringWidth(words[last - 1]) > 0) {
1212
- break;
1213
- }
1214
- last--;
1215
- }
1216
- if (last === words.length) {
1217
- return string;
1218
- }
1219
- return words.slice(0, last).join(" ") + words.slice(last).join("");
1220
- };
1221
- var exec = (string, columns, options = {}) => {
1222
- if (options.trim !== false && string.trim() === "") {
1223
- return "";
1224
- }
1225
- let returnValue = "";
1226
- let escapeCode;
1227
- let escapeUrl;
1228
- const lengths = wordLengths(string);
1229
- let rows = [""];
1230
- for (const [index, word] of string.split(" ").entries()) {
1231
- if (options.trim !== false) {
1232
- rows[rows.length - 1] = rows.at(-1).trimStart();
1233
- }
1234
- let rowLength = stringWidth(rows.at(-1));
1235
- if (index !== 0) {
1236
- if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
1237
- rows.push("");
1238
- rowLength = 0;
1239
- }
1240
- if (rowLength > 0 || options.trim === false) {
1241
- rows[rows.length - 1] += " ";
1242
- rowLength++;
1243
- }
1244
- }
1245
- if (options.hard && lengths[index] > columns) {
1246
- const remainingColumns = columns - rowLength;
1247
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
1248
- const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
1249
- if (breaksStartingNextLine < breaksStartingThisLine) {
1250
- rows.push("");
1251
- }
1252
- wrapWord(rows, word, columns);
1253
- continue;
1254
- }
1255
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
1256
- if (options.wordWrap === false && rowLength < columns) {
1257
- wrapWord(rows, word, columns);
1258
- continue;
1259
- }
1260
- rows.push("");
1261
- }
1262
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
1263
- wrapWord(rows, word, columns);
1264
- continue;
1265
- }
1266
- rows[rows.length - 1] += word;
1267
- }
1268
- if (options.trim !== false) {
1269
- rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
1270
- }
1271
- const preString = rows.join("\n");
1272
- const pre = [...preString];
1273
- let preStringIndex = 0;
1274
- for (const [index, character] of pre.entries()) {
1275
- returnValue += character;
1276
- if (ESCAPES.has(character)) {
1277
- const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
1278
- if (groups.code !== void 0) {
1279
- const code2 = Number.parseFloat(groups.code);
1280
- escapeCode = code2 === END_CODE ? void 0 : code2;
1281
- } else if (groups.uri !== void 0) {
1282
- escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
1283
- }
1284
- }
1285
- const code = ansi_styles_default2.codes.get(Number(escapeCode));
1286
- if (pre[index + 1] === "\n") {
1287
- if (escapeUrl) {
1288
- returnValue += wrapAnsiHyperlink("");
1289
- }
1290
- if (escapeCode && code) {
1291
- returnValue += wrapAnsiCode(code);
1292
- }
1293
- } else if (character === "\n") {
1294
- if (escapeCode && code) {
1295
- returnValue += wrapAnsiCode(escapeCode);
1296
- }
1297
- if (escapeUrl) {
1298
- returnValue += wrapAnsiHyperlink(escapeUrl);
1299
- }
1300
- }
1301
- preStringIndex += character.length;
1302
- }
1303
- return returnValue;
1304
- };
1305
- function wrapAnsi(string, columns, options) {
1306
- return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
1307
- }
1308
-
1309
- // node_modules/.pnpm/boxen@8.0.1/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 = () => {
1315
- const { env: env2, stdout, stderr } = import_node_process2.default;
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
- };
1327
- var getObject = (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
- };
1339
- var getBorderWidth = (borderStyle) => borderStyle === NONE ? 0 : 2;
1340
- var getBorderChars = (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
- };
1381
- var makeTitle = (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
- };
1407
- var makeContentText = (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
- };
1464
- var boxContent = (content, contentWidth, options) => {
1465
- const colorizeBorder = (border) => {
1466
- const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
1467
- return options.dimBorder ? source_default.dim(newBorder) : newBorder;
1468
- };
1469
- const colorizeContent = (content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2;
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
- };
1497
- var sanitizeOptions = (options) => {
1498
- if (options.fullscreen && import_node_process2.default?.stdout) {
1499
- let newDimensions = [import_node_process2.default.stdout.columns, import_node_process2.default.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
- };
1510
- var formatTitle = (title, borderStyle) => borderStyle === NONE ? title : ` ${title} `;
1511
- var determineDimensions = (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
- };
1550
- var isHex = (color) => color.match(/^#(?:[0-f]{3}){1,2}$/i);
1551
- var isColorValid = (color) => typeof color === "string" && (source_default[color] ?? isHex(color));
1552
- var getColorFunction = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
1553
- var getBGColorFunction = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
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
-
1580
- // src/printBio.ts
1581
- function printBio(profile) {
1582
- const boxenOptions = {
1583
- padding: 1,
1584
- margin: 0,
1585
- borderStyle: "round",
1586
- borderColor: "green"
1587
- };
1588
- const cardContent = [
1589
- `${source_default.white.bold(profile.name)} ${source_default.gray(profile.title)}`,
1590
- source_default.white(profile.bio),
1591
- "",
1592
- `${source_default.gray.greenBright("Email")} ${profile.email}`,
1593
- `${source_default.gray.greenBright("GitHub")} ${profile.github}`,
1594
- `${source_default.gray.greenBright("Website")} ${profile.website}`,
1595
- "",
1596
- source_default.white(profile.quote)
1597
- ].join("\n");
1598
- console.log(boxen(cardContent, boxenOptions));
1599
- }
1600
-
1601
- // src/profile.json
1602
- var profile_default = {
1603
- id: "1",
1604
- name: "\uAE40\uB3D9\uC6B1",
1605
- email: "dannyworks102@gmail.com",
1606
- title: "Frontend Engineer, BHSN.ai",
1607
- github: "https://github.com/domuk-k",
1608
- website: "https://domuk-k.vercel.app",
1609
- bio: "Marathon Runner \u{1F3C3}, Opensource committer \u{1F4BB}, casual Yogi \u{1F9D8}",
1610
- quote: "Customer Centric, Focus on what you can control"
1611
- };
1612
-
1613
- // src/index.ts
1614
- printBio(profile_default);
2
+ #!/usr/bin/env node
3
+ var su=Object.create;var nD=Object.defineProperty;var iu=Object.getOwnPropertyDescriptor;var au=Object.getOwnPropertyNames;var lu=Object.getPrototypeOf,Bu=Object.prototype.hasOwnProperty;var b=(D,u)=>()=>(u||D((u={exports:{}}).exports,u),u.exports);var cu=(D,u,F,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let t of au(u))!Bu.call(D,t)&&t!==F&&nD(D,t,{get:()=>u[t],enumerable:!(e=iu(u,t))||e.enumerable});return D};var _=(D,u,F)=>(F=D!=null?su(lu(D)):{},cu(u||!D||!D.__esModule?nD(F,"default",{value:D,enumerable:!0}):F,D));var BD=b((pF,lD)=>{lD.exports=()=>/[#*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\uDC70\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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});var RD=b((WF,Lu)=>{Lu.exports={single:{topLeft:"\u250C",top:"\u2500",topRight:"\u2510",right:"\u2502",bottomRight:"\u2518",bottom:"\u2500",bottomLeft:"\u2514",left:"\u2502"},double:{topLeft:"\u2554",top:"\u2550",topRight:"\u2557",right:"\u2551",bottomRight:"\u255D",bottom:"\u2550",bottomLeft:"\u255A",left:"\u2551"},round:{topLeft:"\u256D",top:"\u2500",topRight:"\u256E",right:"\u2502",bottomRight:"\u256F",bottom:"\u2500",bottomLeft:"\u2570",left:"\u2502"},bold:{topLeft:"\u250F",top:"\u2501",topRight:"\u2513",right:"\u2503",bottomRight:"\u251B",bottom:"\u2501",bottomLeft:"\u2517",left:"\u2503"},singleDouble:{topLeft:"\u2553",top:"\u2500",topRight:"\u2556",right:"\u2551",bottomRight:"\u255C",bottom:"\u2500",bottomLeft:"\u2559",left:"\u2551"},doubleSingle:{topLeft:"\u2552",top:"\u2550",topRight:"\u2555",right:"\u2502",bottomRight:"\u255B",bottom:"\u2550",bottomLeft:"\u2558",left:"\u2502"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"\u2198",top:"\u2193",topRight:"\u2199",right:"\u2190",bottomRight:"\u2196",bottom:"\u2191",bottomLeft:"\u2197",left:"\u2192"}}});var X=b((GF,Q)=>{"use strict";var TD=RD();Q.exports=TD;Q.exports.default=TD});var ID=b((qF,kD)=>{"use strict";kD.exports=({onlyFirst:D=!1}={})=>{let u=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(u,D?void 0:"g")}});var $D=b((YF,LD)=>{"use strict";var Gu=ID();LD.exports=D=>typeof D=="string"?D.replace(Gu(),""):D});var MD=b((KF,uD)=>{"use strict";var _D=D=>Number.isNaN(D)?!1:D>=4352&&(D<=4447||D===9001||D===9002||11904<=D&&D<=12871&&D!==12351||12880<=D&&D<=19903||19968<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65131||65281<=D&&D<=65376||65504<=D&&D<=65510||110592<=D&&D<=110593||127488<=D&&D<=127569||131072<=D&&D<=262141);uD.exports=_D;uD.exports.default=_D});var UD=b((VF,jD)=>{"use strict";jD.exports=function(){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}});var GD=b((HF,FD)=>{"use strict";var Pu=$D(),qu=MD(),Yu=UD(),WD=D=>{if(typeof D!="string"||D.length===0||(D=Pu(D),D.length===0))return 0;D=D.replace(Yu()," ");let u=0;for(let F=0;F<D.length;F++){let e=D.codePointAt(F);e<=31||e>=127&&e<=159||e>=768&&e<=879||(e>65535&&F++,u+=qu(e)?2:1)}return u};FD.exports=WD;FD.exports.default=WD});var qD=b((ZF,PD)=>{"use strict";var Ku=GD();function R(D,u){if(!D)return D;u=u||{};let F=u.align||"center";if(F==="left")return D;let e=u.split||`
4
+ `,t=u.pad||" ",r=F!=="right"?Vu:Hu,E=!1;Array.isArray(D)||(E=!0,D=String(D).split(e));let C,n=0;return D=D.map(function(o){return o=String(o),C=Ku(o),n=Math.max(C,n),{str:o,width:C}}).map(function(o){return new Array(r(n,o.width)+1).join(t)+o.str}),E?D.join(e):D}R.left=function(u){return R(u,{align:"left"})};R.center=function(u){return R(u,{align:"center"})};R.right=function(u){return R(u,{align:"right"})};PD.exports=R;function Vu(D,u){return Math.floor((D-u)/2)}function Hu(D,u){return D-u}});import q from"node:process";function K({onlyFirst:D=!1}={}){let F=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(F,D?void 0:"g")}var fu=K();function v(D){if(typeof D!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof D}\``);return D.replace(fu,"")}function oD(D){return D===161||D===164||D===167||D===168||D===170||D===173||D===174||D>=176&&D<=180||D>=182&&D<=186||D>=188&&D<=191||D===198||D===208||D===215||D===216||D>=222&&D<=225||D===230||D>=232&&D<=234||D===236||D===237||D===240||D===242||D===243||D>=247&&D<=250||D===252||D===254||D===257||D===273||D===275||D===283||D===294||D===295||D===299||D>=305&&D<=307||D===312||D>=319&&D<=322||D===324||D>=328&&D<=331||D===333||D===338||D===339||D===358||D===359||D===363||D===462||D===464||D===466||D===468||D===470||D===472||D===474||D===476||D===593||D===609||D===708||D===711||D>=713&&D<=715||D===717||D===720||D>=728&&D<=731||D===733||D===735||D>=768&&D<=879||D>=913&&D<=929||D>=931&&D<=937||D>=945&&D<=961||D>=963&&D<=969||D===1025||D>=1040&&D<=1103||D===1105||D===8208||D>=8211&&D<=8214||D===8216||D===8217||D===8220||D===8221||D>=8224&&D<=8226||D>=8228&&D<=8231||D===8240||D===8242||D===8243||D===8245||D===8251||D===8254||D===8308||D===8319||D>=8321&&D<=8324||D===8364||D===8451||D===8453||D===8457||D===8467||D===8470||D===8481||D===8482||D===8486||D===8491||D===8531||D===8532||D>=8539&&D<=8542||D>=8544&&D<=8555||D>=8560&&D<=8569||D===8585||D>=8592&&D<=8601||D===8632||D===8633||D===8658||D===8660||D===8679||D===8704||D===8706||D===8707||D===8711||D===8712||D===8715||D===8719||D===8721||D===8725||D===8730||D>=8733&&D<=8736||D===8739||D===8741||D>=8743&&D<=8748||D===8750||D>=8756&&D<=8759||D===8764||D===8765||D===8776||D===8780||D===8786||D===8800||D===8801||D>=8804&&D<=8807||D===8810||D===8811||D===8814||D===8815||D===8834||D===8835||D===8838||D===8839||D===8853||D===8857||D===8869||D===8895||D===8978||D>=9312&&D<=9449||D>=9451&&D<=9547||D>=9552&&D<=9587||D>=9600&&D<=9615||D>=9618&&D<=9621||D===9632||D===9633||D>=9635&&D<=9641||D===9650||D===9651||D===9654||D===9655||D===9660||D===9661||D===9664||D===9665||D>=9670&&D<=9672||D===9675||D>=9678&&D<=9681||D>=9698&&D<=9701||D===9711||D===9733||D===9734||D===9737||D===9742||D===9743||D===9756||D===9758||D===9792||D===9794||D===9824||D===9825||D>=9827&&D<=9829||D>=9831&&D<=9834||D===9836||D===9837||D===9839||D===9886||D===9887||D===9919||D>=9926&&D<=9933||D>=9935&&D<=9939||D>=9941&&D<=9953||D===9955||D===9960||D===9961||D>=9963&&D<=9969||D===9972||D>=9974&&D<=9977||D===9979||D===9980||D===9982||D===9983||D===10045||D>=10102&&D<=10111||D>=11094&&D<=11097||D>=12872&&D<=12879||D>=57344&&D<=63743||D>=65024&&D<=65039||D===65533||D>=127232&&D<=127242||D>=127248&&D<=127277||D>=127280&&D<=127337||D>=127344&&D<=127373||D===127375||D===127376||D>=127387&&D<=127404||D>=917760&&D<=917999||D>=983040&&D<=1048573||D>=1048576&&D<=1114109}function sD(D){return D===12288||D>=65281&&D<=65376||D>=65504&&D<=65510}function iD(D){return D>=4352&&D<=4447||D===8986||D===8987||D===9001||D===9002||D>=9193&&D<=9196||D===9200||D===9203||D===9725||D===9726||D===9748||D===9749||D>=9776&&D<=9783||D>=9800&&D<=9811||D===9855||D>=9866&&D<=9871||D===9875||D===9889||D===9898||D===9899||D===9917||D===9918||D===9924||D===9925||D===9934||D===9940||D===9962||D===9970||D===9971||D===9973||D===9978||D===9981||D===9989||D===9994||D===9995||D===10024||D===10060||D===10062||D>=10067&&D<=10069||D===10071||D>=10133&&D<=10135||D===10160||D===10175||D===11035||D===11036||D===11088||D===11093||D>=11904&&D<=11929||D>=11931&&D<=12019||D>=12032&&D<=12245||D>=12272&&D<=12287||D>=12289&&D<=12350||D>=12353&&D<=12438||D>=12441&&D<=12543||D>=12549&&D<=12591||D>=12593&&D<=12686||D>=12688&&D<=12773||D>=12783&&D<=12830||D>=12832&&D<=12871||D>=12880&&D<=42124||D>=42128&&D<=42182||D>=43360&&D<=43388||D>=44032&&D<=55203||D>=63744&&D<=64255||D>=65040&&D<=65049||D>=65072&&D<=65106||D>=65108&&D<=65126||D>=65128&&D<=65131||D>=94176&&D<=94180||D===94192||D===94193||D>=94208&&D<=100343||D>=100352&&D<=101589||D>=101631&&D<=101640||D>=110576&&D<=110579||D>=110581&&D<=110587||D===110589||D===110590||D>=110592&&D<=110882||D===110898||D>=110928&&D<=110930||D===110933||D>=110948&&D<=110951||D>=110960&&D<=111355||D>=119552&&D<=119638||D>=119648&&D<=119670||D===126980||D===127183||D===127374||D>=127377&&D<=127386||D>=127488&&D<=127490||D>=127504&&D<=127547||D>=127552&&D<=127560||D===127568||D===127569||D>=127584&&D<=127589||D>=127744&&D<=127776||D>=127789&&D<=127797||D>=127799&&D<=127868||D>=127870&&D<=127891||D>=127904&&D<=127946||D>=127951&&D<=127955||D>=127968&&D<=127984||D===127988||D>=127992&&D<=128062||D===128064||D>=128066&&D<=128252||D>=128255&&D<=128317||D>=128331&&D<=128334||D>=128336&&D<=128359||D===128378||D===128405||D===128406||D===128420||D>=128507&&D<=128591||D>=128640&&D<=128709||D===128716||D>=128720&&D<=128722||D>=128725&&D<=128727||D>=128732&&D<=128735||D===128747||D===128748||D>=128756&&D<=128764||D>=128992&&D<=129003||D===129008||D>=129292&&D<=129338||D>=129340&&D<=129349||D>=129351&&D<=129535||D>=129648&&D<=129660||D>=129664&&D<=129673||D>=129679&&D<=129734||D>=129742&&D<=129756||D>=129759&&D<=129769||D>=129776&&D<=129784||D>=131072&&D<=196605||D>=196608&&D<=262141}function Au(D){if(!Number.isSafeInteger(D))throw new TypeError(`Expected a code point, got \`${typeof D}\`.`)}function aD(D,{ambiguousAsWide:u=!1}={}){return Au(D),sD(D)||iD(D)||u&&oD(D)?2:1}var cD=_(BD(),1),gu=new Intl.Segmenter,hu=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function f(D,u={}){if(typeof D!="string"||D.length===0)return 0;let{ambiguousIsNarrow:F=!0,countAnsiEscapeCodes:e=!1}=u;if(e||(D=v(D)),D.length===0)return 0;let t=0,r={ambiguousAsWide:!F};for(let{segment:E}of gu.segment(D)){let C=E.codePointAt(0);if(!(C<=31||C>=127&&C<=159)&&!(C>=8203&&C<=8207||C===65279)&&!(C>=768&&C<=879||C>=6832&&C<=6911||C>=7616&&C<=7679||C>=8400&&C<=8447||C>=65056&&C<=65071)&&!(C>=55296&&C<=57343)&&!(C>=65024&&C<=65039)&&!hu.test(E)){if((0,cD.default)().test(E)){t+=2;continue}t+=aD(C,r)}}return t}var fD=(D=0)=>u=>`\x1B[${u+D}m`,AD=(D=0)=>u=>`\x1B[${38+D};5;${u}m`,gD=(D=0)=>(u,F,e)=>`\x1B[${38+D};2;${u};${F};${e}m`,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},yF=Object.keys(i.modifier),mu=Object.keys(i.color),du=Object.keys(i.bgColor),RF=[...mu,...du];function pu(){let D=new Map;for(let[u,F]of Object.entries(i)){for(let[e,t]of Object.entries(F))i[e]={open:`\x1B[${t[0]}m`,close:`\x1B[${t[1]}m`},F[e]=i[e],D.set(t[0],t[1]);Object.defineProperty(i,u,{value:F,enumerable:!1})}return Object.defineProperty(i,"codes",{value:D,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi=fD(),i.color.ansi256=AD(),i.color.ansi16m=gD(),i.bgColor.ansi=fD(10),i.bgColor.ansi256=AD(10),i.bgColor.ansi16m=gD(10),Object.defineProperties(i,{rgbToAnsi256:{value(u,F,e){return u===F&&F===e?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(F/255*5)+Math.round(e/255*5)},enumerable:!1},hexToRgb:{value(u){let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!F)return[0,0,0];let[e]=F;e.length===3&&(e=[...e].map(r=>r+r).join(""));let t=Number.parseInt(e,16);return[t>>16&255,t>>8&255,t&255]},enumerable:!1},hexToAnsi256:{value:u=>i.rgbToAnsi256(...i.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value(u){if(u<8)return 30+u;if(u<16)return 90+(u-8);let F,e,t;if(u>=232)F=((u-232)*10+8)/255,e=F,t=F;else{u-=16;let C=u%36;F=Math.floor(u/36)/5,e=Math.floor(C/6)/5,t=C%6/5}let r=Math.max(F,e,t)*2;if(r===0)return 30;let E=30+(Math.round(t)<<2|Math.round(e)<<1|Math.round(F));return r===2&&(E+=60),E},enumerable:!1},rgbToAnsi:{value:(u,F,e)=>i.ansi256ToAnsi(i.rgbToAnsi256(u,F,e)),enumerable:!1},hexToAnsi:{value:u=>i.ansi256ToAnsi(i.hexToAnsi256(u)),enumerable:!1}}),i}var bu=pu(),d=bu;import V from"node:process";import xu from"node:os";import hD from"node:tty";function h(D,u=globalThis.Deno?globalThis.Deno.args:V.argv){let F=D.startsWith("-")?"":D.length===1?"-":"--",e=u.indexOf(F+D),t=u.indexOf("--");return e!==-1&&(t===-1||e<t)}var{env:l}=V,M;h("no-color")||h("no-colors")||h("color=false")||h("color=never")?M=0:(h("color")||h("colors")||h("color=true")||h("color=always"))&&(M=1);function wu(){if("FORCE_COLOR"in l)return l.FORCE_COLOR==="true"?1:l.FORCE_COLOR==="false"?0:l.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(l.FORCE_COLOR,10),3)}function yu(D){return D===0?!1:{level:D,hasBasic:!0,has256:D>=2,has16m:D>=3}}function Ru(D,{streamIsTTY:u,sniffFlags:F=!0}={}){let e=wu();e!==void 0&&(M=e);let t=F?M:e;if(t===0)return 0;if(F){if(h("color=16m")||h("color=full")||h("color=truecolor"))return 3;if(h("color=256"))return 2}if("TF_BUILD"in l&&"AGENT_NAME"in l)return 1;if(D&&!u&&t===void 0)return 0;let r=t||0;if(l.TERM==="dumb")return r;if(V.platform==="win32"){let E=xu.release().split(".");return Number(E[0])>=10&&Number(E[2])>=10586?Number(E[2])>=14931?3:2:1}if("CI"in l)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(E=>E in l)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(E=>E in l)||l.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in l)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION)?1:0;if(l.COLORTERM==="truecolor"||l.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in l){let E=Number.parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(l.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)||"COLORTERM"in l?1:r}function mD(D,u={}){let F=Ru(D,{streamIsTTY:D&&D.isTTY,...u});return yu(F)}var Tu={stdout:mD({isTTY:hD.isatty(1)}),stderr:mD({isTTY:hD.isatty(2)})},dD=Tu;function pD(D,u,F){let e=D.indexOf(u);if(e===-1)return D;let t=u.length,r=0,E="";do E+=D.slice(r,e)+u+F,r=e+t,e=D.indexOf(u,r);while(e!==-1);return E+=D.slice(r),E}function bD(D,u,F,e){let t=0,r="";do{let E=D[e-1]==="\r";r+=D.slice(t,E?e-1:e)+u+(E?`\r
5
+ `:`
6
+ `)+F,t=e+1,e=D.indexOf(`
7
+ `,t)}while(e!==-1);return r+=D.slice(t),r}var{stdout:xD,stderr:wD}=dD,H=Symbol("GENERATOR"),S=Symbol("STYLER"),N=Symbol("IS_EMPTY"),yD=["ansi","ansi","ansi256","ansi16m"],O=Object.create(null),Su=(D,u={})=>{if(u.level&&!(Number.isInteger(u.level)&&u.level>=0&&u.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let F=xD?xD.level:0;D.level=u.level===void 0?F:u.level};var Ou=D=>{let u=(...F)=>F.join(" ");return Su(u,D),Object.setPrototypeOf(u,k.prototype),u};function k(D){return Ou(D)}Object.setPrototypeOf(k.prototype,Function.prototype);for(let[D,u]of Object.entries(d))O[D]={get(){let F=j(this,J(u.open,u.close,this[S]),this[N]);return Object.defineProperty(this,D,{value:F}),F}};O.visible={get(){let D=j(this,this[S],!0);return Object.defineProperty(this,"visible",{value:D}),D}};var Z=(D,u,F,...e)=>D==="rgb"?u==="ansi16m"?d[F].ansi16m(...e):u==="ansi256"?d[F].ansi256(d.rgbToAnsi256(...e)):d[F].ansi(d.rgbToAnsi(...e)):D==="hex"?Z("rgb",u,F,...d.hexToRgb(...e)):d[F][D](...e),vu=["rgb","hex","ansi256"];for(let D of vu){O[D]={get(){let{level:F}=this;return function(...e){let t=J(Z(D,yD[F],"color",...e),d.color.close,this[S]);return j(this,t,this[N])}}};let u="bg"+D[0].toUpperCase()+D.slice(1);O[u]={get(){let{level:F}=this;return function(...e){let t=J(Z(D,yD[F],"bgColor",...e),d.bgColor.close,this[S]);return j(this,t,this[N])}}}}var Nu=Object.defineProperties(()=>{},{...O,level:{enumerable:!0,get(){return this[H].level},set(D){this[H].level=D}}}),J=(D,u,F)=>{let e,t;return F===void 0?(e=D,t=u):(e=F.openAll+D,t=u+F.closeAll),{open:D,close:u,openAll:e,closeAll:t,parent:F}},j=(D,u,F)=>{let e=(...t)=>ku(e,t.length===1?""+t[0]:t.join(" "));return Object.setPrototypeOf(e,Nu),e[H]=D,e[S]=u,e[N]=F,e},ku=(D,u)=>{if(D.level<=0||!u)return D[N]?"":u;let F=D[S];if(F===void 0)return u;let{openAll:e,closeAll:t}=F;if(u.includes("\x1B"))for(;F!==void 0;)u=pD(u,F.close,F.open),F=F.parent;let r=u.indexOf(`
8
+ `);return r!==-1&&(u=bD(u,t,e,r)),e+u+t};Object.defineProperties(k.prototype,O);var Iu=k(),_F=k({level:wD?wD.level:0});var c=Iu;function U(D){let u=0;for(let F of D.split(`
9
+ `))u=Math.max(u,f(F));return u}var Fu=_(X(),1);var $u=/[\p{Lu}]/u,_u=/[\p{Ll}]/u,SD=/^[\p{Lu}](?![\p{Lu}])/gu,ND=/([\p{Alpha}\p{N}_]|$)/u,z=/[_.\- ]+/,Mu=new RegExp("^"+z.source),OD=new RegExp(z.source+ND.source,"gu"),vD=new RegExp("\\d+"+ND.source,"gu"),ju=(D,u,F,e)=>{let t=!1,r=!1,E=!1,C=!1;for(let n=0;n<D.length;n++){let o=D[n];C=n>2?D[n-3]==="-":!0,t&&$u.test(o)?(D=D.slice(0,n)+"-"+D.slice(n),t=!1,E=r,r=!0,n++):r&&E&&_u.test(o)&&(!C||e)?(D=D.slice(0,n-1)+"-"+D.slice(n-1),E=r,r=!1,t=!0):(t=u(o)===o&&F(o)!==o,E=r,r=F(o)===o&&u(o)!==o)}return D},Uu=(D,u)=>(SD.lastIndex=0,D.replaceAll(SD,F=>u(F))),Wu=(D,u)=>(OD.lastIndex=0,vD.lastIndex=0,D.replaceAll(vD,(F,e,t)=>["_","-"].includes(D.charAt(t+F.length))?F:u(F)).replaceAll(OD,(F,e)=>u(e)));function DD(D,u){if(!(typeof D=="string"||Array.isArray(D)))throw new TypeError("Expected the input to be `string | string[]`");if(u={pascalCase:!1,preserveConsecutiveUppercase:!1,...u},Array.isArray(D)?D=D.map(r=>r.trim()).filter(r=>r.length).join("-"):D=D.trim(),D.length===0)return"";let F=u.locale===!1?r=>r.toLowerCase():r=>r.toLocaleLowerCase(u.locale),e=u.locale===!1?r=>r.toUpperCase():r=>r.toLocaleUpperCase(u.locale);return D.length===1?z.test(D)?"":u.pascalCase?e(D):F(D):(D!==F(D)&&(D=ju(D,F,e,u.preserveConsecutiveUppercase)),D=D.replace(Mu,""),D=u.preserveConsecutiveUppercase?Uu(D,F):F(D),u.pascalCase&&(D=e(D.charAt(0))+D.slice(1)),Wu(D,e))}var rD=_(qD(),1);var YD=(D=0)=>u=>`\x1B[${u+D}m`,KD=(D=0)=>u=>`\x1B[${38+D};5;${u}m`,VD=(D=0)=>(u,F,e)=>`\x1B[${38+D};2;${u};${F};${e}m`,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},JF=Object.keys(a.modifier),Zu=Object.keys(a.color),Ju=Object.keys(a.bgColor),QF=[...Zu,...Ju];function Qu(){let D=new Map;for(let[u,F]of Object.entries(a)){for(let[e,t]of Object.entries(F))a[e]={open:`\x1B[${t[0]}m`,close:`\x1B[${t[1]}m`},F[e]=a[e],D.set(t[0],t[1]);Object.defineProperty(a,u,{value:F,enumerable:!1})}return Object.defineProperty(a,"codes",{value:D,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi=YD(),a.color.ansi256=KD(),a.color.ansi16m=VD(),a.bgColor.ansi=YD(10),a.bgColor.ansi256=KD(10),a.bgColor.ansi16m=VD(10),Object.defineProperties(a,{rgbToAnsi256:{value:(u,F,e)=>u===F&&F===e?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(F/255*5)+Math.round(e/255*5),enumerable:!1},hexToRgb:{value:u=>{let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!F)return[0,0,0];let[e]=F;e.length===3&&(e=[...e].map(r=>r+r).join(""));let t=Number.parseInt(e,16);return[t>>16&255,t>>8&255,t&255]},enumerable:!1},hexToAnsi256:{value:u=>a.rgbToAnsi256(...a.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let F,e,t;if(u>=232)F=((u-232)*10+8)/255,e=F,t=F;else{u-=16;let C=u%36;F=Math.floor(u/36)/5,e=Math.floor(C/6)/5,t=C%6/5}let r=Math.max(F,e,t)*2;if(r===0)return 30;let E=30+(Math.round(t)<<2|Math.round(e)<<1|Math.round(F));return r===2&&(E+=60),E},enumerable:!1},rgbToAnsi:{value:(u,F,e)=>a.ansi256ToAnsi(a.rgbToAnsi256(u,F,e)),enumerable:!1},hexToAnsi:{value:u=>a.ansi256ToAnsi(a.hexToAnsi256(u)),enumerable:!1}}),a}var Xu=Qu(),HD=Xu;var G=new Set(["\x1B","\x9B"]),zu=39,tD="\x07",QD="[",DF="]",XD="m",W=`${DF}8;;`,ZD=D=>`${G.values().next().value}${QD}${D}${XD}`,JD=D=>`${G.values().next().value}${W}${D}${tD}`,uF=D=>D.split(" ").map(u=>f(u)),eD=(D,u,F)=>{let e=[...u],t=!1,r=!1,E=f(v(D.at(-1)));for(let[C,n]of e.entries()){let o=f(n);if(E+o<=F?D[D.length-1]+=n:(D.push(n),E=0),G.has(n)&&(t=!0,r=e.slice(C+1,C+1+W.length).join("")===W),t){r?n===tD&&(t=!1,r=!1):n===XD&&(t=!1);continue}E+=o,E===F&&C<e.length-1&&(D.push(""),E=0)}!E&&D.at(-1).length>0&&D.length>1&&(D[D.length-2]+=D.pop())},FF=D=>{let u=D.split(" "),F=u.length;for(;F>0&&!(f(u[F-1])>0);)F--;return F===u.length?D:u.slice(0,F).join(" ")+u.slice(F).join("")},eF=(D,u,F={})=>{if(F.trim!==!1&&D.trim()==="")return"";let e="",t,r,E=uF(D),C=[""];for(let[B,m]of D.split(" ").entries()){F.trim!==!1&&(C[C.length-1]=C.at(-1).trimStart());let A=f(C.at(-1));if(B!==0&&(A>=u&&(F.wordWrap===!1||F.trim===!1)&&(C.push(""),A=0),(A>0||F.trim===!1)&&(C[C.length-1]+=" ",A++)),F.hard&&E[B]>u){let p=u-A,y=1+Math.floor((E[B]-p-1)/u);Math.floor((E[B]-1)/u)<y&&C.push(""),eD(C,m,u);continue}if(A+E[B]>u&&A>0&&E[B]>0){if(F.wordWrap===!1&&A<u){eD(C,m,u);continue}C.push("")}if(A+E[B]>u&&F.wordWrap===!1){eD(C,m,u);continue}C[C.length-1]+=m}F.trim!==!1&&(C=C.map(B=>FF(B)));let n=C.join(`
10
+ `),o=[...n],s=0;for(let[B,m]of o.entries()){if(e+=m,G.has(m)){let{groups:p}=new RegExp(`(?:\\${QD}(?<code>\\d+)m|\\${W}(?<uri>.*)${tD})`).exec(n.slice(s))||{groups:{}};if(p.code!==void 0){let y=Number.parseFloat(p.code);t=y===zu?void 0:y}else p.uri!==void 0&&(r=p.uri.length===0?void 0:p.uri)}let A=HD.codes.get(Number(t));o[B+1]===`
11
+ `?(r&&(e+=JD("")),t&&A&&(e+=ZD(A))):m===`
12
+ `&&(t&&A&&(e+=ZD(t)),r&&(e+=JD(r))),s+=m.length}return e};function P(D,u,F){return String(D).normalize().replaceAll(`\r
13
+ `,`
14
+ `).split(`
15
+ `).map(e=>eF(e,u,F)).join(`
16
+ `)}var aF=_(X(),1),x=`
17
+ `,g=" ",I="none",eu=()=>{let{env:D,stdout:u,stderr:F}=q;return u?.columns?u.columns:F?.columns?F.columns:D.COLUMNS?Number.parseInt(D.COLUMNS,10):80},zD=D=>typeof D=="number"?{top:D,right:D*3,bottom:D,left:D*3}:{top:0,right:0,bottom:0,left:0,...D},L=D=>D===I?0:2,tF=D=>{let u=["topLeft","topRight","bottomRight","bottomLeft","left","right","top","bottom"],F;if(D===I){D={};for(let e of u)D[e]=""}if(typeof D=="string"){if(F=Fu.default[D],!F)throw new TypeError(`Invalid border style: ${D}`)}else{typeof D?.vertical=="string"&&(D.left=D.vertical,D.right=D.vertical),typeof D?.horizontal=="string"&&(D.top=D.horizontal,D.bottom=D.horizontal);for(let e of u)if(D[e]===null||typeof D[e]!="string")throw new TypeError(`Invalid border style: ${e}`);F=D}return F},rF=(D,u,F)=>{let e="",t=f(D);switch(F){case"left":{e=D+u.slice(t);break}case"right":{e=u.slice(t)+D;break}default:{u=u.slice(t),u.length%2===1?(u=u.slice(Math.floor(u.length/2)),e=u.slice(1)+D+u):(u=u.slice(u.length/2),e=u+D+u);break}}return e},CF=(D,{padding:u,width:F,textAlignment:e,height:t})=>{D=(0,rD.default)(D,{align:e});let r=D.split(x),E=U(D),C=F-u.left-u.right;if(E>C){let s=[];for(let B of r){let m=P(B,C,{hard:!0}),p=(0,rD.default)(m,{align:e}).split(`
18
+ `),y=Math.max(...p.map(T=>f(T)));for(let T of p){let $;switch(e){case"center":{$=g.repeat((C-y)/2)+T;break}case"right":{$=g.repeat(C-y)+T;break}default:{$=T;break}}s.push($)}}r=s}e==="center"&&E<C?r=r.map(s=>g.repeat((C-E)/2)+s):e==="right"&&E<C&&(r=r.map(s=>g.repeat(C-E)+s));let n=g.repeat(u.left),o=g.repeat(u.right);return r=r.map(s=>{let B=n+s+o;return B+g.repeat(F-f(B))}),u.top>0&&(r=[...Array.from({length:u.top}).fill(g.repeat(F)),...r]),u.bottom>0&&(r=[...r,...Array.from({length:u.bottom}).fill(g.repeat(F))]),t&&r.length>t?r=r.slice(0,t):t&&r.length<t&&(r=[...r,...Array.from({length:t-r.length}).fill(g.repeat(F))]),r.join(x)},EF=(D,u,F)=>{let e=s=>{let B=F.borderColor?sF(F.borderColor)(s):s;return F.dimBorder?c.dim(B):B},t=s=>F.backgroundColor?iF(F.backgroundColor)(s):s,r=tF(F.borderStyle),E=eu(),C=g.repeat(F.margin.left);if(F.float==="center"){let s=Math.max((E-u-L(F.borderStyle))/2,0);C=g.repeat(s)}else if(F.float==="right"){let s=Math.max(E-u-F.margin.right-L(F.borderStyle),0);C=g.repeat(s)}let n="";F.margin.top&&(n+=x.repeat(F.margin.top)),(F.borderStyle!==I||F.title)&&(n+=e(C+r.topLeft+(F.title?rF(F.title,r.top.repeat(u),F.titleAlignment):r.top.repeat(u))+r.topRight)+x);let o=D.split(x);return n+=o.map(s=>C+e(r.left)+t(s)+e(r.right)).join(x),F.borderStyle!==I&&(n+=x+e(C+r.bottomLeft+r.bottom.repeat(u)+r.bottomRight)),F.margin.bottom&&(n+=x.repeat(F.margin.bottom)),n},nF=D=>{if(D.fullscreen&&q?.stdout){let u=[q.stdout.columns,q.stdout.rows];typeof D.fullscreen=="function"&&(u=D.fullscreen(...u)),D.width||=u[0],D.height||=u[1]}return D.width&&=Math.max(1,D.width-L(D.borderStyle)),D.height&&=Math.max(1,D.height-L(D.borderStyle)),D},Du=(D,u)=>u===I?D:` ${D} `,oF=(D,u)=>{u=nF(u);let F=u.width!==void 0,e=eu(),t=L(u.borderStyle),r=e-u.margin.left-u.margin.right-t,E=U(P(D,e-t,{hard:!0,trim:!1}))+u.padding.left+u.padding.right;if(u.title&&F?(u.title=u.title.slice(0,Math.max(0,u.width-2)),u.title&&=Du(u.title,u.borderStyle)):u.title&&(u.title=u.title.slice(0,Math.max(0,r-2)),u.title&&(u.title=Du(u.title,u.borderStyle),f(u.title)>E&&(u.width=f(u.title)))),u.width||=E,!F){if(u.margin.left&&u.margin.right&&u.width>r){let n=(e-u.width-t)/(u.margin.left+u.margin.right);u.margin.left=Math.max(0,Math.floor(u.margin.left*n)),u.margin.right=Math.max(0,Math.floor(u.margin.right*n))}u.width=Math.min(u.width,e-t-u.margin.left-u.margin.right)}return u.width-(u.padding.left+u.padding.right)<=0&&(u.padding.left=0,u.padding.right=0),u.height&&u.height-(u.padding.top+u.padding.bottom)<=0&&(u.padding.top=0,u.padding.bottom=0),u},CD=D=>D.match(/^#(?:[0-f]{3}){1,2}$/i),uu=D=>typeof D=="string"&&(c[D]??CD(D)),sF=D=>CD(D)?c.hex(D):c[D],iF=D=>CD(D)?c.bgHex(D):c[DD(["bg",D])];function ED(D,u){if(u={padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left",...u},u.align&&(u.textAlignment=u.align),u.borderColor&&!uu(u.borderColor))throw new Error(`${u.borderColor} is not a valid borderColor`);if(u.backgroundColor&&!uu(u.backgroundColor))throw new Error(`${u.backgroundColor} is not a valid backgroundColor`);return u.padding=zD(u.padding),u.margin=zD(u.margin),u=oF(D,u),D=CF(D,u),EF(D,u.width,u)}function tu(){let D={padding:1,margin:0,borderStyle:"round",borderColor:"green"},u=[`${c.white.bold(w.name)} ${c.gray(w.title)}`,c.white(w.bio),"",`${c.gray.greenBright("Email")} ${w.email}`,`${c.gray.greenBright("GitHub")} ${w.github}`,`${c.gray.greenBright("Website")} ${w.website}`,`${c.gray.greenBright("Project")} ${w.project}`,"",c.white(w.quote)].join(`
19
+ `);console.log(ED(u,D))}var w={id:"1",name:"\uAE40\uB3D9\uC6B1",email:"dannyworks102@gmail.com",title:"Software Engineer, BHSN.ai",github:"https://github.com/domuk-k",website:"https://domuk-k.vercel.app",project:"https://github.com/domuk-k/dwkim",bio:"Problem Solver \u{1F939}, Marathon Runner \u{1F3C3}, Opensource committer \u{1F4BB}, casual Yogi \u{1F9D8}",quote:"Customer Centric, Focus on what you can control"};import*as ru from"readline";function Cu(){let D=ru.createInterface({input:process.stdin,output:process.stdout});return D.on("SIGINT",()=>{console.log(`
20
+
21
+ \u{1F44B} Goodbye!`),process.exit(0)}),D}var Y=class{constructor(u){this.baseUrl=u}async checkHealth(){let u=await fetch(`${this.baseUrl}/health`);if(!u.ok)throw new Error(`Health check failed: ${u.status}`)}async chat(u){let F=await fetch(`${this.baseUrl}/api/v1/chat`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:u})});if(!F.ok){let e=await F.text();throw new Error(`Chat request failed: ${F.status} - ${e}`)}return F.json()}async search(u){let F=await fetch(`${this.baseUrl}/api/v1/search?q=${encodeURIComponent(u)}`);if(!F.ok){let t=await F.text();throw new Error(`Search request failed: ${F.status} - ${t}`)}return(await F.json()).results||[]}async getStatus(){let u=await fetch(`${this.baseUrl}/api/v1/status`);if(!u.ok){let F=await u.text();throw new Error(`Status request failed: ${u.status} - ${F}`)}return u.json()}};var Eu="http://localhost:8080";async function nu(){console.log(`
22
+ \u{1F916} AI Assistant Chat
23
+
24
+ Connected to: ${Eu}
25
+ Type your questions about dwkim or '/help' for commands
26
+ Press Ctrl+C to exit
27
+ `);let D=new Y(Eu),u=Cu();try{await D.checkHealth(),console.log(`\u2705 Connected to persona-api
28
+ `)}catch{console.log("\u274C Failed to connect to persona-api"),console.log(`\u{1F4A1} Make sure the API server is running: cd packages/persona-api && npm run docker:up
29
+ `)}let F=()=>{u.question("\u{1F4AC} You: ",async e=>{let t=e.trim();if(!t){F();return}if(t.startsWith("/")){await lF(t,D),F();return}try{console.log(`
30
+ \u{1F914} Thinking...`);let r=await D.chat(t);console.log(`
31
+ \u{1F916} Assistant: ${r.answer}
32
+ `),r.sources&&r.sources.length>0&&(console.log("\u{1F4DA} Sources:"),r.sources.forEach((E,C)=>{console.log(` ${C+1}. ${E.type}/${E.filename} (relevance: ${E.score?.toFixed(2)})`)}),console.log(""))}catch(r){console.log(`
33
+ \u274C Error: ${r instanceof Error?r.message:"Unknown error"}
34
+ `)}F()})};F()}async function lF(D,u){let[F,...e]=D.slice(1).split(" ");switch(F){case"help":console.log(`
35
+ \u{1F4CB} Available Commands:
36
+
37
+ Chat Commands:
38
+ /help Show this help message
39
+ /status Check API server status
40
+ /search <query> Search documents directly
41
+ /clear Clear conversation history (if supported)
42
+
43
+ Examples:
44
+ What technologies do you use?
45
+ Tell me about your experience
46
+ What are your thoughts on AI?
47
+ /search typescript
48
+ `);break;case"status":try{let r=await u.getStatus();console.log(`
49
+ \u{1F4CA} API Status:`),console.log(` Service: ${r.status}`),console.log(` Documents: ${r.rag_engine?.total_documents||"N/A"}`),console.log(` Collections: ${r.rag_engine?.collections||"N/A"}`),console.log(` Uptime: ${Math.round((Date.now()-new Date(r.timestamp||0).getTime())/1e3)}s ago`)}catch(r){console.log(`\u274C Failed to get status: ${r instanceof Error?r.message:"Unknown error"}`)}break;case"search":let t=e.join(" ");if(!t){console.log("\u274C Please provide a search query: /search <your query>");break}try{let r=await u.search(t);console.log(`
50
+ \u{1F50D} Search results for: "${t}"`),r.length===0?console.log("\u{1F4ED} No results found"):r.forEach((E,C)=>{console.log(`
51
+ ${C+1}. [${E.type}/${E.filename}]`),console.log(` ${E.content.substring(0,150)}...`),console.log(` Relevance: ${E.score?.toFixed(3)}`)})}catch(r){console.log(`\u274C Search failed: ${r instanceof Error?r.message:"Unknown error"}`)}break;case"clear":console.log("\u{1F9F9} Conversation history cleared (if supported by API)");break;default:console.log(`\u274C Unknown command: /${F}`),console.log("Type /help for available commands")}}var ou=process.argv[2];switch(ou){case"chat":await nu();break;case"profile":case void 0:tu();break;case"help":console.log(`
52
+ \u{1F4DA} dwkim CLI
53
+
54
+ Usage: dwkim [command]
55
+
56
+ Commands:
57
+ profile Show developer profile (default)
58
+ chat Start interactive chat with AI assistant
59
+ help Show this help message
60
+
61
+ Examples:
62
+ dwkim # Show profile
63
+ dwkim profile # Show profile
64
+ dwkim chat # Start chat
65
+ `);break;default:console.log(`Unknown command: ${ou}`),console.log('Run "dwkim help" for available commands')}