nexusql 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1,13 +1,3035 @@
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 __commonJS = (cb, mod) => function __require() {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+
28
+ // node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json
29
+ var require_spinners = __commonJS({
30
+ "node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(exports, module) {
31
+ module.exports = {
32
+ dots: {
33
+ interval: 80,
34
+ frames: [
35
+ "\u280B",
36
+ "\u2819",
37
+ "\u2839",
38
+ "\u2838",
39
+ "\u283C",
40
+ "\u2834",
41
+ "\u2826",
42
+ "\u2827",
43
+ "\u2807",
44
+ "\u280F"
45
+ ]
46
+ },
47
+ dots2: {
48
+ interval: 80,
49
+ frames: [
50
+ "\u28FE",
51
+ "\u28FD",
52
+ "\u28FB",
53
+ "\u28BF",
54
+ "\u287F",
55
+ "\u28DF",
56
+ "\u28EF",
57
+ "\u28F7"
58
+ ]
59
+ },
60
+ dots3: {
61
+ interval: 80,
62
+ frames: [
63
+ "\u280B",
64
+ "\u2819",
65
+ "\u281A",
66
+ "\u281E",
67
+ "\u2816",
68
+ "\u2826",
69
+ "\u2834",
70
+ "\u2832",
71
+ "\u2833",
72
+ "\u2813"
73
+ ]
74
+ },
75
+ dots4: {
76
+ interval: 80,
77
+ frames: [
78
+ "\u2804",
79
+ "\u2806",
80
+ "\u2807",
81
+ "\u280B",
82
+ "\u2819",
83
+ "\u2838",
84
+ "\u2830",
85
+ "\u2820",
86
+ "\u2830",
87
+ "\u2838",
88
+ "\u2819",
89
+ "\u280B",
90
+ "\u2807",
91
+ "\u2806"
92
+ ]
93
+ },
94
+ dots5: {
95
+ interval: 80,
96
+ frames: [
97
+ "\u280B",
98
+ "\u2819",
99
+ "\u281A",
100
+ "\u2812",
101
+ "\u2802",
102
+ "\u2802",
103
+ "\u2812",
104
+ "\u2832",
105
+ "\u2834",
106
+ "\u2826",
107
+ "\u2816",
108
+ "\u2812",
109
+ "\u2810",
110
+ "\u2810",
111
+ "\u2812",
112
+ "\u2813",
113
+ "\u280B"
114
+ ]
115
+ },
116
+ dots6: {
117
+ interval: 80,
118
+ frames: [
119
+ "\u2801",
120
+ "\u2809",
121
+ "\u2819",
122
+ "\u281A",
123
+ "\u2812",
124
+ "\u2802",
125
+ "\u2802",
126
+ "\u2812",
127
+ "\u2832",
128
+ "\u2834",
129
+ "\u2824",
130
+ "\u2804",
131
+ "\u2804",
132
+ "\u2824",
133
+ "\u2834",
134
+ "\u2832",
135
+ "\u2812",
136
+ "\u2802",
137
+ "\u2802",
138
+ "\u2812",
139
+ "\u281A",
140
+ "\u2819",
141
+ "\u2809",
142
+ "\u2801"
143
+ ]
144
+ },
145
+ dots7: {
146
+ interval: 80,
147
+ frames: [
148
+ "\u2808",
149
+ "\u2809",
150
+ "\u280B",
151
+ "\u2813",
152
+ "\u2812",
153
+ "\u2810",
154
+ "\u2810",
155
+ "\u2812",
156
+ "\u2816",
157
+ "\u2826",
158
+ "\u2824",
159
+ "\u2820",
160
+ "\u2820",
161
+ "\u2824",
162
+ "\u2826",
163
+ "\u2816",
164
+ "\u2812",
165
+ "\u2810",
166
+ "\u2810",
167
+ "\u2812",
168
+ "\u2813",
169
+ "\u280B",
170
+ "\u2809",
171
+ "\u2808"
172
+ ]
173
+ },
174
+ dots8: {
175
+ interval: 80,
176
+ frames: [
177
+ "\u2801",
178
+ "\u2801",
179
+ "\u2809",
180
+ "\u2819",
181
+ "\u281A",
182
+ "\u2812",
183
+ "\u2802",
184
+ "\u2802",
185
+ "\u2812",
186
+ "\u2832",
187
+ "\u2834",
188
+ "\u2824",
189
+ "\u2804",
190
+ "\u2804",
191
+ "\u2824",
192
+ "\u2820",
193
+ "\u2820",
194
+ "\u2824",
195
+ "\u2826",
196
+ "\u2816",
197
+ "\u2812",
198
+ "\u2810",
199
+ "\u2810",
200
+ "\u2812",
201
+ "\u2813",
202
+ "\u280B",
203
+ "\u2809",
204
+ "\u2808",
205
+ "\u2808"
206
+ ]
207
+ },
208
+ dots9: {
209
+ interval: 80,
210
+ frames: [
211
+ "\u28B9",
212
+ "\u28BA",
213
+ "\u28BC",
214
+ "\u28F8",
215
+ "\u28C7",
216
+ "\u2867",
217
+ "\u2857",
218
+ "\u284F"
219
+ ]
220
+ },
221
+ dots10: {
222
+ interval: 80,
223
+ frames: [
224
+ "\u2884",
225
+ "\u2882",
226
+ "\u2881",
227
+ "\u2841",
228
+ "\u2848",
229
+ "\u2850",
230
+ "\u2860"
231
+ ]
232
+ },
233
+ dots11: {
234
+ interval: 100,
235
+ frames: [
236
+ "\u2801",
237
+ "\u2802",
238
+ "\u2804",
239
+ "\u2840",
240
+ "\u2880",
241
+ "\u2820",
242
+ "\u2810",
243
+ "\u2808"
244
+ ]
245
+ },
246
+ dots12: {
247
+ interval: 80,
248
+ frames: [
249
+ "\u2880\u2800",
250
+ "\u2840\u2800",
251
+ "\u2804\u2800",
252
+ "\u2882\u2800",
253
+ "\u2842\u2800",
254
+ "\u2805\u2800",
255
+ "\u2883\u2800",
256
+ "\u2843\u2800",
257
+ "\u280D\u2800",
258
+ "\u288B\u2800",
259
+ "\u284B\u2800",
260
+ "\u280D\u2801",
261
+ "\u288B\u2801",
262
+ "\u284B\u2801",
263
+ "\u280D\u2809",
264
+ "\u280B\u2809",
265
+ "\u280B\u2809",
266
+ "\u2809\u2819",
267
+ "\u2809\u2819",
268
+ "\u2809\u2829",
269
+ "\u2808\u2899",
270
+ "\u2808\u2859",
271
+ "\u2888\u2829",
272
+ "\u2840\u2899",
273
+ "\u2804\u2859",
274
+ "\u2882\u2829",
275
+ "\u2842\u2898",
276
+ "\u2805\u2858",
277
+ "\u2883\u2828",
278
+ "\u2843\u2890",
279
+ "\u280D\u2850",
280
+ "\u288B\u2820",
281
+ "\u284B\u2880",
282
+ "\u280D\u2841",
283
+ "\u288B\u2801",
284
+ "\u284B\u2801",
285
+ "\u280D\u2809",
286
+ "\u280B\u2809",
287
+ "\u280B\u2809",
288
+ "\u2809\u2819",
289
+ "\u2809\u2819",
290
+ "\u2809\u2829",
291
+ "\u2808\u2899",
292
+ "\u2808\u2859",
293
+ "\u2808\u2829",
294
+ "\u2800\u2899",
295
+ "\u2800\u2859",
296
+ "\u2800\u2829",
297
+ "\u2800\u2898",
298
+ "\u2800\u2858",
299
+ "\u2800\u2828",
300
+ "\u2800\u2890",
301
+ "\u2800\u2850",
302
+ "\u2800\u2820",
303
+ "\u2800\u2880",
304
+ "\u2800\u2840"
305
+ ]
306
+ },
307
+ dots13: {
308
+ interval: 80,
309
+ frames: [
310
+ "\u28FC",
311
+ "\u28F9",
312
+ "\u28BB",
313
+ "\u283F",
314
+ "\u285F",
315
+ "\u28CF",
316
+ "\u28E7",
317
+ "\u28F6"
318
+ ]
319
+ },
320
+ dots8Bit: {
321
+ interval: 80,
322
+ frames: [
323
+ "\u2800",
324
+ "\u2801",
325
+ "\u2802",
326
+ "\u2803",
327
+ "\u2804",
328
+ "\u2805",
329
+ "\u2806",
330
+ "\u2807",
331
+ "\u2840",
332
+ "\u2841",
333
+ "\u2842",
334
+ "\u2843",
335
+ "\u2844",
336
+ "\u2845",
337
+ "\u2846",
338
+ "\u2847",
339
+ "\u2808",
340
+ "\u2809",
341
+ "\u280A",
342
+ "\u280B",
343
+ "\u280C",
344
+ "\u280D",
345
+ "\u280E",
346
+ "\u280F",
347
+ "\u2848",
348
+ "\u2849",
349
+ "\u284A",
350
+ "\u284B",
351
+ "\u284C",
352
+ "\u284D",
353
+ "\u284E",
354
+ "\u284F",
355
+ "\u2810",
356
+ "\u2811",
357
+ "\u2812",
358
+ "\u2813",
359
+ "\u2814",
360
+ "\u2815",
361
+ "\u2816",
362
+ "\u2817",
363
+ "\u2850",
364
+ "\u2851",
365
+ "\u2852",
366
+ "\u2853",
367
+ "\u2854",
368
+ "\u2855",
369
+ "\u2856",
370
+ "\u2857",
371
+ "\u2818",
372
+ "\u2819",
373
+ "\u281A",
374
+ "\u281B",
375
+ "\u281C",
376
+ "\u281D",
377
+ "\u281E",
378
+ "\u281F",
379
+ "\u2858",
380
+ "\u2859",
381
+ "\u285A",
382
+ "\u285B",
383
+ "\u285C",
384
+ "\u285D",
385
+ "\u285E",
386
+ "\u285F",
387
+ "\u2820",
388
+ "\u2821",
389
+ "\u2822",
390
+ "\u2823",
391
+ "\u2824",
392
+ "\u2825",
393
+ "\u2826",
394
+ "\u2827",
395
+ "\u2860",
396
+ "\u2861",
397
+ "\u2862",
398
+ "\u2863",
399
+ "\u2864",
400
+ "\u2865",
401
+ "\u2866",
402
+ "\u2867",
403
+ "\u2828",
404
+ "\u2829",
405
+ "\u282A",
406
+ "\u282B",
407
+ "\u282C",
408
+ "\u282D",
409
+ "\u282E",
410
+ "\u282F",
411
+ "\u2868",
412
+ "\u2869",
413
+ "\u286A",
414
+ "\u286B",
415
+ "\u286C",
416
+ "\u286D",
417
+ "\u286E",
418
+ "\u286F",
419
+ "\u2830",
420
+ "\u2831",
421
+ "\u2832",
422
+ "\u2833",
423
+ "\u2834",
424
+ "\u2835",
425
+ "\u2836",
426
+ "\u2837",
427
+ "\u2870",
428
+ "\u2871",
429
+ "\u2872",
430
+ "\u2873",
431
+ "\u2874",
432
+ "\u2875",
433
+ "\u2876",
434
+ "\u2877",
435
+ "\u2838",
436
+ "\u2839",
437
+ "\u283A",
438
+ "\u283B",
439
+ "\u283C",
440
+ "\u283D",
441
+ "\u283E",
442
+ "\u283F",
443
+ "\u2878",
444
+ "\u2879",
445
+ "\u287A",
446
+ "\u287B",
447
+ "\u287C",
448
+ "\u287D",
449
+ "\u287E",
450
+ "\u287F",
451
+ "\u2880",
452
+ "\u2881",
453
+ "\u2882",
454
+ "\u2883",
455
+ "\u2884",
456
+ "\u2885",
457
+ "\u2886",
458
+ "\u2887",
459
+ "\u28C0",
460
+ "\u28C1",
461
+ "\u28C2",
462
+ "\u28C3",
463
+ "\u28C4",
464
+ "\u28C5",
465
+ "\u28C6",
466
+ "\u28C7",
467
+ "\u2888",
468
+ "\u2889",
469
+ "\u288A",
470
+ "\u288B",
471
+ "\u288C",
472
+ "\u288D",
473
+ "\u288E",
474
+ "\u288F",
475
+ "\u28C8",
476
+ "\u28C9",
477
+ "\u28CA",
478
+ "\u28CB",
479
+ "\u28CC",
480
+ "\u28CD",
481
+ "\u28CE",
482
+ "\u28CF",
483
+ "\u2890",
484
+ "\u2891",
485
+ "\u2892",
486
+ "\u2893",
487
+ "\u2894",
488
+ "\u2895",
489
+ "\u2896",
490
+ "\u2897",
491
+ "\u28D0",
492
+ "\u28D1",
493
+ "\u28D2",
494
+ "\u28D3",
495
+ "\u28D4",
496
+ "\u28D5",
497
+ "\u28D6",
498
+ "\u28D7",
499
+ "\u2898",
500
+ "\u2899",
501
+ "\u289A",
502
+ "\u289B",
503
+ "\u289C",
504
+ "\u289D",
505
+ "\u289E",
506
+ "\u289F",
507
+ "\u28D8",
508
+ "\u28D9",
509
+ "\u28DA",
510
+ "\u28DB",
511
+ "\u28DC",
512
+ "\u28DD",
513
+ "\u28DE",
514
+ "\u28DF",
515
+ "\u28A0",
516
+ "\u28A1",
517
+ "\u28A2",
518
+ "\u28A3",
519
+ "\u28A4",
520
+ "\u28A5",
521
+ "\u28A6",
522
+ "\u28A7",
523
+ "\u28E0",
524
+ "\u28E1",
525
+ "\u28E2",
526
+ "\u28E3",
527
+ "\u28E4",
528
+ "\u28E5",
529
+ "\u28E6",
530
+ "\u28E7",
531
+ "\u28A8",
532
+ "\u28A9",
533
+ "\u28AA",
534
+ "\u28AB",
535
+ "\u28AC",
536
+ "\u28AD",
537
+ "\u28AE",
538
+ "\u28AF",
539
+ "\u28E8",
540
+ "\u28E9",
541
+ "\u28EA",
542
+ "\u28EB",
543
+ "\u28EC",
544
+ "\u28ED",
545
+ "\u28EE",
546
+ "\u28EF",
547
+ "\u28B0",
548
+ "\u28B1",
549
+ "\u28B2",
550
+ "\u28B3",
551
+ "\u28B4",
552
+ "\u28B5",
553
+ "\u28B6",
554
+ "\u28B7",
555
+ "\u28F0",
556
+ "\u28F1",
557
+ "\u28F2",
558
+ "\u28F3",
559
+ "\u28F4",
560
+ "\u28F5",
561
+ "\u28F6",
562
+ "\u28F7",
563
+ "\u28B8",
564
+ "\u28B9",
565
+ "\u28BA",
566
+ "\u28BB",
567
+ "\u28BC",
568
+ "\u28BD",
569
+ "\u28BE",
570
+ "\u28BF",
571
+ "\u28F8",
572
+ "\u28F9",
573
+ "\u28FA",
574
+ "\u28FB",
575
+ "\u28FC",
576
+ "\u28FD",
577
+ "\u28FE",
578
+ "\u28FF"
579
+ ]
580
+ },
581
+ sand: {
582
+ interval: 80,
583
+ frames: [
584
+ "\u2801",
585
+ "\u2802",
586
+ "\u2804",
587
+ "\u2840",
588
+ "\u2848",
589
+ "\u2850",
590
+ "\u2860",
591
+ "\u28C0",
592
+ "\u28C1",
593
+ "\u28C2",
594
+ "\u28C4",
595
+ "\u28CC",
596
+ "\u28D4",
597
+ "\u28E4",
598
+ "\u28E5",
599
+ "\u28E6",
600
+ "\u28EE",
601
+ "\u28F6",
602
+ "\u28F7",
603
+ "\u28FF",
604
+ "\u287F",
605
+ "\u283F",
606
+ "\u289F",
607
+ "\u281F",
608
+ "\u285B",
609
+ "\u281B",
610
+ "\u282B",
611
+ "\u288B",
612
+ "\u280B",
613
+ "\u280D",
614
+ "\u2849",
615
+ "\u2809",
616
+ "\u2811",
617
+ "\u2821",
618
+ "\u2881"
619
+ ]
620
+ },
621
+ line: {
622
+ interval: 130,
623
+ frames: [
624
+ "-",
625
+ "\\",
626
+ "|",
627
+ "/"
628
+ ]
629
+ },
630
+ line2: {
631
+ interval: 100,
632
+ frames: [
633
+ "\u2802",
634
+ "-",
635
+ "\u2013",
636
+ "\u2014",
637
+ "\u2013",
638
+ "-"
639
+ ]
640
+ },
641
+ pipe: {
642
+ interval: 100,
643
+ frames: [
644
+ "\u2524",
645
+ "\u2518",
646
+ "\u2534",
647
+ "\u2514",
648
+ "\u251C",
649
+ "\u250C",
650
+ "\u252C",
651
+ "\u2510"
652
+ ]
653
+ },
654
+ simpleDots: {
655
+ interval: 400,
656
+ frames: [
657
+ ". ",
658
+ ".. ",
659
+ "...",
660
+ " "
661
+ ]
662
+ },
663
+ simpleDotsScrolling: {
664
+ interval: 200,
665
+ frames: [
666
+ ". ",
667
+ ".. ",
668
+ "...",
669
+ " ..",
670
+ " .",
671
+ " "
672
+ ]
673
+ },
674
+ star: {
675
+ interval: 70,
676
+ frames: [
677
+ "\u2736",
678
+ "\u2738",
679
+ "\u2739",
680
+ "\u273A",
681
+ "\u2739",
682
+ "\u2737"
683
+ ]
684
+ },
685
+ star2: {
686
+ interval: 80,
687
+ frames: [
688
+ "+",
689
+ "x",
690
+ "*"
691
+ ]
692
+ },
693
+ flip: {
694
+ interval: 70,
695
+ frames: [
696
+ "_",
697
+ "_",
698
+ "_",
699
+ "-",
700
+ "`",
701
+ "`",
702
+ "'",
703
+ "\xB4",
704
+ "-",
705
+ "_",
706
+ "_",
707
+ "_"
708
+ ]
709
+ },
710
+ hamburger: {
711
+ interval: 100,
712
+ frames: [
713
+ "\u2631",
714
+ "\u2632",
715
+ "\u2634"
716
+ ]
717
+ },
718
+ growVertical: {
719
+ interval: 120,
720
+ frames: [
721
+ "\u2581",
722
+ "\u2583",
723
+ "\u2584",
724
+ "\u2585",
725
+ "\u2586",
726
+ "\u2587",
727
+ "\u2586",
728
+ "\u2585",
729
+ "\u2584",
730
+ "\u2583"
731
+ ]
732
+ },
733
+ growHorizontal: {
734
+ interval: 120,
735
+ frames: [
736
+ "\u258F",
737
+ "\u258E",
738
+ "\u258D",
739
+ "\u258C",
740
+ "\u258B",
741
+ "\u258A",
742
+ "\u2589",
743
+ "\u258A",
744
+ "\u258B",
745
+ "\u258C",
746
+ "\u258D",
747
+ "\u258E"
748
+ ]
749
+ },
750
+ balloon: {
751
+ interval: 140,
752
+ frames: [
753
+ " ",
754
+ ".",
755
+ "o",
756
+ "O",
757
+ "@",
758
+ "*",
759
+ " "
760
+ ]
761
+ },
762
+ balloon2: {
763
+ interval: 120,
764
+ frames: [
765
+ ".",
766
+ "o",
767
+ "O",
768
+ "\xB0",
769
+ "O",
770
+ "o",
771
+ "."
772
+ ]
773
+ },
774
+ noise: {
775
+ interval: 100,
776
+ frames: [
777
+ "\u2593",
778
+ "\u2592",
779
+ "\u2591"
780
+ ]
781
+ },
782
+ bounce: {
783
+ interval: 120,
784
+ frames: [
785
+ "\u2801",
786
+ "\u2802",
787
+ "\u2804",
788
+ "\u2802"
789
+ ]
790
+ },
791
+ boxBounce: {
792
+ interval: 120,
793
+ frames: [
794
+ "\u2596",
795
+ "\u2598",
796
+ "\u259D",
797
+ "\u2597"
798
+ ]
799
+ },
800
+ boxBounce2: {
801
+ interval: 100,
802
+ frames: [
803
+ "\u258C",
804
+ "\u2580",
805
+ "\u2590",
806
+ "\u2584"
807
+ ]
808
+ },
809
+ triangle: {
810
+ interval: 50,
811
+ frames: [
812
+ "\u25E2",
813
+ "\u25E3",
814
+ "\u25E4",
815
+ "\u25E5"
816
+ ]
817
+ },
818
+ binary: {
819
+ interval: 80,
820
+ frames: [
821
+ "010010",
822
+ "001100",
823
+ "100101",
824
+ "111010",
825
+ "111101",
826
+ "010111",
827
+ "101011",
828
+ "111000",
829
+ "110011",
830
+ "110101"
831
+ ]
832
+ },
833
+ arc: {
834
+ interval: 100,
835
+ frames: [
836
+ "\u25DC",
837
+ "\u25E0",
838
+ "\u25DD",
839
+ "\u25DE",
840
+ "\u25E1",
841
+ "\u25DF"
842
+ ]
843
+ },
844
+ circle: {
845
+ interval: 120,
846
+ frames: [
847
+ "\u25E1",
848
+ "\u2299",
849
+ "\u25E0"
850
+ ]
851
+ },
852
+ squareCorners: {
853
+ interval: 180,
854
+ frames: [
855
+ "\u25F0",
856
+ "\u25F3",
857
+ "\u25F2",
858
+ "\u25F1"
859
+ ]
860
+ },
861
+ circleQuarters: {
862
+ interval: 120,
863
+ frames: [
864
+ "\u25F4",
865
+ "\u25F7",
866
+ "\u25F6",
867
+ "\u25F5"
868
+ ]
869
+ },
870
+ circleHalves: {
871
+ interval: 50,
872
+ frames: [
873
+ "\u25D0",
874
+ "\u25D3",
875
+ "\u25D1",
876
+ "\u25D2"
877
+ ]
878
+ },
879
+ squish: {
880
+ interval: 100,
881
+ frames: [
882
+ "\u256B",
883
+ "\u256A"
884
+ ]
885
+ },
886
+ toggle: {
887
+ interval: 250,
888
+ frames: [
889
+ "\u22B6",
890
+ "\u22B7"
891
+ ]
892
+ },
893
+ toggle2: {
894
+ interval: 80,
895
+ frames: [
896
+ "\u25AB",
897
+ "\u25AA"
898
+ ]
899
+ },
900
+ toggle3: {
901
+ interval: 120,
902
+ frames: [
903
+ "\u25A1",
904
+ "\u25A0"
905
+ ]
906
+ },
907
+ toggle4: {
908
+ interval: 100,
909
+ frames: [
910
+ "\u25A0",
911
+ "\u25A1",
912
+ "\u25AA",
913
+ "\u25AB"
914
+ ]
915
+ },
916
+ toggle5: {
917
+ interval: 100,
918
+ frames: [
919
+ "\u25AE",
920
+ "\u25AF"
921
+ ]
922
+ },
923
+ toggle6: {
924
+ interval: 300,
925
+ frames: [
926
+ "\u101D",
927
+ "\u1040"
928
+ ]
929
+ },
930
+ toggle7: {
931
+ interval: 80,
932
+ frames: [
933
+ "\u29BE",
934
+ "\u29BF"
935
+ ]
936
+ },
937
+ toggle8: {
938
+ interval: 100,
939
+ frames: [
940
+ "\u25CD",
941
+ "\u25CC"
942
+ ]
943
+ },
944
+ toggle9: {
945
+ interval: 100,
946
+ frames: [
947
+ "\u25C9",
948
+ "\u25CE"
949
+ ]
950
+ },
951
+ toggle10: {
952
+ interval: 100,
953
+ frames: [
954
+ "\u3282",
955
+ "\u3280",
956
+ "\u3281"
957
+ ]
958
+ },
959
+ toggle11: {
960
+ interval: 50,
961
+ frames: [
962
+ "\u29C7",
963
+ "\u29C6"
964
+ ]
965
+ },
966
+ toggle12: {
967
+ interval: 120,
968
+ frames: [
969
+ "\u2617",
970
+ "\u2616"
971
+ ]
972
+ },
973
+ toggle13: {
974
+ interval: 80,
975
+ frames: [
976
+ "=",
977
+ "*",
978
+ "-"
979
+ ]
980
+ },
981
+ arrow: {
982
+ interval: 100,
983
+ frames: [
984
+ "\u2190",
985
+ "\u2196",
986
+ "\u2191",
987
+ "\u2197",
988
+ "\u2192",
989
+ "\u2198",
990
+ "\u2193",
991
+ "\u2199"
992
+ ]
993
+ },
994
+ arrow2: {
995
+ interval: 80,
996
+ frames: [
997
+ "\u2B06\uFE0F ",
998
+ "\u2197\uFE0F ",
999
+ "\u27A1\uFE0F ",
1000
+ "\u2198\uFE0F ",
1001
+ "\u2B07\uFE0F ",
1002
+ "\u2199\uFE0F ",
1003
+ "\u2B05\uFE0F ",
1004
+ "\u2196\uFE0F "
1005
+ ]
1006
+ },
1007
+ arrow3: {
1008
+ interval: 120,
1009
+ frames: [
1010
+ "\u25B9\u25B9\u25B9\u25B9\u25B9",
1011
+ "\u25B8\u25B9\u25B9\u25B9\u25B9",
1012
+ "\u25B9\u25B8\u25B9\u25B9\u25B9",
1013
+ "\u25B9\u25B9\u25B8\u25B9\u25B9",
1014
+ "\u25B9\u25B9\u25B9\u25B8\u25B9",
1015
+ "\u25B9\u25B9\u25B9\u25B9\u25B8"
1016
+ ]
1017
+ },
1018
+ bouncingBar: {
1019
+ interval: 80,
1020
+ frames: [
1021
+ "[ ]",
1022
+ "[= ]",
1023
+ "[== ]",
1024
+ "[=== ]",
1025
+ "[====]",
1026
+ "[ ===]",
1027
+ "[ ==]",
1028
+ "[ =]",
1029
+ "[ ]",
1030
+ "[ =]",
1031
+ "[ ==]",
1032
+ "[ ===]",
1033
+ "[====]",
1034
+ "[=== ]",
1035
+ "[== ]",
1036
+ "[= ]"
1037
+ ]
1038
+ },
1039
+ bouncingBall: {
1040
+ interval: 80,
1041
+ frames: [
1042
+ "( \u25CF )",
1043
+ "( \u25CF )",
1044
+ "( \u25CF )",
1045
+ "( \u25CF )",
1046
+ "( \u25CF)",
1047
+ "( \u25CF )",
1048
+ "( \u25CF )",
1049
+ "( \u25CF )",
1050
+ "( \u25CF )",
1051
+ "(\u25CF )"
1052
+ ]
1053
+ },
1054
+ smiley: {
1055
+ interval: 200,
1056
+ frames: [
1057
+ "\u{1F604} ",
1058
+ "\u{1F61D} "
1059
+ ]
1060
+ },
1061
+ monkey: {
1062
+ interval: 300,
1063
+ frames: [
1064
+ "\u{1F648} ",
1065
+ "\u{1F648} ",
1066
+ "\u{1F649} ",
1067
+ "\u{1F64A} "
1068
+ ]
1069
+ },
1070
+ hearts: {
1071
+ interval: 100,
1072
+ frames: [
1073
+ "\u{1F49B} ",
1074
+ "\u{1F499} ",
1075
+ "\u{1F49C} ",
1076
+ "\u{1F49A} ",
1077
+ "\u2764\uFE0F "
1078
+ ]
1079
+ },
1080
+ clock: {
1081
+ interval: 100,
1082
+ frames: [
1083
+ "\u{1F55B} ",
1084
+ "\u{1F550} ",
1085
+ "\u{1F551} ",
1086
+ "\u{1F552} ",
1087
+ "\u{1F553} ",
1088
+ "\u{1F554} ",
1089
+ "\u{1F555} ",
1090
+ "\u{1F556} ",
1091
+ "\u{1F557} ",
1092
+ "\u{1F558} ",
1093
+ "\u{1F559} ",
1094
+ "\u{1F55A} "
1095
+ ]
1096
+ },
1097
+ earth: {
1098
+ interval: 180,
1099
+ frames: [
1100
+ "\u{1F30D} ",
1101
+ "\u{1F30E} ",
1102
+ "\u{1F30F} "
1103
+ ]
1104
+ },
1105
+ material: {
1106
+ interval: 17,
1107
+ frames: [
1108
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1109
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1110
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1111
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1112
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1113
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1114
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1115
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1116
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1117
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1118
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1119
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1120
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1121
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1122
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1123
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1124
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1125
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1126
+ "\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1127
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1128
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1129
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1130
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1131
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1132
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1133
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1134
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1135
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1136
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1137
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1138
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1139
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1140
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1141
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1142
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1143
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1144
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1145
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1146
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588",
1147
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1148
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1149
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1150
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1151
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1152
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1153
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1154
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1155
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1156
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1157
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1158
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1159
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1160
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1161
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1162
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1163
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1164
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1165
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1166
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1167
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1168
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1169
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1170
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1171
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1172
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1173
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1174
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1175
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1176
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1177
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1178
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1179
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1180
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1181
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1182
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1183
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1184
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1185
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1186
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1187
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1188
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1189
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1190
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1191
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1192
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1193
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1194
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1195
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1196
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1197
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1198
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1199
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"
1200
+ ]
1201
+ },
1202
+ moon: {
1203
+ interval: 80,
1204
+ frames: [
1205
+ "\u{1F311} ",
1206
+ "\u{1F312} ",
1207
+ "\u{1F313} ",
1208
+ "\u{1F314} ",
1209
+ "\u{1F315} ",
1210
+ "\u{1F316} ",
1211
+ "\u{1F317} ",
1212
+ "\u{1F318} "
1213
+ ]
1214
+ },
1215
+ runner: {
1216
+ interval: 140,
1217
+ frames: [
1218
+ "\u{1F6B6} ",
1219
+ "\u{1F3C3} "
1220
+ ]
1221
+ },
1222
+ pong: {
1223
+ interval: 80,
1224
+ frames: [
1225
+ "\u2590\u2802 \u258C",
1226
+ "\u2590\u2808 \u258C",
1227
+ "\u2590 \u2802 \u258C",
1228
+ "\u2590 \u2820 \u258C",
1229
+ "\u2590 \u2840 \u258C",
1230
+ "\u2590 \u2820 \u258C",
1231
+ "\u2590 \u2802 \u258C",
1232
+ "\u2590 \u2808 \u258C",
1233
+ "\u2590 \u2802 \u258C",
1234
+ "\u2590 \u2820 \u258C",
1235
+ "\u2590 \u2840 \u258C",
1236
+ "\u2590 \u2820 \u258C",
1237
+ "\u2590 \u2802 \u258C",
1238
+ "\u2590 \u2808 \u258C",
1239
+ "\u2590 \u2802\u258C",
1240
+ "\u2590 \u2820\u258C",
1241
+ "\u2590 \u2840\u258C",
1242
+ "\u2590 \u2820 \u258C",
1243
+ "\u2590 \u2802 \u258C",
1244
+ "\u2590 \u2808 \u258C",
1245
+ "\u2590 \u2802 \u258C",
1246
+ "\u2590 \u2820 \u258C",
1247
+ "\u2590 \u2840 \u258C",
1248
+ "\u2590 \u2820 \u258C",
1249
+ "\u2590 \u2802 \u258C",
1250
+ "\u2590 \u2808 \u258C",
1251
+ "\u2590 \u2802 \u258C",
1252
+ "\u2590 \u2820 \u258C",
1253
+ "\u2590 \u2840 \u258C",
1254
+ "\u2590\u2820 \u258C"
1255
+ ]
1256
+ },
1257
+ shark: {
1258
+ interval: 120,
1259
+ frames: [
1260
+ "\u2590|\\____________\u258C",
1261
+ "\u2590_|\\___________\u258C",
1262
+ "\u2590__|\\__________\u258C",
1263
+ "\u2590___|\\_________\u258C",
1264
+ "\u2590____|\\________\u258C",
1265
+ "\u2590_____|\\_______\u258C",
1266
+ "\u2590______|\\______\u258C",
1267
+ "\u2590_______|\\_____\u258C",
1268
+ "\u2590________|\\____\u258C",
1269
+ "\u2590_________|\\___\u258C",
1270
+ "\u2590__________|\\__\u258C",
1271
+ "\u2590___________|\\_\u258C",
1272
+ "\u2590____________|\\\u258C",
1273
+ "\u2590____________/|\u258C",
1274
+ "\u2590___________/|_\u258C",
1275
+ "\u2590__________/|__\u258C",
1276
+ "\u2590_________/|___\u258C",
1277
+ "\u2590________/|____\u258C",
1278
+ "\u2590_______/|_____\u258C",
1279
+ "\u2590______/|______\u258C",
1280
+ "\u2590_____/|_______\u258C",
1281
+ "\u2590____/|________\u258C",
1282
+ "\u2590___/|_________\u258C",
1283
+ "\u2590__/|__________\u258C",
1284
+ "\u2590_/|___________\u258C",
1285
+ "\u2590/|____________\u258C"
1286
+ ]
1287
+ },
1288
+ dqpb: {
1289
+ interval: 100,
1290
+ frames: [
1291
+ "d",
1292
+ "q",
1293
+ "p",
1294
+ "b"
1295
+ ]
1296
+ },
1297
+ weather: {
1298
+ interval: 100,
1299
+ frames: [
1300
+ "\u2600\uFE0F ",
1301
+ "\u2600\uFE0F ",
1302
+ "\u2600\uFE0F ",
1303
+ "\u{1F324} ",
1304
+ "\u26C5\uFE0F ",
1305
+ "\u{1F325} ",
1306
+ "\u2601\uFE0F ",
1307
+ "\u{1F327} ",
1308
+ "\u{1F328} ",
1309
+ "\u{1F327} ",
1310
+ "\u{1F328} ",
1311
+ "\u{1F327} ",
1312
+ "\u{1F328} ",
1313
+ "\u26C8 ",
1314
+ "\u{1F328} ",
1315
+ "\u{1F327} ",
1316
+ "\u{1F328} ",
1317
+ "\u2601\uFE0F ",
1318
+ "\u{1F325} ",
1319
+ "\u26C5\uFE0F ",
1320
+ "\u{1F324} ",
1321
+ "\u2600\uFE0F ",
1322
+ "\u2600\uFE0F "
1323
+ ]
1324
+ },
1325
+ christmas: {
1326
+ interval: 400,
1327
+ frames: [
1328
+ "\u{1F332}",
1329
+ "\u{1F384}"
1330
+ ]
1331
+ },
1332
+ grenade: {
1333
+ interval: 80,
1334
+ frames: [
1335
+ "\u060C ",
1336
+ "\u2032 ",
1337
+ " \xB4 ",
1338
+ " \u203E ",
1339
+ " \u2E0C",
1340
+ " \u2E0A",
1341
+ " |",
1342
+ " \u204E",
1343
+ " \u2055",
1344
+ " \u0DF4 ",
1345
+ " \u2053",
1346
+ " ",
1347
+ " ",
1348
+ " "
1349
+ ]
1350
+ },
1351
+ point: {
1352
+ interval: 125,
1353
+ frames: [
1354
+ "\u2219\u2219\u2219",
1355
+ "\u25CF\u2219\u2219",
1356
+ "\u2219\u25CF\u2219",
1357
+ "\u2219\u2219\u25CF",
1358
+ "\u2219\u2219\u2219"
1359
+ ]
1360
+ },
1361
+ layer: {
1362
+ interval: 150,
1363
+ frames: [
1364
+ "-",
1365
+ "=",
1366
+ "\u2261"
1367
+ ]
1368
+ },
1369
+ betaWave: {
1370
+ interval: 80,
1371
+ frames: [
1372
+ "\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2",
1373
+ "\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2",
1374
+ "\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2",
1375
+ "\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2",
1376
+ "\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2",
1377
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2",
1378
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"
1379
+ ]
1380
+ },
1381
+ fingerDance: {
1382
+ interval: 160,
1383
+ frames: [
1384
+ "\u{1F918} ",
1385
+ "\u{1F91F} ",
1386
+ "\u{1F596} ",
1387
+ "\u270B ",
1388
+ "\u{1F91A} ",
1389
+ "\u{1F446} "
1390
+ ]
1391
+ },
1392
+ fistBump: {
1393
+ interval: 80,
1394
+ frames: [
1395
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1396
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1397
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1398
+ "\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ",
1399
+ "\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ",
1400
+ "\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ",
1401
+ "\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "
1402
+ ]
1403
+ },
1404
+ soccerHeader: {
1405
+ interval: 80,
1406
+ frames: [
1407
+ " \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ",
1408
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1409
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1410
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1411
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1412
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1413
+ "\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ",
1414
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1415
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1416
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1417
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1418
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "
1419
+ ]
1420
+ },
1421
+ mindblown: {
1422
+ interval: 160,
1423
+ frames: [
1424
+ "\u{1F610} ",
1425
+ "\u{1F610} ",
1426
+ "\u{1F62E} ",
1427
+ "\u{1F62E} ",
1428
+ "\u{1F626} ",
1429
+ "\u{1F626} ",
1430
+ "\u{1F627} ",
1431
+ "\u{1F627} ",
1432
+ "\u{1F92F} ",
1433
+ "\u{1F4A5} ",
1434
+ "\u2728 ",
1435
+ "\u3000 ",
1436
+ "\u3000 ",
1437
+ "\u3000 "
1438
+ ]
1439
+ },
1440
+ speaker: {
1441
+ interval: 160,
1442
+ frames: [
1443
+ "\u{1F508} ",
1444
+ "\u{1F509} ",
1445
+ "\u{1F50A} ",
1446
+ "\u{1F509} "
1447
+ ]
1448
+ },
1449
+ orangePulse: {
1450
+ interval: 100,
1451
+ frames: [
1452
+ "\u{1F538} ",
1453
+ "\u{1F536} ",
1454
+ "\u{1F7E0} ",
1455
+ "\u{1F7E0} ",
1456
+ "\u{1F536} "
1457
+ ]
1458
+ },
1459
+ bluePulse: {
1460
+ interval: 100,
1461
+ frames: [
1462
+ "\u{1F539} ",
1463
+ "\u{1F537} ",
1464
+ "\u{1F535} ",
1465
+ "\u{1F535} ",
1466
+ "\u{1F537} "
1467
+ ]
1468
+ },
1469
+ orangeBluePulse: {
1470
+ interval: 100,
1471
+ frames: [
1472
+ "\u{1F538} ",
1473
+ "\u{1F536} ",
1474
+ "\u{1F7E0} ",
1475
+ "\u{1F7E0} ",
1476
+ "\u{1F536} ",
1477
+ "\u{1F539} ",
1478
+ "\u{1F537} ",
1479
+ "\u{1F535} ",
1480
+ "\u{1F535} ",
1481
+ "\u{1F537} "
1482
+ ]
1483
+ },
1484
+ timeTravel: {
1485
+ interval: 100,
1486
+ frames: [
1487
+ "\u{1F55B} ",
1488
+ "\u{1F55A} ",
1489
+ "\u{1F559} ",
1490
+ "\u{1F558} ",
1491
+ "\u{1F557} ",
1492
+ "\u{1F556} ",
1493
+ "\u{1F555} ",
1494
+ "\u{1F554} ",
1495
+ "\u{1F553} ",
1496
+ "\u{1F552} ",
1497
+ "\u{1F551} ",
1498
+ "\u{1F550} "
1499
+ ]
1500
+ },
1501
+ aesthetic: {
1502
+ interval: 80,
1503
+ frames: [
1504
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1",
1505
+ "\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1",
1506
+ "\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1",
1507
+ "\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1",
1508
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1",
1509
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1",
1510
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0",
1511
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"
1512
+ ]
1513
+ },
1514
+ dwarfFortress: {
1515
+ interval: 80,
1516
+ frames: [
1517
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1518
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1519
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1520
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1521
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1522
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1523
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1524
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1525
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1526
+ "\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1527
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1528
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1529
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1530
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1531
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1532
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1533
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1534
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1535
+ " \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1536
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1537
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1538
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1539
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1540
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1541
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1542
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1543
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1544
+ " \u263A \u2588\u2588\u2588\xA3\xA3\xA3 ",
1545
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1546
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1547
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1548
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1549
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1550
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1551
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1552
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1553
+ " \u263A \u2588\u2588\xA3\xA3\xA3 ",
1554
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1555
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1556
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1557
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1558
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1559
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1560
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1561
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1562
+ " \u263A \u2588\xA3\xA3\xA3 ",
1563
+ " \u263A\u2588\xA3\xA3\xA3 ",
1564
+ " \u263A\u2588\xA3\xA3\xA3 ",
1565
+ " \u263A\u2593\xA3\xA3\xA3 ",
1566
+ " \u263A\u2593\xA3\xA3\xA3 ",
1567
+ " \u263A\u2592\xA3\xA3\xA3 ",
1568
+ " \u263A\u2592\xA3\xA3\xA3 ",
1569
+ " \u263A\u2591\xA3\xA3\xA3 ",
1570
+ " \u263A\u2591\xA3\xA3\xA3 ",
1571
+ " \u263A \xA3\xA3\xA3 ",
1572
+ " \u263A\xA3\xA3\xA3 ",
1573
+ " \u263A\xA3\xA3\xA3 ",
1574
+ " \u263A\u2593\xA3\xA3 ",
1575
+ " \u263A\u2593\xA3\xA3 ",
1576
+ " \u263A\u2592\xA3\xA3 ",
1577
+ " \u263A\u2592\xA3\xA3 ",
1578
+ " \u263A\u2591\xA3\xA3 ",
1579
+ " \u263A\u2591\xA3\xA3 ",
1580
+ " \u263A \xA3\xA3 ",
1581
+ " \u263A\xA3\xA3 ",
1582
+ " \u263A\xA3\xA3 ",
1583
+ " \u263A\u2593\xA3 ",
1584
+ " \u263A\u2593\xA3 ",
1585
+ " \u263A\u2592\xA3 ",
1586
+ " \u263A\u2592\xA3 ",
1587
+ " \u263A\u2591\xA3 ",
1588
+ " \u263A\u2591\xA3 ",
1589
+ " \u263A \xA3 ",
1590
+ " \u263A\xA3 ",
1591
+ " \u263A\xA3 ",
1592
+ " \u263A\u2593 ",
1593
+ " \u263A\u2593 ",
1594
+ " \u263A\u2592 ",
1595
+ " \u263A\u2592 ",
1596
+ " \u263A\u2591 ",
1597
+ " \u263A\u2591 ",
1598
+ " \u263A ",
1599
+ " \u263A &",
1600
+ " \u263A \u263C&",
1601
+ " \u263A \u263C &",
1602
+ " \u263A\u263C &",
1603
+ " \u263A\u263C & ",
1604
+ " \u203C & ",
1605
+ " \u263A & ",
1606
+ " \u203C & ",
1607
+ " \u263A & ",
1608
+ " \u203C & ",
1609
+ " \u263A & ",
1610
+ "\u203C & ",
1611
+ " & ",
1612
+ " & ",
1613
+ " & \u2591 ",
1614
+ " & \u2592 ",
1615
+ " & \u2593 ",
1616
+ " & \xA3 ",
1617
+ " & \u2591\xA3 ",
1618
+ " & \u2592\xA3 ",
1619
+ " & \u2593\xA3 ",
1620
+ " & \xA3\xA3 ",
1621
+ " & \u2591\xA3\xA3 ",
1622
+ " & \u2592\xA3\xA3 ",
1623
+ "& \u2593\xA3\xA3 ",
1624
+ "& \xA3\xA3\xA3 ",
1625
+ " \u2591\xA3\xA3\xA3 ",
1626
+ " \u2592\xA3\xA3\xA3 ",
1627
+ " \u2593\xA3\xA3\xA3 ",
1628
+ " \u2588\xA3\xA3\xA3 ",
1629
+ " \u2591\u2588\xA3\xA3\xA3 ",
1630
+ " \u2592\u2588\xA3\xA3\xA3 ",
1631
+ " \u2593\u2588\xA3\xA3\xA3 ",
1632
+ " \u2588\u2588\xA3\xA3\xA3 ",
1633
+ " \u2591\u2588\u2588\xA3\xA3\xA3 ",
1634
+ " \u2592\u2588\u2588\xA3\xA3\xA3 ",
1635
+ " \u2593\u2588\u2588\xA3\xA3\xA3 ",
1636
+ " \u2588\u2588\u2588\xA3\xA3\xA3 ",
1637
+ " \u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1638
+ " \u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1639
+ " \u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1640
+ " \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1641
+ " \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1642
+ " \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1643
+ " \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1644
+ " \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1645
+ " \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1646
+ " \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1647
+ " \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1648
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1649
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "
1650
+ ]
1651
+ }
1652
+ };
1653
+ }
1654
+ });
1655
+
1656
+ // node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/index.js
1657
+ var require_cli_spinners = __commonJS({
1658
+ "node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/index.js"(exports, module) {
1659
+ "use strict";
1660
+ var spinners = Object.assign({}, require_spinners());
1661
+ var spinnersList = Object.keys(spinners);
1662
+ Object.defineProperty(spinners, "random", {
1663
+ get() {
1664
+ const randomIndex = Math.floor(Math.random() * spinnersList.length);
1665
+ const spinnerName = spinnersList[randomIndex];
1666
+ return spinners[spinnerName];
1667
+ }
1668
+ });
1669
+ module.exports = spinners;
1670
+ }
1671
+ });
2
1672
 
