bejamas 0.0.0-canary.0f00bcf
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/generate-mdx-DHm_37lA.js +574 -0
- package/dist/generate-mdx-DHm_37lA.js.map +1 -0
- package/dist/index.js +10897 -0
- package/dist/index.js.map +1 -0
- package/dist/spinner-B-Vrcyil.js +3229 -0
- package/dist/spinner-B-Vrcyil.js.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,3229 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
import process$1 from "node:process";
|
|
3
|
+
import os from "node:os";
|
|
4
|
+
import tty from "node:tty";
|
|
5
|
+
|
|
6
|
+
//#region rolldown:runtime
|
|
7
|
+
var __create = Object.create;
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
11
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
12
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
+
var __commonJS = (cb, mod) => function() {
|
|
14
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
+
};
|
|
16
|
+
var __copyProps = (to, from, except, desc) => {
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
18
|
+
key = keys[i];
|
|
19
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
20
|
+
get: ((k) => from[k]).bind(null, key),
|
|
21
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
|
+
value: mod,
|
|
28
|
+
enumerable: true
|
|
29
|
+
}) : target, mod));
|
|
30
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../node_modules/kleur/colors.mjs
|
|
34
|
+
let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY = true;
|
|
35
|
+
if (typeof process !== "undefined") {
|
|
36
|
+
({FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM} = process.env || {});
|
|
37
|
+
isTTY = process.stdout && process.stdout.isTTY;
|
|
38
|
+
}
|
|
39
|
+
const $ = { enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY) };
|
|
40
|
+
function init(x, y) {
|
|
41
|
+
let rgx = new RegExp(`\\x1b\\[${y}m`, "g");
|
|
42
|
+
let open = `\x1b[${x}m`, close = `\x1b[${y}m`;
|
|
43
|
+
return function(txt) {
|
|
44
|
+
if (!$.enabled || txt == null) return txt;
|
|
45
|
+
return open + (!!~("" + txt).indexOf(close) ? txt.replace(rgx, close + open) : txt) + close;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
const reset = init(0, 0);
|
|
49
|
+
const bold = init(1, 22);
|
|
50
|
+
const dim = init(2, 22);
|
|
51
|
+
const italic = init(3, 23);
|
|
52
|
+
const underline = init(4, 24);
|
|
53
|
+
const inverse = init(7, 27);
|
|
54
|
+
const hidden = init(8, 28);
|
|
55
|
+
const strikethrough = init(9, 29);
|
|
56
|
+
const black = init(30, 39);
|
|
57
|
+
const red = init(31, 39);
|
|
58
|
+
const green = init(32, 39);
|
|
59
|
+
const yellow = init(33, 39);
|
|
60
|
+
const blue = init(34, 39);
|
|
61
|
+
const magenta = init(35, 39);
|
|
62
|
+
const cyan = init(36, 39);
|
|
63
|
+
const white = init(37, 39);
|
|
64
|
+
const gray = init(90, 39);
|
|
65
|
+
const grey = init(90, 39);
|
|
66
|
+
const bgBlack = init(40, 49);
|
|
67
|
+
const bgRed = init(41, 49);
|
|
68
|
+
const bgGreen = init(42, 49);
|
|
69
|
+
const bgYellow = init(43, 49);
|
|
70
|
+
const bgBlue = init(44, 49);
|
|
71
|
+
const bgMagenta = init(45, 49);
|
|
72
|
+
const bgCyan = init(46, 49);
|
|
73
|
+
const bgWhite = init(47, 49);
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/utils/highlighter.ts
|
|
77
|
+
const highlighter = {
|
|
78
|
+
error: red,
|
|
79
|
+
warn: yellow,
|
|
80
|
+
info: cyan,
|
|
81
|
+
success: green
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/utils/logger.ts
|
|
86
|
+
const logger = {
|
|
87
|
+
error(...args) {
|
|
88
|
+
console.log(highlighter.error(args.join(" ")));
|
|
89
|
+
},
|
|
90
|
+
warn(...args) {
|
|
91
|
+
console.log(highlighter.warn(args.join(" ")));
|
|
92
|
+
},
|
|
93
|
+
info(...args) {
|
|
94
|
+
console.log(highlighter.info(args.join(" ")));
|
|
95
|
+
},
|
|
96
|
+
success(...args) {
|
|
97
|
+
console.log(highlighter.success(args.join(" ")));
|
|
98
|
+
},
|
|
99
|
+
log(...args) {
|
|
100
|
+
console.log(args.join(" "));
|
|
101
|
+
},
|
|
102
|
+
break() {
|
|
103
|
+
console.log("");
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region ../../node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
109
|
+
const ANSI_BACKGROUND_OFFSET$1 = 10;
|
|
110
|
+
const wrapAnsi16$1 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
|
|
111
|
+
const wrapAnsi256$1 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
|
|
112
|
+
const wrapAnsi16m$1 = (offset = 0) => (red$1, green$1, blue$1) => `\u001B[${38 + offset};2;${red$1};${green$1};${blue$1}m`;
|
|
113
|
+
const styles$3 = {
|
|
114
|
+
modifier: {
|
|
115
|
+
reset: [0, 0],
|
|
116
|
+
bold: [1, 22],
|
|
117
|
+
dim: [2, 22],
|
|
118
|
+
italic: [3, 23],
|
|
119
|
+
underline: [4, 24],
|
|
120
|
+
overline: [53, 55],
|
|
121
|
+
inverse: [7, 27],
|
|
122
|
+
hidden: [8, 28],
|
|
123
|
+
strikethrough: [9, 29]
|
|
124
|
+
},
|
|
125
|
+
color: {
|
|
126
|
+
black: [30, 39],
|
|
127
|
+
red: [31, 39],
|
|
128
|
+
green: [32, 39],
|
|
129
|
+
yellow: [33, 39],
|
|
130
|
+
blue: [34, 39],
|
|
131
|
+
magenta: [35, 39],
|
|
132
|
+
cyan: [36, 39],
|
|
133
|
+
white: [37, 39],
|
|
134
|
+
blackBright: [90, 39],
|
|
135
|
+
gray: [90, 39],
|
|
136
|
+
grey: [90, 39],
|
|
137
|
+
redBright: [91, 39],
|
|
138
|
+
greenBright: [92, 39],
|
|
139
|
+
yellowBright: [93, 39],
|
|
140
|
+
blueBright: [94, 39],
|
|
141
|
+
magentaBright: [95, 39],
|
|
142
|
+
cyanBright: [96, 39],
|
|
143
|
+
whiteBright: [97, 39]
|
|
144
|
+
},
|
|
145
|
+
bgColor: {
|
|
146
|
+
bgBlack: [40, 49],
|
|
147
|
+
bgRed: [41, 49],
|
|
148
|
+
bgGreen: [42, 49],
|
|
149
|
+
bgYellow: [43, 49],
|
|
150
|
+
bgBlue: [44, 49],
|
|
151
|
+
bgMagenta: [45, 49],
|
|
152
|
+
bgCyan: [46, 49],
|
|
153
|
+
bgWhite: [47, 49],
|
|
154
|
+
bgBlackBright: [100, 49],
|
|
155
|
+
bgGray: [100, 49],
|
|
156
|
+
bgGrey: [100, 49],
|
|
157
|
+
bgRedBright: [101, 49],
|
|
158
|
+
bgGreenBright: [102, 49],
|
|
159
|
+
bgYellowBright: [103, 49],
|
|
160
|
+
bgBlueBright: [104, 49],
|
|
161
|
+
bgMagentaBright: [105, 49],
|
|
162
|
+
bgCyanBright: [106, 49],
|
|
163
|
+
bgWhiteBright: [107, 49]
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
const modifierNames$1 = Object.keys(styles$3.modifier);
|
|
167
|
+
const foregroundColorNames$1 = Object.keys(styles$3.color);
|
|
168
|
+
const backgroundColorNames$1 = Object.keys(styles$3.bgColor);
|
|
169
|
+
const colorNames$1 = [...foregroundColorNames$1, ...backgroundColorNames$1];
|
|
170
|
+
function assembleStyles$1() {
|
|
171
|
+
const codes = /* @__PURE__ */ new Map();
|
|
172
|
+
for (const [groupName, group] of Object.entries(styles$3)) {
|
|
173
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
174
|
+
styles$3[styleName] = {
|
|
175
|
+
open: `\u001B[${style[0]}m`,
|
|
176
|
+
close: `\u001B[${style[1]}m`
|
|
177
|
+
};
|
|
178
|
+
group[styleName] = styles$3[styleName];
|
|
179
|
+
codes.set(style[0], style[1]);
|
|
180
|
+
}
|
|
181
|
+
Object.defineProperty(styles$3, groupName, {
|
|
182
|
+
value: group,
|
|
183
|
+
enumerable: false
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
Object.defineProperty(styles$3, "codes", {
|
|
187
|
+
value: codes,
|
|
188
|
+
enumerable: false
|
|
189
|
+
});
|
|
190
|
+
styles$3.color.close = "\x1B[39m";
|
|
191
|
+
styles$3.bgColor.close = "\x1B[49m";
|
|
192
|
+
styles$3.color.ansi = wrapAnsi16$1();
|
|
193
|
+
styles$3.color.ansi256 = wrapAnsi256$1();
|
|
194
|
+
styles$3.color.ansi16m = wrapAnsi16m$1();
|
|
195
|
+
styles$3.bgColor.ansi = wrapAnsi16$1(ANSI_BACKGROUND_OFFSET$1);
|
|
196
|
+
styles$3.bgColor.ansi256 = wrapAnsi256$1(ANSI_BACKGROUND_OFFSET$1);
|
|
197
|
+
styles$3.bgColor.ansi16m = wrapAnsi16m$1(ANSI_BACKGROUND_OFFSET$1);
|
|
198
|
+
Object.defineProperties(styles$3, {
|
|
199
|
+
rgbToAnsi256: {
|
|
200
|
+
value(red$1, green$1, blue$1) {
|
|
201
|
+
if (red$1 === green$1 && green$1 === blue$1) {
|
|
202
|
+
if (red$1 < 8) return 16;
|
|
203
|
+
if (red$1 > 248) return 231;
|
|
204
|
+
return Math.round((red$1 - 8) / 247 * 24) + 232;
|
|
205
|
+
}
|
|
206
|
+
return 16 + 36 * Math.round(red$1 / 255 * 5) + 6 * Math.round(green$1 / 255 * 5) + Math.round(blue$1 / 255 * 5);
|
|
207
|
+
},
|
|
208
|
+
enumerable: false
|
|
209
|
+
},
|
|
210
|
+
hexToRgb: {
|
|
211
|
+
value(hex) {
|
|
212
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
213
|
+
if (!matches) return [
|
|
214
|
+
0,
|
|
215
|
+
0,
|
|
216
|
+
0
|
|
217
|
+
];
|
|
218
|
+
let [colorString] = matches;
|
|
219
|
+
if (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join("");
|
|
220
|
+
const integer = Number.parseInt(colorString, 16);
|
|
221
|
+
return [
|
|
222
|
+
integer >> 16 & 255,
|
|
223
|
+
integer >> 8 & 255,
|
|
224
|
+
integer & 255
|
|
225
|
+
];
|
|
226
|
+
},
|
|
227
|
+
enumerable: false
|
|
228
|
+
},
|
|
229
|
+
hexToAnsi256: {
|
|
230
|
+
value: (hex) => styles$3.rgbToAnsi256(...styles$3.hexToRgb(hex)),
|
|
231
|
+
enumerable: false
|
|
232
|
+
},
|
|
233
|
+
ansi256ToAnsi: {
|
|
234
|
+
value(code) {
|
|
235
|
+
if (code < 8) return 30 + code;
|
|
236
|
+
if (code < 16) return 90 + (code - 8);
|
|
237
|
+
let red$1;
|
|
238
|
+
let green$1;
|
|
239
|
+
let blue$1;
|
|
240
|
+
if (code >= 232) {
|
|
241
|
+
red$1 = ((code - 232) * 10 + 8) / 255;
|
|
242
|
+
green$1 = red$1;
|
|
243
|
+
blue$1 = red$1;
|
|
244
|
+
} else {
|
|
245
|
+
code -= 16;
|
|
246
|
+
const remainder = code % 36;
|
|
247
|
+
red$1 = Math.floor(code / 36) / 5;
|
|
248
|
+
green$1 = Math.floor(remainder / 6) / 5;
|
|
249
|
+
blue$1 = remainder % 6 / 5;
|
|
250
|
+
}
|
|
251
|
+
const value = Math.max(red$1, green$1, blue$1) * 2;
|
|
252
|
+
if (value === 0) return 30;
|
|
253
|
+
let result = 30 + (Math.round(blue$1) << 2 | Math.round(green$1) << 1 | Math.round(red$1));
|
|
254
|
+
if (value === 2) result += 60;
|
|
255
|
+
return result;
|
|
256
|
+
},
|
|
257
|
+
enumerable: false
|
|
258
|
+
},
|
|
259
|
+
rgbToAnsi: {
|
|
260
|
+
value: (red$1, green$1, blue$1) => styles$3.ansi256ToAnsi(styles$3.rgbToAnsi256(red$1, green$1, blue$1)),
|
|
261
|
+
enumerable: false
|
|
262
|
+
},
|
|
263
|
+
hexToAnsi: {
|
|
264
|
+
value: (hex) => styles$3.ansi256ToAnsi(styles$3.hexToAnsi256(hex)),
|
|
265
|
+
enumerable: false
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
return styles$3;
|
|
269
|
+
}
|
|
270
|
+
const ansiStyles$1 = assembleStyles$1();
|
|
271
|
+
var ansi_styles_default$1 = ansiStyles$1;
|
|
272
|
+
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region ../../node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.js
|
|
275
|
+
function hasFlag$1(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
|
|
276
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
277
|
+
const position = argv.indexOf(prefix + flag);
|
|
278
|
+
const terminatorPosition = argv.indexOf("--");
|
|
279
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
280
|
+
}
|
|
281
|
+
const { env: env$1 } = process$1;
|
|
282
|
+
let flagForceColor$1;
|
|
283
|
+
if (hasFlag$1("no-color") || hasFlag$1("no-colors") || hasFlag$1("color=false") || hasFlag$1("color=never")) flagForceColor$1 = 0;
|
|
284
|
+
else if (hasFlag$1("color") || hasFlag$1("colors") || hasFlag$1("color=true") || hasFlag$1("color=always")) flagForceColor$1 = 1;
|
|
285
|
+
function envForceColor$1() {
|
|
286
|
+
if ("FORCE_COLOR" in env$1) {
|
|
287
|
+
if (env$1.FORCE_COLOR === "true") return 1;
|
|
288
|
+
if (env$1.FORCE_COLOR === "false") return 0;
|
|
289
|
+
return env$1.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env$1.FORCE_COLOR, 10), 3);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
function translateLevel$1(level) {
|
|
293
|
+
if (level === 0) return false;
|
|
294
|
+
return {
|
|
295
|
+
level,
|
|
296
|
+
hasBasic: true,
|
|
297
|
+
has256: level >= 2,
|
|
298
|
+
has16m: level >= 3
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
function _supportsColor$1(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
302
|
+
const noFlagForceColor = envForceColor$1();
|
|
303
|
+
if (noFlagForceColor !== void 0) flagForceColor$1 = noFlagForceColor;
|
|
304
|
+
const forceColor = sniffFlags ? flagForceColor$1 : noFlagForceColor;
|
|
305
|
+
if (forceColor === 0) return 0;
|
|
306
|
+
if (sniffFlags) {
|
|
307
|
+
if (hasFlag$1("color=16m") || hasFlag$1("color=full") || hasFlag$1("color=truecolor")) return 3;
|
|
308
|
+
if (hasFlag$1("color=256")) return 2;
|
|
309
|
+
}
|
|
310
|
+
if ("TF_BUILD" in env$1 && "AGENT_NAME" in env$1) return 1;
|
|
311
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
|
|
312
|
+
const min = forceColor || 0;
|
|
313
|
+
if (env$1.TERM === "dumb") return min;
|
|
314
|
+
if (process$1.platform === "win32") {
|
|
315
|
+
const osRelease = os.release().split(".");
|
|
316
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
317
|
+
return 1;
|
|
318
|
+
}
|
|
319
|
+
if ("CI" in env$1) {
|
|
320
|
+
if ([
|
|
321
|
+
"GITHUB_ACTIONS",
|
|
322
|
+
"GITEA_ACTIONS",
|
|
323
|
+
"CIRCLECI"
|
|
324
|
+
].some((key) => key in env$1)) return 3;
|
|
325
|
+
if ([
|
|
326
|
+
"TRAVIS",
|
|
327
|
+
"APPVEYOR",
|
|
328
|
+
"GITLAB_CI",
|
|
329
|
+
"BUILDKITE",
|
|
330
|
+
"DRONE"
|
|
331
|
+
].some((sign) => sign in env$1) || env$1.CI_NAME === "codeship") return 1;
|
|
332
|
+
return min;
|
|
333
|
+
}
|
|
334
|
+
if ("TEAMCITY_VERSION" in env$1) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env$1.TEAMCITY_VERSION) ? 1 : 0;
|
|
335
|
+
if (env$1.COLORTERM === "truecolor") return 3;
|
|
336
|
+
if (env$1.TERM === "xterm-kitty") return 3;
|
|
337
|
+
if (env$1.TERM === "xterm-ghostty") return 3;
|
|
338
|
+
if (env$1.TERM === "wezterm") return 3;
|
|
339
|
+
if ("TERM_PROGRAM" in env$1) {
|
|
340
|
+
const version = Number.parseInt((env$1.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
341
|
+
switch (env$1.TERM_PROGRAM) {
|
|
342
|
+
case "iTerm.app": return version >= 3 ? 3 : 2;
|
|
343
|
+
case "Apple_Terminal": return 2;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
if (/-256(color)?$/i.test(env$1.TERM)) return 2;
|
|
347
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env$1.TERM)) return 1;
|
|
348
|
+
if ("COLORTERM" in env$1) return 1;
|
|
349
|
+
return min;
|
|
350
|
+
}
|
|
351
|
+
function createSupportsColor$1(stream, options = {}) {
|
|
352
|
+
const level = _supportsColor$1(stream, {
|
|
353
|
+
streamIsTTY: stream && stream.isTTY,
|
|
354
|
+
...options
|
|
355
|
+
});
|
|
356
|
+
return translateLevel$1(level);
|
|
357
|
+
}
|
|
358
|
+
const supportsColor$1 = {
|
|
359
|
+
stdout: createSupportsColor$1({ isTTY: tty.isatty(1) }),
|
|
360
|
+
stderr: createSupportsColor$1({ isTTY: tty.isatty(2) })
|
|
361
|
+
};
|
|
362
|
+
var supports_color_default$1 = supportsColor$1;
|
|
363
|
+
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region ../../node_modules/ora/node_modules/chalk/source/utilities.js
|
|
366
|
+
function stringReplaceAll$1(string, substring, replacer) {
|
|
367
|
+
let index = string.indexOf(substring);
|
|
368
|
+
if (index === -1) return string;
|
|
369
|
+
const substringLength = substring.length;
|
|
370
|
+
let endIndex = 0;
|
|
371
|
+
let returnValue = "";
|
|
372
|
+
do {
|
|
373
|
+
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
374
|
+
endIndex = index + substringLength;
|
|
375
|
+
index = string.indexOf(substring, endIndex);
|
|
376
|
+
} while (index !== -1);
|
|
377
|
+
returnValue += string.slice(endIndex);
|
|
378
|
+
return returnValue;
|
|
379
|
+
}
|
|
380
|
+
function stringEncaseCRLFWithFirstIndex$1(string, prefix, postfix, index) {
|
|
381
|
+
let endIndex = 0;
|
|
382
|
+
let returnValue = "";
|
|
383
|
+
do {
|
|
384
|
+
const gotCR = string[index - 1] === "\r";
|
|
385
|
+
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
386
|
+
endIndex = index + 1;
|
|
387
|
+
index = string.indexOf("\n", endIndex);
|
|
388
|
+
} while (index !== -1);
|
|
389
|
+
returnValue += string.slice(endIndex);
|
|
390
|
+
return returnValue;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region ../../node_modules/ora/node_modules/chalk/source/index.js
|
|
395
|
+
const { stdout: stdoutColor$1, stderr: stderrColor$1 } = supports_color_default$1;
|
|
396
|
+
const GENERATOR$1 = Symbol("GENERATOR");
|
|
397
|
+
const STYLER$1 = Symbol("STYLER");
|
|
398
|
+
const IS_EMPTY$1 = Symbol("IS_EMPTY");
|
|
399
|
+
const levelMapping$1 = [
|
|
400
|
+
"ansi",
|
|
401
|
+
"ansi",
|
|
402
|
+
"ansi256",
|
|
403
|
+
"ansi16m"
|
|
404
|
+
];
|
|
405
|
+
const styles$2 = Object.create(null);
|
|
406
|
+
const applyOptions$1 = (object, options = {}) => {
|
|
407
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
|
|
408
|
+
const colorLevel = stdoutColor$1 ? stdoutColor$1.level : 0;
|
|
409
|
+
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
410
|
+
};
|
|
411
|
+
const chalkFactory$1 = (options) => {
|
|
412
|
+
const chalk$2 = (...strings) => strings.join(" ");
|
|
413
|
+
applyOptions$1(chalk$2, options);
|
|
414
|
+
Object.setPrototypeOf(chalk$2, createChalk$1.prototype);
|
|
415
|
+
return chalk$2;
|
|
416
|
+
};
|
|
417
|
+
function createChalk$1(options) {
|
|
418
|
+
return chalkFactory$1(options);
|
|
419
|
+
}
|
|
420
|
+
Object.setPrototypeOf(createChalk$1.prototype, Function.prototype);
|
|
421
|
+
for (const [styleName, style] of Object.entries(ansi_styles_default$1)) styles$2[styleName] = { get() {
|
|
422
|
+
const builder = createBuilder$1(this, createStyler$1(style.open, style.close, this[STYLER$1]), this[IS_EMPTY$1]);
|
|
423
|
+
Object.defineProperty(this, styleName, { value: builder });
|
|
424
|
+
return builder;
|
|
425
|
+
} };
|
|
426
|
+
styles$2.visible = { get() {
|
|
427
|
+
const builder = createBuilder$1(this, this[STYLER$1], true);
|
|
428
|
+
Object.defineProperty(this, "visible", { value: builder });
|
|
429
|
+
return builder;
|
|
430
|
+
} };
|
|
431
|
+
const getModelAnsi$1 = (model, level, type, ...arguments_) => {
|
|
432
|
+
if (model === "rgb") {
|
|
433
|
+
if (level === "ansi16m") return ansi_styles_default$1[type].ansi16m(...arguments_);
|
|
434
|
+
if (level === "ansi256") return ansi_styles_default$1[type].ansi256(ansi_styles_default$1.rgbToAnsi256(...arguments_));
|
|
435
|
+
return ansi_styles_default$1[type].ansi(ansi_styles_default$1.rgbToAnsi(...arguments_));
|
|
436
|
+
}
|
|
437
|
+
if (model === "hex") return getModelAnsi$1("rgb", level, type, ...ansi_styles_default$1.hexToRgb(...arguments_));
|
|
438
|
+
return ansi_styles_default$1[type][model](...arguments_);
|
|
439
|
+
};
|
|
440
|
+
for (const model of [
|
|
441
|
+
"rgb",
|
|
442
|
+
"hex",
|
|
443
|
+
"ansi256"
|
|
444
|
+
]) {
|
|
445
|
+
styles$2[model] = { get() {
|
|
446
|
+
const { level } = this;
|
|
447
|
+
return function(...arguments_) {
|
|
448
|
+
const styler = createStyler$1(getModelAnsi$1(model, levelMapping$1[level], "color", ...arguments_), ansi_styles_default$1.color.close, this[STYLER$1]);
|
|
449
|
+
return createBuilder$1(this, styler, this[IS_EMPTY$1]);
|
|
450
|
+
};
|
|
451
|
+
} };
|
|
452
|
+
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
453
|
+
styles$2[bgModel] = { get() {
|
|
454
|
+
const { level } = this;
|
|
455
|
+
return function(...arguments_) {
|
|
456
|
+
const styler = createStyler$1(getModelAnsi$1(model, levelMapping$1[level], "bgColor", ...arguments_), ansi_styles_default$1.bgColor.close, this[STYLER$1]);
|
|
457
|
+
return createBuilder$1(this, styler, this[IS_EMPTY$1]);
|
|
458
|
+
};
|
|
459
|
+
} };
|
|
460
|
+
}
|
|
461
|
+
const proto$1 = Object.defineProperties(() => {}, {
|
|
462
|
+
...styles$2,
|
|
463
|
+
level: {
|
|
464
|
+
enumerable: true,
|
|
465
|
+
get() {
|
|
466
|
+
return this[GENERATOR$1].level;
|
|
467
|
+
},
|
|
468
|
+
set(level) {
|
|
469
|
+
this[GENERATOR$1].level = level;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
const createStyler$1 = (open, close, parent) => {
|
|
474
|
+
let openAll;
|
|
475
|
+
let closeAll;
|
|
476
|
+
if (parent === void 0) {
|
|
477
|
+
openAll = open;
|
|
478
|
+
closeAll = close;
|
|
479
|
+
} else {
|
|
480
|
+
openAll = parent.openAll + open;
|
|
481
|
+
closeAll = close + parent.closeAll;
|
|
482
|
+
}
|
|
483
|
+
return {
|
|
484
|
+
open,
|
|
485
|
+
close,
|
|
486
|
+
openAll,
|
|
487
|
+
closeAll,
|
|
488
|
+
parent
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
const createBuilder$1 = (self, _styler, _isEmpty) => {
|
|
492
|
+
const builder = (...arguments_) => applyStyle$1(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
493
|
+
Object.setPrototypeOf(builder, proto$1);
|
|
494
|
+
builder[GENERATOR$1] = self;
|
|
495
|
+
builder[STYLER$1] = _styler;
|
|
496
|
+
builder[IS_EMPTY$1] = _isEmpty;
|
|
497
|
+
return builder;
|
|
498
|
+
};
|
|
499
|
+
const applyStyle$1 = (self, string) => {
|
|
500
|
+
if (self.level <= 0 || !string) return self[IS_EMPTY$1] ? "" : string;
|
|
501
|
+
let styler = self[STYLER$1];
|
|
502
|
+
if (styler === void 0) return string;
|
|
503
|
+
const { openAll, closeAll } = styler;
|
|
504
|
+
if (string.includes("\x1B")) while (styler !== void 0) {
|
|
505
|
+
string = stringReplaceAll$1(string, styler.close, styler.open);
|
|
506
|
+
styler = styler.parent;
|
|
507
|
+
}
|
|
508
|
+
const lfIndex = string.indexOf("\n");
|
|
509
|
+
if (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex$1(string, closeAll, openAll, lfIndex);
|
|
510
|
+
return openAll + string + closeAll;
|
|
511
|
+
};
|
|
512
|
+
Object.defineProperties(createChalk$1.prototype, styles$2);
|
|
513
|
+
const chalk$1 = createChalk$1();
|
|
514
|
+
const chalkStderr$1 = createChalk$1({ level: stderrColor$1 ? stderrColor$1.level : 0 });
|
|
515
|
+
var source_default = chalk$1;
|
|
516
|
+
|
|
517
|
+
//#endregion
|
|
518
|
+
//#region ../../node_modules/mimic-function/index.js
|
|
519
|
+
const copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
520
|
+
if (property === "length" || property === "prototype") return;
|
|
521
|
+
if (property === "arguments" || property === "caller") return;
|
|
522
|
+
const toDescriptor = Object.getOwnPropertyDescriptor(to, property);
|
|
523
|
+
const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);
|
|
524
|
+
if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;
|
|
525
|
+
Object.defineProperty(to, property, fromDescriptor);
|
|
526
|
+
};
|
|
527
|
+
const canCopyProperty = function(toDescriptor, fromDescriptor) {
|
|
528
|
+
return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
|
|
529
|
+
};
|
|
530
|
+
const changePrototype = (to, from) => {
|
|
531
|
+
const fromPrototype = Object.getPrototypeOf(from);
|
|
532
|
+
if (fromPrototype === Object.getPrototypeOf(to)) return;
|
|
533
|
+
Object.setPrototypeOf(to, fromPrototype);
|
|
534
|
+
};
|
|
535
|
+
const wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\n${fromBody}`;
|
|
536
|
+
const toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
|
|
537
|
+
const toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
|
|
538
|
+
const changeToString = (to, from, name) => {
|
|
539
|
+
const withName = name === "" ? "" : `with ${name.trim()}() `;
|
|
540
|
+
const newToString = wrappedToString.bind(null, withName, from.toString());
|
|
541
|
+
Object.defineProperty(newToString, "name", toStringName);
|
|
542
|
+
const { writable, enumerable, configurable } = toStringDescriptor;
|
|
543
|
+
Object.defineProperty(to, "toString", {
|
|
544
|
+
value: newToString,
|
|
545
|
+
writable,
|
|
546
|
+
enumerable,
|
|
547
|
+
configurable
|
|
548
|
+
});
|
|
549
|
+
};
|
|
550
|
+
function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
|
|
551
|
+
const { name } = to;
|
|
552
|
+
for (const property of Reflect.ownKeys(from)) copyProperty(to, from, property, ignoreNonConfigurable);
|
|
553
|
+
changePrototype(to, from);
|
|
554
|
+
changeToString(to, from, name);
|
|
555
|
+
return to;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
//#endregion
|
|
559
|
+
//#region ../../node_modules/restore-cursor/node_modules/onetime/index.js
|
|
560
|
+
const calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
561
|
+
const onetime = (function_, options = {}) => {
|
|
562
|
+
if (typeof function_ !== "function") throw new TypeError("Expected a function");
|
|
563
|
+
let returnValue;
|
|
564
|
+
let callCount = 0;
|
|
565
|
+
const functionName = function_.displayName || function_.name || "<anonymous>";
|
|
566
|
+
const onetime$1 = function(...arguments_) {
|
|
567
|
+
calledFunctions.set(onetime$1, ++callCount);
|
|
568
|
+
if (callCount === 1) {
|
|
569
|
+
returnValue = function_.apply(this, arguments_);
|
|
570
|
+
function_ = void 0;
|
|
571
|
+
} else if (options.throw === true) throw new Error(`Function \`${functionName}\` can only be called once`);
|
|
572
|
+
return returnValue;
|
|
573
|
+
};
|
|
574
|
+
mimicFunction(onetime$1, function_);
|
|
575
|
+
calledFunctions.set(onetime$1, callCount);
|
|
576
|
+
return onetime$1;
|
|
577
|
+
};
|
|
578
|
+
onetime.callCount = (function_) => {
|
|
579
|
+
if (!calledFunctions.has(function_)) throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
|
|
580
|
+
return calledFunctions.get(function_);
|
|
581
|
+
};
|
|
582
|
+
var onetime_default = onetime;
|
|
583
|
+
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region ../../node_modules/signal-exit/dist/mjs/signals.js
|
|
586
|
+
/**
|
|
587
|
+
* This is not the set of all possible signals.
|
|
588
|
+
*
|
|
589
|
+
* It IS, however, the set of all signals that trigger
|
|
590
|
+
* an exit on either Linux or BSD systems. Linux is a
|
|
591
|
+
* superset of the signal names supported on BSD, and
|
|
592
|
+
* the unknown signals just fail to register, so we can
|
|
593
|
+
* catch that easily enough.
|
|
594
|
+
*
|
|
595
|
+
* Windows signals are a different set, since there are
|
|
596
|
+
* signals that terminate Windows processes, but don't
|
|
597
|
+
* terminate (or don't even exist) on Posix systems.
|
|
598
|
+
*
|
|
599
|
+
* Don't bother with SIGKILL. It's uncatchable, which
|
|
600
|
+
* means that we can't fire any callbacks anyway.
|
|
601
|
+
*
|
|
602
|
+
* If a user does happen to register a handler on a non-
|
|
603
|
+
* fatal signal like SIGWINCH or something, and then
|
|
604
|
+
* exit, it'll end up firing `process.emit('exit')`, so
|
|
605
|
+
* the handler will be fired anyway.
|
|
606
|
+
*
|
|
607
|
+
* SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised
|
|
608
|
+
* artificially, inherently leave the process in a
|
|
609
|
+
* state from which it is not safe to try and enter JS
|
|
610
|
+
* listeners.
|
|
611
|
+
*/
|
|
612
|
+
const signals = [];
|
|
613
|
+
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
614
|
+
if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
615
|
+
if (process.platform === "linux") signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
616
|
+
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region ../../node_modules/signal-exit/dist/mjs/index.js
|
|
619
|
+
const processOk = (process$3) => !!process$3 && typeof process$3 === "object" && typeof process$3.removeListener === "function" && typeof process$3.emit === "function" && typeof process$3.reallyExit === "function" && typeof process$3.listeners === "function" && typeof process$3.kill === "function" && typeof process$3.pid === "number" && typeof process$3.on === "function";
|
|
620
|
+
const kExitEmitter = Symbol.for("signal-exit emitter");
|
|
621
|
+
const global = globalThis;
|
|
622
|
+
const ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
623
|
+
var Emitter = class {
|
|
624
|
+
emitted = {
|
|
625
|
+
afterExit: false,
|
|
626
|
+
exit: false
|
|
627
|
+
};
|
|
628
|
+
listeners = {
|
|
629
|
+
afterExit: [],
|
|
630
|
+
exit: []
|
|
631
|
+
};
|
|
632
|
+
count = 0;
|
|
633
|
+
id = Math.random();
|
|
634
|
+
constructor() {
|
|
635
|
+
if (global[kExitEmitter]) return global[kExitEmitter];
|
|
636
|
+
ObjectDefineProperty(global, kExitEmitter, {
|
|
637
|
+
value: this,
|
|
638
|
+
writable: false,
|
|
639
|
+
enumerable: false,
|
|
640
|
+
configurable: false
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
on(ev, fn) {
|
|
644
|
+
this.listeners[ev].push(fn);
|
|
645
|
+
}
|
|
646
|
+
removeListener(ev, fn) {
|
|
647
|
+
const list = this.listeners[ev];
|
|
648
|
+
const i = list.indexOf(fn);
|
|
649
|
+
/* c8 ignore start */
|
|
650
|
+
if (i === -1) return;
|
|
651
|
+
/* c8 ignore stop */
|
|
652
|
+
if (i === 0 && list.length === 1) list.length = 0;
|
|
653
|
+
else list.splice(i, 1);
|
|
654
|
+
}
|
|
655
|
+
emit(ev, code, signal) {
|
|
656
|
+
if (this.emitted[ev]) return false;
|
|
657
|
+
this.emitted[ev] = true;
|
|
658
|
+
let ret = false;
|
|
659
|
+
for (const fn of this.listeners[ev]) ret = fn(code, signal) === true || ret;
|
|
660
|
+
if (ev === "exit") ret = this.emit("afterExit", code, signal) || ret;
|
|
661
|
+
return ret;
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
var SignalExitBase = class {};
|
|
665
|
+
const signalExitWrap = (handler) => {
|
|
666
|
+
return {
|
|
667
|
+
onExit(cb, opts) {
|
|
668
|
+
return handler.onExit(cb, opts);
|
|
669
|
+
},
|
|
670
|
+
load() {
|
|
671
|
+
return handler.load();
|
|
672
|
+
},
|
|
673
|
+
unload() {
|
|
674
|
+
return handler.unload();
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
var SignalExitFallback = class extends SignalExitBase {
|
|
679
|
+
onExit() {
|
|
680
|
+
return () => {};
|
|
681
|
+
}
|
|
682
|
+
load() {}
|
|
683
|
+
unload() {}
|
|
684
|
+
};
|
|
685
|
+
var SignalExit = class extends SignalExitBase {
|
|
686
|
+
/* c8 ignore start */
|
|
687
|
+
#hupSig = process$2.platform === "win32" ? "SIGINT" : "SIGHUP";
|
|
688
|
+
/* c8 ignore stop */
|
|
689
|
+
#emitter = new Emitter();
|
|
690
|
+
#process;
|
|
691
|
+
#originalProcessEmit;
|
|
692
|
+
#originalProcessReallyExit;
|
|
693
|
+
#sigListeners = {};
|
|
694
|
+
#loaded = false;
|
|
695
|
+
constructor(process$3) {
|
|
696
|
+
super();
|
|
697
|
+
this.#process = process$3;
|
|
698
|
+
this.#sigListeners = {};
|
|
699
|
+
for (const sig of signals) this.#sigListeners[sig] = () => {
|
|
700
|
+
const listeners = this.#process.listeners(sig);
|
|
701
|
+
let { count } = this.#emitter;
|
|
702
|
+
/* c8 ignore start */
|
|
703
|
+
const p = process$3;
|
|
704
|
+
if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") count += p.__signal_exit_emitter__.count;
|
|
705
|
+
/* c8 ignore stop */
|
|
706
|
+
if (listeners.length === count) {
|
|
707
|
+
this.unload();
|
|
708
|
+
const ret = this.#emitter.emit("exit", null, sig);
|
|
709
|
+
/* c8 ignore start */
|
|
710
|
+
const s = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
711
|
+
if (!ret) process$3.kill(process$3.pid, s);
|
|
712
|
+
}
|
|
713
|
+
};
|
|
714
|
+
this.#originalProcessReallyExit = process$3.reallyExit;
|
|
715
|
+
this.#originalProcessEmit = process$3.emit;
|
|
716
|
+
}
|
|
717
|
+
onExit(cb, opts) {
|
|
718
|
+
/* c8 ignore start */
|
|
719
|
+
if (!processOk(this.#process)) return () => {};
|
|
720
|
+
/* c8 ignore stop */
|
|
721
|
+
if (this.#loaded === false) this.load();
|
|
722
|
+
const ev = opts?.alwaysLast ? "afterExit" : "exit";
|
|
723
|
+
this.#emitter.on(ev, cb);
|
|
724
|
+
return () => {
|
|
725
|
+
this.#emitter.removeListener(ev, cb);
|
|
726
|
+
if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) this.unload();
|
|
727
|
+
};
|
|
728
|
+
}
|
|
729
|
+
load() {
|
|
730
|
+
if (this.#loaded) return;
|
|
731
|
+
this.#loaded = true;
|
|
732
|
+
this.#emitter.count += 1;
|
|
733
|
+
for (const sig of signals) try {
|
|
734
|
+
const fn = this.#sigListeners[sig];
|
|
735
|
+
if (fn) this.#process.on(sig, fn);
|
|
736
|
+
} catch (_) {}
|
|
737
|
+
this.#process.emit = (ev, ...a) => {
|
|
738
|
+
return this.#processEmit(ev, ...a);
|
|
739
|
+
};
|
|
740
|
+
this.#process.reallyExit = (code) => {
|
|
741
|
+
return this.#processReallyExit(code);
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
unload() {
|
|
745
|
+
if (!this.#loaded) return;
|
|
746
|
+
this.#loaded = false;
|
|
747
|
+
signals.forEach((sig) => {
|
|
748
|
+
const listener = this.#sigListeners[sig];
|
|
749
|
+
/* c8 ignore start */
|
|
750
|
+
if (!listener) throw new Error("Listener not defined for signal: " + sig);
|
|
751
|
+
/* c8 ignore stop */
|
|
752
|
+
try {
|
|
753
|
+
this.#process.removeListener(sig, listener);
|
|
754
|
+
} catch (_) {}
|
|
755
|
+
/* c8 ignore stop */
|
|
756
|
+
});
|
|
757
|
+
this.#process.emit = this.#originalProcessEmit;
|
|
758
|
+
this.#process.reallyExit = this.#originalProcessReallyExit;
|
|
759
|
+
this.#emitter.count -= 1;
|
|
760
|
+
}
|
|
761
|
+
#processReallyExit(code) {
|
|
762
|
+
/* c8 ignore start */
|
|
763
|
+
if (!processOk(this.#process)) return 0;
|
|
764
|
+
this.#process.exitCode = code || 0;
|
|
765
|
+
/* c8 ignore stop */
|
|
766
|
+
this.#emitter.emit("exit", this.#process.exitCode, null);
|
|
767
|
+
return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
|
|
768
|
+
}
|
|
769
|
+
#processEmit(ev, ...args) {
|
|
770
|
+
const og = this.#originalProcessEmit;
|
|
771
|
+
if (ev === "exit" && processOk(this.#process)) {
|
|
772
|
+
if (typeof args[0] === "number") this.#process.exitCode = args[0];
|
|
773
|
+
/* c8 ignore start */
|
|
774
|
+
const ret = og.call(this.#process, ev, ...args);
|
|
775
|
+
/* c8 ignore start */
|
|
776
|
+
this.#emitter.emit("exit", this.#process.exitCode, null);
|
|
777
|
+
/* c8 ignore stop */
|
|
778
|
+
return ret;
|
|
779
|
+
} else return og.call(this.#process, ev, ...args);
|
|
780
|
+
}
|
|
781
|
+
};
|
|
782
|
+
const process$2 = globalThis.process;
|
|
783
|
+
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
784
|
+
|
|
785
|
+
//#endregion
|
|
786
|
+
//#region ../../node_modules/restore-cursor/index.js
|
|
787
|
+
const terminal = process$1.stderr.isTTY ? process$1.stderr : process$1.stdout.isTTY ? process$1.stdout : void 0;
|
|
788
|
+
const restoreCursor = terminal ? onetime_default(() => {
|
|
789
|
+
onExit(() => {
|
|
790
|
+
terminal.write("\x1B[?25h");
|
|
791
|
+
}, { alwaysLast: true });
|
|
792
|
+
}) : () => {};
|
|
793
|
+
var restore_cursor_default = restoreCursor;
|
|
794
|
+
|
|
795
|
+
//#endregion
|
|
796
|
+
//#region ../../node_modules/cli-cursor/index.js
|
|
797
|
+
let isHidden = false;
|
|
798
|
+
const cliCursor = {};
|
|
799
|
+
cliCursor.show = (writableStream = process$1.stderr) => {
|
|
800
|
+
if (!writableStream.isTTY) return;
|
|
801
|
+
isHidden = false;
|
|
802
|
+
writableStream.write("\x1B[?25h");
|
|
803
|
+
};
|
|
804
|
+
cliCursor.hide = (writableStream = process$1.stderr) => {
|
|
805
|
+
if (!writableStream.isTTY) return;
|
|
806
|
+
restore_cursor_default();
|
|
807
|
+
isHidden = true;
|
|
808
|
+
writableStream.write("\x1B[?25l");
|
|
809
|
+
};
|
|
810
|
+
cliCursor.toggle = (force, writableStream) => {
|
|
811
|
+
if (force !== void 0) isHidden = force;
|
|
812
|
+
if (isHidden) cliCursor.show(writableStream);
|
|
813
|
+
else cliCursor.hide(writableStream);
|
|
814
|
+
};
|
|
815
|
+
var cli_cursor_default = cliCursor;
|
|
816
|
+
|
|
817
|
+
//#endregion
|
|
818
|
+
//#region ../../node_modules/cli-spinners/spinners.json
|
|
819
|
+
var require_spinners = /* @__PURE__ */ __commonJS({ "../../node_modules/cli-spinners/spinners.json": ((exports, module) => {
|
|
820
|
+
module.exports = {
|
|
821
|
+
"dots": {
|
|
822
|
+
"interval": 80,
|
|
823
|
+
"frames": [
|
|
824
|
+
"⠋",
|
|
825
|
+
"⠙",
|
|
826
|
+
"⠹",
|
|
827
|
+
"⠸",
|
|
828
|
+
"⠼",
|
|
829
|
+
"⠴",
|
|
830
|
+
"⠦",
|
|
831
|
+
"⠧",
|
|
832
|
+
"⠇",
|
|
833
|
+
"⠏"
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
"dots2": {
|
|
837
|
+
"interval": 80,
|
|
838
|
+
"frames": [
|
|
839
|
+
"⣾",
|
|
840
|
+
"⣽",
|
|
841
|
+
"⣻",
|
|
842
|
+
"⢿",
|
|
843
|
+
"⡿",
|
|
844
|
+
"⣟",
|
|
845
|
+
"⣯",
|
|
846
|
+
"⣷"
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
"dots3": {
|
|
850
|
+
"interval": 80,
|
|
851
|
+
"frames": [
|
|
852
|
+
"⠋",
|
|
853
|
+
"⠙",
|
|
854
|
+
"⠚",
|
|
855
|
+
"⠞",
|
|
856
|
+
"⠖",
|
|
857
|
+
"⠦",
|
|
858
|
+
"⠴",
|
|
859
|
+
"⠲",
|
|
860
|
+
"⠳",
|
|
861
|
+
"⠓"
|
|
862
|
+
]
|
|
863
|
+
},
|
|
864
|
+
"dots4": {
|
|
865
|
+
"interval": 80,
|
|
866
|
+
"frames": [
|
|
867
|
+
"⠄",
|
|
868
|
+
"⠆",
|
|
869
|
+
"⠇",
|
|
870
|
+
"⠋",
|
|
871
|
+
"⠙",
|
|
872
|
+
"⠸",
|
|
873
|
+
"⠰",
|
|
874
|
+
"⠠",
|
|
875
|
+
"⠰",
|
|
876
|
+
"⠸",
|
|
877
|
+
"⠙",
|
|
878
|
+
"⠋",
|
|
879
|
+
"⠇",
|
|
880
|
+
"⠆"
|
|
881
|
+
]
|
|
882
|
+
},
|
|
883
|
+
"dots5": {
|
|
884
|
+
"interval": 80,
|
|
885
|
+
"frames": [
|
|
886
|
+
"⠋",
|
|
887
|
+
"⠙",
|
|
888
|
+
"⠚",
|
|
889
|
+
"⠒",
|
|
890
|
+
"⠂",
|
|
891
|
+
"⠂",
|
|
892
|
+
"⠒",
|
|
893
|
+
"⠲",
|
|
894
|
+
"⠴",
|
|
895
|
+
"⠦",
|
|
896
|
+
"⠖",
|
|
897
|
+
"⠒",
|
|
898
|
+
"⠐",
|
|
899
|
+
"⠐",
|
|
900
|
+
"⠒",
|
|
901
|
+
"⠓",
|
|
902
|
+
"⠋"
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
"dots6": {
|
|
906
|
+
"interval": 80,
|
|
907
|
+
"frames": [
|
|
908
|
+
"⠁",
|
|
909
|
+
"⠉",
|
|
910
|
+
"⠙",
|
|
911
|
+
"⠚",
|
|
912
|
+
"⠒",
|
|
913
|
+
"⠂",
|
|
914
|
+
"⠂",
|
|
915
|
+
"⠒",
|
|
916
|
+
"⠲",
|
|
917
|
+
"⠴",
|
|
918
|
+
"⠤",
|
|
919
|
+
"⠄",
|
|
920
|
+
"⠄",
|
|
921
|
+
"⠤",
|
|
922
|
+
"⠴",
|
|
923
|
+
"⠲",
|
|
924
|
+
"⠒",
|
|
925
|
+
"⠂",
|
|
926
|
+
"⠂",
|
|
927
|
+
"⠒",
|
|
928
|
+
"⠚",
|
|
929
|
+
"⠙",
|
|
930
|
+
"⠉",
|
|
931
|
+
"⠁"
|
|
932
|
+
]
|
|
933
|
+
},
|
|
934
|
+
"dots7": {
|
|
935
|
+
"interval": 80,
|
|
936
|
+
"frames": [
|
|
937
|
+
"⠈",
|
|
938
|
+
"⠉",
|
|
939
|
+
"⠋",
|
|
940
|
+
"⠓",
|
|
941
|
+
"⠒",
|
|
942
|
+
"⠐",
|
|
943
|
+
"⠐",
|
|
944
|
+
"⠒",
|
|
945
|
+
"⠖",
|
|
946
|
+
"⠦",
|
|
947
|
+
"⠤",
|
|
948
|
+
"⠠",
|
|
949
|
+
"⠠",
|
|
950
|
+
"⠤",
|
|
951
|
+
"⠦",
|
|
952
|
+
"⠖",
|
|
953
|
+
"⠒",
|
|
954
|
+
"⠐",
|
|
955
|
+
"⠐",
|
|
956
|
+
"⠒",
|
|
957
|
+
"⠓",
|
|
958
|
+
"⠋",
|
|
959
|
+
"⠉",
|
|
960
|
+
"⠈"
|
|
961
|
+
]
|
|
962
|
+
},
|
|
963
|
+
"dots8": {
|
|
964
|
+
"interval": 80,
|
|
965
|
+
"frames": [
|
|
966
|
+
"⠁",
|
|
967
|
+
"⠁",
|
|
968
|
+
"⠉",
|
|
969
|
+
"⠙",
|
|
970
|
+
"⠚",
|
|
971
|
+
"⠒",
|
|
972
|
+
"⠂",
|
|
973
|
+
"⠂",
|
|
974
|
+
"⠒",
|
|
975
|
+
"⠲",
|
|
976
|
+
"⠴",
|
|
977
|
+
"⠤",
|
|
978
|
+
"⠄",
|
|
979
|
+
"⠄",
|
|
980
|
+
"⠤",
|
|
981
|
+
"⠠",
|
|
982
|
+
"⠠",
|
|
983
|
+
"⠤",
|
|
984
|
+
"⠦",
|
|
985
|
+
"⠖",
|
|
986
|
+
"⠒",
|
|
987
|
+
"⠐",
|
|
988
|
+
"⠐",
|
|
989
|
+
"⠒",
|
|
990
|
+
"⠓",
|
|
991
|
+
"⠋",
|
|
992
|
+
"⠉",
|
|
993
|
+
"⠈",
|
|
994
|
+
"⠈"
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
"dots9": {
|
|
998
|
+
"interval": 80,
|
|
999
|
+
"frames": [
|
|
1000
|
+
"⢹",
|
|
1001
|
+
"⢺",
|
|
1002
|
+
"⢼",
|
|
1003
|
+
"⣸",
|
|
1004
|
+
"⣇",
|
|
1005
|
+
"⡧",
|
|
1006
|
+
"⡗",
|
|
1007
|
+
"⡏"
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
"dots10": {
|
|
1011
|
+
"interval": 80,
|
|
1012
|
+
"frames": [
|
|
1013
|
+
"⢄",
|
|
1014
|
+
"⢂",
|
|
1015
|
+
"⢁",
|
|
1016
|
+
"⡁",
|
|
1017
|
+
"⡈",
|
|
1018
|
+
"⡐",
|
|
1019
|
+
"⡠"
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
1022
|
+
"dots11": {
|
|
1023
|
+
"interval": 100,
|
|
1024
|
+
"frames": [
|
|
1025
|
+
"⠁",
|
|
1026
|
+
"⠂",
|
|
1027
|
+
"⠄",
|
|
1028
|
+
"⡀",
|
|
1029
|
+
"⢀",
|
|
1030
|
+
"⠠",
|
|
1031
|
+
"⠐",
|
|
1032
|
+
"⠈"
|
|
1033
|
+
]
|
|
1034
|
+
},
|
|
1035
|
+
"dots12": {
|
|
1036
|
+
"interval": 80,
|
|
1037
|
+
"frames": [
|
|
1038
|
+
"⢀⠀",
|
|
1039
|
+
"⡀⠀",
|
|
1040
|
+
"⠄⠀",
|
|
1041
|
+
"⢂⠀",
|
|
1042
|
+
"⡂⠀",
|
|
1043
|
+
"⠅⠀",
|
|
1044
|
+
"⢃⠀",
|
|
1045
|
+
"⡃⠀",
|
|
1046
|
+
"⠍⠀",
|
|
1047
|
+
"⢋⠀",
|
|
1048
|
+
"⡋⠀",
|
|
1049
|
+
"⠍⠁",
|
|
1050
|
+
"⢋⠁",
|
|
1051
|
+
"⡋⠁",
|
|
1052
|
+
"⠍⠉",
|
|
1053
|
+
"⠋⠉",
|
|
1054
|
+
"⠋⠉",
|
|
1055
|
+
"⠉⠙",
|
|
1056
|
+
"⠉⠙",
|
|
1057
|
+
"⠉⠩",
|
|
1058
|
+
"⠈⢙",
|
|
1059
|
+
"⠈⡙",
|
|
1060
|
+
"⢈⠩",
|
|
1061
|
+
"⡀⢙",
|
|
1062
|
+
"⠄⡙",
|
|
1063
|
+
"⢂⠩",
|
|
1064
|
+
"⡂⢘",
|
|
1065
|
+
"⠅⡘",
|
|
1066
|
+
"⢃⠨",
|
|
1067
|
+
"⡃⢐",
|
|
1068
|
+
"⠍⡐",
|
|
1069
|
+
"⢋⠠",
|
|
1070
|
+
"⡋⢀",
|
|
1071
|
+
"⠍⡁",
|
|
1072
|
+
"⢋⠁",
|
|
1073
|
+
"⡋⠁",
|
|
1074
|
+
"⠍⠉",
|
|
1075
|
+
"⠋⠉",
|
|
1076
|
+
"⠋⠉",
|
|
1077
|
+
"⠉⠙",
|
|
1078
|
+
"⠉⠙",
|
|
1079
|
+
"⠉⠩",
|
|
1080
|
+
"⠈⢙",
|
|
1081
|
+
"⠈⡙",
|
|
1082
|
+
"⠈⠩",
|
|
1083
|
+
"⠀⢙",
|
|
1084
|
+
"⠀⡙",
|
|
1085
|
+
"⠀⠩",
|
|
1086
|
+
"⠀⢘",
|
|
1087
|
+
"⠀⡘",
|
|
1088
|
+
"⠀⠨",
|
|
1089
|
+
"⠀⢐",
|
|
1090
|
+
"⠀⡐",
|
|
1091
|
+
"⠀⠠",
|
|
1092
|
+
"⠀⢀",
|
|
1093
|
+
"⠀⡀"
|
|
1094
|
+
]
|
|
1095
|
+
},
|
|
1096
|
+
"dots13": {
|
|
1097
|
+
"interval": 80,
|
|
1098
|
+
"frames": [
|
|
1099
|
+
"⣼",
|
|
1100
|
+
"⣹",
|
|
1101
|
+
"⢻",
|
|
1102
|
+
"⠿",
|
|
1103
|
+
"⡟",
|
|
1104
|
+
"⣏",
|
|
1105
|
+
"⣧",
|
|
1106
|
+
"⣶"
|
|
1107
|
+
]
|
|
1108
|
+
},
|
|
1109
|
+
"dots8Bit": {
|
|
1110
|
+
"interval": 80,
|
|
1111
|
+
"frames": [
|
|
1112
|
+
"⠀",
|
|
1113
|
+
"⠁",
|
|
1114
|
+
"⠂",
|
|
1115
|
+
"⠃",
|
|
1116
|
+
"⠄",
|
|
1117
|
+
"⠅",
|
|
1118
|
+
"⠆",
|
|
1119
|
+
"⠇",
|
|
1120
|
+
"⡀",
|
|
1121
|
+
"⡁",
|
|
1122
|
+
"⡂",
|
|
1123
|
+
"⡃",
|
|
1124
|
+
"⡄",
|
|
1125
|
+
"⡅",
|
|
1126
|
+
"⡆",
|
|
1127
|
+
"⡇",
|
|
1128
|
+
"⠈",
|
|
1129
|
+
"⠉",
|
|
1130
|
+
"⠊",
|
|
1131
|
+
"⠋",
|
|
1132
|
+
"⠌",
|
|
1133
|
+
"⠍",
|
|
1134
|
+
"⠎",
|
|
1135
|
+
"⠏",
|
|
1136
|
+
"⡈",
|
|
1137
|
+
"⡉",
|
|
1138
|
+
"⡊",
|
|
1139
|
+
"⡋",
|
|
1140
|
+
"⡌",
|
|
1141
|
+
"⡍",
|
|
1142
|
+
"⡎",
|
|
1143
|
+
"⡏",
|
|
1144
|
+
"⠐",
|
|
1145
|
+
"⠑",
|
|
1146
|
+
"⠒",
|
|
1147
|
+
"⠓",
|
|
1148
|
+
"⠔",
|
|
1149
|
+
"⠕",
|
|
1150
|
+
"⠖",
|
|
1151
|
+
"⠗",
|
|
1152
|
+
"⡐",
|
|
1153
|
+
"⡑",
|
|
1154
|
+
"⡒",
|
|
1155
|
+
"⡓",
|
|
1156
|
+
"⡔",
|
|
1157
|
+
"⡕",
|
|
1158
|
+
"⡖",
|
|
1159
|
+
"⡗",
|
|
1160
|
+
"⠘",
|
|
1161
|
+
"⠙",
|
|
1162
|
+
"⠚",
|
|
1163
|
+
"⠛",
|
|
1164
|
+
"⠜",
|
|
1165
|
+
"⠝",
|
|
1166
|
+
"⠞",
|
|
1167
|
+
"⠟",
|
|
1168
|
+
"⡘",
|
|
1169
|
+
"⡙",
|
|
1170
|
+
"⡚",
|
|
1171
|
+
"⡛",
|
|
1172
|
+
"⡜",
|
|
1173
|
+
"⡝",
|
|
1174
|
+
"⡞",
|
|
1175
|
+
"⡟",
|
|
1176
|
+
"⠠",
|
|
1177
|
+
"⠡",
|
|
1178
|
+
"⠢",
|
|
1179
|
+
"⠣",
|
|
1180
|
+
"⠤",
|
|
1181
|
+
"⠥",
|
|
1182
|
+
"⠦",
|
|
1183
|
+
"⠧",
|
|
1184
|
+
"⡠",
|
|
1185
|
+
"⡡",
|
|
1186
|
+
"⡢",
|
|
1187
|
+
"⡣",
|
|
1188
|
+
"⡤",
|
|
1189
|
+
"⡥",
|
|
1190
|
+
"⡦",
|
|
1191
|
+
"⡧",
|
|
1192
|
+
"⠨",
|
|
1193
|
+
"⠩",
|
|
1194
|
+
"⠪",
|
|
1195
|
+
"⠫",
|
|
1196
|
+
"⠬",
|
|
1197
|
+
"⠭",
|
|
1198
|
+
"⠮",
|
|
1199
|
+
"⠯",
|
|
1200
|
+
"⡨",
|
|
1201
|
+
"⡩",
|
|
1202
|
+
"⡪",
|
|
1203
|
+
"⡫",
|
|
1204
|
+
"⡬",
|
|
1205
|
+
"⡭",
|
|
1206
|
+
"⡮",
|
|
1207
|
+
"⡯",
|
|
1208
|
+
"⠰",
|
|
1209
|
+
"⠱",
|
|
1210
|
+
"⠲",
|
|
1211
|
+
"⠳",
|
|
1212
|
+
"⠴",
|
|
1213
|
+
"⠵",
|
|
1214
|
+
"⠶",
|
|
1215
|
+
"⠷",
|
|
1216
|
+
"⡰",
|
|
1217
|
+
"⡱",
|
|
1218
|
+
"⡲",
|
|
1219
|
+
"⡳",
|
|
1220
|
+
"⡴",
|
|
1221
|
+
"⡵",
|
|
1222
|
+
"⡶",
|
|
1223
|
+
"⡷",
|
|
1224
|
+
"⠸",
|
|
1225
|
+
"⠹",
|
|
1226
|
+
"⠺",
|
|
1227
|
+
"⠻",
|
|
1228
|
+
"⠼",
|
|
1229
|
+
"⠽",
|
|
1230
|
+
"⠾",
|
|
1231
|
+
"⠿",
|
|
1232
|
+
"⡸",
|
|
1233
|
+
"⡹",
|
|
1234
|
+
"⡺",
|
|
1235
|
+
"⡻",
|
|
1236
|
+
"⡼",
|
|
1237
|
+
"⡽",
|
|
1238
|
+
"⡾",
|
|
1239
|
+
"⡿",
|
|
1240
|
+
"⢀",
|
|
1241
|
+
"⢁",
|
|
1242
|
+
"⢂",
|
|
1243
|
+
"⢃",
|
|
1244
|
+
"⢄",
|
|
1245
|
+
"⢅",
|
|
1246
|
+
"⢆",
|
|
1247
|
+
"⢇",
|
|
1248
|
+
"⣀",
|
|
1249
|
+
"⣁",
|
|
1250
|
+
"⣂",
|
|
1251
|
+
"⣃",
|
|
1252
|
+
"⣄",
|
|
1253
|
+
"⣅",
|
|
1254
|
+
"⣆",
|
|
1255
|
+
"⣇",
|
|
1256
|
+
"⢈",
|
|
1257
|
+
"⢉",
|
|
1258
|
+
"⢊",
|
|
1259
|
+
"⢋",
|
|
1260
|
+
"⢌",
|
|
1261
|
+
"⢍",
|
|
1262
|
+
"⢎",
|
|
1263
|
+
"⢏",
|
|
1264
|
+
"⣈",
|
|
1265
|
+
"⣉",
|
|
1266
|
+
"⣊",
|
|
1267
|
+
"⣋",
|
|
1268
|
+
"⣌",
|
|
1269
|
+
"⣍",
|
|
1270
|
+
"⣎",
|
|
1271
|
+
"⣏",
|
|
1272
|
+
"⢐",
|
|
1273
|
+
"⢑",
|
|
1274
|
+
"⢒",
|
|
1275
|
+
"⢓",
|
|
1276
|
+
"⢔",
|
|
1277
|
+
"⢕",
|
|
1278
|
+
"⢖",
|
|
1279
|
+
"⢗",
|
|
1280
|
+
"⣐",
|
|
1281
|
+
"⣑",
|
|
1282
|
+
"⣒",
|
|
1283
|
+
"⣓",
|
|
1284
|
+
"⣔",
|
|
1285
|
+
"⣕",
|
|
1286
|
+
"⣖",
|
|
1287
|
+
"⣗",
|
|
1288
|
+
"⢘",
|
|
1289
|
+
"⢙",
|
|
1290
|
+
"⢚",
|
|
1291
|
+
"⢛",
|
|
1292
|
+
"⢜",
|
|
1293
|
+
"⢝",
|
|
1294
|
+
"⢞",
|
|
1295
|
+
"⢟",
|
|
1296
|
+
"⣘",
|
|
1297
|
+
"⣙",
|
|
1298
|
+
"⣚",
|
|
1299
|
+
"⣛",
|
|
1300
|
+
"⣜",
|
|
1301
|
+
"⣝",
|
|
1302
|
+
"⣞",
|
|
1303
|
+
"⣟",
|
|
1304
|
+
"⢠",
|
|
1305
|
+
"⢡",
|
|
1306
|
+
"⢢",
|
|
1307
|
+
"⢣",
|
|
1308
|
+
"⢤",
|
|
1309
|
+
"⢥",
|
|
1310
|
+
"⢦",
|
|
1311
|
+
"⢧",
|
|
1312
|
+
"⣠",
|
|
1313
|
+
"⣡",
|
|
1314
|
+
"⣢",
|
|
1315
|
+
"⣣",
|
|
1316
|
+
"⣤",
|
|
1317
|
+
"⣥",
|
|
1318
|
+
"⣦",
|
|
1319
|
+
"⣧",
|
|
1320
|
+
"⢨",
|
|
1321
|
+
"⢩",
|
|
1322
|
+
"⢪",
|
|
1323
|
+
"⢫",
|
|
1324
|
+
"⢬",
|
|
1325
|
+
"⢭",
|
|
1326
|
+
"⢮",
|
|
1327
|
+
"⢯",
|
|
1328
|
+
"⣨",
|
|
1329
|
+
"⣩",
|
|
1330
|
+
"⣪",
|
|
1331
|
+
"⣫",
|
|
1332
|
+
"⣬",
|
|
1333
|
+
"⣭",
|
|
1334
|
+
"⣮",
|
|
1335
|
+
"⣯",
|
|
1336
|
+
"⢰",
|
|
1337
|
+
"⢱",
|
|
1338
|
+
"⢲",
|
|
1339
|
+
"⢳",
|
|
1340
|
+
"⢴",
|
|
1341
|
+
"⢵",
|
|
1342
|
+
"⢶",
|
|
1343
|
+
"⢷",
|
|
1344
|
+
"⣰",
|
|
1345
|
+
"⣱",
|
|
1346
|
+
"⣲",
|
|
1347
|
+
"⣳",
|
|
1348
|
+
"⣴",
|
|
1349
|
+
"⣵",
|
|
1350
|
+
"⣶",
|
|
1351
|
+
"⣷",
|
|
1352
|
+
"⢸",
|
|
1353
|
+
"⢹",
|
|
1354
|
+
"⢺",
|
|
1355
|
+
"⢻",
|
|
1356
|
+
"⢼",
|
|
1357
|
+
"⢽",
|
|
1358
|
+
"⢾",
|
|
1359
|
+
"⢿",
|
|
1360
|
+
"⣸",
|
|
1361
|
+
"⣹",
|
|
1362
|
+
"⣺",
|
|
1363
|
+
"⣻",
|
|
1364
|
+
"⣼",
|
|
1365
|
+
"⣽",
|
|
1366
|
+
"⣾",
|
|
1367
|
+
"⣿"
|
|
1368
|
+
]
|
|
1369
|
+
},
|
|
1370
|
+
"sand": {
|
|
1371
|
+
"interval": 80,
|
|
1372
|
+
"frames": [
|
|
1373
|
+
"⠁",
|
|
1374
|
+
"⠂",
|
|
1375
|
+
"⠄",
|
|
1376
|
+
"⡀",
|
|
1377
|
+
"⡈",
|
|
1378
|
+
"⡐",
|
|
1379
|
+
"⡠",
|
|
1380
|
+
"⣀",
|
|
1381
|
+
"⣁",
|
|
1382
|
+
"⣂",
|
|
1383
|
+
"⣄",
|
|
1384
|
+
"⣌",
|
|
1385
|
+
"⣔",
|
|
1386
|
+
"⣤",
|
|
1387
|
+
"⣥",
|
|
1388
|
+
"⣦",
|
|
1389
|
+
"⣮",
|
|
1390
|
+
"⣶",
|
|
1391
|
+
"⣷",
|
|
1392
|
+
"⣿",
|
|
1393
|
+
"⡿",
|
|
1394
|
+
"⠿",
|
|
1395
|
+
"⢟",
|
|
1396
|
+
"⠟",
|
|
1397
|
+
"⡛",
|
|
1398
|
+
"⠛",
|
|
1399
|
+
"⠫",
|
|
1400
|
+
"⢋",
|
|
1401
|
+
"⠋",
|
|
1402
|
+
"⠍",
|
|
1403
|
+
"⡉",
|
|
1404
|
+
"⠉",
|
|
1405
|
+
"⠑",
|
|
1406
|
+
"⠡",
|
|
1407
|
+
"⢁"
|
|
1408
|
+
]
|
|
1409
|
+
},
|
|
1410
|
+
"line": {
|
|
1411
|
+
"interval": 130,
|
|
1412
|
+
"frames": [
|
|
1413
|
+
"-",
|
|
1414
|
+
"\\",
|
|
1415
|
+
"|",
|
|
1416
|
+
"/"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
"line2": {
|
|
1420
|
+
"interval": 100,
|
|
1421
|
+
"frames": [
|
|
1422
|
+
"⠂",
|
|
1423
|
+
"-",
|
|
1424
|
+
"–",
|
|
1425
|
+
"—",
|
|
1426
|
+
"–",
|
|
1427
|
+
"-"
|
|
1428
|
+
]
|
|
1429
|
+
},
|
|
1430
|
+
"pipe": {
|
|
1431
|
+
"interval": 100,
|
|
1432
|
+
"frames": [
|
|
1433
|
+
"┤",
|
|
1434
|
+
"┘",
|
|
1435
|
+
"┴",
|
|
1436
|
+
"└",
|
|
1437
|
+
"├",
|
|
1438
|
+
"┌",
|
|
1439
|
+
"┬",
|
|
1440
|
+
"┐"
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
"simpleDots": {
|
|
1444
|
+
"interval": 400,
|
|
1445
|
+
"frames": [
|
|
1446
|
+
". ",
|
|
1447
|
+
".. ",
|
|
1448
|
+
"...",
|
|
1449
|
+
" "
|
|
1450
|
+
]
|
|
1451
|
+
},
|
|
1452
|
+
"simpleDotsScrolling": {
|
|
1453
|
+
"interval": 200,
|
|
1454
|
+
"frames": [
|
|
1455
|
+
". ",
|
|
1456
|
+
".. ",
|
|
1457
|
+
"...",
|
|
1458
|
+
" ..",
|
|
1459
|
+
" .",
|
|
1460
|
+
" "
|
|
1461
|
+
]
|
|
1462
|
+
},
|
|
1463
|
+
"star": {
|
|
1464
|
+
"interval": 70,
|
|
1465
|
+
"frames": [
|
|
1466
|
+
"✶",
|
|
1467
|
+
"✸",
|
|
1468
|
+
"✹",
|
|
1469
|
+
"✺",
|
|
1470
|
+
"✹",
|
|
1471
|
+
"✷"
|
|
1472
|
+
]
|
|
1473
|
+
},
|
|
1474
|
+
"star2": {
|
|
1475
|
+
"interval": 80,
|
|
1476
|
+
"frames": [
|
|
1477
|
+
"+",
|
|
1478
|
+
"x",
|
|
1479
|
+
"*"
|
|
1480
|
+
]
|
|
1481
|
+
},
|
|
1482
|
+
"flip": {
|
|
1483
|
+
"interval": 70,
|
|
1484
|
+
"frames": [
|
|
1485
|
+
"_",
|
|
1486
|
+
"_",
|
|
1487
|
+
"_",
|
|
1488
|
+
"-",
|
|
1489
|
+
"`",
|
|
1490
|
+
"`",
|
|
1491
|
+
"'",
|
|
1492
|
+
"´",
|
|
1493
|
+
"-",
|
|
1494
|
+
"_",
|
|
1495
|
+
"_",
|
|
1496
|
+
"_"
|
|
1497
|
+
]
|
|
1498
|
+
},
|
|
1499
|
+
"hamburger": {
|
|
1500
|
+
"interval": 100,
|
|
1501
|
+
"frames": [
|
|
1502
|
+
"☱",
|
|
1503
|
+
"☲",
|
|
1504
|
+
"☴"
|
|
1505
|
+
]
|
|
1506
|
+
},
|
|
1507
|
+
"growVertical": {
|
|
1508
|
+
"interval": 120,
|
|
1509
|
+
"frames": [
|
|
1510
|
+
"▁",
|
|
1511
|
+
"▃",
|
|
1512
|
+
"▄",
|
|
1513
|
+
"▅",
|
|
1514
|
+
"▆",
|
|
1515
|
+
"▇",
|
|
1516
|
+
"▆",
|
|
1517
|
+
"▅",
|
|
1518
|
+
"▄",
|
|
1519
|
+
"▃"
|
|
1520
|
+
]
|
|
1521
|
+
},
|
|
1522
|
+
"growHorizontal": {
|
|
1523
|
+
"interval": 120,
|
|
1524
|
+
"frames": [
|
|
1525
|
+
"▏",
|
|
1526
|
+
"▎",
|
|
1527
|
+
"▍",
|
|
1528
|
+
"▌",
|
|
1529
|
+
"▋",
|
|
1530
|
+
"▊",
|
|
1531
|
+
"▉",
|
|
1532
|
+
"▊",
|
|
1533
|
+
"▋",
|
|
1534
|
+
"▌",
|
|
1535
|
+
"▍",
|
|
1536
|
+
"▎"
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
|
+
"balloon": {
|
|
1540
|
+
"interval": 140,
|
|
1541
|
+
"frames": [
|
|
1542
|
+
" ",
|
|
1543
|
+
".",
|
|
1544
|
+
"o",
|
|
1545
|
+
"O",
|
|
1546
|
+
"@",
|
|
1547
|
+
"*",
|
|
1548
|
+
" "
|
|
1549
|
+
]
|
|
1550
|
+
},
|
|
1551
|
+
"balloon2": {
|
|
1552
|
+
"interval": 120,
|
|
1553
|
+
"frames": [
|
|
1554
|
+
".",
|
|
1555
|
+
"o",
|
|
1556
|
+
"O",
|
|
1557
|
+
"°",
|
|
1558
|
+
"O",
|
|
1559
|
+
"o",
|
|
1560
|
+
"."
|
|
1561
|
+
]
|
|
1562
|
+
},
|
|
1563
|
+
"noise": {
|
|
1564
|
+
"interval": 100,
|
|
1565
|
+
"frames": [
|
|
1566
|
+
"▓",
|
|
1567
|
+
"▒",
|
|
1568
|
+
"░"
|
|
1569
|
+
]
|
|
1570
|
+
},
|
|
1571
|
+
"bounce": {
|
|
1572
|
+
"interval": 120,
|
|
1573
|
+
"frames": [
|
|
1574
|
+
"⠁",
|
|
1575
|
+
"⠂",
|
|
1576
|
+
"⠄",
|
|
1577
|
+
"⠂"
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
"boxBounce": {
|
|
1581
|
+
"interval": 120,
|
|
1582
|
+
"frames": [
|
|
1583
|
+
"▖",
|
|
1584
|
+
"▘",
|
|
1585
|
+
"▝",
|
|
1586
|
+
"▗"
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
|
+
"boxBounce2": {
|
|
1590
|
+
"interval": 100,
|
|
1591
|
+
"frames": [
|
|
1592
|
+
"▌",
|
|
1593
|
+
"▀",
|
|
1594
|
+
"▐",
|
|
1595
|
+
"▄"
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1598
|
+
"triangle": {
|
|
1599
|
+
"interval": 50,
|
|
1600
|
+
"frames": [
|
|
1601
|
+
"◢",
|
|
1602
|
+
"◣",
|
|
1603
|
+
"◤",
|
|
1604
|
+
"◥"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
"binary": {
|
|
1608
|
+
"interval": 80,
|
|
1609
|
+
"frames": [
|
|
1610
|
+
"010010",
|
|
1611
|
+
"001100",
|
|
1612
|
+
"100101",
|
|
1613
|
+
"111010",
|
|
1614
|
+
"111101",
|
|
1615
|
+
"010111",
|
|
1616
|
+
"101011",
|
|
1617
|
+
"111000",
|
|
1618
|
+
"110011",
|
|
1619
|
+
"110101"
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
"arc": {
|
|
1623
|
+
"interval": 100,
|
|
1624
|
+
"frames": [
|
|
1625
|
+
"◜",
|
|
1626
|
+
"◠",
|
|
1627
|
+
"◝",
|
|
1628
|
+
"◞",
|
|
1629
|
+
"◡",
|
|
1630
|
+
"◟"
|
|
1631
|
+
]
|
|
1632
|
+
},
|
|
1633
|
+
"circle": {
|
|
1634
|
+
"interval": 120,
|
|
1635
|
+
"frames": [
|
|
1636
|
+
"◡",
|
|
1637
|
+
"⊙",
|
|
1638
|
+
"◠"
|
|
1639
|
+
]
|
|
1640
|
+
},
|
|
1641
|
+
"squareCorners": {
|
|
1642
|
+
"interval": 180,
|
|
1643
|
+
"frames": [
|
|
1644
|
+
"◰",
|
|
1645
|
+
"◳",
|
|
1646
|
+
"◲",
|
|
1647
|
+
"◱"
|
|
1648
|
+
]
|
|
1649
|
+
},
|
|
1650
|
+
"circleQuarters": {
|
|
1651
|
+
"interval": 120,
|
|
1652
|
+
"frames": [
|
|
1653
|
+
"◴",
|
|
1654
|
+
"◷",
|
|
1655
|
+
"◶",
|
|
1656
|
+
"◵"
|
|
1657
|
+
]
|
|
1658
|
+
},
|
|
1659
|
+
"circleHalves": {
|
|
1660
|
+
"interval": 50,
|
|
1661
|
+
"frames": [
|
|
1662
|
+
"◐",
|
|
1663
|
+
"◓",
|
|
1664
|
+
"◑",
|
|
1665
|
+
"◒"
|
|
1666
|
+
]
|
|
1667
|
+
},
|
|
1668
|
+
"squish": {
|
|
1669
|
+
"interval": 100,
|
|
1670
|
+
"frames": ["╫", "╪"]
|
|
1671
|
+
},
|
|
1672
|
+
"toggle": {
|
|
1673
|
+
"interval": 250,
|
|
1674
|
+
"frames": ["⊶", "⊷"]
|
|
1675
|
+
},
|
|
1676
|
+
"toggle2": {
|
|
1677
|
+
"interval": 80,
|
|
1678
|
+
"frames": ["▫", "▪"]
|
|
1679
|
+
},
|
|
1680
|
+
"toggle3": {
|
|
1681
|
+
"interval": 120,
|
|
1682
|
+
"frames": ["□", "■"]
|
|
1683
|
+
},
|
|
1684
|
+
"toggle4": {
|
|
1685
|
+
"interval": 100,
|
|
1686
|
+
"frames": [
|
|
1687
|
+
"■",
|
|
1688
|
+
"□",
|
|
1689
|
+
"▪",
|
|
1690
|
+
"▫"
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
"toggle5": {
|
|
1694
|
+
"interval": 100,
|
|
1695
|
+
"frames": ["▮", "▯"]
|
|
1696
|
+
},
|
|
1697
|
+
"toggle6": {
|
|
1698
|
+
"interval": 300,
|
|
1699
|
+
"frames": ["ဝ", "၀"]
|
|
1700
|
+
},
|
|
1701
|
+
"toggle7": {
|
|
1702
|
+
"interval": 80,
|
|
1703
|
+
"frames": ["⦾", "⦿"]
|
|
1704
|
+
},
|
|
1705
|
+
"toggle8": {
|
|
1706
|
+
"interval": 100,
|
|
1707
|
+
"frames": ["◍", "◌"]
|
|
1708
|
+
},
|
|
1709
|
+
"toggle9": {
|
|
1710
|
+
"interval": 100,
|
|
1711
|
+
"frames": ["◉", "◎"]
|
|
1712
|
+
},
|
|
1713
|
+
"toggle10": {
|
|
1714
|
+
"interval": 100,
|
|
1715
|
+
"frames": [
|
|
1716
|
+
"㊂",
|
|
1717
|
+
"㊀",
|
|
1718
|
+
"㊁"
|
|
1719
|
+
]
|
|
1720
|
+
},
|
|
1721
|
+
"toggle11": {
|
|
1722
|
+
"interval": 50,
|
|
1723
|
+
"frames": ["⧇", "⧆"]
|
|
1724
|
+
},
|
|
1725
|
+
"toggle12": {
|
|
1726
|
+
"interval": 120,
|
|
1727
|
+
"frames": ["☗", "☖"]
|
|
1728
|
+
},
|
|
1729
|
+
"toggle13": {
|
|
1730
|
+
"interval": 80,
|
|
1731
|
+
"frames": [
|
|
1732
|
+
"=",
|
|
1733
|
+
"*",
|
|
1734
|
+
"-"
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
"arrow": {
|
|
1738
|
+
"interval": 100,
|
|
1739
|
+
"frames": [
|
|
1740
|
+
"←",
|
|
1741
|
+
"↖",
|
|
1742
|
+
"↑",
|
|
1743
|
+
"↗",
|
|
1744
|
+
"→",
|
|
1745
|
+
"↘",
|
|
1746
|
+
"↓",
|
|
1747
|
+
"↙"
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
"arrow2": {
|
|
1751
|
+
"interval": 80,
|
|
1752
|
+
"frames": [
|
|
1753
|
+
"⬆️ ",
|
|
1754
|
+
"↗️ ",
|
|
1755
|
+
"➡️ ",
|
|
1756
|
+
"↘️ ",
|
|
1757
|
+
"⬇️ ",
|
|
1758
|
+
"↙️ ",
|
|
1759
|
+
"⬅️ ",
|
|
1760
|
+
"↖️ "
|
|
1761
|
+
]
|
|
1762
|
+
},
|
|
1763
|
+
"arrow3": {
|
|
1764
|
+
"interval": 120,
|
|
1765
|
+
"frames": [
|
|
1766
|
+
"▹▹▹▹▹",
|
|
1767
|
+
"▸▹▹▹▹",
|
|
1768
|
+
"▹▸▹▹▹",
|
|
1769
|
+
"▹▹▸▹▹",
|
|
1770
|
+
"▹▹▹▸▹",
|
|
1771
|
+
"▹▹▹▹▸"
|
|
1772
|
+
]
|
|
1773
|
+
},
|
|
1774
|
+
"bouncingBar": {
|
|
1775
|
+
"interval": 80,
|
|
1776
|
+
"frames": [
|
|
1777
|
+
"[ ]",
|
|
1778
|
+
"[= ]",
|
|
1779
|
+
"[== ]",
|
|
1780
|
+
"[=== ]",
|
|
1781
|
+
"[====]",
|
|
1782
|
+
"[ ===]",
|
|
1783
|
+
"[ ==]",
|
|
1784
|
+
"[ =]",
|
|
1785
|
+
"[ ]",
|
|
1786
|
+
"[ =]",
|
|
1787
|
+
"[ ==]",
|
|
1788
|
+
"[ ===]",
|
|
1789
|
+
"[====]",
|
|
1790
|
+
"[=== ]",
|
|
1791
|
+
"[== ]",
|
|
1792
|
+
"[= ]"
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1795
|
+
"bouncingBall": {
|
|
1796
|
+
"interval": 80,
|
|
1797
|
+
"frames": [
|
|
1798
|
+
"( ● )",
|
|
1799
|
+
"( ● )",
|
|
1800
|
+
"( ● )",
|
|
1801
|
+
"( ● )",
|
|
1802
|
+
"( ●)",
|
|
1803
|
+
"( ● )",
|
|
1804
|
+
"( ● )",
|
|
1805
|
+
"( ● )",
|
|
1806
|
+
"( ● )",
|
|
1807
|
+
"(● )"
|
|
1808
|
+
]
|
|
1809
|
+
},
|
|
1810
|
+
"smiley": {
|
|
1811
|
+
"interval": 200,
|
|
1812
|
+
"frames": ["😄 ", "😝 "]
|
|
1813
|
+
},
|
|
1814
|
+
"monkey": {
|
|
1815
|
+
"interval": 300,
|
|
1816
|
+
"frames": [
|
|
1817
|
+
"🙈 ",
|
|
1818
|
+
"🙈 ",
|
|
1819
|
+
"🙉 ",
|
|
1820
|
+
"🙊 "
|
|
1821
|
+
]
|
|
1822
|
+
},
|
|
1823
|
+
"hearts": {
|
|
1824
|
+
"interval": 100,
|
|
1825
|
+
"frames": [
|
|
1826
|
+
"💛 ",
|
|
1827
|
+
"💙 ",
|
|
1828
|
+
"💜 ",
|
|
1829
|
+
"💚 ",
|
|
1830
|
+
"❤️ "
|
|
1831
|
+
]
|
|
1832
|
+
},
|
|
1833
|
+
"clock": {
|
|
1834
|
+
"interval": 100,
|
|
1835
|
+
"frames": [
|
|
1836
|
+
"🕛 ",
|
|
1837
|
+
"🕐 ",
|
|
1838
|
+
"🕑 ",
|
|
1839
|
+
"🕒 ",
|
|
1840
|
+
"🕓 ",
|
|
1841
|
+
"🕔 ",
|
|
1842
|
+
"🕕 ",
|
|
1843
|
+
"🕖 ",
|
|
1844
|
+
"🕗 ",
|
|
1845
|
+
"🕘 ",
|
|
1846
|
+
"🕙 ",
|
|
1847
|
+
"🕚 "
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1850
|
+
"earth": {
|
|
1851
|
+
"interval": 180,
|
|
1852
|
+
"frames": [
|
|
1853
|
+
"🌍 ",
|
|
1854
|
+
"🌎 ",
|
|
1855
|
+
"🌏 "
|
|
1856
|
+
]
|
|
1857
|
+
},
|
|
1858
|
+
"material": {
|
|
1859
|
+
"interval": 17,
|
|
1860
|
+
"frames": [
|
|
1861
|
+
"█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1862
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1863
|
+
"███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1864
|
+
"████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1865
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1866
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1867
|
+
"███████▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1868
|
+
"████████▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1869
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1870
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1871
|
+
"██████████▁▁▁▁▁▁▁▁▁▁",
|
|
1872
|
+
"███████████▁▁▁▁▁▁▁▁▁",
|
|
1873
|
+
"█████████████▁▁▁▁▁▁▁",
|
|
1874
|
+
"██████████████▁▁▁▁▁▁",
|
|
1875
|
+
"██████████████▁▁▁▁▁▁",
|
|
1876
|
+
"▁██████████████▁▁▁▁▁",
|
|
1877
|
+
"▁██████████████▁▁▁▁▁",
|
|
1878
|
+
"▁██████████████▁▁▁▁▁",
|
|
1879
|
+
"▁▁██████████████▁▁▁▁",
|
|
1880
|
+
"▁▁▁██████████████▁▁▁",
|
|
1881
|
+
"▁▁▁▁█████████████▁▁▁",
|
|
1882
|
+
"▁▁▁▁██████████████▁▁",
|
|
1883
|
+
"▁▁▁▁██████████████▁▁",
|
|
1884
|
+
"▁▁▁▁▁██████████████▁",
|
|
1885
|
+
"▁▁▁▁▁██████████████▁",
|
|
1886
|
+
"▁▁▁▁▁██████████████▁",
|
|
1887
|
+
"▁▁▁▁▁▁██████████████",
|
|
1888
|
+
"▁▁▁▁▁▁██████████████",
|
|
1889
|
+
"▁▁▁▁▁▁▁█████████████",
|
|
1890
|
+
"▁▁▁▁▁▁▁█████████████",
|
|
1891
|
+
"▁▁▁▁▁▁▁▁████████████",
|
|
1892
|
+
"▁▁▁▁▁▁▁▁████████████",
|
|
1893
|
+
"▁▁▁▁▁▁▁▁▁███████████",
|
|
1894
|
+
"▁▁▁▁▁▁▁▁▁███████████",
|
|
1895
|
+
"▁▁▁▁▁▁▁▁▁▁██████████",
|
|
1896
|
+
"▁▁▁▁▁▁▁▁▁▁██████████",
|
|
1897
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁████████",
|
|
1898
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
1899
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████",
|
|
1900
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
1901
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
1902
|
+
"█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
1903
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
1904
|
+
"██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
1905
|
+
"███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
1906
|
+
"████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
1907
|
+
"█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1908
|
+
"█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1909
|
+
"██████▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1910
|
+
"████████▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1911
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1912
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1913
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1914
|
+
"█████████▁▁▁▁▁▁▁▁▁▁▁",
|
|
1915
|
+
"███████████▁▁▁▁▁▁▁▁▁",
|
|
1916
|
+
"████████████▁▁▁▁▁▁▁▁",
|
|
1917
|
+
"████████████▁▁▁▁▁▁▁▁",
|
|
1918
|
+
"██████████████▁▁▁▁▁▁",
|
|
1919
|
+
"██████████████▁▁▁▁▁▁",
|
|
1920
|
+
"▁██████████████▁▁▁▁▁",
|
|
1921
|
+
"▁██████████████▁▁▁▁▁",
|
|
1922
|
+
"▁▁▁█████████████▁▁▁▁",
|
|
1923
|
+
"▁▁▁▁▁████████████▁▁▁",
|
|
1924
|
+
"▁▁▁▁▁████████████▁▁▁",
|
|
1925
|
+
"▁▁▁▁▁▁███████████▁▁▁",
|
|
1926
|
+
"▁▁▁▁▁▁▁▁█████████▁▁▁",
|
|
1927
|
+
"▁▁▁▁▁▁▁▁█████████▁▁▁",
|
|
1928
|
+
"▁▁▁▁▁▁▁▁▁█████████▁▁",
|
|
1929
|
+
"▁▁▁▁▁▁▁▁▁█████████▁▁",
|
|
1930
|
+
"▁▁▁▁▁▁▁▁▁▁█████████▁",
|
|
1931
|
+
"▁▁▁▁▁▁▁▁▁▁▁████████▁",
|
|
1932
|
+
"▁▁▁▁▁▁▁▁▁▁▁████████▁",
|
|
1933
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
|
|
1934
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
|
|
1935
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
1936
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
|
|
1937
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
|
|
1938
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
1939
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
1940
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
|
|
1941
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
1942
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
|
|
1943
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
1944
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
1945
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
|
|
1946
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1947
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1948
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
|
|
1949
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1950
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1951
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
|
1952
|
+
"▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
"moon": {
|
|
1956
|
+
"interval": 80,
|
|
1957
|
+
"frames": [
|
|
1958
|
+
"🌑 ",
|
|
1959
|
+
"🌒 ",
|
|
1960
|
+
"🌓 ",
|
|
1961
|
+
"🌔 ",
|
|
1962
|
+
"🌕 ",
|
|
1963
|
+
"🌖 ",
|
|
1964
|
+
"🌗 ",
|
|
1965
|
+
"🌘 "
|
|
1966
|
+
]
|
|
1967
|
+
},
|
|
1968
|
+
"runner": {
|
|
1969
|
+
"interval": 140,
|
|
1970
|
+
"frames": ["🚶 ", "🏃 "]
|
|
1971
|
+
},
|
|
1972
|
+
"pong": {
|
|
1973
|
+
"interval": 80,
|
|
1974
|
+
"frames": [
|
|
1975
|
+
"▐⠂ ▌",
|
|
1976
|
+
"▐⠈ ▌",
|
|
1977
|
+
"▐ ⠂ ▌",
|
|
1978
|
+
"▐ ⠠ ▌",
|
|
1979
|
+
"▐ ⡀ ▌",
|
|
1980
|
+
"▐ ⠠ ▌",
|
|
1981
|
+
"▐ ⠂ ▌",
|
|
1982
|
+
"▐ ⠈ ▌",
|
|
1983
|
+
"▐ ⠂ ▌",
|
|
1984
|
+
"▐ ⠠ ▌",
|
|
1985
|
+
"▐ ⡀ ▌",
|
|
1986
|
+
"▐ ⠠ ▌",
|
|
1987
|
+
"▐ ⠂ ▌",
|
|
1988
|
+
"▐ ⠈ ▌",
|
|
1989
|
+
"▐ ⠂▌",
|
|
1990
|
+
"▐ ⠠▌",
|
|
1991
|
+
"▐ ⡀▌",
|
|
1992
|
+
"▐ ⠠ ▌",
|
|
1993
|
+
"▐ ⠂ ▌",
|
|
1994
|
+
"▐ ⠈ ▌",
|
|
1995
|
+
"▐ ⠂ ▌",
|
|
1996
|
+
"▐ ⠠ ▌",
|
|
1997
|
+
"▐ ⡀ ▌",
|
|
1998
|
+
"▐ ⠠ ▌",
|
|
1999
|
+
"▐ ⠂ ▌",
|
|
2000
|
+
"▐ ⠈ ▌",
|
|
2001
|
+
"▐ ⠂ ▌",
|
|
2002
|
+
"▐ ⠠ ▌",
|
|
2003
|
+
"▐ ⡀ ▌",
|
|
2004
|
+
"▐⠠ ▌"
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
"shark": {
|
|
2008
|
+
"interval": 120,
|
|
2009
|
+
"frames": [
|
|
2010
|
+
"▐|\\____________▌",
|
|
2011
|
+
"▐_|\\___________▌",
|
|
2012
|
+
"▐__|\\__________▌",
|
|
2013
|
+
"▐___|\\_________▌",
|
|
2014
|
+
"▐____|\\________▌",
|
|
2015
|
+
"▐_____|\\_______▌",
|
|
2016
|
+
"▐______|\\______▌",
|
|
2017
|
+
"▐_______|\\_____▌",
|
|
2018
|
+
"▐________|\\____▌",
|
|
2019
|
+
"▐_________|\\___▌",
|
|
2020
|
+
"▐__________|\\__▌",
|
|
2021
|
+
"▐___________|\\_▌",
|
|
2022
|
+
"▐____________|\\▌",
|
|
2023
|
+
"▐____________/|▌",
|
|
2024
|
+
"▐___________/|_▌",
|
|
2025
|
+
"▐__________/|__▌",
|
|
2026
|
+
"▐_________/|___▌",
|
|
2027
|
+
"▐________/|____▌",
|
|
2028
|
+
"▐_______/|_____▌",
|
|
2029
|
+
"▐______/|______▌",
|
|
2030
|
+
"▐_____/|_______▌",
|
|
2031
|
+
"▐____/|________▌",
|
|
2032
|
+
"▐___/|_________▌",
|
|
2033
|
+
"▐__/|__________▌",
|
|
2034
|
+
"▐_/|___________▌",
|
|
2035
|
+
"▐/|____________▌"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
"dqpb": {
|
|
2039
|
+
"interval": 100,
|
|
2040
|
+
"frames": [
|
|
2041
|
+
"d",
|
|
2042
|
+
"q",
|
|
2043
|
+
"p",
|
|
2044
|
+
"b"
|
|
2045
|
+
]
|
|
2046
|
+
},
|
|
2047
|
+
"weather": {
|
|
2048
|
+
"interval": 100,
|
|
2049
|
+
"frames": [
|
|
2050
|
+
"☀️ ",
|
|
2051
|
+
"☀️ ",
|
|
2052
|
+
"☀️ ",
|
|
2053
|
+
"🌤 ",
|
|
2054
|
+
"⛅️ ",
|
|
2055
|
+
"🌥 ",
|
|
2056
|
+
"☁️ ",
|
|
2057
|
+
"🌧 ",
|
|
2058
|
+
"🌨 ",
|
|
2059
|
+
"🌧 ",
|
|
2060
|
+
"🌨 ",
|
|
2061
|
+
"🌧 ",
|
|
2062
|
+
"🌨 ",
|
|
2063
|
+
"⛈ ",
|
|
2064
|
+
"🌨 ",
|
|
2065
|
+
"🌧 ",
|
|
2066
|
+
"🌨 ",
|
|
2067
|
+
"☁️ ",
|
|
2068
|
+
"🌥 ",
|
|
2069
|
+
"⛅️ ",
|
|
2070
|
+
"🌤 ",
|
|
2071
|
+
"☀️ ",
|
|
2072
|
+
"☀️ "
|
|
2073
|
+
]
|
|
2074
|
+
},
|
|
2075
|
+
"christmas": {
|
|
2076
|
+
"interval": 400,
|
|
2077
|
+
"frames": ["🌲", "🎄"]
|
|
2078
|
+
},
|
|
2079
|
+
"grenade": {
|
|
2080
|
+
"interval": 80,
|
|
2081
|
+
"frames": [
|
|
2082
|
+
"، ",
|
|
2083
|
+
"′ ",
|
|
2084
|
+
" ´ ",
|
|
2085
|
+
" ‾ ",
|
|
2086
|
+
" ⸌",
|
|
2087
|
+
" ⸊",
|
|
2088
|
+
" |",
|
|
2089
|
+
" ⁎",
|
|
2090
|
+
" ⁕",
|
|
2091
|
+
" ෴ ",
|
|
2092
|
+
" ⁓",
|
|
2093
|
+
" ",
|
|
2094
|
+
" ",
|
|
2095
|
+
" "
|
|
2096
|
+
]
|
|
2097
|
+
},
|
|
2098
|
+
"point": {
|
|
2099
|
+
"interval": 125,
|
|
2100
|
+
"frames": [
|
|
2101
|
+
"∙∙∙",
|
|
2102
|
+
"●∙∙",
|
|
2103
|
+
"∙●∙",
|
|
2104
|
+
"∙∙●",
|
|
2105
|
+
"∙∙∙"
|
|
2106
|
+
]
|
|
2107
|
+
},
|
|
2108
|
+
"layer": {
|
|
2109
|
+
"interval": 150,
|
|
2110
|
+
"frames": [
|
|
2111
|
+
"-",
|
|
2112
|
+
"=",
|
|
2113
|
+
"≡"
|
|
2114
|
+
]
|
|
2115
|
+
},
|
|
2116
|
+
"betaWave": {
|
|
2117
|
+
"interval": 80,
|
|
2118
|
+
"frames": [
|
|
2119
|
+
"ρββββββ",
|
|
2120
|
+
"βρβββββ",
|
|
2121
|
+
"ββρββββ",
|
|
2122
|
+
"βββρβββ",
|
|
2123
|
+
"ββββρββ",
|
|
2124
|
+
"βββββρβ",
|
|
2125
|
+
"ββββββρ"
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
"fingerDance": {
|
|
2129
|
+
"interval": 160,
|
|
2130
|
+
"frames": [
|
|
2131
|
+
"🤘 ",
|
|
2132
|
+
"🤟 ",
|
|
2133
|
+
"🖖 ",
|
|
2134
|
+
"✋ ",
|
|
2135
|
+
"🤚 ",
|
|
2136
|
+
"👆 "
|
|
2137
|
+
]
|
|
2138
|
+
},
|
|
2139
|
+
"fistBump": {
|
|
2140
|
+
"interval": 80,
|
|
2141
|
+
"frames": [
|
|
2142
|
+
"🤜 🤛 ",
|
|
2143
|
+
"🤜 🤛 ",
|
|
2144
|
+
"🤜 🤛 ",
|
|
2145
|
+
" 🤜 🤛 ",
|
|
2146
|
+
" 🤜🤛 ",
|
|
2147
|
+
" 🤜✨🤛 ",
|
|
2148
|
+
"🤜 ✨ 🤛 "
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
"soccerHeader": {
|
|
2152
|
+
"interval": 80,
|
|
2153
|
+
"frames": [
|
|
2154
|
+
" 🧑⚽️ 🧑 ",
|
|
2155
|
+
"🧑 ⚽️ 🧑 ",
|
|
2156
|
+
"🧑 ⚽️ 🧑 ",
|
|
2157
|
+
"🧑 ⚽️ 🧑 ",
|
|
2158
|
+
"🧑 ⚽️ 🧑 ",
|
|
2159
|
+
"🧑 ⚽️ 🧑 ",
|
|
2160
|
+
"🧑 ⚽️🧑 ",
|
|
2161
|
+
"🧑 ⚽️ 🧑 ",
|
|
2162
|
+
"🧑 ⚽️ 🧑 ",
|
|
2163
|
+
"🧑 ⚽️ 🧑 ",
|
|
2164
|
+
"🧑 ⚽️ 🧑 ",
|
|
2165
|
+
"🧑 ⚽️ 🧑 "
|
|
2166
|
+
]
|
|
2167
|
+
},
|
|
2168
|
+
"mindblown": {
|
|
2169
|
+
"interval": 160,
|
|
2170
|
+
"frames": [
|
|
2171
|
+
"😐 ",
|
|
2172
|
+
"😐 ",
|
|
2173
|
+
"😮 ",
|
|
2174
|
+
"😮 ",
|
|
2175
|
+
"😦 ",
|
|
2176
|
+
"😦 ",
|
|
2177
|
+
"😧 ",
|
|
2178
|
+
"😧 ",
|
|
2179
|
+
"🤯 ",
|
|
2180
|
+
"💥 ",
|
|
2181
|
+
"✨ ",
|
|
2182
|
+
" ",
|
|
2183
|
+
" ",
|
|
2184
|
+
" "
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
"speaker": {
|
|
2188
|
+
"interval": 160,
|
|
2189
|
+
"frames": [
|
|
2190
|
+
"🔈 ",
|
|
2191
|
+
"🔉 ",
|
|
2192
|
+
"🔊 ",
|
|
2193
|
+
"🔉 "
|
|
2194
|
+
]
|
|
2195
|
+
},
|
|
2196
|
+
"orangePulse": {
|
|
2197
|
+
"interval": 100,
|
|
2198
|
+
"frames": [
|
|
2199
|
+
"🔸 ",
|
|
2200
|
+
"🔶 ",
|
|
2201
|
+
"🟠 ",
|
|
2202
|
+
"🟠 ",
|
|
2203
|
+
"🔶 "
|
|
2204
|
+
]
|
|
2205
|
+
},
|
|
2206
|
+
"bluePulse": {
|
|
2207
|
+
"interval": 100,
|
|
2208
|
+
"frames": [
|
|
2209
|
+
"🔹 ",
|
|
2210
|
+
"🔷 ",
|
|
2211
|
+
"🔵 ",
|
|
2212
|
+
"🔵 ",
|
|
2213
|
+
"🔷 "
|
|
2214
|
+
]
|
|
2215
|
+
},
|
|
2216
|
+
"orangeBluePulse": {
|
|
2217
|
+
"interval": 100,
|
|
2218
|
+
"frames": [
|
|
2219
|
+
"🔸 ",
|
|
2220
|
+
"🔶 ",
|
|
2221
|
+
"🟠 ",
|
|
2222
|
+
"🟠 ",
|
|
2223
|
+
"🔶 ",
|
|
2224
|
+
"🔹 ",
|
|
2225
|
+
"🔷 ",
|
|
2226
|
+
"🔵 ",
|
|
2227
|
+
"🔵 ",
|
|
2228
|
+
"🔷 "
|
|
2229
|
+
]
|
|
2230
|
+
},
|
|
2231
|
+
"timeTravel": {
|
|
2232
|
+
"interval": 100,
|
|
2233
|
+
"frames": [
|
|
2234
|
+
"🕛 ",
|
|
2235
|
+
"🕚 ",
|
|
2236
|
+
"🕙 ",
|
|
2237
|
+
"🕘 ",
|
|
2238
|
+
"🕗 ",
|
|
2239
|
+
"🕖 ",
|
|
2240
|
+
"🕕 ",
|
|
2241
|
+
"🕔 ",
|
|
2242
|
+
"🕓 ",
|
|
2243
|
+
"🕒 ",
|
|
2244
|
+
"🕑 ",
|
|
2245
|
+
"🕐 "
|
|
2246
|
+
]
|
|
2247
|
+
},
|
|
2248
|
+
"aesthetic": {
|
|
2249
|
+
"interval": 80,
|
|
2250
|
+
"frames": [
|
|
2251
|
+
"▰▱▱▱▱▱▱",
|
|
2252
|
+
"▰▰▱▱▱▱▱",
|
|
2253
|
+
"▰▰▰▱▱▱▱",
|
|
2254
|
+
"▰▰▰▰▱▱▱",
|
|
2255
|
+
"▰▰▰▰▰▱▱",
|
|
2256
|
+
"▰▰▰▰▰▰▱",
|
|
2257
|
+
"▰▰▰▰▰▰▰",
|
|
2258
|
+
"▰▱▱▱▱▱▱"
|
|
2259
|
+
]
|
|
2260
|
+
},
|
|
2261
|
+
"dwarfFortress": {
|
|
2262
|
+
"interval": 80,
|
|
2263
|
+
"frames": [
|
|
2264
|
+
" ██████£££ ",
|
|
2265
|
+
"☺██████£££ ",
|
|
2266
|
+
"☺██████£££ ",
|
|
2267
|
+
"☺▓█████£££ ",
|
|
2268
|
+
"☺▓█████£££ ",
|
|
2269
|
+
"☺▒█████£££ ",
|
|
2270
|
+
"☺▒█████£££ ",
|
|
2271
|
+
"☺░█████£££ ",
|
|
2272
|
+
"☺░█████£££ ",
|
|
2273
|
+
"☺ █████£££ ",
|
|
2274
|
+
" ☺█████£££ ",
|
|
2275
|
+
" ☺█████£££ ",
|
|
2276
|
+
" ☺▓████£££ ",
|
|
2277
|
+
" ☺▓████£££ ",
|
|
2278
|
+
" ☺▒████£££ ",
|
|
2279
|
+
" ☺▒████£££ ",
|
|
2280
|
+
" ☺░████£££ ",
|
|
2281
|
+
" ☺░████£££ ",
|
|
2282
|
+
" ☺ ████£££ ",
|
|
2283
|
+
" ☺████£££ ",
|
|
2284
|
+
" ☺████£££ ",
|
|
2285
|
+
" ☺▓███£££ ",
|
|
2286
|
+
" ☺▓███£££ ",
|
|
2287
|
+
" ☺▒███£££ ",
|
|
2288
|
+
" ☺▒███£££ ",
|
|
2289
|
+
" ☺░███£££ ",
|
|
2290
|
+
" ☺░███£££ ",
|
|
2291
|
+
" ☺ ███£££ ",
|
|
2292
|
+
" ☺███£££ ",
|
|
2293
|
+
" ☺███£££ ",
|
|
2294
|
+
" ☺▓██£££ ",
|
|
2295
|
+
" ☺▓██£££ ",
|
|
2296
|
+
" ☺▒██£££ ",
|
|
2297
|
+
" ☺▒██£££ ",
|
|
2298
|
+
" ☺░██£££ ",
|
|
2299
|
+
" ☺░██£££ ",
|
|
2300
|
+
" ☺ ██£££ ",
|
|
2301
|
+
" ☺██£££ ",
|
|
2302
|
+
" ☺██£££ ",
|
|
2303
|
+
" ☺▓█£££ ",
|
|
2304
|
+
" ☺▓█£££ ",
|
|
2305
|
+
" ☺▒█£££ ",
|
|
2306
|
+
" ☺▒█£££ ",
|
|
2307
|
+
" ☺░█£££ ",
|
|
2308
|
+
" ☺░█£££ ",
|
|
2309
|
+
" ☺ █£££ ",
|
|
2310
|
+
" ☺█£££ ",
|
|
2311
|
+
" ☺█£££ ",
|
|
2312
|
+
" ☺▓£££ ",
|
|
2313
|
+
" ☺▓£££ ",
|
|
2314
|
+
" ☺▒£££ ",
|
|
2315
|
+
" ☺▒£££ ",
|
|
2316
|
+
" ☺░£££ ",
|
|
2317
|
+
" ☺░£££ ",
|
|
2318
|
+
" ☺ £££ ",
|
|
2319
|
+
" ☺£££ ",
|
|
2320
|
+
" ☺£££ ",
|
|
2321
|
+
" ☺▓££ ",
|
|
2322
|
+
" ☺▓££ ",
|
|
2323
|
+
" ☺▒££ ",
|
|
2324
|
+
" ☺▒££ ",
|
|
2325
|
+
" ☺░££ ",
|
|
2326
|
+
" ☺░££ ",
|
|
2327
|
+
" ☺ ££ ",
|
|
2328
|
+
" ☺££ ",
|
|
2329
|
+
" ☺££ ",
|
|
2330
|
+
" ☺▓£ ",
|
|
2331
|
+
" ☺▓£ ",
|
|
2332
|
+
" ☺▒£ ",
|
|
2333
|
+
" ☺▒£ ",
|
|
2334
|
+
" ☺░£ ",
|
|
2335
|
+
" ☺░£ ",
|
|
2336
|
+
" ☺ £ ",
|
|
2337
|
+
" ☺£ ",
|
|
2338
|
+
" ☺£ ",
|
|
2339
|
+
" ☺▓ ",
|
|
2340
|
+
" ☺▓ ",
|
|
2341
|
+
" ☺▒ ",
|
|
2342
|
+
" ☺▒ ",
|
|
2343
|
+
" ☺░ ",
|
|
2344
|
+
" ☺░ ",
|
|
2345
|
+
" ☺ ",
|
|
2346
|
+
" ☺ &",
|
|
2347
|
+
" ☺ ☼&",
|
|
2348
|
+
" ☺ ☼ &",
|
|
2349
|
+
" ☺☼ &",
|
|
2350
|
+
" ☺☼ & ",
|
|
2351
|
+
" ‼ & ",
|
|
2352
|
+
" ☺ & ",
|
|
2353
|
+
" ‼ & ",
|
|
2354
|
+
" ☺ & ",
|
|
2355
|
+
" ‼ & ",
|
|
2356
|
+
" ☺ & ",
|
|
2357
|
+
"‼ & ",
|
|
2358
|
+
" & ",
|
|
2359
|
+
" & ",
|
|
2360
|
+
" & ░ ",
|
|
2361
|
+
" & ▒ ",
|
|
2362
|
+
" & ▓ ",
|
|
2363
|
+
" & £ ",
|
|
2364
|
+
" & ░£ ",
|
|
2365
|
+
" & ▒£ ",
|
|
2366
|
+
" & ▓£ ",
|
|
2367
|
+
" & ££ ",
|
|
2368
|
+
" & ░££ ",
|
|
2369
|
+
" & ▒££ ",
|
|
2370
|
+
"& ▓££ ",
|
|
2371
|
+
"& £££ ",
|
|
2372
|
+
" ░£££ ",
|
|
2373
|
+
" ▒£££ ",
|
|
2374
|
+
" ▓£££ ",
|
|
2375
|
+
" █£££ ",
|
|
2376
|
+
" ░█£££ ",
|
|
2377
|
+
" ▒█£££ ",
|
|
2378
|
+
" ▓█£££ ",
|
|
2379
|
+
" ██£££ ",
|
|
2380
|
+
" ░██£££ ",
|
|
2381
|
+
" ▒██£££ ",
|
|
2382
|
+
" ▓██£££ ",
|
|
2383
|
+
" ███£££ ",
|
|
2384
|
+
" ░███£££ ",
|
|
2385
|
+
" ▒███£££ ",
|
|
2386
|
+
" ▓███£££ ",
|
|
2387
|
+
" ████£££ ",
|
|
2388
|
+
" ░████£££ ",
|
|
2389
|
+
" ▒████£££ ",
|
|
2390
|
+
" ▓████£££ ",
|
|
2391
|
+
" █████£££ ",
|
|
2392
|
+
" ░█████£££ ",
|
|
2393
|
+
" ▒█████£££ ",
|
|
2394
|
+
" ▓█████£££ ",
|
|
2395
|
+
" ██████£££ ",
|
|
2396
|
+
" ██████£££ "
|
|
2397
|
+
]
|
|
2398
|
+
}
|
|
2399
|
+
};
|
|
2400
|
+
}) });
|
|
2401
|
+
|
|
2402
|
+
//#endregion
|
|
2403
|
+
//#region ../../node_modules/cli-spinners/index.js
|
|
2404
|
+
var require_cli_spinners = /* @__PURE__ */ __commonJS({ "../../node_modules/cli-spinners/index.js": ((exports, module) => {
|
|
2405
|
+
const spinners$1 = Object.assign({}, require_spinners());
|
|
2406
|
+
const spinnersList = Object.keys(spinners$1);
|
|
2407
|
+
Object.defineProperty(spinners$1, "random", { get() {
|
|
2408
|
+
const randomIndex = Math.floor(Math.random() * spinnersList.length);
|
|
2409
|
+
const spinnerName = spinnersList[randomIndex];
|
|
2410
|
+
return spinners$1[spinnerName];
|
|
2411
|
+
} });
|
|
2412
|
+
module.exports = spinners$1;
|
|
2413
|
+
}) });
|
|
2414
|
+
|
|
2415
|
+
//#endregion
|
|
2416
|
+
//#region ../../node_modules/log-symbols/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
2417
|
+
const ANSI_BACKGROUND_OFFSET = 10;
|
|
2418
|
+
const wrapAnsi16 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
|
|
2419
|
+
const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
|
|
2420
|
+
const wrapAnsi16m = (offset = 0) => (red$1, green$1, blue$1) => `\u001B[${38 + offset};2;${red$1};${green$1};${blue$1}m`;
|
|
2421
|
+
const styles$1 = {
|
|
2422
|
+
modifier: {
|
|
2423
|
+
reset: [0, 0],
|
|
2424
|
+
bold: [1, 22],
|
|
2425
|
+
dim: [2, 22],
|
|
2426
|
+
italic: [3, 23],
|
|
2427
|
+
underline: [4, 24],
|
|
2428
|
+
overline: [53, 55],
|
|
2429
|
+
inverse: [7, 27],
|
|
2430
|
+
hidden: [8, 28],
|
|
2431
|
+
strikethrough: [9, 29]
|
|
2432
|
+
},
|
|
2433
|
+
color: {
|
|
2434
|
+
black: [30, 39],
|
|
2435
|
+
red: [31, 39],
|
|
2436
|
+
green: [32, 39],
|
|
2437
|
+
yellow: [33, 39],
|
|
2438
|
+
blue: [34, 39],
|
|
2439
|
+
magenta: [35, 39],
|
|
2440
|
+
cyan: [36, 39],
|
|
2441
|
+
white: [37, 39],
|
|
2442
|
+
blackBright: [90, 39],
|
|
2443
|
+
gray: [90, 39],
|
|
2444
|
+
grey: [90, 39],
|
|
2445
|
+
redBright: [91, 39],
|
|
2446
|
+
greenBright: [92, 39],
|
|
2447
|
+
yellowBright: [93, 39],
|
|
2448
|
+
blueBright: [94, 39],
|
|
2449
|
+
magentaBright: [95, 39],
|
|
2450
|
+
cyanBright: [96, 39],
|
|
2451
|
+
whiteBright: [97, 39]
|
|
2452
|
+
},
|
|
2453
|
+
bgColor: {
|
|
2454
|
+
bgBlack: [40, 49],
|
|
2455
|
+
bgRed: [41, 49],
|
|
2456
|
+
bgGreen: [42, 49],
|
|
2457
|
+
bgYellow: [43, 49],
|
|
2458
|
+
bgBlue: [44, 49],
|
|
2459
|
+
bgMagenta: [45, 49],
|
|
2460
|
+
bgCyan: [46, 49],
|
|
2461
|
+
bgWhite: [47, 49],
|
|
2462
|
+
bgBlackBright: [100, 49],
|
|
2463
|
+
bgGray: [100, 49],
|
|
2464
|
+
bgGrey: [100, 49],
|
|
2465
|
+
bgRedBright: [101, 49],
|
|
2466
|
+
bgGreenBright: [102, 49],
|
|
2467
|
+
bgYellowBright: [103, 49],
|
|
2468
|
+
bgBlueBright: [104, 49],
|
|
2469
|
+
bgMagentaBright: [105, 49],
|
|
2470
|
+
bgCyanBright: [106, 49],
|
|
2471
|
+
bgWhiteBright: [107, 49]
|
|
2472
|
+
}
|
|
2473
|
+
};
|
|
2474
|
+
const modifierNames = Object.keys(styles$1.modifier);
|
|
2475
|
+
const foregroundColorNames = Object.keys(styles$1.color);
|
|
2476
|
+
const backgroundColorNames = Object.keys(styles$1.bgColor);
|
|
2477
|
+
const colorNames = [...foregroundColorNames, ...backgroundColorNames];
|
|
2478
|
+
function assembleStyles() {
|
|
2479
|
+
const codes = /* @__PURE__ */ new Map();
|
|
2480
|
+
for (const [groupName, group] of Object.entries(styles$1)) {
|
|
2481
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
2482
|
+
styles$1[styleName] = {
|
|
2483
|
+
open: `\u001B[${style[0]}m`,
|
|
2484
|
+
close: `\u001B[${style[1]}m`
|
|
2485
|
+
};
|
|
2486
|
+
group[styleName] = styles$1[styleName];
|
|
2487
|
+
codes.set(style[0], style[1]);
|
|
2488
|
+
}
|
|
2489
|
+
Object.defineProperty(styles$1, groupName, {
|
|
2490
|
+
value: group,
|
|
2491
|
+
enumerable: false
|
|
2492
|
+
});
|
|
2493
|
+
}
|
|
2494
|
+
Object.defineProperty(styles$1, "codes", {
|
|
2495
|
+
value: codes,
|
|
2496
|
+
enumerable: false
|
|
2497
|
+
});
|
|
2498
|
+
styles$1.color.close = "\x1B[39m";
|
|
2499
|
+
styles$1.bgColor.close = "\x1B[49m";
|
|
2500
|
+
styles$1.color.ansi = wrapAnsi16();
|
|
2501
|
+
styles$1.color.ansi256 = wrapAnsi256();
|
|
2502
|
+
styles$1.color.ansi16m = wrapAnsi16m();
|
|
2503
|
+
styles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
|
|
2504
|
+
styles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
|
|
2505
|
+
styles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
2506
|
+
Object.defineProperties(styles$1, {
|
|
2507
|
+
rgbToAnsi256: {
|
|
2508
|
+
value(red$1, green$1, blue$1) {
|
|
2509
|
+
if (red$1 === green$1 && green$1 === blue$1) {
|
|
2510
|
+
if (red$1 < 8) return 16;
|
|
2511
|
+
if (red$1 > 248) return 231;
|
|
2512
|
+
return Math.round((red$1 - 8) / 247 * 24) + 232;
|
|
2513
|
+
}
|
|
2514
|
+
return 16 + 36 * Math.round(red$1 / 255 * 5) + 6 * Math.round(green$1 / 255 * 5) + Math.round(blue$1 / 255 * 5);
|
|
2515
|
+
},
|
|
2516
|
+
enumerable: false
|
|
2517
|
+
},
|
|
2518
|
+
hexToRgb: {
|
|
2519
|
+
value(hex) {
|
|
2520
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
2521
|
+
if (!matches) return [
|
|
2522
|
+
0,
|
|
2523
|
+
0,
|
|
2524
|
+
0
|
|
2525
|
+
];
|
|
2526
|
+
let [colorString] = matches;
|
|
2527
|
+
if (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join("");
|
|
2528
|
+
const integer = Number.parseInt(colorString, 16);
|
|
2529
|
+
return [
|
|
2530
|
+
integer >> 16 & 255,
|
|
2531
|
+
integer >> 8 & 255,
|
|
2532
|
+
integer & 255
|
|
2533
|
+
];
|
|
2534
|
+
},
|
|
2535
|
+
enumerable: false
|
|
2536
|
+
},
|
|
2537
|
+
hexToAnsi256: {
|
|
2538
|
+
value: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),
|
|
2539
|
+
enumerable: false
|
|
2540
|
+
},
|
|
2541
|
+
ansi256ToAnsi: {
|
|
2542
|
+
value(code) {
|
|
2543
|
+
if (code < 8) return 30 + code;
|
|
2544
|
+
if (code < 16) return 90 + (code - 8);
|
|
2545
|
+
let red$1;
|
|
2546
|
+
let green$1;
|
|
2547
|
+
let blue$1;
|
|
2548
|
+
if (code >= 232) {
|
|
2549
|
+
red$1 = ((code - 232) * 10 + 8) / 255;
|
|
2550
|
+
green$1 = red$1;
|
|
2551
|
+
blue$1 = red$1;
|
|
2552
|
+
} else {
|
|
2553
|
+
code -= 16;
|
|
2554
|
+
const remainder = code % 36;
|
|
2555
|
+
red$1 = Math.floor(code / 36) / 5;
|
|
2556
|
+
green$1 = Math.floor(remainder / 6) / 5;
|
|
2557
|
+
blue$1 = remainder % 6 / 5;
|
|
2558
|
+
}
|
|
2559
|
+
const value = Math.max(red$1, green$1, blue$1) * 2;
|
|
2560
|
+
if (value === 0) return 30;
|
|
2561
|
+
let result = 30 + (Math.round(blue$1) << 2 | Math.round(green$1) << 1 | Math.round(red$1));
|
|
2562
|
+
if (value === 2) result += 60;
|
|
2563
|
+
return result;
|
|
2564
|
+
},
|
|
2565
|
+
enumerable: false
|
|
2566
|
+
},
|
|
2567
|
+
rgbToAnsi: {
|
|
2568
|
+
value: (red$1, green$1, blue$1) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red$1, green$1, blue$1)),
|
|
2569
|
+
enumerable: false
|
|
2570
|
+
},
|
|
2571
|
+
hexToAnsi: {
|
|
2572
|
+
value: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),
|
|
2573
|
+
enumerable: false
|
|
2574
|
+
}
|
|
2575
|
+
});
|
|
2576
|
+
return styles$1;
|
|
2577
|
+
}
|
|
2578
|
+
const ansiStyles = assembleStyles();
|
|
2579
|
+
var ansi_styles_default = ansiStyles;
|
|
2580
|
+
|
|
2581
|
+
//#endregion
|
|
2582
|
+
//#region ../../node_modules/log-symbols/node_modules/chalk/source/vendor/supports-color/index.js
|
|
2583
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
|
|
2584
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
2585
|
+
const position = argv.indexOf(prefix + flag);
|
|
2586
|
+
const terminatorPosition = argv.indexOf("--");
|
|
2587
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
2588
|
+
}
|
|
2589
|
+
const { env } = process$1;
|
|
2590
|
+
let flagForceColor;
|
|
2591
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) flagForceColor = 0;
|
|
2592
|
+
else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) flagForceColor = 1;
|
|
2593
|
+
function envForceColor() {
|
|
2594
|
+
if ("FORCE_COLOR" in env) {
|
|
2595
|
+
if (env.FORCE_COLOR === "true") return 1;
|
|
2596
|
+
if (env.FORCE_COLOR === "false") return 0;
|
|
2597
|
+
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
function translateLevel(level) {
|
|
2601
|
+
if (level === 0) return false;
|
|
2602
|
+
return {
|
|
2603
|
+
level,
|
|
2604
|
+
hasBasic: true,
|
|
2605
|
+
has256: level >= 2,
|
|
2606
|
+
has16m: level >= 3
|
|
2607
|
+
};
|
|
2608
|
+
}
|
|
2609
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
2610
|
+
const noFlagForceColor = envForceColor();
|
|
2611
|
+
if (noFlagForceColor !== void 0) flagForceColor = noFlagForceColor;
|
|
2612
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
2613
|
+
if (forceColor === 0) return 0;
|
|
2614
|
+
if (sniffFlags) {
|
|
2615
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3;
|
|
2616
|
+
if (hasFlag("color=256")) return 2;
|
|
2617
|
+
}
|
|
2618
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) return 1;
|
|
2619
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
|
|
2620
|
+
const min = forceColor || 0;
|
|
2621
|
+
if (env.TERM === "dumb") return min;
|
|
2622
|
+
if (process$1.platform === "win32") {
|
|
2623
|
+
const osRelease = os.release().split(".");
|
|
2624
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
2625
|
+
return 1;
|
|
2626
|
+
}
|
|
2627
|
+
if ("CI" in env) {
|
|
2628
|
+
if ([
|
|
2629
|
+
"GITHUB_ACTIONS",
|
|
2630
|
+
"GITEA_ACTIONS",
|
|
2631
|
+
"CIRCLECI"
|
|
2632
|
+
].some((key) => key in env)) return 3;
|
|
2633
|
+
if ([
|
|
2634
|
+
"TRAVIS",
|
|
2635
|
+
"APPVEYOR",
|
|
2636
|
+
"GITLAB_CI",
|
|
2637
|
+
"BUILDKITE",
|
|
2638
|
+
"DRONE"
|
|
2639
|
+
].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
|
|
2640
|
+
return min;
|
|
2641
|
+
}
|
|
2642
|
+
if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
2643
|
+
if (env.COLORTERM === "truecolor") return 3;
|
|
2644
|
+
if (env.TERM === "xterm-kitty") return 3;
|
|
2645
|
+
if (env.TERM === "xterm-ghostty") return 3;
|
|
2646
|
+
if (env.TERM === "wezterm") return 3;
|
|
2647
|
+
if ("TERM_PROGRAM" in env) {
|
|
2648
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
2649
|
+
switch (env.TERM_PROGRAM) {
|
|
2650
|
+
case "iTerm.app": return version >= 3 ? 3 : 2;
|
|
2651
|
+
case "Apple_Terminal": return 2;
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
if (/-256(color)?$/i.test(env.TERM)) return 2;
|
|
2655
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
|
|
2656
|
+
if ("COLORTERM" in env) return 1;
|
|
2657
|
+
return min;
|
|
2658
|
+
}
|
|
2659
|
+
function createSupportsColor(stream, options = {}) {
|
|
2660
|
+
const level = _supportsColor(stream, {
|
|
2661
|
+
streamIsTTY: stream && stream.isTTY,
|
|
2662
|
+
...options
|
|
2663
|
+
});
|
|
2664
|
+
return translateLevel(level);
|
|
2665
|
+
}
|
|
2666
|
+
const supportsColor = {
|
|
2667
|
+
stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
|
|
2668
|
+
stderr: createSupportsColor({ isTTY: tty.isatty(2) })
|
|
2669
|
+
};
|
|
2670
|
+
var supports_color_default = supportsColor;
|
|
2671
|
+
|
|
2672
|
+
//#endregion
|
|
2673
|
+
//#region ../../node_modules/log-symbols/node_modules/chalk/source/utilities.js
|
|
2674
|
+
function stringReplaceAll(string, substring, replacer) {
|
|
2675
|
+
let index = string.indexOf(substring);
|
|
2676
|
+
if (index === -1) return string;
|
|
2677
|
+
const substringLength = substring.length;
|
|
2678
|
+
let endIndex = 0;
|
|
2679
|
+
let returnValue = "";
|
|
2680
|
+
do {
|
|
2681
|
+
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
2682
|
+
endIndex = index + substringLength;
|
|
2683
|
+
index = string.indexOf(substring, endIndex);
|
|
2684
|
+
} while (index !== -1);
|
|
2685
|
+
returnValue += string.slice(endIndex);
|
|
2686
|
+
return returnValue;
|
|
2687
|
+
}
|
|
2688
|
+
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
2689
|
+
let endIndex = 0;
|
|
2690
|
+
let returnValue = "";
|
|
2691
|
+
do {
|
|
2692
|
+
const gotCR = string[index - 1] === "\r";
|
|
2693
|
+
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
2694
|
+
endIndex = index + 1;
|
|
2695
|
+
index = string.indexOf("\n", endIndex);
|
|
2696
|
+
} while (index !== -1);
|
|
2697
|
+
returnValue += string.slice(endIndex);
|
|
2698
|
+
return returnValue;
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
//#endregion
|
|
2702
|
+
//#region ../../node_modules/log-symbols/node_modules/chalk/source/index.js
|
|
2703
|
+
const { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
2704
|
+
const GENERATOR = Symbol("GENERATOR");
|
|
2705
|
+
const STYLER = Symbol("STYLER");
|
|
2706
|
+
const IS_EMPTY = Symbol("IS_EMPTY");
|
|
2707
|
+
const levelMapping = [
|
|
2708
|
+
"ansi",
|
|
2709
|
+
"ansi",
|
|
2710
|
+
"ansi256",
|
|
2711
|
+
"ansi16m"
|
|
2712
|
+
];
|
|
2713
|
+
const styles = Object.create(null);
|
|
2714
|
+
const applyOptions = (object, options = {}) => {
|
|
2715
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
|
|
2716
|
+
const colorLevel = stdoutColor ? stdoutColor.level : 0;
|
|
2717
|
+
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
2718
|
+
};
|
|
2719
|
+
const chalkFactory = (options) => {
|
|
2720
|
+
const chalk$2 = (...strings) => strings.join(" ");
|
|
2721
|
+
applyOptions(chalk$2, options);
|
|
2722
|
+
Object.setPrototypeOf(chalk$2, createChalk.prototype);
|
|
2723
|
+
return chalk$2;
|
|
2724
|
+
};
|
|
2725
|
+
function createChalk(options) {
|
|
2726
|
+
return chalkFactory(options);
|
|
2727
|
+
}
|
|
2728
|
+
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
|
|
2729
|
+
for (const [styleName, style] of Object.entries(ansi_styles_default)) styles[styleName] = { get() {
|
|
2730
|
+
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
|
|
2731
|
+
Object.defineProperty(this, styleName, { value: builder });
|
|
2732
|
+
return builder;
|
|
2733
|
+
} };
|
|
2734
|
+
styles.visible = { get() {
|
|
2735
|
+
const builder = createBuilder(this, this[STYLER], true);
|
|
2736
|
+
Object.defineProperty(this, "visible", { value: builder });
|
|
2737
|
+
return builder;
|
|
2738
|
+
} };
|
|
2739
|
+
const getModelAnsi = (model, level, type, ...arguments_) => {
|
|
2740
|
+
if (model === "rgb") {
|
|
2741
|
+
if (level === "ansi16m") return ansi_styles_default[type].ansi16m(...arguments_);
|
|
2742
|
+
if (level === "ansi256") return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
|
|
2743
|
+
return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
|
|
2744
|
+
}
|
|
2745
|
+
if (model === "hex") return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
|
|
2746
|
+
return ansi_styles_default[type][model](...arguments_);
|
|
2747
|
+
};
|
|
2748
|
+
for (const model of [
|
|
2749
|
+
"rgb",
|
|
2750
|
+
"hex",
|
|
2751
|
+
"ansi256"
|
|
2752
|
+
]) {
|
|
2753
|
+
styles[model] = { get() {
|
|
2754
|
+
const { level } = this;
|
|
2755
|
+
return function(...arguments_) {
|
|
2756
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
|
|
2757
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
2758
|
+
};
|
|
2759
|
+
} };
|
|
2760
|
+
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
2761
|
+
styles[bgModel] = { get() {
|
|
2762
|
+
const { level } = this;
|
|
2763
|
+
return function(...arguments_) {
|
|
2764
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
|
|
2765
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
2766
|
+
};
|
|
2767
|
+
} };
|
|
2768
|
+
}
|
|
2769
|
+
const proto = Object.defineProperties(() => {}, {
|
|
2770
|
+
...styles,
|
|
2771
|
+
level: {
|
|
2772
|
+
enumerable: true,
|
|
2773
|
+
get() {
|
|
2774
|
+
return this[GENERATOR].level;
|
|
2775
|
+
},
|
|
2776
|
+
set(level) {
|
|
2777
|
+
this[GENERATOR].level = level;
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
});
|
|
2781
|
+
const createStyler = (open, close, parent) => {
|
|
2782
|
+
let openAll;
|
|
2783
|
+
let closeAll;
|
|
2784
|
+
if (parent === void 0) {
|
|
2785
|
+
openAll = open;
|
|
2786
|
+
closeAll = close;
|
|
2787
|
+
} else {
|
|
2788
|
+
openAll = parent.openAll + open;
|
|
2789
|
+
closeAll = close + parent.closeAll;
|
|
2790
|
+
}
|
|
2791
|
+
return {
|
|
2792
|
+
open,
|
|
2793
|
+
close,
|
|
2794
|
+
openAll,
|
|
2795
|
+
closeAll,
|
|
2796
|
+
parent
|
|
2797
|
+
};
|
|
2798
|
+
};
|
|
2799
|
+
const createBuilder = (self, _styler, _isEmpty) => {
|
|
2800
|
+
const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
2801
|
+
Object.setPrototypeOf(builder, proto);
|
|
2802
|
+
builder[GENERATOR] = self;
|
|
2803
|
+
builder[STYLER] = _styler;
|
|
2804
|
+
builder[IS_EMPTY] = _isEmpty;
|
|
2805
|
+
return builder;
|
|
2806
|
+
};
|
|
2807
|
+
const applyStyle = (self, string) => {
|
|
2808
|
+
if (self.level <= 0 || !string) return self[IS_EMPTY] ? "" : string;
|
|
2809
|
+
let styler = self[STYLER];
|
|
2810
|
+
if (styler === void 0) return string;
|
|
2811
|
+
const { openAll, closeAll } = styler;
|
|
2812
|
+
if (string.includes("\x1B")) while (styler !== void 0) {
|
|
2813
|
+
string = stringReplaceAll(string, styler.close, styler.open);
|
|
2814
|
+
styler = styler.parent;
|
|
2815
|
+
}
|
|
2816
|
+
const lfIndex = string.indexOf("\n");
|
|
2817
|
+
if (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
|
|
2818
|
+
return openAll + string + closeAll;
|
|
2819
|
+
};
|
|
2820
|
+
Object.defineProperties(createChalk.prototype, styles);
|
|
2821
|
+
const chalk = createChalk();
|
|
2822
|
+
const chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
2823
|
+
var source_default$1 = chalk;
|
|
2824
|
+
|
|
2825
|
+
//#endregion
|
|
2826
|
+
//#region ../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
2827
|
+
function isUnicodeSupported$1() {
|
|
2828
|
+
if (process$1.platform !== "win32") return process$1.env.TERM !== "linux";
|
|
2829
|
+
return Boolean(process$1.env.CI) || Boolean(process$1.env.WT_SESSION) || Boolean(process$1.env.TERMINUS_SUBLIME) || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
//#endregion
|
|
2833
|
+
//#region ../../node_modules/log-symbols/index.js
|
|
2834
|
+
const main = {
|
|
2835
|
+
info: source_default$1.blue("ℹ"),
|
|
2836
|
+
success: source_default$1.green("✔"),
|
|
2837
|
+
warning: source_default$1.yellow("⚠"),
|
|
2838
|
+
error: source_default$1.red("✖")
|
|
2839
|
+
};
|
|
2840
|
+
const fallback = {
|
|
2841
|
+
info: source_default$1.blue("i"),
|
|
2842
|
+
success: source_default$1.green("√"),
|
|
2843
|
+
warning: source_default$1.yellow("‼"),
|
|
2844
|
+
error: source_default$1.red("×")
|
|
2845
|
+
};
|
|
2846
|
+
const logSymbols = isUnicodeSupported$1() ? main : fallback;
|
|
2847
|
+
var log_symbols_default = logSymbols;
|
|
2848
|
+
|
|
2849
|
+
//#endregion
|
|
2850
|
+
//#region ../../node_modules/ora/node_modules/strip-ansi/node_modules/ansi-regex/index.js
|
|
2851
|
+
function ansiRegex({ onlyFirst = false } = {}) {
|
|
2852
|
+
return new RegExp(`(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]`, onlyFirst ? void 0 : "g");
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
//#endregion
|
|
2856
|
+
//#region ../../node_modules/ora/node_modules/strip-ansi/index.js
|
|
2857
|
+
const regex = ansiRegex();
|
|
2858
|
+
function stripAnsi(string) {
|
|
2859
|
+
if (typeof string !== "string") throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
2860
|
+
return string.replace(regex, "");
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
//#endregion
|
|
2864
|
+
//#region ../../node_modules/get-east-asian-width/lookup.js
|
|
2865
|
+
function isAmbiguous(x) {
|
|
2866
|
+
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;
|
|
2867
|
+
}
|
|
2868
|
+
function isFullWidth(x) {
|
|
2869
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
2870
|
+
}
|
|
2871
|
+
function isWide(x) {
|
|
2872
|
+
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
//#endregion
|
|
2876
|
+
//#region ../../node_modules/get-east-asian-width/index.js
|
|
2877
|
+
function validate(codePoint) {
|
|
2878
|
+
if (!Number.isSafeInteger(codePoint)) throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
2879
|
+
}
|
|
2880
|
+
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
2881
|
+
validate(codePoint);
|
|
2882
|
+
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) return 2;
|
|
2883
|
+
return 1;
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
//#endregion
|
|
2887
|
+
//#region ../../node_modules/ora/node_modules/string-width/node_modules/emoji-regex/index.js
|
|
2888
|
+
var require_emoji_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/ora/node_modules/string-width/node_modules/emoji-regex/index.js": ((exports, module) => {
|
|
2889
|
+
module.exports = () => {
|
|
2890
|
+
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
2891
|
+
};
|
|
2892
|
+
}) });
|
|
2893
|
+
|
|
2894
|
+
//#endregion
|
|
2895
|
+
//#region ../../node_modules/ora/node_modules/string-width/index.js
|
|
2896
|
+
var import_emoji_regex = /* @__PURE__ */ __toESM(require_emoji_regex(), 1);
|
|
2897
|
+
const segmenter = new Intl.Segmenter();
|
|
2898
|
+
const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
2899
|
+
function stringWidth(string, options = {}) {
|
|
2900
|
+
if (typeof string !== "string" || string.length === 0) return 0;
|
|
2901
|
+
const { ambiguousIsNarrow = true, countAnsiEscapeCodes = false } = options;
|
|
2902
|
+
if (!countAnsiEscapeCodes) string = stripAnsi(string);
|
|
2903
|
+
if (string.length === 0) return 0;
|
|
2904
|
+
let width = 0;
|
|
2905
|
+
const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
|
|
2906
|
+
for (const { segment: character } of segmenter.segment(string)) {
|
|
2907
|
+
const codePoint = character.codePointAt(0);
|
|
2908
|
+
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) continue;
|
|
2909
|
+
if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) continue;
|
|
2910
|
+
if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) continue;
|
|
2911
|
+
if (codePoint >= 55296 && codePoint <= 57343) continue;
|
|
2912
|
+
if (codePoint >= 65024 && codePoint <= 65039) continue;
|
|
2913
|
+
if (defaultIgnorableCodePointRegex.test(character)) continue;
|
|
2914
|
+
if ((0, import_emoji_regex.default)().test(character)) {
|
|
2915
|
+
width += 2;
|
|
2916
|
+
continue;
|
|
2917
|
+
}
|
|
2918
|
+
width += eastAsianWidth(codePoint, eastAsianWidthOptions);
|
|
2919
|
+
}
|
|
2920
|
+
return width;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
//#endregion
|
|
2924
|
+
//#region ../../node_modules/is-interactive/index.js
|
|
2925
|
+
function isInteractive({ stream = process.stdout } = {}) {
|
|
2926
|
+
return Boolean(stream && stream.isTTY && process.env.TERM !== "dumb" && !("CI" in process.env));
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
//#endregion
|
|
2930
|
+
//#region ../../node_modules/is-unicode-supported/index.js
|
|
2931
|
+
function isUnicodeSupported() {
|
|
2932
|
+
const { env: env$2 } = process$1;
|
|
2933
|
+
const { TERM: TERM$1, TERM_PROGRAM } = env$2;
|
|
2934
|
+
if (process$1.platform !== "win32") return TERM$1 !== "linux";
|
|
2935
|
+
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM$1 === "xterm-256color" || TERM$1 === "alacritty" || TERM$1 === "rxvt-unicode" || TERM$1 === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
//#endregion
|
|
2939
|
+
//#region ../../node_modules/stdin-discarder/index.js
|
|
2940
|
+
const ASCII_ETX_CODE = 3;
|
|
2941
|
+
var StdinDiscarder = class {
|
|
2942
|
+
#activeCount = 0;
|
|
2943
|
+
start() {
|
|
2944
|
+
this.#activeCount++;
|
|
2945
|
+
if (this.#activeCount === 1) this.#realStart();
|
|
2946
|
+
}
|
|
2947
|
+
stop() {
|
|
2948
|
+
if (this.#activeCount <= 0) throw new Error("`stop` called more times than `start`");
|
|
2949
|
+
this.#activeCount--;
|
|
2950
|
+
if (this.#activeCount === 0) this.#realStop();
|
|
2951
|
+
}
|
|
2952
|
+
#realStart() {
|
|
2953
|
+
if (process$1.platform === "win32" || !process$1.stdin.isTTY) return;
|
|
2954
|
+
process$1.stdin.setRawMode(true);
|
|
2955
|
+
process$1.stdin.on("data", this.#handleInput);
|
|
2956
|
+
process$1.stdin.resume();
|
|
2957
|
+
}
|
|
2958
|
+
#realStop() {
|
|
2959
|
+
if (!process$1.stdin.isTTY) return;
|
|
2960
|
+
process$1.stdin.off("data", this.#handleInput);
|
|
2961
|
+
process$1.stdin.pause();
|
|
2962
|
+
process$1.stdin.setRawMode(false);
|
|
2963
|
+
}
|
|
2964
|
+
#handleInput(chunk) {
|
|
2965
|
+
if (chunk[0] === ASCII_ETX_CODE) process$1.emit("SIGINT");
|
|
2966
|
+
}
|
|
2967
|
+
};
|
|
2968
|
+
const stdinDiscarder = new StdinDiscarder();
|
|
2969
|
+
var stdin_discarder_default = stdinDiscarder;
|
|
2970
|
+
|
|
2971
|
+
//#endregion
|
|
2972
|
+
//#region ../../node_modules/ora/index.js
|
|
2973
|
+
var import_cli_spinners = /* @__PURE__ */ __toESM(require_cli_spinners(), 1);
|
|
2974
|
+
var import_cli_spinners$1 = /* @__PURE__ */ __toESM(require_cli_spinners(), 1);
|
|
2975
|
+
var Ora = class {
|
|
2976
|
+
#linesToClear = 0;
|
|
2977
|
+
#isDiscardingStdin = false;
|
|
2978
|
+
#lineCount = 0;
|
|
2979
|
+
#frameIndex = -1;
|
|
2980
|
+
#lastSpinnerFrameTime = 0;
|
|
2981
|
+
#options;
|
|
2982
|
+
#spinner;
|
|
2983
|
+
#stream;
|
|
2984
|
+
#id;
|
|
2985
|
+
#initialInterval;
|
|
2986
|
+
#isEnabled;
|
|
2987
|
+
#isSilent;
|
|
2988
|
+
#indent;
|
|
2989
|
+
#text;
|
|
2990
|
+
#prefixText;
|
|
2991
|
+
#suffixText;
|
|
2992
|
+
color;
|
|
2993
|
+
constructor(options) {
|
|
2994
|
+
if (typeof options === "string") options = { text: options };
|
|
2995
|
+
this.#options = {
|
|
2996
|
+
color: "cyan",
|
|
2997
|
+
stream: process$1.stderr,
|
|
2998
|
+
discardStdin: true,
|
|
2999
|
+
hideCursor: true,
|
|
3000
|
+
...options
|
|
3001
|
+
};
|
|
3002
|
+
this.color = this.#options.color;
|
|
3003
|
+
this.spinner = this.#options.spinner;
|
|
3004
|
+
this.#initialInterval = this.#options.interval;
|
|
3005
|
+
this.#stream = this.#options.stream;
|
|
3006
|
+
this.#isEnabled = typeof this.#options.isEnabled === "boolean" ? this.#options.isEnabled : isInteractive({ stream: this.#stream });
|
|
3007
|
+
this.#isSilent = typeof this.#options.isSilent === "boolean" ? this.#options.isSilent : false;
|
|
3008
|
+
this.text = this.#options.text;
|
|
3009
|
+
this.prefixText = this.#options.prefixText;
|
|
3010
|
+
this.suffixText = this.#options.suffixText;
|
|
3011
|
+
this.indent = this.#options.indent;
|
|
3012
|
+
if (process$1.env.NODE_ENV === "test") {
|
|
3013
|
+
this._stream = this.#stream;
|
|
3014
|
+
this._isEnabled = this.#isEnabled;
|
|
3015
|
+
Object.defineProperty(this, "_linesToClear", {
|
|
3016
|
+
get() {
|
|
3017
|
+
return this.#linesToClear;
|
|
3018
|
+
},
|
|
3019
|
+
set(newValue) {
|
|
3020
|
+
this.#linesToClear = newValue;
|
|
3021
|
+
}
|
|
3022
|
+
});
|
|
3023
|
+
Object.defineProperty(this, "_frameIndex", { get() {
|
|
3024
|
+
return this.#frameIndex;
|
|
3025
|
+
} });
|
|
3026
|
+
Object.defineProperty(this, "_lineCount", { get() {
|
|
3027
|
+
return this.#lineCount;
|
|
3028
|
+
} });
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
get indent() {
|
|
3032
|
+
return this.#indent;
|
|
3033
|
+
}
|
|
3034
|
+
set indent(indent = 0) {
|
|
3035
|
+
if (!(indent >= 0 && Number.isInteger(indent))) throw new Error("The `indent` option must be an integer from 0 and up");
|
|
3036
|
+
this.#indent = indent;
|
|
3037
|
+
this.#updateLineCount();
|
|
3038
|
+
}
|
|
3039
|
+
get interval() {
|
|
3040
|
+
return this.#initialInterval ?? this.#spinner.interval ?? 100;
|
|
3041
|
+
}
|
|
3042
|
+
get spinner() {
|
|
3043
|
+
return this.#spinner;
|
|
3044
|
+
}
|
|
3045
|
+
set spinner(spinner$1) {
|
|
3046
|
+
this.#frameIndex = -1;
|
|
3047
|
+
this.#initialInterval = void 0;
|
|
3048
|
+
if (typeof spinner$1 === "object") {
|
|
3049
|
+
if (spinner$1.frames === void 0) throw new Error("The given spinner must have a `frames` property");
|
|
3050
|
+
this.#spinner = spinner$1;
|
|
3051
|
+
} else if (!isUnicodeSupported()) this.#spinner = import_cli_spinners.default.line;
|
|
3052
|
+
else if (spinner$1 === void 0) this.#spinner = import_cli_spinners.default.dots;
|
|
3053
|
+
else if (spinner$1 !== "default" && import_cli_spinners.default[spinner$1]) this.#spinner = import_cli_spinners.default[spinner$1];
|
|
3054
|
+
else throw new Error(`There is no built-in spinner named '${spinner$1}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);
|
|
3055
|
+
}
|
|
3056
|
+
get text() {
|
|
3057
|
+
return this.#text;
|
|
3058
|
+
}
|
|
3059
|
+
set text(value = "") {
|
|
3060
|
+
this.#text = value;
|
|
3061
|
+
this.#updateLineCount();
|
|
3062
|
+
}
|
|
3063
|
+
get prefixText() {
|
|
3064
|
+
return this.#prefixText;
|
|
3065
|
+
}
|
|
3066
|
+
set prefixText(value = "") {
|
|
3067
|
+
this.#prefixText = value;
|
|
3068
|
+
this.#updateLineCount();
|
|
3069
|
+
}
|
|
3070
|
+
get suffixText() {
|
|
3071
|
+
return this.#suffixText;
|
|
3072
|
+
}
|
|
3073
|
+
set suffixText(value = "") {
|
|
3074
|
+
this.#suffixText = value;
|
|
3075
|
+
this.#updateLineCount();
|
|
3076
|
+
}
|
|
3077
|
+
get isSpinning() {
|
|
3078
|
+
return this.#id !== void 0;
|
|
3079
|
+
}
|
|
3080
|
+
#getFullPrefixText(prefixText = this.#prefixText, postfix = " ") {
|
|
3081
|
+
if (typeof prefixText === "string" && prefixText !== "") return prefixText + postfix;
|
|
3082
|
+
if (typeof prefixText === "function") return prefixText() + postfix;
|
|
3083
|
+
return "";
|
|
3084
|
+
}
|
|
3085
|
+
#getFullSuffixText(suffixText = this.#suffixText, prefix = " ") {
|
|
3086
|
+
if (typeof suffixText === "string" && suffixText !== "") return prefix + suffixText;
|
|
3087
|
+
if (typeof suffixText === "function") return prefix + suffixText();
|
|
3088
|
+
return "";
|
|
3089
|
+
}
|
|
3090
|
+
#updateLineCount() {
|
|
3091
|
+
const columns = this.#stream.columns ?? 80;
|
|
3092
|
+
const fullPrefixText = this.#getFullPrefixText(this.#prefixText, "-");
|
|
3093
|
+
const fullSuffixText = this.#getFullSuffixText(this.#suffixText, "-");
|
|
3094
|
+
const fullText = " ".repeat(this.#indent) + fullPrefixText + "--" + this.#text + "--" + fullSuffixText;
|
|
3095
|
+
this.#lineCount = 0;
|
|
3096
|
+
for (const line of stripAnsi(fullText).split("\n")) this.#lineCount += Math.max(1, Math.ceil(stringWidth(line, { countAnsiEscapeCodes: true }) / columns));
|
|
3097
|
+
}
|
|
3098
|
+
get isEnabled() {
|
|
3099
|
+
return this.#isEnabled && !this.#isSilent;
|
|
3100
|
+
}
|
|
3101
|
+
set isEnabled(value) {
|
|
3102
|
+
if (typeof value !== "boolean") throw new TypeError("The `isEnabled` option must be a boolean");
|
|
3103
|
+
this.#isEnabled = value;
|
|
3104
|
+
}
|
|
3105
|
+
get isSilent() {
|
|
3106
|
+
return this.#isSilent;
|
|
3107
|
+
}
|
|
3108
|
+
set isSilent(value) {
|
|
3109
|
+
if (typeof value !== "boolean") throw new TypeError("The `isSilent` option must be a boolean");
|
|
3110
|
+
this.#isSilent = value;
|
|
3111
|
+
}
|
|
3112
|
+
frame() {
|
|
3113
|
+
const now = Date.now();
|
|
3114
|
+
if (this.#frameIndex === -1 || now - this.#lastSpinnerFrameTime >= this.interval) {
|
|
3115
|
+
this.#frameIndex = ++this.#frameIndex % this.#spinner.frames.length;
|
|
3116
|
+
this.#lastSpinnerFrameTime = now;
|
|
3117
|
+
}
|
|
3118
|
+
const { frames } = this.#spinner;
|
|
3119
|
+
let frame = frames[this.#frameIndex];
|
|
3120
|
+
if (this.color) frame = source_default[this.color](frame);
|
|
3121
|
+
const fullPrefixText = typeof this.#prefixText === "string" && this.#prefixText !== "" ? this.#prefixText + " " : "";
|
|
3122
|
+
const fullText = typeof this.text === "string" ? " " + this.text : "";
|
|
3123
|
+
const fullSuffixText = typeof this.#suffixText === "string" && this.#suffixText !== "" ? " " + this.#suffixText : "";
|
|
3124
|
+
return fullPrefixText + frame + fullText + fullSuffixText;
|
|
3125
|
+
}
|
|
3126
|
+
clear() {
|
|
3127
|
+
if (!this.#isEnabled || !this.#stream.isTTY) return this;
|
|
3128
|
+
this.#stream.cursorTo(0);
|
|
3129
|
+
for (let index = 0; index < this.#linesToClear; index++) {
|
|
3130
|
+
if (index > 0) this.#stream.moveCursor(0, -1);
|
|
3131
|
+
this.#stream.clearLine(1);
|
|
3132
|
+
}
|
|
3133
|
+
if (this.#indent || this.lastIndent !== this.#indent) this.#stream.cursorTo(this.#indent);
|
|
3134
|
+
this.lastIndent = this.#indent;
|
|
3135
|
+
this.#linesToClear = 0;
|
|
3136
|
+
return this;
|
|
3137
|
+
}
|
|
3138
|
+
render() {
|
|
3139
|
+
if (this.#isSilent) return this;
|
|
3140
|
+
this.clear();
|
|
3141
|
+
this.#stream.write(this.frame());
|
|
3142
|
+
this.#linesToClear = this.#lineCount;
|
|
3143
|
+
return this;
|
|
3144
|
+
}
|
|
3145
|
+
start(text) {
|
|
3146
|
+
if (text) this.text = text;
|
|
3147
|
+
if (this.#isSilent) return this;
|
|
3148
|
+
if (!this.#isEnabled) {
|
|
3149
|
+
if (this.text) this.#stream.write(`- ${this.text}\n`);
|
|
3150
|
+
return this;
|
|
3151
|
+
}
|
|
3152
|
+
if (this.isSpinning) return this;
|
|
3153
|
+
if (this.#options.hideCursor) cli_cursor_default.hide(this.#stream);
|
|
3154
|
+
if (this.#options.discardStdin && process$1.stdin.isTTY) {
|
|
3155
|
+
this.#isDiscardingStdin = true;
|
|
3156
|
+
stdin_discarder_default.start();
|
|
3157
|
+
}
|
|
3158
|
+
this.render();
|
|
3159
|
+
this.#id = setInterval(this.render.bind(this), this.interval);
|
|
3160
|
+
return this;
|
|
3161
|
+
}
|
|
3162
|
+
stop() {
|
|
3163
|
+
if (!this.#isEnabled) return this;
|
|
3164
|
+
clearInterval(this.#id);
|
|
3165
|
+
this.#id = void 0;
|
|
3166
|
+
this.#frameIndex = 0;
|
|
3167
|
+
this.clear();
|
|
3168
|
+
if (this.#options.hideCursor) cli_cursor_default.show(this.#stream);
|
|
3169
|
+
if (this.#options.discardStdin && process$1.stdin.isTTY && this.#isDiscardingStdin) {
|
|
3170
|
+
stdin_discarder_default.stop();
|
|
3171
|
+
this.#isDiscardingStdin = false;
|
|
3172
|
+
}
|
|
3173
|
+
return this;
|
|
3174
|
+
}
|
|
3175
|
+
succeed(text) {
|
|
3176
|
+
return this.stopAndPersist({
|
|
3177
|
+
symbol: log_symbols_default.success,
|
|
3178
|
+
text
|
|
3179
|
+
});
|
|
3180
|
+
}
|
|
3181
|
+
fail(text) {
|
|
3182
|
+
return this.stopAndPersist({
|
|
3183
|
+
symbol: log_symbols_default.error,
|
|
3184
|
+
text
|
|
3185
|
+
});
|
|
3186
|
+
}
|
|
3187
|
+
warn(text) {
|
|
3188
|
+
return this.stopAndPersist({
|
|
3189
|
+
symbol: log_symbols_default.warning,
|
|
3190
|
+
text
|
|
3191
|
+
});
|
|
3192
|
+
}
|
|
3193
|
+
info(text) {
|
|
3194
|
+
return this.stopAndPersist({
|
|
3195
|
+
symbol: log_symbols_default.info,
|
|
3196
|
+
text
|
|
3197
|
+
});
|
|
3198
|
+
}
|
|
3199
|
+
stopAndPersist(options = {}) {
|
|
3200
|
+
if (this.#isSilent) return this;
|
|
3201
|
+
const prefixText = options.prefixText ?? this.#prefixText;
|
|
3202
|
+
const fullPrefixText = this.#getFullPrefixText(prefixText, " ");
|
|
3203
|
+
const symbolText = options.symbol ?? " ";
|
|
3204
|
+
const text = options.text ?? this.text;
|
|
3205
|
+
const fullText = typeof text === "string" ? (symbolText ? " " : "") + text : "";
|
|
3206
|
+
const suffixText = options.suffixText ?? this.#suffixText;
|
|
3207
|
+
const fullSuffixText = this.#getFullSuffixText(suffixText, " ");
|
|
3208
|
+
const textToWrite = fullPrefixText + symbolText + fullText + fullSuffixText + "\n";
|
|
3209
|
+
this.stop();
|
|
3210
|
+
this.#stream.write(textToWrite);
|
|
3211
|
+
return this;
|
|
3212
|
+
}
|
|
3213
|
+
};
|
|
3214
|
+
function ora(options) {
|
|
3215
|
+
return new Ora(options);
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
//#endregion
|
|
3219
|
+
//#region src/utils/spinner.ts
|
|
3220
|
+
function spinner(text, options) {
|
|
3221
|
+
return ora({
|
|
3222
|
+
text,
|
|
3223
|
+
isSilent: options?.silent
|
|
3224
|
+
});
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
//#endregion
|
|
3228
|
+
export { __commonJS, __require, __toESM, highlighter, isUnicodeSupported, logger, onExit, spinner };
|
|
3229
|
+
//# sourceMappingURL=spinner-B-Vrcyil.js.map
|