@bugbug-io/cli 14.3.1 → 14.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NavigatorApp-XRXZDTTA.js +11134 -0
- package/dist/{app-EAMEJJHZ.js → app-3N4QP7FQ.js} +12 -7
- package/dist/build-ASSKRVNB.js +51 -0
- package/dist/build-ER7UIJGW.js +44 -0
- package/dist/{chunk-BSHFIPEX.js → chunk-3PJ4ZE2N.js} +7 -4
- package/dist/{chunk-PR4QN5HX.js → chunk-4GQA3Z4V.js} +3 -1
- package/dist/chunk-6P445X23.js +27655 -0
- package/dist/chunk-EDZEGHXW.js +1437 -0
- package/dist/{chunk-WZXVS2EO.js → chunk-OM7HXLEF.js} +7 -4
- package/dist/{chunk-MSMINLHT.js → chunk-QAN5Q46C.js} +22 -11
- package/dist/chunk-WQDTXQDD.js +4138 -0
- package/dist/chunk-XLIBEETK.js +16 -0
- package/dist/devtools-YPXDFB7S.js +3693 -0
- package/dist/{getMachineId-bsd-QKL32ATF.js → getMachineId-bsd-WUTM4C2C.js} +8 -6
- package/dist/{getMachineId-darwin-MNPDTPSO.js → getMachineId-darwin-JTVFBJXK.js} +8 -6
- package/dist/{getMachineId-linux-6BBPG345.js → getMachineId-linux-OOJQHJT4.js} +7 -5
- package/dist/{getMachineId-unsupported-A7ZABDRN.js → getMachineId-unsupported-SXBHXUM4.js} +7 -5
- package/dist/{getMachineId-win-WYJ4B4CV.js → getMachineId-win-MDRAAXSI.js} +8 -6
- package/dist/index.js +3087 -66
- package/dist/react-U27HC6EG.js +11 -0
- package/dist/{render-U36YSDSA.js → render-CSMURV5U.js} +7 -5
- package/package.json +7 -9
- package/dist/NavigatorApp-FHG7FP7M.js +0 -3304
|
@@ -0,0 +1,4138 @@
|
|
|
1
|
+
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="749dd572-1878-580b-82ab-66bff13dc0b6")}catch(e){}}();
|
|
3
|
+
import { createRequire as __nodeCreateRequire } from 'node:module';
|
|
4
|
+
const require = __nodeCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
Box_default,
|
|
7
|
+
Text,
|
|
8
|
+
measure_element_default,
|
|
9
|
+
use_input_default
|
|
10
|
+
} from "./chunk-6P445X23.js";
|
|
11
|
+
import {
|
|
12
|
+
require_react
|
|
13
|
+
} from "./chunk-EDZEGHXW.js";
|
|
14
|
+
import {
|
|
15
|
+
__commonJS,
|
|
16
|
+
__toESM
|
|
17
|
+
} from "./chunk-4GQA3Z4V.js";
|
|
18
|
+
|
|
19
|
+
// ../../node_modules/deepmerge/dist/cjs.js
|
|
20
|
+
var require_cjs = __commonJS({
|
|
21
|
+
"../../node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
22
|
+
"use strict";
|
|
23
|
+
var isMergeableObject = function isMergeableObject2(value) {
|
|
24
|
+
return isNonNullObject(value) && !isSpecial(value);
|
|
25
|
+
};
|
|
26
|
+
function isNonNullObject(value) {
|
|
27
|
+
return !!value && typeof value === "object";
|
|
28
|
+
}
|
|
29
|
+
function isSpecial(value) {
|
|
30
|
+
var stringValue = Object.prototype.toString.call(value);
|
|
31
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
|
|
32
|
+
}
|
|
33
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
34
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
35
|
+
function isReactElement(value) {
|
|
36
|
+
return value.$$typeof === REACT_ELEMENT_TYPE;
|
|
37
|
+
}
|
|
38
|
+
function emptyTarget(val) {
|
|
39
|
+
return Array.isArray(val) ? [] : {};
|
|
40
|
+
}
|
|
41
|
+
function cloneUnlessOtherwiseSpecified(value, options) {
|
|
42
|
+
return options.clone !== false && options.isMergeableObject(value) ? deepmerge2(emptyTarget(value), value, options) : value;
|
|
43
|
+
}
|
|
44
|
+
function defaultArrayMerge(target, source, options) {
|
|
45
|
+
return target.concat(source).map(function(element) {
|
|
46
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function getMergeFunction(key, options) {
|
|
50
|
+
if (!options.customMerge) {
|
|
51
|
+
return deepmerge2;
|
|
52
|
+
}
|
|
53
|
+
var customMerge = options.customMerge(key);
|
|
54
|
+
return typeof customMerge === "function" ? customMerge : deepmerge2;
|
|
55
|
+
}
|
|
56
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
57
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
58
|
+
return Object.propertyIsEnumerable.call(target, symbol);
|
|
59
|
+
}) : [];
|
|
60
|
+
}
|
|
61
|
+
function getKeys(target) {
|
|
62
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
63
|
+
}
|
|
64
|
+
function propertyIsOnObject(object, property) {
|
|
65
|
+
try {
|
|
66
|
+
return property in object;
|
|
67
|
+
} catch (_) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function propertyIsUnsafe(target, key) {
|
|
72
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
73
|
+
}
|
|
74
|
+
function mergeObject(target, source, options) {
|
|
75
|
+
var destination = {};
|
|
76
|
+
if (options.isMergeableObject(target)) {
|
|
77
|
+
getKeys(target).forEach(function(key) {
|
|
78
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
getKeys(source).forEach(function(key) {
|
|
82
|
+
if (propertyIsUnsafe(target, key)) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
86
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
87
|
+
} else {
|
|
88
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
return destination;
|
|
92
|
+
}
|
|
93
|
+
function deepmerge2(target, source, options) {
|
|
94
|
+
options = options || {};
|
|
95
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
96
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
97
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
98
|
+
var sourceIsArray = Array.isArray(source);
|
|
99
|
+
var targetIsArray = Array.isArray(target);
|
|
100
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
101
|
+
if (!sourceAndTargetTypesMatch) {
|
|
102
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
103
|
+
} else if (sourceIsArray) {
|
|
104
|
+
return options.arrayMerge(target, source, options);
|
|
105
|
+
} else {
|
|
106
|
+
return mergeObject(target, source, options);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
deepmerge2.all = function deepmergeAll(array, options) {
|
|
110
|
+
if (!Array.isArray(array)) {
|
|
111
|
+
throw new Error("first argument should be an array");
|
|
112
|
+
}
|
|
113
|
+
return array.reduce(function(prev, next) {
|
|
114
|
+
return deepmerge2(prev, next, options);
|
|
115
|
+
}, {});
|
|
116
|
+
};
|
|
117
|
+
var deepmerge_1 = deepmerge2;
|
|
118
|
+
module.exports = deepmerge_1;
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
// ../../node_modules/@inkjs/ui/build/components/badge/badge.js
|
|
123
|
+
var import_react2 = __toESM(require_react(), 1);
|
|
124
|
+
|
|
125
|
+
// ../../node_modules/@inkjs/ui/build/theme.js
|
|
126
|
+
var import_react = __toESM(require_react(), 1);
|
|
127
|
+
var import_deepmerge = __toESM(require_cjs(), 1);
|
|
128
|
+
|
|
129
|
+
// ../../node_modules/is-unicode-supported/index.js
|
|
130
|
+
import process from "process";
|
|
131
|
+
function isUnicodeSupported() {
|
|
132
|
+
const { env: env2 } = process;
|
|
133
|
+
const { TERM, TERM_PROGRAM } = env2;
|
|
134
|
+
if (process.platform !== "win32") {
|
|
135
|
+
return TERM !== "linux";
|
|
136
|
+
}
|
|
137
|
+
return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// ../../node_modules/figures/index.js
|
|
141
|
+
var common = {
|
|
142
|
+
circleQuestionMark: "(?)",
|
|
143
|
+
questionMarkPrefix: "(?)",
|
|
144
|
+
square: "\u2588",
|
|
145
|
+
squareDarkShade: "\u2593",
|
|
146
|
+
squareMediumShade: "\u2592",
|
|
147
|
+
squareLightShade: "\u2591",
|
|
148
|
+
squareTop: "\u2580",
|
|
149
|
+
squareBottom: "\u2584",
|
|
150
|
+
squareLeft: "\u258C",
|
|
151
|
+
squareRight: "\u2590",
|
|
152
|
+
squareCenter: "\u25A0",
|
|
153
|
+
bullet: "\u25CF",
|
|
154
|
+
dot: "\u2024",
|
|
155
|
+
ellipsis: "\u2026",
|
|
156
|
+
pointerSmall: "\u203A",
|
|
157
|
+
triangleUp: "\u25B2",
|
|
158
|
+
triangleUpSmall: "\u25B4",
|
|
159
|
+
triangleDown: "\u25BC",
|
|
160
|
+
triangleDownSmall: "\u25BE",
|
|
161
|
+
triangleLeftSmall: "\u25C2",
|
|
162
|
+
triangleRightSmall: "\u25B8",
|
|
163
|
+
home: "\u2302",
|
|
164
|
+
heart: "\u2665",
|
|
165
|
+
musicNote: "\u266A",
|
|
166
|
+
musicNoteBeamed: "\u266B",
|
|
167
|
+
arrowUp: "\u2191",
|
|
168
|
+
arrowDown: "\u2193",
|
|
169
|
+
arrowLeft: "\u2190",
|
|
170
|
+
arrowRight: "\u2192",
|
|
171
|
+
arrowLeftRight: "\u2194",
|
|
172
|
+
arrowUpDown: "\u2195",
|
|
173
|
+
almostEqual: "\u2248",
|
|
174
|
+
notEqual: "\u2260",
|
|
175
|
+
lessOrEqual: "\u2264",
|
|
176
|
+
greaterOrEqual: "\u2265",
|
|
177
|
+
identical: "\u2261",
|
|
178
|
+
infinity: "\u221E",
|
|
179
|
+
subscriptZero: "\u2080",
|
|
180
|
+
subscriptOne: "\u2081",
|
|
181
|
+
subscriptTwo: "\u2082",
|
|
182
|
+
subscriptThree: "\u2083",
|
|
183
|
+
subscriptFour: "\u2084",
|
|
184
|
+
subscriptFive: "\u2085",
|
|
185
|
+
subscriptSix: "\u2086",
|
|
186
|
+
subscriptSeven: "\u2087",
|
|
187
|
+
subscriptEight: "\u2088",
|
|
188
|
+
subscriptNine: "\u2089",
|
|
189
|
+
oneHalf: "\xBD",
|
|
190
|
+
oneThird: "\u2153",
|
|
191
|
+
oneQuarter: "\xBC",
|
|
192
|
+
oneFifth: "\u2155",
|
|
193
|
+
oneSixth: "\u2159",
|
|
194
|
+
oneEighth: "\u215B",
|
|
195
|
+
twoThirds: "\u2154",
|
|
196
|
+
twoFifths: "\u2156",
|
|
197
|
+
threeQuarters: "\xBE",
|
|
198
|
+
threeFifths: "\u2157",
|
|
199
|
+
threeEighths: "\u215C",
|
|
200
|
+
fourFifths: "\u2158",
|
|
201
|
+
fiveSixths: "\u215A",
|
|
202
|
+
fiveEighths: "\u215D",
|
|
203
|
+
sevenEighths: "\u215E",
|
|
204
|
+
line: "\u2500",
|
|
205
|
+
lineBold: "\u2501",
|
|
206
|
+
lineDouble: "\u2550",
|
|
207
|
+
lineDashed0: "\u2504",
|
|
208
|
+
lineDashed1: "\u2505",
|
|
209
|
+
lineDashed2: "\u2508",
|
|
210
|
+
lineDashed3: "\u2509",
|
|
211
|
+
lineDashed4: "\u254C",
|
|
212
|
+
lineDashed5: "\u254D",
|
|
213
|
+
lineDashed6: "\u2574",
|
|
214
|
+
lineDashed7: "\u2576",
|
|
215
|
+
lineDashed8: "\u2578",
|
|
216
|
+
lineDashed9: "\u257A",
|
|
217
|
+
lineDashed10: "\u257C",
|
|
218
|
+
lineDashed11: "\u257E",
|
|
219
|
+
lineDashed12: "\u2212",
|
|
220
|
+
lineDashed13: "\u2013",
|
|
221
|
+
lineDashed14: "\u2010",
|
|
222
|
+
lineDashed15: "\u2043",
|
|
223
|
+
lineVertical: "\u2502",
|
|
224
|
+
lineVerticalBold: "\u2503",
|
|
225
|
+
lineVerticalDouble: "\u2551",
|
|
226
|
+
lineVerticalDashed0: "\u2506",
|
|
227
|
+
lineVerticalDashed1: "\u2507",
|
|
228
|
+
lineVerticalDashed2: "\u250A",
|
|
229
|
+
lineVerticalDashed3: "\u250B",
|
|
230
|
+
lineVerticalDashed4: "\u254E",
|
|
231
|
+
lineVerticalDashed5: "\u254F",
|
|
232
|
+
lineVerticalDashed6: "\u2575",
|
|
233
|
+
lineVerticalDashed7: "\u2577",
|
|
234
|
+
lineVerticalDashed8: "\u2579",
|
|
235
|
+
lineVerticalDashed9: "\u257B",
|
|
236
|
+
lineVerticalDashed10: "\u257D",
|
|
237
|
+
lineVerticalDashed11: "\u257F",
|
|
238
|
+
lineDownLeft: "\u2510",
|
|
239
|
+
lineDownLeftArc: "\u256E",
|
|
240
|
+
lineDownBoldLeftBold: "\u2513",
|
|
241
|
+
lineDownBoldLeft: "\u2512",
|
|
242
|
+
lineDownLeftBold: "\u2511",
|
|
243
|
+
lineDownDoubleLeftDouble: "\u2557",
|
|
244
|
+
lineDownDoubleLeft: "\u2556",
|
|
245
|
+
lineDownLeftDouble: "\u2555",
|
|
246
|
+
lineDownRight: "\u250C",
|
|
247
|
+
lineDownRightArc: "\u256D",
|
|
248
|
+
lineDownBoldRightBold: "\u250F",
|
|
249
|
+
lineDownBoldRight: "\u250E",
|
|
250
|
+
lineDownRightBold: "\u250D",
|
|
251
|
+
lineDownDoubleRightDouble: "\u2554",
|
|
252
|
+
lineDownDoubleRight: "\u2553",
|
|
253
|
+
lineDownRightDouble: "\u2552",
|
|
254
|
+
lineUpLeft: "\u2518",
|
|
255
|
+
lineUpLeftArc: "\u256F",
|
|
256
|
+
lineUpBoldLeftBold: "\u251B",
|
|
257
|
+
lineUpBoldLeft: "\u251A",
|
|
258
|
+
lineUpLeftBold: "\u2519",
|
|
259
|
+
lineUpDoubleLeftDouble: "\u255D",
|
|
260
|
+
lineUpDoubleLeft: "\u255C",
|
|
261
|
+
lineUpLeftDouble: "\u255B",
|
|
262
|
+
lineUpRight: "\u2514",
|
|
263
|
+
lineUpRightArc: "\u2570",
|
|
264
|
+
lineUpBoldRightBold: "\u2517",
|
|
265
|
+
lineUpBoldRight: "\u2516",
|
|
266
|
+
lineUpRightBold: "\u2515",
|
|
267
|
+
lineUpDoubleRightDouble: "\u255A",
|
|
268
|
+
lineUpDoubleRight: "\u2559",
|
|
269
|
+
lineUpRightDouble: "\u2558",
|
|
270
|
+
lineUpDownLeft: "\u2524",
|
|
271
|
+
lineUpBoldDownBoldLeftBold: "\u252B",
|
|
272
|
+
lineUpBoldDownBoldLeft: "\u2528",
|
|
273
|
+
lineUpDownLeftBold: "\u2525",
|
|
274
|
+
lineUpBoldDownLeftBold: "\u2529",
|
|
275
|
+
lineUpDownBoldLeftBold: "\u252A",
|
|
276
|
+
lineUpDownBoldLeft: "\u2527",
|
|
277
|
+
lineUpBoldDownLeft: "\u2526",
|
|
278
|
+
lineUpDoubleDownDoubleLeftDouble: "\u2563",
|
|
279
|
+
lineUpDoubleDownDoubleLeft: "\u2562",
|
|
280
|
+
lineUpDownLeftDouble: "\u2561",
|
|
281
|
+
lineUpDownRight: "\u251C",
|
|
282
|
+
lineUpBoldDownBoldRightBold: "\u2523",
|
|
283
|
+
lineUpBoldDownBoldRight: "\u2520",
|
|
284
|
+
lineUpDownRightBold: "\u251D",
|
|
285
|
+
lineUpBoldDownRightBold: "\u2521",
|
|
286
|
+
lineUpDownBoldRightBold: "\u2522",
|
|
287
|
+
lineUpDownBoldRight: "\u251F",
|
|
288
|
+
lineUpBoldDownRight: "\u251E",
|
|
289
|
+
lineUpDoubleDownDoubleRightDouble: "\u2560",
|
|
290
|
+
lineUpDoubleDownDoubleRight: "\u255F",
|
|
291
|
+
lineUpDownRightDouble: "\u255E",
|
|
292
|
+
lineDownLeftRight: "\u252C",
|
|
293
|
+
lineDownBoldLeftBoldRightBold: "\u2533",
|
|
294
|
+
lineDownLeftBoldRightBold: "\u252F",
|
|
295
|
+
lineDownBoldLeftRight: "\u2530",
|
|
296
|
+
lineDownBoldLeftBoldRight: "\u2531",
|
|
297
|
+
lineDownBoldLeftRightBold: "\u2532",
|
|
298
|
+
lineDownLeftRightBold: "\u252E",
|
|
299
|
+
lineDownLeftBoldRight: "\u252D",
|
|
300
|
+
lineDownDoubleLeftDoubleRightDouble: "\u2566",
|
|
301
|
+
lineDownDoubleLeftRight: "\u2565",
|
|
302
|
+
lineDownLeftDoubleRightDouble: "\u2564",
|
|
303
|
+
lineUpLeftRight: "\u2534",
|
|
304
|
+
lineUpBoldLeftBoldRightBold: "\u253B",
|
|
305
|
+
lineUpLeftBoldRightBold: "\u2537",
|
|
306
|
+
lineUpBoldLeftRight: "\u2538",
|
|
307
|
+
lineUpBoldLeftBoldRight: "\u2539",
|
|
308
|
+
lineUpBoldLeftRightBold: "\u253A",
|
|
309
|
+
lineUpLeftRightBold: "\u2536",
|
|
310
|
+
lineUpLeftBoldRight: "\u2535",
|
|
311
|
+
lineUpDoubleLeftDoubleRightDouble: "\u2569",
|
|
312
|
+
lineUpDoubleLeftRight: "\u2568",
|
|
313
|
+
lineUpLeftDoubleRightDouble: "\u2567",
|
|
314
|
+
lineUpDownLeftRight: "\u253C",
|
|
315
|
+
lineUpBoldDownBoldLeftBoldRightBold: "\u254B",
|
|
316
|
+
lineUpDownBoldLeftBoldRightBold: "\u2548",
|
|
317
|
+
lineUpBoldDownLeftBoldRightBold: "\u2547",
|
|
318
|
+
lineUpBoldDownBoldLeftRightBold: "\u254A",
|
|
319
|
+
lineUpBoldDownBoldLeftBoldRight: "\u2549",
|
|
320
|
+
lineUpBoldDownLeftRight: "\u2540",
|
|
321
|
+
lineUpDownBoldLeftRight: "\u2541",
|
|
322
|
+
lineUpDownLeftBoldRight: "\u253D",
|
|
323
|
+
lineUpDownLeftRightBold: "\u253E",
|
|
324
|
+
lineUpBoldDownBoldLeftRight: "\u2542",
|
|
325
|
+
lineUpDownLeftBoldRightBold: "\u253F",
|
|
326
|
+
lineUpBoldDownLeftBoldRight: "\u2543",
|
|
327
|
+
lineUpBoldDownLeftRightBold: "\u2544",
|
|
328
|
+
lineUpDownBoldLeftBoldRight: "\u2545",
|
|
329
|
+
lineUpDownBoldLeftRightBold: "\u2546",
|
|
330
|
+
lineUpDoubleDownDoubleLeftDoubleRightDouble: "\u256C",
|
|
331
|
+
lineUpDoubleDownDoubleLeftRight: "\u256B",
|
|
332
|
+
lineUpDownLeftDoubleRightDouble: "\u256A",
|
|
333
|
+
lineCross: "\u2573",
|
|
334
|
+
lineBackslash: "\u2572",
|
|
335
|
+
lineSlash: "\u2571"
|
|
336
|
+
};
|
|
337
|
+
var specialMainSymbols = {
|
|
338
|
+
tick: "\u2714",
|
|
339
|
+
info: "\u2139",
|
|
340
|
+
warning: "\u26A0",
|
|
341
|
+
cross: "\u2718",
|
|
342
|
+
squareSmall: "\u25FB",
|
|
343
|
+
squareSmallFilled: "\u25FC",
|
|
344
|
+
circle: "\u25EF",
|
|
345
|
+
circleFilled: "\u25C9",
|
|
346
|
+
circleDotted: "\u25CC",
|
|
347
|
+
circleDouble: "\u25CE",
|
|
348
|
+
circleCircle: "\u24DE",
|
|
349
|
+
circleCross: "\u24E7",
|
|
350
|
+
circlePipe: "\u24BE",
|
|
351
|
+
radioOn: "\u25C9",
|
|
352
|
+
radioOff: "\u25EF",
|
|
353
|
+
checkboxOn: "\u2612",
|
|
354
|
+
checkboxOff: "\u2610",
|
|
355
|
+
checkboxCircleOn: "\u24E7",
|
|
356
|
+
checkboxCircleOff: "\u24BE",
|
|
357
|
+
pointer: "\u276F",
|
|
358
|
+
triangleUpOutline: "\u25B3",
|
|
359
|
+
triangleLeft: "\u25C0",
|
|
360
|
+
triangleRight: "\u25B6",
|
|
361
|
+
lozenge: "\u25C6",
|
|
362
|
+
lozengeOutline: "\u25C7",
|
|
363
|
+
hamburger: "\u2630",
|
|
364
|
+
smiley: "\u32E1",
|
|
365
|
+
mustache: "\u0DF4",
|
|
366
|
+
star: "\u2605",
|
|
367
|
+
play: "\u25B6",
|
|
368
|
+
nodejs: "\u2B22",
|
|
369
|
+
oneSeventh: "\u2150",
|
|
370
|
+
oneNinth: "\u2151",
|
|
371
|
+
oneTenth: "\u2152"
|
|
372
|
+
};
|
|
373
|
+
var specialFallbackSymbols = {
|
|
374
|
+
tick: "\u221A",
|
|
375
|
+
info: "i",
|
|
376
|
+
warning: "\u203C",
|
|
377
|
+
cross: "\xD7",
|
|
378
|
+
squareSmall: "\u25A1",
|
|
379
|
+
squareSmallFilled: "\u25A0",
|
|
380
|
+
circle: "( )",
|
|
381
|
+
circleFilled: "(*)",
|
|
382
|
+
circleDotted: "( )",
|
|
383
|
+
circleDouble: "( )",
|
|
384
|
+
circleCircle: "(\u25CB)",
|
|
385
|
+
circleCross: "(\xD7)",
|
|
386
|
+
circlePipe: "(\u2502)",
|
|
387
|
+
radioOn: "(*)",
|
|
388
|
+
radioOff: "( )",
|
|
389
|
+
checkboxOn: "[\xD7]",
|
|
390
|
+
checkboxOff: "[ ]",
|
|
391
|
+
checkboxCircleOn: "(\xD7)",
|
|
392
|
+
checkboxCircleOff: "( )",
|
|
393
|
+
pointer: ">",
|
|
394
|
+
triangleUpOutline: "\u2206",
|
|
395
|
+
triangleLeft: "\u25C4",
|
|
396
|
+
triangleRight: "\u25BA",
|
|
397
|
+
lozenge: "\u2666",
|
|
398
|
+
lozengeOutline: "\u25CA",
|
|
399
|
+
hamburger: "\u2261",
|
|
400
|
+
smiley: "\u263A",
|
|
401
|
+
mustache: "\u250C\u2500\u2510",
|
|
402
|
+
star: "\u2736",
|
|
403
|
+
play: "\u25BA",
|
|
404
|
+
nodejs: "\u2666",
|
|
405
|
+
oneSeventh: "1/7",
|
|
406
|
+
oneNinth: "1/9",
|
|
407
|
+
oneTenth: "1/10"
|
|
408
|
+
};
|
|
409
|
+
var mainSymbols = { ...common, ...specialMainSymbols };
|
|
410
|
+
var fallbackSymbols = { ...common, ...specialFallbackSymbols };
|
|
411
|
+
var shouldUseMain = isUnicodeSupported();
|
|
412
|
+
var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
413
|
+
var figures_default = figures;
|
|
414
|
+
var replacements = Object.entries(specialMainSymbols);
|
|
415
|
+
|
|
416
|
+
// ../../node_modules/@inkjs/ui/build/components/alert/theme.js
|
|
417
|
+
var colorByVariant = {
|
|
418
|
+
info: "blue",
|
|
419
|
+
success: "green",
|
|
420
|
+
error: "red",
|
|
421
|
+
warning: "yellow"
|
|
422
|
+
};
|
|
423
|
+
var theme = {
|
|
424
|
+
styles: {
|
|
425
|
+
container: ({ variant }) => ({
|
|
426
|
+
flexGrow: 1,
|
|
427
|
+
borderStyle: "round",
|
|
428
|
+
borderColor: colorByVariant[variant],
|
|
429
|
+
gap: 1,
|
|
430
|
+
paddingX: 1
|
|
431
|
+
}),
|
|
432
|
+
iconContainer: () => ({
|
|
433
|
+
flexShrink: 0
|
|
434
|
+
}),
|
|
435
|
+
icon: ({ variant }) => ({
|
|
436
|
+
color: colorByVariant[variant]
|
|
437
|
+
}),
|
|
438
|
+
content: () => ({
|
|
439
|
+
flexShrink: 1,
|
|
440
|
+
flexGrow: 1,
|
|
441
|
+
minWidth: 0,
|
|
442
|
+
flexDirection: "column",
|
|
443
|
+
gap: 1
|
|
444
|
+
}),
|
|
445
|
+
title: () => ({
|
|
446
|
+
bold: true
|
|
447
|
+
}),
|
|
448
|
+
message: () => ({})
|
|
449
|
+
},
|
|
450
|
+
config({ variant }) {
|
|
451
|
+
let icon;
|
|
452
|
+
if (variant === "info") {
|
|
453
|
+
icon = figures_default.info;
|
|
454
|
+
}
|
|
455
|
+
if (variant === "success") {
|
|
456
|
+
icon = figures_default.tick;
|
|
457
|
+
}
|
|
458
|
+
if (variant === "error") {
|
|
459
|
+
icon = figures_default.cross;
|
|
460
|
+
}
|
|
461
|
+
if (variant === "warning") {
|
|
462
|
+
icon = figures_default.warning;
|
|
463
|
+
}
|
|
464
|
+
return { icon };
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
var theme_default = theme;
|
|
468
|
+
|
|
469
|
+
// ../../node_modules/@inkjs/ui/build/components/badge/theme.js
|
|
470
|
+
var theme2 = {
|
|
471
|
+
styles: {
|
|
472
|
+
container: ({ color }) => ({
|
|
473
|
+
backgroundColor: color
|
|
474
|
+
}),
|
|
475
|
+
label: () => ({
|
|
476
|
+
color: "black"
|
|
477
|
+
})
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
var theme_default2 = theme2;
|
|
481
|
+
|
|
482
|
+
// ../../node_modules/@inkjs/ui/build/components/confirm-input/theme.js
|
|
483
|
+
var theme3 = {
|
|
484
|
+
styles: {
|
|
485
|
+
input: ({ isFocused }) => ({
|
|
486
|
+
dimColor: !isFocused
|
|
487
|
+
})
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
var theme_default3 = theme3;
|
|
491
|
+
|
|
492
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/theme.js
|
|
493
|
+
var theme4 = {
|
|
494
|
+
styles: {
|
|
495
|
+
container: () => ({
|
|
496
|
+
flexDirection: "column"
|
|
497
|
+
}),
|
|
498
|
+
option: ({ isFocused }) => ({
|
|
499
|
+
gap: 1,
|
|
500
|
+
paddingLeft: isFocused ? 0 : 2
|
|
501
|
+
}),
|
|
502
|
+
selectedIndicator: () => ({
|
|
503
|
+
color: "green"
|
|
504
|
+
}),
|
|
505
|
+
focusIndicator: () => ({
|
|
506
|
+
color: "blue"
|
|
507
|
+
}),
|
|
508
|
+
label({ isFocused, isSelected }) {
|
|
509
|
+
let color;
|
|
510
|
+
if (isSelected) {
|
|
511
|
+
color = "green";
|
|
512
|
+
}
|
|
513
|
+
if (isFocused) {
|
|
514
|
+
color = "blue";
|
|
515
|
+
}
|
|
516
|
+
return { color };
|
|
517
|
+
},
|
|
518
|
+
highlightedText: () => ({
|
|
519
|
+
bold: true
|
|
520
|
+
})
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
var theme_default4 = theme4;
|
|
524
|
+
|
|
525
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/theme.js
|
|
526
|
+
var theme5 = {
|
|
527
|
+
styles: {
|
|
528
|
+
list: () => ({
|
|
529
|
+
flexDirection: "column"
|
|
530
|
+
}),
|
|
531
|
+
listItem: () => ({
|
|
532
|
+
gap: 1
|
|
533
|
+
}),
|
|
534
|
+
marker: () => ({
|
|
535
|
+
dimColor: true
|
|
536
|
+
}),
|
|
537
|
+
content: () => ({
|
|
538
|
+
flexDirection: "column"
|
|
539
|
+
})
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
var theme_default5 = theme5;
|
|
543
|
+
|
|
544
|
+
// ../../node_modules/@inkjs/ui/build/components/progress-bar/theme.js
|
|
545
|
+
var theme6 = {
|
|
546
|
+
styles: {
|
|
547
|
+
container: () => ({
|
|
548
|
+
flexGrow: 1,
|
|
549
|
+
minWidth: 0
|
|
550
|
+
}),
|
|
551
|
+
completed: () => ({
|
|
552
|
+
color: "magenta"
|
|
553
|
+
}),
|
|
554
|
+
remaining: () => ({
|
|
555
|
+
dimColor: true
|
|
556
|
+
})
|
|
557
|
+
},
|
|
558
|
+
config: () => ({
|
|
559
|
+
// Character for rendering a completed bar
|
|
560
|
+
completedCharacter: figures_default.square,
|
|
561
|
+
// Character for rendering a remaining bar
|
|
562
|
+
remainingCharacter: figures_default.squareLightShade
|
|
563
|
+
})
|
|
564
|
+
};
|
|
565
|
+
var theme_default6 = theme6;
|
|
566
|
+
|
|
567
|
+
// ../../node_modules/@inkjs/ui/build/components/select/theme.js
|
|
568
|
+
var theme7 = {
|
|
569
|
+
styles: {
|
|
570
|
+
container: () => ({
|
|
571
|
+
flexDirection: "column"
|
|
572
|
+
}),
|
|
573
|
+
option: ({ isFocused }) => ({
|
|
574
|
+
gap: 1,
|
|
575
|
+
paddingLeft: isFocused ? 0 : 2
|
|
576
|
+
}),
|
|
577
|
+
selectedIndicator: () => ({
|
|
578
|
+
color: "green"
|
|
579
|
+
}),
|
|
580
|
+
focusIndicator: () => ({
|
|
581
|
+
color: "blue"
|
|
582
|
+
}),
|
|
583
|
+
label({ isFocused, isSelected }) {
|
|
584
|
+
let color;
|
|
585
|
+
if (isSelected) {
|
|
586
|
+
color = "green";
|
|
587
|
+
}
|
|
588
|
+
if (isFocused) {
|
|
589
|
+
color = "blue";
|
|
590
|
+
}
|
|
591
|
+
return { color };
|
|
592
|
+
},
|
|
593
|
+
highlightedText: () => ({
|
|
594
|
+
bold: true
|
|
595
|
+
})
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
var theme_default7 = theme7;
|
|
599
|
+
|
|
600
|
+
// ../../node_modules/@inkjs/ui/build/components/spinner/theme.js
|
|
601
|
+
var theme8 = {
|
|
602
|
+
styles: {
|
|
603
|
+
container: () => ({
|
|
604
|
+
gap: 1
|
|
605
|
+
}),
|
|
606
|
+
frame: () => ({
|
|
607
|
+
color: "blue"
|
|
608
|
+
}),
|
|
609
|
+
label: () => ({})
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
var theme_default8 = theme8;
|
|
613
|
+
|
|
614
|
+
// ../../node_modules/@inkjs/ui/build/components/status-message/theme.js
|
|
615
|
+
var colorByVariant2 = {
|
|
616
|
+
success: "green",
|
|
617
|
+
error: "red",
|
|
618
|
+
warning: "yellow",
|
|
619
|
+
info: "blue"
|
|
620
|
+
};
|
|
621
|
+
var iconByVariant = {
|
|
622
|
+
success: figures_default.tick,
|
|
623
|
+
error: figures_default.cross,
|
|
624
|
+
warning: figures_default.warning,
|
|
625
|
+
info: figures_default.info
|
|
626
|
+
};
|
|
627
|
+
var theme9 = {
|
|
628
|
+
styles: {
|
|
629
|
+
container: () => ({
|
|
630
|
+
gap: 1
|
|
631
|
+
}),
|
|
632
|
+
iconContainer: () => ({
|
|
633
|
+
flexShrink: 0
|
|
634
|
+
}),
|
|
635
|
+
icon: ({ variant }) => ({
|
|
636
|
+
color: colorByVariant2[variant]
|
|
637
|
+
}),
|
|
638
|
+
message: () => ({})
|
|
639
|
+
},
|
|
640
|
+
config: ({ variant }) => ({
|
|
641
|
+
icon: iconByVariant[variant]
|
|
642
|
+
})
|
|
643
|
+
};
|
|
644
|
+
var theme_default9 = theme9;
|
|
645
|
+
|
|
646
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/theme.js
|
|
647
|
+
var theme10 = {
|
|
648
|
+
styles: {
|
|
649
|
+
list: () => ({
|
|
650
|
+
flexDirection: "column"
|
|
651
|
+
}),
|
|
652
|
+
listItem: () => ({
|
|
653
|
+
gap: 1
|
|
654
|
+
}),
|
|
655
|
+
marker: () => ({
|
|
656
|
+
dimColor: true
|
|
657
|
+
}),
|
|
658
|
+
content: () => ({
|
|
659
|
+
flexDirection: "column"
|
|
660
|
+
})
|
|
661
|
+
},
|
|
662
|
+
config: () => ({
|
|
663
|
+
marker: figures_default.line
|
|
664
|
+
})
|
|
665
|
+
};
|
|
666
|
+
var theme_default10 = theme10;
|
|
667
|
+
|
|
668
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/theme.js
|
|
669
|
+
var theme11 = {
|
|
670
|
+
styles: {
|
|
671
|
+
value: () => ({})
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
var theme_default11 = theme11;
|
|
675
|
+
|
|
676
|
+
// ../../node_modules/@inkjs/ui/build/components/email-input/theme.js
|
|
677
|
+
var theme12 = {
|
|
678
|
+
styles: {
|
|
679
|
+
value: () => ({})
|
|
680
|
+
}
|
|
681
|
+
};
|
|
682
|
+
var theme_default12 = theme12;
|
|
683
|
+
|
|
684
|
+
// ../../node_modules/@inkjs/ui/build/components/password-input/theme.js
|
|
685
|
+
var theme13 = {
|
|
686
|
+
styles: {
|
|
687
|
+
value: () => ({})
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
var theme_default13 = theme13;
|
|
691
|
+
|
|
692
|
+
// ../../node_modules/@inkjs/ui/build/theme.js
|
|
693
|
+
var defaultTheme = {
|
|
694
|
+
components: {
|
|
695
|
+
Alert: theme_default,
|
|
696
|
+
Badge: theme_default2,
|
|
697
|
+
ConfirmInput: theme_default3,
|
|
698
|
+
MultiSelect: theme_default4,
|
|
699
|
+
OrderedList: theme_default5,
|
|
700
|
+
ProgressBar: theme_default6,
|
|
701
|
+
Select: theme_default7,
|
|
702
|
+
Spinner: theme_default8,
|
|
703
|
+
StatusMessage: theme_default9,
|
|
704
|
+
UnorderedList: theme_default10,
|
|
705
|
+
TextInput: theme_default11,
|
|
706
|
+
EmailInput: theme_default12,
|
|
707
|
+
PasswordInput: theme_default13
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
var ThemeContext = (0, import_react.createContext)(defaultTheme);
|
|
711
|
+
function ThemeProvider({ children, theme: theme14 }) {
|
|
712
|
+
return import_react.default.createElement(ThemeContext.Provider, { value: theme14 }, children);
|
|
713
|
+
}
|
|
714
|
+
var extendTheme = (originalTheme, newTheme) => {
|
|
715
|
+
return (0, import_deepmerge.default)(originalTheme, newTheme);
|
|
716
|
+
};
|
|
717
|
+
var useComponentTheme = (component) => {
|
|
718
|
+
const theme14 = (0, import_react.useContext)(ThemeContext);
|
|
719
|
+
return theme14.components[component];
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
// ../../node_modules/@inkjs/ui/build/components/badge/badge.js
|
|
723
|
+
function Badge({ children, color = "magenta" }) {
|
|
724
|
+
const { styles: styles3 } = useComponentTheme("Badge");
|
|
725
|
+
let formattedChildren = children;
|
|
726
|
+
if (typeof children === "string") {
|
|
727
|
+
formattedChildren = children.toUpperCase();
|
|
728
|
+
}
|
|
729
|
+
return import_react2.default.createElement(
|
|
730
|
+
Text,
|
|
731
|
+
{ ...styles3.container({ color }) },
|
|
732
|
+
" ",
|
|
733
|
+
import_react2.default.createElement(Text, { ...styles3.label() }, formattedChildren),
|
|
734
|
+
" "
|
|
735
|
+
);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
// ../../node_modules/@inkjs/ui/build/components/confirm-input/confirm-input.js
|
|
739
|
+
var import_react3 = __toESM(require_react(), 1);
|
|
740
|
+
function ConfirmInput({ isDisabled = false, defaultChoice = "confirm", submitOnEnter = true, onConfirm, onCancel }) {
|
|
741
|
+
use_input_default((input, key) => {
|
|
742
|
+
if (input.toLowerCase() === "y") {
|
|
743
|
+
onConfirm();
|
|
744
|
+
}
|
|
745
|
+
if (input.toLowerCase() === "n") {
|
|
746
|
+
onCancel();
|
|
747
|
+
}
|
|
748
|
+
if (key.return && submitOnEnter) {
|
|
749
|
+
if (defaultChoice === "confirm") {
|
|
750
|
+
onConfirm();
|
|
751
|
+
} else {
|
|
752
|
+
onCancel();
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}, { isActive: !isDisabled });
|
|
756
|
+
const { styles: styles3 } = useComponentTheme("ConfirmInput");
|
|
757
|
+
return import_react3.default.createElement(Text, { ...styles3.input({ isFocused: !isDisabled }) }, defaultChoice === "confirm" ? "Y/n" : "y/N");
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list.js
|
|
761
|
+
var import_react7 = __toESM(require_react(), 1);
|
|
762
|
+
|
|
763
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list-item.js
|
|
764
|
+
var import_react5 = __toESM(require_react(), 1);
|
|
765
|
+
|
|
766
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list-item-context.js
|
|
767
|
+
var import_react4 = __toESM(require_react(), 1);
|
|
768
|
+
|
|
769
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/constants.js
|
|
770
|
+
var defaultMarker = figures_default.line;
|
|
771
|
+
|
|
772
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list-item-context.js
|
|
773
|
+
var UnorderedListItemContext = (0, import_react4.createContext)({
|
|
774
|
+
marker: defaultMarker
|
|
775
|
+
});
|
|
776
|
+
|
|
777
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list-item.js
|
|
778
|
+
function UnorderedListItem({ children }) {
|
|
779
|
+
const { marker } = (0, import_react5.useContext)(UnorderedListItemContext);
|
|
780
|
+
const { styles: styles3 } = useComponentTheme("UnorderedList");
|
|
781
|
+
return import_react5.default.createElement(
|
|
782
|
+
Box_default,
|
|
783
|
+
{ ...styles3.listItem() },
|
|
784
|
+
import_react5.default.createElement(Text, { ...styles3.marker() }, marker),
|
|
785
|
+
import_react5.default.createElement(Box_default, { ...styles3.content() }, children)
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list-context.js
|
|
790
|
+
var import_react6 = __toESM(require_react(), 1);
|
|
791
|
+
var UnorderedListContext = (0, import_react6.createContext)({
|
|
792
|
+
depth: 0
|
|
793
|
+
});
|
|
794
|
+
|
|
795
|
+
// ../../node_modules/@inkjs/ui/build/components/unordered-list/unordered-list.js
|
|
796
|
+
function UnorderedList({ children }) {
|
|
797
|
+
const { depth } = (0, import_react7.useContext)(UnorderedListContext);
|
|
798
|
+
const { styles: styles3, config } = useComponentTheme("UnorderedList");
|
|
799
|
+
const listContext = (0, import_react7.useMemo)(() => ({
|
|
800
|
+
depth: depth + 1
|
|
801
|
+
}), [depth]);
|
|
802
|
+
const listItemContext = (0, import_react7.useMemo)(() => {
|
|
803
|
+
const { marker } = config();
|
|
804
|
+
if (typeof marker === "string") {
|
|
805
|
+
return { marker };
|
|
806
|
+
}
|
|
807
|
+
if (Array.isArray(marker)) {
|
|
808
|
+
return {
|
|
809
|
+
marker: marker[depth] ?? marker.at(-1) ?? defaultMarker
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
return {
|
|
813
|
+
marker: defaultMarker
|
|
814
|
+
};
|
|
815
|
+
}, [config, depth]);
|
|
816
|
+
return import_react7.default.createElement(
|
|
817
|
+
UnorderedListContext.Provider,
|
|
818
|
+
{ value: listContext },
|
|
819
|
+
import_react7.default.createElement(
|
|
820
|
+
UnorderedListItemContext.Provider,
|
|
821
|
+
{ value: listItemContext },
|
|
822
|
+
import_react7.default.createElement(Box_default, { ...styles3.list() }, children)
|
|
823
|
+
)
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
UnorderedList.Item = UnorderedListItem;
|
|
827
|
+
|
|
828
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/multi-select.js
|
|
829
|
+
var import_react10 = __toESM(require_react(), 1);
|
|
830
|
+
|
|
831
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/multi-select-option.js
|
|
832
|
+
var import_react8 = __toESM(require_react(), 1);
|
|
833
|
+
function MultiSelectOption({ isFocused, isSelected, children }) {
|
|
834
|
+
const { styles: styles3 } = useComponentTheme("MultiSelect");
|
|
835
|
+
return import_react8.default.createElement(
|
|
836
|
+
Box_default,
|
|
837
|
+
{ ...styles3.option({ isFocused }) },
|
|
838
|
+
isFocused && import_react8.default.createElement(Text, { ...styles3.focusIndicator() }, figures_default.pointer),
|
|
839
|
+
import_react8.default.createElement(Text, { ...styles3.label({ isFocused, isSelected }) }, children),
|
|
840
|
+
isSelected && import_react8.default.createElement(Text, { ...styles3.selectedIndicator() }, figures_default.tick)
|
|
841
|
+
);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/use-multi-select-state.js
|
|
845
|
+
var import_react9 = __toESM(require_react(), 1);
|
|
846
|
+
import { isDeepStrictEqual } from "util";
|
|
847
|
+
|
|
848
|
+
// ../../node_modules/@inkjs/ui/build/lib/option-map.js
|
|
849
|
+
var OptionMap = class extends Map {
|
|
850
|
+
first;
|
|
851
|
+
constructor(options) {
|
|
852
|
+
const items = [];
|
|
853
|
+
let firstItem;
|
|
854
|
+
let previous;
|
|
855
|
+
let index = 0;
|
|
856
|
+
for (const option of options) {
|
|
857
|
+
const item = {
|
|
858
|
+
...option,
|
|
859
|
+
previous,
|
|
860
|
+
next: void 0,
|
|
861
|
+
index
|
|
862
|
+
};
|
|
863
|
+
if (previous) {
|
|
864
|
+
previous.next = item;
|
|
865
|
+
}
|
|
866
|
+
firstItem ||= item;
|
|
867
|
+
items.push([option.value, item]);
|
|
868
|
+
index++;
|
|
869
|
+
previous = item;
|
|
870
|
+
}
|
|
871
|
+
super(items);
|
|
872
|
+
this.first = firstItem;
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/use-multi-select-state.js
|
|
877
|
+
var reducer = (state, action) => {
|
|
878
|
+
switch (action.type) {
|
|
879
|
+
case "focus-next-option": {
|
|
880
|
+
if (!state.focusedValue) {
|
|
881
|
+
return state;
|
|
882
|
+
}
|
|
883
|
+
const item = state.optionMap.get(state.focusedValue);
|
|
884
|
+
if (!item) {
|
|
885
|
+
return state;
|
|
886
|
+
}
|
|
887
|
+
const next = item.next;
|
|
888
|
+
if (!next) {
|
|
889
|
+
return state;
|
|
890
|
+
}
|
|
891
|
+
const needsToScroll = next.index >= state.visibleToIndex;
|
|
892
|
+
if (!needsToScroll) {
|
|
893
|
+
return {
|
|
894
|
+
...state,
|
|
895
|
+
focusedValue: next.value
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
const nextVisibleToIndex = Math.min(state.optionMap.size, state.visibleToIndex + 1);
|
|
899
|
+
const nextVisibleFromIndex = nextVisibleToIndex - state.visibleOptionCount;
|
|
900
|
+
return {
|
|
901
|
+
...state,
|
|
902
|
+
focusedValue: next.value,
|
|
903
|
+
visibleFromIndex: nextVisibleFromIndex,
|
|
904
|
+
visibleToIndex: nextVisibleToIndex
|
|
905
|
+
};
|
|
906
|
+
}
|
|
907
|
+
case "focus-previous-option": {
|
|
908
|
+
if (!state.focusedValue) {
|
|
909
|
+
return state;
|
|
910
|
+
}
|
|
911
|
+
const item = state.optionMap.get(state.focusedValue);
|
|
912
|
+
if (!item) {
|
|
913
|
+
return state;
|
|
914
|
+
}
|
|
915
|
+
const previous = item.previous;
|
|
916
|
+
if (!previous) {
|
|
917
|
+
return state;
|
|
918
|
+
}
|
|
919
|
+
const needsToScroll = previous.index <= state.visibleFromIndex;
|
|
920
|
+
if (!needsToScroll) {
|
|
921
|
+
return {
|
|
922
|
+
...state,
|
|
923
|
+
focusedValue: previous.value
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
const nextVisibleFromIndex = Math.max(0, state.visibleFromIndex - 1);
|
|
927
|
+
const nextVisibleToIndex = nextVisibleFromIndex + state.visibleOptionCount;
|
|
928
|
+
return {
|
|
929
|
+
...state,
|
|
930
|
+
focusedValue: previous.value,
|
|
931
|
+
visibleFromIndex: nextVisibleFromIndex,
|
|
932
|
+
visibleToIndex: nextVisibleToIndex
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
case "toggle-focused-option": {
|
|
936
|
+
if (!state.focusedValue) {
|
|
937
|
+
return state;
|
|
938
|
+
}
|
|
939
|
+
if (state.value.includes(state.focusedValue)) {
|
|
940
|
+
const newValue = new Set(state.value);
|
|
941
|
+
newValue.delete(state.focusedValue);
|
|
942
|
+
return {
|
|
943
|
+
...state,
|
|
944
|
+
previousValue: state.value,
|
|
945
|
+
value: [...newValue]
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
return {
|
|
949
|
+
...state,
|
|
950
|
+
previousValue: state.value,
|
|
951
|
+
value: [...state.value, state.focusedValue]
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
case "reset": {
|
|
955
|
+
return action.state;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
var createDefaultState = ({ visibleOptionCount: customVisibleOptionCount, defaultValue, options }) => {
|
|
960
|
+
const visibleOptionCount = typeof customVisibleOptionCount === "number" ? Math.min(customVisibleOptionCount, options.length) : options.length;
|
|
961
|
+
const optionMap = new OptionMap(options);
|
|
962
|
+
const value = defaultValue ?? [];
|
|
963
|
+
return {
|
|
964
|
+
optionMap,
|
|
965
|
+
visibleOptionCount,
|
|
966
|
+
focusedValue: optionMap.first?.value,
|
|
967
|
+
visibleFromIndex: 0,
|
|
968
|
+
visibleToIndex: visibleOptionCount,
|
|
969
|
+
previousValue: value,
|
|
970
|
+
value
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
var useMultiSelectState = ({ visibleOptionCount = 5, options, defaultValue, onChange, onSubmit }) => {
|
|
974
|
+
const [state, dispatch] = (0, import_react9.useReducer)(reducer, { visibleOptionCount, defaultValue, options }, createDefaultState);
|
|
975
|
+
const [lastOptions, setLastOptions] = (0, import_react9.useState)(options);
|
|
976
|
+
if (options !== lastOptions && !isDeepStrictEqual(options, lastOptions)) {
|
|
977
|
+
dispatch({
|
|
978
|
+
type: "reset",
|
|
979
|
+
state: createDefaultState({ visibleOptionCount, defaultValue, options })
|
|
980
|
+
});
|
|
981
|
+
setLastOptions(options);
|
|
982
|
+
}
|
|
983
|
+
const focusNextOption = (0, import_react9.useCallback)(() => {
|
|
984
|
+
dispatch({
|
|
985
|
+
type: "focus-next-option"
|
|
986
|
+
});
|
|
987
|
+
}, []);
|
|
988
|
+
const focusPreviousOption = (0, import_react9.useCallback)(() => {
|
|
989
|
+
dispatch({
|
|
990
|
+
type: "focus-previous-option"
|
|
991
|
+
});
|
|
992
|
+
}, []);
|
|
993
|
+
const toggleFocusedOption = (0, import_react9.useCallback)(() => {
|
|
994
|
+
dispatch({
|
|
995
|
+
type: "toggle-focused-option"
|
|
996
|
+
});
|
|
997
|
+
}, []);
|
|
998
|
+
const submit = (0, import_react9.useCallback)(() => {
|
|
999
|
+
onSubmit?.(state.value);
|
|
1000
|
+
}, [state.value, onSubmit]);
|
|
1001
|
+
const visibleOptions = (0, import_react9.useMemo)(() => {
|
|
1002
|
+
return options.map((option, index) => ({
|
|
1003
|
+
...option,
|
|
1004
|
+
index
|
|
1005
|
+
})).slice(state.visibleFromIndex, state.visibleToIndex);
|
|
1006
|
+
}, [options, state.visibleFromIndex, state.visibleToIndex]);
|
|
1007
|
+
(0, import_react9.useEffect)(() => {
|
|
1008
|
+
if (!isDeepStrictEqual(state.previousValue, state.value)) {
|
|
1009
|
+
onChange?.(state.value);
|
|
1010
|
+
}
|
|
1011
|
+
}, [state.previousValue, state.value, options, onChange]);
|
|
1012
|
+
return {
|
|
1013
|
+
focusedValue: state.focusedValue,
|
|
1014
|
+
visibleFromIndex: state.visibleFromIndex,
|
|
1015
|
+
visibleToIndex: state.visibleToIndex,
|
|
1016
|
+
value: state.value,
|
|
1017
|
+
visibleOptions,
|
|
1018
|
+
focusNextOption,
|
|
1019
|
+
focusPreviousOption,
|
|
1020
|
+
toggleFocusedOption,
|
|
1021
|
+
submit
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/use-multi-select.js
|
|
1026
|
+
var useMultiSelect = ({ isDisabled = false, state }) => {
|
|
1027
|
+
use_input_default((input, key) => {
|
|
1028
|
+
if (key.downArrow) {
|
|
1029
|
+
state.focusNextOption();
|
|
1030
|
+
}
|
|
1031
|
+
if (key.upArrow) {
|
|
1032
|
+
state.focusPreviousOption();
|
|
1033
|
+
}
|
|
1034
|
+
if (input === " ") {
|
|
1035
|
+
state.toggleFocusedOption();
|
|
1036
|
+
}
|
|
1037
|
+
if (key.return) {
|
|
1038
|
+
state.submit();
|
|
1039
|
+
}
|
|
1040
|
+
}, { isActive: !isDisabled });
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
// ../../node_modules/@inkjs/ui/build/components/multi-select/multi-select.js
|
|
1044
|
+
function MultiSelect({ isDisabled = false, visibleOptionCount = 5, highlightText, options, defaultValue, onChange, onSubmit }) {
|
|
1045
|
+
const state = useMultiSelectState({
|
|
1046
|
+
visibleOptionCount,
|
|
1047
|
+
options,
|
|
1048
|
+
defaultValue,
|
|
1049
|
+
onChange,
|
|
1050
|
+
onSubmit
|
|
1051
|
+
});
|
|
1052
|
+
useMultiSelect({ isDisabled, state });
|
|
1053
|
+
const { styles: styles3 } = useComponentTheme("MultiSelect");
|
|
1054
|
+
return import_react10.default.createElement(Box_default, { ...styles3.container() }, state.visibleOptions.map((option) => {
|
|
1055
|
+
let label = option.label;
|
|
1056
|
+
if (highlightText && option.label.includes(highlightText)) {
|
|
1057
|
+
const index = option.label.indexOf(highlightText);
|
|
1058
|
+
label = import_react10.default.createElement(
|
|
1059
|
+
import_react10.default.Fragment,
|
|
1060
|
+
null,
|
|
1061
|
+
option.label.slice(0, index),
|
|
1062
|
+
import_react10.default.createElement(Text, { ...styles3.highlightedText() }, highlightText),
|
|
1063
|
+
option.label.slice(index + highlightText.length)
|
|
1064
|
+
);
|
|
1065
|
+
}
|
|
1066
|
+
return import_react10.default.createElement(MultiSelectOption, { key: option.value, isFocused: !isDisabled && state.focusedValue === option.value, isSelected: state.value.includes(option.value) }, label);
|
|
1067
|
+
}));
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
// ../../node_modules/@inkjs/ui/build/components/progress-bar/progress-bar.js
|
|
1071
|
+
var import_react11 = __toESM(require_react(), 1);
|
|
1072
|
+
function ProgressBar({ value }) {
|
|
1073
|
+
const [width, setWidth] = (0, import_react11.useState)(0);
|
|
1074
|
+
const [ref, setRef] = (0, import_react11.useState)(null);
|
|
1075
|
+
if (ref) {
|
|
1076
|
+
const dimensions = measure_element_default(ref);
|
|
1077
|
+
if (dimensions.width !== width) {
|
|
1078
|
+
setWidth(dimensions.width);
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
const progress = Math.min(100, Math.max(0, value));
|
|
1082
|
+
const complete = Math.round(progress / 100 * width);
|
|
1083
|
+
const remaining = width - complete;
|
|
1084
|
+
const { styles: styles3, config } = useComponentTheme("ProgressBar");
|
|
1085
|
+
return import_react11.default.createElement(
|
|
1086
|
+
Box_default,
|
|
1087
|
+
{ ref: setRef, ...styles3.container() },
|
|
1088
|
+
complete > 0 && import_react11.default.createElement(Text, { ...styles3.completed() }, config().completedCharacter.repeat(complete)),
|
|
1089
|
+
remaining > 0 && import_react11.default.createElement(Text, { ...styles3.remaining() }, config().remainingCharacter.repeat(remaining))
|
|
1090
|
+
);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
// ../../node_modules/@inkjs/ui/build/components/select/select.js
|
|
1094
|
+
var import_react14 = __toESM(require_react(), 1);
|
|
1095
|
+
|
|
1096
|
+
// ../../node_modules/@inkjs/ui/build/components/select/select-option.js
|
|
1097
|
+
var import_react12 = __toESM(require_react(), 1);
|
|
1098
|
+
function SelectOption({ isFocused, isSelected, children }) {
|
|
1099
|
+
const { styles: styles3 } = useComponentTheme("Select");
|
|
1100
|
+
return import_react12.default.createElement(
|
|
1101
|
+
Box_default,
|
|
1102
|
+
{ ...styles3.option({ isFocused }) },
|
|
1103
|
+
isFocused && import_react12.default.createElement(Text, { ...styles3.focusIndicator() }, figures_default.pointer),
|
|
1104
|
+
import_react12.default.createElement(Text, { ...styles3.label({ isFocused, isSelected }) }, children),
|
|
1105
|
+
isSelected && import_react12.default.createElement(Text, { ...styles3.selectedIndicator() }, figures_default.tick)
|
|
1106
|
+
);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
// ../../node_modules/@inkjs/ui/build/components/select/use-select-state.js
|
|
1110
|
+
var import_react13 = __toESM(require_react(), 1);
|
|
1111
|
+
import { isDeepStrictEqual as isDeepStrictEqual2 } from "util";
|
|
1112
|
+
var reducer2 = (state, action) => {
|
|
1113
|
+
switch (action.type) {
|
|
1114
|
+
case "focus-next-option": {
|
|
1115
|
+
if (!state.focusedValue) {
|
|
1116
|
+
return state;
|
|
1117
|
+
}
|
|
1118
|
+
const item = state.optionMap.get(state.focusedValue);
|
|
1119
|
+
if (!item) {
|
|
1120
|
+
return state;
|
|
1121
|
+
}
|
|
1122
|
+
const next = item.next;
|
|
1123
|
+
if (!next) {
|
|
1124
|
+
return state;
|
|
1125
|
+
}
|
|
1126
|
+
const needsToScroll = next.index >= state.visibleToIndex;
|
|
1127
|
+
if (!needsToScroll) {
|
|
1128
|
+
return {
|
|
1129
|
+
...state,
|
|
1130
|
+
focusedValue: next.value
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
const nextVisibleToIndex = Math.min(state.optionMap.size, state.visibleToIndex + 1);
|
|
1134
|
+
const nextVisibleFromIndex = nextVisibleToIndex - state.visibleOptionCount;
|
|
1135
|
+
return {
|
|
1136
|
+
...state,
|
|
1137
|
+
focusedValue: next.value,
|
|
1138
|
+
visibleFromIndex: nextVisibleFromIndex,
|
|
1139
|
+
visibleToIndex: nextVisibleToIndex
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
case "focus-previous-option": {
|
|
1143
|
+
if (!state.focusedValue) {
|
|
1144
|
+
return state;
|
|
1145
|
+
}
|
|
1146
|
+
const item = state.optionMap.get(state.focusedValue);
|
|
1147
|
+
if (!item) {
|
|
1148
|
+
return state;
|
|
1149
|
+
}
|
|
1150
|
+
const previous = item.previous;
|
|
1151
|
+
if (!previous) {
|
|
1152
|
+
return state;
|
|
1153
|
+
}
|
|
1154
|
+
const needsToScroll = previous.index <= state.visibleFromIndex;
|
|
1155
|
+
if (!needsToScroll) {
|
|
1156
|
+
return {
|
|
1157
|
+
...state,
|
|
1158
|
+
focusedValue: previous.value
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
const nextVisibleFromIndex = Math.max(0, state.visibleFromIndex - 1);
|
|
1162
|
+
const nextVisibleToIndex = nextVisibleFromIndex + state.visibleOptionCount;
|
|
1163
|
+
return {
|
|
1164
|
+
...state,
|
|
1165
|
+
focusedValue: previous.value,
|
|
1166
|
+
visibleFromIndex: nextVisibleFromIndex,
|
|
1167
|
+
visibleToIndex: nextVisibleToIndex
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
case "select-focused-option": {
|
|
1171
|
+
return {
|
|
1172
|
+
...state,
|
|
1173
|
+
previousValue: state.value,
|
|
1174
|
+
value: state.focusedValue
|
|
1175
|
+
};
|
|
1176
|
+
}
|
|
1177
|
+
case "reset": {
|
|
1178
|
+
return action.state;
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
};
|
|
1182
|
+
var createDefaultState2 = ({ visibleOptionCount: customVisibleOptionCount, defaultValue, options }) => {
|
|
1183
|
+
const visibleOptionCount = typeof customVisibleOptionCount === "number" ? Math.min(customVisibleOptionCount, options.length) : options.length;
|
|
1184
|
+
const optionMap = new OptionMap(options);
|
|
1185
|
+
return {
|
|
1186
|
+
optionMap,
|
|
1187
|
+
visibleOptionCount,
|
|
1188
|
+
focusedValue: optionMap.first?.value,
|
|
1189
|
+
visibleFromIndex: 0,
|
|
1190
|
+
visibleToIndex: visibleOptionCount,
|
|
1191
|
+
previousValue: defaultValue,
|
|
1192
|
+
value: defaultValue
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
var useSelectState = ({ visibleOptionCount = 5, options, defaultValue, onChange }) => {
|
|
1196
|
+
const [state, dispatch] = (0, import_react13.useReducer)(reducer2, { visibleOptionCount, defaultValue, options }, createDefaultState2);
|
|
1197
|
+
const [lastOptions, setLastOptions] = (0, import_react13.useState)(options);
|
|
1198
|
+
if (options !== lastOptions && !isDeepStrictEqual2(options, lastOptions)) {
|
|
1199
|
+
dispatch({
|
|
1200
|
+
type: "reset",
|
|
1201
|
+
state: createDefaultState2({ visibleOptionCount, defaultValue, options })
|
|
1202
|
+
});
|
|
1203
|
+
setLastOptions(options);
|
|
1204
|
+
}
|
|
1205
|
+
const focusNextOption = (0, import_react13.useCallback)(() => {
|
|
1206
|
+
dispatch({
|
|
1207
|
+
type: "focus-next-option"
|
|
1208
|
+
});
|
|
1209
|
+
}, []);
|
|
1210
|
+
const focusPreviousOption = (0, import_react13.useCallback)(() => {
|
|
1211
|
+
dispatch({
|
|
1212
|
+
type: "focus-previous-option"
|
|
1213
|
+
});
|
|
1214
|
+
}, []);
|
|
1215
|
+
const selectFocusedOption = (0, import_react13.useCallback)(() => {
|
|
1216
|
+
dispatch({
|
|
1217
|
+
type: "select-focused-option"
|
|
1218
|
+
});
|
|
1219
|
+
}, []);
|
|
1220
|
+
const visibleOptions = (0, import_react13.useMemo)(() => {
|
|
1221
|
+
return options.map((option, index) => ({
|
|
1222
|
+
...option,
|
|
1223
|
+
index
|
|
1224
|
+
})).slice(state.visibleFromIndex, state.visibleToIndex);
|
|
1225
|
+
}, [options, state.visibleFromIndex, state.visibleToIndex]);
|
|
1226
|
+
(0, import_react13.useEffect)(() => {
|
|
1227
|
+
if (state.value && state.previousValue !== state.value) {
|
|
1228
|
+
onChange?.(state.value);
|
|
1229
|
+
}
|
|
1230
|
+
}, [state.previousValue, state.value, options, onChange]);
|
|
1231
|
+
return {
|
|
1232
|
+
focusedValue: state.focusedValue,
|
|
1233
|
+
visibleFromIndex: state.visibleFromIndex,
|
|
1234
|
+
visibleToIndex: state.visibleToIndex,
|
|
1235
|
+
value: state.value,
|
|
1236
|
+
visibleOptions,
|
|
1237
|
+
focusNextOption,
|
|
1238
|
+
focusPreviousOption,
|
|
1239
|
+
selectFocusedOption
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
// ../../node_modules/@inkjs/ui/build/components/select/use-select.js
|
|
1244
|
+
var useSelect = ({ isDisabled = false, state }) => {
|
|
1245
|
+
use_input_default((_input, key) => {
|
|
1246
|
+
if (key.downArrow) {
|
|
1247
|
+
state.focusNextOption();
|
|
1248
|
+
}
|
|
1249
|
+
if (key.upArrow) {
|
|
1250
|
+
state.focusPreviousOption();
|
|
1251
|
+
}
|
|
1252
|
+
if (key.return) {
|
|
1253
|
+
state.selectFocusedOption();
|
|
1254
|
+
}
|
|
1255
|
+
}, { isActive: !isDisabled });
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
// ../../node_modules/@inkjs/ui/build/components/select/select.js
|
|
1259
|
+
function Select({ isDisabled = false, visibleOptionCount = 5, highlightText, options, defaultValue, onChange }) {
|
|
1260
|
+
const state = useSelectState({
|
|
1261
|
+
visibleOptionCount,
|
|
1262
|
+
options,
|
|
1263
|
+
defaultValue,
|
|
1264
|
+
onChange
|
|
1265
|
+
});
|
|
1266
|
+
useSelect({ isDisabled, state });
|
|
1267
|
+
const { styles: styles3 } = useComponentTheme("Select");
|
|
1268
|
+
return import_react14.default.createElement(Box_default, { ...styles3.container() }, state.visibleOptions.map((option) => {
|
|
1269
|
+
let label = option.label;
|
|
1270
|
+
if (highlightText && option.label.includes(highlightText)) {
|
|
1271
|
+
const index = option.label.indexOf(highlightText);
|
|
1272
|
+
label = import_react14.default.createElement(
|
|
1273
|
+
import_react14.default.Fragment,
|
|
1274
|
+
null,
|
|
1275
|
+
option.label.slice(0, index),
|
|
1276
|
+
import_react14.default.createElement(Text, { ...styles3.highlightedText() }, highlightText),
|
|
1277
|
+
option.label.slice(index + highlightText.length)
|
|
1278
|
+
);
|
|
1279
|
+
}
|
|
1280
|
+
return import_react14.default.createElement(SelectOption, { key: option.value, isFocused: !isDisabled && state.focusedValue === option.value, isSelected: state.value === option.value }, label);
|
|
1281
|
+
}));
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
// ../../node_modules/@inkjs/ui/build/components/spinner/spinner.js
|
|
1285
|
+
var import_react16 = __toESM(require_react(), 1);
|
|
1286
|
+
|
|
1287
|
+
// ../../node_modules/@inkjs/ui/build/components/spinner/use-spinner.js
|
|
1288
|
+
var import_react15 = __toESM(require_react(), 1);
|
|
1289
|
+
|
|
1290
|
+
// ../../node_modules/cli-spinners/spinners.json
|
|
1291
|
+
var spinners_default = {
|
|
1292
|
+
dots: {
|
|
1293
|
+
interval: 80,
|
|
1294
|
+
frames: [
|
|
1295
|
+
"\u280B",
|
|
1296
|
+
"\u2819",
|
|
1297
|
+
"\u2839",
|
|
1298
|
+
"\u2838",
|
|
1299
|
+
"\u283C",
|
|
1300
|
+
"\u2834",
|
|
1301
|
+
"\u2826",
|
|
1302
|
+
"\u2827",
|
|
1303
|
+
"\u2807",
|
|
1304
|
+
"\u280F"
|
|
1305
|
+
]
|
|
1306
|
+
},
|
|
1307
|
+
dots2: {
|
|
1308
|
+
interval: 80,
|
|
1309
|
+
frames: [
|
|
1310
|
+
"\u28FE",
|
|
1311
|
+
"\u28FD",
|
|
1312
|
+
"\u28FB",
|
|
1313
|
+
"\u28BF",
|
|
1314
|
+
"\u287F",
|
|
1315
|
+
"\u28DF",
|
|
1316
|
+
"\u28EF",
|
|
1317
|
+
"\u28F7"
|
|
1318
|
+
]
|
|
1319
|
+
},
|
|
1320
|
+
dots3: {
|
|
1321
|
+
interval: 80,
|
|
1322
|
+
frames: [
|
|
1323
|
+
"\u280B",
|
|
1324
|
+
"\u2819",
|
|
1325
|
+
"\u281A",
|
|
1326
|
+
"\u281E",
|
|
1327
|
+
"\u2816",
|
|
1328
|
+
"\u2826",
|
|
1329
|
+
"\u2834",
|
|
1330
|
+
"\u2832",
|
|
1331
|
+
"\u2833",
|
|
1332
|
+
"\u2813"
|
|
1333
|
+
]
|
|
1334
|
+
},
|
|
1335
|
+
dots4: {
|
|
1336
|
+
interval: 80,
|
|
1337
|
+
frames: [
|
|
1338
|
+
"\u2804",
|
|
1339
|
+
"\u2806",
|
|
1340
|
+
"\u2807",
|
|
1341
|
+
"\u280B",
|
|
1342
|
+
"\u2819",
|
|
1343
|
+
"\u2838",
|
|
1344
|
+
"\u2830",
|
|
1345
|
+
"\u2820",
|
|
1346
|
+
"\u2830",
|
|
1347
|
+
"\u2838",
|
|
1348
|
+
"\u2819",
|
|
1349
|
+
"\u280B",
|
|
1350
|
+
"\u2807",
|
|
1351
|
+
"\u2806"
|
|
1352
|
+
]
|
|
1353
|
+
},
|
|
1354
|
+
dots5: {
|
|
1355
|
+
interval: 80,
|
|
1356
|
+
frames: [
|
|
1357
|
+
"\u280B",
|
|
1358
|
+
"\u2819",
|
|
1359
|
+
"\u281A",
|
|
1360
|
+
"\u2812",
|
|
1361
|
+
"\u2802",
|
|
1362
|
+
"\u2802",
|
|
1363
|
+
"\u2812",
|
|
1364
|
+
"\u2832",
|
|
1365
|
+
"\u2834",
|
|
1366
|
+
"\u2826",
|
|
1367
|
+
"\u2816",
|
|
1368
|
+
"\u2812",
|
|
1369
|
+
"\u2810",
|
|
1370
|
+
"\u2810",
|
|
1371
|
+
"\u2812",
|
|
1372
|
+
"\u2813",
|
|
1373
|
+
"\u280B"
|
|
1374
|
+
]
|
|
1375
|
+
},
|
|
1376
|
+
dots6: {
|
|
1377
|
+
interval: 80,
|
|
1378
|
+
frames: [
|
|
1379
|
+
"\u2801",
|
|
1380
|
+
"\u2809",
|
|
1381
|
+
"\u2819",
|
|
1382
|
+
"\u281A",
|
|
1383
|
+
"\u2812",
|
|
1384
|
+
"\u2802",
|
|
1385
|
+
"\u2802",
|
|
1386
|
+
"\u2812",
|
|
1387
|
+
"\u2832",
|
|
1388
|
+
"\u2834",
|
|
1389
|
+
"\u2824",
|
|
1390
|
+
"\u2804",
|
|
1391
|
+
"\u2804",
|
|
1392
|
+
"\u2824",
|
|
1393
|
+
"\u2834",
|
|
1394
|
+
"\u2832",
|
|
1395
|
+
"\u2812",
|
|
1396
|
+
"\u2802",
|
|
1397
|
+
"\u2802",
|
|
1398
|
+
"\u2812",
|
|
1399
|
+
"\u281A",
|
|
1400
|
+
"\u2819",
|
|
1401
|
+
"\u2809",
|
|
1402
|
+
"\u2801"
|
|
1403
|
+
]
|
|
1404
|
+
},
|
|
1405
|
+
dots7: {
|
|
1406
|
+
interval: 80,
|
|
1407
|
+
frames: [
|
|
1408
|
+
"\u2808",
|
|
1409
|
+
"\u2809",
|
|
1410
|
+
"\u280B",
|
|
1411
|
+
"\u2813",
|
|
1412
|
+
"\u2812",
|
|
1413
|
+
"\u2810",
|
|
1414
|
+
"\u2810",
|
|
1415
|
+
"\u2812",
|
|
1416
|
+
"\u2816",
|
|
1417
|
+
"\u2826",
|
|
1418
|
+
"\u2824",
|
|
1419
|
+
"\u2820",
|
|
1420
|
+
"\u2820",
|
|
1421
|
+
"\u2824",
|
|
1422
|
+
"\u2826",
|
|
1423
|
+
"\u2816",
|
|
1424
|
+
"\u2812",
|
|
1425
|
+
"\u2810",
|
|
1426
|
+
"\u2810",
|
|
1427
|
+
"\u2812",
|
|
1428
|
+
"\u2813",
|
|
1429
|
+
"\u280B",
|
|
1430
|
+
"\u2809",
|
|
1431
|
+
"\u2808"
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
dots8: {
|
|
1435
|
+
interval: 80,
|
|
1436
|
+
frames: [
|
|
1437
|
+
"\u2801",
|
|
1438
|
+
"\u2801",
|
|
1439
|
+
"\u2809",
|
|
1440
|
+
"\u2819",
|
|
1441
|
+
"\u281A",
|
|
1442
|
+
"\u2812",
|
|
1443
|
+
"\u2802",
|
|
1444
|
+
"\u2802",
|
|
1445
|
+
"\u2812",
|
|
1446
|
+
"\u2832",
|
|
1447
|
+
"\u2834",
|
|
1448
|
+
"\u2824",
|
|
1449
|
+
"\u2804",
|
|
1450
|
+
"\u2804",
|
|
1451
|
+
"\u2824",
|
|
1452
|
+
"\u2820",
|
|
1453
|
+
"\u2820",
|
|
1454
|
+
"\u2824",
|
|
1455
|
+
"\u2826",
|
|
1456
|
+
"\u2816",
|
|
1457
|
+
"\u2812",
|
|
1458
|
+
"\u2810",
|
|
1459
|
+
"\u2810",
|
|
1460
|
+
"\u2812",
|
|
1461
|
+
"\u2813",
|
|
1462
|
+
"\u280B",
|
|
1463
|
+
"\u2809",
|
|
1464
|
+
"\u2808",
|
|
1465
|
+
"\u2808"
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
dots9: {
|
|
1469
|
+
interval: 80,
|
|
1470
|
+
frames: [
|
|
1471
|
+
"\u28B9",
|
|
1472
|
+
"\u28BA",
|
|
1473
|
+
"\u28BC",
|
|
1474
|
+
"\u28F8",
|
|
1475
|
+
"\u28C7",
|
|
1476
|
+
"\u2867",
|
|
1477
|
+
"\u2857",
|
|
1478
|
+
"\u284F"
|
|
1479
|
+
]
|
|
1480
|
+
},
|
|
1481
|
+
dots10: {
|
|
1482
|
+
interval: 80,
|
|
1483
|
+
frames: [
|
|
1484
|
+
"\u2884",
|
|
1485
|
+
"\u2882",
|
|
1486
|
+
"\u2881",
|
|
1487
|
+
"\u2841",
|
|
1488
|
+
"\u2848",
|
|
1489
|
+
"\u2850",
|
|
1490
|
+
"\u2860"
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
dots11: {
|
|
1494
|
+
interval: 100,
|
|
1495
|
+
frames: [
|
|
1496
|
+
"\u2801",
|
|
1497
|
+
"\u2802",
|
|
1498
|
+
"\u2804",
|
|
1499
|
+
"\u2840",
|
|
1500
|
+
"\u2880",
|
|
1501
|
+
"\u2820",
|
|
1502
|
+
"\u2810",
|
|
1503
|
+
"\u2808"
|
|
1504
|
+
]
|
|
1505
|
+
},
|
|
1506
|
+
dots12: {
|
|
1507
|
+
interval: 80,
|
|
1508
|
+
frames: [
|
|
1509
|
+
"\u2880\u2800",
|
|
1510
|
+
"\u2840\u2800",
|
|
1511
|
+
"\u2804\u2800",
|
|
1512
|
+
"\u2882\u2800",
|
|
1513
|
+
"\u2842\u2800",
|
|
1514
|
+
"\u2805\u2800",
|
|
1515
|
+
"\u2883\u2800",
|
|
1516
|
+
"\u2843\u2800",
|
|
1517
|
+
"\u280D\u2800",
|
|
1518
|
+
"\u288B\u2800",
|
|
1519
|
+
"\u284B\u2800",
|
|
1520
|
+
"\u280D\u2801",
|
|
1521
|
+
"\u288B\u2801",
|
|
1522
|
+
"\u284B\u2801",
|
|
1523
|
+
"\u280D\u2809",
|
|
1524
|
+
"\u280B\u2809",
|
|
1525
|
+
"\u280B\u2809",
|
|
1526
|
+
"\u2809\u2819",
|
|
1527
|
+
"\u2809\u2819",
|
|
1528
|
+
"\u2809\u2829",
|
|
1529
|
+
"\u2808\u2899",
|
|
1530
|
+
"\u2808\u2859",
|
|
1531
|
+
"\u2888\u2829",
|
|
1532
|
+
"\u2840\u2899",
|
|
1533
|
+
"\u2804\u2859",
|
|
1534
|
+
"\u2882\u2829",
|
|
1535
|
+
"\u2842\u2898",
|
|
1536
|
+
"\u2805\u2858",
|
|
1537
|
+
"\u2883\u2828",
|
|
1538
|
+
"\u2843\u2890",
|
|
1539
|
+
"\u280D\u2850",
|
|
1540
|
+
"\u288B\u2820",
|
|
1541
|
+
"\u284B\u2880",
|
|
1542
|
+
"\u280D\u2841",
|
|
1543
|
+
"\u288B\u2801",
|
|
1544
|
+
"\u284B\u2801",
|
|
1545
|
+
"\u280D\u2809",
|
|
1546
|
+
"\u280B\u2809",
|
|
1547
|
+
"\u280B\u2809",
|
|
1548
|
+
"\u2809\u2819",
|
|
1549
|
+
"\u2809\u2819",
|
|
1550
|
+
"\u2809\u2829",
|
|
1551
|
+
"\u2808\u2899",
|
|
1552
|
+
"\u2808\u2859",
|
|
1553
|
+
"\u2808\u2829",
|
|
1554
|
+
"\u2800\u2899",
|
|
1555
|
+
"\u2800\u2859",
|
|
1556
|
+
"\u2800\u2829",
|
|
1557
|
+
"\u2800\u2898",
|
|
1558
|
+
"\u2800\u2858",
|
|
1559
|
+
"\u2800\u2828",
|
|
1560
|
+
"\u2800\u2890",
|
|
1561
|
+
"\u2800\u2850",
|
|
1562
|
+
"\u2800\u2820",
|
|
1563
|
+
"\u2800\u2880",
|
|
1564
|
+
"\u2800\u2840"
|
|
1565
|
+
]
|
|
1566
|
+
},
|
|
1567
|
+
dots13: {
|
|
1568
|
+
interval: 80,
|
|
1569
|
+
frames: [
|
|
1570
|
+
"\u28FC",
|
|
1571
|
+
"\u28F9",
|
|
1572
|
+
"\u28BB",
|
|
1573
|
+
"\u283F",
|
|
1574
|
+
"\u285F",
|
|
1575
|
+
"\u28CF",
|
|
1576
|
+
"\u28E7",
|
|
1577
|
+
"\u28F6"
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
dots14: {
|
|
1581
|
+
interval: 80,
|
|
1582
|
+
frames: [
|
|
1583
|
+
"\u2809\u2809",
|
|
1584
|
+
"\u2808\u2819",
|
|
1585
|
+
"\u2800\u2839",
|
|
1586
|
+
"\u2800\u28B8",
|
|
1587
|
+
"\u2800\u28F0",
|
|
1588
|
+
"\u2880\u28E0",
|
|
1589
|
+
"\u28C0\u28C0",
|
|
1590
|
+
"\u28C4\u2840",
|
|
1591
|
+
"\u28C6\u2800",
|
|
1592
|
+
"\u2847\u2800",
|
|
1593
|
+
"\u280F\u2800",
|
|
1594
|
+
"\u280B\u2801"
|
|
1595
|
+
]
|
|
1596
|
+
},
|
|
1597
|
+
dots8Bit: {
|
|
1598
|
+
interval: 80,
|
|
1599
|
+
frames: [
|
|
1600
|
+
"\u2800",
|
|
1601
|
+
"\u2801",
|
|
1602
|
+
"\u2802",
|
|
1603
|
+
"\u2803",
|
|
1604
|
+
"\u2804",
|
|
1605
|
+
"\u2805",
|
|
1606
|
+
"\u2806",
|
|
1607
|
+
"\u2807",
|
|
1608
|
+
"\u2840",
|
|
1609
|
+
"\u2841",
|
|
1610
|
+
"\u2842",
|
|
1611
|
+
"\u2843",
|
|
1612
|
+
"\u2844",
|
|
1613
|
+
"\u2845",
|
|
1614
|
+
"\u2846",
|
|
1615
|
+
"\u2847",
|
|
1616
|
+
"\u2808",
|
|
1617
|
+
"\u2809",
|
|
1618
|
+
"\u280A",
|
|
1619
|
+
"\u280B",
|
|
1620
|
+
"\u280C",
|
|
1621
|
+
"\u280D",
|
|
1622
|
+
"\u280E",
|
|
1623
|
+
"\u280F",
|
|
1624
|
+
"\u2848",
|
|
1625
|
+
"\u2849",
|
|
1626
|
+
"\u284A",
|
|
1627
|
+
"\u284B",
|
|
1628
|
+
"\u284C",
|
|
1629
|
+
"\u284D",
|
|
1630
|
+
"\u284E",
|
|
1631
|
+
"\u284F",
|
|
1632
|
+
"\u2810",
|
|
1633
|
+
"\u2811",
|
|
1634
|
+
"\u2812",
|
|
1635
|
+
"\u2813",
|
|
1636
|
+
"\u2814",
|
|
1637
|
+
"\u2815",
|
|
1638
|
+
"\u2816",
|
|
1639
|
+
"\u2817",
|
|
1640
|
+
"\u2850",
|
|
1641
|
+
"\u2851",
|
|
1642
|
+
"\u2852",
|
|
1643
|
+
"\u2853",
|
|
1644
|
+
"\u2854",
|
|
1645
|
+
"\u2855",
|
|
1646
|
+
"\u2856",
|
|
1647
|
+
"\u2857",
|
|
1648
|
+
"\u2818",
|
|
1649
|
+
"\u2819",
|
|
1650
|
+
"\u281A",
|
|
1651
|
+
"\u281B",
|
|
1652
|
+
"\u281C",
|
|
1653
|
+
"\u281D",
|
|
1654
|
+
"\u281E",
|
|
1655
|
+
"\u281F",
|
|
1656
|
+
"\u2858",
|
|
1657
|
+
"\u2859",
|
|
1658
|
+
"\u285A",
|
|
1659
|
+
"\u285B",
|
|
1660
|
+
"\u285C",
|
|
1661
|
+
"\u285D",
|
|
1662
|
+
"\u285E",
|
|
1663
|
+
"\u285F",
|
|
1664
|
+
"\u2820",
|
|
1665
|
+
"\u2821",
|
|
1666
|
+
"\u2822",
|
|
1667
|
+
"\u2823",
|
|
1668
|
+
"\u2824",
|
|
1669
|
+
"\u2825",
|
|
1670
|
+
"\u2826",
|
|
1671
|
+
"\u2827",
|
|
1672
|
+
"\u2860",
|
|
1673
|
+
"\u2861",
|
|
1674
|
+
"\u2862",
|
|
1675
|
+
"\u2863",
|
|
1676
|
+
"\u2864",
|
|
1677
|
+
"\u2865",
|
|
1678
|
+
"\u2866",
|
|
1679
|
+
"\u2867",
|
|
1680
|
+
"\u2828",
|
|
1681
|
+
"\u2829",
|
|
1682
|
+
"\u282A",
|
|
1683
|
+
"\u282B",
|
|
1684
|
+
"\u282C",
|
|
1685
|
+
"\u282D",
|
|
1686
|
+
"\u282E",
|
|
1687
|
+
"\u282F",
|
|
1688
|
+
"\u2868",
|
|
1689
|
+
"\u2869",
|
|
1690
|
+
"\u286A",
|
|
1691
|
+
"\u286B",
|
|
1692
|
+
"\u286C",
|
|
1693
|
+
"\u286D",
|
|
1694
|
+
"\u286E",
|
|
1695
|
+
"\u286F",
|
|
1696
|
+
"\u2830",
|
|
1697
|
+
"\u2831",
|
|
1698
|
+
"\u2832",
|
|
1699
|
+
"\u2833",
|
|
1700
|
+
"\u2834",
|
|
1701
|
+
"\u2835",
|
|
1702
|
+
"\u2836",
|
|
1703
|
+
"\u2837",
|
|
1704
|
+
"\u2870",
|
|
1705
|
+
"\u2871",
|
|
1706
|
+
"\u2872",
|
|
1707
|
+
"\u2873",
|
|
1708
|
+
"\u2874",
|
|
1709
|
+
"\u2875",
|
|
1710
|
+
"\u2876",
|
|
1711
|
+
"\u2877",
|
|
1712
|
+
"\u2838",
|
|
1713
|
+
"\u2839",
|
|
1714
|
+
"\u283A",
|
|
1715
|
+
"\u283B",
|
|
1716
|
+
"\u283C",
|
|
1717
|
+
"\u283D",
|
|
1718
|
+
"\u283E",
|
|
1719
|
+
"\u283F",
|
|
1720
|
+
"\u2878",
|
|
1721
|
+
"\u2879",
|
|
1722
|
+
"\u287A",
|
|
1723
|
+
"\u287B",
|
|
1724
|
+
"\u287C",
|
|
1725
|
+
"\u287D",
|
|
1726
|
+
"\u287E",
|
|
1727
|
+
"\u287F",
|
|
1728
|
+
"\u2880",
|
|
1729
|
+
"\u2881",
|
|
1730
|
+
"\u2882",
|
|
1731
|
+
"\u2883",
|
|
1732
|
+
"\u2884",
|
|
1733
|
+
"\u2885",
|
|
1734
|
+
"\u2886",
|
|
1735
|
+
"\u2887",
|
|
1736
|
+
"\u28C0",
|
|
1737
|
+
"\u28C1",
|
|
1738
|
+
"\u28C2",
|
|
1739
|
+
"\u28C3",
|
|
1740
|
+
"\u28C4",
|
|
1741
|
+
"\u28C5",
|
|
1742
|
+
"\u28C6",
|
|
1743
|
+
"\u28C7",
|
|
1744
|
+
"\u2888",
|
|
1745
|
+
"\u2889",
|
|
1746
|
+
"\u288A",
|
|
1747
|
+
"\u288B",
|
|
1748
|
+
"\u288C",
|
|
1749
|
+
"\u288D",
|
|
1750
|
+
"\u288E",
|
|
1751
|
+
"\u288F",
|
|
1752
|
+
"\u28C8",
|
|
1753
|
+
"\u28C9",
|
|
1754
|
+
"\u28CA",
|
|
1755
|
+
"\u28CB",
|
|
1756
|
+
"\u28CC",
|
|
1757
|
+
"\u28CD",
|
|
1758
|
+
"\u28CE",
|
|
1759
|
+
"\u28CF",
|
|
1760
|
+
"\u2890",
|
|
1761
|
+
"\u2891",
|
|
1762
|
+
"\u2892",
|
|
1763
|
+
"\u2893",
|
|
1764
|
+
"\u2894",
|
|
1765
|
+
"\u2895",
|
|
1766
|
+
"\u2896",
|
|
1767
|
+
"\u2897",
|
|
1768
|
+
"\u28D0",
|
|
1769
|
+
"\u28D1",
|
|
1770
|
+
"\u28D2",
|
|
1771
|
+
"\u28D3",
|
|
1772
|
+
"\u28D4",
|
|
1773
|
+
"\u28D5",
|
|
1774
|
+
"\u28D6",
|
|
1775
|
+
"\u28D7",
|
|
1776
|
+
"\u2898",
|
|
1777
|
+
"\u2899",
|
|
1778
|
+
"\u289A",
|
|
1779
|
+
"\u289B",
|
|
1780
|
+
"\u289C",
|
|
1781
|
+
"\u289D",
|
|
1782
|
+
"\u289E",
|
|
1783
|
+
"\u289F",
|
|
1784
|
+
"\u28D8",
|
|
1785
|
+
"\u28D9",
|
|
1786
|
+
"\u28DA",
|
|
1787
|
+
"\u28DB",
|
|
1788
|
+
"\u28DC",
|
|
1789
|
+
"\u28DD",
|
|
1790
|
+
"\u28DE",
|
|
1791
|
+
"\u28DF",
|
|
1792
|
+
"\u28A0",
|
|
1793
|
+
"\u28A1",
|
|
1794
|
+
"\u28A2",
|
|
1795
|
+
"\u28A3",
|
|
1796
|
+
"\u28A4",
|
|
1797
|
+
"\u28A5",
|
|
1798
|
+
"\u28A6",
|
|
1799
|
+
"\u28A7",
|
|
1800
|
+
"\u28E0",
|
|
1801
|
+
"\u28E1",
|
|
1802
|
+
"\u28E2",
|
|
1803
|
+
"\u28E3",
|
|
1804
|
+
"\u28E4",
|
|
1805
|
+
"\u28E5",
|
|
1806
|
+
"\u28E6",
|
|
1807
|
+
"\u28E7",
|
|
1808
|
+
"\u28A8",
|
|
1809
|
+
"\u28A9",
|
|
1810
|
+
"\u28AA",
|
|
1811
|
+
"\u28AB",
|
|
1812
|
+
"\u28AC",
|
|
1813
|
+
"\u28AD",
|
|
1814
|
+
"\u28AE",
|
|
1815
|
+
"\u28AF",
|
|
1816
|
+
"\u28E8",
|
|
1817
|
+
"\u28E9",
|
|
1818
|
+
"\u28EA",
|
|
1819
|
+
"\u28EB",
|
|
1820
|
+
"\u28EC",
|
|
1821
|
+
"\u28ED",
|
|
1822
|
+
"\u28EE",
|
|
1823
|
+
"\u28EF",
|
|
1824
|
+
"\u28B0",
|
|
1825
|
+
"\u28B1",
|
|
1826
|
+
"\u28B2",
|
|
1827
|
+
"\u28B3",
|
|
1828
|
+
"\u28B4",
|
|
1829
|
+
"\u28B5",
|
|
1830
|
+
"\u28B6",
|
|
1831
|
+
"\u28B7",
|
|
1832
|
+
"\u28F0",
|
|
1833
|
+
"\u28F1",
|
|
1834
|
+
"\u28F2",
|
|
1835
|
+
"\u28F3",
|
|
1836
|
+
"\u28F4",
|
|
1837
|
+
"\u28F5",
|
|
1838
|
+
"\u28F6",
|
|
1839
|
+
"\u28F7",
|
|
1840
|
+
"\u28B8",
|
|
1841
|
+
"\u28B9",
|
|
1842
|
+
"\u28BA",
|
|
1843
|
+
"\u28BB",
|
|
1844
|
+
"\u28BC",
|
|
1845
|
+
"\u28BD",
|
|
1846
|
+
"\u28BE",
|
|
1847
|
+
"\u28BF",
|
|
1848
|
+
"\u28F8",
|
|
1849
|
+
"\u28F9",
|
|
1850
|
+
"\u28FA",
|
|
1851
|
+
"\u28FB",
|
|
1852
|
+
"\u28FC",
|
|
1853
|
+
"\u28FD",
|
|
1854
|
+
"\u28FE",
|
|
1855
|
+
"\u28FF"
|
|
1856
|
+
]
|
|
1857
|
+
},
|
|
1858
|
+
dotsCircle: {
|
|
1859
|
+
interval: 80,
|
|
1860
|
+
frames: [
|
|
1861
|
+
"\u288E ",
|
|
1862
|
+
"\u280E\u2801",
|
|
1863
|
+
"\u280A\u2811",
|
|
1864
|
+
"\u2808\u2831",
|
|
1865
|
+
" \u2871",
|
|
1866
|
+
"\u2880\u2870",
|
|
1867
|
+
"\u2884\u2860",
|
|
1868
|
+
"\u2886\u2840"
|
|
1869
|
+
]
|
|
1870
|
+
},
|
|
1871
|
+
sand: {
|
|
1872
|
+
interval: 80,
|
|
1873
|
+
frames: [
|
|
1874
|
+
"\u2801",
|
|
1875
|
+
"\u2802",
|
|
1876
|
+
"\u2804",
|
|
1877
|
+
"\u2840",
|
|
1878
|
+
"\u2848",
|
|
1879
|
+
"\u2850",
|
|
1880
|
+
"\u2860",
|
|
1881
|
+
"\u28C0",
|
|
1882
|
+
"\u28C1",
|
|
1883
|
+
"\u28C2",
|
|
1884
|
+
"\u28C4",
|
|
1885
|
+
"\u28CC",
|
|
1886
|
+
"\u28D4",
|
|
1887
|
+
"\u28E4",
|
|
1888
|
+
"\u28E5",
|
|
1889
|
+
"\u28E6",
|
|
1890
|
+
"\u28EE",
|
|
1891
|
+
"\u28F6",
|
|
1892
|
+
"\u28F7",
|
|
1893
|
+
"\u28FF",
|
|
1894
|
+
"\u287F",
|
|
1895
|
+
"\u283F",
|
|
1896
|
+
"\u289F",
|
|
1897
|
+
"\u281F",
|
|
1898
|
+
"\u285B",
|
|
1899
|
+
"\u281B",
|
|
1900
|
+
"\u282B",
|
|
1901
|
+
"\u288B",
|
|
1902
|
+
"\u280B",
|
|
1903
|
+
"\u280D",
|
|
1904
|
+
"\u2849",
|
|
1905
|
+
"\u2809",
|
|
1906
|
+
"\u2811",
|
|
1907
|
+
"\u2821",
|
|
1908
|
+
"\u2881"
|
|
1909
|
+
]
|
|
1910
|
+
},
|
|
1911
|
+
line: {
|
|
1912
|
+
interval: 130,
|
|
1913
|
+
frames: [
|
|
1914
|
+
"-",
|
|
1915
|
+
"\\",
|
|
1916
|
+
"|",
|
|
1917
|
+
"/"
|
|
1918
|
+
]
|
|
1919
|
+
},
|
|
1920
|
+
line2: {
|
|
1921
|
+
interval: 100,
|
|
1922
|
+
frames: [
|
|
1923
|
+
"\u2802",
|
|
1924
|
+
"-",
|
|
1925
|
+
"\u2013",
|
|
1926
|
+
"\u2014",
|
|
1927
|
+
"\u2013",
|
|
1928
|
+
"-"
|
|
1929
|
+
]
|
|
1930
|
+
},
|
|
1931
|
+
rollingLine: {
|
|
1932
|
+
interval: 80,
|
|
1933
|
+
frames: [
|
|
1934
|
+
"/ ",
|
|
1935
|
+
" - ",
|
|
1936
|
+
" \\ ",
|
|
1937
|
+
" |",
|
|
1938
|
+
" |",
|
|
1939
|
+
" \\ ",
|
|
1940
|
+
" - ",
|
|
1941
|
+
"/ "
|
|
1942
|
+
]
|
|
1943
|
+
},
|
|
1944
|
+
pipe: {
|
|
1945
|
+
interval: 100,
|
|
1946
|
+
frames: [
|
|
1947
|
+
"\u2524",
|
|
1948
|
+
"\u2518",
|
|
1949
|
+
"\u2534",
|
|
1950
|
+
"\u2514",
|
|
1951
|
+
"\u251C",
|
|
1952
|
+
"\u250C",
|
|
1953
|
+
"\u252C",
|
|
1954
|
+
"\u2510"
|
|
1955
|
+
]
|
|
1956
|
+
},
|
|
1957
|
+
simpleDots: {
|
|
1958
|
+
interval: 400,
|
|
1959
|
+
frames: [
|
|
1960
|
+
". ",
|
|
1961
|
+
".. ",
|
|
1962
|
+
"...",
|
|
1963
|
+
" "
|
|
1964
|
+
]
|
|
1965
|
+
},
|
|
1966
|
+
simpleDotsScrolling: {
|
|
1967
|
+
interval: 200,
|
|
1968
|
+
frames: [
|
|
1969
|
+
". ",
|
|
1970
|
+
".. ",
|
|
1971
|
+
"...",
|
|
1972
|
+
" ..",
|
|
1973
|
+
" .",
|
|
1974
|
+
" "
|
|
1975
|
+
]
|
|
1976
|
+
},
|
|
1977
|
+
star: {
|
|
1978
|
+
interval: 70,
|
|
1979
|
+
frames: [
|
|
1980
|
+
"\u2736",
|
|
1981
|
+
"\u2738",
|
|
1982
|
+
"\u2739",
|
|
1983
|
+
"\u273A",
|
|
1984
|
+
"\u2739",
|
|
1985
|
+
"\u2737"
|
|
1986
|
+
]
|
|
1987
|
+
},
|
|
1988
|
+
star2: {
|
|
1989
|
+
interval: 80,
|
|
1990
|
+
frames: [
|
|
1991
|
+
"+",
|
|
1992
|
+
"x",
|
|
1993
|
+
"*"
|
|
1994
|
+
]
|
|
1995
|
+
},
|
|
1996
|
+
flip: {
|
|
1997
|
+
interval: 70,
|
|
1998
|
+
frames: [
|
|
1999
|
+
"_",
|
|
2000
|
+
"_",
|
|
2001
|
+
"_",
|
|
2002
|
+
"-",
|
|
2003
|
+
"`",
|
|
2004
|
+
"`",
|
|
2005
|
+
"'",
|
|
2006
|
+
"\xB4",
|
|
2007
|
+
"-",
|
|
2008
|
+
"_",
|
|
2009
|
+
"_",
|
|
2010
|
+
"_"
|
|
2011
|
+
]
|
|
2012
|
+
},
|
|
2013
|
+
hamburger: {
|
|
2014
|
+
interval: 100,
|
|
2015
|
+
frames: [
|
|
2016
|
+
"\u2631",
|
|
2017
|
+
"\u2632",
|
|
2018
|
+
"\u2634"
|
|
2019
|
+
]
|
|
2020
|
+
},
|
|
2021
|
+
growVertical: {
|
|
2022
|
+
interval: 120,
|
|
2023
|
+
frames: [
|
|
2024
|
+
"\u2581",
|
|
2025
|
+
"\u2583",
|
|
2026
|
+
"\u2584",
|
|
2027
|
+
"\u2585",
|
|
2028
|
+
"\u2586",
|
|
2029
|
+
"\u2587",
|
|
2030
|
+
"\u2586",
|
|
2031
|
+
"\u2585",
|
|
2032
|
+
"\u2584",
|
|
2033
|
+
"\u2583"
|
|
2034
|
+
]
|
|
2035
|
+
},
|
|
2036
|
+
growHorizontal: {
|
|
2037
|
+
interval: 120,
|
|
2038
|
+
frames: [
|
|
2039
|
+
"\u258F",
|
|
2040
|
+
"\u258E",
|
|
2041
|
+
"\u258D",
|
|
2042
|
+
"\u258C",
|
|
2043
|
+
"\u258B",
|
|
2044
|
+
"\u258A",
|
|
2045
|
+
"\u2589",
|
|
2046
|
+
"\u258A",
|
|
2047
|
+
"\u258B",
|
|
2048
|
+
"\u258C",
|
|
2049
|
+
"\u258D",
|
|
2050
|
+
"\u258E"
|
|
2051
|
+
]
|
|
2052
|
+
},
|
|
2053
|
+
balloon: {
|
|
2054
|
+
interval: 140,
|
|
2055
|
+
frames: [
|
|
2056
|
+
" ",
|
|
2057
|
+
".",
|
|
2058
|
+
"o",
|
|
2059
|
+
"O",
|
|
2060
|
+
"@",
|
|
2061
|
+
"*",
|
|
2062
|
+
" "
|
|
2063
|
+
]
|
|
2064
|
+
},
|
|
2065
|
+
balloon2: {
|
|
2066
|
+
interval: 120,
|
|
2067
|
+
frames: [
|
|
2068
|
+
".",
|
|
2069
|
+
"o",
|
|
2070
|
+
"O",
|
|
2071
|
+
"\xB0",
|
|
2072
|
+
"O",
|
|
2073
|
+
"o",
|
|
2074
|
+
"."
|
|
2075
|
+
]
|
|
2076
|
+
},
|
|
2077
|
+
noise: {
|
|
2078
|
+
interval: 100,
|
|
2079
|
+
frames: [
|
|
2080
|
+
"\u2593",
|
|
2081
|
+
"\u2592",
|
|
2082
|
+
"\u2591"
|
|
2083
|
+
]
|
|
2084
|
+
},
|
|
2085
|
+
bounce: {
|
|
2086
|
+
interval: 120,
|
|
2087
|
+
frames: [
|
|
2088
|
+
"\u2801",
|
|
2089
|
+
"\u2802",
|
|
2090
|
+
"\u2804",
|
|
2091
|
+
"\u2802"
|
|
2092
|
+
]
|
|
2093
|
+
},
|
|
2094
|
+
boxBounce: {
|
|
2095
|
+
interval: 120,
|
|
2096
|
+
frames: [
|
|
2097
|
+
"\u2596",
|
|
2098
|
+
"\u2598",
|
|
2099
|
+
"\u259D",
|
|
2100
|
+
"\u2597"
|
|
2101
|
+
]
|
|
2102
|
+
},
|
|
2103
|
+
boxBounce2: {
|
|
2104
|
+
interval: 100,
|
|
2105
|
+
frames: [
|
|
2106
|
+
"\u258C",
|
|
2107
|
+
"\u2580",
|
|
2108
|
+
"\u2590",
|
|
2109
|
+
"\u2584"
|
|
2110
|
+
]
|
|
2111
|
+
},
|
|
2112
|
+
triangle: {
|
|
2113
|
+
interval: 50,
|
|
2114
|
+
frames: [
|
|
2115
|
+
"\u25E2",
|
|
2116
|
+
"\u25E3",
|
|
2117
|
+
"\u25E4",
|
|
2118
|
+
"\u25E5"
|
|
2119
|
+
]
|
|
2120
|
+
},
|
|
2121
|
+
binary: {
|
|
2122
|
+
interval: 80,
|
|
2123
|
+
frames: [
|
|
2124
|
+
"010010",
|
|
2125
|
+
"001100",
|
|
2126
|
+
"100101",
|
|
2127
|
+
"111010",
|
|
2128
|
+
"111101",
|
|
2129
|
+
"010111",
|
|
2130
|
+
"101011",
|
|
2131
|
+
"111000",
|
|
2132
|
+
"110011",
|
|
2133
|
+
"110101"
|
|
2134
|
+
]
|
|
2135
|
+
},
|
|
2136
|
+
arc: {
|
|
2137
|
+
interval: 100,
|
|
2138
|
+
frames: [
|
|
2139
|
+
"\u25DC",
|
|
2140
|
+
"\u25E0",
|
|
2141
|
+
"\u25DD",
|
|
2142
|
+
"\u25DE",
|
|
2143
|
+
"\u25E1",
|
|
2144
|
+
"\u25DF"
|
|
2145
|
+
]
|
|
2146
|
+
},
|
|
2147
|
+
circle: {
|
|
2148
|
+
interval: 120,
|
|
2149
|
+
frames: [
|
|
2150
|
+
"\u25E1",
|
|
2151
|
+
"\u2299",
|
|
2152
|
+
"\u25E0"
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2155
|
+
squareCorners: {
|
|
2156
|
+
interval: 180,
|
|
2157
|
+
frames: [
|
|
2158
|
+
"\u25F0",
|
|
2159
|
+
"\u25F3",
|
|
2160
|
+
"\u25F2",
|
|
2161
|
+
"\u25F1"
|
|
2162
|
+
]
|
|
2163
|
+
},
|
|
2164
|
+
circleQuarters: {
|
|
2165
|
+
interval: 120,
|
|
2166
|
+
frames: [
|
|
2167
|
+
"\u25F4",
|
|
2168
|
+
"\u25F7",
|
|
2169
|
+
"\u25F6",
|
|
2170
|
+
"\u25F5"
|
|
2171
|
+
]
|
|
2172
|
+
},
|
|
2173
|
+
circleHalves: {
|
|
2174
|
+
interval: 50,
|
|
2175
|
+
frames: [
|
|
2176
|
+
"\u25D0",
|
|
2177
|
+
"\u25D3",
|
|
2178
|
+
"\u25D1",
|
|
2179
|
+
"\u25D2"
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2182
|
+
squish: {
|
|
2183
|
+
interval: 100,
|
|
2184
|
+
frames: [
|
|
2185
|
+
"\u256B",
|
|
2186
|
+
"\u256A"
|
|
2187
|
+
]
|
|
2188
|
+
},
|
|
2189
|
+
toggle: {
|
|
2190
|
+
interval: 250,
|
|
2191
|
+
frames: [
|
|
2192
|
+
"\u22B6",
|
|
2193
|
+
"\u22B7"
|
|
2194
|
+
]
|
|
2195
|
+
},
|
|
2196
|
+
toggle2: {
|
|
2197
|
+
interval: 80,
|
|
2198
|
+
frames: [
|
|
2199
|
+
"\u25AB",
|
|
2200
|
+
"\u25AA"
|
|
2201
|
+
]
|
|
2202
|
+
},
|
|
2203
|
+
toggle3: {
|
|
2204
|
+
interval: 120,
|
|
2205
|
+
frames: [
|
|
2206
|
+
"\u25A1",
|
|
2207
|
+
"\u25A0"
|
|
2208
|
+
]
|
|
2209
|
+
},
|
|
2210
|
+
toggle4: {
|
|
2211
|
+
interval: 100,
|
|
2212
|
+
frames: [
|
|
2213
|
+
"\u25A0",
|
|
2214
|
+
"\u25A1",
|
|
2215
|
+
"\u25AA",
|
|
2216
|
+
"\u25AB"
|
|
2217
|
+
]
|
|
2218
|
+
},
|
|
2219
|
+
toggle5: {
|
|
2220
|
+
interval: 100,
|
|
2221
|
+
frames: [
|
|
2222
|
+
"\u25AE",
|
|
2223
|
+
"\u25AF"
|
|
2224
|
+
]
|
|
2225
|
+
},
|
|
2226
|
+
toggle6: {
|
|
2227
|
+
interval: 300,
|
|
2228
|
+
frames: [
|
|
2229
|
+
"\u101D",
|
|
2230
|
+
"\u1040"
|
|
2231
|
+
]
|
|
2232
|
+
},
|
|
2233
|
+
toggle7: {
|
|
2234
|
+
interval: 80,
|
|
2235
|
+
frames: [
|
|
2236
|
+
"\u29BE",
|
|
2237
|
+
"\u29BF"
|
|
2238
|
+
]
|
|
2239
|
+
},
|
|
2240
|
+
toggle8: {
|
|
2241
|
+
interval: 100,
|
|
2242
|
+
frames: [
|
|
2243
|
+
"\u25CD",
|
|
2244
|
+
"\u25CC"
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
toggle9: {
|
|
2248
|
+
interval: 100,
|
|
2249
|
+
frames: [
|
|
2250
|
+
"\u25C9",
|
|
2251
|
+
"\u25CE"
|
|
2252
|
+
]
|
|
2253
|
+
},
|
|
2254
|
+
toggle10: {
|
|
2255
|
+
interval: 100,
|
|
2256
|
+
frames: [
|
|
2257
|
+
"\u3282",
|
|
2258
|
+
"\u3280",
|
|
2259
|
+
"\u3281"
|
|
2260
|
+
]
|
|
2261
|
+
},
|
|
2262
|
+
toggle11: {
|
|
2263
|
+
interval: 50,
|
|
2264
|
+
frames: [
|
|
2265
|
+
"\u29C7",
|
|
2266
|
+
"\u29C6"
|
|
2267
|
+
]
|
|
2268
|
+
},
|
|
2269
|
+
toggle12: {
|
|
2270
|
+
interval: 120,
|
|
2271
|
+
frames: [
|
|
2272
|
+
"\u2617",
|
|
2273
|
+
"\u2616"
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
toggle13: {
|
|
2277
|
+
interval: 80,
|
|
2278
|
+
frames: [
|
|
2279
|
+
"=",
|
|
2280
|
+
"*",
|
|
2281
|
+
"-"
|
|
2282
|
+
]
|
|
2283
|
+
},
|
|
2284
|
+
arrow: {
|
|
2285
|
+
interval: 100,
|
|
2286
|
+
frames: [
|
|
2287
|
+
"\u2190",
|
|
2288
|
+
"\u2196",
|
|
2289
|
+
"\u2191",
|
|
2290
|
+
"\u2197",
|
|
2291
|
+
"\u2192",
|
|
2292
|
+
"\u2198",
|
|
2293
|
+
"\u2193",
|
|
2294
|
+
"\u2199"
|
|
2295
|
+
]
|
|
2296
|
+
},
|
|
2297
|
+
arrow2: {
|
|
2298
|
+
interval: 80,
|
|
2299
|
+
frames: [
|
|
2300
|
+
"\u2B06\uFE0F ",
|
|
2301
|
+
"\u2197\uFE0F ",
|
|
2302
|
+
"\u27A1\uFE0F ",
|
|
2303
|
+
"\u2198\uFE0F ",
|
|
2304
|
+
"\u2B07\uFE0F ",
|
|
2305
|
+
"\u2199\uFE0F ",
|
|
2306
|
+
"\u2B05\uFE0F ",
|
|
2307
|
+
"\u2196\uFE0F "
|
|
2308
|
+
]
|
|
2309
|
+
},
|
|
2310
|
+
arrow3: {
|
|
2311
|
+
interval: 120,
|
|
2312
|
+
frames: [
|
|
2313
|
+
"\u25B9\u25B9\u25B9\u25B9\u25B9",
|
|
2314
|
+
"\u25B8\u25B9\u25B9\u25B9\u25B9",
|
|
2315
|
+
"\u25B9\u25B8\u25B9\u25B9\u25B9",
|
|
2316
|
+
"\u25B9\u25B9\u25B8\u25B9\u25B9",
|
|
2317
|
+
"\u25B9\u25B9\u25B9\u25B8\u25B9",
|
|
2318
|
+
"\u25B9\u25B9\u25B9\u25B9\u25B8"
|
|
2319
|
+
]
|
|
2320
|
+
},
|
|
2321
|
+
bouncingBar: {
|
|
2322
|
+
interval: 80,
|
|
2323
|
+
frames: [
|
|
2324
|
+
"[ ]",
|
|
2325
|
+
"[= ]",
|
|
2326
|
+
"[== ]",
|
|
2327
|
+
"[=== ]",
|
|
2328
|
+
"[====]",
|
|
2329
|
+
"[ ===]",
|
|
2330
|
+
"[ ==]",
|
|
2331
|
+
"[ =]",
|
|
2332
|
+
"[ ]",
|
|
2333
|
+
"[ =]",
|
|
2334
|
+
"[ ==]",
|
|
2335
|
+
"[ ===]",
|
|
2336
|
+
"[====]",
|
|
2337
|
+
"[=== ]",
|
|
2338
|
+
"[== ]",
|
|
2339
|
+
"[= ]"
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2342
|
+
bouncingBall: {
|
|
2343
|
+
interval: 80,
|
|
2344
|
+
frames: [
|
|
2345
|
+
"( \u25CF )",
|
|
2346
|
+
"( \u25CF )",
|
|
2347
|
+
"( \u25CF )",
|
|
2348
|
+
"( \u25CF )",
|
|
2349
|
+
"( \u25CF)",
|
|
2350
|
+
"( \u25CF )",
|
|
2351
|
+
"( \u25CF )",
|
|
2352
|
+
"( \u25CF )",
|
|
2353
|
+
"( \u25CF )",
|
|
2354
|
+
"(\u25CF )"
|
|
2355
|
+
]
|
|
2356
|
+
},
|
|
2357
|
+
smiley: {
|
|
2358
|
+
interval: 200,
|
|
2359
|
+
frames: [
|
|
2360
|
+
"\u{1F604} ",
|
|
2361
|
+
"\u{1F61D} "
|
|
2362
|
+
]
|
|
2363
|
+
},
|
|
2364
|
+
monkey: {
|
|
2365
|
+
interval: 300,
|
|
2366
|
+
frames: [
|
|
2367
|
+
"\u{1F648} ",
|
|
2368
|
+
"\u{1F648} ",
|
|
2369
|
+
"\u{1F649} ",
|
|
2370
|
+
"\u{1F64A} "
|
|
2371
|
+
]
|
|
2372
|
+
},
|
|
2373
|
+
hearts: {
|
|
2374
|
+
interval: 100,
|
|
2375
|
+
frames: [
|
|
2376
|
+
"\u{1F49B} ",
|
|
2377
|
+
"\u{1F499} ",
|
|
2378
|
+
"\u{1F49C} ",
|
|
2379
|
+
"\u{1F49A} ",
|
|
2380
|
+
"\u{1F497} "
|
|
2381
|
+
]
|
|
2382
|
+
},
|
|
2383
|
+
clock: {
|
|
2384
|
+
interval: 100,
|
|
2385
|
+
frames: [
|
|
2386
|
+
"\u{1F55B} ",
|
|
2387
|
+
"\u{1F550} ",
|
|
2388
|
+
"\u{1F551} ",
|
|
2389
|
+
"\u{1F552} ",
|
|
2390
|
+
"\u{1F553} ",
|
|
2391
|
+
"\u{1F554} ",
|
|
2392
|
+
"\u{1F555} ",
|
|
2393
|
+
"\u{1F556} ",
|
|
2394
|
+
"\u{1F557} ",
|
|
2395
|
+
"\u{1F558} ",
|
|
2396
|
+
"\u{1F559} ",
|
|
2397
|
+
"\u{1F55A} "
|
|
2398
|
+
]
|
|
2399
|
+
},
|
|
2400
|
+
earth: {
|
|
2401
|
+
interval: 180,
|
|
2402
|
+
frames: [
|
|
2403
|
+
"\u{1F30D} ",
|
|
2404
|
+
"\u{1F30E} ",
|
|
2405
|
+
"\u{1F30F} "
|
|
2406
|
+
]
|
|
2407
|
+
},
|
|
2408
|
+
material: {
|
|
2409
|
+
interval: 17,
|
|
2410
|
+
frames: [
|
|
2411
|
+
"\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2412
|
+
"\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2413
|
+
"\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2414
|
+
"\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2415
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2416
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2417
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2418
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2419
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2420
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2421
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2422
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2423
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2424
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2425
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2426
|
+
"\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
|
|
2427
|
+
"\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
|
|
2428
|
+
"\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
|
|
2429
|
+
"\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
|
|
2430
|
+
"\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2431
|
+
"\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2432
|
+
"\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
|
|
2433
|
+
"\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
|
|
2434
|
+
"\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2435
|
+
"\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2436
|
+
"\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2437
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2438
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2439
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2440
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2441
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2442
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2443
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2444
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2445
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2446
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2447
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2448
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2449
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2450
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
|
|
2451
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
|
|
2452
|
+
"\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
|
|
2453
|
+
"\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
|
|
2454
|
+
"\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
|
|
2455
|
+
"\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
|
|
2456
|
+
"\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
|
|
2457
|
+
"\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2458
|
+
"\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2459
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2460
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2461
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2462
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2463
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2464
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2465
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2466
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2467
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2468
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2469
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2470
|
+
"\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
|
|
2471
|
+
"\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
|
|
2472
|
+
"\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
|
|
2473
|
+
"\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2474
|
+
"\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2475
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2476
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2477
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
|
|
2478
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
|
|
2479
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
|
|
2480
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2481
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2482
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2483
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2484
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
|
|
2485
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2486
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
2487
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
|
|
2488
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
|
|
2489
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
|
|
2490
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
|
|
2491
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
|
|
2492
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
|
|
2493
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
|
|
2494
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
|
|
2495
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
|
|
2496
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2497
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2498
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
|
|
2499
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2500
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2501
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
|
|
2502
|
+
"\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"
|
|
2503
|
+
]
|
|
2504
|
+
},
|
|
2505
|
+
moon: {
|
|
2506
|
+
interval: 80,
|
|
2507
|
+
frames: [
|
|
2508
|
+
"\u{1F311} ",
|
|
2509
|
+
"\u{1F312} ",
|
|
2510
|
+
"\u{1F313} ",
|
|
2511
|
+
"\u{1F314} ",
|
|
2512
|
+
"\u{1F315} ",
|
|
2513
|
+
"\u{1F316} ",
|
|
2514
|
+
"\u{1F317} ",
|
|
2515
|
+
"\u{1F318} "
|
|
2516
|
+
]
|
|
2517
|
+
},
|
|
2518
|
+
runner: {
|
|
2519
|
+
interval: 140,
|
|
2520
|
+
frames: [
|
|
2521
|
+
"\u{1F6B6} ",
|
|
2522
|
+
"\u{1F3C3} "
|
|
2523
|
+
]
|
|
2524
|
+
},
|
|
2525
|
+
pong: {
|
|
2526
|
+
interval: 80,
|
|
2527
|
+
frames: [
|
|
2528
|
+
"\u2590\u2802 \u258C",
|
|
2529
|
+
"\u2590\u2808 \u258C",
|
|
2530
|
+
"\u2590 \u2802 \u258C",
|
|
2531
|
+
"\u2590 \u2820 \u258C",
|
|
2532
|
+
"\u2590 \u2840 \u258C",
|
|
2533
|
+
"\u2590 \u2820 \u258C",
|
|
2534
|
+
"\u2590 \u2802 \u258C",
|
|
2535
|
+
"\u2590 \u2808 \u258C",
|
|
2536
|
+
"\u2590 \u2802 \u258C",
|
|
2537
|
+
"\u2590 \u2820 \u258C",
|
|
2538
|
+
"\u2590 \u2840 \u258C",
|
|
2539
|
+
"\u2590 \u2820 \u258C",
|
|
2540
|
+
"\u2590 \u2802 \u258C",
|
|
2541
|
+
"\u2590 \u2808 \u258C",
|
|
2542
|
+
"\u2590 \u2802\u258C",
|
|
2543
|
+
"\u2590 \u2820\u258C",
|
|
2544
|
+
"\u2590 \u2840\u258C",
|
|
2545
|
+
"\u2590 \u2820 \u258C",
|
|
2546
|
+
"\u2590 \u2802 \u258C",
|
|
2547
|
+
"\u2590 \u2808 \u258C",
|
|
2548
|
+
"\u2590 \u2802 \u258C",
|
|
2549
|
+
"\u2590 \u2820 \u258C",
|
|
2550
|
+
"\u2590 \u2840 \u258C",
|
|
2551
|
+
"\u2590 \u2820 \u258C",
|
|
2552
|
+
"\u2590 \u2802 \u258C",
|
|
2553
|
+
"\u2590 \u2808 \u258C",
|
|
2554
|
+
"\u2590 \u2802 \u258C",
|
|
2555
|
+
"\u2590 \u2820 \u258C",
|
|
2556
|
+
"\u2590 \u2840 \u258C",
|
|
2557
|
+
"\u2590\u2820 \u258C"
|
|
2558
|
+
]
|
|
2559
|
+
},
|
|
2560
|
+
shark: {
|
|
2561
|
+
interval: 120,
|
|
2562
|
+
frames: [
|
|
2563
|
+
"\u2590|\\____________\u258C",
|
|
2564
|
+
"\u2590_|\\___________\u258C",
|
|
2565
|
+
"\u2590__|\\__________\u258C",
|
|
2566
|
+
"\u2590___|\\_________\u258C",
|
|
2567
|
+
"\u2590____|\\________\u258C",
|
|
2568
|
+
"\u2590_____|\\_______\u258C",
|
|
2569
|
+
"\u2590______|\\______\u258C",
|
|
2570
|
+
"\u2590_______|\\_____\u258C",
|
|
2571
|
+
"\u2590________|\\____\u258C",
|
|
2572
|
+
"\u2590_________|\\___\u258C",
|
|
2573
|
+
"\u2590__________|\\__\u258C",
|
|
2574
|
+
"\u2590___________|\\_\u258C",
|
|
2575
|
+
"\u2590____________|\\\u258C",
|
|
2576
|
+
"\u2590____________/|\u258C",
|
|
2577
|
+
"\u2590___________/|_\u258C",
|
|
2578
|
+
"\u2590__________/|__\u258C",
|
|
2579
|
+
"\u2590_________/|___\u258C",
|
|
2580
|
+
"\u2590________/|____\u258C",
|
|
2581
|
+
"\u2590_______/|_____\u258C",
|
|
2582
|
+
"\u2590______/|______\u258C",
|
|
2583
|
+
"\u2590_____/|_______\u258C",
|
|
2584
|
+
"\u2590____/|________\u258C",
|
|
2585
|
+
"\u2590___/|_________\u258C",
|
|
2586
|
+
"\u2590__/|__________\u258C",
|
|
2587
|
+
"\u2590_/|___________\u258C",
|
|
2588
|
+
"\u2590/|____________\u258C"
|
|
2589
|
+
]
|
|
2590
|
+
},
|
|
2591
|
+
dqpb: {
|
|
2592
|
+
interval: 100,
|
|
2593
|
+
frames: [
|
|
2594
|
+
"d",
|
|
2595
|
+
"q",
|
|
2596
|
+
"p",
|
|
2597
|
+
"b"
|
|
2598
|
+
]
|
|
2599
|
+
},
|
|
2600
|
+
weather: {
|
|
2601
|
+
interval: 100,
|
|
2602
|
+
frames: [
|
|
2603
|
+
"\u2600\uFE0F ",
|
|
2604
|
+
"\u2600\uFE0F ",
|
|
2605
|
+
"\u2600\uFE0F ",
|
|
2606
|
+
"\u{1F324} ",
|
|
2607
|
+
"\u26C5\uFE0F ",
|
|
2608
|
+
"\u{1F325} ",
|
|
2609
|
+
"\u2601\uFE0F ",
|
|
2610
|
+
"\u{1F327} ",
|
|
2611
|
+
"\u{1F328} ",
|
|
2612
|
+
"\u{1F327} ",
|
|
2613
|
+
"\u{1F328} ",
|
|
2614
|
+
"\u{1F327} ",
|
|
2615
|
+
"\u{1F328} ",
|
|
2616
|
+
"\u26C8 ",
|
|
2617
|
+
"\u{1F328} ",
|
|
2618
|
+
"\u{1F327} ",
|
|
2619
|
+
"\u{1F328} ",
|
|
2620
|
+
"\u2601\uFE0F ",
|
|
2621
|
+
"\u{1F325} ",
|
|
2622
|
+
"\u26C5\uFE0F ",
|
|
2623
|
+
"\u{1F324} ",
|
|
2624
|
+
"\u2600\uFE0F ",
|
|
2625
|
+
"\u2600\uFE0F "
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
christmas: {
|
|
2629
|
+
interval: 400,
|
|
2630
|
+
frames: [
|
|
2631
|
+
"\u{1F332}",
|
|
2632
|
+
"\u{1F384}"
|
|
2633
|
+
]
|
|
2634
|
+
},
|
|
2635
|
+
grenade: {
|
|
2636
|
+
interval: 80,
|
|
2637
|
+
frames: [
|
|
2638
|
+
"\u060C ",
|
|
2639
|
+
"\u2032 ",
|
|
2640
|
+
" \xB4 ",
|
|
2641
|
+
" \u203E ",
|
|
2642
|
+
" \u2E0C",
|
|
2643
|
+
" \u2E0A",
|
|
2644
|
+
" |",
|
|
2645
|
+
" \u204E",
|
|
2646
|
+
" \u2055",
|
|
2647
|
+
" \u0DF4 ",
|
|
2648
|
+
" \u2053",
|
|
2649
|
+
" ",
|
|
2650
|
+
" ",
|
|
2651
|
+
" "
|
|
2652
|
+
]
|
|
2653
|
+
},
|
|
2654
|
+
point: {
|
|
2655
|
+
interval: 125,
|
|
2656
|
+
frames: [
|
|
2657
|
+
"\u2219\u2219\u2219",
|
|
2658
|
+
"\u25CF\u2219\u2219",
|
|
2659
|
+
"\u2219\u25CF\u2219",
|
|
2660
|
+
"\u2219\u2219\u25CF",
|
|
2661
|
+
"\u2219\u2219\u2219"
|
|
2662
|
+
]
|
|
2663
|
+
},
|
|
2664
|
+
layer: {
|
|
2665
|
+
interval: 150,
|
|
2666
|
+
frames: [
|
|
2667
|
+
"-",
|
|
2668
|
+
"=",
|
|
2669
|
+
"\u2261"
|
|
2670
|
+
]
|
|
2671
|
+
},
|
|
2672
|
+
betaWave: {
|
|
2673
|
+
interval: 80,
|
|
2674
|
+
frames: [
|
|
2675
|
+
"\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2",
|
|
2676
|
+
"\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2",
|
|
2677
|
+
"\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2",
|
|
2678
|
+
"\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2",
|
|
2679
|
+
"\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2",
|
|
2680
|
+
"\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2",
|
|
2681
|
+
"\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"
|
|
2682
|
+
]
|
|
2683
|
+
},
|
|
2684
|
+
fingerDance: {
|
|
2685
|
+
interval: 160,
|
|
2686
|
+
frames: [
|
|
2687
|
+
"\u{1F918} ",
|
|
2688
|
+
"\u{1F91F} ",
|
|
2689
|
+
"\u{1F596} ",
|
|
2690
|
+
"\u270B ",
|
|
2691
|
+
"\u{1F91A} ",
|
|
2692
|
+
"\u{1F446} "
|
|
2693
|
+
]
|
|
2694
|
+
},
|
|
2695
|
+
fistBump: {
|
|
2696
|
+
interval: 80,
|
|
2697
|
+
frames: [
|
|
2698
|
+
"\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
|
|
2699
|
+
"\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
|
|
2700
|
+
"\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
|
|
2701
|
+
"\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ",
|
|
2702
|
+
"\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ",
|
|
2703
|
+
"\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ",
|
|
2704
|
+
"\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "
|
|
2705
|
+
]
|
|
2706
|
+
},
|
|
2707
|
+
soccerHeader: {
|
|
2708
|
+
interval: 80,
|
|
2709
|
+
frames: [
|
|
2710
|
+
" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ",
|
|
2711
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2712
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2713
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2714
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2715
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2716
|
+
"\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ",
|
|
2717
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2718
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2719
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2720
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
|
|
2721
|
+
"\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "
|
|
2722
|
+
]
|
|
2723
|
+
},
|
|
2724
|
+
mindblown: {
|
|
2725
|
+
interval: 160,
|
|
2726
|
+
frames: [
|
|
2727
|
+
"\u{1F610} ",
|
|
2728
|
+
"\u{1F610} ",
|
|
2729
|
+
"\u{1F62E} ",
|
|
2730
|
+
"\u{1F62E} ",
|
|
2731
|
+
"\u{1F626} ",
|
|
2732
|
+
"\u{1F626} ",
|
|
2733
|
+
"\u{1F627} ",
|
|
2734
|
+
"\u{1F627} ",
|
|
2735
|
+
"\u{1F92F} ",
|
|
2736
|
+
"\u{1F4A5} ",
|
|
2737
|
+
"\u2728 ",
|
|
2738
|
+
"\u3000 ",
|
|
2739
|
+
"\u3000 ",
|
|
2740
|
+
"\u3000 "
|
|
2741
|
+
]
|
|
2742
|
+
},
|
|
2743
|
+
speaker: {
|
|
2744
|
+
interval: 160,
|
|
2745
|
+
frames: [
|
|
2746
|
+
"\u{1F508} ",
|
|
2747
|
+
"\u{1F509} ",
|
|
2748
|
+
"\u{1F50A} ",
|
|
2749
|
+
"\u{1F509} "
|
|
2750
|
+
]
|
|
2751
|
+
},
|
|
2752
|
+
orangePulse: {
|
|
2753
|
+
interval: 100,
|
|
2754
|
+
frames: [
|
|
2755
|
+
"\u{1F538} ",
|
|
2756
|
+
"\u{1F536} ",
|
|
2757
|
+
"\u{1F7E0} ",
|
|
2758
|
+
"\u{1F7E0} ",
|
|
2759
|
+
"\u{1F536} "
|
|
2760
|
+
]
|
|
2761
|
+
},
|
|
2762
|
+
bluePulse: {
|
|
2763
|
+
interval: 100,
|
|
2764
|
+
frames: [
|
|
2765
|
+
"\u{1F539} ",
|
|
2766
|
+
"\u{1F537} ",
|
|
2767
|
+
"\u{1F535} ",
|
|
2768
|
+
"\u{1F535} ",
|
|
2769
|
+
"\u{1F537} "
|
|
2770
|
+
]
|
|
2771
|
+
},
|
|
2772
|
+
orangeBluePulse: {
|
|
2773
|
+
interval: 100,
|
|
2774
|
+
frames: [
|
|
2775
|
+
"\u{1F538} ",
|
|
2776
|
+
"\u{1F536} ",
|
|
2777
|
+
"\u{1F7E0} ",
|
|
2778
|
+
"\u{1F7E0} ",
|
|
2779
|
+
"\u{1F536} ",
|
|
2780
|
+
"\u{1F539} ",
|
|
2781
|
+
"\u{1F537} ",
|
|
2782
|
+
"\u{1F535} ",
|
|
2783
|
+
"\u{1F535} ",
|
|
2784
|
+
"\u{1F537} "
|
|
2785
|
+
]
|
|
2786
|
+
},
|
|
2787
|
+
timeTravel: {
|
|
2788
|
+
interval: 100,
|
|
2789
|
+
frames: [
|
|
2790
|
+
"\u{1F55B} ",
|
|
2791
|
+
"\u{1F55A} ",
|
|
2792
|
+
"\u{1F559} ",
|
|
2793
|
+
"\u{1F558} ",
|
|
2794
|
+
"\u{1F557} ",
|
|
2795
|
+
"\u{1F556} ",
|
|
2796
|
+
"\u{1F555} ",
|
|
2797
|
+
"\u{1F554} ",
|
|
2798
|
+
"\u{1F553} ",
|
|
2799
|
+
"\u{1F552} ",
|
|
2800
|
+
"\u{1F551} ",
|
|
2801
|
+
"\u{1F550} "
|
|
2802
|
+
]
|
|
2803
|
+
},
|
|
2804
|
+
aesthetic: {
|
|
2805
|
+
interval: 80,
|
|
2806
|
+
frames: [
|
|
2807
|
+
"\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1",
|
|
2808
|
+
"\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1",
|
|
2809
|
+
"\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1",
|
|
2810
|
+
"\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1",
|
|
2811
|
+
"\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1",
|
|
2812
|
+
"\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1",
|
|
2813
|
+
"\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0",
|
|
2814
|
+
"\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"
|
|
2815
|
+
]
|
|
2816
|
+
},
|
|
2817
|
+
dwarfFortress: {
|
|
2818
|
+
interval: 80,
|
|
2819
|
+
frames: [
|
|
2820
|
+
" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2821
|
+
"\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2822
|
+
"\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2823
|
+
"\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2824
|
+
"\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2825
|
+
"\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2826
|
+
"\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2827
|
+
"\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2828
|
+
"\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2829
|
+
"\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2830
|
+
" \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2831
|
+
" \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2832
|
+
" \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2833
|
+
" \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2834
|
+
" \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2835
|
+
" \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2836
|
+
" \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2837
|
+
" \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2838
|
+
" \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2839
|
+
" \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2840
|
+
" \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2841
|
+
" \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2842
|
+
" \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2843
|
+
" \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2844
|
+
" \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2845
|
+
" \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2846
|
+
" \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2847
|
+
" \u263A \u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2848
|
+
" \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2849
|
+
" \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2850
|
+
" \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
|
|
2851
|
+
" \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
|
|
2852
|
+
" \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
|
|
2853
|
+
" \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
|
|
2854
|
+
" \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
|
|
2855
|
+
" \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
|
|
2856
|
+
" \u263A \u2588\u2588\xA3\xA3\xA3 ",
|
|
2857
|
+
" \u263A\u2588\u2588\xA3\xA3\xA3 ",
|
|
2858
|
+
" \u263A\u2588\u2588\xA3\xA3\xA3 ",
|
|
2859
|
+
" \u263A\u2593\u2588\xA3\xA3\xA3 ",
|
|
2860
|
+
" \u263A\u2593\u2588\xA3\xA3\xA3 ",
|
|
2861
|
+
" \u263A\u2592\u2588\xA3\xA3\xA3 ",
|
|
2862
|
+
" \u263A\u2592\u2588\xA3\xA3\xA3 ",
|
|
2863
|
+
" \u263A\u2591\u2588\xA3\xA3\xA3 ",
|
|
2864
|
+
" \u263A\u2591\u2588\xA3\xA3\xA3 ",
|
|
2865
|
+
" \u263A \u2588\xA3\xA3\xA3 ",
|
|
2866
|
+
" \u263A\u2588\xA3\xA3\xA3 ",
|
|
2867
|
+
" \u263A\u2588\xA3\xA3\xA3 ",
|
|
2868
|
+
" \u263A\u2593\xA3\xA3\xA3 ",
|
|
2869
|
+
" \u263A\u2593\xA3\xA3\xA3 ",
|
|
2870
|
+
" \u263A\u2592\xA3\xA3\xA3 ",
|
|
2871
|
+
" \u263A\u2592\xA3\xA3\xA3 ",
|
|
2872
|
+
" \u263A\u2591\xA3\xA3\xA3 ",
|
|
2873
|
+
" \u263A\u2591\xA3\xA3\xA3 ",
|
|
2874
|
+
" \u263A \xA3\xA3\xA3 ",
|
|
2875
|
+
" \u263A\xA3\xA3\xA3 ",
|
|
2876
|
+
" \u263A\xA3\xA3\xA3 ",
|
|
2877
|
+
" \u263A\u2593\xA3\xA3 ",
|
|
2878
|
+
" \u263A\u2593\xA3\xA3 ",
|
|
2879
|
+
" \u263A\u2592\xA3\xA3 ",
|
|
2880
|
+
" \u263A\u2592\xA3\xA3 ",
|
|
2881
|
+
" \u263A\u2591\xA3\xA3 ",
|
|
2882
|
+
" \u263A\u2591\xA3\xA3 ",
|
|
2883
|
+
" \u263A \xA3\xA3 ",
|
|
2884
|
+
" \u263A\xA3\xA3 ",
|
|
2885
|
+
" \u263A\xA3\xA3 ",
|
|
2886
|
+
" \u263A\u2593\xA3 ",
|
|
2887
|
+
" \u263A\u2593\xA3 ",
|
|
2888
|
+
" \u263A\u2592\xA3 ",
|
|
2889
|
+
" \u263A\u2592\xA3 ",
|
|
2890
|
+
" \u263A\u2591\xA3 ",
|
|
2891
|
+
" \u263A\u2591\xA3 ",
|
|
2892
|
+
" \u263A \xA3 ",
|
|
2893
|
+
" \u263A\xA3 ",
|
|
2894
|
+
" \u263A\xA3 ",
|
|
2895
|
+
" \u263A\u2593 ",
|
|
2896
|
+
" \u263A\u2593 ",
|
|
2897
|
+
" \u263A\u2592 ",
|
|
2898
|
+
" \u263A\u2592 ",
|
|
2899
|
+
" \u263A\u2591 ",
|
|
2900
|
+
" \u263A\u2591 ",
|
|
2901
|
+
" \u263A ",
|
|
2902
|
+
" \u263A &",
|
|
2903
|
+
" \u263A \u263C&",
|
|
2904
|
+
" \u263A \u263C &",
|
|
2905
|
+
" \u263A\u263C &",
|
|
2906
|
+
" \u263A\u263C & ",
|
|
2907
|
+
" \u203C & ",
|
|
2908
|
+
" \u263A & ",
|
|
2909
|
+
" \u203C & ",
|
|
2910
|
+
" \u263A & ",
|
|
2911
|
+
" \u203C & ",
|
|
2912
|
+
" \u263A & ",
|
|
2913
|
+
"\u203C & ",
|
|
2914
|
+
" & ",
|
|
2915
|
+
" & ",
|
|
2916
|
+
" & \u2591 ",
|
|
2917
|
+
" & \u2592 ",
|
|
2918
|
+
" & \u2593 ",
|
|
2919
|
+
" & \xA3 ",
|
|
2920
|
+
" & \u2591\xA3 ",
|
|
2921
|
+
" & \u2592\xA3 ",
|
|
2922
|
+
" & \u2593\xA3 ",
|
|
2923
|
+
" & \xA3\xA3 ",
|
|
2924
|
+
" & \u2591\xA3\xA3 ",
|
|
2925
|
+
" & \u2592\xA3\xA3 ",
|
|
2926
|
+
"& \u2593\xA3\xA3 ",
|
|
2927
|
+
"& \xA3\xA3\xA3 ",
|
|
2928
|
+
" \u2591\xA3\xA3\xA3 ",
|
|
2929
|
+
" \u2592\xA3\xA3\xA3 ",
|
|
2930
|
+
" \u2593\xA3\xA3\xA3 ",
|
|
2931
|
+
" \u2588\xA3\xA3\xA3 ",
|
|
2932
|
+
" \u2591\u2588\xA3\xA3\xA3 ",
|
|
2933
|
+
" \u2592\u2588\xA3\xA3\xA3 ",
|
|
2934
|
+
" \u2593\u2588\xA3\xA3\xA3 ",
|
|
2935
|
+
" \u2588\u2588\xA3\xA3\xA3 ",
|
|
2936
|
+
" \u2591\u2588\u2588\xA3\xA3\xA3 ",
|
|
2937
|
+
" \u2592\u2588\u2588\xA3\xA3\xA3 ",
|
|
2938
|
+
" \u2593\u2588\u2588\xA3\xA3\xA3 ",
|
|
2939
|
+
" \u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2940
|
+
" \u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2941
|
+
" \u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2942
|
+
" \u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2943
|
+
" \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2944
|
+
" \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2945
|
+
" \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2946
|
+
" \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2947
|
+
" \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2948
|
+
" \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2949
|
+
" \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2950
|
+
" \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2951
|
+
" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
|
|
2952
|
+
" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "
|
|
2953
|
+
]
|
|
2954
|
+
},
|
|
2955
|
+
fish: {
|
|
2956
|
+
interval: 80,
|
|
2957
|
+
frames: [
|
|
2958
|
+
"~~~~~~~~~~~~~~~~~~~~",
|
|
2959
|
+
"> ~~~~~~~~~~~~~~~~~~",
|
|
2960
|
+
"\xBA> ~~~~~~~~~~~~~~~~~",
|
|
2961
|
+
"(\xBA> ~~~~~~~~~~~~~~~~",
|
|
2962
|
+
"((\xBA> ~~~~~~~~~~~~~~~",
|
|
2963
|
+
"<((\xBA> ~~~~~~~~~~~~~~",
|
|
2964
|
+
"><((\xBA> ~~~~~~~~~~~~~",
|
|
2965
|
+
" ><((\xBA> ~~~~~~~~~~~~",
|
|
2966
|
+
"~ ><((\xBA> ~~~~~~~~~~~",
|
|
2967
|
+
"~~ <>((\xBA> ~~~~~~~~~~",
|
|
2968
|
+
"~~~ ><((\xBA> ~~~~~~~~~",
|
|
2969
|
+
"~~~~ <>((\xBA> ~~~~~~~~",
|
|
2970
|
+
"~~~~~ ><((\xBA> ~~~~~~~",
|
|
2971
|
+
"~~~~~~ <>((\xBA> ~~~~~~",
|
|
2972
|
+
"~~~~~~~ ><((\xBA> ~~~~~",
|
|
2973
|
+
"~~~~~~~~ <>((\xBA> ~~~~",
|
|
2974
|
+
"~~~~~~~~~ ><((\xBA> ~~~",
|
|
2975
|
+
"~~~~~~~~~~ <>((\xBA> ~~",
|
|
2976
|
+
"~~~~~~~~~~~ ><((\xBA> ~",
|
|
2977
|
+
"~~~~~~~~~~~~ <>((\xBA> ",
|
|
2978
|
+
"~~~~~~~~~~~~~ ><((\xBA>",
|
|
2979
|
+
"~~~~~~~~~~~~~~ <>((\xBA",
|
|
2980
|
+
"~~~~~~~~~~~~~~~ ><((",
|
|
2981
|
+
"~~~~~~~~~~~~~~~~ <>(",
|
|
2982
|
+
"~~~~~~~~~~~~~~~~~ ><",
|
|
2983
|
+
"~~~~~~~~~~~~~~~~~~ <",
|
|
2984
|
+
"~~~~~~~~~~~~~~~~~~~~"
|
|
2985
|
+
]
|
|
2986
|
+
}
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2989
|
+
// ../../node_modules/cli-spinners/index.js
|
|
2990
|
+
var cli_spinners_default = spinners_default;
|
|
2991
|
+
var spinnersList = Object.keys(spinners_default);
|
|
2992
|
+
|
|
2993
|
+
// ../../node_modules/@inkjs/ui/build/components/spinner/use-spinner.js
|
|
2994
|
+
function useSpinner({ type = "dots" }) {
|
|
2995
|
+
const [frame, setFrame] = (0, import_react15.useState)(0);
|
|
2996
|
+
const spinner = cli_spinners_default[type];
|
|
2997
|
+
(0, import_react15.useEffect)(() => {
|
|
2998
|
+
const timer = setInterval(() => {
|
|
2999
|
+
setFrame((previousFrame) => {
|
|
3000
|
+
const isLastFrame = previousFrame === spinner.frames.length - 1;
|
|
3001
|
+
return isLastFrame ? 0 : previousFrame + 1;
|
|
3002
|
+
});
|
|
3003
|
+
}, spinner.interval);
|
|
3004
|
+
return () => {
|
|
3005
|
+
clearInterval(timer);
|
|
3006
|
+
};
|
|
3007
|
+
}, [spinner]);
|
|
3008
|
+
return {
|
|
3009
|
+
frame: spinner.frames[frame] ?? ""
|
|
3010
|
+
};
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
// ../../node_modules/@inkjs/ui/build/components/spinner/spinner.js
|
|
3014
|
+
function Spinner({ label, type }) {
|
|
3015
|
+
const { frame } = useSpinner({ type });
|
|
3016
|
+
const { styles: styles3 } = useComponentTheme("Spinner");
|
|
3017
|
+
return import_react16.default.createElement(
|
|
3018
|
+
Box_default,
|
|
3019
|
+
{ ...styles3.container() },
|
|
3020
|
+
import_react16.default.createElement(Text, { ...styles3.frame() }, frame),
|
|
3021
|
+
label && import_react16.default.createElement(Text, { ...styles3.label() }, label)
|
|
3022
|
+
);
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/text-input.js
|
|
3026
|
+
var import_react19 = __toESM(require_react(), 1);
|
|
3027
|
+
|
|
3028
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/use-text-input-state.js
|
|
3029
|
+
var import_react17 = __toESM(require_react(), 1);
|
|
3030
|
+
var reducer3 = (state, action) => {
|
|
3031
|
+
switch (action.type) {
|
|
3032
|
+
case "move-cursor-left": {
|
|
3033
|
+
return {
|
|
3034
|
+
...state,
|
|
3035
|
+
cursorOffset: Math.max(0, state.cursorOffset - 1)
|
|
3036
|
+
};
|
|
3037
|
+
}
|
|
3038
|
+
case "move-cursor-right": {
|
|
3039
|
+
return {
|
|
3040
|
+
...state,
|
|
3041
|
+
cursorOffset: Math.min(state.value.length, state.cursorOffset + 1)
|
|
3042
|
+
};
|
|
3043
|
+
}
|
|
3044
|
+
case "insert": {
|
|
3045
|
+
return {
|
|
3046
|
+
...state,
|
|
3047
|
+
previousValue: state.value,
|
|
3048
|
+
value: state.value.slice(0, state.cursorOffset) + action.text + state.value.slice(state.cursorOffset),
|
|
3049
|
+
cursorOffset: state.cursorOffset + action.text.length
|
|
3050
|
+
};
|
|
3051
|
+
}
|
|
3052
|
+
case "delete": {
|
|
3053
|
+
const newCursorOffset = Math.max(0, state.cursorOffset - 1);
|
|
3054
|
+
return {
|
|
3055
|
+
...state,
|
|
3056
|
+
previousValue: state.value,
|
|
3057
|
+
value: state.value.slice(0, newCursorOffset) + state.value.slice(newCursorOffset + 1),
|
|
3058
|
+
cursorOffset: newCursorOffset
|
|
3059
|
+
};
|
|
3060
|
+
}
|
|
3061
|
+
}
|
|
3062
|
+
};
|
|
3063
|
+
var useTextInputState = ({ defaultValue = "", suggestions, onChange, onSubmit }) => {
|
|
3064
|
+
const [state, dispatch] = (0, import_react17.useReducer)(reducer3, {
|
|
3065
|
+
previousValue: defaultValue,
|
|
3066
|
+
value: defaultValue,
|
|
3067
|
+
cursorOffset: defaultValue.length
|
|
3068
|
+
});
|
|
3069
|
+
const suggestion = (0, import_react17.useMemo)(() => {
|
|
3070
|
+
if (state.value.length === 0) {
|
|
3071
|
+
return;
|
|
3072
|
+
}
|
|
3073
|
+
return suggestions?.find((suggestion2) => suggestion2.startsWith(state.value))?.replace(state.value, "");
|
|
3074
|
+
}, [state.value, suggestions]);
|
|
3075
|
+
const moveCursorLeft = (0, import_react17.useCallback)(() => {
|
|
3076
|
+
dispatch({
|
|
3077
|
+
type: "move-cursor-left"
|
|
3078
|
+
});
|
|
3079
|
+
}, []);
|
|
3080
|
+
const moveCursorRight = (0, import_react17.useCallback)(() => {
|
|
3081
|
+
dispatch({
|
|
3082
|
+
type: "move-cursor-right"
|
|
3083
|
+
});
|
|
3084
|
+
}, []);
|
|
3085
|
+
const insert = (0, import_react17.useCallback)((text) => {
|
|
3086
|
+
dispatch({
|
|
3087
|
+
type: "insert",
|
|
3088
|
+
text
|
|
3089
|
+
});
|
|
3090
|
+
}, []);
|
|
3091
|
+
const deleteCharacter = (0, import_react17.useCallback)(() => {
|
|
3092
|
+
dispatch({
|
|
3093
|
+
type: "delete"
|
|
3094
|
+
});
|
|
3095
|
+
}, []);
|
|
3096
|
+
const submit = (0, import_react17.useCallback)(() => {
|
|
3097
|
+
if (suggestion) {
|
|
3098
|
+
insert(suggestion);
|
|
3099
|
+
onSubmit?.(state.value + suggestion);
|
|
3100
|
+
return;
|
|
3101
|
+
}
|
|
3102
|
+
onSubmit?.(state.value);
|
|
3103
|
+
}, [state.value, suggestion, insert, onSubmit]);
|
|
3104
|
+
(0, import_react17.useEffect)(() => {
|
|
3105
|
+
if (state.value !== state.previousValue) {
|
|
3106
|
+
onChange?.(state.value);
|
|
3107
|
+
}
|
|
3108
|
+
}, [state.previousValue, state.value, onChange]);
|
|
3109
|
+
return {
|
|
3110
|
+
...state,
|
|
3111
|
+
suggestion,
|
|
3112
|
+
moveCursorLeft,
|
|
3113
|
+
moveCursorRight,
|
|
3114
|
+
insert,
|
|
3115
|
+
delete: deleteCharacter,
|
|
3116
|
+
submit
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
|
|
3120
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/use-text-input.js
|
|
3121
|
+
var import_react18 = __toESM(require_react(), 1);
|
|
3122
|
+
|
|
3123
|
+
// ../../node_modules/@inkjs/ui/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
3124
|
+
var ANSI_BACKGROUND_OFFSET = 10;
|
|
3125
|
+
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
3126
|
+
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
3127
|
+
var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
|
|
3128
|
+
var styles = {
|
|
3129
|
+
modifier: {
|
|
3130
|
+
reset: [0, 0],
|
|
3131
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
3132
|
+
bold: [1, 22],
|
|
3133
|
+
dim: [2, 22],
|
|
3134
|
+
italic: [3, 23],
|
|
3135
|
+
underline: [4, 24],
|
|
3136
|
+
overline: [53, 55],
|
|
3137
|
+
inverse: [7, 27],
|
|
3138
|
+
hidden: [8, 28],
|
|
3139
|
+
strikethrough: [9, 29]
|
|
3140
|
+
},
|
|
3141
|
+
color: {
|
|
3142
|
+
black: [30, 39],
|
|
3143
|
+
red: [31, 39],
|
|
3144
|
+
green: [32, 39],
|
|
3145
|
+
yellow: [33, 39],
|
|
3146
|
+
blue: [34, 39],
|
|
3147
|
+
magenta: [35, 39],
|
|
3148
|
+
cyan: [36, 39],
|
|
3149
|
+
white: [37, 39],
|
|
3150
|
+
// Bright color
|
|
3151
|
+
blackBright: [90, 39],
|
|
3152
|
+
gray: [90, 39],
|
|
3153
|
+
// Alias of `blackBright`
|
|
3154
|
+
grey: [90, 39],
|
|
3155
|
+
// Alias of `blackBright`
|
|
3156
|
+
redBright: [91, 39],
|
|
3157
|
+
greenBright: [92, 39],
|
|
3158
|
+
yellowBright: [93, 39],
|
|
3159
|
+
blueBright: [94, 39],
|
|
3160
|
+
magentaBright: [95, 39],
|
|
3161
|
+
cyanBright: [96, 39],
|
|
3162
|
+
whiteBright: [97, 39]
|
|
3163
|
+
},
|
|
3164
|
+
bgColor: {
|
|
3165
|
+
bgBlack: [40, 49],
|
|
3166
|
+
bgRed: [41, 49],
|
|
3167
|
+
bgGreen: [42, 49],
|
|
3168
|
+
bgYellow: [43, 49],
|
|
3169
|
+
bgBlue: [44, 49],
|
|
3170
|
+
bgMagenta: [45, 49],
|
|
3171
|
+
bgCyan: [46, 49],
|
|
3172
|
+
bgWhite: [47, 49],
|
|
3173
|
+
// Bright color
|
|
3174
|
+
bgBlackBright: [100, 49],
|
|
3175
|
+
bgGray: [100, 49],
|
|
3176
|
+
// Alias of `bgBlackBright`
|
|
3177
|
+
bgGrey: [100, 49],
|
|
3178
|
+
// Alias of `bgBlackBright`
|
|
3179
|
+
bgRedBright: [101, 49],
|
|
3180
|
+
bgGreenBright: [102, 49],
|
|
3181
|
+
bgYellowBright: [103, 49],
|
|
3182
|
+
bgBlueBright: [104, 49],
|
|
3183
|
+
bgMagentaBright: [105, 49],
|
|
3184
|
+
bgCyanBright: [106, 49],
|
|
3185
|
+
bgWhiteBright: [107, 49]
|
|
3186
|
+
}
|
|
3187
|
+
};
|
|
3188
|
+
var modifierNames = Object.keys(styles.modifier);
|
|
3189
|
+
var foregroundColorNames = Object.keys(styles.color);
|
|
3190
|
+
var backgroundColorNames = Object.keys(styles.bgColor);
|
|
3191
|
+
var colorNames = [...foregroundColorNames, ...backgroundColorNames];
|
|
3192
|
+
function assembleStyles() {
|
|
3193
|
+
const codes = /* @__PURE__ */ new Map();
|
|
3194
|
+
for (const [groupName, group] of Object.entries(styles)) {
|
|
3195
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
3196
|
+
styles[styleName] = {
|
|
3197
|
+
open: `\x1B[${style[0]}m`,
|
|
3198
|
+
close: `\x1B[${style[1]}m`
|
|
3199
|
+
};
|
|
3200
|
+
group[styleName] = styles[styleName];
|
|
3201
|
+
codes.set(style[0], style[1]);
|
|
3202
|
+
}
|
|
3203
|
+
Object.defineProperty(styles, groupName, {
|
|
3204
|
+
value: group,
|
|
3205
|
+
enumerable: false
|
|
3206
|
+
});
|
|
3207
|
+
}
|
|
3208
|
+
Object.defineProperty(styles, "codes", {
|
|
3209
|
+
value: codes,
|
|
3210
|
+
enumerable: false
|
|
3211
|
+
});
|
|
3212
|
+
styles.color.close = "\x1B[39m";
|
|
3213
|
+
styles.bgColor.close = "\x1B[49m";
|
|
3214
|
+
styles.color.ansi = wrapAnsi16();
|
|
3215
|
+
styles.color.ansi256 = wrapAnsi256();
|
|
3216
|
+
styles.color.ansi16m = wrapAnsi16m();
|
|
3217
|
+
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
|
|
3218
|
+
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
|
|
3219
|
+
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
3220
|
+
Object.defineProperties(styles, {
|
|
3221
|
+
rgbToAnsi256: {
|
|
3222
|
+
value(red, green, blue) {
|
|
3223
|
+
if (red === green && green === blue) {
|
|
3224
|
+
if (red < 8) {
|
|
3225
|
+
return 16;
|
|
3226
|
+
}
|
|
3227
|
+
if (red > 248) {
|
|
3228
|
+
return 231;
|
|
3229
|
+
}
|
|
3230
|
+
return Math.round((red - 8) / 247 * 24) + 232;
|
|
3231
|
+
}
|
|
3232
|
+
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
|
|
3233
|
+
},
|
|
3234
|
+
enumerable: false
|
|
3235
|
+
},
|
|
3236
|
+
hexToRgb: {
|
|
3237
|
+
value(hex) {
|
|
3238
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
3239
|
+
if (!matches) {
|
|
3240
|
+
return [0, 0, 0];
|
|
3241
|
+
}
|
|
3242
|
+
let [colorString] = matches;
|
|
3243
|
+
if (colorString.length === 3) {
|
|
3244
|
+
colorString = [...colorString].map((character) => character + character).join("");
|
|
3245
|
+
}
|
|
3246
|
+
const integer = Number.parseInt(colorString, 16);
|
|
3247
|
+
return [
|
|
3248
|
+
/* eslint-disable no-bitwise */
|
|
3249
|
+
integer >> 16 & 255,
|
|
3250
|
+
integer >> 8 & 255,
|
|
3251
|
+
integer & 255
|
|
3252
|
+
/* eslint-enable no-bitwise */
|
|
3253
|
+
];
|
|
3254
|
+
},
|
|
3255
|
+
enumerable: false
|
|
3256
|
+
},
|
|
3257
|
+
hexToAnsi256: {
|
|
3258
|
+
value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
|
|
3259
|
+
enumerable: false
|
|
3260
|
+
},
|
|
3261
|
+
ansi256ToAnsi: {
|
|
3262
|
+
value(code) {
|
|
3263
|
+
if (code < 8) {
|
|
3264
|
+
return 30 + code;
|
|
3265
|
+
}
|
|
3266
|
+
if (code < 16) {
|
|
3267
|
+
return 90 + (code - 8);
|
|
3268
|
+
}
|
|
3269
|
+
let red;
|
|
3270
|
+
let green;
|
|
3271
|
+
let blue;
|
|
3272
|
+
if (code >= 232) {
|
|
3273
|
+
red = ((code - 232) * 10 + 8) / 255;
|
|
3274
|
+
green = red;
|
|
3275
|
+
blue = red;
|
|
3276
|
+
} else {
|
|
3277
|
+
code -= 16;
|
|
3278
|
+
const remainder = code % 36;
|
|
3279
|
+
red = Math.floor(code / 36) / 5;
|
|
3280
|
+
green = Math.floor(remainder / 6) / 5;
|
|
3281
|
+
blue = remainder % 6 / 5;
|
|
3282
|
+
}
|
|
3283
|
+
const value = Math.max(red, green, blue) * 2;
|
|
3284
|
+
if (value === 0) {
|
|
3285
|
+
return 30;
|
|
3286
|
+
}
|
|
3287
|
+
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
|
|
3288
|
+
if (value === 2) {
|
|
3289
|
+
result += 60;
|
|
3290
|
+
}
|
|
3291
|
+
return result;
|
|
3292
|
+
},
|
|
3293
|
+
enumerable: false
|
|
3294
|
+
},
|
|
3295
|
+
rgbToAnsi: {
|
|
3296
|
+
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
|
|
3297
|
+
enumerable: false
|
|
3298
|
+
},
|
|
3299
|
+
hexToAnsi: {
|
|
3300
|
+
value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
|
|
3301
|
+
enumerable: false
|
|
3302
|
+
}
|
|
3303
|
+
});
|
|
3304
|
+
return styles;
|
|
3305
|
+
}
|
|
3306
|
+
var ansiStyles = assembleStyles();
|
|
3307
|
+
var ansi_styles_default = ansiStyles;
|
|
3308
|
+
|
|
3309
|
+
// ../../node_modules/@inkjs/ui/node_modules/chalk/source/vendor/supports-color/index.js
|
|
3310
|
+
import process2 from "process";
|
|
3311
|
+
import os from "os";
|
|
3312
|
+
import tty from "tty";
|
|
3313
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
|
|
3314
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
3315
|
+
const position = argv.indexOf(prefix + flag);
|
|
3316
|
+
const terminatorPosition = argv.indexOf("--");
|
|
3317
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
3318
|
+
}
|
|
3319
|
+
var { env } = process2;
|
|
3320
|
+
var flagForceColor;
|
|
3321
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
3322
|
+
flagForceColor = 0;
|
|
3323
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
3324
|
+
flagForceColor = 1;
|
|
3325
|
+
}
|
|
3326
|
+
function envForceColor() {
|
|
3327
|
+
if ("FORCE_COLOR" in env) {
|
|
3328
|
+
if (env.FORCE_COLOR === "true") {
|
|
3329
|
+
return 1;
|
|
3330
|
+
}
|
|
3331
|
+
if (env.FORCE_COLOR === "false") {
|
|
3332
|
+
return 0;
|
|
3333
|
+
}
|
|
3334
|
+
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
function translateLevel(level) {
|
|
3338
|
+
if (level === 0) {
|
|
3339
|
+
return false;
|
|
3340
|
+
}
|
|
3341
|
+
return {
|
|
3342
|
+
level,
|
|
3343
|
+
hasBasic: true,
|
|
3344
|
+
has256: level >= 2,
|
|
3345
|
+
has16m: level >= 3
|
|
3346
|
+
};
|
|
3347
|
+
}
|
|
3348
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
3349
|
+
const noFlagForceColor = envForceColor();
|
|
3350
|
+
if (noFlagForceColor !== void 0) {
|
|
3351
|
+
flagForceColor = noFlagForceColor;
|
|
3352
|
+
}
|
|
3353
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
3354
|
+
if (forceColor === 0) {
|
|
3355
|
+
return 0;
|
|
3356
|
+
}
|
|
3357
|
+
if (sniffFlags) {
|
|
3358
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
3359
|
+
return 3;
|
|
3360
|
+
}
|
|
3361
|
+
if (hasFlag("color=256")) {
|
|
3362
|
+
return 2;
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
|
|
3366
|
+
return 1;
|
|
3367
|
+
}
|
|
3368
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
3369
|
+
return 0;
|
|
3370
|
+
}
|
|
3371
|
+
const min = forceColor || 0;
|
|
3372
|
+
if (env.TERM === "dumb") {
|
|
3373
|
+
return min;
|
|
3374
|
+
}
|
|
3375
|
+
if (process2.platform === "win32") {
|
|
3376
|
+
const osRelease = os.release().split(".");
|
|
3377
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
3378
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
3379
|
+
}
|
|
3380
|
+
return 1;
|
|
3381
|
+
}
|
|
3382
|
+
if ("CI" in env) {
|
|
3383
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
|
|
3384
|
+
return 3;
|
|
3385
|
+
}
|
|
3386
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
3387
|
+
return 1;
|
|
3388
|
+
}
|
|
3389
|
+
return min;
|
|
3390
|
+
}
|
|
3391
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
3392
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
3393
|
+
}
|
|
3394
|
+
if (env.COLORTERM === "truecolor") {
|
|
3395
|
+
return 3;
|
|
3396
|
+
}
|
|
3397
|
+
if (env.TERM === "xterm-kitty") {
|
|
3398
|
+
return 3;
|
|
3399
|
+
}
|
|
3400
|
+
if (env.TERM === "xterm-ghostty") {
|
|
3401
|
+
return 3;
|
|
3402
|
+
}
|
|
3403
|
+
if (env.TERM === "wezterm") {
|
|
3404
|
+
return 3;
|
|
3405
|
+
}
|
|
3406
|
+
if ("TERM_PROGRAM" in env) {
|
|
3407
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
3408
|
+
switch (env.TERM_PROGRAM) {
|
|
3409
|
+
case "iTerm.app": {
|
|
3410
|
+
return version >= 3 ? 3 : 2;
|
|
3411
|
+
}
|
|
3412
|
+
case "Apple_Terminal": {
|
|
3413
|
+
return 2;
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
3418
|
+
return 2;
|
|
3419
|
+
}
|
|
3420
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
3421
|
+
return 1;
|
|
3422
|
+
}
|
|
3423
|
+
if ("COLORTERM" in env) {
|
|
3424
|
+
return 1;
|
|
3425
|
+
}
|
|
3426
|
+
return min;
|
|
3427
|
+
}
|
|
3428
|
+
function createSupportsColor(stream, options = {}) {
|
|
3429
|
+
const level = _supportsColor(stream, {
|
|
3430
|
+
streamIsTTY: stream && stream.isTTY,
|
|
3431
|
+
...options
|
|
3432
|
+
});
|
|
3433
|
+
return translateLevel(level);
|
|
3434
|
+
}
|
|
3435
|
+
var supportsColor = {
|
|
3436
|
+
stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
|
|
3437
|
+
stderr: createSupportsColor({ isTTY: tty.isatty(2) })
|
|
3438
|
+
};
|
|
3439
|
+
var supports_color_default = supportsColor;
|
|
3440
|
+
|
|
3441
|
+
// ../../node_modules/@inkjs/ui/node_modules/chalk/source/utilities.js
|
|
3442
|
+
function stringReplaceAll(string, substring, replacer) {
|
|
3443
|
+
let index = string.indexOf(substring);
|
|
3444
|
+
if (index === -1) {
|
|
3445
|
+
return string;
|
|
3446
|
+
}
|
|
3447
|
+
const substringLength = substring.length;
|
|
3448
|
+
let endIndex = 0;
|
|
3449
|
+
let returnValue = "";
|
|
3450
|
+
do {
|
|
3451
|
+
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
3452
|
+
endIndex = index + substringLength;
|
|
3453
|
+
index = string.indexOf(substring, endIndex);
|
|
3454
|
+
} while (index !== -1);
|
|
3455
|
+
returnValue += string.slice(endIndex);
|
|
3456
|
+
return returnValue;
|
|
3457
|
+
}
|
|
3458
|
+
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
3459
|
+
let endIndex = 0;
|
|
3460
|
+
let returnValue = "";
|
|
3461
|
+
do {
|
|
3462
|
+
const gotCR = string[index - 1] === "\r";
|
|
3463
|
+
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
3464
|
+
endIndex = index + 1;
|
|
3465
|
+
index = string.indexOf("\n", endIndex);
|
|
3466
|
+
} while (index !== -1);
|
|
3467
|
+
returnValue += string.slice(endIndex);
|
|
3468
|
+
return returnValue;
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
// ../../node_modules/@inkjs/ui/node_modules/chalk/source/index.js
|
|
3472
|
+
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
3473
|
+
var GENERATOR = Symbol("GENERATOR");
|
|
3474
|
+
var STYLER = Symbol("STYLER");
|
|
3475
|
+
var IS_EMPTY = Symbol("IS_EMPTY");
|
|
3476
|
+
var levelMapping = [
|
|
3477
|
+
"ansi",
|
|
3478
|
+
"ansi",
|
|
3479
|
+
"ansi256",
|
|
3480
|
+
"ansi16m"
|
|
3481
|
+
];
|
|
3482
|
+
var styles2 = /* @__PURE__ */ Object.create(null);
|
|
3483
|
+
var applyOptions = (object, options = {}) => {
|
|
3484
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
3485
|
+
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
3486
|
+
}
|
|
3487
|
+
const colorLevel = stdoutColor ? stdoutColor.level : 0;
|
|
3488
|
+
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
3489
|
+
};
|
|
3490
|
+
var chalkFactory = (options) => {
|
|
3491
|
+
const chalk2 = (...strings) => strings.join(" ");
|
|
3492
|
+
applyOptions(chalk2, options);
|
|
3493
|
+
Object.setPrototypeOf(chalk2, createChalk.prototype);
|
|
3494
|
+
return chalk2;
|
|
3495
|
+
};
|
|
3496
|
+
function createChalk(options) {
|
|
3497
|
+
return chalkFactory(options);
|
|
3498
|
+
}
|
|
3499
|
+
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
|
|
3500
|
+
for (const [styleName, style] of Object.entries(ansi_styles_default)) {
|
|
3501
|
+
styles2[styleName] = {
|
|
3502
|
+
get() {
|
|
3503
|
+
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
|
|
3504
|
+
Object.defineProperty(this, styleName, { value: builder });
|
|
3505
|
+
return builder;
|
|
3506
|
+
}
|
|
3507
|
+
};
|
|
3508
|
+
}
|
|
3509
|
+
styles2.visible = {
|
|
3510
|
+
get() {
|
|
3511
|
+
const builder = createBuilder(this, this[STYLER], true);
|
|
3512
|
+
Object.defineProperty(this, "visible", { value: builder });
|
|
3513
|
+
return builder;
|
|
3514
|
+
}
|
|
3515
|
+
};
|
|
3516
|
+
var getModelAnsi = (model, level, type, ...arguments_) => {
|
|
3517
|
+
if (model === "rgb") {
|
|
3518
|
+
if (level === "ansi16m") {
|
|
3519
|
+
return ansi_styles_default[type].ansi16m(...arguments_);
|
|
3520
|
+
}
|
|
3521
|
+
if (level === "ansi256") {
|
|
3522
|
+
return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
|
|
3523
|
+
}
|
|
3524
|
+
return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
|
|
3525
|
+
}
|
|
3526
|
+
if (model === "hex") {
|
|
3527
|
+
return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
|
|
3528
|
+
}
|
|
3529
|
+
return ansi_styles_default[type][model](...arguments_);
|
|
3530
|
+
};
|
|
3531
|
+
var usedModels = ["rgb", "hex", "ansi256"];
|
|
3532
|
+
for (const model of usedModels) {
|
|
3533
|
+
styles2[model] = {
|
|
3534
|
+
get() {
|
|
3535
|
+
const { level } = this;
|
|
3536
|
+
return function(...arguments_) {
|
|
3537
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
|
|
3538
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
3539
|
+
};
|
|
3540
|
+
}
|
|
3541
|
+
};
|
|
3542
|
+
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
3543
|
+
styles2[bgModel] = {
|
|
3544
|
+
get() {
|
|
3545
|
+
const { level } = this;
|
|
3546
|
+
return function(...arguments_) {
|
|
3547
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
|
|
3548
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
3549
|
+
};
|
|
3550
|
+
}
|
|
3551
|
+
};
|
|
3552
|
+
}
|
|
3553
|
+
var proto = Object.defineProperties(() => {
|
|
3554
|
+
}, {
|
|
3555
|
+
...styles2,
|
|
3556
|
+
level: {
|
|
3557
|
+
enumerable: true,
|
|
3558
|
+
get() {
|
|
3559
|
+
return this[GENERATOR].level;
|
|
3560
|
+
},
|
|
3561
|
+
set(level) {
|
|
3562
|
+
this[GENERATOR].level = level;
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3565
|
+
});
|
|
3566
|
+
var createStyler = (open, close, parent) => {
|
|
3567
|
+
let openAll;
|
|
3568
|
+
let closeAll;
|
|
3569
|
+
if (parent === void 0) {
|
|
3570
|
+
openAll = open;
|
|
3571
|
+
closeAll = close;
|
|
3572
|
+
} else {
|
|
3573
|
+
openAll = parent.openAll + open;
|
|
3574
|
+
closeAll = close + parent.closeAll;
|
|
3575
|
+
}
|
|
3576
|
+
return {
|
|
3577
|
+
open,
|
|
3578
|
+
close,
|
|
3579
|
+
openAll,
|
|
3580
|
+
closeAll,
|
|
3581
|
+
parent
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
var createBuilder = (self, _styler, _isEmpty) => {
|
|
3585
|
+
const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
3586
|
+
Object.setPrototypeOf(builder, proto);
|
|
3587
|
+
builder[GENERATOR] = self;
|
|
3588
|
+
builder[STYLER] = _styler;
|
|
3589
|
+
builder[IS_EMPTY] = _isEmpty;
|
|
3590
|
+
return builder;
|
|
3591
|
+
};
|
|
3592
|
+
var applyStyle = (self, string) => {
|
|
3593
|
+
if (self.level <= 0 || !string) {
|
|
3594
|
+
return self[IS_EMPTY] ? "" : string;
|
|
3595
|
+
}
|
|
3596
|
+
let styler = self[STYLER];
|
|
3597
|
+
if (styler === void 0) {
|
|
3598
|
+
return string;
|
|
3599
|
+
}
|
|
3600
|
+
const { openAll, closeAll } = styler;
|
|
3601
|
+
if (string.includes("\x1B")) {
|
|
3602
|
+
while (styler !== void 0) {
|
|
3603
|
+
string = stringReplaceAll(string, styler.close, styler.open);
|
|
3604
|
+
styler = styler.parent;
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
const lfIndex = string.indexOf("\n");
|
|
3608
|
+
if (lfIndex !== -1) {
|
|
3609
|
+
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
|
|
3610
|
+
}
|
|
3611
|
+
return openAll + string + closeAll;
|
|
3612
|
+
};
|
|
3613
|
+
Object.defineProperties(createChalk.prototype, styles2);
|
|
3614
|
+
var chalk = createChalk();
|
|
3615
|
+
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
3616
|
+
var source_default = chalk;
|
|
3617
|
+
|
|
3618
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/use-text-input.js
|
|
3619
|
+
var cursor = source_default.inverse(" ");
|
|
3620
|
+
var useTextInput = ({ isDisabled = false, state, placeholder = "" }) => {
|
|
3621
|
+
const renderedPlaceholder = (0, import_react18.useMemo)(() => {
|
|
3622
|
+
if (isDisabled) {
|
|
3623
|
+
return placeholder ? source_default.dim(placeholder) : "";
|
|
3624
|
+
}
|
|
3625
|
+
return placeholder && placeholder.length > 0 ? source_default.inverse(placeholder[0]) + source_default.dim(placeholder.slice(1)) : cursor;
|
|
3626
|
+
}, [isDisabled, placeholder]);
|
|
3627
|
+
const renderedValue = (0, import_react18.useMemo)(() => {
|
|
3628
|
+
if (isDisabled) {
|
|
3629
|
+
return state.value;
|
|
3630
|
+
}
|
|
3631
|
+
let index = 0;
|
|
3632
|
+
let result = state.value.length > 0 ? "" : cursor;
|
|
3633
|
+
for (const char of state.value) {
|
|
3634
|
+
result += index === state.cursorOffset ? source_default.inverse(char) : char;
|
|
3635
|
+
index++;
|
|
3636
|
+
}
|
|
3637
|
+
if (state.suggestion) {
|
|
3638
|
+
if (state.cursorOffset === state.value.length) {
|
|
3639
|
+
result += source_default.inverse(state.suggestion[0]) + source_default.dim(state.suggestion.slice(1));
|
|
3640
|
+
} else {
|
|
3641
|
+
result += source_default.dim(state.suggestion);
|
|
3642
|
+
}
|
|
3643
|
+
return result;
|
|
3644
|
+
}
|
|
3645
|
+
if (state.value.length > 0 && state.cursorOffset === state.value.length) {
|
|
3646
|
+
result += cursor;
|
|
3647
|
+
}
|
|
3648
|
+
return result;
|
|
3649
|
+
}, [isDisabled, state.value, state.cursorOffset, state.suggestion]);
|
|
3650
|
+
use_input_default((input, key) => {
|
|
3651
|
+
if (key.upArrow || key.downArrow || key.ctrl && input === "c" || key.tab || key.shift && key.tab) {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
if (key.return) {
|
|
3655
|
+
state.submit();
|
|
3656
|
+
return;
|
|
3657
|
+
}
|
|
3658
|
+
if (key.leftArrow) {
|
|
3659
|
+
state.moveCursorLeft();
|
|
3660
|
+
} else if (key.rightArrow) {
|
|
3661
|
+
state.moveCursorRight();
|
|
3662
|
+
} else if (key.backspace || key.delete) {
|
|
3663
|
+
state.delete();
|
|
3664
|
+
} else {
|
|
3665
|
+
state.insert(input);
|
|
3666
|
+
}
|
|
3667
|
+
}, { isActive: !isDisabled });
|
|
3668
|
+
return {
|
|
3669
|
+
inputValue: state.value.length > 0 ? renderedValue : renderedPlaceholder
|
|
3670
|
+
};
|
|
3671
|
+
};
|
|
3672
|
+
|
|
3673
|
+
// ../../node_modules/@inkjs/ui/build/components/text-input/text-input.js
|
|
3674
|
+
function TextInput({ isDisabled = false, defaultValue, placeholder = "", suggestions, onChange, onSubmit }) {
|
|
3675
|
+
const state = useTextInputState({
|
|
3676
|
+
defaultValue,
|
|
3677
|
+
suggestions,
|
|
3678
|
+
onChange,
|
|
3679
|
+
onSubmit
|
|
3680
|
+
});
|
|
3681
|
+
const { inputValue } = useTextInput({
|
|
3682
|
+
isDisabled,
|
|
3683
|
+
placeholder,
|
|
3684
|
+
state
|
|
3685
|
+
});
|
|
3686
|
+
const { styles: styles3 } = useComponentTheme("TextInput");
|
|
3687
|
+
return import_react19.default.createElement(Text, { ...styles3.value() }, inputValue);
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list.js
|
|
3691
|
+
var import_react23 = __toESM(require_react(), 1);
|
|
3692
|
+
|
|
3693
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list-item.js
|
|
3694
|
+
var import_react21 = __toESM(require_react(), 1);
|
|
3695
|
+
|
|
3696
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list-item-context.js
|
|
3697
|
+
var import_react20 = __toESM(require_react(), 1);
|
|
3698
|
+
var OrderedListItemContext = (0, import_react20.createContext)({
|
|
3699
|
+
marker: figures_default.line
|
|
3700
|
+
});
|
|
3701
|
+
|
|
3702
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list-item.js
|
|
3703
|
+
function OrderedListItem({ children }) {
|
|
3704
|
+
const { marker } = (0, import_react21.useContext)(OrderedListItemContext);
|
|
3705
|
+
const { styles: styles3 } = useComponentTheme("OrderedList");
|
|
3706
|
+
return import_react21.default.createElement(
|
|
3707
|
+
Box_default,
|
|
3708
|
+
{ ...styles3.listItem() },
|
|
3709
|
+
import_react21.default.createElement(Text, { ...styles3.marker() }, marker),
|
|
3710
|
+
import_react21.default.createElement(Box_default, { ...styles3.content() }, children)
|
|
3711
|
+
);
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list-context.js
|
|
3715
|
+
var import_react22 = __toESM(require_react(), 1);
|
|
3716
|
+
var OrderedListContext = (0, import_react22.createContext)({
|
|
3717
|
+
marker: ""
|
|
3718
|
+
});
|
|
3719
|
+
|
|
3720
|
+
// ../../node_modules/@inkjs/ui/build/components/ordered-list/ordered-list.js
|
|
3721
|
+
function OrderedList({ children }) {
|
|
3722
|
+
const { marker: parentMarker } = (0, import_react23.useContext)(OrderedListContext);
|
|
3723
|
+
const { styles: styles3 } = useComponentTheme("OrderedList");
|
|
3724
|
+
let numberOfItems = 0;
|
|
3725
|
+
for (const child of import_react23.default.Children.toArray(children)) {
|
|
3726
|
+
if (!(0, import_react23.isValidElement)(child) || child.type !== OrderedListItem) {
|
|
3727
|
+
continue;
|
|
3728
|
+
}
|
|
3729
|
+
numberOfItems++;
|
|
3730
|
+
}
|
|
3731
|
+
const maxMarkerWidth = String(numberOfItems).length;
|
|
3732
|
+
return import_react23.default.createElement(Box_default, { ...styles3.list() }, import_react23.default.Children.map(children, (child, index) => {
|
|
3733
|
+
if (!(0, import_react23.isValidElement)(child) || child.type !== OrderedListItem) {
|
|
3734
|
+
return child;
|
|
3735
|
+
}
|
|
3736
|
+
const paddedMarker = `${String(index + 1).padStart(maxMarkerWidth)}.`;
|
|
3737
|
+
const marker = `${parentMarker}${paddedMarker}`;
|
|
3738
|
+
return (
|
|
3739
|
+
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
3740
|
+
import_react23.default.createElement(
|
|
3741
|
+
OrderedListContext.Provider,
|
|
3742
|
+
{ value: { marker } },
|
|
3743
|
+
import_react23.default.createElement(OrderedListItemContext.Provider, { value: { marker } }, child)
|
|
3744
|
+
)
|
|
3745
|
+
);
|
|
3746
|
+
}));
|
|
3747
|
+
}
|
|
3748
|
+
OrderedList.Item = OrderedListItem;
|
|
3749
|
+
|
|
3750
|
+
// ../../node_modules/@inkjs/ui/build/components/password-input/password-input.js
|
|
3751
|
+
var import_react26 = __toESM(require_react(), 1);
|
|
3752
|
+
|
|
3753
|
+
// ../../node_modules/@inkjs/ui/build/components/password-input/use-password-input-state.js
|
|
3754
|
+
var import_react24 = __toESM(require_react(), 1);
|
|
3755
|
+
var reducer4 = (state, action) => {
|
|
3756
|
+
switch (action.type) {
|
|
3757
|
+
case "move-cursor-left": {
|
|
3758
|
+
return {
|
|
3759
|
+
...state,
|
|
3760
|
+
cursorOffset: Math.max(0, state.cursorOffset - 1)
|
|
3761
|
+
};
|
|
3762
|
+
}
|
|
3763
|
+
case "move-cursor-right": {
|
|
3764
|
+
return {
|
|
3765
|
+
...state,
|
|
3766
|
+
cursorOffset: Math.min(state.value.length, state.cursorOffset + 1)
|
|
3767
|
+
};
|
|
3768
|
+
}
|
|
3769
|
+
case "insert": {
|
|
3770
|
+
return {
|
|
3771
|
+
...state,
|
|
3772
|
+
previousValue: state.value,
|
|
3773
|
+
value: state.value.slice(0, state.cursorOffset) + action.text + state.value.slice(state.cursorOffset),
|
|
3774
|
+
cursorOffset: state.cursorOffset + action.text.length
|
|
3775
|
+
};
|
|
3776
|
+
}
|
|
3777
|
+
case "delete": {
|
|
3778
|
+
const newCursorOffset = Math.max(0, state.cursorOffset - 1);
|
|
3779
|
+
return {
|
|
3780
|
+
...state,
|
|
3781
|
+
previousValue: state.value,
|
|
3782
|
+
value: state.value.slice(0, newCursorOffset) + state.value.slice(newCursorOffset + 1),
|
|
3783
|
+
cursorOffset: newCursorOffset
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
};
|
|
3788
|
+
var usePasswordInputState = ({ onChange, onSubmit }) => {
|
|
3789
|
+
const [state, dispatch] = (0, import_react24.useReducer)(reducer4, {
|
|
3790
|
+
previousValue: "",
|
|
3791
|
+
value: "",
|
|
3792
|
+
cursorOffset: 0
|
|
3793
|
+
});
|
|
3794
|
+
const moveCursorLeft = (0, import_react24.useCallback)(() => {
|
|
3795
|
+
dispatch({
|
|
3796
|
+
type: "move-cursor-left"
|
|
3797
|
+
});
|
|
3798
|
+
}, []);
|
|
3799
|
+
const moveCursorRight = (0, import_react24.useCallback)(() => {
|
|
3800
|
+
dispatch({
|
|
3801
|
+
type: "move-cursor-right"
|
|
3802
|
+
});
|
|
3803
|
+
}, []);
|
|
3804
|
+
const insert = (0, import_react24.useCallback)((text) => {
|
|
3805
|
+
dispatch({
|
|
3806
|
+
type: "insert",
|
|
3807
|
+
text
|
|
3808
|
+
});
|
|
3809
|
+
}, []);
|
|
3810
|
+
const deleteCharacter = (0, import_react24.useCallback)(() => {
|
|
3811
|
+
dispatch({
|
|
3812
|
+
type: "delete"
|
|
3813
|
+
});
|
|
3814
|
+
}, []);
|
|
3815
|
+
const submit = (0, import_react24.useCallback)(() => {
|
|
3816
|
+
onSubmit?.(state.value);
|
|
3817
|
+
}, [state.value, onSubmit]);
|
|
3818
|
+
(0, import_react24.useEffect)(() => {
|
|
3819
|
+
if (state.value !== state.previousValue) {
|
|
3820
|
+
onChange?.(state.value);
|
|
3821
|
+
}
|
|
3822
|
+
}, [state.previousValue, state.value, onChange]);
|
|
3823
|
+
return {
|
|
3824
|
+
...state,
|
|
3825
|
+
moveCursorLeft,
|
|
3826
|
+
moveCursorRight,
|
|
3827
|
+
insert,
|
|
3828
|
+
delete: deleteCharacter,
|
|
3829
|
+
submit
|
|
3830
|
+
};
|
|
3831
|
+
};
|
|
3832
|
+
|
|
3833
|
+
// ../../node_modules/@inkjs/ui/build/components/password-input/use-password-input.js
|
|
3834
|
+
var import_react25 = __toESM(require_react(), 1);
|
|
3835
|
+
var cursor2 = source_default.inverse(" ");
|
|
3836
|
+
var usePasswordInput = ({ isDisabled = false, state, placeholder = "" }) => {
|
|
3837
|
+
const renderedPlaceholder = (0, import_react25.useMemo)(() => {
|
|
3838
|
+
if (isDisabled) {
|
|
3839
|
+
return placeholder ? source_default.dim(placeholder) : "";
|
|
3840
|
+
}
|
|
3841
|
+
return placeholder && placeholder.length > 0 ? source_default.inverse(placeholder[0]) + source_default.dim(placeholder.slice(1)) : cursor2;
|
|
3842
|
+
}, [isDisabled, placeholder]);
|
|
3843
|
+
const renderedValue = (0, import_react25.useMemo)(() => {
|
|
3844
|
+
const value = "*".repeat(state.value.length);
|
|
3845
|
+
if (isDisabled) {
|
|
3846
|
+
return value;
|
|
3847
|
+
}
|
|
3848
|
+
let index = 0;
|
|
3849
|
+
let result = value.length > 0 ? "" : cursor2;
|
|
3850
|
+
for (const char of value) {
|
|
3851
|
+
result += index === state.cursorOffset ? source_default.inverse(char) : char;
|
|
3852
|
+
index++;
|
|
3853
|
+
}
|
|
3854
|
+
if (value.length > 0 && state.cursorOffset === value.length) {
|
|
3855
|
+
result += cursor2;
|
|
3856
|
+
}
|
|
3857
|
+
return result;
|
|
3858
|
+
}, [isDisabled, state.value, state.cursorOffset]);
|
|
3859
|
+
use_input_default((input, key) => {
|
|
3860
|
+
if (key.upArrow || key.downArrow || key.ctrl && input === "c" || key.tab || key.shift && key.tab) {
|
|
3861
|
+
return;
|
|
3862
|
+
}
|
|
3863
|
+
if (key.return) {
|
|
3864
|
+
state.submit();
|
|
3865
|
+
return;
|
|
3866
|
+
}
|
|
3867
|
+
if (key.leftArrow) {
|
|
3868
|
+
state.moveCursorLeft();
|
|
3869
|
+
} else if (key.rightArrow) {
|
|
3870
|
+
state.moveCursorRight();
|
|
3871
|
+
} else if (key.backspace || key.delete) {
|
|
3872
|
+
state.delete();
|
|
3873
|
+
} else {
|
|
3874
|
+
state.insert(input);
|
|
3875
|
+
}
|
|
3876
|
+
}, { isActive: !isDisabled });
|
|
3877
|
+
return {
|
|
3878
|
+
inputValue: state.value.length > 0 ? renderedValue : renderedPlaceholder
|
|
3879
|
+
};
|
|
3880
|
+
};
|
|
3881
|
+
|
|
3882
|
+
// ../../node_modules/@inkjs/ui/build/components/password-input/password-input.js
|
|
3883
|
+
function PasswordInput({ isDisabled = false, placeholder = "", onChange, onSubmit }) {
|
|
3884
|
+
const state = usePasswordInputState({
|
|
3885
|
+
onChange,
|
|
3886
|
+
onSubmit
|
|
3887
|
+
});
|
|
3888
|
+
const { inputValue } = usePasswordInput({
|
|
3889
|
+
isDisabled,
|
|
3890
|
+
placeholder,
|
|
3891
|
+
state
|
|
3892
|
+
});
|
|
3893
|
+
const { styles: styles3 } = useComponentTheme("PasswordInput");
|
|
3894
|
+
return import_react26.default.createElement(Text, { ...styles3.value() }, inputValue);
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
// ../../node_modules/@inkjs/ui/build/components/status-message/status-message.js
|
|
3898
|
+
var import_react27 = __toESM(require_react(), 1);
|
|
3899
|
+
function StatusMessage({ children, variant }) {
|
|
3900
|
+
const { styles: styles3, config } = useComponentTheme("StatusMessage");
|
|
3901
|
+
return import_react27.default.createElement(
|
|
3902
|
+
Box_default,
|
|
3903
|
+
{ ...styles3.container() },
|
|
3904
|
+
import_react27.default.createElement(
|
|
3905
|
+
Box_default,
|
|
3906
|
+
{ ...styles3.iconContainer() },
|
|
3907
|
+
import_react27.default.createElement(Text, { ...styles3.icon({ variant }) }, config({ variant }).icon)
|
|
3908
|
+
),
|
|
3909
|
+
import_react27.default.createElement(Text, { ...styles3.message() }, children)
|
|
3910
|
+
);
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
// ../../node_modules/@inkjs/ui/build/components/alert/alert.js
|
|
3914
|
+
var import_react28 = __toESM(require_react(), 1);
|
|
3915
|
+
function Alert({ children, variant, title }) {
|
|
3916
|
+
const { styles: styles3, config } = useComponentTheme("Alert");
|
|
3917
|
+
return import_react28.default.createElement(
|
|
3918
|
+
Box_default,
|
|
3919
|
+
{ ...styles3.container({ variant }) },
|
|
3920
|
+
import_react28.default.createElement(
|
|
3921
|
+
Box_default,
|
|
3922
|
+
{ ...styles3.iconContainer() },
|
|
3923
|
+
import_react28.default.createElement(Text, { ...styles3.icon({ variant }) }, config({ variant }).icon)
|
|
3924
|
+
),
|
|
3925
|
+
import_react28.default.createElement(
|
|
3926
|
+
Box_default,
|
|
3927
|
+
{ ...styles3.content() },
|
|
3928
|
+
title && import_react28.default.createElement(Text, { ...styles3.title() }, title),
|
|
3929
|
+
import_react28.default.createElement(Text, { ...styles3.message() }, children)
|
|
3930
|
+
)
|
|
3931
|
+
);
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
// ../../node_modules/@inkjs/ui/build/components/email-input/email-input.js
|
|
3935
|
+
var import_react31 = __toESM(require_react(), 1);
|
|
3936
|
+
|
|
3937
|
+
// ../../node_modules/@inkjs/ui/build/components/email-input/use-email-input-state.js
|
|
3938
|
+
var import_react29 = __toESM(require_react(), 1);
|
|
3939
|
+
var reducer5 = (state, action) => {
|
|
3940
|
+
switch (action.type) {
|
|
3941
|
+
case "move-cursor-left": {
|
|
3942
|
+
return {
|
|
3943
|
+
...state,
|
|
3944
|
+
cursorOffset: Math.max(0, state.cursorOffset - 1)
|
|
3945
|
+
};
|
|
3946
|
+
}
|
|
3947
|
+
case "move-cursor-right": {
|
|
3948
|
+
return {
|
|
3949
|
+
...state,
|
|
3950
|
+
cursorOffset: Math.min(state.value.length, state.cursorOffset + 1)
|
|
3951
|
+
};
|
|
3952
|
+
}
|
|
3953
|
+
case "insert": {
|
|
3954
|
+
if (state.value.includes("@") && action.text.includes("@")) {
|
|
3955
|
+
return state;
|
|
3956
|
+
}
|
|
3957
|
+
return {
|
|
3958
|
+
...state,
|
|
3959
|
+
previousValue: state.value,
|
|
3960
|
+
value: state.value.slice(0, state.cursorOffset) + action.text + state.value.slice(state.cursorOffset),
|
|
3961
|
+
cursorOffset: state.cursorOffset + action.text.length
|
|
3962
|
+
};
|
|
3963
|
+
}
|
|
3964
|
+
case "delete": {
|
|
3965
|
+
const newCursorOffset = Math.max(0, state.cursorOffset - 1);
|
|
3966
|
+
return {
|
|
3967
|
+
...state,
|
|
3968
|
+
previousValue: state.value,
|
|
3969
|
+
value: state.value.slice(0, newCursorOffset) + state.value.slice(newCursorOffset + 1),
|
|
3970
|
+
cursorOffset: newCursorOffset
|
|
3971
|
+
};
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
};
|
|
3975
|
+
var useEmailInputState = ({ defaultValue = "", domains = [
|
|
3976
|
+
"aol.com",
|
|
3977
|
+
"gmail.com",
|
|
3978
|
+
"yahoo.com",
|
|
3979
|
+
"hotmail.com",
|
|
3980
|
+
"live.com",
|
|
3981
|
+
"outlook.com",
|
|
3982
|
+
"icloud.com",
|
|
3983
|
+
"hey.com"
|
|
3984
|
+
], onChange, onSubmit }) => {
|
|
3985
|
+
const [state, dispatch] = (0, import_react29.useReducer)(reducer5, {
|
|
3986
|
+
previousValue: defaultValue,
|
|
3987
|
+
value: defaultValue,
|
|
3988
|
+
cursorOffset: defaultValue.length
|
|
3989
|
+
});
|
|
3990
|
+
const suggestion = (0, import_react29.useMemo)(() => {
|
|
3991
|
+
if (state.value.length === 0 || !state.value.includes("@")) {
|
|
3992
|
+
return;
|
|
3993
|
+
}
|
|
3994
|
+
const atIndex = state.value.indexOf("@");
|
|
3995
|
+
const enteredDomain = state.value.slice(atIndex + 1);
|
|
3996
|
+
return domains?.find((domain) => domain.startsWith(enteredDomain))?.replace(enteredDomain, "");
|
|
3997
|
+
}, [state.value, domains]);
|
|
3998
|
+
const moveCursorLeft = (0, import_react29.useCallback)(() => {
|
|
3999
|
+
dispatch({
|
|
4000
|
+
type: "move-cursor-left"
|
|
4001
|
+
});
|
|
4002
|
+
}, []);
|
|
4003
|
+
const moveCursorRight = (0, import_react29.useCallback)(() => {
|
|
4004
|
+
dispatch({
|
|
4005
|
+
type: "move-cursor-right"
|
|
4006
|
+
});
|
|
4007
|
+
}, []);
|
|
4008
|
+
const insert = (0, import_react29.useCallback)((text) => {
|
|
4009
|
+
dispatch({
|
|
4010
|
+
type: "insert",
|
|
4011
|
+
text
|
|
4012
|
+
});
|
|
4013
|
+
}, []);
|
|
4014
|
+
const deleteCharacter = (0, import_react29.useCallback)(() => {
|
|
4015
|
+
dispatch({
|
|
4016
|
+
type: "delete"
|
|
4017
|
+
});
|
|
4018
|
+
}, []);
|
|
4019
|
+
const submit = (0, import_react29.useCallback)(() => {
|
|
4020
|
+
if (suggestion) {
|
|
4021
|
+
insert(suggestion);
|
|
4022
|
+
onSubmit?.(state.value + suggestion);
|
|
4023
|
+
return;
|
|
4024
|
+
}
|
|
4025
|
+
onSubmit?.(state.value);
|
|
4026
|
+
}, [state.value, suggestion, insert, onSubmit]);
|
|
4027
|
+
(0, import_react29.useEffect)(() => {
|
|
4028
|
+
if (state.previousValue !== state.value) {
|
|
4029
|
+
onChange?.(state.value);
|
|
4030
|
+
}
|
|
4031
|
+
}, [state.previousValue, state.value, onChange]);
|
|
4032
|
+
return {
|
|
4033
|
+
...state,
|
|
4034
|
+
suggestion,
|
|
4035
|
+
moveCursorLeft,
|
|
4036
|
+
moveCursorRight,
|
|
4037
|
+
insert,
|
|
4038
|
+
delete: deleteCharacter,
|
|
4039
|
+
submit
|
|
4040
|
+
};
|
|
4041
|
+
};
|
|
4042
|
+
|
|
4043
|
+
// ../../node_modules/@inkjs/ui/build/components/email-input/use-email-input.js
|
|
4044
|
+
var import_react30 = __toESM(require_react(), 1);
|
|
4045
|
+
var cursor3 = source_default.inverse(" ");
|
|
4046
|
+
var useEmailInput = ({ isDisabled = false, state, placeholder = "" }) => {
|
|
4047
|
+
const renderedPlaceholder = (0, import_react30.useMemo)(() => {
|
|
4048
|
+
if (isDisabled) {
|
|
4049
|
+
return placeholder ? source_default.dim(placeholder) : "";
|
|
4050
|
+
}
|
|
4051
|
+
return placeholder && placeholder.length > 0 ? source_default.inverse(placeholder[0]) + source_default.dim(placeholder.slice(1)) : cursor3;
|
|
4052
|
+
}, [isDisabled, placeholder]);
|
|
4053
|
+
const renderedValue = (0, import_react30.useMemo)(() => {
|
|
4054
|
+
if (isDisabled) {
|
|
4055
|
+
return state.value;
|
|
4056
|
+
}
|
|
4057
|
+
let index = 0;
|
|
4058
|
+
let result = state.value.length > 0 ? "" : cursor3;
|
|
4059
|
+
for (const char of state.value) {
|
|
4060
|
+
result += index === state.cursorOffset ? source_default.inverse(char) : char;
|
|
4061
|
+
index++;
|
|
4062
|
+
}
|
|
4063
|
+
if (state.suggestion) {
|
|
4064
|
+
if (state.cursorOffset === state.value.length) {
|
|
4065
|
+
result += source_default.inverse(state.suggestion[0]) + source_default.dim(state.suggestion.slice(1));
|
|
4066
|
+
} else {
|
|
4067
|
+
result += source_default.dim(state.suggestion);
|
|
4068
|
+
}
|
|
4069
|
+
return result;
|
|
4070
|
+
}
|
|
4071
|
+
if (state.value.length > 0 && state.cursorOffset === state.value.length) {
|
|
4072
|
+
result += cursor3;
|
|
4073
|
+
}
|
|
4074
|
+
return result;
|
|
4075
|
+
}, [isDisabled, state.value, state.cursorOffset, state.suggestion]);
|
|
4076
|
+
use_input_default((input, key) => {
|
|
4077
|
+
if (key.upArrow || key.downArrow || key.ctrl && input === "c" || key.tab || key.shift && key.tab) {
|
|
4078
|
+
return;
|
|
4079
|
+
}
|
|
4080
|
+
if (key.return) {
|
|
4081
|
+
state.submit();
|
|
4082
|
+
return;
|
|
4083
|
+
}
|
|
4084
|
+
if (key.leftArrow) {
|
|
4085
|
+
state.moveCursorLeft();
|
|
4086
|
+
} else if (key.rightArrow) {
|
|
4087
|
+
state.moveCursorRight();
|
|
4088
|
+
} else if (key.backspace || key.delete) {
|
|
4089
|
+
state.delete();
|
|
4090
|
+
} else {
|
|
4091
|
+
state.insert(input);
|
|
4092
|
+
}
|
|
4093
|
+
}, { isActive: !isDisabled });
|
|
4094
|
+
return {
|
|
4095
|
+
inputValue: state.value.length > 0 ? renderedValue : renderedPlaceholder
|
|
4096
|
+
};
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
// ../../node_modules/@inkjs/ui/build/components/email-input/email-input.js
|
|
4100
|
+
function EmailInput({ isDisabled = false, defaultValue, placeholder = "", domains, onChange, onSubmit }) {
|
|
4101
|
+
const state = useEmailInputState({
|
|
4102
|
+
defaultValue,
|
|
4103
|
+
domains,
|
|
4104
|
+
onChange,
|
|
4105
|
+
onSubmit
|
|
4106
|
+
});
|
|
4107
|
+
const { inputValue } = useEmailInput({
|
|
4108
|
+
isDisabled,
|
|
4109
|
+
placeholder,
|
|
4110
|
+
state
|
|
4111
|
+
});
|
|
4112
|
+
const { styles: styles3 } = useComponentTheme("EmailInput");
|
|
4113
|
+
return import_react31.default.createElement(Text, { ...styles3.value() }, inputValue);
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
export {
|
|
4117
|
+
defaultTheme,
|
|
4118
|
+
ThemeContext,
|
|
4119
|
+
ThemeProvider,
|
|
4120
|
+
extendTheme,
|
|
4121
|
+
useComponentTheme,
|
|
4122
|
+
Badge,
|
|
4123
|
+
ConfirmInput,
|
|
4124
|
+
UnorderedList,
|
|
4125
|
+
MultiSelect,
|
|
4126
|
+
ProgressBar,
|
|
4127
|
+
Select,
|
|
4128
|
+
useSpinner,
|
|
4129
|
+
Spinner,
|
|
4130
|
+
TextInput,
|
|
4131
|
+
OrderedList,
|
|
4132
|
+
PasswordInput,
|
|
4133
|
+
StatusMessage,
|
|
4134
|
+
Alert,
|
|
4135
|
+
EmailInput
|
|
4136
|
+
};
|
|
4137
|
+
//# sourceMappingURL=chunk-WQDTXQDD.js.map
|
|
4138
|
+
//# debugId=749dd572-1878-580b-82ab-66bff13dc0b6
|