3
1673
  // src/cli.ts
4
1674
  import { Command } from "commander";
1675
+ import { readFileSync as readFileSync4 } from "fs";
1676
+ import { fileURLToPath } from "url";
1677
+ import { dirname, join as join4 } from "path";
5
1678
 
6
1679
  // src/commands/gen.ts
7
1680
  import { readFileSync, writeFileSync } from "fs";
8
1681
  import { resolve } from "path";
9
- import ora from "ora";
10
- import chalk2 from "chalk";
1682
+
1683
+ // node_modules/.pnpm/ora@8.2.0/node_modules/ora/index.js
1684
+ import process9 from "process";
1685
+
1686
+ // node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
1687
+ var ANSI_BACKGROUND_OFFSET = 10;
1688
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
1689
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
1690
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
1691
+ var styles = {
1692
+ modifier: {
1693
+ reset: [0, 0],
1694
+ // 21 isn't widely supported and 22 does the same thing
1695
+ bold: [1, 22],
1696
+ dim: [2, 22],
1697
+ italic: [3, 23],
1698
+ underline: [4, 24],
1699
+ overline: [53, 55],
1700
+ inverse: [7, 27],
1701
+ hidden: [8, 28],
1702
+ strikethrough: [9, 29]
1703
+ },
1704
+ color: {
1705
+ black: [30, 39],
1706
+ red: [31, 39],
1707
+ green: [32, 39],
1708
+ yellow: [33, 39],
1709
+ blue: [34, 39],
1710
+ magenta: [35, 39],
1711
+ cyan: [36, 39],
1712
+ white: [37, 39],
1713
+ // Bright color
1714
+ blackBright: [90, 39],
1715
+ gray: [90, 39],
1716
+ // Alias of `blackBright`
1717
+ grey: [90, 39],
1718
+ // Alias of `blackBright`
1719
+ redBright: [91, 39],
1720
+ greenBright: [92, 39],
1721
+ yellowBright: [93, 39],
1722
+ blueBright: [94, 39],
1723
+ magentaBright: [95, 39],
1724
+ cyanBright: [96, 39],
1725
+ whiteBright: [97, 39]
1726
+ },
1727
+ bgColor: {
1728
+ bgBlack: [40, 49],
1729
+ bgRed: [41, 49],
1730
+ bgGreen: [42, 49],
1731
+ bgYellow: [43, 49],
1732
+ bgBlue: [44, 49],
1733
+ bgMagenta: [45, 49],
1734
+ bgCyan: [46, 49],
1735
+ bgWhite: [47, 49],
1736
+ // Bright color
1737
+ bgBlackBright: [100, 49],
1738
+ bgGray: [100, 49],
1739
+ // Alias of `bgBlackBright`
1740
+ bgGrey: [100, 49],
1741
+ // Alias of `bgBlackBright`
1742
+ bgRedBright: [101, 49],
1743
+ bgGreenBright: [102, 49],
1744
+ bgYellowBright: [103, 49],
1745
+ bgBlueBright: [104, 49],
1746
+ bgMagentaBright: [105, 49],
1747
+ bgCyanBright: [106, 49],
1748
+ bgWhiteBright: [107, 49]
1749
+ }
1750
+ };
1751
+ var modifierNames = Object.keys(styles.modifier);
1752
+ var foregroundColorNames = Object.keys(styles.color);
1753
+ var backgroundColorNames = Object.keys(styles.bgColor);
1754
+ var colorNames = [...foregroundColorNames, ...backgroundColorNames];
1755
+ function assembleStyles() {
1756
+ const codes = /* @__PURE__ */ new Map();
1757
+ for (const [groupName, group] of Object.entries(styles)) {
1758
+ for (const [styleName, style] of Object.entries(group)) {
1759
+ styles[styleName] = {
1760
+ open: `\x1B[${style[0]}m`,
1761
+ close: `\x1B[${style[1]}m`
1762
+ };
1763
+ group[styleName] = styles[styleName];
1764
+ codes.set(style[0], style[1]);
1765
+ }
1766
+ Object.defineProperty(styles, groupName, {
1767
+ value: group,
1768
+ enumerable: false
1769
+ });
1770
+ }
1771
+ Object.defineProperty(styles, "codes", {
1772
+ value: codes,
1773
+ enumerable: false
1774
+ });
1775
+ styles.color.close = "\x1B[39m";
1776
+ styles.bgColor.close = "\x1B[49m";
1777
+ styles.color.ansi = wrapAnsi16();
1778
+ styles.color.ansi256 = wrapAnsi256();
1779
+ styles.color.ansi16m = wrapAnsi16m();
1780
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
1781
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
1782
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
1783
+ Object.defineProperties(styles, {
1784
+ rgbToAnsi256: {
1785
+ value(red, green, blue) {
1786
+ if (red === green && green === blue) {
1787
+ if (red < 8) {
1788
+ return 16;
1789
+ }
1790
+ if (red > 248) {
1791
+ return 231;
1792
+ }
1793
+ return Math.round((red - 8) / 247 * 24) + 232;
1794
+ }
1795
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
1796
+ },
1797
+ enumerable: false
1798
+ },
1799
+ hexToRgb: {
1800
+ value(hex) {
1801
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
1802
+ if (!matches) {
1803
+ return [0, 0, 0];
1804
+ }
1805
+ let [colorString] = matches;
1806
+ if (colorString.length === 3) {
1807
+ colorString = [...colorString].map((character) => character + character).join("");
1808
+ }
1809
+ const integer = Number.parseInt(colorString, 16);
1810
+ return [
1811
+ /* eslint-disable no-bitwise */
1812
+ integer >> 16 & 255,
1813
+ integer >> 8 & 255,
1814
+ integer & 255
1815
+ /* eslint-enable no-bitwise */
1816
+ ];
1817
+ },
1818
+ enumerable: false
1819
+ },
1820
+ hexToAnsi256: {
1821
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
1822
+ enumerable: false
1823
+ },
1824
+ ansi256ToAnsi: {
1825
+ value(code) {
1826
+ if (code < 8) {
1827
+ return 30 + code;
1828
+ }
1829
+ if (code < 16) {
1830
+ return 90 + (code - 8);
1831
+ }
1832
+ let red;
1833
+ let green;
1834
+ let blue;
1835
+ if (code >= 232) {
1836
+ red = ((code - 232) * 10 + 8) / 255;
1837
+ green = red;
1838
+ blue = red;
1839
+ } else {
1840
+ code -= 16;
1841
+ const remainder = code % 36;
1842
+ red = Math.floor(code / 36) / 5;
1843
+ green = Math.floor(remainder / 6) / 5;
1844
+ blue = remainder % 6 / 5;
1845
+ }
1846
+ const value = Math.max(red, green, blue) * 2;
1847
+ if (value === 0) {
1848
+ return 30;
1849
+ }
1850
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
1851
+ if (value === 2) {
1852
+ result += 60;
1853
+ }
1854
+ return result;
1855
+ },
1856
+ enumerable: false
1857
+ },
1858
+ rgbToAnsi: {
1859
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
1860
+ enumerable: false
1861
+ },
1862
+ hexToAnsi: {
1863
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
1864
+ enumerable: false
1865
+ }
1866
+ });
1867
+ return styles;
1868
+ }
1869
+ var ansiStyles = assembleStyles();
1870
+ var ansi_styles_default = ansiStyles;
1871
+
1872
+ // node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
1873
+ import process2 from "process";
1874
+ import os from "os";
1875
+ import tty from "tty";
1876
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
1877
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
1878
+ const position = argv.indexOf(prefix + flag);
1879
+ const terminatorPosition = argv.indexOf("--");
1880
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
1881
+ }
1882
+ var { env } = process2;
1883
+ var flagForceColor;
1884
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
1885
+ flagForceColor = 0;
1886
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
1887
+ flagForceColor = 1;
1888
+ }
1889
+ function envForceColor() {
1890
+ if ("FORCE_COLOR" in env) {
1891
+ if (env.FORCE_COLOR === "true") {
1892
+ return 1;
1893
+ }
1894
+ if (env.FORCE_COLOR === "false") {
1895
+ return 0;
1896
+ }
1897
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
1898
+ }
1899
+ }
1900
+ function translateLevel(level) {
1901
+ if (level === 0) {
1902
+ return false;
1903
+ }
1904
+ return {
1905
+ level,
1906
+ hasBasic: true,
1907
+ has256: level >= 2,
1908
+ has16m: level >= 3
1909
+ };
1910
+ }
1911
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
1912
+ const noFlagForceColor = envForceColor();
1913
+ if (noFlagForceColor !== void 0) {
1914
+ flagForceColor = noFlagForceColor;
1915
+ }
1916
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
1917
+ if (forceColor === 0) {
1918
+ return 0;
1919
+ }
1920
+ if (sniffFlags) {
1921
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
1922
+ return 3;
1923
+ }
1924
+ if (hasFlag("color=256")) {
1925
+ return 2;
1926
+ }
1927
+ }
1928
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
1929
+ return 1;
1930
+ }
1931
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
1932
+ return 0;
1933
+ }
1934
+ const min = forceColor || 0;
1935
+ if (env.TERM === "dumb") {
1936
+ return min;
1937
+ }
1938
+ if (process2.platform === "win32") {
1939
+ const osRelease = os.release().split(".");
1940
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
1941
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
1942
+ }
1943
+ return 1;
1944
+ }
1945
+ if ("CI" in env) {
1946
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
1947
+ return 3;
1948
+ }
1949
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
1950
+ return 1;
1951
+ }
1952
+ return min;
1953
+ }
1954
+ if ("TEAMCITY_VERSION" in env) {
1955
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
1956
+ }
1957
+ if (env.COLORTERM === "truecolor") {
1958
+ return 3;
1959
+ }
1960
+ if (env.TERM === "xterm-kitty") {
1961
+ return 3;
1962
+ }
1963
+ if (env.TERM === "xterm-ghostty") {
1964
+ return 3;
1965
+ }
1966
+ if (env.TERM === "wezterm") {
1967
+ return 3;
1968
+ }
1969
+ if ("TERM_PROGRAM" in env) {
1970
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1971
+ switch (env.TERM_PROGRAM) {
1972
+ case "iTerm.app": {
1973
+ return version >= 3 ? 3 : 2;
1974
+ }
1975
+ case "Apple_Terminal": {
1976
+ return 2;
1977
+ }
1978
+ }
1979
+ }
1980
+ if (/-256(color)?$/i.test(env.TERM)) {
1981
+ return 2;
1982
+ }
1983
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
1984
+ return 1;
1985
+ }
1986
+ if ("COLORTERM" in env) {
1987
+ return 1;
1988
+ }
1989
+ return min;
1990
+ }
1991
+ function createSupportsColor(stream, options = {}) {
1992
+ const level = _supportsColor(stream, {
1993
+ streamIsTTY: stream && stream.isTTY,
1994
+ ...options
1995
+ });
1996
+ return translateLevel(level);
1997
+ }
1998
+ var supportsColor = {
1999
+ stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
2000
+ stderr: createSupportsColor({ isTTY: tty.isatty(2) })
2001
+ };
2002
+ var supports_color_default = supportsColor;
2003
+
2004
+ // node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
2005
+ function stringReplaceAll(string, substring, replacer) {
2006
+ let index = string.indexOf(substring);
2007
+ if (index === -1) {
2008
+ return string;
2009
+ }
2010
+ const substringLength = substring.length;
2011
+ let endIndex = 0;
2012
+ let returnValue = "";
2013
+ do {
2014
+ returnValue += string.slice(endIndex, index) + substring + replacer;
2015
+ endIndex = index + substringLength;
2016
+ index = string.indexOf(substring, endIndex);
2017
+ } while (index !== -1);
2018
+ returnValue += string.slice(endIndex);
2019
+ return returnValue;
2020
+ }
2021
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
2022
+ let endIndex = 0;
2023
+ let returnValue = "";
2024
+ do {
2025
+ const gotCR = string[index - 1] === "\r";
2026
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
2027
+ endIndex = index + 1;
2028
+ index = string.indexOf("\n", endIndex);
2029
+ } while (index !== -1);
2030
+ returnValue += string.slice(endIndex);
2031
+ return returnValue;
2032
+ }
2033
+
2034
+ // node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
2035
+ var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
2036
+ var GENERATOR = /* @__PURE__ */ Symbol("GENERATOR");
2037
+ var STYLER = /* @__PURE__ */ Symbol("STYLER");
2038
+ var IS_EMPTY = /* @__PURE__ */ Symbol("IS_EMPTY");
2039
+ var levelMapping = [
2040
+ "ansi",
2041
+ "ansi",
2042
+ "ansi256",
2043
+ "ansi16m"
2044
+ ];
2045
+ var styles2 = /* @__PURE__ */ Object.create(null);
2046
+ var applyOptions = (object, options = {}) => {
2047
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
2048
+ throw new Error("The `level` option should be an integer from 0 to 3");
2049
+ }
2050
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
2051
+ object.level = options.level === void 0 ? colorLevel : options.level;
2052
+ };
2053
+ var chalkFactory = (options) => {
2054
+ const chalk2 = (...strings) => strings.join(" ");
2055
+ applyOptions(chalk2, options);
2056
+ Object.setPrototypeOf(chalk2, createChalk.prototype);
2057
+ return chalk2;
2058
+ };
2059
+ function createChalk(options) {
2060
+ return chalkFactory(options);
2061
+ }
2062
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
2063
+ for (const [styleName, style] of Object.entries(ansi_styles_default)) {
2064
+ styles2[styleName] = {
2065
+ get() {
2066
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
2067
+ Object.defineProperty(this, styleName, { value: builder });
2068
+ return builder;
2069
+ }
2070
+ };
2071
+ }
2072
+ styles2.visible = {
2073
+ get() {
2074
+ const builder = createBuilder(this, this[STYLER], true);
2075
+ Object.defineProperty(this, "visible", { value: builder });
2076
+ return builder;
2077
+ }
2078
+ };
2079
+ var getModelAnsi = (model, level, type, ...arguments_) => {
2080
+ if (model === "rgb") {
2081
+ if (level === "ansi16m") {
2082
+ return ansi_styles_default[type].ansi16m(...arguments_);
2083
+ }
2084
+ if (level === "ansi256") {
2085
+ return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
2086
+ }
2087
+ return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
2088
+ }
2089
+ if (model === "hex") {
2090
+ return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
2091
+ }
2092
+ return ansi_styles_default[type][model](...arguments_);
2093
+ };
2094
+ var usedModels = ["rgb", "hex", "ansi256"];
2095
+ for (const model of usedModels) {
2096
+ styles2[model] = {
2097
+ get() {
2098
+ const { level } = this;
2099
+ return function(...arguments_) {
2100
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
2101
+ return createBuilder(this, styler, this[IS_EMPTY]);
2102
+ };
2103
+ }
2104
+ };
2105
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
2106
+ styles2[bgModel] = {
2107
+ get() {
2108
+ const { level } = this;
2109
+ return function(...arguments_) {
2110
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
2111
+ return createBuilder(this, styler, this[IS_EMPTY]);
2112
+ };
2113
+ }
2114
+ };
2115
+ }
2116
+ var proto = Object.defineProperties(() => {
2117
+ }, {
2118
+ ...styles2,
2119
+ level: {
2120
+ enumerable: true,
2121
+ get() {
2122
+ return this[GENERATOR].level;
2123
+ },
2124
+ set(level) {
2125
+ this[GENERATOR].level = level;
2126
+ }
2127
+ }
2128
+ });
2129
+ var createStyler = (open, close, parent) => {
2130
+ let openAll;
2131
+ let closeAll;
2132
+ if (parent === void 0) {
2133
+ openAll = open;
2134
+ closeAll = close;
2135
+ } else {
2136
+ openAll = parent.openAll + open;
2137
+ closeAll = close + parent.closeAll;
2138
+ }
2139
+ return {
2140
+ open,
2141
+ close,
2142
+ openAll,
2143
+ closeAll,
2144
+ parent
2145
+ };
2146
+ };
2147
+ var createBuilder = (self, _styler, _isEmpty) => {
2148
+ const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
2149
+ Object.setPrototypeOf(builder, proto);
2150
+ builder[GENERATOR] = self;
2151
+ builder[STYLER] = _styler;
2152
+ builder[IS_EMPTY] = _isEmpty;
2153
+ return builder;
2154
+ };
2155
+ var applyStyle = (self, string) => {
2156
+ if (self.level <= 0 || !string) {
2157
+ return self[IS_EMPTY] ? "" : string;
2158
+ }
2159
+ let styler = self[STYLER];
2160
+ if (styler === void 0) {
2161
+ return string;
2162
+ }
2163
+ const { openAll, closeAll } = styler;
2164
+ if (string.includes("\x1B")) {
2165
+ while (styler !== void 0) {
2166
+ string = stringReplaceAll(string, styler.close, styler.open);
2167
+ styler = styler.parent;
2168
+ }
2169
+ }
2170
+ const lfIndex = string.indexOf("\n");
2171
+ if (lfIndex !== -1) {
2172
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
2173
+ }
2174
+ return openAll + string + closeAll;
2175
+ };
2176
+ Object.defineProperties(createChalk.prototype, styles2);
2177
+ var chalk = createChalk();
2178
+ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
2179
+ var source_default = chalk;
2180
+
2181
+ // node_modules/.pnpm/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
2182
+ import process5 from "process";
2183
+
2184
+ // node_modules/.pnpm/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
2185
+ import process4 from "process";
2186
+
2187
+ // node_modules/.pnpm/mimic-function@5.0.1/node_modules/mimic-function/index.js
2188
+ var copyProperty = (to, from, property, ignoreNonConfigurable) => {
2189
+ if (property === "length" || property === "prototype") {
2190
+ return;
2191
+ }
2192
+ if (property === "arguments" || property === "caller") {
2193
+ return;
2194
+ }
2195
+ const toDescriptor = Object.getOwnPropertyDescriptor(to, property);
2196
+ const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);
2197
+ if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {
2198
+ return;
2199
+ }
2200
+ Object.defineProperty(to, property, fromDescriptor);
2201
+ };
2202
+ var canCopyProperty = function(toDescriptor, fromDescriptor) {
2203
+ return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
2204
+ };
2205
+ var changePrototype = (to, from) => {
2206
+ const fromPrototype = Object.getPrototypeOf(from);
2207
+ if (fromPrototype === Object.getPrototypeOf(to)) {
2208
+ return;
2209
+ }
2210
+ Object.setPrototypeOf(to, fromPrototype);
2211
+ };
2212
+ var wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
2213
+ ${fromBody}`;
2214
+ var toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
2215
+ var toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
2216
+ var changeToString = (to, from, name) => {
2217
+ const withName = name === "" ? "" : `with ${name.trim()}() `;
2218
+ const newToString = wrappedToString.bind(null, withName, from.toString());
2219
+ Object.defineProperty(newToString, "name", toStringName);
2220
+ const { writable, enumerable, configurable } = toStringDescriptor;
2221
+ Object.defineProperty(to, "toString", { value: newToString, writable, enumerable, configurable });
2222
+ };
2223
+ function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
2224
+ const { name } = to;
2225
+ for (const property of Reflect.ownKeys(from)) {
2226
+ copyProperty(to, from, property, ignoreNonConfigurable);
2227
+ }
2228
+ changePrototype(to, from);
2229
+ changeToString(to, from, name);
2230
+ return to;
2231
+ }
2232
+
2233
+ // node_modules/.pnpm/onetime@7.0.0/node_modules/onetime/index.js
2234
+ var calledFunctions = /* @__PURE__ */ new WeakMap();
2235
+ var onetime = (function_, options = {}) => {
2236
+ if (typeof function_ !== "function") {
2237
+ throw new TypeError("Expected a function");
2238
+ }
2239
+ let returnValue;
2240
+ let callCount = 0;
2241
+ const functionName = function_.displayName || function_.name || "<anonymous>";
2242
+ const onetime2 = function(...arguments_) {
2243
+ calledFunctions.set(onetime2, ++callCount);
2244
+ if (callCount === 1) {
2245
+ returnValue = function_.apply(this, arguments_);
2246
+ function_ = void 0;
2247
+ } else if (options.throw === true) {
2248
+ throw new Error(`Function \`${functionName}\` can only be called once`);
2249
+ }
2250
+ return returnValue;
2251
+ };
2252
+ mimicFunction(onetime2, function_);
2253
+ calledFunctions.set(onetime2, callCount);
2254
+ return onetime2;
2255
+ };
2256
+ onetime.callCount = (function_) => {
2257
+ if (!calledFunctions.has(function_)) {
2258
+ throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
2259
+ }
2260
+ return calledFunctions.get(function_);
2261
+ };
2262
+ var onetime_default = onetime;
2263
+
2264
+ // node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
2265
+ var signals = [];
2266
+ signals.push("SIGHUP", "SIGINT", "SIGTERM");
2267
+ if (process.platform !== "win32") {
2268
+ signals.push(
2269
+ "SIGALRM",
2270
+ "SIGABRT",
2271
+ "SIGVTALRM",
2272
+ "SIGXCPU",
2273
+ "SIGXFSZ",
2274
+ "SIGUSR2",
2275
+ "SIGTRAP",
2276
+ "SIGSYS",
2277
+ "SIGQUIT",
2278
+ "SIGIOT"
2279
+ // should detect profiler and enable/disable accordingly.
2280
+ // see #21
2281
+ // 'SIGPROF'
2282
+ );
2283
+ }
2284
+ if (process.platform === "linux") {
2285
+ signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
2286
+ }
2287
+
2288
+ // node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
2289
+ var processOk = (process10) => !!process10 && typeof process10 === "object" && typeof process10.removeListener === "function" && typeof process10.emit === "function" && typeof process10.reallyExit === "function" && typeof process10.listeners === "function" && typeof process10.kill === "function" && typeof process10.pid === "number" && typeof process10.on === "function";
2290
+ var kExitEmitter = /* @__PURE__ */ Symbol.for("signal-exit emitter");
2291
+ var global = globalThis;
2292
+ var ObjectDefineProperty = Object.defineProperty.bind(Object);
2293
+ var Emitter = class {
2294
+ emitted = {
2295
+ afterExit: false,
2296
+ exit: false
2297
+ };
2298
+ listeners = {
2299
+ afterExit: [],
2300
+ exit: []
2301
+ };
2302
+ count = 0;
2303
+ id = Math.random();
2304
+ constructor() {
2305
+ if (global[kExitEmitter]) {
2306
+ return global[kExitEmitter];
2307
+ }
2308
+ ObjectDefineProperty(global, kExitEmitter, {
2309
+ value: this,
2310
+ writable: false,
2311
+ enumerable: false,
2312
+ configurable: false
2313
+ });
2314
+ }
2315
+ on(ev, fn) {
2316
+ this.listeners[ev].push(fn);
2317
+ }
2318
+ removeListener(ev, fn) {
2319
+ const list = this.listeners[ev];
2320
+ const i = list.indexOf(fn);
2321
+ if (i === -1) {
2322
+ return;
2323
+ }
2324
+ if (i === 0 && list.length === 1) {
2325
+ list.length = 0;
2326
+ } else {
2327
+ list.splice(i, 1);
2328
+ }
2329
+ }
2330
+ emit(ev, code, signal) {
2331
+ if (this.emitted[ev]) {
2332
+ return false;
2333
+ }
2334
+ this.emitted[ev] = true;
2335
+ let ret = false;
2336
+ for (const fn of this.listeners[ev]) {
2337
+ ret = fn(code, signal) === true || ret;
2338
+ }
2339
+ if (ev === "exit") {
2340
+ ret = this.emit("afterExit", code, signal) || ret;
2341
+ }
2342
+ return ret;
2343
+ }
2344
+ };
2345
+ var SignalExitBase = class {
2346
+ };
2347
+ var signalExitWrap = (handler) => {
2348
+ return {
2349
+ onExit(cb, opts) {
2350
+ return handler.onExit(cb, opts);
2351
+ },
2352
+ load() {
2353
+ return handler.load();
2354
+ },
2355
+ unload() {
2356
+ return handler.unload();
2357
+ }
2358
+ };
2359
+ };
2360
+ var SignalExitFallback = class extends SignalExitBase {
2361
+ onExit() {
2362
+ return () => {
2363
+ };
2364
+ }
2365
+ load() {
2366
+ }
2367
+ unload() {
2368
+ }
2369
+ };
2370
+ var SignalExit = class extends SignalExitBase {
2371
+ // "SIGHUP" throws an `ENOSYS` error on Windows,
2372
+ // so use a supported signal instead
2373
+ /* c8 ignore start */
2374
+ #hupSig = process3.platform === "win32" ? "SIGINT" : "SIGHUP";
2375
+ /* c8 ignore stop */
2376
+ #emitter = new Emitter();
2377
+ #process;
2378
+ #originalProcessEmit;
2379
+ #originalProcessReallyExit;
2380
+ #sigListeners = {};
2381
+ #loaded = false;
2382
+ constructor(process10) {
2383
+ super();
2384
+ this.#process = process10;
2385
+ this.#sigListeners = {};
2386
+ for (const sig of signals) {
2387
+ this.#sigListeners[sig] = () => {
2388
+ const listeners = this.#process.listeners(sig);
2389
+ let { count } = this.#emitter;
2390
+ const p = process10;
2391
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
2392
+ count += p.__signal_exit_emitter__.count;
2393
+ }
2394
+ if (listeners.length === count) {
2395
+ this.unload();
2396
+ const ret = this.#emitter.emit("exit", null, sig);
2397
+ const s = sig === "SIGHUP" ? this.#hupSig : sig;
2398
+ if (!ret)
2399
+ process10.kill(process10.pid, s);
2400
+ }
2401
+ };
2402
+ }
2403
+ this.#originalProcessReallyExit = process10.reallyExit;
2404
+ this.#originalProcessEmit = process10.emit;
2405
+ }
2406
+ onExit(cb, opts) {
2407
+ if (!processOk(this.#process)) {
2408
+ return () => {
2409
+ };
2410
+ }
2411
+ if (this.#loaded === false) {
2412
+ this.load();
2413
+ }
2414
+ const ev = opts?.alwaysLast ? "afterExit" : "exit";
2415
+ this.#emitter.on(ev, cb);
2416
+ return () => {
2417
+ this.#emitter.removeListener(ev, cb);
2418
+ if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
2419
+ this.unload();
2420
+ }
2421
+ };
2422
+ }
2423
+ load() {
2424
+ if (this.#loaded) {
2425
+ return;
2426
+ }
2427
+ this.#loaded = true;
2428
+ this.#emitter.count += 1;
2429
+ for (const sig of signals) {
2430
+ try {
2431
+ const fn = this.#sigListeners[sig];
2432
+ if (fn)
2433
+ this.#process.on(sig, fn);
2434
+ } catch (_) {
2435
+ }
2436
+ }
2437
+ this.#process.emit = (ev, ...a) => {
2438
+ return this.#processEmit(ev, ...a);
2439
+ };
2440
+ this.#process.reallyExit = (code) => {
2441
+ return this.#processReallyExit(code);
2442
+ };
2443
+ }
2444
+ unload() {
2445
+ if (!this.#loaded) {
2446
+ return;
2447
+ }
2448
+ this.#loaded = false;
2449
+ signals.forEach((sig) => {
2450
+ const listener = this.#sigListeners[sig];
2451
+ if (!listener) {
2452
+ throw new Error("Listener not defined for signal: " + sig);
2453
+ }
2454
+ try {
2455
+ this.#process.removeListener(sig, listener);
2456
+ } catch (_) {
2457
+ }
2458
+ });
2459
+ this.#process.emit = this.#originalProcessEmit;
2460
+ this.#process.reallyExit = this.#originalProcessReallyExit;
2461
+ this.#emitter.count -= 1;
2462
+ }
2463
+ #processReallyExit(code) {
2464
+ if (!processOk(this.#process)) {
2465
+ return 0;
2466
+ }
2467
+ this.#process.exitCode = code || 0;
2468
+ this.#emitter.emit("exit", this.#process.exitCode, null);
2469
+ return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
2470
+ }
2471
+ #processEmit(ev, ...args) {
2472
+ const og = this.#originalProcessEmit;
2473
+ if (ev === "exit" && processOk(this.#process)) {
2474
+ if (typeof args[0] === "number") {
2475
+ this.#process.exitCode = args[0];
2476
+ }
2477
+ const ret = og.call(this.#process, ev, ...args);
2478
+ this.#emitter.emit("exit", this.#process.exitCode, null);
2479
+ return ret;
2480
+ } else {
2481
+ return og.call(this.#process, ev, ...args);
2482
+ }
2483
+ }
2484
+ };
2485
+ var process3 = globalThis.process;
2486
+ var {
2487
+ /**
2488
+ * Called when the process is exiting, whether via signal, explicit
2489
+ * exit, or running out of stuff to do.
2490
+ *
2491
+ * If the global process object is not suitable for instrumentation,
2492
+ * then this will be a no-op.
2493
+ *
2494
+ * Returns a function that may be used to unload signal-exit.
2495
+ */
2496
+ onExit,
2497
+ /**
2498
+ * Load the listeners. Likely you never need to call this, unless
2499
+ * doing a rather deep integration with signal-exit functionality.
2500
+ * Mostly exposed for the benefit of testing.
2501
+ *
2502
+ * @internal
2503
+ */
2504
+ load,
2505
+ /**
2506
+ * Unload the listeners. Likely you never need to call this, unless
2507
+ * doing a rather deep integration with signal-exit functionality.
2508
+ * Mostly exposed for the benefit of testing.
2509
+ *
2510
+ * @internal
2511
+ */
2512
+ unload
2513
+ } = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
2514
+
2515
+ // node_modules/.pnpm/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
2516
+ var terminal = process4.stderr.isTTY ? process4.stderr : process4.stdout.isTTY ? process4.stdout : void 0;
2517
+ var restoreCursor = terminal ? onetime_default(() => {
2518
+ onExit(() => {
2519
+ terminal.write("\x1B[?25h");
2520
+ }, { alwaysLast: true });
2521
+ }) : () => {
2522
+ };
2523
+ var restore_cursor_default = restoreCursor;
2524
+
2525
+ // node_modules/.pnpm/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
2526
+ var isHidden = false;
2527
+ var cliCursor = {};
2528
+ cliCursor.show = (writableStream = process5.stderr) => {
2529
+ if (!writableStream.isTTY) {
2530
+ return;
2531
+ }
2532
+ isHidden = false;
2533
+ writableStream.write("\x1B[?25h");
2534
+ };
2535
+ cliCursor.hide = (writableStream = process5.stderr) => {
2536
+ if (!writableStream.isTTY) {
2537
+ return;
2538
+ }
2539
+ restore_cursor_default();
2540
+ isHidden = true;
2541
+ writableStream.write("\x1B[?25l");
2542
+ };
2543
+ cliCursor.toggle = (force, writableStream) => {
2544
+ if (force !== void 0) {
2545
+ isHidden = force;
2546
+ }
2547
+ if (isHidden) {
2548
+ cliCursor.show(writableStream);
2549
+ } else {
2550
+ cliCursor.hide(writableStream);
2551
+ }
2552
+ };
2553
+ var cli_cursor_default = cliCursor;
2554
+
2555
+ // node_modules/.pnpm/ora@8.2.0/node_modules/ora/index.js
2556
+ var import_cli_spinners = __toESM(require_cli_spinners(), 1);
2557
+
2558
+ // node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
2559
+ import process6 from "process";
2560
+ function isUnicodeSupported() {
2561
+ if (process6.platform !== "win32") {
2562
+ return process6.env.TERM !== "linux";
2563
+ }
2564
+ return Boolean(process6.env.CI) || Boolean(process6.env.WT_SESSION) || Boolean(process6.env.TERMINUS_SUBLIME) || process6.env.ConEmuTask === "{cmd::Cmder}" || process6.env.TERM_PROGRAM === "Terminus-Sublime" || process6.env.TERM_PROGRAM === "vscode" || process6.env.TERM === "xterm-256color" || process6.env.TERM === "alacritty" || process6.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2565
+ }
2566
+
2567
+ // node_modules/.pnpm/log-symbols@6.0.0/node_modules/log-symbols/index.js
2568
+ var main = {
2569
+ info: source_default.blue("\u2139"),
2570
+ success: source_default.green("\u2714"),
2571
+ warning: source_default.yellow("\u26A0"),
2572
+ error: source_default.red("\u2716")
2573
+ };
2574
+ var fallback = {
2575
+ info: source_default.blue("i"),
2576
+ success: source_default.green("\u221A"),
2577
+ warning: source_default.yellow("\u203C"),
2578
+ error: source_default.red("\xD7")
2579
+ };
2580
+ var logSymbols = isUnicodeSupported() ? main : fallback;
2581
+ var log_symbols_default = logSymbols;
2582
+
2583
+ // node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
2584
+ function ansiRegex({ onlyFirst = false } = {}) {
2585
+ const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
2586
+ const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
2587
+ const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
2588
+ const pattern = `${osc}|${csi}`;
2589
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
2590
+ }
2591
+
2592
+ // node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
2593
+ var regex = ansiRegex();
2594
+ function stripAnsi(string) {
2595
+ if (typeof string !== "string") {
2596
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
2597
+ }
2598
+ return string.replace(regex, "");
2599
+ }
2600
+
2601
+ // node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/lookup.js
2602
+ function isAmbiguous(x) {
2603
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
2604
+ }
2605
+ function isFullWidth(x) {
2606
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
2607
+ }
2608
+ function isWide(x) {
2609
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
2610
+ }
2611
+
2612
+ // node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/index.js
2613
+ function validate(codePoint) {
2614
+ if (!Number.isSafeInteger(codePoint)) {
2615
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
2616
+ }
2617
+ }
2618
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
2619
+ validate(codePoint);
2620
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
2621
+ return 2;
2622
+ }
2623
+ return 1;
2624
+ }
2625
+
2626
+ // node_modules/.pnpm/emoji-regex@10.6.0/node_modules/emoji-regex/index.mjs
2627
+ var emoji_regex_default = () => {
2628
+ return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
2629
+ };
2630
+
2631
+ // node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
2632
+ var segmenter = new Intl.Segmenter();
2633
+ var defaultIgnorableCodePointRegex = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
2634
+ function stringWidth(string, options = {}) {
2635
+ if (typeof string !== "string" || string.length === 0) {
2636
+ return 0;
2637
+ }
2638
+ const {
2639
+ ambiguousIsNarrow = true,
2640
+ countAnsiEscapeCodes = false
2641
+ } = options;
2642
+ if (!countAnsiEscapeCodes) {
2643
+ string = stripAnsi(string);
2644
+ }
2645
+ if (string.length === 0) {
2646
+ return 0;
2647
+ }
2648
+ let width = 0;
2649
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
2650
+ for (const { segment: character } of segmenter.segment(string)) {
2651
+ const codePoint = character.codePointAt(0);
2652
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
2653
+ continue;
2654
+ }
2655
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
2656
+ continue;
2657
+ }
2658
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
2659
+ continue;
2660
+ }
2661
+ if (codePoint >= 55296 && codePoint <= 57343) {
2662
+ continue;
2663
+ }
2664
+ if (codePoint >= 65024 && codePoint <= 65039) {
2665
+ continue;
2666
+ }
2667
+ if (defaultIgnorableCodePointRegex.test(character)) {
2668
+ continue;
2669
+ }
2670
+ if (emoji_regex_default().test(character)) {
2671
+ width += 2;
2672
+ continue;
2673
+ }
2674
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
2675
+ }
2676
+ return width;
2677
+ }
2678
+
2679
+ // node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
2680
+ function isInteractive({ stream = process.stdout } = {}) {
2681
+ return Boolean(
2682
+ stream && stream.isTTY && process.env.TERM !== "dumb" && !("CI" in process.env)
2683
+ );
2684
+ }
2685
+
2686
+ // node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
2687
+ import process7 from "process";
2688
+ function isUnicodeSupported2() {
2689
+ const { env: env2 } = process7;
2690
+ const { TERM, TERM_PROGRAM } = env2;
2691
+ if (process7.platform !== "win32") {
2692
+ return TERM !== "linux";
2693
+ }
2694
+ return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2695
+ }
2696
+
2697
+ // node_modules/.pnpm/stdin-discarder@0.2.2/node_modules/stdin-discarder/index.js
2698
+ import process8 from "process";
2699
+ var ASCII_ETX_CODE = 3;
2700
+ var StdinDiscarder = class {
2701
+ #activeCount = 0;
2702
+ start() {
2703
+ this.#activeCount++;
2704
+ if (this.#activeCount === 1) {
2705
+ this.#realStart();
2706
+ }
2707
+ }
2708
+ stop() {
2709
+ if (this.#activeCount <= 0) {
2710
+ throw new Error("`stop` called more times than `start`");
2711
+ }
2712
+ this.#activeCount--;
2713
+ if (this.#activeCount === 0) {
2714
+ this.#realStop();
2715
+ }
2716
+ }
2717
+ #realStart() {
2718
+ if (process8.platform === "win32" || !process8.stdin.isTTY) {
2719
+ return;
2720
+ }
2721
+ process8.stdin.setRawMode(true);
2722
+ process8.stdin.on("data", this.#handleInput);
2723
+ process8.stdin.resume();
2724
+ }
2725
+ #realStop() {
2726
+ if (!process8.stdin.isTTY) {
2727
+ return;
2728
+ }
2729
+ process8.stdin.off("data", this.#handleInput);
2730
+ process8.stdin.pause();
2731
+ process8.stdin.setRawMode(false);
2732
+ }
2733
+ #handleInput(chunk) {
2734
+ if (chunk[0] === ASCII_ETX_CODE) {
2735
+ process8.emit("SIGINT");
2736
+ }
2737
+ }
2738
+ };
2739
+ var stdinDiscarder = new StdinDiscarder();
2740
+ var stdin_discarder_default = stdinDiscarder;
2741
+
2742
+ // node_modules/.pnpm/ora@8.2.0/node_modules/ora/index.js
2743
+ var import_cli_spinners2 = __toESM(require_cli_spinners(), 1);
2744
+ var Ora = class {
2745
+ #linesToClear = 0;
2746
+ #isDiscardingStdin = false;
2747
+ #lineCount = 0;
2748
+ #frameIndex = -1;
2749
+ #lastSpinnerFrameTime = 0;
2750
+ #options;
2751
+ #spinner;
2752
+ #stream;
2753
+ #id;
2754
+ #initialInterval;
2755
+ #isEnabled;
2756
+ #isSilent;
2757
+ #indent;
2758
+ #text;
2759
+ #prefixText;
2760
+ #suffixText;
2761
+ color;
2762
+ constructor(options) {
2763
+ if (typeof options === "string") {
2764
+ options = {
2765
+ text: options
2766
+ };
2767
+ }
2768
+ this.#options = {
2769
+ color: "cyan",
2770
+ stream: process9.stderr,
2771
+ discardStdin: true,
2772
+ hideCursor: true,
2773
+ ...options
2774
+ };
2775
+ this.color = this.#options.color;
2776
+ this.spinner = this.#options.spinner;
2777
+ this.#initialInterval = this.#options.interval;
2778
+ this.#stream = this.#options.stream;
2779
+ this.#isEnabled = typeof this.#options.isEnabled === "boolean" ? this.#options.isEnabled : isInteractive({ stream: this.#stream });
2780
+ this.#isSilent = typeof this.#options.isSilent === "boolean" ? this.#options.isSilent : false;
2781
+ this.text = this.#options.text;
2782
+ this.prefixText = this.#options.prefixText;
2783
+ this.suffixText = this.#options.suffixText;
2784
+ this.indent = this.#options.indent;
2785
+ if (process9.env.NODE_ENV === "test") {
2786
+ this._stream = this.#stream;
2787
+ this._isEnabled = this.#isEnabled;
2788
+ Object.defineProperty(this, "_linesToClear", {
2789
+ get() {
2790
+ return this.#linesToClear;
2791
+ },
2792
+ set(newValue) {
2793
+ this.#linesToClear = newValue;
2794
+ }
2795
+ });
2796
+ Object.defineProperty(this, "_frameIndex", {
2797
+ get() {
2798
+ return this.#frameIndex;
2799
+ }
2800
+ });
2801
+ Object.defineProperty(this, "_lineCount", {
2802
+ get() {
2803
+ return this.#lineCount;
2804
+ }
2805
+ });
2806
+ }
2807
+ }
2808
+ get indent() {
2809
+ return this.#indent;
2810
+ }
2811
+ set indent(indent = 0) {
2812
+ if (!(indent >= 0 && Number.isInteger(indent))) {
2813
+ throw new Error("The `indent` option must be an integer from 0 and up");
2814
+ }
2815
+ this.#indent = indent;
2816
+ this.#updateLineCount();
2817
+ }
2818
+ get interval() {
2819
+ return this.#initialInterval ?? this.#spinner.interval ?? 100;
2820
+ }
2821
+ get spinner() {
2822
+ return this.#spinner;
2823
+ }
2824
+ set spinner(spinner) {
2825
+ this.#frameIndex = -1;
2826
+ this.#initialInterval = void 0;
2827
+ if (typeof spinner === "object") {
2828
+ if (spinner.frames === void 0) {
2829
+ throw new Error("The given spinner must have a `frames` property");
2830
+ }
2831
+ this.#spinner = spinner;
2832
+ } else if (!isUnicodeSupported2()) {
2833
+ this.#spinner = import_cli_spinners.default.line;
2834
+ } else if (spinner === void 0) {
2835
+ this.#spinner = import_cli_spinners.default.dots;
2836
+ } else if (spinner !== "default" && import_cli_spinners.default[spinner]) {
2837
+ this.#spinner = import_cli_spinners.default[spinner];
2838
+ } else {
2839
+ throw new Error(`There is no built-in spinner named '${spinner}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);
2840
+ }
2841
+ }
2842
+ get text() {
2843
+ return this.#text;
2844
+ }
2845
+ set text(value = "") {
2846
+ this.#text = value;
2847
+ this.#updateLineCount();
2848
+ }
2849
+ get prefixText() {
2850
+ return this.#prefixText;
2851
+ }
2852
+ set prefixText(value = "") {
2853
+ this.#prefixText = value;
2854
+ this.#updateLineCount();
2855
+ }
2856
+ get suffixText() {
2857
+ return this.#suffixText;
2858
+ }
2859
+ set suffixText(value = "") {
2860
+ this.#suffixText = value;
2861
+ this.#updateLineCount();
2862
+ }
2863
+ get isSpinning() {
2864
+ return this.#id !== void 0;
2865
+ }
2866
+ #getFullPrefixText(prefixText = this.#prefixText, postfix = " ") {
2867
+ if (typeof prefixText === "string" && prefixText !== "") {
2868
+ return prefixText + postfix;
2869
+ }
2870
+ if (typeof prefixText === "function") {
2871
+ return prefixText() + postfix;
2872
+ }
2873
+ return "";
2874
+ }
2875
+ #getFullSuffixText(suffixText = this.#suffixText, prefix = " ") {
2876
+ if (typeof suffixText === "string" && suffixText !== "") {
2877
+ return prefix + suffixText;
2878
+ }
2879
+ if (typeof suffixText === "function") {
2880
+ return prefix + suffixText();
2881
+ }
2882
+ return "";
2883
+ }
2884
+ #updateLineCount() {
2885
+ const columns = this.#stream.columns ?? 80;
2886
+ const fullPrefixText = this.#getFullPrefixText(this.#prefixText, "-");
2887
+ const fullSuffixText = this.#getFullSuffixText(this.#suffixText, "-");
2888
+ const fullText = " ".repeat(this.#indent) + fullPrefixText + "--" + this.#text + "--" + fullSuffixText;
2889
+ this.#lineCount = 0;
2890
+ for (const line of stripAnsi(fullText).split("\n")) {
2891
+ this.#lineCount += Math.max(1, Math.ceil(stringWidth(line, { countAnsiEscapeCodes: true }) / columns));
2892
+ }
2893
+ }
2894
+ get isEnabled() {
2895
+ return this.#isEnabled && !this.#isSilent;
2896
+ }
2897
+ set isEnabled(value) {
2898
+ if (typeof value !== "boolean") {
2899
+ throw new TypeError("The `isEnabled` option must be a boolean");
2900
+ }
2901
+ this.#isEnabled = value;
2902
+ }
2903
+ get isSilent() {
2904
+ return this.#isSilent;
2905
+ }
2906
+ set isSilent(value) {
2907
+ if (typeof value !== "boolean") {
2908
+ throw new TypeError("The `isSilent` option must be a boolean");
2909
+ }
2910
+ this.#isSilent = value;
2911
+ }
2912
+ frame() {
2913
+ const now = Date.now();
2914
+ if (this.#frameIndex === -1 || now - this.#lastSpinnerFrameTime >= this.interval) {
2915
+ this.#frameIndex = ++this.#frameIndex % this.#spinner.frames.length;
2916
+ this.#lastSpinnerFrameTime = now;
2917
+ }
2918
+ const { frames } = this.#spinner;
2919
+ let frame = frames[this.#frameIndex];
2920
+ if (this.color) {
2921
+ frame = source_default[this.color](frame);
2922
+ }
2923
+ const fullPrefixText = typeof this.#prefixText === "string" && this.#prefixText !== "" ? this.#prefixText + " " : "";
2924
+ const fullText = typeof this.text === "string" ? " " + this.text : "";
2925
+ const fullSuffixText = typeof this.#suffixText === "string" && this.#suffixText !== "" ? " " + this.#suffixText : "";
2926
+ return fullPrefixText + frame + fullText + fullSuffixText;
2927
+ }
2928
+ clear() {
2929
+ if (!this.#isEnabled || !this.#stream.isTTY) {
2930
+ return this;
2931
+ }
2932
+ this.#stream.cursorTo(0);
2933
+ for (let index = 0; index < this.#linesToClear; index++) {
2934
+ if (index > 0) {
2935
+ this.#stream.moveCursor(0, -1);
2936
+ }
2937
+ this.#stream.clearLine(1);
2938
+ }
2939
+ if (this.#indent || this.lastIndent !== this.#indent) {
2940
+ this.#stream.cursorTo(this.#indent);
2941
+ }
2942
+ this.lastIndent = this.#indent;
2943
+ this.#linesToClear = 0;
2944
+ return this;
2945
+ }
2946
+ render() {
2947
+ if (this.#isSilent) {
2948
+ return this;
2949
+ }
2950
+ this.clear();
2951
+ this.#stream.write(this.frame());
2952
+ this.#linesToClear = this.#lineCount;
2953
+ return this;
2954
+ }
2955
+ start(text) {
2956
+ if (text) {
2957
+ this.text = text;
2958
+ }
2959
+ if (this.#isSilent) {
2960
+ return this;
2961
+ }
2962
+ if (!this.#isEnabled) {
2963
+ if (this.text) {
2964
+ this.#stream.write(`- ${this.text}
2965
+ `);
2966
+ }
2967
+ return this;
2968
+ }
2969
+ if (this.isSpinning) {
2970
+ return this;
2971
+ }
2972
+ if (this.#options.hideCursor) {
2973
+ cli_cursor_default.hide(this.#stream);
2974
+ }
2975
+ if (this.#options.discardStdin && process9.stdin.isTTY) {
2976
+ this.#isDiscardingStdin = true;
2977
+ stdin_discarder_default.start();
2978
+ }
2979
+ this.render();
2980
+ this.#id = setInterval(this.render.bind(this), this.interval);
2981
+ return this;
2982
+ }
2983
+ stop() {
2984
+ if (!this.#isEnabled) {
2985
+ return this;
2986
+ }
2987
+ clearInterval(this.#id);
2988
+ this.#id = void 0;
2989
+ this.#frameIndex = 0;
2990
+ this.clear();
2991
+ if (this.#options.hideCursor) {
2992
+ cli_cursor_default.show(this.#stream);
2993
+ }
2994
+ if (this.#options.discardStdin && process9.stdin.isTTY && this.#isDiscardingStdin) {
2995
+ stdin_discarder_default.stop();
2996
+ this.#isDiscardingStdin = false;
2997
+ }
2998
+ return this;
2999
+ }
3000
+ succeed(text) {
3001
+ return this.stopAndPersist({ symbol: log_symbols_default.success, text });
3002
+ }
3003
+ fail(text) {
3004
+ return this.stopAndPersist({ symbol: log_symbols_default.error, text });
3005
+ }
3006
+ warn(text) {
3007
+ return this.stopAndPersist({ symbol: log_symbols_default.warning, text });
3008
+ }
3009
+ info(text) {
3010
+ return this.stopAndPersist({ symbol: log_symbols_default.info, text });
3011
+ }
3012
+ stopAndPersist(options = {}) {
3013
+ if (this.#isSilent) {
3014
+ return this;
3015
+ }
3016
+ const prefixText = options.prefixText ?? this.#prefixText;
3017
+ const fullPrefixText = this.#getFullPrefixText(prefixText, " ");
3018
+ const symbolText = options.symbol ?? " ";
3019
+ const text = options.text ?? this.text;
3020
+ const separatorText = symbolText ? " " : "";
3021
+ const fullText = typeof text === "string" ? separatorText + text : "";
3022
+ const suffixText = options.suffixText ?? this.#suffixText;
3023
+ const fullSuffixText = this.#getFullSuffixText(suffixText, " ");
3024
+ const textToWrite = fullPrefixText + symbolText + fullText + fullSuffixText + "\n";
3025
+ this.stop();
3026
+ this.#stream.write(textToWrite);
3027
+ return this;
3028
+ }
3029
+ };
3030
+ function ora(options) {
3031
+ return new Ora(options);
3032
+ }
11
3033
 
12
3034
  // src/lib/database.ts
13
3035
  import pg from "pg";
@@ -276,7 +3298,6 @@ export default {
276
3298
 
277
3299
  // src/utils/check-migra.ts
278
3300
  import { execSync } from "child_process";
279
- import chalk from "chalk";
280
3301
  function checkMigra() {
281
3302
  try {
282
3303
  execSync("migra --help", { stdio: "ignore" });
@@ -287,10 +3308,10 @@ function checkMigra() {
287
3308
  }
288
3309
  function ensureMigraOrExit() {
289
3310
  if (!checkMigra()) {
290
- console.error(chalk.red("\nError: 'migra' is not installed or not found in PATH."));
291
- console.error(chalk.yellow("\nPlease install it using pip:"));
292
- console.error(chalk.cyan(" pip install migra"));
293
- console.error(chalk.dim("\nDocumentation: https://github.com/djrobstep/migra\n"));
3311
+ console.error(source_default.red("\nError: 'migra' is not installed or not found in PATH."));
3312
+ console.error(source_default.yellow("\nPlease install it using pip:"));
3313
+ console.error(source_default.cyan(" pip install migra"));
3314
+ console.error(source_default.dim("\nDocumentation: https://github.com/djrobstep/migra\n"));
294
3315
  process.exit(1);
295
3316
  }
296
3317
  }
@@ -335,7 +3356,7 @@ async function gen(options = {}) {
335
3356
  spinner.succeed("Loaded schema into temp database");
336
3357
  if (options.verbose) {
337
3358
  const tables = await tempDb.listTables();
338
- console.log(chalk2.dim(`
3359
+ console.log(source_default.dim(`
339
3360
  Tables in temp database: ${tables.join(", ")}`));
340
3361
  }
341
3362
  spinner.start("Generating migration diff...");
@@ -372,10 +3393,10 @@ ${commentSql}`;
372
3393
  const finalSql = migrationSql || "-- No changes detected";
373
3394
  if (options.output) {
374
3395
  writeFileSync(options.output, finalSql, "utf-8");
375
- console.log(chalk2.green(`
3396
+ console.log(source_default.green(`
376
3397
  Migration SQL written to: ${options.output}`));
377
3398
  } else {
378
- console.log(chalk2.cyan("\n=== Migration SQL ===\n"));
3399
+ console.log(source_default.cyan("\n=== Migration SQL ===\n"));
379
3400
  console.log(finalSql);
380
3401
  }
381
3402
  return finalSql;
@@ -428,8 +3449,6 @@ async function getCommentChanges(currentDb, targetDb) {
428
3449
 
429
3450
  // src/commands/migrate.ts
430
3451
  import { mkdirSync, existsSync as existsSync2 } from "fs";
431
- import chalk3 from "chalk";
432
- import ora2 from "ora";
433
3452
 
434
3453
  // src/lib/migrations.ts
435
3454
  import { readdirSync, statSync, readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "fs";
@@ -697,28 +3716,28 @@ async function migrate(options = {}) {
697
3716
  const databaseUrl = getDatabaseUrl(config);
698
3717
  const db = new Database(databaseUrl);
699
3718
  const runner = new MigrationRunner(db, config.migrations);
700
- console.log(chalk3.bold("\nInteractive Database Migration\n"));
3719
+ console.log(source_default.bold("\nInteractive Database Migration\n"));
701
3720
  console.log("This will:");
702
3721
  console.log(" 1. Generate migration diff from DBML");
703
3722
  console.log(" 2. Create a new migration file");
704
3723
  console.log(" 3. Optionally apply the migration\n");
705
3724
  try {
706
- console.log(chalk3.cyan("Step 1: Generating migration diff...\n"));
3725
+ console.log(source_default.cyan("Step 1: Generating migration diff...\n"));
707
3726
  const migrationSql = await gen({ verbose: false });
708
3727
  const noChanges = !migrationSql || migrationSql === "-- No changes detected";
709
3728
  if (noChanges) {
710
- console.log(chalk3.yellow("\nNo schema changes detected.\n"));
3729
+ console.log(source_default.yellow("\nNo schema changes detected.\n"));
711
3730
  if (!options.yes) {
712
3731
  const proceed = await confirm(
713
3732
  "Do you still want to create an empty migration?"
714
3733
  );
715
3734
  if (!proceed) {
716
- console.log(chalk3.red("\nMigration cancelled."));
3735
+ console.log(source_default.red("\nMigration cancelled."));
717
3736
  return;
718
3737
  }
719
3738
  }
720
3739
  }
721
- console.log(chalk3.cyan("\n--- Step 2: Create Migration File ---\n"));
3740
+ console.log(source_default.cyan("\n--- Step 2: Create Migration File ---\n"));
722
3741
  let migrationName = options.name;
723
3742
  if (!migrationName) {
724
3743
  migrationName = await question(
@@ -726,36 +3745,36 @@ async function migrate(options = {}) {
726
3745
  );
727
3746
  }
728
3747
  if (!migrationName || migrationName.trim() === "") {
729
- console.log(chalk3.red("\nMigration name cannot be empty. Exiting..."));
3748
+ console.log(source_default.red("\nMigration name cannot be empty. Exiting..."));
730
3749
  return;
731
3750
  }
732
3751
  const sanitizedName = migrationName.trim().replace(/\s+/g, "_");
733
- console.log(chalk3.green(`
3752
+ console.log(source_default.green(`
734
3753
  Using migration name: ${sanitizedName}`));
735
3754
  if (!options.yes) {
736
3755
  const proceed = await confirm("\nCreate this migration?");
737
3756
  if (!proceed) {
738
- console.log(chalk3.red("\nMigration cancelled."));
3757
+ console.log(source_default.red("\nMigration cancelled."));
739
3758
  return;
740
3759
  }
741
3760
  }
742
3761
  if (!existsSync2(config.migrations)) {
743
3762
  mkdirSync(config.migrations, { recursive: true });
744
3763
  }
745
- const spinner = ora2("Creating migration file...").start();
3764
+ const spinner = ora("Creating migration file...").start();
746
3765
  const filepath = createMigrationFile(
747
3766
  config.migrations,
748
3767
  sanitizedName,
749
3768
  noChanges ? "" : migrationSql
750
3769
  );
751
3770
  spinner.succeed(`Created migration file: ${filepath}`);
752
- console.log(chalk3.cyan("\n--- Step 3: Apply Migration ---\n"));
3771
+ console.log(source_default.cyan("\n--- Step 3: Apply Migration ---\n"));
753
3772
  let shouldApply = options.apply;
754
3773
  if (shouldApply === void 0 && !options.yes) {
755
3774
  shouldApply = await confirm("Apply this migration now?");
756
3775
  }
757
3776
  if (shouldApply) {
758
- const applySpinner = ora2("Applying migration...").start();
3777
+ const applySpinner = ora("Applying migration...").start();
759
3778
  try {
760
3779
  const applied = await runner.migrateUp();
761
3780
  if (applied.length > 0) {
@@ -770,10 +3789,10 @@ Using migration name: ${sanitizedName}`));
770
3789
  throw error;
771
3790
  }
772
3791
  } else {
773
- console.log(chalk3.dim("\nMigration created but not applied."));
774
- console.log(chalk3.dim(`Run "nexusql up" to apply pending migrations.`));
3792
+ console.log(source_default.dim("\nMigration created but not applied."));
3793
+ console.log(source_default.dim(`Run "nexusql up" to apply pending migrations.`));
775
3794
  }
776
- console.log(chalk3.green(`
3795
+ console.log(source_default.green(`
777
3796
  Migration file: ${filepath}
778
3797
  `));
779
3798
  } finally {
@@ -785,7 +3804,7 @@ async function up(options = {}) {
785
3804
  const databaseUrl = getDatabaseUrl(config);
786
3805
  const db = new Database(databaseUrl);
787
3806
  const runner = new MigrationRunner(db, config.migrations);
788
- const spinner = ora2("Checking migrations...").start();
3807
+ const spinner = ora("Checking migrations...").start();
789
3808
  try {
790
3809
  const pending = await runner.getPendingMigrations();
791
3810
  if (pending.length === 0) {
@@ -795,14 +3814,14 @@ async function up(options = {}) {
795
3814
  if (options.dryRun) {
796
3815
  spinner.info(`found ${pending.length} pending migration(s):`);
797
3816
  for (const m of pending) {
798
- console.log(chalk3.cyan(` \u25CB ${m.name}`));
3817
+ console.log(source_default.cyan(` \u25CB ${m.name}`));
799
3818
  }
800
3819
  return;
801
3820
  }
802
3821
  spinner.text = "Applying migrations...";
803
3822
  for (const migration of pending) {
804
3823
  await runner.applyMigration(migration);
805
- console.log(chalk3.green(` \u2713 ${migration.name}`));
3824
+ console.log(source_default.green(` \u2713 ${migration.name}`));
806
3825
  }
807
3826
  spinner.succeed(`Applied ${pending.length} migration(s)`);
808
3827
  } catch (error) {
@@ -815,7 +3834,7 @@ async function down(options = {}) {
815
3834
  const databaseUrl = getDatabaseUrl(config);
816
3835
  const db = new Database(databaseUrl);
817
3836
  const runner = new MigrationRunner(db, config.migrations);
818
- const spinner = ora2("Checking migrations...").start();
3837
+ const spinner = ora("Checking migrations...").start();
819
3838
  try {
820
3839
  const { applied } = await runner.status();
821
3840
  const sortedApplied = applied.sort(
@@ -852,14 +3871,14 @@ async function down(options = {}) {
852
3871
  if (options.dryRun) {
853
3872
  spinner.info(`Would rollback ${toRollback.length} migration(s):`);
854
3873
  for (const m of toRollback) {
855
- console.log(chalk3.yellow(` \u25CB ${m.name}`));
3874
+ console.log(source_default.yellow(` \u25CB ${m.name}`));
856
3875
  }
857
3876
  return;
858
3877
  }
859
3878
  spinner.text = "Rolling back migrations...";
860
3879
  for (const migration of toRollback) {
861
3880
  await runner.rollbackMigration(migration);
862
- console.log(chalk3.yellow(` reverted ${migration.name}`));
3881
+ console.log(source_default.yellow(` reverted ${migration.name}`));
863
3882
  }
864
3883
  spinner.succeed(`Rolled back ${toRollback.length} migration(s)`);
865
3884
  } catch (error) {
@@ -872,43 +3891,41 @@ async function status() {
872
3891
  const databaseUrl = getDatabaseUrl(config);
873
3892
  const db = new Database(databaseUrl);
874
3893
  const runner = new MigrationRunner(db, config.migrations);
875
- const spinner = ora2("Checking migration status...").start();
3894
+ const spinner = ora("Checking migration status...").start();
876
3895
  const { applied, pending } = await runner.status();
877
3896
  spinner.stop();
878
- console.log(chalk3.bold("\nMigration Status\n"));
3897
+ console.log(source_default.bold("\nMigration Status\n"));
879
3898
  if (applied.length > 0) {
880
- console.log(chalk3.green("Applied:"));
3899
+ console.log(source_default.green("Applied:"));
881
3900
  for (const m of applied) {
882
- console.log(chalk3.green(` \u2713 ${m.name}`));
3901
+ console.log(source_default.green(` \u2713 ${m.name}`));
883
3902
  }
884
3903
  }
885
3904
  if (pending.length > 0) {
886
- console.log(chalk3.yellow("\nPending:"));
3905
+ console.log(source_default.yellow("\nPending:"));
887
3906
  for (const m of pending) {
888
- console.log(chalk3.yellow(` \u25CB ${m.name}`));
3907
+ console.log(source_default.yellow(` \u25CB ${m.name}`));
889
3908
  }
890
3909
  }
891
3910
  if (applied.length === 0 && pending.length === 0) {
892
- console.log(chalk3.dim("No migrations found."));
3911
+ console.log(source_default.dim("No migrations found."));
893
3912
  }
894
3913
  console.log();
895
3914
  }
896
3915
 
897
3916
  // src/commands/mark-applied.ts
898
- import chalk4 from "chalk";
899
- import ora3 from "ora";
900
3917
  async function markApplied(version) {
901
3918
  if (!version) {
902
- console.error(chalk4.red("Error: Migration version is required"));
903
- console.log(chalk4.dim("\nUsage: nexusql mark-applied <version>"));
904
- console.log(chalk4.dim("Example: nexusql mark-applied 20251209153535"));
3919
+ console.error(source_default.red("Error: Migration version is required"));
3920
+ console.log(source_default.dim("\nUsage: nexusql mark-applied <version>"));
3921
+ console.log(source_default.dim("Example: nexusql mark-applied 20251209153535"));
905
3922
  process.exit(1);
906
3923
  }
907
3924
  const config = await loadConfig();
908
3925
  const databaseUrl = getDatabaseUrl(config);
909
3926
  const db = new Database(databaseUrl);
910
3927
  const runner = new MigrationRunner(db, config.migrations);
911
- const spinner = ora3(`Marking migration ${version} as applied...`).start();
3928
+ const spinner = ora(`Marking migration ${version} as applied...`).start();
912
3929
  try {
913
3930
  await runner.markApplied(version);
914
3931
  spinner.succeed(`Migration ${version} marked as applied`);
@@ -921,21 +3938,20 @@ async function markApplied(version) {
921
3938
  // src/commands/init.ts
922
3939
  import { writeFileSync as writeFileSync3, existsSync as existsSync3, mkdirSync as mkdirSync2 } from "fs";
923
3940
  import { join as join3 } from "path";
924
- import chalk5 from "chalk";
925
3941
  async function init(options = {}) {
926
3942
  const cwd = process.cwd();
927
3943
  const configPath = join3(cwd, "nexusql.config.js");
928
3944
  if (existsSync3(configPath) && !options.force) {
929
- console.log(chalk5.yellow("nexusql.config.js already exists."));
930
- console.log(chalk5.dim("Use --force to overwrite."));
3945
+ console.log(source_default.yellow("nexusql.config.js already exists."));
3946
+ console.log(source_default.dim("Use --force to overwrite."));
931
3947
  return;
932
3948
  }
933
3949
  writeFileSync3(configPath, generateConfigTemplate(), "utf-8");
934
- console.log(chalk5.green("Created nexusql.config.js"));
3950
+ console.log(source_default.green("Created nexusql.config.js"));
935
3951
  const migrationsDir = join3(cwd, "db", "migrations");
936
3952
  if (!existsSync3(migrationsDir)) {
937
3953
  mkdirSync2(migrationsDir, { recursive: true });
938
- console.log(chalk5.green("Created db/migrations/"));
3954
+ console.log(source_default.green("Created db/migrations/"));
939
3955
  }
940
3956
  const envExamplePath = join3(cwd, ".env.example");
941
3957
  if (!existsSync3(envExamplePath)) {
@@ -944,9 +3960,9 @@ async function init(options = {}) {
944
3960
  "DATABASE_URL=postgres://user:password@localhost:5432/database\n",
945
3961
  "utf-8"
946
3962
  );
947
- console.log(chalk5.green("Created .env.example"));
3963
+ console.log(source_default.green("Created .env.example"));
948
3964
  }
949
- console.log(chalk5.bold("\nNext steps:"));
3965
+ console.log(source_default.bold("\nNext steps:"));
950
3966
  console.log(" 1. Copy .env.example to .env and set your DATABASE_URL");
951
3967
  console.log(" 2. Create your schema.dbml file");
952
3968
  console.log(' 3. Run "nexusql gen" to generate migration SQL');
@@ -956,7 +3972,6 @@ async function init(options = {}) {
956
3972
  // src/commands/types.ts
957
3973
  import { readFileSync as readFileSync3, writeFileSync as writeFileSync4 } from "fs";
958
3974
  import { resolve as resolve2 } from "path";
959
- import ora4 from "ora";
960
3975
 
961
3976
  // src/lib/types-generator.ts
962
3977
  import { Parser as Parser2 } from "@dbml/core";
@@ -1048,7 +4063,7 @@ function generateTypes(dbmlContent) {
1048
4063
  // src/commands/types.ts
1049
4064
  async function types(options = {}) {
1050
4065
  const config = await loadConfig();
1051
- const spinner = ora4("Generating TypeScript definitions...").start();
4066
+ const spinner = ora("Generating TypeScript definitions...").start();
1052
4067
  try {
1053
4068
  const schemaPath = resolve2(config.schema);
1054
4069
  const dbmlContent = readFileSync3(schemaPath, "utf-8");
@@ -1063,10 +4078,15 @@ async function types(options = {}) {
1063
4078
  }
1064
4079
 
1065
4080
  // src/cli.ts
4081
+ var __filename = fileURLToPath(import.meta.url);
4082
+ var __dirname = dirname(__filename);
4083
+ var packageJson = JSON.parse(
4084
+ readFileSync4(join4(__dirname, "../package.json"), "utf-8")
4085
+ );
1066
4086
  var program = new Command();
1067
4087
  program.name("nexusql").description(
1068
4088
  "Database migration toolkit for PostgreSQL with DBML schema support"
1069
- ).version("0.1.0");
4089
+ ).version(packageJson.version);
1070
4090
  program.command("init").description("Initialize nexusql configuration").option("-f, --force", "Overwrite existing config").action(async (options) => {
1071
4091
  try {
1072
4092
  await init(options);