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