-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.html
2465 lines (2364 loc) · 91.4 KB
/
start.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
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="flag-icon-css/css/flag-icon.css" />
<link rel="stylesheet" href="main.css" />
<!-- Preload bold fonts for the language dropdown -->
<link rel="preload" href="css/fonts/MontHeavy/mont-heavy-webfont.woff" as="font" />
<link rel="preload" href="css/fonts/MontHeavy/mont-heavy-webfont.woff2" as="font" />
<link rel="preload" href="css/fonts/MuseoSans/MuseoSans_700-webfont.woff" as="font" />
<link rel="preload" href="css/fonts/MuseoSans/MuseoSans_700-webfont.woff2" as="font" />
<link rel="preload" href="css/fonts/NotoKufiArabic/NotoKufiArabic-Bold.ttf" as="font" />
<link rel="preload" href="css/fonts/NotoSansCJKJP/NotoSansCJKjp-Bold.otf" as="font" />
<link rel="preload" href="css/fonts/NotoSansCJKKR/NotoSansCJKkr-Bold.otf" as="font" />
<link rel="preload" href="css/fonts/NotoSansCJKSC/NotoSansCJKsc-Bold.otf" as="font" />
<link rel="preload" href="css/fonts/NotoSansCJKTC/NotoSansCJKtc-Bold.otf" as="font" />
<link rel="preload" href="css/fonts/Rubik/Rubik-Bold.otf" as="font" />
<script>
const PORT = 8080;
</script>
<script>
const HOST = "localhost";
</script>
<script src="js/assign-polyfill.js"></script>
<script src="js/vendor/polyfill.min.js"></script>
<script src="js/vendor/fastclick.min.js"></script>
<script src="js/vendor/element-scroll-polyfill/index.js"></script>
<script src="js/vendor/jquery-3.2.1.slim.min.js"></script>
<script src="js/vendor/kjua-0.1.1.min.js"></script>
<script src="js/vendor/jquery.transit.min.js"></script>
<script src="js/keyboard.js"></script>
<script src="js/vendor/libphonenumber-js.min.js"></script>
<script src="js/keypad.js"></script>
<script src="js/vendor/jed.js"></script>
<script src="js/locales.js"></script>
<script src="js/vendor/snake_case.js"></script>
<script src="js/vendor/langmap.js"></script>
<script src="js/url-search-params.js"></script>
<script src="../node_modules/bignumber.js/bignumber.min.js"></script>
<script src="js/app.js"></script>
</head>
<body>
<div id="metrics" class="hide"></div>
<section id="view">
<section
class="viewport address_reuse_state info cash-in-color"
data-tr-section="address-reuse"
data-screentype="info-action-tp"
>
<header>
<img src="images/address-reuse.svg" />
</header>
<main>
<h3 class="js-i18n xs-margin-bottom">Address already used</h3>
<div class="text-content sm-margin-top">
<p class="js-i18n d2 sm-margin-bottom">
It looks like you've used this address already.
</p>
<p class="js-i18n d2">
For both your privacy and safety against scams, plase generate a new one from your wallet and scan that one instead.
</p>
</div>
</main>
<footer>
<button id="address-reuse-start-over" class="filled-progress-button button js-i18n">
Start over
</button>
</footer>
</section>
<section
class="viewport are_you_sure_state info-no-image cash-out-color"
data-tr-section="are-you-sure"
data-screentype="info-action-tp"
>
<header></header>
<main>
<h2 class="js-i18n">Are you sure?</h2>
<div class="text-content">
<p class="js-i18n d2 sm-margin-bottom">
If you've already sent coins and cancel without confirming your phone number, you'll need to manually settle the transaction with the operator.
</p>
<p class="js-i18n d2 sm-margin-bottom">
Press 'Continue transaction' and wait up to 60 seconds for your deposit to be seen.
</p>
<p class="js-i18n d2">
Or press 'Cancel transaction' to return to the home screen.
</p>
</div>
</main>
<footer>
<button class="filled-progress-button button js-i18n" id="are-you-sure-continue-transaction">
Continue transaction
</button>
<button class="bordered-progress-button button js-i18n" id="are-you-sure-cancel-transaction">
Cancel transaction
</button>
</footer>
</section>
<section
class="viewport bad_phone_number_state info"
data-tr-section="bad-phone-number"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/phone-warning-amazonite.svg" />
<img class="only-cash-out" src="images/phone-warning-salmon.svg" />
</header>
<main>
<h3 class="js-i18n xs-margin-bottom">Try again</h3>
<div class="text-content">
<p class="js-i18n d2">
The phone number you entered didn't work. If you have an international number, please prefix it with + and your country's calling code.
</p>
<p class="js-i18n tl2">
For instance, Belgium's calling code is +32, so a Belgian number would look like: +32 455 12 34 56
</p>
</div>
</main>
<footer>
<button class="filled-progress-button button js-i18n" id="bad-phone-number-ok">
Try again
</button>
</footer>
</section>
<section
class="viewport bad_security_code_state info"
data-tr-section="bad-security-code"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/wrong-code-amazonite.svg" />
<img class="only-cash-out" src="images/wrong-code-salmon.svg" />
</header>
<main>
<h3 class="js-i18n xs-margin-bottom">Try again</h3>
<div class="text-content sm-margin-top">
<p class="js-i18n d2">
The code you entered was incorrect.
</p>
<p class="js-i18n tl2">
Please make sure you're entering the six digit code you receive from us.
</p>
</div>
</main>
<footer>
<button class="filled-progress-button button js-i18n" id="bad-security-code-ok">
Try again
</button>
</footer>
</section>
<section class="viewport cash_in_waiting_state cash-in-color fiat-side" data-tr-section="cash-in-waiting">
<section class="mainv">
<section class="header">
<div class="sk-three-bounce">
<div class="sk-child sk-bounce1"></div>
<div class="sk-child sk-bounce2"></div>
<div class="sk-child sk-bounce3"></div>
</div>
<h2 class="js-i18n">One moment...</h2>
</section>
</section>
</section>
<section
class="viewport choose_coin_state"
data-tr-section="choose_coin"
data-screentype="exception-tp"
>
<header>
<section id="change-language-section" class="button change-language js-menu-language hide cash-out-color">
<div
id="language-dropdown-toggle"
class="multiple-language js-multi-language small-action-button tl2 js-i18n"
>
Languages
</div>
<div id="languages" class="dropdown hide"></div>
<div class="js-two-language small-action-button tl2"></div>
</section>
</header>
<main class="nm-margin-bottom">
<div class="cash-in-box-wrapper cash-in-color auto-margin">
<section id="cash-in-box" class="crypto-button-box cash-in-box circle-button h3 sapphire">
<div class="inner-circle-button">
<div class="crypto-button-ball"></div>
<div class="cash-in crypto-button"></div>
</div>
</section>
</div>
<div class="cash-out-box-wrapper cash-out-color auto-margin">
<section id="cash-out-box" class="crypto-button-box cash-out-box circle-button h3 purple-grey">
<div class="inner-circle-button">
<div class="crypto-button-ball"></div>
<div class="cash-out crypto-button"></div>
</div>
</section>
</div>
</main>
<footer>
<section id="crypto-buttons" class="button crypto-buttons"></section>
<section id="coin-redeem" class="button coin-redeem cash-out-color">
<div id="coin-redeem-button" class="button progress-button">
<span class="js-i18n">Redeem</span>
</div>
</section>
</footer>
<!-- Globals -->
<div id="language-overlay" class="hide button"></div>
<div id="crypto-overlay" class="hide button"></div>
<div id="bg-to-show" class="bg-image"><img class="bg-image" src="" /></div>
</section>
<section
class="viewport choose_fiat_state cash-out-color"
data-tr-section="choose-fiat"
data-screentype="flow-action-tp"
>
<header>
<p class="d2 white crypto-rate crypto-rate-cash-out"></p>
<div id="chooseFiatCancel" class="cancel-button-wrapper">
<img class="cancel-button" src="images/close-icon.svg" />
</div>
</header>
<main>
<section class="primary-side">
<h2 class="js-i18n primary-side-title xs-margin-bottom">How much?</h2>
<section class="sums">
<div class="fiat nm-margin-top sm-margin-bottom">
<span class="fiat-amount h1"></span>
<span class="js-currency h3"></span>
</div>
<div class="d1 digital js-18n" id="js-i18n-choose-digital-amount"></div>
</section>
<div class="d2 limit white"></div>
</section>
<section class="secondary-side qr-secondary-side nm-margin-top">
<button id="cash-out-button" class="circle-button h3">
<div>
<div class="inner-circle-button js-i18n">
Cash Out
</div>
</div>
</button>
</section>
</main>
<footer id="js-fiat-buttons" class="cash-buttons">
<button class="cash-button action-button tl1" data-denomination-index="0">
<span class="plus">+</span>
<span class="js-denomination"></span>
</button>
<button class="cash-button action-button tl1" data-denomination-index="1">
<span class="plus">+</span>
<span class="js-denomination"></span>
</button>
<button class="cash-button action-button tl1" data-denomination-index="2">
<span class="plus">+</span>
<span class="js-denomination"></span>
</button>
<button id="js-fiat-clear" class="cash-button clear js-i18n filled-action-button tl1">
Clear
</button>
</footer>
</section>
<section
id="completed_viewport"
class="viewport completed_state cash-in-color"
data-tr-section="completed"
data-screentype="flow-action-tp"
>
<header></header>
<main>
<section class="primary-side">
<h2 class="js-i18n primary-side-title">Thank you!</h2>
<p class="js-i18n d2 white xs-margin-bottom">You Purchased</p>
<div class="total-crypto-rec i18n-latin">
<span class="h3 crypto-amount i18n-latin"></span>
<span class="h4 crypto-units i18n-latin"></span>
</div>
<p class="tl2 amount-deposited"></p>
<p class="js-i18n d2 coins-to-address">Your coins are on their way to:</p>
<p class="m2 crypto-address"></p>
</section>
<section class="secondary-side qr-secondary-side">
<div class="qr-wrapper">
<div id="cash-in-qr-code" class="qr"></div>
</div>
</section>
</main>
<footer class="take-a-photo">
<img class="camera" src="images/camera/small-camera-amazonite.svg" />
<span class="h4 sapphire js-i18n">
Take a picture of this screen for your electronic receipt
</span>
<span class="d2 js-i18n">Tap anywhere on the screen when you're done.</span>
</footer>
</section>
<section
class="viewport connect_ethernet_state info system-color"
data-tr-section="connect_ethernet"
data-screentype="system-tp"
>
<header>
<img src="images/network-down.svg"/>
</header>
<main>
<h3 class="js-i18n xs-margin-bottom">Network down</h3>
<p class="d2">
Please connect your cryptomat's Ethernet cable or verify its connection.
</p>
<table class="contacts nm-margin-top">
<tr>
<td>
<img src="images/contact/operator-amazonite.svg" />
<span class="d2 operator-name"></span>
</td>
<td>
<img src="images/contact/phone-amazonite.svg" />
<span class="d2 operator-phone"></span>
</td>
</tr>
<tr>
<td colspan="2">
<img src="images/contact/email-amazonite.svg" />
<span class="d2 operator-email"></span>
</td>
</tr>
</table>
</main>
</section>
<section class="viewport deposit_timeout_state info cash-out-color" data-tr-section="deposit-timeout">
<header>
<img src="images/nothing-yet.svg"/>
</header>
<main>
<h3 class="js-i18n sm-margin-bottom">Nothing yet.</h3>
<p class="js-i18n d2">No coins are showing up.</p>
<p class="js-i18n-did-send-coins d2b no-margin-top"></p>
</main>
<footer>
<button class="button filled-progress-button js-i18n" id="deposit-timeout-sent-yes">Yes, I have</button>
<button class="button bordered-progress-button js-i18n" id="deposit-timeout-sent-no">No, I haven't</button>
</footer>
</section>
<section
class="viewport deposit_state cash-out-color"
data-tr-section="deposit"
data-screentype="flow-action-tp"
>
<header>
<div id="depositCancel" class="delay cancel-button-wrapper">
<img class="cancel-button" src="images/close-icon.svg" />
</div>
</header>
<main>
<section class="primary-side">
<h2 class="js-i18n primary-side-title xs-margin-bottom">Send Coins</h2>
<p class="d1 no-margin-top js-i18n-please-scan"></p>
<div class="fiat md-margin-top">
<span class="js-amount h2"></span>
<span class="js-currency h4"></span>
<p class="d2 js-i18n no-margin-top">will be dispensed to you.</p>
</div>
<div class="d2 digital send-notice">
<p class="coins-to-address">
<span class="js-i18n">You will send us</span>
<span class="js-amount"></span>
<span class="js-crypto-display-units"></span>
<span class="js-i18n">to:</span>
</p>
<p class="m2 crypto-address"></p>
</div>
</section>
<section class="secondary-side qr-secondary-side">
<div class="qr-wrapper">
<div id="qr-code-deposit" class="qr"></div>
</div>
<!-- TODO lightning still not enabled
<div id="lightning-enabled" class="sm-margin-top">
<img class="lightning-img" src="images/lightning.svg"/>
<span class="d2">Lightning Enabled</span>
</div> -->
</section>
</main>
</section>
<section
class="viewport dispensing_state cash-out-color"
data-tr-section="dispensing"
data-screentype="flow-no-action-tp"
>
<header></header>
<main class="lg-margin-top">
<section class="primary-side">
<p class="d2 no-margin-top batch"></p>
<h2 class="js-i18n primary-side-title no-margin-top xs-margin-bottom">Dispensing...</h2>
<div class="text-content">
<p class="d1 no-margin-top js-i18n">
Please wait while we dispense your cash.
</p>
</div>
</section>
<section class="secondary-side with-image">
<div class="dispense-bill-wrapper">
<img src="images/dispensing.svg" />
</div>
</section>
</main>
</section>
<section
class="viewport dispensing_collect_state cash-out-color"
data-tr-section="dispensing-collect"
data-screentype="flow-no-action-tp"
>
<header>
</header>
<main class="lg-margin-top">
<section class="primary-side">
<p class="d2 no-margin-top batch"></p>
<h2 class="js-i18n primary-side-title no-margin-top xs-margin-bottom">All set</h2>
<div class="text-content">
<p class="d1 no-margin-top js-i18n">
Please remove your cash from the tray.
</p>
</div>
</section>
<section class="secondary-side with-image">
<div class="dispense-bill-wrapper"><img src="images/all-set.svg" /></div>
</section>
</main>
</section>
<section
class="viewport dispensing_partial_collect_state cash-out-color"
data-tr-section="dispensing-partial-collect"
data-screentype="flow-no-action-tp"
>
<header></header>
<main class="lg-margin-top">
<section class="primary-side">
<p class="d2 no-margin-top batch"></p>
<h2 class="js-i18n primary-side-title no-margin-top xs-margin-bottom">Collect bills</h2>
<div class="text-content">
<p class="d1 no-margin-top js-i18n">
To continue dispensing, take your cash from the tray.
</p>
</div>
</section>
<section class="secondary-side with-image">
<div class="dispense-bill-wrapper">
<img src="images/dispensing.svg" />
</div>
</section>
</main>
</section>
<section
class="viewport facephoto_state no-action-info cash-in-color"
data-tr-section="facephoto"
data-screentype="info-no-action-tp"
>
<header>
<img class="only-cash-in" src="images/camera/circle-amazonite.svg"/>
<img class="only-cash-out" src="images/camera/circle-salmon.svg"/>
</header>
<main>
<h2 class="js-i18n no-margin-bottom">Look at the dot</h2>
<p class="js-i18n d1">This should just take a second.</p>
</main>
</section>
<section
class="viewport facephoto_permission_state info"
data-tr-section="facephoto-permission"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/camera/camera-amazonite.svg"/>
<img class="only-cash-out" src="images/camera/camera-salmon.svg"/>
</header>
<main>
<h3 class="js-i18n nm-margin-bottom">May we?</h3>
<div class="text-content">
<p class="js-i18n d2">
In order to continue this transaction, we need to snap a photo of you to comply with local laws. Is this ok?
</p>
</div>
</main>
<footer>
<button id="facephoto-permission-yes" class="filled-progress-button button js-i18n">Yes, take photo</button>
<button id="facephoto-permission-no" class="bordered-progress-button button js-i18n">No, finish up</button>
</footer>
</section>
<section
class="viewport facephoto_failed_state info"
data-tr-section="facephoto-failed-number"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/camera/camera-error-amazonite.svg"/>
<img class="only-cash-out" src="images/camera/camera-error-salmon.svg"/>
</header>
<main>
<h3 class="js-i18n sm-margin-bottom">Try again?</h3>
<p class="js-i18n d2">
Looks like we didn't get a good shot.
</p>
<p class="js-i18n tl2 no-margin-top">
Shall we try another photo?
</p>
</main>
<footer>
<button class="button filled-progress-button js-i18n" id="facephoto-scan-failed-retry">
Yes, try again
</button>
<button class="button bordered-progress-button js-inserted-notes js-i18n" id="facephoto-scan-failed-cancel">
No, send coins
</button>
<button class="button bordered-progress-button js-no-inserted-notes js-i18n" id="facephoto-scan-failed-cancel2">
No, cancel
</button>
</footer>
</section>
<section
class="viewport facephoto_retry_state no-action-info cash-in-color"
data-tr-section="facephoto_retry"
data-screentype="info-no-action-tp"
>
<header>
<img class="only-cash-in" src="images/look-amazonite.svg"/>
<img class="only-cash-out" src="images/look-salmon.svg"/>
</header>
<main>
<h2 class="js-i18n no-margin-bottom">Look into the camera</h2>
<p class="js-i18n d1">We didn't get a good picture of you.</p>
<p class="d1 no-margin-top facephoto-please-look-text">
<strong class="js-i18n">Please look into the camera located above the screen.</strong>
</p>
</main>
</section>
<section
id="fiat_complete_viewport"
class="viewport fiat_complete_state cash-out-color"
data-tr-section="fiat-complete"
data-screentype="flow-action-tp"
>
<header></header>
<main>
<section class="primary-side">
<h2 class="js-i18n primary-side-title">Thank you!</h2>
<p class="js-i18n d2 white xs-margin-bottom">We dispensed</p>
<div class="fiat">
<span class="js-amount h3"></span>
<span class="js-currency h4"></span>
</div>
<div class="digital tl2">
<p>
<span class="js-i18n">You sent us</span>
<span class="js-amount"></span>
<span class="js-crypto-display-units"></span>
</p>
</div>
</section>
<section class="secondary-side qr-secondary-side">
<div class="qr-wrapper">
<div id="qr-code-fiat-complete" class="qr"></div>
</div>
</section>
</main>
<footer class="take-a-photo">
<img class="camera" src="images/camera/small-camera-grey.svg" />
<span class="h4 purple-grey js-i18n">
Take a picture of this screen for your electronic receipt
</span>
<span class="d2 js-i18n">Tap anywhere on the screen when you're done.</span>
</footer>
</section>
<section
class="viewport goodbye_state cash-in-color"
data-tr-section="goodbye"
data-screentype="exception-tp"
>
<h1 id="cya" class="js-i18n">See you!</h1>
</section>
<section class="viewport hard_limit_reached_state" data-tr-section="hard-limit-reached">
<section class="mainv">
<section class="header">
<img class="only-cash-in" src="images/temporary-limit-amazonite.svg"/>
<img class="only-cash-out" src="images/temporary-limit-salmon.svg"/>
<h3 class="js-i18n">Temporary limit reached</h3>
</section>
<section class="info">
<p class="js-i18n d2">Apologies. We've reached our mandated per-user limit.</p>
<p id="hard-limit-hours" class="d2b"></p>
</section>
<section class="actions">
<span class="button button-yes js-i18n" id="hard-limit-reached-ok">OK</span>
</section>
</section>
</section>
<section
class="viewport high_bill_state no-action-info cash-in-color"
data-tr-section="high-bill"
data-screentype="info-no-action-tp"
>
<header>
<img src="images/little-low.svg" />
</header>
<main>
<h2 id="js-i18n-high-bill-header" class="nm-margin-bottom"></h2>
<p id="js-i18n-highest-bill" class="d1 no-margin-top"></p>
</main>
</section>
<section
class="viewport id_scan_failed_state info"
data-tr-section="id-scan-failed"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/error-signal-amazonite.svg"/>
<img class="only-cash-out" src="images/error-signal-salmon.svg"/>
</header>
<main>
<h3 class="js-i18n sm-margin-bottom">Sorry</h3>
<p class="js-i18n d2 no-margin-bottom">We could not read your ID card.</p>
<p class="js-i18n tl2">You might want to give it another shot.</p>
</main>
<footer>
<button id="id-scan-failed-try-again" class="filled-progress-button button">
<div class="js-i18n">Try again</div>
</button>
<button id="id-scan-failed-cancel" class="bordered-progress-button button">
<div class="js-i18n">Cancel</div>
</button>
</footer>
</section>
<section
class="viewport id_verification_state info"
data-tr-section="id-verification"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/yeti-ID-card_v1-amazonite.svg" />
<img class="only-cash-out" src="images/yeti-ID-card_v1-salmon.svg" />
</header>
<main>
<h3 class="js-i18n nm-margin-bottom">ID verification</h3>
<div class="text-content">
<p class="js-i18n d2">
If you'd like to make a larger purchase, we'll need to make sure you're you by asking for you to scan your ID.
</p>
<p class="js-i18n tl2">Would you like to insert more bills?</p>
</div>
</main>
<footer>
<button id="id-start-verification" class="filled-progress-button button js-i18n">
Yes, verify ID
</button>
<button id="send-coins-id" class="bordered-progress-button button js-i18n js-inserted-notes">
No, send coins
</button>
<button id="send-coins-id-2" class="bordered-progress-button button js-i18n js-no-inserted-notes">
No, cancel
</button>
</footer>
</section>
<section
class="viewport insert_bills_state cash-in-color"
data-tr-section="insert-bills"
data-screentype="flow-no-action-tp"
>
<header>
<p class="d2 white crypto-rate crypto-rate-cash-in fade-in"></p>
<!-- TODO: wait for nuno finished spec -->
<p class="d2 paper-wallet-header-message js-paper-wallet js-i18n">Wallet successfully validated!</p>
<div id="insertBillCancel" class="delay cancel-button-wrapper">
<img class="cancel-button" src="images/close-icon.svg" />
</div>
</header>
<main class="xl-margin-top">
<section class="primary-side fade-in">
<h2 class="js-i18n primary-side-title xs-margin-bottom">Insert a bill</h2>
<div class="text-content">
<p class="d1 no-margin-top js-i18n">
Please insert your first bill into the machine.
</p>
<p class="d2 js-i18n-fixed-fee"></p>
<p class="d2 js-i18n coins-to-address">Your coins will be sent to:</p>
<p class="m2 crypto-address"></p>
</div>
</section>
<section class="secondary-side with-image fade-in-delay">
<div class="insert-bill-wrapper"><img src="images/insert-bill.svg" /></div>
</section>
</main>
</section>
<section
class="viewport insert_more_bills_state cash-in-color"
data-tr-section="insert-more-bills"
data-screentype="exception-tp"
>
<header>
<p class="d2 white crypto-rate crypto-rate-cash-in fade-in"></p>
</header>
<main>
<section class="primary-side">
<h5 class="primary-side-title js-i18n">Insert another bill</h5>
<div class="total md-margin-top">
<div class="fiat">
<span class="js-amount h2"></span>
<span class="js-currency h4"></span>
</div>
</div>
<p class="js-i18n d2 no-margin-top">deposited so far</p>
<div class="total-crypto-rec total sm-margin-top">
<span class="crypto-amount i18n-latin h2"></span>
<span class="crypto-units i18n-latin h4"></span>
</div>
<p class="js-i18n d2 no-margin-top">total purchased</p>
</section>
<h3 class="or"><span class="js-i18n sapphire">OR</span></h3>
<section class="secondary-side">
<h5 class="js-i18n primary-side-title">Finished?</h5>
<div id="send-coins" class="send-coins cash-in-color js-send-crypto-enable">
<section class="circle-button h3 purple-grey js-send-crypto-enable">
<div class="inner-circle-button js-send-crypto-enable">
<span class="js-i18n">
Send Coins
</span>
</div>
</section>
</div>
</section>
</main>
<footer>
<p class="js-processing-bill d1"></p>
</footer>
</section>
<section
class="viewport invalid_address_state info cash-in-color"
data-tr-section="invalid-address"
data-screentype="info-action-tp"
>
<header>
<img src="images/invalid-address.svg" />
</header>
<main>
<h3 class="js-i18n xs-margin-bottom">Invalid address</h3>
<div class="text-content sm-margin-top">
<p class="js-i18n d2">
It looks like you're using a wallet for a different coin or an address format we don't yet support.
</p>
<p class="js-i18n tl2">Please check your QR code and try again.</p>
</div>
</main>
<footer>
<button id="invalid-address-try-again" class="filled-progress-button button js-i18n">
Try again
</button>
</footer>
</section>
<section
class="viewport limit_reached_state info cash-in-color"
data-tr-section="limit-reached"
data-screentype="info-action-tp"
>
<header>
<img src="images/out-of-coins.svg" />
</header>
<main>
<h3 class="js-i18n sm-margin-bottom">We're all out of coins!</h3>
<p class="js-i18n d2">Please try again later.</p>
</main>
<footer>
<button
id="limit-reached-ok"
display="inline-block"
class="filled-progress-button button ok js-i18n"
>
<div>
OK
</div>
</button>
</footer>
</section>
<section
class="viewport max_phone_retries_state info-with-contact"
data-tr-section="max-phone-retries"
data-screentype="info-contact-tp"
>
<header>
<img class="only-cash-in" src="images/phone-error-amazonite.svg" />
<img class="only-cash-out" src="images/phone-error-salmon.svg" />
</header>
<main>
<h3 class="js-i18n nm-margin-bottom">Oops, this isn't working</h3>
<section class="text-content">
<p class="js-i18n d2">
You've hit the maximum number of retries. Please contact the operator to sort this out, or try again later.
</p>
</section>
<table class="contacts sm-margin-top sm-margin-bottom">
<tr>
<td>
<img src="images/contact/operator.svg" />
<span class="d2 operator-name"></span>
</td>
<td>
<img src="images/contact/phone.svg" />
<span class="d2 operator-phone"></span>
</td>
</tr>
<tr>
<td colspan="2">
<img src="images/contact/email.svg" />
<span class="d2 operator-email"></span>
</td>
</tr>
</table>
</main>
<footer>
<button class="filled-progress-button button" id="max-phone-retries-ok"><div>OK</div></button>
</footer>
</section>
<section class="viewport minimum_tx_state cash-in-color" data-tr-section="minimum-tx">
<section class="mainv">
<section class="header">
<img src="images/more-please.svg"/>
<h2 class="js-i18n">More, please</h2>
</section>
<section class="info">
<p id="js-i18n-lowest-bill" class="d1"></p>
</section>
</section>
</section>
<section class="viewport out_of_cash_state cash-out-color" data-tr-section="out-of-cash">
<section class="mainv">
<section class="header">
<img src="images/out-of-cash.svg"/>
<h3 class="js-i18n">We're all out of cash!</h3>
</section>
<section class="info">
<p class="d2 js-i18n">Please try again later.</p>
</section>
<section class="actions">
<span id="out-of-cash-ok" class="button button-yes js-i18n">OK</span>
</section>
</section>
</section>
<section class="viewport pending_deposit_state cash-out-color" data-tr-section="pending-deposit">
<section class="mainv">
<section class="header">
<img src="images/funds-received.svg"/>
<h2 class="js-i18n">Funds Received!</h2>
</section>
<section class="info">
<p class="js-i18n tl1">Authorizing...</p>
</section>
</section>
</section>
<section
class="viewport photo_scan_failed_state info"
data-tr-section="photo-scan-failed"
data-screentype="info-action-tp"
>
<header>
<img class="only-cash-in" src="images/error-signal-amazonite.svg"/>
<img class="only-cash-out" src="images/error-signal-salmon.svg"/>
</header>
<main>
<h3 class="js-i18n sm-margin-bottom">Want to try again?</h3>
<p class="js-i18n d2">The document you've shown did not match.</p>
<p class="js-i18n tl2 no-margin-top">You might want to give it another shot.</p>
</main>
<footer>
<button id="photo-scan-failed-retry" class="filled-progress-button button">
<div class="js-i18n">Try again</div>
</button>
<button id="photo-scan-failed-cancel" class="bordered-progress-button button">
<div class="js-i18n">Cancel</div>
</button>
</footer>
</section>
<section
class="viewport printer_scanning_error_state info cash-in-color"
data-tr-section="printer-scanning-error"
data-screentype="info-action-tp"
>
<header>
<img src="images/printing-error.svg" />
</header>
<main>
<h3 class="js-i18n nm-margin-bottom">QR scanning error</h3>
<div class="text-content">
<p class="js-i18n d2">
We couldn't properly scan your paper wallet. Make sure you position it correctly on the scanning bay and that it was properly printed.
</p>
<p class="js-i18n tl2">If the problem persists try printing again.</p>
</div>
</main>
<footer>
<button id="printer-scan-again" class="filled-progress-button button js-i18n">
Scan again
</button>
<button id="printer-print-again" class="bordered-progress-button button js-i18n">
Print again
</button>
</footer>
</section>
<section
class="viewport printer_error_state info-no-image cash-in-color"
data-tr-section="printer-error-state"
data-screentype="info-contact-tp"
>
<header></header>
<main>
<h3 class="js-i18n">Printing Failed</h3>
<div class="text-content">
<p class="js-i18n d2">
It seems there was a problem while printing your wallet. Please contact the operator for more information or try printing again.
</p>
</div>
<table class="contacts nm-margin-top">
<tr>
<td>
<img src="images/contact/operator.svg" />
<span class="d2 operator-name"></span>
</td>
<td>
<img src="images/contact/phone.svg" />
<span class="d2 operator-phone"></span>
</td>
</tr>
<tr>
<td colspan="2">
<img src="images/contact/email.svg" />
<span class="d2 operator-email"></span>
</td>
</tr>
</table>
</main>
<footer>
<button id="printer-print-again2" class="filled-progress-button button">
<div class="js-i18n">Try again</div>
</button>
<button id="printer-back-to-home" class="bordered-progress-button button">
<div class="js-i18n">Back to Home</div>
</button>
</footer>
</section>
<section
class="viewport printer_scan_address_state cash-in-color"
data-tr-section="printer-scan-address"