-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
865 lines (731 loc) · 33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Balatrolator – A Balatro score calculator</title>
<meta name="description" content="Figure out how best to score by comparing variations of your hand." />
<link rel="icon" href="favicon.ico" sizes="48x48">
<link rel="icon" href="icon.svg" sizes="any" type="image/svg+xml">
<link rel="stylesheet" href="./src/ui/css/styles.css">
</head>
<body>
<main class="main-content">
<div class="stack">
<div class="list">
<div class="panel">
<header class="panel-header">
<h1>Balatrolator 🃏🧮</h1>
</header>
<p>Balatrolator is a score calculator for <a href="https://www.playbalatro.com/">Balatro</a>. Go, buy the game!</p>
<p>Please, <a href="https://github.com/kleinfreund/balatrolator/issues/new/choose">report any bugs you encounter</a>. Want to <a href="https://github.com/kleinfreund/balatrolator">contribute</a>?</p>
<p>Made with love by <a href="https://kleinfreund.de">kleinfreund</a>. ❤️</p>
</div>
<div class="panel">
<div class="stack">
<header class="panel-header">
<h2>Saves</h2>
</header>
<p>The current hand is auto-saved whenever the score updates.</p>
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Name</th>
<th>Time</th>
<th>Actions</th>
</tr>
</thead>
<tbody data-s-saves></tbody>
</table>
</div>
<form data-s-form>
<div class="s-save-container">
<label class="s-save-name text-control --flat --grow">
<span class="label truncate">Save name</span>
<input class="s-save-name-input text-input" name="name" type="text" required placeholder="Hand 1" data-s-name-input>
</label>
<button class="s-save-button button" type="submit" data-s-save-button>
<svg class="icon">
<use xlink:href="#floppy-disk-icon"></use>
</svg>
<span>Save</span>
</button>
</div>
</form>
<form data-s-import-form>
<div class="s-import-container">
<label class="s-import text-control --flat --grow">
<span class="label truncate">Import save</span>
<input class="s-import-input file-input" name="import" type="file" accept=".json,application/json" required data-s-import-input>
</label>
<button class="s-import-button button" type="submit" data-s-import-button>
<svg class="icon">
<use xlink:href="#file-arrow-up-icon"></use>
</svg>
<span>Import</span>
</button>
</div>
</form>
</div>
</div>
</div>
<form class="form" data-form>
<div class="form__hands panel">
<div class="stack">
<header class="panel-header">
<h2>Levels</h2>
</header>
<div class="stack" data-h-container></div>
</div>
</div>
<div class="form__round panel">
<div class="stack">
<header class="panel-header">
<h2>Round data</h2>
</header>
<div class="list">
<div class="card">
<label class="r-hands text-control --flat --grow">
<span class="label truncate">Hands</span>
<input class="r-hands-input text-input" name="hands" type="number" min="0" value="0" data-r-hands>
<span class="secondary-label">Influences: Acrobat</span>
</label>
</div>
<div class="card">
<label class="r-discards text-control --flat --grow">
<span class="label truncate">Discards</span>
<input class="r-discards-input text-input" name="discards" type="number" min="0" value="0" data-r-discards>
<span class="secondary-label">Influences: Banner, Mystic Summit</span>
</label>
</div>
<div class="card">
<label class="r-money text-control --flat --grow">
<span class="label truncate">Money</span>
<input class="r-money-input text-input" name="money" type="number" value="0" data-r-money>
<span class="secondary-label">Influences: Bull, Bootstraps</span>
</label>
</div>
<div class="card">
<div class="stack">
<label class="r-blind-name select-control --flat --grow">
<span class="label truncate">Blind</span>
<select class="r-blind-name-input select" name="blindName" data-r-blind-name>
<option value="Small Blind" selected>Small Blind</option>
<option value="Big Blind">Big Blind</option>
<option value="The Hook">The Hook</option>
<option value="The Ox">The Ox</option>
<option value="The House">The House</option>
<option value="The Wall">The Wall</option>
<option value="The Wheel">The Wheel</option>
<option value="The Arm">The Arm</option>
<option value="The Club">The Club</option>
<option value="The Fish">The Fish</option>
<option value="The Psychic">The Psychic</option>
<option value="The Goad">The Goad</option>
<option value="The Water">The Water</option>
<option value="The Window">The Window</option>
<option value="The Manacle">The Manacle</option>
<option value="The Eye">The Eye</option>
<option value="The Mouth">The Mouth</option>
<option value="The Plant">The Plant</option>
<option value="The Serpent">The Serpent</option>
<option value="The Pillar">The Pillar</option>
<option value="The Needle">The Needle</option>
<option value="The Head">The Head</option>
<option value="The Tooth">The Tooth</option>
<option value="The Flint">The Flint</option>
<option value="The Mark">The Mark</option>
<option value="Amber Acorn">Amber Acorn</option>
<option value="Verdant Leaf">Verdant Leaf</option>
<option value="Violet Vessel">Violet Vessel</option>
<option value="Crimson Heart">Crimson Heart</option>
<option value="Cerulean Bell">Cerulean Bell</option>
</select>
<span class="secondary-label">Influences: Debuffed cards, scoring</span>
</label>
<label class="r-blind-is-active checkbox-control">
<input class="r-blind-is-active-input checkbox" name="blindIsActive" type="checkbox" value="true" checked data-r-blind-is-active>
<span class="label">Active?</span>
</label>
</div>
</div>
<div class="card">
<label class="r-deck select-control --flat --grow">
<span class="label truncate">Deck</span>
<select class="r-deck-input select" name="deck" data-r-deck>
<option value="Red Deck" selected>Red Deck</option>
<option value="Blue Deck">Blue Deck</option>
<option value="Yellow Deck">Yellow Deck</option>
<option value="Green Deck">Green Deck</option>
<option value="Black Deck">Black Deck</option>
<option value="Magic Deck">Magic Deck</option>
<option value="Nebula Deck">Nebula Deck</option>
<option value="Ghost Deck">Ghost Deck</option>
<option value="Abandoned Deck">Abandoned Deck</option>
<option value="Checkered Deck">Checkered Deck</option>
<option value="Zodiac Deck">Zodiac Deck</option>
<option value="Painted Deck">Painted Deck</option>
<option value="Anaglyph Deck">Anaglyph Deck</option>
<option value="Plasma Deck">Plasma Deck</option>
<option value="Erratic Deck">Erratic Deck</option>
<option value="Challenge Deck">Challenge Deck</option>
</select>
<span class="secondary-label">Influences: Scoring with Plasma Deck</span>
</label>
</div>
<div class="card">
<label class="r-joker-slots text-control --flat --grow">
<span class="label truncate">Joker slots</span>
<input class="r-joker-slots-input text-input" type="number" name="jokerSlots" value="5" data-r-joker-slots>
<span class="secondary-label">Influences: Joker Stencil</span>
</label>
</div>
<div class="card observatory-card">
<div class="stack">
<span class="label truncate">Observatory</span>
<div class="r-observatory-input-list stack">
<label class="text-control --flat">
<span class="label truncate">Pluto</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="High Card">
</label>
<label class="text-control --flat">
<span class="label truncate">Mercury</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Pair">
</label>
<label class="text-control --flat">
<span class="label truncate">Uranus</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Two Pair">
</label>
<label class="text-control --flat">
<span class="label truncate">Venus</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Three of a Kind">
</label>
<label class="text-control --flat">
<span class="label truncate">Saturn</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Straight">
</label>
<label class="text-control --flat">
<span class="label truncate">Jupiter</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Flush">
</label>
<label class="text-control --flat">
<span class="label truncate">Earth</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Full House">
</label>
<label class="text-control --flat">
<span class="label truncate">Mars</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Four of a Kind">
</label>
<label class="text-control --flat">
<span class="label truncate">Neptune</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Straight Flush">
</label>
<label class="text-control --flat">
<span class="label truncate">Planet X</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Five of a Kind">
</label>
<label class="text-control --flat">
<span class="label truncate">Ceres</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Flush House">
</label>
<label class="text-control --flat">
<span class="label truncate">Eris</span>
<input class="r-observatory-input text-input" type="number" min="0" value="0" data-r-observatory-hand="Flush Five">
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form__jokers panel">
<div class="stack">
<header class="panel-header">
<h2>Jokers</h2>
<button class="add-joker-button button --icon" type="button" data-j-add-button>
<span class="visually-hidden">Add</span>
<svg class="icon">
<use xlink:href="#plus-icon"></use>
</svg>
</button>
</header>
<div class="list" data-j-container data-drop-zone></div>
</div>
</div>
<div class="form__cards panel">
<div class="stack">
<header class="panel-header">
<h2>Hand</h2>
<button class="add-card-button button --icon" type="button" data-c-add-button>
<span class="visually-hidden">Add</span>
<svg class="icon">
<use xlink:href="#plus-icon"></use>
</svg>
</button>
</header>
<div class="list" data-c-container data-drop-zone></div>
</div>
</div>
<div class="form__score panel">
<div class="stack">
<header class="panel-header">
<h2>Score</h2>
</header>
<div class="stack">
<p>Hand: <b data-sc-played-hand>—</b></p>
<div class="list" data-sc-container></div>
</div>
</div>
</div>
</form>
</div>
</main>
<dialog id="j-duplicate-modal" class="panel" popover>
<div class="stack">
<header>
<div class="action-list">
<h2>Duplicate joker?</h2>
<button class="button --icon push-left" type="button" data-modal-close-button>
<span class="visually-hidden">Close</span>
<svg class="icon">
<use xlink:href="#close-icon"></use>
</svg>
</button>
</div>
</header>
<label class="text-control">
<span class="label truncate">Number of copies</span>
<input class="text-input" type="number" value="1" min="1">
</label>
<p>The new cards will be added to the right of the one you're duplicating.</p>
<button class="button" type="button" data-j-duplicate-button>Ok</button>
</div>
</dialog>
<dialog id="c-duplicate-modal" class="panel" popover>
<div class="stack">
<header>
<div class="action-list">
<h2>Duplicate card?</h2>
<button class="button --icon push-left" type="button" data-modal-close-button>
<span class="visually-hidden">Close</span>
<svg class="icon">
<use xlink:href="#close-icon"></use>
</svg>
</button>
</div>
</header>
<label class="text-control">
<span class="label truncate">Number of copies</span>
<input class="text-input" type="number" value="1" min="1">
</label>
<p>The new cards will be added to the right of the one you're duplicating.</p>
<button class="button" type="button" data-c-duplicate-button>Ok</button>
</div>
</dialog>
<template id="save-row">
<tr>
<td class="name-cell" data-s-name></td>
<td class="time-cell" data-s-time></td>
<td class="actions-cell">
<div class="action-list">
<button class="button" type="button" data-s-load-button>Load</button>
<button class="s-delete-button button --icon" type="button" data-s-delete-button>
<span class="visually-hidden">Delete save</span>
<svg class="icon">
<use xlink:href="#trash-icon"></use>
</svg>
</button>
<button class="s-export-button button --icon" type="submit" data-s-export-button>
<svg class="icon">
<use xlink:href="#file-arrow-down-icon"></use>
</svg>
<span class="visually-hidden">Export</span>
</button>
</div>
</td>
</tr>
</template>
<template id="hand-level">
<p><span data-h-name></span></p>
<div class="stack">
<div class="input-list">
<label class="h-level text-control --flat --grow">
<span class="label">lvl</span>
<input class="h-level-input text-input" type="number" value="1" min="1" data-h-level>
</label>
<label class="h-plays text-control --flat --grow">
<span class="label">#<span class="visually-hidden">Plays</span></span>
<input class="h-plays-input text-input" type="number" value="0" min="0" data-h-plays>
</label>
</div>
</div>
</template>
<template id="joker-card">
<div class="stack">
<div class="action-list">
<label class="j-name select-control">
<span class="visually-hidden">Joker name</span>
<select class="j-name-input select" data-j-name>
<option value="8 Ball" selected>8 Ball</option>
<option value="Abstract Joker">Abstract Joker</option>
<option value="Acrobat">Acrobat</option>
<option value="Ancient Joker">Ancient Joker</option>
<option value="Arrowhead">Arrowhead</option>
<option value="Astronomer">Astronomer</option>
<option value="Banner">Banner</option>
<option value="Baron">Baron</option>
<option value="Baseball Card">Baseball Card</option>
<option value="Blackboard">Blackboard</option>
<option value="Bloodstone">Bloodstone</option>
<option value="Blue Joker">Blue Joker</option>
<option value="Blueprint">Blueprint</option>
<option value="Bootstraps">Bootstraps</option>
<option value="Brainstorm">Brainstorm</option>
<option value="Bull">Bull</option>
<option value="Burglar">Burglar</option>
<option value="Burnt Joker">Burnt Joker</option>
<option value="Business Card">Business Card</option>
<option value="Campfire">Campfire</option>
<option value="Canio">Canio</option>
<option value="Card Sharp">Card Sharp</option>
<option value="Cartomancer">Cartomancer</option>
<option value="Castle">Castle</option>
<option value="Cavendish">Cavendish</option>
<option value="Ceremonial Dagger">Ceremonial Dagger</option>
<option value="Certificate">Certificate</option>
<option value="Chaos the Clown">Chaos the Clown</option>
<option value="Chicot">Chicot</option>
<option value="Clever Joker">Clever Joker</option>
<option value="Cloud 9">Cloud 9</option>
<option value="Constellation">Constellation</option>
<option value="Crafty Joker">Crafty Joker</option>
<option value="Crazy Joker">Crazy Joker</option>
<option value="Credit Card">Credit Card</option>
<option value="Delayed Gratification">Delayed Gratification</option>
<option value="Devious Joker">Devious Joker</option>
<option value="Diet Cola">Diet Cola</option>
<option value="DNA">DNA</option>
<option value="Driver's license">Driver's license</option>
<option value="Droll Joker">Droll Joker</option>
<option value="Drunkard">Drunkard</option>
<option value="Dusk">Dusk</option>
<option value="Egg">Egg</option>
<option value="Erosion">Erosion</option>
<option value="Even Steven">Even Steven</option>
<option value="Faceless Joker">Faceless Joker</option>
<option value="Fibonacci">Fibonacci</option>
<option value="Flash Card">Flash Card</option>
<option value="Flower Pot">Flower Pot</option>
<option value="Fortune Teller">Fortune Teller</option>
<option value="Four Fingers">Four Fingers</option>
<option value="Gift Card">Gift Card</option>
<option value="Glass Joker">Glass Joker</option>
<option value="Gluttonous Joker">Gluttonous Joker</option>
<option value="Golden Joker">Golden Joker</option>
<option value="Golden Ticket">Golden Ticket</option>
<option value="Greedy Joker">Greedy Joker</option>
<option value="Green Joker">Green Joker</option>
<option value="Gros Michel">Gros Michel</option>
<option value="Hack">Hack</option>
<option value="Half Joker">Half Joker</option>
<option value="Hallucination">Hallucination</option>
<option value="Hanging Chad">Hanging Chad</option>
<option value="Hiker">Hiker</option>
<option value="Hit the Road">Hit the Road</option>
<option value="Hologram">Hologram</option>
<option value="Ice Cream">Ice Cream</option>
<option value="Invisible Joker">Invisible Joker</option>
<option value="Joker Stencil">Joker Stencil</option>
<option value="Joker">Joker</option>
<option value="Jolly Joker">Jolly Joker</option>
<option value="Juggler">Juggler</option>
<option value="Loyalty Card">Loyalty Card</option>
<option value="Luchador">Luchador</option>
<option value="Lucky Cat">Lucky Cat</option>
<option value="Lusty Joker">Lusty Joker</option>
<option value="Mad Joker">Mad Joker</option>
<option value="Madness">Madness</option>
<option value="Mail-in Rebate">Mail-in Rebate</option>
<option value="Marble Joker">Marble Joker</option>
<option value="Matador">Matador</option>
<option value="Merry Andy">Merry Andy</option>
<option value="Midas Mask">Midas Mask</option>
<option value="Mime">Mime</option>
<option value="Misprint">Misprint</option>
<option value="Mr. Bones">Mr. Bones</option>
<option value="Mystic Summit">Mystic Summit</option>
<option value="Obelisk">Obelisk</option>
<option value="Odd Todd">Odd Todd</option>
<option value="Onyx Agate">Onyx Agate</option>
<option value="Oops! All 6s">Oops! All 6s</option>
<option value="Pareidolia">Pareidolia</option>
<option value="Perkeo">Perkeo</option>
<option value="Photograph">Photograph</option>
<option value="Popcorn">Popcorn</option>
<option value="Raised Fist">Raised Fist</option>
<option value="Ramen">Ramen</option>
<option value="Red Card">Red Card</option>
<option value="Reserved Parking">Reserved Parking</option>
<option value="Ride the Bus">Ride the Bus</option>
<option value="Riff-Raff">Riff-Raff</option>
<option value="Rocket">Rocket</option>
<option value="Rough Gem">Rough Gem</option>
<option value="Runner">Runner</option>
<option value="Satellite">Satellite</option>
<option value="Scary Face">Scary Face</option>
<option value="Scholar">Scholar</option>
<option value="Séance">Séance</option>
<option value="Seeing Double">Seeing Double</option>
<option value="Seltzer">Seltzer</option>
<option value="Shoot the Moon">Shoot the Moon</option>
<option value="Shortcut">Shortcut</option>
<option value="Showman">Showman</option>
<option value="Sixth Sense">Sixth Sense</option>
<option value="Sly Joker">Sly Joker</option>
<option value="Smeared Joker">Smeared Joker</option>
<option value="Smiley Face">Smiley Face</option>
<option value="Sock and Buskin">Sock and Buskin</option>
<option value="Space Joker">Space Joker</option>
<option value="Spare Trousers">Spare Trousers</option>
<option value="Splash">Splash</option>
<option value="Square Joker">Square Joker</option>
<option value="Steel Joker">Steel Joker</option>
<option value="Stone Joker">Stone Joker</option>
<option value="Stuntman">Stuntman</option>
<option value="Supernova">Supernova</option>
<option value="Superposition">Superposition</option>
<option value="Swashbuckler">Swashbuckler</option>
<option value="The Duo">The Duo</option>
<option value="The Family">The Family</option>
<option value="The Idol">The Idol</option>
<option value="The Order">The Order</option>
<option value="The Tribe">The Tribe</option>
<option value="The Trio">The Trio</option>
<option value="Throwback">Throwback</option>
<option value="To Do List">To Do List</option>
<option value="To the Moon">To the Moon</option>
<option value="Trading Card">Trading Card</option>
<option value="Triboulet">Triboulet</option>
<option value="Troubador">Troubador</option>
<option value="Turtle Bean">Turtle Bean</option>
<option value="Vagabond">Vagabond</option>
<option value="Vampire">Vampire</option>
<option value="Walkie Talkie">Walkie Talkie</option>
<option value="Wee Joker">Wee Joker</option>
<option value="Wily Joker">Wily Joker</option>
<option value="Wrathful Joker">Wrathful Joker</option>
<option value="Yorick">Yorick</option>
<option value="Zany Joker">Zany Joker</option>
</select>
</label>
<button class="j-duplicate-button button --icon" type="button" popovertarget="j-duplicate-modal">
<span class="visually-hidden">Duplicate joker</span>
<svg class="icon">
<use xlink:href="#copy-icon"></use>
</svg>
</button>
<button class="j-remove-button button --icon" type="button" data-remove-button>
<span class="visually-hidden">Remove</span>
<svg class="icon">
<use xlink:href="#trash-icon"></use>
</svg>
</button>
</div>
<label class="j-edition select-control --flat --grow">
<span class="label truncate">Edition</span>
<select class="j-edition-input select" data-j-edition>
<option value="base" selected>Base</option>
<option value="foil">Foil</option>
<option value="holographic">Holographic</option>
<option value="polychrome">Polychrome</option>
<option value="negative">Negative</option>
</select>
</label>
<div class="joker-effects stack">
<label class="j-plus-chips text-control --flat --grow">
<span class="label truncate">+Chips</span>
<input class="j-plus-chips-input text-input" type="number" value="0" min="0" data-j-plus-chips>
</label>
<label class="j-plus-multiplier text-control --flat --grow">
<span class="label truncate">+Mult</span>
<input class="j-plus-multiplier-input text-input" type="number" value="0" min="0" data-j-plus-multiplier>
</label>
<label class="j-times-multiplier text-control --flat --grow">
<span class="label truncate">xMult</span>
<input class="j-times-multiplier-input text-input" type="number" value="1" min="1" step="0.05" data-j-times-multiplier>
</label>
<label class="j-is-active checkbox-control">
<input class="j-is-active-input checkbox" type="checkbox" value="is-active" checked data-j-is-active>
<span class="label">Active?</span>
</label>
<div class="input-list j-card">
<label class="j-rank text-control">
<span class="visually-hidden">Rank</span>
<select class="j-rank-input select" data-j-rank>
<option value="Ace" selected>Ace</option>
<option value="King">King</option>
<option value="Queen">Queen</option>
<option value="Jack">Jack</option>
<option value="10">10</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</label>
<span class="j-card-of">of</span>
<label class="j-suit text-control">
<span class="visually-hidden">Suit</span>
<select class="j-suit-input select" data-j-suit>
<option value="Clubs" selected>Clubs</option>
<option value="Spades">Spades</option>
<option value="Hearts">Hearts</option>
<option value="Diamonds">Diamonds</option>
</select>
</label>
</div>
</div>
</div>
</template>
<template id="playing-card">
<div class="stack">
<div class="action-list">
<label class="c-is-played checkbox-control">
<input class="c-is-played-input checkbox" type="checkbox" value="is-played" checked data-c-is-played>
<span class="label">Play?</span>
</label>
<button class="c-duplicate-button button --icon push-left" type="button" popovertarget="c-duplicate-modal">
<span class="visually-hidden">Duplicate card</span>
<svg class="icon">
<use xlink:href="#copy-icon"></use>
</svg>
</button>
<button class="c-remove-button button --icon push-left" type="button" data-remove-button>
<span class="visually-hidden">Remove</span>
<svg class="icon">
<use xlink:href="#trash-icon"></use>
</svg>
</button>
</div>
<label class="c-is-debuffed checkbox-control">
<input class="c-is-debuffed-input checkbox" type="checkbox" value="is-debuffed" data-c-is-debuffed>
<span class="label">Debuffed?</span>
</label>
<div class="input-list">
<label class="c-rank text-control">
<span class="visually-hidden">Rank</span>
<select class="c-rank-input select" data-c-rank>
<option value="Ace" selected>Ace</option>
<option value="King">King</option>
<option value="Queen">Queen</option>
<option value="Jack">Jack</option>
<option value="10">10</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</label>
of
<label class="c-suit text-control">
<span class="visually-hidden">Suit</span>
<select class="c-suit-input select" data-c-suit>
<option value="Clubs" selected>Clubs</option>
<option value="Spades">Spades</option>
<option value="Hearts">Hearts</option>
<option value="Diamonds">Diamonds</option>
</select>
</label>
</div>
<label class="c-edition select-control --flat --grow">
<span class="label truncate">Edition</span>
<select class="c-edition-input select" data-c-edition>
<option value="base" selected>Base</option>
<option value="foil">Foil</option>
<option value="holographic">Holographic</option>
<option value="polychrome">Polychrome</option>
</select>
</label>
<label class="c-enhancement select-control --flat --grow">
<span class="label truncate">Enhancement</span>
<select class="c-enhancement-input select" data-c-enhancement>
<option value="none" selected>None</option>
<option value="bonus">Bonus</option>
<option value="mult">Mult</option>
<option value="wild">Wild</option>
<option value="glass">Glass</option>
<option value="steel">Steel</option>
<option value="stone">Stone</option>
<option value="gold">Gold</option>
<option value="lucky">Lucky</option>
</select>
</label>
<label class="c-seal select-control --flat --grow">
<span class="label truncate">Seal</span>
<select class="c-seal-input select" data-c-seal>
<option value="none" selected>None</option>
<option value="gold">Gold</option>
<option value="red">Red</option>
<option value="blue">Blue</option>
<option value="purple">Purple</option>
</select>
</label>
</div>
</template>
<template id="score-card">
<div class="card score-card">
<div class="stack">
<div class="score-entry">
<b data-sc-formatted-score></b>
<div class="badge">Luck: <b data-sc-luck></b></div>
</div>
<p class="exact-score">
Exact: <b data-sc-score></b>
</p>
</div>
</div>
</template>
<svg style="display: none;">
<defs>
<symbol id="close-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>Close icon</title>
<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>
</symbol>
<symbol id="copy-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>Copy icon</title>
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
</symbol>
<symbol id="file-arrow-down-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>File arrow down icon</title>
<path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-42.34-61.66a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L120,164.69V120a8,8,0,0,1,16,0v44.69l10.34-10.35A8,8,0,0,1,157.66,154.34Z"></path>
</symbol>
<symbol id="file-arrow-up-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>File arrow up icon</title>
<path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-42.34-77.66a8,8,0,0,1-11.32,11.32L136,139.31V184a8,8,0,0,1-16,0V139.31l-10.34,10.35a8,8,0,0,1-11.32-11.32l24-24a8,8,0,0,1,11.32,0Z"></path>
</symbol>
<symbol id="floppy-disk-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>Floppy disk icon</title>
<path d="M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"></path>
</symbol>
<symbol id="plus-icon" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<title>Plus icon</title>
<path d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"></path>
</symbol>
<symbol id="trash-icon" role="img" viewBox="0 0 256 256" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<title>Trash icon</title>
<path d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"></path>
</symbol>
</defs>
</svg>
<script src="./src/ui/main.ts" type="module"></script>
</body>
</html>